(window.webpackJsonp=window.webpackJsonp||[]).push([[14],{"+7QN":function(e,t,n){"use strict";function r(e,t){for(var n=e<0?"-":"",r=Math.abs(e).toString();r.length<t;)r="0"+r;return n+r}n.d(t,"a",function(){return r})},"+rOU":function(e,t,n){"use strict";n.d(t,"a",function(){return l}),n.d(t,"b",function(){return h}),n.d(t,"c",function(){return p}),n.d(t,"d",function(){return o}),n.d(t,"e",function(){return u}),n.d(t,"f",function(){return m}),n.d(t,"g",function(){return v}),n.d(t,"h",function(){return a});var r=n("fXoL"),i=n("ofXK");class s{attach(e){return this._attachedHost=e,e.attach(this)}detach(){let e=this._attachedHost;null!=e&&(this._attachedHost=null,e.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(e){this._attachedHost=e}}class o extends s{constructor(e,t,n,r){super(),this.component=e,this.viewContainerRef=t,this.injector=n,this.componentFactoryResolver=r}}class a extends s{constructor(e,t,n){super(),this.templateRef=e,this.viewContainerRef=t,this.context=n}get origin(){return this.templateRef.elementRef}attach(e,t=this.context){return this.context=t,super.attach(e)}detach(){return this.context=void 0,super.detach()}}class c extends s{constructor(e){super(),this.element=e instanceof r.v?e.nativeElement:e}}class l{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(e){return e instanceof o?(this._attachedPortal=e,this.attachComponentPortal(e)):e instanceof a?(this._attachedPortal=e,this.attachTemplatePortal(e)):this.attachDomPortal&&e instanceof c?(this._attachedPortal=e,this.attachDomPortal(e)):void 0}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(e){this._disposeFn=e}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class u extends l{constructor(e,t,n,r,i){super(),this.outletElement=e,this._componentFactoryResolver=t,this._appRef=n,this._defaultInjector=r,this.attachDomPortal=e=>{this._document;const t=e.element;t.parentNode;const n=this._document.createComment("dom-portal");t.parentNode.insertBefore(n,t),this.outletElement.appendChild(t),super.setDisposeFn(()=>{n.parentNode&&n.parentNode.replaceChild(t,n)})},this._document=i}attachComponentPortal(e){const t=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component);let n;return e.viewContainerRef?(n=e.viewContainerRef.createComponent(t,e.viewContainerRef.length,e.injector||e.viewContainerRef.injector),this.setDisposeFn(()=>n.destroy())):(n=t.create(e.injector||this._defaultInjector),this._appRef.attachView(n.hostView),this.setDisposeFn(()=>{this._appRef.detachView(n.hostView),n.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(n)),n}attachTemplatePortal(e){let t=e.viewContainerRef,n=t.createEmbeddedView(e.templateRef,e.context);return n.rootNodes.forEach(e=>this.outletElement.appendChild(e)),n.detectChanges(),this.setDisposeFn(()=>{let e=t.indexOf(n);-1!==e&&t.remove(e)}),n}dispose(){super.dispose(),null!=this.outletElement.parentNode&&this.outletElement.parentNode.removeChild(this.outletElement)}_getComponentRootNode(e){return e.hostView.rootNodes[0]}}class h extends a{constructor(e,t){super(e,t)}}h.\u0275fac=function(e){return new(e||h)(r.Nc(r.ib),r.Nc(r.ob))},h.\u0275dir=r.Ic({type:h,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[r.wc]}),h.ctorParameters=()=>[{type:r.ib},{type:r.ob}];class d extends h{}d.\u0275fac=function(e){return f(e||d)},d.\u0275dir=r.Ic({type:d,selectors:[["","cdk-portal",""],["","portal",""]],exportAs:["cdkPortal"],features:[r.yc([{provide:h,useExisting:d}]),r.wc]});const f=r.Vc(d);class p extends l{constructor(e,t,n){super(),this._componentFactoryResolver=e,this._viewContainerRef=t,this._isInitialized=!1,this.attached=new r.x,this.attachDomPortal=e=>{this._document;const t=e.element;t.parentNode;const n=this._document.createComment("dom-portal");e.setAttachedHost(this),t.parentNode.insertBefore(n,t),this._getRootNode().appendChild(t),super.setDisposeFn(()=>{n.parentNode&&n.parentNode.replaceChild(t,n)})},this._document=n}get portal(){return this._attachedPortal}set portal(e){(!this.hasAttached()||e||this._isInitialized)&&(this.hasAttached()&&super.detach(),e&&super.attach(e),this._attachedPortal=e)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedPortal=null,this._attachedRef=null}attachComponentPortal(e){e.setAttachedHost(this);const t=null!=e.viewContainerRef?e.viewContainerRef:this._viewContainerRef,n=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component),r=t.createComponent(n,t.length,e.injector||t.injector);return t!==this._viewContainerRef&&this._getRootNode().appendChild(r.hostView.rootNodes[0]),super.setDisposeFn(()=>r.destroy()),this._attachedPortal=e,this._attachedRef=r,this.attached.emit(r),r}attachTemplatePortal(e){e.setAttachedHost(this);const t=this._viewContainerRef.createEmbeddedView(e.templateRef,e.context);return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=e,this._attachedRef=t,this.attached.emit(t),t}_getRootNode(){const e=this._viewContainerRef.element.nativeElement;return e.nodeType===e.ELEMENT_NODE?e:e.parentNode}}p.\u0275fac=function(e){return new(e||p)(r.Nc(r.p),r.Nc(r.ob),r.Nc(i.d))},p.\u0275dir=r.Ic({type:p,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[r.wc]}),p.ctorParameters=()=>[{type:r.p},{type:r.ob},{type:void 0,decorators:[{type:r.C,args:[i.d]}]}],p.propDecorators={attached:[{type:r.S}]};class m extends p{}m.\u0275fac=function(e){return g(e||m)},m.\u0275dir=r.Ic({type:m,selectors:[["","cdkPortalHost",""],["","portalHost",""]],inputs:{portal:["cdkPortalHost","portal"]},exportAs:["cdkPortalHost"],features:[r.yc([{provide:p,useExisting:m}]),r.wc]});const g=r.Vc(m);class v{}v.\u0275mod=r.Lc({type:v}),v.\u0275inj=r.Kc({factory:function(e){return new(e||v)}}),("undefined"==typeof ngJitMode||ngJitMode)&&r.Bd(v,{declarations:[h,p,d,m],exports:[h,p,d,m]})},"+s0g":function(e,t,n){!function(e){"use strict";var t="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),n="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),r=[/^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],i=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;e.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(e,r){return e?/-MMM-/.test(r)?n[e.month()]:t[e.month()]:t},monthsRegex:i,monthsShortRegex:i,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:r,longMonthsParse:r,shortMonthsParse:r,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(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(n("wd/R"))},"+wfv":function(module,exports,__webpack_require__){var factory;window,factory=function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,(function(t){return e[t]}).bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s="./crypto-pro.ts")}({"../node_modules/base64-js/index.js":function(e,t,n){"use strict";t.byteLength=function(e){var t=l(e),n=t[0],r=t[1];return 3*(n+r)/4-r},t.toByteArray=function(e){var t,n,r=l(e),o=r[0],a=r[1],c=new s(function(e,t,n){return 3*(t+n)/4-n}(0,o,a)),u=0,h=a>0?o-4:o;for(n=0;n<h;n+=4)t=i[e.charCodeAt(n)]<<18|i[e.charCodeAt(n+1)]<<12|i[e.charCodeAt(n+2)]<<6|i[e.charCodeAt(n+3)],c[u++]=t>>16&255,c[u++]=t>>8&255,c[u++]=255&t;return 2===a&&(t=i[e.charCodeAt(n)]<<2|i[e.charCodeAt(n+1)]>>4,c[u++]=255&t),1===a&&(t=i[e.charCodeAt(n)]<<10|i[e.charCodeAt(n+1)]<<4|i[e.charCodeAt(n+2)]>>2,c[u++]=t>>8&255,c[u++]=255&t),c},t.fromByteArray=function(e){for(var t,n=e.length,i=n%3,s=[],o=16383,a=0,c=n-i;a<c;a+=o)s.push(u(e,a,a+o>c?c:a+o));return 1===i?(t=e[n-1],s.push(r[t>>2]+r[t<<4&63]+"==")):2===i&&(t=(e[n-2]<<8)+e[n-1],s.push(r[t>>10]+r[t>>4&63]+r[t<<2&63]+"=")),s.join("")};for(var r=[],i=[],s="undefined"!=typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,c=o.length;a<c;++a)r[a]=o[a],i[o.charCodeAt(a)]=a;function l(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");return-1===n&&(n=t),[n,n===t?0:4-n%4]}function u(e,t,n){for(var i,s,o=[],a=t;a<n;a+=3)i=(e[a]<<16&16711680)+(e[a+1]<<8&65280)+(255&e[a+2]),o.push(r[(s=i)>>18&63]+r[s>>12&63]+r[s>>6&63]+r[63&s]);return o.join("")}i["-".charCodeAt(0)]=62,i["_".charCodeAt(0)]=63},"../node_modules/buffer/index.js":function(e,t,n){"use strict";(function(e){var r=n("../node_modules/base64-js/index.js"),i=n("../node_modules/ieee754/index.js"),s=n("../node_modules/isarray/index.js");function o(){return c.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function a(e,t){if(o()<t)throw new RangeError("Invalid typed array length");return c.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t)).__proto__=c.prototype:(null===e&&(e=new c(t)),e.length=t),e}function c(e,t,n){if(!(c.TYPED_ARRAY_SUPPORT||this instanceof c))return new c(e,t,n);if("number"==typeof e){if("string"==typeof t)throw new Error("If encoding is specified then the first argument must be a string");return h(this,e)}return l(this,e,t,n)}function l(e,t,n,r){if("number"==typeof t)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer?function(e,t,n,r){if(t.byteLength,n<0||t.byteLength<n)throw new RangeError("'offset' is out of bounds");if(t.byteLength<n+(r||0))throw new RangeError("'length' is out of bounds");return t=void 0===n&&void 0===r?new Uint8Array(t):void 0===r?new Uint8Array(t,n):new Uint8Array(t,n,r),c.TYPED_ARRAY_SUPPORT?(e=t).__proto__=c.prototype:e=d(e,t),e}(e,t,n,r):"string"==typeof t?function(e,t,n){if("string"==typeof n&&""!==n||(n="utf8"),!c.isEncoding(n))throw new TypeError('"encoding" must be a valid string encoding');var r=0|p(t,n),i=(e=a(e,r)).write(t,n);return i!==r&&(e=e.slice(0,i)),e}(e,t,n):function(e,t){if(c.isBuffer(t)){var n=0|f(t.length);return 0===(e=a(e,n)).length||t.copy(e,0,0,n),e}if(t){if("undefined"!=typeof ArrayBuffer&&t.buffer instanceof ArrayBuffer||"length"in t)return"number"!=typeof t.length||(r=t.length)!=r?a(e,0):d(e,t);if("Buffer"===t.type&&s(t.data))return d(e,t.data)}var r;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(e,t)}function u(e){if("number"!=typeof e)throw new TypeError('"size" argument must be a number');if(e<0)throw new RangeError('"size" argument must not be negative')}function h(e,t){if(u(t),e=a(e,t<0?0:0|f(t)),!c.TYPED_ARRAY_SUPPORT)for(var n=0;n<t;++n)e[n]=0;return e}function d(e,t){var n=t.length<0?0:0|f(t.length);e=a(e,n);for(var r=0;r<n;r+=1)e[r]=255&t[r];return e}function f(e){if(e>=o())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+o().toString(16)+" bytes");return 0|e}function p(e,t){if(c.isBuffer(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var r=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return F(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return V(e).length;default:if(r)return F(e).length;t=(""+t).toLowerCase(),r=!0}}function m(e,t,n){var r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return j(this,t,n);case"utf8":case"utf-8":return C(this,t,n);case"ascii":return E(this,t,n);case"latin1":case"binary":return T(this,t,n);case"base64":return k(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return D(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function g(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function v(e,t,n,r,i){if(0===e.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=i?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(i)return-1;n=e.length-1}else if(n<0){if(!i)return-1;n=0}if("string"==typeof t&&(t=c.from(t,r)),c.isBuffer(t))return 0===t.length?-1:y(e,t,n,r,i);if("number"==typeof t)return t&=255,c.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):y(e,[t],n,r,i);throw new TypeError("val must be string, number or Buffer")}function y(e,t,n,r,i){var s,o=1,a=e.length,c=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;o=2,a/=2,c/=2,n/=2}function l(e,t){return 1===o?e[t]:e.readUInt16BE(t*o)}if(i){var u=-1;for(s=n;s<a;s++)if(l(e,s)===l(t,-1===u?0:s-u)){if(-1===u&&(u=s),s-u+1===c)return u*o}else-1!==u&&(s-=s-u),u=-1}else for(n+c>a&&(n=a-c),s=n;s>=0;s--){for(var h=!0,d=0;d<c;d++)if(l(e,s+d)!==l(t,d)){h=!1;break}if(h)return s}return-1}function b(e,t,n,r){n=Number(n)||0;var i=e.length-n;r?(r=Number(r))>i&&(r=i):r=i;var s=t.length;if(s%2!=0)throw new TypeError("Invalid hex string");r>s/2&&(r=s/2);for(var o=0;o<r;++o){var a=parseInt(t.substr(2*o,2),16);if(isNaN(a))return o;e[n+o]=a}return o}function _(e,t,n,r){return B(F(t,e.length-n),e,n,r)}function w(e,t,n,r){return B(function(e){for(var t=[],n=0;n<e.length;++n)t.push(255&e.charCodeAt(n));return t}(t),e,n,r)}function S(e,t,n,r){return w(e,t,n,r)}function x(e,t,n,r){return B(V(t),e,n,r)}function O(e,t,n,r){return B(function(e,t){for(var n,r,i,s=[],o=0;o<e.length&&!((t-=2)<0);++o)r=(n=e.charCodeAt(o))>>8,i=n%256,s.push(i),s.push(r);return s}(t,e.length-n),e,n,r)}function k(e,t,n){return 0===t&&n===e.length?r.fromByteArray(e):r.fromByteArray(e.slice(t,n))}function C(e,t,n){n=Math.min(e.length,n);for(var r=[],i=t;i<n;){var s,o,a,c,l=e[i],u=null,h=l>239?4:l>223?3:l>191?2:1;if(i+h<=n)switch(h){case 1:l<128&&(u=l);break;case 2:128==(192&(s=e[i+1]))&&(c=(31&l)<<6|63&s)>127&&(u=c);break;case 3:s=e[i+1],o=e[i+2],128==(192&s)&&128==(192&o)&&(c=(15&l)<<12|(63&s)<<6|63&o)>2047&&(c<55296||c>57343)&&(u=c);break;case 4:s=e[i+1],o=e[i+2],a=e[i+3],128==(192&s)&&128==(192&o)&&128==(192&a)&&(c=(15&l)<<18|(63&s)<<12|(63&o)<<6|63&a)>65535&&c<1114112&&(u=c)}null===u?(u=65533,h=1):u>65535&&(u-=65536,r.push(u>>>10&1023|55296),u=56320|1023&u),r.push(u),i+=h}return function(e){var t=e.length;if(t<=M)return String.fromCharCode.apply(String,e);for(var n="",r=0;r<t;)n+=String.fromCharCode.apply(String,e.slice(r,r+=M));return n}(r)}t.Buffer=c,t.SlowBuffer=function(e){return+e!=e&&(e=0),c.alloc(+e)},t.INSPECT_MAX_BYTES=50,c.TYPED_ARRAY_SUPPORT=void 0!==e.TYPED_ARRAY_SUPPORT?e.TYPED_ARRAY_SUPPORT:function(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()&&"function"==typeof e.subarray&&0===e.subarray(1,1).byteLength}catch(t){return!1}}(),t.kMaxLength=o(),c.poolSize=8192,c._augment=function(e){return e.__proto__=c.prototype,e},c.from=function(e,t,n){return l(null,e,t,n)},c.TYPED_ARRAY_SUPPORT&&(c.prototype.__proto__=Uint8Array.prototype,c.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&c[Symbol.species]===c&&Object.defineProperty(c,Symbol.species,{value:null,configurable:!0})),c.alloc=function(e,t,n){return function(e,t,n,r){return u(t),t<=0?a(e,t):void 0!==n?"string"==typeof r?a(e,t).fill(n,r):a(e,t).fill(n):a(e,t)}(null,e,t,n)},c.allocUnsafe=function(e){return h(null,e)},c.allocUnsafeSlow=function(e){return h(null,e)},c.isBuffer=function(e){return!(null==e||!e._isBuffer)},c.compare=function(e,t){if(!c.isBuffer(e)||!c.isBuffer(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var n=e.length,r=t.length,i=0,s=Math.min(n,r);i<s;++i)if(e[i]!==t[i]){n=e[i],r=t[i];break}return n<r?-1:r<n?1:0},c.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},c.concat=function(e,t){if(!s(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return c.alloc(0);var n;if(void 0===t)for(t=0,n=0;n<e.length;++n)t+=e[n].length;var r=c.allocUnsafe(t),i=0;for(n=0;n<e.length;++n){var o=e[n];if(!c.isBuffer(o))throw new TypeError('"list" argument must be an Array of Buffers');o.copy(r,i),i+=o.length}return r},c.byteLength=p,c.prototype._isBuffer=!0,c.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)g(this,t,t+1);return this},c.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)g(this,t,t+3),g(this,t+1,t+2);return this},c.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)g(this,t,t+7),g(this,t+1,t+6),g(this,t+2,t+5),g(this,t+3,t+4);return this},c.prototype.toString=function(){var e=0|this.length;return 0===e?"":0===arguments.length?C(this,0,e):m.apply(this,arguments)},c.prototype.equals=function(e){if(!c.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===c.compare(this,e)},c.prototype.inspect=function(){var e="",n=t.INSPECT_MAX_BYTES;return this.length>0&&(e=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(e+=" ... ")),"<Buffer "+e+">"},c.prototype.compare=function(e,t,n,r,i){if(!c.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),t<0||n>e.length||r<0||i>this.length)throw new RangeError("out of range index");if(r>=i&&t>=n)return 0;if(r>=i)return-1;if(t>=n)return 1;if(this===e)return 0;for(var s=(i>>>=0)-(r>>>=0),o=(n>>>=0)-(t>>>=0),a=Math.min(s,o),l=this.slice(r,i),u=e.slice(t,n),h=0;h<a;++h)if(l[h]!==u[h]){s=l[h],o=u[h];break}return s<o?-1:o<s?1:0},c.prototype.includes=function(e,t,n){return-1!==this.indexOf(e,t,n)},c.prototype.indexOf=function(e,t,n){return v(this,e,t,n,!0)},c.prototype.lastIndexOf=function(e,t,n){return v(this,e,t,n,!1)},c.prototype.write=function(e,t,n,r){if(void 0===t)r="utf8",n=this.length,t=0;else if(void 0===n&&"string"==typeof t)r=t,n=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t|=0,isFinite(n)?(n|=0,void 0===r&&(r="utf8")):(r=n,n=void 0)}var i=this.length-t;if((void 0===n||n>i)&&(n=i),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var s=!1;;)switch(r){case"hex":return b(this,e,t,n);case"utf8":case"utf-8":return _(this,e,t,n);case"ascii":return w(this,e,t,n);case"latin1":case"binary":return S(this,e,t,n);case"base64":return x(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return O(this,e,t,n);default:if(s)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),s=!0}},c.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var M=4096;function E(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;i<n;++i)r+=String.fromCharCode(127&e[i]);return r}function T(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;i<n;++i)r+=String.fromCharCode(e[i]);return r}function j(e,t,n){var r,i=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>i)&&(n=i);for(var s="",o=t;o<n;++o)s+=(r=e[o])<16?"0"+r.toString(16):r.toString(16);return s}function D(e,t,n){for(var r=e.slice(t,n),i="",s=0;s<r.length;s+=2)i+=String.fromCharCode(r[s]+256*r[s+1]);return i}function A(e,t,n){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(e+t>n)throw new RangeError("Trying to access beyond buffer length")}function L(e,t,n,r,i,s){if(!c.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<s)throw new RangeError('"value" argument is out of bounds');if(n+r>e.length)throw new RangeError("Index out of range")}function z(e,t,n,r){t<0&&(t=65535+t+1);for(var i=0,s=Math.min(e.length-n,2);i<s;++i)e[n+i]=(t&255<<8*(r?i:1-i))>>>8*(r?i:1-i)}function P(e,t,n,r){t<0&&(t=4294967295+t+1);for(var i=0,s=Math.min(e.length-n,4);i<s;++i)e[n+i]=t>>>8*(r?i:3-i)&255}function I(e,t,n,r,i,s){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function R(e,t,n,r,s){return s||I(e,0,n,4),i.write(e,t,n,r,23,4),n+4}function N(e,t,n,r,s){return s||I(e,0,n,8),i.write(e,t,n,r,52,8),n+8}c.prototype.slice=function(e,t){var n,r=this.length;if((e=~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),(t=void 0===t?r:~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),t<e&&(t=e),c.TYPED_ARRAY_SUPPORT)(n=this.subarray(e,t)).__proto__=c.prototype;else{var i=t-e;n=new c(i,void 0);for(var s=0;s<i;++s)n[s]=this[s+e]}return n},c.prototype.readUIntLE=function(e,t,n){e|=0,t|=0,n||A(e,t,this.length);for(var r=this[e],i=1,s=0;++s<t&&(i*=256);)r+=this[e+s]*i;return r},c.prototype.readUIntBE=function(e,t,n){e|=0,t|=0,n||A(e,t,this.length);for(var r=this[e+--t],i=1;t>0&&(i*=256);)r+=this[e+--t]*i;return r},c.prototype.readUInt8=function(e,t){return t||A(e,1,this.length),this[e]},c.prototype.readUInt16LE=function(e,t){return t||A(e,2,this.length),this[e]|this[e+1]<<8},c.prototype.readUInt16BE=function(e,t){return t||A(e,2,this.length),this[e]<<8|this[e+1]},c.prototype.readUInt32LE=function(e,t){return t||A(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},c.prototype.readUInt32BE=function(e,t){return t||A(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},c.prototype.readIntLE=function(e,t,n){e|=0,t|=0,n||A(e,t,this.length);for(var r=this[e],i=1,s=0;++s<t&&(i*=256);)r+=this[e+s]*i;return r>=(i*=128)&&(r-=Math.pow(2,8*t)),r},c.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||A(e,t,this.length);for(var r=t,i=1,s=this[e+--r];r>0&&(i*=256);)s+=this[e+--r]*i;return s>=(i*=128)&&(s-=Math.pow(2,8*t)),s},c.prototype.readInt8=function(e,t){return t||A(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},c.prototype.readInt16LE=function(e,t){t||A(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},c.prototype.readInt16BE=function(e,t){t||A(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},c.prototype.readInt32LE=function(e,t){return t||A(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},c.prototype.readInt32BE=function(e,t){return t||A(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},c.prototype.readFloatLE=function(e,t){return t||A(e,4,this.length),i.read(this,e,!0,23,4)},c.prototype.readFloatBE=function(e,t){return t||A(e,4,this.length),i.read(this,e,!1,23,4)},c.prototype.readDoubleLE=function(e,t){return t||A(e,8,this.length),i.read(this,e,!0,52,8)},c.prototype.readDoubleBE=function(e,t){return t||A(e,8,this.length),i.read(this,e,!1,52,8)},c.prototype.writeUIntLE=function(e,t,n,r){e=+e,t|=0,n|=0,r||L(this,e,t,n,Math.pow(2,8*n)-1,0);var i=1,s=0;for(this[t]=255&e;++s<n&&(i*=256);)this[t+s]=e/i&255;return t+n},c.prototype.writeUIntBE=function(e,t,n,r){e=+e,t|=0,n|=0,r||L(this,e,t,n,Math.pow(2,8*n)-1,0);var i=n-1,s=1;for(this[t+i]=255&e;--i>=0&&(s*=256);)this[t+i]=e/s&255;return t+n},c.prototype.writeUInt8=function(e,t,n){return e=+e,t|=0,n||L(this,e,t,1,255,0),c.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},c.prototype.writeUInt16LE=function(e,t,n){return e=+e,t|=0,n||L(this,e,t,2,65535,0),c.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):z(this,e,t,!0),t+2},c.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||L(this,e,t,2,65535,0),c.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):z(this,e,t,!1),t+2},c.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||L(this,e,t,4,4294967295,0),c.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):P(this,e,t,!0),t+4},c.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||L(this,e,t,4,4294967295,0),c.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):P(this,e,t,!1),t+4},c.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);L(this,e,t,n,i-1,-i)}var s=0,o=1,a=0;for(this[t]=255&e;++s<n&&(o*=256);)e<0&&0===a&&0!==this[t+s-1]&&(a=1),this[t+s]=(e/o>>0)-a&255;return t+n},c.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);L(this,e,t,n,i-1,-i)}var s=n-1,o=1,a=0;for(this[t+s]=255&e;--s>=0&&(o*=256);)e<0&&0===a&&0!==this[t+s+1]&&(a=1),this[t+s]=(e/o>>0)-a&255;return t+n},c.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||L(this,e,t,1,127,-128),c.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},c.prototype.writeInt16LE=function(e,t,n){return e=+e,t|=0,n||L(this,e,t,2,32767,-32768),c.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):z(this,e,t,!0),t+2},c.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||L(this,e,t,2,32767,-32768),c.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):z(this,e,t,!1),t+2},c.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||L(this,e,t,4,2147483647,-2147483648),c.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):P(this,e,t,!0),t+4},c.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,n||L(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),c.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):P(this,e,t,!1),t+4},c.prototype.writeFloatLE=function(e,t,n){return R(this,e,t,!0,n)},c.prototype.writeFloatBE=function(e,t,n){return R(this,e,t,!1,n)},c.prototype.writeDoubleLE=function(e,t,n){return N(this,e,t,!0,n)},c.prototype.writeDoubleBE=function(e,t,n){return N(this,e,t,!1,n)},c.prototype.copy=function(e,t,n,r){if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r<n&&(r=n),r===n)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t<r-n&&(r=e.length-t+n);var i,s=r-n;if(this===e&&n<t&&t<r)for(i=s-1;i>=0;--i)e[i+t]=this[i+n];else if(s<1e3||!c.TYPED_ARRAY_SUPPORT)for(i=0;i<s;++i)e[i+t]=this[i+n];else Uint8Array.prototype.set.call(e,this.subarray(n,n+s),t);return s},c.prototype.fill=function(e,t,n,r){if("string"==typeof e){if("string"==typeof t?(r=t,t=0,n=this.length):"string"==typeof n&&(r=n,n=this.length),1===e.length){var i=e.charCodeAt(0);i<256&&(e=i)}if(void 0!==r&&"string"!=typeof r)throw new TypeError("encoding must be a string");if("string"==typeof r&&!c.isEncoding(r))throw new TypeError("Unknown encoding: "+r)}else"number"==typeof e&&(e&=255);if(t<0||this.length<t||this.length<n)throw new RangeError("Out of range index");if(n<=t)return this;var s;if(t>>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(s=t;s<n;++s)this[s]=e;else{var o=c.isBuffer(e)?e:F(new c(e,r).toString()),a=o.length;for(s=0;s<n-t;++s)this[s+t]=o[s%a]}return this};var H=/[^+\/0-9A-Za-z-_]/g;function F(e,t){var n;t=t||1/0;for(var r=e.length,i=null,s=[],o=0;o<r;++o){if((n=e.charCodeAt(o))>55295&&n<57344){if(!i){if(n>56319){(t-=3)>-1&&s.push(239,191,189);continue}if(o+1===r){(t-=3)>-1&&s.push(239,191,189);continue}i=n;continue}if(n<56320){(t-=3)>-1&&s.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(t-=3)>-1&&s.push(239,191,189);if(i=null,n<128){if((t-=1)<0)break;s.push(n)}else if(n<2048){if((t-=2)<0)break;s.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;s.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;s.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return s}function V(e){return r.toByteArray(function(e){if((e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(H,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function B(e,t,n,r){for(var i=0;i<r&&!(i+n>=t.length||i>=e.length);++i)t[i+n]=e[i];return i}}).call(this,n("../node_modules/webpack/buildin/global.js"))},"../node_modules/ieee754/index.js":function(e,t){t.read=function(e,t,n,r,i){var s,o,a=8*i-r-1,c=(1<<a)-1,l=c>>1,u=-7,h=n?i-1:0,d=n?-1:1,f=e[t+h];for(h+=d,s=f&(1<<-u)-1,f>>=-u,u+=a;u>0;s=256*s+e[t+h],h+=d,u-=8);for(o=s&(1<<-u)-1,s>>=-u,u+=r;u>0;o=256*o+e[t+h],h+=d,u-=8);if(0===s)s=1-l;else{if(s===c)return o?NaN:1/0*(f?-1:1);o+=Math.pow(2,r),s-=l}return(f?-1:1)*o*Math.pow(2,s-r)},t.write=function(e,t,n,r,i,s){var o,a,c,l=8*s-i-1,u=(1<<l)-1,h=u>>1,d=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,f=r?0:s-1,p=r?1:-1,m=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(a=isNaN(t)?1:0,o=u):(o=Math.floor(Math.log(t)/Math.LN2),t*(c=Math.pow(2,-o))<1&&(o--,c*=2),(t+=o+h>=1?d/c:d*Math.pow(2,1-h))*c>=2&&(o++,c/=2),o+h>=u?(a=0,o=u):o+h>=1?(a=(t*c-1)*Math.pow(2,i),o+=h):(a=t*Math.pow(2,h-1)*Math.pow(2,i),o=0));i>=8;e[n+f]=255&a,f+=p,a/=256,i-=8);for(o=o<<i|a,l+=i;l>0;e[n+f]=255&o,f+=p,o/=256,l-=8);e[n+f-p]|=128*m}},"../node_modules/isarray/index.js":function(e,t){var n={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==n.call(e)}},"../node_modules/webpack/buildin/global.js":function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(r){"object"==typeof window&&(n=window)}e.exports=n},"./api/certificate/certificate.ts":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n("./constants/index.ts"),i=n("./api/certificate/exportBase64.ts"),s=n("./api/certificate/getAlgorithm.ts"),o=n("./api/certificate/getCadesProp.ts"),a=n("./api/certificate/getDecodedExtendedKeyUsage.ts"),c=n("./api/certificate/getExtendedKeyUsage.ts"),l=n("./api/certificate/getInfo.ts"),u=n("./api/certificate/hasExtendedKeyUsage.ts"),h=n("./api/certificate/isValid.ts");t.Certificate=class{constructor(e,t,n,r,i,s,o){this._cadesCertificate=e,this.name=t,this.issuerName=n,this.subjectName=r,this.thumbprint=i,this.validFrom=s,this.validTo=o}getOwnerInfo(){return l.getInfo.call(this,r.SUBJECT_TAGS_TRANSLATIONS,"SubjectName")}getIssuerInfo(){return l.getInfo.call(this,r.ISSUER_TAGS_TRANSLATIONS,"IssuerName")}getExtendedKeyUsage(){return c.getExtendedKeyUsage.call(this)}getDecodedExtendedKeyUsage(){return a.getDecodedExtendedKeyUsage.call(this)}getAlgorithm(){return s.getAlgorithm.call(this)}getCadesProp(e){return o.getCadesProp.call(this,e)}isValid(){return h.isValid.call(this)}exportBase64(){return i.exportBase64.call(this)}hasExtendedKeyUsage(e){return u.hasExtendedKeyUsage.call(this,e)}}},"./api/certificate/exportBase64.ts":function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const _afterPluginsLoaded_1=__webpack_require__("./helpers/_afterPluginsLoaded.ts"),_extractMeaningfulErrorMessage_1=__webpack_require__("./helpers/_extractMeaningfulErrorMessage.ts"),_generateCadesFn_1=__webpack_require__("./helpers/_generateCadesFn.ts");exports.exportBase64=_afterPluginsLoaded_1._afterPluginsLoaded(function(){const cadesCertificate=this._cadesCertificate;return eval(_generateCadesFn_1._generateCadesFn(function(){let e;try{e=_generateCadesFn_1.__cadesAsyncToken__+cadesCertificate.Export(0)}catch(t){throw console.error(t),new Error(_extractMeaningfulErrorMessage_1._extractMeaningfulErrorMessage(t)||"\u041e\u0448\u0438\u0431\u043a\u0430 \u043f\u0440\u0438 \u044d\u043a\u0441\u043f\u043e\u0440\u0442\u0435 \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u0430")}return e}))})},"./api/certificate/getAlgorithm.ts":function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const _afterPluginsLoaded_1=__webpack_require__("./helpers/_afterPluginsLoaded.ts"),_extractMeaningfulErrorMessage_1=__webpack_require__("./helpers/_extractMeaningfulErrorMessage.ts"),_generateCadesFn_1=__webpack_require__("./helpers/_generateCadesFn.ts");exports.getAlgorithm=_afterPluginsLoaded_1._afterPluginsLoaded(function(){const cadesCertificate=this._cadesCertificate;return eval(_generateCadesFn_1._generateCadesFn(function(){const e={algorithm:null,oid:null};let t;try{t=_generateCadesFn_1.__cadesAsyncToken__+cadesCertificate.PublicKey(),t=_generateCadesFn_1.__cadesAsyncToken__+t.Algorithm,e.algorithm=_generateCadesFn_1.__cadesAsyncToken__+t.FriendlyName,e.oid=_generateCadesFn_1.__cadesAsyncToken__+t.Value}catch(n){throw console.error(n),new Error(_extractMeaningfulErrorMessage_1._extractMeaningfulErrorMessage(n)||"\u041e\u0448\u0438\u0431\u043a\u0430 \u043f\u0440\u0438 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u0438 \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c\u0430")}return e}))})},"./api/certificate/getCadesProp.ts":function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const _afterPluginsLoaded_1=__webpack_require__("./helpers/_afterPluginsLoaded.ts"),_extractMeaningfulErrorMessage_1=__webpack_require__("./helpers/_extractMeaningfulErrorMessage.ts"),_generateCadesFn_1=__webpack_require__("./helpers/_generateCadesFn.ts");exports.getCadesProp=_afterPluginsLoaded_1._afterPluginsLoaded(function(propName){const cadesCertificate=this._cadesCertificate;return eval(_generateCadesFn_1._generateCadesFn(function(){let e;try{e=_generateCadesFn_1.__cadesAsyncToken__+cadesCertificate[propName]}catch(t){throw console.error(t),new Error(_extractMeaningfulErrorMessage_1._extractMeaningfulErrorMessage(t)||"\u041e\u0448\u0438\u0431\u043a\u0430 \u043f\u0440\u0438 \u043e\u0431\u0440\u0430\u0449\u0435\u043d\u0438\u0438 \u043a \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0443 \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u0430")}return e}))})},"./api/certificate/getDecodedExtendedKeyUsage.ts":function(e,t,n){"use strict";var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))(function(i,s){function o(e){try{c(r.next(e))}catch(t){s(t)}}function a(e){try{c(r.throw(e))}catch(t){s(t)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(o,a)}c((r=r.apply(e,t||[])).next())})};Object.defineProperty(t,"__esModule",{value:!0});const i=n("./constants/index.ts"),s=n("./helpers/_afterPluginsLoaded.ts");t.getDecodedExtendedKeyUsage=s._afterPluginsLoaded(function(){return r(this,void 0,void 0,function*(){return(yield this.getExtendedKeyUsage()).reduce((e,t)=>Object.assign(Object.assign({},e),{[t]:i.OIDS_DICTIONARY[t]||null}),{})})})},"./api/certificate/getExtendedKeyUsage.ts":function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const _afterPluginsLoaded_1=__webpack_require__("./helpers/_afterPluginsLoaded.ts"),_extractMeaningfulErrorMessage_1=__webpack_require__("./helpers/_extractMeaningfulErrorMessage.ts"),_generateCadesFn_1=__webpack_require__("./helpers/_generateCadesFn.ts");exports.getExtendedKeyUsage=_afterPluginsLoaded_1._afterPluginsLoaded(function(){const cadesCertificate=this._cadesCertificate;return eval(_generateCadesFn_1._generateCadesFn(function(){const e=[];let t;try{if(t=_generateCadesFn_1.__cadesAsyncToken__+cadesCertificate.ExtendedKeyUsage(),t=_generateCadesFn_1.__cadesAsyncToken__+t.EKUs,t=_generateCadesFn_1.__cadesAsyncToken__+t.Count,t>0)for(;t>0;){let n;n=_generateCadesFn_1.__cadesAsyncToken__+cadesCertificate.ExtendedKeyUsage(),n=_generateCadesFn_1.__cadesAsyncToken__+n.EKUs,n=_generateCadesFn_1.__cadesAsyncToken__+n.Item(t),n=_generateCadesFn_1.__cadesAsyncToken__+n.OID,e.push(n),t--}}catch(n){throw console.error(n),new Error(_extractMeaningfulErrorMessage_1._extractMeaningfulErrorMessage(n)||"\u041e\u0448\u0438\u0431\u043a\u0430 \u043f\u0440\u0438 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u0438 \u041e\u0418\u0414'\u043e\u0432")}return e}))})},"./api/certificate/getInfo.ts":function(e,t,n){"use strict";var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))(function(i,s){function o(e){try{c(r.next(e))}catch(t){s(t)}}function a(e){try{c(r.throw(e))}catch(t){s(t)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(o,a)}c((r=r.apply(e,t||[])).next())})};Object.defineProperty(t,"__esModule",{value:!0});const i=n("./helpers/_afterPluginsLoaded.ts"),s=n("./helpers/_extractMeaningfulErrorMessage.ts"),o=n("./helpers/_parseCertInfo.ts"),a=n("./api/certificate/getCadesProp.ts");t.getInfo=i._afterPluginsLoaded(function(e,t){return r(this,void 0,void 0,function*(){let n;try{n=yield a.getCadesProp.call(this,t)}catch(r){throw console.error(r),new Error(s._extractMeaningfulErrorMessage(r)||"\u041e\u0448\u0438\u0431\u043a\u0430 \u043f\u0440\u0438 \u0438\u0437\u0432\u043b\u0435\u0447\u0435\u043d\u0438\u0438 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438 \u0438\u0437 \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u0430")}return o._parseCertInfo(e,n)})})},"./api/certificate/hasExtendedKeyUsage.ts":function(e,t,n){"use strict";var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))(function(i,s){function o(e){try{c(r.next(e))}catch(t){s(t)}}function a(e){try{c(r.throw(e))}catch(t){s(t)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(o,a)}c((r=r.apply(e,t||[])).next())})};Object.defineProperty(t,"__esModule",{value:!0});const i=n("./helpers/_afterPluginsLoaded.ts");t.hasExtendedKeyUsage=i._afterPluginsLoaded(function(e){return r(this,void 0,void 0,function*(){const t=yield this.getExtendedKeyUsage();let n;return n=Array.isArray(e)?e.every(e=>t.some(t=>t===e)):t.some(t=>t===e),n})})},"./api/certificate/index.ts":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}(n("./api/certificate/certificate.ts"))},"./api/certificate/isValid.ts":function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const _afterPluginsLoaded_1=__webpack_require__("./helpers/_afterPluginsLoaded.ts"),_extractMeaningfulErrorMessage_1=__webpack_require__("./helpers/_extractMeaningfulErrorMessage.ts"),_generateCadesFn_1=__webpack_require__("./helpers/_generateCadesFn.ts");exports.isValid=_afterPluginsLoaded_1._afterPluginsLoaded(function(){const cadesCertificate=this._cadesCertificate;return eval(_generateCadesFn_1._generateCadesFn(function(){let e;try{e=_generateCadesFn_1.__cadesAsyncToken__+cadesCertificate.IsValid(),e=_generateCadesFn_1.__cadesAsyncToken__+e.Result}catch(t){throw console.error(t),new Error(_extractMeaningfulErrorMessage_1._extractMeaningfulErrorMessage(t)||"\u041e\u0448\u0438\u0431\u043a\u0430 \u043f\u0440\u0438 \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0435 \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u0430")}return Boolean(e)}))})},"./api/createAttachedSignature.ts":function(module,exports,__webpack_require__){"use strict";(function(Buffer){var __awaiter=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))(function(i,s){function o(e){try{c(r.next(e))}catch(t){s(t)}}function a(e){try{c(r.throw(e))}catch(t){s(t)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(o,a)}c((r=r.apply(e,t||[])).next())})};Object.defineProperty(exports,"__esModule",{value:!0});const constants_1=__webpack_require__("./constants/index.ts"),_afterPluginsLoaded_1=__webpack_require__("./helpers/_afterPluginsLoaded.ts"),_extractMeaningfulErrorMessage_1=__webpack_require__("./helpers/_extractMeaningfulErrorMessage.ts"),_generateCadesFn_1=__webpack_require__("./helpers/_generateCadesFn.ts"),_getCadesCert_1=__webpack_require__("./helpers/_getCadesCert.ts"),_getDateObj_1=__webpack_require__("./helpers/_getDateObj.ts");exports.createAttachedSignature=_afterPluginsLoaded_1._afterPluginsLoaded((thumbprint,unencryptedMessage)=>__awaiter(void 0,void 0,void 0,function*(){const{cadesplugin:cadesplugin}=window,cadesCertificate=yield _getCadesCert_1._getCadesCert(thumbprint);return eval(_generateCadesFn_1._generateCadesFn(function(){let e,t,n;try{e=_generateCadesFn_1.__cadesAsyncToken__+_generateCadesFn_1.__createCadesPluginObject__("CADESCOM.CPAttribute"),t=_generateCadesFn_1.__cadesAsyncToken__+_generateCadesFn_1.__createCadesPluginObject__("CAdESCOM.CadesSignedData"),n=_generateCadesFn_1.__cadesAsyncToken__+_generateCadesFn_1.__createCadesPluginObject__("CAdESCOM.CPSigner")}catch(a){throw console.error(a),new Error(_extractMeaningfulErrorMessage_1._extractMeaningfulErrorMessage(a)||"\u041e\u0448\u0438\u0431\u043a\u0430 \u043f\u0440\u0438 \u0438\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u043f\u043e\u0434\u043f\u0438\u0441\u0438")}const r=_getDateObj_1._getDateObj(new Date);try{_generateCadesFn_1.__cadesAsyncToken__,e.propset_Name(constants_1.CADESCOM_AUTHENTICATED_ATTRIBUTE_SIGNING_TIME),_generateCadesFn_1.__cadesAsyncToken__,e.propset_Value(r)}catch(a){throw console.error(a),new Error(_extractMeaningfulErrorMessage_1._extractMeaningfulErrorMessage(a)||"\u041e\u0448\u0438\u0431\u043a\u0430 \u043f\u0440\u0438 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0435 \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u043f\u043e\u0434\u043f\u0438\u0441\u0438")}let i,s,o;try{i=Buffer.from(unencryptedMessage).toString("base64")}catch(a){throw console.error(a),new Error("\u041e\u0448\u0438\u0431\u043a\u0430 \u043f\u0440\u0438 \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u043d\u0438\u0438 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f \u0432 Base64")}try{_generateCadesFn_1.__cadesAsyncToken__,n.propset_Certificate(cadesCertificate),s=_generateCadesFn_1.__cadesAsyncToken__+n.AuthenticatedAttributes2,_generateCadesFn_1.__cadesAsyncToken__,s.Add(e),_generateCadesFn_1.__cadesAsyncToken__,t.propset_ContentEncoding(cadesplugin.CADESCOM_BASE64_TO_BINARY),_generateCadesFn_1.__cadesAsyncToken__,t.propset_Content(i),_generateCadesFn_1.__cadesAsyncToken__,n.propset_Options(cadesplugin.CAPICOM_CERTIFICATE_INCLUDE_WHOLE_CHAIN)}catch(a){throw console.error(a),new Error(_extractMeaningfulErrorMessage_1._extractMeaningfulErrorMessage(a)||"\u041e\u0448\u0438\u0431\u043a\u0430 \u043f\u0440\u0438 \u0443\u043a\u0430\u0437\u0430\u043d\u0438\u0438 \u0434\u0430\u043d\u043d\u044b\u0445 \u0434\u043b\u044f \u043f\u043e\u0434\u043f\u0438\u0441\u0438")}try{o=_generateCadesFn_1.__cadesAsyncToken__+t.SignCades(n,cadesplugin.CADESCOM_PKCS7_TYPE)}catch(a){throw console.error(a),new Error(_extractMeaningfulErrorMessage_1._extractMeaningfulErrorMessage(a)||"\u041e\u0448\u0438\u0431\u043a\u0430 \u043f\u0440\u0438 \u043f\u043e\u0434\u043f\u0438\u0441\u0430\u043d\u0438\u0438 \u0434\u0430\u043d\u043d\u044b\u0445")}return o}))}))}).call(this,__webpack_require__("../node_modules/buffer/index.js").Buffer)},"./api/createDetachedSignature.ts":function(module,exports,__webpack_require__){"use strict";var __awaiter=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))(function(i,s){function o(e){try{c(r.next(e))}catch(t){s(t)}}function a(e){try{c(r.throw(e))}catch(t){s(t)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(o,a)}c((r=r.apply(e,t||[])).next())})};Object.defineProperty(exports,"__esModule",{value:!0});const constants_1=__webpack_require__("./constants/index.ts"),_afterPluginsLoaded_1=__webpack_require__("./helpers/_afterPluginsLoaded.ts"),_extractMeaningfulErrorMessage_1=__webpack_require__("./helpers/_extractMeaningfulErrorMessage.ts"),_generateCadesFn_1=__webpack_require__("./helpers/_generateCadesFn.ts"),_getCadesCert_1=__webpack_require__("./helpers/_getCadesCert.ts"),_getDateObj_1=__webpack_require__("./helpers/_getDateObj.ts");exports.createDetachedSignature=_afterPluginsLoaded_1._afterPluginsLoaded((thumbprint,messageHash)=>__awaiter(void 0,void 0,void 0,function*(){const{cadesplugin:cadesplugin}=window,cadesCertificate=yield _getCadesCert_1._getCadesCert(thumbprint);return eval(_generateCadesFn_1._generateCadesFn(function(){let e,t,n,r;try{e=_generateCadesFn_1.__cadesAsyncToken__+_generateCadesFn_1.__createCadesPluginObject__("CADESCOM.CPAttribute"),t=_generateCadesFn_1.__cadesAsyncToken__+_generateCadesFn_1.__createCadesPluginObject__("CAdESCOM.HashedData"),n=_generateCadesFn_1.__cadesAsyncToken__+_generateCadesFn_1.__createCadesPluginObject__("CAdESCOM.CadesSignedData"),r=_generateCadesFn_1.__cadesAsyncToken__+_generateCadesFn_1.__createCadesPluginObject__("CAdESCOM.CPSigner")}catch(a){throw console.error(a),new Error(_extractMeaningfulErrorMessage_1._extractMeaningfulErrorMessage(a)||"\u041e\u0448\u0438\u0431\u043a\u0430 \u043f\u0440\u0438 \u0438\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u043f\u043e\u0434\u043f\u0438\u0441\u0438")}const i=_getDateObj_1._getDateObj(new Date);try{_generateCadesFn_1.__cadesAsyncToken__,e.propset_Name(constants_1.CADESCOM_AUTHENTICATED_ATTRIBUTE_SIGNING_TIME),_generateCadesFn_1.__cadesAsyncToken__,e.propset_Value(i)}catch(a){throw console.error(a),new Error(_extractMeaningfulErrorMessage_1._extractMeaningfulErrorMessage(a)||"\u041e\u0448\u0438\u0431\u043a\u0430 \u043f\u0440\u0438 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0435 \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u043f\u043e\u0434\u043f\u0438\u0441\u0438")}let s,o;try{_generateCadesFn_1.__cadesAsyncToken__,r.propset_Certificate(cadesCertificate),s=_generateCadesFn_1.__cadesAsyncToken__+r.AuthenticatedAttributes2,_generateCadesFn_1.__cadesAsyncToken__,s.Add(e),_generateCadesFn_1.__cadesAsyncToken__,r.propset_Options(cadesplugin.CAPICOM_CERTIFICATE_INCLUDE_WHOLE_CHAIN)}catch(a){throw console.error(a),new Error(_extractMeaningfulErrorMessage_1._extractMeaningfulErrorMessage(a)||"\u041e\u0448\u0438\u0431\u043a\u0430 \u043f\u0440\u0438 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0435 \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u0430")}try{_generateCadesFn_1.__cadesAsyncToken__,t.propset_Algorithm(cadesplugin.CADESCOM_HASH_ALGORITHM_CP_GOST_3411_2012_256),_generateCadesFn_1.__cadesAsyncToken__,t.SetHashValue(messageHash)}catch(a){throw console.error(a),new Error(_extractMeaningfulErrorMessage_1._extractMeaningfulErrorMessage(a)||"\u041e\u0448\u0438\u0431\u043a\u0430 \u043f\u0440\u0438 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0435 \u0445\u0435\u0448\u0430")}try{o=_generateCadesFn_1.__cadesAsyncToken__+n.SignHash(t,r,cadesplugin.CADESCOM_PKCS7_TYPE)}catch(a){throw console.error(a),new Error(_extractMeaningfulErrorMessage_1._extractMeaningfulErrorMessage(a)||"\u041e\u0448\u0438\u0431\u043a\u0430 \u043f\u0440\u0438 \u043f\u043e\u0434\u043f\u0438\u0441\u0430\u043d\u0438\u0438 \u0434\u0430\u043d\u043d\u044b\u0445")}return o}))}))},"./api/createHash.ts":function(module,exports,__webpack_require__){"use strict";(function(Buffer){var __awaiter=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))(function(i,s){function o(e){try{c(r.next(e))}catch(t){s(t)}}function a(e){try{c(r.throw(e))}catch(t){s(t)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(o,a)}c((r=r.apply(e,t||[])).next())})};Object.defineProperty(exports,"__esModule",{value:!0});const _afterPluginsLoaded_1=__webpack_require__("./helpers/_afterPluginsLoaded.ts"),_extractMeaningfulErrorMessage_1=__webpack_require__("./helpers/_extractMeaningfulErrorMessage.ts"),_generateCadesFn_1=__webpack_require__("./helpers/_generateCadesFn.ts");exports.createHash=_afterPluginsLoaded_1._afterPluginsLoaded((unencryptedMessage,options)=>__awaiter(void 0,void 0,void 0,function*(){const{cadesplugin:cadesplugin}=window;return eval(_generateCadesFn_1._generateCadesFn(function(){var e;const t=_generateCadesFn_1.__cadesAsyncToken__+_generateCadesFn_1.__createCadesPluginObject__("CAdESCOM.HashedData");let n,r;try{n=(null==options?void 0:options.encoding)&&"string"==typeof unencryptedMessage?Buffer.from(unencryptedMessage,null==options?void 0:options.encoding).toString("base64"):Buffer.from(unencryptedMessage).toString("base64")}catch(i){throw console.error(i),new Error("\u041e\u0448\u0438\u0431\u043a\u0430 \u043f\u0440\u0438 \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u043d\u0438\u0438 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f \u0432 Base64")}try{_generateCadesFn_1.__cadesAsyncToken__,t.propset_Algorithm(null!==(e=null==options?void 0:options.hashedAlgorithm)&&void 0!==e?e:cadesplugin.CADESCOM_HASH_ALGORITHM_CP_GOST_3411_2012_256),_generateCadesFn_1.__cadesAsyncToken__,t.propset_DataEncoding(cadesplugin.CADESCOM_BASE64_TO_BINARY),_generateCadesFn_1.__cadesAsyncToken__,t.Hash(n)}catch(i){throw console.error(i),new Error(_extractMeaningfulErrorMessage_1._extractMeaningfulErrorMessage(i)||"\u041e\u0448\u0438\u0431\u043a\u0430 \u043f\u0440\u0438 \u0438\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u0445\u044d\u0448\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f")}try{r=_generateCadesFn_1.__cadesAsyncToken__+t.Value}catch(i){throw console.error(i),new Error(_extractMeaningfulErrorMessage_1._extractMeaningfulErrorMessage(i)||"\u041e\u0448\u0438\u0431\u043a\u0430 \u043f\u0440\u0438 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0438 \u0445\u044d\u0448\u0430")}return r}))}))}).call(this,__webpack_require__("../node_modules/buffer/index.js").Buffer)},"./api/createSignature.ts":function(module,exports,__webpack_require__){"use strict";var __awaiter=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))(function(i,s){function o(e){try{c(r.next(e))}catch(t){s(t)}}function a(e){try{c(r.throw(e))}catch(t){s(t)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(o,a)}c((r=r.apply(e,t||[])).next())})};Object.defineProperty(exports,"__esModule",{value:!0});const constants_1=__webpack_require__("./constants/index.ts"),_afterPluginsLoaded_1=__webpack_require__("./helpers/_afterPluginsLoaded.ts"),_extractMeaningfulErrorMessage_1=__webpack_require__("./helpers/_extractMeaningfulErrorMessage.ts"),_generateCadesFn_1=__webpack_require__("./helpers/_generateCadesFn.ts"),_getCadesCert_1=__webpack_require__("./helpers/_getCadesCert.ts"),_getDateObj_1=__webpack_require__("./helpers/_getDateObj.ts");exports.createSignature=_afterPluginsLoaded_1._afterPluginsLoaded((thumbprint,messageHash,detachedSignature=!0)=>__awaiter(void 0,void 0,void 0,function*(){console.warn(['cryptoPro: \u041c\u0435\u0442\u043e\u0434 "createSignature" \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0443\u0441\u0442\u0430\u0440\u0435\u0432\u0448\u0438\u043c \u0438 \u0431\u0443\u0434\u0435\u0442 \u0443\u0431\u0440\u0430\u043d \u0438\u0437 \u0431\u0443\u0434\u0443\u0449\u0438\u0445 \u0432\u0435\u0440\u0441\u0438\u0439.','\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435 "createAttachedSignature" \u0438 "createDetachedSignature".'].join("\n"));const{cadesplugin:cadesplugin}=window,cadesCertificate=yield _getCadesCert_1._getCadesCert(thumbprint);return eval(_generateCadesFn_1._generateCadesFn(function(){let e,t,n;try{e=_generateCadesFn_1.__cadesAsyncToken__+_generateCadesFn_1.__createCadesPluginObject__("CADESCOM.CPAttribute"),t=_generateCadesFn_1.__cadesAsyncToken__+_generateCadesFn_1.__createCadesPluginObject__("CAdESCOM.CadesSignedData"),n=_generateCadesFn_1.__cadesAsyncToken__+_generateCadesFn_1.__createCadesPluginObject__("CAdESCOM.CPSigner")}catch(o){throw console.error(o),new Error(_extractMeaningfulErrorMessage_1._extractMeaningfulErrorMessage(o)||"\u041e\u0448\u0438\u0431\u043a\u0430 \u043f\u0440\u0438 \u0438\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u043f\u043e\u0434\u043f\u0438\u0441\u0438")}const r=_getDateObj_1._getDateObj(new Date);try{_generateCadesFn_1.__cadesAsyncToken__,e.propset_Name(constants_1.CADESCOM_AUTHENTICATED_ATTRIBUTE_SIGNING_TIME),_generateCadesFn_1.__cadesAsyncToken__,e.propset_Value(r)}catch(o){throw console.error(o),new Error(_extractMeaningfulErrorMessage_1._extractMeaningfulErrorMessage(o)||"\u041e\u0448\u0438\u0431\u043a\u0430 \u043f\u0440\u0438 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0435 \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u043f\u043e\u0434\u043f\u0438\u0441\u0438")}let i,s;try{_generateCadesFn_1.__cadesAsyncToken__,n.propset_Certificate(cadesCertificate),i=_generateCadesFn_1.__cadesAsyncToken__+n.AuthenticatedAttributes2,_generateCadesFn_1.__cadesAsyncToken__,i.Add(e),_generateCadesFn_1.__cadesAsyncToken__,t.propset_ContentEncoding(cadesplugin.CADESCOM_BASE64_TO_BINARY),_generateCadesFn_1.__cadesAsyncToken__,t.propset_Content(messageHash),_generateCadesFn_1.__cadesAsyncToken__,n.propset_Options(cadesplugin.CAPICOM_CERTIFICATE_INCLUDE_END_ENTITY_ONLY)}catch(o){throw console.error(o),new Error(_extractMeaningfulErrorMessage_1._extractMeaningfulErrorMessage(o)||"\u041e\u0448\u0438\u0431\u043a\u0430 \u043f\u0440\u0438 \u0443\u043a\u0430\u0437\u0430\u043d\u0438\u0438 \u0434\u0430\u043d\u043d\u044b\u0445 \u0434\u043b\u044f \u043f\u043e\u0434\u043f\u0438\u0441\u0438")}try{s=_generateCadesFn_1.__cadesAsyncToken__+t.SignCades(n,cadesplugin.CADESCOM_CADES_BES,detachedSignature)}catch(o){throw console.error(o),new Error(_extractMeaningfulErrorMessage_1._extractMeaningfulErrorMessage(o)||"\u041e\u0448\u0438\u0431\u043a\u0430 \u043f\u0440\u0438 \u043f\u043e\u0434\u043f\u0438\u0441\u0430\u043d\u0438\u0438 \u0434\u0430\u043d\u043d\u044b\u0445")}return s}))}))},"./api/createXMLSignature.ts":function(module,exports,__webpack_require__){"use strict";var __awaiter=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))(function(i,s){function o(e){try{c(r.next(e))}catch(t){s(t)}}function a(e){try{c(r.throw(e))}catch(t){s(t)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(o,a)}c((r=r.apply(e,t||[])).next())})};Object.defineProperty(exports,"__esModule",{value:!0});const _afterPluginsLoaded_1=__webpack_require__("./helpers/_afterPluginsLoaded.ts"),_extractMeaningfulErrorMessage_1=__webpack_require__("./helpers/_extractMeaningfulErrorMessage.ts"),_generateCadesFn_1=__webpack_require__("./helpers/_generateCadesFn.ts"),_getCadesCert_1=__webpack_require__("./helpers/_getCadesCert.ts");exports.createXMLSignature=_afterPluginsLoaded_1._afterPluginsLoaded((thumbprint,unencryptedMessage)=>__awaiter(void 0,void 0,void 0,function*(){const{cadesplugin:cadesplugin}=window,cadesCertificate=yield _getCadesCert_1._getCadesCert(thumbprint);return eval(_generateCadesFn_1._generateCadesFn(function(){let e,t,n;try{e=_generateCadesFn_1.__cadesAsyncToken__+_generateCadesFn_1.__createCadesPluginObject__("CAdESCOM.CPSigner"),t=_generateCadesFn_1.__cadesAsyncToken__+_generateCadesFn_1.__createCadesPluginObject__("CAdESCOM.SignedXML")}catch(r){throw console.error(r),new Error(_extractMeaningfulErrorMessage_1._extractMeaningfulErrorMessage(r)||"\u041e\u0448\u0438\u0431\u043a\u0430 \u043f\u0440\u0438 \u0438\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u043f\u043e\u0434\u043f\u0438\u0441\u0438")}try{const n="urn:ietf:params:xml:ns:cpxmlsec:algorithms:gostr34102012-gostr34112012-256",r="urn:ietf:params:xml:ns:cpxmlsec:algorithms:gostr34112012-256";_generateCadesFn_1.__cadesAsyncToken__,e.propset_Certificate(cadesCertificate),_generateCadesFn_1.__cadesAsyncToken__,e.propset_CheckCertificate(!0),_generateCadesFn_1.__cadesAsyncToken__,t.propset_Content(unencryptedMessage),_generateCadesFn_1.__cadesAsyncToken__,t.propset_SignatureType(cadesplugin.CADESCOM_XML_SIGNATURE_TYPE_ENVELOPED),_generateCadesFn_1.__cadesAsyncToken__,t.propset_SignatureMethod(n),_generateCadesFn_1.__cadesAsyncToken__,t.propset_DigestMethod(r)}catch(r){throw console.error(r),new Error(_extractMeaningfulErrorMessage_1._extractMeaningfulErrorMessage(r)||"\u041e\u0448\u0438\u0431\u043a\u0430 \u043f\u0440\u0438 \u0443\u043a\u0430\u0437\u0430\u043d\u0438\u0438 \u0434\u0430\u043d\u043d\u044b\u0445 \u0434\u043b\u044f \u043f\u043e\u0434\u043f\u0438\u0441\u0438")}try{n=_generateCadesFn_1.__cadesAsyncToken__+t.Sign(e)}catch(r){throw console.error(r),new Error(_extractMeaningfulErrorMessage_1._extractMeaningfulErrorMessage(r)||"\u041e\u0448\u0438\u0431\u043a\u0430 \u043f\u0440\u0438 \u043f\u043e\u0434\u043f\u0438\u0441\u0430\u043d\u0438\u0438 \u0434\u0430\u043d\u043d\u044b\u0445")}return n}))}))},"./api/execute.ts":function(e,t,n){"use strict";var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))(function(i,s){function o(e){try{c(r.next(e))}catch(t){s(t)}}function a(e){try{c(r.throw(e))}catch(t){s(t)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(o,a)}c((r=r.apply(e,t||[])).next())})};Object.defineProperty(t,"__esModule",{value:!0});const i=n("./helpers/_afterPluginsLoaded.ts"),s=n("./helpers/_extractMeaningfulErrorMessage.ts"),o=n("./helpers/_generateCadesFn.ts");t.execute=i._afterPluginsLoaded(e=>r(void 0,void 0,void 0,function*(){return yield e({cadesplugin:window.cadesplugin,_generateCadesFn:o._generateCadesFn,__cadesAsyncToken__:o.__cadesAsyncToken__,__createCadesPluginObject__:o.__createCadesPluginObject__,_extractMeaningfulErrorMessage:s._extractMeaningfulErrorMessage})}))},"./api/getCertificate.ts":function(e,t,n){"use strict";var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))(function(i,s){function o(e){try{c(r.next(e))}catch(t){s(t)}}function a(e){try{c(r.throw(e))}catch(t){s(t)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(o,a)}c((r=r.apply(e,t||[])).next())})};Object.defineProperty(t,"__esModule",{value:!0});const i=n("./helpers/_afterPluginsLoaded.ts"),s=n("./api/getUserCertificates.ts");t.getCertificate=i._afterPluginsLoaded(e=>r(void 0,void 0,void 0,function*(){if(!e)throw new Error("\u041e\u0442\u043f\u0435\u0447\u0430\u0442\u043e\u043a \u043d\u0435 \u0443\u043a\u0430\u0437\u0430\u043d");const t=(yield s.getUserCertificates()).find(t=>t.thumbprint===e);if(!t)throw new Error(`\u0421\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442 \u0441 \u043e\u0442\u043f\u0435\u0447\u0430\u0442\u043a\u043e\u043c: "${e}" \u043d\u0435 \u043d\u0430\u0439\u0434\u0435\u043d`);return t}))},"./api/getSystemInfo.ts":function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const _afterPluginsLoaded_1=__webpack_require__("./helpers/_afterPluginsLoaded.ts"),_extractMeaningfulErrorMessage_1=__webpack_require__("./helpers/_extractMeaningfulErrorMessage.ts"),_generateCadesFn_1=__webpack_require__("./helpers/_generateCadesFn.ts");exports.getSystemInfo=_afterPluginsLoaded_1._afterPluginsLoaded(()=>{const sysInfo={cadesVersion:null,cspVersion:null};return eval(_generateCadesFn_1._generateCadesFn(function(){let e;try{e=_generateCadesFn_1.__cadesAsyncToken__+_generateCadesFn_1.__createCadesPluginObject__("CAdESCOM.About"),sysInfo.cadesVersion=_generateCadesFn_1.__cadesAsyncToken__+e.PluginVersion,sysInfo.cspVersion=_generateCadesFn_1.__cadesAsyncToken__+e.CSPVersion(),sysInfo.cadesVersion||(sysInfo.cadesVersion=_generateCadesFn_1.__cadesAsyncToken__+e.Version),sysInfo.cadesVersion=_generateCadesFn_1.__cadesAsyncToken__+sysInfo.cadesVersion.toString(),sysInfo.cspVersion=_generateCadesFn_1.__cadesAsyncToken__+sysInfo.cspVersion.toString()}catch(t){throw console.error(t),new Error(_extractMeaningfulErrorMessage_1._extractMeaningfulErrorMessage(t)||"\u041e\u0448\u0438\u0431\u043a\u0430 \u043f\u0440\u0438 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u0438 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438 \u043e \u0441\u0438\u0441\u0442\u0435\u043c\u0435")}return sysInfo}))})},"./api/getUserCertificates.ts":function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const certificate_1=__webpack_require__("./api/certificate/index.ts"),constants_1=__webpack_require__("./constants/index.ts"),_afterPluginsLoaded_1=__webpack_require__("./helpers/_afterPluginsLoaded.ts"),_extractCommonName_1=__webpack_require__("./helpers/_extractCommonName.ts"),_extractMeaningfulErrorMessage_1=__webpack_require__("./helpers/_extractMeaningfulErrorMessage.ts"),_generateCadesFn_1=__webpack_require__("./helpers/_generateCadesFn.ts");let certificatesCache;exports.getUserCertificates=_afterPluginsLoaded_1._afterPluginsLoaded((resetCache=!1)=>{const{cadesplugin:cadesplugin}=window;return!resetCache&&certificatesCache?certificatesCache:eval(_generateCadesFn_1._generateCadesFn(function(){let e,t,n;try{e=_generateCadesFn_1.__cadesAsyncToken__+_generateCadesFn_1.__createCadesPluginObject__("CAdESCOM.Store")}catch(i){throw console.error(i),new Error(_extractMeaningfulErrorMessage_1._extractMeaningfulErrorMessage(i)||"\u041e\u0448\u0438\u0431\u043a\u0430 \u043f\u0440\u0438 \u043f\u043e\u043f\u044b\u0442\u043a\u0435 \u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u043a \u0445\u0440\u0430\u043d\u0438\u043b\u0438\u0449\u0443")}try{_generateCadesFn_1.__cadesAsyncToken__,e.Open(cadesplugin.CAPICOM_CURRENT_USER_STORE,cadesplugin.CAPICOM_MY_STORE,cadesplugin.CAPICOM_STORE_OPEN_MAXIMUM_ALLOWED)}catch(i){throw console.error(i),new Error(_extractMeaningfulErrorMessage_1._extractMeaningfulErrorMessage(i)||"\u041e\u0448\u0438\u0431\u043a\u0430 \u043f\u0440\u0438 \u043e\u0442\u043a\u0440\u044b\u0442\u0438\u0438 \u0445\u0440\u0430\u043d\u0438\u043b\u0438\u0449\u0430")}try{t=_generateCadesFn_1.__cadesAsyncToken__+e.Certificates,t&&(t=_generateCadesFn_1.__cadesAsyncToken__+t.Find(cadesplugin.CAPICOM_CERTIFICATE_FIND_TIME_VALID),t=_generateCadesFn_1.__cadesAsyncToken__+t.Find(cadesplugin.CAPICOM_CERTIFICATE_FIND_EXTENDED_PROPERTY,constants_1.CAPICOM_PROPID_KEY_PROV_INFO),n=_generateCadesFn_1.__cadesAsyncToken__+t.Count)}catch(i){throw console.error(i),new Error(_extractMeaningfulErrorMessage_1._extractMeaningfulErrorMessage(i)||"\u041e\u0448\u0438\u0431\u043a\u0430 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f \u0441\u043f\u0438\u0441\u043a\u0430 \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0432")}if(!n)throw new Error("\u041d\u0435\u0442 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u0445 \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0432");const r=[];try{for(;n;){const e=_generateCadesFn_1.__cadesAsyncToken__+t.Item(n);r.push(new certificate_1.Certificate(e,_extractCommonName_1._extractCommonName(_generateCadesFn_1.__cadesAsyncToken__+e.SubjectName),_generateCadesFn_1.__cadesAsyncToken__+e.IssuerName,_generateCadesFn_1.__cadesAsyncToken__+e.SubjectName,_generateCadesFn_1.__cadesAsyncToken__+e.Thumbprint,_generateCadesFn_1.__cadesAsyncToken__+e.ValidFromDate,_generateCadesFn_1.__cadesAsyncToken__+e.ValidToDate)),n--}}catch(i){throw console.error(i),new Error(_extractMeaningfulErrorMessage_1._extractMeaningfulErrorMessage(i)||"\u041e\u0448\u0438\u0431\u043a\u0430 \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0432")}return e.Close(),certificatesCache=r,certificatesCache}))})},"./api/index.ts":function(e,t,n){"use strict";function r(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),r(n("./api/getCertificate.ts")),r(n("./api/getUserCertificates.ts")),r(n("./api/getSystemInfo.ts")),r(n("./api/isValidSystemSetup.ts")),r(n("./api/createSignature.ts")),r(n("./api/createXMLSignature.ts")),r(n("./api/createDetachedSignature.ts")),r(n("./api/createAttachedSignature.ts")),r(n("./api/createHash.ts")),r(n("./api/certificate/index.ts")),r(n("./api/execute.ts"))},"./api/isValidSystemSetup.ts":function(e,t,n){"use strict";var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))(function(i,s){function o(e){try{c(r.next(e))}catch(t){s(t)}}function a(e){try{c(r.throw(e))}catch(t){s(t)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(o,a)}c((r=r.apply(e,t||[])).next())})};Object.defineProperty(t,"__esModule",{value:!0});const i=n("./helpers/_afterPluginsLoaded.ts"),s=n("./helpers/_extractMeaningfulErrorMessage.ts"),o=n("./helpers/_isSupportedCadesVersion.ts"),a=n("./helpers/_isSupportedCSPVersion.ts"),c=n("./api/getSystemInfo.ts");t.isValidSystemSetup=i._afterPluginsLoaded(()=>r(void 0,void 0,void 0,function*(){let e;try{e=yield c.getSystemInfo()}catch(t){throw console.error(t),new Error(s._extractMeaningfulErrorMessage(t)||"\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u042d\u041f \u043d\u0430 \u0434\u0430\u043d\u043d\u043e\u0439 \u043c\u0430\u0448\u0438\u043d\u0435 \u043d\u0435 \u0432\u0435\u0440\u043d\u044b")}if(!o._isSupportedCadesVersion(e.cadesVersion))throw new Error("\u041d\u0435 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u043c\u0430\u044f \u0432\u0435\u0440\u0441\u0438\u044f \u043f\u043b\u0430\u0433\u0438\u043d\u0430");if(!a._isSupportedCSPVersion(e.cspVersion))throw new Error("\u041d\u0435 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u043c\u0430\u044f \u0432\u0435\u0440\u0441\u0438\u044f CSP");return!0}))},"./constants/cades-constants.ts":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CADESCOM_ATTRIBUTE_OTHER=-1,t.CADESCOM_AUTHENTICATED_ATTRIBUTE_DOCUMENT_DESCRIPTION=2,t.CADESCOM_AUTHENTICATED_ATTRIBUTE_DOCUMENT_NAME=1,t.CADESCOM_AUTHENTICATED_ATTRIBUTE_SIGNING_TIME=0,t.CADESCOM_AllowNoOutstandingRequest=1,t.CADESCOM_AllowNone=0,t.CADESCOM_AllowUntrustedCertificate=2,t.CADESCOM_AllowUntrustedRoot=4,t.CADESCOM_BASE64_TO_BINARY=1,t.CADESCOM_CADES_BES=1,t.CADESCOM_CADES_DEFAULT=0,t.CADESCOM_CADES_T=5,t.CADESCOM_CADES_X_LONG_TYPE_1=93,t.CADESCOM_CONTAINER_STORE=100,t.CADESCOM_CURRENT_USER_STORE=2,t.CADESCOM_DISPLAY_DATA_ATTRIBUTE=2,t.CADESCOM_DISPLAY_DATA_CONTENT=1,t.CADESCOM_DISPLAY_DATA_NONE=0,t.CADESCOM_ENCODE_ANY=-1,t.CADESCOM_ENCODE_BASE64=0,t.CADESCOM_ENCODE_BINARY=1,t.CADESCOM_ENCRYPTION_ALGORITHM_3DES=3,t.CADESCOM_ENCRYPTION_ALGORITHM_AES=4,t.CADESCOM_ENCRYPTION_ALGORITHM_DES=2,t.CADESCOM_ENCRYPTION_ALGORITHM_GOST_28147_89=25,t.CADESCOM_ENCRYPTION_ALGORITHM_RC2=0,t.CADESCOM_ENCRYPTION_ALGORITHM_RC4=1,t.CADESCOM_HASH_ALGORITHM_CP_GOST_3411=100,t.CADESCOM_HASH_ALGORITHM_CP_GOST_3411_2012_256=101,t.CADESCOM_HASH_ALGORITHM_CP_GOST_3411_2012_256_HMAC=111,t.CADESCOM_HASH_ALGORITHM_CP_GOST_3411_2012_512=102,t.CADESCOM_HASH_ALGORITHM_CP_GOST_3411_2012_512_HMAC=112,t.CADESCOM_HASH_ALGORITHM_CP_GOST_3411_HMAC=110,t.CADESCOM_HASH_ALGORITHM_MD2=1,t.CADESCOM_HASH_ALGORITHM_MD4=2,t.CADESCOM_HASH_ALGORITHM_MD5=3,t.CADESCOM_HASH_ALGORITHM_SHA1=0,t.CADESCOM_HASH_ALGORITHM_SHA_256=4,t.CADESCOM_HASH_ALGORITHM_SHA_384=5,t.CADESCOM_HASH_ALGORITHM_SHA_512=6,t.CADESCOM_LOCAL_MACHINE_STORE=1,t.CADESCOM_PKCS7_TYPE=65535,t.CADESCOM_STRING_TO_UCS2LE=0,t.CADESCOM_SkipInstallToStore=268435456,t.CADESCOM_XML_SIGNATURE_TYPE_ENVELOPED=0,t.CADESCOM_XML_SIGNATURE_TYPE_ENVELOPING=1,t.CADESCOM_XML_SIGNATURE_TYPE_TEMPLATE=2,t.CAPICOM_ACTIVE_DIRECTORY_USER_STORE=3,t.CAPICOM_AUTHENTICATED_ATTRIBUTE_DOCUMENT_DESCRIPTION=2,t.CAPICOM_AUTHENTICATED_ATTRIBUTE_DOCUMENT_NAME=1,t.CAPICOM_AUTHENTICATED_ATTRIBUTE_SIGNING_TIME=0,t.CAPICOM_CERTIFICATE_FIND_APPLICATION_POLICY=7,t.CAPICOM_CERTIFICATE_FIND_CERTIFICATE_POLICY=8,t.CAPICOM_CERTIFICATE_FIND_EXTENDED_PROPERTY=6,t.CAPICOM_CERTIFICATE_FIND_EXTENSION=5,t.CAPICOM_CERTIFICATE_FIND_ISSUER_NAME=2,t.CAPICOM_CERTIFICATE_FIND_KEY_USAGE=12,t.CAPICOM_CERTIFICATE_FIND_ROOT_NAME=3,t.CAPICOM_CERTIFICATE_FIND_SHA1_HASH=0,t.CAPICOM_CERTIFICATE_FIND_SUBJECT_NAME=1,t.CAPICOM_CERTIFICATE_FIND_TEMPLATE_NAME=4,t.CAPICOM_CERTIFICATE_FIND_TIME_EXPIRED=11,t.CAPICOM_CERTIFICATE_FIND_TIME_NOT_YET_VALID=10,t.CAPICOM_CERTIFICATE_FIND_TIME_VALID=9,t.CAPICOM_CERTIFICATE_INCLUDE_CHAIN_EXCEPT_ROOT=0,t.CAPICOM_CERTIFICATE_INCLUDE_END_ENTITY_ONLY=2,t.CAPICOM_CERTIFICATE_INCLUDE_WHOLE_CHAIN=1,t.CAPICOM_CERT_INFO_ISSUER_SIMPLE_NAME=1,t.CAPICOM_CERT_INFO_SUBJECT_SIMPLE_NAME=0,t.CAPICOM_CURRENT_USER_STORE=2,t.CAPICOM_DIGITAL_SIGNATURE_KEY_USAGE=128,t.CAPICOM_EKU_CLIENT_AUTH=2,t.CAPICOM_EKU_OTHER=0,t.CAPICOM_EKU_SMARTCARD_LOGON=5,t.CAPICOM_LOCAL_MACHINE_STORE=1,t.CAPICOM_MEMORY_STORE=0,t.CAPICOM_MY_STORE="My",t.CAPICOM_OID_KEY_USAGE_EXTENSION=10,t.CAPICOM_OID_OTHER=0,t.CAPICOM_PROPID_ACCESS_STATE=14,t.CAPICOM_PROPID_ARCHIVED=19,t.CAPICOM_PROPID_ARCHIVED_KEY_HASH=65,t.CAPICOM_PROPID_AUTO_ENROLL=21,t.CAPICOM_PROPID_CROSS_CERT_DIST_POINTS=23,t.CAPICOM_PROPID_CTL_USAGE=9,t.CAPICOM_PROPID_DATE_STAMP=27,t.CAPICOM_PROPID_DESCRIPTION=13,t.CAPICOM_PROPID_EFS=17,t.CAPICOM_PROPID_ENHKEY_USAGE=9,t.CAPICOM_PROPID_ENROLLMENT=26,t.CAPICOM_PROPID_EXTENDED_ERROR_INFO=30,t.CAPICOM_PROPID_FIRST_RESERVED=66,t.CAPICOM_PROPID_FIRST_USER=32768,t.CAPICOM_PROPID_FORTEZZA_DATA=18,t.CAPICOM_PROPID_FRIENDLY_NAME=11,t.CAPICOM_PROPID_HASH_PROP=3,t.CAPICOM_PROPID_IE30_RESERVED=7,t.CAPICOM_PROPID_ISSUER_PUBLIC_KEY_MD5_HASH=24,t.CAPICOM_PROPID_ISSUER_SERIAL_NUMBER_MD5_HASH=28,t.CAPICOM_PROPID_KEY_CONTEXT=5,t.CAPICOM_PROPID_KEY_IDENTIFIER=20,t.CAPICOM_PROPID_KEY_PROV_HANDLE=1,t.CAPICOM_PROPID_KEY_PROV_INFO=2,t.CAPICOM_PROPID_KEY_SPEC=6,t.CAPICOM_PROPID_LAST_RESERVED=32767,t.CAPICOM_PROPID_LAST_USER=65535,t.CAPICOM_PROPID_MD5_HASH=4,t.CAPICOM_PROPID_NEXT_UPDATE_LOCATION=10,t.CAPICOM_PROPID_PUBKEY_ALG_PARA=22,t.CAPICOM_PROPID_PUBKEY_HASH_RESERVED=8,t.CAPICOM_PROPID_PVK_FILE=12,t.CAPICOM_PROPID_RENEWAL=64,t.CAPICOM_PROPID_SHA1_HASH=3,t.CAPICOM_PROPID_SIGNATURE_HASH=15,t.CAPICOM_PROPID_SMART_CARD_DATA=16,t.CAPICOM_PROPID_SUBJECT_NAME_MD5_HASH=29,t.CAPICOM_PROPID_SUBJECT_PUBLIC_KEY_MD5_HASH=25,t.CAPICOM_PROPID_UNKNOWN=0,t.CAPICOM_SMART_CARD_USER_STORE=4,t.CAPICOM_STORE_OPEN_EXISTING_ONLY=128,t.CAPICOM_STORE_OPEN_INCLUDE_ARCHIVED=256,t.CAPICOM_STORE_OPEN_MAXIMUM_ALLOWED=2,t.CAPICOM_STORE_OPEN_READ_ONLY=0,t.CAPICOM_STORE_OPEN_READ_WRITE=1,t.CHECK_NONE=0,t.CHECK_OFFLINE_REVOCATION_STATUS=16,t.CHECK_ONLINE_REVOCATION_STATUS=8,t.CHECK_SIGNATURE_VALIDITY=4,t.CHECK_TIME_VALIDITY=2,t.CHECK_TRUSTED_ROOT=1,t.LOG_LEVEL_DEBUG=4,t.LOG_LEVEL_ERROR=1,t.LOG_LEVEL_INFO=2,t.TRUST_CTL_IS_NOT_SIGNATURE_VALID=262144,t.TRUST_CTL_IS_NOT_TIME_VALID=131072,t.TRUST_CTL_IS_NOT_VALID_FOR_USAGE=524288,t.TRUST_IS_CYCLIC=128,t.TRUST_IS_NOT_SIGNATURE_VALID=8,t.TRUST_IS_NOT_TIME_NESTED=2,t.TRUST_IS_NOT_TIME_VALID=1,t.TRUST_IS_NOT_VALID_FOR_USAGE=16,t.TRUST_IS_PARTIAL_CHAIN=65536,t.TRUST_IS_REVOKED=4,t.TRUST_IS_UNTRUSTED_ROOT=32,t.TRUST_REVOCATION_STATUS_UNKNOWN=64,t.XmlDsigGost3410Url="urn:ietf:params:xml:ns:cpxmlsec:algorithms:gostr34102001-gostr3411",t.XmlDsigGost3410UrlObsolete="http://www.w3.org/2001/04/xmldsig-more#gostr34102001-gostr3411",t.XmlDsigGost3411Url="urn:ietf:params:xml:ns:cpxmlsec:algorithms:gostr3411",t.XmlDsigGost3411UrlObsolete="http://www.w3.org/2001/04/xmldsig-more#gostr3411"},"./constants/index.ts":function(e,t,n){"use strict";function r(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),r(n("./constants/cades-constants.ts")),r(n("./constants/issuer-tags-translations.ts")),r(n("./constants/oids-dictionary.ts")),r(n("./constants/subject-tags-translations.ts"))},"./constants/issuer-tags-translations.ts":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ISSUER_TAGS_TRANSLATIONS=[{possibleNames:["UnstructuredName"],translation:"\u041d\u0435\u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u0435 \u0438\u043c\u044f"},{possibleNames:["CN"],translation:"\u0423\u0434\u043e\u0441\u0442\u043e\u0432\u0435\u0440\u044f\u044e\u0449\u0438\u0439 \u0446\u0435\u043d\u0442\u0440"},{possibleNames:["C"],translation:"\u0421\u0442\u0440\u0430\u043d\u0430"},{possibleNames:["S"],translation:"\u0420\u0435\u0433\u0438\u043e\u043d"},{possibleNames:["STREET"],translation:"\u0410\u0434\u0440\u0435\u0441"},{possibleNames:["O"],translation:"\u041a\u043e\u043c\u043f\u0430\u043d\u0438\u044f"},{possibleNames:["OU"],translation:"\u0422\u0438\u043f"},{possibleNames:["T"],translation:"\u0414\u043e\u043b\u0436\u043d\u043e\u0441\u0442\u044c"},{possibleNames:["\u041e\u0413\u0420\u041d","OGRN"],translation:"\u041e\u0413\u0420\u041d"},{possibleNames:["\u041e\u0413\u0420\u041d\u0418\u041f","OGRNIP"],translation:"\u041e\u0413\u0420\u041d\u0418\u041f"},{possibleNames:["\u0421\u041d\u0418\u041b\u0421","SNILS"],translation:"\u0421\u041d\u0418\u041b\u0421"},{possibleNames:["\u0418\u041d\u041d","INN","\u0418\u041d\u041d \u043e\u0440\u0433\u0430\u043d\u0438\u0437\u0430\u0446\u0438\u0438"],translation:"\u0418\u041d\u041d"},{possibleNames:["E"],translation:"Email"},{possibleNames:["L"],translation:"\u0413\u043e\u0440\u043e\u0434"}]},"./constants/oids-dictionary.ts":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.OIDS_DICTIONARY={"1.2.643.2.2.34.6":"\u041f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u0426\u0435\u043d\u0442\u0440\u0430 \u0420\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u0438","1.2.643.2.39.1.1":'\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u0432 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u043d\u044b\u0445 \u043f\u0440\u043e\u0434\u0443\u043a\u0442\u0430\u0445 \u0441\u0438\u0441\u0442\u0435\u043c\u044b "1\u0421:\u041f\u0440\u0435\u0434\u043f\u0440\u0438\u044f\u0442\u0438\u0435 8"',"1.2.643.3.131.1.1":"\u0418\u041d\u041d","1.2.643.3.141.1.1":"\u0420\u041d\u0421 \u0424\u0421\u0421","1.2.643.3.141.1.2":"\u041a\u041f \u0424\u0421\u0421","1.2.643.3.2.100.65.13.11":'\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u0432 \u0441\u0438\u0441\u0442\u0435\u043c\u0435 \u0410\u0418\u0421 "\u0413\u043e\u0441\u0437\u0430\u043a\u0443\u043f\u043a\u0438" \u0421\u0430\u0445\u0430\u043b\u0438\u043d\u0441\u043a\u043e\u0439 \u043e\u0431\u043b\u0430\u0441\u0442\u0438.',"1.2.643.3.8.100.1":'\u0421\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442 \u0442\u0438\u043f\u0430 "ekey-\u0413\u041e\u0421\u0422"',"1.2.643.3.8.100.1.1":"\u041e\u0431\u0449\u0435\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u0432 \u0441\u0438\u0441\u0442\u0435\u043c\u0430\u0445 \u0418\u041e\u041a \u0431\u0435\u0437 \u043f\u0440\u0430\u0432\u0430 \u0437\u0430\u0432\u0435\u0440\u0435\u043d\u0438\u044f \u0444\u0438\u043d\u0430\u043d\u0441\u043e\u0432\u044b\u0445 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u043e\u0432","1.2.643.3.8.100.1.10":"\u0414\u043b\u044f \u0443\u0447\u0430\u0441\u0442\u0438\u044f \u0432 \u044d\u043b\u0435\u043a\u0442\u0440\u043e\u043d\u043d\u044b\u0445 \u0442\u043e\u0440\u0433\u0430\u0445 \u0438 \u043f\u043e\u0434\u043f\u0438\u0441\u0430\u043d\u0438\u044f \u0433\u043e\u0441\u0443\u0434\u0430\u0440\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0433\u043e \u043a\u043e\u043d\u0442\u0440\u0430\u043a\u0442\u0430 \u0432  \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0445 \u0441\u0438\u0441\u0442\u0435\u043c\u0430\u0445 \u0422\u0435\u043d\u0434\u0435\u0440\u043d\u043e\u0433\u043e \u043a\u043e\u043c\u0438\u0442\u0435\u0442\u0430 \u0433\u043e\u0440\u043e\u0434\u0430 \u041c\u043e\u0441\u043a\u0432\u044b \u0443\u043f\u043e\u043b\u043d\u043e\u043c\u043e\u0447\u0435\u043d\u043d\u044b\u043c\u0438  \u043b\u0438\u0446\u0430\u043c\u0438 \u0443\u0447\u0430\u0441\u0442\u043d\u0438\u043a\u043e\u0432 \u0440\u0430\u0437\u043c\u0435\u0449\u0435\u043d\u0438\u044f \u0433\u043e\u0441\u0443\u0434\u0430\u0440\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0433\u043e \u0437\u0430\u043a\u0430\u0437\u0430 \u0433\u043e\u0440\u043e\u0434\u0430 \u041c\u043e\u0441\u043a\u0432\u044b","1.2.643.3.8.100.1.11":"\u041f\u043e\u0434\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u044d\u043b\u0435\u043a\u0442\u0440\u043e\u043d\u043d\u044b\u0445 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u043e\u0432 \u0432 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u0439 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u043e\u043d\u043d\u043e\u0439  \u0441\u0438\u0441\u0442\u0435\u043c\u0435 \u0440\u0430\u0437\u043c\u0435\u0449\u0435\u043d\u0438\u044f \u0433\u043e\u0441\u0443\u0434\u0430\u0440\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0433\u043e \u0438 \u043c\u0443\u043d\u0438\u0446\u0438\u043f\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u0437\u0430\u043a\u0430\u0437\u0430 \u0421\u0430\u0440\u0430\u0442\u043e\u0432\u0441\u043a\u043e\u0439 \u043e\u0431\u043b\u0430\u0441\u0442\u0438","1.2.643.3.8.100.1.12":"\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u0432 \u0441\u0438\u0441\u0442\u0435\u043c\u0435 \u0433\u043e\u0441\u0443\u0434\u0430\u0440\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0433\u043e \u0437\u0430\u043a\u0430\u0437\u0430 \u0418\u0440\u043a\u0443\u0442\u0441\u043a\u043e\u0439 \u043e\u0431\u043b\u0430\u0441\u0442\u0438","1.2.643.3.8.100.1.13":"\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u0432 \u044d\u043b\u0435\u043a\u0442\u0440\u043e\u043d\u043d\u043e\u0439 \u0442\u043e\u0440\u0433\u043e\u0432\u043e\u0439 \u043f\u043b\u043e\u0449\u0430\u0434\u043a\u0435 \u0430\u0433\u0435\u043d\u0442\u0441\u0442\u0432\u0430 \u0433\u043e\u0441\u0443\u0434\u0430\u0440\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0433\u043e  \u0437\u0430\u043a\u0430\u0437\u0430 \u041a\u0440\u0430\u0441\u043d\u043e\u044f\u0440\u0441\u043a\u043e\u0433\u043e \u043a\u0440\u0430\u044f","1.2.643.3.8.100.1.14":'\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u0432 \u044d\u043b\u0435\u043a\u0442\u0440\u043e\u043d\u043d\u043e\u0439 \u0442\u043e\u0440\u0433\u043e\u0432\u043e\u0439 \u043f\u043b\u043e\u0449\u0430\u0434\u043a\u0435 "\u0422\u0435\u043d\u0434\u0435\u0440"',"1.2.643.3.8.100.1.2":"\u041f\u0435\u0440\u0435\u0434\u0430\u0447\u0430 \u043e\u0442\u0447\u0435\u0442\u043d\u043e\u0441\u0442\u0438 \u043f\u043e \u0422\u041a\u0421","1.2.643.3.8.100.1.3":"\u041e\u0444\u043e\u0440\u043c\u043b\u0435\u043d\u0438\u0435 \u0432\u0437\u0430\u0438\u043c\u043d\u044b\u0445 \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u0441\u0442\u0432, \u0441\u043e\u0433\u043b\u0430\u0448\u0435\u043d\u0438\u0439, \u0434\u043e\u0433\u043e\u0432\u043e\u0440\u043e\u0432, \u0430\u043a\u0442\u043e\u0432 \u0438 \u0442.\u043f.","1.2.643.3.8.100.1.4":"\u0412\u043d\u0443\u0442\u0440\u0438\u043a\u043e\u0440\u043f\u043e\u0440\u0430\u0442\u0438\u0432\u043d\u044b\u0439 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u043e\u043e\u0431\u043e\u0440\u043e\u0442","1.2.643.3.8.100.1.5":"\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u0432 \u0441\u0438\u0441\u0442\u0435\u043c\u0430\u0445 \u044d\u043b\u0435\u043a\u0442\u0440\u043e\u043d\u043d\u043e\u0439 \u0442\u043e\u0440\u0433\u043e\u0432\u043b\u0438","1.2.643.3.8.100.1.6":'\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u0432 \u0442\u043e\u0440\u0433\u043e\u0432\u043e-\u0437\u0430\u043a\u0443\u043f\u043e\u0447\u043d\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u0435 "\u042d\u041b\u0415\u041a\u0422\u0420\u0410"',"1.2.643.3.8.100.1.7":"\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u0432 \u0441\u0438\u0441\u0442\u0435\u043c\u0435 \u041f\u043e\u0440\u0442\u0430\u043b \u0433\u043e\u0441\u0443\u0434\u0430\u0440\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0445 \u0437\u0430\u043a\u0443\u043f\u043e\u043a \u0421\u0442\u0430\u0432\u0440\u043e\u043f\u043e\u043b\u044c\u0441\u043a\u043e\u0433\u043e \u043a\u0440\u0430\u044f.","1.2.643.3.8.100.1.8":"\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u0432 \u0415\u0434\u0438\u043d\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u0435 \u044d\u043b\u0435\u043a\u0442\u0440\u043e\u043d\u043d\u043e\u0439 \u0442\u043e\u0440\u0433\u043e\u0432\u043b\u0438 B2B-Center \u0438 B2G.","1.2.643.3.8.100.1.9":"\u0414\u043b\u044f \u0443\u0447\u0430\u0441\u0442\u0438\u044f \u0432 \u044d\u043b\u0435\u043a\u0442\u0440\u043e\u043d\u043d\u044b\u0445 \u0442\u043e\u0440\u0433\u0430\u0445 \u0438 \u043f\u043e\u0434\u043f\u0438\u0441\u0430\u043d\u0438\u044f \u0433\u043e\u0441\u0443\u0434\u0430\u0440\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0433\u043e \u043a\u043e\u043d\u0442\u0440\u0430\u043a\u0442\u0430 \u0432  \u044d\u043b\u0435\u043a\u0442\u0440\u043e\u043d\u043d\u043e\u0439 \u043f\u043b\u043e\u0449\u0430\u0434\u043a\u0435 \u041e\u0410\u041e \xab\u0415\u042d\u0422\u041f\xbb \u0443\u043f\u043e\u043b\u043d\u043e\u043c\u043e\u0447\u0435\u043d\u043d\u044b\u043c\u0438 \u043b\u0438\u0446\u0430\u043c\u0438 \u0443\u0447\u0430\u0441\u0442\u043d\u0438\u043a\u043e\u0432 \u0440\u0430\u0437\u043c\u0435\u0449\u0435\u043d\u0438\u044f  \u0433\u043e\u0441\u0443\u0434\u0430\u0440\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0433\u043e \u0438\u043b\u0438 \u043c\u0443\u043d\u0438\u0446\u0438\u043f\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u0437\u0430\u043a\u0430\u0437\u0430","1.2.643.5.1.24.2.1.3":"\u0424\u043e\u0440\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u043e\u0432 \u0434\u043b\u044f \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f \u0433\u043e\u0441\u0443\u0434\u0430\u0440\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0445  \u0443\u0441\u043b\u0443\u0433 \u0432 \u0441\u0444\u0435\u0440\u0435 \u0432\u0435\u0434\u0435\u043d\u0438\u044f \u0433\u043e\u0441\u0443\u0434\u0430\u0440\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0433\u043e \u043a\u0430\u0434\u0430\u0441\u0442\u0440\u0430 \u043d\u0435\u0434\u0432\u0438\u0436\u0438\u043c\u043e\u0441\u0442\u0438 \u0441\u043e \u0441\u0442\u043e\u0440\u043e\u043d\u044b \u0437\u0430\u044f\u0432\u0438\u0442\u0435\u043b\u044f","1.2.643.5.1.24.2.1.3.1":"\u0424\u043e\u0440\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u043a\u0430\u0434\u0430\u0441\u0442\u0440\u043e\u0432\u044b\u043c \u0438\u043d\u0436\u0435\u043d\u0435\u0440\u043e\u043c \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u043e\u0432  \u0434\u043b\u044f \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f \u0433\u043e\u0441\u0443\u0434\u0430\u0440\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0445 \u0443\u0441\u043b\u0443\u0433 \u0432 \u0441\u0444\u0435\u0440\u0435 \u0432\u0435\u0434\u0435\u043d\u0438\u044f \u0433\u043e\u0441\u0443\u0434\u0430\u0440\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0433\u043e \u043a\u0430\u0434\u0430\u0441\u0442\u0440\u0430 \u043d\u0435\u0434\u0432\u0438\u0436\u0438\u043c\u043e\u0441\u0442\u0438 \u0441\u043e \u0441\u0442\u043e\u0440\u043e\u043d\u044b  \u0437\u0430\u044f\u0432\u0438\u0442\u0435\u043b\u044f","1.2.643.5.1.24.2.2.2":"\u0424\u043e\u0440\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u043e\u0432 \u043a\u0430\u043a \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0430 \u043e\u043a\u0430\u0437\u0430\u043d\u0438\u044f  \u0443\u0441\u043b\u0443\u0433\u0438 \u0441\u043e \u0441\u0442\u043e\u0440\u043e\u043d\u044b \u043e\u0440\u0433\u0430\u043d\u043e\u0432 \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u0438 \u043f\u0440\u0430\u0432","1.2.643.5.1.24.2.2.3":"\u0424\u043e\u0440\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u043e\u0432 \u0434\u043b\u044f \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f \u0433\u043e\u0441\u0443\u0434\u0430\u0440\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0445  \u0443\u0441\u043b\u0443\u0433 \u0432 \u0441\u0444\u0435\u0440\u0435 \u0433\u043e\u0441\u0443\u0434\u0430\u0440\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0439 \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u0438 \u043f\u0440\u0430\u0432 \u043d\u0430 \u043d\u0435\u0434\u0432\u0438\u0436\u0438\u043c\u043e\u0435 \u0438\u043c\u0443\u0449\u0435\u0441\u0442\u0432\u043e \u0438 \u0441\u0434\u0435\u043b\u043e\u043a \u0441 \u043d\u0438\u043c \u0441\u043e \u0441\u0442\u043e\u0440\u043e\u043d\u044b \u0437\u0430\u044f\u0432\u0438\u0442\u0435\u043b\u044f","1.2.643.6.2.1.7.1":"\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u0435\u0434\u0438\u043d\u043e\u043b\u0438\u0447\u043d\u044b\u043c \u0438\u0441\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u043c \u043e\u0440\u0433\u0430\u043d\u043e\u043c \u044e\u0440\u0438\u0434\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u043b\u0438\u0446\u0430 \u0438\u043b\u0438 \u0443\u043f\u043e\u043b\u043d\u043e\u043c\u043e\u0447\u0435\u043d\u043d\u044b\u043c\u0438 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u0438\u0442\u0435\u043b\u044f\u043c\u0438 \u044e\u0440\u0438\u0434\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u043b\u0438\u0446\u0430 \u0432 \u043e\u0442\u043d\u043e\u0448\u0435\u043d\u0438\u044f\u0445, \u0441\u0432\u044f\u0437\u0430\u043d\u043d\u044b\u0445 \u0441 \u0432\u043e\u0437\u043d\u0438\u043a\u043d\u043e\u0432\u0435\u043d\u0438\u0435\u043c, \u0438\u0441\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0435\u043c (\u043e\u0441\u0443\u0449\u0435\u0441\u0442\u0432\u043b\u0435\u043d\u0438\u0435\u043c) \u0438 \u043f\u0440\u0435\u043a\u0440\u0430\u0449\u0435\u043d\u0438\u0435\u043c \u0433\u0440\u0430\u0436\u0434\u0430\u043d\u0441\u043a\u0438\u0445 \u0438 \u0438\u043d\u044b\u0445 \u043f\u0440\u0430\u0432 \u0438 \u043e\u0431\u044f\u0437\u0430\u043d\u043d\u043e\u0441\u0442\u0435\u0439 \u0432 \u0441\u0444\u0435\u0440\u0435 \u043d\u0435\u0433\u043e\u0441\u0443\u0434\u0430\u0440\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0433\u043e \u043f\u0435\u043d\u0441\u0438\u043e\u043d\u043d\u043e\u0433\u043e \u043e\u0431\u0435\u0441\u043f\u0435\u0447\u0435\u043d\u0438\u044f, \u043d\u0435\u0433\u043e\u0441\u0443\u0434\u0430\u0440\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0433\u043e \u043f\u0435\u043d\u0441\u0438\u043e\u043d\u043d\u043e\u0433\u043e \u0441\u0442\u0440\u0430\u0445\u043e\u0432\u0430\u043d\u0438\u044f, \u0432 \u0441\u0444\u0435\u0440\u0435 \u0434\u0435\u044f\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438 \u043f\u0430\u0435\u0432\u044b\u0445 \u0438\u043d\u0432\u0435\u0441\u0442\u0438\u0446\u0438\u043e\u043d\u043d\u044b\u0445 \u0444\u043e\u043d\u0434\u043e\u0432, \u0430\u043a\u0446\u0438\u043e\u043d\u0435\u0440\u043d\u044b\u0445 \u0438\u043d\u0432\u0435\u0441\u0442\u0438\u0446\u0438\u043e\u043d\u043d\u044b\u0445 \u0444\u043e\u043d\u0434\u043e\u0432, \u043f\u0440\u043e\u0444\u0435\u0441\u0441\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u044b\u0445 \u0443\u0447\u0430\u0441\u0442\u043d\u0438\u043a\u043e\u0432 \u0440\u044b\u043d\u043a\u0430 \u0446\u0435\u043d\u043d\u044b\u0445 \u0431\u0443\u043c\u0430\u0433, \u0430 \u0442\u0430\u043a\u0436\u0435 \u0441\u0432\u044f\u0437\u0430\u043d\u043d\u043e\u0439 \u0441 \u043e\u0431\u0441\u043b\u0443\u0436\u0438\u0432\u0430\u043d\u0438\u0435\u043c \u0443\u043a\u0430\u0437\u0430\u043d\u043d\u043e\u0439 \u0434\u0435\u044f\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438 \u0443\u0441\u043b\u0443\u0433 \u043a\u0440\u0435\u0434\u0438\u0442\u043d\u044b\u0445 \u0438 \u0438\u043d\u044b\u0445 \u043e\u0440\u0433\u0430\u043d\u0438\u0437\u0430\u0446\u0438\u0439","1.2.643.6.2.1.7.2":"\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u0444\u0438\u0437\u0438\u0447\u0435\u0441\u043a\u0438\u043c \u043b\u0438\u0446\u043e\u043c \u0432 \u043e\u0442\u043d\u043e\u0448\u0435\u043d\u0438\u044f\u0445, \u0441\u0432\u044f\u0437\u0430\u043d\u043d\u044b\u0445 \u0441 \u0432\u043e\u0437\u043d\u0438\u043a\u043d\u043e\u0432\u0435\u043d\u0438\u0435\u043c, \u0438\u0441\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0435\u043c (\u043e\u0441\u0443\u0449\u0435\u0441\u0442\u0432\u043b\u0435\u043d\u0438\u0435\u043c) \u0438 \u043f\u0440\u0435\u043a\u0440\u0430\u0449\u0435\u043d\u0438\u0435\u043c \u0433\u0440\u0430\u0436\u0434\u0430\u043d\u0441\u043a\u0438\u0445 \u043f\u0440\u0430\u0432 \u0438 \u043e\u0431\u044f\u0437\u0430\u043d\u043d\u043e\u0441\u0442\u0435\u0439 \u0432 \u043e\u0442\u043d\u043e\u0448\u0435\u043d\u0438\u0438 \u0438\u043d\u0432\u0435\u0441\u0442\u0438\u0446\u0438\u043e\u043d\u043d\u044b\u0445 \u043f\u0430\u0435\u0432 \u043f\u0430\u0435\u0432\u044b\u0445 \u0438\u043d\u0432\u0435\u0441\u0442\u0438\u0446\u0438\u043e\u043d\u043d\u044b\u0445 \u0444\u043e\u043d\u0434\u043e\u0432, \u0432 \u0442\u043e\u043c \u0447\u0438\u0441\u043b\u0435 \u043e\u0442\u043d\u043e\u0448\u0435\u043d\u0438\u044f, \u0441\u0432\u044f\u0437\u0430\u043d\u043d\u044b\u0435 \u0441 \u0443\u0447\u0435\u0442\u043e\u043c \u0438/\u0438\u043b\u0438 \u0444\u0438\u043a\u0441\u0430\u0446\u0438\u0435\u0439 \u043f\u0440\u0430\u0432 \u043d\u0430 \u0438\u043d\u0432\u0435\u0441\u0442\u0438\u0446\u0438\u043e\u043d\u043d\u044b\u0435 \u043f\u0430\u0438 \u043f\u0430\u0435\u0432\u044b\u0445 \u0438\u043d\u0432\u0435\u0441\u0442\u0438\u0446\u0438\u043e\u043d\u043d\u044b\u0445 \u0444\u043e\u043d\u0434\u043e\u0432","1.2.643.6.3":"\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u0432 \u044d\u043b\u0435\u043a\u0442\u0440\u043e\u043d\u043d\u044b\u0445 \u0442\u043e\u0440\u0433\u043e\u0432\u044b\u0445 \u0441\u0438\u0441\u0442\u0435\u043c\u0430\u0445 \u0438 \u0432 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u043d\u043e\u043c \u043e\u0431\u0435\u0441\u043f\u0435\u0447\u0435\u043d\u0438\u0438, \u0441\u0432\u044f\u0437\u0430\u043d\u043d\u044b\u043c \u0441 \u043e\u0431\u043c\u0435\u043d\u043e\u043c \u044d\u043b\u0435\u043a\u0442\u0440\u043e\u043d\u043d\u044b\u0445 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0439","1.2.643.6.3.1.1":"\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u043d\u0430 \u044d\u043b\u0435\u043a\u0442\u0440\u043e\u043d\u043d\u044b\u0445 \u043f\u043b\u043e\u0449\u0430\u0434\u043e\u043a \u043e\u0442\u043e\u0431\u0440\u0430\u043d\u043d\u044b\u0445 \u0434\u043b\u044f \u043f\u0440\u043e\u0432\u0435\u0434\u0435\u043d\u0438\u044f \u0430\u0443\u043a\u0446\u0438\u043e\u043d\u0430\u0445 \u0432 \u044d\u043b\u0435\u043a\u0442\u0440\u043e\u043d\u043d\u043e\u0439 \u0444\u043e\u0440\u043c\u0435","1.2.643.6.3.1.2.1":"\u0422\u0438\u043f \u0443\u0447\u0430\u0441\u0442\u043d\u0438\u043a\u0430 - \u042e\u0440\u0438\u0434\u0438\u0447\u0435\u0441\u043a\u043e\u0435 \u043b\u0438\u0446\u043e","1.2.643.6.3.1.2.2":"\u0422\u0438\u043f \u0443\u0447\u0430\u0441\u0442\u043d\u0438\u043a\u0430 - \u0424\u0438\u0437\u0438\u0447\u0435\u0441\u043a\u043e\u0435 \u043b\u0438\u0446\u043e","1.2.643.6.3.1.2.3":"\u0422\u0438\u043f \u0443\u0447\u0430\u0441\u0442\u043d\u0438\u043a\u0430 - \u0418\u043d\u0434\u0438\u0432\u0438\u0434\u0443\u0430\u043b\u044c\u043d\u044b\u0439 \u043f\u0440\u0435\u0434\u043f\u0440\u0438\u043d\u0438\u043c\u0430\u0442\u0435\u043b\u044c","1.2.643.6.3.1.3.1":"\u0423\u0447\u0430\u0441\u0442\u043d\u0438\u043a \u0440\u0430\u0437\u043c\u0435\u0449\u0435\u043d\u0438\u044f \u0437\u0430\u043a\u0430\u0437\u0430","1.2.643.6.3.1.4.1":"\u0410\u0434\u043c\u0438\u043d\u0438\u0441\u0442\u0440\u0430\u0442\u043e\u0440 \u043e\u0440\u0433\u0430\u043d\u0438\u0437\u0430\u0446\u0438\u0438","1.2.643.6.3.1.4.2":"\u0423\u043f\u043e\u043b\u043d\u043e\u043c\u043e\u0447\u0435\u043d\u043d\u044b\u0439 \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u0438\u0441\u0442","1.2.643.6.3.1.4.3":"\u0421\u043f\u0435\u0446\u0438\u0430\u043b\u0438\u0441\u0442 \u0441 \u043f\u0440\u0430\u0432\u043e\u043c \u043f\u043e\u0434\u043f\u0438\u0441\u0438 \u043a\u043e\u043d\u0442\u0440\u0430\u043a\u0442\u0430","1.2.840.113549.1.9.2":"\u041d\u0435\u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u0435 \u0438\u043c\u044f","1.3.6.1.4.1.24138.1.1.8.1":'\u041e\u0431\u0435\u0441\u043f\u0435\u0447\u0435\u043d\u0438\u0435 \u044e\u0440\u0438\u0434\u0438\u0447\u0435\u0441\u043a\u043e\u0439 \u0437\u043d\u0430\u0447\u0438\u043c\u043e\u0441\u0442\u0438 \u0432 \u0421\u0438\u0441\u0442\u0435\u043c\u0435 "\u042d\u043b\u0435\u043a\u0442\u0440\u043e\u043d\u043d\u0430\u044f \u0422\u043e\u0440\u0433\u043e\u0432\u0430\u044f \u041f\u043b\u043e\u0449\u0430\u0434\u043a\u0430"',"1.3.6.1.4.1.29919.21":'\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u0432 \u0441\u0438\u0441\u0442\u0435\u043c\u0435 \u041f\u043e\u0440\u0442\u0430\u043b \u0433\u043e\u0441\u0443\u0434\u0430\u0440\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0445 \u0437\u0430\u043a\u0443\u043f\u043e\u043a  \u0420\u043e\u0441\u0442\u043e\u0432\u0441\u043a\u043e\u0439 \u043e\u0431\u043b\u0430\u0441\u0442\u0438 "\u0420\u0435\u0444\u0435\u0440\u0438".',"1.3.6.1.5.5.7.3.2":"\u041f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 \u043f\u043e\u0434\u043b\u0438\u043d\u043d\u043e\u0441\u0442\u0438 \u043a\u043b\u0438\u0435\u043d\u0442\u0430","1.3.6.1.5.5.7.3.4":"\u0417\u0430\u0449\u0438\u0449\u0435\u043d\u043d\u0430\u044f \u044d\u043b\u0435\u043a\u0442\u0440\u043e\u043d\u043d\u0430\u044f \u043f\u043e\u0447\u0442\u0430","1.3.643.3.8.100.15":'\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u0432 \u042d\u0422\u041f "uTender"'}},"./constants/subject-tags-translations.ts":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SUBJECT_TAGS_TRANSLATIONS=[{possibleNames:["UnstructuredName"],translation:"\u041d\u0435\u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u0435 \u0438\u043c\u044f"},{possibleNames:["CN"],translation:"\u0412\u043b\u0430\u0434\u0435\u043b\u0435\u0446"},{possibleNames:["SN"],translation:"\u0424\u0430\u043c\u0438\u043b\u0438\u044f"},{possibleNames:["G"],translation:"\u0418\u043c\u044f \u041e\u0442\u0447\u0435\u0441\u0442\u0432\u043e"},{possibleNames:["C"],translation:"\u0421\u0442\u0440\u0430\u043d\u0430"},{possibleNames:["S"],translation:"\u0420\u0435\u0433\u0438\u043e\u043d"},{possibleNames:["STREET"],translation:"\u0410\u0434\u0440\u0435\u0441"},{possibleNames:["O"],translation:"\u041a\u043e\u043c\u043f\u0430\u043d\u0438\u044f"},{possibleNames:["OU"],translation:"\u041e\u0442\u0434\u0435\u043b/\u043f\u043e\u0434\u0440\u0430\u0437\u0434\u0435\u043b\u0435\u043d\u0438\u0435"},{possibleNames:["T"],translation:"\u0414\u043e\u043b\u0436\u043d\u043e\u0441\u0442\u044c"},{possibleNames:["\u041e\u0413\u0420\u041d","OGRN"],translation:"\u041e\u0413\u0420\u041d"},{possibleNames:["\u041e\u0413\u0420\u041d\u0418\u041f","OGRNIP"],translation:"\u041e\u0413\u0420\u041d\u0418\u041f"},{possibleNames:["\u0421\u041d\u0418\u041b\u0421","SNILS"],translation:"\u0421\u041d\u0418\u041b\u0421"},{possibleNames:["\u0418\u041d\u041d","INN","\u0418\u041d\u041d \u043e\u0440\u0433\u0430\u043d\u0438\u0437\u0430\u0446\u0438\u0438"],translation:"\u0418\u041d\u041d"},{possibleNames:["E"],translation:"Email"},{possibleNames:["L"],translation:"\u0413\u043e\u0440\u043e\u0434"}]},"./crypto-pro.ts":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}(n("./api/index.ts"))},"./helpers/_afterPluginsLoaded.ts":function(e,t,n){"use strict";var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))(function(i,s){function o(e){try{c(r.next(e))}catch(t){s(t)}}function a(e){try{c(r.throw(e))}catch(t){s(t)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(o,a)}c((r=r.apply(e,t||[])).next())})};Object.defineProperty(t,"__esModule",{value:!0});const i=n("./helpers/_extractMeaningfulErrorMessage.ts");let s=!1,o=!1;t._afterPluginsLoaded=e=>{const t=Boolean(window.Promise);return function(...a){return r(this,void 0,void 0,function*(){if(!o){try{n("./vendor/cadesplugin_api.js")}catch(c){throw console.error(c),new Error(i._extractMeaningfulErrorMessage(c)||"\u041e\u0448\u0438\u0431\u043a\u0430 \u043f\u0440\u0438 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0438 \u043c\u043e\u0434\u0443\u043b\u044f \u0434\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u0441 Cades plugin")}o=!0}const{cadesplugin:r}=window;if(!t)throw new Error("\u041d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c \u043f\u043e\u043b\u0438\u0444\u0438\u043b\u043b \u0434\u043b\u044f Promise");if(!r)throw new Error("\u041d\u0435 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d \u043c\u043e\u0434\u0443\u043b\u044c \u0434\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u0441 Cades plugin");s||(r.set_log_level(r.LOG_LEVEL_ERROR),s=!0);try{yield r}catch(c){throw console.error(c),new Error(i._extractMeaningfulErrorMessage(c)||"\u041e\u0448\u0438\u0431\u043a\u0430 \u043f\u0440\u0438 \u0438\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u043c\u043e\u0434\u0443\u043b\u044f \u0434\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u0441 Cades plugin")}return yield e.apply(this,a)})}}},"./helpers/_extractCommonName.ts":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t._extractCommonName=e=>{var t;return null===(t=e.match(/CN=(.+?)(?:,|$)/))||void 0===t?void 0:t[1]}},"./helpers/_extractMeaningfulErrorMessage.ts":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t._extractMeaningfulErrorMessage=e=>{var t;let n=(null===(t=window.cadesplugin)||void 0===t?void 0:t.getLastError)&&window.cadesplugin.getLastError(e);if(!(null==n?void 0:n.message)){if(!e.message)return null;n=e}if(!/[\u0430-\u044f\u0410-\u042f]/.test(n.message))return null;const r=n.message.match(/^(.*?)(?:(?:\.?\s?\(?0x)|(?:\.?$))/);return r?r[1]:null}},"./helpers/_generateCadesFn.ts":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.__cadesAsyncToken__={},t.__createCadesPluginObject__=(...e)=>({}),t._generateCadesFn=e=>{var t;const{cadesplugin:n}=window,r=Boolean(n.CreateObjectAsync),i=e.name||"dynamicFn",s=String(e),o=(null===(t=s.match(/^function[\s\w]*?\((.*?)\)/))||void 0===t?void 0:t[1])||"",a=s.replace(/^.*?{([\s\S]*?)}$/,"$1");let c=String(new(r?new Function("","return Object.getPrototypeOf(function*(){}).constructor")():Function)(o,a));return c=c.replace(/(?:\w+?\.)?__createCadesPluginObject__(\([\s\S]*?\))/gm,`cadesplugin.CreateObject${r?"Async":""}$1`),c=c.replace(/(?:\w+?\.)?__cadesAsyncToken__\s*?\+\s*?\b/gm,r?"yield ":""),r||(c=c.replace(/propset_(.*?)\((.*?)\)/gm,"$1 = $2")),[r?`cadesplugin.async_spawn(${c});`:`(${c})();`,`//# sourceURL=crypto-pro_${i}.js`].join("")}},"./helpers/_getCadesCert.ts":function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const _afterPluginsLoaded_1=__webpack_require__("./helpers/_afterPluginsLoaded.ts"),_extractMeaningfulErrorMessage_1=__webpack_require__("./helpers/_extractMeaningfulErrorMessage.ts"),_generateCadesFn_1=__webpack_require__("./helpers/_generateCadesFn.ts");exports._getCadesCert=_afterPluginsLoaded_1._afterPluginsLoaded(thumbprint=>{const{cadesplugin:cadesplugin}=window;return eval(_generateCadesFn_1._generateCadesFn(function(){let e,t,n,r;try{e=_generateCadesFn_1.__cadesAsyncToken__+_generateCadesFn_1.__createCadesPluginObject__("CAdESCOM.Store")}catch(i){throw console.error(i),new Error(_extractMeaningfulErrorMessage_1._extractMeaningfulErrorMessage(i)||"\u041e\u0448\u0438\u0431\u043a\u0430 \u043f\u0440\u0438 \u043f\u043e\u043f\u044b\u0442\u043a\u0435 \u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u043a \u0445\u0440\u0430\u043d\u0438\u043b\u0438\u0449\u0443")}if(!e)throw new Error("\u041d\u0435 \u0443\u0434\u0430\u043b\u043e\u0441\u044c \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0434\u043e\u0441\u0442\u0443\u043f \u043a \u0445\u0440\u0430\u043d\u0438\u043b\u0438\u0449\u0443 \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0432");try{_generateCadesFn_1.__cadesAsyncToken__,e.Open(cadesplugin.CAPICOM_CURRENT_USER_STORE,cadesplugin.CAPICOM_MY_STORE,cadesplugin.CAPICOM_STORE_OPEN_MAXIMUM_ALLOWED)}catch(i){throw console.error(i),new Error(_extractMeaningfulErrorMessage_1._extractMeaningfulErrorMessage(i)||"\u041e\u0448\u0438\u0431\u043a\u0430 \u043f\u0440\u0438 \u043e\u0442\u043a\u0440\u044b\u0442\u0438\u0438 \u0445\u0440\u0430\u043d\u0438\u043b\u0438\u0449\u0430")}try{t=_generateCadesFn_1.__cadesAsyncToken__+e.Certificates,n=_generateCadesFn_1.__cadesAsyncToken__+t.Count}catch(i){throw console.error(i),new Error(_extractMeaningfulErrorMessage_1._extractMeaningfulErrorMessage(i)||"\u041e\u0448\u0438\u0431\u043a\u0430 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f \u0441\u043f\u0438\u0441\u043a\u0430 \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0432")}if(!n)throw new Error("\u041d\u0435\u0442 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u0445 \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0432");try{if(t=_generateCadesFn_1.__cadesAsyncToken__+t.Find(cadesplugin.CAPICOM_CERTIFICATE_FIND_SHA1_HASH,thumbprint),!(_generateCadesFn_1.__cadesAsyncToken__+t.Count))throw new Error(`\u0421\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442 \u0441 \u043e\u0442\u043f\u0435\u0447\u0430\u0442\u043a\u043e\u043c: "${thumbprint}" \u043d\u0435 \u043d\u0430\u0439\u0434\u0435\u043d`);r=_generateCadesFn_1.__cadesAsyncToken__+t.Item(1)}catch(i){throw console.error(i),new Error(_extractMeaningfulErrorMessage_1._extractMeaningfulErrorMessage(i)||"\u041e\u0448\u0438\u0431\u043a\u0430 \u043f\u0440\u0438 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u0438 \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u0430")}return e.Close(),r}))})},"./helpers/_getDateObj.ts":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t._getDateObj=e=>e.getVarDate?e.getVarDate():e},"./helpers/_isSupportedCSPVersion.ts":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t._isSupportedCSPVersion=e=>{var t;return e=null===(t=e.match(/\d+?\b(?:\.\d+)?/))||void 0===t?void 0:t[0],Number(e)>=4}},"./helpers/_isSupportedCadesVersion.ts":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t._isSupportedCadesVersion=e=>{const t=e.match(/(\d+)\.(\d+)\.(\d+)/);if(!t)return!1;const[,n,r,i]=t;return!(Number(n)<2||2===Number(n)&&Number(i)<12438)}},"./helpers/_parseCertInfo.ts":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n("./constants/index.ts");t._parseCertInfo=(e,t)=>{const n=t.match(/([\u0430-\u044f\u0410-\u042fa-zA-Z0-9\s.]+)=(?:("[^"]+?")|(.+?))(?:,|$)/g);if(n)return n.map(t=>{var n,i,s;const o=t.trim().match(/^([\u0430-\u044f\u0410-\u042fa-zA-Z0-9\s.]+)=(.+?),?$/);let a=null==o?void 0:o[1];const c=null===(i=null===(n=null==o?void 0:o[2])||void 0===n?void 0:n.replace(/^"(.*)"/,"$1"))||void 0===i?void 0:i.replace(/"{2}/g,'"'),l=null==a?void 0:a.match(/^OID\.(.*)/),u=null==l?void 0:l[1];let h=!1;if(u){const e=r.OIDS_DICTIONARY[u];e&&(a=e,h=!0)}const d=null===(s=e.find(e=>e.possibleNames.find(e=>e===a)))||void 0===s?void 0:s.translation;return d&&(a=d,h=!0),{description:c,title:a,isTranslated:h}})}},"./vendor/cadesplugin_api.js":function(module,exports){(function(){if(!window.cadesplugin){var pluginObject,plugin_resolved=0,plugin_reject,plugin_resolve,isOpera=0,isFireFox=0,isSafari=0,isYandex=0,canPromise=!!window.Promise,cadesplugin_loaded_event_recieved=!1,isFireFoxExtensionLoaded=!1,cadesplugin;cadesplugin=canPromise?new Promise(function(e,t){plugin_resolve=e,plugin_reject=t}):{};var browserSpecs=check_browser(),ru_cryptopro_npcades_10_native_bridge={callbacksCount:1,callbacks:{},resultForCallback:function(e,t){var n=ru_cryptopro_npcades_10_native_bridge.callbacks[e];n&&n.apply(null,t)},call:function(e,t,n){var r=n&&"function"==typeof n,i=r?ru_cryptopro_npcades_10_native_bridge.callbacksCount++:0;r&&(ru_cryptopro_npcades_10_native_bridge.callbacks[i]=n);var s=document.createElement("IFRAME"),o=new Array("_CPNP_handle");try{s.setAttribute("src","cpnp-js-call:"+e+":"+i+":"+encodeURIComponent(JSON.stringify(t,o)))}catch(a){alert(a)}document.documentElement.appendChild(s),s.parentNode.removeChild(s),s=null}},onVisibilityChange=function(e){!1===document.hidden&&(document.removeEventListener("visibilitychange",onVisibilityChange),set_load_timeout(),check_plugin_working())};cadesplugin.JSModuleVersion="2.3.5",cadesplugin.async_spawn=async_spawn,cadesplugin.set=set_pluginObject,cadesplugin.set_log_level=set_log_level,cadesplugin.get_extension_version=get_extension_version,cadesplugin.getLastError=getLastError,cadesplugin.is_capilite_enabled=is_capilite_enabled,isNativeMessageSupported()&&(cadesplugin.CreateObjectAsync=CreateObjectAsync,cadesplugin.ReleasePluginObjects=ReleasePluginObjects),isNativeMessageSupported()||(cadesplugin.CreateObject=CreateObject),set_constantValues(),cadesplugin.current_log_level=cadesplugin.LOG_LEVEL_ERROR,window.cadesplugin=cadesplugin,isSafari&&document.hidden?document.addEventListener("visibilitychange",onVisibilityChange):(set_load_timeout(),check_plugin_working())}function check_browser(){var e,t=navigator.userAgent,n=t.match(/(opera|yabrowser|chrome|safari|firefox|msie|trident(?=\/))\/?\s*(\d+)/i)||[];return/trident/i.test(n[1])?{name:"IE",version:(e=/\brv[ :]+(\d+)/g.exec(t)||[])[1]||""}:"Chrome"===n[1]&&null!=(e=t.match(/\b(OPR|Edg|YaBrowser)\/(\d+)/))?{name:e[1].replace("OPR","Opera"),version:e[2]}:(n=n[2]?[n[1],n[2]]:[navigator.appName,navigator.appVersion,"-?"],null!=(e=t.match(/version\/(\d+)/i))&&n.splice(1,1,e[1]),{name:n[0],version:n[1]})}function cpcsp_console_log(e,t){if("undefined"!=typeof console)return e<=cadesplugin.current_log_level?(e===cadesplugin.LOG_LEVEL_DEBUG&&console.log("DEBUG: %s",t),e===cadesplugin.LOG_LEVEL_INFO&&console.info("INFO: %s",t),void(e===cadesplugin.LOG_LEVEL_ERROR&&console.error("ERROR: %s",t))):void 0}function get_extension_version(e){window.postMessage("cadesplugin_extension_version_request","*"),window.addEventListener("message",function(t){var n="cadesplugin_extension_version_response:";"string"==typeof t.data&&0===t.data.indexOf(n)&&(ext_version=t.data.substring(n.length),e(ext_version))},!1)}function set_log_level(e){e===cadesplugin.LOG_LEVEL_DEBUG||e===cadesplugin.LOG_LEVEL_INFO||e===cadesplugin.LOG_LEVEL_ERROR?(cadesplugin.current_log_level=e,cadesplugin.current_log_level===cadesplugin.LOG_LEVEL_DEBUG&&cpcsp_console_log(cadesplugin.LOG_LEVEL_INFO,"cadesplugin_api.js: log_level = DEBUG"),cadesplugin.current_log_level===cadesplugin.LOG_LEVEL_INFO&&cpcsp_console_log(cadesplugin.LOG_LEVEL_INFO,"cadesplugin_api.js: log_level = INFO"),cadesplugin.current_log_level===cadesplugin.LOG_LEVEL_ERROR&&cpcsp_console_log(cadesplugin.LOG_LEVEL_INFO,"cadesplugin_api.js: log_level = ERROR"),isNativeMessageSupported()&&(cadesplugin.current_log_level===cadesplugin.LOG_LEVEL_DEBUG&&window.postMessage("set_log_level=debug","*"),cadesplugin.current_log_level===cadesplugin.LOG_LEVEL_INFO&&window.postMessage("set_log_level=info","*"),cadesplugin.current_log_level===cadesplugin.LOG_LEVEL_ERROR&&window.postMessage("set_log_level=error","*"))):cpcsp_console_log(cadesplugin.LOG_LEVEL_ERROR,"cadesplugin_api.js: Incorrect log_level: "+e)}function set_constantValues(){cadesplugin.CAPICOM_MEMORY_STORE=0,cadesplugin.CAPICOM_LOCAL_MACHINE_STORE=1,cadesplugin.CAPICOM_CURRENT_USER_STORE=2,cadesplugin.CAPICOM_SMART_CARD_USER_STORE=4,cadesplugin.CADESCOM_MEMORY_STORE=0,cadesplugin.CADESCOM_LOCAL_MACHINE_STORE=1,cadesplugin.CADESCOM_CURRENT_USER_STORE=2,cadesplugin.CADESCOM_SMART_CARD_USER_STORE=4,cadesplugin.CADESCOM_CONTAINER_STORE=100,cadesplugin.CAPICOM_MY_STORE="My",cadesplugin.CAPICOM_STORE_OPEN_READ_WRITE=1,cadesplugin.CAPICOM_STORE_OPEN_MAXIMUM_ALLOWED=2,cadesplugin.CAPICOM_CERTIFICATE_FIND_SUBJECT_NAME=1,cadesplugin.CADESCOM_XML_SIGNATURE_TYPE_ENVELOPED=0,cadesplugin.CADESCOM_XML_SIGNATURE_TYPE_ENVELOPING=1,cadesplugin.CADESCOM_XML_SIGNATURE_TYPE_TEMPLATE=2,cadesplugin.CADESCOM_XADES_DEFAULT=16,cadesplugin.CADESCOM_XADES_BES=32,cadesplugin.CADESCOM_XADES_T=80,cadesplugin.CADESCOM_XADES_X_LONG_TYPE_1=1488,cadesplugin.CADESCOM_XMLDSIG_TYPE=0,cadesplugin.XmlDsigGost3410UrlObsolete="http://www.w3.org/2001/04/xmldsig-more#gostr34102001-gostr3411",cadesplugin.XmlDsigGost3411UrlObsolete="http://www.w3.org/2001/04/xmldsig-more#gostr3411",cadesplugin.XmlDsigGost3410Url="urn:ietf:params:xml:ns:cpxmlsec:algorithms:gostr34102001-gostr3411",cadesplugin.XmlDsigGost3411Url="urn:ietf:params:xml:ns:cpxmlsec:algorithms:gostr3411",cadesplugin.XmlDsigGost3411Url2012256="urn:ietf:params:xml:ns:cpxmlsec:algorithms:gostr34112012-256",cadesplugin.XmlDsigGost3410Url2012256="urn:ietf:params:xml:ns:cpxmlsec:algorithms:gostr34102012-gostr34112012-256",cadesplugin.XmlDsigGost3411Url2012512="urn:ietf:params:xml:ns:cpxmlsec:algorithms:gostr34112012-512",cadesplugin.XmlDsigGost3410Url2012512="urn:ietf:params:xml:ns:cpxmlsec:algorithms:gostr34102012-gostr34112012-512",cadesplugin.CADESCOM_CADES_DEFAULT=0,cadesplugin.CADESCOM_CADES_BES=1,cadesplugin.CADESCOM_CADES_T=5,cadesplugin.CADESCOM_CADES_X_LONG_TYPE_1=93,cadesplugin.CADESCOM_PKCS7_TYPE=65535,cadesplugin.CADESCOM_ENCODE_BASE64=0,cadesplugin.CADESCOM_ENCODE_BINARY=1,cadesplugin.CADESCOM_ENCODE_ANY=-1,cadesplugin.CAPICOM_CERTIFICATE_INCLUDE_CHAIN_EXCEPT_ROOT=0,cadesplugin.CAPICOM_CERTIFICATE_INCLUDE_WHOLE_CHAIN=1,cadesplugin.CAPICOM_CERTIFICATE_INCLUDE_END_ENTITY_ONLY=2,cadesplugin.CAPICOM_CERT_INFO_SUBJECT_SIMPLE_NAME=0,cadesplugin.CAPICOM_CERT_INFO_ISSUER_SIMPLE_NAME=1,cadesplugin.CAPICOM_CERTIFICATE_FIND_SHA1_HASH=0,cadesplugin.CAPICOM_CERTIFICATE_FIND_SUBJECT_NAME=1,cadesplugin.CAPICOM_CERTIFICATE_FIND_ISSUER_NAME=2,cadesplugin.CAPICOM_CERTIFICATE_FIND_ROOT_NAME=3,cadesplugin.CAPICOM_CERTIFICATE_FIND_TEMPLATE_NAME=4,cadesplugin.CAPICOM_CERTIFICATE_FIND_EXTENSION=5,cadesplugin.CAPICOM_CERTIFICATE_FIND_EXTENDED_PROPERTY=6,cadesplugin.CAPICOM_CERTIFICATE_FIND_APPLICATION_POLICY=7,cadesplugin.CAPICOM_CERTIFICATE_FIND_CERTIFICATE_POLICY=8,cadesplugin.CAPICOM_CERTIFICATE_FIND_TIME_VALID=9,cadesplugin.CAPICOM_CERTIFICATE_FIND_TIME_NOT_YET_VALID=10,cadesplugin.CAPICOM_CERTIFICATE_FIND_TIME_EXPIRED=11,cadesplugin.CAPICOM_CERTIFICATE_FIND_KEY_USAGE=12,cadesplugin.CAPICOM_DIGITAL_SIGNATURE_KEY_USAGE=128,cadesplugin.CAPICOM_PROPID_ENHKEY_USAGE=9,cadesplugin.CAPICOM_OID_OTHER=0,cadesplugin.CAPICOM_OID_KEY_USAGE_EXTENSION=10,cadesplugin.CAPICOM_EKU_CLIENT_AUTH=2,cadesplugin.CAPICOM_EKU_SMARTCARD_LOGON=5,cadesplugin.CAPICOM_EKU_OTHER=0,cadesplugin.CAPICOM_AUTHENTICATED_ATTRIBUTE_SIGNING_TIME=0,cadesplugin.CAPICOM_AUTHENTICATED_ATTRIBUTE_DOCUMENT_NAME=1,cadesplugin.CAPICOM_AUTHENTICATED_ATTRIBUTE_DOCUMENT_DESCRIPTION=2,cadesplugin.CADESCOM_AUTHENTICATED_ATTRIBUTE_SIGNING_TIME=0,cadesplugin.CADESCOM_AUTHENTICATED_ATTRIBUTE_DOCUMENT_NAME=1,cadesplugin.CADESCOM_AUTHENTICATED_ATTRIBUTE_DOCUMENT_DESCRIPTION=2,cadesplugin.CADESCOM_AUTHENTICATED_ATTRIBUTE_MACHINE_INFO=256,cadesplugin.CADESCOM_ATTRIBUTE_OTHER=-1,cadesplugin.CADESCOM_STRING_TO_UCS2LE=0,cadesplugin.CADESCOM_BASE64_TO_BINARY=1,cadesplugin.CADESCOM_DISPLAY_DATA_NONE=0,cadesplugin.CADESCOM_DISPLAY_DATA_CONTENT=1,cadesplugin.CADESCOM_DISPLAY_DATA_ATTRIBUTE=2,cadesplugin.CADESCOM_ENCRYPTION_ALGORITHM_RC2=0,cadesplugin.CADESCOM_ENCRYPTION_ALGORITHM_RC4=1,cadesplugin.CADESCOM_ENCRYPTION_ALGORITHM_DES=2,cadesplugin.CADESCOM_ENCRYPTION_ALGORITHM_3DES=3,cadesplugin.CADESCOM_ENCRYPTION_ALGORITHM_AES=4,cadesplugin.CADESCOM_ENCRYPTION_ALGORITHM_GOST_28147_89=25,cadesplugin.CADESCOM_HASH_ALGORITHM_SHA1=0,cadesplugin.CADESCOM_HASH_ALGORITHM_MD2=1,cadesplugin.CADESCOM_HASH_ALGORITHM_MD4=2,cadesplugin.CADESCOM_HASH_ALGORITHM_MD5=3,cadesplugin.CADESCOM_HASH_ALGORITHM_SHA_256=4,cadesplugin.CADESCOM_HASH_ALGORITHM_SHA_384=5,cadesplugin.CADESCOM_HASH_ALGORITHM_SHA_512=6,cadesplugin.CADESCOM_HASH_ALGORITHM_CP_GOST_3411=100,cadesplugin.CADESCOM_HASH_ALGORITHM_CP_GOST_3411_2012_256=101,cadesplugin.CADESCOM_HASH_ALGORITHM_CP_GOST_3411_2012_512=102,cadesplugin.CADESCOM_HASH_ALGORITHM_CP_GOST_3411_HMAC=110,cadesplugin.CADESCOM_HASH_ALGORITHM_CP_GOST_3411_2012_256_HMAC=111,cadesplugin.CADESCOM_HASH_ALGORITHM_CP_GOST_3411_2012_512_HMAC=112,cadesplugin.LOG_LEVEL_DEBUG=4,cadesplugin.LOG_LEVEL_INFO=2,cadesplugin.LOG_LEVEL_ERROR=1,cadesplugin.CADESCOM_AllowNone=0,cadesplugin.CADESCOM_AllowNoOutstandingRequest=1,cadesplugin.CADESCOM_AllowUntrustedCertificate=2,cadesplugin.CADESCOM_AllowUntrustedRoot=4,cadesplugin.CADESCOM_SkipInstallToStore=268435456,cadesplugin.CADESCOM_InstallCertChainToContainer=536870912,cadesplugin.CADESCOM_UseContainerStore=1073741824,cadesplugin.ENABLE_CARRIER_TYPE_CSP=1,cadesplugin.ENABLE_CARRIER_TYPE_FKC_NO_SM=2,cadesplugin.ENABLE_CARRIER_TYPE_FKC_SM=4,cadesplugin.ENABLE_ANY_CARRIER_TYPE=7,cadesplugin.DISABLE_EVERY_CARRIER_OPERATION=0,cadesplugin.ENABLE_CARRIER_OPEN_ENUM=1,cadesplugin.ENABLE_CARRIER_CREATE=2,cadesplugin.ENABLE_ANY_OPERATION=3,cadesplugin.CADESCOM_PRODUCT_CSP=0,cadesplugin.CADESCOM_PRODUCT_OCSP=1,cadesplugin.CADESCOM_PRODUCT_TSP=2,cadesplugin.MEDIA_TYPE_REGISTRY=1,cadesplugin.MEDIA_TYPE_HDIMAGE=2,cadesplugin.MEDIA_TYPE_CLOUD=4,cadesplugin.MEDIA_TYPE_SCARD=8,cadesplugin.XCN_CRYPT_STRING_BASE64HEADER=0,cadesplugin.AT_KEYEXCHANGE=1,cadesplugin.AT_SIGNATURE=2,cadesplugin.CARRIER_FLAG_REMOVABLE=1,cadesplugin.CARRIER_FLAG_UNIQUE=2,cadesplugin.CARRIER_FLAG_PROTECTED=4,cadesplugin.CARRIER_FLAG_FUNCTIONAL_CARRIER=8,cadesplugin.CARRIER_FLAG_SECURE_MESSAGING=16,cadesplugin.CARRIER_FLAG_ABLE_VISUALISE_SIGNATURE=64,cadesplugin.CARRIER_FLAG_VIRTUAL=128}function async_spawn(e){function t(e,t){var s;try{s=n[e](t)}catch(o){return Promise.reject(o)}return s.done?s.value:Promise.resolve(s.value).then(r,i)}var n=e(Array.prototype.slice.call(arguments,1)),r=t.bind(t,"next"),i=t.bind(t,"throw");return r()}function isIE(){return"IE"===browserSpecs.name||"MSIE"===browserSpecs.name}function isIOS(){return navigator.userAgent.match(/ipod/i)||navigator.userAgent.match(/ipad/i)||navigator.userAgent.match(/iphone/i)}function isNativeMessageSupported(){return!isIE()&&("Edg"===browserSpecs.name||("YaBrowser"===browserSpecs.name?(isYandex=!0,!0):"Opera"===browserSpecs.name?(isOpera=!0,browserSpecs.version>=33):"Firefox"===browserSpecs.name?(isFireFox=!0,browserSpecs.version>=52):"Chrome"===browserSpecs.name?browserSpecs.version>=42:"Safari"===browserSpecs.name?(isSafari=!0,browserSpecs.version>=12):void 0))}function CreateObject(e){if(isIOS())return call_ru_cryptopro_npcades_10_native_bridge("CreateObject",[e]);if(isIE()){if(e.match(/X509Enrollment/i))try{return document.getElementById("webClassFactory").CreateObject(e)}catch(t){try{return document.getElementById("certEnrollClassFactory").CreateObject(e)}catch(n){throw"\u0414\u043b\u044f \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u043e\u0431\u044c\u0435\u043a\u0442\u043e\u0432 X509Enrollment \u0441\u043b\u0435\u0434\u0443\u0435\u0442 \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u0432\u0435\u0431-\u0443\u0437\u0435\u043b \u043d\u0430 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0438 \u043f\u043e\u0434\u043b\u0438\u043d\u043d\u043e\u0441\u0442\u0438 \u043f\u043e \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u0443 HTTPS"}}try{return document.getElementById("webClassFactory").CreateObject(e)}catch(t){return new ActiveXObject(e)}}return pluginObject.CreateObject(e)}function decimalToHexString(e){return e<0&&(e=4294967295+e+1),e.toString(16).toUpperCase()}function GetMessageFromException(e){var t=e.message;return t?e.number&&(t+=" (0x"+decimalToHexString(e.number)+")"):t=e,t}function getLastError(e){if(isNativeMessageSupported()||isIE()||isIOS())return GetMessageFromException(e);try{return pluginObject.getLastError()}catch(t){return GetMessageFromException(e)}}function ReleasePluginObjects(){return cpcsp_chrome_nmcades.ReleasePluginObjects()}function CreateObjectAsync(e){return pluginObject.CreateObjectAsync(e)}function call_ru_cryptopro_npcades_10_native_bridge(functionName,array){var tmpobj,ex;if(ru_cryptopro_npcades_10_native_bridge.call(functionName,array,function(e,response){ex=e;var str="tmpobj="+response;eval(str),"string"==typeof tmpobj&&(tmpobj=tmpobj.replace(/\\\n/gm,"\n"),tmpobj=tmpobj.replace(/\\\r/gm,"\r"))}),ex)throw ex;return tmpobj}function show_firefox_missing_extension_dialog(){if(!window.cadesplugin_skip_extension_install){var e=document.createElement("div");e.id="cadesplugin_ovr",e.style="visibility: hidden; position: fixed; left: 0px; top: 0px; width:100%; height:100%; background-color: rgba(0,0,0,0.7)",e.innerHTML="<div id='cadesplugin_ovr_item' style='position:relative; max-width:400px; margin:100px auto; background-color:#fff; border:2px solid #000; padding:10px; text-align:center; opacity: 1; z-index: 1500'><button id='cadesplugin_close_install' style='float: right; font-size: 10px; background: transparent; border: 1; margin: -5px'>X</button><p>\u0414\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u041a\u0440\u0438\u043f\u0442\u043e\u041f\u0440\u043e \u042d\u0426\u041f Browser plugin \u043d\u0430 \u0434\u0430\u043d\u043d\u043e\u043c \u0441\u0430\u0439\u0442\u0435 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u0435 \u0434\u043b\u044f \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0430. \u0423\u0431\u0435\u0434\u0438\u0442\u0435\u0441\u044c, \u0447\u0442\u043e \u043e\u043d\u043e \u0443 \u0412\u0430\u0441 \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u043e \u0438\u043b\u0438 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0435 \u0435\u0433\u043e.<p><a href='https://www.cryptopro.ru/sites/default/files/products/cades/extensions/firefox_cryptopro_extension_latest.xpi'>\u0421\u043a\u0430\u0447\u0430\u0442\u044c \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u0435</a></p></div>",document.getElementsByTagName("Body")[0].appendChild(e),document.getElementById("cadesplugin_close_install").addEventListener("click",function(){plugin_loaded_error("\u041f\u043b\u0430\u0433\u0438\u043d \u043d\u0435\u0434\u043e\u0441\u0442\u0443\u043f\u0435\u043d"),document.getElementById("cadesplugin_ovr").style.visibility="hidden"}),e.addEventListener("click",function(){plugin_loaded_error("\u041f\u043b\u0430\u0433\u0438\u043d \u043d\u0435\u0434\u043e\u0441\u0442\u0443\u043f\u0435\u043d"),document.getElementById("cadesplugin_ovr").style.visibility="hidden"}),e.style.visibility="visible"}}function firefox_or_safari_nmcades_onload(){window.cadesplugin_extension_loaded_callback&&window.cadesplugin_extension_loaded_callback(),isFireFoxExtensionLoaded=!0,cpcsp_chrome_nmcades.check_chrome_plugin(plugin_loaded,plugin_loaded_error)}function nmcades_api_onload(){isIE()||isFireFox||isSafari||window.cadesplugin_extension_loaded_callback&&window.cadesplugin_extension_loaded_callback(),window.postMessage("cadesplugin_echo_request","*"),window.addEventListener("message",function(e){if("string"==typeof e.data&&e.data.match("cadesplugin_loaded")&&!cadesplugin_loaded_event_recieved){if(isFireFox||isSafari){var t=e.data.substring(e.data.indexOf("url:")+4);if(!t.match("^(moz|safari)-extension://[a-zA-Z0-9/_-]+/nmcades_plugin_api.js$"))return cpcsp_console_log(cadesplugin.LOG_LEVEL_ERROR,'Bad url "'+t+'" for load CryptoPro Extension for CAdES Browser plug-in'),void plugin_loaded_error();var n=document.createElement("script");n.setAttribute("type","text/javascript"),n.setAttribute("src",t),n.onerror=plugin_loaded_error,n.onload=firefox_or_safari_nmcades_onload,document.getElementsByTagName("head")[0].appendChild(n)}else cpcsp_chrome_nmcades.check_chrome_plugin(plugin_loaded,plugin_loaded_error);cadesplugin_loaded_event_recieved=!0}},!1)}function load_extension(){var e;isFireFox||isSafari?nmcades_api_onload():isOpera||isYandex?((e=document.createElement("script")).setAttribute("type","text/javascript"),e.setAttribute("src","chrome-extension://epebfcehmdedogndhlcacafjaacknbcm/nmcades_plugin_api.js"),e.onerror=plugin_loaded_error,e.onload=nmcades_api_onload,document.getElementsByTagName("head")[0].appendChild(e)):((e=document.createElement("script")).setAttribute("type","text/javascript"),e.setAttribute("src","chrome-extension://iifchhfnnmpdbibifmljnfjhpififfog/nmcades_plugin_api.js"),e.onerror=plugin_loaded_error,e.onload=nmcades_api_onload,document.getElementsByTagName("head")[0].appendChild(e))}function load_npapi_plugin(){var e=document.createElement("object");if(e.setAttribute("id","cadesplugin_object"),e.setAttribute("type","application/x-cades"),e.setAttribute("style","visibility: hidden"),document.getElementsByTagName("body")[0].appendChild(e),pluginObject=document.getElementById("cadesplugin_object"),isIE()){var t=document.createElement("object");t.setAttribute("id","certEnrollClassFactory"),t.setAttribute("classid","clsid:884e2049-217d-11da-b2a4-000e7bbb2b09"),t.setAttribute("style","visibility: hidden"),document.getElementsByTagName("body")[0].appendChild(t);var n=document.createElement("object");n.setAttribute("id","webClassFactory"),n.setAttribute("classid","clsid:B04C8637-10BD-484E-B0DA-B8A039F60024"),n.setAttribute("style","visibility: hidden"),document.getElementsByTagName("body")[0].appendChild(n)}}function plugin_loaded(){plugin_resolved=1,canPromise?plugin_resolve():window.postMessage("cadesplugin_loaded","*")}function plugin_loaded_error(e){void 0!==e&&"object"!=typeof e||(e="\u041f\u043b\u0430\u0433\u0438\u043d \u043d\u0435\u0434\u043e\u0441\u0442\u0443\u043f\u0435\u043d"),plugin_resolved=1,canPromise?plugin_reject(e):window.postMessage("cadesplugin_load_error","*")}function check_load_timeout(){1!==plugin_resolved&&(isFireFox&&(isFireFoxExtensionLoaded||show_firefox_missing_extension_dialog()),plugin_resolved=1,canPromise?plugin_reject("\u0418\u0441\u0442\u0435\u043a\u043b\u043e \u0432\u0440\u0435\u043c\u044f \u043e\u0436\u0438\u0434\u0430\u043d\u0438\u044f \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u043f\u043b\u0430\u0433\u0438\u043d\u0430"):window.postMessage("cadesplugin_load_error","*"))}function createPromise(e){return new Promise(e)}function check_npapi_plugin(){try{CreateObject("CAdESCOM.About"),plugin_loaded()}catch(t){document.getElementById("cadesplugin_object").style.display="none";var e=navigator.mimeTypes["application/x-cades"];plugin_loaded_error(e?e.enabledPlugin?"\u041f\u043b\u0430\u0433\u0438\u043d \u0437\u0430\u0433\u0440\u0443\u0436\u0435\u043d, \u043d\u043e \u043d\u0435 \u0441\u043e\u0437\u0434\u0430\u044e\u0442\u0441\u044f \u043e\u0431\u044c\u0435\u043a\u0442\u044b":"\u041e\u0448\u0438\u0431\u043a\u0430 \u043f\u0440\u0438 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0435 \u043f\u043b\u0430\u0433\u0438\u043d\u0430":"\u041f\u043b\u0430\u0433\u0438\u043d \u043d\u0435\u0434\u043e\u0441\u0442\u0443\u043f\u0435\u043d")}}function check_plugin_working(){var e=document.createElement("div");e.innerHTML="\x3c!--[if lt IE 9]><i></i><![endif]--\x3e",1===e.getElementsByTagName("i").length?plugin_loaded_error("Internet Explorer \u0432\u0435\u0440\u0441\u0438\u0438 8 \u0438 \u043d\u0438\u0436\u0435 \u043d\u0435 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442\u0441\u044f"):isNativeMessageSupported()?load_extension():canPromise?"complete"===document.readyState?(load_npapi_plugin(),check_npapi_plugin()):window.addEventListener("load",function(e){load_npapi_plugin(),check_npapi_plugin()},!1):window.addEventListener("message",function(e){"cadesplugin_echo_request"===e.data&&(load_npapi_plugin(),check_npapi_plugin())},!1)}function set_pluginObject(e){pluginObject=e}function is_capilite_enabled(){return!(void 0===cadesplugin.EnableInternalCSP||!cadesplugin.EnableInternalCSP)}function set_load_timeout(){window.cadesplugin_load_timeout?setTimeout(check_load_timeout,window.cadesplugin_load_timeout):setTimeout(check_load_timeout,2e4)}})()}})},module.exports=factory()},"//9w":function(e,t,n){!function(e){"use strict";e.defineLocale("se",{months:"o\u0111\u0111ajagem\xe1nnu_guovvam\xe1nnu_njuk\u010dam\xe1nnu_cuo\u014bom\xe1nnu_miessem\xe1nnu_geassem\xe1nnu_suoidnem\xe1nnu_borgem\xe1nnu_\u010dak\u010dam\xe1nnu_golggotm\xe1nnu_sk\xe1bmam\xe1nnu_juovlam\xe1nnu".split("_"),monthsShort:"o\u0111\u0111j_guov_njuk_cuo_mies_geas_suoi_borg_\u010dak\u010d_golg_sk\xe1b_juov".split("_"),weekdays:"sotnabeaivi_vuoss\xe1rga_ma\u014b\u014beb\xe1rga_gaskavahkku_duorastat_bearjadat_l\xe1vvardat".split("_"),weekdaysShort:"sotn_vuos_ma\u014b_gask_duor_bear_l\xe1v".split("_"),weekdaysMin:"s_v_m_g_d_b_L".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"MMMM D. [b.] YYYY",LLL:"MMMM D. [b.] YYYY [ti.] HH:mm",LLLL:"dddd, MMMM D. [b.] YYYY [ti.] HH:mm"},calendar:{sameDay:"[otne ti] LT",nextDay:"[ihttin ti] LT",nextWeek:"dddd [ti] LT",lastDay:"[ikte ti] LT",lastWeek:"[ovddit] dddd [ti] LT",sameElse:"L"},relativeTime:{future:"%s gea\u017ees",past:"ma\u014bit %s",s:"moadde sekunddat",ss:"%d sekunddat",m:"okta minuhta",mm:"%d minuhtat",h:"okta diimmu",hh:"%d diimmut",d:"okta beaivi",dd:"%d beaivvit",M:"okta m\xe1nnu",MM:"%d m\xe1nut",y:"okta jahki",yy:"%d jagit"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},"/FM7":function(e,t,n){"use strict";n.d(t,"a",function(){return o}),n.d(t,"b",function(){return a});var r=n("mrSG"),i=n("fXoL"),s=n("jhN1");let o=class{constructor(e){this.sanitizer=e}get title(){var e,t,n,r;return null!==(r=null!==(t=null===(e=this.user)||void 0===e?void 0:e.fullname)&&void 0!==t?t:null===(n=this.user)||void 0===n?void 0:n.name)&&void 0!==r?r:""}get initials(){return a(this.title)}unwrapUrl(e){return this.sanitizer.sanitize(i.cb.URL,null!=e?e:null)}};function a(e){return e.split(" ").slice(0,2).map(e=>e.charAt(0).toUpperCase()).join("")}o.ctorParameters=()=>[{type:s.b}],o.propDecorators={user:[{type:i.G}],title:[{type:i.z,args:["attr.title"]}]},o=Object(r.b)([Object(i.n)({selector:"app-user-avatar",template:'\n    <svg>\n      <mask id="avatar">\n        <circle fill="white" cx="50%" cy="50%" r="50%"></circle>\n      </mask>\n      <g mask="url(#avatar)">\n        <rect class="bg" x="0" y="0" height="100%" width="100%"></rect>\n        <text x="50%" y="50%" dominant-baseline="central" text-anchor="middle">{{ initials }}</text>\n        <image\n          *ngIf="user?.photo"\n          [attr.xlink:href]="unwrapUrl(user?.photo | contentUrl | async)"\n          x="0"\n          y="0"\n          height="100%"\n          width="100%"\n          preserveAspectRatio="xMidYMid slice"\n        ></image>\n      </g>\n    </svg>\n  ',styles:["\n      :host {\n        font-size: 1.5rem;\n        line-height: 1;\n        color: var(--schema-white);\n        fill: var(--schema-grey300);\n        border-radius: 50%;\n      }\n\n      svg {\n        width: 1em;\n        height: 1em;\n        vertical-align: top;\n      }\n\n      .bg {\n        fill: inherit;\n      }\n\n      text {\n        fill: currentColor;\n        font-size: 0.5em;\n        font-weight: 600;\n      }\n    "]})],o)},"/KA4":function(e,t,n){"use strict";n.d(t,"a",function(){return x}),n.d(t,"b",function(){return O}),n.d(t,"c",function(){return d}),n.d(t,"d",function(){return te}),n.d(t,"e",function(){return P}),n.d(t,"f",function(){return U}),n.d(t,"g",function(){return C}),n.d(t,"h",function(){return E}),n.d(t,"i",function(){return T}),n.d(t,"j",function(){return L}),n.d(t,"k",function(){return z}),n.d(t,"l",function(){return q}),n.d(t,"m",function(){return ne}),n.d(t,"n",function(){return p}),n.d(t,"o",function(){return g}),n.d(t,"p",function(){return f}),n.d(t,"q",function(){return I}),n.d(t,"r",function(){return A}),n.d(t,"s",function(){return W}),n.d(t,"t",function(){return v}),n.d(t,"u",function(){return M}),n.d(t,"v",function(){return K}),n.d(t,"w",function(){return ee}),n.d(t,"x",function(){return j}),n.d(t,"y",function(){return H}),n.d(t,"z",function(){return m}),n.d(t,"A",function(){return k}),n.d(t,"B",function(){return N}),n.d(t,"C",function(){return h}),n.d(t,"D",function(){return y}),n.d(t,"E",function(){return _}),n.d(t,"F",function(){return R}),n.d(t,"G",function(){return b}),n.d(t,"H",function(){return w}),n.d(t,"I",function(){return re});var r=n("fXoL"),i=n("8LU1"),s=n("79xS"),o=n("XNiG"),a=n("7+OI"),c=n("Cfvw"),l=n("LRne"),u=n("IzEk");function h(e){let t;return t=null==e?[]:Array.isArray(e)?e:[e],t}function d(e,t){if(!e||!t||e.length!==t.length)return!1;const n=e.length;for(let r=0;r<n;r++)if(e[r]!==t[r])return!1;return!0}function f(e){return null!=e}function p(e){return null==e}function m(e,t){if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;const n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;const i=Object.prototype.hasOwnProperty.bind(t);for(let s=0;s<n.length;s++){const r=n[s];if(!i(r))return!1;if(e[r]!==t[r])return!1}return!0}function g(e){return"string"==typeof e&&""!==e}function v(e){return e instanceof r.ib}function y(e){return Object(i.c)(e)}function b(e,t=0){return Object(i.a)(e)?Number(e):t}function _(e){return Object(i.d)(e)}function w(e,...t){return"function"==typeof e?e(...t):e}function S(e,t){return function(n,r,i){const o="$$__"+r;return Object.prototype.hasOwnProperty.call(n,o)&&Object(s.b)(`The prop "${o}" is already exist, it will be overrided by ${e} decorator.`),Object.defineProperty(n,o,{configurable:!0,writable:!0}),{get(){return i&&i.get?i.get.bind(this)():this[o]},set(e){i&&i.set&&i.set.bind(this)(t(e)),this[o]=t(e)}}}}function x(){return S("InputBoolean",y)}function O(e){return S("InputNumber",t=>b(t,e))}function k(e){e.stopPropagation(),e.preventDefault()}function C(e){if(!e.getClientRects().length)return{top:0,left:0};const t=e.getBoundingClientRect(),n=e.ownerDocument.defaultView;return{top:t.top+n.pageYOffset,left:t.left+n.pageXOffset}}function M(e){return e.type.startsWith("touch")}function E(e){return M(e)?e.touches[0]||e.changedTouches[0]:e}function T(e,t="@"){if("string"!=typeof e)return[];const n=function(e){const t=Array.isArray(e)?e:[e];let n=t.join("").replace(/(\$|\^)/g,"\\$1");return t.length>1&&(n=`[${n}]`),new RegExp(`(\\s|^)(${n})[^\\s]*`,"g")}(t),r=e.match(n);return null!==r?r.map(e=>e.trim()):[]}function j(e,t,n){if(e.length>t)return e;const r=`${D(t,n)}${e}`;return r.slice(r.length-t,r.length)}function D(e,t){return Array(e).fill(t).join("")}function A(e){return!!e&&"function"==typeof e.then&&"function"==typeof e.catch}function L(e,t,n){return(n-e)/(t-e)*100}function z(e){const t=e.toString(),n=t.indexOf(".");return n>=0?t.length-n-1:0}function P(e,t,n){return isNaN(e)||e<t?t:e>n?n:e}function I(e){return"number"==typeof e&&isFinite(e)}function R(e,t){return Math.round(e*Math.pow(10,t))/Math.pow(10,t)}function N(e,t=0){return e.reduce((e,t)=>e+t,t)}function H(e){const t=e;t.scrollIntoViewIfNeeded?t.scrollIntoViewIfNeeded(!1):e.scrollIntoView&&e.scrollIntoView(!1)}const F=["direction","boxSizing","width","height","overflowX","overflowY","borderTopWidth","borderRightWidth","borderBottomWidth","borderLeftWidth","borderStyle","paddingTop","paddingRight","paddingBottom","paddingLeft","fontStyle","fontVariant","fontWeight","fontStretch","fontSize","fontSizeAdjust","lineHeight","fontFamily","textAlign","textTransform","textIndent","textDecoration","letterSpacing","wordSpacing","tabSize","MozTabSize"],V="undefined"!=typeof window,B=V&&null!=window.mozInnerScreenX,Y=e=>parseInt(e,10);function U(e,t,n){if(!V)throw new Error("textarea-caret-position#getCaretCoordinates should only be called in a browser");const r=n&&n.debug||!1;if(r){const e=document.querySelector("#input-textarea-caret-position-mirror-div");e&&e.parentNode.removeChild(e)}const i=document.createElement("div");i.id="input-textarea-caret-position-mirror-div",document.body.appendChild(i);const s=i.style,o=window.getComputedStyle?window.getComputedStyle(e):e.currentStyle,a="INPUT"===e.nodeName;s.whiteSpace="pre-wrap",a||(s.wordWrap="break-word"),s.position="absolute",r||(s.visibility="hidden"),F.forEach(e=>{a&&"lineHeight"===e?s.lineHeight=o.height:s[e]=o[e]}),B?e.scrollHeight>Y(o.height)&&(s.overflowY="scroll"):s.overflow="hidden",i.textContent=e.value.substring(0,t),a&&(i.textContent=i.textContent.replace(/\s/g,"\xa0"));const c=document.createElement("span");c.textContent=e.value.substring(t)||".",i.appendChild(c);const l={top:c.offsetTop+Y(o.borderTopWidth),left:c.offsetLeft+Y(o.borderLeftWidth),height:Y(o.lineHeight)};return r?(c.style.backgroundColor="#eee",function(e,t){const n=getComputedStyle(e).getPropertyValue("font-size"),r=document.querySelector("#DEBUG")||document.createElement("div");document.body.appendChild(r),r.id="DEBUG",r.style.position="absolute",r.style.backgroundColor="red",r.style.height=n,r.style.width="1px",r.style.top=e.getBoundingClientRect().top-e.scrollTop+window.pageYOffset+t.top+"px",r.style.left=e.getBoundingClientRect().left-e.scrollLeft+window.pageXOffset+t.left+"px"}(e,l)):document.body.removeChild(i),l}function W(e){if("undefined"!=typeof window&&window.document&&window.document.documentElement){const t=Array.isArray(e)?e:[e],{documentElement:n}=window.document;return t.some(e=>e in n.style)}return!1}function q(e){return e?Object.keys(e).map(t=>{const n=e[t];return`${t}:${"string"==typeof n?n:n+"px"}`}).join(";"):""}let $;const G={padding:"0",margin:"0",display:"inline",lineHeight:"inherit"};function X(e){if(!e)return 0;const t=e.match(/^\d*(\.\d*)?/);return t?Number(t[0]):0}function K(e,t,n,r,i,s=""){$||($=document.createElement("div"),$.setAttribute("aria-hidden","true"),document.body.appendChild($));const o=window.getComputedStyle(e),a=(c=o,Array.prototype.slice.apply(c).map(e=>`${e}: ${c.getPropertyValue(e)};`).join(""));var c;const l=X(o.lineHeight),u=Math.round(l*(t+1)+X(o.paddingTop)+X(o.paddingBottom));$.setAttribute("style",a),$.style.position="fixed",$.style.left="0",$.style.height="auto",$.style.minHeight="auto",$.style.maxHeight="auto",$.style.top="-999999px",$.style.zIndex="-1000",$.style.textOverflow="clip",$.style.whiteSpace="normal",$.style.webkitLineClamp="none";const h=function(e){const t=[];return e.forEach(e=>{const n=t[t.length-1];n&&3===e.nodeType&&3===n.nodeType?n.data+=e.data:t.push(e)}),t}(n),d=document.createElement("div"),f=document.createElement("span"),p=document.createTextNode(s),m=document.createElement("span");function g(){return $.offsetHeight<u}if(Object.assign(d.style,G),Object.assign(f.style,G),Object.assign(m.style,G),h.forEach(e=>{f.appendChild(e)}),f.appendChild(p),r.forEach(e=>{m.appendChild(e.cloneNode(!0))}),d.appendChild(f),d.appendChild(m),$.appendChild(d),g()){const e=$.innerHTML;return $.removeChild(d),{contentNodes:n,text:e,ellipsis:!1}}const v=Array.prototype.slice.apply($.childNodes[0].childNodes[0].cloneNode(!0).childNodes).filter(({nodeType:e})=>8!==e),y=Array.prototype.slice.apply($.childNodes[0].childNodes[1].cloneNode(!0).childNodes);$.removeChild(d),$.innerHTML="";const b=document.createElement("span");$.appendChild(b);const _=document.createTextNode(i+s);function w(e,t,n=0,r=t.length,i=0){const s=Math.floor((n+r)/2);if(e.textContent=t.slice(0,s),n>=r-1)for(let o=r;o>=n;o-=1){const n=t.slice(0,o);if(e.textContent=n,g()||!n)return o===t.length?{finished:!1,node:document.createTextNode(t)}:{finished:!0,node:document.createTextNode(n)}}return g()?w(e,t,s,r,s):w(e,t,n,s,i)}function S(e,t){const n=e.nodeType;if(1===n)return g()?{finished:!1,node:h[t]}:(b.removeChild(e),{finished:!0,node:null});if(3===n){const t=e.textContent||"",n=document.createTextNode(t);return r=n,b.insertBefore(r,_),w(n,t)}var r;return{finished:!1,node:null}}b.appendChild(_),y.forEach(e=>{$.appendChild(e)});const x=[];v.some((e,t)=>{const{finished:n,node:r}=S(e,t);return r&&x.push(r),n});const O={contentNodes:x,text:$.innerHTML,ellipsis:!0};for(;$.firstChild;)$.removeChild($.firstChild);return O}let J,Q;const Z={position:"absolute",top:"-9999px",width:"50px",height:"50px"};function ee(e="vertical",t="ant"){if("undefined"==typeof document||"undefined"==typeof window)return 0;const n="vertical"===e;if(n&&J)return J;if(!n&&Q)return Q;const r=document.createElement("div");Object.keys(Z).forEach(e=>{r.style[e]=Z[e]}),r.className=t+"-hide-scrollbar scroll-div-append-to-body",n?r.style.overflowY="scroll":r.style.overflowX="scroll",document.body.appendChild(r);let i=0;return n?(i=r.offsetWidth-r.clientWidth,J=i):(i=r.offsetHeight-r.clientHeight,Q=i),document.body.removeChild(r),i}function te(e,t){return e&&e<t?e:t}function ne(){const e=new o.a;return Promise.resolve().then(()=>e.next()),e.pipe(Object(u.a)(1))}function re(e){return Object(a.a)(e)?e:A(e)?Object(c.a)(Promise.resolve(e)):Object(l.a)(e)}},"/Tr7":function(e,t,n){"use strict";n.d(t,"a",function(){return s});var r=n("U8pU"),i=n("jIYg");function s(e){Object(i.a)(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||"object"===Object(r.a)(e)&&"[object Date]"===t?new Date(e.getTime()):"number"==typeof e||"[object Number]"===t?new Date(e):("string"!=typeof e&&"[object String]"!==t||"undefined"==typeof console||(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn((new Error).stack)),new Date(NaN))}},"/X5v":function(e,t,n){!function(e){"use strict";e.defineLocale("x-pseudo",{months:"J~\xe1\xf1\xfa\xe1~r\xfd_F~\xe9br\xfa~\xe1r\xfd_~M\xe1rc~h_\xc1p~r\xedl_~M\xe1\xfd_~J\xfa\xf1\xe9~_J\xfal~\xfd_\xc1\xfa~g\xfast~_S\xe9p~t\xe9mb~\xe9r_\xd3~ct\xf3b~\xe9r_\xd1~\xf3v\xe9m~b\xe9r_~D\xe9c\xe9~mb\xe9r".split("_"),monthsShort:"J~\xe1\xf1_~F\xe9b_~M\xe1r_~\xc1pr_~M\xe1\xfd_~J\xfa\xf1_~J\xfal_~\xc1\xfag_~S\xe9p_~\xd3ct_~\xd1\xf3v_~D\xe9c".split("_"),monthsParseExact:!0,weekdays:"S~\xfa\xf1d\xe1~\xfd_M\xf3~\xf1d\xe1\xfd~_T\xfa\xe9~sd\xe1\xfd~_W\xe9d~\xf1\xe9sd~\xe1\xfd_T~h\xfars~d\xe1\xfd_~Fr\xedd~\xe1\xfd_S~\xe1t\xfar~d\xe1\xfd".split("_"),weekdaysShort:"S~\xfa\xf1_~M\xf3\xf1_~T\xfa\xe9_~W\xe9d_~Th\xfa_~Fr\xed_~S\xe1t".split("_"),weekdaysMin:"S~\xfa_M\xf3~_T\xfa_~W\xe9_T~h_Fr~_S\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[T~\xf3d\xe1~\xfd \xe1t] LT",nextDay:"[T~\xf3m\xf3~rr\xf3~w \xe1t] LT",nextWeek:"dddd [\xe1t] LT",lastDay:"[\xdd~\xe9st~\xe9rd\xe1~\xfd \xe1t] LT",lastWeek:"[L~\xe1st] dddd [\xe1t] LT",sameElse:"L"},relativeTime:{future:"\xed~\xf1 %s",past:"%s \xe1~g\xf3",s:"\xe1 ~f\xe9w ~s\xe9c\xf3~\xf1ds",ss:"%d s~\xe9c\xf3\xf1~ds",m:"\xe1 ~m\xed\xf1~\xfat\xe9",mm:"%d m~\xed\xf1\xfa~t\xe9s",h:"\xe1~\xf1 h\xf3~\xfar",hh:"%d h~\xf3\xfars",d:"\xe1 ~d\xe1\xfd",dd:"%d d~\xe1\xfds",M:"\xe1 ~m\xf3\xf1~th",MM:"%d m~\xf3\xf1t~hs",y:"\xe1 ~\xfd\xe9\xe1r",yy:"%d \xfd~\xe9\xe1rs"},dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n("wd/R"))},"/h9T":function(e,t,n){"use strict";function r(e){if(null===e||!0===e||!1===e)return NaN;var t=Number(e);return isNaN(t)?t:t<0?Math.ceil(t):Math.floor(t)}n.d(t,"a",function(){return r})},"/uUt":function(e,t,n){"use strict";n.d(t,"a",function(){return i});var r=n("7o/Q");function i(e,t){return n=>n.lift(new s(e,t))}class s{constructor(e,t){this.compare=e,this.keySelector=t}call(e,t){return t.subscribe(new o(e,this.compare,this.keySelector))}}class o extends r.a{constructor(e,t,n){super(e),this.keySelector=n,this.hasKey=!1,"function"==typeof t&&(this.compare=t)}compare(e,t){return e===t}_next(e){let t;try{const{keySelector:n}=this;t=n?n(e):e}catch(r){return this.destination.error(r)}let n=!1;if(this.hasKey)try{const{compare:e}=this;n=e(this.key,t)}catch(r){return this.destination.error(r)}else this.hasKey=!0;n||(this.key=t,this.destination.next(e))}}},"/vgn":function(e,t,n){"use strict";n.d(t,"a",function(){return s});var r=n("xwJx"),i=n("mjQ1");const s={class:"972d4060-14ac-4b5c-b6c1-1e98359a911a",root:n("5puH").e.root,collection:"0e9ca845-9e42-4cf8-9c65-599d74abe7f3",properties:{created:r.w.entities.attributes.created,name:r.w.entities.attributes.name,modified:r.w.entities.attributes.modified,template:"ddef86c5-6835-43d4-b87d-5d1e693917fb",targetFolder:"5bcb030d-0cda-4cd7-b45d-f0e55a58d1f9",description:"7071c0c6-77ab-4a40-b813-7cb91c9b3a99",stages:"f896e485-c6e2-44ad-9850-ec7753d657b4",status:{id:"00f9d6ef-d77a-4efa-8fb6-f219336a461a",map:i.b.option}}}},0:function(e,t,n){e.exports=n("zUnb")},"0EQZ":function(e,t,n){"use strict";n.d(t,"a",function(){return l}),n.d(t,"b",function(){return a}),n.d(t,"c",function(){return h}),n.d(t,"d",function(){return u}),n.d(t,"e",function(){return f}),n.d(t,"f",function(){return c});var r=n("7+OI"),i=n("LRne"),s=n("XNiG"),o=n("fXoL");class a{}function c(e){return e&&"function"==typeof e.connect}class l extends a{constructor(e){super(),this._data=e}connect(){return Object(r.a)(this._data)?this._data:Object(i.a)(this._data)}disconnect(){}}class u{constructor(){this.viewCacheSize=20,this._viewCache=[]}applyChanges(e,t,n,r,i){e.forEachOperation((e,s,o)=>{let a,c;if(null==e.previousIndex){const i=()=>n(e,s,o);a=this._insertView(i,o,t,r(e)),c=a?1:0}else null==o?(this._detachAndCacheView(s,t),c=3):(a=this._moveView(s,o,t,r(e)),c=2);i&&i({context:null==a?void 0:a.context,operation:c,record:e})})}detach(){for(const e of this._viewCache)e.destroy()}_insertView(e,t,n,r){let i=this._insertViewFromCache(t,n);if(i)return void(i.context.$implicit=r);const s=e();return n.createEmbeddedView(s.templateRef,s.context,s.index)}_detachAndCacheView(e,t){const n=this._detachView(e,t);this._maybeCacheView(n,t)}_moveView(e,t,n,r){const i=n.get(e);return n.move(i,t),i.context.$implicit=r,i}_maybeCacheView(e,t){if(this._viewCache.length<this.viewCacheSize)this._viewCache.push(e);else{const n=t.indexOf(e);-1===n?e.destroy():t.remove(n)}}_insertViewFromCache(e,t){const n=this._viewCache.pop();return n&&t.insert(n,e),n||null}_detachView(e,t){return t.detach(e)}}class h{constructor(e=!1,t,n=!0){this._multiple=e,this._emitChanges=n,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new s.a,t&&t.length&&(e?t.forEach(e=>this._markSelected(e)):this._markSelected(t[0]),this._selectedToEmit.length=0)}get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}select(...e){this._verifyValueAssignment(e),e.forEach(e=>this._markSelected(e)),this._emitChangeEvent()}deselect(...e){this._verifyValueAssignment(e),e.forEach(e=>this._unmarkSelected(e)),this._emitChangeEvent()}toggle(e){this.isSelected(e)?this.deselect(e):this.select(e)}clear(){this._unmarkAll(),this._emitChangeEvent()}isSelected(e){return this._selection.has(e)}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(e){this._multiple&&this.selected&&this._selected.sort(e)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(e){this.isSelected(e)||(this._multiple||this._unmarkAll(),this._selection.add(e),this._emitChanges&&this._selectedToEmit.push(e))}_unmarkSelected(e){this.isSelected(e)&&(this._selection.delete(e),this._emitChanges&&this._deselectedToEmit.push(e))}_unmarkAll(){this.isEmpty()||this._selection.forEach(e=>this._unmarkSelected(e))}_verifyValueAssignment(e){e.length>1&&this._multiple,0}}class d{constructor(){this._listeners=[]}notify(e,t){for(let n of this._listeners)n(e,t)}listen(e){return this._listeners.push(e),()=>{this._listeners=this._listeners.filter(t=>e!==t)}}ngOnDestroy(){this._listeners=[]}}d.\u0275fac=function(e){return new(e||d)},d.\u0275prov=Object(o.Jc)({factory:function(){return new d},token:d,providedIn:"root"});const f=new o.E("_ViewRepeater")},"0MNC":function(e,t,n){"use strict";n.d(t,"a",function(){return g}),n.d(t,"b",function(){return b});var r=n("fXoL"),i=n("8LU1"),s=n("XNiG"),o=n("itXk"),a=n("GyhO"),c=n("HDdC"),l=n("IzEk"),u=n("zP0r"),h=n("Kj3r"),d=n("lJxs"),f=n("JX91"),p=n("1G5W"),m=n("nLfN");class g{}g.\u0275mod=r.Lc({type:g}),g.\u0275inj=r.Kc({factory:function(e){return new(e||g)}});const v=new Set;let y;class b{constructor(e){this._platform=e,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):_}matchMedia(e){return this._platform.WEBKIT&&function(e){if(v.has(e))return;try{y||(y=document.createElement("style"),y.setAttribute("type","text/css"),document.head.appendChild(y)),y.sheet&&(y.sheet.insertRule(`@media ${e} {.fx-query-test{ }}`,0),v.add(e))}catch(t){console.error(t)}}(e),this._matchMedia(e)}}function _(e){return{matches:"all"===e||""===e,media:e,addListener:()=>{},removeListener:()=>{}}}b.\u0275fac=function(e){return new(e||b)(r.Xc(m.a))},b.\u0275prov=Object(r.Jc)({factory:function(){return new b(Object(r.Xc)(m.a))},token:b,providedIn:"root"}),b.ctorParameters=()=>[{type:m.a}];class w{constructor(e,t){this._mediaMatcher=e,this._zone=t,this._queries=new Map,this._destroySubject=new s.a}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(e){return S(Object(i.b)(e)).some(e=>this._registerQuery(e).mql.matches)}observe(e){const t=S(Object(i.b)(e)).map(e=>this._registerQuery(e).observable);let n=Object(o.a)(t);return n=Object(a.a)(n.pipe(Object(l.a)(1)),n.pipe(Object(u.a)(1),Object(h.a)(0))),n.pipe(Object(d.a)(e=>{const t={matches:!1,breakpoints:{}};return e.forEach(({matches:e,query:n})=>{t.matches=t.matches||e,t.breakpoints[n]=e}),t}))}_registerQuery(e){if(this._queries.has(e))return this._queries.get(e);const t=this._mediaMatcher.matchMedia(e),n={observable:new c.a(e=>{const n=t=>this._zone.run(()=>e.next(t));return t.addListener(n),()=>{t.removeListener(n)}}).pipe(Object(f.a)(t),Object(d.a)(({matches:t})=>({query:e,matches:t})),Object(p.a)(this._destroySubject)),mql:t};return this._queries.set(e,n),n}}function S(e){return e.map(e=>e.split(",")).reduce((e,t)=>e.concat(t)).map(e=>e.trim())}w.\u0275fac=function(e){return new(e||w)(r.Xc(b),r.Xc(r.Q))},w.\u0275prov=Object(r.Jc)({factory:function(){return new w(Object(r.Xc)(b),Object(r.Xc)(r.Q))},token:w,providedIn:"root"}),w.ctorParameters=()=>[{type:b},{type:r.Q}]},"0W33":function(e,t,n){"use strict";n.d(t,"a",function(){return o});var r=n("mrSG"),i=n("tk/3"),s=n("fXoL");let o=class{constructor(e){this.httpClient=e}getChatsByEntity(e){return this.httpClient.get("/api/v1/chat/"+e)}getUserChats(e){return this.httpClient.get("/api/v1/chat/users/"+e)}createChat(e){const{name:t,entityId:n,typeId:r}=e;return this.httpClient.post("/api/v1/chat",{name:t,entityId:n,typeId:r})}getChatMessages(e,t){const{skip:n,take:r}=t;return this.httpClient.get(`/api/v1/chat/${e}/messages?skip=${n}&take=${r}`)}sendMessage(e,t){return this.httpClient.post(`/api/v1/chat/${e}/messages`,Object.assign({},t))}addUsertoChat(e,t){return this.httpClient.post(`/api/v1/chat/${e}/users`,{userIds:[...t]})}getChatUsers(e){return this.httpClient.get(`/api/v1/chat/${e}/users`)}deleteChatUser(e,t){return this.httpClient.delete(`/api/v1/chat/${e}/users?ids=${t}`)}BindTelegramToChat(e,t){return this.httpClient.put("/api/v1/chat/"+e,Object.assign({},t))}getFileinfo(e){return this.httpClient.get(`/api/v1/content/${e}/info`)}dateFilter(e){const t=[...e];let n,r=void 0,i=void 0;return t.forEach(e=>{n=new Date(e.createTime),e.utcTime=this.getUtcDate(n,3),e.filteredDate=this.getFilteredDate(e.utcTime),void 0!==r&&e.filteredDate===r&&e.utcTime.getDay()===i.getDay()||(e.datePlaceholder=!0),r=e.filteredDate,i=e.utcTime}),t}getFilteredDate(e){return this.isTodayDate(e)?0:this.isYesterday(e)?1:this.isThisYear(e)?2:3}getLeftMenuFilteredDate(e){return this.isTodayDate(e)?0:this.isLastWeek(e)?1:2}getUtcDate(e,t){const n=new Date(e);return n.setTime(n.getTime()+60*t*60*1e3),n}isTodayDate(e){let t=new Date;return t.getFullYear()===e.getFullYear()&&t.getMonth()===e.getMonth()&&t.getDate()===e.getDate()}isYesterday(e){const t=new Date;return t.setDate(t.getDate()-1),e.getDate()===t.getDate()&&e.getMonth()===t.getMonth()&&e.getFullYear()===t.getFullYear()}isThisYear(e){return(new Date).getFullYear()===e.getFullYear()}isLastWeek(e){const t=new Date;return t.setDate(t.getDate()-7),e.getTime()>=t.getTime()&&!this.isTodayDate(e)}sortByDate(e,t){const n=new Date(e);return(t?new Date(t):new Date).getTime()-n.getTime()}sortByType(e,t){return 1===e?-1:1===t?1:0}};o.ctorParameters=()=>[{type:i.c}],o=Object(r.b)([Object(s.D)({providedIn:"root"})],o)},"0jNN":function(e,t,n){"use strict";var r=Object.prototype.hasOwnProperty,i=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),s=function(e,t){for(var n=t&&t.plainObjects?Object.create(null):{},r=0;r<e.length;++r)void 0!==e[r]&&(n[r]=e[r]);return n};e.exports={arrayToObject:s,assign:function(e,t){return Object.keys(t).reduce(function(e,n){return e[n]=t[n],e},e)},compact:function(e){for(var t=[{obj:{o:e},prop:"o"}],n=[],r=0;r<t.length;++r)for(var i=t[r],s=i.obj[i.prop],o=Object.keys(s),a=0;a<o.length;++a){var c=o[a],l=s[c];"object"==typeof l&&null!==l&&-1===n.indexOf(l)&&(t.push({obj:s,prop:c}),n.push(l))}return function(e){for(var t;e.length;){var n=e.pop();if(t=n.obj[n.prop],Array.isArray(t)){for(var r=[],i=0;i<t.length;++i)void 0!==t[i]&&r.push(t[i]);n.obj[n.prop]=r}}return t}(t)},decode:function(e){try{return decodeURIComponent(e.replace(/\+/g," "))}catch(t){return e}},encode:function(e){if(0===e.length)return e;for(var t="string"==typeof e?e:String(e),n="",r=0;r<t.length;++r){var s=t.charCodeAt(r);45===s||46===s||95===s||126===s||s>=48&&s<=57||s>=65&&s<=90||s>=97&&s<=122?n+=t.charAt(r):s<128?n+=i[s]:s<2048?n+=i[192|s>>6]+i[128|63&s]:s<55296||s>=57344?n+=i[224|s>>12]+i[128|s>>6&63]+i[128|63&s]:(r+=1,s=65536+((1023&s)<<10|1023&t.charCodeAt(r)),n+=i[240|s>>18]+i[128|s>>12&63]+i[128|s>>6&63]+i[128|63&s])}return n},isBuffer:function(e){return null!=e&&!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},merge:function e(t,n,i){if(!n)return t;if("object"!=typeof n){if(Array.isArray(t))t.push(n);else{if(!t||"object"!=typeof t)return[t,n];(i&&(i.plainObjects||i.allowPrototypes)||!r.call(Object.prototype,n))&&(t[n]=!0)}return t}if(!t||"object"!=typeof t)return[t].concat(n);var o=t;return Array.isArray(t)&&!Array.isArray(n)&&(o=s(t,i)),Array.isArray(t)&&Array.isArray(n)?(n.forEach(function(n,s){if(r.call(t,s)){var o=t[s];o&&"object"==typeof o&&n&&"object"==typeof n?t[s]=e(o,n,i):t.push(n)}else t[s]=n}),t):Object.keys(n).reduce(function(t,s){var o=n[s];return r.call(t,s)?t[s]=e(t[s],o,i):t[s]=o,t},o)}}},"0mo+":function(e,t,n){!function(e){"use strict";var t={1:"\u0f21",2:"\u0f22",3:"\u0f23",4:"\u0f24",5:"\u0f25",6:"\u0f26",7:"\u0f27",8:"\u0f28",9:"\u0f29",0:"\u0f20"},n={"\u0f21":"1","\u0f22":"2","\u0f23":"3","\u0f24":"4","\u0f25":"5","\u0f26":"6","\u0f27":"7","\u0f28":"8","\u0f29":"9","\u0f20":"0"};e.defineLocale("bo",{months:"\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f44\u0f0b\u0f54\u0f7c_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f66\u0f74\u0f58\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f5e\u0f72\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f63\u0f94\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0fb2\u0f74\u0f42\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f62\u0f92\u0fb1\u0f51\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f42\u0f74\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f45\u0f72\u0f42\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54".split("_"),monthsShort:"\u0f5f\u0fb3\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(e){return e.replace(/[\u0f21\u0f22\u0f23\u0f24\u0f25\u0f26\u0f27\u0f28\u0f29\u0f20]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c|\u0f5e\u0f7c\u0f42\u0f66\u0f0b\u0f40\u0f66|\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44|\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42|\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"===t&&e>=4||"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44"===t&&e<5||"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42"===t?e+12:e},meridiem:function(e,t,n){return e<4?"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c":e<10?"\u0f5e\u0f7c\u0f42\u0f66\u0f0b\u0f40\u0f66":e<17?"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44":e<20?"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42":"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"},week:{dow:0,doy:6}})}(n("wd/R"))},"0tRk":function(e,t,n){!function(e){"use strict";e.defineLocale("pt-br",{months:"janeiro_fevereiro_mar\xe7o_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"domingo_segunda-feira_ter\xe7a-feira_quarta-feira_quinta-feira_sexta-feira_s\xe1bado".split("_"),weekdaysShort:"dom_seg_ter_qua_qui_sex_s\xe1b".split("_"),weekdaysMin:"do_2\xaa_3\xaa_4\xaa_5\xaa_6\xaa_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [\xe0s] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [\xe0s] HH:mm"},calendar:{sameDay:"[Hoje \xe0s] LT",nextDay:"[Amanh\xe3 \xe0s] LT",nextWeek:"dddd [\xe0s] LT",lastDay:"[Ontem \xe0s] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[\xdaltimo] dddd [\xe0s] LT":"[\xdaltima] dddd [\xe0s] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"h\xe1 %s",s:"poucos segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um m\xeas",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",invalidDate:"Data inv\xe1lida"})}(n("wd/R"))},"1G5W":function(e,t,n){"use strict";n.d(t,"a",function(){return i});var r=n("zx2A");function i(e){return t=>t.lift(new s(e))}class s{constructor(e){this.notifier=e}call(e,t){const n=new o(e),i=Object(r.c)(this.notifier,new r.a(n));return i&&!n.seenValue?(n.add(i),t.subscribe(n)):n}}class o extends r.b{constructor(e){super(e),this.seenValue=!1}notifyNext(){this.seenValue=!0,this.complete()}notifyComplete(){}}},"1ppg":function(e,t,n){!function(e){"use strict";e.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(e){return e},week:{dow:1,doy:4}})}(n("wd/R"))},"1rYy":function(e,t,n){!function(e){"use strict";e.defineLocale("hy-am",{months:{format:"\u0570\u0578\u0582\u0576\u057e\u0561\u0580\u056b_\u0583\u0565\u057f\u0580\u057e\u0561\u0580\u056b_\u0574\u0561\u0580\u057f\u056b_\u0561\u057a\u0580\u056b\u056c\u056b_\u0574\u0561\u0575\u056b\u057d\u056b_\u0570\u0578\u0582\u0576\u056b\u057d\u056b_\u0570\u0578\u0582\u056c\u056b\u057d\u056b_\u0585\u0563\u0578\u057d\u057f\u0578\u057d\u056b_\u057d\u0565\u057a\u057f\u0565\u0574\u0562\u0565\u0580\u056b_\u0570\u0578\u056f\u057f\u0565\u0574\u0562\u0565\u0580\u056b_\u0576\u0578\u0575\u0565\u0574\u0562\u0565\u0580\u056b_\u0564\u0565\u056f\u057f\u0565\u0574\u0562\u0565\u0580\u056b".split("_"),standalone:"\u0570\u0578\u0582\u0576\u057e\u0561\u0580_\u0583\u0565\u057f\u0580\u057e\u0561\u0580_\u0574\u0561\u0580\u057f_\u0561\u057a\u0580\u056b\u056c_\u0574\u0561\u0575\u056b\u057d_\u0570\u0578\u0582\u0576\u056b\u057d_\u0570\u0578\u0582\u056c\u056b\u057d_\u0585\u0563\u0578\u057d\u057f\u0578\u057d_\u057d\u0565\u057a\u057f\u0565\u0574\u0562\u0565\u0580_\u0570\u0578\u056f\u057f\u0565\u0574\u0562\u0565\u0580_\u0576\u0578\u0575\u0565\u0574\u0562\u0565\u0580_\u0564\u0565\u056f\u057f\u0565\u0574\u0562\u0565\u0580".split("_")},monthsShort:"\u0570\u0576\u057e_\u0583\u057f\u0580_\u0574\u0580\u057f_\u0561\u057a\u0580_\u0574\u0575\u057d_\u0570\u0576\u057d_\u0570\u056c\u057d_\u0585\u0563\u057d_\u057d\u057a\u057f_\u0570\u056f\u057f_\u0576\u0574\u0562_\u0564\u056f\u057f".split("_"),weekdays:"\u056f\u056b\u0580\u0561\u056f\u056b_\u0565\u0580\u056f\u0578\u0582\u0577\u0561\u0562\u0569\u056b_\u0565\u0580\u0565\u0584\u0577\u0561\u0562\u0569\u056b_\u0579\u0578\u0580\u0565\u0584\u0577\u0561\u0562\u0569\u056b_\u0570\u056b\u0576\u0563\u0577\u0561\u0562\u0569\u056b_\u0578\u0582\u0580\u0562\u0561\u0569_\u0577\u0561\u0562\u0561\u0569".split("_"),weekdaysShort:"\u056f\u0580\u056f_\u0565\u0580\u056f_\u0565\u0580\u0584_\u0579\u0580\u0584_\u0570\u0576\u0563_\u0578\u0582\u0580\u0562_\u0577\u0562\u0569".split("_"),weekdaysMin:"\u056f\u0580\u056f_\u0565\u0580\u056f_\u0565\u0580\u0584_\u0579\u0580\u0584_\u0570\u0576\u0563_\u0578\u0582\u0580\u0562_\u0577\u0562\u0569".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0569.",LLL:"D MMMM YYYY \u0569., HH:mm",LLLL:"dddd, D MMMM YYYY \u0569., HH:mm"},calendar:{sameDay:"[\u0561\u0575\u057d\u0585\u0580] LT",nextDay:"[\u057e\u0561\u0572\u0568] LT",lastDay:"[\u0565\u0580\u0565\u056f] LT",nextWeek:function(){return"dddd [\u0585\u0580\u0568 \u056a\u0561\u0574\u0568] LT"},lastWeek:function(){return"[\u0561\u0576\u0581\u0561\u056e] dddd [\u0585\u0580\u0568 \u056a\u0561\u0574\u0568] LT"},sameElse:"L"},relativeTime:{future:"%s \u0570\u0565\u057f\u0578",past:"%s \u0561\u057c\u0561\u057b",s:"\u0574\u056b \u0584\u0561\u0576\u056b \u057e\u0561\u0575\u0580\u056f\u0575\u0561\u0576",ss:"%d \u057e\u0561\u0575\u0580\u056f\u0575\u0561\u0576",m:"\u0580\u0578\u057a\u0565",mm:"%d \u0580\u0578\u057a\u0565",h:"\u056a\u0561\u0574",hh:"%d \u056a\u0561\u0574",d:"\u0585\u0580",dd:"%d \u0585\u0580",M:"\u0561\u0574\u056b\u057d",MM:"%d \u0561\u0574\u056b\u057d",y:"\u057f\u0561\u0580\u056b",yy:"%d \u057f\u0561\u0580\u056b"},meridiemParse:/\u0563\u056b\u0577\u0565\u0580\u057e\u0561|\u0561\u057c\u0561\u057e\u0578\u057f\u057e\u0561|\u0581\u0565\u0580\u0565\u056f\u057e\u0561|\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576/,isPM:function(e){return/^(\u0581\u0565\u0580\u0565\u056f\u057e\u0561|\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576)$/.test(e)},meridiem:function(e){return e<4?"\u0563\u056b\u0577\u0565\u0580\u057e\u0561":e<12?"\u0561\u057c\u0561\u057e\u0578\u057f\u057e\u0561":e<17?"\u0581\u0565\u0580\u0565\u056f\u057e\u0561":"\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576"},dayOfMonthOrdinalParse:/\d{1,2}|\d{1,2}-(\u056b\u0576|\u0580\u0564)/,ordinal:function(e,t){switch(t){case"DDD":case"w":case"W":case"DDDo":return 1===e?e+"-\u056b\u0576":e+"-\u0580\u0564";default:return e}},week:{dow:1,doy:7}})}(n("wd/R"))},"1vjI":function(e,t,n){"use strict";n.d(t,"a",function(){return a});var r=n("/Tr7"),i=n("jIYg"),s=n("/h9T"),o=n("vq9N");function a(e,t){var n,a,c,l,u,h,d,f;Object(i.a)(1,arguments);var p=Object(o.a)(),m=Object(s.a)(null!==(n=null!==(a=null!==(c=null!==(l=null==t?void 0:t.weekStartsOn)&&void 0!==l?l:null==t||null===(u=t.locale)||void 0===u||null===(h=u.options)||void 0===h?void 0:h.weekStartsOn)&&void 0!==c?c:p.weekStartsOn)&&void 0!==a?a:null===(d=p.locale)||void 0===d||null===(f=d.options)||void 0===f?void 0:f.weekStartsOn)&&void 0!==n?n:0);if(!(m>=0&&m<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var g=Object(r.a)(e),v=g.getUTCDay(),y=(v<m?7:0)+v-m;return g.setUTCDate(g.getUTCDate()-y),g.setUTCHours(0,0,0,0),g}},"1xZ4":function(e,t,n){!function(e){"use strict";e.defineLocale("ca",{months:{standalone:"gener_febrer_mar\xe7_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre".split("_"),format:"de gener_de febrer_de mar\xe7_d'abril_de maig_de juny_de juliol_d'agost_de setembre_d'octubre_de novembre_de desembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._mar\xe7_abr._maig_juny_jul._ag._set._oct._nov._des.".split("_"),monthsParseExact:!0,weekdays:"diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dt._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dt_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a les] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a les] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:function(){return"[avui a "+(1!==this.hours()?"les":"la")+"] LT"},nextDay:function(){return"[dem\xe0 a "+(1!==this.hours()?"les":"la")+"] LT"},nextWeek:function(){return"dddd [a "+(1!==this.hours()?"les":"la")+"] LT"},lastDay:function(){return"[ahir a "+(1!==this.hours()?"les":"la")+"] LT"},lastWeek:function(){return"[el] dddd [passat a "+(1!==this.hours()?"les":"la")+"] LT"},sameElse:"L"},relativeTime:{future:"d'aqu\xed %s",past:"fa %s",s:"uns segons",ss:"%d segons",m:"un minut",mm:"%d minuts",h:"una hora",hh:"%d hores",d:"un dia",dd:"%d dies",M:"un mes",MM:"%d mesos",y:"un any",yy:"%d anys"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|\xe8|a)/,ordinal:function(e,t){var n=1===e?"r":2===e?"n":3===e?"r":4===e?"t":"\xe8";return"w"!==t&&"W"!==t||(n="a"),e+n},week:{dow:1,doy:4}})}(n("wd/R"))},"2QA8":function(e,t,n){"use strict";n.d(t,"a",function(){return r});const r="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()},"2Suw":function(e,t,n){"use strict";n.d(t,"a",function(){return l}),n.d(t,"b",function(){return u});var r=n("fXoL"),i=n("XNiG"),s=n("pLZG"),o=n("CqXF");const a=new r.E("nz-config"),c=function(e){return void 0!==e};class l{constructor(e){this.configUpdated$=new i.a,this.config=e||{}}getConfigForComponent(e){return this.config[e]}getConfigChangeEventForComponent(e){return this.configUpdated$.pipe(Object(s.a)(t=>t===e),Object(o.a)(void 0))}set(e,t){this.config[e]=Object.assign(Object.assign({},this.config[e]),t),this.configUpdated$.next(e)}}function u(){return function(e,t,n){const r="$$__assignedValue__"+t;return Object.defineProperty(e,r,{configurable:!0,writable:!0,enumerable:!1}),{get(){const e=(null==n?void 0:n.get)?n.get.bind(this)():this[r];if(((this.assignmentCount||{})[t]||0)>1&&c(e))return e;const i=(this.nzConfigService.getConfigForComponent(this._nzModuleName)||{})[t];return c(i)?i:e},set(e){this.assignmentCount=this.assignmentCount||{},this.assignmentCount[t]=(this.assignmentCount[t]||0)+1,(null==n?void 0:n.set)?n.set.bind(this)(e):this[r]=e},configurable:!0,enumerable:!0}}}l.\u0275fac=function(e){return new(e||l)(r.Xc(a,8))},l.\u0275prov=Object(r.Jc)({factory:function(){return new l(Object(r.Xc)(a,8))},token:l,providedIn:"root"}),l.ctorParameters=()=>[{type:void 0,decorators:[{type:r.R},{type:r.C,args:[a]}]}]},"2Vo4":function(e,t,n){"use strict";n.d(t,"a",function(){return s});var r=n("XNiG"),i=n("9ppp");class s extends r.a{constructor(e){super(),this._value=e}get value(){return this.getValue()}_subscribe(e){const t=super._subscribe(e);return t&&!t.closed&&e.next(this._value),t}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new i.a;return this._value}next(e){super.next(this._value=e)}}},"2fFW":function(e,t,n){"use strict";n.d(t,"a",function(){return i});let r=!1;const i={Promise:void 0,set useDeprecatedSynchronousErrorHandling(e){if(e){const e=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+e.stack)}else r&&console.log("RxJS: Back to a better error behavior. Thank you. <3");r=e},get useDeprecatedSynchronousErrorHandling(){return r}}},"2fjn":function(e,t,n){!function(e){"use strict";e.defineLocale("fr-ca",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(e,t){switch(t){default:case"M":case"Q":case"D":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}}})}(n("wd/R"))},"2kdd":function(e,t,n){"use strict";n.d(t,"a",function(){return c}),n.d(t,"b",function(){return u}),n.d(t,"c",function(){return p}),n.d(t,"d",function(){return g}),n.d(t,"e",function(){return s}),n.d(t,"f",function(){return h}),n.d(t,"g",function(){return o}),n.d(t,"h",function(){return m}),n.d(t,"i",function(){return y});var r=n("xwJx"),i=n("SURy");function s(e){return!(a(e)||l(e)||d(e)||h(e))}function o(e){return!h(e)&&!d(e)}function a(e){return f(e,"and")}function c(e){var t;return e.length>1?{and:e}:null!==(t=e[0])&&void 0!==t?t:Object(r.J)("At least one condition is required")}function l(e){return f(e,"or")}function u(e){var t;return e.length>1?{or:e}:null!==(t=e[0])&&void 0!==t?t:Object(r.J)("At least one condition is required")}function h(e){return f(e,"exists")}function d(e){return f(e,"not")}function f(e,t){return t in e}function p(e){return v("attr",e)}function m(e){return v("ref",e)}function g(e){return v("col",e)}function v(e,t){return`${e}.${Object(i.e)(t)?t:t.id}`}function y(e){return b(e,!1,[])}function*b(e,t,n){if(d(e))if(h(e.not))yield*b(e.not,!t,n);else{const[[i]]=Object.entries(n[0]);yield r(i,e.not,!t)}else if(h(e))yield*b(e.exists,t,n);else if(a(e))for(const i of e.and)yield*b(i,t,n);else if(l(e))for(const i of e.or)yield*b(i,t,n);else{const[[i,s]]=Object.entries(e);o(s)?yield r(i,s,t):yield*b(s,t,[e,...n])}return e;function r(e,t,r){const[[i,s]]=Object.entries(t);return{key:e,value:null!=s?s:null,operator:i,operand:t,invert:r,path:n}}}},"2oA3":function(e,t,n){"use strict";n.d(t,"a",function(){return _});var r=n("mrSG"),i=n("fXoL"),s=n("mjQ1"),o=n("SURy"),a=n("btuV"),c=n("Cfvw"),l=n("LRne"),u=n("eIep"),h=n("lJxs"),d=n("9eNV"),f=n("4lKt"),p=n("5puH"),m=n("xwJx");const g={class:"e0637bd5-d52f-4dec-b347-a1a8b97db3fd",root:p.e.root,collection:m.w.entities.collection,properties:{created:m.w.entities.attributes.created,name:m.w.entities.attributes.name,author:{id:"200dde38-772c-42d2-a3cb-fcd28d96e2bf",map:s.b.option},user:{id:"626c45fb-0d8a-4888-8239-e6e2c775e520",map:s.b.option},company:{id:"9296bcb2-2574-4adf-a6cf-c8807bc70b9c",map:s.b.option}}};var v=n("2kdd"),y=n("Jy0u");const b={class:"46cda91b-7f18-490b-b4ad-33fbc421a6b4",root:p.e.root,collection:m.w.entities.collection,properties:{created:m.w.entities.attributes.created,name:m.w.entities.attributes.name,title:"ddef86c5-6835-43d4-b87d-5d1e693917fb",finishedDate:"9aa3862e-463c-448b-a663-bbd301f3c487",inn:"526e57d4-fc0e-4ca6-81bd-d0028f663a50",registerNumber:"a0366b0b-f47b-4b8f-b9a2-9be393a1705c",codeCompany:"34697e4f-135c-45c4-9a0c-61cecd83ef4b",code:"728fdcb8-fdeb-4ad8-957f-fea5ea71377b",form:"04cc2896-f3e7-48a5-9b72-5a84a9098a21",registrationNumber:"b47177d1-3c5a-4cfa-b008-bab5dd2f8443",stateRegistrationDate:"185710c3-6a5a-416c-89e3-aabee3a00d69",startedDate:"00a47e93-0957-421e-85e4-e503e7328a51",ogrn:"f9fab819-5ea6-4538-8d24-b14e00286b23",okpo:"2cb1a7f9-beb1-4181-9401-18b4ad4ed6da",ogrnip:"a921f90d-f066-459a-ac90-8df7187ba4b6",mailAddress:"1b97b756-1ee3-4cbc-b9ee-a4ff6cd12ef7",legalAddress:"0496b0b1-ae56-4249-a00e-ce9c58c73be8",actualAddress:"f6f95243-e2a7-42c4-b288-fddc55e4f2d4",phone:"a54139da-d3d5-42da-a2e2-f3cddc20ab43",mail:"fea938a0-e4c2-4b3c-b2aa-791784e2e845",firstName:"e232253a-ffbc-4e4f-9dd3-21d926398fc9",middleName:"baa37cab-bb3a-4bd5-a7d6-20d304948cbb",passportSeries:"86a8d826-0d22-4c79-a565-aa1f952e81be",passportNumber:"38a6b664-1521-46c3-8b7d-4a70181dba7a",birthday:"aca2b205-e67f-46e8-98ad-649c3ccb35bc",companyType:{id:"f359e054-1773-4e33-84e1-54ca3b79c399",map:s.b.option}}};let _=class{constructor(e,t,n,r,i,s){this.entities=e,this.security=t,this.documentState=n,this.metadata=r,this.rolesTitle=i,this.user=s,this.companiesInProject=this.metadata.classes.getNames("\u041e\u0440\u0433\u0430\u043d\u0438\u0437\u0430\u0446\u0438\u0438 \u0432 \u043f\u0440\u043e\u0435\u043a\u0442\u0435")}getAllCompaniesOdProjectArea(){var e;return(null===(e=this.user.projectAreas)||void 0===e?void 0:e.length)?Object(c.a)(this.metadata.classes.getNames("\u041e\u0440\u0433\u0430\u043d\u0438\u0437\u0430\u0446\u0438\u0438")).pipe(Object(u.a)(e=>this.entities.analytic.query({where:Object(v.a)([Object(y.e)(this.user.projectAreas[0].id),Object(y.b)(e.id)]),select:Object(s.f)(b,e)},{skip:0,take:1e3})),Object(h.a)(e=>e.items.map(e=>Object(s.j)(e,b)).filter(e=>new Date(e.finishedDate).getTime()>(new Date).getTime()))):Object(l.a)([])}getCompaniesOfProject(){return this.documentState.getProject().pipe(Object(u.a)(e=>Object(r.a)(this,void 0,void 0,function*(){if(e){const t=yield this.companiesInProject;return this.entities.collections(e.id,p.b).query(Object.assign({skip:0,take:1e3},Object(s.d)(g,t)))}return Object(l.a)({skipped:0,items:[],total:0})})),Object(h.a)(e=>e.items.map(e=>Object(s.j)(e,g))))}getCompaniesReference(){let e;const t=new Map;return Object(c.a)(this.metadata.classes.getNames("\u041e\u0440\u0433\u0430\u043d\u0438\u0437\u0430\u0446\u0438\u0438")).pipe(Object(u.a)(t=>(e=t,this.getCompaniesOfProject())),Object(u.a)(n=>{const r=new Set;n.forEach(e=>{r.add(e.company.id),t.set(e.user.id.toString(),e)});const i=Array.from(r);return i.length?this.entities.analytic.query({where:Object(v.a)([Object(y.e)(...i),Object(y.b)(e.id)]),select:Object(s.f)(b,e)},{skip:0,take:1e3}):Object(l.a)({skipped:0,items:[],total:0})}),Object(h.a)(e=>e.items.map(e=>{const n=Object(s.j)(e,b);return n.users=Array.from(t.values()).filter(t=>t.company.id===e.id).map(e=>e.user),n}).filter(e=>new Date(e.finishedDate).getTime()>(new Date).getTime())))}getCompaniesInProjectByUser(e){return Object(c.a)(this.companiesInProject).pipe(Object(u.a)(t=>{return this.entities.analytic.query({where:Object(v.a)([Object(y.e)(e),Object(y.b)(t.id),(n=this.user.id,{[Object(v.h)(Object(s.e)(g.properties.user))]:{exists:{id:{eq:n}}}})]),select:Object(s.f)(g,t)},{skip:0,take:1e3});var n}),Object(h.a)(e=>e.items.map(e=>Object(s.j)(e,g))))}getCompaniesInProjectByCompanyIds(e,t){return Object(c.a)(this.companiesInProject).pipe(Object(u.a)(n=>this.entities.analytic.query({where:Object(v.a)([Object(y.e)(t),Object(y.b)(n.id),{[Object(v.h)(Object(s.e)(g.properties.company))]:{exists:Object(v.b)(e.map(e=>({id:{eq:e}})))}}]),select:Object(s.f)(g,n)},{skip:0,take:1e3})),Object(h.a)(e=>e.items.map(e=>Object(s.j)(e,g))))}getCompaniesUsers(){return Object(r.a)(this,void 0,void 0,function*(){return new Promise(e=>{let t=[];const n=[],i={};this.getCompaniesReference().subscribe(s=>Object(r.a)(this,void 0,void 0,function*(){if(s.length){t=s;const r=yield this.security.profiles.get(t.reduce((e,t)=>e.concat(t.users),[]).filter(e=>!!e).map(e=>e.name));t.forEach(e=>{n.push({id:e.id,name:e.name,users:e.users.map(t=>(i[t.id]?i[t.id].push(e.name):i[t.id]=[e.name],Object.assign(Object.assign({},t),{profile:r.find(e=>e.id===t.id)})))})}),e({companiesUsers:n,usersCompanies:i})}}))})})}};_.ctorParameters=()=>[{type:s.a},{type:a.c},{type:f.a},{type:o.c},{type:void 0,decorators:[{type:i.C,args:[d.c]}]},{type:void 0,decorators:[{type:i.C,args:[d.a]}]}],_=Object(r.b)([Object(i.D)({providedIn:"root"})],_)},"2ykv":function(e,t,n){!function(e){"use strict";var t="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),n="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),r=[/^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],i=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;e.defineLocale("nl-be",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(e,r){return e?/-MMM-/.test(r)?n[e.month()]:t[e.month()]:t},monthsRegex:i,monthsShortRegex:i,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:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"\xe9\xe9n minuut",mm:"%d minuten",h:"\xe9\xe9n uur",hh:"%d uur",d:"\xe9\xe9n dag",dd:"%d dagen",M:"\xe9\xe9n maand",MM:"%d maanden",y:"\xe9\xe9n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(n("wd/R"))},"3E0/":function(e,t,n){"use strict";n.d(t,"a",function(){return a});var r=n("D0XW"),i=n("mlxB"),s=n("7o/Q"),o=n("WMd4");function a(e,t=r.a){const n=Object(i.a)(e)?+e-t.now():Math.abs(e);return e=>e.lift(new c(n,t))}class c{constructor(e,t){this.delay=e,this.scheduler=t}call(e,t){return t.subscribe(new l(e,this.delay,this.scheduler))}}class l extends s.a{constructor(e,t,n){super(e),this.delay=t,this.scheduler=n,this.queue=[],this.active=!1,this.errored=!1}static dispatch(e){const t=e.source,n=t.queue,r=e.scheduler,i=e.destination;for(;n.length>0&&n[0].time-r.now()<=0;)n.shift().notification.observe(i);if(n.length>0){const t=Math.max(0,n[0].time-r.now());this.schedule(e,t)}else this.unsubscribe(),t.active=!1}_schedule(e){this.active=!0;this.destination.add(e.schedule(l.dispatch,this.delay,{source:this,destination:this.destination,scheduler:e}))}scheduleNotification(e){if(!0===this.errored)return;const t=this.scheduler,n=new u(t.now()+this.delay,e);this.queue.push(n),!1===this.active&&this._schedule(t)}_next(e){this.scheduleNotification(o.a.createNext(e))}_error(e){this.errored=!0,this.queue=[],this.destination.error(e),this.unsubscribe()}_complete(){this.scheduleNotification(o.a.createComplete()),this.unsubscribe()}}class u{constructor(e,t){this.time=e,this.notification=t}}},"3E1r":function(e,t,n){!function(e){"use strict";var t={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},n={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"},r=[/^\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],i=[/^\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];e.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:r,longMonthsParse:r,shortMonthsParse: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(e){return e.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/\u0930\u093e\u0924|\u0938\u0941\u092c\u0939|\u0926\u094b\u092a\u0939\u0930|\u0936\u093e\u092e/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u0930\u093e\u0924"===t?e<4?e:e+12:"\u0938\u0941\u092c\u0939"===t?e:"\u0926\u094b\u092a\u0939\u0930"===t?e>=10?e:e+12:"\u0936\u093e\u092e"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"\u0930\u093e\u0924":e<10?"\u0938\u0941\u092c\u0939":e<17?"\u0926\u094b\u092a\u0939\u0930":e<20?"\u0936\u093e\u092e":"\u0930\u093e\u0924"},week:{dow:0,doy:6}})}(n("wd/R"))},"3N8a":function(e,t,n){"use strict";n.d(t,"a",function(){return s});var r=n("quSY");class i extends r.a{constructor(e,t){super()}schedule(e,t=0){return this}}class s extends i{constructor(e,t){super(e,t),this.scheduler=e,this.work=t,this.pending=!1}schedule(e,t=0){if(this.closed)return this;this.state=e;const n=this.id,r=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(r,n,t)),this.pending=!0,this.delay=t,this.id=this.id||this.requestAsyncId(r,this.id,t),this}requestAsyncId(e,t,n=0){return setInterval(e.flush.bind(e,this),n)}recycleAsyncId(e,t,n=0){if(null!==n&&this.delay===n&&!1===this.pending)return t;clearInterval(t)}execute(e,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const n=this._execute(e,t);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(e,t){let n=!1,r=void 0;try{this.work(e)}catch(i){n=!0,r=!!i&&i||new Error(i)}if(n)return this.unsubscribe(),r}_unsubscribe(){const e=this.id,t=this.scheduler,n=t.actions,r=n.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==r&&n.splice(r,1),null!=e&&(this.id=this.recycleAsyncId(t,e,null)),this.delay=null}}},"3Pt+":function(e,t,n){"use strict";n.d(t,"a",function(){return _e}),n.d(t,"b",function(){return d}),n.d(t,"c",function(){return u}),n.d(t,"d",function(){return f}),n.d(t,"e",function(){return at}),n.d(t,"f",function(){return we}),n.d(t,"g",function(){return Re}),n.d(t,"h",function(){return qe}),n.d(t,"i",function(){return Se}),n.d(t,"j",function(){return ct}),n.d(t,"k",function(){return c}),n.d(t,"l",function(){return L}),n.d(t,"m",function(){return P}),n.d(t,"n",function(){return Le}),n.d(t,"o",function(){return $}),n.d(t,"p",function(){return lt}),n.d(t,"q",function(){return q}),n.d(t,"r",function(){return b}),n.d(t,"s",function(){return J});var r=n("fXoL"),i=n("ofXK"),s=n("cp0P"),o=n("Cfvw"),a=n("lJxs");const c=new r.E("NgValueAccessor"),l={provide:c,useExisting:Object(r.sb)(()=>u),multi:!0};class u{constructor(e,t){this._renderer=e,this._elementRef=t,this.onChange=e=>{},this.onTouched=()=>{}}writeValue(e){this._renderer.setProperty(this._elementRef.nativeElement,"checked",e)}registerOnChange(e){this.onChange=e}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}}u.\u0275fac=function(e){return new(e||u)(r.Nc(r.Y),r.Nc(r.v))},u.\u0275dir=r.Ic({type:u,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(e,t){1&e&&r.ad("change",function(e){return t.onChange(e.target.checked)})("blur",function(){return t.onTouched()})},features:[r.yc([l])]}),u.ctorParameters=()=>[{type:r.Y},{type:r.v}];const h={provide:c,useExisting:Object(r.sb)(()=>f),multi:!0};const d=new r.E("CompositionEventMode");class f{constructor(e,t,n){this._renderer=e,this._elementRef=t,this._compositionMode=n,this.onChange=e=>{},this.onTouched=()=>{},this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function(){const e=Object(i.J)()?Object(i.J)().getUserAgent():"";return/android (\d+)/.test(e.toLowerCase())}())}writeValue(e){const t=null==e?"":e;this._renderer.setProperty(this._elementRef.nativeElement,"value",t)}registerOnChange(e){this.onChange=e}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}_handleInput(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)}_compositionStart(){this._composing=!0}_compositionEnd(e){this._composing=!1,this._compositionMode&&this.onChange(e)}}function p(e){return null==e||0===e.length}function m(e){return null!=e&&"number"==typeof e.length}f.\u0275fac=function(e){return new(e||f)(r.Nc(r.Y),r.Nc(r.v),r.Nc(d,8))},f.\u0275dir=r.Ic({type:f,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(e,t){1&e&&r.ad("input",function(e){return t._handleInput(e.target.value)})("blur",function(){return t.onTouched()})("compositionstart",function(){return t._compositionStart()})("compositionend",function(e){return t._compositionEnd(e.target.value)})},features:[r.yc([h])]}),f.ctorParameters=()=>[{type:r.Y},{type:r.v},{type:Boolean,decorators:[{type:r.R},{type:r.C,args:[d]}]}];const g=new r.E("NgValidators"),v=new r.E("NgAsyncValidators"),y=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class b{static min(e){return t=>{if(p(t.value)||p(e))return null;const n=parseFloat(t.value);return!isNaN(n)&&n<e?{min:{min:e,actual:t.value}}:null}}static max(e){return t=>{if(p(t.value)||p(e))return null;const n=parseFloat(t.value);return!isNaN(n)&&n>e?{max:{max:e,actual:t.value}}:null}}static required(e){return p(e.value)?{required:!0}:null}static requiredTrue(e){return!0===e.value?null:{required:!0}}static email(e){return p(e.value)||y.test(e.value)?null:{email:!0}}static minLength(e){return t=>p(t.value)||!m(t.value)?null:t.value.length<e?{minlength:{requiredLength:e,actualLength:t.value.length}}:null}static maxLength(e){return t=>m(t.value)&&t.value.length>e?{maxlength:{requiredLength:e,actualLength:t.value.length}}:null}static pattern(e){if(!e)return b.nullValidator;let t,n;return"string"==typeof e?(n="","^"!==e.charAt(0)&&(n+="^"),n+=e,"$"!==e.charAt(e.length-1)&&(n+="$"),t=new RegExp(n)):(n=e.toString(),t=e),e=>{if(p(e.value))return null;const r=e.value;return t.test(r)?null:{pattern:{requiredPattern:n,actualValue:r}}}}static nullValidator(e){return null}static compose(e){if(!e)return null;const t=e.filter(_);return 0==t.length?null:function(e){return S(x(e,t))}}static composeAsync(e){if(!e)return null;const t=e.filter(_);return 0==t.length?null:function(e){const n=x(e,t).map(w);return Object(s.a)(n).pipe(Object(a.a)(S))}}}function _(e){return null!=e}function w(e){const t=Object(r.cc)(e)?Object(o.a)(e):e;return Object(r.bc)(t),t}function S(e){let t={};return e.forEach(e=>{t=null!=e?Object.assign(Object.assign({},t),e):t}),0===Object.keys(t).length?null:t}function x(e,t){return t.map(t=>t(e))}function O(e){return e.map(e=>function(e){return!e.validate}(e)?e:t=>e.validate(t))}function k(e){return null!=e?b.compose(O(e)):null}function C(e){return null!=e?b.composeAsync(O(e)):null}function M(e,t){return null===e?[t]:Array.isArray(e)?[...e,t]:[e,t]}function E(e){return e._rawValidators}function T(e){return e._rawAsyncValidators}class j{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(e){this._rawValidators=e||[],this._composedValidatorFn=k(this._rawValidators)}_setAsyncValidators(e){this._rawAsyncValidators=e||[],this._composedAsyncValidatorFn=C(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(e){this._onDestroyCallbacks.push(e)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(e=>e()),this._onDestroyCallbacks=[]}reset(e){this.control&&this.control.reset(e)}hasError(e,t){return!!this.control&&this.control.hasError(e,t)}getError(e,t){return this.control?this.control.getError(e,t):null}}j.\u0275fac=function(e){return new(e||j)},j.\u0275dir=r.Ic({type:j});class D extends j{get formDirective(){return null}get path(){return null}}D.\u0275fac=function(e){return A(e||D)},D.\u0275dir=r.Ic({type:D,features:[r.wc]});const A=r.Vc(D);class L extends j{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class z{constructor(e){this._cd=e}get ngClassUntouched(){var e,t,n;return null!==(n=null===(t=null===(e=this._cd)||void 0===e?void 0:e.control)||void 0===t?void 0:t.untouched)&&void 0!==n&&n}get ngClassTouched(){var e,t,n;return null!==(n=null===(t=null===(e=this._cd)||void 0===e?void 0:e.control)||void 0===t?void 0:t.touched)&&void 0!==n&&n}get ngClassPristine(){var e,t,n;return null!==(n=null===(t=null===(e=this._cd)||void 0===e?void 0:e.control)||void 0===t?void 0:t.pristine)&&void 0!==n&&n}get ngClassDirty(){var e,t,n;return null!==(n=null===(t=null===(e=this._cd)||void 0===e?void 0:e.control)||void 0===t?void 0:t.dirty)&&void 0!==n&&n}get ngClassValid(){var e,t,n;return null!==(n=null===(t=null===(e=this._cd)||void 0===e?void 0:e.control)||void 0===t?void 0:t.valid)&&void 0!==n&&n}get ngClassInvalid(){var e,t,n;return null!==(n=null===(t=null===(e=this._cd)||void 0===e?void 0:e.control)||void 0===t?void 0:t.invalid)&&void 0!==n&&n}get ngClassPending(){var e,t,n;return null!==(n=null===(t=null===(e=this._cd)||void 0===e?void 0:e.control)||void 0===t?void 0:t.pending)&&void 0!==n&&n}}class P extends z{constructor(e){super(e)}}P.\u0275fac=function(e){return new(e||P)(r.Nc(L,2))},P.\u0275dir=r.Ic({type:P,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(e,t){2&e&&r.Fc("ng-untouched",t.ngClassUntouched)("ng-touched",t.ngClassTouched)("ng-pristine",t.ngClassPristine)("ng-dirty",t.ngClassDirty)("ng-valid",t.ngClassValid)("ng-invalid",t.ngClassInvalid)("ng-pending",t.ngClassPending)},features:[r.wc]}),P.ctorParameters=()=>[{type:L,decorators:[{type:r.db}]}];class I extends z{constructor(e){super(e)}}I.\u0275fac=function(e){return new(e||I)(r.Nc(D,10))},I.\u0275dir=r.Ic({type:I,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:14,hostBindings:function(e,t){2&e&&r.Fc("ng-untouched",t.ngClassUntouched)("ng-touched",t.ngClassTouched)("ng-pristine",t.ngClassPristine)("ng-dirty",t.ngClassDirty)("ng-valid",t.ngClassValid)("ng-invalid",t.ngClassInvalid)("ng-pending",t.ngClassPending)},features:[r.wc]}),I.ctorParameters=()=>[{type:D,decorators:[{type:r.R},{type:r.db}]}];const R={provide:c,useExisting:Object(r.sb)(()=>N),multi:!0};class N{constructor(e,t){this._renderer=e,this._elementRef=t,this.onChange=e=>{},this.onTouched=()=>{}}writeValue(e){const t=null==e?"":e;this._renderer.setProperty(this._elementRef.nativeElement,"value",t)}registerOnChange(e){this.onChange=t=>{e(""==t?null:parseFloat(t))}}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}}N.\u0275fac=function(e){return new(e||N)(r.Nc(r.Y),r.Nc(r.v))},N.\u0275dir=r.Ic({type:N,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(e,t){1&e&&r.ad("input",function(e){return t.onChange(e.target.value)})("blur",function(){return t.onTouched()})},features:[r.yc([R])]}),N.ctorParameters=()=>[{type:r.Y},{type:r.v}];const H={provide:c,useExisting:Object(r.sb)(()=>V),multi:!0};class F{constructor(){this._accessors=[]}add(e,t){this._accessors.push([e,t])}remove(e){for(let t=this._accessors.length-1;t>=0;--t)if(this._accessors[t][1]===e)return void this._accessors.splice(t,1)}select(e){this._accessors.forEach(t=>{this._isSameGroup(t,e)&&t[1]!==e&&t[1].fireUncheck(e.value)})}_isSameGroup(e,t){return!!e[0].control&&(e[0]._parent===t._control._parent&&e[1].name===t.name)}}F.\u0275fac=function(e){return new(e||F)},F.\u0275prov=r.Jc({token:F,factory:F.\u0275fac});class V{constructor(e,t,n,r){this._renderer=e,this._elementRef=t,this._registry=n,this._injector=r,this.onChange=()=>{},this.onTouched=()=>{}}ngOnInit(){this._control=this._injector.get(L),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(e){this._state=e===this.value,this._renderer.setProperty(this._elementRef.nativeElement,"checked",this._state)}registerOnChange(e){this._fn=e,this.onChange=()=>{e(this.value),this._registry.select(this)}}fireUncheck(e){this.writeValue(e)}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}_checkName(){this.name&&this.formControlName&&(this.name,this.formControlName),!this.name&&this.formControlName&&(this.name=this.formControlName)}}V.\u0275fac=function(e){return new(e||V)(r.Nc(r.Y),r.Nc(r.v),r.Nc(F),r.Nc(r.F))},V.\u0275dir=r.Ic({type:V,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(e,t){1&e&&r.ad("change",function(){return t.onChange()})("blur",function(){return t.onTouched()})},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[r.yc([H])]}),V.ctorParameters=()=>[{type:r.Y},{type:r.v},{type:F},{type:r.F}],V.propDecorators={name:[{type:r.G}],formControlName:[{type:r.G}],value:[{type:r.G}]};const B={provide:c,useExisting:Object(r.sb)(()=>Y),multi:!0};class Y{constructor(e,t){this._renderer=e,this._elementRef=t,this.onChange=e=>{},this.onTouched=()=>{}}writeValue(e){this._renderer.setProperty(this._elementRef.nativeElement,"value",parseFloat(e))}registerOnChange(e){this.onChange=t=>{e(""==t?null:parseFloat(t))}}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}}Y.\u0275fac=function(e){return new(e||Y)(r.Nc(r.Y),r.Nc(r.v))},Y.\u0275dir=r.Ic({type:Y,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(e,t){1&e&&r.ad("change",function(e){return t.onChange(e.target.value)})("input",function(e){return t.onChange(e.target.value)})("blur",function(){return t.onTouched()})},features:[r.yc([B])]}),Y.ctorParameters=()=>[{type:r.Y},{type:r.v}];const U={provide:c,useExisting:Object(r.sb)(()=>q),multi:!0};function W(e,t){return null==e?""+t:(t&&"object"==typeof t&&(t="Object"),`${e}: ${t}`.slice(0,50))}class q{constructor(e,t){this._renderer=e,this._elementRef=t,this._optionMap=new Map,this._idCounter=0,this.onChange=e=>{},this.onTouched=()=>{},this._compareWith=Object.is}set compareWith(e){this._compareWith=e}writeValue(e){this.value=e;const t=this._getOptionId(e);null==t&&this._renderer.setProperty(this._elementRef.nativeElement,"selectedIndex",-1);const n=W(t,e);this._renderer.setProperty(this._elementRef.nativeElement,"value",n)}registerOnChange(e){this.onChange=t=>{this.value=this._getOptionValue(t),e(this.value)}}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}_registerOption(){return(this._idCounter++).toString()}_getOptionId(e){for(const t of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(t),e))return t;return null}_getOptionValue(e){const t=function(e){return e.split(":")[0]}(e);return this._optionMap.has(t)?this._optionMap.get(t):e}}q.\u0275fac=function(e){return new(e||q)(r.Nc(r.Y),r.Nc(r.v))},q.\u0275dir=r.Ic({type:q,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(e,t){1&e&&r.ad("change",function(e){return t.onChange(e.target.value)})("blur",function(){return t.onTouched()})},inputs:{compareWith:"compareWith"},features:[r.yc([U])]}),q.ctorParameters=()=>[{type:r.Y},{type:r.v}],q.propDecorators={compareWith:[{type:r.G}]};class ${constructor(e,t,n){this._element=e,this._renderer=t,this._select=n,this._select&&(this.id=this._select._registerOption())}set ngValue(e){null!=this._select&&(this._select._optionMap.set(this.id,e),this._setElementValue(W(this.id,e)),this._select.writeValue(this._select.value))}set value(e){this._setElementValue(e),this._select&&this._select.writeValue(this._select.value)}_setElementValue(e){this._renderer.setProperty(this._element.nativeElement,"value",e)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}$.\u0275fac=function(e){return new(e||$)(r.Nc(r.v),r.Nc(r.Y),r.Nc(q,9))},$.\u0275dir=r.Ic({type:$,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),$.ctorParameters=()=>[{type:r.v},{type:r.Y},{type:q,decorators:[{type:r.R},{type:r.y}]}],$.propDecorators={ngValue:[{type:r.G,args:["ngValue"]}],value:[{type:r.G,args:["value"]}]};const G={provide:c,useExisting:Object(r.sb)(()=>K),multi:!0};function X(e,t){return null==e?""+t:("string"==typeof t&&(t=`'${t}'`),t&&"object"==typeof t&&(t="Object"),`${e}: ${t}`.slice(0,50))}class K{constructor(e,t){this._renderer=e,this._elementRef=t,this._optionMap=new Map,this._idCounter=0,this.onChange=e=>{},this.onTouched=()=>{},this._compareWith=Object.is}set compareWith(e){this._compareWith=e}writeValue(e){let t;if(this.value=e,Array.isArray(e)){const n=e.map(e=>this._getOptionId(e));t=(e,t)=>{e._setSelected(n.indexOf(t.toString())>-1)}}else t=(e,t)=>{e._setSelected(!1)};this._optionMap.forEach(t)}registerOnChange(e){this.onChange=t=>{const n=[];if(void 0!==t.selectedOptions){const e=t.selectedOptions;for(let t=0;t<e.length;t++){const r=e.item(t),i=this._getOptionValue(r.value);n.push(i)}}else{const e=t.options;for(let t=0;t<e.length;t++){const r=e.item(t);if(r.selected){const e=this._getOptionValue(r.value);n.push(e)}}}this.value=n,e(n)}}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}_registerOption(e){const t=(this._idCounter++).toString();return this._optionMap.set(t,e),t}_getOptionId(e){for(const t of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(t)._value,e))return t;return null}_getOptionValue(e){const t=function(e){return e.split(":")[0]}(e);return this._optionMap.has(t)?this._optionMap.get(t)._value:e}}K.\u0275fac=function(e){return new(e||K)(r.Nc(r.Y),r.Nc(r.v))},K.\u0275dir=r.Ic({type:K,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(e,t){1&e&&r.ad("change",function(e){return t.onChange(e.target)})("blur",function(){return t.onTouched()})},inputs:{compareWith:"compareWith"},features:[r.yc([G])]}),K.ctorParameters=()=>[{type:r.Y},{type:r.v}],K.propDecorators={compareWith:[{type:r.G}]};class J{constructor(e,t,n){this._element=e,this._renderer=t,this._select=n,this._select&&(this.id=this._select._registerOption(this))}set ngValue(e){null!=this._select&&(this._value=e,this._setElementValue(X(this.id,e)),this._select.writeValue(this._select.value))}set value(e){this._select?(this._value=e,this._setElementValue(X(this.id,e)),this._select.writeValue(this._select.value)):this._setElementValue(e)}_setElementValue(e){this._renderer.setProperty(this._element.nativeElement,"value",e)}_setSelected(e){this._renderer.setProperty(this._element.nativeElement,"selected",e)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}function Q(e,t){return[...t.path,e]}function Z(e,t){ne(e,t,!0),t.valueAccessor.writeValue(e.value),function(e,t){t.valueAccessor.registerOnChange(n=>{e._pendingValue=n,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&ie(e,t)})}(e,t),function(e,t){const n=(e,n)=>{t.valueAccessor.writeValue(e),n&&t.viewToModelUpdate(e)};e.registerOnChange(n),t._registerOnDestroy(()=>{e._unregisterOnChange(n)})}(e,t),function(e,t){t.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&ie(e,t),"submit"!==e.updateOn&&e.markAsTouched()})}(e,t),function(e,t){if(t.valueAccessor.setDisabledState){const n=e=>{t.valueAccessor.setDisabledState(e)};e.registerOnDisabledChange(n),t._registerOnDestroy(()=>{e._unregisterOnDisabledChange(n)})}}(e,t)}function ee(e,t){const n=()=>{0};t.valueAccessor.registerOnChange(n),t.valueAccessor.registerOnTouched(n),re(e,t,!0),e&&(t._invokeOnDestroyCallbacks(),e._registerOnCollectionChange(()=>{}))}function te(e,t){e.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(t)})}function ne(e,t,n){const r=E(e);null!==t.validator?e.setValidators(M(r,t.validator)):"function"==typeof r&&e.setValidators([r]);const i=T(e);if(null!==t.asyncValidator?e.setAsyncValidators(M(i,t.asyncValidator)):"function"==typeof i&&e.setAsyncValidators([i]),n){const n=()=>e.updateValueAndValidity();te(t._rawValidators,n),te(t._rawAsyncValidators,n)}}function re(e,t,n){if(null!==e){if(null!==t.validator){const n=E(e);Array.isArray(n)&&n.length>0&&e.setValidators(n.filter(e=>e!==t.validator))}if(null!==t.asyncValidator){const n=T(e);Array.isArray(n)&&n.length>0&&e.setAsyncValidators(n.filter(e=>e!==t.asyncValidator))}}if(n){const e=()=>{};te(t._rawValidators,e),te(t._rawAsyncValidators,e)}}function ie(e,t){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function se(e,t){ne(e,t,!1)}function oe(e,t){if(!e.hasOwnProperty("model"))return!1;const n=e.model;return!!n.isFirstChange()||!Object.is(t,n.currentValue)}J.\u0275fac=function(e){return new(e||J)(r.Nc(r.v),r.Nc(r.Y),r.Nc(K,9))},J.\u0275dir=r.Ic({type:J,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),J.ctorParameters=()=>[{type:r.v},{type:r.Y},{type:K,decorators:[{type:r.R},{type:r.y}]}],J.propDecorators={ngValue:[{type:r.G,args:["ngValue"]}],value:[{type:r.G,args:["value"]}]};const ae=[u,Y,N,q,K,V];function ce(e,t){e._syncPendingControls(),t.forEach(e=>{const t=e.control;"submit"===t.updateOn&&t._pendingChange&&(e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1)})}function le(e,t){if(!t)return null;Array.isArray(t);let n=void 0,r=void 0,i=void 0;return t.forEach(e=>{var t;e.constructor===f?n=e:(t=e,ae.some(e=>t.constructor===e)?r=e:i=e)}),i||(r||(n||null))}function ue(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}const he="VALID",de="INVALID",fe="PENDING",pe="DISABLED";function me(e){return(be(e)?e.validators:e)||null}function ge(e){return Array.isArray(e)?k(e):e||null}function ve(e,t){return(be(t)?t.asyncValidators:e)||null}function ye(e){return Array.isArray(e)?C(e):e||null}function be(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}class _e{constructor(e,t){this._hasOwnPendingAsyncValidator=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=e,this._rawAsyncValidators=t,this._composedValidatorFn=ge(this._rawValidators),this._composedAsyncValidatorFn=ye(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn}set validator(e){this._rawValidators=this._composedValidatorFn=e}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(e){this._rawAsyncValidators=this._composedAsyncValidatorFn=e}get parent(){return this._parent}get valid(){return this.status===he}get invalid(){return this.status===de}get pending(){return this.status==fe}get disabled(){return this.status===pe}get enabled(){return this.status!==pe}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(e){this._rawValidators=e,this._composedValidatorFn=ge(e)}setAsyncValidators(e){this._rawAsyncValidators=e,this._composedAsyncValidatorFn=ye(e)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(e={}){this.touched=!0,this._parent&&!e.onlySelf&&this._parent.markAsTouched(e)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(e=>e.markAllAsTouched())}markAsUntouched(e={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(e=>{e.markAsUntouched({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}markAsDirty(e={}){this.pristine=!1,this._parent&&!e.onlySelf&&this._parent.markAsDirty(e)}markAsPristine(e={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(e=>{e.markAsPristine({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}markAsPending(e={}){this.status=fe,!1!==e.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!e.onlySelf&&this._parent.markAsPending(e)}disable(e={}){const t=this._parentMarkedDirty(e.onlySelf);this.status=pe,this.errors=null,this._forEachChild(t=>{t.disable(Object.assign(Object.assign({},e),{onlySelf:!0}))}),this._updateValue(),!1!==e.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},e),{skipPristineCheck:t})),this._onDisabledChange.forEach(e=>e(!0))}enable(e={}){const t=this._parentMarkedDirty(e.onlySelf);this.status=he,this._forEachChild(t=>{t.enable(Object.assign(Object.assign({},e),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},e),{skipPristineCheck:t})),this._onDisabledChange.forEach(e=>e(!1))}_updateAncestors(e){this._parent&&!e.onlySelf&&(this._parent.updateValueAndValidity(e),e.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(e){this._parent=e}updateValueAndValidity(e={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),this.status!==he&&this.status!==fe||this._runAsyncValidator(e.emitEvent)),!1!==e.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.updateValueAndValidity(e)}_updateTreeValidity(e={emitEvent:!0}){this._forEachChild(t=>t._updateTreeValidity(e)),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?pe:he}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(e){if(this.asyncValidator){this.status=fe,this._hasOwnPendingAsyncValidator=!0;const t=w(this.asyncValidator(this));this._asyncValidationSubscription=t.subscribe(t=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(t,{emitEvent:e})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(e,t={}){this.errors=e,this._updateControlsErrors(!1!==t.emitEvent)}get(e){return function(e,t,n){if(null==t)return null;if(Array.isArray(t)||(t=t.split(n)),Array.isArray(t)&&0===t.length)return null;let r=e;return t.forEach(e=>{r=r instanceof Se?r.controls.hasOwnProperty(e)?r.controls[e]:null:r instanceof xe&&r.at(e)||null}),r}(this,e,".")}getError(e,t){const n=t?this.get(t):this;return n&&n.errors?n.errors[e]:null}hasError(e,t){return!!this.getError(e,t)}get root(){let e=this;for(;e._parent;)e=e._parent;return e}_updateControlsErrors(e){this.status=this._calculateStatus(),e&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(e)}_initObservables(){this.valueChanges=new r.x,this.statusChanges=new r.x}_calculateStatus(){return this._allControlsDisabled()?pe:this.errors?de:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(fe)?fe:this._anyControlsHaveStatus(de)?de:he}_anyControlsHaveStatus(e){return this._anyControls(t=>t.status===e)}_anyControlsDirty(){return this._anyControls(e=>e.dirty)}_anyControlsTouched(){return this._anyControls(e=>e.touched)}_updatePristine(e={}){this.pristine=!this._anyControlsDirty(),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}_updateTouched(e={}){this.touched=this._anyControlsTouched(),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}_isBoxedValue(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}_registerOnCollectionChange(e){this._onCollectionChange=e}_setUpdateStrategy(e){be(e)&&null!=e.updateOn&&(this._updateOn=e.updateOn)}_parentMarkedDirty(e){const t=this._parent&&this._parent.dirty;return!e&&!!t&&!this._parent._anyControlsDirty()}}class we extends _e{constructor(e=null,t,n){super(me(t),ve(n,t)),this._onChange=[],this._applyFormState(e),this._setUpdateStrategy(t),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!n})}setValue(e,t={}){this.value=this._pendingValue=e,this._onChange.length&&!1!==t.emitModelToViewChange&&this._onChange.forEach(e=>e(this.value,!1!==t.emitViewToModelChange)),this.updateValueAndValidity(t)}patchValue(e,t={}){this.setValue(e,t)}reset(e=null,t={}){this._applyFormState(e),this.markAsPristine(t),this.markAsUntouched(t),this.setValue(this.value,t),this._pendingChange=!1}_updateValue(){}_anyControls(e){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(e){this._onChange.push(e)}_unregisterOnChange(e){ue(this._onChange,e)}registerOnDisabledChange(e){this._onDisabledChange.push(e)}_unregisterOnDisabledChange(e){ue(this._onDisabledChange,e)}_forEachChild(e){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange))&&(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0)}_applyFormState(e){this._isBoxedValue(e)?(this.value=this._pendingValue=e.value,e.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=e}}class Se extends _e{constructor(e,t,n){super(me(t),ve(n,t)),this.controls=e,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!n})}registerControl(e,t){return this.controls[e]?this.controls[e]:(this.controls[e]=t,t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange),t)}addControl(e,t){this.registerControl(e,t),this.updateValueAndValidity(),this._onCollectionChange()}removeControl(e){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],this.updateValueAndValidity(),this._onCollectionChange()}setControl(e,t){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],t&&this.registerControl(e,t),this.updateValueAndValidity(),this._onCollectionChange()}contains(e){return this.controls.hasOwnProperty(e)&&this.controls[e].enabled}setValue(e,t={}){this._checkAllValuesPresent(e),Object.keys(e).forEach(n=>{this._throwIfControlMissing(n),this.controls[n].setValue(e[n],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(e,t={}){Object.keys(e).forEach(n=>{this.controls[n]&&this.controls[n].patchValue(e[n],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}reset(e={},t={}){this._forEachChild((n,r)=>{n.reset(e[r],{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)}getRawValue(){return this._reduceChildren({},(e,t,n)=>(e[n]=t instanceof we?t.value:t.getRawValue(),e))}_syncPendingControls(){let e=this._reduceChildren(!1,(e,t)=>!!t._syncPendingControls()||e);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_throwIfControlMissing(e){if(!Object.keys(this.controls).length)throw new Error("\n        There are no form controls registered with this group yet. If you're using ngModel,\n        you may want to check next tick (e.g. use setTimeout).\n      ");if(!this.controls[e])throw new Error(`Cannot find form control with name: ${e}.`)}_forEachChild(e){Object.keys(this.controls).forEach(t=>e(this.controls[t],t))}_setUpControls(){this._forEachChild(e=>{e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(e){for(const t of Object.keys(this.controls)){const n=this.controls[t];if(this.contains(t)&&e(n))return!0}return!1}_reduceValue(){return this._reduceChildren({},(e,t,n)=>((t.enabled||this.disabled)&&(e[n]=t.value),e))}_reduceChildren(e,t){let n=e;return this._forEachChild((e,r)=>{n=t(n,e,r)}),n}_allControlsDisabled(){for(const e of Object.keys(this.controls))if(this.controls[e].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_checkAllValuesPresent(e){this._forEachChild((t,n)=>{if(void 0===e[n])throw new Error(`Must supply a value for form control with name: '${n}'.`)})}}class xe extends _e{constructor(e,t,n){super(me(t),ve(n,t)),this.controls=e,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!n})}at(e){return this.controls[e]}push(e){this.controls.push(e),this._registerControl(e),this.updateValueAndValidity(),this._onCollectionChange()}insert(e,t){this.controls.splice(e,0,t),this._registerControl(t),this.updateValueAndValidity()}removeAt(e){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),this.controls.splice(e,1),this.updateValueAndValidity()}setControl(e,t){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),this.controls.splice(e,1),t&&(this.controls.splice(e,0,t),this._registerControl(t)),this.updateValueAndValidity(),this._onCollectionChange()}get length(){return this.controls.length}setValue(e,t={}){this._checkAllValuesPresent(e),e.forEach((e,n)=>{this._throwIfControlMissing(n),this.at(n).setValue(e,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(e,t={}){e.forEach((e,n)=>{this.at(n)&&this.at(n).patchValue(e,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}reset(e=[],t={}){this._forEachChild((n,r)=>{n.reset(e[r],{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)}getRawValue(){return this.controls.map(e=>e instanceof we?e.value:e.getRawValue())}clear(){this.controls.length<1||(this._forEachChild(e=>e._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity())}_syncPendingControls(){let e=this.controls.reduce((e,t)=>!!t._syncPendingControls()||e,!1);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_throwIfControlMissing(e){if(!this.controls.length)throw new Error("\n        There are no form controls registered with this array yet. If you're using ngModel,\n        you may want to check next tick (e.g. use setTimeout).\n      ");if(!this.at(e))throw new Error("Cannot find form control at index "+e)}_forEachChild(e){this.controls.forEach((t,n)=>{e(t,n)})}_updateValue(){this.value=this.controls.filter(e=>e.enabled||this.disabled).map(e=>e.value)}_anyControls(e){return this.controls.some(t=>t.enabled&&e(t))}_setUpControls(){this._forEachChild(e=>this._registerControl(e))}_checkAllValuesPresent(e){this._forEachChild((t,n)=>{if(void 0===e[n])throw new Error(`Must supply a value for form control at index: ${n}.`)})}_allControlsDisabled(){for(const e of this.controls)if(e.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(e){e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)}}const Oe={provide:D,useExisting:Object(r.sb)(()=>Ce)},ke=Promise.resolve(null);class Ce extends D{constructor(e,t){super(),this.submitted=!1,this._directives=[],this.ngSubmit=new r.x,this.form=new Se({},k(e),C(t))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){ke.then(()=>{const t=this._findContainer(e.path);e.control=t.registerControl(e.name,e.control),Z(e.control,e),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.push(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){ke.then(()=>{const t=this._findContainer(e.path);t&&t.removeControl(e.name),ue(this._directives,e)})}addFormGroup(e){ke.then(()=>{const t=this._findContainer(e.path),n=new Se({});se(n,e),t.registerControl(e.name,n),n.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){ke.then(()=>{const t=this._findContainer(e.path);t&&t.removeControl(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,t){ke.then(()=>{this.form.get(e.path).setValue(t)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submitted=!0,ce(this.form,this._directives),this.ngSubmit.emit(e),!1}onReset(){this.resetForm()}resetForm(e){this.form.reset(e),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(e){return e.pop(),e.length?this.form.get(e):this.form}}Ce.\u0275fac=function(e){return new(e||Ce)(r.Nc(g,10),r.Nc(v,10))},Ce.\u0275dir=r.Ic({type:Ce,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(e,t){1&e&&r.ad("submit",function(e){return t.onSubmit(e)})("reset",function(){return t.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[r.yc([Oe]),r.wc]}),Ce.ctorParameters=()=>[{type:Array,decorators:[{type:r.R},{type:r.db},{type:r.C,args:[g]}]},{type:Array,decorators:[{type:r.R},{type:r.db},{type:r.C,args:[v]}]}],Ce.propDecorators={options:[{type:r.G,args:["ngFormOptions"]}]};class Me extends D{ngOnInit(){this._checkParentType(),this.formDirective.addFormGroup(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormGroup(this)}get control(){return this.formDirective.getFormGroup(this)}get path(){return Q(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}}Me.\u0275fac=function(e){return Ee(e||Me)},Me.\u0275dir=r.Ic({type:Me,features:[r.wc]});const Ee=r.Vc(Me);const Te={provide:D,useExisting:Object(r.sb)(()=>je)};class je extends Me{constructor(e,t,n){super(),this._parent=e,this._setValidators(t),this._setAsyncValidators(n)}_checkParentType(){!(this._parent instanceof je)&&this._parent,0}}je.\u0275fac=function(e){return new(e||je)(r.Nc(D,5),r.Nc(g,10),r.Nc(v,10))},je.\u0275dir=r.Ic({type:je,selectors:[["","ngModelGroup",""]],inputs:{name:["ngModelGroup","name"]},exportAs:["ngModelGroup"],features:[r.yc([Te]),r.wc]}),je.ctorParameters=()=>[{type:D,decorators:[{type:r.y},{type:r.eb}]},{type:Array,decorators:[{type:r.R},{type:r.db},{type:r.C,args:[g]}]},{type:Array,decorators:[{type:r.R},{type:r.db},{type:r.C,args:[v]}]}],je.propDecorators={name:[{type:r.G,args:["ngModelGroup"]}]};const De={provide:L,useExisting:Object(r.sb)(()=>Le)},Ae=Promise.resolve(null);class Le extends L{constructor(e,t,n,i){super(),this.control=new we,this._registered=!1,this.update=new r.x,this._parent=e,this._setValidators(t),this._setAsyncValidators(n),this.valueAccessor=le(0,i)}ngOnChanges(e){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in e&&this._updateDisabled(e),oe(e,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._parent?Q(this.name,this._parent):[this.name]}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){Z(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){0}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),!this._isStandalone()&&this.name}_updateValue(e){Ae.then(()=>{this.control.setValue(e,{emitViewToModelChange:!1})})}_updateDisabled(e){const t=e.isDisabled.currentValue,n=""===t||t&&"false"!==t;Ae.then(()=>{n&&!this.control.disabled?this.control.disable():!n&&this.control.disabled&&this.control.enable()})}}Le.\u0275fac=function(e){return new(e||Le)(r.Nc(D,9),r.Nc(g,10),r.Nc(v,10),r.Nc(c,10))},Le.\u0275dir=r.Ic({type:Le,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[r.yc([De]),r.wc,r.xc]}),Le.ctorParameters=()=>[{type:D,decorators:[{type:r.R},{type:r.y}]},{type:Array,decorators:[{type:r.R},{type:r.db},{type:r.C,args:[g]}]},{type:Array,decorators:[{type:r.R},{type:r.db},{type:r.C,args:[v]}]},{type:Array,decorators:[{type:r.R},{type:r.db},{type:r.C,args:[c]}]}],Le.propDecorators={name:[{type:r.G}],isDisabled:[{type:r.G,args:["disabled"]}],model:[{type:r.G,args:["ngModel"]}],options:[{type:r.G,args:["ngModelOptions"]}],update:[{type:r.S,args:["ngModelChange"]}]};class ze{}ze.\u0275fac=function(e){return new(e||ze)},ze.\u0275dir=r.Ic({type:ze,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]});const Pe=new r.E("NgModelWithFormControlWarning"),Ie={provide:L,useExisting:Object(r.sb)(()=>Re)};class Re extends L{constructor(e,t,n,i){super(),this._ngModelWarningConfig=i,this.update=new r.x,this._ngModelWarningSent=!1,this._setValidators(e),this._setAsyncValidators(t),this.valueAccessor=le(0,n)}set isDisabled(e){0}ngOnChanges(e){this._isControlChanged(e)&&(Z(this.form,this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this.form.updateValueAndValidity({emitEvent:!1})),oe(e,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}get path(){return[]}get control(){return this.form}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_isControlChanged(e){return e.hasOwnProperty("form")}}Re.\u0275fac=function(e){return new(e||Re)(r.Nc(g,10),r.Nc(v,10),r.Nc(c,10),r.Nc(Pe,8))},Re.\u0275dir=r.Ic({type:Re,selectors:[["","formControl",""]],inputs:{isDisabled:["disabled","isDisabled"],form:["formControl","form"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[r.yc([Ie]),r.wc,r.xc]}),Re._ngModelWarningSentOnce=!1,Re.ctorParameters=()=>[{type:Array,decorators:[{type:r.R},{type:r.db},{type:r.C,args:[g]}]},{type:Array,decorators:[{type:r.R},{type:r.db},{type:r.C,args:[v]}]},{type:Array,decorators:[{type:r.R},{type:r.db},{type:r.C,args:[c]}]},{type:String,decorators:[{type:r.R},{type:r.C,args:[Pe]}]}],Re.propDecorators={form:[{type:r.G,args:["formControl"]}],isDisabled:[{type:r.G,args:["disabled"]}],model:[{type:r.G,args:["ngModel"]}],update:[{type:r.S,args:["ngModelChange"]}]};const Ne={provide:D,useExisting:Object(r.sb)(()=>He)};class He extends D{constructor(e,t){super(),this.validators=e,this.asyncValidators=t,this.submitted=!1,this.directives=[],this.form=null,this.ngSubmit=new r.x,this._setValidators(e),this._setAsyncValidators(t)}ngOnChanges(e){this._checkFormPresent(),e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(e){const t=this.form.get(e.path);return Z(t,e),t.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),t}getControl(e){return this.form.get(e.path)}removeControl(e){ue(this.directives,e)}addFormGroup(e){const t=this.form.get(e.path);se(t,e),t.updateValueAndValidity({emitEvent:!1})}removeFormGroup(e){}getFormGroup(e){return this.form.get(e.path)}addFormArray(e){const t=this.form.get(e.path);se(t,e),t.updateValueAndValidity({emitEvent:!1})}removeFormArray(e){}getFormArray(e){return this.form.get(e.path)}updateModel(e,t){this.form.get(e.path).setValue(t)}onSubmit(e){return this.submitted=!0,ce(this.form,this.directives),this.ngSubmit.emit(e),!1}onReset(){this.resetForm()}resetForm(e){this.form.reset(e),this.submitted=!1}_updateDomValue(){this.directives.forEach(e=>{const t=this.form.get(e.path);e.control!==t&&(ee(e.control||null,e),t&&Z(t,e),e.control=t)}),this.form._updateTreeValidity({emitEvent:!1})}_updateRegistrations(){this.form._registerOnCollectionChange(()=>this._updateDomValue()),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){ne(this.form,this,!1),this._oldForm&&re(this._oldForm,this,!1)}_checkFormPresent(){this.form,0}}He.\u0275fac=function(e){return new(e||He)(r.Nc(g,10),r.Nc(v,10))},He.\u0275dir=r.Ic({type:He,selectors:[["","formGroup",""]],hostBindings:function(e,t){1&e&&r.ad("submit",function(e){return t.onSubmit(e)})("reset",function(){return t.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[r.yc([Ne]),r.wc,r.xc]}),He.ctorParameters=()=>[{type:Array,decorators:[{type:r.R},{type:r.db},{type:r.C,args:[g]}]},{type:Array,decorators:[{type:r.R},{type:r.db},{type:r.C,args:[v]}]}],He.propDecorators={form:[{type:r.G,args:["formGroup"]}],ngSubmit:[{type:r.S}]};const Fe={provide:D,useExisting:Object(r.sb)(()=>Ve)};class Ve extends Me{constructor(e,t,n){super(),this._parent=e,this._setValidators(t),this._setAsyncValidators(n)}_checkParentType(){Ue(this._parent),0}}Ve.\u0275fac=function(e){return new(e||Ve)(r.Nc(D,13),r.Nc(g,10),r.Nc(v,10))},Ve.\u0275dir=r.Ic({type:Ve,selectors:[["","formGroupName",""]],inputs:{name:["formGroupName","name"]},features:[r.yc([Fe]),r.wc]}),Ve.ctorParameters=()=>[{type:D,decorators:[{type:r.R},{type:r.y},{type:r.eb}]},{type:Array,decorators:[{type:r.R},{type:r.db},{type:r.C,args:[g]}]},{type:Array,decorators:[{type:r.R},{type:r.db},{type:r.C,args:[v]}]}],Ve.propDecorators={name:[{type:r.G,args:["formGroupName"]}]};const Be={provide:D,useExisting:Object(r.sb)(()=>Ye)};class Ye extends D{constructor(e,t,n){super(),this._parent=e,this._setValidators(t),this._setAsyncValidators(n)}ngOnInit(){this._checkParentType(),this.formDirective.addFormArray(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormArray(this)}get control(){return this.formDirective.getFormArray(this)}get formDirective(){return this._parent?this._parent.formDirective:null}get path(){return Q(null==this.name?this.name:this.name.toString(),this._parent)}_checkParentType(){Ue(this._parent),0}}function Ue(e){return!(e instanceof Ve||e instanceof He||e instanceof Ye)}Ye.\u0275fac=function(e){return new(e||Ye)(r.Nc(D,13),r.Nc(g,10),r.Nc(v,10))},Ye.\u0275dir=r.Ic({type:Ye,selectors:[["","formArrayName",""]],inputs:{name:["formArrayName","name"]},features:[r.yc([Be]),r.wc]}),Ye.ctorParameters=()=>[{type:D,decorators:[{type:r.R},{type:r.y},{type:r.eb}]},{type:Array,decorators:[{type:r.R},{type:r.db},{type:r.C,args:[g]}]},{type:Array,decorators:[{type:r.R},{type:r.db},{type:r.C,args:[v]}]}],Ye.propDecorators={name:[{type:r.G,args:["formArrayName"]}]};const We={provide:L,useExisting:Object(r.sb)(()=>qe)};class qe extends L{constructor(e,t,n,i,s){super(),this._ngModelWarningConfig=s,this._added=!1,this.update=new r.x,this._ngModelWarningSent=!1,this._parent=e,this._setValidators(t),this._setAsyncValidators(n),this.valueAccessor=le(0,i)}set isDisabled(e){0}ngOnChanges(e){this._added||this._setUpControl(),oe(e,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}get path(){return Q(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){0}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this._added=!0}}qe.\u0275fac=function(e){return new(e||qe)(r.Nc(D,13),r.Nc(g,10),r.Nc(v,10),r.Nc(c,10),r.Nc(Pe,8))},qe.\u0275dir=r.Ic({type:qe,selectors:[["","formControlName",""]],inputs:{isDisabled:["disabled","isDisabled"],name:["formControlName","name"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[r.yc([We]),r.wc,r.xc]}),qe._ngModelWarningSentOnce=!1,qe.ctorParameters=()=>[{type:D,decorators:[{type:r.R},{type:r.y},{type:r.eb}]},{type:Array,decorators:[{type:r.R},{type:r.db},{type:r.C,args:[g]}]},{type:Array,decorators:[{type:r.R},{type:r.db},{type:r.C,args:[v]}]},{type:Array,decorators:[{type:r.R},{type:r.db},{type:r.C,args:[c]}]},{type:String,decorators:[{type:r.R},{type:r.C,args:[Pe]}]}],qe.propDecorators={name:[{type:r.G,args:["formControlName"]}],isDisabled:[{type:r.G,args:["disabled"]}],model:[{type:r.G,args:["ngModel"]}],update:[{type:r.S,args:["ngModelChange"]}]};const $e={provide:g,useExisting:Object(r.sb)(()=>Xe),multi:!0},Ge={provide:g,useExisting:Object(r.sb)(()=>Ke),multi:!0};class Xe{constructor(){this._required=!1}get required(){return this._required}set required(e){this._required=null!=e&&!1!==e&&""+e!="false",this._onChange&&this._onChange()}validate(e){return this.required?b.required(e):null}registerOnValidatorChange(e){this._onChange=e}}Xe.\u0275fac=function(e){return new(e||Xe)},Xe.\u0275dir=r.Ic({type:Xe,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(e,t){2&e&&r.Ac("required",t.required?"":null)},inputs:{required:"required"},features:[r.yc([$e])]}),Xe.propDecorators={required:[{type:r.G}]};class Ke extends Xe{validate(e){return this.required?b.requiredTrue(e):null}}Ke.\u0275fac=function(e){return Je(e||Ke)},Ke.\u0275dir=r.Ic({type:Ke,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(e,t){2&e&&r.Ac("required",t.required?"":null)},features:[r.yc([Ge]),r.wc]});const Je=r.Vc(Ke),Qe={provide:g,useExisting:Object(r.sb)(()=>Ze),multi:!0};class Ze{constructor(){this._enabled=!1}set email(e){this._enabled=""===e||!0===e||"true"===e,this._onChange&&this._onChange()}validate(e){return this._enabled?b.email(e):null}registerOnValidatorChange(e){this._onChange=e}}Ze.\u0275fac=function(e){return new(e||Ze)},Ze.\u0275dir=r.Ic({type:Ze,selectors:[["","email","","formControlName",""],["","email","","formControl",""],["","email","","ngModel",""]],inputs:{email:"email"},features:[r.yc([Qe])]}),Ze.propDecorators={email:[{type:r.G}]};const et={provide:g,useExisting:Object(r.sb)(()=>tt),multi:!0};class tt{constructor(){this._validator=b.nullValidator}ngOnChanges(e){"minlength"in e&&(this._createValidator(),this._onChange&&this._onChange())}validate(e){return null==this.minlength?null:this._validator(e)}registerOnValidatorChange(e){this._onChange=e}_createValidator(){this._validator=b.minLength("number"==typeof this.minlength?this.minlength:parseInt(this.minlength,10))}}tt.\u0275fac=function(e){return new(e||tt)},tt.\u0275dir=r.Ic({type:tt,selectors:[["","minlength","","formControlName",""],["","minlength","","formControl",""],["","minlength","","ngModel",""]],hostVars:1,hostBindings:function(e,t){2&e&&r.Ac("minlength",t.minlength?t.minlength:null)},inputs:{minlength:"minlength"},features:[r.yc([et]),r.xc]}),tt.propDecorators={minlength:[{type:r.G}]};const nt={provide:g,useExisting:Object(r.sb)(()=>rt),multi:!0};class rt{constructor(){this._validator=b.nullValidator}ngOnChanges(e){"maxlength"in e&&(this._createValidator(),this._onChange&&this._onChange())}validate(e){return null!=this.maxlength?this._validator(e):null}registerOnValidatorChange(e){this._onChange=e}_createValidator(){this._validator=b.maxLength("number"==typeof this.maxlength?this.maxlength:parseInt(this.maxlength,10))}}rt.\u0275fac=function(e){return new(e||rt)},rt.\u0275dir=r.Ic({type:rt,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(e,t){2&e&&r.Ac("maxlength",t.maxlength?t.maxlength:null)},inputs:{maxlength:"maxlength"},features:[r.yc([nt]),r.xc]}),rt.propDecorators={maxlength:[{type:r.G}]};const it={provide:g,useExisting:Object(r.sb)(()=>st),multi:!0};class st{constructor(){this._validator=b.nullValidator}ngOnChanges(e){"pattern"in e&&(this._createValidator(),this._onChange&&this._onChange())}validate(e){return this._validator(e)}registerOnValidatorChange(e){this._onChange=e}_createValidator(){this._validator=b.pattern(this.pattern)}}st.\u0275fac=function(e){return new(e||st)},st.\u0275dir=r.Ic({type:st,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(e,t){2&e&&r.Ac("pattern",t.pattern?t.pattern:null)},inputs:{pattern:"pattern"},features:[r.yc([it]),r.xc]}),st.propDecorators={pattern:[{type:r.G}]};class ot{}ot.\u0275mod=r.Lc({type:ot}),ot.\u0275inj=r.Kc({factory:function(e){return new(e||ot)}}),("undefined"==typeof ngJitMode||ngJitMode)&&r.Bd(ot,{declarations:[ze,$,J,f,N,Y,u,q,K,V,P,I,Xe,tt,rt,st,Ke,Ze],exports:[ze,$,J,f,N,Y,u,q,K,V,P,I,Xe,tt,rt,st,Ke,Ze]});class at{group(e,t=null){const n=this._reduceControls(e);let r=null,i=null,s=void 0;return null!=t&&(!function(e){return void 0!==e.asyncValidators||void 0!==e.validators||void 0!==e.updateOn}(t)?(r=null!=t.validator?t.validator:null,i=null!=t.asyncValidator?t.asyncValidator:null):(r=null!=t.validators?t.validators:null,i=null!=t.asyncValidators?t.asyncValidators:null,s=null!=t.updateOn?t.updateOn:void 0)),new Se(n,{asyncValidators:i,updateOn:s,validators:r})}control(e,t,n){return new we(e,t,n)}array(e,t,n){const r=e.map(e=>this._createControl(e));return new xe(r,t,n)}_reduceControls(e){const t={};return Object.keys(e).forEach(n=>{t[n]=this._createControl(e[n])}),t}_createControl(e){if(e instanceof we||e instanceof Se||e instanceof xe)return e;if(Array.isArray(e)){const t=e[0],n=e.length>1?e[1]:null,r=e.length>2?e[2]:null;return this.control(t,n,r)}return this.control(e)}}at.\u0275fac=function(e){return new(e||at)},at.\u0275prov=r.Jc({token:at,factory:at.\u0275fac});new r.lb("11.0.9");class ct{}ct.\u0275mod=r.Lc({type:ct}),ct.\u0275inj=r.Kc({factory:function(e){return new(e||ct)},providers:[F],imports:[ot]}),("undefined"==typeof ngJitMode||ngJitMode)&&r.Bd(ct,{declarations:[Le,je,Ce],exports:[ot,Le,je,Ce]});class lt{static withConfig(e){return{ngModule:lt,providers:[{provide:Pe,useValue:e.warnOnNgModelWithFormControl}]}}}lt.\u0275mod=r.Lc({type:lt}),lt.\u0275inj=r.Kc({factory:function(e){return new(e||lt)},providers:[at,F],imports:[ot]}),("undefined"==typeof ngJitMode||ngJitMode)&&r.Bd(lt,{declarations:[Re,He,qe,Ve,Ye],exports:[ot,Re,He,qe,Ve,Ye]})},"3REe":function(e,t,n){"use strict";n.d(t,"a",function(){return s}),n.d(t,"b",function(){return o}),n.d(t,"c",function(){return a});var r=["D","DD"],i=["YY","YYYY"];function s(e){return-1!==r.indexOf(e)}function o(e){return-1!==i.indexOf(e)}function a(e,t,n){if("YYYY"===e)throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(t,"`) for formatting years to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("YY"===e)throw new RangeError("Use `yy` instead of `YY` (in `".concat(t,"`) for formatting years to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("D"===e)throw new RangeError("Use `d` instead of `D` (in `".concat(t,"`) for formatting days of the month to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("DD"===e)throw new RangeError("Use `dd` instead of `DD` (in `".concat(t,"`) for formatting days of the month to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))}},"3UD+":function(e,t){e.exports=function(e){if(!e.webpackPolyfill){var t=Object.create(e);t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),Object.defineProperty(t,"exports",{enumerable:!0}),t.webpackPolyfill=1}return t}},"3UWI":function(e,t,n){"use strict";n.d(t,"a",function(){return c});var r=n("D0XW"),i=n("zx2A");class s{constructor(e){this.durationSelector=e}call(e,t){return t.subscribe(new o(e,this.durationSelector))}}class o extends i.b{constructor(e,t){super(e),this.durationSelector=t,this.hasValue=!1}_next(e){if(this.value=e,this.hasValue=!0,!this.throttled){let n;try{const{durationSelector:t}=this;n=t(e)}catch(t){return this.destination.error(t)}const r=Object(i.c)(n,new i.a(this));!r||r.closed?this.clearThrottle():this.add(this.throttled=r)}}clearThrottle(){const{value:e,hasValue:t,throttled:n}=this;n&&(this.remove(n),this.throttled=void 0,n.unsubscribe()),t&&(this.value=void 0,this.hasValue=!1,this.destination.next(e))}notifyNext(){this.clearThrottle()}notifyComplete(){this.clearThrottle()}}var a=n("PqYM");function c(e,t=r.a){return n=()=>Object(a.a)(e,t),function(e){return e.lift(new s(n))};var n}},"3qm1":function(e,t,n){"use strict";n.d(t,"a",function(){return s});var r=n("xwJx"),i=n("mjQ1");const s={class:"46cda91b-7f18-490b-b4ad-33fbc421a6b4",root:r.w.entities.root.id,collection:r.w.entities.collection,properties:Object.assign(Object.assign({},r.w.entities.attributes),{created:"afb7ee38-c5b6-11e9-bdef-0242ac110002",registryNumberSPZ:"a0366b0b-f47b-4b8f-b9a2-9be393a1705c",organizationCode:"34697e4f-135c-45c4-9a0c-61cecd83ef4b",type:{id:"f359e054-1773-4e33-84e1-54ca3b79c399",map:i.b.option},name:"ab07a132-ca5a-11e9-a094-0242ac110002",fullName:"ddef86c5-6835-43d4-b87d-5d1e693917fb",OKOPFcode:"728fdcb8-fdeb-4ad8-957f-fea5ea71377b",orgForm:"04cc2896-f3e7-48a5-9b72-5a84a9098a21",regNumber:"b47177d1-3c5a-4cfa-b008-bab5dd2f8443",govRegDate:"185710c3-6a5a-416c-89e3-aabee3a00d69",INN:"526e57d4-fc0e-4ca6-81bd-d0028f663a50",OGRN:"f9fab819-5ea6-4538-8d24-b14e00286b23",OKPO:"2cb1a7f9-beb1-4181-9401-18b4ad4ed6da",OGRNIP:"a921f90d-f066-459a-ac90-8df7187ba4b6",postAddress:"1b97b756-1ee3-4cbc-b9ee-a4ff6cd12ef7",lawAddress:"0496b0b1-ae56-4249-a00e-ce9c58c73be8",factAddress:"f6f95243-e2a7-42c4-b288-fddc55e4f2d4",phone:"a54139da-d3d5-42da-a2e2-f3cddc20ab43",email:"fea938a0-e4c2-4b3c-b2aa-791784e2e845",surname:"e232253a-ffbc-4e4f-9dd3-21d926398fc9",patronymic:"baa37cab-bb3a-4bd5-a7d6-20d304948cbb",passportSeries:"86a8d826-0d22-4c79-a565-aa1f952e81be",passportNumber:"38a6b664-1521-46c3-8b7d-4a70181dba7a",birthday:"aca2b205-e67f-46e8-98ad-649c3ccb35bc",dateFinished:"9aa3862e-463c-448b-a663-bbd301f3c487"})}},"48Xl":function(e,t,n){"use strict";var r={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},i=function(e,t,n){var i,s=r[e];return i="string"==typeof s?s:1===t?s.one:s.other.replace("{{count}}",t.toString()),null!=n&&n.addSuffix?n.comparison&&n.comparison>0?"in "+i:i+" ago":i},s=n("zMQz"),o={date:Object(s.a)({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:Object(s.a)({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:Object(s.a)({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},a={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},c=function(e,t,n,r){return a[e]},l=n("ku8+"),u={ordinalNumber:function(e,t){var n=Number(e),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:Object(l.a)({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:Object(l.a)({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:Object(l.a)({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:Object(l.a)({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:Object(l.a)({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})},h=n("wzM+"),d=n("vRX4"),f={code:"en-US",formatDistance:i,formatLong:o,formatRelative:c,localize:u,match:{ordinalNumber:Object(d.a)({matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}}),era:Object(h.a)({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:Object(h.a)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:Object(h.a)({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:Object(h.a)({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:Object(h.a)({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}};t.a=f},"4I5i":function(e,t,n){"use strict";n.d(t,"a",function(){return r});const r=(()=>{function e(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return e.prototype=Object.create(Error.prototype),e})()},"4MV3":function(e,t,n){!function(e){"use strict";var t={1:"\u0ae7",2:"\u0ae8",3:"\u0ae9",4:"\u0aea",5:"\u0aeb",6:"\u0aec",7:"\u0aed",8:"\u0aee",9:"\u0aef",0:"\u0ae6"},n={"\u0ae7":"1","\u0ae8":"2","\u0ae9":"3","\u0aea":"4","\u0aeb":"5","\u0aec":"6","\u0aed":"7","\u0aee":"8","\u0aef":"9","\u0ae6":"0"};e.defineLocale("gu",{months:"\u0a9c\u0abe\u0aa8\u0acd\u0aaf\u0ac1\u0a86\u0ab0\u0ac0_\u0aab\u0ac7\u0aac\u0acd\u0ab0\u0ac1\u0a86\u0ab0\u0ac0_\u0aae\u0abe\u0ab0\u0acd\u0a9a_\u0a8f\u0aaa\u0acd\u0ab0\u0abf\u0ab2_\u0aae\u0ac7_\u0a9c\u0ac2\u0aa8_\u0a9c\u0ac1\u0ab2\u0abe\u0a88_\u0a91\u0a97\u0ab8\u0acd\u0a9f_\u0ab8\u0aaa\u0acd\u0a9f\u0ac7\u0aae\u0acd\u0aac\u0ab0_\u0a91\u0a95\u0acd\u0a9f\u0acd\u0aac\u0ab0_\u0aa8\u0ab5\u0ac7\u0aae\u0acd\u0aac\u0ab0_\u0aa1\u0abf\u0ab8\u0ac7\u0aae\u0acd\u0aac\u0ab0".split("_"),monthsShort:"\u0a9c\u0abe\u0aa8\u0acd\u0aaf\u0ac1._\u0aab\u0ac7\u0aac\u0acd\u0ab0\u0ac1._\u0aae\u0abe\u0ab0\u0acd\u0a9a_\u0a8f\u0aaa\u0acd\u0ab0\u0abf._\u0aae\u0ac7_\u0a9c\u0ac2\u0aa8_\u0a9c\u0ac1\u0ab2\u0abe._\u0a91\u0a97._\u0ab8\u0aaa\u0acd\u0a9f\u0ac7._\u0a91\u0a95\u0acd\u0a9f\u0acd._\u0aa8\u0ab5\u0ac7._\u0aa1\u0abf\u0ab8\u0ac7.".split("_"),monthsParseExact:!0,weekdays:"\u0ab0\u0ab5\u0abf\u0ab5\u0abe\u0ab0_\u0ab8\u0acb\u0aae\u0ab5\u0abe\u0ab0_\u0aae\u0a82\u0a97\u0ab3\u0ab5\u0abe\u0ab0_\u0aac\u0ac1\u0aa7\u0acd\u0ab5\u0abe\u0ab0_\u0a97\u0ac1\u0ab0\u0ac1\u0ab5\u0abe\u0ab0_\u0ab6\u0ac1\u0a95\u0acd\u0ab0\u0ab5\u0abe\u0ab0_\u0ab6\u0aa8\u0abf\u0ab5\u0abe\u0ab0".split("_"),weekdaysShort:"\u0ab0\u0ab5\u0abf_\u0ab8\u0acb\u0aae_\u0aae\u0a82\u0a97\u0ab3_\u0aac\u0ac1\u0aa7\u0acd_\u0a97\u0ac1\u0ab0\u0ac1_\u0ab6\u0ac1\u0a95\u0acd\u0ab0_\u0ab6\u0aa8\u0abf".split("_"),weekdaysMin:"\u0ab0_\u0ab8\u0acb_\u0aae\u0a82_\u0aac\u0ac1_\u0a97\u0ac1_\u0ab6\u0ac1_\u0ab6".split("_"),longDateFormat:{LT:"A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",LTS:"A h:mm:ss \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",LLLL:"dddd, D MMMM YYYY, A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7"},calendar:{sameDay:"[\u0a86\u0a9c] LT",nextDay:"[\u0a95\u0abe\u0ab2\u0ac7] LT",nextWeek:"dddd, LT",lastDay:"[\u0a97\u0a87\u0a95\u0abe\u0ab2\u0ac7] LT",lastWeek:"[\u0aaa\u0abe\u0a9b\u0ab2\u0abe] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0aae\u0abe",past:"%s \u0aaa\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(e){return e.replace(/[\u0ae7\u0ae8\u0ae9\u0aea\u0aeb\u0aec\u0aed\u0aee\u0aef\u0ae6]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/\u0ab0\u0abe\u0aa4|\u0aac\u0aaa\u0acb\u0ab0|\u0ab8\u0ab5\u0abe\u0ab0|\u0ab8\u0abe\u0a82\u0a9c/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u0ab0\u0abe\u0aa4"===t?e<4?e:e+12:"\u0ab8\u0ab5\u0abe\u0ab0"===t?e:"\u0aac\u0aaa\u0acb\u0ab0"===t?e>=10?e:e+12:"\u0ab8\u0abe\u0a82\u0a9c"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"\u0ab0\u0abe\u0aa4":e<10?"\u0ab8\u0ab5\u0abe\u0ab0":e<17?"\u0aac\u0aaa\u0acb\u0ab0":e<20?"\u0ab8\u0abe\u0a82\u0a9c":"\u0ab0\u0abe\u0aa4"},week:{dow:0,doy:6}})}(n("wd/R"))},"4dOw":function(e,t,n){!function(e){"use strict";e.defineLocale("en-ie",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n("wd/R"))},"4lKt":function(e,t,n){"use strict";n.d(t,"a",function(){return d});var r=n("mrSG"),i=n("fXoL"),s=n("2Vo4"),o=n("XNiG"),a=n("JX91"),c=n("Zy1z"),l=n("pLZG"),u=n("lJxs"),h=n("ULKQ");let d=class{constructor(e){this.folderTypes=e,this.rootConductor=new s.a(null),this.rootAgreement=new s.a(null),this.openedDoc=new s.a({doc:void 0}),this.docTypeId=new s.a(0),this.docs=new s.a([]),this.nextDoc=new o.a,this.cache=new Map,this.reload$=new s.a(0),this.reloadChild$=new s.a(0),this.isReload=!1,this.import$=new o.a,this.uploadDocs$=new o.a,this.uploadFolder$=new o.a,this.uploadParent=0,this.isStage=!1,this.parent$=new o.a,this.projects=[],this.update$=new o.a,this.project$=new s.a(null),this.headerTitle$=new s.a(""),this.opneInfo=!1,this.setOfCheckedFoldersChild=new Map,this.projectClassifiers={},this.isSetTag=!1}getRootConductor(){return this.rootConductor.asObservable().pipe(Object(a.a)({id:0}),Object(c.a)(),Object(l.a)(([e,t])=>(null==e?void 0:e.id)!==(null==t?void 0:t.id)),Object(u.a)(([e,t])=>t))}setRootConductor(e){this.rootConductor.next(e)}getOpenedDoc(){return this.openedDoc.asObservable().pipe(Object(a.a)({doc:void 0}),Object(c.a)(),Object(l.a)(([e,t])=>{var n,r;return(null===(n=null==e?void 0:e.doc)||void 0===n?void 0:n.id)!==(null===(r=null==t?void 0:t.doc)||void 0===r?void 0:r.id)}),Object(u.a)(([e,t])=>t))}setOpenedDoc(e){this.openedDoc.next(e)}getDocTypeId(){return this.docTypeId.asObservable()}setDocTypeId(e){this.docTypeId.next(e)}getImport(){return this.import$.asObservable()}setImport(e){this.import$.next(e)}getParent(){return this.parent$.asObservable()}setParent(){this.parent$.next()}getUploadDocs(){return this.uploadDocs$.asObservable()}setUploadDocs(){this.uploadDocs$.next()}getUploadFolder(){return this.uploadFolder$.asObservable()}setUploadFolder(){this.uploadFolder$.next()}getNextDoc(){return this.nextDoc.asObservable()}setNextDoc(e,t){this.nextDoc.next({next:e,docId:t})}setDocs(e){this.docs.next(e)}getDocs(){return this.docs.asObservable()}setProject(e){this.project$.next(e)}getProject(){return this.project$.asObservable().pipe(Object(l.a)(e=>!!e))}getProjectWithoutFilter(){return this.project$.asObservable()}getProjectPromise(){return Object(r.a)(this,void 0,void 0,function*(){return yield this.project$.toPromise()})}setHeaderTitle(e){this.headerTitle$.next(e)}getHeaderTitle(){return this.headerTitle$.asObservable()}setUpdateProjects(e){this.update$.next(e)}getUpdateProjects(){return this.update$.asObservable()}openImport(e){return Object(r.a)(this,void 0,void 0,function*(){(yield this.folderTypes.getCollection(e)).items.find(e=>e.isDoc)&&this.setImport({})})}setChecked(e,t,n){if(this.setOfCheckedFoldersChild.set(t.id.toString(),{all:!0,indeterminate:!1,child:[],file:t}),this.setOfCheckedFoldersChild.has(n.toString())){const r=this.setOfCheckedFoldersChild.get(n.toString());r&&(r.child.push(t),r.all=e.length===r.child.length,r.indeterminate=!!r.child.length&&!r.all),this.setOfCheckedFoldersChild.set(n.toString(),r)}const r=Array.from(this.setOfCheckedFoldersChild.entries()).map(([e,t])=>({key:e,val:t}));localStorage.setItem("selected-files",JSON.stringify(r))}initialMap(e){this.setOfCheckedFoldersChild.has(e.toString())||this.setOfCheckedFoldersChild.set(e.toString(),{all:!1,indeterminate:!1,child:[],file:void 0})}};d.ctorParameters=()=>[{type:h.a}],d=Object(r.b)([Object(i.D)({providedIn:"root"})],d)},"5+WD":function(e,t,n){"use strict";n.d(t,"a",function(){return ve}),n.d(t,"b",function(){return de}),n.d(t,"c",function(){return ue}),n.d(t,"d",function(){return be}),n.d(t,"e",function(){return W});var r=n("fXoL"),i=n("ofXK"),s=n("vxfF"),o=n("nLfN"),a=n("8LU1"),c=n("XNiG"),l=n("quSY"),u=n("l5mm"),h=n("eNwd"),d=n("HDdC"),f=n("VRyK"),p=n("1G5W"),m=n("JX91"),g=n("lJxs"),v=n("IzEk"),y=n("vkgz"),b=n("eIep"),_=n("cH1L");function w(e,t){for(let n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}function S(e,t){const n=t?"":"none";w(e.style,{touchAction:t?"":"none",webkitUserDrag:t?"":"none",webkitTapHighlightColor:t?"":"transparent",userSelect:n,msUserSelect:n,webkitUserSelect:n,MozUserSelect:n})}function x(e,t){const n=e.style;n.position=t?"":"fixed",n.top=n.opacity=t?"":"0",n.left=t?"":"-999em"}function O(e){const t=e.toLowerCase().indexOf("ms")>-1?1:1e3;return parseFloat(e)*t}function k(e,t){return e.getPropertyValue(t).split(",").map(e=>e.trim())}function C(e){const t=e.getBoundingClientRect();return{top:t.top,right:t.right,bottom:t.bottom,left:t.left,width:t.width,height:t.height}}function M(e,t,n){const{top:r,bottom:i,left:s,right:o}=e;return n>=r&&n<=i&&t>=s&&t<=o}function E(e,t,n){e.top+=t,e.bottom=e.top+e.height,e.left+=n,e.right=e.left+e.width}function T(e,t,n,r){const{top:i,right:s,bottom:o,left:a,width:c,height:l}=e,u=c*t,h=l*t;return r>i-h&&r<o+h&&n>a-u&&n<s+u}class j{constructor(e,t){this._document=e,this._viewportRuler=t,this.positions=new Map}clear(){this.positions.clear()}cache(e){this.clear(),this.positions.set(this._document,{scrollPosition:this._viewportRuler.getViewportScrollPosition()}),e.forEach(e=>{this.positions.set(e,{scrollPosition:{top:e.scrollTop,left:e.scrollLeft},clientRect:C(e)})})}handleScroll(e){const t=e.target,n=this.positions.get(t);if(!n)return null;const r=t===this._document?t.documentElement:t,i=n.scrollPosition;let s,o;if(t===this._document){const e=this._viewportRuler.getViewportScrollPosition();s=e.top,o=e.left}else s=t.scrollTop,o=t.scrollLeft;const a=i.top-s,c=i.left-o;return this.positions.forEach((e,n)=>{e.clientRect&&t!==n&&r.contains(n)&&E(e.clientRect,a,c)}),i.top=s,i.left=o,{top:a,left:c}}}function D(e){const t=e.cloneNode(!0),n=t.querySelectorAll("[id]"),r=e.nodeName.toLowerCase();t.removeAttribute("id");for(let i=0;i<n.length;i++)n[i].removeAttribute("id");return"canvas"===r?P(e,t):"input"!==r&&"select"!==r&&"textarea"!==r||z(e,t),A("canvas",e,t,P),A("input, textarea, select",e,t,z),t}function A(e,t,n,r){const i=t.querySelectorAll(e);if(i.length){const t=n.querySelectorAll(e);for(let e=0;e<i.length;e++)r(i[e],t[e])}}let L=0;function z(e,t){"file"!==t.type&&(t.value=e.value),"radio"===t.type&&t.name&&(t.name=`mat-clone-${t.name}-${L++}`)}function P(e,t){const n=t.getContext("2d");if(n)try{n.drawImage(e,0,0)}catch(r){}}const I=Object(o.e)({passive:!0}),R=Object(o.e)({passive:!1});class N{constructor(e,t,n,r,i,s){this._config=t,this._document=n,this._ngZone=r,this._viewportRuler=i,this._dragDropRegistry=s,this._passiveTransform={x:0,y:0},this._activeTransform={x:0,y:0},this._moveEvents=new c.a,this._pointerMoveSubscription=l.a.EMPTY,this._pointerUpSubscription=l.a.EMPTY,this._scrollSubscription=l.a.EMPTY,this._resizeSubscription=l.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 c.a,this.started=new c.a,this.released=new c.a,this.ended=new c.a,this.entered=new c.a,this.exited=new c.a,this.dropped=new c.a,this.moved=this._moveEvents,this._pointerDown=e=>{if(this.beforeStarted.next(),this._handles.length){const t=this._handles.find(t=>{const n=e.target;return!!n&&(n===t||t.contains(n))});!t||this._disabledHandles.has(t)||this.disabled||this._initializeDragSequence(t,e)}else this.disabled||this._initializeDragSequence(this._rootElement,e)},this._pointerMove=e=>{e.preventDefault();const t=this._getPointerPositionOnPage(e);if(!this._hasStartedDragging){if(Math.abs(t.x-this._pickupPositionOnPage.x)+Math.abs(t.y-this._pickupPositionOnPage.y)>=this._config.dragStartThreshold){const t=Date.now()>=this._dragStartTime+this._getDragStartDelay(e),n=this._dropContainer;if(!t)return void this._endDragSequence(e);n&&(n.isDragging()||n.isReceiving())||(this._hasStartedDragging=!0,this._ngZone.run(()=>this._startDragSequence(e)))}return}this._boundaryElement&&(this._previewRect&&(this._previewRect.width||this._previewRect.height)||(this._previewRect=(this._preview||this._rootElement).getBoundingClientRect()));const n=this._getConstrainedPointerPosition(t);if(this._hasMoved=!0,this._lastKnownPointerPosition=t,this._updatePointerDirectionDelta(n),this._dropContainer)this._updateActiveDropContainer(n,t);else{const e=this._activeTransform;if(e.x=n.x-this._pickupPositionOnPage.x+this._passiveTransform.x,e.y=n.y-this._pickupPositionOnPage.y+this._passiveTransform.y,this._applyRootElementTransform(e.x,e.y),"undefined"!=typeof SVGElement&&this._rootElement instanceof SVGElement){const t=`translate(${e.x} ${e.y})`;this._rootElement.setAttribute("transform",t)}}this._moveEvents.observers.length&&this._ngZone.run(()=>{this._moveEvents.next({source:this,pointerPosition:n,event:e,distance:this._getDragDistance(n),delta:this._pointerDirectionDelta})})},this._pointerUp=e=>{this._endDragSequence(e)},this.withRootElement(e),this._parentPositions=new j(n,i),s.registerDragItem(this)}get disabled(){return this._disabled||!(!this._dropContainer||!this._dropContainer.disabled)}set disabled(e){const t=Object(a.c)(e);t!==this._disabled&&(this._disabled=t,this._toggleNativeDragInteractions(),this._handles.forEach(e=>S(e,t)))}getPlaceholderElement(){return this._placeholder}getRootElement(){return this._rootElement}getVisibleElement(){return this.isDragging()?this.getPlaceholderElement():this.getRootElement()}withHandles(e){this._handles=e.map(e=>Object(a.e)(e)),this._handles.forEach(e=>S(e,this.disabled)),this._toggleNativeDragInteractions();const t=new Set;return this._disabledHandles.forEach(e=>{this._handles.indexOf(e)>-1&&t.add(e)}),this._disabledHandles=t,this}withPreviewTemplate(e){return this._previewTemplate=e,this}withPlaceholderTemplate(e){return this._placeholderTemplate=e,this}withRootElement(e){const t=Object(a.e)(e);return t!==this._rootElement&&(this._rootElement&&this._removeRootElementListeners(this._rootElement),this._ngZone.runOutsideAngular(()=>{t.addEventListener("mousedown",this._pointerDown,R),t.addEventListener("touchstart",this._pointerDown,I)}),this._initialTransform=void 0,this._rootElement=t),"undefined"!=typeof SVGElement&&this._rootElement instanceof SVGElement&&(this._ownerSVGElement=this._rootElement.ownerSVGElement),this}withBoundaryElement(e){return this._boundaryElement=e?Object(a.e)(e):null,this._resizeSubscription.unsubscribe(),e&&(this._resizeSubscription=this._viewportRuler.change(10).subscribe(()=>this._containInsideBoundaryOnResize())),this}dispose(){this._removeRootElementListeners(this._rootElement),this.isDragging()&&V(this._rootElement),V(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}isDragging(){return this._hasStartedDragging&&this._dragDropRegistry.isDragging(this)}reset(){this._rootElement.style.transform=this._initialTransform||"",this._activeTransform={x:0,y:0},this._passiveTransform={x:0,y:0}}disableHandle(e){!this._disabledHandles.has(e)&&this._handles.indexOf(e)>-1&&(this._disabledHandles.add(e),S(e,!0))}enableHandle(e){this._disabledHandles.has(e)&&(this._disabledHandles.delete(e),S(e,this.disabled))}withDirection(e){return this._direction=e,this}_withDropContainer(e){this._dropContainer=e}getFreeDragPosition(){const e=this.isDragging()?this._activeTransform:this._passiveTransform;return{x:e.x,y:e.y}}setFreeDragPosition(e){return this._activeTransform={x:0,y:0},this._passiveTransform.x=e.x,this._passiveTransform.y=e.y,this._dropContainer||this._applyRootElementTransform(e.x,e.y),this}_sortFromLastPointerPosition(){const e=this._lastKnownPointerPosition;e&&this._dropContainer&&this._updateActiveDropContainer(this._getConstrainedPointerPosition(e),e)}_removeSubscriptions(){this._pointerMoveSubscription.unsubscribe(),this._pointerUpSubscription.unsubscribe(),this._scrollSubscription.unsubscribe()}_destroyPreview(){this._preview&&V(this._preview),this._previewRef&&this._previewRef.destroy(),this._preview=this._previewRef=null}_destroyPlaceholder(){this._placeholder&&V(this._placeholder),this._placeholderRef&&this._placeholderRef.destroy(),this._placeholder=this._placeholderRef=null}_endDragSequence(e){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(()=>{this._cleanupDragArtifacts(e),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)})):(this._passiveTransform.x=this._activeTransform.x,this._passiveTransform.y=this._activeTransform.y,this._ngZone.run(()=>{this.ended.next({source:this,distance:this._getDragDistance(this._getPointerPositionOnPage(e))})}),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this))))}_startDragSequence(e){B(e)&&(this._lastTouchEventTime=Date.now()),this._toggleNativeDragInteractions();const t=this._dropContainer;if(t){const e=this._rootElement,n=e.parentNode,r=this._preview=this._createPreviewElement(),i=this._placeholder=this._createPlaceholderElement(),s=this._anchor=this._anchor||this._document.createComment(""),o=this._getShadowRoot();n.insertBefore(s,e),x(e,!1),this._document.body.appendChild(n.replaceChild(i,e)),function(e,t){return t||e.fullscreenElement||e.webkitFullscreenElement||e.mozFullScreenElement||e.msFullscreenElement||e.body}(this._document,o).appendChild(r),this.started.next({source:this}),t.start(),this._initialContainer=t,this._initialIndex=t.getItemIndex(this)}else this.started.next({source:this}),this._initialContainer=this._initialIndex=void 0;this._parentPositions.cache(t?t.getScrollableParents():[])}_initializeDragSequence(e,t){t.stopPropagation();const n=this.isDragging(),r=B(t),i=!r&&0!==t.button,s=this._rootElement,o=!r&&this._lastTouchEventTime&&this._lastTouchEventTime+800>Date.now();if(t.target&&t.target.draggable&&"mousedown"===t.type&&t.preventDefault(),n||i||o)return;this._handles.length&&(this._rootElementTapHighlight=s.style.webkitTapHighlightColor||"",s.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(e=>{this._updateOnScroll(e)}),this._boundaryElement&&(this._boundaryRect=C(this._boundaryElement));const a=this._previewTemplate;this._pickupPositionInElement=a&&a.template&&!a.matchSize?{x:0,y:0}:this._getPointerPositionInElement(e,t);const c=this._pickupPositionOnPage=this._lastKnownPointerPosition=this._getPointerPositionOnPage(t);this._pointerDirectionDelta={x:0,y:0},this._pointerPositionAtLastDirectionChange={x:c.x,y:c.y},this._dragStartTime=Date.now(),this._dragDropRegistry.startDragging(this,t)}_cleanupDragArtifacts(e){x(this._rootElement,!0),this._anchor.parentNode.replaceChild(this._rootElement,this._anchor),this._destroyPreview(),this._destroyPlaceholder(),this._boundaryRect=this._previewRect=void 0,this._ngZone.run(()=>{const t=this._dropContainer,n=t.getItemIndex(this),r=this._getPointerPositionOnPage(e),i=this._getDragDistance(this._getPointerPositionOnPage(e)),s=t._isOverContainer(r.x,r.y);this.ended.next({source:this,distance:i}),this.dropped.next({item:this,currentIndex:n,previousIndex:this._initialIndex,container:t,previousContainer:this._initialContainer,isPointerOverContainer:s,distance:i}),t.drop(this,n,this._initialIndex,this._initialContainer,s,i),this._dropContainer=this._initialContainer})}_updateActiveDropContainer({x:e,y:t},{x:n,y:r}){let i=this._initialContainer._getSiblingContainerFromPosition(this,e,t);!i&&this._dropContainer!==this._initialContainer&&this._initialContainer._isOverContainer(e,t)&&(i=this._initialContainer),i&&i!==this._dropContainer&&this._ngZone.run(()=>{this.exited.next({item:this,container:this._dropContainer}),this._dropContainer.exit(this),this._dropContainer=i,this._dropContainer.enter(this,e,t,i===this._initialContainer&&i.sortingDisabled?this._initialIndex:void 0),this.entered.next({item:this,container:i,currentIndex:i.getItemIndex(this)})}),this._dropContainer._startScrollingIfNecessary(n,r),this._dropContainer._sortItem(this,e,t,this._pointerDirectionDelta),this._preview.style.transform=H(e-this._pickupPositionInElement.x,t-this._pickupPositionInElement.y)}_createPreviewElement(){const e=this._previewTemplate,t=this.previewClass,n=e?e.template:null;let r;if(n&&e){const t=e.matchSize?this._rootElement.getBoundingClientRect():null,i=e.viewContainer.createEmbeddedView(n,e.context);i.detectChanges(),r=Y(i,this._document),this._previewRef=i,e.matchSize?U(r,t):r.style.transform=H(this._pickupPositionOnPage.x,this._pickupPositionOnPage.y)}else{const e=this._rootElement;r=D(e),U(r,e.getBoundingClientRect())}return w(r.style,{pointerEvents:"none",margin:"0",position:"fixed",top:"0",left:"0",zIndex:""+(this._config.zIndex||1e3)}),S(r,!1),r.classList.add("cdk-drag-preview"),r.setAttribute("dir",this._direction),t&&(Array.isArray(t)?t.forEach(e=>r.classList.add(e)):r.classList.add(t)),r}_animatePreviewToPlaceholder(){if(!this._hasMoved)return Promise.resolve();const e=this._placeholder.getBoundingClientRect();this._preview.classList.add("cdk-drag-animating"),this._preview.style.transform=H(e.left,e.top);const t=function(e){const t=getComputedStyle(e),n=k(t,"transition-property"),r=n.find(e=>"transform"===e||"all"===e);if(!r)return 0;const i=n.indexOf(r),s=k(t,"transition-duration"),o=k(t,"transition-delay");return O(s[i])+O(o[i])}(this._preview);return 0===t?Promise.resolve():this._ngZone.runOutsideAngular(()=>new Promise(e=>{const n=t=>{(!t||t.target===this._preview&&"transform"===t.propertyName)&&(this._preview.removeEventListener("transitionend",n),e(),clearTimeout(r))},r=setTimeout(n,1.5*t);this._preview.addEventListener("transitionend",n)}))}_createPlaceholderElement(){const e=this._placeholderTemplate,t=e?e.template:null;let n;return t?(this._placeholderRef=e.viewContainer.createEmbeddedView(t,e.context),this._placeholderRef.detectChanges(),n=Y(this._placeholderRef,this._document)):n=D(this._rootElement),n.classList.add("cdk-drag-placeholder"),n}_getPointerPositionInElement(e,t){const n=this._rootElement.getBoundingClientRect(),r=e===this._rootElement?null:e,i=r?r.getBoundingClientRect():n,s=B(t)?t.targetTouches[0]:t,o=this._getViewportScrollPosition(),a=s.pageX-i.left-o.left,c=s.pageY-i.top-o.top;return{x:i.left-n.left+a,y:i.top-n.top+c}}_getPointerPositionOnPage(e){const t=this._getViewportScrollPosition(),n=B(e)?e.touches[0]||e.changedTouches[0]||{pageX:0,pageY:0}:e,r=n.pageX-t.left,i=n.pageY-t.top;if(this._ownerSVGElement){const e=this._ownerSVGElement.getScreenCTM();if(e){const t=this._ownerSVGElement.createSVGPoint();return t.x=r,t.y=i,t.matrixTransform(e.inverse())}}return{x:r,y:i}}_getConstrainedPointerPosition(e){const t=this._dropContainer?this._dropContainer.lockAxis:null;let{x:n,y:r}=this.constrainPosition?this.constrainPosition(e,this):e;if("x"===this.lockAxis||"x"===t?r=this._pickupPositionOnPage.y:"y"!==this.lockAxis&&"y"!==t||(n=this._pickupPositionOnPage.x),this._boundaryRect){const{x:e,y:t}=this._pickupPositionInElement,i=this._boundaryRect,s=this._previewRect,o=i.top+t,a=i.bottom-(s.height-t);n=F(n,i.left+e,i.right-(s.width-e)),r=F(r,o,a)}return{x:n,y:r}}_updatePointerDirectionDelta(e){const{x:t,y:n}=e,r=this._pointerDirectionDelta,i=this._pointerPositionAtLastDirectionChange,s=Math.abs(t-i.x),o=Math.abs(n-i.y);return s>this._config.pointerDirectionChangeThreshold&&(r.x=t>i.x?1:-1,i.x=t),o>this._config.pointerDirectionChangeThreshold&&(r.y=n>i.y?1:-1,i.y=n),r}_toggleNativeDragInteractions(){if(!this._rootElement||!this._handles)return;const e=this._handles.length>0||!this.isDragging();e!==this._nativeInteractionsEnabled&&(this._nativeInteractionsEnabled=e,S(this._rootElement,e))}_removeRootElementListeners(e){e.removeEventListener("mousedown",this._pointerDown,R),e.removeEventListener("touchstart",this._pointerDown,I)}_applyRootElementTransform(e,t){const n=H(e,t);null==this._initialTransform&&(this._initialTransform=this._rootElement.style.transform||""),this._rootElement.style.transform=this._initialTransform?n+" "+this._initialTransform:n}_getDragDistance(e){const t=this._pickupPositionOnPage;return t?{x:e.x-t.x,y:e.y-t.y}:{x:0,y:0}}_cleanupCachedDimensions(){this._boundaryRect=this._previewRect=void 0,this._parentPositions.clear()}_containInsideBoundaryOnResize(){let{x:e,y:t}=this._passiveTransform;if(0===e&&0===t||this.isDragging()||!this._boundaryElement)return;const n=this._boundaryElement.getBoundingClientRect(),r=this._rootElement.getBoundingClientRect();if(0===n.width&&0===n.height||0===r.width&&0===r.height)return;const i=n.left-r.left,s=r.right-n.right,o=n.top-r.top,a=r.bottom-n.bottom;n.width>r.width?(i>0&&(e+=i),s>0&&(e-=s)):e=0,n.height>r.height?(o>0&&(t+=o),a>0&&(t-=a)):t=0,e===this._passiveTransform.x&&t===this._passiveTransform.y||this.setFreeDragPosition({y:t,x:e})}_getDragStartDelay(e){const t=this.dragStartDelay;return"number"==typeof t?t:B(e)?t.touch:t?t.mouse:0}_updateOnScroll(e){const t=this._parentPositions.handleScroll(e);if(t){const n=e.target;this._boundaryRect&&(n===this._document||n!==this._boundaryElement&&n.contains(this._boundaryElement))&&E(this._boundaryRect,t.top,t.left),this._pickupPositionOnPage.x+=t.left,this._pickupPositionOnPage.y+=t.top,this._dropContainer||(this._activeTransform.x-=t.left,this._activeTransform.y-=t.top,this._applyRootElementTransform(this._activeTransform.x,this._activeTransform.y))}}_getViewportScrollPosition(){const e=this._parentPositions.positions.get(this._document);return e?e.scrollPosition:this._viewportRuler.getViewportScrollPosition()}_getShadowRoot(){return void 0===this._cachedShadowRoot&&(this._cachedShadowRoot=Object(o.c)(this._rootElement)),this._cachedShadowRoot}}function H(e,t){return`translate3d(${Math.round(e)}px, ${Math.round(t)}px, 0)`}function F(e,t,n){return Math.max(t,Math.min(n,e))}function V(e){e&&e.parentNode&&e.parentNode.removeChild(e)}function B(e){return"t"===e.type[0]}function Y(e,t){const n=e.rootNodes;if(1===n.length&&n[0].nodeType===t.ELEMENT_NODE)return n[0];const r=t.createElement("div");return n.forEach(e=>r.appendChild(e)),r}function U(e,t){e.style.width=t.width+"px",e.style.height=t.height+"px",e.style.transform=H(t.left,t.top)}function W(e,t,n){const r=q(t,e.length-1),i=q(n,e.length-1);if(r===i)return;const s=e[r],o=i<r?-1:1;for(let a=r;a!==i;a+=o)e[a]=e[a+o];e[i]=s}function q(e,t){return Math.max(0,Math.min(t,e))}class ${constructor(e,t,n,r,i){this._dragDropRegistry=t,this._ngZone=r,this._viewportRuler=i,this.disabled=!1,this.sortingDisabled=!1,this.autoScrollDisabled=!1,this.enterPredicate=()=>!0,this.sortPredicate=()=>!0,this.beforeStarted=new c.a,this.entered=new c.a,this.exited=new c.a,this.dropped=new c.a,this.sorted=new c.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=l.a.EMPTY,this._verticalScrollDirection=0,this._horizontalScrollDirection=0,this._stopScrollTimers=new c.a,this._cachedShadowRoot=null,this._startScrollInterval=()=>{this._stopScrolling(),Object(u.a)(0,h.a).pipe(Object(p.a)(this._stopScrollTimers)).subscribe(()=>{const e=this._scrollNode;1===this._verticalScrollDirection?X(e,-2):2===this._verticalScrollDirection&&X(e,2),1===this._horizontalScrollDirection?K(e,-2):2===this._horizontalScrollDirection&&K(e,2)})},this.element=Object(a.e)(e),this._document=n,this.withScrollableParents([this.element]),t.registerDropContainer(this),this._parentPositions=new j(n,i)}dispose(){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)}isDragging(){return this._isDragging}start(){const e=Object(a.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(e=>e._startReceiving(this)),this._viewportScrollSubscription.unsubscribe(),this._listenToScrollEvents()}enter(e,t,n,r){let i;this.start(),null==r?(i=this.sortingDisabled?this._draggables.indexOf(e):-1,-1===i&&(i=this._getItemIndexFromPointerPosition(e,t,n))):i=r;const s=this._activeDraggables,o=s.indexOf(e),c=e.getPlaceholderElement();let l=s[i];if(l===e&&(l=s[i+1]),o>-1&&s.splice(o,1),l&&!this._dragDropRegistry.isDragging(l)){const t=l.getRootElement();t.parentElement.insertBefore(c,t),s.splice(i,0,e)}else if(this._shouldEnterAsFirstChild(t,n)){const t=s[0].getRootElement();t.parentNode.insertBefore(c,t),s.unshift(e)}else Object(a.e)(this.element).appendChild(c),s.push(e);c.style.transform="",this._cacheItemPositions(),this._cacheParentPositions(),this.entered.next({item:e,container:this,currentIndex:this.getItemIndex(e)})}exit(e){this._reset(),this.exited.next({item:e,container:this})}drop(e,t,n,r,i,s){this._reset(),this.dropped.next({item:e,currentIndex:t,previousIndex:n,container:this,previousContainer:r,isPointerOverContainer:i,distance:s})}withItems(e){const t=this._draggables;if(this._draggables=e,e.forEach(e=>e._withDropContainer(this)),this.isDragging()){t.filter(e=>e.isDragging()).every(t=>-1===e.indexOf(t))?this._reset():this._cacheItems()}return this}withDirection(e){return this._direction=e,this}connectedTo(e){return this._siblings=e.slice(),this}withOrientation(e){return this._orientation=e,this}withScrollableParents(e){const t=Object(a.e)(this.element);return this._scrollableElements=-1===e.indexOf(t)?[t,...e]:e.slice(),this}getScrollableParents(){return this._scrollableElements}getItemIndex(e){if(!this._isDragging)return this._draggables.indexOf(e);return G("horizontal"===this._orientation&&"rtl"===this._direction?this._itemPositions.slice().reverse():this._itemPositions,t=>t.drag===e)}isReceiving(){return this._activeSiblings.size>0}_sortItem(e,t,n,r){if(this.sortingDisabled||!T(this._clientRect,.05,t,n))return;const i=this._itemPositions,s=this._getItemIndexFromPointerPosition(e,t,n,r);if(-1===s&&i.length>0)return;const o="horizontal"===this._orientation,a=G(i,t=>t.drag===e),c=i[s],l=i[a].clientRect,u=c.clientRect,h=a>s?1:-1,d=this._getItemOffsetPx(l,u,h),f=this._getSiblingOffsetPx(a,i,h),p=i.slice();W(i,a,s),this.sorted.next({previousIndex:a,currentIndex:s,container:this,item:e}),i.forEach((t,n)=>{if(p[n]===t)return;const r=t.drag===e,i=r?d:f,s=r?e.getPlaceholderElement():t.drag.getRootElement();t.offset+=i,o?(s.style.transform=`translate3d(${Math.round(t.offset)}px, 0, 0)`,E(t.clientRect,0,i)):(s.style.transform=`translate3d(0, ${Math.round(t.offset)}px, 0)`,E(t.clientRect,i,0))}),this._previousSwap.overlaps=M(u,t,n),this._previousSwap.drag=c.drag,this._previousSwap.delta=o?r.x:r.y}_startScrollingIfNecessary(e,t){if(this.autoScrollDisabled)return;let n,r=0,i=0;if(this._parentPositions.positions.forEach((s,o)=>{o!==this._document&&s.clientRect&&!n&&T(s.clientRect,.05,e,t)&&([r,i]=function(e,t,n,r){const i=J(t,r),s=Q(t,n);let o=0,a=0;if(i){const t=e.scrollTop;1===i?t>0&&(o=1):e.scrollHeight-t>e.clientHeight&&(o=2)}if(s){const t=e.scrollLeft;1===s?t>0&&(a=1):e.scrollWidth-t>e.clientWidth&&(a=2)}return[o,a]}(o,s.clientRect,e,t),(r||i)&&(n=o))}),!r&&!i){const{width:s,height:o}=this._viewportRuler.getViewportSize(),a={width:s,height:o,top:0,right:s,bottom:o,left:0};r=J(a,t),i=Q(a,e),n=window}!n||r===this._verticalScrollDirection&&i===this._horizontalScrollDirection&&n===this._scrollNode||(this._verticalScrollDirection=r,this._horizontalScrollDirection=i,this._scrollNode=n,(r||i)&&n?this._ngZone.runOutsideAngular(this._startScrollInterval):this._stopScrolling())}_stopScrolling(){this._stopScrollTimers.next()}_cacheParentPositions(){const e=Object(a.e)(this.element);this._parentPositions.cache(this._scrollableElements),this._clientRect=this._parentPositions.positions.get(e).clientRect}_cacheItemPositions(){const e="horizontal"===this._orientation;this._itemPositions=this._activeDraggables.map(e=>{const t=e.getVisibleElement();return{drag:e,offset:0,clientRect:C(t)}}).sort((t,n)=>e?t.clientRect.left-n.clientRect.left:t.clientRect.top-n.clientRect.top)}_reset(){this._isDragging=!1;const e=Object(a.e)(this.element).style;e.scrollSnapType=e.msScrollSnapType=this._initialScrollSnap,this._activeDraggables.forEach(e=>{const t=e.getRootElement();t&&(t.style.transform="")}),this._siblings.forEach(e=>e._stopReceiving(this)),this._activeDraggables=[],this._itemPositions=[],this._previousSwap.drag=null,this._previousSwap.delta=0,this._previousSwap.overlaps=!1,this._stopScrolling(),this._viewportScrollSubscription.unsubscribe(),this._parentPositions.clear()}_getSiblingOffsetPx(e,t,n){const r="horizontal"===this._orientation,i=t[e].clientRect,s=t[e+-1*n];let o=i[r?"width":"height"]*n;if(s){const e=r?"left":"top",t=r?"right":"bottom";-1===n?o-=s.clientRect[e]-i[t]:o+=i[e]-s.clientRect[t]}return o}_getItemOffsetPx(e,t,n){const r="horizontal"===this._orientation;let i=r?t.left-e.left:t.top-e.top;return-1===n&&(i+=r?t.width-e.width:t.height-e.height),i}_shouldEnterAsFirstChild(e,t){if(!this._activeDraggables.length)return!1;const n=this._itemPositions,r="horizontal"===this._orientation;if(n[0].drag!==this._activeDraggables[0]){const i=n[n.length-1].clientRect;return r?e>=i.right:t>=i.bottom}{const i=n[0].clientRect;return r?e<=i.left:t<=i.top}}_getItemIndexFromPointerPosition(e,t,n,r){const i="horizontal"===this._orientation,s=G(this._itemPositions,({drag:s,clientRect:o},a,c)=>{if(s===e)return c.length<2;if(r){const e=i?r.x:r.y;if(s===this._previousSwap.drag&&this._previousSwap.overlaps&&e===this._previousSwap.delta)return!1}return i?t>=Math.floor(o.left)&&t<Math.floor(o.right):n>=Math.floor(o.top)&&n<Math.floor(o.bottom)});return-1!==s&&this.sortPredicate(s,e,this)?s:-1}_cacheItems(){this._activeDraggables=this._draggables.slice(),this._cacheItemPositions(),this._cacheParentPositions()}_isOverContainer(e,t){return M(this._clientRect,e,t)}_getSiblingContainerFromPosition(e,t,n){return this._siblings.find(r=>r._canReceive(e,t,n))}_canReceive(e,t,n){if(!M(this._clientRect,t,n)||!this.enterPredicate(e,this))return!1;const r=this._getShadowRoot().elementFromPoint(t,n);if(!r)return!1;const i=Object(a.e)(this.element);return r===i||i.contains(r)}_startReceiving(e){const t=this._activeSiblings;t.has(e)||(t.add(e),this._cacheParentPositions(),this._listenToScrollEvents())}_stopReceiving(e){this._activeSiblings.delete(e),this._viewportScrollSubscription.unsubscribe()}_listenToScrollEvents(){this._viewportScrollSubscription=this._dragDropRegistry.scroll.subscribe(e=>{if(this.isDragging()){const t=this._parentPositions.handleScroll(e);t&&(this._itemPositions.forEach(({clientRect:e})=>{E(e,t.top,t.left)}),this._itemPositions.forEach(({drag:e})=>{this._dragDropRegistry.isDragging(e)&&e._sortFromLastPointerPosition()}))}else this.isReceiving()&&this._cacheParentPositions()})}_getShadowRoot(){if(!this._cachedShadowRoot){const e=Object(o.c)(Object(a.e)(this.element));this._cachedShadowRoot=e||this._document}return this._cachedShadowRoot}}function G(e,t){for(let n=0;n<e.length;n++)if(t(e[n],n,e))return n;return-1}function X(e,t){e===window?e.scrollBy(0,t):e.scrollTop+=t}function K(e,t){e===window?e.scrollBy(t,0):e.scrollLeft+=t}function J(e,t){const{top:n,bottom:r,height:i}=e,s=.05*i;return t>=n-s&&t<=n+s?1:t>=r-s&&t<=r+s?2:0}function Q(e,t){const{left:n,right:r,width:i}=e,s=.05*i;return t>=n-s&&t<=n+s?1:t>=r-s&&t<=r+s?2:0}const Z=Object(o.e)({passive:!1,capture:!0});class ee{constructor(e,t){this._ngZone=e,this._dropInstances=new Set,this._dragInstances=new Set,this._activeDragInstances=new Set,this._globalListeners=new Map,this.pointerMove=new c.a,this.pointerUp=new c.a,this.scroll=new c.a,this._preventDefaultWhileDragging=e=>{this._activeDragInstances.size&&e.preventDefault()},this._persistentTouchmoveListener=e=>{this._activeDragInstances.size&&(e.preventDefault(),this.pointerMove.next(e))},this._document=t}registerDropContainer(e){this._dropInstances.has(e)||this._dropInstances.add(e)}registerDragItem(e){this._dragInstances.add(e),1===this._dragInstances.size&&this._ngZone.runOutsideAngular(()=>{this._document.addEventListener("touchmove",this._persistentTouchmoveListener,Z)})}removeDropContainer(e){this._dropInstances.delete(e)}removeDragItem(e){this._dragInstances.delete(e),this.stopDragging(e),0===this._dragInstances.size&&this._document.removeEventListener("touchmove",this._persistentTouchmoveListener,Z)}startDragging(e,t){if(!this._activeDragInstances.has(e)&&(this._activeDragInstances.add(e),1===this._activeDragInstances.size)){const e=t.type.startsWith("touch");this._globalListeners.set(e?"touchend":"mouseup",{handler:e=>this.pointerUp.next(e),options:!0}).set("scroll",{handler:e=>this.scroll.next(e),options:!0}).set("selectstart",{handler:this._preventDefaultWhileDragging,options:Z}),e||this._globalListeners.set("mousemove",{handler:e=>this.pointerMove.next(e),options:Z}),this._ngZone.runOutsideAngular(()=>{this._globalListeners.forEach((e,t)=>{this._document.addEventListener(t,e.handler,e.options)})})}}stopDragging(e){this._activeDragInstances.delete(e),0===this._activeDragInstances.size&&this._clearGlobalListeners()}isDragging(e){return this._activeDragInstances.has(e)}ngOnDestroy(){this._dragInstances.forEach(e=>this.removeDragItem(e)),this._dropInstances.forEach(e=>this.removeDropContainer(e)),this._clearGlobalListeners(),this.pointerMove.complete(),this.pointerUp.complete()}_clearGlobalListeners(){this._globalListeners.forEach((e,t)=>{this._document.removeEventListener(t,e.handler,e.options)}),this._globalListeners.clear()}}ee.\u0275fac=function(e){return new(e||ee)(r.Xc(r.Q),r.Xc(i.d))},ee.\u0275prov=Object(r.Jc)({factory:function(){return new ee(Object(r.Xc)(r.Q),Object(r.Xc)(i.d))},token:ee,providedIn:"root"}),ee.ctorParameters=()=>[{type:r.Q},{type:void 0,decorators:[{type:r.C,args:[i.d]}]}];const te={dragStartThreshold:5,pointerDirectionChangeThreshold:5};class ne{constructor(e,t,n,r){this._document=e,this._ngZone=t,this._viewportRuler=n,this._dragDropRegistry=r}createDrag(e,t=te){return new N(e,t,this._document,this._ngZone,this._viewportRuler,this._dragDropRegistry)}createDropList(e){return new $(e,this._dragDropRegistry,this._document,this._ngZone,this._viewportRuler)}}ne.\u0275fac=function(e){return new(e||ne)(r.Xc(i.d),r.Xc(r.Q),r.Xc(s.g),r.Xc(ee))},ne.\u0275prov=Object(r.Jc)({factory:function(){return new ne(Object(r.Xc)(i.d),Object(r.Xc)(r.Q),Object(r.Xc)(s.g),Object(r.Xc)(ee))},token:ne,providedIn:"root"}),ne.ctorParameters=()=>[{type:void 0,decorators:[{type:r.C,args:[i.d]}]},{type:r.Q},{type:s.g},{type:ee}];const re=new r.E("CDK_DRAG_PARENT"),ie=new r.E("CdkDropListGroup");class se{constructor(){this._items=new Set,this._disabled=!1}get disabled(){return this._disabled}set disabled(e){this._disabled=Object(a.c)(e)}ngOnDestroy(){this._items.clear()}}se.\u0275fac=function(e){return new(e||se)},se.\u0275dir=r.Ic({type:se,selectors:[["","cdkDropListGroup",""]],inputs:{disabled:["cdkDropListGroupDisabled","disabled"]},exportAs:["cdkDropListGroup"],features:[r.yc([{provide:ie,useExisting:se}])]}),se.propDecorators={disabled:[{type:r.G,args:["cdkDropListGroupDisabled"]}]};const oe=new r.E("CDK_DRAG_CONFIG");let ae=0;const ce=new r.E("CdkDropList"),le=void 0;class ue{constructor(e,t,n,i,s,o,a){this.element=e,this._changeDetectorRef=n,this._scrollDispatcher=i,this._dir=s,this._group=o,this._destroyed=new c.a,this.connectedTo=[],this.id="cdk-drop-list-"+ae++,this.enterPredicate=()=>!0,this.sortPredicate=()=>!0,this.dropped=new r.x,this.entered=new r.x,this.exited=new r.x,this.sorted=new r.x,this._unsortedItems=new Set,this._dropListRef=t.createDropList(e),this._dropListRef.data=this,a&&this._assignDefaults(a),this._dropListRef.enterPredicate=(e,t)=>this.enterPredicate(e.data,t.data),this._dropListRef.sortPredicate=(e,t,n)=>this.sortPredicate(e,t.data,n.data),this._setupInputSyncSubscription(this._dropListRef),this._handleEvents(this._dropListRef),ue._dropLists.push(this),o&&o._items.add(this)}get disabled(){return this._disabled||!!this._group&&this._group.disabled}set disabled(e){this._dropListRef.disabled=this._disabled=Object(a.c)(e)}addItem(e){this._unsortedItems.add(e),this._dropListRef.isDragging()&&this._syncItemsWithRef()}removeItem(e){this._unsortedItems.delete(e),this._dropListRef.isDragging()&&this._syncItemsWithRef()}getSortedItems(){return Array.from(this._unsortedItems).sort((e,t)=>e._dragRef.getVisibleElement().compareDocumentPosition(t._dragRef.getVisibleElement())&Node.DOCUMENT_POSITION_FOLLOWING?-1:1)}ngOnDestroy(){const e=ue._dropLists.indexOf(this);e>-1&&ue._dropLists.splice(e,1),this._group&&this._group._items.delete(this),this._unsortedItems.clear(),this._dropListRef.dispose(),this._destroyed.next(),this._destroyed.complete()}_setupInputSyncSubscription(e){this._dir&&this._dir.change.pipe(Object(m.a)(this._dir.value),Object(p.a)(this._destroyed)).subscribe(t=>e.withDirection(t)),e.beforeStarted.subscribe(()=>{const t=Object(a.b)(this.connectedTo).map(e=>{if("string"==typeof e){const t=ue._dropLists.find(t=>t.id===e);return t}return e});if(this._group&&this._group._items.forEach(e=>{-1===t.indexOf(e)&&t.push(e)}),!this._scrollableParentsResolved){const e=this._scrollDispatcher.getAncestorScrollContainers(this.element).map(e=>e.getElementRef().nativeElement);this._dropListRef.withScrollableParents(e),this._scrollableParentsResolved=!0}e.disabled=this.disabled,e.lockAxis=this.lockAxis,e.sortingDisabled=Object(a.c)(this.sortingDisabled),e.autoScrollDisabled=Object(a.c)(this.autoScrollDisabled),e.connectedTo(t.filter(e=>e&&e!==this).map(e=>e._dropListRef)).withOrientation(this.orientation)})}_handleEvents(e){e.beforeStarted.subscribe(()=>{this._syncItemsWithRef(),this._changeDetectorRef.markForCheck()}),e.entered.subscribe(e=>{this.entered.emit({container:this,item:e.item.data,currentIndex:e.currentIndex})}),e.exited.subscribe(e=>{this.exited.emit({container:this,item:e.item.data}),this._changeDetectorRef.markForCheck()}),e.sorted.subscribe(e=>{this.sorted.emit({previousIndex:e.previousIndex,currentIndex:e.currentIndex,container:this,item:e.item.data})}),e.dropped.subscribe(e=>{this.dropped.emit({previousIndex:e.previousIndex,currentIndex:e.currentIndex,previousContainer:e.previousContainer.data,container:e.container.data,item:e.item.data,isPointerOverContainer:e.isPointerOverContainer,distance:e.distance}),this._changeDetectorRef.markForCheck()})}_assignDefaults(e){const{lockAxis:t,draggingDisabled:n,sortingDisabled:r,listAutoScrollDisabled:i,listOrientation:s}=e;this.disabled=null!=n&&n,this.sortingDisabled=null!=r&&r,this.autoScrollDisabled=null!=i&&i,this.orientation=s||"vertical",t&&(this.lockAxis=t)}_syncItemsWithRef(){this._dropListRef.withItems(this.getSortedItems().map(e=>e._dragRef))}}ue.\u0275fac=function(e){return new(e||ue)(r.Nc(r.v),r.Nc(ne),r.Nc(r.k),r.Nc(s.e),r.Nc(_.c,8),r.Nc(ie,12),r.Nc(oe,8))},ue.\u0275dir=r.Ic({type:ue,selectors:[["","cdkDropList",""],["cdk-drop-list"]],hostAttrs:[1,"cdk-drop-list"],hostVars:7,hostBindings:function(e,t){2&e&&(r.Ac("id",t.id),r.Fc("cdk-drop-list-disabled",t.disabled)("cdk-drop-list-dragging",t._dropListRef.isDragging())("cdk-drop-list-receiving",t._dropListRef.isReceiving()))},inputs:{connectedTo:["cdkDropListConnectedTo","connectedTo"],id:"id",enterPredicate:["cdkDropListEnterPredicate","enterPredicate"],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:[r.yc([{provide:ie,useValue:le},{provide:ce,useExisting:ue}])]}),ue._dropLists=[],ue.ctorParameters=()=>[{type:r.v},{type:ne},{type:r.k},{type:s.e},{type:_.c,decorators:[{type:r.R}]},{type:se,decorators:[{type:r.R},{type:r.C,args:[ie]},{type:r.eb}]},{type:void 0,decorators:[{type:r.R},{type:r.C,args:[oe]}]}],ue.propDecorators={connectedTo:[{type:r.G,args:["cdkDropListConnectedTo"]}],data:[{type:r.G,args:["cdkDropListData"]}],orientation:[{type:r.G,args:["cdkDropListOrientation"]}],id:[{type:r.G}],lockAxis:[{type:r.G,args:["cdkDropListLockAxis"]}],disabled:[{type:r.G,args:["cdkDropListDisabled"]}],sortingDisabled:[{type:r.G,args:["cdkDropListSortingDisabled"]}],enterPredicate:[{type:r.G,args:["cdkDropListEnterPredicate"]}],sortPredicate:[{type:r.G,args:["cdkDropListSortPredicate"]}],autoScrollDisabled:[{type:r.G,args:["cdkDropListAutoScrollDisabled"]}],dropped:[{type:r.S,args:["cdkDropListDropped"]}],entered:[{type:r.S,args:["cdkDropListEntered"]}],exited:[{type:r.S,args:["cdkDropListExited"]}],sorted:[{type:r.S,args:["cdkDropListSorted"]}]};const he=new r.E("CdkDragHandle");class de{constructor(e,t){this.element=e,this._stateChanges=new c.a,this._disabled=!1,this._parentDrag=t}get disabled(){return this._disabled}set disabled(e){this._disabled=Object(a.c)(e),this._stateChanges.next(this)}ngOnDestroy(){this._stateChanges.complete()}}de.\u0275fac=function(e){return new(e||de)(r.Nc(r.v),r.Nc(re,12))},de.\u0275dir=r.Ic({type:de,selectors:[["","cdkDragHandle",""]],hostAttrs:[1,"cdk-drag-handle"],inputs:{disabled:["cdkDragHandleDisabled","disabled"]},features:[r.yc([{provide:he,useExisting:de}])]}),de.ctorParameters=()=>[{type:r.v},{type:void 0,decorators:[{type:r.C,args:[re]},{type:r.R},{type:r.eb}]}],de.propDecorators={disabled:[{type:r.G,args:["cdkDragHandleDisabled"]}]};const fe=new r.E("CdkDragPlaceholder");class pe{constructor(e){this.templateRef=e}}pe.\u0275fac=function(e){return new(e||pe)(r.Nc(r.ib))},pe.\u0275dir=r.Ic({type:pe,selectors:[["ng-template","cdkDragPlaceholder",""]],inputs:{data:"data"},features:[r.yc([{provide:fe,useExisting:pe}])]}),pe.ctorParameters=()=>[{type:r.ib}],pe.propDecorators={data:[{type:r.G}]};const me=new r.E("CdkDragPreview");class ge{constructor(e){this.templateRef=e,this._matchSize=!1}get matchSize(){return this._matchSize}set matchSize(e){this._matchSize=Object(a.c)(e)}}ge.\u0275fac=function(e){return new(e||ge)(r.Nc(r.ib))},ge.\u0275dir=r.Ic({type:ge,selectors:[["ng-template","cdkDragPreview",""]],inputs:{matchSize:"matchSize",data:"data"},features:[r.yc([{provide:me,useExisting:ge}])]}),ge.ctorParameters=()=>[{type:r.ib}],ge.propDecorators={data:[{type:r.G}],matchSize:[{type:r.G}]};class ve{constructor(e,t,n,i,s,o,a,l,u,h){this.element=e,this.dropContainer=t,this._ngZone=i,this._viewContainerRef=s,this._dir=a,this._changeDetectorRef=u,this._selfHandle=h,this._destroyed=new c.a,this.started=new r.x,this.released=new r.x,this.ended=new r.x,this.entered=new r.x,this.exited=new r.x,this.dropped=new r.x,this.moved=new d.a(e=>{const t=this._dragRef.moved.pipe(Object(g.a)(e=>({source:this,pointerPosition:e.pointerPosition,event:e.event,delta:e.delta,distance:e.distance}))).subscribe(e);return()=>{t.unsubscribe()}}),this._dragRef=l.createDrag(e,{dragStartThreshold:o&&null!=o.dragStartThreshold?o.dragStartThreshold:5,pointerDirectionChangeThreshold:o&&null!=o.pointerDirectionChangeThreshold?o.pointerDirectionChangeThreshold:5,zIndex:null==o?void 0:o.zIndex}),this._dragRef.data=this,o&&this._assignDefaults(o),t&&(this._dragRef._withDropContainer(t._dropListRef),t.addItem(this)),this._syncInputs(this._dragRef),this._handleEvents(this._dragRef)}get disabled(){return this._disabled||this.dropContainer&&this.dropContainer.disabled}set disabled(e){this._disabled=Object(a.c)(e),this._dragRef.disabled=this._disabled}getPlaceholderElement(){return this._dragRef.getPlaceholderElement()}getRootElement(){return this._dragRef.getRootElement()}reset(){this._dragRef.reset()}getFreeDragPosition(){return this._dragRef.getFreeDragPosition()}ngAfterViewInit(){this._ngZone.onStable.pipe(Object(v.a)(1),Object(p.a)(this._destroyed)).subscribe(()=>{this._updateRootElement(),this._handles.changes.pipe(Object(m.a)(this._handles),Object(y.a)(e=>{const t=e.filter(e=>e._parentDrag===this).map(e=>e.element);this._selfHandle&&this.rootElementSelector&&t.push(this.element),this._dragRef.withHandles(t)}),Object(b.a)(e=>Object(f.a)(...e.map(e=>e._stateChanges.pipe(Object(m.a)(e))))),Object(p.a)(this._destroyed)).subscribe(e=>{const t=this._dragRef,n=e.element.nativeElement;e.disabled?t.disableHandle(n):t.enableHandle(n)}),this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)})}ngOnChanges(e){const t=e.rootElementSelector,n=e.freeDragPosition;t&&!t.firstChange&&this._updateRootElement(),n&&!n.firstChange&&this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)}ngOnDestroy(){this.dropContainer&&this.dropContainer.removeItem(this),this._destroyed.next(),this._destroyed.complete(),this._dragRef.dispose()}_updateRootElement(){const e=this.element.nativeElement,t=this.rootElementSelector?ye(e,this.rootElementSelector):e;this._dragRef.withRootElement(t||e)}_getBoundaryElement(){const e=this.boundaryElement;if(!e)return null;if("string"==typeof e)return ye(this.element.nativeElement,e);const t=Object(a.e)(e);return t}_syncInputs(e){e.beforeStarted.subscribe(()=>{if(!e.isDragging()){const t=this._dir,n=this.dragStartDelay,r=this._placeholderTemplate?{template:this._placeholderTemplate.templateRef,context:this._placeholderTemplate.data,viewContainer:this._viewContainerRef}:null,i=this._previewTemplate?{template:this._previewTemplate.templateRef,context:this._previewTemplate.data,matchSize:this._previewTemplate.matchSize,viewContainer:this._viewContainerRef}:null;e.disabled=this.disabled,e.lockAxis=this.lockAxis,e.dragStartDelay="object"==typeof n&&n?n:Object(a.f)(n),e.constrainPosition=this.constrainPosition,e.previewClass=this.previewClass,e.withBoundaryElement(this._getBoundaryElement()).withPlaceholderTemplate(r).withPreviewTemplate(i),t&&e.withDirection(t.value)}})}_handleEvents(e){e.started.subscribe(()=>{this.started.emit({source:this}),this._changeDetectorRef.markForCheck()}),e.released.subscribe(()=>{this.released.emit({source:this})}),e.ended.subscribe(e=>{this.ended.emit({source:this,distance:e.distance}),this._changeDetectorRef.markForCheck()}),e.entered.subscribe(e=>{this.entered.emit({container:e.container.data,item:this,currentIndex:e.currentIndex})}),e.exited.subscribe(e=>{this.exited.emit({container:e.container.data,item:this})}),e.dropped.subscribe(e=>{this.dropped.emit({previousIndex:e.previousIndex,currentIndex:e.currentIndex,previousContainer:e.previousContainer.data,container:e.container.data,isPointerOverContainer:e.isPointerOverContainer,item:this,distance:e.distance})})}_assignDefaults(e){const{lockAxis:t,dragStartDelay:n,constrainPosition:r,previewClass:i,boundaryElement:s,draggingDisabled:o,rootElementSelector:a}=e;this.disabled=null!=o&&o,this.dragStartDelay=n||0,t&&(this.lockAxis=t),r&&(this.constrainPosition=r),i&&(this.previewClass=i),s&&(this.boundaryElement=s),a&&(this.rootElementSelector=a)}}function ye(e,t){let n=e.parentElement;for(;n;){if(n.matches?n.matches(t):n.msMatchesSelector(t))return n;n=n.parentElement}return null}ve.\u0275fac=function(e){return new(e||ve)(r.Nc(r.v),r.Nc(ce,12),r.Nc(i.d),r.Nc(r.Q),r.Nc(r.ob),r.Nc(oe,8),r.Nc(_.c,8),r.Nc(ne),r.Nc(r.k),r.Nc(he,10))},ve.\u0275dir=r.Ic({type:ve,selectors:[["","cdkDrag",""]],contentQueries:function(e,t,n){if(1&e&&(r.Gc(n,me,!0),r.Gc(n,fe,!0),r.Gc(n,he,!0)),2&e){let e;r.td(e=r.bd())&&(t._previewTemplate=e.first),r.td(e=r.bd())&&(t._placeholderTemplate=e.first),r.td(e=r.bd())&&(t._handles=e)}},hostAttrs:[1,"cdk-drag"],hostVars:4,hostBindings:function(e,t){2&e&&r.Fc("cdk-drag-disabled",t.disabled)("cdk-drag-dragging",t._dragRef.isDragging())},inputs:{disabled:["cdkDragDisabled","disabled"],dragStartDelay:["cdkDragStartDelay","dragStartDelay"],lockAxis:["cdkDragLockAxis","lockAxis"],constrainPosition:["cdkDragConstrainPosition","constrainPosition"],previewClass:["cdkDragPreviewClass","previewClass"],boundaryElement:["cdkDragBoundary","boundaryElement"],rootElementSelector:["cdkDragRootElement","rootElementSelector"],data:["cdkDragData","data"],freeDragPosition:["cdkDragFreeDragPosition","freeDragPosition"]},outputs:{started:"cdkDragStarted",released:"cdkDragReleased",ended:"cdkDragEnded",entered:"cdkDragEntered",exited:"cdkDragExited",dropped:"cdkDragDropped",moved:"cdkDragMoved"},exportAs:["cdkDrag"],features:[r.yc([{provide:re,useExisting:ve}]),r.xc]}),ve.ctorParameters=()=>[{type:r.v},{type:void 0,decorators:[{type:r.C,args:[ce]},{type:r.R},{type:r.eb}]},{type:void 0,decorators:[{type:r.C,args:[i.d]}]},{type:r.Q},{type:r.ob},{type:void 0,decorators:[{type:r.R},{type:r.C,args:[oe]}]},{type:_.c,decorators:[{type:r.R}]},{type:ne},{type:r.k},{type:de,decorators:[{type:r.R},{type:r.db},{type:r.C,args:[he]}]}],ve.propDecorators={_handles:[{type:r.s,args:[he,{descendants:!0}]}],_previewTemplate:[{type:r.r,args:[me]}],_placeholderTemplate:[{type:r.r,args:[fe]}],data:[{type:r.G,args:["cdkDragData"]}],lockAxis:[{type:r.G,args:["cdkDragLockAxis"]}],rootElementSelector:[{type:r.G,args:["cdkDragRootElement"]}],boundaryElement:[{type:r.G,args:["cdkDragBoundary"]}],dragStartDelay:[{type:r.G,args:["cdkDragStartDelay"]}],freeDragPosition:[{type:r.G,args:["cdkDragFreeDragPosition"]}],disabled:[{type:r.G,args:["cdkDragDisabled"]}],constrainPosition:[{type:r.G,args:["cdkDragConstrainPosition"]}],previewClass:[{type:r.G,args:["cdkDragPreviewClass"]}],started:[{type:r.S,args:["cdkDragStarted"]}],released:[{type:r.S,args:["cdkDragReleased"]}],ended:[{type:r.S,args:["cdkDragEnded"]}],entered:[{type:r.S,args:["cdkDragEntered"]}],exited:[{type:r.S,args:["cdkDragExited"]}],dropped:[{type:r.S,args:["cdkDragDropped"]}],moved:[{type:r.S,args:["cdkDragMoved"]}]};class be{}be.\u0275mod=r.Lc({type:be}),be.\u0275inj=r.Kc({factory:function(e){return new(e||be)},providers:[ne],imports:[s.b]}),("undefined"==typeof ngJitMode||ngJitMode)&&r.Bd(be,{declarations:function(){return[ue,se,ve,de,ge,pe]},exports:function(){return[s.b,ue,se,ve,de,ge,pe]}})},"5+tZ":function(e,t,n){"use strict";n.d(t,"a",function(){return o});var r=n("lJxs"),i=n("Cfvw"),s=n("zx2A");function o(e,t,n=Number.POSITIVE_INFINITY){return"function"==typeof t?s=>s.pipe(o((n,s)=>Object(i.a)(e(n,s)).pipe(Object(r.a)((e,r)=>t(n,e,s,r))),n)):("number"==typeof t&&(n=t),t=>t.lift(new a(e,n)))}class a{constructor(e,t=Number.POSITIVE_INFINITY){this.project=e,this.concurrent=t}call(e,t){return t.subscribe(new c(e,this.project,this.concurrent))}}class c extends s.b{constructor(e,t,n=Number.POSITIVE_INFINITY){super(e),this.project=t,this.concurrent=n,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(e){this.active<this.concurrent?this._tryNext(e):this.buffer.push(e)}_tryNext(e){let t;const n=this.index++;try{t=this.project(e,n)}catch(r){return void this.destination.error(r)}this.active++,this._innerSub(t)}_innerSub(e){const t=new s.a(this),n=this.destination;n.add(t);const r=Object(s.c)(e,t);r!==t&&n.add(r)}_complete(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()}notifyNext(e){this.destination.next(e)}notifyComplete(){const e=this.buffer;this.active--,e.length>0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}},"5C5N":function(e,t,n){"use strict";n.d(t,"a",function(){return r}),n.d(t,"b",function(){return a});var r,i=n("xwJx"),s=n("mjQ1"),o=n("5puH");!function(e){e.RemarkCreated="\u0417\u0430\u043c\u0435\u0447\u0430\u043d\u0438\u0435 \u0441\u043e\u0437\u0434\u0430\u043d\u043e",e.StatusUpdated="\u0421\u0442\u0430\u0442\u0443\u0441 \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d",e.RemarkClosed="\u0417\u0430\u043c\u0435\u0447\u0430\u043d\u0438\u0435 \u0437\u0430\u043a\u0440\u044b\u0442\u043e",e.RemarkCanceled="\u0417\u0430\u043c\u0435\u0447\u0430\u043d\u0438\u0435 \u0430\u043d\u043d\u0443\u043b\u0438\u0440\u043e\u0432\u0430\u043d\u043e",e.DeadlineUpdated="\u0421\u0440\u043e\u043a \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d",e.ExecutorRemoved="\u041f\u043e\u043b\u0443\u0447\u0430\u0442\u0435\u043b\u044c \u0443\u0434\u0430\u043b\u0435\u043d",e.ExecutorUpdated="\u041f\u043e\u043b\u0443\u0447\u0430\u0442\u0435\u043b\u044c \u0438\u0437\u043c\u0435\u043d\u0435\u043d",e.ExecutorAdded="\u041f\u043e\u043b\u0443\u0447\u0430\u0442\u0435\u043b\u044c \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d",e.FileAdded="\u0414\u043e\u043a\u0443\u043c\u0435\u043d\u0442 \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d",e.FileRemoved="\u0414\u043e\u043a\u0443\u043c\u0435\u043d\u0442 \u0443\u0434\u0430\u043b\u0435\u043d",e.FileUpdated="\u0414\u043e\u043a\u0443\u043c\u0435\u043d\u0442 \u0438\u0437\u043c\u0435\u043d\u0435\u043d",e.OwnerRemoved="\u0412\u043b\u0430\u0434\u0435\u043b\u0435\u0446 \u0443\u0434\u0430\u043b\u0435\u043d",e.OwnerUpdated="\u0412\u043b\u0430\u0434\u0435\u043b\u0435\u0446 \u0438\u0437\u043c\u0435\u043d\u0435\u043d",e.OwnerAdded="\u0412\u043b\u0430\u0434\u0435\u043b\u0435\u0446 \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d"}(r||(r={}));const a={class:"4c0830a1-a78f-4b50-8d30-dbfa2d92a832",root:o.e.root,collection:i.w.entities.collection,properties:{created:i.w.entities.attributes.created,name:i.w.entities.attributes.name,attr1:"6336fcda-2b91-41a7-b783-5ba46670ab83",attr2:"ad88ee77-8f73-4874-8886-bb6bccc04c4e",attr3:"48220645-114a-4292-a655-a990612ce083",attr4:"e64c5770-03ae-4627-9b51-a322f301df33",attr5:"4d8318b5-3c81-428a-8b45-20e3ebef4c32",author:{id:"200dde38-772c-42d2-a3cb-fcd28d96e2bf",map:s.b.option},event:{id:"d41c8205-ef74-4e84-8886-93349d7ac770",map:s.b.option}}}},"5KfX":function(e,t,n){"use strict";n.d(t,"a",function(){return X});var r=n("mrSG"),i=n("fXoL"),s=n("lkBS"),o=n("mjQ1"),a=n("SURy"),c=n("2kdd"),l=n("btuV"),u=n("bNXi"),h=n("cp0P"),d=n("Cfvw"),f=n("LRne"),p=n("VRyK"),m=n("lJxs"),g=n("bHdf"),v=n("eIep"),y=n("IzEk"),b=n("5+tZ"),_=n("UXun"),w=n("pLZG"),S=n("LtKc"),x=n("phRD"),O=n("rgIi"),k=n("CmFN"),C=n("5puH"),M=n("9eNV"),E=n("Jy0u"),T=n("Jzx+"),j=n("B3WS"),D=n("/vgn"),A=n("v7iw"),L=n("lO8T"),z=n("sz8Q"),P=n("vE6r"),I=n("RUSI"),R=n("TDVj"),N=n("VHmI"),H=n("rgsH"),F=n("Vsj3"),V=n("hYiY"),B=n("BKcn"),Y=n("xwJx");const U="2f1072d4-c778-4bd5-9f39-73ea4ca6c120",W={class:"82e61b3c-9cc0-42dc-9d50-d6b37b1aa428",root:C.e.root,collection:Y.w.entities.collection,properties:{created:Y.w.entities.attributes.created,name:Y.w.entities.attributes.name,result:"7ae56dbe-df45-47e0-96c1-940cc5700e3e",checklist:{id:"5bb87281-5f39-43c2-96fd-09b2165b19dc",map:o.b.option}}};var q=n("WRe/"),$=n("2oA3"),G=n("5C5N");let X=class{constructor(e,t,n,r,i,s,o,a,c,l,u,h,d){this.entities=e,this.metadata=t,this.directoriesService=n,this.docService=r,this.notificationService=i,this.user=s,this.content=o,this.taskService=a,this.notification=c,this.emailNotificationService=l,this.security=u,this.agreementService=h,this.companiesService=d,this.stages=[],this.setOfDocumentsClass=this.metadata.classes.getNames("\u041a\u043e\u043c\u043f\u043b\u0435\u043a\u0442 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u043e\u0432"),this.agreementClass=this.metadata.classes.getNames("\u0421\u043e\u0433\u043b\u0430\u0441\u043e\u0432\u0430\u043d\u0438\u0435"),this.taskTypeClass=this.metadata.classes.getNames("\u0422\u0438\u043f \u0437\u0430\u0434\u0430\u0447\u0438"),this.documentTaskClass=this.metadata.classes.getNames("\u0417\u0430\u0434\u0430\u0447\u0430 \u043f\u043e \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u043c"),this.kitStageClass=this.metadata.classes.getNames("\u042d\u0442\u0430\u043f \u043a\u043e\u043c\u043f\u043b\u0435\u043a\u0442\u0430")}query(e,t,n,r){let i,s;return Object(h.a)({status:this.directoriesService.approvalStatus,klass:Object(d.a)(this.setOfDocumentsClass)}).pipe(Object(m.a)(({status:i,klass:a})=>{s=i;let l=(i||[]).filter(e=>T.b.Opened===e.name||T.b.NotStarted===e.name||T.b.Finished===e.name);r&&(l=(i||[]).filter(e=>T.b.Cancel===e.name));const u=[Object(E.b)(a.id),Object(E.e)(t),this.statusCondition(l)];return n&&u.push(function(e){return{[Object(c.c)(Object(o.e)(D.a.properties.name))]:{startsWith:"%"+e}}}(n)),this.entities.analytic.query({where:Object(c.a)(u),select:Object(o.f)(I.a,a),orderBy:Object(E.h)({created:"desc"},I.a,a)},e)}),Object(g.a)(),Object(v.a)(e=>(i=e,e.items.length?this.getAgreements(e.items.map(e=>e.id)):Object(f.a)({items:[]}))),Object(m.a)(({items:e})=>Object.assign(Object.assign({},i),{items:i.items.map(t=>{const n=Object(o.j)(t,I.a),r=e.filter(e=>e.path.includes(n.id.toString())).map(e=>Object(o.j)(e,A.a));if(r.length){const e=new Map;r.forEach(t=>{t.user&&e.set(t.user.id.toString(),t)}),n.agreementUsers=Array.from(e.values()).map(e=>e.user),n.nextDate=r[0].endDate,n.isAgreementUser=n.agreementUsers.some(e=>e.id===this.user.id)}return n})})))}getAgreements(e){return Object(h.a)([Object(d.a)(this.agreementClass),this.directoriesService.approvalStatus]).pipe(Object(v.a)(([t,n])=>{const r=(n||[]).filter(e=>e.name===T.b.Opened);return this.entities.analytic.query({where:Object(c.a)([Object(E.e)(...e),Object(E.b)(A.a.class),this.statusCondition(r)]),select:Object(o.f)(A.a,t)},{skip:0,take:1e7})}))}statusCondition(e){return Object(c.b)(e.map(e=>({[Object(c.h)(Object(o.e)(I.a.properties.statusAgreement))]:{exists:{id:{eq:e.id}}}})))}refProfile(){return{[Object(c.h)(Object(o.e)(A.a.properties.user))]:{exists:{id:{eq:this.user.id}}}}}getById(e){return Object(d.a)(this.setOfDocumentsClass).pipe(Object(v.a)(t=>this.entities.get(e,Object(o.d)(I.a,t))),Object(m.a)(e=>Object(o.j)(e,I.a)))}getTaskTypesCol(e){return Object(r.a)(this,void 0,void 0,function*(){const t=yield this.taskTypeClass;return(yield this.entities.collections(e,I.c).query(Object.assign({skip:0,take:1e3},Object(o.d)(N.b,t)))).items.map(e=>Object(o.j)(e,N.b))})}getTaskOnDocs(e){return Object(d.a)(this.documentTaskClass).pipe(Object(v.a)(t=>this.entities.analytic.query({where:Object(c.a)([Object(E.e)(...e),Object(E.b)(R.a.class)]),select:Object(o.f)(R.a,t)},{skip:0,take:1e3})),Object(m.a)(e=>e.items.map(e=>Object(o.j)(e,R.a))))}getSetDocumentByDocVersion(e){return this.entities.analytic.query({where:Object(c.a)([{[Object(c.h)(Object(o.e)(I.a.properties.docVersions))]:{exists:{id:{eq:e}}}},Object(E.b)(I.a.class)]),select:[]},{skip:0,take:1})}createTask(e){return Object(r.a)(this,void 0,void 0,function*(){const t=yield this.taskTypeClass,n=(yield this.directoriesService.taskType.toPromise())||[];if(null==n?void 0:n.length){const r=n.find(e=>"\u041d\u0430 \u0441\u043e\u0433\u043b\u0430\u0441\u043e\u0432\u0430\u043d\u0438\u0435"===e.name),i=Object(o.h)({taskType:r},N.b,t);return yield this.entities.create(i,e,I.c)}return 0})}getSetDocumentsStages(e){return Object(h.a)([Object(d.a)(this.kitStageClass),Object(d.a)(this.agreementClass)]).pipe(Object(m.a)(([t,n])=>this.entities.analytic.query({where:Object(c.a)([Object(E.e)(e),Object(E.b)(P.b.class)]),select:Object(o.f)(P.b,t),join:{[Object(c.d)(P.a)]:{where:Object(E.b)(A.a.class),select:Object(o.f)(A.a,n)}}},{take:1e4,skip:0})),Object(g.a)(),Object(m.a)(e=>Object(E.j)(e.items,{schema:P.b,connect:([e],t)=>e.push(t)},{schema:A.a,connect:([e,t],n)=>{var r;return null!==(r=t.approvers)&&void 0!==r||(t.approvers=[]),t.approvers.push(n)}})))}createSetDocument(e,t,n,i){return Object(r.a)(this,void 0,void 0,function*(){const r=yield this.setOfDocumentsClass,s=(yield this.directoriesService.approvalStatus.toPromise())||[];let a;s.length&&(a=s.find(e=>e.name===T.b.Opened));for(let e of i){const t={};e.approvalStatus&&(t.approvalStatus=e.approvalStatus);const n={approvalStatus:{id:a.id,name:a.name}};yield this.updateDocVersionSatus(e.id,n,t)}const c={name:t.name,template:null==e?void 0:e.template,stages:e.stages,descriptionTemplate:e.description,descriptionAgreement:t.description,statusAgreement:a,initiators:this.user,templateAgreement:e,docVersions:i.map(e=>({id:e.id,name:""}))};(null==e?void 0:e.targetFolder)&&(c.targetFolder=e.targetFolder);const l=Object(o.h)(Object(j.c)(c),I.a,r);return yield this.entities.collections(n,C.i).create(l)})}updateSetDocument(e){return Object(r.a)(this,void 0,void 0,function*(){if(e){const t=(yield this.directoriesService.approvalStatus.toPromise())||[];if(t.length){const n=t.find(e=>e.name===T.b.Finished);if(n){const t=yield this.setOfDocumentsClass,r={statusAgreement:{id:n.id,name:n.name}},i={statusAgreement:e.statusAgreement},s=Object(o.i)(r,i,I.a,t);yield this.entities.update(Object.assign({id:e.id},s)).catch(e=>{var t,n;this.notificationService.error(null===(t=null==e?void 0:e.error)||void 0===t?void 0:t.status,null===(n=null==e?void 0:e.error)||void 0===n?void 0:n.title)})}}}})}cancelSetDocument(e){var t,n;return Object(r.a)(this,void 0,void 0,function*(){const r=(yield this.directoriesService.approvalStatus.toPromise())||[],i=r.find(e=>e.name===T.b.Finished);if(i)for(const e of this.stages){if(e.statusAgreement.name!==T.b.Finished){const t=yield this.kitStageClass,n={statusAgreement:{id:i.id,name:i.name}},r={statusAgreement:e.statusAgreement},s=Object(o.i)(n,r,P.b,t);yield this.entities.update(Object.assign({id:e.id},s)).catch(e=>{var t,n;this.notificationService.error(null===(t=null==e?void 0:e.error)||void 0===t?void 0:t.status,null===(n=null==e?void 0:e.error)||void 0===n?void 0:n.title)})}if(null===(t=null==e?void 0:e.approvers)||void 0===t?void 0:t.length)for(const t of e.approvers){const e=yield this.agreementClass,n={status:{id:i.id,name:i.name}},r={status:t.status,documentVersion:t.documentVersion},s=Object(o.i)(n,r,A.a,e);if(yield this.entities.update(Object.assign({id:t.id},s)).catch(e=>{var t,n;this.notificationService.error(null===(t=null==e?void 0:e.error)||void 0===t?void 0:t.status,null===(n=null==e?void 0:e.error)||void 0===n?void 0:n.title)}),null==t?void 0:t.taskLink){const e=yield this.taskService.getTaskById(t.taskLink.id),n=yield this.documentTaskClass,r={statusAgreement:{id:i.id,name:i.name}},s={statusAgreement:{id:e.statusAgreement.id,name:e.statusAgreement.name}},a=Object(o.i)(r,s,R.a,n);yield this.entities.update(Object.assign({id:e.id},a)).catch(e=>{var t,n;this.notificationService.error(null===(t=null==e?void 0:e.error)||void 0===t?void 0:t.status,null===(n=null==e?void 0:e.error)||void 0===n?void 0:n.title)})}}}if(null===(n=null==e?void 0:e.docVersions)||void 0===n?void 0:n.length)for(const t of e.docVersions){const e=yield this.docService.getByIdVersion(t.id).pipe(Object(y.a)(1)).toPromise();if(e.approvalStatus){const t={id:e.id},n={approvalStatus:{id:e.approvalStatus.id,name:e.approvalStatus.name}};yield this.docService.update(t,n)}}if(e&&r.length){const t=r.find(e=>e.name===T.b.Cancel);if(t){const n=yield this.setOfDocumentsClass,r={statusAgreement:{id:t.id,name:t.name}},i={statusAgreement:e.statusAgreement,docVersions:e.docVersions},s=Object(o.i)(r,i,I.a,n);yield this.entities.update(Object.assign({id:e.id},s)).catch(e=>{var t,n;this.notificationService.error(null===(t=null==e?void 0:e.error)||void 0===t?void 0:t.status,null===(n=null==e?void 0:e.error)||void 0===n?void 0:n.title)})}}})}updateSetDocumentDocVersion(e,t){return Object(r.a)(this,void 0,void 0,function*(){if(e){const n=yield this.setOfDocumentsClass,r={docVersions:t.map(e=>({id:e,name:""}))},i={},s=Object(o.i)(r,i,I.a,n);yield this.entities.update(Object.assign({id:e.id},s)).catch(e=>{var t,n;this.notificationService.error(null===(t=null==e?void 0:e.error)||void 0===t?void 0:t.status,null===(n=null==e?void 0:e.error)||void 0===n?void 0:n.title)})}})}createSetDocumentsStages(e,t,n,i,s,a,c,l,u){return Object(r.a)(this,void 0,void 0,function*(){const r=yield this.kitStageClass,h=(yield this.directoriesService.approvalStatus.toPromise())||[];let d,f;h.length&&(d=h.find(e=>e.name===T.b.Opened),f=h.find(e=>e.name===T.b.NotStarted));const p={nameStage:e.nameStage,minNumberAgreement:e.minNumberAgreement,stageTime:e.stageTime,stagesNumber:e.stagesNumber,agreementNumber:e.agreementNumber,typeCheckAgreement:e.typeCheckAgreement,typeDay:e.typeDay,startDateAgreement:a,finishDateAgreement:c,solutionCount:0,documentCount:i.length,statusAgreement:1===n?d:f,stageTemplate:e},m=Object(o.h)(Object(j.c)(p),P.b,r),g=yield this.entities.collections(t,I.b).create(m),v=yield this.agreementService.getChecklistCollection(e.id);if(v.length)for(const e of v){const t=yield this.metadata.classes.getNames("\u0427\u0435\u043a-\u043b\u0438\u0441\u0442"),n={name:e.name},r=Object(o.h)(n,B.b,t);yield this.entities.collections(g,B.a).create(r)}yield this.createAgreement(e,i,g,p,n,s,l,u)})}updateSetDocumentStage(e,t){return Object(r.a)(this,void 0,void 0,function*(){const n=(yield this.directoriesService.approvalStatus.toPromise())||[];if(n.length){const r=n.find(e=>e.name===T.b.Finished);if(r){const n={statusAgreement:{id:r.id,name:r.name},finishDateAgreement:new Date,solutionCount:t},i={statusAgreement:e.statusAgreement,finishDateAgreement:e.finishDateAgreement,solutionCount:e.solutionCount},s=yield this.kitStageClass,a=Object(o.i)(n,i,P.b,s);yield this.entities.update(Object.assign({id:e.id},a)).catch(e=>{var t,n;this.notificationService.error(null===(t=null==e?void 0:e.error)||void 0===t?void 0:t.status,null===(n=null==e?void 0:e.error)||void 0===n?void 0:n.title)})}}})}updateSetDocumentStageDates(e,t,n){var i;return Object(r.a)(this,void 0,void 0,function*(){const r=(yield this.directoriesService.approvalStatus.toPromise())||[];if(r.length){if(r.find(e=>e.name===T.b.Finished)){const r={finishDateAgreement:n,startDateAgreement:t},s={finishDateAgreement:e.finishDateAgreement,startDateAgreement:e.startDateAgreement},a=yield this.kitStageClass,c=Object(o.i)(r,s,P.b,a);if(yield this.entities.update(Object.assign({id:e.id},c)).catch(e=>{var t,n;this.notificationService.error(null===(t=null==e?void 0:e.error)||void 0===t?void 0:t.status,null===(n=null==e?void 0:e.error)||void 0===n?void 0:n.title)}),null===(i=e.approvers)||void 0===i?void 0:i.length)for(let i of e.approvers)yield this.updateAgreementDates(i,t,n)}}})}createAgreement(e,t,n,i,s,a,c,l){var u;return Object(r.a)(this,void 0,void 0,function*(){const r=yield this.agreementClass,h=yield this.documentTaskClass;if(null===(u=e.initiators)||void 0===u?void 0:u.length){const u=e.initiators.map(e=>({profile:e.profile,funcRole:void 0,company:void 0})).filter(e=>!!e.profile),d=yield this.getRoles(e.initiators,n,l),f=yield this.getCompaniesInProject(e.initiators,n,l);1===s&&(d.forEach(e=>{u.some(t=>{var n;return(null===(n=null==t?void 0:t.profile)||void 0===n?void 0:n.id)===e.user.id})||u.push({profile:e.user,funcRole:e.role,company:void 0})}),f.forEach(e=>{u.some(t=>{var n;return(null===(n=null==t?void 0:t.profile)||void 0===n?void 0:n.id)===e.user.id})||u.push({profile:e.user,funcRole:void 0,company:e.company})}));for(let e of u){const l={id:0,name:""};if(1===s){const t={name:c,startDate:i.startDateAgreement,endDate:i.finishDateAgreement,user:e.profile,statusAgreement:i.statusAgreement,agreementStage:{id:n,name:i.name},author:{id:this.user.id,name:this.user.name}},r=Object(o.h)(t,R.a,h);l.id=yield this.entities.create(r,a,N.a)}for(let s of t)if(s){const t={startDate:i.startDateAgreement,endDate:i.finishDateAgreement,user:e.profile,status:i.statusAgreement,documentVersion:s};l.id&&(t.taskLink=l),e.funcRole&&(t.functionalRoles=e.funcRole),e.company&&(t.companies=e.company);const a=Object(o.h)(t,A.a,r);yield this.entities.collections(n,P.a).create(a)}}}})}updateAgreement(e,t,n=!1){var i;return Object(r.a)(this,void 0,void 0,function*(){if(e){const r=(yield this.directoriesService.approvalStatus.toPromise())||[];if(r.length){const s=r.find(e=>e.name===T.b.Finished);if(s){const r=yield this.agreementClass,a={status:{id:e.statusId,name:""},comment:e.commentToDoc,endDate:new Date};n&&(a.status.name=s.name,a.status.id=s.id),!e.commentToDoc&&delete a.comment;const c={status:e.status,endDate:e.endDate},l=Object(o.i)(a,c,A.a,r);if(yield this.entities.update(Object.assign({id:e.id},l)).catch(e=>{var t,n;this.notificationService.error(null===(t=null==e?void 0:e.error)||void 0===t?void 0:t.status,null===(n=null==e?void 0:e.error)||void 0===n?void 0:n.title)}),null===(i=null==e?void 0:e.checklists)||void 0===i?void 0:i.length)for(const t of e.checklists)yield this.createChecklist(t,e.id);const u=yield this.documentTaskClass,h={statusAgreement:{id:s.id,name:s.name},endDate:new Date};t&&(h.comment=t);const d=yield this.getTaskOnDocumentById(e.taskLink.id,u),f={statusAgreement:d.statusAgreement,endDate:d.endDate},p=Object(o.i)(h,f,R.a,u);yield this.entities.update(Object.assign({id:d.id},p)).catch(e=>{var t,n;this.notificationService.error(null===(t=null==e?void 0:e.error)||void 0===t?void 0:t.status,null===(n=null==e?void 0:e.error)||void 0===n?void 0:n.title)})}}}})}createChecklist(e,t){return Object(r.a)(this,void 0,void 0,function*(){const n=yield this.metadata.classes.getNames("\u0427\u0435\u043a-\u043b\u0438\u0441\u0442 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442"),r={name:e.name,result:e.result,checklist:{id:e.id,name:""}},i=Object(o.h)(r,W,n);yield this.entities.collections(t,U).create(i)})}getChecklistResult(e){return Object(r.a)(this,void 0,void 0,function*(){const t=yield this.metadata.classes.getNames("\u0427\u0435\u043a-\u043b\u0438\u0441\u0442 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442");return(yield this.entities.collections(e,U).query(Object.assign({skip:0,take:100},Object(o.d)(W,t)))).items.map(e=>Object(o.j)(e,W))})}updateAgreementDates(e,t,n){return Object(r.a)(this,void 0,void 0,function*(){if(e){const r=yield this.agreementClass,i={startDate:t,endDate:n},s={startDate:e.startDate,endDate:e.endDate},a=Object(o.i)(i,s,A.a,r);yield this.entities.update(Object.assign({id:e.id},a))}})}checkDocVersion(e){return this.directoriesService.approvalStatus.pipe(Object(v.a)(t=>{if(!t)return Object(f.a)([]);const n=t.filter(e=>T.b.NotStarted===e.name||T.b.Opened===e.name).map(e=>e.id);return this.entities.analytic.query({select:"*",where:Object(c.a)([Object(E.b)(A.a.class),{[Object(c.h)(Object(o.e)(A.a.properties.documentVersion))]:{exists:Object(c.b)(e.map(e=>({id:{eq:e.id}})))}},{[Object(c.h)(Object(o.e)(A.a.properties.status))]:{exists:Object(c.b)(n.map(e=>({id:{eq:e}})))}}])},{skip:0,take:1e9}).pipe(Object(m.a)(({items:e})=>e.map(e=>Object(o.j)(e,A.a))))}))}getAgreementByVersion(e,t){return this.entities.analytic.query({select:"*",where:Object(c.a)([Object(E.e)(e),Object(E.b)(I.a.class),{[Object(c.h)(Object(o.e)(I.a.properties.docVersions))]:{exists:Object(c.b)(t.map(e=>({id:{eq:e.id}})))}}])},{skip:0,take:1e9}).pipe(Object(m.a)(({items:e})=>e.map(e=>Object(o.j)(e,I.a))))}getAgreementByDate(e,t){return this.entities.analytic.query({select:"*",where:Object(c.a)([Object(E.e)(e),Object(E.b)(I.a.class),(n="le",r=t,{[Object(c.c)(Object(o.e)(I.a.properties.created))]:{[n]:r}})])},{skip:0,take:1e9}).pipe(Object(m.a)(({items:e})=>e.map(e=>Object(o.j)(e,I.a))));var n,r}getTaskOnDocumentById(e,t){return Object(r.a)(this,void 0,void 0,function*(){return Object(o.j)(yield this.entities.get(e,Object(o.d)(R.a,t)),R.a)})}getSetDocumentStageById(e){return Object(r.a)(this,void 0,void 0,function*(){const t=yield this.kitStageClass;return Object(o.j)(yield this.entities.get(e,Object(o.d)(P.b,t)),P.b)})}getAgreementsById(e){return this.directoriesService.approvalStatus.pipe(Object(v.a)(t=>{if(!t)return Object(f.a)([]);const n=t.filter(e=>T.b.NotStarted===e.name||T.b.Opened===e.name).map(e=>e.id);return this.entities.analytic.query({select:"*",where:Object(c.a)([Object(E.e)(e),Object(E.b)(A.a.class),{[Object(c.h)(Object(o.e)(A.a.properties.status))]:{exists:Object(c.b)(n.map(e=>({id:{eq:e}})))}}])},{skip:0,take:1e9}).pipe(Object(m.a)(({items:e})=>e.map(e=>Object(o.j)(e,A.a))))}))}updateNextSetDocumentStage(e,t,n,i,s){var a,c;return Object(r.a)(this,void 0,void 0,function*(){const r=e[t],l=(yield this.directoriesService.approvalStatus.toPromise())||[];if(l.length){const e=l.find(e=>e.name===T.b.Opened);if(e){const t={statusAgreement:{id:e.id,name:e.name}},l={statusAgreement:r.statusAgreement},u=yield this.kitStageClass,h=yield this.documentTaskClass,d=Object(o.i)(t,l,P.b,u);yield this.entities.update(Object.assign({id:r.id},d)).catch(e=>{var t,n;this.notificationService.error(null===(t=null==e?void 0:e.error)||void 0===t?void 0:t.status,null===(n=null==e?void 0:e.error)||void 0===n?void 0:n.title)});const f=[],p=yield this.taskService.getTaskType(n,[F.a.OnAgreement]).toPromise();if(r.approvers){const t=new Map;for(let n of r.approvers){f.some(e=>e.id===n.user.id)||f.push(n.user);const s={id:0,name:""};if(t.has(n.user.id.toString()))s.id=t.get(n.user.id.toString());else{const a={name:i.name,startDate:r.startDateAgreement,endDate:r.finishDateAgreement,user:n.user,author:{id:this.user.id,name:this.user.name},statusAgreement:{id:e.id,name:e.name},agreementStage:{id:r.id,name:r.name}},c=Object(o.h)(a,R.a,h);yield this.entities.create(c,p[0].id,N.a).then(e=>{s.id=e,t.set(n.user.id.toString(),s.id)}).catch(e=>{var t,n;this.notificationService.error(null===(t=null==e?void 0:e.error)||void 0===t?void 0:t.status,null===(n=null==e?void 0:e.error)||void 0===n?void 0:n.title)})}if(null==s?void 0:s.id){const t={status:{id:e.id,name:e.name},taskLink:s},r={status:n.status};n.taskLink&&(r.taskLink={id:n.taskLink.id,name:n.taskLink.name});const i=yield this.agreementClass,a=Object(o.i)(t,r,A.a,i);yield this.entities.update(Object.assign({id:n.id},a)).catch(e=>{var t,n;this.notificationService.error(null===(t=null==e?void 0:e.error)||void 0===t?void 0:t.status,null===(n=null==e?void 0:e.error)||void 0===n?void 0:n.title)})}}}const m=(null===(a=r.functionalRoles)||void 0===a?void 0:a.length)?r.functionalRoles.map(e=>({functionalRoles:e})):s.initiators||[],g=(null===(c=r.companies)||void 0===c?void 0:c.length)?r.companies.map(e=>({company:e})):s.initiators||[],v=yield this.getRoles(m,r.id,n,!r.functionalRoles),y=yield this.getCompaniesInProject(g,r.id,n,!r.companies),b=[];if(v.forEach(e=>{f.some(t=>t.id===e.user.id)||b.push({profile:e.user,funcRole:e.role,company:void 0})}),y.forEach(e=>{f.some(t=>t.id===e.user.id)||b.push({profile:e.user,funcRole:void 0,company:e.company})}),b.length){const t=yield this.agreementClass;for(let n of b){const s={id:0,name:""},a={name:i.name,startDate:r.startDateAgreement,endDate:r.finishDateAgreement,user:n.profile,statusAgreement:{id:e.id,name:e.name},agreementStage:{id:r.id,name:r.name},author:{id:this.user.id,name:this.user.name}},c=Object(o.h)(a,R.a,h);s.id=yield this.entities.create(c,p[0].id,N.a);for(let l of i.docVersions)if(l){const i={startDate:r.startDateAgreement,endDate:r.finishDateAgreement,user:n.profile,status:{id:e.id,name:e.name},documentVersion:{id:l.id,name:""}};n.funcRole&&(i.functionalRoles=n.funcRole),n.company&&(i.companies=n.company),s.id&&(i.taskLink=s);const a=Object(o.h)(i,A.a,t);yield this.entities.collections(r.id,P.a).create(a)}}}}}})}onFuncRoleUsersCreateAgreement(e,t,n){var i;return Object(r.a)(this,void 0,void 0,function*(){const r=((yield this.directoriesService.approvalStatus.toPromise())||[]).find(e=>e.name===T.b.Opened),s=[];if(r){const a=e.find(e=>e.statusAgreement.id===r.id);if(a){if(null===(i=a.approvers)||void 0===i?void 0:i.length)return[];const c=yield this.documentTaskClass,l=yield this.taskService.getTaskType(t,[F.a.OnAgreement]).toPromise(),u=a.functionalRoles.map(e=>({functionalRoles:e})),h=yield this.getRoles(u,a.id,t,!a.functionalRoles),d=yield this.getCompaniesInProject(u,a.id,t,!a.companies),f=[];if(h.forEach(e=>{f.push({profile:e.user,funcRole:e.role,companies:void 0})}),d.forEach(e=>{f.push({profile:e.user,funcRole:void 0,companies:e.company})}),f.length&&f.some(e=>e.profile.id===this.user.id)){const t=yield this.agreementClass;if(null==n?void 0:n.docVersions)for(let e of f)for(let i of null==n?void 0:n.docVersions){const u={id:0,name:""},h={name:n.name,startDate:a.startDateAgreement,endDate:a.finishDateAgreement,user:e.profile,statusAgreement:{id:r.id,name:r.name},agreementStage:{id:a.id,name:a.name},author:{id:this.user.id,name:this.user.name}},d=Object(o.h)(h,R.a,c);if(u.id=yield this.entities.create(d,l[0].id,N.a),i){const n={startDate:null==a?void 0:a.startDateAgreement,endDate:null==a?void 0:a.finishDateAgreement,user:e.profile,status:{id:r.id,name:r.name},documentVersion:{id:i.id,name:i.name||""}};u.id&&(n.taskLink=u),e.funcRole&&(n.functionalRoles=e.funcRole),e.companies&&(n.companies=e.companies);const c=Object(o.h)(n,A.a,t),l=yield this.entities.collections(a.id,P.a).create(c);s.push(Object.assign(Object.assign({},n),{id:l}))}}return a.approvers=s,e}}}return e})}calculateEndDate(e,t){let n=e;if("\u0420\u0430\u0431\u043e\u0447\u0438\u0435 \u0434\u043d\u0438"===t.typeDay.name){let e=0;for(;t.stageTime!==e;)n=new Date(n.setDate(n.getDate()+1)),0!==n.getDay()&&6!==n.getDay()&&(e+=1)}else n=new Date(n.setDate(n.getDate()+t.stageTime));return n}export(e,t,n,r){const i=Object(d.a)(Object(O.b)(e,t,n));let o=i.pipe(Object(m.a)(()=>l(2,1)));const a=i.pipe(Object(b.a)(e=>this.content.upload(new File([e],r))),Object(_.a)());o=Object(p.a)(o,a.pipe(Object(w.a)(s.e),Object(m.a)(e=>l(3,Object(s.c)(e)))));const c=a.pipe(Object(w.a)(e=>!Object(s.e)(e)));return Object(p.a)(o,c);function l(e,t,n=2){return+((e-1+t)/n).toFixed(2)}}getUserFromFunctionalRoles(e,t){return Object(d.a)(this.metadata.classes.getNames("\u0420\u043e\u043b\u0438 \u0432 \u043f\u0440\u043e\u0435\u043a\u0442\u0435")).pipe(Object(v.a)(n=>this.entities.analytic.query({where:Object(c.a)([Object(E.e)(t),Object(E.b)(n.id),{[Object(c.h)(Object(o.e)(z.a.properties.role))]:{exists:Object(c.b)(e.map(e=>({id:{eq:e}})))}}]),select:Object(o.f)(z.a,n)},{skip:0,take:1e3})),Object(m.a)(e=>e.items.map(e=>Object(o.j)(e,z.a))))}getRolesOfUsers(e,t){return Object(d.a)(this.metadata.classes.getNames("\u0420\u043e\u043b\u0438 \u0432 \u043f\u0440\u043e\u0435\u043a\u0442\u0435")).pipe(Object(v.a)(n=>this.entities.analytic.query({where:Object(c.a)([Object(E.e)(t),Object(E.b)(n.id),{[Object(c.h)(Object(o.e)(z.a.properties.user))]:{exists:Object(c.b)(e.map(e=>({id:{eq:e}})))}}]),select:Object(o.f)(z.a,n)},{skip:0,take:1e3})),Object(m.a)(e=>e.items.map(e=>Object(o.j)(e,z.a)).filter(e=>{var t;return null===(t=e.role)||void 0===t?void 0:t.id}).map(e=>e.role.id)))}getRolesOfProject(e){let t=[],n=[],r={};return Object(d.a)(this.metadata.classes.getNames("\u0420\u043e\u043b\u0438 \u0432 \u043f\u0440\u043e\u0435\u043a\u0442\u0435")).pipe(Object(v.a)(t=>this.entities.collections(e,C.h).query(Object.assign({skip:0,take:1e3},Object(o.d)(z.a,t)))),Object(m.a)(e=>e.items.map(e=>Object(o.j)(e,z.a))),Object(v.a)(e=>e.length?(t=e,Object(d.a)(this.security.profiles.get(e.filter(e=>!!e.user).map(e=>e.user.name)))):Object(f.a)([])),Object(m.a)(e=>(t.forEach(t=>{if(t.role&&t.user){const i=n.find(e=>{var n;return e.id===(null===(n=t.role)||void 0===n?void 0:n.id)}),s=e.find(e=>t.user.id===e.id);i?i.users.push(Object.assign(Object.assign({},t.user),{profile:s})):n.push({id:t.role.id,name:t.role.name,users:[Object.assign(Object.assign({},t.user),{profile:s})]}),r[t.user.id]?r[t.user.id].push(t.role.name):r[t.user.id]=[t.role.name]}}),{roles:n,usersFuncRole:r})))}getRoles(e,t,n,i=!0){return Object(r.a)(this,void 0,void 0,function*(){let r=[];e&&e.length&&e.forEach(e=>{e.functionalRoles&&(Array.isArray(e.functionalRoles)?e.functionalRoles.forEach(e=>{r.some(t=>t===e.id)||r.push(e.id)}):r.push(e.functionalRoles.id))});let s=[];if(r.length){if(i){const e=yield this.kitStageClass,n=Object(o.i)({functionalRoles:r.map(e=>({id:e,name:""}))},{},P.b,e);yield this.entities.update(Object.assign(Object.assign({},n),{id:t}))}s=yield this.getUserFromFunctionalRoles(r,n).toPromise()}return s})}getCompaniesInProject(e,t,n,i=!0){return Object(r.a)(this,void 0,void 0,function*(){const r=[];e&&e.length&&e.forEach(e=>{e.company&&(Array.isArray(e.company)?e.company.forEach(e=>{r.some(t=>t===e.id)||r.push(e.id)}):r.push(e.company.id))});let s=[];if(r.length){if(i){const e=yield this.kitStageClass,n=Object(o.i)({companies:r.map(e=>({id:e,name:""}))},{},P.b,e);yield this.entities.update(Object.assign(Object.assign({},n),{id:t}))}s=yield this.companiesService.getCompaniesInProjectByCompanyIds(r,n).toPromise()}return s})}addAgreementToAddedUsers(e,t,n,i,s,a,c){return Object(r.a)(this,void 0,void 0,function*(){if(!c){const e=(yield this.directoriesService.approvalStatus.toPromise())||[];c=e.find(e=>e.name===T.b.Opened)}const r=yield this.taskService.getTaskType(a,[F.a.OnAgreement]).toPromise(),l=yield this.agreementClass,u=yield this.documentTaskClass;if(t.length){const e=yield this.kitStageClass,n=Object(o.i)({functionalRoles:t.map(e=>({id:e.id,name:""}))},{},P.b,e);yield this.entities.update(Object.assign(Object.assign({},n),{id:i.id}))}if(n.length){const e=yield this.kitStageClass,t=Object(o.i)({companies:n.map(e=>({id:e.id,name:""}))},{},P.b,e);yield this.entities.update(Object.assign(Object.assign({},t),{id:i.id}))}for(let t of e){const e={id:0,name:""},n={name:s.name,startDate:i.startDateAgreement,endDate:i.finishDateAgreement,user:{id:t.profile.id,name:""},statusAgreement:{id:c.id,name:c.name},agreementStage:{id:i.id,name:i.name},author:{id:this.user.id,name:this.user.name}},a=Object(o.h)(n,R.a,u);e.id=yield this.entities.create(a,r[0].id,N.a);for(let r of s.docVersions)if(r){const n={startDate:i.startDateAgreement,endDate:i.finishDateAgreement,user:{id:t.profile.id,name:""},status:{id:c.id,name:c.name},documentVersion:{id:r.id,name:""}};e.id&&(n.taskLink=e),t.funcRole&&(n.functionalRoles=t.funcRole),t.company&&(n.companies=t.company);const s=Object(o.h)(n,A.a,l);yield this.entities.collections(i.id,P.a).create(s)}}if(e.length){const t=e.filter(e=>!!e).map(e=>e.profile);yield this.sendToEmail(`\u0412\u0430\u0441 \u0434\u043e\u0431\u0430\u0432\u0438\u043b\u0438 \u0432 \u044d\u0442\u0430\u043f \u0441\u043e\u0433\u043b\u0430\u0441\u043e\u0432\u0430\u043d\u0438\u044f: ${i.nameStage} \u0432 \u0441\u043e\u0433\u043b\u0430\u0441\u043e\u0432\u0430\u043d\u0438\u0438 \u0441\u043e\u0433\u043b\u0430\u0441\u043e\u0432\u0430\u043d\u0438\u0435 ${s.name}`,`\u0412\u0430\u0441 \u0434\u043e\u0431\u0430\u0432\u0438\u043b\u0438 \u0432 \u044d\u0442\u0430\u043f \u0441\u043e\u0433\u043b\u0430\u0441\u043e\u0432\u0430\u043d\u0438\u044f: ${i.nameStage} \u0432 \u0441\u043e\u0433\u043b\u0430\u0441\u043e\u0432\u0430\u043d\u0438\u0438 \u0441\u043e\u0433\u043b\u0430\u0441\u043e\u0432\u0430\u043d\u0438\u0435 <a target="_blank" href="${this._agreementStageLink(s.id,a)}">${s.name}</a>`,t,s.id,a)}})}removeAgreement(e,t,n,i,s){return Object(r.a)(this,void 0,void 0,function*(){if(e.length){let t=[];const n=yield this.taskService.getTaskType(s,[F.a.OnAgreement]).toPromise(),r=yield this.entities.analytic.query({where:Object(c.a)([{[Object(c.h)(Object(o.e)(R.a.properties.user))]:{exists:Object(c.b)(e.map(e=>({id:{eq:e}})))}},{[Object(c.h)(Object(o.e)(R.a.properties.agreementStage))]:{exists:Object(c.b)(i.map(e=>({id:{eq:e.id}})))}},Object(E.b)(R.a.class),Object(E.e)(n[0].id)]),select:[]},{skip:0,take:1e3}).pipe(Object(v.a)(e=>(t=e.items.map(e=>e.id),t.length?this.entities.analytic.query({where:Object(c.a)([{[Object(c.h)(Object(o.e)(A.a.properties.taskLink))]:{exists:Object(c.b)(t.map(e=>({id:{eq:e}})))}}]),select:[]},{skip:0,take:1e3}):Object(f.a)({items:[],skipped:0,total:0})))).toPromise();t=t.concat(r.items.map(e=>e.id)),t.length&&(yield this.entities.delete(...t))}if(t.length){const e=yield this.kitStageClass,n=Object(o.i)({},{functionalRoles:t.map(e=>({id:e.id,name:""}))},P.b,e);yield this.entities.update(Object.assign(Object.assign({},n),{id:i[0].id}))}if(n.length){const e=yield this.kitStageClass,t=Object(o.i)({},{companies:n.map(e=>({id:e.id,name:""}))},P.b,e);yield this.entities.update(Object.assign(Object.assign({},t),{id:i[0].id}))}})}getSetDocumentStages(e,t,n){return Object(h.a)({klass:Object(d.a)(this.metadata.classes.getNames("\u042d\u0442\u0430\u043f \u043a\u043e\u043c\u043f\u043b\u0435\u043a\u0442\u0430")),statuses:this.directoriesService.approvalStatus}).pipe(Object(v.a)(({klass:r,statuses:i})=>{const s=(i||[]).find(e=>e.name===T.b.Opened),a=[Object(E.e)(e),Object(E.b)(r.id),{[Object(c.h)(Object(o.e)(P.b.properties.statusAgreement))]:{exists:{id:{eq:s.id}}}}];return t.length&&a.push({[Object(c.h)(Object(o.e)(P.b.properties.functionalRoles))]:{exists:Object(c.b)(t.map(e=>({id:{eq:e}})))}}),n.length&&a.push({[Object(c.h)(Object(o.e)(P.b.properties.companies))]:{exists:Object(c.b)(n.map(e=>({id:{eq:e}})))}}),this.entities.analytic.query({where:Object(c.a)(a),select:Object(o.f)(P.b,r)},{skip:0,take:1e3})}),Object(m.a)(e=>e.items.map(e=>{const t=Object(o.c)(e.path);return Object.assign(Object.assign({},Object(o.j)(e,P.b)),{setDocumentId:t[t.length-1]})})))}getAgreementsAndTasksByUsers(e,t){return Object(h.a)({klass:Object(d.a)(this.metadata.classes.getNames(["\u0421\u043e\u0433\u043b\u0430\u0441\u043e\u0432\u0430\u043d\u0438\u0435","\u0417\u0430\u0434\u0430\u0447\u0430 \u043f\u043e \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u043c"])),statuses:this.directoriesService.approvalStatus}).pipe(Object(v.a)(({klass:n,statuses:r})=>{const i=(r||[]).find(e=>e.name===T.b.Opened),s=(r||[]).find(e=>e.name===T.b.NotStarted);return this.getAgreementsByUsers(e,t,n,[i,s])}))}sendToEmail(e,t,n,i,s){return Object(r.a)(this,void 0,void 0,function*(){yield this.emailNotificationService.sendEmailNotificationToUsers(n,t).pipe(Object(y.a)(1)).toPromise().catch(e=>console.log(e));const r={eventType:L.a.Agreement,text:e,base:i.toString(),project:{id:s,name:""},recipients:n.map(e=>({id:e.id,name:e.name}))};yield this.notification.createNotification(r)})}getSetDocumentByIds(e){return Object(d.a)(this.metadata.classes.getNames("\u041a\u043e\u043c\u043f\u043b\u0435\u043a\u0442 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u043e\u0432")).pipe(Object(v.a)(t=>this.entities.analytic.query({where:Object(c.a)([Object(E.e)(...e),Object(E.b)(t.id)]),select:Object(o.f)(I.a,t)},{skip:0,take:1e3})),Object(m.a)(e=>e.items.map(e=>Object(o.j)(e,I.a))))}getAgreementsByUsers(e,t,n,r){return this.entities.analytic.query({where:Object(c.a)([Object(E.e)(e),Object(E.b)(n[0].id),{[Object(c.h)(Object(o.e)(A.a.properties.status))]:{exists:Object(c.b)(r.map(e=>({id:{eq:e.id}})))}},{[Object(c.h)(Object(o.e)(A.a.properties.user))]:{exists:Object(c.b)(t.map(e=>({id:{eq:e}})))}}]),select:[]},{skip:0,take:1e3}).pipe(Object(v.a)(e=>{const t=e.items.map(e=>e.id);return t.length?this.getTasksFromAgreements(t,n[1]).pipe(Object(m.a)(e=>e.items.map(e=>e.id).concat(t))):Object(f.a)(t)}))}getTasksFromAgreements(e,t){return this.entities.analytic.query({where:Object(c.a)([Object(E.e)(...e),Object(E.b)(t.id)]),select:[]},{skip:0,take:1e3})}updateAgreementFuncRole(e){return Object(r.a)(this,void 0,void 0,function*(){for(let t of e)for(let e of t.agreementsOfUser){const n=yield this.agreementClass,r={},i={};t.funcRole&&(i.functionalRoles={id:t.funcRole.id,name:""}),t.company&&(i.companies={id:t.company.id,name:""});const s=Object(o.i)(r,i,A.a,n);yield this.entities.update(Object.assign({id:e},s))}})}updateAgreementToAddReference(e){return Object(r.a)(this,void 0,void 0,function*(){for(let t of e)for(let e of t.agreementsOfUser){const n=yield this.agreementClass,r={},i={};t.funcRole&&(r.functionalRoles={id:t.funcRole.id,name:""}),t.company&&(r.companies={id:t.company.id,name:""});const s=Object(o.i)(r,i,A.a,n);yield this.entities.update(Object.assign({id:e},s))}})}updateDocVersionSatus(e,t,n){return Object(r.a)(this,void 0,void 0,function*(){const r=yield this.metadata.classes.getNames("\u0421.\u0414\u043e\u043a\u0443\u043c\u0435\u043d\u0442 \u0412\u0435\u0440\u0441\u0438\u044f"),i=Object(o.i)(t,n,x.a,r);yield this.entities.update(Object.assign(Object.assign({},i),{id:e}))})}recalculate(e,t,n){return Object(r.a)(this,void 0,void 0,function*(){const r=yield this.getItemById(e);null!=t&&(yield this.updateRef(r,t));const i=yield this.getItemById(e);yield this.recalculatePercent(i,n)})}updateRef(e,t){return Object(r.a)(this,void 0,void 0,function*(){const n={id:e.id,properties:{},links:{add:{},remove:{}}};let r=!1;e.links["eacafac6-6496-4f90-b418-00251553431b"]&&e.links["eacafac6-6496-4f90-b418-00251553431b"][0].id&&(n.links.remove["eacafac6-6496-4f90-b418-00251553431b"]=[e.links["eacafac6-6496-4f90-b418-00251553431b"][0].id],e.links["eacafac6-6496-4f90-b418-00251553431b"][0].id===t&&(r=!0)),t&&(n.links.add["eacafac6-6496-4f90-b418-00251553431b"]=[t]),r&&(n.links={add:{},remove:{}}),yield this.entities.update(n)})}saveEvent(e,t){return Object(r.a)(this,void 0,void 0,function*(){const n=yield this.metadata.classes.get(G.b.class),r=Object(o.h)(t,G.b,n);yield this.entities.collections(e,"ef223694-5c57-4003-95cd-394d54edccd6").create(r)})}currentDate(e){return["\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","\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435"][(e=e||new Date).getDay()-1]+", "+e.getDate()+" "+["\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"][e.getMonth()]+" "+(e.getFullYear()<10?"0":"")+e.getFullYear()+", "+(e.getHours()<10?"0":"")+e.getHours()+":"+(e.getMinutes()<10?"0":"")+e.getMinutes()+":"+(e.getSeconds()<10?"0":"")+e.getSeconds()}recalculatePercent(e,t){return Object(r.a)(this,void 0,void 0,function*(){const n={};if(n["8cff239e-cf84-4a51-b44b-152140de3ece"]=(null!=t?t:null)||(yield this.getPercent(e.id)),n["7f790559-1976-4fc9-b68e-9b515ba22155"]=n["8cff239e-cf84-4a51-b44b-152140de3ece"],e.properties["8cff239e-cf84-4a51-b44b-152140de3ece"]!==n["8cff239e-cf84-4a51-b44b-152140de3ece"]){const t={name:'\u0418\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u0432 \u043f\u043e\u043b\u0435 "% \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u0438\u044f (\u0444\u0430\u043a\u0442), '+this.currentDate(),attr1:e.properties["8cff239e-cf84-4a51-b44b-152140de3ece"]+"%",attr2:n["8cff239e-cf84-4a51-b44b-152140de3ece"]+"%",event:{id:999000003132},author:{id:this.user.id}};yield this.saveEvent(e.id,t)}if(this.confirmation)n["f1c67d5a-08d0-444f-a29a-087373c8ed14"]=this.confirmation;else{const t=e.links["eacafac6-6496-4f90-b418-00251553431b"]?e.links["eacafac6-6496-4f90-b418-00251553431b"][0].id:null;if(t){const e=yield this.getSetDocumentsStages(t).toPromise(),[r]=e.sort((e,t)=>e.id>t.id?-1:t.id>e.id?1:0);(null==r?void 0:r.finishDateAgreement)&&(n["f1c67d5a-08d0-444f-a29a-087373c8ed14"]=r.finishDateAgreement)}else n["f1c67d5a-08d0-444f-a29a-087373c8ed14"]=null}const r={id:e.id,properties:n,links:{add:{},remove:{}}};yield this.entities.update(r)})}getItemById(e){return Object(r.a)(this,void 0,void 0,function*(){const t={where:{and:[{id:{eq:e}}]},select:"*"},{items:[n]}=yield this.entities.analytic.query(t,{skip:0,take:1}).toPromise();return n})}getItems(e,t){return Object(r.a)(this,void 0,void 0,function*(){const n={where:{and:[{ancestors:{exists:{id:{eq:e}}}},{class:{eq:t}}]},select:"*"},{items:r}=yield this.entities.analytic.query(n,{skip:0,take:1e6}).toPromise();return r})}getPercent(e){return Object(r.a)(this,void 0,void 0,function*(){const t=yield this.getItemById(e);let n=0;if(t.links["eacafac6-6496-4f90-b418-00251553431b"]){const e=[];for(const n of t.links["eacafac6-6496-4f90-b418-00251553431b"]){const t=yield this.getItemById(n.id),r=t.links["ffc4d8d7-ad06-43a1-8aa8-b85e201a61fa"][0].properties["ab07a132-ca5a-11e9-a094-0242ac110002"];e.push({id:t.id,status:r})}const r=t.links["eacafac6-6496-4f90-b418-00251553431b"].length,i=e.filter(e=>"\u0417\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u043e"===e.status).length;n=Math.floor(i/r*100)}const{items:r}=yield this.entities.collections(e,"010b2a48-c5b7-11e9-bdef-0242ac110002").query({skip:0,take:1e6}),i=[];for(const e of r){const t=yield this.getItemById(e.id);i.push({id:t.id,percent:parseInt(t.properties["8cff239e-cf84-4a51-b44b-152140de3ece"]||0)})}const s=i.reduce((e,t)=>e+t.percent,0),o=Math.floor(s/(r.length||1))||100;return t.links["eacafac6-6496-4f90-b418-00251553431b"]?r.length?Math.floor((n+o)/2):n:r.length?o:0})}_agreementStageLink(e,t){return`${location.origin}/project/${t}/agreement-on-templates/${e}/stages`}};X.ctorParameters=()=>[{type:o.a},{type:a.c},{type:H.a},{type:q.a},{type:u.b},{type:void 0,decorators:[{type:i.C,args:[M.a]}]},{type:s.b},{type:F.b},{type:S.b},{type:k.a},{type:l.c},{type:V.a},{type:$.a}],X=Object(r.b)([Object(i.D)({providedIn:"root"})],X)},"5PbX":function(e,t,n){"use strict";n.d(t,"a",function(){return i});var r=n("xwJx");const i={class:"f9dfb85f-6a79-4824-adf1-ea6d40490b18",root:n("5puH").e.root,collection:r.w.entities.collection,properties:{created:r.w.entities.attributes.created,name:r.w.entities.attributes.name}}},"5puH":function(e,t,n){"use strict";n.d(t,"a",function(){return s}),n.d(t,"f",function(){return o}),n.d(t,"g",function(){return a}),n.d(t,"i",function(){return c}),n.d(t,"c",function(){return l}),n.d(t,"d",function(){return u}),n.d(t,"h",function(){return h}),n.d(t,"b",function(){return d}),n.d(t,"e",function(){return f});var r=n("xwJx"),i=n("mjQ1");const s="1df87514-ffc6-4dce-a957-ae459ad0618c",o="01ef8ed3-6faf-4897-925e-a218762b495d",a="58174c4f-9707-44cb-9906-9753eb41068e",c="16123c1c-9701-461c-9ae4-3a8b0e0995ce",l="b3e41e7d-b8bc-4aa2-94f5-0c117a242ef1",u="0635c1ac-52ad-4073-9c0e-96ebe5a2893a",h="8d79bcd7-639a-46c1-8050-95a8df30e832",d="9950fa95-fc50-4e1c-90ae-d020b1986c4d",f={class:"a2bcfd8c-0268-45aa-8997-695dd338c300",root:10007042,collection:r.w.entities.collection,properties:{name:r.w.entities.attributes.name,created:r.w.entities.attributes.created,lkpNumber:"aa320a63-a28f-4d26-9815-f849fdf43bdc",cipher:"c7e22dc4-6cd5-4a39-8f3d-c5c87ca6fc56",approvalTermApprover:"60863b87-f49b-4850-8a3e-5cbf16d64960",approvalTermDkk:"f47475ee-62c9-409b-bef1-f94e36b7126d",approvalTermEol:"6fa81008-214b-42ca-9d8f-1e9e78649d10",photo:"06cadc47-ef60-49a0-9bbf-7b5d6cad9a3c",filesSize:"16a218ae-18d0-4371-a158-44b6beb2e9f2",filesCount:"e044e73c-3cb4-4c53-aaab-95b696e752f0",address:"691e9da0-4012-43f3-a574-c999c5049afb",projectTemplate:{id:"d920e6d4-5bb2-4546-b51f-157599f073fc",map:i.b.option}}}},"6+QB":function(e,t,n){!function(e){"use strict";e.defineLocale("ms",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"tengahari"===t?e>=11?e:e+12:"petang"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"pagi":e<15?"tengahari":e<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(n("wd/R"))},"6B0Y":function(e,t,n){!function(e){"use strict";var t={1:"\u17e1",2:"\u17e2",3:"\u17e3",4:"\u17e4",5:"\u17e5",6:"\u17e6",7:"\u17e7",8:"\u17e8",9:"\u17e9",0:"\u17e0"},n={"\u17e1":"1","\u17e2":"2","\u17e3":"3","\u17e4":"4","\u17e5":"5","\u17e6":"6","\u17e7":"7","\u17e8":"8","\u17e9":"9","\u17e0":"0"};e.defineLocale("km",{months:"\u1798\u1780\u179a\u17b6_\u1780\u17bb\u1798\u17d2\u1797\u17c8_\u1798\u17b8\u1793\u17b6_\u1798\u17c1\u179f\u17b6_\u17a7\u179f\u1797\u17b6_\u1798\u17b7\u1790\u17bb\u1793\u17b6_\u1780\u1780\u17d2\u1780\u178a\u17b6_\u179f\u17b8\u17a0\u17b6_\u1780\u1789\u17d2\u1789\u17b6_\u178f\u17bb\u179b\u17b6_\u179c\u17b7\u1785\u17d2\u1786\u17b7\u1780\u17b6_\u1792\u17d2\u1793\u17bc".split("_"),monthsShort:"\u1798\u1780\u179a\u17b6_\u1780\u17bb\u1798\u17d2\u1797\u17c8_\u1798\u17b8\u1793\u17b6_\u1798\u17c1\u179f\u17b6_\u17a7\u179f\u1797\u17b6_\u1798\u17b7\u1790\u17bb\u1793\u17b6_\u1780\u1780\u17d2\u1780\u178a\u17b6_\u179f\u17b8\u17a0\u17b6_\u1780\u1789\u17d2\u1789\u17b6_\u178f\u17bb\u179b\u17b6_\u179c\u17b7\u1785\u17d2\u1786\u17b7\u1780\u17b6_\u1792\u17d2\u1793\u17bc".split("_"),weekdays:"\u17a2\u17b6\u1791\u17b7\u178f\u17d2\u1799_\u1785\u17d0\u1793\u17d2\u1791_\u17a2\u1784\u17d2\u1782\u17b6\u179a_\u1796\u17bb\u1792_\u1796\u17d2\u179a\u17a0\u179f\u17d2\u1794\u178f\u17b7\u17cd_\u179f\u17bb\u1780\u17d2\u179a_\u179f\u17c5\u179a\u17cd".split("_"),weekdaysShort:"\u17a2\u17b6_\u1785_\u17a2_\u1796_\u1796\u17d2\u179a_\u179f\u17bb_\u179f".split("_"),weekdaysMin:"\u17a2\u17b6_\u1785_\u17a2_\u1796_\u1796\u17d2\u179a_\u179f\u17bb_\u179f".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/\u1796\u17d2\u179a\u17b9\u1780|\u179b\u17d2\u1784\u17b6\u1785/,isPM:function(e){return"\u179b\u17d2\u1784\u17b6\u1785"===e},meridiem:function(e,t,n){return e<12?"\u1796\u17d2\u179a\u17b9\u1780":"\u179b\u17d2\u1784\u17b6\u1785"},calendar:{sameDay:"[\u1790\u17d2\u1784\u17c3\u1793\u17c1\u17c7 \u1798\u17c9\u17c4\u1784] LT",nextDay:"[\u179f\u17d2\u17a2\u17c2\u1780 \u1798\u17c9\u17c4\u1784] LT",nextWeek:"dddd [\u1798\u17c9\u17c4\u1784] LT",lastDay:"[\u1798\u17d2\u179f\u17b7\u179b\u1798\u17b7\u1789 \u1798\u17c9\u17c4\u1784] LT",lastWeek:"dddd [\u179f\u1794\u17d2\u178f\u17b6\u17a0\u17cd\u1798\u17bb\u1793] [\u1798\u17c9\u17c4\u1784] LT",sameElse:"L"},relativeTime:{future:"%s\u1791\u17c0\u178f",past:"%s\u1798\u17bb\u1793",s:"\u1794\u17c9\u17bb\u1793\u17d2\u1798\u17b6\u1793\u179c\u17b7\u1793\u17b6\u1791\u17b8",ss:"%d \u179c\u17b7\u1793\u17b6\u1791\u17b8",m:"\u1798\u17bd\u1799\u1793\u17b6\u1791\u17b8",mm:"%d \u1793\u17b6\u1791\u17b8",h:"\u1798\u17bd\u1799\u1798\u17c9\u17c4\u1784",hh:"%d \u1798\u17c9\u17c4\u1784",d:"\u1798\u17bd\u1799\u1790\u17d2\u1784\u17c3",dd:"%d \u1790\u17d2\u1784\u17c3",M:"\u1798\u17bd\u1799\u1781\u17c2",MM:"%d \u1781\u17c2",y:"\u1798\u17bd\u1799\u1786\u17d2\u1793\u17b6\u17c6",yy:"%d \u1786\u17d2\u1793\u17b6\u17c6"},dayOfMonthOrdinalParse:/\u1791\u17b8\d{1,2}/,ordinal:"\u1791\u17b8%d",preparse:function(e){return e.replace(/[\u17e1\u17e2\u17e3\u17e4\u17e5\u17e6\u17e7\u17e8\u17e9\u17e0]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},week:{dow:1,doy:4}})}(n("wd/R"))},"6K47":function(e,t,n){e.exports=function e(t,n,r){function i(o,a){if(!n[o]){if(!t[o]){if(s)return s(o,!0);var c=new Error("Cannot find module '"+o+"'");throw c.code="MODULE_NOT_FOUND",c}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){return i(t[o][1][e]||e)},l,l.exports,e,t,n,r)}return n[o].exports}for(var s=!1,o=0;o<r.length;o++)i(r[o]);return i}({1:[function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t,n,r,i,s,o){try{var a=e[s](o),c=a.value}catch(e){return void n(e)}a.done?t(c):Promise.resolve(c).then(r,i)}function s(e){return function(){var t=this,n=arguments;return new Promise(function(r,s){var o=e.apply(t,n);function a(e){i(o,r,s,a,c,"next",e)}function c(e){i(o,r,s,a,c,"throw",e)}a(void 0)})}}function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var a=e("fs"),c=e("fast-csv"),l=e("dayjs/plugin/customParseFormat"),u=e("dayjs/plugin/utc"),h=e("dayjs").extend(l).extend(u),d=e("../utils/stream-buf"),f=e("../utils/utils").fs.exists,p={true:!0,false:!1,"#N/A":{error:"#N/A"},"#REF!":{error:"#REF!"},"#NAME?":{error:"#NAME?"},"#DIV/0!":{error:"#DIV/0!"},"#NULL!":{error:"#NULL!"},"#VALUE!":{error:"#VALUE!"},"#NUM!":{error:"#NUM!"}},m=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.workbook=t,this.worksheet=null}var t,n,i,l,u;return t=e,(n=[{key:"readFile",value:(u=s(regeneratorRuntime.mark(function e(t,n){var r,i;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=n||{},e.next=3,f(t);case 3:if(e.sent){e.next=5;break}throw new Error("File not found: ".concat(t));case 5:return r=a.createReadStream(t),e.next=8,this.read(r,n);case 8:return i=e.sent,r.close(),e.abrupt("return",i);case 11:case"end":return e.stop()}},e,this)})),function(e,t){return u.apply(this,arguments)})},{key:"read",value:function(e,t){var n=this;return t=t||{},new Promise(function(r,i){var s=n.workbook.addWorksheet(t.sheetName),o=t.dateFormats||["YYYY-MM-DD[T]HH:mm:ssZ","YYYY-MM-DD[T]HH:mm:ss","MM-DD-YYYY","YYYY-MM-DD"],a=t.map||function(e){if(""===e)return null;var t=Number(e);if(!Number.isNaN(t)&&t!==1/0)return t;var n=o.reduce(function(t,n){if(t)return t;var r=h(e,n,!0);return r.isValid()?r:null},null);if(n)return new Date(n.valueOf());var r=p[e];return void 0!==r?r:e},l=c.parse(t.parserOptions).on("data",function(e){s.addRow(e.map(a))}).on("end",function(){l.emit("worksheet",s)});l.on("worksheet",r).on("error",i),e.pipe(l)})}},{key:"createInputStream",value:function(){throw new Error("`CSV#createInputStream` is deprecated. You should use `CSV#read` instead. This method will be removed in version 5.0. Please follow upgrade instruction: https://github.com/exceljs/exceljs/blob/master/UPGRADE-4.0.md")}},{key:"write",value:function(e,t){var n=this;return new Promise(function(i,s){t=t||{};var o=n.workbook.getWorksheet(t.sheetName||t.sheetId),a=c.format(t.formatterOptions);e.on("finish",function(){i()}),a.on("error",s),a.pipe(e);var l=t,u=l.dateFormat,d=l.dateUTC,f=t.map||function(e){if(e){if(e.text||e.hyperlink)return e.hyperlink||e.text||"";if(e.formula||e.result)return e.result||"";if(e instanceof Date)return u?d?h.utc(e).format(u):h(e).format(u):d?h.utc(e).format():h(e).format();if(e.error)return e.error;if("object"===r(e))return JSON.stringify(e)}return e},p=void 0===t.includeEmptyRows||t.includeEmptyRows,m=1;o&&o.eachRow(function(e,t){if(p)for(;m++<t-1;)a.write([]);var n=e.values;n.shift(),a.write(n.map(f)),m=t}),a.end()})}},{key:"writeFile",value:function(e,t){var n={encoding:(t=t||{}).encoding||"utf8"},r=a.createWriteStream(e,n);return this.write(r,t)}},{key:"writeBuffer",value:(l=s(regeneratorRuntime.mark(function e(t){var n;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=new d,e.next=3,this.write(n,t);case 3:return e.abrupt("return",n.read());case 4:case"end":return e.stop()}},e,this)})),function(e){return l.apply(this,arguments)})}])&&o(t.prototype,n),i&&o(t,i),e}();t.exports=m},{"../utils/stream-buf":23,"../utils/utils":26,dayjs:336,"dayjs/plugin/customParseFormat":337,"dayjs/plugin/utc":338,"fast-csv":369,fs:215}],2:[function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var s=e("../utils/col-cache"),o=function(){function e(t,n){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(r(this,e),n)if("string"==typeof n){var o=s.decodeAddress(n);this.nativeCol=o.col+i,this.nativeColOff=0,this.nativeRow=o.row+i,this.nativeRowOff=0}else void 0!==n.nativeCol?(this.nativeCol=n.nativeCol||0,this.nativeColOff=n.nativeColOff||0,this.nativeRow=n.nativeRow||0,this.nativeRowOff=n.nativeRowOff||0):void 0!==n.col?(this.col=n.col+i,this.row=n.row+i):(this.nativeCol=0,this.nativeColOff=0,this.nativeRow=0,this.nativeRowOff=0);else this.nativeCol=0,this.nativeColOff=0,this.nativeRow=0,this.nativeRowOff=0;this.worksheet=t}var t,n,o;return t=e,o=[{key:"asInstance",value:function(t){return t instanceof e||null==t?t:new e(t)}}],(n=[{key:"col",get:function(){return this.nativeCol+Math.min(this.colWidth-1,this.nativeColOff)/this.colWidth},set:function(e){this.nativeCol=Math.floor(e),this.nativeColOff=Math.floor((e-this.nativeCol)*this.colWidth)}},{key:"row",get:function(){return this.nativeRow+Math.min(this.rowHeight-1,this.nativeRowOff)/this.rowHeight},set:function(e){this.nativeRow=Math.floor(e),this.nativeRowOff=Math.floor((e-this.nativeRow)*this.rowHeight)}},{key:"colWidth",get:function(){return this.worksheet&&this.worksheet.getColumn(this.nativeCol+1)&&this.worksheet.getColumn(this.nativeCol+1).isCustomWidth?Math.floor(1e4*this.worksheet.getColumn(this.nativeCol+1).width):64e4}},{key:"rowHeight",get:function(){return this.worksheet&&this.worksheet.getRow(this.nativeRow+1)&&this.worksheet.getRow(this.nativeRow+1).height?Math.floor(1e4*this.worksheet.getRow(this.nativeRow+1).height):18e4}},{key:"model",get:function(){return{nativeCol:this.nativeCol,nativeColOff:this.nativeColOff,nativeRow:this.nativeRow,nativeRowOff:this.nativeRowOff}},set:function(e){this.nativeCol=e.nativeCol,this.nativeColOff=e.nativeColOff,this.nativeRow=e.nativeRow,this.nativeRowOff=e.nativeRowOff}}])&&i(t.prototype,n),o&&i(t,o),e}();t.exports=o},{"../utils/col-cache":19}],3:[function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function s(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),e}var o=e("../utils/col-cache"),a=e("../utils/under-dash"),c=e("./enums"),l=e("../utils/shared-formula").slideFormula,u=e("./note"),h=function(){function e(t,n,i){if(r(this,e),!t||!n)throw new Error("A Cell needs a Row");this._row=t,this._column=n,o.validateAddress(i),this._address=i,this._value=O.create(e.Types.Null,this),this.style=this._mergeStyle(t.style,n.style,{}),this._mergeCount=0}return s(e,[{key:"destroy",value:function(){delete this.style,delete this._value,delete this._row,delete this._column,delete this._address}},{key:"_mergeStyle",value:function(e,t,n){var r=e&&e.numFmt||t&&t.numFmt;r&&(n.numFmt=r);var i=e&&e.font||t&&t.font;i&&(n.font=i);var s=e&&e.alignment||t&&t.alignment;s&&(n.alignment=s);var o=e&&e.border||t&&t.border;o&&(n.border=o);var a=e&&e.fill||t&&t.fill;a&&(n.fill=a);var c=e&&e.protection||t&&t.protection;return c&&(n.protection=c),n}},{key:"toCsvString",value:function(){return this._value.toCsvString()}},{key:"addMergeRef",value:function(){this._mergeCount++}},{key:"releaseMergeRef",value:function(){this._mergeCount--}},{key:"merge",value:function(t,n){this._value.release(),this._value=O.create(e.Types.Merge,this,t),n||(this.style=t.style)}},{key:"unmerge",value:function(){this.type===e.Types.Merge&&(this._value.release(),this._value=O.create(e.Types.Null,this),this.style=this._mergeStyle(this._row.style,this._column.style,{}))}},{key:"isMergedTo",value:function(t){return this._value.type===e.Types.Merge&&this._value.isMergedTo(t)}},{key:"toString",value:function(){return this.text}},{key:"_upgradeToHyperlink",value:function(t){this.type===e.Types.String&&(this._value=O.create(e.Types.Hyperlink,this,{text:this._value.value,hyperlink:t}))}},{key:"addName",value:function(e){this.workbook.definedNames.addEx(this.fullAddress,e)}},{key:"removeName",value:function(e){this.workbook.definedNames.removeEx(this.fullAddress,e)}},{key:"removeAllNames",value:function(){this.workbook.definedNames.removeAllNames(this.fullAddress)}},{key:"worksheet",get:function(){return this._row.worksheet}},{key:"workbook",get:function(){return this._row.worksheet.workbook}},{key:"numFmt",get:function(){return this.style.numFmt},set:function(e){this.style.numFmt=e}},{key:"font",get:function(){return this.style.font},set:function(e){this.style.font=e}},{key:"alignment",get:function(){return this.style.alignment},set:function(e){this.style.alignment=e}},{key:"border",get:function(){return this.style.border},set:function(e){this.style.border=e}},{key:"fill",get:function(){return this.style.fill},set:function(e){this.style.fill=e}},{key:"protection",get:function(){return this.style.protection},set:function(e){this.style.protection=e}},{key:"address",get:function(){return this._address}},{key:"row",get:function(){return this._row.number}},{key:"col",get:function(){return this._column.number}},{key:"$col$row",get:function(){return"$".concat(this._column.letter,"$").concat(this.row)}},{key:"type",get:function(){return this._value.type}},{key:"effectiveType",get:function(){return this._value.effectiveType}},{key:"isMerged",get:function(){return this._mergeCount>0||this.type===e.Types.Merge}},{key:"master",get:function(){return this.type===e.Types.Merge?this._value.master:this}},{key:"isHyperlink",get:function(){return this._value.type===e.Types.Hyperlink}},{key:"hyperlink",get:function(){return this._value.hyperlink}},{key:"value",get:function(){return this._value.value},set:function(t){this.type!==e.Types.Merge?(this._value.release(),this._value=O.create(O.getType(t),this,t)):this._value.master.value=t}},{key:"note",get:function(){return this._comment&&this._comment.note},set:function(e){this._comment=new u(e)}},{key:"text",get:function(){return this._value.toString()}},{key:"html",get:function(){return a.escapeHtml(this.text)}},{key:"formula",get:function(){return this._value.formula}},{key:"result",get:function(){return this._value.result}},{key:"formulaType",get:function(){return this._value.formulaType}},{key:"fullAddress",get:function(){return{sheetName:this._row.worksheet.name,address:this.address,row:this.row,col:this.col}}},{key:"name",get:function(){return this.names[0]},set:function(e){this.names=[e]}},{key:"names",get:function(){return this.workbook.definedNames.getNamesEx(this.fullAddress)},set:function(e){var t=this,n=this.workbook.definedNames;n.removeAllNames(this.fullAddress),e.forEach(function(e){n.addEx(t.fullAddress,e)})}},{key:"_dataValidations",get:function(){return this.worksheet.dataValidations}},{key:"dataValidation",get:function(){return this._dataValidations.find(this.address)},set:function(e){this._dataValidations.add(this.address,e)}},{key:"model",get:function(){var e=this._value.model;return e.style=this.style,this._comment&&(e.comment=this._comment.model),e},set:function(e){if(this._value.release(),this._value=O.create(e.type,this),this._value.model=e,e.comment)switch(e.comment.type){case"note":this._comment=u.fromModel(e.comment)}e.style?this.style=e.style:this.style={}}}]),e}();h.Types=c.ValueType;var d=function(){function e(t){r(this,e),this.model={address:t.address,type:h.Types.Null}}return s(e,[{key:"toCsvString",value:function(){return""}},{key:"release",value:function(){}},{key:"toString",value:function(){return""}},{key:"value",get:function(){return null},set:function(e){}},{key:"type",get:function(){return h.Types.Null}},{key:"effectiveType",get:function(){return h.Types.Null}},{key:"address",get:function(){return this.model.address},set:function(e){this.model.address=e}}]),e}(),f=function(){function e(t,n){r(this,e),this.model={address:t.address,type:h.Types.Number,value:n}}return s(e,[{key:"toCsvString",value:function(){return this.model.value.toString()}},{key:"release",value:function(){}},{key:"toString",value:function(){return this.model.value.toString()}},{key:"value",get:function(){return this.model.value},set:function(e){this.model.value=e}},{key:"type",get:function(){return h.Types.Number}},{key:"effectiveType",get:function(){return h.Types.Number}},{key:"address",get:function(){return this.model.address},set:function(e){this.model.address=e}}]),e}(),p=function(){function e(t,n){r(this,e),this.model={address:t.address,type:h.Types.String,value:n}}return s(e,[{key:"toCsvString",value:function(){return'"'.concat(this.model.value.replace(/"/g,'""'),'"')}},{key:"release",value:function(){}},{key:"toString",value:function(){return this.model.value}},{key:"value",get:function(){return this.model.value},set:function(e){this.model.value=e}},{key:"type",get:function(){return h.Types.String}},{key:"effectiveType",get:function(){return h.Types.String}},{key:"address",get:function(){return this.model.address},set:function(e){this.model.address=e}}]),e}(),m=function(){function e(t,n){r(this,e),this.model={address:t.address,type:h.Types.String,value:n}}return s(e,[{key:"toString",value:function(){return this.model.value.richText.map(function(e){return e.text}).join("")}},{key:"toCsvString",value:function(){return'"'.concat(this.text.replace(/"/g,'""'),'"')}},{key:"release",value:function(){}},{key:"value",get:function(){return this.model.value},set:function(e){this.model.value=e}},{key:"type",get:function(){return h.Types.RichText}},{key:"effectiveType",get:function(){return h.Types.RichText}},{key:"address",get:function(){return this.model.address},set:function(e){this.model.address=e}}]),e}(),g=function(){function e(t,n){r(this,e),this.model={address:t.address,type:h.Types.Date,value:n}}return s(e,[{key:"toCsvString",value:function(){return this.model.value.toISOString()}},{key:"release",value:function(){}},{key:"toString",value:function(){return this.model.value.toString()}},{key:"value",get:function(){return this.model.value},set:function(e){this.model.value=e}},{key:"type",get:function(){return h.Types.Date}},{key:"effectiveType",get:function(){return h.Types.Date}},{key:"address",get:function(){return this.model.address},set:function(e){this.model.address=e}}]),e}(),v=function(){function e(t,n){r(this,e),this.model={address:t.address,type:h.Types.Hyperlink,text:n?n.text:void 0,hyperlink:n?n.hyperlink:void 0},n&&n.tooltip&&(this.model.tooltip=n.tooltip)}return s(e,[{key:"toCsvString",value:function(){return this.model.hyperlink}},{key:"release",value:function(){}},{key:"toString",value:function(){return this.model.text}},{key:"value",get:function(){var e={text:this.model.text,hyperlink:this.model.hyperlink};return this.model.tooltip&&(e.tooltip=this.model.tooltip),e},set:function(e){this.model={text:e.text,hyperlink:e.hyperlink},e.tooltip&&(this.model.tooltip=e.tooltip)}},{key:"text",get:function(){return this.model.text},set:function(e){this.model.text=e}},{key:"hyperlink",get:function(){return this.model.hyperlink},set:function(e){this.model.hyperlink=e}},{key:"type",get:function(){return h.Types.Hyperlink}},{key:"effectiveType",get:function(){return h.Types.Hyperlink}},{key:"address",get:function(){return this.model.address},set:function(e){this.model.address=e}}]),e}(),y=function(){function e(t,n){r(this,e),this.model={address:t.address,type:h.Types.Merge,master:n?n.address:void 0},this._master=n,n&&n.addMergeRef()}return s(e,[{key:"isMergedTo",value:function(e){return e===this._master}},{key:"toCsvString",value:function(){return""}},{key:"release",value:function(){this._master.releaseMergeRef()}},{key:"toString",value:function(){return this.value.toString()}},{key:"value",get:function(){return this._master.value},set:function(e){e instanceof h?(this._master&&this._master.releaseMergeRef(),e.addMergeRef(),this._master=e):this._master.value=e}},{key:"master",get:function(){return this._master}},{key:"type",get:function(){return h.Types.Merge}},{key:"effectiveType",get:function(){return this._master.effectiveType}},{key:"address",get:function(){return this.model.address},set:function(e){this.model.address=e}}]),e}(),b=function(){function e(t,n){r(this,e),this.cell=t,this.model={address:t.address,type:h.Types.Formula,shareType:n?n.shareType:void 0,ref:n?n.ref:void 0,formula:n?n.formula:void 0,sharedFormula:n?n.sharedFormula:void 0,result:n?n.result:void 0}}return s(e,[{key:"_copyModel",value:function(e){var t={},n=function(n){var r=e[n];r&&(t[n]=r)};return n("formula"),n("result"),n("ref"),n("shareType"),n("sharedFormula"),t}},{key:"validate",value:function(e){switch(O.getType(e)){case h.Types.Null:case h.Types.String:case h.Types.Number:case h.Types.Date:break;case h.Types.Hyperlink:case h.Types.Formula:default:throw new Error("Cannot process that type of result value")}}},{key:"_getTranslatedFormula",value:function(){if(!this._translatedFormula&&this.model.sharedFormula){var e=this.cell.worksheet.findCell(this.model.sharedFormula);this._translatedFormula=e&&l(e.formula,e.address,this.model.address)}return this._translatedFormula}},{key:"toCsvString",value:function(){return"".concat(this.model.result||"")}},{key:"release",value:function(){}},{key:"toString",value:function(){return this.model.result?this.model.result.toString():""}},{key:"value",get:function(){return this._copyModel(this.model)},set:function(e){this.model=this._copyModel(e)}},{key:"dependencies",get:function(){return{ranges:this.formula.match(/([a-zA-Z0-9]+!)?[A-Z]{1,3}\d{1,4}:[A-Z]{1,3}\d{1,4}/g),cells:this.formula.replace(/([a-zA-Z0-9]+!)?[A-Z]{1,3}\d{1,4}:[A-Z]{1,3}\d{1,4}/g,"").match(/([a-zA-Z0-9]+!)?[A-Z]{1,3}\d{1,4}/g)}}},{key:"formula",get:function(){return this.model.formula||this._getTranslatedFormula()},set:function(e){this.model.formula=e}},{key:"formulaType",get:function(){return this.model.formula?c.FormulaType.Master:this.model.sharedFormula?c.FormulaType.Shared:c.FormulaType.None}},{key:"result",get:function(){return this.model.result},set:function(e){this.model.result=e}},{key:"type",get:function(){return h.Types.Formula}},{key:"effectiveType",get:function(){var e=this.model.result;return null==e?c.ValueType.Null:e instanceof String||"string"==typeof e?c.ValueType.String:"number"==typeof e?c.ValueType.Number:e instanceof Date?c.ValueType.Date:e.text&&e.hyperlink?c.ValueType.Hyperlink:e.formula?c.ValueType.Formula:c.ValueType.Null}},{key:"address",get:function(){return this.model.address},set:function(e){this.model.address=e}}]),e}(),_=function(){function e(t,n){r(this,e),this.model={address:t.address,type:h.Types.SharedString,value:n}}return s(e,[{key:"toCsvString",value:function(){return this.model.value.toString()}},{key:"release",value:function(){}},{key:"toString",value:function(){return this.model.value.toString()}},{key:"value",get:function(){return this.model.value},set:function(e){this.model.value=e}},{key:"type",get:function(){return h.Types.SharedString}},{key:"effectiveType",get:function(){return h.Types.SharedString}},{key:"address",get:function(){return this.model.address},set:function(e){this.model.address=e}}]),e}(),w=function(){function e(t,n){r(this,e),this.model={address:t.address,type:h.Types.Boolean,value:n}}return s(e,[{key:"toCsvString",value:function(){return this.model.value?1:0}},{key:"release",value:function(){}},{key:"toString",value:function(){return this.model.value.toString()}},{key:"value",get:function(){return this.model.value},set:function(e){this.model.value=e}},{key:"type",get:function(){return h.Types.Boolean}},{key:"effectiveType",get:function(){return h.Types.Boolean}},{key:"address",get:function(){return this.model.address},set:function(e){this.model.address=e}}]),e}(),S=function(){function e(t,n){r(this,e),this.model={address:t.address,type:h.Types.Error,value:n}}return s(e,[{key:"toCsvString",value:function(){return this.toString()}},{key:"release",value:function(){}},{key:"toString",value:function(){return this.model.value.error.toString()}},{key:"value",get:function(){return this.model.value},set:function(e){this.model.value=e}},{key:"type",get:function(){return h.Types.Error}},{key:"effectiveType",get:function(){return h.Types.Error}},{key:"address",get:function(){return this.model.address},set:function(e){this.model.address=e}}]),e}(),x=function(){function e(t,n){r(this,e),this.model={address:t.address,type:h.Types.String,value:JSON.stringify(n),rawValue:n}}return s(e,[{key:"toCsvString",value:function(){return this.model.value}},{key:"release",value:function(){}},{key:"toString",value:function(){return this.model.value}},{key:"value",get:function(){return this.model.rawValue},set:function(e){this.model.rawValue=e,this.model.value=JSON.stringify(e)}},{key:"type",get:function(){return h.Types.String}},{key:"effectiveType",get:function(){return h.Types.String}},{key:"address",get:function(){return this.model.address},set:function(e){this.model.address=e}}]),e}(),O={getType:function(e){return null==e?h.Types.Null:e instanceof String||"string"==typeof e?h.Types.String:"number"==typeof e?h.Types.Number:"boolean"==typeof e?h.Types.Boolean:e instanceof Date?h.Types.Date:e.text&&e.hyperlink?h.Types.Hyperlink:e.formula||e.sharedFormula?h.Types.Formula:e.richText?h.Types.RichText:e.sharedString?h.Types.SharedString:e.error?h.Types.Error:h.Types.JSON},types:[{t:h.Types.Null,f:d},{t:h.Types.Number,f:f},{t:h.Types.String,f:p},{t:h.Types.Date,f:g},{t:h.Types.Hyperlink,f:v},{t:h.Types.Formula,f:b},{t:h.Types.Merge,f:y},{t:h.Types.JSON,f:x},{t:h.Types.SharedString,f:_},{t:h.Types.RichText,f:m},{t:h.Types.Boolean,f:w},{t:h.Types.Error,f:S}].reduce(function(e,t){return e[t.t]=t.f,e},[]),create:function(e,t,n){var r=this.types[e];if(!r)throw new Error("Could not create Value of type ".concat(e));return new r(t,n)}};t.exports=h},{"../utils/col-cache":19,"../utils/shared-formula":22,"../utils/under-dash":25,"./enums":7,"./note":9}],4:[function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var i=e("../utils/under-dash"),s=e("./enums"),o=e("../utils/col-cache"),a=function(){function e(t,n,r){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._worksheet=t,this._number=n,!1!==r&&(this.defn=r)}var t,n,a;return t=e,a=[{key:"toModel",value:function(e){var t=[],n=null;return e&&e.forEach(function(e,r){e.isDefault?n&&(n=null):n&&e.equivalentTo(n)?n.max=r+1:(n={min:r+1,max:r+1,width:void 0!==e.width?e.width:9,style:e.style,isCustomWidth:e.isCustomWidth,hidden:e.hidden,outlineLevel:e.outlineLevel,collapsed:e.collapsed},t.push(n))}),t.length?t:void 0}},{key:"fromModel",value:function(t,n){n=n||[];for(var r=[],i=1,s=0;s<n.length;){for(var o=n[s++];i<o.min;)r.push(new e(t,i++));for(;i<=o.max;)r.push(new e(t,i++,o))}return r.length?r:null}}],(n=[{key:"toString",value:function(){return JSON.stringify({key:this.key,width:this.width,headers:this.headers.length?this.headers:void 0})}},{key:"equivalentTo",value:function(e){return this.width===e.width&&this.hidden===e.hidden&&this.outlineLevel===e.outlineLevel&&i.isEqual(this.style,e.style)}},{key:"eachCell",value:function(e,t){var n=this.number;t||(t=e,e=null),this._worksheet.eachRow(e,function(e,r){t(e.getCell(n),r)})}},{key:"_applyStyle",value:function(e,t){return this.style[e]=t,this.eachCell(function(n){n[e]=t}),t}},{key:"number",get:function(){return this._number}},{key:"worksheet",get:function(){return this._worksheet}},{key:"letter",get:function(){return o.n2l(this._number)}},{key:"isCustomWidth",get:function(){return void 0!==this.width&&9!==this.width}},{key:"defn",get:function(){return{header:this._header,key:this.key,width:this.width,style:this.style,hidden:this.hidden,outlineLevel:this.outlineLevel}},set:function(e){e?(this.key=e.key,this.width=void 0!==e.width?e.width:9,this.outlineLevel=e.outlineLevel,e.style?this.style=e.style:this.style={},this.header=e.header,this._hidden=!!e.hidden):(delete this._header,delete this._key,delete this.width,this.style={},this.outlineLevel=0)}},{key:"headers",get:function(){return this._header&&this._header instanceof Array?this._header:[this._header]}},{key:"header",get:function(){return this._header},set:function(e){var t=this;void 0!==e?(this._header=e,this.headers.forEach(function(e,n){t._worksheet.getCell(n+1,t.number).value=e})):this._header=void 0}},{key:"key",get:function(){return this._key},set:function(e){(this._key&&this._worksheet.getColumnKey(this._key))===this&&this._worksheet.deleteColumnKey(this._key),this._key=e,e&&this._worksheet.setColumnKey(this._key,this)}},{key:"hidden",get:function(){return!!this._hidden},set:function(e){this._hidden=e}},{key:"outlineLevel",get:function(){return this._outlineLevel||0},set:function(e){this._outlineLevel=e}},{key:"collapsed",get:function(){return!!(this._outlineLevel&&this._outlineLevel>=this._worksheet.properties.outlineLevelCol)}},{key:"isDefault",get:function(){if(this.isCustomWidth)return!1;if(this.hidden)return!1;if(this.outlineLevel)return!1;var e=this.style;return!e||!(e.font||e.numFmt||e.alignment||e.border||e.fill||e.protection)}},{key:"headerCount",get:function(){return this.headers.length}},{key:"values",get:function(){var e=[];return this.eachCell(function(t,n){t&&t.type!==s.ValueType.Null&&(e[n]=t.value)}),e},set:function(e){var t=this;if(e){var n=this.number,r=0;e.hasOwnProperty("0")&&(r=1),e.forEach(function(e,i){t._worksheet.getCell(i+r,n).value=e})}}},{key:"numFmt",get:function(){return this.style.numFmt},set:function(e){this._applyStyle("numFmt",e)}},{key:"font",get:function(){return this.style.font},set:function(e){this._applyStyle("font",e)}},{key:"alignment",get:function(){return this.style.alignment},set:function(e){this._applyStyle("alignment",e)}},{key:"protection",get:function(){return this.style.protection},set:function(e){this._applyStyle("protection",e)}},{key:"border",get:function(){return this.style.border},set:function(e){this._applyStyle("border",e)}},{key:"fill",get:function(){return this.style.fill},set:function(e){this._applyStyle("fill",e)}}])&&r(t.prototype,n),a&&r(t,a),e}();t.exports=a},{"../utils/col-cache":19,"../utils/under-dash":25,"./enums":7}],5:[function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var i=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.model=t||{}}var t,n,i;return t=e,(n=[{key:"add",value:function(e,t){return this.model[e]=t}},{key:"find",value:function(e){return this.model[e]}},{key:"remove",value:function(e){this.model[e]=void 0}}])&&r(t.prototype,n),i&&r(t,i),e}();t.exports=i},{}],6:[function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var i=e("../utils/under-dash"),s=e("../utils/col-cache"),o=e("../utils/cell-matrix"),a=e("./range"),c=/[$](\w+)[$](\d+)(:[$](\w+)[$](\d+))?/,l=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.matrixMap={}}var t,n,l;return t=e,(n=[{key:"getMatrix",value:function(e){return this.matrixMap[e]||(this.matrixMap[e]=new o)}},{key:"add",value:function(e,t){var n=s.decodeEx(e);this.addEx(n,t)}},{key:"addEx",value:function(e,t){var n=this.getMatrix(t);if(e.top)for(var r=e.left;r<=e.right;r++)for(var i=e.top;i<=e.bottom;i++){var o={sheetName:e.sheetName,address:s.n2l(r)+i,row:i,col:r};n.addCellEx(o)}else n.addCellEx(e)}},{key:"remove",value:function(e,t){var n=s.decodeEx(e);this.removeEx(n,t)}},{key:"removeEx",value:function(e,t){this.getMatrix(t).removeCellEx(e)}},{key:"removeAllNames",value:function(e){i.each(this.matrixMap,function(t){t.removeCellEx(e)})}},{key:"forEach",value:function(e){i.each(this.matrixMap,function(t,n){t.forEach(function(t){e(n,t)})})}},{key:"getNames",value:function(e){return this.getNamesEx(s.decodeEx(e))}},{key:"getNamesEx",value:function(e){return i.map(this.matrixMap,function(t,n){return t.findCellEx(e)&&n}).filter(Boolean)}},{key:"_explore",value:function(e,t){t.mark=!1;var n,r,i=t.sheetName,s=new a(t.row,t.col,t.row,t.col,i);function o(n,r){var o=e.findCellAt(i,n,t.col);return!(!o||!o.mark||(s[r]=n,o.mark=!1,0))}for(r=t.row-1;o(r,"top");r--);for(r=t.row+1;o(r,"bottom");r++);function c(t,n){var o=[];for(r=s.top;r<=s.bottom;r++){var a=e.findCellAt(i,r,t);if(!a||!a.mark)return!1;o.push(a)}s[n]=t;for(var c=0;c<o.length;c++)o[c].mark=!1;return!0}for(n=t.col-1;c(n,"left");n--);for(n=t.col+1;c(n,"right");n++);return s}},{key:"getRanges",value:function(e,t){var n=this;return(t=t||this.matrixMap[e])?(t.forEach(function(e){e.mark=!0}),{name:e,ranges:t.map(function(e){return e.mark&&n._explore(t,e)}).filter(Boolean).map(function(e){return e.$shortRange})}):{name:e,ranges:[]}}},{key:"normaliseMatrix",value:function(e,t){e.forEachInSheet(t,function(e,t,n){e&&(e.row===t&&e.col===n||(e.row=t,e.col=n,e.address=s.n2l(n)+t))})}},{key:"spliceRows",value:function(e,t,n,r){var s=this;i.each(this.matrixMap,function(i){i.spliceRows(e,t,n,r),s.normaliseMatrix(i,e)})}},{key:"spliceColumns",value:function(e,t,n,r){var s=this;i.each(this.matrixMap,function(i){i.spliceColumns(e,t,n,r),s.normaliseMatrix(i,e)})}},{key:"model",get:function(){var e=this;return i.map(this.matrixMap,function(t,n){return e.getRanges(n,t)}).filter(function(e){return e.ranges.length})},set:function(e){var t=this.matrixMap={};e.forEach(function(e){var n=t[e.name]=new o;e.ranges.forEach(function(e){c.test(e.split("!").pop()||"")&&n.addCell(e)})})}}])&&r(t.prototype,n),l&&r(t,l),e}();t.exports=l},{"../utils/cell-matrix":18,"../utils/col-cache":19,"../utils/under-dash":25,"./range":10}],7:[function(e,t,n){"use strict";t.exports={ValueType:{Null:0,Merge:1,Number:2,String:3,Date:4,Hyperlink:5,Formula:6,SharedString:7,RichText:8,Boolean:9,Error:10},FormulaType:{None:0,Master:1,Shared:2},RelationshipType:{None:0,OfficeDocument:1,Worksheet:2,CalcChain:3,SharedStrings:4,Styles:5,Theme:6,Hyperlink:7},DocumentType:{Xlsx:1},ReadingOrder:{LeftToRight:1,RightToLeft:2},ErrorValue:{NotApplicable:"#N/A",Ref:"#REF!",Name:"#NAME?",DivZero:"#DIV/0!",Null:"#NULL!",Value:"#VALUE!",Num:"#NUM!"}}},{}],8:[function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var i=e("../utils/col-cache"),s=e("./anchor"),o=function(){function e(t,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.worksheet=t,this.model=n}var t,n,o;return t=e,(n=[{key:"model",get:function(){switch(this.type){case"background":return{type:this.type,imageId:this.imageId};case"image":return{type:this.type,imageId:this.imageId,hyperlinks:this.range.hyperlinks,range:{tl:this.range.tl.model,br:this.range.br&&this.range.br.model,ext:this.range.ext,editAs:this.range.editAs}};default:throw new Error("Invalid Image Type")}},set:function(e){var t=e.type,n=e.imageId,r=e.range,o=e.hyperlinks;if(this.type=t,this.imageId=n,"image"===t)if("string"==typeof r){var a=i.decode(r);this.range={tl:new s(this.worksheet,{col:a.left,row:a.top},-1),br:new s(this.worksheet,{col:a.right,row:a.bottom},0),editAs:"oneCell"}}else this.range={tl:new s(this.worksheet,r.tl,0),br:r.br&&new s(this.worksheet,r.br,0),ext:r.ext,editAs:r.editAs,hyperlinks:o||r.hyperlinks}}}])&&r(t.prototype,n),o&&r(t,o),e}();t.exports=o},{"../utils/col-cache":19,"./anchor":2}],9:[function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var s=e("../utils/under-dash"),o=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.note=t}var t,n,o;return t=e,o=[{key:"fromModel",value:function(t){var n=new e;return n.model=t,n}}],(n=[{key:"model",get:function(){var t=null;switch(r(this.note)){case"string":t={type:"note",note:{texts:[{text:this.note}]}};break;default:t={type:"note",note:this.note}}return s.deepMerge({},e.DEFAULT_CONFIGS,t)},set:function(e){var t=e.note,n=t.texts;1===n.length&&1===Object.keys(n[0]).length?this.note=n[0].text:this.note=t}}])&&i(t.prototype,n),o&&i(t,o),e}();o.DEFAULT_CONFIGS={note:{margins:{insetmode:"auto",inset:[.13,.13,.25,.25]},protection:{locked:"True",lockText:"True"},editAs:"absolute"}},t.exports=o},{"../utils/under-dash":25}],10:[function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var s=e("../utils/col-cache"),o=function(){function e(){r(this,e),this.decode(arguments)}var t,n,o;return t=e,(n=[{key:"setTLBR",value:function(e,t,n,r,i){if(arguments.length<4){var o=s.decodeAddress(e),a=s.decodeAddress(t);this.model={top:Math.min(o.row,a.row),left:Math.min(o.col,a.col),bottom:Math.max(o.row,a.row),right:Math.max(o.col,a.col),sheetName:n},this.setTLBR(o.row,o.col,a.row,a.col,i)}else this.model={top:Math.min(e,n),left:Math.min(t,r),bottom:Math.max(e,n),right:Math.max(t,r),sheetName:i}}},{key:"decode",value:function(t){switch(t.length){case 5:this.setTLBR(t[0],t[1],t[2],t[3],t[4]);break;case 4:this.setTLBR(t[0],t[1],t[2],t[3]);break;case 3:this.setTLBR(t[0],t[1],t[2]);break;case 2:this.setTLBR(t[0],t[1]);break;case 1:var n=t[0];if(n instanceof e)this.model={top:n.model.top,left:n.model.left,bottom:n.model.bottom,right:n.model.right,sheetName:n.sheetName};else if(n instanceof Array)this.decode(n);else if(n.top&&n.left&&n.bottom&&n.right)this.model={top:n.top,left:n.left,bottom:n.bottom,right:n.right,sheetName:n.sheetName};else{var r=s.decodeEx(n);r.top?this.model={top:r.top,left:r.left,bottom:r.bottom,right:r.right,sheetName:r.sheetName}:this.model={top:r.row,left:r.col,bottom:r.row,right:r.col,sheetName:r.sheetName}}break;case 0:this.model={top:0,left:0,bottom:0,right:0};break;default:throw new Error("Invalid number of arguments to _getDimensions() - ".concat(t.length))}}},{key:"expand",value:function(e,t,n,r){(!this.model.top||e<this.top)&&(this.top=e),(!this.model.left||t<this.left)&&(this.left=t),(!this.model.bottom||n>this.bottom)&&(this.bottom=n),(!this.model.right||r>this.right)&&(this.right=r)}},{key:"expandRow",value:function(e){if(e){var t=e.dimensions,n=e.number;t&&this.expand(n,t.min,n,t.max)}}},{key:"expandToAddress",value:function(e){var t=s.decodeEx(e);this.expand(t.row,t.col,t.row,t.col)}},{key:"toString",value:function(){return this.range}},{key:"intersects",value:function(e){return!(e.sheetName&&this.sheetName&&e.sheetName!==this.sheetName||e.bottom<this.top||e.top>this.bottom||e.right<this.left||e.left>this.right)}},{key:"contains",value:function(e){var t=s.decodeEx(e);return this.containsEx(t)}},{key:"containsEx",value:function(e){return(!e.sheetName||!this.sheetName||e.sheetName===this.sheetName)&&e.row>=this.top&&e.row<=this.bottom&&e.col>=this.left&&e.col<=this.right}},{key:"forEachAddress",value:function(e){for(var t=this.left;t<=this.right;t++)for(var n=this.top;n<=this.bottom;n++)e(s.encodeAddress(n,t),n,t)}},{key:"top",get:function(){return this.model.top||1},set:function(e){this.model.top=e}},{key:"left",get:function(){return this.model.left||1},set:function(e){this.model.left=e}},{key:"bottom",get:function(){return this.model.bottom||1},set:function(e){this.model.bottom=e}},{key:"right",get:function(){return this.model.right||1},set:function(e){this.model.right=e}},{key:"sheetName",get:function(){return this.model.sheetName},set:function(e){this.model.sheetName=e}},{key:"_serialisedSheetName",get:function(){var e=this.model.sheetName;return e?/^[a-zA-Z0-9]*$/.test(e)?"".concat(e,"!"):"'".concat(e,"'!"):""}},{key:"tl",get:function(){return s.n2l(this.left)+this.top}},{key:"$t$l",get:function(){return"$".concat(s.n2l(this.left),"$").concat(this.top)}},{key:"br",get:function(){return s.n2l(this.right)+this.bottom}},{key:"$b$r",get:function(){return"$".concat(s.n2l(this.right),"$").concat(this.bottom)}},{key:"range",get:function(){return"".concat(this._serialisedSheetName+this.tl,":").concat(this.br)}},{key:"$range",get:function(){return"".concat(this._serialisedSheetName+this.$t$l,":").concat(this.$b$r)}},{key:"shortRange",get:function(){return this.count>1?this.range:this._serialisedSheetName+this.tl}},{key:"$shortRange",get:function(){return this.count>1?this.$range:this._serialisedSheetName+this.$t$l}},{key:"count",get:function(){return(1+this.bottom-this.top)*(1+this.right-this.left)}}])&&i(t.prototype,n),o&&i(t,o),e}();t.exports=o},{"../utils/col-cache":19}],11:[function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var i=e("../utils/under-dash"),s=e("./enums"),o=e("../utils/col-cache"),a=e("./cell"),c=function(){function e(t,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._worksheet=t,this._number=n,this._cells=[],this.style={},this.outlineLevel=0}var t,n,c;return t=e,(n=[{key:"commit",value:function(){this._worksheet._commitRow(this)}},{key:"destroy",value:function(){delete this._worksheet,delete this._cells,delete this.style}},{key:"findCell",value:function(e){return this._cells[e-1]}},{key:"getCellEx",value:function(e){var t=this._cells[e.col-1];if(!t){var n=this._worksheet.getColumn(e.col);t=new a(this,n,e.address),this._cells[e.col-1]=t}return t}},{key:"getCell",value:function(e){if("string"==typeof e){var t=this._worksheet.getColumnKey(e);e=t?t.number:o.l2n(e)}return this._cells[e-1]||this.getCellEx({address:o.encodeAddress(this._number,e),row:this._number,col:e})}},{key:"splice",value:function(e,t){for(var n=e+t,r=arguments.length,i=new Array(r>2?r-2:0),s=2;s<r;s++)i[s-2]=arguments[s];var o,a,c,l=i.length-t,u=this._cells.length;if(l<0)for(o=e+i.length;o<=u;o++)c=this._cells[o-1],(a=this._cells[o-l-1])?((c=this.getCell(o)).value=a.value,c.style=a.style,c._comment=a._comment):c&&(c.value=null,c.style={},c._comment=void 0);else if(l>0)for(o=u;o>=n;o--)(a=this._cells[o-1])?((c=this.getCell(o+l)).value=a.value,c.style=a.style,c._comment=a._comment):this._cells[o+l-1]=void 0;for(o=0;o<i.length;o++)(c=this.getCell(e+o)).value=i[o],c.style={},c._comment=void 0}},{key:"eachCell",value:function(e,t){if(t||(t=e,e=null),e&&e.includeEmpty)for(var n=this._cells.length,r=1;r<=n;r++)t(this.getCell(r),r);else this._cells.forEach(function(e,n){e&&e.type!==s.ValueType.Null&&t(e,n+1)})}},{key:"addPageBreak",value:function(e,t){var n=this._worksheet,r=Math.max(0,e-1)||0,i=Math.max(0,t-1)||16838,s={id:this._number,max:i,man:1};r&&(s.min=r),n.rowBreaks.push(s)}},{key:"_applyStyle",value:function(e,t){return this.style[e]=t,this._cells.forEach(function(n){n&&(n[e]=t)}),t}},{key:"number",get:function(){return this._number}},{key:"worksheet",get:function(){return this._worksheet}},{key:"values",get:function(){var e=[];return this._cells.forEach(function(t){t&&t.type!==s.ValueType.Null&&(e[t.col]=t.value)}),e},set:function(e){var t=this;if(this._cells=[],e)if(e instanceof Array){var n=0;e.hasOwnProperty("0")&&(n=1),e.forEach(function(e,r){void 0!==e&&(t.getCellEx({address:o.encodeAddress(t._number,r+n),row:t._number,col:r+n}).value=e)})}else this._worksheet.eachColumnKey(function(n,r){void 0!==e[r]&&(t.getCellEx({address:o.encodeAddress(t._number,n.number),row:t._number,col:n.number}).value=e[r])})}},{key:"hasValues",get:function(){return i.some(this._cells,function(e){return e&&e.type!==s.ValueType.Null})}},{key:"cellCount",get:function(){return this._cells.length}},{key:"actualCellCount",get:function(){var e=0;return this.eachCell(function(){e++}),e}},{key:"dimensions",get:function(){var e=0,t=0;return this._cells.forEach(function(n){n&&n.type!==s.ValueType.Null&&((!e||e>n.col)&&(e=n.col),t<n.col&&(t=n.col))}),e>0?{min:e,max:t}:null}},{key:"numFmt",get:function(){return this.style.numFmt},set:function(e){this._applyStyle("numFmt",e)}},{key:"font",get:function(){return this.style.font},set:function(e){this._applyStyle("font",e)}},{key:"alignment",get:function(){return this.style.alignment},set:function(e){this._applyStyle("alignment",e)}},{key:"protection",get:function(){return this.style.protection},set:function(e){this._applyStyle("protection",e)}},{key:"border",get:function(){return this.style.border},set:function(e){this._applyStyle("border",e)}},{key:"fill",get:function(){return this.style.fill},set:function(e){this._applyStyle("fill",e)}},{key:"hidden",get:function(){return!!this._hidden},set:function(e){this._hidden=e}},{key:"outlineLevel",get:function(){return this._outlineLevel||0},set:function(e){this._outlineLevel=e}},{key:"collapsed",get:function(){return!!(this._outlineLevel&&this._outlineLevel>=this._worksheet.properties.outlineLevelRow)}},{key:"model",get:function(){var e=[],t=0,n=0;return this._cells.forEach(function(r){if(r){var i=r.model;i&&((!t||t>r.col)&&(t=r.col),n<r.col&&(n=r.col),e.push(i))}}),this.height||e.length?{cells:e,number:this.number,min:t,max:n,height:this.height,style:this.style,hidden:this.hidden,outlineLevel:this.outlineLevel,collapsed:this.collapsed}:null},set:function(e){var t,n=this;if(e.number!==this._number)throw new Error("Invalid row number in model");this._cells=[],e.cells.forEach(function(e){switch(e.type){case a.Types.Merge:break;default:var r;if(e.address)r=o.decodeAddress(e.address);else if(t){var i=t.row,s=t.col+1;r={row:i,col:s,address:o.encodeAddress(i,s),$col$row:"$".concat(o.n2l(s),"$").concat(i)}}t=r,n.getCellEx(r).model=e}}),e.height?this.height=e.height:delete this.height,this.hidden=e.hidden,this.outlineLevel=e.outlineLevel||0,this.style=e.style&&JSON.parse(JSON.stringify(e.style))||{}}}])&&r(t.prototype,n),c&&r(t,c),e}();t.exports=c},{"../utils/col-cache":19,"../utils/under-dash":25,"./cell":3,"./enums":7}],12:[function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function s(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),e}var o=e("../utils/col-cache"),a=function(){function e(t,n,i){r(this,e),this.table=t,this.column=n,this.index=i}return s(e,[{key:"_set",value:function(e,t){this.table.cacheState(),this.column[e]=t}},{key:"name",get:function(){return this.column.name},set:function(e){this._set("name",e)}},{key:"filterButton",get:function(){return this.column.filterButton},set:function(e){this.column.filterButton=e}},{key:"style",get:function(){return this.column.style},set:function(e){this.column.style=e}},{key:"totalsRowLabel",get:function(){return this.column.totalsRowLabel},set:function(e){this._set("totalsRowLabel",e)}},{key:"totalsRowFunction",get:function(){return this.column.totalsRowFunction},set:function(e){this._set("totalsRowFunction",e)}},{key:"totalsRowResult",get:function(){return this.column.totalsRowResult},set:function(e){this._set("totalsRowResult",e)}},{key:"totalsRowFormula",get:function(){return this.column.totalsRowFormula},set:function(e){this._set("totalsRowFormula",e)}}]),e}(),c=function(){function e(t,n){r(this,e),this.worksheet=t,n&&(this.table=n,this.validate(),this.store())}return s(e,[{key:"getFormula",value:function(e){switch(e.totalsRowFunction){case"none":return null;case"average":return"SUBTOTAL(101,".concat(this.table.name,"[").concat(e.name,"])");case"countNums":return"SUBTOTAL(102,".concat(this.table.name,"[").concat(e.name,"])");case"count":return"SUBTOTAL(103,".concat(this.table.name,"[").concat(e.name,"])");case"max":return"SUBTOTAL(104,".concat(this.table.name,"[").concat(e.name,"])");case"min":return"SUBTOTAL(105,".concat(this.table.name,"[").concat(e.name,"])");case"stdDev":return"SUBTOTAL(106,".concat(this.table.name,"[").concat(e.name,"])");case"var":return"SUBTOTAL(107,".concat(this.table.name,"[").concat(e.name,"])");case"sum":return"SUBTOTAL(109,".concat(this.table.name,"[").concat(e.name,"])");case"custom":return e.totalsRowFormula;default:throw new Error("Invalid Totals Row Function: ".concat(e.totalsRowFunction))}}},{key:"validate",value:function(){var e=this,t=this.table,n=function(e,t,n){void 0===e[t]&&(e[t]=n)};n(t,"headerRow",!0),n(t,"totalsRow",!1),n(t,"style",{}),n(t.style,"theme","TableStyleMedium2"),n(t.style,"showFirstColumn",!1),n(t.style,"showLastColumn",!1),n(t.style,"showRowStripes",!1),n(t.style,"showColumnStripes",!1);var r=function(e,t){if(!e)throw new Error(t)};r(t.ref,"Table must have ref"),r(t.columns,"Table must have column definitions"),r(t.rows,"Table must have row definitions"),t.tl=o.decodeAddress(t.ref);var i=t.tl,s=i.row,a=i.col;r(s>0,"Table must be on valid row"),r(a>0,"Table must be on valid col");var c=this.width,l=this.filterHeight,u=this.tableHeight;t.autoFilterRef=o.encode(s,a,s+l-1,a+c-1),t.tableRef=o.encode(s,a,s+u-1,a+c-1),t.columns.forEach(function(t,i){r(t.name,"Column ".concat(i," must have a name")),0===i?n(t,"totalsRowLabel","Total"):(n(t,"totalsRowFunction","none"),t.totalsRowFormula=e.getFormula(t))})}},{key:"store",value:function(){var e=this,t=function(e,t){t&&Object.keys(t).forEach(function(n){e[n]=t[n]})},n=this.worksheet,r=this.table,i=r.tl,s=i.row,o=i.col,a=0;if(r.headerRow){var c=n.getRow(s+a++);r.columns.forEach(function(e,n){var r=e.style,i=e.name,s=c.getCell(o+n);s.value=i,t(s,r)})}if(r.rows.forEach(function(e){var i=n.getRow(s+a++);e.forEach(function(e,n){var s=i.getCell(o+n);s.value=e,t(s,r.columns[n].style)})}),r.totalsRow){var l=n.getRow(s+a++);r.columns.forEach(function(n,r){var i=l.getCell(o+r);if(0===r)i.value=n.totalsRowLabel;else{var s=e.getFormula(n);i.value=s?{formula:n.totalsRowFormula,result:n.totalsRowResult}:null}t(i,n.style)})}}},{key:"load",value:function(e){var t=this,n=this.table,r=n.tl,i=r.row,s=r.col,o=0;if(n.headerRow){var a=e.getRow(i+o++);n.columns.forEach(function(e,t){a.getCell(s+t).value=e.name})}if(n.rows.forEach(function(t){var n=e.getRow(i+o++);t.forEach(function(e,t){n.getCell(s+t).value=e})}),n.totalsRow){var c=e.getRow(i+o++);n.columns.forEach(function(e,n){var r=c.getCell(s+n);0===n?r.value=e.totalsRowLabel:t.getFormula(e)&&(r.value={formula:e.totalsRowFormula,result:e.totalsRowResult})})}}},{key:"cacheState",value:function(){this._cache||(this._cache={ref:this.ref,width:this.width,tableHeight:this.tableHeight})}},{key:"commit",value:function(){if(this._cache){this.validate();var e=o.decodeAddress(this._cache.ref);if(this.ref!==this._cache.ref)for(var t=0;t<this._cache.tableHeight;t++)for(var n=this.worksheet.getRow(e.row+t),r=0;r<this._cache.width;r++)n.getCell(e.col+r).value=null;else{for(var i=this.tableHeight;i<this._cache.tableHeight;i++)for(var s=this.worksheet.getRow(e.row+i),a=0;a<this._cache.width;a++)s.getCell(e.col+a).value=null;for(var c=0;c<this.tableHeight;c++)for(var l=this.worksheet.getRow(e.row+c),u=this.width;u<this._cache.width;u++)l.getCell(e.col+u).value=null}this.store()}}},{key:"addRow",value:function(e,t){this.cacheState(),void 0===t?this.table.rows.push(e):this.table.rows.splice(t,0,e)}},{key:"removeRows",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;this.cacheState(),this.table.rows.splice(e,t)}},{key:"getColumn",value:function(e){var t=this.table.columns[e];return new a(this,t,e)}},{key:"addColumn",value:function(e,t,n){this.cacheState(),void 0===n?(this.table.columns.push(e),this.table.rows.forEach(function(e,n){e.push(t[n])})):(this.table.columns.splice(n,0,e),this.table.rows.forEach(function(e,r){e.splice(n,0,t[r])}))}},{key:"removeColumns",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;this.cacheState(),this.table.columns.splice(e,t),this.table.rows.forEach(function(n){n.splice(e,t)})}},{key:"_assign",value:function(e,t,n){this.cacheState(),e[t]=n}},{key:"width",get:function(){return this.table.columns.length}},{key:"height",get:function(){return this.table.rows.length}},{key:"filterHeight",get:function(){return this.height+(this.table.headerRow?1:0)}},{key:"tableHeight",get:function(){return this.filterHeight+(this.table.totalsRow?1:0)}},{key:"model",get:function(){return this.table},set:function(e){this.table=e}},{key:"ref",get:function(){return this.table.ref},set:function(e){this._assign(this.table,"ref",e)}},{key:"name",get:function(){return this.table.name},set:function(e){this.table.name=e}},{key:"displayName",get:function(){return this.table.displyName||this.table.name}},{key:"displayNamename",set:function(e){this.table.displayName=e}},{key:"headerRow",get:function(){return this.table.headerRow},set:function(e){this._assign(this.table,"headerRow",e)}},{key:"totalsRow",get:function(){return this.table.totalsRow},set:function(e){this._assign(this.table,"totalsRow",e)}},{key:"theme",get:function(){return this.table.style.name},set:function(e){this.table.style.name=e}},{key:"showFirstColumn",get:function(){return this.table.style.showFirstColumn},set:function(e){this.table.style.showFirstColumn=e}},{key:"showLastColumn",get:function(){return this.table.style.showLastColumn},set:function(e){this.table.style.showLastColumn=e}},{key:"showRowStripes",get:function(){return this.table.style.showRowStripes},set:function(e){this.table.style.showRowStripes=e}},{key:"showColumnStripes",get:function(){return this.table.style.showColumnStripes},set:function(e){this.table.style.showColumnStripes=e}}]),e}();t.exports=c},{"../utils/col-cache":19}],13:[function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var i=e("./worksheet"),s=e("./defined-names"),o=e("../xlsx/xlsx"),a=e("../csv/csv"),c=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.category="",this.company="",this.created=new Date,this.description="",this.keywords="",this.manager="",this.modified=this.created,this.properties={},this.calcProperties={},this._worksheets=[],this.subject="",this.title="",this.views=[],this.media=[],this._definedNames=new s}var t,n,c;return t=e,(n=[{key:"addWorksheet",value:function(e,t){var n=this.nextId;if(e&&e.length>31&&console.warn("Worksheet name ".concat(e," exceeds 31 chars. This will be truncated")),/[*?:/\\[\]]/.test(e))throw new Error("Worksheet name ".concat(e," cannot include any of the following characters: * ? : \\ / [ ]"));if(/(^')|('$)/.test(e))throw new Error("The first or last character of worksheet name cannot be a single quotation mark: ".concat(e));if(e=(e||"sheet".concat(n)).substring(0,31),this._worksheets.find(function(t){return t&&t.name.toLowerCase()===e.toLowerCase()}))throw new Error("Worksheet name already exists: ".concat(e));t&&("string"==typeof t?(console.trace('tabColor argument is now deprecated. Please use workbook.addWorksheet(name, {properties: { tabColor: { argb: "rbg value" } }'),t={properties:{tabColor:{argb:t}}}):(t.argb||t.theme||t.indexed)&&(console.trace("tabColor argument is now deprecated. Please use workbook.addWorksheet(name, {properties: { tabColor: { ... } }"),t={properties:{tabColor:t}}));var r=this._worksheets.reduce(function(e,t){return(t&&t.orderNo)>e?t.orderNo:e},0),s=Object.assign({},t,{id:n,name:e,orderNo:r+1,workbook:this}),o=new i(s);return this._worksheets[n]=o,o}},{key:"removeWorksheetEx",value:function(e){delete this._worksheets[e.id]}},{key:"removeWorksheet",value:function(e){var t=this.getWorksheet(e);t&&t.destroy()}},{key:"getWorksheet",value:function(e){return void 0===e?this._worksheets.find(Boolean):"number"==typeof e?this._worksheets[e]:"string"==typeof e?this._worksheets.find(function(t){return t&&t.name===e}):void 0}},{key:"eachSheet",value:function(e){this.worksheets.forEach(function(t){e(t,t.id)})}},{key:"clearThemes",value:function(){this._themes=void 0}},{key:"addImage",value:function(e){var t=this.media.length;return this.media.push(Object.assign({},e,{type:"image"})),t}},{key:"getImage",value:function(e){return this.media[e]}},{key:"xlsx",get:function(){return this._xlsx||(this._xlsx=new o(this)),this._xlsx}},{key:"csv",get:function(){return this._csv||(this._csv=new a(this)),this._csv}},{key:"nextId",get:function(){for(var e=1;e<this._worksheets.length;e++)if(!this._worksheets[e])return e;return this._worksheets.length||1}},{key:"worksheets",get:function(){return this._worksheets.slice(1).sort(function(e,t){return e.orderNo-t.orderNo}).filter(Boolean)}},{key:"definedNames",get:function(){return this._definedNames}},{key:"model",get:function(){return{creator:this.creator||"Unknown",lastModifiedBy:this.lastModifiedBy||"Unknown",lastPrinted:this.lastPrinted,created:this.created,modified:this.modified,properties:this.properties,worksheets:this.worksheets.map(function(e){return e.model}),sheets:this.worksheets.map(function(e){return e.model}).filter(Boolean),definedNames:this._definedNames.model,views:this.views,company:this.company,manager:this.manager,title:this.title,subject:this.subject,keywords:this.keywords,category:this.category,description:this.description,language:this.language,revision:this.revision,contentStatus:this.contentStatus,themes:this._themes,media:this.media,calcProperties:this.calcProperties}},set:function(e){var t=this;this.creator=e.creator,this.lastModifiedBy=e.lastModifiedBy,this.lastPrinted=e.lastPrinted,this.created=e.created,this.modified=e.modified,this.company=e.company,this.manager=e.manager,this.title=e.title,this.subject=e.subject,this.keywords=e.keywords,this.category=e.category,this.description=e.description,this.language=e.language,this.revision=e.revision,this.contentStatus=e.contentStatus,this.properties=e.properties,this.calcProperties=e.calcProperties,this._worksheets=[],e.worksheets.forEach(function(n){var r=n.id,s=n.name,o=n.state,a=e.sheets&&e.sheets.findIndex(function(e){return e.id===r});(t._worksheets[r]=new i({id:r,name:s,orderNo:a,state:o,workbook:t})).model=n}),this._definedNames.model=e.definedNames,this.views=e.views,this._themes=e.themes,this.media=e.media||[]}}])&&r(t.prototype,n),c&&r(t,c),e}();t.exports=c},{"../csv/csv":1,"../xlsx/xlsx":141,"./defined-names":6,"./worksheet":14}],14:[function(e,t,n){"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach(function(t){s(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function s(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e){return function(e){if(Array.isArray(e))return a(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return a(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?a(e,t):void 0}}(e)||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 a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function c(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var l=e("../utils/under-dash"),u=e("../utils/col-cache"),h=e("./range"),d=e("./row"),f=e("./column"),p=e("./enums"),m=e("./image"),g=e("./table"),v=e("./data-validations"),y=e("../utils/encryptor"),b=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),t=t||{},this.id=t.id,this.orderNo=t.orderNo,this.name=t.name||"Sheet".concat(this.id),this.state=t.state||"visible",this._rows=[],this._columns=null,this._keys={},this._merges={},this.rowBreaks=[],this._workbook=t.workbook,this.properties=Object.assign({},{defaultRowHeight:15,dyDescent:55,outlineLevelCol:0,outlineLevelRow:0},t.properties),this.pageSetup=Object.assign({},{margins:{left:.7,right:.7,top:.75,bottom:.75,header:.3,footer:.3},orientation:"portrait",horizontalDpi:4294967295,verticalDpi:4294967295,fitToPage:!(!t.pageSetup||!t.pageSetup.fitToWidth&&!t.pageSetup.fitToHeight||t.pageSetup.scale),pageOrder:"downThenOver",blackAndWhite:!1,draft:!1,cellComments:"None",errors:"displayed",scale:100,fitToWidth:1,fitToHeight:1,paperSize:void 0,showRowColHeaders:!1,showGridLines:!1,firstPageNumber:void 0,horizontalCentered:!1,verticalCentered:!1,rowBreaks:null,colBreaks:null},t.pageSetup),this.headerFooter=Object.assign({},{differentFirst:!1,differentOddEven:!1,oddHeader:null,oddFooter:null,evenHeader:null,evenFooter:null,firstHeader:null,firstFooter:null},t.headerFooter),this.dataValidations=new v,this.views=t.views||[],this.autoFilter=t.autoFilter||null,this._media=[],this.sheetProtection=null,this.tables={},this.conditionalFormattings=[]}var t,n,r;return t=e,(n=[{key:"destroy",value:function(){this._workbook.removeWorksheetEx(this)}},{key:"getColumnKey",value:function(e){return this._keys[e]}},{key:"setColumnKey",value:function(e,t){this._keys[e]=t}},{key:"deleteColumnKey",value:function(e){delete this._keys[e]}},{key:"eachColumnKey",value:function(e){l.each(this._keys,e)}},{key:"getColumn",value:function(e){if("string"==typeof e){var t=this._keys[e];if(t)return t;e=u.l2n(e)}if(this._columns||(this._columns=[]),e>this._columns.length)for(var n=this._columns.length+1;n<=e;)this._columns.push(new f(this,n++));return this._columns[e-1]}},{key:"spliceColumns",value:function(e,t){for(var n=this,r=this._rows.length,i=arguments.length,s=new Array(i>2?i-2:0),o=2;o<i;o++)s[o-2]=arguments[o];if(s.length>0)for(var a=function(r){var i=[e,t];s.forEach(function(e){i.push(e[r]||null)});var o=n.getRow(r+1);o.splice.apply(o,i)},c=0;c<r;c++)a(c);else this._rows.forEach(function(n){n&&n.splice(e,t)});var l=s.length-t,u=e+t,h=this._columns.length;if(l<0)for(var d=e+s.length;d<=h;d++)this.getColumn(d).defn=this.getColumn(d-l).defn;else if(l>0)for(var f=h;f>=u;f--)this.getColumn(f+l).defn=this.getColumn(f).defn;for(var p=e;p<e+s.length;p++)this.getColumn(p).defn=null;this.workbook.definedNames.spliceColumns(this.name,e,t,s.length)}},{key:"_commitRow",value:function(){}},{key:"findRow",value:function(e){return this._rows[e-1]}},{key:"findRows",value:function(e,t){return this._rows.slice(e-1,e-1+t)}},{key:"getRow",value:function(e){var t=this._rows[e-1];return t||(t=this._rows[e-1]=new d(this,e)),t}},{key:"getRows",value:function(e,t){if(!(t<1)){for(var n=[],r=e;r<e+t;r++)n.push(this.getRow(r));return n}}},{key:"addRow",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"n",n=this._nextRow,r=this.getRow(n);return r.values=e,this._setStyleOption(n,"i"===t[0]?t:"n"),r}},{key:"addRows",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"n",r=[];return e.forEach(function(e){r.push(t.addRow(e,n))}),r}},{key:"insertRow",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"n";return this.spliceRows(e,0,t),this._setStyleOption(e,n),this.getRow(e)}},{key:"insertRows",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"n";if(this.spliceRows.apply(this,[e,0].concat(o(t))),"n"!==n)for(var r=0;r<t.length;r++)"o"===n[0]&&void 0!==this.findRow(t.length+e+r)?this._copyStyle(t.length+e+r,e+r,"+"===n[1]):"i"===n[0]&&void 0!==this.findRow(e-1)&&this._copyStyle(e-1,e+r,"+"===n[1]);return this.getRows(e,t.length)}},{key:"_setStyleOption",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"n";"o"===t[0]&&void 0!==this.findRow(e+1)?this._copyStyle(e+1,e,"+"===t[1]):"i"===t[0]&&void 0!==this.findRow(e-1)&&this._copyStyle(e-1,e,"+"===t[1])}},{key:"_copyStyle",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=this.getRow(e),s=this.getRow(t);s.style=Object.freeze(i({},r.style)),r.eachCell({includeEmpty:n},function(e,t){s.getCell(t).style=Object.freeze(i({},e.style))}),s.height=r.height}},{key:"duplicateRow",value:function(e,t){var n=this,r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=this._rows[e-1],s=new Array(t).fill(i.values);this.spliceRows.apply(this,[e+1,r?0:t].concat(o(s)));for(var a=function(t){var r=n._rows[e+t];r.style=i.style,r.height=i.height,i.eachCell({includeEmpty:!0},function(e,t){r.getCell(t).style=e.style})},c=0;c<t;c++)a(c)}},{key:"spliceRows",value:function(e,t){for(var n=this,r=e+t,i=arguments.length,s=new Array(i>2?i-2:0),o=2;o<i;o++)s[o-2]=arguments[o];var a,c,l=s.length,u=l-t,h=this._rows.length;if(u<0)for(a=r;a<=h;a++)(c=this._rows[a-1])?function(){var e=n.getRow(a+u);e.values=c.values,e.style=c.style,e.height=c.height,c.eachCell({includeEmpty:!0},function(t,n){e.getCell(n).style=t.style}),n._rows[a-1]=void 0}():this._rows[a+u-1]=void 0;else if(u>0)for(a=h;a>=r;a--)(c=this._rows[a-1])?function(){var e=n.getRow(a+u);e.values=c.values,e.style=c.style,e.height=c.height,c.eachCell({includeEmpty:!0},function(t,r){if(e.getCell(r).style=t.style,"MergeValue"===t._value.constructor.name){var i=n.getRow(t._row._number+l).getCell(r),s=t._value._master,o=n.getRow(s._row._number+l).getCell(s._column._number);i.merge(o)}})}():this._rows[a+u-1]=void 0;for(a=0;a<l;a++){var d=this.getRow(e+a);d.style={},d.values=s[a]}this.workbook.definedNames.spliceRows(this.name,e,t,l)}},{key:"eachRow",value:function(e,t){if(t||(t=e,e=void 0),e&&e.includeEmpty)for(var n=this._rows.length,r=1;r<=n;r++)t(this.getRow(r),r);else this._rows.forEach(function(e){e&&e.hasValues&&t(e,e.number)})}},{key:"getSheetValues",value:function(){var e=[];return this._rows.forEach(function(t){t&&(e[t.number]=t.values)}),e}},{key:"findCell",value:function(e,t){var n=u.getAddress(e,t),r=this._rows[n.row-1];return r?r.findCell(n.col):void 0}},{key:"getCell",value:function(e,t){var n=u.getAddress(e,t);return this.getRow(n.row).getCellEx(n)}},{key:"mergeCells",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=new h(t);this._mergeCellsInternal(r)}},{key:"mergeCellsWithoutStyle",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=new h(t);this._mergeCellsInternal(r,!0)}},{key:"_mergeCellsInternal",value:function(e,t){l.each(this._merges,function(t){if(t.intersects(e))throw new Error("Cannot merge already merged cells")});for(var n=this.getCell(e.top,e.left),r=e.top;r<=e.bottom;r++)for(var i=e.left;i<=e.right;i++)(r>e.top||i>e.left)&&this.getCell(r,i).merge(n,t);this._merges[n.address]=e}},{key:"_unMergeMaster",value:function(e){var t=this._merges[e.address];if(t){for(var n=t.top;n<=t.bottom;n++)for(var r=t.left;r<=t.right;r++)this.getCell(n,r).unmerge();delete this._merges[e.address]}}},{key:"unMergeCells",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];for(var r=new h(t),i=r.top;i<=r.bottom;i++)for(var s=r.left;s<=r.right;s++){var o=this.findCell(i,s);o&&(o.type===p.ValueType.Merge?this._unMergeMaster(o.master):this._merges[o.address]&&this._unMergeMaster(o))}}},{key:"fillFormula",value:function(e,t,n){var r,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"shared",s=u.decode(e),o=s.top,a=s.left,c=s.bottom,l=s.right,h=l-a+1,d=u.encodeAddress(o,a),f="shared"===i;r="function"==typeof n?n:Array.isArray(n)?Array.isArray(n[0])?function(e,t){return n[e-o][t-a]}:function(e,t){return n[(e-o)*h+(t-a)]}:function(){};for(var p=!0,m=o;m<=c;m++)for(var g=a;g<=l;g++)p?(this.getCell(m,g).value={shareType:i,formula:t,ref:e,result:r(m,g)},p=!1):this.getCell(m,g).value=f?{sharedFormula:d,result:r(m,g)}:r(m,g)}},{key:"addImage",value:function(e,t){var n={type:"image",imageId:e,range:t};this._media.push(new m(this,n))}},{key:"getImages",value:function(){return this._media.filter(function(e){return"image"===e.type})}},{key:"addBackgroundImage",value:function(e){var t={type:"background",imageId:e};this._media.push(new m(this,t))}},{key:"getBackgroundImageId",value:function(){var e=this._media.find(function(e){return"background"===e.type});return e&&e.imageId}},{key:"protect",value:function(e,t){var n=this;return new Promise(function(r){n.sheetProtection={sheet:!0},t&&"spinCount"in t&&(t.spinCount=Number.isFinite(t.spinCount)?Math.round(Math.max(0,t.spinCount)):1e5),e&&(n.sheetProtection.algorithmName="SHA-512",n.sheetProtection.saltValue=y.randomBytes(16).toString("base64"),n.sheetProtection.spinCount=t&&"spinCount"in t?t.spinCount:1e5,n.sheetProtection.hashValue=y.convertPasswordToHash(e,"SHA512",n.sheetProtection.saltValue,n.sheetProtection.spinCount)),t&&(n.sheetProtection=Object.assign(n.sheetProtection,t),!e&&"spinCount"in t&&delete n.sheetProtection.spinCount),r()})}},{key:"unprotect",value:function(){this.sheetProtection=null}},{key:"addTable",value:function(e){var t=new g(this,e);return this.tables[e.name]=t,t}},{key:"getTable",value:function(e){return this.tables[e]}},{key:"removeTable",value:function(e){delete this.tables[e]}},{key:"getTables",value:function(){return Object.values(this.tables)}},{key:"addConditionalFormatting",value:function(e){this.conditionalFormattings.push(e)}},{key:"removeConditionalFormatting",value:function(e){"number"==typeof e?this.conditionalFormattings.splice(e,1):this.conditionalFormattings=e instanceof Function?this.conditionalFormattings.filter(e):[]}},{key:"_parseRows",value:function(e){var t=this;this._rows=[],e.rows.forEach(function(e){var n=new d(t,e.number);t._rows[n.number-1]=n,n.model=e})}},{key:"_parseMergeCells",value:function(e){var t=this;l.each(e.mergeCells,function(e){t.mergeCellsWithoutStyle(e)})}},{key:"workbook",get:function(){return this._workbook}},{key:"dimensions",get:function(){var e=new h;return this._rows.forEach(function(t){if(t){var n=t.dimensions;n&&e.expand(t.number,n.min,t.number,n.max)}}),e}},{key:"columns",get:function(){return this._columns},set:function(e){var t=this;this._headerRowCount=e.reduce(function(e,t){var n=(t.header?1:t.headers&&t.headers.length)||0;return Math.max(e,n)},0);var n=1,r=this._columns=[];e.forEach(function(e){var i=new f(t,n++,!1);r.push(i),i.defn=e})}},{key:"lastColumn",get:function(){return this.getColumn(this.columnCount)}},{key:"columnCount",get:function(){var e=0;return this.eachRow(function(t){e=Math.max(e,t.cellCount)}),e}},{key:"actualColumnCount",get:function(){var e=[],t=0;return this.eachRow(function(n){n.eachCell(function(n){var r=n.col;e[r]||(e[r]=!0,t++)})}),t}},{key:"_lastRowNumber",get:function(){for(var e=this._rows,t=e.length;t>0&&void 0===e[t-1];)t--;return t}},{key:"_nextRow",get:function(){return this._lastRowNumber+1}},{key:"lastRow",get:function(){if(this._rows.length)return this._rows[this._rows.length-1]}},{key:"rowCount",get:function(){return this._lastRowNumber}},{key:"actualRowCount",get:function(){var e=0;return this.eachRow(function(){e++}),e}},{key:"hasMerges",get:function(){return l.some(this._merges,Boolean)}},{key:"tabColor",get:function(){return console.trace("worksheet.tabColor property is now deprecated. Please use worksheet.properties.tabColor"),this.properties.tabColor},set:function(e){console.trace("worksheet.tabColor property is now deprecated. Please use worksheet.properties.tabColor"),this.properties.tabColor=e}},{key:"model",get:function(){var e={id:this.id,name:this.name,dataValidations:this.dataValidations.model,properties:this.properties,state:this.state,pageSetup:this.pageSetup,headerFooter:this.headerFooter,rowBreaks:this.rowBreaks,views:this.views,autoFilter:this.autoFilter,media:this._media.map(function(e){return e.model}),sheetProtection:this.sheetProtection,tables:Object.values(this.tables).map(function(e){return e.model}),conditionalFormattings:this.conditionalFormattings};e.cols=f.toModel(this.columns);var t=e.rows=[],n=e.dimensions=new h;return this._rows.forEach(function(e){var r=e&&e.model;r&&(n.expand(r.number,r.min,r.number,r.max),t.push(r))}),e.merges=[],l.each(this._merges,function(t){e.merges.push(t.range)}),e},set:function(e){var t=this;this.name=e.name,this._columns=f.fromModel(this,e.cols),this._parseRows(e),this._parseMergeCells(e),this.dataValidations=new v(e.dataValidations),this.properties=e.properties,this.pageSetup=e.pageSetup,this.headerFooter=e.headerFooter,this.views=e.views,this.autoFilter=e.autoFilter,this._media=e.media.map(function(e){return new m(t,e)}),this.sheetProtection=e.sheetProtection,this.tables=e.tables.reduce(function(e,t){var n=new g;return n.model=t,e[t.name]=n,e},{}),this.conditionalFormattings=e.conditionalFormattings}}])&&c(t.prototype,n),r&&c(t,r),e}();t.exports=b},{"../utils/col-cache":19,"../utils/encryptor":20,"../utils/under-dash":25,"./column":4,"./data-validations":5,"./enums":7,"./image":8,"./range":10,"./row":11,"./table":12}],15:[function(e,t,n){"use strict";e("core-js/modules/es.promise"),e("core-js/modules/es.object.assign"),e("core-js/modules/es.object.keys"),e("core-js/modules/es.object.values"),e("core-js/modules/es.symbol"),e("core-js/modules/es.symbol.async-iterator"),e("core-js/modules/es.array.iterator"),e("core-js/modules/es.array.includes"),e("core-js/modules/es.array.find-index"),e("core-js/modules/es.array.find"),e("core-js/modules/es.string.from-code-point"),e("core-js/modules/es.string.includes"),e("core-js/modules/es.number.is-nan"),e("regenerator-runtime/runtime");var r={Workbook:e("./doc/workbook")},i=e("./doc/enums");Object.keys(i).forEach(function(e){r[e]=i[e]}),t.exports=r},{"./doc/enums":7,"./doc/workbook":13,"core-js/modules/es.array.find":316,"core-js/modules/es.array.find-index":315,"core-js/modules/es.array.includes":317,"core-js/modules/es.array.iterator":318,"core-js/modules/es.number.is-nan":319,"core-js/modules/es.object.assign":320,"core-js/modules/es.object.keys":321,"core-js/modules/es.object.values":322,"core-js/modules/es.promise":323,"core-js/modules/es.string.from-code-point":324,"core-js/modules/es.string.includes":325,"core-js/modules/es.symbol":327,"core-js/modules/es.symbol.async-iterator":326,"regenerator-runtime/runtime":492}],16:[function(e,t,n){"use strict";var r="undefined"==typeof TextDecoder?null:new TextDecoder("utf-8");n.bufferToString=function(e){return"string"==typeof e?e:r?r.decode(e):e.toString()}},{}],17:[function(e,t,n){"use strict";var r="undefined"==typeof TextEncoder?null:new TextEncoder("utf-8"),i=e("buffer").Buffer;n.stringToBuffer=function(e){return"string"!=typeof e?e:r?i.from(r.encode(e).buffer):i.from(e)}},{buffer:216}],18:[function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var i=e("./under-dash"),s=e("./col-cache"),o=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.template=t,this.sheets={}}var t,n,o;return t=e,(n=[{key:"addCell",value:function(e){this.addCellEx(s.decodeEx(e))}},{key:"getCell",value:function(e){return this.findCellEx(s.decodeEx(e),!0)}},{key:"findCell",value:function(e){return this.findCellEx(s.decodeEx(e),!1)}},{key:"findCellAt",value:function(e,t,n){var r=this.sheets[e],i=r&&r[t];return i&&i[n]}},{key:"addCellEx",value:function(e){if(e.top)for(var t=e.top;t<=e.bottom;t++)for(var n=e.left;n<=e.right;n++)this.getCellAt(e.sheetName,t,n);else this.findCellEx(e,!0)}},{key:"getCellEx",value:function(e){return this.findCellEx(e,!0)}},{key:"findCellEx",value:function(e,t){var n=this.findSheet(e,t),r=this.findSheetRow(n,e,t);return this.findRowCell(r,e,t)}},{key:"getCellAt",value:function(e,t,n){var r=this.sheets[e]||(this.sheets[e]=[]),i=r[t]||(r[t]=[]);return i[n]||(i[n]={sheetName:e,address:s.n2l(n)+t,row:t,col:n})}},{key:"removeCellEx",value:function(e){var t=this.findSheet(e);if(t){var n=this.findSheetRow(t,e);n&&delete n[e.col]}}},{key:"forEachInSheet",value:function(e,t){var n=this.sheets[e];n&&n.forEach(function(e,n){e&&e.forEach(function(e,r){e&&t(e,n,r)})})}},{key:"forEach",value:function(e){var t=this;i.each(this.sheets,function(n,r){t.forEachInSheet(r,e)})}},{key:"map",value:function(e){var t=[];return this.forEach(function(n){t.push(e(n))}),t}},{key:"findSheet",value:function(e,t){var n=e.sheetName;return this.sheets[n]?this.sheets[n]:t?this.sheets[n]=[]:void 0}},{key:"findSheetRow",value:function(e,t,n){var r=t.row;return e&&e[r]?e[r]:n?e[r]=[]:void 0}},{key:"findRowCell",value:function(e,t,n){var r=t.col;return e&&e[r]?e[r]:n?e[r]=this.template?Object.assign(t,JSON.parse(JSON.stringify(this.template))):t:void 0}},{key:"spliceRows",value:function(e,t,n,r){var i=this.sheets[e];if(i){for(var s=[],o=0;o<r;o++)s.push([]);i.splice.apply(i,[t,n].concat(s))}}},{key:"spliceColumns",value:function(e,t,n,r){var s=this.sheets[e];if(s){for(var o=[],a=0;a<r;a++)o.push(null);i.each(s,function(e){e.splice.apply(e,[t,n].concat(o))})}}}])&&r(t.prototype,n),o&&r(t,o),e}();t.exports=o},{"./col-cache":19,"./under-dash":25}],19:[function(e,t,n){"use strict";function r(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,i=!1,s=void 0;try{for(var o,a=e[Symbol.iterator]();!(r=(o=a.next()).done)&&(n.push(o.value),!t||n.length!==t);r=!0);}catch(e){i=!0,s=e}finally{try{r||null==a.return||a.return()}finally{if(i)throw s}}return n}}(e,t)||function(e,t){if(e){if("string"==typeof e)return i(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?i(e,t):void 0}}(e,t)||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 i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var a=/^[A-Z]+\d+$/,c={_dictionary:["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],_l2nFill:0,_l2n:{},_n2l:[],_level:function(e){return e<=26?1:e<=676?2:3},_fill:function(e){var t,n,r,i,s,o=1;if(e>=4)throw new Error("Out of bounds. Excel supports columns from 1 to 16384");if(this._l2nFill<1&&e>=1){for(;o<=26;)t=this._dictionary[o-1],this._n2l[o]=t,this._l2n[t]=o,o++;this._l2nFill=1}if(this._l2nFill<2&&e>=2){for(o=27;o<=702;)r=(n=o-27)%26,i=Math.floor(n/26),t=this._dictionary[i]+this._dictionary[r],this._n2l[o]=t,this._l2n[t]=o,o++;this._l2nFill=2}if(this._l2nFill<3&&e>=3){for(o=703;o<=16384;)r=(n=o-703)%26,i=Math.floor(n/26)%26,s=Math.floor(n/676),t=this._dictionary[s]+this._dictionary[i]+this._dictionary[r],this._n2l[o]=t,this._l2n[t]=o,o++;this._l2nFill=3}},l2n:function(e){if(this._l2n[e]||this._fill(e.length),!this._l2n[e])throw new Error("Out of bounds. Invalid column letter: ".concat(e));return this._l2n[e]},n2l:function(e){if(e<1||e>16384)throw new Error("".concat(e," is out of bounds. Excel supports columns from 1 to 16384"));return this._n2l[e]||this._fill(this._level(e)),this._n2l[e]},_hash:{},validateAddress:function(e){if(!a.test(e))throw new Error("Invalid Address: ".concat(e));return!0},decodeAddress:function(e){var t=e.length<5&&this._hash[e];if(t)return t;for(var n,r=!1,i="",s=0,o=!1,a="",c=0,l=0;l<e.length;l++)if(n=e.charCodeAt(l),!o&&n>=65&&n<=90)r=!0,i+=e[l],s=26*s+n-64;else if(n>=48&&n<=57)o=!0,a+=e[l],c=10*c+n-48;else if(o&&r&&36!==n)break;if(r){if(s>16384)throw new Error("Out of bounds. Invalid column letter: ".concat(i))}else s=void 0;o||(c=void 0);var u={address:e=i+a,col:s,row:c,$col$row:"$".concat(i,"$").concat(a)};return s<=100&&c<=100&&(this._hash[e]=u,this._hash[u.$col$row]=u),u},getAddress:function(e,t){if(t){var n=this.n2l(t)+e;return this.decodeAddress(n)}return this.decodeAddress(e)},decode:function(e){var t=e.split(":");if(2===t.length){var n=this.decodeAddress(t[0]),r=this.decodeAddress(t[1]),i={top:Math.min(n.row,r.row),left:Math.min(n.col,r.col),bottom:Math.max(n.row,r.row),right:Math.max(n.col,r.col)};return i.tl=this.n2l(i.left)+i.top,i.br=this.n2l(i.right)+i.bottom,i.dimensions="".concat(i.tl,":").concat(i.br),i}return this.decodeAddress(e)},decodeEx:function(e){var t=e.match(/(?:(?:(?:'((?:[^']|'')*)')|([^'^ !]*))!)?(.*)/),n=t[1]||t[2],r=t[3],i=r.split(":");if(i.length>1){var a=this.decodeAddress(i[0]),c=this.decodeAddress(i[1]),l=Math.min(a.row,c.row),u=Math.min(a.col,c.col),h=Math.max(a.row,c.row),d=Math.max(a.col,c.col);return a=this.n2l(u)+l,c=this.n2l(d)+h,{top:l,left:u,bottom:h,right:d,sheetName:n,tl:{address:a,col:u,row:l,$col$row:"$".concat(this.n2l(u),"$").concat(l),sheetName:n},br:{address:c,col:d,row:h,$col$row:"$".concat(this.n2l(d),"$").concat(h),sheetName:n},dimensions:"".concat(a,":").concat(c)}}if(r.startsWith("#"))return n?{sheetName:n,error:r}:{error:r};var f=this.decodeAddress(r);return n?function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach(function(t){o(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({sheetName:n},f):f},encodeAddress:function(e,t){return c.n2l(t)+e},encode:function(){switch(arguments.length){case 2:return c.encodeAddress(arguments[0],arguments[1]);case 4:return"".concat(c.encodeAddress(arguments[0],arguments[1]),":").concat(c.encodeAddress(arguments[2],arguments[3]));default:throw new Error("Can only encode with 2 or 4 arguments")}},inRange:function(e,t){var n=r(e,5),i=n[0],s=n[1],o=n[3],a=n[4],c=r(t,2),l=c[0],u=c[1];return l>=i&&l<=o&&u>=s&&u<=a}};t.exports=c},{}],20:[function(e,t,n){(function(n){"use strict";var r=e("crypto"),i={hash:function(e){for(var t=r.createHash(e),i=arguments.length,s=new Array(i>1?i-1:0),o=1;o<i;o++)s[o-1]=arguments[o];return t.update(n.concat(s)),t.digest()},convertPasswordToHash:function(e,t,i,s){if(t=t.toLowerCase(),r.getHashes().indexOf(t)<0)throw new Error("Hash algorithm '".concat(t,"' not supported!"));for(var o=n.from(e,"utf16le"),a=this.hash(t,n.from(i,"base64"),o),c=0;c<s;c++){var l=n.alloc(4);l.writeUInt32LE(c,0),a=this.hash(t,a,l)}return a.toString("base64")},randomBytes:function(e){return r.randomBytes(e)}};t.exports=i}).call(this,e("buffer").Buffer)},{buffer:216,crypto:335}],21:[function(e,t,n){"use strict";function r(e){return new s(e)}function i(e){var t,n;function r(t,n){try{var o=e[t](n),a=o.value,c=a instanceof s;Promise.resolve(c?a.wrapped:a).then(function(e){c?r("return"===t?"return":"next",e):i(o.done?"return":"normal",e)},function(e){r("throw",e)})}catch(e){i("throw",e)}}function i(e,i){switch(e){case"return":t.resolve({value:i,done:!0});break;case"throw":t.reject(i);break;default:t.resolve({value:i,done:!1})}(t=t.next)?r(t.key,t.arg):n=null}this._invoke=function(e,i){return new Promise(function(s,o){var a={key:e,arg:i,resolve:s,reject:o,next:null};n?n=n.next=a:(t=n=a,r(e,i))})},"function"!=typeof e.return&&(this.return=void 0)}function s(e){this.wrapped=e}function o(e){var t;if("undefined"!=typeof Symbol){if(Symbol.asyncIterator&&null!=(t=e[Symbol.asyncIterator]))return t.call(e);if(Symbol.iterator&&null!=(t=e[Symbol.iterator]))return t.call(e)}throw new TypeError("Object is not async iterable")}"function"==typeof Symbol&&Symbol.asyncIterator&&(i.prototype[Symbol.asyncIterator]=function(){return this}),i.prototype.next=function(e){return this._invoke("next",e)},i.prototype.throw=function(e){return this._invoke("throw",e)},i.prototype.return=function(e){return this._invoke("return",e)};var a=e("saxes").SaxesParser,c=e("readable-stream").PassThrough,l=e("./browser-buffer-decode").bufferToString;t.exports=function(){var e,t=(e=regeneratorRuntime.mark(function e(t){var n,i,s,u,h,d,f,p,m,g;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:t.pipe&&!t[Symbol.asyncIterator]&&(t=t.pipe(new c)),(n=new a).on("error",function(e){i=e}),s=[],n.on("opentag",function(e){return s.push({eventType:"opentag",value:e})}),n.on("text",function(e){return s.push({eventType:"text",value:e})}),n.on("closetag",function(e){return s.push({eventType:"closetag",value:e})}),u=!0,h=!1,e.prev=9,f=o(t);case 11:return e.next=13,r(f.next());case 13:return p=e.sent,u=p.done,e.next=17,r(p.value);case 17:if(m=e.sent,u){e.next=29;break}if(g=m,n.write(l(g)),!i){e.next=23;break}throw i;case 23:return e.next=25,s;case 25:s=[];case 26:u=!0,e.next=11;break;case 29:e.next=35;break;case 31:e.prev=31,e.t0=e.catch(9),h=!0,d=e.t0;case 35:if(e.prev=35,e.prev=36,u||null==f.return){e.next=40;break}return e.next=40,r(f.return());case 40:if(e.prev=40,!h){e.next=43;break}throw d;case 43:return e.finish(40);case 44:return e.finish(35);case 45:case"end":return e.stop()}},e,null,[[9,31,35,45],[36,,40,44]])}),function(){return new i(e.apply(this,arguments))});return function(e){return t.apply(this,arguments)}}()},{"./browser-buffer-decode":16,"readable-stream":491,saxes:496}],22:[function(e,t,n){"use strict";var r=e("./col-cache"),i=/(([a-z_\-0-9]*)!)?([a-z0-9_$]{2,})([(])?/gi,s=/^([$])?([a-z]+)([$])?([1-9][0-9]*)$/i;t.exports={slideFormula:function(e,t,n){var o=r.decode(t),a=r.decode(n);return e.replace(i,function(e,t,n,i,c){if(c)return e;var l=s.exec(i);if(l){var u=l[1],h=l[2].toUpperCase(),d=l[3],f=l[4];if(h.length>3||3===h.length&&h>"XFD")return e;var p=r.l2n(h),m=parseInt(f,10);return u||(p+=a.col-o.col),d||(m+=a.row-o.row),(t||"")+(u||"")+r.n2l(p)+(d||"")+m}return e})}}},{"./col-cache":19}],23:[function(e,t,n){(function(n,r){"use strict";function i(e,t,n,r,i,s,o){try{var a=e[s](o),c=a.value}catch(e){return void n(e)}a.done?t(c):Promise.resolve(c).then(r,i)}function s(e){return function(){var t=this,n=arguments;return new Promise(function(r,s){var o=e.apply(t,n);function a(e){i(o,r,s,a,c,"next",e)}function c(e){i(o,r,s,a,c,"throw",e)}a(void 0)})}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function c(e,t,n){return t&&a(e.prototype,t),n&&a(e,n),e}var l=e("readable-stream"),u=e("./utils"),h=e("./string-buf"),d=function(){function e(t,n){o(this,e),this._data=t,this._encoding=n}return c(e,[{key:"copy",value:function(e,t,n,r){return this.toBuffer().copy(e,t,n,r)}},{key:"toBuffer",value:function(){return this._buffer||(this._buffer=r.from(this._data,this._encoding)),this._buffer}},{key:"length",get:function(){return this.toBuffer().length}}]),e}(),f=function(){function e(t){o(this,e),this._data=t}return c(e,[{key:"copy",value:function(e,t,n,r){return this._data._buf.copy(e,t,n,r)}},{key:"toBuffer",value:function(){return this._data.toBuffer()}},{key:"length",get:function(){return this._data.length}}]),e}(),p=function(){function e(t){o(this,e),this._data=t}return c(e,[{key:"copy",value:function(e,t,n,r){this._data.copy(e,t,n,r)}},{key:"toBuffer",value:function(){return this._data}},{key:"length",get:function(){return this._data.length}}]),e}(),m=function(){function e(t){o(this,e),this.size=t,this.buffer=r.alloc(t),this.iRead=0,this.iWrite=0}return c(e,[{key:"toBuffer",value:function(){if(0===this.iRead&&this.iWrite===this.size)return this.buffer;var e=r.alloc(this.iWrite-this.iRead);return this.buffer.copy(e,0,this.iRead,this.iWrite),e}},{key:"read",value:function(e){var t;return 0===e?null:void 0===e||e>=this.length?(t=this.toBuffer(),this.iRead=this.iWrite,t):(t=r.alloc(e),this.buffer.copy(t,0,this.iRead,e),this.iRead+=e,t)}},{key:"write",value:function(e,t,n){var r=Math.min(n,this.size-this.iWrite);return e.copy(this.buffer,this.iWrite,t,t+r),this.iWrite+=r,r}},{key:"length",get:function(){return this.iWrite-this.iRead}},{key:"eod",get:function(){return this.iRead===this.iWrite}},{key:"full",get:function(){return this.iWrite===this.size}}]),e}(),g=function(e){e=e||{},this.bufSize=e.bufSize||1048576,this.buffers=[],this.batch=e.batch||!1,this.corked=!1,this.inPos=0,this.outPos=0,this.pipes=[],this.paused=!1,this.encoding=null};u.inherits(g,l.Duplex,{toBuffer:function(){switch(this.buffers.length){case 0:return null;case 1:return this.buffers[0].toBuffer();default:return r.concat(this.buffers.map(function(e){return e.toBuffer()}))}},_getWritableBuffer:function(){if(this.buffers.length){var e=this.buffers[this.buffers.length-1];if(!e.full)return e}var t=new m(this.bufSize);return this.buffers.push(t),t},_pipe:function(e){var t=this;return s(regeneratorRuntime.mark(function n(){var r;return regeneratorRuntime.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return r=function(t){return new Promise(function(n){t.write(e.toBuffer(),function(){n()})})},n.next=3,Promise.all(t.pipes.map(r));case 3:case"end":return n.stop()}},n)}))()},_writeToBuffers:function(e){for(var t=0,n=e.length;t<n;)t+=this._getWritableBuffer().write(e,t,n-t)},write:function(e,t,i){var o=this;return s(regeneratorRuntime.mark(function s(){var a;return regeneratorRuntime.wrap(function(s){for(;;)switch(s.prev=s.next){case 0:if(t instanceof Function&&(i=t,t="utf8"),i=i||u.nop,!(e instanceof h)){s.next=6;break}a=new f(e),s.next=15;break;case 6:if(!(e instanceof r)){s.next=10;break}a=new p(e),s.next=15;break;case 10:if(!("string"==typeof e||e instanceof String||e instanceof ArrayBuffer)){s.next=14;break}a=new d(e,t),s.next=15;break;case 14:throw new Error("Chunk must be one of type String, Buffer or StringBuf.");case 15:if(!o.pipes.length){s.next=31;break}if(!o.batch){s.next=21;break}for(o._writeToBuffers(a);!o.corked&&o.buffers.length>1;)o._pipe(o.buffers.shift());s.next=29;break;case 21:if(o.corked){s.next=27;break}return s.next=24,o._pipe(a);case 24:i(),s.next=29;break;case 27:o._writeToBuffers(a),n.nextTick(i);case 29:s.next=34;break;case 31:o.paused||o.emit("data",a.toBuffer()),o._writeToBuffers(a),o.emit("readable");case 34:return s.abrupt("return",!0);case 35:case"end":return s.stop()}},s)}))()},cork:function(){this.corked=!0},_flush:function(){if(this.pipes.length)for(;this.buffers.length;)this._pipe(this.buffers.shift())},uncork:function(){this.corked=!1,this._flush()},end:function(e,t,n){var r=this,i=function(e){e?n(e):(r._flush(),r.pipes.forEach(function(e){e.end()}),r.emit("finish"))};e?this.write(e,t,i):i()},read:function(e){var t;if(e){for(t=[];e&&this.buffers.length&&!this.buffers[0].eod;){var n=this.buffers[0],i=n.read(e);e-=i.length,t.push(i),n.eod&&n.full&&this.buffers.shift()}return r.concat(t)}return t=this.buffers.map(function(e){return e.toBuffer()}).filter(Boolean),this.buffers=[],r.concat(t)},setEncoding:function(e){this.encoding=e},pause:function(){this.paused=!0},resume:function(){this.paused=!1},isPaused:function(){return!!this.paused},pipe:function(e){this.pipes.push(e),!this.paused&&this.buffers.length&&this.end()},unpipe:function(e){this.pipes=this.pipes.filter(function(t){return t!==e})},unshift:function(){throw new Error("Not Implemented")},wrap:function(){throw new Error("Not Implemented")}}),t.exports=g}).call(this,e("_process"),e("buffer").Buffer)},{"./string-buf":24,"./utils":26,_process:467,buffer:216,"readable-stream":491}],24:[function(e,t,n){(function(e){"use strict";function n(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var r=function(){function t(n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),this._buf=e.alloc(n&&n.size||16384),this._encoding=n&&n.encoding||"utf8",this._inPos=0,this._buffer=void 0}var r,i,s;return r=t,(i=[{key:"toBuffer",value:function(){return this._buffer||(this._buffer=e.alloc(this.length),this._buf.copy(this._buffer,0,0,this.length)),this._buffer}},{key:"reset",value:function(e){e=e||0,this._buffer=void 0,this._inPos=e}},{key:"_grow",value:function(t){for(var n=2*this._buf.length;n<t;)n*=2;var r=e.alloc(n);this._buf.copy(r,0),this._buf=r}},{key:"addText",value:function(e){this._buffer=void 0;for(var t=this._inPos+this._buf.write(e,this._inPos,this._encoding);t>=this._buf.length-4;)this._grow(this._inPos+e.length),t=this._inPos+this._buf.write(e,this._inPos,this._encoding);this._inPos=t}},{key:"addStringBuf",value:function(e){e.length&&(this._buffer=void 0,this.length+e.length>this.capacity&&this._grow(this.length+e.length),e._buf.copy(this._buf,this._inPos,0,e.length),this._inPos+=e.length)}},{key:"length",get:function(){return this._inPos}},{key:"capacity",get:function(){return this._buf.length}},{key:"buffer",get:function(){return this._buf}}])&&n(r.prototype,i),s&&n(r,s),t}();t.exports=r}).call(this,e("buffer").Buffer)},{buffer:216}],25:[function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var i=Object.prototype.toString,s=/["&<>]/,o={each:function(e,t){e&&(Array.isArray(e)?e.forEach(t):Object.keys(e).forEach(function(n){t(e[n],n)}))},some:function(e,t){return!!e&&(Array.isArray(e)?e.some(t):Object.keys(e).some(function(n){return t(e[n],n)}))},every:function(e,t){return!e||(Array.isArray(e)?e.every(t):Object.keys(e).every(function(n){return t(e[n],n)}))},map:function(e,t){return e?Array.isArray(e)?e.map(t):Object.keys(e).map(function(n){return t(e[n],n)}):[]},keyBy:function(e,t){return e.reduce(function(e,n){return e[n[t]]=n,e},{})},isEqual:function(e,t){var n=r(e),i=r(t),s=Array.isArray(e),a=Array.isArray(t);if(n!==i)return!1;switch(r(e)){case"object":return s||a?!(!s||!a)&&e.length===t.length&&e.every(function(e,n){var r=t[n];return o.isEqual(e,r)}):o.every(e,function(e,n){var r=t[n];return o.isEqual(e,r)});default:return e===t}},escapeHtml:function(e){var t=s.exec(e);if(!t)return e;for(var n="",r="",i=0,o=t.index;o<e.length;o++){switch(e.charAt(o)){case'"':r="&quot;";break;case"&":r="&amp;";break;case"'":r="&apos;";break;case"<":r="&lt;";break;case">":r="&gt;";break;default:continue}i!==o&&(n+=e.substring(i,o)),i=o+1,n+=r}return i!==o?n+e.substring(i,o):n},strcmp:function(e,t){return e<t?-1:e>t?1:0},isUndefined:function(e){return"[object Undefined]"===i.call(e)},isObject:function(e){return"[object Object]"===i.call(e)},deepMerge:function(){var e,t,n,r=arguments[0]||{},i=arguments.length;function s(i,s){e=r[s],n=Array.isArray(i),o.isObject(i)||n?(n?(n=!1,t=e&&Array.isArray(e)?e:[]):t=e&&o.isObject(e)?e:{},r[s]=o.deepMerge(t,i)):o.isUndefined(i)||(r[s]=i)}for(var a=0;a<i;a++)o.each(arguments[a],s);return r}};t.exports=o},{}],26:[function(e,t,n){(function(n,r){"use strict";var i=e("fs"),s=/[<>&'"\x7F\x00-\x08\x0B-\x0C\x0E-\x1F]/,o={nop:function(){},promiseImmediate:function(e){return new Promise(function(t){n.setImmediate?r(function(){t(e)}):setTimeout(function(){t(e)},1)})},inherits:function(e,t,n,r){e.super_=t,r||(r=n,n=null),n&&Object.keys(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))});var i={constructor:{value:e,enumerable:!1,writable:!1,configurable:!0}};r&&Object.keys(r).forEach(function(e){i[e]=Object.getOwnPropertyDescriptor(r,e)}),e.prototype=Object.create(t.prototype,i)},dateToExcel:function(e,t){return 25569+e.getTime()/864e5-(t?1462:0)},excelToDate:function(e,t){var n=Math.round(24*(e-25569+(t?1462:0))*3600*1e3);return new Date(n)},parsePath:function(e){var t=e.lastIndexOf("/");return{path:e.substring(0,t),name:e.substring(t+1)}},getRelsPath:function(e){var t=o.parsePath(e);return"".concat(t.path,"/_rels/").concat(t.name,".rels")},xmlEncode:function(e){var t=s.exec(e);if(!t)return e;for(var n="",r="",i=0,o=t.index;o<e.length;o++){var a=e.charCodeAt(o);switch(a){case 34:r="&quot;";break;case 38:r="&amp;";break;case 39:r="&apos;";break;case 60:r="&lt;";break;case 62:r="&gt;";break;case 127:r="";break;default:if(a<=31&&(a<=8||a>=11&&13!==a)){r="";break}continue}i!==o&&(n+=e.substring(i,o)),i=o+1,r&&(n+=r)}return i!==o?n+e.substring(i,o):n},xmlDecode:function(e){return e.replace(/&([a-z]*);/g,function(e){switch(e){case"&lt;":return"<";case"&gt;":return">";case"&amp;":return"&";case"&apos;":return"'";case"&quot;":return'"';default:return e}})},validInt:function(e){var t=parseInt(e,10);return Number.isNaN(t)?0:t},isDateFmt:function(e){return!!e&&null!==(e=(e=e.replace(/\[[^\]]*]/g,"")).replace(/"[^"]*"/g,"")).match(/[ymdhMsb]+/)},fs:{exists:function(e){return new Promise(function(t){i.access(e,i.constants.F_OK,function(e){t(!e)})})}},toIsoDateString:function(e){return e.toIsoString().subsstr(0,10)}};t.exports=o}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("timers").setImmediate)},{fs:215,timers:521}],27:[function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var i=e("./under-dash"),s=e("./utils");function o(e,t,n){e.push(" "),e.push(t),e.push('="'),e.push(s.xmlEncode(n.toString())),e.push('"')}function a(e,t){t&&i.each(t,function(t,n){void 0!==t&&o(e,n,t)})}var c=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._xml=[],this._stack=[],this._rollbacks=[]}var t,n,i;return t=e,(n=[{key:"openXml",value:function(e){var t=this._xml;t.push("<?xml"),a(t,e),t.push("?>\n")}},{key:"openNode",value:function(e,t){var n=this.tos,r=this._xml;n&&this.open&&r.push(">"),this._stack.push(e),r.push("<"),r.push(e),a(r,t),this.leaf=!0,this.open=!0}},{key:"addAttribute",value:function(e,t){if(!this.open)throw new Error("Cannot write attributes to node if it is not open");void 0!==t&&o(this._xml,e,t)}},{key:"addAttributes",value:function(e){if(!this.open)throw new Error("Cannot write attributes to node if it is not open");a(this._xml,e)}},{key:"writeText",value:function(e){var t=this._xml;this.open&&(t.push(">"),this.open=!1),this.leaf=!1,t.push(s.xmlEncode(e.toString()))}},{key:"writeXml",value:function(e){this.open&&(this._xml.push(">"),this.open=!1),this.leaf=!1,this._xml.push(e)}},{key:"closeNode",value:function(){var e=this._stack.pop(),t=this._xml;this.leaf?t.push("/>"):(t.push("</"),t.push(e),t.push(">")),this.open=!1,this.leaf=!1}},{key:"leafNode",value:function(e,t,n){this.openNode(e,t),void 0!==n&&this.writeText(n),this.closeNode()}},{key:"closeAll",value:function(){for(;this._stack.length;)this.closeNode()}},{key:"addRollback",value:function(){return this._rollbacks.push({xml:this._xml.length,stack:this._stack.length,leaf:this.leaf,open:this.open}),this.cursor}},{key:"commit",value:function(){this._rollbacks.pop()}},{key:"rollback",value:function(){var e=this._rollbacks.pop();this._xml.length>e.xml&&this._xml.splice(e.xml,this._xml.length-e.xml),this._stack.length>e.stack&&this._stack.splice(e.stack,this._stack.length-e.stack),this.leaf=e.leaf,this.open=e.open}},{key:"tos",get:function(){return this._stack.length?this._stack[this._stack.length-1]:void 0}},{key:"cursor",get:function(){return this._xml.length}},{key:"xml",get:function(){return this.closeAll(),this._xml.join("")}}])&&r(t.prototype,n),i&&r(t,i),e}();c.StdDocAttributes={version:"1.0",encoding:"UTF-8",standalone:"yes"},t.exports=c},{"./under-dash":25,"./utils":26}],28:[function(e,t,n){(function(n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t,n,r,i,s,o){try{var a=e[s](o),c=a.value}catch(e){return void n(e)}a.done?t(c):Promise.resolve(c).then(r,i)}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t){return(o=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function a(e){var t=function(){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(e){return!1}}();return function(){var n,r=l(e);if(t){var i=l(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return c(this,n)}}function c(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function l(e){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var u=e("events"),h=e("jszip"),d=e("./stream-buf"),f=e("./browser-buffer-encode").stringToBuffer,p=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&o(e,t)}(m,e);var t,r,c,l,u,p=a(m);function m(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,m),(t=p.call(this)).options=Object.assign({type:"nodebuffer",compression:"DEFLATE"},e),t.zip=new h,t.stream=new d,t}return t=m,(r=[{key:"append",value:function(e,t){t.hasOwnProperty("base64")&&t.base64?this.zip.file(t.name,e,{base64:!0}):(n.browser&&"string"==typeof e&&(e=f(e)),this.zip.file(t.name,e))}},{key:"finalize",value:(l=regeneratorRuntime.mark(function e(){var t;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.zip.generateAsync(this.options);case 2:t=e.sent,this.stream.end(t),this.emit("finish");case 5:case"end":return e.stop()}},e,this)}),u=function(){var e=this,t=arguments;return new Promise(function(n,r){var s=l.apply(e,t);function o(e){i(s,n,r,o,a,"next",e)}function a(e){i(s,n,r,o,a,"throw",e)}o(void 0)})},function(){return u.apply(this,arguments)})},{key:"read",value:function(e){return this.stream.read(e)}},{key:"setEncoding",value:function(e){return this.stream.setEncoding(e)}},{key:"pause",value:function(){return this.stream.pause()}},{key:"resume",value:function(){return this.stream.resume()}},{key:"isPaused",value:function(){return this.stream.isPaused()}},{key:"pipe",value:function(e,t){return this.stream.pipe(e,t)}},{key:"unpipe",value:function(e){return this.stream.unpipe(e)}},{key:"unshift",value:function(e){return this.stream.unshift(e)}},{key:"wrap",value:function(e){return this.stream.wrap(e)}}])&&s(t.prototype,r),c&&s(t,c),m}(u.EventEmitter);t.exports={ZipWriter:p}}).call(this,e("_process"))},{"./browser-buffer-encode":17,"./stream-buf":23,_process:467,events:367,jszip:399}],29:[function(e,t,n){"use strict";t.exports={0:{f:"General"},1:{f:"0"},2:{f:"0.00"},3:{f:"#,##0"},4:{f:"#,##0.00"},9:{f:"0%"},10:{f:"0.00%"},11:{f:"0.00E+00"},12:{f:"# ?/?"},13:{f:"# ??/??"},14:{f:"mm-dd-yy"},15:{f:"d-mmm-yy"},16:{f:"d-mmm"},17:{f:"mmm-yy"},18:{f:"h:mm AM/PM"},19:{f:"h:mm:ss AM/PM"},20:{f:"h:mm"},21:{f:"h:mm:ss"},22:{f:'m/d/yy "h":mm'},27:{"zh-tw":"[$-404]e/m/d","zh-cn":'yyyy"\u5e74"m"\u6708"',"ja-jp":"[$-411]ge.m.d","ko-kr":'yyyy"\u5e74" mm"\u6708" dd"\u65e5"'},28:{"zh-tw":'[$-404]e"\u5e74"m"\u6708"d"\u65e5"',"zh-cn":'m"\u6708"d"\u65e5"',"ja-jp":'[$-411]ggge"\u5e74"m"\u6708"d"\u65e5"',"ko-kr":"mm-dd"},29:{"zh-tw":'[$-404]e"\u5e74"m"\u6708"d"\u65e5"',"zh-cn":'m"\u6708"d"\u65e5"',"ja-jp":'[$-411]ggge"\u5e74"m"\u6708"d"\u65e5"',"ko-kr":"mm-dd"},30:{"zh-tw":"m/d/yy ","zh-cn":"m-d-yy","ja-jp":"m/d/yy","ko-kr":"mm-dd-yy"},31:{"zh-tw":'yyyy"\u5e74"m"\u6708"d"\u65e5"',"zh-cn":'yyyy"\u5e74"m"\u6708"d"\u65e5"',"ja-jp":'yyyy"\u5e74"m"\u6708"d"\u65e5"',"ko-kr":'yyyy"\ub144" mm"\uc6d4" dd"\uc77c"'},32:{"zh-tw":'hh"\u6642"mm"\u5206"',"zh-cn":'h"\u65f6"mm"\u5206"',"ja-jp":'h"\u6642"mm"\u5206"',"ko-kr":'h"\uc2dc" mm"\ubd84"'},33:{"zh-tw":'hh"\u6642"mm"\u5206"ss"\u79d2"',"zh-cn":'h"\u65f6"mm"\u5206"ss"\u79d2"',"ja-jp":'h"\u6642"mm"\u5206"ss"\u79d2"',"ko-kr":'h"\uc2dc" mm"\ubd84" ss"\ucd08"'},34:{"zh-tw":'\u4e0a\u5348/\u4e0b\u5348 hh"\u6642"mm"\u5206"',"zh-cn":'\u4e0a\u5348/\u4e0b\u5348 h"\u65f6"mm"\u5206"',"ja-jp":'yyyy"\u5e74"m"\u6708"',"ko-kr":"yyyy-mm-dd"},35:{"zh-tw":'\u4e0a\u5348/\u4e0b\u5348 hh"\u6642"mm"\u5206"ss"\u79d2"',"zh-cn":'\u4e0a\u5348/\u4e0b\u5348 h"\u65f6"mm"\u5206"ss"\u79d2"',"ja-jp":'m"\u6708"d"\u65e5"',"ko-kr":"yyyy-mm-dd"},36:{"zh-tw":"[$-404]e/m/d","zh-cn":'yyyy"\u5e74"m"\u6708"',"ja-jp":"[$-411]ge.m.d","ko-kr":'yyyy"\u5e74" mm"\u6708" dd"\u65e5"'},37:{f:"#,##0 ;(#,##0)"},38:{f:"#,##0 ;[Red](#,##0)"},39:{f:"#,##0.00 ;(#,##0.00)"},40:{f:"#,##0.00 ;[Red](#,##0.00)"},45:{f:"mm:ss"},46:{f:"[h]:mm:ss"},47:{f:"mmss.0"},48:{f:"##0.0E+0"},49:{f:"@"},50:{"zh-tw":"[$-404]e/m/d","zh-cn":'yyyy"\u5e74"m"\u6708"',"ja-jp":"[$-411]ge.m.d","ko-kr":'yyyy"\u5e74" mm"\u6708" dd"\u65e5"'},51:{"zh-tw":'[$-404]e"\u5e74"m"\u6708"d"\u65e5"',"zh-cn":'m"\u6708"d"\u65e5"',"ja-jp":'[$-411]ggge"\u5e74"m"\u6708"d"\u65e5"',"ko-kr":"mm-dd"},52:{"zh-tw":'\u4e0a\u5348/\u4e0b\u5348 hh"\u6642"mm"\u5206"',"zh-cn":'yyyy"\u5e74"m"\u6708"',"ja-jp":'yyyy"\u5e74"m"\u6708"',"ko-kr":"yyyy-mm-dd"},53:{"zh-tw":'\u4e0a\u5348/\u4e0b\u5348 hh"\u6642"mm"\u5206"ss"\u79d2"',"zh-cn":'m"\u6708"d"\u65e5"',"ja-jp":'m"\u6708"d"\u65e5"',"ko-kr":"yyyy-mm-dd"},54:{"zh-tw":'[$-404]e"\u5e74"m"\u6708"d"\u65e5"',"zh-cn":'m"\u6708"d"\u65e5"',"ja-jp":'[$-411]ggge"\u5e74"m"\u6708"d"\u65e5"',"ko-kr":"mm-dd"},55:{"zh-tw":'\u4e0a\u5348/\u4e0b\u5348 hh"\u6642"mm"\u5206"',"zh-cn":'\u4e0a\u5348/\u4e0b\u5348 h"\u65f6"mm"\u5206"',"ja-jp":'yyyy"\u5e74"m"\u6708"',"ko-kr":"yyyy-mm-dd"},56:{"zh-tw":'\u4e0a\u5348/\u4e0b\u5348 hh"\u6642"mm"\u5206"ss"\u79d2"',"zh-cn":'\u4e0a\u5348/\u4e0b\u5348 h"\u65f6"mm"\u5206"ss"\u79d2"',"ja-jp":'m"\u6708"d"\u65e5"',"ko-kr":"yyyy-mm-dd"},57:{"zh-tw":"[$-404]e/m/d","zh-cn":'yyyy"\u5e74"m"\u6708"',"ja-jp":"[$-411]ge.m.d","ko-kr":'yyyy"\u5e74" mm"\u6708" dd"\u65e5"'},58:{"zh-tw":'[$-404]e"\u5e74"m"\u6708"d"\u65e5"',"zh-cn":'m"\u6708"d"\u65e5"',"ja-jp":'[$-411]ggge"\u5e74"m"\u6708"d"\u65e5"',"ko-kr":"mm-dd"},59:{"th-th":"t0"},60:{"th-th":"t0.00"},61:{"th-th":"t#,##0"},62:{"th-th":"t#,##0.00"},67:{"th-th":"t0%"},68:{"th-th":"t0.00%"},69:{"th-th":"t# ?/?"},70:{"th-th":"t# ??/??"},81:{"th-th":"d/m/bb"}}},{}],30:[function(e,t,n){"use strict";t.exports={OfficeDocument:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument",Worksheet:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet",CalcChain:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/calcChain",SharedStrings:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/sharedStrings",Styles:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles",Theme:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme",Hyperlink:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink",Image:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/image",CoreProperties:"http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties",ExtenderProperties:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties",Comments:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments",VmlDrawing:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/vmlDrawing",Table:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/table"}},{}],31:[function(e,t,n){"use strict";function r(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return i(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?i(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,s=function(){};return{s:s,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:s}}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,a=!0,c=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return a=e.done,e},e:function(e){c=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(c)throw o}}}}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function s(e,t,n,r,i,s,o){try{var a=e[s](o),c=a.value}catch(e){return void n(e)}a.done?t(c):Promise.resolve(c).then(r,i)}function o(e){return function(){var t=this,n=arguments;return new Promise(function(r,i){var o=e.apply(t,n);function a(e){s(o,r,i,a,c,"next",e)}function c(e){s(o,r,i,a,c,"throw",e)}a(void 0)})}}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function c(e){var t;if("undefined"!=typeof Symbol){if(Symbol.asyncIterator&&null!=(t=e[Symbol.asyncIterator]))return t.call(e);if(Symbol.iterator&&null!=(t=e[Symbol.iterator]))return t.call(e)}throw new TypeError("Object is not async iterable")}var l=e("../../utils/parse-sax"),u=e("../../utils/xml-stream"),h=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,n,i,s,h;return t=e,n=[{key:"prepare",value:function(){}},{key:"render",value:function(){}},{key:"parseOpen",value:function(e){}},{key:"parseText",value:function(e){}},{key:"parseClose",value:function(e){}},{key:"reconcile",value:function(e,t){}},{key:"reset",value:function(){this.model=null,this.map&&Object.values(this.map).forEach(function(t){t instanceof e?t.reset():t.xform&&t.xform.reset()})}},{key:"mergeModel",value:function(e){this.model=Object.assign(this.model||{},e)}},{key:"parse",value:(h=o(regeneratorRuntime.mark(function e(t){var n,i,s,o,a,l,u,h,d,f,p;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:n=!0,i=!1,e.prev=2,o=c(t);case 4:return e.next=6,o.next();case 6:return a=e.sent,n=a.done,e.next=10,a.value;case 10:if(l=e.sent,n){e.next=42;break}u=r(l),e.prev=14,u.s();case 16:if((h=u.n()).done){e.next=31;break}if(d=h.value,f=d.eventType,p=d.value,"opentag"!==f){e.next=22;break}this.parseOpen(p),e.next=29;break;case 22:if("text"!==f){e.next=26;break}this.parseText(p),e.next=29;break;case 26:if("closetag"!==f){e.next=29;break}if(this.parseClose(p.name)){e.next=29;break}return e.abrupt("return",this.model);case 29:e.next=16;break;case 31:e.next=36;break;case 33:e.prev=33,e.t0=e.catch(14),u.e(e.t0);case 36:return e.prev=36,u.f(),e.finish(36);case 39:n=!0,e.next=4;break;case 42:e.next=48;break;case 44:e.prev=44,e.t1=e.catch(2),i=!0,s=e.t1;case 48:if(e.prev=48,e.prev=49,n||null==o.return){e.next=53;break}return e.next=53,o.return();case 53:if(e.prev=53,!i){e.next=56;break}throw s;case 56:return e.finish(53);case 57:return e.finish(48);case 58:return e.abrupt("return",this.model);case 59:case"end":return e.stop()}},e,this,[[2,44,48,58],[14,33,36,39],[49,,53,57]])})),function(e){return h.apply(this,arguments)})},{key:"parseStream",value:(s=o(regeneratorRuntime.mark(function e(t){return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",this.parse(l(t)));case 1:case"end":return e.stop()}},e,this)})),function(e){return s.apply(this,arguments)})},{key:"toXml",value:function(e){var t=new u;return this.render(t,e),t.xml}},{key:"xml",get:function(){return this.toXml(this.model)}}],i=[{key:"toAttribute",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(void 0===e){if(n)return t}else if(n||e!==t)return e.toString()}},{key:"toStringAttribute",value:function(t,n){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return e.toAttribute(t,n,r)}},{key:"toStringValue",value:function(e,t){return void 0===e?t:e}},{key:"toBoolAttribute",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(void 0===e){if(n)return t}else if(n||e!==t)return e?"1":"0"}},{key:"toBoolValue",value:function(e,t){return void 0===e?t:"1"===e}},{key:"toIntAttribute",value:function(t,n){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return e.toAttribute(t,n,r)}},{key:"toIntValue",value:function(e,t){return void 0===e?t:parseInt(e,10)}},{key:"toFloatAttribute",value:function(t,n){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return e.toAttribute(t,n,r)}},{key:"toFloatValue",value:function(e,t){return void 0===e?t:parseFloat(e)}}],n&&a(t.prototype,n),i&&a(t,i),e}();t.exports=h},{"../../utils/parse-sax":21,"../../utils/xml-stream":27}],32:[function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t){return(o=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function a(e){var t=function(){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(e){return!1}}();return function(){var n,r=l(e);if(t){var i=l(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return c(this,n)}}function c(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function l(e){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var u=e("../base-xform"),h=e("../../../utils/col-cache"),d=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&o(e,t)}(l,e);var t,n,r,c=a(l);function l(){return i(this,l),c.apply(this,arguments)}return t=l,(n=[{key:"render",value:function(e,t){e.openNode("definedName",{name:t.name,localSheetId:t.localSheetId}),e.writeText(t.ranges.join(",")),e.closeNode()}},{key:"parseOpen",value:function(e){switch(e.name){case"definedName":return this._parsedName=e.attributes.name,this._parsedLocalSheetId=e.attributes.localSheetId,this._parsedText=[],!0;default:return!1}}},{key:"parseText",value:function(e){this._parsedText.push(e)}},{key:"parseClose",value:function(){return this.model={name:this._parsedName,ranges:p(this._parsedText.join(""))},void 0!==this._parsedLocalSheetId&&(this.model.localSheetId=parseInt(this._parsedLocalSheetId,10)),!1}}])&&s(t.prototype,n),r&&s(t,r),l}(u);function f(e){try{return h.decodeEx(e),!0}catch(e){return!1}}function p(e){var t=[],n=!1,r="";return e.split(",").forEach(function(e){if(e){var i=(e.match(/'/g)||[]).length;if(i){var s=i%2==0;!n&&s&&f(e)?t.push(e):n&&!s?(n=!1,f(r+e)&&t.push(r+e),r=""):(n=!0,r+="".concat(e,","))}else n?r+="".concat(e,","):f(e)&&t.push(e)}}),t}t.exports=d},{"../../../utils/col-cache":19,"../base-xform":31}],33:[function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t){return(o=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function a(e){var t=function(){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(e){return!1}}();return function(){var n,r=l(e);if(t){var i=l(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return c(this,n)}}function c(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function l(e){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var u=e("../../../utils/utils"),h=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&o(e,t)}(l,e);var t,n,r,c=a(l);function l(){return i(this,l),c.apply(this,arguments)}return t=l,(n=[{key:"render",value:function(e,t){e.leafNode("sheet",{sheetId:t.id,name:t.name,state:t.state,"r:id":t.rId})}},{key:"parseOpen",value:function(e){return"sheet"===e.name&&(this.model={name:u.xmlDecode(e.attributes.name),id:parseInt(e.attributes.sheetId,10),state:e.attributes.state,rId:e.attributes["r:id"]},!0)}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(){return!1}}])&&s(t.prototype,n),r&&s(t,r),l}(e("../base-xform"));t.exports=h},{"../../../utils/utils":26,"../base-xform":31}],34:[function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t){return(o=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function a(e){var t=function(){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(e){return!1}}();return function(){var n,r=l(e);if(t){var i=l(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return c(this,n)}}function c(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function l(e){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var u=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&o(e,t)}(l,e);var t,n,r,c=a(l);function l(){return i(this,l),c.apply(this,arguments)}return t=l,(n=[{key:"render",value:function(e,t){e.leafNode("calcPr",{calcId:171027,fullCalcOnLoad:t.fullCalcOnLoad?1:void 0})}},{key:"parseOpen",value:function(e){return"calcPr"===e.name&&(this.model={},!0)}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(){return!1}}])&&s(t.prototype,n),r&&s(t,r),l}(e("../base-xform"));t.exports=u},{"../base-xform":31}],35:[function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t){return(o=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function a(e){var t=function(){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(e){return!1}}();return function(){var n,r=l(e);if(t){var i=l(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return c(this,n)}}function c(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function l(e){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var u=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&o(e,t)}(l,e);var t,n,r,c=a(l);function l(){return i(this,l),c.apply(this,arguments)}return t=l,(n=[{key:"render",value:function(e,t){e.leafNode("workbookPr",{date1904:t.date1904?1:void 0,defaultThemeVersion:164011,filterPrivacy:1})}},{key:"parseOpen",value:function(e){return"workbookPr"===e.name&&(this.model={date1904:"1"===e.attributes.date1904},!0)}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(){return!1}}])&&s(t.prototype,n),r&&s(t,r),l}(e("../base-xform"));t.exports=u},{"../base-xform":31}],36:[function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t){return(o=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function a(e){var t=function(){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(e){return!1}}();return function(){var n,r=l(e);if(t){var i=l(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return c(this,n)}}function c(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function l(e){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var u=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&o(e,t)}(l,e);var t,n,r,c=a(l);function l(){return i(this,l),c.apply(this,arguments)}return t=l,(n=[{key:"render",value:function(e,t){var n={xWindow:t.x||0,yWindow:t.y||0,windowWidth:t.width||12e3,windowHeight:t.height||24e3,firstSheet:t.firstSheet,activeTab:t.activeTab};t.visibility&&"visible"!==t.visibility&&(n.visibility=t.visibility),e.leafNode("workbookView",n)}},{key:"parseOpen",value:function(e){if("workbookView"===e.name){var t=this.model={},n=function(e,n,r){var i=void 0!==n?t[e]=parseInt(n,10):r;void 0!==i&&(t[e]=i)};return n("x",e.attributes.xWindow,0),n("y",e.attributes.yWindow,0),n("width",e.attributes.windowWidth,25e3),n("height",e.attributes.windowHeight,1e4),r="visibility",s="visible",void 0!==(o=void 0!==(i=e.attributes.visibility)?t[r]=i:s)&&(t[r]=o),n("activeTab",e.attributes.activeTab,void 0),n("firstSheet",e.attributes.firstSheet,void 0),!0}var r,i,s,o;return!1}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(){return!1}}])&&s(t.prototype,n),r&&s(t,r),l}(e("../base-xform"));t.exports=u},{"../base-xform":31}],37:[function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function o(e){var t=function(){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(e){return!1}}();return function(){var n,r=c(e);if(t){var i=c(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return a(this,n)}}function a(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function c(e){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var l=e("../../../utils/under-dash"),u=e("../../../utils/col-cache"),h=e("../../../utils/xml-stream"),d=e("../base-xform"),f=e("../static-xform"),p=e("../list-xform"),m=e("./defined-name-xform"),g=e("./sheet-xform"),v=e("./workbook-view-xform"),y=e("./workbook-properties-xform"),b=e("./workbook-calc-properties-xform"),_=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&s(e,t)}(c,e);var t,n,r,a=o(c);function c(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),(e=a.call(this)).map={fileVersion:c.STATIC_XFORMS.fileVersion,workbookPr:new y,bookViews:new p({tag:"bookViews",count:!1,childXform:new v}),sheets:new p({tag:"sheets",count:!1,childXform:new g}),definedNames:new p({tag:"definedNames",count:!1,childXform:new m}),calcPr:new b},e}return t=c,(n=[{key:"prepare",value:function(e){e.sheets=e.worksheets;var t=[],n=0;e.sheets.forEach(function(e){if(e.pageSetup&&e.pageSetup.printArea&&e.pageSetup.printArea.split("&&").forEach(function(r){var i=r.split(":"),s={name:"_xlnm.Print_Area",ranges:["'".concat(e.name,"'!$").concat(i[0],":$").concat(i[1])],localSheetId:n};t.push(s)}),e.pageSetup&&(e.pageSetup.printTitlesRow||e.pageSetup.printTitlesColumn)){var r=[];if(e.pageSetup.printTitlesColumn){var i=e.pageSetup.printTitlesColumn.split(":");r.push("'".concat(e.name,"'!$").concat(i[0],":$").concat(i[1]))}if(e.pageSetup.printTitlesRow){var s=e.pageSetup.printTitlesRow.split(":");r.push("'".concat(e.name,"'!$").concat(s[0],":$").concat(s[1]))}var o={name:"_xlnm.Print_Titles",ranges:r,localSheetId:n};t.push(o)}n++}),t.length&&(e.definedNames=e.definedNames.concat(t)),(e.media||[]).forEach(function(e,t){e.name=e.type+(t+1)})}},{key:"render",value:function(e,t){e.openXml(h.StdDocAttributes),e.openNode("workbook",c.WORKBOOK_ATTRIBUTES),this.map.fileVersion.render(e),this.map.workbookPr.render(e,t.properties),this.map.bookViews.render(e,t.views),this.map.sheets.render(e,t.sheets),this.map.definedNames.render(e,t.definedNames),this.map.calcPr.render(e,t.calcProperties),e.closeNode()}},{key:"parseOpen",value:function(e){if(this.parser)return this.parser.parseOpen(e),!0;switch(e.name){case"workbook":return!0;default:return this.parser=this.map[e.name],this.parser&&this.parser.parseOpen(e),!0}}},{key:"parseText",value:function(e){this.parser&&this.parser.parseText(e)}},{key:"parseClose",value:function(e){if(this.parser)return this.parser.parseClose(e)||(this.parser=void 0),!0;switch(e){case"workbook":return this.model={sheets:this.map.sheets.model,properties:this.map.workbookPr.model||{},views:this.map.bookViews.model,calcProperties:{}},this.map.definedNames.model&&(this.model.definedNames=this.map.definedNames.model),!1;default:return!0}}},{key:"reconcile",value:function(e){var t,n=(e.workbookRels||[]).reduce(function(e,t){return e[t.Id]=t,e},{}),r=[],i=0;(e.sheets||[]).forEach(function(s){var o=n[s.rId];o&&(t=e.worksheetHash["xl/".concat(o.Target.replace(/^(\s|\/xl\/)+/,""))])&&(t.name=s.name,t.id=s.id,t.state=s.state,r[i++]=t)});var s=[];l.each(e.definedNames,function(e){if("_xlnm.Print_Area"===e.name){if(t=r[e.localSheetId]){t.pageSetup||(t.pageSetup={});var n=u.decodeEx(e.ranges[0]);t.pageSetup.printArea=t.pageSetup.printArea?"".concat(t.pageSetup.printArea,"&&").concat(n.dimensions):n.dimensions}}else if("_xlnm.Print_Titles"===e.name){if(t=r[e.localSheetId]){t.pageSetup||(t.pageSetup={});var i=e.ranges.join(","),o=/\$/g,a=i.match(/\$\d+:\$\d+/);if(a&&a.length){var c=a[0];t.pageSetup.printTitlesRow=c.replace(o,"")}var l=i.match(/\$[A-Z]+:\$[A-Z]+/);if(l&&l.length){var h=l[0];t.pageSetup.printTitlesColumn=h.replace(o,"")}}}else s.push(e)}),e.definedNames=s,e.media.forEach(function(e,t){e.index=t})}}])&&i(t.prototype,n),r&&i(t,r),c}(d);_.WORKBOOK_ATTRIBUTES={xmlns:"http://schemas.openxmlformats.org/spreadsheetml/2006/main","xmlns:r":"http://schemas.openxmlformats.org/officeDocument/2006/relationships","xmlns:mc":"http://schemas.openxmlformats.org/markup-compatibility/2006","mc:Ignorable":"x15","xmlns:x15":"http://schemas.microsoft.com/office/spreadsheetml/2010/11/main"},_.STATIC_XFORMS={fileVersion:new f({tag:"fileVersion",$:{appName:"xl",lastEdited:5,lowestEdited:5,rupBuild:9303}})},t.exports=_},{"../../../utils/col-cache":19,"../../../utils/under-dash":25,"../../../utils/xml-stream":27,"../base-xform":31,"../list-xform":70,"../static-xform":119,"./defined-name-xform":32,"./sheet-xform":33,"./workbook-calc-properties-xform":34,"./workbook-properties-xform":35,"./workbook-view-xform":36}],38:[function(e,t,n){"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var s=e("../strings/rich-text-xform"),o=e("../../../utils/utils"),a=e("../base-xform"),c=t.exports=function(e){this.model=e};o.inherits(c,a,{get tag(){return"r"},get richTextXform(){return this._richTextXform||(this._richTextXform=new s),this._richTextXform},render:function(e,t){var n=this;t=t||this.model,e.openNode("comment",{ref:t.ref,authorId:0}),e.openNode("text"),t&&t.note&&t.note.texts&&t.note.texts.forEach(function(t){n.richTextXform.render(e,t)}),e.closeNode(),e.closeNode()},parseOpen:function(e){if(this.parser)return this.parser.parseOpen(e),!0;switch(e.name){case"comment":return this.model=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach(function(t){i(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({type:"note",note:{texts:[]}},e.attributes),!0;case"r":return this.parser=this.richTextXform,this.parser.parseOpen(e),!0;default:return!1}},parseText:function(e){this.parser&&this.parser.parseText(e)},parseClose:function(e){switch(e){case"comment":return!1;case"r":return this.model.note.texts.push(this.parser.model),this.parser=void 0,!0;default:return this.parser&&this.parser.parseClose(e),!0}}})},{"../../../utils/utils":26,"../base-xform":31,"../strings/rich-text-xform":121}],39:[function(e,t,n){"use strict";var r=e("../../../utils/xml-stream"),i=e("../../../utils/utils"),s=e("../base-xform"),o=e("./comment-xform"),a=t.exports=function(){this.map={comment:new o}};i.inherits(a,s,{COMMENTS_ATTRIBUTES:{xmlns:"http://schemas.openxmlformats.org/spreadsheetml/2006/main"}},{render:function(e,t){var n=this;t=t||this.model,e.openXml(r.StdDocAttributes),e.openNode("comments",a.COMMENTS_ATTRIBUTES),e.openNode("authors"),e.leafNode("author",null,"Author"),e.closeNode(),e.openNode("commentList"),t.comments.forEach(function(t){n.map.comment.render(e,t)}),e.closeNode(),e.closeNode()},parseOpen:function(e){if(this.parser)return this.parser.parseOpen(e),!0;switch(e.name){case"commentList":return this.model={comments:[]},!0;case"comment":return this.parser=this.map.comment,this.parser.parseOpen(e),!0;default:return!1}},parseText:function(e){this.parser&&this.parser.parseText(e)},parseClose:function(e){switch(e){case"commentList":return!1;case"comment":return this.model.comments.push(this.parser.model),this.parser=void 0,!0;default:return this.parser&&this.parser.parseClose(e),!0}}})},{"../../../utils/utils":26,"../../../utils/xml-stream":27,"../base-xform":31,"./comment-xform":38}],40:[function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function o(e){var t=function(){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(e){return!1}}();return function(){var n,r=c(e);if(t){var i=c(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return a(this,n)}}function a(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function c(e){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var l=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&s(e,t)}(c,e);var t,n,r,a=o(c);function c(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),(t=a.call(this))._model=e,t}return t=c,(n=[{key:"render",value:function(e,t,n){(t===n[2]||"x:SizeWithCells"===this.tag&&t===n[1])&&e.leafNode(this.tag)}},{key:"parseOpen",value:function(e){switch(e.name){case this.tag:return this.model={},this.model[this.tag]=!0,!0;default:return!1}}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(){return!1}},{key:"tag",get:function(){return this._model&&this._model.tag}}])&&i(t.prototype,n),r&&i(t,r),c}(e("../../base-xform"));t.exports=l},{"../../base-xform":31}],41:[function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function o(e){var t=function(){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(e){return!1}}();return function(){var n,r=c(e);if(t){var i=c(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return a(this,n)}}function a(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function c(e){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var l=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&s(e,t)}(c,e);var t,n,r,a=o(c);function c(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),(t=a.call(this))._model=e,t}return t=c,(n=[{key:"render",value:function(e,t){e.leafNode(this.tag,null,t)}},{key:"parseOpen",value:function(e){switch(e.name){case this.tag:return this.text="",!0;default:return!1}}},{key:"parseText",value:function(e){this.text=e}},{key:"parseClose",value:function(){return!1}},{key:"tag",get:function(){return this._model&&this._model.tag}}])&&i(t.prototype,n),r&&i(t,r),c}(e("../../base-xform"));t.exports=l},{"../../base-xform":31}],42:[function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t){return(o=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function a(e){var t=function(){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(e){return!1}}();return function(){var n,r=l(e);if(t){var i=l(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return c(this,n)}}function c(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function l(e){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var u=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&o(e,t)}(l,e);var t,n,r,c=a(l);function l(){return i(this,l),c.apply(this,arguments)}return t=l,(n=[{key:"getAnchorRect",value:function(e){var t=Math.floor(e.left),n=Math.floor(68*(e.left-t)),r=Math.floor(e.top),i=Math.floor(18*(e.top-r)),s=Math.floor(e.right),o=Math.floor(68*(e.right-s)),a=Math.floor(e.bottom);return[t,n,r,i,s,o,a,Math.floor(18*(e.bottom-a))]}},{key:"getDefaultRect",value:function(e){var t=e.col,n=Math.max(e.row-2,0);return[t,6,n,14,t+2,2,n+4,16]}},{key:"render",value:function(e,t){var n=t.anchor?this.getAnchorRect(t.anchor):this.getDefaultRect(t.refAddress);e.leafNode("x:Anchor",null,n.join(", "))}},{key:"parseOpen",value:function(e){switch(e.name){case this.tag:return this.text="",!0;default:return!1}}},{key:"parseText",value:function(e){this.text=e}},{key:"parseClose",value:function(){return!1}},{key:"tag",get:function(){return"x:Anchor"}}])&&s(t.prototype,n),r&&s(t,r),l}(e("../base-xform"));t.exports=u},{"../base-xform":31}],43:[function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function o(e){var t=function(){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(e){return!1}}();return function(){var n,r=c(e);if(t){var i=c(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return a(this,n)}}function a(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function c(e){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var l=e("../base-xform"),u=e("./vml-anchor-xform"),h=e("./style/vml-protection-xform"),d=e("./style/vml-position-xform"),f=["twoCells","oneCells","absolute"],p=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&s(e,t)}(c,e);var t,n,r,a=o(c);function c(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),(e=a.call(this)).map={"x:Anchor":new u,"x:Locked":new h({tag:"x:Locked"}),"x:LockText":new h({tag:"x:LockText"}),"x:SizeWithCells":new d({tag:"x:SizeWithCells"}),"x:MoveWithCells":new d({tag:"x:MoveWithCells"})},e}return t=c,(n=[{key:"render",value:function(e,t){var n=t.note,r=n.protection,i=n.editAs;e.openNode(this.tag,{ObjectType:"Note"}),this.map["x:MoveWithCells"].render(e,i,f),this.map["x:SizeWithCells"].render(e,i,f),this.map["x:Anchor"].render(e,t),this.map["x:Locked"].render(e,r.locked),e.leafNode("x:AutoFill",null,"False"),this.map["x:LockText"].render(e,r.lockText),e.leafNode("x:Row",null,t.refAddress.row-1),e.leafNode("x:Column",null,t.refAddress.col-1),e.closeNode()}},{key:"parseOpen",value:function(e){switch(e.name){case this.tag:this.reset(),this.model={anchor:[],protection:{},editAs:""};break;default:this.parser=this.map[e.name],this.parser&&this.parser.parseOpen(e)}return!0}},{key:"parseText",value:function(e){this.parser&&this.parser.parseText(e)}},{key:"parseClose",value:function(e){if(this.parser)return this.parser.parseClose(e)||(this.parser=void 0),!0;switch(e){case this.tag:return this.normalizeModel(),!1;default:return!0}}},{key:"normalizeModel",value:function(){var e=Object.assign({},this.map["x:MoveWithCells"].model,this.map["x:SizeWithCells"].model),t=Object.keys(e).length;this.model.editAs=f[t],this.model.anchor=this.map["x:Anchor"].text,this.model.protection.locked=this.map["x:Locked"].text,this.model.protection.lockText=this.map["x:LockText"].text}},{key:"tag",get:function(){return"x:ClientData"}}])&&i(t.prototype,n),r&&i(t,r),c}(l);t.exports=p},{"../base-xform":31,"./style/vml-position-xform":40,"./style/vml-protection-xform":41,"./vml-anchor-xform":42}],44:[function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function o(e){var t=function(){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(e){return!1}}();return function(){var n,r=c(e);if(t){var i=c(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return a(this,n)}}function a(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function c(e){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var l=e("../../../utils/xml-stream"),u=e("../base-xform"),h=e("./vml-shape-xform"),d=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&s(e,t)}(c,e);var t,n,r,a=o(c);function c(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),(e=a.call(this)).map={"v:shape":new h},e}return t=c,(n=[{key:"render",value:function(e,t){var n=this;e.openXml(l.StdDocAttributes),e.openNode(this.tag,c.DRAWING_ATTRIBUTES),e.openNode("o:shapelayout",{"v:ext":"edit"}),e.leafNode("o:idmap",{"v:ext":"edit",data:1}),e.closeNode(),e.openNode("v:shapetype",{id:"_x0000_t202",coordsize:"21600,21600","o:spt":202,path:"m,l,21600r21600,l21600,xe"}),e.leafNode("v:stroke",{joinstyle:"miter"}),e.leafNode("v:path",{gradientshapeok:"t","o:connecttype":"rect"}),e.closeNode(),t.comments.forEach(function(t,r){n.map["v:shape"].render(e,t,r)}),e.closeNode()}},{key:"parseOpen",value:function(e){if(this.parser)return this.parser.parseOpen(e),!0;switch(e.name){case this.tag:this.reset(),this.model={comments:[]};break;default:this.parser=this.map[e.name],this.parser&&this.parser.parseOpen(e)}return!0}},{key:"parseText",value:function(e){this.parser&&this.parser.parseText(e)}},{key:"parseClose",value:function(e){if(this.parser)return this.parser.parseClose(e)||(this.model.comments.push(this.parser.model),this.parser=void 0),!0;switch(e){case this.tag:return!1;default:return!0}}},{key:"reconcile",value:function(e,t){var n=this;e.anchors.forEach(function(e){e.br?n.map["xdr:twoCellAnchor"].reconcile(e,t):n.map["xdr:oneCellAnchor"].reconcile(e,t)})}},{key:"tag",get:function(){return"xml"}}])&&i(t.prototype,n),r&&i(t,r),c}(u);d.DRAWING_ATTRIBUTES={"xmlns:v":"urn:schemas-microsoft-com:vml","xmlns:o":"urn:schemas-microsoft-com:office:office","xmlns:x":"urn:schemas-microsoft-com:office:excel"},t.exports=d},{"../../../utils/xml-stream":27,"../base-xform":31,"./vml-shape-xform":45}],45:[function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function o(e){var t=function(){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(e){return!1}}();return function(){var n,r=c(e);if(t){var i=c(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return a(this,n)}}function a(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function c(e){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var l=e("../base-xform"),u=e("./vml-textbox-xform"),h=e("./vml-client-data-xform"),d=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&s(e,t)}(c,e);var t,n,r,a=o(c);function c(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),(e=a.call(this)).map={"v:textbox":new u,"x:ClientData":new h},e}return t=c,(n=[{key:"render",value:function(e,t,n){e.openNode("v:shape",c.V_SHAPE_ATTRIBUTES(t,n)),e.leafNode("v:fill",{color2:"infoBackground [80]"}),e.leafNode("v:shadow",{color:"none [81]",obscured:"t"}),e.leafNode("v:path",{"o:connecttype":"none"}),this.map["v:textbox"].render(e,t),this.map["x:ClientData"].render(e,t),e.closeNode()}},{key:"parseOpen",value:function(e){if(this.parser)return this.parser.parseOpen(e),!0;switch(e.name){case this.tag:this.reset(),this.model={margins:{insetmode:e.attributes["o:insetmode"]},anchor:"",editAs:"",protection:{}};break;default:this.parser=this.map[e.name],this.parser&&this.parser.parseOpen(e)}return!0}},{key:"parseText",value:function(e){this.parser&&this.parser.parseText(e)}},{key:"parseClose",value:function(e){if(this.parser)return this.parser.parseClose(e)||(this.parser=void 0),!0;switch(e){case this.tag:return this.model.margins.inset=this.map["v:textbox"].model&&this.map["v:textbox"].model.inset,this.model.protection=this.map["x:ClientData"].model&&this.map["x:ClientData"].model.protection,this.model.anchor=this.map["x:ClientData"].model&&this.map["x:ClientData"].model.anchor,this.model.editAs=this.map["x:ClientData"].model&&this.map["x:ClientData"].model.editAs,!1;default:return!0}}},{key:"tag",get:function(){return"v:shape"}}])&&i(t.prototype,n),r&&i(t,r),c}(l);d.V_SHAPE_ATTRIBUTES=function(e,t){return{id:"_x0000_s".concat(1025+t),type:"#_x0000_t202",style:"position:absolute; margin-left:105.3pt;margin-top:10.5pt;width:97.8pt;height:59.1pt;z-index:1;visibility:hidden",fillcolor:"infoBackground [80]",strokecolor:"none [81]","o:insetmode":e.note.margins&&e.note.margins.insetmode}},t.exports=d},{"../base-xform":31,"./vml-client-data-xform":43,"./vml-textbox-xform":46}],46:[function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t){return(o=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function a(e){var t=function(){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(e){return!1}}();return function(){var n,r=l(e);if(t){var i=l(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return c(this,n)}}function c(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function l(e){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var u=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&o(e,t)}(l,e);var t,n,r,c=a(l);function l(){return i(this,l),c.apply(this,arguments)}return t=l,(n=[{key:"conversionUnit",value:function(e,t,n){return"".concat(parseFloat(e)*t.toFixed(2)).concat(n)}},{key:"reverseConversionUnit",value:function(e){var t=this;return(e||"").split(",").map(function(e){return Number(parseFloat(t.conversionUnit(parseFloat(e),.1,"")).toFixed(2))})}},{key:"render",value:function(e,t){var n=this,r={style:"mso-direction-alt:auto"};if(t&&t.note){var i=(t.note&&t.note.margins).inset;Array.isArray(i)&&(i=i.map(function(e){return n.conversionUnit(e,10,"mm")}).join(",")),i&&(r.inset=i)}e.openNode("v:textbox",r),e.leafNode("div",{style:"text-align:left"}),e.closeNode()}},{key:"parseOpen",value:function(e){switch(e.name){case this.tag:return this.model={inset:this.reverseConversionUnit(e.attributes.inset)},!0;default:return!0}}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(e){switch(e){case this.tag:return!1;default:return!0}}},{key:"tag",get:function(){return"v:textbox"}}])&&s(t.prototype,n),r&&s(t,r),l}(e("../base-xform"));t.exports=u},{"../base-xform":31}],47:[function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t){return(o=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function a(e){var t=function(){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(e){return!1}}();return function(){var n,r=l(e);if(t){var i=l(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return c(this,n)}}function c(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function l(e){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var u=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&o(e,t)}(l,e);var t,n,r,c=a(l);function l(){return i(this,l),c.apply(this,arguments)}return t=l,(n=[{key:"createNewModel",value:function(e){return{}}},{key:"parseOpen",value:function(e){return this.parser=this.parser||this.map[e.name],this.parser?(this.parser.parseOpen(e),!0):e.name===this.tag&&(this.model=this.createNewModel(e),!0)}},{key:"parseText",value:function(e){this.parser&&this.parser.parseText(e)}},{key:"onParserClose",value:function(e,t){this.model[e]=t.model}},{key:"parseClose",value:function(e){return this.parser?(this.parser.parseClose(e)||(this.onParserClose(e,this.parser),this.parser=void 0),!0):e!==this.tag}}])&&s(t.prototype,n),r&&s(t,r),l}(e("./base-xform"));t.exports=u},{"./base-xform":31}],48:[function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t){return(o=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function a(e){var t=function(){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(e){return!1}}();return function(){var n,r=l(e);if(t){var i=l(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return c(this,n)}}function c(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function l(e){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var u=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&o(e,t)}(l,e);var t,n,r,c=a(l);function l(){return i(this,l),c.apply(this,arguments)}return t=l,(n=[{key:"render",value:function(e,t){e.openNode("HeadingPairs"),e.openNode("vt:vector",{size:2,baseType:"variant"}),e.openNode("vt:variant"),e.leafNode("vt:lpstr",void 0,"Worksheets"),e.closeNode(),e.openNode("vt:variant"),e.leafNode("vt:i4",void 0,t.length),e.closeNode(),e.closeNode(),e.closeNode()}},{key:"parseOpen",value:function(e){return"HeadingPairs"===e.name}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(e){return"HeadingPairs"!==e}}])&&s(t.prototype,n),r&&s(t,r),l}(e("../base-xform"));t.exports=u},{"../base-xform":31}],49:[function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t){return(o=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function a(e){var t=function(){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(e){return!1}}();return function(){var n,r=l(e);if(t){var i=l(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return c(this,n)}}function c(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function l(e){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var u=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&o(e,t)}(l,e);var t,n,r,c=a(l);function l(){return i(this,l),c.apply(this,arguments)}return t=l,(n=[{key:"render",value:function(e,t){e.openNode("TitlesOfParts"),e.openNode("vt:vector",{size:t.length,baseType:"lpstr"}),t.forEach(function(t){e.leafNode("vt:lpstr",void 0,t.name)}),e.closeNode(),e.closeNode()}},{key:"parseOpen",value:function(e){return"TitlesOfParts"===e.name}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(e){return"TitlesOfParts"!==e}}])&&s(t.prototype,n),r&&s(t,r),l}(e("../base-xform"));t.exports=u},{"../base-xform":31}],50:[function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function o(e){var t=function(){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(e){return!1}}();return function(){var n,r=c(e);if(t){var i=c(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return a(this,n)}}function a(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function c(e){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var l=e("../../../utils/xml-stream"),u=e("../base-xform"),h=e("../simple/string-xform"),d=e("./app-heading-pairs-xform"),f=e("./app-titles-of-parts-xform"),p=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&s(e,t)}(c,e);var t,n,r,a=o(c);function c(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),(e=a.call(this)).map={Company:new h({tag:"Company"}),Manager:new h({tag:"Manager"}),HeadingPairs:new d,TitleOfParts:new f},e}return t=c,(n=[{key:"render",value:function(e,t){e.openXml(l.StdDocAttributes),e.openNode("Properties",c.PROPERTY_ATTRIBUTES),e.leafNode("Application",void 0,"Microsoft Excel"),e.leafNode("DocSecurity",void 0,"0"),e.leafNode("ScaleCrop",void 0,"false"),this.map.HeadingPairs.render(e,t.worksheets),this.map.TitleOfParts.render(e,t.worksheets),this.map.Company.render(e,t.company||""),this.map.Manager.render(e,t.manager),e.leafNode("LinksUpToDate",void 0,"false"),e.leafNode("SharedDoc",void 0,"false"),e.leafNode("HyperlinksChanged",void 0,"false"),e.leafNode("AppVersion",void 0,"16.0300"),e.closeNode()}},{key:"parseOpen",value:function(e){if(this.parser)return this.parser.parseOpen(e),!0;switch(e.name){case"Properties":return!0;default:return this.parser=this.map[e.name],!!this.parser&&(this.parser.parseOpen(e),!0)}}},{key:"parseText",value:function(e){this.parser&&this.parser.parseText(e)}},{key:"parseClose",value:function(e){if(this.parser)return this.parser.parseClose(e)||(this.parser=void 0),!0;switch(e){case"Properties":return this.model={worksheets:this.map.TitleOfParts.model,company:this.map.Company.model,manager:this.map.Manager.model},!1;default:return!0}}}])&&i(t.prototype,n),r&&i(t,r),c}(u);p.DateFormat=function(e){return e.toISOString().replace(/[.]\d{3,6}/,"")},p.DateAttrs={"xsi:type":"dcterms:W3CDTF"},p.PROPERTY_ATTRIBUTES={xmlns:"http://schemas.openxmlformats.org/officeDocument/2006/extended-properties","xmlns:vt":"http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes"},t.exports=p},{"../../../utils/xml-stream":27,"../base-xform":31,"../simple/string-xform":118,"./app-heading-pairs-xform":48,"./app-titles-of-parts-xform":49}],51:[function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t){return(o=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function a(e){var t=function(){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(e){return!1}}();return function(){var n,r=l(e);if(t){var i=l(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return c(this,n)}}function c(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function l(e){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var u=e("../../../utils/xml-stream"),h=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&o(e,t)}(l,e);var t,n,r,c=a(l);function l(){return i(this,l),c.apply(this,arguments)}return t=l,(n=[{key:"render",value:function(e,t){e.openXml(u.StdDocAttributes),e.openNode("Types",l.PROPERTY_ATTRIBUTES);var n={};(t.media||[]).forEach(function(t){if("image"===t.type){var r=t.extension;n[r]||(n[r]=!0,e.leafNode("Default",{Extension:r,ContentType:"image/".concat(r)}))}}),e.leafNode("Default",{Extension:"rels",ContentType:"application/vnd.openxmlformats-package.relationships+xml"}),e.leafNode("Default",{Extension:"xml",ContentType:"application/xml"}),e.leafNode("Override",{PartName:"/xl/workbook.xml",ContentType:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml"}),t.worksheets.forEach(function(t){var n="/xl/worksheets/sheet".concat(t.id,".xml");e.leafNode("Override",{PartName:n,ContentType:"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml"})}),e.leafNode("Override",{PartName:"/xl/theme/theme1.xml",ContentType:"application/vnd.openxmlformats-officedocument.theme+xml"}),e.leafNode("Override",{PartName:"/xl/styles.xml",ContentType:"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml"}),t.sharedStrings&&t.sharedStrings.count&&e.leafNode("Override",{PartName:"/xl/sharedStrings.xml",ContentType:"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml"}),t.tables&&t.tables.forEach(function(t){e.leafNode("Override",{PartName:"/xl/tables/".concat(t.target),ContentType:"application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml"})}),t.drawings&&t.drawings.forEach(function(t){e.leafNode("Override",{PartName:"/xl/drawings/".concat(t.name,".xml"),ContentType:"application/vnd.openxmlformats-officedocument.drawing+xml"})}),t.commentRefs&&(e.leafNode("Default",{Extension:"vml",ContentType:"application/vnd.openxmlformats-officedocument.vmlDrawing"}),t.commentRefs.forEach(function(t){var n=t.commentName;e.leafNode("Override",{PartName:"/xl/".concat(n,".xml"),ContentType:"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml"})})),e.leafNode("Override",{PartName:"/docProps/core.xml",ContentType:"application/vnd.openxmlformats-package.core-properties+xml"}),e.leafNode("Override",{PartName:"/docProps/app.xml",ContentType:"application/vnd.openxmlformats-officedocument.extended-properties+xml"}),e.closeNode()}},{key:"parseOpen",value:function(){return!1}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(){return!1}}])&&s(t.prototype,n),r&&s(t,r),l}(e("../base-xform"));h.PROPERTY_ATTRIBUTES={xmlns:"http://schemas.openxmlformats.org/package/2006/content-types"},t.exports=h},{"../../../utils/xml-stream":27,"../base-xform":31}],52:[function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function o(e){var t=function(){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(e){return!1}}();return function(){var n,r=c(e);if(t){var i=c(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return a(this,n)}}function a(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function c(e){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var l=e("../../../utils/xml-stream"),u=e("../base-xform"),h=e("../simple/date-xform"),d=e("../simple/string-xform"),f=e("../simple/integer-xform"),p=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&s(e,t)}(c,e);var t,n,r,a=o(c);function c(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),(e=a.call(this)).map={"dc:creator":new d({tag:"dc:creator"}),"dc:title":new d({tag:"dc:title"}),"dc:subject":new d({tag:"dc:subject"}),"dc:description":new d({tag:"dc:description"}),"dc:identifier":new d({tag:"dc:identifier"}),"dc:language":new d({tag:"dc:language"}),"cp:keywords":new d({tag:"cp:keywords"}),"cp:category":new d({tag:"cp:category"}),"cp:lastModifiedBy":new d({tag:"cp:lastModifiedBy"}),"cp:lastPrinted":new h({tag:"cp:lastPrinted",format:c.DateFormat}),"cp:revision":new f({tag:"cp:revision"}),"cp:version":new d({tag:"cp:version"}),"cp:contentStatus":new d({tag:"cp:contentStatus"}),"cp:contentType":new d({tag:"cp:contentType"}),"dcterms:created":new h({tag:"dcterms:created",attrs:c.DateAttrs,format:c.DateFormat}),"dcterms:modified":new h({tag:"dcterms:modified",attrs:c.DateAttrs,format:c.DateFormat})},e}return t=c,(n=[{key:"render",value:function(e,t){e.openXml(l.StdDocAttributes),e.openNode("cp:coreProperties",c.CORE_PROPERTY_ATTRIBUTES),this.map["dc:creator"].render(e,t.creator),this.map["dc:title"].render(e,t.title),this.map["dc:subject"].render(e,t.subject),this.map["dc:description"].render(e,t.description),this.map["dc:identifier"].render(e,t.identifier),this.map["dc:language"].render(e,t.language),this.map["cp:keywords"].render(e,t.keywords),this.map["cp:category"].render(e,t.category),this.map["cp:lastModifiedBy"].render(e,t.lastModifiedBy),this.map["cp:lastPrinted"].render(e,t.lastPrinted),this.map["cp:revision"].render(e,t.revision),this.map["cp:version"].render(e,t.version),this.map["cp:contentStatus"].render(e,t.contentStatus),this.map["cp:contentType"].render(e,t.contentType),this.map["dcterms:created"].render(e,t.created),this.map["dcterms:modified"].render(e,t.modified),e.closeNode()}},{key:"parseOpen",value:function(e){if(this.parser)return this.parser.parseOpen(e),!0;switch(e.name){case"cp:coreProperties":case"coreProperties":return!0;default:if(this.parser=this.map[e.name],this.parser)return this.parser.parseOpen(e),!0;throw new Error("Unexpected xml node in parseOpen: ".concat(JSON.stringify(e)))}}},{key:"parseText",value:function(e){this.parser&&this.parser.parseText(e)}},{key:"parseClose",value:function(e){if(this.parser)return this.parser.parseClose(e)||(this.parser=void 0),!0;switch(e){case"cp:coreProperties":case"coreProperties":return this.model={creator:this.map["dc:creator"].model,title:this.map["dc:title"].model,subject:this.map["dc:subject"].model,description:this.map["dc:description"].model,identifier:this.map["dc:identifier"].model,language:this.map["dc:language"].model,keywords:this.map["cp:keywords"].model,category:this.map["cp:category"].model,lastModifiedBy:this.map["cp:lastModifiedBy"].model,lastPrinted:this.map["cp:lastPrinted"].model,revision:this.map["cp:revision"].model,contentStatus:this.map["cp:contentStatus"].model,contentType:this.map["cp:contentType"].model,created:this.map["dcterms:created"].model,modified:this.map["dcterms:modified"].model},!1;default:throw new Error("Unexpected xml node in parseClose: ".concat(e))}}}])&&i(t.prototype,n),r&&i(t,r),c}(u);p.DateFormat=function(e){return e.toISOString().replace(/[.]\d{3}/,"")},p.DateAttrs={"xsi:type":"dcterms:W3CDTF"},p.CORE_PROPERTY_ATTRIBUTES={"xmlns:cp":"http://schemas.openxmlformats.org/package/2006/metadata/core-properties","xmlns:dc":"http://purl.org/dc/elements/1.1/","xmlns:dcterms":"http://purl.org/dc/terms/","xmlns:dcmitype":"http://purl.org/dc/dcmitype/","xmlns:xsi":"http://www.w3.org/2001/XMLSchema-instance"},t.exports=p},{"../../../utils/xml-stream":27,"../base-xform":31,"../simple/date-xform":116,"../simple/integer-xform":117,"../simple/string-xform":118}],53:[function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t){return(o=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function a(e){var t=function(){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(e){return!1}}();return function(){var n,r=l(e);if(t){var i=l(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return c(this,n)}}function c(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function l(e){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var u=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&o(e,t)}(l,e);var t,n,r,c=a(l);function l(){return i(this,l),c.apply(this,arguments)}return t=l,(n=[{key:"render",value:function(e,t){e.leafNode("Relationship",t)}},{key:"parseOpen",value:function(e){switch(e.name){case"Relationship":return this.model=e.attributes,!0;default:return!1}}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(){return!1}}])&&s(t.prototype,n),r&&s(t,r),l}(e("../base-xform"));t.exports=u},{"../base-xform":31}],54:[function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function o(e){var t=function(){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(e){return!1}}();return function(){var n,r=c(e);if(t){var i=c(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return a(this,n)}}function a(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function c(e){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var l=e("../../../utils/xml-stream"),u=e("../base-xform"),h=e("./relationship-xform"),d=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&s(e,t)}(c,e);var t,n,r,a=o(c);function c(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),(e=a.call(this)).map={Relationship:new h},e}return t=c,(n=[{key:"render",value:function(e,t){var n=this;t=t||this._values,e.openXml(l.StdDocAttributes),e.openNode("Relationships",c.RELATIONSHIPS_ATTRIBUTES),t.forEach(function(t){n.map.Relationship.render(e,t)}),e.closeNode()}},{key:"parseOpen",value:function(e){if(this.parser)return this.parser.parseOpen(e),!0;switch(e.name){case"Relationships":return this.model=[],!0;default:if(this.parser=this.map[e.name],this.parser)return this.parser.parseOpen(e),!0;throw new Error("Unexpected xml node in parseOpen: ".concat(JSON.stringify(e)))}}},{key:"parseText",value:function(e){this.parser&&this.parser.parseText(e)}},{key:"parseClose",value:function(e){if(this.parser)return this.parser.parseClose(e)||(this.model.push(this.parser.model),this.parser=void 0),!0;switch(e){case"Relationships":return!1;default:throw new Error("Unexpected xml node in parseClose: ".concat(e))}}}])&&i(t.prototype,n),r&&i(t,r),c}(u);d.RELATIONSHIPS_ATTRIBUTES={xmlns:"http://schemas.openxmlformats.org/package/2006/relationships"},t.exports=d},{"../../../utils/xml-stream":27,"../base-xform":31,"./relationship-xform":53}],55:[function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t){return(o=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function a(e){var t=function(){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(e){return!1}}();return function(){var n,r=l(e);if(t){var i=l(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return c(this,n)}}function c(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function l(e){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var u=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&o(e,t)}(l,e);var t,n,r,c=a(l);function l(){return i(this,l),c.apply(this,arguments)}return t=l,(n=[{key:"parseOpen",value:function(e){if(this.parser)return this.parser.parseOpen(e),!0;switch(e.name){case this.tag:this.reset(),this.model={range:{editAs:e.attributes.editAs||"oneCell"}};break;default:this.parser=this.map[e.name],this.parser&&this.parser.parseOpen(e)}return!0}},{key:"parseText",value:function(e){this.parser&&this.parser.parseText(e)}},{key:"reconcilePicture",value:function(e,t){if(e&&e.rId){var n=t.rels[e.rId].Target.match(/.*\/media\/(.+[.][a-zA-Z]{3,4})/);if(n){var r=n[1],i=t.mediaIndex[r];return t.media[i]}}}}])&&s(t.prototype,n),r&&s(t,r),l}(e("../base-xform"));t.exports=u},{"../base-xform":31}],56:[function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function o(e){var t=function(){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(e){return!1}}();return function(){var n,r=c(e);if(t){var i=c(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return a(this,n)}}function a(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function c(e){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var l=e("../base-xform"),u=e("./blip-xform"),h=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&s(e,t)}(c,e);var t,n,r,a=o(c);function c(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),(e=a.call(this)).map={"a:blip":new u},e}return t=c,(n=[{key:"render",value:function(e,t){e.openNode(this.tag),this.map["a:blip"].render(e,t),e.openNode("a:stretch"),e.leafNode("a:fillRect"),e.closeNode(),e.closeNode()}},{key:"parseOpen",value:function(e){if(this.parser)return this.parser.parseOpen(e),!0;switch(e.name){case this.tag:this.reset();break;default:this.parser=this.map[e.name],this.parser&&this.parser.parseOpen(e)}return!0}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(e){if(this.parser)return this.parser.parseClose(e)||(this.parser=void 0),!0;switch(e){case this.tag:return this.model=this.map["a:blip"].model,!1;default:return!0}}},{key:"tag",get:function(){return"xdr:blipFill"}}])&&i(t.prototype,n),r&&i(t,r),c}(l);t.exports=h},{"../base-xform":31,"./blip-xform":57}],57:[function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t){return(o=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function a(e){var t=function(){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(e){return!1}}();return function(){var n,r=l(e);if(t){var i=l(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return c(this,n)}}function c(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function l(e){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var u=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&o(e,t)}(l,e);var t,n,r,c=a(l);function l(){return i(this,l),c.apply(this,arguments)}return t=l,(n=[{key:"render",value:function(e,t){e.leafNode(this.tag,{"xmlns:r":"http://schemas.openxmlformats.org/officeDocument/2006/relationships","r:embed":t.rId,cstate:"print"})}},{key:"parseOpen",value:function(e){switch(e.name){case this.tag:return this.model={rId:e.attributes["r:embed"]},!0;default:return!0}}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(e){switch(e){case this.tag:return!1;default:return!0}}},{key:"tag",get:function(){return"a:blip"}}])&&s(t.prototype,n),r&&s(t,r),l}(e("../base-xform"));t.exports=u},{"../base-xform":31}],58:[function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t){return(o=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function a(e){var t=function(){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(e){return!1}}();return function(){var n,r=l(e);if(t){var i=l(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return c(this,n)}}function c(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function l(e){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var u=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&o(e,t)}(l,e);var t,n,r,c=a(l);function l(){return i(this,l),c.apply(this,arguments)}return t=l,(n=[{key:"render",value:function(e){e.openNode(this.tag),e.leafNode("a:picLocks",{noChangeAspect:"1"}),e.closeNode()}},{key:"parseOpen",value:function(e){switch(e.name){case this.tag:default:return!0}}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(e){switch(e){case this.tag:return!1;default:return!0}}},{key:"tag",get:function(){return"xdr:cNvPicPr"}}])&&s(t.prototype,n),r&&s(t,r),l}(e("../base-xform"));t.exports=u},{"../base-xform":31}],59:[function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function o(e){var t=function(){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(e){return!1}}();return function(){var n,r=c(e);if(t){var i=c(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return a(this,n)}}function a(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function c(e){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var l=e("../base-xform"),u=e("./hlink-click-xform"),h=e("./ext-lst-xform"),d=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&s(e,t)}(c,e);var t,n,r,a=o(c);function c(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),(e=a.call(this)).map={"a:hlinkClick":new u,"a:extLst":new h},e}return t=c,(n=[{key:"render",value:function(e,t){e.openNode(this.tag,{id:t.index,name:"Picture ".concat(t.index)}),this.map["a:hlinkClick"].render(e,t),this.map["a:extLst"].render(e,t),e.closeNode()}},{key:"parseOpen",value:function(e){if(this.parser)return this.parser.parseOpen(e),!0;switch(e.name){case this.tag:this.reset();break;default:this.parser=this.map[e.name],this.parser&&this.parser.parseOpen(e)}return!0}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(e){if(this.parser)return this.parser.parseClose(e)||(this.parser=void 0),!0;switch(e){case this.tag:return this.model=this.map["a:hlinkClick"].model,!1;default:return!0}}},{key:"tag",get:function(){return"xdr:cNvPr"}}])&&i(t.prototype,n),r&&i(t,r),c}(l);t.exports=d},{"../base-xform":31,"./ext-lst-xform":62,"./hlink-click-xform":64}],60:[function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function o(e){var t=function(){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(e){return!1}}();return function(){var n,r=c(e);if(t){var i=c(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return a(this,n)}}function a(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function c(e){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var l=e("../base-xform"),u=e("../simple/integer-xform"),h=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&s(e,t)}(c,e);var t,n,r,a=o(c);function c(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),(t=a.call(this)).tag=e.tag,t.map={"xdr:col":new u({tag:"xdr:col",zero:!0}),"xdr:colOff":new u({tag:"xdr:colOff",zero:!0}),"xdr:row":new u({tag:"xdr:row",zero:!0}),"xdr:rowOff":new u({tag:"xdr:rowOff",zero:!0})},t}return t=c,(n=[{key:"render",value:function(e,t){e.openNode(this.tag),this.map["xdr:col"].render(e,t.nativeCol),this.map["xdr:colOff"].render(e,t.nativeColOff),this.map["xdr:row"].render(e,t.nativeRow),this.map["xdr:rowOff"].render(e,t.nativeRowOff),e.closeNode()}},{key:"parseOpen",value:function(e){if(this.parser)return this.parser.parseOpen(e),!0;switch(e.name){case this.tag:this.reset();break;default:this.parser=this.map[e.name],this.parser&&this.parser.parseOpen(e)}return!0}},{key:"parseText",value:function(e){this.parser&&this.parser.parseText(e)}},{key:"parseClose",value:function(e){if(this.parser)return this.parser.parseClose(e)||(this.parser=void 0),!0;switch(e){case this.tag:return this.model={nativeCol:this.map["xdr:col"].model,nativeColOff:this.map["xdr:colOff"].model,nativeRow:this.map["xdr:row"].model,nativeRowOff:this.map["xdr:rowOff"].model},!1;default:return!0}}}])&&i(t.prototype,n),r&&i(t,r),c}(l);t.exports=h},{"../base-xform":31,"../simple/integer-xform":117}],61:[function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function o(e){var t=function(){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(e){return!1}}();return function(){var n,r=c(e);if(t){var i=c(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return a(this,n)}}function a(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function c(e){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var l=e("../../../utils/col-cache"),u=e("../../../utils/xml-stream"),h=e("../base-xform"),d=e("./two-cell-anchor-xform"),f=e("./one-cell-anchor-xform"),p=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&s(e,t)}(c,e);var t,n,r,a=o(c);function c(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),(e=a.call(this)).map={"xdr:twoCellAnchor":new d,"xdr:oneCellAnchor":new f},e}return t=c,(n=[{key:"prepare",value:function(e){var t=this;e.anchors.forEach(function(e,n){e.anchorType=function(e){return("string"==typeof e.range?l.decode(e.range):e.range).br?"xdr:twoCellAnchor":"xdr:oneCellAnchor"}(e),t.map[e.anchorType].prepare(e,{index:n})})}},{key:"render",value:function(e,t){var n=this;e.openXml(u.StdDocAttributes),e.openNode(this.tag,c.DRAWING_ATTRIBUTES),t.anchors.forEach(function(t){n.map[t.anchorType].render(e,t)}),e.closeNode()}},{key:"parseOpen",value:function(e){if(this.parser)return this.parser.parseOpen(e),!0;switch(e.name){case this.tag:this.reset(),this.model={anchors:[]};break;default:this.parser=this.map[e.name],this.parser&&this.parser.parseOpen(e)}return!0}},{key:"parseText",value:function(e){this.parser&&this.parser.parseText(e)}},{key:"parseClose",value:function(e){if(this.parser)return this.parser.parseClose(e)||(this.model.anchors.push(this.parser.model),this.parser=void 0),!0;switch(e){case this.tag:return!1;default:return!0}}},{key:"reconcile",value:function(e,t){var n=this;e.anchors.forEach(function(e){e.br?n.map["xdr:twoCellAnchor"].reconcile(e,t):n.map["xdr:oneCellAnchor"].reconcile(e,t)})}},{key:"tag",get:function(){return"xdr:wsDr"}}])&&i(t.prototype,n),r&&i(t,r),c}(h);p.DRAWING_ATTRIBUTES={"xmlns:xdr":"http://schemas.openxmlformats.org/drawingml/2006/spreadsheetDrawing","xmlns:a":"http://schemas.openxmlformats.org/drawingml/2006/main"},t.exports=p},{"../../../utils/col-cache":19,"../../../utils/xml-stream":27,"../base-xform":31,"./one-cell-anchor-xform":66,"./two-cell-anchor-xform":69}],62:[function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t){return(o=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function a(e){var t=function(){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(e){return!1}}();return function(){var n,r=l(e);if(t){var i=l(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return c(this,n)}}function c(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function l(e){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var u=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&o(e,t)}(l,e);var t,n,r,c=a(l);function l(){return i(this,l),c.apply(this,arguments)}return t=l,(n=[{key:"render",value:function(e){e.openNode(this.tag),e.openNode("a:ext",{uri:"{FF2B5EF4-FFF2-40B4-BE49-F238E27FC236}"}),e.leafNode("a16:creationId",{"xmlns:a16":"http://schemas.microsoft.com/office/drawing/2014/main",id:"{00000000-0008-0000-0000-000002000000}"}),e.closeNode(),e.closeNode()}},{key:"parseOpen",value:function(e){switch(e.name){case this.tag:default:return!0}}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(e){switch(e){case this.tag:return!1;default:return!0}}},{key:"tag",get:function(){return"a:extLst"}}])&&s(t.prototype,n),r&&s(t,r),l}(e("../base-xform"));t.exports=u},{"../base-xform":31}],63:[function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function o(e){var t=function(){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(e){return!1}}();return function(){var n,r=c(e);if(t){var i=c(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return a(this,n)}}function a(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function c(e){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var l=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&s(e,t)}(c,e);var t,n,r,a=o(c);function c(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),(t=a.call(this)).tag=e.tag,t.map={},t}return t=c,(n=[{key:"render",value:function(e,t){e.openNode(this.tag);var n=Math.floor(9525*t.width),r=Math.floor(9525*t.height);e.addAttribute("cx",n),e.addAttribute("cy",r),e.closeNode()}},{key:"parseOpen",value:function(e){return e.name===this.tag&&(this.model={width:parseInt(e.attributes.cx||"0",10)/9525,height:parseInt(e.attributes.cy||"0",10)/9525},!0)}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(){return!1}}])&&i(t.prototype,n),r&&i(t,r),c}(e("../base-xform"));t.exports=l},{"../base-xform":31}],64:[function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t){return(o=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function a(e){var t=function(){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(e){return!1}}();return function(){var n,r=l(e);if(t){var i=l(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return c(this,n)}}function c(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function l(e){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var u=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&o(e,t)}(l,e);var t,n,r,c=a(l);function l(){return i(this,l),c.apply(this,arguments)}return t=l,(n=[{key:"render",value:function(e,t){t.hyperlinks&&t.hyperlinks.rId&&e.leafNode(this.tag,{"xmlns:r":"http://schemas.openxmlformats.org/officeDocument/2006/relationships","r:id":t.hyperlinks.rId,tooltip:t.hyperlinks.tooltip})}},{key:"parseOpen",value:function(e){switch(e.name){case this.tag:return this.model={hyperlinks:{rId:e.attributes["r:id"],tooltip:e.attributes.tooltip}},!0;default:return!0}}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(){return!1}},{key:"tag",get:function(){return"a:hlinkClick"}}])&&s(t.prototype,n),r&&s(t,r),l}(e("../base-xform"));t.exports=u},{"../base-xform":31}],65:[function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function o(e){var t=function(){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(e){return!1}}();return function(){var n,r=c(e);if(t){var i=c(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return a(this,n)}}function a(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function c(e){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var l=e("../base-xform"),u=e("./c-nv-pr-xform"),h=e("./c-nv-pic-pr-xform"),d=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&s(e,t)}(c,e);var t,n,r,a=o(c);function c(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),(e=a.call(this)).map={"xdr:cNvPr":new u,"xdr:cNvPicPr":new h},e}return t=c,(n=[{key:"render",value:function(e,t){e.openNode(this.tag),this.map["xdr:cNvPr"].render(e,t),this.map["xdr:cNvPicPr"].render(e,t),e.closeNode()}},{key:"parseOpen",value:function(e){if(this.parser)return this.parser.parseOpen(e),!0;switch(e.name){case this.tag:this.reset();break;default:this.parser=this.map[e.name],this.parser&&this.parser.parseOpen(e)}return!0}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(e){if(this.parser)return this.parser.parseClose(e)||(this.parser=void 0),!0;switch(e){case this.tag:return this.model=this.map["xdr:cNvPr"].model,!1;default:return!0}}},{key:"tag",get:function(){return"xdr:nvPicPr"}}])&&i(t.prototype,n),r&&i(t,r),c}(l);t.exports=d},{"../base-xform":31,"./c-nv-pic-pr-xform":58,"./c-nv-pr-xform":59}],66:[function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function o(e){var t=function(){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(e){return!1}}();return function(){var n,r=c(e);if(t){var i=c(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return a(this,n)}}function a(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function c(e){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var l=e("./base-cell-anchor-xform"),u=e("../static-xform"),h=e("./cell-position-xform"),d=e("./ext-xform"),f=e("./pic-xform"),p=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&s(e,t)}(c,e);var t,n,r,a=o(c);function c(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),(e=a.call(this)).map={"xdr:from":new h({tag:"xdr:from"}),"xdr:ext":new d({tag:"xdr:ext"}),"xdr:pic":new f,"xdr:clientData":new u({tag:"xdr:clientData"})},e}return t=c,(n=[{key:"prepare",value:function(e,t){this.map["xdr:pic"].prepare(e.picture,t)}},{key:"render",value:function(e,t){e.openNode(this.tag,{editAs:t.range.editAs||"oneCell"}),this.map["xdr:from"].render(e,t.range.tl),this.map["xdr:ext"].render(e,t.range.ext),this.map["xdr:pic"].render(e,t.picture),this.map["xdr:clientData"].render(e,{}),e.closeNode()}},{key:"parseClose",value:function(e){if(this.parser)return this.parser.parseClose(e)||(this.parser=void 0),!0;switch(e){case this.tag:return this.model.range.tl=this.map["xdr:from"].model,this.model.range.ext=this.map["xdr:ext"].model,this.model.picture=this.map["xdr:pic"].model,!1;default:return!0}}},{key:"reconcile",value:function(e,t){e.medium=this.reconcilePicture(e.picture,t)}},{key:"tag",get:function(){return"xdr:oneCellAnchor"}}])&&i(t.prototype,n),r&&i(t,r),c}(l);t.exports=p},{"../static-xform":119,"./base-cell-anchor-xform":55,"./cell-position-xform":60,"./ext-xform":63,"./pic-xform":67}],67:[function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function o(e){var t=function(){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(e){return!1}}();return function(){var n,r=c(e);if(t){var i=c(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return a(this,n)}}function a(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function c(e){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var l=e("../base-xform"),u=e("../static-xform"),h=e("./blip-fill-xform"),d=e("./nv-pic-pr-xform"),f=e("./sp-pr"),p=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&s(e,t)}(c,e);var t,n,r,a=o(c);function c(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),(e=a.call(this)).map={"xdr:nvPicPr":new d,"xdr:blipFill":new h,"xdr:spPr":new u(f)},e}return t=c,(n=[{key:"prepare",value:function(e,t){e.index=t.index+1}},{key:"render",value:function(e,t){e.openNode(this.tag),this.map["xdr:nvPicPr"].render(e,t),this.map["xdr:blipFill"].render(e,t),this.map["xdr:spPr"].render(e,t),e.closeNode()}},{key:"parseOpen",value:function(e){if(this.parser)return this.parser.parseOpen(e),!0;switch(e.name){case this.tag:this.reset();break;default:this.parser=this.map[e.name],this.parser&&this.parser.parseOpen(e)}return!0}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(e){if(this.parser)return this.parser.parseClose(e)||(this.mergeModel(this.parser.model),this.parser=void 0),!0;switch(e){case this.tag:return!1;default:return!0}}},{key:"tag",get:function(){return"xdr:pic"}}])&&i(t.prototype,n),r&&i(t,r),c}(l);t.exports=p},{"../base-xform":31,"../static-xform":119,"./blip-fill-xform":56,"./nv-pic-pr-xform":65,"./sp-pr":68}],68:[function(e,t,n){"use strict";t.exports={tag:"xdr:spPr",c:[{tag:"a:xfrm",c:[{tag:"a:off",$:{x:"0",y:"0"}},{tag:"a:ext",$:{cx:"0",cy:"0"}}]},{tag:"a:prstGeom",$:{prst:"rect"},c:[{tag:"a:avLst"}]}]}},{}],69:[function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function o(e){var t=function(){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(e){return!1}}();return function(){var n,r=c(e);if(t){var i=c(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return a(this,n)}}function a(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function c(e){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var l=e("./base-cell-anchor-xform"),u=e("../static-xform"),h=e("./cell-position-xform"),d=e("./pic-xform"),f=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&s(e,t)}(c,e);var t,n,r,a=o(c);function c(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),(e=a.call(this)).map={"xdr:from":new h({tag:"xdr:from"}),"xdr:to":new h({tag:"xdr:to"}),"xdr:pic":new d,"xdr:clientData":new u({tag:"xdr:clientData"})},e}return t=c,(n=[{key:"prepare",value:function(e,t){this.map["xdr:pic"].prepare(e.picture,t)}},{key:"render",value:function(e,t){e.openNode(this.tag,{editAs:t.range.editAs||"oneCell"}),this.map["xdr:from"].render(e,t.range.tl),this.map["xdr:to"].render(e,t.range.br),this.map["xdr:pic"].render(e,t.picture),this.map["xdr:clientData"].render(e,{}),e.closeNode()}},{key:"parseClose",value:function(e){if(this.parser)return this.parser.parseClose(e)||(this.parser=void 0),!0;switch(e){case this.tag:return this.model.range.tl=this.map["xdr:from"].model,this.model.range.br=this.map["xdr:to"].model,this.model.picture=this.map["xdr:pic"].model,!1;default:return!0}}},{key:"reconcile",value:function(e,t){e.medium=this.reconcilePicture(e.picture,t)}},{key:"tag",get:function(){return"xdr:twoCellAnchor"}}])&&i(t.prototype,n),r&&i(t,r),c}(l);t.exports=f},{"../static-xform":119,"./base-cell-anchor-xform":55,"./cell-position-xform":60,"./pic-xform":67}],70:[function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function o(e){var t=function(){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(e){return!1}}();return function(){var n,r=c(e);if(t){var i=c(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return a(this,n)}}function a(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function c(e){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var l=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&s(e,t)}(c,e);var t,n,r,a=o(c);function c(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),(t=a.call(this)).tag=e.tag,t.always=!!e.always,t.count=e.count,t.empty=e.empty,t.$count=e.$count||"count",t.$=e.$,t.childXform=e.childXform,t.maxItems=e.maxItems,t}return t=c,(n=[{key:"prepare",value:function(e,t){var n=this.childXform;e&&e.forEach(function(e,r){t.index=r,n.prepare(e,t)})}},{key:"render",value:function(e,t){if(this.always||t&&t.length){e.openNode(this.tag,this.$),this.count&&e.addAttribute(this.$count,t&&t.length||0);var n=this.childXform;(t||[]).forEach(function(t,r){n.render(e,t,r)}),e.closeNode()}else this.empty&&e.leafNode(this.tag)}},{key:"parseOpen",value:function(e){if(this.parser)return this.parser.parseOpen(e),!0;switch(e.name){case this.tag:return this.model=[],!0;default:return!!this.childXform.parseOpen(e)&&(this.parser=this.childXform,!0)}}},{key:"parseText",value:function(e){this.parser&&this.parser.parseText(e)}},{key:"parseClose",value:function(e){if(this.parser){if(!this.parser.parseClose(e)&&(this.model.push(this.parser.model),this.parser=void 0,this.maxItems&&this.model.length>this.maxItems))throw new Error("Max ".concat(this.childXform.tag," count (").concat(this.maxItems,") exceeded"));return!0}return!1}},{key:"reconcile",value:function(e,t){if(e){var n=this.childXform;e.forEach(function(e){n.reconcile(e,t)})}}}])&&i(t.prototype,n),r&&i(t,r),c}(e("./base-xform"));t.exports=l},{"./base-xform":31}],71:[function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t){return(o=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function a(e){var t=function(){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(e){return!1}}();return function(){var n,r=l(e);if(t){var i=l(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return c(this,n)}}function c(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function l(e){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var u=e("../../../utils/col-cache"),h=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&o(e,t)}(l,e);var t,n,r,c=a(l);function l(){return i(this,l),c.apply(this,arguments)}return t=l,(n=[{key:"render",value:function(e,t){if(t)if("string"==typeof t)e.leafNode("autoFilter",{ref:t});else{var n=function(e){return"string"==typeof e?e:u.getAddress(e.row,e.column).address},r=n(t.from),i=n(t.to);r&&i&&e.leafNode("autoFilter",{ref:"".concat(r,":").concat(i)})}}},{key:"parseOpen",value:function(e){"autoFilter"===e.name&&(this.model=e.attributes.ref)}},{key:"tag",get:function(){return"autoFilter"}}])&&s(t.prototype,n),r&&s(t,r),l}(e("../base-xform"));t.exports=h},{"../../../utils/col-cache":19,"../base-xform":31}],72:[function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach(function(t){o(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function c(e,t){return(c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function l(e){var t=function(){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(e){return!1}}();return function(){var n,r=h(e);if(t){var i=h(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return u(this,n)}}function u(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function h(e){return(h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var d=e("../../../utils/utils"),f=e("../base-xform"),p=e("../../../doc/range"),m=e("../../../doc/enums"),g=e("../strings/rich-text-xform");function v(e){if(null==e)return m.ValueType.Null;if(e instanceof String||"string"==typeof e)return m.ValueType.String;if("number"==typeof e)return m.ValueType.Number;if("boolean"==typeof e)return m.ValueType.Boolean;if(e instanceof Date)return m.ValueType.Date;if(e.text&&e.hyperlink)return m.ValueType.Hyperlink;if(e.formula)return m.ValueType.Formula;if(e.error)return m.ValueType.Error;throw new Error("I could not understand type of value")}var y=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&c(e,t)}(o,e);var t,n,r,i=l(o);function o(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,o),(e=i.call(this)).richTextXForm=new g,e}return t=o,(n=[{key:"prepare",value:function(e,t){var n=t.styles.addStyleModel(e.style||{},function(e){switch(e.type){case m.ValueType.Formula:return v(e.result);default:return e.type}}(e));switch(n&&(e.styleId=n),e.comment&&t.comments.push(s(s({},e.comment),{},{ref:e.address})),e.type){case m.ValueType.String:case m.ValueType.RichText:t.sharedStrings&&(e.ssId=t.sharedStrings.add(e.value));break;case m.ValueType.Date:t.date1904&&(e.date1904=!0);break;case m.ValueType.Hyperlink:t.sharedStrings&&void 0!==e.text&&null!==e.text&&(e.ssId=t.sharedStrings.add(e.text)),t.hyperlinks.push({address:e.address,target:e.hyperlink,tooltip:e.tooltip});break;case m.ValueType.Merge:t.merges.add(e);break;case m.ValueType.Formula:if(t.date1904&&(e.date1904=!0),"shared"===e.shareType&&(e.si=t.siFormulae++),e.formula)t.formulae[e.address]=e;else if(e.sharedFormula){var r=t.formulae[e.sharedFormula];if(!r)throw new Error("Shared Formula master must exist above and or left of clone for cell ".concat(e.address));void 0===r.si?(r.shareType="shared",r.si=t.siFormulae++,r.range=new p(r.address,e.address)):r.range&&r.range.expandToAddress(e.address),e.si=r.si}}}},{key:"renderFormula",value:function(e,t){var n=null;switch(t.shareType){case"shared":n={t:"shared",ref:t.ref||t.range.range,si:t.si};break;case"array":n={t:"array",ref:t.ref};break;default:void 0!==t.si&&(n={t:"shared",si:t.si})}switch(v(t.result)){case m.ValueType.Null:e.leafNode("f",n,t.formula);break;case m.ValueType.String:e.addAttribute("t","str"),e.leafNode("f",n,t.formula),e.leafNode("v",null,t.result);break;case m.ValueType.Number:e.leafNode("f",n,t.formula),e.leafNode("v",null,t.result);break;case m.ValueType.Boolean:e.addAttribute("t","b"),e.leafNode("f",n,t.formula),e.leafNode("v",null,t.result?1:0);break;case m.ValueType.Error:e.addAttribute("t","e"),e.leafNode("f",n,t.formula),e.leafNode("v",null,t.result.error);break;case m.ValueType.Date:e.leafNode("f",n,t.formula),e.leafNode("v",null,d.dateToExcel(t.result,t.date1904));break;default:throw new Error("I could not understand type of value")}}},{key:"render",value:function(e,t){var n=this;if(t.type!==m.ValueType.Null||t.styleId){switch(e.openNode("c"),e.addAttribute("r",t.address),t.styleId&&e.addAttribute("s",t.styleId),t.type){case m.ValueType.Null:break;case m.ValueType.Number:e.leafNode("v",null,t.value);break;case m.ValueType.Boolean:e.addAttribute("t","b"),e.leafNode("v",null,t.value?"1":"0");break;case m.ValueType.Error:e.addAttribute("t","e"),e.leafNode("v",null,t.value.error);break;case m.ValueType.String:case m.ValueType.RichText:void 0!==t.ssId?(e.addAttribute("t","s"),e.leafNode("v",null,t.ssId)):t.value&&t.value.richText?(e.addAttribute("t","inlineStr"),e.openNode("is"),t.value.richText.forEach(function(t){n.richTextXForm.render(e,t)}),e.closeNode("is")):(e.addAttribute("t","str"),e.leafNode("v",null,t.value));break;case m.ValueType.Date:e.leafNode("v",null,d.dateToExcel(t.value,t.date1904));break;case m.ValueType.Hyperlink:void 0!==t.ssId?(e.addAttribute("t","s"),e.leafNode("v",null,t.ssId)):(e.addAttribute("t","str"),e.leafNode("v",null,t.text));break;case m.ValueType.Formula:this.renderFormula(e,t);break;case m.ValueType.Merge:}e.closeNode()}}},{key:"parseOpen",value:function(e){if(this.parser)return this.parser.parseOpen(e),!0;switch(e.name){case"c":return this.model={address:e.attributes.r},this.t=e.attributes.t,e.attributes.s&&(this.model.styleId=parseInt(e.attributes.s,10)),!0;case"f":return this.currentNode="f",this.model.si=e.attributes.si,this.model.shareType=e.attributes.t,this.model.ref=e.attributes.ref,!0;case"v":return this.currentNode="v",!0;case"t":return this.currentNode="t",!0;case"r":return this.parser=this.richTextXForm,this.parser.parseOpen(e),!0;default:return!1}}},{key:"parseText",value:function(e){if(this.parser)this.parser.parseText(e);else switch(this.currentNode){case"f":this.model.formula=this.model.formula?this.model.formula+e:e;break;case"v":case"t":this.model.value&&this.model.value.richText?this.model.value.richText.text=this.model.value.richText.text?this.model.value.richText.text+e:e:this.model.value=this.model.value?this.model.value+e:e}}},{key:"parseClose",value:function(e){switch(e){case"c":var t=this.model;if(t.formula||t.shareType)t.type=m.ValueType.Formula,t.value&&("str"===this.t?t.result=d.xmlDecode(t.value):"b"===this.t?t.result=0!==parseInt(t.value,10):"e"===this.t?t.result={error:t.value}:t.result=parseFloat(t.value),t.value=void 0);else if(void 0!==t.value)switch(this.t){case"s":t.type=m.ValueType.String,t.value=parseInt(t.value,10);break;case"str":t.type=m.ValueType.String,t.value=d.xmlDecode(t.value);break;case"inlineStr":t.type=m.ValueType.String;break;case"b":t.type=m.ValueType.Boolean,t.value=0!==parseInt(t.value,10);break;case"e":t.type=m.ValueType.Error,t.value={error:t.value};break;default:t.type=m.ValueType.Number,t.value=parseFloat(t.value)}else t.styleId?t.type=m.ValueType.Null:t.type=m.ValueType.Merge;return!1;case"f":case"v":case"is":return this.currentNode=void 0,!0;case"t":return this.parser?(this.parser.parseClose(e),!0):(this.currentNode=void 0,!0);case"r":return this.model.value=this.model.value||{},this.model.value.richText=this.model.value.richText||[],this.model.value.richText.push(this.parser.model),this.parser=void 0,this.currentNode=void 0,!0;default:return!!this.parser&&(this.parser.parseClose(e),!0)}}},{key:"reconcile",value:function(e,t){var n=e.styleId&&t.styles&&t.styles.getStyleModel(e.styleId);switch(n&&(e.style=n),void 0!==e.styleId&&(e.styleId=void 0),e.type){case m.ValueType.String:"number"==typeof e.value&&t.sharedStrings&&(e.value=t.sharedStrings.getString(e.value)),e.value.richText&&(e.type=m.ValueType.RichText);break;case m.ValueType.Number:n&&d.isDateFmt(n.numFmt)&&(e.type=m.ValueType.Date,e.value=d.excelToDate(e.value,t.date1904));break;case m.ValueType.Formula:void 0!==e.result&&n&&d.isDateFmt(n.numFmt)&&(e.result=d.excelToDate(e.result,t.date1904)),"shared"===e.shareType&&(e.ref?t.formulae[e.si]=e.address:(e.sharedFormula=t.formulae[e.si],delete e.shareType),delete e.si)}var r=t.hyperlinkMap[e.address];r&&(e.type===m.ValueType.Formula?(e.text=e.result,e.result=void 0):(e.text=e.value,e.value=void 0),e.type=m.ValueType.Hyperlink,e.hyperlink=r);var i=t.commentsMap&&t.commentsMap[e.address];i&&(e.comment=i)}},{key:"tag",get:function(){return"c"}}])&&a(t.prototype,n),r&&a(t,r),o}(f);t.exports=y},{"../../../doc/enums":7,"../../../doc/range":10,"../../../utils/utils":26,"../base-xform":31,"../strings/rich-text-xform":121}],73:[function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t){return(o=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function a(e){var t=function(){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(e){return!1}}();return function(){var n,r=l(e);if(t){var i=l(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return c(this,n)}}function c(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function l(e){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var u=e("../../base-xform"),h=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&o(e,t)}(l,e);var t,n,r,c=a(l);function l(){return i(this,l),c.apply(this,arguments)}return t=l,(n=[{key:"render",value:function(e,t){e.leafNode(this.tag,{iconSet:t.iconSet,iconId:t.iconId})}},{key:"parseOpen",value:function(e){var t=e.attributes;this.model={iconSet:t.iconSet,iconId:u.toIntValue(t.iconId)}}},{key:"parseClose",value:function(e){return e!==this.tag}},{key:"tag",get:function(){return"x14:cfIcon"}}])&&s(t.prototype,n),r&&s(t,r),l}(u);t.exports=h},{"../../base-xform":31}],74:[function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function o(e){var t=function(){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(e){return!1}}();return function(){var n,r=c(e);if(t){var i=c(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return a(this,n)}}function a(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function c(e){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var l=e("uuid").v4,u=e("../../base-xform"),h=e("../../composite-xform"),d=e("./databar-ext-xform"),f=e("./icon-set-ext-xform"),p={"3Triangles":!0,"3Stars":!0,"5Boxes":!0},m=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&s(e,t)}(c,e);var t,n,r,a=o(c);function c(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),(e=a.call(this)).map={"x14:dataBar":e.databarXform=new d,"x14:iconSet":e.iconSetXform=new f},e}return t=c,r=[{key:"isExt",value:function(e){return"dataBar"===e.type?d.isExt(e):!("iconSet"!==e.type||!e.custom&&!p[e.iconSet])}}],(n=[{key:"prepare",value:function(e){c.isExt(e)&&(e.x14Id="{".concat(l(),"}").toUpperCase())}},{key:"render",value:function(e,t){if(c.isExt(t))switch(t.type){case"dataBar":this.renderDataBar(e,t);break;case"iconSet":this.renderIconSet(e,t)}}},{key:"renderDataBar",value:function(e,t){e.openNode(this.tag,{type:"dataBar",id:t.x14Id}),this.databarXform.render(e,t),e.closeNode()}},{key:"renderIconSet",value:function(e,t){e.openNode(this.tag,{type:"iconSet",priority:t.priority,id:t.x14Id||"{".concat(l(),"}")}),this.iconSetXform.render(e,t),e.closeNode()}},{key:"createNewModel",value:function(e){var t=e.attributes;return{type:t.type,x14Id:t.id,priority:u.toIntValue(t.priority)}}},{key:"onParserClose",value:function(e,t){Object.assign(this.model,t.model)}},{key:"tag",get:function(){return"x14:cfRule"}}])&&i(t.prototype,n),r&&i(t,r),c}(h);t.exports=m},{"../../base-xform":31,"../../composite-xform":47,"./databar-ext-xform":78,"./icon-set-ext-xform":80,uuid:526}],75:[function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function o(e){var t=function(){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(e){return!1}}();return function(){var n,r=c(e);if(t){var i=c(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return a(this,n)}}function a(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function c(e){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var l=e("../../composite-xform"),u=e("./f-ext-xform"),h=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&s(e,t)}(c,e);var t,n,r,a=o(c);function c(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),(e=a.call(this)).map={"xm:f":e.fExtXform=new u},e}return t=c,(n=[{key:"render",value:function(e,t){e.openNode(this.tag,{type:t.type}),void 0!==t.value&&this.fExtXform.render(e,t.value),e.closeNode()}},{key:"createNewModel",value:function(e){return{type:e.attributes.type}}},{key:"onParserClose",value:function(e,t){switch(e){case"xm:f":this.model.value=t.model?parseFloat(t.model):0}}},{key:"tag",get:function(){return"x14:cfvo"}}])&&i(t.prototype,n),r&&i(t,r),c}(l);t.exports=h},{"../../composite-xform":47,"./f-ext-xform":79}],76:[function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function o(e){var t=function(){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(e){return!1}}();return function(){var n,r=c(e);if(t){var i=c(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return a(this,n)}}function a(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function c(e){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var l=e("../../composite-xform"),u=e("./sqref-ext-xform"),h=e("./cf-rule-ext-xform"),d=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&s(e,t)}(c,e);var t,n,r,a=o(c);function c(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),(e=a.call(this)).map={"xm:sqref":e.sqRef=new u,"x14:cfRule":e.cfRule=new h},e}return t=c,(n=[{key:"prepare",value:function(e,t){var n=this;e.rules.forEach(function(e){n.cfRule.prepare(e,t)})}},{key:"render",value:function(e,t){var n=this;t.rules.some(h.isExt)&&(e.openNode(this.tag,{"xmlns:xm":"http://schemas.microsoft.com/office/excel/2006/main"}),t.rules.filter(h.isExt).forEach(function(t){return n.cfRule.render(e,t)}),this.sqRef.render(e,t.ref),e.closeNode())}},{key:"createNewModel",value:function(){return{rules:[]}}},{key:"onParserClose",value:function(e,t){switch(e){case"xm:sqref":this.model.ref=t.model;break;case"x14:cfRule":this.model.rules.push(t.model)}}},{key:"tag",get:function(){return"x14:conditionalFormatting"}}])&&i(t.prototype,n),r&&i(t,r),c}(l);t.exports=d},{"../../composite-xform":47,"./cf-rule-ext-xform":74,"./sqref-ext-xform":81}],77:[function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function o(e){var t=function(){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(e){return!1}}();return function(){var n,r=c(e);if(t){var i=c(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return a(this,n)}}function a(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function c(e){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var l=e("../../composite-xform"),u=e("./cf-rule-ext-xform"),h=e("./conditional-formatting-ext-xform"),d=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&s(e,t)}(c,e);var t,n,r,a=o(c);function c(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),(e=a.call(this)).map={"x14:conditionalFormatting":e.cfXform=new h},e}return t=c,(n=[{key:"hasContent",value:function(e){return void 0===e.hasExtContent&&(e.hasExtContent=e.some(function(e){return e.rules.some(u.isExt)})),e.hasExtContent}},{key:"prepare",value:function(e,t){var n=this;e.forEach(function(e){n.cfXform.prepare(e,t)})}},{key:"render",value:function(e,t){var n=this;this.hasContent(t)&&(e.openNode(this.tag),t.forEach(function(t){return n.cfXform.render(e,t)}),e.closeNode())}},{key:"createNewModel",value:function(){return[]}},{key:"onParserClose",value:function(e,t){this.model.push(t.model)}},{key:"tag",get:function(){return"x14:conditionalFormattings"}}])&&i(t.prototype,n),r&&i(t,r),c}(l);t.exports=d},{"../../composite-xform":47,"./cf-rule-ext-xform":74,"./conditional-formatting-ext-xform":76}],78:[function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,i=!1,s=void 0;try{for(var o,a=e[Symbol.iterator]();!(r=(o=a.next()).done)&&(n.push(o.value),!t||n.length!==t);r=!0);}catch(e){i=!0,s=e}finally{try{r||null==a.return||a.return()}finally{if(i)throw s}}return n}}(e,t)||function(e,t){if(e){if("string"==typeof e)return s(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?s(e,t):void 0}}(e,t)||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 s(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function a(e,t){return(a=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function c(e){var t=function(){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(e){return!1}}();return function(){var n,r=u(e);if(t){var i=u(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return l(this,n)}}function l(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function u(e){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var h=e("../../base-xform"),d=e("../../composite-xform"),f=e("../../style/color-xform"),p=e("./cfvo-ext-xform"),m=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&a(e,t)}(l,e);var t,n,r,s=c(l);function l(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),(e=s.call(this)).map={"x14:cfvo":e.cfvoXform=new p,"x14:borderColor":e.borderColorXform=new f("x14:borderColor"),"x14:negativeBorderColor":e.negativeBorderColorXform=new f("x14:negativeBorderColor"),"x14:negativeFillColor":e.negativeFillColorXform=new f("x14:negativeFillColor"),"x14:axisColor":e.axisColorXform=new f("x14:axisColor")},e}return t=l,r=[{key:"isExt",value:function(e){return!e.gradient}}],(n=[{key:"render",value:function(e,t){var n=this;e.openNode(this.tag,{minLength:h.toIntAttribute(t.minLength,0,!0),maxLength:h.toIntAttribute(t.maxLength,100,!0),border:h.toBoolAttribute(t.border,!1),gradient:h.toBoolAttribute(t.gradient,!0),negativeBarColorSameAsPositive:h.toBoolAttribute(t.negativeBarColorSameAsPositive,!0),negativeBarBorderColorSameAsPositive:h.toBoolAttribute(t.negativeBarBorderColorSameAsPositive,!0),axisPosition:h.toAttribute(t.axisPosition,"auto"),direction:h.toAttribute(t.direction,"leftToRight")}),t.cfvo.forEach(function(t){n.cfvoXform.render(e,t)}),this.borderColorXform.render(e,t.borderColor),this.negativeBorderColorXform.render(e,t.negativeBorderColor),this.negativeFillColorXform.render(e,t.negativeFillColor),this.axisColorXform.render(e,t.axisColor),e.closeNode()}},{key:"createNewModel",value:function(e){var t=e.attributes;return{cfvo:[],minLength:h.toIntValue(t.minLength,0),maxLength:h.toIntValue(t.maxLength,100),border:h.toBoolValue(t.border,!1),gradient:h.toBoolValue(t.gradient,!0),negativeBarColorSameAsPositive:h.toBoolValue(t.negativeBarColorSameAsPositive,!0),negativeBarBorderColorSameAsPositive:h.toBoolValue(t.negativeBarBorderColorSameAsPositive,!0),axisPosition:h.toStringValue(t.axisPosition,"auto"),direction:h.toStringValue(t.direction,"leftToRight")}}},{key:"onParserClose",value:function(e,t){var n=i(e.split(":"),2)[1];switch(n){case"cfvo":this.model.cfvo.push(t.model);break;default:this.model[n]=t.model}}},{key:"tag",get:function(){return"x14:dataBar"}}])&&o(t.prototype,n),r&&o(t,r),l}(d);t.exports=m},{"../../base-xform":31,"../../composite-xform":47,"../../style/color-xform":127,"./cfvo-ext-xform":75}],79:[function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t){return(o=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function a(e){var t=function(){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(e){return!1}}();return function(){var n,r=l(e);if(t){var i=l(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return c(this,n)}}function c(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function l(e){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var u=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&o(e,t)}(l,e);var t,n,r,c=a(l);function l(){return i(this,l),c.apply(this,arguments)}return t=l,(n=[{key:"render",value:function(e,t){e.leafNode(this.tag,null,t)}},{key:"parseOpen",value:function(){this.model=""}},{key:"parseText",value:function(e){this.model+=e}},{key:"parseClose",value:function(e){return e!==this.tag}},{key:"tag",get:function(){return"xm:f"}}])&&s(t.prototype,n),r&&s(t,r),l}(e("../../base-xform"));t.exports=u},{"../../base-xform":31}],80:[function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,i=!1,s=void 0;try{for(var o,a=e[Symbol.iterator]();!(r=(o=a.next()).done)&&(n.push(o.value),!t||n.length!==t);r=!0);}catch(e){i=!0,s=e}finally{try{r||null==a.return||a.return()}finally{if(i)throw s}}return n}}(e,t)||function(e,t){if(e){if("string"==typeof e)return s(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?s(e,t):void 0}}(e,t)||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 s(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function a(e,t){return(a=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function c(e){var t=function(){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(e){return!1}}();return function(){var n,r=u(e);if(t){var i=u(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return l(this,n)}}function l(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function u(e){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var h=e("../../base-xform"),d=e("../../composite-xform"),f=e("./cfvo-ext-xform"),p=e("./cf-icon-ext-xform"),m=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&a(e,t)}(l,e);var t,n,r,s=c(l);function l(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),(e=s.call(this)).map={"x14:cfvo":e.cfvoXform=new f,"x14:cfIcon":e.cfIconXform=new p},e}return t=l,(n=[{key:"render",value:function(e,t){var n=this;e.openNode(this.tag,{iconSet:h.toStringAttribute(t.iconSet),reverse:h.toBoolAttribute(t.reverse,!1),showValue:h.toBoolAttribute(t.showValue,!0),custom:h.toBoolAttribute(t.icons,!1)}),t.cfvo.forEach(function(t){n.cfvoXform.render(e,t)}),t.icons&&t.icons.forEach(function(t,r){t.iconId=r,n.cfIconXform.render(e,t)}),e.closeNode()}},{key:"createNewModel",value:function(e){var t=e.attributes;return{cfvo:[],iconSet:h.toStringValue(t.iconSet,"3TrafficLights"),reverse:h.toBoolValue(t.reverse,!1),showValue:h.toBoolValue(t.showValue,!0)}}},{key:"onParserClose",value:function(e,t){var n=i(e.split(":"),2)[1];switch(n){case"cfvo":this.model.cfvo.push(t.model);break;case"cfIcon":this.model.icons||(this.model.icons=[]),this.model.icons.push(t.model);break;default:this.model[n]=t.model}}},{key:"tag",get:function(){return"x14:iconSet"}}])&&o(t.prototype,n),r&&o(t,r),l}(d);t.exports=m},{"../../base-xform":31,"../../composite-xform":47,"./cf-icon-ext-xform":73,"./cfvo-ext-xform":75}],81:[function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t){return(o=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function a(e){var t=function(){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(e){return!1}}();return function(){var n,r=l(e);if(t){var i=l(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return c(this,n)}}function c(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function l(e){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var u=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&o(e,t)}(l,e);var t,n,r,c=a(l);function l(){return i(this,l),c.apply(this,arguments)}return t=l,(n=[{key:"render",value:function(e,t){e.leafNode(this.tag,null,t)}},{key:"parseOpen",value:function(){this.model=""}},{key:"parseText",value:function(e){this.model+=e}},{key:"parseClose",value:function(e){return e!==this.tag}},{key:"tag",get:function(){return"xm:sqref"}}])&&s(t.prototype,n),r&&s(t,r),l}(e("../../base-xform"));t.exports=u},{"../../base-xform":31}],82:[function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach(function(t){o(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function c(e,t){return(c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function l(e){var t=function(){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(e){return!1}}();return function(){var n,r=h(e);if(t){var i=h(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return u(this,n)}}function u(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function h(e){return(h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var d=e("../../base-xform"),f=e("../../composite-xform"),p=e("../../../../doc/range"),m=e("./databar-xform"),g=e("./ext-lst-ref-xform"),v=e("./formula-xform"),y=e("./color-scale-xform"),b=e("./icon-set-xform"),_={"3Triangles":!0,"3Stars":!0,"5Boxes":!0},w=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&c(e,t)}(o,e);var t,n,r,i=l(o);function o(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,o),(e=i.call(this)).map={dataBar:e.databarXform=new m,extLst:e.extLstRefXform=new g,formula:e.formulaXform=new v,colorScale:e.colorScaleXform=new y,iconSet:e.iconSetXform=new b},e}return t=o,r=[{key:"isPrimitive",value:function(e){return"iconSet"!==e.type||!e.custom&&!_[e.iconSet]}}],(n=[{key:"render",value:function(e,t){switch(t.type){case"expression":this.renderExpression(e,t);break;case"cellIs":this.renderCellIs(e,t);break;case"top10":this.renderTop10(e,t);break;case"aboveAverage":this.renderAboveAverage(e,t);break;case"dataBar":this.renderDataBar(e,t);break;case"colorScale":this.renderColorScale(e,t);break;case"iconSet":this.renderIconSet(e,t);break;case"containsText":this.renderText(e,t);break;case"timePeriod":this.renderTimePeriod(e,t)}}},{key:"renderExpression",value:function(e,t){e.openNode(this.tag,{type:"expression",dxfId:t.dxfId,priority:t.priority}),this.formulaXform.render(e,t.formulae[0]),e.closeNode()}},{key:"renderCellIs",value:function(e,t){var n=this;e.openNode(this.tag,{type:"cellIs",dxfId:t.dxfId,priority:t.priority,operator:t.operator}),t.formulae.forEach(function(t){n.formulaXform.render(e,t)}),e.closeNode()}},{key:"renderTop10",value:function(e,t){e.leafNode(this.tag,{type:"top10",dxfId:t.dxfId,priority:t.priority,percent:d.toBoolAttribute(t.percent,!1),bottom:d.toBoolAttribute(t.bottom,!1),rank:d.toIntValue(t.rank,10,!0)})}},{key:"renderAboveAverage",value:function(e,t){e.leafNode(this.tag,{type:"aboveAverage",dxfId:t.dxfId,priority:t.priority,aboveAverage:d.toBoolAttribute(t.aboveAverage,!0)})}},{key:"renderDataBar",value:function(e,t){e.openNode(this.tag,{type:"dataBar",priority:t.priority}),this.databarXform.render(e,t),this.extLstRefXform.render(e,t),e.closeNode()}},{key:"renderColorScale",value:function(e,t){e.openNode(this.tag,{type:"colorScale",priority:t.priority}),this.colorScaleXform.render(e,t),e.closeNode()}},{key:"renderIconSet",value:function(e,t){o.isPrimitive(t)&&(e.openNode(this.tag,{type:"iconSet",priority:t.priority}),this.iconSetXform.render(e,t),e.closeNode())}},{key:"renderText",value:function(e,t){e.openNode(this.tag,{type:t.operator,dxfId:t.dxfId,priority:t.priority,operator:d.toStringAttribute(t.operator,"containsText")});var n=function(e){if(e.formulae&&e.formulae[0])return e.formulae[0];var t=new p(e.ref).tl;switch(e.operator){case"containsText":return'NOT(ISERROR(SEARCH("'.concat(e.text,'",').concat(t,")))");case"containsBlanks":return"LEN(TRIM(".concat(t,"))=0");case"notContainsBlanks":return"LEN(TRIM(".concat(t,"))>0");case"containsErrors":return"ISERROR(".concat(t,")");case"notContainsErrors":return"NOT(ISERROR(".concat(t,"))");default:return}}(t);n&&this.formulaXform.render(e,n),e.closeNode()}},{key:"renderTimePeriod",value:function(e,t){e.openNode(this.tag,{type:"timePeriod",dxfId:t.dxfId,priority:t.priority,timePeriod:t.timePeriod});var n=function(e){if(e.formulae&&e.formulae[0])return e.formulae[0];var t=new p(e.ref).tl;switch(e.timePeriod){case"thisWeek":return"AND(TODAY()-ROUNDDOWN(".concat(t,",0)<=WEEKDAY(TODAY())-1,ROUNDDOWN(").concat(t,",0)-TODAY()<=7-WEEKDAY(TODAY()))");case"lastWeek":return"AND(TODAY()-ROUNDDOWN(".concat(t,",0)>=(WEEKDAY(TODAY())),TODAY()-ROUNDDOWN(").concat(t,",0)<(WEEKDAY(TODAY())+7))");case"nextWeek":return"AND(ROUNDDOWN(".concat(t,",0)-TODAY()>(7-WEEKDAY(TODAY())),ROUNDDOWN(").concat(t,",0)-TODAY()<(15-WEEKDAY(TODAY())))");case"yesterday":return"FLOOR(".concat(t,",1)=TODAY()-1");case"today":return"FLOOR(".concat(t,",1)=TODAY()");case"tomorrow":return"FLOOR(".concat(t,",1)=TODAY()+1");case"last7Days":return"AND(TODAY()-FLOOR(".concat(t,",1)<=6,FLOOR(").concat(t,",1)<=TODAY())");case"lastMonth":return"AND(MONTH(".concat(t,")=MONTH(EDATE(TODAY(),0-1)),YEAR(").concat(t,")=YEAR(EDATE(TODAY(),0-1)))");case"thisMonth":return"AND(MONTH(".concat(t,")=MONTH(TODAY()),YEAR(").concat(t,")=YEAR(TODAY()))");case"nextMonth":return"AND(MONTH(".concat(t,")=MONTH(EDATE(TODAY(),0+1)),YEAR(").concat(t,")=YEAR(EDATE(TODAY(),0+1)))");default:return}}(t);n&&this.formulaXform.render(e,n),e.closeNode()}},{key:"createNewModel",value:function(e){var t=e.attributes;return s(s({},function(e){var t=e.type,n=e.operator;switch(t){case"containsText":case"containsBlanks":case"notContainsBlanks":case"containsErrors":case"notContainsErrors":return{type:"containsText",operator:t};default:return{type:t,operator:n}}}(t)),{},{dxfId:d.toIntValue(t.dxfId),priority:d.toIntValue(t.priority),timePeriod:t.timePeriod,percent:d.toBoolValue(t.percent),bottom:d.toBoolValue(t.bottom),rank:d.toIntValue(t.rank),aboveAverage:d.toBoolValue(t.aboveAverage)})}},{key:"onParserClose",value:function(e,t){switch(e){case"dataBar":case"extLst":case"colorScale":case"iconSet":Object.assign(this.model,t.model);break;case"formula":this.model.formulae=this.model.formulae||[],this.model.formulae.push(t.model)}}},{key:"tag",get:function(){return"cfRule"}}])&&a(t.prototype,n),r&&a(t,r),o}(f);t.exports=w},{"../../../../doc/range":10,"../../base-xform":31,"../../composite-xform":47,"./color-scale-xform":84,"./databar-xform":87,"./ext-lst-ref-xform":88,"./formula-xform":89,"./icon-set-xform":90}],83:[function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t){return(o=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function a(e){var t=function(){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(e){return!1}}();return function(){var n,r=l(e);if(t){var i=l(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return c(this,n)}}function c(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function l(e){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var u=e("../../base-xform"),h=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&o(e,t)}(l,e);var t,n,r,c=a(l);function l(){return i(this,l),c.apply(this,arguments)}return t=l,(n=[{key:"render",value:function(e,t){e.leafNode(this.tag,{type:t.type,val:t.value})}},{key:"parseOpen",value:function(e){this.model={type:e.attributes.type,value:u.toFloatValue(e.attributes.val)}}},{key:"parseClose",value:function(e){return e!==this.tag}},{key:"tag",get:function(){return"cfvo"}}])&&s(t.prototype,n),r&&s(t,r),l}(u);t.exports=h},{"../../base-xform":31}],84:[function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function o(e){var t=function(){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(e){return!1}}();return function(){var n,r=c(e);if(t){var i=c(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return a(this,n)}}function a(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function c(e){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var l=e("../../composite-xform"),u=e("../../style/color-xform"),h=e("./cfvo-xform"),d=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&s(e,t)}(c,e);var t,n,r,a=o(c);function c(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),(e=a.call(this)).map={cfvo:e.cfvoXform=new h,color:e.colorXform=new u},e}return t=c,(n=[{key:"render",value:function(e,t){var n=this;e.openNode(this.tag),t.cfvo.forEach(function(t){n.cfvoXform.render(e,t)}),t.color.forEach(function(t){n.colorXform.render(e,t)}),e.closeNode()}},{key:"createNewModel",value:function(e){return{cfvo:[],color:[]}}},{key:"onParserClose",value:function(e,t){this.model[e].push(t.model)}},{key:"tag",get:function(){return"colorScale"}}])&&i(t.prototype,n),r&&i(t,r),c}(l);t.exports=d},{"../../composite-xform":47,"../../style/color-xform":127,"./cfvo-xform":83}],85:[function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function o(e){var t=function(){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(e){return!1}}();return function(){var n,r=c(e);if(t){var i=c(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return a(this,n)}}function a(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function c(e){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var l=e("../../composite-xform"),u=e("./cf-rule-xform"),h=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&s(e,t)}(c,e);var t,n,r,a=o(c);function c(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),(e=a.call(this)).map={cfRule:new u},e}return t=c,(n=[{key:"render",value:function(e,t){var n=this;t.rules.some(u.isPrimitive)&&(e.openNode(this.tag,{sqref:t.ref}),t.rules.forEach(function(r){u.isPrimitive(r)&&(r.ref=t.ref,n.map.cfRule.render(e,r))}),e.closeNode())}},{key:"createNewModel",value:function(e){return{ref:e.attributes.sqref,rules:[]}}},{key:"onParserClose",value:function(e,t){this.model.rules.push(t.model)}},{key:"tag",get:function(){return"conditionalFormatting"}}])&&i(t.prototype,n),r&&i(t,r),c}(l);t.exports=h},{"../../composite-xform":47,"./cf-rule-xform":82}],86:[function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e){return function(e){if(Array.isArray(e))return s(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return s(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?s(e,t):void 0}}(e)||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(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function a(e,t){return(a=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function c(e){var t=function(){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(e){return!1}}();return function(){var n,r=u(e);if(t){var i=u(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return l(this,n)}}function l(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function u(e){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var h=e("../../base-xform"),d=e("./conditional-formatting-xform"),f=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&a(e,t)}(l,e);var t,n,r,s=c(l);function l(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),(e=s.call(this)).cfXform=new d,e}return t=l,(n=[{key:"reset",value:function(){this.model=[]}},{key:"prepare",value:function(e,t){var n=e.reduce(function(e,t){return Math.max.apply(Math,[e].concat(i(t.rules.map(function(e){return e.priority||0}))))},1);e.forEach(function(e){e.rules.forEach(function(e){e.priority||(e.priority=n++),e.style&&(e.dxfId=t.styles.addDxfStyle(e.style))})})}},{key:"render",value:function(e,t){var n=this;t.forEach(function(t){n.cfXform.render(e,t)})}},{key:"parseOpen",value:function(e){if(this.parser)return this.parser.parseOpen(e),!0;switch(e.name){case"conditionalFormatting":return this.parser=this.cfXform,this.parser.parseOpen(e),!0;default:return!1}}},{key:"parseText",value:function(e){this.parser&&this.parser.parseText(e)}},{key:"parseClose",value:function(e){return!(!this.parser||!this.parser.parseClose(e)&&(this.model.push(this.parser.model),this.parser=void 0,1))}},{key:"reconcile",value:function(e,t){e.forEach(function(e){e.rules.forEach(function(e){void 0!==e.dxfId&&(e.style=t.styles.getDxfStyle(e.dxfId),delete e.dxfId)})})}},{key:"tag",get:function(){return"conditionalFormatting"}}])&&o(t.prototype,n),r&&o(t,r),l}(h);t.exports=f},{"../../base-xform":31,"./conditional-formatting-xform":85}],87:[function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function o(e){var t=function(){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(e){return!1}}();return function(){var n,r=c(e);if(t){var i=c(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return a(this,n)}}function a(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function c(e){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var l=e("../../composite-xform"),u=e("../../style/color-xform"),h=e("./cfvo-xform"),d=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&s(e,t)}(c,e);var t,n,r,a=o(c);function c(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),(e=a.call(this)).map={cfvo:e.cfvoXform=new h,color:e.colorXform=new u},e}return t=c,(n=[{key:"render",value:function(e,t){var n=this;e.openNode(this.tag),t.cfvo.forEach(function(t){n.cfvoXform.render(e,t)}),this.colorXform.render(e,t.color),e.closeNode()}},{key:"createNewModel",value:function(){return{cfvo:[]}}},{key:"onParserClose",value:function(e,t){switch(e){case"cfvo":this.model.cfvo.push(t.model);break;case"color":this.model.color=t.model}}},{key:"tag",get:function(){return"dataBar"}}])&&i(t.prototype,n),r&&i(t,r),c}(l);t.exports=d},{"../../composite-xform":47,"../../style/color-xform":127,"./cfvo-xform":83}],88:[function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t,n){return t&&s(e.prototype,t),n&&s(e,n),e}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&c(e,t)}function c(e,t){return(c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function l(e){var t=function(){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(e){return!1}}();return function(){var n,r=h(e);if(t){var i=h(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return u(this,n)}}function u(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function h(e){return(h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var d=e("../../base-xform"),f=e("../../composite-xform"),p=function(e){a(n,e);var t=l(n);function n(){return i(this,n),t.apply(this,arguments)}return o(n,[{key:"render",value:function(e,t){e.leafNode(this.tag,null,t)}},{key:"parseOpen",value:function(){this.model=""}},{key:"parseText",value:function(e){this.model+=e}},{key:"parseClose",value:function(e){return e!==this.tag}},{key:"tag",get:function(){return"x14:id"}}]),n}(d),m=function(e){a(n,e);var t=l(n);function n(){var e;return i(this,n),(e=t.call(this)).map={"x14:id":e.idXform=new p},e}return o(n,[{key:"render",value:function(e,t){e.openNode(this.tag,{uri:"{B025F937-C7B1-47D3-B67F-A62EFF666E3E}","xmlns:x14":"http://schemas.microsoft.com/office/spreadsheetml/2009/9/main"}),this.idXform.render(e,t.x14Id),e.closeNode()}},{key:"createNewModel",value:function(){return{}}},{key:"onParserClose",value:function(e,t){this.model.x14Id=t.model}},{key:"tag",get:function(){return"ext"}}]),n}(f),g=function(e){a(n,e);var t=l(n);function n(){var e;return i(this,n),(e=t.call(this)).map={ext:new m},e}return o(n,[{key:"render",value:function(e,t){e.openNode(this.tag),this.map.ext.render(e,t),e.closeNode()}},{key:"createNewModel",value:function(){return{}}},{key:"onParserClose",value:function(e,t){Object.assign(this.model,t.model)}},{key:"tag",get:function(){return"extLst"}}]),n}(f);t.exports=g},{"../../base-xform":31,"../../composite-xform":47}],89:[function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t){return(o=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function a(e){var t=function(){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(e){return!1}}();return function(){var n,r=l(e);if(t){var i=l(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return c(this,n)}}function c(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function l(e){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var u=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&o(e,t)}(l,e);var t,n,r,c=a(l);function l(){return i(this,l),c.apply(this,arguments)}return t=l,(n=[{key:"render",value:function(e,t){e.leafNode(this.tag,null,t)}},{key:"parseOpen",value:function(){this.model=""}},{key:"parseText",value:function(e){this.model+=e}},{key:"parseClose",value:function(e){return e!==this.tag}},{key:"tag",get:function(){return"formula"}}])&&s(t.prototype,n),r&&s(t,r),l}(e("../../base-xform"));t.exports=u},{"../../base-xform":31}],90:[function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function o(e){var t=function(){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(e){return!1}}();return function(){var n,r=c(e);if(t){var i=c(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return a(this,n)}}function a(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function c(e){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var l=e("../../base-xform"),u=e("../../composite-xform"),h=e("./cfvo-xform"),d=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&s(e,t)}(c,e);var t,n,r,a=o(c);function c(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),(e=a.call(this)).map={cfvo:e.cfvoXform=new h},e}return t=c,(n=[{key:"render",value:function(e,t){var n=this;e.openNode(this.tag,{iconSet:l.toStringAttribute(t.iconSet,"3TrafficLights"),reverse:l.toBoolAttribute(t.reverse,!1),showValue:l.toBoolAttribute(t.showValue,!0)}),t.cfvo.forEach(function(t){n.cfvoXform.render(e,t)}),e.closeNode()}},{key:"createNewModel",value:function(e){var t=e.attributes;return{iconSet:l.toStringValue(t.iconSet,"3TrafficLights"),reverse:l.toBoolValue(t.reverse),showValue:l.toBoolValue(t.showValue),cfvo:[]}}},{key:"onParserClose",value:function(e,t){this.model[e].push(t.model)}},{key:"tag",get:function(){return"iconSet"}}])&&i(t.prototype,n),r&&i(t,r),c}(u);t.exports=d},{"../../base-xform":31,"../../composite-xform":47,"./cfvo-xform":83}],91:[function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t){return(o=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function a(e){var t=function(){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(e){return!1}}();return function(){var n,r=l(e);if(t){var i=l(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return c(this,n)}}function c(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function l(e){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var u=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&o(e,t)}(l,e);var t,n,r,c=a(l);function l(){return i(this,l),c.apply(this,arguments)}return t=l,(n=[{key:"prepare",value:function(e,t){var n=t.styles.addStyleModel(e.style||{});n&&(e.styleId=n)}},{key:"render",value:function(e,t){e.openNode("col"),e.addAttribute("min",t.min),e.addAttribute("max",t.max),t.width&&e.addAttribute("width",t.width),t.styleId&&e.addAttribute("style",t.styleId),t.hidden&&e.addAttribute("hidden","1"),t.bestFit&&e.addAttribute("bestFit","1"),t.outlineLevel&&e.addAttribute("outlineLevel",t.outlineLevel),t.collapsed&&e.addAttribute("collapsed","1"),e.addAttribute("customWidth","1"),e.closeNode()}},{key:"parseOpen",value:function(e){if("col"===e.name){var t=this.model={min:parseInt(e.attributes.min||"0",10),max:parseInt(e.attributes.max||"0",10),width:void 0===e.attributes.width?void 0:parseFloat(e.attributes.width||"0")};return e.attributes.style&&(t.styleId=parseInt(e.attributes.style,10)),!0!==e.attributes.hidden&&"true"!==e.attributes.hidden&&1!==e.attributes.hidden&&"1"!==e.attributes.hidden||(t.hidden=!0),e.attributes.bestFit&&(t.bestFit=!0),e.attributes.outlineLevel&&(t.outlineLevel=parseInt(e.attributes.outlineLevel,10)),e.attributes.collapsed&&(t.collapsed=!0),!0}return!1}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(){return!1}},{key:"reconcile",value:function(e,t){e.styleId&&(e.style=t.styles.getStyleModel(e.styleId))}},{key:"tag",get:function(){return"col"}}])&&s(t.prototype,n),r&&s(t,r),l}(e("../base-xform"));t.exports=u},{"../base-xform":31}],92:[function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t){return(o=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function a(e){var t=function(){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(e){return!1}}();return function(){var n,r=l(e);if(t){var i=l(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return c(this,n)}}function c(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function l(e){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function h(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach(function(t){d(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function d(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var f=e("../../../utils/under-dash"),p=e("../../../utils/utils"),m=e("../../../utils/col-cache"),g=e("../base-xform"),v=e("../../../doc/range");function y(e,t,n,r){var i=t[n];void 0!==i?e[n]=i:void 0!==r&&(e[n]=r)}function b(e,t,n,r){var i=t[n];void 0!==i?e[n]=function(e){switch(e){case"1":case"true":return!0;default:return!1}}(i):void 0!==r&&(e[n]=r)}var _=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&o(e,t)}(l,e);var t,n,r,c=a(l);function l(){return i(this,l),c.apply(this,arguments)}return t=l,(n=[{key:"render",value:function(e,t){var n=function(e){var t=f.map(e,function(e,t){return{address:t,dataValidation:e,marked:!1}}).sort(function(e,t){return f.strcmp(e.address,t.address)}),n=f.keyBy(t,"address"),r=function(t,n,r){for(var i=0;i<n;i++){var s=m.encodeAddress(t.row+i,r);if(!e[s]||!f.isEqual(e[t.address],e[s]))return!1}return!0};return t.map(function(t){if(!t.marked){var i=m.decodeEx(t.address);if(i.dimensions)return n[i.dimensions].marked=!0,h(h({},t.dataValidation),{},{sqref:t.address});for(var s=1,o=m.encodeAddress(i.row+s,i.col);e[o]&&f.isEqual(t.dataValidation,e[o]);)s++,o=m.encodeAddress(i.row+s,i.col);for(var a=1;r(i,s,i.col+a);)a++;for(var c=0;c<s;c++)for(var l=0;l<a;l++)o=m.encodeAddress(i.row+c,i.col+l),n[o].marked=!0;if(s>1||a>1){var u=i.row+(s-1),d=i.col+(a-1);return h(h({},t.dataValidation),{},{sqref:"".concat(t.address,":").concat(m.encodeAddress(u,d))})}return h(h({},t.dataValidation),{},{sqref:t.address})}return null}).filter(Boolean)}(t);n.length&&(e.openNode("dataValidations",{count:n.length}),n.forEach(function(t){e.openNode("dataValidation"),"any"!==t.type&&(e.addAttribute("type",t.type),t.operator&&"list"!==t.type&&"between"!==t.operator&&e.addAttribute("operator",t.operator),t.allowBlank&&e.addAttribute("allowBlank","1")),t.showInputMessage&&e.addAttribute("showInputMessage","1"),t.promptTitle&&e.addAttribute("promptTitle",t.promptTitle),t.prompt&&e.addAttribute("prompt",t.prompt),t.showErrorMessage&&e.addAttribute("showErrorMessage","1"),t.errorStyle&&e.addAttribute("errorStyle",t.errorStyle),t.errorTitle&&e.addAttribute("errorTitle",t.errorTitle),t.error&&e.addAttribute("error",t.error),e.addAttribute("sqref",t.sqref),(t.formulae||[]).forEach(function(n,r){e.openNode("formula".concat(r+1)),"date"===t.type?e.writeText(p.dateToExcel(new Date(n))):e.writeText(n),e.closeNode()}),e.closeNode()}),e.closeNode())}},{key:"parseOpen",value:function(e){switch(e.name){case"dataValidations":return this.model={},!0;case"dataValidation":this._address=e.attributes.sqref;var t={type:e.attributes.type||"any",formulae:[]};switch(e.attributes.type&&b(t,e.attributes,"allowBlank"),b(t,e.attributes,"showInputMessage"),b(t,e.attributes,"showErrorMessage"),t.type){case"any":case"list":case"custom":break;default:y(t,e.attributes,"operator","between")}return y(t,e.attributes,"promptTitle"),y(t,e.attributes,"prompt"),y(t,e.attributes,"errorStyle"),y(t,e.attributes,"errorTitle"),y(t,e.attributes,"error"),this._dataValidation=t,!0;case"formula1":case"formula2":return this._formula=[],!0;default:return!1}}},{key:"parseText",value:function(e){this._formula&&this._formula.push(e)}},{key:"parseClose",value:function(e){var t=this;switch(e){case"dataValidations":return!1;case"dataValidation":return this._dataValidation.formulae&&this._dataValidation.formulae.length||(delete this._dataValidation.formulae,delete this._dataValidation.operator),(this._address.split(/\s+/g)||[]).forEach(function(e){e.includes(":")?new v(e).forEachAddress(function(e){t.model[e]=t._dataValidation}):t.model[e]=t._dataValidation}),!0;case"formula1":case"formula2":var n=this._formula.join("");switch(this._dataValidation.type){case"whole":case"textLength":n=parseInt(n,10);break;case"decimal":n=parseFloat(n);break;case"date":n=p.excelToDate(parseFloat(n))}return this._dataValidation.formulae.push(n),this._formula=void 0,!0;default:return!0}}},{key:"tag",get:function(){return"dataValidations"}}])&&s(t.prototype,n),r&&s(t,r),l}(g);t.exports=_},{"../../../doc/range":10,"../../../utils/col-cache":19,"../../../utils/under-dash":25,"../../../utils/utils":26,"../base-xform":31}],93:[function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t){return(o=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function a(e){var t=function(){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(e){return!1}}();return function(){var n,r=l(e);if(t){var i=l(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return c(this,n)}}function c(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function l(e){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var u=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&o(e,t)}(l,e);var t,n,r,c=a(l);function l(){return i(this,l),c.apply(this,arguments)}return t=l,(n=[{key:"render",value:function(e,t){t&&e.leafNode("dimension",{ref:t})}},{key:"parseOpen",value:function(e){return"dimension"===e.name&&(this.model=e.attributes.ref,!0)}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(){return!1}},{key:"tag",get:function(){return"dimension"}}])&&s(t.prototype,n),r&&s(t,r),l}(e("../base-xform"));t.exports=u},{"../base-xform":31}],94:[function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t){return(o=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function a(e){var t=function(){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(e){return!1}}();return function(){var n,r=l(e);if(t){var i=l(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return c(this,n)}}function c(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function l(e){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var u=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&o(e,t)}(l,e);var t,n,r,c=a(l);function l(){return i(this,l),c.apply(this,arguments)}return t=l,(n=[{key:"render",value:function(e,t){t&&e.leafNode(this.tag,{"r:id":t.rId})}},{key:"parseOpen",value:function(e){switch(e.name){case this.tag:return this.model={rId:e.attributes["r:id"]},!0;default:return!1}}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(){return!1}},{key:"tag",get:function(){return"drawing"}}])&&s(t.prototype,n),r&&s(t,r),l}(e("../base-xform"));t.exports=u},{"../base-xform":31}],95:[function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t,n){return t&&s(e.prototype,t),n&&s(e,n),e}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&c(e,t)}function c(e,t){return(c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function l(e){var t=function(){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(e){return!1}}();return function(){var n,r=h(e);if(t){var i=h(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return u(this,n)}}function u(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function h(e){return(h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var d=e("../composite-xform"),f=e("./cf-ext/conditional-formattings-ext-xform"),p=function(e){a(n,e);var t=l(n);function n(){var e;return i(this,n),(e=t.call(this)).map={"x14:conditionalFormattings":e.conditionalFormattings=new f},e}return o(n,[{key:"hasContent",value:function(e){return this.conditionalFormattings.hasContent(e.conditionalFormattings)}},{key:"prepare",value:function(e,t){this.conditionalFormattings.prepare(e.conditionalFormattings,t)}},{key:"render",value:function(e,t){e.openNode("ext",{uri:"{78C0D931-6437-407d-A8EE-F0AAD7539E65}","xmlns:x14":"http://schemas.microsoft.com/office/spreadsheetml/2009/9/main"}),this.conditionalFormattings.render(e,t.conditionalFormattings),e.closeNode()}},{key:"createNewModel",value:function(){return{}}},{key:"onParserClose",value:function(e,t){this.model[e]=t.model}},{key:"tag",get:function(){return"ext"}}]),n}(d),m=function(e){a(n,e);var t=l(n);function n(){var e;return i(this,n),(e=t.call(this)).map={ext:e.ext=new p},e}return o(n,[{key:"prepare",value:function(e,t){this.ext.prepare(e,t)}},{key:"hasContent",value:function(e){return this.ext.hasContent(e)}},{key:"render",value:function(e,t){this.hasContent(t)&&(e.openNode("extLst"),this.ext.render(e,t),e.closeNode())}},{key:"createNewModel",value:function(){return{}}},{key:"onParserClose",value:function(e,t){Object.assign(this.model,t.model)}},{key:"tag",get:function(){return"extLst"}}]),n}(d);t.exports=m},{"../composite-xform":47,"./cf-ext/conditional-formattings-ext-xform":77}],96:[function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t){return(o=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function a(e){var t=function(){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(e){return!1}}();return function(){var n,r=l(e);if(t){var i=l(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return c(this,n)}}function c(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function l(e){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var u=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&o(e,t)}(l,e);var t,n,r,c=a(l);function l(){return i(this,l),c.apply(this,arguments)}return t=l,(n=[{key:"render",value:function(e,t){if(t){e.addRollback();var n=!1;e.openNode("headerFooter"),t.differentFirst&&(e.addAttribute("differentFirst","1"),n=!0),t.differentOddEven&&(e.addAttribute("differentOddEven","1"),n=!0),t.oddHeader&&"string"==typeof t.oddHeader&&(e.leafNode("oddHeader",null,t.oddHeader),n=!0),t.oddFooter&&"string"==typeof t.oddFooter&&(e.leafNode("oddFooter",null,t.oddFooter),n=!0),t.evenHeader&&"string"==typeof t.evenHeader&&(e.leafNode("evenHeader",null,t.evenHeader),n=!0),t.evenFooter&&"string"==typeof t.evenFooter&&(e.leafNode("evenFooter",null,t.evenFooter),n=!0),t.firstHeader&&"string"==typeof t.firstHeader&&(e.leafNode("firstHeader",null,t.firstHeader),n=!0),t.firstFooter&&"string"==typeof t.firstFooter&&(e.leafNode("firstFooter",null,t.firstFooter),n=!0),n?(e.closeNode(),e.commit()):e.rollback()}}},{key:"parseOpen",value:function(e){switch(e.name){case"headerFooter":return this.model={},e.attributes.differentFirst&&(this.model.differentFirst=1===parseInt(e.attributes.differentFirst,0)),e.attributes.differentOddEven&&(this.model.differentOddEven=1===parseInt(e.attributes.differentOddEven,0)),!0;case"oddHeader":return this.currentNode="oddHeader",!0;case"oddFooter":return this.currentNode="oddFooter",!0;case"evenHeader":return this.currentNode="evenHeader",!0;case"evenFooter":return this.currentNode="evenFooter",!0;case"firstHeader":return this.currentNode="firstHeader",!0;case"firstFooter":return this.currentNode="firstFooter",!0;default:return!1}}},{key:"parseText",value:function(e){switch(this.currentNode){case"oddHeader":this.model.oddHeader=e;break;case"oddFooter":this.model.oddFooter=e;break;case"evenHeader":this.model.evenHeader=e;break;case"evenFooter":this.model.evenFooter=e;break;case"firstHeader":this.model.firstHeader=e;break;case"firstFooter":this.model.firstFooter=e}}},{key:"parseClose",value:function(){switch(this.currentNode){case"oddHeader":case"oddFooter":case"evenHeader":case"evenFooter":case"firstHeader":case"firstFooter":return this.currentNode=void 0,!0;default:return!1}}},{key:"tag",get:function(){return"headerFooter"}}])&&s(t.prototype,n),r&&s(t,r),l}(e("../base-xform"));t.exports=u},{"../base-xform":31}],97:[function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t){return(o=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function a(e){var t=function(){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(e){return!1}}();return function(){var n,r=l(e);if(t){var i=l(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return c(this,n)}}function c(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function l(e){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var u=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&o(e,t)}(l,e);var t,n,r,c=a(l);function l(){return i(this,l),c.apply(this,arguments)}return t=l,(n=[{key:"render",value:function(e,t){e.leafNode("hyperlink",{ref:t.address,"r:id":t.rId,tooltip:t.tooltip})}},{key:"parseOpen",value:function(e){return"hyperlink"===e.name&&(this.model={address:e.attributes.ref,rId:e.attributes["r:id"],tooltip:e.attributes.tooltip},!0)}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(){return!1}},{key:"tag",get:function(){return"hyperlink"}}])&&s(t.prototype,n),r&&s(t,r),l}(e("../base-xform"));t.exports=u},{"../base-xform":31}],98:[function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t){return(o=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function a(e){var t=function(){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(e){return!1}}();return function(){var n,r=l(e);if(t){var i=l(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return c(this,n)}}function c(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function l(e){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var u=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&o(e,t)}(l,e);var t,n,r,c=a(l);function l(){return i(this,l),c.apply(this,arguments)}return t=l,(n=[{key:"render",value:function(e,t){e.leafNode("mergeCell",{ref:t})}},{key:"parseOpen",value:function(e){return"mergeCell"===e.name&&(this.model=e.attributes.ref,!0)}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(){return!1}},{key:"tag",get:function(){return"mergeCell"}}])&&s(t.prototype,n),r&&s(t,r),l}(e("../base-xform"));t.exports=u},{"../base-xform":31}],99:[function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var i=e("../../../utils/under-dash"),s=e("../../../doc/range"),o=e("../../../utils/col-cache"),a=e("../../../doc/enums"),c=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.merges={}}var t,n,c;return t=e,(n=[{key:"add",value:function(e){if(this.merges[e.master])this.merges[e.master].expandToAddress(e.address);else{var t="".concat(e.master,":").concat(e.address);this.merges[e.master]=new s(t)}}},{key:"reconcile",value:function(e,t){i.each(e,function(e){for(var n=o.decode(e),r=n.top;r<=n.bottom;r++)for(var i=t[r-1],s=n.left;s<=n.right;s++){var c=i.cells[s-1];c?c.type===a.ValueType.Merge&&(c.master=n.tl):i.cells[s]={type:a.ValueType.Null,address:o.encodeAddress(r,s)}}})}},{key:"getMasterAddress",value:function(e){var t=this.hash[e];return t&&t.tl}},{key:"mergeCells",get:function(){return i.map(this.merges,function(e){return e.range})}}])&&r(t.prototype,n),c&&r(t,c),e}();t.exports=c},{"../../../doc/enums":7,"../../../doc/range":10,"../../../utils/col-cache":19,"../../../utils/under-dash":25}],100:[function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t){return(o=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function a(e){var t=function(){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(e){return!1}}();return function(){var n,r=l(e);if(t){var i=l(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return c(this,n)}}function c(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function l(e){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var u=e("../base-xform"),h=function(e){return void 0!==e},d=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&o(e,t)}(l,e);var t,n,r,c=a(l);function l(){return i(this,l),c.apply(this,arguments)}return t=l,(n=[{key:"render",value:function(e,t){return!(!t||!h(t.summaryBelow)&&!h(t.summaryRight)||(e.leafNode(this.tag,{summaryBelow:h(t.summaryBelow)?Number(t.summaryBelow):void 0,summaryRight:h(t.summaryRight)?Number(t.summaryRight):void 0}),0))}},{key:"parseOpen",value:function(e){return e.name===this.tag&&(this.model={summaryBelow:h(e.attributes.summaryBelow)?Boolean(Number(e.attributes.summaryBelow)):void 0,summaryRight:h(e.attributes.summaryRight)?Boolean(Number(e.attributes.summaryRight)):void 0},!0)}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(){return!1}},{key:"tag",get:function(){return"outlinePr"}}])&&s(t.prototype,n),r&&s(t,r),l}(u);t.exports=d},{"../base-xform":31}],101:[function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t){return(o=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function a(e){var t=function(){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(e){return!1}}();return function(){var n,r=l(e);if(t){var i=l(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return c(this,n)}}function c(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function l(e){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var u=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&o(e,t)}(l,e);var t,n,r,c=a(l);function l(){return i(this,l),c.apply(this,arguments)}return t=l,(n=[{key:"render",value:function(e,t){e.leafNode("brk",t)}},{key:"parseOpen",value:function(e){return"brk"===e.name&&(this.model=e.attributes.ref,!0)}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(){return!1}},{key:"tag",get:function(){return"brk"}}])&&s(t.prototype,n),r&&s(t,r),l}(e("../base-xform"));t.exports=u},{"../base-xform":31}],102:[function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t){return(o=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function a(e){var t=function(){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(e){return!1}}();return function(){var n,r=l(e);if(t){var i=l(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return c(this,n)}}function c(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function l(e){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var u=e("../../../utils/under-dash"),h=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&o(e,t)}(l,e);var t,n,r,c=a(l);function l(){return i(this,l),c.apply(this,arguments)}return t=l,(n=[{key:"render",value:function(e,t){if(t){var n={left:t.left,right:t.right,top:t.top,bottom:t.bottom,header:t.header,footer:t.footer};u.some(n,function(e){return void 0!==e})&&e.leafNode(this.tag,n)}}},{key:"parseOpen",value:function(e){switch(e.name){case this.tag:return this.model={left:parseFloat(e.attributes.left||.7),right:parseFloat(e.attributes.right||.7),top:parseFloat(e.attributes.top||.75),bottom:parseFloat(e.attributes.bottom||.75),header:parseFloat(e.attributes.header||.3),footer:parseFloat(e.attributes.footer||.3)},!0;default:return!1}}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(){return!1}},{key:"tag",get:function(){return"pageMargins"}}])&&s(t.prototype,n),r&&s(t,r),l}(e("../base-xform"));t.exports=h},{"../../../utils/under-dash":25,"../base-xform":31}],103:[function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t){return(o=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function a(e){var t=function(){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(e){return!1}}();return function(){var n,r=l(e);if(t){var i=l(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return c(this,n)}}function c(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function l(e){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var u=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&o(e,t)}(l,e);var t,n,r,c=a(l);function l(){return i(this,l),c.apply(this,arguments)}return t=l,(n=[{key:"render",value:function(e,t){return!(!t||!t.fitToPage||(e.leafNode(this.tag,{fitToPage:t.fitToPage?"1":void 0}),0))}},{key:"parseOpen",value:function(e){return e.name===this.tag&&(this.model={fitToPage:"1"===e.attributes.fitToPage},!0)}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(){return!1}},{key:"tag",get:function(){return"pageSetUpPr"}}])&&s(t.prototype,n),r&&s(t,r),l}(e("../base-xform"));t.exports=u},{"../base-xform":31}],104:[function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t){return(o=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function a(e){var t=function(){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(e){return!1}}();return function(){var n,r=l(e);if(t){var i=l(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return c(this,n)}}function c(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function l(e){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var u=e("../../../utils/under-dash");function h(e){return e?"1":void 0}function d(e){switch(e){case"overThenDown":return e;default:return}}function f(e){switch(e){case"atEnd":case"asDisplyed":return e;default:return}}function p(e){switch(e){case"dash":case"blank":case"NA":return e;default:return}}var m=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&o(e,t)}(l,e);var t,n,r,c=a(l);function l(){return i(this,l),c.apply(this,arguments)}return t=l,(n=[{key:"render",value:function(e,t){if(t){var n={paperSize:t.paperSize,orientation:t.orientation,horizontalDpi:t.horizontalDpi,verticalDpi:t.verticalDpi,pageOrder:d(t.pageOrder),blackAndWhite:h(t.blackAndWhite),draft:h(t.draft),cellComments:f(t.cellComments),errors:p(t.errors),scale:t.scale,fitToWidth:t.fitToWidth,fitToHeight:t.fitToHeight,firstPageNumber:t.firstPageNumber,useFirstPageNumber:h(t.firstPageNumber),usePrinterDefaults:h(t.usePrinterDefaults),copies:t.copies};u.some(n,function(e){return void 0!==e})&&e.leafNode(this.tag,n)}}},{key:"parseOpen",value:function(e){switch(e.name){case this.tag:return this.model={paperSize:(t=e.attributes.paperSize,void 0!==t?parseInt(t,10):void 0),orientation:e.attributes.orientation||"portrait",horizontalDpi:parseInt(e.attributes.horizontalDpi||"4294967295",10),verticalDpi:parseInt(e.attributes.verticalDpi||"4294967295",10),pageOrder:e.attributes.pageOrder||"downThenOver",blackAndWhite:"1"===e.attributes.blackAndWhite,draft:"1"===e.attributes.draft,cellComments:e.attributes.cellComments||"None",errors:e.attributes.errors||"displayed",scale:parseInt(e.attributes.scale||"100",10),fitToWidth:parseInt(e.attributes.fitToWidth||"1",10),fitToHeight:parseInt(e.attributes.fitToHeight||"1",10),firstPageNumber:parseInt(e.attributes.firstPageNumber||"1",10),useFirstPageNumber:"1"===e.attributes.useFirstPageNumber,usePrinterDefaults:"1"===e.attributes.usePrinterDefaults,copies:parseInt(e.attributes.copies||"1",10)},!0;default:return!1}var t}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(){return!1}},{key:"tag",get:function(){return"pageSetup"}}])&&s(t.prototype,n),r&&s(t,r),l}(e("../base-xform"));t.exports=m},{"../../../utils/under-dash":25,"../base-xform":31}],105:[function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t){return(o=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function a(e){var t=function(){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(e){return!1}}();return function(){var n,r=l(e);if(t){var i=l(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return c(this,n)}}function c(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function l(e){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var u=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&o(e,t)}(l,e);var t,n,r,c=a(l);function l(){return i(this,l),c.apply(this,arguments)}return t=l,(n=[{key:"render",value:function(e,t){t&&e.leafNode(this.tag,{"r:id":t.rId})}},{key:"parseOpen",value:function(e){switch(e.name){case this.tag:return this.model={rId:e.attributes["r:id"]},!0;default:return!1}}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(){return!1}},{key:"tag",get:function(){return"picture"}}])&&s(t.prototype,n),r&&s(t,r),l}(e("../base-xform"));t.exports=u},{"../base-xform":31}],106:[function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t){return(o=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function a(e){var t=function(){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(e){return!1}}();return function(){var n,r=l(e);if(t){var i=l(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return c(this,n)}}function c(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function l(e){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var u=e("../../../utils/under-dash");function h(e){return e?"1":void 0}var d=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&o(e,t)}(l,e);var t,n,r,c=a(l);function l(){return i(this,l),c.apply(this,arguments)}return t=l,(n=[{key:"render",value:function(e,t){if(t){var n={headings:h(t.showRowColHeaders),gridLines:h(t.showGridLines),horizontalCentered:h(t.horizontalCentered),verticalCentered:h(t.verticalCentered)};u.some(n,function(e){return void 0!==e})&&e.leafNode(this.tag,n)}}},{key:"parseOpen",value:function(e){switch(e.name){case this.tag:return this.model={showRowColHeaders:"1"===e.attributes.headings,showGridLines:"1"===e.attributes.gridLines,horizontalCentered:"1"===e.attributes.horizontalCentered,verticalCentered:"1"===e.attributes.verticalCentered},!0;default:return!1}}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(){return!1}},{key:"tag",get:function(){return"printOptions"}}])&&s(t.prototype,n),r&&s(t,r),l}(e("../base-xform"));t.exports=d},{"../../../utils/under-dash":25,"../base-xform":31}],107:[function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function o(e){var t=function(){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(e){return!1}}();return function(){var n,r=c(e);if(t){var i=c(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return a(this,n)}}function a(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function c(e){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var l=e("./page-breaks-xform"),u=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&s(e,t)}(c,e);var t,n,r,a=o(c);function c(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c);var e={tag:"rowBreaks",count:!0,childXform:new l};return a.call(this,e)}return t=c,(n=[{key:"render",value:function(e,t){if(t&&t.length){e.openNode(this.tag,this.$),this.count&&(e.addAttribute(this.$count,t.length),e.addAttribute("manualBreakCount",t.length));var n=this.childXform;t.forEach(function(t){n.render(e,t)}),e.closeNode()}else this.empty&&e.leafNode(this.tag)}}])&&i(t.prototype,n),r&&i(t,r),c}(e("../list-xform"));t.exports=u},{"../list-xform":70,"./page-breaks-xform":101}],108:[function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function o(e){var t=function(){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(e){return!1}}();return function(){var n,r=c(e);if(t){var i=c(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return a(this,n)}}function a(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function c(e){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var l=e("../base-xform"),u=e("./cell-xform"),h=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&s(e,t)}(c,e);var t,n,r,a=o(c);function c(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),(t=a.call(this)).maxItems=e&&e.maxItems,t.map={c:new u},t}return t=c,(n=[{key:"prepare",value:function(e,t){var n=t.styles.addStyleModel(e.style);n&&(e.styleId=n);var r=this.map.c;e.cells.forEach(function(e){r.prepare(e,t)})}},{key:"render",value:function(e,t,n){e.openNode("row"),e.addAttribute("r",t.number),t.height&&(e.addAttribute("ht",t.height),e.addAttribute("customHeight","1")),t.hidden&&e.addAttribute("hidden","1"),t.min>0&&t.max>0&&t.min<=t.max&&e.addAttribute("spans","".concat(t.min,":").concat(t.max)),t.styleId&&(e.addAttribute("s",t.styleId),e.addAttribute("customFormat","1")),e.addAttribute("x14ac:dyDescent","0.25"),t.outlineLevel&&e.addAttribute("outlineLevel",t.outlineLevel),t.collapsed&&e.addAttribute("collapsed","1");var r=this.map.c;t.cells.forEach(function(t){r.render(e,t,n)}),e.closeNode()}},{key:"parseOpen",value:function(e){if(this.parser)return this.parser.parseOpen(e),!0;if("row"===e.name){this.numRowsSeen+=1;var t=e.attributes.spans?e.attributes.spans.split(":").map(function(e){return parseInt(e,10)}):[void 0,void 0],n=this.model={number:parseInt(e.attributes.r,10),min:t[0],max:t[1],cells:[]};return e.attributes.s&&(n.styleId=parseInt(e.attributes.s,10)),!0!==e.attributes.hidden&&"true"!==e.attributes.hidden&&1!==e.attributes.hidden&&"1"!==e.attributes.hidden||(n.hidden=!0),e.attributes.bestFit&&(n.bestFit=!0),e.attributes.ht&&(n.height=parseFloat(e.attributes.ht)),e.attributes.outlineLevel&&(n.outlineLevel=parseInt(e.attributes.outlineLevel,10)),e.attributes.collapsed&&(n.collapsed=!0),!0}return this.parser=this.map[e.name],!!this.parser&&(this.parser.parseOpen(e),!0)}},{key:"parseText",value:function(e){this.parser&&this.parser.parseText(e)}},{key:"parseClose",value:function(e){if(this.parser){if(!this.parser.parseClose(e)){if(this.model.cells.push(this.parser.model),this.maxItems&&this.model.cells.length>this.maxItems)throw new Error("Max column count (".concat(this.maxItems,") exceeded"));this.parser=void 0}return!0}return!1}},{key:"reconcile",value:function(e,t){e.style=e.styleId?t.styles.getStyleModel(e.styleId):{},void 0!==e.styleId&&(e.styleId=void 0);var n=this.map.c;e.cells.forEach(function(e){n.reconcile(e,t)})}},{key:"tag",get:function(){return"row"}}])&&i(t.prototype,n),r&&i(t,r),c}(l);t.exports=h},{"../base-xform":31,"./cell-xform":72}],109:[function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t){return(o=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function a(e){var t=function(){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(e){return!1}}();return function(){var n,r=l(e);if(t){var i=l(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return c(this,n)}}function c(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function l(e){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var u=e("../../../utils/under-dash"),h=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&o(e,t)}(l,e);var t,n,r,c=a(l);function l(){return i(this,l),c.apply(this,arguments)}return t=l,(n=[{key:"render",value:function(e,t){if(t){var n={defaultRowHeight:t.defaultRowHeight,outlineLevelRow:t.outlineLevelRow,outlineLevelCol:t.outlineLevelCol,"x14ac:dyDescent":t.dyDescent};t.defaultColWidth&&(n.defaultColWidth=t.defaultColWidth),t.defaultRowHeight&&15===t.defaultRowHeight||(n.customHeight="1"),u.some(n,function(e){return void 0!==e})&&e.leafNode("sheetFormatPr",n)}}},{key:"parseOpen",value:function(e){return"sheetFormatPr"===e.name&&(this.model={defaultRowHeight:parseFloat(e.attributes.defaultRowHeight||"0"),dyDescent:parseFloat(e.attributes["x14ac:dyDescent"]||"0"),outlineLevelRow:parseInt(e.attributes.outlineLevelRow||"0",10),outlineLevelCol:parseInt(e.attributes.outlineLevelCol||"0",10)},e.attributes.defaultColWidth&&(this.model.defaultColWidth=parseFloat(e.attributes.defaultColWidth)),!0)}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(){return!1}},{key:"tag",get:function(){return"sheetFormatPr"}}])&&s(t.prototype,n),r&&s(t,r),l}(e("../base-xform"));t.exports=h},{"../../../utils/under-dash":25,"../base-xform":31}],110:[function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function o(e){var t=function(){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(e){return!1}}();return function(){var n,r=c(e);if(t){var i=c(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return a(this,n)}}function a(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function c(e){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var l=e("../base-xform"),u=e("../style/color-xform"),h=e("./page-setup-properties-xform"),d=e("./outline-properties-xform"),f=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&s(e,t)}(c,e);var t,n,r,a=o(c);function c(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),(e=a.call(this)).map={tabColor:new u("tabColor"),pageSetUpPr:new h,outlinePr:new d},e}return t=c,(n=[{key:"render",value:function(e,t){if(t){e.addRollback(),e.openNode("sheetPr");var n=!1;n=this.map.tabColor.render(e,t.tabColor)||n,n=this.map.pageSetUpPr.render(e,t.pageSetup)||n,(n=this.map.outlinePr.render(e,t.outlineProperties)||n)?(e.closeNode(),e.commit()):e.rollback()}}},{key:"parseOpen",value:function(e){return this.parser?(this.parser.parseOpen(e),!0):e.name===this.tag?(this.reset(),!0):!!this.map[e.name]&&(this.parser=this.map[e.name],this.parser.parseOpen(e),!0)}},{key:"parseText",value:function(e){return!!this.parser&&(this.parser.parseText(e),!0)}},{key:"parseClose",value:function(e){return this.parser?(this.parser.parseClose(e)||(this.parser=void 0),!0):(this.map.tabColor.model||this.map.pageSetUpPr.model||this.map.outlinePr.model?(this.model={},this.map.tabColor.model&&(this.model.tabColor=this.map.tabColor.model),this.map.pageSetUpPr.model&&(this.model.pageSetup=this.map.pageSetUpPr.model),this.map.outlinePr.model&&(this.model.outlineProperties=this.map.outlinePr.model)):this.model=null,!1)}},{key:"tag",get:function(){return"sheetPr"}}])&&i(t.prototype,n),r&&i(t,r),c}(l);t.exports=f},{"../base-xform":31,"../style/color-xform":127,"./outline-properties-xform":100,"./page-setup-properties-xform":103}],111:[function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t){return(o=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function a(e){var t=function(){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(e){return!1}}();return function(){var n,r=l(e);if(t){var i=l(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return c(this,n)}}function c(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function l(e){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var u=e("../../../utils/under-dash");function h(e,t){return e?t:void 0}function d(e,t){return e===t||void 0}var f=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&o(e,t)}(l,e);var t,n,r,c=a(l);function l(){return i(this,l),c.apply(this,arguments)}return t=l,(n=[{key:"render",value:function(e,t){if(t){var n={sheet:h(t.sheet,"1"),selectLockedCells:!1===t.selectLockedCells?"1":void 0,selectUnlockedCells:!1===t.selectUnlockedCells?"1":void 0,formatCells:h(t.formatCells,"0"),formatColumns:h(t.formatColumns,"0"),formatRows:h(t.formatRows,"0"),insertColumns:h(t.insertColumns,"0"),insertRows:h(t.insertRows,"0"),insertHyperlinks:h(t.insertHyperlinks,"0"),deleteColumns:h(t.deleteColumns,"0"),deleteRows:h(t.deleteRows,"0"),sort:h(t.sort,"0"),autoFilter:h(t.autoFilter,"0"),pivotTables:h(t.pivotTables,"0")};t.sheet&&(n.algorithmName=t.algorithmName,n.hashValue=t.hashValue,n.saltValue=t.saltValue,n.spinCount=t.spinCount,n.objects=h(!1===t.objects,"1"),n.scenarios=h(!1===t.scenarios,"1")),u.some(n,function(e){return void 0!==e})&&e.leafNode(this.tag,n)}}},{key:"parseOpen",value:function(e){switch(e.name){case this.tag:return this.model={sheet:d(e.attributes.sheet,"1"),objects:"1"!==e.attributes.objects&&void 0,scenarios:"1"!==e.attributes.scenarios&&void 0,selectLockedCells:"1"!==e.attributes.selectLockedCells&&void 0,selectUnlockedCells:"1"!==e.attributes.selectUnlockedCells&&void 0,formatCells:d(e.attributes.formatCells,"0"),formatColumns:d(e.attributes.formatColumns,"0"),formatRows:d(e.attributes.formatRows,"0"),insertColumns:d(e.attributes.insertColumns,"0"),insertRows:d(e.attributes.insertRows,"0"),insertHyperlinks:d(e.attributes.insertHyperlinks,"0"),deleteColumns:d(e.attributes.deleteColumns,"0"),deleteRows:d(e.attributes.deleteRows,"0"),sort:d(e.attributes.sort,"0"),autoFilter:d(e.attributes.autoFilter,"0"),pivotTables:d(e.attributes.pivotTables,"0")},e.attributes.algorithmName&&(this.model.algorithmName=e.attributes.algorithmName,this.model.hashValue=e.attributes.hashValue,this.model.saltValue=e.attributes.saltValue,this.model.spinCount=parseInt(e.attributes.spinCount,10)),!0;default:return!1}}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(){return!1}},{key:"tag",get:function(){return"sheetProtection"}}])&&s(t.prototype,n),r&&s(t,r),l}(e("../base-xform"));t.exports=f},{"../../../utils/under-dash":25,"../base-xform":31}],112:[function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t){return(o=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function a(e){var t=function(){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(e){return!1}}();return function(){var n,r=l(e);if(t){var i=l(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return c(this,n)}}function c(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function l(e){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var u=e("../../../utils/col-cache"),h=e("../base-xform"),d={frozen:"frozen",frozenSplit:"frozen",split:"split"},f=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&o(e,t)}(l,e);var t,n,r,c=a(l);function l(){return i(this,l),c.apply(this,arguments)}return t=l,(n=[{key:"prepare",value:function(e){switch(e.state){case"frozen":case"split":break;default:e.state="normal"}}},{key:"render",value:function(e,t){e.openNode("sheetView",{workbookViewId:t.workbookViewId||0});var n,r,i,s,o=function(t,n,r){r&&e.addAttribute(t,n)};switch(o("rightToLeft","1",!0===t.rightToLeft),o("tabSelected","1",t.tabSelected),o("showRuler","0",!1===t.showRuler),o("showRowColHeaders","0",!1===t.showRowColHeaders),o("showGridLines","0",!1===t.showGridLines),o("zoomScale",t.zoomScale,t.zoomScale),o("zoomScaleNormal",t.zoomScaleNormal,t.zoomScaleNormal),o("view",t.style,t.style),t.state){case"frozen":r=t.xSplit||0,i=t.ySplit||0,n=t.topLeftCell||u.getAddress(i+1,r+1).address,s=(t.xSplit&&t.ySplit?"bottomRight":t.xSplit&&"topRight")||"bottomLeft",e.leafNode("pane",{xSplit:t.xSplit||void 0,ySplit:t.ySplit||void 0,topLeftCell:n,activePane:s,state:"frozen"}),e.leafNode("selection",{pane:s,activeCell:t.activeCell,sqref:t.activeCell});break;case"split":"topLeft"===t.activePane&&(t.activePane=void 0),e.leafNode("pane",{xSplit:t.xSplit||void 0,ySplit:t.ySplit||void 0,topLeftCell:t.topLeftCell,activePane:t.activePane}),e.leafNode("selection",{pane:t.activePane,activeCell:t.activeCell,sqref:t.activeCell});break;case"normal":t.activeCell&&e.leafNode("selection",{activeCell:t.activeCell,sqref:t.activeCell})}e.closeNode()}},{key:"parseOpen",value:function(e){switch(e.name){case"sheetView":return this.sheetView={workbookViewId:parseInt(e.attributes.workbookViewId,10),rightToLeft:"1"===e.attributes.rightToLeft,tabSelected:"1"===e.attributes.tabSelected,showRuler:!("0"===e.attributes.showRuler),showRowColHeaders:!("0"===e.attributes.showRowColHeaders),showGridLines:!("0"===e.attributes.showGridLines),zoomScale:parseInt(e.attributes.zoomScale||"100",10),zoomScaleNormal:parseInt(e.attributes.zoomScaleNormal||"100",10),style:e.attributes.view},this.pane=void 0,this.selections={},!0;case"pane":return this.pane={xSplit:parseInt(e.attributes.xSplit||"0",10),ySplit:parseInt(e.attributes.ySplit||"0",10),topLeftCell:e.attributes.topLeftCell,activePane:e.attributes.activePane||"topLeft",state:e.attributes.state},!0;case"selection":var t=e.attributes.pane||"topLeft";return this.selections[t]={pane:t,activeCell:e.attributes.activeCell},!0;default:return!1}}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(e){var t,n;switch(e){case"sheetView":return this.sheetView&&this.pane?(t=this.model={workbookViewId:this.sheetView.workbookViewId,rightToLeft:this.sheetView.rightToLeft,state:d[this.pane.state]||"split",xSplit:this.pane.xSplit,ySplit:this.pane.ySplit,topLeftCell:this.pane.topLeftCell,showRuler:this.sheetView.showRuler,showRowColHeaders:this.sheetView.showRowColHeaders,showGridLines:this.sheetView.showGridLines,zoomScale:this.sheetView.zoomScale,zoomScaleNormal:this.sheetView.zoomScaleNormal},"split"===this.model.state&&(t.activePane=this.pane.activePane),(n=this.selections[this.pane.activePane])&&n.activeCell&&(t.activeCell=n.activeCell),this.sheetView.style&&(t.style=this.sheetView.style)):(t=this.model={workbookViewId:this.sheetView.workbookViewId,rightToLeft:this.sheetView.rightToLeft,state:"normal",showRuler:this.sheetView.showRuler,showRowColHeaders:this.sheetView.showRowColHeaders,showGridLines:this.sheetView.showGridLines,zoomScale:this.sheetView.zoomScale,zoomScaleNormal:this.sheetView.zoomScaleNormal},(n=this.selections.topLeft)&&n.activeCell&&(t.activeCell=n.activeCell),this.sheetView.style&&(t.style=this.sheetView.style)),!1;default:return!0}}},{key:"reconcile",value:function(){}},{key:"tag",get:function(){return"sheetView"}}])&&s(t.prototype,n),r&&s(t,r),l}(h);t.exports=f},{"../../../utils/col-cache":19,"../base-xform":31}],113:[function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t){return(o=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function a(e){var t=function(){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(e){return!1}}();return function(){var n,r=l(e);if(t){var i=l(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return c(this,n)}}function c(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function l(e){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var u=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&o(e,t)}(l,e);var t,n,r,c=a(l);function l(){return i(this,l),c.apply(this,arguments)}return t=l,(n=[{key:"render",value:function(e,t){t&&e.leafNode(this.tag,{"r:id":t.rId})}},{key:"parseOpen",value:function(e){switch(e.name){case this.tag:return this.model={rId:e.attributes["r:id"]},!0;default:return!1}}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(){return!1}},{key:"tag",get:function(){return"tablePart"}}])&&s(t.prototype,n),r&&s(t,r),l}(e("../base-xform"));t.exports=u},{"../base-xform":31}],114:[function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function o(e){var t=function(){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(e){return!1}}();return function(){var n,r=c(e);if(t){var i=c(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return a(this,n)}}function a(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function c(e){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var l=e("../../../utils/under-dash"),u=e("../../../utils/col-cache"),h=e("../../../utils/xml-stream"),d=e("../../rel-type"),f=e("./merges"),p=e("../base-xform"),m=e("../list-xform"),g=e("./row-xform"),v=e("./col-xform"),y=e("./dimension-xform"),b=e("./hyperlink-xform"),_=e("./merge-cell-xform"),w=e("./data-validations-xform"),S=e("./sheet-properties-xform"),x=e("./sheet-format-properties-xform"),O=e("./sheet-view-xform"),k=e("./sheet-protection-xform"),C=e("./page-margins-xform"),M=e("./page-setup-xform"),E=e("./print-options-xform"),T=e("./auto-filter-xform"),j=e("./picture-xform"),D=e("./drawing-xform"),A=e("./table-part-xform"),L=e("./row-breaks-xform"),z=e("./header-footer-xform"),P=e("./cf/conditional-formattings-xform"),I=e("./ext-lst-xform"),R=function(e,t){if(!t||!t.length)return e;if(!e||!e.length)return t;var n={},r={};return e.forEach(function(e){n[e.ref]=e,e.rules.forEach(function(e){var t=e.x14Id;t&&(r[t]=e)})}),t.forEach(function(t){t.rules.forEach(function(i){var s=r[i.x14Id];s?function(e,t){Object.keys(t).forEach(function(n){var r=e[n],i=t[n];void 0===r&&void 0!==i&&(e[n]=i)})}(s,i):n[t.ref]?n[t.ref].rules.push(i):e.push({ref:t.ref,rules:[i]})})}),e},N=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&s(e,t)}(c,e);var t,n,r,a=o(c);function c(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),t=a.call(this);var n=e||{},r=n.maxRows,i=n.maxCols;return t.map={sheetPr:new S,dimension:new y,sheetViews:new m({tag:"sheetViews",count:!1,childXform:new O}),sheetFormatPr:new x,cols:new m({tag:"cols",count:!1,childXform:new v}),sheetData:new m({tag:"sheetData",count:!1,empty:!0,childXform:new g({maxItems:i}),maxItems:r}),autoFilter:new T,mergeCells:new m({tag:"mergeCells",count:!0,childXform:new _}),rowBreaks:new L,hyperlinks:new m({tag:"hyperlinks",count:!1,childXform:new b}),pageMargins:new C,dataValidations:new w,pageSetup:new M,headerFooter:new z,printOptions:new E,picture:new j,drawing:new D,sheetProtection:new k,tableParts:new m({tag:"tableParts",count:!0,childXform:new A}),conditionalFormatting:new P,extLst:new I},t}return t=c,(n=[{key:"prepare",value:function(e,t){var n=this;t.merges=new f,e.hyperlinks=t.hyperlinks=[],e.comments=t.comments=[],t.formulae={},t.siFormulae=0,this.map.cols.prepare(e.cols,t),this.map.sheetData.prepare(e.rows,t),this.map.conditionalFormatting.prepare(e.conditionalFormattings,t),e.mergeCells=t.merges.mergeCells;var r=e.rels=[];function i(e){return"rId".concat(e.length+1)}if(e.hyperlinks.forEach(function(e){var t=i(r);e.rId=t,r.push({Id:t,Type:d.Hyperlink,Target:e.target,TargetMode:"External"})}),e.comments.length>0){var s={Id:i(r),Type:d.Comments,Target:"../comments".concat(e.id,".xml")};r.push(s);var o={Id:i(r),Type:d.VmlDrawing,Target:"../drawings/vmlDrawing".concat(e.id,".vml")};r.push(o),e.comments.forEach(function(e){e.refAddress=u.decodeAddress(e.ref)}),t.commentRefs.push({commentName:"comments".concat(e.id),vmlDrawing:"vmlDrawing".concat(e.id)})}var a,c=[];e.media.forEach(function(s){if("background"===s.type){var o=i(r);a=t.media[s.imageId],r.push({Id:o,Type:d.Image,Target:"../media/".concat(a.name,".").concat(a.extension)}),e.background={rId:o},e.image=t.media[s.imageId]}else if("image"===s.type){var l=e.drawing;a=t.media[s.imageId],l||(l=e.drawing={rId:i(r),name:"drawing".concat(++t.drawingsCount),anchors:[],rels:[]},t.drawings.push(l),r.push({Id:l.rId,Type:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/drawing",Target:"../drawings/".concat(l.name,".xml")}));var u=n.preImageId===s.imageId?c[s.imageId]:c[l.rels.length];u||(u=i(l.rels),c[l.rels.length]=u,l.rels.push({Id:u,Type:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/image",Target:"../media/".concat(a.name,".").concat(a.extension)}));var h={picture:{rId:u},range:s.range};if(s.hyperlinks&&s.hyperlinks.hyperlink){var f=i(l.rels);c[l.rels.length]=f,h.picture.hyperlinks={tooltip:s.hyperlinks.tooltip,rId:f},l.rels.push({Id:f,Type:d.Hyperlink,Target:s.hyperlinks.hyperlink,TargetMode:"External"})}n.preImageId=s.imageId,l.anchors.push(h)}}),e.tables.forEach(function(e){var n=i(r);e.rId=n,r.push({Id:n,Type:d.Table,Target:"../tables/".concat(e.target)}),e.columns.forEach(function(e){var n=e.style;n&&(e.dxfId=t.styles.addDxfStyle(n))})}),this.map.extLst.prepare(e,t)}},{key:"render",value:function(e,t){e.openXml(h.StdDocAttributes),e.openNode("worksheet",c.WORKSHEET_ATTRIBUTES);var n=t.properties?{defaultRowHeight:t.properties.defaultRowHeight,dyDescent:t.properties.dyDescent,outlineLevelCol:t.properties.outlineLevelCol,outlineLevelRow:t.properties.outlineLevelRow}:void 0;t.properties&&t.properties.defaultColWidth&&(n.defaultColWidth=t.properties.defaultColWidth);var r={outlineProperties:t.properties&&t.properties.outlineProperties,tabColor:t.properties&&t.properties.tabColor,pageSetup:t.pageSetup&&t.pageSetup.fitToPage?{fitToPage:t.pageSetup.fitToPage}:void 0},i=t.pageSetup&&t.pageSetup.margins,s={showRowColHeaders:t.pageSetup&&t.pageSetup.showRowColHeaders,showGridLines:t.pageSetup&&t.pageSetup.showGridLines,horizontalCentered:t.pageSetup&&t.pageSetup.horizontalCentered,verticalCentered:t.pageSetup&&t.pageSetup.verticalCentered},o=t.sheetProtection;this.map.sheetPr.render(e,r),this.map.dimension.render(e,t.dimensions),this.map.sheetViews.render(e,t.views),this.map.sheetFormatPr.render(e,n),this.map.cols.render(e,t.cols),this.map.sheetData.render(e,t.rows),this.map.sheetProtection.render(e,o),this.map.autoFilter.render(e,t.autoFilter),this.map.mergeCells.render(e,t.mergeCells),this.map.conditionalFormatting.render(e,t.conditionalFormattings),this.map.dataValidations.render(e,t.dataValidations),this.map.hyperlinks.render(e,t.hyperlinks),this.map.printOptions.render(e,s),this.map.pageMargins.render(e,i),this.map.pageSetup.render(e,t.pageSetup),this.map.headerFooter.render(e,t.headerFooter),this.map.rowBreaks.render(e,t.rowBreaks),this.map.drawing.render(e,t.drawing),this.map.picture.render(e,t.background),this.map.tableParts.render(e,t.tables),this.map.extLst.render(e,t),t.rels&&t.rels.forEach(function(t){t.Type===d.VmlDrawing&&e.leafNode("legacyDrawing",{"r:id":t.Id})}),e.closeNode()}},{key:"parseOpen",value:function(e){return this.parser?(this.parser.parseOpen(e),!0):"worksheet"===e.name?(l.each(this.map,function(e){e.reset()}),!0):(this.parser=this.map[e.name],this.parser&&this.parser.parseOpen(e),!0)}},{key:"parseText",value:function(e){this.parser&&this.parser.parseText(e)}},{key:"parseClose",value:function(e){if(this.parser)return this.parser.parseClose(e)||(this.parser=void 0),!0;switch(e){case"worksheet":var t=this.map.sheetFormatPr.model||{};this.map.sheetPr.model&&this.map.sheetPr.model.tabColor&&(t.tabColor=this.map.sheetPr.model.tabColor),this.map.sheetPr.model&&this.map.sheetPr.model.outlineProperties&&(t.outlineProperties=this.map.sheetPr.model.outlineProperties);var n={fitToPage:this.map.sheetPr.model&&this.map.sheetPr.model.pageSetup&&this.map.sheetPr.model.pageSetup.fitToPage||!1,margins:this.map.pageMargins.model},r=Object.assign(n,this.map.pageSetup.model,this.map.printOptions.model),i=R(this.map.conditionalFormatting.model,this.map.extLst.model&&this.map.extLst.model["x14:conditionalFormattings"]);return this.model={dimensions:this.map.dimension.model,cols:this.map.cols.model,rows:this.map.sheetData.model,mergeCells:this.map.mergeCells.model,hyperlinks:this.map.hyperlinks.model,dataValidations:this.map.dataValidations.model,properties:t,views:this.map.sheetViews.model,pageSetup:r,headerFooter:this.map.headerFooter.model,background:this.map.picture.model,drawing:this.map.drawing.model,tables:this.map.tableParts.model,conditionalFormattings:i},this.map.autoFilter.model&&(this.model.autoFilter=this.map.autoFilter.model),this.map.sheetProtection.model&&(this.model.sheetProtection=this.map.sheetProtection.model),!1;default:return!0}}},{key:"reconcile",value:function(e,t){var n=(e.relationships||[]).reduce(function(n,r){if(n[r.Id]=r,r.Type===d.Comments&&(e.comments=t.comments[r.Target].comments),r.Type===d.VmlDrawing&&e.comments&&e.comments.length){var i=t.vmlDrawings[r.Target].comments;e.comments.forEach(function(e,t){e.note=Object.assign({},e.note,i[t])})}return n},{});if(t.commentsMap=(e.comments||[]).reduce(function(e,t){return t.ref&&(e[t.ref]=t),e},{}),t.hyperlinkMap=(e.hyperlinks||[]).reduce(function(e,t){return t.rId&&(e[t.address]=n[t.rId].Target),e},{}),t.formulae={},e.rows=e.rows&&e.rows.filter(Boolean)||[],e.rows.forEach(function(e){e.cells=e.cells&&e.cells.filter(Boolean)||[]}),this.map.cols.reconcile(e.cols,t),this.map.sheetData.reconcile(e.rows,t),this.map.conditionalFormatting.reconcile(e.conditionalFormattings,t),e.media=[],e.drawing){var r=n[e.drawing.rId].Target.match(/\/drawings\/([a-zA-Z0-9]+)[.][a-zA-Z]{3,4}$/);if(r){var i=r[1];t.drawings[i].anchors.forEach(function(t){if(t.medium){var n={type:"image",imageId:t.medium.index,range:t.range,hyperlinks:t.picture.hyperlinks};e.media.push(n)}})}}var s=e.background&&n[e.background.rId];if(s){var o=s.Target.split("/media/")[1],a=t.mediaIndex&&t.mediaIndex[o];void 0!==a&&e.media.push({type:"background",imageId:a})}e.tables=(e.tables||[]).map(function(e){var r=n[e.rId];return t.tables[r.Target]}),delete e.relationships,delete e.hyperlinks,delete e.comments}}])&&i(t.prototype,n),r&&i(t,r),c}(p);N.WORKSHEET_ATTRIBUTES={xmlns:"http://schemas.openxmlformats.org/spreadsheetml/2006/main","xmlns:r":"http://schemas.openxmlformats.org/officeDocument/2006/relationships","xmlns:mc":"http://schemas.openxmlformats.org/markup-compatibility/2006","mc:Ignorable":"x14ac","xmlns:x14ac":"http://schemas.microsoft.com/office/spreadsheetml/2009/9/ac"},t.exports=N},{"../../../utils/col-cache":19,"../../../utils/under-dash":25,"../../../utils/xml-stream":27,"../../rel-type":30,"../base-xform":31,"../list-xform":70,"./auto-filter-xform":71,"./cf/conditional-formattings-xform":86,"./col-xform":91,"./data-validations-xform":92,"./dimension-xform":93,"./drawing-xform":94,"./ext-lst-xform":95,"./header-footer-xform":96,"./hyperlink-xform":97,"./merge-cell-xform":98,"./merges":99,"./page-margins-xform":102,"./page-setup-xform":104,"./picture-xform":105,"./print-options-xform":106,"./row-breaks-xform":107,"./row-xform":108,"./sheet-format-properties-xform":109,"./sheet-properties-xform":110,"./sheet-protection-xform":111,"./sheet-view-xform":112,"./table-part-xform":113}],115:[function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function o(e){var t=function(){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(e){return!1}}();return function(){var n,r=c(e);if(t){var i=c(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return a(this,n)}}function a(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function c(e){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var l=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&s(e,t)}(c,e);var t,n,r,a=o(c);function c(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),(t=a.call(this)).tag=e.tag,t.attr=e.attr,t}return t=c,(n=[{key:"render",value:function(e,t){t&&(e.openNode(this.tag),e.closeNode())}},{key:"parseOpen",value:function(e){e.name===this.tag&&(this.model=!0)}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(){return!1}}])&&i(t.prototype,n),r&&i(t,r),c}(e("../base-xform"));t.exports=l},{"../base-xform":31}],116:[function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function o(e){var t=function(){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(e){return!1}}();return function(){var n,r=c(e);if(t){var i=c(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return a(this,n)}}function a(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function c(e){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var l=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&s(e,t)}(c,e);var t,n,r,a=o(c);function c(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),(t=a.call(this)).tag=e.tag,t.attr=e.attr,t.attrs=e.attrs,t._format=e.format||function(e){try{return Number.isNaN(e.getTime())?"":e.toISOString()}catch(e){return""}},t._parse=e.parse||function(e){return new Date(e)},t}return t=c,(n=[{key:"render",value:function(e,t){t&&(e.openNode(this.tag),this.attrs&&e.addAttributes(this.attrs),this.attr?e.addAttribute(this.attr,this._format(t)):e.writeText(this._format(t)),e.closeNode())}},{key:"parseOpen",value:function(e){e.name===this.tag&&(this.attr?this.model=this._parse(e.attributes[this.attr]):this.text=[])}},{key:"parseText",value:function(e){this.attr||this.text.push(e)}},{key:"parseClose",value:function(){return this.attr||(this.model=this._parse(this.text.join(""))),!1}}])&&i(t.prototype,n),r&&i(t,r),c}(e("../base-xform"));t.exports=l},{"../base-xform":31}],117:[function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function o(e){var t=function(){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(e){return!1}}();return function(){var n,r=c(e);if(t){var i=c(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return a(this,n)}}function a(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function c(e){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var l=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&s(e,t)}(c,e);var t,n,r,a=o(c);function c(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),(t=a.call(this)).tag=e.tag,t.attr=e.attr,t.attrs=e.attrs,t.zero=e.zero,t}return t=c,(n=[{key:"render",value:function(e,t){(t||this.zero)&&(e.openNode(this.tag),this.attrs&&e.addAttributes(this.attrs),this.attr?e.addAttribute(this.attr,t):e.writeText(t),e.closeNode())}},{key:"parseOpen",value:function(e){return e.name===this.tag&&(this.attr?this.model=parseInt(e.attributes[this.attr],10):this.text=[],!0)}},{key:"parseText",value:function(e){this.attr||this.text.push(e)}},{key:"parseClose",value:function(){return this.attr||(this.model=parseInt(this.text.join("")||0,10)),!1}}])&&i(t.prototype,n),r&&i(t,r),c}(e("../base-xform"));t.exports=l},{"../base-xform":31}],118:[function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function o(e){var t=function(){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(e){return!1}}();return function(){var n,r=c(e);if(t){var i=c(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return a(this,n)}}function a(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function c(e){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var l=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&s(e,t)}(c,e);var t,n,r,a=o(c);function c(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),(t=a.call(this)).tag=e.tag,t.attr=e.attr,t.attrs=e.attrs,t}return t=c,(n=[{key:"render",value:function(e,t){void 0!==t&&(e.openNode(this.tag),this.attrs&&e.addAttributes(this.attrs),this.attr?e.addAttribute(this.attr,t):e.writeText(t),e.closeNode())}},{key:"parseOpen",value:function(e){e.name===this.tag&&(this.attr?this.model=e.attributes[this.attr]:this.text=[])}},{key:"parseText",value:function(e){this.attr||this.text.push(e)}},{key:"parseClose",value:function(){return this.attr||(this.model=this.text.join("")),!1}}])&&i(t.prototype,n),r&&i(t,r),c}(e("../base-xform"));t.exports=l},{"../base-xform":31}],119:[function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function o(e){var t=function(){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(e){return!1}}();return function(){var n,r=c(e);if(t){var i=c(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return a(this,n)}}function a(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function c(e){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var l=e("./base-xform"),u=e("../../utils/xml-stream"),h=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&s(e,t)}(c,e);var t,n,r,a=o(c);function c(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),(t=a.call(this))._model=e,t}return t=c,(n=[{key:"render",value:function(e){if(!this._xml){var t=new u;!function e(t,n){t.openNode(n.tag,n.$),n.c&&n.c.forEach(function(n){e(t,n)}),n.t&&t.writeText(n.t),t.closeNode()}(t,this._model),this._xml=t.xml}e.writeXml(this._xml)}},{key:"parseOpen",value:function(){return!0}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(e){switch(e){case this._model.tag:return!1;default:return!0}}}])&&i(t.prototype,n),r&&i(t,r),c}(l);t.exports=h},{"../../utils/xml-stream":27,"./base-xform":31}],120:[function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function o(e){var t=function(){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(e){return!1}}();return function(){var n,r=c(e);if(t){var i=c(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return a(this,n)}}function a(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function c(e){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var l=e("./text-xform"),u=e("./rich-text-xform"),h=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&s(e,t)}(c,e);var t,n,r,a=o(c);function c(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),(e=a.call(this)).map={r:new u,t:new l},e}return t=c,(n=[{key:"render",value:function(e,t){if(e.openNode(this.tag,{sb:t.sb||0,eb:t.eb||0}),t&&t.hasOwnProperty("richText")&&t.richText){var n=this.map.r;t.richText.forEach(function(t){n.render(e,t)})}else t&&this.map.t.render(e,t.text);e.closeNode()}},{key:"parseOpen",value:function(e){var t=e.name;return this.parser?(this.parser.parseOpen(e),!0):t===this.tag?(this.model={sb:parseInt(e.attributes.sb,10),eb:parseInt(e.attributes.eb,10)},!0):(this.parser=this.map[t],!!this.parser&&(this.parser.parseOpen(e),!0))}},{key:"parseText",value:function(e){this.parser&&this.parser.parseText(e)}},{key:"parseClose",value:function(e){if(this.parser){if(!this.parser.parseClose(e)){switch(e){case"r":var t=this.model.richText;t||(t=this.model.richText=[]),t.push(this.parser.model);break;case"t":this.model.text=this.parser.model}this.parser=void 0}return!0}switch(e){case this.tag:return!1;default:return!0}}},{key:"tag",get:function(){return"rPh"}}])&&i(t.prototype,n),r&&i(t,r),c}(e("../base-xform"));t.exports=h},{"../base-xform":31,"./rich-text-xform":121,"./text-xform":124}],121:[function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function o(e){var t=function(){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(e){return!1}}();return function(){var n,r=c(e);if(t){var i=c(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return a(this,n)}}function a(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function c(e){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var l=e("./text-xform"),u=e("../style/font-xform"),h=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&s(e,t)}(c,e);var t,n,r,a=o(c);function c(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),(t=a.call(this)).model=e,t}return t=c,(n=[{key:"render",value:function(e,t){t=t||this.model,e.openNode("r"),t.font&&this.fontXform.render(e,t.font),this.textXform.render(e,t.text),e.closeNode()}},{key:"parseOpen",value:function(e){if(this.parser)return this.parser.parseOpen(e),!0;switch(e.name){case"r":return this.model={},!0;case"t":return this.parser=this.textXform,this.parser.parseOpen(e),!0;case"rPr":return this.parser=this.fontXform,this.parser.parseOpen(e),!0;default:return!1}}},{key:"parseText",value:function(e){this.parser&&this.parser.parseText(e)}},{key:"parseClose",value:function(e){switch(e){case"r":return!1;case"t":return this.model.text=this.parser.model,this.parser=void 0,!0;case"rPr":return this.model.font=this.parser.model,this.parser=void 0,!0;default:return this.parser&&this.parser.parseClose(e),!0}}},{key:"tag",get:function(){return"r"}},{key:"textXform",get:function(){return this._textXform||(this._textXform=new l)}},{key:"fontXform",get:function(){return this._fontXform||(this._fontXform=new u(c.FONT_OPTIONS))}}])&&i(t.prototype,n),r&&i(t,r),c}(e("../base-xform"));h.FONT_OPTIONS={tagName:"rPr",fontNameTag:"rFont"},t.exports=h},{"../base-xform":31,"../style/font-xform":130,"./text-xform":124}],122:[function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function o(e){var t=function(){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(e){return!1}}();return function(){var n,r=c(e);if(t){var i=c(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return a(this,n)}}function a(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function c(e){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var l=e("./text-xform"),u=e("./rich-text-xform"),h=e("./phonetic-text-xform"),d=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&s(e,t)}(c,e);var t,n,r,a=o(c);function c(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),(t=a.call(this)).model=e,t.map={r:new u,t:new l,rPh:new h},t}return t=c,(n=[{key:"render",value:function(e,t){var n=this;e.openNode(this.tag),t&&t.hasOwnProperty("richText")&&t.richText?t.richText.length?t.richText.forEach(function(t){n.map.r.render(e,t)}):this.map.t.render(e,""):null!=t&&this.map.t.render(e,t),e.closeNode()}},{key:"parseOpen",value:function(e){var t=e.name;return this.parser?(this.parser.parseOpen(e),!0):t===this.tag?(this.model={},!0):(this.parser=this.map[t],!!this.parser&&(this.parser.parseOpen(e),!0))}},{key:"parseText",value:function(e){this.parser&&this.parser.parseText(e)}},{key:"parseClose",value:function(e){if(this.parser){if(!this.parser.parseClose(e)){switch(e){case"r":var t=this.model.richText;t||(t=this.model.richText=[]),t.push(this.parser.model);break;case"t":this.model=this.parser.model}this.parser=void 0}return!0}switch(e){case this.tag:return!1;default:return!0}}},{key:"tag",get:function(){return"si"}}])&&i(t.prototype,n),r&&i(t,r),c}(e("../base-xform"));t.exports=d},{"../base-xform":31,"./phonetic-text-xform":120,"./rich-text-xform":121,"./text-xform":124}],123:[function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function o(e){var t=function(){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(e){return!1}}();return function(){var n,r=c(e);if(t){var i=c(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return a(this,n)}}function a(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function c(e){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var l=e("../../../utils/xml-stream"),u=e("../base-xform"),h=e("./shared-string-xform"),d=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&s(e,t)}(c,e);var t,n,r,a=o(c);function c(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),(t=a.call(this)).model=e||{values:[],count:0},t.hash=Object.create(null),t.rich=Object.create(null),t}return t=c,(n=[{key:"getString",value:function(e){return this.model.values[e]}},{key:"add",value:function(e){return e.richText?this.addRichText(e):this.addText(e)}},{key:"addText",value:function(e){var t=this.hash[e];return void 0===t&&(t=this.hash[e]=this.model.values.length,this.model.values.push(e)),this.model.count++,t}},{key:"addRichText",value:function(e){var t=this.sharedStringXform.toXml(e),n=this.rich[t];return void 0===n&&(n=this.rich[t]=this.model.values.length,this.model.values.push(e)),this.model.count++,n}},{key:"render",value:function(e,t){t=t||this._values,e.openXml(l.StdDocAttributes),e.openNode("sst",{xmlns:"http://schemas.openxmlformats.org/spreadsheetml/2006/main",count:t.count,uniqueCount:t.values.length});var n=this.sharedStringXform;t.values.forEach(function(t){n.render(e,t)}),e.closeNode()}},{key:"parseOpen",value:function(e){if(this.parser)return this.parser.parseOpen(e),!0;switch(e.name){case"sst":return!0;case"si":return this.parser=this.sharedStringXform,this.parser.parseOpen(e),!0;default:throw new Error("Unexpected xml node in parseOpen: ".concat(JSON.stringify(e)))}}},{key:"parseText",value:function(e){this.parser&&this.parser.parseText(e)}},{key:"parseClose",value:function(e){if(this.parser)return this.parser.parseClose(e)||(this.model.values.push(this.parser.model),this.model.count++,this.parser=void 0),!0;switch(e){case"sst":return!1;default:throw new Error("Unexpected xml node in parseClose: ".concat(e))}}},{key:"sharedStringXform",get:function(){return this._sharedStringXform||(this._sharedStringXform=new h)}},{key:"values",get:function(){return this.model.values}},{key:"uniqueCount",get:function(){return this.model.values.length}},{key:"count",get:function(){return this.model.count}}])&&i(t.prototype,n),r&&i(t,r),c}(u);t.exports=d},{"../../../utils/xml-stream":27,"../base-xform":31,"./shared-string-xform":122}],124:[function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t){return(o=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function a(e){var t=function(){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(e){return!1}}();return function(){var n,r=l(e);if(t){var i=l(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return c(this,n)}}function c(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function l(e){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var u=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&o(e,t)}(l,e);var t,n,r,c=a(l);function l(){return i(this,l),c.apply(this,arguments)}return t=l,(n=[{key:"render",value:function(e,t){e.openNode("t"),/^\s|\n|\s$/.test(t)&&e.addAttribute("xml:space","preserve"),e.writeText(t),e.closeNode()}},{key:"parseOpen",value:function(e){switch(e.name){case"t":return this._text=[],!0;default:return!1}}},{key:"parseText",value:function(e){this._text.push(e)}},{key:"parseClose",value:function(){return!1}},{key:"tag",get:function(){return"t"}},{key:"model",get:function(){return this._text.join("").replace(/_x([0-9A-F]{4})_/g,function(e,t){return String.fromCharCode(parseInt(t,16))})}}])&&s(t.prototype,n),r&&s(t,r),l}(e("../base-xform"));t.exports=u},{"../base-xform":31}],125:[function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t){return(o=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function a(e){var t=function(){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(e){return!1}}();return function(){var n,r=l(e);if(t){var i=l(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return c(this,n)}}function c(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function l(e){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var u=e("../../../doc/enums"),h=e("../../../utils/utils"),d=e("../base-xform"),f={horizontalValues:["left","center","right","fill","centerContinuous","distributed","justify"].reduce(function(e,t){return e[t]=!0,e},{}),horizontal:function(e){return this.horizontalValues[e]?e:void 0},verticalValues:["top","middle","bottom","distributed","justify"].reduce(function(e,t){return e[t]=!0,e},{}),vertical:function(e){return"middle"===e?"center":this.verticalValues[e]?e:void 0},wrapText:function(e){return!!e||void 0},shrinkToFit:function(e){return!!e||void 0},textRotation:function(e){switch(e){case"vertical":return e;default:return(e=h.validInt(e))>=-90&&e<=90?e:void 0}},indent:function(e){return e=h.validInt(e),Math.max(0,e)},readingOrder:function(e){switch(e){case"ltr":return u.ReadingOrder.LeftToRight;case"rtl":return u.ReadingOrder.RightToLeft;default:return}}},p=function(e){if(e=f.textRotation(e)){if("vertical"===e)return 255;var t=Math.round(e);if(t>=0&&t<=90)return t;if(t<0&&t>=-90)return 90-t}},m=function(e){var t=h.validInt(e);if(void 0!==t){if(255===t)return"vertical";if(t>=0&&t<=90)return t;if(t>90&&t<=180)return 90-t}},g=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&o(e,t)}(l,e);var t,n,r,c=a(l);function l(){return i(this,l),c.apply(this,arguments)}return t=l,(n=[{key:"render",value:function(e,t){e.addRollback(),e.openNode("alignment");var n=!1;function r(t,r){r&&(e.addAttribute(t,r),n=!0)}r("horizontal",f.horizontal(t.horizontal)),r("vertical",f.vertical(t.vertical)),r("wrapText",!!f.wrapText(t.wrapText)&&"1"),r("shrinkToFit",!!f.shrinkToFit(t.shrinkToFit)&&"1"),r("indent",f.indent(t.indent)),r("textRotation",p(t.textRotation)),r("readingOrder",f.readingOrder(t.readingOrder)),e.closeNode(),n?e.commit():e.rollback()}},{key:"parseOpen",value:function(e){var t={},n=!1;function r(e,r,i){e&&(t[r]=i,n=!0)}r(e.attributes.horizontal,"horizontal",e.attributes.horizontal),r(e.attributes.vertical,"vertical","center"===e.attributes.vertical?"middle":e.attributes.vertical),r(e.attributes.wrapText,"wrapText",!!e.attributes.wrapText),r(e.attributes.shrinkToFit,"shrinkToFit",!!e.attributes.shrinkToFit),r(e.attributes.indent,"indent",parseInt(e.attributes.indent,10)),r(e.attributes.textRotation,"textRotation",m(e.attributes.textRotation)),r(e.attributes.readingOrder,"readingOrder","2"===e.attributes.readingOrder?"rtl":"ltr"),this.model=n?t:null}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(){return!1}},{key:"tag",get:function(){return"alignment"}}])&&s(t.prototype,n),r&&s(t,r),l}(d);t.exports=g},{"../../../doc/enums":7,"../../../utils/utils":26,"../base-xform":31}],126:[function(e,t,n){"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach(function(t){s(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function s(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function l(e,t,n){return t&&c(e.prototype,t),n&&c(e,n),e}function u(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&h(e,t)}function h(e,t){return(h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function d(e){var t=function(){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(e){return!1}}();return function(){var n,r=p(e);if(t){var i=p(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return f(this,n)}}function f(e,t){return!t||"object"!==o(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function p(e){return(p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var m=e("../base-xform"),g=e("./color-xform"),v=function(e){u(n,e);var t=d(n);function n(e){var r;return a(this,n),(r=t.call(this)).name=e,r.map={color:new g},r}return l(n,[{key:"render",value:function(e,t,n){var r=t&&t.color||n||this.defaultColor;e.openNode(this.name),t&&t.style&&(e.addAttribute("style",t.style),r&&this.map.color.render(e,r)),e.closeNode()}},{key:"parseOpen",value:function(e){if(this.parser)return this.parser.parseOpen(e),!0;switch(e.name){case this.name:var t=e.attributes.style;return this.model=t?{style:t}:void 0,!0;case"color":return this.parser=this.map.color,this.parser.parseOpen(e),!0;default:return!1}}},{key:"parseText",value:function(e){this.parser&&this.parser.parseText(e)}},{key:"parseClose",value:function(e){return this.parser?(this.parser.parseClose(e)||(this.parser=void 0),!0):(e===this.name&&this.map.color.model&&(this.model||(this.model={}),this.model.color=this.map.color.model),!1)}},{key:"validStyle",value:function(e){return n.validStyleValues[e]}},{key:"tag",get:function(){return this.name}}]),n}(m);v.validStyleValues=["thin","dotted","dashDot","hair","dashDotDot","slantDashDot","mediumDashed","mediumDashDotDot","mediumDashDot","medium","double","thick"].reduce(function(e,t){return e[t]=!0,e},{});var y=function(e){u(n,e);var t=d(n);function n(){var e;return a(this,n),(e=t.call(this)).map={top:new v("top"),left:new v("left"),bottom:new v("bottom"),right:new v("right"),diagonal:new v("diagonal")},e}return l(n,[{key:"render",value:function(e,t){var n=t.color;function r(r,s){r&&!r.color&&t.color&&(r=i(i({},r),{},{color:t.color})),s.render(e,r,n)}e.openNode("border"),t.diagonal&&t.diagonal.style&&(t.diagonal.up&&e.addAttribute("diagonalUp","1"),t.diagonal.down&&e.addAttribute("diagonalDown","1")),r(t.left,this.map.left),r(t.right,this.map.right),r(t.top,this.map.top),r(t.bottom,this.map.bottom),r(t.diagonal,this.map.diagonal),e.closeNode()}},{key:"parseOpen",value:function(e){if(this.parser)return this.parser.parseOpen(e),!0;switch(e.name){case"border":return this.reset(),this.diagonalUp=!!e.attributes.diagonalUp,this.diagonalDown=!!e.attributes.diagonalDown,!0;default:return this.parser=this.map[e.name],!!this.parser&&(this.parser.parseOpen(e),!0)}}},{key:"parseText",value:function(e){this.parser&&this.parser.parseText(e)}},{key:"parseClose",value:function(e){if(this.parser)return this.parser.parseClose(e)||(this.parser=void 0),!0;if("border"===e){var t=this.model={},n=function(e,n,r){n&&(r&&Object.assign(n,r),t[e]=n)};n("left",this.map.left.model),n("right",this.map.right.model),n("top",this.map.top.model),n("bottom",this.map.bottom.model),n("diagonal",this.map.diagonal.model,{up:this.diagonalUp,down:this.diagonalDown})}return!1}}]),n}(m);t.exports=y},{"../base-xform":31,"./color-xform":127}],127:[function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function o(e){var t=function(){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(e){return!1}}();return function(){var n,r=c(e);if(t){var i=c(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return a(this,n)}}function a(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function c(e){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var l=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&s(e,t)}(c,e);var t,n,r,a=o(c);function c(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),(t=a.call(this)).name=e||"color",t}return t=c,(n=[{key:"render",value:function(e,t){return!!t&&(e.openNode(this.name),t.argb?e.addAttribute("rgb",t.argb):void 0!==t.theme?(e.addAttribute("theme",t.theme),void 0!==t.tint&&e.addAttribute("tint",t.tint)):void 0!==t.indexed?e.addAttribute("indexed",t.indexed):e.addAttribute("auto","1"),e.closeNode(),!0)}},{key:"parseOpen",value:function(e){return e.name===this.name&&(e.attributes.rgb?this.model={argb:e.attributes.rgb}:e.attributes.theme?(this.model={theme:parseInt(e.attributes.theme,10)},e.attributes.tint&&(this.model.tint=parseFloat(e.attributes.tint))):e.attributes.indexed?this.model={indexed:parseInt(e.attributes.indexed,10)}:this.model=void 0,!0)}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(){return!1}},{key:"tag",get:function(){return this.name}}])&&i(t.prototype,n),r&&i(t,r),c}(e("../base-xform"));t.exports=l},{"../base-xform":31}],128:[function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function o(e){var t=function(){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(e){return!1}}();return function(){var n,r=c(e);if(t){var i=c(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return a(this,n)}}function a(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function c(e){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var l=e("../base-xform"),u=e("./alignment-xform"),h=e("./border-xform"),d=e("./fill-xform"),f=e("./font-xform"),p=e("./numfmt-xform"),m=e("./protection-xform"),g=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&s(e,t)}(c,e);var t,n,r,a=o(c);function c(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),(e=a.call(this)).map={alignment:new u,border:new h,fill:new d,font:new f,numFmt:new p,protection:new m},e}return t=c,(n=[{key:"render",value:function(e,t){e.openNode(this.tag),t.font&&this.map.font.render(e,t.font),t.numFmt&&this.map.numFmt.render(e,t.numFmt),t.fill&&this.map.fill.render(e,t.fill),t.alignment&&this.map.alignment.render(e,t.alignment),t.border&&this.map.border.render(e,t.border),t.protection&&this.map.protection.render(e,t.protection),e.closeNode()}},{key:"parseOpen",value:function(e){if(this.parser)return this.parser.parseOpen(e),!0;switch(e.name){case this.tag:return this.reset(),!0;default:return this.parser=this.map[e.name],this.parser&&this.parser.parseOpen(e),!0}}},{key:"parseText",value:function(e){this.parser&&this.parser.parseText(e)}},{key:"parseClose",value:function(e){return this.parser?(this.parser.parseClose(e)||(this.parser=void 0),!0):e!==this.tag||(this.model={alignment:this.map.alignment.model,border:this.map.border.model,fill:this.map.fill.model,font:this.map.font.model,numFmt:this.map.numFmt.model,protection:this.map.protection.model},!1)}},{key:"tag",get:function(){return"dxf"}}])&&i(t.prototype,n),r&&i(t,r),c}(l);t.exports=g},{"../base-xform":31,"./alignment-xform":125,"./border-xform":126,"./fill-xform":129,"./font-xform":130,"./numfmt-xform":131,"./protection-xform":132}],129:[function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t,n){return t&&s(e.prototype,t),n&&s(e,n),e}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&c(e,t)}function c(e,t){return(c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function l(e){var t=function(){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(e){return!1}}();return function(){var n,r=h(e);if(t){var i=h(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return u(this,n)}}function u(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function h(e){return(h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var d=e("../base-xform"),f=e("./color-xform"),p=function(e){a(n,e);var t=l(n);function n(){var e;return i(this,n),(e=t.call(this)).map={color:new f},e}return o(n,[{key:"render",value:function(e,t){e.openNode("stop"),e.addAttribute("position",t.position),this.map.color.render(e,t.color),e.closeNode()}},{key:"parseOpen",value:function(e){if(this.parser)return this.parser.parseOpen(e),!0;switch(e.name){case"stop":return this.model={position:parseFloat(e.attributes.position)},!0;case"color":return this.parser=this.map.color,this.parser.parseOpen(e),!0;default:return!1}}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(e){return!!this.parser&&(this.parser.parseClose(e)||(this.model.color=this.parser.model,this.parser=void 0),!0)}},{key:"tag",get:function(){return"stop"}}]),n}(d),m=function(e){a(n,e);var t=l(n);function n(){var e;return i(this,n),(e=t.call(this)).map={fgColor:new f("fgColor"),bgColor:new f("bgColor")},e}return o(n,[{key:"render",value:function(e,t){e.openNode("patternFill"),e.addAttribute("patternType",t.pattern),t.fgColor&&this.map.fgColor.render(e,t.fgColor),t.bgColor&&this.map.bgColor.render(e,t.bgColor),e.closeNode()}},{key:"parseOpen",value:function(e){if(this.parser)return this.parser.parseOpen(e),!0;switch(e.name){case"patternFill":return this.model={type:"pattern",pattern:e.attributes.patternType},!0;default:return this.parser=this.map[e.name],!!this.parser&&(this.parser.parseOpen(e),!0)}}},{key:"parseText",value:function(e){this.parser&&this.parser.parseText(e)}},{key:"parseClose",value:function(e){return!!this.parser&&(this.parser.parseClose(e)||(this.parser.model&&(this.model[e]=this.parser.model),this.parser=void 0),!0)}},{key:"name",get:function(){return"pattern"}},{key:"tag",get:function(){return"patternFill"}}]),n}(d),g=function(e){a(n,e);var t=l(n);function n(){var e;return i(this,n),(e=t.call(this)).map={stop:new p},e}return o(n,[{key:"render",value:function(e,t){switch(e.openNode("gradientFill"),t.gradient){case"angle":e.addAttribute("degree",t.degree);break;case"path":e.addAttribute("type","path"),t.center.left&&(e.addAttribute("left",t.center.left),void 0===t.center.right&&e.addAttribute("right",t.center.left)),t.center.right&&e.addAttribute("right",t.center.right),t.center.top&&(e.addAttribute("top",t.center.top),void 0===t.center.bottom&&e.addAttribute("bottom",t.center.top)),t.center.bottom&&e.addAttribute("bottom",t.center.bottom)}var n=this.map.stop;t.stops.forEach(function(t){n.render(e,t)}),e.closeNode()}},{key:"parseOpen",value:function(e){if(this.parser)return this.parser.parseOpen(e),!0;switch(e.name){case"gradientFill":var t=this.model={stops:[]};return e.attributes.degree?(t.gradient="angle",t.degree=parseInt(e.attributes.degree,10)):"path"===e.attributes.type&&(t.gradient="path",t.center={left:e.attributes.left?parseFloat(e.attributes.left):0,top:e.attributes.top?parseFloat(e.attributes.top):0},e.attributes.right!==e.attributes.left&&(t.center.right=e.attributes.right?parseFloat(e.attributes.right):0),e.attributes.bottom!==e.attributes.top&&(t.center.bottom=e.attributes.bottom?parseFloat(e.attributes.bottom):0)),!0;case"stop":return this.parser=this.map.stop,this.parser.parseOpen(e),!0;default:return!1}}},{key:"parseText",value:function(e){this.parser&&this.parser.parseText(e)}},{key:"parseClose",value:function(e){return!!this.parser&&(this.parser.parseClose(e)||(this.model.stops.push(this.parser.model),this.parser=void 0),!0)}},{key:"name",get:function(){return"gradient"}},{key:"tag",get:function(){return"gradientFill"}}]),n}(d),v=function(e){a(n,e);var t=l(n);function n(){var e;return i(this,n),(e=t.call(this)).map={patternFill:new m,gradientFill:new g},e}return o(n,[{key:"render",value:function(e,t){switch(e.addRollback(),e.openNode("fill"),t.type){case"pattern":this.map.patternFill.render(e,t);break;case"gradient":this.map.gradientFill.render(e,t);break;default:return void e.rollback()}e.closeNode(),e.commit()}},{key:"parseOpen",value:function(e){if(this.parser)return this.parser.parseOpen(e),!0;switch(e.name){case"fill":return this.model={},!0;default:return this.parser=this.map[e.name],!!this.parser&&(this.parser.parseOpen(e),!0)}}},{key:"parseText",value:function(e){this.parser&&this.parser.parseText(e)}},{key:"parseClose",value:function(e){return!!this.parser&&(this.parser.parseClose(e)||(this.model=this.parser.model,this.model.type=this.parser.name,this.parser=void 0),!0)}},{key:"validStyle",value:function(e){return n.validPatternValues[e]}},{key:"tag",get:function(){return"fill"}}]),n}(d);v.validPatternValues=["none","solid","darkVertical","darkGray","mediumGray","lightGray","gray125","gray0625","darkHorizontal","darkVertical","darkDown","darkUp","darkGrid","darkTrellis","lightHorizontal","lightVertical","lightDown","lightUp","lightGrid","lightTrellis","lightGrid"].reduce(function(e,t){return e[t]=!0,e},{}),v.StopXform=p,v.PatternFillXform=m,v.GradientFillXform=g,t.exports=v},{"../base-xform":31,"./color-xform":127}],130:[function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function o(e){var t=function(){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(e){return!1}}();return function(){var n,r=c(e);if(t){var i=c(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return a(this,n)}}function a(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function c(e){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var l=e("./color-xform"),u=e("../simple/boolean-xform"),h=e("../simple/integer-xform"),d=e("../simple/string-xform"),f=e("./underline-xform"),p=e("../../../utils/under-dash"),m=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&s(e,t)}(c,e);var t,n,r,a=o(c);function c(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),(t=a.call(this)).options=e||c.OPTIONS,t.map={b:{prop:"bold",xform:new u({tag:"b",attr:"val"})},i:{prop:"italic",xform:new u({tag:"i",attr:"val"})},u:{prop:"underline",xform:new f},charset:{prop:"charset",xform:new h({tag:"charset",attr:"val"})},color:{prop:"color",xform:new l},condense:{prop:"condense",xform:new u({tag:"condense",attr:"val"})},extend:{prop:"extend",xform:new u({tag:"extend",attr:"val"})},family:{prop:"family",xform:new h({tag:"family",attr:"val"})},outline:{prop:"outline",xform:new u({tag:"outline",attr:"val"})},vertAlign:{prop:"vertAlign",xform:new d({tag:"vertAlign",attr:"val"})},scheme:{prop:"scheme",xform:new d({tag:"scheme",attr:"val"})},shadow:{prop:"shadow",xform:new u({tag:"shadow",attr:"val"})},strike:{prop:"strike",xform:new u({tag:"strike",attr:"val"})},sz:{prop:"size",xform:new h({tag:"sz",attr:"val"})}},t.map[t.options.fontNameTag]={prop:"name",xform:new d({tag:t.options.fontNameTag,attr:"val"})},t}return t=c,(n=[{key:"render",value:function(e,t){var n=this.map;e.openNode(this.options.tagName),p.each(this.map,function(r,i){n[i].xform.render(e,t[r.prop])}),e.closeNode()}},{key:"parseOpen",value:function(e){if(this.parser)return this.parser.parseOpen(e),!0;if(this.map[e.name])return this.parser=this.map[e.name].xform,this.parser.parseOpen(e);switch(e.name){case this.options.tagName:return this.model={},!0;default:return!1}}},{key:"parseText",value:function(e){this.parser&&this.parser.parseText(e)}},{key:"parseClose",value:function(e){if(this.parser&&!this.parser.parseClose(e)){var t=this.map[e];return this.parser.model&&(this.model[t.prop]=this.parser.model),this.parser=void 0,!0}switch(e){case this.options.tagName:return!1;default:return!0}}},{key:"tag",get:function(){return this.options.tagName}}])&&i(t.prototype,n),r&&i(t,r),c}(e("../base-xform"));m.OPTIONS={tagName:"font",fontNameTag:"name"},t.exports=m},{"../../../utils/under-dash":25,"../base-xform":31,"../simple/boolean-xform":115,"../simple/integer-xform":117,"../simple/string-xform":118,"./color-xform":127,"./underline-xform":135}],131:[function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function o(e){var t=function(){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(e){return!1}}();return function(){var n,r=c(e);if(t){var i=c(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return a(this,n)}}function a(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function c(e){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var l,u=e("../../../utils/under-dash"),h=e("../../defaultnumformats"),d=e("../base-xform"),f=(l={},u.each(h,function(e,t){e.f&&(l[e.f]=parseInt(t,10))}),l),p=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&s(e,t)}(c,e);var t,n,r,a=o(c);function c(e,t){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),(n=a.call(this)).id=e,n.formatCode=t,n}return t=c,(n=[{key:"render",value:function(e,t){e.leafNode("numFmt",{numFmtId:t.id,formatCode:t.formatCode})}},{key:"parseOpen",value:function(e){switch(e.name){case"numFmt":return this.model={id:parseInt(e.attributes.numFmtId,10),formatCode:e.attributes.formatCode.replace(/[\\](.)/g,"$1")},!0;default:return!1}}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(){return!1}},{key:"tag",get:function(){return"numFmt"}}])&&i(t.prototype,n),r&&i(t,r),c}(d);p.getDefaultFmtId=function(e){return f[e]},p.getDefaultFmtCode=function(e){return h[e]&&h[e].f},t.exports=p},{"../../../utils/under-dash":25,"../../defaultnumformats":29,"../base-xform":31}],132:[function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t){return(o=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function a(e){var t=function(){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(e){return!1}}();return function(){var n,r=l(e);if(t){var i=l(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return c(this,n)}}function c(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function l(e){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var u=e("../base-xform"),h=function(e,t){return void 0===e?t:e},d=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&o(e,t)}(l,e);var t,n,r,c=a(l);function l(){return i(this,l),c.apply(this,arguments)}return t=l,(n=[{key:"render",value:function(e,t){e.addRollback(),e.openNode("protection");var n=!1;function r(t,r){void 0!==r&&(e.addAttribute(t,r),n=!0)}r("locked",h(t.locked,!0)?void 0:"0"),r("hidden",h(t.hidden,!1)?"1":void 0),e.closeNode(),n?e.commit():e.rollback()}},{key:"parseOpen",value:function(e){var t={locked:!("0"===e.attributes.locked),hidden:"1"===e.attributes.hidden},n=!t.locked||t.hidden;this.model=n?t:null}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(){return!1}},{key:"tag",get:function(){return"protection"}}])&&s(t.prototype,n),r&&s(t,r),l}(u);t.exports=d},{"../base-xform":31}],133:[function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function o(e){var t=function(){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(e){return!1}}();return function(){var n,r=c(e);if(t){var i=c(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return a(this,n)}}function a(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function c(e){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var l=e("../base-xform"),u=e("./alignment-xform"),h=e("./protection-xform"),d=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&s(e,t)}(c,e);var t,n,r,a=o(c);function c(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),(t=a.call(this)).xfId=!(!e||!e.xfId),t.map={alignment:new u,protection:new h},t}return t=c,(n=[{key:"render",value:function(e,t){e.openNode("xf",{numFmtId:t.numFmtId||0,fontId:t.fontId||0,fillId:t.fillId||0,borderId:t.borderId||0}),this.xfId&&e.addAttribute("xfId",t.xfId||0),t.numFmtId&&e.addAttribute("applyNumberFormat","1"),t.fontId&&e.addAttribute("applyFont","1"),t.fillId&&e.addAttribute("applyFill","1"),t.borderId&&e.addAttribute("applyBorder","1"),t.alignment&&e.addAttribute("applyAlignment","1"),t.protection&&e.addAttribute("applyProtection","1"),t.alignment&&this.map.alignment.render(e,t.alignment),t.protection&&this.map.protection.render(e,t.protection),e.closeNode()}},{key:"parseOpen",value:function(e){if(this.parser)return this.parser.parseOpen(e),!0;switch(e.name){case"xf":return this.model={numFmtId:parseInt(e.attributes.numFmtId,10),fontId:parseInt(e.attributes.fontId,10),fillId:parseInt(e.attributes.fillId,10),borderId:parseInt(e.attributes.borderId,10)},this.xfId&&(this.model.xfId=parseInt(e.attributes.xfId,10)),!0;case"alignment":return this.parser=this.map.alignment,this.parser.parseOpen(e),!0;case"protection":return this.parser=this.map.protection,this.parser.parseOpen(e),!0;default:return!1}}},{key:"parseText",value:function(e){this.parser&&this.parser.parseText(e)}},{key:"parseClose",value:function(e){return this.parser?(this.parser.parseClose(e)||(this.map.protection===this.parser?this.model.protection=this.parser.model:this.model.alignment=this.parser.model,this.parser=void 0),!0):"xf"!==e}},{key:"tag",get:function(){return"xf"}}])&&i(t.prototype,n),r&&i(t,r),c}(l);t.exports=d},{"../base-xform":31,"./alignment-xform":125,"./protection-xform":132}],134:[function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t,n){return t&&s(e.prototype,t),n&&s(e,n),e}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&c(e,t)}function c(e,t){return(c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function l(e){var t=function(){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(e){return!1}}();return function(){var n,r=h(e);if(t){var i=h(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return u(this,n)}}function u(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function h(e){return(h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var d=e("../../../doc/enums"),f=e("../../../utils/xml-stream"),p=e("../base-xform"),m=e("../static-xform"),g=e("../list-xform"),v=e("./font-xform"),y=e("./fill-xform"),b=e("./border-xform"),_=e("./numfmt-xform"),w=e("./style-xform"),S=e("./dxf-xform"),x=function(e){a(n,e);var t=l(n);function n(e){var r;return i(this,n),(r=t.call(this)).map={numFmts:new g({tag:"numFmts",count:!0,childXform:new _}),fonts:new g({tag:"fonts",count:!0,childXform:new v,$:{"x14ac:knownFonts":1}}),fills:new g({tag:"fills",count:!0,childXform:new y}),borders:new g({tag:"borders",count:!0,childXform:new b}),cellStyleXfs:new g({tag:"cellStyleXfs",count:!0,childXform:new w}),cellXfs:new g({tag:"cellXfs",count:!0,childXform:new w({xfId:!0})}),dxfs:new g({tag:"dxfs",always:!0,count:!0,childXform:new S}),numFmt:new _,font:new v,fill:new y,border:new b,style:new w({xfId:!0}),cellStyles:n.STATIC_XFORMS.cellStyles,tableStyles:n.STATIC_XFORMS.tableStyles,extLst:n.STATIC_XFORMS.extLst},e&&r.init(),r}return o(n,[{key:"initIndex",value:function(){this.index={style:{},numFmt:{},numFmtNextId:164,font:{},border:{},fill:{}}}},{key:"init",value:function(){this.model={styles:[],numFmts:[],fonts:[],borders:[],fills:[],dxfs:[]},this.initIndex(),this._addBorder({}),this._addStyle({numFmtId:0,fontId:0,fillId:0,borderId:0,xfId:0}),this._addFill({type:"pattern",pattern:"none"}),this._addFill({type:"pattern",pattern:"gray125"}),this.weakMap=new WeakMap}},{key:"render",value:function(e,t){t=t||this.model,e.openXml(f.StdDocAttributes),e.openNode("styleSheet",n.STYLESHEET_ATTRIBUTES),this.index?(t.numFmts&&t.numFmts.length&&(e.openNode("numFmts",{count:t.numFmts.length}),t.numFmts.forEach(function(t){e.writeXml(t)}),e.closeNode()),t.fonts.length||this._addFont({size:11,color:{theme:1},name:"Calibri",family:2,scheme:"minor"}),e.openNode("fonts",{count:t.fonts.length,"x14ac:knownFonts":1}),t.fonts.forEach(function(t){e.writeXml(t)}),e.closeNode(),e.openNode("fills",{count:t.fills.length}),t.fills.forEach(function(t){e.writeXml(t)}),e.closeNode(),e.openNode("borders",{count:t.borders.length}),t.borders.forEach(function(t){e.writeXml(t)}),e.closeNode(),this.map.cellStyleXfs.render(e,[{numFmtId:0,fontId:0,fillId:0,borderId:0,xfId:0}]),e.openNode("cellXfs",{count:t.styles.length}),t.styles.forEach(function(t){e.writeXml(t)}),e.closeNode()):(this.map.numFmts.render(e,t.numFmts),this.map.fonts.render(e,t.fonts),this.map.fills.render(e,t.fills),this.map.borders.render(e,t.borders),this.map.cellStyleXfs.render(e,[{numFmtId:0,fontId:0,fillId:0,borderId:0,xfId:0}]),this.map.cellXfs.render(e,t.styles)),n.STATIC_XFORMS.cellStyles.render(e),this.map.dxfs.render(e,t.dxfs),n.STATIC_XFORMS.tableStyles.render(e),n.STATIC_XFORMS.extLst.render(e),e.closeNode()}},{key:"parseOpen",value:function(e){if(this.parser)return this.parser.parseOpen(e),!0;switch(e.name){case"styleSheet":return this.initIndex(),!0;default:return this.parser=this.map[e.name],this.parser&&this.parser.parseOpen(e),!0}}},{key:"parseText",value:function(e){this.parser&&this.parser.parseText(e)}},{key:"parseClose",value:function(e){var t=this;if(this.parser)return this.parser.parseClose(e)||(this.parser=void 0),!0;switch(e){case"styleSheet":this.model={};var n=function(e,n){n.model&&n.model.length&&(t.model[e]=n.model)};if(n("numFmts",this.map.numFmts),n("fonts",this.map.fonts),n("fills",this.map.fills),n("borders",this.map.borders),n("styles",this.map.cellXfs),n("dxfs",this.map.dxfs),this.index={model:[],numFmt:[]},this.model.numFmts){var r=this.index.numFmt;this.model.numFmts.forEach(function(e){r[e.id]=e.formatCode})}return!1;default:return!0}}},{key:"addStyleModel",value:function(e,t){if(!e)return 0;if(this.model.fonts.length||this._addFont({size:11,color:{theme:1},name:"Calibri",family:2,scheme:"minor"}),this.weakMap&&this.weakMap.has(e))return this.weakMap.get(e);var n={};if(t=t||d.ValueType.Number,e.numFmt)n.numFmtId=this._addNumFmtStr(e.numFmt);else switch(t){case d.ValueType.Number:n.numFmtId=this._addNumFmtStr("General");break;case d.ValueType.Date:n.numFmtId=this._addNumFmtStr("mm-dd-yy")}e.font&&(n.fontId=this._addFont(e.font)),e.border&&(n.borderId=this._addBorder(e.border)),e.fill&&(n.fillId=this._addFill(e.fill)),e.alignment&&(n.alignment=e.alignment),e.protection&&(n.protection=e.protection);var r=this._addStyle(n);return this.weakMap&&this.weakMap.set(e,r),r}},{key:"getStyleModel",value:function(e){var t=this.model.styles[e];if(!t)return null;var n=this.index.model[e];if(n)return n;if(n=this.index.model[e]={},t.numFmtId){var r=this.index.numFmt[t.numFmtId]||_.getDefaultFmtCode(t.numFmtId);r&&(n.numFmt=r)}function i(e,t,r){if(r||0===r){var i=t[r];i&&(n[e]=i)}}return i("font",this.model.fonts,t.fontId),i("border",this.model.borders,t.borderId),i("fill",this.model.fills,t.fillId),t.alignment&&(n.alignment=t.alignment),t.protection&&(n.protection=t.protection),n}},{key:"addDxfStyle",value:function(e){return this.model.dxfs.push(e),this.model.dxfs.length-1}},{key:"getDxfStyle",value:function(e){return this.model.dxfs[e]}},{key:"_addStyle",value:function(e){var t=this.map.style.toXml(e),n=this.index.style[t];return void 0===n&&(n=this.index.style[t]=this.model.styles.length,this.model.styles.push(t)),n}},{key:"_addNumFmtStr",value:function(e){var t=_.getDefaultFmtId(e);if(void 0!==t)return t;if(void 0!==(t=this.index.numFmt[e]))return t;t=this.index.numFmt[e]=164+this.model.numFmts.length;var n=this.map.numFmt.toXml({id:t,formatCode:e});return this.model.numFmts.push(n),t}},{key:"_addFont",value:function(e){var t=this.map.font.toXml(e),n=this.index.font[t];return void 0===n&&(n=this.index.font[t]=this.model.fonts.length,this.model.fonts.push(t)),n}},{key:"_addBorder",value:function(e){var t=this.map.border.toXml(e),n=this.index.border[t];return void 0===n&&(n=this.index.border[t]=this.model.borders.length,this.model.borders.push(t)),n}},{key:"_addFill",value:function(e){var t=this.map.fill.toXml(e),n=this.index.fill[t];return void 0===n&&(n=this.index.fill[t]=this.model.fills.length,this.model.fills.push(t)),n}}]),n}(p);x.STYLESHEET_ATTRIBUTES={xmlns:"http://schemas.openxmlformats.org/spreadsheetml/2006/main","xmlns:mc":"http://schemas.openxmlformats.org/markup-compatibility/2006","mc:Ignorable":"x14ac x16r2","xmlns:x14ac":"http://schemas.microsoft.com/office/spreadsheetml/2009/9/ac","xmlns:x16r2":"http://schemas.microsoft.com/office/spreadsheetml/2015/02/main"},x.STATIC_XFORMS={cellStyles:new m({tag:"cellStyles",$:{count:1},c:[{tag:"cellStyle",$:{name:"Normal",xfId:0,builtinId:0}}]}),dxfs:new m({tag:"dxfs",$:{count:0}}),tableStyles:new m({tag:"tableStyles",$:{count:0,defaultTableStyle:"TableStyleMedium2",defaultPivotStyle:"PivotStyleLight16"}}),extLst:new m({tag:"extLst",c:[{tag:"ext",$:{uri:"{EB79DEF2-80B8-43e5-95BD-54CBDDF9020C}","xmlns:x14":"http://schemas.microsoft.com/office/spreadsheetml/2009/9/main"},c:[{tag:"x14:slicerStyles",$:{defaultSlicerStyle:"SlicerStyleLight1"}}]},{tag:"ext",$:{uri:"{9260A510-F301-46a8-8635-F512D64BE5F5}","xmlns:x15":"http://schemas.microsoft.com/office/spreadsheetml/2010/11/main"},c:[{tag:"x15:timelineStyles",$:{defaultTimelineStyle:"TimeSlicerStyleLight1"}}]}]})};var O=function(e){a(n,e);var t=l(n);function n(){var e;return i(this,n),(e=t.call(this)).model={styles:[{numFmtId:0,fontId:0,fillId:0,borderId:0,xfId:0}],numFmts:[],fonts:[{size:11,color:{theme:1},name:"Calibri",family:2,scheme:"minor"}],borders:[{}],fills:[{type:"pattern",pattern:"none"},{type:"pattern",pattern:"gray125"}]},e}return o(n,[{key:"parseStream",value:function(e){return e.autodrain(),Promise.resolve()}},{key:"addStyleModel",value:function(e,t){switch(t){case d.ValueType.Date:return this.dateStyleId;default:return 0}}},{key:"getStyleModel",value:function(){return{}}},{key:"dateStyleId",get:function(){if(!this._dateStyleId){var e={numFmtId:_.getDefaultFmtId("mm-dd-yy")};this._dateStyleId=this.model.styles.length,this.model.styles.push(e)}return this._dateStyleId}}]),n}(x);x.Mock=O,t.exports=x},{"../../../doc/enums":7,"../../../utils/xml-stream":27,"../base-xform":31,"../list-xform":70,"../static-xform":119,"./border-xform":126,"./dxf-xform":128,"./fill-xform":129,"./font-xform":130,"./numfmt-xform":131,"./style-xform":133}],135:[function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function o(e){var t=function(){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(e){return!1}}();return function(){var n,r=c(e);if(t){var i=c(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return a(this,n)}}function a(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function c(e){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var l=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&s(e,t)}(c,e);var t,n,r,a=o(c);function c(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),(t=a.call(this)).model=e,t}return t=c,(n=[{key:"render",value:function(e,t){if(!0===(t=t||this.model))e.leafNode("u");else{var n=c.Attributes[t];n&&e.leafNode("u",n)}}},{key:"parseOpen",value:function(e){"u"===e.name&&(this.model=e.attributes.val||!0)}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(){return!1}},{key:"tag",get:function(){return"u"}}])&&i(t.prototype,n),r&&i(t,r),c}(e("../base-xform"));l.Attributes={single:{},double:{val:"double"},singleAccounting:{val:"singleAccounting"},doubleAccounting:{val:"doubleAccounting"}},t.exports=l},{"../base-xform":31}],136:[function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function o(e){var t=function(){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(e){return!1}}();return function(){var n,r=c(e);if(t){var i=c(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return a(this,n)}}function a(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function c(e){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var l=e("../base-xform"),u=e("./filter-column-xform"),h=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&s(e,t)}(c,e);var t,n,r,a=o(c);function c(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),(e=a.call(this)).map={filterColumn:new u},e}return t=c,(n=[{key:"prepare",value:function(e){var t=this;e.columns.forEach(function(e,n){t.map.filterColumn.prepare(e,{index:n})})}},{key:"render",value:function(e,t){var n=this;return e.openNode(this.tag,{ref:t.autoFilterRef}),t.columns.forEach(function(t){n.map.filterColumn.render(e,t)}),e.closeNode(),!0}},{key:"parseOpen",value:function(e){if(this.parser)return this.parser.parseOpen(e),!0;switch(e.name){case this.tag:return this.model={autoFilterRef:e.attributes.ref,columns:[]},!0;default:if(this.parser=this.map[e.name],this.parser)return this.parseOpen(e),!0;throw new Error("Unexpected xml node in parseOpen: ".concat(JSON.stringify(e)))}}},{key:"parseText",value:function(e){this.parser&&this.parser.parseText(e)}},{key:"parseClose",value:function(e){if(this.parser)return this.parser.parseClose(e)||(this.model.columns.push(this.parser.model),this.parser=void 0),!0;switch(e){case this.tag:return!1;default:throw new Error("Unexpected xml node in parseClose: ".concat(e))}}},{key:"tag",get:function(){return"autoFilter"}}])&&i(t.prototype,n),r&&i(t,r),c}(l);t.exports=h},{"../base-xform":31,"./filter-column-xform":137}],137:[function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t){return(o=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function a(e){var t=function(){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(e){return!1}}();return function(){var n,r=l(e);if(t){var i=l(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return c(this,n)}}function c(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function l(e){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var u=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&o(e,t)}(l,e);var t,n,r,c=a(l);function l(){return i(this,l),c.apply(this,arguments)}return t=l,(n=[{key:"prepare",value:function(e,t){e.colId=t.index.toString()}},{key:"render",value:function(e,t){return e.leafNode(this.tag,{colId:t.colId,hiddenButton:t.filterButton?"0":"1"}),!0}},{key:"parseOpen",value:function(e){if(e.name===this.tag){var t=e.attributes;return this.model={filterButton:"0"===t.hiddenButton},!0}return!1}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(){return!1}},{key:"tag",get:function(){return"filterColumn"}}])&&s(t.prototype,n),r&&s(t,r),l}(e("../base-xform"));t.exports=u},{"../base-xform":31}],138:[function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t){return(o=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function a(e){var t=function(){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(e){return!1}}();return function(){var n,r=l(e);if(t){var i=l(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return c(this,n)}}function c(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function l(e){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var u=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&o(e,t)}(l,e);var t,n,r,c=a(l);function l(){return i(this,l),c.apply(this,arguments)}return t=l,(n=[{key:"prepare",value:function(e,t){e.id=t.index+1}},{key:"render",value:function(e,t){return e.leafNode(this.tag,{id:t.id.toString(),name:t.name,totalsRowLabel:t.totalsRowLabel,totalsRowFunction:t.totalsRowFunction,dxfId:t.dxfId}),!0}},{key:"parseOpen",value:function(e){if(e.name===this.tag){var t=e.attributes;return this.model={name:t.name,totalsRowLabel:t.totalsRowLabel,totalsRowFunction:t.totalsRowFunction,dxfId:t.dxfId},!0}return!1}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(){return!1}},{key:"tag",get:function(){return"tableColumn"}}])&&s(t.prototype,n),r&&s(t,r),l}(e("../base-xform"));t.exports=u},{"../base-xform":31}],139:[function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t){return(o=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function a(e){var t=function(){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(e){return!1}}();return function(){var n,r=l(e);if(t){var i=l(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return c(this,n)}}function c(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function l(e){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var u=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&o(e,t)}(l,e);var t,n,r,c=a(l);function l(){return i(this,l),c.apply(this,arguments)}return t=l,(n=[{key:"render",value:function(e,t){return e.leafNode(this.tag,{name:t.theme?t.theme:void 0,showFirstColumn:t.showFirstColumn?"1":"0",showLastColumn:t.showLastColumn?"1":"0",showRowStripes:t.showRowStripes?"1":"0",showColumnStripes:t.showColumnStripes?"1":"0"}),!0}},{key:"parseOpen",value:function(e){if(e.name===this.tag){var t=e.attributes;return this.model={theme:t.name?t.name:null,showFirstColumn:"1"===t.showFirstColumn,showLastColumn:"1"===t.showLastColumn,showRowStripes:"1"===t.showRowStripes,showColumnStripes:"1"===t.showColumnStripes},!0}return!1}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(){return!1}},{key:"tag",get:function(){return"tableStyleInfo"}}])&&s(t.prototype,n),r&&s(t,r),l}(e("../base-xform"));t.exports=u},{"../base-xform":31}],140:[function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach(function(t){o(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function c(e,t){return(c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function l(e){var t=function(){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(e){return!1}}();return function(){var n,r=h(e);if(t){var i=h(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return u(this,n)}}function u(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function h(e){return(h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var d=e("../../../utils/xml-stream"),f=e("../base-xform"),p=e("../list-xform"),m=e("./auto-filter-xform"),g=e("./table-column-xform"),v=e("./table-style-info-xform"),y=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&c(e,t)}(o,e);var t,n,r,i=l(o);function o(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,o),(e=i.call(this)).map={autoFilter:new m,tableColumns:new p({tag:"tableColumns",count:!0,empty:!0,childXform:new g}),tableStyleInfo:new v},e}return t=o,(n=[{key:"prepare",value:function(e,t){this.map.autoFilter.prepare(e),this.map.tableColumns.prepare(e.columns,t)}},{key:"render",value:function(e,t){e.openXml(d.StdDocAttributes),e.openNode(this.tag,s(s({},o.TABLE_ATTRIBUTES),{},{id:t.id,name:t.name,displayName:t.displayName||t.name,ref:t.tableRef,totalsRowCount:t.totalsRow?"1":void 0,totalsRowShown:t.totalsRow?void 0:"1",headerRowCount:t.headerRow?"1":"0"})),this.map.autoFilter.render(e,t),this.map.tableColumns.render(e,t.columns),this.map.tableStyleInfo.render(e,t.style),e.closeNode()}},{key:"parseOpen",value:function(e){if(this.parser)return this.parser.parseOpen(e),!0;var t=e.name,n=e.attributes;switch(t){case this.tag:this.reset(),this.model={name:n.name,displayName:n.displayName||n.name,tableRef:n.ref,totalsRow:"1"===n.totalsRowCount,headerRow:"1"===n.headerRowCount};break;default:this.parser=this.map[e.name],this.parser&&this.parser.parseOpen(e)}return!0}},{key:"parseText",value:function(e){this.parser&&this.parser.parseText(e)}},{key:"parseClose",value:function(e){var t=this;if(this.parser)return this.parser.parseClose(e)||(this.parser=void 0),!0;switch(e){case this.tag:return this.model.columns=this.map.tableColumns.model,this.map.autoFilter.model&&(this.model.autoFilterRef=this.map.autoFilter.model.autoFilterRef,this.map.autoFilter.model.columns.forEach(function(e,n){t.model.columns[n].filterButton=e.filterButton})),this.model.style=this.map.tableStyleInfo.model,!1;default:return!0}}},{key:"reconcile",value:function(e,t){e.columns.forEach(function(e){void 0!==e.dxfId&&(e.style=t.styles.getDxfStyle(e.dxfId))})}},{key:"tag",get:function(){return"table"}}])&&a(t.prototype,n),r&&a(t,r),o}(f);y.TABLE_ATTRIBUTES={xmlns:"http://schemas.openxmlformats.org/spreadsheetml/2006/main","xmlns:mc":"http://schemas.openxmlformats.org/markup-compatibility/2006","mc:Ignorable":"xr xr3","xmlns:xr":"http://schemas.microsoft.com/office/spreadsheetml/2014/revision","xmlns:xr3":"http://schemas.microsoft.com/office/spreadsheetml/2016/revision3"},t.exports=y},{"../../../utils/xml-stream":27,"../base-xform":31,"../list-xform":70,"./auto-filter-xform":136,"./table-column-xform":138,"./table-style-info-xform":139}],141:[function(e,t,n){(function(n,r){"use strict";function i(e,t,n,r,i,s,o){try{var a=e[s](o),c=a.value}catch(e){return void n(e)}a.done?t(c):Promise.resolve(c).then(r,i)}function s(e){return function(){var t=this,n=arguments;return new Promise(function(r,s){var o=e.apply(t,n);function a(e){i(o,r,s,a,c,"next",e)}function c(e){i(o,r,s,a,c,"throw",e)}a(void 0)})}}function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function a(e){var t;if("undefined"!=typeof Symbol){if(Symbol.asyncIterator&&null!=(t=e[Symbol.asyncIterator]))return t.call(e);if(Symbol.iterator&&null!=(t=e[Symbol.iterator]))return t.call(e)}throw new TypeError("Object is not async iterable")}var c=e("fs"),l=e("jszip"),u=e("readable-stream").PassThrough,h=e("../utils/zip-stream"),d=e("../utils/stream-buf"),f=e("../utils/utils"),p=e("../utils/xml-stream"),m=e("../utils/browser-buffer-decode").bufferToString,g=e("./xform/style/styles-xform"),v=e("./xform/core/core-xform"),y=e("./xform/strings/shared-strings-xform"),b=e("./xform/core/relationships-xform"),_=e("./xform/core/content-types-xform"),w=e("./xform/core/app-xform"),S=e("./xform/book/workbook-xform"),x=e("./xform/sheet/worksheet-xform"),O=e("./xform/drawing/drawing-xform"),k=e("./xform/table/table-xform"),C=e("./xform/comment/comments-xform"),M=e("./xform/comment/vml-notes-xform"),E=e("./xml/theme1.js");function T(e,t){return new Promise(function(n,r){c.readFile(e,t,function(e,t){e?r(e):n(t)})})}var j=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.workbook=t}var t,i,j,D,A,L,z,P,I,R,N,H,F,V,B,Y,U,W,q,$,G,X,K,J,Q,Z,ee,te;return t=e,(i=[{key:"readFile",value:(te=s(regeneratorRuntime.mark(function e(t,n){var r,i;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,f.fs.exists(t);case 2:if(e.sent){e.next=4;break}throw new Error("File not found: ".concat(t));case 4:return r=c.createReadStream(t),e.prev=5,e.next=8,this.read(r,n);case 8:return i=e.sent,r.close(),e.abrupt("return",i);case 13:throw e.prev=13,e.t0=e.catch(5),r.close(),e.t0;case 17:case"end":return e.stop()}},e,this,[[5,13]])})),function(e,t){return te.apply(this,arguments)})},{key:"parseRels",value:function(e){return(new b).parseStream(e)}},{key:"parseWorkbook",value:function(e){return(new S).parseStream(e)}},{key:"parseSharedStrings",value:function(e){return(new y).parseStream(e)}},{key:"reconcile",value:function(e,t){var n=new S,r=new x(t),i=new O,s=new k;n.reconcile(e);var o={media:e.media,mediaIndex:e.mediaIndex};Object.keys(e.drawings).forEach(function(t){var n=e.drawings[t],r=e.drawingRels[t];r&&(o.rels=r.reduce(function(e,t){return e[t.Id]=t,e},{}),(n.anchors||[]).forEach(function(e){var t=e.picture&&e.picture.hyperlinks;t&&o.rels[t.rId]&&(t.hyperlink=o.rels[t.rId].Target,delete t.rId)}),i.reconcile(n,o))});var a={styles:e.styles};Object.values(e.tables).forEach(function(e){s.reconcile(e,a)});var c={styles:e.styles,sharedStrings:e.sharedStrings,media:e.media,mediaIndex:e.mediaIndex,date1904:e.properties&&e.properties.date1904,drawings:e.drawings,comments:e.comments,tables:e.tables,vmlDrawings:e.vmlDrawings};e.worksheets.forEach(function(t){t.relationships=e.worksheetRels[t.sheetNo],r.reconcile(t,c)}),delete e.worksheetHash,delete e.worksheetRels,delete e.globalRels,delete e.sharedStrings,delete e.workbookRels,delete e.sheetDefs,delete e.styles,delete e.mediaIndex,delete e.drawings,delete e.drawingRels,delete e.vmlDrawings}},{key:"_processWorksheetEntry",value:(ee=s(regeneratorRuntime.mark(function e(t,n,r,i,s){var o,a;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return o=new x(i),e.next=3,o.parseStream(t);case 3:(a=e.sent).sheetNo=r,n.worksheetHash[s]=a,n.worksheets.push(a);case 7:case"end":return e.stop()}},e)})),function(e,t,n,r,i){return ee.apply(this,arguments)})},{key:"_processCommentEntry",value:(Z=s(regeneratorRuntime.mark(function e(t,n,r){var i,s;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return i=new C,e.next=3,i.parseStream(t);case 3:s=e.sent,n.comments["../".concat(r,".xml")]=s;case 5:case"end":return e.stop()}},e)})),function(e,t,n){return Z.apply(this,arguments)})},{key:"_processTableEntry",value:(Q=s(regeneratorRuntime.mark(function e(t,n,r){var i,s;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return i=new k,e.next=3,i.parseStream(t);case 3:s=e.sent,n.tables["../tables/".concat(r,".xml")]=s;case 5:case"end":return e.stop()}},e)})),function(e,t,n){return Q.apply(this,arguments)})},{key:"_processWorksheetRelsEntry",value:(J=s(regeneratorRuntime.mark(function e(t,n,r){var i,s;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return i=new b,e.next=3,i.parseStream(t);case 3:s=e.sent,n.worksheetRels[r]=s;case 5:case"end":return e.stop()}},e)})),function(e,t,n){return J.apply(this,arguments)})},{key:"_processMediaEntry",value:(K=s(regeneratorRuntime.mark(function e(t,n,r){var i,s,o;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!((i=r.lastIndexOf("."))>=1)){e.next=6;break}return s=r.substr(i+1),o=r.substr(0,i),e.next=6,new Promise(function(e,i){var a=new d;a.on("finish",function(){n.mediaIndex[r]=n.media.length,n.mediaIndex[o]=n.media.length;var t={type:"image",name:o,extension:s,buffer:a.toBuffer()};n.media.push(t),e()}),t.on("error",function(e){i(e)}),t.pipe(a)});case 6:case"end":return e.stop()}},e)})),function(e,t,n){return K.apply(this,arguments)})},{key:"_processDrawingEntry",value:(X=s(regeneratorRuntime.mark(function e(t,n,r){var i,s;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return i=new O,e.next=3,i.parseStream(t);case 3:s=e.sent,n.drawings[r]=s;case 5:case"end":return e.stop()}},e)})),function(e,t,n){return X.apply(this,arguments)})},{key:"_processDrawingRelsEntry",value:(G=s(regeneratorRuntime.mark(function e(t,n,r){var i,s;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return i=new b,e.next=3,i.parseStream(t);case 3:s=e.sent,n.drawingRels[r]=s;case 5:case"end":return e.stop()}},e)})),function(e,t,n){return G.apply(this,arguments)})},{key:"_processVmlDrawingEntry",value:($=s(regeneratorRuntime.mark(function e(t,n,r){var i,s;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return i=new M,e.next=3,i.parseStream(t);case 3:s=e.sent,n.vmlDrawings["../drawings/".concat(r,".vml")]=s;case 5:case"end":return e.stop()}},e)})),function(e,t,n){return $.apply(this,arguments)})},{key:"_processThemeEntry",value:(q=s(regeneratorRuntime.mark(function e(t,n,r){return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,new Promise(function(e,i){var s=new d;t.on("error",i),s.on("error",i),s.on("finish",function(){n.themes[r]=s.read().toString(),e()}),t.pipe(s)});case 2:case"end":return e.stop()}},e)})),function(e,t,n){return q.apply(this,arguments)})},{key:"createInputStream",value:function(){throw new Error("`XLSX#createInputStream` is deprecated. You should use `XLSX#read` instead. This method will be removed in version 5.0. Please follow upgrade instruction: https://github.com/exceljs/exceljs/blob/master/UPGRADE-4.0.md")}},{key:"read",value:(W=s(regeneratorRuntime.mark(function e(t,n){var i,s,o,c,l,h,d,f;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:!t[Symbol.asyncIterator]&&t.pipe&&(t=t.pipe(new u)),i=[],s=!0,o=!1,e.prev=4,l=a(t);case 6:return e.next=8,l.next();case 8:return h=e.sent,s=h.done,e.next=12,h.value;case 12:if(d=e.sent,s){e.next=19;break}f=d,i.push(f);case 16:s=!0,e.next=6;break;case 19:e.next=25;break;case 21:e.prev=21,e.t0=e.catch(4),o=!0,c=e.t0;case 25:if(e.prev=25,e.prev=26,s||null==l.return){e.next=30;break}return e.next=30,l.return();case 30:if(e.prev=30,!o){e.next=33;break}throw c;case 33:return e.finish(30);case 34:return e.finish(25);case 35:return e.abrupt("return",this.load(r.concat(i),n));case 36:case"end":return e.stop()}},e,this,[[4,21,25,35],[26,,30,34]])})),function(e,t){return W.apply(this,arguments)})},{key:"load",value:(U=s(regeneratorRuntime.mark(function e(t,i){var s,o,a,c,h,d,f,p,b,_,S,x,O,k,C,M;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return s=i&&i.base64?r.from(t.toString(),"base64"):t,o={worksheets:[],worksheetHash:{},worksheetRels:[],themes:{},media:[],mediaIndex:{},drawings:{},drawingRels:{},comments:{},tables:{},vmlDrawings:{}},e.next=4,l.loadAsync(s);case 4:a=e.sent,c=0,h=Object.values(a.files);case 6:if(!(c<h.length)){e.next=126;break}if((d=h[c]).dir){e.next=123;break}if("/"===(f=d.name)[0]&&(f=f.substr(1)),p=void 0,!f.match(/xl\/media\//)&&!f.match(/xl\/theme\/([a-zA-Z0-9]+)[.]xml/)){e.next=21;break}return p=new u,e.t0=p,e.next=17,d.async("nodebuffer");case 17:e.t1=e.sent,e.t0.write.call(e.t0,e.t1),e.next=36;break;case 21:if(p=new u({writableObjectMode:!0,readableObjectMode:!0}),b=void 0,!n.browser){e.next=31;break}return e.t2=m,e.next=27,d.async("nodebuffer");case 27:e.t3=e.sent,b=(0,e.t2)(e.t3),e.next=34;break;case 31:return e.next=33,d.async("string");case 33:b=e.sent;case 34:for(_=0;_<b.length;_+=16384)p.write(b.substring(_,_+16384));case 36:p.end(),e.t4=f,e.next="_rels/.rels"===e.t4?40:"xl/workbook.xml"===e.t4?44:"xl/_rels/workbook.xml.rels"===e.t4?53:"xl/sharedStrings.xml"===e.t4?57:"xl/styles.xml"===e.t4?61:"docProps/app.xml"===e.t4?65:"docProps/core.xml"===e.t4?72:78;break;case 40:return e.next=42,this.parseRels(p);case 42:return o.globalRels=e.sent,e.abrupt("break",123);case 44:return e.next=46,this.parseWorkbook(p);case 46:return S=e.sent,o.sheets=S.sheets,o.definedNames=S.definedNames,o.views=S.views,o.properties=S.properties,o.calcProperties=S.calcProperties,e.abrupt("break",123);case 53:return e.next=55,this.parseRels(p);case 55:return o.workbookRels=e.sent,e.abrupt("break",123);case 57:return o.sharedStrings=new y,e.next=60,o.sharedStrings.parseStream(p);case 60:return e.abrupt("break",123);case 61:return o.styles=new g,e.next=64,o.styles.parseStream(p);case 64:return e.abrupt("break",123);case 65:return x=new w,e.next=68,x.parseStream(p);case 68:return O=e.sent,o.company=O.company,o.manager=O.manager,e.abrupt("break",123);case 72:return k=new v,e.next=75,k.parseStream(p);case 75:return C=e.sent,Object.assign(o,C),e.abrupt("break",123);case 78:if(!(M=f.match(/xl\/worksheets\/sheet(\d+)[.]xml/))){e.next=83;break}return e.next=82,this._processWorksheetEntry(p,o,M[1],i,f);case 82:return e.abrupt("break",123);case 83:if(!(M=f.match(/xl\/worksheets\/_rels\/sheet(\d+)[.]xml.rels/))){e.next=88;break}return e.next=87,this._processWorksheetRelsEntry(p,o,M[1]);case 87:return e.abrupt("break",123);case 88:if(!(M=f.match(/xl\/theme\/([a-zA-Z0-9]+)[.]xml/))){e.next=93;break}return e.next=92,this._processThemeEntry(p,o,M[1]);case 92:return e.abrupt("break",123);case 93:if(!(M=f.match(/xl\/media\/([a-zA-Z0-9]+[.][a-zA-Z0-9]{3,4})$/))){e.next=98;break}return e.next=97,this._processMediaEntry(p,o,M[1]);case 97:return e.abrupt("break",123);case 98:if(!(M=f.match(/xl\/drawings\/([a-zA-Z0-9]+)[.]xml/))){e.next=103;break}return e.next=102,this._processDrawingEntry(p,o,M[1]);case 102:return e.abrupt("break",123);case 103:if(!(M=f.match(/xl\/(comments\d+)[.]xml/))){e.next=108;break}return e.next=107,this._processCommentEntry(p,o,M[1]);case 107:return e.abrupt("break",123);case 108:if(!(M=f.match(/xl\/tables\/(table\d+)[.]xml/))){e.next=113;break}return e.next=112,this._processTableEntry(p,o,M[1]);case 112:return e.abrupt("break",123);case 113:if(!(M=f.match(/xl\/drawings\/_rels\/([a-zA-Z0-9]+)[.]xml[.]rels/))){e.next=118;break}return e.next=117,this._processDrawingRelsEntry(p,o,M[1]);case 117:return e.abrupt("break",123);case 118:if(!(M=f.match(/xl\/drawings\/(vmlDrawing\d+)[.]vml/))){e.next=123;break}return e.next=122,this._processVmlDrawingEntry(p,o,M[1]);case 122:return e.abrupt("break",123);case 123:c++,e.next=6;break;case 126:return this.reconcile(o,i),this.workbook.model=o,e.abrupt("return",this.workbook);case 129:case"end":return e.stop()}},e,this)})),function(e,t){return U.apply(this,arguments)})},{key:"addMedia",value:(Y=s(regeneratorRuntime.mark(function e(t,n){return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Promise.all(n.media.map(function(){var e=s(regeneratorRuntime.mark(function e(n){var r,i,s,o;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if("image"!==n.type){e.next=13;break}if(r="xl/media/".concat(n.name,".").concat(n.extension),!n.filename){e.next=7;break}return e.next=5,T(n.filename);case 5:return i=e.sent,e.abrupt("return",t.append(i,{name:r}));case 7:if(!n.buffer){e.next=9;break}return e.abrupt("return",t.append(n.buffer,{name:r}));case 9:if(!n.base64){e.next=13;break}return s=n.base64,o=s.substring(s.indexOf(",")+1),e.abrupt("return",t.append(o,{name:r,base64:!0}));case 13:throw new Error("Unsupported media");case 14:case"end":return e.stop()}},e)}));return function(t){return e.apply(this,arguments)}}()));case 2:case"end":return e.stop()}},e)})),function(e,t){return Y.apply(this,arguments)})},{key:"addDrawings",value:function(e,t){var n=new O,r=new b;t.worksheets.forEach(function(t){var i=t.drawing;if(i){n.prepare(i,{});var s=n.toXml(i);e.append(s,{name:"xl/drawings/".concat(i.name,".xml")}),s=r.toXml(i.rels),e.append(s,{name:"xl/drawings/_rels/".concat(i.name,".xml.rels")})}})}},{key:"addTables",value:function(e,t){var n=new k;t.worksheets.forEach(function(t){t.tables.forEach(function(t){n.prepare(t,{});var r=n.toXml(t);e.append(r,{name:"xl/tables/".concat(t.target)})})})}},{key:"addContentTypes",value:(B=s(regeneratorRuntime.mark(function e(t,n){var r,i;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:r=new _,i=r.toXml(n),t.append(i,{name:"[Content_Types].xml"});case 3:case"end":return e.stop()}},e)})),function(e,t){return B.apply(this,arguments)})},{key:"addApp",value:(V=s(regeneratorRuntime.mark(function e(t,n){var r,i;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:r=new w,i=r.toXml(n),t.append(i,{name:"docProps/app.xml"});case 3:case"end":return e.stop()}},e)})),function(e,t){return V.apply(this,arguments)})},{key:"addCore",value:(F=s(regeneratorRuntime.mark(function e(t,n){var r;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:r=new v,t.append(r.toXml(n),{name:"docProps/core.xml"});case 2:case"end":return e.stop()}},e)})),function(e,t){return F.apply(this,arguments)})},{key:"addThemes",value:(H=s(regeneratorRuntime.mark(function e(t,n){var r;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:r=n.themes||{theme1:E},Object.keys(r).forEach(function(e){var n=r[e],i="xl/theme/".concat(e,".xml");t.append(n,{name:i})});case 2:case"end":return e.stop()}},e)})),function(e,t){return H.apply(this,arguments)})},{key:"addOfficeRels",value:(N=s(regeneratorRuntime.mark(function t(n){var r,i;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:r=new b,i=r.toXml([{Id:"rId1",Type:e.RelType.OfficeDocument,Target:"xl/workbook.xml"},{Id:"rId2",Type:e.RelType.CoreProperties,Target:"docProps/core.xml"},{Id:"rId3",Type:e.RelType.ExtenderProperties,Target:"docProps/app.xml"}]),n.append(i,{name:"_rels/.rels"});case 3:case"end":return t.stop()}},t)})),function(e){return N.apply(this,arguments)})},{key:"addWorkbookRels",value:(R=s(regeneratorRuntime.mark(function t(n,r){var i,s,o,a;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:i=1,s=[{Id:"rId".concat(i++),Type:e.RelType.Styles,Target:"styles.xml"},{Id:"rId".concat(i++),Type:e.RelType.Theme,Target:"theme/theme1.xml"}],r.sharedStrings.count&&s.push({Id:"rId".concat(i++),Type:e.RelType.SharedStrings,Target:"sharedStrings.xml"}),r.worksheets.forEach(function(t){t.rId="rId".concat(i++),s.push({Id:t.rId,Type:e.RelType.Worksheet,Target:"worksheets/sheet".concat(t.id,".xml")})}),o=new b,a=o.toXml(s),n.append(a,{name:"xl/_rels/workbook.xml.rels"});case 7:case"end":return t.stop()}},t)})),function(e,t){return R.apply(this,arguments)})},{key:"addSharedStrings",value:(I=s(regeneratorRuntime.mark(function e(t,n){return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:n.sharedStrings&&n.sharedStrings.count&&t.append(n.sharedStrings.xml,{name:"xl/sharedStrings.xml"});case 1:case"end":return e.stop()}},e)})),function(e,t){return I.apply(this,arguments)})},{key:"addStyles",value:(P=s(regeneratorRuntime.mark(function e(t,n){var r;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:(r=n.styles.xml)&&t.append(r,{name:"xl/styles.xml"});case 2:case"end":return e.stop()}},e)})),function(e,t){return P.apply(this,arguments)})},{key:"addWorkbook",value:(z=s(regeneratorRuntime.mark(function e(t,n){var r;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:r=new S,t.append(r.toXml(n),{name:"xl/workbook.xml"});case 2:case"end":return e.stop()}},e)})),function(e,t){return z.apply(this,arguments)})},{key:"addWorksheets",value:(L=s(regeneratorRuntime.mark(function e(t,n){var r,i,s,o;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:r=new x,i=new b,s=new C,o=new M,n.worksheets.forEach(function(e){var n=new p;r.render(n,e),t.append(n.xml,{name:"xl/worksheets/sheet".concat(e.id,".xml")}),e.rels&&e.rels.length&&(n=new p,i.render(n,e.rels),t.append(n.xml,{name:"xl/worksheets/_rels/sheet".concat(e.id,".xml.rels")})),e.comments.length>0&&(n=new p,s.render(n,e),t.append(n.xml,{name:"xl/comments".concat(e.id,".xml")}),n=new p,o.render(n,e),t.append(n.xml,{name:"xl/drawings/vmlDrawing".concat(e.id,".vml")}))});case 5:case"end":return e.stop()}},e)})),function(e,t){return L.apply(this,arguments)})},{key:"_finalize",value:function(e){var t=this;return new Promise(function(n,r){e.on("finish",function(){n(t)}),e.on("error",r),e.finalize()})}},{key:"prepareModel",value:function(e,t){e.creator=e.creator||"ExcelJS",e.lastModifiedBy=e.lastModifiedBy||"ExcelJS",e.created=e.created||new Date,e.modified=e.modified||new Date,e.useSharedStrings=void 0===t.useSharedStrings||t.useSharedStrings,e.useStyles=void 0===t.useStyles||t.useStyles,e.sharedStrings=new y,e.styles=e.useStyles?new g(!0):new g.Mock;var n=new S,r=new x;n.prepare(e);var i={sharedStrings:e.sharedStrings,styles:e.styles,date1904:e.properties.date1904,drawingsCount:0,media:e.media};i.drawings=e.drawings=[],i.commentRefs=e.commentRefs=[];var s=0;e.tables=[],e.worksheets.forEach(function(t){t.tables.forEach(function(t){s++,t.target="table".concat(s,".xml"),t.id=s,e.tables.push(t)}),r.prepare(t,i)})}},{key:"write",value:(A=s(regeneratorRuntime.mark(function e(t,n){var r,i;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=n||{},r=this.workbook.model,(i=new h.ZipWriter(n.zip)).pipe(t),this.prepareModel(r,n),e.next=7,this.addContentTypes(i,r);case 7:return e.next=9,this.addOfficeRels(i,r);case 9:return e.next=11,this.addWorkbookRels(i,r);case 11:return e.next=13,this.addWorksheets(i,r);case 13:return e.next=15,this.addSharedStrings(i,r);case 15:return e.next=17,this.addDrawings(i,r);case 17:return e.next=19,this.addTables(i,r);case 19:return e.next=21,Promise.all([this.addThemes(i,r),this.addStyles(i,r)]);case 21:return e.next=23,this.addMedia(i,r);case 23:return e.next=25,Promise.all([this.addApp(i,r),this.addCore(i,r)]);case 25:return e.next=27,this.addWorkbook(i,r);case 27:return e.abrupt("return",this._finalize(i));case 28:case"end":return e.stop()}},e,this)})),function(e,t){return A.apply(this,arguments)})},{key:"writeFile",value:function(e,t){var n=this,r=c.createWriteStream(e);return new Promise(function(e,i){r.on("finish",function(){e()}),r.on("error",function(e){i(e)}),n.write(r,t).then(function(){r.end()})})}},{key:"writeBuffer",value:(D=s(regeneratorRuntime.mark(function e(t){var n;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=new d,e.next=3,this.write(n,t);case 3:return e.abrupt("return",n.read());case 4:case"end":return e.stop()}},e,this)})),function(e){return D.apply(this,arguments)})}])&&o(t.prototype,i),j&&o(t,j),e}();j.RelType=e("./rel-type"),t.exports=j}).call(this,e("_process"),e("buffer").Buffer)},{"../utils/browser-buffer-decode":16,"../utils/stream-buf":23,"../utils/utils":26,"../utils/xml-stream":27,"../utils/zip-stream":28,"./rel-type":30,"./xform/book/workbook-xform":37,"./xform/comment/comments-xform":39,"./xform/comment/vml-notes-xform":44,"./xform/core/app-xform":50,"./xform/core/content-types-xform":51,"./xform/core/core-xform":52,"./xform/core/relationships-xform":54,"./xform/drawing/drawing-xform":61,"./xform/sheet/worksheet-xform":114,"./xform/strings/shared-strings-xform":123,"./xform/style/styles-xform":134,"./xform/table/table-xform":140,"./xml/theme1.js":142,_process:467,buffer:216,fs:215,jszip:399,"readable-stream":491}],142:[function(e,t,n){"use strict";t.exports='<?xml version="1.0" encoding="UTF-8" standalone="yes"?>\n<a:theme xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" name="Office Theme"> <a:themeElements> <a:clrScheme name="Office"> <a:dk1> <a:sysClr val="windowText" lastClr="000000"/> </a:dk1> <a:lt1> <a:sysClr val="window" lastClr="FFFFFF"/> </a:lt1> <a:dk2> <a:srgbClr val="1F497D"/> </a:dk2> <a:lt2> <a:srgbClr val="EEECE1"/> </a:lt2> <a:accent1> <a:srgbClr val="4F81BD"/> </a:accent1> <a:accent2> <a:srgbClr val="C0504D"/> </a:accent2> <a:accent3> <a:srgbClr val="9BBB59"/> </a:accent3> <a:accent4> <a:srgbClr val="8064A2"/> </a:accent4> <a:accent5> <a:srgbClr val="4BACC6"/> </a:accent5> <a:accent6> <a:srgbClr val="F79646"/> </a:accent6> <a:hlink> <a:srgbClr val="0000FF"/> </a:hlink> <a:folHlink> <a:srgbClr val="800080"/> </a:folHlink> </a:clrScheme> <a:fontScheme name="Office"> <a:majorFont> <a:latin typeface="Cambria"/> <a:ea typeface=""/> <a:cs typeface=""/> <a:font script="Jpan" typeface="\uff2d\uff33 \uff30\u30b4\u30b7\u30c3\u30af"/> <a:font script="Hang" typeface="\ub9d1\uc740 \uace0\ub515"/> <a:font script="Hans" typeface="\u5b8b\u4f53"/> <a:font script="Hant" typeface="\u65b0\u7d30\u660e\u9ad4"/> <a:font script="Arab" typeface="Times New Roman"/> <a:font script="Hebr" typeface="Times New Roman"/> <a:font script="Thai" typeface="Tahoma"/> <a:font script="Ethi" typeface="Nyala"/> <a:font script="Beng" typeface="Vrinda"/> <a:font script="Gujr" typeface="Shruti"/> <a:font script="Khmr" typeface="MoolBoran"/> <a:font script="Knda" typeface="Tunga"/> <a:font script="Guru" typeface="Raavi"/> <a:font script="Cans" typeface="Euphemia"/> <a:font script="Cher" typeface="Plantagenet Cherokee"/> <a:font script="Yiii" typeface="Microsoft Yi Baiti"/> <a:font script="Tibt" typeface="Microsoft Himalaya"/> <a:font script="Thaa" typeface="MV Boli"/> <a:font script="Deva" typeface="Mangal"/> <a:font script="Telu" typeface="Gautami"/> <a:font script="Taml" typeface="Latha"/> <a:font script="Syrc" typeface="Estrangelo Edessa"/> <a:font script="Orya" typeface="Kalinga"/> <a:font script="Mlym" typeface="Kartika"/> <a:font script="Laoo" typeface="DokChampa"/> <a:font script="Sinh" typeface="Iskoola Pota"/> <a:font script="Mong" typeface="Mongolian Baiti"/> <a:font script="Viet" typeface="Times New Roman"/> <a:font script="Uigh" typeface="Microsoft Uighur"/> <a:font script="Geor" typeface="Sylfaen"/> </a:majorFont> <a:minorFont> <a:latin typeface="Calibri"/> <a:ea typeface=""/> <a:cs typeface=""/> <a:font script="Jpan" typeface="\uff2d\uff33 \uff30\u30b4\u30b7\u30c3\u30af"/> <a:font script="Hang" typeface="\ub9d1\uc740 \uace0\ub515"/> <a:font script="Hans" typeface="\u5b8b\u4f53"/> <a:font script="Hant" typeface="\u65b0\u7d30\u660e\u9ad4"/> <a:font script="Arab" typeface="Arial"/> <a:font script="Hebr" typeface="Arial"/> <a:font script="Thai" typeface="Tahoma"/> <a:font script="Ethi" typeface="Nyala"/> <a:font script="Beng" typeface="Vrinda"/> <a:font script="Gujr" typeface="Shruti"/> <a:font script="Khmr" typeface="DaunPenh"/> <a:font script="Knda" typeface="Tunga"/> <a:font script="Guru" typeface="Raavi"/> <a:font script="Cans" typeface="Euphemia"/> <a:font script="Cher" typeface="Plantagenet Cherokee"/> <a:font script="Yiii" typeface="Microsoft Yi Baiti"/> <a:font script="Tibt" typeface="Microsoft Himalaya"/> <a:font script="Thaa" typeface="MV Boli"/> <a:font script="Deva" typeface="Mangal"/> <a:font script="Telu" typeface="Gautami"/> <a:font script="Taml" typeface="Latha"/> <a:font script="Syrc" typeface="Estrangelo Edessa"/> <a:font script="Orya" typeface="Kalinga"/> <a:font script="Mlym" typeface="Kartika"/> <a:font script="Laoo" typeface="DokChampa"/> <a:font script="Sinh" typeface="Iskoola Pota"/> <a:font script="Mong" typeface="Mongolian Baiti"/> <a:font script="Viet" typeface="Arial"/> <a:font script="Uigh" typeface="Microsoft Uighur"/> <a:font script="Geor" typeface="Sylfaen"/> </a:minorFont> </a:fontScheme> <a:fmtScheme name="Office"> <a:fillStyleLst> <a:solidFill> <a:schemeClr val="phClr"/> </a:solidFill> <a:gradFill rotWithShape="1"> <a:gsLst> <a:gs pos="0"> <a:schemeClr val="phClr"> <a:tint val="50000"/> <a:satMod val="300000"/> </a:schemeClr> </a:gs> <a:gs pos="35000"> <a:schemeClr val="phClr"> <a:tint val="37000"/> <a:satMod val="300000"/> </a:schemeClr> </a:gs> <a:gs pos="100000"> <a:schemeClr val="phClr"> <a:tint val="15000"/> <a:satMod val="350000"/> </a:schemeClr> </a:gs> </a:gsLst> <a:lin ang="16200000" scaled="1"/> </a:gradFill> <a:gradFill rotWithShape="1"> <a:gsLst> <a:gs pos="0"> <a:schemeClr val="phClr"> <a:tint val="100000"/> <a:shade val="100000"/> <a:satMod val="130000"/> </a:schemeClr> </a:gs> <a:gs pos="100000"> <a:schemeClr val="phClr"> <a:tint val="50000"/> <a:shade val="100000"/> <a:satMod val="350000"/> </a:schemeClr> </a:gs> </a:gsLst> <a:lin ang="16200000" scaled="0"/> </a:gradFill> </a:fillStyleLst> <a:lnStyleLst> <a:ln w="9525" cap="flat" cmpd="sng" algn="ctr"> <a:solidFill> <a:schemeClr val="phClr"> <a:shade val="95000"/> <a:satMod val="105000"/> </a:schemeClr> </a:solidFill> <a:prstDash val="solid"/> </a:ln> <a:ln w="25400" cap="flat" cmpd="sng" algn="ctr"> <a:solidFill> <a:schemeClr val="phClr"/> </a:solidFill> <a:prstDash val="solid"/> </a:ln> <a:ln w="38100" cap="flat" cmpd="sng" algn="ctr"> <a:solidFill> <a:schemeClr val="phClr"/> </a:solidFill> <a:prstDash val="solid"/> </a:ln> </a:lnStyleLst> <a:effectStyleLst> <a:effectStyle> <a:effectLst> <a:outerShdw blurRad="40000" dist="20000" dir="5400000" rotWithShape="0"> <a:srgbClr val="000000"> <a:alpha val="38000"/> </a:srgbClr> </a:outerShdw> </a:effectLst> </a:effectStyle> <a:effectStyle> <a:effectLst> <a:outerShdw blurRad="40000" dist="23000" dir="5400000" rotWithShape="0"> <a:srgbClr val="000000"> <a:alpha val="35000"/> </a:srgbClr> </a:outerShdw> </a:effectLst> </a:effectStyle> <a:effectStyle> <a:effectLst> <a:outerShdw blurRad="40000" dist="23000" dir="5400000" rotWithShape="0"> <a:srgbClr val="000000"> <a:alpha val="35000"/> </a:srgbClr> </a:outerShdw> </a:effectLst> <a:scene3d> <a:camera prst="orthographicFront"> <a:rot lat="0" lon="0" rev="0"/> </a:camera> <a:lightRig rig="threePt" dir="t"> <a:rot lat="0" lon="0" rev="1200000"/> </a:lightRig> </a:scene3d> <a:sp3d> <a:bevelT w="63500" h="25400"/> </a:sp3d> </a:effectStyle> </a:effectStyleLst> <a:bgFillStyleLst> <a:solidFill> <a:schemeClr val="phClr"/> </a:solidFill> <a:gradFill rotWithShape="1"> <a:gsLst> <a:gs pos="0"> <a:schemeClr val="phClr"> <a:tint val="40000"/> <a:satMod val="350000"/> </a:schemeClr> </a:gs> <a:gs pos="40000"> <a:schemeClr val="phClr"> <a:tint val="45000"/> <a:shade val="99000"/> <a:satMod val="350000"/> </a:schemeClr> </a:gs> <a:gs pos="100000"> <a:schemeClr val="phClr"> <a:shade val="20000"/> <a:satMod val="255000"/> </a:schemeClr> </a:gs> </a:gsLst> <a:path path="circle"> <a:fillToRect l="50000" t="-80000" r="50000" b="180000"/> </a:path> </a:gradFill> <a:gradFill rotWithShape="1"> <a:gsLst> <a:gs pos="0"> <a:schemeClr val="phClr"> <a:tint val="80000"/> <a:satMod val="300000"/> </a:schemeClr> </a:gs> <a:gs pos="100000"> <a:schemeClr val="phClr"> <a:shade val="30000"/> <a:satMod val="200000"/> </a:schemeClr> </a:gs> </a:gsLst> <a:path path="circle"> <a:fillToRect l="50000" t="50000" r="50000" b="50000"/> </a:path> </a:gradFill> </a:bgFillStyleLst> </a:fmtScheme> </a:themeElements> <a:objectDefaults> <a:spDef> <a:spPr/> <a:bodyPr/> <a:lstStyle/> <a:style> <a:lnRef idx="1"> <a:schemeClr val="accent1"/> </a:lnRef> <a:fillRef idx="3"> <a:schemeClr val="accent1"/> </a:fillRef> <a:effectRef idx="2"> <a:schemeClr val="accent1"/> </a:effectRef> <a:fontRef idx="minor"> <a:schemeClr val="lt1"/> </a:fontRef> </a:style> </a:spDef> <a:lnDef> <a:spPr/> <a:bodyPr/> <a:lstStyle/> <a:style> <a:lnRef idx="2"> <a:schemeClr val="accent1"/> </a:lnRef> <a:fillRef idx="0"> <a:schemeClr val="accent1"/> </a:fillRef> <a:effectRef idx="1"> <a:schemeClr val="accent1"/> </a:effectRef> <a:fontRef idx="minor"> <a:schemeClr val="tx1"/> </a:fontRef> </a:style> </a:lnDef> </a:objectDefaults> <a:extraClrSchemeLst/> </a:theme>'},{}],143:[function(e,t,n){(function(t){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function o(e){var t=function(){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(e){return!1}}();return function(){var n,r=c(e);if(t){var i=c(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return a(this,n)}}function a(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function c(e){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}Object.defineProperty(n,"__esModule",{value:!0}),n.CsvFormatterStream=void 0;var l=e("stream"),u=e("./formatter"),h=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&s(e,t)}(l,e);var n,r,a,c=o(l);function l(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),(t=c.call(this,{writableObjectMode:e.objectMode})).hasWrittenBOM=!1,t.formatterOptions=e,t.rowFormatter=new u.RowFormatter(e),t.hasWrittenBOM=!e.writeBOM,t}return n=l,(r=[{key:"transform",value:function(e){return this.rowFormatter.rowTransform=e,this}},{key:"_transform",value:function(e,n,r){var i=this,s=!1;try{this.hasWrittenBOM||(this.push(this.formatterOptions.BOM),this.hasWrittenBOM=!0),this.rowFormatter.format(e,function(e,n){return e?(s=!0,r(e)):(n&&n.forEach(function(e){i.push(t.from(e,"utf8"))}),s=!0,r())})}catch(e){if(s)throw e;r(e)}}},{key:"_flush",value:function(e){var n=this;this.rowFormatter.finish(function(r,i){return r?e(r):(i&&i.forEach(function(e){n.push(t.from(e,"utf8"))}),e())})}}])&&i(n.prototype,r),a&&i(n,a),l}(l.Transform);n.CsvFormatterStream=h}).call(this,e("buffer").Buffer)},{"./formatter":147,buffer:216,stream:506}],144:[function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(n,"__esModule",{value:!0}),n.FormatterOptions=void 0,n.FormatterOptions=function e(){var t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};r(this,e),this.objectMode=!0,this.delimiter=",",this.rowDelimiter="\n",this.quote='"',this.escape=this.quote,this.quoteColumns=!1,this.quoteHeaders=this.quoteColumns,this.headers=null,this.includeEndRowDelimiter=!1,this.writeBOM=!1,this.BOM="\ufeff",this.alwaysWriteHeaders=!1,Object.assign(this,n||{}),void 0===(null==n?void 0:n.quoteHeaders)&&(this.quoteHeaders=this.quoteColumns),!0===(null==n?void 0:n.quote)?this.quote='"':!1===(null==n?void 0:n.quote)&&(this.quote=""),"string"!=typeof(null==n?void 0:n.escape)&&(this.escape=this.quote),this.shouldWriteHeaders=!!this.headers&&(null===(t=n.writeHeaders)||void 0===t||t),this.headers=Array.isArray(this.headers)?this.headers:null,this.escapedQuote="".concat(this.escape).concat(this.quote)}},{}],145:[function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var i=function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(n,"__esModule",{value:!0}),n.FieldFormatter=void 0;var s=i(e("lodash.isboolean")),o=i(e("lodash.isnil")),a=i(e("lodash.escaperegexp")),c=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._headers=null,this.formatterOptions=t,null!==t.headers&&(this.headers=t.headers),this.REPLACE_REGEXP=new RegExp(t.quote,"g");var n="[".concat(t.delimiter).concat(a.default(t.rowDelimiter),"|\r|\n']");this.ESCAPE_REGEXP=new RegExp(n)}var t,n,i;return t=e,(n=[{key:"shouldQuote",value:function(e,t){var n=t?this.formatterOptions.quoteHeaders:this.formatterOptions.quoteColumns;return s.default(n)?n:Array.isArray(n)?n[e]:null!==this._headers&&n[this._headers[e]]}},{key:"format",value:function(e,t,n){var r="".concat(o.default(e)?"":e).replace(/\0/g,""),i=this.formatterOptions;return""!==i.quote&&-1!==r.indexOf(i.quote)?this.quoteField(r.replace(this.REPLACE_REGEXP,i.escapedQuote)):-1!==r.search(this.ESCAPE_REGEXP)||this.shouldQuote(t,n)?this.quoteField(r):r}},{key:"quoteField",value:function(e){var t=this.formatterOptions.quote;return"".concat(t).concat(e).concat(t)}},{key:"headers",set:function(e){this._headers=e}}])&&r(t.prototype,n),i&&r(t,i),e}();n.FieldFormatter=c},{"lodash.escaperegexp":426,"lodash.isboolean":428,"lodash.isnil":431}],146:[function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var i=function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(n,"__esModule",{value:!0}),n.RowFormatter=void 0;var s=i(e("lodash.isfunction")),o=i(e("lodash.isequal")),a=e("./FieldFormatter"),c=e("../types"),l=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.rowCount=0,this.formatterOptions=t,this.fieldFormatter=new a.FieldFormatter(t),this.headers=t.headers,this.shouldWriteHeaders=t.shouldWriteHeaders,this.hasWrittenHeaders=!1,null!==this.headers&&(this.fieldFormatter.headers=this.headers),t.transform&&(this.rowTransform=t.transform)}var t,n,i;return t=e,i=[{key:"isHashArray",value:function(e){return!!Array.isArray(e)&&Array.isArray(e[0])&&2===e[0].length}},{key:"gatherHeaders",value:function(t){return e.isHashArray(t)?t.map(function(e){return e[0]}):Array.isArray(t)?t:Object.keys(t)}},{key:"createTransform",value:function(e){return c.isSyncTransform(e)?function(t,n){var r=null;try{r=e(t)}catch(e){return n(e)}return n(null,r)}:function(t,n){e(t,n)}}}],(n=[{key:"format",value:function(e,t){var n=this;this.callTransformer(e,function(r,i){if(r)return t(r);if(!e)return t(null);var s=[];if(i){var o=n.checkHeaders(i),a=o.shouldFormatColumns,c=o.headers;if(n.shouldWriteHeaders&&c&&!n.hasWrittenHeaders&&(s.push(n.formatColumns(c,!0)),n.hasWrittenHeaders=!0),a){var l=n.gatherColumns(i);s.push(n.formatColumns(l,!1))}}return t(null,s)})}},{key:"finish",value:function(e){var t=[];if(this.formatterOptions.alwaysWriteHeaders&&0===this.rowCount){if(!this.headers)return e(new Error("`alwaysWriteHeaders` option is set to true but `headers` option not provided."));t.push(this.formatColumns(this.headers,!0))}return this.formatterOptions.includeEndRowDelimiter&&t.push(this.formatterOptions.rowDelimiter),e(null,t)}},{key:"checkHeaders",value:function(t){if(this.headers)return{shouldFormatColumns:!0,headers:this.headers};var n=e.gatherHeaders(t);return this.headers=n,this.fieldFormatter.headers=n,this.shouldWriteHeaders?{shouldFormatColumns:!o.default(n,t),headers:n}:{shouldFormatColumns:!0,headers:null}}},{key:"gatherColumns",value:function(t){if(null===this.headers)throw new Error("Headers is currently null");return Array.isArray(t)?e.isHashArray(t)?this.headers.map(function(e,n){var r=t[n];return r?r[1]:""}):this.headers.map(function(e,n){return t[n]}):this.headers.map(function(e){return t[e]})}},{key:"callTransformer",value:function(e,t){return this._rowTransform?this._rowTransform(e,t):t(null,e)}},{key:"formatColumns",value:function(e,t){var n=this,r=e.map(function(e,r){return n.fieldFormatter.format(e,r,t)}).join(this.formatterOptions.delimiter),i=this.rowCount;return this.rowCount+=1,i?[this.formatterOptions.rowDelimiter,r].join(""):r}},{key:"rowTransform",set:function(t){if(!s.default(t))throw new TypeError("The transform should be a function");this._rowTransform=e.createTransform(t)}}])&&r(t.prototype,n),i&&r(t,i),e}();n.RowFormatter=l},{"../types":149,"./FieldFormatter":145,"lodash.isequal":429,"lodash.isfunction":430}],147:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=e("./RowFormatter");Object.defineProperty(n,"RowFormatter",{enumerable:!0,get:function(){return r.RowFormatter}});var i=e("./FieldFormatter");Object.defineProperty(n,"FieldFormatter",{enumerable:!0,get:function(){return i.FieldFormatter}})},{"./FieldFormatter":145,"./RowFormatter":146}],148:[function(e,t,n){(function(t){"use strict";var r=Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]},i=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},s=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.hasOwnProperty.call(e,n)&&r(t,e,n);return i(t,e),t},o=function(e,t){for(var n in e)"default"===n||t.hasOwnProperty(n)||r(t,e,n)};Object.defineProperty(n,"__esModule",{value:!0}),n.writeToPath=n.writeToString=n.writeToBuffer=n.writeToStream=n.write=n.format=void 0;var a=e("util"),c=e("stream"),l=s(e("fs")),u=e("./FormatterOptions"),h=e("./CsvFormatterStream");o(e("./types"),n);var d=e("./CsvFormatterStream");Object.defineProperty(n,"CsvFormatterStream",{enumerable:!0,get:function(){return d.CsvFormatterStream}});var f=e("./FormatterOptions");Object.defineProperty(n,"FormatterOptions",{enumerable:!0,get:function(){return f.FormatterOptions}}),n.format=function(e){return new h.CsvFormatterStream(new u.FormatterOptions(e))},n.write=function(e,t){var r=n.format(t),i=a.promisify(function(e,t){r.write(e,void 0,t)});return e.reduce(function(e,t){return e.then(function(){return i(t)})},Promise.resolve()).then(function(){return r.end()}).catch(function(e){r.emit("error",e)}),r},n.writeToStream=function(e,t,r){return n.write(t,r).pipe(e)},n.writeToBuffer=function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=[],s=new c.Writable({write:function(e,t,n){i.push(e),n()}});return new Promise(function(o,a){s.on("error",a).on("finish",function(){return o(t.concat(i))}),n.write(e,r).pipe(s)})},n.writeToString=function(e,t){return n.writeToBuffer(e,t).then(function(e){return e.toString()})},n.writeToPath=function(e,t,r){var i=l.createWriteStream(e,{encoding:"utf8"});return n.write(t,r).pipe(i)}}).call(this,e("buffer").Buffer)},{"./CsvFormatterStream":143,"./FormatterOptions":144,"./types":149,buffer:216,fs:215,stream:506,util:525}],149:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.isSyncTransform=void 0,n.isSyncTransform=function(e){return 1===e.length}},{}],150:[function(e,t,n){(function(t){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function s(e,t,n){return(s="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=l(e)););return e}(e,t);if(r){var i=Object.getOwnPropertyDescriptor(r,t);return i.get?i.get.call(n):i.value}})(e,t,n||e)}function o(e,t){return(o=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function a(e){var t=function(){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(e){return!1}}();return function(){var n,r=l(e);if(t){var i=l(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return c(this,n)}}function c(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function l(e){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}Object.defineProperty(n,"__esModule",{value:!0}),n.CsvParserStream=void 0;var u=e("string_decoder"),h=e("stream"),d=e("./transforms"),f=e("./parser"),p=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&o(e,t)}(p,e);var n,r,c,h=a(p);function p(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,p),(t=h.call(this,{objectMode:e.objectMode})).lines="",t.rowCount=0,t.parsedRowCount=0,t.parsedLineCount=0,t.endEmitted=!1,t.headersEmitted=!1,t.parserOptions=e,t.parser=new f.Parser(e),t.headerTransformer=new d.HeaderTransformer(e),t.decoder=new u.StringDecoder(e.encoding),t.rowTransformerValidator=new d.RowTransformerValidator,t}return n=p,(r=[{key:"transform",value:function(e){return this.rowTransformerValidator.rowTransform=e,this}},{key:"validate",value:function(e){return this.rowTransformerValidator.rowValidator=e,this}},{key:"emit",value:function(e){var t;if("end"===e)return this.endEmitted||(this.endEmitted=!0,s(l(p.prototype),"emit",this).call(this,"end",this.rowCount)),!1;for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return(t=s(l(p.prototype),"emit",this)).call.apply(t,[this,e].concat(r))}},{key:"_transform",value:function(e,t,n){if(this.hasHitRowLimit)return n();try{var r=this.lines+this.decoder.write(e),i=this.parse(r,!0);return this.processRows(i,n)}catch(e){return n(e)}}},{key:"_flush",value:function(e){if(this.hasHitRowLimit)return e();try{var t=this.lines+this.decoder.end(),n=this.parse(t,!1);return this.processRows(n,e)}catch(t){return e(t)}}},{key:"parse",value:function(e,t){if(!e)return[];var n=this.parser.parse(e,t),r=n.line,i=n.rows;return this.lines=r,i}},{key:"processRows",value:function(e,n){var r=this,i=e.length;!function s(o){var a=function(e){return e?n(e):o%100!=0?s(o+1):void t(function(){return s(o+1)})};if(r.checkAndEmitHeaders(),o>=i||r.hasHitRowLimit)return n();if(r.parsedLineCount+=1,r.shouldSkipLine)return a();var c=e[o];r.rowCount+=1,r.parsedRowCount+=1;var l=r.rowCount;return r.transformRow(c,function(e,t){if(e)return r.rowCount-=1,a(e);if(!t)return a(new Error("expected transform result"));if(t.isValid){if(t.row)return r.pushRow(t.row,a)}else r.emit("data-invalid",t.row,l,t.reason);return a()})}(0)}},{key:"transformRow",value:function(e,t){var n=this;try{this.headerTransformer.transform(e,function(r,i){return r?t(r):i?i.isValid?i.row?n.shouldEmitRows?n.rowTransformerValidator.transformAndValidate(i.row,t):n.skipRow(t):(n.rowCount-=1,n.parsedRowCount-=1,t(null,{row:null,isValid:!0})):n.shouldEmitRows?t(null,{isValid:!1,row:e}):n.skipRow(t):t(new Error("Expected result from header transform"))})}catch(e){t(e)}}},{key:"checkAndEmitHeaders",value:function(){!this.headersEmitted&&this.headerTransformer.headers&&(this.headersEmitted=!0,this.emit("headers",this.headerTransformer.headers))}},{key:"skipRow",value:function(e){return this.rowCount-=1,e(null,{row:null,isValid:!0})}},{key:"pushRow",value:function(e,t){try{this.parserOptions.objectMode?this.push(e):this.push(JSON.stringify(e)),t()}catch(e){t(e)}}},{key:"hasHitRowLimit",get:function(){return this.parserOptions.limitRows&&this.rowCount>=this.parserOptions.maxRows}},{key:"shouldEmitRows",get:function(){return this.parsedRowCount>this.parserOptions.skipRows}},{key:"shouldSkipLine",get:function(){return this.parsedLineCount<=this.parserOptions.skipLines}}])&&i(n.prototype,r),c&&i(n,c),p}(h.Transform);n.CsvParserStream=p}).call(this,e("timers").setImmediate)},{"./parser":162,"./transforms":165,stream:506,string_decoder:520,timers:521}],151:[function(e,t,n){"use strict";var r=function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(n,"__esModule",{value:!0}),n.ParserOptions=void 0;var i=r(e("lodash.escaperegexp")),s=r(e("lodash.isnil"));n.ParserOptions=function e(t){var n;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.objectMode=!0,this.delimiter=",",this.ignoreEmpty=!1,this.quote='"',this.escape=null,this.escapeChar=this.quote,this.comment=null,this.supportsComments=!1,this.ltrim=!1,this.rtrim=!1,this.trim=!1,this.headers=null,this.renameHeaders=!1,this.strictColumnHandling=!1,this.discardUnmappedColumns=!1,this.carriageReturn="\r",this.encoding="utf8",this.limitRows=!1,this.maxRows=0,this.skipLines=0,this.skipRows=0,Object.assign(this,t||{}),this.delimiter.length>1)throw new Error("delimiter option must be one character long");this.escapedDelimiter=i.default(this.delimiter),this.escapeChar=null!==(n=this.escape)&&void 0!==n?n:this.quote,this.supportsComments=!s.default(this.comment),this.NEXT_TOKEN_REGEXP=new RegExp("([^\\s]|\\r\\n|\\n|\\r|".concat(this.escapedDelimiter,")")),this.maxRows>0&&(this.limitRows=!0)}},{"lodash.escaperegexp":426,"lodash.isnil":431}],152:[function(e,t,n){"use strict";var r=Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]},i=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},s=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.hasOwnProperty.call(e,n)&&r(t,e,n);return i(t,e),t},o=function(e,t){for(var n in e)"default"===n||t.hasOwnProperty(n)||r(t,e,n)};Object.defineProperty(n,"__esModule",{value:!0}),n.parseString=n.parseFile=n.parseStream=n.parse=void 0;var a=s(e("fs")),c=e("stream"),l=e("./ParserOptions"),u=e("./CsvParserStream");o(e("./types"),n);var h=e("./CsvParserStream");Object.defineProperty(n,"CsvParserStream",{enumerable:!0,get:function(){return h.CsvParserStream}});var d=e("./ParserOptions");Object.defineProperty(n,"ParserOptions",{enumerable:!0,get:function(){return d.ParserOptions}}),n.parse=function(e){return new u.CsvParserStream(new l.ParserOptions(e))},n.parseStream=function(e,t){return e.pipe(new u.CsvParserStream(new l.ParserOptions(t)))},n.parseFile=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return a.createReadStream(e).pipe(new u.CsvParserStream(new l.ParserOptions(t)))},n.parseString=function(e,t){var n=new c.Readable;return n.push(e),n.push(null),n.pipe(new u.CsvParserStream(new l.ParserOptions(t)))}},{"./CsvParserStream":150,"./ParserOptions":151,"./types":166,fs:215,stream:506}],153:[function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}Object.defineProperty(n,"__esModule",{value:!0}),n.Parser=void 0;var i=e("./Scanner"),s=e("./RowParser"),o=e("./Token"),a=/^\s*(?:''|"")?\s*(?:,\s*(?:''|"")?\s*)*$/,c=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.parserOptions=t,this.rowParser=new s.RowParser(this.parserOptions)}var t,n,c;return t=e,c=[{key:"removeBOM",value:function(e){return e&&65279===e.charCodeAt(0)?e.slice(1):e}}],(n=[{key:"parse",value:function(t,n){var r=new i.Scanner({line:e.removeBOM(t),parserOptions:this.parserOptions,hasMoreData:n});return this.parserOptions.supportsComments?this.parseWithComments(r):this.parseWithoutComments(r)}},{key:"parseWithoutComments",value:function(e){for(var t=[],n=!0;n;)n=this.parseRow(e,t);return{line:e.line,rows:t}}},{key:"parseWithComments",value:function(e){for(var t=this.parserOptions,n=[],r=e.nextCharacterToken;null!==r;r=e.nextCharacterToken)if(o.Token.isTokenComment(r,t)){if(null===e.advancePastLine())return{line:e.lineFromCursor,rows:n};if(!e.hasMoreCharacters)return{line:e.lineFromCursor,rows:n};e.truncateToCursor()}else if(!this.parseRow(e,n))break;return{line:e.line,rows:n}}},{key:"parseRow",value:function(e,t){if(!e.nextNonSpaceToken)return!1;var n=this.rowParser.parse(e);return null!==n&&(this.parserOptions.ignoreEmpty&&a.test(n.join(""))||t.push(n),!0)}}])&&r(t.prototype,n),c&&r(t,c),e}();n.Parser=c},{"./RowParser":154,"./Scanner":155,"./Token":156}],154:[function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}Object.defineProperty(n,"__esModule",{value:!0}),n.RowParser=void 0;var i=e("./column"),s=e("./Token").Token,o=s.isTokenRowDelimiter,a=s.isTokenCarriageReturn,c=s.isTokenDelimiter,l=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.parserOptions=t,this.columnParser=new i.ColumnParser(t)}var t,n,s;return t=e,(n=[{key:"parse",value:function(e){for(var t=this.parserOptions,n=e.hasMoreData,r=e,i=[],s=this.getStartToken(r,i);s;){if(o(s))return r.advancePastToken(s),!r.hasMoreCharacters&&a(s,t)&&n?null:(r.truncateToCursor(),i);if(!this.shouldSkipColumnParse(r,s,i)){var c=this.columnParser.parse(r);if(null===c)return null;i.push(c)}s=r.nextNonSpaceToken}return n?null:(r.truncateToCursor(),i)}},{key:"getStartToken",value:function(e,t){var n=e.nextNonSpaceToken;return null!==n&&c(n,this.parserOptions)?(t.push(""),e.nextNonSpaceToken):n}},{key:"shouldSkipColumnParse",value:function(e,t,n){var r=this.parserOptions;if(c(t,r)){e.advancePastToken(t);var i=e.nextCharacterToken;if(!e.hasMoreCharacters||null!==i&&o(i))return n.push(""),!0;if(null!==i&&c(i,r))return n.push(""),!0}return!1}}])&&r(t.prototype,n),s&&r(t,s),e}();n.RowParser=l},{"./Token":156,"./column":161}],155:[function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}Object.defineProperty(n,"__esModule",{value:!0}),n.Scanner=void 0;var i=e("./Token"),s=/((?:\r\n)|\n|\r)/,o=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.cursor=0,this.line=t.line,this.lineLength=this.line.length,this.parserOptions=t.parserOptions,this.hasMoreData=t.hasMoreData,this.cursor=t.cursor||0}var t,n,o;return t=e,(n=[{key:"advancePastLine",value:function(){var e=s.exec(this.lineFromCursor);return e?(this.cursor+=(e.index||0)+e[0].length,this):this.hasMoreData?null:(this.cursor=this.lineLength,this)}},{key:"advanceTo",value:function(e){return this.cursor=e,this}},{key:"advanceToToken",value:function(e){return this.cursor=e.startCursor,this}},{key:"advancePastToken",value:function(e){return this.cursor=e.endCursor+1,this}},{key:"truncateToCursor",value:function(){return this.line=this.lineFromCursor,this.lineLength=this.line.length,this.cursor=0,this}},{key:"hasMoreCharacters",get:function(){return this.lineLength>this.cursor}},{key:"nextNonSpaceToken",get:function(){var e=this.lineFromCursor,t=this.parserOptions.NEXT_TOKEN_REGEXP;if(-1===e.search(t))return null;var n=t.exec(e);if(null==n)return null;var r=n[1],s=this.cursor+(n.index||0);return new i.Token({token:r,startCursor:s,endCursor:s+r.length-1})}},{key:"nextCharacterToken",get:function(){var e=this.cursor;return this.lineLength<=e?null:new i.Token({token:this.line[e],startCursor:e,endCursor:e})}},{key:"lineFromCursor",get:function(){return this.line.substr(this.cursor)}}])&&r(t.prototype,n),o&&r(t,o),e}();n.Scanner=o},{"./Token":156}],156:[function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}Object.defineProperty(n,"__esModule",{value:!0}),n.Token=void 0;var i=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.token=t.token,this.startCursor=t.startCursor,this.endCursor=t.endCursor}var t,n,i;return t=e,i=[{key:"isTokenRowDelimiter",value:function(e){var t=e.token;return"\r"===t||"\n"===t||"\r\n"===t}},{key:"isTokenCarriageReturn",value:function(e,t){return e.token===t.carriageReturn}},{key:"isTokenComment",value:function(e,t){return t.supportsComments&&!!e&&e.token===t.comment}},{key:"isTokenEscapeCharacter",value:function(e,t){return e.token===t.escapeChar}},{key:"isTokenQuote",value:function(e,t){return e.token===t.quote}},{key:"isTokenDelimiter",value:function(e,t){return e.token===t.delimiter}}],(n=null)&&r(t.prototype,n),i&&r(t,i),e}();n.Token=i},{}],157:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.ColumnFormatter=void 0,n.ColumnFormatter=function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),t.trim?this.format=function(e){return e.trim()}:t.ltrim?this.format=function(e){return e.trimLeft()}:t.rtrim?this.format=function(e){return e.trimRight()}:this.format=function(e){return e}}},{}],158:[function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}Object.defineProperty(n,"__esModule",{value:!0}),n.ColumnParser=void 0;var i=e("./NonQuotedColumnParser"),s=e("./QuotedColumnParser"),o=e("../Token"),a=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.parserOptions=t,this.quotedColumnParser=new s.QuotedColumnParser(t),this.nonQuotedColumnParser=new i.NonQuotedColumnParser(t)}var t,n,a;return t=e,(n=[{key:"parse",value:function(e){var t=e.nextNonSpaceToken;return null!==t&&o.Token.isTokenQuote(t,this.parserOptions)?(e.advanceToToken(t),this.quotedColumnParser.parse(e)):this.nonQuotedColumnParser.parse(e)}}])&&r(t.prototype,n),a&&r(t,a),e}();n.ColumnParser=a},{"../Token":156,"./NonQuotedColumnParser":159,"./QuotedColumnParser":160}],159:[function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}Object.defineProperty(n,"__esModule",{value:!0}),n.NonQuotedColumnParser=void 0;var i=e("./ColumnFormatter"),s=e("../Token").Token,o=s.isTokenDelimiter,a=s.isTokenRowDelimiter,c=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.parserOptions=t,this.columnFormatter=new i.ColumnFormatter(t)}var t,n,s;return t=e,(n=[{key:"parse",value:function(e){if(!e.hasMoreCharacters)return null;for(var t=this.parserOptions,n=[],r=e.nextCharacterToken;r&&!o(r,t)&&!a(r);r=e.nextCharacterToken)n.push(r.token),e.advancePastToken(r);return this.columnFormatter.format(n.join(""))}}])&&r(t.prototype,n),s&&r(t,s),e}();n.NonQuotedColumnParser=c},{"../Token":156,"./ColumnFormatter":157}],160:[function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}Object.defineProperty(n,"__esModule",{value:!0}),n.QuotedColumnParser=void 0;var i=e("./ColumnFormatter"),s=e("../Token").Token,o=s.isTokenDelimiter,a=s.isTokenRowDelimiter,c=s.isTokenEscapeCharacter,l=s.isTokenQuote,u=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.parserOptions=t,this.columnFormatter=new i.ColumnFormatter(t)}var t,n,s;return t=e,(n=[{key:"parse",value:function(e){if(!e.hasMoreCharacters)return null;var t=e.cursor,n=this.gatherDataBetweenQuotes(e),r=n.foundClosingQuote,i=n.col;if(!r){if(e.advanceTo(t),!e.hasMoreData)throw new Error("Parse Error: missing closing: '".concat(this.parserOptions.quote||"","' in line: at '").concat(e.lineFromCursor.replace(/[\r\n]/g,"\\n'"),"'"));return null}return this.checkForMalformedColumn(e),i}},{key:"gatherDataBetweenQuotes",value:function(e){for(var t=this.parserOptions,n=!1,r=!1,i=[],s=e.nextCharacterToken;!r&&null!==s;s=e.nextCharacterToken){var o=l(s,t);if(!n&&o)n=!0;else if(n)if(c(s,t)){e.advancePastToken(s);var a=e.nextCharacterToken;null!==a&&(l(a,t)||c(a,t))?(i.push(a.token),s=a):o?r=!0:i.push(s.token)}else o?r=!0:i.push(s.token);e.advancePastToken(s)}return{col:this.columnFormatter.format(i.join("")),foundClosingQuote:r}}},{key:"checkForMalformedColumn",value:function(e){var t=this.parserOptions,n=e.nextNonSpaceToken;if(n){var r=o(n,t),i=a(n);if(!r&&!i){var s=e.lineFromCursor.substr(0,10).replace(/[\r\n]/g,"\\n'");throw new Error("Parse Error: expected: '".concat(t.escapedDelimiter,"' OR new line got: '").concat(n.token,"'. at '").concat(s))}e.advanceToToken(n)}else e.hasMoreData||e.advancePastLine()}}])&&r(t.prototype,n),s&&r(t,s),e}();n.QuotedColumnParser=u},{"../Token":156,"./ColumnFormatter":157}],161:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=e("./ColumnParser");Object.defineProperty(n,"ColumnParser",{enumerable:!0,get:function(){return r.ColumnParser}});var i=e("./NonQuotedColumnParser");Object.defineProperty(n,"NonQuotedColumnParser",{enumerable:!0,get:function(){return i.NonQuotedColumnParser}});var s=e("./QuotedColumnParser");Object.defineProperty(n,"QuotedColumnParser",{enumerable:!0,get:function(){return s.QuotedColumnParser}});var o=e("./ColumnFormatter");Object.defineProperty(n,"ColumnFormatter",{enumerable:!0,get:function(){return o.ColumnFormatter}})},{"./ColumnFormatter":157,"./ColumnParser":158,"./NonQuotedColumnParser":159,"./QuotedColumnParser":160}],162:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=e("./Parser");Object.defineProperty(n,"Parser",{enumerable:!0,get:function(){return r.Parser}});var i=e("./RowParser");Object.defineProperty(n,"RowParser",{enumerable:!0,get:function(){return i.RowParser}});var s=e("./Scanner");Object.defineProperty(n,"Scanner",{enumerable:!0,get:function(){return s.Scanner}});var o=e("./Token");Object.defineProperty(n,"Token",{enumerable:!0,get:function(){return o.Token}});var a=e("./column");Object.defineProperty(n,"ColumnParser",{enumerable:!0,get:function(){return a.ColumnParser}}),Object.defineProperty(n,"NonQuotedColumnParser",{enumerable:!0,get:function(){return a.NonQuotedColumnParser}}),Object.defineProperty(n,"QuotedColumnParser",{enumerable:!0,get:function(){return a.QuotedColumnParser}})},{"./Parser":153,"./RowParser":154,"./Scanner":155,"./Token":156,"./column":161}],163:[function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var i=function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(n,"__esModule",{value:!0}),n.HeaderTransformer=void 0;var s=i(e("lodash.isundefined")),o=i(e("lodash.isfunction")),a=i(e("lodash.uniq")),c=i(e("lodash.groupby")),l=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.headers=null,this.receivedHeaders=!1,this.shouldUseFirstRow=!1,this.processedFirstRow=!1,this.headersLength=0,this.parserOptions=t,!0===t.headers?this.shouldUseFirstRow=!0:Array.isArray(t.headers)?this.setHeaders(t.headers):o.default(t.headers)&&(this.headersTransform=t.headers)}var t,n,i;return t=e,(n=[{key:"transform",value:function(e,t){return this.shouldMapRow(e)?t(null,this.processRow(e)):t(null,{row:null,isValid:!0})}},{key:"shouldMapRow",value:function(e){var t=this.parserOptions;if(!this.headersTransform&&t.renameHeaders&&!this.processedFirstRow){if(!this.receivedHeaders)throw new Error("Error renaming headers: new headers must be provided in an array");return this.processedFirstRow=!0,!1}if(!this.receivedHeaders&&Array.isArray(e)){if(this.headersTransform)this.setHeaders(this.headersTransform(e));else{if(!this.shouldUseFirstRow)return!0;this.setHeaders(e)}return!1}return!0}},{key:"processRow",value:function(e){if(!this.headers)return{row:e,isValid:!0};var t=this.parserOptions;if(!t.discardUnmappedColumns&&e.length>this.headersLength){if(!t.strictColumnHandling)throw new Error("Unexpected Error: column header mismatch expected: ".concat(this.headersLength," columns got: ").concat(e.length));return{row:e,isValid:!1,reason:"Column header mismatch expected: ".concat(this.headersLength," columns got: ").concat(e.length)}}return t.strictColumnHandling&&e.length<this.headersLength?{row:e,isValid:!1,reason:"Column header mismatch expected: ".concat(this.headersLength," columns got: ").concat(e.length)}:{row:this.mapHeaders(e),isValid:!0}}},{key:"mapHeaders",value:function(e){for(var t={},n=this.headers,r=this.headersLength,i=0;i<r;i+=1){var o=n[i];if(!s.default(o)){var a=e[i];s.default(a)?t[o]="":t[o]=a}}return t}},{key:"setHeaders",value:function(e){var t,n=e.filter(function(e){return!!e});if(a.default(n).length!==n.length){var r=c.default(n),i=Object.keys(r).filter(function(e){return r[e].length>1});throw new Error("Duplicate headers found ".concat(JSON.stringify(i)))}this.headers=e,this.receivedHeaders=!0,this.headersLength=(null===(t=this.headers)||void 0===t?void 0:t.length)||0}}])&&r(t.prototype,n),i&&r(t,i),e}();n.HeaderTransformer=l},{"lodash.groupby":427,"lodash.isfunction":430,"lodash.isundefined":432,"lodash.uniq":433}],164:[function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var i=function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(n,"__esModule",{value:!0}),n.RowTransformerValidator=void 0;var s=i(e("lodash.isfunction")),o=e("../types"),a=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._rowTransform=null,this._rowValidator=null}var t,n,i;return t=e,i=[{key:"createTransform",value:function(e){return o.isSyncTransform(e)?function(t,n){var r=null;try{r=e(t)}catch(e){return n(e)}return n(null,r)}:e}},{key:"createValidator",value:function(e){return o.isSyncValidate(e)?function(t,n){n(null,{row:t,isValid:e(t)})}:function(t,n){e(t,function(e,r,i){return e?n(e):n(null,r?{row:t,isValid:r,reason:i}:{row:t,isValid:!1,reason:i})})}}}],(n=[{key:"transformAndValidate",value:function(e,t){var n=this;return this.callTransformer(e,function(e,r){return e?t(e):r?n.callValidator(r,function(e,n){return e?t(e):n&&!n.isValid?t(null,{row:r,isValid:!1,reason:n.reason}):t(null,{row:r,isValid:!0})}):t(null,{row:null,isValid:!0})})}},{key:"callTransformer",value:function(e,t){return this._rowTransform?this._rowTransform(e,t):t(null,e)}},{key:"callValidator",value:function(e,t){return this._rowValidator?this._rowValidator(e,t):t(null,{row:e,isValid:!0})}},{key:"rowTransform",set:function(t){if(!s.default(t))throw new TypeError("The transform should be a function");this._rowTransform=e.createTransform(t)}},{key:"rowValidator",set:function(t){if(!s.default(t))throw new TypeError("The validate should be a function");this._rowValidator=e.createValidator(t)}}])&&r(t.prototype,n),i&&r(t,i),e}();n.RowTransformerValidator=a},{"../types":166,"lodash.isfunction":430}],165:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=e("./RowTransformerValidator");Object.defineProperty(n,"RowTransformerValidator",{enumerable:!0,get:function(){return r.RowTransformerValidator}});var i=e("./HeaderTransformer");Object.defineProperty(n,"HeaderTransformer",{enumerable:!0,get:function(){return i.HeaderTransformer}})},{"./HeaderTransformer":163,"./RowTransformerValidator":164}],166:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.isSyncValidate=n.isSyncTransform=void 0,n.isSyncTransform=function(e){return 1===e.length},n.isSyncValidate=function(e){return 1===e.length}},{}],167:[function(e,t,n){"use strict";var r=n;r.bignum=e("bn.js"),r.define=e("./asn1/api").define,r.base=e("./asn1/base"),r.constants=e("./asn1/constants"),r.decoders=e("./asn1/decoders"),r.encoders=e("./asn1/encoders")},{"./asn1/api":168,"./asn1/base":170,"./asn1/constants":174,"./asn1/decoders":176,"./asn1/encoders":179,"bn.js":181}],168:[function(e,t,n){"use strict";var r=e("./encoders"),i=e("./decoders"),s=e("inherits");function o(e,t){this.name=e,this.body=t,this.decoders={},this.encoders={}}n.define=function(e,t){return new o(e,t)},o.prototype._createNamed=function(e){var t=this.name;function n(e){this._initNamed(e,t)}return s(n,e),n.prototype._initNamed=function(t,n){e.call(this,t,n)},new n(this)},o.prototype._getDecoder=function(e){return e=e||"der",this.decoders.hasOwnProperty(e)||(this.decoders[e]=this._createNamed(i[e])),this.decoders[e]},o.prototype.decode=function(e,t,n){return this._getDecoder(t).decode(e,n)},o.prototype._getEncoder=function(e){return e=e||"der",this.encoders.hasOwnProperty(e)||(this.encoders[e]=this._createNamed(r[e])),this.encoders[e]},o.prototype.encode=function(e,t,n){return this._getEncoder(t).encode(e,n)}},{"./decoders":176,"./encoders":179,inherits:387}],169:[function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var i=e("inherits"),s=e("../base/reporter").Reporter,o=e("safer-buffer").Buffer;function a(e,t){s.call(this,t),o.isBuffer(e)?(this.base=e,this.offset=0,this.length=e.length):this.error("Input not Buffer")}function c(e,t){if(Array.isArray(e))this.length=0,this.value=e.map(function(e){return c.isEncoderBuffer(e)||(e=new c(e,t)),this.length+=e.length,e},this);else if("number"==typeof e){if(!(0<=e&&e<=255))return t.error("non-byte EncoderBuffer value");this.value=e,this.length=1}else if("string"==typeof e)this.value=e,this.length=o.byteLength(e);else{if(!o.isBuffer(e))return t.error("Unsupported type: "+r(e));this.value=e,this.length=e.length}}i(a,s),n.DecoderBuffer=a,a.isDecoderBuffer=function(e){return e instanceof a||"object"===r(e)&&o.isBuffer(e.base)&&"DecoderBuffer"===e.constructor.name&&"number"==typeof e.offset&&"number"==typeof e.length&&"function"==typeof e.save&&"function"==typeof e.restore&&"function"==typeof e.isEmpty&&"function"==typeof e.readUInt8&&"function"==typeof e.skip&&"function"==typeof e.raw},a.prototype.save=function(){return{offset:this.offset,reporter:s.prototype.save.call(this)}},a.prototype.restore=function(e){var t=new a(this.base);return t.offset=e.offset,t.length=this.offset,this.offset=e.offset,s.prototype.restore.call(this,e.reporter),t},a.prototype.isEmpty=function(){return this.offset===this.length},a.prototype.readUInt8=function(e){return this.offset+1<=this.length?this.base.readUInt8(this.offset++,!0):this.error(e||"DecoderBuffer overrun")},a.prototype.skip=function(e,t){if(!(this.offset+e<=this.length))return this.error(t||"DecoderBuffer overrun");var n=new a(this.base);return n._reporterState=this._reporterState,n.offset=this.offset,n.length=this.offset+e,this.offset+=e,n},a.prototype.raw=function(e){return this.base.slice(e?e.offset:this.offset,this.length)},n.EncoderBuffer=c,c.isEncoderBuffer=function(e){return e instanceof c||"object"===r(e)&&"EncoderBuffer"===e.constructor.name&&"number"==typeof e.length&&"function"==typeof e.join},c.prototype.join=function(e,t){return e||(e=o.alloc(this.length)),t||(t=0),0===this.length||(Array.isArray(this.value)?this.value.forEach(function(n){n.join(e,t),t+=n.length}):("number"==typeof this.value?e[t]=this.value:"string"==typeof this.value?e.write(this.value,t):o.isBuffer(this.value)&&this.value.copy(e,t),t+=this.length)),e}},{"../base/reporter":172,inherits:387,"safer-buffer":495}],170:[function(e,t,n){"use strict";var r=n;r.Reporter=e("./reporter").Reporter,r.DecoderBuffer=e("./buffer").DecoderBuffer,r.EncoderBuffer=e("./buffer").EncoderBuffer,r.Node=e("./node")},{"./buffer":169,"./node":171,"./reporter":172}],171:[function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var i=e("../base/reporter").Reporter,s=e("../base/buffer").EncoderBuffer,o=e("../base/buffer").DecoderBuffer,a=e("minimalistic-assert"),c=["seq","seqof","set","setof","objid","bool","gentime","utctime","null_","enum","int","objDesc","bitstr","bmpstr","charstr","genstr","graphstr","ia5str","iso646str","numstr","octstr","printstr","t61str","unistr","utf8str","videostr"],l=["key","obj","use","optional","explicit","implicit","def","choice","any","contains"].concat(c);function u(e,t,n){var r={};this._baseState=r,r.name=n,r.enc=e,r.parent=t||null,r.children=null,r.tag=null,r.args=null,r.reverseArgs=null,r.choice=null,r.optional=!1,r.any=!1,r.obj=!1,r.use=null,r.useDecoder=null,r.key=null,r.default=null,r.explicit=null,r.implicit=null,r.contains=null,r.parent||(r.children=[],this._wrap())}t.exports=u;var h=["enc","parent","children","tag","args","reverseArgs","choice","optional","any","obj","use","alteredUse","key","default","explicit","implicit","contains"];u.prototype.clone=function(){var e=this._baseState,t={};h.forEach(function(n){t[n]=e[n]});var n=new this.constructor(t.parent);return n._baseState=t,n},u.prototype._wrap=function(){var e=this._baseState;l.forEach(function(t){this[t]=function(){var n=new this.constructor(this);return e.children.push(n),n[t].apply(n,arguments)}},this)},u.prototype._init=function(e){var t=this._baseState;a(null===t.parent),e.call(this),t.children=t.children.filter(function(e){return e._baseState.parent===this},this),a.equal(t.children.length,1,"Root node can have only one child")},u.prototype._useArgs=function(e){var t=this._baseState,n=e.filter(function(e){return e instanceof this.constructor},this);e=e.filter(function(e){return!(e instanceof this.constructor)},this),0!==n.length&&(a(null===t.children),t.children=n,n.forEach(function(e){e._baseState.parent=this},this)),0!==e.length&&(a(null===t.args),t.args=e,t.reverseArgs=e.map(function(e){if("object"!==r(e)||e.constructor!==Object)return e;var t={};return Object.keys(e).forEach(function(n){n==(0|n)&&(n|=0);var r=e[n];t[r]=n}),t}))},["_peekTag","_decodeTag","_use","_decodeStr","_decodeObjid","_decodeTime","_decodeNull","_decodeInt","_decodeBool","_decodeList","_encodeComposite","_encodeStr","_encodeObjid","_encodeTime","_encodeNull","_encodeInt","_encodeBool"].forEach(function(e){u.prototype[e]=function(){var t=this._baseState;throw new Error(e+" not implemented for encoding: "+t.enc)}}),c.forEach(function(e){u.prototype[e]=function(){var t=this._baseState,n=Array.prototype.slice.call(arguments);return a(null===t.tag),t.tag=e,this._useArgs(n),this}}),u.prototype.use=function(e){a(e);var t=this._baseState;return a(null===t.use),t.use=e,this},u.prototype.optional=function(){return this._baseState.optional=!0,this},u.prototype.def=function(e){var t=this._baseState;return a(null===t.default),t.default=e,t.optional=!0,this},u.prototype.explicit=function(e){var t=this._baseState;return a(null===t.explicit&&null===t.implicit),t.explicit=e,this},u.prototype.implicit=function(e){var t=this._baseState;return a(null===t.explicit&&null===t.implicit),t.implicit=e,this},u.prototype.obj=function(){var e=this._baseState,t=Array.prototype.slice.call(arguments);return e.obj=!0,0!==t.length&&this._useArgs(t),this},u.prototype.key=function(e){var t=this._baseState;return a(null===t.key),t.key=e,this},u.prototype.any=function(){return this._baseState.any=!0,this},u.prototype.choice=function(e){var t=this._baseState;return a(null===t.choice),t.choice=e,this._useArgs(Object.keys(e).map(function(t){return e[t]})),this},u.prototype.contains=function(e){var t=this._baseState;return a(null===t.use),t.contains=e,this},u.prototype._decode=function(e,t){var n=this._baseState;if(null===n.parent)return e.wrapResult(n.children[0]._decode(e,t));var r,i=n.default,s=!0,a=null;if(null!==n.key&&(a=e.enterKey(n.key)),n.optional){var c=null;if(null!==n.explicit?c=n.explicit:null!==n.implicit?c=n.implicit:null!==n.tag&&(c=n.tag),null!==c||n.any){if(s=this._peekTag(e,c,n.any),e.isError(s))return s}else{var l=e.save();try{null===n.choice?this._decodeGeneric(n.tag,e,t):this._decodeChoice(e,t),s=!0}catch(e){s=!1}e.restore(l)}}if(n.obj&&s&&(r=e.enterObject()),s){if(null!==n.explicit){var u=this._decodeTag(e,n.explicit);if(e.isError(u))return u;e=u}var h=e.offset;if(null===n.use&&null===n.choice){var d;n.any&&(d=e.save());var f=this._decodeTag(e,null!==n.implicit?n.implicit:n.tag,n.any);if(e.isError(f))return f;n.any?i=e.raw(d):e=f}if(t&&t.track&&null!==n.tag&&t.track(e.path(),h,e.length,"tagged"),t&&t.track&&null!==n.tag&&t.track(e.path(),e.offset,e.length,"content"),n.any||(i=null===n.choice?this._decodeGeneric(n.tag,e,t):this._decodeChoice(e,t)),e.isError(i))return i;if(n.any||null!==n.choice||null===n.children||n.children.forEach(function(n){n._decode(e,t)}),n.contains&&("octstr"===n.tag||"bitstr"===n.tag)){var p=new o(i);i=this._getUse(n.contains,e._reporterState.obj)._decode(p,t)}}return n.obj&&s&&(i=e.leaveObject(r)),null===n.key||null===i&&!0!==s?null!==a&&e.exitKey(a):e.leaveKey(a,n.key,i),i},u.prototype._decodeGeneric=function(e,t,n){var r=this._baseState;return"seq"===e||"set"===e?null:"seqof"===e||"setof"===e?this._decodeList(t,e,r.args[0],n):/str$/.test(e)?this._decodeStr(t,e,n):"objid"===e&&r.args?this._decodeObjid(t,r.args[0],r.args[1],n):"objid"===e?this._decodeObjid(t,null,null,n):"gentime"===e||"utctime"===e?this._decodeTime(t,e,n):"null_"===e?this._decodeNull(t,n):"bool"===e?this._decodeBool(t,n):"objDesc"===e?this._decodeStr(t,e,n):"int"===e||"enum"===e?this._decodeInt(t,r.args&&r.args[0],n):null!==r.use?this._getUse(r.use,t._reporterState.obj)._decode(t,n):t.error("unknown tag: "+e)},u.prototype._getUse=function(e,t){var n=this._baseState;return n.useDecoder=this._use(e,t),a(null===n.useDecoder._baseState.parent),n.useDecoder=n.useDecoder._baseState.children[0],n.implicit!==n.useDecoder._baseState.implicit&&(n.useDecoder=n.useDecoder.clone(),n.useDecoder._baseState.implicit=n.implicit),n.useDecoder},u.prototype._decodeChoice=function(e,t){var n=this._baseState,r=null,i=!1;return Object.keys(n.choice).some(function(s){var o=e.save(),a=n.choice[s];try{var c=a._decode(e,t);if(e.isError(c))return!1;r={type:s,value:c},i=!0}catch(t){return e.restore(o),!1}return!0},this),i?r:e.error("Choice not matched")},u.prototype._createEncoderBuffer=function(e){return new s(e,this.reporter)},u.prototype._encode=function(e,t,n){var r=this._baseState;if(null===r.default||r.default!==e){var i=this._encodeValue(e,t,n);if(void 0!==i&&!this._skipDefault(i,t,n))return i}},u.prototype._encodeValue=function(e,t,n){var s=this._baseState;if(null===s.parent)return s.children[0]._encode(e,t||new i);var o=null;if(this.reporter=t,s.optional&&void 0===e){if(null===s.default)return;e=s.default}var a=null,c=!1;if(s.any)o=this._createEncoderBuffer(e);else if(s.choice)o=this._encodeChoice(e,t);else if(s.contains)a=this._getUse(s.contains,n)._encode(e,t),c=!0;else if(s.children)a=s.children.map(function(n){if("null_"===n._baseState.tag)return n._encode(null,t,e);if(null===n._baseState.key)return t.error("Child should have a key");var i=t.enterKey(n._baseState.key);if("object"!==r(e))return t.error("Child expected, but input is not object");var s=n._encode(e[n._baseState.key],t,e);return t.leaveKey(i),s},this).filter(function(e){return e}),a=this._createEncoderBuffer(a);else if("seqof"===s.tag||"setof"===s.tag){if(!s.args||1!==s.args.length)return t.error("Too many args for : "+s.tag);if(!Array.isArray(e))return t.error("seqof/setof, but data is not Array");var l=this.clone();l._baseState.implicit=null,a=this._createEncoderBuffer(e.map(function(n){var r=this._baseState;return this._getUse(r.args[0],e)._encode(n,t)},l))}else null!==s.use?o=this._getUse(s.use,n)._encode(e,t):(a=this._encodePrimitive(s.tag,e),c=!0);if(!s.any&&null===s.choice){var u=null!==s.implicit?s.implicit:s.tag,h=null===s.implicit?"universal":"context";null===u?null===s.use&&t.error("Tag could be omitted only for .use()"):null===s.use&&(o=this._encodeComposite(u,c,h,a))}return null!==s.explicit&&(o=this._encodeComposite(s.explicit,!1,"context",o)),o},u.prototype._encodeChoice=function(e,t){var n=this._baseState,r=n.choice[e.type];return r||a(!1,e.type+" not found in "+JSON.stringify(Object.keys(n.choice))),r._encode(e.value,t)},u.prototype._encodePrimitive=function(e,t){var n=this._baseState;if(/str$/.test(e))return this._encodeStr(t,e);if("objid"===e&&n.args)return this._encodeObjid(t,n.reverseArgs[0],n.args[1]);if("objid"===e)return this._encodeObjid(t,null,null);if("gentime"===e||"utctime"===e)return this._encodeTime(t,e);if("null_"===e)return this._encodeNull();if("int"===e||"enum"===e)return this._encodeInt(t,n.args&&n.reverseArgs[0]);if("bool"===e)return this._encodeBool(t);if("objDesc"===e)return this._encodeStr(t,e);throw new Error("Unsupported tag: "+e)},u.prototype._isNumstr=function(e){return/^[0-9 ]*$/.test(e)},u.prototype._isPrintstr=function(e){return/^[A-Za-z0-9 '()+,-./:=?]*$/.test(e)}},{"../base/buffer":169,"../base/reporter":172,"minimalistic-assert":437}],172:[function(e,t,n){"use strict";var r=e("inherits");function i(e){this._reporterState={obj:null,path:[],options:e||{},errors:[]}}function s(e,t){this.path=e,this.rethrow(t)}n.Reporter=i,i.prototype.isError=function(e){return e instanceof s},i.prototype.save=function(){var e=this._reporterState;return{obj:e.obj,pathLen:e.path.length}},i.prototype.restore=function(e){var t=this._reporterState;t.obj=e.obj,t.path=t.path.slice(0,e.pathLen)},i.prototype.enterKey=function(e){return this._reporterState.path.push(e)},i.prototype.exitKey=function(e){var t=this._reporterState;t.path=t.path.slice(0,e-1)},i.prototype.leaveKey=function(e,t,n){var r=this._reporterState;this.exitKey(e),null!==r.obj&&(r.obj[t]=n)},i.prototype.path=function(){return this._reporterState.path.join("/")},i.prototype.enterObject=function(){var e=this._reporterState,t=e.obj;return e.obj={},t},i.prototype.leaveObject=function(e){var t=this._reporterState,n=t.obj;return t.obj=e,n},i.prototype.error=function(e){var t,n=this._reporterState,r=e instanceof s;if(t=r?e:new s(n.path.map(function(e){return"["+JSON.stringify(e)+"]"}).join(""),e.message||e,e.stack),!n.options.partial)throw t;return r||n.errors.push(t),t},i.prototype.wrapResult=function(e){var t=this._reporterState;return t.options.partial?{result:this.isError(e)?null:e,errors:t.errors}:e},r(s,Error),s.prototype.rethrow=function(e){if(this.message=e+" at: "+(this.path||"(shallow)"),Error.captureStackTrace&&Error.captureStackTrace(this,s),!this.stack)try{throw new Error(this.message)}catch(e){this.stack=e.stack}return this}},{inherits:387}],173:[function(e,t,n){"use strict";function r(e){var t={};return Object.keys(e).forEach(function(n){(0|n)==n&&(n|=0);var r=e[n];t[r]=n}),t}n.tagClass={0:"universal",1:"application",2:"context",3:"private"},n.tagClassByName=r(n.tagClass),n.tag={0:"end",1:"bool",2:"int",3:"bitstr",4:"octstr",5:"null_",6:"objid",7:"objDesc",8:"external",9:"real",10:"enum",11:"embed",12:"utf8str",13:"relativeOid",16:"seq",17:"set",18:"numstr",19:"printstr",20:"t61str",21:"videostr",22:"ia5str",23:"utctime",24:"gentime",25:"graphstr",26:"iso646str",27:"genstr",28:"unistr",29:"charstr",30:"bmpstr"},n.tagByName=r(n.tag)},{}],174:[function(e,t,n){"use strict";var r=n;r._reverse=function(e){var t={};return Object.keys(e).forEach(function(n){(0|n)==n&&(n|=0);var r=e[n];t[r]=n}),t},r.der=e("./der")},{"./der":173}],175:[function(e,t,n){"use strict";var r=e("inherits"),i=e("bn.js"),s=e("../base/buffer").DecoderBuffer,o=e("../base/node"),a=e("../constants/der");function c(e){this.enc="der",this.name=e.name,this.entity=e,this.tree=new l,this.tree._init(e.body)}function l(e){o.call(this,"der",e)}function u(e,t){var n=e.readUInt8(t);if(e.isError(n))return n;var r=a.tagClass[n>>6],i=0==(32&n);if(31==(31&n)){var s=n;for(n=0;128==(128&s);){if(s=e.readUInt8(t),e.isError(s))return s;n<<=7,n|=127&s}}else n&=31;return{cls:r,primitive:i,tag:n,tagStr:a.tag[n]}}function h(e,t,n){var r=e.readUInt8(n);if(e.isError(r))return r;if(!t&&128===r)return null;if(0==(128&r))return r;var i=127&r;if(i>4)return e.error("length octect is too long");r=0;for(var s=0;s<i;s++){r<<=8;var o=e.readUInt8(n);if(e.isError(o))return o;r|=o}return r}t.exports=c,c.prototype.decode=function(e,t){return s.isDecoderBuffer(e)||(e=new s(e,t)),this.tree._decode(e,t)},r(l,o),l.prototype._peekTag=function(e,t,n){if(e.isEmpty())return!1;var r=e.save(),i=u(e,'Failed to peek tag: "'+t+'"');return e.isError(i)?i:(e.restore(r),i.tag===t||i.tagStr===t||i.tagStr+"of"===t||n)},l.prototype._decodeTag=function(e,t,n){var r=u(e,'Failed to decode tag of "'+t+'"');if(e.isError(r))return r;var i=h(e,r.primitive,'Failed to get length of "'+t+'"');if(e.isError(i))return i;if(!n&&r.tag!==t&&r.tagStr!==t&&r.tagStr+"of"!==t)return e.error('Failed to match tag: "'+t+'"');if(r.primitive||null!==i)return e.skip(i,'Failed to match body of: "'+t+'"');var s=e.save(),o=this._skipUntilEnd(e,'Failed to skip indefinite length body: "'+this.tag+'"');return e.isError(o)?o:(i=e.offset-s.offset,e.restore(s),e.skip(i,'Failed to match body of: "'+t+'"'))},l.prototype._skipUntilEnd=function(e,t){for(;;){var n=u(e,t);if(e.isError(n))return n;var r=h(e,n.primitive,t);if(e.isError(r))return r;var i=void 0;if(i=n.primitive||null!==r?e.skip(r):this._skipUntilEnd(e,t),e.isError(i))return i;if("end"===n.tagStr)break}},l.prototype._decodeList=function(e,t,n,r){for(var i=[];!e.isEmpty();){var s=this._peekTag(e,"end");if(e.isError(s))return s;var o=n.decode(e,"der",r);if(e.isError(o)&&s)break;i.push(o)}return i},l.prototype._decodeStr=function(e,t){if("bitstr"===t){var n=e.readUInt8();return e.isError(n)?n:{unused:n,data:e.raw()}}if("bmpstr"===t){var r=e.raw();if(r.length%2==1)return e.error("Decoding of string type: bmpstr length mismatch");for(var i="",s=0;s<r.length/2;s++)i+=String.fromCharCode(r.readUInt16BE(2*s));return i}if("numstr"===t){var o=e.raw().toString("ascii");return this._isNumstr(o)?o:e.error("Decoding of string type: numstr unsupported characters")}if("octstr"===t)return e.raw();if("objDesc"===t)return e.raw();if("printstr"===t){var a=e.raw().toString("ascii");return this._isPrintstr(a)?a:e.error("Decoding of string type: printstr unsupported characters")}return/str$/.test(t)?e.raw().toString():e.error("Decoding of string type: "+t+" unsupported")},l.prototype._decodeObjid=function(e,t,n){for(var r,i=[],s=0,o=0;!e.isEmpty();)s<<=7,s|=127&(o=e.readUInt8()),0==(128&o)&&(i.push(s),s=0);128&o&&i.push(s);var a=i[0]/40|0,c=i[0]%40;if(r=n?i:[a,c].concat(i.slice(1)),t){var l=t[r.join(" ")];void 0===l&&(l=t[r.join(".")]),void 0!==l&&(r=l)}return r},l.prototype._decodeTime=function(e,t){var n,r,i,s,o,a,c=e.raw().toString();if("gentime"===t)n=0|c.slice(0,4),r=0|c.slice(4,6),i=0|c.slice(6,8),s=0|c.slice(8,10),o=0|c.slice(10,12),a=0|c.slice(12,14);else{if("utctime"!==t)return e.error("Decoding "+t+" time is not supported yet");n=0|c.slice(0,2),r=0|c.slice(2,4),i=0|c.slice(4,6),s=0|c.slice(6,8),o=0|c.slice(8,10),a=0|c.slice(10,12),n=n<70?2e3+n:1900+n}return Date.UTC(n,r-1,i,s,o,a,0)},l.prototype._decodeNull=function(){return null},l.prototype._decodeBool=function(e){var t=e.readUInt8();return e.isError(t)?t:0!==t},l.prototype._decodeInt=function(e,t){var n=e.raw(),r=new i(n);return t&&(r=t[r.toString(10)]||r),r},l.prototype._use=function(e,t){return"function"==typeof e&&(e=e(t)),e._getDecoder("der").tree}},{"../base/buffer":169,"../base/node":171,"../constants/der":173,"bn.js":181,inherits:387}],176:[function(e,t,n){"use strict";var r=n;r.der=e("./der"),r.pem=e("./pem")},{"./der":175,"./pem":177}],177:[function(e,t,n){"use strict";var r=e("inherits"),i=e("safer-buffer").Buffer,s=e("./der");function o(e){s.call(this,e),this.enc="pem"}r(o,s),t.exports=o,o.prototype.decode=function(e,t){for(var n=e.toString().split(/[\r\n]+/g),r=t.label.toUpperCase(),o=/^-----(BEGIN|END) ([^-]+)-----$/,a=-1,c=-1,l=0;l<n.length;l++){var u=n[l].match(o);if(null!==u&&u[2]===r){if(-1!==a){if("END"!==u[1])break;c=l;break}if("BEGIN"!==u[1])break;a=l}}if(-1===a||-1===c)throw new Error("PEM section not found for: "+r);var h=n.slice(a+1,c).join("");h.replace(/[^a-z0-9+/=]+/gi,"");var d=i.from(h,"base64");return s.prototype.decode.call(this,d,t)}},{"./der":175,inherits:387,"safer-buffer":495}],178:[function(e,t,n){"use strict";var r=e("inherits"),i=e("safer-buffer").Buffer,s=e("../base/node"),o=e("../constants/der");function a(e){this.enc="der",this.name=e.name,this.entity=e,this.tree=new c,this.tree._init(e.body)}function c(e){s.call(this,"der",e)}function l(e){return e<10?"0"+e:e}t.exports=a,a.prototype.encode=function(e,t){return this.tree._encode(e,t).join()},r(c,s),c.prototype._encodeComposite=function(e,t,n,r){var s=function(e,t,n,r){var i;if("seqof"===e?e="seq":"setof"===e&&(e="set"),o.tagByName.hasOwnProperty(e))i=o.tagByName[e];else{if("number"!=typeof e||(0|e)!==e)return r.error("Unknown tag: "+e);i=e}return i>=31?r.error("Multi-octet tag encoding unsupported"):(t||(i|=32),i|o.tagClassByName[n||"universal"]<<6)}(e,t,n,this.reporter);if(r.length<128){var a=i.alloc(2);return a[0]=s,a[1]=r.length,this._createEncoderBuffer([a,r])}for(var c=1,l=r.length;l>=256;l>>=8)c++;var u=i.alloc(2+c);u[0]=s,u[1]=128|c;for(var h=1+c,d=r.length;d>0;h--,d>>=8)u[h]=255&d;return this._createEncoderBuffer([u,r])},c.prototype._encodeStr=function(e,t){if("bitstr"===t)return this._createEncoderBuffer([0|e.unused,e.data]);if("bmpstr"===t){for(var n=i.alloc(2*e.length),r=0;r<e.length;r++)n.writeUInt16BE(e.charCodeAt(r),2*r);return this._createEncoderBuffer(n)}return"numstr"===t?this._isNumstr(e)?this._createEncoderBuffer(e):this.reporter.error("Encoding of string type: numstr supports only digits and space"):"printstr"===t?this._isPrintstr(e)?this._createEncoderBuffer(e):this.reporter.error("Encoding of string type: printstr supports only latin upper and lower case letters, digits, space, apostrophe, left and rigth parenthesis, plus sign, comma, hyphen, dot, slash, colon, equal sign, question mark"):/str$/.test(t)||"objDesc"===t?this._createEncoderBuffer(e):this.reporter.error("Encoding of string type: "+t+" unsupported")},c.prototype._encodeObjid=function(e,t,n){if("string"==typeof e){if(!t)return this.reporter.error("string objid given, but no values map found");if(!t.hasOwnProperty(e))return this.reporter.error("objid not found in values map");e=t[e].split(/[\s.]+/g);for(var r=0;r<e.length;r++)e[r]|=0}else if(Array.isArray(e)){e=e.slice();for(var s=0;s<e.length;s++)e[s]|=0}if(!Array.isArray(e))return this.reporter.error("objid() should be either array or string, got: "+JSON.stringify(e));if(!n){if(e[1]>=40)return this.reporter.error("Second objid identifier OOB");e.splice(0,2,40*e[0]+e[1])}for(var o=0,a=0;a<e.length;a++){var c=e[a];for(o++;c>=128;c>>=7)o++}for(var l=i.alloc(o),u=l.length-1,h=e.length-1;h>=0;h--){var d=e[h];for(l[u--]=127&d;(d>>=7)>0;)l[u--]=128|127&d}return this._createEncoderBuffer(l)},c.prototype._encodeTime=function(e,t){var n,r=new Date(e);return"gentime"===t?n=[l(r.getUTCFullYear()),l(r.getUTCMonth()+1),l(r.getUTCDate()),l(r.getUTCHours()),l(r.getUTCMinutes()),l(r.getUTCSeconds()),"Z"].join(""):"utctime"===t?n=[l(r.getUTCFullYear()%100),l(r.getUTCMonth()+1),l(r.getUTCDate()),l(r.getUTCHours()),l(r.getUTCMinutes()),l(r.getUTCSeconds()),"Z"].join(""):this.reporter.error("Encoding "+t+" time is not supported yet"),this._encodeStr(n,"octstr")},c.prototype._encodeNull=function(){return this._createEncoderBuffer("")},c.prototype._encodeInt=function(e,t){if("string"==typeof e){if(!t)return this.reporter.error("String int or enum given, but no values map");if(!t.hasOwnProperty(e))return this.reporter.error("Values map doesn't contain: "+JSON.stringify(e));e=t[e]}if("number"!=typeof e&&!i.isBuffer(e)){var n=e.toArray();!e.sign&&128&n[0]&&n.unshift(0),e=i.from(n)}if(i.isBuffer(e)){var r=e.length;0===e.length&&r++;var s=i.alloc(r);return e.copy(s),0===e.length&&(s[0]=0),this._createEncoderBuffer(s)}if(e<128)return this._createEncoderBuffer(e);if(e<256)return this._createEncoderBuffer([0,e]);for(var o=1,a=e;a>=256;a>>=8)o++;for(var c=new Array(o),l=c.length-1;l>=0;l--)c[l]=255&e,e>>=8;return 128&c[0]&&c.unshift(0),this._createEncoderBuffer(i.from(c))},c.prototype._encodeBool=function(e){return this._createEncoderBuffer(e?255:0)},c.prototype._use=function(e,t){return"function"==typeof e&&(e=e(t)),e._getEncoder("der").tree},c.prototype._skipDefault=function(e,t,n){var r,i=this._baseState;if(null===i.default)return!1;var s=e.join();if(void 0===i.defaultBuffer&&(i.defaultBuffer=this._encodeValue(i.default,t,n).join()),s.length!==i.defaultBuffer.length)return!1;for(r=0;r<s.length;r++)if(s[r]!==i.defaultBuffer[r])return!1;return!0}},{"../base/node":171,"../constants/der":173,inherits:387,"safer-buffer":495}],179:[function(e,t,n){"use strict";var r=n;r.der=e("./der"),r.pem=e("./pem")},{"./der":178,"./pem":180}],180:[function(e,t,n){"use strict";var r=e("inherits"),i=e("./der");function s(e){i.call(this,e),this.enc="pem"}r(s,i),t.exports=s,s.prototype.encode=function(e,t){for(var n=i.prototype.encode.call(this,e).toString("base64"),r=["-----BEGIN "+t.label+"-----"],s=0;s<n.length;s+=64)r.push(n.slice(s,s+64));return r.push("-----END "+t.label+"-----"),r.join("\n")}},{"./der":178,inherits:387}],181:[function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}!function(t,n){function i(e,t){if(!e)throw new Error(t||"Assertion failed")}function s(e,t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}function o(e,t,n){if(o.isBN(e))return e;this.negative=0,this.words=null,this.length=0,this.red=null,null!==e&&("le"!==t&&"be"!==t||(n=t,t=10),this._init(e||0,t||10,n||"be"))}var a;"object"===r(t)?t.exports=o:(void 0).BN=o,o.BN=o,o.wordSize=26;try{a=e("buffer").Buffer}catch(e){}function c(e,t,n){for(var r=0,i=Math.min(e.length,n),s=t;s<i;s++){var o=e.charCodeAt(s)-48;r<<=4,r|=o>=49&&o<=54?o-49+10:o>=17&&o<=22?o-17+10:15&o}return r}function l(e,t,n,r){for(var i=0,s=Math.min(e.length,n),o=t;o<s;o++){var a=e.charCodeAt(o)-48;i*=r,i+=a>=49?a-49+10:a>=17?a-17+10:a}return i}o.isBN=function(e){return e instanceof o||null!==e&&"object"===r(e)&&e.constructor.wordSize===o.wordSize&&Array.isArray(e.words)},o.max=function(e,t){return e.cmp(t)>0?e:t},o.min=function(e,t){return e.cmp(t)<0?e:t},o.prototype._init=function(e,t,n){if("number"==typeof e)return this._initNumber(e,t,n);if("object"===r(e))return this._initArray(e,t,n);"hex"===t&&(t=16),i(t===(0|t)&&t>=2&&t<=36);var s=0;"-"===(e=e.toString().replace(/\s+/g,""))[0]&&s++,16===t?this._parseHex(e,s):this._parseBase(e,t,s),"-"===e[0]&&(this.negative=1),this.strip(),"le"===n&&this._initArray(this.toArray(),t,n)},o.prototype._initNumber=function(e,t,n){e<0&&(this.negative=1,e=-e),e<67108864?(this.words=[67108863&e],this.length=1):e<4503599627370496?(this.words=[67108863&e,e/67108864&67108863],this.length=2):(i(e<9007199254740992),this.words=[67108863&e,e/67108864&67108863,1],this.length=3),"le"===n&&this._initArray(this.toArray(),t,n)},o.prototype._initArray=function(e,t,n){if(i("number"==typeof e.length),e.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(e.length/3),this.words=new Array(this.length);for(var r=0;r<this.length;r++)this.words[r]=0;var s,o,a=0;if("be"===n)for(r=e.length-1,s=0;r>=0;r-=3)o=e[r]|e[r-1]<<8|e[r-2]<<16,this.words[s]|=o<<a&67108863,this.words[s+1]=o>>>26-a&67108863,(a+=24)>=26&&(a-=26,s++);else if("le"===n)for(r=0,s=0;r<e.length;r+=3)o=e[r]|e[r+1]<<8|e[r+2]<<16,this.words[s]|=o<<a&67108863,this.words[s+1]=o>>>26-a&67108863,(a+=24)>=26&&(a-=26,s++);return this.strip()},o.prototype._parseHex=function(e,t){this.length=Math.ceil((e.length-t)/6),this.words=new Array(this.length);for(var n=0;n<this.length;n++)this.words[n]=0;var r,i,s=0;for(n=e.length-6,r=0;n>=t;n-=6)i=c(e,n,n+6),this.words[r]|=i<<s&67108863,this.words[r+1]|=i>>>26-s&4194303,(s+=24)>=26&&(s-=26,r++);n+6!==t&&(i=c(e,t,n+6),this.words[r]|=i<<s&67108863,this.words[r+1]|=i>>>26-s&4194303),this.strip()},o.prototype._parseBase=function(e,t,n){this.words=[0],this.length=1;for(var r=0,i=1;i<=67108863;i*=t)r++;r--,i=i/t|0;for(var s=e.length-n,o=s%r,a=Math.min(s,s-o)+n,c=0,u=n;u<a;u+=r)c=l(e,u,u+r,t),this.imuln(i),this.words[0]+c<67108864?this.words[0]+=c:this._iaddn(c);if(0!==o){var h=1;for(c=l(e,u,e.length,t),u=0;u<o;u++)h*=t;this.imuln(h),this.words[0]+c<67108864?this.words[0]+=c:this._iaddn(c)}},o.prototype.copy=function(e){e.words=new Array(this.length);for(var t=0;t<this.length;t++)e.words[t]=this.words[t];e.length=this.length,e.negative=this.negative,e.red=this.red},o.prototype.clone=function(){var e=new o(null);return this.copy(e),e},o.prototype._expand=function(e){for(;this.length<e;)this.words[this.length++]=0;return this},o.prototype.strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},o.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},o.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var u=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],h=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],d=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function f(e,t,n){n.negative=t.negative^e.negative;var r=e.length+t.length|0;n.length=r,r=r-1|0;var i=0|e.words[0],s=0|t.words[0],o=i*s,a=67108863&o,c=o/67108864|0;n.words[0]=a;for(var l=1;l<r;l++){for(var u=c>>>26,h=67108863&c,d=Math.min(l,t.length-1),f=Math.max(0,l-e.length+1);f<=d;f++){var p=l-f|0;u+=(o=(i=0|e.words[p])*(s=0|t.words[f])+h)/67108864|0,h=67108863&o}n.words[l]=0|h,c=0|u}return 0!==c?n.words[l]=0|c:n.length--,n.strip()}o.prototype.toString=function(e,t){var n;if(t=0|t||1,16===(e=e||10)||"hex"===e){n="";for(var r=0,s=0,o=0;o<this.length;o++){var a=this.words[o],c=(16777215&(a<<r|s)).toString(16);n=0!=(s=a>>>24-r&16777215)||o!==this.length-1?u[6-c.length]+c+n:c+n,(r+=2)>=26&&(r-=26,o--)}for(0!==s&&(n=s.toString(16)+n);n.length%t!=0;)n="0"+n;return 0!==this.negative&&(n="-"+n),n}if(e===(0|e)&&e>=2&&e<=36){var l=h[e],f=d[e];n="";var p=this.clone();for(p.negative=0;!p.isZero();){var m=p.modn(f).toString(e);n=(p=p.idivn(f)).isZero()?m+n:u[l-m.length]+m+n}for(this.isZero()&&(n="0"+n);n.length%t!=0;)n="0"+n;return 0!==this.negative&&(n="-"+n),n}i(!1,"Base should be between 2 and 36")},o.prototype.toNumber=function(){var e=this.words[0];return 2===this.length?e+=67108864*this.words[1]:3===this.length&&1===this.words[2]?e+=4503599627370496+67108864*this.words[1]:this.length>2&&i(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-e:e},o.prototype.toJSON=function(){return this.toString(16)},o.prototype.toBuffer=function(e,t){return i(void 0!==a),this.toArrayLike(a,e,t)},o.prototype.toArray=function(e,t){return this.toArrayLike(Array,e,t)},o.prototype.toArrayLike=function(e,t,n){var r=this.byteLength(),s=n||Math.max(1,r);i(r<=s,"byte array longer than desired length"),i(s>0,"Requested array length <= 0"),this.strip();var o,a,c="le"===t,l=new e(s),u=this.clone();if(c){for(a=0;!u.isZero();a++)o=u.andln(255),u.iushrn(8),l[a]=o;for(;a<s;a++)l[a]=0}else{for(a=0;a<s-r;a++)l[a]=0;for(a=0;!u.isZero();a++)o=u.andln(255),u.iushrn(8),l[s-a-1]=o}return l},Math.clz32?o.prototype._countBits=function(e){return 32-Math.clz32(e)}:o.prototype._countBits=function(e){var t=e,n=0;return t>=4096&&(n+=13,t>>>=13),t>=64&&(n+=7,t>>>=7),t>=8&&(n+=4,t>>>=4),t>=2&&(n+=2,t>>>=2),n+t},o.prototype._zeroBits=function(e){if(0===e)return 26;var t=e,n=0;return 0==(8191&t)&&(n+=13,t>>>=13),0==(127&t)&&(n+=7,t>>>=7),0==(15&t)&&(n+=4,t>>>=4),0==(3&t)&&(n+=2,t>>>=2),0==(1&t)&&n++,n},o.prototype.bitLength=function(){var e=this.words[this.length-1],t=this._countBits(e);return 26*(this.length-1)+t},o.prototype.zeroBits=function(){if(this.isZero())return 0;for(var e=0,t=0;t<this.length;t++){var n=this._zeroBits(this.words[t]);if(e+=n,26!==n)break}return e},o.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},o.prototype.toTwos=function(e){return 0!==this.negative?this.abs().inotn(e).iaddn(1):this.clone()},o.prototype.fromTwos=function(e){return this.testn(e-1)?this.notn(e).iaddn(1).ineg():this.clone()},o.prototype.isNeg=function(){return 0!==this.negative},o.prototype.neg=function(){return this.clone().ineg()},o.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},o.prototype.iuor=function(e){for(;this.length<e.length;)this.words[this.length++]=0;for(var t=0;t<e.length;t++)this.words[t]=this.words[t]|e.words[t];return this.strip()},o.prototype.ior=function(e){return i(0==(this.negative|e.negative)),this.iuor(e)},o.prototype.or=function(e){return this.length>e.length?this.clone().ior(e):e.clone().ior(this)},o.prototype.uor=function(e){return this.length>e.length?this.clone().iuor(e):e.clone().iuor(this)},o.prototype.iuand=function(e){var t;t=this.length>e.length?e:this;for(var n=0;n<t.length;n++)this.words[n]=this.words[n]&e.words[n];return this.length=t.length,this.strip()},o.prototype.iand=function(e){return i(0==(this.negative|e.negative)),this.iuand(e)},o.prototype.and=function(e){return this.length>e.length?this.clone().iand(e):e.clone().iand(this)},o.prototype.uand=function(e){return this.length>e.length?this.clone().iuand(e):e.clone().iuand(this)},o.prototype.iuxor=function(e){var t,n;this.length>e.length?(t=this,n=e):(t=e,n=this);for(var r=0;r<n.length;r++)this.words[r]=t.words[r]^n.words[r];if(this!==t)for(;r<t.length;r++)this.words[r]=t.words[r];return this.length=t.length,this.strip()},o.prototype.ixor=function(e){return i(0==(this.negative|e.negative)),this.iuxor(e)},o.prototype.xor=function(e){return this.length>e.length?this.clone().ixor(e):e.clone().ixor(this)},o.prototype.uxor=function(e){return this.length>e.length?this.clone().iuxor(e):e.clone().iuxor(this)},o.prototype.inotn=function(e){i("number"==typeof e&&e>=0);var t=0|Math.ceil(e/26),n=e%26;this._expand(t),n>0&&t--;for(var r=0;r<t;r++)this.words[r]=67108863&~this.words[r];return n>0&&(this.words[r]=~this.words[r]&67108863>>26-n),this.strip()},o.prototype.notn=function(e){return this.clone().inotn(e)},o.prototype.setn=function(e,t){i("number"==typeof e&&e>=0);var n=e/26|0,r=e%26;return this._expand(n+1),this.words[n]=t?this.words[n]|1<<r:this.words[n]&~(1<<r),this.strip()},o.prototype.iadd=function(e){var t,n,r;if(0!==this.negative&&0===e.negative)return this.negative=0,t=this.isub(e),this.negative^=1,this._normSign();if(0===this.negative&&0!==e.negative)return e.negative=0,t=this.isub(e),e.negative=1,t._normSign();this.length>e.length?(n=this,r=e):(n=e,r=this);for(var i=0,s=0;s<r.length;s++)t=(0|n.words[s])+(0|r.words[s])+i,this.words[s]=67108863&t,i=t>>>26;for(;0!==i&&s<n.length;s++)t=(0|n.words[s])+i,this.words[s]=67108863&t,i=t>>>26;if(this.length=n.length,0!==i)this.words[this.length]=i,this.length++;else if(n!==this)for(;s<n.length;s++)this.words[s]=n.words[s];return this},o.prototype.add=function(e){var t;return 0!==e.negative&&0===this.negative?(e.negative=0,t=this.sub(e),e.negative^=1,t):0===e.negative&&0!==this.negative?(this.negative=0,t=e.sub(this),this.negative=1,t):this.length>e.length?this.clone().iadd(e):e.clone().iadd(this)},o.prototype.isub=function(e){if(0!==e.negative){e.negative=0;var t=this.iadd(e);return e.negative=1,t._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(e),this.negative=1,this._normSign();var n,r,i=this.cmp(e);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(n=this,r=e):(n=e,r=this);for(var s=0,o=0;o<r.length;o++)s=(t=(0|n.words[o])-(0|r.words[o])+s)>>26,this.words[o]=67108863&t;for(;0!==s&&o<n.length;o++)s=(t=(0|n.words[o])+s)>>26,this.words[o]=67108863&t;if(0===s&&o<n.length&&n!==this)for(;o<n.length;o++)this.words[o]=n.words[o];return this.length=Math.max(this.length,o),n!==this&&(this.negative=1),this.strip()},o.prototype.sub=function(e){return this.clone().isub(e)};var p=function(e,t,n){var r,i,s,o=e.words,a=t.words,c=n.words,l=0,u=0|o[0],h=8191&u,d=u>>>13,f=0|o[1],p=8191&f,m=f>>>13,g=0|o[2],v=8191&g,y=g>>>13,b=0|o[3],_=8191&b,w=b>>>13,S=0|o[4],x=8191&S,O=S>>>13,k=0|o[5],C=8191&k,M=k>>>13,E=0|o[6],T=8191&E,j=E>>>13,D=0|o[7],A=8191&D,L=D>>>13,z=0|o[8],P=8191&z,I=z>>>13,R=0|o[9],N=8191&R,H=R>>>13,F=0|a[0],V=8191&F,B=F>>>13,Y=0|a[1],U=8191&Y,W=Y>>>13,q=0|a[2],$=8191&q,G=q>>>13,X=0|a[3],K=8191&X,J=X>>>13,Q=0|a[4],Z=8191&Q,ee=Q>>>13,te=0|a[5],ne=8191&te,re=te>>>13,ie=0|a[6],se=8191&ie,oe=ie>>>13,ae=0|a[7],ce=8191&ae,le=ae>>>13,ue=0|a[8],he=8191&ue,de=ue>>>13,fe=0|a[9],pe=8191&fe,me=fe>>>13;n.negative=e.negative^t.negative,n.length=19;var ge=(l+(r=Math.imul(h,V))|0)+((8191&(i=(i=Math.imul(h,B))+Math.imul(d,V)|0))<<13)|0;l=((s=Math.imul(d,B))+(i>>>13)|0)+(ge>>>26)|0,ge&=67108863,r=Math.imul(p,V),i=(i=Math.imul(p,B))+Math.imul(m,V)|0,s=Math.imul(m,B);var ve=(l+(r=r+Math.imul(h,U)|0)|0)+((8191&(i=(i=i+Math.imul(h,W)|0)+Math.imul(d,U)|0))<<13)|0;l=((s=s+Math.imul(d,W)|0)+(i>>>13)|0)+(ve>>>26)|0,ve&=67108863,r=Math.imul(v,V),i=(i=Math.imul(v,B))+Math.imul(y,V)|0,s=Math.imul(y,B),r=r+Math.imul(p,U)|0,i=(i=i+Math.imul(p,W)|0)+Math.imul(m,U)|0,s=s+Math.imul(m,W)|0;var ye=(l+(r=r+Math.imul(h,$)|0)|0)+((8191&(i=(i=i+Math.imul(h,G)|0)+Math.imul(d,$)|0))<<13)|0;l=((s=s+Math.imul(d,G)|0)+(i>>>13)|0)+(ye>>>26)|0,ye&=67108863,r=Math.imul(_,V),i=(i=Math.imul(_,B))+Math.imul(w,V)|0,s=Math.imul(w,B),r=r+Math.imul(v,U)|0,i=(i=i+Math.imul(v,W)|0)+Math.imul(y,U)|0,s=s+Math.imul(y,W)|0,r=r+Math.imul(p,$)|0,i=(i=i+Math.imul(p,G)|0)+Math.imul(m,$)|0,s=s+Math.imul(m,G)|0;var be=(l+(r=r+Math.imul(h,K)|0)|0)+((8191&(i=(i=i+Math.imul(h,J)|0)+Math.imul(d,K)|0))<<13)|0;l=((s=s+Math.imul(d,J)|0)+(i>>>13)|0)+(be>>>26)|0,be&=67108863,r=Math.imul(x,V),i=(i=Math.imul(x,B))+Math.imul(O,V)|0,s=Math.imul(O,B),r=r+Math.imul(_,U)|0,i=(i=i+Math.imul(_,W)|0)+Math.imul(w,U)|0,s=s+Math.imul(w,W)|0,r=r+Math.imul(v,$)|0,i=(i=i+Math.imul(v,G)|0)+Math.imul(y,$)|0,s=s+Math.imul(y,G)|0,r=r+Math.imul(p,K)|0,i=(i=i+Math.imul(p,J)|0)+Math.imul(m,K)|0,s=s+Math.imul(m,J)|0;var _e=(l+(r=r+Math.imul(h,Z)|0)|0)+((8191&(i=(i=i+Math.imul(h,ee)|0)+Math.imul(d,Z)|0))<<13)|0;l=((s=s+Math.imul(d,ee)|0)+(i>>>13)|0)+(_e>>>26)|0,_e&=67108863,r=Math.imul(C,V),i=(i=Math.imul(C,B))+Math.imul(M,V)|0,s=Math.imul(M,B),r=r+Math.imul(x,U)|0,i=(i=i+Math.imul(x,W)|0)+Math.imul(O,U)|0,s=s+Math.imul(O,W)|0,r=r+Math.imul(_,$)|0,i=(i=i+Math.imul(_,G)|0)+Math.imul(w,$)|0,s=s+Math.imul(w,G)|0,r=r+Math.imul(v,K)|0,i=(i=i+Math.imul(v,J)|0)+Math.imul(y,K)|0,s=s+Math.imul(y,J)|0,r=r+Math.imul(p,Z)|0,i=(i=i+Math.imul(p,ee)|0)+Math.imul(m,Z)|0,s=s+Math.imul(m,ee)|0;var we=(l+(r=r+Math.imul(h,ne)|0)|0)+((8191&(i=(i=i+Math.imul(h,re)|0)+Math.imul(d,ne)|0))<<13)|0;l=((s=s+Math.imul(d,re)|0)+(i>>>13)|0)+(we>>>26)|0,we&=67108863,r=Math.imul(T,V),i=(i=Math.imul(T,B))+Math.imul(j,V)|0,s=Math.imul(j,B),r=r+Math.imul(C,U)|0,i=(i=i+Math.imul(C,W)|0)+Math.imul(M,U)|0,s=s+Math.imul(M,W)|0,r=r+Math.imul(x,$)|0,i=(i=i+Math.imul(x,G)|0)+Math.imul(O,$)|0,s=s+Math.imul(O,G)|0,r=r+Math.imul(_,K)|0,i=(i=i+Math.imul(_,J)|0)+Math.imul(w,K)|0,s=s+Math.imul(w,J)|0,r=r+Math.imul(v,Z)|0,i=(i=i+Math.imul(v,ee)|0)+Math.imul(y,Z)|0,s=s+Math.imul(y,ee)|0,r=r+Math.imul(p,ne)|0,i=(i=i+Math.imul(p,re)|0)+Math.imul(m,ne)|0,s=s+Math.imul(m,re)|0;var Se=(l+(r=r+Math.imul(h,se)|0)|0)+((8191&(i=(i=i+Math.imul(h,oe)|0)+Math.imul(d,se)|0))<<13)|0;l=((s=s+Math.imul(d,oe)|0)+(i>>>13)|0)+(Se>>>26)|0,Se&=67108863,r=Math.imul(A,V),i=(i=Math.imul(A,B))+Math.imul(L,V)|0,s=Math.imul(L,B),r=r+Math.imul(T,U)|0,i=(i=i+Math.imul(T,W)|0)+Math.imul(j,U)|0,s=s+Math.imul(j,W)|0,r=r+Math.imul(C,$)|0,i=(i=i+Math.imul(C,G)|0)+Math.imul(M,$)|0,s=s+Math.imul(M,G)|0,r=r+Math.imul(x,K)|0,i=(i=i+Math.imul(x,J)|0)+Math.imul(O,K)|0,s=s+Math.imul(O,J)|0,r=r+Math.imul(_,Z)|0,i=(i=i+Math.imul(_,ee)|0)+Math.imul(w,Z)|0,s=s+Math.imul(w,ee)|0,r=r+Math.imul(v,ne)|0,i=(i=i+Math.imul(v,re)|0)+Math.imul(y,ne)|0,s=s+Math.imul(y,re)|0,r=r+Math.imul(p,se)|0,i=(i=i+Math.imul(p,oe)|0)+Math.imul(m,se)|0,s=s+Math.imul(m,oe)|0;var xe=(l+(r=r+Math.imul(h,ce)|0)|0)+((8191&(i=(i=i+Math.imul(h,le)|0)+Math.imul(d,ce)|0))<<13)|0;l=((s=s+Math.imul(d,le)|0)+(i>>>13)|0)+(xe>>>26)|0,xe&=67108863,r=Math.imul(P,V),i=(i=Math.imul(P,B))+Math.imul(I,V)|0,s=Math.imul(I,B),r=r+Math.imul(A,U)|0,i=(i=i+Math.imul(A,W)|0)+Math.imul(L,U)|0,s=s+Math.imul(L,W)|0,r=r+Math.imul(T,$)|0,i=(i=i+Math.imul(T,G)|0)+Math.imul(j,$)|0,s=s+Math.imul(j,G)|0,r=r+Math.imul(C,K)|0,i=(i=i+Math.imul(C,J)|0)+Math.imul(M,K)|0,s=s+Math.imul(M,J)|0,r=r+Math.imul(x,Z)|0,i=(i=i+Math.imul(x,ee)|0)+Math.imul(O,Z)|0,s=s+Math.imul(O,ee)|0,r=r+Math.imul(_,ne)|0,i=(i=i+Math.imul(_,re)|0)+Math.imul(w,ne)|0,s=s+Math.imul(w,re)|0,r=r+Math.imul(v,se)|0,i=(i=i+Math.imul(v,oe)|0)+Math.imul(y,se)|0,s=s+Math.imul(y,oe)|0,r=r+Math.imul(p,ce)|0,i=(i=i+Math.imul(p,le)|0)+Math.imul(m,ce)|0,s=s+Math.imul(m,le)|0;var Oe=(l+(r=r+Math.imul(h,he)|0)|0)+((8191&(i=(i=i+Math.imul(h,de)|0)+Math.imul(d,he)|0))<<13)|0;l=((s=s+Math.imul(d,de)|0)+(i>>>13)|0)+(Oe>>>26)|0,Oe&=67108863,r=Math.imul(N,V),i=(i=Math.imul(N,B))+Math.imul(H,V)|0,s=Math.imul(H,B),r=r+Math.imul(P,U)|0,i=(i=i+Math.imul(P,W)|0)+Math.imul(I,U)|0,s=s+Math.imul(I,W)|0,r=r+Math.imul(A,$)|0,i=(i=i+Math.imul(A,G)|0)+Math.imul(L,$)|0,s=s+Math.imul(L,G)|0,r=r+Math.imul(T,K)|0,i=(i=i+Math.imul(T,J)|0)+Math.imul(j,K)|0,s=s+Math.imul(j,J)|0,r=r+Math.imul(C,Z)|0,i=(i=i+Math.imul(C,ee)|0)+Math.imul(M,Z)|0,s=s+Math.imul(M,ee)|0,r=r+Math.imul(x,ne)|0,i=(i=i+Math.imul(x,re)|0)+Math.imul(O,ne)|0,s=s+Math.imul(O,re)|0,r=r+Math.imul(_,se)|0,i=(i=i+Math.imul(_,oe)|0)+Math.imul(w,se)|0,s=s+Math.imul(w,oe)|0,r=r+Math.imul(v,ce)|0,i=(i=i+Math.imul(v,le)|0)+Math.imul(y,ce)|0,s=s+Math.imul(y,le)|0,r=r+Math.imul(p,he)|0,i=(i=i+Math.imul(p,de)|0)+Math.imul(m,he)|0,s=s+Math.imul(m,de)|0;var ke=(l+(r=r+Math.imul(h,pe)|0)|0)+((8191&(i=(i=i+Math.imul(h,me)|0)+Math.imul(d,pe)|0))<<13)|0;l=((s=s+Math.imul(d,me)|0)+(i>>>13)|0)+(ke>>>26)|0,ke&=67108863,r=Math.imul(N,U),i=(i=Math.imul(N,W))+Math.imul(H,U)|0,s=Math.imul(H,W),r=r+Math.imul(P,$)|0,i=(i=i+Math.imul(P,G)|0)+Math.imul(I,$)|0,s=s+Math.imul(I,G)|0,r=r+Math.imul(A,K)|0,i=(i=i+Math.imul(A,J)|0)+Math.imul(L,K)|0,s=s+Math.imul(L,J)|0,r=r+Math.imul(T,Z)|0,i=(i=i+Math.imul(T,ee)|0)+Math.imul(j,Z)|0,s=s+Math.imul(j,ee)|0,r=r+Math.imul(C,ne)|0,i=(i=i+Math.imul(C,re)|0)+Math.imul(M,ne)|0,s=s+Math.imul(M,re)|0,r=r+Math.imul(x,se)|0,i=(i=i+Math.imul(x,oe)|0)+Math.imul(O,se)|0,s=s+Math.imul(O,oe)|0,r=r+Math.imul(_,ce)|0,i=(i=i+Math.imul(_,le)|0)+Math.imul(w,ce)|0,s=s+Math.imul(w,le)|0,r=r+Math.imul(v,he)|0,i=(i=i+Math.imul(v,de)|0)+Math.imul(y,he)|0,s=s+Math.imul(y,de)|0;var Ce=(l+(r=r+Math.imul(p,pe)|0)|0)+((8191&(i=(i=i+Math.imul(p,me)|0)+Math.imul(m,pe)|0))<<13)|0;l=((s=s+Math.imul(m,me)|0)+(i>>>13)|0)+(Ce>>>26)|0,Ce&=67108863,r=Math.imul(N,$),i=(i=Math.imul(N,G))+Math.imul(H,$)|0,s=Math.imul(H,G),r=r+Math.imul(P,K)|0,i=(i=i+Math.imul(P,J)|0)+Math.imul(I,K)|0,s=s+Math.imul(I,J)|0,r=r+Math.imul(A,Z)|0,i=(i=i+Math.imul(A,ee)|0)+Math.imul(L,Z)|0,s=s+Math.imul(L,ee)|0,r=r+Math.imul(T,ne)|0,i=(i=i+Math.imul(T,re)|0)+Math.imul(j,ne)|0,s=s+Math.imul(j,re)|0,r=r+Math.imul(C,se)|0,i=(i=i+Math.imul(C,oe)|0)+Math.imul(M,se)|0,s=s+Math.imul(M,oe)|0,r=r+Math.imul(x,ce)|0,i=(i=i+Math.imul(x,le)|0)+Math.imul(O,ce)|0,s=s+Math.imul(O,le)|0,r=r+Math.imul(_,he)|0,i=(i=i+Math.imul(_,de)|0)+Math.imul(w,he)|0,s=s+Math.imul(w,de)|0;var Me=(l+(r=r+Math.imul(v,pe)|0)|0)+((8191&(i=(i=i+Math.imul(v,me)|0)+Math.imul(y,pe)|0))<<13)|0;l=((s=s+Math.imul(y,me)|0)+(i>>>13)|0)+(Me>>>26)|0,Me&=67108863,r=Math.imul(N,K),i=(i=Math.imul(N,J))+Math.imul(H,K)|0,s=Math.imul(H,J),r=r+Math.imul(P,Z)|0,i=(i=i+Math.imul(P,ee)|0)+Math.imul(I,Z)|0,s=s+Math.imul(I,ee)|0,r=r+Math.imul(A,ne)|0,i=(i=i+Math.imul(A,re)|0)+Math.imul(L,ne)|0,s=s+Math.imul(L,re)|0,r=r+Math.imul(T,se)|0,i=(i=i+Math.imul(T,oe)|0)+Math.imul(j,se)|0,s=s+Math.imul(j,oe)|0,r=r+Math.imul(C,ce)|0,i=(i=i+Math.imul(C,le)|0)+Math.imul(M,ce)|0,s=s+Math.imul(M,le)|0,r=r+Math.imul(x,he)|0,i=(i=i+Math.imul(x,de)|0)+Math.imul(O,he)|0,s=s+Math.imul(O,de)|0;var Ee=(l+(r=r+Math.imul(_,pe)|0)|0)+((8191&(i=(i=i+Math.imul(_,me)|0)+Math.imul(w,pe)|0))<<13)|0;l=((s=s+Math.imul(w,me)|0)+(i>>>13)|0)+(Ee>>>26)|0,Ee&=67108863,r=Math.imul(N,Z),i=(i=Math.imul(N,ee))+Math.imul(H,Z)|0,s=Math.imul(H,ee),r=r+Math.imul(P,ne)|0,i=(i=i+Math.imul(P,re)|0)+Math.imul(I,ne)|0,s=s+Math.imul(I,re)|0,r=r+Math.imul(A,se)|0,i=(i=i+Math.imul(A,oe)|0)+Math.imul(L,se)|0,s=s+Math.imul(L,oe)|0,r=r+Math.imul(T,ce)|0,i=(i=i+Math.imul(T,le)|0)+Math.imul(j,ce)|0,s=s+Math.imul(j,le)|0,r=r+Math.imul(C,he)|0,i=(i=i+Math.imul(C,de)|0)+Math.imul(M,he)|0,s=s+Math.imul(M,de)|0;var Te=(l+(r=r+Math.imul(x,pe)|0)|0)+((8191&(i=(i=i+Math.imul(x,me)|0)+Math.imul(O,pe)|0))<<13)|0;l=((s=s+Math.imul(O,me)|0)+(i>>>13)|0)+(Te>>>26)|0,Te&=67108863,r=Math.imul(N,ne),i=(i=Math.imul(N,re))+Math.imul(H,ne)|0,s=Math.imul(H,re),r=r+Math.imul(P,se)|0,i=(i=i+Math.imul(P,oe)|0)+Math.imul(I,se)|0,s=s+Math.imul(I,oe)|0,r=r+Math.imul(A,ce)|0,i=(i=i+Math.imul(A,le)|0)+Math.imul(L,ce)|0,s=s+Math.imul(L,le)|0,r=r+Math.imul(T,he)|0,i=(i=i+Math.imul(T,de)|0)+Math.imul(j,he)|0,s=s+Math.imul(j,de)|0;var je=(l+(r=r+Math.imul(C,pe)|0)|0)+((8191&(i=(i=i+Math.imul(C,me)|0)+Math.imul(M,pe)|0))<<13)|0;l=((s=s+Math.imul(M,me)|0)+(i>>>13)|0)+(je>>>26)|0,je&=67108863,r=Math.imul(N,se),i=(i=Math.imul(N,oe))+Math.imul(H,se)|0,s=Math.imul(H,oe),r=r+Math.imul(P,ce)|0,i=(i=i+Math.imul(P,le)|0)+Math.imul(I,ce)|0,s=s+Math.imul(I,le)|0,r=r+Math.imul(A,he)|0,i=(i=i+Math.imul(A,de)|0)+Math.imul(L,he)|0,s=s+Math.imul(L,de)|0;var De=(l+(r=r+Math.imul(T,pe)|0)|0)+((8191&(i=(i=i+Math.imul(T,me)|0)+Math.imul(j,pe)|0))<<13)|0;l=((s=s+Math.imul(j,me)|0)+(i>>>13)|0)+(De>>>26)|0,De&=67108863,r=Math.imul(N,ce),i=(i=Math.imul(N,le))+Math.imul(H,ce)|0,s=Math.imul(H,le),r=r+Math.imul(P,he)|0,i=(i=i+Math.imul(P,de)|0)+Math.imul(I,he)|0,s=s+Math.imul(I,de)|0;var Ae=(l+(r=r+Math.imul(A,pe)|0)|0)+((8191&(i=(i=i+Math.imul(A,me)|0)+Math.imul(L,pe)|0))<<13)|0;l=((s=s+Math.imul(L,me)|0)+(i>>>13)|0)+(Ae>>>26)|0,Ae&=67108863,r=Math.imul(N,he),i=(i=Math.imul(N,de))+Math.imul(H,he)|0,s=Math.imul(H,de);var Le=(l+(r=r+Math.imul(P,pe)|0)|0)+((8191&(i=(i=i+Math.imul(P,me)|0)+Math.imul(I,pe)|0))<<13)|0;l=((s=s+Math.imul(I,me)|0)+(i>>>13)|0)+(Le>>>26)|0,Le&=67108863;var ze=(l+(r=Math.imul(N,pe))|0)+((8191&(i=(i=Math.imul(N,me))+Math.imul(H,pe)|0))<<13)|0;return l=((s=Math.imul(H,me))+(i>>>13)|0)+(ze>>>26)|0,ze&=67108863,c[0]=ge,c[1]=ve,c[2]=ye,c[3]=be,c[4]=_e,c[5]=we,c[6]=Se,c[7]=xe,c[8]=Oe,c[9]=ke,c[10]=Ce,c[11]=Me,c[12]=Ee,c[13]=Te,c[14]=je,c[15]=De,c[16]=Ae,c[17]=Le,c[18]=ze,0!==l&&(c[19]=l,n.length++),n};function m(e,t,n){return(new g).mulp(e,t,n)}function g(e,t){this.x=e,this.y=t}Math.imul||(p=f),o.prototype.mulTo=function(e,t){var n=this.length+e.length;return 10===this.length&&10===e.length?p(this,e,t):n<63?f(this,e,t):n<1024?function(e,t,n){n.negative=t.negative^e.negative,n.length=e.length+t.length;for(var r=0,i=0,s=0;s<n.length-1;s++){var o=i;i=0;for(var a=67108863&r,c=Math.min(s,t.length-1),l=Math.max(0,s-e.length+1);l<=c;l++){var u=s-l,h=(0|e.words[u])*(0|t.words[l]),d=67108863&h;a=67108863&(d=d+a|0),i+=(o=(o=o+(h/67108864|0)|0)+(d>>>26)|0)>>>26,o&=67108863}n.words[s]=a,r=o,o=i}return 0!==r?n.words[s]=r:n.length--,n.strip()}(this,e,t):m(this,e,t)},g.prototype.makeRBT=function(e){for(var t=new Array(e),n=o.prototype._countBits(e)-1,r=0;r<e;r++)t[r]=this.revBin(r,n,e);return t},g.prototype.revBin=function(e,t,n){if(0===e||e===n-1)return e;for(var r=0,i=0;i<t;i++)r|=(1&e)<<t-i-1,e>>=1;return r},g.prototype.permute=function(e,t,n,r,i,s){for(var o=0;o<s;o++)r[o]=t[e[o]],i[o]=n[e[o]]},g.prototype.transform=function(e,t,n,r,i,s){this.permute(s,e,t,n,r,i);for(var o=1;o<i;o<<=1)for(var a=o<<1,c=Math.cos(2*Math.PI/a),l=Math.sin(2*Math.PI/a),u=0;u<i;u+=a)for(var h=c,d=l,f=0;f<o;f++){var p=n[u+f],m=r[u+f],g=n[u+f+o],v=r[u+f+o],y=h*g-d*v;v=h*v+d*g,g=y,n[u+f]=p+g,r[u+f]=m+v,n[u+f+o]=p-g,r[u+f+o]=m-v,f!==a&&(y=c*h-l*d,d=c*d+l*h,h=y)}},g.prototype.guessLen13b=function(e,t){var n=1|Math.max(t,e),r=1&n,i=0;for(n=n/2|0;n;n>>>=1)i++;return 1<<i+1+r},g.prototype.conjugate=function(e,t,n){if(!(n<=1))for(var r=0;r<n/2;r++){var i=e[r];e[r]=e[n-r-1],e[n-r-1]=i,i=t[r],t[r]=-t[n-r-1],t[n-r-1]=-i}},g.prototype.normalize13b=function(e,t){for(var n=0,r=0;r<t/2;r++){var i=8192*Math.round(e[2*r+1]/t)+Math.round(e[2*r]/t)+n;e[r]=67108863&i,n=i<67108864?0:i/67108864|0}return e},g.prototype.convert13b=function(e,t,n,r){for(var s=0,o=0;o<t;o++)s+=0|e[o],n[2*o]=8191&s,s>>>=13,n[2*o+1]=8191&s,s>>>=13;for(o=2*t;o<r;++o)n[o]=0;i(0===s),i(0==(-8192&s))},g.prototype.stub=function(e){for(var t=new Array(e),n=0;n<e;n++)t[n]=0;return t},g.prototype.mulp=function(e,t,n){var r=2*this.guessLen13b(e.length,t.length),i=this.makeRBT(r),s=this.stub(r),o=new Array(r),a=new Array(r),c=new Array(r),l=new Array(r),u=new Array(r),h=new Array(r),d=n.words;d.length=r,this.convert13b(e.words,e.length,o,r),this.convert13b(t.words,t.length,l,r),this.transform(o,s,a,c,r,i),this.transform(l,s,u,h,r,i);for(var f=0;f<r;f++){var p=a[f]*u[f]-c[f]*h[f];c[f]=a[f]*h[f]+c[f]*u[f],a[f]=p}return this.conjugate(a,c,r),this.transform(a,c,d,s,r,i),this.conjugate(d,s,r),this.normalize13b(d,r),n.negative=e.negative^t.negative,n.length=e.length+t.length,n.strip()},o.prototype.mul=function(e){var t=new o(null);return t.words=new Array(this.length+e.length),this.mulTo(e,t)},o.prototype.mulf=function(e){var t=new o(null);return t.words=new Array(this.length+e.length),m(this,e,t)},o.prototype.imul=function(e){return this.clone().mulTo(e,this)},o.prototype.imuln=function(e){i("number"==typeof e),i(e<67108864);for(var t=0,n=0;n<this.length;n++){var r=(0|this.words[n])*e,s=(67108863&r)+(67108863&t);t>>=26,t+=r/67108864|0,t+=s>>>26,this.words[n]=67108863&s}return 0!==t&&(this.words[n]=t,this.length++),this},o.prototype.muln=function(e){return this.clone().imuln(e)},o.prototype.sqr=function(){return this.mul(this)},o.prototype.isqr=function(){return this.imul(this.clone())},o.prototype.pow=function(e){var t=function(e){for(var t=new Array(e.bitLength()),n=0;n<t.length;n++){var r=n/26|0,i=n%26;t[n]=(e.words[r]&1<<i)>>>i}return t}(e);if(0===t.length)return new o(1);for(var n=this,r=0;r<t.length&&0===t[r];r++,n=n.sqr());if(++r<t.length)for(var i=n.sqr();r<t.length;r++,i=i.sqr())0!==t[r]&&(n=n.mul(i));return n},o.prototype.iushln=function(e){i("number"==typeof e&&e>=0);var t,n=e%26,r=(e-n)/26,s=67108863>>>26-n<<26-n;if(0!==n){var o=0;for(t=0;t<this.length;t++){var a=this.words[t]&s,c=(0|this.words[t])-a<<n;this.words[t]=c|o,o=a>>>26-n}o&&(this.words[t]=o,this.length++)}if(0!==r){for(t=this.length-1;t>=0;t--)this.words[t+r]=this.words[t];for(t=0;t<r;t++)this.words[t]=0;this.length+=r}return this.strip()},o.prototype.ishln=function(e){return i(0===this.negative),this.iushln(e)},o.prototype.iushrn=function(e,t,n){var r;i("number"==typeof e&&e>=0),r=t?(t-t%26)/26:0;var s=e%26,o=Math.min((e-s)/26,this.length),a=67108863^67108863>>>s<<s,c=n;if(r-=o,r=Math.max(0,r),c){for(var l=0;l<o;l++)c.words[l]=this.words[l];c.length=o}if(0===o);else if(this.length>o)for(this.length-=o,l=0;l<this.length;l++)this.words[l]=this.words[l+o];else this.words[0]=0,this.length=1;var u=0;for(l=this.length-1;l>=0&&(0!==u||l>=r);l--){var h=0|this.words[l];this.words[l]=u<<26-s|h>>>s,u=h&a}return c&&0!==u&&(c.words[c.length++]=u),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},o.prototype.ishrn=function(e,t,n){return i(0===this.negative),this.iushrn(e,t,n)},o.prototype.shln=function(e){return this.clone().ishln(e)},o.prototype.ushln=function(e){return this.clone().iushln(e)},o.prototype.shrn=function(e){return this.clone().ishrn(e)},o.prototype.ushrn=function(e){return this.clone().iushrn(e)},o.prototype.testn=function(e){i("number"==typeof e&&e>=0);var t=e%26,n=(e-t)/26,r=1<<t;return!(this.length<=n||!(this.words[n]&r))},o.prototype.imaskn=function(e){i("number"==typeof e&&e>=0);var t=e%26,n=(e-t)/26;if(i(0===this.negative,"imaskn works only with positive numbers"),this.length<=n)return this;if(0!==t&&n++,this.length=Math.min(n,this.length),0!==t){var r=67108863^67108863>>>t<<t;this.words[this.length-1]&=r}return this.strip()},o.prototype.maskn=function(e){return this.clone().imaskn(e)},o.prototype.iaddn=function(e){return i("number"==typeof e),i(e<67108864),e<0?this.isubn(-e):0!==this.negative?1===this.length&&(0|this.words[0])<e?(this.words[0]=e-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(e),this.negative=1,this):this._iaddn(e)},o.prototype._iaddn=function(e){this.words[0]+=e;for(var t=0;t<this.length&&this.words[t]>=67108864;t++)this.words[t]-=67108864,t===this.length-1?this.words[t+1]=1:this.words[t+1]++;return this.length=Math.max(this.length,t+1),this},o.prototype.isubn=function(e){if(i("number"==typeof e),i(e<67108864),e<0)return this.iaddn(-e);if(0!==this.negative)return this.negative=0,this.iaddn(e),this.negative=1,this;if(this.words[0]-=e,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var t=0;t<this.length&&this.words[t]<0;t++)this.words[t]+=67108864,this.words[t+1]-=1;return this.strip()},o.prototype.addn=function(e){return this.clone().iaddn(e)},o.prototype.subn=function(e){return this.clone().isubn(e)},o.prototype.iabs=function(){return this.negative=0,this},o.prototype.abs=function(){return this.clone().iabs()},o.prototype._ishlnsubmul=function(e,t,n){var r,s,o=e.length+n;this._expand(o);var a=0;for(r=0;r<e.length;r++){s=(0|this.words[r+n])+a;var c=(0|e.words[r])*t;a=((s-=67108863&c)>>26)-(c/67108864|0),this.words[r+n]=67108863&s}for(;r<this.length-n;r++)a=(s=(0|this.words[r+n])+a)>>26,this.words[r+n]=67108863&s;if(0===a)return this.strip();for(i(-1===a),a=0,r=0;r<this.length;r++)a=(s=-(0|this.words[r])+a)>>26,this.words[r]=67108863&s;return this.negative=1,this.strip()},o.prototype._wordDiv=function(e,t){var n=(this.length,e.length),r=this.clone(),i=e,s=0|i.words[i.length-1];0!=(n=26-this._countBits(s))&&(i=i.ushln(n),r.iushln(n),s=0|i.words[i.length-1]);var a,c=r.length-i.length;if("mod"!==t){(a=new o(null)).length=c+1,a.words=new Array(a.length);for(var l=0;l<a.length;l++)a.words[l]=0}var u=r.clone()._ishlnsubmul(i,1,c);0===u.negative&&(r=u,a&&(a.words[c]=1));for(var h=c-1;h>=0;h--){var d=67108864*(0|r.words[i.length+h])+(0|r.words[i.length+h-1]);for(d=Math.min(d/s|0,67108863),r._ishlnsubmul(i,d,h);0!==r.negative;)d--,r.negative=0,r._ishlnsubmul(i,1,h),r.isZero()||(r.negative^=1);a&&(a.words[h]=d)}return a&&a.strip(),r.strip(),"div"!==t&&0!==n&&r.iushrn(n),{div:a||null,mod:r}},o.prototype.divmod=function(e,t,n){return i(!e.isZero()),this.isZero()?{div:new o(0),mod:new o(0)}:0!==this.negative&&0===e.negative?(a=this.neg().divmod(e,t),"mod"!==t&&(r=a.div.neg()),"div"!==t&&(s=a.mod.neg(),n&&0!==s.negative&&s.iadd(e)),{div:r,mod:s}):0===this.negative&&0!==e.negative?(a=this.divmod(e.neg(),t),"mod"!==t&&(r=a.div.neg()),{div:r,mod:a.mod}):0!=(this.negative&e.negative)?(a=this.neg().divmod(e.neg(),t),"div"!==t&&(s=a.mod.neg(),n&&0!==s.negative&&s.isub(e)),{div:a.div,mod:s}):e.length>this.length||this.cmp(e)<0?{div:new o(0),mod:this}:1===e.length?"div"===t?{div:this.divn(e.words[0]),mod:null}:"mod"===t?{div:null,mod:new o(this.modn(e.words[0]))}:{div:this.divn(e.words[0]),mod:new o(this.modn(e.words[0]))}:this._wordDiv(e,t);var r,s,a},o.prototype.div=function(e){return this.divmod(e,"div",!1).div},o.prototype.mod=function(e){return this.divmod(e,"mod",!1).mod},o.prototype.umod=function(e){return this.divmod(e,"mod",!0).mod},o.prototype.divRound=function(e){var t=this.divmod(e);if(t.mod.isZero())return t.div;var n=0!==t.div.negative?t.mod.isub(e):t.mod,r=e.ushrn(1),i=e.andln(1),s=n.cmp(r);return s<0||1===i&&0===s?t.div:0!==t.div.negative?t.div.isubn(1):t.div.iaddn(1)},o.prototype.modn=function(e){i(e<=67108863);for(var t=(1<<26)%e,n=0,r=this.length-1;r>=0;r--)n=(t*n+(0|this.words[r]))%e;return n},o.prototype.idivn=function(e){i(e<=67108863);for(var t=0,n=this.length-1;n>=0;n--){var r=(0|this.words[n])+67108864*t;this.words[n]=r/e|0,t=r%e}return this.strip()},o.prototype.divn=function(e){return this.clone().idivn(e)},o.prototype.egcd=function(e){i(0===e.negative),i(!e.isZero());var t=this,n=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var r=new o(1),s=new o(0),a=new o(0),c=new o(1),l=0;t.isEven()&&n.isEven();)t.iushrn(1),n.iushrn(1),++l;for(var u=n.clone(),h=t.clone();!t.isZero();){for(var d=0,f=1;0==(t.words[0]&f)&&d<26;++d,f<<=1);if(d>0)for(t.iushrn(d);d-- >0;)(r.isOdd()||s.isOdd())&&(r.iadd(u),s.isub(h)),r.iushrn(1),s.iushrn(1);for(var p=0,m=1;0==(n.words[0]&m)&&p<26;++p,m<<=1);if(p>0)for(n.iushrn(p);p-- >0;)(a.isOdd()||c.isOdd())&&(a.iadd(u),c.isub(h)),a.iushrn(1),c.iushrn(1);t.cmp(n)>=0?(t.isub(n),r.isub(a),s.isub(c)):(n.isub(t),a.isub(r),c.isub(s))}return{a:a,b:c,gcd:n.iushln(l)}},o.prototype._invmp=function(e){i(0===e.negative),i(!e.isZero());var t=this,n=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var r,s=new o(1),a=new o(0),c=n.clone();t.cmpn(1)>0&&n.cmpn(1)>0;){for(var l=0,u=1;0==(t.words[0]&u)&&l<26;++l,u<<=1);if(l>0)for(t.iushrn(l);l-- >0;)s.isOdd()&&s.iadd(c),s.iushrn(1);for(var h=0,d=1;0==(n.words[0]&d)&&h<26;++h,d<<=1);if(h>0)for(n.iushrn(h);h-- >0;)a.isOdd()&&a.iadd(c),a.iushrn(1);t.cmp(n)>=0?(t.isub(n),s.isub(a)):(n.isub(t),a.isub(s))}return(r=0===t.cmpn(1)?s:a).cmpn(0)<0&&r.iadd(e),r},o.prototype.gcd=function(e){if(this.isZero())return e.abs();if(e.isZero())return this.abs();var t=this.clone(),n=e.clone();t.negative=0,n.negative=0;for(var r=0;t.isEven()&&n.isEven();r++)t.iushrn(1),n.iushrn(1);for(;;){for(;t.isEven();)t.iushrn(1);for(;n.isEven();)n.iushrn(1);var i=t.cmp(n);if(i<0){var s=t;t=n,n=s}else if(0===i||0===n.cmpn(1))break;t.isub(n)}return n.iushln(r)},o.prototype.invm=function(e){return this.egcd(e).a.umod(e)},o.prototype.isEven=function(){return 0==(1&this.words[0])},o.prototype.isOdd=function(){return 1==(1&this.words[0])},o.prototype.andln=function(e){return this.words[0]&e},o.prototype.bincn=function(e){i("number"==typeof e);var t=e%26,n=(e-t)/26,r=1<<t;if(this.length<=n)return this._expand(n+1),this.words[n]|=r,this;for(var s=r,o=n;0!==s&&o<this.length;o++){var a=0|this.words[o];s=(a+=s)>>>26,a&=67108863,this.words[o]=a}return 0!==s&&(this.words[o]=s,this.length++),this},o.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},o.prototype.cmpn=function(e){var t,n=e<0;if(0!==this.negative&&!n)return-1;if(0===this.negative&&n)return 1;if(this.strip(),this.length>1)t=1;else{n&&(e=-e),i(e<=67108863,"Number is too big");var r=0|this.words[0];t=r===e?0:r<e?-1:1}return 0!==this.negative?0|-t:t},o.prototype.cmp=function(e){if(0!==this.negative&&0===e.negative)return-1;if(0===this.negative&&0!==e.negative)return 1;var t=this.ucmp(e);return 0!==this.negative?0|-t:t},o.prototype.ucmp=function(e){if(this.length>e.length)return 1;if(this.length<e.length)return-1;for(var t=0,n=this.length-1;n>=0;n--){var r=0|this.words[n],i=0|e.words[n];if(r!==i){r<i?t=-1:r>i&&(t=1);break}}return t},o.prototype.gtn=function(e){return 1===this.cmpn(e)},o.prototype.gt=function(e){return 1===this.cmp(e)},o.prototype.gten=function(e){return this.cmpn(e)>=0},o.prototype.gte=function(e){return this.cmp(e)>=0},o.prototype.ltn=function(e){return-1===this.cmpn(e)},o.prototype.lt=function(e){return-1===this.cmp(e)},o.prototype.lten=function(e){return this.cmpn(e)<=0},o.prototype.lte=function(e){return this.cmp(e)<=0},o.prototype.eqn=function(e){return 0===this.cmpn(e)},o.prototype.eq=function(e){return 0===this.cmp(e)},o.red=function(e){return new x(e)},o.prototype.toRed=function(e){return i(!this.red,"Already a number in reduction context"),i(0===this.negative,"red works only with positives"),e.convertTo(this)._forceRed(e)},o.prototype.fromRed=function(){return i(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},o.prototype._forceRed=function(e){return this.red=e,this},o.prototype.forceRed=function(e){return i(!this.red,"Already a number in reduction context"),this._forceRed(e)},o.prototype.redAdd=function(e){return i(this.red,"redAdd works only with red numbers"),this.red.add(this,e)},o.prototype.redIAdd=function(e){return i(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,e)},o.prototype.redSub=function(e){return i(this.red,"redSub works only with red numbers"),this.red.sub(this,e)},o.prototype.redISub=function(e){return i(this.red,"redISub works only with red numbers"),this.red.isub(this,e)},o.prototype.redShl=function(e){return i(this.red,"redShl works only with red numbers"),this.red.shl(this,e)},o.prototype.redMul=function(e){return i(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.mul(this,e)},o.prototype.redIMul=function(e){return i(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.imul(this,e)},o.prototype.redSqr=function(){return i(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return i(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return i(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return i(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return i(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.prototype.redPow=function(e){return i(this.red&&!e.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,e)};var v={k256:null,p224:null,p192:null,p25519:null};function y(e,t){this.name=e,this.p=new o(t,16),this.n=this.p.bitLength(),this.k=new o(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function b(){y.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function _(){y.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function w(){y.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function S(){y.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function x(e){if("string"==typeof e){var t=o._prime(e);this.m=t.p,this.prime=t}else i(e.gtn(1),"modulus must be greater than 1"),this.m=e,this.prime=null}function O(e){x.call(this,e),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new o(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}y.prototype._tmp=function(){var e=new o(null);return e.words=new Array(Math.ceil(this.n/13)),e},y.prototype.ireduce=function(e){var t,n=e;do{this.split(n,this.tmp),t=(n=(n=this.imulK(n)).iadd(this.tmp)).bitLength()}while(t>this.n);var r=t<this.n?-1:n.ucmp(this.p);return 0===r?(n.words[0]=0,n.length=1):r>0?n.isub(this.p):void 0!==n.strip?n.strip():n._strip(),n},y.prototype.split=function(e,t){e.iushrn(this.n,0,t)},y.prototype.imulK=function(e){return e.imul(this.k)},s(b,y),b.prototype.split=function(e,t){for(var n=Math.min(e.length,9),r=0;r<n;r++)t.words[r]=e.words[r];if(t.length=n,e.length<=9)return e.words[0]=0,void(e.length=1);var i=e.words[9];for(t.words[t.length++]=4194303&i,r=10;r<e.length;r++){var s=0|e.words[r];e.words[r-10]=(4194303&s)<<4|i>>>22,i=s}i>>>=22,e.words[r-10]=i,0===i&&e.length>10?e.length-=10:e.length-=9},b.prototype.imulK=function(e){e.words[e.length]=0,e.words[e.length+1]=0,e.length+=2;for(var t=0,n=0;n<e.length;n++){var r=0|e.words[n];t+=977*r,e.words[n]=67108863&t,t=64*r+(t/67108864|0)}return 0===e.words[e.length-1]&&(e.length--,0===e.words[e.length-1]&&e.length--),e},s(_,y),s(w,y),s(S,y),S.prototype.imulK=function(e){for(var t=0,n=0;n<e.length;n++){var r=19*(0|e.words[n])+t,i=67108863&r;r>>>=26,e.words[n]=i,t=r}return 0!==t&&(e.words[e.length++]=t),e},o._prime=function(e){if(v[e])return v[e];var t;if("k256"===e)t=new b;else if("p224"===e)t=new _;else if("p192"===e)t=new w;else{if("p25519"!==e)throw new Error("Unknown prime "+e);t=new S}return v[e]=t,t},x.prototype._verify1=function(e){i(0===e.negative,"red works only with positives"),i(e.red,"red works only with red numbers")},x.prototype._verify2=function(e,t){i(0==(e.negative|t.negative),"red works only with positives"),i(e.red&&e.red===t.red,"red works only with red numbers")},x.prototype.imod=function(e){return this.prime?this.prime.ireduce(e)._forceRed(this):e.umod(this.m)._forceRed(this)},x.prototype.neg=function(e){return e.isZero()?e.clone():this.m.sub(e)._forceRed(this)},x.prototype.add=function(e,t){this._verify2(e,t);var n=e.add(t);return n.cmp(this.m)>=0&&n.isub(this.m),n._forceRed(this)},x.prototype.iadd=function(e,t){this._verify2(e,t);var n=e.iadd(t);return n.cmp(this.m)>=0&&n.isub(this.m),n},x.prototype.sub=function(e,t){this._verify2(e,t);var n=e.sub(t);return n.cmpn(0)<0&&n.iadd(this.m),n._forceRed(this)},x.prototype.isub=function(e,t){this._verify2(e,t);var n=e.isub(t);return n.cmpn(0)<0&&n.iadd(this.m),n},x.prototype.shl=function(e,t){return this._verify1(e),this.imod(e.ushln(t))},x.prototype.imul=function(e,t){return this._verify2(e,t),this.imod(e.imul(t))},x.prototype.mul=function(e,t){return this._verify2(e,t),this.imod(e.mul(t))},x.prototype.isqr=function(e){return this.imul(e,e.clone())},x.prototype.sqr=function(e){return this.mul(e,e)},x.prototype.sqrt=function(e){if(e.isZero())return e.clone();var t=this.m.andln(3);if(i(t%2==1),3===t){var n=this.m.add(new o(1)).iushrn(2);return this.pow(e,n)}for(var r=this.m.subn(1),s=0;!r.isZero()&&0===r.andln(1);)s++,r.iushrn(1);i(!r.isZero());var a=new o(1).toRed(this),c=a.redNeg(),l=this.m.subn(1).iushrn(1),u=this.m.bitLength();for(u=new o(2*u*u).toRed(this);0!==this.pow(u,l).cmp(c);)u.redIAdd(c);for(var h=this.pow(u,r),d=this.pow(e,r.addn(1).iushrn(1)),f=this.pow(e,r),p=s;0!==f.cmp(a);){for(var m=f,g=0;0!==m.cmp(a);g++)m=m.redSqr();i(g<p);var v=this.pow(h,new o(1).iushln(p-g-1));d=d.redMul(v),h=v.redSqr(),f=f.redMul(h),p=g}return d},x.prototype.invm=function(e){var t=e._invmp(this.m);return 0!==t.negative?(t.negative=0,this.imod(t).redNeg()):this.imod(t)},x.prototype.pow=function(e,t){if(t.isZero())return new o(1).toRed(this);if(0===t.cmpn(1))return e.clone();var n=new Array(16);n[0]=new o(1).toRed(this),n[1]=e;for(var r=2;r<n.length;r++)n[r]=this.mul(n[r-1],e);var i=n[0],s=0,a=0,c=t.bitLength()%26;for(0===c&&(c=26),r=t.length-1;r>=0;r--){for(var l=t.words[r],u=c-1;u>=0;u--){var h=l>>u&1;i!==n[0]&&(i=this.sqr(i)),0!==h||0!==s?(s<<=1,s|=h,(4==++a||0===r&&0===u)&&(i=this.mul(i,n[s]),a=0,s=0)):a=0}c=26}return i},x.prototype.convertTo=function(e){var t=e.umod(this.m);return t===e?t.clone():t},x.prototype.convertFrom=function(e){var t=e.clone();return t.red=null,t},o.mont=function(e){return new O(e)},s(O,x),O.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))},O.prototype.convertFrom=function(e){var t=this.imod(e.mul(this.rinv));return t.red=null,t},O.prototype.imul=function(e,t){if(e.isZero()||t.isZero())return e.words[0]=0,e.length=1,e;var n=e.imul(t),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).iushrn(this.shift),s=i;return i.cmp(this.m)>=0?s=i.isub(this.m):i.cmpn(0)<0&&(s=i.iadd(this.m)),s._forceRed(this)},O.prototype.mul=function(e,t){if(e.isZero()||t.isZero())return new o(0)._forceRed(this);var n=e.mul(t),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).iushrn(this.shift),s=i;return i.cmp(this.m)>=0?s=i.isub(this.m):i.cmpn(0)<0&&(s=i.iadd(this.m)),s._forceRed(this)},O.prototype.invm=function(e){return this.imod(e._invmp(this.m).mul(this.r2))._forceRed(this)}}(void 0===t||t)},{buffer:185}],182:[function(e,t,n){"use strict";n.byteLength=function(e){var t=l(e),n=t[0],r=t[1];return 3*(n+r)/4-r},n.toByteArray=function(e){var t,n,r=l(e),o=r[0],a=r[1],c=new s(function(e,t,n){return 3*(t+n)/4-n}(0,o,a)),u=0,h=a>0?o-4:o;for(n=0;n<h;n+=4)t=i[e.charCodeAt(n)]<<18|i[e.charCodeAt(n+1)]<<12|i[e.charCodeAt(n+2)]<<6|i[e.charCodeAt(n+3)],c[u++]=t>>16&255,c[u++]=t>>8&255,c[u++]=255&t;return 2===a&&(t=i[e.charCodeAt(n)]<<2|i[e.charCodeAt(n+1)]>>4,c[u++]=255&t),1===a&&(t=i[e.charCodeAt(n)]<<10|i[e.charCodeAt(n+1)]<<4|i[e.charCodeAt(n+2)]>>2,c[u++]=t>>8&255,c[u++]=255&t),c},n.fromByteArray=function(e){for(var t,n=e.length,i=n%3,s=[],o=0,a=n-i;o<a;o+=16383)s.push(u(e,o,o+16383>a?a:o+16383));return 1===i?(t=e[n-1],s.push(r[t>>2]+r[t<<4&63]+"==")):2===i&&(t=(e[n-2]<<8)+e[n-1],s.push(r[t>>10]+r[t>>4&63]+r[t<<2&63]+"=")),s.join("")};for(var r=[],i=[],s="undefined"!=typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,c=o.length;a<c;++a)r[a]=o[a],i[o.charCodeAt(a)]=a;function l(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");return-1===n&&(n=t),[n,n===t?0:4-n%4]}function u(e,t,n){for(var i,s,o=[],a=t;a<n;a+=3)i=(e[a]<<16&16711680)+(e[a+1]<<8&65280)+(255&e[a+2]),o.push(r[(s=i)>>18&63]+r[s>>12&63]+r[s>>6&63]+r[63&s]);return o.join("")}i["-".charCodeAt(0)]=62,i["_".charCodeAt(0)]=63},{}],183:[function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}!function(t,n){function i(e,t){if(!e)throw new Error(t||"Assertion failed")}function s(e,t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}function o(e,t,n){if(o.isBN(e))return e;this.negative=0,this.words=null,this.length=0,this.red=null,null!==e&&("le"!==t&&"be"!==t||(n=t,t=10),this._init(e||0,t||10,n||"be"))}var a;"object"===r(t)?t.exports=o:(void 0).BN=o,o.BN=o,o.wordSize=26;try{a=e("buffer").Buffer}catch(e){}function c(e,t,n){for(var r=0,s=Math.min(e.length,n),o=0,a=t;a<s;a++){var c,l=e.charCodeAt(a)-48;r<<=4,r|=c=l>=49&&l<=54?l-49+10:l>=17&&l<=22?l-17+10:l,o|=c}return i(!(240&o),"Invalid character in "+e),r}function l(e,t,n,r){for(var s=0,o=0,a=Math.min(e.length,n),c=t;c<a;c++){var l=e.charCodeAt(c)-48;s*=r,o=l>=49?l-49+10:l>=17?l-17+10:l,i(l>=0&&o<r,"Invalid character"),s+=o}return s}function u(e,t){e.words=t.words,e.length=t.length,e.negative=t.negative,e.red=t.red}if(o.isBN=function(e){return e instanceof o||null!==e&&"object"===r(e)&&e.constructor.wordSize===o.wordSize&&Array.isArray(e.words)},o.max=function(e,t){return e.cmp(t)>0?e:t},o.min=function(e,t){return e.cmp(t)<0?e:t},o.prototype._init=function(e,t,n){if("number"==typeof e)return this._initNumber(e,t,n);if("object"===r(e))return this._initArray(e,t,n);"hex"===t&&(t=16),i(t===(0|t)&&t>=2&&t<=36);var s=0;"-"===(e=e.toString().replace(/\s+/g,""))[0]&&s++,16===t?this._parseHex(e,s):this._parseBase(e,t,s),"-"===e[0]&&(this.negative=1),this._strip(),"le"===n&&this._initArray(this.toArray(),t,n)},o.prototype._initNumber=function(e,t,n){e<0&&(this.negative=1,e=-e),e<67108864?(this.words=[67108863&e],this.length=1):e<4503599627370496?(this.words=[67108863&e,e/67108864&67108863],this.length=2):(i(e<9007199254740992),this.words=[67108863&e,e/67108864&67108863,1],this.length=3),"le"===n&&this._initArray(this.toArray(),t,n)},o.prototype._initArray=function(e,t,n){if(i("number"==typeof e.length),e.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(e.length/3),this.words=new Array(this.length);for(var r=0;r<this.length;r++)this.words[r]=0;var s,o,a=0;if("be"===n)for(r=e.length-1,s=0;r>=0;r-=3)o=e[r]|e[r-1]<<8|e[r-2]<<16,this.words[s]|=o<<a&67108863,this.words[s+1]=o>>>26-a&67108863,(a+=24)>=26&&(a-=26,s++);else if("le"===n)for(r=0,s=0;r<e.length;r+=3)o=e[r]|e[r+1]<<8|e[r+2]<<16,this.words[s]|=o<<a&67108863,this.words[s+1]=o>>>26-a&67108863,(a+=24)>=26&&(a-=26,s++);return this._strip()},o.prototype._parseHex=function(e,t){this.length=Math.ceil((e.length-t)/6),this.words=new Array(this.length);for(var n=0;n<this.length;n++)this.words[n]=0;var r,i,s=0;for(n=e.length-6,r=0;n>=t;n-=6)i=c(e,n,n+6),this.words[r]|=i<<s&67108863,this.words[r+1]|=i>>>26-s&4194303,(s+=24)>=26&&(s-=26,r++);n+6!==t&&(i=c(e,t,n+6),this.words[r]|=i<<s&67108863,this.words[r+1]|=i>>>26-s&4194303),this._strip()},o.prototype._parseBase=function(e,t,n){this.words=[0],this.length=1;for(var r=0,i=1;i<=67108863;i*=t)r++;r--,i=i/t|0;for(var s=e.length-n,o=s%r,a=Math.min(s,s-o)+n,c=0,u=n;u<a;u+=r)c=l(e,u,u+r,t),this.imuln(i),this.words[0]+c<67108864?this.words[0]+=c:this._iaddn(c);if(0!==o){var h=1;for(c=l(e,u,e.length,t),u=0;u<o;u++)h*=t;this.imuln(h),this.words[0]+c<67108864?this.words[0]+=c:this._iaddn(c)}},o.prototype.copy=function(e){e.words=new Array(this.length);for(var t=0;t<this.length;t++)e.words[t]=this.words[t];e.length=this.length,e.negative=this.negative,e.red=this.red},o.prototype._move=function(e){u(e,this)},o.prototype.clone=function(){var e=new o(null);return this.copy(e),e},o.prototype._expand=function(e){for(;this.length<e;)this.words[this.length++]=0;return this},o.prototype._strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},o.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},"undefined"!=typeof Symbol&&"function"==typeof Symbol.for)try{o.prototype[Symbol.for("nodejs.util.inspect.custom")]=h}catch(e){o.prototype.inspect=h}else o.prototype.inspect=h;function h(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"}var d=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],f=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],p=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function m(e,t,n){n.negative=t.negative^e.negative;var r=e.length+t.length|0;n.length=r,r=r-1|0;var i=0|e.words[0],s=0|t.words[0],o=i*s,a=67108863&o,c=o/67108864|0;n.words[0]=a;for(var l=1;l<r;l++){for(var u=c>>>26,h=67108863&c,d=Math.min(l,t.length-1),f=Math.max(0,l-e.length+1);f<=d;f++){var p=l-f|0;u+=(o=(i=0|e.words[p])*(s=0|t.words[f])+h)/67108864|0,h=67108863&o}n.words[l]=0|h,c=0|u}return 0!==c?n.words[l]=0|c:n.length--,n._strip()}o.prototype.toString=function(e,t){var n;if(t=0|t||1,16===(e=e||10)||"hex"===e){n="";for(var r=0,s=0,o=0;o<this.length;o++){var a=this.words[o],c=(16777215&(a<<r|s)).toString(16);n=0!=(s=a>>>24-r&16777215)||o!==this.length-1?d[6-c.length]+c+n:c+n,(r+=2)>=26&&(r-=26,o--)}for(0!==s&&(n=s.toString(16)+n);n.length%t!=0;)n="0"+n;return 0!==this.negative&&(n="-"+n),n}if(e===(0|e)&&e>=2&&e<=36){var l=f[e],u=p[e];n="";var h=this.clone();for(h.negative=0;!h.isZero();){var m=h.modrn(u).toString(e);n=(h=h.idivn(u)).isZero()?m+n:d[l-m.length]+m+n}for(this.isZero()&&(n="0"+n);n.length%t!=0;)n="0"+n;return 0!==this.negative&&(n="-"+n),n}i(!1,"Base should be between 2 and 36")},o.prototype.toNumber=function(){var e=this.words[0];return 2===this.length?e+=67108864*this.words[1]:3===this.length&&1===this.words[2]?e+=4503599627370496+67108864*this.words[1]:this.length>2&&i(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-e:e},o.prototype.toJSON=function(){return this.toString(16,2)},a&&(o.prototype.toBuffer=function(e,t){return this.toArrayLike(a,e,t)}),o.prototype.toArray=function(e,t){return this.toArrayLike(Array,e,t)},o.prototype.toArrayLike=function(e,t,n){this._strip();var r=this.byteLength(),s=n||Math.max(1,r);i(r<=s,"byte array longer than desired length"),i(s>0,"Requested array length <= 0");var o=function(e,t){return e.allocUnsafe?e.allocUnsafe(t):new e(t)}(e,s);return this["_toArrayLike"+("le"===t?"LE":"BE")](o,r),o},o.prototype._toArrayLikeLE=function(e,t){for(var n=0,r=0,i=0,s=0;i<this.length;i++){var o=this.words[i]<<s|r;e[n++]=255&o,n<e.length&&(e[n++]=o>>8&255),n<e.length&&(e[n++]=o>>16&255),6===s?(n<e.length&&(e[n++]=o>>24&255),r=0,s=0):(r=o>>>24,s+=2)}if(n<e.length)for(e[n++]=r;n<e.length;)e[n++]=0},o.prototype._toArrayLikeBE=function(e,t){for(var n=e.length-1,r=0,i=0,s=0;i<this.length;i++){var o=this.words[i]<<s|r;e[n--]=255&o,n>=0&&(e[n--]=o>>8&255),n>=0&&(e[n--]=o>>16&255),6===s?(n>=0&&(e[n--]=o>>24&255),r=0,s=0):(r=o>>>24,s+=2)}if(n>=0)for(e[n--]=r;n>=0;)e[n--]=0},Math.clz32?o.prototype._countBits=function(e){return 32-Math.clz32(e)}:o.prototype._countBits=function(e){var t=e,n=0;return t>=4096&&(n+=13,t>>>=13),t>=64&&(n+=7,t>>>=7),t>=8&&(n+=4,t>>>=4),t>=2&&(n+=2,t>>>=2),n+t},o.prototype._zeroBits=function(e){if(0===e)return 26;var t=e,n=0;return 0==(8191&t)&&(n+=13,t>>>=13),0==(127&t)&&(n+=7,t>>>=7),0==(15&t)&&(n+=4,t>>>=4),0==(3&t)&&(n+=2,t>>>=2),0==(1&t)&&n++,n},o.prototype.bitLength=function(){var e=this.words[this.length-1],t=this._countBits(e);return 26*(this.length-1)+t},o.prototype.zeroBits=function(){if(this.isZero())return 0;for(var e=0,t=0;t<this.length;t++){var n=this._zeroBits(this.words[t]);if(e+=n,26!==n)break}return e},o.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},o.prototype.toTwos=function(e){return 0!==this.negative?this.abs().inotn(e).iaddn(1):this.clone()},o.prototype.fromTwos=function(e){return this.testn(e-1)?this.notn(e).iaddn(1).ineg():this.clone()},o.prototype.isNeg=function(){return 0!==this.negative},o.prototype.neg=function(){return this.clone().ineg()},o.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},o.prototype.iuor=function(e){for(;this.length<e.length;)this.words[this.length++]=0;for(var t=0;t<e.length;t++)this.words[t]=this.words[t]|e.words[t];return this._strip()},o.prototype.ior=function(e){return i(0==(this.negative|e.negative)),this.iuor(e)},o.prototype.or=function(e){return this.length>e.length?this.clone().ior(e):e.clone().ior(this)},o.prototype.uor=function(e){return this.length>e.length?this.clone().iuor(e):e.clone().iuor(this)},o.prototype.iuand=function(e){var t;t=this.length>e.length?e:this;for(var n=0;n<t.length;n++)this.words[n]=this.words[n]&e.words[n];return this.length=t.length,this._strip()},o.prototype.iand=function(e){return i(0==(this.negative|e.negative)),this.iuand(e)},o.prototype.and=function(e){return this.length>e.length?this.clone().iand(e):e.clone().iand(this)},o.prototype.uand=function(e){return this.length>e.length?this.clone().iuand(e):e.clone().iuand(this)},o.prototype.iuxor=function(e){var t,n;this.length>e.length?(t=this,n=e):(t=e,n=this);for(var r=0;r<n.length;r++)this.words[r]=t.words[r]^n.words[r];if(this!==t)for(;r<t.length;r++)this.words[r]=t.words[r];return this.length=t.length,this._strip()},o.prototype.ixor=function(e){return i(0==(this.negative|e.negative)),this.iuxor(e)},o.prototype.xor=function(e){return this.length>e.length?this.clone().ixor(e):e.clone().ixor(this)},o.prototype.uxor=function(e){return this.length>e.length?this.clone().iuxor(e):e.clone().iuxor(this)},o.prototype.inotn=function(e){i("number"==typeof e&&e>=0);var t=0|Math.ceil(e/26),n=e%26;this._expand(t),n>0&&t--;for(var r=0;r<t;r++)this.words[r]=67108863&~this.words[r];return n>0&&(this.words[r]=~this.words[r]&67108863>>26-n),this._strip()},o.prototype.notn=function(e){return this.clone().inotn(e)},o.prototype.setn=function(e,t){i("number"==typeof e&&e>=0);var n=e/26|0,r=e%26;return this._expand(n+1),this.words[n]=t?this.words[n]|1<<r:this.words[n]&~(1<<r),this._strip()},o.prototype.iadd=function(e){var t,n,r;if(0!==this.negative&&0===e.negative)return this.negative=0,t=this.isub(e),this.negative^=1,this._normSign();if(0===this.negative&&0!==e.negative)return e.negative=0,t=this.isub(e),e.negative=1,t._normSign();this.length>e.length?(n=this,r=e):(n=e,r=this);for(var i=0,s=0;s<r.length;s++)t=(0|n.words[s])+(0|r.words[s])+i,this.words[s]=67108863&t,i=t>>>26;for(;0!==i&&s<n.length;s++)t=(0|n.words[s])+i,this.words[s]=67108863&t,i=t>>>26;if(this.length=n.length,0!==i)this.words[this.length]=i,this.length++;else if(n!==this)for(;s<n.length;s++)this.words[s]=n.words[s];return this},o.prototype.add=function(e){var t;return 0!==e.negative&&0===this.negative?(e.negative=0,t=this.sub(e),e.negative^=1,t):0===e.negative&&0!==this.negative?(this.negative=0,t=e.sub(this),this.negative=1,t):this.length>e.length?this.clone().iadd(e):e.clone().iadd(this)},o.prototype.isub=function(e){if(0!==e.negative){e.negative=0;var t=this.iadd(e);return e.negative=1,t._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(e),this.negative=1,this._normSign();var n,r,i=this.cmp(e);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(n=this,r=e):(n=e,r=this);for(var s=0,o=0;o<r.length;o++)s=(t=(0|n.words[o])-(0|r.words[o])+s)>>26,this.words[o]=67108863&t;for(;0!==s&&o<n.length;o++)s=(t=(0|n.words[o])+s)>>26,this.words[o]=67108863&t;if(0===s&&o<n.length&&n!==this)for(;o<n.length;o++)this.words[o]=n.words[o];return this.length=Math.max(this.length,o),n!==this&&(this.negative=1),this._strip()},o.prototype.sub=function(e){return this.clone().isub(e)};var g=function(e,t,n){var r,i,s,o=e.words,a=t.words,c=n.words,l=0,u=0|o[0],h=8191&u,d=u>>>13,f=0|o[1],p=8191&f,m=f>>>13,g=0|o[2],v=8191&g,y=g>>>13,b=0|o[3],_=8191&b,w=b>>>13,S=0|o[4],x=8191&S,O=S>>>13,k=0|o[5],C=8191&k,M=k>>>13,E=0|o[6],T=8191&E,j=E>>>13,D=0|o[7],A=8191&D,L=D>>>13,z=0|o[8],P=8191&z,I=z>>>13,R=0|o[9],N=8191&R,H=R>>>13,F=0|a[0],V=8191&F,B=F>>>13,Y=0|a[1],U=8191&Y,W=Y>>>13,q=0|a[2],$=8191&q,G=q>>>13,X=0|a[3],K=8191&X,J=X>>>13,Q=0|a[4],Z=8191&Q,ee=Q>>>13,te=0|a[5],ne=8191&te,re=te>>>13,ie=0|a[6],se=8191&ie,oe=ie>>>13,ae=0|a[7],ce=8191&ae,le=ae>>>13,ue=0|a[8],he=8191&ue,de=ue>>>13,fe=0|a[9],pe=8191&fe,me=fe>>>13;n.negative=e.negative^t.negative,n.length=19;var ge=(l+(r=Math.imul(h,V))|0)+((8191&(i=(i=Math.imul(h,B))+Math.imul(d,V)|0))<<13)|0;l=((s=Math.imul(d,B))+(i>>>13)|0)+(ge>>>26)|0,ge&=67108863,r=Math.imul(p,V),i=(i=Math.imul(p,B))+Math.imul(m,V)|0,s=Math.imul(m,B);var ve=(l+(r=r+Math.imul(h,U)|0)|0)+((8191&(i=(i=i+Math.imul(h,W)|0)+Math.imul(d,U)|0))<<13)|0;l=((s=s+Math.imul(d,W)|0)+(i>>>13)|0)+(ve>>>26)|0,ve&=67108863,r=Math.imul(v,V),i=(i=Math.imul(v,B))+Math.imul(y,V)|0,s=Math.imul(y,B),r=r+Math.imul(p,U)|0,i=(i=i+Math.imul(p,W)|0)+Math.imul(m,U)|0,s=s+Math.imul(m,W)|0;var ye=(l+(r=r+Math.imul(h,$)|0)|0)+((8191&(i=(i=i+Math.imul(h,G)|0)+Math.imul(d,$)|0))<<13)|0;l=((s=s+Math.imul(d,G)|0)+(i>>>13)|0)+(ye>>>26)|0,ye&=67108863,r=Math.imul(_,V),i=(i=Math.imul(_,B))+Math.imul(w,V)|0,s=Math.imul(w,B),r=r+Math.imul(v,U)|0,i=(i=i+Math.imul(v,W)|0)+Math.imul(y,U)|0,s=s+Math.imul(y,W)|0,r=r+Math.imul(p,$)|0,i=(i=i+Math.imul(p,G)|0)+Math.imul(m,$)|0,s=s+Math.imul(m,G)|0;var be=(l+(r=r+Math.imul(h,K)|0)|0)+((8191&(i=(i=i+Math.imul(h,J)|0)+Math.imul(d,K)|0))<<13)|0;l=((s=s+Math.imul(d,J)|0)+(i>>>13)|0)+(be>>>26)|0,be&=67108863,r=Math.imul(x,V),i=(i=Math.imul(x,B))+Math.imul(O,V)|0,s=Math.imul(O,B),r=r+Math.imul(_,U)|0,i=(i=i+Math.imul(_,W)|0)+Math.imul(w,U)|0,s=s+Math.imul(w,W)|0,r=r+Math.imul(v,$)|0,i=(i=i+Math.imul(v,G)|0)+Math.imul(y,$)|0,s=s+Math.imul(y,G)|0,r=r+Math.imul(p,K)|0,i=(i=i+Math.imul(p,J)|0)+Math.imul(m,K)|0,s=s+Math.imul(m,J)|0;var _e=(l+(r=r+Math.imul(h,Z)|0)|0)+((8191&(i=(i=i+Math.imul(h,ee)|0)+Math.imul(d,Z)|0))<<13)|0;l=((s=s+Math.imul(d,ee)|0)+(i>>>13)|0)+(_e>>>26)|0,_e&=67108863,r=Math.imul(C,V),i=(i=Math.imul(C,B))+Math.imul(M,V)|0,s=Math.imul(M,B),r=r+Math.imul(x,U)|0,i=(i=i+Math.imul(x,W)|0)+Math.imul(O,U)|0,s=s+Math.imul(O,W)|0,r=r+Math.imul(_,$)|0,i=(i=i+Math.imul(_,G)|0)+Math.imul(w,$)|0,s=s+Math.imul(w,G)|0,r=r+Math.imul(v,K)|0,i=(i=i+Math.imul(v,J)|0)+Math.imul(y,K)|0,s=s+Math.imul(y,J)|0,r=r+Math.imul(p,Z)|0,i=(i=i+Math.imul(p,ee)|0)+Math.imul(m,Z)|0,s=s+Math.imul(m,ee)|0;var we=(l+(r=r+Math.imul(h,ne)|0)|0)+((8191&(i=(i=i+Math.imul(h,re)|0)+Math.imul(d,ne)|0))<<13)|0;l=((s=s+Math.imul(d,re)|0)+(i>>>13)|0)+(we>>>26)|0,we&=67108863,r=Math.imul(T,V),i=(i=Math.imul(T,B))+Math.imul(j,V)|0,s=Math.imul(j,B),r=r+Math.imul(C,U)|0,i=(i=i+Math.imul(C,W)|0)+Math.imul(M,U)|0,s=s+Math.imul(M,W)|0,r=r+Math.imul(x,$)|0,i=(i=i+Math.imul(x,G)|0)+Math.imul(O,$)|0,s=s+Math.imul(O,G)|0,r=r+Math.imul(_,K)|0,i=(i=i+Math.imul(_,J)|0)+Math.imul(w,K)|0,s=s+Math.imul(w,J)|0,r=r+Math.imul(v,Z)|0,i=(i=i+Math.imul(v,ee)|0)+Math.imul(y,Z)|0,s=s+Math.imul(y,ee)|0,r=r+Math.imul(p,ne)|0,i=(i=i+Math.imul(p,re)|0)+Math.imul(m,ne)|0,s=s+Math.imul(m,re)|0;var Se=(l+(r=r+Math.imul(h,se)|0)|0)+((8191&(i=(i=i+Math.imul(h,oe)|0)+Math.imul(d,se)|0))<<13)|0;l=((s=s+Math.imul(d,oe)|0)+(i>>>13)|0)+(Se>>>26)|0,Se&=67108863,r=Math.imul(A,V),i=(i=Math.imul(A,B))+Math.imul(L,V)|0,s=Math.imul(L,B),r=r+Math.imul(T,U)|0,i=(i=i+Math.imul(T,W)|0)+Math.imul(j,U)|0,s=s+Math.imul(j,W)|0,r=r+Math.imul(C,$)|0,i=(i=i+Math.imul(C,G)|0)+Math.imul(M,$)|0,s=s+Math.imul(M,G)|0,r=r+Math.imul(x,K)|0,i=(i=i+Math.imul(x,J)|0)+Math.imul(O,K)|0,s=s+Math.imul(O,J)|0,r=r+Math.imul(_,Z)|0,i=(i=i+Math.imul(_,ee)|0)+Math.imul(w,Z)|0,s=s+Math.imul(w,ee)|0,r=r+Math.imul(v,ne)|0,i=(i=i+Math.imul(v,re)|0)+Math.imul(y,ne)|0,s=s+Math.imul(y,re)|0,r=r+Math.imul(p,se)|0,i=(i=i+Math.imul(p,oe)|0)+Math.imul(m,se)|0,s=s+Math.imul(m,oe)|0;var xe=(l+(r=r+Math.imul(h,ce)|0)|0)+((8191&(i=(i=i+Math.imul(h,le)|0)+Math.imul(d,ce)|0))<<13)|0;l=((s=s+Math.imul(d,le)|0)+(i>>>13)|0)+(xe>>>26)|0,xe&=67108863,r=Math.imul(P,V),i=(i=Math.imul(P,B))+Math.imul(I,V)|0,s=Math.imul(I,B),r=r+Math.imul(A,U)|0,i=(i=i+Math.imul(A,W)|0)+Math.imul(L,U)|0,s=s+Math.imul(L,W)|0,r=r+Math.imul(T,$)|0,i=(i=i+Math.imul(T,G)|0)+Math.imul(j,$)|0,s=s+Math.imul(j,G)|0,r=r+Math.imul(C,K)|0,i=(i=i+Math.imul(C,J)|0)+Math.imul(M,K)|0,s=s+Math.imul(M,J)|0,r=r+Math.imul(x,Z)|0,i=(i=i+Math.imul(x,ee)|0)+Math.imul(O,Z)|0,s=s+Math.imul(O,ee)|0,r=r+Math.imul(_,ne)|0,i=(i=i+Math.imul(_,re)|0)+Math.imul(w,ne)|0,s=s+Math.imul(w,re)|0,r=r+Math.imul(v,se)|0,i=(i=i+Math.imul(v,oe)|0)+Math.imul(y,se)|0,s=s+Math.imul(y,oe)|0,r=r+Math.imul(p,ce)|0,i=(i=i+Math.imul(p,le)|0)+Math.imul(m,ce)|0,s=s+Math.imul(m,le)|0;var Oe=(l+(r=r+Math.imul(h,he)|0)|0)+((8191&(i=(i=i+Math.imul(h,de)|0)+Math.imul(d,he)|0))<<13)|0;l=((s=s+Math.imul(d,de)|0)+(i>>>13)|0)+(Oe>>>26)|0,Oe&=67108863,r=Math.imul(N,V),i=(i=Math.imul(N,B))+Math.imul(H,V)|0,s=Math.imul(H,B),r=r+Math.imul(P,U)|0,i=(i=i+Math.imul(P,W)|0)+Math.imul(I,U)|0,s=s+Math.imul(I,W)|0,r=r+Math.imul(A,$)|0,i=(i=i+Math.imul(A,G)|0)+Math.imul(L,$)|0,s=s+Math.imul(L,G)|0,r=r+Math.imul(T,K)|0,i=(i=i+Math.imul(T,J)|0)+Math.imul(j,K)|0,s=s+Math.imul(j,J)|0,r=r+Math.imul(C,Z)|0,i=(i=i+Math.imul(C,ee)|0)+Math.imul(M,Z)|0,s=s+Math.imul(M,ee)|0,r=r+Math.imul(x,ne)|0,i=(i=i+Math.imul(x,re)|0)+Math.imul(O,ne)|0,s=s+Math.imul(O,re)|0,r=r+Math.imul(_,se)|0,i=(i=i+Math.imul(_,oe)|0)+Math.imul(w,se)|0,s=s+Math.imul(w,oe)|0,r=r+Math.imul(v,ce)|0,i=(i=i+Math.imul(v,le)|0)+Math.imul(y,ce)|0,s=s+Math.imul(y,le)|0,r=r+Math.imul(p,he)|0,i=(i=i+Math.imul(p,de)|0)+Math.imul(m,he)|0,s=s+Math.imul(m,de)|0;var ke=(l+(r=r+Math.imul(h,pe)|0)|0)+((8191&(i=(i=i+Math.imul(h,me)|0)+Math.imul(d,pe)|0))<<13)|0;l=((s=s+Math.imul(d,me)|0)+(i>>>13)|0)+(ke>>>26)|0,ke&=67108863,r=Math.imul(N,U),i=(i=Math.imul(N,W))+Math.imul(H,U)|0,s=Math.imul(H,W),r=r+Math.imul(P,$)|0,i=(i=i+Math.imul(P,G)|0)+Math.imul(I,$)|0,s=s+Math.imul(I,G)|0,r=r+Math.imul(A,K)|0,i=(i=i+Math.imul(A,J)|0)+Math.imul(L,K)|0,s=s+Math.imul(L,J)|0,r=r+Math.imul(T,Z)|0,i=(i=i+Math.imul(T,ee)|0)+Math.imul(j,Z)|0,s=s+Math.imul(j,ee)|0,r=r+Math.imul(C,ne)|0,i=(i=i+Math.imul(C,re)|0)+Math.imul(M,ne)|0,s=s+Math.imul(M,re)|0,r=r+Math.imul(x,se)|0,i=(i=i+Math.imul(x,oe)|0)+Math.imul(O,se)|0,s=s+Math.imul(O,oe)|0,r=r+Math.imul(_,ce)|0,i=(i=i+Math.imul(_,le)|0)+Math.imul(w,ce)|0,s=s+Math.imul(w,le)|0,r=r+Math.imul(v,he)|0,i=(i=i+Math.imul(v,de)|0)+Math.imul(y,he)|0,s=s+Math.imul(y,de)|0;var Ce=(l+(r=r+Math.imul(p,pe)|0)|0)+((8191&(i=(i=i+Math.imul(p,me)|0)+Math.imul(m,pe)|0))<<13)|0;l=((s=s+Math.imul(m,me)|0)+(i>>>13)|0)+(Ce>>>26)|0,Ce&=67108863,r=Math.imul(N,$),i=(i=Math.imul(N,G))+Math.imul(H,$)|0,s=Math.imul(H,G),r=r+Math.imul(P,K)|0,i=(i=i+Math.imul(P,J)|0)+Math.imul(I,K)|0,s=s+Math.imul(I,J)|0,r=r+Math.imul(A,Z)|0,i=(i=i+Math.imul(A,ee)|0)+Math.imul(L,Z)|0,s=s+Math.imul(L,ee)|0,r=r+Math.imul(T,ne)|0,i=(i=i+Math.imul(T,re)|0)+Math.imul(j,ne)|0,s=s+Math.imul(j,re)|0,r=r+Math.imul(C,se)|0,i=(i=i+Math.imul(C,oe)|0)+Math.imul(M,se)|0,s=s+Math.imul(M,oe)|0,r=r+Math.imul(x,ce)|0,i=(i=i+Math.imul(x,le)|0)+Math.imul(O,ce)|0,s=s+Math.imul(O,le)|0,r=r+Math.imul(_,he)|0,i=(i=i+Math.imul(_,de)|0)+Math.imul(w,he)|0,s=s+Math.imul(w,de)|0;var Me=(l+(r=r+Math.imul(v,pe)|0)|0)+((8191&(i=(i=i+Math.imul(v,me)|0)+Math.imul(y,pe)|0))<<13)|0;l=((s=s+Math.imul(y,me)|0)+(i>>>13)|0)+(Me>>>26)|0,Me&=67108863,r=Math.imul(N,K),i=(i=Math.imul(N,J))+Math.imul(H,K)|0,s=Math.imul(H,J),r=r+Math.imul(P,Z)|0,i=(i=i+Math.imul(P,ee)|0)+Math.imul(I,Z)|0,s=s+Math.imul(I,ee)|0,r=r+Math.imul(A,ne)|0,i=(i=i+Math.imul(A,re)|0)+Math.imul(L,ne)|0,s=s+Math.imul(L,re)|0,r=r+Math.imul(T,se)|0,i=(i=i+Math.imul(T,oe)|0)+Math.imul(j,se)|0,s=s+Math.imul(j,oe)|0,r=r+Math.imul(C,ce)|0,i=(i=i+Math.imul(C,le)|0)+Math.imul(M,ce)|0,s=s+Math.imul(M,le)|0,r=r+Math.imul(x,he)|0,i=(i=i+Math.imul(x,de)|0)+Math.imul(O,he)|0,s=s+Math.imul(O,de)|0;var Ee=(l+(r=r+Math.imul(_,pe)|0)|0)+((8191&(i=(i=i+Math.imul(_,me)|0)+Math.imul(w,pe)|0))<<13)|0;l=((s=s+Math.imul(w,me)|0)+(i>>>13)|0)+(Ee>>>26)|0,Ee&=67108863,r=Math.imul(N,Z),i=(i=Math.imul(N,ee))+Math.imul(H,Z)|0,s=Math.imul(H,ee),r=r+Math.imul(P,ne)|0,i=(i=i+Math.imul(P,re)|0)+Math.imul(I,ne)|0,s=s+Math.imul(I,re)|0,r=r+Math.imul(A,se)|0,i=(i=i+Math.imul(A,oe)|0)+Math.imul(L,se)|0,s=s+Math.imul(L,oe)|0,r=r+Math.imul(T,ce)|0,i=(i=i+Math.imul(T,le)|0)+Math.imul(j,ce)|0,s=s+Math.imul(j,le)|0,r=r+Math.imul(C,he)|0,i=(i=i+Math.imul(C,de)|0)+Math.imul(M,he)|0,s=s+Math.imul(M,de)|0;var Te=(l+(r=r+Math.imul(x,pe)|0)|0)+((8191&(i=(i=i+Math.imul(x,me)|0)+Math.imul(O,pe)|0))<<13)|0;l=((s=s+Math.imul(O,me)|0)+(i>>>13)|0)+(Te>>>26)|0,Te&=67108863,r=Math.imul(N,ne),i=(i=Math.imul(N,re))+Math.imul(H,ne)|0,s=Math.imul(H,re),r=r+Math.imul(P,se)|0,i=(i=i+Math.imul(P,oe)|0)+Math.imul(I,se)|0,s=s+Math.imul(I,oe)|0,r=r+Math.imul(A,ce)|0,i=(i=i+Math.imul(A,le)|0)+Math.imul(L,ce)|0,s=s+Math.imul(L,le)|0,r=r+Math.imul(T,he)|0,i=(i=i+Math.imul(T,de)|0)+Math.imul(j,he)|0,s=s+Math.imul(j,de)|0;var je=(l+(r=r+Math.imul(C,pe)|0)|0)+((8191&(i=(i=i+Math.imul(C,me)|0)+Math.imul(M,pe)|0))<<13)|0;l=((s=s+Math.imul(M,me)|0)+(i>>>13)|0)+(je>>>26)|0,je&=67108863,r=Math.imul(N,se),i=(i=Math.imul(N,oe))+Math.imul(H,se)|0,s=Math.imul(H,oe),r=r+Math.imul(P,ce)|0,i=(i=i+Math.imul(P,le)|0)+Math.imul(I,ce)|0,s=s+Math.imul(I,le)|0,r=r+Math.imul(A,he)|0,i=(i=i+Math.imul(A,de)|0)+Math.imul(L,he)|0,s=s+Math.imul(L,de)|0;var De=(l+(r=r+Math.imul(T,pe)|0)|0)+((8191&(i=(i=i+Math.imul(T,me)|0)+Math.imul(j,pe)|0))<<13)|0;l=((s=s+Math.imul(j,me)|0)+(i>>>13)|0)+(De>>>26)|0,De&=67108863,r=Math.imul(N,ce),i=(i=Math.imul(N,le))+Math.imul(H,ce)|0,s=Math.imul(H,le),r=r+Math.imul(P,he)|0,i=(i=i+Math.imul(P,de)|0)+Math.imul(I,he)|0,s=s+Math.imul(I,de)|0;var Ae=(l+(r=r+Math.imul(A,pe)|0)|0)+((8191&(i=(i=i+Math.imul(A,me)|0)+Math.imul(L,pe)|0))<<13)|0;l=((s=s+Math.imul(L,me)|0)+(i>>>13)|0)+(Ae>>>26)|0,Ae&=67108863,r=Math.imul(N,he),i=(i=Math.imul(N,de))+Math.imul(H,he)|0,s=Math.imul(H,de);var Le=(l+(r=r+Math.imul(P,pe)|0)|0)+((8191&(i=(i=i+Math.imul(P,me)|0)+Math.imul(I,pe)|0))<<13)|0;l=((s=s+Math.imul(I,me)|0)+(i>>>13)|0)+(Le>>>26)|0,Le&=67108863;var ze=(l+(r=Math.imul(N,pe))|0)+((8191&(i=(i=Math.imul(N,me))+Math.imul(H,pe)|0))<<13)|0;return l=((s=Math.imul(H,me))+(i>>>13)|0)+(ze>>>26)|0,ze&=67108863,c[0]=ge,c[1]=ve,c[2]=ye,c[3]=be,c[4]=_e,c[5]=we,c[6]=Se,c[7]=xe,c[8]=Oe,c[9]=ke,c[10]=Ce,c[11]=Me,c[12]=Ee,c[13]=Te,c[14]=je,c[15]=De,c[16]=Ae,c[17]=Le,c[18]=ze,0!==l&&(c[19]=l,n.length++),n};function v(e,t,n){n.negative=t.negative^e.negative,n.length=e.length+t.length;for(var r=0,i=0,s=0;s<n.length-1;s++){var o=i;i=0;for(var a=67108863&r,c=Math.min(s,t.length-1),l=Math.max(0,s-e.length+1);l<=c;l++){var u=s-l,h=(0|e.words[u])*(0|t.words[l]),d=67108863&h;a=67108863&(d=d+a|0),i+=(o=(o=o+(h/67108864|0)|0)+(d>>>26)|0)>>>26,o&=67108863}n.words[s]=a,r=o,o=i}return 0!==r?n.words[s]=r:n.length--,n._strip()}function y(e,t,n){return v(e,t,n)}function b(e,t){this.x=e,this.y=t}Math.imul||(g=m),o.prototype.mulTo=function(e,t){var n=this.length+e.length;return 10===this.length&&10===e.length?g(this,e,t):n<63?m(this,e,t):n<1024?v(this,e,t):y(this,e,t)},b.prototype.makeRBT=function(e){for(var t=new Array(e),n=o.prototype._countBits(e)-1,r=0;r<e;r++)t[r]=this.revBin(r,n,e);return t},b.prototype.revBin=function(e,t,n){if(0===e||e===n-1)return e;for(var r=0,i=0;i<t;i++)r|=(1&e)<<t-i-1,e>>=1;return r},b.prototype.permute=function(e,t,n,r,i,s){for(var o=0;o<s;o++)r[o]=t[e[o]],i[o]=n[e[o]]},b.prototype.transform=function(e,t,n,r,i,s){this.permute(s,e,t,n,r,i);for(var o=1;o<i;o<<=1)for(var a=o<<1,c=Math.cos(2*Math.PI/a),l=Math.sin(2*Math.PI/a),u=0;u<i;u+=a)for(var h=c,d=l,f=0;f<o;f++){var p=n[u+f],m=r[u+f],g=n[u+f+o],v=r[u+f+o],y=h*g-d*v;v=h*v+d*g,g=y,n[u+f]=p+g,r[u+f]=m+v,n[u+f+o]=p-g,r[u+f+o]=m-v,f!==a&&(y=c*h-l*d,d=c*d+l*h,h=y)}},b.prototype.guessLen13b=function(e,t){var n=1|Math.max(t,e),r=1&n,i=0;for(n=n/2|0;n;n>>>=1)i++;return 1<<i+1+r},b.prototype.conjugate=function(e,t,n){if(!(n<=1))for(var r=0;r<n/2;r++){var i=e[r];e[r]=e[n-r-1],e[n-r-1]=i,i=t[r],t[r]=-t[n-r-1],t[n-r-1]=-i}},b.prototype.normalize13b=function(e,t){for(var n=0,r=0;r<t/2;r++){var i=8192*Math.round(e[2*r+1]/t)+Math.round(e[2*r]/t)+n;e[r]=67108863&i,n=i<67108864?0:i/67108864|0}return e},b.prototype.convert13b=function(e,t,n,r){for(var s=0,o=0;o<t;o++)s+=0|e[o],n[2*o]=8191&s,s>>>=13,n[2*o+1]=8191&s,s>>>=13;for(o=2*t;o<r;++o)n[o]=0;i(0===s),i(0==(-8192&s))},b.prototype.stub=function(e){for(var t=new Array(e),n=0;n<e;n++)t[n]=0;return t},b.prototype.mulp=function(e,t,n){var r=2*this.guessLen13b(e.length,t.length),i=this.makeRBT(r),s=this.stub(r),o=new Array(r),a=new Array(r),c=new Array(r),l=new Array(r),u=new Array(r),h=new Array(r),d=n.words;d.length=r,this.convert13b(e.words,e.length,o,r),this.convert13b(t.words,t.length,l,r),this.transform(o,s,a,c,r,i),this.transform(l,s,u,h,r,i);for(var f=0;f<r;f++){var p=a[f]*u[f]-c[f]*h[f];c[f]=a[f]*h[f]+c[f]*u[f],a[f]=p}return this.conjugate(a,c,r),this.transform(a,c,d,s,r,i),this.conjugate(d,s,r),this.normalize13b(d,r),n.negative=e.negative^t.negative,n.length=e.length+t.length,n._strip()},o.prototype.mul=function(e){var t=new o(null);return t.words=new Array(this.length+e.length),this.mulTo(e,t)},o.prototype.mulf=function(e){var t=new o(null);return t.words=new Array(this.length+e.length),y(this,e,t)},o.prototype.imul=function(e){return this.clone().mulTo(e,this)},o.prototype.imuln=function(e){var t=e<0;t&&(e=-e),i("number"==typeof e),i(e<67108864);for(var n=0,r=0;r<this.length;r++){var s=(0|this.words[r])*e,o=(67108863&s)+(67108863&n);n>>=26,n+=s/67108864|0,n+=o>>>26,this.words[r]=67108863&o}return 0!==n&&(this.words[r]=n,this.length++),t?this.ineg():this},o.prototype.muln=function(e){return this.clone().imuln(e)},o.prototype.sqr=function(){return this.mul(this)},o.prototype.isqr=function(){return this.imul(this.clone())},o.prototype.pow=function(e){var t=function(e){for(var t=new Array(e.bitLength()),n=0;n<t.length;n++){var r=n/26|0,i=n%26;t[n]=e.words[r]>>>i&1}return t}(e);if(0===t.length)return new o(1);for(var n=this,r=0;r<t.length&&0===t[r];r++,n=n.sqr());if(++r<t.length)for(var i=n.sqr();r<t.length;r++,i=i.sqr())0!==t[r]&&(n=n.mul(i));return n},o.prototype.iushln=function(e){i("number"==typeof e&&e>=0);var t,n=e%26,r=(e-n)/26,s=67108863>>>26-n<<26-n;if(0!==n){var o=0;for(t=0;t<this.length;t++){var a=this.words[t]&s,c=(0|this.words[t])-a<<n;this.words[t]=c|o,o=a>>>26-n}o&&(this.words[t]=o,this.length++)}if(0!==r){for(t=this.length-1;t>=0;t--)this.words[t+r]=this.words[t];for(t=0;t<r;t++)this.words[t]=0;this.length+=r}return this._strip()},o.prototype.ishln=function(e){return i(0===this.negative),this.iushln(e)},o.prototype.iushrn=function(e,t,n){var r;i("number"==typeof e&&e>=0),r=t?(t-t%26)/26:0;var s=e%26,o=Math.min((e-s)/26,this.length),a=67108863^67108863>>>s<<s,c=n;if(r-=o,r=Math.max(0,r),c){for(var l=0;l<o;l++)c.words[l]=this.words[l];c.length=o}if(0===o);else if(this.length>o)for(this.length-=o,l=0;l<this.length;l++)this.words[l]=this.words[l+o];else this.words[0]=0,this.length=1;var u=0;for(l=this.length-1;l>=0&&(0!==u||l>=r);l--){var h=0|this.words[l];this.words[l]=u<<26-s|h>>>s,u=h&a}return c&&0!==u&&(c.words[c.length++]=u),0===this.length&&(this.words[0]=0,this.length=1),this._strip()},o.prototype.ishrn=function(e,t,n){return i(0===this.negative),this.iushrn(e,t,n)},o.prototype.shln=function(e){return this.clone().ishln(e)},o.prototype.ushln=function(e){return this.clone().iushln(e)},o.prototype.shrn=function(e){return this.clone().ishrn(e)},o.prototype.ushrn=function(e){return this.clone().iushrn(e)},o.prototype.testn=function(e){i("number"==typeof e&&e>=0);var t=e%26,n=(e-t)/26,r=1<<t;return!(this.length<=n||!(this.words[n]&r))},o.prototype.imaskn=function(e){i("number"==typeof e&&e>=0);var t=e%26,n=(e-t)/26;if(i(0===this.negative,"imaskn works only with positive numbers"),this.length<=n)return this;if(0!==t&&n++,this.length=Math.min(n,this.length),0!==t){var r=67108863^67108863>>>t<<t;this.words[this.length-1]&=r}return this._strip()},o.prototype.maskn=function(e){return this.clone().imaskn(e)},o.prototype.iaddn=function(e){return i("number"==typeof e),i(e<67108864),e<0?this.isubn(-e):0!==this.negative?1===this.length&&(0|this.words[0])<=e?(this.words[0]=e-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(e),this.negative=1,this):this._iaddn(e)},o.prototype._iaddn=function(e){this.words[0]+=e;for(var t=0;t<this.length&&this.words[t]>=67108864;t++)this.words[t]-=67108864,t===this.length-1?this.words[t+1]=1:this.words[t+1]++;return this.length=Math.max(this.length,t+1),this},o.prototype.isubn=function(e){if(i("number"==typeof e),i(e<67108864),e<0)return this.iaddn(-e);if(0!==this.negative)return this.negative=0,this.iaddn(e),this.negative=1,this;if(this.words[0]-=e,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var t=0;t<this.length&&this.words[t]<0;t++)this.words[t]+=67108864,this.words[t+1]-=1;return this._strip()},o.prototype.addn=function(e){return this.clone().iaddn(e)},o.prototype.subn=function(e){return this.clone().isubn(e)},o.prototype.iabs=function(){return this.negative=0,this},o.prototype.abs=function(){return this.clone().iabs()},o.prototype._ishlnsubmul=function(e,t,n){var r,s,o=e.length+n;this._expand(o);var a=0;for(r=0;r<e.length;r++){s=(0|this.words[r+n])+a;var c=(0|e.words[r])*t;a=((s-=67108863&c)>>26)-(c/67108864|0),this.words[r+n]=67108863&s}for(;r<this.length-n;r++)a=(s=(0|this.words[r+n])+a)>>26,this.words[r+n]=67108863&s;if(0===a)return this._strip();for(i(-1===a),a=0,r=0;r<this.length;r++)a=(s=-(0|this.words[r])+a)>>26,this.words[r]=67108863&s;return this.negative=1,this._strip()},o.prototype._wordDiv=function(e,t){var n=(this.length,e.length),r=this.clone(),i=e,s=0|i.words[i.length-1];0!=(n=26-this._countBits(s))&&(i=i.ushln(n),r.iushln(n),s=0|i.words[i.length-1]);var a,c=r.length-i.length;if("mod"!==t){(a=new o(null)).length=c+1,a.words=new Array(a.length);for(var l=0;l<a.length;l++)a.words[l]=0}var u=r.clone()._ishlnsubmul(i,1,c);0===u.negative&&(r=u,a&&(a.words[c]=1));for(var h=c-1;h>=0;h--){var d=67108864*(0|r.words[i.length+h])+(0|r.words[i.length+h-1]);for(d=Math.min(d/s|0,67108863),r._ishlnsubmul(i,d,h);0!==r.negative;)d--,r.negative=0,r._ishlnsubmul(i,1,h),r.isZero()||(r.negative^=1);a&&(a.words[h]=d)}return a&&a._strip(),r._strip(),"div"!==t&&0!==n&&r.iushrn(n),{div:a||null,mod:r}},o.prototype.divmod=function(e,t,n){return i(!e.isZero()),this.isZero()?{div:new o(0),mod:new o(0)}:0!==this.negative&&0===e.negative?(a=this.neg().divmod(e,t),"mod"!==t&&(r=a.div.neg()),"div"!==t&&(s=a.mod.neg(),n&&0!==s.negative&&s.iadd(e)),{div:r,mod:s}):0===this.negative&&0!==e.negative?(a=this.divmod(e.neg(),t),"mod"!==t&&(r=a.div.neg()),{div:r,mod:a.mod}):0!=(this.negative&e.negative)?(a=this.neg().divmod(e.neg(),t),"div"!==t&&(s=a.mod.neg(),n&&0!==s.negative&&s.isub(e)),{div:a.div,mod:s}):e.length>this.length||this.cmp(e)<0?{div:new o(0),mod:this}:1===e.length?"div"===t?{div:this.divn(e.words[0]),mod:null}:"mod"===t?{div:null,mod:new o(this.modrn(e.words[0]))}:{div:this.divn(e.words[0]),mod:new o(this.modrn(e.words[0]))}:this._wordDiv(e,t);var r,s,a},o.prototype.div=function(e){return this.divmod(e,"div",!1).div},o.prototype.mod=function(e){return this.divmod(e,"mod",!1).mod},o.prototype.umod=function(e){return this.divmod(e,"mod",!0).mod},o.prototype.divRound=function(e){var t=this.divmod(e);if(t.mod.isZero())return t.div;var n=0!==t.div.negative?t.mod.isub(e):t.mod,r=e.ushrn(1),i=e.andln(1),s=n.cmp(r);return s<0||1===i&&0===s?t.div:0!==t.div.negative?t.div.isubn(1):t.div.iaddn(1)},o.prototype.modrn=function(e){var t=e<0;t&&(e=-e),i(e<=67108863);for(var n=(1<<26)%e,r=0,s=this.length-1;s>=0;s--)r=(n*r+(0|this.words[s]))%e;return t?-r:r},o.prototype.modn=function(e){return this.modrn(e)},o.prototype.idivn=function(e){var t=e<0;t&&(e=-e),i(e<=67108863);for(var n=0,r=this.length-1;r>=0;r--){var s=(0|this.words[r])+67108864*n;this.words[r]=s/e|0,n=s%e}return this._strip(),t?this.ineg():this},o.prototype.divn=function(e){return this.clone().idivn(e)},o.prototype.egcd=function(e){i(0===e.negative),i(!e.isZero());var t=this,n=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var r=new o(1),s=new o(0),a=new o(0),c=new o(1),l=0;t.isEven()&&n.isEven();)t.iushrn(1),n.iushrn(1),++l;for(var u=n.clone(),h=t.clone();!t.isZero();){for(var d=0,f=1;0==(t.words[0]&f)&&d<26;++d,f<<=1);if(d>0)for(t.iushrn(d);d-- >0;)(r.isOdd()||s.isOdd())&&(r.iadd(u),s.isub(h)),r.iushrn(1),s.iushrn(1);for(var p=0,m=1;0==(n.words[0]&m)&&p<26;++p,m<<=1);if(p>0)for(n.iushrn(p);p-- >0;)(a.isOdd()||c.isOdd())&&(a.iadd(u),c.isub(h)),a.iushrn(1),c.iushrn(1);t.cmp(n)>=0?(t.isub(n),r.isub(a),s.isub(c)):(n.isub(t),a.isub(r),c.isub(s))}return{a:a,b:c,gcd:n.iushln(l)}},o.prototype._invmp=function(e){i(0===e.negative),i(!e.isZero());var t=this,n=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var r,s=new o(1),a=new o(0),c=n.clone();t.cmpn(1)>0&&n.cmpn(1)>0;){for(var l=0,u=1;0==(t.words[0]&u)&&l<26;++l,u<<=1);if(l>0)for(t.iushrn(l);l-- >0;)s.isOdd()&&s.iadd(c),s.iushrn(1);for(var h=0,d=1;0==(n.words[0]&d)&&h<26;++h,d<<=1);if(h>0)for(n.iushrn(h);h-- >0;)a.isOdd()&&a.iadd(c),a.iushrn(1);t.cmp(n)>=0?(t.isub(n),s.isub(a)):(n.isub(t),a.isub(s))}return(r=0===t.cmpn(1)?s:a).cmpn(0)<0&&r.iadd(e),r},o.prototype.gcd=function(e){if(this.isZero())return e.abs();if(e.isZero())return this.abs();var t=this.clone(),n=e.clone();t.negative=0,n.negative=0;for(var r=0;t.isEven()&&n.isEven();r++)t.iushrn(1),n.iushrn(1);for(;;){for(;t.isEven();)t.iushrn(1);for(;n.isEven();)n.iushrn(1);var i=t.cmp(n);if(i<0){var s=t;t=n,n=s}else if(0===i||0===n.cmpn(1))break;t.isub(n)}return n.iushln(r)},o.prototype.invm=function(e){return this.egcd(e).a.umod(e)},o.prototype.isEven=function(){return 0==(1&this.words[0])},o.prototype.isOdd=function(){return 1==(1&this.words[0])},o.prototype.andln=function(e){return this.words[0]&e},o.prototype.bincn=function(e){i("number"==typeof e);var t=e%26,n=(e-t)/26,r=1<<t;if(this.length<=n)return this._expand(n+1),this.words[n]|=r,this;for(var s=r,o=n;0!==s&&o<this.length;o++){var a=0|this.words[o];s=(a+=s)>>>26,a&=67108863,this.words[o]=a}return 0!==s&&(this.words[o]=s,this.length++),this},o.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},o.prototype.cmpn=function(e){var t,n=e<0;if(0!==this.negative&&!n)return-1;if(0===this.negative&&n)return 1;if(this._strip(),this.length>1)t=1;else{n&&(e=-e),i(e<=67108863,"Number is too big");var r=0|this.words[0];t=r===e?0:r<e?-1:1}return 0!==this.negative?0|-t:t},o.prototype.cmp=function(e){if(0!==this.negative&&0===e.negative)return-1;if(0===this.negative&&0!==e.negative)return 1;var t=this.ucmp(e);return 0!==this.negative?0|-t:t},o.prototype.ucmp=function(e){if(this.length>e.length)return 1;if(this.length<e.length)return-1;for(var t=0,n=this.length-1;n>=0;n--){var r=0|this.words[n],i=0|e.words[n];if(r!==i){r<i?t=-1:r>i&&(t=1);break}}return t},o.prototype.gtn=function(e){return 1===this.cmpn(e)},o.prototype.gt=function(e){return 1===this.cmp(e)},o.prototype.gten=function(e){return this.cmpn(e)>=0},o.prototype.gte=function(e){return this.cmp(e)>=0},o.prototype.ltn=function(e){return-1===this.cmpn(e)},o.prototype.lt=function(e){return-1===this.cmp(e)},o.prototype.lten=function(e){return this.cmpn(e)<=0},o.prototype.lte=function(e){return this.cmp(e)<=0},o.prototype.eqn=function(e){return 0===this.cmpn(e)},o.prototype.eq=function(e){return 0===this.cmp(e)},o.red=function(e){return new C(e)},o.prototype.toRed=function(e){return i(!this.red,"Already a number in reduction context"),i(0===this.negative,"red works only with positives"),e.convertTo(this)._forceRed(e)},o.prototype.fromRed=function(){return i(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},o.prototype._forceRed=function(e){return this.red=e,this},o.prototype.forceRed=function(e){return i(!this.red,"Already a number in reduction context"),this._forceRed(e)},o.prototype.redAdd=function(e){return i(this.red,"redAdd works only with red numbers"),this.red.add(this,e)},o.prototype.redIAdd=function(e){return i(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,e)},o.prototype.redSub=function(e){return i(this.red,"redSub works only with red numbers"),this.red.sub(this,e)},o.prototype.redISub=function(e){return i(this.red,"redISub works only with red numbers"),this.red.isub(this,e)},o.prototype.redShl=function(e){return i(this.red,"redShl works only with red numbers"),this.red.shl(this,e)},o.prototype.redMul=function(e){return i(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.mul(this,e)},o.prototype.redIMul=function(e){return i(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.imul(this,e)},o.prototype.redSqr=function(){return i(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return i(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return i(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return i(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return i(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.prototype.redPow=function(e){return i(this.red&&!e.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,e)};var _={k256:null,p224:null,p192:null,p25519:null};function w(e,t){this.name=e,this.p=new o(t,16),this.n=this.p.bitLength(),this.k=new o(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function S(){w.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function x(){w.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function O(){w.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function k(){w.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function C(e){if("string"==typeof e){var t=o._prime(e);this.m=t.p,this.prime=t}else i(e.gtn(1),"modulus must be greater than 1"),this.m=e,this.prime=null}function M(e){C.call(this,e),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new o(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}w.prototype._tmp=function(){var e=new o(null);return e.words=new Array(Math.ceil(this.n/13)),e},w.prototype.ireduce=function(e){var t,n=e;do{this.split(n,this.tmp),t=(n=(n=this.imulK(n)).iadd(this.tmp)).bitLength()}while(t>this.n);var r=t<this.n?-1:n.ucmp(this.p);return 0===r?(n.words[0]=0,n.length=1):r>0?n.isub(this.p):void 0!==n.strip?n.strip():n._strip(),n},w.prototype.split=function(e,t){e.iushrn(this.n,0,t)},w.prototype.imulK=function(e){return e.imul(this.k)},s(S,w),S.prototype.split=function(e,t){for(var n=Math.min(e.length,9),r=0;r<n;r++)t.words[r]=e.words[r];if(t.length=n,e.length<=9)return e.words[0]=0,void(e.length=1);var i=e.words[9];for(t.words[t.length++]=4194303&i,r=10;r<e.length;r++){var s=0|e.words[r];e.words[r-10]=(4194303&s)<<4|i>>>22,i=s}i>>>=22,e.words[r-10]=i,0===i&&e.length>10?e.length-=10:e.length-=9},S.prototype.imulK=function(e){e.words[e.length]=0,e.words[e.length+1]=0,e.length+=2;for(var t=0,n=0;n<e.length;n++){var r=0|e.words[n];t+=977*r,e.words[n]=67108863&t,t=64*r+(t/67108864|0)}return 0===e.words[e.length-1]&&(e.length--,0===e.words[e.length-1]&&e.length--),e},s(x,w),s(O,w),s(k,w),k.prototype.imulK=function(e){for(var t=0,n=0;n<e.length;n++){var r=19*(0|e.words[n])+t,i=67108863&r;r>>>=26,e.words[n]=i,t=r}return 0!==t&&(e.words[e.length++]=t),e},o._prime=function(e){if(_[e])return _[e];var t;if("k256"===e)t=new S;else if("p224"===e)t=new x;else if("p192"===e)t=new O;else{if("p25519"!==e)throw new Error("Unknown prime "+e);t=new k}return _[e]=t,t},C.prototype._verify1=function(e){i(0===e.negative,"red works only with positives"),i(e.red,"red works only with red numbers")},C.prototype._verify2=function(e,t){i(0==(e.negative|t.negative),"red works only with positives"),i(e.red&&e.red===t.red,"red works only with red numbers")},C.prototype.imod=function(e){return this.prime?this.prime.ireduce(e)._forceRed(this):(u(e,e.umod(this.m)._forceRed(this)),e)},C.prototype.neg=function(e){return e.isZero()?e.clone():this.m.sub(e)._forceRed(this)},C.prototype.add=function(e,t){this._verify2(e,t);var n=e.add(t);return n.cmp(this.m)>=0&&n.isub(this.m),n._forceRed(this)},C.prototype.iadd=function(e,t){this._verify2(e,t);var n=e.iadd(t);return n.cmp(this.m)>=0&&n.isub(this.m),n},C.prototype.sub=function(e,t){this._verify2(e,t);var n=e.sub(t);return n.cmpn(0)<0&&n.iadd(this.m),n._forceRed(this)},C.prototype.isub=function(e,t){this._verify2(e,t);var n=e.isub(t);return n.cmpn(0)<0&&n.iadd(this.m),n},C.prototype.shl=function(e,t){return this._verify1(e),this.imod(e.ushln(t))},C.prototype.imul=function(e,t){return this._verify2(e,t),this.imod(e.imul(t))},C.prototype.mul=function(e,t){return this._verify2(e,t),this.imod(e.mul(t))},C.prototype.isqr=function(e){return this.imul(e,e.clone())},C.prototype.sqr=function(e){return this.mul(e,e)},C.prototype.sqrt=function(e){if(e.isZero())return e.clone();var t=this.m.andln(3);if(i(t%2==1),3===t){var n=this.m.add(new o(1)).iushrn(2);return this.pow(e,n)}for(var r=this.m.subn(1),s=0;!r.isZero()&&0===r.andln(1);)s++,r.iushrn(1);i(!r.isZero());var a=new o(1).toRed(this),c=a.redNeg(),l=this.m.subn(1).iushrn(1),u=this.m.bitLength();for(u=new o(2*u*u).toRed(this);0!==this.pow(u,l).cmp(c);)u.redIAdd(c);for(var h=this.pow(u,r),d=this.pow(e,r.addn(1).iushrn(1)),f=this.pow(e,r),p=s;0!==f.cmp(a);){for(var m=f,g=0;0!==m.cmp(a);g++)m=m.redSqr();i(g<p);var v=this.pow(h,new o(1).iushln(p-g-1));d=d.redMul(v),h=v.redSqr(),f=f.redMul(h),p=g}return d},C.prototype.invm=function(e){var t=e._invmp(this.m);return 0!==t.negative?(t.negative=0,this.imod(t).redNeg()):this.imod(t)},C.prototype.pow=function(e,t){if(t.isZero())return new o(1).toRed(this);if(0===t.cmpn(1))return e.clone();var n=new Array(16);n[0]=new o(1).toRed(this),n[1]=e;for(var r=2;r<n.length;r++)n[r]=this.mul(n[r-1],e);var i=n[0],s=0,a=0,c=t.bitLength()%26;for(0===c&&(c=26),r=t.length-1;r>=0;r--){for(var l=t.words[r],u=c-1;u>=0;u--){var h=l>>u&1;i!==n[0]&&(i=this.sqr(i)),0!==h||0!==s?(s<<=1,s|=h,(4==++a||0===r&&0===u)&&(i=this.mul(i,n[s]),a=0,s=0)):a=0}c=26}return i},C.prototype.convertTo=function(e){var t=e.umod(this.m);return t===e?t.clone():t},C.prototype.convertFrom=function(e){var t=e.clone();return t.red=null,t},o.mont=function(e){return new M(e)},s(M,C),M.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))},M.prototype.convertFrom=function(e){var t=this.imod(e.mul(this.rinv));return t.red=null,t},M.prototype.imul=function(e,t){if(e.isZero()||t.isZero())return e.words[0]=0,e.length=1,e;var n=e.imul(t),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).iushrn(this.shift),s=i;return i.cmp(this.m)>=0?s=i.isub(this.m):i.cmpn(0)<0&&(s=i.iadd(this.m)),s._forceRed(this)},M.prototype.mul=function(e,t){if(e.isZero()||t.isZero())return new o(0)._forceRed(this);var n=e.mul(t),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).iushrn(this.shift),s=i;return i.cmp(this.m)>=0?s=i.isub(this.m):i.cmpn(0)<0&&(s=i.iadd(this.m)),s._forceRed(this)},M.prototype.invm=function(e){return this.imod(e._invmp(this.m).mul(this.r2))._forceRed(this)}}(void 0===t||t)},{buffer:185}],184:[function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var i;function s(e){this.rand=e}if(t.exports=function(e){return i||(i=new s(null)),i.generate(e)},t.exports.Rand=s,s.prototype.generate=function(e){return this._rand(e)},s.prototype._rand=function(e){if(this.rand.getBytes)return this.rand.getBytes(e);for(var t=new Uint8Array(e),n=0;n<t.length;n++)t[n]=this.rand.getByte();return t},"object"===("undefined"==typeof self?"undefined":r(self)))self.crypto&&self.crypto.getRandomValues?s.prototype._rand=function(e){var t=new Uint8Array(e);return self.crypto.getRandomValues(t),t}:self.msCrypto&&self.msCrypto.getRandomValues?s.prototype._rand=function(e){var t=new Uint8Array(e);return self.msCrypto.getRandomValues(t),t}:"object"===("undefined"==typeof window?"undefined":r(window))&&(s.prototype._rand=function(){throw new Error("Not implemented yet")});else try{var o=e("crypto");if("function"!=typeof o.randomBytes)throw new Error("Not supported");s.prototype._rand=function(e){return o.randomBytes(e)}}catch(e){}},{crypto:185}],185:[function(e,t,n){},{}],186:[function(e,t,n){"use strict";var r=e("safe-buffer").Buffer;function i(e){r.isBuffer(e)||(e=r.from(e));for(var t=e.length/4|0,n=new Array(t),i=0;i<t;i++)n[i]=e.readUInt32BE(4*i);return n}function s(e){for(;0<e.length;e++)e[0]=0}function o(e,t,n,r,i){for(var s,o,a,c,l=n[0],u=n[1],h=n[2],d=n[3],f=e[0]^t[0],p=e[1]^t[1],m=e[2]^t[2],g=e[3]^t[3],v=4,y=1;y<i;y++)s=l[f>>>24]^u[p>>>16&255]^h[m>>>8&255]^d[255&g]^t[v++],o=l[p>>>24]^u[m>>>16&255]^h[g>>>8&255]^d[255&f]^t[v++],a=l[m>>>24]^u[g>>>16&255]^h[f>>>8&255]^d[255&p]^t[v++],c=l[g>>>24]^u[f>>>16&255]^h[p>>>8&255]^d[255&m]^t[v++],f=s,p=o,m=a,g=c;return s=(r[f>>>24]<<24|r[p>>>16&255]<<16|r[m>>>8&255]<<8|r[255&g])^t[v++],o=(r[p>>>24]<<24|r[m>>>16&255]<<16|r[g>>>8&255]<<8|r[255&f])^t[v++],a=(r[m>>>24]<<24|r[g>>>16&255]<<16|r[f>>>8&255]<<8|r[255&p])^t[v++],c=(r[g>>>24]<<24|r[f>>>16&255]<<16|r[p>>>8&255]<<8|r[255&m])^t[v++],[s>>>=0,o>>>=0,a>>>=0,c>>>=0]}var a=[0,1,2,4,8,16,32,64,128,27,54],c=function(){for(var e=new Array(256),t=0;t<256;t++)e[t]=t<128?t<<1:t<<1^283;for(var n=[],r=[],i=[[],[],[],[]],s=[[],[],[],[]],o=0,a=0,c=0;c<256;++c){var l=a^a<<1^a<<2^a<<3^a<<4;l=l>>>8^255&l^99,n[o]=l,r[l]=o;var u=e[o],h=e[u],d=e[h],f=257*e[l]^16843008*l;i[0][o]=f<<24|f>>>8,i[1][o]=f<<16|f>>>16,i[2][o]=f<<8|f>>>24,i[3][o]=f,f=16843009*d^65537*h^257*u^16843008*o,s[0][l]=f<<24|f>>>8,s[1][l]=f<<16|f>>>16,s[2][l]=f<<8|f>>>24,s[3][l]=f,0===o?o=a=1:(o=u^e[e[e[d^u]]],a^=e[e[a]])}return{SBOX:n,INV_SBOX:r,SUB_MIX:i,INV_SUB_MIX:s}}();function l(e){this._key=i(e),this._reset()}l.blockSize=16,l.keySize=32,l.prototype.blockSize=l.blockSize,l.prototype.keySize=l.keySize,l.prototype._reset=function(){for(var e=this._key,t=e.length,n=t+6,r=4*(n+1),i=[],s=0;s<t;s++)i[s]=e[s];for(s=t;s<r;s++){var o=i[s-1];s%t==0?(o=o<<8|o>>>24,o=c.SBOX[o>>>24]<<24|c.SBOX[o>>>16&255]<<16|c.SBOX[o>>>8&255]<<8|c.SBOX[255&o],o^=a[s/t|0]<<24):t>6&&s%t==4&&(o=c.SBOX[o>>>24]<<24|c.SBOX[o>>>16&255]<<16|c.SBOX[o>>>8&255]<<8|c.SBOX[255&o]),i[s]=i[s-t]^o}for(var l=[],u=0;u<r;u++){var h=r-u,d=i[h-(u%4?0:4)];l[u]=u<4||h<=4?d:c.INV_SUB_MIX[0][c.SBOX[d>>>24]]^c.INV_SUB_MIX[1][c.SBOX[d>>>16&255]]^c.INV_SUB_MIX[2][c.SBOX[d>>>8&255]]^c.INV_SUB_MIX[3][c.SBOX[255&d]]}this._nRounds=n,this._keySchedule=i,this._invKeySchedule=l},l.prototype.encryptBlockRaw=function(e){return o(e=i(e),this._keySchedule,c.SUB_MIX,c.SBOX,this._nRounds)},l.prototype.encryptBlock=function(e){var t=this.encryptBlockRaw(e),n=r.allocUnsafe(16);return n.writeUInt32BE(t[0],0),n.writeUInt32BE(t[1],4),n.writeUInt32BE(t[2],8),n.writeUInt32BE(t[3],12),n},l.prototype.decryptBlock=function(e){var t=(e=i(e))[1];e[1]=e[3],e[3]=t;var n=o(e,this._invKeySchedule,c.INV_SUB_MIX,c.INV_SBOX,this._nRounds),s=r.allocUnsafe(16);return s.writeUInt32BE(n[0],0),s.writeUInt32BE(n[3],4),s.writeUInt32BE(n[2],8),s.writeUInt32BE(n[1],12),s},l.prototype.scrub=function(){s(this._keySchedule),s(this._invKeySchedule),s(this._key)},t.exports.AES=l},{"safe-buffer":494}],187:[function(e,t,n){"use strict";var r=e("./aes"),i=e("safe-buffer").Buffer,s=e("cipher-base"),o=e("inherits"),a=e("./ghash"),c=e("buffer-xor"),l=e("./incr32");function u(e,t,n,o){s.call(this);var c=i.alloc(4,0);this._cipher=new r.AES(t);var u=this._cipher.encryptBlock(c);this._ghash=new a(u),n=function(e,t,n){if(12===t.length)return e._finID=i.concat([t,i.from([0,0,0,1])]),i.concat([t,i.from([0,0,0,2])]);var r=new a(n),s=t.length,o=s%16;r.update(t),o&&(o=16-o,r.update(i.alloc(o,0))),r.update(i.alloc(8,0));var c=8*s,u=i.alloc(8);u.writeUIntBE(c,0,8),r.update(u),e._finID=r.state;var h=i.from(e._finID);return l(h),h}(this,n,u),this._prev=i.from(n),this._cache=i.allocUnsafe(0),this._secCache=i.allocUnsafe(0),this._decrypt=o,this._alen=0,this._len=0,this._mode=e,this._authTag=null,this._called=!1}o(u,s),u.prototype._update=function(e){if(!this._called&&this._alen){var t=16-this._alen%16;t<16&&(t=i.alloc(t,0),this._ghash.update(t))}this._called=!0;var n=this._mode.encrypt(this,e);return this._decrypt?this._ghash.update(e):this._ghash.update(n),this._len+=e.length,n},u.prototype._final=function(){if(this._decrypt&&!this._authTag)throw new Error("Unsupported state or unable to authenticate data");var e=c(this._ghash.final(8*this._alen,8*this._len),this._cipher.encryptBlock(this._finID));if(this._decrypt&&function(e,t){var n=0;e.length!==t.length&&n++;for(var r=Math.min(e.length,t.length),i=0;i<r;++i)n+=e[i]^t[i];return n}(e,this._authTag))throw new Error("Unsupported state or unable to authenticate data");this._authTag=e,this._cipher.scrub()},u.prototype.getAuthTag=function(){if(this._decrypt||!i.isBuffer(this._authTag))throw new Error("Attempting to get auth tag in unsupported state");return this._authTag},u.prototype.setAuthTag=function(e){if(!this._decrypt)throw new Error("Attempting to set auth tag in unsupported state");this._authTag=e},u.prototype.setAAD=function(e){if(this._called)throw new Error("Attempting to set AAD in unsupported state");this._ghash.update(e),this._alen+=e.length},t.exports=u},{"./aes":186,"./ghash":191,"./incr32":192,"buffer-xor":217,"cipher-base":218,inherits:387,"safe-buffer":494}],188:[function(e,t,n){"use strict";var r=e("./encrypter"),i=e("./decrypter"),s=e("./modes/list.json");n.createCipher=n.Cipher=r.createCipher,n.createCipheriv=n.Cipheriv=r.createCipheriv,n.createDecipher=n.Decipher=i.createDecipher,n.createDecipheriv=n.Decipheriv=i.createDecipheriv,n.listCiphers=n.getCiphers=function(){return Object.keys(s)}},{"./decrypter":189,"./encrypter":190,"./modes/list.json":200}],189:[function(e,t,n){"use strict";var r=e("./authCipher"),i=e("safe-buffer").Buffer,s=e("./modes"),o=e("./streamCipher"),a=e("cipher-base"),c=e("./aes"),l=e("evp_bytestokey");function u(e,t,n){a.call(this),this._cache=new h,this._last=void 0,this._cipher=new c.AES(t),this._prev=i.from(n),this._mode=e,this._autopadding=!0}function h(){this.cache=i.allocUnsafe(0)}function d(e,t,n){var a=s[e.toLowerCase()];if(!a)throw new TypeError("invalid suite type");if("string"==typeof n&&(n=i.from(n)),"GCM"!==a.mode&&n.length!==a.iv)throw new TypeError("invalid iv length "+n.length);if("string"==typeof t&&(t=i.from(t)),t.length!==a.key/8)throw new TypeError("invalid key length "+t.length);return"stream"===a.type?new o(a.module,t,n,!0):"auth"===a.type?new r(a.module,t,n,!0):new u(a.module,t,n)}e("inherits")(u,a),u.prototype._update=function(e){var t,n;this._cache.add(e);for(var r=[];t=this._cache.get(this._autopadding);)n=this._mode.decrypt(this,t),r.push(n);return i.concat(r)},u.prototype._final=function(){var e=this._cache.flush();if(this._autopadding)return function(e){var t=e[15];if(t<1||t>16)throw new Error("unable to decrypt data");for(var n=-1;++n<t;)if(e[n+(16-t)]!==t)throw new Error("unable to decrypt data");if(16!==t)return e.slice(0,16-t)}(this._mode.decrypt(this,e));if(e)throw new Error("data not multiple of block length")},u.prototype.setAutoPadding=function(e){return this._autopadding=!!e,this},h.prototype.add=function(e){this.cache=i.concat([this.cache,e])},h.prototype.get=function(e){var t;if(e){if(this.cache.length>16)return t=this.cache.slice(0,16),this.cache=this.cache.slice(16),t}else if(this.cache.length>=16)return t=this.cache.slice(0,16),this.cache=this.cache.slice(16),t;return null},h.prototype.flush=function(){if(this.cache.length)return this.cache},n.createDecipher=function(e,t){var n=s[e.toLowerCase()];if(!n)throw new TypeError("invalid suite type");var r=l(t,!1,n.key,n.iv);return d(e,r.key,r.iv)},n.createDecipheriv=d},{"./aes":186,"./authCipher":187,"./modes":199,"./streamCipher":202,"cipher-base":218,evp_bytestokey:368,inherits:387,"safe-buffer":494}],190:[function(e,t,n){"use strict";var r=e("./modes"),i=e("./authCipher"),s=e("safe-buffer").Buffer,o=e("./streamCipher"),a=e("cipher-base"),c=e("./aes"),l=e("evp_bytestokey");function u(e,t,n){a.call(this),this._cache=new d,this._cipher=new c.AES(t),this._prev=s.from(n),this._mode=e,this._autopadding=!0}e("inherits")(u,a),u.prototype._update=function(e){var t,n;this._cache.add(e);for(var r=[];t=this._cache.get();)n=this._mode.encrypt(this,t),r.push(n);return s.concat(r)};var h=s.alloc(16,16);function d(){this.cache=s.allocUnsafe(0)}function f(e,t,n){var a=r[e.toLowerCase()];if(!a)throw new TypeError("invalid suite type");if("string"==typeof t&&(t=s.from(t)),t.length!==a.key/8)throw new TypeError("invalid key length "+t.length);if("string"==typeof n&&(n=s.from(n)),"GCM"!==a.mode&&n.length!==a.iv)throw new TypeError("invalid iv length "+n.length);return"stream"===a.type?new o(a.module,t,n):"auth"===a.type?new i(a.module,t,n):new u(a.module,t,n)}u.prototype._final=function(){var e=this._cache.flush();if(this._autopadding)return e=this._mode.encrypt(this,e),this._cipher.scrub(),e;if(!e.equals(h))throw this._cipher.scrub(),new Error("data not multiple of block length")},u.prototype.setAutoPadding=function(e){return this._autopadding=!!e,this},d.prototype.add=function(e){this.cache=s.concat([this.cache,e])},d.prototype.get=function(){if(this.cache.length>15){var e=this.cache.slice(0,16);return this.cache=this.cache.slice(16),e}return null},d.prototype.flush=function(){for(var e=16-this.cache.length,t=s.allocUnsafe(e),n=-1;++n<e;)t.writeUInt8(e,n);return s.concat([this.cache,t])},n.createCipheriv=f,n.createCipher=function(e,t){var n=r[e.toLowerCase()];if(!n)throw new TypeError("invalid suite type");var i=l(t,!1,n.key,n.iv);return f(e,i.key,i.iv)}},{"./aes":186,"./authCipher":187,"./modes":199,"./streamCipher":202,"cipher-base":218,evp_bytestokey:368,inherits:387,"safe-buffer":494}],191:[function(e,t,n){"use strict";var r=e("safe-buffer").Buffer,i=r.alloc(16,0);function s(e){var t=r.allocUnsafe(16);return t.writeUInt32BE(e[0]>>>0,0),t.writeUInt32BE(e[1]>>>0,4),t.writeUInt32BE(e[2]>>>0,8),t.writeUInt32BE(e[3]>>>0,12),t}function o(e){this.h=e,this.state=r.alloc(16,0),this.cache=r.allocUnsafe(0)}o.prototype.ghash=function(e){for(var t=-1;++t<e.length;)this.state[t]^=e[t];this._multiply()},o.prototype._multiply=function(){for(var e,t,n,r=[(e=this.h).readUInt32BE(0),e.readUInt32BE(4),e.readUInt32BE(8),e.readUInt32BE(12)],i=[0,0,0,0],o=-1;++o<128;){for(0!=(this.state[~~(o/8)]&1<<7-o%8)&&(i[0]^=r[0],i[1]^=r[1],i[2]^=r[2],i[3]^=r[3]),n=0!=(1&r[3]),t=3;t>0;t--)r[t]=r[t]>>>1|(1&r[t-1])<<31;r[0]=r[0]>>>1,n&&(r[0]=r[0]^225<<24)}this.state=s(i)},o.prototype.update=function(e){var t;for(this.cache=r.concat([this.cache,e]);this.cache.length>=16;)t=this.cache.slice(0,16),this.cache=this.cache.slice(16),this.ghash(t)},o.prototype.final=function(e,t){return this.cache.length&&this.ghash(r.concat([this.cache,i],16)),this.ghash(s([0,e,0,t])),this.state},t.exports=o},{"safe-buffer":494}],192:[function(e,t,n){"use strict";t.exports=function(e){for(var t,n=e.length;n--;){if(255!==(t=e.readUInt8(n))){t++,e.writeUInt8(t,n);break}e.writeUInt8(0,n)}}},{}],193:[function(e,t,n){"use strict";var r=e("buffer-xor");n.encrypt=function(e,t){var n=r(t,e._prev);return e._prev=e._cipher.encryptBlock(n),e._prev},n.decrypt=function(e,t){var n=e._prev;e._prev=t;var i=e._cipher.decryptBlock(t);return r(i,n)}},{"buffer-xor":217}],194:[function(e,t,n){"use strict";var r=e("safe-buffer").Buffer,i=e("buffer-xor");function s(e,t,n){var s=t.length,o=i(t,e._cache);return e._cache=e._cache.slice(s),e._prev=r.concat([e._prev,n?t:o]),o}n.encrypt=function(e,t,n){for(var i,o=r.allocUnsafe(0);t.length;){if(0===e._cache.length&&(e._cache=e._cipher.encryptBlock(e._prev),e._prev=r.allocUnsafe(0)),!(e._cache.length<=t.length)){o=r.concat([o,s(e,t,n)]);break}i=e._cache.length,o=r.concat([o,s(e,t.slice(0,i),n)]),t=t.slice(i)}return o}},{"buffer-xor":217,"safe-buffer":494}],195:[function(e,t,n){"use strict";var r=e("safe-buffer").Buffer;function i(e,t,n){for(var r,i,o=-1,a=0;++o<8;)r=t&1<<7-o?128:0,a+=(128&(i=e._cipher.encryptBlock(e._prev)[0]^r))>>o%8,e._prev=s(e._prev,n?r:i);return a}function s(e,t){var n=e.length,i=-1,s=r.allocUnsafe(e.length);for(e=r.concat([e,r.from([t])]);++i<n;)s[i]=e[i]<<1|e[i+1]>>7;return s}n.encrypt=function(e,t,n){for(var s=t.length,o=r.allocUnsafe(s),a=-1;++a<s;)o[a]=i(e,t[a],n);return o}},{"safe-buffer":494}],196:[function(e,t,n){"use strict";var r=e("safe-buffer").Buffer;function i(e,t,n){var i=e._cipher.encryptBlock(e._prev)[0]^t;return e._prev=r.concat([e._prev.slice(1),r.from([n?t:i])]),i}n.encrypt=function(e,t,n){for(var s=t.length,o=r.allocUnsafe(s),a=-1;++a<s;)o[a]=i(e,t[a],n);return o}},{"safe-buffer":494}],197:[function(e,t,n){"use strict";var r=e("buffer-xor"),i=e("safe-buffer").Buffer,s=e("../incr32");function o(e){var t=e._cipher.encryptBlockRaw(e._prev);return s(e._prev),t}n.encrypt=function(e,t){var n=Math.ceil(t.length/16),s=e._cache.length;e._cache=i.concat([e._cache,i.allocUnsafe(16*n)]);for(var a=0;a<n;a++){var c=o(e),l=s+16*a;e._cache.writeUInt32BE(c[0],l+0),e._cache.writeUInt32BE(c[1],l+4),e._cache.writeUInt32BE(c[2],l+8),e._cache.writeUInt32BE(c[3],l+12)}var u=e._cache.slice(0,t.length);return e._cache=e._cache.slice(t.length),r(t,u)}},{"../incr32":192,"buffer-xor":217,"safe-buffer":494}],198:[function(e,t,n){"use strict";n.encrypt=function(e,t){return e._cipher.encryptBlock(t)},n.decrypt=function(e,t){return e._cipher.decryptBlock(t)}},{}],199:[function(e,t,n){"use strict";var r={ECB:e("./ecb"),CBC:e("./cbc"),CFB:e("./cfb"),CFB8:e("./cfb8"),CFB1:e("./cfb1"),OFB:e("./ofb"),CTR:e("./ctr"),GCM:e("./ctr")},i=e("./list.json");for(var s in i)i[s].module=r[i[s].mode];t.exports=i},{"./cbc":193,"./cfb":194,"./cfb1":195,"./cfb8":196,"./ctr":197,"./ecb":198,"./list.json":200,"./ofb":201}],200:[function(e,t,n){t.exports={"aes-128-ecb":{cipher:"AES",key:128,iv:0,mode:"ECB",type:"block"},"aes-192-ecb":{cipher:"AES",key:192,iv:0,mode:"ECB",type:"block"},"aes-256-ecb":{cipher:"AES",key:256,iv:0,mode:"ECB",type:"block"},"aes-128-cbc":{cipher:"AES",key:128,iv:16,mode:"CBC",type:"block"},"aes-192-cbc":{cipher:"AES",key:192,iv:16,mode:"CBC",type:"block"},"aes-256-cbc":{cipher:"AES",key:256,iv:16,mode:"CBC",type:"block"},aes128:{cipher:"AES",key:128,iv:16,mode:"CBC",type:"block"},aes192:{cipher:"AES",key:192,iv:16,mode:"CBC",type:"block"},aes256:{cipher:"AES",key:256,iv:16,mode:"CBC",type:"block"},"aes-128-cfb":{cipher:"AES",key:128,iv:16,mode:"CFB",type:"stream"},"aes-192-cfb":{cipher:"AES",key:192,iv:16,mode:"CFB",type:"stream"},"aes-256-cfb":{cipher:"AES",key:256,iv:16,mode:"CFB",type:"stream"},"aes-128-cfb8":{cipher:"AES",key:128,iv:16,mode:"CFB8",type:"stream"},"aes-192-cfb8":{cipher:"AES",key:192,iv:16,mode:"CFB8",type:"stream"},"aes-256-cfb8":{cipher:"AES",key:256,iv:16,mode:"CFB8",type:"stream"},"aes-128-cfb1":{cipher:"AES",key:128,iv:16,mode:"CFB1",type:"stream"},"aes-192-cfb1":{cipher:"AES",key:192,iv:16,mode:"CFB1",type:"stream"},"aes-256-cfb1":{cipher:"AES",key:256,iv:16,mode:"CFB1",type:"stream"},"aes-128-ofb":{cipher:"AES",key:128,iv:16,mode:"OFB",type:"stream"},"aes-192-ofb":{cipher:"AES",key:192,iv:16,mode:"OFB",type:"stream"},"aes-256-ofb":{cipher:"AES",key:256,iv:16,mode:"OFB",type:"stream"},"aes-128-ctr":{cipher:"AES",key:128,iv:16,mode:"CTR",type:"stream"},"aes-192-ctr":{cipher:"AES",key:192,iv:16,mode:"CTR",type:"stream"},"aes-256-ctr":{cipher:"AES",key:256,iv:16,mode:"CTR",type:"stream"},"aes-128-gcm":{cipher:"AES",key:128,iv:12,mode:"GCM",type:"auth"},"aes-192-gcm":{cipher:"AES",key:192,iv:12,mode:"GCM",type:"auth"},"aes-256-gcm":{cipher:"AES",key:256,iv:12,mode:"GCM",type:"auth"}}},{}],201:[function(e,t,n){(function(t){"use strict";var r=e("buffer-xor");function i(e){return e._prev=e._cipher.encryptBlock(e._prev),e._prev}n.encrypt=function(e,n){for(;e._cache.length<n.length;)e._cache=t.concat([e._cache,i(e)]);var s=e._cache.slice(0,n.length);return e._cache=e._cache.slice(n.length),r(n,s)}}).call(this,e("buffer").Buffer)},{buffer:216,"buffer-xor":217}],202:[function(e,t,n){"use strict";var r=e("./aes"),i=e("safe-buffer").Buffer,s=e("cipher-base");function o(e,t,n,o){s.call(this),this._cipher=new r.AES(t),this._prev=i.from(n),this._cache=i.allocUnsafe(0),this._secCache=i.allocUnsafe(0),this._decrypt=o,this._mode=e}e("inherits")(o,s),o.prototype._update=function(e){return this._mode.encrypt(this,e,this._decrypt)},o.prototype._final=function(){this._cipher.scrub()},t.exports=o},{"./aes":186,"cipher-base":218,inherits:387,"safe-buffer":494}],203:[function(e,t,n){"use strict";var r=e("browserify-des"),i=e("browserify-aes/browser"),s=e("browserify-aes/modes"),o=e("browserify-des/modes"),a=e("evp_bytestokey");function c(e,t,n){if(e=e.toLowerCase(),s[e])return i.createCipheriv(e,t,n);if(o[e])return new r({key:t,iv:n,mode:e});throw new TypeError("invalid suite type")}function l(e,t,n){if(e=e.toLowerCase(),s[e])return i.createDecipheriv(e,t,n);if(o[e])return new r({key:t,iv:n,mode:e,decrypt:!0});throw new TypeError("invalid suite type")}n.createCipher=n.Cipher=function(e,t){var n,r;if(e=e.toLowerCase(),s[e])n=s[e].key,r=s[e].iv;else{if(!o[e])throw new TypeError("invalid suite type");n=8*o[e].key,r=o[e].iv}var i=a(t,!1,n,r);return c(e,i.key,i.iv)},n.createCipheriv=n.Cipheriv=c,n.createDecipher=n.Decipher=function(e,t){var n,r;if(e=e.toLowerCase(),s[e])n=s[e].key,r=s[e].iv;else{if(!o[e])throw new TypeError("invalid suite type");n=8*o[e].key,r=o[e].iv}var i=a(t,!1,n,r);return l(e,i.key,i.iv)},n.createDecipheriv=n.Decipheriv=l,n.listCiphers=n.getCiphers=function(){return Object.keys(o).concat(i.getCiphers())}},{"browserify-aes/browser":188,"browserify-aes/modes":199,"browserify-des":204,"browserify-des/modes":205,evp_bytestokey:368}],204:[function(e,t,n){"use strict";var r=e("cipher-base"),i=e("des.js"),s=e("inherits"),o=e("safe-buffer").Buffer,a={"des-ede3-cbc":i.CBC.instantiate(i.EDE),"des-ede3":i.EDE,"des-ede-cbc":i.CBC.instantiate(i.EDE),"des-ede":i.EDE,"des-cbc":i.CBC.instantiate(i.DES),"des-ecb":i.DES};function c(e){r.call(this);var t,n=e.mode.toLowerCase(),i=a[n];t=e.decrypt?"decrypt":"encrypt";var s=e.key;o.isBuffer(s)||(s=o.from(s)),"des-ede"!==n&&"des-ede-cbc"!==n||(s=o.concat([s,s.slice(0,8)]));var c=e.iv;o.isBuffer(c)||(c=o.from(c)),this._des=i.create({key:s,iv:c,type:t})}a.des=a["des-cbc"],a.des3=a["des-ede3-cbc"],t.exports=c,s(c,r),c.prototype._update=function(e){return o.from(this._des.update(e))},c.prototype._final=function(){return o.from(this._des.final())}},{"cipher-base":218,"des.js":339,inherits:387,"safe-buffer":494}],205:[function(e,t,n){"use strict";n["des-ecb"]={key:8,iv:0},n["des-cbc"]=n.des={key:8,iv:8},n["des-ede3-cbc"]=n.des3={key:24,iv:8},n["des-ede3"]={key:24,iv:0},n["des-ede-cbc"]={key:16,iv:8},n["des-ede"]={key:16,iv:0}},{}],206:[function(e,t,n){(function(n){"use strict";var r=e("bn.js"),i=e("randombytes");function s(e,t){var i=function(e){var t=o(e);return{blinder:t.toRed(r.mont(e.modulus)).redPow(new r(e.publicExponent)).fromRed(),unblinder:t.invm(e.modulus)}}(t),s=t.modulus.byteLength(),a=(r.mont(t.modulus),new r(e).mul(i.blinder).umod(t.modulus)),c=a.toRed(r.mont(t.prime1)),l=a.toRed(r.mont(t.prime2)),u=t.coefficient,h=t.prime1,d=t.prime2,f=c.redPow(t.exponent1),p=l.redPow(t.exponent2);f=f.fromRed(),p=p.fromRed();var m=f.isub(p).imul(u).umod(h);return m.imul(d),p.iadd(m),new n(p.imul(i.unblinder).umod(t.modulus).toArray(!1,s))}function o(e){for(var t=e.modulus.byteLength(),n=new r(i(t));n.cmp(e.modulus)>=0||!n.umod(e.prime1)||!n.umod(e.prime2);)n=new r(i(t));return n}t.exports=s,s.getr=o}).call(this,e("buffer").Buffer)},{"bn.js":207,buffer:216,randombytes:475}],207:[function(e,t,n){arguments[4][181][0].apply(n,arguments)},{buffer:185,dup:181}],208:[function(e,t,n){"use strict";t.exports=e("./browser/algorithms.json")},{"./browser/algorithms.json":209}],209:[function(e,t,n){t.exports={sha224WithRSAEncryption:{sign:"rsa",hash:"sha224",id:"302d300d06096086480165030402040500041c"},"RSA-SHA224":{sign:"ecdsa/rsa",hash:"sha224",id:"302d300d06096086480165030402040500041c"},sha256WithRSAEncryption:{sign:"rsa",hash:"sha256",id:"3031300d060960864801650304020105000420"},"RSA-SHA256":{sign:"ecdsa/rsa",hash:"sha256",id:"3031300d060960864801650304020105000420"},sha384WithRSAEncryption:{sign:"rsa",hash:"sha384",id:"3041300d060960864801650304020205000430"},"RSA-SHA384":{sign:"ecdsa/rsa",hash:"sha384",id:"3041300d060960864801650304020205000430"},sha512WithRSAEncryption:{sign:"rsa",hash:"sha512",id:"3051300d060960864801650304020305000440"},"RSA-SHA512":{sign:"ecdsa/rsa",hash:"sha512",id:"3051300d060960864801650304020305000440"},"RSA-SHA1":{sign:"rsa",hash:"sha1",id:"3021300906052b0e03021a05000414"},"ecdsa-with-SHA1":{sign:"ecdsa",hash:"sha1",id:""},sha256:{sign:"ecdsa",hash:"sha256",id:""},sha224:{sign:"ecdsa",hash:"sha224",id:""},sha384:{sign:"ecdsa",hash:"sha384",id:""},sha512:{sign:"ecdsa",hash:"sha512",id:""},"DSA-SHA":{sign:"dsa",hash:"sha1",id:""},"DSA-SHA1":{sign:"dsa",hash:"sha1",id:""},DSA:{sign:"dsa",hash:"sha1",id:""},"DSA-WITH-SHA224":{sign:"dsa",hash:"sha224",id:""},"DSA-SHA224":{sign:"dsa",hash:"sha224",id:""},"DSA-WITH-SHA256":{sign:"dsa",hash:"sha256",id:""},"DSA-SHA256":{sign:"dsa",hash:"sha256",id:""},"DSA-WITH-SHA384":{sign:"dsa",hash:"sha384",id:""},"DSA-SHA384":{sign:"dsa",hash:"sha384",id:""},"DSA-WITH-SHA512":{sign:"dsa",hash:"sha512",id:""},"DSA-SHA512":{sign:"dsa",hash:"sha512",id:""},"DSA-RIPEMD160":{sign:"dsa",hash:"rmd160",id:""},ripemd160WithRSA:{sign:"rsa",hash:"rmd160",id:"3021300906052b2403020105000414"},"RSA-RIPEMD160":{sign:"rsa",hash:"rmd160",id:"3021300906052b2403020105000414"},md5WithRSAEncryption:{sign:"rsa",hash:"md5",id:"3020300c06082a864886f70d020505000410"},"RSA-MD5":{sign:"rsa",hash:"md5",id:"3020300c06082a864886f70d020505000410"}}},{}],210:[function(e,t,n){t.exports={"1.3.132.0.10":"secp256k1","1.3.132.0.33":"p224","1.2.840.10045.3.1.1":"p192","1.2.840.10045.3.1.7":"p256","1.3.132.0.34":"p384","1.3.132.0.35":"p521"}},{}],211:[function(e,t,n){"use strict";var r=e("safe-buffer").Buffer,i=e("create-hash"),s=e("readable-stream"),o=e("inherits"),a=e("./sign"),c=e("./verify"),l=e("./algorithms.json");function u(e){s.Writable.call(this);var t=l[e];if(!t)throw new Error("Unknown message digest");this._hashType=t.hash,this._hash=i(t.hash),this._tag=t.id,this._signType=t.sign}function h(e){s.Writable.call(this);var t=l[e];if(!t)throw new Error("Unknown message digest");this._hash=i(t.hash),this._tag=t.id,this._signType=t.sign}function d(e){return new u(e)}function f(e){return new h(e)}Object.keys(l).forEach(function(e){l[e].id=r.from(l[e].id,"hex"),l[e.toLowerCase()]=l[e]}),o(u,s.Writable),u.prototype._write=function(e,t,n){this._hash.update(e),n()},u.prototype.update=function(e,t){return"string"==typeof e&&(e=r.from(e,t)),this._hash.update(e),this},u.prototype.sign=function(e,t){this.end();var n=this._hash.digest(),r=a(n,e,this._hashType,this._signType,this._tag);return t?r.toString(t):r},o(h,s.Writable),h.prototype._write=function(e,t,n){this._hash.update(e),n()},h.prototype.update=function(e,t){return"string"==typeof e&&(e=r.from(e,t)),this._hash.update(e),this},h.prototype.verify=function(e,t,n){"string"==typeof t&&(t=r.from(t,n)),this.end();var i=this._hash.digest();return c(t,i,e,this._signType,this._tag)},t.exports={Sign:d,Verify:f,createSign:d,createVerify:f}},{"./algorithms.json":209,"./sign":212,"./verify":213,"create-hash":331,inherits:387,"readable-stream":491,"safe-buffer":214}],212:[function(e,t,n){"use strict";var r=e("safe-buffer").Buffer,i=e("create-hmac"),s=e("browserify-rsa"),o=e("elliptic").ec,a=e("bn.js"),c=e("parse-asn1"),l=e("./curves.json");function u(e,t,n,s){if((e=r.from(e.toArray())).length<t.byteLength()){var o=r.alloc(t.byteLength()-e.length);e=r.concat([o,e])}var a=n.length,c=function(e,t){e=(e=h(e,t)).mod(t);var n=r.from(e.toArray());if(n.length<t.byteLength()){var i=r.alloc(t.byteLength()-n.length);n=r.concat([i,n])}return n}(n,t),l=r.alloc(a);l.fill(1);var u=r.alloc(a);return u=i(s,u).update(l).update(r.from([0])).update(e).update(c).digest(),l=i(s,u).update(l).digest(),{k:u=i(s,u).update(l).update(r.from([1])).update(e).update(c).digest(),v:l=i(s,u).update(l).digest()}}function h(e,t){var n=new a(e),r=(e.length<<3)-t.bitLength();return r>0&&n.ishrn(r),n}function d(e,t,n){var s,o;do{for(s=r.alloc(0);8*s.length<e.bitLength();)t.v=i(n,t.k).update(t.v).digest(),s=r.concat([s,t.v]);o=h(s,e),t.k=i(n,t.k).update(t.v).update(r.from([0])).digest(),t.v=i(n,t.k).update(t.v).digest()}while(-1!==o.cmp(e));return o}function f(e,t,n,r){return e.toRed(a.mont(n)).redPow(t).fromRed().mod(r)}t.exports=function(e,t,n,i,p){var m=c(t);if(m.curve){if("ecdsa"!==i&&"ecdsa/rsa"!==i)throw new Error("wrong private key type");return function(e,t){var n=l[t.curve.join(".")];if(!n)throw new Error("unknown curve "+t.curve.join("."));var i=new o(n).keyFromPrivate(t.privateKey).sign(e);return r.from(i.toDER())}(e,m)}if("dsa"===m.type){if("dsa"!==i)throw new Error("wrong private key type");return function(e,t,n){for(var i,s=t.params.priv_key,o=t.params.p,c=t.params.q,l=t.params.g,p=new a(0),m=h(e,c).mod(c),g=!1,v=u(s,c,e,n);!1===g;)p=f(l,i=d(c,v,n),o,c),0===(g=i.invm(c).imul(m.add(s.mul(p))).mod(c)).cmpn(0)&&(g=!1,p=new a(0));return function(e,t){e=e.toArray(),t=t.toArray(),128&e[0]&&(e=[0].concat(e)),128&t[0]&&(t=[0].concat(t));var n=[48,e.length+t.length+4,2,e.length];return n=n.concat(e,[2,t.length],t),r.from(n)}(p,g)}(e,m,n)}if("rsa"!==i&&"ecdsa/rsa"!==i)throw new Error("wrong private key type");e=r.concat([p,e]);for(var g=m.modulus.byteLength(),v=[0,1];e.length+v.length+1<g;)v.push(255);v.push(0);for(var y=-1;++y<e.length;)v.push(e[y]);return s(v,m)},t.exports.getKey=u,t.exports.makeKey=d},{"./curves.json":210,"bn.js":183,"browserify-rsa":206,"create-hmac":333,elliptic:350,"parse-asn1":459,"safe-buffer":214}],213:[function(e,t,n){"use strict";var r=e("safe-buffer").Buffer,i=e("bn.js"),s=e("elliptic").ec,o=e("parse-asn1"),a=e("./curves.json");function c(e,t){if(e.cmpn(0)<=0)throw new Error("invalid sig");if(e.cmp(t)>=t)throw new Error("invalid sig")}t.exports=function(e,t,n,l,u){var h=o(n);if("ec"===h.type){if("ecdsa"!==l&&"ecdsa/rsa"!==l)throw new Error("wrong public key type");return function(e,t,n){var r=a[n.data.algorithm.curve.join(".")];if(!r)throw new Error("unknown curve "+n.data.algorithm.curve.join("."));var i=new s(r),o=n.data.subjectPrivateKey.data;return i.verify(t,e,o)}(e,t,h)}if("dsa"===h.type){if("dsa"!==l)throw new Error("wrong public key type");return function(e,t,n){var r=n.data.p,s=n.data.q,a=n.data.g,l=n.data.pub_key,u=o.signature.decode(e,"der"),h=u.s,d=u.r;c(h,s),c(d,s);var f=i.mont(r),p=h.invm(s);return 0===a.toRed(f).redPow(new i(t).mul(p).mod(s)).fromRed().mul(l.toRed(f).redPow(d.mul(p).mod(s)).fromRed()).mod(r).mod(s).cmp(d)}(e,t,h)}if("rsa"!==l&&"ecdsa/rsa"!==l)throw new Error("wrong public key type");t=r.concat([u,t]);for(var d=h.modulus.byteLength(),f=[1],p=0;t.length+f.length+2<d;)f.push(255),p++;f.push(0);for(var m=-1;++m<t.length;)f.push(t[m]);f=r.from(f);var g=i.mont(h.modulus);e=(e=new i(e).toRed(g)).redPow(new i(h.publicExponent)),e=r.from(e.fromRed().toArray());var v=p<8?1:0;for(d=Math.min(e.length,f.length),e.length!==f.length&&(v=1),m=-1;++m<d;)v|=e[m]^f[m];return 0===v}},{"./curves.json":210,"bn.js":183,elliptic:350,"parse-asn1":459,"safe-buffer":214}],214:[function(e,t,n){"use strict";var r=e("buffer"),i=r.Buffer;function s(e,t){for(var n in e)t[n]=e[n]}function o(e,t,n){return i(e,t,n)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?t.exports=r:(s(r,n),n.Buffer=o),o.prototype=Object.create(i.prototype),s(i,o),o.from=function(e,t,n){if("number"==typeof e)throw new TypeError("Argument must not be a number");return i(e,t,n)},o.alloc=function(e,t,n){if("number"!=typeof e)throw new TypeError("Argument must be a number");var r=i(e);return void 0!==t?"string"==typeof n?r.fill(t,n):r.fill(t):r.fill(0),r},o.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return i(e)},o.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return r.SlowBuffer(e)}},{buffer:216}],215:[function(e,t,n){arguments[4][185][0].apply(n,arguments)},{dup:185}],216:[function(e,t,n){(function(t){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var i=e("base64-js"),s=e("ieee754");function o(e){if(e>2147483647)throw new RangeError('The value "'+e+'" is invalid for option "size"');var n=new Uint8Array(e);return n.__proto__=t.prototype,n}function t(e,t,n){if("number"==typeof e){if("string"==typeof t)throw new TypeError('The "string" argument must be of type string. Received type number');return l(e)}return a(e,t,n)}function a(e,n,i){if("string"==typeof e)return function(e,n){if("string"==typeof n&&""!==n||(n="utf8"),!t.isEncoding(n))throw new TypeError("Unknown encoding: "+n);var r=0|d(e,n),i=o(r),s=i.write(e,n);return s!==r&&(i=i.slice(0,s)),i}(e,n);if(ArrayBuffer.isView(e))return u(e);if(null==e)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+r(e));if(H(e,ArrayBuffer)||e&&H(e.buffer,ArrayBuffer))return function(e,n,r){if(n<0||e.byteLength<n)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<n+(r||0))throw new RangeError('"length" is outside of buffer bounds');var i;return(i=void 0===n&&void 0===r?new Uint8Array(e):void 0===r?new Uint8Array(e,n):new Uint8Array(e,n,r)).__proto__=t.prototype,i}(e,n,i);if("number"==typeof e)throw new TypeError('The "value" argument must not be of type number. Received type number');var s=e.valueOf&&e.valueOf();if(null!=s&&s!==e)return t.from(s,n,i);var a=function(e){if(t.isBuffer(e)){var n=0|h(e.length),r=o(n);return 0===r.length||e.copy(r,0,0,n),r}return void 0!==e.length?"number"!=typeof e.length||F(e.length)?o(0):u(e):"Buffer"===e.type&&Array.isArray(e.data)?u(e.data):void 0}(e);if(a)return a;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return t.from(e[Symbol.toPrimitive]("string"),n,i);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+r(e))}function c(e){if("number"!=typeof e)throw new TypeError('"size" argument must be of type number');if(e<0)throw new RangeError('The value "'+e+'" is invalid for option "size"')}function l(e){return c(e),o(e<0?0:0|h(e))}function u(e){for(var t=e.length<0?0:0|h(e.length),n=o(t),r=0;r<t;r+=1)n[r]=255&e[r];return n}function h(e){if(e>=2147483647)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+2147483647..toString(16)+" bytes");return 0|e}function d(e,n){if(t.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||H(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+r(e));var i=e.length,s=arguments.length>2&&!0===arguments[2];if(!s&&0===i)return 0;for(var o=!1;;)switch(n){case"ascii":case"latin1":case"binary":return i;case"utf8":case"utf-8":return I(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*i;case"hex":return i>>>1;case"base64":return R(e).length;default:if(o)return s?-1:I(e).length;n=(""+n).toLowerCase(),o=!0}}function f(e,t,n){var r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return M(this,t,n);case"utf8":case"utf-8":return O(this,t,n);case"ascii":return k(this,t,n);case"latin1":case"binary":return C(this,t,n);case"base64":return x(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return E(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function p(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function m(e,n,r,i,s){if(0===e.length)return-1;if("string"==typeof r?(i=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),F(r=+r)&&(r=s?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(s)return-1;r=e.length-1}else if(r<0){if(!s)return-1;r=0}if("string"==typeof n&&(n=t.from(n,i)),t.isBuffer(n))return 0===n.length?-1:g(e,n,r,i,s);if("number"==typeof n)return n&=255,"function"==typeof Uint8Array.prototype.indexOf?s?Uint8Array.prototype.indexOf.call(e,n,r):Uint8Array.prototype.lastIndexOf.call(e,n,r):g(e,[n],r,i,s);throw new TypeError("val must be string, number or Buffer")}function g(e,t,n,r,i){var s,o=1,a=e.length,c=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;o=2,a/=2,c/=2,n/=2}function l(e,t){return 1===o?e[t]:e.readUInt16BE(t*o)}if(i){var u=-1;for(s=n;s<a;s++)if(l(e,s)===l(t,-1===u?0:s-u)){if(-1===u&&(u=s),s-u+1===c)return u*o}else-1!==u&&(s-=s-u),u=-1}else for(n+c>a&&(n=a-c),s=n;s>=0;s--){for(var h=!0,d=0;d<c;d++)if(l(e,s+d)!==l(t,d)){h=!1;break}if(h)return s}return-1}function v(e,t,n,r){n=Number(n)||0;var i=e.length-n;r?(r=Number(r))>i&&(r=i):r=i;var s=t.length;r>s/2&&(r=s/2);for(var o=0;o<r;++o){var a=parseInt(t.substr(2*o,2),16);if(F(a))return o;e[n+o]=a}return o}function y(e,t,n,r){return N(I(t,e.length-n),e,n,r)}function b(e,t,n,r){return N(function(e){for(var t=[],n=0;n<e.length;++n)t.push(255&e.charCodeAt(n));return t}(t),e,n,r)}function _(e,t,n,r){return b(e,t,n,r)}function w(e,t,n,r){return N(R(t),e,n,r)}function S(e,t,n,r){return N(function(e,t){for(var n,r,i,s=[],o=0;o<e.length&&!((t-=2)<0);++o)r=(n=e.charCodeAt(o))>>8,i=n%256,s.push(i),s.push(r);return s}(t,e.length-n),e,n,r)}function x(e,t,n){return 0===t&&n===e.length?i.fromByteArray(e):i.fromByteArray(e.slice(t,n))}function O(e,t,n){n=Math.min(e.length,n);for(var r=[],i=t;i<n;){var s,o,a,c,l=e[i],u=null,h=l>239?4:l>223?3:l>191?2:1;if(i+h<=n)switch(h){case 1:l<128&&(u=l);break;case 2:128==(192&(s=e[i+1]))&&(c=(31&l)<<6|63&s)>127&&(u=c);break;case 3:s=e[i+1],o=e[i+2],128==(192&s)&&128==(192&o)&&(c=(15&l)<<12|(63&s)<<6|63&o)>2047&&(c<55296||c>57343)&&(u=c);break;case 4:s=e[i+1],o=e[i+2],a=e[i+3],128==(192&s)&&128==(192&o)&&128==(192&a)&&(c=(15&l)<<18|(63&s)<<12|(63&o)<<6|63&a)>65535&&c<1114112&&(u=c)}null===u?(u=65533,h=1):u>65535&&(u-=65536,r.push(u>>>10&1023|55296),u=56320|1023&u),r.push(u),i+=h}return function(e){var t=e.length;if(t<=4096)return String.fromCharCode.apply(String,e);for(var n="",r=0;r<t;)n+=String.fromCharCode.apply(String,e.slice(r,r+=4096));return n}(r)}function k(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;i<n;++i)r+=String.fromCharCode(127&e[i]);return r}function C(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;i<n;++i)r+=String.fromCharCode(e[i]);return r}function M(e,t,n){var r=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>r)&&(n=r);for(var i="",s=t;s<n;++s)i+=P(e[s]);return i}function E(e,t,n){for(var r=e.slice(t,n),i="",s=0;s<r.length;s+=2)i+=String.fromCharCode(r[s]+256*r[s+1]);return i}function T(e,t,n){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(e+t>n)throw new RangeError("Trying to access beyond buffer length")}function j(e,n,r,i,s,o){if(!t.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(n>s||n<o)throw new RangeError('"value" argument is out of bounds');if(r+i>e.length)throw new RangeError("Index out of range")}function D(e,t,n,r,i,s){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function A(e,t,n,r,i){return t=+t,n>>>=0,i||D(e,0,n,4),s.write(e,t,n,r,23,4),n+4}function L(e,t,n,r,i){return t=+t,n>>>=0,i||D(e,0,n,8),s.write(e,t,n,r,52,8),n+8}n.Buffer=t,n.SlowBuffer=function(e){return+e!=e&&(e=0),t.alloc(+e)},n.INSPECT_MAX_BYTES=50,n.kMaxLength=2147483647,t.TYPED_ARRAY_SUPPORT=function(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()}catch(e){return!1}}(),t.TYPED_ARRAY_SUPPORT||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(t.prototype,"parent",{enumerable:!0,get:function(){if(t.isBuffer(this))return this.buffer}}),Object.defineProperty(t.prototype,"offset",{enumerable:!0,get:function(){if(t.isBuffer(this))return this.byteOffset}}),"undefined"!=typeof Symbol&&null!=Symbol.species&&t[Symbol.species]===t&&Object.defineProperty(t,Symbol.species,{value:null,configurable:!0,enumerable:!1,writable:!1}),t.poolSize=8192,t.from=function(e,t,n){return a(e,t,n)},t.prototype.__proto__=Uint8Array.prototype,t.__proto__=Uint8Array,t.alloc=function(e,t,n){return function(e,t,n){return c(e),e<=0?o(e):void 0!==t?"string"==typeof n?o(e).fill(t,n):o(e).fill(t):o(e)}(e,t,n)},t.allocUnsafe=function(e){return l(e)},t.allocUnsafeSlow=function(e){return l(e)},t.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==t.prototype},t.compare=function(e,n){if(H(e,Uint8Array)&&(e=t.from(e,e.offset,e.byteLength)),H(n,Uint8Array)&&(n=t.from(n,n.offset,n.byteLength)),!t.isBuffer(e)||!t.isBuffer(n))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===n)return 0;for(var r=e.length,i=n.length,s=0,o=Math.min(r,i);s<o;++s)if(e[s]!==n[s]){r=e[s],i=n[s];break}return r<i?-1:i<r?1:0},t.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},t.concat=function(e,n){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return t.alloc(0);var r;if(void 0===n)for(n=0,r=0;r<e.length;++r)n+=e[r].length;var i=t.allocUnsafe(n),s=0;for(r=0;r<e.length;++r){var o=e[r];if(H(o,Uint8Array)&&(o=t.from(o)),!t.isBuffer(o))throw new TypeError('"list" argument must be an Array of Buffers');o.copy(i,s),s+=o.length}return i},t.byteLength=d,t.prototype._isBuffer=!0,t.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)p(this,t,t+1);return this},t.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)p(this,t,t+3),p(this,t+1,t+2);return this},t.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)p(this,t,t+7),p(this,t+1,t+6),p(this,t+2,t+5),p(this,t+3,t+4);return this},t.prototype.toString=function(){var e=this.length;return 0===e?"":0===arguments.length?O(this,0,e):f.apply(this,arguments)},t.prototype.toLocaleString=t.prototype.toString,t.prototype.equals=function(e){if(!t.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===t.compare(this,e)},t.prototype.inspect=function(){var e="",t=n.INSPECT_MAX_BYTES;return e=this.toString("hex",0,t).replace(/(.{2})/g,"$1 ").trim(),this.length>t&&(e+=" ... "),"<Buffer "+e+">"},t.prototype.compare=function(e,n,i,s,o){if(H(e,Uint8Array)&&(e=t.from(e,e.offset,e.byteLength)),!t.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+r(e));if(void 0===n&&(n=0),void 0===i&&(i=e?e.length:0),void 0===s&&(s=0),void 0===o&&(o=this.length),n<0||i>e.length||s<0||o>this.length)throw new RangeError("out of range index");if(s>=o&&n>=i)return 0;if(s>=o)return-1;if(n>=i)return 1;if(this===e)return 0;for(var a=(o>>>=0)-(s>>>=0),c=(i>>>=0)-(n>>>=0),l=Math.min(a,c),u=this.slice(s,o),h=e.slice(n,i),d=0;d<l;++d)if(u[d]!==h[d]){a=u[d],c=h[d];break}return a<c?-1:c<a?1:0},t.prototype.includes=function(e,t,n){return-1!==this.indexOf(e,t,n)},t.prototype.indexOf=function(e,t,n){return m(this,e,t,n,!0)},t.prototype.lastIndexOf=function(e,t,n){return m(this,e,t,n,!1)},t.prototype.write=function(e,t,n,r){if(void 0===t)r="utf8",n=this.length,t=0;else if(void 0===n&&"string"==typeof t)r=t,n=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t>>>=0,isFinite(n)?(n>>>=0,void 0===r&&(r="utf8")):(r=n,n=void 0)}var i=this.length-t;if((void 0===n||n>i)&&(n=i),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var s=!1;;)switch(r){case"hex":return v(this,e,t,n);case"utf8":case"utf-8":return y(this,e,t,n);case"ascii":return b(this,e,t,n);case"latin1":case"binary":return _(this,e,t,n);case"base64":return w(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return S(this,e,t,n);default:if(s)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),s=!0}},t.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},t.prototype.slice=function(e,n){var r=this.length;(e=~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),(n=void 0===n?r:~~n)<0?(n+=r)<0&&(n=0):n>r&&(n=r),n<e&&(n=e);var i=this.subarray(e,n);return i.__proto__=t.prototype,i},t.prototype.readUIntLE=function(e,t,n){e>>>=0,t>>>=0,n||T(e,t,this.length);for(var r=this[e],i=1,s=0;++s<t&&(i*=256);)r+=this[e+s]*i;return r},t.prototype.readUIntBE=function(e,t,n){e>>>=0,t>>>=0,n||T(e,t,this.length);for(var r=this[e+--t],i=1;t>0&&(i*=256);)r+=this[e+--t]*i;return r},t.prototype.readUInt8=function(e,t){return e>>>=0,t||T(e,1,this.length),this[e]},t.prototype.readUInt16LE=function(e,t){return e>>>=0,t||T(e,2,this.length),this[e]|this[e+1]<<8},t.prototype.readUInt16BE=function(e,t){return e>>>=0,t||T(e,2,this.length),this[e]<<8|this[e+1]},t.prototype.readUInt32LE=function(e,t){return e>>>=0,t||T(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},t.prototype.readUInt32BE=function(e,t){return e>>>=0,t||T(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},t.prototype.readIntLE=function(e,t,n){e>>>=0,t>>>=0,n||T(e,t,this.length);for(var r=this[e],i=1,s=0;++s<t&&(i*=256);)r+=this[e+s]*i;return r>=(i*=128)&&(r-=Math.pow(2,8*t)),r},t.prototype.readIntBE=function(e,t,n){e>>>=0,t>>>=0,n||T(e,t,this.length);for(var r=t,i=1,s=this[e+--r];r>0&&(i*=256);)s+=this[e+--r]*i;return s>=(i*=128)&&(s-=Math.pow(2,8*t)),s},t.prototype.readInt8=function(e,t){return e>>>=0,t||T(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},t.prototype.readInt16LE=function(e,t){e>>>=0,t||T(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},t.prototype.readInt16BE=function(e,t){e>>>=0,t||T(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},t.prototype.readInt32LE=function(e,t){return e>>>=0,t||T(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},t.prototype.readInt32BE=function(e,t){return e>>>=0,t||T(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},t.prototype.readFloatLE=function(e,t){return e>>>=0,t||T(e,4,this.length),s.read(this,e,!0,23,4)},t.prototype.readFloatBE=function(e,t){return e>>>=0,t||T(e,4,this.length),s.read(this,e,!1,23,4)},t.prototype.readDoubleLE=function(e,t){return e>>>=0,t||T(e,8,this.length),s.read(this,e,!0,52,8)},t.prototype.readDoubleBE=function(e,t){return e>>>=0,t||T(e,8,this.length),s.read(this,e,!1,52,8)},t.prototype.writeUIntLE=function(e,t,n,r){e=+e,t>>>=0,n>>>=0,r||j(this,e,t,n,Math.pow(2,8*n)-1,0);var i=1,s=0;for(this[t]=255&e;++s<n&&(i*=256);)this[t+s]=e/i&255;return t+n},t.prototype.writeUIntBE=function(e,t,n,r){e=+e,t>>>=0,n>>>=0,r||j(this,e,t,n,Math.pow(2,8*n)-1,0);var i=n-1,s=1;for(this[t+i]=255&e;--i>=0&&(s*=256);)this[t+i]=e/s&255;return t+n},t.prototype.writeUInt8=function(e,t,n){return e=+e,t>>>=0,n||j(this,e,t,1,255,0),this[t]=255&e,t+1},t.prototype.writeUInt16LE=function(e,t,n){return e=+e,t>>>=0,n||j(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},t.prototype.writeUInt16BE=function(e,t,n){return e=+e,t>>>=0,n||j(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},t.prototype.writeUInt32LE=function(e,t,n){return e=+e,t>>>=0,n||j(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},t.prototype.writeUInt32BE=function(e,t,n){return e=+e,t>>>=0,n||j(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},t.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t>>>=0,!r){var i=Math.pow(2,8*n-1);j(this,e,t,n,i-1,-i)}var s=0,o=1,a=0;for(this[t]=255&e;++s<n&&(o*=256);)e<0&&0===a&&0!==this[t+s-1]&&(a=1),this[t+s]=(e/o>>0)-a&255;return t+n},t.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t>>>=0,!r){var i=Math.pow(2,8*n-1);j(this,e,t,n,i-1,-i)}var s=n-1,o=1,a=0;for(this[t+s]=255&e;--s>=0&&(o*=256);)e<0&&0===a&&0!==this[t+s+1]&&(a=1),this[t+s]=(e/o>>0)-a&255;return t+n},t.prototype.writeInt8=function(e,t,n){return e=+e,t>>>=0,n||j(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},t.prototype.writeInt16LE=function(e,t,n){return e=+e,t>>>=0,n||j(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},t.prototype.writeInt16BE=function(e,t,n){return e=+e,t>>>=0,n||j(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},t.prototype.writeInt32LE=function(e,t,n){return e=+e,t>>>=0,n||j(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},t.prototype.writeInt32BE=function(e,t,n){return e=+e,t>>>=0,n||j(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},t.prototype.writeFloatLE=function(e,t,n){return A(this,e,t,!0,n)},t.prototype.writeFloatBE=function(e,t,n){return A(this,e,t,!1,n)},t.prototype.writeDoubleLE=function(e,t,n){return L(this,e,t,!0,n)},t.prototype.writeDoubleBE=function(e,t,n){return L(this,e,t,!1,n)},t.prototype.copy=function(e,n,r,i){if(!t.isBuffer(e))throw new TypeError("argument should be a Buffer");if(r||(r=0),i||0===i||(i=this.length),n>=e.length&&(n=e.length),n||(n=0),i>0&&i<r&&(i=r),i===r)return 0;if(0===e.length||0===this.length)return 0;if(n<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),e.length-n<i-r&&(i=e.length-n+r);var s=i-r;if(this===e&&"function"==typeof Uint8Array.prototype.copyWithin)this.copyWithin(n,r,i);else if(this===e&&r<n&&n<i)for(var o=s-1;o>=0;--o)e[o+n]=this[o+r];else Uint8Array.prototype.set.call(e,this.subarray(r,i),n);return s},t.prototype.fill=function(e,n,r,i){if("string"==typeof e){if("string"==typeof n?(i=n,n=0,r=this.length):"string"==typeof r&&(i=r,r=this.length),void 0!==i&&"string"!=typeof i)throw new TypeError("encoding must be a string");if("string"==typeof i&&!t.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(1===e.length){var s=e.charCodeAt(0);("utf8"===i&&s<128||"latin1"===i)&&(e=s)}}else"number"==typeof e&&(e&=255);if(n<0||this.length<n||this.length<r)throw new RangeError("Out of range index");if(r<=n)return this;var o;if(n>>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"==typeof e)for(o=n;o<r;++o)this[o]=e;else{var a=t.isBuffer(e)?e:t.from(e,i),c=a.length;if(0===c)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(o=0;o<r-n;++o)this[o+n]=a[o%c]}return this};var z=/[^+/0-9A-Za-z-_]/g;function P(e){return e<16?"0"+e.toString(16):e.toString(16)}function I(e,t){var n;t=t||1/0;for(var r=e.length,i=null,s=[],o=0;o<r;++o){if((n=e.charCodeAt(o))>55295&&n<57344){if(!i){if(n>56319){(t-=3)>-1&&s.push(239,191,189);continue}if(o+1===r){(t-=3)>-1&&s.push(239,191,189);continue}i=n;continue}if(n<56320){(t-=3)>-1&&s.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(t-=3)>-1&&s.push(239,191,189);if(i=null,n<128){if((t-=1)<0)break;s.push(n)}else if(n<2048){if((t-=2)<0)break;s.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;s.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;s.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return s}function R(e){return i.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(z,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function N(e,t,n,r){for(var i=0;i<r&&!(i+n>=t.length||i>=e.length);++i)t[i+n]=e[i];return i}function H(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}function F(e){return e!=e}}).call(this,e("buffer").Buffer)},{"base64-js":182,buffer:216,ieee754:385}],217:[function(e,t,n){(function(e){"use strict";t.exports=function(t,n){for(var r=Math.min(t.length,n.length),i=new e(r),s=0;s<r;++s)i[s]=t[s]^n[s];return i}}).call(this,e("buffer").Buffer)},{buffer:216}],218:[function(e,t,n){"use strict";var r=e("safe-buffer").Buffer,i=e("stream").Transform,s=e("string_decoder").StringDecoder;function o(e){i.call(this),this.hashMode="string"==typeof e,this.hashMode?this[e]=this._finalOrDigest:this.final=this._finalOrDigest,this._final&&(this.__final=this._final,this._final=null),this._decoder=null,this._encoding=null}e("inherits")(o,i),o.prototype.update=function(e,t,n){"string"==typeof e&&(e=r.from(e,t));var i=this._update(e);return this.hashMode?this:(n&&(i=this._toString(i,n)),i)},o.prototype.setAutoPadding=function(){},o.prototype.getAuthTag=function(){throw new Error("trying to get auth tag in unsupported state")},o.prototype.setAuthTag=function(){throw new Error("trying to set auth tag in unsupported state")},o.prototype.setAAD=function(){throw new Error("trying to set aad in unsupported state")},o.prototype._transform=function(e,t,n){var r;try{this.hashMode?this._update(e):this.push(this._update(e))}catch(e){r=e}finally{n(r)}},o.prototype._flush=function(e){var t;try{this.push(this.__final())}catch(e){t=e}e(t)},o.prototype._finalOrDigest=function(e){var t=this.__final()||r.alloc(0);return e&&(t=this._toString(t,e,!0)),t},o.prototype._toString=function(e,t,n){if(this._decoder||(this._decoder=new s(t),this._encoding=t),this._encoding!==t)throw new Error("can't switch encodings");var r=this._decoder.write(e);return n&&(r+=this._decoder.end()),r},t.exports=o},{inherits:387,"safe-buffer":494,stream:506,string_decoder:520}],219:[function(e,t,n){t.exports=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e}},{}],220:[function(e,t,n){var r=e("../internals/is-object");t.exports=function(e){if(!r(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e}},{"../internals/is-object":263}],221:[function(e,t,n){var r=e("../internals/well-known-symbol"),i=e("../internals/object-create"),s=e("../internals/object-define-property"),o=r("unscopables"),a=Array.prototype;null==a[o]&&s.f(a,o,{configurable:!0,value:i(null)}),t.exports=function(e){a[o][e]=!0}},{"../internals/object-create":276,"../internals/object-define-property":278,"../internals/well-known-symbol":314}],222:[function(e,t,n){t.exports=function(e,t,n){if(!(e instanceof t))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return e}},{}],223:[function(e,t,n){var r=e("../internals/is-object");t.exports=function(e){if(!r(e))throw TypeError(String(e)+" is not an object");return e}},{"../internals/is-object":263}],224:[function(e,t,n){var r=e("../internals/to-indexed-object"),i=e("../internals/to-length"),s=e("../internals/to-absolute-index"),o=function(e){return function(t,n,o){var a,c=r(t),l=i(c.length),u=s(o,l);if(e&&n!=n){for(;l>u;)if((a=c[u++])!=a)return!0}else for(;l>u;u++)if((e||u in c)&&c[u]===n)return e||u||0;return!e&&-1}};t.exports={includes:o(!0),indexOf:o(!1)}},{"../internals/to-absolute-index":304,"../internals/to-indexed-object":305,"../internals/to-length":307}],225:[function(e,t,n){var r=e("../internals/function-bind-context"),i=e("../internals/indexed-object"),s=e("../internals/to-object"),o=e("../internals/to-length"),a=e("../internals/array-species-create"),c=[].push,l=function(e){var t=1==e,n=2==e,l=3==e,u=4==e,h=6==e,d=5==e||h;return function(f,p,m,g){for(var v,y,b=s(f),_=i(b),w=r(p,m,3),S=o(_.length),x=0,O=g||a,k=t?O(f,S):n?O(f,0):void 0;S>x;x++)if((d||x in _)&&(y=w(v=_[x],x,b),e))if(t)k[x]=y;else if(y)switch(e){case 3:return!0;case 5:return v;case 6:return x;case 2:c.call(k,v)}else if(u)return!1;return h?-1:l||u?u:k}};t.exports={forEach:l(0),map:l(1),filter:l(2),some:l(3),every:l(4),find:l(5),findIndex:l(6)}},{"../internals/array-species-create":227,"../internals/function-bind-context":248,"../internals/indexed-object":257,"../internals/to-length":307,"../internals/to-object":308}],226:[function(e,t,n){var r=e("../internals/descriptors"),i=e("../internals/fails"),s=e("../internals/has"),o=Object.defineProperty,a={},c=function(e){throw e};t.exports=function(e,t){if(s(a,e))return a[e];t||(t={});var n=[][e],l=!!s(t,"ACCESSORS")&&t.ACCESSORS,u=s(t,0)?t[0]:c,h=s(t,1)?t[1]:void 0;return a[e]=!!n&&!i(function(){if(l&&!r)return!0;var e={length:-1};l?o(e,1,{enumerable:!0,get:c}):e[1]=1,n.call(e,u,h)})}},{"../internals/descriptors":240,"../internals/fails":247,"../internals/has":252}],227:[function(e,t,n){var r=e("../internals/is-object"),i=e("../internals/is-array"),s=e("../internals/well-known-symbol")("species");t.exports=function(e,t){var n;return i(e)&&("function"!=typeof(n=e.constructor)||n!==Array&&!i(n.prototype)?r(n)&&null===(n=n[s])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===t?0:t)}},{"../internals/is-array":261,"../internals/is-object":263,"../internals/well-known-symbol":314}],228:[function(e,t,n){var r=e("../internals/an-object");t.exports=function(e,t,n,i){try{return i?t(r(n)[0],n[1]):t(n)}catch(t){var s=e.return;throw void 0!==s&&r(s.call(e)),t}}},{"../internals/an-object":223}],229:[function(e,t,n){var r=e("../internals/well-known-symbol")("iterator"),i=!1;try{var s=0,o={next:function(){return{done:!!s++}},return:function(){i=!0}};o[r]=function(){return this},Array.from(o,function(){throw 2})}catch(e){}t.exports=function(e,t){if(!t&&!i)return!1;var n=!1;try{var s={};s[r]=function(){return{next:function(){return{done:n=!0}}}},e(s)}catch(e){}return n}},{"../internals/well-known-symbol":314}],230:[function(e,t,n){var r={}.toString;t.exports=function(e){return r.call(e).slice(8,-1)}},{}],231:[function(e,t,n){var r=e("../internals/to-string-tag-support"),i=e("../internals/classof-raw"),s=e("../internals/well-known-symbol")("toStringTag"),o="Arguments"==i(function(){return arguments}());t.exports=r?i:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),s))?n:o?i(t):"Object"==(r=i(t))&&"function"==typeof t.callee?"Arguments":r}},{"../internals/classof-raw":230,"../internals/to-string-tag-support":310,"../internals/well-known-symbol":314}],232:[function(e,t,n){var r=e("../internals/has"),i=e("../internals/own-keys"),s=e("../internals/object-get-own-property-descriptor"),o=e("../internals/object-define-property");t.exports=function(e,t){for(var n=i(t),a=o.f,c=s.f,l=0;l<n.length;l++){var u=n[l];r(e,u)||a(e,u,c(t,u))}}},{"../internals/has":252,"../internals/object-define-property":278,"../internals/object-get-own-property-descriptor":279,"../internals/own-keys":289}],233:[function(e,t,n){var r=e("../internals/well-known-symbol")("match");t.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[r]=!1,"/./"[e](t)}catch(e){}}return!1}},{"../internals/well-known-symbol":314}],234:[function(e,t,n){var r=e("../internals/fails");t.exports=!r(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})},{"../internals/fails":247}],235:[function(e,t,n){"use strict";var r=e("../internals/iterators-core").IteratorPrototype,i=e("../internals/object-create"),s=e("../internals/create-property-descriptor"),o=e("../internals/set-to-string-tag"),a=e("../internals/iterators"),c=function(){return this};t.exports=function(e,t,n){var l=t+" Iterator";return e.prototype=i(r,{next:s(1,n)}),o(e,l,!1,!0),a[l]=c,e}},{"../internals/create-property-descriptor":237,"../internals/iterators":268,"../internals/iterators-core":267,"../internals/object-create":276,"../internals/set-to-string-tag":298}],236:[function(e,t,n){var r=e("../internals/descriptors"),i=e("../internals/object-define-property"),s=e("../internals/create-property-descriptor");t.exports=r?function(e,t,n){return i.f(e,t,s(1,n))}:function(e,t,n){return e[t]=n,e}},{"../internals/create-property-descriptor":237,"../internals/descriptors":240,"../internals/object-define-property":278}],237:[function(e,t,n){t.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},{}],238:[function(e,t,n){"use strict";var r=e("../internals/export"),i=e("../internals/create-iterator-constructor"),s=e("../internals/object-get-prototype-of"),o=e("../internals/object-set-prototype-of"),a=e("../internals/set-to-string-tag"),c=e("../internals/create-non-enumerable-property"),l=e("../internals/redefine"),u=e("../internals/well-known-symbol"),h=e("../internals/is-pure"),d=e("../internals/iterators"),f=e("../internals/iterators-core"),p=f.IteratorPrototype,m=f.BUGGY_SAFARI_ITERATORS,g=u("iterator"),v=function(){return this};t.exports=function(e,t,n,u,f,y,b){i(n,t,u);var _,w,S,x=function(e){if(e===f&&E)return E;if(!m&&e in C)return C[e];switch(e){case"keys":case"values":case"entries":return function(){return new n(this,e)}}return function(){return new n(this)}},O=t+" Iterator",k=!1,C=e.prototype,M=C[g]||C["@@iterator"]||f&&C[f],E=!m&&M||x(f),T="Array"==t&&C.entries||M;if(T&&(_=s(T.call(new e)),p!==Object.prototype&&_.next&&(h||s(_)===p||(o?o(_,p):"function"!=typeof _[g]&&c(_,g,v)),a(_,O,!0,!0),h&&(d[O]=v))),"values"==f&&M&&"values"!==M.name&&(k=!0,E=function(){return M.call(this)}),h&&!b||C[g]===E||c(C,g,E),d[t]=E,f)if(w={values:x("values"),keys:y?E:x("keys"),entries:x("entries")},b)for(S in w)(m||k||!(S in C))&&l(C,S,w[S]);else r({target:t,proto:!0,forced:m||k},w);return w}},{"../internals/create-iterator-constructor":235,"../internals/create-non-enumerable-property":236,"../internals/export":246,"../internals/is-pure":264,"../internals/iterators":268,"../internals/iterators-core":267,"../internals/object-get-prototype-of":283,"../internals/object-set-prototype-of":287,"../internals/redefine":294,"../internals/set-to-string-tag":298,"../internals/well-known-symbol":314}],239:[function(e,t,n){var r=e("../internals/path"),i=e("../internals/has"),s=e("../internals/well-known-symbol-wrapped"),o=e("../internals/object-define-property").f;t.exports=function(e){var t=r.Symbol||(r.Symbol={});i(t,e)||o(t,e,{value:s.f(e)})}},{"../internals/has":252,"../internals/object-define-property":278,"../internals/path":290,"../internals/well-known-symbol-wrapped":313}],240:[function(e,t,n){var r=e("../internals/fails");t.exports=!r(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})},{"../internals/fails":247}],241:[function(e,t,n){var r=e("../internals/global"),i=e("../internals/is-object"),s=r.document,o=i(s)&&i(s.createElement);t.exports=function(e){return o?s.createElement(e):{}}},{"../internals/global":251,"../internals/is-object":263}],242:[function(e,t,n){var r=e("../internals/engine-user-agent");t.exports=/(iphone|ipod|ipad).*applewebkit/i.test(r)},{"../internals/engine-user-agent":243}],243:[function(e,t,n){var r=e("../internals/get-built-in");t.exports=r("navigator","userAgent")||""},{"../internals/get-built-in":249}],244:[function(e,t,n){var r,i,s=e("../internals/global"),o=e("../internals/engine-user-agent"),a=s.process,c=a&&a.versions,l=c&&c.v8;l?i=(r=l.split("."))[0]+r[1]:o&&(!(r=o.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=o.match(/Chrome\/(\d+)/))&&(i=r[1]),t.exports=i&&+i},{"../internals/engine-user-agent":243,"../internals/global":251}],245:[function(e,t,n){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},{}],246:[function(e,t,n){var r=e("../internals/global"),i=e("../internals/object-get-own-property-descriptor").f,s=e("../internals/create-non-enumerable-property"),o=e("../internals/redefine"),a=e("../internals/set-global"),c=e("../internals/copy-constructor-properties"),l=e("../internals/is-forced");t.exports=function(e,t){var n,u,h,d,f,p=e.target,m=e.global,g=e.stat;if(n=m?r:g?r[p]||a(p,{}):(r[p]||{}).prototype)for(u in t){if(d=t[u],h=e.noTargetGet?(f=i(n,u))&&f.value:n[u],!l(m?u:p+(g?".":"#")+u,e.forced)&&void 0!==h){if(typeof d==typeof h)continue;c(d,h)}(e.sham||h&&h.sham)&&s(d,"sham",!0),o(n,u,d,e)}}},{"../internals/copy-constructor-properties":232,"../internals/create-non-enumerable-property":236,"../internals/global":251,"../internals/is-forced":262,"../internals/object-get-own-property-descriptor":279,"../internals/redefine":294,"../internals/set-global":296}],247:[function(e,t,n){t.exports=function(e){try{return!!e()}catch(e){return!0}}},{}],248:[function(e,t,n){var r=e("../internals/a-function");t.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,i){return e.call(t,n,r,i)}}return function(){return e.apply(t,arguments)}}},{"../internals/a-function":219}],249:[function(e,t,n){var r=e("../internals/path"),i=e("../internals/global"),s=function(e){return"function"==typeof e?e:void 0};t.exports=function(e,t){return arguments.length<2?s(r[e])||s(i[e]):r[e]&&r[e][t]||i[e]&&i[e][t]}},{"../internals/global":251,"../internals/path":290}],250:[function(e,t,n){var r=e("../internals/classof"),i=e("../internals/iterators"),s=e("../internals/well-known-symbol")("iterator");t.exports=function(e){if(null!=e)return e[s]||e["@@iterator"]||i[r(e)]}},{"../internals/classof":231,"../internals/iterators":268,"../internals/well-known-symbol":314}],251:[function(e,t,n){(function(e){var n=function(e){return e&&e.Math==Math&&e};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof e&&e)||Function("return this")()}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],252:[function(e,t,n){var r={}.hasOwnProperty;t.exports=function(e,t){return r.call(e,t)}},{}],253:[function(e,t,n){t.exports={}},{}],254:[function(e,t,n){var r=e("../internals/global");t.exports=function(e,t){var n=r.console;n&&n.error&&(1===arguments.length?n.error(e):n.error(e,t))}},{"../internals/global":251}],255:[function(e,t,n){var r=e("../internals/get-built-in");t.exports=r("document","documentElement")},{"../internals/get-built-in":249}],256:[function(e,t,n){var r=e("../internals/descriptors"),i=e("../internals/fails"),s=e("../internals/document-create-element");t.exports=!r&&!i(function(){return 7!=Object.defineProperty(s("div"),"a",{get:function(){return 7}}).a})},{"../internals/descriptors":240,"../internals/document-create-element":241,"../internals/fails":247}],257:[function(e,t,n){var r=e("../internals/fails"),i=e("../internals/classof-raw"),s="".split;t.exports=r(function(){return!Object("z").propertyIsEnumerable(0)})?function(e){return"String"==i(e)?s.call(e,""):Object(e)}:Object},{"../internals/classof-raw":230,"../internals/fails":247}],258:[function(e,t,n){var r=e("../internals/shared-store"),i=Function.toString;"function"!=typeof r.inspectSource&&(r.inspectSource=function(e){return i.call(e)}),t.exports=r.inspectSource},{"../internals/shared-store":300}],259:[function(e,t,n){var r,i,s,o=e("../internals/native-weak-map"),a=e("../internals/global"),c=e("../internals/is-object"),l=e("../internals/create-non-enumerable-property"),u=e("../internals/has"),h=e("../internals/shared-key"),d=e("../internals/hidden-keys"),f=a.WeakMap;if(o){var p=new f,m=p.get,g=p.has,v=p.set;r=function(e,t){return v.call(p,e,t),t},i=function(e){return m.call(p,e)||{}},s=function(e){return g.call(p,e)}}else{var y=h("state");d[y]=!0,r=function(e,t){return l(e,y,t),t},i=function(e){return u(e,y)?e[y]:{}},s=function(e){return u(e,y)}}t.exports={set:r,get:i,has:s,enforce:function(e){return s(e)?i(e):r(e,{})},getterFor:function(e){return function(t){var n;if(!c(t)||(n=i(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}}},{"../internals/create-non-enumerable-property":236,"../internals/global":251,"../internals/has":252,"../internals/hidden-keys":253,"../internals/is-object":263,"../internals/native-weak-map":272,"../internals/shared-key":299}],260:[function(e,t,n){var r=e("../internals/well-known-symbol"),i=e("../internals/iterators"),s=r("iterator"),o=Array.prototype;t.exports=function(e){return void 0!==e&&(i.Array===e||o[s]===e)}},{"../internals/iterators":268,"../internals/well-known-symbol":314}],261:[function(e,t,n){var r=e("../internals/classof-raw");t.exports=Array.isArray||function(e){return"Array"==r(e)}},{"../internals/classof-raw":230}],262:[function(e,t,n){var r=e("../internals/fails"),i=/#|\.prototype\./,s=function(e,t){var n=a[o(e)];return n==l||n!=c&&("function"==typeof t?r(t):!!t)},o=s.normalize=function(e){return String(e).replace(i,".").toLowerCase()},a=s.data={},c=s.NATIVE="N",l=s.POLYFILL="P";t.exports=s},{"../internals/fails":247}],263:[function(e,t,n){t.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},{}],264:[function(e,t,n){t.exports=!1},{}],265:[function(e,t,n){var r=e("../internals/is-object"),i=e("../internals/classof-raw"),s=e("../internals/well-known-symbol")("match");t.exports=function(e){var t;return r(e)&&(void 0!==(t=e[s])?!!t:"RegExp"==i(e))}},{"../internals/classof-raw":230,"../internals/is-object":263,"../internals/well-known-symbol":314}],266:[function(e,t,n){var r=e("../internals/an-object"),i=e("../internals/is-array-iterator-method"),s=e("../internals/to-length"),o=e("../internals/function-bind-context"),a=e("../internals/get-iterator-method"),c=e("../internals/call-with-safe-iteration-closing"),l=function(e,t){this.stopped=e,this.result=t};(t.exports=function(e,t,n,u,h){var d,f,p,m,g,v,y,b=o(t,n,u?2:1);if(h)d=e;else{if("function"!=typeof(f=a(e)))throw TypeError("Target is not iterable");if(i(f)){for(p=0,m=s(e.length);m>p;p++)if((g=u?b(r(y=e[p])[0],y[1]):b(e[p]))&&g instanceof l)return g;return new l(!1)}d=f.call(e)}for(v=d.next;!(y=v.call(d)).done;)if("object"==typeof(g=c(d,b,y.value,u))&&g&&g instanceof l)return g;return new l(!1)}).stop=function(e){return new l(!0,e)}},{"../internals/an-object":223,"../internals/call-with-safe-iteration-closing":228,"../internals/function-bind-context":248,"../internals/get-iterator-method":250,"../internals/is-array-iterator-method":260,"../internals/to-length":307}],267:[function(e,t,n){"use strict";var r,i,s,o=e("../internals/object-get-prototype-of"),a=e("../internals/create-non-enumerable-property"),c=e("../internals/has"),l=e("../internals/well-known-symbol"),u=e("../internals/is-pure"),h=l("iterator"),d=!1;[].keys&&("next"in(s=[].keys())?(i=o(o(s)))!==Object.prototype&&(r=i):d=!0),null==r&&(r={}),u||c(r,h)||a(r,h,function(){return this}),t.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:d}},{"../internals/create-non-enumerable-property":236,"../internals/has":252,"../internals/is-pure":264,"../internals/object-get-prototype-of":283,"../internals/well-known-symbol":314}],268:[function(e,t,n){arguments[4][253][0].apply(n,arguments)},{dup:253}],269:[function(e,t,n){var r,i,s,o,a,c,l,u,h=e("../internals/global"),d=e("../internals/object-get-own-property-descriptor").f,f=e("../internals/classof-raw"),p=e("../internals/task").set,m=e("../internals/engine-is-ios"),g=h.MutationObserver||h.WebKitMutationObserver,v=h.process,y=h.Promise,b="process"==f(v),_=d(h,"queueMicrotask"),w=_&&_.value;w||(r=function(){var e,t;for(b&&(e=v.domain)&&e.exit();i;){t=i.fn,i=i.next;try{t()}catch(e){throw i?o():s=void 0,e}}s=void 0,e&&e.enter()},b?o=function(){v.nextTick(r)}:g&&!m?(a=!0,c=document.createTextNode(""),new g(r).observe(c,{characterData:!0}),o=function(){c.data=a=!a}):y&&y.resolve?(l=y.resolve(void 0),u=l.then,o=function(){u.call(l,r)}):o=function(){p.call(h,r)}),t.exports=w||function(e){var t={fn:e,next:void 0};s&&(s.next=t),i||(i=t,o()),s=t}},{"../internals/classof-raw":230,"../internals/engine-is-ios":242,"../internals/global":251,"../internals/object-get-own-property-descriptor":279,"../internals/task":303}],270:[function(e,t,n){var r=e("../internals/global");t.exports=r.Promise},{"../internals/global":251}],271:[function(e,t,n){var r=e("../internals/fails");t.exports=!!Object.getOwnPropertySymbols&&!r(function(){return!String(Symbol())})},{"../internals/fails":247}],272:[function(e,t,n){var r=e("../internals/global"),i=e("../internals/inspect-source"),s=r.WeakMap;t.exports="function"==typeof s&&/native code/.test(i(s))},{"../internals/global":251,"../internals/inspect-source":258}],273:[function(e,t,n){"use strict";var r=e("../internals/a-function"),i=function(e){var t,n;this.promise=new e(function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r}),this.resolve=r(t),this.reject=r(n)};t.exports.f=function(e){return new i(e)}},{"../internals/a-function":219}],274:[function(e,t,n){var r=e("../internals/is-regexp");t.exports=function(e){if(r(e))throw TypeError("The method doesn't accept regular expressions");return e}},{"../internals/is-regexp":265}],275:[function(e,t,n){"use strict";var r=e("../internals/descriptors"),i=e("../internals/fails"),s=e("../internals/object-keys"),o=e("../internals/object-get-own-property-symbols"),a=e("../internals/object-property-is-enumerable"),c=e("../internals/to-object"),l=e("../internals/indexed-object"),u=Object.assign,h=Object.defineProperty;t.exports=!u||i(function(){if(r&&1!==u({b:1},u(h({},"a",{enumerable:!0,get:function(){h(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},n=Symbol();return e[n]=7,"abcdefghijklmnopqrst".split("").forEach(function(e){t[e]=e}),7!=u({},e)[n]||"abcdefghijklmnopqrst"!=s(u({},t)).join("")})?function(e,t){for(var n=c(e),i=arguments.length,u=1,h=o.f,d=a.f;i>u;)for(var f,p=l(arguments[u++]),m=h?s(p).concat(h(p)):s(p),g=m.length,v=0;g>v;)f=m[v++],r&&!d.call(p,f)||(n[f]=p[f]);return n}:u},{"../internals/descriptors":240,"../internals/fails":247,"../internals/indexed-object":257,"../internals/object-get-own-property-symbols":282,"../internals/object-keys":285,"../internals/object-property-is-enumerable":286,"../internals/to-object":308}],276:[function(e,t,n){var r,i=e("../internals/an-object"),s=e("../internals/object-define-properties"),o=e("../internals/enum-bug-keys"),a=e("../internals/hidden-keys"),c=e("../internals/html"),l=e("../internals/document-create-element"),u=e("../internals/shared-key")("IE_PROTO"),h=function(){},d=function(e){return"<script>"+e+"<\/script>"},f=function(){try{r=document.domain&&new ActiveXObject("htmlfile")}catch(e){}var e,t;f=r?function(e){e.write(d("")),e.close();var t=e.parentWindow.Object;return e=null,t}(r):((t=l("iframe")).style.display="none",c.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(d("document.F=Object")),e.close(),e.F);for(var n=o.length;n--;)delete f.prototype[o[n]];return f()};a[u]=!0,t.exports=Object.create||function(e,t){var n;return null!==e?(h.prototype=i(e),n=new h,h.prototype=null,n[u]=e):n=f(),void 0===t?n:s(n,t)}},{"../internals/an-object":223,"../internals/document-create-element":241,"../internals/enum-bug-keys":245,"../internals/hidden-keys":253,"../internals/html":255,"../internals/object-define-properties":277,"../internals/shared-key":299}],277:[function(e,t,n){var r=e("../internals/descriptors"),i=e("../internals/object-define-property"),s=e("../internals/an-object"),o=e("../internals/object-keys");t.exports=r?Object.defineProperties:function(e,t){s(e);for(var n,r=o(t),a=r.length,c=0;a>c;)i.f(e,n=r[c++],t[n]);return e}},{"../internals/an-object":223,"../internals/descriptors":240,"../internals/object-define-property":278,"../internals/object-keys":285}],278:[function(e,t,n){var r=e("../internals/descriptors"),i=e("../internals/ie8-dom-define"),s=e("../internals/an-object"),o=e("../internals/to-primitive"),a=Object.defineProperty;n.f=r?a:function(e,t,n){if(s(e),t=o(t,!0),s(n),i)try{return a(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},{"../internals/an-object":223,"../internals/descriptors":240,"../internals/ie8-dom-define":256,"../internals/to-primitive":309}],279:[function(e,t,n){var r=e("../internals/descriptors"),i=e("../internals/object-property-is-enumerable"),s=e("../internals/create-property-descriptor"),o=e("../internals/to-indexed-object"),a=e("../internals/to-primitive"),c=e("../internals/has"),l=e("../internals/ie8-dom-define"),u=Object.getOwnPropertyDescriptor;n.f=r?u:function(e,t){if(e=o(e),t=a(t,!0),l)try{return u(e,t)}catch(e){}if(c(e,t))return s(!i.f.call(e,t),e[t])}},{"../internals/create-property-descriptor":237,"../internals/descriptors":240,"../internals/has":252,"../internals/ie8-dom-define":256,"../internals/object-property-is-enumerable":286,"../internals/to-indexed-object":305,"../internals/to-primitive":309}],280:[function(e,t,n){var r=e("../internals/to-indexed-object"),i=e("../internals/object-get-own-property-names").f,s={}.toString,o="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(e){return o&&"[object Window]"==s.call(e)?function(e){try{return i(e)}catch(e){return o.slice()}}(e):i(r(e))}},{"../internals/object-get-own-property-names":281,"../internals/to-indexed-object":305}],281:[function(e,t,n){var r=e("../internals/object-keys-internal"),i=e("../internals/enum-bug-keys").concat("length","prototype");n.f=Object.getOwnPropertyNames||function(e){return r(e,i)}},{"../internals/enum-bug-keys":245,"../internals/object-keys-internal":284}],282:[function(e,t,n){n.f=Object.getOwnPropertySymbols},{}],283:[function(e,t,n){var r=e("../internals/has"),i=e("../internals/to-object"),s=e("../internals/shared-key"),o=e("../internals/correct-prototype-getter"),a=s("IE_PROTO"),c=Object.prototype;t.exports=o?Object.getPrototypeOf:function(e){return e=i(e),r(e,a)?e[a]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?c:null}},{"../internals/correct-prototype-getter":234,"../internals/has":252,"../internals/shared-key":299,"../internals/to-object":308}],284:[function(e,t,n){var r=e("../internals/has"),i=e("../internals/to-indexed-object"),s=e("../internals/array-includes").indexOf,o=e("../internals/hidden-keys");t.exports=function(e,t){var n,a=i(e),c=0,l=[];for(n in a)!r(o,n)&&r(a,n)&&l.push(n);for(;t.length>c;)r(a,n=t[c++])&&(~s(l,n)||l.push(n));return l}},{"../internals/array-includes":224,"../internals/has":252,"../internals/hidden-keys":253,"../internals/to-indexed-object":305}],285:[function(e,t,n){var r=e("../internals/object-keys-internal"),i=e("../internals/enum-bug-keys");t.exports=Object.keys||function(e){return r(e,i)}},{"../internals/enum-bug-keys":245,"../internals/object-keys-internal":284}],286:[function(e,t,n){"use strict";var r={}.propertyIsEnumerable,i=Object.getOwnPropertyDescriptor,s=i&&!r.call({1:2},1);n.f=s?function(e){var t=i(this,e);return!!t&&t.enumerable}:r},{}],287:[function(e,t,n){var r=e("../internals/an-object"),i=e("../internals/a-possible-prototype");t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),t=n instanceof Array}catch(e){}return function(n,s){return r(n),i(s),t?e.call(n,s):n.__proto__=s,n}}():void 0)},{"../internals/a-possible-prototype":220,"../internals/an-object":223}],288:[function(e,t,n){var r=e("../internals/descriptors"),i=e("../internals/object-keys"),s=e("../internals/to-indexed-object"),o=e("../internals/object-property-is-enumerable").f,a=function(e){return function(t){for(var n,a=s(t),c=i(a),l=c.length,u=0,h=[];l>u;)n=c[u++],r&&!o.call(a,n)||h.push(e?[n,a[n]]:a[n]);return h}};t.exports={entries:a(!0),values:a(!1)}},{"../internals/descriptors":240,"../internals/object-keys":285,"../internals/object-property-is-enumerable":286,"../internals/to-indexed-object":305}],289:[function(e,t,n){var r=e("../internals/get-built-in"),i=e("../internals/object-get-own-property-names"),s=e("../internals/object-get-own-property-symbols"),o=e("../internals/an-object");t.exports=r("Reflect","ownKeys")||function(e){var t=i.f(o(e)),n=s.f;return n?t.concat(n(e)):t}},{"../internals/an-object":223,"../internals/get-built-in":249,"../internals/object-get-own-property-names":281,"../internals/object-get-own-property-symbols":282}],290:[function(e,t,n){var r=e("../internals/global");t.exports=r},{"../internals/global":251}],291:[function(e,t,n){t.exports=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}}},{}],292:[function(e,t,n){var r=e("../internals/an-object"),i=e("../internals/is-object"),s=e("../internals/new-promise-capability");t.exports=function(e,t){if(r(e),i(t)&&t.constructor===e)return t;var n=s.f(e);return(0,n.resolve)(t),n.promise}},{"../internals/an-object":223,"../internals/is-object":263,"../internals/new-promise-capability":273}],293:[function(e,t,n){var r=e("../internals/redefine");t.exports=function(e,t,n){for(var i in t)r(e,i,t[i],n);return e}},{"../internals/redefine":294}],294:[function(e,t,n){var r=e("../internals/global"),i=e("../internals/create-non-enumerable-property"),s=e("../internals/has"),o=e("../internals/set-global"),a=e("../internals/inspect-source"),c=e("../internals/internal-state"),l=c.get,u=c.enforce,h=String(String).split("String");(t.exports=function(e,t,n,a){var c=!!a&&!!a.unsafe,l=!!a&&!!a.enumerable,d=!!a&&!!a.noTargetGet;"function"==typeof n&&("string"!=typeof t||s(n,"name")||i(n,"name",t),u(n).source=h.join("string"==typeof t?t:"")),e!==r?(c?!d&&e[t]&&(l=!0):delete e[t],l?e[t]=n:i(e,t,n)):l?e[t]=n:o(t,n)})(Function.prototype,"toString",function(){return"function"==typeof this&&l(this).source||a(this)})},{"../internals/create-non-enumerable-property":236,"../internals/global":251,"../internals/has":252,"../internals/inspect-source":258,"../internals/internal-state":259,"../internals/set-global":296}],295:[function(e,t,n){t.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},{}],296:[function(e,t,n){var r=e("../internals/global"),i=e("../internals/create-non-enumerable-property");t.exports=function(e,t){try{i(r,e,t)}catch(n){r[e]=t}return t}},{"../internals/create-non-enumerable-property":236,"../internals/global":251}],297:[function(e,t,n){"use strict";var r=e("../internals/get-built-in"),i=e("../internals/object-define-property"),s=e("../internals/well-known-symbol"),o=e("../internals/descriptors"),a=s("species");t.exports=function(e){var t=r(e),n=i.f;o&&t&&!t[a]&&n(t,a,{configurable:!0,get:function(){return this}})}},{"../internals/descriptors":240,"../internals/get-built-in":249,"../internals/object-define-property":278,"../internals/well-known-symbol":314}],298:[function(e,t,n){var r=e("../internals/object-define-property").f,i=e("../internals/has"),s=e("../internals/well-known-symbol")("toStringTag");t.exports=function(e,t,n){e&&!i(e=n?e:e.prototype,s)&&r(e,s,{configurable:!0,value:t})}},{"../internals/has":252,"../internals/object-define-property":278,"../internals/well-known-symbol":314}],299:[function(e,t,n){var r=e("../internals/shared"),i=e("../internals/uid"),s=r("keys");t.exports=function(e){return s[e]||(s[e]=i(e))}},{"../internals/shared":301,"../internals/uid":311}],300:[function(e,t,n){var r=e("../internals/global"),i=e("../internals/set-global"),s=r["__core-js_shared__"]||i("__core-js_shared__",{});t.exports=s},{"../internals/global":251,"../internals/set-global":296}],301:[function(e,t,n){var r=e("../internals/is-pure"),i=e("../internals/shared-store");(t.exports=function(e,t){return i[e]||(i[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.6.5",mode:r?"pure":"global",copyright:"\xa9 2020 Denis Pushkarev (zloirock.ru)"})},{"../internals/is-pure":264,"../internals/shared-store":300}],302:[function(e,t,n){var r=e("../internals/an-object"),i=e("../internals/a-function"),s=e("../internals/well-known-symbol")("species");t.exports=function(e,t){var n,o=r(e).constructor;return void 0===o||null==(n=r(o)[s])?t:i(n)}},{"../internals/a-function":219,"../internals/an-object":223,"../internals/well-known-symbol":314}],303:[function(e,t,n){var r,i,s,o=e("../internals/global"),a=e("../internals/fails"),c=e("../internals/classof-raw"),l=e("../internals/function-bind-context"),u=e("../internals/html"),h=e("../internals/document-create-element"),d=e("../internals/engine-is-ios"),f=o.location,p=o.setImmediate,m=o.clearImmediate,g=o.process,v=o.MessageChannel,y=o.Dispatch,b=0,_={},w=function(e){if(_.hasOwnProperty(e)){var t=_[e];delete _[e],t()}},S=function(e){return function(){w(e)}},x=function(e){w(e.data)},O=function(e){o.postMessage(e+"",f.protocol+"//"+f.host)};p&&m||(p=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return _[++b]=function(){("function"==typeof e?e:Function(e)).apply(void 0,t)},r(b),b},m=function(e){delete _[e]},"process"==c(g)?r=function(e){g.nextTick(S(e))}:y&&y.now?r=function(e){y.now(S(e))}:v&&!d?(s=(i=new v).port2,i.port1.onmessage=x,r=l(s.postMessage,s,1)):!o.addEventListener||"function"!=typeof postMessage||o.importScripts||a(O)||"file:"===f.protocol?r="onreadystatechange"in h("script")?function(e){u.appendChild(h("script")).onreadystatechange=function(){u.removeChild(this),w(e)}}:function(e){setTimeout(S(e),0)}:(r=O,o.addEventListener("message",x,!1))),t.exports={set:p,clear:m}},{"../internals/classof-raw":230,"../internals/document-create-element":241,"../internals/engine-is-ios":242,"../internals/fails":247,"../internals/function-bind-context":248,"../internals/global":251,"../internals/html":255}],304:[function(e,t,n){var r=e("../internals/to-integer"),i=Math.max,s=Math.min;t.exports=function(e,t){var n=r(e);return n<0?i(n+t,0):s(n,t)}},{"../internals/to-integer":306}],305:[function(e,t,n){var r=e("../internals/indexed-object"),i=e("../internals/require-object-coercible");t.exports=function(e){return r(i(e))}},{"../internals/indexed-object":257,"../internals/require-object-coercible":295}],306:[function(e,t,n){var r=Math.ceil,i=Math.floor;t.exports=function(e){return isNaN(e=+e)?0:(e>0?i:r)(e)}},{}],307:[function(e,t,n){var r=e("../internals/to-integer"),i=Math.min;t.exports=function(e){return e>0?i(r(e),9007199254740991):0}},{"../internals/to-integer":306}],308:[function(e,t,n){var r=e("../internals/require-object-coercible");t.exports=function(e){return Object(r(e))}},{"../internals/require-object-coercible":295}],309:[function(e,t,n){var r=e("../internals/is-object");t.exports=function(e,t){if(!r(e))return e;var n,i;if(t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;if("function"==typeof(n=e.valueOf)&&!r(i=n.call(e)))return i;if(!t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;throw TypeError("Can't convert object to primitive value")}},{"../internals/is-object":263}],310:[function(e,t,n){var r={};r[e("../internals/well-known-symbol")("toStringTag")]="z",t.exports="[object z]"===String(r)},{"../internals/well-known-symbol":314}],311:[function(e,t,n){var r=0,i=Math.random();t.exports=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++r+i).toString(36)}},{}],312:[function(e,t,n){var r=e("../internals/native-symbol");t.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},{"../internals/native-symbol":271}],313:[function(e,t,n){var r=e("../internals/well-known-symbol");n.f=r},{"../internals/well-known-symbol":314}],314:[function(e,t,n){var r=e("../internals/global"),i=e("../internals/shared"),s=e("../internals/has"),o=e("../internals/uid"),a=e("../internals/native-symbol"),c=e("../internals/use-symbol-as-uid"),l=i("wks"),u=r.Symbol,h=c?u:u&&u.withoutSetter||o;t.exports=function(e){return s(l,e)||(a&&s(u,e)?l[e]=u[e]:l[e]=h("Symbol."+e)),l[e]}},{"../internals/global":251,"../internals/has":252,"../internals/native-symbol":271,"../internals/shared":301,"../internals/uid":311,"../internals/use-symbol-as-uid":312}],315:[function(e,t,n){"use strict";var r=e("../internals/export"),i=e("../internals/array-iteration").findIndex,s=e("../internals/add-to-unscopables"),o=e("../internals/array-method-uses-to-length"),a=!0,c=o("findIndex");"findIndex"in[]&&Array(1).findIndex(function(){a=!1}),r({target:"Array",proto:!0,forced:a||!c},{findIndex:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),s("findIndex")},{"../internals/add-to-unscopables":221,"../internals/array-iteration":225,"../internals/array-method-uses-to-length":226,"../internals/export":246}],316:[function(e,t,n){"use strict";var r=e("../internals/export"),i=e("../internals/array-iteration").find,s=e("../internals/add-to-unscopables"),o=e("../internals/array-method-uses-to-length"),a=!0,c=o("find");"find"in[]&&Array(1).find(function(){a=!1}),r({target:"Array",proto:!0,forced:a||!c},{find:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),s("find")},{"../internals/add-to-unscopables":221,"../internals/array-iteration":225,"../internals/array-method-uses-to-length":226,"../internals/export":246}],317:[function(e,t,n){"use strict";var r=e("../internals/export"),i=e("../internals/array-includes").includes,s=e("../internals/add-to-unscopables");r({target:"Array",proto:!0,forced:!e("../internals/array-method-uses-to-length")("indexOf",{ACCESSORS:!0,1:0})},{includes:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),s("includes")},{"../internals/add-to-unscopables":221,"../internals/array-includes":224,"../internals/array-method-uses-to-length":226,"../internals/export":246}],318:[function(e,t,n){"use strict";var r=e("../internals/to-indexed-object"),i=e("../internals/add-to-unscopables"),s=e("../internals/iterators"),o=e("../internals/internal-state"),a=e("../internals/define-iterator"),c=o.set,l=o.getterFor("Array Iterator");t.exports=a(Array,"Array",function(e,t){c(this,{type:"Array Iterator",target:r(e),index:0,kind:t})},function(){var e=l(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}},"values"),s.Arguments=s.Array,i("keys"),i("values"),i("entries")},{"../internals/add-to-unscopables":221,"../internals/define-iterator":238,"../internals/internal-state":259,"../internals/iterators":268,"../internals/to-indexed-object":305}],319:[function(e,t,n){e("../internals/export")({target:"Number",stat:!0},{isNaN:function(e){return e!=e}})},{"../internals/export":246}],320:[function(e,t,n){var r=e("../internals/export"),i=e("../internals/object-assign");r({target:"Object",stat:!0,forced:Object.assign!==i},{assign:i})},{"../internals/export":246,"../internals/object-assign":275}],321:[function(e,t,n){var r=e("../internals/export"),i=e("../internals/to-object"),s=e("../internals/object-keys");r({target:"Object",stat:!0,forced:e("../internals/fails")(function(){s(1)})},{keys:function(e){return s(i(e))}})},{"../internals/export":246,"../internals/fails":247,"../internals/object-keys":285,"../internals/to-object":308}],322:[function(e,t,n){var r=e("../internals/export"),i=e("../internals/object-to-array").values;r({target:"Object",stat:!0},{values:function(e){return i(e)}})},{"../internals/export":246,"../internals/object-to-array":288}],323:[function(e,t,n){"use strict";var r,i,s,o,a=e("../internals/export"),c=e("../internals/is-pure"),l=e("../internals/global"),u=e("../internals/get-built-in"),h=e("../internals/native-promise-constructor"),d=e("../internals/redefine"),f=e("../internals/redefine-all"),p=e("../internals/set-to-string-tag"),m=e("../internals/set-species"),g=e("../internals/is-object"),v=e("../internals/a-function"),y=e("../internals/an-instance"),b=e("../internals/classof-raw"),_=e("../internals/inspect-source"),w=e("../internals/iterate"),S=e("../internals/check-correctness-of-iteration"),x=e("../internals/species-constructor"),O=e("../internals/task").set,k=e("../internals/microtask"),C=e("../internals/promise-resolve"),M=e("../internals/host-report-errors"),E=e("../internals/new-promise-capability"),T=e("../internals/perform"),j=e("../internals/internal-state"),D=e("../internals/is-forced"),A=e("../internals/well-known-symbol"),L=e("../internals/engine-v8-version"),z=A("species"),P="Promise",I=j.get,R=j.set,N=j.getterFor(P),H=h,F=l.TypeError,V=l.document,B=l.process,Y=u("fetch"),U=E.f,W=U,q="process"==b(B),$=!!(V&&V.createEvent&&l.dispatchEvent),G=D(P,function(){if(_(H)===String(H)){if(66===L)return!0;if(!q&&"function"!=typeof PromiseRejectionEvent)return!0}if(c&&!H.prototype.finally)return!0;if(L>=51&&/native code/.test(H))return!1;var e=H.resolve(1),t=function(e){e(function(){},function(){})};return(e.constructor={})[z]=t,!(e.then(function(){})instanceof t)}),X=G||!S(function(e){H.all(e).catch(function(){})}),K=function(e){var t;return!(!g(e)||"function"!=typeof(t=e.then))&&t},J=function(e,t,n){if(!t.notified){t.notified=!0;var r=t.reactions;k(function(){for(var i=t.value,s=1==t.state,o=0;r.length>o;){var a,c,l,u=r[o++],h=s?u.ok:u.fail,d=u.resolve,f=u.reject,p=u.domain;try{h?(s||(2===t.rejection&&te(e,t),t.rejection=1),!0===h?a=i:(p&&p.enter(),a=h(i),p&&(p.exit(),l=!0)),a===u.promise?f(F("Promise-chain cycle")):(c=K(a))?c.call(a,d,f):d(a)):f(i)}catch(e){p&&!l&&p.exit(),f(e)}}t.reactions=[],t.notified=!1,n&&!t.rejection&&Z(e,t)})}},Q=function(e,t,n){var r,i;$?((r=V.createEvent("Event")).promise=t,r.reason=n,r.initEvent(e,!1,!0),l.dispatchEvent(r)):r={promise:t,reason:n},(i=l["on"+e])?i(r):"unhandledrejection"===e&&M("Unhandled promise rejection",n)},Z=function(e,t){O.call(l,function(){var n,r=t.value;if(ee(t)&&(n=T(function(){q?B.emit("unhandledRejection",r,e):Q("unhandledrejection",e,r)}),t.rejection=q||ee(t)?2:1,n.error))throw n.value})},ee=function(e){return 1!==e.rejection&&!e.parent},te=function(e,t){O.call(l,function(){q?B.emit("rejectionHandled",e):Q("rejectionhandled",e,t.value)})},ne=function(e,t,n,r){return function(i){e(t,n,i,r)}},re=function(e,t,n,r){t.done||(t.done=!0,r&&(t=r),t.value=n,t.state=2,J(e,t,!0))},ie=function(e,t,n,r){if(!t.done){t.done=!0,r&&(t=r);try{if(e===n)throw F("Promise can't be resolved itself");var i=K(n);i?k(function(){var r={done:!1};try{i.call(n,ne(ie,e,r,t),ne(re,e,r,t))}catch(n){re(e,r,n,t)}}):(t.value=n,t.state=1,J(e,t,!1))}catch(n){re(e,{done:!1},n,t)}}};G&&(H=function(e){y(this,H,P),v(e),r.call(this);var t=I(this);try{e(ne(ie,this,t),ne(re,this,t))}catch(e){re(this,t,e)}},(r=function(e){R(this,{type:P,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=f(H.prototype,{then:function(e,t){var n=N(this),r=U(x(this,H));return r.ok="function"!=typeof e||e,r.fail="function"==typeof t&&t,r.domain=q?B.domain:void 0,n.parent=!0,n.reactions.push(r),0!=n.state&&J(this,n,!1),r.promise},catch:function(e){return this.then(void 0,e)}}),i=function(){var e=new r,t=I(e);this.promise=e,this.resolve=ne(ie,e,t),this.reject=ne(re,e,t)},E.f=U=function(e){return e===H||e===s?new i(e):W(e)},c||"function"!=typeof h||(o=h.prototype.then,d(h.prototype,"then",function(e,t){var n=this;return new H(function(e,t){o.call(n,e,t)}).then(e,t)},{unsafe:!0}),"function"==typeof Y&&a({global:!0,enumerable:!0,forced:!0},{fetch:function(e){return C(H,Y.apply(l,arguments))}}))),a({global:!0,wrap:!0,forced:G},{Promise:H}),p(H,P,!1,!0),m(P),s=u(P),a({target:P,stat:!0,forced:G},{reject:function(e){var t=U(this);return t.reject.call(void 0,e),t.promise}}),a({target:P,stat:!0,forced:c||G},{resolve:function(e){return C(c&&this===s?H:this,e)}}),a({target:P,stat:!0,forced:X},{all:function(e){var t=this,n=U(t),r=n.resolve,i=n.reject,s=T(function(){var n=v(t.resolve),s=[],o=0,a=1;w(e,function(e){var c=o++,l=!1;s.push(void 0),a++,n.call(t,e).then(function(e){l||(l=!0,s[c]=e,--a||r(s))},i)}),--a||r(s)});return s.error&&i(s.value),n.promise},race:function(e){var t=this,n=U(t),r=n.reject,i=T(function(){var i=v(t.resolve);w(e,function(e){i.call(t,e).then(n.resolve,r)})});return i.error&&r(i.value),n.promise}})},{"../internals/a-function":219,"../internals/an-instance":222,"../internals/check-correctness-of-iteration":229,"../internals/classof-raw":230,"../internals/engine-v8-version":244,"../internals/export":246,"../internals/get-built-in":249,"../internals/global":251,"../internals/host-report-errors":254,"../internals/inspect-source":258,"../internals/internal-state":259,"../internals/is-forced":262,"../internals/is-object":263,"../internals/is-pure":264,"../internals/iterate":266,"../internals/microtask":269,"../internals/native-promise-constructor":270,"../internals/new-promise-capability":273,"../internals/perform":291,"../internals/promise-resolve":292,"../internals/redefine":294,"../internals/redefine-all":293,"../internals/set-species":297,"../internals/set-to-string-tag":298,"../internals/species-constructor":302,"../internals/task":303,"../internals/well-known-symbol":314}],324:[function(e,t,n){var r=e("../internals/export"),i=e("../internals/to-absolute-index"),s=String.fromCharCode,o=String.fromCodePoint;r({target:"String",stat:!0,forced:!!o&&1!=o.length},{fromCodePoint:function(e){for(var t,n=[],r=arguments.length,o=0;r>o;){if(t=+arguments[o++],i(t,1114111)!==t)throw RangeError(t+" is not a valid code point");n.push(t<65536?s(t):s(55296+((t-=65536)>>10),t%1024+56320))}return n.join("")}})},{"../internals/export":246,"../internals/to-absolute-index":304}],325:[function(e,t,n){"use strict";var r=e("../internals/export"),i=e("../internals/not-a-regexp"),s=e("../internals/require-object-coercible");r({target:"String",proto:!0,forced:!e("../internals/correct-is-regexp-logic")("includes")},{includes:function(e){return!!~String(s(this)).indexOf(i(e),arguments.length>1?arguments[1]:void 0)}})},{"../internals/correct-is-regexp-logic":233,"../internals/export":246,"../internals/not-a-regexp":274,"../internals/require-object-coercible":295}],326:[function(e,t,n){e("../internals/define-well-known-symbol")("asyncIterator")},{"../internals/define-well-known-symbol":239}],327:[function(e,t,n){"use strict";var r=e("../internals/export"),i=e("../internals/global"),s=e("../internals/get-built-in"),o=e("../internals/is-pure"),a=e("../internals/descriptors"),c=e("../internals/native-symbol"),l=e("../internals/use-symbol-as-uid"),u=e("../internals/fails"),h=e("../internals/has"),d=e("../internals/is-array"),f=e("../internals/is-object"),p=e("../internals/an-object"),m=e("../internals/to-object"),g=e("../internals/to-indexed-object"),v=e("../internals/to-primitive"),y=e("../internals/create-property-descriptor"),b=e("../internals/object-create"),_=e("../internals/object-keys"),w=e("../internals/object-get-own-property-names"),S=e("../internals/object-get-own-property-names-external"),x=e("../internals/object-get-own-property-symbols"),O=e("../internals/object-get-own-property-descriptor"),k=e("../internals/object-define-property"),C=e("../internals/object-property-is-enumerable"),M=e("../internals/create-non-enumerable-property"),E=e("../internals/redefine"),T=e("../internals/shared"),j=e("../internals/shared-key"),D=e("../internals/hidden-keys"),A=e("../internals/uid"),L=e("../internals/well-known-symbol"),z=e("../internals/well-known-symbol-wrapped"),P=e("../internals/define-well-known-symbol"),I=e("../internals/set-to-string-tag"),R=e("../internals/internal-state"),N=e("../internals/array-iteration").forEach,H=j("hidden"),F=L("toPrimitive"),V=R.set,B=R.getterFor("Symbol"),Y=Object.prototype,U=i.Symbol,W=s("JSON","stringify"),q=O.f,$=k.f,G=S.f,X=C.f,K=T("symbols"),J=T("op-symbols"),Q=T("string-to-symbol-registry"),Z=T("symbol-to-string-registry"),ee=T("wks"),te=i.QObject,ne=!te||!te.prototype||!te.prototype.findChild,re=a&&u(function(){return 7!=b($({},"a",{get:function(){return $(this,"a",{value:7}).a}})).a})?function(e,t,n){var r=q(Y,t);r&&delete Y[t],$(e,t,n),r&&e!==Y&&$(Y,t,r)}:$,ie=function(e,t){var n=K[e]=b(U.prototype);return V(n,{type:"Symbol",tag:e,description:t}),a||(n.description=t),n},se=l?function(e){return"symbol"==typeof e}:function(e){return Object(e)instanceof U},oe=function(e,t,n){e===Y&&oe(J,t,n),p(e);var r=v(t,!0);return p(n),h(K,r)?(n.enumerable?(h(e,H)&&e[H][r]&&(e[H][r]=!1),n=b(n,{enumerable:y(0,!1)})):(h(e,H)||$(e,H,y(1,{})),e[H][r]=!0),re(e,r,n)):$(e,r,n)},ae=function(e,t){p(e);var n=g(t),r=_(n).concat(he(n));return N(r,function(t){a&&!ce.call(n,t)||oe(e,t,n[t])}),e},ce=function(e){var t=v(e,!0),n=X.call(this,t);return!(this===Y&&h(K,t)&&!h(J,t))&&(!(n||!h(this,t)||!h(K,t)||h(this,H)&&this[H][t])||n)},le=function(e,t){var n=g(e),r=v(t,!0);if(n!==Y||!h(K,r)||h(J,r)){var i=q(n,r);return!i||!h(K,r)||h(n,H)&&n[H][r]||(i.enumerable=!0),i}},ue=function(e){var t=G(g(e)),n=[];return N(t,function(e){h(K,e)||h(D,e)||n.push(e)}),n},he=function(e){var t=e===Y,n=G(t?J:g(e)),r=[];return N(n,function(e){!h(K,e)||t&&!h(Y,e)||r.push(K[e])}),r};c||(E((U=function(){if(this instanceof U)throw TypeError("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,t=A(e),n=function(e){this===Y&&n.call(J,e),h(this,H)&&h(this[H],t)&&(this[H][t]=!1),re(this,t,y(1,e))};return a&&ne&&re(Y,t,{configurable:!0,set:n}),ie(t,e)}).prototype,"toString",function(){return B(this).tag}),E(U,"withoutSetter",function(e){return ie(A(e),e)}),C.f=ce,k.f=oe,O.f=le,w.f=S.f=ue,x.f=he,z.f=function(e){return ie(L(e),e)},a&&($(U.prototype,"description",{configurable:!0,get:function(){return B(this).description}}),o||E(Y,"propertyIsEnumerable",ce,{unsafe:!0}))),r({global:!0,wrap:!0,forced:!c,sham:!c},{Symbol:U}),N(_(ee),function(e){P(e)}),r({target:"Symbol",stat:!0,forced:!c},{for:function(e){var t=String(e);if(h(Q,t))return Q[t];var n=U(t);return Q[t]=n,Z[n]=t,n},keyFor:function(e){if(!se(e))throw TypeError(e+" is not a symbol");if(h(Z,e))return Z[e]},useSetter:function(){ne=!0},useSimple:function(){ne=!1}}),r({target:"Object",stat:!0,forced:!c,sham:!a},{create:function(e,t){return void 0===t?b(e):ae(b(e),t)},defineProperty:oe,defineProperties:ae,getOwnPropertyDescriptor:le}),r({target:"Object",stat:!0,forced:!c},{getOwnPropertyNames:ue,getOwnPropertySymbols:he}),r({target:"Object",stat:!0,forced:u(function(){x.f(1)})},{getOwnPropertySymbols:function(e){return x.f(m(e))}}),W&&r({target:"JSON",stat:!0,forced:!c||u(function(){var e=U();return"[null]"!=W([e])||"{}"!=W({a:e})||"{}"!=W(Object(e))})},{stringify:function(e,t,n){for(var r,i=[e],s=1;arguments.length>s;)i.push(arguments[s++]);if(r=t,(f(t)||void 0!==e)&&!se(e))return d(t)||(t=function(e,t){if("function"==typeof r&&(t=r.call(this,e,t)),!se(t))return t}),i[1]=t,W.apply(null,i)}}),U.prototype[F]||M(U.prototype,F,U.prototype.valueOf),I(U,"Symbol"),D[H]=!0},{"../internals/an-object":223,"../internals/array-iteration":225,"../internals/create-non-enumerable-property":236,"../internals/create-property-descriptor":237,"../internals/define-well-known-symbol":239,"../internals/descriptors":240,"../internals/export":246,"../internals/fails":247,"../internals/get-built-in":249,"../internals/global":251,"../internals/has":252,"../internals/hidden-keys":253,"../internals/internal-state":259,"../internals/is-array":261,"../internals/is-object":263,"../internals/is-pure":264,"../internals/native-symbol":271,"../internals/object-create":276,"../internals/object-define-property":278,"../internals/object-get-own-property-descriptor":279,"../internals/object-get-own-property-names":281,"../internals/object-get-own-property-names-external":280,"../internals/object-get-own-property-symbols":282,"../internals/object-keys":285,"../internals/object-property-is-enumerable":286,"../internals/redefine":294,"../internals/set-to-string-tag":298,"../internals/shared":301,"../internals/shared-key":299,"../internals/to-indexed-object":305,"../internals/to-object":308,"../internals/to-primitive":309,"../internals/uid":311,"../internals/use-symbol-as-uid":312,"../internals/well-known-symbol":314,"../internals/well-known-symbol-wrapped":313}],328:[function(e,t,n){(function(e){"use strict";function t(e){return(t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function r(e){return Object.prototype.toString.call(e)}n.isArray=function(e){return Array.isArray?Array.isArray(e):"[object Array]"===r(e)},n.isBoolean=function(e){return"boolean"==typeof e},n.isNull=function(e){return null===e},n.isNullOrUndefined=function(e){return null==e},n.isNumber=function(e){return"number"==typeof e},n.isString=function(e){return"string"==typeof e},n.isSymbol=function(e){return"symbol"===t(e)},n.isUndefined=function(e){return void 0===e},n.isRegExp=function(e){return"[object RegExp]"===r(e)},n.isObject=function(e){return"object"===t(e)&&null!==e},n.isDate=function(e){return"[object Date]"===r(e)},n.isError=function(e){return"[object Error]"===r(e)||e instanceof Error},n.isFunction=function(e){return"function"==typeof e},n.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"===t(e)||void 0===e},n.isBuffer=e.isBuffer}).call(this,{isBuffer:e("../../is-buffer/index.js")})},{"../../is-buffer/index.js":388}],329:[function(e,t,n){(function(n){"use strict";var r=e("elliptic"),i=e("bn.js");t.exports=function(e){return new o(e)};var s={secp256k1:{name:"secp256k1",byteLength:32},secp224r1:{name:"p224",byteLength:28},prime256v1:{name:"p256",byteLength:32},prime192v1:{name:"p192",byteLength:24},ed25519:{name:"ed25519",byteLength:32},secp384r1:{name:"p384",byteLength:48},secp521r1:{name:"p521",byteLength:66}};function o(e){this.curveType=s[e],this.curveType||(this.curveType={name:e}),this.curve=new r.ec(this.curveType.name),this.keys=void 0}function a(e,t,r){Array.isArray(e)||(e=e.toArray());var i=new n(e);if(r&&i.length<r){var s=new n(r-i.length);s.fill(0),i=n.concat([s,i])}return t?i.toString(t):i}s.p224=s.secp224r1,s.p256=s.secp256r1=s.prime256v1,s.p192=s.secp192r1=s.prime192v1,s.p384=s.secp384r1,s.p521=s.secp521r1,o.prototype.generateKeys=function(e,t){return this.keys=this.curve.genKeyPair(),this.getPublicKey(e,t)},o.prototype.computeSecret=function(e,t,r){return t=t||"utf8",n.isBuffer(e)||(e=new n(e,t)),a(this.curve.keyFromPublic(e).getPublic().mul(this.keys.getPrivate()).getX(),r,this.curveType.byteLength)},o.prototype.getPublicKey=function(e,t){var n=this.keys.getPublic("compressed"===t,!0);return"hybrid"===t&&(n[n.length-1]%2?n[0]=7:n[0]=6),a(n,e)},o.prototype.getPrivateKey=function(e){return a(this.keys.getPrivate(),e)},o.prototype.setPublicKey=function(e,t){return t=t||"utf8",n.isBuffer(e)||(e=new n(e,t)),this.keys._importPublic(e),this},o.prototype.setPrivateKey=function(e,t){t=t||"utf8",n.isBuffer(e)||(e=new n(e,t));var r=new i(e);return r=r.toString(16),this.keys=this.curve.genKeyPair(),this.keys._importPrivate(r),this}}).call(this,e("buffer").Buffer)},{"bn.js":330,buffer:216,elliptic:350}],330:[function(e,t,n){arguments[4][181][0].apply(n,arguments)},{buffer:185,dup:181}],331:[function(e,t,n){"use strict";var r=e("inherits"),i=e("md5.js"),s=e("ripemd160"),o=e("sha.js"),a=e("cipher-base");function c(e){a.call(this,"digest"),this._hash=e}r(c,a),c.prototype._update=function(e){this._hash.update(e)},c.prototype._final=function(){return this._hash.digest()},t.exports=function(e){return"md5"===(e=e.toLowerCase())?new i:"rmd160"===e||"ripemd160"===e?new s:new c(o(e))}},{"cipher-base":218,inherits:387,"md5.js":434,ripemd160:493,"sha.js":499}],332:[function(e,t,n){"use strict";var r=e("md5.js");t.exports=function(e){return(new r).update(e).digest()}},{"md5.js":434}],333:[function(e,t,n){"use strict";var r=e("inherits"),i=e("./legacy"),s=e("cipher-base"),o=e("safe-buffer").Buffer,a=e("create-hash/md5"),c=e("ripemd160"),l=e("sha.js"),u=o.alloc(128);function h(e,t){s.call(this,"digest"),"string"==typeof t&&(t=o.from(t));var n="sha512"===e||"sha384"===e?128:64;this._alg=e,this._key=t,t.length>n?t=("rmd160"===e?new c:l(e)).update(t).digest():t.length<n&&(t=o.concat([t,u],n));for(var r=this._ipad=o.allocUnsafe(n),i=this._opad=o.allocUnsafe(n),a=0;a<n;a++)r[a]=54^t[a],i[a]=92^t[a];this._hash="rmd160"===e?new c:l(e),this._hash.update(r)}r(h,s),h.prototype._update=function(e){this._hash.update(e)},h.prototype._final=function(){var e=this._hash.digest();return("rmd160"===this._alg?new c:l(this._alg)).update(this._opad).update(e).digest()},t.exports=function(e,t){return"rmd160"===(e=e.toLowerCase())||"ripemd160"===e?new h("rmd160",t):"md5"===e?new i(a,t):new h(e,t)}},{"./legacy":334,"cipher-base":218,"create-hash/md5":332,inherits:387,ripemd160:493,"safe-buffer":494,"sha.js":499}],334:[function(e,t,n){"use strict";var r=e("inherits"),i=e("safe-buffer").Buffer,s=e("cipher-base"),o=i.alloc(128);function a(e,t){s.call(this,"digest"),"string"==typeof t&&(t=i.from(t)),this._alg=e,this._key=t,t.length>64?t=e(t):t.length<64&&(t=i.concat([t,o],64));for(var n=this._ipad=i.allocUnsafe(64),r=this._opad=i.allocUnsafe(64),a=0;a<64;a++)n[a]=54^t[a],r[a]=92^t[a];this._hash=[n]}r(a,s),a.prototype._update=function(e){this._hash.push(e)},a.prototype._final=function(){var e=this._alg(i.concat(this._hash));return this._alg(i.concat([this._opad,e]))},t.exports=a},{"cipher-base":218,inherits:387,"safe-buffer":494}],335:[function(e,t,n){"use strict";n.randomBytes=n.rng=n.pseudoRandomBytes=n.prng=e("randombytes"),n.createHash=n.Hash=e("create-hash"),n.createHmac=n.Hmac=e("create-hmac");var r=e("browserify-sign/algos"),i=Object.keys(r),s=["sha1","sha224","sha256","sha384","sha512","md5","rmd160"].concat(i);n.getHashes=function(){return s};var o=e("pbkdf2");n.pbkdf2=o.pbkdf2,n.pbkdf2Sync=o.pbkdf2Sync;var a=e("browserify-cipher");n.Cipher=a.Cipher,n.createCipher=a.createCipher,n.Cipheriv=a.Cipheriv,n.createCipheriv=a.createCipheriv,n.Decipher=a.Decipher,n.createDecipher=a.createDecipher,n.Decipheriv=a.Decipheriv,n.createDecipheriv=a.createDecipheriv,n.getCiphers=a.getCiphers,n.listCiphers=a.listCiphers;var c=e("diffie-hellman");n.DiffieHellmanGroup=c.DiffieHellmanGroup,n.createDiffieHellmanGroup=c.createDiffieHellmanGroup,n.getDiffieHellman=c.getDiffieHellman,n.createDiffieHellman=c.createDiffieHellman,n.DiffieHellman=c.DiffieHellman;var l=e("browserify-sign");n.createSign=l.createSign,n.Sign=l.Sign,n.createVerify=l.createVerify,n.Verify=l.Verify,n.createECDH=e("create-ecdh");var u=e("public-encrypt");n.publicEncrypt=u.publicEncrypt,n.privateEncrypt=u.privateEncrypt,n.publicDecrypt=u.publicDecrypt,n.privateDecrypt=u.privateDecrypt;var h=e("randomfill");n.randomFill=h.randomFill,n.randomFillSync=h.randomFillSync,n.createCredentials=function(){throw new Error(["sorry, createCredentials is not implemented yet","we accept pull requests","https://github.com/crypto-browserify/crypto-browserify"].join("\n"))},n.constants={DH_CHECK_P_NOT_SAFE_PRIME:2,DH_CHECK_P_NOT_PRIME:1,DH_UNABLE_TO_CHECK_GENERATOR:4,DH_NOT_SUITABLE_GENERATOR:8,NPN_ENABLED:1,ALPN_ENABLED:1,RSA_PKCS1_PADDING:1,RSA_SSLV23_PADDING:2,RSA_NO_PADDING:3,RSA_PKCS1_OAEP_PADDING:4,RSA_X931_PADDING:5,RSA_PKCS1_PSS_PADDING:6,POINT_CONVERSION_COMPRESSED:2,POINT_CONVERSION_UNCOMPRESSED:4,POINT_CONVERSION_HYBRID:6}},{"browserify-cipher":203,"browserify-sign":211,"browserify-sign/algos":208,"create-ecdh":329,"create-hash":331,"create-hmac":333,"diffie-hellman":345,pbkdf2:460,"public-encrypt":468,randombytes:475,randomfill:476}],336:[function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var i;i=function(){var e="millisecond",t="second",n="minute",i="hour",s="day",o="week",a="month",c="quarter",l="year",u="date",h=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[^0-9]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?.?(\d+)?$/,d=/\[([^\]]+)]|Y{2,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,f=function(e,t,n){var r=String(e);return!r||r.length>=t?e:""+Array(t+1-r.length).join(n)+e},p={s:f,z:function(e){var t=-e.utcOffset(),n=Math.abs(t),r=Math.floor(n/60),i=n%60;return(t<=0?"+":"-")+f(r,2,"0")+":"+f(i,2,"0")},m:function e(t,n){if(t.date()<n.date())return-e(n,t);var r=12*(n.year()-t.year())+(n.month()-t.month()),i=t.add(r,a),s=n-i<0,o=t.add(r+(s?-1:1),a);return+(-(r+(n-i)/(s?i-o:o-i))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(r){return{M:a,y:l,w:o,d:s,D:u,h:i,m:n,s:t,ms:e,Q:c}[r]||String(r||"").toLowerCase().replace(/s$/,"")},u:function(e){return void 0===e}},m={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_")},g="en",v={};v[g]=m;var y=function(e){return e instanceof S},b=function(e,t,n){var r;if(!e)return g;if("string"==typeof e)v[e]&&(r=e),t&&(v[e]=t,r=e);else{var i=e.name;v[i]=e,r=i}return!n&&r&&(g=r),r||!n&&g},_=function(e,t){if(y(e))return e.clone();var n="object"==r(t)?t:{};return n.date=e,n.args=arguments,new S(n)},w=p;w.l=b,w.i=y,w.w=function(e,t){return _(e,{locale:t.$L,utc:t.$u,$offset:t.$offset})};var S=function(){function r(e){this.$L=this.$L||b(e.locale,null,!0),this.parse(e)}var f=r.prototype;return f.parse=function(e){this.$d=function(e){var t=e.date,n=e.utc;if(null===t)return new Date(NaN);if(w.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var r=t.match(h);if(r){var i=r[2]-1||0,s=(r[7]||"0").substring(0,3);return n?new Date(Date.UTC(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,s)):new Date(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,s)}}return new Date(t)}(e),this.init()},f.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},f.$utils=function(){return w},f.isValid=function(){return!("Invalid Date"===this.$d.toString())},f.isSame=function(e,t){var n=_(e);return this.startOf(t)<=n&&n<=this.endOf(t)},f.isAfter=function(e,t){return _(e)<this.startOf(t)},f.isBefore=function(e,t){return this.endOf(t)<_(e)},f.$g=function(e,t,n){return w.u(e)?this[t]:this.set(n,e)},f.unix=function(){return Math.floor(this.valueOf()/1e3)},f.valueOf=function(){return this.$d.getTime()},f.startOf=function(e,r){var c=this,h=!!w.u(r)||r,d=w.p(e),f=function(e,t){var n=w.w(c.$u?Date.UTC(c.$y,t,e):new Date(c.$y,t,e),c);return h?n:n.endOf(s)},p=function(e,t){return w.w(c.toDate()[e].apply(c.toDate("s"),(h?[0,0,0,0]:[23,59,59,999]).slice(t)),c)},m=this.$W,g=this.$M,v=this.$D,y="set"+(this.$u?"UTC":"");switch(d){case l:return h?f(1,0):f(31,11);case a:return h?f(1,g):f(0,g+1);case o:var b=this.$locale().weekStart||0,_=(m<b?m+7:m)-b;return f(h?v-_:v+(6-_),g);case s:case u:return p(y+"Hours",0);case i:return p(y+"Minutes",1);case n:return p(y+"Seconds",2);case t:return p(y+"Milliseconds",3);default:return this.clone()}},f.endOf=function(e){return this.startOf(e,!1)},f.$set=function(r,o){var c,h=w.p(r),d="set"+(this.$u?"UTC":""),f=(c={},c[s]=d+"Date",c[u]=d+"Date",c[a]=d+"Month",c[l]=d+"FullYear",c[i]=d+"Hours",c[n]=d+"Minutes",c[t]=d+"Seconds",c[e]=d+"Milliseconds",c)[h],p=h===s?this.$D+(o-this.$W):o;if(h===a||h===l){var m=this.clone().set(u,1);m.$d[f](p),m.init(),this.$d=m.set(u,Math.min(this.$D,m.daysInMonth())).$d}else f&&this.$d[f](p);return this.init(),this},f.set=function(e,t){return this.clone().$set(e,t)},f.get=function(e){return this[w.p(e)]()},f.add=function(e,r){var c,u=this;e=Number(e);var h=w.p(r),d=function(t){var n=_(u);return w.w(n.date(n.date()+Math.round(t*e)),u)};if(h===a)return this.set(a,this.$M+e);if(h===l)return this.set(l,this.$y+e);if(h===s)return d(1);if(h===o)return d(7);var f=(c={},c[n]=6e4,c[i]=36e5,c[t]=1e3,c)[h]||1,p=this.$d.getTime()+e*f;return w.w(p,this)},f.subtract=function(e,t){return this.add(-1*e,t)},f.format=function(e){var t=this;if(!this.isValid())return"Invalid Date";var n=e||"YYYY-MM-DDTHH:mm:ssZ",r=w.z(this),i=this.$locale(),s=this.$H,o=this.$m,a=this.$M,c=i.weekdays,l=i.months,u=function(e,r,i,s){return e&&(e[r]||e(t,n))||i[r].substr(0,s)},h=function(e){return w.s(s%12||12,e,"0")},f=i.meridiem||function(e,t,n){var r=e<12?"AM":"PM";return n?r.toLowerCase():r},p={YY:String(this.$y).slice(-2),YYYY:this.$y,M:a+1,MM:w.s(a+1,2,"0"),MMM:u(i.monthsShort,a,l,3),MMMM:u(l,a),D:this.$D,DD:w.s(this.$D,2,"0"),d:String(this.$W),dd:u(i.weekdaysMin,this.$W,c,2),ddd:u(i.weekdaysShort,this.$W,c,3),dddd:c[this.$W],H:String(s),HH:w.s(s,2,"0"),h:h(1),hh:h(2),a:f(s,o,!0),A:f(s,o,!1),m:String(o),mm:w.s(o,2,"0"),s:String(this.$s),ss:w.s(this.$s,2,"0"),SSS:w.s(this.$ms,3,"0"),Z:r};return n.replace(d,function(e,t){return t||p[e]||r.replace(":","")})},f.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},f.diff=function(e,r,u){var h,d=w.p(r),f=_(e),p=6e4*(f.utcOffset()-this.utcOffset()),m=this-f,g=w.m(this,f);return g=(h={},h[l]=g/12,h[a]=g,h[c]=g/3,h[o]=(m-p)/6048e5,h[s]=(m-p)/864e5,h[i]=m/36e5,h[n]=m/6e4,h[t]=m/1e3,h)[d]||m,u?g:w.a(g)},f.daysInMonth=function(){return this.endOf(a).$D},f.$locale=function(){return v[this.$L]},f.locale=function(e,t){if(!e)return this.$L;var n=this.clone(),r=b(e,t,!0);return r&&(n.$L=r),n},f.clone=function(){return w.w(this.$d,this)},f.toDate=function(){return new Date(this.valueOf())},f.toJSON=function(){return this.isValid()?this.toISOString():null},f.toISOString=function(){return this.$d.toISOString()},f.toString=function(){return this.$d.toUTCString()},r}(),x=S.prototype;return _.prototype=x,[["$ms",e],["$s",t],["$m",n],["$H",i],["$W",s],["$M",a],["$y",l],["$D",u]].forEach(function(e){x[e[1]]=function(t){return this.$g(t,e[0],e[1])}}),_.extend=function(e,t){return e(t,S,_),_},_.locale=b,_.isDayjs=y,_.unix=function(e){return _(1e3*e)},_.en=v[g],_.Ls=v,_},"object"==(void 0===n?"undefined":r(n))&&void 0!==t?t.exports=i():(void 0).dayjs=i()},{}],337:[function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var i;i=function(){var e,t=/(\[[^[]*\])|([-:/.()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,n=/\d\d/,r=/\d\d?/,i=/\d*[^\s\d-:/()]+/,s=function(e){return function(t){this[e]=+t}},o=[/[+-]\d\d:?\d\d/,function(e){var t,n;(this.zone||(this.zone={})).offset=0==(n=60*(t=e.match(/([+-]|\d\d)/g))[1]+ +t[2])?0:"+"===t[0]?-n:n}],a=function(t){var n=e[t];return n&&(n.indexOf?n:n.s.concat(n.f))},c={A:[/[AP]M/,function(e){this.afternoon="PM"===e}],a:[/[ap]m/,function(e){this.afternoon="pm"===e}],S:[/\d/,function(e){this.milliseconds=100*+e}],SS:[n,function(e){this.milliseconds=10*+e}],SSS:[/\d{3}/,function(e){this.milliseconds=+e}],s:[r,s("seconds")],ss:[r,s("seconds")],m:[r,s("minutes")],mm:[r,s("minutes")],H:[r,s("hours")],h:[r,s("hours")],HH:[r,s("hours")],hh:[r,s("hours")],D:[r,s("day")],DD:[n,s("day")],Do:[i,function(t){var n=e.ordinal,r=t.match(/\d+/);if(this.day=r[0],n)for(var i=1;i<=31;i+=1)n(i).replace(/\[|\]/g,"")===t&&(this.day=i)}],M:[r,s("month")],MM:[n,s("month")],MMM:[i,function(e){var t=a("months"),n=(a("monthsShort")||t.map(function(e){return e.substr(0,3)})).indexOf(e)+1;if(n<1)throw new Error;this.month=n%12||n}],MMMM:[i,function(e){var t=a("months").indexOf(e)+1;if(t<1)throw new Error;this.month=t%12||t}],Y:[/[+-]?\d+/,s("year")],YY:[n,function(e){e=+e,this.year=e+(e>68?1900:2e3)}],YYYY:[/\d{4}/,s("year")],Z:o,ZZ:o},l=function(e,n,r){try{var i=function(e){for(var n=e.match(t),r=n.length,i=0;i<r;i+=1){var s=n[i],o=c[s],a=o&&o[0],l=o&&o[1];n[i]=l?{regex:a,parser:l}:s.replace(/^\[|\]$/g,"")}return function(e){for(var t={},i=0,s=0;i<r;i+=1){var o=n[i];if("string"==typeof o)s+=o.length;else{var a=o.regex,c=o.parser,l=e.substr(s),u=a.exec(l)[0];c.call(t,u),e=e.replace(u,"")}}return function(e){var t=e.afternoon;if(void 0!==t){var n=e.hours;t?n<12&&(e.hours+=12):12===n&&(e.hours=0),delete e.afternoon}}(t),t}}(n)(e),s=i.year,o=i.month,a=i.day,l=i.hours,u=i.minutes,h=i.seconds,d=i.milliseconds,f=i.zone,p=new Date,m=a||(s||o?1:p.getDate()),g=s||p.getFullYear(),v=0;s&&!o||(v=o>0?o-1:p.getMonth());var y=l||0,b=u||0,_=h||0,w=d||0;return f?new Date(Date.UTC(g,v,m,y,b,_,w+60*f.offset*1e3)):r?new Date(Date.UTC(g,v,m,y,b,_,w)):new Date(g,v,m,y,b,_,w)}catch(e){return new Date("")}};return function(t,n,r){var i=n.prototype,s=i.parse;i.parse=function(t){var n=t.date,i=t.utc,o=t.args;this.$u=i;var a=o[1];if("string"==typeof a){var c=!0===o[2],u=!0===o[3],h=c||u,d=o[2];u&&(d=o[2]),c||(e=d?r.Ls[d]:this.$locale()),this.$d=l(n,a,i),this.init(),d&&!0!==d&&(this.$L=this.locale(d).$L),h&&n!==this.format(a)&&(this.$d=new Date(""))}else if(a instanceof Array)for(var f=a.length,p=1;p<=f;p+=1){o[1]=a[p-1];var m=r.apply(this,o);if(m.isValid()){this.$d=m.$d,this.$L=m.$L,this.init();break}p===f&&(this.$d=new Date(""))}else s.call(this,t)}}},"object"==(void 0===n?"undefined":r(n))&&void 0!==t?t.exports=i():(void 0).dayjs_plugin_customParseFormat=i()},{}],338:[function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var i;i=function(){return function(e,t,n){var r=(new Date).getTimezoneOffset(),i=t.prototype;n.utc=function(e){return new t({date:e,utc:!0,args:arguments})},i.utc=function(){return n(this.toDate(),{locale:this.$L,utc:!0})},i.local=function(){return n(this.toDate(),{locale:this.$L,utc:!1})};var s=i.parse;i.parse=function(e){e.utc&&(this.$u=!0),this.$utils().u(e.$offset)||(this.$offset=e.$offset),s.call(this,e)};var o=i.init;i.init=function(){if(this.$u){var e=this.$d;this.$y=e.getUTCFullYear(),this.$M=e.getUTCMonth(),this.$D=e.getUTCDate(),this.$W=e.getUTCDay(),this.$H=e.getUTCHours(),this.$m=e.getUTCMinutes(),this.$s=e.getUTCSeconds(),this.$ms=e.getUTCMilliseconds()}else o.call(this)};var a=i.utcOffset;i.utcOffset=function(e,t){var n=this.$utils().u;if(n(e))return this.$u?0:n(this.$offset)?a.call(this):this.$offset;var i=Math.abs(e)<=16?60*e:e,s=this;return t?(s.$offset=i,s.$u=0===e,s):(0!==e?(s=this.local().add(i+r,"minute")).$offset=i:s=this.utc(),s)};var c=i.format;i.format=function(e){var t=e||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return c.call(this,t)},i.valueOf=function(){var e=this.$utils().u(this.$offset)?0:this.$offset+r;return this.$d.valueOf()-6e4*e},i.isUTC=function(){return!!this.$u},i.toISOString=function(){return this.toDate().toISOString()},i.toString=function(){return this.toDate().toUTCString()};var l=i.toDate;i.toDate=function(e){return"s"===e&&this.$offset?n(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():l.call(this)};var u=i.diff;i.diff=function(e,t,r){var i=this.local(),s=n(e).local();return u.call(i,s,t,r)}}},"object"==(void 0===n?"undefined":r(n))&&void 0!==t?t.exports=i():(void 0).dayjs_plugin_utc=i()},{}],339:[function(e,t,n){"use strict";n.utils=e("./des/utils"),n.Cipher=e("./des/cipher"),n.DES=e("./des/des"),n.CBC=e("./des/cbc"),n.EDE=e("./des/ede")},{"./des/cbc":340,"./des/cipher":341,"./des/des":342,"./des/ede":343,"./des/utils":344}],340:[function(e,t,n){"use strict";var r=e("minimalistic-assert"),i=e("inherits"),s={};function o(e){r.equal(e.length,8,"Invalid IV length"),this.iv=new Array(8);for(var t=0;t<this.iv.length;t++)this.iv[t]=e[t]}n.instantiate=function(e){function t(t){e.call(this,t),this._cbcInit()}i(t,e);for(var n=Object.keys(s),r=0;r<n.length;r++){var o=n[r];t.prototype[o]=s[o]}return t.create=function(e){return new t(e)},t},s._cbcInit=function(){var e=new o(this.options.iv);this._cbcState=e},s._update=function(e,t,n,r){var i=this._cbcState,s=this.constructor.super_.prototype,o=i.iv;if("encrypt"===this.type){for(var a=0;a<this.blockSize;a++)o[a]^=e[t+a];for(s._update.call(this,o,0,n,r),a=0;a<this.blockSize;a++)o[a]=n[r+a]}else{for(s._update.call(this,e,t,n,r),a=0;a<this.blockSize;a++)n[r+a]^=o[a];for(a=0;a<this.blockSize;a++)o[a]=e[t+a]}}},{inherits:387,"minimalistic-assert":437}],341:[function(e,t,n){"use strict";var r=e("minimalistic-assert");function i(e){this.options=e,this.type=this.options.type,this.blockSize=8,this._init(),this.buffer=new Array(this.blockSize),this.bufferOff=0}t.exports=i,i.prototype._init=function(){},i.prototype.update=function(e){return 0===e.length?[]:"decrypt"===this.type?this._updateDecrypt(e):this._updateEncrypt(e)},i.prototype._buffer=function(e,t){for(var n=Math.min(this.buffer.length-this.bufferOff,e.length-t),r=0;r<n;r++)this.buffer[this.bufferOff+r]=e[t+r];return this.bufferOff+=n,n},i.prototype._flushBuffer=function(e,t){return this._update(this.buffer,0,e,t),this.bufferOff=0,this.blockSize},i.prototype._updateEncrypt=function(e){var t=0,n=0,r=(this.bufferOff+e.length)/this.blockSize|0,i=new Array(r*this.blockSize);0!==this.bufferOff&&(t+=this._buffer(e,t),this.bufferOff===this.buffer.length&&(n+=this._flushBuffer(i,n)));for(var s=e.length-(e.length-t)%this.blockSize;t<s;t+=this.blockSize)this._update(e,t,i,n),n+=this.blockSize;for(;t<e.length;t++,this.bufferOff++)this.buffer[this.bufferOff]=e[t];return i},i.prototype._updateDecrypt=function(e){for(var t=0,n=0,r=Math.ceil((this.bufferOff+e.length)/this.blockSize)-1,i=new Array(r*this.blockSize);r>0;r--)t+=this._buffer(e,t),n+=this._flushBuffer(i,n);return t+=this._buffer(e,t),i},i.prototype.final=function(e){var t,n;return e&&(t=this.update(e)),n="encrypt"===this.type?this._finalEncrypt():this._finalDecrypt(),t?t.concat(n):n},i.prototype._pad=function(e,t){if(0===t)return!1;for(;t<e.length;)e[t++]=0;return!0},i.prototype._finalEncrypt=function(){if(!this._pad(this.buffer,this.bufferOff))return[];var e=new Array(this.blockSize);return this._update(this.buffer,0,e,0),e},i.prototype._unpad=function(e){return e},i.prototype._finalDecrypt=function(){r.equal(this.bufferOff,this.blockSize,"Not enough data to decrypt");var e=new Array(this.blockSize);return this._flushBuffer(e,0),this._unpad(e)}},{"minimalistic-assert":437}],342:[function(e,t,n){"use strict";var r=e("minimalistic-assert"),i=e("inherits"),s=e("./utils"),o=e("./cipher");function a(){this.tmp=new Array(2),this.keys=null}function c(e){o.call(this,e);var t=new a;this._desState=t,this.deriveKeys(t,e.key)}i(c,o),t.exports=c,c.create=function(e){return new c(e)};var l=[1,1,2,2,2,2,2,2,1,2,2,2,2,2,2,1];c.prototype.deriveKeys=function(e,t){e.keys=new Array(32),r.equal(t.length,this.blockSize,"Invalid key length");var n=s.readUInt32BE(t,0),i=s.readUInt32BE(t,4);s.pc1(n,i,e.tmp,0),n=e.tmp[0],i=e.tmp[1];for(var o=0;o<e.keys.length;o+=2){var a=l[o>>>1];n=s.r28shl(n,a),i=s.r28shl(i,a),s.pc2(n,i,e.keys,o)}},c.prototype._update=function(e,t,n,r){var i=this._desState,o=s.readUInt32BE(e,t),a=s.readUInt32BE(e,t+4);s.ip(o,a,i.tmp,0),o=i.tmp[0],a=i.tmp[1],"encrypt"===this.type?this._encrypt(i,o,a,i.tmp,0):this._decrypt(i,o,a,i.tmp,0),o=i.tmp[0],a=i.tmp[1],s.writeUInt32BE(n,o,r),s.writeUInt32BE(n,a,r+4)},c.prototype._pad=function(e,t){for(var n=e.length-t,r=t;r<e.length;r++)e[r]=n;return!0},c.prototype._unpad=function(e){for(var t=e[e.length-1],n=e.length-t;n<e.length;n++)r.equal(e[n],t);return e.slice(0,e.length-t)},c.prototype._encrypt=function(e,t,n,r,i){for(var o=t,a=n,c=0;c<e.keys.length;c+=2){var l=e.keys[c],u=e.keys[c+1];s.expand(a,e.tmp,0),l^=e.tmp[0],u^=e.tmp[1];var h=s.substitute(l,u),d=a;a=(o^s.permute(h))>>>0,o=d}s.rip(a,o,r,i)},c.prototype._decrypt=function(e,t,n,r,i){for(var o=n,a=t,c=e.keys.length-2;c>=0;c-=2){var l=e.keys[c],u=e.keys[c+1];s.expand(o,e.tmp,0),l^=e.tmp[0],u^=e.tmp[1];var h=s.substitute(l,u),d=o;o=(a^s.permute(h))>>>0,a=d}s.rip(o,a,r,i)}},{"./cipher":341,"./utils":344,inherits:387,"minimalistic-assert":437}],343:[function(e,t,n){"use strict";var r=e("minimalistic-assert"),i=e("inherits"),s=e("./cipher"),o=e("./des");function a(e,t){r.equal(t.length,24,"Invalid key length");var n=t.slice(0,8),i=t.slice(8,16),s=t.slice(16,24);this.ciphers="encrypt"===e?[o.create({type:"encrypt",key:n}),o.create({type:"decrypt",key:i}),o.create({type:"encrypt",key:s})]:[o.create({type:"decrypt",key:s}),o.create({type:"encrypt",key:i}),o.create({type:"decrypt",key:n})]}function c(e){s.call(this,e);var t=new a(this.type,this.options.key);this._edeState=t}i(c,s),t.exports=c,c.create=function(e){return new c(e)},c.prototype._update=function(e,t,n,r){var i=this._edeState;i.ciphers[0]._update(e,t,n,r),i.ciphers[1]._update(n,r,n,r),i.ciphers[2]._update(n,r,n,r)},c.prototype._pad=o.prototype._pad,c.prototype._unpad=o.prototype._unpad},{"./cipher":341,"./des":342,inherits:387,"minimalistic-assert":437}],344:[function(e,t,n){"use strict";n.readUInt32BE=function(e,t){return(e[0+t]<<24|e[1+t]<<16|e[2+t]<<8|e[3+t])>>>0},n.writeUInt32BE=function(e,t,n){e[0+n]=t>>>24,e[1+n]=t>>>16&255,e[2+n]=t>>>8&255,e[3+n]=255&t},n.ip=function(e,t,n,r){for(var i=0,s=0,o=6;o>=0;o-=2){for(var a=0;a<=24;a+=8)i<<=1,i|=t>>>a+o&1;for(a=0;a<=24;a+=8)i<<=1,i|=e>>>a+o&1}for(o=6;o>=0;o-=2){for(a=1;a<=25;a+=8)s<<=1,s|=t>>>a+o&1;for(a=1;a<=25;a+=8)s<<=1,s|=e>>>a+o&1}n[r+0]=i>>>0,n[r+1]=s>>>0},n.rip=function(e,t,n,r){for(var i=0,s=0,o=0;o<4;o++)for(var a=24;a>=0;a-=8)i<<=1,i|=t>>>a+o&1,i<<=1,i|=e>>>a+o&1;for(o=4;o<8;o++)for(a=24;a>=0;a-=8)s<<=1,s|=t>>>a+o&1,s<<=1,s|=e>>>a+o&1;n[r+0]=i>>>0,n[r+1]=s>>>0},n.pc1=function(e,t,n,r){for(var i=0,s=0,o=7;o>=5;o--){for(var a=0;a<=24;a+=8)i<<=1,i|=t>>a+o&1;for(a=0;a<=24;a+=8)i<<=1,i|=e>>a+o&1}for(a=0;a<=24;a+=8)i<<=1,i|=t>>a+o&1;for(o=1;o<=3;o++){for(a=0;a<=24;a+=8)s<<=1,s|=t>>a+o&1;for(a=0;a<=24;a+=8)s<<=1,s|=e>>a+o&1}for(a=0;a<=24;a+=8)s<<=1,s|=e>>a+o&1;n[r+0]=i>>>0,n[r+1]=s>>>0},n.r28shl=function(e,t){return e<<t&268435455|e>>>28-t};var r=[14,11,17,4,27,23,25,0,13,22,7,18,5,9,16,24,2,20,12,21,1,8,15,26,15,4,25,19,9,1,26,16,5,11,23,8,12,7,17,0,22,3,10,14,6,20,27,24];n.pc2=function(e,t,n,i){for(var s=0,o=0,a=r.length>>>1,c=0;c<a;c++)s<<=1,s|=e>>>r[c]&1;for(c=a;c<r.length;c++)o<<=1,o|=t>>>r[c]&1;n[i+0]=s>>>0,n[i+1]=o>>>0},n.expand=function(e,t,n){var r=0,i=0;r=(1&e)<<5|e>>>27;for(var s=23;s>=15;s-=4)r<<=6,r|=e>>>s&63;for(s=11;s>=3;s-=4)i|=e>>>s&63,i<<=6;i|=(31&e)<<1|e>>>31,t[n+0]=r>>>0,t[n+1]=i>>>0};var i=[14,0,4,15,13,7,1,4,2,14,15,2,11,13,8,1,3,10,10,6,6,12,12,11,5,9,9,5,0,3,7,8,4,15,1,12,14,8,8,2,13,4,6,9,2,1,11,7,15,5,12,11,9,3,7,14,3,10,10,0,5,6,0,13,15,3,1,13,8,4,14,7,6,15,11,2,3,8,4,14,9,12,7,0,2,1,13,10,12,6,0,9,5,11,10,5,0,13,14,8,7,10,11,1,10,3,4,15,13,4,1,2,5,11,8,6,12,7,6,12,9,0,3,5,2,14,15,9,10,13,0,7,9,0,14,9,6,3,3,4,15,6,5,10,1,2,13,8,12,5,7,14,11,12,4,11,2,15,8,1,13,1,6,10,4,13,9,0,8,6,15,9,3,8,0,7,11,4,1,15,2,14,12,3,5,11,10,5,14,2,7,12,7,13,13,8,14,11,3,5,0,6,6,15,9,0,10,3,1,4,2,7,8,2,5,12,11,1,12,10,4,14,15,9,10,3,6,15,9,0,0,6,12,10,11,1,7,13,13,8,15,9,1,4,3,5,14,11,5,12,2,7,8,2,4,14,2,14,12,11,4,2,1,12,7,4,10,7,11,13,6,1,8,5,5,0,3,15,15,10,13,3,0,9,14,8,9,6,4,11,2,8,1,12,11,7,10,1,13,14,7,2,8,13,15,6,9,15,12,0,5,9,6,10,3,4,0,5,14,3,12,10,1,15,10,4,15,2,9,7,2,12,6,9,8,5,0,6,13,1,3,13,4,14,14,0,7,11,5,3,11,8,9,4,14,3,15,2,5,12,2,9,8,5,12,15,3,10,7,11,0,14,4,1,10,7,1,6,13,0,11,8,6,13,4,13,11,0,2,11,14,7,15,4,0,9,8,1,13,10,3,14,12,3,9,5,7,12,5,2,10,15,6,8,1,6,1,6,4,11,11,13,13,8,12,1,3,4,7,10,14,7,10,9,15,5,6,0,8,15,0,14,5,2,9,3,2,12,13,1,2,15,8,13,4,8,6,10,15,3,11,7,1,4,10,12,9,5,3,6,14,11,5,0,0,14,12,9,7,2,7,2,11,1,4,14,1,7,9,4,12,10,14,8,2,13,0,15,6,12,10,9,13,0,15,3,3,5,5,6,8,11];n.substitute=function(e,t){for(var n=0,r=0;r<4;r++)n<<=4,n|=i[64*r+(e>>>18-6*r&63)];for(r=0;r<4;r++)n<<=4,n|=i[256+64*r+(t>>>18-6*r&63)];return n>>>0};var s=[16,25,12,11,3,20,4,15,31,17,9,6,27,14,1,22,30,24,8,18,0,5,29,23,13,19,2,26,10,21,28,7];n.permute=function(e){for(var t=0,n=0;n<s.length;n++)t<<=1,t|=e>>>s[n]&1;return t>>>0},n.padSplit=function(e,t,n){for(var r=e.toString(2);r.length<t;)r="0"+r;for(var i=[],s=0;s<t;s+=n)i.push(r.slice(s,s+n));return i.join(" ")}},{}],345:[function(e,t,n){(function(t){"use strict";var r=e("./lib/generatePrime"),i=e("./lib/primes.json"),s=e("./lib/dh"),o={binary:!0,hex:!0,base64:!0};n.DiffieHellmanGroup=n.createDiffieHellmanGroup=n.getDiffieHellman=function(e){var n=new t(i[e].prime,"hex"),r=new t(i[e].gen,"hex");return new s(n,r)},n.createDiffieHellman=n.DiffieHellman=function e(n,i,a,c){return t.isBuffer(i)||void 0===o[i]?e(n,"binary",i,a):(i=i||"binary",c=c||"binary",a=a||new t([2]),t.isBuffer(a)||(a=new t(a,c)),"number"==typeof n?new s(r(n,a),a,!0):(t.isBuffer(n)||(n=new t(n,i)),new s(n,a,!0)))}}).call(this,e("buffer").Buffer)},{"./lib/dh":346,"./lib/generatePrime":347,"./lib/primes.json":348,buffer:216}],346:[function(e,t,n){(function(n){"use strict";var r=e("bn.js"),i=new(e("miller-rabin")),s=new r(24),o=new r(11),a=new r(10),c=new r(3),l=new r(7),u=e("./generatePrime"),h=e("randombytes");function d(e,t){return t=t||"utf8",n.isBuffer(e)||(e=new n(e,t)),this._pub=new r(e),this}function f(e,t){return t=t||"utf8",n.isBuffer(e)||(e=new n(e,t)),this._priv=new r(e),this}t.exports=m;var p={};function m(e,t,n){this.setGenerator(t),this.__prime=new r(e),this._prime=r.mont(this.__prime),this._primeLen=e.length,this._pub=void 0,this._priv=void 0,this._primeCode=void 0,n?(this.setPublicKey=d,this.setPrivateKey=f):this._primeCode=8}function g(e,t){var r=new n(e.toArray());return t?r.toString(t):r}Object.defineProperty(m.prototype,"verifyError",{enumerable:!0,get:function(){return"number"!=typeof this._primeCode&&(this._primeCode=function(e,t){var n=t.toString("hex"),r=[n,e.toString(16)].join("_");if(r in p)return p[r];var h,d=0;if(e.isEven()||!u.simpleSieve||!u.fermatTest(e)||!i.test(e))return d+=1,d+="02"===n||"05"===n?8:4,p[r]=d,d;switch(i.test(e.shrn(1))||(d+=2),n){case"02":e.mod(s).cmp(o)&&(d+=8);break;case"05":(h=e.mod(a)).cmp(c)&&h.cmp(l)&&(d+=8);break;default:d+=4}return p[r]=d,d}(this.__prime,this.__gen)),this._primeCode}}),m.prototype.generateKeys=function(){return this._priv||(this._priv=new r(h(this._primeLen))),this._pub=this._gen.toRed(this._prime).redPow(this._priv).fromRed(),this.getPublicKey()},m.prototype.computeSecret=function(e){var t=(e=(e=new r(e)).toRed(this._prime)).redPow(this._priv).fromRed(),i=new n(t.toArray()),s=this.getPrime();if(i.length<s.length){var o=new n(s.length-i.length);o.fill(0),i=n.concat([o,i])}return i},m.prototype.getPublicKey=function(e){return g(this._pub,e)},m.prototype.getPrivateKey=function(e){return g(this._priv,e)},m.prototype.getPrime=function(e){return g(this.__prime,e)},m.prototype.getGenerator=function(e){return g(this._gen,e)},m.prototype.setGenerator=function(e,t){return t=t||"utf8",n.isBuffer(e)||(e=new n(e,t)),this.__gen=e,this._gen=new r(e),this}}).call(this,e("buffer").Buffer)},{"./generatePrime":347,"bn.js":349,buffer:216,"miller-rabin":435,randombytes:475}],347:[function(e,t,n){"use strict";var r=e("randombytes");t.exports=y,y.simpleSieve=g,y.fermatTest=v;var i=e("bn.js"),s=new i(24),o=new(e("miller-rabin")),a=new i(1),c=new i(2),l=new i(5),u=(new i(16),new i(8),new i(10)),h=new i(3),d=(new i(7),new i(11)),f=new i(4),p=(new i(12),null);function m(){if(null!==p)return p;var e=[];e[0]=2;for(var t=1,n=3;n<1048576;n+=2){for(var r=Math.ceil(Math.sqrt(n)),i=0;i<t&&e[i]<=r&&n%e[i]!=0;i++);t!==i&&e[i]<=r||(e[t++]=n)}return p=e,e}function g(e){for(var t=m(),n=0;n<t.length;n++)if(0===e.modn(t[n]))return 0===e.cmpn(t[n]);return!0}function v(e){var t=i.mont(e);return 0===c.toRed(t).redPow(e.subn(1)).fromRed().cmpn(1)}function y(e,t){if(e<16)return new i(2===t||5===t?[140,123]:[140,39]);var n,p;for(t=new i(t);;){for(n=new i(r(Math.ceil(e/8)));n.bitLength()>e;)n.ishrn(1);if(n.isEven()&&n.iadd(a),n.testn(1)||n.iadd(c),t.cmp(c)){if(!t.cmp(l))for(;n.mod(u).cmp(h);)n.iadd(f)}else for(;n.mod(s).cmp(d);)n.iadd(f);if(g(p=n.shrn(1))&&g(n)&&v(p)&&v(n)&&o.test(p)&&o.test(n))return n}}},{"bn.js":349,"miller-rabin":435,randombytes:475}],348:[function(e,t,n){t.exports={modp1:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a63a3620ffffffffffffffff"},modp2:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece65381ffffffffffffffff"},modp5:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca237327ffffffffffffffff"},modp14:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aacaa68ffffffffffffffff"},modp15:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a93ad2caffffffffffffffff"},modp16:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c934063199ffffffffffffffff"},modp17:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dcc4024ffffffffffffffff"},modp18:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dbe115974a3926f12fee5e438777cb6a932df8cd8bec4d073b931ba3bc832b68d9dd300741fa7bf8afc47ed2576f6936ba424663aab639c5ae4f5683423b4742bf1c978238f16cbe39d652de3fdb8befc848ad922222e04a4037c0713eb57a81a23f0c73473fc646cea306b4bcbc8862f8385ddfa9d4b7fa2c087e879683303ed5bdd3a062b3cf5b3a278a66d2a13f83f44f82ddf310ee074ab6a364597e899a0255dc164f31cc50846851df9ab48195ded7ea1b1d510bd7ee74d73faf36bc31ecfa268359046f4eb879f924009438b481c6cd7889a002ed5ee382bc9190da6fc026e479558e4475677e9aa9e3050e2765694dfc81f56e880b96e7160c980dd98edd3dfffffffffffffffff"}}},{}],349:[function(e,t,n){arguments[4][181][0].apply(n,arguments)},{buffer:185,dup:181}],350:[function(e,t,n){"use strict";var r=n;r.version=e("../package.json").version,r.utils=e("./elliptic/utils"),r.rand=e("brorand"),r.curve=e("./elliptic/curve"),r.curves=e("./elliptic/curves"),r.ec=e("./elliptic/ec"),r.eddsa=e("./elliptic/eddsa")},{"../package.json":366,"./elliptic/curve":353,"./elliptic/curves":356,"./elliptic/ec":357,"./elliptic/eddsa":360,"./elliptic/utils":364,brorand:184}],351:[function(e,t,n){"use strict";var r=e("bn.js"),i=e("../utils"),s=i.getNAF,o=i.getJSF,a=i.assert;function c(e,t){this.type=e,this.p=new r(t.p,16),this.red=t.prime?r.red(t.prime):r.mont(this.p),this.zero=new r(0).toRed(this.red),this.one=new r(1).toRed(this.red),this.two=new r(2).toRed(this.red),this.n=t.n&&new r(t.n,16),this.g=t.g&&this.pointFromJSON(t.g,t.gRed),this._wnafT1=new Array(4),this._wnafT2=new Array(4),this._wnafT3=new Array(4),this._wnafT4=new Array(4),this._bitLength=this.n?this.n.bitLength():0;var n=this.n&&this.p.div(this.n);!n||n.cmpn(100)>0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}function l(e,t){this.curve=e,this.type=t,this.precomputed=null}t.exports=c,c.prototype.point=function(){throw new Error("Not implemented")},c.prototype.validate=function(){throw new Error("Not implemented")},c.prototype._fixedNafMul=function(e,t){a(e.precomputed);var n=e._getDoubles(),r=s(t,1,this._bitLength),i=(1<<n.step+1)-(n.step%2==0?2:1);i/=3;for(var o=[],c=0;c<r.length;c+=n.step){var l=0;for(t=c+n.step-1;t>=c;t--)l=(l<<1)+r[t];o.push(l)}for(var u=this.jpoint(null,null,null),h=this.jpoint(null,null,null),d=i;d>0;d--){for(c=0;c<o.length;c++)(l=o[c])===d?h=h.mixedAdd(n.points[c]):l===-d&&(h=h.mixedAdd(n.points[c].neg()));u=u.add(h)}return u.toP()},c.prototype._wnafMul=function(e,t){var n=4,r=e._getNAFPoints(n);n=r.wnd;for(var i=r.points,o=s(t,n,this._bitLength),c=this.jpoint(null,null,null),l=o.length-1;l>=0;l--){for(t=0;l>=0&&0===o[l];l--)t++;if(l>=0&&t++,c=c.dblp(t),l<0)break;var u=o[l];a(0!==u),c="affine"===e.type?u>0?c.mixedAdd(i[u-1>>1]):c.mixedAdd(i[-u-1>>1].neg()):u>0?c.add(i[u-1>>1]):c.add(i[-u-1>>1].neg())}return"affine"===e.type?c.toP():c},c.prototype._wnafMulAdd=function(e,t,n,r,i){for(var a=this._wnafT1,c=this._wnafT2,l=this._wnafT3,u=0,h=0;h<r;h++){var d=(k=t[h])._getNAFPoints(e);a[h]=d.wnd,c[h]=d.points}for(h=r-1;h>=1;h-=2){var f=h-1,p=h;if(1===a[f]&&1===a[p]){var m=[t[f],null,null,t[p]];0===t[f].y.cmp(t[p].y)?(m[1]=t[f].add(t[p]),m[2]=t[f].toJ().mixedAdd(t[p].neg())):0===t[f].y.cmp(t[p].y.redNeg())?(m[1]=t[f].toJ().mixedAdd(t[p]),m[2]=t[f].add(t[p].neg())):(m[1]=t[f].toJ().mixedAdd(t[p]),m[2]=t[f].toJ().mixedAdd(t[p].neg()));var g=[-3,-1,-5,-7,0,7,5,1,3],v=o(n[f],n[p]);u=Math.max(v[0].length,u),l[f]=new Array(u),l[p]=new Array(u);for(var y=0;y<u;y++){var b=0|v[0][y],_=0|v[1][y];l[f][y]=g[3*(b+1)+(_+1)],l[p][y]=0,c[f]=m}}else l[f]=s(n[f],a[f],this._bitLength),l[p]=s(n[p],a[p],this._bitLength),u=Math.max(l[f].length,u),u=Math.max(l[p].length,u)}var w=this.jpoint(null,null,null),S=this._wnafT4;for(h=u;h>=0;h--){for(var x=0;h>=0;){var O=!0;for(y=0;y<r;y++)S[y]=0|l[y][h],0!==S[y]&&(O=!1);if(!O)break;x++,h--}if(h>=0&&x++,w=w.dblp(x),h<0)break;for(y=0;y<r;y++){var k,C=S[y];0!==C&&(C>0?k=c[y][C-1>>1]:C<0&&(k=c[y][-C-1>>1].neg()),w="affine"===k.type?w.mixedAdd(k):w.add(k))}}for(h=0;h<r;h++)c[h]=null;return i?w:w.toP()},c.BasePoint=l,l.prototype.eq=function(){throw new Error("Not implemented")},l.prototype.validate=function(){return this.curve.validate(this)},c.prototype.decodePoint=function(e,t){e=i.toArray(e,t);var n=this.p.byteLength();if((4===e[0]||6===e[0]||7===e[0])&&e.length-1==2*n)return 6===e[0]?a(e[e.length-1]%2==0):7===e[0]&&a(e[e.length-1]%2==1),this.point(e.slice(1,1+n),e.slice(1+n,1+2*n));if((2===e[0]||3===e[0])&&e.length-1===n)return this.pointFromX(e.slice(1,1+n),3===e[0]);throw new Error("Unknown point format")},l.prototype.encodeCompressed=function(e){return this.encode(e,!0)},l.prototype._encode=function(e){var t=this.curve.p.byteLength(),n=this.getX().toArray("be",t);return e?[this.getY().isEven()?2:3].concat(n):[4].concat(n,this.getY().toArray("be",t))},l.prototype.encode=function(e,t){return i.encode(this._encode(t),e)},l.prototype.precompute=function(e){if(this.precomputed)return this;var t={doubles:null,naf:null,beta:null};return t.naf=this._getNAFPoints(8),t.doubles=this._getDoubles(4,e),t.beta=this._getBeta(),this.precomputed=t,this},l.prototype._hasDoubles=function(e){if(!this.precomputed)return!1;var t=this.precomputed.doubles;return!!t&&t.points.length>=Math.ceil((e.bitLength()+1)/t.step)},l.prototype._getDoubles=function(e,t){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var n=[this],r=this,i=0;i<t;i+=e){for(var s=0;s<e;s++)r=r.dbl();n.push(r)}return{step:e,points:n}},l.prototype._getNAFPoints=function(e){if(this.precomputed&&this.precomputed.naf)return this.precomputed.naf;for(var t=[this],n=(1<<e)-1,r=1===n?null:this.dbl(),i=1;i<n;i++)t[i]=t[i-1].add(r);return{wnd:e,points:t}},l.prototype._getBeta=function(){return null},l.prototype.dblp=function(e){for(var t=this,n=0;n<e;n++)t=t.dbl();return t}},{"../utils":364,"bn.js":365}],352:[function(e,t,n){"use strict";var r=e("../utils"),i=e("bn.js"),s=e("inherits"),o=e("./base"),a=r.assert;function c(e){this.twisted=1!=(0|e.a),this.mOneA=this.twisted&&-1==(0|e.a),this.extended=this.mOneA,o.call(this,"edwards",e),this.a=new i(e.a,16).umod(this.red.m),this.a=this.a.toRed(this.red),this.c=new i(e.c,16).toRed(this.red),this.c2=this.c.redSqr(),this.d=new i(e.d,16).toRed(this.red),this.dd=this.d.redAdd(this.d),a(!this.twisted||0===this.c.fromRed().cmpn(1)),this.oneC=1==(0|e.c)}function l(e,t,n,r,s){o.BasePoint.call(this,e,"projective"),null===t&&null===n&&null===r?(this.x=this.curve.zero,this.y=this.curve.one,this.z=this.curve.one,this.t=this.curve.zero,this.zOne=!0):(this.x=new i(t,16),this.y=new i(n,16),this.z=r?new i(r,16):this.curve.one,this.t=s&&new i(s,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.t&&!this.t.red&&(this.t=this.t.toRed(this.curve.red)),this.zOne=this.z===this.curve.one,this.curve.extended&&!this.t&&(this.t=this.x.redMul(this.y),this.zOne||(this.t=this.t.redMul(this.z.redInvm()))))}s(c,o),t.exports=c,c.prototype._mulA=function(e){return this.mOneA?e.redNeg():this.a.redMul(e)},c.prototype._mulC=function(e){return this.oneC?e:this.c.redMul(e)},c.prototype.jpoint=function(e,t,n,r){return this.point(e,t,n,r)},c.prototype.pointFromX=function(e,t){(e=new i(e,16)).red||(e=e.toRed(this.red));var n=e.redSqr(),r=this.c2.redSub(this.a.redMul(n)),s=this.one.redSub(this.c2.redMul(this.d).redMul(n)),o=r.redMul(s.redInvm()),a=o.redSqrt();if(0!==a.redSqr().redSub(o).cmp(this.zero))throw new Error("invalid point");var c=a.fromRed().isOdd();return(t&&!c||!t&&c)&&(a=a.redNeg()),this.point(e,a)},c.prototype.pointFromY=function(e,t){(e=new i(e,16)).red||(e=e.toRed(this.red));var n=e.redSqr(),r=n.redSub(this.c2),s=n.redMul(this.d).redMul(this.c2).redSub(this.a),o=r.redMul(s.redInvm());if(0===o.cmp(this.zero)){if(t)throw new Error("invalid point");return this.point(this.zero,e)}var a=o.redSqrt();if(0!==a.redSqr().redSub(o).cmp(this.zero))throw new Error("invalid point");return a.fromRed().isOdd()!==t&&(a=a.redNeg()),this.point(a,e)},c.prototype.validate=function(e){if(e.isInfinity())return!0;e.normalize();var t=e.x.redSqr(),n=e.y.redSqr(),r=t.redMul(this.a).redAdd(n),i=this.c2.redMul(this.one.redAdd(this.d.redMul(t).redMul(n)));return 0===r.cmp(i)},s(l,o.BasePoint),c.prototype.pointFromJSON=function(e){return l.fromJSON(this,e)},c.prototype.point=function(e,t,n,r){return new l(this,e,t,n,r)},l.fromJSON=function(e,t){return new l(e,t[0],t[1],t[2])},l.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" y: "+this.y.fromRed().toString(16,2)+" z: "+this.z.fromRed().toString(16,2)+">"},l.prototype.isInfinity=function(){return 0===this.x.cmpn(0)&&(0===this.y.cmp(this.z)||this.zOne&&0===this.y.cmp(this.curve.c))},l.prototype._extDbl=function(){var e=this.x.redSqr(),t=this.y.redSqr(),n=this.z.redSqr();n=n.redIAdd(n);var r=this.curve._mulA(e),i=this.x.redAdd(this.y).redSqr().redISub(e).redISub(t),s=r.redAdd(t),o=s.redSub(n),a=r.redSub(t),c=i.redMul(o),l=s.redMul(a),u=i.redMul(a),h=o.redMul(s);return this.curve.point(c,l,h,u)},l.prototype._projDbl=function(){var e,t,n,r=this.x.redAdd(this.y).redSqr(),i=this.x.redSqr(),s=this.y.redSqr();if(this.curve.twisted){var o=(l=this.curve._mulA(i)).redAdd(s);if(this.zOne)e=r.redSub(i).redSub(s).redMul(o.redSub(this.curve.two)),t=o.redMul(l.redSub(s)),n=o.redSqr().redSub(o).redSub(o);else{var a=this.z.redSqr(),c=o.redSub(a).redISub(a);e=r.redSub(i).redISub(s).redMul(c),t=o.redMul(l.redSub(s)),n=o.redMul(c)}}else{var l=i.redAdd(s);a=this.curve._mulC(this.z).redSqr(),c=l.redSub(a).redSub(a),e=this.curve._mulC(r.redISub(l)).redMul(c),t=this.curve._mulC(l).redMul(i.redISub(s)),n=l.redMul(c)}return this.curve.point(e,t,n)},l.prototype.dbl=function(){return this.isInfinity()?this:this.curve.extended?this._extDbl():this._projDbl()},l.prototype._extAdd=function(e){var t=this.y.redSub(this.x).redMul(e.y.redSub(e.x)),n=this.y.redAdd(this.x).redMul(e.y.redAdd(e.x)),r=this.t.redMul(this.curve.dd).redMul(e.t),i=this.z.redMul(e.z.redAdd(e.z)),s=n.redSub(t),o=i.redSub(r),a=i.redAdd(r),c=n.redAdd(t),l=s.redMul(o),u=a.redMul(c),h=s.redMul(c),d=o.redMul(a);return this.curve.point(l,u,d,h)},l.prototype._projAdd=function(e){var t,n,r=this.z.redMul(e.z),i=r.redSqr(),s=this.x.redMul(e.x),o=this.y.redMul(e.y),a=this.curve.d.redMul(s).redMul(o),c=i.redSub(a),l=i.redAdd(a),u=this.x.redAdd(this.y).redMul(e.x.redAdd(e.y)).redISub(s).redISub(o),h=r.redMul(c).redMul(u);return this.curve.twisted?(t=r.redMul(l).redMul(o.redSub(this.curve._mulA(s))),n=c.redMul(l)):(t=r.redMul(l).redMul(o.redSub(s)),n=this.curve._mulC(c).redMul(l)),this.curve.point(h,t,n)},l.prototype.add=function(e){return this.isInfinity()?e:e.isInfinity()?this:this.curve.extended?this._extAdd(e):this._projAdd(e)},l.prototype.mul=function(e){return this._hasDoubles(e)?this.curve._fixedNafMul(this,e):this.curve._wnafMul(this,e)},l.prototype.mulAdd=function(e,t,n){return this.curve._wnafMulAdd(1,[this,t],[e,n],2,!1)},l.prototype.jmulAdd=function(e,t,n){return this.curve._wnafMulAdd(1,[this,t],[e,n],2,!0)},l.prototype.normalize=function(){if(this.zOne)return this;var e=this.z.redInvm();return this.x=this.x.redMul(e),this.y=this.y.redMul(e),this.t&&(this.t=this.t.redMul(e)),this.z=this.curve.one,this.zOne=!0,this},l.prototype.neg=function(){return this.curve.point(this.x.redNeg(),this.y,this.z,this.t&&this.t.redNeg())},l.prototype.getX=function(){return this.normalize(),this.x.fromRed()},l.prototype.getY=function(){return this.normalize(),this.y.fromRed()},l.prototype.eq=function(e){return this===e||0===this.getX().cmp(e.getX())&&0===this.getY().cmp(e.getY())},l.prototype.eqXToP=function(e){var t=e.toRed(this.curve.red).redMul(this.z);if(0===this.x.cmp(t))return!0;for(var n=e.clone(),r=this.curve.redN.redMul(this.z);;){if(n.iadd(this.curve.n),n.cmp(this.curve.p)>=0)return!1;if(t.redIAdd(r),0===this.x.cmp(t))return!0}},l.prototype.toP=l.prototype.normalize,l.prototype.mixedAdd=l.prototype.add},{"../utils":364,"./base":351,"bn.js":365,inherits:387}],353:[function(e,t,n){"use strict";var r=n;r.base=e("./base"),r.short=e("./short"),r.mont=e("./mont"),r.edwards=e("./edwards")},{"./base":351,"./edwards":352,"./mont":354,"./short":355}],354:[function(e,t,n){"use strict";var r=e("bn.js"),i=e("inherits"),s=e("./base"),o=e("../utils");function a(e){s.call(this,"mont",e),this.a=new r(e.a,16).toRed(this.red),this.b=new r(e.b,16).toRed(this.red),this.i4=new r(4).toRed(this.red).redInvm(),this.two=new r(2).toRed(this.red),this.a24=this.i4.redMul(this.a.redAdd(this.two))}function c(e,t,n){s.BasePoint.call(this,e,"projective"),null===t&&null===n?(this.x=this.curve.one,this.z=this.curve.zero):(this.x=new r(t,16),this.z=new r(n,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)))}i(a,s),t.exports=a,a.prototype.validate=function(e){var t=e.normalize().x,n=t.redSqr(),r=n.redMul(t).redAdd(n.redMul(this.a)).redAdd(t);return 0===r.redSqrt().redSqr().cmp(r)},i(c,s.BasePoint),a.prototype.decodePoint=function(e,t){return this.point(o.toArray(e,t),1)},a.prototype.point=function(e,t){return new c(this,e,t)},a.prototype.pointFromJSON=function(e){return c.fromJSON(this,e)},c.prototype.precompute=function(){},c.prototype._encode=function(){return this.getX().toArray("be",this.curve.p.byteLength())},c.fromJSON=function(e,t){return new c(e,t[0],t[1]||e.one)},c.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" z: "+this.z.fromRed().toString(16,2)+">"},c.prototype.isInfinity=function(){return 0===this.z.cmpn(0)},c.prototype.dbl=function(){var e=this.x.redAdd(this.z).redSqr(),t=this.x.redSub(this.z).redSqr(),n=e.redSub(t),r=e.redMul(t),i=n.redMul(t.redAdd(this.curve.a24.redMul(n)));return this.curve.point(r,i)},c.prototype.add=function(){throw new Error("Not supported on Montgomery curve")},c.prototype.diffAdd=function(e,t){var n=this.x.redAdd(this.z),r=this.x.redSub(this.z),i=e.x.redAdd(e.z),s=e.x.redSub(e.z).redMul(n),o=i.redMul(r),a=t.z.redMul(s.redAdd(o).redSqr()),c=t.x.redMul(s.redISub(o).redSqr());return this.curve.point(a,c)},c.prototype.mul=function(e){for(var t=e.clone(),n=this,r=this.curve.point(null,null),i=[];0!==t.cmpn(0);t.iushrn(1))i.push(t.andln(1));for(var s=i.length-1;s>=0;s--)0===i[s]?(n=n.diffAdd(r,this),r=r.dbl()):(r=n.diffAdd(r,this),n=n.dbl());return r},c.prototype.mulAdd=function(){throw new Error("Not supported on Montgomery curve")},c.prototype.jumlAdd=function(){throw new Error("Not supported on Montgomery curve")},c.prototype.eq=function(e){return 0===this.getX().cmp(e.getX())},c.prototype.normalize=function(){return this.x=this.x.redMul(this.z.redInvm()),this.z=this.curve.one,this},c.prototype.getX=function(){return this.normalize(),this.x.fromRed()}},{"../utils":364,"./base":351,"bn.js":365,inherits:387}],355:[function(e,t,n){"use strict";var r=e("../utils"),i=e("bn.js"),s=e("inherits"),o=e("./base"),a=r.assert;function c(e){o.call(this,"short",e),this.a=new i(e.a,16).toRed(this.red),this.b=new i(e.b,16).toRed(this.red),this.tinv=this.two.redInvm(),this.zeroA=0===this.a.fromRed().cmpn(0),this.threeA=0===this.a.fromRed().sub(this.p).cmpn(-3),this.endo=this._getEndomorphism(e),this._endoWnafT1=new Array(4),this._endoWnafT2=new Array(4)}function l(e,t,n,r){o.BasePoint.call(this,e,"affine"),null===t&&null===n?(this.x=null,this.y=null,this.inf=!0):(this.x=new i(t,16),this.y=new i(n,16),r&&(this.x.forceRed(this.curve.red),this.y.forceRed(this.curve.red)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.inf=!1)}function u(e,t,n,r){o.BasePoint.call(this,e,"jacobian"),null===t&&null===n&&null===r?(this.x=this.curve.one,this.y=this.curve.one,this.z=new i(0)):(this.x=new i(t,16),this.y=new i(n,16),this.z=new i(r,16)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.zOne=this.z===this.curve.one}s(c,o),t.exports=c,c.prototype._getEndomorphism=function(e){if(this.zeroA&&this.g&&this.n&&1===this.p.modn(3)){var t,n;if(e.beta)t=new i(e.beta,16).toRed(this.red);else{var r=this._getEndoRoots(this.p);t=(t=r[0].cmp(r[1])<0?r[0]:r[1]).toRed(this.red)}if(e.lambda)n=new i(e.lambda,16);else{var s=this._getEndoRoots(this.n);0===this.g.mul(s[0]).x.cmp(this.g.x.redMul(t))?n=s[0]:(n=s[1],a(0===this.g.mul(n).x.cmp(this.g.x.redMul(t))))}return{beta:t,lambda:n,basis:e.basis?e.basis.map(function(e){return{a:new i(e.a,16),b:new i(e.b,16)}}):this._getEndoBasis(n)}}},c.prototype._getEndoRoots=function(e){var t=e===this.p?this.red:i.mont(e),n=new i(2).toRed(t).redInvm(),r=n.redNeg(),s=new i(3).toRed(t).redNeg().redSqrt().redMul(n);return[r.redAdd(s).fromRed(),r.redSub(s).fromRed()]},c.prototype._getEndoBasis=function(e){for(var t,n,r,s,o,a,c,l,u,h=this.n.ushrn(Math.floor(this.n.bitLength()/2)),d=e,f=this.n.clone(),p=new i(1),m=new i(0),g=new i(0),v=new i(1),y=0;0!==d.cmpn(0);){var b=f.div(d);l=f.sub(b.mul(d)),u=g.sub(b.mul(p));var _=v.sub(b.mul(m));if(!r&&l.cmp(h)<0)t=c.neg(),n=p,r=l.neg(),s=u;else if(r&&2==++y)break;c=l,f=d,d=l,g=p,p=u,v=m,m=_}o=l.neg(),a=u;var w=r.sqr().add(s.sqr());return o.sqr().add(a.sqr()).cmp(w)>=0&&(o=t,a=n),r.negative&&(r=r.neg(),s=s.neg()),o.negative&&(o=o.neg(),a=a.neg()),[{a:r,b:s},{a:o,b:a}]},c.prototype._endoSplit=function(e){var t=this.endo.basis,n=t[0],r=t[1],i=r.b.mul(e).divRound(this.n),s=n.b.neg().mul(e).divRound(this.n),o=i.mul(n.a),a=s.mul(r.a),c=i.mul(n.b),l=s.mul(r.b);return{k1:e.sub(o).sub(a),k2:c.add(l).neg()}},c.prototype.pointFromX=function(e,t){(e=new i(e,16)).red||(e=e.toRed(this.red));var n=e.redSqr().redMul(e).redIAdd(e.redMul(this.a)).redIAdd(this.b),r=n.redSqrt();if(0!==r.redSqr().redSub(n).cmp(this.zero))throw new Error("invalid point");var s=r.fromRed().isOdd();return(t&&!s||!t&&s)&&(r=r.redNeg()),this.point(e,r)},c.prototype.validate=function(e){if(e.inf)return!0;var t=e.x,n=e.y,r=this.a.redMul(t),i=t.redSqr().redMul(t).redIAdd(r).redIAdd(this.b);return 0===n.redSqr().redISub(i).cmpn(0)},c.prototype._endoWnafMulAdd=function(e,t,n){for(var r=this._endoWnafT1,i=this._endoWnafT2,s=0;s<e.length;s++){var o=this._endoSplit(t[s]),a=e[s],c=a._getBeta();o.k1.negative&&(o.k1.ineg(),a=a.neg(!0)),o.k2.negative&&(o.k2.ineg(),c=c.neg(!0)),r[2*s]=a,r[2*s+1]=c,i[2*s]=o.k1,i[2*s+1]=o.k2}for(var l=this._wnafMulAdd(1,r,i,2*s,n),u=0;u<2*s;u++)r[u]=null,i[u]=null;return l},s(l,o.BasePoint),c.prototype.point=function(e,t,n){return new l(this,e,t,n)},c.prototype.pointFromJSON=function(e,t){return l.fromJSON(this,e,t)},l.prototype._getBeta=function(){if(this.curve.endo){var e=this.precomputed;if(e&&e.beta)return e.beta;var t=this.curve.point(this.x.redMul(this.curve.endo.beta),this.y);if(e){var n=this.curve,r=function(e){return n.point(e.x.redMul(n.endo.beta),e.y)};e.beta=t,t.precomputed={beta:null,naf:e.naf&&{wnd:e.naf.wnd,points:e.naf.points.map(r)},doubles:e.doubles&&{step:e.doubles.step,points:e.doubles.points.map(r)}}}return t}},l.prototype.toJSON=function(){return this.precomputed?[this.x,this.y,this.precomputed&&{doubles:this.precomputed.doubles&&{step:this.precomputed.doubles.step,points:this.precomputed.doubles.points.slice(1)},naf:this.precomputed.naf&&{wnd:this.precomputed.naf.wnd,points:this.precomputed.naf.points.slice(1)}}]:[this.x,this.y]},l.fromJSON=function(e,t,n){"string"==typeof t&&(t=JSON.parse(t));var r=e.point(t[0],t[1],n);if(!t[2])return r;function i(t){return e.point(t[0],t[1],n)}var s=t[2];return r.precomputed={beta:null,doubles:s.doubles&&{step:s.doubles.step,points:[r].concat(s.doubles.points.map(i))},naf:s.naf&&{wnd:s.naf.wnd,points:[r].concat(s.naf.points.map(i))}},r},l.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" y: "+this.y.fromRed().toString(16,2)+">"},l.prototype.isInfinity=function(){return this.inf},l.prototype.add=function(e){if(this.inf)return e;if(e.inf)return this;if(this.eq(e))return this.dbl();if(this.neg().eq(e))return this.curve.point(null,null);if(0===this.x.cmp(e.x))return this.curve.point(null,null);var t=this.y.redSub(e.y);0!==t.cmpn(0)&&(t=t.redMul(this.x.redSub(e.x).redInvm()));var n=t.redSqr().redISub(this.x).redISub(e.x),r=t.redMul(this.x.redSub(n)).redISub(this.y);return this.curve.point(n,r)},l.prototype.dbl=function(){if(this.inf)return this;var e=this.y.redAdd(this.y);if(0===e.cmpn(0))return this.curve.point(null,null);var t=this.curve.a,n=this.x.redSqr(),r=e.redInvm(),i=n.redAdd(n).redIAdd(n).redIAdd(t).redMul(r),s=i.redSqr().redISub(this.x.redAdd(this.x)),o=i.redMul(this.x.redSub(s)).redISub(this.y);return this.curve.point(s,o)},l.prototype.getX=function(){return this.x.fromRed()},l.prototype.getY=function(){return this.y.fromRed()},l.prototype.mul=function(e){return e=new i(e,16),this.isInfinity()?this:this._hasDoubles(e)?this.curve._fixedNafMul(this,e):this.curve.endo?this.curve._endoWnafMulAdd([this],[e]):this.curve._wnafMul(this,e)},l.prototype.mulAdd=function(e,t,n){var r=[this,t],i=[e,n];return this.curve.endo?this.curve._endoWnafMulAdd(r,i):this.curve._wnafMulAdd(1,r,i,2)},l.prototype.jmulAdd=function(e,t,n){var r=[this,t],i=[e,n];return this.curve.endo?this.curve._endoWnafMulAdd(r,i,!0):this.curve._wnafMulAdd(1,r,i,2,!0)},l.prototype.eq=function(e){return this===e||this.inf===e.inf&&(this.inf||0===this.x.cmp(e.x)&&0===this.y.cmp(e.y))},l.prototype.neg=function(e){if(this.inf)return this;var t=this.curve.point(this.x,this.y.redNeg());if(e&&this.precomputed){var n=this.precomputed,r=function(e){return e.neg()};t.precomputed={naf:n.naf&&{wnd:n.naf.wnd,points:n.naf.points.map(r)},doubles:n.doubles&&{step:n.doubles.step,points:n.doubles.points.map(r)}}}return t},l.prototype.toJ=function(){return this.inf?this.curve.jpoint(null,null,null):this.curve.jpoint(this.x,this.y,this.curve.one)},s(u,o.BasePoint),c.prototype.jpoint=function(e,t,n){return new u(this,e,t,n)},u.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var e=this.z.redInvm(),t=e.redSqr(),n=this.x.redMul(t),r=this.y.redMul(t).redMul(e);return this.curve.point(n,r)},u.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},u.prototype.add=function(e){if(this.isInfinity())return e;if(e.isInfinity())return this;var t=e.z.redSqr(),n=this.z.redSqr(),r=this.x.redMul(t),i=e.x.redMul(n),s=this.y.redMul(t.redMul(e.z)),o=e.y.redMul(n.redMul(this.z)),a=r.redSub(i),c=s.redSub(o);if(0===a.cmpn(0))return 0!==c.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var l=a.redSqr(),u=l.redMul(a),h=r.redMul(l),d=c.redSqr().redIAdd(u).redISub(h).redISub(h),f=c.redMul(h.redISub(d)).redISub(s.redMul(u)),p=this.z.redMul(e.z).redMul(a);return this.curve.jpoint(d,f,p)},u.prototype.mixedAdd=function(e){if(this.isInfinity())return e.toJ();if(e.isInfinity())return this;var t=this.z.redSqr(),n=this.x,r=e.x.redMul(t),i=this.y,s=e.y.redMul(t).redMul(this.z),o=n.redSub(r),a=i.redSub(s);if(0===o.cmpn(0))return 0!==a.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var c=o.redSqr(),l=c.redMul(o),u=n.redMul(c),h=a.redSqr().redIAdd(l).redISub(u).redISub(u),d=a.redMul(u.redISub(h)).redISub(i.redMul(l)),f=this.z.redMul(o);return this.curve.jpoint(h,d,f)},u.prototype.dblp=function(e){if(0===e)return this;if(this.isInfinity())return this;if(!e)return this.dbl();if(this.curve.zeroA||this.curve.threeA){for(var t=this,n=0;n<e;n++)t=t.dbl();return t}var r=this.curve.a,i=this.curve.tinv,s=this.x,o=this.y,a=this.z,c=a.redSqr().redSqr(),l=o.redAdd(o);for(n=0;n<e;n++){var u=s.redSqr(),h=l.redSqr(),d=h.redSqr(),f=u.redAdd(u).redIAdd(u).redIAdd(r.redMul(c)),p=s.redMul(h),m=f.redSqr().redISub(p.redAdd(p)),g=p.redISub(m),v=f.redMul(g);v=v.redIAdd(v).redISub(d);var y=l.redMul(a);n+1<e&&(c=c.redMul(d)),s=m,a=y,l=v}return this.curve.jpoint(s,l.redMul(i),a)},u.prototype.dbl=function(){return this.isInfinity()?this:this.curve.zeroA?this._zeroDbl():this.curve.threeA?this._threeDbl():this._dbl()},u.prototype._zeroDbl=function(){var e,t,n;if(this.zOne){var r=this.x.redSqr(),i=this.y.redSqr(),s=i.redSqr(),o=this.x.redAdd(i).redSqr().redISub(r).redISub(s);o=o.redIAdd(o);var a=r.redAdd(r).redIAdd(r),c=a.redSqr().redISub(o).redISub(o),l=s.redIAdd(s);l=(l=l.redIAdd(l)).redIAdd(l),e=c,t=a.redMul(o.redISub(c)).redISub(l),n=this.y.redAdd(this.y)}else{var u=this.x.redSqr(),h=this.y.redSqr(),d=h.redSqr(),f=this.x.redAdd(h).redSqr().redISub(u).redISub(d);f=f.redIAdd(f);var p=u.redAdd(u).redIAdd(u),m=p.redSqr(),g=d.redIAdd(d);g=(g=g.redIAdd(g)).redIAdd(g),e=m.redISub(f).redISub(f),t=p.redMul(f.redISub(e)).redISub(g),n=(n=this.y.redMul(this.z)).redIAdd(n)}return this.curve.jpoint(e,t,n)},u.prototype._threeDbl=function(){var e,t,n;if(this.zOne){var r=this.x.redSqr(),i=this.y.redSqr(),s=i.redSqr(),o=this.x.redAdd(i).redSqr().redISub(r).redISub(s);o=o.redIAdd(o);var a=r.redAdd(r).redIAdd(r).redIAdd(this.curve.a),c=a.redSqr().redISub(o).redISub(o);e=c;var l=s.redIAdd(s);l=(l=l.redIAdd(l)).redIAdd(l),t=a.redMul(o.redISub(c)).redISub(l),n=this.y.redAdd(this.y)}else{var u=this.z.redSqr(),h=this.y.redSqr(),d=this.x.redMul(h),f=this.x.redSub(u).redMul(this.x.redAdd(u));f=f.redAdd(f).redIAdd(f);var p=d.redIAdd(d),m=(p=p.redIAdd(p)).redAdd(p);e=f.redSqr().redISub(m),n=this.y.redAdd(this.z).redSqr().redISub(h).redISub(u);var g=h.redSqr();g=(g=(g=g.redIAdd(g)).redIAdd(g)).redIAdd(g),t=f.redMul(p.redISub(e)).redISub(g)}return this.curve.jpoint(e,t,n)},u.prototype._dbl=function(){var e=this.curve.a,t=this.x,n=this.y,r=this.z,i=r.redSqr().redSqr(),s=t.redSqr(),o=n.redSqr(),a=s.redAdd(s).redIAdd(s).redIAdd(e.redMul(i)),c=t.redAdd(t),l=(c=c.redIAdd(c)).redMul(o),u=a.redSqr().redISub(l.redAdd(l)),h=l.redISub(u),d=o.redSqr();d=(d=(d=d.redIAdd(d)).redIAdd(d)).redIAdd(d);var f=a.redMul(h).redISub(d),p=n.redAdd(n).redMul(r);return this.curve.jpoint(u,f,p)},u.prototype.trpl=function(){if(!this.curve.zeroA)return this.dbl().add(this);var e=this.x.redSqr(),t=this.y.redSqr(),n=this.z.redSqr(),r=t.redSqr(),i=e.redAdd(e).redIAdd(e),s=i.redSqr(),o=this.x.redAdd(t).redSqr().redISub(e).redISub(r),a=(o=(o=(o=o.redIAdd(o)).redAdd(o).redIAdd(o)).redISub(s)).redSqr(),c=r.redIAdd(r);c=(c=(c=c.redIAdd(c)).redIAdd(c)).redIAdd(c);var l=i.redIAdd(o).redSqr().redISub(s).redISub(a).redISub(c),u=t.redMul(l);u=(u=u.redIAdd(u)).redIAdd(u);var h=this.x.redMul(a).redISub(u);h=(h=h.redIAdd(h)).redIAdd(h);var d=this.y.redMul(l.redMul(c.redISub(l)).redISub(o.redMul(a)));d=(d=(d=d.redIAdd(d)).redIAdd(d)).redIAdd(d);var f=this.z.redAdd(o).redSqr().redISub(n).redISub(a);return this.curve.jpoint(h,d,f)},u.prototype.mul=function(e,t){return e=new i(e,t),this.curve._wnafMul(this,e)},u.prototype.eq=function(e){if("affine"===e.type)return this.eq(e.toJ());if(this===e)return!0;var t=this.z.redSqr(),n=e.z.redSqr();if(0!==this.x.redMul(n).redISub(e.x.redMul(t)).cmpn(0))return!1;var r=t.redMul(this.z),i=n.redMul(e.z);return 0===this.y.redMul(i).redISub(e.y.redMul(r)).cmpn(0)},u.prototype.eqXToP=function(e){var t=this.z.redSqr(),n=e.toRed(this.curve.red).redMul(t);if(0===this.x.cmp(n))return!0;for(var r=e.clone(),i=this.curve.redN.redMul(t);;){if(r.iadd(this.curve.n),r.cmp(this.curve.p)>=0)return!1;if(n.redIAdd(i),0===this.x.cmp(n))return!0}},u.prototype.inspect=function(){return this.isInfinity()?"<EC JPoint Infinity>":"<EC JPoint x: "+this.x.toString(16,2)+" y: "+this.y.toString(16,2)+" z: "+this.z.toString(16,2)+">"},u.prototype.isInfinity=function(){return 0===this.z.cmpn(0)}},{"../utils":364,"./base":351,"bn.js":365,inherits:387}],356:[function(e,t,n){"use strict";var r,i=n,s=e("hash.js"),o=e("./curve"),a=e("./utils").assert;function c(e){"short"===e.type?this.curve=new o.short(e):"edwards"===e.type?this.curve=new o.edwards(e):this.curve=new o.mont(e),this.g=this.curve.g,this.n=this.curve.n,this.hash=e.hash,a(this.g.validate(),"Invalid curve"),a(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}function l(e,t){Object.defineProperty(i,e,{configurable:!0,enumerable:!0,get:function(){var n=new c(t);return Object.defineProperty(i,e,{configurable:!0,enumerable:!0,value:n}),n}})}i.PresetCurve=c,l("p192",{type:"short",prime:"p192",p:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff",a:"ffffffff ffffffff ffffffff fffffffe ffffffff fffffffc",b:"64210519 e59c80e7 0fa7e9ab 72243049 feb8deec c146b9b1",n:"ffffffff ffffffff ffffffff 99def836 146bc9b1 b4d22831",hash:s.sha256,gRed:!1,g:["188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012","07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"]}),l("p224",{type:"short",prime:"p224",p:"ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001",a:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff fffffffe",b:"b4050a85 0c04b3ab f5413256 5044b0b7 d7bfd8ba 270b3943 2355ffb4",n:"ffffffff ffffffff ffffffff ffff16a2 e0b8f03e 13dd2945 5c5c2a3d",hash:s.sha256,gRed:!1,g:["b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21","bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34"]}),l("p256",{type:"short",prime:null,p:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff ffffffff",a:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff fffffffc",b:"5ac635d8 aa3a93e7 b3ebbd55 769886bc 651d06b0 cc53b0f6 3bce3c3e 27d2604b",n:"ffffffff 00000000 ffffffff ffffffff bce6faad a7179e84 f3b9cac2 fc632551",hash:s.sha256,gRed:!1,g:["6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296","4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5"]}),l("p384",{type:"short",prime:null,p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 ffffffff",a:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 fffffffc",b:"b3312fa7 e23ee7e4 988e056b e3f82d19 181d9c6e fe814112 0314088f 5013875a c656398d 8a2ed19d 2a85c8ed d3ec2aef",n:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff c7634d81 f4372ddf 581a0db2 48b0a77a ecec196a ccc52973",hash:s.sha384,gRed:!1,g:["aa87ca22 be8b0537 8eb1c71e f320ad74 6e1d3b62 8ba79b98 59f741e0 82542a38 5502f25d bf55296c 3a545e38 72760ab7","3617de4a 96262c6f 5d9e98bf 9292dc29 f8f41dbd 289a147c e9da3113 b5f0b8c0 0a60b1ce 1d7e819d 7a431d7c 90ea0e5f"]}),l("p521",{type:"short",prime:null,p:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff",a:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffc",b:"00000051 953eb961 8e1c9a1f 929a21a0 b68540ee a2da725b 99b315f3 b8b48991 8ef109e1 56193951 ec7e937b 1652c0bd 3bb1bf07 3573df88 3d2c34f1 ef451fd4 6b503f00",n:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffa 51868783 bf2f966b 7fcc0148 f709a5d0 3bb5c9b8 899c47ae bb6fb71e 91386409",hash:s.sha512,gRed:!1,g:["000000c6 858e06b7 0404e9cd 9e3ecb66 2395b442 9c648139 053fb521 f828af60 6b4d3dba a14b5e77 efe75928 fe1dc127 a2ffa8de 3348b3c1 856a429b f97e7e31 c2e5bd66","00000118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd9 98f54449 579b4468 17afbd17 273e662c 97ee7299 5ef42640 c550b901 3fad0761 353c7086 a272c240 88be9476 9fd16650"]}),l("curve25519",{type:"mont",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"76d06",b:"1",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:s.sha256,gRed:!1,g:["9"]}),l("ed25519",{type:"edwards",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"-1",c:"1",d:"52036cee2b6ffe73 8cc740797779e898 00700a4d4141d8ab 75eb4dca135978a3",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:s.sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});try{r=e("./precomputed/secp256k1")}catch(e){r=void 0}l("secp256k1",{type:"short",prime:"k256",p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f",a:"0",b:"7",n:"ffffffff ffffffff ffffffff fffffffe baaedce6 af48a03b bfd25e8c d0364141",h:"1",hash:s.sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",r]})},{"./curve":353,"./precomputed/secp256k1":363,"./utils":364,"hash.js":372}],357:[function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var i=e("bn.js"),s=e("hmac-drbg"),o=e("../utils"),a=e("../curves"),c=e("brorand"),l=o.assert,u=e("./key"),h=e("./signature");function d(e){if(!(this instanceof d))return new d(e);"string"==typeof e&&(l(a.hasOwnProperty(e),"Unknown curve "+e),e=a[e]),e instanceof a.PresetCurve&&(e={curve:e}),this.curve=e.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=e.curve.g,this.g.precompute(e.curve.n.bitLength()+1),this.hash=e.hash||e.curve.hash}t.exports=d,d.prototype.keyPair=function(e){return new u(this,e)},d.prototype.keyFromPrivate=function(e,t){return u.fromPrivate(this,e,t)},d.prototype.keyFromPublic=function(e,t){return u.fromPublic(this,e,t)},d.prototype.genKeyPair=function(e){e||(e={});for(var t=new s({hash:this.hash,pers:e.pers,persEnc:e.persEnc||"utf8",entropy:e.entropy||c(this.hash.hmacStrength),entropyEnc:e.entropy&&e.entropyEnc||"utf8",nonce:this.n.toArray()}),n=this.n.byteLength(),r=this.n.sub(new i(2));;){var o=new i(t.generate(n));if(!(o.cmp(r)>0))return o.iaddn(1),this.keyFromPrivate(o)}},d.prototype._truncateToN=function(e,t){var n=8*e.byteLength()-this.n.bitLength();return n>0&&(e=e.ushrn(n)),!t&&e.cmp(this.n)>=0?e.sub(this.n):e},d.prototype.sign=function(e,t,n,o){"object"===r(n)&&(o=n,n=null),o||(o={}),t=this.keyFromPrivate(t,n),e=this._truncateToN(new i(e,16));for(var a=this.n.byteLength(),c=t.getPrivate().toArray("be",a),l=e.toArray("be",a),u=new s({hash:this.hash,entropy:c,nonce:l,pers:o.pers,persEnc:o.persEnc||"utf8"}),d=this.n.sub(new i(1)),f=0;;f++){var p=o.k?o.k(f):new i(u.generate(this.n.byteLength()));if(!((p=this._truncateToN(p,!0)).cmpn(1)<=0||p.cmp(d)>=0)){var m=this.g.mul(p);if(!m.isInfinity()){var g=m.getX(),v=g.umod(this.n);if(0!==v.cmpn(0)){var y=p.invm(this.n).mul(v.mul(t.getPrivate()).iadd(e));if(0!==(y=y.umod(this.n)).cmpn(0)){var b=(m.getY().isOdd()?1:0)|(0!==g.cmp(v)?2:0);return o.canonical&&y.cmp(this.nh)>0&&(y=this.n.sub(y),b^=1),new h({r:v,s:y,recoveryParam:b})}}}}}},d.prototype.verify=function(e,t,n,r){e=this._truncateToN(new i(e,16)),n=this.keyFromPublic(n,r);var s=(t=new h(t,"hex")).r,o=t.s;if(s.cmpn(1)<0||s.cmp(this.n)>=0)return!1;if(o.cmpn(1)<0||o.cmp(this.n)>=0)return!1;var a,c=o.invm(this.n),l=c.mul(e).umod(this.n),u=c.mul(s).umod(this.n);return this.curve._maxwellTrick?!(a=this.g.jmulAdd(l,n.getPublic(),u)).isInfinity()&&a.eqXToP(s):!(a=this.g.mulAdd(l,n.getPublic(),u)).isInfinity()&&0===a.getX().umod(this.n).cmp(s)},d.prototype.recoverPubKey=function(e,t,n,r){l((3&n)===n,"The recovery param is more than two bits"),t=new h(t,r);var s=this.n,o=new i(e),a=t.r,c=t.s,u=1&n,d=n>>1;if(a.cmp(this.curve.p.umod(this.curve.n))>=0&&d)throw new Error("Unable to find sencond key candinate");a=d?this.curve.pointFromX(a.add(this.curve.n),u):this.curve.pointFromX(a,u);var f=t.r.invm(s),p=s.sub(o).mul(f).umod(s),m=c.mul(f).umod(s);return this.g.mulAdd(p,a,m)},d.prototype.getKeyRecoveryParam=function(e,t,n,r){if(null!==(t=new h(t,r)).recoveryParam)return t.recoveryParam;for(var i=0;i<4;i++){var s;try{s=this.recoverPubKey(e,t,i)}catch(e){continue}if(s.eq(n))return i}throw new Error("Unable to find valid recovery factor")}},{"../curves":356,"../utils":364,"./key":358,"./signature":359,"bn.js":365,brorand:184,"hmac-drbg":384}],358:[function(e,t,n){"use strict";var r=e("bn.js"),i=e("../utils").assert;function s(e,t){this.ec=e,this.priv=null,this.pub=null,t.priv&&this._importPrivate(t.priv,t.privEnc),t.pub&&this._importPublic(t.pub,t.pubEnc)}t.exports=s,s.fromPublic=function(e,t,n){return t instanceof s?t:new s(e,{pub:t,pubEnc:n})},s.fromPrivate=function(e,t,n){return t instanceof s?t:new s(e,{priv:t,privEnc:n})},s.prototype.validate=function(){var e=this.getPublic();return e.isInfinity()?{result:!1,reason:"Invalid public key"}:e.validate()?e.mul(this.ec.curve.n).isInfinity()?{result:!0,reason:null}:{result:!1,reason:"Public key * N != O"}:{result:!1,reason:"Public key is not a point"}},s.prototype.getPublic=function(e,t){return"string"==typeof e&&(t=e,e=null),this.pub||(this.pub=this.ec.g.mul(this.priv)),t?this.pub.encode(t,e):this.pub},s.prototype.getPrivate=function(e){return"hex"===e?this.priv.toString(16,2):this.priv},s.prototype._importPrivate=function(e,t){this.priv=new r(e,t||16),this.priv=this.priv.umod(this.ec.curve.n)},s.prototype._importPublic=function(e,t){if(e.x||e.y)return"mont"===this.ec.curve.type?i(e.x,"Need x coordinate"):"short"!==this.ec.curve.type&&"edwards"!==this.ec.curve.type||i(e.x&&e.y,"Need both x and y coordinate"),void(this.pub=this.ec.curve.point(e.x,e.y));this.pub=this.ec.curve.decodePoint(e,t)},s.prototype.derive=function(e){return e.mul(this.priv).getX()},s.prototype.sign=function(e,t,n){return this.ec.sign(e,this,t,n)},s.prototype.verify=function(e,t){return this.ec.verify(e,t,this)},s.prototype.inspect=function(){return"<Key priv: "+(this.priv&&this.priv.toString(16,2))+" pub: "+(this.pub&&this.pub.inspect())+" >"}},{"../utils":364,"bn.js":365}],359:[function(e,t,n){"use strict";var r=e("bn.js"),i=e("../utils"),s=i.assert;function o(e,t){if(e instanceof o)return e;this._importDER(e,t)||(s(e.r&&e.s,"Signature without r or s"),this.r=new r(e.r,16),this.s=new r(e.s,16),void 0===e.recoveryParam?this.recoveryParam=null:this.recoveryParam=e.recoveryParam)}function a(){this.place=0}function c(e,t){var n=e[t.place++];if(!(128&n))return n;var r=15&n;if(0===r||r>4)return!1;for(var i=0,s=0,o=t.place;s<r;s++,o++)i<<=8,i|=e[o],i>>>=0;return!(i<=127)&&(t.place=o,i)}function l(e){for(var t=0,n=e.length-1;!e[t]&&!(128&e[t+1])&&t<n;)t++;return 0===t?e:e.slice(t)}function u(e,t){if(t<128)e.push(t);else{var n=1+(Math.log(t)/Math.LN2>>>3);for(e.push(128|n);--n;)e.push(t>>>(n<<3)&255);e.push(t)}}t.exports=o,o.prototype._importDER=function(e,t){e=i.toArray(e,t);var n=new a;if(48!==e[n.place++])return!1;var s=c(e,n);if(!1===s)return!1;if(s+n.place!==e.length)return!1;if(2!==e[n.place++])return!1;var o=c(e,n);if(!1===o)return!1;var l=e.slice(n.place,o+n.place);if(n.place+=o,2!==e[n.place++])return!1;var u=c(e,n);if(!1===u)return!1;if(e.length!==u+n.place)return!1;var h=e.slice(n.place,u+n.place);if(0===l[0]){if(!(128&l[1]))return!1;l=l.slice(1)}if(0===h[0]){if(!(128&h[1]))return!1;h=h.slice(1)}return this.r=new r(l),this.s=new r(h),this.recoveryParam=null,!0},o.prototype.toDER=function(e){var t=this.r.toArray(),n=this.s.toArray();for(128&t[0]&&(t=[0].concat(t)),128&n[0]&&(n=[0].concat(n)),t=l(t),n=l(n);!(n[0]||128&n[1]);)n=n.slice(1);var r=[2];u(r,t.length),(r=r.concat(t)).push(2),u(r,n.length);var s=r.concat(n),o=[48];return u(o,s.length),o=o.concat(s),i.encode(o,e)}},{"../utils":364,"bn.js":365}],360:[function(e,t,n){"use strict";var r=e("hash.js"),i=e("../curves"),s=e("../utils"),o=s.assert,a=s.parseBytes,c=e("./key"),l=e("./signature");function u(e){if(o("ed25519"===e,"only tested with ed25519 so far"),!(this instanceof u))return new u(e);e=i[e].curve,this.curve=e,this.g=e.g,this.g.precompute(e.n.bitLength()+1),this.pointClass=e.point().constructor,this.encodingLength=Math.ceil(e.n.bitLength()/8),this.hash=r.sha512}t.exports=u,u.prototype.sign=function(e,t){e=a(e);var n=this.keyFromSecret(t),r=this.hashInt(n.messagePrefix(),e),i=this.g.mul(r),s=this.encodePoint(i),o=this.hashInt(s,n.pubBytes(),e).mul(n.priv()),c=r.add(o).umod(this.curve.n);return this.makeSignature({R:i,S:c,Rencoded:s})},u.prototype.verify=function(e,t,n){e=a(e),t=this.makeSignature(t);var r=this.keyFromPublic(n),i=this.hashInt(t.Rencoded(),r.pubBytes(),e),s=this.g.mul(t.S());return t.R().add(r.pub().mul(i)).eq(s)},u.prototype.hashInt=function(){for(var e=this.hash(),t=0;t<arguments.length;t++)e.update(arguments[t]);return s.intFromLE(e.digest()).umod(this.curve.n)},u.prototype.keyFromPublic=function(e){return c.fromPublic(this,e)},u.prototype.keyFromSecret=function(e){return c.fromSecret(this,e)},u.prototype.makeSignature=function(e){return e instanceof l?e:new l(this,e)},u.prototype.encodePoint=function(e){var t=e.getY().toArray("le",this.encodingLength);return t[this.encodingLength-1]|=e.getX().isOdd()?128:0,t},u.prototype.decodePoint=function(e){var t=(e=s.parseBytes(e)).length-1,n=e.slice(0,t).concat(-129&e[t]),r=0!=(128&e[t]),i=s.intFromLE(n);return this.curve.pointFromY(i,r)},u.prototype.encodeInt=function(e){return e.toArray("le",this.encodingLength)},u.prototype.decodeInt=function(e){return s.intFromLE(e)},u.prototype.isPoint=function(e){return e instanceof this.pointClass}},{"../curves":356,"../utils":364,"./key":361,"./signature":362,"hash.js":372}],361:[function(e,t,n){"use strict";var r=e("../utils"),i=r.assert,s=r.parseBytes,o=r.cachedProperty;function a(e,t){this.eddsa=e,this._secret=s(t.secret),e.isPoint(t.pub)?this._pub=t.pub:this._pubBytes=s(t.pub)}a.fromPublic=function(e,t){return t instanceof a?t:new a(e,{pub:t})},a.fromSecret=function(e,t){return t instanceof a?t:new a(e,{secret:t})},a.prototype.secret=function(){return this._secret},o(a,"pubBytes",function(){return this.eddsa.encodePoint(this.pub())}),o(a,"pub",function(){return this._pubBytes?this.eddsa.decodePoint(this._pubBytes):this.eddsa.g.mul(this.priv())}),o(a,"privBytes",function(){var e=this.eddsa,t=this.hash(),n=e.encodingLength-1,r=t.slice(0,e.encodingLength);return r[0]&=248,r[n]&=127,r[n]|=64,r}),o(a,"priv",function(){return this.eddsa.decodeInt(this.privBytes())}),o(a,"hash",function(){return this.eddsa.hash().update(this.secret()).digest()}),o(a,"messagePrefix",function(){return this.hash().slice(this.eddsa.encodingLength)}),a.prototype.sign=function(e){return i(this._secret,"KeyPair can only verify"),this.eddsa.sign(e,this)},a.prototype.verify=function(e,t){return this.eddsa.verify(e,t,this)},a.prototype.getSecret=function(e){return i(this._secret,"KeyPair is public only"),r.encode(this.secret(),e)},a.prototype.getPublic=function(e){return r.encode(this.pubBytes(),e)},t.exports=a},{"../utils":364}],362:[function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var i=e("bn.js"),s=e("../utils"),o=s.assert,a=s.cachedProperty,c=s.parseBytes;function l(e,t){this.eddsa=e,"object"!==r(t)&&(t=c(t)),Array.isArray(t)&&(t={R:t.slice(0,e.encodingLength),S:t.slice(e.encodingLength)}),o(t.R&&t.S,"Signature without R or S"),e.isPoint(t.R)&&(this._R=t.R),t.S instanceof i&&(this._S=t.S),this._Rencoded=Array.isArray(t.R)?t.R:t.Rencoded,this._Sencoded=Array.isArray(t.S)?t.S:t.Sencoded}a(l,"S",function(){return this.eddsa.decodeInt(this.Sencoded())}),a(l,"R",function(){return this.eddsa.decodePoint(this.Rencoded())}),a(l,"Rencoded",function(){return this.eddsa.encodePoint(this.R())}),a(l,"Sencoded",function(){return this.eddsa.encodeInt(this.S())}),l.prototype.toBytes=function(){return this.Rencoded().concat(this.Sencoded())},l.prototype.toHex=function(){return s.encode(this.toBytes(),"hex").toUpperCase()},t.exports=l},{"../utils":364,"bn.js":365}],363:[function(e,t,n){"use strict";t.exports={doubles:{step:4,points:[["e60fce93b59e9ec53011aabc21c23e97b2a31369b87a5ae9c44ee89e2a6dec0a","f7e3507399e595929db99f34f57937101296891e44d23f0be1f32cce69616821"],["8282263212c609d9ea2a6e3e172de238d8c39cabd5ac1ca10646e23fd5f51508","11f8a8098557dfe45e8256e830b60ace62d613ac2f7b17bed31b6eaff6e26caf"],["175e159f728b865a72f99cc6c6fc846de0b93833fd2222ed73fce5b551e5b739","d3506e0d9e3c79eba4ef97a51ff71f5eacb5955add24345c6efa6ffee9fed695"],["363d90d447b00c9c99ceac05b6262ee053441c7e55552ffe526bad8f83ff4640","4e273adfc732221953b445397f3363145b9a89008199ecb62003c7f3bee9de9"],["8b4b5f165df3c2be8c6244b5b745638843e4a781a15bcd1b69f79a55dffdf80c","4aad0a6f68d308b4b3fbd7813ab0da04f9e336546162ee56b3eff0c65fd4fd36"],["723cbaa6e5db996d6bf771c00bd548c7b700dbffa6c0e77bcb6115925232fcda","96e867b5595cc498a921137488824d6e2660a0653779494801dc069d9eb39f5f"],["eebfa4d493bebf98ba5feec812c2d3b50947961237a919839a533eca0e7dd7fa","5d9a8ca3970ef0f269ee7edaf178089d9ae4cdc3a711f712ddfd4fdae1de8999"],["100f44da696e71672791d0a09b7bde459f1215a29b3c03bfefd7835b39a48db0","cdd9e13192a00b772ec8f3300c090666b7ff4a18ff5195ac0fbd5cd62bc65a09"],["e1031be262c7ed1b1dc9227a4a04c017a77f8d4464f3b3852c8acde6e534fd2d","9d7061928940405e6bb6a4176597535af292dd419e1ced79a44f18f29456a00d"],["feea6cae46d55b530ac2839f143bd7ec5cf8b266a41d6af52d5e688d9094696d","e57c6b6c97dce1bab06e4e12bf3ecd5c981c8957cc41442d3155debf18090088"],["da67a91d91049cdcb367be4be6ffca3cfeed657d808583de33fa978bc1ec6cb1","9bacaa35481642bc41f463f7ec9780e5dec7adc508f740a17e9ea8e27a68be1d"],["53904faa0b334cdda6e000935ef22151ec08d0f7bb11069f57545ccc1a37b7c0","5bc087d0bc80106d88c9eccac20d3c1c13999981e14434699dcb096b022771c8"],["8e7bcd0bd35983a7719cca7764ca906779b53a043a9b8bcaeff959f43ad86047","10b7770b2a3da4b3940310420ca9514579e88e2e47fd68b3ea10047e8460372a"],["385eed34c1cdff21e6d0818689b81bde71a7f4f18397e6690a841e1599c43862","283bebc3e8ea23f56701de19e9ebf4576b304eec2086dc8cc0458fe5542e5453"],["6f9d9b803ecf191637c73a4413dfa180fddf84a5947fbc9c606ed86c3fac3a7","7c80c68e603059ba69b8e2a30e45c4d47ea4dd2f5c281002d86890603a842160"],["3322d401243c4e2582a2147c104d6ecbf774d163db0f5e5313b7e0e742d0e6bd","56e70797e9664ef5bfb019bc4ddaf9b72805f63ea2873af624f3a2e96c28b2a0"],["85672c7d2de0b7da2bd1770d89665868741b3f9af7643397721d74d28134ab83","7c481b9b5b43b2eb6374049bfa62c2e5e77f17fcc5298f44c8e3094f790313a6"],["948bf809b1988a46b06c9f1919413b10f9226c60f668832ffd959af60c82a0a","53a562856dcb6646dc6b74c5d1c3418c6d4dff08c97cd2bed4cb7f88d8c8e589"],["6260ce7f461801c34f067ce0f02873a8f1b0e44dfc69752accecd819f38fd8e8","bc2da82b6fa5b571a7f09049776a1ef7ecd292238051c198c1a84e95b2b4ae17"],["e5037de0afc1d8d43d8348414bbf4103043ec8f575bfdc432953cc8d2037fa2d","4571534baa94d3b5f9f98d09fb990bddbd5f5b03ec481f10e0e5dc841d755bda"],["e06372b0f4a207adf5ea905e8f1771b4e7e8dbd1c6a6c5b725866a0ae4fce725","7a908974bce18cfe12a27bb2ad5a488cd7484a7787104870b27034f94eee31dd"],["213c7a715cd5d45358d0bbf9dc0ce02204b10bdde2a3f58540ad6908d0559754","4b6dad0b5ae462507013ad06245ba190bb4850f5f36a7eeddff2c27534b458f2"],["4e7c272a7af4b34e8dbb9352a5419a87e2838c70adc62cddf0cc3a3b08fbd53c","17749c766c9d0b18e16fd09f6def681b530b9614bff7dd33e0b3941817dcaae6"],["fea74e3dbe778b1b10f238ad61686aa5c76e3db2be43057632427e2840fb27b6","6e0568db9b0b13297cf674deccb6af93126b596b973f7b77701d3db7f23cb96f"],["76e64113f677cf0e10a2570d599968d31544e179b760432952c02a4417bdde39","c90ddf8dee4e95cf577066d70681f0d35e2a33d2b56d2032b4b1752d1901ac01"],["c738c56b03b2abe1e8281baa743f8f9a8f7cc643df26cbee3ab150242bcbb891","893fb578951ad2537f718f2eacbfbbbb82314eef7880cfe917e735d9699a84c3"],["d895626548b65b81e264c7637c972877d1d72e5f3a925014372e9f6588f6c14b","febfaa38f2bc7eae728ec60818c340eb03428d632bb067e179363ed75d7d991f"],["b8da94032a957518eb0f6433571e8761ceffc73693e84edd49150a564f676e03","2804dfa44805a1e4d7c99cc9762808b092cc584d95ff3b511488e4e74efdf6e7"],["e80fea14441fb33a7d8adab9475d7fab2019effb5156a792f1a11778e3c0df5d","eed1de7f638e00771e89768ca3ca94472d155e80af322ea9fcb4291b6ac9ec78"],["a301697bdfcd704313ba48e51d567543f2a182031efd6915ddc07bbcc4e16070","7370f91cfb67e4f5081809fa25d40f9b1735dbf7c0a11a130c0d1a041e177ea1"],["90ad85b389d6b936463f9d0512678de208cc330b11307fffab7ac63e3fb04ed4","e507a3620a38261affdcbd9427222b839aefabe1582894d991d4d48cb6ef150"],["8f68b9d2f63b5f339239c1ad981f162ee88c5678723ea3351b7b444c9ec4c0da","662a9f2dba063986de1d90c2b6be215dbbea2cfe95510bfdf23cbf79501fff82"],["e4f3fb0176af85d65ff99ff9198c36091f48e86503681e3e6686fd5053231e11","1e63633ad0ef4f1c1661a6d0ea02b7286cc7e74ec951d1c9822c38576feb73bc"],["8c00fa9b18ebf331eb961537a45a4266c7034f2f0d4e1d0716fb6eae20eae29e","efa47267fea521a1a9dc343a3736c974c2fadafa81e36c54e7d2a4c66702414b"],["e7a26ce69dd4829f3e10cec0a9e98ed3143d084f308b92c0997fddfc60cb3e41","2a758e300fa7984b471b006a1aafbb18d0a6b2c0420e83e20e8a9421cf2cfd51"],["b6459e0ee3662ec8d23540c223bcbdc571cbcb967d79424f3cf29eb3de6b80ef","67c876d06f3e06de1dadf16e5661db3c4b3ae6d48e35b2ff30bf0b61a71ba45"],["d68a80c8280bb840793234aa118f06231d6f1fc67e73c5a5deda0f5b496943e8","db8ba9fff4b586d00c4b1f9177b0e28b5b0e7b8f7845295a294c84266b133120"],["324aed7df65c804252dc0270907a30b09612aeb973449cea4095980fc28d3d5d","648a365774b61f2ff130c0c35aec1f4f19213b0c7e332843967224af96ab7c84"],["4df9c14919cde61f6d51dfdbe5fee5dceec4143ba8d1ca888e8bd373fd054c96","35ec51092d8728050974c23a1d85d4b5d506cdc288490192ebac06cad10d5d"],["9c3919a84a474870faed8a9c1cc66021523489054d7f0308cbfc99c8ac1f98cd","ddb84f0f4a4ddd57584f044bf260e641905326f76c64c8e6be7e5e03d4fc599d"],["6057170b1dd12fdf8de05f281d8e06bb91e1493a8b91d4cc5a21382120a959e5","9a1af0b26a6a4807add9a2daf71df262465152bc3ee24c65e899be932385a2a8"],["a576df8e23a08411421439a4518da31880cef0fba7d4df12b1a6973eecb94266","40a6bf20e76640b2c92b97afe58cd82c432e10a7f514d9f3ee8be11ae1b28ec8"],["7778a78c28dec3e30a05fe9629de8c38bb30d1f5cf9a3a208f763889be58ad71","34626d9ab5a5b22ff7098e12f2ff580087b38411ff24ac563b513fc1fd9f43ac"],["928955ee637a84463729fd30e7afd2ed5f96274e5ad7e5cb09eda9c06d903ac","c25621003d3f42a827b78a13093a95eeac3d26efa8a8d83fc5180e935bcd091f"],["85d0fef3ec6db109399064f3a0e3b2855645b4a907ad354527aae75163d82751","1f03648413a38c0be29d496e582cf5663e8751e96877331582c237a24eb1f962"],["ff2b0dce97eece97c1c9b6041798b85dfdfb6d8882da20308f5404824526087e","493d13fef524ba188af4c4dc54d07936c7b7ed6fb90e2ceb2c951e01f0c29907"],["827fbbe4b1e880ea9ed2b2e6301b212b57f1ee148cd6dd28780e5e2cf856e241","c60f9c923c727b0b71bef2c67d1d12687ff7a63186903166d605b68baec293ec"],["eaa649f21f51bdbae7be4ae34ce6e5217a58fdce7f47f9aa7f3b58fa2120e2b3","be3279ed5bbbb03ac69a80f89879aa5a01a6b965f13f7e59d47a5305ba5ad93d"],["e4a42d43c5cf169d9391df6decf42ee541b6d8f0c9a137401e23632dda34d24f","4d9f92e716d1c73526fc99ccfb8ad34ce886eedfa8d8e4f13a7f7131deba9414"],["1ec80fef360cbdd954160fadab352b6b92b53576a88fea4947173b9d4300bf19","aeefe93756b5340d2f3a4958a7abbf5e0146e77f6295a07b671cdc1cc107cefd"],["146a778c04670c2f91b00af4680dfa8bce3490717d58ba889ddb5928366642be","b318e0ec3354028add669827f9d4b2870aaa971d2f7e5ed1d0b297483d83efd0"],["fa50c0f61d22e5f07e3acebb1aa07b128d0012209a28b9776d76a8793180eef9","6b84c6922397eba9b72cd2872281a68a5e683293a57a213b38cd8d7d3f4f2811"],["da1d61d0ca721a11b1a5bf6b7d88e8421a288ab5d5bba5220e53d32b5f067ec2","8157f55a7c99306c79c0766161c91e2966a73899d279b48a655fba0f1ad836f1"],["a8e282ff0c9706907215ff98e8fd416615311de0446f1e062a73b0610d064e13","7f97355b8db81c09abfb7f3c5b2515888b679a3e50dd6bd6cef7c73111f4cc0c"],["174a53b9c9a285872d39e56e6913cab15d59b1fa512508c022f382de8319497c","ccc9dc37abfc9c1657b4155f2c47f9e6646b3a1d8cb9854383da13ac079afa73"],["959396981943785c3d3e57edf5018cdbe039e730e4918b3d884fdff09475b7ba","2e7e552888c331dd8ba0386a4b9cd6849c653f64c8709385e9b8abf87524f2fd"],["d2a63a50ae401e56d645a1153b109a8fcca0a43d561fba2dbb51340c9d82b151","e82d86fb6443fcb7565aee58b2948220a70f750af484ca52d4142174dcf89405"],["64587e2335471eb890ee7896d7cfdc866bacbdbd3839317b3436f9b45617e073","d99fcdd5bf6902e2ae96dd6447c299a185b90a39133aeab358299e5e9faf6589"],["8481bde0e4e4d885b3a546d3e549de042f0aa6cea250e7fd358d6c86dd45e458","38ee7b8cba5404dd84a25bf39cecb2ca900a79c42b262e556d64b1b59779057e"],["13464a57a78102aa62b6979ae817f4637ffcfed3c4b1ce30bcd6303f6caf666b","69be159004614580ef7e433453ccb0ca48f300a81d0942e13f495a907f6ecc27"],["bc4a9df5b713fe2e9aef430bcc1dc97a0cd9ccede2f28588cada3a0d2d83f366","d3a81ca6e785c06383937adf4b798caa6e8a9fbfa547b16d758d666581f33c1"],["8c28a97bf8298bc0d23d8c749452a32e694b65e30a9472a3954ab30fe5324caa","40a30463a3305193378fedf31f7cc0eb7ae784f0451cb9459e71dc73cbef9482"],["8ea9666139527a8c1dd94ce4f071fd23c8b350c5a4bb33748c4ba111faccae0","620efabbc8ee2782e24e7c0cfb95c5d735b783be9cf0f8e955af34a30e62b945"],["dd3625faef5ba06074669716bbd3788d89bdde815959968092f76cc4eb9a9787","7a188fa3520e30d461da2501045731ca941461982883395937f68d00c644a573"],["f710d79d9eb962297e4f6232b40e8f7feb2bc63814614d692c12de752408221e","ea98e67232d3b3295d3b535532115ccac8612c721851617526ae47a9c77bfc82"]]},naf:{wnd:7,points:[["f9308a019258c31049344f85f89d5229b531c845836f99b08601f113bce036f9","388f7b0f632de8140fe337e62a37f3566500a99934c2231b6cb9fd7584b8e672"],["2f8bde4d1a07209355b4a7250a5c5128e88b84bddc619ab7cba8d569b240efe4","d8ac222636e5e3d6d4dba9dda6c9c426f788271bab0d6840dca87d3aa6ac62d6"],["5cbdf0646e5db4eaa398f365f2ea7a0e3d419b7e0330e39ce92bddedcac4f9bc","6aebca40ba255960a3178d6d861a54dba813d0b813fde7b5a5082628087264da"],["acd484e2f0c7f65309ad178a9f559abde09796974c57e714c35f110dfc27ccbe","cc338921b0a7d9fd64380971763b61e9add888a4375f8e0f05cc262ac64f9c37"],["774ae7f858a9411e5ef4246b70c65aac5649980be5c17891bbec17895da008cb","d984a032eb6b5e190243dd56d7b7b365372db1e2dff9d6a8301d74c9c953c61b"],["f28773c2d975288bc7d1d205c3748651b075fbc6610e58cddeeddf8f19405aa8","ab0902e8d880a89758212eb65cdaf473a1a06da521fa91f29b5cb52db03ed81"],["d7924d4f7d43ea965a465ae3095ff41131e5946f3c85f79e44adbcf8e27e080e","581e2872a86c72a683842ec228cc6defea40af2bd896d3a5c504dc9ff6a26b58"],["defdea4cdb677750a420fee807eacf21eb9898ae79b9768766e4faa04a2d4a34","4211ab0694635168e997b0ead2a93daeced1f4a04a95c0f6cfb199f69e56eb77"],["2b4ea0a797a443d293ef5cff444f4979f06acfebd7e86d277475656138385b6c","85e89bc037945d93b343083b5a1c86131a01f60c50269763b570c854e5c09b7a"],["352bbf4a4cdd12564f93fa332ce333301d9ad40271f8107181340aef25be59d5","321eb4075348f534d59c18259dda3e1f4a1b3b2e71b1039c67bd3d8bcf81998c"],["2fa2104d6b38d11b0230010559879124e42ab8dfeff5ff29dc9cdadd4ecacc3f","2de1068295dd865b64569335bd5dd80181d70ecfc882648423ba76b532b7d67"],["9248279b09b4d68dab21a9b066edda83263c3d84e09572e269ca0cd7f5453714","73016f7bf234aade5d1aa71bdea2b1ff3fc0de2a887912ffe54a32ce97cb3402"],["daed4f2be3a8bf278e70132fb0beb7522f570e144bf615c07e996d443dee8729","a69dce4a7d6c98e8d4a1aca87ef8d7003f83c230f3afa726ab40e52290be1c55"],["c44d12c7065d812e8acf28d7cbb19f9011ecd9e9fdf281b0e6a3b5e87d22e7db","2119a460ce326cdc76c45926c982fdac0e106e861edf61c5a039063f0e0e6482"],["6a245bf6dc698504c89a20cfded60853152b695336c28063b61c65cbd269e6b4","e022cf42c2bd4a708b3f5126f16a24ad8b33ba48d0423b6efd5e6348100d8a82"],["1697ffa6fd9de627c077e3d2fe541084ce13300b0bec1146f95ae57f0d0bd6a5","b9c398f186806f5d27561506e4557433a2cf15009e498ae7adee9d63d01b2396"],["605bdb019981718b986d0f07e834cb0d9deb8360ffb7f61df982345ef27a7479","2972d2de4f8d20681a78d93ec96fe23c26bfae84fb14db43b01e1e9056b8c49"],["62d14dab4150bf497402fdc45a215e10dcb01c354959b10cfe31c7e9d87ff33d","80fc06bd8cc5b01098088a1950eed0db01aa132967ab472235f5642483b25eaf"],["80c60ad0040f27dade5b4b06c408e56b2c50e9f56b9b8b425e555c2f86308b6f","1c38303f1cc5c30f26e66bad7fe72f70a65eed4cbe7024eb1aa01f56430bd57a"],["7a9375ad6167ad54aa74c6348cc54d344cc5dc9487d847049d5eabb0fa03c8fb","d0e3fa9eca8726909559e0d79269046bdc59ea10c70ce2b02d499ec224dc7f7"],["d528ecd9b696b54c907a9ed045447a79bb408ec39b68df504bb51f459bc3ffc9","eecf41253136e5f99966f21881fd656ebc4345405c520dbc063465b521409933"],["49370a4b5f43412ea25f514e8ecdad05266115e4a7ecb1387231808f8b45963","758f3f41afd6ed428b3081b0512fd62a54c3f3afbb5b6764b653052a12949c9a"],["77f230936ee88cbbd73df930d64702ef881d811e0e1498e2f1c13eb1fc345d74","958ef42a7886b6400a08266e9ba1b37896c95330d97077cbbe8eb3c7671c60d6"],["f2dac991cc4ce4b9ea44887e5c7c0bce58c80074ab9d4dbaeb28531b7739f530","e0dedc9b3b2f8dad4da1f32dec2531df9eb5fbeb0598e4fd1a117dba703a3c37"],["463b3d9f662621fb1b4be8fbbe2520125a216cdfc9dae3debcba4850c690d45b","5ed430d78c296c3543114306dd8622d7c622e27c970a1de31cb377b01af7307e"],["f16f804244e46e2a09232d4aff3b59976b98fac14328a2d1a32496b49998f247","cedabd9b82203f7e13d206fcdf4e33d92a6c53c26e5cce26d6579962c4e31df6"],["caf754272dc84563b0352b7a14311af55d245315ace27c65369e15f7151d41d1","cb474660ef35f5f2a41b643fa5e460575f4fa9b7962232a5c32f908318a04476"],["2600ca4b282cb986f85d0f1709979d8b44a09c07cb86d7c124497bc86f082120","4119b88753c15bd6a693b03fcddbb45d5ac6be74ab5f0ef44b0be9475a7e4b40"],["7635ca72d7e8432c338ec53cd12220bc01c48685e24f7dc8c602a7746998e435","91b649609489d613d1d5e590f78e6d74ecfc061d57048bad9e76f302c5b9c61"],["754e3239f325570cdbbf4a87deee8a66b7f2b33479d468fbc1a50743bf56cc18","673fb86e5bda30fb3cd0ed304ea49a023ee33d0197a695d0c5d98093c536683"],["e3e6bd1071a1e96aff57859c82d570f0330800661d1c952f9fe2694691d9b9e8","59c9e0bba394e76f40c0aa58379a3cb6a5a2283993e90c4167002af4920e37f5"],["186b483d056a033826ae73d88f732985c4ccb1f32ba35f4b4cc47fdcf04aa6eb","3b952d32c67cf77e2e17446e204180ab21fb8090895138b4a4a797f86e80888b"],["df9d70a6b9876ce544c98561f4be4f725442e6d2b737d9c91a8321724ce0963f","55eb2dafd84d6ccd5f862b785dc39d4ab157222720ef9da217b8c45cf2ba2417"],["5edd5cc23c51e87a497ca815d5dce0f8ab52554f849ed8995de64c5f34ce7143","efae9c8dbc14130661e8cec030c89ad0c13c66c0d17a2905cdc706ab7399a868"],["290798c2b6476830da12fe02287e9e777aa3fba1c355b17a722d362f84614fba","e38da76dcd440621988d00bcf79af25d5b29c094db2a23146d003afd41943e7a"],["af3c423a95d9f5b3054754efa150ac39cd29552fe360257362dfdecef4053b45","f98a3fd831eb2b749a93b0e6f35cfb40c8cd5aa667a15581bc2feded498fd9c6"],["766dbb24d134e745cccaa28c99bf274906bb66b26dcf98df8d2fed50d884249a","744b1152eacbe5e38dcc887980da38b897584a65fa06cedd2c924f97cbac5996"],["59dbf46f8c94759ba21277c33784f41645f7b44f6c596a58ce92e666191abe3e","c534ad44175fbc300f4ea6ce648309a042ce739a7919798cd85e216c4a307f6e"],["f13ada95103c4537305e691e74e9a4a8dd647e711a95e73cb62dc6018cfd87b8","e13817b44ee14de663bf4bc808341f326949e21a6a75c2570778419bdaf5733d"],["7754b4fa0e8aced06d4167a2c59cca4cda1869c06ebadfb6488550015a88522c","30e93e864e669d82224b967c3020b8fa8d1e4e350b6cbcc537a48b57841163a2"],["948dcadf5990e048aa3874d46abef9d701858f95de8041d2a6828c99e2262519","e491a42537f6e597d5d28a3224b1bc25df9154efbd2ef1d2cbba2cae5347d57e"],["7962414450c76c1689c7b48f8202ec37fb224cf5ac0bfa1570328a8a3d7c77ab","100b610ec4ffb4760d5c1fc133ef6f6b12507a051f04ac5760afa5b29db83437"],["3514087834964b54b15b160644d915485a16977225b8847bb0dd085137ec47ca","ef0afbb2056205448e1652c48e8127fc6039e77c15c2378b7e7d15a0de293311"],["d3cc30ad6b483e4bc79ce2c9dd8bc54993e947eb8df787b442943d3f7b527eaf","8b378a22d827278d89c5e9be8f9508ae3c2ad46290358630afb34db04eede0a4"],["1624d84780732860ce1c78fcbfefe08b2b29823db913f6493975ba0ff4847610","68651cf9b6da903e0914448c6cd9d4ca896878f5282be4c8cc06e2a404078575"],["733ce80da955a8a26902c95633e62a985192474b5af207da6df7b4fd5fc61cd4","f5435a2bd2badf7d485a4d8b8db9fcce3e1ef8e0201e4578c54673bc1dc5ea1d"],["15d9441254945064cf1a1c33bbd3b49f8966c5092171e699ef258dfab81c045c","d56eb30b69463e7234f5137b73b84177434800bacebfc685fc37bbe9efe4070d"],["a1d0fcf2ec9de675b612136e5ce70d271c21417c9d2b8aaaac138599d0717940","edd77f50bcb5a3cab2e90737309667f2641462a54070f3d519212d39c197a629"],["e22fbe15c0af8ccc5780c0735f84dbe9a790badee8245c06c7ca37331cb36980","a855babad5cd60c88b430a69f53a1a7a38289154964799be43d06d77d31da06"],["311091dd9860e8e20ee13473c1155f5f69635e394704eaa74009452246cfa9b3","66db656f87d1f04fffd1f04788c06830871ec5a64feee685bd80f0b1286d8374"],["34c1fd04d301be89b31c0442d3e6ac24883928b45a9340781867d4232ec2dbdf","9414685e97b1b5954bd46f730174136d57f1ceeb487443dc5321857ba73abee"],["f219ea5d6b54701c1c14de5b557eb42a8d13f3abbcd08affcc2a5e6b049b8d63","4cb95957e83d40b0f73af4544cccf6b1f4b08d3c07b27fb8d8c2962a400766d1"],["d7b8740f74a8fbaab1f683db8f45de26543a5490bca627087236912469a0b448","fa77968128d9c92ee1010f337ad4717eff15db5ed3c049b3411e0315eaa4593b"],["32d31c222f8f6f0ef86f7c98d3a3335ead5bcd32abdd94289fe4d3091aa824bf","5f3032f5892156e39ccd3d7915b9e1da2e6dac9e6f26e961118d14b8462e1661"],["7461f371914ab32671045a155d9831ea8793d77cd59592c4340f86cbc18347b5","8ec0ba238b96bec0cbdddcae0aa442542eee1ff50c986ea6b39847b3cc092ff6"],["ee079adb1df1860074356a25aa38206a6d716b2c3e67453d287698bad7b2b2d6","8dc2412aafe3be5c4c5f37e0ecc5f9f6a446989af04c4e25ebaac479ec1c8c1e"],["16ec93e447ec83f0467b18302ee620f7e65de331874c9dc72bfd8616ba9da6b5","5e4631150e62fb40d0e8c2a7ca5804a39d58186a50e497139626778e25b0674d"],["eaa5f980c245f6f038978290afa70b6bd8855897f98b6aa485b96065d537bd99","f65f5d3e292c2e0819a528391c994624d784869d7e6ea67fb18041024edc07dc"],["78c9407544ac132692ee1910a02439958ae04877151342ea96c4b6b35a49f51","f3e0319169eb9b85d5404795539a5e68fa1fbd583c064d2462b675f194a3ddb4"],["494f4be219a1a77016dcd838431aea0001cdc8ae7a6fc688726578d9702857a5","42242a969283a5f339ba7f075e36ba2af925ce30d767ed6e55f4b031880d562c"],["a598a8030da6d86c6bc7f2f5144ea549d28211ea58faa70ebf4c1e665c1fe9b5","204b5d6f84822c307e4b4a7140737aec23fc63b65b35f86a10026dbd2d864e6b"],["c41916365abb2b5d09192f5f2dbeafec208f020f12570a184dbadc3e58595997","4f14351d0087efa49d245b328984989d5caf9450f34bfc0ed16e96b58fa9913"],["841d6063a586fa475a724604da03bc5b92a2e0d2e0a36acfe4c73a5514742881","73867f59c0659e81904f9a1c7543698e62562d6744c169ce7a36de01a8d6154"],["5e95bb399a6971d376026947f89bde2f282b33810928be4ded112ac4d70e20d5","39f23f366809085beebfc71181313775a99c9aed7d8ba38b161384c746012865"],["36e4641a53948fd476c39f8a99fd974e5ec07564b5315d8bf99471bca0ef2f66","d2424b1b1abe4eb8164227b085c9aa9456ea13493fd563e06fd51cf5694c78fc"],["336581ea7bfbbb290c191a2f507a41cf5643842170e914faeab27c2c579f726","ead12168595fe1be99252129b6e56b3391f7ab1410cd1e0ef3dcdcabd2fda224"],["8ab89816dadfd6b6a1f2634fcf00ec8403781025ed6890c4849742706bd43ede","6fdcef09f2f6d0a044e654aef624136f503d459c3e89845858a47a9129cdd24e"],["1e33f1a746c9c5778133344d9299fcaa20b0938e8acff2544bb40284b8c5fb94","60660257dd11b3aa9c8ed618d24edff2306d320f1d03010e33a7d2057f3b3b6"],["85b7c1dcb3cec1b7ee7f30ded79dd20a0ed1f4cc18cbcfcfa410361fd8f08f31","3d98a9cdd026dd43f39048f25a8847f4fcafad1895d7a633c6fed3c35e999511"],["29df9fbd8d9e46509275f4b125d6d45d7fbe9a3b878a7af872a2800661ac5f51","b4c4fe99c775a606e2d8862179139ffda61dc861c019e55cd2876eb2a27d84b"],["a0b1cae06b0a847a3fea6e671aaf8adfdfe58ca2f768105c8082b2e449fce252","ae434102edde0958ec4b19d917a6a28e6b72da1834aff0e650f049503a296cf2"],["4e8ceafb9b3e9a136dc7ff67e840295b499dfb3b2133e4ba113f2e4c0e121e5","cf2174118c8b6d7a4b48f6d534ce5c79422c086a63460502b827ce62a326683c"],["d24a44e047e19b6f5afb81c7ca2f69080a5076689a010919f42725c2b789a33b","6fb8d5591b466f8fc63db50f1c0f1c69013f996887b8244d2cdec417afea8fa3"],["ea01606a7a6c9cdd249fdfcfacb99584001edd28abbab77b5104e98e8e3b35d4","322af4908c7312b0cfbfe369f7a7b3cdb7d4494bc2823700cfd652188a3ea98d"],["af8addbf2b661c8a6c6328655eb96651252007d8c5ea31be4ad196de8ce2131f","6749e67c029b85f52a034eafd096836b2520818680e26ac8f3dfbcdb71749700"],["e3ae1974566ca06cc516d47e0fb165a674a3dabcfca15e722f0e3450f45889","2aeabe7e4531510116217f07bf4d07300de97e4874f81f533420a72eeb0bd6a4"],["591ee355313d99721cf6993ffed1e3e301993ff3ed258802075ea8ced397e246","b0ea558a113c30bea60fc4775460c7901ff0b053d25ca2bdeee98f1a4be5d196"],["11396d55fda54c49f19aa97318d8da61fa8584e47b084945077cf03255b52984","998c74a8cd45ac01289d5833a7beb4744ff536b01b257be4c5767bea93ea57a4"],["3c5d2a1ba39c5a1790000738c9e0c40b8dcdfd5468754b6405540157e017aa7a","b2284279995a34e2f9d4de7396fc18b80f9b8b9fdd270f6661f79ca4c81bd257"],["cc8704b8a60a0defa3a99a7299f2e9c3fbc395afb04ac078425ef8a1793cc030","bdd46039feed17881d1e0862db347f8cf395b74fc4bcdc4e940b74e3ac1f1b13"],["c533e4f7ea8555aacd9777ac5cad29b97dd4defccc53ee7ea204119b2889b197","6f0a256bc5efdf429a2fb6242f1a43a2d9b925bb4a4b3a26bb8e0f45eb596096"],["c14f8f2ccb27d6f109f6d08d03cc96a69ba8c34eec07bbcf566d48e33da6593","c359d6923bb398f7fd4473e16fe1c28475b740dd098075e6c0e8649113dc3a38"],["a6cbc3046bc6a450bac24789fa17115a4c9739ed75f8f21ce441f72e0b90e6ef","21ae7f4680e889bb130619e2c0f95a360ceb573c70603139862afd617fa9b9f"],["347d6d9a02c48927ebfb86c1359b1caf130a3c0267d11ce6344b39f99d43cc38","60ea7f61a353524d1c987f6ecec92f086d565ab687870cb12689ff1e31c74448"],["da6545d2181db8d983f7dcb375ef5866d47c67b1bf31c8cf855ef7437b72656a","49b96715ab6878a79e78f07ce5680c5d6673051b4935bd897fea824b77dc208a"],["c40747cc9d012cb1a13b8148309c6de7ec25d6945d657146b9d5994b8feb1111","5ca560753be2a12fc6de6caf2cb489565db936156b9514e1bb5e83037e0fa2d4"],["4e42c8ec82c99798ccf3a610be870e78338c7f713348bd34c8203ef4037f3502","7571d74ee5e0fb92a7a8b33a07783341a5492144cc54bcc40a94473693606437"],["3775ab7089bc6af823aba2e1af70b236d251cadb0c86743287522a1b3b0dedea","be52d107bcfa09d8bcb9736a828cfa7fac8db17bf7a76a2c42ad961409018cf7"],["cee31cbf7e34ec379d94fb814d3d775ad954595d1314ba8846959e3e82f74e26","8fd64a14c06b589c26b947ae2bcf6bfa0149ef0be14ed4d80f448a01c43b1c6d"],["b4f9eaea09b6917619f6ea6a4eb5464efddb58fd45b1ebefcdc1a01d08b47986","39e5c9925b5a54b07433a4f18c61726f8bb131c012ca542eb24a8ac07200682a"],["d4263dfc3d2df923a0179a48966d30ce84e2515afc3dccc1b77907792ebcc60e","62dfaf07a0f78feb30e30d6295853ce189e127760ad6cf7fae164e122a208d54"],["48457524820fa65a4f8d35eb6930857c0032acc0a4a2de422233eeda897612c4","25a748ab367979d98733c38a1fa1c2e7dc6cc07db2d60a9ae7a76aaa49bd0f77"],["dfeeef1881101f2cb11644f3a2afdfc2045e19919152923f367a1767c11cceda","ecfb7056cf1de042f9420bab396793c0c390bde74b4bbdff16a83ae09a9a7517"],["6d7ef6b17543f8373c573f44e1f389835d89bcbc6062ced36c82df83b8fae859","cd450ec335438986dfefa10c57fea9bcc521a0959b2d80bbf74b190dca712d10"],["e75605d59102a5a2684500d3b991f2e3f3c88b93225547035af25af66e04541f","f5c54754a8f71ee540b9b48728473e314f729ac5308b06938360990e2bfad125"],["eb98660f4c4dfaa06a2be453d5020bc99a0c2e60abe388457dd43fefb1ed620c","6cb9a8876d9cb8520609af3add26cd20a0a7cd8a9411131ce85f44100099223e"],["13e87b027d8514d35939f2e6892b19922154596941888336dc3563e3b8dba942","fef5a3c68059a6dec5d624114bf1e91aac2b9da568d6abeb2570d55646b8adf1"],["ee163026e9fd6fe017c38f06a5be6fc125424b371ce2708e7bf4491691e5764a","1acb250f255dd61c43d94ccc670d0f58f49ae3fa15b96623e5430da0ad6c62b2"],["b268f5ef9ad51e4d78de3a750c2dc89b1e626d43505867999932e5db33af3d80","5f310d4b3c99b9ebb19f77d41c1dee018cf0d34fd4191614003e945a1216e423"],["ff07f3118a9df035e9fad85eb6c7bfe42b02f01ca99ceea3bf7ffdba93c4750d","438136d603e858a3a5c440c38eccbaddc1d2942114e2eddd4740d098ced1f0d8"],["8d8b9855c7c052a34146fd20ffb658bea4b9f69e0d825ebec16e8c3ce2b526a1","cdb559eedc2d79f926baf44fb84ea4d44bcf50fee51d7ceb30e2e7f463036758"],["52db0b5384dfbf05bfa9d472d7ae26dfe4b851ceca91b1eba54263180da32b63","c3b997d050ee5d423ebaf66a6db9f57b3180c902875679de924b69d84a7b375"],["e62f9490d3d51da6395efd24e80919cc7d0f29c3f3fa48c6fff543becbd43352","6d89ad7ba4876b0b22c2ca280c682862f342c8591f1daf5170e07bfd9ccafa7d"],["7f30ea2476b399b4957509c88f77d0191afa2ff5cb7b14fd6d8e7d65aaab1193","ca5ef7d4b231c94c3b15389a5f6311e9daff7bb67b103e9880ef4bff637acaec"],["5098ff1e1d9f14fb46a210fada6c903fef0fb7b4a1dd1d9ac60a0361800b7a00","9731141d81fc8f8084d37c6e7542006b3ee1b40d60dfe5362a5b132fd17ddc0"],["32b78c7de9ee512a72895be6b9cbefa6e2f3c4ccce445c96b9f2c81e2778ad58","ee1849f513df71e32efc3896ee28260c73bb80547ae2275ba497237794c8753c"],["e2cb74fddc8e9fbcd076eef2a7c72b0ce37d50f08269dfc074b581550547a4f7","d3aa2ed71c9dd2247a62df062736eb0baddea9e36122d2be8641abcb005cc4a4"],["8438447566d4d7bedadc299496ab357426009a35f235cb141be0d99cd10ae3a8","c4e1020916980a4da5d01ac5e6ad330734ef0d7906631c4f2390426b2edd791f"],["4162d488b89402039b584c6fc6c308870587d9c46f660b878ab65c82c711d67e","67163e903236289f776f22c25fb8a3afc1732f2b84b4e95dbda47ae5a0852649"],["3fad3fa84caf0f34f0f89bfd2dcf54fc175d767aec3e50684f3ba4a4bf5f683d","cd1bc7cb6cc407bb2f0ca647c718a730cf71872e7d0d2a53fa20efcdfe61826"],["674f2600a3007a00568c1a7ce05d0816c1fb84bf1370798f1c69532faeb1a86b","299d21f9413f33b3edf43b257004580b70db57da0b182259e09eecc69e0d38a5"],["d32f4da54ade74abb81b815ad1fb3b263d82d6c692714bcff87d29bd5ee9f08f","f9429e738b8e53b968e99016c059707782e14f4535359d582fc416910b3eea87"],["30e4e670435385556e593657135845d36fbb6931f72b08cb1ed954f1e3ce3ff6","462f9bce619898638499350113bbc9b10a878d35da70740dc695a559eb88db7b"],["be2062003c51cc3004682904330e4dee7f3dcd10b01e580bf1971b04d4cad297","62188bc49d61e5428573d48a74e1c655b1c61090905682a0d5558ed72dccb9bc"],["93144423ace3451ed29e0fb9ac2af211cb6e84a601df5993c419859fff5df04a","7c10dfb164c3425f5c71a3f9d7992038f1065224f72bb9d1d902a6d13037b47c"],["b015f8044f5fcbdcf21ca26d6c34fb8197829205c7b7d2a7cb66418c157b112c","ab8c1e086d04e813744a655b2df8d5f83b3cdc6faa3088c1d3aea1454e3a1d5f"],["d5e9e1da649d97d89e4868117a465a3a4f8a18de57a140d36b3f2af341a21b52","4cb04437f391ed73111a13cc1d4dd0db1693465c2240480d8955e8592f27447a"],["d3ae41047dd7ca065dbf8ed77b992439983005cd72e16d6f996a5316d36966bb","bd1aeb21ad22ebb22a10f0303417c6d964f8cdd7df0aca614b10dc14d125ac46"],["463e2763d885f958fc66cdd22800f0a487197d0a82e377b49f80af87c897b065","bfefacdb0e5d0fd7df3a311a94de062b26b80c61fbc97508b79992671ef7ca7f"],["7985fdfd127c0567c6f53ec1bb63ec3158e597c40bfe747c83cddfc910641917","603c12daf3d9862ef2b25fe1de289aed24ed291e0ec6708703a5bd567f32ed03"],["74a1ad6b5f76e39db2dd249410eac7f99e74c59cb83d2d0ed5ff1543da7703e9","cc6157ef18c9c63cd6193d83631bbea0093e0968942e8c33d5737fd790e0db08"],["30682a50703375f602d416664ba19b7fc9bab42c72747463a71d0896b22f6da3","553e04f6b018b4fa6c8f39e7f311d3176290d0e0f19ca73f17714d9977a22ff8"],["9e2158f0d7c0d5f26c3791efefa79597654e7a2b2464f52b1ee6c1347769ef57","712fcdd1b9053f09003a3481fa7762e9ffd7c8ef35a38509e2fbf2629008373"],["176e26989a43c9cfeba4029c202538c28172e566e3c4fce7322857f3be327d66","ed8cc9d04b29eb877d270b4878dc43c19aefd31f4eee09ee7b47834c1fa4b1c3"],["75d46efea3771e6e68abb89a13ad747ecf1892393dfc4f1b7004788c50374da8","9852390a99507679fd0b86fd2b39a868d7efc22151346e1a3ca4726586a6bed8"],["809a20c67d64900ffb698c4c825f6d5f2310fb0451c869345b7319f645605721","9e994980d9917e22b76b061927fa04143d096ccc54963e6a5ebfa5f3f8e286c1"],["1b38903a43f7f114ed4500b4eac7083fdefece1cf29c63528d563446f972c180","4036edc931a60ae889353f77fd53de4a2708b26b6f5da72ad3394119daf408f9"]]}}},{}],364:[function(e,t,n){"use strict";var r=n,i=e("bn.js"),s=e("minimalistic-assert"),o=e("minimalistic-crypto-utils");r.assert=s,r.toArray=o.toArray,r.zero2=o.zero2,r.toHex=o.toHex,r.encode=o.encode,r.getNAF=function(e,t,n){var r=new Array(Math.max(e.bitLength(),n)+1);r.fill(0);for(var i=1<<t+1,s=e.clone(),o=0;o<r.length;o++){var a,c=s.andln(i-1);s.isOdd()?(a=c>(i>>1)-1?(i>>1)-c:c,s.isubn(a)):a=0,r[o]=a,s.iushrn(1)}return r},r.getJSF=function(e,t){var n=[[],[]];e=e.clone(),t=t.clone();for(var r=0,i=0;e.cmpn(-r)>0||t.cmpn(-i)>0;){var s,o,a,c=e.andln(3)+r&3,l=t.andln(3)+i&3;3===c&&(c=-1),3===l&&(l=-1),s=0==(1&c)?0:3!=(a=e.andln(7)+r&7)&&5!==a||2!==l?c:-c,n[0].push(s),o=0==(1&l)?0:3!=(a=t.andln(7)+i&7)&&5!==a||2!==c?l:-l,n[1].push(o),2*r===s+1&&(r=1-r),2*i===o+1&&(i=1-i),e.iushrn(1),t.iushrn(1)}return n},r.cachedProperty=function(e,t,n){var r="_"+t;e.prototype[t]=function(){return void 0!==this[r]?this[r]:this[r]=n.call(this)}},r.parseBytes=function(e){return"string"==typeof e?r.toArray(e,"hex"):e},r.intFromLE=function(e){return new i(e,"hex","le")}},{"bn.js":365,"minimalistic-assert":437,"minimalistic-crypto-utils":438}],365:[function(e,t,n){arguments[4][181][0].apply(n,arguments)},{buffer:185,dup:181}],366:[function(e,t,n){t.exports={_from:"elliptic@^6.5.3",_id:"elliptic@6.5.3",_inBundle:!1,_integrity:"sha512-IMqzv5wNQf+E6aHeIqATs0tOLeOTwj1QKbRcS3jBbYkl5oLAserA8yJTT7/VyHUYG91PRmPyeQDObKLPpeS4dw==",_location:"/elliptic",_phantomChildren:{},_requested:{type:"range",registry:!0,raw:"elliptic@^6.5.3",name:"elliptic",escapedName:"elliptic",rawSpec:"^6.5.3",saveSpec:null,fetchSpec:"^6.5.3"},_requiredBy:["/browserify-sign","/create-ecdh"],_resolved:"https://registry.npmjs.org/elliptic/-/elliptic-6.5.3.tgz",_shasum:"cb59eb2efdaf73a0bd78ccd7015a62ad6e0f93d6",_spec:"elliptic@^6.5.3",_where:"/mnt/d/dev/git/exceljs/node_modules/browserify-sign",author:{name:"Fedor Indutny",email:"fedor@indutny.com"},bugs:{url:"https://github.com/indutny/elliptic/issues"},bundleDependencies:!1,dependencies:{"bn.js":"^4.4.0",brorand:"^1.0.1","hash.js":"^1.0.0","hmac-drbg":"^1.0.0",inherits:"^2.0.1","minimalistic-assert":"^1.0.0","minimalistic-crypto-utils":"^1.0.0"},deprecated:!1,description:"EC cryptography",devDependencies:{brfs:"^1.4.3",coveralls:"^3.0.8",grunt:"^1.0.4","grunt-browserify":"^5.0.0","grunt-cli":"^1.2.0","grunt-contrib-connect":"^1.0.0","grunt-contrib-copy":"^1.0.0","grunt-contrib-uglify":"^1.0.1","grunt-mocha-istanbul":"^3.0.1","grunt-saucelabs":"^9.0.1",istanbul:"^0.4.2",jscs:"^3.0.7",jshint:"^2.10.3",mocha:"^6.2.2"},files:["lib"],homepage:"https://github.com/indutny/elliptic",keywords:["EC","Elliptic","curve","Cryptography"],license:"MIT",main:"lib/elliptic.js",name:"elliptic",repository:{type:"git",url:"git+ssh://git@github.com/indutny/elliptic.git"},scripts:{jscs:"jscs benchmarks/*.js lib/*.js lib/**/*.js lib/**/**/*.js test/index.js",jshint:"jscs benchmarks/*.js lib/*.js lib/**/*.js lib/**/**/*.js test/index.js",lint:"npm run jscs && npm run jshint",test:"npm run lint && npm run unit",unit:"istanbul test _mocha --reporter=spec test/index.js",version:"grunt dist && git add dist/"},version:"6.5.3"}},{}],367:[function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var i=Object.create||function(e){var t=function(){};return t.prototype=e,new t},s=Object.keys||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.push(n);return n},o=Function.prototype.bind||function(e){var t=this;return function(){return t.apply(e,arguments)}};function a(){this._events&&Object.prototype.hasOwnProperty.call(this,"_events")||(this._events=i(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0}t.exports=a,a.EventEmitter=a,a.prototype._events=void 0,a.prototype._maxListeners=void 0;var c,l=10;try{var u={};Object.defineProperty&&Object.defineProperty(u,"x",{value:0}),c=0===u.x}catch(e){c=!1}function h(e){return void 0===e._maxListeners?a.defaultMaxListeners:e._maxListeners}function d(e,t,n){if(t)e.call(n);else for(var r=e.length,i=S(e,r),s=0;s<r;++s)i[s].call(n)}function f(e,t,n,r){if(t)e.call(n,r);else for(var i=e.length,s=S(e,i),o=0;o<i;++o)s[o].call(n,r)}function p(e,t,n,r,i){if(t)e.call(n,r,i);else for(var s=e.length,o=S(e,s),a=0;a<s;++a)o[a].call(n,r,i)}function m(e,t,n,r,i,s){if(t)e.call(n,r,i,s);else for(var o=e.length,a=S(e,o),c=0;c<o;++c)a[c].call(n,r,i,s)}function g(e,t,n,r){if(t)e.apply(n,r);else for(var i=e.length,s=S(e,i),o=0;o<i;++o)s[o].apply(n,r)}function v(e,t,n,s){var o,a,c;if("function"!=typeof n)throw new TypeError('"listener" argument must be a function');if((a=e._events)?(a.newListener&&(e.emit("newListener",t,n.listener?n.listener:n),a=e._events),c=a[t]):(a=e._events=i(null),e._eventsCount=0),c){if("function"==typeof c?c=a[t]=s?[n,c]:[c,n]:s?c.unshift(n):c.push(n),!c.warned&&(o=h(e))&&o>0&&c.length>o){c.warned=!0;var l=new Error("Possible EventEmitter memory leak detected. "+c.length+' "'+String(t)+'" listeners added. Use emitter.setMaxListeners() to increase limit.');l.name="MaxListenersExceededWarning",l.emitter=e,l.type=t,l.count=c.length,"object"===("undefined"==typeof console?"undefined":r(console))&&console.warn&&console.warn("%s: %s",l.name,l.message)}}else c=a[t]=n,++e._eventsCount;return e}function y(){if(!this.fired)switch(this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length){case 0:return this.listener.call(this.target);case 1:return this.listener.call(this.target,arguments[0]);case 2:return this.listener.call(this.target,arguments[0],arguments[1]);case 3:return this.listener.call(this.target,arguments[0],arguments[1],arguments[2]);default:for(var e=new Array(arguments.length),t=0;t<e.length;++t)e[t]=arguments[t];this.listener.apply(this.target,e)}}function b(e,t,n){var r={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},i=o.call(y,r);return i.listener=n,r.wrapFn=i,i}function _(e,t,n){var r=e._events;if(!r)return[];var i=r[t];return i?"function"==typeof i?n?[i.listener||i]:[i]:n?function(e){for(var t=new Array(e.length),n=0;n<t.length;++n)t[n]=e[n].listener||e[n];return t}(i):S(i,i.length):[]}function w(e){var t=this._events;if(t){var n=t[e];if("function"==typeof n)return 1;if(n)return n.length}return 0}function S(e,t){for(var n=new Array(t),r=0;r<t;++r)n[r]=e[r];return n}c?Object.defineProperty(a,"defaultMaxListeners",{enumerable:!0,get:function(){return l},set:function(e){if("number"!=typeof e||e<0||e!=e)throw new TypeError('"defaultMaxListeners" must be a positive number');l=e}}):a.defaultMaxListeners=l,a.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||isNaN(e))throw new TypeError('"n" argument must be a positive number');return this._maxListeners=e,this},a.prototype.getMaxListeners=function(){return h(this)},a.prototype.emit=function(e){var t,n,r,i,s,o,a="error"===e;if(o=this._events)a=a&&null==o.error;else if(!a)return!1;if(a){if(arguments.length>1&&(t=arguments[1]),t instanceof Error)throw t;var c=new Error('Unhandled "error" event. ('+t+")");throw c.context=t,c}if(!(n=o[e]))return!1;var l="function"==typeof n;switch(r=arguments.length){case 1:d(n,l,this);break;case 2:f(n,l,this,arguments[1]);break;case 3:p(n,l,this,arguments[1],arguments[2]);break;case 4:m(n,l,this,arguments[1],arguments[2],arguments[3]);break;default:for(i=new Array(r-1),s=1;s<r;s++)i[s-1]=arguments[s];g(n,l,this,i)}return!0},a.prototype.addListener=function(e,t){return v(this,e,t,!1)},a.prototype.on=a.prototype.addListener,a.prototype.prependListener=function(e,t){return v(this,e,t,!0)},a.prototype.once=function(e,t){if("function"!=typeof t)throw new TypeError('"listener" argument must be a function');return this.on(e,b(this,e,t)),this},a.prototype.prependOnceListener=function(e,t){if("function"!=typeof t)throw new TypeError('"listener" argument must be a function');return this.prependListener(e,b(this,e,t)),this},a.prototype.removeListener=function(e,t){var n,r,s,o,a;if("function"!=typeof t)throw new TypeError('"listener" argument must be a function');if(!(r=this._events))return this;if(!(n=r[e]))return this;if(n===t||n.listener===t)0==--this._eventsCount?this._events=i(null):(delete r[e],r.removeListener&&this.emit("removeListener",e,n.listener||t));else if("function"!=typeof n){for(s=-1,o=n.length-1;o>=0;o--)if(n[o]===t||n[o].listener===t){a=n[o].listener,s=o;break}if(s<0)return this;0===s?n.shift():function(e,t){for(var n=t,r=n+1,i=e.length;r<i;n+=1,r+=1)e[n]=e[r];e.pop()}(n,s),1===n.length&&(r[e]=n[0]),r.removeListener&&this.emit("removeListener",e,a||t)}return this},a.prototype.removeAllListeners=function(e){var t,n,r;if(!(n=this._events))return this;if(!n.removeListener)return 0===arguments.length?(this._events=i(null),this._eventsCount=0):n[e]&&(0==--this._eventsCount?this._events=i(null):delete n[e]),this;if(0===arguments.length){var o,a=s(n);for(r=0;r<a.length;++r)"removeListener"!==(o=a[r])&&this.removeAllListeners(o);return this.removeAllListeners("removeListener"),this._events=i(null),this._eventsCount=0,this}if("function"==typeof(t=n[e]))this.removeListener(e,t);else if(t)for(r=t.length-1;r>=0;r--)this.removeListener(e,t[r]);return this},a.prototype.listeners=function(e){return _(this,e,!0)},a.prototype.rawListeners=function(e){return _(this,e,!1)},a.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):w.call(e,t)},a.prototype.listenerCount=w,a.prototype.eventNames=function(){return this._eventsCount>0?Reflect.ownKeys(this._events):[]}},{}],368:[function(e,t,n){"use strict";var r=e("safe-buffer").Buffer,i=e("md5.js");t.exports=function(e,t,n,s){if(r.isBuffer(e)||(e=r.from(e,"binary")),t&&(r.isBuffer(t)||(t=r.from(t,"binary")),8!==t.length))throw new RangeError("salt should be Buffer with 8 byte length");for(var o=n/8,a=r.alloc(o),c=r.alloc(s||0),l=r.alloc(0);o>0||s>0;){var u=new i;u.update(l),u.update(e),t&&u.update(t),l=u.digest();var h=0;if(o>0){var d=a.length-o;h=Math.min(o,l.length),l.copy(a,d,0,h),o-=h}if(h<l.length&&s>0){var f=c.length-s,p=Math.min(s,l.length-h);l.copy(c,f,h,h+p),s-=p}}return l.fill(0),{key:a,iv:c}}},{"md5.js":434,"safe-buffer":494}],369:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=e("@fast-csv/format");Object.defineProperty(n,"format",{enumerable:!0,get:function(){return r.format}}),Object.defineProperty(n,"write",{enumerable:!0,get:function(){return r.write}}),Object.defineProperty(n,"writeToStream",{enumerable:!0,get:function(){return r.writeToStream}}),Object.defineProperty(n,"writeToBuffer",{enumerable:!0,get:function(){return r.writeToBuffer}}),Object.defineProperty(n,"writeToString",{enumerable:!0,get:function(){return r.writeToString}}),Object.defineProperty(n,"writeToPath",{enumerable:!0,get:function(){return r.writeToPath}}),Object.defineProperty(n,"CsvFormatterStream",{enumerable:!0,get:function(){return r.CsvFormatterStream}}),Object.defineProperty(n,"FormatterOptions",{enumerable:!0,get:function(){return r.FormatterOptions}});var i=e("@fast-csv/parse");Object.defineProperty(n,"parse",{enumerable:!0,get:function(){return i.parse}}),Object.defineProperty(n,"parseString",{enumerable:!0,get:function(){return i.parseString}}),Object.defineProperty(n,"parseStream",{enumerable:!0,get:function(){return i.parseStream}}),Object.defineProperty(n,"parseFile",{enumerable:!0,get:function(){return i.parseFile}}),Object.defineProperty(n,"ParserOptions",{enumerable:!0,get:function(){return i.ParserOptions}}),Object.defineProperty(n,"CsvParserStream",{enumerable:!0,get:function(){return i.CsvParserStream}})},{"@fast-csv/format":148,"@fast-csv/parse":152}],370:[function(e,t,n){"use strict";var r=e("safe-buffer").Buffer,i=e("readable-stream").Transform;function s(e){i.call(this),this._block=r.allocUnsafe(e),this._blockSize=e,this._blockOffset=0,this._length=[0,0,0,0],this._finalized=!1}e("inherits")(s,i),s.prototype._transform=function(e,t,n){var r=null;try{this.update(e,t)}catch(e){r=e}n(r)},s.prototype._flush=function(e){var t=null;try{this.push(this.digest())}catch(e){t=e}e(t)},s.prototype.update=function(e,t){if(function(e,t){if(!r.isBuffer(e)&&"string"!=typeof e)throw new TypeError(t+" must be a string or a buffer")}(e,"Data"),this._finalized)throw new Error("Digest already called");r.isBuffer(e)||(e=r.from(e,t));for(var n=this._block,i=0;this._blockOffset+e.length-i>=this._blockSize;){for(var s=this._blockOffset;s<this._blockSize;)n[s++]=e[i++];this._update(),this._blockOffset=0}for(;i<e.length;)n[this._blockOffset++]=e[i++];for(var o=0,a=8*e.length;a>0;++o)this._length[o]+=a,(a=this._length[o]/4294967296|0)>0&&(this._length[o]-=4294967296*a);return this},s.prototype._update=function(){throw new Error("_update is not implemented")},s.prototype.digest=function(e){if(this._finalized)throw new Error("Digest already called");this._finalized=!0;var t=this._digest();void 0!==e&&(t=t.toString(e)),this._block.fill(0),this._blockOffset=0;for(var n=0;n<4;++n)this._length[n]=0;return t},s.prototype._digest=function(){throw new Error("_digest is not implemented")},t.exports=s},{inherits:387,"readable-stream":491,"safe-buffer":371}],371:[function(e,t,n){arguments[4][214][0].apply(n,arguments)},{buffer:216,dup:214}],372:[function(e,t,n){"use strict";var r=n;r.utils=e("./hash/utils"),r.common=e("./hash/common"),r.sha=e("./hash/sha"),r.ripemd=e("./hash/ripemd"),r.hmac=e("./hash/hmac"),r.sha1=r.sha.sha1,r.sha256=r.sha.sha256,r.sha224=r.sha.sha224,r.sha384=r.sha.sha384,r.sha512=r.sha.sha512,r.ripemd160=r.ripemd.ripemd160},{"./hash/common":373,"./hash/hmac":374,"./hash/ripemd":375,"./hash/sha":376,"./hash/utils":383}],373:[function(e,t,n){"use strict";var r=e("./utils"),i=e("minimalistic-assert");function s(){this.pending=null,this.pendingTotal=0,this.blockSize=this.constructor.blockSize,this.outSize=this.constructor.outSize,this.hmacStrength=this.constructor.hmacStrength,this.padLength=this.constructor.padLength/8,this.endian="big",this._delta8=this.blockSize/8,this._delta32=this.blockSize/32}n.BlockHash=s,s.prototype.update=function(e,t){if(e=r.toArray(e,t),this.pending?this.pending=this.pending.concat(e):this.pending=e,this.pendingTotal+=e.length,this.pending.length>=this._delta8){var n=(e=this.pending).length%this._delta8;this.pending=e.slice(e.length-n,e.length),0===this.pending.length&&(this.pending=null),e=r.join32(e,0,e.length-n,this.endian);for(var i=0;i<e.length;i+=this._delta32)this._update(e,i,i+this._delta32)}return this},s.prototype.digest=function(e){return this.update(this._pad()),i(null===this.pending),this._digest(e)},s.prototype._pad=function(){var e=this.pendingTotal,t=this._delta8,n=t-(e+this.padLength)%t,r=new Array(n+this.padLength);r[0]=128;for(var i=1;i<n;i++)r[i]=0;if(e<<=3,"big"===this.endian){for(var s=8;s<this.padLength;s++)r[i++]=0;r[i++]=0,r[i++]=0,r[i++]=0,r[i++]=0,r[i++]=e>>>24&255,r[i++]=e>>>16&255,r[i++]=e>>>8&255,r[i++]=255&e}else for(r[i++]=255&e,r[i++]=e>>>8&255,r[i++]=e>>>16&255,r[i++]=e>>>24&255,r[i++]=0,r[i++]=0,r[i++]=0,r[i++]=0,s=8;s<this.padLength;s++)r[i++]=0;return r}},{"./utils":383,"minimalistic-assert":437}],374:[function(e,t,n){"use strict";var r=e("./utils"),i=e("minimalistic-assert");function s(e,t,n){if(!(this instanceof s))return new s(e,t,n);this.Hash=e,this.blockSize=e.blockSize/8,this.outSize=e.outSize/8,this.inner=null,this.outer=null,this._init(r.toArray(t,n))}t.exports=s,s.prototype._init=function(e){e.length>this.blockSize&&(e=(new this.Hash).update(e).digest()),i(e.length<=this.blockSize);for(var t=e.length;t<this.blockSize;t++)e.push(0);for(t=0;t<e.length;t++)e[t]^=54;for(this.inner=(new this.Hash).update(e),t=0;t<e.length;t++)e[t]^=106;this.outer=(new this.Hash).update(e)},s.prototype.update=function(e,t){return this.inner.update(e,t),this},s.prototype.digest=function(e){return this.outer.update(this.inner.digest()),this.outer.digest(e)}},{"./utils":383,"minimalistic-assert":437}],375:[function(e,t,n){"use strict";var r=e("./utils"),i=e("./common"),s=r.rotl32,o=r.sum32,a=r.sum32_3,c=r.sum32_4,l=i.BlockHash;function u(){if(!(this instanceof u))return new u;l.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.endian="little"}function h(e,t,n,r){return e<=15?t^n^r:e<=31?t&n|~t&r:e<=47?(t|~n)^r:e<=63?t&r|n&~r:t^(n|~r)}function d(e){return e<=15?0:e<=31?1518500249:e<=47?1859775393:e<=63?2400959708:2840853838}function f(e){return e<=15?1352829926:e<=31?1548603684:e<=47?1836072691:e<=63?2053994217:0}r.inherits(u,l),n.ripemd160=u,u.blockSize=512,u.outSize=160,u.hmacStrength=192,u.padLength=64,u.prototype._update=function(e,t){for(var n=this.h[0],r=this.h[1],i=this.h[2],l=this.h[3],u=this.h[4],y=n,b=r,_=i,w=l,S=u,x=0;x<80;x++){var O=o(s(c(n,h(x,r,i,l),e[p[x]+t],d(x)),g[x]),u);n=u,u=l,l=s(i,10),i=r,r=O,O=o(s(c(y,h(79-x,b,_,w),e[m[x]+t],f(x)),v[x]),S),y=S,S=w,w=s(_,10),_=b,b=O}O=a(this.h[1],i,w),this.h[1]=a(this.h[2],l,S),this.h[2]=a(this.h[3],u,y),this.h[3]=a(this.h[4],n,b),this.h[4]=a(this.h[0],r,_),this.h[0]=O},u.prototype._digest=function(e){return"hex"===e?r.toHex32(this.h,"little"):r.split32(this.h,"little")};var p=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],m=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],g=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],v=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]},{"./common":373,"./utils":383}],376:[function(e,t,n){"use strict";n.sha1=e("./sha/1"),n.sha224=e("./sha/224"),n.sha256=e("./sha/256"),n.sha384=e("./sha/384"),n.sha512=e("./sha/512")},{"./sha/1":377,"./sha/224":378,"./sha/256":379,"./sha/384":380,"./sha/512":381}],377:[function(e,t,n){"use strict";var r=e("../utils"),i=e("../common"),s=e("./common"),o=r.rotl32,a=r.sum32,c=r.sum32_5,l=s.ft_1,u=i.BlockHash,h=[1518500249,1859775393,2400959708,3395469782];function d(){if(!(this instanceof d))return new d;u.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=new Array(80)}r.inherits(d,u),t.exports=d,d.blockSize=512,d.outSize=160,d.hmacStrength=80,d.padLength=64,d.prototype._update=function(e,t){for(var n=this.W,r=0;r<16;r++)n[r]=e[t+r];for(;r<n.length;r++)n[r]=o(n[r-3]^n[r-8]^n[r-14]^n[r-16],1);var i=this.h[0],s=this.h[1],u=this.h[2],d=this.h[3],f=this.h[4];for(r=0;r<n.length;r++){var p=~~(r/20),m=c(o(i,5),l(p,s,u,d),f,n[r],h[p]);f=d,d=u,u=o(s,30),s=i,i=m}this.h[0]=a(this.h[0],i),this.h[1]=a(this.h[1],s),this.h[2]=a(this.h[2],u),this.h[3]=a(this.h[3],d),this.h[4]=a(this.h[4],f)},d.prototype._digest=function(e){return"hex"===e?r.toHex32(this.h,"big"):r.split32(this.h,"big")}},{"../common":373,"../utils":383,"./common":382}],378:[function(e,t,n){"use strict";var r=e("../utils"),i=e("./256");function s(){if(!(this instanceof s))return new s;i.call(this),this.h=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428]}r.inherits(s,i),t.exports=s,s.blockSize=512,s.outSize=224,s.hmacStrength=192,s.padLength=64,s.prototype._digest=function(e){return"hex"===e?r.toHex32(this.h.slice(0,7),"big"):r.split32(this.h.slice(0,7),"big")}},{"../utils":383,"./256":379}],379:[function(e,t,n){"use strict";var r=e("../utils"),i=e("../common"),s=e("./common"),o=e("minimalistic-assert"),a=r.sum32,c=r.sum32_4,l=r.sum32_5,u=s.ch32,h=s.maj32,d=s.s0_256,f=s.s1_256,p=s.g0_256,m=s.g1_256,g=i.BlockHash,v=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298];function y(){if(!(this instanceof y))return new y;g.call(this),this.h=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.k=v,this.W=new Array(64)}r.inherits(y,g),t.exports=y,y.blockSize=512,y.outSize=256,y.hmacStrength=192,y.padLength=64,y.prototype._update=function(e,t){for(var n=this.W,r=0;r<16;r++)n[r]=e[t+r];for(;r<n.length;r++)n[r]=c(m(n[r-2]),n[r-7],p(n[r-15]),n[r-16]);var i=this.h[0],s=this.h[1],g=this.h[2],v=this.h[3],y=this.h[4],b=this.h[5],_=this.h[6],w=this.h[7];for(o(this.k.length===n.length),r=0;r<n.length;r++){var S=l(w,f(y),u(y,b,_),this.k[r],n[r]),x=a(d(i),h(i,s,g));w=_,_=b,b=y,y=a(v,S),v=g,g=s,s=i,i=a(S,x)}this.h[0]=a(this.h[0],i),this.h[1]=a(this.h[1],s),this.h[2]=a(this.h[2],g),this.h[3]=a(this.h[3],v),this.h[4]=a(this.h[4],y),this.h[5]=a(this.h[5],b),this.h[6]=a(this.h[6],_),this.h[7]=a(this.h[7],w)},y.prototype._digest=function(e){return"hex"===e?r.toHex32(this.h,"big"):r.split32(this.h,"big")}},{"../common":373,"../utils":383,"./common":382,"minimalistic-assert":437}],380:[function(e,t,n){"use strict";var r=e("../utils"),i=e("./512");function s(){if(!(this instanceof s))return new s;i.call(this),this.h=[3418070365,3238371032,1654270250,914150663,2438529370,812702999,355462360,4144912697,1731405415,4290775857,2394180231,1750603025,3675008525,1694076839,1203062813,3204075428]}r.inherits(s,i),t.exports=s,s.blockSize=1024,s.outSize=384,s.hmacStrength=192,s.padLength=128,s.prototype._digest=function(e){return"hex"===e?r.toHex32(this.h.slice(0,12),"big"):r.split32(this.h.slice(0,12),"big")}},{"../utils":383,"./512":381}],381:[function(e,t,n){"use strict";var r=e("../utils"),i=e("../common"),s=e("minimalistic-assert"),o=r.rotr64_hi,a=r.rotr64_lo,c=r.shr64_hi,l=r.shr64_lo,u=r.sum64,h=r.sum64_hi,d=r.sum64_lo,f=r.sum64_4_hi,p=r.sum64_4_lo,m=r.sum64_5_hi,g=r.sum64_5_lo,v=i.BlockHash,y=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591];function b(){if(!(this instanceof b))return new b;v.call(this),this.h=[1779033703,4089235720,3144134277,2227873595,1013904242,4271175723,2773480762,1595750129,1359893119,2917565137,2600822924,725511199,528734635,4215389547,1541459225,327033209],this.k=y,this.W=new Array(160)}function _(e,t,n,r,i){var s=e&n^~e&i;return s<0&&(s+=4294967296),s}function w(e,t,n,r,i,s){var o=t&r^~t&s;return o<0&&(o+=4294967296),o}function S(e,t,n,r,i){var s=e&n^e&i^n&i;return s<0&&(s+=4294967296),s}function x(e,t,n,r,i,s){var o=t&r^t&s^r&s;return o<0&&(o+=4294967296),o}function O(e,t){var n=o(e,t,28)^o(t,e,2)^o(t,e,7);return n<0&&(n+=4294967296),n}function k(e,t){var n=a(e,t,28)^a(t,e,2)^a(t,e,7);return n<0&&(n+=4294967296),n}function C(e,t){var n=o(e,t,14)^o(e,t,18)^o(t,e,9);return n<0&&(n+=4294967296),n}function M(e,t){var n=a(e,t,14)^a(e,t,18)^a(t,e,9);return n<0&&(n+=4294967296),n}function E(e,t){var n=o(e,t,1)^o(e,t,8)^c(e,t,7);return n<0&&(n+=4294967296),n}function T(e,t){var n=a(e,t,1)^a(e,t,8)^l(e,t,7);return n<0&&(n+=4294967296),n}function j(e,t){var n=o(e,t,19)^o(t,e,29)^c(e,t,6);return n<0&&(n+=4294967296),n}function D(e,t){var n=a(e,t,19)^a(t,e,29)^l(e,t,6);return n<0&&(n+=4294967296),n}r.inherits(b,v),t.exports=b,b.blockSize=1024,b.outSize=512,b.hmacStrength=192,b.padLength=128,b.prototype._prepareBlock=function(e,t){for(var n=this.W,r=0;r<32;r++)n[r]=e[t+r];for(;r<n.length;r+=2){var i=j(n[r-4],n[r-3]),s=D(n[r-4],n[r-3]),o=n[r-14],a=n[r-13],c=E(n[r-30],n[r-29]),l=T(n[r-30],n[r-29]),u=n[r-32],h=n[r-31];n[r]=f(i,s,o,a,c,l,u,h),n[r+1]=p(i,s,o,a,c,l,u,h)}},b.prototype._update=function(e,t){this._prepareBlock(e,t);var n=this.W,r=this.h[0],i=this.h[1],o=this.h[2],a=this.h[3],c=this.h[4],l=this.h[5],f=this.h[6],p=this.h[7],v=this.h[8],y=this.h[9],b=this.h[10],E=this.h[11],T=this.h[12],j=this.h[13],D=this.h[14],A=this.h[15];s(this.k.length===n.length);for(var L=0;L<n.length;L+=2){var z=D,P=A,I=C(v,y),R=M(v,y),N=_(v,y,b,E,T),H=w(v,y,b,E,T,j),F=this.k[L],V=this.k[L+1],B=n[L],Y=n[L+1],U=m(z,P,I,R,N,H,F,V,B,Y),W=g(z,P,I,R,N,H,F,V,B,Y);z=O(r,i),P=k(r,i),I=S(r,i,o,a,c),R=x(r,i,o,a,c,l);var q=h(z,P,I,R),$=d(z,P,I,R);D=T,A=j,T=b,j=E,b=v,E=y,v=h(f,p,U,W),y=d(p,p,U,W),f=c,p=l,c=o,l=a,o=r,a=i,r=h(U,W,q,$),i=d(U,W,q,$)}u(this.h,0,r,i),u(this.h,2,o,a),u(this.h,4,c,l),u(this.h,6,f,p),u(this.h,8,v,y),u(this.h,10,b,E),u(this.h,12,T,j),u(this.h,14,D,A)},b.prototype._digest=function(e){return"hex"===e?r.toHex32(this.h,"big"):r.split32(this.h,"big")}},{"../common":373,"../utils":383,"minimalistic-assert":437}],382:[function(e,t,n){"use strict";var r=e("../utils").rotr32;function i(e,t,n){return e&t^~e&n}function s(e,t,n){return e&t^e&n^t&n}function o(e,t,n){return e^t^n}n.ft_1=function(e,t,n,r){return 0===e?i(t,n,r):1===e||3===e?o(t,n,r):2===e?s(t,n,r):void 0},n.ch32=i,n.maj32=s,n.p32=o,n.s0_256=function(e){return r(e,2)^r(e,13)^r(e,22)},n.s1_256=function(e){return r(e,6)^r(e,11)^r(e,25)},n.g0_256=function(e){return r(e,7)^r(e,18)^e>>>3},n.g1_256=function(e){return r(e,17)^r(e,19)^e>>>10}},{"../utils":383}],383:[function(e,t,n){"use strict";var r=e("minimalistic-assert"),i=e("inherits");function s(e,t){return 55296==(64512&e.charCodeAt(t))&&!(t<0||t+1>=e.length)&&56320==(64512&e.charCodeAt(t+1))}function o(e){return(e>>>24|e>>>8&65280|e<<8&16711680|(255&e)<<24)>>>0}function a(e){return 1===e.length?"0"+e:e}function c(e){return 7===e.length?"0"+e:6===e.length?"00"+e:5===e.length?"000"+e:4===e.length?"0000"+e:3===e.length?"00000"+e:2===e.length?"000000"+e:1===e.length?"0000000"+e:e}n.inherits=i,n.toArray=function(e,t){if(Array.isArray(e))return e.slice();if(!e)return[];var n=[];if("string"==typeof e)if(t){if("hex"===t)for((e=e.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(e="0"+e),i=0;i<e.length;i+=2)n.push(parseInt(e[i]+e[i+1],16))}else for(var r=0,i=0;i<e.length;i++){var o=e.charCodeAt(i);o<128?n[r++]=o:o<2048?(n[r++]=o>>6|192,n[r++]=63&o|128):s(e,i)?(o=65536+((1023&o)<<10)+(1023&e.charCodeAt(++i)),n[r++]=o>>18|240,n[r++]=o>>12&63|128,n[r++]=o>>6&63|128,n[r++]=63&o|128):(n[r++]=o>>12|224,n[r++]=o>>6&63|128,n[r++]=63&o|128)}else for(i=0;i<e.length;i++)n[i]=0|e[i];return n},n.toHex=function(e){for(var t="",n=0;n<e.length;n++)t+=a(e[n].toString(16));return t},n.htonl=o,n.toHex32=function(e,t){for(var n="",r=0;r<e.length;r++){var i=e[r];"little"===t&&(i=o(i)),n+=c(i.toString(16))}return n},n.zero2=a,n.zero8=c,n.join32=function(e,t,n,i){var s=n-t;r(s%4==0);for(var o=new Array(s/4),a=0,c=t;a<o.length;a++,c+=4){var l;l="big"===i?e[c]<<24|e[c+1]<<16|e[c+2]<<8|e[c+3]:e[c+3]<<24|e[c+2]<<16|e[c+1]<<8|e[c],o[a]=l>>>0}return o},n.split32=function(e,t){for(var n=new Array(4*e.length),r=0,i=0;r<e.length;r++,i+=4){var s=e[r];"big"===t?(n[i]=s>>>24,n[i+1]=s>>>16&255,n[i+2]=s>>>8&255,n[i+3]=255&s):(n[i+3]=s>>>24,n[i+2]=s>>>16&255,n[i+1]=s>>>8&255,n[i]=255&s)}return n},n.rotr32=function(e,t){return e>>>t|e<<32-t},n.rotl32=function(e,t){return e<<t|e>>>32-t},n.sum32=function(e,t){return e+t>>>0},n.sum32_3=function(e,t,n){return e+t+n>>>0},n.sum32_4=function(e,t,n,r){return e+t+n+r>>>0},n.sum32_5=function(e,t,n,r,i){return e+t+n+r+i>>>0},n.sum64=function(e,t,n,r){var i=e[t],s=r+e[t+1]>>>0,o=(s<r?1:0)+n+i;e[t]=o>>>0,e[t+1]=s},n.sum64_hi=function(e,t,n,r){return(t+r>>>0<t?1:0)+e+n>>>0},n.sum64_lo=function(e,t,n,r){return t+r>>>0},n.sum64_4_hi=function(e,t,n,r,i,s,o,a){var c=0,l=t;return c+=(l=l+r>>>0)<t?1:0,c+=(l=l+s>>>0)<s?1:0,e+n+i+o+(c+=(l=l+a>>>0)<a?1:0)>>>0},n.sum64_4_lo=function(e,t,n,r,i,s,o,a){return t+r+s+a>>>0},n.sum64_5_hi=function(e,t,n,r,i,s,o,a,c,l){var u=0,h=t;return u+=(h=h+r>>>0)<t?1:0,u+=(h=h+s>>>0)<s?1:0,u+=(h=h+a>>>0)<a?1:0,e+n+i+o+c+(u+=(h=h+l>>>0)<l?1:0)>>>0},n.sum64_5_lo=function(e,t,n,r,i,s,o,a,c,l){return t+r+s+a+l>>>0},n.rotr64_hi=function(e,t,n){return(t<<32-n|e>>>n)>>>0},n.rotr64_lo=function(e,t,n){return(e<<32-n|t>>>n)>>>0},n.shr64_hi=function(e,t,n){return e>>>n},n.shr64_lo=function(e,t,n){return(e<<32-n|t>>>n)>>>0}},{inherits:387,"minimalistic-assert":437}],384:[function(e,t,n){"use strict";var r=e("hash.js"),i=e("minimalistic-crypto-utils"),s=e("minimalistic-assert");function o(e){if(!(this instanceof o))return new o(e);this.hash=e.hash,this.predResist=!!e.predResist,this.outLen=this.hash.outSize,this.minEntropy=e.minEntropy||this.hash.hmacStrength,this._reseed=null,this.reseedInterval=null,this.K=null,this.V=null;var t=i.toArray(e.entropy,e.entropyEnc||"hex"),n=i.toArray(e.nonce,e.nonceEnc||"hex"),r=i.toArray(e.pers,e.persEnc||"hex");s(t.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(t,n,r)}t.exports=o,o.prototype._init=function(e,t,n){var r=e.concat(t).concat(n);this.K=new Array(this.outLen/8),this.V=new Array(this.outLen/8);for(var i=0;i<this.V.length;i++)this.K[i]=0,this.V[i]=1;this._update(r),this._reseed=1,this.reseedInterval=281474976710656},o.prototype._hmac=function(){return new r.hmac(this.hash,this.K)},o.prototype._update=function(e){var t=this._hmac().update(this.V).update([0]);e&&(t=t.update(e)),this.K=t.digest(),this.V=this._hmac().update(this.V).digest(),e&&(this.K=this._hmac().update(this.V).update([1]).update(e).digest(),this.V=this._hmac().update(this.V).digest())},o.prototype.reseed=function(e,t,n,r){"string"!=typeof t&&(r=n,n=t,t=null),e=i.toArray(e,t),n=i.toArray(n,r),s(e.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._update(e.concat(n||[])),this._reseed=1},o.prototype.generate=function(e,t,n,r){if(this._reseed>this.reseedInterval)throw new Error("Reseed is required");"string"!=typeof t&&(r=n,n=t,t=null),n&&(n=i.toArray(n,r||"hex"),this._update(n));for(var s=[];s.length<e;)this.V=this._hmac().update(this.V).digest(),s=s.concat(this.V);var o=s.slice(0,e);return this._update(n),this._reseed++,i.encode(o,t)}},{"hash.js":372,"minimalistic-assert":437,"minimalistic-crypto-utils":438}],385:[function(e,t,n){"use strict";n.read=function(e,t,n,r,i){var s,o,a=8*i-r-1,c=(1<<a)-1,l=c>>1,u=-7,h=n?i-1:0,d=n?-1:1,f=e[t+h];for(h+=d,s=f&(1<<-u)-1,f>>=-u,u+=a;u>0;s=256*s+e[t+h],h+=d,u-=8);for(o=s&(1<<-u)-1,s>>=-u,u+=r;u>0;o=256*o+e[t+h],h+=d,u-=8);if(0===s)s=1-l;else{if(s===c)return o?NaN:1/0*(f?-1:1);o+=Math.pow(2,r),s-=l}return(f?-1:1)*o*Math.pow(2,s-r)},n.write=function(e,t,n,r,i,s){var o,a,c,l=8*s-i-1,u=(1<<l)-1,h=u>>1,d=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,f=r?0:s-1,p=r?1:-1,m=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(a=isNaN(t)?1:0,o=u):(o=Math.floor(Math.log(t)/Math.LN2),t*(c=Math.pow(2,-o))<1&&(o--,c*=2),(t+=o+h>=1?d/c:d*Math.pow(2,1-h))*c>=2&&(o++,c/=2),o+h>=u?(a=0,o=u):o+h>=1?(a=(t*c-1)*Math.pow(2,i),o+=h):(a=t*Math.pow(2,h-1)*Math.pow(2,i),o=0));i>=8;e[n+f]=255&a,f+=p,a/=256,i-=8);for(o=o<<i|a,l+=i;l>0;e[n+f]=255&o,f+=p,o/=256,l-=8);e[n+f-p]|=128*m}},{}],386:[function(e,t,n){(function(e){"use strict";var n,r,i=e.MutationObserver||e.WebKitMutationObserver;if(i){var s=0,o=new i(u),a=e.document.createTextNode("");o.observe(a,{characterData:!0}),n=function(){a.data=s=++s%2}}else if(e.setImmediate||void 0===e.MessageChannel)n="document"in e&&"onreadystatechange"in e.document.createElement("script")?function(){var t=e.document.createElement("script");t.onreadystatechange=function(){u(),t.onreadystatechange=null,t.parentNode.removeChild(t),t=null},e.document.documentElement.appendChild(t)}:function(){setTimeout(u,0)};else{var c=new e.MessageChannel;c.port1.onmessage=u,n=function(){c.port2.postMessage(0)}}var l=[];function u(){var e,t;r=!0;for(var n=l.length;n;){for(t=l,l=[],e=-1;++e<n;)t[e]();n=l.length}r=!1}t.exports=function(e){1!==l.push(e)||r||n()}}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],387:[function(e,t,n){"use strict";"function"==typeof Object.create?t.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:t.exports=function(e,t){if(t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}}},{}],388:[function(e,t,n){"use strict";function r(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}t.exports=function(e){return null!=e&&(r(e)||function(e){return"function"==typeof e.readFloatLE&&"function"==typeof e.slice&&r(e.slice(0,0))}(e)||!!e._isBuffer)}},{}],389:[function(e,t,n){"use strict";var r={}.toString;t.exports=Array.isArray||function(e){return"[object Array]"==r.call(e)}},{}],390:[function(e,t,n){"use strict";var r=e("./utils"),i=e("./support"),s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";n.encode=function(e){for(var t,n,i,o,a,c,l,u=[],h=0,d=e.length,f=d,p="string"!==r.getTypeOf(e);h<e.length;)f=d-h,p?(t=e[h++],n=h<d?e[h++]:0,i=h<d?e[h++]:0):(t=e.charCodeAt(h++),n=h<d?e.charCodeAt(h++):0,i=h<d?e.charCodeAt(h++):0),o=t>>2,a=(3&t)<<4|n>>4,c=f>1?(15&n)<<2|i>>6:64,l=f>2?63&i:64,u.push(s.charAt(o)+s.charAt(a)+s.charAt(c)+s.charAt(l));return u.join("")},n.decode=function(e){var t,n,r,o,a,c,l=0,u=0;if("data:"===e.substr(0,"data:".length))throw new Error("Invalid base64 input, it looks like a data url.");var h,d=3*(e=e.replace(/[^A-Za-z0-9\+\/\=]/g,"")).length/4;if(e.charAt(e.length-1)===s.charAt(64)&&d--,e.charAt(e.length-2)===s.charAt(64)&&d--,d%1!=0)throw new Error("Invalid base64 input, bad content length.");for(h=i.uint8array?new Uint8Array(0|d):new Array(0|d);l<e.length;)t=s.indexOf(e.charAt(l++))<<2|(o=s.indexOf(e.charAt(l++)))>>4,n=(15&o)<<4|(a=s.indexOf(e.charAt(l++)))>>2,r=(3&a)<<6|(c=s.indexOf(e.charAt(l++))),h[u++]=t,64!==a&&(h[u++]=n),64!==c&&(h[u++]=r);return h}},{"./support":419,"./utils":421}],391:[function(e,t,n){"use strict";var r=e("./external"),i=e("./stream/DataWorker"),s=e("./stream/DataLengthProbe"),o=e("./stream/Crc32Probe");function a(e,t,n,r,i){this.compressedSize=e,this.uncompressedSize=t,this.crc32=n,this.compression=r,this.compressedContent=i}s=e("./stream/DataLengthProbe"),a.prototype={getContentWorker:function(){var e=new i(r.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new s("data_length")),t=this;return e.on("end",function(){if(this.streamInfo.data_length!==t.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")}),e},getCompressedWorker:function(){return new i(r.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},a.createWorkerFrom=function(e,t,n){return e.pipe(new o).pipe(new s("uncompressedSize")).pipe(t.compressWorker(n)).pipe(new s("compressedSize")).withStreamInfo("compression",t)},t.exports=a},{"./external":395,"./stream/Crc32Probe":414,"./stream/DataLengthProbe":415,"./stream/DataWorker":416}],392:[function(e,t,n){"use strict";var r=e("./stream/GenericWorker");n.STORE={magic:"\0\0",compressWorker:function(e){return new r("STORE compression")},uncompressWorker:function(){return new r("STORE decompression")}},n.DEFLATE=e("./flate")},{"./flate":396,"./stream/GenericWorker":417}],393:[function(e,t,n){"use strict";var r=e("./utils"),i=function(){for(var e,t=[],n=0;n<256;n++){e=n;for(var r=0;r<8;r++)e=1&e?3988292384^e>>>1:e>>>1;t[n]=e}return t}();t.exports=function(e,t){return void 0!==e&&e.length?"string"!==r.getTypeOf(e)?function(e,t,n,r){var s=i,o=r+n;e^=-1;for(var a=r;a<o;a++)e=e>>>8^s[255&(e^t[a])];return-1^e}(0|t,e,e.length,0):function(e,t,n,r){var s=i,o=r+n;e^=-1;for(var a=r;a<o;a++)e=e>>>8^s[255&(e^t.charCodeAt(a))];return-1^e}(0|t,e,e.length,0):0}},{"./utils":421}],394:[function(e,t,n){"use strict";n.base64=!1,n.binary=!1,n.dir=!1,n.createFolders=!0,n.date=null,n.compression=null,n.compressionOptions=null,n.comment=null,n.unixPermissions=null,n.dosPermissions=null},{}],395:[function(e,t,n){"use strict";var r=null;r="undefined"!=typeof Promise?Promise:e("lie"),t.exports={Promise:r}},{lie:425}],396:[function(e,t,n){"use strict";var r="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Uint32Array,i=e("pako"),s=e("./utils"),o=e("./stream/GenericWorker"),a=r?"uint8array":"array";function c(e,t){o.call(this,"FlateWorker/"+e),this._pako=null,this._pakoAction=e,this._pakoOptions=t,this.meta={}}n.magic="\b\0",s.inherits(c,o),c.prototype.processChunk=function(e){this.meta=e.meta,null===this._pako&&this._createPako(),this._pako.push(s.transformTo(a,e.data),!1)},c.prototype.flush=function(){o.prototype.flush.call(this),null===this._pako&&this._createPako(),this._pako.push([],!0)},c.prototype.cleanUp=function(){o.prototype.cleanUp.call(this),this._pako=null},c.prototype._createPako=function(){this._pako=new i[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var e=this;this._pako.onData=function(t){e.push({data:t,meta:e.meta})}},n.compressWorker=function(e){return new c("Deflate",e)},n.uncompressWorker=function(){return new c("Inflate",{})}},{"./stream/GenericWorker":417,"./utils":421,pako:439}],397:[function(e,t,n){"use strict";var r=e("../utils"),i=e("../stream/GenericWorker"),s=e("../utf8"),o=e("../crc32"),a=e("../signature"),c=function(e,t){var n,r="";for(n=0;n<t;n++)r+=String.fromCharCode(255&e),e>>>=8;return r},l=function(e,t,n,i,l,u){var h,d,f=e.file,p=e.compression,m=u!==s.utf8encode,g=r.transformTo("string",u(f.name)),v=r.transformTo("string",s.utf8encode(f.name)),y=f.comment,b=r.transformTo("string",u(y)),_=r.transformTo("string",s.utf8encode(y)),w=v.length!==f.name.length,S=_.length!==y.length,x="",O="",k="",C=f.dir,M=f.date,E={crc32:0,compressedSize:0,uncompressedSize:0};t&&!n||(E.crc32=e.crc32,E.compressedSize=e.compressedSize,E.uncompressedSize=e.uncompressedSize);var T=0;t&&(T|=8),m||!w&&!S||(T|=2048);var j,D,A=0,L=0;C&&(A|=16),"UNIX"===l?(L=798,A|=(D=j=f.unixPermissions,j||(D=C?16893:33204),(65535&D)<<16)):(L=20,A|=63&(f.dosPermissions||0)),h=M.getUTCHours(),h<<=6,h|=M.getUTCMinutes(),h<<=5,h|=M.getUTCSeconds()/2,d=M.getUTCFullYear()-1980,d<<=4,d|=M.getUTCMonth()+1,d<<=5,d|=M.getUTCDate(),w&&(O=c(1,1)+c(o(g),4)+v,x+="up"+c(O.length,2)+O),S&&(k=c(1,1)+c(o(b),4)+_,x+="uc"+c(k.length,2)+k);var z="";return z+="\n\0",z+=c(T,2),z+=p.magic,z+=c(h,2),z+=c(d,2),z+=c(E.crc32,4),z+=c(E.compressedSize,4),z+=c(E.uncompressedSize,4),z+=c(g.length,2),z+=c(x.length,2),{fileRecord:a.LOCAL_FILE_HEADER+z+g+x,dirRecord:a.CENTRAL_FILE_HEADER+c(L,2)+z+c(b.length,2)+"\0\0\0\0"+c(A,4)+c(i,4)+g+x+b}},u=function(e){return a.DATA_DESCRIPTOR+c(e.crc32,4)+c(e.compressedSize,4)+c(e.uncompressedSize,4)};function h(e,t,n,r){i.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=t,this.zipPlatform=n,this.encodeFileName=r,this.streamFiles=e,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}r.inherits(h,i),h.prototype.push=function(e){var t=e.meta.percent||0,n=this.entriesCount,r=this._sources.length;this.accumulate?this.contentBuffer.push(e):(this.bytesWritten+=e.data.length,i.prototype.push.call(this,{data:e.data,meta:{currentFile:this.currentFile,percent:n?(t+100*(n-r-1))/n:100}}))},h.prototype.openedSource=function(e){this.currentSourceOffset=this.bytesWritten,this.currentFile=e.file.name;var t=this.streamFiles&&!e.file.dir;if(t){var n=l(e,t,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:n.fileRecord,meta:{percent:0}})}else this.accumulate=!0},h.prototype.closedSource=function(e){this.accumulate=!1;var t=this.streamFiles&&!e.file.dir,n=l(e,t,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(n.dirRecord),t)this.push({data:u(e),meta:{percent:100}});else for(this.push({data:n.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},h.prototype.flush=function(){for(var e=this.bytesWritten,t=0;t<this.dirRecords.length;t++)this.push({data:this.dirRecords[t],meta:{percent:100}});var n=this.bytesWritten-e,i=function(e,t,n,i,s){var o=r.transformTo("string",s(i));return a.CENTRAL_DIRECTORY_END+"\0\0\0\0"+c(e,2)+c(e,2)+c(t,4)+c(n,4)+c(o.length,2)+o}(this.dirRecords.length,n,e,this.zipComment,this.encodeFileName);this.push({data:i,meta:{percent:100}})},h.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},h.prototype.registerPrevious=function(e){this._sources.push(e);var t=this;return e.on("data",function(e){t.processChunk(e)}),e.on("end",function(){t.closedSource(t.previous.streamInfo),t._sources.length?t.prepareNextSource():t.end()}),e.on("error",function(e){t.error(e)}),this},h.prototype.resume=function(){return!!i.prototype.resume.call(this)&&(!this.previous&&this._sources.length?(this.prepareNextSource(),!0):this.previous||this._sources.length||this.generatedError?void 0:(this.end(),!0))},h.prototype.error=function(e){var t=this._sources;if(!i.prototype.error.call(this,e))return!1;for(var n=0;n<t.length;n++)try{t[n].error(e)}catch(e){}return!0},h.prototype.lock=function(){i.prototype.lock.call(this);for(var e=this._sources,t=0;t<e.length;t++)e[t].lock()},t.exports=h},{"../crc32":393,"../signature":412,"../stream/GenericWorker":417,"../utf8":420,"../utils":421}],398:[function(e,t,n){"use strict";var r=e("../compressions"),i=e("./ZipFileWorker");n.generateWorker=function(e,t,n){var s=new i(t.streamFiles,n,t.platform,t.encodeFileName),o=0;try{e.forEach(function(e,n){o++;var i=function(e,t){var n=e||t,i=r[n];if(!i)throw new Error(n+" is not a valid compression method !");return i}(n.options.compression,t.compression),a=n.options.compressionOptions||t.compressionOptions||{},c=n.dir,l=n.date;n._compressWorker(i,a).withStreamInfo("file",{name:e,dir:c,date:l,comment:n.comment||"",unixPermissions:n.unixPermissions,dosPermissions:n.dosPermissions}).pipe(s)}),s.entriesCount=o}catch(e){s.error(e)}return s}},{"../compressions":392,"./ZipFileWorker":397}],399:[function(e,t,n){"use strict";function r(){if(!(this instanceof r))return new r;if(arguments.length)throw new Error("The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide.");this.files={},this.comment=null,this.root="",this.clone=function(){var e=new r;for(var t in this)"function"!=typeof this[t]&&(e[t]=this[t]);return e}}r.prototype=e("./object"),r.prototype.loadAsync=e("./load"),r.support=e("./support"),r.defaults=e("./defaults"),r.version="3.5.0",r.loadAsync=function(e,t){return(new r).loadAsync(e,t)},r.external=e("./external"),t.exports=r},{"./defaults":394,"./external":395,"./load":400,"./object":404,"./support":419}],400:[function(e,t,n){"use strict";var r=e("./utils"),i=e("./external"),s=e("./utf8"),o=(r=e("./utils"),e("./zipEntries")),a=e("./stream/Crc32Probe"),c=e("./nodejsUtils");function l(e){return new i.Promise(function(t,n){var r=e.decompressed.getContentWorker().pipe(new a);r.on("error",function(e){n(e)}).on("end",function(){r.streamInfo.crc32!==e.decompressed.crc32?n(new Error("Corrupted zip : CRC32 mismatch")):t()}).resume()})}t.exports=function(e,t){var n=this;return t=r.extend(t||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:s.utf8decode}),c.isNode&&c.isStream(e)?i.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")):r.prepareContent("the loaded zip file",e,!0,t.optimizedBinaryString,t.base64).then(function(e){var n=new o(t);return n.load(e),n}).then(function(e){var n=[i.Promise.resolve(e)],r=e.files;if(t.checkCRC32)for(var s=0;s<r.length;s++)n.push(l(r[s]));return i.Promise.all(n)}).then(function(e){for(var r=e.shift(),i=r.files,s=0;s<i.length;s++){var o=i[s];n.file(o.fileNameStr,o.decompressed,{binary:!0,optimizedBinaryString:!0,date:o.date,dir:o.dir,comment:o.fileCommentStr.length?o.fileCommentStr:null,unixPermissions:o.unixPermissions,dosPermissions:o.dosPermissions,createFolders:t.createFolders})}return r.zipComment.length&&(n.comment=r.zipComment),n})}},{"./external":395,"./nodejsUtils":403,"./stream/Crc32Probe":414,"./utf8":420,"./utils":421,"./zipEntries":422}],401:[function(e,t,n){"use strict";var r=e("../utils"),i=e("../stream/GenericWorker");function s(e,t){i.call(this,"Nodejs stream input adapter for "+e),this._upstreamEnded=!1,this._bindStream(t)}r.inherits(s,i),s.prototype._bindStream=function(e){var t=this;this._stream=e,e.pause(),e.on("data",function(e){t.push({data:e,meta:{percent:0}})}).on("error",function(e){t.isPaused?this.generatedError=e:t.error(e)}).on("end",function(){t.isPaused?t._upstreamEnded=!0:t.end()})},s.prototype.pause=function(){return!!i.prototype.pause.call(this)&&(this._stream.pause(),!0)},s.prototype.resume=function(){return!!i.prototype.resume.call(this)&&(this._upstreamEnded?this.end():this._stream.resume(),!0)},t.exports=s},{"../stream/GenericWorker":417,"../utils":421}],402:[function(e,t,n){"use strict";var r=e("readable-stream").Readable;function i(e,t,n){r.call(this,t),this._helper=e;var i=this;e.on("data",function(e,t){i.push(e)||i._helper.pause(),n&&n(t)}).on("error",function(e){i.emit("error",e)}).on("end",function(){i.push(null)})}e("../utils").inherits(i,r),i.prototype._read=function(){this._helper.resume()},t.exports=i},{"../utils":421,"readable-stream":405}],403:[function(e,t,n){(function(e){"use strict";t.exports={isNode:void 0!==e,newBufferFrom:function(t,n){if(e.from&&e.from!==Uint8Array.from)return e.from(t,n);if("number"==typeof t)throw new Error('The "data" argument must not be a number');return new e(t,n)},allocBuffer:function(t){if(e.alloc)return e.alloc(t);var n=new e(t);return n.fill(0),n},isBuffer:function(t){return e.isBuffer(t)},isStream:function(e){return e&&"function"==typeof e.on&&"function"==typeof e.pause&&"function"==typeof e.resume}}}).call(this,e("buffer").Buffer)},{buffer:216}],404:[function(e,t,n){"use strict";var r=e("./utf8"),i=e("./utils"),s=e("./stream/GenericWorker"),o=e("./stream/StreamHelper"),a=e("./defaults"),c=e("./compressedObject"),l=e("./zipObject"),u=e("./generate"),h=e("./nodejsUtils"),d=e("./nodejs/NodejsStreamInputAdapter"),f=function(e,t,n){var r,o=i.getTypeOf(t),u=i.extend(n||{},a);u.date=u.date||new Date,null!==u.compression&&(u.compression=u.compression.toUpperCase()),"string"==typeof u.unixPermissions&&(u.unixPermissions=parseInt(u.unixPermissions,8)),u.unixPermissions&&16384&u.unixPermissions&&(u.dir=!0),u.dosPermissions&&16&u.dosPermissions&&(u.dir=!0),u.dir&&(e=m(e)),u.createFolders&&(r=p(e))&&g.call(this,r,!0);var f="string"===o&&!1===u.binary&&!1===u.base64;n&&void 0!==n.binary||(u.binary=!f),(t instanceof c&&0===t.uncompressedSize||u.dir||!t||0===t.length)&&(u.base64=!1,u.binary=!0,t="",u.compression="STORE",o="string");var v=null;v=t instanceof c||t instanceof s?t:h.isNode&&h.isStream(t)?new d(e,t):i.prepareContent(e,t,u.binary,u.optimizedBinaryString,u.base64);var y=new l(e,v,u);this.files[e]=y},p=function(e){"/"===e.slice(-1)&&(e=e.substring(0,e.length-1));var t=e.lastIndexOf("/");return t>0?e.substring(0,t):""},m=function(e){return"/"!==e.slice(-1)&&(e+="/"),e},g=function(e,t){return t=void 0!==t?t:a.createFolders,e=m(e),this.files[e]||f.call(this,e,null,{dir:!0,createFolders:t}),this.files[e]};function v(e){return"[object RegExp]"===Object.prototype.toString.call(e)}var y={load:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},forEach:function(e){var t,n,r;for(t in this.files)this.files.hasOwnProperty(t)&&(r=this.files[t],(n=t.slice(this.root.length,t.length))&&t.slice(0,this.root.length)===this.root&&e(n,r))},filter:function(e){var t=[];return this.forEach(function(n,r){e(n,r)&&t.push(r)}),t},file:function(e,t,n){if(1===arguments.length){if(v(e)){var r=e;return this.filter(function(e,t){return!t.dir&&r.test(e)})}var i=this.files[this.root+e];return i&&!i.dir?i:null}return e=this.root+e,f.call(this,e,t,n),this},folder:function(e){if(!e)return this;if(v(e))return this.filter(function(t,n){return n.dir&&e.test(t)});var t=this.root+e,n=g.call(this,t),r=this.clone();return r.root=n.name,r},remove:function(e){e=this.root+e;var t=this.files[e];if(t||("/"!==e.slice(-1)&&(e+="/"),t=this.files[e]),t&&!t.dir)delete this.files[e];else for(var n=this.filter(function(t,n){return n.name.slice(0,e.length)===e}),r=0;r<n.length;r++)delete this.files[n[r].name];return this},generate:function(e){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},generateInternalStream:function(e){var t,n={};try{if((n=i.extend(e||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:r.utf8encode})).type=n.type.toLowerCase(),n.compression=n.compression.toUpperCase(),"binarystring"===n.type&&(n.type="string"),!n.type)throw new Error("No output type specified.");i.checkSupport(n.type),"darwin"!==n.platform&&"freebsd"!==n.platform&&"linux"!==n.platform&&"sunos"!==n.platform||(n.platform="UNIX"),"win32"===n.platform&&(n.platform="DOS");var a=n.comment||this.comment||"";t=u.generateWorker(this,n,a)}catch(e){(t=new s("error")).error(e)}return new o(t,n.type||"string",n.mimeType)},generateAsync:function(e,t){return this.generateInternalStream(e).accumulate(t)},generateNodeStream:function(e,t){return(e=e||{}).type||(e.type="nodebuffer"),this.generateInternalStream(e).toNodejsStream(t)}};t.exports=y},{"./compressedObject":391,"./defaults":394,"./generate":398,"./nodejs/NodejsStreamInputAdapter":401,"./nodejsUtils":403,"./stream/GenericWorker":417,"./stream/StreamHelper":418,"./utf8":420,"./utils":421,"./zipObject":424}],405:[function(e,t,n){"use strict";t.exports=e("stream")},{stream:506}],406:[function(e,t,n){"use strict";var r=e("./DataReader");function i(e){r.call(this,e);for(var t=0;t<this.data.length;t++)e[t]=255&e[t]}e("../utils").inherits(i,r),i.prototype.byteAt=function(e){return this.data[this.zero+e]},i.prototype.lastIndexOfSignature=function(e){for(var t=e.charCodeAt(0),n=e.charCodeAt(1),r=e.charCodeAt(2),i=e.charCodeAt(3),s=this.length-4;s>=0;--s)if(this.data[s]===t&&this.data[s+1]===n&&this.data[s+2]===r&&this.data[s+3]===i)return s-this.zero;return-1},i.prototype.readAndCheckSignature=function(e){var t=e.charCodeAt(0),n=e.charCodeAt(1),r=e.charCodeAt(2),i=e.charCodeAt(3),s=this.readData(4);return t===s[0]&&n===s[1]&&r===s[2]&&i===s[3]},i.prototype.readData=function(e){if(this.checkOffset(e),0===e)return[];var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=i},{"../utils":421,"./DataReader":407}],407:[function(e,t,n){"use strict";var r=e("../utils");function i(e){this.data=e,this.length=e.length,this.index=0,this.zero=0}i.prototype={checkOffset:function(e){this.checkIndex(this.index+e)},checkIndex:function(e){if(this.length<this.zero+e||e<0)throw new Error("End of data reached (data length = "+this.length+", asked index = "+e+"). Corrupted zip ?")},setIndex:function(e){this.checkIndex(e),this.index=e},skip:function(e){this.setIndex(this.index+e)},byteAt:function(e){},readInt:function(e){var t,n=0;for(this.checkOffset(e),t=this.index+e-1;t>=this.index;t--)n=(n<<8)+this.byteAt(t);return this.index+=e,n},readString:function(e){return r.transformTo("string",this.readData(e))},readData:function(e){},lastIndexOfSignature:function(e){},readAndCheckSignature:function(e){},readDate:function(){var e=this.readInt(4);return new Date(Date.UTC(1980+(e>>25&127),(e>>21&15)-1,e>>16&31,e>>11&31,e>>5&63,(31&e)<<1))}},t.exports=i},{"../utils":421}],408:[function(e,t,n){"use strict";var r=e("./Uint8ArrayReader");function i(e){r.call(this,e)}e("../utils").inherits(i,r),i.prototype.readData=function(e){this.checkOffset(e);var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=i},{"../utils":421,"./Uint8ArrayReader":410}],409:[function(e,t,n){"use strict";var r=e("./DataReader");function i(e){r.call(this,e)}e("../utils").inherits(i,r),i.prototype.byteAt=function(e){return this.data.charCodeAt(this.zero+e)},i.prototype.lastIndexOfSignature=function(e){return this.data.lastIndexOf(e)-this.zero},i.prototype.readAndCheckSignature=function(e){return e===this.readData(4)},i.prototype.readData=function(e){this.checkOffset(e);var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=i},{"../utils":421,"./DataReader":407}],410:[function(e,t,n){"use strict";var r=e("./ArrayReader");function i(e){r.call(this,e)}e("../utils").inherits(i,r),i.prototype.readData=function(e){if(this.checkOffset(e),0===e)return new Uint8Array(0);var t=this.data.subarray(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=i},{"../utils":421,"./ArrayReader":406}],411:[function(e,t,n){"use strict";var r=e("../utils"),i=e("../support"),s=e("./ArrayReader"),o=e("./StringReader"),a=e("./NodeBufferReader"),c=e("./Uint8ArrayReader");t.exports=function(e){var t=r.getTypeOf(e);return r.checkSupport(t),"string"!==t||i.uint8array?"nodebuffer"===t?new a(e):i.uint8array?new c(r.transformTo("uint8array",e)):new s(r.transformTo("array",e)):new o(e)}},{"../support":419,"../utils":421,"./ArrayReader":406,"./NodeBufferReader":408,"./StringReader":409,"./Uint8ArrayReader":410}],412:[function(e,t,n){"use strict";n.LOCAL_FILE_HEADER="PK\x03\x04",n.CENTRAL_FILE_HEADER="PK\x01\x02",n.CENTRAL_DIRECTORY_END="PK\x05\x06",n.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK\x06\x07",n.ZIP64_CENTRAL_DIRECTORY_END="PK\x06\x06",n.DATA_DESCRIPTOR="PK\x07\b"},{}],413:[function(e,t,n){"use strict";var r=e("./GenericWorker"),i=e("../utils");function s(e){r.call(this,"ConvertWorker to "+e),this.destType=e}i.inherits(s,r),s.prototype.processChunk=function(e){this.push({data:i.transformTo(this.destType,e.data),meta:e.meta})},t.exports=s},{"../utils":421,"./GenericWorker":417}],414:[function(e,t,n){"use strict";var r=e("./GenericWorker"),i=e("../crc32");function s(){r.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}e("../utils").inherits(s,r),s.prototype.processChunk=function(e){this.streamInfo.crc32=i(e.data,this.streamInfo.crc32||0),this.push(e)},t.exports=s},{"../crc32":393,"../utils":421,"./GenericWorker":417}],415:[function(e,t,n){"use strict";var r=e("../utils"),i=e("./GenericWorker");function s(e){i.call(this,"DataLengthProbe for "+e),this.propName=e,this.withStreamInfo(e,0)}r.inherits(s,i),s.prototype.processChunk=function(e){if(e){var t=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=t+e.data.length}i.prototype.processChunk.call(this,e)},t.exports=s},{"../utils":421,"./GenericWorker":417}],416:[function(e,t,n){"use strict";var r=e("../utils"),i=e("./GenericWorker");function s(e){i.call(this,"DataWorker");var t=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,e.then(function(e){t.dataIsReady=!0,t.data=e,t.max=e&&e.length||0,t.type=r.getTypeOf(e),t.isPaused||t._tickAndRepeat()},function(e){t.error(e)})}r.inherits(s,i),s.prototype.cleanUp=function(){i.prototype.cleanUp.call(this),this.data=null},s.prototype.resume=function(){return!!i.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,r.delay(this._tickAndRepeat,[],this)),!0)},s.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(r.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},s.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var e=null,t=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":e=this.data.substring(this.index,t);break;case"uint8array":e=this.data.subarray(this.index,t);break;case"array":case"nodebuffer":e=this.data.slice(this.index,t)}return this.index=t,this.push({data:e,meta:{percent:this.max?this.index/this.max*100:0}})},t.exports=s},{"../utils":421,"./GenericWorker":417}],417:[function(e,t,n){"use strict";function r(e){this.name=e||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}r.prototype={push:function(e){this.emit("data",e)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(e){this.emit("error",e)}return!0},error:function(e){return!this.isFinished&&(this.isPaused?this.generatedError=e:(this.isFinished=!0,this.emit("error",e),this.previous&&this.previous.error(e),this.cleanUp()),!0)},on:function(e,t){return this._listeners[e].push(t),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(e,t){if(this._listeners[e])for(var n=0;n<this._listeners[e].length;n++)this._listeners[e][n].call(this,t)},pipe:function(e){return e.registerPrevious(this)},registerPrevious:function(e){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.streamInfo=e.streamInfo,this.mergeStreamInfo(),this.previous=e;var t=this;return e.on("data",function(e){t.processChunk(e)}),e.on("end",function(){t.end()}),e.on("error",function(e){t.error(e)}),this},pause:function(){return!this.isPaused&&!this.isFinished&&(this.isPaused=!0,this.previous&&this.previous.pause(),!0)},resume:function(){if(!this.isPaused||this.isFinished)return!1;this.isPaused=!1;var e=!1;return this.generatedError&&(this.error(this.generatedError),e=!0),this.previous&&this.previous.resume(),!e},flush:function(){},processChunk:function(e){this.push(e)},withStreamInfo:function(e,t){return this.extraStreamInfo[e]=t,this.mergeStreamInfo(),this},mergeStreamInfo:function(){for(var e in this.extraStreamInfo)this.extraStreamInfo.hasOwnProperty(e)&&(this.streamInfo[e]=this.extraStreamInfo[e])},lock:function(){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.isLocked=!0,this.previous&&this.previous.lock()},toString:function(){var e="Worker "+this.name;return this.previous?this.previous+" -> "+e:e}},t.exports=r},{}],418:[function(e,t,n){(function(n){"use strict";var r=e("../utils"),i=e("./ConvertWorker"),s=e("./GenericWorker"),o=e("../base64"),a=e("../support"),c=e("../external"),l=null;if(a.nodestream)try{l=e("../nodejs/NodejsStreamOutputAdapter")}catch(e){}function u(e,t){return new c.Promise(function(i,s){var a=[],c=e._internalType,l=e._outputType,u=e._mimeType;e.on("data",function(e,n){a.push(e),t&&t(n)}).on("error",function(e){a=[],s(e)}).on("end",function(){try{var e=function(e,t,n){switch(e){case"blob":return r.newBlob(r.transformTo("arraybuffer",t),n);case"base64":return o.encode(t);default:return r.transformTo(e,t)}}(l,function(e,t){var r,i=0,s=null,o=0;for(r=0;r<t.length;r++)o+=t[r].length;switch(e){case"string":return t.join("");case"array":return Array.prototype.concat.apply([],t);case"uint8array":for(s=new Uint8Array(o),r=0;r<t.length;r++)s.set(t[r],i),i+=t[r].length;return s;case"nodebuffer":return n.concat(t);default:throw new Error("concat : unsupported type '"+e+"'")}}(c,a),u);i(e)}catch(e){s(e)}a=[]}).resume()})}function h(e,t,n){var o=t;switch(t){case"blob":case"arraybuffer":o="uint8array";break;case"base64":o="string"}try{this._internalType=o,this._outputType=t,this._mimeType=n,r.checkSupport(o),this._worker=e.pipe(new i(o)),e.lock()}catch(e){this._worker=new s("error"),this._worker.error(e)}}h.prototype={accumulate:function(e){return u(this,e)},on:function(e,t){var n=this;return"data"===e?this._worker.on(e,function(e){t.call(n,e.data,e.meta)}):this._worker.on(e,function(){r.delay(t,arguments,n)}),this},resume:function(){return r.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(e){if(r.checkSupport("nodestream"),"nodebuffer"!==this._outputType)throw new Error(this._outputType+" is not supported by this method");return new l(this,{objectMode:"nodebuffer"!==this._outputType},e)}},t.exports=h}).call(this,e("buffer").Buffer)},{"../base64":390,"../external":395,"../nodejs/NodejsStreamOutputAdapter":402,"../support":419,"../utils":421,"./ConvertWorker":413,"./GenericWorker":417,buffer:216}],419:[function(e,t,n){(function(t){"use strict";if(n.base64=!0,n.array=!0,n.string=!0,n.arraybuffer="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof Uint8Array,n.nodebuffer=void 0!==t,n.uint8array="undefined"!=typeof Uint8Array,"undefined"==typeof ArrayBuffer)n.blob=!1;else{var r=new ArrayBuffer(0);try{n.blob=0===new Blob([r],{type:"application/zip"}).size}catch(e){try{var i=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);i.append(r),n.blob=0===i.getBlob("application/zip").size}catch(e){n.blob=!1}}}try{n.nodestream=!!e("readable-stream").Readable}catch(e){n.nodestream=!1}}).call(this,e("buffer").Buffer)},{buffer:216,"readable-stream":405}],420:[function(e,t,n){"use strict";for(var r=e("./utils"),i=e("./support"),s=e("./nodejsUtils"),o=e("./stream/GenericWorker"),a=new Array(256),c=0;c<256;c++)a[c]=c>=252?6:c>=248?5:c>=240?4:c>=224?3:c>=192?2:1;function l(){o.call(this,"utf-8 decode"),this.leftOver=null}function u(){o.call(this,"utf-8 encode")}a[254]=a[254]=1,n.utf8encode=function(e){return i.nodebuffer?s.newBufferFrom(e,"utf-8"):function(e){var t,n,r,s,o,a=e.length,c=0;for(s=0;s<a;s++)55296==(64512&(n=e.charCodeAt(s)))&&s+1<a&&56320==(64512&(r=e.charCodeAt(s+1)))&&(n=65536+(n-55296<<10)+(r-56320),s++),c+=n<128?1:n<2048?2:n<65536?3:4;for(t=i.uint8array?new Uint8Array(c):new Array(c),o=0,s=0;o<c;s++)55296==(64512&(n=e.charCodeAt(s)))&&s+1<a&&56320==(64512&(r=e.charCodeAt(s+1)))&&(n=65536+(n-55296<<10)+(r-56320),s++),n<128?t[o++]=n:n<2048?(t[o++]=192|n>>>6,t[o++]=128|63&n):n<65536?(t[o++]=224|n>>>12,t[o++]=128|n>>>6&63,t[o++]=128|63&n):(t[o++]=240|n>>>18,t[o++]=128|n>>>12&63,t[o++]=128|n>>>6&63,t[o++]=128|63&n);return t}(e)},n.utf8decode=function(e){return i.nodebuffer?r.transformTo("nodebuffer",e).toString("utf-8"):function(e){var t,n,i,s,o=e.length,c=new Array(2*o);for(n=0,t=0;t<o;)if((i=e[t++])<128)c[n++]=i;else if((s=a[i])>4)c[n++]=65533,t+=s-1;else{for(i&=2===s?31:3===s?15:7;s>1&&t<o;)i=i<<6|63&e[t++],s--;s>1?c[n++]=65533:i<65536?c[n++]=i:(i-=65536,c[n++]=55296|i>>10&1023,c[n++]=56320|1023&i)}return c.length!==n&&(c.subarray?c=c.subarray(0,n):c.length=n),r.applyFromCharCode(c)}(e=r.transformTo(i.uint8array?"uint8array":"array",e))},r.inherits(l,o),l.prototype.processChunk=function(e){var t=r.transformTo(i.uint8array?"uint8array":"array",e.data);if(this.leftOver&&this.leftOver.length){if(i.uint8array){var s=t;(t=new Uint8Array(s.length+this.leftOver.length)).set(this.leftOver,0),t.set(s,this.leftOver.length)}else t=this.leftOver.concat(t);this.leftOver=null}var o=function(e,t){var n;for((t=t||e.length)>e.length&&(t=e.length),n=t-1;n>=0&&128==(192&e[n]);)n--;return n<0||0===n?t:n+a[e[n]]>t?n:t}(t),c=t;o!==t.length&&(i.uint8array?(c=t.subarray(0,o),this.leftOver=t.subarray(o,t.length)):(c=t.slice(0,o),this.leftOver=t.slice(o,t.length))),this.push({data:n.utf8decode(c),meta:e.meta})},l.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:n.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},n.Utf8DecodeWorker=l,r.inherits(u,o),u.prototype.processChunk=function(e){this.push({data:n.utf8encode(e.data),meta:e.meta})},n.Utf8EncodeWorker=u},{"./nodejsUtils":403,"./stream/GenericWorker":417,"./support":419,"./utils":421}],421:[function(e,t,n){"use strict";var r=e("./support"),i=e("./base64"),s=e("./nodejsUtils"),o=e("set-immediate-shim"),a=e("./external");function c(e){return e}function l(e,t){for(var n=0;n<e.length;++n)t[n]=255&e.charCodeAt(n);return t}n.newBlob=function(e,t){n.checkSupport("blob");try{return new Blob([e],{type:t})}catch(n){try{var r=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);return r.append(e),r.getBlob(t)}catch(e){throw new Error("Bug : can't construct the Blob.")}}};var u={stringifyByChunk:function(e,t,n){var r=[],i=0,s=e.length;if(s<=n)return String.fromCharCode.apply(null,e);for(;i<s;)"array"===t||"nodebuffer"===t?r.push(String.fromCharCode.apply(null,e.slice(i,Math.min(i+n,s)))):r.push(String.fromCharCode.apply(null,e.subarray(i,Math.min(i+n,s)))),i+=n;return r.join("")},stringifyByChar:function(e){for(var t="",n=0;n<e.length;n++)t+=String.fromCharCode(e[n]);return t},applyCanBeUsed:{uint8array:function(){try{return r.uint8array&&1===String.fromCharCode.apply(null,new Uint8Array(1)).length}catch(e){return!1}}(),nodebuffer:function(){try{return r.nodebuffer&&1===String.fromCharCode.apply(null,s.allocBuffer(1)).length}catch(e){return!1}}()}};function h(e){var t=65536,r=n.getTypeOf(e),i=!0;if("uint8array"===r?i=u.applyCanBeUsed.uint8array:"nodebuffer"===r&&(i=u.applyCanBeUsed.nodebuffer),i)for(;t>1;)try{return u.stringifyByChunk(e,r,t)}catch(e){t=Math.floor(t/2)}return u.stringifyByChar(e)}function d(e,t){for(var n=0;n<e.length;n++)t[n]=e[n];return t}n.applyFromCharCode=h;var f={};f.string={string:c,array:function(e){return l(e,new Array(e.length))},arraybuffer:function(e){return f.string.uint8array(e).buffer},uint8array:function(e){return l(e,new Uint8Array(e.length))},nodebuffer:function(e){return l(e,s.allocBuffer(e.length))}},f.array={string:h,array:c,arraybuffer:function(e){return new Uint8Array(e).buffer},uint8array:function(e){return new Uint8Array(e)},nodebuffer:function(e){return s.newBufferFrom(e)}},f.arraybuffer={string:function(e){return h(new Uint8Array(e))},array:function(e){return d(new Uint8Array(e),new Array(e.byteLength))},arraybuffer:c,uint8array:function(e){return new Uint8Array(e)},nodebuffer:function(e){return s.newBufferFrom(new Uint8Array(e))}},f.uint8array={string:h,array:function(e){return d(e,new Array(e.length))},arraybuffer:function(e){return e.buffer},uint8array:c,nodebuffer:function(e){return s.newBufferFrom(e)}},f.nodebuffer={string:h,array:function(e){return d(e,new Array(e.length))},arraybuffer:function(e){return f.nodebuffer.uint8array(e).buffer},uint8array:function(e){return d(e,new Uint8Array(e.length))},nodebuffer:c},n.transformTo=function(e,t){if(t||(t=""),!e)return t;n.checkSupport(e);var r=n.getTypeOf(t);return f[r][e](t)},n.getTypeOf=function(e){return"string"==typeof e?"string":"[object Array]"===Object.prototype.toString.call(e)?"array":r.nodebuffer&&s.isBuffer(e)?"nodebuffer":r.uint8array&&e instanceof Uint8Array?"uint8array":r.arraybuffer&&e instanceof ArrayBuffer?"arraybuffer":void 0},n.checkSupport=function(e){if(!r[e.toLowerCase()])throw new Error(e+" is not supported by this platform")},n.MAX_VALUE_16BITS=65535,n.MAX_VALUE_32BITS=-1,n.pretty=function(e){var t,n,r="";for(n=0;n<(e||"").length;n++)r+="\\x"+((t=e.charCodeAt(n))<16?"0":"")+t.toString(16).toUpperCase();return r},n.delay=function(e,t,n){o(function(){e.apply(n||null,t||[])})},n.inherits=function(e,t){var n=function(){};n.prototype=t.prototype,e.prototype=new n},n.extend=function(){var e,t,n={};for(e=0;e<arguments.length;e++)for(t in arguments[e])arguments[e].hasOwnProperty(t)&&void 0===n[t]&&(n[t]=arguments[e][t]);return n},n.prepareContent=function(e,t,s,o,c){return a.Promise.resolve(t).then(function(e){return r.blob&&(e instanceof Blob||-1!==["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(e)))&&"undefined"!=typeof FileReader?new a.Promise(function(t,n){var r=new FileReader;r.onload=function(e){t(e.target.result)},r.onerror=function(e){n(e.target.error)},r.readAsArrayBuffer(e)}):e}).then(function(t){var u,h=n.getTypeOf(t);return h?("arraybuffer"===h?t=n.transformTo("uint8array",t):"string"===h&&(c?t=i.decode(t):s&&!0!==o&&(t=l(u=t,r.uint8array?new Uint8Array(u.length):new Array(u.length)))),t):a.Promise.reject(new Error("Can't read the data of '"+e+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"))})}},{"./base64":390,"./external":395,"./nodejsUtils":403,"./support":419,"set-immediate-shim":497}],422:[function(e,t,n){"use strict";var r=e("./reader/readerFor"),i=e("./utils"),s=e("./signature"),o=e("./zipEntry"),a=(e("./utf8"),e("./support"));function c(e){this.files=[],this.loadOptions=e}c.prototype={checkSignature:function(e){if(!this.reader.readAndCheckSignature(e)){this.reader.index-=4;var t=this.reader.readString(4);throw new Error("Corrupted zip or bug: unexpected signature ("+i.pretty(t)+", expected "+i.pretty(e)+")")}},isSignature:function(e,t){var n=this.reader.index;this.reader.setIndex(e);var r=this.reader.readString(4)===t;return this.reader.setIndex(n),r},readBlockEndOfCentral:function(){this.diskNumber=this.reader.readInt(2),this.diskWithCentralDirStart=this.reader.readInt(2),this.centralDirRecordsOnThisDisk=this.reader.readInt(2),this.centralDirRecords=this.reader.readInt(2),this.centralDirSize=this.reader.readInt(4),this.centralDirOffset=this.reader.readInt(4),this.zipCommentLength=this.reader.readInt(2);var e=this.reader.readData(this.zipCommentLength),t=a.uint8array?"uint8array":"array",n=i.transformTo(t,e);this.zipComment=this.loadOptions.decodeFileName(n)},readBlockZip64EndOfCentral:function(){this.zip64EndOfCentralSize=this.reader.readInt(8),this.reader.skip(4),this.diskNumber=this.reader.readInt(4),this.diskWithCentralDirStart=this.reader.readInt(4),this.centralDirRecordsOnThisDisk=this.reader.readInt(8),this.centralDirRecords=this.reader.readInt(8),this.centralDirSize=this.reader.readInt(8),this.centralDirOffset=this.reader.readInt(8),this.zip64ExtensibleData={};for(var e,t,n,r=this.zip64EndOfCentralSize-44;0<r;)e=this.reader.readInt(2),t=this.reader.readInt(4),n=this.reader.readData(t),this.zip64ExtensibleData[e]={id:e,length:t,value:n}},readBlockZip64EndOfCentralLocator:function(){if(this.diskWithZip64CentralDirStart=this.reader.readInt(4),this.relativeOffsetEndOfZip64CentralDir=this.reader.readInt(8),this.disksCount=this.reader.readInt(4),this.disksCount>1)throw new Error("Multi-volumes zip are not supported")},readLocalFiles:function(){var e,t;for(e=0;e<this.files.length;e++)t=this.files[e],this.reader.setIndex(t.localHeaderOffset),this.checkSignature(s.LOCAL_FILE_HEADER),t.readLocalPart(this.reader),t.handleUTF8(),t.processAttributes()},readCentralDir:function(){var e;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(s.CENTRAL_FILE_HEADER);)(e=new o({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(e);if(this.centralDirRecords!==this.files.length&&0!==this.centralDirRecords&&0===this.files.length)throw new Error("Corrupted zip or bug: expected "+this.centralDirRecords+" records in central dir, got "+this.files.length)},readEndOfCentral:function(){var e=this.reader.lastIndexOfSignature(s.CENTRAL_DIRECTORY_END);if(e<0)throw this.isSignature(0,s.LOCAL_FILE_HEADER)?new Error("Corrupted zip: can't find end of central directory"):new Error("Can't find end of central directory : is this a zip file ? If it is, see https://stuk.github.io/jszip/documentation/howto/read_zip.html");this.reader.setIndex(e);var t=e;if(this.checkSignature(s.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===i.MAX_VALUE_16BITS||this.diskWithCentralDirStart===i.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===i.MAX_VALUE_16BITS||this.centralDirRecords===i.MAX_VALUE_16BITS||this.centralDirSize===i.MAX_VALUE_32BITS||this.centralDirOffset===i.MAX_VALUE_32BITS){if(this.zip64=!0,(e=this.reader.lastIndexOfSignature(s.ZIP64_CENTRAL_DIRECTORY_LOCATOR))<0)throw new Error("Corrupted zip: can't find the ZIP64 end of central directory locator");if(this.reader.setIndex(e),this.checkSignature(s.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,s.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(s.ZIP64_CENTRAL_DIRECTORY_END),this.relativeOffsetEndOfZip64CentralDir<0))throw new Error("Corrupted zip: can't find the ZIP64 end of central directory");this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir),this.checkSignature(s.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}var n=this.centralDirOffset+this.centralDirSize;this.zip64&&(n+=20,n+=12+this.zip64EndOfCentralSize);var r=t-n;if(r>0)this.isSignature(t,s.CENTRAL_FILE_HEADER)||(this.reader.zero=r);else if(r<0)throw new Error("Corrupted zip: missing "+Math.abs(r)+" bytes.")},prepareReader:function(e){this.reader=r(e)},load:function(e){this.prepareReader(e),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},t.exports=c},{"./reader/readerFor":411,"./signature":412,"./support":419,"./utf8":420,"./utils":421,"./zipEntry":423}],423:[function(e,t,n){"use strict";var r=e("./reader/readerFor"),i=e("./utils"),s=e("./compressedObject"),o=e("./crc32"),a=e("./utf8"),c=e("./compressions"),l=e("./support");function u(e,t){this.options=e,this.loadOptions=t}u.prototype={isEncrypted:function(){return 1==(1&this.bitFlag)},useUTF8:function(){return 2048==(2048&this.bitFlag)},readLocalPart:function(e){var t,n;if(e.skip(22),this.fileNameLength=e.readInt(2),n=e.readInt(2),this.fileName=e.readData(this.fileNameLength),e.skip(n),-1===this.compressedSize||-1===this.uncompressedSize)throw new Error("Bug or corrupted zip : didn't get enough information from the central directory (compressedSize === -1 || uncompressedSize === -1)");if(null===(t=function(e){for(var t in c)if(c.hasOwnProperty(t)&&c[t].magic===e)return c[t];return null}(this.compressionMethod)))throw new Error("Corrupted zip : compression "+i.pretty(this.compressionMethod)+" unknown (inner file : "+i.transformTo("string",this.fileName)+")");this.decompressed=new s(this.compressedSize,this.uncompressedSize,this.crc32,t,e.readData(this.compressedSize))},readCentralPart:function(e){this.versionMadeBy=e.readInt(2),e.skip(2),this.bitFlag=e.readInt(2),this.compressionMethod=e.readString(2),this.date=e.readDate(),this.crc32=e.readInt(4),this.compressedSize=e.readInt(4),this.uncompressedSize=e.readInt(4);var t=e.readInt(2);if(this.extraFieldsLength=e.readInt(2),this.fileCommentLength=e.readInt(2),this.diskNumberStart=e.readInt(2),this.internalFileAttributes=e.readInt(2),this.externalFileAttributes=e.readInt(4),this.localHeaderOffset=e.readInt(4),this.isEncrypted())throw new Error("Encrypted zip are not supported");e.skip(t),this.readExtraFields(e),this.parseZIP64ExtraField(e),this.fileComment=e.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var e=this.versionMadeBy>>8;this.dir=!!(16&this.externalFileAttributes),0===e&&(this.dosPermissions=63&this.externalFileAttributes),3===e&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||"/"!==this.fileNameStr.slice(-1)||(this.dir=!0)},parseZIP64ExtraField:function(e){if(this.extraFields[1]){var t=r(this.extraFields[1].value);this.uncompressedSize===i.MAX_VALUE_32BITS&&(this.uncompressedSize=t.readInt(8)),this.compressedSize===i.MAX_VALUE_32BITS&&(this.compressedSize=t.readInt(8)),this.localHeaderOffset===i.MAX_VALUE_32BITS&&(this.localHeaderOffset=t.readInt(8)),this.diskNumberStart===i.MAX_VALUE_32BITS&&(this.diskNumberStart=t.readInt(4))}},readExtraFields:function(e){var t,n,r,i=e.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});e.index+4<i;)t=e.readInt(2),n=e.readInt(2),r=e.readData(n),this.extraFields[t]={id:t,length:n,value:r};e.setIndex(i)},handleUTF8:function(){var e=l.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=a.utf8decode(this.fileName),this.fileCommentStr=a.utf8decode(this.fileComment);else{var t=this.findExtraFieldUnicodePath();if(null!==t)this.fileNameStr=t;else{var n=i.transformTo(e,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(n)}var r=this.findExtraFieldUnicodeComment();if(null!==r)this.fileCommentStr=r;else{var s=i.transformTo(e,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(s)}}},findExtraFieldUnicodePath:function(){var e=this.extraFields[28789];if(e){var t=r(e.value);return 1!==t.readInt(1)||o(this.fileName)!==t.readInt(4)?null:a.utf8decode(t.readData(e.length-5))}return null},findExtraFieldUnicodeComment:function(){var e=this.extraFields[25461];if(e){var t=r(e.value);return 1!==t.readInt(1)||o(this.fileComment)!==t.readInt(4)?null:a.utf8decode(t.readData(e.length-5))}return null}},t.exports=u},{"./compressedObject":391,"./compressions":392,"./crc32":393,"./reader/readerFor":411,"./support":419,"./utf8":420,"./utils":421}],424:[function(e,t,n){"use strict";var r=e("./stream/StreamHelper"),i=e("./stream/DataWorker"),s=e("./utf8"),o=e("./compressedObject"),a=e("./stream/GenericWorker"),c=function(e,t,n){this.name=e,this.dir=n.dir,this.date=n.date,this.comment=n.comment,this.unixPermissions=n.unixPermissions,this.dosPermissions=n.dosPermissions,this._data=t,this._dataBinary=n.binary,this.options={compression:n.compression,compressionOptions:n.compressionOptions}};c.prototype={internalStream:function(e){var t=null,n="string";try{if(!e)throw new Error("No output type specified.");var i="string"===(n=e.toLowerCase())||"text"===n;"binarystring"!==n&&"text"!==n||(n="string"),t=this._decompressWorker();var o=!this._dataBinary;o&&!i&&(t=t.pipe(new s.Utf8EncodeWorker)),!o&&i&&(t=t.pipe(new s.Utf8DecodeWorker))}catch(e){(t=new a("error")).error(e)}return new r(t,n,"")},async:function(e,t){return this.internalStream(e).accumulate(t)},nodeStream:function(e,t){return this.internalStream(e||"nodebuffer").toNodejsStream(t)},_compressWorker:function(e,t){if(this._data instanceof o&&this._data.compression.magic===e.magic)return this._data.getCompressedWorker();var n=this._decompressWorker();return this._dataBinary||(n=n.pipe(new s.Utf8EncodeWorker)),o.createWorkerFrom(n,e,t)},_decompressWorker:function(){return this._data instanceof o?this._data.getContentWorker():this._data instanceof a?this._data:new i(this._data)}};for(var l=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],u=function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},h=0;h<l.length;h++)c.prototype[l[h]]=u;t.exports=c},{"./compressedObject":391,"./stream/DataWorker":416,"./stream/GenericWorker":417,"./stream/StreamHelper":418,"./utf8":420}],425:[function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var i=e("immediate");function s(){}var o={},a=["REJECTED"],c=["FULFILLED"],l=["PENDING"];function u(e){if("function"!=typeof e)throw new TypeError("resolver must be a function");this.state=l,this.queue=[],this.outcome=void 0,e!==s&&p(this,e)}function h(e,t,n){this.promise=e,"function"==typeof t&&(this.onFulfilled=t,this.callFulfilled=this.otherCallFulfilled),"function"==typeof n&&(this.onRejected=n,this.callRejected=this.otherCallRejected)}function d(e,t,n){i(function(){var r;try{r=t(n)}catch(t){return o.reject(e,t)}r===e?o.reject(e,new TypeError("Cannot resolve promise with itself")):o.resolve(e,r)})}function f(e){var t=e&&e.then;if(e&&("object"===r(e)||"function"==typeof e)&&"function"==typeof t)return function(){t.apply(e,arguments)}}function p(e,t){var n=!1;function r(t){n||(n=!0,o.reject(e,t))}function i(t){n||(n=!0,o.resolve(e,t))}var s=m(function(){t(i,r)});"error"===s.status&&r(s.value)}function m(e,t){var n={};try{n.value=e(t),n.status="success"}catch(e){n.status="error",n.value=e}return n}t.exports=u,u.prototype.finally=function(e){if("function"!=typeof e)return this;var t=this.constructor;return this.then(function(n){return t.resolve(e()).then(function(){return n})},function(n){return t.resolve(e()).then(function(){throw n})})},u.prototype.catch=function(e){return this.then(null,e)},u.prototype.then=function(e,t){if("function"!=typeof e&&this.state===c||"function"!=typeof t&&this.state===a)return this;var n=new this.constructor(s);return this.state!==l?d(n,this.state===c?e:t,this.outcome):this.queue.push(new h(n,e,t)),n},h.prototype.callFulfilled=function(e){o.resolve(this.promise,e)},h.prototype.otherCallFulfilled=function(e){d(this.promise,this.onFulfilled,e)},h.prototype.callRejected=function(e){o.reject(this.promise,e)},h.prototype.otherCallRejected=function(e){d(this.promise,this.onRejected,e)},o.resolve=function(e,t){var n=m(f,t);if("error"===n.status)return o.reject(e,n.value);var r=n.value;if(r)p(e,r);else{e.state=c,e.outcome=t;for(var i=-1,s=e.queue.length;++i<s;)e.queue[i].callFulfilled(t)}return e},o.reject=function(e,t){e.state=a,e.outcome=t;for(var n=-1,r=e.queue.length;++n<r;)e.queue[n].callRejected(t);return e},u.resolve=function(e){return e instanceof this?e:o.resolve(new this(s),e)},u.reject=function(e){var t=new this(s);return o.reject(t,e)},u.all=function(e){var t=this;if("[object Array]"!==Object.prototype.toString.call(e))return this.reject(new TypeError("must be an array"));var n=e.length,r=!1;if(!n)return this.resolve([]);for(var i=new Array(n),a=0,c=-1,l=new this(s);++c<n;)u(e[c],c);return l;function u(e,s){t.resolve(e).then(function(e){i[s]=e,++a!==n||r||(r=!0,o.resolve(l,i))},function(e){r||(r=!0,o.reject(l,e))})}},u.race=function(e){var t=this;if("[object Array]"!==Object.prototype.toString.call(e))return this.reject(new TypeError("must be an array"));var n=e.length,r=!1;if(!n)return this.resolve([]);for(var i,a=-1,c=new this(s);++a<n;)i=e[a],t.resolve(i).then(function(e){r||(r=!0,o.resolve(c,e))},function(e){r||(r=!0,o.reject(c,e))});return c}},{immediate:386}],426:[function(e,t,n){(function(e){"use strict";function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var r=/[\\^$.*+?()[\]{}|]/g,i=RegExp(r.source),s="object"==(void 0===e?"undefined":n(e))&&e&&e.Object===Object&&e,o="object"==("undefined"==typeof self?"undefined":n(self))&&self&&self.Object===Object&&self,a=s||o||Function("return this")(),c=Object.prototype.toString,l=a.Symbol,u=l?l.prototype:void 0,h=u?u.toString:void 0;function d(e){if("string"==typeof e)return e;if(function(e){return"symbol"==n(e)||function(e){return!!e&&"object"==n(e)}(e)&&"[object Symbol]"==c.call(e)}(e))return h?h.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}t.exports=function(e){var t;return(e=null==(t=e)?"":d(t))&&i.test(e)?e.replace(r,"\\$&"):e}}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],427:[function(e,t,n){(function(e){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var i="[object Arguments]",s="[object Map]",o="[object Object]",a="[object Set]",c=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,l=/^\w*$/,u=/^\./,h=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,d=/\\(\\)?/g,f=/^\[object .+?Constructor\]$/,p=/^(?:0|[1-9]\d*)$/,m={};m["[object Float32Array]"]=m["[object Float64Array]"]=m["[object Int8Array]"]=m["[object Int16Array]"]=m["[object Int32Array]"]=m["[object Uint8Array]"]=m["[object Uint8ClampedArray]"]=m["[object Uint16Array]"]=m["[object Uint32Array]"]=!0,m[i]=m["[object Array]"]=m["[object ArrayBuffer]"]=m["[object Boolean]"]=m["[object DataView]"]=m["[object Date]"]=m["[object Error]"]=m["[object Function]"]=m[s]=m["[object Number]"]=m[o]=m["[object RegExp]"]=m[a]=m["[object String]"]=m["[object WeakMap]"]=!1;var g="object"==(void 0===e?"undefined":r(e))&&e&&e.Object===Object&&e,v="object"==("undefined"==typeof self?"undefined":r(self))&&self&&self.Object===Object&&self,y=g||v||Function("return this")(),b="object"==(void 0===n?"undefined":r(n))&&n&&!n.nodeType&&n,_=b&&"object"==(void 0===t?"undefined":r(t))&&t&&!t.nodeType&&t,w=_&&_.exports===b&&g.process,S=function(){try{return w&&w.binding("util")}catch(e){}}(),x=S&&S.isTypedArray;function O(e,t,n,r){for(var i=-1,s=e?e.length:0;++i<s;){var o=e[i];t(r,o,n(o),e)}return r}function k(e,t){for(var n=-1,r=e?e.length:0;++n<r;)if(t(e[n],n,e))return!0;return!1}function C(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}function M(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n}function E(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}var T,j,D,A=Array.prototype,L=Function.prototype,z=Object.prototype,P=y["__core-js_shared__"],I=(T=/[^.]+$/.exec(P&&P.keys&&P.keys.IE_PROTO||""))?"Symbol(src)_1."+T:"",R=L.toString,N=z.hasOwnProperty,H=z.toString,F=RegExp("^"+R.call(N).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),V=y.Symbol,B=y.Uint8Array,Y=z.propertyIsEnumerable,U=A.splice,W=(j=Object.keys,D=Object,function(e){return j(D(e))}),q=Me(y,"DataView"),$=Me(y,"Map"),G=Me(y,"Promise"),X=Me(y,"Set"),K=Me(y,"WeakMap"),J=Me(Object,"create"),Q=Pe(q),Z=Pe($),ee=Pe(G),te=Pe(X),ne=Pe(K),re=V?V.prototype:void 0,ie=re?re.valueOf:void 0,se=re?re.toString:void 0;function oe(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function ae(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function ce(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function le(e){var t=-1,n=e?e.length:0;for(this.__data__=new ce;++t<n;)this.add(e[t])}function ue(e){this.__data__=new ae(e)}function he(e,t){var n=Be(e)||Ve(e)?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],r=n.length,i=!!r;for(var s in e)!t&&!N.call(e,s)||i&&("length"==s||Te(s,r))||n.push(s);return n}function de(e,t){for(var n=e.length;n--;)if(Fe(e[n][0],t))return n;return-1}function fe(e,t,n,r){return ge(e,function(e,i,s){t(r,e,n(e),s)}),r}oe.prototype.clear=function(){this.__data__=J?J(null):{}},oe.prototype.delete=function(e){return this.has(e)&&delete this.__data__[e]},oe.prototype.get=function(e){var t=this.__data__;if(J){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return N.call(t,e)?t[e]:void 0},oe.prototype.has=function(e){var t=this.__data__;return J?void 0!==t[e]:N.call(t,e)},oe.prototype.set=function(e,t){return this.__data__[e]=J&&void 0===t?"__lodash_hash_undefined__":t,this},ae.prototype.clear=function(){this.__data__=[]},ae.prototype.delete=function(e){var t=this.__data__,n=de(t,e);return!(n<0||(n==t.length-1?t.pop():U.call(t,n,1),0))},ae.prototype.get=function(e){var t=this.__data__,n=de(t,e);return n<0?void 0:t[n][1]},ae.prototype.has=function(e){return de(this.__data__,e)>-1},ae.prototype.set=function(e,t){var n=this.__data__,r=de(n,e);return r<0?n.push([e,t]):n[r][1]=t,this},ce.prototype.clear=function(){this.__data__={hash:new oe,map:new($||ae),string:new oe}},ce.prototype.delete=function(e){return Ce(this,e).delete(e)},ce.prototype.get=function(e){return Ce(this,e).get(e)},ce.prototype.has=function(e){return Ce(this,e).has(e)},ce.prototype.set=function(e,t){return Ce(this,e).set(e,t),this},le.prototype.add=le.prototype.push=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this},le.prototype.has=function(e){return this.__data__.has(e)},ue.prototype.clear=function(){this.__data__=new ae},ue.prototype.delete=function(e){return this.__data__.delete(e)},ue.prototype.get=function(e){return this.__data__.get(e)},ue.prototype.has=function(e){return this.__data__.has(e)},ue.prototype.set=function(e,t){var n=this.__data__;if(n instanceof ae){var r=n.__data__;if(!$||r.length<199)return r.push([e,t]),this;n=this.__data__=new ce(r)}return n.set(e,t),this};var pe,me,ge=(pe=function(e,t){return e&&ve(e,t,Ke)},function(e,t){if(null==e)return e;if(!Ye(e))return pe(e,t);for(var n=e.length,r=me?n:-1,i=Object(e);(me?r--:++r<n)&&!1!==t(i[r],r,i););return e}),ve=function(e){return function(t,n,r){for(var i=-1,s=Object(t),o=r(t),a=o.length;a--;){var c=o[e?a:++i];if(!1===n(s[c],c,s))break}return t}}();function ye(e,t){for(var n=0,r=(t=je(t,e)?[t]:Oe(t)).length;null!=e&&n<r;)e=e[ze(t[n++])];return n&&n==r?e:void 0}function be(e,t){return null!=e&&t in Object(e)}function _e(e,t,n,r,c){return e===t||(null==e||null==t||!qe(e)&&!$e(t)?e!=e&&t!=t:function(e,t,n,r,c,l){var u=Be(e),h=Be(t),d="[object Array]",f="[object Array]";u||(d=(d=Ee(e))==i?o:d),h||(f=(f=Ee(t))==i?o:f);var p=d==o&&!C(e),m=f==o&&!C(t),g=d==f;if(g&&!p)return l||(l=new ue),u||Xe(e)?ke(e,t,n,r,c,l):function(e,t,n,r,i,o,c){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!r(new B(e),new B(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return Fe(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case s:var l=M;case a:var u=2&o;if(l||(l=E),e.size!=t.size&&!u)return!1;var h=c.get(e);if(h)return h==t;o|=1,c.set(e,t);var d=ke(l(e),l(t),r,i,o,c);return c.delete(e),d;case"[object Symbol]":if(ie)return ie.call(e)==ie.call(t)}return!1}(e,t,d,n,r,c,l);if(!(2&c)){var v=p&&N.call(e,"__wrapped__"),y=m&&N.call(t,"__wrapped__");if(v||y){var b=v?e.value():e,_=y?t.value():t;return l||(l=new ue),n(b,_,r,c,l)}}return!!g&&(l||(l=new ue),function(e,t,n,r,i,s){var o=2&i,a=Ke(e),c=a.length;if(c!=Ke(t).length&&!o)return!1;for(var l=c;l--;){var u=a[l];if(!(o?u in t:N.call(t,u)))return!1}var h=s.get(e);if(h&&s.get(t))return h==t;var d=!0;s.set(e,t),s.set(t,e);for(var f=o;++l<c;){var p=e[u=a[l]],m=t[u];if(r)var g=o?r(m,p,u,t,e,s):r(p,m,u,e,t,s);if(!(void 0===g?p===m||n(p,m,r,i,s):g)){d=!1;break}f||(f="constructor"==u)}if(d&&!f){var v=e.constructor,y=t.constructor;v==y||!("constructor"in e)||!("constructor"in t)||"function"==typeof v&&v instanceof v&&"function"==typeof y&&y instanceof y||(d=!1)}return s.delete(e),s.delete(t),d}(e,t,n,r,c,l))}(e,t,_e,n,r,c))}function we(e){return!(!qe(e)||function(e){return!!I&&I in e}(e))&&(Ue(e)||C(e)?F:f).test(Pe(e))}function Se(e){return"function"==typeof e?e:null==e?Je:"object"==r(e)?Be(e)?function(e,t){return je(e)&&De(t)?Ae(ze(e),t):function(n){var r=function(e,t,n){var r=null==e?void 0:ye(e,t);return void 0===r?n:r}(n,e);return void 0===r&&r===t?function(e,t){return null!=e&&function(e,t,n){for(var r,i=-1,s=(t=je(t,e)?[t]:Oe(t)).length;++i<s;){var o=ze(t[i]);if(!(r=null!=e&&n(e,o)))break;e=e[o]}return r||!!(s=e?e.length:0)&&We(s)&&Te(o,s)&&(Be(e)||Ve(e))}(e,t,be)}(n,e):_e(t,r,void 0,3)}}(e[0],e[1]):function(e){var t=function(e){for(var t=Ke(e),n=t.length;n--;){var r=t[n],i=e[r];t[n]=[r,i,De(i)]}return t}(e);return 1==t.length&&t[0][2]?Ae(t[0][0],t[0][1]):function(n){return n===e||function(e,t,n,r){var i=n.length,s=i,o=!r;if(null==e)return!s;for(e=Object(e);i--;){var a=n[i];if(o&&a[2]?a[1]!==e[a[0]]:!(a[0]in e))return!1}for(;++i<s;){var c=(a=n[i])[0],l=e[c],u=a[1];if(o&&a[2]){if(void 0===l&&!(c in e))return!1}else{var h=new ue;if(r)var d=r(l,u,c,e,t,h);if(!(void 0===d?_e(u,l,r,3,h):d))return!1}}return!0}(n,e,t)}}(e):je(t=e)?(n=ze(t),function(e){return null==e?void 0:e[n]}):function(e){return function(t){return ye(t,e)}}(t);var t,n}function xe(e){if(n=(t=e)&&t.constructor,t!==("function"==typeof n&&n.prototype||z))return W(e);var t,n,r=[];for(var i in Object(e))N.call(e,i)&&"constructor"!=i&&r.push(i);return r}function Oe(e){return Be(e)?e:Le(e)}function ke(e,t,n,r,i,s){var o=2&i,a=e.length,c=t.length;if(a!=c&&!(o&&c>a))return!1;var l=s.get(e);if(l&&s.get(t))return l==t;var u=-1,h=!0,d=1&i?new le:void 0;for(s.set(e,t),s.set(t,e);++u<a;){var f=e[u],p=t[u];if(r)var m=o?r(p,f,u,t,e,s):r(f,p,u,e,t,s);if(void 0!==m){if(m)continue;h=!1;break}if(d){if(!k(t,function(e,t){if(!d.has(t)&&(f===e||n(f,e,r,i,s)))return d.add(t)})){h=!1;break}}else if(f!==p&&!n(f,p,r,i,s)){h=!1;break}}return s.delete(e),s.delete(t),h}function Ce(e,t){var n,i,s=e.__data__;return("string"==(i=r(n=t))||"number"==i||"symbol"==i||"boolean"==i?"__proto__"!==n:null===n)?s["string"==typeof t?"string":"hash"]:s.map}function Me(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return we(n)?n:void 0}var Ee=function(e){return H.call(e)};function Te(e,t){return!!(t=null==t?9007199254740991:t)&&("number"==typeof e||p.test(e))&&e>-1&&e%1==0&&e<t}function je(e,t){if(Be(e))return!1;var n=r(e);return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!Ge(e))||l.test(e)||!c.test(e)||null!=t&&e in Object(t)}function De(e){return e==e&&!qe(e)}function Ae(e,t){return function(n){return null!=n&&n[e]===t&&(void 0!==t||e in Object(n))}}(q&&"[object DataView]"!=Ee(new q(new ArrayBuffer(1)))||$&&Ee(new $)!=s||G&&"[object Promise]"!=Ee(G.resolve())||X&&Ee(new X)!=a||K&&"[object WeakMap]"!=Ee(new K))&&(Ee=function(e){var t=H.call(e),n=t==o?e.constructor:void 0,r=n?Pe(n):void 0;if(r)switch(r){case Q:return"[object DataView]";case Z:return s;case ee:return"[object Promise]";case te:return a;case ne:return"[object WeakMap]"}return t});var Le=He(function(e){var t;e=null==(t=e)?"":function(e){if("string"==typeof e)return e;if(Ge(e))return se?se.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}(t);var n=[];return u.test(e)&&n.push(""),e.replace(h,function(e,t,r,i){n.push(r?i.replace(d,"$1"):t||e)}),n});function ze(e){if("string"==typeof e||Ge(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function Pe(e){if(null!=e){try{return R.call(e)}catch(e){}try{return e+""}catch(e){}}return""}var Ie,Re,Ne=(Ie=function(e,t,n){N.call(e,n)?e[n].push(t):e[n]=[t]},function(e,t){var n=Be(e)?O:fe,r=Re?Re():{};return n(e,Ie,Se(t),r)});function He(e,t){if("function"!=typeof e||t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function n(){var r=arguments,i=t?t.apply(this,r):r[0],s=n.cache;if(s.has(i))return s.get(i);var o=e.apply(this,r);return n.cache=s.set(i,o),o};return n.cache=new(He.Cache||ce),n}function Fe(e,t){return e===t||e!=e&&t!=t}function Ve(e){return function(e){return $e(e)&&Ye(e)}(e)&&N.call(e,"callee")&&(!Y.call(e,"callee")||H.call(e)==i)}He.Cache=ce;var Be=Array.isArray;function Ye(e){return null!=e&&We(e.length)&&!Ue(e)}function Ue(e){var t=qe(e)?H.call(e):"";return"[object Function]"==t||"[object GeneratorFunction]"==t}function We(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}function qe(e){var t=r(e);return!!e&&("object"==t||"function"==t)}function $e(e){return!!e&&"object"==r(e)}function Ge(e){return"symbol"==r(e)||$e(e)&&"[object Symbol]"==H.call(e)}var Xe=x?function(e){return function(t){return e(t)}}(x):function(e){return $e(e)&&We(e.length)&&!!m[H.call(e)]};function Ke(e){return Ye(e)?he(e):xe(e)}function Je(e){return e}t.exports=Ne}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],428:[function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var i=Object.prototype.toString;t.exports=function(e){return!0===e||!1===e||function(e){return!!e&&"object"==r(e)}(e)&&"[object Boolean]"==i.call(e)}},{}],429:[function(e,t,n){(function(e){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var i="[object Arguments]",s="[object Map]",o="[object Object]",a="[object Set]",c=/^\[object .+?Constructor\]$/,l=/^(?:0|[1-9]\d*)$/,u={};u["[object Float32Array]"]=u["[object Float64Array]"]=u["[object Int8Array]"]=u["[object Int16Array]"]=u["[object Int32Array]"]=u["[object Uint8Array]"]=u["[object Uint8ClampedArray]"]=u["[object Uint16Array]"]=u["[object Uint32Array]"]=!0,u[i]=u["[object Array]"]=u["[object ArrayBuffer]"]=u["[object Boolean]"]=u["[object DataView]"]=u["[object Date]"]=u["[object Error]"]=u["[object Function]"]=u[s]=u["[object Number]"]=u[o]=u["[object RegExp]"]=u[a]=u["[object String]"]=u["[object WeakMap]"]=!1;var h="object"==(void 0===e?"undefined":r(e))&&e&&e.Object===Object&&e,d="object"==("undefined"==typeof self?"undefined":r(self))&&self&&self.Object===Object&&self,f=h||d||Function("return this")(),p="object"==(void 0===n?"undefined":r(n))&&n&&!n.nodeType&&n,m=p&&"object"==(void 0===t?"undefined":r(t))&&t&&!t.nodeType&&t,g=m&&m.exports===p,v=g&&h.process,y=function(){try{return v&&v.binding&&v.binding("util")}catch(e){}}(),b=y&&y.isTypedArray;function _(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}function w(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n}function S(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}var x,O,k,C=Array.prototype,M=Function.prototype,E=Object.prototype,T=f["__core-js_shared__"],j=M.toString,D=E.hasOwnProperty,A=(x=/[^.]+$/.exec(T&&T.keys&&T.keys.IE_PROTO||""))?"Symbol(src)_1."+x:"",L=E.toString,z=RegExp("^"+j.call(D).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),P=g?f.Buffer:void 0,I=f.Symbol,R=f.Uint8Array,N=E.propertyIsEnumerable,H=C.splice,F=I?I.toStringTag:void 0,V=Object.getOwnPropertySymbols,B=P?P.isBuffer:void 0,Y=(O=Object.keys,k=Object,function(e){return O(k(e))}),U=ye(f,"DataView"),W=ye(f,"Map"),q=ye(f,"Promise"),$=ye(f,"Set"),G=ye(f,"WeakMap"),X=ye(Object,"create"),K=Se(U),J=Se(W),Q=Se(q),Z=Se($),ee=Se(G),te=I?I.prototype:void 0,ne=te?te.valueOf:void 0;function re(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function ie(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function se(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function oe(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new se;++t<n;)this.add(e[t])}function ae(e){var t=this.__data__=new ie(e);this.size=t.size}function ce(e,t){var n=ke(e),r=!n&&Oe(e),i=!n&&!r&&Ce(e),s=!n&&!r&&!i&&De(e),o=n||r||i||s,a=o?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],c=a.length;for(var l in e)!t&&!D.call(e,l)||o&&("length"==l||i&&("offset"==l||"parent"==l)||s&&("buffer"==l||"byteLength"==l||"byteOffset"==l)||we(l,c))||a.push(l);return a}function le(e,t){for(var n=e.length;n--;)if(xe(e[n][0],t))return n;return-1}function ue(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":F&&F in Object(e)?function(e){var t=D.call(e,F),n=e[F];try{e[F]=void 0;var r=!0}catch(e){}var i=L.call(e);return r&&(t?e[F]=n:delete e[F]),i}(e):function(e){return L.call(e)}(e)}function he(e){return je(e)&&ue(e)==i}function de(e,t,n,r,c){return e===t||(null==e||null==t||!je(e)&&!je(t)?e!=e&&t!=t:function(e,t,n,r,c,l){var u=ke(e),h=ke(t),d=u?"[object Array]":_e(e),f=h?"[object Array]":_e(t),p=(d=d==i?o:d)==o,m=(f=f==i?o:f)==o,g=d==f;if(g&&Ce(e)){if(!Ce(t))return!1;u=!0,p=!1}if(g&&!p)return l||(l=new ae),u||De(e)?me(e,t,n,r,c,l):function(e,t,n,r,i,o,c){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!o(new R(e),new R(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return xe(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case s:var l=w;case a:var u=1&r;if(l||(l=S),e.size!=t.size&&!u)return!1;var h=c.get(e);if(h)return h==t;r|=2,c.set(e,t);var d=me(l(e),l(t),r,i,o,c);return c.delete(e),d;case"[object Symbol]":if(ne)return ne.call(e)==ne.call(t)}return!1}(e,t,d,n,r,c,l);if(!(1&n)){var v=p&&D.call(e,"__wrapped__"),y=m&&D.call(t,"__wrapped__");if(v||y){var b=v?e.value():e,_=y?t.value():t;return l||(l=new ae),c(b,_,n,r,l)}}return!!g&&(l||(l=new ae),function(e,t,n,r,i,s){var o=1&n,a=ge(e),c=a.length;if(c!=ge(t).length&&!o)return!1;for(var l=c;l--;){var u=a[l];if(!(o?u in t:D.call(t,u)))return!1}var h=s.get(e);if(h&&s.get(t))return h==t;var d=!0;s.set(e,t),s.set(t,e);for(var f=o;++l<c;){var p=e[u=a[l]],m=t[u];if(r)var g=o?r(m,p,u,t,e,s):r(p,m,u,e,t,s);if(!(void 0===g?p===m||i(p,m,n,r,s):g)){d=!1;break}f||(f="constructor"==u)}if(d&&!f){var v=e.constructor,y=t.constructor;v==y||!("constructor"in e)||!("constructor"in t)||"function"==typeof v&&v instanceof v&&"function"==typeof y&&y instanceof y||(d=!1)}return s.delete(e),s.delete(t),d}(e,t,n,r,c,l))}(e,t,n,r,de,c))}function fe(e){return!(!Te(e)||function(e){return!!A&&A in e}(e))&&(Me(e)?z:c).test(Se(e))}function pe(e){if(n=(t=e)&&t.constructor,t!==("function"==typeof n&&n.prototype||E))return Y(e);var t,n,r=[];for(var i in Object(e))D.call(e,i)&&"constructor"!=i&&r.push(i);return r}function me(e,t,n,r,i,s){var o=1&n,a=e.length,c=t.length;if(a!=c&&!(o&&c>a))return!1;var l=s.get(e);if(l&&s.get(t))return l==t;var u=-1,h=!0,d=2&n?new oe:void 0;for(s.set(e,t),s.set(t,e);++u<a;){var f=e[u],p=t[u];if(r)var m=o?r(p,f,u,t,e,s):r(f,p,u,e,t,s);if(void 0!==m){if(m)continue;h=!1;break}if(d){if(!_(t,function(e,t){if(o=t,!d.has(o)&&(f===e||i(f,e,n,r,s)))return d.push(t);var o})){h=!1;break}}else if(f!==p&&!i(f,p,n,r,s)){h=!1;break}}return s.delete(e),s.delete(t),h}function ge(e){return function(e,t,n){var r=t(e);return ke(e)?r:function(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}(r,n(e))}(e,Ae,be)}function ve(e,t){var n,i,s=e.__data__;return("string"==(i=r(n=t))||"number"==i||"symbol"==i||"boolean"==i?"__proto__"!==n:null===n)?s["string"==typeof t?"string":"hash"]:s.map}function ye(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return fe(n)?n:void 0}re.prototype.clear=function(){this.__data__=X?X(null):{},this.size=0},re.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},re.prototype.get=function(e){var t=this.__data__;if(X){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return D.call(t,e)?t[e]:void 0},re.prototype.has=function(e){var t=this.__data__;return X?void 0!==t[e]:D.call(t,e)},re.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=X&&void 0===t?"__lodash_hash_undefined__":t,this},ie.prototype.clear=function(){this.__data__=[],this.size=0},ie.prototype.delete=function(e){var t=this.__data__,n=le(t,e);return!(n<0||(n==t.length-1?t.pop():H.call(t,n,1),--this.size,0))},ie.prototype.get=function(e){var t=this.__data__,n=le(t,e);return n<0?void 0:t[n][1]},ie.prototype.has=function(e){return le(this.__data__,e)>-1},ie.prototype.set=function(e,t){var n=this.__data__,r=le(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},se.prototype.clear=function(){this.size=0,this.__data__={hash:new re,map:new(W||ie),string:new re}},se.prototype.delete=function(e){var t=ve(this,e).delete(e);return this.size-=t?1:0,t},se.prototype.get=function(e){return ve(this,e).get(e)},se.prototype.has=function(e){return ve(this,e).has(e)},se.prototype.set=function(e,t){var n=ve(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},oe.prototype.add=oe.prototype.push=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this},oe.prototype.has=function(e){return this.__data__.has(e)},ae.prototype.clear=function(){this.__data__=new ie,this.size=0},ae.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},ae.prototype.get=function(e){return this.__data__.get(e)},ae.prototype.has=function(e){return this.__data__.has(e)},ae.prototype.set=function(e,t){var n=this.__data__;if(n instanceof ie){var r=n.__data__;if(!W||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new se(r)}return n.set(e,t),this.size=n.size,this};var be=V?function(e){return null==e?[]:(e=Object(e),function(e,t){for(var n=-1,r=null==e?0:e.length,i=0,s=[];++n<r;){var o=e[n];t(o,n,e)&&(s[i++]=o)}return s}(V(e),function(t){return N.call(e,t)}))}:function(){return[]},_e=ue;function we(e,t){return!!(t=null==t?9007199254740991:t)&&("number"==typeof e||l.test(e))&&e>-1&&e%1==0&&e<t}function Se(e){if(null!=e){try{return j.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function xe(e,t){return e===t||e!=e&&t!=t}(U&&"[object DataView]"!=_e(new U(new ArrayBuffer(1)))||W&&_e(new W)!=s||q&&"[object Promise]"!=_e(q.resolve())||$&&_e(new $)!=a||G&&"[object WeakMap]"!=_e(new G))&&(_e=function(e){var t=ue(e),n=t==o?e.constructor:void 0,r=n?Se(n):"";if(r)switch(r){case K:return"[object DataView]";case J:return s;case Q:return"[object Promise]";case Z:return a;case ee:return"[object WeakMap]"}return t});var Oe=he(function(){return arguments}())?he:function(e){return je(e)&&D.call(e,"callee")&&!N.call(e,"callee")},ke=Array.isArray,Ce=B||function(){return!1};function Me(e){if(!Te(e))return!1;var t=ue(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}function Ee(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}function Te(e){var t=r(e);return null!=e&&("object"==t||"function"==t)}function je(e){return null!=e&&"object"==r(e)}var De=b?function(e){return function(t){return e(t)}}(b):function(e){return je(e)&&Ee(e.length)&&!!u[ue(e)]};function Ae(e){return null!=(t=e)&&Ee(t.length)&&!Me(t)?ce(e):pe(e);var t}t.exports=function(e,t){return de(e,t)}}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],430:[function(e,t,n){(function(e){"use strict";function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var r="object"==(void 0===e?"undefined":n(e))&&e&&e.Object===Object&&e,i="object"==("undefined"==typeof self?"undefined":n(self))&&self&&self.Object===Object&&self,s=r||i||Function("return this")(),o=Object.prototype,a=o.hasOwnProperty,c=o.toString,l=s.Symbol,u=l?l.toStringTag:void 0;function h(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":u&&u in Object(e)?function(e){var t=a.call(e,u),n=e[u];try{e[u]=void 0;var r=!0}catch(e){}var i=c.call(e);return r&&(t?e[u]=n:delete e[u]),i}(e):function(e){return c.call(e)}(e)}t.exports=function(e){if(!function(e){var t=n(e);return null!=e&&("object"==t||"function"==t)}(e))return!1;var t=h(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],431:[function(e,t,n){"use strict";t.exports=function(e){return null==e}},{}],432:[function(e,t,n){"use strict";t.exports=function(e){return void 0===e}},{}],433:[function(e,t,n){(function(e){"use strict";function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var r=/^\[object .+?Constructor\]$/,i="object"==(void 0===e?"undefined":n(e))&&e&&e.Object===Object&&e,s="object"==("undefined"==typeof self?"undefined":n(self))&&self&&self.Object===Object&&self,o=i||s||Function("return this")();function a(e,t){return!(!e||!e.length)&&function(e,t,n){if(t!=t)return function(e,t,n,r){for(var i=e.length,s=n+(r?1:-1);r?s--:++s<i;)if(t(e[s],s,e))return s;return-1}(e,l,n);for(var r=n-1,i=e.length;++r<i;)if(e[r]===t)return r;return-1}(e,t,0)>-1}function c(e,t,n){for(var r=-1,i=e?e.length:0;++r<i;)if(n(t,e[r]))return!0;return!1}function l(e){return e!=e}function u(e,t){return e.has(t)}function h(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}var d,f=Array.prototype,p=Function.prototype,m=Object.prototype,g=o["__core-js_shared__"],v=(d=/[^.]+$/.exec(g&&g.keys&&g.keys.IE_PROTO||""))?"Symbol(src)_1."+d:"",y=p.toString,b=m.hasOwnProperty,_=m.toString,w=RegExp("^"+y.call(b).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),S=f.splice,x=z(o,"Map"),O=z(o,"Set"),k=z(Object,"create");function C(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function M(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function E(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function T(e){var t=-1,n=e?e.length:0;for(this.__data__=new E;++t<n;)this.add(e[t])}function j(e,t){for(var n,r,i=e.length;i--;)if((n=e[i][0])===(r=t)||n!=n&&r!=r)return i;return-1}function D(e){return!(!P(e)||(t=e,v&&v in t))&&(function(e){var t=P(e)?_.call(e):"";return"[object Function]"==t||"[object GeneratorFunction]"==t}(e)||function(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}(e)?w:r).test(function(e){if(null!=e){try{return y.call(e)}catch(e){}try{return e+""}catch(e){}}return""}(e));var t}C.prototype.clear=function(){this.__data__=k?k(null):{}},C.prototype.delete=function(e){return this.has(e)&&delete this.__data__[e]},C.prototype.get=function(e){var t=this.__data__;if(k){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return b.call(t,e)?t[e]:void 0},C.prototype.has=function(e){var t=this.__data__;return k?void 0!==t[e]:b.call(t,e)},C.prototype.set=function(e,t){return this.__data__[e]=k&&void 0===t?"__lodash_hash_undefined__":t,this},M.prototype.clear=function(){this.__data__=[]},M.prototype.delete=function(e){var t=this.__data__,n=j(t,e);return!(n<0||(n==t.length-1?t.pop():S.call(t,n,1),0))},M.prototype.get=function(e){var t=this.__data__,n=j(t,e);return n<0?void 0:t[n][1]},M.prototype.has=function(e){return j(this.__data__,e)>-1},M.prototype.set=function(e,t){var n=this.__data__,r=j(n,e);return r<0?n.push([e,t]):n[r][1]=t,this},E.prototype.clear=function(){this.__data__={hash:new C,map:new(x||M),string:new C}},E.prototype.delete=function(e){return L(this,e).delete(e)},E.prototype.get=function(e){return L(this,e).get(e)},E.prototype.has=function(e){return L(this,e).has(e)},E.prototype.set=function(e,t){return L(this,e).set(e,t),this},T.prototype.add=T.prototype.push=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this},T.prototype.has=function(e){return this.__data__.has(e)};var A=O&&1/h(new O([,-0]))[1]==1/0?function(e){return new O(e)}:function(){};function L(e,t){var r,i,s=e.__data__;return("string"==(i=n(r=t))||"number"==i||"symbol"==i||"boolean"==i?"__proto__"!==r:null===r)?s["string"==typeof t?"string":"hash"]:s.map}function z(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return D(n)?n:void 0}function P(e){var t=n(e);return!!e&&("object"==t||"function"==t)}t.exports=function(e){return e&&e.length?function(e,t,n){var r=-1,i=a,s=e.length,o=!0,l=[],d=l;if(n)o=!1,i=c;else if(s>=200){var f=t?null:A(e);if(f)return h(f);o=!1,i=u,d=new T}else d=t?[]:l;e:for(;++r<s;){var p=e[r],m=t?t(p):p;if(p=n||0!==p?p:0,o&&m==m){for(var g=d.length;g--;)if(d[g]===m)continue e;t&&d.push(m),l.push(p)}else i(d,m,n)||(d!==l&&d.push(m),l.push(p))}return l}(e):[]}}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],434:[function(e,t,n){"use strict";var r=e("inherits"),i=e("hash-base"),s=e("safe-buffer").Buffer,o=new Array(16);function a(){i.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878}function c(e,t){return e<<t|e>>>32-t}function l(e,t,n,r,i,s,o){return c(e+(t&n|~t&r)+i+s|0,o)+t|0}function u(e,t,n,r,i,s,o){return c(e+(t&r|n&~r)+i+s|0,o)+t|0}function h(e,t,n,r,i,s,o){return c(e+(t^n^r)+i+s|0,o)+t|0}function d(e,t,n,r,i,s,o){return c(e+(n^(t|~r))+i+s|0,o)+t|0}r(a,i),a.prototype._update=function(){for(var e=o,t=0;t<16;++t)e[t]=this._block.readInt32LE(4*t);var n=this._a,r=this._b,i=this._c,s=this._d;n=l(n,r,i,s,e[0],3614090360,7),s=l(s,n,r,i,e[1],3905402710,12),i=l(i,s,n,r,e[2],606105819,17),r=l(r,i,s,n,e[3],3250441966,22),n=l(n,r,i,s,e[4],4118548399,7),s=l(s,n,r,i,e[5],1200080426,12),i=l(i,s,n,r,e[6],2821735955,17),r=l(r,i,s,n,e[7],4249261313,22),n=l(n,r,i,s,e[8],1770035416,7),s=l(s,n,r,i,e[9],2336552879,12),i=l(i,s,n,r,e[10],4294925233,17),r=l(r,i,s,n,e[11],2304563134,22),n=l(n,r,i,s,e[12],1804603682,7),s=l(s,n,r,i,e[13],4254626195,12),i=l(i,s,n,r,e[14],2792965006,17),n=u(n,r=l(r,i,s,n,e[15],1236535329,22),i,s,e[1],4129170786,5),s=u(s,n,r,i,e[6],3225465664,9),i=u(i,s,n,r,e[11],643717713,14),r=u(r,i,s,n,e[0],3921069994,20),n=u(n,r,i,s,e[5],3593408605,5),s=u(s,n,r,i,e[10],38016083,9),i=u(i,s,n,r,e[15],3634488961,14),r=u(r,i,s,n,e[4],3889429448,20),n=u(n,r,i,s,e[9],568446438,5),s=u(s,n,r,i,e[14],3275163606,9),i=u(i,s,n,r,e[3],4107603335,14),r=u(r,i,s,n,e[8],1163531501,20),n=u(n,r,i,s,e[13],2850285829,5),s=u(s,n,r,i,e[2],4243563512,9),i=u(i,s,n,r,e[7],1735328473,14),n=h(n,r=u(r,i,s,n,e[12],2368359562,20),i,s,e[5],4294588738,4),s=h(s,n,r,i,e[8],2272392833,11),i=h(i,s,n,r,e[11],1839030562,16),r=h(r,i,s,n,e[14],4259657740,23),n=h(n,r,i,s,e[1],2763975236,4),s=h(s,n,r,i,e[4],1272893353,11),i=h(i,s,n,r,e[7],4139469664,16),r=h(r,i,s,n,e[10],3200236656,23),n=h(n,r,i,s,e[13],681279174,4),s=h(s,n,r,i,e[0],3936430074,11),i=h(i,s,n,r,e[3],3572445317,16),r=h(r,i,s,n,e[6],76029189,23),n=h(n,r,i,s,e[9],3654602809,4),s=h(s,n,r,i,e[12],3873151461,11),i=h(i,s,n,r,e[15],530742520,16),n=d(n,r=h(r,i,s,n,e[2],3299628645,23),i,s,e[0],4096336452,6),s=d(s,n,r,i,e[7],1126891415,10),i=d(i,s,n,r,e[14],2878612391,15),r=d(r,i,s,n,e[5],4237533241,21),n=d(n,r,i,s,e[12],1700485571,6),s=d(s,n,r,i,e[3],2399980690,10),i=d(i,s,n,r,e[10],4293915773,15),r=d(r,i,s,n,e[1],2240044497,21),n=d(n,r,i,s,e[8],1873313359,6),s=d(s,n,r,i,e[15],4264355552,10),i=d(i,s,n,r,e[6],2734768916,15),r=d(r,i,s,n,e[13],1309151649,21),n=d(n,r,i,s,e[4],4149444226,6),s=d(s,n,r,i,e[11],3174756917,10),i=d(i,s,n,r,e[2],718787259,15),r=d(r,i,s,n,e[9],3951481745,21),this._a=this._a+n|0,this._b=this._b+r|0,this._c=this._c+i|0,this._d=this._d+s|0},a.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var e=s.allocUnsafe(16);return e.writeInt32LE(this._a,0),e.writeInt32LE(this._b,4),e.writeInt32LE(this._c,8),e.writeInt32LE(this._d,12),e},t.exports=a},{"hash-base":370,inherits:387,"safe-buffer":494}],435:[function(e,t,n){"use strict";var r=e("bn.js"),i=e("brorand");function s(e){this.rand=e||new i.Rand}t.exports=s,s.create=function(e){return new s(e)},s.prototype._randbelow=function(e){var t=e.bitLength(),n=Math.ceil(t/8);do{var i=new r(this.rand.generate(n))}while(i.cmp(e)>=0);return i},s.prototype._randrange=function(e,t){var n=t.sub(e);return e.add(this._randbelow(n))},s.prototype.test=function(e,t,n){var i=e.bitLength(),s=r.mont(e),o=new r(1).toRed(s);t||(t=Math.max(1,i/48|0));for(var a=e.subn(1),c=0;!a.testn(c);c++);for(var l=e.shrn(c),u=a.toRed(s);t>0;t--){var h=this._randrange(new r(2),a);n&&n(h);var d=h.toRed(s).redPow(l);if(0!==d.cmp(o)&&0!==d.cmp(u)){for(var f=1;f<c;f++){if(0===(d=d.redSqr()).cmp(o))return!1;if(0===d.cmp(u))break}if(f===c)return!1}}return!0},s.prototype.getDivisor=function(e,t){var n=e.bitLength(),i=r.mont(e),s=new r(1).toRed(i);t||(t=Math.max(1,n/48|0));for(var o=e.subn(1),a=0;!o.testn(a);a++);for(var c=e.shrn(a),l=o.toRed(i);t>0;t--){var u=this._randrange(new r(2),o),h=e.gcd(u);if(0!==h.cmpn(1))return h;var d=u.toRed(i).redPow(c);if(0!==d.cmp(s)&&0!==d.cmp(l)){for(var f=1;f<a;f++){if(0===(d=d.redSqr()).cmp(s))return d.fromRed().subn(1).gcd(e);if(0===d.cmp(l))break}if(f===a)return(d=d.redSqr()).fromRed().subn(1).gcd(e)}}return!1}},{"bn.js":436,brorand:184}],436:[function(e,t,n){arguments[4][181][0].apply(n,arguments)},{buffer:185,dup:181}],437:[function(e,t,n){"use strict";function r(e,t){if(!e)throw new Error(t||"Assertion failed")}t.exports=r,r.equal=function(e,t,n){if(e!=t)throw new Error(n||"Assertion failed: "+e+" != "+t)}},{}],438:[function(e,t,n){"use strict";var r=n;function i(e){return 1===e.length?"0"+e:e}function s(e){for(var t="",n=0;n<e.length;n++)t+=i(e[n].toString(16));return t}r.toArray=function(e,t){if(Array.isArray(e))return e.slice();if(!e)return[];var n=[];if("string"!=typeof e){for(var r=0;r<e.length;r++)n[r]=0|e[r];return n}if("hex"===t)for((e=e.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(e="0"+e),r=0;r<e.length;r+=2)n.push(parseInt(e[r]+e[r+1],16));else for(r=0;r<e.length;r++){var i=e.charCodeAt(r),s=i>>8,o=255&i;s?n.push(s,o):n.push(o)}return n},r.zero2=i,r.toHex=s,r.encode=function(e,t){return"hex"===t?s(e):e}},{}],439:[function(e,t,n){"use strict";var r={};(0,e("./lib/utils/common").assign)(r,e("./lib/deflate"),e("./lib/inflate"),e("./lib/zlib/constants")),t.exports=r},{"./lib/deflate":440,"./lib/inflate":441,"./lib/utils/common":442,"./lib/zlib/constants":445}],440:[function(e,t,n){"use strict";var r=e("./zlib/deflate"),i=e("./utils/common"),s=e("./utils/strings"),o=e("./zlib/messages"),a=e("./zlib/zstream"),c=Object.prototype.toString;function l(e){if(!(this instanceof l))return new l(e);this.options=i.assign({level:-1,method:8,chunkSize:16384,windowBits:15,memLevel:8,strategy:0,to:""},e||{});var t=this.options;t.raw&&t.windowBits>0?t.windowBits=-t.windowBits:t.gzip&&t.windowBits>0&&t.windowBits<16&&(t.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new a,this.strm.avail_out=0;var n=r.deflateInit2(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(0!==n)throw new Error(o[n]);if(t.header&&r.deflateSetHeader(this.strm,t.header),t.dictionary){var u;if(u="string"==typeof t.dictionary?s.string2buf(t.dictionary):"[object ArrayBuffer]"===c.call(t.dictionary)?new Uint8Array(t.dictionary):t.dictionary,0!==(n=r.deflateSetDictionary(this.strm,u)))throw new Error(o[n]);this._dict_set=!0}}function u(e,t){var n=new l(t);if(n.push(e,!0),n.err)throw n.msg||o[n.err];return n.result}l.prototype.push=function(e,t){var n,o,a=this.strm,l=this.options.chunkSize;if(this.ended)return!1;o=t===~~t?t:!0===t?4:0,"string"==typeof e?a.input=s.string2buf(e):"[object ArrayBuffer]"===c.call(e)?a.input=new Uint8Array(e):a.input=e,a.next_in=0,a.avail_in=a.input.length;do{if(0===a.avail_out&&(a.output=new i.Buf8(l),a.next_out=0,a.avail_out=l),1!==(n=r.deflate(a,o))&&0!==n)return this.onEnd(n),this.ended=!0,!1;0!==a.avail_out&&(0!==a.avail_in||4!==o&&2!==o)||("string"===this.options.to?this.onData(s.buf2binstring(i.shrinkBuf(a.output,a.next_out))):this.onData(i.shrinkBuf(a.output,a.next_out)))}while((a.avail_in>0||0===a.avail_out)&&1!==n);return 4===o?(n=r.deflateEnd(this.strm),this.onEnd(n),this.ended=!0,0===n):2!==o||(this.onEnd(0),a.avail_out=0,!0)},l.prototype.onData=function(e){this.chunks.push(e)},l.prototype.onEnd=function(e){0===e&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=i.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},n.Deflate=l,n.deflate=u,n.deflateRaw=function(e,t){return(t=t||{}).raw=!0,u(e,t)},n.gzip=function(e,t){return(t=t||{}).gzip=!0,u(e,t)}},{"./utils/common":442,"./utils/strings":443,"./zlib/deflate":447,"./zlib/messages":452,"./zlib/zstream":454}],441:[function(e,t,n){"use strict";var r=e("./zlib/inflate"),i=e("./utils/common"),s=e("./utils/strings"),o=e("./zlib/constants"),a=e("./zlib/messages"),c=e("./zlib/zstream"),l=e("./zlib/gzheader"),u=Object.prototype.toString;function h(e){if(!(this instanceof h))return new h(e);this.options=i.assign({chunkSize:16384,windowBits:0,to:""},e||{});var t=this.options;t.raw&&t.windowBits>=0&&t.windowBits<16&&(t.windowBits=-t.windowBits,0===t.windowBits&&(t.windowBits=-15)),!(t.windowBits>=0&&t.windowBits<16)||e&&e.windowBits||(t.windowBits+=32),t.windowBits>15&&t.windowBits<48&&0==(15&t.windowBits)&&(t.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new c,this.strm.avail_out=0;var n=r.inflateInit2(this.strm,t.windowBits);if(n!==o.Z_OK)throw new Error(a[n]);if(this.header=new l,r.inflateGetHeader(this.strm,this.header),t.dictionary&&("string"==typeof t.dictionary?t.dictionary=s.string2buf(t.dictionary):"[object ArrayBuffer]"===u.call(t.dictionary)&&(t.dictionary=new Uint8Array(t.dictionary)),t.raw&&(n=r.inflateSetDictionary(this.strm,t.dictionary))!==o.Z_OK))throw new Error(a[n])}function d(e,t){var n=new h(t);if(n.push(e,!0),n.err)throw n.msg||a[n.err];return n.result}h.prototype.push=function(e,t){var n,a,c,l,h,d=this.strm,f=this.options.chunkSize,p=this.options.dictionary,m=!1;if(this.ended)return!1;a=t===~~t?t:!0===t?o.Z_FINISH:o.Z_NO_FLUSH,"string"==typeof e?d.input=s.binstring2buf(e):"[object ArrayBuffer]"===u.call(e)?d.input=new Uint8Array(e):d.input=e,d.next_in=0,d.avail_in=d.input.length;do{if(0===d.avail_out&&(d.output=new i.Buf8(f),d.next_out=0,d.avail_out=f),(n=r.inflate(d,o.Z_NO_FLUSH))===o.Z_NEED_DICT&&p&&(n=r.inflateSetDictionary(this.strm,p)),n===o.Z_BUF_ERROR&&!0===m&&(n=o.Z_OK,m=!1),n!==o.Z_STREAM_END&&n!==o.Z_OK)return this.onEnd(n),this.ended=!0,!1;d.next_out&&(0!==d.avail_out&&n!==o.Z_STREAM_END&&(0!==d.avail_in||a!==o.Z_FINISH&&a!==o.Z_SYNC_FLUSH)||("string"===this.options.to?(c=s.utf8border(d.output,d.next_out),l=d.next_out-c,h=s.buf2string(d.output,c),d.next_out=l,d.avail_out=f-l,l&&i.arraySet(d.output,d.output,c,l,0),this.onData(h)):this.onData(i.shrinkBuf(d.output,d.next_out)))),0===d.avail_in&&0===d.avail_out&&(m=!0)}while((d.avail_in>0||0===d.avail_out)&&n!==o.Z_STREAM_END);return n===o.Z_STREAM_END&&(a=o.Z_FINISH),a===o.Z_FINISH?(n=r.inflateEnd(this.strm),this.onEnd(n),this.ended=!0,n===o.Z_OK):a!==o.Z_SYNC_FLUSH||(this.onEnd(o.Z_OK),d.avail_out=0,!0)},h.prototype.onData=function(e){this.chunks.push(e)},h.prototype.onEnd=function(e){e===o.Z_OK&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=i.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},n.Inflate=h,n.inflate=d,n.inflateRaw=function(e,t){return(t=t||{}).raw=!0,d(e,t)},n.ungzip=d},{"./utils/common":442,"./utils/strings":443,"./zlib/constants":445,"./zlib/gzheader":448,"./zlib/inflate":450,"./zlib/messages":452,"./zlib/zstream":454}],442:[function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var i="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Int32Array;function s(e,t){return Object.prototype.hasOwnProperty.call(e,t)}n.assign=function(e){for(var t=Array.prototype.slice.call(arguments,1);t.length;){var n=t.shift();if(n){if("object"!==r(n))throw new TypeError(n+"must be non-object");for(var i in n)s(n,i)&&(e[i]=n[i])}}return e},n.shrinkBuf=function(e,t){return e.length===t?e:e.subarray?e.subarray(0,t):(e.length=t,e)};var o={arraySet:function(e,t,n,r,i){if(t.subarray&&e.subarray)e.set(t.subarray(n,n+r),i);else for(var s=0;s<r;s++)e[i+s]=t[n+s]},flattenChunks:function(e){var t,n,r,i,s,o;for(r=0,t=0,n=e.length;t<n;t++)r+=e[t].length;for(o=new Uint8Array(r),i=0,t=0,n=e.length;t<n;t++)s=e[t],o.set(s,i),i+=s.length;return o}},a={arraySet:function(e,t,n,r,i){for(var s=0;s<r;s++)e[i+s]=t[n+s]},flattenChunks:function(e){return[].concat.apply([],e)}};n.setTyped=function(e){e?(n.Buf8=Uint8Array,n.Buf16=Uint16Array,n.Buf32=Int32Array,n.assign(n,o)):(n.Buf8=Array,n.Buf16=Array,n.Buf32=Array,n.assign(n,a))},n.setTyped(i)},{}],443:[function(e,t,n){"use strict";var r=e("./common"),i=!0,s=!0;try{String.fromCharCode.apply(null,[0])}catch(e){i=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(e){s=!1}for(var o=new r.Buf8(256),a=0;a<256;a++)o[a]=a>=252?6:a>=248?5:a>=240?4:a>=224?3:a>=192?2:1;function c(e,t){if(t<65534&&(e.subarray&&s||!e.subarray&&i))return String.fromCharCode.apply(null,r.shrinkBuf(e,t));for(var n="",o=0;o<t;o++)n+=String.fromCharCode(e[o]);return n}o[254]=o[254]=1,n.string2buf=function(e){var t,n,i,s,o,a=e.length,c=0;for(s=0;s<a;s++)55296==(64512&(n=e.charCodeAt(s)))&&s+1<a&&56320==(64512&(i=e.charCodeAt(s+1)))&&(n=65536+(n-55296<<10)+(i-56320),s++),c+=n<128?1:n<2048?2:n<65536?3:4;for(t=new r.Buf8(c),o=0,s=0;o<c;s++)55296==(64512&(n=e.charCodeAt(s)))&&s+1<a&&56320==(64512&(i=e.charCodeAt(s+1)))&&(n=65536+(n-55296<<10)+(i-56320),s++),n<128?t[o++]=n:n<2048?(t[o++]=192|n>>>6,t[o++]=128|63&n):n<65536?(t[o++]=224|n>>>12,t[o++]=128|n>>>6&63,t[o++]=128|63&n):(t[o++]=240|n>>>18,t[o++]=128|n>>>12&63,t[o++]=128|n>>>6&63,t[o++]=128|63&n);return t},n.buf2binstring=function(e){return c(e,e.length)},n.binstring2buf=function(e){for(var t=new r.Buf8(e.length),n=0,i=t.length;n<i;n++)t[n]=e.charCodeAt(n);return t},n.buf2string=function(e,t){var n,r,i,s,a=t||e.length,l=new Array(2*a);for(r=0,n=0;n<a;)if((i=e[n++])<128)l[r++]=i;else if((s=o[i])>4)l[r++]=65533,n+=s-1;else{for(i&=2===s?31:3===s?15:7;s>1&&n<a;)i=i<<6|63&e[n++],s--;s>1?l[r++]=65533:i<65536?l[r++]=i:(i-=65536,l[r++]=55296|i>>10&1023,l[r++]=56320|1023&i)}return c(l,r)},n.utf8border=function(e,t){var n;for((t=t||e.length)>e.length&&(t=e.length),n=t-1;n>=0&&128==(192&e[n]);)n--;return n<0||0===n?t:n+o[e[n]]>t?n:t}},{"./common":442}],444:[function(e,t,n){"use strict";t.exports=function(e,t,n,r){for(var i=65535&e|0,s=e>>>16&65535|0,o=0;0!==n;){n-=o=n>2e3?2e3:n;do{s=s+(i=i+t[r++]|0)|0}while(--o);i%=65521,s%=65521}return i|s<<16|0}},{}],445:[function(e,t,n){"use strict";t.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},{}],446:[function(e,t,n){"use strict";var r=function(){for(var e,t=[],n=0;n<256;n++){e=n;for(var r=0;r<8;r++)e=1&e?3988292384^e>>>1:e>>>1;t[n]=e}return t}();t.exports=function(e,t,n,i){var s=r,o=i+n;e^=-1;for(var a=i;a<o;a++)e=e>>>8^s[255&(e^t[a])];return-1^e}},{}],447:[function(e,t,n){"use strict";var r,i=e("../utils/common"),s=e("./trees"),o=e("./adler32"),a=e("./crc32"),c=e("./messages");function l(e,t){return e.msg=c[t],t}function u(e){return(e<<1)-(e>4?9:0)}function h(e){for(var t=e.length;--t>=0;)e[t]=0}function d(e){var t=e.state,n=t.pending;n>e.avail_out&&(n=e.avail_out),0!==n&&(i.arraySet(e.output,t.pending_buf,t.pending_out,n,e.next_out),e.next_out+=n,t.pending_out+=n,e.total_out+=n,e.avail_out-=n,t.pending-=n,0===t.pending&&(t.pending_out=0))}function f(e,t){s._tr_flush_block(e,e.block_start>=0?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,d(e.strm)}function p(e,t){e.pending_buf[e.pending++]=t}function m(e,t){e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=255&t}function g(e,t){var n,r,i=e.max_chain_length,s=e.strstart,o=e.prev_length,a=e.nice_match,c=e.strstart>e.w_size-262?e.strstart-(e.w_size-262):0,l=e.window,u=e.w_mask,h=e.prev,d=e.strstart+258,f=l[s+o-1],p=l[s+o];e.prev_length>=e.good_match&&(i>>=2),a>e.lookahead&&(a=e.lookahead);do{if(l[(n=t)+o]===p&&l[n+o-1]===f&&l[n]===l[s]&&l[++n]===l[s+1]){s+=2,n++;do{}while(l[++s]===l[++n]&&l[++s]===l[++n]&&l[++s]===l[++n]&&l[++s]===l[++n]&&l[++s]===l[++n]&&l[++s]===l[++n]&&l[++s]===l[++n]&&l[++s]===l[++n]&&s<d);if(r=258-(d-s),s=d-258,r>o){if(e.match_start=t,o=r,r>=a)break;f=l[s+o-1],p=l[s+o]}}}while((t=h[t&u])>c&&0!=--i);return o<=e.lookahead?o:e.lookahead}function v(e){var t,n,r,s,c,l,u,h,d,f,p=e.w_size;do{if(s=e.window_size-e.lookahead-e.strstart,e.strstart>=p+(p-262)){i.arraySet(e.window,e.window,p,p,0),e.match_start-=p,e.strstart-=p,e.block_start-=p,t=n=e.hash_size;do{r=e.head[--t],e.head[t]=r>=p?r-p:0}while(--n);t=n=p;do{r=e.prev[--t],e.prev[t]=r>=p?r-p:0}while(--n);s+=p}if(0===e.strm.avail_in)break;if(l=e.strm,u=e.window,h=e.strstart+e.lookahead,d=s,f=void 0,(f=l.avail_in)>d&&(f=d),n=0===f?0:(l.avail_in-=f,i.arraySet(u,l.input,l.next_in,f,h),1===l.state.wrap?l.adler=o(l.adler,u,f,h):2===l.state.wrap&&(l.adler=a(l.adler,u,f,h)),l.next_in+=f,l.total_in+=f,f),e.lookahead+=n,e.lookahead+e.insert>=3)for(c=e.strstart-e.insert,e.ins_h=e.window[c],e.ins_h=(e.ins_h<<e.hash_shift^e.window[c+1])&e.hash_mask;e.insert&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[c+3-1])&e.hash_mask,e.prev[c&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=c,c++,e.insert--,!(e.lookahead+e.insert<3)););}while(e.lookahead<262&&0!==e.strm.avail_in)}function y(e,t){for(var n,r;;){if(e.lookahead<262){if(v(e),e.lookahead<262&&0===t)return 1;if(0===e.lookahead)break}if(n=0,e.lookahead>=3&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+3-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),0!==n&&e.strstart-n<=e.w_size-262&&(e.match_length=g(e,n)),e.match_length>=3)if(r=s._tr_tally(e,e.strstart-e.match_start,e.match_length-3),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=3){e.match_length--;do{e.strstart++,e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+3-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart}while(0!=--e.match_length);e.strstart++}else e.strstart+=e.match_length,e.match_length=0,e.ins_h=e.window[e.strstart],e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+1])&e.hash_mask;else r=s._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(r&&(f(e,!1),0===e.strm.avail_out))return 1}return e.insert=e.strstart<2?e.strstart:2,4===t?(f(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(f(e,!1),0===e.strm.avail_out)?1:2}function b(e,t){for(var n,r,i;;){if(e.lookahead<262){if(v(e),e.lookahead<262&&0===t)return 1;if(0===e.lookahead)break}if(n=0,e.lookahead>=3&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+3-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),e.prev_length=e.match_length,e.prev_match=e.match_start,e.match_length=2,0!==n&&e.prev_length<e.max_lazy_match&&e.strstart-n<=e.w_size-262&&(e.match_length=g(e,n),e.match_length<=5&&(1===e.strategy||3===e.match_length&&e.strstart-e.match_start>4096)&&(e.match_length=2)),e.prev_length>=3&&e.match_length<=e.prev_length){i=e.strstart+e.lookahead-3,r=s._tr_tally(e,e.strstart-1-e.prev_match,e.prev_length-3),e.lookahead-=e.prev_length-1,e.prev_length-=2;do{++e.strstart<=i&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+3-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart)}while(0!=--e.prev_length);if(e.match_available=0,e.match_length=2,e.strstart++,r&&(f(e,!1),0===e.strm.avail_out))return 1}else if(e.match_available){if((r=s._tr_tally(e,0,e.window[e.strstart-1]))&&f(e,!1),e.strstart++,e.lookahead--,0===e.strm.avail_out)return 1}else e.match_available=1,e.strstart++,e.lookahead--}return e.match_available&&(r=s._tr_tally(e,0,e.window[e.strstart-1]),e.match_available=0),e.insert=e.strstart<2?e.strstart:2,4===t?(f(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(f(e,!1),0===e.strm.avail_out)?1:2}function _(e,t,n,r,i){this.good_length=e,this.max_lazy=t,this.nice_length=n,this.max_chain=r,this.func=i}function w(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=8,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new i.Buf16(1146),this.dyn_dtree=new i.Buf16(122),this.bl_tree=new i.Buf16(78),h(this.dyn_ltree),h(this.dyn_dtree),h(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new i.Buf16(16),this.heap=new i.Buf16(573),h(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new i.Buf16(573),h(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function S(e){var t;return e&&e.state?(e.total_in=e.total_out=0,e.data_type=2,(t=e.state).pending=0,t.pending_out=0,t.wrap<0&&(t.wrap=-t.wrap),t.status=t.wrap?42:113,e.adler=2===t.wrap?0:1,t.last_flush=0,s._tr_init(t),0):l(e,-2)}function x(e){var t,n=S(e);return 0===n&&((t=e.state).window_size=2*t.w_size,h(t.head),t.max_lazy_match=r[t.level].max_lazy,t.good_match=r[t.level].good_length,t.nice_match=r[t.level].nice_length,t.max_chain_length=r[t.level].max_chain,t.strstart=0,t.block_start=0,t.lookahead=0,t.insert=0,t.match_length=t.prev_length=2,t.match_available=0,t.ins_h=0),n}function O(e,t,n,r,s,o){if(!e)return-2;var a=1;if(-1===t&&(t=6),r<0?(a=0,r=-r):r>15&&(a=2,r-=16),s<1||s>9||8!==n||r<8||r>15||t<0||t>9||o<0||o>4)return l(e,-2);8===r&&(r=9);var c=new w;return e.state=c,c.strm=e,c.wrap=a,c.gzhead=null,c.w_bits=r,c.w_size=1<<c.w_bits,c.w_mask=c.w_size-1,c.hash_bits=s+7,c.hash_size=1<<c.hash_bits,c.hash_mask=c.hash_size-1,c.hash_shift=~~((c.hash_bits+3-1)/3),c.window=new i.Buf8(2*c.w_size),c.head=new i.Buf16(c.hash_size),c.prev=new i.Buf16(c.w_size),c.lit_bufsize=1<<s+6,c.pending_buf_size=4*c.lit_bufsize,c.pending_buf=new i.Buf8(c.pending_buf_size),c.d_buf=1*c.lit_bufsize,c.l_buf=3*c.lit_bufsize,c.level=t,c.strategy=o,c.method=n,x(e)}r=[new _(0,0,0,0,function(e,t){var n=65535;for(n>e.pending_buf_size-5&&(n=e.pending_buf_size-5);;){if(e.lookahead<=1){if(v(e),0===e.lookahead&&0===t)return 1;if(0===e.lookahead)break}e.strstart+=e.lookahead,e.lookahead=0;var r=e.block_start+n;if((0===e.strstart||e.strstart>=r)&&(e.lookahead=e.strstart-r,e.strstart=r,f(e,!1),0===e.strm.avail_out))return 1;if(e.strstart-e.block_start>=e.w_size-262&&(f(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,4===t?(f(e,!0),0===e.strm.avail_out?3:4):(e.strstart>e.block_start&&(f(e,!1),e.strm.avail_out),1)}),new _(4,4,8,4,y),new _(4,5,16,8,y),new _(4,6,32,32,y),new _(4,4,16,16,b),new _(8,16,32,32,b),new _(8,16,128,128,b),new _(8,32,128,256,b),new _(32,128,258,1024,b),new _(32,258,258,4096,b)],n.deflateInit=function(e,t){return O(e,t,8,15,8,0)},n.deflateInit2=O,n.deflateReset=x,n.deflateResetKeep=S,n.deflateSetHeader=function(e,t){return e&&e.state?2!==e.state.wrap?-2:(e.state.gzhead=t,0):-2},n.deflate=function(e,t){var n,i,o,c;if(!e||!e.state||t>5||t<0)return e?l(e,-2):-2;if(i=e.state,!e.output||!e.input&&0!==e.avail_in||666===i.status&&4!==t)return l(e,0===e.avail_out?-5:-2);if(i.strm=e,n=i.last_flush,i.last_flush=t,42===i.status)if(2===i.wrap)e.adler=0,p(i,31),p(i,139),p(i,8),i.gzhead?(p(i,(i.gzhead.text?1:0)+(i.gzhead.hcrc?2:0)+(i.gzhead.extra?4:0)+(i.gzhead.name?8:0)+(i.gzhead.comment?16:0)),p(i,255&i.gzhead.time),p(i,i.gzhead.time>>8&255),p(i,i.gzhead.time>>16&255),p(i,i.gzhead.time>>24&255),p(i,9===i.level?2:i.strategy>=2||i.level<2?4:0),p(i,255&i.gzhead.os),i.gzhead.extra&&i.gzhead.extra.length&&(p(i,255&i.gzhead.extra.length),p(i,i.gzhead.extra.length>>8&255)),i.gzhead.hcrc&&(e.adler=a(e.adler,i.pending_buf,i.pending,0)),i.gzindex=0,i.status=69):(p(i,0),p(i,0),p(i,0),p(i,0),p(i,0),p(i,9===i.level?2:i.strategy>=2||i.level<2?4:0),p(i,3),i.status=113);else{var g=8+(i.w_bits-8<<4)<<8;g|=(i.strategy>=2||i.level<2?0:i.level<6?1:6===i.level?2:3)<<6,0!==i.strstart&&(g|=32),g+=31-g%31,i.status=113,m(i,g),0!==i.strstart&&(m(i,e.adler>>>16),m(i,65535&e.adler)),e.adler=1}if(69===i.status)if(i.gzhead.extra){for(o=i.pending;i.gzindex<(65535&i.gzhead.extra.length)&&(i.pending!==i.pending_buf_size||(i.gzhead.hcrc&&i.pending>o&&(e.adler=a(e.adler,i.pending_buf,i.pending-o,o)),d(e),o=i.pending,i.pending!==i.pending_buf_size));)p(i,255&i.gzhead.extra[i.gzindex]),i.gzindex++;i.gzhead.hcrc&&i.pending>o&&(e.adler=a(e.adler,i.pending_buf,i.pending-o,o)),i.gzindex===i.gzhead.extra.length&&(i.gzindex=0,i.status=73)}else i.status=73;if(73===i.status)if(i.gzhead.name){o=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>o&&(e.adler=a(e.adler,i.pending_buf,i.pending-o,o)),d(e),o=i.pending,i.pending===i.pending_buf_size)){c=1;break}c=i.gzindex<i.gzhead.name.length?255&i.gzhead.name.charCodeAt(i.gzindex++):0,p(i,c)}while(0!==c);i.gzhead.hcrc&&i.pending>o&&(e.adler=a(e.adler,i.pending_buf,i.pending-o,o)),0===c&&(i.gzindex=0,i.status=91)}else i.status=91;if(91===i.status)if(i.gzhead.comment){o=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>o&&(e.adler=a(e.adler,i.pending_buf,i.pending-o,o)),d(e),o=i.pending,i.pending===i.pending_buf_size)){c=1;break}c=i.gzindex<i.gzhead.comment.length?255&i.gzhead.comment.charCodeAt(i.gzindex++):0,p(i,c)}while(0!==c);i.gzhead.hcrc&&i.pending>o&&(e.adler=a(e.adler,i.pending_buf,i.pending-o,o)),0===c&&(i.status=103)}else i.status=103;if(103===i.status&&(i.gzhead.hcrc?(i.pending+2>i.pending_buf_size&&d(e),i.pending+2<=i.pending_buf_size&&(p(i,255&e.adler),p(i,e.adler>>8&255),e.adler=0,i.status=113)):i.status=113),0!==i.pending){if(d(e),0===e.avail_out)return i.last_flush=-1,0}else if(0===e.avail_in&&u(t)<=u(n)&&4!==t)return l(e,-5);if(666===i.status&&0!==e.avail_in)return l(e,-5);if(0!==e.avail_in||0!==i.lookahead||0!==t&&666!==i.status){var y=2===i.strategy?function(e,t){for(var n;;){if(0===e.lookahead&&(v(e),0===e.lookahead)){if(0===t)return 1;break}if(e.match_length=0,n=s._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,n&&(f(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,4===t?(f(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(f(e,!1),0===e.strm.avail_out)?1:2}(i,t):3===i.strategy?function(e,t){for(var n,r,i,o,a=e.window;;){if(e.lookahead<=258){if(v(e),e.lookahead<=258&&0===t)return 1;if(0===e.lookahead)break}if(e.match_length=0,e.lookahead>=3&&e.strstart>0&&(r=a[i=e.strstart-1])===a[++i]&&r===a[++i]&&r===a[++i]){o=e.strstart+258;do{}while(r===a[++i]&&r===a[++i]&&r===a[++i]&&r===a[++i]&&r===a[++i]&&r===a[++i]&&r===a[++i]&&r===a[++i]&&i<o);e.match_length=258-(o-i),e.match_length>e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=3?(n=s._tr_tally(e,1,e.match_length-3),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(n=s._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),n&&(f(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,4===t?(f(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(f(e,!1),0===e.strm.avail_out)?1:2}(i,t):r[i.level].func(i,t);if(3!==y&&4!==y||(i.status=666),1===y||3===y)return 0===e.avail_out&&(i.last_flush=-1),0;if(2===y&&(1===t?s._tr_align(i):5!==t&&(s._tr_stored_block(i,0,0,!1),3===t&&(h(i.head),0===i.lookahead&&(i.strstart=0,i.block_start=0,i.insert=0))),d(e),0===e.avail_out))return i.last_flush=-1,0}return 4!==t?0:i.wrap<=0?1:(2===i.wrap?(p(i,255&e.adler),p(i,e.adler>>8&255),p(i,e.adler>>16&255),p(i,e.adler>>24&255),p(i,255&e.total_in),p(i,e.total_in>>8&255),p(i,e.total_in>>16&255),p(i,e.total_in>>24&255)):(m(i,e.adler>>>16),m(i,65535&e.adler)),d(e),i.wrap>0&&(i.wrap=-i.wrap),0!==i.pending?0:1)},n.deflateEnd=function(e){var t;return e&&e.state?42!==(t=e.state.status)&&69!==t&&73!==t&&91!==t&&103!==t&&113!==t&&666!==t?l(e,-2):(e.state=null,113===t?l(e,-3):0):-2},n.deflateSetDictionary=function(e,t){var n,r,s,a,c,l,u,d,f=t.length;if(!e||!e.state)return-2;if(2===(a=(n=e.state).wrap)||1===a&&42!==n.status||n.lookahead)return-2;for(1===a&&(e.adler=o(e.adler,t,f,0)),n.wrap=0,f>=n.w_size&&(0===a&&(h(n.head),n.strstart=0,n.block_start=0,n.insert=0),d=new i.Buf8(n.w_size),i.arraySet(d,t,f-n.w_size,n.w_size,0),t=d,f=n.w_size),c=e.avail_in,l=e.next_in,u=e.input,e.avail_in=f,e.next_in=0,e.input=t,v(n);n.lookahead>=3;){r=n.strstart,s=n.lookahead-2;do{n.ins_h=(n.ins_h<<n.hash_shift^n.window[r+3-1])&n.hash_mask,n.prev[r&n.w_mask]=n.head[n.ins_h],n.head[n.ins_h]=r,r++}while(--s);n.strstart=r,n.lookahead=2,v(n)}return n.strstart+=n.lookahead,n.block_start=n.strstart,n.insert=n.lookahead,n.lookahead=0,n.match_length=n.prev_length=2,n.match_available=0,e.next_in=l,e.input=u,e.avail_in=c,n.wrap=a,0},n.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":442,"./adler32":444,"./crc32":446,"./messages":452,"./trees":453}],448:[function(e,t,n){"use strict";t.exports=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}},{}],449:[function(e,t,n){"use strict";t.exports=function(e,t){var n,r,i,s,o,a,c,l,u,h,d,f,p,m,g,v,y,b,_,w,S,x,O,k,C;n=e.state,r=e.next_in,k=e.input,i=r+(e.avail_in-5),s=e.next_out,C=e.output,o=s-(t-e.avail_out),a=s+(e.avail_out-257),c=n.dmax,l=n.wsize,u=n.whave,h=n.wnext,d=n.window,f=n.hold,p=n.bits,m=n.lencode,g=n.distcode,v=(1<<n.lenbits)-1,y=(1<<n.distbits)-1;e:do{p<15&&(f+=k[r++]<<p,p+=8,f+=k[r++]<<p,p+=8),b=m[f&v];t:for(;;){if(f>>>=_=b>>>24,p-=_,0==(_=b>>>16&255))C[s++]=65535&b;else{if(!(16&_)){if(0==(64&_)){b=m[(65535&b)+(f&(1<<_)-1)];continue t}if(32&_){n.mode=12;break e}e.msg="invalid literal/length code",n.mode=30;break e}w=65535&b,(_&=15)&&(p<_&&(f+=k[r++]<<p,p+=8),w+=f&(1<<_)-1,f>>>=_,p-=_),p<15&&(f+=k[r++]<<p,p+=8,f+=k[r++]<<p,p+=8),b=g[f&y];n:for(;;){if(f>>>=_=b>>>24,p-=_,!(16&(_=b>>>16&255))){if(0==(64&_)){b=g[(65535&b)+(f&(1<<_)-1)];continue n}e.msg="invalid distance code",n.mode=30;break e}if(S=65535&b,p<(_&=15)&&(f+=k[r++]<<p,(p+=8)<_&&(f+=k[r++]<<p,p+=8)),(S+=f&(1<<_)-1)>c){e.msg="invalid distance too far back",n.mode=30;break e}if(f>>>=_,p-=_,S>(_=s-o)){if((_=S-_)>u&&n.sane){e.msg="invalid distance too far back",n.mode=30;break e}if(x=0,O=d,0===h){if(x+=l-_,_<w){w-=_;do{C[s++]=d[x++]}while(--_);x=s-S,O=C}}else if(h<_){if(x+=l+h-_,(_-=h)<w){w-=_;do{C[s++]=d[x++]}while(--_);if(x=0,h<w){w-=_=h;do{C[s++]=d[x++]}while(--_);x=s-S,O=C}}}else if(x+=h-_,_<w){w-=_;do{C[s++]=d[x++]}while(--_);x=s-S,O=C}for(;w>2;)C[s++]=O[x++],C[s++]=O[x++],C[s++]=O[x++],w-=3;w&&(C[s++]=O[x++],w>1&&(C[s++]=O[x++]))}else{x=s-S;do{C[s++]=C[x++],C[s++]=C[x++],C[s++]=C[x++],w-=3}while(w>2);w&&(C[s++]=C[x++],w>1&&(C[s++]=C[x++]))}break}}break}}while(r<i&&s<a);r-=w=p>>3,f&=(1<<(p-=w<<3))-1,e.next_in=r,e.next_out=s,e.avail_in=r<i?i-r+5:5-(r-i),e.avail_out=s<a?a-s+257:257-(s-a),n.hold=f,n.bits=p}},{}],450:[function(e,t,n){"use strict";var r=e("../utils/common"),i=e("./adler32"),s=e("./crc32"),o=e("./inffast"),a=e("./inftrees");function c(e){return(e>>>24&255)+(e>>>8&65280)+((65280&e)<<8)+((255&e)<<24)}function l(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new r.Buf16(320),this.work=new r.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function u(e){var t;return e&&e.state?(t=e.state,e.total_in=e.total_out=t.total=0,e.msg="",t.wrap&&(e.adler=1&t.wrap),t.mode=1,t.last=0,t.havedict=0,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new r.Buf32(852),t.distcode=t.distdyn=new r.Buf32(592),t.sane=1,t.back=-1,0):-2}function h(e){var t;return e&&e.state?((t=e.state).wsize=0,t.whave=0,t.wnext=0,u(e)):-2}function d(e,t){var n,r;return e&&e.state?(r=e.state,t<0?(n=0,t=-t):(n=1+(t>>4),t<48&&(t&=15)),t&&(t<8||t>15)?-2:(null!==r.window&&r.wbits!==t&&(r.window=null),r.wrap=n,r.wbits=t,h(e))):-2}function f(e,t){var n,r;return e?(r=new l,e.state=r,r.window=null,0!==(n=d(e,t))&&(e.state=null),n):-2}var p,m,g=!0;function v(e){if(g){var t;for(p=new r.Buf32(512),m=new r.Buf32(32),t=0;t<144;)e.lens[t++]=8;for(;t<256;)e.lens[t++]=9;for(;t<280;)e.lens[t++]=7;for(;t<288;)e.lens[t++]=8;for(a(1,e.lens,0,288,p,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;a(2,e.lens,0,32,m,0,e.work,{bits:5}),g=!1}e.lencode=p,e.lenbits=9,e.distcode=m,e.distbits=5}function y(e,t,n,i){var s,o=e.state;return null===o.window&&(o.wsize=1<<o.wbits,o.wnext=0,o.whave=0,o.window=new r.Buf8(o.wsize)),i>=o.wsize?(r.arraySet(o.window,t,n-o.wsize,o.wsize,0),o.wnext=0,o.whave=o.wsize):((s=o.wsize-o.wnext)>i&&(s=i),r.arraySet(o.window,t,n-i,s,o.wnext),(i-=s)?(r.arraySet(o.window,t,n-i,i,0),o.wnext=i,o.whave=o.wsize):(o.wnext+=s,o.wnext===o.wsize&&(o.wnext=0),o.whave<o.wsize&&(o.whave+=s))),0}n.inflateReset=h,n.inflateReset2=d,n.inflateResetKeep=u,n.inflateInit=function(e){return f(e,15)},n.inflateInit2=f,n.inflate=function(e,t){var n,l,u,h,d,f,p,m,g,b,_,w,S,x,O,k,C,M,E,T,j,D,A,L,z=0,P=new r.Buf8(4),I=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!e||!e.state||!e.output||!e.input&&0!==e.avail_in)return-2;12===(n=e.state).mode&&(n.mode=13),d=e.next_out,u=e.output,p=e.avail_out,h=e.next_in,l=e.input,f=e.avail_in,m=n.hold,g=n.bits,b=f,_=p,D=0;e:for(;;)switch(n.mode){case 1:if(0===n.wrap){n.mode=13;break}for(;g<16;){if(0===f)break e;f--,m+=l[h++]<<g,g+=8}if(2&n.wrap&&35615===m){n.check=0,P[0]=255&m,P[1]=m>>>8&255,n.check=s(n.check,P,2,0),m=0,g=0,n.mode=2;break}if(n.flags=0,n.head&&(n.head.done=!1),!(1&n.wrap)||(((255&m)<<8)+(m>>8))%31){e.msg="incorrect header check",n.mode=30;break}if(8!=(15&m)){e.msg="unknown compression method",n.mode=30;break}if(g-=4,j=8+(15&(m>>>=4)),0===n.wbits)n.wbits=j;else if(j>n.wbits){e.msg="invalid window size",n.mode=30;break}n.dmax=1<<j,e.adler=n.check=1,n.mode=512&m?10:12,m=0,g=0;break;case 2:for(;g<16;){if(0===f)break e;f--,m+=l[h++]<<g,g+=8}if(n.flags=m,8!=(255&n.flags)){e.msg="unknown compression method",n.mode=30;break}if(57344&n.flags){e.msg="unknown header flags set",n.mode=30;break}n.head&&(n.head.text=m>>8&1),512&n.flags&&(P[0]=255&m,P[1]=m>>>8&255,n.check=s(n.check,P,2,0)),m=0,g=0,n.mode=3;case 3:for(;g<32;){if(0===f)break e;f--,m+=l[h++]<<g,g+=8}n.head&&(n.head.time=m),512&n.flags&&(P[0]=255&m,P[1]=m>>>8&255,P[2]=m>>>16&255,P[3]=m>>>24&255,n.check=s(n.check,P,4,0)),m=0,g=0,n.mode=4;case 4:for(;g<16;){if(0===f)break e;f--,m+=l[h++]<<g,g+=8}n.head&&(n.head.xflags=255&m,n.head.os=m>>8),512&n.flags&&(P[0]=255&m,P[1]=m>>>8&255,n.check=s(n.check,P,2,0)),m=0,g=0,n.mode=5;case 5:if(1024&n.flags){for(;g<16;){if(0===f)break e;f--,m+=l[h++]<<g,g+=8}n.length=m,n.head&&(n.head.extra_len=m),512&n.flags&&(P[0]=255&m,P[1]=m>>>8&255,n.check=s(n.check,P,2,0)),m=0,g=0}else n.head&&(n.head.extra=null);n.mode=6;case 6:if(1024&n.flags&&((w=n.length)>f&&(w=f),w&&(n.head&&(j=n.head.extra_len-n.length,n.head.extra||(n.head.extra=new Array(n.head.extra_len)),r.arraySet(n.head.extra,l,h,w,j)),512&n.flags&&(n.check=s(n.check,l,w,h)),f-=w,h+=w,n.length-=w),n.length))break e;n.length=0,n.mode=7;case 7:if(2048&n.flags){if(0===f)break e;w=0;do{j=l[h+w++],n.head&&j&&n.length<65536&&(n.head.name+=String.fromCharCode(j))}while(j&&w<f);if(512&n.flags&&(n.check=s(n.check,l,w,h)),f-=w,h+=w,j)break e}else n.head&&(n.head.name=null);n.length=0,n.mode=8;case 8:if(4096&n.flags){if(0===f)break e;w=0;do{j=l[h+w++],n.head&&j&&n.length<65536&&(n.head.comment+=String.fromCharCode(j))}while(j&&w<f);if(512&n.flags&&(n.check=s(n.check,l,w,h)),f-=w,h+=w,j)break e}else n.head&&(n.head.comment=null);n.mode=9;case 9:if(512&n.flags){for(;g<16;){if(0===f)break e;f--,m+=l[h++]<<g,g+=8}if(m!==(65535&n.check)){e.msg="header crc mismatch",n.mode=30;break}m=0,g=0}n.head&&(n.head.hcrc=n.flags>>9&1,n.head.done=!0),e.adler=n.check=0,n.mode=12;break;case 10:for(;g<32;){if(0===f)break e;f--,m+=l[h++]<<g,g+=8}e.adler=n.check=c(m),m=0,g=0,n.mode=11;case 11:if(0===n.havedict)return e.next_out=d,e.avail_out=p,e.next_in=h,e.avail_in=f,n.hold=m,n.bits=g,2;e.adler=n.check=1,n.mode=12;case 12:if(5===t||6===t)break e;case 13:if(n.last){m>>>=7&g,g-=7&g,n.mode=27;break}for(;g<3;){if(0===f)break e;f--,m+=l[h++]<<g,g+=8}switch(n.last=1&m,g-=1,3&(m>>>=1)){case 0:n.mode=14;break;case 1:if(v(n),n.mode=20,6===t){m>>>=2,g-=2;break e}break;case 2:n.mode=17;break;case 3:e.msg="invalid block type",n.mode=30}m>>>=2,g-=2;break;case 14:for(m>>>=7&g,g-=7&g;g<32;){if(0===f)break e;f--,m+=l[h++]<<g,g+=8}if((65535&m)!=(m>>>16^65535)){e.msg="invalid stored block lengths",n.mode=30;break}if(n.length=65535&m,m=0,g=0,n.mode=15,6===t)break e;case 15:n.mode=16;case 16:if(w=n.length){if(w>f&&(w=f),w>p&&(w=p),0===w)break e;r.arraySet(u,l,h,w,d),f-=w,h+=w,p-=w,d+=w,n.length-=w;break}n.mode=12;break;case 17:for(;g<14;){if(0===f)break e;f--,m+=l[h++]<<g,g+=8}if(n.nlen=257+(31&m),m>>>=5,g-=5,n.ndist=1+(31&m),m>>>=5,g-=5,n.ncode=4+(15&m),m>>>=4,g-=4,n.nlen>286||n.ndist>30){e.msg="too many length or distance symbols",n.mode=30;break}n.have=0,n.mode=18;case 18:for(;n.have<n.ncode;){for(;g<3;){if(0===f)break e;f--,m+=l[h++]<<g,g+=8}n.lens[I[n.have++]]=7&m,m>>>=3,g-=3}for(;n.have<19;)n.lens[I[n.have++]]=0;if(n.lencode=n.lendyn,n.lenbits=7,A={bits:n.lenbits},D=a(0,n.lens,0,19,n.lencode,0,n.work,A),n.lenbits=A.bits,D){e.msg="invalid code lengths set",n.mode=30;break}n.have=0,n.mode=19;case 19:for(;n.have<n.nlen+n.ndist;){for(;k=(z=n.lencode[m&(1<<n.lenbits)-1])>>>16&255,C=65535&z,!((O=z>>>24)<=g);){if(0===f)break e;f--,m+=l[h++]<<g,g+=8}if(C<16)m>>>=O,g-=O,n.lens[n.have++]=C;else{if(16===C){for(L=O+2;g<L;){if(0===f)break e;f--,m+=l[h++]<<g,g+=8}if(m>>>=O,g-=O,0===n.have){e.msg="invalid bit length repeat",n.mode=30;break}j=n.lens[n.have-1],w=3+(3&m),m>>>=2,g-=2}else if(17===C){for(L=O+3;g<L;){if(0===f)break e;f--,m+=l[h++]<<g,g+=8}g-=O,j=0,w=3+(7&(m>>>=O)),m>>>=3,g-=3}else{for(L=O+7;g<L;){if(0===f)break e;f--,m+=l[h++]<<g,g+=8}g-=O,j=0,w=11+(127&(m>>>=O)),m>>>=7,g-=7}if(n.have+w>n.nlen+n.ndist){e.msg="invalid bit length repeat",n.mode=30;break}for(;w--;)n.lens[n.have++]=j}}if(30===n.mode)break;if(0===n.lens[256]){e.msg="invalid code -- missing end-of-block",n.mode=30;break}if(n.lenbits=9,A={bits:n.lenbits},D=a(1,n.lens,0,n.nlen,n.lencode,0,n.work,A),n.lenbits=A.bits,D){e.msg="invalid literal/lengths set",n.mode=30;break}if(n.distbits=6,n.distcode=n.distdyn,A={bits:n.distbits},D=a(2,n.lens,n.nlen,n.ndist,n.distcode,0,n.work,A),n.distbits=A.bits,D){e.msg="invalid distances set",n.mode=30;break}if(n.mode=20,6===t)break e;case 20:n.mode=21;case 21:if(f>=6&&p>=258){e.next_out=d,e.avail_out=p,e.next_in=h,e.avail_in=f,n.hold=m,n.bits=g,o(e,_),d=e.next_out,u=e.output,p=e.avail_out,h=e.next_in,l=e.input,f=e.avail_in,m=n.hold,g=n.bits,12===n.mode&&(n.back=-1);break}for(n.back=0;k=(z=n.lencode[m&(1<<n.lenbits)-1])>>>16&255,C=65535&z,!((O=z>>>24)<=g);){if(0===f)break e;f--,m+=l[h++]<<g,g+=8}if(k&&0==(240&k)){for(M=O,E=k,T=C;k=(z=n.lencode[T+((m&(1<<M+E)-1)>>M)])>>>16&255,C=65535&z,!(M+(O=z>>>24)<=g);){if(0===f)break e;f--,m+=l[h++]<<g,g+=8}m>>>=M,g-=M,n.back+=M}if(m>>>=O,g-=O,n.back+=O,n.length=C,0===k){n.mode=26;break}if(32&k){n.back=-1,n.mode=12;break}if(64&k){e.msg="invalid literal/length code",n.mode=30;break}n.extra=15&k,n.mode=22;case 22:if(n.extra){for(L=n.extra;g<L;){if(0===f)break e;f--,m+=l[h++]<<g,g+=8}n.length+=m&(1<<n.extra)-1,m>>>=n.extra,g-=n.extra,n.back+=n.extra}n.was=n.length,n.mode=23;case 23:for(;k=(z=n.distcode[m&(1<<n.distbits)-1])>>>16&255,C=65535&z,!((O=z>>>24)<=g);){if(0===f)break e;f--,m+=l[h++]<<g,g+=8}if(0==(240&k)){for(M=O,E=k,T=C;k=(z=n.distcode[T+((m&(1<<M+E)-1)>>M)])>>>16&255,C=65535&z,!(M+(O=z>>>24)<=g);){if(0===f)break e;f--,m+=l[h++]<<g,g+=8}m>>>=M,g-=M,n.back+=M}if(m>>>=O,g-=O,n.back+=O,64&k){e.msg="invalid distance code",n.mode=30;break}n.offset=C,n.extra=15&k,n.mode=24;case 24:if(n.extra){for(L=n.extra;g<L;){if(0===f)break e;f--,m+=l[h++]<<g,g+=8}n.offset+=m&(1<<n.extra)-1,m>>>=n.extra,g-=n.extra,n.back+=n.extra}if(n.offset>n.dmax){e.msg="invalid distance too far back",n.mode=30;break}n.mode=25;case 25:if(0===p)break e;if(w=_-p,n.offset>w){if((w=n.offset-w)>n.whave&&n.sane){e.msg="invalid distance too far back",n.mode=30;break}w>n.wnext?(w-=n.wnext,S=n.wsize-w):S=n.wnext-w,w>n.length&&(w=n.length),x=n.window}else x=u,S=d-n.offset,w=n.length;w>p&&(w=p),p-=w,n.length-=w;do{u[d++]=x[S++]}while(--w);0===n.length&&(n.mode=21);break;case 26:if(0===p)break e;u[d++]=n.length,p--,n.mode=21;break;case 27:if(n.wrap){for(;g<32;){if(0===f)break e;f--,m|=l[h++]<<g,g+=8}if(_-=p,e.total_out+=_,n.total+=_,_&&(e.adler=n.check=n.flags?s(n.check,u,_,d-_):i(n.check,u,_,d-_)),_=p,(n.flags?m:c(m))!==n.check){e.msg="incorrect data check",n.mode=30;break}m=0,g=0}n.mode=28;case 28:if(n.wrap&&n.flags){for(;g<32;){if(0===f)break e;f--,m+=l[h++]<<g,g+=8}if(m!==(4294967295&n.total)){e.msg="incorrect length check",n.mode=30;break}m=0,g=0}n.mode=29;case 29:D=1;break e;case 30:D=-3;break e;case 31:return-4;case 32:default:return-2}return e.next_out=d,e.avail_out=p,e.next_in=h,e.avail_in=f,n.hold=m,n.bits=g,(n.wsize||_!==e.avail_out&&n.mode<30&&(n.mode<27||4!==t))&&y(e,e.output,e.next_out,_-e.avail_out)?(n.mode=31,-4):(b-=e.avail_in,_-=e.avail_out,e.total_in+=b,e.total_out+=_,n.total+=_,n.wrap&&_&&(e.adler=n.check=n.flags?s(n.check,u,_,e.next_out-_):i(n.check,u,_,e.next_out-_)),e.data_type=n.bits+(n.last?64:0)+(12===n.mode?128:0)+(20===n.mode||15===n.mode?256:0),(0===b&&0===_||4===t)&&0===D&&(D=-5),D)},n.inflateEnd=function(e){if(!e||!e.state)return-2;var t=e.state;return t.window&&(t.window=null),e.state=null,0},n.inflateGetHeader=function(e,t){var n;return e&&e.state?0==(2&(n=e.state).wrap)?-2:(n.head=t,t.done=!1,0):-2},n.inflateSetDictionary=function(e,t){var n,r=t.length;return e&&e.state?0!==(n=e.state).wrap&&11!==n.mode?-2:11===n.mode&&i(1,t,r,0)!==n.check?-3:y(e,t,r,r)?(n.mode=31,-4):(n.havedict=1,0):-2},n.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":442,"./adler32":444,"./crc32":446,"./inffast":449,"./inftrees":451}],451:[function(e,t,n){"use strict";var r=e("../utils/common"),i=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],s=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],o=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],a=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];t.exports=function(e,t,n,c,l,u,h,d){var f,p,m,g,v,y,b,_,w,S=d.bits,x=0,O=0,k=0,C=0,M=0,E=0,T=0,j=0,D=0,A=0,L=null,z=0,P=new r.Buf16(16),I=new r.Buf16(16),R=null,N=0;for(x=0;x<=15;x++)P[x]=0;for(O=0;O<c;O++)P[t[n+O]]++;for(M=S,C=15;C>=1&&0===P[C];C--);if(M>C&&(M=C),0===C)return l[u++]=20971520,l[u++]=20971520,d.bits=1,0;for(k=1;k<C&&0===P[k];k++);for(M<k&&(M=k),j=1,x=1;x<=15;x++)if(j<<=1,(j-=P[x])<0)return-1;if(j>0&&(0===e||1!==C))return-1;for(I[1]=0,x=1;x<15;x++)I[x+1]=I[x]+P[x];for(O=0;O<c;O++)0!==t[n+O]&&(h[I[t[n+O]]++]=O);if(0===e?(L=R=h,y=19):1===e?(L=i,z-=257,R=s,N-=257,y=256):(L=o,R=a,y=-1),A=0,O=0,x=k,v=u,E=M,T=0,m=-1,g=(D=1<<M)-1,1===e&&D>852||2===e&&D>592)return 1;for(;;){b=x-T,h[O]<y?(_=0,w=h[O]):h[O]>y?(_=R[N+h[O]],w=L[z+h[O]]):(_=96,w=0),f=1<<x-T,k=p=1<<E;do{l[v+(A>>T)+(p-=f)]=b<<24|_<<16|w|0}while(0!==p);for(f=1<<x-1;A&f;)f>>=1;if(0!==f?(A&=f-1,A+=f):A=0,O++,0==--P[x]){if(x===C)break;x=t[n+h[O]]}if(x>M&&(A&g)!==m){for(0===T&&(T=M),v+=k,j=1<<(E=x-T);E+T<C&&!((j-=P[E+T])<=0);)E++,j<<=1;if(D+=1<<E,1===e&&D>852||2===e&&D>592)return 1;l[m=A&g]=M<<24|E<<16|v-u|0}}return 0!==A&&(l[v+A]=x-T<<24|64<<16|0),d.bits=M,0}},{"../utils/common":442}],452:[function(e,t,n){"use strict";t.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},{}],453:[function(e,t,n){"use strict";var r=e("../utils/common");function i(e){for(var t=e.length;--t>=0;)e[t]=0}var s=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],o=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],a=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],c=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],l=new Array(576);i(l);var u=new Array(60);i(u);var h=new Array(512);i(h);var d=new Array(256);i(d);var f=new Array(29);i(f);var p,m,g,v=new Array(30);function y(e,t,n,r,i){this.static_tree=e,this.extra_bits=t,this.extra_base=n,this.elems=r,this.max_length=i,this.has_stree=e&&e.length}function b(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}function _(e){return e<256?h[e]:h[256+(e>>>7)]}function w(e,t){e.pending_buf[e.pending++]=255&t,e.pending_buf[e.pending++]=t>>>8&255}function S(e,t,n){e.bi_valid>16-n?(e.bi_buf|=t<<e.bi_valid&65535,w(e,e.bi_buf),e.bi_buf=t>>16-e.bi_valid,e.bi_valid+=n-16):(e.bi_buf|=t<<e.bi_valid&65535,e.bi_valid+=n)}function x(e,t,n){S(e,n[2*t],n[2*t+1])}function O(e,t){var n=0;do{n|=1&e,e>>>=1,n<<=1}while(--t>0);return n>>>1}function k(e,t,n){var r,i,s=new Array(16),o=0;for(r=1;r<=15;r++)s[r]=o=o+n[r-1]<<1;for(i=0;i<=t;i++){var a=e[2*i+1];0!==a&&(e[2*i]=O(s[a]++,a))}}function C(e){var t;for(t=0;t<286;t++)e.dyn_ltree[2*t]=0;for(t=0;t<30;t++)e.dyn_dtree[2*t]=0;for(t=0;t<19;t++)e.bl_tree[2*t]=0;e.dyn_ltree[512]=1,e.opt_len=e.static_len=0,e.last_lit=e.matches=0}function M(e){e.bi_valid>8?w(e,e.bi_buf):e.bi_valid>0&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0}function E(e,t,n,r){var i=2*t,s=2*n;return e[i]<e[s]||e[i]===e[s]&&r[t]<=r[n]}function T(e,t,n){for(var r=e.heap[n],i=n<<1;i<=e.heap_len&&(i<e.heap_len&&E(t,e.heap[i+1],e.heap[i],e.depth)&&i++,!E(t,r,e.heap[i],e.depth));)e.heap[n]=e.heap[i],n=i,i<<=1;e.heap[n]=r}function j(e,t,n){var r,i,a,c,l=0;if(0!==e.last_lit)do{r=e.pending_buf[e.d_buf+2*l]<<8|e.pending_buf[e.d_buf+2*l+1],i=e.pending_buf[e.l_buf+l],l++,0===r?x(e,i,t):(x(e,(a=d[i])+256+1,t),0!==(c=s[a])&&S(e,i-=f[a],c),x(e,a=_(--r),n),0!==(c=o[a])&&S(e,r-=v[a],c))}while(l<e.last_lit);x(e,256,t)}function D(e,t){var n,r,i,s=t.dyn_tree,o=t.stat_desc.static_tree,a=t.stat_desc.has_stree,c=t.stat_desc.elems,l=-1;for(e.heap_len=0,e.heap_max=573,n=0;n<c;n++)0!==s[2*n]?(e.heap[++e.heap_len]=l=n,e.depth[n]=0):s[2*n+1]=0;for(;e.heap_len<2;)s[2*(i=e.heap[++e.heap_len]=l<2?++l:0)]=1,e.depth[i]=0,e.opt_len--,a&&(e.static_len-=o[2*i+1]);for(t.max_code=l,n=e.heap_len>>1;n>=1;n--)T(e,s,n);i=c;do{n=e.heap[1],e.heap[1]=e.heap[e.heap_len--],T(e,s,1),r=e.heap[1],e.heap[--e.heap_max]=n,e.heap[--e.heap_max]=r,s[2*i]=s[2*n]+s[2*r],e.depth[i]=(e.depth[n]>=e.depth[r]?e.depth[n]:e.depth[r])+1,s[2*n+1]=s[2*r+1]=i,e.heap[1]=i++,T(e,s,1)}while(e.heap_len>=2);e.heap[--e.heap_max]=e.heap[1],function(e,t){var n,r,i,s,o,a,c=t.dyn_tree,l=t.max_code,u=t.stat_desc.static_tree,h=t.stat_desc.has_stree,d=t.stat_desc.extra_bits,f=t.stat_desc.extra_base,p=t.stat_desc.max_length,m=0;for(s=0;s<=15;s++)e.bl_count[s]=0;for(c[2*e.heap[e.heap_max]+1]=0,n=e.heap_max+1;n<573;n++)(s=c[2*c[2*(r=e.heap[n])+1]+1]+1)>p&&(s=p,m++),c[2*r+1]=s,r>l||(e.bl_count[s]++,o=0,r>=f&&(o=d[r-f]),a=c[2*r],e.opt_len+=a*(s+o),h&&(e.static_len+=a*(u[2*r+1]+o)));if(0!==m){do{for(s=p-1;0===e.bl_count[s];)s--;e.bl_count[s]--,e.bl_count[s+1]+=2,e.bl_count[p]--,m-=2}while(m>0);for(s=p;0!==s;s--)for(r=e.bl_count[s];0!==r;)(i=e.heap[--n])>l||(c[2*i+1]!==s&&(e.opt_len+=(s-c[2*i+1])*c[2*i],c[2*i+1]=s),r--)}}(e,t),k(s,l,e.bl_count)}function A(e,t,n){var r,i,s=-1,o=t[1],a=0,c=7,l=4;for(0===o&&(c=138,l=3),t[2*(n+1)+1]=65535,r=0;r<=n;r++)i=o,o=t[2*(r+1)+1],++a<c&&i===o||(a<l?e.bl_tree[2*i]+=a:0!==i?(i!==s&&e.bl_tree[2*i]++,e.bl_tree[32]++):a<=10?e.bl_tree[34]++:e.bl_tree[36]++,a=0,s=i,0===o?(c=138,l=3):i===o?(c=6,l=3):(c=7,l=4))}function L(e,t,n){var r,i,s=-1,o=t[1],a=0,c=7,l=4;for(0===o&&(c=138,l=3),r=0;r<=n;r++)if(i=o,o=t[2*(r+1)+1],!(++a<c&&i===o)){if(a<l)do{x(e,i,e.bl_tree)}while(0!=--a);else 0!==i?(i!==s&&(x(e,i,e.bl_tree),a--),x(e,16,e.bl_tree),S(e,a-3,2)):a<=10?(x(e,17,e.bl_tree),S(e,a-3,3)):(x(e,18,e.bl_tree),S(e,a-11,7));a=0,s=i,0===o?(c=138,l=3):i===o?(c=6,l=3):(c=7,l=4)}}i(v);var z=!1;function P(e,t,n,i){S(e,0+(i?1:0),3),function(e,t,n,i){M(e),i&&(w(e,n),w(e,~n)),r.arraySet(e.pending_buf,e.window,t,n,e.pending),e.pending+=n}(e,t,n,!0)}n._tr_init=function(e){z||(function(){var e,t,n,r,i,c=new Array(16);for(n=0,r=0;r<28;r++)for(f[r]=n,e=0;e<1<<s[r];e++)d[n++]=r;for(d[n-1]=r,i=0,r=0;r<16;r++)for(v[r]=i,e=0;e<1<<o[r];e++)h[i++]=r;for(i>>=7;r<30;r++)for(v[r]=i<<7,e=0;e<1<<o[r]-7;e++)h[256+i++]=r;for(t=0;t<=15;t++)c[t]=0;for(e=0;e<=143;)l[2*e+1]=8,e++,c[8]++;for(;e<=255;)l[2*e+1]=9,e++,c[9]++;for(;e<=279;)l[2*e+1]=7,e++,c[7]++;for(;e<=287;)l[2*e+1]=8,e++,c[8]++;for(k(l,287,c),e=0;e<30;e++)u[2*e+1]=5,u[2*e]=O(e,5);p=new y(l,s,257,286,15),m=new y(u,o,0,30,15),g=new y(new Array(0),a,0,19,7)}(),z=!0),e.l_desc=new b(e.dyn_ltree,p),e.d_desc=new b(e.dyn_dtree,m),e.bl_desc=new b(e.bl_tree,g),e.bi_buf=0,e.bi_valid=0,C(e)},n._tr_stored_block=P,n._tr_flush_block=function(e,t,n,r){var i,s,o=0;e.level>0?(2===e.strm.data_type&&(e.strm.data_type=function(e){var t,n=4093624447;for(t=0;t<=31;t++,n>>>=1)if(1&n&&0!==e.dyn_ltree[2*t])return 0;if(0!==e.dyn_ltree[18]||0!==e.dyn_ltree[20]||0!==e.dyn_ltree[26])return 1;for(t=32;t<256;t++)if(0!==e.dyn_ltree[2*t])return 1;return 0}(e)),D(e,e.l_desc),D(e,e.d_desc),o=function(e){var t;for(A(e,e.dyn_ltree,e.l_desc.max_code),A(e,e.dyn_dtree,e.d_desc.max_code),D(e,e.bl_desc),t=18;t>=3&&0===e.bl_tree[2*c[t]+1];t--);return e.opt_len+=3*(t+1)+5+5+4,t}(e),i=e.opt_len+3+7>>>3,(s=e.static_len+3+7>>>3)<=i&&(i=s)):i=s=n+5,n+4<=i&&-1!==t?P(e,t,n,r):4===e.strategy||s===i?(S(e,2+(r?1:0),3),j(e,l,u)):(S(e,4+(r?1:0),3),function(e,t,n,r){var i;for(S(e,t-257,5),S(e,n-1,5),S(e,r-4,4),i=0;i<r;i++)S(e,e.bl_tree[2*c[i]+1],3);L(e,e.dyn_ltree,t-1),L(e,e.dyn_dtree,n-1)}(e,e.l_desc.max_code+1,e.d_desc.max_code+1,o+1),j(e,e.dyn_ltree,e.dyn_dtree)),C(e),r&&M(e)},n._tr_tally=function(e,t,n){return e.pending_buf[e.d_buf+2*e.last_lit]=t>>>8&255,e.pending_buf[e.d_buf+2*e.last_lit+1]=255&t,e.pending_buf[e.l_buf+e.last_lit]=255&n,e.last_lit++,0===t?e.dyn_ltree[2*n]++:(e.matches++,t--,e.dyn_ltree[2*(d[n]+256+1)]++,e.dyn_dtree[2*_(t)]++),e.last_lit===e.lit_bufsize-1},n._tr_align=function(e){S(e,2,3),x(e,256,l),function(e){16===e.bi_valid?(w(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):e.bi_valid>=8&&(e.pending_buf[e.pending++]=255&e.bi_buf,e.bi_buf>>=8,e.bi_valid-=8)}(e)}},{"../utils/common":442}],454:[function(e,t,n){"use strict";t.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},{}],455:[function(e,t,n){t.exports={"2.16.840.1.101.3.4.1.1":"aes-128-ecb","2.16.840.1.101.3.4.1.2":"aes-128-cbc","2.16.840.1.101.3.4.1.3":"aes-128-ofb","2.16.840.1.101.3.4.1.4":"aes-128-cfb","2.16.840.1.101.3.4.1.21":"aes-192-ecb","2.16.840.1.101.3.4.1.22":"aes-192-cbc","2.16.840.1.101.3.4.1.23":"aes-192-ofb","2.16.840.1.101.3.4.1.24":"aes-192-cfb","2.16.840.1.101.3.4.1.41":"aes-256-ecb","2.16.840.1.101.3.4.1.42":"aes-256-cbc","2.16.840.1.101.3.4.1.43":"aes-256-ofb","2.16.840.1.101.3.4.1.44":"aes-256-cfb"}},{}],456:[function(e,t,n){"use strict";var r=e("asn1.js");n.certificate=e("./certificate");var i=r.define("RSAPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("modulus").int(),this.key("publicExponent").int(),this.key("privateExponent").int(),this.key("prime1").int(),this.key("prime2").int(),this.key("exponent1").int(),this.key("exponent2").int(),this.key("coefficient").int())});n.RSAPrivateKey=i;var s=r.define("RSAPublicKey",function(){this.seq().obj(this.key("modulus").int(),this.key("publicExponent").int())});n.RSAPublicKey=s;var o=r.define("SubjectPublicKeyInfo",function(){this.seq().obj(this.key("algorithm").use(a),this.key("subjectPublicKey").bitstr())});n.PublicKey=o;var a=r.define("AlgorithmIdentifier",function(){this.seq().obj(this.key("algorithm").objid(),this.key("none").null_().optional(),this.key("curve").objid().optional(),this.key("params").seq().obj(this.key("p").int(),this.key("q").int(),this.key("g").int()).optional())}),c=r.define("PrivateKeyInfo",function(){this.seq().obj(this.key("version").int(),this.key("algorithm").use(a),this.key("subjectPrivateKey").octstr())});n.PrivateKey=c;var l=r.define("EncryptedPrivateKeyInfo",function(){this.seq().obj(this.key("algorithm").seq().obj(this.key("id").objid(),this.key("decrypt").seq().obj(this.key("kde").seq().obj(this.key("id").objid(),this.key("kdeparams").seq().obj(this.key("salt").octstr(),this.key("iters").int())),this.key("cipher").seq().obj(this.key("algo").objid(),this.key("iv").octstr()))),this.key("subjectPrivateKey").octstr())});n.EncryptedPrivateKey=l;var u=r.define("DSAPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("p").int(),this.key("q").int(),this.key("g").int(),this.key("pub_key").int(),this.key("priv_key").int())});n.DSAPrivateKey=u,n.DSAparam=r.define("DSAparam",function(){this.int()});var h=r.define("ECPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("privateKey").octstr(),this.key("parameters").optional().explicit(0).use(d),this.key("publicKey").optional().explicit(1).bitstr())});n.ECPrivateKey=h;var d=r.define("ECParameters",function(){this.choice({namedCurve:this.objid()})});n.signature=r.define("signature",function(){this.seq().obj(this.key("r").int(),this.key("s").int())})},{"./certificate":457,"asn1.js":167}],457:[function(e,t,n){"use strict";var r=e("asn1.js"),i=r.define("Time",function(){this.choice({utcTime:this.utctime(),generalTime:this.gentime()})}),s=r.define("AttributeTypeValue",function(){this.seq().obj(this.key("type").objid(),this.key("value").any())}),o=r.define("AlgorithmIdentifier",function(){this.seq().obj(this.key("algorithm").objid(),this.key("parameters").optional(),this.key("curve").objid().optional())}),a=r.define("SubjectPublicKeyInfo",function(){this.seq().obj(this.key("algorithm").use(o),this.key("subjectPublicKey").bitstr())}),c=r.define("RelativeDistinguishedName",function(){this.setof(s)}),l=r.define("RDNSequence",function(){this.seqof(c)}),u=r.define("Name",function(){this.choice({rdnSequence:this.use(l)})}),h=r.define("Validity",function(){this.seq().obj(this.key("notBefore").use(i),this.key("notAfter").use(i))}),d=r.define("Extension",function(){this.seq().obj(this.key("extnID").objid(),this.key("critical").bool().def(!1),this.key("extnValue").octstr())}),f=r.define("TBSCertificate",function(){this.seq().obj(this.key("version").explicit(0).int().optional(),this.key("serialNumber").int(),this.key("signature").use(o),this.key("issuer").use(u),this.key("validity").use(h),this.key("subject").use(u),this.key("subjectPublicKeyInfo").use(a),this.key("issuerUniqueID").implicit(1).bitstr().optional(),this.key("subjectUniqueID").implicit(2).bitstr().optional(),this.key("extensions").explicit(3).seqof(d).optional())}),p=r.define("X509Certificate",function(){this.seq().obj(this.key("tbsCertificate").use(f),this.key("signatureAlgorithm").use(o),this.key("signatureValue").bitstr())});t.exports=p},{"asn1.js":167}],458:[function(e,t,n){"use strict";var r=/Proc-Type: 4,ENCRYPTED[\n\r]+DEK-Info: AES-((?:128)|(?:192)|(?:256))-CBC,([0-9A-H]+)[\n\r]+([0-9A-z\n\r+/=]+)[\n\r]+/m,i=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----/m,s=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----([0-9A-z\n\r+/=]+)-----END \1-----$/m,o=e("evp_bytestokey"),a=e("browserify-aes"),c=e("safe-buffer").Buffer;t.exports=function(e,t){var n,l=e.toString(),u=l.match(r);if(u){var h="aes"+u[1],d=c.from(u[2],"hex"),f=c.from(u[3].replace(/[\r\n]/g,""),"base64"),p=o(t,d.slice(0,8),parseInt(u[1],10)).key,m=[],g=a.createDecipheriv(h,p,d);m.push(g.update(f)),m.push(g.final()),n=c.concat(m)}else{var v=l.match(s);n=c.from(v[2].replace(/[\r\n]/g,""),"base64")}return{tag:l.match(i)[1],data:n}}},{"browserify-aes":188,evp_bytestokey:368,"safe-buffer":494}],459:[function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var i=e("./asn1"),s=e("./aesid.json"),o=e("./fixProc"),a=e("browserify-aes"),c=e("pbkdf2"),l=e("safe-buffer").Buffer;function u(e){var t;"object"!==r(e)||l.isBuffer(e)||(t=e.passphrase,e=e.key),"string"==typeof e&&(e=l.from(e));var n,u,h=o(e,t),d=h.tag,f=h.data;switch(d){case"CERTIFICATE":u=i.certificate.decode(f,"der").tbsCertificate.subjectPublicKeyInfo;case"PUBLIC KEY":switch(u||(u=i.PublicKey.decode(f,"der")),n=u.algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return i.RSAPublicKey.decode(u.subjectPublicKey.data,"der");case"1.2.840.10045.2.1":return u.subjectPrivateKey=u.subjectPublicKey,{type:"ec",data:u};case"1.2.840.10040.4.1":return u.algorithm.params.pub_key=i.DSAparam.decode(u.subjectPublicKey.data,"der"),{type:"dsa",data:u.algorithm.params};default:throw new Error("unknown key id "+n)}case"ENCRYPTED PRIVATE KEY":f=function(e,t){var n=e.algorithm.decrypt.kde.kdeparams.salt,r=parseInt(e.algorithm.decrypt.kde.kdeparams.iters.toString(),10),i=s[e.algorithm.decrypt.cipher.algo.join(".")],o=e.algorithm.decrypt.cipher.iv,u=e.subjectPrivateKey,h=parseInt(i.split("-")[1],10)/8,d=c.pbkdf2Sync(t,n,r,h,"sha1"),f=a.createDecipheriv(i,d,o),p=[];return p.push(f.update(u)),p.push(f.final()),l.concat(p)}(f=i.EncryptedPrivateKey.decode(f,"der"),t);case"PRIVATE KEY":switch(n=(u=i.PrivateKey.decode(f,"der")).algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return i.RSAPrivateKey.decode(u.subjectPrivateKey,"der");case"1.2.840.10045.2.1":return{curve:u.algorithm.curve,privateKey:i.ECPrivateKey.decode(u.subjectPrivateKey,"der").privateKey};case"1.2.840.10040.4.1":return u.algorithm.params.priv_key=i.DSAparam.decode(u.subjectPrivateKey,"der"),{type:"dsa",params:u.algorithm.params};default:throw new Error("unknown key id "+n)}case"RSA PUBLIC KEY":return i.RSAPublicKey.decode(f,"der");case"RSA PRIVATE KEY":return i.RSAPrivateKey.decode(f,"der");case"DSA PRIVATE KEY":return{type:"dsa",params:i.DSAPrivateKey.decode(f,"der")};case"EC PRIVATE KEY":return{curve:(f=i.ECPrivateKey.decode(f,"der")).parameters.value,privateKey:f.privateKey};default:throw new Error("unknown key type "+d)}}t.exports=u,u.signature=i.signature},{"./aesid.json":455,"./asn1":456,"./fixProc":458,"browserify-aes":188,pbkdf2:460,"safe-buffer":494}],460:[function(e,t,n){"use strict";n.pbkdf2=e("./lib/async"),n.pbkdf2Sync=e("./lib/sync")},{"./lib/async":461,"./lib/sync":464}],461:[function(e,t,n){(function(n,r){"use strict";var i,s=e("safe-buffer").Buffer,o=e("./precondition"),a=e("./default-encoding"),c=e("./sync"),l=e("./to-buffer"),u=r.crypto&&r.crypto.subtle,h={sha:"SHA-1","sha-1":"SHA-1",sha1:"SHA-1",sha256:"SHA-256","sha-256":"SHA-256",sha384:"SHA-384","sha-384":"SHA-384","sha-512":"SHA-512",sha512:"SHA-512"},d=[];function f(e,t,n,r,i){return u.importKey("raw",e,{name:"PBKDF2"},!1,["deriveBits"]).then(function(e){return u.deriveBits({name:"PBKDF2",salt:t,iterations:n,hash:{name:i}},e,r<<3)}).then(function(e){return s.from(e)})}t.exports=function(e,t,p,m,g,v){"function"==typeof g&&(v=g,g=void 0);var y=h[(g=g||"sha1").toLowerCase()];if(!y||"function"!=typeof r.Promise)return n.nextTick(function(){var n;try{n=c(e,t,p,m,g)}catch(e){return v(e)}v(null,n)});if(o(p,m),e=l(e,a,"Password"),t=l(t,a,"Salt"),"function"!=typeof v)throw new Error("No callback provided to pbkdf2");!function(e,t){e.then(function(e){n.nextTick(function(){t(null,e)})},function(e){n.nextTick(function(){t(e)})})}(function(e){if(r.process&&!r.process.browser)return Promise.resolve(!1);if(!u||!u.importKey||!u.deriveBits)return Promise.resolve(!1);if(void 0!==d[e])return d[e];var t=f(i=i||s.alloc(8),i,10,128,e).then(function(){return!0}).catch(function(){return!1});return d[e]=t,t}(y).then(function(n){return n?f(e,t,p,m,y):c(e,t,p,m,g)}),v)}}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./default-encoding":462,"./precondition":463,"./sync":464,"./to-buffer":465,_process:467,"safe-buffer":494}],462:[function(e,t,n){(function(e){"use strict";var n;n=e.browser?"utf-8":e.version?parseInt(e.version.split(".")[0].slice(1),10)>=6?"utf-8":"binary":"utf-8",t.exports=n}).call(this,e("_process"))},{_process:467}],463:[function(e,t,n){"use strict";var r=Math.pow(2,30)-1;t.exports=function(e,t){if("number"!=typeof e)throw new TypeError("Iterations not a number");if(e<0)throw new TypeError("Bad iterations");if("number"!=typeof t)throw new TypeError("Key length not a number");if(t<0||t>r||t!=t)throw new TypeError("Bad key length")}},{}],464:[function(e,t,n){"use strict";var r=e("create-hash/md5"),i=e("ripemd160"),s=e("sha.js"),o=e("safe-buffer").Buffer,a=e("./precondition"),c=e("./default-encoding"),l=e("./to-buffer"),u=o.alloc(128),h={md5:16,sha1:20,sha224:28,sha256:32,sha384:48,sha512:64,rmd160:20,ripemd160:20};function d(e,t,n){var a=function(e){function t(t){return s(e).update(t).digest()}return"rmd160"===e||"ripemd160"===e?function(e){return(new i).update(e).digest()}:"md5"===e?r:t}(e),c="sha512"===e||"sha384"===e?128:64;t.length>c?t=a(t):t.length<c&&(t=o.concat([t,u],c));for(var l=o.allocUnsafe(c+h[e]),d=o.allocUnsafe(c+h[e]),f=0;f<c;f++)l[f]=54^t[f],d[f]=92^t[f];var p=o.allocUnsafe(c+n+4);l.copy(p,0,0,c),this.ipad1=p,this.ipad2=l,this.opad=d,this.alg=e,this.blocksize=c,this.hash=a,this.size=h[e]}d.prototype.run=function(e,t){return e.copy(t,this.blocksize),this.hash(t).copy(this.opad,this.blocksize),this.hash(this.opad)},t.exports=function(e,t,n,r,i){a(n,r);var s=new d(i=i||"sha1",e=l(e,c,"Password"),(t=l(t,c,"Salt")).length),u=o.allocUnsafe(r),f=o.allocUnsafe(t.length+4);t.copy(f,0,0,t.length);for(var p=0,m=h[i],g=Math.ceil(r/m),v=1;v<=g;v++){f.writeUInt32BE(v,t.length);for(var y=s.run(f,s.ipad1),b=y,_=1;_<n;_++){b=s.run(b,s.ipad2);for(var w=0;w<m;w++)y[w]^=b[w]}y.copy(u,p),p+=m}return u}},{"./default-encoding":462,"./precondition":463,"./to-buffer":465,"create-hash/md5":332,ripemd160:493,"safe-buffer":494,"sha.js":499}],465:[function(e,t,n){"use strict";var r=e("safe-buffer").Buffer;t.exports=function(e,t,n){if(r.isBuffer(e))return e;if("string"==typeof e)return r.from(e,t);if(ArrayBuffer.isView(e))return r.from(e.buffer);throw new TypeError(n+" must be a string, a Buffer, a typed array or a DataView")}},{"safe-buffer":494}],466:[function(e,t,n){(function(e){"use strict";void 0===e||!e.version||0===e.version.indexOf("v0.")||0===e.version.indexOf("v1.")&&0!==e.version.indexOf("v1.8.")?t.exports={nextTick:function(t,n,r,i){if("function"!=typeof t)throw new TypeError('"callback" argument must be a function');var s,o,a=arguments.length;switch(a){case 0:case 1:return e.nextTick(t);case 2:return e.nextTick(function(){t.call(null,n)});case 3:return e.nextTick(function(){t.call(null,n,r)});case 4:return e.nextTick(function(){t.call(null,n,r,i)});default:for(s=new Array(a-1),o=0;o<s.length;)s[o++]=arguments[o];return e.nextTick(function(){t.apply(null,s)})}}}:t.exports=e}).call(this,e("_process"))},{_process:467}],467:[function(e,t,n){"use strict";var r,i,s=t.exports={};function o(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function c(e){if(r===setTimeout)return setTimeout(e,0);if((r===o||!r)&&setTimeout)return r=setTimeout,setTimeout(e,0);try{return r(e,0)}catch(t){try{return r.call(null,e,0)}catch(t){return r.call(this,e,0)}}}!function(){try{r="function"==typeof setTimeout?setTimeout:o}catch(e){r=o}try{i="function"==typeof clearTimeout?clearTimeout:a}catch(e){i=a}}();var l,u=[],h=!1,d=-1;function f(){h&&l&&(h=!1,l.length?u=l.concat(u):d=-1,u.length&&p())}function p(){if(!h){var e=c(f);h=!0;for(var t=u.length;t;){for(l=u,u=[];++d<t;)l&&l[d].run();d=-1,t=u.length}l=null,h=!1,function(e){if(i===clearTimeout)return clearTimeout(e);if((i===a||!i)&&clearTimeout)return i=clearTimeout,clearTimeout(e);try{i(e)}catch(t){try{return i.call(null,e)}catch(t){return i.call(this,e)}}}(e)}}function m(e,t){this.fun=e,this.array=t}function g(){}s.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];u.push(new m(e,t)),1!==u.length||h||c(p)},m.prototype.run=function(){this.fun.apply(null,this.array)},s.title="browser",s.browser=!0,s.env={},s.argv=[],s.version="",s.versions={},s.on=g,s.addListener=g,s.once=g,s.off=g,s.removeListener=g,s.removeAllListeners=g,s.emit=g,s.prependListener=g,s.prependOnceListener=g,s.listeners=function(e){return[]},s.binding=function(e){throw new Error("process.binding is not supported")},s.cwd=function(){return"/"},s.chdir=function(e){throw new Error("process.chdir is not supported")},s.umask=function(){return 0}},{}],468:[function(e,t,n){"use strict";n.publicEncrypt=e("./publicEncrypt"),n.privateDecrypt=e("./privateDecrypt"),n.privateEncrypt=function(e,t){return n.publicEncrypt(e,t,!0)},n.publicDecrypt=function(e,t){return n.privateDecrypt(e,t,!0)}},{"./privateDecrypt":471,"./publicEncrypt":472}],469:[function(e,t,n){"use strict";var r=e("create-hash"),i=e("safe-buffer").Buffer;function s(e){var t=i.allocUnsafe(4);return t.writeUInt32BE(e,0),t}t.exports=function(e,t){for(var n,o=i.alloc(0),a=0;o.length<t;)n=s(a++),o=i.concat([o,r("sha1").update(e).update(n).digest()]);return o.slice(0,t)}},{"create-hash":331,"safe-buffer":494}],470:[function(e,t,n){arguments[4][181][0].apply(n,arguments)},{buffer:185,dup:181}],471:[function(e,t,n){"use strict";var r=e("parse-asn1"),i=e("./mgf"),s=e("./xor"),o=e("bn.js"),a=e("browserify-rsa"),c=e("create-hash"),l=e("./withPublic"),u=e("safe-buffer").Buffer;t.exports=function(e,t,n){var h;h=e.padding?e.padding:n?1:4;var d,f=r(e),p=f.modulus.byteLength();if(t.length>p||new o(t).cmp(f.modulus)>=0)throw new Error("decryption error");d=n?l(new o(t),f):a(t,f);var m=u.alloc(p-d.length);if(d=u.concat([m,d],p),4===h)return function(e,t){var n=e.modulus.byteLength(),r=c("sha1").update(u.alloc(0)).digest(),o=r.length;if(0!==t[0])throw new Error("decryption error");var a=t.slice(1,o+1),l=t.slice(o+1),h=s(a,i(l,o)),d=s(l,i(h,n-o-1));if(function(e,t){e=u.from(e),t=u.from(t);var n=0,r=e.length;e.length!==t.length&&(n++,r=Math.min(e.length,t.length));for(var i=-1;++i<r;)n+=e[i]^t[i];return n}(r,d.slice(0,o)))throw new Error("decryption error");for(var f=o;0===d[f];)f++;if(1!==d[f++])throw new Error("decryption error");return d.slice(f)}(f,d);if(1===h)return function(e,t,n){for(var r=t.slice(0,2),i=2,s=0;0!==t[i++];)if(i>=t.length){s++;break}var o=t.slice(2,i-1);if(("0002"!==r.toString("hex")&&!n||"0001"!==r.toString("hex")&&n)&&s++,o.length<8&&s++,s)throw new Error("decryption error");return t.slice(i)}(0,d,n);if(3===h)return d;throw new Error("unknown padding")}},{"./mgf":469,"./withPublic":473,"./xor":474,"bn.js":470,"browserify-rsa":206,"create-hash":331,"parse-asn1":459,"safe-buffer":494}],472:[function(e,t,n){"use strict";var r=e("parse-asn1"),i=e("randombytes"),s=e("create-hash"),o=e("./mgf"),a=e("./xor"),c=e("bn.js"),l=e("./withPublic"),u=e("browserify-rsa"),h=e("safe-buffer").Buffer;t.exports=function(e,t,n){var d;d=e.padding?e.padding:n?1:4;var f,p=r(e);if(4===d)f=function(e,t){var n=e.modulus.byteLength(),r=t.length,l=s("sha1").update(h.alloc(0)).digest(),u=l.length,d=2*u;if(r>n-d-2)throw new Error("message too long");var f=h.alloc(n-r-d-2),p=n-u-1,m=i(u),g=a(h.concat([l,f,h.alloc(1,1),t],p),o(m,p)),v=a(m,o(g,u));return new c(h.concat([h.alloc(1),v,g],n))}(p,t);else if(1===d)f=function(e,t,n){var r,s=t.length,o=e.modulus.byteLength();if(s>o-11)throw new Error("message too long");return r=n?h.alloc(o-s-3,255):function(e){for(var t,n=h.allocUnsafe(e),r=0,s=i(2*e),o=0;r<e;)o===s.length&&(s=i(2*e),o=0),(t=s[o++])&&(n[r++]=t);return n}(o-s-3),new c(h.concat([h.from([0,n?1:2]),r,h.alloc(1),t],o))}(p,t,n);else{if(3!==d)throw new Error("unknown padding");if((f=new c(t)).cmp(p.modulus)>=0)throw new Error("data too long for modulus")}return n?u(f,p):l(f,p)}},{"./mgf":469,"./withPublic":473,"./xor":474,"bn.js":470,"browserify-rsa":206,"create-hash":331,"parse-asn1":459,randombytes:475,"safe-buffer":494}],473:[function(e,t,n){"use strict";var r=e("bn.js"),i=e("safe-buffer").Buffer;t.exports=function(e,t){return i.from(e.toRed(r.mont(t.modulus)).redPow(new r(t.publicExponent)).fromRed().toArray())}},{"bn.js":470,"safe-buffer":494}],474:[function(e,t,n){"use strict";t.exports=function(e,t){for(var n=e.length,r=-1;++r<n;)e[r]^=t[r];return e}},{}],475:[function(e,t,n){(function(n,r){"use strict";var i=e("safe-buffer").Buffer,s=r.crypto||r.msCrypto;s&&s.getRandomValues?t.exports=function(e,t){if(e>4294967295)throw new RangeError("requested too many random bytes");var r=i.allocUnsafe(e);if(e>0)if(e>65536)for(var o=0;o<e;o+=65536)s.getRandomValues(r.slice(o,o+65536));else s.getRandomValues(r);return"function"==typeof t?n.nextTick(function(){t(null,r)}):r}:t.exports=function(){throw new Error("Secure random number generation is not supported by this browser.\nUse Chrome, Firefox or Internet Explorer 11")}}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{_process:467,"safe-buffer":494}],476:[function(e,t,n){(function(t,r){"use strict";function i(){throw new Error("secure random number generation not supported by this browser\nuse chrome, FireFox or Internet Explorer 11")}var s=e("safe-buffer"),o=e("randombytes"),a=s.Buffer,c=s.kMaxLength,l=r.crypto||r.msCrypto,u=Math.pow(2,32)-1;function h(e,t){if("number"!=typeof e||e!=e)throw new TypeError("offset must be a number");if(e>u||e<0)throw new TypeError("offset must be a uint32");if(e>c||e>t)throw new RangeError("offset out of range")}function d(e,t,n){if("number"!=typeof e||e!=e)throw new TypeError("size must be a number");if(e>u||e<0)throw new TypeError("size must be a uint32");if(e+t>n||e>c)throw new RangeError("buffer too small")}function f(e,n,r,i){if(t.browser){var s=e.buffer,a=new Uint8Array(s,n,r);return l.getRandomValues(a),i?void t.nextTick(function(){i(null,e)}):e}if(!i)return o(r).copy(e,n),e;o(r,function(t,r){if(t)return i(t);r.copy(e,n),i(null,e)})}l&&l.getRandomValues||!t.browser?(n.randomFill=function(e,t,n,i){if(!(a.isBuffer(e)||e instanceof r.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');if("function"==typeof t)i=t,t=0,n=e.length;else if("function"==typeof n)i=n,n=e.length-t;else if("function"!=typeof i)throw new TypeError('"cb" argument must be a function');return h(t,e.length),d(n,t,e.length),f(e,t,n,i)},n.randomFillSync=function(e,t,n){if(void 0===t&&(t=0),!(a.isBuffer(e)||e instanceof r.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');return h(t,e.length),void 0===n&&(n=e.length-t),d(n,t,e.length),f(e,t,n)}):(n.randomFill=i,n.randomFillSync=i)}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{_process:467,randombytes:475,"safe-buffer":494}],477:[function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var i={};function s(e,t,n){n||(n=Error);var r=function(e){var n,r;function i(n,r,i){return e.call(this,function(e,n,r){return"string"==typeof t?t:t(e,n,r)}(n,r,i))||this}return r=e,(n=i).prototype=Object.create(r.prototype),n.prototype.constructor=n,n.__proto__=r,i}(n);r.prototype.name=n.name,r.prototype.code=e,i[e]=r}function o(e,t){if(Array.isArray(e)){var n=e.length;return e=e.map(function(e){return String(e)}),n>2?"one of ".concat(t," ").concat(e.slice(0,n-1).join(", "),", or ")+e[n-1]:2===n?"one of ".concat(t," ").concat(e[0]," or ").concat(e[1]):"of ".concat(t," ").concat(e[0])}return"of ".concat(t," ").concat(String(e))}s("ERR_INVALID_OPT_VALUE",function(e,t){return'The value "'+t+'" is invalid for option "'+e+'"'},TypeError),s("ERR_INVALID_ARG_TYPE",function(e,t,n){var i,s,a,c;if("string"==typeof t&&(s="not ",t.substr(!a||a<0?0:+a,s.length)===s)?(i="must not be",t=t.replace(/^not /,"")):i="must be",function(e,t,n){return(void 0===n||n>e.length)&&(n=e.length),e.substring(n-t.length,n)===t}(e," argument"))c="The ".concat(e," ").concat(i," ").concat(o(t,"type"));else{var l=function(e,t,n){return"number"!=typeof n&&(n=0),!(n+t.length>e.length)&&-1!==e.indexOf(t,n)}(e,".")?"property":"argument";c='The "'.concat(e,'" ').concat(l," ").concat(i," ").concat(o(t,"type"))}return c+". Received type ".concat(r(n))},TypeError),s("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),s("ERR_METHOD_NOT_IMPLEMENTED",function(e){return"The "+e+" method is not implemented"}),s("ERR_STREAM_PREMATURE_CLOSE","Premature close"),s("ERR_STREAM_DESTROYED",function(e){return"Cannot call "+e+" after a stream was destroyed"}),s("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),s("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),s("ERR_STREAM_WRITE_AFTER_END","write after end"),s("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),s("ERR_UNKNOWN_ENCODING",function(e){return"Unknown encoding: "+e},TypeError),s("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),t.exports.codes=i},{}],478:[function(e,t,n){(function(n){"use strict";var r=Object.keys||function(e){var t=[];for(var n in e)t.push(n);return t};t.exports=l;var i=e("./_stream_readable"),s=e("./_stream_writable");e("inherits")(l,i);for(var o=r(s.prototype),a=0;a<o.length;a++){var c=o[a];l.prototype[c]||(l.prototype[c]=s.prototype[c])}function l(e){if(!(this instanceof l))return new l(e);i.call(this,e),s.call(this,e),this.allowHalfOpen=!0,e&&(!1===e.readable&&(this.readable=!1),!1===e.writable&&(this.writable=!1),!1===e.allowHalfOpen&&(this.allowHalfOpen=!1,this.once("end",u)))}function u(){this._writableState.ended||n.nextTick(h,this)}function h(e){e.end()}Object.defineProperty(l.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(l.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(l.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(l.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&this._readableState.destroyed&&this._writableState.destroyed},set:function(e){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=e,this._writableState.destroyed=e)}})}).call(this,e("_process"))},{"./_stream_readable":480,"./_stream_writable":482,_process:467,inherits:387}],479:[function(e,t,n){"use strict";t.exports=i;var r=e("./_stream_transform");function i(e){if(!(this instanceof i))return new i(e);r.call(this,e)}e("inherits")(i,r),i.prototype._transform=function(e,t,n){n(null,e)}},{"./_stream_transform":481,inherits:387}],480:[function(e,t,n){(function(n,r){"use strict";var i;t.exports=k,k.ReadableState=O,e("events").EventEmitter;var s,o=function(e,t){return e.listeners(t).length},a=e("./internal/streams/stream"),c=e("buffer").Buffer,l=r.Uint8Array||function(){},u=e("util");s=u&&u.debuglog?u.debuglog("stream"):function(){};var h,d,f,p=e("./internal/streams/buffer_list"),m=e("./internal/streams/destroy"),g=e("./internal/streams/state").getHighWaterMark,v=e("../errors").codes,y=v.ERR_INVALID_ARG_TYPE,b=v.ERR_STREAM_PUSH_AFTER_EOF,_=v.ERR_METHOD_NOT_IMPLEMENTED,w=v.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;e("inherits")(k,a);var S=m.errorOrDestroy,x=["error","close","destroy","pause","resume"];function O(t,n,r){i=i||e("./_stream_duplex"),t=t||{},"boolean"!=typeof r&&(r=n instanceof i),this.objectMode=!!t.objectMode,r&&(this.objectMode=this.objectMode||!!t.readableObjectMode),this.highWaterMark=g(this,t,"readableHighWaterMark",r),this.buffer=new p,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=!1!==t.emitClose,this.autoDestroy=!!t.autoDestroy,this.destroyed=!1,this.defaultEncoding=t.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,t.encoding&&(h||(h=e("string_decoder/").StringDecoder),this.decoder=new h(t.encoding),this.encoding=t.encoding)}function k(t){if(i=i||e("./_stream_duplex"),!(this instanceof k))return new k(t);var n=this instanceof i;this._readableState=new O(t,this,n),this.readable=!0,t&&("function"==typeof t.read&&(this._read=t.read),"function"==typeof t.destroy&&(this._destroy=t.destroy)),a.call(this)}function C(e,t,n,r,i){s("readableAddChunk",t);var o,a=e._readableState;if(null===t)a.reading=!1,function(e,t){if(s("onEofChunk"),!t.ended){if(t.decoder){var n=t.decoder.end();n&&n.length&&(t.buffer.push(n),t.length+=t.objectMode?1:n.length)}t.ended=!0,t.sync?T(e):(t.needReadable=!1,t.emittedReadable||(t.emittedReadable=!0,j(e)))}}(e,a);else if(i||(o=function(e,t){var n,r;return r=t,c.isBuffer(r)||r instanceof l||"string"==typeof t||void 0===t||e.objectMode||(n=new y("chunk",["string","Buffer","Uint8Array"],t)),n}(a,t)),o)S(e,o);else if(a.objectMode||t&&t.length>0)if("string"==typeof t||a.objectMode||Object.getPrototypeOf(t)===c.prototype||(t=function(e){return c.from(e)}(t)),r)a.endEmitted?S(e,new w):M(e,a,t,!0);else if(a.ended)S(e,new b);else{if(a.destroyed)return!1;a.reading=!1,a.decoder&&!n?(t=a.decoder.write(t),a.objectMode||0!==t.length?M(e,a,t,!1):D(e,a)):M(e,a,t,!1)}else r||(a.reading=!1,D(e,a));return!a.ended&&(a.length<a.highWaterMark||0===a.length)}function M(e,t,n,r){t.flowing&&0===t.length&&!t.sync?(t.awaitDrain=0,e.emit("data",n)):(t.length+=t.objectMode?1:n.length,r?t.buffer.unshift(n):t.buffer.push(n),t.needReadable&&T(e)),D(e,t)}function E(e,t){return e<=0||0===t.length&&t.ended?0:t.objectMode?1:e!=e?t.flowing&&t.length?t.buffer.head.data.length:t.length:(e>t.highWaterMark&&(t.highWaterMark=function(e){return e>=1073741824?e=1073741824:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function T(e){var t=e._readableState;s("emitReadable",t.needReadable,t.emittedReadable),t.needReadable=!1,t.emittedReadable||(s("emitReadable",t.flowing),t.emittedReadable=!0,n.nextTick(j,e))}function j(e){var t=e._readableState;s("emitReadable_",t.destroyed,t.length,t.ended),t.destroyed||!t.length&&!t.ended||(e.emit("readable"),t.emittedReadable=!1),t.needReadable=!t.flowing&&!t.ended&&t.length<=t.highWaterMark,I(e)}function D(e,t){t.readingMore||(t.readingMore=!0,n.nextTick(A,e,t))}function A(e,t){for(;!t.reading&&!t.ended&&(t.length<t.highWaterMark||t.flowing&&0===t.length);){var n=t.length;if(s("maybeReadMore read 0"),e.read(0),n===t.length)break}t.readingMore=!1}function L(e){var t=e._readableState;t.readableListening=e.listenerCount("readable")>0,t.resumeScheduled&&!t.paused?t.flowing=!0:e.listenerCount("data")>0&&e.resume()}function z(e){s("readable nexttick read 0"),e.read(0)}function P(e,t){s("resume",t.reading),t.reading||e.read(0),t.resumeScheduled=!1,e.emit("resume"),I(e),t.flowing&&!t.reading&&e.read(0)}function I(e){var t=e._readableState;for(s("flow",t.flowing);t.flowing&&null!==e.read(););}function R(e,t){return 0===t.length?null:(t.objectMode?n=t.buffer.shift():!e||e>=t.length?(n=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.first():t.buffer.concat(t.length),t.buffer.clear()):n=t.buffer.consume(e,t.decoder),n);var n}function N(e){var t=e._readableState;s("endReadable",t.endEmitted),t.endEmitted||(t.ended=!0,n.nextTick(H,t,e))}function H(e,t){if(s("endReadableNT",e.endEmitted,e.length),!e.endEmitted&&0===e.length&&(e.endEmitted=!0,t.readable=!1,t.emit("end"),e.autoDestroy)){var n=t._writableState;(!n||n.autoDestroy&&n.finished)&&t.destroy()}}function F(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1}Object.defineProperty(k.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(e){this._readableState&&(this._readableState.destroyed=e)}}),k.prototype.destroy=m.destroy,k.prototype._undestroy=m.undestroy,k.prototype._destroy=function(e,t){t(e)},k.prototype.push=function(e,t){var n,r=this._readableState;return r.objectMode?n=!0:"string"==typeof e&&((t=t||r.defaultEncoding)!==r.encoding&&(e=c.from(e,t),t=""),n=!0),C(this,e,t,!1,n)},k.prototype.unshift=function(e){return C(this,e,null,!0,!1)},k.prototype.isPaused=function(){return!1===this._readableState.flowing},k.prototype.setEncoding=function(t){h||(h=e("string_decoder/").StringDecoder);var n=new h(t);this._readableState.decoder=n,this._readableState.encoding=this._readableState.decoder.encoding;for(var r=this._readableState.buffer.head,i="";null!==r;)i+=n.write(r.data),r=r.next;return this._readableState.buffer.clear(),""!==i&&this._readableState.buffer.push(i),this._readableState.length=i.length,this},k.prototype.read=function(e){s("read",e),e=parseInt(e,10);var t=this._readableState,n=e;if(0!==e&&(t.emittedReadable=!1),0===e&&t.needReadable&&((0!==t.highWaterMark?t.length>=t.highWaterMark:t.length>0)||t.ended))return s("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?N(this):T(this),null;if(0===(e=E(e,t))&&t.ended)return 0===t.length&&N(this),null;var r,i=t.needReadable;return s("need readable",i),(0===t.length||t.length-e<t.highWaterMark)&&s("length less than watermark",i=!0),t.ended||t.reading?s("reading or ended",i=!1):i&&(s("do read"),t.reading=!0,t.sync=!0,0===t.length&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1,t.reading||(e=E(n,t))),null===(r=e>0?R(e,t):null)?(t.needReadable=t.length<=t.highWaterMark,e=0):(t.length-=e,t.awaitDrain=0),0===t.length&&(t.ended||(t.needReadable=!0),n!==e&&t.ended&&N(this)),null!==r&&this.emit("data",r),r},k.prototype._read=function(e){S(this,new _("_read()"))},k.prototype.pipe=function(e,t){var r=this,i=this._readableState;switch(i.pipesCount){case 0:i.pipes=e;break;case 1:i.pipes=[i.pipes,e];break;default:i.pipes.push(e)}i.pipesCount+=1,s("pipe count=%d opts=%j",i.pipesCount,t);var a=t&&!1===t.end||e===n.stdout||e===n.stderr?g:l;function c(t,n){s("onunpipe"),t===r&&n&&!1===n.hasUnpiped&&(n.hasUnpiped=!0,s("cleanup"),e.removeListener("close",p),e.removeListener("finish",m),e.removeListener("drain",u),e.removeListener("error",f),e.removeListener("unpipe",c),r.removeListener("end",l),r.removeListener("end",g),r.removeListener("data",d),h=!0,!i.awaitDrain||e._writableState&&!e._writableState.needDrain||u())}function l(){s("onend"),e.end()}i.endEmitted?n.nextTick(a):r.once("end",a),e.on("unpipe",c);var u=function(e){return function(){var t=e._readableState;s("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&o(e,"data")&&(t.flowing=!0,I(e))}}(r);e.on("drain",u);var h=!1;function d(t){s("ondata");var n=e.write(t);s("dest.write",n),!1===n&&((1===i.pipesCount&&i.pipes===e||i.pipesCount>1&&-1!==F(i.pipes,e))&&!h&&(s("false write response, pause",i.awaitDrain),i.awaitDrain++),r.pause())}function f(t){s("onerror",t),g(),e.removeListener("error",f),0===o(e,"error")&&S(e,t)}function p(){e.removeListener("finish",m),g()}function m(){s("onfinish"),e.removeListener("close",p),g()}function g(){s("unpipe"),r.unpipe(e)}return r.on("data",d),function(e,t,n){if("function"==typeof e.prependListener)return e.prependListener(t,n);e._events&&e._events[t]?Array.isArray(e._events[t])?e._events[t].unshift(n):e._events[t]=[n,e._events[t]]:e.on(t,n)}(e,"error",f),e.once("close",p),e.once("finish",m),e.emit("pipe",r),i.flowing||(s("pipe resume"),r.resume()),e},k.prototype.unpipe=function(e){var t=this._readableState,n={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,n)),this;if(!e){var r=t.pipes,i=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var s=0;s<i;s++)r[s].emit("unpipe",this,{hasUnpiped:!1});return this}var o=F(t.pipes,e);return-1===o||(t.pipes.splice(o,1),t.pipesCount-=1,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit("unpipe",this,n)),this},k.prototype.on=function(e,t){var r=a.prototype.on.call(this,e,t),i=this._readableState;return"data"===e?(i.readableListening=this.listenerCount("readable")>0,!1!==i.flowing&&this.resume()):"readable"===e&&(i.endEmitted||i.readableListening||(i.readableListening=i.needReadable=!0,i.flowing=!1,i.emittedReadable=!1,s("on readable",i.length,i.reading),i.length?T(this):i.reading||n.nextTick(z,this))),r},k.prototype.addListener=k.prototype.on,k.prototype.removeListener=function(e,t){var r=a.prototype.removeListener.call(this,e,t);return"readable"===e&&n.nextTick(L,this),r},k.prototype.removeAllListeners=function(e){var t=a.prototype.removeAllListeners.apply(this,arguments);return"readable"!==e&&void 0!==e||n.nextTick(L,this),t},k.prototype.resume=function(){var e=this._readableState;return e.flowing||(s("resume"),e.flowing=!e.readableListening,function(e,t){t.resumeScheduled||(t.resumeScheduled=!0,n.nextTick(P,e,t))}(this,e)),e.paused=!1,this},k.prototype.pause=function(){return s("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(s("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},k.prototype.wrap=function(e){var t=this,n=this._readableState,r=!1;for(var i in e.on("end",function(){if(s("wrapped end"),n.decoder&&!n.ended){var e=n.decoder.end();e&&e.length&&t.push(e)}t.push(null)}),e.on("data",function(i){s("wrapped data"),n.decoder&&(i=n.decoder.write(i)),n.objectMode&&null==i||(n.objectMode||i&&i.length)&&(t.push(i)||(r=!0,e.pause()))}),e)void 0===this[i]&&"function"==typeof e[i]&&(this[i]=function(t){return function(){return e[t].apply(e,arguments)}}(i));for(var o=0;o<x.length;o++)e.on(x[o],this.emit.bind(this,x[o]));return this._read=function(t){s("wrapped _read",t),r&&(r=!1,e.resume())},this},"function"==typeof Symbol&&(k.prototype[Symbol.asyncIterator]=function(){return void 0===d&&(d=e("./internal/streams/async_iterator")),d(this)}),Object.defineProperty(k.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(k.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(k.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(e){this._readableState&&(this._readableState.flowing=e)}}),k._fromList=R,Object.defineProperty(k.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}}),"function"==typeof Symbol&&(k.from=function(t,n){return void 0===f&&(f=e("./internal/streams/from")),f(k,t,n)})}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"../errors":477,"./_stream_duplex":478,"./internal/streams/async_iterator":483,"./internal/streams/buffer_list":484,"./internal/streams/destroy":485,"./internal/streams/from":487,"./internal/streams/state":489,"./internal/streams/stream":490,_process:467,buffer:216,events:367,inherits:387,"string_decoder/":520,util:185}],481:[function(e,t,n){"use strict";t.exports=u;var r=e("../errors").codes,i=r.ERR_METHOD_NOT_IMPLEMENTED,s=r.ERR_MULTIPLE_CALLBACK,o=r.ERR_TRANSFORM_ALREADY_TRANSFORMING,a=r.ERR_TRANSFORM_WITH_LENGTH_0,c=e("./_stream_duplex");function l(e,t){var n=this._transformState;n.transforming=!1;var r=n.writecb;if(null===r)return this.emit("error",new s);n.writechunk=null,n.writecb=null,null!=t&&this.push(t),r(e);var i=this._readableState;i.reading=!1,(i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}function u(e){if(!(this instanceof u))return new u(e);c.call(this,e),this._transformState={afterTransform:l.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,e&&("function"==typeof e.transform&&(this._transform=e.transform),"function"==typeof e.flush&&(this._flush=e.flush)),this.on("prefinish",h)}function h(){var e=this;"function"!=typeof this._flush||this._readableState.destroyed?d(this,null,null):this._flush(function(t,n){d(e,t,n)})}function d(e,t,n){if(t)return e.emit("error",t);if(null!=n&&e.push(n),e._writableState.length)throw new a;if(e._transformState.transforming)throw new o;return e.push(null)}e("inherits")(u,c),u.prototype.push=function(e,t){return this._transformState.needTransform=!1,c.prototype.push.call(this,e,t)},u.prototype._transform=function(e,t,n){n(new i("_transform()"))},u.prototype._write=function(e,t,n){var r=this._transformState;if(r.writecb=n,r.writechunk=e,r.writeencoding=t,!r.transforming){var i=this._readableState;(r.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}},u.prototype._read=function(e){var t=this._transformState;null===t.writechunk||t.transforming?t.needTransform=!0:(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform))},u.prototype._destroy=function(e,t){c.prototype._destroy.call(this,e,function(e){t(e)})}},{"../errors":477,"./_stream_duplex":478,inherits:387}],482:[function(e,t,n){(function(n,r){"use strict";function i(e){var t=this;this.next=null,this.entry=null,this.finish=function(){!function(e,t,n){var r=e.entry;for(e.entry=null;r;){var i=r.callback;t.pendingcb--,i(n),r=r.next}t.corkedRequestsFree.next=e}(t,e)}}var s;t.exports=k,k.WritableState=O;var o,a={deprecate:e("util-deprecate")},c=e("./internal/streams/stream"),l=e("buffer").Buffer,u=r.Uint8Array||function(){},h=e("./internal/streams/destroy"),d=e("./internal/streams/state").getHighWaterMark,f=e("../errors").codes,p=f.ERR_INVALID_ARG_TYPE,m=f.ERR_METHOD_NOT_IMPLEMENTED,g=f.ERR_MULTIPLE_CALLBACK,v=f.ERR_STREAM_CANNOT_PIPE,y=f.ERR_STREAM_DESTROYED,b=f.ERR_STREAM_NULL_VALUES,_=f.ERR_STREAM_WRITE_AFTER_END,w=f.ERR_UNKNOWN_ENCODING,S=h.errorOrDestroy;function x(){}function O(t,r,o){s=s||e("./_stream_duplex"),t=t||{},"boolean"!=typeof o&&(o=r instanceof s),this.objectMode=!!t.objectMode,o&&(this.objectMode=this.objectMode||!!t.writableObjectMode),this.highWaterMark=d(this,t,"writableHighWaterMark",o),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var a=!1===t.decodeStrings;this.decodeStrings=!a,this.defaultEncoding=t.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){!function(e,t){var r=e._writableState,i=r.sync,s=r.writecb;if("function"!=typeof s)throw new g;if(function(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}(r),t)!function(e,t,r,i,s){--t.pendingcb,r?(n.nextTick(s,i),n.nextTick(D,e,t),e._writableState.errorEmitted=!0,S(e,i)):(s(i),e._writableState.errorEmitted=!0,S(e,i),D(e,t))}(e,r,i,t,s);else{var o=T(r)||e.destroyed;o||r.corked||r.bufferProcessing||!r.bufferedRequest||E(e,r),i?n.nextTick(M,e,r,o,s):M(e,r,o,s)}}(r,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!1!==t.emitClose,this.autoDestroy=!!t.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new i(this)}function k(t){var n=this instanceof(s=s||e("./_stream_duplex"));if(!n&&!o.call(k,this))return new k(t);this._writableState=new O(t,this,n),this.writable=!0,t&&("function"==typeof t.write&&(this._write=t.write),"function"==typeof t.writev&&(this._writev=t.writev),"function"==typeof t.destroy&&(this._destroy=t.destroy),"function"==typeof t.final&&(this._final=t.final)),c.call(this)}function C(e,t,n,r,i,s,o){t.writelen=r,t.writecb=o,t.writing=!0,t.sync=!0,t.destroyed?t.onwrite(new y("write")):n?e._writev(i,t.onwrite):e._write(i,s,t.onwrite),t.sync=!1}function M(e,t,n,r){n||function(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}(e,t),t.pendingcb--,r(),D(e,t)}function E(e,t){t.bufferProcessing=!0;var n=t.bufferedRequest;if(e._writev&&n&&n.next){var r=t.bufferedRequestCount,s=new Array(r),o=t.corkedRequestsFree;o.entry=n;for(var a=0,c=!0;n;)s[a]=n,n.isBuf||(c=!1),n=n.next,a+=1;s.allBuffers=c,C(e,t,!0,t.length,s,"",o.finish),t.pendingcb++,t.lastBufferedRequest=null,o.next?(t.corkedRequestsFree=o.next,o.next=null):t.corkedRequestsFree=new i(t),t.bufferedRequestCount=0}else{for(;n;){var l=n.chunk,u=n.encoding,h=n.callback;if(C(e,t,!1,t.objectMode?1:l.length,l,u,h),n=n.next,t.bufferedRequestCount--,t.writing)break}null===n&&(t.lastBufferedRequest=null)}t.bufferedRequest=n,t.bufferProcessing=!1}function T(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function j(e,t){e._final(function(n){t.pendingcb--,n&&S(e,n),t.prefinished=!0,e.emit("prefinish"),D(e,t)})}function D(e,t){var r=T(t);if(r&&(function(e,t){t.prefinished||t.finalCalled||("function"!=typeof e._final||t.destroyed?(t.prefinished=!0,e.emit("prefinish")):(t.pendingcb++,t.finalCalled=!0,n.nextTick(j,e,t)))}(e,t),0===t.pendingcb&&(t.finished=!0,e.emit("finish"),t.autoDestroy))){var i=e._readableState;(!i||i.autoDestroy&&i.endEmitted)&&e.destroy()}return r}e("inherits")(k,c),O.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(O.prototype,"buffer",{get:a.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(e){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(o=Function.prototype[Symbol.hasInstance],Object.defineProperty(k,Symbol.hasInstance,{value:function(e){return!!o.call(this,e)||this===k&&e&&e._writableState instanceof O}})):o=function(e){return e instanceof this},k.prototype.pipe=function(){S(this,new v)},k.prototype.write=function(e,t,r){var i,s=this._writableState,o=!1,a=!s.objectMode&&(i=e,l.isBuffer(i)||i instanceof u);return a&&!l.isBuffer(e)&&(e=function(e){return l.from(e)}(e)),"function"==typeof t&&(r=t,t=null),a?t="buffer":t||(t=s.defaultEncoding),"function"!=typeof r&&(r=x),s.ending?function(e,t){var r=new _;S(e,r),n.nextTick(t,r)}(this,r):(a||function(e,t,r,i){var s;return null===r?s=new b:"string"==typeof r||t.objectMode||(s=new p("chunk",["string","Buffer"],r)),!s||(S(e,s),n.nextTick(i,s),!1)}(this,s,e,r))&&(s.pendingcb++,o=function(e,t,n,r,i,s){if(!n){var o=function(e,t,n){return e.objectMode||!1===e.decodeStrings||"string"!=typeof t||(t=l.from(t,n)),t}(t,r,i);r!==o&&(n=!0,i="buffer",r=o)}var a=t.objectMode?1:r.length;t.length+=a;var c=t.length<t.highWaterMark;if(c||(t.needDrain=!0),t.writing||t.corked){var u=t.lastBufferedRequest;t.lastBufferedRequest={chunk:r,encoding:i,isBuf:n,callback:s,next:null},u?u.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else C(e,t,!1,a,r,i,s);return c}(this,s,a,e,t,r)),o},k.prototype.cork=function(){this._writableState.corked++},k.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,e.writing||e.corked||e.bufferProcessing||!e.bufferedRequest||E(this,e))},k.prototype.setDefaultEncoding=function(e){if("string"==typeof e&&(e=e.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((e+"").toLowerCase())>-1))throw new w(e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(k.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(k.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),k.prototype._write=function(e,t,n){n(new m("_write()"))},k.prototype._writev=null,k.prototype.end=function(e,t,r){var i=this._writableState;return"function"==typeof e?(r=e,e=null,t=null):"function"==typeof t&&(r=t,t=null),null!=e&&this.write(e,t),i.corked&&(i.corked=1,this.uncork()),i.ending||function(e,t,r){t.ending=!0,D(e,t),r&&(t.finished?n.nextTick(r):e.once("finish",r)),t.ended=!0,e.writable=!1}(this,i,r),this},Object.defineProperty(k.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(k.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),k.prototype.destroy=h.destroy,k.prototype._undestroy=h.undestroy,k.prototype._destroy=function(e,t){t(e)}}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"../errors":477,"./_stream_duplex":478,"./internal/streams/destroy":485,"./internal/streams/state":489,"./internal/streams/stream":490,_process:467,buffer:216,inherits:387,"util-deprecate":522}],483:[function(e,t,n){(function(n){"use strict";var r;function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var s=e("./end-of-stream"),o=Symbol("lastResolve"),a=Symbol("lastReject"),c=Symbol("error"),l=Symbol("ended"),u=Symbol("lastPromise"),h=Symbol("handlePromise"),d=Symbol("stream");function f(e,t){return{value:e,done:t}}function p(e){var t=e[o];if(null!==t){var n=e[d].read();null!==n&&(e[u]=null,e[o]=null,e[a]=null,t(f(n,!1)))}}function m(e){n.nextTick(p,e)}var g=Object.getPrototypeOf(function(){}),v=Object.setPrototypeOf((i(r={get stream(){return this[d]},next:function(){var e=this,t=this[c];if(null!==t)return Promise.reject(t);if(this[l])return Promise.resolve(f(void 0,!0));if(this[d].destroyed)return new Promise(function(t,r){n.nextTick(function(){e[c]?r(e[c]):t(f(void 0,!0))})});var r,i=this[u];if(i)r=new Promise(function(e,t){return function(n,r){e.then(function(){t[l]?n(f(void 0,!0)):t[h](n,r)},r)}}(i,this));else{var s=this[d].read();if(null!==s)return Promise.resolve(f(s,!1));r=new Promise(this[h])}return this[u]=r,r}},Symbol.asyncIterator,function(){return this}),i(r,"return",function(){var e=this;return new Promise(function(t,n){e[d].destroy(null,function(e){e?n(e):t(f(void 0,!0))})})}),r),g);t.exports=function(e){var t,n=Object.create(v,(i(t={},d,{value:e,writable:!0}),i(t,o,{value:null,writable:!0}),i(t,a,{value:null,writable:!0}),i(t,c,{value:null,writable:!0}),i(t,l,{value:e._readableState.endEmitted,writable:!0}),i(t,h,{value:function(e,t){var r=n[d].read();r?(n[u]=null,n[o]=null,n[a]=null,e(f(r,!1))):(n[o]=e,n[a]=t)},writable:!0}),t));return n[u]=null,s(e,function(e){if(e&&"ERR_STREAM_PREMATURE_CLOSE"!==e.code){var t=n[a];return null!==t&&(n[u]=null,n[o]=null,n[a]=null,t(e)),void(n[c]=e)}var r=n[o];null!==r&&(n[u]=null,n[o]=null,n[a]=null,r(f(void 0,!0))),n[l]=!0}),e.on("readable",m.bind(null,n)),n}}).call(this,e("_process"))},{"./end-of-stream":486,_process:467}],484:[function(e,t,n){"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var o=e("buffer").Buffer,a=e("util").inspect,c=a&&a.custom||"inspect";t.exports=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.head=null,this.tail=null,this.length=0}var t,n,l;return t=e,(n=[{key:"push",value:function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length}},{key:"unshift",value:function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length}},{key:"shift",value:function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(e){if(0===this.length)return"";for(var t=this.head,n=""+t.data;t=t.next;)n+=e+t.data;return n}},{key:"concat",value:function(e){if(0===this.length)return o.alloc(0);for(var t,n,r,i=o.allocUnsafe(e>>>0),s=this.head,a=0;s;)t=s.data,n=i,r=a,o.prototype.copy.call(t,n,r),a+=s.data.length,s=s.next;return i}},{key:"consume",value:function(e,t){var n;return e<this.head.data.length?(n=this.head.data.slice(0,e),this.head.data=this.head.data.slice(e)):n=e===this.head.data.length?this.shift():t?this._getString(e):this._getBuffer(e),n}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(e){var t=this.head,n=1,r=t.data;for(e-=r.length;t=t.next;){var i=t.data,s=e>i.length?i.length:e;if(s===i.length?r+=i:r+=i.slice(0,e),0==(e-=s)){s===i.length?(++n,t.next?this.head=t.next:this.head=this.tail=null):(this.head=t,t.data=i.slice(s));break}++n}return this.length-=n,r}},{key:"_getBuffer",value:function(e){var t=o.allocUnsafe(e),n=this.head,r=1;for(n.data.copy(t),e-=n.data.length;n=n.next;){var i=n.data,s=e>i.length?i.length:e;if(i.copy(t,t.length-e,0,s),0==(e-=s)){s===i.length?(++r,n.next?this.head=n.next:this.head=this.tail=null):(this.head=n,n.data=i.slice(s));break}++r}return this.length-=r,t}},{key:c,value:function(e,t){return a(this,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach(function(t){i(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},t,{depth:0,customInspect:!1}))}}])&&s(t.prototype,n),l&&s(t,l),e}()},{buffer:216,util:185}],485:[function(e,t,n){(function(e){"use strict";function n(e,t){i(e,t),r(e)}function r(e){e._writableState&&!e._writableState.emitClose||e._readableState&&!e._readableState.emitClose||e.emit("close")}function i(e,t){e.emit("error",t)}t.exports={destroy:function(t,s){var o=this,a=this._readableState&&this._readableState.destroyed,c=this._writableState&&this._writableState.destroyed;return a||c?(s?s(t):t&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,e.nextTick(i,this,t)):e.nextTick(i,this,t)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(t||null,function(t){!s&&t?o._writableState?o._writableState.errorEmitted?e.nextTick(r,o):(o._writableState.errorEmitted=!0,e.nextTick(n,o,t)):e.nextTick(n,o,t):s?(e.nextTick(r,o),s(t)):e.nextTick(r,o)}),this)},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)},errorOrDestroy:function(e,t){var n=e._readableState,r=e._writableState;n&&n.autoDestroy||r&&r.autoDestroy?e.destroy(t):e.emit("error",t)}}}).call(this,e("_process"))},{_process:467}],486:[function(e,t,n){"use strict";var r=e("../../../errors").codes.ERR_STREAM_PREMATURE_CLOSE;function i(){}t.exports=function e(t,n,s){if("function"==typeof n)return e(t,null,n);n||(n={}),s=function(e){var t=!1;return function(){if(!t){t=!0;for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];e.apply(this,r)}}}(s||i);var o=n.readable||!1!==n.readable&&t.readable,a=n.writable||!1!==n.writable&&t.writable,c=function(){t.writable||u()},l=t._writableState&&t._writableState.finished,u=function(){a=!1,l=!0,o||s.call(t)},h=t._readableState&&t._readableState.endEmitted,d=function(){o=!1,h=!0,a||s.call(t)},f=function(e){s.call(t,e)},p=function(){var e;return o&&!h?(t._readableState&&t._readableState.ended||(e=new r),s.call(t,e)):a&&!l?(t._writableState&&t._writableState.ended||(e=new r),s.call(t,e)):void 0},m=function(){t.req.on("finish",u)};return function(e){return e.setHeader&&"function"==typeof e.abort}(t)?(t.on("complete",u),t.on("abort",p),t.req?m():t.on("request",m)):a&&!t._writableState&&(t.on("end",c),t.on("close",c)),t.on("end",d),t.on("finish",u),!1!==n.error&&t.on("error",f),t.on("close",p),function(){t.removeListener("complete",u),t.removeListener("abort",p),t.removeListener("request",m),t.req&&t.req.removeListener("finish",u),t.removeListener("end",c),t.removeListener("close",c),t.removeListener("finish",u),t.removeListener("end",d),t.removeListener("error",f),t.removeListener("close",p)}}},{"../../../errors":477}],487:[function(e,t,n){"use strict";t.exports=function(){throw new Error("Readable.from is not available in the browser")}},{}],488:[function(e,t,n){"use strict";var r,i=e("../../../errors").codes,s=i.ERR_MISSING_ARGS,o=i.ERR_STREAM_DESTROYED;function a(e){if(e)throw e}function c(t,n,i,s){s=function(e){var t=!1;return function(){t||(t=!0,e.apply(void 0,arguments))}}(s);var a=!1;t.on("close",function(){a=!0}),void 0===r&&(r=e("./end-of-stream")),r(t,{readable:n,writable:i},function(e){if(e)return s(e);a=!0,s()});var c=!1;return function(e){if(!a&&!c)return c=!0,function(e){return e.setHeader&&"function"==typeof e.abort}(t)?t.abort():"function"==typeof t.destroy?t.destroy():void s(e||new o("pipe"))}}function l(e){e()}function u(e,t){return e.pipe(t)}function h(e){return e.length?"function"!=typeof e[e.length-1]?a:e.pop():a}t.exports=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r,i=h(t);if(Array.isArray(t[0])&&(t=t[0]),t.length<2)throw new s("streams");var o=t.map(function(e,n){var s=n<t.length-1;return c(e,s,n>0,function(e){r||(r=e),e&&o.forEach(l),s||(o.forEach(l),i(r))})});return t.reduce(u)}},{"../../../errors":477,"./end-of-stream":486}],489:[function(e,t,n){"use strict";var r=e("../../../errors").codes.ERR_INVALID_OPT_VALUE;t.exports={getHighWaterMark:function(e,t,n,i){var s=function(e,t,n){return null!=e.highWaterMark?e.highWaterMark:t?e[n]:null}(t,i,n);if(null!=s){if(!isFinite(s)||Math.floor(s)!==s||s<0)throw new r(i?n:"highWaterMark",s);return Math.floor(s)}return e.objectMode?16:16384}}},{"../../../errors":477}],490:[function(e,t,n){"use strict";t.exports=e("events").EventEmitter},{events:367}],491:[function(e,t,n){"use strict";(n=t.exports=e("./lib/_stream_readable.js")).Stream=n,n.Readable=n,n.Writable=e("./lib/_stream_writable.js"),n.Duplex=e("./lib/_stream_duplex.js"),n.Transform=e("./lib/_stream_transform.js"),n.PassThrough=e("./lib/_stream_passthrough.js"),n.finished=e("./lib/internal/streams/end-of-stream.js"),n.pipeline=e("./lib/internal/streams/pipeline.js")},{"./lib/_stream_duplex.js":478,"./lib/_stream_passthrough.js":479,"./lib/_stream_readable.js":480,"./lib/_stream_transform.js":481,"./lib/_stream_writable.js":482,"./lib/internal/streams/end-of-stream.js":486,"./lib/internal/streams/pipeline.js":488}],492:[function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var i=function(e){var t=Object.prototype,n=t.hasOwnProperty,i="function"==typeof Symbol?Symbol:{},s=i.iterator||"@@iterator",o=i.asyncIterator||"@@asyncIterator",a=i.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function l(e,t,n,r){var i=t&&t.prototype instanceof d?t:d,s=Object.create(i.prototype),o=new O(r||[]);return s._invoke=function(e,t,n){var r="suspendedStart";return function(i,s){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===i)throw s;return C()}for(n.method=i,n.arg=s;;){var o=n.delegate;if(o){var a=w(o,n);if(a){if(a===h)continue;return a}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var c=u(e,t,n);if("normal"===c.type){if(r=n.done?"completed":"suspendedYield",c.arg===h)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(r="completed",n.method="throw",n.arg=c.arg)}}}(e,n,o),s}function u(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=l;var h={};function d(){}function f(){}function p(){}var m={};m[s]=function(){return this};var g=Object.getPrototypeOf,v=g&&g(g(k([])));v&&v!==t&&n.call(v,s)&&(m=v);var y=p.prototype=d.prototype=Object.create(m);function b(e){["next","throw","return"].forEach(function(t){c(e,t,function(e){return this._invoke(t,e)})})}function _(e,t){var i;this._invoke=function(s,o){function a(){return new t(function(i,a){!function i(s,o,a,c){var l=u(e[s],e,o);if("throw"!==l.type){var h=l.arg,d=h.value;return d&&"object"===r(d)&&n.call(d,"__await")?t.resolve(d.__await).then(function(e){i("next",e,a,c)},function(e){i("throw",e,a,c)}):t.resolve(d).then(function(e){h.value=e,a(h)},function(e){return i("throw",e,a,c)})}c(l.arg)}(s,o,i,a)})}return i=i?i.then(a,a):a()}}function w(e,t){var n=e.iterator[t.method];if(void 0===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,w(e,t),"throw"===t.method))return h;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return h}var r=u(n,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,h;var i=r.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,h):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,h)}function S(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function x(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function O(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(S,this),this.reset(!0)}function k(e){if(e){var t=e[s];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,i=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return i.next=i}}return{next:C}}function C(){return{value:void 0,done:!0}}return f.prototype=y.constructor=p,p.constructor=f,f.displayName=c(p,a,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===f||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,p):(e.__proto__=p,c(e,a,"GeneratorFunction")),e.prototype=Object.create(y),e},e.awrap=function(e){return{__await:e}},b(_.prototype),_.prototype[o]=function(){return this},e.AsyncIterator=_,e.async=function(t,n,r,i,s){void 0===s&&(s=Promise);var o=new _(l(t,n,r,i),s);return e.isGeneratorFunction(n)?o:o.next().then(function(e){return e.done?e.value:o.next()})},b(y),c(y,a,"Generator"),y[s]=function(){return this},y.toString=function(){return"[object Generator]"},e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=k,O.prototype={constructor:O,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(x),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return o.type="throw",o.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var i=this.tryEntries.length-1;i>=0;--i){var s=this.tryEntries[i],o=s.completion;if("root"===s.tryLoc)return r("end");if(s.tryLoc<=this.prev){var a=n.call(s,"catchLoc"),c=n.call(s,"finallyLoc");if(a&&c){if(this.prev<s.catchLoc)return r(s.catchLoc,!0);if(this.prev<s.finallyLoc)return r(s.finallyLoc)}else if(a){if(this.prev<s.catchLoc)return r(s.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<s.finallyLoc)return r(s.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var s=i;break}}s&&("break"===e||"continue"===e)&&s.tryLoc<=t&&t<=s.finallyLoc&&(s=null);var o=s?s.completion:{};return o.type=e,o.arg=t,s?(this.method="next",this.next=s.finallyLoc,h):this.complete(o)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),h},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),x(n),h}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;x(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:k(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),h}},e}("object"===(void 0===t?"undefined":r(t))?t.exports:{});try{regeneratorRuntime=i}catch(e){Function("r","regeneratorRuntime = r")(i)}},{}],493:[function(e,t,n){"use strict";var r=e("buffer").Buffer,i=e("inherits"),s=e("hash-base"),o=new Array(16),a=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],c=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],l=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],u=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11],h=[0,1518500249,1859775393,2400959708,2840853838],d=[1352829926,1548603684,1836072691,2053994217,0];function f(){s.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520}function p(e,t){return e<<t|e>>>32-t}function m(e,t,n,r,i,s,o,a){return p(e+(t^n^r)+s+o|0,a)+i|0}function g(e,t,n,r,i,s,o,a){return p(e+(t&n|~t&r)+s+o|0,a)+i|0}function v(e,t,n,r,i,s,o,a){return p(e+((t|~n)^r)+s+o|0,a)+i|0}function y(e,t,n,r,i,s,o,a){return p(e+(t&r|n&~r)+s+o|0,a)+i|0}function b(e,t,n,r,i,s,o,a){return p(e+(t^(n|~r))+s+o|0,a)+i|0}i(f,s),f.prototype._update=function(){for(var e=o,t=0;t<16;++t)e[t]=this._block.readInt32LE(4*t);for(var n=0|this._a,r=0|this._b,i=0|this._c,s=0|this._d,f=0|this._e,_=0|this._a,w=0|this._b,S=0|this._c,x=0|this._d,O=0|this._e,k=0;k<80;k+=1){var C,M;k<16?(C=m(n,r,i,s,f,e[a[k]],h[0],l[k]),M=b(_,w,S,x,O,e[c[k]],d[0],u[k])):k<32?(C=g(n,r,i,s,f,e[a[k]],h[1],l[k]),M=y(_,w,S,x,O,e[c[k]],d[1],u[k])):k<48?(C=v(n,r,i,s,f,e[a[k]],h[2],l[k]),M=v(_,w,S,x,O,e[c[k]],d[2],u[k])):k<64?(C=y(n,r,i,s,f,e[a[k]],h[3],l[k]),M=g(_,w,S,x,O,e[c[k]],d[3],u[k])):(C=b(n,r,i,s,f,e[a[k]],h[4],l[k]),M=m(_,w,S,x,O,e[c[k]],d[4],u[k])),n=f,f=s,s=p(i,10),i=r,r=C,_=O,O=x,x=p(S,10),S=w,w=M}var E=this._b+i+x|0;this._b=this._c+s+O|0,this._c=this._d+f+_|0,this._d=this._e+n+w|0,this._e=this._a+r+S|0,this._a=E},f.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var e=r.alloc?r.alloc(20):new r(20);return e.writeInt32LE(this._a,0),e.writeInt32LE(this._b,4),e.writeInt32LE(this._c,8),e.writeInt32LE(this._d,12),e.writeInt32LE(this._e,16),e},t.exports=f},{buffer:216,"hash-base":370,inherits:387}],494:[function(e,t,n){"use strict";var r=e("buffer"),i=r.Buffer;function s(e,t){for(var n in e)t[n]=e[n]}function o(e,t,n){return i(e,t,n)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?t.exports=r:(s(r,n),n.Buffer=o),s(i,o),o.from=function(e,t,n){if("number"==typeof e)throw new TypeError("Argument must not be a number");return i(e,t,n)},o.alloc=function(e,t,n){if("number"!=typeof e)throw new TypeError("Argument must be a number");var r=i(e);return void 0!==t?"string"==typeof n?r.fill(t,n):r.fill(t):r.fill(0),r},o.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return i(e)},o.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return r.SlowBuffer(e)}},{buffer:216}],495:[function(e,t,n){(function(n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var i,s=e("buffer"),o=s.Buffer,a={};for(i in s)s.hasOwnProperty(i)&&"SlowBuffer"!==i&&"Buffer"!==i&&(a[i]=s[i]);var c=a.Buffer={};for(i in o)o.hasOwnProperty(i)&&"allocUnsafe"!==i&&"allocUnsafeSlow"!==i&&(c[i]=o[i]);if(a.Buffer.prototype=o.prototype,c.from&&c.from!==Uint8Array.from||(c.from=function(e,t,n){if("number"==typeof e)throw new TypeError('The "value" argument must not be of type number. Received type '+r(e));if(e&&void 0===e.length)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+r(e));return o(e,t,n)}),c.alloc||(c.alloc=function(e,t,n){if("number"!=typeof e)throw new TypeError('The "size" argument must be of type number. Received type '+r(e));if(e<0||e>=2*(1<<30))throw new RangeError('The value "'+e+'" is invalid for option "size"');var i=o(e);return t&&0!==t.length?"string"==typeof n?i.fill(t,n):i.fill(t):i.fill(0),i}),!a.kStringMaxLength)try{a.kStringMaxLength=n.binding("buffer").kStringMaxLength}catch(e){}a.constants||(a.constants={MAX_LENGTH:a.kMaxLength},a.kStringMaxLength&&(a.constants.MAX_STRING_LENGTH=a.kStringMaxLength)),t.exports=a}).call(this,e("_process"))},{_process:467,buffer:216}],496:[function(e,t,n){"use strict";function r(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=a(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}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 s,o=!0,c=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return o=e.done,e},e:function(e){c=!0,s=e},f:function(){try{o||null==n.return||n.return()}finally{if(c)throw s}}}}function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e){return function(e){if(Array.isArray(e))return c(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||a(e)||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 a(e,t){if(e){if("string"==typeof e)return c(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?c(e,t):void 0}}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}Object.defineProperty(n,"__esModule",{value:!0});var l=e("xmlchars/xml/1.0/ed5"),u=e("xmlchars/xml/1.1/ed2"),h=e("xmlchars/xmlns/1.0/ed3"),d=l.isS,f=l.isChar,p=l.isNameStartChar,m=l.isNameChar,g=l.S_LIST,v=l.NAME_RE,y=u.isChar,b=h.isNCNameStartChar,_=h.isNCNameChar,w=h.NC_NAME_RE,S="http://www.w3.org/XML/1998/namespace",x="http://www.w3.org/2000/xmlns/",O={__proto__:null,xml:S,xmlns:x},k={__proto__:null,amp:"&",gt:">",lt:"<",quot:'"',apos:"'"},C=61,M=63,E=function(e){return 34===e||39===e},T=[34,39],j=[].concat(T,[91,62]),D=[].concat(T,[60,93]),A=[C,M].concat(o(g)),L=[].concat(o(g),[62,38,60]);function z(e,t,n){switch(t){case"xml":n!==S&&e.fail("xml prefix must be bound to ".concat(S,"."));break;case"xmlns":n!==x&&e.fail("xmlns prefix must be bound to ".concat(x,"."))}switch(n){case x:e.fail(""===t?"the default namespace may not be set to ".concat(n,"."):'may not assign a prefix (even "xmlns") to the URI '.concat(x,"."));break;case S:switch(t){case"xml":break;case"":e.fail("the default namespace may not be set to ".concat(n,"."));break;default:e.fail("may not assign the xml namespace to another prefix.")}}}var P=function(e){return w.test(e)},I=function(e){return v.test(e)};n.EVENTS=["xmldecl","text","processinginstruction","doctype","comment","opentagstart","attribute","opentag","closetag","cdata","error","end","ready"];var R={xmldecl:"xmldeclHandler",text:"textHandler",processinginstruction:"piHandler",doctype:"doctypeHandler",comment:"commentHandler",opentagstart:"openTagStartHandler",attribute:"attributeHandler",opentag:"openTagHandler",closetag:"closeTagHandler",cdata:"cdataHandler",error:"errorHandler",end:"endHandler",ready:"readyHandler"},N=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.opt=null!=t?t:{},this.fragmentOpt=!!this.opt.fragment;var n=this.xmlnsOpt=!!this.opt.xmlns;if(this.trackPosition=!1!==this.opt.position,this.fileName=this.opt.fileName,n){this.nameStartCheck=b,this.nameCheck=_,this.isName=P,this.processAttribs=this.processAttribsNS,this.pushAttrib=this.pushAttribNS,this.ns=Object.assign({__proto__:null},O);var r=this.opt.additionalNamespaces;null!=r&&(function(e,t){for(var n=0,r=Object.keys(t);n<r.length;n++){var i=r[n];z(e,i,t[i])}}(this,r),Object.assign(this.ns,r))}else this.nameStartCheck=p,this.nameCheck=m,this.isName=I,this.processAttribs=this.processAttribsPlain,this.pushAttrib=this.pushAttribPlain;this.stateTable=[this.sBegin,this.sBeginWhitespace,this.sDoctype,this.sDoctypeQuote,this.sDTD,this.sDTDQuoted,this.sDTDOpenWaka,this.sDTDOpenWakaBang,this.sDTDComment,this.sDTDCommentEnding,this.sDTDCommentEnded,this.sDTDPI,this.sDTDPIEnding,this.sText,this.sEntity,this.sOpenWaka,this.sOpenWakaBang,this.sComment,this.sCommentEnding,this.sCommentEnded,this.sCData,this.sCDataEnding,this.sCDataEnding2,this.sPIFirstChar,this.sPIRest,this.sPIBody,this.sPIEnding,this.sXMLDeclNameStart,this.sXMLDeclName,this.sXMLDeclEq,this.sXMLDeclValueStart,this.sXMLDeclValue,this.sXMLDeclSeparator,this.sXMLDeclEnding,this.sOpenTag,this.sOpenTagSlash,this.sAttrib,this.sAttribName,this.sAttribNameSawWhite,this.sAttribValue,this.sAttribValueQuoted,this.sAttribValueClosed,this.sAttribValueUnquoted,this.sCloseTag,this.sCloseTagSawWhite],this._init()}var t,n,o;return t=e,(n=[{key:"_init",value:function(){var e;this.openWakaBang="",this.text="",this.name="",this.piTarget="",this.entity="",this.q=null,this.tags=[],this.tag=null,this.topNS=null,this.chunk="",this.chunkPosition=0,this.i=0,this.prevI=0,this.carriedFromPrevious=void 0,this.forbiddenState=0,this.attribList=[];var t=this.fragmentOpt;this.state=t?13:0,this.reportedTextBeforeRoot=this.reportedTextAfterRoot=this.closedRoot=this.sawRoot=t,this.xmlDeclPossible=!t,this.xmlDeclExpects=["version"],this.entityReturnState=void 0;var n=this.opt.defaultXMLVersion;if(void 0===n){if(!0===this.opt.forceXMLVersion)throw new Error("forceXMLVersion set but defaultXMLVersion is not set");n="1.0"}this.setXMLVersion(n),this.positionAtNewLine=0,this.doctype=!1,this._closed=!1,this.xmlDecl={version:void 0,encoding:void 0,standalone:void 0},this.line=1,this.column=0,this.ENTITIES=Object.create(k),null===(e=this.readyHandler)||void 0===e||e.call(this)}},{key:"on",value:function(e,t){this[R[e]]=t}},{key:"off",value:function(e){this[R[e]]=void 0}},{key:"makeError",value:function(e){var t,n=null!==(t=this.fileName)&&void 0!==t?t:"";return this.trackPosition&&(n.length>0&&(n+=":"),n+="".concat(this.line,":").concat(this.column)),n.length>0&&(n+=": "),new Error(n+e)}},{key:"fail",value:function(e){var t=this.makeError(e),n=this.errorHandler;if(void 0===n)throw t;return n(t),this}},{key:"write",value:function(e){if(this.closed)return this.fail("cannot write after close; assign an onready handler.");var t=!1;null===e?(t=!0,e=""):"object"===i(e)&&(e=e.toString()),void 0!==this.carriedFromPrevious&&(e="".concat(this.carriedFromPrevious).concat(e),this.carriedFromPrevious=void 0);var n=e.length,r=e.charCodeAt(n-1);!t&&(13===r||r>=55296&&r<=56319)&&(this.carriedFromPrevious=e[n-1],n--,e=e.slice(0,n));var s=this.stateTable;for(this.chunk=e,this.i=0;this.i<n;)s[this.state].call(this);return this.chunkPosition+=n,t?this.end():this}},{key:"close",value:function(){return this.write(null)}},{key:"getCode10",value:function(){var e=this.chunk,t=this.i;if(this.prevI=t,this.i=t+1,t>=e.length)return-1;var n=e.charCodeAt(t);if(this.column++,n<55296){if(n>=32||9===n)return n;switch(n){case 10:return this.line++,this.column=0,this.positionAtNewLine=this.position,10;case 13:return 10===e.charCodeAt(t+1)&&(this.i=t+2),this.line++,this.column=0,this.positionAtNewLine=this.position,-2;default:return this.fail("disallowed character."),n}}if(n>56319)return n>=57344&&n<=65533||this.fail("disallowed character."),n;var r=65536+1024*(n-55296)+(e.charCodeAt(t+1)-56320);return this.i=t+2,r>1114111&&this.fail("disallowed character."),r}},{key:"getCode11",value:function(){var e=this.chunk,t=this.i;if(this.prevI=t,this.i=t+1,t>=e.length)return-1;var n=e.charCodeAt(t);if(this.column++,n<55296){if(n>31&&n<127||n>159&&8232!==n||9===n)return n;switch(n){case 10:return this.line++,this.column=0,this.positionAtNewLine=this.position,10;case 13:var r=e.charCodeAt(t+1);10!==r&&133!==r||(this.i=t+2);case 133:case 8232:return this.line++,this.column=0,this.positionAtNewLine=this.position,-2;default:return this.fail("disallowed character."),n}}if(n>56319)return n>=57344&&n<=65533||this.fail("disallowed character."),n;var i=65536+1024*(n-55296)+(e.charCodeAt(t+1)-56320);return this.i=t+2,i>1114111&&this.fail("disallowed character."),i}},{key:"getCodeNorm",value:function(){var e=this.getCode();return-2===e?10:e}},{key:"unget",value:function(){this.i=this.prevI,this.column--}},{key:"captureTo",value:function(e){for(var t=this.i,n=this.chunk;;){var r=this.getCode(),i=-2===r,s=i?10:r;if(-1===s||e.includes(s))return this.text+=n.slice(t,this.prevI),s;i&&(this.text+="".concat(n.slice(t,this.prevI),"\n"),t=this.i)}}},{key:"captureToChar",value:function(e){for(var t=this.i,n=this.chunk;;){var r=this.getCode();switch(r){case-2:this.text+="".concat(n.slice(t,this.prevI),"\n"),t=this.i,r=10;break;case-1:return this.text+=n.slice(t),!1}if(r===e)return this.text+=n.slice(t,this.prevI),!0}}},{key:"captureNameChars",value:function(){for(var e=this.chunk,t=this.i;;){var n=this.getCode();if(-1===n)return this.name+=e.slice(t),-1;if(!m(n))return this.name+=e.slice(t,this.prevI),-2===n?10:n}}},{key:"skipSpaces",value:function(){for(;;){var e=this.getCodeNorm();if(-1===e||!d(e))return e}}},{key:"setXMLVersion",value:function(e){this.currentXMLVersion=e,"1.0"===e?(this.isChar=f,this.getCode=this.getCode10):(this.isChar=y,this.getCode=this.getCode11)}},{key:"sBegin",value:function(){65279===this.chunk.charCodeAt(0)&&(this.i++,this.column++),this.state=1}},{key:"sBeginWhitespace",value:function(){var e=this.i,t=this.skipSpaces();switch(this.prevI!==e&&(this.xmlDeclPossible=!1),t){case 60:if(this.state=15,0!==this.text.length)throw new Error("no-empty text at start");break;case-1:break;default:this.unget(),this.state=13,this.xmlDeclPossible=!1}}},{key:"sDoctype",value:function(){var e,t=this.captureTo(j);switch(t){case 62:null===(e=this.doctypeHandler)||void 0===e||e.call(this,this.text),this.text="",this.state=13,this.doctype=!0;break;case-1:break;default:this.text+=String.fromCodePoint(t),91===t?this.state=4:E(t)&&(this.state=3,this.q=t)}}},{key:"sDoctypeQuote",value:function(){var e=this.q;this.captureToChar(e)&&(this.text+=String.fromCodePoint(e),this.q=null,this.state=2)}},{key:"sDTD",value:function(){var e=this.captureTo(D);-1!==e&&(this.text+=String.fromCodePoint(e),93===e?this.state=2:60===e?this.state=6:E(e)&&(this.state=5,this.q=e))}},{key:"sDTDQuoted",value:function(){var e=this.q;this.captureToChar(e)&&(this.text+=String.fromCodePoint(e),this.state=4,this.q=null)}},{key:"sDTDOpenWaka",value:function(){var e=this.getCodeNorm();switch(this.text+=String.fromCodePoint(e),e){case 33:this.state=7,this.openWakaBang="";break;case M:this.state=11;break;default:this.state=4}}},{key:"sDTDOpenWakaBang",value:function(){var e=String.fromCodePoint(this.getCodeNorm()),t=this.openWakaBang+=e;this.text+=e,"-"!==t&&(this.state="--"===t?8:4,this.openWakaBang="")}},{key:"sDTDComment",value:function(){this.captureToChar(45)&&(this.text+="-",this.state=9)}},{key:"sDTDCommentEnding",value:function(){var e=this.getCodeNorm();this.text+=String.fromCodePoint(e),this.state=45===e?10:8}},{key:"sDTDCommentEnded",value:function(){var e=this.getCodeNorm();this.text+=String.fromCodePoint(e),62===e?this.state=4:(this.fail("malformed comment."),this.state=8)}},{key:"sDTDPI",value:function(){this.captureToChar(M)&&(this.text+="?",this.state=12)}},{key:"sDTDPIEnding",value:function(){var e=this.getCodeNorm();this.text+=String.fromCodePoint(e),62===e&&(this.state=4)}},{key:"sText",value:function(){0!==this.tags.length?this.handleTextInRoot():this.handleTextOutsideRoot()}},{key:"sEntity",value:function(){var e=this.i,t=this.chunk;e:for(;;)switch(this.getCode()){case-2:this.entity+="".concat(t.slice(e,this.prevI),"\n"),e=this.i;break;case 59:var n=this.entityReturnState,r=this.entity+t.slice(e,this.prevI);this.state=n;var i=void 0;""===r?(this.fail("empty entity name."),i="&;"):(i=this.parseEntity(r),this.entity=""),13===n&&void 0===this.textHandler||(this.text+=i);break e;case-1:this.entity+=t.slice(e);break e}}},{key:"sOpenWaka",value:function(){var e=this.getCode();if(p(e))this.state=34,this.unget(),this.xmlDeclPossible=!1;else switch(e){case 47:this.state=43,this.xmlDeclPossible=!1;break;case 33:this.state=16,this.openWakaBang="",this.xmlDeclPossible=!1;break;case M:this.state=23;break;default:this.fail("disallowed character in tag name"),this.state=13,this.xmlDeclPossible=!1}}},{key:"sOpenWakaBang",value:function(){switch(this.openWakaBang+=String.fromCodePoint(this.getCodeNorm()),this.openWakaBang){case"[CDATA[":this.sawRoot||this.reportedTextBeforeRoot||(this.fail("text data outside of root node."),this.reportedTextBeforeRoot=!0),this.closedRoot&&!this.reportedTextAfterRoot&&(this.fail("text data outside of root node."),this.reportedTextAfterRoot=!0),this.state=20,this.openWakaBang="";break;case"--":this.state=17,this.openWakaBang="";break;case"DOCTYPE":this.state=2,(this.doctype||this.sawRoot)&&this.fail("inappropriately located doctype declaration."),this.openWakaBang="";break;default:this.openWakaBang.length>=7&&this.fail("incorrect syntax.")}}},{key:"sComment",value:function(){this.captureToChar(45)&&(this.state=18)}},{key:"sCommentEnding",value:function(){var e,t=this.getCodeNorm();45===t?(this.state=19,null===(e=this.commentHandler)||void 0===e||e.call(this,this.text),this.text=""):(this.text+="-".concat(String.fromCodePoint(t)),this.state=17)}},{key:"sCommentEnded",value:function(){var e=this.getCodeNorm();62!==e?(this.fail("malformed comment."),this.text+="--".concat(String.fromCodePoint(e)),this.state=17):this.state=13}},{key:"sCData",value:function(){this.captureToChar(93)&&(this.state=21)}},{key:"sCDataEnding",value:function(){var e=this.getCodeNorm();93===e?this.state=22:(this.text+="]".concat(String.fromCodePoint(e)),this.state=20)}},{key:"sCDataEnding2",value:function(){var e,t=this.getCodeNorm();switch(t){case 62:null===(e=this.cdataHandler)||void 0===e||e.call(this,this.text),this.text="",this.state=13;break;case 93:this.text+="]";break;default:this.text+="]]".concat(String.fromCodePoint(t)),this.state=20}}},{key:"sPIFirstChar",value:function(){var e=this.getCodeNorm();this.nameStartCheck(e)?(this.piTarget+=String.fromCodePoint(e),this.state=24):e===M||d(e)?(this.fail("processing instruction without a target."),this.state=e===M?26:25):(this.fail("disallowed character in processing instruction name."),this.piTarget+=String.fromCodePoint(e),this.state=24)}},{key:"sPIRest",value:function(){for(var e=this.chunk,t=this.i;;){var n=this.getCodeNorm();if(-1===n)return void(this.piTarget+=e.slice(t));if(!this.nameCheck(n)){this.piTarget+=e.slice(t,this.prevI);var r=n===M;r||d(n)?"xml"===this.piTarget?(this.xmlDeclPossible||this.fail("an XML declaration must be at the start of the document."),this.state=r?33:27):this.state=r?26:25:(this.fail("disallowed character in processing instruction name."),this.piTarget+=String.fromCodePoint(n));break}}}},{key:"sPIBody",value:function(){if(0===this.text.length){var e=this.getCodeNorm();e===M?this.state=26:d(e)||(this.text=String.fromCodePoint(e))}else this.captureToChar(M)&&(this.state=26)}},{key:"sPIEnding",value:function(){var e,t=this.getCodeNorm();if(62===t){var n=this.piTarget;"xml"===n.toLowerCase()&&this.fail("the XML declaration must appear at the start of the document."),null===(e=this.piHandler)||void 0===e||e.call(this,{target:n,body:this.text}),this.piTarget=this.text="",this.state=13}else t===M?this.text+="?":(this.text+="?".concat(String.fromCodePoint(t)),this.state=25);this.xmlDeclPossible=!1}},{key:"sXMLDeclNameStart",value:function(){var e=this.skipSpaces();e!==M?-1!==e&&(this.state=28,this.name=String.fromCodePoint(e)):this.state=33}},{key:"sXMLDeclName",value:function(){var e=this.captureTo(A);if(e===M)return this.state=33,this.name+=this.text,this.text="",void this.fail("XML declaration is incomplete.");if(d(e)||e===C){if(this.name+=this.text,this.text="",!this.xmlDeclExpects.includes(this.name))switch(this.name.length){case 0:this.fail("did not expect any more name/value pairs.");break;case 1:this.fail("expected the name ".concat(this.xmlDeclExpects[0],"."));break;default:this.fail("expected one of ".concat(this.xmlDeclExpects.join(", ")))}this.state=e===C?30:29}}},{key:"sXMLDeclEq",value:function(){var e=this.getCodeNorm();if(e===M)return this.state=33,void this.fail("XML declaration is incomplete.");d(e)||(e!==C&&this.fail("value required."),this.state=30)}},{key:"sXMLDeclValueStart",value:function(){var e=this.getCodeNorm();if(e===M)return this.state=33,void this.fail("XML declaration is incomplete.");d(e)||(E(e)?this.q=e:(this.fail("value must be quoted."),this.q=32),this.state=31)}},{key:"sXMLDeclValue",value:function(){var e=this.captureTo([this.q,M]);if(e===M)return this.state=33,this.text="",void this.fail("XML declaration is incomplete.");if(-1!==e){var t=this.text;switch(this.text="",this.name){case"version":this.xmlDeclExpects=["encoding","standalone"];var n=t;this.xmlDecl.version=n,/^1\.[0-9]+$/.test(n)?this.opt.forceXMLVersion||this.setXMLVersion(n):this.fail("version number must match /^1\\.[0-9]+$/.");break;case"encoding":/^[A-Za-z][A-Za-z0-9._-]*$/.test(t)||this.fail("encoding value must match /^[A-Za-z0-9][A-Za-z0-9._-]*$/."),this.xmlDeclExpects=["standalone"],this.xmlDecl.encoding=t;break;case"standalone":"yes"!==t&&"no"!==t&&this.fail('standalone value must match "yes" or "no".'),this.xmlDeclExpects=[],this.xmlDecl.standalone=t}this.name="",this.state=32}}},{key:"sXMLDeclSeparator",value:function(){var e=this.getCodeNorm();e!==M?(d(e)||(this.fail("whitespace required."),this.unget()),this.state=27):this.state=33}},{key:"sXMLDeclEnding",value:function(){var e;62===this.getCodeNorm()?("xml"!==this.piTarget?this.fail("processing instructions are not allowed before root."):"version"!==this.name&&this.xmlDeclExpects.includes("version")&&this.fail("XML declaration must contain a version."),null===(e=this.xmldeclHandler)||void 0===e||e.call(this,this.xmlDecl),this.name="",this.piTarget=this.text="",this.state=13):this.fail("The character ? is disallowed anywhere in XML declarations."),this.xmlDeclPossible=!1}},{key:"sOpenTag",value:function(){var e,t=this.captureNameChars();if(-1!==t){var n=this.tag={name:this.name,attributes:Object.create(null)};switch(this.name="",this.xmlnsOpt&&(this.topNS=n.ns=Object.create(null)),null===(e=this.openTagStartHandler)||void 0===e||e.call(this,n),this.sawRoot=!0,!this.fragmentOpt&&this.closedRoot&&this.fail("documents may contain only one root."),t){case 62:this.openTag();break;case 47:this.state=35;break;default:d(t)||this.fail("disallowed character in tag name."),this.state=36}}}},{key:"sOpenTagSlash",value:function(){62===this.getCode()?this.openSelfClosingTag():(this.fail("forward-slash in opening tag not followed by >."),this.state=36)}},{key:"sAttrib",value:function(){var e=this.skipSpaces();-1!==e&&(p(e)?(this.unget(),this.state=37):62===e?this.openTag():47===e?this.state=35:this.fail("disallowed character in attribute name."))}},{key:"sAttribName",value:function(){var e=this.captureNameChars();e===C?this.state=39:d(e)?this.state=38:62===e?(this.fail("attribute without value."),this.pushAttrib(this.name,this.name),this.name=this.text="",this.openTag()):-1!==e&&this.fail("disallowed character in attribute name.")}},{key:"sAttribNameSawWhite",value:function(){var e=this.skipSpaces();switch(e){case-1:return;case C:this.state=39;break;default:this.fail("attribute without value."),this.text="",this.name="",62===e?this.openTag():p(e)?(this.unget(),this.state=37):(this.fail("disallowed character in attribute name."),this.state=36)}}},{key:"sAttribValue",value:function(){var e=this.getCodeNorm();E(e)?(this.q=e,this.state=40):d(e)||(this.fail("unquoted attribute value."),this.state=42,this.unget())}},{key:"sAttribValueQuoted",value:function(){for(var e=this.q,t=this.chunk,n=this.i;;)switch(this.getCode()){case e:return this.pushAttrib(this.name,this.text+t.slice(n,this.prevI)),this.name=this.text="",this.q=null,void(this.state=41);case 38:return this.text+=t.slice(n,this.prevI),this.state=14,void(this.entityReturnState=40);case 10:case-2:case 9:this.text+="".concat(t.slice(n,this.prevI)," "),n=this.i;break;case 60:return this.text+=t.slice(n,this.prevI),void this.fail("disallowed character.");case-1:return void(this.text+=t.slice(n))}}},{key:"sAttribValueClosed",value:function(){var e=this.getCodeNorm();d(e)?this.state=36:62===e?this.openTag():47===e?this.state=35:p(e)?(this.fail("no whitespace between attributes."),this.unget(),this.state=37):this.fail("disallowed character in attribute name.")}},{key:"sAttribValueUnquoted",value:function(){var e=this.captureTo(L);switch(e){case 38:this.state=14,this.entityReturnState=42;break;case 60:this.fail("disallowed character.");break;case-1:break;default:this.text.includes("]]>")&&this.fail('the string "]]>" is disallowed in char data.'),this.pushAttrib(this.name,this.text),this.name=this.text="",62===e?this.openTag():this.state=36}}},{key:"sCloseTag",value:function(){var e=this.captureNameChars();62===e?this.closeTag():d(e)?this.state=44:-1!==e&&this.fail("disallowed character in closing tag.")}},{key:"sCloseTagSawWhite",value:function(){switch(this.skipSpaces()){case 62:this.closeTag();break;case-1:break;default:this.fail("disallowed character in closing tag.")}}},{key:"handleTextInRoot",value:function(){var e=this.i,t=this.forbiddenState,n=this.chunk,r=this.textHandler;e:for(;;)switch(this.getCode()){case 60:if(this.state=15,void 0!==r){var i=this.text,s=n.slice(e,this.prevI);0!==i.length?(r(i+s),this.text=""):0!==s.length&&r(s)}t=0;break e;case 38:this.state=14,this.entityReturnState=13,void 0!==r&&(this.text+=n.slice(e,this.prevI)),t=0;break e;case 93:switch(t){case 0:t=1;break;case 1:t=2;break;case 2:break;default:throw new Error("impossible state")}break;case 62:2===t&&this.fail('the string "]]>" is disallowed in char data.'),t=0;break;case-2:void 0!==r&&(this.text+="".concat(n.slice(e,this.prevI),"\n")),e=this.i,t=0;break;case-1:void 0!==r&&(this.text+=n.slice(e));break e;default:t=0}this.forbiddenState=t}},{key:"handleTextOutsideRoot",value:function(){var e=this.i,t=this.chunk,n=this.textHandler,r=!1;e:for(;;){var i=this.getCode();switch(i){case 60:if(this.state=15,void 0!==n){var s=this.text,o=t.slice(e,this.prevI);0!==s.length?(n(s+o),this.text=""):0!==o.length&&n(o)}break e;case 38:this.state=14,this.entityReturnState=13,void 0!==n&&(this.text+=t.slice(e,this.prevI)),r=!0;break e;case-2:void 0!==n&&(this.text+="".concat(t.slice(e,this.prevI),"\n")),e=this.i;break;case-1:void 0!==n&&(this.text+=t.slice(e));break e;default:d(i)||(r=!0)}}r&&(this.sawRoot||this.reportedTextBeforeRoot||(this.fail("text data outside of root node."),this.reportedTextBeforeRoot=!0),this.closedRoot&&!this.reportedTextAfterRoot&&(this.fail("text data outside of root node."),this.reportedTextAfterRoot=!0))}},{key:"pushAttribNS",value:function(e,t){var n,r=this.qname(e),i=r.prefix,s=r.local,o={name:e,prefix:i,local:s,value:t};if(this.attribList.push(o),null===(n=this.attributeHandler)||void 0===n||n.call(this,o),"xmlns"===i){var a=t.trim();"1.0"===this.currentXMLVersion&&""===a&&this.fail("invalid attempt to undefine prefix in XML 1.0"),this.topNS[s]=a,z(this,s,a)}else if("xmlns"===e){var c=t.trim();this.topNS[""]=c,z(this,"",c)}}},{key:"pushAttribPlain",value:function(e,t){var n,r={name:e,value:t};this.attribList.push(r),null===(n=this.attributeHandler)||void 0===n||n.call(this,r)}},{key:"end",value:function(){var e,t;this.sawRoot||this.fail("document must contain a root element.");for(var n=this.tags;n.length>0;){var r=n.pop();this.fail("unclosed tag: ".concat(r.name))}0!==this.state&&13!==this.state&&this.fail("unexpected end.");var i=this.text;return 0!==i.length&&(null===(e=this.textHandler)||void 0===e||e.call(this,i),this.text=""),this._closed=!0,null===(t=this.endHandler)||void 0===t||t.call(this),this._init(),this}},{key:"resolve",value:function(e){var t,n,r=this.topNS[e];if(void 0!==r)return r;for(var i=this.tags,s=i.length-1;s>=0;s--)if(void 0!==(r=i[s].ns[e]))return r;return void 0!==(r=this.ns[e])?r:null===(n=(t=this.opt).resolvePrefix)||void 0===n?void 0:n.call(t,e)}},{key:"qname",value:function(e){var t=e.indexOf(":");if(-1===t)return{prefix:"",local:e};var n=e.slice(t+1),r=e.slice(0,t);return(""===r||""===n||n.includes(":"))&&this.fail("malformed name: ".concat(e,".")),{prefix:r,local:n}}},{key:"processAttribsNS",value:function(){var e,t=this.attribList,n=this.tag,i=this.qname(n.name),s=i.prefix,o=i.local;n.prefix=s,n.local=o;var a=n.uri=null!==(e=this.resolve(s))&&void 0!==e?e:"";if(""!==s&&("xmlns"===s&&this.fail('tags may not have "xmlns" as prefix.'),""===a&&(this.fail("unbound namespace prefix: ".concat(JSON.stringify(s),".")),n.uri=s)),0!==t.length){var c,l=n.attributes,u=new Set,h=r(t);try{for(h.s();!(c=h.n()).done;){var d=c.value,f=d.name,p=d.prefix,m=d.local,g=void 0,v=void 0;""===p?(g="xmlns"===f?x:"",v=f):(void 0===(g=this.resolve(p))&&(this.fail("unbound namespace prefix: ".concat(JSON.stringify(p),".")),g=p),v="{".concat(g,"}").concat(m)),u.has(v)&&this.fail("duplicate attribute: ".concat(v,".")),u.add(v),d.uri=g,l[f]=d}}catch(e){h.e(e)}finally{h.f()}this.attribList=[]}}},{key:"processAttribsPlain",value:function(){var e,t=this.attribList,n=this.tag.attributes,i=r(t);try{for(i.s();!(e=i.n()).done;){var s=e.value,o=s.name,a=s.value;void 0!==n[o]&&this.fail("duplicate attribute: ".concat(o,".")),n[o]=a}}catch(e){i.e(e)}finally{i.f()}this.attribList=[]}},{key:"openTag",value:function(){var e;this.processAttribs();var t=this.tags,n=this.tag;n.isSelfClosing=!1,null===(e=this.openTagHandler)||void 0===e||e.call(this,n),t.push(n),this.state=13,this.name=""}},{key:"openSelfClosingTag",value:function(){var e,t,n;this.processAttribs();var r=this.tags,i=this.tag;i.isSelfClosing=!0,null===(e=this.openTagHandler)||void 0===e||e.call(this,i),null===(t=this.closeTagHandler)||void 0===t||t.call(this,i),null===(this.tag=null!==(n=r[r.length-1])&&void 0!==n?n:null)&&(this.closedRoot=!0),this.state=13,this.name=""}},{key:"closeTag",value:function(){var e=this.tags,t=this.name;if(this.state=13,this.name="",""===t)return this.fail("weird empty close tag."),void(this.text+="</>");for(var n=this.closeTagHandler,r=e.length;r-- >0;){var i=this.tag=e.pop();if(this.topNS=i.ns,null==n||n(i),i.name===t)break;this.fail("unexpected close tag.")}0===r?this.closedRoot=!0:r<0&&(this.fail("unmatched closing tag: ".concat(t,".")),this.text+="</".concat(t,">"))}},{key:"parseEntity",value:function(e){if("#"!==e[0]){var t=this.ENTITIES[e];return void 0!==t?t:(this.fail(this.isName(e)?"undefined entity.":"disallowed character in entity name."),"&".concat(e,";"))}var n=NaN;return"x"===e[1]&&/^#x[0-9a-f]+$/i.test(e)?n=parseInt(e.slice(2),16):/^#[0-9]+$/.test(e)&&(n=parseInt(e.slice(1),10)),this.isChar(n)?String.fromCodePoint(n):(this.fail("malformed character entity."),"&".concat(e,";"))}},{key:"closed",get:function(){return this._closed}},{key:"position",get:function(){return this.chunkPosition+this.i}},{key:"columnIndex",get:function(){return this.position-this.positionAtNewLine}}])&&s(t.prototype,n),o&&s(t,o),e}();n.SaxesParser=N},{"xmlchars/xml/1.0/ed5":541,"xmlchars/xml/1.1/ed2":542,"xmlchars/xmlns/1.0/ed3":543}],497:[function(e,t,n){(function(e){"use strict";t.exports="function"==typeof e?e:function(){var e=[].slice.apply(arguments);e.splice(1,0,0),setTimeout.apply(null,e)}}).call(this,e("timers").setImmediate)},{timers:521}],498:[function(e,t,n){"use strict";var r=e("safe-buffer").Buffer;function i(e,t){this._block=r.alloc(e),this._finalSize=t,this._blockSize=e,this._len=0}i.prototype.update=function(e,t){"string"==typeof e&&(t=t||"utf8",e=r.from(e,t));for(var n=this._block,i=this._blockSize,s=e.length,o=this._len,a=0;a<s;){for(var c=o%i,l=Math.min(s-a,i-c),u=0;u<l;u++)n[c+u]=e[a+u];a+=l,(o+=l)%i==0&&this._update(n)}return this._len+=s,this},i.prototype.digest=function(e){var t=this._len%this._blockSize;this._block[t]=128,this._block.fill(0,t+1),t>=this._finalSize&&(this._update(this._block),this._block.fill(0));var n=8*this._len;if(n<=4294967295)this._block.writeUInt32BE(n,this._blockSize-4);else{var r=(4294967295&n)>>>0,i=(n-r)/4294967296;this._block.writeUInt32BE(i,this._blockSize-8),this._block.writeUInt32BE(r,this._blockSize-4)}this._update(this._block);var s=this._hash();return e?s.toString(e):s},i.prototype._update=function(){throw new Error("_update must be implemented by subclass")},t.exports=i},{"safe-buffer":494}],499:[function(e,t,n){"use strict";var r=t.exports=function(e){e=e.toLowerCase();var t=r[e];if(!t)throw new Error(e+" is not supported (we accept pull requests)");return new t};r.sha=e("./sha"),r.sha1=e("./sha1"),r.sha224=e("./sha224"),r.sha256=e("./sha256"),r.sha384=e("./sha384"),r.sha512=e("./sha512")},{"./sha":500,"./sha1":501,"./sha224":502,"./sha256":503,"./sha384":504,"./sha512":505}],500:[function(e,t,n){"use strict";var r=e("inherits"),i=e("./hash"),s=e("safe-buffer").Buffer,o=[1518500249,1859775393,-1894007588,-899497514],a=new Array(80);function c(){this.init(),this._w=a,i.call(this,64,56)}function l(e){return e<<30|e>>>2}function u(e,t,n,r){return 0===e?t&n|~t&r:2===e?t&n|t&r|n&r:t^n^r}r(c,i),c.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},c.prototype._update=function(e){for(var t,n=this._w,r=0|this._a,i=0|this._b,s=0|this._c,a=0|this._d,c=0|this._e,h=0;h<16;++h)n[h]=e.readInt32BE(4*h);for(;h<80;++h)n[h]=n[h-3]^n[h-8]^n[h-14]^n[h-16];for(var d=0;d<80;++d){var f=~~(d/20),p=0|((t=r)<<5|t>>>27)+u(f,i,s,a)+c+n[d]+o[f];c=a,a=s,s=l(i),i=r,r=p}this._a=r+this._a|0,this._b=i+this._b|0,this._c=s+this._c|0,this._d=a+this._d|0,this._e=c+this._e|0},c.prototype._hash=function(){var e=s.allocUnsafe(20);return e.writeInt32BE(0|this._a,0),e.writeInt32BE(0|this._b,4),e.writeInt32BE(0|this._c,8),e.writeInt32BE(0|this._d,12),e.writeInt32BE(0|this._e,16),e},t.exports=c},{"./hash":498,inherits:387,"safe-buffer":494}],501:[function(e,t,n){"use strict";var r=e("inherits"),i=e("./hash"),s=e("safe-buffer").Buffer,o=[1518500249,1859775393,-1894007588,-899497514],a=new Array(80);function c(){this.init(),this._w=a,i.call(this,64,56)}function l(e){return e<<5|e>>>27}function u(e){return e<<30|e>>>2}function h(e,t,n,r){return 0===e?t&n|~t&r:2===e?t&n|t&r|n&r:t^n^r}r(c,i),c.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},c.prototype._update=function(e){for(var t,n=this._w,r=0|this._a,i=0|this._b,s=0|this._c,a=0|this._d,c=0|this._e,d=0;d<16;++d)n[d]=e.readInt32BE(4*d);for(;d<80;++d)n[d]=(t=n[d-3]^n[d-8]^n[d-14]^n[d-16])<<1|t>>>31;for(var f=0;f<80;++f){var p=~~(f/20),m=l(r)+h(p,i,s,a)+c+n[f]+o[p]|0;c=a,a=s,s=u(i),i=r,r=m}this._a=r+this._a|0,this._b=i+this._b|0,this._c=s+this._c|0,this._d=a+this._d|0,this._e=c+this._e|0},c.prototype._hash=function(){var e=s.allocUnsafe(20);return e.writeInt32BE(0|this._a,0),e.writeInt32BE(0|this._b,4),e.writeInt32BE(0|this._c,8),e.writeInt32BE(0|this._d,12),e.writeInt32BE(0|this._e,16),e},t.exports=c},{"./hash":498,inherits:387,"safe-buffer":494}],502:[function(e,t,n){"use strict";var r=e("inherits"),i=e("./sha256"),s=e("./hash"),o=e("safe-buffer").Buffer,a=new Array(64);function c(){this.init(),this._w=a,s.call(this,64,56)}r(c,i),c.prototype.init=function(){return this._a=3238371032,this._b=914150663,this._c=812702999,this._d=4144912697,this._e=4290775857,this._f=1750603025,this._g=1694076839,this._h=3204075428,this},c.prototype._hash=function(){var e=o.allocUnsafe(28);return e.writeInt32BE(this._a,0),e.writeInt32BE(this._b,4),e.writeInt32BE(this._c,8),e.writeInt32BE(this._d,12),e.writeInt32BE(this._e,16),e.writeInt32BE(this._f,20),e.writeInt32BE(this._g,24),e},t.exports=c},{"./hash":498,"./sha256":503,inherits:387,"safe-buffer":494}],503:[function(e,t,n){"use strict";var r=e("inherits"),i=e("./hash"),s=e("safe-buffer").Buffer,o=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],a=new Array(64);function c(){this.init(),this._w=a,i.call(this,64,56)}function l(e,t,n){return n^e&(t^n)}function u(e,t,n){return e&t|n&(e|t)}function h(e){return(e>>>2|e<<30)^(e>>>13|e<<19)^(e>>>22|e<<10)}function d(e){return(e>>>6|e<<26)^(e>>>11|e<<21)^(e>>>25|e<<7)}function f(e){return(e>>>7|e<<25)^(e>>>18|e<<14)^e>>>3}r(c,i),c.prototype.init=function(){return this._a=1779033703,this._b=3144134277,this._c=1013904242,this._d=2773480762,this._e=1359893119,this._f=2600822924,this._g=528734635,this._h=1541459225,this},c.prototype._update=function(e){for(var t,n=this._w,r=0|this._a,i=0|this._b,s=0|this._c,a=0|this._d,c=0|this._e,p=0|this._f,m=0|this._g,g=0|this._h,v=0;v<16;++v)n[v]=e.readInt32BE(4*v);for(;v<64;++v)n[v]=0|(((t=n[v-2])>>>17|t<<15)^(t>>>19|t<<13)^t>>>10)+n[v-7]+f(n[v-15])+n[v-16];for(var y=0;y<64;++y){var b=g+d(c)+l(c,p,m)+o[y]+n[y]|0,_=h(r)+u(r,i,s)|0;g=m,m=p,p=c,c=a+b|0,a=s,s=i,i=r,r=b+_|0}this._a=r+this._a|0,this._b=i+this._b|0,this._c=s+this._c|0,this._d=a+this._d|0,this._e=c+this._e|0,this._f=p+this._f|0,this._g=m+this._g|0,this._h=g+this._h|0},c.prototype._hash=function(){var e=s.allocUnsafe(32);return e.writeInt32BE(this._a,0),e.writeInt32BE(this._b,4),e.writeInt32BE(this._c,8),e.writeInt32BE(this._d,12),e.writeInt32BE(this._e,16),e.writeInt32BE(this._f,20),e.writeInt32BE(this._g,24),e.writeInt32BE(this._h,28),e},t.exports=c},{"./hash":498,inherits:387,"safe-buffer":494}],504:[function(e,t,n){"use strict";var r=e("inherits"),i=e("./sha512"),s=e("./hash"),o=e("safe-buffer").Buffer,a=new Array(160);function c(){this.init(),this._w=a,s.call(this,128,112)}r(c,i),c.prototype.init=function(){return this._ah=3418070365,this._bh=1654270250,this._ch=2438529370,this._dh=355462360,this._eh=1731405415,this._fh=2394180231,this._gh=3675008525,this._hh=1203062813,this._al=3238371032,this._bl=914150663,this._cl=812702999,this._dl=4144912697,this._el=4290775857,this._fl=1750603025,this._gl=1694076839,this._hl=3204075428,this},c.prototype._hash=function(){var e=o.allocUnsafe(48);function t(t,n,r){e.writeInt32BE(t,r),e.writeInt32BE(n,r+4)}return t(this._ah,this._al,0),t(this._bh,this._bl,8),t(this._ch,this._cl,16),t(this._dh,this._dl,24),t(this._eh,this._el,32),t(this._fh,this._fl,40),e},t.exports=c},{"./hash":498,"./sha512":505,inherits:387,"safe-buffer":494}],505:[function(e,t,n){"use strict";var r=e("inherits"),i=e("./hash"),s=e("safe-buffer").Buffer,o=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591],a=new Array(160);function c(){this.init(),this._w=a,i.call(this,128,112)}function l(e,t,n){return n^e&(t^n)}function u(e,t,n){return e&t|n&(e|t)}function h(e,t){return(e>>>28|t<<4)^(t>>>2|e<<30)^(t>>>7|e<<25)}function d(e,t){return(e>>>14|t<<18)^(e>>>18|t<<14)^(t>>>9|e<<23)}function f(e,t){return(e>>>1|t<<31)^(e>>>8|t<<24)^e>>>7}function p(e,t){return(e>>>1|t<<31)^(e>>>8|t<<24)^(e>>>7|t<<25)}function m(e,t){return(e>>>19|t<<13)^(t>>>29|e<<3)^e>>>6}function g(e,t){return(e>>>19|t<<13)^(t>>>29|e<<3)^(e>>>6|t<<26)}function v(e,t){return e>>>0<t>>>0?1:0}r(c,i),c.prototype.init=function(){return this._ah=1779033703,this._bh=3144134277,this._ch=1013904242,this._dh=2773480762,this._eh=1359893119,this._fh=2600822924,this._gh=528734635,this._hh=1541459225,this._al=4089235720,this._bl=2227873595,this._cl=4271175723,this._dl=1595750129,this._el=2917565137,this._fl=725511199,this._gl=4215389547,this._hl=327033209,this},c.prototype._update=function(e){for(var t=this._w,n=0|this._ah,r=0|this._bh,i=0|this._ch,s=0|this._dh,a=0|this._eh,c=0|this._fh,y=0|this._gh,b=0|this._hh,_=0|this._al,w=0|this._bl,S=0|this._cl,x=0|this._dl,O=0|this._el,k=0|this._fl,C=0|this._gl,M=0|this._hl,E=0;E<32;E+=2)t[E]=e.readInt32BE(4*E),t[E+1]=e.readInt32BE(4*E+4);for(;E<160;E+=2){var T=t[E-30],j=t[E-30+1],D=f(T,j),A=p(j,T),L=m(T=t[E-4],j=t[E-4+1]),z=g(j,T),P=t[E-14],I=t[E-14+1],R=t[E-32],N=t[E-32+1],H=A+I|0,F=D+P+v(H,A)|0;F=(F=F+L+v(H=H+z|0,z)|0)+R+v(H=H+N|0,N)|0,t[E]=F,t[E+1]=H}for(var V=0;V<160;V+=2){F=t[V],H=t[V+1];var B=u(n,r,i),Y=u(_,w,S),U=h(n,_),W=h(_,n),q=d(a,O),$=d(O,a),G=o[V],X=o[V+1],K=l(a,c,y),J=l(O,k,C),Q=M+$|0,Z=b+q+v(Q,M)|0;Z=(Z=(Z=Z+K+v(Q=Q+J|0,J)|0)+G+v(Q=Q+X|0,X)|0)+F+v(Q=Q+H|0,H)|0;var ee=W+Y|0,te=U+B+v(ee,W)|0;b=y,M=C,y=c,C=k,c=a,k=O,a=s+Z+v(O=x+Q|0,x)|0,s=i,x=S,i=r,S=w,r=n,w=_,n=Z+te+v(_=Q+ee|0,Q)|0}this._al=this._al+_|0,this._bl=this._bl+w|0,this._cl=this._cl+S|0,this._dl=this._dl+x|0,this._el=this._el+O|0,this._fl=this._fl+k|0,this._gl=this._gl+C|0,this._hl=this._hl+M|0,this._ah=this._ah+n+v(this._al,_)|0,this._bh=this._bh+r+v(this._bl,w)|0,this._ch=this._ch+i+v(this._cl,S)|0,this._dh=this._dh+s+v(this._dl,x)|0,this._eh=this._eh+a+v(this._el,O)|0,this._fh=this._fh+c+v(this._fl,k)|0,this._gh=this._gh+y+v(this._gl,C)|0,this._hh=this._hh+b+v(this._hl,M)|0},c.prototype._hash=function(){var e=s.allocUnsafe(64);function t(t,n,r){e.writeInt32BE(t,r),e.writeInt32BE(n,r+4)}return t(this._ah,this._al,0),t(this._bh,this._bl,8),t(this._ch,this._cl,16),t(this._dh,this._dl,24),t(this._eh,this._el,32),t(this._fh,this._fl,40),t(this._gh,this._gl,48),t(this._hh,this._hl,56),e},t.exports=c},{"./hash":498,inherits:387,"safe-buffer":494}],506:[function(e,t,n){"use strict";t.exports=i;var r=e("events").EventEmitter;function i(){r.call(this)}e("inherits")(i,r),i.Readable=e("readable-stream/readable.js"),i.Writable=e("readable-stream/writable.js"),i.Duplex=e("readable-stream/duplex.js"),i.Transform=e("readable-stream/transform.js"),i.PassThrough=e("readable-stream/passthrough.js"),i.Stream=i,i.prototype.pipe=function(e,t){var n=this;function i(t){e.writable&&!1===e.write(t)&&n.pause&&n.pause()}function s(){n.readable&&n.resume&&n.resume()}n.on("data",i),e.on("drain",s),e._isStdio||t&&!1===t.end||(n.on("end",a),n.on("close",c));var o=!1;function a(){o||(o=!0,e.end())}function c(){o||(o=!0,"function"==typeof e.destroy&&e.destroy())}function l(e){if(u(),0===r.listenerCount(this,"error"))throw e}function u(){n.removeListener("data",i),e.removeListener("drain",s),n.removeListener("end",a),n.removeListener("close",c),n.removeListener("error",l),e.removeListener("error",l),n.removeListener("end",u),n.removeListener("close",u),e.removeListener("close",u)}return n.on("error",l),e.on("error",l),n.on("end",u),n.on("close",u),e.on("close",u),e.emit("pipe",n),e}},{events:367,inherits:387,"readable-stream/duplex.js":507,"readable-stream/passthrough.js":516,"readable-stream/readable.js":517,"readable-stream/transform.js":518,"readable-stream/writable.js":519}],507:[function(e,t,n){"use strict";t.exports=e("./lib/_stream_duplex.js")},{"./lib/_stream_duplex.js":508}],508:[function(e,t,n){"use strict";var r=e("process-nextick-args"),i=Object.keys||function(e){var t=[];for(var n in e)t.push(n);return t};t.exports=h;var s=Object.create(e("core-util-is"));s.inherits=e("inherits");var o=e("./_stream_readable"),a=e("./_stream_writable");s.inherits(h,o);for(var c=i(a.prototype),l=0;l<c.length;l++){var u=c[l];h.prototype[u]||(h.prototype[u]=a.prototype[u])}function h(e){if(!(this instanceof h))return new h(e);o.call(this,e),a.call(this,e),e&&!1===e.readable&&(this.readable=!1),e&&!1===e.writable&&(this.writable=!1),this.allowHalfOpen=!0,e&&!1===e.allowHalfOpen&&(this.allowHalfOpen=!1),this.once("end",d)}function d(){this.allowHalfOpen||this._writableState.ended||r.nextTick(f,this)}function f(e){e.end()}Object.defineProperty(h.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(h.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&this._readableState.destroyed&&this._writableState.destroyed},set:function(e){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=e,this._writableState.destroyed=e)}}),h.prototype._destroy=function(e,t){this.push(null),this.end(),r.nextTick(t,e)}},{"./_stream_readable":510,"./_stream_writable":512,"core-util-is":328,inherits:387,"process-nextick-args":466}],509:[function(e,t,n){"use strict";t.exports=s;var r=e("./_stream_transform"),i=Object.create(e("core-util-is"));function s(e){if(!(this instanceof s))return new s(e);r.call(this,e)}i.inherits=e("inherits"),i.inherits(s,r),s.prototype._transform=function(e,t,n){n(null,e)}},{"./_stream_transform":511,"core-util-is":328,inherits:387}],510:[function(e,t,n){(function(n,r){"use strict";var i=e("process-nextick-args");t.exports=b;var s,o=e("isarray");b.ReadableState=y,e("events").EventEmitter;var a=function(e,t){return e.listeners(t).length},c=e("./internal/streams/stream"),l=e("safe-buffer").Buffer,u=r.Uint8Array||function(){},h=Object.create(e("core-util-is"));h.inherits=e("inherits");var d=e("util"),f=void 0;f=d&&d.debuglog?d.debuglog("stream"):function(){};var p,m=e("./internal/streams/BufferList"),g=e("./internal/streams/destroy");h.inherits(b,c);var v=["error","close","destroy","pause","resume"];function y(t,n){t=t||{};var r=n instanceof(s=s||e("./_stream_duplex"));this.objectMode=!!t.objectMode,r&&(this.objectMode=this.objectMode||!!t.readableObjectMode);var i=t.highWaterMark,o=t.readableHighWaterMark,a=this.objectMode?16:16384;this.highWaterMark=i||0===i?i:r&&(o||0===o)?o:a,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new m,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=t.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,t.encoding&&(p||(p=e("string_decoder/").StringDecoder),this.decoder=new p(t.encoding),this.encoding=t.encoding)}function b(t){if(s=s||e("./_stream_duplex"),!(this instanceof b))return new b(t);this._readableState=new y(t,this),this.readable=!0,t&&("function"==typeof t.read&&(this._read=t.read),"function"==typeof t.destroy&&(this._destroy=t.destroy)),c.call(this)}function _(e,t,n,r,i){var s,o=e._readableState;return null===t?(o.reading=!1,function(e,t){if(!t.ended){if(t.decoder){var n=t.decoder.end();n&&n.length&&(t.buffer.push(n),t.length+=t.objectMode?1:n.length)}t.ended=!0,x(e)}}(e,o)):(i||(s=function(e,t){var n,r;return r=t,l.isBuffer(r)||r instanceof u||"string"==typeof t||void 0===t||e.objectMode||(n=new TypeError("Invalid non-string/buffer chunk")),n}(o,t)),s?e.emit("error",s):o.objectMode||t&&t.length>0?("string"==typeof t||o.objectMode||Object.getPrototypeOf(t)===l.prototype||(t=function(e){return l.from(e)}(t)),r?o.endEmitted?e.emit("error",new Error("stream.unshift() after end event")):w(e,o,t,!0):o.ended?e.emit("error",new Error("stream.push() after EOF")):(o.reading=!1,o.decoder&&!n?(t=o.decoder.write(t),o.objectMode||0!==t.length?w(e,o,t,!1):k(e,o)):w(e,o,t,!1))):r||(o.reading=!1)),function(e){return!e.ended&&(e.needReadable||e.length<e.highWaterMark||0===e.length)}(o)}function w(e,t,n,r){t.flowing&&0===t.length&&!t.sync?(e.emit("data",n),e.read(0)):(t.length+=t.objectMode?1:n.length,r?t.buffer.unshift(n):t.buffer.push(n),t.needReadable&&x(e)),k(e,t)}function S(e,t){return e<=0||0===t.length&&t.ended?0:t.objectMode?1:e!=e?t.flowing&&t.length?t.buffer.head.data.length:t.length:(e>t.highWaterMark&&(t.highWaterMark=function(e){return e>=8388608?e=8388608:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function x(e){var t=e._readableState;t.needReadable=!1,t.emittedReadable||(f("emitReadable",t.flowing),t.emittedReadable=!0,t.sync?i.nextTick(O,e):O(e))}function O(e){f("emit readable"),e.emit("readable"),T(e)}function k(e,t){t.readingMore||(t.readingMore=!0,i.nextTick(C,e,t))}function C(e,t){for(var n=t.length;!t.reading&&!t.flowing&&!t.ended&&t.length<t.highWaterMark&&(f("maybeReadMore read 0"),e.read(0),n!==t.length);)n=t.length;t.readingMore=!1}function M(e){f("readable nexttick read 0"),e.read(0)}function E(e,t){t.reading||(f("resume read 0"),e.read(0)),t.resumeScheduled=!1,t.awaitDrain=0,e.emit("resume"),T(e),t.flowing&&!t.reading&&e.read(0)}function T(e){var t=e._readableState;for(f("flow",t.flowing);t.flowing&&null!==e.read(););}function j(e,t){return 0===t.length?null:(t.objectMode?n=t.buffer.shift():!e||e>=t.length?(n=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.head.data:t.buffer.concat(t.length),t.buffer.clear()):n=function(e,t,n){var r;return e<t.head.data.length?(r=t.head.data.slice(0,e),t.head.data=t.head.data.slice(e)):r=e===t.head.data.length?t.shift():n?function(e,t){var n=t.head,r=1,i=n.data;for(e-=i.length;n=n.next;){var s=n.data,o=e>s.length?s.length:e;if(o===s.length?i+=s:i+=s.slice(0,e),0==(e-=o)){o===s.length?(++r,n.next?t.head=n.next:t.head=t.tail=null):(t.head=n,n.data=s.slice(o));break}++r}return t.length-=r,i}(e,t):function(e,t){var n=l.allocUnsafe(e),r=t.head,i=1;for(r.data.copy(n),e-=r.data.length;r=r.next;){var s=r.data,o=e>s.length?s.length:e;if(s.copy(n,n.length-e,0,o),0==(e-=o)){o===s.length?(++i,r.next?t.head=r.next:t.head=t.tail=null):(t.head=r,r.data=s.slice(o));break}++i}return t.length-=i,n}(e,t),r}(e,t.buffer,t.decoder),n);var n}function D(e){var t=e._readableState;if(t.length>0)throw new Error('"endReadable()" called on non-empty stream');t.endEmitted||(t.ended=!0,i.nextTick(A,t,e))}function A(e,t){e.endEmitted||0!==e.length||(e.endEmitted=!0,t.readable=!1,t.emit("end"))}function L(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1}Object.defineProperty(b.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(e){this._readableState&&(this._readableState.destroyed=e)}}),b.prototype.destroy=g.destroy,b.prototype._undestroy=g.undestroy,b.prototype._destroy=function(e,t){this.push(null),t(e)},b.prototype.push=function(e,t){var n,r=this._readableState;return r.objectMode?n=!0:"string"==typeof e&&((t=t||r.defaultEncoding)!==r.encoding&&(e=l.from(e,t),t=""),n=!0),_(this,e,t,!1,n)},b.prototype.unshift=function(e){return _(this,e,null,!0,!1)},b.prototype.isPaused=function(){return!1===this._readableState.flowing},b.prototype.setEncoding=function(t){return p||(p=e("string_decoder/").StringDecoder),this._readableState.decoder=new p(t),this._readableState.encoding=t,this},b.prototype.read=function(e){f("read",e),e=parseInt(e,10);var t=this._readableState,n=e;if(0!==e&&(t.emittedReadable=!1),0===e&&t.needReadable&&(t.length>=t.highWaterMark||t.ended))return f("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?D(this):x(this),null;if(0===(e=S(e,t))&&t.ended)return 0===t.length&&D(this),null;var r,i=t.needReadable;return f("need readable",i),(0===t.length||t.length-e<t.highWaterMark)&&f("length less than watermark",i=!0),t.ended||t.reading?f("reading or ended",i=!1):i&&(f("do read"),t.reading=!0,t.sync=!0,0===t.length&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1,t.reading||(e=S(n,t))),null===(r=e>0?j(e,t):null)?(t.needReadable=!0,e=0):t.length-=e,0===t.length&&(t.ended||(t.needReadable=!0),n!==e&&t.ended&&D(this)),null!==r&&this.emit("data",r),r},b.prototype._read=function(e){this.emit("error",new Error("_read() is not implemented"))},b.prototype.pipe=function(e,t){var r=this,s=this._readableState;switch(s.pipesCount){case 0:s.pipes=e;break;case 1:s.pipes=[s.pipes,e];break;default:s.pipes.push(e)}s.pipesCount+=1,f("pipe count=%d opts=%j",s.pipesCount,t);var c=t&&!1===t.end||e===n.stdout||e===n.stderr?b:u;function l(t,n){f("onunpipe"),t===r&&n&&!1===n.hasUnpiped&&(n.hasUnpiped=!0,f("cleanup"),e.removeListener("close",v),e.removeListener("finish",y),e.removeListener("drain",h),e.removeListener("error",g),e.removeListener("unpipe",l),r.removeListener("end",u),r.removeListener("end",b),r.removeListener("data",m),d=!0,!s.awaitDrain||e._writableState&&!e._writableState.needDrain||h())}function u(){f("onend"),e.end()}s.endEmitted?i.nextTick(c):r.once("end",c),e.on("unpipe",l);var h=function(e){return function(){var t=e._readableState;f("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&a(e,"data")&&(t.flowing=!0,T(e))}}(r);e.on("drain",h);var d=!1,p=!1;function m(t){f("ondata"),p=!1,!1!==e.write(t)||p||((1===s.pipesCount&&s.pipes===e||s.pipesCount>1&&-1!==L(s.pipes,e))&&!d&&(f("false write response, pause",r._readableState.awaitDrain),r._readableState.awaitDrain++,p=!0),r.pause())}function g(t){f("onerror",t),b(),e.removeListener("error",g),0===a(e,"error")&&e.emit("error",t)}function v(){e.removeListener("finish",y),b()}function y(){f("onfinish"),e.removeListener("close",v),b()}function b(){f("unpipe"),r.unpipe(e)}return r.on("data",m),function(e,t,n){if("function"==typeof e.prependListener)return e.prependListener(t,n);e._events&&e._events[t]?o(e._events[t])?e._events[t].unshift(n):e._events[t]=[n,e._events[t]]:e.on(t,n)}(e,"error",g),e.once("close",v),e.once("finish",y),e.emit("pipe",r),s.flowing||(f("pipe resume"),r.resume()),e},b.prototype.unpipe=function(e){var t=this._readableState,n={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,n)),this;if(!e){var r=t.pipes,i=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var s=0;s<i;s++)r[s].emit("unpipe",this,n);return this}var o=L(t.pipes,e);return-1===o||(t.pipes.splice(o,1),t.pipesCount-=1,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit("unpipe",this,n)),this},b.prototype.on=function(e,t){var n=c.prototype.on.call(this,e,t);if("data"===e)!1!==this._readableState.flowing&&this.resume();else if("readable"===e){var r=this._readableState;r.endEmitted||r.readableListening||(r.readableListening=r.needReadable=!0,r.emittedReadable=!1,r.reading?r.length&&x(this):i.nextTick(M,this))}return n},b.prototype.addListener=b.prototype.on,b.prototype.resume=function(){var e=this._readableState;return e.flowing||(f("resume"),e.flowing=!0,function(e,t){t.resumeScheduled||(t.resumeScheduled=!0,i.nextTick(E,e,t))}(this,e)),this},b.prototype.pause=function(){return f("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(f("pause"),this._readableState.flowing=!1,this.emit("pause")),this},b.prototype.wrap=function(e){var t=this,n=this._readableState,r=!1;for(var i in e.on("end",function(){if(f("wrapped end"),n.decoder&&!n.ended){var e=n.decoder.end();e&&e.length&&t.push(e)}t.push(null)}),e.on("data",function(i){f("wrapped data"),n.decoder&&(i=n.decoder.write(i)),n.objectMode&&null==i||(n.objectMode||i&&i.length)&&(t.push(i)||(r=!0,e.pause()))}),e)void 0===this[i]&&"function"==typeof e[i]&&(this[i]=function(t){return function(){return e[t].apply(e,arguments)}}(i));for(var s=0;s<v.length;s++)e.on(v[s],this.emit.bind(this,v[s]));return this._read=function(t){f("wrapped _read",t),r&&(r=!1,e.resume())},this},Object.defineProperty(b.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),b._fromList=j}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./_stream_duplex":508,"./internal/streams/BufferList":513,"./internal/streams/destroy":514,"./internal/streams/stream":515,_process:467,"core-util-is":328,events:367,inherits:387,isarray:389,"process-nextick-args":466,"safe-buffer":494,"string_decoder/":520,util:185}],511:[function(e,t,n){"use strict";t.exports=o;var r=e("./_stream_duplex"),i=Object.create(e("core-util-is"));function s(e,t){var n=this._transformState;n.transforming=!1;var r=n.writecb;if(!r)return this.emit("error",new Error("write callback called multiple times"));n.writechunk=null,n.writecb=null,null!=t&&this.push(t),r(e);var i=this._readableState;i.reading=!1,(i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}function o(e){if(!(this instanceof o))return new o(e);r.call(this,e),this._transformState={afterTransform:s.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,e&&("function"==typeof e.transform&&(this._transform=e.transform),"function"==typeof e.flush&&(this._flush=e.flush)),this.on("prefinish",a)}function a(){var e=this;"function"==typeof this._flush?this._flush(function(t,n){c(e,t,n)}):c(this,null,null)}function c(e,t,n){if(t)return e.emit("error",t);if(null!=n&&e.push(n),e._writableState.length)throw new Error("Calling transform done when ws.length != 0");if(e._transformState.transforming)throw new Error("Calling transform done when still transforming");return e.push(null)}i.inherits=e("inherits"),i.inherits(o,r),o.prototype.push=function(e,t){return this._transformState.needTransform=!1,r.prototype.push.call(this,e,t)},o.prototype._transform=function(e,t,n){throw new Error("_transform() is not implemented")},o.prototype._write=function(e,t,n){var r=this._transformState;if(r.writecb=n,r.writechunk=e,r.writeencoding=t,!r.transforming){var i=this._readableState;(r.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}},o.prototype._read=function(e){var t=this._transformState;null!==t.writechunk&&t.writecb&&!t.transforming?(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform)):t.needTransform=!0},o.prototype._destroy=function(e,t){var n=this;r.prototype._destroy.call(this,e,function(e){t(e),n.emit("close")})}},{"./_stream_duplex":508,"core-util-is":328,inherits:387}],512:[function(e,t,n){(function(n,r,i){"use strict";var s=e("process-nextick-args");function o(e){var t=this;this.next=null,this.entry=null,this.finish=function(){!function(e,t,n){var r=e.entry;for(e.entry=null;r;){var i=r.callback;t.pendingcb--,i(n),r=r.next}t.corkedRequestsFree?t.corkedRequestsFree.next=e:t.corkedRequestsFree=e}(t,e)}}t.exports=y;var a,c=!n.browser&&["v0.10","v0.9."].indexOf(n.version.slice(0,5))>-1?i:s.nextTick;y.WritableState=v;var l=Object.create(e("core-util-is"));l.inherits=e("inherits");var u,h={deprecate:e("util-deprecate")},d=e("./internal/streams/stream"),f=e("safe-buffer").Buffer,p=r.Uint8Array||function(){},m=e("./internal/streams/destroy");function g(){}function v(t,n){a=a||e("./_stream_duplex"),t=t||{};var r=n instanceof a;this.objectMode=!!t.objectMode,r&&(this.objectMode=this.objectMode||!!t.writableObjectMode);var i=t.highWaterMark,l=t.writableHighWaterMark,u=this.objectMode?16:16384;this.highWaterMark=i||0===i?i:r&&(l||0===l)?l:u,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var h=!1===t.decodeStrings;this.decodeStrings=!h,this.defaultEncoding=t.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){!function(e,t){var n=e._writableState,r=n.sync,i=n.writecb;if(function(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}(n),t)!function(e,t,n,r,i){--t.pendingcb,n?(s.nextTick(i,r),s.nextTick(O,e,t),e._writableState.errorEmitted=!0,e.emit("error",r)):(i(r),e._writableState.errorEmitted=!0,e.emit("error",r),O(e,t))}(e,n,r,t,i);else{var o=S(n);o||n.corked||n.bufferProcessing||!n.bufferedRequest||w(e,n),r?c(_,e,n,o,i):_(e,n,o,i)}}(n,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new o(this)}function y(t){if(a=a||e("./_stream_duplex"),!(u.call(y,this)||this instanceof a))return new y(t);this._writableState=new v(t,this),this.writable=!0,t&&("function"==typeof t.write&&(this._write=t.write),"function"==typeof t.writev&&(this._writev=t.writev),"function"==typeof t.destroy&&(this._destroy=t.destroy),"function"==typeof t.final&&(this._final=t.final)),d.call(this)}function b(e,t,n,r,i,s,o){t.writelen=r,t.writecb=o,t.writing=!0,t.sync=!0,n?e._writev(i,t.onwrite):e._write(i,s,t.onwrite),t.sync=!1}function _(e,t,n,r){n||function(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}(e,t),t.pendingcb--,r(),O(e,t)}function w(e,t){t.bufferProcessing=!0;var n=t.bufferedRequest;if(e._writev&&n&&n.next){var r=t.bufferedRequestCount,i=new Array(r),s=t.corkedRequestsFree;s.entry=n;for(var a=0,c=!0;n;)i[a]=n,n.isBuf||(c=!1),n=n.next,a+=1;i.allBuffers=c,b(e,t,!0,t.length,i,"",s.finish),t.pendingcb++,t.lastBufferedRequest=null,s.next?(t.corkedRequestsFree=s.next,s.next=null):t.corkedRequestsFree=new o(t),t.bufferedRequestCount=0}else{for(;n;){var l=n.chunk,u=n.encoding,h=n.callback;if(b(e,t,!1,t.objectMode?1:l.length,l,u,h),n=n.next,t.bufferedRequestCount--,t.writing)break}null===n&&(t.lastBufferedRequest=null)}t.bufferedRequest=n,t.bufferProcessing=!1}function S(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function x(e,t){e._final(function(n){t.pendingcb--,n&&e.emit("error",n),t.prefinished=!0,e.emit("prefinish"),O(e,t)})}function O(e,t){var n=S(t);return n&&(function(e,t){t.prefinished||t.finalCalled||("function"==typeof e._final?(t.pendingcb++,t.finalCalled=!0,s.nextTick(x,e,t)):(t.prefinished=!0,e.emit("prefinish")))}(e,t),0===t.pendingcb&&(t.finished=!0,e.emit("finish"))),n}l.inherits(y,d),v.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(v.prototype,"buffer",{get:h.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(e){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(u=Function.prototype[Symbol.hasInstance],Object.defineProperty(y,Symbol.hasInstance,{value:function(e){return!!u.call(this,e)||this===y&&e&&e._writableState instanceof v}})):u=function(e){return e instanceof this},y.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},y.prototype.write=function(e,t,n){var r,i=this._writableState,o=!1,a=!i.objectMode&&(r=e,f.isBuffer(r)||r instanceof p);return a&&!f.isBuffer(e)&&(e=function(e){return f.from(e)}(e)),"function"==typeof t&&(n=t,t=null),a?t="buffer":t||(t=i.defaultEncoding),"function"!=typeof n&&(n=g),i.ended?function(e,t){var n=new Error("write after end");e.emit("error",n),s.nextTick(t,n)}(this,n):(a||function(e,t,n,r){var i=!0,o=!1;return null===n?o=new TypeError("May not write null values to stream"):"string"==typeof n||void 0===n||t.objectMode||(o=new TypeError("Invalid non-string/buffer chunk")),o&&(e.emit("error",o),s.nextTick(r,o),i=!1),i}(this,i,e,n))&&(i.pendingcb++,o=function(e,t,n,r,i,s){if(!n){var o=function(e,t,n){return e.objectMode||!1===e.decodeStrings||"string"!=typeof t||(t=f.from(t,n)),t}(t,r,i);r!==o&&(n=!0,i="buffer",r=o)}var a=t.objectMode?1:r.length;t.length+=a;var c=t.length<t.highWaterMark;if(c||(t.needDrain=!0),t.writing||t.corked){var l=t.lastBufferedRequest;t.lastBufferedRequest={chunk:r,encoding:i,isBuf:n,callback:s,next:null},l?l.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else b(e,t,!1,a,r,i,s);return c}(this,i,a,e,t,n)),o},y.prototype.cork=function(){this._writableState.corked++},y.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,e.writing||e.corked||e.finished||e.bufferProcessing||!e.bufferedRequest||w(this,e))},y.prototype.setDefaultEncoding=function(e){if("string"==typeof e&&(e=e.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((e+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(y.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),y.prototype._write=function(e,t,n){n(new Error("_write() is not implemented"))},y.prototype._writev=null,y.prototype.end=function(e,t,n){var r=this._writableState;"function"==typeof e?(n=e,e=null,t=null):"function"==typeof t&&(n=t,t=null),null!=e&&this.write(e,t),r.corked&&(r.corked=1,this.uncork()),r.ending||r.finished||function(e,t,n){t.ending=!0,O(e,t),n&&(t.finished?s.nextTick(n):e.once("finish",n)),t.ended=!0,e.writable=!1}(this,r,n)},Object.defineProperty(y.prototype,"destroyed",{get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),y.prototype.destroy=m.destroy,y.prototype._undestroy=m.undestroy,y.prototype._destroy=function(e,t){this.end(),t(e)}}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("timers").setImmediate)},{"./_stream_duplex":508,"./internal/streams/destroy":514,"./internal/streams/stream":515,_process:467,"core-util-is":328,inherits:387,"process-nextick-args":466,"safe-buffer":494,timers:521,"util-deprecate":522}],513:[function(e,t,n){"use strict";var r=e("safe-buffer").Buffer,i=e("util");t.exports=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.head=null,this.tail=null,this.length=0}return e.prototype.push=function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length},e.prototype.unshift=function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length},e.prototype.shift=function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}},e.prototype.clear=function(){this.head=this.tail=null,this.length=0},e.prototype.join=function(e){if(0===this.length)return"";for(var t=this.head,n=""+t.data;t=t.next;)n+=e+t.data;return n},e.prototype.concat=function(e){if(0===this.length)return r.alloc(0);if(1===this.length)return this.head.data;for(var t,n,i=r.allocUnsafe(e>>>0),s=this.head,o=0;s;)t=i,n=o,s.data.copy(t,n),o+=s.data.length,s=s.next;return i},e}(),i&&i.inspect&&i.inspect.custom&&(t.exports.prototype[i.inspect.custom]=function(){var e=i.inspect({length:this.length});return this.constructor.name+" "+e})},{"safe-buffer":494,util:185}],514:[function(e,t,n){"use strict";var r=e("process-nextick-args");function i(e,t){e.emit("error",t)}t.exports={destroy:function(e,t){var n=this,s=this._readableState&&this._readableState.destroyed,o=this._writableState&&this._writableState.destroyed;return s||o?(t?t(e):!e||this._writableState&&this._writableState.errorEmitted||r.nextTick(i,this,e),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,function(e){!t&&e?(r.nextTick(i,n,e),n._writableState&&(n._writableState.errorEmitted=!0)):t&&t(e)}),this)},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}}},{"process-nextick-args":466}],515:[function(e,t,n){arguments[4][490][0].apply(n,arguments)},{dup:490,events:367}],516:[function(e,t,n){"use strict";t.exports=e("./readable").PassThrough},{"./readable":517}],517:[function(e,t,n){"use strict";(n=t.exports=e("./lib/_stream_readable.js")).Stream=n,n.Readable=n,n.Writable=e("./lib/_stream_writable.js"),n.Duplex=e("./lib/_stream_duplex.js"),n.Transform=e("./lib/_stream_transform.js"),n.PassThrough=e("./lib/_stream_passthrough.js")},{"./lib/_stream_duplex.js":508,"./lib/_stream_passthrough.js":509,"./lib/_stream_readable.js":510,"./lib/_stream_transform.js":511,"./lib/_stream_writable.js":512}],518:[function(e,t,n){"use strict";t.exports=e("./readable").Transform},{"./readable":517}],519:[function(e,t,n){"use strict";t.exports=e("./lib/_stream_writable.js")},{"./lib/_stream_writable.js":512}],520:[function(e,t,n){"use strict";var r=e("safe-buffer").Buffer,i=r.isEncoding||function(e){switch((e=""+e)&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function s(e){var t;switch(this.encoding=function(e){var t=function(e){if(!e)return"utf8";for(var t;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}(e);if("string"!=typeof t&&(r.isEncoding===i||!i(e)))throw new Error("Unknown encoding: "+e);return t||e}(e),this.encoding){case"utf16le":this.text=c,this.end=l,t=4;break;case"utf8":this.fillLast=a,t=4;break;case"base64":this.text=u,this.end=h,t=3;break;default:return this.write=d,void(this.end=f)}this.lastNeed=0,this.lastTotal=0,this.lastChar=r.allocUnsafe(t)}function o(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:e>>6==2?-1:-2}function a(e){var t=this.lastTotal-this.lastNeed,n=function(e,t,n){if(128!=(192&t[0]))return e.lastNeed=0,"\ufffd";if(e.lastNeed>1&&t.length>1){if(128!=(192&t[1]))return e.lastNeed=1,"\ufffd";if(e.lastNeed>2&&t.length>2&&128!=(192&t[2]))return e.lastNeed=2,"\ufffd"}}(this,e);return void 0!==n?n:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(e.copy(this.lastChar,t,0,e.length),void(this.lastNeed-=e.length))}function c(e,t){if((e.length-t)%2==0){var n=e.toString("utf16le",t);if(n){var r=n.charCodeAt(n.length-1);if(r>=55296&&r<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],n.slice(0,-1)}return n}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function l(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var n=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,n)}return t}function u(e,t){var n=(e.length-t)%3;return 0===n?e.toString("base64",t):(this.lastNeed=3-n,this.lastTotal=3,1===n?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-n))}function h(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function d(e){return e.toString(this.encoding)}function f(e){return e&&e.length?this.write(e):""}n.StringDecoder=s,s.prototype.write=function(e){if(0===e.length)return"";var t,n;if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";n=this.lastNeed,this.lastNeed=0}else n=0;return n<e.length?t?t+this.text(e,n):this.text(e,n):t||""},s.prototype.end=function(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"\ufffd":t},s.prototype.text=function(e,t){var n=function(e,t,n){var r=t.length-1;if(r<n)return 0;var i=o(t[r]);return i>=0?(i>0&&(e.lastNeed=i-1),i):--r<n||-2===i?0:(i=o(t[r]))>=0?(i>0&&(e.lastNeed=i-2),i):--r<n||-2===i?0:(i=o(t[r]))>=0?(i>0&&(2===i?i=0:e.lastNeed=i-3),i):0}(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=n;var r=e.length-(n-this.lastNeed);return e.copy(this.lastChar,0,r),e.toString("utf8",t,r)},s.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length}},{"safe-buffer":494}],521:[function(e,t,n){(function(t,r){"use strict";var i=e("process/browser.js").nextTick,s=Function.prototype.apply,o=Array.prototype.slice,a={},c=0;function l(e,t){this._id=e,this._clearFn=t}n.setTimeout=function(){return new l(s.call(setTimeout,window,arguments),clearTimeout)},n.setInterval=function(){return new l(s.call(setInterval,window,arguments),clearInterval)},n.clearTimeout=n.clearInterval=function(e){e.close()},l.prototype.unref=l.prototype.ref=function(){},l.prototype.close=function(){this._clearFn.call(window,this._id)},n.enroll=function(e,t){clearTimeout(e._idleTimeoutId),e._idleTimeout=t},n.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},n._unrefActive=n.active=function(e){clearTimeout(e._idleTimeoutId);var t=e._idleTimeout;t>=0&&(e._idleTimeoutId=setTimeout(function(){e._onTimeout&&e._onTimeout()},t))},n.setImmediate="function"==typeof t?t:function(e){var t=c++,r=!(arguments.length<2)&&o.call(arguments,1);return a[t]=!0,i(function(){a[t]&&(r?e.apply(null,r):e.call(null),n.clearImmediate(t))}),t},n.clearImmediate="function"==typeof r?r:function(e){delete a[e]}}).call(this,e("timers").setImmediate,e("timers").clearImmediate)},{"process/browser.js":467,timers:521}],522:[function(e,t,n){(function(e){"use strict";function n(t){try{if(!e.localStorage)return!1}catch(e){return!1}var n=e.localStorage[t];return null!=n&&"true"===String(n).toLowerCase()}t.exports=function(e,t){if(n("noDeprecation"))return e;var r=!1;return function(){if(!r){if(n("throwDeprecation"))throw new Error(t);n("traceDeprecation")?console.trace(t):console.warn(t),r=!0}return e.apply(this,arguments)}}}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],523:[function(e,t,n){"use strict";"function"==typeof Object.create?t.exports=function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:t.exports=function(e,t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}},{}],524:[function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}t.exports=function(e){return e&&"object"===r(e)&&"function"==typeof e.copy&&"function"==typeof e.fill&&"function"==typeof e.readUInt8}},{}],525:[function(e,t,n){(function(t,r){"use strict";function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var s=/%[sdj%]/g;n.format=function(e){if(!y(e)){for(var t=[],n=0;n<arguments.length;n++)t.push(c(arguments[n]));return t.join(" ")}n=1;for(var r=arguments,i=r.length,o=String(e).replace(s,function(e){if("%%"===e)return"%";if(n>=i)return e;switch(e){case"%s":return String(r[n++]);case"%d":return Number(r[n++]);case"%j":try{return JSON.stringify(r[n++])}catch(e){return"[Circular]"}default:return e}}),a=r[n];n<i;a=r[++n])g(a)||!w(a)?o+=" "+a:o+=" "+c(a);return o},n.deprecate=function(e,i){if(b(r.process))return function(){return n.deprecate(e,i).apply(this,arguments)};if(!0===t.noDeprecation)return e;var s=!1;return function(){if(!s){if(t.throwDeprecation)throw new Error(i);t.traceDeprecation?console.trace(i):console.error(i),s=!0}return e.apply(this,arguments)}};var o,a={};function c(e,t){var r={seen:[],stylize:u};return arguments.length>=3&&(r.depth=arguments[2]),arguments.length>=4&&(r.colors=arguments[3]),m(t)?r.showHidden=t:t&&n._extend(r,t),b(r.showHidden)&&(r.showHidden=!1),b(r.depth)&&(r.depth=2),b(r.colors)&&(r.colors=!1),b(r.customInspect)&&(r.customInspect=!0),r.colors&&(r.stylize=l),h(r,e,r.depth)}function l(e,t){var n=c.styles[t];return n?"\x1b["+c.colors[n][0]+"m"+e+"\x1b["+c.colors[n][1]+"m":e}function u(e,t){return e}function h(e,t,r){if(e.customInspect&&t&&O(t.inspect)&&t.inspect!==n.inspect&&(!t.constructor||t.constructor.prototype!==t)){var i=t.inspect(r,e);return y(i)||(i=h(e,i,r)),i}var s=function(e,t){if(b(t))return e.stylize("undefined","undefined");if(y(t)){var n="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(n,"string")}return v(t)?e.stylize(""+t,"number"):m(t)?e.stylize(""+t,"boolean"):g(t)?e.stylize("null","null"):void 0}(e,t);if(s)return s;var o=Object.keys(t),a=function(e){var t={};return e.forEach(function(e,n){t[e]=!0}),t}(o);if(e.showHidden&&(o=Object.getOwnPropertyNames(t)),x(t)&&(o.indexOf("message")>=0||o.indexOf("description")>=0))return d(t);if(0===o.length){if(O(t)){var c=t.name?": "+t.name:"";return e.stylize("[Function"+c+"]","special")}if(_(t))return e.stylize(RegExp.prototype.toString.call(t),"regexp");if(S(t))return e.stylize(Date.prototype.toString.call(t),"date");if(x(t))return d(t)}var l,u="",w=!1,k=["{","}"];return p(t)&&(w=!0,k=["[","]"]),O(t)&&(u=" [Function"+(t.name?": "+t.name:"")+"]"),_(t)&&(u=" "+RegExp.prototype.toString.call(t)),S(t)&&(u=" "+Date.prototype.toUTCString.call(t)),x(t)&&(u=" "+d(t)),0!==o.length||w&&0!=t.length?r<0?_(t)?e.stylize(RegExp.prototype.toString.call(t),"regexp"):e.stylize("[Object]","special"):(e.seen.push(t),l=w?function(e,t,n,r,i){for(var s=[],o=0,a=t.length;o<a;++o)T(t,String(o))?s.push(f(e,t,n,r,String(o),!0)):s.push("");return i.forEach(function(i){i.match(/^\d+$/)||s.push(f(e,t,n,r,i,!0))}),s}(e,t,r,a,o):o.map(function(n){return f(e,t,r,a,n,w)}),e.seen.pop(),function(e,t,n){return e.reduce(function(e,t){return t.indexOf("\n"),e+t.replace(/\u001b\[\d\d?m/g,"").length+1},0)>60?n[0]+(""===t?"":t+"\n ")+" "+e.join(",\n  ")+" "+n[1]:n[0]+t+" "+e.join(", ")+" "+n[1]}(l,u,k)):k[0]+u+k[1]}function d(e){return"["+Error.prototype.toString.call(e)+"]"}function f(e,t,n,r,i,s){var o,a,c;if((c=Object.getOwnPropertyDescriptor(t,i)||{value:t[i]}).get?a=c.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):c.set&&(a=e.stylize("[Setter]","special")),T(r,i)||(o="["+i+"]"),a||(e.seen.indexOf(c.value)<0?(a=g(n)?h(e,c.value,null):h(e,c.value,n-1)).indexOf("\n")>-1&&(a=s?a.split("\n").map(function(e){return"  "+e}).join("\n").substr(2):"\n"+a.split("\n").map(function(e){return"   "+e}).join("\n")):a=e.stylize("[Circular]","special")),b(o)){if(s&&i.match(/^\d+$/))return a;(o=JSON.stringify(""+i)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(o=o.substr(1,o.length-2),o=e.stylize(o,"name")):(o=o.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),o=e.stylize(o,"string"))}return o+": "+a}function p(e){return Array.isArray(e)}function m(e){return"boolean"==typeof e}function g(e){return null===e}function v(e){return"number"==typeof e}function y(e){return"string"==typeof e}function b(e){return void 0===e}function _(e){return w(e)&&"[object RegExp]"===k(e)}function w(e){return"object"===i(e)&&null!==e}function S(e){return w(e)&&"[object Date]"===k(e)}function x(e){return w(e)&&("[object Error]"===k(e)||e instanceof Error)}function O(e){return"function"==typeof e}function k(e){return Object.prototype.toString.call(e)}function C(e){return e<10?"0"+e.toString(10):e.toString(10)}n.debuglog=function(e){if(b(o)&&(o=t.env.NODE_DEBUG||""),e=e.toUpperCase(),!a[e])if(new RegExp("\\b"+e+"\\b","i").test(o)){var r=t.pid;a[e]=function(){var t=n.format.apply(n,arguments);console.error("%s %d: %s",e,r,t)}}else a[e]=function(){};return a[e]},n.inspect=c,c.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},c.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},n.isArray=p,n.isBoolean=m,n.isNull=g,n.isNullOrUndefined=function(e){return null==e},n.isNumber=v,n.isString=y,n.isSymbol=function(e){return"symbol"===i(e)},n.isUndefined=b,n.isRegExp=_,n.isObject=w,n.isDate=S,n.isError=x,n.isFunction=O,n.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"===i(e)||void 0===e},n.isBuffer=e("./support/isBuffer");var M=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function E(){var e=new Date,t=[C(e.getHours()),C(e.getMinutes()),C(e.getSeconds())].join(":");return[e.getDate(),M[e.getMonth()],t].join(" ")}function T(e,t){return Object.prototype.hasOwnProperty.call(e,t)}n.log=function(){console.log("%s - %s",E(),n.format.apply(n,arguments))},n.inherits=e("inherits"),n._extend=function(e,t){if(!t||!w(t))return e;for(var n=Object.keys(t),r=n.length;r--;)e[n[r]]=t[n[r]];return e}}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./support/isBuffer":524,_process:467,inherits:523}],526:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"v1",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(n,"v3",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(n,"v4",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(n,"v5",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(n,"NIL",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(n,"version",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(n,"validate",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(n,"stringify",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(n,"parse",{enumerable:!0,get:function(){return h.default}});var r=d(e("./v1.js")),i=d(e("./v3.js")),s=d(e("./v4.js")),o=d(e("./v5.js")),a=d(e("./nil.js")),c=d(e("./version.js")),l=d(e("./validate.js")),u=d(e("./stringify.js")),h=d(e("./parse.js"));function d(e){return e&&e.__esModule?e:{default:e}}},{"./nil.js":528,"./parse.js":529,"./stringify.js":533,"./v1.js":534,"./v3.js":535,"./v4.js":537,"./v5.js":538,"./validate.js":539,"./version.js":540}],527:[function(e,t,n){"use strict";function r(e){return 14+(e+64>>>9<<4)+1}function i(e,t){var n=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(n>>16)<<16|65535&n}function s(e,t,n,r,s,o){return i((a=i(i(t,e),i(r,o)))<<(c=s)|a>>>32-c,n);var a,c}function o(e,t,n,r,i,o,a){return s(t&n|~t&r,e,t,i,o,a)}function a(e,t,n,r,i,o,a){return s(t&r|n&~r,e,t,i,o,a)}function c(e,t,n,r,i,o,a){return s(t^n^r,e,t,i,o,a)}function l(e,t,n,r,i,o,a){return s(n^(t|~r),e,t,i,o,a)}Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var u=function(e){if("string"==typeof e){var t=unescape(encodeURIComponent(e));e=new Uint8Array(t.length);for(var n=0;n<t.length;++n)e[n]=t.charCodeAt(n)}return function(e){for(var t=[],n=32*e.length,r=0;r<n;r+=8){var i=e[r>>5]>>>r%32&255,s=parseInt("0123456789abcdef".charAt(i>>>4&15)+"0123456789abcdef".charAt(15&i),16);t.push(s)}return t}(function(e,t){e[t>>5]|=128<<t%32,e[r(t)-1]=t;for(var n=1732584193,s=-271733879,u=-1732584194,h=271733878,d=0;d<e.length;d+=16){var f=n,p=s,m=u,g=h;n=o(n,s,u,h,e[d],7,-680876936),h=o(h,n,s,u,e[d+1],12,-389564586),u=o(u,h,n,s,e[d+2],17,606105819),s=o(s,u,h,n,e[d+3],22,-1044525330),n=o(n,s,u,h,e[d+4],7,-176418897),h=o(h,n,s,u,e[d+5],12,1200080426),u=o(u,h,n,s,e[d+6],17,-1473231341),s=o(s,u,h,n,e[d+7],22,-45705983),n=o(n,s,u,h,e[d+8],7,1770035416),h=o(h,n,s,u,e[d+9],12,-1958414417),u=o(u,h,n,s,e[d+10],17,-42063),s=o(s,u,h,n,e[d+11],22,-1990404162),n=o(n,s,u,h,e[d+12],7,1804603682),h=o(h,n,s,u,e[d+13],12,-40341101),u=o(u,h,n,s,e[d+14],17,-1502002290),n=a(n,s=o(s,u,h,n,e[d+15],22,1236535329),u,h,e[d+1],5,-165796510),h=a(h,n,s,u,e[d+6],9,-1069501632),u=a(u,h,n,s,e[d+11],14,643717713),s=a(s,u,h,n,e[d],20,-373897302),n=a(n,s,u,h,e[d+5],5,-701558691),h=a(h,n,s,u,e[d+10],9,38016083),u=a(u,h,n,s,e[d+15],14,-660478335),s=a(s,u,h,n,e[d+4],20,-405537848),n=a(n,s,u,h,e[d+9],5,568446438),h=a(h,n,s,u,e[d+14],9,-1019803690),u=a(u,h,n,s,e[d+3],14,-187363961),s=a(s,u,h,n,e[d+8],20,1163531501),n=a(n,s,u,h,e[d+13],5,-1444681467),h=a(h,n,s,u,e[d+2],9,-51403784),u=a(u,h,n,s,e[d+7],14,1735328473),n=c(n,s=a(s,u,h,n,e[d+12],20,-1926607734),u,h,e[d+5],4,-378558),h=c(h,n,s,u,e[d+8],11,-2022574463),u=c(u,h,n,s,e[d+11],16,1839030562),s=c(s,u,h,n,e[d+14],23,-35309556),n=c(n,s,u,h,e[d+1],4,-1530992060),h=c(h,n,s,u,e[d+4],11,1272893353),u=c(u,h,n,s,e[d+7],16,-155497632),s=c(s,u,h,n,e[d+10],23,-1094730640),n=c(n,s,u,h,e[d+13],4,681279174),h=c(h,n,s,u,e[d],11,-358537222),u=c(u,h,n,s,e[d+3],16,-722521979),s=c(s,u,h,n,e[d+6],23,76029189),n=c(n,s,u,h,e[d+9],4,-640364487),h=c(h,n,s,u,e[d+12],11,-421815835),u=c(u,h,n,s,e[d+15],16,530742520),n=l(n,s=c(s,u,h,n,e[d+2],23,-995338651),u,h,e[d],6,-198630844),h=l(h,n,s,u,e[d+7],10,1126891415),u=l(u,h,n,s,e[d+14],15,-1416354905),s=l(s,u,h,n,e[d+5],21,-57434055),n=l(n,s,u,h,e[d+12],6,1700485571),h=l(h,n,s,u,e[d+3],10,-1894986606),u=l(u,h,n,s,e[d+10],15,-1051523),s=l(s,u,h,n,e[d+1],21,-2054922799),n=l(n,s,u,h,e[d+8],6,1873313359),h=l(h,n,s,u,e[d+15],10,-30611744),u=l(u,h,n,s,e[d+6],15,-1560198380),s=l(s,u,h,n,e[d+13],21,1309151649),n=l(n,s,u,h,e[d+4],6,-145523070),h=l(h,n,s,u,e[d+11],10,-1120210379),u=l(u,h,n,s,e[d+2],15,718787259),s=l(s,u,h,n,e[d+9],21,-343485551),n=i(n,f),s=i(s,p),u=i(u,m),h=i(h,g)}return[n,s,u,h]}(function(e){if(0===e.length)return[];for(var t=8*e.length,n=new Uint32Array(r(t)),i=0;i<t;i+=8)n[i>>5]|=(255&e[i/8])<<i%32;return n}(e),8*e.length))};n.default=u},{}],528:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0,n.default="00000000-0000-0000-0000-000000000000"},{}],529:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var r,i=(r=e("./validate.js"))&&r.__esModule?r:{default:r},s=function(e){if(!(0,i.default)(e))throw TypeError("Invalid UUID");var t,n=new Uint8Array(16);return n[0]=(t=parseInt(e.slice(0,8),16))>>>24,n[1]=t>>>16&255,n[2]=t>>>8&255,n[3]=255&t,n[4]=(t=parseInt(e.slice(9,13),16))>>>8,n[5]=255&t,n[6]=(t=parseInt(e.slice(14,18),16))>>>8,n[7]=255&t,n[8]=(t=parseInt(e.slice(19,23),16))>>>8,n[9]=255&t,n[10]=(t=parseInt(e.slice(24,36),16))/1099511627776&255,n[11]=t/4294967296&255,n[12]=t>>>24&255,n[13]=t>>>16&255,n[14]=t>>>8&255,n[15]=255&t,n};n.default=s},{"./validate.js":539}],530:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0,n.default=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i},{}],531:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(){if(!r)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return r(i)};var r="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto),i=new Uint8Array(16)},{}],532:[function(e,t,n){"use strict";function r(e,t,n,r){switch(e){case 0:return t&n^~t&r;case 1:return t^n^r;case 2:return t&n^t&r^n&r;case 3:return t^n^r}}function i(e,t){return e<<t|e>>>32-t}Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var s=function(e){var t=[1518500249,1859775393,2400959708,3395469782],n=[1732584193,4023233417,2562383102,271733878,3285377520];if("string"==typeof e){var s=unescape(encodeURIComponent(e));e=[];for(var o=0;o<s.length;++o)e.push(s.charCodeAt(o))}else Array.isArray(e)||(e=Array.prototype.slice.call(e));e.push(128);for(var a=e.length/4+2,c=Math.ceil(a/16),l=new Array(c),u=0;u<c;++u){for(var h=new Uint32Array(16),d=0;d<16;++d)h[d]=e[64*u+4*d]<<24|e[64*u+4*d+1]<<16|e[64*u+4*d+2]<<8|e[64*u+4*d+3];l[u]=h}l[c-1][14]=8*(e.length-1)/Math.pow(2,32),l[c-1][14]=Math.floor(l[c-1][14]),l[c-1][15]=8*(e.length-1)&4294967295;for(var f=0;f<c;++f){for(var p=new Uint32Array(80),m=0;m<16;++m)p[m]=l[f][m];for(var g=16;g<80;++g)p[g]=i(p[g-3]^p[g-8]^p[g-14]^p[g-16],1);for(var v=n[0],y=n[1],b=n[2],_=n[3],w=n[4],S=0;S<80;++S){var x=Math.floor(S/20),O=i(v,5)+r(x,y,b,_)+w+t[x]+p[S]>>>0;w=_,_=b,b=i(y,30)>>>0,y=v,v=O}n[0]=n[0]+v>>>0,n[1]=n[1]+y>>>0,n[2]=n[2]+b>>>0,n[3]=n[3]+_>>>0,n[4]=n[4]+w>>>0}return[n[0]>>24&255,n[0]>>16&255,n[0]>>8&255,255&n[0],n[1]>>24&255,n[1]>>16&255,n[1]>>8&255,255&n[1],n[2]>>24&255,n[2]>>16&255,n[2]>>8&255,255&n[2],n[3]>>24&255,n[3]>>16&255,n[3]>>8&255,255&n[3],n[4]>>24&255,n[4]>>16&255,n[4]>>8&255,255&n[4]]};n.default=s},{}],533:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;for(var r,i=(r=e("./validate.js"))&&r.__esModule?r:{default:r},s=[],o=0;o<256;++o)s.push((o+256).toString(16).substr(1));var a=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=(s[e[t+0]]+s[e[t+1]]+s[e[t+2]]+s[e[t+3]]+"-"+s[e[t+4]]+s[e[t+5]]+"-"+s[e[t+6]]+s[e[t+7]]+"-"+s[e[t+8]]+s[e[t+9]]+"-"+s[e[t+10]]+s[e[t+11]]+s[e[t+12]]+s[e[t+13]]+s[e[t+14]]+s[e[t+15]]).toLowerCase();if(!(0,i.default)(n))throw TypeError("Stringified UUID is invalid");return n};n.default=a},{"./validate.js":539}],534:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var r,i,s=a(e("./rng.js")),o=a(e("./stringify.js"));function a(e){return e&&e.__esModule?e:{default:e}}var c=0,l=0,u=function(e,t,n){var a=t&&n||0,u=t||new Array(16),h=(e=e||{}).node||r,d=void 0!==e.clockseq?e.clockseq:i;if(null==h||null==d){var f=e.random||(e.rng||s.default)();null==h&&(h=r=[1|f[0],f[1],f[2],f[3],f[4],f[5]]),null==d&&(d=i=16383&(f[6]<<8|f[7]))}var p=void 0!==e.msecs?e.msecs:Date.now(),m=void 0!==e.nsecs?e.nsecs:l+1,g=p-c+(m-l)/1e4;if(g<0&&void 0===e.clockseq&&(d=d+1&16383),(g<0||p>c)&&void 0===e.nsecs&&(m=0),m>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");c=p,l=m,i=d;var v=(1e4*(268435455&(p+=122192928e5))+m)%4294967296;u[a++]=v>>>24&255,u[a++]=v>>>16&255,u[a++]=v>>>8&255,u[a++]=255&v;var y=p/4294967296*1e4&268435455;u[a++]=y>>>8&255,u[a++]=255&y,u[a++]=y>>>24&15|16,u[a++]=y>>>16&255,u[a++]=d>>>8|128,u[a++]=255&d;for(var b=0;b<6;++b)u[a+b]=h[b];return t||(0,o.default)(u)};n.default=u},{"./rng.js":531,"./stringify.js":533}],535:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var r=s(e("./v35.js")),i=s(e("./md5.js"));function s(e){return e&&e.__esModule?e:{default:e}}var o=(0,r.default)("v3",48,i.default);n.default=o},{"./md5.js":527,"./v35.js":536}],536:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(e,t,n){function s(e,s,o,a){if("string"==typeof e&&(e=function(e){e=unescape(encodeURIComponent(e));for(var t=[],n=0;n<e.length;++n)t.push(e.charCodeAt(n));return t}(e)),"string"==typeof s&&(s=(0,i.default)(s)),16!==s.length)throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");var c=new Uint8Array(16+e.length);if(c.set(s),c.set(e,s.length),(c=n(c))[6]=15&c[6]|t,c[8]=63&c[8]|128,o){a=a||0;for(var l=0;l<16;++l)o[a+l]=c[l];return o}return(0,r.default)(c)}try{s.name=e}catch(e){}return s.DNS=o,s.URL=a,s},n.URL=n.DNS=void 0;var r=s(e("./stringify.js")),i=s(e("./parse.js"));function s(e){return e&&e.__esModule?e:{default:e}}var o="6ba7b810-9dad-11d1-80b4-00c04fd430c8";n.DNS=o;var a="6ba7b811-9dad-11d1-80b4-00c04fd430c8";n.URL=a},{"./parse.js":529,"./stringify.js":533}],537:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var r=s(e("./rng.js")),i=s(e("./stringify.js"));function s(e){return e&&e.__esModule?e:{default:e}}var o=function(e,t,n){var s=(e=e||{}).random||(e.rng||r.default)();if(s[6]=15&s[6]|64,s[8]=63&s[8]|128,t){n=n||0;for(var o=0;o<16;++o)t[n+o]=s[o];return t}return(0,i.default)(s)};n.default=o},{"./rng.js":531,"./stringify.js":533}],538:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var r=s(e("./v35.js")),i=s(e("./sha1.js"));function s(e){return e&&e.__esModule?e:{default:e}}var o=(0,r.default)("v5",80,i.default);n.default=o},{"./sha1.js":532,"./v35.js":536}],539:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var r,i=(r=e("./regex.js"))&&r.__esModule?r:{default:r},s=function(e){return"string"==typeof e&&i.default.test(e)};n.default=s},{"./regex.js":530}],540:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var r,i=(r=e("./validate.js"))&&r.__esModule?r:{default:r},s=function(e){if(!(0,i.default)(e))throw TypeError("Invalid UUID");return parseInt(e.substr(14,1),16)};n.default=s},{"./validate.js":539}],541:[function(e,t,n){"use strict";function r(e){return e>=65&&e<=90||e>=97&&e<=122||58===e||95===e||8204===e||8205===e||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=767||e>=880&&e<=893||e>=895&&e<=8191||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039}Object.defineProperty(n,"__esModule",{value:!0}),n.CHAR="\t\n\r -\ud7ff\ue000-\ufffd\ud800\udc00-\udbff\udfff",n.S=" \t\r\n",n.NAME_START_CHAR=":A-Z_a-z\xc0-\xd6\xd8-\xf6\xf8-\u02ff\u0370-\u037d\u037f-\u1fff\u200c\u200d\u2070-\u218f\u2c00-\u2fef\u3001-\ud7ff\uf900-\ufdcf\ufdf0-\ufffd\ud800\udc00-\udb7f\udfff",n.NAME_CHAR="-"+n.NAME_START_CHAR+".0-9\xb7\u0300-\u036f\u203f-\u2040",n.CHAR_RE=new RegExp("^["+n.CHAR+"]$","u"),n.S_RE=new RegExp("^["+n.S+"]+$","u"),n.NAME_START_CHAR_RE=new RegExp("^["+n.NAME_START_CHAR+"]$","u"),n.NAME_CHAR_RE=new RegExp("^["+n.NAME_CHAR+"]$","u"),n.NAME_RE=new RegExp("^["+n.NAME_START_CHAR+"]["+n.NAME_CHAR+"]*$","u"),n.NMTOKEN_RE=new RegExp("^["+n.NAME_CHAR+"]+$","u"),n.S_LIST=[32,10,13,9],n.isChar=function(e){return e>=32&&e<=55295||10===e||13===e||9===e||e>=57344&&e<=65533||e>=65536&&e<=1114111},n.isS=function(e){return 32===e||10===e||13===e||9===e},n.isNameStartChar=r,n.isNameChar=function(e){return r(e)||e>=48&&e<=57||45===e||46===e||183===e||e>=768&&e<=879||e>=8255&&e<=8256}},{}],542:[function(e,t,n){"use strict";function r(e){return e>=65&&e<=90||e>=97&&e<=122||58===e||95===e||8204===e||8205===e||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=767||e>=880&&e<=893||e>=895&&e<=8191||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039}Object.defineProperty(n,"__esModule",{value:!0}),n.CHAR="\x01-\ud7ff\ue000-\ufffd\ud800\udc00-\udbff\udfff",n.RESTRICTED_CHAR="\x01-\b\v\f\x0e-\x1f\x7f-\x84\x86-\x9f",n.S=" \t\r\n",n.NAME_START_CHAR=":A-Z_a-z\xc0-\xd6\xd8-\xf6\xf8-\u02ff\u0370-\u037d\u037f-\u1fff\u200c\u200d\u2070-\u218f\u2c00-\u2fef\u3001-\ud7ff\uf900-\ufdcf\ufdf0-\ufffd\ud800\udc00-\udb7f\udfff",n.NAME_CHAR="-"+n.NAME_START_CHAR+".0-9\xb7\u0300-\u036f\u203f-\u2040",n.CHAR_RE=new RegExp("^["+n.CHAR+"]$","u"),n.RESTRICTED_CHAR_RE=new RegExp("^["+n.RESTRICTED_CHAR+"]$","u"),n.S_RE=new RegExp("^["+n.S+"]+$","u"),n.NAME_START_CHAR_RE=new RegExp("^["+n.NAME_START_CHAR+"]$","u"),n.NAME_CHAR_RE=new RegExp("^["+n.NAME_CHAR+"]$","u"),n.NAME_RE=new RegExp("^["+n.NAME_START_CHAR+"]["+n.NAME_CHAR+"]*$","u"),n.NMTOKEN_RE=new RegExp("^["+n.NAME_CHAR+"]+$","u"),n.S_LIST=[32,10,13,9],n.isChar=function(e){return e>=1&&e<=55295||e>=57344&&e<=65533||e>=65536&&e<=1114111},n.isRestrictedChar=function(e){return e>=1&&e<=8||11===e||12===e||e>=14&&e<=31||e>=127&&e<=132||e>=134&&e<=159},n.isCharAndNotRestricted=function(e){return 9===e||10===e||13===e||e>31&&e<127||133===e||e>159&&e<=55295||e>=57344&&e<=65533||e>=65536&&e<=1114111},n.isS=function(e){return 32===e||10===e||13===e||9===e},n.isNameStartChar=r,n.isNameChar=function(e){return r(e)||e>=48&&e<=57||45===e||46===e||183===e||e>=768&&e<=879||e>=8255&&e<=8256}},{}],543:[function(e,t,n){"use strict";function r(e){return e>=65&&e<=90||95===e||e>=97&&e<=122||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=767||e>=880&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039}Object.defineProperty(n,"__esModule",{value:!0}),n.NC_NAME_START_CHAR="A-Z_a-z\xc0-\xd6\xd8-\xf6\xf8-\u02ff\u0370-\u037d\u037f-\u1fff\u200c-\u200d\u2070-\u218f\u2c00-\u2fef\u3001-\ud7ff\uf900-\ufdcf\ufdf0-\ufffd\ud800\udc00-\udb7f\udfff",n.NC_NAME_CHAR="-"+n.NC_NAME_START_CHAR+".0-9\xb7\u0300-\u036f\u203f-\u2040",n.NC_NAME_START_CHAR_RE=new RegExp("^["+n.NC_NAME_START_CHAR+"]$","u"),n.NC_NAME_CHAR_RE=new RegExp("^["+n.NC_NAME_CHAR+"]$","u"),n.NC_NAME_RE=new RegExp("^["+n.NC_NAME_START_CHAR+"]["+n.NC_NAME_CHAR+"]*$","u"),n.isNCNameStartChar=r,n.isNCNameChar=function(e){return r(e)||45===e||46===e||e>=48&&e<=57||183===e||e>=768&&e<=879||e>=8255&&e<=8256}},{}]},{},[15])(15)},"6V7c":function(e,t,n){"use strict";n.d(t,"a",function(){return u});var r=n("mrSG"),i=n("fXoL"),s=n("mjQ1"),o=n("SURy"),a=n("p/QF"),c=n("7seK"),l=n("2kdd");let u=class extends a.a{constructor(e,t){super(e,t,c.a)}create(e,t){return Object(r.a)(this,void 0,void 0,function*(){const n=yield this.class,r=Object(s.h)(Object.assign({},t),this.schema,n);return yield this.entities.create(r,e,this.schema.collection)})}query(e,t){return super.query(e,t,[{[Object(l.c)(this.schema.properties.name)]:"asc"}])}};u.ctorParameters=()=>[{type:s.a},{type:o.c}],u=Object(r.b)([Object(i.D)({providedIn:"root"})],u)},"6eBy":function(e,t,n){"use strict";n.d(t,"a",function(){return i});var r=n("zx2A");function i(e){return t=>t.lift(new s(e))}class s{constructor(e){this.durationSelector=e}call(e,t){return t.subscribe(new o(e,this.durationSelector))}}class o extends r.b{constructor(e,t){super(e),this.durationSelector=t,this.hasValue=!1}_next(e){try{const t=this.durationSelector.call(this,e);t&&this._tryNext(e,t)}catch(t){this.destination.error(t)}}_complete(){this.emitValue(),this.destination.complete()}_tryNext(e,t){let n=this.durationSubscription;this.value=e,this.hasValue=!0,n&&(n.unsubscribe(),this.remove(n)),n=Object(r.c)(t,new r.a(this)),n&&!n.closed&&this.add(this.durationSubscription=n)}notifyNext(){this.emitValue()}notifyComplete(){this.emitValue()}emitValue(){if(this.hasValue){const e=this.value,t=this.durationSubscription;t&&(this.durationSubscription=void 0,t.unsubscribe(),this.remove(t)),this.value=void 0,this.hasValue=!1,super._next(e)}}}},"7+OI":function(e,t,n){"use strict";n.d(t,"a",function(){return i});var r=n("HDdC");function i(e){return!!e&&(e instanceof r.a||"function"==typeof e.lift&&"function"==typeof e.subscribe)}},"79/9":function(e,t,n){"use strict";n.d(t,"a",function(){return S});var r=n("mrSG"),i=n("fXoL"),s=n("3Pt+"),o=n("dEAy"),a=n("yBpS"),c=n("Vsj3"),l=n("CmFN"),u=n("btuV"),h=n("ofXK"),d=n("LtKc"),f=n("4lKt"),p=n("rdIy"),m=n("1G5W"),g=n("IzEk"),v=n("Z2WM"),y=n("lsjk"),b=n("mjQ1"),_=n("riLQ"),w=n("SURy");let S=class extends p.a{constructor(e,t,n,r,i,s,o,c,l,u,h){super(),this.fb=e,this.modal=t,this.taskService=n,this.emailNotificationService=r,this.security=i,this.datePipe=s,this.notificationService=o,this.documentState=c,this.service=l,this.metadata=u,this.entities=h,this.form=this.fb.group({desc:""}),this.loading=!1,this.actionType=a.a,this.project=null,c.getProject().pipe(Object(m.a)(this.destroy$)).subscribe(e=>this.project=e)}send(){return Object(r.a)(this,void 0,void 0,function*(){if(this.task.task){const e=yield this.service.loadRecord({id:this.task.task.id}),t=Object(b.j)(e,y.c),n=Object.assign({},t);t.actualStart=t.plannedStart,t.progress<100&&(t.actualEnd=new Date),t.progress=100,t.percentFact=100;const r=yield this.metadata.classes.get(y.c.class),i=Object(b.i)(t,n,y.c,r);yield this.entities.update(Object.assign(Object.assign({},i),{id:t.id})),yield this.service.recalculatePercent(t.id),yield this.service.updatePercent(n,t)}this.loading=!0,yield this.taskService.updateTask(this.form.value.desc,this.task,this.type);const e=yield this.security.profiles.get(this.task.author.name),t=window.location.href;let n=`\u0417\u0430\u0434\u0430\u0447\u0430 ${this.task.name} \u043e\u0442 ${this.datePipe.transform(this.task.startDate,"dd.MM.yyyy")} \u0431\u044b\u043b\u0430 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0430 ${this.task.user.name} \u0441 \u0434\u0430\u0442\u043e\u0439 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f ${this.datePipe.transform(this.task.endDate,"dd.MM.yyyy")}.`;this.type===a.a.Cancel&&(n=`\u0417\u0430\u0434\u0430\u0447\u0430 ${this.task.name} \u043e\u0442 ${this.datePipe.transform(this.task.startDate,"dd.MM.yyyy")} \u0431\u044b\u043b\u0430 \u043e\u0442\u043a\u043b\u043e\u043d\u0435\u043d\u0430 ${this.task.user.name} \u0441 \u0434\u0430\u0442\u043e\u0439 ${this.datePipe.transform(this.task.endDate,"dd.MM.yyyy")}.`);const r={eventType:"\u041f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u0441\u043a\u0430\u044f \u0437\u0430\u0434\u0430\u0447\u0430",text:n,base:this.task.id.toString(),project:{id:this.project.id,name:this.project.name},recipients:[{id:e.id,name:e.name}]};yield this.notificationService.createNotification(r),n+="\u0421\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u0437\u0430\u0434\u0430\u0447\u0443 \u0432 \u0441\u0438\u0441\u0442\u0435\u043c\u0435: "+t,yield this.emailNotificationService.sendEmailNotification((null==e?void 0:e.email)||(null==e?void 0:e.name)||"",n).pipe(Object(g.a)(1)).toPromise().catch(e=>console.log(e)),this.modal.close(!0)})}cancel(){this.modal.close()}};S.ctorParameters=()=>[{type:s.e},{type:o.b},{type:c.b},{type:l.a},{type:u.c},{type:h.e},{type:d.b},{type:f.a},{type:v.a},{type:w.c},{type:b.a}],S.propDecorators={type:[{type:i.G}],task:[{type:i.G}]},S=Object(r.b)([Object(i.n)({selector:"app-task-handling",template:'<form nz-form nzLayout="vertical" [formGroup]="form">\n  <nz-form-item>\n    <nz-form-control>\n      <nz-form-label nzFor="desc">{{type === actionType.Execute ? \'\u041a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0439 \u043a \u0440\u0435\u0448\u0435\u043d\u0438\u044e\' : \'\u041f\u0440\u0438\u0447\u0438\u043d\u0430 \u043e\u0442\u043c\u0435\u043d\u044b\'}}</nz-form-label>\n      <textarea name="desc" formControlName="desc" rows="4" nz-input id="desc"></textarea>\n    </nz-form-control>\n  </nz-form-item>\n</form>\n<nz-space *nzModalFooter>\n  <button nz-button nzType="default" *nzSpaceItem (click)="cancel()">\u041e\u0442\u043c\u0435\u043d\u0430</button>\n  <button nz-button nzType="primary" [nzLoading]="loading" *nzSpaceItem (click)="send()">\u041f\u043e\u0434\u0442\u0432\u0435\u0440\u0434\u0438\u0442\u044c</button>\n</nz-space>\n',providers:[v.a,_.b],styles:[""]})],S)},"79xS":function(e,t,n){"use strict";n.d(t,"a",function(){return o}),n.d(t,"b",function(){return c}),n.d(t,"c",function(){return l});var r=n("fXoL"),i=n("OySI");const s={},o="[NG-ZORRO]:";function a(e,...t){(i.a.isTestMode||Object(r.ub)()&&function(...e){const t=e.reduce((e,t)=>e+t.toString(),"");return!s[t]&&(s[t]=!0,!0)}(...t))&&e(...t)}const c=(...e)=>a((...e)=>console.warn(o,...e),...e),l=(...e)=>{if(i.a.isTestMode)return()=>{};{const t=(new Error).stack;return a((...e)=>console.warn(o,"deprecated:",...e,t),...e)}}},"7BjC":function(e,t,n){!function(e){"use strict";function t(e,t,n,r){var i={s:["m\xf5ne sekundi","m\xf5ni sekund","paar sekundit"],ss:[e+"sekundi",e+"sekundit"],m:["\xfche minuti","\xfcks minut"],mm:[e+" minuti",e+" minutit"],h:["\xfche tunni","tund aega","\xfcks tund"],hh:[e+" tunni",e+" tundi"],d:["\xfche p\xe4eva","\xfcks p\xe4ev"],M:["kuu aja","kuu aega","\xfcks kuu"],MM:[e+" kuu",e+" kuud"],y:["\xfche aasta","aasta","\xfcks aasta"],yy:[e+" aasta",e+" aastat"]};return t?i[n][2]?i[n][2]:i[n][1]:r?i[n][0]:i[n][1]}e.defineLocale("et",{months:"jaanuar_veebruar_m\xe4rts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),monthsShort:"jaan_veebr_m\xe4rts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),weekdays:"p\xfchap\xe4ev_esmasp\xe4ev_teisip\xe4ev_kolmap\xe4ev_neljap\xe4ev_reede_laup\xe4ev".split("_"),weekdaysShort:"P_E_T_K_N_R_L".split("_"),weekdaysMin:"P_E_T_K_N_R_L".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[T\xe4na,] LT",nextDay:"[Homme,] LT",nextWeek:"[J\xe4rgmine] dddd LT",lastDay:"[Eile,] LT",lastWeek:"[Eelmine] dddd LT",sameElse:"L"},relativeTime:{future:"%s p\xe4rast",past:"%s tagasi",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:"%d p\xe4eva",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},"7C5Q":function(e,t,n){!function(e){"use strict";e.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(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:0,doy:6}})}(n("wd/R"))},"7Hc7":function(e,t,n){"use strict";n.d(t,"a",function(){return d});let r=1;const i=Promise.resolve(),s={};function o(e){return e in s&&(delete s[e],!0)}const a={setImmediate(e){const t=r++;return s[t]=!0,i.then(()=>o(t)&&e()),t},clearImmediate(e){o(e)}};var c=n("3N8a");class l extends c.a{constructor(e,t){super(e,t),this.scheduler=e,this.work=t}requestAsyncId(e,t,n=0){return null!==n&&n>0?super.requestAsyncId(e,t,n):(e.actions.push(this),e.scheduled||(e.scheduled=a.setImmediate(e.flush.bind(e,null))))}recycleAsyncId(e,t,n=0){if(null!==n&&n>0||null===n&&this.delay>0)return super.recycleAsyncId(e,t,n);0===e.actions.length&&(a.clearImmediate(t),e.scheduled=void 0)}}var u=n("IjjT");class h extends u.a{flush(e){this.active=!0,this.scheduled=void 0;const{actions:t}=this;let n,r=-1,i=t.length;e=e||t.shift();do{if(n=e.execute(e.state,e.delay))break}while(++r<i&&(e=t.shift()));if(this.active=!1,n){for(;++r<i&&(e=t.shift());)e.unsubscribe();throw n}}}const d=new h(l)},"7aV9":function(e,t,n){!function(e){"use strict";e.defineLocale("si",{months:"\u0da2\u0db1\u0dc0\u0dcf\u0dbb\u0dd2_\u0db4\u0dd9\u0db6\u0dbb\u0dc0\u0dcf\u0dbb\u0dd2_\u0db8\u0dcf\u0dbb\u0dca\u0dad\u0dd4_\u0d85\u0db4\u0dca\u200d\u0dbb\u0dda\u0dbd\u0dca_\u0db8\u0dd0\u0dba\u0dd2_\u0da2\u0dd6\u0db1\u0dd2_\u0da2\u0dd6\u0dbd\u0dd2_\u0d85\u0d9c\u0ddd\u0dc3\u0dca\u0dad\u0dd4_\u0dc3\u0dd0\u0db4\u0dca\u0dad\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca_\u0d94\u0d9a\u0dca\u0dad\u0ddd\u0db6\u0dbb\u0dca_\u0db1\u0ddc\u0dc0\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca_\u0daf\u0dd9\u0dc3\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca".split("_"),monthsShort:"\u0da2\u0db1_\u0db4\u0dd9\u0db6_\u0db8\u0dcf\u0dbb\u0dca_\u0d85\u0db4\u0dca_\u0db8\u0dd0\u0dba\u0dd2_\u0da2\u0dd6\u0db1\u0dd2_\u0da2\u0dd6\u0dbd\u0dd2_\u0d85\u0d9c\u0ddd_\u0dc3\u0dd0\u0db4\u0dca_\u0d94\u0d9a\u0dca_\u0db1\u0ddc\u0dc0\u0dd0_\u0daf\u0dd9\u0dc3\u0dd0".split("_"),weekdays:"\u0d89\u0dbb\u0dd2\u0daf\u0dcf_\u0dc3\u0db3\u0dd4\u0daf\u0dcf_\u0d85\u0d9f\u0dc4\u0dbb\u0dd4\u0dc0\u0dcf\u0daf\u0dcf_\u0db6\u0daf\u0dcf\u0daf\u0dcf_\u0db6\u0dca\u200d\u0dbb\u0dc4\u0dc3\u0dca\u0db4\u0dad\u0dd2\u0db1\u0dca\u0daf\u0dcf_\u0dc3\u0dd2\u0d9a\u0dd4\u0dbb\u0dcf\u0daf\u0dcf_\u0dc3\u0dd9\u0db1\u0dc3\u0dd4\u0dbb\u0dcf\u0daf\u0dcf".split("_"),weekdaysShort:"\u0d89\u0dbb\u0dd2_\u0dc3\u0db3\u0dd4_\u0d85\u0d9f_\u0db6\u0daf\u0dcf_\u0db6\u0dca\u200d\u0dbb\u0dc4_\u0dc3\u0dd2\u0d9a\u0dd4_\u0dc3\u0dd9\u0db1".split("_"),weekdaysMin:"\u0d89_\u0dc3_\u0d85_\u0db6_\u0db6\u0dca\u200d\u0dbb_\u0dc3\u0dd2_\u0dc3\u0dd9".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"a h:mm",LTS:"a h:mm:ss",L:"YYYY/MM/DD",LL:"YYYY MMMM D",LLL:"YYYY MMMM D, a h:mm",LLLL:"YYYY MMMM D [\u0dc0\u0dd0\u0db1\u0dd2] dddd, a h:mm:ss"},calendar:{sameDay:"[\u0d85\u0daf] LT[\u0da7]",nextDay:"[\u0dc4\u0dd9\u0da7] LT[\u0da7]",nextWeek:"dddd LT[\u0da7]",lastDay:"[\u0d8a\u0dba\u0dda] LT[\u0da7]",lastWeek:"[\u0db4\u0dc3\u0dd4\u0d9c\u0dd2\u0dba] dddd LT[\u0da7]",sameElse:"L"},relativeTime:{future:"%s\u0d9a\u0dd2\u0db1\u0dca",past:"%s\u0d9a\u0da7 \u0db4\u0dd9\u0dbb",s:"\u0dad\u0dad\u0dca\u0db4\u0dbb \u0d9a\u0dd2\u0dc4\u0dd2\u0db4\u0dba",ss:"\u0dad\u0dad\u0dca\u0db4\u0dbb %d",m:"\u0db8\u0dd2\u0db1\u0dd2\u0dad\u0dca\u0dad\u0dd4\u0dc0",mm:"\u0db8\u0dd2\u0db1\u0dd2\u0dad\u0dca\u0dad\u0dd4 %d",h:"\u0db4\u0dd0\u0dba",hh:"\u0db4\u0dd0\u0dba %d",d:"\u0daf\u0dd2\u0db1\u0dba",dd:"\u0daf\u0dd2\u0db1 %d",M:"\u0db8\u0dcf\u0dc3\u0dba",MM:"\u0db8\u0dcf\u0dc3 %d",y:"\u0dc0\u0dc3\u0dbb",yy:"\u0dc0\u0dc3\u0dbb %d"},dayOfMonthOrdinalParse:/\d{1,2} \u0dc0\u0dd0\u0db1\u0dd2/,ordinal:function(e){return e+" \u0dc0\u0dd0\u0db1\u0dd2"},meridiemParse:/\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4|\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4|\u0db4\u0dd9.\u0dc0|\u0db4.\u0dc0./,isPM:function(e){return"\u0db4.\u0dc0."===e||"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4"===e},meridiem:function(e,t,n){return e>11?n?"\u0db4.\u0dc0.":"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4":n?"\u0db4\u0dd9.\u0dc0.":"\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4"}})}(n("wd/R"))},"7o/Q":function(e,t,n){"use strict";n.d(t,"a",function(){return l});var r=n("n6bG"),i=n("gRHU"),s=n("quSY"),o=n("2QA8"),a=n("2fFW"),c=n("NJ4a");class l extends s.a{constructor(e,t,n){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=i.a;break;case 1:if(!e){this.destination=i.a;break}if("object"==typeof e){e instanceof l?(this.syncErrorThrowable=e.syncErrorThrowable,this.destination=e,e.add(this)):(this.syncErrorThrowable=!0,this.destination=new u(this,e));break}default:this.syncErrorThrowable=!0,this.destination=new u(this,e,t,n)}}[o.a](){return this}static create(e,t,n){const r=new l(e,t,n);return r.syncErrorThrowable=!1,r}next(e){this.isStopped||this._next(e)}error(e){this.isStopped||(this.isStopped=!0,this._error(e))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(e){this.destination.next(e)}_error(e){this.destination.error(e),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:e}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=e,this}}class u extends l{constructor(e,t,n,s){let o;super(),this._parentSubscriber=e;let a=this;Object(r.a)(t)?o=t:t&&(o=t.next,n=t.error,s=t.complete,t!==i.a&&(a=Object.create(t),Object(r.a)(a.unsubscribe)&&this.add(a.unsubscribe.bind(a)),a.unsubscribe=this.unsubscribe.bind(this))),this._context=a,this._next=o,this._error=n,this._complete=s}next(e){if(!this.isStopped&&this._next){const{_parentSubscriber:t}=this;a.a.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?this.__tryOrSetError(t,this._next,e)&&this.unsubscribe():this.__tryOrUnsub(this._next,e)}}error(e){if(!this.isStopped){const{_parentSubscriber:t}=this,{useDeprecatedSynchronousErrorHandling:n}=a.a;if(this._error)n&&t.syncErrorThrowable?(this.__tryOrSetError(t,this._error,e),this.unsubscribe()):(this.__tryOrUnsub(this._error,e),this.unsubscribe());else if(t.syncErrorThrowable)n?(t.syncErrorValue=e,t.syncErrorThrown=!0):Object(c.a)(e),this.unsubscribe();else{if(this.unsubscribe(),n)throw e;Object(c.a)(e)}}}complete(){if(!this.isStopped){const{_parentSubscriber:e}=this;if(this._complete){const t=()=>this._complete.call(this._context);a.a.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?(this.__tryOrSetError(e,t),this.unsubscribe()):(this.__tryOrUnsub(t),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(e,t){try{e.call(this._context,t)}catch(n){if(this.unsubscribe(),a.a.useDeprecatedSynchronousErrorHandling)throw n;Object(c.a)(n)}}__tryOrSetError(e,t,n){if(!a.a.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{t.call(this._context,n)}catch(r){return a.a.useDeprecatedSynchronousErrorHandling?(e.syncErrorValue=r,e.syncErrorThrown=!0,!0):(Object(c.a)(r),!0)}return!1}_unsubscribe(){const{_parentSubscriber:e}=this;this._context=null,this._parentSubscriber=null,e.unsubscribe()}}},"7seK":function(e,t,n){"use strict";n.d(t,"a",function(){return i});var r=n("xwJx");const i={class:"1e208d40-f7c3-438c-afda-628fa946fe36",root:n("5puH").e.root,collection:r.w.entities.collection,properties:{created:r.w.entities.attributes.created,modified:r.w.entities.attributes.modified,name:r.w.entities.attributes.name}}},"8/+R":function(e,t,n){!function(e){"use strict";var t={1:"\u0a67",2:"\u0a68",3:"\u0a69",4:"\u0a6a",5:"\u0a6b",6:"\u0a6c",7:"\u0a6d",8:"\u0a6e",9:"\u0a6f",0:"\u0a66"},n={"\u0a67":"1","\u0a68":"2","\u0a69":"3","\u0a6a":"4","\u0a6b":"5","\u0a6c":"6","\u0a6d":"7","\u0a6e":"8","\u0a6f":"9","\u0a66":"0"};e.defineLocale("pa-in",{months:"\u0a1c\u0a28\u0a35\u0a30\u0a40_\u0a2b\u0a3c\u0a30\u0a35\u0a30\u0a40_\u0a2e\u0a3e\u0a30\u0a1a_\u0a05\u0a2a\u0a4d\u0a30\u0a48\u0a32_\u0a2e\u0a08_\u0a1c\u0a42\u0a28_\u0a1c\u0a41\u0a32\u0a3e\u0a08_\u0a05\u0a17\u0a38\u0a24_\u0a38\u0a24\u0a70\u0a2c\u0a30_\u0a05\u0a15\u0a24\u0a42\u0a2c\u0a30_\u0a28\u0a35\u0a70\u0a2c\u0a30_\u0a26\u0a38\u0a70\u0a2c\u0a30".split("_"),monthsShort:"\u0a1c\u0a28\u0a35\u0a30\u0a40_\u0a2b\u0a3c\u0a30\u0a35\u0a30\u0a40_\u0a2e\u0a3e\u0a30\u0a1a_\u0a05\u0a2a\u0a4d\u0a30\u0a48\u0a32_\u0a2e\u0a08_\u0a1c\u0a42\u0a28_\u0a1c\u0a41\u0a32\u0a3e\u0a08_\u0a05\u0a17\u0a38\u0a24_\u0a38\u0a24\u0a70\u0a2c\u0a30_\u0a05\u0a15\u0a24\u0a42\u0a2c\u0a30_\u0a28\u0a35\u0a70\u0a2c\u0a30_\u0a26\u0a38\u0a70\u0a2c\u0a30".split("_"),weekdays:"\u0a10\u0a24\u0a35\u0a3e\u0a30_\u0a38\u0a4b\u0a2e\u0a35\u0a3e\u0a30_\u0a2e\u0a70\u0a17\u0a32\u0a35\u0a3e\u0a30_\u0a2c\u0a41\u0a27\u0a35\u0a3e\u0a30_\u0a35\u0a40\u0a30\u0a35\u0a3e\u0a30_\u0a38\u0a3c\u0a41\u0a71\u0a15\u0a30\u0a35\u0a3e\u0a30_\u0a38\u0a3c\u0a28\u0a40\u0a1a\u0a30\u0a35\u0a3e\u0a30".split("_"),weekdaysShort:"\u0a10\u0a24_\u0a38\u0a4b\u0a2e_\u0a2e\u0a70\u0a17\u0a32_\u0a2c\u0a41\u0a27_\u0a35\u0a40\u0a30_\u0a38\u0a3c\u0a41\u0a15\u0a30_\u0a38\u0a3c\u0a28\u0a40".split("_"),weekdaysMin:"\u0a10\u0a24_\u0a38\u0a4b\u0a2e_\u0a2e\u0a70\u0a17\u0a32_\u0a2c\u0a41\u0a27_\u0a35\u0a40\u0a30_\u0a38\u0a3c\u0a41\u0a15\u0a30_\u0a38\u0a3c\u0a28\u0a40".split("_"),longDateFormat:{LT:"A h:mm \u0a35\u0a1c\u0a47",LTS:"A h:mm:ss \u0a35\u0a1c\u0a47",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0a35\u0a1c\u0a47",LLLL:"dddd, D MMMM YYYY, A h:mm \u0a35\u0a1c\u0a47"},calendar:{sameDay:"[\u0a05\u0a1c] LT",nextDay:"[\u0a15\u0a32] LT",nextWeek:"[\u0a05\u0a17\u0a32\u0a3e] dddd, LT",lastDay:"[\u0a15\u0a32] LT",lastWeek:"[\u0a2a\u0a3f\u0a1b\u0a32\u0a47] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0a35\u0a3f\u0a71\u0a1a",past:"%s \u0a2a\u0a3f\u0a1b\u0a32\u0a47",s:"\u0a15\u0a41\u0a1d \u0a38\u0a15\u0a3f\u0a70\u0a1f",ss:"%d \u0a38\u0a15\u0a3f\u0a70\u0a1f",m:"\u0a07\u0a15 \u0a2e\u0a3f\u0a70\u0a1f",mm:"%d \u0a2e\u0a3f\u0a70\u0a1f",h:"\u0a07\u0a71\u0a15 \u0a18\u0a70\u0a1f\u0a3e",hh:"%d \u0a18\u0a70\u0a1f\u0a47",d:"\u0a07\u0a71\u0a15 \u0a26\u0a3f\u0a28",dd:"%d \u0a26\u0a3f\u0a28",M:"\u0a07\u0a71\u0a15 \u0a2e\u0a39\u0a40\u0a28\u0a3e",MM:"%d \u0a2e\u0a39\u0a40\u0a28\u0a47",y:"\u0a07\u0a71\u0a15 \u0a38\u0a3e\u0a32",yy:"%d \u0a38\u0a3e\u0a32"},preparse:function(e){return e.replace(/[\u0a67\u0a68\u0a69\u0a6a\u0a6b\u0a6c\u0a6d\u0a6e\u0a6f\u0a66]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/\u0a30\u0a3e\u0a24|\u0a38\u0a35\u0a47\u0a30|\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30|\u0a38\u0a3c\u0a3e\u0a2e/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u0a30\u0a3e\u0a24"===t?e<4?e:e+12:"\u0a38\u0a35\u0a47\u0a30"===t?e:"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30"===t?e>=10?e:e+12:"\u0a38\u0a3c\u0a3e\u0a2e"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"\u0a30\u0a3e\u0a24":e<10?"\u0a38\u0a35\u0a47\u0a30":e<17?"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30":e<20?"\u0a38\u0a3c\u0a3e\u0a2e":"\u0a30\u0a3e\u0a24"},week:{dow:0,doy:6}})}(n("wd/R"))},"8CnT":function(e,t,n){"use strict";n.d(t,"a",function(){return ae}),n.d(t,"b",function(){return X}),n.d(t,"c",function(){return ce}),n.d(t,"d",function(){return le});var r=n("fXoL"),i=n("5+WD"),s=n("vxfF"),o=n("xwJx"),a=n("2Vo4"),c=n("quSY"),l=n("itXk"),u=n("7+OI"),h=n("VRyK"),d=n("Nv8m"),f=n("HDdC"),p=n("LRne"),m=n("vkgz"),g=n("lJxs"),v=n("5+tZ"),y=n("/uUt"),b=n("zx2A");class _{constructor(e,t){this.keySelector=e,this.flushes=t}call(e,t){return t.subscribe(new w(e,this.keySelector,this.flushes))}}class w extends b.b{constructor(e,t,n){super(e),this.keySelector=t,this.values=new Set,n&&this.add(Object(b.c)(n,new b.a(this)))}notifyNext(){this.values.clear()}notifyError(e){this._error(e)}_next(e){this.keySelector?this._useKeySelector(e):this._finalizeNext(e,e)}_useKeySelector(e){let t;const{destination:n}=this;try{t=this.keySelector(e)}catch(r){return void n.error(r)}this._finalizeNext(t,e)}_finalizeNext(e,t){const{values:n}=this;n.has(e)||(n.add(e),this.destination.next(t))}}var S=n("l7GE"),x=n("ZUHj");class O{constructor(e,t){this.observables=e,this.project=t}call(e,t){return t.subscribe(new k(e,this.observables,this.project))}}class k extends S.a{constructor(e,t,n){super(e),this.observables=t,this.project=n,this.toRespond=[];const r=t.length;this.values=new Array(r);for(let i=0;i<r;i++)this.toRespond.push(i);for(let i=0;i<r;i++){let e=t[i];this.add(Object(x.a)(this,e,void 0,i))}}notifyNext(e,t,n){this.values[n]=t;const r=this.toRespond;if(r.length>0){const e=r.indexOf(n);-1!==e&&r.splice(e,1)}}notifyComplete(){}_next(e){if(0===this.toRespond.length){const t=[e,...this.values];this.project?this._tryProject(t):this.destination.next(t)}}_tryProject(e){let t;try{t=this.project.apply(this,e)}catch(n){return void this.destination.error(n)}this.destination.next(t)}}var C=n("nYR2"),M=n("Kqap"),E=n("pLZG"),T=n("ofXK");function j(e,t){1&e&&r.Pc(0)}const D=function(e){return{$implicit:e}};function A(e,t){if(1&e&&(r.Rc(0),r.Id(1,j,1,0,"ng-container",6),r.Qc()),2&e){const e=t.$implicit,n=r.ed();r.zc(1),r.md("ngTemplateOutlet",n.getHeaderCell(e))("ngTemplateOutletContext",r.pd(2,D,e))}}function L(e,t){1&e&&r.Pc(0)}function z(e,t){if(1&e&&(r.Rc(0),r.Id(1,L,1,0,"ng-container",6),r.Qc()),2&e){const e=r.ed(),t=e.$implicit,n=e.index,i=e.count,s=r.ed();r.zc(1),r.md("ngTemplateOutlet",s.getGroup())("ngTemplateOutletContext",s.getGroupContext(t,n,i))}}function P(e,t){1&e&&r.Pc(0)}function I(e,t){if(1&e&&(r.Rc(0),r.Id(1,P,1,0,"ng-container",6),r.Qc()),2&e){const e=t.$implicit,n=r.ed(2),i=n.$implicit,s=n.index,o=n.count,a=r.ed();r.zc(1),r.md("ngTemplateOutlet",a.getCell(e))("ngTemplateOutletContext",a.getItemContext(i,s,o))}}function R(e,t){1&e&&r.Pc(0)}function N(e,t){if(1&e&&(r.Rc(0),r.Id(1,R,1,0,"ng-container",9),r.Qc()),2&e){const e=r.ed(3),t=r.ud(8);r.zc(1),r.md("ngTemplateOutlet",(null==e.placeholderTmpl?null:e.placeholderTmpl.tmpl)||t)}}function H(e,t){if(1&e&&(r.Rc(0),r.Id(1,I,2,2,"ng-container",3),r.Id(2,N,2,1,"ng-container",8),r.Qc()),2&e){const e=r.ed(2);r.zc(1),r.md("ngForOf",e.columns),r.zc(1),r.md("ngIf",!e.columns.length)}}function F(e,t){1&e&&r.Pc(0)}function V(e,t){if(1&e&&(r.Rc(0),r.Id(1,F,1,0,"ng-container",9),r.Qc()),2&e){const e=r.ed(2),t=r.ud(8);r.zc(1),r.md("ngTemplateOutlet",(null==e.placeholderTmpl?null:e.placeholderTmpl.tmpl)||t)}}function B(e,t){if(1&e&&(r.Tc(0,"tr",7),r.Id(1,z,2,2,"ng-container",8),r.Id(2,H,3,2,"ng-container",8),r.Id(3,V,2,1,"ng-container",8),r.Sc()),2&e){const e=t.$implicit,n=r.ed();r.Fd("--group-top-index",null==n.ds?null:n.ds.groupStartIndex(e))("--group-bottom-index",null==n.ds?null:n.ds.groupEndIndex(e)),r.Fc("group",null==n.ds?null:n.ds.isGroup(e)),r.md("coreGridRowSticked",(null==n.ds?null:n.ds.isGroup(e))||void 0),r.zc(1),r.md("ngIf",null==n.ds?null:n.ds.isGroup(e)),r.zc(1),r.md("ngIf",e&&!(null!=n.ds&&n.ds.isGroup(e))),r.zc(1),r.md("ngIf",!e)}}function Y(e,t){1&e&&(r.Tc(0,"td",10),r.Oc(1,"core-progress"),r.Sc())}class U{constructor(e){this.tmpl=e}}U.\u0275fac=function(e){return new(e||U)(r.Nc(r.ib))},U.\u0275dir=r.Ic({type:U}),U.ctorParameters=()=>[{type:r.ib}];class W extends U{}W.\u0275fac=function(e){return q(e||W)},W.\u0275dir=r.Ic({type:W,selectors:[["","coreGridHeaderCell",""]],features:[r.wc]});const q=r.Vc(W);class $ extends U{static ngTemplateContextGuard(e,t){return!0}}$.\u0275fac=function(e){return G(e||$)},$.\u0275dir=r.Ic({type:$,selectors:[["","coreGridCell",""]],features:[r.wc]});const G=r.Vc($);class X{constructor(){this.headerCell=null,this.cell=null}}X.\u0275fac=function(e){return new(e||X)},X.\u0275dir=r.Ic({type:X,selectors:[["","coreGridColumn",""]],contentQueries:function(e,t,n){if(1&e&&(r.Gc(n,W,!0),r.Gc(n,$,!0)),2&e){let e;r.td(e=r.bd())&&(t.headerCell=e.first),r.td(e=r.bd())&&(t.cell=e.first)}},inputs:{key:["coreGridColumn","key"]}}),X.propDecorators={key:[{type:r.G,args:["coreGridColumn"]}],headerCell:[{type:r.r,args:[W]}],cell:[{type:r.r,args:[$]}]};class K extends U{static ngTemplateContextGuard(e,t){return!0}}K.\u0275fac=function(e){return J(e||K)},K.\u0275dir=r.Ic({type:K,selectors:[["","coreGridGroup",""]],features:[r.wc]});const J=r.Vc(K);class Q extends U{}Q.\u0275fac=function(e){return Z(e||Q)},Q.\u0275dir=r.Ic({type:Q,selectors:[["","coreGridPlaceholder",""]],features:[r.wc]});const Z=r.Vc(Q),ee=new r.E("DRAG_CONNECT");class te{constructor(e,t,n){t?t.dropList=e:null==n||n.debug("DropConnect skipping: DRAG_CONNECT is not found")}}te.\u0275fac=function(e){return new(e||te)(r.Nc(i.c),r.Nc(ee,8),r.Nc(o.n,8))},te.\u0275dir=r.Ic({type:te,selectors:[["","cdkDropList",""]]}),te.ctorParameters=()=>[{type:i.c},{type:void 0,decorators:[{type:r.R},{type:r.C,args:[ee]}]},{type:o.n,decorators:[{type:r.R}]}];class ne{constructor(e,t,n){const r=null==t?void 0:t.dropList;r?(e.dropContainer=r,e._dragRef._withDropContainer(r._dropListRef),r.addItem(e)):null==n||n.debug("DragConnect skipping: DRAG_CONNECT or CdkDropList is not found")}}ne.\u0275fac=function(e){return new(e||ne)(r.Nc(i.a),r.Nc(ee,8),r.Nc(o.n,8))},ne.\u0275dir=r.Ic({type:ne,selectors:[["","cdkDrag",""]]}),ne.ctorParameters=()=>[{type:i.a},{type:void 0,decorators:[{type:r.R},{type:r.C,args:[ee]}]},{type:o.n,decorators:[{type:r.R}]}];class re{constructor(e,t,n,r,i=500){this.items=e,this.pageChange=r,this.pageSize=i,this.groups=new Map,this.collapsed=new a.a([]),this.subscription=new c.a,this._isGroup=t,this._getTotal=n}connect(e){const t=this.alwaysWithGroups(this.withCollapsed(this.items),e);return this.watchPages(e),t}disconnect(){this.subscription.unsubscribe(),this.collapsed.next([]),this.groups.clear()}withCollapsed(e){return Object(l.a)([e.pipe(Object(m.a)(e=>{const t=this.collapsed.value.filter(t=>e.includes(t));this.collapsed.value.length!==t.length&&this.collapsed.next(t)})),this.collapsed]).pipe(Object(g.a)(([e,t])=>t.length?t.reduce((e,t)=>(e.splice(e.indexOf(t)+1,this._getTotal(t)),e),e.slice()):e),Object(m.a)(e=>(this.groups.clear(),e.forEach((e,t)=>this._isGroup(e)&&this.groups.set(e,{index:t,total:this._getTotal(e)})))))}alwaysWithGroups(e,t){const n=new a.a({start:0,end:0});return this.subscription.add(t.viewChange.subscribe(e=>n.next(e))),Object(l.a)([e,n]).pipe(Object(g.a)(([e,{start:t,end:n}])=>{const i=e.slice(),s=Array.from(this.groups.values()).map(({index:e})=>e);let o=s.filter(e=>e<=t);o=[...o,...s.filter(e=>e>t&&e<=t+o.length)],r(i,t,o);let a=s.filter(e=>e>n);return a=[...s.filter(e=>e>=n-a.length&&e<=n),...a],r(i,n-a.length,a),i}));function r(e,t,n){const r=n.flatMap((t,n)=>e.splice(t-n,1));e.splice(t,0,...r)}}watchPages(e){this.pageChange&&this.subscription.add(e.viewChange.pipe(Object(v.a)(({start:e,end:t})=>(this.groups.size?Array.from(this.groups.keys()):[void 0]).filter(e=>!e||!this.isCollapsed(e)).reduce((n,r)=>{var i;const{index:s,total:o}=null!==(i=this.groups.get(r))&&void 0!==i?i:{index:0,total:Number.MAX_SAFE_INTEGER},a=Math.max(e-s+1,0),c=Math.min(t-s+1,o-1);if(c>=0&&a<o){const e=Math.floor(a/this.pageSize)+1,t=Math.floor(c/this.pageSize)+1,i=new Array(t-e+1).fill(0).map((t,n)=>e+n);n.push(...i.map(e=>({group:r,page:e})))}return n},[])),Object(y.a)(({group:e,page:t},{group:n,page:r})=>e===n&&t===r)).subscribe(e=>{var t;return null===(t=this.pageChange)||void 0===t?void 0:t.call(this,e)}))}isGroup(e){return this.groups.has(e)}isCollapsed(e){return this.collapsed.value.includes(e)}toggle(e){this.collapsed.next(this.isCollapsed(e)?this.collapsed.value.filter(t=>t!==e):[...this.collapsed.value,e])}getTotal(e){var t;return null===(t=this.groups.get(e))||void 0===t?void 0:t.total}groupStartIndex(e){return this.isGroup(e)?Array.from(this.groups.keys()).indexOf(e):void 0}groupEndIndex(e){const t=this.groupStartIndex(e);return void 0!==t?this.groups.size-1-t:void 0}groupScrollIndex(e){var t,n,r;return(null!==(n=null===(t=this.groups.get(e))||void 0===t?void 0:t.index)&&void 0!==n?n:0)-(null!==(r=this.groupStartIndex(e))&&void 0!==r?r:0)}getGroup(e){var t;const[n]=null!==(t=Array.from(this.groups).find(([,{index:t,total:n}])=>e>t&&e<=t+n))&&void 0!==t?t:[];return n}getLocalIndex(e,t){var n,r;return t-(null!==(r=null===(n=this.groups.get(e))||void 0===n?void 0:n.index)&&void 0!==r?r:0)-1}}const ie={};class se{constructor(e,t){this.el=e,this.detect=t,this.columnTmpls=new r.X,this.groupTmpl=null,this.placeholderTmpl=null,this.pageChange=new r.x,this.orderChange=new r.x,this.columns=[],this.itemSize=0}get viewportOffset(){var e,t;return`-${null!==(t=null===(e=this.viewport)||void 0===e?void 0:e.getOffsetToRenderedContentStart())&&void 0!==t?t:0}px`}ngOnInit(){const e=this.getSource();this.ds=new re(e.data,e.isGroup.bind(e),e.getTotal.bind(e),e=>this.pageChange.emit(e),this.pageSize),this.itemSize=function(e){const t=+getComputedStyle(e).getPropertyValue("--item-size").replace("px","");return isNaN(t)?Object(o.J)("--item-size must be a direct value: number in px"):t}(this.el.nativeElement)}ngAfterContentInit(){this.updateColumns(),this.columnTmpls.changes.subscribe(()=>(this.updateColumns(),this.detect.markForCheck()))}getSource(){var e;return Object(u.a)(this.source)?{data:this.source,isGroup:e=>!1,getTotal:()=>0}:null!==(e=this.source)&&void 0!==e?e:Object(o.J)("source is missing")}getHeaderCell(e){var t,n,r;return null!==(r=null===(n=null===(t=this.columnTmpls.find(t=>t.key===e))||void 0===t?void 0:t.headerCell)||void 0===n?void 0:n.tmpl)&&void 0!==r?r:Object(o.J)(`header cell tmpl for '${e}' is missing`)}getCell(e){var t,n,r;return null!==(r=null===(n=null===(t=this.columnTmpls.find(t=>t.key===e))||void 0===t?void 0:t.cell)||void 0===n?void 0:n.tmpl)&&void 0!==r?r:Object(o.J)(`cell tmpl for '${e}' is missing`)}getGroup(){var e,t;return null!==(t=null===(e=this.groupTmpl)||void 0===e?void 0:e.tmpl)&&void 0!==t?t:Object(o.J)("group tmpl is missing")}getGroupContext(e,t,n){var r,i;const s=this.ds,o=this.viewport;return{$implicit:e,context:{get collapsed(){var t;return null!==(t=null==s?void 0:s.isCollapsed(e))&&void 0!==t&&t},scrollTo(){var t;null==o||o.scrollToIndex(null!==(t=null==s?void 0:s.groupScrollIndex(e))&&void 0!==t?t:-1)},toggle(){null==s||s.toggle(e)}},index:null!==(r=null==s?void 0:s.groupStartIndex(e))&&void 0!==r?r:-1,total:null!==(i=null==s?void 0:s.getTotal(e))&&void 0!==i?i:0,renderIndex:t,renderTotal:n}}getItemContext(e,t,n){var r,i,s,o,a;const c=null===(r=this.ds)||void 0===r?void 0:r.getGroup(t);return{$implicit:e,group:c,index:c?null!==(s=null===(i=this.ds)||void 0===i?void 0:i.getLocalIndex(c,t))&&void 0!==s?s:-1:t,total:c?null!==(a=null===(o=this.ds)||void 0===o?void 0:o.getTotal(c))&&void 0!==a?a:0:n,renderIndex:t,renderTotal:n}}updateColumns(){this.columns.splice(0,this.columns.length,...this.columnTmpls.map(({key:e})=>e))}reorder({previousIndex:e,currentIndex:t,container:n}){if(e!==t){const r=n.getSortedItems().reduce((e,t,n)=>t.disabled?e.set(this.columns[n],n):e,new Map);Object(i.e)(this.columns,e,t),Array.from(r.entries()).forEach(([e,t])=>Object(i.e)(this.columns,this.columns.indexOf(e),t)),this.orderChange.emit(this.columns.slice())}}}se.\u0275fac=function(e){return new(e||se)(r.Nc(r.v),r.Nc(r.k))},se.\u0275cmp=r.Hc({type:se,selectors:[["core-data-grid"]],contentQueries:function(e,t,n){if(1&e&&(r.Gc(n,K,!0),r.Gc(n,Q,!0),r.Gc(n,X,!1)),2&e){let e;r.td(e=r.bd())&&(t.groupTmpl=e.first),r.td(e=r.bd())&&(t.placeholderTmpl=e.first),r.td(e=r.bd())&&(t.columnTmpls=e)}},viewQuery:function(e,t){if(1&e&&r.Od(s.d,!0),2&e){let e;r.td(e=r.bd())&&(t.viewport=e.first)}},hostVars:2,hostBindings:function(e,t){2&e&&r.Fd("--viewport-offset",t.viewportOffset)},inputs:{source:"source",pageSize:"pageSize"},outputs:{pageChange:"pageChange",orderChange:"orderChange"},features:[r.yc([{provide:ee,useValue:ie}])],decls:9,vars:4,consts:[[3,"itemSize"],[1,"data-grid--table"],["cdkDropList","","cdkDropListOrientation","horizontal","cdkDropListLockAxis","x",1,"data-grid--row",3,"coreGridRowSticked","cdkDropListDropped"],[4,"ngFor","ngForOf"],["class","data-grid--row",3,"group","--group-top-index","--group-bottom-index","coreGridRowSticked",4,"cdkVirtualFor","cdkVirtualForOf"],["defaultPlaceholder",""],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"data-grid--row",3,"coreGridRowSticked"],[4,"ngIf"],[4,"ngTemplateOutlet"],["colspan","999",1,"placeholder"]],template:function(e,t){1&e&&(r.Tc(0,"cdk-virtual-scroll-viewport",0),r.Tc(1,"table",1),r.Tc(2,"thead"),r.Tc(3,"tr",2),r.ad("cdkDropListDropped",function(e){return t.reorder(e)}),r.Id(4,A,2,4,"ng-container",3),r.Sc(),r.Sc(),r.Tc(5,"tbody"),r.Id(6,B,4,10,"tr",4),r.Sc(),r.Sc(),r.Sc(),r.Id(7,Y,2,0,"ng-template",null,5,r.Jd)),2&e&&(r.md("itemSize",t.itemSize),r.zc(3),r.md("coreGridRowSticked",!0),r.zc(1),r.md("ngForOf",t.columns),r.zc(2),r.md("cdkVirtualForOf",t.ds))},directives:function(){return[s.d,s.a,i.c,te,oe,T.n,s.c,T.t,T.o,o.q]},styles:["[_nghost-%COMP%] {\n        \n\n        display: block;\n        height: 100%;\n      }\n\n      cdk-virtual-scroll-viewport[_ngcontent-%COMP%] {\n        height: inherit;\n      }\n\n      [_nghost-%COMP%]  .cdk-virtual-scroll-content-wrapper {\n        will-change: transform;\n      }\n\n      [_nghost-%COMP%]  .cdk-virtual-scroll-spacer {\n        will-change: height;\n      }\n\n      table[_ngcontent-%COMP%] {\n        width: 100%;\n      }\n\n      \n      .data-grid--row[_ngcontent-%COMP%]  > th, .data-grid--row.group[_ngcontent-%COMP%]  > td {\n        z-index: 2; \n        position: sticky;\n      }\n\n      tr[_ngcontent-%COMP%]  > th {\n        top: var(--viewport-offset);\n        will-change: top;\n      }\n\n      .group[_ngcontent-%COMP%]  > td {\n        top: calc(var(--viewport-offset) + var(--header-size) + var(--group-size) * var(--group-top-index));\n        bottom: calc(var(--viewport-offset) * -1 + var(--group-size) * var(--group-bottom-index));\n        will-change: top, bottom;\n      }\n\n      .placeholder[_ngcontent-%COMP%]   core-progress[_ngcontent-%COMP%] {\n        --progress-height: calc(var(--item-size) / 2);\n        padding: 0 var(--progress-height);\n      }"],changeDetection:0}),se.ctorParameters=()=>[{type:r.v},{type:r.k}],se.propDecorators={viewport:[{type:r.mb,args:[s.d]}],columnTmpls:[{type:r.s,args:[X]}],groupTmpl:[{type:r.r,args:[K]}],placeholderTmpl:[{type:r.r,args:[Q]}],source:[{type:r.G}],pageSize:[{type:r.G}],pageChange:[{type:r.S}],orderChange:[{type:r.S}],viewportOffset:[{type:r.z,args:["style.--viewport-offset"]}]};class oe{constructor(e,t){this.el=e,this.viewport=t}ngOnInit(){var e,t;this.parent=this.enabled?null===(e=this.viewport)||void 0===e?void 0:e.elementRef.nativeElement:void 0,null===(t=this.parent)||void 0===t||t.addEventListener("scroll",this.handler=()=>this.update()),this.parent&&this.update()}ngOnDestroy(){var e;this.handler&&(null===(e=this.parent)||void 0===e||e.removeEventListener("scroll",this.handler))}update(){var e,t,n,r;const i=this.el.nativeElement,{top:s}=i.getBoundingClientRect(),o=null!==(t=null===(e=i.firstElementChild)||void 0===e?void 0:e.getBoundingClientRect().top)&&void 0!==t?t:0,a=null!==(r=null===(n=i.previousElementSibling)||void 0===n?void 0:n.getBoundingClientRect().bottom)&&void 0!==r?r:o,c=s<o,l=!c&&o!==a;i.classList.toggle("top-sticked",c),i.classList.toggle("bottom-sticked",l)}}oe.\u0275fac=function(e){return new(e||oe)(r.Nc(r.v),r.Nc(s.d,8))},oe.\u0275dir=r.Ic({type:oe,selectors:[["","coreGridRowSticked",""]],inputs:{enabled:["coreGridRowSticked","enabled"]}}),oe.ctorParameters=()=>[{type:r.v},{type:s.d,decorators:[{type:r.R}]}],oe.propDecorators={enabled:[{type:r.G,args:["coreGridRowSticked"]}]};class ae{}function ce(e,t,n,r,i){const s=new Map;let o=0;const a=Object(l.a)([e,t]),c=Object(h.a)(n,a.pipe(Object(g.a)(()=>1))).pipe((u=void 0,p=a,e=>e.lift(new _(u,p))));var u,p;return Object(h.a)(a.pipe(Object(g.a)(()=>new Array(o).fill(void 0))),c.pipe(function(...e){return t=>{let n;"function"==typeof e[e.length-1]&&(n=e.pop());const r=e;return t.lift(new O(r,n))}}(a),Object(v.a)(([e,[t,n]])=>(y(1===e?void 0:e),Object(d.a)(i(t,n,{skip:(e-1)*r,take:r}),function(e){return new f.a(t=>{s.set(e,()=>t.complete())})}(e)).pipe(Object(C.a)(()=>y(e))))),Object(M.a)((e,{skipped:t,total:n,items:r})=>{!t&&(e=[]);const i=e.slice(0,n).concat(new Array(Math.max(n-e.length,0)).fill(void 0));return i.splice(null!=t?t:0,r.length,...r),i},[]),Object(m.a)(e=>o=e.length)));function y(e){(e?[e]:Array.from(s.keys())).forEach(e=>{var t;null===(t=s.get(e))||void 0===t||t(),s.delete(e)})}}function le(e,t,n,r,i,s,o){return Object(l.a)(e.map(e=>Object(h.a)(ce(t,n,r.pipe(Object(E.a)(({group:t})=>t===e),Object(g.a)(({page:e})=>e)),i,(t,n,r)=>s(e,t,n,r)).pipe(Object(m.a)(t=>null==o?void 0:o(e,t)),Object(g.a)(t=>[e,...t])),Object(p.a)([e,void 0])))).pipe(Object(g.a)(e=>e.flat()))}ae.\u0275mod=r.Lc({type:ae}),ae.\u0275inj=r.Kc({factory:function(e){return new(e||ae)},imports:[[T.c,s.f,i.d,o.g]]}),("undefined"==typeof ngJitMode||ngJitMode)&&r.Bd(ae,{declarations:function(){return[se,X,W,$,K,Q,oe,ne,te]},imports:function(){return[T.c,s.f,i.d,o.g]},exports:function(){return[se,X,W,$,K,Q,oe,ne,te]}})},"8LU1":function(e,t,n){"use strict";n.d(t,"a",function(){return o}),n.d(t,"b",function(){return a}),n.d(t,"c",function(){return i}),n.d(t,"d",function(){return c}),n.d(t,"e",function(){return l}),n.d(t,"f",function(){return s});var r=n("fXoL");function i(e){return null!=e&&""+e!="false"}function s(e,t=0){return o(e)?Number(e):t}function o(e){return!isNaN(parseFloat(e))&&!isNaN(Number(e))}function a(e){return Array.isArray(e)?e:[e]}function c(e){return null==e?"":"string"==typeof e?e:e+"px"}function l(e){return e instanceof r.v?e.nativeElement:e}},"8mBD":function(e,t,n){!function(e){"use strict";e.defineLocale("pt",{months:"janeiro_fevereiro_mar\xe7o_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"Domingo_Segunda-feira_Ter\xe7a-feira_Quarta-feira_Quinta-feira_Sexta-feira_S\xe1bado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_S\xe1b".split("_"),weekdaysMin:"Do_2\xaa_3\xaa_4\xaa_5\xaa_6\xaa_S\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY HH:mm"},calendar:{sameDay:"[Hoje \xe0s] LT",nextDay:"[Amanh\xe3 \xe0s] LT",nextWeek:"dddd [\xe0s] LT",lastDay:"[Ontem \xe0s] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[\xdaltimo] dddd [\xe0s] LT":"[\xdaltima] dddd [\xe0s] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"h\xe1 %s",s:"segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",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"))},"8snH":function(e,t,n){"use strict";n.d(t,"b",function(){return a}),n.d(t,"a",function(){return c});var r=n("mrSG"),i=n("fXoL"),s=n("xwJx"),o=n("KVvn");const a={[o.a.Approved]:"\u0421\u043e\u0433\u043b\u0430\u0441\u043e\u0432\u0430\u043d\u043e",[o.a.InProgress]:"\u0412 \u0440\u0430\u0431\u043e\u0442\u0435",[o.a.Rejected]:"\u041e\u0442\u043a\u043b\u043e\u043d\u0435\u043d\u043e",[o.a.Expired]:"\u041f\u0440\u043e\u0441\u0440\u043e\u0447\u0435\u043d\u043e",[o.a.Expertise]:"\u041d\u0430 \u044d\u043a\u0441\u043f\u0435\u0440\u0442\u0438\u0437\u0435",[o.a.ReleasedForWork]:"\u0412\u044b\u0434\u0430\u043d \u0432 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0441\u0442\u0432\u043e \u0440\u0430\u0431\u043e\u0442",[o.a.WithdrawnFromWork]:"\u041e\u0442\u043e\u0437\u0432\u0430\u043d \u0438\u0437 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0441\u0442\u0432\u0430 \u0440\u0430\u0431\u043e\u0442"};let c=class{constructor(){this.showColumns=!0,this.items=Object.entries(a).map(([e,t])=>({name:t,status:o.a[+e].toLowerCase()})).sort(Object(s.u)())}};c.propDecorators={showColumns:[{type:i.G}]},c=Object(r.b)([Object(i.n)({selector:"app-status-legend-dropdown",template:'\n    <ng-container coreDropdownHost>\n      <button *ngIf="showColumns" (click)="dropdown.open()" [ngClass]="{ \'is-active\': dropdown.opened }" class="button is-white">\n        <core-icon name="app:16-info"></core-icon>&nbsp;\u041b\u0435\u0433\u0435\u043d\u0434\u0430\n      </button>\n\n      <core-dropdown align="center" #dropdown>\n        <ul class="dropdown-list">\n          <li class="caption"><span>\u0421\u0442\u0430\u0442\u0443\u0441\u044b</span></li>\n          <li *ngFor="let item of items">\n            <span> <span [ngClass]="\'responsible-status--\' + item.status" class="marker"></span> {{ item.name }}</span>\n          </li>\n        </ul>\n      </core-dropdown>\n    </ng-container>\n  ',styles:["\n      :host {\n        display: inline-block;\n      }\n\n      .dropdown-list {\n        min-width: 8em;\n      }\n\n      .caption {\n        font-weight: bold;\n        color: var(--schema-grey600);\n      }\n\n      .marker {\n        width: 0.5em;\n        height: 0.5em;\n        margin-right: 0.5em;\n        display: inline-block;\n        border-radius: 50%;\n      }\n    "]})],c)},"9/EM":function(e,t,n){"use strict";n.d(t,"a",function(){return o});var r=n("/h9T"),i=n("/Tr7"),s=n("jIYg");function o(e,t){Object(s.a)(2,arguments);var n=Object(i.a)(e),o=Object(r.a)(t);return isNaN(o)?new Date(NaN):o?(n.setDate(n.getDate()+o),n):n}},"9eNV":function(e,t,n){"use strict";n.d(t,"a",function(){return v}),n.d(t,"b",function(){return y}),n.d(t,"c",function(){return b}),n.d(t,"d",function(){return S});var r=n("mrSG"),i=n("fXoL"),s=n("5puH"),o=n("xwJx"),a=n("btuV"),c=n("2Vo4"),l=n("qhR1"),u=n("uyU4"),h=n("phRD"),d=n("lU8C"),f=n("JXjb"),p=n("ijM0"),m=n("7seK"),g=n("k1Px");const v=new i.E("CurrentUser"),y=new i.E("CurrentUserObservable"),b=new i.E("RolesTitle");let _,w;const S=[{provide:i.d,useFactory(e,t,n,i){return()=>Object(r.a)(this,void 0,void 0,function*(){var r,o,a,c,u;if(yield e.authenticated.toPromise(),_=yield t.profiles.get(e.identity.name),null===(r=null==_?void 0:_.paymentOrganization)||void 0===r?void 0:r.length){const e=yield n.getPaymentOrganization(_.paymentOrganization[0].id,_.paymentOrganization[0].classId);e.length&&(_.paymentOrganization=[Object.assign(Object.assign({},_.paymentOrganization[0]),e[0])])}(null===(o=null==_?void 0:_.projectAreas)||void 0===o?void 0:o.length)?x(_.projectAreas[0].id):(null===(c=null===(a=null==_?void 0:_.paymentOrganization)||void 0===a?void 0:a.projectAreas)||void 0===c?void 0:c.length)?x(null===(u=null==_?void 0:_.paymentOrganization)||void 0===u?void 0:u.projectAreas[0].id):s.e.root=0,w=yield i.getCustom(l.k)})},deps:[o.b,a.c,p.a,o.r],multi:!0},{provide:v,useFactory:()=>null!=_?_:Object(o.J)("Current user is not ready yet")},{provide:y,useFactory(){var e;return null!==(e=new c.a(_))&&void 0!==e?e:Object(o.J)("Current user is not ready yet")}},{provide:b,useFactory:()=>w||l.f}];function x(e){s.e.root=e,u.a.root=e,h.a.root=e,m.a.root=e,g.a.root=e,d.a.root=e,f.a.root=e}},"9eR8":function(e,t,n){"use strict";n.d(t,"a",function(){return i});var r=n("xwJx");const i={class:"ed9456bf-4bb5-4f26-88e0-a5a9768e3b21",root:n("5puH").e.root,collection:r.w.entities.collection,properties:{name:r.w.entities.attributes.name,value:"aa9683be-03b1-4e35-b494-e9b55372a237",description:"691e9da0-4012-43f3-a574-c999c5049afb"}}},"9ppp":function(e,t,n){"use strict";n.d(t,"a",function(){return r});const r=(()=>{function e(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return e.prototype=Object.create(Error.prototype),e})()},"9rRi":function(e,t,n){!function(e){"use strict";var t=["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"],n=["Faoi","Gear","M\xe0rt","Gibl","C\xe8it","\xd2gmh","Iuch","L\xf9n","Sult","D\xe0mh","Samh","D\xf9bh"],r=["Did\xf2mhnaich","Diluain","Dim\xe0irt","Diciadain","Diardaoin","Dihaoine","Disathairne"],i=["Did","Dil","Dim","Dic","Dia","Dih","Dis"],s=["D\xf2","Lu","M\xe0","Ci","Ar","Ha","Sa"];e.defineLocale("gd",{months:t,monthsShort:n,monthsParseExact:!0,weekdays:r,weekdaysShort:i,weekdaysMin:s,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[An-diugh aig] LT",nextDay:"[A-m\xe0ireach aig] LT",nextWeek:"dddd [aig] LT",lastDay:"[An-d\xe8 aig] LT",lastWeek:"dddd [seo chaidh] [aig] LT",sameElse:"L"},relativeTime:{future:"ann an %s",past:"bho chionn %s",s:"beagan diogan",ss:"%d diogan",m:"mionaid",mm:"%d mionaidean",h:"uair",hh:"%d uairean",d:"latha",dd:"%d latha",M:"m\xecos",MM:"%d m\xecosan",y:"bliadhna",yy:"%d bliadhna"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(e){return e+(1===e?"d":e%10==2?"na":"mh")},week:{dow:1,doy:4}})}(n("wd/R"))},"A+xa":function(e,t,n){!function(e){"use strict";e.defineLocale("cv",{months:"\u043a\u04d1\u0440\u043b\u0430\u0447_\u043d\u0430\u0440\u04d1\u0441_\u043f\u0443\u0448_\u0430\u043a\u0430_\u043c\u0430\u0439_\u04ab\u04d7\u0440\u0442\u043c\u0435_\u0443\u0442\u04d1_\u04ab\u0443\u0440\u043b\u0430_\u0430\u0432\u04d1\u043d_\u044e\u043f\u0430_\u0447\u04f3\u043a_\u0440\u0430\u0448\u0442\u0430\u0432".split("_"),monthsShort:"\u043a\u04d1\u0440_\u043d\u0430\u0440_\u043f\u0443\u0448_\u0430\u043a\u0430_\u043c\u0430\u0439_\u04ab\u04d7\u0440_\u0443\u0442\u04d1_\u04ab\u0443\u0440_\u0430\u0432\u043d_\u044e\u043f\u0430_\u0447\u04f3\u043a_\u0440\u0430\u0448".split("_"),weekdays:"\u0432\u044b\u0440\u0441\u0430\u0440\u043d\u0438\u043a\u0443\u043d_\u0442\u0443\u043d\u0442\u0438\u043a\u0443\u043d_\u044b\u0442\u043b\u0430\u0440\u0438\u043a\u0443\u043d_\u044e\u043d\u043a\u0443\u043d_\u043a\u04d7\u04ab\u043d\u0435\u0440\u043d\u0438\u043a\u0443\u043d_\u044d\u0440\u043d\u0435\u043a\u0443\u043d_\u0448\u04d1\u043c\u0430\u0442\u043a\u0443\u043d".split("_"),weekdaysShort:"\u0432\u044b\u0440_\u0442\u0443\u043d_\u044b\u0442\u043b_\u044e\u043d_\u043a\u04d7\u04ab_\u044d\u0440\u043d_\u0448\u04d1\u043c".split("_"),weekdaysMin:"\u0432\u0440_\u0442\u043d_\u044b\u0442_\u044e\u043d_\u043a\u04ab_\u044d\u0440_\u0448\u043c".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7]",LLL:"YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7], HH:mm",LLLL:"dddd, YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7], HH:mm"},calendar:{sameDay:"[\u041f\u0430\u044f\u043d] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",nextDay:"[\u042b\u0440\u0430\u043d] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",lastDay:"[\u04d6\u043d\u0435\u0440] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",nextWeek:"[\u04aa\u0438\u0442\u0435\u0441] dddd LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",lastWeek:"[\u0418\u0440\u0442\u043d\u04d7] dddd LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",sameElse:"L"},relativeTime:{future:function(e){return e+(/\u0441\u0435\u0445\u0435\u0442$/i.exec(e)?"\u0440\u0435\u043d":/\u04ab\u0443\u043b$/i.exec(e)?"\u0442\u0430\u043d":"\u0440\u0430\u043d")},past:"%s \u043a\u0430\u044f\u043b\u043b\u0430",s:"\u043f\u04d7\u0440-\u0438\u043a \u04ab\u0435\u043a\u043a\u0443\u043d\u0442",ss:"%d \u04ab\u0435\u043a\u043a\u0443\u043d\u0442",m:"\u043f\u04d7\u0440 \u043c\u0438\u043d\u0443\u0442",mm:"%d \u043c\u0438\u043d\u0443\u0442",h:"\u043f\u04d7\u0440 \u0441\u0435\u0445\u0435\u0442",hh:"%d \u0441\u0435\u0445\u0435\u0442",d:"\u043f\u04d7\u0440 \u043a\u0443\u043d",dd:"%d \u043a\u0443\u043d",M:"\u043f\u04d7\u0440 \u0443\u0439\u04d1\u0445",MM:"%d \u0443\u0439\u04d1\u0445",y:"\u043f\u04d7\u0440 \u04ab\u0443\u043b",yy:"%d \u04ab\u0443\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-\u043c\u04d7\u0448/,ordinal:"%d-\u043c\u04d7\u0448",week:{dow:1,doy:7}})}(n("wd/R"))},AQ68:function(e,t,n){!function(e){"use strict";e.defineLocale("uz-latn",{months:"Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr".split("_"),monthsShort:"Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek".split("_"),weekdays:"Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba".split("_"),weekdaysShort:"Yak_Dush_Sesh_Chor_Pay_Jum_Shan".split("_"),weekdaysMin:"Ya_Du_Se_Cho_Pa_Ju_Sha".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Bugun soat] LT [da]",nextDay:"[Ertaga] LT [da]",nextWeek:"dddd [kuni soat] LT [da]",lastDay:"[Kecha soat] LT [da]",lastWeek:"[O'tgan] dddd [kuni soat] LT [da]",sameElse:"L"},relativeTime:{future:"Yaqin %s ichida",past:"Bir necha %s oldin",s:"soniya",ss:"%d soniya",m:"bir daqiqa",mm:"%d daqiqa",h:"bir soat",hh:"%d soat",d:"bir kun",dd:"%d kun",M:"bir oy",MM:"%d oy",y:"bir yil",yy:"%d yil"},week:{dow:1,doy:7}})}(n("wd/R"))},Aayy:function(e,t,n){"use strict";n.d(t,"a",function(){return g});var r=n("mrSG"),i=n("fXoL"),s=n("xwJx"),o=n("mjQ1"),a=n("SURy"),c=n("2kdd"),l=n("uyU4"),u=n("JXjb"),h=n("W8w0"),d=n("Jy0u"),f=n("phRD"),p=n("7seK");const m="ems.favorites";let g=class{constructor(e,t,n,i){this.service=e,this.entities=t,this.metadata=n,this.logger=i,this.map=new Map,this.settings=Promise.resolve(void 0),this.flush=function(e,t=1e3){let n=0;return()=>{window.clearTimeout(n),n=window.setTimeout(e,t)}}(()=>Object(r.a)(this,void 0,void 0,function*(){try{const e=Array.from(this.map.entries()).reduce((e,[t,n])=>(e[t]=n,e),{});yield this.service.setCustom({[m]:e}),this.settings=Promise.resolve(e)}catch(e){this.logger.warn("Failed to update settings for favorites",e)}})),this.init()}init(){var e;return Object(r.a)(this,void 0,void 0,function*(){try{const t=null!==(e=yield this.settings=this.service.getCustom(m))&&void 0!==e?e:{};this.map=new Map(Object.entries(t).map(([e,t])=>[+e,t]))}catch(t){this.logger.warn("Failed to get favorites from settings",t)}})}has(e){return this.map.has(e)}add(e,t){this.map.set(e,t),this.flush()}remove(e){this.map.delete(e),this.flush()}get(){var e;return Object(r.a)(this,void 0,void 0,function*(){const t=Object.keys(null!==(e=yield this.settings)&&void 0!==e?e:{});if(t.length){const e=yield this.metadata.classes.get(l.a.class),r=yield this.metadata.classes.get(p.a.class),{items:i}=yield this.entities.analytic.query({where:Object(c.b)(t.map(e=>({id:{eq:e}}))),select:Object(o.f)(l.a,e,"name"),join:{ancestors:{where:Object(d.b)(r.id),select:Object(o.f)(p.a,r,"name")}}},{skip:0,take:1e5}).toPromise();return[...n(i,h.a.Doc),...n(i,h.a.LKP)]}return[];function n(e,t){return Object(d.j)(e,{schema:t===h.a.Doc?f.a:u.a,connect:([e],n)=>(n.kind=t,e.push(n))},{schema:p.a,connect:([e,t],{name:n})=>t.documentType=n}).sort(Object(s.t)(({name:e,documentType:t})=>`${t} ${e}`))}})}};g.ctorParameters=()=>[{type:s.r},{type:o.a},{type:a.c},{type:s.n}],g=Object(r.b)([Object(i.D)({providedIn:"root"})],g)},AvvY:function(e,t,n){!function(e){"use strict";e.defineLocale("ml",{months:"\u0d1c\u0d28\u0d41\u0d35\u0d30\u0d3f_\u0d2b\u0d46\u0d2c\u0d4d\u0d30\u0d41\u0d35\u0d30\u0d3f_\u0d2e\u0d3e\u0d7c\u0d1a\u0d4d\u0d1a\u0d4d_\u0d0f\u0d2a\u0d4d\u0d30\u0d3f\u0d7d_\u0d2e\u0d47\u0d2f\u0d4d_\u0d1c\u0d42\u0d7a_\u0d1c\u0d42\u0d32\u0d48_\u0d13\u0d17\u0d38\u0d4d\u0d31\u0d4d\u0d31\u0d4d_\u0d38\u0d46\u0d2a\u0d4d\u0d31\u0d4d\u0d31\u0d02\u0d2c\u0d7c_\u0d12\u0d15\u0d4d\u0d1f\u0d4b\u0d2c\u0d7c_\u0d28\u0d35\u0d02\u0d2c\u0d7c_\u0d21\u0d3f\u0d38\u0d02\u0d2c\u0d7c".split("_"),monthsShort:"\u0d1c\u0d28\u0d41._\u0d2b\u0d46\u0d2c\u0d4d\u0d30\u0d41._\u0d2e\u0d3e\u0d7c._\u0d0f\u0d2a\u0d4d\u0d30\u0d3f._\u0d2e\u0d47\u0d2f\u0d4d_\u0d1c\u0d42\u0d7a_\u0d1c\u0d42\u0d32\u0d48._\u0d13\u0d17._\u0d38\u0d46\u0d2a\u0d4d\u0d31\u0d4d\u0d31._\u0d12\u0d15\u0d4d\u0d1f\u0d4b._\u0d28\u0d35\u0d02._\u0d21\u0d3f\u0d38\u0d02.".split("_"),monthsParseExact:!0,weekdays:"\u0d1e\u0d3e\u0d2f\u0d31\u0d3e\u0d34\u0d4d\u0d1a_\u0d24\u0d3f\u0d19\u0d4d\u0d15\u0d33\u0d3e\u0d34\u0d4d\u0d1a_\u0d1a\u0d4a\u0d35\u0d4d\u0d35\u0d3e\u0d34\u0d4d\u0d1a_\u0d2c\u0d41\u0d27\u0d28\u0d3e\u0d34\u0d4d\u0d1a_\u0d35\u0d4d\u0d2f\u0d3e\u0d34\u0d3e\u0d34\u0d4d\u0d1a_\u0d35\u0d46\u0d33\u0d4d\u0d33\u0d3f\u0d2f\u0d3e\u0d34\u0d4d\u0d1a_\u0d36\u0d28\u0d3f\u0d2f\u0d3e\u0d34\u0d4d\u0d1a".split("_"),weekdaysShort:"\u0d1e\u0d3e\u0d2f\u0d7c_\u0d24\u0d3f\u0d19\u0d4d\u0d15\u0d7e_\u0d1a\u0d4a\u0d35\u0d4d\u0d35_\u0d2c\u0d41\u0d27\u0d7b_\u0d35\u0d4d\u0d2f\u0d3e\u0d34\u0d02_\u0d35\u0d46\u0d33\u0d4d\u0d33\u0d3f_\u0d36\u0d28\u0d3f".split("_"),weekdaysMin:"\u0d1e\u0d3e_\u0d24\u0d3f_\u0d1a\u0d4a_\u0d2c\u0d41_\u0d35\u0d4d\u0d2f\u0d3e_\u0d35\u0d46_\u0d36".split("_"),longDateFormat:{LT:"A h:mm -\u0d28\u0d41",LTS:"A h:mm:ss -\u0d28\u0d41",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm -\u0d28\u0d41",LLLL:"dddd, D MMMM YYYY, A h:mm -\u0d28\u0d41"},calendar:{sameDay:"[\u0d07\u0d28\u0d4d\u0d28\u0d4d] LT",nextDay:"[\u0d28\u0d3e\u0d33\u0d46] LT",nextWeek:"dddd, LT",lastDay:"[\u0d07\u0d28\u0d4d\u0d28\u0d32\u0d46] LT",lastWeek:"[\u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d",past:"%s \u0d2e\u0d41\u0d7b\u0d2a\u0d4d",s:"\u0d05\u0d7d\u0d2a \u0d28\u0d3f\u0d2e\u0d3f\u0d37\u0d19\u0d4d\u0d19\u0d7e",ss:"%d \u0d38\u0d46\u0d15\u0d4d\u0d15\u0d7b\u0d21\u0d4d",m:"\u0d12\u0d30\u0d41 \u0d2e\u0d3f\u0d28\u0d3f\u0d31\u0d4d\u0d31\u0d4d",mm:"%d \u0d2e\u0d3f\u0d28\u0d3f\u0d31\u0d4d\u0d31\u0d4d",h:"\u0d12\u0d30\u0d41 \u0d2e\u0d23\u0d3f\u0d15\u0d4d\u0d15\u0d42\u0d7c",hh:"%d \u0d2e\u0d23\u0d3f\u0d15\u0d4d\u0d15\u0d42\u0d7c",d:"\u0d12\u0d30\u0d41 \u0d26\u0d3f\u0d35\u0d38\u0d02",dd:"%d \u0d26\u0d3f\u0d35\u0d38\u0d02",M:"\u0d12\u0d30\u0d41 \u0d2e\u0d3e\u0d38\u0d02",MM:"%d \u0d2e\u0d3e\u0d38\u0d02",y:"\u0d12\u0d30\u0d41 \u0d35\u0d7c\u0d37\u0d02",yy:"%d \u0d35\u0d7c\u0d37\u0d02"},meridiemParse:/\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f|\u0d30\u0d3e\u0d35\u0d3f\u0d32\u0d46|\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d|\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02|\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f/i,meridiemHour:function(e,t){return 12===e&&(e=0),"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"===t&&e>=4||"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d"===t||"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02"===t?e+12:e},meridiem:function(e,t,n){return e<4?"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f":e<12?"\u0d30\u0d3e\u0d35\u0d3f\u0d32\u0d46":e<17?"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d":e<20?"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02":"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"}})}(n("wd/R"))},B3WS:function(e,t,n){"use strict";function r(e,t){if(e.length){const n=e.map(e=>{const n=e.path.split(".").reverse();return e.length=n.length,e.parentId=n[1],e.parentNode=t,e.opened=!1,e}).sort((e,t)=>t.length-e.length),r=n[n.length-1].length;return n.forEach(e=>{let t=n.find(t=>t.id===+e.parentId);t&&(t.children?t.children.push(e):t.children=[e])}),n.filter(e=>e.length===r)}}function i(e){return Object.keys(e).forEach(t=>{e[t]||delete e[t]}),e}function s(e,t,n,r){const i={};let s={};return e.forEach(e=>{s=i;let n=[];if(r){const r=t.find(t=>t.file.name===e.originFile.name);r&&(n=r.path.split("/").filter(e=>!!e))}else n=e.originFile.webkitRelativePath.split("/"),n.pop();n.length?n.forEach((t,r)=>{s[t]||(s[t]={}),r===n.length-1&&(s[t].files?s[t].files.push(e):s[t].files=[e]),s=s[t]}):s.files?s.files.push(e):s.files=[e]}),n.forEach(e=>{s=i;e.path.split("/").filter(e=>!!e).forEach(e=>{s[e]||(s[e]={}),s=s[e]})}),i}n.d(t,"a",function(){return r}),n.d(t,"c",function(){return i}),n.d(t,"b",function(){return s})},B55N:function(e,t,n){!function(e){"use strict";e.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(e,t){return"\u5143"===t[1]?1:parseInt(t[1]||e,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(e){return"\u5348\u5f8c"===e},meridiem:function(e,t,n){return e<12?"\u5348\u524d":"\u5348\u5f8c"},calendar:{sameDay:"[\u4eca\u65e5] LT",nextDay:"[\u660e\u65e5] LT",nextWeek:function(e){return e.week()!==this.week()?"[\u6765\u9031]dddd LT":"dddd LT"},lastDay:"[\u6628\u65e5] LT",lastWeek:function(e){return this.week()!==e.week()?"[\u5148\u9031]dddd LT":"dddd LT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}\u65e5/,ordinal:function(e,t){switch(t){case"y":return 1===e?"\u5143\u5e74":e+"\u5e74";case"d":case"D":case"DDD":return e+"\u65e5";default:return e}},relativeTime:{future:"%s\u5f8c",past:"%s\u524d",s:"\u6570\u79d2",ss:"%d\u79d2",m:"1\u5206",mm:"%d\u5206",h:"1\u6642\u9593",hh:"%d\u6642\u9593",d:"1\u65e5",dd:"%d\u65e5",M:"1\u30f6\u6708",MM:"%d\u30f6\u6708",y:"1\u5e74",yy:"%d\u5e74"}})}(n("wd/R"))},BKcn:function(e,t,n){"use strict";n.d(t,"a",function(){return s}),n.d(t,"b",function(){return o});var r=n("xwJx"),i=n("5puH");const s="aa192367-41f5-490d-87c0-3fcc1c47e2ef",o={class:"0f8aabe0-0ac6-470c-9b71-4e23766428ce",root:i.e.root,collection:r.w.entities.collection,properties:{created:r.w.entities.attributes.created,name:r.w.entities.attributes.name}}},BVg3:function(e,t,n){!function(e){"use strict";function t(e){return e%100==11||e%10!=1}function n(e,n,r,i){var s=e+" ";switch(r){case"s":return n||i?"nokkrar sek\xfandur":"nokkrum sek\xfandum";case"ss":return t(e)?s+(n||i?"sek\xfandur":"sek\xfandum"):s+"sek\xfanda";case"m":return n?"m\xedn\xfata":"m\xedn\xfatu";case"mm":return t(e)?s+(n||i?"m\xedn\xfatur":"m\xedn\xfatum"):n?s+"m\xedn\xfata":s+"m\xedn\xfatu";case"hh":return t(e)?s+(n||i?"klukkustundir":"klukkustundum"):s+"klukkustund";case"d":return n?"dagur":i?"dag":"degi";case"dd":return t(e)?n?s+"dagar":s+(i?"daga":"d\xf6gum"):n?s+"dagur":s+(i?"dag":"degi");case"M":return n?"m\xe1nu\xf0ur":i?"m\xe1nu\xf0":"m\xe1nu\xf0i";case"MM":return t(e)?n?s+"m\xe1nu\xf0ir":s+(i?"m\xe1nu\xf0i":"m\xe1nu\xf0um"):n?s+"m\xe1nu\xf0ur":s+(i?"m\xe1nu\xf0":"m\xe1nu\xf0i");case"y":return n||i?"\xe1r":"\xe1ri";case"yy":return t(e)?s+(n||i?"\xe1r":"\xe1rum"):s+(n||i?"\xe1r":"\xe1ri")}}e.defineLocale("is",{months:"jan\xfaar_febr\xfaar_mars_apr\xedl_ma\xed_j\xfan\xed_j\xfal\xed_\xe1g\xfast_september_okt\xf3ber_n\xf3vember_desember".split("_"),monthsShort:"jan_feb_mar_apr_ma\xed_j\xfan_j\xfal_\xe1g\xfa_sep_okt_n\xf3v_des".split("_"),weekdays:"sunnudagur_m\xe1nudagur_\xferi\xf0judagur_mi\xf0vikudagur_fimmtudagur_f\xf6studagur_laugardagur".split("_"),weekdaysShort:"sun_m\xe1n_\xferi_mi\xf0_fim_f\xf6s_lau".split("_"),weekdaysMin:"Su_M\xe1_\xder_Mi_Fi_F\xf6_La".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd, D. MMMM YYYY [kl.] H:mm"},calendar:{sameDay:"[\xed dag kl.] LT",nextDay:"[\xe1 morgun kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[\xed g\xe6r kl.] LT",lastWeek:"[s\xed\xf0asta] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"eftir %s",past:"fyrir %s s\xed\xf0an",s: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(e,t,n){!function(e){"use strict";e.defineLocale("fo",{months:"januar_februar_mars_apr\xedl_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sunnudagur_m\xe1nadagur_t\xfdsdagur_mikudagur_h\xf3sdagur_fr\xedggjadagur_leygardagur".split("_"),weekdaysShort:"sun_m\xe1n_t\xfds_mik_h\xf3s_fr\xed_ley".split("_"),weekdaysMin:"su_m\xe1_t\xfd_mi_h\xf3_fr_le".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D. MMMM, YYYY HH:mm"},calendar:{sameDay:"[\xcd dag kl.] LT",nextDay:"[\xcd morgin kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[\xcd gj\xe1r kl.] LT",lastWeek:"[s\xed\xf0stu] dddd [kl] LT",sameElse:"L"},relativeTime:{future:"um %s",past:"%s s\xed\xf0ani",s:"f\xe1 sekund",ss:"%d sekundir",m:"ein minuttur",mm:"%d minuttir",h:"ein t\xedmi",hh:"%d t\xedmar",d:"ein dagur",dd:"%d dagar",M:"ein m\xe1na\xf0ur",MM:"%d m\xe1na\xf0ir",y:"eitt \xe1r",yy:"%d \xe1r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},C2AL:function(e,t,n){"use strict";n.d(t,"a",function(){return s}),n.d(t,"b",function(){return o});var r=n("nLfN"),i=n("fXoL");class s{constructor(e,t){this.elementRef=e,this.renderer=t,this.hidden=null,this.renderer.setAttribute(this.elementRef.nativeElement,"hidden","")}setHiddenAttribute(){!0===this.hidden?this.renderer.setAttribute(this.elementRef.nativeElement,"hidden",""):!1===this.hidden||null===this.hidden?this.renderer.removeAttribute(this.elementRef.nativeElement,"hidden"):"string"==typeof this.hidden&&this.renderer.setAttribute(this.elementRef.nativeElement,"hidden",this.hidden)}ngOnChanges(){this.setHiddenAttribute()}ngAfterViewInit(){this.setHiddenAttribute()}}s.\u0275fac=function(e){return new(e||s)(i.Nc(i.v),i.Nc(i.Y))},s.\u0275dir=i.Ic({type:s,selectors:[["","nz-button",""],["nz-button-group"],["","nz-icon",""],["","nz-menu-item",""],["","nz-submenu",""],["nz-select-top-control"],["nz-select-placeholder"],["nz-input-group"]],inputs:{hidden:"hidden"},features:[i.xc]}),s.ctorParameters=()=>[{type:i.v},{type:i.Y}],s.propDecorators={hidden:[{type:i.G}]};class o{}o.\u0275mod=i.Lc({type:o}),o.\u0275inj=i.Kc({factory:function(e){return new(e||o)},imports:[[r.b]]}),("undefined"==typeof ngJitMode||ngJitMode)&&i.Bd(o,{declarations:function(){return[s]},imports:function(){return[r.b]},exports:function(){return[s]}})},CPho:function(e,t,n){"use strict";n.d(t,"a",function(){return c});var r=n("mrSG"),i=n("fXoL"),s=n("SURy"),o=n("9eNV"),a=n("Ml5Y");let c=class{constructor(e,t,n){this.projectService=e,this.metadata=t,this.user=n,this.filesSize=0,this.volumeLimit=0}checkImport(e){return Object(r.a)(this,void 0,void 0,function*(){return this.filesSize=yield this.getFileSize(e),this.volumeLimit=yield this.getVolume(e),this.volumeLimit>this.filesSize})}getFileSize(e){return Object(r.a)(this,void 0,void 0,function*(){return((yield this.projectService.getById(e).toPromise()).filesSize||0)/1073741824})}getVolume(e){var t;return Object(r.a)(this,void 0,void 0,function*(){const n=yield this.projectService.getProjectLicenses(e).toPromise();if(n.length){let e=[];return(null===(t=this.user.paymentOrganization)||void 0===t?void 0:t.length)&&(e=(yield this.projectService.getVolumeLimit(n[0].id)).filter(e=>e.dateFinished&&new Date(e.dateFinished).getTime()>=(new Date).getTime()&&e.created&&new Date(e.created).getTime()<=(new Date).getTime())),e.reduce((e,t)=>e+t.volume,0)}return 0})}};c.ctorParameters=()=>[{type:a.a},{type:s.c},{type:void 0,decorators:[{type:i.C,args:[o.a]}]}],c=Object(r.b)([Object(i.D)({providedIn:"root"})],c)},Cfvw:function(e,t,n){"use strict";n.d(t,"a",function(){return d});var r=n("HDdC"),i=n("SeVD"),s=n("quSY"),o=n("kJWO");var a=n("jZKg"),c=n("Lhse");var l=n("c2HN"),u=n("I55L");function h(e,t){if(null!=e){if(function(e){return e&&"function"==typeof e[o.a]}(e))return function(e,t){return new r.a(n=>{const r=new s.a;return r.add(t.schedule(()=>{const i=e[o.a]();r.add(i.subscribe({next(e){r.add(t.schedule(()=>n.next(e)))},error(e){r.add(t.schedule(()=>n.error(e)))},complete(){r.add(t.schedule(()=>n.complete()))}}))})),r})}(e,t);if(Object(l.a)(e))return function(e,t){return new r.a(n=>{const r=new s.a;return r.add(t.schedule(()=>e.then(e=>{r.add(t.schedule(()=>{n.next(e),r.add(t.schedule(()=>n.complete()))}))},e=>{r.add(t.schedule(()=>n.error(e)))}))),r})}(e,t);if(Object(u.a)(e))return Object(a.a)(e,t);if(function(e){return e&&"function"==typeof e[c.a]}(e)||"string"==typeof e)return function(e,t){if(!e)throw new Error("Iterable cannot be null");return new r.a(n=>{const r=new s.a;let i;return r.add(()=>{i&&"function"==typeof i.return&&i.return()}),r.add(t.schedule(()=>{i=e[c.a](),r.add(t.schedule(function(){if(n.closed)return;let e,t;try{const n=i.next();e=n.value,t=n.done}catch(r){return void n.error(r)}t?n.complete():(n.next(e),this.schedule())}))})),r})}(e,t)}throw new TypeError((null!==e&&typeof e||e)+" is not observable")}function d(e,t){return t?h(e,t):e instanceof r.a?e:new r.a(Object(i.a)(e))}},CjzT:function(e,t,n){!function(e){"use strict";var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),r=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],i=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;e.defineLocale("es-do",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,r){return e?/-MMM-/.test(r)?n[e.month()]:t[e.month()]:t},monthsRegex:i,monthsShortRegex:i,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:r,longMonthsParse:r,shortMonthsParse:r,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"))},CmFN:function(e,t,n){"use strict";n.d(t,"a",function(){return f});var r,i=n("mrSG"),s=n("fXoL"),o=n("tk/3"),a=n("wVPz"),c=n("qhR1"),l=n("mjQ1"),u=n("SxV6"),h=n("nmCG"),d=n("EY2u");let f=r=class{constructor(e,t,n){this.httpClient=e,this.responsiblesService=t,this.entitiesService=n}set currentProject(e){this._currentProject=e}sendEmailNotification(e,t){return this.httpClient.post("/api/v1/notifications/send",{Recipient:e,Message:t})}sendEmailNotificationFormData(e){return this.httpClient.post("/api/v1/notifications/email/send",e)}sendEmailNotificationToUsers(e,t){const n=e.filter(e=>Object(h.a)(e.email||e.name||""));return n.length?this.sendEmailNotification(n.map(e=>e.email||e.name).join(";"),t):d.a}sendImportDocumentNotification(e,t){return Object(i.a)(this,void 0,void 0,function*(){let n=r.GET_DOCUMENT_IMPORT_MESSAGE(p(e),e.project.name,t);yield this.sendToAllSelectedRole(n,c.e.Dkk)})}sendDDKReject(e){return Object(i.a)(this,void 0,void 0,function*(){let t=yield this.getCurrentProject();const n=yield this.entitiesService.permissions(t.project.id).get(),i=[];Object.keys(n.principals||{}).forEach(e=>{Object.values(n.principals[e].entity).some(e=>e)&&i.push(+e)});let s=r.GET_DDK_DOCUMENT_REJECT_MESSAGE(p(t),t.project.name),o=yield this.responsiblesService.find([c.e.Eol],i).toPromise(),a=(yield this.responsiblesService.find([c.e.ProjectInstitute],i).toPromise()).filter(t=>e.indexOf(t.id)>=0);for(let e of a)try{(null==e?void 0:e.email)&&(yield this.sendEmailNotification(e.email,s).toPromise())}catch(l){console.error(l)}for(let e of o)try{e.email&&(yield this.sendEmailNotification(e.email,s).toPromise())}catch(l){console.error(l)}})}sendToEOL(e){return Object(i.a)(this,void 0,void 0,function*(){let t=yield this.getCurrentProject(),n=r.GET_SEND_TO_EOL_MESSAGE(p(t),t.project.name);try{e&&(yield this.sendEmailNotification(e,n).toPromise())}catch(i){console.error(i)}})}sendToDKKEOLReject(e){return Object(i.a)(this,void 0,void 0,function*(){let t=yield this.getCurrentProject(),n=r.GET_EOL_DOCUMENT_REJECT_MESSAGE(p(t),t.project.name,e);yield this.sendToAllSelectedRole(n,c.e.Dkk)})}sendToApprover(e){return Object(i.a)(this,void 0,void 0,function*(){let t=yield this.getCurrentProject(),n=r.GET_EOL_SEND_TO_APPROVER_MESSAGE(p(t),t.project.name);try{e&&(yield this.sendEmailNotification(e,n).toPromise())}catch(i){console.error(i)}})}sendToDKKEOLApprove(e){return Object(i.a)(this,void 0,void 0,function*(){let t=yield this.getCurrentProject(),n=r.GET_EOL_DOCUMENT_APPROVE_MESSAGE(p(t),t.project.name,e);yield this.sendToAllSelectedRole(n,c.e.Dkk)})}sendToEOLReleasedForWork(e){return Object(i.a)(this,void 0,void 0,function*(){let t=yield this.getCurrentProject(),n=r.GET_RELEASED_FOR_WORK_DOCUMENT_MESSAGE(p(t),e);yield this.sendToAllSelectedRole(n,c.e.ContractorCMP)})}sendToEOLWithdrawnFromWork(e){return Object(i.a)(this,void 0,void 0,function*(){let t=yield this.getCurrentProject(),n=r.GET_WITHDRAWN_FROM_WORK_DOCUMENT_MESSAGE(p(t),e);yield this.sendToAllSelectedRole(n,c.e.ContractorCMP)})}sendToEOLApproverReject(e,t){return Object(i.a)(this,void 0,void 0,function*(){let n=yield this.getCurrentProject(),i=r.GET_APPROVER_DOCUMENT_REJECT_MESSAGE(p(n),n.project.name,t);try{e&&(yield this.sendEmailNotification(e,i).toPromise())}catch(s){console.error(s)}yield this.sendToAllSelectedRole(i,c.e.Dkk)})}sendToEOLApproverApprove(e,t){return Object(i.a)(this,void 0,void 0,function*(){let n=yield this.getCurrentProject(),i=r.GET_APPROVER_DOCUMENT_APPROVE_MESSAGE(p(n),n.project.name,t);try{e&&(yield this.sendEmailNotification(e,i).toPromise())}catch(s){console.error(s)}yield this.sendToAllSelectedRole(i,c.e.Dkk)})}sendToAllSelectedRole(e,t){return Object(i.a)(this,void 0,void 0,function*(){let n=yield this.getCurrentProject();const r=yield this.entitiesService.permissions(n.project.id).get(),i=[];Object.keys(r.principals||{}).forEach(e=>{Object.values(r.principals[e].entity).some(e=>e)&&i.push(+e)});let s=yield this.responsiblesService.find([t],i).toPromise();for(let t of s)try{t.email&&(yield this.sendEmailNotification(t.email,e).toPromise())}catch(o){console.error(o)}})}getCurrentProject(){return Object(i.a)(this,void 0,void 0,function*(){return{project:yield this._currentProject.project.pipe(Object(u.a)()).toPromise(),stage:yield this._currentProject.stage.pipe(Object(u.a)()).toPromise(),docType:yield this._currentProject.docType.pipe(Object(u.a)()).toPromise()}})}};f.GET_DOCUMENT_IMPORT_MESSAGE=(e,t,n)=>`<p>\u0414\u041a\u041a \u0432 \xab${t}\xbb \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u044b \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442(\u044b).</p>${n.map((e,t)=>`<div>${t+1}. ${e.name}</div>`).join("")}<a href="${e}" target="_blank">\u0421\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043f\u0440\u043e\u0435\u043a\u0442</a>`,f.GET_DDK_DOCUMENT_REJECT_MESSAGE=(e,t)=>`<p>\u0415\u041e\u041b \u0432 \xab${t}\xbb \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442(\u044b) \u043d\u0435 \u043f\u0440\u043e\u0448\u0451\u043b(\u0438) \u0412\u041a.</p><a href="${e}" target="_blank">\u0421\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043f\u0440\u043e\u0435\u043a\u0442</a>.`,f.GET_SEND_TO_EOL_MESSAGE=(e,t)=>`<p>\u0415\u041e\u041b \u0432 \xab${t}\xbb \u0412\u0430\u043c \u043d\u0430\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u044b \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442(\u044b) \u043d\u0430 \u0440\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0435\u043d\u0438\u0435.</p><a href="${e}" target="_blank">\u0421\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043f\u0440\u043e\u0435\u043a\u0442</a>.`,f.GET_EOL_DOCUMENT_REJECT_MESSAGE=(e,t,n)=>`<p>\u0414\u041a\u041a \u0432 \xab${t}\xbb \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442(\u044b) \u043e\u0442\u043a\u043b\u043e\u043d\u0435\u043d\u044b \u0415\u041e\u041b '${n}'.</p><a href="${e}" target="_blank">\u0421\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043f\u0440\u043e\u0435\u043a\u0442</a>.`,f.GET_EOL_SEND_TO_APPROVER_MESSAGE=(e,t)=>`<p>\u042d\u043a\u0441\u043f\u0435\u0440\u0442 \u0432 \xab${t}\xbb \u0412\u0430\u043c \u043d\u0430\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u044b \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442(\u044b) \u043d\u0430 \u0440\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0435\u043d\u0438\u0435.</p><a href="${e}" target="_blank">\u0421\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043f\u0440\u043e\u0435\u043a\u0442</a>.`,f.GET_EOL_DOCUMENT_APPROVE_MESSAGE=(e,t,n)=>`<p>\u0414\u041a\u041a \u0432 \xab${t}\xbb \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442(\u044b) \u0441\u043e\u0433\u043b\u0430\u0441\u043e\u0432\u0430\u043d\u044b \u0415\u041e\u041b '${n}'.</p><a href="${e}" target="_blank">\u0421\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043f\u0440\u043e\u0435\u043a\u0442</a>.`,f.GET_APPROVER_DOCUMENT_REJECT_MESSAGE=(e,t,n)=>`<p>\u0415\u041e\u041b, \u0414\u041a\u041a \u0432 \xab${t}\xbb \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442(\u044b) \u043e\u0442\u043a\u043b\u043e\u043d\u0435\u043d\u044b \u044d\u043a\u0441\u043f\u0435\u0440\u0442\u043e\u043c '${n}'.</p><a href="${e}" target="_blank">\u0421\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043f\u0440\u043e\u0435\u043a\u0442</a>.`,f.GET_APPROVER_DOCUMENT_APPROVE_MESSAGE=(e,t,n)=>`<p>\u0415\u041e\u041b, \u0414\u041a\u041a \u0432 \xab${t}\xbb \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442(\u044b) \u0441\u043e\u0433\u043b\u0430\u0441\u043e\u0432\u0430\u043d\u044b \u044d\u043a\u0441\u043f\u0435\u0440\u0442\u043e\u043c '${n}'.</p><a href="${e}" target="_blank">\u0421\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043f\u0440\u043e\u0435\u043a\u0442</a>.`,f.GET_RELEASED_FOR_WORK_DOCUMENT_MESSAGE=(e,t)=>`<p>\u0414\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u044b: ${t.map(t=>`<div><a href="${e}?id=${t.id}" target="_blank">${t.name}</a></div>`).join("")} <div>\u041f\u0435\u0440\u0435\u0434\u0430\u043d\u044b \u0432 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0441\u0442\u0432\u043e \u0440\u0430\u0431\u043e\u0442.</div></p>`,f.GET_WITHDRAWN_FROM_WORK_DOCUMENT_MESSAGE=(e,t)=>`<p>\u0414\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u044b: ${t.map(t=>`<div><a href="${e}?id=${t.id}" target="_blank">${t.name}</a></div>`).join("")} <div>\u041e\u0442\u043e\u0437\u0432\u0430\u043d\u044b \u0438\u0437 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0441\u0442\u0432\u043e \u0440\u0430\u0431\u043e\u0442.</div></p>`,f.ctorParameters=()=>[{type:o.c},{type:a.a},{type:l.a}],f=r=Object(i.b)([Object(s.D)({providedIn:"root"})],f);const p=e=>`${document.baseURI}/${e.project.id}/${e.stage}/${e.docType}/documents`},CoRJ:function(e,t,n){!function(e){"use strict";e.defineLocale("ar-ma",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\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"))},CqXF:function(e,t,n){"use strict";n.d(t,"a",function(){return i});var r=n("7o/Q");function i(e){return t=>t.lift(new s(e))}class s{constructor(e){this.value=e}call(e,t){return t.subscribe(new o(e,this.value))}}class o extends r.a{constructor(e,t){super(e),this.value=t}_next(e){this.destination.next(this.value)}}},"D/JM":function(e,t,n){!function(e){"use strict";e.defineLocale("eu",{months:"urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua".split("_"),monthsShort:"urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.".split("_"),monthsParseExact:!0,weekdays:"igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata".split("_"),weekdaysShort:"ig._al._ar._az._og._ol._lr.".split("_"),weekdaysMin:"ig_al_ar_az_og_ol_lr".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY[ko] MMMM[ren] D[a]",LLL:"YYYY[ko] MMMM[ren] D[a] HH:mm",LLLL:"dddd, YYYY[ko] MMMM[ren] D[a] HH:mm",l:"YYYY-M-D",ll:"YYYY[ko] MMM D[a]",lll:"YYYY[ko] MMM D[a] HH:mm",llll:"ddd, YYYY[ko] MMM D[a] HH:mm"},calendar:{sameDay:"[gaur] LT[etan]",nextDay:"[bihar] LT[etan]",nextWeek:"dddd LT[etan]",lastDay:"[atzo] LT[etan]",lastWeek:"[aurreko] dddd LT[etan]",sameElse:"L"},relativeTime:{future:"%s barru",past:"duela %s",s:"segundo batzuk",ss:"%d segundo",m:"minutu bat",mm:"%d minutu",h:"ordu bat",hh:"%d ordu",d:"egun bat",dd:"%d egun",M:"hilabete bat",MM:"%d hilabete",y:"urte bat",yy:"%d urte"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n("wd/R"))},D0XW:function(e,t,n){"use strict";n.d(t,"a",function(){return i});var r=n("3N8a");const i=new(n("IjjT").a)(r.a)},DH7j:function(e,t,n){"use strict";n.d(t,"a",function(){return r});const r=Array.isArray||(e=>e&&"number"==typeof e.length)},"DKr+":function(e,t,n){!function(e){"use strict";function t(e,t,n,r){var i={s:["thoddea sekondamni","thodde sekond"],ss:[e+" sekondamni",e+" sekond"],m:["eka mintan","ek minut"],mm:[e+" mintamni",e+" mintam"],h:["eka voran","ek vor"],hh:[e+" voramni",e+" voram"],d:["eka disan","ek dis"],dd:[e+" disamni",e+" dis"],M:["eka mhoinean","ek mhoino"],MM:[e+" mhoineamni",e+" mhoine"],y:["eka vorsan","ek voros"],yy:[e+" vorsamni",e+" vorsam"]};return r?i[n][0]:i[n][1]}e.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:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}(er)/,ordinal:function(e,t){switch(t){case"D":return e+"er";default:case"M":case"Q":case"DDD":case"d":case"w":case"W":return e}},week:{dow:0,doy:3},meridiemParse:/rati|sokallim|donparam|sanje/,meridiemHour:function(e,t){return 12===e&&(e=0),"rati"===t?e<4?e:e+12:"sokallim"===t?e:"donparam"===t?e>12?e:e+12:"sanje"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"rati":e<12?"sokallim":e<16?"donparam":e<20?"sanje":"rati"}})}(n("wd/R"))},Dkky:function(e,t,n){!function(e){"use strict";e.defineLocale("fr-ch",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(e,t){switch(t){default:case"M":case"Q":case"D":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}},week:{dow:1,doy:4}})}(n("wd/R"))},Dmvi:function(e,t,n){!function(e){"use strict";e.defineLocale("en-au",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:0,doy:4}})}(n("wd/R"))},DoHr:function(e,t,n){!function(e){"use strict";var t={1:"'inci",5:"'inci",8:"'inci",70:"'inci",80:"'inci",2:"'nci",7:"'nci",20:"'nci",50:"'nci",3:"'\xfcnc\xfc",4:"'\xfcnc\xfc",100:"'\xfcnc\xfc",6:"'nc\u0131",9:"'uncu",10:"'uncu",30:"'uncu",60:"'\u0131nc\u0131",90:"'\u0131nc\u0131"};e.defineLocale("tr",{months:"Ocak_\u015eubat_Mart_Nisan_May\u0131s_Haziran_Temmuz_A\u011fustos_Eyl\xfcl_Ekim_Kas\u0131m_Aral\u0131k".split("_"),monthsShort:"Oca_\u015eub_Mar_Nis_May_Haz_Tem_A\u011fu_Eyl_Eki_Kas_Ara".split("_"),weekdays:"Pazar_Pazartesi_Sal\u0131_\xc7ar\u015famba_Per\u015fembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pzt_Sal_\xc7ar_Per_Cum_Cmt".split("_"),weekdaysMin:"Pz_Pt_Sa_\xc7a_Pe_Cu_Ct".split("_"),meridiem:function(e,t,n){return e<12?n?"\xf6\xf6":"\xd6\xd6":n?"\xf6s":"\xd6S"},meridiemParse:/\xf6\xf6|\xd6\xd6|\xf6s|\xd6S/,isPM:function(e){return"\xf6s"===e||"\xd6S"===e},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(e,n){switch(n){case"d":case"D":case"Do":case"DD":return e;default:if(0===e)return e+"'\u0131nc\u0131";var r=e%10,i=e%100-r,s=e>=100?100:null;return e+(t[r]||t[i]||t[s])}},week:{dow:1,doy:7}})}(n("wd/R"))},DxQv:function(e,t,n){!function(e){"use strict";e.defineLocale("da",{months:"januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"s\xf8ndag_mandag_tirsdag_onsdag_torsdag_fredag_l\xf8rdag".split("_"),weekdaysShort:"s\xf8n_man_tir_ons_tor_fre_l\xf8r".split("_"),weekdaysMin:"s\xf8_ma_ti_on_to_fr_l\xf8".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd [d.] D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"p\xe5 dddd [kl.] LT",lastDay:"[i g\xe5r kl.] LT",lastWeek:"[i] dddd[s kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"f\xe5 sekunder",ss:"%d sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en m\xe5ned",MM:"%d m\xe5neder",y:"et \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},Dzi0:function(e,t,n){!function(e){"use strict";e.defineLocale("tl-ph",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}})}(n("wd/R"))},"E+lV":function(e,t,n){!function(e){"use strict";var t={words:{ss:["\u0441\u0435\u043a\u0443\u043d\u0434\u0430","\u0441\u0435\u043a\u0443\u043d\u0434\u0435","\u0441\u0435\u043a\u0443\u043d\u0434\u0438"],m:["\u0458\u0435\u0434\u0430\u043d \u043c\u0438\u043d\u0443\u0442","\u0458\u0435\u0434\u043d\u043e\u0433 \u043c\u0438\u043d\u0443\u0442\u0430"],mm:["\u043c\u0438\u043d\u0443\u0442","\u043c\u0438\u043d\u0443\u0442\u0430","\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"],d:["\u0458\u0435\u0434\u0430\u043d \u0434\u0430\u043d","\u0458\u0435\u0434\u043d\u043e\u0433 \u0434\u0430\u043d\u0430"],dd:["\u0434\u0430\u043d","\u0434\u0430\u043d\u0430","\u0434\u0430\u043d\u0430"],M:["\u0458\u0435\u0434\u0430\u043d \u043c\u0435\u0441\u0435\u0446","\u0458\u0435\u0434\u043d\u043e\u0433 \u043c\u0435\u0441\u0435\u0446\u0430"],MM:["\u043c\u0435\u0441\u0435\u0446","\u043c\u0435\u0441\u0435\u0446\u0430","\u043c\u0435\u0441\u0435\u0446\u0438"],y:["\u0458\u0435\u0434\u043d\u0443 \u0433\u043e\u0434\u0438\u043d\u0443","\u0458\u0435\u0434\u043d\u0435 \u0433\u043e\u0434\u0438\u043d\u0435"],yy:["\u0433\u043e\u0434\u0438\u043d\u0443","\u0433\u043e\u0434\u0438\u043d\u0435","\u0433\u043e\u0434\u0438\u043d\u0430"]},correctGrammaticalCase:function(e,t){return e%10>=1&&e%10<=4&&(e%100<10||e%100>=20)?e%10==1?t[0]:t[1]:t[2]},translate:function(e,n,r,i){var s,o=t.words[r];return 1===r.length?"y"===r&&n?"\u0458\u0435\u0434\u043d\u0430 \u0433\u043e\u0434\u0438\u043d\u0430":i||n?o[0]:o[1]:(s=t.correctGrammaticalCase(e,o),"yy"===r&&n&&"\u0433\u043e\u0434\u0438\u043d\u0443"===s?e+" \u0433\u043e\u0434\u0438\u043d\u0430":e+" "+s)}};e.defineLocale("sr-cyrl",{months:"\u0458\u0430\u043d\u0443\u0430\u0440_\u0444\u0435\u0431\u0440\u0443\u0430\u0440_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0431\u0430\u0440_\u043e\u043a\u0442\u043e\u0431\u0430\u0440_\u043d\u043e\u0432\u0435\u043c\u0431\u0430\u0440_\u0434\u0435\u0446\u0435\u043c\u0431\u0430\u0440".split("_"),monthsShort:"\u0458\u0430\u043d._\u0444\u0435\u0431._\u043c\u0430\u0440._\u0430\u043f\u0440._\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433._\u0441\u0435\u043f._\u043e\u043a\u0442._\u043d\u043e\u0432._\u0434\u0435\u0446.".split("_"),monthsParseExact:!0,weekdays:"\u043d\u0435\u0434\u0435\u0459\u0430_\u043f\u043e\u043d\u0435\u0434\u0435\u0459\u0430\u043a_\u0443\u0442\u043e\u0440\u0430\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0440\u0442\u0430\u043a_\u043f\u0435\u0442\u0430\u043a_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434._\u043f\u043e\u043d._\u0443\u0442\u043e._\u0441\u0440\u0435._\u0447\u0435\u0442._\u043f\u0435\u0442._\u0441\u0443\u0431.".split("_"),weekdaysMin:"\u043d\u0435_\u043f\u043e_\u0443\u0442_\u0441\u0440_\u0447\u0435_\u043f\u0435_\u0441\u0443".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"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:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:t.translate,dd:t.translate,M:t.translate,MM:t.translate,y:t.translate,yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n("wd/R"))},EJ3t:function(e,t,n){"use strict";n.d(t,"a",function(){return O});var r=n("mrSG"),i=n("fXoL"),s=n("xwJx"),o=n("mjQ1"),a=n("SURy"),c=n("2kdd"),l=n("btuV"),u=n("Cfvw"),h=n("EY2u"),d=n("LRne"),f=n("IzEk"),p=n("eIep"),m=n("lJxs"),g=n("YDKS"),v=n("cGdJ"),y=n("3qm1"),b=n("qhR1"),_=n("9eNV"),w=n("Jy0u"),S=n("hGzL"),x=n("4lKt");let O=class{constructor(e,t,n,r,i){this.entities=e,this.security=t,this.documentState=n,this.metadata=r,this.rolesTitle=i}getUsersOfProject(){const e=[];return this.documentState.getProject().pipe(Object(f.a)(1),Object(p.a)(e=>e?Object(u.a)(this.entities.permissions(e.id).get()):h.a),Object(p.a)(t=>(Object.keys(t.principals||{}).forEach(n=>{Object.values(t.principals[n].entity).some(e=>e)&&e.push(+n)}),Object(u.a)(this.security.users.query()))),Object(m.a)(t=>e.length?t.filter(({principal:t})=>e.includes(t)).map(({name:e})=>e):t.map(({name:e})=>e)),Object(p.a)(e=>Object(u.a)(this.security.profiles.get(e))),Object(m.a)(e=>e.filter(e=>!!e)),Object(m.a)(e=>e.sort(Object(s.t)(e=>e.fullname))))}getRolesOfUserInProject(e){const t=[];return this.documentState.getProject().pipe(Object(f.a)(1),Object(p.a)(e=>e?Object(u.a)(this.entities.permissions(e.id).get()):h.a),Object(p.a)(e=>(Object.keys(e.principals||{}).forEach(n=>{Object.values(e.principals[n].entity).some(e=>e)&&t.push(+n)}),Object(u.a)(this.security.users.query()))),Object(p.a)(n=>{if(t.length){const r=n.filter(({principal:e})=>t.includes(e)).find(t=>e.name===t.name);if(r)return this.security.users.rolesOf(r.id)}return Object(d.a)([])}),Object(m.a)(e=>b.j.map(t=>e.find(e=>e.name==t)).filter(e=>!!e).map(e=>Object.assign(Object.assign({},e),{name:this.rolesTitle[e.name]||Object(b.i)(e.name)}))))}getUsersRoles(e){return Object(r.a)(this,void 0,void 0,function*(){const t=yield this.metadata.classes.get(g.b.class).then(e=>e);return(yield this.entities.collections(e,"8d79bcd7-639a-46c1-8050-95a8df30e832").query(Object.assign({take:1e3,skip:0},Object(o.d)(g.b,t)))).items.map(e=>Object(o.j)(e,g.b))})}getProjectOrganizations(e){return Object(r.a)(this,void 0,void 0,function*(){const t=yield this.metadata.classes.getNames("\u041e\u0440\u0433\u0430\u043d\u0438\u0437\u0430\u0446\u0438\u0438 \u0432 \u043f\u0440\u043e\u0435\u043a\u0442\u0435");return(yield this.entities.collections(e,"9950fa95-fc50-4e1c-90ae-d020b1986c4d").query(Object.assign({take:1e3,skip:0},Object(o.d)(S.a,t)))).items.map(e=>Object(o.j)(e,S.a))})}getClassifierByProjectArea(e){return Object(r.a)(this,void 0,void 0,function*(){return Object(u.a)(this.metadata.classes.getNames("\u041a\u043b\u0430\u0441\u0441\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440\u044b")).pipe(Object(p.a)(t=>this.entities.analytic.query({where:Object(c.a)([Object(w.b)(t.id),Object(w.e)(e)]),select:"*"},Object.assign({skip:0,take:1e3},Object(o.d)(v.a,t)))),Object(m.a)(e=>e.items.map(e=>Object(o.j)(e,v.a)))).toPromise()})}getOrganizations(e){return Object(r.a)(this,void 0,void 0,function*(){return Object(u.a)(this.metadata.classes.getNames("\u041e\u0440\u0433\u0430\u043d\u0438\u0437\u0430\u0446\u0438\u0438")).pipe(Object(p.a)(t=>(console.log(t),Object(u.a)(this.entities.analytic.query({where:Object(c.a)(this.whereCondition(t,e)),select:"*"},{skip:0,take:1e3})))),Object(m.a)(e=>e.items.map(e=>Object(o.j)(e,y.a))),Object(m.a)(e=>e.filter(e=>(new Date).getTime()<new Date(e.dateFinished).getTime()))).toPromise()})}whereCondition(e,t){return[Object(w.b)(e.id),Object(w.e)(t)]}};O.ctorParameters=()=>[{type:o.a},{type:l.c},{type:x.a},{type:a.c},{type:void 0,decorators:[{type:i.C,args:[_.c]}]}],O=Object(r.b)([Object(i.D)({providedIn:"root"})],O)},EOgW:function(e,t,n){!function(e){"use strict";e.defineLocale("th",{months:"\u0e21\u0e01\u0e23\u0e32\u0e04\u0e21_\u0e01\u0e38\u0e21\u0e20\u0e32\u0e1e\u0e31\u0e19\u0e18\u0e4c_\u0e21\u0e35\u0e19\u0e32\u0e04\u0e21_\u0e40\u0e21\u0e29\u0e32\u0e22\u0e19_\u0e1e\u0e24\u0e29\u0e20\u0e32\u0e04\u0e21_\u0e21\u0e34\u0e16\u0e38\u0e19\u0e32\u0e22\u0e19_\u0e01\u0e23\u0e01\u0e0e\u0e32\u0e04\u0e21_\u0e2a\u0e34\u0e07\u0e2b\u0e32\u0e04\u0e21_\u0e01\u0e31\u0e19\u0e22\u0e32\u0e22\u0e19_\u0e15\u0e38\u0e25\u0e32\u0e04\u0e21_\u0e1e\u0e24\u0e28\u0e08\u0e34\u0e01\u0e32\u0e22\u0e19_\u0e18\u0e31\u0e19\u0e27\u0e32\u0e04\u0e21".split("_"),monthsShort:"\u0e21.\u0e04._\u0e01.\u0e1e._\u0e21\u0e35.\u0e04._\u0e40\u0e21.\u0e22._\u0e1e.\u0e04._\u0e21\u0e34.\u0e22._\u0e01.\u0e04._\u0e2a.\u0e04._\u0e01.\u0e22._\u0e15.\u0e04._\u0e1e.\u0e22._\u0e18.\u0e04.".split("_"),monthsParseExact:!0,weekdays:"\u0e2d\u0e32\u0e17\u0e34\u0e15\u0e22\u0e4c_\u0e08\u0e31\u0e19\u0e17\u0e23\u0e4c_\u0e2d\u0e31\u0e07\u0e04\u0e32\u0e23_\u0e1e\u0e38\u0e18_\u0e1e\u0e24\u0e2b\u0e31\u0e2a\u0e1a\u0e14\u0e35_\u0e28\u0e38\u0e01\u0e23\u0e4c_\u0e40\u0e2a\u0e32\u0e23\u0e4c".split("_"),weekdaysShort:"\u0e2d\u0e32\u0e17\u0e34\u0e15\u0e22\u0e4c_\u0e08\u0e31\u0e19\u0e17\u0e23\u0e4c_\u0e2d\u0e31\u0e07\u0e04\u0e32\u0e23_\u0e1e\u0e38\u0e18_\u0e1e\u0e24\u0e2b\u0e31\u0e2a_\u0e28\u0e38\u0e01\u0e23\u0e4c_\u0e40\u0e2a\u0e32\u0e23\u0e4c".split("_"),weekdaysMin:"\u0e2d\u0e32._\u0e08._\u0e2d._\u0e1e._\u0e1e\u0e24._\u0e28._\u0e2a.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY \u0e40\u0e27\u0e25\u0e32 H:mm",LLLL:"\u0e27\u0e31\u0e19dddd\u0e17\u0e35\u0e48 D MMMM YYYY \u0e40\u0e27\u0e25\u0e32 H:mm"},meridiemParse:/\u0e01\u0e48\u0e2d\u0e19\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07|\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07/,isPM:function(e){return"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"===e},meridiem:function(e,t,n){return e<12?"\u0e01\u0e48\u0e2d\u0e19\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07":"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"},calendar:{sameDay:"[\u0e27\u0e31\u0e19\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",nextDay:"[\u0e1e\u0e23\u0e38\u0e48\u0e07\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",nextWeek:"dddd[\u0e2b\u0e19\u0e49\u0e32 \u0e40\u0e27\u0e25\u0e32] LT",lastDay:"[\u0e40\u0e21\u0e37\u0e48\u0e2d\u0e27\u0e32\u0e19\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",lastWeek:"[\u0e27\u0e31\u0e19]dddd[\u0e17\u0e35\u0e48\u0e41\u0e25\u0e49\u0e27 \u0e40\u0e27\u0e25\u0e32] LT",sameElse:"L"},relativeTime:{future:"\u0e2d\u0e35\u0e01 %s",past:"%s\u0e17\u0e35\u0e48\u0e41\u0e25\u0e49\u0e27",s:"\u0e44\u0e21\u0e48\u0e01\u0e35\u0e48\u0e27\u0e34\u0e19\u0e32\u0e17\u0e35",ss:"%d \u0e27\u0e34\u0e19\u0e32\u0e17\u0e35",m:"1 \u0e19\u0e32\u0e17\u0e35",mm:"%d \u0e19\u0e32\u0e17\u0e35",h:"1 \u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07",hh:"%d \u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07",d:"1 \u0e27\u0e31\u0e19",dd:"%d \u0e27\u0e31\u0e19",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"))},EY2u:function(e,t,n){"use strict";n.d(t,"a",function(){return i}),n.d(t,"b",function(){return s});var r=n("HDdC");const i=new r.a(e=>e.complete());function s(e){return e?function(e){return new r.a(t=>e.schedule(()=>t.complete()))}(e):i}},ErpD:function(e,t,n){"use strict";n.d(t,"a",function(){return h});var r=n("/Tr7"),i=n("1vjI"),s=n("Szzx"),o=n("jIYg"),a=n("/h9T"),c=n("vq9N");function l(e,t){var n,r,l,u,h,d,f,p;Object(o.a)(1,arguments);var m=Object(c.a)(),g=Object(a.a)(null!==(n=null!==(r=null!==(l=null!==(u=null==t?void 0:t.firstWeekContainsDate)&&void 0!==u?u:null==t||null===(h=t.locale)||void 0===h||null===(d=h.options)||void 0===d?void 0:d.firstWeekContainsDate)&&void 0!==l?l:m.firstWeekContainsDate)&&void 0!==r?r:null===(f=m.locale)||void 0===f||null===(p=f.options)||void 0===p?void 0:p.firstWeekContainsDate)&&void 0!==n?n:1),v=Object(s.a)(e,t),y=new Date(0);y.setUTCFullYear(v,0,g),y.setUTCHours(0,0,0,0);var b=Object(i.a)(y,t);return b}var u=6048e5;function h(e,t){Object(o.a)(1,arguments);var n=Object(r.a)(e),s=Object(i.a)(n,t).getTime()-l(n,t).getTime();return Math.round(s/u)+1}},Fnuy:function(e,t,n){!function(e){"use strict";e.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(e,t){var n=1===e?"r":2===e?"n":3===e?"r":4===e?"t":"\xe8";return"w"!==t&&"W"!==t||(n="a"),e+n},week:{dow:1,doy:4}})}(n("wd/R"))},FtGj:function(e,t,n){"use strict";n.d(t,"a",function(){return g}),n.d(t,"b",function(){return r}),n.d(t,"c",function(){return f}),n.d(t,"d",function(){return c}),n.d(t,"e",function(){return s}),n.d(t,"f",function(){return o}),n.d(t,"g",function(){return l}),n.d(t,"h",function(){return u}),n.d(t,"i",function(){return m}),n.d(t,"j",function(){return d}),n.d(t,"k",function(){return a}),n.d(t,"l",function(){return i}),n.d(t,"m",function(){return h}),n.d(t,"n",function(){return v}),n.d(t,"o",function(){return p}),n.d(t,"p",function(){return y});const r=8,i=9,s=13,o=27,a=32,c=35,l=36,u=37,h=38,d=39,f=40,p=48,m=57,g=65,v=90;function y(e,...t){return t.length?t.some(t=>e[t]):e.altKey||e.shiftKey||e.ctrlKey||e.metaKey}},FwiY:function(e,t,n){"use strict";n.d(t,"a",function(){return ce}),n.d(t,"b",function(){return fe}),n.d(t,"c",function(){return pe});var r=n("nLfN"),i=n("fXoL"),s=n("mrSG"),o=n("ofXK");function a(e,t){(function(e){return"string"==typeof e&&-1!==e.indexOf(".")&&1===parseFloat(e)})(e)&&(e="100%");var n=function(e){return"string"==typeof e&&-1!==e.indexOf("%")}(e);return e=360===t?e:Math.min(t,Math.max(0,parseFloat(e))),n&&(e=parseInt(String(e*t),10)/100),Math.abs(e-t)<1e-6?1:e=360===t?(e<0?e%t+t:e%t)/parseFloat(String(t)):e%t/parseFloat(String(t))}function c(e){return Math.min(1,Math.max(0,e))}function l(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function u(e){return e<=1?"".concat(100*Number(e),"%"):e}function h(e){return 1===e.length?"0"+e:String(e)}function d(e,t,n){e=a(e,255),t=a(t,255),n=a(n,255);var r=Math.max(e,t,n),i=Math.min(e,t,n),s=0,o=0,c=(r+i)/2;if(r===i)o=0,s=0;else{var l=r-i;switch(o=c>.5?l/(2-r-i):l/(r+i),r){case e:s=(t-n)/l+(t<n?6:0);break;case t:s=(n-e)/l+2;break;case n:s=(e-t)/l+4}s/=6}return{h:s,s:o,l:c}}function f(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*n*(t-e):n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function p(e,t,n){e=a(e,255),t=a(t,255),n=a(n,255);var r=Math.max(e,t,n),i=Math.min(e,t,n),s=0,o=r,c=r-i,l=0===r?0:c/r;if(r===i)s=0;else{switch(r){case e:s=(t-n)/c+(t<n?6:0);break;case t:s=(n-e)/c+2;break;case n:s=(e-t)/c+4}s/=6}return{h:s,s:l,v:o}}function m(e,t,n,r){var i=[h(Math.round(e).toString(16)),h(Math.round(t).toString(16)),h(Math.round(n).toString(16))];return r&&i[0].startsWith(i[0].charAt(1))&&i[1].startsWith(i[1].charAt(1))&&i[2].startsWith(i[2].charAt(1))?i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0):i.join("")}function g(e){return Math.round(255*parseFloat(e)).toString(16)}function v(e){return y(e)/255}function y(e){return parseInt(e,16)}var b={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function _(e){var t,n,r,i={r:0,g:0,b:0},s=1,o=null,c=null,h=null,d=!1,p=!1;return"string"==typeof e&&(e=function(e){if(0===(e=e.trim().toLowerCase()).length)return!1;var t=!1;if(b[e])e=b[e],t=!0;else if("transparent"===e)return{r:0,g:0,b:0,a:0,format:"name"};var n=O.rgb.exec(e);if(n)return{r:n[1],g:n[2],b:n[3]};if(n=O.rgba.exec(e))return{r:n[1],g:n[2],b:n[3],a:n[4]};if(n=O.hsl.exec(e))return{h:n[1],s:n[2],l:n[3]};if(n=O.hsla.exec(e))return{h:n[1],s:n[2],l:n[3],a:n[4]};if(n=O.hsv.exec(e))return{h:n[1],s:n[2],v:n[3]};if(n=O.hsva.exec(e))return{h:n[1],s:n[2],v:n[3],a:n[4]};if(n=O.hex8.exec(e))return{r:y(n[1]),g:y(n[2]),b:y(n[3]),a:v(n[4]),format:t?"name":"hex8"};if(n=O.hex6.exec(e))return{r:y(n[1]),g:y(n[2]),b:y(n[3]),format:t?"name":"hex"};if(n=O.hex4.exec(e))return{r:y(n[1]+n[1]),g:y(n[2]+n[2]),b:y(n[3]+n[3]),a:v(n[4]+n[4]),format:t?"name":"hex8"};if(n=O.hex3.exec(e))return{r:y(n[1]+n[1]),g:y(n[2]+n[2]),b:y(n[3]+n[3]),format:t?"name":"hex"};return!1}(e)),"object"==typeof e&&(k(e.r)&&k(e.g)&&k(e.b)?(t=e.r,n=e.g,r=e.b,i={r:255*a(t,255),g:255*a(n,255),b:255*a(r,255)},d=!0,p="%"===String(e.r).substr(-1)?"prgb":"rgb"):k(e.h)&&k(e.s)&&k(e.v)?(o=u(e.s),c=u(e.v),i=function(e,t,n){e=6*a(e,360),t=a(t,100),n=a(n,100);var r=Math.floor(e),i=e-r,s=n*(1-t),o=n*(1-i*t),c=n*(1-(1-i)*t),l=r%6;return{r:255*[n,o,s,s,c,n][l],g:255*[c,n,n,o,s,s][l],b:255*[s,s,c,n,n,o][l]}}(e.h,o,c),d=!0,p="hsv"):k(e.h)&&k(e.s)&&k(e.l)&&(o=u(e.s),h=u(e.l),i=function(e,t,n){var r,i,s;if(e=a(e,360),t=a(t,100),n=a(n,100),0===t)i=n,s=n,r=n;else{var o=n<.5?n*(1+t):n+t-n*t,c=2*n-o;r=f(c,o,e+1/3),i=f(c,o,e),s=f(c,o,e-1/3)}return{r:255*r,g:255*i,b:255*s}}(e.h,o,h),d=!0,p="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(s=e.a)),s=l(s),{ok:d,format:e.format||p,r:Math.min(255,Math.max(i.r,0)),g:Math.min(255,Math.max(i.g,0)),b:Math.min(255,Math.max(i.b,0)),a:s}}var w="(?:".concat("[-\\+]?\\d*\\.\\d+%?",")|(?:").concat("[-\\+]?\\d+%?",")"),S="[\\s|\\(]+(".concat(w,")[,|\\s]+(").concat(w,")[,|\\s]+(").concat(w,")\\s*\\)?"),x="[\\s|\\(]+(".concat(w,")[,|\\s]+(").concat(w,")[,|\\s]+(").concat(w,")[,|\\s]+(").concat(w,")\\s*\\)?"),O={CSS_UNIT:new RegExp(w),rgb:new RegExp("rgb"+S),rgba:new RegExp("rgba"+x),hsl:new RegExp("hsl"+S),hsla:new RegExp("hsla"+x),hsv:new RegExp("hsv"+S),hsva:new RegExp("hsva"+x),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function k(e){return Boolean(O.CSS_UNIT.exec(String(e)))}var C=function(){function e(t,n){var r;if(void 0===t&&(t=""),void 0===n&&(n={}),t instanceof e)return t;"number"==typeof t&&(t=function(e){return{r:e>>16,g:(65280&e)>>8,b:255&e}}(t)),this.originalInput=t;var i=_(t);this.originalInput=t,this.r=i.r,this.g=i.g,this.b=i.b,this.a=i.a,this.roundA=Math.round(100*this.a)/100,this.format=null!==(r=n.format)&&void 0!==r?r:i.format,this.gradientType=n.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=i.ok}return e.prototype.isDark=function(){return this.getBrightness()<128},e.prototype.isLight=function(){return!this.isDark()},e.prototype.getBrightness=function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},e.prototype.getLuminance=function(){var e=this.toRgb(),t=e.r/255,n=e.g/255,r=e.b/255;return.2126*(t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4))+.7152*(n<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4))+.0722*(r<=.03928?r/12.92:Math.pow((r+.055)/1.055,2.4))},e.prototype.getAlpha=function(){return this.a},e.prototype.setAlpha=function(e){return this.a=l(e),this.roundA=Math.round(100*this.a)/100,this},e.prototype.isMonochrome=function(){return 0===this.toHsl().s},e.prototype.toHsv=function(){var e=p(this.r,this.g,this.b);return{h:360*e.h,s:e.s,v:e.v,a:this.a}},e.prototype.toHsvString=function(){var e=p(this.r,this.g,this.b),t=Math.round(360*e.h),n=Math.round(100*e.s),r=Math.round(100*e.v);return 1===this.a?"hsv(".concat(t,", ").concat(n,"%, ").concat(r,"%)"):"hsva(".concat(t,", ").concat(n,"%, ").concat(r,"%, ").concat(this.roundA,")")},e.prototype.toHsl=function(){var e=d(this.r,this.g,this.b);return{h:360*e.h,s:e.s,l:e.l,a:this.a}},e.prototype.toHslString=function(){var e=d(this.r,this.g,this.b),t=Math.round(360*e.h),n=Math.round(100*e.s),r=Math.round(100*e.l);return 1===this.a?"hsl(".concat(t,", ").concat(n,"%, ").concat(r,"%)"):"hsla(".concat(t,", ").concat(n,"%, ").concat(r,"%, ").concat(this.roundA,")")},e.prototype.toHex=function(e){return void 0===e&&(e=!1),m(this.r,this.g,this.b,e)},e.prototype.toHexString=function(e){return void 0===e&&(e=!1),"#"+this.toHex(e)},e.prototype.toHex8=function(e){return void 0===e&&(e=!1),function(e,t,n,r,i){var s=[h(Math.round(e).toString(16)),h(Math.round(t).toString(16)),h(Math.round(n).toString(16)),h(g(r))];return i&&s[0].startsWith(s[0].charAt(1))&&s[1].startsWith(s[1].charAt(1))&&s[2].startsWith(s[2].charAt(1))&&s[3].startsWith(s[3].charAt(1))?s[0].charAt(0)+s[1].charAt(0)+s[2].charAt(0)+s[3].charAt(0):s.join("")}(this.r,this.g,this.b,this.a,e)},e.prototype.toHex8String=function(e){return void 0===e&&(e=!1),"#"+this.toHex8(e)},e.prototype.toHexShortString=function(e){return void 0===e&&(e=!1),1===this.a?this.toHexString(e):this.toHex8String(e)},e.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},e.prototype.toRgbString=function(){var e=Math.round(this.r),t=Math.round(this.g),n=Math.round(this.b);return 1===this.a?"rgb(".concat(e,", ").concat(t,", ").concat(n,")"):"rgba(".concat(e,", ").concat(t,", ").concat(n,", ").concat(this.roundA,")")},e.prototype.toPercentageRgb=function(){var e=function(e){return"".concat(Math.round(100*a(e,255)),"%")};return{r:e(this.r),g:e(this.g),b:e(this.b),a:this.a}},e.prototype.toPercentageRgbString=function(){var e=function(e){return Math.round(100*a(e,255))};return 1===this.a?"rgb(".concat(e(this.r),"%, ").concat(e(this.g),"%, ").concat(e(this.b),"%)"):"rgba(".concat(e(this.r),"%, ").concat(e(this.g),"%, ").concat(e(this.b),"%, ").concat(this.roundA,")")},e.prototype.toName=function(){if(0===this.a)return"transparent";if(this.a<1)return!1;for(var e="#"+m(this.r,this.g,this.b,!1),t=0,n=Object.entries(b);t<n.length;t++){var r=n[t],i=r[0];if(e===r[1])return i}return!1},e.prototype.toString=function(e){var t=Boolean(e);e=null!=e?e:this.format;var n=!1,r=this.a<1&&this.a>=0;return t||!r||!e.startsWith("hex")&&"name"!==e?("rgb"===e&&(n=this.toRgbString()),"prgb"===e&&(n=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(n=this.toHexString()),"hex3"===e&&(n=this.toHexString(!0)),"hex4"===e&&(n=this.toHex8String(!0)),"hex8"===e&&(n=this.toHex8String()),"name"===e&&(n=this.toName()),"hsl"===e&&(n=this.toHslString()),"hsv"===e&&(n=this.toHsvString()),n||this.toHexString()):"name"===e&&0===this.a?this.toName():this.toRgbString()},e.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},e.prototype.clone=function(){return new e(this.toString())},e.prototype.lighten=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.l+=t/100,n.l=c(n.l),new e(n)},e.prototype.brighten=function(t){void 0===t&&(t=10);var n=this.toRgb();return n.r=Math.max(0,Math.min(255,n.r-Math.round(-t/100*255))),n.g=Math.max(0,Math.min(255,n.g-Math.round(-t/100*255))),n.b=Math.max(0,Math.min(255,n.b-Math.round(-t/100*255))),new e(n)},e.prototype.darken=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.l-=t/100,n.l=c(n.l),new e(n)},e.prototype.tint=function(e){return void 0===e&&(e=10),this.mix("white",e)},e.prototype.shade=function(e){return void 0===e&&(e=10),this.mix("black",e)},e.prototype.desaturate=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.s-=t/100,n.s=c(n.s),new e(n)},e.prototype.saturate=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.s+=t/100,n.s=c(n.s),new e(n)},e.prototype.greyscale=function(){return this.desaturate(100)},e.prototype.spin=function(t){var n=this.toHsl(),r=(n.h+t)%360;return n.h=r<0?360+r:r,new e(n)},e.prototype.mix=function(t,n){void 0===n&&(n=50);var r=this.toRgb(),i=new e(t).toRgb(),s=n/100;return new e({r:(i.r-r.r)*s+r.r,g:(i.g-r.g)*s+r.g,b:(i.b-r.b)*s+r.b,a:(i.a-r.a)*s+r.a})},e.prototype.analogous=function(t,n){void 0===t&&(t=6),void 0===n&&(n=30);var r=this.toHsl(),i=360/n,s=[this];for(r.h=(r.h-(i*t>>1)+720)%360;--t;)r.h=(r.h+i)%360,s.push(new e(r));return s},e.prototype.complement=function(){var t=this.toHsl();return t.h=(t.h+180)%360,new e(t)},e.prototype.monochromatic=function(t){void 0===t&&(t=6);for(var n=this.toHsv(),r=n.h,i=n.s,s=n.v,o=[],a=1/t;t--;)o.push(new e({h:r,s:i,v:s})),s=(s+a)%1;return o},e.prototype.splitcomplement=function(){var t=this.toHsl(),n=t.h;return[this,new e({h:(n+72)%360,s:t.s,l:t.l}),new e({h:(n+216)%360,s:t.s,l:t.l})]},e.prototype.onBackground=function(t){var n=this.toRgb(),r=new e(t).toRgb(),i=n.a+r.a*(1-n.a);return new e({r:(n.r*n.a+r.r*r.a*(1-n.a))/i,g:(n.g*n.a+r.g*r.a*(1-n.a))/i,b:(n.b*n.a+r.b*r.a*(1-n.a))/i,a:i})},e.prototype.triad=function(){return this.polyad(3)},e.prototype.tetrad=function(){return this.polyad(4)},e.prototype.polyad=function(t){for(var n=this.toHsl(),r=n.h,i=[this],s=360/t,o=1;o<t;o++)i.push(new e({h:(r+o*s)%360,s:n.s,l:n.l}));return i},e.prototype.equals=function(t){return this.toRgbString()===new e(t).toRgbString()},e}();var M=[{index:7,opacity:.15},{index:6,opacity:.25},{index:5,opacity:.3},{index:5,opacity:.45},{index:5,opacity:.65},{index:5,opacity:.85},{index:4,opacity:.9},{index:3,opacity:.95},{index:2,opacity:.97},{index:1,opacity:.98}];function E(e,t,n){var r;return(r=Math.round(e.h)>=60&&Math.round(e.h)<=240?n?Math.round(e.h)-2*t:Math.round(e.h)+2*t:n?Math.round(e.h)+2*t:Math.round(e.h)-2*t)<0?r+=360:r>=360&&(r-=360),r}function T(e,t,n){return 0===e.h&&0===e.s?e.s:((r=n?e.s-.16*t:4===t?e.s+.16:e.s+.05*t)>1&&(r=1),n&&5===t&&r>.1&&(r=.1),r<.06&&(r=.06),Number(r.toFixed(2)));var r}function j(e,t,n){var r;return(r=n?e.v+.05*t:e.v-.15*t)>1&&(r=1),Number(r.toFixed(2))}function D(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=[],r=new C(e),i=5;i>0;i-=1){var s=r.toHsv(),o=new C({h:E(s,i,!0),s:T(s,i,!0),v:j(s,i,!0)}).toHexString();n.push(o)}n.push(r.toHexString());for(var a=1;a<=4;a+=1){var c=r.toHsv(),l=new C({h:E(c,a),s:T(c,a),v:j(c,a)}).toHexString();n.push(l)}return"dark"===t.theme?M.map(function(e){var r=e.index,i=e.opacity;return new C(t.backgroundColor||"#141414").mix(n[r],100*i).toHexString()}):n}var A={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1890FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},L={},z={};Object.keys(A).forEach(function(e){L[e]=D(A[e]),L[e].primary=L[e][5],z[e]=D(A[e],{theme:"dark",backgroundColor:"#141414"}),z[e].primary=z[e][5]});L.red,L.volcano,L.gold,L.orange,L.yellow,L.lime,L.green,L.cyan,L.blue,L.geekblue,L.purple,L.magenta,L.grey;var P=n("tk/3"),I=n("jhN1"),R=n("XNiG"),N=n("LRne"),H=n("HDdC"),F=n("lJxs"),V=n("vkgz"),B=n("nYR2"),Y=n("JIr8"),U=n("w1tV"),W=n("pLZG"),q=n("IzEk");function $(e){Object(i.ub)()&&console.warn(`[@ant-design/icons-angular]: ${e}.`)}function G(e){return D(e)[0]}function X(e,t){switch(t){case"fill":return e+"-fill";case"outline":return e+"-o";case"twotone":return e+"-twotone";case void 0:return e;default:throw new Error(`[@ant-design/icons-angular]:Theme "${t}" is not a recognized theme!`)}}function K(e){return"object"==typeof e&&"string"==typeof e.name&&("string"==typeof e.theme||void 0===e.theme)&&"string"==typeof e.icon}function J(e){const t=e.split(":");switch(t.length){case 1:return[e,""];case 2:return[t[1],t[0]];default:throw new Error(`[@ant-design/icons-angular]:The icon type ${e} is not valid!`)}}function Q(){var e;return e='you need to import "HttpClientModule" to use dynamic importing.',console.error(`[@ant-design/icons-angular]: ${e}.`),null}function Z(){return new Error("[@ant-design/icons-angular]:<svg> tag not found.")}class ee{constructor(e,t,n,r){this._rendererFactory=e,this._handler=t,this._document=n,this.sanitizer=r,this.defaultTheme="outline",this._svgDefinitions=new Map,this._svgRenderedDefinitions=new Map,this._inProgressFetches=new Map,this._assetsUrlRoot="",this._twoToneColorPalette={primaryColor:"#333333",secondaryColor:"#E6E6E6"},this._enableJsonpLoading=!1,this._jsonpIconLoad$=new R.a,this._renderer=this._rendererFactory.createRenderer(null,null),this._handler&&(this._http=new P.c(this._handler))}set twoToneColor({primaryColor:e,secondaryColor:t}){this._twoToneColorPalette.primaryColor=e,this._twoToneColorPalette.secondaryColor=t||G(e)}get twoToneColor(){return Object.assign({},this._twoToneColorPalette)}useJsonpLoading(){this._enableJsonpLoading?$("You are already using jsonp loading."):(this._enableJsonpLoading=!0,window.__ant_icon_load=e=>{this._jsonpIconLoad$.next(e)})}changeAssetsSource(e){this._assetsUrlRoot=e.endsWith("/")?e:e+"/"}addIcon(...e){e.forEach(e=>{this._svgDefinitions.set(X(e.name,e.theme),e)})}addIconLiteral(e,t){const[n,r]=J(e);if(!r)throw new Error(`[@ant-design/icons-angular]:Type should have a namespace. Try "namespace:${name}".`);this.addIcon({name:e,icon:t})}clear(){this._svgDefinitions.clear(),this._svgRenderedDefinitions.clear()}getRenderedContent(e,t){const n=K(e)?e:this._svgDefinitions.get(e)||null;return(n?Object(N.a)(n):this._loadIconDynamically(e)).pipe(Object(F.a)(n=>{if(!n)throw function(e){return new Error(`[@ant-design/icons-angular]:the icon ${e} does not exist or is not registered.`)}(e);return this._loadSVGFromCacheOrCreateNew(n,t)}))}getCachedIcons(){return this._svgDefinitions}_loadIconDynamically(e){if(!this._http&&!this._enableJsonpLoading)return Object(N.a)(Q());let t=this._inProgressFetches.get(e);if(!t){const[n,r]=J(e),s=r?{name:e,icon:""}:function(e){const t=e.split("-"),n="o"===(r=t.splice(t.length-1,1)[0])?"outline":r;var r;return{name:t.join("-"),theme:n,icon:""}}(n),o=this._enableJsonpLoading?".js":".svg",a=(r?`${this._assetsUrlRoot}assets/${r}/${n}`:`${this._assetsUrlRoot}assets/${s.theme}/${s.name}`)+o,c=this.sanitizer.sanitize(i.cb.URL,a);if(!c)throw function(e){return new Error(`[@ant-design/icons-angular]:The url "${e}" is unsafe.`)}(a);t=(this._enableJsonpLoading?this._loadIconDynamicallyWithJsonp(s,c):this._http.get(c,{responseType:"text"}).pipe(Object(F.a)(e=>Object.assign(Object.assign({},s),{icon:e})))).pipe(Object(V.a)(e=>this.addIcon(e)),Object(B.a)(()=>this._inProgressFetches.delete(e)),Object(Y.a)(()=>Object(N.a)(null)),Object(U.a)()),this._inProgressFetches.set(e,t)}return t}_loadIconDynamicallyWithJsonp(e,t){return new H.a(n=>{const r=this._document.createElement("script"),i=setTimeout(()=>{s(),n.error(new Error("[@ant-design/icons-angular]:Importing timeout error."))},6e3);function s(){r.parentNode.removeChild(r),clearTimeout(i)}r.src=t,this._document.body.appendChild(r),this._jsonpIconLoad$.pipe(Object(W.a)(t=>t.name===e.name&&t.theme===e.theme),Object(q.a)(1)).subscribe(e=>{n.next(e),s()})})}_loadSVGFromCacheOrCreateNew(e,t){let n;const r=t||this._twoToneColorPalette.primaryColor,i=G(r)||this._twoToneColorPalette.secondaryColor,s="twotone"===e.theme?function(e,t,n,r){return`${X(e,t)}-${n}-${r}`}(e.name,e.theme,r,i):void 0===e.theme?e.name:X(e.name,e.theme),o=this._svgRenderedDefinitions.get(s);return o?n=o.icon:(n=this._setSVGAttribute(this._colorizeSVGIcon(this._createSVGElementFromString(""!==J(e.name)[1]?e.icon:e.icon.replace(/['"]#333['"]/g,'"primaryColor"').replace(/['"]#E6E6E6['"]/g,'"secondaryColor"').replace(/['"]#D9D9D9['"]/g,'"secondaryColor"').replace(/['"]#D8D8D8['"]/g,'"secondaryColor"')),"twotone"===e.theme,r,i)),this._svgRenderedDefinitions.set(s,Object.assign(Object.assign({},e),{icon:n}))),function(e){return e.cloneNode(!0)}(n)}_createSVGElementFromString(e){const t=this._document.createElement("div");t.innerHTML=e;const n=t.querySelector("svg");if(!n)throw Z;return n}_setSVGAttribute(e){return this._renderer.setAttribute(e,"width","1em"),this._renderer.setAttribute(e,"height","1em"),e}_colorizeSVGIcon(e,t,n,r){if(t){const t=e.childNodes,i=t.length;for(let e=0;e<i;e++){const i=t[e];"secondaryColor"===i.getAttribute("fill")?this._renderer.setAttribute(i,"fill",r):this._renderer.setAttribute(i,"fill",n)}}return this._renderer.setAttribute(e,"fill","currentColor"),e}}ee.\u0275fac=function(e){return new(e||ee)(i.Xc(i.Z),i.Xc(P.b,8),i.Xc(o.d,8),i.Xc(I.b))},ee.\u0275prov=i.Jc({token:ee,factory:ee.\u0275fac}),ee.ctorParameters=()=>[{type:i.Z},{type:P.b,decorators:[{type:i.R}]},{type:void 0,decorators:[{type:i.R},{type:i.C,args:[o.d]}]},{type:I.b}];class te{constructor(e,t,n){this._iconService=e,this._elementRef=t,this._renderer=n}ngOnChanges(e){(e.type||e.theme||e.twoToneColor)&&this._changeIcon()}_changeIcon(){return new Promise(e=>{if(this.type){const t=this._getSelfRenderMeta();this._iconService.getRenderedContent(this._parseIconType(this.type,this.theme),this.twoToneColor).subscribe(n=>{var r,i;r=t,i=this._getSelfRenderMeta(),r.type===i.type&&r.theme===i.theme&&r.twoToneColor===i.twoToneColor?(this._setSVGElement(n),e(n)):e(null)})}else this._clearSVGElement(),e(null)})}_getSelfRenderMeta(){return{type:this.type,theme:this.theme,twoToneColor:this.twoToneColor}}_parseIconType(e,t){if(K(e))return e;{const[n,r]=J(e);return r?e:function(e){return e.endsWith("-fill")||e.endsWith("-o")||e.endsWith("-twotone")}(n)?(t&&$(`'type' ${n} already gets a theme inside so 'theme' ${t} would be ignored`),n):X(n,t||this._iconService.defaultTheme)}}_setSVGElement(e){this._clearSVGElement(),this._renderer.appendChild(this._elementRef.nativeElement,e)}_clearSVGElement(){var e;const t=this._elementRef.nativeElement,n=t.childNodes;for(let r=n.length-1;r>=0;r--){const i=n[r];"svg"===(null===(e=i.tagName)||void 0===e?void 0:e.toLowerCase())&&this._renderer.removeChild(t,i)}}}te.\u0275fac=function(e){return new(e||te)(i.Nc(ee),i.Nc(i.v),i.Nc(i.Y))},te.\u0275dir=i.Ic({type:te,selectors:[["","antIcon",""]],inputs:{type:"type",theme:"theme",twoToneColor:"twoToneColor"},features:[i.xc]}),te.ctorParameters=()=>[{type:ee},{type:i.v},{type:i.Y}],te.propDecorators={type:[{type:i.G}],theme:[{type:i.G}],twoToneColor:[{type:i.G}]};class ne{}ne.\u0275mod=i.Lc({type:ne}),ne.\u0275inj=i.Kc({factory:function(e){return new(e||ne)},providers:[ee],imports:[[o.c]]}),("undefined"==typeof ngJitMode||ngJitMode)&&i.Bd(ne,{declarations:function(){return[te]},imports:function(){return[o.c]},exports:function(){return[te]}});var re=n("/KA4"),ie=n("2Suw"),se=n("79xS"),oe=n("kVq8");const ae=[oe.BarsOutline,oe.CalendarOutline,oe.CaretUpFill,oe.CaretUpOutline,oe.CaretDownFill,oe.CaretDownOutline,oe.CheckCircleFill,oe.CheckCircleOutline,oe.CheckOutline,oe.ClockCircleOutline,oe.CloseCircleOutline,oe.CloseCircleFill,oe.CloseOutline,oe.CopyOutline,oe.DoubleLeftOutline,oe.DoubleRightOutline,oe.DownOutline,oe.EditOutline,oe.EllipsisOutline,oe.ExclamationCircleFill,oe.ExclamationCircleOutline,oe.EyeOutline,oe.FileFill,oe.FileOutline,oe.FilterFill,oe.InfoCircleFill,oe.InfoCircleOutline,oe.LeftOutline,oe.LoadingOutline,oe.PaperClipOutline,oe.QuestionCircleOutline,oe.RightOutline,oe.RotateRightOutline,oe.RotateLeftOutline,oe.StarFill,oe.SearchOutline,oe.StarFill,oe.UploadOutline,oe.VerticalAlignTopOutline,oe.UpOutline,oe.SwapRightOutline,oe.ZoomInOutline,oe.ZoomOutOutline],ce=new i.E("nz_icons"),le=(new i.E("nz_icon_default_twotone_color"),"#1890ff");class ue extends ee{constructor(e,t,n,r,i,s){super(e,r,i,t),this.nzConfigService=n,this.configUpdated$=new R.a,this.iconfontCache=new Set,this.onConfigChange(),this.addIcon(...ae,...s||[]),this.configDefaultTwotoneColor(),this.configDefaultTheme()}normalizeSvgElement(e){e.getAttribute("viewBox")||this._renderer.setAttribute(e,"viewBox","0 0 1024 1024"),e.getAttribute("width")&&e.getAttribute("height")||(this._renderer.setAttribute(e,"width","1em"),this._renderer.setAttribute(e,"height","1em")),e.getAttribute("fill")||this._renderer.setAttribute(e,"fill","currentColor")}fetchFromIconfont(e){const{scriptUrl:t}=e;if(this._document&&!this.iconfontCache.has(t)){const e=this._renderer.createElement("script");this._renderer.setAttribute(e,"src",t),this._renderer.setAttribute(e,"data-namespace",t.replace(/^(https?|http):/g,"")),this._renderer.appendChild(this._document.body,e),this.iconfontCache.add(t)}}createIconfontIcon(e){return this._createSVGElementFromString(`<svg><use xlink:href="${e}"></svg>`)}onConfigChange(){this.nzConfigService.getConfigChangeEventForComponent("icon").subscribe(()=>{this.configDefaultTwotoneColor(),this.configDefaultTheme(),this.configUpdated$.next()})}configDefaultTheme(){const e=this.getConfig();this.defaultTheme=e.nzTheme||"outline"}configDefaultTwotoneColor(){const e=this.getConfig().nzTwotoneColor||le;let t=le;e&&(e.startsWith("#")?t=e:Object(se.b)("Twotone color must be a hex color!")),this.twoToneColor={primaryColor:t}}getConfig(){return this.nzConfigService.getConfigForComponent("icon")||{}}}ue.\u0275fac=function(e){return new(e||ue)(i.Xc(i.Z),i.Xc(I.b),i.Xc(ie.a),i.Xc(P.b,8),i.Xc(o.d,8),i.Xc(ce,8))},ue.\u0275prov=Object(i.Jc)({factory:function(){return new ue(Object(i.Xc)(i.Z),Object(i.Xc)(I.b),Object(i.Xc)(ie.a),Object(i.Xc)(P.b,8),Object(i.Xc)(o.d,8),Object(i.Xc)(ce,8))},token:ue,providedIn:"root"}),ue.ctorParameters=()=>[{type:i.Z},{type:I.b},{type:ie.a},{type:P.b,decorators:[{type:i.R}]},{type:void 0,decorators:[{type:i.R},{type:i.C,args:[o.d]}]},{type:Array,decorators:[{type:i.R},{type:i.C,args:[ce]}]}];const he=new i.E("nz_icons_patch");class de{constructor(e,t){this.extraIcons=e,this.rootIconService=t,this.patched=!1}doPatch(){this.patched||(this.extraIcons.forEach(e=>this.rootIconService.addIcon(e)),this.patched=!0)}}de.\u0275fac=function(e){return new(e||de)(i.Xc(he,2),i.Xc(ue))},de.\u0275prov=i.Jc({token:de,factory:de.\u0275fac}),de.ctorParameters=()=>[{type:Array,decorators:[{type:i.db},{type:i.C,args:[he]}]},{type:ue}];class fe extends te{constructor(e,t,n,r){super(t,e,n),this.iconService=t,this.renderer=n,this.cacheClassName=null,this.nzRotate=0,this.spin=!1,r&&r.doPatch(),this.el=e.nativeElement}set nzSpin(e){this.spin=e}set nzType(e){this.type=e}set nzTheme(e){this.theme=e}set nzTwotoneColor(e){this.twoToneColor=e}set nzIconfont(e){this.iconfont=e}ngOnChanges(e){const{nzType:t,nzTwotoneColor:n,nzSpin:r,nzTheme:i,nzRotate:s}=e;t||n||r||i?this.changeIcon2():s?this.handleRotate(this.el.firstChild):this._setSVGElement(this.iconService.createIconfontIcon("#"+this.iconfont))}ngOnInit(){this.renderer.setAttribute(this.el,"class",("anticon "+this.el.className).trim())}ngAfterContentChecked(){if(!this.type){const e=this.el.children;let t=e.length;if(!this.type&&e.length)for(;t--;){const n=e[t];"svg"===n.tagName.toLowerCase()&&this.iconService.normalizeSvgElement(n)}}}changeIcon2(){this.setClassName(),this._changeIcon().then(e=>{e&&(this.setSVGData(e),this.handleSpin(e),this.handleRotate(e))})}handleSpin(e){this.spin||"loading"===this.type?this.renderer.addClass(e,"anticon-spin"):this.renderer.removeClass(e,"anticon-spin")}handleRotate(e){this.nzRotate?this.renderer.setAttribute(e,"style",`transform: rotate(${this.nzRotate}deg)`):this.renderer.removeAttribute(e,"style")}setClassName(){this.cacheClassName&&this.renderer.removeClass(this.el,this.cacheClassName),this.cacheClassName="anticon-"+this.type,this.renderer.addClass(this.el,this.cacheClassName)}setSVGData(e){this.renderer.setAttribute(e,"data-icon",this.type),this.renderer.setAttribute(e,"aria-hidden","true")}}fe.\u0275fac=function(e){return new(e||fe)(i.Nc(i.v),i.Nc(ue),i.Nc(i.Y),i.Nc(de,8))},fe.\u0275dir=i.Ic({type:fe,selectors:[["","nz-icon",""]],hostVars:2,hostBindings:function(e,t){2&e&&i.Fc("anticon",!0)},inputs:{nzRotate:"nzRotate",nzSpin:"nzSpin",nzType:"nzType",nzTheme:"nzTheme",nzTwotoneColor:"nzTwotoneColor",nzIconfont:"nzIconfont"},exportAs:["nzIcon"],features:[i.wc,i.xc]}),fe.ctorParameters=()=>[{type:i.v},{type:ue},{type:i.Y},{type:de,decorators:[{type:i.R}]}],fe.propDecorators={nzSpin:[{type:i.G}],nzRotate:[{type:i.G}],nzType:[{type:i.G}],nzTheme:[{type:i.G}],nzTwotoneColor:[{type:i.G}],nzIconfont:[{type:i.G}]},Object(s.b)([Object(re.a)(),Object(s.c)("design:type",Boolean),Object(s.c)("design:paramtypes",[Boolean])],fe.prototype,"nzSpin",null);class pe{static forRoot(e){return{ngModule:pe,providers:[{provide:ce,useValue:e}]}}static forChild(e){return{ngModule:pe,providers:[de,{provide:he,useValue:e}]}}}pe.\u0275mod=i.Lc({type:pe}),pe.\u0275inj=i.Kc({factory:function(e){return new(e||pe)},imports:[[r.b]]}),("undefined"==typeof ngJitMode||ngJitMode)&&i.Bd(pe,{declarations:function(){return[fe]},imports:function(){return[r.b]},exports:function(){return[fe]}})},G0Uy:function(e,t,n){!function(e){"use strict";e.defineLocale("mt",{months:"Jannar_Frar_Marzu_April_Mejju_\u0120unju_Lulju_Awwissu_Settembru_Ottubru_Novembru_Di\u010bembru".split("_"),monthsShort:"Jan_Fra_Mar_Apr_Mej_\u0120un_Lul_Aww_Set_Ott_Nov_Di\u010b".split("_"),weekdays:"Il-\u0126add_It-Tnejn_It-Tlieta_L-Erbg\u0127a_Il-\u0126amis_Il-\u0120img\u0127a_Is-Sibt".split("_"),weekdaysShort:"\u0126ad_Tne_Tli_Erb_\u0126am_\u0120im_Sib".split("_"),weekdaysMin:"\u0126a_Tn_Tl_Er_\u0126a_\u0120i_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Illum fil-]LT",nextDay:"[G\u0127ada fil-]LT",nextWeek:"dddd [fil-]LT",lastDay:"[Il-biera\u0127 fil-]LT",lastWeek:"dddd [li g\u0127adda] [fil-]LT",sameElse:"L"},relativeTime:{future:"f\u2019 %s",past:"%s ilu",s:"ftit sekondi",ss:"%d sekondi",m:"minuta",mm:"%d minuti",h:"sieg\u0127a",hh:"%d sieg\u0127at",d:"\u0121urnata",dd:"%d \u0121ranet",M:"xahar",MM:"%d xhur",y:"sena",yy:"%d sni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(n("wd/R"))},G15w:function(e,t,n){"use strict";n.d(t,"a",function(){return D});var r=n("mrSG"),i=n("fXoL"),s=n("xwJx"),o=n("lkBS"),a=n("mjQ1"),c=n("SURy"),l=n("2kdd"),u=n("btuV"),h=n("cp0P"),d=n("Cfvw"),f=n("LRne"),p=n("GyhO"),m=n("itXk"),g=n("VRyK"),v=n("eIep"),y=n("lJxs"),b=n("vkgz"),_=n("5+tZ"),w=n("pLZG"),S=n("UXun"),x=n("9eNV"),O=n("Jy0u"),k=n("Rk0a"),C=n("rgIi"),M=n("vR8P");const E={class:"156dc334-abd3-41b0-9e80-61aa6a2c665c",root:2,collection:"b470bca3-8f05-4ca6-ba6f-01932410e2c3",properties:Object.assign(Object.assign({},s.w.entities.attributes),{author:{id:"200dde38-772c-42d2-a3cb-fcd28d96e2bf",map:a.b.option},user:{id:"eb697577-df50-4e09-b23f-d57a6335b2ea",map:a.b.option},docVersion:{id:"97bd575b-e643-45f6-bdf0-425ff2edc51e",map:a.b.option},status:{id:"ffc4d8d7-ad06-43a1-8aa8-b85e201a61fa",map:a.b.option},created:s.w.entities.attributes.created,text:"691e9da0-4012-43f3-a574-c999c5049afb",adjustmentPeriod:"4cc60fe0-931b-48a7-a46d-e2eb6bd6785b",createdRemark:"ddf0129e-8849-447e-bc07-19ecc571cb9c",comment:"a3e95373-0849-41e4-beed-63283ba298f3",file:"277c9982-0d68-4afc-92a7-94679c0a259a"})};var T=n("rgsH"),j=n("Jzx+");let D=class{constructor(e,t,n,r,i,s,o){this.currentUser=e,this.entities=t,this.metadata=n,this.security=r,this.content=i,this.settings=s,this.directories=o,this.getCount=Object(O.a)(this.getCountBatch.bind(this),0),this.class=this.metadata.classes.get(k.a.class).then(e=>(k.a.properties.pIFullName=Array.from(Object.keys(e.attributes)).find(t=>"\u0421.\u041f\u0418 \u0424\u0418\u041e"===e.attributes[t].name),k.a.properties.pIAnswer=Array.from(Object.keys(e.attributes)).find(t=>"\u0421.\u041e\u0442\u0432\u0435\u0442 \u041f\u0418"===e.attributes[t].name),k.a.properties.changeNumber=Array.from(Object.keys(e.attributes)).find(t=>"\u0421.\u041d\u043e\u043c\u0435\u0440 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f"===e.attributes[t].name),k.a.properties.revisionNumber=Array.from(Object.keys(e.attributes)).find(t=>"\u0421.\u0420\u0435\u0432\u0438\u0437\u0438\u044f \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430"===e.attributes[t].name),k.a.properties.status=Array.from(Object.keys(e.attributes)).find(t=>"\u0421.\u0417\u0430\u043c\u0435\u0447\u0430\u043d\u0438\u0435.\u0421\u0442\u0430\u0442\u0443\u0441"===e.attributes[t].name),e))}get(e,t=0,n=1e3){return Object(r.a)(this,void 0,void 0,function*(){const r=yield this.class,i=(yield this.entities.collections(e,k.a.collection).query(Object.assign({skip:t,take:n},Object(a.d)(k.a,r)))).items.map(e=>Object(a.j)(e,k.a)),s=yield this.security.profiles.get(Array.from(new Set(i.map(e=>e.user.name))));return i.forEach(e=>{var t;return e.user=null!==(t=s.find(t=>t.name===e.user.name))&&void 0!==t?t:e.user}),i})}getRemarks(e,t=0,n=1e3){return Object(r.a)(this,void 0,void 0,function*(){const r=yield this.metadata.classes.getNames("\u0417\u0430\u043c\u0435\u0447\u0430\u043d\u0438\u0435"),i=(yield this.entities.collections(e,k.a.collection).query(Object.assign({skip:t,take:n},Object(a.d)(E,r)))).items.map(e=>Object(a.j)(e,E)),s=Array.from(new Set(i.map(e=>e.author.name)));let o=[];return o=1===s.length?[yield this.security.profiles.get(s[0])]:yield this.security.profiles.get(s),i.map(e=>{var t;return e.author=null!==(t=o.find(t=>t.name===e.author.name))&&void 0!==t?t:e.author,e}).reverse()})}getRemarksOfUser(e,t,n=!1,r,i=!1){let s;return i&&(t.take=1e6),Object(h.a)({klass:Object(d.a)(this.metadata.classes.getNames("\u0417\u0430\u043c\u0435\u0447\u0430\u043d\u0438\u0435")),statuses:this.directories.approvalStatus}).pipe(Object(v.a)(({klass:i,statuses:c})=>{s=i;const u=(c||[]).filter(e=>e.name===j.b.Cancel||e.name===j.b.Accepted);return this.entities.analytic.query({where:Object(l.a)([Object(O.e)(e),Object(O.b)(i.id),o(u,n),(h=r?E.properties.user:E.properties.author,d=this.currentUser,{[Object(l.h)(Object(a.e)(h))]:{exists:{id:{eq:d.id}}}})]),select:Object(a.f)(E,i)},t);var h,d}),Object(y.a)(e=>({skipped:e.skipped,total:e.total,items:e.items.map(e=>Object(a.j)(e,E))})));function o(e,t){return t?{[Object(l.h)(Object(a.e)(E.properties.status))]:{exists:Object(l.b)(e.map(e=>({id:{eq:e.id}})))}}:{[Object(l.h)(Object(a.e)(E.properties.status))]:{exists:Object(l.a)(e.map(e=>({id:{ne:e.id}})))}}}}getById(e){return Object(d.a)(this.class).pipe(Object(y.a)(e=>Object(a.d)(k.a,e)),Object(v.a)(t=>this.entities.get(e,t)),Object(y.a)(e=>Object(a.j)(e,k.a)))}getByVersions(e){let t;return e.pipe(Object(b.a)(e=>t=e),Object(v.a)(e=>e.length?Object(d.a)(this.query(e.map(e=>e.id))):Object(f.a)(new Map)),Object(y.a)(e=>{let n=[];for(let r of t){let t=e.get(r.id);(null==t?void 0:t.length)&&t.forEach(e=>n.push(Object.assign({doc:r},e)))}return{items:n,total:n.length}}))}query(e,t=0,n=1e3){return Object(r.a)(this,void 0,void 0,function*(){const i=yield this.class,c=e=>Object(r.a)(this,void 0,void 0,function*(){return yield u(e)}),u=e=>new Promise((t,n)=>{const r=new FileReader;r.readAsDataURL(e),r.onload=()=>t(r.result),r.onerror=e=>n(e)}),h=(yield this.entities.analytic.query({where:{and:[{class:{eq:i.id}},Object(l.b)(e.map(e=>({ancestors:{exists:{id:{eq:e}}}})))]},select:Object(a.f)(k.a,i)},{skip:t,take:n}).toPromise()).items.reduce((e,t)=>{var n;const[r]=Object(a.c)(t).slice(-1);return(null!==(n=e.get(r))&&void 0!==n?n:e.set(r,[]).get(r)).push(Object(a.j)(t,k.a)),e},new Map),f=Array.from(new Set(Array.from(h.values()).flat().flatMap(e=>e.user.name))),p=yield this.security.profiles.get(f);for(let e of Array.from(h.values()))for(let t of e)if(t.file){let e=yield Object(d.a)(this.content.url(t.file.id)).pipe(Object(_.a)(e=>this.content.download(e)),Object(w.a)(o.d)).toPromise();t.fileBase64=yield c(e)}return Array.from(h.values()).flat().forEach(e=>{var t;return e.user=null!==(t=p.find(({id:t})=>t===e.user.id))&&void 0!==t?t:Object(s.J)("Profile not found")}),h})}add(e,t){return Object(r.a)(this,void 0,void 0,function*(){const n=yield this.class,r=Object(a.h)(Object.assign(Object.assign({},t),{user:this.currentUser}),k.a,n);return yield this.entities.create(r,e,k.a.collection)})}addNew(e,t){return Object(r.a)(this,void 0,void 0,function*(){const n=yield this.metadata.classes.getNames("\u0417\u0430\u043c\u0435\u0447\u0430\u043d\u0438\u0435"),r=Object(a.h)(t,E,n);return yield this.entities.create(r,e,k.a.collection)})}update(e,t){return Object(r.a)(this,void 0,void 0,function*(){const n=yield this.class,r=Object(a.i)(e,t,k.a,n);return yield this.entities.update(Object.assign(r,{id:e.id}))})}delete(e){return this.entities.delete(e)}export(e,t,n){!t.length&&Object(s.J)("No documents is provided");const i=Object(d.a)(this.settings.getCustom("lkp.template")).pipe(Object(_.a)(e=>{var t;return Object(d.a)(this.content.url(null!==(t=null==e?void 0:e.id)&&void 0!==t?t:Object(s.J)("Template file is missing")))}),Object(_.a)(e=>this.content.download(e)),Object(S.a)());let a=i.pipe(Object(w.a)(o.e),Object(y.a)(e=>b(1,Object(o.c)(e))));const c=Object(f.a)(t).pipe(Object(_.a)(e=>Object(d.a)(this.query(e.map(({id:e})=>e),0,1e6)).pipe(Object(y.a)(t=>e.reduce((e,n)=>{var r;return e.set(n,null!==(r=t.get(n.id))&&void 0!==r?r:[]),e},new Map)))),Object(S.a)(1));a=Object(p.a)(a,c.pipe(Object(y.a)(()=>b(2,1))));const l=i.pipe(Object(w.a)(o.d),Object(_.a)(e=>Object(d.a)(e.arrayBuffer()))),u=Object(m.a)([l,c]).pipe(Object(_.a)(([t,n])=>Object(d.a)(Object(C.c)(t,Array.from(n.entries()).flatMap(([e,t],n)=>t.map(t=>function({name:e,cipher:t,changeNumber:n},i,s){var{user:{fullname:o,email:a,position:c,unit:l},text:u,id:h,revisionNumber:d,pIAnswer:f}=i,p=Object(r.d)(i,["user","text","id","revisionNumber","pIAnswer"]);return{O:f,E:e,D:`${t||""}  ${n||""}`,L:""+(d||""),M:""+(p.changeNumber?p.changeNumber:""),K:`${o?o+",":""} ${a||""}`,J:`${c?c+" /":""} ${l||""}`,G:""+Object(M.c)(u).text,F:""+Object(M.b)(Object(M.a)(u)),A:""+h,B:""+(s+1),I:["\u043f\u0440\u0438\u043d\u044f\u0442\u043e","\u0440\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0435\u043d\u043e","\u043e\u0442\u043a\u043b\u043e\u043d\u0435\u043d\u043e","\u0441\u043d\u044f\u0442\u043e",""]}}(e,t,n))),e.name))),Object(S.a)(1));a=Object(g.a)(a,u.pipe(Object(y.a)(()=>b(3,1))));const h=u.pipe(Object(_.a)(e=>this.content.upload(new File([e],n))),Object(S.a)());a=Object(g.a)(a,h.pipe(Object(w.a)(o.e),Object(y.a)(e=>b(4,Object(o.c)(e)))));const v=h.pipe(Object(w.a)(e=>!Object(o.e)(e)));return Object(g.a)(a,v);function b(e,t,n=4){return+((e-1+t)/n).toFixed(2)}}getCountBatch(e){return this.entities.analytic.query({where:Object(l.b)(e.map(e=>({id:{eq:e}}))),select:[],join:{[Object(l.d)(k.a.collection)]:{where:{id:{ne:0}},select:[]}}},{skip:0,take:1e6}).pipe(Object(y.a)(({items:t})=>{const n=t.filter(e=>e.classId===k.a.class);return e.reduce((e,r)=>{var i;const{searchPath:s}=null!==(i=t.find(({id:e})=>e===r))&&void 0!==i?i:{};return e.set(r,s?n.filter(({searchPath:e})=>e.startsWith(s)).length:0),e},new Map)}))}updateRemark(e,t,n){return Object(r.a)(this,void 0,void 0,function*(){const r=yield this.metadata.classes.getNames("\u0417\u0430\u043c\u0435\u0447\u0430\u043d\u0438\u0435"),i=Object(a.i)(t,n,E,r);yield this.entities.update(Object.assign(Object.assign({},i),{id:e}))})}};D.ctorParameters=()=>[{type:void 0,decorators:[{type:i.C,args:[x.a]}]},{type:a.a},{type:c.c},{type:u.c},{type:o.b},{type:s.r},{type:T.a}],D=Object(r.b)([Object(i.D)({providedIn:"root"})],D)},GJmQ:function(e,t,n){"use strict";n.d(t,"a",function(){return i});var r=n("7o/Q");function i(e,t=!1){return n=>n.lift(new s(e,t))}class s{constructor(e,t){this.predicate=e,this.inclusive=t}call(e,t){return t.subscribe(new o(e,this.predicate,this.inclusive))}}class o extends r.a{constructor(e,t,n){super(e),this.predicate=t,this.inclusive=n,this.index=0}_next(e){const t=this.destination;let n;try{n=this.predicate(e,this.index++)}catch(r){return void t.error(r)}this.nextOrComplete(e,n)}nextOrComplete(e,t){const n=this.destination;Boolean(t)?n.next(e):(this.inclusive&&n.next(e),n.complete())}}},GR68:function(e,t,n){"use strict";n.d(t,"a",function(){return o}),n.d(t,"b",function(){return c}),n.d(t,"c",function(){return l}),n.d(t,"d",function(){return u}),n.d(t,"e",function(){return h}),n.d(t,"f",function(){return m}),n.d(t,"g",function(){return p}),n.d(t,"h",function(){return a}),n.d(t,"i",function(){return v}),n.d(t,"j",function(){return g});var r=n("R0Ic");class i{}i.SLOW="0.3s",i.BASE="0.2s",i.FAST="0.1s";class s{}s.EASE_BASE_OUT="cubic-bezier(0.7, 0.3, 0.1, 1)",s.EASE_BASE_IN="cubic-bezier(0.9, 0, 0.3, 0.7)",s.EASE_OUT="cubic-bezier(0.215, 0.61, 0.355, 1)",s.EASE_IN="cubic-bezier(0.55, 0.055, 0.675, 0.19)",s.EASE_IN_OUT="cubic-bezier(0.645, 0.045, 0.355, 1)",s.EASE_OUT_BACK="cubic-bezier(0.12, 0.4, 0.29, 1.46)",s.EASE_IN_BACK="cubic-bezier(0.71, -0.46, 0.88, 0.6)",s.EASE_IN_OUT_BACK="cubic-bezier(0.71, -0.46, 0.29, 1.46)",s.EASE_OUT_CIRC="cubic-bezier(0.08, 0.82, 0.17, 1)",s.EASE_IN_CIRC="cubic-bezier(0.6, 0.04, 0.98, 0.34)",s.EASE_IN_OUT_CIRC="cubic-bezier(0.78, 0.14, 0.15, 0.86)",s.EASE_OUT_QUINT="cubic-bezier(0.23, 1, 0.32, 1)",s.EASE_IN_QUINT="cubic-bezier(0.755, 0.05, 0.855, 0.06)",s.EASE_IN_OUT_QUINT="cubic-bezier(0.86, 0, 0.07, 1)";const o=Object(r.l)("collapseMotion",[Object(r.i)("expanded",Object(r.j)({height:"*"})),Object(r.i)("collapsed",Object(r.j)({height:0,overflow:"hidden"})),Object(r.i)("hidden",Object(r.j)({height:0,overflow:"hidden",borderTopWidth:"0"})),Object(r.k)("expanded => collapsed",Object(r.e)("150ms "+s.EASE_IN_OUT)),Object(r.k)("expanded => hidden",Object(r.e)("150ms "+s.EASE_IN_OUT)),Object(r.k)("collapsed => expanded",Object(r.e)("150ms "+s.EASE_IN_OUT)),Object(r.k)("hidden => expanded",Object(r.e)("150ms "+s.EASE_IN_OUT))]),a=Object(r.l)("treeCollapseMotion",[Object(r.k)("* => *",[Object(r.f)("nz-tree-node:leave,nz-tree-builtin-node:leave",[Object(r.j)({overflow:"hidden"}),Object(r.h)(0,[Object(r.e)("150ms "+s.EASE_IN_OUT,Object(r.j)({height:0,opacity:0,"padding-bottom":0}))])],{optional:!0}),Object(r.f)("nz-tree-node:enter,nz-tree-builtin-node:enter",[Object(r.j)({overflow:"hidden",height:0,opacity:0,"padding-bottom":0}),Object(r.h)(0,[Object(r.e)("150ms "+s.EASE_IN_OUT,Object(r.j)({overflow:"hidden",height:"*",opacity:"*","padding-bottom":"*"}))])],{optional:!0})])]),c=Object(r.l)("fadeMotion",[Object(r.k)(":enter",[Object(r.j)({opacity:0}),Object(r.e)(""+i.BASE,Object(r.j)({opacity:1}))]),Object(r.k)(":leave",[Object(r.j)({opacity:1}),Object(r.e)(""+i.BASE,Object(r.j)({opacity:0}))])]),l=Object(r.l)("helpMotion",[Object(r.k)(":enter",[Object(r.j)({opacity:0,transform:"translateY(-5px)"}),Object(r.e)(`${i.SLOW} ${s.EASE_IN_OUT}`,Object(r.j)({opacity:1,transform:"translateY(0)"}))]),Object(r.k)(":leave",[Object(r.j)({opacity:1,transform:"translateY(0)"}),Object(r.e)(`${i.SLOW} ${s.EASE_IN_OUT}`,Object(r.j)({opacity:0,transform:"translateY(-5px)"}))])]),u=Object(r.l)("moveUpMotion",[Object(r.k)("* => enter",[Object(r.j)({transformOrigin:"0 0",transform:"translateY(-100%)",opacity:0}),Object(r.e)(""+i.BASE,Object(r.j)({transformOrigin:"0 0",transform:"translateY(0%)",opacity:1}))]),Object(r.k)("* => leave",[Object(r.j)({transformOrigin:"0 0",transform:"translateY(0%)",opacity:1}),Object(r.e)(""+i.BASE,Object(r.j)({transformOrigin:"0 0",transform:"translateY(-100%)",opacity:0}))])]),h=Object(r.l)("notificationMotion",[Object(r.i)("enterRight",Object(r.j)({opacity:1,transform:"translateX(0)"})),Object(r.k)("* => enterRight",[Object(r.j)({opacity:0,transform:"translateX(5%)"}),Object(r.e)("100ms linear")]),Object(r.i)("enterLeft",Object(r.j)({opacity:1,transform:"translateX(0)"})),Object(r.k)("* => enterLeft",[Object(r.j)({opacity:0,transform:"translateX(-5%)"}),Object(r.e)("100ms linear")]),Object(r.i)("leave",Object(r.j)({opacity:0,transform:"scaleY(0.8)",transformOrigin:"0% 0%"})),Object(r.k)("* => leave",[Object(r.j)({opacity:1,transform:"scaleY(1)",transformOrigin:"0% 0%"}),Object(r.e)("100ms linear")])]),d=`${i.BASE} ${s.EASE_OUT_QUINT}`,f=`${i.BASE} ${s.EASE_IN_QUINT}`,p=Object(r.l)("slideMotion",[Object(r.i)("void",Object(r.j)({opacity:0,transform:"scaleY(0.8)"})),Object(r.i)("enter",Object(r.j)({opacity:1,transform:"scaleY(1)"})),Object(r.k)("void => *",[Object(r.e)(d)]),Object(r.k)("* => void",[Object(r.e)(f)])]),m=Object(r.l)("slideAlertMotion",[Object(r.k)(":leave",[Object(r.j)({opacity:1,transform:"scaleY(1)",transformOrigin:"0% 0%"}),Object(r.e)(`${i.SLOW} ${s.EASE_IN_OUT_CIRC}`,Object(r.j)({opacity:0,transform:"scaleY(0)",transformOrigin:"0% 0%"}))])]),g=Object(r.l)("zoomBigMotion",[Object(r.k)("void => active",[Object(r.j)({opacity:0,transform:"scale(0.8)"}),Object(r.e)(`${i.BASE} ${s.EASE_OUT_CIRC}`,Object(r.j)({opacity:1,transform:"scale(1)"}))]),Object(r.k)("active => void",[Object(r.j)({opacity:1,transform:"scale(1)"}),Object(r.e)(`${i.BASE} ${s.EASE_IN_OUT_CIRC}`,Object(r.j)({opacity:0,transform:"scale(0.8)"}))])]),v=Object(r.l)("zoomBadgeMotion",[Object(r.k)(":enter",[Object(r.j)({opacity:0,transform:"scale(0) translate(50%, -50%)"}),Object(r.e)(`${i.SLOW} ${s.EASE_OUT_BACK}`,Object(r.j)({opacity:1,transform:"scale(1) translate(50%, -50%)"}))]),Object(r.k)(":leave",[Object(r.j)({opacity:1,transform:"scale(1) translate(50%, -50%)"}),Object(r.e)(`${i.SLOW} ${s.EASE_IN_BACK}`,Object(r.j)({opacity:0,transform:"scale(0) translate(50%, -50%)"}))])])},GU7r:function(e,t,n){"use strict";n.d(t,"a",function(){return u}),n.d(t,"b",function(){return l}),n.d(t,"c",function(){return h});var r=n("8LU1"),i=n("fXoL"),s=n("HDdC"),o=n("XNiG"),a=n("Kj3r");class c{create(e){return"undefined"==typeof MutationObserver?null:new MutationObserver(e)}}c.\u0275fac=function(e){return new(e||c)},c.\u0275prov=Object(i.Jc)({factory:function(){return new c},token:c,providedIn:"root"});class l{constructor(e){this._mutationObserverFactory=e,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((e,t)=>this._cleanupObserver(t))}observe(e){const t=Object(r.e)(e);return new s.a(e=>{const n=this._observeElement(t).subscribe(e);return()=>{n.unsubscribe(),this._unobserveElement(t)}})}_observeElement(e){if(this._observedElements.has(e))this._observedElements.get(e).count++;else{const t=new o.a,n=this._mutationObserverFactory.create(e=>t.next(e));n&&n.observe(e,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(e,{observer:n,stream:t,count:1})}return this._observedElements.get(e).stream}_unobserveElement(e){this._observedElements.has(e)&&(this._observedElements.get(e).count--,this._observedElements.get(e).count||this._cleanupObserver(e))}_cleanupObserver(e){if(this._observedElements.has(e)){const{observer:t,stream:n}=this._observedElements.get(e);t&&t.disconnect(),n.complete(),this._observedElements.delete(e)}}}l.\u0275fac=function(e){return new(e||l)(i.Xc(c))},l.\u0275prov=Object(i.Jc)({factory:function(){return new l(Object(i.Xc)(c))},token:l,providedIn:"root"}),l.ctorParameters=()=>[{type:c}];class u{constructor(e,t,n){this._contentObserver=e,this._elementRef=t,this._ngZone=n,this.event=new i.x,this._disabled=!1,this._currentSubscription=null}get disabled(){return this._disabled}set disabled(e){this._disabled=Object(r.c)(e),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(e){this._debounce=Object(r.f)(e),this._subscribe()}ngAfterContentInit(){this._currentSubscription||this.disabled||this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const e=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?e.pipe(Object(a.a)(this.debounce)):e).subscribe(this.event)})}_unsubscribe(){var e;null===(e=this._currentSubscription)||void 0===e||e.unsubscribe()}}u.\u0275fac=function(e){return new(e||u)(i.Nc(l),i.Nc(i.v),i.Nc(i.Q))},u.\u0275dir=i.Ic({type:u,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),u.ctorParameters=()=>[{type:l},{type:i.v},{type:i.Q}],u.propDecorators={event:[{type:i.S,args:["cdkObserveContent"]}],disabled:[{type:i.G,args:["cdkObserveContentDisabled"]}],debounce:[{type:i.G}]};class h{}h.\u0275mod=i.Lc({type:h}),h.\u0275inj=i.Kc({factory:function(e){return new(e||h)},providers:[c]}),("undefined"==typeof ngJitMode||ngJitMode)&&i.Bd(h,{declarations:[u],exports:[u]})},GyhO:function(e,t,n){"use strict";n.d(t,"a",function(){return s});var r=n("LRne"),i=n("bHdf");function s(...e){return Object(i.a)(1)(Object(r.a)(...e))}},H8ED:function(e,t,n){!function(e){"use strict";function t(e,t){var n=e.split("_");return t%10==1&&t%100!=11?n[0]:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?n[1]:n[2]}function n(e,n,r){return"m"===r?n?"\u0445\u0432\u0456\u043b\u0456\u043d\u0430":"\u0445\u0432\u0456\u043b\u0456\u043d\u0443":"h"===r?n?"\u0433\u0430\u0434\u0437\u0456\u043d\u0430":"\u0433\u0430\u0434\u0437\u0456\u043d\u0443":e+" "+t({ss:n?"\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:n?"\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:n?"\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"}[r],+e)}e.defineLocale("be",{months:{format:"\u0441\u0442\u0443\u0434\u0437\u0435\u043d\u044f_\u043b\u044e\u0442\u0430\u0433\u0430_\u0441\u0430\u043a\u0430\u0432\u0456\u043a\u0430_\u043a\u0440\u0430\u0441\u0430\u0432\u0456\u043a\u0430_\u0442\u0440\u0430\u045e\u043d\u044f_\u0447\u044d\u0440\u0432\u0435\u043d\u044f_\u043b\u0456\u043f\u0435\u043d\u044f_\u0436\u043d\u0456\u045e\u043d\u044f_\u0432\u0435\u0440\u0430\u0441\u043d\u044f_\u043a\u0430\u0441\u0442\u0440\u044b\u0447\u043d\u0456\u043a\u0430_\u043b\u0456\u0441\u0442\u0430\u043f\u0430\u0434\u0430_\u0441\u043d\u0435\u0436\u043d\u044f".split("_"),standalone:"\u0441\u0442\u0443\u0434\u0437\u0435\u043d\u044c_\u043b\u044e\u0442\u044b_\u0441\u0430\u043a\u0430\u0432\u0456\u043a_\u043a\u0440\u0430\u0441\u0430\u0432\u0456\u043a_\u0442\u0440\u0430\u0432\u0435\u043d\u044c_\u0447\u044d\u0440\u0432\u0435\u043d\u044c_\u043b\u0456\u043f\u0435\u043d\u044c_\u0436\u043d\u0456\u0432\u0435\u043d\u044c_\u0432\u0435\u0440\u0430\u0441\u0435\u043d\u044c_\u043a\u0430\u0441\u0442\u0440\u044b\u0447\u043d\u0456\u043a_\u043b\u0456\u0441\u0442\u0430\u043f\u0430\u0434_\u0441\u043d\u0435\u0436\u0430\u043d\u044c".split("_")},monthsShort:"\u0441\u0442\u0443\u0434_\u043b\u044e\u0442_\u0441\u0430\u043a_\u043a\u0440\u0430\u0441_\u0442\u0440\u0430\u0432_\u0447\u044d\u0440\u0432_\u043b\u0456\u043f_\u0436\u043d\u0456\u0432_\u0432\u0435\u0440_\u043a\u0430\u0441\u0442_\u043b\u0456\u0441\u0442_\u0441\u043d\u0435\u0436".split("_"),weekdays:{format:"\u043d\u044f\u0434\u0437\u0435\u043b\u044e_\u043f\u0430\u043d\u044f\u0434\u0437\u0435\u043b\u0430\u043a_\u0430\u045e\u0442\u043e\u0440\u0430\u043a_\u0441\u0435\u0440\u0430\u0434\u0443_\u0447\u0430\u0446\u0432\u0435\u0440_\u043f\u044f\u0442\u043d\u0456\u0446\u0443_\u0441\u0443\u0431\u043e\u0442\u0443".split("_"),standalone:"\u043d\u044f\u0434\u0437\u0435\u043b\u044f_\u043f\u0430\u043d\u044f\u0434\u0437\u0435\u043b\u0430\u043a_\u0430\u045e\u0442\u043e\u0440\u0430\u043a_\u0441\u0435\u0440\u0430\u0434\u0430_\u0447\u0430\u0446\u0432\u0435\u0440_\u043f\u044f\u0442\u043d\u0456\u0446\u0430_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),isFormat:/\[ ?[\u0423\u0443\u045e] ?(?:\u043c\u0456\u043d\u0443\u043b\u0443\u044e|\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u0443\u044e)? ?\] ?dddd/},weekdaysShort:"\u043d\u0434_\u043f\u043d_\u0430\u0442_\u0441\u0440_\u0447\u0446_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0430\u0442_\u0441\u0440_\u0447\u0446_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0433.",LLL:"D MMMM YYYY \u0433., HH:mm",LLLL:"dddd, D MMMM YYYY \u0433., HH:mm"},calendar:{sameDay:"[\u0421\u0451\u043d\u043d\u044f \u045e] LT",nextDay:"[\u0417\u0430\u045e\u0442\u0440\u0430 \u045e] LT",lastDay:"[\u0423\u0447\u043e\u0440\u0430 \u045e] LT",nextWeek:function(){return"[\u0423] dddd [\u045e] LT"},lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return"[\u0423 \u043c\u0456\u043d\u0443\u043b\u0443\u044e] dddd [\u045e] LT";case 1:case 2:case 4:return"[\u0423 \u043c\u0456\u043d\u0443\u043b\u044b] dddd [\u045e] LT"}},sameElse:"L"},relativeTime:{future:"\u043f\u0440\u0430\u0437 %s",past:"%s \u0442\u0430\u043c\u0443",s:"\u043d\u0435\u043a\u0430\u043b\u044c\u043a\u0456 \u0441\u0435\u043a\u0443\u043d\u0434",m:n,mm:n,h:n,hh:n,d:"\u0434\u0437\u0435\u043d\u044c",dd:n,M:"\u043c\u0435\u0441\u044f\u0446",MM:n,y:"\u0433\u043e\u0434",yy:n},meridiemParse:/\u043d\u043e\u0447\u044b|\u0440\u0430\u043d\u0456\u0446\u044b|\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430/,isPM:function(e){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430)$/.test(e)},meridiem:function(e,t,n){return e<4?"\u043d\u043e\u0447\u044b":e<12?"\u0440\u0430\u043d\u0456\u0446\u044b":e<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0430\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0456|\u044b|\u0433\u0430)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":case"w":case"W":return e%10!=2&&e%10!=3||e%100==12||e%100==13?e+"-\u044b":e+"-\u0456";case"D":return e+"-\u0433\u0430";default:return e}},week:{dow:1,doy:7}})}(n("wd/R"))},HDdC:function(e,t,n){"use strict";n.d(t,"a",function(){return u});var r=n("7o/Q");var i=n("2QA8"),s=n("gRHU");var o=n("kJWO"),a=n("SpAZ");function c(e){return 0===e.length?a.a:1===e.length?e[0]:function(t){return e.reduce((e,t)=>t(e),t)}}var l=n("2fFW");class u{constructor(e){this._isScalar=!1,e&&(this._subscribe=e)}lift(e){const t=new u;return t.source=this,t.operator=e,t}subscribe(e,t,n){const{operator:o}=this,a=function(e,t,n){if(e){if(e instanceof r.a)return e;if(e[i.a])return e[i.a]()}return e||t||n?new r.a(e,t,n):new r.a(s.a)}(e,t,n);if(o?a.add(o.call(a,this.source)):a.add(this.source||l.a.useDeprecatedSynchronousErrorHandling&&!a.syncErrorThrowable?this._subscribe(a):this._trySubscribe(a)),l.a.useDeprecatedSynchronousErrorHandling&&a.syncErrorThrowable&&(a.syncErrorThrowable=!1,a.syncErrorThrown))throw a.syncErrorValue;return a}_trySubscribe(e){try{return this._subscribe(e)}catch(t){l.a.useDeprecatedSynchronousErrorHandling&&(e.syncErrorThrown=!0,e.syncErrorValue=t),!function(e){for(;e;){const{closed:t,destination:n,isStopped:i}=e;if(t||i)return!1;e=n&&n instanceof r.a?n:null}return!0}(e)?console.warn(t):e.error(t)}}forEach(e,t){return new(t=h(t))((t,n)=>{let r;r=this.subscribe(t=>{try{e(t)}catch(i){n(i),r&&r.unsubscribe()}},n,t)})}_subscribe(e){const{source:t}=this;return t&&t.subscribe(e)}[o.a](){return this}pipe(...e){return 0===e.length?this:c(e)(this)}toPromise(e){return new(e=h(e))((e,t)=>{let n;this.subscribe(e=>n=e,e=>t(e),()=>e(n))})}}function h(e){if(e||(e=l.a.Promise||Promise),!e)throw new Error("no Promise impl found");return e}u.create=e=>new u(e)},HISm:function(e,t,n){"use strict";n.d(t,"a",function(){return w});var r=n("mrSG"),i=n("fXoL"),s=n("Vsj3"),o=n("4lKt"),a=n("tyNb"),c=n("3Pt+"),l=n("EJ3t"),u=n("dEAy"),h=n("IzEk"),d=n("1G5W"),f=n("eIep"),p=n("Hdf2"),m=n("bNXi"),g=n("9eNV"),v=n("CmFN"),y=n("lkBS"),b=n("LtKc"),_=n("rdIy");let w=class extends _.a{constructor(e,t,n,r,i,s,o,a,c,l,u,h,d){super(),this.userService=e,this.documentState=t,this.tasksService=n,this.router=r,this.route=i,this.fb=s,this.modal=o,this.documentService=a,this.notification=c,this.emailNotificationService=l,this.user=u,this.content=h,this.notificationService=d,this.users=[],this.isSelectFile=!1,this.files=[],this.docs=[],this.fileList=[],this.loading=!1,this.taskType=[],this.project=null,this.beforeUpload=e=>(this.fileList=this.fileList.concat(e),!1)}ngOnInit(){this.createForm(),this.userService.getUsersOfProject().pipe(Object(h.a)(1)).subscribe(e=>this.users=e),this.documentState.getProject().pipe(Object(d.a)(this.destroy$),Object(f.a)(e=>(this.project=e,this.tasksService.getTaskType(e.id,[s.a.Custom])))).subscribe(e=>this.taskType=e)}createForm(){this.form=this.fb.group({name:["",c.r.required],desc:["",c.r.maxLength(512)],user:["",c.r.required],endDate:[""]})}onBack(){this.isSelectFile=!1}select(e){e.preventDefault(),e.stopPropagation(),this.isSelectFile=!0}cancel(){this.isSelectFile?this.onBack():this.modal.close()}send(){return Object(r.a)(this,void 0,void 0,function*(){if(this.isSelectFile)this.files.length&&this.documentService.getDocVersionsFromFolder(this.files).pipe(Object(h.a)(1)).subscribe(e=>{this.docs=e}),this.onBack();else if(this.form.markAllAsTouched(),this.form.valid)yield this.saveForm();else{const e=this.form.controls.desc.invalid?"\u041f\u0440\u0435\u0432\u044b\u0448\u0435\u043d \u043b\u0438\u043c\u0438\u0442 \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u0432 \u0432 \u043f\u043e\u043b\u0435 \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u0435":"\u041e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u043f\u043e\u043b\u044f \u043d\u0435 \u0437\u0430\u043f\u043e\u043b\u043d\u0435\u043d\u044b";this.notification.create("error","",e)}})}saveForm(){return Object(r.a)(this,void 0,void 0,function*(){this.loading=!0;const e=yield this.tasksService.saveTask(this.user,this.form.value,this.taskType[0].id,this.docs,this.fileList),t=this.users.find(e=>e.id===this.form.value.user);let n=`\u0412\u0430\u043c \u043d\u0430\u0437\u043d\u0430\u0447\u0435\u043d\u0430 \u043d\u043e\u0432\u0430\u044f \u0437\u0430\u0434\u0430\u0447\u0430 \u043e\u0442 ${this.user.fullname||this.user.name}.`;if(t){const r={eventType:"\u041f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u0441\u043a\u0430\u044f \u0437\u0430\u0434\u0430\u0447\u0430",text:n,base:e.toString(),project:{id:this.project.id,name:this.project.name},recipients:[{id:t.id,name:t.name}]};yield this.notificationService.createNotification(r);n+=`\u0421\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u0437\u0430\u0434\u0430\u0447\u0443 \u0432 \u0441\u0438\u0441\u0442\u0435\u043c\u0435: ${window.location.href}/${e}`;const i=new FormData;i.append("recipient",t.email||t.name||""),i.append("message",n);for(const e of this.docs)if(e.file){const t=yield this.content.url(e.file.id),n=yield this.content.download(t).toPromise();i.append("files",n,e.file.name)}for(const e of this.fileList)i.append("files",e);yield this.emailNotificationService.sendEmailNotificationFormData(i).pipe(Object(h.a)(1)).toPromise().catch(e=>console.log(e))}this.modal.close(!0)})}selectedFile(e){const t=[];e.forEach(e=>{this.getChildren(e.origin,t)}),this.files=t}getChildren(e,t){var n;(null===(n=null==e?void 0:e.children)||void 0===n?void 0:n.length)?e.children.forEach(e=>{this.getChildren(e,t)}):t.push({key:e.item.id.toString(),val:{all:!0,indeterminate:!0,child:[],file:e.item}})}};w.ctorParameters=()=>[{type:l.a},{type:o.a},{type:s.b},{type:a.d},{type:a.a},{type:c.e},{type:u.b},{type:p.a},{type:m.b},{type:v.a},{type:void 0,decorators:[{type:i.C,args:[g.a]}]},{type:y.b},{type:b.b}],w=Object(r.b)([Object(i.n)({selector:"app-create-task",template:'<form [class.hidden]="isSelectFile" nz-form nzLayout="vertical" [formGroup]="form">\n  <nz-form-item>\n    <nz-form-label nzRequired nzFor="name">\u041d\u0430\u0437\u0432\u0430\u043d\u0438\u0435</nz-form-label>\n    <nz-form-control>\n      <input nz-input name="name" formControlName="name" type="text" id="name">\n    </nz-form-control>\n  </nz-form-item >\n  <nz-form-item>\n    <nz-form-control>\n      <nz-form-label nzFor="desc">\u041e\u043f\u0438\u0441\u0430\u043d\u0438\u0435</nz-form-label>\n      <nz-textarea-count [nzMaxCharacterCount]="512">\n        <textarea name="desc" formControlName="desc" rows="4" nz-input id="desc"></textarea>\n      </nz-textarea-count>\n    </nz-form-control>\n  </nz-form-item>\n  <nz-form-item>\n    <nz-form-label nzRequired nzFor="responsible">\u041e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0439</nz-form-label>\n    <nz-form-control>\n      <nz-select formControlName="user">\n        <nz-option *ngFor="let user of users" [nzLabel]="user.name" [nzValue]="user.id"></nz-option>\n      </nz-select>\n    </nz-form-control>\n  </nz-form-item >\n  <nz-form-item>\n    <nz-form-label nzFor="endDate">\u0412\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u044c \u0434\u043e</nz-form-label>\n    <nz-form-control>\n      <input nz-input name="endDate" formControlName="endDate" type="date" id="endDate">\n    </nz-form-control>\n  </nz-form-item >\n  <nz-form-item>\n    <nz-form-label>\u0412\u043b\u043e\u0436\u0435\u043d\u0438\u044f</nz-form-label>\n    <nz-upload\n      nzType="drag"\n      [nzFileList]="fileList"\n      [nzBeforeUpload]="beforeUpload"\n      [nzMultiple]="true"\n    >\n      <p class="ant-upload-drag-icon">\n        <span nz-icon nzType="inbox"></span>\n      </p>\n      <p class="ant-upload-text">Click or drag file to this area to upload</p>\n      <p class="ant-upload-hint">\n        Support for a single or bulk upload. Strictly prohibit from uploading company data or other band files\n      </p>\n    </nz-upload>\n    \x3c!--<nz-form-text class="text-info">Recommanded resolution is 640*640 with file size</nz-form-text>--\x3e\n  </nz-form-item>\n  <nz-form-item>\n    <nz-form-label>\u041f\u0440\u0438\u0432\u044f\u0437\u0430\u0442\u044c \u0437\u0430\u0434\u0430\u0447\u0443 \u043a \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0443</nz-form-label>\n    <nz-form-control>\n      <nz-upload\n        nzListType="picture"\n        [(nzFileList)]="docs"\n      >\n        <button nz-button type="button"  nzType="default" class="select-file" (click)="select($event)">\n          <core-icon class="icon" name="app:24-plus"></core-icon>\n          \u0412\u044b\u0431\u0440\u0430\u0442\u044c\n        </button>\n      </nz-upload>\n    </nz-form-control>\n  </nz-form-item>\n</form>\n<div [class.hidden]="!isSelectFile">\n  <nz-page-header\n    class="page-header"\n    (nzBack)="onBack()"\n    nzTitle="\u041f\u0440\u0438\u0432\u044f\u0437\u0430\u0442\u044c \u0437\u0430\u0434\u0430\u0447\u0443 \u043a \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0443"\n    nzBackIcon>\n  </nz-page-header>\n  <app-tree-project\n    [getItem]="true"\n    [showDocs]="true"\n    [multiple]="true"\n    (selected)="selectedFile($event)"></app-tree-project>\n</div>\n<nz-space *nzModalFooter>\n  <button nz-button nzType="default" *nzSpaceItem (click)="cancel()">{{isSelectFile ? \'\u041d\u0430\u0437\u0430\u0434\' : \'\u041e\u0442\u043c\u0435\u043d\u0430\'}}</button>\n  <button nz-button nzType="primary" [nzLoading]="loading" *nzSpaceItem (click)="send()">{{isSelectFile ? \'\u0412\u044b\u0431\u0440\u0430\u0442\u044c\' : \'\u041e\u0442\u043f\u0440\u0430\u0432\u0438\u0442\u044c\'}}</button>\n</nz-space>\n',styles:[".select-file {\n  width: 113px;\n}\n\n.text-info {\n  color: rgba(0, 0, 0, 0.45);\n}\n\n.page-header {\n  padding: 0;\n}\n\n::ng-deep nz-select.ng-invalid.ng-touched nz-select-top-control,\n.ng-invalid.ng-touched {\n  border-color: red !important;\n}\n\n.hidden {\n  height: 0;\n  opacity: 0;\n  pointer-events: none;\n}"]})],w)},HP3h:function(e,t,n){!function(e){"use strict";var t={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},n=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},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"]},i=function(e){return function(t,i,s,o){var a=n(t),c=r[e][n(t)];return 2===a&&(c=c[i?0:1]),c.replace(/%d/i,t)}},s=["\u064a\u0646\u0627\u064a\u0631","\u0641\u0628\u0631\u0627\u064a\u0631","\u0645\u0627\u0631\u0633","\u0623\u0628\u0631\u064a\u0644","\u0645\u0627\u064a\u0648","\u064a\u0648\u0646\u064a\u0648","\u064a\u0648\u0644\u064a\u0648","\u0623\u063a\u0633\u0637\u0633","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"];e.defineLocale("ar-ly",{months:s,monthsShort:s,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(e){return"\u0645"===e},meridiem:function(e,t,n){return e<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s: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")},preparse:function(e){return e.replace(/\u060c/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(n("wd/R"))},HSCc:function(e,t,n){"use strict";n.d(t,"a",function(){return p}),n.d(t,"b",function(){return l});var r=n("ofXK"),i=n("fXoL"),s=n("/KA4"),o=n("jhN1");class a{transform(e,t){if(!Array.isArray(e))return e;if(0!==e.length)switch(t){case"sum":return Object(s.B)(e);case"avg":return Object(s.B)(e)/e.length;case"max":return Math.max(...e);case"min":return Math.min(...e);default:throw Error("Invalid Pipe Arguments: Aggregate pipe doesn't support this type")}}}a.\u0275fac=function(e){return new(e||a)},a.\u0275pipe=i.Mc({name:"nzAggregate",type:a,pure:!0});class c{transform(e,t=0,n="B",r){if(!(Object(s.q)(e)&&Object(s.q)(t)&&t%1==0&&t>=0))return e;let i=e,o=n;for(;"B"!==o;)i*=1024,o=c.formats[o].prev;if(r){const e=c.formats[r],n=Object(s.F)(c.calculateResult(e,i),t);return c.formatResult(n,r)}for(const a in c.formats)if(c.formats.hasOwnProperty(a)){const e=c.formats[a];if(i<e.max){const n=Object(s.F)(c.calculateResult(e,i),t);return c.formatResult(n,a)}}}static formatResult(e,t){return`${e} ${t}`}static calculateResult(e,t){const n=e.prev?c.formats[e.prev]:void 0;return n?t/n.max:t}}c.\u0275fac=function(e){return new(e||c)},c.\u0275pipe=i.Mc({name:"nzBytes",type:c,pure:!0}),c.formats={B:{max:1024},kB:{max:Math.pow(1024,2),prev:"B"},KB:{max:Math.pow(1024,2),prev:"B"},MB:{max:Math.pow(1024,3),prev:"kB"},GB:{max:Math.pow(1024,4),prev:"MB"},TB:{max:Number.MAX_SAFE_INTEGER,prev:"GB"}};class l{transform(e,t="px"){let n="px";return["cm","mm","Q","in","pc","pt","px","em","ex","ch","rem","1h","vw","vh","vmin","vmax","%"].some(e=>e===t)&&(n=t),"number"==typeof e?`${e}${n}`:""+e}}l.\u0275fac=function(e){return new(e||l)},l.\u0275pipe=i.Mc({name:"nzToCssUnit",type:l,pure:!0});class u{transform(e,t,n=""){if("string"!=typeof e)return e;const r=void 0===t?e.length:t;return e.length<=r?e:e.substring(0,r)+n}}u.\u0275fac=function(e){return new(e||u)},u.\u0275pipe=i.Mc({name:"nzEllipsis",type:u,pure:!0});class h{transform(e,t=""){return Object(s.n)(e)?t:e}}h.\u0275fac=function(e){return new(e||h)},h.\u0275pipe=i.Mc({name:"nzSafeNull",type:h,pure:!0});class d{constructor(e){this.sanitizer=e}transform(e,t="html"){switch(t){case"html":return this.sanitizer.bypassSecurityTrustHtml(e);case"style":return this.sanitizer.bypassSecurityTrustStyle(e);case"url":return this.sanitizer.bypassSecurityTrustUrl(e);case"resourceUrl":return this.sanitizer.bypassSecurityTrustResourceUrl(e);default:throw new Error("Invalid safe type specified")}}}d.\u0275fac=function(e){return new(e||d)(i.Nc(o.b))},d.\u0275pipe=i.Mc({name:"nzSanitizer",type:d,pure:!0}),d.ctorParameters=()=>[{type:o.b}];class f{transform(e){return e.trim()}}f.\u0275fac=function(e){return new(e||f)},f.\u0275pipe=i.Mc({name:"nzTrim",type:f,pure:!0});class p{}p.\u0275mod=i.Lc({type:p}),p.\u0275inj=i.Kc({factory:function(e){return new(e||p)},imports:[[r.c]]}),("undefined"==typeof ngJitMode||ngJitMode)&&i.Bd(p,{declarations:function(){return[l,h,d,f,c,a,u]},imports:function(){return[r.c]},exports:function(){return[l,h,d,f,c,a,u]}})},Hdf2:function(e,t,n){"use strict";n.d(t,"a",function(){return V});var r=n("mrSG"),i=n("fXoL"),s=n("xwJx"),o=n("mjQ1"),a=n("SURy"),c=n("2kdd"),l=n("dEAy"),u=n("Cfvw"),h=n("yCtX"),d=n("DH7j"),f=n("7o/Q"),p=n("Lhse"),m=n("zx2A");function g(...e){const t=e[e.length-1];return"function"==typeof t&&e.pop(),Object(h.a)(e,void 0).lift(new v(t))}class v{constructor(e){this.resultSelector=e}call(e,t){return t.subscribe(new y(e,this.resultSelector))}}class y extends f.a{constructor(e,t,n=Object.create(null)){super(e),this.resultSelector=t,this.iterators=[],this.active=0,this.resultSelector="function"==typeof t?t:void 0}_next(e){const t=this.iterators;Object(d.a)(e)?t.push(new _(e)):"function"==typeof e[p.a]?t.push(new b(e[p.a]())):t.push(new w(this.destination,this,e))}_complete(){const e=this.iterators,t=e.length;if(this.unsubscribe(),0!==t){this.active=t;for(let n=0;n<t;n++){let t=e[n];if(t.stillUnsubscribed){this.destination.add(t.subscribe())}else this.active--}}else this.destination.complete()}notifyInactive(){this.active--,0===this.active&&this.destination.complete()}checkIterators(){const e=this.iterators,t=e.length,n=this.destination;for(let s=0;s<t;s++){let t=e[s];if("function"==typeof t.hasValue&&!t.hasValue())return}let r=!1;const i=[];for(let s=0;s<t;s++){let t=e[s],o=t.next();if(t.hasCompleted()&&(r=!0),o.done)return void n.complete();i.push(o.value)}this.resultSelector?this._tryresultSelector(i):n.next(i),r&&n.complete()}_tryresultSelector(e){let t;try{t=this.resultSelector.apply(this,e)}catch(n){return void this.destination.error(n)}this.destination.next(t)}}class b{constructor(e){this.iterator=e,this.nextResult=e.next()}hasValue(){return!0}next(){const e=this.nextResult;return this.nextResult=this.iterator.next(),e}hasCompleted(){const e=this.nextResult;return Boolean(e&&e.done)}}class _{constructor(e){this.array=e,this.index=0,this.length=0,this.length=e.length}[p.a](){return this}next(e){const t=this.index++,n=this.array;return t<this.length?{value:n[t],done:!1}:{value:null,done:!0}}hasValue(){return this.array.length>this.index}hasCompleted(){return this.array.length===this.index}}class w extends m.b{constructor(e,t,n){super(e),this.parent=t,this.observable=n,this.stillUnsubscribed=!0,this.buffer=[],this.isComplete=!1}[p.a](){return this}next(){const e=this.buffer;return 0===e.length&&this.isComplete?{value:null,done:!0}:{value:e.shift(),done:!1}}hasValue(){return this.buffer.length>0}hasCompleted(){return 0===this.buffer.length&&this.isComplete}notifyComplete(){this.buffer.length>0?(this.isComplete=!0,this.parent.notifyInactive()):this.destination.complete()}notifyNext(e){this.buffer.push(e),this.parent.checkIterators()}subscribe(){return Object(m.c)(this.observable,new m.a(this))}}var S=n("LRne"),x=n("cp0P"),O=n("eIep"),k=n("lJxs"),C=n("5+tZ"),M=n("IzEk"),E=n("Jzx+"),T=n("n01v"),j=n("Tcg7"),D=n("hYiY"),A=n("rgsH"),L=n("4lKt"),z=n("9eNV"),P=n("Jy0u"),I=n("pgwu"),R=n("WRe/"),N=n("phRD"),H=n("uyU4"),F=n("QnZs");let V=class extends I.a{constructor(e,t,n,r,i,s,o,a){super(e,t,H.a,n),this.documentVersionsService=n,this.agreementService=r,this.directoriesService=i,this.documentState=s,this.user=o,this.modal=a,this.files=[],this.emptyFolders=[],this.baskets=[],this.class=this.metadata.classes.get(H.a.class).then(e=>(this.setProperty(e,"\u0421. \u0414\u043e\u043a\u0443\u043c\u0435\u043d\u0442 \u0432\u0435\u0440\u0441\u0438\u044f. \u0418\u0414 \u043f\u0440\u043e\u0435\u043a\u0442\u043d\u043e\u0433\u043e \u0438\u043d\u0441\u0442\u0438\u0442\u0443\u0442\u0430")&&(N.a.properties.pIid=this.setProperty(e,"\u0421. \u0414\u043e\u043a\u0443\u043c\u0435\u043d\u0442 \u0432\u0435\u0440\u0441\u0438\u044f. \u0418\u0414 \u043f\u0440\u043e\u0435\u043a\u0442\u043d\u043e\u0433\u043e \u0438\u043d\u0441\u0442\u0438\u0442\u0443\u0442\u0430")),this.setProperty(e,"\u0421. \u0414\u043e\u043a\u0443\u043c\u0435\u043d\u0442 \u0432\u0435\u0440\u0441\u0438\u044f. \u0418\u0414 \u043f\u0440\u043e\u0435\u043a\u0442\u043d\u043e\u0433\u043e \u0438\u043d\u0441\u0442\u0438\u0442\u0443\u0442\u0430")&&(N.a.properties.revision=this.setProperty(e,"\u0421.\u0420\u0435\u0432\u0438\u0437\u0438\u044f \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430")),this.setProperty(e,"\u0421. \u0414\u043e\u043a\u0443\u043c\u0435\u043d\u0442 \u0432\u0435\u0440\u0441\u0438\u044f. \u0418\u0414 \u043f\u0440\u043e\u0435\u043a\u0442\u043d\u043e\u0433\u043e \u0438\u043d\u0441\u0442\u0438\u0442\u0443\u0442\u0430")&&(N.a.properties.notes=this.setProperty(e,"\u0421.\u0414\u043e\u043a\u0443\u043c\u0435\u043d\u0442 \u041f\u0440\u0438\u043c\u0435\u0447\u0430\u043d\u0438\u0435")),this.setProperty(e,"\u0421. \u0414\u043e\u043a\u0443\u043c\u0435\u043d\u0442 \u0432\u0435\u0440\u0441\u0438\u044f. \u0418\u0414 \u043f\u0440\u043e\u0435\u043a\u0442\u043d\u043e\u0433\u043e \u0438\u043d\u0441\u0442\u0438\u0442\u0443\u0442\u0430")&&(N.a.properties.documentSection=this.setProperty(e,"\u0421.\u0420\u0430\u0437\u0434\u0435\u043b \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430")),e))}create(e,t){return Object(r.a)(this,void 0,void 0,function*(){const n=yield this.class;t=Object.assign(Object.assign({},t),{status:F.a.ReceivedFromPi,creationDate:new Date});const r=Object(o.h)(Object.assign({},t),this.schema,n);return yield this.entities.create(r,e,this.schema.collection)})}save(e,t){return Object(r.a)(this,void 0,void 0,function*(){const n=yield this.class,r=Object(o.i)(e,t,this.schema,n);return yield this.entities.update(Object.assign({id:e.id},r))})}delete(e){return Object(r.a)(this,void 0,void 0,function*(){return yield this.entities.delete(...e)})}getDocumentWithVersions(e,t,n){return Object(u.a)(this.metadata.classes.get([H.a.class,N.a.class])).pipe(Object(O.a)(([r,i])=>this.entities.analytic.query({where:Object(c.a)([Object(P.b)(H.a.class),...Object(P.i)(e,H.a)]),orderBy:Object(P.h)(t,H.a,r),select:Object(o.f)(H.a,r),join:{[Object(c.d)(N.a.collection)]:{where:Object(P.b)(i.id),select:Object(o.f)(N.a,i)}}},n))).pipe(Object(k.a)(({items:e})=>Object(P.j)(e,{schema:H.a,connect:([e],t)=>e.push(t)},{schema:N.a,connect:([e,t],n)=>{var r;return null!==(r=t.versions)&&void 0!==r||(t.versions=[]),t.versions.push(n)}})))}getAllVersions(e,t,n){return Object(u.a)(this.metadata.classes.get([H.a.class,N.a.class])).pipe(Object(O.a)(([r,i])=>this.entities.analytic.query({where:Object(c.a)([Object(P.b)(H.a.class),...Object(P.i)(e,H.a)]),orderBy:Object(P.h)(t,H.a,r),select:Object(o.f)(H.a,r),join:{[Object(c.d)(N.a.collection)]:{where:Object(P.b)(i.id),select:Object(o.f)(N.a,i)}}},n))).pipe(Object(k.a)(({items:e})=>e.map(e=>Object(o.j)(e,H.a))))}getDocuments(e){return g(Object(u.a)(this.class),e).pipe(Object(C.a)(([e,t])=>this.entities.analytic.query({where:Object(c.a)([Object(P.b)(this.schema.class),Object(P.e)(t)]),select:Object(o.f)(this.schema,e)},{skip:0,take:1e6})))}getAllDocument(e){return g(Object(u.a)(this.class),e).pipe(Object(C.a)(([e,t])=>this.entities.analytic.query({where:Object(c.a)([Object(P.b)(this.schema.class),Object(P.e)(t)]),select:Object(o.f)(this.schema,e)},{skip:0,take:1e6})),Object(O.a)(e=>Object(S.a)(Object.assign(Object.assign({},e),{items:e.items.map(e=>Object.assign(Object.assign({},Object(o.j)(e,H.a)),{path:e.path}))}))))}getFilteredDocuments(e,t){return g(Object(u.a)(this.class),e).pipe(Object(C.a)(([e,t])=>this.entities.analytic.query({where:Object(c.a)([Object(P.b)(this.schema.class),Object(P.e)(t)]),select:Object(o.f)(this.schema,e)},{skip:0,take:1e6})),Object(O.a)(e=>Object(S.a)(Object.assign(Object.assign({},e),{items:e.items.map(e=>Object.assign(Object.assign({},Object(o.j)(e,H.a)),{path:e.path}))}))),Object(O.a)(e=>{var n;return(null==e?void 0:e.items)&&(null===(n=null==e?void 0:e.items)||void 0===n?void 0:n.length)>0&&(e.items=e.items.filter(e=>t?e.hasOwnProperty("removedBy"):!e.hasOwnProperty("removedBy"))),Object(S.a)(e)}))}getDocumentsFromProjects(e){return e.length?Object(u.a)(this.class).pipe(Object(O.a)(t=>this.entities.analytic.query({where:Object(c.a)([Object(P.b)(this.schema.class),Object(P.e)(...e)]),select:Object(o.f)(this.schema,t)},{skip:0,take:1e6}))):Object(S.a)({items:[],total:0,skipped:0})}setProperty(e,t){return Array.from(Object.keys(e.attributes)).find(n=>{var r;return(null===(r=e.attributes[n])||void 0===r?void 0:r.name)===t})}getDocVersions(e,t,n,r=!1){let i=e.filter(e=>!e.isDoc);t&&(i=null==i?void 0:i.filter(e=>{var n,r;return null===(r=null===(n=null==e?void 0:e.name)||void 0===n?void 0:n.toLowerCase())||void 0===r?void 0:r.includes(null==t?void 0:t.toLowerCase())}));const s=null==e?void 0:e.filter(e=>e.isDoc).map(e=>e.id);return s.length?this.getDocumentsFromRoots(i,s,t,n,r):Object(S.a)({items:i,skipped:0,total:i.length})}getDocVersionsFromFolder(e){const t=[],n=[];return e.forEach(({key:e,val:r})=>{Number(e)&&r.all&&!r.child.length&&(r.file.isFolder?t.push(Number(e)):n.push(Object.assign(Object.assign({},r.file),{uid:n.length.toString()})))}),t.length?this.getDocumentsFromRoots([],t,"",{skip:0,take:1e3}).pipe(Object(O.a)(e=>{const t=n.length;return e.items.forEach((e,r)=>{if(e&&0!==Object.keys(e).length){const i=Object.assign(Object.assign({},e),{uid:(r+t).toString()});n.push(i)}}),Object(S.a)(n)})):Object(S.a)(n)}getDocumentsFromRoots(e,t,n,r,i=!1){const a=[Object(P.b)(this.schema.class),Object(P.e)(...t)];let l,h;return n&&a.push({[Object(c.c)(s.w.entities.attributes.name)]:{startsWith:"%"+n}}),Object(x.a)([Object(u.a)(this.metadata.classes.get([H.a.class,N.a.class])),this.directoriesService.docStatus]).pipe(Object(O.a)(([[e,t],n])=>{l=t;const s=(n||[]).find(e=>"\u0423\u0434\u0430\u043b\u0435\u043d"===e.name);return s&&(i?a.push(this.statusCondition(s.id,"eq")):a.push(this.statusCondition(s.id,"ne"))),this.entities.analytic.query({where:Object(c.a)(a),select:Object(o.f)(this.schema,e)},r)}),Object(O.a)(e=>(h=Object.assign(Object.assign({},e),{items:e.items.map(e=>Object.assign(Object.assign({},Object(o.j)(e,H.a)),{path:e.path}))}),e.items.length?this.entities.analytic.query({where:Object(c.a)([Object(P.b)(l.id),Object(P.e)(...e.items.map(e=>e.id))]),select:Object(o.f)(N.a,l)},{skip:0,take:1e3}).pipe(Object(k.a)(e=>{const t=e.items.map(e=>Object.assign(Object.assign({},Object(o.j)(e,N.a)),{path:e.path}));return h.items.forEach(e=>{var n,r;e.versions=t.filter(t=>Object(o.c)(t.path).reverse()[0]===e.id);const i=(null===(n=e.versions)||void 0===n?void 0:n.length)?e.versions[e.versions.length-1]:void 0;i&&(null===(r=i)||void 0===r?void 0:r.approvalStatus)&&(e.approvalStatus=i.approvalStatus)}),h.items})):Object(S.a)({skipped:0,total:0,items:[]}))),Object(O.a)(e=>{if(!e.length)return Object(S.a)([]);const t=e.filter(e=>Object.keys(e).length).map(e=>{var t,n;if(null===(t=e.versions)||void 0===t?void 0:t.length){const t=e.versions[e.versions.length-1];return(null===(n=t)||void 0===n?void 0:n.approvalStatus)?0:t.id}return 0}).filter(e=>!!e);return t.length?this.agreementService.getAgreementsByDocVersions(t):Object(S.a)([])}),Object(k.a)(t=>{if(t.length){const e={};t.forEach(t=>{t.documentVersion&&t.status&&"\u0417\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u043e"!==t.status.name&&(e[t.documentVersion.id]?e[t.documentVersion.id].push(t):e[t.documentVersion.id]=[t])}),h.items.forEach(t=>{var n;const r=(null===(n=t.versions)||void 0===n?void 0:n.length)?t.versions[t.versions.length-1]:void 0;if(r&&e[r.id]){const n=e[r.id].some(e=>e.status.name===E.b.Opened||e.status.name===E.b.NotStarted);t.approvalStatus=n?{id:0,name:E.b.Opened}:{id:0,name:e[r.id][e[r.id].length-1].status.name}}})}return{skipped:h.skipped,items:!h.skipped&&e.length?[...e,...h.items]:h.items,total:h.total}}))}getVersionsAgreementStatus(e){if(!e||0===(null==e?void 0:e.length))return Object(S.a)([]);const t=e.map(e=>e.id);return t.length?this.agreementService.getAgreementsByDocVersions(t):Object(S.a)([])}removeObject(e,t){return Object(r.a)(this,void 0,void 0,function*(){if(1===e.length)if(e[0].isFolder)yield this.updateEntity(e[0],j.a,!0),this.documentState.isReload=!0,this.documentState.reload$.next(-1),this.info(t);else{const n=e[0];this.checkDocForRemove(n)?this.info():(yield this.updateDoc(n),this.info(t))}else yield this.getFoldersAndDocs(e,t)})}updateDoc(e,t=!0,n=!1){return Object(r.a)(this,void 0,void 0,function*(){yield this.updateEntity(e,H.a,!1,n);for(let t of e.versions||[])yield this.updateEntity(t,N.a,!1,n);t&&(this.documentState.isReload=!0,this.documentState.reload$.next(-1))})}updateEntity(e,t,n=!1,i=!1){var s,a;return Object(r.a)(this,void 0,void 0,function*(){let r,c;const l=yield this.directoriesService.docStatus.pipe(Object(M.a)(1)).toPromise();l&&(r=l.find(e=>"\u0423\u0434\u0430\u043b\u0435\u043d"===e.name),c=l.find(e=>"\u041f\u043e\u043b\u0443\u0447\u0435\u043d\u043e \u043e\u0442 \u041f\u0418"===e.name));const u=yield this.metadata.classes.get(t.class),h=e.status?n?{status:{id:null===(s=e.status)||void 0===s?void 0:s.id,name:null===(a=e.status)||void 0===a?void 0:a.name}}:{status:e.status}:{};let d={status:n?{id:r.id,name:r.name}:r.id,removedBy:{id:this.user.id,name:this.user.name},deletionDate:new Date};i&&(h.removedBy=e.removedBy,d.status=n?null:c.id,delete d.removedBy,delete d.deletionDate);const f=Object(o.i)(d,h,t,u);yield this.entities.update(Object.assign(Object.assign({},f),{id:e.id})),yield this.getBasket(e,i)})}getFoldersAndDocs(e,t){return Object(r.a)(this,void 0,void 0,function*(){if(e.some(e=>this.checkDocForRemove(e)))this.info();else{for(let t of e)t.hasOwnProperty("isDoc")?yield this.updateEntity(t,j.a,!0):yield this.updateDoc(t,!1);this.documentState.isReload=!0,this.documentState.reload$.next(-1),this.info(t)}})}getBasket(e,t=!1){return Object(r.a)(this,void 0,void 0,function*(){const n=yield this.metadata.classes.getNames("\u041a\u043e\u0440\u0437\u0438\u043d\u0430");if(this.baskets.length||(this.baskets=yield this.entities.analytic.query({where:Object(c.a)([Object(P.b)(n.id),Object(P.e)(2)]),select:"*"},{skip:0,take:10}).pipe(Object(M.a)(1),Object(k.a)(e=>e.items.map(e=>Object(o.j)(e,T.a)))).toPromise()),this.baskets.length){let r;r=t?Object(o.i)({},{removedElements:[{id:e.id,name:""}]},T.a,n):Object(o.i)({removedElements:[{id:e.id,name:""}]},{},T.a,n),yield this.entities.update(Object.assign(Object.assign({},r),{id:this.baskets[0].id}))}})}info(e="\u041d\u0435 \u0443\u0434\u0430\u043b\u043e\u0441\u044c \u0443\u0434\u0430\u043b\u0438\u0442\u044c \u044d\u043b\u0435\u043c\u0435\u043d\u0442. \u0414\u043e\u0436\u0434\u0438\u0442\u0435\u0441\u044c \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u0438\u044f \u0441\u043e\u0433\u043b\u0430\u0441\u043e\u0432\u0430\u043d\u0438\u044f"){this.modal.info({nzTitle:e,nzOkText:"Ok"})}checkDocForRemove(e){var t;return[E.b.Opened,E.b.NotStarted].includes(null===(t=e.approvalStatus)||void 0===t?void 0:t.name)}statusCondition(e,t){return{[Object(c.h)(Object(o.e)(H.a.properties.status))]:{exists:{id:{[t]:e}}}}}};V.ctorParameters=()=>[{type:o.a},{type:a.c},{type:R.a},{type:D.a},{type:A.a},{type:L.a},{type:void 0,decorators:[{type:i.C,args:[z.a]}]},{type:l.c}],V=Object(r.b)([Object(i.D)({providedIn:"root"})],V)},I55L:function(e,t,n){"use strict";n.d(t,"a",function(){return r});const r=e=>e&&"number"==typeof e.length&&"function"!=typeof e},IBtZ:function(e,t,n){!function(e){"use strict";e.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(e){return e.replace(/(\u10ec\u10d0\u10db|\u10ec\u10e3\u10d7|\u10e1\u10d0\u10d0\u10d7|\u10ec\u10d4\u10da|\u10d3\u10e6|\u10d7\u10d5)(\u10d8|\u10d4)/,function(e,t,n){return"\u10d8"===n?t+"\u10e8\u10d8":t+n+"\u10e8\u10d8"})},past:function(e){return/(\u10ec\u10d0\u10db\u10d8|\u10ec\u10e3\u10d7\u10d8|\u10e1\u10d0\u10d0\u10d7\u10d8|\u10d3\u10e6\u10d4|\u10d7\u10d5\u10d4)/.test(e)?e.replace(/(\u10d8|\u10d4)$/,"\u10d8\u10e1 \u10ec\u10d8\u10dc"):/\u10ec\u10d4\u10da\u10d8/.test(e)?e.replace(/\u10ec\u10d4\u10da\u10d8$/,"\u10ec\u10da\u10d8\u10e1 \u10ec\u10d8\u10dc"):e},s:"\u10e0\u10d0\u10db\u10d3\u10d4\u10dc\u10d8\u10db\u10d4 \u10ec\u10d0\u10db\u10d8",ss:"%d \u10ec\u10d0\u10db\u10d8",m:"\u10ec\u10e3\u10d7\u10d8",mm:"%d \u10ec\u10e3\u10d7\u10d8",h:"\u10e1\u10d0\u10d0\u10d7\u10d8",hh:"%d \u10e1\u10d0\u10d0\u10d7\u10d8",d:"\u10d3\u10e6\u10d4",dd:"%d \u10d3\u10e6\u10d4",M:"\u10d7\u10d5\u10d4",MM:"%d \u10d7\u10d5\u10d4",y:"\u10ec\u10d4\u10da\u10d8",yy:"%d \u10ec\u10d4\u10da\u10d8"},dayOfMonthOrdinalParse:/0|1-\u10da\u10d8|\u10db\u10d4-\d{1,2}|\d{1,2}-\u10d4/,ordinal:function(e){return 0===e?e:1===e?e+"-\u10da\u10d8":e<20||e<=100&&e%20==0||e%100==0?"\u10db\u10d4-"+e:e+"-\u10d4"},week:{dow:1,doy:7}})}(n("wd/R"))},IEFc:function(e,t,n){"use strict";n.d(t,"a",function(){return u}),n.d(t,"b",function(){return h});var r=n("fXoL"),i=n("tyNb"),s=n("lJxs"),o=n("/uUt"),a=n("eIep"),c=n("UXun"),l=n("Ml5Y");const u=new r.E("CurrentProject"),h=[{provide:u,useFactory:(e,t)=>({project:e.params.pipe(Object(s.a)(({project:e})=>+e),Object(o.a)(),Object(a.a)(e=>t.get(e)),Object(c.a)(1)),stage:e.params.pipe(Object(s.a)(({stage:e})=>+e),Object(o.a)()),docType:e.params.pipe(Object(s.a)(({documentType:e})=>+e),Object(o.a)())}),deps:[i.a,l.a]}]},Iab2:function(e,t,n){var r,i,s;i=[],void 0===(s="function"==typeof(r=function(){"use strict";function t(e,t){return void 0===t?t={autoBom:!1}:"object"!=typeof t&&(console.warn("Deprecated: Expected third argument to be a object"),t={autoBom:!t}),t.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type)?new Blob(["\ufeff",e],{type:e.type}):e}function n(e,t,n){var r=new XMLHttpRequest;r.open("GET",e),r.responseType="blob",r.onload=function(){a(r.response,t,n)},r.onerror=function(){console.error("could not download file")},r.send()}function r(e){var t=new XMLHttpRequest;t.open("HEAD",e,!1);try{t.send()}catch(e){}return 200<=t.status&&299>=t.status}function i(e){try{e.dispatchEvent(new MouseEvent("click"))}catch(n){var t=document.createEvent("MouseEvents");t.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),e.dispatchEvent(t)}}var s="object"==typeof window&&window.window===window?window:"object"==typeof self&&self.self===self?self:"object"==typeof global&&global.global===global?global:void 0,o=s.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),a=s.saveAs||("object"!=typeof window||window!==s?function(){}:"download"in HTMLAnchorElement.prototype&&!o?function(e,t,o){var a=s.URL||s.webkitURL,c=document.createElement("a");t=t||e.name||"download",c.download=t,c.rel="noopener","string"==typeof e?(c.href=e,c.origin===location.origin?i(c):r(c.href)?n(e,t,o):i(c,c.target="_blank")):(c.href=a.createObjectURL(e),setTimeout(function(){a.revokeObjectURL(c.href)},4e4),setTimeout(function(){i(c)},0))}:"msSaveOrOpenBlob"in navigator?function(e,s,o){if(s=s||e.name||"download","string"!=typeof e)navigator.msSaveOrOpenBlob(t(e,o),s);else if(r(e))n(e,s,o);else{var a=document.createElement("a");a.href=e,a.target="_blank",setTimeout(function(){i(a)})}}:function(e,t,r,i){if((i=i||open("","_blank"))&&(i.document.title=i.document.body.innerText="downloading..."),"string"==typeof e)return n(e,t,r);var a="application/octet-stream"===e.type,c=/constructor/i.test(s.HTMLElement)||s.safari,l=/CriOS\/[\d]+/.test(navigator.userAgent);if((l||a&&c||o)&&"undefined"!=typeof FileReader){var u=new FileReader;u.onloadend=function(){var e=u.result;e=l?e:e.replace(/^data:[^;]*;/,"data:attachment/file;"),i?i.location.href=e:location=e,i=null},u.readAsDataURL(e)}else{var h=s.URL||s.webkitURL,d=h.createObjectURL(e);i?i.location=d:location.href=d,i=null,setTimeout(function(){h.revokeObjectURL(d)},4e4)}});s.saveAs=a.saveAs=a,e.exports=a})?r.apply(t,i):r)||(e.exports=s)},Ib5w:function(e,t,n){"use strict";var r=function(e,t){switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});case"PPPP":default:return t.date({width:"full"})}},i=function(e,t){switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});case"pppp":default:return t.time({width:"full"})}},s={p:i,P:function(e,t){var n,s=e.match(/(P+)(p+)?/)||[],o=s[1],a=s[2];if(!a)return r(e,t);switch(o){case"P":n=t.dateTime({width:"short"});break;case"PP":n=t.dateTime({width:"medium"});break;case"PPP":n=t.dateTime({width:"long"});break;case"PPPP":default:n=t.dateTime({width:"full"})}return n.replace("{{date}}",r(o,t)).replace("{{time}}",i(a,t))}};t.a=s},IjjT:function(e,t,n){"use strict";n.d(t,"a",function(){return i});class r{constructor(e,t=r.now){this.SchedulerAction=e,this.now=t}schedule(e,t=0,n){return new this.SchedulerAction(this,e).schedule(n,t)}}r.now=()=>Date.now();class i extends r{constructor(e,t=r.now){super(e,()=>i.delegate&&i.delegate!==this?i.delegate.now():t()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(e,t=0,n){return i.delegate&&i.delegate!==this?i.delegate.schedule(e,t,n):super.schedule(e,t,n)}flush(e){const{actions:t}=this;if(this.active)return void t.push(e);let n;this.active=!0;do{if(n=e.execute(e.state,e.delay))break}while(e=t.shift());if(this.active=!1,n){for(;e=t.shift();)e.unsubscribe();throw n}}}},Ikyr:function(e,t,n){"use strict";n.d(t,"a",function(){return f});var r=n("mrSG"),i=n("fXoL"),s=n("dEAy"),o=n("Z2WM"),a=n("qhR1"),c=n("rdIy"),l=n("mjQ1"),u=n("SURy"),h=n("TDVj"),d=n("lsjk");let f=class extends c.a{constructor(e,t,n,r){super(),this.modal=e,this.service=t,this.entities=n,this.metadata=r,this.onEvent=new i.x,this.loading=!1,this.comment=""}send(){return Object(r.a)(this,void 0,void 0,function*(){this.loading=!0;const e=Object.assign({},this.taskOnDocs),{open:t}=yield this.service.getAgreementStatuses();this.taskOnDocs.statusAgreement={id:t.id},this.taskOnDocs.note=this.comment;const n=yield this.metadata.classes.get(h.a.class),r=Object(l.i)(this.taskOnDocs,e,h.a,n);if(yield this.entities.update(Object.assign(Object.assign({},r),{id:this.taskOnDocs.id})),this.taskOnDocs.task){const e=yield this.service.loadRecord({id:this.taskOnDocs.task.id}),t=Object(l.j)(e,d.c),n=Object.assign({},t);t.progress=0,t.percentFact=0,t.actualStart=null,t.actualEnd=null,yield this.service.update(t,n),yield this.service.recalculatePercent(t.id)}yield this.onEvent.emit({}),this.cancel()})}cancel(){return Object(r.a)(this,void 0,void 0,function*(){this.modal.closeAll()})}};f.ctorParameters=()=>[{type:s.c},{type:o.a},{type:l.a},{type:u.c}],f.propDecorators={taskOnDocs:[{type:i.G}],onEvent:[{type:i.S}]},f=Object(r.b)([Object(i.n)({selector:"app-task-back",template:'<div>\n    <div>\u041a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0439:</div>\n    <textarea class="comment" [(ngModel)]="comment"></textarea>\n</div>\n\n<nz-space *nzModalFooter>\n    <button nz-button nzType="default" (click)="cancel()" *nzSpaceItem>\u041e\u0442\u043c\u0435\u043d\u0430</button>\n    <button nz-button nzType="primary" [disabled]="!comment" [nzLoading]="loading" (click)="send()" *nzSpaceItem>\u041e\u0442\u043f\u0440\u0430\u0432\u0438\u0442\u044c</button>\n</nz-space> ',providers:[o.a,a.h],styles:[".comment {\n  width: 100%;\n  height: 100px;\n  padding: 10px;\n  outline: 0;\n}"]})],f)},"Ivi+":function(e,t,n){!function(e){"use strict";e.defineLocale("ko",{months:"1\uc6d4_2\uc6d4_3\uc6d4_4\uc6d4_5\uc6d4_6\uc6d4_7\uc6d4_8\uc6d4_9\uc6d4_10\uc6d4_11\uc6d4_12\uc6d4".split("_"),monthsShort:"1\uc6d4_2\uc6d4_3\uc6d4_4\uc6d4_5\uc6d4_6\uc6d4_7\uc6d4_8\uc6d4_9\uc6d4_10\uc6d4_11\uc6d4_12\uc6d4".split("_"),weekdays:"\uc77c\uc694\uc77c_\uc6d4\uc694\uc77c_\ud654\uc694\uc77c_\uc218\uc694\uc77c_\ubaa9\uc694\uc77c_\uae08\uc694\uc77c_\ud1a0\uc694\uc77c".split("_"),weekdaysShort:"\uc77c_\uc6d4_\ud654_\uc218_\ubaa9_\uae08_\ud1a0".split("_"),weekdaysMin:"\uc77c_\uc6d4_\ud654_\uc218_\ubaa9_\uae08_\ud1a0".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY\ub144 MMMM D\uc77c",LLL:"YYYY\ub144 MMMM D\uc77c A h:mm",LLLL:"YYYY\ub144 MMMM D\uc77c dddd A h:mm",l:"YYYY.MM.DD.",ll:"YYYY\ub144 MMMM D\uc77c",lll:"YYYY\ub144 MMMM D\uc77c A h:mm",llll:"YYYY\ub144 MMMM D\uc77c dddd A h:mm"},calendar:{sameDay:"\uc624\ub298 LT",nextDay:"\ub0b4\uc77c LT",nextWeek:"dddd LT",lastDay:"\uc5b4\uc81c LT",lastWeek:"\uc9c0\ub09c\uc8fc dddd LT",sameElse:"L"},relativeTime:{future:"%s \ud6c4",past:"%s \uc804",s:"\uba87 \ucd08",ss:"%d\ucd08",m:"1\ubd84",mm:"%d\ubd84",h:"\ud55c \uc2dc\uac04",hh:"%d\uc2dc\uac04",d:"\ud558\ub8e8",dd:"%d\uc77c",M:"\ud55c \ub2ec",MM:"%d\ub2ec",y:"\uc77c \ub144",yy:"%d\ub144"},dayOfMonthOrdinalParse:/\d{1,2}(\uc77c|\uc6d4|\uc8fc)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"\uc77c";case"M":return e+"\uc6d4";case"w":case"W":return e+"\uc8fc";default:return e}},meridiemParse:/\uc624\uc804|\uc624\ud6c4/,isPM:function(e){return"\uc624\ud6c4"===e},meridiem:function(e,t,n){return e<12?"\uc624\uc804":"\uc624\ud6c4"}})}(n("wd/R"))},IzEk:function(e,t,n){"use strict";n.d(t,"a",function(){return o});var r=n("7o/Q"),i=n("4I5i"),s=n("EY2u");function o(e){return t=>0===e?Object(s.b)():t.lift(new a(e))}class a{constructor(e){if(this.total=e,this.total<0)throw new i.a}call(e,t){return t.subscribe(new c(e,this.total))}}class c extends r.a{constructor(e,t){super(e),this.total=t,this.count=0}_next(e){const t=this.total,n=++this.count;n<=t&&(this.destination.next(e),n===t&&(this.destination.complete(),this.unsubscribe()))}}},JCDJ:function(e,t,n){"use strict";function r(e){var t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.setUTCFullYear(e.getFullYear()),e.getTime()-t.getTime()}n.d(t,"a",function(){return r})},"JCF/":function(e,t,n){!function(e){"use strict";var t={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},n={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},r=["\u06a9\u0627\u0646\u0648\u0646\u06cc \u062f\u0648\u0648\u06d5\u0645","\u0634\u0648\u0628\u0627\u062a","\u0626\u0627\u0632\u0627\u0631","\u0646\u06cc\u0633\u0627\u0646","\u0626\u0627\u06cc\u0627\u0631","\u062d\u0648\u0632\u06d5\u06cc\u0631\u0627\u0646","\u062a\u06d5\u0645\u0645\u0648\u0632","\u0626\u0627\u0628","\u0626\u06d5\u06cc\u0644\u0648\u0648\u0644","\u062a\u0634\u0631\u06cc\u0646\u06cc \u06cc\u06d5\u0643\u06d5\u0645","\u062a\u0634\u0631\u06cc\u0646\u06cc \u062f\u0648\u0648\u06d5\u0645","\u0643\u0627\u0646\u0648\u0646\u06cc \u06cc\u06d5\u06a9\u06d5\u0645"];e.defineLocale("ku",{months:r,monthsShort:r,weekdays:"\u06cc\u0647\u200c\u0643\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u062f\u0648\u0648\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u0633\u06ce\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u0686\u0648\u0627\u0631\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u067e\u06ce\u0646\u062c\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u0647\u0647\u200c\u06cc\u0646\u06cc_\u0634\u0647\u200c\u0645\u0645\u0647\u200c".split("_"),weekdaysShort:"\u06cc\u0647\u200c\u0643\u0634\u0647\u200c\u0645_\u062f\u0648\u0648\u0634\u0647\u200c\u0645_\u0633\u06ce\u0634\u0647\u200c\u0645_\u0686\u0648\u0627\u0631\u0634\u0647\u200c\u0645_\u067e\u06ce\u0646\u062c\u0634\u0647\u200c\u0645_\u0647\u0647\u200c\u06cc\u0646\u06cc_\u0634\u0647\u200c\u0645\u0645\u0647\u200c".split("_"),weekdaysMin:"\u06cc_\u062f_\u0633_\u0686_\u067e_\u0647_\u0634".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/\u0626\u06ce\u0648\u0627\u0631\u0647\u200c|\u0628\u0647\u200c\u06cc\u0627\u0646\u06cc/,isPM:function(e){return/\u0626\u06ce\u0648\u0627\u0631\u0647\u200c/.test(e)},meridiem:function(e,t,n){return e<12?"\u0628\u0647\u200c\u06cc\u0627\u0646\u06cc":"\u0626\u06ce\u0648\u0627\u0631\u0647\u200c"},calendar:{sameDay:"[\u0626\u0647\u200c\u0645\u0631\u06c6 \u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",nextDay:"[\u0628\u0647\u200c\u06cc\u0627\u0646\u06cc \u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",nextWeek:"dddd [\u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",lastDay:"[\u062f\u0648\u06ce\u0646\u06ce \u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",lastWeek:"dddd [\u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",sameElse:"L"},relativeTime:{future:"\u0644\u0647\u200c %s",past:"%s",s:"\u0686\u0647\u200c\u0646\u062f \u0686\u0631\u0643\u0647\u200c\u06cc\u0647\u200c\u0643",ss:"\u0686\u0631\u0643\u0647\u200c %d",m:"\u06cc\u0647\u200c\u0643 \u062e\u0648\u0644\u0647\u200c\u0643",mm:"%d \u062e\u0648\u0644\u0647\u200c\u0643",h:"\u06cc\u0647\u200c\u0643 \u0643\u0627\u062a\u0698\u0645\u06ce\u0631",hh:"%d \u0643\u0627\u062a\u0698\u0645\u06ce\u0631",d:"\u06cc\u0647\u200c\u0643 \u0695\u06c6\u0698",dd:"%d \u0695\u06c6\u0698",M:"\u06cc\u0647\u200c\u0643 \u0645\u0627\u0646\u06af",MM:"%d \u0645\u0627\u0646\u06af",y:"\u06cc\u0647\u200c\u0643 \u0633\u0627\u06b5",yy:"%d \u0633\u0627\u06b5"},preparse:function(e){return e.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(e){return n[e]}).replace(/\u060c/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(n("wd/R"))},JIr8:function(e,t,n){"use strict";n.d(t,"a",function(){return i});var r=n("zx2A");function i(e){return function(t){const n=new s(e),r=t.lift(n);return n.caught=r}}class s{constructor(e){this.selector=e}call(e,t){return t.subscribe(new o(e,this.selector,this.caught))}}class o extends r.b{constructor(e,t,n){super(e),this.selector=t,this.caught=n}error(e){if(!this.isStopped){let n;try{n=this.selector(e,this.caught)}catch(t){return void super.error(t)}this._unsubscribeAndRecycle();const i=new r.a(this);this.add(i);const s=Object(r.c)(n,i);s!==i&&this.add(s)}}}},JVSJ:function(e,t,n){!function(e){"use strict";function t(e,t,n){var r=e+" ";switch(n){case"ss":return r+=1===e?"sekunda":2===e||3===e||4===e?"sekunde":"sekundi";case"m":return t?"jedna minuta":"jedne minute";case"mm":return r+=1===e?"minuta":2===e||3===e||4===e?"minute":"minuta";case"h":return t?"jedan sat":"jednog sata";case"hh":return r+=1===e?"sat":2===e||3===e||4===e?"sata":"sati";case"dd":return r+=1===e?"dan":"dana";case"MM":return r+=1===e?"mjesec":2===e||3===e||4===e?"mjeseca":"mjeseci";case"yy":return r+=1===e?"godina":2===e||3===e||4===e?"godine":"godina"}}e.defineLocale("bs",{months:"januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010der u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[pro\u0161lu] dddd [u] LT";case 6:return"[pro\u0161le] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[pro\u0161li] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:t,m:t,mm:t,h:t,hh:t,d:"dan",dd:t,M:"mjesec",MM:t,y:"godinu",yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n("wd/R"))},JX91:function(e,t,n){"use strict";n.d(t,"a",function(){return s});var r=n("GyhO"),i=n("z+Ro");function s(...e){const t=e[e.length-1];return Object(i.a)(t)?(e.pop(),n=>Object(r.a)(e,n,t)):t=>Object(r.a)(e,t)}},JXjb:function(e,t,n){"use strict";n.d(t,"a",function(){return o});var r=n("xwJx"),i=n("mjQ1"),s=n("uyU4");const o={class:"4307c985-f4e9-49a0-a12c-f0da54aad580",root:n("5puH").e.root,collection:"f4c1f414-dc1c-4731-b068-7d56f37c002b",properties:{commentsClosed:"61dc2a19-5775-4189-ad5f-0ec70e11d9a2",commentsTotal:"0a10f97d-ec08-4734-8ce1-04181520ff08",created:r.w.entities.attributes.created,creationDate:s.a.properties.creationDate,modified:r.w.entities.attributes.modified,file:s.a.properties.file,lkpDocument:{id:"97fa249e-f562-42aa-a36e-2bbb7a2c5fb5",map:i.b.options},name:r.w.entities.attributes.name,piReplyDate:"00f01b9b-ecd5-4a84-820f-11cc3f463c82",piSendingDate:"119bee2b-3b92-4b7b-806b-8cc82309d1cb",versions:Object(i.e)(s.a.properties.versions),changeNumber:"a7272f42-0f03-482f-827a-0cf537df444a",status:s.a.properties.status}}},JgHy:function(e,t,n){"use strict";n.d(t,"a",function(){return l}),n.d(t,"b",function(){return h}),n.d(t,"c",function(){return u}),n.d(t,"d",function(){return c}),n.d(t,"e",function(){return s}),n.d(t,"f",function(){return o}),n.d(t,"g",function(){return a}),n.d(t,"h",function(){return d});var r=n("rDax"),i=n("fXoL");class s{constructor(e){this.cdkConnectedOverlay=e,this.cdkConnectedOverlay.backdropClass="nz-overlay-transparent-backdrop"}}s.\u0275fac=function(e){return new(e||s)(i.Nc(r.a))},s.\u0275dir=i.Ic({type:s,selectors:[["","cdkConnectedOverlay","","nzConnectedOverlay",""]],exportAs:["nzConnectedOverlay"]}),s.ctorParameters=()=>[{type:r.a}];class o{}o.\u0275mod=i.Lc({type:o}),o.\u0275inj=i.Kc({factory:function(e){return new(e||o)}}),("undefined"==typeof ngJitMode||ngJitMode)&&i.Bd(o,{declarations:[s],exports:[s]});const a={top:new r.c({originX:"center",originY:"top"},{overlayX:"center",overlayY:"bottom"}),topCenter:new r.c({originX:"center",originY:"top"},{overlayX:"center",overlayY:"bottom"}),topLeft:new r.c({originX:"start",originY:"top"},{overlayX:"start",overlayY:"bottom"}),topRight:new r.c({originX:"end",originY:"top"},{overlayX:"end",overlayY:"bottom"}),right:new r.c({originX:"end",originY:"center"},{overlayX:"start",overlayY:"center"}),rightTop:new r.c({originX:"end",originY:"top"},{overlayX:"start",overlayY:"top"}),rightBottom:new r.c({originX:"end",originY:"bottom"},{overlayX:"start",overlayY:"bottom"}),bottom:new r.c({originX:"center",originY:"bottom"},{overlayX:"center",overlayY:"top"}),bottomCenter:new r.c({originX:"center",originY:"bottom"},{overlayX:"center",overlayY:"top"}),bottomLeft:new r.c({originX:"start",originY:"bottom"},{overlayX:"start",overlayY:"top"}),bottomRight:new r.c({originX:"end",originY:"bottom"},{overlayX:"end",overlayY:"top"}),left:new r.c({originX:"start",originY:"center"},{overlayX:"end",overlayY:"center"}),leftTop:new r.c({originX:"start",originY:"top"},{overlayX:"end",overlayY:"top"}),leftBottom:new r.c({originX:"start",originY:"bottom"},{overlayX:"end",overlayY:"bottom"})},c=[a.top,a.right,a.bottom,a.left],l=[a.bottomLeft,a.bottomRight,a.topLeft,a.topRight],u=[new r.c({originX:"start",originY:"bottom"},{overlayX:"start",overlayY:"bottom"}),new r.c({originX:"start",originY:"bottom"},{overlayX:"end",overlayY:"bottom"})],h=[a.bottomLeft,new r.c({originX:"start",originY:"bottom"},{overlayX:"end",overlayY:"top"})];function d(e){for(const t in a)if(e.connectionPair.originX===a[t].originX&&e.connectionPair.originY===a[t].originY&&e.connectionPair.overlayX===a[t].overlayX&&e.connectionPair.overlayY===a[t].overlayY)return t}},Jn2R:function(e,t,n){"use strict";n.d(t,"a",function(){return r}),n.d(t,"b",function(){return F});var r,i,s=n("mrSG"),o=n("tk/3"),a=n("fXoL"),c=n("3Pt+"),l=n("xwJx"),u=n("8CnT"),h=n("mjQ1"),d=n("btuV"),f=n("Iab2"),p=n("dEAy"),m=n("2Vo4"),g=n("XNiG"),v=n("VRyK"),y=n("EY2u"),b=n("itXk"),_=n("LRne"),w=n("Cfvw"),S=n("cp0P"),x=n("Zy1z"),O=n("lJxs"),k=n("1G5W"),C=n("Kj3r"),M=n("eIep"),E=n("vkgz"),T=n("UXun"),j=n("nYR2"),D=n("IzEk"),A=n("pLZG"),L=n("JIr8"),z=n("mUTx"),P=n("9eNV"),I=n("rdIy"),R=n("4lKt"),N=n("Vsj3"),H=n("HISm");!function(e){e.Inbox="\u0412\u0445\u043e\u0434\u044f\u0449\u0438\u0435",e.Outgoing="\u0418\u0441\u0445\u043e\u0434\u044f\u0449\u0438\u0435",e.Overdue="\u041f\u0440\u043e\u0441\u0440\u043e\u0447\u0435\u043d\u043d\u044b\u0435",e.ExpireToday="\u0418\u0441\u0442\u0435\u043a\u0430\u044e\u0442 \u0441\u0435\u0433\u043e\u0434\u043d\u044f",e.OnAgreement="\u0417\u0430\u0434\u0430\u0447\u0438 \u043d\u0430 \u0441\u043e\u0433\u043b\u0430\u0441\u043e\u0432\u0430\u043d\u0438\u0435",e.OnRemarks="\u0417\u0430\u0434\u0430\u0447\u0438 \u043f\u043e \u0437\u0430\u043c\u0435\u0447\u0430\u043d\u0438\u044f\u043c",e.Closed="\u0417\u0430\u043a\u0440\u044b\u0442\u044b\u0435",e.Rejected="\u041e\u0442\u043a\u043b\u043e\u043d\u0435\u043d\u043d\u044b\u0435"}(r||(r={})),function(e){e.Users="users",e.Roles="roles",e.Clients="clients"}(i||(i={}));let F=class extends I.a{constructor(e,t,n,i,s,o,a){super(),this.user=e,this.documentState=t,this.tasksService=n,this.modal=i,this.entitiesService=s,this.securityService=o,this.http=a,this.isMobile=window.innerWidth<=768,this.routes=[{name:"\u0412\u0445\u043e\u0434\u044f\u0449\u0438\u0435",count:0,type:r.Inbox},{name:"\u0418\u0441\u0445\u043e\u0434\u044f\u0449\u0438\u0435",count:0,type:r.Outgoing},{name:"\u041f\u0440\u043e\u0441\u0440\u043e\u0447\u0435\u043d\u043d\u044b\u0435",count:0,type:r.Overdue},{name:"\u0418\u0441\u0442\u0435\u043a\u0430\u044e\u0442 \u0441\u0435\u0433\u043e\u0434\u043d\u044f",count:0,type:r.ExpireToday},{name:"\u0417\u0430\u0434\u0430\u0447\u0438 \u043d\u0430 \u0441\u043e\u0433\u043b\u0430\u0441\u043e\u0432\u0430\u043d\u0438\u0435",count:0,type:r.OnAgreement},{name:"\u0417\u0430\u0434\u0430\u0447\u0438 \u043f\u043e \u0437\u0430\u043c\u0435\u0447\u0430\u043d\u0438\u044f\u043c",count:0,type:r.OnRemarks},{name:"\u0417\u0430\u043a\u0440\u044b\u0442\u044b\u0435",count:0,type:r.Closed},{name:"\u041e\u0442\u043a\u043b\u043e\u043d\u0435\u043d\u043d\u044b\u0435",count:0,type:r.Rejected}],this.filter=new c.f(""),this.taskTypeObser=new m.a(r.Inbox),this.filters=new m.a(""),this.paging=new g.a,this.getData=new m.a([]),this.reload=new m.a(!0),this.finishLoading=new m.a(!1),this.pageSize=1e4,this.source=this.getSource(),this.loading=Object(v.a)(this.source.pipe(Object(x.a)(),Object(O.a)(()=>!1)),this.finishLoading.asObservable(),this.taskTypeObser.asObservable()).pipe(Object(k.a)(this.destroy$)),this.active=r.Inbox,this.tasksList=[],this.filteredItems=[],this.taskSolutions=[],this.listOfColumns={nameCol:{sortOrder:null,sortFn:(e,t)=>e.name.localeCompare(t.name),sortDirections:["ascend","descend",null]},taskType:{sortOrder:null,sortFn:(e,t)=>e.taskType.localeCompare(t.taskType),sortDirections:["ascend","descend",null],filterMultiple:!0,listOfFilter:[{text:"\u041d\u0430 \u0441\u043e\u0433\u043b\u0430\u0441\u043e\u0432\u0430\u043d\u0438\u0435",value:"\u041d\u0430 \u0441\u043e\u0433\u043b\u0430\u0441\u043e\u0432\u0430\u043d\u0438\u0435"},{text:"\u041d\u0430 \u0437\u0430\u043c\u0435\u0447\u0430\u043d\u0438\u0435",value:"\u041d\u0430 \u0437\u0430\u043c\u0435\u0447\u0430\u043d\u0438\u0435"},{text:"\u041f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u0441\u043a\u0430\u044f",value:"\u041f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u0441\u043a\u0430\u044f"}],filterFn:(e,t)=>e.some(e=>-1!==t.taskType.indexOf(e))},statusAgreement:{sortOrder:null,sortFn:(e,t)=>{var n,r,i;return null===(r=null===(n=null==e?void 0:e.statusAgreement)||void 0===n?void 0:n.name)||void 0===r?void 0:r.localeCompare(null===(i=null==t?void 0:t.statusAgreement)||void 0===i?void 0:i.name)},sortDirections:["ascend","descend",null],filterMultiple:!0,listOfFilter:[{text:"\u041e\u0442\u043a\u0440\u044b\u0442\u043e",value:"\u041e\u0442\u043a\u0440\u044b\u0442\u043e"},{text:"\u0417\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u043e",value:"\u0417\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u043e"},{text:"\u041e\u0442\u043a\u043b\u043e\u043d\u0435\u043d\u043e",value:"\u041e\u0442\u043a\u043b\u043e\u043d\u0435\u043d\u043e"}],filterFn:(e,t)=>e.some(e=>{var n;return-1!==(null===(n=t.statusAgreement)||void 0===n?void 0:n.name.indexOf(e))})},endDate:{sortOrder:null,sortFn:(e,t)=>(new Date(e.endDate).valueOf()||0)-(new Date(t.endDate).valueOf()||0),sortDirections:["ascend","descend",null]},user:{sortOrder:null,sortFn:(e,t)=>{var n,r;return null===(n=e.user)||void 0===n?void 0:n.name.localeCompare(null===(r=t.user)||void 0===r?void 0:r.name)},sortDirections:["ascend","descend",null]}},this.nameFilterVisible=!1,this.nameSearchValue="",this.dateSearchVisible={endDate:!1},this.permissions={principals:{}},this.seqUsers=[],this.roles=[],this.executionerSearchValue="",this.executionerFilterVisible=!1,this.executionerFilter=[],this.filteredExecutionerFilter=[],this.entityPrincipals={users:[],roles:[]},this.usersLoading$=new m.a(!0),this.tableScrollHeight=600,this.documentState.setHeaderTitle(""),this.filter.valueChanges.pipe(Object(C.a)(600),Object(k.a)(this.destroy$)).subscribe(e=>this.filters.next(e))}onResize(e){this.tableScrollHeight=this.deskTasksTableContainer.nativeElement.offsetHeight-120}ngOnInit(){return Object(s.a)(this,void 0,void 0,function*(){this.documentState.getProject().pipe(Object(k.a)(this.destroy$),Object(M.a)(e=>e?(this.project=e,this.tasksService.getTaskType(e.id,[N.a.OnAgreement,N.a.Custom,N.a.Remark],!1)):y.a)).subscribe(e=>Object(s.a)(this,void 0,void 0,function*(){this.getData.next(e),this.seqUsers=yield this.securityService.users.query(),this.seqUsers=this.seqUsers.sort(Object(l.u)()),this.roles=yield this.securityService.roles.query(),this.getUserPrincipals()})),Object(b.a)([this.getData.asObservable(),this.reload.asObservable()]).pipe(Object(k.a)(this.destroy$)).subscribe(([e])=>{e.length&&(this.getInbox(e),this.getOverdue(e),this.getOutgoing(e),this.getExpireToday(e),this.getOnAgreement(e),this.getClosed(e),this.getRejected(e),this.getOnRemarks(e))})})}ngAfterViewInit(){this.onResize(null)}getSource(){return Object(u.c)(Object(b.a)([this.getData.asObservable(),this.taskTypeObser.asObservable(),this.filters.asObservable(),this.reload.asObservable()]).pipe(Object(O.a)(([e,t,n])=>({types:e,type:t,name:n}))),Object(_.a)({}),this.paging.pipe(Object(O.a)(({page:e})=>e)),this.pageSize,({types:e,type:t,name:n},r,i)=>(e.length||setTimeout(()=>this.finishLoading.next(!1),1e3),this.tasksService.query(this.user,i,t,n,e).pipe(Object(E.a)(e=>this.routes.find(e=>e.type===this.active).count=e.total),Object(E.a)(e=>{let t=0;this.tasksList=null==e?void 0:e.items.sort((e,t)=>e.endDate<t.endDate?1:e.endDate>t.endDate?-1:0).map(e=>(t+=1,Object.assign(Object.assign({},e),{index:t}))).filter(e=>!!e),this.filteredItems=[...this.tasksList],this.isMobile&&this.getTaskSolutions()})))).pipe(Object(T.a)(1),Object(k.a)(this.destroy$))}getUserPrincipals(){var e,t,n,r,o,a,c;return Object(s.a)(this,void 0,void 0,function*(){if(this.project.id){this.permissions=yield this.entitiesService.permissions(this.project.id).get();const s=[],u={users:[],roles:[]};if(Object.keys(this.permissions.principals||{}).forEach(e=>{Object.values(this.permissions.principals[e].entity).some(e=>e)&&s.push(+e)}),null===(e=this.seqUsers)||void 0===e?void 0:e.length){for(const e of this.seqUsers)if(s.includes(e.principal)){const n=yield this.securityService.users.rolesOf(e.id),r=this.roles.find(e=>n.some(t=>t.id===e.id));null===(t=u[i.Users])||void 0===t||t.push(Object.assign(Object.assign({},e),{role:r?[r]:[]}))}if(null===(n=u.users)||void 0===n||n.sort(Object(l.u)()),null===(r=u.users)||void 0===r?void 0:r.length){const e=[];u.users.map(t=>{const n=Object(w.a)(this.securityService.profiles.get(t.name)).pipe(Object(O.a)(e=>({value:t.name,text:e.fullname||t.name,checked:!1})));e.push(n)}),Object(S.a)(...e).pipe(Object(j.a)(()=>{this.usersLoading$.next(!1)}),Object(k.a)(this.destroy$)).subscribe(e=>{this.executionerFilter=e.map(e=>Object.assign(Object.assign({},e),{visible:!0})),this.filteredExecutionerFilter=[...this.executionerFilter]})}}if(null===(o=this.roles)||void 0===o?void 0:o.length){for(const e of this.roles)s.includes(e.principal)&&(null===(a=u[i.Roles])||void 0===a||a.push(e));null===(c=u.roles)||void 0===c||c.sort(Object(l.u)())}this.entityPrincipals=u}})}searchName(){this.nameFilterVisible=!1,this.filteredItems=this.tasksList.filter(e=>{var t,n;return-1!==(null===(n=null===(t=null==e?void 0:e.name)||void 0===t?void 0:t.toLowerCase())||void 0===n?void 0:n.indexOf(this.nameSearchValue.toLowerCase()))})}resetNameSearch(){this.nameFilterVisible=!1,this.nameSearchValue="",this.filteredItems=[...this.tasksList]}searchExecutioner(e){this.filteredExecutionerFilter=this.filteredExecutionerFilter.map(t=>{var n;return Object.assign(Object.assign({},t),{visible:t.text.toLowerCase().includes(null!==(n=null==e?void 0:e.toLowerCase())&&void 0!==n?n:"")})})}filterByExecutioner(){const e=this.filteredExecutionerFilter.filter(e=>e.checked).map(e=>e.value);e.length?this.filteredItems=this.tasksList.filter(t=>{var n;return e.includes(null===(n=t.user)||void 0===n?void 0:n.name)}):this.filteredItems=[...this.tasksList],this.executionerFilterVisible=!1}cancelFilterByExecutioner(){this.executionerSearchValue="",this.executionerFilter=this.executionerFilter.map(e=>Object.assign(Object.assign({},e),{checked:!1,visible:!0})),this.filteredExecutionerFilter=this.filteredExecutionerFilter.map(e=>Object.assign(Object.assign({},e),{checked:!1,visible:!0})),this.filterByExecutioner()}searchCreatedDate(e){this.dateSearchVisible[e]=!1,void 0===this.startDateFilter&&void 0===this.endDateFilter?this.filteredItems=[...this.tasksList]:this.filteredItems=[...this.tasksList].filter(t=>{const n=new Date(t[e]).getTime();if(this.startDateFilter&&this.endDateFilter){const e=this.startDateFilter.getTime(),r=this.endDateFilter.getTime();if(n>=e&&n<=r)return t}else{if(this.startDateFilter){if(n>=this.startDateFilter.getTime())return t}if(this.endDateFilter){if(n<=this.endDateFilter.getTime())return t}}})}resetCreatedDateSearch(e){this.startDateFilter=void 0,this.endDateFilter=void 0,this.searchCreatedDate(e)}select(e){this.active=e,this.taskTypeObser.next(e)}getInbox(e){this.tasksService.getTasksCount(this.user,e,r.Inbox).pipe(Object(D.a)(1)).subscribe(e=>this.routes.find(e=>e.type===r.Inbox).count=e.total)}getOutgoing(e){this.tasksService.getTasksCount(this.user,e,r.Outgoing).pipe(Object(D.a)(1)).subscribe(e=>this.routes.find(e=>e.type===r.Outgoing).count=e.total)}getOverdue(e){this.tasksService.getTasksCount(this.user,e,r.Overdue).pipe(Object(D.a)(1)).subscribe(e=>this.routes.find(e=>e.type===r.Overdue).count=e.total)}getExpireToday(e){this.tasksService.getTasksCount(this.user,e,r.ExpireToday).pipe(Object(D.a)(1)).subscribe(e=>this.routes.find(e=>e.type===r.ExpireToday).count=e.total)}getOnAgreement(e){this.tasksService.getTasksCount(this.user,e,r.OnAgreement).pipe(Object(D.a)(1)).subscribe(e=>this.routes.find(e=>e.type===r.OnAgreement).count=e.total)}getClosed(e){this.tasksService.getTasksCount(this.user,e,r.Closed).pipe(Object(D.a)(1)).subscribe(e=>this.routes.find(e=>e.type===r.Closed).count=e.total)}getRejected(e){this.tasksService.getTasksCount(this.user,e,r.Rejected).pipe(Object(D.a)(1)).subscribe(e=>this.routes.find(e=>e.type===r.Rejected).count=e.total)}getOnRemarks(e){e.find(e=>e.taskType.name===N.a.Remark)&&this.tasksService.getTasksCount(this.user,e,r.OnRemarks).pipe(Object(D.a)(1)).subscribe(e=>this.routes.find(e=>e.type===r.OnRemarks).count=e.total)}getTaskSolutions(){var e;return Object(s.a)(this,void 0,void 0,function*(){let t,n;for(let r=0;r<this.tasksList.length;r++)if(n=null===(e=this.tasksList[r])||void 0===e?void 0:e.id,n){if(this.taskSolutions[n])continue;t=yield this.tasksService.getById(n).toPromise(),t&&(this.taskSolutions[n]=t)}})}create(){this.modal.create({nzTitle:"\u0421\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u0437\u0430\u0434\u0430\u0447\u0438",nzContent:H.a,nzClassName:"custom-modal",nzMaskClosable:!1}).afterClose.asObservable().pipe(Object(A.a)(e=>!!e),Object(D.a)(1)).subscribe(e=>{this.reload.next(e)})}exportExcel(){return Object(s.a)(this,void 0,void 0,function*(){const e="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",t=(new o.f).set("Accept",e).set("Content-Type",e);let n=[],r=0;this.filteredItems.forEach(e=>{const t=Object(w.a)(this.securityService.profiles.get(e.user.name)).pipe(Object(O.a)(t=>t?Object.assign(Object.assign({},e),{profile:t}):e),Object(M.a)(e=>{var t;return Object(w.a)(this.securityService.profiles.get(null===(t=e.author)||void 0===t?void 0:t.name)).pipe(Object(O.a)(t=>t?Object.assign(Object.assign({},e),{profileAuthor:t}):e))}),Object(L.a)(()=>Object(_.a)(e)));n.push(t)});let i={};Object(S.a)(...n).pipe(Object(M.a)(e=>(i={projectName:this.project.name,exportedAt:new Date,tasks:e.map(e=>{var t,n,i,s,o;return r+=1,Object.assign(Object.assign({},e),{username:(null===(t=e.profile)||void 0===t?void 0:t.fullname)||(null===(n=e.user)||void 0===n?void 0:n.name),authorUsername:(null===(i=e.profileAuthor)||void 0===i?void 0:i.fullname)||(null===(s=e.author)||void 0===s?void 0:s.name),index:r,status:(null===(o=e.statusAgreement)||void 0===o?void 0:o.name)||""})})},this.http.get("/assets/report-templates/tasks.xlsx",{responseType:"arraybuffer",headers:t}))),Object(M.a)(e=>z.a.templateFromData(e,i)),Object(M.a)(e=>(f(e,"\u0417\u0430\u0434\u0430\u0447\u0438.xlsx"),y.a))).subscribe()})}};F.ctorParameters=()=>[{type:void 0,decorators:[{type:a.C,args:[P.a]}]},{type:R.a},{type:N.b},{type:p.c},{type:h.a},{type:d.c},{type:o.c}],F.propDecorators={deskTasksTableContainer:[{type:a.mb,args:["deskTasksTableContainer"]}],onResize:[{type:a.A,args:["window:resize",["$event"]]}]},F=Object(s.b)([Object(a.n)({selector:"app-tasks",template:'<div class="group-block">\n  <div class="left-block">\n    <div class="left-block-header">\n      \u0417\u0430\u0434\u0430\u0447\u0438\n      <button nz-button nzType="primary" (click)="create()">\n        <core-icon class="icon" name="app:24-plus"></core-icon>\n        \u0421\u043e\u0437\u0434\u0430\u0442\u044c\n      </button>\n    </div>\n    <div class="task-list">\n      <div class="task-list-items">\n        <ng-container *ngIf="!isMobile">\n          <div class="task-list-item" *ngFor="let route of routes" [class.active]="route.type === active" (click)="select(route.type)">\n            {{ route.name }}\n            <nz-badge\n              *ngIf="route.count !== 0"\n              nzStandalone\n              [nzCount]="route.count"\n              [nzStyle]="{ backgroundColor: \'#E8EFF2\', color: \'#749CAF\', boxShadow: \'none\' }"\n            ></nz-badge>\n          </div>\n        </ng-container>\n\n        <ng-container *ngIf="isMobile">\n          <div class="task-list-item" *ngFor="let route of routes | mobileTaskPipe: false" [class.active]="route.type === active" (click)="select(route.type)">\n            {{ route.name }}\n            <nz-badge\n              *ngIf="route.count !== 0"\n              nzStandalone\n              [nzCount]="route.count"\n              [nzStyle]="{ backgroundColor: \'#E8EFF2\', color: \'#749CAF\', boxShadow: \'none\' }"\n            ></nz-badge>\n          </div>\n          <div class="task-list-item">\n            <div nz-dropdown nzTrigger="click" [nzDropdownMenu]="menu">\n              <span nz-icon nzType="menu" nzTheme="outline"></span>\n            </div>\n            <nz-dropdown-menu #menu="nzDropdownMenu">\n              <ul nz-menu>\n                <li nz-menu-item *ngFor="let route of routes | mobileTaskPipe: true" [class.active]="route.type === active" (click)="select(route.type)">{{ route.name }}</li>\n              </ul>\n            </nz-dropdown-menu>\n          </div>\n        </ng-container>\n      </div>\n    </div>\n  </div>\n  <div class="right-block">\n    <div class="right-block-header">\n      <div class="right-block-header-title">{{ active }}</div>\n      <div class="right-block-header-search mr-4">\n        <nz-input-group nzSearch [nzAddOnAfter]="suffixIconButton">\n          <input type="text" [formControl]="filter" nz-input placeholder="\u041f\u043e\u0438\u0441\u043a \u043f\u043e \u0437\u0430\u0434\u0430\u0447\u0430\u043c" />\n        </nz-input-group>\n        <ng-template #suffixIconButton>\n          <button nz-button nzType="default" nzSearch><span nz-icon nzType="search"></span></button>\n        </ng-template>\n\n        <button nz-button nz-tooltip nzType="default" nzTooltipTitle="\u041e\u0442\u0447\u0435\u0442" [disabled]="!tasksList?.length" (click)="exportExcel()">\n          <span nz-icon nzType="download" nzTheme="outline"></span>\n        </button>\n      </div>\n    </div>\n    <div *ngIf="!isMobile" class="tasks" #deskTasksTableContainer>\n      <nz-table #table [nzData]="filteredItems" [nzScroll]="{ x: \'1000px\', y: tableScrollHeight + \'px\' }">\n        <thead>\n          <tr>\n            <th nzWidth="55px">ID</th>\n            <th\n              nzCustomFilter\n              nzWidth="175px"\n              [nzSortOrder]="listOfColumns.nameCol.sortOrder"\n              [nzSortFn]="listOfColumns.nameCol.sortFn"\n              [nzSortDirections]="listOfColumns.nameCol.sortDirections"\n            >\n              \u041d\u0430\u0437\u0432\u0430\u043d\u0438\u0435\n              <nz-filter-trigger [(nzVisible)]="nameFilterVisible" [nzActive]="nameSearchValue.length > 0" [nzDropdownMenu]="nameMenu">\n                <span nz-icon nzType="filter" nzTheme="fill"></span>\n              </nz-filter-trigger>\n            </th>\n            <th\n              nzWidth="175px"\n              [nzSortOrder]="listOfColumns.taskType.sortOrder"\n              [nzSortFn]="listOfColumns.taskType.sortFn"\n              [nzSortDirections]="listOfColumns.taskType.sortDirections"\n              [nzFilterMultiple]="listOfColumns.taskType.filterMultiple"\n              [nzFilters]="listOfColumns.taskType.listOfFilter"\n              [nzFilterFn]="listOfColumns.taskType.filterFn"\n            >\n              \u0422\u0438\u043f \u0437\u0430\u0434\u0430\u0447\u0438\n            </th>\n            <th\n              nzWidth="105px"\n              [nzSortOrder]="listOfColumns.statusAgreement.sortOrder"\n              [nzSortFn]="listOfColumns.statusAgreement.sortFn"\n              [nzSortDirections]="listOfColumns.statusAgreement.sortDirections"\n              [nzFilterMultiple]="listOfColumns.statusAgreement.filterMultiple"\n              [nzFilters]="listOfColumns.statusAgreement.listOfFilter"\n              [nzFilterFn]="listOfColumns.statusAgreement.filterFn"\n            >\n              \u0421\u0442\u0430\u0442\u0443\u0441\n            </th>\n            <th\n              nzCustomFilter\n              nzWidth="190px"\n              [nzSortOrder]="listOfColumns.endDate.sortOrder"\n              [nzSortFn]="listOfColumns.endDate.sortFn"\n              [nzSortDirections]="listOfColumns.endDate.sortDirections"\n            >\n              \u0412\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u044c \u0434\u043e\n\n              <nz-filter-trigger [(nzVisible)]="dateSearchVisible.datePlanRemove" [nzDropdownMenu]="endDateMenu">\n                <span nz-icon nzType="filter" nzTheme="fill"></span>\n              </nz-filter-trigger>\n            </th>\n            <th\n              nzCustomFilter\n              nzWidth="300px"\n              [nzSortOrder]="listOfColumns.user.sortOrder"\n              [nzSortFn]="listOfColumns.user.sortFn"\n              [nzSortDirections]="listOfColumns.user.sortDirections"\n            >\n              \u041e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0439\n              <nz-filter-trigger [nzActive]="executionersChecked" [(nzVisible)]="executionerFilterVisible" [nzDropdownMenu]="executionerMenu">\n                <span nz-icon nzType="filter" nzTheme="fill"></span>\n              </nz-filter-trigger>\n            </th>\n          </tr>\n        </thead>\n        <tbody>\n          <tr *ngFor="let item of table.data">\n            <td nzWidth="55px">\n              <nz-badge nzStandalone [nzCount]="item.index" nz-tooltip></nz-badge>\n            </td>\n            <td nzWidth="175px">\n              <a [routerLink]="item.id">{{ item.name }}</a>\n            </td>\n            <td nzWidth="175px">{{ item.taskType }}</td>\n            <td nzWidth="105px">\n              <ng-container [ngSwitch]="item.statusAgreement.name">\n                <nz-badge *ngSwitchCase="\'\u041e\u0442\u043a\u0440\u044b\u0442\u043e\'" nzStatus="success" [nzText]="item.statusAgreement.name"></nz-badge>\n                <nz-badge *ngSwitchDefault nzStatus="default" [nzText]="item.statusAgreement.name"></nz-badge>\n              </ng-container>\n            </td>\n            <td nzWidth="190px">{{ item.endDate | date: \'dd MMMM yyyy\':undefined:\'ru\' }}</td>\n            <td nzWidth="300px"><app-users-avatar [users]="[item.user]"></app-users-avatar></td>\n          </tr>\n        </tbody>\n      </nz-table>\n      \x3c!-- <core-data-grid [source]="source" (pageChange)="this.paging.next($event)" [pageSize]="pageSize" class="documents-grid hoverable bottom-bordered">\n        <ng-container *coreGridPlaceholder>\n          <td colspan="999">\n            <core-progress></core-progress>\n          </td>\n        </ng-container>\n      </core-data-grid> --\x3e\n      <app-loading-panel class="loading-panel" *ngIf="loading | async"></app-loading-panel>\n    </div>\n\n    <div *ngIf="isMobile" class="tasks">\n      <core-data-grid [source]="source" (pageChange)="this.paging.next($event)" [pageSize]="pageSize" class="documents-grid hoverable bottom-bordered">\n        <ng-container coreGridColumn="name">\n          <div class="column-header-mobile">\n            <th *coreGridHeaderCell><div>\u041d\u0430\u0437\u0432\u0430\u043d\u0438\u0435</div></th>\n            <td *coreGridCell="let item">\n              <a class="item-name" [routerLink]="item.id">{{ item.name }}</a>\n            </td>\n          </div>\n        </ng-container>\n        <ng-container coreGridColumn="status">\n          <div class="column-header-mobile status">\n            <th *coreGridHeaderCell><div>\u0421\u0442\u0430\u0442\u0443\u0441</div></th>\n            <td *coreGridCell="let item">\n              <ng-container [ngSwitch]="item.statusAgreement.name">\n                <nz-badge *ngSwitchCase="\'\u041e\u0442\u043a\u0440\u044b\u0442\u043e\'" nzStatus="success" [nzText]="item.statusAgreement.name"></nz-badge>\n                <nz-badge *ngSwitchDefault nzStatus="default" [nzText]="item.statusAgreement.name"></nz-badge>\n              </ng-container>\n            </td>\n          </div>\n        </ng-container>\n        <ng-container coreGridColumn="solution">\n          <div class="column-header-mobile solution">\n            <th *coreGridHeaderCell><div>\u0420\u0435\u0448\u0435\u043d\u0438\u044f</div></th>\n            <td class="solution-icon" *coreGridCell="let item">\n              <div *ngIf="!!taskSolutions[item?.id] && (!!taskSolutions[item?.id]?.taskOnDocs?.remark || !!taskSolutions[item?.id]?.setDocuments)">\n                <ng-container *ngIf="taskSolutions[item?.id]?.taskOnDocs?.remark; else agreement">\n                  <a [routerLink]="[\'..\', \'remarks\']" [queryParams]="{ remarkId: taskSolutions[item?.id]?.taskOnDocs?.remark?.id }"\n                    ><span nz-icon nzType="select" nzTheme="outline"></span\n                  ></a>\n                </ng-container>\n                <ng-template #agreement>\n                  <a [routerLink]="[\'..\', \'agreement-on-templates\', taskSolutions[item?.id]?.setDocuments?.id, \'stages\']"\n                    ><span nz-icon nzType="select" nzTheme="outline"></span\n                  ></a>\n                </ng-template>\n              </div>\n            </td>\n          </div>\n        </ng-container>\n        <ng-container *coreGridPlaceholder>\n          <td colspan="999">\n            <core-progress></core-progress>\n          </td>\n        </ng-container>\n      </core-data-grid>\n      <app-loading-panel class="loading-panel" *ngIf="loading | async"></app-loading-panel>\n    </div>\n  </div>\n</div>\n\n<nz-dropdown-menu #nameMenu="nzDropdownMenu">\n  <div class="ant-table-filter-dropdown">\n    <div class="search-box">\n      <input type="text" nz-input placeholder="\u041d\u0430\u0437\u0432\u0430\u043d\u0438\u0435" [(ngModel)]="nameSearchValue" />\n      <button nz-button nzSize="small" nzType="primary" (click)="searchName()" class="search-button">\u041f\u043e\u0438\u0441\u043a</button>\n      <button nz-button nzSize="small" (click)="resetNameSearch()">\u0421\u0431\u0440\u043e\u0441</button>\n    </div>\n  </div>\n</nz-dropdown-menu>\n\n<nz-dropdown-menu #endDateMenu="nzDropdownMenu">\n  <div class="ant-table-filter-dropdown">\n    <div class="search-box">\n      <div>\n        <div class="date-picker">\n          <nz-date-picker nzFormat="dd.MM.yy" [(ngModel)]="startDateFilter" [nzPlaceHolder]="\'\u0412\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u0434\u0430\u0442\u0443 \u043d\u0430\u0447\u0430\u043b\u0430\'"></nz-date-picker>\n        </div>\n        <div class="date-picker">\n          <nz-date-picker nzFormat="dd.MM.yy" [(ngModel)]="endDateFilter" [nzPlaceHolder]="\'\u0412\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u0434\u0430\u0442\u0443 \u043e\u043a\u043e\u043d\u0447\u0430\u043d\u0438\u044f\'"></nz-date-picker>\n        </div>\n      </div>\n      <button class="search-button date-search-button" nz-button nzSize="small" nzType="primary" (click)="searchCreatedDate(\'endDate\')">\u041f\u043e\u0438\u0441\u043a</button>\n      <button class="date-search-button" nz-button nzSize="small" (click)="resetCreatedDateSearch(\'endDate\')">\u0421\u0431\u0440\u043e\u0441\u0438\u0442\u044c</button>\n    </div>\n  </div>\n</nz-dropdown-menu>\n\n<nz-dropdown-menu #executionerMenu="nzDropdownMenu">\n  <div class="ant-table-filter-dropdown">\n    <div class="search-box">\n      <ng-container *ngIf="usersLoading$ | async; else usersFilter">\n        <div class="spinner-container">\n          <nz-spin nzSimple></nz-spin>\n        </div>\n      </ng-container>\n\n      <ng-template #usersFilter>\n        <div class="tree">\n          <input type="text" nz-input placeholder="\u041e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0439" [ngModel]="executionerSearchValue" (ngModelChange)="searchExecutioner($event)" />\n        </div>\n\n        <div class="tree">\n          <nz-checkbox-wrapper style="width: 100%">\n            <ng-container *ngFor="let user of filteredExecutionerFilter">\n              <div nz-row>\n                <label nz-checkbox [nzValue]="user" [(ngModel)]="user.checked">{{ user.text }}</label>\n              </div>\n            </ng-container>\n          </nz-checkbox-wrapper>\n        </div>\n\n        <button nz-button nzSize="small" nzType="primary" (click)="filterByExecutioner()" class="search-button">\u041e\u043a</button>\n        <button nz-button nzSize="small" (click)="cancelFilterByExecutioner()">\u0421\u0431\u0440\u043e\u0441</button>\n      </ng-template>\n    </div>\n  </div>\n</nz-dropdown-menu>\n',styles:[":host {\n  position: relative;\n}\n\n.group-block {\n  display: flex;\n  border-top: 1px solid var(--schema-grey200);\n  height: calc(100vh - 72px);\n  overflow-y: hidden;\n}\n\n.group-block .left-block {\n  width: 275px;\n  overflow-y: auto;\n  border-right: 1px solid var(--schema-grey200);\n}\n\n.group-block .left-block .task-list .spinner {\n  margin: 50% auto;\n}\n\n.group-block .left-block .task-list-item {\n  padding: 16px 24px;\n  font-style: normal;\n  font-weight: 400;\n  font-size: 16px;\n  line-height: 24px;\n  color: black;\n  cursor: pointer;\n  display: flex;\n  justify-content: space-between;\n  align-items: center;\n}\n\n.group-block .left-block .task-list-item:hover {\n  background: #f5f5f5;\n}\n\n.group-block .left-block .left-block-header {\n  padding: 18px 24px;\n  display: flex;\n  justify-content: space-between;\n  border-bottom: 1px solid var(--schema-grey200);\n  font-style: normal;\n  font-weight: 600;\n  font-size: 20px;\n  line-height: 28px;\n  color: rgba(0, 0, 0, 0.85);\n}\n\n.group-block .left-block .left-block-header button {\n  gap: 8px;\n  display: flex;\n  align-items: center;\n}\n\n.group-block .right-block {\n  width: calc(100% - 275px);\n  padding: 0 24px;\n  position: relative;\n}\n\n.group-block .right-block .right-block-header {\n  display: flex;\n  align-items: center;\n  justify-content: space-between;\n  min-height: 72px;\n  padding: 20px 8px;\n}\n\n.group-block .right-block .right-block-header .right-block-header-title {\n  font-style: normal;\n  font-weight: 600;\n  font-size: 16px;\n  line-height: 24px;\n  color: rgba(0, 0, 0, 0.85);\n}\n\n.group-block .right-block .right-block-header .right-block-header-search {\n  display: flex;\n}\n\n.mr-4 {\n  margin-right: 1rem;\n}\n\n.tasks {\n  height: calc(100vh - 136px);\n  position: relative;\n}\n\n.documents-grid {\n  width: 100%;\n  font-weight: 400;\n  font-size: 16px;\n  line-height: 24px;\n}\n\n.documents-grid th {\n  background: #fafafa;\n}\n\n.documents-grid th:not(:last-child) {\n  padding: 0 !important;\n}\n\n.documents-grid th:not(:last-child) div {\n  width: 100%;\n  height: 22px;\n  padding: 0 1rem !important;\n  border-right: 1px solid rgba(0, 0, 0, 0.12);\n}\n\n.active {\n  background: #f5f5f5;\n}\n\n.loading-panel {\n  position: absolute;\n  top: 0;\n  bottom: 0;\n  right: 0;\n  left: 0;\n}\n\n.icon {\n  height: auto;\n  width: auto;\n}\n\n@media screen and (max-width: 768px) {\n  .group-block .left-block {\n    width: 100%;\n    overflow-y: unset;\n  }\n  .group-block .left-block .left-block-header {\n    padding: 12px 16px;\n    border-bottom: none;\n  }\n  .group-block .left-block .left-block-header button {\n    margin-top: 34px;\n  }\n  .group-block .left-block .task-list-item {\n    padding: 4px 12px;\n    border-radius: 8px;\n    font-size: 14px;\n    border: 1px solid #d9d9d9;\n    gap: 10px;\n  }\n\n  .group-block {\n    display: flex;\n    flex-direction: column;\n    height: -moz-fit-content;\n    height: fit-content;\n  }\n\n  .group-block .right-block {\n    width: 100%;\n    padding: 0px;\n  }\n  .group-block .right-block .right-block-header {\n    padding: 12px;\n    min-height: -moz-fit-content;\n    min-height: fit-content;\n  }\n\n  .task-list-items {\n    display: flex;\n    flex-wrap: wrap;\n    justify-content: flex-end;\n    align-items: center;\n    gap: 6px;\n    padding: 8px 12px 8px 12px;\n  }\n\n  .column-header-mobile {\n    flex-basis: 60%;\n  }\n  .column-header-mobile.status {\n    flex-basis: 20%;\n  }\n  .column-header-mobile.solution {\n    flex-basis: 20%;\n  }\n\n  .documents-grid th,\n.documents-grid td {\n    overflow: hidden;\n  }\n  .documents-grid th:nth-child(1),\n.documents-grid td:nth-child(1) {\n    max-width: 50vw;\n  }\n  .documents-grid th:nth-child(3),\n.documents-grid td:nth-child(3) {\n    text-align: unset;\n    max-width: 22vw;\n  }\n  .documents-grid th:nth-child(2),\n.documents-grid td:nth-child(2) {\n    max-width: 26vw;\n    min-width: 26vw;\n    padding: 0px;\n    font-size: 14px;\n  }\n\n  .item-name {\n    display: inline-block;\n    max-width: calc(48vw - 20px);\n    overflow: hidden;\n    text-overflow: ellipsis;\n    font-size: 14px;\n    line-height: 14px;\n  }\n\n  th {\n    background: #fafafa;\n  }\n  th:not(:last-child) div {\n    border-right: 1px solid rgba(0, 0, 0, 0.12);\n  }\n\n  .solution-icon {\n    text-align: unset;\n  }\n\n  .tasks {\n    height: calc(100vh - 252px);\n  }\n}\n\n.spinner-container {\n  width: 200px;\n  text-align: center;\n  border-radius: 4px;\n  margin-bottom: 20px;\n  padding: 15px 50px;\n  margin: 0 0;\n}\n\n.search-box {\n  padding: 8px;\n}\n\n.search-box input {\n  width: 200px;\n  margin-bottom: 8px;\n  display: block;\n}\n\n.search-box button {\n  width: 96px;\n}\n\n.search-box .date-search-button {\n  width: 106px;\n}\n\n.search-button {\n  margin-right: 8px;\n}\n\n.date-picker {\n  width: 100%;\n  margin-bottom: 8px;\n}\n\n.ant-picker {\n  width: 100%;\n  min-width: 220px;\n}\n\n.tree {\n  width: 250px;\n  margin-bottom: 8px;\n}"]})],F)},JvlW:function(e,t,n){!function(e){"use strict";var t={ss:"sekund\u0117_sekund\u017ei\u0173_sekundes",m:"minut\u0117_minut\u0117s_minut\u0119",mm:"minut\u0117s_minu\u010di\u0173_minutes",h:"valanda_valandos_valand\u0105",hh:"valandos_valand\u0173_valandas",d:"diena_dienos_dien\u0105",dd:"dienos_dien\u0173_dienas",M:"m\u0117nuo_m\u0117nesio_m\u0117nes\u012f",MM:"m\u0117nesiai_m\u0117nesi\u0173_m\u0117nesius",y:"metai_met\u0173_metus",yy:"metai_met\u0173_metus"};function n(e,t,n,r){return t?"kelios sekund\u0117s":r?"keli\u0173 sekund\u017ei\u0173":"kelias sekundes"}function r(e,t,n,r){return t?s(n)[0]:r?s(n)[1]:s(n)[2]}function i(e){return e%10==0||e>10&&e<20}function s(e){return t[e].split("_")}function o(e,t,n,o){var a=e+" ";return 1===e?a+r(e,t,n[0],o):t?a+(i(e)?s(n)[1]:s(n)[0]):o?a+s(n)[1]:a+(i(e)?s(n)[1]:s(n)[2])}e.defineLocale("lt",{months:{format:"sausio_vasario_kovo_baland\u017eio_gegu\u017e\u0117s_bir\u017eelio_liepos_rugpj\u016b\u010dio_rugs\u0117jo_spalio_lapkri\u010dio_gruod\u017eio".split("_"),standalone:"sausis_vasaris_kovas_balandis_gegu\u017e\u0117_bir\u017eelis_liepa_rugpj\u016btis_rugs\u0117jis_spalis_lapkritis_gruodis".split("_"),isFormat:/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/},monthsShort:"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),weekdays:{format:"sekmadien\u012f_pirmadien\u012f_antradien\u012f_tre\u010diadien\u012f_ketvirtadien\u012f_penktadien\u012f_\u0161e\u0161tadien\u012f".split("_"),standalone:"sekmadienis_pirmadienis_antradienis_tre\u010diadienis_ketvirtadienis_penktadienis_\u0161e\u0161tadienis".split("_"),isFormat:/dddd HH:mm/},weekdaysShort:"Sek_Pir_Ant_Tre_Ket_Pen_\u0160e\u0161".split("_"),weekdaysMin:"S_P_A_T_K_Pn_\u0160".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"},calendar:{sameDay:"[\u0160iandien] LT",nextDay:"[Rytoj] LT",nextWeek:"dddd LT",lastDay:"[Vakar] LT",lastWeek:"[Pra\u0117jus\u012f] dddd LT",sameElse:"L"},relativeTime:{future:"po %s",past:"prie\u0161 %s",s:n,ss:o,m:r,mm:o,h:r,hh:o,d:r,dd:o,M:r,MM:o,y:r,yy:o},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(e){return e+"-oji"},week:{dow:1,doy:4}})}(n("wd/R"))},JwMs:function(e,t,n){"use strict";n.d(t,"a",function(){return x}),n.d(t,"b",function(){return C}),n.d(t,"c",function(){return _}),n.d(t,"d",function(){return v}),n.d(t,"e",function(){return S}),n.d(t,"f",function(){return b}),n.d(t,"g",function(){return O}),n.d(t,"h",function(){return k});var r=n("fXoL"),i=n("XNiG"),s=n("3UWI"),o=n("nYR2"),a=n("lJxs"),c=n("pLZG"),l=n("JX91"),u=n("/uUt"),h=n("OySI"),d=n("/KA4"),f=n("ofXK"),p=n("ejfv"),m=n("0MNC");const g=()=>{};class v{constructor(e,t){this.ngZone=e,this.rendererFactory2=t,this.resizeSource$=new i.a,this.listeners=0,this.disposeHandle=g,this.handler=()=>{this.ngZone.run(()=>{this.resizeSource$.next()})},this.renderer=this.rendererFactory2.createRenderer(null,null)}subscribe(){return this.registerListener(),this.resizeSource$.pipe(Object(s.a)(16),Object(o.a)(()=>this.unregisterListener()))}unsubscribe(){this.unregisterListener()}registerListener(){0===this.listeners&&this.ngZone.runOutsideAngular(()=>{this.disposeHandle=this.renderer.listen("window","resize",this.handler)}),this.listeners+=1}unregisterListener(){this.listeners-=1,0===this.listeners&&(this.disposeHandle(),this.disposeHandle=g)}}v.\u0275fac=function(e){return new(e||v)(r.Xc(r.Q),r.Xc(r.Z))},v.\u0275prov=Object(r.Jc)({factory:function(){return new v(Object(r.Xc)(r.Q),Object(r.Xc)(r.Z))},token:v,providedIn:"root"}),v.ctorParameters=()=>[{type:r.Q},{type:r.Z}];const y=new Map;class b{constructor(){this._singletonRegistry=new Map}get singletonRegistry(){return h.a.isTestMode?y:this._singletonRegistry}registerSingletonWithKey(e,t){const n=this.singletonRegistry.has(e),r=n?this.singletonRegistry.get(e):this.withNewTarget(t);n||this.singletonRegistry.set(e,r)}getSingletonWithKey(e){return this.singletonRegistry.has(e)?this.singletonRegistry.get(e).target:null}withNewTarget(e){return{target:e}}}b.\u0275fac=function(e){return new(e||b)},b.\u0275prov=Object(r.Jc)({factory:function(){return new b},token:b,providedIn:"root"});class _{constructor(e){this.draggingThreshold=5,this.currentDraggingSequence=null,this.currentStartingPoint=null,this.handleRegistry=new Set,this.renderer=e.createRenderer(null,null)}requestDraggingSequence(e){return this.handleRegistry.size||this.registerDraggingHandler(Object(d.u)(e)),this.currentDraggingSequence&&this.currentDraggingSequence.complete(),this.currentStartingPoint=function(e){const t=Object(d.h)(e);return{x:t.pageX,y:t.pageY}}(e),this.currentDraggingSequence=new i.a,this.currentDraggingSequence.pipe(Object(a.a)(e=>({x:e.pageX-this.currentStartingPoint.x,y:e.pageY-this.currentStartingPoint.y})),Object(c.a)(e=>Math.abs(e.x)>this.draggingThreshold||Math.abs(e.y)>this.draggingThreshold),Object(o.a)(()=>this.teardownDraggingSequence()))}registerDraggingHandler(e){e?(this.handleRegistry.add({teardown:this.renderer.listen("document","touchmove",e=>{this.currentDraggingSequence&&this.currentDraggingSequence.next(e.touches[0]||e.changedTouches[0])})}),this.handleRegistry.add({teardown:this.renderer.listen("document","touchend",()=>{this.currentDraggingSequence&&this.currentDraggingSequence.complete()})})):(this.handleRegistry.add({teardown:this.renderer.listen("document","mousemove",e=>{this.currentDraggingSequence&&this.currentDraggingSequence.next(e)})}),this.handleRegistry.add({teardown:this.renderer.listen("document","mouseup",()=>{this.currentDraggingSequence&&this.currentDraggingSequence.complete()})}))}teardownDraggingSequence(){this.currentDraggingSequence=null}}function w(e,t,n,r){const i=n-t;let s=e/(r/2);return s<1?i/2*s*s*s+t:i/2*((s-=2)*s*s+2)+t}_.\u0275fac=function(e){return new(e||_)(r.Xc(r.Z))},_.\u0275prov=Object(r.Jc)({factory:function(){return new _(Object(r.Xc)(r.Z))},token:_,providedIn:"root"}),_.ctorParameters=()=>[{type:r.Z}];class S{constructor(e){this.doc=e}setScrollTop(e,t=0){e===window?(this.doc.body.scrollTop=t,this.doc.documentElement.scrollTop=t):e.scrollTop=t}getOffset(e){const t={top:0,left:0};if(!e||!e.getClientRects().length)return t;const n=e.getBoundingClientRect();if(n.width||n.height){const r=e.ownerDocument.documentElement;t.top=n.top-r.clientTop,t.left=n.left-r.clientLeft}else t.top=n.top,t.left=n.left;return t}getScroll(e,t=!0){if("undefined"==typeof window)return 0;const n=t?"scrollTop":"scrollLeft";let r=0;return this.isWindow(e)?r=e[t?"pageYOffset":"pageXOffset"]:e instanceof Document?r=e.documentElement[n]:e&&(r=e[n]),e&&!this.isWindow(e)&&"number"!=typeof r&&(r=(e.ownerDocument||e).documentElement[n]),r}isWindow(e){return null!=e&&e===e.window}scrollTo(e,t=0,n={}){const r=e||window,i=this.getScroll(r),s=Date.now(),{easing:o,callback:a,duration:c=450}=n,l=()=>{const e=Date.now()-s,n=(o||w)(e>c?c:e,i,t,c);this.isWindow(r)?r.scrollTo(window.pageXOffset,n):r instanceof HTMLDocument||"HTMLDocument"===r.constructor.name?r.documentElement.scrollTop=n:r.scrollTop=n,e<c?Object(p.b)(l):"function"==typeof a&&a()};Object(p.b)(l)}}var x;S.\u0275fac=function(e){return new(e||S)(r.Xc(f.d))},S.\u0275prov=Object(r.Jc)({factory:function(){return new S(Object(r.Xc)(f.d))},token:S,providedIn:"root"}),S.ctorParameters=()=>[{type:void 0,decorators:[{type:r.C,args:[f.d]}]}],function(e){e.xxl="xxl",e.xl="xl",e.lg="lg",e.md="md",e.sm="sm",e.xs="xs"}(x||(x={}));const O={xs:"(max-width: 575px)",sm:"(min-width: 576px)",md:"(min-width: 768px)",lg:"(min-width: 992px)",xl:"(min-width: 1200px)",xxl:"(min-width: 1600px)"},k={xs:"(max-width: 479.98px)",sm:"(max-width: 575.98px)",md:"(max-width: 767.98px)",lg:"(max-width: 991.98px)",xl:"(max-width: 1199.98px)",xxl:"(max-width: 1599.98px)"};class C{constructor(e,t){this.resizeService=e,this.mediaMatcher=t,this.resizeService.subscribe().subscribe(()=>{})}subscribe(e,t){if(t){const t=()=>this.matchMedia(e,!0);return this.resizeService.subscribe().pipe(Object(a.a)(t),Object(l.a)(t()),Object(u.a)((e,t)=>e[0]===t[0]),Object(a.a)(e=>e[1]))}{const t=()=>this.matchMedia(e);return this.resizeService.subscribe().pipe(Object(a.a)(t),Object(l.a)(t()),Object(u.a)())}}matchMedia(e,t){let n=x.md;const r={};return Object.keys(e).map(e=>{const t=e,i=this.mediaMatcher.matchMedia(O[t]).matches;r[e]=i,i&&(n=t)}),t?[n,r]:n}}C.\u0275fac=function(e){return new(e||C)(r.Xc(v),r.Xc(m.b))},C.\u0275prov=Object(r.Jc)({factory:function(){return new C(Object(r.Xc)(v),Object(r.Xc)(m.b))},token:C,providedIn:"root"}),C.ctorParameters=()=>[{type:v},{type:m.b}]},Jy0u:function(e,t,n){"use strict";n.d(t,"b",function(){return y}),n.d(t,"e",function(){return b}),n.d(t,"f",function(){return _}),n.d(t,"g",function(){return w}),n.d(t,"d",function(){return S}),n.d(t,"c",function(){return x}),n.d(t,"i",function(){return O}),n.d(t,"h",function(){return k}),n.d(t,"j",function(){return C}),n.d(t,"a",function(){return M});var r=n("mjQ1"),i=n("2kdd"),s=n("XNiG"),o=n("zx2A");class a{constructor(e){this.closingNotifier=e}call(e,t){return t.subscribe(new c(e,this.closingNotifier))}}class c extends o.b{constructor(e,t){super(e),this.buffer=[],this.add(Object(o.c)(t,new o.a(this)))}_next(e){this.buffer.push(e)}notifyNext(){const e=this.buffer;this.buffer=[],this.destination.next(e)}}var l=n("Kj3r"),u=n("eIep"),h=n("w1tV"),d=n("IzEk"),f=n("lJxs"),p=n("Rk0a"),m=n("uyU4"),g=n("WS32"),v=n("phRD");function y(...e){return Object(i.b)(e.map(e=>({class:{eq:e}})))}function b(...e){return Object(i.b)(e.map(e=>({ancestors:{exists:{id:{eq:e}}}})))}function _(...e){return Object(i.b)(e.map(e=>({id:{eq:e}})))}function w(...e){return{[Object(i.h)(Object(r.e)(m.a.properties.status))]:{exists:Object(i.b)(e.map(e=>({id:{eq:m.b.from(e)[0]}})))}}}function S(...e){return{[Object(i.d)(g.a.collection)]:{exists:Object(i.a)(e.map(e=>({[Object(i.h)(Object(r.e)(g.a.properties.profile))]:{exists:{id:{eq:e}}}})))}}}function x(e){return{[Object(i.d)(p.a.collection)]:e?{exists:{id:{ne:0}}}:{not:{exists:{id:{ne:0}}}}}}function O(e,{properties:{name:t,invoiceNumber:n,documentSection:s,cipher:o,changeNumber:a,revision:c}}){const l={root:e=>e?b(e):void 0,name:e=>e?{[Object(i.c)(Object(r.e)(t))]:{startsWith:"%"+e}}:void 0,documentSection:e=>e?{[Object(i.c)(Object(r.e)(s))]:{startsWith:e}}:void 0,invoiceNumber:e=>e?{[Object(i.c)(Object(r.e)(n))]:{startsWith:e}}:void 0,cipher:e=>e?{[Object(i.c)(Object(r.e)(o))]:{eq:e}}:void 0,changeNumber:e=>e?{[Object(i.c)(Object(r.e)(a))]:{eq:e}}:void 0,revision:e=>e?{[Object(i.c)(Object(r.e)(c))]:{eq:e}}:void 0,status:e=>(null==e?void 0:e.length)?w(...e):void 0,remarkStatus:e=>(null==e?void 0:e.length)?function(...e){return{[Object(i.h)(Object(r.e)(p.a.properties.status))]:{exists:Object(i.b)(e.map(e=>({id:{eq:p.b.from(e)[0]}})))}}}(...e):void 0,responsibles:e=>(null==e?void 0:e.length)?S(...e):void 0,responsibleWithStatus:e=>e&&function({id:e,status:t}){const n=[];return e&&n.push(function(e){return{[Object(i.h)(Object(r.e)(g.a.properties.profile))]:{exists:{id:{eq:e}}}}}(e)),t&&n.push(function(e){return{[Object(i.h)(Object(r.e)(g.a.properties.approvalStatus))]:{exists:{id:{eq:e}}}}}(t)),{[Object(i.d)(g.a.collection)]:{exists:Object(i.a)(n)}}}(e),remarks:e=>void 0!==e?x(e):void 0,hasResponsibles:e=>void 0!==e?function(e){return{[Object(i.d)(g.a.collection)]:e?{exists:{id:{ne:0}}}:{not:{exists:{id:{ne:0}}}}}}(e):void 0,hasVersions:e=>void 0!==e?function(e){return{[Object(i.d)(v.a.collection)]:e?{exists:{id:{ne:0}}}:{not:{exists:{id:{ne:0}}}}}}(e):void 0,notStatus:e=>void 0!==e?function(e,t="eq"){const n={[t]:e};return{[Object(i.h)(Object(r.e)(m.a.properties.status))]:{exists:{id:n}}}}(e,"ne"):void 0};return Object.entries(e).map(([e,t])=>t&&l[e](t)).filter(e=>!!e)}function k(e,t,n){const s=Object.entries(e).filter(([e,t])=>t).map(([e,s])=>{const o=Object(r.e)(t.properties[e]);return{[(o in n.attributes?i.c:i.h)(o)]:s}});return s.length?s:void 0}function C(e,...t){const n=[];return function e(t,n,i){const[{schema:s,connect:o}]=i;for(let a=0;a<n.length;a++){const c=n[a];if(s.class===c.classId){const l=Object(r.j)(c,s);o(t,l,c);const u=(n.slice(a+1).findIndex(({searchPath:e})=>!e.startsWith(c.searchPath))+1||n.length-a)-1;u&&(e([...t,l],n.slice(a+1,a+1+u),i.slice(1)),a+=u)}}}([n],e,t),n}function M(e,t,n=1e3){const r=new s.a,i=r.pipe((o=r.pipe(Object(l.a)(n)),function(e){return e.lift(new a(o))}),Object(u.a)(e),Object(h.a)());var o;return e=>(setTimeout(()=>r.next(e)),i.pipe(Object(d.a)(1),Object(f.a)(n=>{var r;return null!==(r=n.get(e))&&void 0!==r?r:t})))}},"Jzx+":function(e,t,n){"use strict";n.d(t,"b",function(){return r}),n.d(t,"a",function(){return m});var r,i=n("mrSG"),s=n("fXoL"),o=n("tyNb"),a=n("5KfX"),c=n("0W33"),l=n("IzEk"),u=n("eIep"),h=n("rgsH"),d=n("4lKt"),f=n("qhR1"),p=n("dEAy");!function(e){e.Accepted="\u041f\u0440\u0438\u043d\u044f\u0442\u043e",e.Neutral="\u041d\u0435\u0439\u0442\u0440\u0430\u043b\u044c\u043d\u043e",e.Rejected="\u041e\u0442\u043a\u043b\u043e\u043d\u0435\u043d\u043e",e.Finished="\u0417\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u043e",e.Opened="\u041e\u0442\u043a\u0440\u044b\u0442\u043e",e.NotStarted="\u041d\u0435 \u043d\u0430\u0447\u0430\u0442",e.InWork="\u0412 \u0440\u0430\u0431\u043e\u0442\u0435",e.Cancel="\u041e\u0442\u043c\u0435\u043d\u0430",e.Canceled="\u041e\u0442\u043c\u0435\u043d\u0435\u043d\u043e",e.UnderReview="\u041d\u0430 \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0435",e.Draft="\u0427\u0435\u0440\u043d\u043e\u0432\u0438\u043a",e.InProgress="\u0412\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u0442\u0441\u044f",e.AwaitingReview="\u041e\u0436\u0438\u0434\u0430\u0435\u0442 \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0438",e.Review="\u041f\u0440\u043e\u0432\u0435\u0440\u043a\u0430",e.Closed="\u0417\u0430\u043a\u0440\u044b\u0442\u043e",e.UnderConsideration="\u041d\u0430 \u0440\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0435\u043d\u0438\u0438"}(r||(r={}));let m=class{constructor(e,t,n,i,s,o,a){this.route=e,this.router=t,this.setDocumentsService=n,this.chatService=i,this.directories=s,this.documentState=o,this.modal=a,this.stages=[],this.count=0,this.adminRoles=f.a,this.approvalStatus=r,this.isMobile=window.innerWidth<=500}ngOnInit(){this.documentState.getProject().pipe(Object(l.a)(1)).subscribe(e=>this.projectId=null==e?void 0:e.id);const e=Number(this.route.snapshot.params.id);this.setDocumentsService.getById(e).pipe(Object(l.a)(1),Object(u.a)(e=>(e.statusAgreement.name===r.Cancel&&this.onBack(),this.setDocuments=e,this.chatService.getChatsByEntity(this.setDocuments.id)))).subscribe(e=>this.chat=e),this.setDocumentsService.getSetDocumentsStages(e).pipe(Object(l.a)(1)).subscribe(e=>Object(i.a)(this,void 0,void 0,function*(){const t=yield this.setDocumentsService.onFuncRoleUsersCreateAgreement(e,this.projectId,this.setDocuments);t.length?this.setStages(t):this.setStages(e)}))}setStages(e){this.setDocumentsService.stages=JSON.parse(JSON.stringify(e)),this.stages=e,this.count=0}onBack(){this.router.navigate(["../.."],{relativeTo:this.route})}cancel(){this.modal.confirm({nzTitle:"\u0412\u044b \u0443\u0432\u0435\u0440\u0435\u043d\u044b \u0447\u0442\u043e \u0445\u043e\u0442\u0438\u0442\u0435 \u043e\u0442\u043c\u0435\u043d\u0438\u0442\u044c \u0441\u043e\u0433\u043b\u0430\u0441\u043e\u0432\u0430\u043d\u0438\u0435? \u0412\u0441\u0435 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b \u0441\u043e\u0433\u043b\u0430\u0441\u043e\u0432\u0430\u043d\u0438\u044e \u0434\u043e \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u043c \u0430\u043d\u043d\u0443\u043b\u0438\u0440\u0443\u044e\u0442\u0441\u044f.",nzOkText:"\u0414\u0430",nzOkType:"primary",nzOkDanger:!0,nzOnOk:()=>Object(i.a)(this,void 0,void 0,function*(){return yield this.cancelSetDocuments()}),nzCancelText:"\u041e\u0442\u043c\u0435\u043d\u0430"})}cancelSetDocuments(){return Object(i.a)(this,void 0,void 0,function*(){yield this.setDocumentsService.cancelSetDocument(this.setDocuments),this.onBack()})}};m.ctorParameters=()=>[{type:o.a},{type:o.d},{type:a.a},{type:c.a},{type:h.a},{type:d.a},{type:p.c}],m=Object(i.b)([Object(s.n)({selector:"app-agreement-selected",template:'<nz-page-header\n  class="page-header"\n  (nzBack)="onBack()"\n  nzBackIcon\n  [nzTitle]="setDocuments?.name"\n>\n  <nz-breadcrumb *ngIf="!isMobile" nz-page-header-breadcrumb>\n    <nz-breadcrumb-item>\n      <a routerLink="../..">\u0421\u043e\u0433\u043b\u0430\u0441\u043e\u0432\u0430\u043d\u0438\u0435</a>\n    </nz-breadcrumb-item>\n    <nz-breadcrumb-item>{{setDocuments?.name}}</nz-breadcrumb-item>\n  </nz-breadcrumb>\n\n  <nz-page-header-extra *ngIf="setDocuments">\n    <nz-space>\n      <ng-container *ngIf="setDocuments?.statusAgreement?.name === approvalStatus?.Opened">\n        <ng-container *forRoles="[adminRoles.Admin, adminRoles.AdminProject]">\n          <button class="cancel" nzType="default" *nzSpaceItem nz-button (click)="cancel()">\u041e\u0442\u043c\u0435\u043d\u0438\u0442\u044c \u0441\u043e\u0433\u043b\u0430\u0441\u043e\u0432\u0430\u043d\u0438\u0435</button>\n        </ng-container>\n      </ng-container>\n      <ng-container *ngIf="!isMobile">\n        <ng-container *ngIf="chat; else create">\n          <button  nzType="default" routerLink="../../../chats" *nzSpaceItem nz-button>\n            <core-icon name="app:14-chat"></core-icon>\n            \u0427\u0430\u0442\n          </button>\n        </ng-container>\n        <ng-template #create>\n          <button nzType="primary" routerLink="../../../chats"  *nzSpaceItem nz-button>\u0421\u043e\u0437\u0434\u0430\u0442\u044c \u0447\u0430\u0442</button>\n        </ng-template>\n      </ng-container>\n    </nz-space>\n  </nz-page-header-extra>\n</nz-page-header>\n<nz-tabset>\n  <nz-tab nzTitle="\u042d\u0442\u0430\u043f\u044b">\n    <ng-template nz-tab>\n      <app-agreement-stages *ngIf="stages.length" [count]="count" [data]="stages" [setDocument]="setDocuments"></app-agreement-stages>\n    </ng-template>\n  </nz-tab>\n  <nz-tab nzTitle="\u0414\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u044b">\n    <ng-template nz-tab>\n      <app-agreement-docs [setDocumentId]="setDocuments?.id"></app-agreement-docs>\n    </ng-template>\n  </nz-tab>\n</nz-tabset>\n',styles:[".page-header {\n  position: sticky;\n  top: 0;\n  width: 100%;\n  z-index: 1;\n  background: white;\n}\n\n.ant-btn {\n  display: flex;\n  gap: 10px;\n  align-items: center;\n}\n\n.ant-tabs {\n  padding: 0 24px;\n  height: calc(100% - 103px);\n}\n\n:host {\n  position: relative;\n}\n\n@media screen and (max-width: 500px) {\n  .page-header {\n    padding: 16px;\n    position: relative;\n  }\n\n  .ant-tabs {\n    padding: 0 16px;\n    height: 100%;\n  }\n}\n\n@media screen and (max-width: 340px) {\n  .page-header .cancel {\n    padding-left: 10px !important;\n    padding-right: 10px !important;\n  }\n}"]})],m)},"K/tc":function(e,t,n){!function(e){"use strict";e.defineLocale("af",{months:"Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des".split("_"),weekdays:"Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag".split("_"),weekdaysShort:"Son_Maa_Din_Woe_Don_Vry_Sat".split("_"),weekdaysMin:"So_Ma_Di_Wo_Do_Vr_Sa".split("_"),meridiemParse:/vm|nm/i,isPM:function(e){return/^nm$/i.test(e)},meridiem:function(e,t,n){return e<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(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(n("wd/R"))},KPd8:function(e,t,n){"use strict";n.d(t,"a",function(){return $});var r=n("mrSG"),i=n("ofXK"),s=n("fXoL"),o=n("tyNb"),a=n("xwJx"),c=n("PCNd");let l=class{constructor(){this.columnsChange=new s.x,this.ordered=[],this.visible=[]}ngOnInit(){var e;this.ordered=Object.values(null!==(e=this.columns)&&void 0!==e?e:{}).sort(Object(a.u)()),this.visible=this.ordered.filter(e=>!e.hidden)}changed(e){this.ordered.forEach(t=>t.hidden=!e.includes(t)),this.visible=this.ordered.filter(e=>!e.hidden),this.columns&&this.columnsChange.next(Object.assign({},this.columns))}};l.propDecorators={columns:[{type:s.G}],columnsChange:[{type:s.S}]},l=Object(r.b)([Object(s.n)({selector:"app-columns-dropdown",template:'\n    <app-dropdown-list [items]="ordered" [value]="visible" (valueChange)="changed($event)" [multiple]="true" align="right" #dropdown>\n      <button (click)="dropdown.open()" [ngClass]="{ \'is-active\': dropdown.opened }" class="button is-white">\n        <core-icon name="app:16-columns"></core-icon>&nbsp;\u041a\u043e\u043b\u043e\u043d\u043a\u0438\n      </button>\n    </app-dropdown-list>\n  ',styles:["\n      :host {\n        display: inline-block;\n      }\n    "]})],l);var u=n("G15w");let h=class{constructor(e){this.service=e,this.host=!0,this.count=0}ngOnChanges(){return Object(r.a)(this,void 0,void 0,function*(){this.item&&(this.count=yield this.service.getCount(this.item.id).toPromise())})}};h.ctorParameters=()=>[{type:u.a}],h.propDecorators={host:[{type:s.z,args:["class.badge-host"]}],item:[{type:s.G}]},h=Object(r.b)([Object(s.n)({selector:"app-comments-count",template:'\n    <app-badge *ngIf="count" [value]="count" type="grey"></app-badge>\n    <core-icon name="app:16-comment"></core-icon>\n  ',styles:["\n      :host {\n        display: inline-block;\n        width: 1.25em;\n        vertical-align: middle;\n      }\n\n      core-icon {\n        color: var(--schema-grey300);\n      }\n\n      app-badge + core-icon {\n        color: var(--schema-grey400);\n      }\n    "]})],h);var d=n("bNXi"),f=n("jH3+");let p=class{constructor(e,t){this.copyLink=e,this.notification=t}copy(){var e,t;return Object(r.a)(this,void 0,void 0,function*(){const n=null===(t=null===(e=this.item)||void 0===e?void 0:e.file)||void 0===t?void 0:t.id,r=yield this.copyLink.checkLink(n);r?this.notification.create("error",r,""):this.notification.create("success","\u0421\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442 \u0441\u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u043d\u0430","")})}};p.ctorParameters=()=>[{type:f.a},{type:d.b}],p.propDecorators={item:[{type:s.G}]},p=Object(r.b)([Object(s.n)({selector:"app-copy-url",template:' <core-icon name="app:24-link" (click)="copy()"></core-icon> '})],p);var m=n("jhN1"),g=n("itXk"),v=n("eIep"),y=n("lJxs"),b=n("UXun"),_=n("Ml5Y"),w=n("W8w0"),S=n("IEFc"),x=n("6V7c");let O=class{constructor(e,t,n,r,i){this.projects=e,this.types=t,this.titleService=n,this.route=r,this.value=[],this.caption=!0,this.project=i.project,this.items=i.stage.pipe(Object(v.a)(e=>this.types.query({skip:0,take:1e3},e)),Object(y.a)(({items:e})=>e.map(({id:e,name:t})=>({name:t,value:e})).sort(Object(a.u)())),Object(b.a)(1)),this.subscription=Object(g.a)([this.items,i.docType]).subscribe(([e,t])=>{this.value=e.filter(({value:e})=>e===t);const[{name:n}]=this.value;this.titleService.setTitle(n)})}get title(){var e;return null===(e=this.value[0])||void 0===e?void 0:e.name}ngOnDestroy(){var e;null===(e=this.subscription)||void 0===e||e.unsubscribe()}change(e){return Object(r.a)(this,void 0,void 0,function*(){const[{path:t}]=this.route.snapshot.url.slice(-1);this.projects.goto(e,"documents"===t?w.a.Doc:w.a.LKP)})}};O.ctorParameters=()=>[{type:_.a},{type:x.a},{type:m.c},{type:o.a},{type:void 0,decorators:[{type:s.C,args:[S.a]}]}],O.propDecorators={caption:[{type:s.z,args:["class.caption"]}]},O=Object(r.b)([Object(s.n)({selector:"app-documents-header",template:'\n    <span [title]="(project | async)?.name">{{ (project | async)?.name }}</span>\n    <app-dropdown-list [(value)]="value" (valueChange)="change($event[0].value)" [items]="items" #dropdown>\n      <h1 (click)="dropdown.open()" [title]="title">{{ title }} <core-icon name="app:12-dropdown-down"></core-icon></h1>\n    </app-dropdown-list>\n  ',styles:["\n      :host {\n        line-height: 1;\n      }\n\n      span {\n        font-size: 0.75rem;\n        color: var(--schema-grey400);\n      }\n\n      app-dropdown-list {\n        display: block;\n        max-width: 25em;\n      }\n\n      h1 {\n        overflow: hidden;\n        text-overflow: ellipsis;\n        cursor: pointer;\n      }\n\n      h1 core-icon {\n        vertical-align: middle;\n      }\n    "]})],O);var k=n("qhR1"),C=n("CPho");let M=class{constructor(e,t,n){this.router=e,this.route=t,this.checkImportService=n,this.showRemarks=!0,this.showResponsible=!0,this.showColumns=!0,this.isStorage=!1,this.columnsChange=new s.x,this.filtersChange=new s.x,this.Role=k.e;const r=e.parseUrl(e.url);this.currentUrl=e.serializeUrl(r)}updateFilters(e,t=!1){var n;const r=null!==(n=this.value)&&void 0!==n?n:{};t&&Object.entries(e).forEach(([t,n])=>r[t]===n&&(e[t]=void 0)),this.filtersChange.emit(this.value=Object.assign(Object.assign({},r),e))}import(){return Object(r.a)(this,void 0,void 0,function*(){})}};M.ctorParameters=()=>[{type:o.d},{type:o.a},{type:C.a}],M.propDecorators={columns:[{type:s.G}],showRemarks:[{type:s.G}],showResponsible:[{type:s.G}],showColumns:[{type:s.G}],isStorage:[{type:s.G}],columnsChange:[{type:s.S}],filtersChange:[{type:s.S}]},M=Object(r.b)([Object(s.n)({selector:"app-documents-toolbar",template:'\n    <div class="filters" *ngIf="isStorage">\n      <span class="buttons has-addons">\n        <a [routerLink]="[\'../files\']" routerLinkActive #docActive="routerLinkActive" *forRole="[Role.Eol, Role.Dkk, Role.Approver, Role.ProjectInstitute]"\n           [class]="docActive.isActive ? \'is-primary\' : \'is-light\'" class="button">\u0425\u0440\u0430\u043d\u0438\u043b\u0438\u0449\u0435</a>\n      </span>\n    </div>\n    <div class="filters" *ngIf="!isStorage">\n      <span class="buttons has-addons">\n        <a [routerLink]="[\'../documents\']" routerLinkActive #docActive="routerLinkActive" *forRole="[Role.Eol, Role.Dkk, Role.Approver, Role.ProjectInstitute]"\n           [class]="docActive.isActive ? \'is-primary\' : \'is-light\'" class="button">\u0414\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u044b</a>\n        <a [routerLink]="[\'../remarks\']" routerLinkActive #remarksActive="routerLinkActive" *forRole="[Role.Eol, Role.Dkk, Role.Approver, Role.ProjectInstitute]"\n           [class]="remarksActive.isActive ? \'is-primary\' : \'is-light\'" class="button">\u0417\u0430\u043c\u0435\u0447\u0430\u043d\u0438\u044f</a>\n        <a [routerLink]="[\'../lkp\']" routerLinkActive #lkpActive="routerLinkActive" *forRole="[Role.Eol, Role.Dkk, Role.Approver]"\n           [class]="lkpActive.isActive ? \'is-primary\' : \'is-light\'" class="button">\u041b\u041a\u041f</a>\n        <a [routerLink]="[\'../released\']" routerLinkActive #releasedActive="routerLinkActive"  *forRole="[Role.Eol, Role.Dkk, Role.ContractorCMP]"\n           [class]="releasedActive.isActive ? \'is-primary\' : \'is-light\'" class="button">\u041f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0441\u0442\u0432\u043e \u0440\u0430\u0431\u043e\u0442</a>\n      </span>\n\n      <app-status-dropdown (statusChange)="updateFilters({ status: $event })"></app-status-dropdown>\n\n      <app-responsible-dropdown\n        *ngIf="showResponsible"\n        (responsibleChange)="updateFilters({ responsibles: $event ? [$event] : undefined })"></app-responsible-dropdown>\n\n      <button *ngIf="showRemarks" (click)="updateFilters({ remarks: true }, true)"\n              [class]="value?.remarks ? \'is-primary\' : \'is-light\'" class="button">\u0415\u0441\u0442\u044c \u0437\u0430\u043c\u0435\u0447\u0430\u043d\u0438\u044f\n      </button>\n    </div>\n    <div class="actions" *ngIf="isStorage">\n      <app-status-legend-dropdown *ngIf="showColumns"></app-status-legend-dropdown>\n      <a (click)="import()" class="button is-white">\n        <core-icon name="app:12-import"></core-icon>&nbsp;\u0418\u043c\u043f\u043e\u0440\u0442\n      </a>\n      <app-columns-dropdown *ngIf="showColumns" [columns]="columns" (columnsChange)="columnsChange.emit($event)"></app-columns-dropdown>\n    </div>\n    <div class="actions" *ngIf="!isStorage">\n      <app-status-legend-dropdown *ngIf="showColumns"></app-status-legend-dropdown>\n      <a *forRole="Role.ProjectInstitute" (click)="import()" class="button is-white">\n        <core-icon name="app:12-import"></core-icon>&nbsp;\u0418\u043c\u043f\u043e\u0440\u0442\n      </a>\n      <app-columns-dropdown *ngIf="showColumns" [columns]="columns" (columnsChange)="columnsChange.emit($event)"></app-columns-dropdown>\n    </div>\n  ',styles:["\n      :host {\n        display: flex;\n        padding: 1rem;\n      }\n\n      .filters {\n        flex: 1;\n      }\n\n      .filters > * + *,\n      .actions > * + * {\n        margin-left: 1rem;\n      }\n\n      .buttons {\n        display: inline-block;\n        margin-bottom: 0;\n      }\n\n      .buttons .button {\n        margin-bottom: 0;\n      }\n    "]})],M);var E=n("Aayy");let T=class{constructor(e){this.service=e,this.kind=w.a.Doc}get has(){return!!this.item&&this.service.has(this.item.id)}toggle(){this.item&&(this.has?this.service.remove(this.item.id):this.service.add(this.item.id,this.kind))}};T.ctorParameters=()=>[{type:E.a}],T.propDecorators={item:[{type:s.G}],kind:[{type:s.G}]},T=Object(r.b)([Object(s.n)({selector:"app-favorite-button",template:"\n    <core-icon (click)=\"toggle()\" [name]=\"has ? 'app:16-favorite-filled' : 'app:16-favorite'\" [title]=\"has ? '\u0423\u0434\u0430\u043b\u0438\u0442\u044c \u0438\u0437 \u0438\u0437\u0431\u0440\u0430\u043d\u043d\u043e\u0433\u043e' : '\u0414\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0432 \u0438\u0437\u0431\u0440\u0430\u043d\u043d\u043e\u0435'\"></core-icon>\n  ",styles:["\n      :host {\n        display: inline-block;\n        cursor: pointer;\n        color: var(--schema-grey300);\n      }\n\n      core-icon {\n        vertical-align: middle;\n      }\n    "]})],T);let j=class{constructor(){this.title=""}};j.propDecorators={title:[{type:s.G}],icon:[{type:s.G}]},j=Object(r.b)([Object(s.n)({selector:"app-modal-grid-row",template:'\n    <div class="modal-grid-row">\n      <div class="modal-grid-title">\n        <core-icon [name]="icon || \'\'"></core-icon>\n        <span>{{ title }}</span>\n      </div>\n      <div class="modal-grid-content">\n        <ng-content></ng-content>\n      </div>\n    </div>\n  '})],j);let D=class{constructor(){this.type="empty",this.value=0,this.icon=""}};D.propDecorators={type:[{type:s.G}],value:[{type:s.G}],icon:[{type:s.G}]},D=Object(r.b)([Object(s.n)({selector:"app-progress-bar",template:'\n    <div class="progress-back is-small" [ngClass]="[type == \'empty\' ? \'is-grey\' : \'is-\' + type]" title="{{ value }}%">\n      <ng-container *ngIf="icon">\n        <core-icon name="{{ icon }}"></core-icon>\n      </ng-container>\n      <progress class="progress" value="{{ value }}" max="100"></progress>\n    </div>\n  '})],D);var A=n("mjQ1"),L=n("Cfvw"),z=n("wVPz");let P=class{constructor(e,t,n){this.entitiesService=t,this.current=n,this.responsibleChange=new s.x,this.items=n.project.pipe(Object(v.a)(e=>Object(L.a)(t.permissions(e.id).get())),Object(v.a)(t=>{const n=[];return Object.keys(t.principals||{}).forEach(e=>{Object.values(t.principals[e].entity).some(e=>e)&&n.push(+e)}),e.find([k.e.Eol,k.e.Approver],n).pipe(Object(b.a)(1))}))}change([e]){this.responsibleChange.emit(null==e?void 0:e.id)}};P.ctorParameters=()=>[{type:z.a},{type:A.a},{type:void 0,decorators:[{type:s.C,args:[S.a]}]}],P.propDecorators={responsibleChange:[{type:s.S}]},P=Object(r.b)([Object(s.n)({selector:"app-responsible-dropdown",template:'\n    <app-dropdown-list [items]="items" (valueChange)="change($event)" placeholder="\u041e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0439">\n      <ng-template let-item>\n        <app-user [username]="item.name">{{ item.role }}</app-user>\n      </ng-template>\n    </app-dropdown-list>\n  ',styles:["\n      :host {\n        display: inline-block;\n      }\n    "]})],P);var I=n("QnZs");const R={[I.a.VkNotPassed]:"\u0412\u041a \u043d\u0435 \u043f\u0440\u043e\u0439\u0434\u0435\u043d",[I.a.Closed]:"\u0417\u0430\u043a\u0440\u044b\u0442\u043e",[I.a.PiRevision]:"\u041d\u0430 \u0434\u043e\u0440\u0430\u0431\u043e\u0442\u043a\u0435 \u041f\u0418",[I.a.Expertise]:"\u041d\u0430 \u044d\u043a\u0441\u043f\u0435\u0440\u0442\u0438\u0437\u0435",[I.a.Rejected]:"\u041e\u0442\u043a\u043b\u043e\u043d\u0451\u043d",[I.a.SentByEol]:"\u041e\u0442\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u043e \u0415\u041e\u041b",[I.a.ReceivedFromEol]:"\u041f\u043e\u043b\u0443\u0447\u0435\u043d\u043e \u043e\u0442 \u0415\u041e\u041b",[I.a.ReceivedFromPi]:"\u041f\u043e\u043b\u0443\u0447\u0435\u043d\u043e \u043e\u0442 \u041f\u0418",[I.a.Viewed]:"\u041f\u0440\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u043d\u043e",[I.a.Approved]:"\u0421\u043e\u0433\u043b\u0430\u0441\u043e\u0432\u0430\u043d",[I.a.ReleasedForWork]:"\u0412\u044b\u0434\u0430\u043d \u0432 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0441\u0442\u0432\u043e \u0440\u0430\u0431\u043e\u0442",[I.a.WithdrawnFromWork]:"\u041e\u0442\u043e\u0437\u0432\u0430\u043d \u0438\u0437 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0441\u0442\u0432\u0430 \u0440\u0430\u0431\u043e\u0442"};let N=class{constructor(){this.status=I.a.Closed}get label(){var e;return R[null!==(e=this.status)&&void 0!==e?e:I.a.VkNotPassed]}};N.propDecorators={status:[{type:s.G}]},N=Object(r.b)([Object(s.n)({selector:"app-status-badge",template:'<app-badge [value]="label"></app-badge> ',styles:["\n      :host {\n        display: inline-block;\n      }\n    "]})],N);let H=class{constructor(){this.items=Object.entries(F).map(([e,t])=>({name:t,status:+e})).sort(Object(a.u)()),this.statusChange=new s.x}change(e){this.statusChange.emit(e.length?e.map(({status:e})=>e):void 0)}};H.propDecorators={statusChange:[{type:s.S}]},H=Object(r.b)([Object(s.n)({selector:"app-status-dropdown",template:' <app-dropdown-list [items]="items" (valueChange)="change($event)" placeholder="\u0421\u0442\u0430\u0442\u0443\u0441 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430" [multiple]="true"></app-dropdown-list> ',styles:["\n      :host {\n        display: inline-block;\n      }\n    "]})],H);const F={[I.a.ReceivedFromPi]:"\u041f\u043e\u043b\u0443\u0447\u0435\u043d\u043e \u043e\u0442 \u041f\u0418",[I.a.Expertise]:"\u041d\u0430 \u044d\u043a\u0441\u043f\u0435\u0440\u0442\u0438\u0437\u0435",[I.a.Rejected]:"\u041e\u0442\u043a\u043b\u043e\u043d\u0451\u043d",[I.a.Approved]:"\u0421\u043e\u0433\u043b\u0430\u0441\u043e\u0432\u0430\u043d",[I.a.PiRevision]:"\u041d\u0430 \u0434\u043e\u0440\u0430\u0431\u043e\u0442\u043a\u0435 \u041f\u0418",[I.a.VkNotPassed]:"\u0412\u041a \u043d\u0435 \u043f\u0440\u043e\u0439\u0434\u0435\u043d",[I.a.ReleasedForWork]:"\u0412\u044b\u0434\u0430\u043d \u0432 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0441\u0442\u0432\u043e \u0440\u0430\u0431\u043e\u0442",[I.a.WithdrawnFromWork]:"\u041e\u0442\u043e\u0437\u0432\u0430\u043d \u0438\u0437 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0441\u0442\u0432\u0430 \u0440\u0430\u0431\u043e\u0442"};var V=n("8snH"),B=n("Hdf2");let Y=class{constructor(e,t){this.service=e,this.selectVersion=new s.x,this.changeVersion=new s.x,this.contextmenu=!1,this.contextmenuX=0,this.contextmenuY=0,this.currentRole=t}activated(e){this.contextmenu=!1,this.version&&this.item&&e&&(this.service.save({id:this.item.parentId,changeNumber:this.version.changeNumber,revision:this.version.revision},{id:this.item.parentId,changeNumber:this.item.changeNumber,revision:this.item.revision}),this.changeVersion.emit())}onRightClick(e,t){this.version=t,this.currentRole===k.e.Eol&&this.items&&this.items.length>1&&(e.preventDefault(),this.contextmenuX=e.clientX,this.contextmenuY=e.clientY,this.contextmenu=!0)}};Y.ctorParameters=()=>[{type:B.a},{type:k.e,decorators:[{type:s.C,args:[k.b]}]}],Y.propDecorators={item:[{type:s.G}],items:[{type:s.G}],selected:[{type:s.G}],selectVersion:[{type:s.S}],changeVersion:[{type:s.S}]},Y=Object(r.b)([Object(s.n)({selector:"app-versions-dropdown",template:'\n    <core-icon name="app:24-archive" coreDropdownHost (click)="dropdown.open()">\n      <core-dropdown align="center" #dropdown>\n        <ul *ngIf="dropdown.opened" class="dropdown-list">\n          <li *ngFor="let version of items"\n              (contextmenu)="onRightClick($event, version)"\n              (click)="selectVersion.emit(version); dropdown.close()" class="version">\n            <div>\n              <span>{{ version.changeNumber }}.{{version.revision}}</span>\n              <span class="divider">-</span>\n              <span>{{ version.creationDate | date: \'shortDate\' }}</span>\n            </div>\n            <core-icon name="app:16-check" class="check" *ngIf="version.changeNumber === selected?.changeNumber &&\n            version.revision === selected?.revision"></core-icon>\n          </li>\n          <ng-container *ngIf="contextmenu">\n            <app-contextmenu-right (close)="activated($event)" [x]="contextmenuX" [y]="contextmenuY">\n              <li (click)="activated(true)">\u0421\u0434\u0435\u043b\u0430\u0442\u044c \u0430\u043a\u0442\u0443\u0430\u043b\u044c\u043d\u043e\u0439</li>\n            </app-contextmenu-right>\n          </ng-container>\n        </ul>\n      </core-dropdown>\n    </core-icon>\n  ',styles:["\n      :host {\n        color: var(--schema-black);\n      }\n      .dropdown-list {\n        min-width: 8rem;\n      }\n      .version {\n        cursor: pointer;\n        display: flex;\n        justify-content: flex-start;\n      }\n      .divider {\n        padding: 0 0.5rem;\n      }\n      .check {\n        color: var(--schema-accent);\n      }\n    "]})],Y);let U=class{constructor(e){this.responsibleChange=new s.x,this.items=e.find([k.e.Eol]).pipe(Object(b.a)(1))}change([e]){this.responsibleChange.emit(e)}};U.ctorParameters=()=>[{type:z.a}],U.propDecorators={responsibleChange:[{type:s.S}]},U=Object(r.b)([Object(s.n)({selector:"app-eol-dropdown",template:'\n    <app-dropdown-list [items]="items" (valueChange)="change($event)" placeholder="\u041e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0439">\n      <ng-template let-item>\n        <app-user [username]="item.name"></app-user>\n      </ng-template>\n    </app-dropdown-list>\n  ',styles:["\n      :host {\n        display: inline-block;\n      }\n    "]})],U);var W=n("3Pt+");let q=class{constructor(){this.x=0,this.y=0,this.close=new s.x}};q.propDecorators={x:[{type:s.G}],y:[{type:s.G}],close:[{type:s.S}]},q=Object(r.b)([Object(s.n)({selector:"app-contextmenu-right",template:'\n    <div (click)="close.emit(false)"  class="backdrop">\n      <div class="contextmenu" [ngStyle]="{\'left.px\': x, \'top.px\': y}">\n        <ng-content></ng-content>\n      </div>\n    </div>\n  ',styles:["\n    .contextmenu{\n      position: absolute;\n      margin: 4px;\n      background: white;\n      border-radius: 4px;\n      box-shadow: var(--schema-shadow-raised) !important;\n      color: var(--schema-grey400);\n      cursor: pointer;\n    }\n    .backdrop {\n      position: fixed;\n      top: 0;\n      bottom: 0;\n      right: 0;\n      left: 0;\n    }\n  "]})],q);let $=class{};$=Object(r.b)([Object(s.L)({declarations:[p,l,h,O,M,T,P,U,N,H,V.a,D,Y,j,q],exports:[p,l,h,O,M,T,U,P,N,H,V.a,D,Y,j,q],imports:[i.c,o.g,a.g,c.a,W.j,d.a]})],$)},KSF8:function(e,t,n){!function(e){"use strict";e.defineLocale("vi",{months:"th\xe1ng 1_th\xe1ng 2_th\xe1ng 3_th\xe1ng 4_th\xe1ng 5_th\xe1ng 6_th\xe1ng 7_th\xe1ng 8_th\xe1ng 9_th\xe1ng 10_th\xe1ng 11_th\xe1ng 12".split("_"),monthsShort:"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(e){return/^ch$/i.test(e)},meridiem:function(e,t,n){return e<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(e){return e},week:{dow:1,doy:4}})}(n("wd/R"))},KTz0:function(e,t,n){!function(e){"use strict";var t={words:{ss:["sekund","sekunda","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mjesec","mjeseca","mjeseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(e,t){return 1===e?t[0]:e>=2&&e<=4?t[1]:t[2]},translate:function(e,n,r){var i=t.words[r];return 1===r.length?n?i[0]:i[1]:e+" "+t.correctGrammaticalCase(e,i)}};e.defineLocale("me",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sjutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010de u] LT",lastWeek:function(){return["[pro\u0161le] [nedjelje] [u] LT","[pro\u0161log] [ponedjeljka] [u] LT","[pro\u0161log] [utorka] [u] LT","[pro\u0161le] [srijede] [u] LT","[pro\u0161log] [\u010detvrtka] [u] LT","[pro\u0161log] [petka] [u] LT","[pro\u0161le] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"nekoliko sekundi",ss:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:"dan",dd:t.translate,M:"mjesec",MM:t.translate,y:"godinu",yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n("wd/R"))},KVvn:function(e,t,n){"use strict";var r;n.d(t,"a",function(){return r}),function(e){e[e.Approved=10007132]="Approved",e[e.Expired=10007172]="Expired",e[e.InProgress=10007122]="InProgress",e[e.Rejected=10007127]="Rejected",e[e.Expertise=34504702]="Expertise",e[e.ReleasedForWork=39146110]="ReleasedForWork",e[e.WithdrawnFromWork=39146115]="WithdrawnFromWork"}(r||(r={}))},Kj3r:function(e,t,n){"use strict";n.d(t,"a",function(){return s});var r=n("7o/Q"),i=n("D0XW");function s(e,t=i.a){return n=>n.lift(new o(e,t))}class o{constructor(e,t){this.dueTime=e,this.scheduler=t}call(e,t){return t.subscribe(new a(e,this.dueTime,this.scheduler))}}class a extends r.a{constructor(e,t,n){super(e),this.dueTime=t,this.scheduler=n,this.debouncedSubscription=null,this.lastValue=null,this.hasValue=!1}_next(e){this.clearDebounce(),this.lastValue=e,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(c,this.dueTime,this))}_complete(){this.debouncedNext(),this.destination.complete()}debouncedNext(){if(this.clearDebounce(),this.hasValue){const{lastValue:e}=this;this.lastValue=null,this.hasValue=!1,this.destination.next(e)}}clearDebounce(){const e=this.debouncedSubscription;null!==e&&(this.remove(e),e.unsubscribe(),this.debouncedSubscription=null)}}function c(e){e.debouncedNext()}},Kqap:function(e,t,n){"use strict";n.d(t,"a",function(){return i});var r=n("7o/Q");function i(e,t){let n=!1;return arguments.length>=2&&(n=!0),function(r){return r.lift(new s(e,t,n))}}class s{constructor(e,t,n=!1){this.accumulator=e,this.seed=t,this.hasSeed=n}call(e,t){return t.subscribe(new o(e,this.accumulator,this.seed,this.hasSeed))}}class o extends r.a{constructor(e,t,n,r){super(e),this.accumulator=t,this._seed=n,this.hasSeed=r,this.index=0}get seed(){return this._seed}set seed(e){this.hasSeed=!0,this._seed=e}_next(e){if(this.hasSeed)return this._tryNext(e);this.seed=e,this.destination.next(e)}_tryNext(e){const t=this.index++;let n;try{n=this.accumulator(this.seed,e,t)}catch(r){this.destination.error(r)}this.seed=n,this.destination.next(n)}}},LRne:function(e,t,n){"use strict";n.d(t,"a",function(){return o});var r=n("z+Ro"),i=n("yCtX"),s=n("jZKg");function o(...e){let t=e[e.length-1];return Object(r.a)(t)?(e.pop(),Object(s.a)(e,t)):Object(i.a)(e)}},LgUO:function(module,__webpack_exports__,__webpack_require__){"use strict";(function(module){__webpack_require__.d(__webpack_exports__,"a",function(){return AuthConfig}),__webpack_require__.d(__webpack_exports__,"b",function(){return OAuthLogger}),__webpack_require__.d(__webpack_exports__,"c",function(){return OAuthModule}),__webpack_require__.d(__webpack_exports__,"d",function(){return OAuthModuleConfig}),__webpack_require__.d(__webpack_exports__,"e",function(){return OAuthService});var _angular_core__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("fXoL"),_angular_common__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("ofXK"),_angular_common_http__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("tk/3"),tslib__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("mrSG"),rxjs__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("XNiG"),rxjs__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__("LRne"),rxjs__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__("Cfvw"),rxjs__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__("Nv8m"),rxjs__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__("z6cu"),rxjs__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__("itXk"),rxjs__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__("VRyK"),rxjs_operators__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__("pLZG"),rxjs_operators__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__("vkgz"),rxjs_operators__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__("Kj3r"),rxjs_operators__WEBPACK_IMPORTED_MODULE_14__=__webpack_require__("3E0/"),rxjs_operators__WEBPACK_IMPORTED_MODULE_15__=__webpack_require__("eIep"),rxjs_operators__WEBPACK_IMPORTED_MODULE_16__=__webpack_require__("lJxs"),rxjs_operators__WEBPACK_IMPORTED_MODULE_17__=__webpack_require__("SxV6"),rxjs_operators__WEBPACK_IMPORTED_MODULE_18__=__webpack_require__("JIr8"),rxjs_operators__WEBPACK_IMPORTED_MODULE_19__=__webpack_require__("tS1D"),rxjs_operators__WEBPACK_IMPORTED_MODULE_20__=__webpack_require__("IzEk"),rxjs_operators__WEBPACK_IMPORTED_MODULE_21__=__webpack_require__("5+tZ");class LoginOptions{constructor(){this.preventClearHashAfterLogin=!1}}class OAuthLogger{}class OAuthStorage{}class MemoryStorage{constructor(){this.data=new Map}getItem(e){return this.data.get(e)}removeItem(e){this.data.delete(e)}setItem(e,t){this.data.set(e,t)}}MemoryStorage.\u0275fac=function(e){return new(e||MemoryStorage)},MemoryStorage.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_0__.Jc({token:MemoryStorage,factory:MemoryStorage.\u0275fac});class ReceivedTokens{}function b64DecodeUnicode(e){const t=e.replace(/\-/g,"+").replace(/\_/g,"/");return decodeURIComponent(atob(t).split("").map(function(e){return"%"+("00"+e.charCodeAt(0).toString(16)).slice(-2)}).join(""))}function base64UrlEncode(e){return btoa(e).replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}class ValidationHandler{}class AbstractValidationHandler{validateAtHash(e){return Object(tslib__WEBPACK_IMPORTED_MODULE_3__.a)(this,void 0,void 0,function*(){let t=this.inferHashAlgorithm(e.idTokenHeader),n=yield this.calcHash(e.accessToken,t),r=base64UrlEncode(n.substr(0,n.length/2)),i=e.idTokenClaims.at_hash.replace(/=/g,"");return r!==i&&(console.error("exptected at_hash: "+r),console.error("actual at_hash: "+i)),r===i})}inferHashAlgorithm(e){let t=e.alg;if(!t.match(/^.S[0-9]{3}$/))throw new Error("Algorithm not supported: "+t);return"sha-"+t.substr(2)}}class UrlHelperService{getHashFragmentParams(e){let t=e||window.location.hash;if(t=decodeURIComponent(t),0!==t.indexOf("#"))return{};const n=t.indexOf("?");return t=n>-1?t.substr(n+1):t.substr(1),this.parseQueryString(t)}parseQueryString(e){const t={};let n,r,i,s,o,a,c;if(null===e)return t;n=e.split("&");for(let l=0;l<n.length;l++)r=n[l],i=r.indexOf("="),-1===i?(s=r,o=null):(s=r.substr(0,i),o=r.substr(i+1)),a=decodeURIComponent(s),c=decodeURIComponent(o),"/"===a.substr(0,1)&&(a=a.substr(1)),t[a]=c;return t}}UrlHelperService.\u0275fac=function(e){return new(e||UrlHelperService)},UrlHelperService.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_0__.Jc({token:UrlHelperService,factory:UrlHelperService.\u0275fac});class OAuthEvent{constructor(e){this.type=e}}class OAuthSuccessEvent extends OAuthEvent{constructor(e,t=null){super(e),this.info=t}}class OAuthInfoEvent extends OAuthEvent{constructor(e,t=null){super(e),this.info=t}}class OAuthErrorEvent extends OAuthEvent{constructor(e,t,n=null){super(e),this.reason=t,this.params=n}}class AuthConfig{constructor(e){this.clientId="",this.redirectUri="",this.postLogoutRedirectUri="",this.loginUrl="",this.scope="openid profile",this.resource="",this.rngUrl="",this.oidc=!0,this.requestAccessToken=!0,this.options=null,this.issuer="",this.logoutUrl="",this.clearHashAfterLogin=!0,this.tokenEndpoint=null,this.revocationEndpoint=null,this.customTokenParameters=[],this.userinfoEndpoint=null,this.responseType="",this.showDebugInformation=!1,this.silentRefreshRedirectUri="",this.silentRefreshMessagePrefix="",this.silentRefreshShowIFrame=!1,this.siletRefreshTimeout=2e4,this.silentRefreshTimeout=2e4,this.dummyClientSecret=null,this.requireHttps="remoteOnly",this.strictDiscoveryDocumentValidation=!0,this.jwks=null,this.customQueryParams=null,this.silentRefreshIFrameName="angular-oauth-oidc-silent-refresh-iframe",this.timeoutFactor=.75,this.sessionChecksEnabled=!1,this.sessionCheckIntervall=3e3,this.sessionCheckIFrameUrl=null,this.sessionCheckIFrameName="angular-oauth-oidc-check-session-iframe",this.disableAtHashCheck=!1,this.skipSubjectCheck=!1,this.useIdTokenHintForSilentRefresh=!1,this.skipIssuerCheck=!1,this.nonceStateSeparator=";",this.useHttpBasicAuth=!1,this.waitForTokenInMsec=0,this.disablePKCE=!1,this.openUri=e=>{location.href=e},e&&Object.assign(this,e)}}class WebHttpUrlEncodingCodec{encodeKey(e){return encodeURIComponent(e)}encodeValue(e){return encodeURIComponent(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}}var ERROR="input is invalid type",WINDOW="object"==typeof window,root=WINDOW?window:{};root.JS_SHA256_NO_WINDOW&&(WINDOW=!1);var WEB_WORKER=!WINDOW&&"object"==typeof self,NODE_JS=!root.JS_SHA256_NO_NODE_JS&&"object"==typeof process&&process.versions&&process.versions.node;NODE_JS?root=global:WEB_WORKER&&(root=self);var COMMON_JS=!root.JS_SHA256_NO_COMMON_JS&&"object"==typeof module&&module.exports,AMD="function"==typeof define&&__webpack_require__("PDX0"),ARRAY_BUFFER=!root.JS_SHA256_NO_ARRAY_BUFFER&&"undefined"!=typeof ArrayBuffer,HEX_CHARS="0123456789abcdef".split(""),EXTRA=[-2147483648,8388608,32768,128],SHIFT=[24,16,8,0],K=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],OUTPUT_TYPES=["hex","array","digest","arrayBuffer"],blocks=[];!root.JS_SHA256_NO_NODE_JS&&Array.isArray||(Array.isArray=function(e){return"[object Array]"===Object.prototype.toString.call(e)}),!ARRAY_BUFFER||!root.JS_SHA256_NO_ARRAY_BUFFER_IS_VIEW&&ArrayBuffer.isView||(ArrayBuffer.isView=function(e){return"object"==typeof e&&e.buffer&&e.buffer.constructor===ArrayBuffer});var createOutputMethod=function(e,t){return function(n){return new Sha256(t,!0).update(n)[e]()}};const \u02750=createOutputMethod;var createMethod=function(e){var t=createOutputMethod("hex",e);NODE_JS&&(t=nodeWrap(t,e)),t.create=function(){return new Sha256(e)},t.update=function(e){return t.create().update(e)};for(var n=0;n<OUTPUT_TYPES.length;++n){var r=OUTPUT_TYPES[n];t[r]=createOutputMethod(r,e)}return t};const \u02751=createMethod;var nodeWrap=function(method,is224){var crypto=eval("require('crypto')"),Buffer=eval("require('buffer').Buffer"),algorithm=is224?"sha224":"sha256",nodeMethod=function(e){if("string"==typeof e)return crypto.createHash(algorithm).update(e,"utf8").digest("hex");if(null==e)throw new Error(ERROR);return e.constructor===ArrayBuffer&&(e=new Uint8Array(e)),Array.isArray(e)||ArrayBuffer.isView(e)||e.constructor===Buffer?crypto.createHash(algorithm).update(new Buffer(e)).digest("hex"):method(e)};return nodeMethod};const \u02752=nodeWrap;var createHmacOutputMethod=function(e,t){return function(n,r){return new HmacSha256(n,t,!0).update(r)[e]()}};const \u02753=createHmacOutputMethod;var createHmacMethod=function(e){var t=createHmacOutputMethod("hex",e);t.create=function(t){return new HmacSha256(t,e)},t.update=function(e,n){return t.create(e).update(n)};for(var n=0;n<OUTPUT_TYPES.length;++n){var r=OUTPUT_TYPES[n];t[r]=createHmacOutputMethod(r,e)}return t};const \u02754=createHmacMethod;function Sha256(e,t){t?(blocks[0]=blocks[16]=blocks[1]=blocks[2]=blocks[3]=blocks[4]=blocks[5]=blocks[6]=blocks[7]=blocks[8]=blocks[9]=blocks[10]=blocks[11]=blocks[12]=blocks[13]=blocks[14]=blocks[15]=0,this.blocks=blocks):this.blocks=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],e?(this.h0=3238371032,this.h1=914150663,this.h2=812702999,this.h3=4144912697,this.h4=4290775857,this.h5=1750603025,this.h6=1694076839,this.h7=3204075428):(this.h0=1779033703,this.h1=3144134277,this.h2=1013904242,this.h3=2773480762,this.h4=1359893119,this.h5=2600822924,this.h6=528734635,this.h7=1541459225),this.block=this.start=this.bytes=this.hBytes=0,this.finalized=this.hashed=!1,this.first=!0,this.is224=e}function HmacSha256(e,t,n){var r,i=typeof e;if("string"===i){var s,o=[],a=e.length,c=0;for(r=0;r<a;++r)(s=e.charCodeAt(r))<128?o[c++]=s:s<2048?(o[c++]=192|s>>6,o[c++]=128|63&s):s<55296||s>=57344?(o[c++]=224|s>>12,o[c++]=128|s>>6&63,o[c++]=128|63&s):(s=65536+((1023&s)<<10|1023&e.charCodeAt(++r)),o[c++]=240|s>>18,o[c++]=128|s>>12&63,o[c++]=128|s>>6&63,o[c++]=128|63&s);e=o}else{if("object"!==i)throw new Error(ERROR);if(null===e)throw new Error(ERROR);if(ARRAY_BUFFER&&e.constructor===ArrayBuffer)e=new Uint8Array(e);else if(!(Array.isArray(e)||ARRAY_BUFFER&&ArrayBuffer.isView(e)))throw new Error(ERROR)}e.length>64&&(e=new Sha256(t,!0).update(e).array());var l=[],u=[];for(r=0;r<64;++r){var h=e[r]||0;l[r]=92^h,u[r]=54^h}Sha256.call(this,t,n),this.update(u),this.oKeyPad=l,this.inner=!0,this.sharedMemory=n}Sha256.prototype.update=function(e){if(!this.finalized){var t,n=typeof e;if("string"!==n){if("object"!==n)throw new Error(ERROR);if(null===e)throw new Error(ERROR);if(ARRAY_BUFFER&&e.constructor===ArrayBuffer)e=new Uint8Array(e);else if(!(Array.isArray(e)||ARRAY_BUFFER&&ArrayBuffer.isView(e)))throw new Error(ERROR);t=!0}for(var r,i,s=0,o=e.length,a=this.blocks;s<o;){if(this.hashed&&(this.hashed=!1,a[0]=this.block,a[16]=a[1]=a[2]=a[3]=a[4]=a[5]=a[6]=a[7]=a[8]=a[9]=a[10]=a[11]=a[12]=a[13]=a[14]=a[15]=0),t)for(i=this.start;s<o&&i<64;++s)a[i>>2]|=e[s]<<SHIFT[3&i++];else for(i=this.start;s<o&&i<64;++s)(r=e.charCodeAt(s))<128?a[i>>2]|=r<<SHIFT[3&i++]:r<2048?(a[i>>2]|=(192|r>>6)<<SHIFT[3&i++],a[i>>2]|=(128|63&r)<<SHIFT[3&i++]):r<55296||r>=57344?(a[i>>2]|=(224|r>>12)<<SHIFT[3&i++],a[i>>2]|=(128|r>>6&63)<<SHIFT[3&i++],a[i>>2]|=(128|63&r)<<SHIFT[3&i++]):(r=65536+((1023&r)<<10|1023&e.charCodeAt(++s)),a[i>>2]|=(240|r>>18)<<SHIFT[3&i++],a[i>>2]|=(128|r>>12&63)<<SHIFT[3&i++],a[i>>2]|=(128|r>>6&63)<<SHIFT[3&i++],a[i>>2]|=(128|63&r)<<SHIFT[3&i++]);this.lastByteIndex=i,this.bytes+=i-this.start,i>=64?(this.block=a[16],this.start=i-64,this.hash(),this.hashed=!0):this.start=i}return this.bytes>4294967295&&(this.hBytes+=this.bytes/4294967296<<0,this.bytes=this.bytes%4294967296),this}},Sha256.prototype.finalize=function(){if(!this.finalized){this.finalized=!0;var e=this.blocks,t=this.lastByteIndex;e[16]=this.block,e[t>>2]|=EXTRA[3&t],this.block=e[16],t>=56&&(this.hashed||this.hash(),e[0]=this.block,e[16]=e[1]=e[2]=e[3]=e[4]=e[5]=e[6]=e[7]=e[8]=e[9]=e[10]=e[11]=e[12]=e[13]=e[14]=e[15]=0),e[14]=this.hBytes<<3|this.bytes>>>29,e[15]=this.bytes<<3,this.hash()}},Sha256.prototype.hash=function(){var e,t,n,r,i,s,o,a,c,l=this.h0,u=this.h1,h=this.h2,d=this.h3,f=this.h4,p=this.h5,m=this.h6,g=this.h7,v=this.blocks;for(e=16;e<64;++e)t=((i=v[e-15])>>>7|i<<25)^(i>>>18|i<<14)^i>>>3,n=((i=v[e-2])>>>17|i<<15)^(i>>>19|i<<13)^i>>>10,v[e]=v[e-16]+t+v[e-7]+n<<0;for(c=u&h,e=0;e<64;e+=4)this.first?(this.is224?(s=300032,g=(i=v[0]-1413257819)-150054599<<0,d=i+24177077<<0):(s=704751109,g=(i=v[0]-210244248)-1521486534<<0,d=i+143694565<<0),this.first=!1):(t=(l>>>2|l<<30)^(l>>>13|l<<19)^(l>>>22|l<<10),r=(s=l&u)^l&h^c,g=d+(i=g+(n=(f>>>6|f<<26)^(f>>>11|f<<21)^(f>>>25|f<<7))+(f&p^~f&m)+K[e]+v[e])<<0,d=i+(t+r)<<0),t=(d>>>2|d<<30)^(d>>>13|d<<19)^(d>>>22|d<<10),r=(o=d&l)^d&u^s,m=h+(i=m+(n=(g>>>6|g<<26)^(g>>>11|g<<21)^(g>>>25|g<<7))+(g&f^~g&p)+K[e+1]+v[e+1])<<0,t=((h=i+(t+r)<<0)>>>2|h<<30)^(h>>>13|h<<19)^(h>>>22|h<<10),r=(a=h&d)^h&l^o,p=u+(i=p+(n=(m>>>6|m<<26)^(m>>>11|m<<21)^(m>>>25|m<<7))+(m&g^~m&f)+K[e+2]+v[e+2])<<0,t=((u=i+(t+r)<<0)>>>2|u<<30)^(u>>>13|u<<19)^(u>>>22|u<<10),r=(c=u&h)^u&d^a,f=l+(i=f+(n=(p>>>6|p<<26)^(p>>>11|p<<21)^(p>>>25|p<<7))+(p&m^~p&g)+K[e+3]+v[e+3])<<0,l=i+(t+r)<<0;this.h0=this.h0+l<<0,this.h1=this.h1+u<<0,this.h2=this.h2+h<<0,this.h3=this.h3+d<<0,this.h4=this.h4+f<<0,this.h5=this.h5+p<<0,this.h6=this.h6+m<<0,this.h7=this.h7+g<<0},Sha256.prototype.hex=function(){this.finalize();var e=this.h0,t=this.h1,n=this.h2,r=this.h3,i=this.h4,s=this.h5,o=this.h6,a=this.h7,c=HEX_CHARS[e>>28&15]+HEX_CHARS[e>>24&15]+HEX_CHARS[e>>20&15]+HEX_CHARS[e>>16&15]+HEX_CHARS[e>>12&15]+HEX_CHARS[e>>8&15]+HEX_CHARS[e>>4&15]+HEX_CHARS[15&e]+HEX_CHARS[t>>28&15]+HEX_CHARS[t>>24&15]+HEX_CHARS[t>>20&15]+HEX_CHARS[t>>16&15]+HEX_CHARS[t>>12&15]+HEX_CHARS[t>>8&15]+HEX_CHARS[t>>4&15]+HEX_CHARS[15&t]+HEX_CHARS[n>>28&15]+HEX_CHARS[n>>24&15]+HEX_CHARS[n>>20&15]+HEX_CHARS[n>>16&15]+HEX_CHARS[n>>12&15]+HEX_CHARS[n>>8&15]+HEX_CHARS[n>>4&15]+HEX_CHARS[15&n]+HEX_CHARS[r>>28&15]+HEX_CHARS[r>>24&15]+HEX_CHARS[r>>20&15]+HEX_CHARS[r>>16&15]+HEX_CHARS[r>>12&15]+HEX_CHARS[r>>8&15]+HEX_CHARS[r>>4&15]+HEX_CHARS[15&r]+HEX_CHARS[i>>28&15]+HEX_CHARS[i>>24&15]+HEX_CHARS[i>>20&15]+HEX_CHARS[i>>16&15]+HEX_CHARS[i>>12&15]+HEX_CHARS[i>>8&15]+HEX_CHARS[i>>4&15]+HEX_CHARS[15&i]+HEX_CHARS[s>>28&15]+HEX_CHARS[s>>24&15]+HEX_CHARS[s>>20&15]+HEX_CHARS[s>>16&15]+HEX_CHARS[s>>12&15]+HEX_CHARS[s>>8&15]+HEX_CHARS[s>>4&15]+HEX_CHARS[15&s]+HEX_CHARS[o>>28&15]+HEX_CHARS[o>>24&15]+HEX_CHARS[o>>20&15]+HEX_CHARS[o>>16&15]+HEX_CHARS[o>>12&15]+HEX_CHARS[o>>8&15]+HEX_CHARS[o>>4&15]+HEX_CHARS[15&o];return this.is224||(c+=HEX_CHARS[a>>28&15]+HEX_CHARS[a>>24&15]+HEX_CHARS[a>>20&15]+HEX_CHARS[a>>16&15]+HEX_CHARS[a>>12&15]+HEX_CHARS[a>>8&15]+HEX_CHARS[a>>4&15]+HEX_CHARS[15&a]),c},Sha256.prototype.toString=Sha256.prototype.hex,Sha256.prototype.digest=function(){this.finalize();var e=this.h0,t=this.h1,n=this.h2,r=this.h3,i=this.h4,s=this.h5,o=this.h6,a=this.h7,c=[e>>24&255,e>>16&255,e>>8&255,255&e,t>>24&255,t>>16&255,t>>8&255,255&t,n>>24&255,n>>16&255,n>>8&255,255&n,r>>24&255,r>>16&255,r>>8&255,255&r,i>>24&255,i>>16&255,i>>8&255,255&i,s>>24&255,s>>16&255,s>>8&255,255&s,o>>24&255,o>>16&255,o>>8&255,255&o];return this.is224||c.push(a>>24&255,a>>16&255,a>>8&255,255&a),c},Sha256.prototype.array=Sha256.prototype.digest,Sha256.prototype.arrayBuffer=function(){this.finalize();var e=new ArrayBuffer(this.is224?28:32),t=new DataView(e);return t.setUint32(0,this.h0),t.setUint32(4,this.h1),t.setUint32(8,this.h2),t.setUint32(12,this.h3),t.setUint32(16,this.h4),t.setUint32(20,this.h5),t.setUint32(24,this.h6),this.is224||t.setUint32(28,this.h7),e},HmacSha256.prototype=new Sha256,HmacSha256.prototype.finalize=function(){if(Sha256.prototype.finalize.call(this),this.inner){this.inner=!1;var e=this.array();Sha256.call(this,this.is224,this.sharedMemory),this.update(this.oKeyPad),this.update(e),Sha256.prototype.finalize.call(this)}};var exports=createMethod();exports.sha256=exports,exports.sha224=createMethod(!0),exports.sha256.hmac=createHmacMethod(),exports.sha224.hmac=createHmacMethod(!0);class HashHandler{}class DefaultHashHandler{calcHash(e,t){return Object(tslib__WEBPACK_IMPORTED_MODULE_3__.a)(this,void 0,void 0,function*(){const t=exports.array(e);return this.toHashString2(t)})}toHashString2(e){let t="";for(let n of e)t+=String.fromCharCode(n);return t}toHashString(e){const t=new Uint8Array(e);let n="";for(let r of t)n+=String.fromCharCode(r);return n}}DefaultHashHandler.\u0275fac=function(e){return new(e||DefaultHashHandler)},DefaultHashHandler.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_0__.Jc({token:DefaultHashHandler,factory:DefaultHashHandler.\u0275fac});class OAuthService extends AuthConfig{constructor(e,t,n,r,i,s,o,a,c){var l;super(),this.ngZone=e,this.http=t,this.config=i,this.urlHelper=s,this.logger=o,this.crypto=a,this.discoveryDocumentLoaded=!1,this.state="",this.eventsSubject=new rxjs__WEBPACK_IMPORTED_MODULE_4__.a,this.discoveryDocumentLoadedSubject=new rxjs__WEBPACK_IMPORTED_MODULE_4__.a,this.grantTypesSupported=[],this.inImplicitFlow=!1,this.saveNoncesInLocalStorage=!1,this.debug("angular-oauth2-oidc v10"),this.document=c,i||(i={}),this.discoveryDocumentLoaded$=this.discoveryDocumentLoadedSubject.asObservable(),this.events=this.eventsSubject.asObservable(),r&&(this.tokenValidationHandler=r),i&&this.configure(i);try{n?this.setStorage(n):"undefined"!=typeof sessionStorage&&this.setStorage(sessionStorage)}catch(u){console.error("No OAuthStorage provided and cannot access default (sessionStorage).Consider providing a custom OAuthStorage implementation in your module.",u)}if("undefined"!=typeof window&&void 0!==window.localStorage){const e=null===(l=null===window||void 0===window?void 0:window.navigator)||void 0===l?void 0:l.userAgent;((null==e?void 0:e.includes("MSIE "))||(null==e?void 0:e.includes("Trident")))&&(this.saveNoncesInLocalStorage=!0)}this.setupRefreshTimer()}configure(e){Object.assign(this,new AuthConfig,e),this.config=Object.assign({},new AuthConfig,e),this.sessionChecksEnabled&&this.setupSessionCheck(),this.configChanged()}configChanged(){this.setupRefreshTimer()}restartSessionChecksIfStillLoggedIn(){this.hasValidIdToken()&&this.initSessionCheck()}restartRefreshTimerIfStillLoggedIn(){this.setupExpirationTimers()}setupSessionCheck(){this.events.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_11__.a)(e=>"token_received"===e.type)).subscribe(e=>{this.initSessionCheck()})}setupAutomaticSilentRefresh(e={},t,n=!0){let r=!0;this.events.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.a)(e=>{"token_received"===e.type?r=!0:"logout"===e.type&&(r=!1)}),Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_11__.a)(e=>"token_expires"===e.type),Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_13__.a)(1e3)).subscribe(i=>{null!=t&&"any"!==t&&i.info!==t||!r||this.refreshInternal(e,n).catch(e=>{this.debug("Automatic silent refresh did not work")})}),this.restartRefreshTimerIfStillLoggedIn()}refreshInternal(e,t){return this.useSilentRefresh||"code"!==this.responseType?this.silentRefresh(e,t):this.refreshToken()}loadDiscoveryDocumentAndTryLogin(e=null){return this.loadDiscoveryDocument().then(t=>this.tryLogin(e))}loadDiscoveryDocumentAndLogin(e=null){return e=e||{},this.loadDiscoveryDocumentAndTryLogin(e).then(t=>{if(this.hasValidIdToken()&&this.hasValidAccessToken())return!0;{const t="string"==typeof e.state?e.state:"";return this.initLoginFlow(t),!1}})}debug(...e){this.showDebugInformation&&this.logger.debug.apply(this.logger,e)}validateUrlFromDiscoveryDocument(e){const t=[],n=this.validateUrlForHttps(e),r=this.validateUrlAgainstIssuer(e);return n||t.push("https for all urls required. Also for urls received by discovery."),r||t.push("Every url in discovery document has to start with the issuer url.Also see property strictDiscoveryDocumentValidation."),t}validateUrlForHttps(e){if(!e)return!0;const t=e.toLowerCase();return!1===this.requireHttps||(!(!t.match(/^http:\/\/localhost($|[:\/])/)&&!t.match(/^http:\/\/localhost($|[:\/])/)||"remoteOnly"!==this.requireHttps)||t.startsWith("https://"))}assertUrlNotNullAndCorrectProtocol(e,t){if(!e)throw new Error(`'${t}' should not be null`);if(!this.validateUrlForHttps(e))throw new Error(`'${t}' must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).`)}validateUrlAgainstIssuer(e){return!this.strictDiscoveryDocumentValidation||(!e||e.toLowerCase().startsWith(this.issuer.toLowerCase()))}setupRefreshTimer(){"undefined"!=typeof window?((this.hasValidIdToken()||this.hasValidAccessToken())&&(this.clearAccessTokenTimer(),this.clearIdTokenTimer(),this.setupExpirationTimers()),this.tokenReceivedSubscription&&this.tokenReceivedSubscription.unsubscribe(),this.tokenReceivedSubscription=this.events.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_11__.a)(e=>"token_received"===e.type)).subscribe(e=>{this.clearAccessTokenTimer(),this.clearIdTokenTimer(),this.setupExpirationTimers()})):this.debug("timer not supported on this plattform")}setupExpirationTimers(){this.hasValidAccessToken()&&this.setupAccessTokenTimer(),this.hasValidIdToken()&&this.setupIdTokenTimer()}setupAccessTokenTimer(){const e=this.getAccessTokenExpiration(),t=this.getAccessTokenStoredAt(),n=this.calcTimeout(t,e);this.ngZone.runOutsideAngular(()=>{this.accessTokenTimeoutSubscription=Object(rxjs__WEBPACK_IMPORTED_MODULE_5__.a)(new OAuthInfoEvent("token_expires","access_token")).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_14__.a)(n)).subscribe(e=>{this.ngZone.run(()=>{this.eventsSubject.next(e)})})})}setupIdTokenTimer(){const e=this.getIdTokenExpiration(),t=this.getIdTokenStoredAt(),n=this.calcTimeout(t,e);this.ngZone.runOutsideAngular(()=>{this.idTokenTimeoutSubscription=Object(rxjs__WEBPACK_IMPORTED_MODULE_5__.a)(new OAuthInfoEvent("token_expires","id_token")).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_14__.a)(n)).subscribe(e=>{this.ngZone.run(()=>{this.eventsSubject.next(e)})})})}stopAutomaticRefresh(){this.clearAccessTokenTimer(),this.clearIdTokenTimer()}clearAccessTokenTimer(){this.accessTokenTimeoutSubscription&&this.accessTokenTimeoutSubscription.unsubscribe()}clearIdTokenTimer(){this.idTokenTimeoutSubscription&&this.idTokenTimeoutSubscription.unsubscribe()}calcTimeout(e,t){const n=Date.now(),r=(t-e)*this.timeoutFactor-(n-e);return Math.max(0,r)}setStorage(e){this._storage=e,this.configChanged()}loadDiscoveryDocument(e=null){return new Promise((t,n)=>{e||((e=this.issuer||"").endsWith("/")||(e+="/"),e+=".well-known/openid-configuration"),this.validateUrlForHttps(e)?this.http.get(e).subscribe(e=>{if(!this.validateDiscoveryDocument(e))return this.eventsSubject.next(new OAuthErrorEvent("discovery_document_validation_error",null)),void n("discovery_document_validation_error");this.loginUrl=e.authorization_endpoint,this.logoutUrl=e.end_session_endpoint||this.logoutUrl,this.grantTypesSupported=e.grant_types_supported,this.issuer=e.issuer,this.tokenEndpoint=e.token_endpoint,this.userinfoEndpoint=e.userinfo_endpoint||this.userinfoEndpoint,this.jwksUri=e.jwks_uri,this.sessionCheckIFrameUrl=e.check_session_iframe||this.sessionCheckIFrameUrl,this.discoveryDocumentLoaded=!0,this.discoveryDocumentLoadedSubject.next(e),this.revocationEndpoint=e.revocation_endpoint,this.sessionChecksEnabled&&this.restartSessionChecksIfStillLoggedIn(),this.loadJwks().then(n=>{const r=new OAuthSuccessEvent("discovery_document_loaded",{discoveryDocument:e,jwks:n});this.eventsSubject.next(r),t(r)}).catch(e=>{this.eventsSubject.next(new OAuthErrorEvent("discovery_document_load_error",e)),n(e)})},e=>{this.logger.error("error loading discovery document",e),this.eventsSubject.next(new OAuthErrorEvent("discovery_document_load_error",e)),n(e)}):n("issuer  must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).")})}loadJwks(){return new Promise((e,t)=>{this.jwksUri?this.http.get(this.jwksUri).subscribe(t=>{this.jwks=t,this.eventsSubject.next(new OAuthSuccessEvent("discovery_document_loaded")),e(t)},e=>{this.logger.error("error loading jwks",e),this.eventsSubject.next(new OAuthErrorEvent("jwks_load_error",e)),t(e)}):e(null)})}validateDiscoveryDocument(e){let t;return this.skipIssuerCheck||e.issuer===this.issuer?(t=this.validateUrlFromDiscoveryDocument(e.authorization_endpoint),t.length>0?(this.logger.error("error validating authorization_endpoint in discovery document",t),!1):(t=this.validateUrlFromDiscoveryDocument(e.end_session_endpoint),t.length>0?(this.logger.error("error validating end_session_endpoint in discovery document",t),!1):(t=this.validateUrlFromDiscoveryDocument(e.token_endpoint),t.length>0&&this.logger.error("error validating token_endpoint in discovery document",t),t=this.validateUrlFromDiscoveryDocument(e.revocation_endpoint),t.length>0&&this.logger.error("error validating revocation_endpoint in discovery document",t),t=this.validateUrlFromDiscoveryDocument(e.userinfo_endpoint),t.length>0?(this.logger.error("error validating userinfo_endpoint in discovery document",t),!1):(t=this.validateUrlFromDiscoveryDocument(e.jwks_uri),t.length>0?(this.logger.error("error validating jwks_uri in discovery document",t),!1):(this.sessionChecksEnabled&&!e.check_session_iframe&&this.logger.warn("sessionChecksEnabled is activated but discovery document does not contain a check_session_iframe field"),!0))))):(this.logger.error("invalid issuer in discovery document","expected: "+this.issuer,"current: "+e.issuer),!1)}fetchTokenUsingPasswordFlowAndLoadUserProfile(e,t,n=new _angular_common_http__WEBPACK_IMPORTED_MODULE_2__.f){return this.fetchTokenUsingPasswordFlow(e,t,n).then(()=>this.loadUserProfile())}loadUserProfile(){if(!this.hasValidAccessToken())throw new Error("Can not load User Profile without access_token");if(!this.validateUrlForHttps(this.userinfoEndpoint))throw new Error("userinfoEndpoint must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).");return new Promise((e,t)=>{const n=(new _angular_common_http__WEBPACK_IMPORTED_MODULE_2__.f).set("Authorization","Bearer "+this.getAccessToken());this.http.get(this.userinfoEndpoint,{headers:n}).subscribe(n=>{this.debug("userinfo received",n);const r=this.getIdentityClaims()||{};if(this.skipSubjectCheck||!this.oidc||r.sub&&n.sub===r.sub)n=Object.assign({},r,n),this._storage.setItem("id_token_claims_obj",JSON.stringify(n)),this.eventsSubject.next(new OAuthSuccessEvent("user_profile_loaded")),e(n);else{t("if property oidc is true, the received user-id (sub) has to be the user-id of the user that has logged in with oidc.\nif you are not using oidc but just oauth2 password flow set oidc to false")}},e=>{this.logger.error("error loading user info",e),this.eventsSubject.next(new OAuthErrorEvent("user_profile_load_error",e)),t(e)})})}fetchTokenUsingPasswordFlow(e,t,n=new _angular_common_http__WEBPACK_IMPORTED_MODULE_2__.f){return this.assertUrlNotNullAndCorrectProtocol(this.tokenEndpoint,"tokenEndpoint"),new Promise((r,i)=>{let s=new _angular_common_http__WEBPACK_IMPORTED_MODULE_2__.g({encoder:new WebHttpUrlEncodingCodec}).set("grant_type","password").set("scope",this.scope).set("username",e).set("password",t);if(this.useHttpBasicAuth){const e=btoa(`${this.clientId}:${this.dummyClientSecret}`);n=n.set("Authorization","Basic "+e)}if(this.useHttpBasicAuth||(s=s.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(s=s.set("client_secret",this.dummyClientSecret)),this.customQueryParams)for(const e of Object.getOwnPropertyNames(this.customQueryParams))s=s.set(e,this.customQueryParams[e]);n=n.set("Content-Type","application/x-www-form-urlencoded"),this.http.post(this.tokenEndpoint,s,{headers:n}).subscribe(e=>{this.debug("tokenResponse",e),this.storeAccessTokenResponse(e.access_token,e.refresh_token,e.expires_in||this.fallbackAccessTokenExpirationTimeInSec,e.scope,this.extractRecognizedCustomParameters(e)),this.eventsSubject.next(new OAuthSuccessEvent("token_received")),r(e)},e=>{this.logger.error("Error performing password flow",e),this.eventsSubject.next(new OAuthErrorEvent("token_error",e)),i(e)})})}refreshToken(){return this.assertUrlNotNullAndCorrectProtocol(this.tokenEndpoint,"tokenEndpoint"),new Promise((e,t)=>{let n=(new _angular_common_http__WEBPACK_IMPORTED_MODULE_2__.g).set("grant_type","refresh_token").set("scope",this.scope).set("refresh_token",this._storage.getItem("refresh_token")),r=(new _angular_common_http__WEBPACK_IMPORTED_MODULE_2__.f).set("Content-Type","application/x-www-form-urlencoded");if(this.useHttpBasicAuth){const e=btoa(`${this.clientId}:${this.dummyClientSecret}`);r=r.set("Authorization","Basic "+e)}if(this.useHttpBasicAuth||(n=n.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(n=n.set("client_secret",this.dummyClientSecret)),this.customQueryParams)for(const i of Object.getOwnPropertyNames(this.customQueryParams))n=n.set(i,this.customQueryParams[i]);this.http.post(this.tokenEndpoint,n,{headers:r}).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_15__.a)(e=>e.id_token?Object(rxjs__WEBPACK_IMPORTED_MODULE_6__.a)(this.processIdToken(e.id_token,e.access_token,!0)).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.a)(e=>this.storeIdToken(e)),Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_16__.a)(t=>e)):Object(rxjs__WEBPACK_IMPORTED_MODULE_5__.a)(e))).subscribe(t=>{this.debug("refresh tokenResponse",t),this.storeAccessTokenResponse(t.access_token,t.refresh_token,t.expires_in||this.fallbackAccessTokenExpirationTimeInSec,t.scope,this.extractRecognizedCustomParameters(t)),this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.eventsSubject.next(new OAuthSuccessEvent("token_refreshed")),e(t)},e=>{this.logger.error("Error refreshing token",e),this.eventsSubject.next(new OAuthErrorEvent("token_refresh_error",e)),t(e)})})}removeSilentRefreshEventListener(){this.silentRefreshPostMessageEventListener&&(window.removeEventListener("message",this.silentRefreshPostMessageEventListener),this.silentRefreshPostMessageEventListener=null)}setupSilentRefreshEventListener(){this.removeSilentRefreshEventListener(),this.silentRefreshPostMessageEventListener=e=>{const t=this.processMessageEventMessage(e);this.tryLogin({customHashFragment:t,preventClearHashAfterLogin:!0,customRedirectUri:this.silentRefreshRedirectUri||this.redirectUri}).catch(e=>this.debug("tryLogin during silent refresh failed",e))},window.addEventListener("message",this.silentRefreshPostMessageEventListener)}silentRefresh(e={},t=!0){const n=this.getIdentityClaims()||{};if(this.useIdTokenHintForSilentRefresh&&this.hasValidIdToken()&&(e.id_token_hint=this.getIdToken()),!this.validateUrlForHttps(this.loginUrl))throw new Error("loginUrl  must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).");if(void 0===this.document)throw new Error("silent refresh is not supported on this platform");const r=this.document.getElementById(this.silentRefreshIFrameName);r&&this.document.body.removeChild(r),this.silentRefreshSubject=n.sub;const i=this.document.createElement("iframe");i.id=this.silentRefreshIFrameName,this.setupSilentRefreshEventListener();const s=this.silentRefreshRedirectUri||this.redirectUri;this.createLoginUrl(null,null,s,t,e).then(e=>{i.setAttribute("src",e),this.silentRefreshShowIFrame||(i.style.display="none"),this.document.body.appendChild(i)});const o=this.events.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_11__.a)(e=>e instanceof OAuthErrorEvent),Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_17__.a)()),a=this.events.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_11__.a)(e=>"token_received"===e.type),Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_17__.a)()),c=Object(rxjs__WEBPACK_IMPORTED_MODULE_5__.a)(new OAuthErrorEvent("silent_refresh_timeout",null)).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_14__.a)(this.silentRefreshTimeout));return Object(rxjs__WEBPACK_IMPORTED_MODULE_7__.a)([o,a,c]).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_16__.a)(e=>{if(e instanceof OAuthErrorEvent)throw"silent_refresh_timeout"===e.type||(e=new OAuthErrorEvent("silent_refresh_error",e)),this.eventsSubject.next(e),e;return"token_received"===e.type&&(e=new OAuthSuccessEvent("silently_refreshed"),this.eventsSubject.next(e)),e})).toPromise()}initImplicitFlowInPopup(e){return this.initLoginFlowInPopup(e)}initLoginFlowInPopup(e){return e=e||{},this.createLoginUrl(null,null,this.silentRefreshRedirectUri,!1,{display:"popup"}).then(t=>new Promise((n,r)=>{let i,s=window.open(t,"_blank",this.calculatePopupFeatures(e));const o=()=>{s&&!s.closed||(a(),r(new OAuthErrorEvent("popup_closed",{})))};s?i=window.setInterval(o,500):r(new OAuthErrorEvent("popup_blocked",{}));const a=()=>{window.clearInterval(i),window.removeEventListener("message",c),null!==s&&s.close(),s=null},c=e=>{const t=this.processMessageEventMessage(e);t&&null!==t?this.tryLogin({customHashFragment:t,preventClearHashAfterLogin:!0,customRedirectUri:this.silentRefreshRedirectUri}).then(()=>{a(),n()},e=>{a(),r(e)}):console.log("false event firing")};window.addEventListener("message",c)}))}calculatePopupFeatures(e){const t=e.height||470,n=e.width||500,r=window.screenLeft+(window.outerWidth-n)/2;return`location=no,toolbar=no,width=${n},height=${t},top=${window.screenTop+(window.outerHeight-t)/2},left=${r}`}processMessageEventMessage(e){let t="#";if(this.silentRefreshMessagePrefix&&(t+=this.silentRefreshMessagePrefix),!e||!e.data||"string"!=typeof e.data)return;const n=e.data;return n.startsWith(t)?"#"+n.substr(t.length):void 0}canPerformSessionCheck(){if(!this.sessionChecksEnabled)return!1;if(!this.sessionCheckIFrameUrl)return console.warn("sessionChecksEnabled is activated but there is no sessionCheckIFrameUrl"),!1;return this.getSessionState()?void 0!==this.document:(console.warn("sessionChecksEnabled is activated but there is no session_state"),!1)}setupSessionCheckEventListener(){this.removeSessionCheckEventListener(),this.sessionCheckEventListener=e=>{const t=e.origin.toLowerCase(),n=this.issuer.toLowerCase();if(this.debug("sessionCheckEventListener"),n.startsWith(t)){switch(e.data){case"unchanged":this.handleSessionUnchanged();break;case"changed":this.ngZone.run(()=>{this.handleSessionChange()});break;case"error":this.ngZone.run(()=>{this.handleSessionError()})}this.debug("got info from session check inframe",e)}else this.debug("sessionCheckEventListener","wrong origin",t,"expected",n,"event",e)},this.ngZone.runOutsideAngular(()=>{window.addEventListener("message",this.sessionCheckEventListener)})}handleSessionUnchanged(){this.debug("session check","session unchanged")}handleSessionChange(){this.eventsSubject.next(new OAuthInfoEvent("session_changed")),this.stopSessionCheckTimer(),this.useSilentRefresh||"code"!==this.responseType?this.silentRefreshRedirectUri?(this.silentRefresh().catch(e=>this.debug("silent refresh failed after session changed")),this.waitForSilentRefreshAfterSessionChange()):(this.eventsSubject.next(new OAuthInfoEvent("session_terminated")),this.logOut(!0)):this.refreshToken().then(e=>{this.debug("token refresh after session change worked")}).catch(e=>{this.debug("token refresh did not work after session changed"),this.eventsSubject.next(new OAuthInfoEvent("session_terminated")),this.logOut(!0)})}waitForSilentRefreshAfterSessionChange(){this.events.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_11__.a)(e=>"silently_refreshed"===e.type||"silent_refresh_timeout"===e.type||"silent_refresh_error"===e.type),Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_17__.a)()).subscribe(e=>{"silently_refreshed"!==e.type&&(this.debug("silent refresh did not work after session changed"),this.eventsSubject.next(new OAuthInfoEvent("session_terminated")),this.logOut(!0))})}handleSessionError(){this.stopSessionCheckTimer(),this.eventsSubject.next(new OAuthInfoEvent("session_error"))}removeSessionCheckEventListener(){this.sessionCheckEventListener&&(window.removeEventListener("message",this.sessionCheckEventListener),this.sessionCheckEventListener=null)}initSessionCheck(){if(!this.canPerformSessionCheck())return;const e=this.document.getElementById(this.sessionCheckIFrameName);e&&this.document.body.removeChild(e);const t=this.document.createElement("iframe");t.id=this.sessionCheckIFrameName,this.setupSessionCheckEventListener();const n=this.sessionCheckIFrameUrl;t.setAttribute("src",n),t.style.display="none",this.document.body.appendChild(t),this.startSessionCheckTimer()}startSessionCheckTimer(){this.stopSessionCheckTimer(),this.ngZone.runOutsideAngular(()=>{this.sessionCheckTimer=setInterval(this.checkSession.bind(this),this.sessionCheckIntervall)})}stopSessionCheckTimer(){this.sessionCheckTimer&&(clearInterval(this.sessionCheckTimer),this.sessionCheckTimer=null)}checkSession(){const e=this.document.getElementById(this.sessionCheckIFrameName);e||this.logger.warn("checkSession did not find iframe",this.sessionCheckIFrameName);const t=this.getSessionState();t||this.stopSessionCheckTimer();const n=this.clientId+" "+t;e.contentWindow.postMessage(n,this.issuer)}createLoginUrl(e="",t="",n="",r=!1,i={}){return Object(tslib__WEBPACK_IMPORTED_MODULE_3__.a)(this,void 0,void 0,function*(){const s=this;let o;o=n||this.redirectUri;const a=yield this.createAndSaveNonce();if(e=e?a+this.config.nonceStateSeparator+encodeURIComponent(e):a,!this.requestAccessToken&&!this.oidc)throw new Error("Either requestAccessToken or oidc or both must be true");this.config.responseType?this.responseType=this.config.responseType:this.oidc&&this.requestAccessToken?this.responseType="id_token token":this.oidc&&!this.requestAccessToken?this.responseType="id_token":this.responseType="token";const c=s.loginUrl.indexOf("?")>-1?"&":"?";let l=s.scope;this.oidc&&!l.match(/(^|\s)openid($|\s)/)&&(l="openid "+l);let u=s.loginUrl+c+"response_type="+encodeURIComponent(s.responseType)+"&client_id="+encodeURIComponent(s.clientId)+"&state="+encodeURIComponent(e)+"&redirect_uri="+encodeURIComponent(o)+"&scope="+encodeURIComponent(l);if(this.responseType.includes("code")&&!this.disablePKCE){const[e,t]=yield this.createChallangeVerifierPairForPKCE();this.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.setItem("PKCE_verifier",t):this._storage.setItem("PKCE_verifier",t),u+="&code_challenge="+e,u+="&code_challenge_method=S256"}t&&(u+="&login_hint="+encodeURIComponent(t)),s.resource&&(u+="&resource="+encodeURIComponent(s.resource)),s.oidc&&(u+="&nonce="+encodeURIComponent(a)),r&&(u+="&prompt=none");for(const e of Object.keys(i))u+="&"+encodeURIComponent(e)+"="+encodeURIComponent(i[e]);if(this.customQueryParams)for(const e of Object.getOwnPropertyNames(this.customQueryParams))u+="&"+e+"="+encodeURIComponent(this.customQueryParams[e]);return u})}initImplicitFlowInternal(e="",t=""){if(this.inImplicitFlow)return;if(this.inImplicitFlow=!0,!this.validateUrlForHttps(this.loginUrl))throw new Error("loginUrl  must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).");let n={},r=null;"string"==typeof t?r=t:"object"==typeof t&&(n=t),this.createLoginUrl(e,r,null,!1,n).then(this.config.openUri).catch(e=>{console.error("Error in initImplicitFlow",e),this.inImplicitFlow=!1})}initImplicitFlow(e="",t=""){""!==this.loginUrl?this.initImplicitFlowInternal(e,t):this.events.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_11__.a)(e=>"discovery_document_loaded"===e.type)).subscribe(n=>this.initImplicitFlowInternal(e,t))}resetImplicitFlow(){this.inImplicitFlow=!1}callOnTokenReceivedIfExists(e){const t=this;if(e.onTokenReceived){const n={idClaims:t.getIdentityClaims(),idToken:t.getIdToken(),accessToken:t.getAccessToken(),state:t.state};e.onTokenReceived(n)}}storeAccessTokenResponse(e,t,n,r,i){if(this._storage.setItem("access_token",e),r&&!Array.isArray(r)?this._storage.setItem("granted_scopes",JSON.stringify(r.split("+"))):r&&Array.isArray(r)&&this._storage.setItem("granted_scopes",JSON.stringify(r)),this._storage.setItem("access_token_stored_at",""+Date.now()),n){const e=1e3*n,t=(new Date).getTime()+e;this._storage.setItem("expires_at",""+t)}t&&this._storage.setItem("refresh_token",t),i&&i.forEach((e,t)=>{this._storage.setItem(t,e)})}tryLogin(e=null){return"code"===this.config.responseType?this.tryLoginCodeFlow(e).then(e=>!0):this.tryLoginImplicitFlow(e)}parseQueryString(e){return e&&0!==e.length?("?"===e.charAt(0)&&(e=e.substr(1)),this.urlHelper.parseQueryString(e)):{}}tryLoginCodeFlow(e=null){const t=(e=e||{}).customHashFragment?e.customHashFragment.substring(1):window.location.search,n=this.getCodePartsFromUrl(t),r=n.code,i=n.state,s=n.session_state;if(!e.preventClearHashAfterLogin){const e=location.href.replace(/[&\?]code=[^&\$]*/,"").replace(/[&\?]scope=[^&\$]*/,"").replace(/[&\?]state=[^&\$]*/,"").replace(/[&\?]session_state=[^&\$]*/,"");history.replaceState(null,window.name,e)}let[o,a]=this.parseState(i);if(this.state=a,n.error){this.debug("error trying to login"),this.handleLoginError({},n);const e=new OAuthErrorEvent("code_error",{},n);return this.eventsSubject.next(e),Promise.reject(e)}if(!o)return Promise.resolve();if(!this.validateNonce(o)){const e=new OAuthErrorEvent("invalid_nonce_in_state",null);return this.eventsSubject.next(e),Promise.reject(e)}return this.storeSessionState(s),r?this.getTokenFromCode(r,e).then(e=>null):Promise.resolve()}getCodePartsFromUrl(e){return e&&0!==e.length?("?"===e.charAt(0)&&(e=e.substr(1)),this.urlHelper.parseQueryString(e)):this.urlHelper.getHashFragmentParams()}getTokenFromCode(e,t){let n=(new _angular_common_http__WEBPACK_IMPORTED_MODULE_2__.g).set("grant_type","authorization_code").set("code",e).set("redirect_uri",t.customRedirectUri||this.redirectUri);if(!this.disablePKCE){let e;e=this.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.getItem("PKCE_verifier"):this._storage.getItem("PKCE_verifier"),e?n=n.set("code_verifier",e):console.warn("No PKCE verifier found in oauth storage!")}return this.fetchAndProcessToken(n)}fetchAndProcessToken(e){this.assertUrlNotNullAndCorrectProtocol(this.tokenEndpoint,"tokenEndpoint");let t=(new _angular_common_http__WEBPACK_IMPORTED_MODULE_2__.f).set("Content-Type","application/x-www-form-urlencoded");if(this.useHttpBasicAuth){const e=btoa(`${this.clientId}:${this.dummyClientSecret}`);t=t.set("Authorization","Basic "+e)}return this.useHttpBasicAuth||(e=e.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(e=e.set("client_secret",this.dummyClientSecret)),new Promise((n,r)=>{if(this.customQueryParams)for(let t of Object.getOwnPropertyNames(this.customQueryParams))e=e.set(t,this.customQueryParams[t]);this.http.post(this.tokenEndpoint,e,{headers:t}).subscribe(e=>{this.debug("refresh tokenResponse",e),this.storeAccessTokenResponse(e.access_token,e.refresh_token,e.expires_in||this.fallbackAccessTokenExpirationTimeInSec,e.scope,this.extractRecognizedCustomParameters(e)),this.oidc&&e.id_token?this.processIdToken(e.id_token,e.access_token).then(t=>{this.storeIdToken(t),this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.eventsSubject.next(new OAuthSuccessEvent("token_refreshed")),n(e)}).catch(e=>{this.eventsSubject.next(new OAuthErrorEvent("token_validation_error",e)),console.error("Error validating tokens"),console.error(e),r(e)}):(this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.eventsSubject.next(new OAuthSuccessEvent("token_refreshed")),n(e))},e=>{console.error("Error getting token",e),this.eventsSubject.next(new OAuthErrorEvent("token_refresh_error",e)),r(e)})})}tryLoginImplicitFlow(e=null){let t;t=(e=e||{}).customHashFragment?this.urlHelper.getHashFragmentParams(e.customHashFragment):this.urlHelper.getHashFragmentParams(),this.debug("parsed url",t);const n=t.state;let[r,i]=this.parseState(n);if(this.state=i,t.error){this.debug("error trying to login"),this.handleLoginError(e,t);const n=new OAuthErrorEvent("token_error",{},t);return this.eventsSubject.next(n),Promise.reject(n)}const s=t.access_token,o=t.id_token,a=t.session_state,c=t.scope;if(!this.requestAccessToken&&!this.oidc)return Promise.reject("Either requestAccessToken or oidc (or both) must be true.");if(this.requestAccessToken&&!s)return Promise.resolve(!1);if(this.requestAccessToken&&!e.disableOAuth2StateCheck&&!n)return Promise.resolve(!1);if(this.oidc&&!o)return Promise.resolve(!1);if(this.sessionChecksEnabled&&!a&&this.logger.warn("session checks (Session Status Change Notification) were activated in the configuration but the id_token does not contain a session_state claim"),this.requestAccessToken&&!e.disableOAuth2StateCheck){if(!this.validateNonce(r)){const e=new OAuthErrorEvent("invalid_nonce_in_state",null);return this.eventsSubject.next(e),Promise.reject(e)}}return this.requestAccessToken&&this.storeAccessTokenResponse(s,null,t.expires_in||this.fallbackAccessTokenExpirationTimeInSec,c),this.oidc?this.processIdToken(o,s).then(t=>e.validationHandler?e.validationHandler({accessToken:s,idClaims:t.idTokenClaims,idToken:t.idToken,state:n}).then(e=>t):t).then(t=>(this.storeIdToken(t),this.storeSessionState(a),this.clearHashAfterLogin&&!e.preventClearHashAfterLogin&&(location.hash=""),this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.callOnTokenReceivedIfExists(e),this.inImplicitFlow=!1,!0)).catch(e=>(this.eventsSubject.next(new OAuthErrorEvent("token_validation_error",e)),this.logger.error("Error validating tokens"),this.logger.error(e),Promise.reject(e))):(this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.clearHashAfterLogin&&!e.preventClearHashAfterLogin&&(location.hash=""),this.callOnTokenReceivedIfExists(e),Promise.resolve(!0))}parseState(e){let t=e,n="";if(e){const r=e.indexOf(this.config.nonceStateSeparator);r>-1&&(t=e.substr(0,r),n=e.substr(r+this.config.nonceStateSeparator.length))}return[t,n]}validateNonce(e){let t;if(t=this.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.getItem("nonce"):this._storage.getItem("nonce"),t!==e){const n="Validating access_token failed, wrong state/nonce.";return console.error(n,t,e),!1}return!0}storeIdToken(e){this._storage.setItem("id_token",e.idToken),this._storage.setItem("id_token_claims_obj",e.idTokenClaimsJson),this._storage.setItem("id_token_expires_at",""+e.idTokenExpiresAt),this._storage.setItem("id_token_stored_at",""+Date.now())}storeSessionState(e){this._storage.setItem("session_state",e)}getSessionState(){return this._storage.getItem("session_state")}handleLoginError(e,t){e.onLoginError&&e.onLoginError(t),this.clearHashAfterLogin&&!e.preventClearHashAfterLogin&&(location.hash="")}processIdToken(e,t,n=!1){const r=e.split("."),i=b64DecodeUnicode(this.padBase64(r[0])),s=JSON.parse(i),o=b64DecodeUnicode(this.padBase64(r[1])),a=JSON.parse(o);let c;if(c=this.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.getItem("nonce"):this._storage.getItem("nonce"),Array.isArray(a.aud)){if(a.aud.every(e=>e!==this.clientId)){const e="Wrong audience: "+a.aud.join(",");return this.logger.warn(e),Promise.reject(e)}}else if(a.aud!==this.clientId){const e="Wrong audience: "+a.aud;return this.logger.warn(e),Promise.reject(e)}if(!a.sub){const e="No sub claim in id_token";return this.logger.warn(e),Promise.reject(e)}if(this.sessionChecksEnabled&&this.silentRefreshSubject&&this.silentRefreshSubject!==a.sub){const e=`After refreshing, we got an id_token for another user (sub). Expected sub: ${this.silentRefreshSubject}, received sub: ${a.sub}`;return this.logger.warn(e),Promise.reject(e)}if(!a.iat){const e="No iat claim in id_token";return this.logger.warn(e),Promise.reject(e)}if(!this.skipIssuerCheck&&a.iss!==this.issuer){const e="Wrong issuer: "+a.iss;return this.logger.warn(e),Promise.reject(e)}if(!n&&a.nonce!==c){const e="Wrong nonce: "+a.nonce;return this.logger.warn(e),Promise.reject(e)}if(!this.hasOwnProperty("responseType")||"code"!==this.responseType&&"id_token"!==this.responseType||(this.disableAtHashCheck=!0),!this.disableAtHashCheck&&this.requestAccessToken&&!a.at_hash){const e="An at_hash is needed!";return this.logger.warn(e),Promise.reject(e)}const l=Date.now(),u=1e3*a.iat,h=1e3*a.exp,d=1e3*(this.clockSkewInSec||600);if(u-d>=l||h+d<=l){const e="Token has expired";return console.error(e),console.error({now:l,issuedAtMSec:u,expiresAtMSec:h}),Promise.reject(e)}const f={accessToken:t,idToken:e,jwks:this.jwks,idTokenClaims:a,idTokenHeader:s,loadKeys:()=>this.loadJwks()};return this.disableAtHashCheck?this.checkSignature(f).then(t=>({idToken:e,idTokenClaims:a,idTokenClaimsJson:o,idTokenHeader:s,idTokenHeaderJson:i,idTokenExpiresAt:h})):this.checkAtHash(f).then(t=>{if(!this.disableAtHashCheck&&this.requestAccessToken&&!t){const e="Wrong at_hash";return this.logger.warn(e),Promise.reject(e)}return this.checkSignature(f).then(t=>{const n=!this.disableAtHashCheck,r={idToken:e,idTokenClaims:a,idTokenClaimsJson:o,idTokenHeader:s,idTokenHeaderJson:i,idTokenExpiresAt:h};return n?this.checkAtHash(f).then(e=>{if(this.requestAccessToken&&!e){const e="Wrong at_hash";return this.logger.warn(e),Promise.reject(e)}return r}):r})})}getIdentityClaims(){const e=this._storage.getItem("id_token_claims_obj");return e?JSON.parse(e):null}getGrantedScopes(){const e=this._storage.getItem("granted_scopes");return e?JSON.parse(e):null}getIdToken(){return this._storage?this._storage.getItem("id_token"):null}padBase64(e){for(;e.length%4!=0;)e+="=";return e}getAccessToken(){return this._storage?this._storage.getItem("access_token"):null}getRefreshToken(){return this._storage?this._storage.getItem("refresh_token"):null}getAccessTokenExpiration(){return this._storage.getItem("expires_at")?parseInt(this._storage.getItem("expires_at"),10):null}getAccessTokenStoredAt(){return parseInt(this._storage.getItem("access_token_stored_at"),10)}getIdTokenStoredAt(){return parseInt(this._storage.getItem("id_token_stored_at"),10)}getIdTokenExpiration(){return this._storage.getItem("id_token_expires_at")?parseInt(this._storage.getItem("id_token_expires_at"),10):null}hasValidAccessToken(){if(this.getAccessToken()){const e=this._storage.getItem("expires_at"),t=new Date;return!(e&&parseInt(e,10)<t.getTime())}return!1}hasValidIdToken(){if(this.getIdToken()){const e=this._storage.getItem("id_token_expires_at"),t=new Date;return!(e&&parseInt(e,10)<t.getTime())}return!1}getCustomTokenResponseProperty(e){return this._storage&&this.config.customTokenParameters&&this.config.customTokenParameters.indexOf(e)>=0&&null!==this._storage.getItem(e)?JSON.parse(this._storage.getItem(e)):null}authorizationHeader(){return"Bearer "+this.getAccessToken()}logOut(e={},t=""){let n=!1;"boolean"==typeof e&&(n=e,e={});const r=this.getIdToken();if(this._storage.removeItem("access_token"),this._storage.removeItem("id_token"),this._storage.removeItem("refresh_token"),this.saveNoncesInLocalStorage?(localStorage.removeItem("nonce"),localStorage.removeItem("PKCE_verifier")):(this._storage.removeItem("nonce"),this._storage.removeItem("PKCE_verifier")),this._storage.removeItem("expires_at"),this._storage.removeItem("id_token_claims_obj"),this._storage.removeItem("id_token_expires_at"),this._storage.removeItem("id_token_stored_at"),this._storage.removeItem("access_token_stored_at"),this._storage.removeItem("granted_scopes"),this._storage.removeItem("session_state"),this.config.customTokenParameters&&this.config.customTokenParameters.forEach(e=>this._storage.removeItem(e)),this.silentRefreshSubject=null,this.eventsSubject.next(new OAuthInfoEvent("logout")),!this.logoutUrl)return;if(n)return;if(!r&&!this.postLogoutRedirectUri)return;let i;if(!this.validateUrlForHttps(this.logoutUrl))throw new Error("logoutUrl  must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).");if(this.logoutUrl.indexOf("{{")>-1)i=this.logoutUrl.replace(/\{\{id_token\}\}/,r).replace(/\{\{client_id\}\}/,this.clientId);else{let n=new _angular_common_http__WEBPACK_IMPORTED_MODULE_2__.g;r&&(n=n.set("id_token_hint",r));const s=this.postLogoutRedirectUri||this.redirectUri;s&&(n=n.set("post_logout_redirect_uri",s),t&&(n=n.set("state",t)));for(let t in e)n=n.set(t,e[t]);i=this.logoutUrl+(this.logoutUrl.indexOf("?")>-1?"&":"?")+n.toString()}this.config.openUri(i)}createAndSaveNonce(){const e=this;return this.createNonce().then(function(t){return e.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.setItem("nonce",t):e._storage.setItem("nonce",t),t})}ngOnDestroy(){this.clearAccessTokenTimer(),this.clearIdTokenTimer(),this.removeSilentRefreshEventListener();const e=this.document.getElementById(this.silentRefreshIFrameName);e&&e.remove(),this.stopSessionCheckTimer(),this.removeSessionCheckEventListener();const t=this.document.getElementById(this.sessionCheckIFrameName);t&&t.remove()}createNonce(){return new Promise(e=>{if(this.rngUrl)throw new Error("createNonce with rng-web-api has not been implemented so far");const t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-._~";let n=45,r="";const i="undefined"==typeof self?null:self.crypto||self.msCrypto;if(i){let e=new Uint8Array(n);i.getRandomValues(e),e.map||(e.map=Array.prototype.map),e=e.map(e=>t.charCodeAt(e%t.length)),r=String.fromCharCode.apply(null,e)}else for(;0<n--;)r+=t[Math.random()*t.length|0];e(base64UrlEncode(r))})}checkAtHash(e){return Object(tslib__WEBPACK_IMPORTED_MODULE_3__.a)(this,void 0,void 0,function*(){return this.tokenValidationHandler?this.tokenValidationHandler.validateAtHash(e):(this.logger.warn("No tokenValidationHandler configured. Cannot check at_hash."),!0)})}checkSignature(e){return this.tokenValidationHandler?this.tokenValidationHandler.validateSignature(e):(this.logger.warn("No tokenValidationHandler configured. Cannot check signature."),Promise.resolve(null))}initLoginFlow(e="",t={}){return"code"===this.responseType?this.initCodeFlow(e,t):this.initImplicitFlow(e,t)}initCodeFlow(e="",t={}){""!==this.loginUrl?this.initCodeFlowInternal(e,t):this.events.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_11__.a)(e=>"discovery_document_loaded"===e.type)).subscribe(n=>this.initCodeFlowInternal(e,t))}initCodeFlowInternal(e="",t={}){if(!this.validateUrlForHttps(this.loginUrl))throw new Error("loginUrl  must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).");this.createLoginUrl(e,"",null,!1,t).then(this.config.openUri).catch(e=>{console.error("Error in initAuthorizationCodeFlow"),console.error(e)})}createChallangeVerifierPairForPKCE(){return Object(tslib__WEBPACK_IMPORTED_MODULE_3__.a)(this,void 0,void 0,function*(){if(!this.crypto)throw new Error("PKCE support for code flow needs a CryptoHander. Did you import the OAuthModule using forRoot() ?");const e=yield this.createNonce();return[base64UrlEncode(yield this.crypto.calcHash(e,"sha-256")),e]})}extractRecognizedCustomParameters(e){let t=new Map;return this.config.customTokenParameters?(this.config.customTokenParameters.forEach(n=>{e[n]&&t.set(n,JSON.stringify(e[n]))}),t):t}revokeTokenAndLogout(e={},t=!1){let n=this.revocationEndpoint,r=this.getAccessToken(),i=this.getRefreshToken();if(!r)return;let s=new _angular_common_http__WEBPACK_IMPORTED_MODULE_2__.g,o=(new _angular_common_http__WEBPACK_IMPORTED_MODULE_2__.f).set("Content-Type","application/x-www-form-urlencoded");if(this.useHttpBasicAuth){const e=btoa(`${this.clientId}:${this.dummyClientSecret}`);o=o.set("Authorization","Basic "+e)}if(this.useHttpBasicAuth||(s=s.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(s=s.set("client_secret",this.dummyClientSecret)),this.customQueryParams)for(const a of Object.getOwnPropertyNames(this.customQueryParams))s=s.set(a,this.customQueryParams[a]);return new Promise((a,c)=>{let l,u;if(r){let e=s.set("token",r).set("token_type_hint","access_token");l=this.http.post(n,e,{headers:o})}else l=Object(rxjs__WEBPACK_IMPORTED_MODULE_5__.a)(null);if(i){let e=s.set("token",i).set("token_type_hint","refresh_token");u=this.http.post(n,e,{headers:o})}else u=Object(rxjs__WEBPACK_IMPORTED_MODULE_5__.a)(null);t&&(l=l.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_18__.a)(e=>0===e.status?Object(rxjs__WEBPACK_IMPORTED_MODULE_5__.a)(null):Object(rxjs__WEBPACK_IMPORTED_MODULE_8__.a)(e))),u=u.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_18__.a)(e=>0===e.status?Object(rxjs__WEBPACK_IMPORTED_MODULE_5__.a)(null):Object(rxjs__WEBPACK_IMPORTED_MODULE_8__.a)(e)))),Object(rxjs__WEBPACK_IMPORTED_MODULE_9__.a)([l,u]).subscribe(t=>{this.logOut(e),a(t),this.logger.info("Token successfully revoked")},e=>{this.logger.error("Error revoking token",e),this.eventsSubject.next(new OAuthErrorEvent("token_revoke_error",e)),c(e)})})}}OAuthService.\u0275fac=function(e){return new(e||OAuthService)(_angular_core__WEBPACK_IMPORTED_MODULE_0__.Xc(_angular_core__WEBPACK_IMPORTED_MODULE_0__.Q),_angular_core__WEBPACK_IMPORTED_MODULE_0__.Xc(_angular_common_http__WEBPACK_IMPORTED_MODULE_2__.c),_angular_core__WEBPACK_IMPORTED_MODULE_0__.Xc(OAuthStorage,8),_angular_core__WEBPACK_IMPORTED_MODULE_0__.Xc(ValidationHandler,8),_angular_core__WEBPACK_IMPORTED_MODULE_0__.Xc(AuthConfig,8),_angular_core__WEBPACK_IMPORTED_MODULE_0__.Xc(UrlHelperService),_angular_core__WEBPACK_IMPORTED_MODULE_0__.Xc(OAuthLogger),_angular_core__WEBPACK_IMPORTED_MODULE_0__.Xc(HashHandler,8),_angular_core__WEBPACK_IMPORTED_MODULE_0__.Xc(_angular_common__WEBPACK_IMPORTED_MODULE_1__.d))},OAuthService.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_0__.Jc({token:OAuthService,factory:OAuthService.\u0275fac}),OAuthService.ctorParameters=()=>[{type:_angular_core__WEBPACK_IMPORTED_MODULE_0__.Q},{type:_angular_common_http__WEBPACK_IMPORTED_MODULE_2__.c},{type:OAuthStorage,decorators:[{type:_angular_core__WEBPACK_IMPORTED_MODULE_0__.R}]},{type:ValidationHandler,decorators:[{type:_angular_core__WEBPACK_IMPORTED_MODULE_0__.R}]},{type:AuthConfig,decorators:[{type:_angular_core__WEBPACK_IMPORTED_MODULE_0__.R}]},{type:UrlHelperService},{type:OAuthLogger},{type:HashHandler,decorators:[{type:_angular_core__WEBPACK_IMPORTED_MODULE_0__.R}]},{type:void 0,decorators:[{type:_angular_core__WEBPACK_IMPORTED_MODULE_0__.C,args:[_angular_common__WEBPACK_IMPORTED_MODULE_1__.d]}]}];class OAuthModuleConfig{}class OAuthResourceServerConfig{}class OAuthResourceServerErrorHandler{}class OAuthNoopResourceServerErrorHandler{handleError(e){return Object(rxjs__WEBPACK_IMPORTED_MODULE_8__.a)(e)}}class DefaultOAuthInterceptor{constructor(e,t,n,r){this.authStorage=e,this.oAuthService=t,this.errorHandler=n,this.moduleConfig=r}checkUrl(e){return this.moduleConfig.resourceServer.customUrlValidation?this.moduleConfig.resourceServer.customUrlValidation(e):!this.moduleConfig.resourceServer.allowedUrls||!!this.moduleConfig.resourceServer.allowedUrls.find(t=>e.startsWith(t))}intercept(e,t){const n=e.url.toLowerCase();if(!this.moduleConfig||!this.moduleConfig.resourceServer||!this.checkUrl(n))return t.handle(e);return this.moduleConfig.resourceServer.sendAccessToken?Object(rxjs__WEBPACK_IMPORTED_MODULE_10__.a)(Object(rxjs__WEBPACK_IMPORTED_MODULE_5__.a)(this.oAuthService.getAccessToken()).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_11__.a)(e=>!!e)),this.oAuthService.events.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_11__.a)(e=>"token_received"===e.type),Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_19__.a)(this.oAuthService.waitForTokenInMsec||0),Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_18__.a)(e=>Object(rxjs__WEBPACK_IMPORTED_MODULE_5__.a)(null)),Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_16__.a)(e=>this.oAuthService.getAccessToken()))).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_20__.a)(1),Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_21__.a)(n=>{if(n){const t="Bearer "+n,r=e.headers.set("Authorization",t);e=e.clone({headers:r})}return t.handle(e).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_18__.a)(e=>this.errorHandler.handleError(e)))})):t.handle(e).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_18__.a)(e=>this.errorHandler.handleError(e)))}}DefaultOAuthInterceptor.\u0275fac=function(e){return new(e||DefaultOAuthInterceptor)(_angular_core__WEBPACK_IMPORTED_MODULE_0__.Xc(OAuthStorage),_angular_core__WEBPACK_IMPORTED_MODULE_0__.Xc(OAuthService),_angular_core__WEBPACK_IMPORTED_MODULE_0__.Xc(OAuthResourceServerErrorHandler),_angular_core__WEBPACK_IMPORTED_MODULE_0__.Xc(OAuthModuleConfig,8))},DefaultOAuthInterceptor.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_0__.Jc({token:DefaultOAuthInterceptor,factory:DefaultOAuthInterceptor.\u0275fac}),DefaultOAuthInterceptor.ctorParameters=()=>[{type:OAuthStorage},{type:OAuthService},{type:OAuthResourceServerErrorHandler},{type:OAuthModuleConfig,decorators:[{type:_angular_core__WEBPACK_IMPORTED_MODULE_0__.R}]}];class NullValidationHandler{validateSignature(e){return Promise.resolve(null)}validateAtHash(e){return Promise.resolve(!0)}}function createDefaultLogger(){return console}function createDefaultStorage(){return"undefined"!=typeof sessionStorage?sessionStorage:new MemoryStorage}class OAuthModule{static forRoot(e=null,t=NullValidationHandler){return{ngModule:OAuthModule,providers:[OAuthService,UrlHelperService,{provide:OAuthLogger,useFactory:createDefaultLogger},{provide:OAuthStorage,useFactory:createDefaultStorage},{provide:ValidationHandler,useClass:t},{provide:HashHandler,useClass:DefaultHashHandler},{provide:OAuthResourceServerErrorHandler,useClass:OAuthNoopResourceServerErrorHandler},{provide:OAuthModuleConfig,useValue:e},{provide:_angular_common_http__WEBPACK_IMPORTED_MODULE_2__.a,useClass:DefaultOAuthInterceptor,multi:!0}]}}}OAuthModule.\u0275mod=_angular_core__WEBPACK_IMPORTED_MODULE_0__.Lc({type:OAuthModule}),OAuthModule.\u0275inj=_angular_core__WEBPACK_IMPORTED_MODULE_0__.Kc({factory:function(e){return new(e||OAuthModule)},imports:[[_angular_common__WEBPACK_IMPORTED_MODULE_1__.c]]}),("undefined"==typeof ngJitMode||ngJitMode)&&_angular_core__WEBPACK_IMPORTED_MODULE_0__.Bd(OAuthModule,{imports:function(){return[_angular_common__WEBPACK_IMPORTED_MODULE_1__.c]}});const err="PLEASE READ THIS CAREFULLY:\n\nBeginning with angular-oauth2-oidc version 9, the JwksValidationHandler\nhas been moved to an library of its own. If you need it for implementing\nOAuth2/OIDC **implicit flow**, please install it using npm:\n\n  npm i angular-oauth2-oidc-jwks --save\n\nAfter that, you can import it into your application:\n\n  import { JwksValidationHandler } from 'angular-oauth2-oidc-jwks';\n\nPlease note, that this dependency is not needed for the **code flow**,\nwhich is nowadays the **recommented** one for single page applications.\nThis also results in smaller bundle sizes.\n";class JwksValidationHandler extends NullValidationHandler{constructor(){super(),console.error(err)}}const AUTH_CONFIG=new _angular_core__WEBPACK_IMPORTED_MODULE_0__.E("AUTH_CONFIG")}).call(this,__webpack_require__("3UD+")(module))},Lhse:function(e,t,n){"use strict";n.d(t,"a",function(){return r});const r="function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"},Loxo:function(e,t,n){!function(e){"use strict";e.defineLocale("uz",{months:"\u044f\u043d\u0432\u0430\u0440_\u0444\u0435\u0432\u0440\u0430\u043b_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440_\u043e\u043a\u0442\u044f\u0431\u0440_\u043d\u043e\u044f\u0431\u0440_\u0434\u0435\u043a\u0430\u0431\u0440".split("_"),monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u042f\u043a\u0448\u0430\u043d\u0431\u0430_\u0414\u0443\u0448\u0430\u043d\u0431\u0430_\u0421\u0435\u0448\u0430\u043d\u0431\u0430_\u0427\u043e\u0440\u0448\u0430\u043d\u0431\u0430_\u041f\u0430\u0439\u0448\u0430\u043d\u0431\u0430_\u0416\u0443\u043c\u0430_\u0428\u0430\u043d\u0431\u0430".split("_"),weekdaysShort:"\u042f\u043a\u0448_\u0414\u0443\u0448_\u0421\u0435\u0448_\u0427\u043e\u0440_\u041f\u0430\u0439_\u0416\u0443\u043c_\u0428\u0430\u043d".split("_"),weekdaysMin:"\u042f\u043a_\u0414\u0443_\u0421\u0435_\u0427\u043e_\u041f\u0430_\u0416\u0443_\u0428\u0430".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[\u0411\u0443\u0433\u0443\u043d \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",nextDay:"[\u042d\u0440\u0442\u0430\u0433\u0430] LT [\u0434\u0430]",nextWeek:"dddd [\u043a\u0443\u043d\u0438 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",lastDay:"[\u041a\u0435\u0447\u0430 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",lastWeek:"[\u0423\u0442\u0433\u0430\u043d] dddd [\u043a\u0443\u043d\u0438 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",sameElse:"L"},relativeTime:{future:"\u042f\u043a\u0438\u043d %s \u0438\u0447\u0438\u0434\u0430",past:"\u0411\u0438\u0440 \u043d\u0435\u0447\u0430 %s \u043e\u043b\u0434\u0438\u043d",s:"\u0444\u0443\u0440\u0441\u0430\u0442",ss:"%d \u0444\u0443\u0440\u0441\u0430\u0442",m:"\u0431\u0438\u0440 \u0434\u0430\u043a\u0438\u043a\u0430",mm:"%d \u0434\u0430\u043a\u0438\u043a\u0430",h:"\u0431\u0438\u0440 \u0441\u043e\u0430\u0442",hh:"%d \u0441\u043e\u0430\u0442",d:"\u0431\u0438\u0440 \u043a\u0443\u043d",dd:"%d \u043a\u0443\u043d",M:"\u0431\u0438\u0440 \u043e\u0439",MM:"%d \u043e\u0439",y:"\u0431\u0438\u0440 \u0439\u0438\u043b",yy:"%d \u0439\u0438\u043b"},week:{dow:1,doy:7}})}(n("wd/R"))},LtKc:function(e,t,n){"use strict";n.d(t,"a",function(){return q}),n.d(t,"b",function(){return $});var r=n("mrSG"),i=n("fXoL"),s=n("xwJx"),o=n("mjQ1"),a=n("SURy"),c=n("2kdd"),l=n("phiu"),u=n("9/EM"),h=n("TnmX"),d=n("w3qX"),f=n("2Vo4"),p=n("l5mm"),m=n("itXk"),g=n("cp0P"),v=n("Cfvw"),y=n("LRne"),b=n("VRyK"),_=n("eIep"),w=n("/uUt"),S=n("UXun"),x=n("lJxs"),O=n("IzEk"),k=n("Kqap"),C=n("QnZs"),M=n("WS32"),E=n("JXjb"),T=n("W8w0"),j=n("5puH"),D=n("qhR1"),A=n("9eNV"),L=n("Jy0u"),z=n("phRD"),P=n("Ml5Y"),I=n("7seK"),R=n("TDVj"),N=n("Vsj3"),H=n("RUSI"),F=n("VHmI"),V=n("rgsH"),B=n("Jzx+"),Y=n("v7iw"),U=n("lO8T");let W=".webapp.ems.notifications";var q;!function(e){e[e.New=0]="New",e[e.Expiring=1]="Expiring",e[e.Expired=2]="Expired",e[e.Obsolete=3]="Obsolete",e[e.Seen=4]="Seen"}(q||(q={}));let $=class{constructor(e,t,n,r,i,s,o,a){this.user=e,this.settings=t,this.entities=n,this.metadata=r,this.logger=i,this.taskService=s,this.directories=o,this.service=a,this.reload=new f.a(!0),this.readedList=[],this.projects=[],this.removedId=[],W=(this.user.email||this.user.name)+W,this.lastId=Object(p.a)(1e4).pipe(Object(_.a)(()=>this.getLastNotification()),Object(w.a)()),this.items=Object(m.a)([this.getNotifications().pipe(Object(S.a)(1)),this.reload]).pipe(Object(x.a)(([e])=>e.filter(e=>!this.removedId.includes(e.id)).map(e=>Object.assign(Object.assign({},e),{type:this.readedList.find(t=>t.id===e.id)?q.Seen:q.New})))),this.new=this.items.pipe(Object(x.a)(e=>e.filter(e=>e.type!==q.Seen).length))}getNotifications(){let e=[];return this.lastId.pipe(Object(_.a)(()=>Object(g.a)({projects:this.service.queryAll(),klass:this.metadata.classes.getNames("\u0423\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u044f"),seen:Object(v.a)(this.settings.get(W))})),Object(_.a)(({projects:t,klass:n,seen:r})=>(r&&r[W]&&(e=Object.keys(r[W])),this.projects=t,this.projects.length?this.entities.analytic.query({where:Object(c.a)([Object(L.e)(...this.projects.map(e=>e.id)),Object(L.b)(n.id),{[Object(c.h)(Object(o.e)(U.b.properties.recipients))]:{exists:{id:{eq:this.user.id}}}}]),select:Object(o.f)(U.b,n),orderBy:Object(L.h)({created:"desc"},U.b,n)},{skip:0,take:1e3}):Object(y.a)({items:[],total:0,skipped:0}))),Object(x.a)(t=>t.items.map(t=>{const n=Object(o.j)(t,U.b);return e.some(e=>Number(e)===n.id)&&this.readedList.push(n),n})))}getLastNotification(){return Object(v.a)(this.metadata.classes.getNames("\u0423\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u044f")).pipe(Object(O.a)(1),Object(_.a)(e=>this.entities.analytic.query({where:Object(c.a)([Object(L.e)(2),Object(L.b)(e.id),{[Object(c.h)(Object(o.e)(U.b.properties.recipients))]:{exists:{id:{eq:this.user.id}}}}]),select:Object(o.f)(U.b,e,"name"),orderBy:Object(L.h)({created:"desc"},U.b,e)},{skip:0,take:1})),Object(x.a)(e=>e.items.length?e.items[0].id:0))}setShownForOne(e){return Object(r.a)(this,void 0,void 0,function*(){let t=yield this.settings.get(W);t&&0!==Object.keys(t).length||(t={}),t[e.id]={lastSeen:Object(s.z)(new Date)},yield this.saveSettings({[W]:t}),this.readedList.push(e),this.reload.next(!0)})}setShown(){return Object(r.a)(this,void 0,void 0,function*(){let e=yield this.items.pipe(Object(O.a)(1)).toPromise(),t=yield this.settings.get(W);t&&0!==Object.keys(t).length||(t={});for(let n of e)t[n.id]={lastSeen:Object(s.z)(new Date)};yield this.saveSettings({[W]:t}),this.readedList=e,this.reload.next(!0)})}saveSettings(e){return Object(r.a)(this,void 0,void 0,function*(){if(e){console.log(e);try{yield this.settings.set(e)}catch(t){this.logger.warn("Failed to update settings for notification",t)}}})}get(e,t){let n;return Object(v.a)(this.settings.getCustom(W)).pipe(Object(x.a)(e=>{console.log(e);let t=new Map;for(let n in e)n in e&&t.set(n,Object(s.H)(e[n].lastSeen));return t}),Object(_.a)(e=>(console.log(e),n=e,this.service.queryAll())),Object(_.a)(r=>(this.projects=r,Object(b.a)(this.getNewDocs(e,t,n),this.getNewLkp(e,t,n),this.getExpiringDocs(e,t,n),this.getExpiringLkp(e,t,n),this.getExpiredDocs(e,t,n),this.getExpiredLkp(e,t,n)))),Object(k.a)((e,t)=>e.concat(t)),Object(x.a)(e=>e.sort(Object(s.t)(({documentType:{name:e},kind:t,type:n,name:r})=>`${e} ${t} ${n} ${r}`))))}getNewDocs(e,t,n){var r;let i=Object(l.a)(new Date,1);return(null!==(r={[D.e.Eol]:this.queryDocs(!0,Object(L.g)(C.a.Expertise),Object(L.d)(e),Object(L.c)(!1)).pipe(Object(x.a)(e=>e.filter(({responsible:{created:e},id:t})=>{var r;return(null!==(r=n.get(t+"_"+q.New))&&void 0!==r?r:i)<G(e)}))),[D.e.Approver]:this.queryDocs(!0,Object(L.g)(C.a.Expertise),Object(L.d)(e),Object(L.c)(!1)).pipe(Object(x.a)(e=>e.filter(({responsible:{created:e},id:t})=>{var r;return(null!==(r=n.get(t+"_"+q.New))&&void 0!==r?r:i)<G(e)}))),[D.e.Dkk]:this.queryDocs(!1,Object(L.g)(C.a.ReceivedFromPi)).pipe(Object(x.a)(e=>e.filter(({modified:e,id:t})=>{var r;return(null!==(r=n.get(t+"_"+q.New))&&void 0!==r?r:i)<G(e)}))),[D.e.ProjectInstitute]:Object(y.a)([]),[D.e.ContractorCMP]:Object(y.a)([]),[D.e.Admin]:this.queryDocs(!0,Object(L.g)(C.a.Expertise),Object(L.d)(e),Object(L.c)(!1)).pipe(Object(x.a)(e=>e.filter(({responsible:{created:e},id:t})=>{var r;return(null!==(r=n.get(t+"_"+q.New))&&void 0!==r?r:i)<G(e)})))}[t])&&void 0!==r?r:Object(s.J)(`No docs query for role '${t}'`)).pipe(Object(x.a)(e=>this.toNotifications(e,q.New,T.a.Doc,"\u041d\u043e\u0432\u044b\u0435 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u044b")))}getExpiringDocs(e,t,n){let r=Object(l.a)(new Date,1);return{[D.e.Eol]:this.queryDocs(!0,Object(L.g)(C.a.Expertise),Object(L.d)(e)).pipe(Object(x.a)(e=>e.filter(({responsible:{created:e},project:{approvalTermEol:t,approvalTermApprover:i},id:s})=>{var o;return(null!==(o=n.get(s+"_"+q.Expiring))&&void 0!==o?o:r)<Object(u.a)(G(e),t+i)&&Object(u.a)(G(e),t)<=new Date&&new Date<Object(u.a)(G(e),t+i)}))),[D.e.Approver]:this.queryDocs(!0,Object(L.g)(C.a.Expertise),Object(L.d)(e)).pipe(Object(x.a)(e=>e.filter(({responsible:{created:e},project:{approvalTermApprover:t},id:i})=>{var s;return(null!==(s=n.get(i+"_"+q.Expiring))&&void 0!==s?s:r)<Object(u.a)(G(e),t)&&Object(u.a)(G(e),t-1)<=new Date&&new Date<Object(u.a)(G(e),t)}))),[D.e.Dkk]:this.queryDocs(!1,Object(L.g)(C.a.ReceivedFromPi)).pipe(Object(x.a)(e=>e.filter(({modified:e,project:t,id:i})=>{var s;return(null!==(s=n.get(i+"_"+q.Expiring))&&void 0!==s?s:r)<Object(u.a)(G(e),null==t?void 0:t.approvalTermDkk)&&Object(u.a)(G(e),(null==t?void 0:t.approvalTermDkk)-1)<=new Date&&new Date<Object(u.a)(G(e),null==t?void 0:t.approvalTermDkk)}))),[D.e.ProjectInstitute]:Object(y.a)([]),[D.e.ContractorCMP]:Object(y.a)([]),[D.e.Admin]:this.queryDocs(!0,Object(L.g)(C.a.Expertise),Object(L.d)(e)).pipe(Object(x.a)(e=>e.filter(({responsible:{created:e},project:{approvalTermEol:t,approvalTermApprover:i},id:s})=>{var o;return(null!==(o=n.get(s+"_"+q.Expiring))&&void 0!==o?o:r)<Object(u.a)(G(e),t+i)&&Object(u.a)(G(e),t)<=new Date&&new Date<Object(u.a)(G(e),t+i)})))}[t].pipe(Object(x.a)(e=>this.toNotifications(e,q.Expiring,T.a.Doc,"\u0418\u0441\u0442\u0435\u043a\u0430\u0435\u0442 \u0441\u0442\u0440\u043e\u043a \u0441\u043e\u0433\u043b\u0430\u0441\u043e\u0432\u0430\u043d\u0438\u044f \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430")))}getExpiredDocs(e,t,n){let r=Object(l.a)(new Date,1);return{[D.e.Eol]:this.queryDocs(!0,Object(L.g)(C.a.Expertise),Object(L.d)(e)).pipe(Object(x.a)(e=>e.filter(({responsible:{created:e},project:{approvalTermEol:t,approvalTermApprover:i},id:s})=>{var o;return Object(u.a)(G(e),t+i)>(null!==(o=n.get(s+"_"+q.Expired))&&void 0!==o?o:r)&&Object(u.a)(G(e),t+i)<new Date}))),[D.e.Approver]:this.queryDocs(!0,Object(L.g)(C.a.Expertise),Object(L.d)(e)).pipe(Object(x.a)(e=>e.filter(({responsible:{created:e},project:{approvalTermApprover:t},id:i})=>{var s;return Object(u.a)(G(e),t)>(null!==(s=n.get(i+"_"+q.Expired))&&void 0!==s?s:r)&&Object(u.a)(G(e),t)<new Date}))),[D.e.Dkk]:this.queryDocs(!1,Object(L.g)(C.a.ReceivedFromPi)).pipe(Object(x.a)(e=>e.filter(({modified:e,project:t,id:i})=>{var s;return Object(u.a)(G(e),null==t?void 0:t.approvalTermDkk)>(null!==(s=n.get(i+"_"+q.Expired))&&void 0!==s?s:r)&&Object(u.a)(G(e),null==t?void 0:t.approvalTermDkk)<new Date}))),[D.e.ProjectInstitute]:Object(y.a)([]),[D.e.ContractorCMP]:Object(y.a)([]),[D.e.Admin]:this.queryDocs(!0,Object(L.g)(C.a.Expertise),Object(L.d)(e)).pipe(Object(x.a)(e=>e.filter(({responsible:{created:e},project:{approvalTermEol:t,approvalTermApprover:i},id:s})=>{var o;return Object(u.a)(G(e),t+i)>(null!==(o=n.get(s+"_"+q.Expired))&&void 0!==o?o:r)&&Object(u.a)(G(e),t+i)<new Date})))}[t].pipe(Object(x.a)(e=>this.toNotifications(e,q.Expired,T.a.Doc,"\u041f\u0440\u043e\u0441\u0440\u043e\u0447\u0435\u043d\u043e \u0441\u043e\u0433\u043b\u0430\u0441\u043e\u0432\u0430\u043d\u0438\u0435 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430")))}queryDocs(e,...t){return Object(v.a)(this.metadata.classes.get([z.a.class,I.a.class,M.a.class,j.e.class])).pipe(Object(_.a)(([r,i,s,a])=>this.entities.analytic.query({where:Object(c.a)([Object(L.b)(r.id),...t,Object(L.e)(...this.projects.map(e=>e.id))]),select:Object(o.f)(z.a,r,"modified"),join:e?{[Object(c.d)(M.a.collection)]:{where:Object(L.b)(s.id),select:Object(o.f)(M.a,s,"created"),join:n(i,a)}}:n(i,a)},{skip:0,take:1e5})),Object(x.a)(({items:t})=>Object(L.j)(t,{schema:z.a,connect:([e],t)=>e.push(t)},...e?[{schema:M.a,connect:([e,t],n)=>t.responsible=n}]:[],{schema:I.a,connect:([e,t],n)=>t.documentType=n},{schema:j.e,connect:([e,t],n)=>t.project=n})));function n(e,t){return{ancestors:{where:Object(L.b)(e.id),select:Object(o.f)(I.a,e,"name"),join:{ancestors:{where:Object(L.b)(t.id),select:Object(o.f)(j.e,t,"approvalTermEol","approvalTermApprover","approvalTermDkk","name")}}}}}}getNewLkp(e,t,n){let r=Object(l.a)(new Date,1);return{[D.e.Eol]:this.queryLkps(Object(L.g)(C.a.ReceivedFromPi),Object(L.d)(e)).pipe(Object(x.a)(e=>e.filter(({modified:e,id:t})=>{var i;return G(e)>(null!==(i=n.get(t+"_"+q.New))&&void 0!==i?i:r)}))),[D.e.Approver]:Object(y.a)([]),[D.e.Dkk]:this.queryLkps(Object(L.g)(C.a.ReceivedFromEol)).pipe(Object(x.a)(e=>e.filter(({modified:e,id:t})=>{var i;return G(e)>(null!==(i=n.get(t+"_"+q.New))&&void 0!==i?i:r)}))),[D.e.ProjectInstitute]:Object(y.a)([]),[D.e.ContractorCMP]:Object(y.a)([]),[D.e.Admin]:this.queryLkps(Object(L.g)(C.a.ReceivedFromPi),Object(L.d)(e)).pipe(Object(x.a)(e=>e.filter(({modified:e,id:t})=>{var i;return G(e)>(null!==(i=n.get(t+"_"+q.New))&&void 0!==i?i:r)})))}[t].pipe(Object(x.a)(e=>this.toNotifications(e,q.New,T.a.LKP,"\u041d\u043e\u0432\u044b\u0435 \u041b\u041a\u041f")))}getExpiringLkp(e,t,n){let r=Object(l.a)(new Date,1);return{[D.e.Eol]:this.queryLkps(Object(L.g)(C.a.ReceivedFromPi),Object(L.d)(e)).pipe(Object(x.a)(e=>e.filter(({modified:e,project:{approvalTermEol:t},id:i})=>{var s;return(null!==(s=n.get(i+"_"+q.Expiring))&&void 0!==s?s:r)<Object(u.a)(G(e),t)&&Object(u.a)(G(e),t-1)<=new Date&&new Date<Object(u.a)(G(e),t)}))),[D.e.Approver]:Object(y.a)([]),[D.e.Dkk]:this.queryLkps(Object(L.g)(C.a.ReceivedFromEol)).pipe(Object(x.a)(e=>e.filter(({modified:e,project:{approvalTermDkk:t},id:i})=>{var s;return(null!==(s=n.get(i+"_"+q.Expiring))&&void 0!==s?s:r)<Object(u.a)(G(e),t)&&Object(u.a)(G(e),t-1)<=new Date&&new Date<Object(u.a)(G(e),t)}))),[D.e.ProjectInstitute]:Object(y.a)([]),[D.e.ContractorCMP]:Object(y.a)([]),[D.e.Admin]:this.queryLkps(Object(L.g)(C.a.ReceivedFromPi),Object(L.d)(e)).pipe(Object(x.a)(e=>e.filter(({modified:e,project:{approvalTermEol:t},id:i})=>{var s;return(null!==(s=n.get(i+"_"+q.Expiring))&&void 0!==s?s:r)<Object(u.a)(G(e),t)&&Object(u.a)(G(e),t-1)<=new Date&&new Date<Object(u.a)(G(e),t)})))}[t].pipe(Object(x.a)(e=>this.toNotifications(e,q.Expiring,T.a.LKP,"\u0418\u0441\u0442\u0435\u043a\u0430\u0435\u0442 \u0441\u0440\u043e\u043a \u0441\u043e\u0433\u043b\u0430\u0441\u043e\u0432\u0430\u043d\u0438\u044f \u041b\u041a\u041f")))}getExpiredLkp(e,t,n){let r=Object(l.a)(new Date,1);return{[D.e.Eol]:this.queryLkps(Object(L.g)(C.a.ReceivedFromPi),Object(L.d)(e)).pipe(Object(x.a)(e=>e.filter(({modified:e,project:{approvalTermEol:t},id:i})=>{var s;return(null!==(s=n.get(i+"_"+q.Expired))&&void 0!==s?s:r)<Object(u.a)(G(e),t)&&Object(u.a)(G(e),t)<new Date}))),[D.e.Approver]:Object(y.a)([]),[D.e.Dkk]:this.queryLkps(Object(L.g)(C.a.ReceivedFromEol)).pipe(Object(x.a)(e=>e.filter(({modified:e,project:{approvalTermDkk:t},id:i})=>{var s;return(null!==(s=n.get(i+"_"+q.Expired))&&void 0!==s?s:r)<Object(u.a)(G(e),t)&&Object(u.a)(G(e),t)<new Date}))),[D.e.ProjectInstitute]:Object(y.a)([]),[D.e.ContractorCMP]:Object(y.a)([]),[D.e.Admin]:this.queryLkps(Object(L.g)(C.a.ReceivedFromPi),Object(L.d)(e)).pipe(Object(x.a)(e=>e.filter(({modified:e,project:{approvalTermEol:t},id:i})=>{var s;return(null!==(s=n.get(i+"_"+q.Expired))&&void 0!==s?s:r)<Object(u.a)(G(e),t)&&Object(u.a)(G(e),t)<new Date})))}[t].pipe(Object(x.a)(e=>this.toNotifications(e,q.Expired,T.a.LKP,"\u041f\u0440\u043e\u0441\u0440\u043e\u0447\u0435\u043d\u043e \u0441\u043e\u0433\u043b\u0430\u0441\u043e\u0432\u0430\u043d\u0438\u0435 \u041b\u041a\u041f")))}queryLkps(...e){return Object(v.a)(this.metadata.classes.get([E.a.class,I.a.class,j.e.class])).pipe(Object(_.a)(([t,n,r])=>this.entities.analytic.query({where:Object(c.a)([Object(L.b)(t.id),...e,Object(L.e)(...this.projects.map(e=>e.id))]),select:Object(o.f)(E.a,t,"modified"),join:{ancestors:{where:Object(L.b)(n.id),select:Object(o.f)(I.a,n,"name"),join:{ancestors:{where:Object(L.b)(r.id),select:Object(o.f)(j.e,r,"approvalTermEol","approvalTermApprover","approvalTermDkk")}}}}},{skip:0,take:1e5})),Object(x.a)(({items:e})=>Object(L.j)(e,{schema:E.a,connect:([e],t)=>e.push(t)},{schema:I.a,connect:([e,t],n)=>t.documentType=n},{schema:j.e,connect:([e,t],n)=>t.project=n})))}getUserTasks(){return this.service.queryAll().pipe(Object(_.a)(e=>Object(g.a)([this.getTaskType(...e.map(e=>e.id)),Object(v.a)(this.metadata.classes.getNames("\u0417\u0430\u0434\u0430\u0447\u0430 \u043f\u043e \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u043c")),this.directories.approvalStatus])),Object(_.a)(([e,t,n])=>{const r=(n||[]).find(e=>e.name===B.b.Opened),i=(n||[]).find(e=>e.name===B.b.Rejected),s=(n||[]).find(e=>e.name===B.b.Finished);return this.entities.analytic.query({where:Object(c.a)([Object(L.b)(t.id),Object(L.e)(...e.map(e=>e.id)),Object(c.b)([Object(c.a)([{[Object(c.h)(Object(o.e)(R.a.properties.user))]:{exists:{id:{eq:this.user.id}}}},{[Object(c.h)(Object(o.e)(R.a.properties.statusAgreement))]:{exists:{id:{eq:r.id}}}}]),Object(c.a)([{[Object(c.h)(Object(o.e)(R.a.properties.author))]:{exists:{id:{eq:this.user.id}}}},Object(c.b)([{[Object(c.h)(Object(o.e)(R.a.properties.statusAgreement))]:{exists:{id:{eq:i.id}}}},{[Object(c.h)(Object(o.e)(R.a.properties.statusAgreement))]:{exists:{id:{eq:s.id}}}}])])])]),select:Object(o.f)(R.a,t)},{skip:0,take:1e5})}),Object(x.a)(e=>e.items.map(e=>Object(o.j)(e,R.a))))}getTaskType(...e){return Object(v.a)(this.metadata.classes.getNames("\u0422\u0438\u043f \u0437\u0430\u0434\u0430\u0447\u0438")).pipe(Object(_.a)(t=>Object(v.a)(this.entities.analytic.query({where:Object(c.a)([Object(L.e)(...e),Object(L.b)(t.id)]),select:Object(o.f)(F.b,t)},{skip:0,take:1e3}))),Object(x.a)(({items:e})=>e.map(e=>Object(o.j)(e,F.b)).filter(e=>e.taskType.name===N.a.Custom)))}getUserAgreements(){let e=[];return this.service.queryAll().pipe(Object(_.a)(e=>Object(g.a)([this.getSetOfDocuments(...e.map(e=>e.id)),Object(v.a)(this.metadata.classes.getNames("\u0421\u043e\u0433\u043b\u0430\u0441\u043e\u0432\u0430\u043d\u0438\u0435"))])),Object(_.a)(([t,n])=>(e=t,this.entities.analytic.query({where:Object(c.a)([Object(L.b)(n.id),Object(L.e)(...t.map(e=>e.id)),{[Object(c.h)(Object(o.e)(Y.a.properties.user))]:{exists:{id:{eq:this.user.id}}}}]),select:Object(o.f)(Y.a,n)},{skip:0,take:1e5}))),Object(x.a)(t=>e.map(e=>(e.agreementUsers=t.items.filter(t=>t.path.includes(e.id.toString())).map(e=>Object(o.j)(e,Y.a)),e))))}getSetOfDocuments(...e){return Object(v.a)(this.metadata.classes.getNames("\u041a\u043e\u043c\u043f\u043b\u0435\u043a\u0442 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u043e\u0432")).pipe(Object(_.a)(t=>Object(v.a)(this.entities.analytic.query({where:Object(c.a)([Object(L.e)(...e),Object(L.b)(t.id)]),select:Object(o.f)(H.a,t)},{skip:0,take:1e3}))),Object(x.a)(({items:e})=>e.map(e=>Object(o.j)(e,H.a))))}toNotifications(e,t,n,r){return Array.from(e.reduce((e,t)=>{var n;const r=t.documentType.id;return e.set(r,[...null!==(n=e.get(r))&&void 0!==n?n:[],t])},new Map).entries()).map(([e,i])=>({type:t,kind:n,name:r,count:i.length,docs:i,documentType:i[0].documentType,date:Object(h.a)(i.map(({modified:e})=>G(e))),projectName:i[0].project.name}))}createNotification(e){var t;return Object(r.a)(this,void 0,void 0,function*(){const n=yield this.metadata.classes.getNames("\u0423\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u044f");e.recipients=null===(t=e.recipients)||void 0===t?void 0:t.filter(function(e,t,n){return n.findIndex(t=>t.id===e.id)===t});const r=Object(o.h)(e,U.b,n);yield this.entities.collections(e.project.id,j.c).create(r)})}removeNotification(e){return Object(r.a)(this,void 0,void 0,function*(){yield this.entities.delete(e.id);const t=yield this.settings.get(W);delete t[e.id.toString()],this.removedId.push(e.id),yield this.saveSettings({[W]:t}),this.reload.next(!0)})}};function G(e){return null!=e?e:new Date(d.d)}$.ctorParameters=()=>[{type:void 0,decorators:[{type:i.C,args:[A.a]}]},{type:s.r},{type:o.a},{type:a.c},{type:s.n},{type:N.b},{type:V.a},{type:P.a}],$=Object(r.b)([Object(i.D)({providedIn:"root"})],$)},M34a:function(e,t,n){"use strict";n.d(t,"a",function(){return s});var r=n("/Tr7"),i=n("jIYg");function s(e){Object(i.a)(1,arguments);var t=Object(r.a)(e);return t.setHours(0,0,0,0),t}},Ml5Y:function(e,t,n){"use strict";n.d(t,"a",function(){return E});var r=n("mrSG"),i=n("fXoL"),s=n("tyNb"),o=n("xwJx"),a=n("mjQ1"),c=n("SURy"),l=n("2kdd"),u=n("btuV"),h=n("Cfvw"),d=n("LRne"),f=n("lJxs"),p=n("eIep"),m=n("UXun"),g=n("W8w0"),v=n("p/QF"),y=n("9eR8");const b={license:"6ab43669-a17d-4daa-9ea7-f6f2c9f44c4e",volumeLimit:"c2c5fc3e-4458-4395-94c1-84e0be455eea"};var _=n("qhR1"),w=n("9eNV"),S=n("Jy0u");const x={class:"8c576c2b-10eb-4a3f-a65e-19cb3389b4d8",root:o.w.entities.root.id,collection:o.w.entities.collection,properties:Object.assign(Object.assign({},o.w.entities.attributes),{product:"b5199124-538a-4f9e-af4a-fdb05cc69f85",component:"3c357182-c3b2-408b-91dd-748fd1c8d0dc",projectsNumber:"43e322d5-6549-4545-b60f-8300d4c79839",licenseType:"46a6070e-c6dd-4567-8074-a7d40ecbada1",dateFinished:"9aa3862e-463c-448b-a663-bbd301f3c487",periodType:"3f3390f3-8b02-4b51-ad76-7c3ada616144",project:{id:"61c9da65-3f8a-4544-9672-f7c8a28f55be",map:a.b.option}})};var O=n("5puH"),k=n("Upo+"),C=n("tk/3");class M{constructor(e,{license:t}){this.http=e,this.url=t}check(...e){return this.http.get(`${this.url}/check?${e.map(e=>"projIds="+e).join("&")}`)}}M.\u0275fac=function(e){return new(e||M)(i.Xc(C.c),i.Xc(o.a))},M.\u0275prov=i.Jc({factory:function(){return new M(i.Xc(C.c),i.Xc(o.a))},token:M,providedIn:"root"}),M.ctorParameters=()=>[{type:C.c},{type:o.a}];let E=class extends v.a{constructor(e,t,n,r,i,s){super(e,t,O.e),this.licenseService=n,this.router=r,this.roles=i,this.rolesTitle=s,this.map=new Map}queryAll(e=!1){return O.e.root?this.query({skip:0,take:100},O.e.root).pipe(Object(f.a)(e=>e.items.filter(e=>[this.rolesTitle[_.e.Admin],this.rolesTitle[_.a.Admin]].some(e=>this.roles.includes(e))?Object.keys(u.b).filter(e=>isNaN(Number(u.b[e]))).every(t=>Object(u.d)(e.permissions,Number(t))):Object(u.d)(e.permissions,u.b.Read)&&Object(u.d)(e.permissions,u.b.Update)&&Object(u.d)(e.permissions,u.b.Delete))),Object(p.a)(t=>e?this.licenseService.check(...t.map(e=>e.id)).pipe(Object(f.a)(e=>t.map((t,n)=>Object.assign(Object.assign(Object.assign({},t),e[n]),{storageLimitationInByte:1024*e[n].storageLimitation*1024*1024})))):Object(d.a)(t))):Object(h.a)([])}querySubscriptions(){return O.e.root?this.query({skip:0,take:100},O.e.root).pipe(Object(m.a)(1)).pipe(Object(f.a)(e=>e.items)):Object(h.a)([])}get(e){var t,n;return null!==(t=this.map.get(e))&&void 0!==t?t:(this.map.set(e,this.getById(e).pipe(Object(m.a)(1))),null!==(n=this.map.get(e))&&void 0!==n?n:Object(o.J)("never happend"))}getByDescendant(e){return Object(h.a)(this.class).pipe(Object(f.a)(e=>Object(a.f)(this.schema,e)),Object(p.a)(t=>this.entities.analytic.query({where:{id:{eq:e}},join:{ancestors:{where:{class:{eq:this.schema.class}},select:t}}},{skip:0,take:1})),Object(f.a)(({items:[e]})=>Object(a.j)(e,this.schema))).toPromise()}goto(e,t){return Object(r.a)(this,void 0,void 0,function*(){const{path:n}=yield this.entities.get(e),[r,i]=Object(a.c)(n).slice(3);yield this.router.navigate([{outlets:{primary:[r,i,e,t===g.a.Doc?"documents":"lkp"],aside:null}}],{replaceUrl:!0,skipLocationChange:!1}),location.reload()})}getLicense(e){return Object(r.a)(this,void 0,void 0,function*(){const t=yield this.metadata.classes.get(x.class).then(e=>(x.properties.component=Array.from(Object.keys(e.attributes)).find(t=>{var n;return"\u041a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442"===(null===(n=e.attributes[t])||void 0===n?void 0:n.name)}),x.properties.licenseType=Array.from(Object.keys(e.attributes)).find(t=>{var n;return null===(n=e.attributes[t])||void 0===n?void 0:n.name.includes("\u0422\u0438\u043f \u043b\u0438\u0446\u0435\u043d\u0437\u0438\u0438")}),x.properties.projectsNumber=Array.from(Object.keys(e.attributes)).find(t=>{var n;return"\u041a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u0432"===(null===(n=e.attributes[t])||void 0===n?void 0:n.name)}),x.properties.dateFinished=Array.from(Object.keys(e.attributes)).find(t=>{var n;return"\u0414\u0430\u0442\u0430 \u043e\u043a\u043e\u043d\u0447\u0430\u043d\u0438\u044f \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f"===(null===(n=e.attributes[t])||void 0===n?void 0:n.name)}),x.properties.product=Array.from(Object.keys(e.attributes)).find(t=>{var n;return"\u041f\u0440\u043e\u0434\u0443\u043a\u0442"===(null===(n=e.attributes[t])||void 0===n?void 0:n.name)}),e));return(yield this.entities.collections(e,b.license).query(Object.assign({take:1e3,skip:0},Object(a.d)(x,t)))).items.map(e=>Object(a.j)(e,x))})}getVolumeLimit(e){return Object(r.a)(this,void 0,void 0,function*(){const t=yield this.metadata.classes.get(k.a.class).then(e=>(k.a.properties.volume=Array.from(Object.keys(e.attributes)).find(t=>{var n;return"\u041e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u0435 \u043d\u0430 \u043e\u0431\u044a\u0435\u043c, \u0413\u0431"===(null===(n=e.attributes[t])||void 0===n?void 0:n.name)}),k.a.properties.dateFinished=Array.from(Object.keys(e.attributes)).find(t=>{var n;return"\u0414\u0430\u0442\u0430 \u043e\u043a\u043e\u043d\u0447\u0430\u043d\u0438\u044f \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f"===(null===(n=e.attributes[t])||void 0===n?void 0:n.name)}),e));return(yield this.entities.collections(e,b.volumeLimit).query(Object.assign({take:1e3,skip:0},Object(a.d)(k.a,t)))).items.map(e=>Object(a.j)(e,k.a))})}getProjectLicenses(e){return this.entities.analytic.query({where:Object(l.a)([Object(S.b)(x.class),{[Object(l.h)(Object(a.e)(x.properties.project))]:{exists:{id:{eq:e}}}}]),select:"*"},{skip:0,take:1e3}).pipe(Object(f.a)(e=>e.items.filter(e=>{const t=Object(a.j)(e,x);return(null==t?void 0:t.created)&&!!((new Date).getTime()-new Date(t.created).getTime())&&!!(new Date(t.dateFinished).getTime()-(new Date).getTime())}).sort((e,t)=>t.id-e.id)))}getProjectsLicenses(e){return this.entities.analytic.query({where:Object(l.a)([Object(S.b)(x.class),Object(l.b)(e.map(e=>({[Object(l.h)(Object(a.e)(x.properties.project))]:{exists:{id:{eq:e}}}})))]),select:"*"},{skip:0,take:1e3}).pipe(Object(f.a)(e=>e.items.map(e=>Object(a.j)(e,x))))}getLicensingOption(e){return Object(h.a)(this.metadata.classes.getNames("\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b \u043b\u0438\u0446\u0435\u043d\u0437\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f")).pipe(Object(p.a)(t=>this.entities.get(e,Object(a.d)(y.a,t))),Object(f.a)(e=>Object(a.j)(e,y.a)))}getById(e,t=!1){return super.getById(e).pipe(Object(p.a)(e=>this.licenseService.check(e.id).pipe(Object(f.a)(n=>t?Object.assign(Object.assign({},e),n[0]):e))))}getProjectsName(){return Object(h.a)(this.class).pipe(Object(p.a)(e=>this.entities.analytic.query({where:Object(l.a)([Object(S.b)(e.id),Object(S.e)(O.e.root)]),select:Object(a.f)(this.schema,e,"name")},{skip:0,take:1e3})),Object(f.a)(e=>e.items.filter(e=>[this.rolesTitle[_.e.Admin],this.rolesTitle[_.a.Admin]].some(e=>this.roles.includes(e))?Object.keys(u.b).filter(e=>isNaN(Number(u.b[e]))).every(t=>Object(u.d)(e.permissions,Number(t))):Object(u.d)(e.permissions,u.b.Read)&&Object(u.d)(e.permissions,u.b.Update)&&Object(u.d)(e.permissions,u.b.Delete))))}};E.ctorParameters=()=>[{type:a.a},{type:c.c},{type:M},{type:s.d},{type:_.e,decorators:[{type:i.C,args:[_.c]}]},{type:void 0,decorators:[{type:i.C,args:[w.c]}]}],E=Object(r.b)([Object(i.D)({providedIn:"root"})],E)},NJ4a:function(e,t,n){"use strict";function r(e){setTimeout(()=>{throw e},0)}n.d(t,"a",function(){return r})},NXyV:function(e,t,n){"use strict";n.d(t,"a",function(){return o});var r=n("HDdC"),i=n("Cfvw"),s=n("EY2u");function o(e){return new r.a(t=>{let n;try{n=e()}catch(r){return void t.error(r)}return(n?Object(i.a)(n):Object(s.b)()).subscribe(t)})}},Nv8m:function(e,t,n){"use strict";n.d(t,"a",function(){return a});var r=n("DH7j"),i=n("yCtX"),s=n("l7GE"),o=n("ZUHj");function a(...e){if(1===e.length){if(!Object(r.a)(e[0]))return e[0];e=e[0]}return Object(i.a)(e,void 0).lift(new c)}class c{call(e,t){return t.subscribe(new l(e))}}class l extends s.a{constructor(e){super(e),this.hasFirst=!1,this.observables=[],this.subscriptions=[]}_next(e){this.observables.push(e)}_complete(){const e=this.observables,t=e.length;if(0===t)this.destination.complete();else{for(let n=0;n<t&&!this.hasFirst;n++){const t=e[n],r=Object(o.a)(this,t,void 0,n);this.subscriptions&&this.subscriptions.push(r),this.add(r)}this.observables=null}}notifyNext(e,t,n){if(!this.hasFirst){this.hasFirst=!0;for(let e=0;e<this.subscriptions.length;e++)if(e!==n){let t=this.subscriptions[e];t.unsubscribe(),this.remove(t)}this.subscriptions=null}this.destination.next(t)}}},OIYi:function(e,t,n){!function(e){"use strict";e.defineLocale("en-ca",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}})}(n("wd/R"))},Oaa7:function(e,t,n){!function(e){"use strict";e.defineLocale("en-gb",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n("wd/R"))},Ob0Z:function(e,t,n){!function(e){"use strict";var t={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},n={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};function r(e,t,n,r){var i="";if(t)switch(n){case"s":i="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926";break;case"ss":i="%d \u0938\u0947\u0915\u0902\u0926";break;case"m":i="\u090f\u0915 \u092e\u093f\u0928\u093f\u091f";break;case"mm":i="%d \u092e\u093f\u0928\u093f\u091f\u0947";break;case"h":i="\u090f\u0915 \u0924\u093e\u0938";break;case"hh":i="%d \u0924\u093e\u0938";break;case"d":i="\u090f\u0915 \u0926\u093f\u0935\u0938";break;case"dd":i="%d \u0926\u093f\u0935\u0938";break;case"M":i="\u090f\u0915 \u092e\u0939\u093f\u0928\u093e";break;case"MM":i="%d \u092e\u0939\u093f\u0928\u0947";break;case"y":i="\u090f\u0915 \u0935\u0930\u094d\u0937";break;case"yy":i="%d \u0935\u0930\u094d\u0937\u0947"}else switch(n){case"s":i="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"ss":i="%d \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"m":i="\u090f\u0915\u093e \u092e\u093f\u0928\u093f\u091f\u093e";break;case"mm":i="%d \u092e\u093f\u0928\u093f\u091f\u093e\u0902";break;case"h":i="\u090f\u0915\u093e \u0924\u093e\u0938\u093e";break;case"hh":i="%d \u0924\u093e\u0938\u093e\u0902";break;case"d":i="\u090f\u0915\u093e \u0926\u093f\u0935\u0938\u093e";break;case"dd":i="%d \u0926\u093f\u0935\u0938\u093e\u0902";break;case"M":i="\u090f\u0915\u093e \u092e\u0939\u093f\u0928\u094d\u092f\u093e";break;case"MM":i="%d \u092e\u0939\u093f\u0928\u094d\u092f\u093e\u0902";break;case"y":i="\u090f\u0915\u093e \u0935\u0930\u094d\u0937\u093e";break;case"yy":i="%d \u0935\u0930\u094d\u0937\u093e\u0902"}return i.replace(/%d/i,e)}e.defineLocale("mr",{months:"\u091c\u093e\u0928\u0947\u0935\u093e\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u090f\u092a\u094d\u0930\u093f\u0932_\u092e\u0947_\u091c\u0942\u0928_\u091c\u0941\u0932\u0948_\u0911\u0917\u0938\u094d\u091f_\u0938\u092a\u094d\u091f\u0947\u0902\u092c\u0930_\u0911\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u0935\u094d\u0939\u0947\u0902\u092c\u0930_\u0921\u093f\u0938\u0947\u0902\u092c\u0930".split("_"),monthsShort:"\u091c\u093e\u0928\u0947._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a._\u090f\u092a\u094d\u0930\u093f._\u092e\u0947._\u091c\u0942\u0928._\u091c\u0941\u0932\u0948._\u0911\u0917._\u0938\u092a\u094d\u091f\u0947\u0902._\u0911\u0915\u094d\u091f\u094b._\u0928\u094b\u0935\u094d\u0939\u0947\u0902._\u0921\u093f\u0938\u0947\u0902.".split("_"),monthsParseExact:!0,weekdays:"\u0930\u0935\u093f\u0935\u093e\u0930_\u0938\u094b\u092e\u0935\u093e\u0930_\u092e\u0902\u0917\u0933\u0935\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u0917\u0941\u0930\u0942\u0935\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u0935\u093e\u0930_\u0936\u0928\u093f\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0930\u0935\u093f_\u0938\u094b\u092e_\u092e\u0902\u0917\u0933_\u092c\u0941\u0927_\u0917\u0941\u0930\u0942_\u0936\u0941\u0915\u094d\u0930_\u0936\u0928\u093f".split("_"),weekdaysMin:"\u0930_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u0917\u0941_\u0936\u0941_\u0936".split("_"),longDateFormat:{LT:"A h:mm \u0935\u093e\u091c\u0924\u093e",LTS:"A h:mm:ss \u0935\u093e\u091c\u0924\u093e",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0935\u093e\u091c\u0924\u093e",LLLL:"dddd, D MMMM YYYY, A h:mm \u0935\u093e\u091c\u0924\u093e"},calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u0909\u0926\u094d\u092f\u093e] LT",nextWeek:"dddd, LT",lastDay:"[\u0915\u093e\u0932] LT",lastWeek:"[\u092e\u093e\u0917\u0940\u0932] dddd, LT",sameElse:"L"},relativeTime:{future:"%s\u092e\u0927\u094d\u092f\u0947",past:"%s\u092a\u0942\u0930\u094d\u0935\u0940",s:r,ss:r,m:r,mm:r,h:r,hh:r,d:r,dd:r,M:r,MM:r,y:r,yy:r},preparse:function(e){return e.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/\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(e,t){return 12===e&&(e=0),"\u092a\u0939\u093e\u091f\u0947"===t||"\u0938\u0915\u093e\u0933\u0940"===t?e:"\u0926\u0941\u092a\u093e\u0930\u0940"===t||"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940"===t||"\u0930\u093e\u0924\u094d\u0930\u0940"===t?e>=12?e:e+12:void 0},meridiem:function(e,t,n){return e>=0&&e<6?"\u092a\u0939\u093e\u091f\u0947":e<12?"\u0938\u0915\u093e\u0933\u0940":e<17?"\u0926\u0941\u092a\u093e\u0930\u0940":e<20?"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940":"\u0930\u093e\u0924\u094d\u0930\u0940"},week:{dow:0,doy:6}})}(n("wd/R"))},OjkT:function(e,t,n){!function(e){"use strict";var t={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},n={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};e.defineLocale("ne",{months:"\u091c\u0928\u0935\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u093f\u0932_\u092e\u0908_\u091c\u0941\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0937\u094d\u091f_\u0938\u0947\u092a\u094d\u091f\u0947\u092e\u094d\u092c\u0930_\u0905\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u092d\u0947\u092e\u094d\u092c\u0930_\u0921\u093f\u0938\u0947\u092e\u094d\u092c\u0930".split("_"),monthsShort:"\u091c\u0928._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u093f._\u092e\u0908_\u091c\u0941\u0928_\u091c\u0941\u0932\u093e\u0908._\u0905\u0917._\u0938\u0947\u092a\u094d\u091f._\u0905\u0915\u094d\u091f\u094b._\u0928\u094b\u092d\u0947._\u0921\u093f\u0938\u0947.".split("_"),monthsParseExact:!0,weekdays:"\u0906\u0907\u0924\u092c\u093e\u0930_\u0938\u094b\u092e\u092c\u093e\u0930_\u092e\u0919\u094d\u0917\u0932\u092c\u093e\u0930_\u092c\u0941\u0927\u092c\u093e\u0930_\u092c\u093f\u0939\u093f\u092c\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u092c\u093e\u0930_\u0936\u0928\u093f\u092c\u093e\u0930".split("_"),weekdaysShort:"\u0906\u0907\u0924._\u0938\u094b\u092e._\u092e\u0919\u094d\u0917\u0932._\u092c\u0941\u0927._\u092c\u093f\u0939\u093f._\u0936\u0941\u0915\u094d\u0930._\u0936\u0928\u093f.".split("_"),weekdaysMin:"\u0906._\u0938\u094b._\u092e\u0902._\u092c\u0941._\u092c\u093f._\u0936\u0941._\u0936.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A\u0915\u094b h:mm \u092c\u091c\u0947",LTS:"A\u0915\u094b h:mm:ss \u092c\u091c\u0947",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A\u0915\u094b h:mm \u092c\u091c\u0947",LLLL:"dddd, D MMMM YYYY, A\u0915\u094b h:mm \u092c\u091c\u0947"},preparse:function(e){return e.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/\u0930\u093e\u0924\u093f|\u092c\u093f\u0939\u093e\u0928|\u0926\u093f\u0909\u0901\u0938\u094b|\u0938\u093e\u0901\u091d/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u0930\u093e\u0924\u093f"===t?e<4?e:e+12:"\u092c\u093f\u0939\u093e\u0928"===t?e:"\u0926\u093f\u0909\u0901\u0938\u094b"===t?e>=10?e:e+12:"\u0938\u093e\u0901\u091d"===t?e+12:void 0},meridiem:function(e,t,n){return e<3?"\u0930\u093e\u0924\u093f":e<12?"\u092c\u093f\u0939\u093e\u0928":e<16?"\u0926\u093f\u0909\u0901\u0938\u094b":e<20?"\u0938\u093e\u0901\u091d":"\u0930\u093e\u0924\u093f"},calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u092d\u094b\u0932\u093f] LT",nextWeek:"[\u0906\u0909\u0901\u0926\u094b] dddd[,] LT",lastDay:"[\u0939\u093f\u091c\u094b] LT",lastWeek:"[\u0917\u090f\u0915\u094b] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s\u092e\u093e",past:"%s \u0905\u0917\u093e\u0921\u093f",s:"\u0915\u0947\u0939\u0940 \u0915\u094d\u0937\u0923",ss:"%d \u0938\u0947\u0915\u0947\u0923\u094d\u0921",m:"\u090f\u0915 \u092e\u093f\u0928\u0947\u091f",mm:"%d \u092e\u093f\u0928\u0947\u091f",h:"\u090f\u0915 \u0918\u0923\u094d\u091f\u093e",hh:"%d \u0918\u0923\u094d\u091f\u093e",d:"\u090f\u0915 \u0926\u093f\u0928",dd:"%d \u0926\u093f\u0928",M:"\u090f\u0915 \u092e\u0939\u093f\u0928\u093e",MM:"%d \u092e\u0939\u093f\u0928\u093e",y:"\u090f\u0915 \u092c\u0930\u094d\u0937",yy:"%d \u092c\u0930\u094d\u0937"},week:{dow:0,doy:6}})}(n("wd/R"))},OmwH:function(e,t,n){!function(e){"use strict";e.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(e,t){return 12===e&&(e=0),"\u51cc\u6668"===t||"\u65e9\u4e0a"===t||"\u4e0a\u5348"===t?e:"\u4e2d\u5348"===t?e>=11?e:e+12:"\u4e0b\u5348"===t||"\u665a\u4e0a"===t?e+12:void 0},meridiem:function(e,t,n){var r=100*e+t;return r<600?"\u51cc\u6668":r<900?"\u65e9\u4e0a":r<1130?"\u4e0a\u5348":r<1230?"\u4e2d\u5348":r<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929] LT",nextDay:"[\u660e\u5929] LT",nextWeek:"[\u4e0b]dddd LT",lastDay:"[\u6628\u5929] LT",lastWeek:"[\u4e0a]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"\u65e5";case"M":return e+"\u6708";case"w":case"W":return e+"\u9031";default:return e}},relativeTime:{future:"%s\u5167",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(n("wd/R"))},Oxv6:function(e,t,n){!function(e){"use strict";var t={0:"-\u0443\u043c",1:"-\u0443\u043c",2:"-\u044e\u043c",3:"-\u044e\u043c",4:"-\u0443\u043c",5:"-\u0443\u043c",6:"-\u0443\u043c",7:"-\u0443\u043c",8:"-\u0443\u043c",9:"-\u0443\u043c",10:"-\u0443\u043c",12:"-\u0443\u043c",13:"-\u0443\u043c",20:"-\u0443\u043c",30:"-\u044e\u043c",40:"-\u0443\u043c",50:"-\u0443\u043c",60:"-\u0443\u043c",70:"-\u0443\u043c",80:"-\u0443\u043c",90:"-\u0443\u043c",100:"-\u0443\u043c"};e.defineLocale("tg",{months:{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(e,t){return 12===e&&(e=0),"\u0448\u0430\u0431"===t?e<4?e:e+12:"\u0441\u0443\u0431\u04b3"===t?e:"\u0440\u04ef\u0437"===t?e>=11?e:e+12:"\u0431\u0435\u0433\u043e\u04b3"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"\u0448\u0430\u0431":e<11?"\u0441\u0443\u0431\u04b3":e<16?"\u0440\u04ef\u0437":e<19?"\u0431\u0435\u0433\u043e\u04b3":"\u0448\u0430\u0431"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0443\u043c|\u044e\u043c)/,ordinal:function(e){var n=e%10,r=e>=100?100:null;return e+(t[e]||t[n]||t[r])},week:{dow:1,doy:7}})}(n("wd/R"))},OySI:function(e,t,n){"use strict";n.d(t,"a",function(){return r});const r={isTestMode:!1}},OzZK:function(e,t,n){"use strict";n.d(t,"a",function(){return _}),n.d(t,"b",function(){return w}),n.d(t,"c",function(){return S});var r=n("mrSG"),i=n("cH1L"),s=n("fXoL"),o=n("2Suw"),a=n("79xS"),c=n("/KA4"),l=n("FwiY"),u=n("XNiG"),h=n("1G5W"),d=n("JX91"),f=n("pLZG"),p=n("ofXK"),m=n("C2AL"),g=n("RwU8");function v(e,t){1&e&&s.Oc(0,"i",1)}const y=["*"],b="button";class _{constructor(e,t,n,r,i){this.elementRef=e,this.cdr=t,this.renderer=n,this.nzConfigService=r,this.directionality=i,this._nzModuleName=b,this.nzBlock=!1,this.nzGhost=!1,this.nzSearch=!1,this.nzLoading=!1,this.nzDanger=!1,this.disabled=!1,this.tabIndex=null,this.nzType=null,this.nzShape=null,this.nzSize="default",this.dir="ltr",this.destroy$=new u.a,this.loading$=new u.a,this.elementRef.nativeElement.classList.add("ant-btn"),this.nzConfigService.getConfigChangeEventForComponent(b).pipe(Object(h.a)(this.destroy$)).subscribe(()=>{this.cdr.markForCheck()})}insertSpan(e,t){e.forEach(e=>{if("#text"===e.nodeName){const n=t.createElement("span"),r=t.parentNode(e);t.insertBefore(r,n,e),t.appendChild(n,e)}})}assertIconOnly(e,t){const n=Array.from(e.childNodes),r=n.filter(e=>"I"===e.nodeName).length,i=n.every(e=>"#text"!==e.nodeName);n.every(e=>"SPAN"!==e.nodeName)&&i&&r>=1&&t.addClass(e,"ant-btn-icon-only")}ngOnInit(){var e;null===(e=this.directionality.change)||void 0===e||e.pipe(Object(h.a)(this.destroy$)).subscribe(e=>{this.dir=e,this.cdr.detectChanges()}),this.dir=this.directionality.value}ngOnChanges(e){const{nzLoading:t,nzType:n}=e;t&&this.loading$.next(this.nzLoading),"danger"===(null==n?void 0:n.currentValue)&&Object(a.c)("'danger' value of 'nzType' in Button is going to be removed in 12.0.0. Please use 'nzDanger' instead.")}ngAfterViewInit(){this.assertIconOnly(this.elementRef.nativeElement,this.renderer),this.insertSpan(this.elementRef.nativeElement.childNodes,this.renderer)}ngAfterContentInit(){this.loading$.pipe(Object(d.a)(this.nzLoading),Object(f.a)(()=>!!this.nzIconDirectiveElement),Object(h.a)(this.destroy$)).subscribe(e=>{const t=this.nzIconDirectiveElement.nativeElement;e?this.renderer.setStyle(t,"display","none"):this.renderer.removeStyle(t,"display")})}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}_.\u0275fac=function(e){return new(e||_)(s.Nc(s.v),s.Nc(s.k),s.Nc(s.Y),s.Nc(o.a),s.Nc(i.c,8))},_.\u0275cmp=s.Hc({type:_,selectors:[["button","nz-button",""],["a","nz-button",""]],contentQueries:function(e,t,n){if(1&e&&s.Gc(n,l.b,!0,s.v),2&e){let e;s.td(e=s.bd())&&(t.nzIconDirectiveElement=e.first)}},hostVars:32,hostBindings:function(e,t){2&e&&(s.Ac("tabindex",t.disabled?-1:null===t.tabIndex?null:t.tabIndex)("disabled",t.disabled||null),s.Fc("ant-btn-primary","primary"===t.nzType)("ant-btn-dashed","dashed"===t.nzType)("ant-btn-link","link"===t.nzType)("ant-btn-text","text"===t.nzType)("ant-btn-danger","danger"===t.nzType)("ant-btn-circle","circle"===t.nzShape)("ant-btn-round","round"===t.nzShape)("ant-btn-lg","large"===t.nzSize)("ant-btn-sm","small"===t.nzSize)("ant-btn-dangerous",t.nzDanger)("ant-btn-loading",t.nzLoading)("ant-btn-background-ghost",t.nzGhost)("ant-btn-block",t.nzBlock)("ant-input-search-button",t.nzSearch)("ant-btn-rtl","rtl"===t.dir))},inputs:{nzBlock:"nzBlock",nzGhost:"nzGhost",nzSearch:"nzSearch",nzLoading:"nzLoading",nzDanger:"nzDanger",disabled:"disabled",tabIndex:"tabIndex",nzType:"nzType",nzShape:"nzShape",nzSize:"nzSize"},exportAs:["nzButton"],features:[s.xc],attrs:["nz-button",""],ngContentSelectors:y,decls:2,vars:1,consts:[["nz-icon","","nzType","loading",4,"ngIf"],["nz-icon","","nzType","loading"]],template:function(e,t){1&e&&(s.ld(),s.Id(0,v,1,0,"i",0),s.kd(1)),2&e&&s.md("ngIf",t.nzLoading)},directives:[p.o,l.b,m.a],encapsulation:2,changeDetection:0}),_.ctorParameters=()=>[{type:s.v},{type:s.k},{type:s.Y},{type:o.a},{type:i.c,decorators:[{type:s.R}]}],_.propDecorators={nzIconDirectiveElement:[{type:s.r,args:[l.b,{read:s.v}]}],nzBlock:[{type:s.G}],nzGhost:[{type:s.G}],nzSearch:[{type:s.G}],nzLoading:[{type:s.G}],nzDanger:[{type:s.G}],disabled:[{type:s.G}],tabIndex:[{type:s.G}],nzType:[{type:s.G}],nzShape:[{type:s.G}],nzSize:[{type:s.G}]},Object(r.b)([Object(c.a)(),Object(r.c)("design:type",Boolean)],_.prototype,"nzBlock",void 0),Object(r.b)([Object(c.a)(),Object(r.c)("design:type",Boolean)],_.prototype,"nzGhost",void 0),Object(r.b)([Object(c.a)(),Object(r.c)("design:type",Boolean)],_.prototype,"nzSearch",void 0),Object(r.b)([Object(c.a)(),Object(r.c)("design:type",Boolean)],_.prototype,"nzLoading",void 0),Object(r.b)([Object(c.a)(),Object(r.c)("design:type",Boolean)],_.prototype,"nzDanger",void 0),Object(r.b)([Object(c.a)(),Object(r.c)("design:type",Boolean)],_.prototype,"disabled",void 0),Object(r.b)([Object(o.b)(),Object(r.c)("design:type",String)],_.prototype,"nzSize",void 0);class w{constructor(e,t){this.elementRef=e,this.directionality=t,this.nzSize="default",this.dir="ltr",this.destroy$=new u.a,this.elementRef.nativeElement.classList.add("ant-btn-group")}ngOnInit(){var e;this.dir=this.directionality.value,null===(e=this.directionality.change)||void 0===e||e.pipe(Object(h.a)(this.destroy$)).subscribe(e=>{this.dir=e})}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}w.\u0275fac=function(e){return new(e||w)(s.Nc(s.v),s.Nc(i.c,8))},w.\u0275cmp=s.Hc({type:w,selectors:[["nz-button-group"]],hostVars:6,hostBindings:function(e,t){2&e&&s.Fc("ant-btn-group-lg","large"===t.nzSize)("ant-btn-group-sm","small"===t.nzSize)("ant-btn-group-rtl","rtl"===t.dir)},inputs:{nzSize:"nzSize"},exportAs:["nzButtonGroup"],ngContentSelectors:y,decls:1,vars:0,template:function(e,t){1&e&&(s.ld(),s.kd(0))},encapsulation:2,changeDetection:0}),w.ctorParameters=()=>[{type:s.v},{type:i.c,decorators:[{type:s.R}]}],w.propDecorators={nzSize:[{type:s.G}]};class S{}S.\u0275mod=s.Lc({type:S}),S.\u0275inj=s.Kc({factory:function(e){return new(e||S)},imports:[[i.a,p.c,g.b,l.c,m.b],m.b,g.b]}),("undefined"==typeof ngJitMode||ngJitMode)&&s.Bd(S,{declarations:function(){return[_,w]},imports:function(){return[i.a,p.c,g.b,l.c,m.b]},exports:function(){return[_,w,m.b,g.b]}})},PA2r:function(e,t,n){!function(e){"use strict";var t={format:"leden_\xfanor_b\u0159ezen_duben_kv\u011bten_\u010derven_\u010dervenec_srpen_z\xe1\u0159\xed_\u0159\xedjen_listopad_prosinec".split("_"),standalone:"ledna_\xfanora_b\u0159ezna_dubna_kv\u011btna_\u010dervna_\u010dervence_srpna_z\xe1\u0159\xed_\u0159\xedjna_listopadu_prosince".split("_")},n="led_\xfano_b\u0159e_dub_kv\u011b_\u010dvn_\u010dvc_srp_z\xe1\u0159_\u0159\xedj_lis_pro".split("_"),r=[/^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],i=/^(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 s(e){return e>1&&e<5&&1!=~~(e/10)}function o(e,t,n,r){var i=e+" ";switch(n){case"s":return t||r?"p\xe1r sekund":"p\xe1r sekundami";case"ss":return t||r?i+(s(e)?"sekundy":"sekund"):i+"sekundami";case"m":return t?"minuta":r?"minutu":"minutou";case"mm":return t||r?i+(s(e)?"minuty":"minut"):i+"minutami";case"h":return t?"hodina":r?"hodinu":"hodinou";case"hh":return t||r?i+(s(e)?"hodiny":"hodin"):i+"hodinami";case"d":return t||r?"den":"dnem";case"dd":return t||r?i+(s(e)?"dny":"dn\xed"):i+"dny";case"M":return t||r?"m\u011bs\xedc":"m\u011bs\xedcem";case"MM":return t||r?i+(s(e)?"m\u011bs\xedce":"m\u011bs\xedc\u016f"):i+"m\u011bs\xedci";case"y":return t||r?"rok":"rokem";case"yy":return t||r?i+(s(e)?"roky":"let"):i+"lety"}}e.defineLocale("cs",{months:t,monthsShort:n,monthsRegex:i,monthsShortRegex:i,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:r,longMonthsParse:r,shortMonthsParse:r,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(e,t,n){"use strict";n.d(t,"a",function(){return Ee});var r=n("mrSG"),i=n("UXJo"),s=n("ofXK"),o=n("fXoL"),a=n("3Pt+"),c=n("tyNb"),l=n("xwJx"),u=n("lkBS");let h=class{constructor(){this.value=0,this.type="default"}get isNumber(){return"number"==typeof this.value}get label(){return"number"==typeof this.value?Math.min(Math.max(this.value,0),99):this.value}};var d;h.propDecorators={value:[{type:o.z,args:["attr.title"]},{type:o.G}],type:[{type:o.z,args:["class"]},{type:o.G}],isNumber:[{type:o.z,args:["class.number-badge"]}]},h=Object(r.b)([Object(o.n)({selector:"app-badge",template:" {{ label }} ",styles:[":host {\n  display: inline-block;\n  font-size: 0.625rem;\n  text-align: center;\n  border-radius: 2px;\n}\n:host.number-badge {\n  width: 1rem;\n  line-height: 1rem;\n}\n:host:not(.number-badge) {\n  padding: 0.125rem 0.5rem;\n}\n:host.default {\n  color: #676b78;\n  background-color: #f4f6fc;\n  box-shadow: 0px 3px 6px rgba(244, 246, 252, 0.3);\n}\n:host.success {\n  color: var(--schema-white);\n  background-color: #3bd599;\n  box-shadow: 0px 3px 6px rgba(59, 213, 153, 0.3);\n}\n:host.danger {\n  color: var(--schema-white);\n  background-color: #fd5a5b;\n  box-shadow: 0px 3px 6px rgba(253, 90, 91, 0.3);\n}\n:host.warning {\n  color: var(--schema-white);\n  background-color: #ffc442;\n  box-shadow: 0px 3px 6px rgba(255, 196, 66, 0.3);\n}\n:host.accent {\n  color: var(--schema-white);\n  background-color: #2572e0;\n  box-shadow: 0px 3px 6px rgba(37, 114, 224, 0.3);\n}\n:host.info {\n  color: var(--schema-white);\n  background-color: #a361dd;\n  box-shadow: 0px 3px 6px rgba(163, 97, 221, 0.3);\n}\n:host.grey {\n  color: var(--schema-white);\n  background-color: #383b42;\n  box-shadow: 0px 3px 6px rgba(56, 59, 66, 0.3);\n}\n:host-context(.badge-host) {\n  position: absolute;\n  top: 0;\n  right: 0;\n  transform: translate(25%, -25%);\n}\n::ng-deep .badge-host {\n  position: relative;\n  display: inline-block;\n}"]})],h);let f=d=class{constructor(){this._value=!1,this.disabled=!1}get value(){return this._value}set value(e){var t;null===(t=this.updated)||void 0===t||t.call(this,this._value=e)}writeValue(e){this._value=!!e}registerOnChange(e){this.updated=e}registerOnTouched(){}setDisabledState(e){this.disabled=e}clickTwiceFix(e){"INPUT"!==e.target.tagName&&e.stopImmediatePropagation()}};f=d=Object(r.b)([Object(o.n)({selector:"app-check",template:'\n    <label (click)="clickTwiceFix($event)">\n      <input [(ngModel)]="value" [ngModelOptions]="{ standalone: true }" [disabled]="disabled" type="checkbox" />\n      <core-icon class="unchecked" name="app:16-unchecked"></core-icon>\n      <core-icon class="checked" name="app:16-checked"></core-icon>\n    </label>\n  ',providers:[{provide:a.k,useExisting:Object(o.sb)(()=>d),multi:!0}],styles:["\n      :host {\n        display: inline-block;\n      }\n\n      input {\n        display: none;\n      }\n\n      .checked {\n        margin-left: -1em;\n      }\n\n      :host:hover input:not(:disabled) ~ .unchecked {\n        transform: scale(0.9);\n        --stroke-width: 2;\n      }\n\n      input:checked ~ .unchecked,\n      input:not(:checked) ~ .checked {\n        opacity: 0;\n      }\n\n      core-icon {\n        color: var(--schema-grey300);\n        cursor: pointer;\n        transition: opacity var(--duration-m), color var(--duration-m);\n      }\n\n      input:disabled ~ core-icon {\n        color: var(--schema-grey200);\n        cursor: default;\n      }\n\n      :host:hover input:not(:disabled) ~ core-icon,\n      input:checked:not(:disabled) ~ core-icon {\n        color: var(--schema-success);\n      }\n    "]})],f);var p=n("8CnT"),m=n("XNiG"),g=n("PqYM"),v=n("LRne"),y=n("/uUt"),b=n("6eBy"),_=n("pLZG");let w=class{constructor(e){this._value="",this.changes=new m.a,this.subscription=this.changes.pipe(Object(y.a)(),Object(b.a)(e=>e?Object(g.a)(1e3):Object(v.a)(e)),Object(_.a)(e=>!e||e.length>0)).subscribe(e=>this.update(e)),this.key=e.key}get value(){return this._value}set value(e){this.changes.next(this._value=e.trim())}get empty(){return!this.value}ngOnDestroy(){this.subscription.unsubscribe()}update(e){var t,n,r;const i=Object.assign({},null!==(n=null===(t=this.filters)||void 0===t?void 0:t.value)&&void 0!==n?n:{});e?i[this.key]=e:delete i[this.key],null===(r=this.filters)||void 0===r||r.next(i)}};w.ctorParameters=()=>[{type:p.b}],w.propDecorators={filters:[{type:o.G}],empty:[{type:o.z,args:["class.empty"]}]},w=Object(r.b)([Object(o.n)({selector:"app-filtered-column",template:'\n    <input [(ngModel)]="value" type="text" />\n    <span>\n      <ng-content></ng-content>\n    </span>\n  ',styles:["\n      :host {\n        display: grid;\n        grid-template: auto/auto;\n      }\n\n      input,\n      span {\n        grid-area: 1 / 1;\n      }\n\n      input {\n        z-index: 1;\n      }\n\n      input,\n      input:focus {\n        padding: 0;\n        border: 0;\n        outline: none;\n        background: none;\n      }\n\n      span {\n        transition: opacity 0.3s;\n      }\n\n      :host:not(.empty) span,\n      input:focus + span {\n        opacity: 0;\n      }\n    "]})],w);let S=class{constructor(e){this.fullyClickable=!0,this.key=e.key}get active(){var e;return!!(null===(e=this.ordering)||void 0===e?void 0:e.value[this.key])}get desc(){var e;return"desc"===(null===(e=this.ordering)||void 0===e?void 0:e.value[this.key])}toggle(){var e,t,n;const r=null!==(t=null===(e=this.ordering)||void 0===e?void 0:e.value)&&void 0!==t?t:{},i=r[this.key]?"asc"===r[this.key]?"desc":void 0:"asc";null===(n=this.ordering)||void 0===n||n.next(Object.assign(Object.assign({},r),{[this.key]:i}))}};S.ctorParameters=()=>[{type:p.b}],S.propDecorators={ordering:[{type:o.G}],fullyClickable:[{type:o.z,args:["class.full"]},{type:o.G}]},S=Object(r.b)([Object(o.n)({selector:"app-ordered-column",template:'\n    <span (click)="fullyClickable && toggle()">\n      <ng-content></ng-content>\n    </span>\n    <button (click)="toggle()">\n      <core-icon [ngClass]="{ \'has-text-primary\': active, \'flip-y\': desc }" name="app:12-dropdown-down"></core-icon>\n    </button>\n  ',styles:["\n      :host {\n        display: flex;\n        align-items: center;\n      }\n\n      span {\n        flex: 1;\n      }\n\n      :host.full span {\n        cursor: pointer;\n      }\n\n      button,\n      button:focus,\n      button:active {\n        padding: 0;\n        border: none;\n        outline: none;\n        background: none;\n        cursor: pointer;\n      }\n    "]})],S);let x=class{constructor(){this.resolve=new o.x,this.title="",this.disable=!1}confirm(e){this.resolve.emit(e)}};x.propDecorators={resolve:[{type:o.S}],title:[{type:o.G}]},x=Object(r.b)([Object(o.n)({selector:"app-confirmation-modal",template:'\n    <div class="modal stage">\n      <div class="modal-card">\n        <header class="modal-card-head">\n          <p class="modal-card-title">{{title}}</p>\n          <span class="icon close" (click)="!disable && resolve.emit()">\n        <core-icon name="app:24-close"></core-icon>\n      </span>\n        </header>\n        <section class="modal-card-foot">\n\n          <div class="stage__buttons">\n            <div class="stage-add-button">\n              <button class="button is-secondary is-large" [disabled]="disable" (click)="confirm(false)">\u041d\u0435\u0442</button>\n            </div>\n            <div class="stage-add-button">\n              <button class="button is-primary is-large" [disabled]="disable"\n                      (click)="disable = !disable; confirm(true);">\u0414\u0430\n              </button>\n            </div>\n          </div>\n        </section>\n      </div>\n    </div>\n  ',styles:["\n    .stage__buttons {\n      display: flex;\n      flex-direction: row;\n      justify-content: space-between;\n    }\n\n    .stage__buttons button {\n      padding: 20px;\n    }\n    \n    .stage-add-button {\n      padding-bottom: 0!important;\n    }\n\n    .stage input {\n      background-color: #eaedf6;\n      height: 45px;\n      font-size: 15px;\n    }\n\n    .stage .modal-card {\n      max-width: 340px;\n    }\n  "]})],x);let O=class{constructor(){this.placeholder="",this.active=!1,this.openup=new o.x,this.clear=new o.x,this.buttons=!0,this.hasAddons=!0}};O.propDecorators={value:[{type:o.G}],placeholder:[{type:o.G}],active:[{type:o.G}],openup:[{type:o.S}],clear:[{type:o.S}],buttons:[{type:o.z,args:["class.buttons"]}],hasAddons:[{type:o.z,args:["class.has-addons"]}]},O=Object(r.b)([Object(o.n)({selector:"app-dropdown-button",template:'\n    <button (click)="openup.emit()" [ngClass]="value ? \'is-primary\' : \'is-light\'" class="button trigger">\n      <span [title]="value">{{ value || placeholder }}</span>\n      <core-icon [ngClass]="{ \'flip-y\': active }" name="app:12-dropdown-down"></core-icon>\n    </button>\n    <button (click)="clear.emit()" *ngIf="value" class="button is-primary clear">\n      <core-icon name="app:12-close"></core-icon>\n    </button>\n  ',changeDetection:o.j.OnPush,styles:["\n      :host {\n        display: inline-block;\n      }\n\n      :host.buttons:not(:last-child),\n      :host.buttons .button {\n        margin-bottom: 0;\n      }\n\n      .trigger {\n        padding-right: 0.25rem;\n      }\n\n      span:first-child {\n        max-width: 20em;\n        overflow: hidden;\n        text-overflow: ellipsis;\n      }\n\n      span:first-child + core-icon {\n        margin-left: 0.25rem;\n      }\n\n      .clear {\n        padding-left: 0.25rem;\n        padding-right: 0.25rem;\n      }\n\n      .clear,\n      .clear:hover {\n        border-left-color: #00000020;\n      }\n    "]})],O);var k=n("7+OI"),C=n("VRyK"),M=n("UXun"),E=n("IzEk"),T=n("lJxs");let j=class{constructor(){this.hasMarker=!0,this.multiple=!1,this.placeholder="",this.align="left",this._value=[],this.valueChange=new o.x,this.data=Object(v.a)([]),this.inter=this.value,this.loading=this.updateLoading()}get items(){return this.data}set items(e){this.data=Object(k.a)(e)?e.pipe(Object(M.a)(1)):Object(v.a)(null!=e?e:[]),this.loading=this.updateLoading()}get value(){return this._value}set value(e){this.inter=this._value=e}get text(){return`${this.inter.map(this.getText).join(", ")}${this.total}`}get total(){return this.inter.length>1?` (${this.inter.length})`:""}get opened(){var e;return!!(null===(e=this.dropdown)||void 0===e?void 0:e.opened)}selected(e){return this.inter.includes(e)}select(e){var t;this.multiple?this.inter=this.selected(e)?this.inter.filter(t=>t!==e):[...this.inter,e]:this.inter[0]!==e&&(this.inter=[e],null===(t=this.dropdown)||void 0===t||t.close())}clear(){this.inter=[],this.update()}update(){this.inter!==this.value&&(this._value=this.inter,this.valueChange.emit(this._value=this.inter))}open(){var e;null===(e=this.dropdown)||void 0===e||e.open()}getText(e){return function(e){return"name"in e}(e)?e.name:e.toString()}updateLoading(){return Object(C.a)(Object(v.a)(!0),this.data.pipe(Object(E.a)(1),Object(T.a)(()=>!1)))}};j.propDecorators={dropdown:[{type:o.mb,args:[l.i]}],tmpl:[{type:o.r,args:[o.ib]}],hasMarker:[{type:o.G}],multiple:[{type:o.G}],placeholder:[{type:o.G}],align:[{type:o.G}],items:[{type:o.G}],value:[{type:o.G}],valueChange:[{type:o.S}]},j=Object(r.b)([Object(o.n)({selector:"app-dropdown-list",template:'\n    <ng-container coreDropdownHost>\n      <ng-content></ng-content>\n      <app-dropdown-button [value]="text" [active]="opened" (openup)="open()" (clear)="clear()" [placeholder]="placeholder"></app-dropdown-button>\n\n      <core-dropdown [align]="align" (openedChange)="!$event && update()">\n        <ng-container *ngIf="opened">\n          <app-loading-panel *ngIf="loading | async" [borderless]="false"></app-loading-panel>\n          <ul *ngIf="opened" class="dropdown-list hoverable">\n            <li *ngFor="let item of data | async" [ngClass]="{ active: selected(item) }" (click)="select(item)">\n              <ng-container *ngTemplateOutlet="tmpl || default; context: { $implicit: item }"></ng-container>\n              <core-icon *ngIf="hasMarker" name="app:16-check" class="marker"></core-icon>\n            </li>\n          </ul>\n        </ng-container>\n      </core-dropdown>\n    </ng-container>\n\n    <ng-template let-item #default>\n      <span [title]="getText(item)">{{ getText(item) }}</span>\n    </ng-template>\n  ',changeDetection:o.j.OnPush,styles:["\n      :host {\n        display: inline-block;\n      }\n\n      app-dropdown-button:not(:first-child) {\n        display: none;\n      }\n    "]})],j);let D=class{constructor(){this.hasMarker=!0,this.multiple=!1,this.placeholder="",this.isLeft=!1,this.disabled=!1,this.isRequired=!1,this.hideUsers=!1,this.hideRoles=!1,this.hideCompanies=!1,this.align="left",this.withType=!1,this.selectedItems=[],this.extraOpened=!1,this._value=[],this.users=[],this.funcRoles=[],this.companies=[],this.valueChange=new o.x,this.data=Object(v.a)([]),this.inter=this.value,this.loading=this.updateLoading()}get items(){return this.data}set items(e){this.data=Object(k.a)(e)?e.pipe(Object(M.a)(1)):Object(v.a)(null!=e?e:[]),this.loading=this.updateLoading()}get value(){return this._value}set value(e){this.inter=this._value=e}get text(){var e;return`${null===(e=this.inter)||void 0===e?void 0:e.map(this.getText).join(", ")}${this.total}`}get total(){return this.inter.length>1?` (${this.inter.length})`:""}get opened(){var e;return!!(null===(e=this.dropdown)||void 0===e?void 0:e.opened)}selected(e){return this.inter.includes(e)}select(e){this.inter=[e],this.extraOpened=!0,setTimeout(()=>{var t,n,r,i;(null===(t=this.optionList)||void 0===t?void 0:t.nativeElement)&&(2===(null===(n=e)||void 0===n?void 0:n.id)?this.optionList.nativeElement.style.top=104-this.optionList.nativeElement.clientHeight+"px":1===(null===(r=e)||void 0===r?void 0:r.id)?this.optionList.nativeElement.style.top=72-this.optionList.nativeElement.clientHeight+"px":this.optionList.nativeElement.style.top=40-this.optionList.nativeElement.clientHeight+"px",this.optionList.nativeElement.style.left=(null===(i=this.dropdownList)||void 0===i?void 0:i.nativeElement.offsetWidth)-8+"px")})}clear(){this.inter=[],this.update()}update(){this.extraOpened=!1}open(){var e;null===(e=this.dropdown)||void 0===e||e.open()}getText(e){return function(e){return"name"in e}(e)?null==e?void 0:e.name:null==e?void 0:e.toString()}updateLoading(){return Object(C.a)(Object(v.a)(!0),this.data.pipe(Object(E.a)(1),Object(T.a)(()=>!1)))}getName(e){var t,n,r;if(this.users.length>0){let n=this.users.filter(t=>t.id===e);if(null==n?void 0:n.length)return null===(t=n[0])||void 0===t?void 0:t.name}if(this.funcRoles.length){let t=this.funcRoles.filter(t=>t.id===e);if(null==t?void 0:t.length)return null===(n=t[0])||void 0===n?void 0:n.name}if(this.companies.length){let t=this.companies.filter(t=>t.id===e);if(null==t?void 0:t.length)return null===(r=t[0])||void 0===r?void 0:r.name}}itemSelect(e,t){var n,r,i;let s=null===(n=this.selectedItems)||void 0===n?void 0:n.filter(e=>this.companies.map(e=>e.id).includes(e)),o=null===(r=this.selectedItems)||void 0===r?void 0:r.filter(e=>this.funcRoles.map(e=>e.id).includes(e)),a=null===(i=this.selectedItems)||void 0===i?void 0:i.filter(e=>this.users.map(e=>e.id).includes(e));if("user"===t?a=e:"role"===t?o=e:s=e,a=a.filter(e=>!!e),o=o.filter(e=>!!e),s=s.filter(e=>!!e),this.multiple?this.selectedItems=[...a,...o,...s]:this.selectedItems=e,this.withType){let n=[];n=this.multiple?[...a.map(e=>({id:e,type:"user"})),...o.map(e=>({id:e,type:"role"})),...s.map(e=>({id:e,type:"company"}))]:e.map(e=>({id:e,type:t})),this.valueChange.emit(n)}else this.valueChange.emit(this.selectedItems)}removeItem(e){delete this.selectedItems[this.selectedItems.indexOf(e)],this.selectedItems=this.selectedItems.filter(e=>e),this.valueChange.emit(this.selectedItems)}};D.propDecorators={dropdown:[{type:o.mb,args:[l.i]}],optionList:[{type:o.mb,args:["optionList"]}],dropdownList:[{type:o.mb,args:["dropdownList"]}],tmpl:[{type:o.r,args:[o.ib]}],hasMarker:[{type:o.G}],multiple:[{type:o.G}],placeholder:[{type:o.G}],isLeft:[{type:o.G}],disabled:[{type:o.G}],isRequired:[{type:o.G}],hideUsers:[{type:o.G}],hideRoles:[{type:o.G}],hideCompanies:[{type:o.G}],align:[{type:o.G}],withType:[{type:o.G}],items:[{type:o.G}],selectedItems:[{type:o.G}],users:[{type:o.G}],funcRoles:[{type:o.G}],companies:[{type:o.G}],value:[{type:o.G}],valueChange:[{type:o.S}]},D=Object(r.b)([Object(o.n)({selector:"app-dropdown-option-list",template:'\n      <div class="dropdown-field" [class.disabled]="disabled"\n          [ngClass]="{\n            \'required\': isRequired\n          }"\n          (click)="open()">\n        <span class="selected-item" *ngFor="let item of selectedItems">{{getName(item)}}\n          <span class="icon close" (click)="removeItem(item)">\n            <core-icon name="app:24-close"></core-icon>\n          </span>\n        </span>\n        <span class="dropdown-placeholder"\n              [ngClass]="{\'required\': isRequired}"\n              *ngIf="selectedItems?.length === 0">\n              {{placeholder || \'\u0412\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u0441\u043e\u0442\u0440\u0443\u0434\u043d\u0438\u043a\u0430, \u0440\u043e\u043b\u044c \u0438\u043b\u0438 \u043a\u043e\u043c\u043f\u0430\u043d\u0438\u044e\'}}\n        </span>\n      </div>\n    <ng-container coreDropdownHost>\n      <ng-content></ng-content>\n      \x3c!--<app-dropdown-button [value]="text" [active]="opened" (openup)="open()" (clear)="clear()" [placeholder]="placeholder"></app-dropdown-button>--\x3e\n      <core-dropdown [align]="align" (openedChange)="!$event && update()">\n        <ng-container *ngIf="opened">\n          <app-loading-panel *ngIf="loading | async" [borderless]="false"></app-loading-panel>\n          <ul *ngIf="opened" class="dropdown-list" #dropdownList>\n            <li class="dropdown-list-item" *ngFor="let item of data | async"\n                [ngClass]="{ active: selected(item),\n                  disabled: item?.disabled,\n                  hidden: item?.hidden }"\n                (click)="select(item)">\n              <ng-container *ngTemplateOutlet="tmpl || default; context: { $implicit: item }"></ng-container>\n              <span class="icon-right"></span>\n            </li>\n          </ul>\n          <div #optionList class="options-list" [class.left]="isLeft" *ngIf="extraOpened && opened && inter[0].id === 0">\n            <app-option-list  class="extra-options" #userList\n                                    *ngIf="!hideUsers"\n                                    [multiple]="multiple"\n                                    [users]="users"\n                                    [selectedUsers]="selectedItems"\n                                    [isAdmin]="isAdmin"\n                                    [isText]="isText"\n                                    (checked)="itemSelect($event, \'user\')">\n            </app-option-list>\n          </div>\n          <div #optionList class="options-list" [class.left]="isLeft" *ngIf="extraOpened && opened && inter[0].id === 1 && !hideRoles">\n            <app-option-list class="extra-options" #rolesList\n                                    *ngIf="!hideRoles"\n                                    [multiple]="multiple"\n                                    [users]="funcRoles"\n                                    [selectedUsers]="selectedItems"\n                                    [isAdmin]="isAdmin"\n                                    [isText]="isText"\n                                    (checked)="itemSelect($event, \'role\')">\n            </app-option-list>\n          </div>\n          <div #optionList class="options-list" [class.left]="isLeft" *ngIf="extraOpened && opened && inter[0].id === 2 && !hideCompanies">\n            <app-option-list class="extra-options" #companiesList\n                                    *ngIf="!hideCompanies"\n                                    [multiple]="multiple"\n                                    [users]="companies"\n                                    [selectedUsers]="selectedItems"\n                                    [isAdmin]="isAdmin"\n                                    [isText]="isText"\n                                    (checked)="itemSelect($event, \'company\')">\n            </app-option-list>\n          </div>\n        </ng-container>\n      </core-dropdown>\n    <ng-container></ng-container>\n\n    <ng-template let-item #default>\n      <span [title]="getText(item)">{{ getText(item) }}</span>\n    </ng-template>\n  ',changeDetection:o.j.OnPush,styles:['\n      :host {\n        position: relative;\n      }\n\n      app-dropdown-button:not(:first-child) {\n        display: none;\n      }\n\n      .dropdown-list-item {\n        font-size: 14px;\n      }\n\n      .dropdown-placeholder {\n        color: rgba(0, 0, 0, 0.25);\n        font-size: 14px;\n        line-height: 22px;\n      }\n\n      .dropdown-placeholder.required {\n        color: #FF4D4F;\n      }\n\n      .dropdown-field.required {\n        border-color: #FF4D4F;\n      }\n\n      .dropdown-list-item:hover {\n          background-color: #F5F5F5;\n          cursor: pointer;\n          font-weight: 600;\n      }\n\n      .dropdown-list-item.active {\n          background-color: #F5F5F5;\n          cursor: pointer;\n          font-weight: 600;\n      }\n\n      .dropdown-field {\n        padding: 8px 12px;\n        border: 1px solid #D9D9D9;\n        position: relative;\n        display: flex;\n        flex-wrap: wrap;\n        gap: 4px;\n        border-radius: 2px;\n      }\n\n      .dropdown-field:focus {\n          border-color: #40a9ff;\n          border-right-width: 1px!important;\n          outline: 0;\n          box-shadow: 0 0 0 2px rgba(24,144,255,.2);\n      }\n\n      .icon-right {\n        width: 12px;\n        height: 12px;\n        display: flex;\n        background-image: url("/assets/icons/12/dropdown-right.svg");\n      }\n\n      .dropdown-field.modal-placeholder {\n          color: rgba(0, 0, 0, 0.25);\n      }\n\n      .disabled {\n        opacity: 0.6;\n        pointer-events: none;\n        cursor: not-allowed;\n      }\n\n      .hidden {\n        display: none !important;\n      }\n\n      .dropdown-list li {\n        line-height: 2rem;\n      }\n\n      .modal-placehoder {\n        color: rgba(0, 0, 0, 0.25);\n      }\n\n      .arrow-icon {\n        position: absolute;\n        right: 12px;\n        font-size: 24px;\n      }\n\n      .options-list {\n        position: absolute;\n        z-index: 10;\n        background-color: white;\n        left: 404px;\n        box-shadow: var(--schema-shadow-raised);\n        width: 300px;\n      }\n\n      .options-list.left {\n        left: -390px!important;\n      }\n\n      .selected-item {\n        height: 24px;\n        padding: 0px 8px;\n        font-size: 14px;\n        border-radius: 2px;\n        border: 1px solid var(--neutral-4, #F0F0F0);\n        background: var(--neutral-3, #F5F5F5);\n      }\n\n      .icon.close {\n        cursor: pointer;\n      }\n\n      .disabled {\n        color: #000;\n        pointer-events: none;\n        cursor: not-allowed;\n        background: #f5f5f5;\n        opacity: 1;\n      }\n    ']})],D);var A=n("bPt0");let L=class{constructor(){this.wide=!1}};L.propDecorators={wide:[{type:o.G}]},L=Object(r.b)([Object(o.n)({selector:"app-modal",template:'\n    <div class="modal">\n      <div class="modal-card" [class.wide]="wide">\n        <div class="modal-card-head">\n          <ng-content select="[modal-header]"></ng-content>\n        </div>\n\n        <div class="modal-card-body">\n          <ng-content select="[modal-body]"></ng-content>\n        </div>\n\n        <div class="modal-card-foot">\n          <ng-content select="[modal-footer]"></ng-content>\n        </div>\n      </div>\n    </div>\n  '})],L);let z=class{constructor(){this.borderless=!0}};z.propDecorators={borderless:[{type:o.z,args:["class.borderless"]},{type:o.G}]},z=Object(r.b)([Object(o.n)({selector:"app-loading-panel",template:'\n    <div>\n      <core-icon name="core:spinner"></core-icon>\n    </div>\n  ',styles:["\n      :host {\n        display: flex;\n        color: var(--schema-accent);\n        font-size: 28px;\n        backdrop-filter: blur(4px);\n      }\n\n      :host:not(.borderless) {\n        border-radius: 4px;\n        background-color: var(--schema-white);\n      }\n\n      div {\n        margin: auto;\n      }\n    "]})],z);let P=class{constructor(){this.hasMarker=!0,this.multiple=!1,this.placeholder="",this.align="left",this._value=[],this.valueChange=new o.x,this.data=Object(v.a)([]),this.inter=this.value,this.loading=this.updateLoading()}get items(){return this.data}set items(e){this.data=Object(k.a)(e)?e.pipe(Object(M.a)(1)):Object(v.a)(null!=e?e:[]),this.loading=this.updateLoading()}get value(){return this._value}set value(e){this.inter=this._value=e}get text(){var e;return`${null===(e=this.inter)||void 0===e?void 0:e.map(this.getText).join(", ")}${this.total}`}get total(){return this.inter.length>1?` (${this.inter.length})`:""}get opened(){var e;return!!(null===(e=this.dropdown)||void 0===e?void 0:e.opened)}selected(e){return this.inter.includes(e)}select(e){var t;this.multiple?this.inter=this.selected(e)?this.inter.filter(t=>t!==e):[...this.inter,e]:this.inter[0]!==e&&(this.inter=[e],null===(t=this.dropdown)||void 0===t||t.close())}clear(){this.inter=[],this.update()}update(){this.inter!==this.value&&(this._value=this.inter,this.valueChange.emit(this._value=this.inter))}open(){var e;null===(e=this.dropdown)||void 0===e||e.open()}getText(e){return function(e){return"name"in e}(e)?null==e?void 0:e.name:null==e?void 0:e.toString()}updateLoading(){return Object(C.a)(Object(v.a)(!0),this.data.pipe(Object(E.a)(1),Object(T.a)(()=>!1)))}};P.propDecorators={dropdown:[{type:o.mb,args:[l.i]}],tmpl:[{type:o.r,args:[o.ib]}],hasMarker:[{type:o.G}],multiple:[{type:o.G}],placeholder:[{type:o.G}],align:[{type:o.G}],items:[{type:o.G}],value:[{type:o.G}],valueChange:[{type:o.S}]},P=Object(r.b)([Object(o.n)({selector:"app-modal-dropdown-list",template:'\n    <ng-container coreDropdownHost>\n      <ng-content></ng-content>\n      \x3c!--<app-dropdown-button [value]="text" [active]="opened" (openup)="open()" (clear)="clear()" [placeholder]="placeholder"></app-dropdown-button>--\x3e\n      <div class="dropdown-field" [ngClass]="{ \'modal-placehoder\': !text}" (click)="open()">{{text ? text: placeholder}}\n        <core-icon class="arrow-icon"  name="app:12-arrow-down"></core-icon>\n      </div>\n      <core-dropdown [align]="align" (openedChange)="!$event && update()">\n        <ng-container *ngIf="opened">\n          <app-loading-panel *ngIf="loading | async" [borderless]="false"></app-loading-panel>\n          <ul *ngIf="opened" class="dropdown-list">\n            <li class="dropdown-list-item" *ngFor="let item of data | async"\n                [ngClass]="{ active: selected(item), disabled: item?.disabled }"\n                (click)="select(item)">\n              <ng-container *ngTemplateOutlet="tmpl || default; context: { $implicit: item }"></ng-container>\n              <core-icon *ngIf="hasMarker" name="app:16-check" class="marker"></core-icon>\n            </li>\n          </ul>\n        </ng-container>\n      </core-dropdown>\n    </ng-container>\n\n    <ng-template let-item #default>\n      <span [title]="getText(item)">{{ getText(item) }}</span>\n    </ng-template>\n  ',changeDetection:o.j.OnPush,styles:["\n      app-dropdown-button:not(:first-child) {\n        display: none;\n      }\n\n      .dropdown-list-item {\n        font-size: 14px;\n      }\n\n      .dropdown-list-item:hover {\n          background-color: #F5F5F5;\n          cursor: pointer;\n      }\n\n      .dropdown-field {\n        padding: 8px 12px;\n        border: 1px solid #D9D9D9;\n        position: relative;\n      }\n\n      .dropdown-field:focus {\n          border-color: #40a9ff;\n          border-right-width: 1px!important;\n          outline: 0;\n          box-shadow: 0 0 0 2px rgba(24,144,255,.2);\n      }\n\n      .dropdown-field.modal-placeholder {\n          color: rgba(0, 0, 0, 0.25);\n      }\n\n      .disabled {\n        opacity: 0.6;\n        pointer-events: none;\n        cursor: not-allowed;\n      }\n\n      .dropdown-list li {\n        line-height: 2rem;\n      }\n\n      .modal-placehoder {\n        color: rgba(0, 0, 0, 0.25);\n      }\n\n      .arrow-icon {\n        position: absolute;\n        right: 12px;\n        font-size: 24px;\n      }\n    "]})],P);let I=class{constructor(){this.fullyClickable=!0,this.key=""}get active(){var e;return!!(null===(e=this.ordering)||void 0===e?void 0:e.value[this.key])}get desc(){var e;return"desc"===(null===(e=this.ordering)||void 0===e?void 0:e.value[this.key])}toggle(){var e,t,n;const r=null!==(t=null===(e=this.ordering)||void 0===e?void 0:e.value)&&void 0!==t?t:{},i=r[this.key]?"asc"===r[this.key]?"desc":void 0:"asc";null===(n=this.ordering)||void 0===n||n.next(Object.assign(Object.assign({},r),{[this.key]:i}))}};I.ctorParameters=()=>[],I.propDecorators={ordering:[{type:o.G}],fullyClickable:[{type:o.z,args:["class.full"]},{type:o.G}],key:[{type:o.G}]},I=Object(r.b)([Object(o.n)({selector:"app-ordering",template:'\n    <span (click)="fullyClickable && toggle()">\n      <ng-content></ng-content>\n    </span>\n    <button (click)="toggle()">\n      <core-icon [ngClass]="{ \'has-text-primary\': active, \'flip-y\': desc }" name="app:12-dropdown-down"></core-icon>\n    </button>\n  ',styles:["\n      :host {\n        display: flex;\n        align-items: center;\n      }\n\n      span {\n        flex: 1;\n      }\n\n      :host.full span {\n        cursor: pointer;\n      }\n\n      button,\n      button:focus,\n      button:active {\n        padding: 0;\n        border: none;\n        outline: none;\n        background: none;\n        cursor: pointer;\n      }\n    "]})],I);var R=n("/FM7"),N=n("btuV"),H=n("9eNV"),F=n("2Vo4");let V=class{constructor(e,t,n){this.profile=e,this.detect=t,this.security=n,this.isHeader=!1}ngOnInit(){return Object(r.a)(this,void 0,void 0,function*(){this.userProfile||(this.isHeader?this.profile.subscribe(e=>{this.user=e,this.detect.detectChanges()}):(this.user=this.username&&(yield this.security.profiles.get(this.username))||void 0,this.detect.markForCheck()))})}};V.ctorParameters=()=>[{type:F.a,decorators:[{type:o.C,args:[H.b]}]},{type:o.k},{type:N.c}],V.propDecorators={username:[{type:o.G}],isHeader:[{type:o.G}],userProfile:[{type:o.G}]},V=Object(r.b)([Object(o.n)({selector:"app-user",template:'\n    <app-user-avatar [user]="user || userProfile"></app-user-avatar>\n    <div class="name-and-desc">\n      <div [title]="user?.fullname || user?.name || userProfile?.fullname || userProfile?.name " class="name">\n        {{ user?.fullname || user?.name || userProfile?.fullname || userProfile?.name }}</div>\n      <div class="desc"><ng-content></ng-content></div>\n    </div>\n    <div *ngIf="this.userProfile" class="organization" [title]="userProfile?.organization">{{userProfile?.organization}}</div>\n  ',changeDetection:o.j.OnPush,styles:["\n      :host {\n        display: flex;\n        align-items: center;\n        height: 2rem;\n        padding: 0 12px 0 4px;\n        background: rgba(0, 66, 105, 0.07);\n        border-radius: 99px;\n      }\n\n      app-user-avatar {\n        margin-right: 0.5em;\n        order: 1;\n      }\n\n      .organization {\n        flex: 1;\n        white-space: nowrap;\n        font-size: 0.75rem;\n      }\n\n      /*:host[dir='rtl'] app-user-avatar {*/\n        /*margin-left: 0.5em;*/\n        /*margin-right: 0;*/\n      /*}*/\n    "]})],V);let B=class{constructor(){this.files=[],this.fileDropped=new o.x,this.dragOver=new o.x}onDragOver(e){e.preventDefault(),e.stopPropagation(),this.dragOver.emit(!0)}onDragLeave(e){e.preventDefault(),e.stopPropagation(),this.dragOver.emit(!1)}onDrop(e){return Object(r.a)(this,void 0,void 0,function*(){e.preventDefault(),e.stopPropagation(),e.dataTransfer.items.length&&(yield this.handleDrop(e),this.fileDropped.emit(this.files))})}handleDrop(e){return Object(r.a)(this,void 0,void 0,function*(){e.preventDefault();let t=this;const n=Object.keys(e.dataTransfer.items);function i(e,n){return new Promise((s,o)=>Object(r.a)(this,void 0,void 0,function*(){n.readEntries(n=>Object(r.a)(this,void 0,void 0,function*(){var a;n.length?yield Promise.all((a=n,a.sort((e,t)=>e.name.localeCompare(t.name))).map(n=>Object(r.a)(this,void 0,void 0,function*(){if(n.isFile){n.name;yield new Promise((e,t)=>n.file(t=>e(t),e=>t(e))).then(n=>t.files.push({file:n,path:e}))}else if(n.isDirectory){const t=e+"/"+n.name,r=n.createReader();yield i(t,r)}}))):t.files.push({file:{},path:e,isOnlyFolder:!0}),s(),o()}))}))}yield Promise.all(n.map(t=>Object(r.a)(this,void 0,void 0,function*(){const n=e.dataTransfer.items[t].webkitGetAsEntry();if(n)if(n.isFile)yield new Promise((e,t)=>n.file(t=>e(t),e=>t(e))).then(e=>this.files.push({file:e,path:"/"}));else if(n.isDirectory){const e=n.createReader();return yield i(n.fullPath,e)}})))})}};B.propDecorators={fileDropped:[{type:o.S}],dragOver:[{type:o.S}],onDragOver:[{type:o.A,args:["dragover",["$event"]]}],onDragLeave:[{type:o.A,args:["dragleave",["$event"]]}],onDrop:[{type:o.A,args:["drop",["$event"]]}]},B=Object(r.b)([Object(o.u)({selector:"[dndFile]"})],B);var Y=n("qhR1");let U=class{constructor(e,t,n){this.templateRef=e,this.viewContainer=t,this.role=n,this.has=!1}set forRole(e){const t=(Array.isArray(e)?e:e?[e]:[]).includes(this.role);this.has!==t&&this.update(this.has=t)}update(e){this.viewContainer.clear(),e&&this.viewContainer.createEmbeddedView(this.templateRef)}};U.ctorParameters=()=>[{type:o.ib},{type:o.ob},{type:Y.e,decorators:[{type:o.C,args:[Y.b]}]}],U.propDecorators={forRole:[{type:o.G}]},U=Object(r.b)([Object(o.u)({selector:"[forRole]"})],U);let W=class{constructor(e,t,n,r){this.templateRef=e,this.viewContainer=t,this.roles=n,this.adminRoles=r,this.has=!1}set forRoles(e){let t=(Array.isArray(e)?e:e?[e]:[]).some(e=>this.roles.concat(this.adminRoles).includes(e));Array.isArray(e)&&!e.length&&(t=!0),this.has!==t&&this.update(this.has=t)}update(e){this.viewContainer.clear(),e&&this.viewContainer.createEmbeddedView(this.templateRef)}};W.ctorParameters=()=>[{type:o.ib},{type:o.ob},{type:Y.e,decorators:[{type:o.C,args:[Y.c]}]},{type:Y.a,decorators:[{type:o.C,args:[Y.d]}]}],W.propDecorators={forRoles:[{type:o.G}]},W=Object(r.b)([Object(o.u)({selector:"[forRoles]"})],W);var q=n("FwiY"),$=n("dEAy"),G=n("zAKX"),X=n("+wfv"),K=n("mjQ1"),J=n("SURy"),Q=n("jhN1"),Z=n("tEnP");const ee={root:l.w.entities.root.id,class:"5c394e0e-8722-41a3-9610-95d89fd50cab",collection:Z.b,properties:{created:l.w.entities.attributes.created,modified:l.w.entities.attributes.modified,name:l.w.entities.attributes.name,signature:"60179f42-b7b8-42d5-89eb-fa277f6b8080",signatureFile:"277c9982-0d68-4afc-92a7-94679c0a259a",owner:"3c4d0946-2e3c-401c-a8e3-abf21cdc7dd2",certificate:"1b512abe-fc9e-470c-bf0d-a24715f25733",validity:"17e099ff-e65b-4ad4-8aec-d372f1bbc450",validFrom:"ccd647db-3b4f-4f15-9a96-4e9b89e82b0f",validTo:"e0c09cc7-fead-4cec-b2f5-0a3bd51a73b9",user_link:{id:Z.c,map:K.b.option}}};let te=class{constructor(e,t){this.entities=e,this.metadata=t,this.klass=this.metadata.classes.get(ee.class)}checkValidSystemSetup(){return Object(r.a)(this,void 0,void 0,function*(){return yield Object(X.isValidSystemSetup)().then(e=>e).catch(()=>!1)})}checkPlugIn(){return Object(r.a)(this,void 0,void 0,function*(){return yield Object(X.getSystemInfo)().then(e=>!!e.cadesVersion).catch(e=>{if(e)return!1})})}getCertificates(){return Object(r.a)(this,void 0,void 0,function*(){return yield Object(X.getUserCertificates)().then(e=>({res:e,err:null})).catch(e=>({res:null,err:e}))})}save(e,t){return Object(r.a)(this,void 0,void 0,function*(){return this.entities.collections(e,ee.collection).create(t)})}};te.ctorParameters=()=>[{type:K.a},{type:J.c}],te=Object(r.b)([Object(o.D)()],te);let ne=class{constructor(e,t,n,r,i,s,a){this.sanitizer=e,this.metadata=t,this.edsService=n,this.content=r,this.entities=i,this.auth=s,this.user=a,this.isHavePlugIn=!0,this.isCloseModals=!0,this.successSign=!1,this.canSign=!1,this.isNoLicense=!1,this.certList=null,this.errMessage="",this.selectedCert=null,this.fileInfo=[],this.updateItemAfterEDS=new o.x}ngAfterContentInit(){return Object(r.a)(this,void 0,void 0,function*(){const e=yield this.auth.identity.roles.find(e=>e===Y.e.ProjectInstitute||e===Y.e.Eol||e===Y.e.Approver);this.canSign=!!e})}sign(){return Object(r.a)(this,void 0,void 0,function*(){const{user:{id:e}}=this,t={where:{and:[{class:{eq:"078ab326-82f3-11ea-a962-bec6ee0e9dc3"}},{ancestors:{exists:{id:{eq:e}}}}]},select:"*"},{items:[n]}=yield this.entities.analytic.query(t,{skip:0,take:1e6}).toPromise(),{links:r}=n,i=r["4b82f09e-98de-4952-83f1-ade9e818fadc"][0].id,{items:s}=yield this.entities.collections(i,"f1b0bd17-3218-44e7-8924-ff6acee864d6").query({skip:0,take:1e6});let o=null;for(const a of s){const e={where:{and:[{class:{eq:a.classId}},{ancestors:{exists:{id:{eq:a.id}}}}]},select:"*"},{items:[t]}=yield this.entities.analytic.query(e,{skip:0,take:1e6}).toPromise(),n=t.properties["afb7ee38-c5b6-11e9-bdef-0242ac110002"],r=t.properties["9aa3862e-463c-448b-a663-bbd301f3c487"],i=new Date(n).getTime(),s=new Date(r).getTime(),c=Date.now();i<=c&&c<=s&&(o=t)}if(o){if(this.isHavePlugIn=yield this.edsService.checkValidSystemSetup(),this.isHavePlugIn){const e=yield this.edsService.getCertificates();e&&(this.errMessage=e.err,this.certList=e.res)}this.isCloseModals=!1}else this.isNoLicense=!0})}selectCert(e){return Object(r.a)(this,void 0,void 0,function*(){(yield e.isValid())&&(this.certOwnerInfo=yield e.getOwnerInfo())})}signFile(){var e,t,n,i,s;return Object(r.a)(this,void 0,void 0,function*(){for(const o of this.items)try{const a=yield this.content.url(o.file.id,!0),c=yield this.content.download(a).toPromise(),l=yield new Response(c).arrayBuffer(),u=yield Object(X.createHash)(l),h=yield Object(X.createDetachedSignature)((null===(e=this.selectedCert)||void 0===e?void 0:e.thumbprint)||"",u),d=new File([h],o.file.name+".p7s",{type:"application/pkcs7-signature"}),f=yield this.content.upload(d).toPromise();this.fileInfo.push(f),this.electronicSign={name:null===(t=this.selectedCert)||void 0===t?void 0:t.name,owner:this.certOwnerInfo[0].title,certificate:null===(n=this.selectedCert)||void 0===n?void 0:n.thumbprint,user_link:{id:this.user.id,name:this.user.name},signatureFile:f,validFrom:null===(i=this.selectedCert)||void 0===i?void 0:i.validFrom,validTo:null===(s=this.selectedCert)||void 0===s?void 0:s.validTo};const p=yield this.metadata.classes.get(ee.class),m=Object(K.h)(this.electronicSign,ee,p);try{m.id=yield this.edsService.save(o.id,m)}catch(r){this.errMessage="\u041e\u0448\u0438\u0431\u043a\u0430 \u043f\u0440\u0438 \u0441\u043e\u0445\u0440\u0430\u043d\u0435\u043d\u0438\u0438 \u042d\u041f"}}catch(r){this.errMessage=r.message}this.successSign=!this.errMessage,this.updateItemAfterEDS.emit(this.items)})}};ne.ctorParameters=()=>[{type:Q.b},{type:J.c},{type:te},{type:u.b},{type:K.a},{type:l.b},{type:void 0,decorators:[{type:o.C,args:[H.a]}]}],ne.propDecorators={items:[{type:o.G}],updateItemAfterEDS:[{type:o.S}]},ne=Object(r.b)([Object(o.n)({selector:"eds-component",template:'<div>\n  <button class="button is-white" *ngIf="canSign" (click)="sign()" nz-button nzType="link">\u041f\u043e\u0434\u043f\u0438\u0441\u0430\u0442\u044c \u042d\u0426\u041f</button>\n</div>\n\n<nz-modal nzWidth="520" nzCentered="true" (nzOnCancel)="isNoLicense=false" [(nzVisible)]="isNoLicense" nzClassName="zkx" [nzFooter]="null" [nzStyle]="{ top: \'0px\' }">\n  <div class=\'eds-modal__container\'>\n    <p style="font-size: 18px;color: black;font-weight: bold">\u0424\u0443\u043d\u043a\u0446\u0438\u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u042d\u0426\u041f \u043d\u0435 \u0432\u0445\u043e\u0434\u0438\u0442 \u0432 \u0432\u0430\u0448\u0443 \u043b\u0438\u0446\u0435\u043d\u0437\u0438\u044e. \u041d\u0443\u0436\u043d\u043e \u0434\u043e\u043a\u0443\u043f\u0438\u0442\u044c \u043b\u0438\u0446\u0435\u043d\u0437\u0438\u0438 \u043d\u0430 \u042d\u0426\u041f.</p>\n  </div>\n</nz-modal>\n\n<nz-modal nzWidth="520" (nzOnCancel)="isCloseModals=true" [(nzVisible)]="!isHavePlugIn && !isCloseModals" nzClassName="zkx" [nzFooter]="null" [nzStyle]="{ top: \'0px\' }">\n  <div class=\'eds-modal__container\'>\n    <p>\u041f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430, \u043f\u0440\u043e\u0432\u0435\u0440\u044c\u0442\u0435, \u0447\u0442\u043e \u0443 \u0432\u0430\u0441 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d \u041a\u0440\u0438\u043f\u0442\u043e\u041f\u0440\u043e CSP. \u0415\u0441\u043b\u0438 \u043e\u043d \u043d\u0435 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d, \u043f\u0440\u043e\u0439\u0434\u0438\u0442\u0435\n      <a href=\'https://cryptopro.ru/products/csp\' target=\'_blank\'>\u043f\u043e \u0441\u0441\u044b\u043b\u043a\u0435</a> \u0438 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435</p>\n    <p>\u041a \u0441\u043e\u0436\u0430\u043b\u0435\u043d\u0438\u044e, \u043d\u0430 \u0432\u0430\u0448\u0435\u043c \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440\u0435 \u043d\u0435 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d \u041a\u0440\u0438\u043f\u0442\u043e \u041f\u0440\u043e \u043f\u043b\u0430\u0433\u0438\u043d</p>\n    <a href=\'https://www.cryptopro.ru/products/cades/plugin\' target=\'_blank\'>\u0412\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u0441\u043a\u0430\u0447\u0430\u0442\u044c \u0435\u0433\u043e \u043f\u043e \u0442\u043e\u0439 \u0441\u0441\u044b\u043b\u043a\u0435</a>\n    <p>\u041f\u043e\u0441\u043b\u0435 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 \u043f\u043b\u0430\u0433\u0438\u043d\u0430, \u043d\u0435 \u0437\u0430\u0431\u0443\u0434\u044c\u0442\u0435 \u0432\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u0435\u0433\u043e \u0432 \u0441\u0432\u043e\u0435\u043c \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0435</p>\n    <p>\u0414\u043b\u044f \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 \u0442\u0435\u0441\u0442\u043e\u0432\u043e\u0433\u043e \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u0430 \u043d\u0443\u0436\u043d\u043e \u0437\u0430\u043f\u043e\u043b\u043d\u0438\u0442\u044c <a href=\'https://www.cryptopro.ru/certsrv/certrqma.asp\' target=\'_blank\'>\u0444\u043e\u0440\u043c\u0443</a>\n      \u0411\u043b\u043e\u043a "\u0418\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u0446\u0438\u0440\u0443\u044e\u0449\u0438\u0435 \u0441\u0432\u0435\u0434\u0435\u043d\u0438\u044f" \u0438 "\u041f\u043e\u043d\u044f\u0442\u043d\u043e\u0435 \u0438\u043c\u044f" \u0432 \u0431\u043b\u043e\u043a\u0435 "\u0414\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b", \u043d\u0430\u0436\u0430\u0442\u044c \u043d\u0430 \u043a\u043d\u043e\u043f\u043a\u0443 "\u0412\u044b\u0434\u0430\u0442\u044c" </p>\n    <p>\u0414\u0430\u043b\u0435\u0435 \u043d\u0430\u0436\u0430\u0442\u044c \u043d\u0430 "\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u044d\u0442\u043e\u0442 \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442"</p>\n    <button nz-button nzType="link" (click)=\'isCloseModals=true\'>\u0412\u0441\u0435 \u044f\u0441\u043d\u043e</button>\n  </div>\n</nz-modal>\n\n<nz-modal nzWidth="520" (nzOnCancel)="isCloseModals=true" [(nzVisible)]="isHavePlugIn && !isCloseModals" nzClassName="zkx" [nzFooter]="null" [nzStyle]="{ top: \'0px\' }">\n  <div class=\'eds-modal__container\'>\n    <p>\u041f\u043b\u0430\u0433\u0438\u043d \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d, \u043c\u043e\u0436\u043d\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c.</p>\n    <p> \u0412\u044b \u0445\u043e\u0442\u0438\u0442\u0435 \u043f\u043e\u0434\u043f\u0438\u0441\u0430\u0442\u044c \u0444\u0430\u0439\u043b\u044b</p>\n    <div *ngFor="let item of items">{{item.file?.name || item.fileFR?.name}}</div>\n    <div *ngIf=\'!!this.errMessage\'>\n      \u041f\u0440\u043e\u0431\u043b\u0435\u043c\u044b \u0441 \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u043c: {{this.errMessage}}\n    </div>\n    <div *ngIf=\'this.certList\' class=\'cert-container\'>\n      <p>\u0412\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442</p>\n      <nz-select  [(ngModel)]="selectedCert" class=\'cert-select\'\n      (ngModelChange)="selectCert($event)">\n        <nz-option *ngFor=\'let c of certList\' [nzValue]="c" [nzLabel]="c.name"></nz-option>\n      </nz-select>\n      <button nz-button nzType="primary" (click)=\'signFile()\'>\u041f\u043e\u0434\u043f\u0438\u0441\u0430\u0442\u044c</button>\n      <button nz-button nzType="link" (click)=\'isCloseModals=true\'>\u041e\u0442\u043c\u0435\u043d\u0438\u0442\u044c</button>\n    </div>\n    <div *ngIf=\'successSign\'>\n      \u0423\u0440\u0430! \u0412\u044b \u0443\u0441\u043f\u0435\u0448\u043d\u043e \u043f\u043e\u0434\u043f\u0438\u0441\u0430\u043b\u0438 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442 \u0438 \u0441\u043e\u0445\u0440\u0430\u043d\u0438\u043b\u0438 \u043f\u043e\u0434\u043f\u0438\u0441\u044c \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440. \u0413\u0443\u0438\u0434\u044b \u0444\u0430\u0439\u043b\u043e\u0432 \u0434\u043b\u044f \u0441\u043a\u0430\u0447\u0438\u0432\u0430\u043d\u0438\u044f:\n      <div *ngFor="let item of fileInfo">\n        {{item.id}}\n      </div>\n    </div>\n  </div>\n</nz-modal>\n',providers:[te],styles:[".content {\n  flex: 1;\n  display: flex;\n  background: var(--lk-bg-form);\n  padding: var(--x3);\n  overflow-y: auto;\n}\n\n.container {\n  display: flex;\n  width: 100vw;\n  height: 100vh;\n  padding: calc(8 * var(--x1));\n  justify-content: center;\n}\n\n.box {\n  background-color: var(--lk-bg-panel);\n  min-width: 900px;\n  max-width: var(--max-width);\n  display: flex;\n  flex-direction: column;\n  box-shadow: 0px 8px 24px rgba(0, 0, 0, 0.2);\n}\n\n.header {\n  display: flex;\n  align-items: center;\n  padding: var(--x2) var(--x3);\n  border-bottom: 1px solid var(--lk-contractor-border);\n}\n\n.title {\n  flex: 1;\n  padding-right: var(--x3);\n  font-size: 20px;\n  font-weight: bold;\n}\n\napp-lk-status {\n  margin: 0 var(--x2);\n}\n\n.close {\n  font-size: 1rem;\n  color: grey;\n}\n\n.footer {\n  border-top: 1px solid var(--lk-contractor-border);\n  padding: var(--x2) var(--x3);\n  display: flex;\n  justify-content: flex-end;\n}\n\n.comments {\n  padding: 0 var(--x3);\n}",":host {\n  flex: 1;\n  position: relative;\n}\n\n.eds-modal__container {\n  width: 600px;\n}\n\n.eds-modal__container * {\n  color: #23346B;\n}\n\n.cert-container {\n  display: flex;\n  flex-direction: column;\n}\n\n.cert-select {\n  min-width: 50px;\n}"]})],ne);let re=class{constructor(){this.visible=!1}};re.propDecorators={item:[{type:o.G}],visible:[{type:o.G}]},re=Object(r.b)([Object(o.n)({selector:"modal-show-file-signatures",template:'<nz-modal nzWidth="920" (nzOnCancel)="visible=false" [(nzVisible)]="visible" nzClassName="zkx full" [nzFooter]="null" [nzStyle]="{ top: \'0px\' }">\n  <div class=\'eds-modal__container\' *ngIf=\'!!item && !!item.eds\'>\n    <p>\u0424\u0430\u0439\u043b \u043f\u043e\u0434\u043f\u0438\u0441\u0430\u043b\u0438 {{item.eds.length}} \u0440\u0430\u0437.</p>\n    <div>\n      <p> \u041f\u043e\u0434\u043f\u0438\u0441\u0430\u043b\u0438: </p>\n      <div *ngFor=\'let i of item.eds\'> \u041d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u0430: {{i.name}} \u0412\u043b\u0430\u0434\u0435\u043b\u0435\u0446: {{i.owner}}</div>\n    </div>\n  </div>\n</nz-modal>\n',providers:[te],styles:[":host {\n  flex: 1;\n  position: relative;\n}\n\n.eds-modal__container {\n  padding: 15px;\n}\n\n.cert-container {\n  display: flex;\n  flex-direction: column;\n}\n\n.cert-select {\n  min-width: 50px;\n}\n"]})],re);var ie=n("itXk"),se=n("HDdC"),oe=n("x7h3"),ae=n("LtKc"),ce=n("4lKt"),le=n("Ml5Y");let ue=class{constructor(e,t,n,r,i,s,a,c,l,u){this.router=t,this.settings=i,this.content=s,this.sanitizer=a,this.service=c,this.documentState=l,this.route=u,this.menu=!0,this.home=!1,this.showHome=!1,this.logo=!1,this.hideLogo=!1,this.search=!0,this.notifications=!0,this.favorites=!0,this.instruction=!0,this.project=!1,this.projectList=!1,this.sidebarLogo=!1,this.isAdministration=!1,this.isClassifiers=!1,this.isSubscription=!1,this.about=!0,this.profile=!0,this.showSupport=!0,this.isMobile=!1,this.toggleSidebar=new o.x,this.preload=!1,this.isSupport=!1,this.isAdminPage=!1,this.isSidebarOpened=!0,this.curProject=null,this.projects=[],this.logotip="",this.username="",this.originRoute="",e.subscribe(e=>this.username=e.name);const h=t.parseUrl(t.url);delete h.root.children.aside,this.currentUrl=t.serializeUrl(h),this.isAdminPage=this.currentUrl.toString().indexOf("administration")>=0,this.newNotifications=Object(ie.a)(n.new,r.new).pipe(Object(T.a)(([e,t])=>e+t)),this.isMobile||this.getLogotip(),this.route.params.subscribe(e=>{this.projectId=Number(e.project),this.curProject=this.documentState.projects.find(e=>e.id===this.projectId)||null})}ngOnInit(){this.project&&(this.documentState.projects.length?(this.projects=this.documentState.projects,this.curProject=this.documentState.projects.find(e=>e.id===this.projectId)||null):this.getProjects(),this.documentState.getUpdateProjects().subscribe(e=>{this.projects.some(t=>t.id===e.id)||(this.projects=[...this.projects,e],this.projectId=e.id,this.documentState.projects.push(e),this.curProject=e)})),this.originRoute=window.location.origin,this.isSidebarOpened=!this.isMobile}getAsideUrl(e){return this.isAsideActive(e)?this.getUrl(null):this.getUrl(e)}isAsideActive(e){return this.router.isActive(this.router.createUrlTree(this.getUrl(e)),!1)}getUrl(e){return["",{outlets:{aside:e}}]}navigateHome(){return Object(r.a)(this,void 0,void 0,function*(){const e=this.router.parseUrl(this.router.url).root.children.primary.segments[0].path;yield this.router.navigateByUrl("/project/"+e)})}cancelSupport(){this.isSupport=!1}getLogotip(){return Object(r.a)(this,void 0,void 0,function*(){const e=yield this.settings.get(".webapp.windows.logotip");if(Object.keys(e).length){const{".webapp.windows.logotip":{logo:t}}=e;this.logotip=this.sanitizer.bypassSecurityTrustUrl(t)}this.logo=!0})}getProjects(){this.service.queryAll().subscribe(e=>{this.projects=e,this.documentState.projects=e,this.curProject=this.documentState.projects.find(e=>e.id===this.projectId)||null})}url(e){return e&&this.sanitizer.sanitize(o.cb.URL,e)}goTo(){const e=this.router.serializeUrl(this.router.parseUrl(this.router.url)).split("/");this.curProject=this.documentState.projects.find(e=>e.id===this.projectId)||null,e[2]=this.projectId.toString(),this.router.navigate(e)}toggle(){this.toggleSidebar.emit("toggle"),this.isSidebarOpened=!this.isSidebarOpened}};ue.ctorParameters=()=>[{type:se.a,decorators:[{type:o.C,args:[H.b]}]},{type:c.d},{type:ae.b},{type:oe.a},{type:l.r},{type:u.b},{type:Q.b},{type:le.a},{type:ce.a},{type:c.a}],ue.propDecorators={menu:[{type:o.G}],home:[{type:o.G}],showHome:[{type:o.G}],logo:[{type:o.G}],hideLogo:[{type:o.G}],search:[{type:o.G}],notifications:[{type:o.G}],favorites:[{type:o.G}],instruction:[{type:o.G}],project:[{type:o.G}],projectList:[{type:o.G}],sidebarLogo:[{type:o.G}],isAdministration:[{type:o.G}],isClassifiers:[{type:o.G}],isSubscription:[{type:o.G}],about:[{type:o.G}],profile:[{type:o.G}],showSupport:[{type:o.G}],isMobile:[{type:o.G}],toggleSidebar:[{type:o.S}]},ue=Object(r.b)([Object(o.n)({selector:"app-header",template:'<div class="container-block max-width"\n     [class.mobile]="isMobile"\n     [class.project]="project || isAdminPage">\n  <div routerLink="/" class="logo" [ngClass]="{\'hide-logo\': hideLogo, \'project\': project || isAdminPage}" [class.logo-img]="sidebarLogo" *ngIf="logo && !isMobile">\n    <core-icon *ngIf="!logotip; else elseBlock" name="app:logo"></core-icon>\n    <ng-template #elseBlock>\n      <img class="custom-logo" [src]="logotip" alt="" />\n    </ng-template>\n  </div>\n  <button *ngIf="menu" class="button is-white floating-button">\n    <core-icon name="app:16-menu"></core-icon>\n  </button>\n  <a (click)="navigateHome()" *ngIf="home" title="\u0414\u043e\u043c\u043e\u0439" class="home">\n    <core-icon name="app:24-home"></core-icon>\n  </a>\n  <div class="sidebar-toggle" *ngIf="project || isAdminPage || isClassifiers" [ngClass]="{\'hidden\': hideLogo && (project || isAdminPage || isClassifiers), \'preload\': !!(!logo)}">\n    <span (click)="toggle()" class="toggle-icon" nz-icon [nzType]="isSidebarOpened ? \'menu-fold\' : \'menu-unfold\'" nzTheme="outline"></span>\n  </div>\n  <div class="sidebar-toggle" *ngIf="showHome">\n    <span routerLink="/" class="toggle-icon" nz-icon nzType="home" nzTheme="outline"></span>\n  </div>\n  <div *ngIf="isAdministration" class="administration-title">\n    \u041f\u0430\u043d\u0435\u043b\u044c \u0430\u0434\u043c\u0438\u043d\u0438\u0441\u0442\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435\n  </div>\n  <div *ngIf="isClassifiers" class="classifiers-title"></div>\n  <nz-select class="custom-select" [ngClass]="{\'hidden\': hideLogo && (projectList || isAdminPage)}" nzId="id" [nzCustomTemplate]="defaultTemplate" [(ngModel)]="projectId" *ngIf="projectList" (ngModelChange)="goTo()">\n    <nz-option nzCustomContent *ngFor="let item of projects" [nzLabel]="item.name" [nzValue]="item.id">\n      <img class="img" [src]="url(item.photo | contentUrl | async)">\n      <span class="select-title">{{item.name}}</span>\n    </nz-option>\n  </nz-select>\n  <ng-template #defaultTemplate let-selected>\n    <ng-container *ngIf="curProject?.photo">\n      <img class="img" [src]="url(curProject.photo | contentUrl | async)">\n    </ng-container>\n    {{curProject?.name}}\n  </ng-template>\n  <div class="right">\n    <ng-content></ng-content>\n    \x3c!--<a--\x3e\n    \x3c!--[routerLink]="[\'/\', { outlets: { primary: \'search\', aside: null } }]"--\x3e\n    \x3c!--[queryParams]="{ returnUrl: currentUrl }"--\x3e\n    \x3c!--queryParamsHandling="merge"--\x3e\n    \x3c!--*ngIf="search"--\x3e\n    \x3c!--title="\u041f\u043e\u0438\u0441\u043a"--\x3e\n    \x3c!--class="action"--\x3e\n    \x3c!--&gt;--\x3e\n    \x3c!--<core-icon name="app:24-search"></core-icon>--\x3e\n    \x3c!--</a>--\x3e\n    <a *ngIf="isSubscription" [href]="originRoute + \'/my\'"  class="link-item">\u0423\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u043f\u043e\u0434\u043f\u0438\u0441\u043a\u0430\u043c\u0438</a>\n    <a [routerLink]="getAsideUrl(\'notifications\')" [class.active]="isAsideActive(\'notifications\')" *ngIf="notifications" title="\u0423\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u044f" class="action">\n          <span class="badge-host">\n            <span nz-icon nzType="bell" nzTheme="outline"></span>\n            <app-badge *ngIf="((newNotifications | async) || 0) > 0" [value]="(newNotifications | async) || 0" type="danger"></app-badge>\n          </span>\n    </a>\n    \x3c!--<a [routerLink]="getAsideUrl(\'favorites\')" [class.active]="isAsideActive(\'favorites\')" *ngIf="favorites" class="link-item"> \u0418\u0437\u0431\u0440\u0430\u043d\u043d\u043e\u0435 </a>--\x3e\n    <a  class="action support" (click)="isSupport = true" *ngIf="showSupport" title="\u0421\u043b\u0443\u0436\u0431\u0430 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0438">\n      <span nz-icon nzType="mail" nzTheme="outline"></span>\n    </a>\n    <a target="_blank" href="https://t.me/LITEBIM_ServiceDesk_Bot">\n      <img src="assets/telegram.png" style="width: 14px;margin-top: -2px" />\n    </a>\n    <a target="_blank" href="https://litebim.notion.site/litebim/LITEBIM-DOCS-4c5c3db500cb445195fec40ae74a6868" [class.active]="isAsideActive(\'instruction\')" *ngIf="instruction" title="\u0421\u043f\u0440\u0430\u0432\u043a\u0430" class="action">\n      <span nz-icon nzType="info-circle" nzTheme="outline"></span>\n    </a>\n    \x3c!-- <a  class="link-item" [routerLink]="getAsideUrl(\'about\')" [class.active]="isAsideActive(\'about\')" *ngIf="about" title="\u041e \u043a\u043e\u043c\u043f\u0430\u043d\u0438\u0438">\u041e \u043a\u043e\u043c\u043f\u0430\u043d\u0438\u0438</a> --\x3e\n    <app-user *ngIf="profile" [routerLink]="getAsideUrl(\'profile\')" [username]="username" [isHeader]="true" dir="rtl"></app-user>\n  </div>\n</div>\n<ng-container *ngIf="isSupport">\n  <app-support *coreModal="isSupport; close: cancelSupport.bind(this)" (resolve)="cancelSupport()" (cancel)="cancelSupport()"></app-support>\n</ng-container>\n',styles:['.container-block {\n  padding: 20px 28px 20px 18px;\n}\n\n:host {\n  background: var(--schema-white);\n  display: flex;\n  align-items: center;\n  width: 100%;\n  box-shadow: 0 -1px 0 0 inset var(--schema-grey200);\n}\n\n.container-block {\n  height: 4rem;\n}\n\n.container-block.project {\n  height: 3rem;\n}\n\n.logo core-icon {\n  font-size: 73px;\n  color: var(--schema-grey500) !important;\n}\n\n.logo {\n  display: flex;\n  align-items: center;\n  height: 32px;\n  justify-content: start;\n  margin-right: 8px;\n}\n\n.logo.project {\n  opacity: 0;\n}\n\n.logo-img {\n  margin-bottom: 10px;\n  width: 164px;\n}\n\ncore-icon {\n  font-size: 1.5rem;\n  color: #185a7a !important;\n}\n\n.support core-icon {\n  font-size: 18px;\n}\n\n.link-item {\n  color: #185a7a;\n  font-weight: 600;\n  font-size: 12px;\n  line-height: 16px;\n  padding: 8px;\n}\n\n.home {\n  margin-left: 1rem;\n}\n\n.img {\n  max-height: 24px;\n  max-width: 24px;\n  margin-right: 8px;\n}\n\n.custom-select {\n  width: 256px;\n  margin-left: 16px;\n  border: 1px solid #D9D9D9;\n}\n\n.select-title {\n  font-weight: 600;\n  font-size: 12px;\n  line-height: 16px;\n  color: rgba(0, 0, 0, 0.85);\n}\n\n.right {\n  display: flex;\n  gap: 1.5rem;\n  align-items: center;\n  margin-left: auto;\n}\n\n.right a {\n  color: black !important;\n}\n\n.administration-title,\n.classifiers-title {\n  margin-left: 16px;\n  font-family: "Roboto", sans-serif;\n  font-size: 14px;\n  font-weight: 400;\n  line-height: 22px;\n}\n\n.hide-logo {\n  display: none;\n}\n\n.sidebar-icon {\n  width: 20px;\n  height: 20px;\n  background-image: url("/assets/icons/menu-fold.svg");\n  background-size: 100%;\n  display: flex;\n  cursor: pointer;\n}\n\n.hidden .sidebar-icon {\n  background-image: url("/assets/icons/menu-unfold.svg");\n}\n\n.sidebar-toggle {\n  margin-left: 26px;\n}\n\n.sidebar-toggle.hidden {\n  margin-left: 60px;\n}\n\n.sidebar-toggle.preload {\n  margin-left: 198px;\n}\n\n@media screen and (max-width: 768px) {\n  .mobile .sidebar-toggle {\n    margin-left: 0;\n  }\n  .mobile .sidebar-toggle.hidden, .mobile .sidebar-toggle.preload {\n    margin-left: 0;\n  }\n  .mobile .sidebar-toggle + .sidebar-toggle {\n    margin-left: 16px;\n  }\n}\n\n@media screen and (max-width: 768px) and (max-width: 375px) {\n  .container-block.mobile {\n    padding-right: 0;\n  }\n  .container-block.mobile .custom-select {\n    width: calc(100% - 85px);\n  }\n}']})],ue);let he=class{constructor(){this.users=[],this.selectedUsers=[],this.filter="",this.hasRole=!1,this.isText=!1,this.isAdmin=!1,this.multiple=!1,this.checked=new o.x,this.selectItem=new o.x,this.usersList=[],this.all=!1,this.admin=Y.f[Y.e.Admin],this.data=[]}ngOnInit(){this.data=JSON.parse(JSON.stringify(this.users)),this.data.forEach(e=>{var t;e.checked=(null===(t=this.selectedUsers)||void 0===t?void 0:t.indexOf(e.id))>=0}),this.all=this.data.every(e=>e.checked)}selectAll(){this.data.forEach(e=>e.checked=this.all),this.checked.emit(this.data.filter(e=>e.checked).map(e=>e.id))}select(e){const t=JSON.parse(JSON.stringify(e));this.multiple||this.data.forEach(e=>e.checked=!1),this.data.filter(t=>t.id===e.id)[0].checked=t.checked,this.all=this.data.every(e=>e.checked),this.checked.emit(this.data.filter(e=>e.checked).map(e=>e.id))}};he.ctorParameters=()=>[],he.propDecorators={users:[{type:o.G}],selectedUsers:[{type:o.G}],filter:[{type:o.G}],hasRole:[{type:o.G}],isText:[{type:o.G}],isAdmin:[{type:o.G}],multiple:[{type:o.G}],checked:[{type:o.S}],selectItem:[{type:o.S}]},he=Object(r.b)([Object(o.n)({selector:"app-option-list",template:'<div class="list-users">\n  <div class="scroll-block">\n    <div class="item-user header" *ngIf="multiple">\n      <input type="checkbox" [(ngModel)]="all" (ngModelChange)="selectAll()" class="checkbox-user">\n      \u0412\u044b\u0431\u0440\u0430\u0442\u044c \u0432\u0441\u0435\n    </div>\n    <div class="item-user" *ngFor="let user of data | filterUsers : filter">\n      <input type="checkbox" [(ngModel)]="user.checked" (ngModelChange)="select(user)" class="checkbox-user">\n      {{user.name}}\n    </div>\n  </div>\n</div>\n',styles:[":host {\n  flex: 1;\n}\n\n.list-users {\n  display: flex;\n  flex-direction: column;\n  height: 100%;\n  flex: 1;\n  max-height: 264px;\n}\n\n.scroll-block {\n  display: flex;\n  flex-direction: column;\n  flex: 1;\n  overflow-y: auto;\n  height: 100%;\n  overflow-x: hidden;\n  padding: 0 12px;\n}\n\n.item-user {\n  min-height: 44px;\n  display: flex;\n  width: 100%;\n  align-items: center;\n  color: #141414;\n  font-weight: 500;\n  font-size: 14px;\n  line-height: 20px;\n  gap: 10px;\n}\n\n.item-user ::ng-deep app-dropdown-list .button {\n  background: none;\n  font-weight: 500;\n  font-size: 14px;\n  line-height: 20px;\n  color: #676B78;\n}\n\n.item-user ::ng-deep app-dropdown-list .button.is-primary {\n  background: none;\n  font-weight: 500;\n  font-size: 14px;\n  line-height: 20px;\n  color: #676B78 !important;\n}\n\n.item-user ::ng-deep app-dropdown-list .button.is-primary:hover {\n  background: none !important;\n}\n\n.item-user ::ng-deep app-dropdown-list .button core-icon {\n  margin-left: 15px;\n  font-size: 20px;\n  color: #BFC7DC;\n}\n\n.item-user ::ng-deep app-dropdown-list .clear {\n  display: none;\n}\n\n.item-user ::ng-deep app-dropdown-list core-icon.marker {\n  display: none;\n}\n\n.checkbox-user {\n  transform: scale(1.5);\n  margin-left: 4px;\n  margin-right: 2px;\n}\n\n.avatar {\n  width: 28px;\n  min-width: 28px;\n  height: 28px;\n  border-radius: 50%;\n  background: #DFE2EB;\n}\n\n.header .avatar {\n  background: white;\n}\n\n.role {\n  margin-left: auto;\n  margin-right: 40px;\n}\n\n.item {\n  font-weight: 600;\n  font-size: 14px;\n  line-height: 20px;\n  padding: 8px 0 8px 12px;\n  margin-left: -0.75rem;\n}\n\n.item.active {\n  border-left: 2px solid #2572E0;\n}\n\napp-dropdown-list {\n  margin-left: auto;\n}\n\n.ml-auto {\n  margin-left: auto;\n}"]})],he);var de=n("tk/3");let fe=class{constructor(e,t,n){this.route=e,this.httpClient=t,this.user=n,this.sender="",this.phone="",this.text="",this.email="",this.resolve=new o.x,this.updated=new o.x}ngAfterContentInit(){return Object(r.a)(this,void 0,void 0,function*(){const{user:{fullname:e,name:t}}=this;this.sender=e,this.email=t})}uuidv4(){return Object(r.a)(this,void 0,void 0,function*(){return"xxxxxxxx".replace(/[xy]/g,function(e){const t=16*Math.random()|0;return("x"==e?t:3&t|8).toString(16)})})}submit(){return Object(r.a)(this,void 0,void 0,function*(){const e=yield this.uuidv4(),{text:t,sender:n,phone:r,email:i}=this,s=`\n      \u041e\u0431\u0440\u0430\u0449\u0435\u043d\u0438\u0435: ${e.toUpperCase()}, <br><br>\n      ${t}<br><br>\n      ${n}<br>\n      ${r}<br>\n      ${i}\n    `;try{yield this.sendEmailNotification("support@litebim.ru",s)}catch(o){}yield this.close()})}close(e=!1){return Object(r.a)(this,void 0,void 0,function*(){this.resolve.emit(e)})}sendEmailNotification(e,t){return Object(r.a)(this,void 0,void 0,function*(){const{files:n}=document.getElementById("files"),r=new FormData;r.append("recipient",e),r.append("message",t);for(const e of n)r.append("files",e);return this.httpClient.post("/api/v1/notifications/email/send",r).toPromise()})}};fe.ctorParameters=()=>[{type:c.a},{type:de.c},{type:void 0,decorators:[{type:o.C,args:[H.a]}]}],fe.propDecorators={resolve:[{type:o.S}],updated:[{type:o.S}]},fe=Object(r.b)([Object(o.n)({selector:"app-support",template:'<div class="modal">\n  <div class="modal-card" [class.info]="true" style="max-width: 440px; width: auto">\n    <section class="modal-card-body">\n      <ng-container *ngIf="true">\n        <div class="header-block">\n          <div class="modal-card-title">\u0423 \u0432\u0430\u0441 \u0432\u043e\u0437\u043d\u0438\u043a \u0432\u043e\u043f\u0440\u043e\u0441?</div>\n          <div class="modal-card-title modal-card-subtitle">\u0417\u0430\u043f\u043e\u043b\u043d\u0438\u0442\u0435 \u043e\u043a\u043d\u043e \u043e\u0431\u0440\u0430\u0449\u0435\u043d\u0438\u044f \u0438 \u043d\u0430\u0448 \u043c\u0435\u043d\u0435\u0434\u0436\u0435\u0440 \u0441 \u0432\u0430\u043c\u0438 \u0441\u0432\u044f\u0436\u0435\u0442\u0441\u044f.</div>\n          <span class="icon close" (click)="close()">\n            <core-icon name="app:24-close"></core-icon>\n          </span>\n        </div>\n\n        <div class="modal-input">\n          <div class="modal-input-title">\u0412\u0430\u0448\u0435 \u0438\u043c\u044f</div>\n          <div>\n            <input type="text" placeholder="\u0418\u043c\u044f" [(ngModel)]="sender" />\n          </div>\n        </div>\n\n        <div class="modal-input">\n          <div class="modal-input-title">\u0412\u0430\u0448 \u0442\u0435\u043b\u0435\u0444\u043e\u043d</div>\n          <div>\n            <input type="text" placeholder="\u0412\u0430\u0448 \u0442\u0435\u043b\u0435\u0444\u043e\u043d" [(ngModel)]="phone" />\n          </div>\n        </div>\n\n        <div class="modal-input">\n          <div class="modal-input-title">\u0422\u0435\u043a\u0441\u0442 \u043e\u0431\u0440\u0430\u0449\u0435\u043d\u0438\u044f</div>\n          <div>\n            <textarea [(ngModel)]="text"></textarea>\n          </div>\n        </div>\n\n        <input id="files" type="file" multiple />\n\n        <button class="btn-primary" (click)="submit()">\u041e\u0442\u043f\u0440\u0430\u0432\u0438\u0442\u044c</button>\n      </ng-container>\n    </section>\n  </div>\n</div>\n',styles:[".modal-card.info {\n  min-height: auto;\n}\n\n.modal-card {\n  min-height: 694px;\n}\n\n.modal-card-body {\n  padding: 1.5rem 2rem 2rem;\n  display: flex;\n  flex-direction: column;\n}\n\n.modal-card-title {\n  font-weight: 600;\n  font-size: 1.25rem;\n  line-height: 24px;\n}\n\n.modal-card-subtitle {\n  font-size: 14px;\n  font-weight: normal;\n  margin-top: 10px;\n}\n\n.header-block {\n  display: flex;\n  justify-content: space-between;\n  margin-bottom: 12px;\n  flex-direction: column;\n  text-align: center;\n}\n\napp-tabs {\n  height: calc(100% - 36px);\n}\n\n.close {\n  cursor: pointer;\n  position: absolute;\n  right: 20px;\n  top: 20px;\n}\n\n.close core-icon {\n  font-size: 24px;\n}\n\n.modal-input {\n  margin-top: 20px;\n}\n\n.modal-input input {\n  border: 1px solid #8d8d8d;\n  outline: none;\n  width: 100%;\n  margin-top: 5px;\n  border-radius: 5px;\n  font-size: 16px;\n  padding: 4px;\n}\n\n.modal-input textarea {\n  border: 1px solid #8d8d8d;\n  outline: none;\n  width: 100%;\n  height: 160px;\n  margin-top: 5px;\n  border-radius: 5px;\n  font-size: 16px;\n  padding: 4px;\n}\n\n.modal-input-title {\n  font-size: 12px;\n}\n\n.btn-primary {\n  margin-top: 20px;\n  padding: 12px 20px;\n  background: #2572E0;\n  border-radius: 4px;\n  border: none;\n  color: #FFFFFF;\n  font-weight: 600;\n  font-size: 14px;\n  line-height: 20px;\n  cursor: pointer;\n}\n"]})],fe);let pe=class{transform(e){if(e){const t=/\s\+\s/g;return e.replace(t,", ")}return e||""}};pe=Object(r.b)([Object(o.W)({name:"accessLevel"})],pe);let me=class{transform(e){let t=" \u044d\u0442\u0430\u043f";return e&&(e<5&&e>1?t=" \u044d\u0442\u0430\u043f\u0430":e>=5&&(t=" \u044d\u0442\u0430\u043f\u043e\u0432")),(e||0)+t}};me=Object(r.b)([Object(o.W)({name:"convertStage"})],me);let ge=class{transform(e){let t=" \u0444\u0430\u0439\u043b";return e&&(e<5&&e>1?t=" \u0444\u0430\u0439\u043b\u0430":e>=5&&(t=" \u0444\u0430\u0439\u043b\u043e\u0432")),(e||0)+t}};ge=Object(r.b)([Object(o.W)({name:"fileCount"})],ge);var ve=n("Rarl");let ye=class{transform(e,t){return t?e.filter(e=>e.name.toLowerCase().includes(t.toLowerCase())):e}};ye=Object(r.b)([Object(o.W)({name:"filterUsers"})],ye);let be=class{constructor(){this.colors=new Map}hasColor(e){return this.colors.has(e)}getColor(e){return this.colors.get(e)}setColor(e,t){this.colors.set(e,t)}};be=Object(r.b)([Object(o.D)({providedIn:"root"})],be);let _e=class{constructor(e){this.usersColor=e}transform(e){if(!this.usersColor.hasColor(e)){const t=Math.floor(16777215*Math.random()).toString(16);this.usersColor.setColor(e,t)}return"#"+this.usersColor.getColor(e)}};_e.ctorParameters=()=>[{type:be}],_e=Object(r.b)([Object(o.W)({name:"getColor"})],_e);let we=class{transform(e,t){return(null==e?void 0:e.length)?e.filter(e=>t.includes(e.status.name)).length:0}};we=Object(r.b)([Object(o.W)({name:"groupingByStatus"})],we);let Se=class{transform(e){return e.split(" ").slice(0,2).map(e=>e.charAt(0).toUpperCase()).join("")}};Se=Object(r.b)([Object(o.W)({name:"initialLetter"})],Se);let xe=class{transform(e,t){return t?e.filter(e=>{var t,n;return"\u0432\u0445\u043e\u0434\u044f\u0449\u0438\u0435"!==(null===(t=null==e?void 0:e.name)||void 0===t?void 0:t.toLowerCase())&&"\u043f\u0440\u043e\u0441\u0440\u043e\u0447\u0435\u043d\u043d\u044b\u0435"!==(null===(n=null==e?void 0:e.name)||void 0===n?void 0:n.toLowerCase())}):e.filter(e=>{var t,n;return"\u0432\u0445\u043e\u0434\u044f\u0449\u0438\u0435"===(null===(t=null==e?void 0:e.name)||void 0===t?void 0:t.toLowerCase())||"\u043f\u0440\u043e\u0441\u0440\u043e\u0447\u0435\u043d\u043d\u044b\u0435"===(null===(n=null==e?void 0:e.name)||void 0===n?void 0:n.toLowerCase())})}};xe=Object(r.b)([Object(o.W)({name:"mobileTaskPipe"})],xe);var Oe=n("Cfvw"),ke=n("bHdf"),Ce=n("vkgz");let Me=class{constructor(e){this.security=e}transform(e){return Object(Oe.a)(e).pipe(Object(T.a)(e=>(console.log(e),Object(Oe.a)(this.security.profiles.get(e.name)))),Object(ke.a)(),Object(Ce.a)(e=>console.log(e)))}};Me.ctorParameters=()=>[{type:N.c}],Me=Object(r.b)([Object(o.W)({name:"profiles"})],Me);let Ee=class{};Ee=Object(r.b)([Object(o.L)({declarations:[f,R.a,V,z,S,I,w,U,L,z,f,W,O,j,P,D,he,A.a,ue,h,pe,ve.a,ge,x,ye,B,ne,re,fe,Se,_e,me,we,Me,xe],exports:[f,R.a,V,z,S,I,w,U,L,z,f,W,O,j,P,D,he,A.a,ue,h,pe,ve.a,ge,x,ye,B,ne,re,fe,Se,_e,me,we,Me,q.c,xe],imports:[s.c,a.j,l.g,u.a,c.g,i.b,$.a,G.f]})],Ee)},PDX0:function(e,t){(function(t){e.exports=t}).call(this,{})},PScX:function(e,t,n){"use strict";n.d(t,"a",function(){return E}),n.d(t,"b",function(){return M}),n.d(t,"c",function(){return C}),n.d(t,"d",function(){return P});var r=n("+rOU"),i=n("fXoL"),s=n("2Suw"),o=n("XNiG"),a=n("pLZG"),c=n("IzEk"),l=n("1G5W"),u=n("rDax"),h=n("JwMs"),d=n("/KA4"),f=n("cH1L"),p=n("ofXK"),m=n("pdGh"),g=n("FwiY"),v=n("GR68");function y(e,t){if(1&e){const e=i.Uc();i.Tc(0,"nz-message",2),i.ad("destroyed",function(t){i.xd(e);return i.ed().remove(t.id,t.userAction)}),i.Sc()}if(2&e){const e=t.$implicit;i.md("instance",e)}}function b(e,t){1&e&&i.Oc(0,"i",10)}function _(e,t){1&e&&i.Oc(0,"i",11)}function w(e,t){1&e&&i.Oc(0,"i",12)}function S(e,t){1&e&&i.Oc(0,"i",13)}function x(e,t){1&e&&i.Oc(0,"i",14)}function O(e,t){if(1&e&&(i.Rc(0),i.Oc(1,"span",15),i.Qc()),2&e){const e=i.ed();i.zc(1),i.md("innerHTML",e.instance.content,i.yd)}}let k=0;class C{constructor(e,t,n){this.nzSingletonService=e,this.overlay=t,this.injector=n}remove(e){this.container&&(e?this.container.remove(e):this.container.removeAll())}getInstanceId(){return`${this.componentPrefix}-${k++}`}withContainer(e){let t=this.nzSingletonService.getSingletonWithKey(this.componentPrefix);if(t)return t;const n=this.overlay.create({hasBackdrop:!1,scrollStrategy:this.overlay.scrollStrategies.noop(),positionStrategy:this.overlay.position().global()}),i=new r.d(e,null,this.injector),s=n.attach(i);return n.overlayElement.style.zIndex="1010",t||(this.container=t=s.instance,this.nzSingletonService.registerSingletonWithKey(this.componentPrefix,t)),t}}class M{constructor(e,t){this.cdr=e,this.nzConfigService=t,this.instances=[],this.destroy$=new o.a,this.updateConfig()}ngOnInit(){this.subscribeConfigChange()}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}create(e){const t=this.onCreate(e);return this.instances.length>=this.config.nzMaxStack&&(this.instances=this.instances.slice(1)),this.instances=[...this.instances,t],this.readyInstances(),t}remove(e,t=!1){this.instances.some((n,r)=>n.messageId===e&&(this.instances.splice(r,1),this.instances=[...this.instances],this.onRemove(n,t),this.readyInstances(),!0))}removeAll(){this.instances.forEach(e=>this.onRemove(e,!1)),this.instances=[],this.readyInstances()}onCreate(e){return e.options=this.mergeOptions(e.options),e.onClose=new o.a,e}onRemove(e,t){e.onClose.next(t),e.onClose.complete()}readyInstances(){this.cdr.detectChanges()}mergeOptions(e){const{nzDuration:t,nzAnimate:n,nzPauseOnHover:r}=this.config;return Object.assign({nzDuration:t,nzAnimate:n,nzPauseOnHover:r},e)}}M.\u0275fac=function(e){return new(e||M)(i.Nc(i.k),i.Nc(s.a))},M.\u0275dir=i.Ic({type:M}),M.ctorParameters=()=>[{type:i.k},{type:s.a}];class E{constructor(e){this.cdr=e,this.destroyed=new i.x,this.animationStateChanged=new o.a,this.userAction=!1,this.eraseTimer=null}ngOnInit(){this.options=this.instance.options,this.options.nzAnimate&&(this.instance.state="enter",this.animationStateChanged.pipe(Object(a.a)(e=>"done"===e.phaseName&&"leave"===e.toState),Object(c.a)(1)).subscribe(()=>{clearTimeout(this.closeTimer),this.destroyed.next({id:this.instance.messageId,userAction:this.userAction})})),this.autoClose=this.options.nzDuration>0,this.autoClose&&(this.initErase(),this.startEraseTimeout())}ngOnDestroy(){this.autoClose&&this.clearEraseTimeout(),this.animationStateChanged.complete()}onEnter(){this.autoClose&&this.options.nzPauseOnHover&&(this.clearEraseTimeout(),this.updateTTL())}onLeave(){this.autoClose&&this.options.nzPauseOnHover&&this.startEraseTimeout()}destroy(e=!1){this.userAction=e,this.options.nzAnimate?(this.instance.state="leave",this.cdr.detectChanges(),this.closeTimer=setTimeout(()=>{this.closeTimer=void 0,this.destroyed.next({id:this.instance.messageId,userAction:e})},200)):this.destroyed.next({id:this.instance.messageId,userAction:e})}initErase(){this.eraseTTL=this.options.nzDuration,this.eraseTimingStart=Date.now()}updateTTL(){this.autoClose&&(this.eraseTTL-=Date.now()-this.eraseTimingStart)}startEraseTimeout(){this.eraseTTL>0?(this.clearEraseTimeout(),this.eraseTimer=setTimeout(()=>this.destroy(),this.eraseTTL),this.eraseTimingStart=Date.now()):this.destroy()}clearEraseTimeout(){null!==this.eraseTimer&&(clearTimeout(this.eraseTimer),this.eraseTimer=null)}}E.\u0275fac=function(e){return new(e||E)(i.Nc(i.k))},E.\u0275dir=i.Ic({type:E}),E.ctorParameters=()=>[{type:i.k}];const T="message",j={nzAnimate:!0,nzDuration:3e3,nzMaxStack:7,nzPauseOnHover:!0,nzTop:24,nzDirection:"ltr"};class D extends M{constructor(e,t){super(e,t),this.destroy$=new o.a,this.dir="ltr",this.instances=[];const n=this.nzConfigService.getConfigForComponent(T);this.dir=(null==n?void 0:n.nzDirection)||"ltr"}subscribeConfigChange(){this.nzConfigService.getConfigChangeEventForComponent(T).pipe(Object(l.a)(this.destroy$)).subscribe(()=>{this.updateConfig();const e=this.nzConfigService.getConfigForComponent(T);if(e){const{nzDirection:t}=e;this.dir=t||this.dir}})}updateConfig(){this.config=Object.assign(Object.assign(Object.assign({},j),this.config),this.nzConfigService.getConfigForComponent(T)),this.top=Object(d.E)(this.config.nzTop),this.cdr.markForCheck()}}D.\u0275fac=function(e){return new(e||D)(i.Nc(i.k),i.Nc(s.a))},D.\u0275cmp=i.Hc({type:D,selectors:[["nz-message-container"]],exportAs:["nzMessageContainer"],features:[i.wc],decls:2,vars:5,consts:[[1,"ant-message"],[3,"instance","destroyed",4,"ngFor","ngForOf"],[3,"instance","destroyed"]],template:function(e,t){1&e&&(i.Tc(0,"div",0),i.Id(1,y,1,1,"nz-message",1),i.Sc()),2&e&&(i.Fd("top",t.top),i.Fc("ant-message-rtl","rtl"===t.dir),i.zc(1),i.md("ngForOf",t.instances))},directives:function(){return[p.n,z]},encapsulation:2,changeDetection:0}),D.ctorParameters=()=>[{type:i.k},{type:s.a}];class A{}A.\u0275mod=i.Lc({type:A}),A.\u0275inj=i.Kc({factory:function(e){return new(e||A)}});class L extends C{constructor(e,t,n){super(e,t,n),this.componentPrefix="message-"}success(e,t){return this.createInstance({type:"success",content:e},t)}error(e,t){return this.createInstance({type:"error",content:e},t)}info(e,t){return this.createInstance({type:"info",content:e},t)}warning(e,t){return this.createInstance({type:"warning",content:e},t)}loading(e,t){return this.createInstance({type:"loading",content:e},t)}create(e,t,n){return this.createInstance({type:e,content:t},n)}createInstance(e,t){return this.container=this.withContainer(D),this.container.create(Object.assign(Object.assign({},e),{createdAt:new Date,messageId:this.getInstanceId(),options:t}))}}L.\u0275fac=function(e){return new(e||L)(i.Xc(h.f),i.Xc(u.d),i.Xc(i.F))},L.\u0275prov=Object(i.Jc)({factory:function(){return new L(Object(i.Xc)(h.f),Object(i.Xc)(u.d),Object(i.Xc)(i.B))},token:L,providedIn:A}),L.ctorParameters=()=>[{type:h.f},{type:u.d},{type:i.F}];class z extends E{constructor(e){super(e),this.destroyed=new i.x}}z.\u0275fac=function(e){return new(e||z)(i.Nc(i.k))},z.\u0275cmp=i.Hc({type:z,selectors:[["nz-message"]],inputs:{instance:"instance"},outputs:{destroyed:"destroyed"},exportAs:["nzMessage"],features:[i.wc],decls:10,vars:9,consts:[[1,"ant-message-notice",3,"mouseenter","mouseleave"],[1,"ant-message-notice-content"],[1,"ant-message-custom-content",3,"ngClass"],[3,"ngSwitch"],["nz-icon","","nzType","check-circle",4,"ngSwitchCase"],["nz-icon","","nzType","info-circle",4,"ngSwitchCase"],["nz-icon","","nzType","exclamation-circle",4,"ngSwitchCase"],["nz-icon","","nzType","close-circle",4,"ngSwitchCase"],["nz-icon","","nzType","loading",4,"ngSwitchCase"],[4,"nzStringTemplateOutlet"],["nz-icon","","nzType","check-circle"],["nz-icon","","nzType","info-circle"],["nz-icon","","nzType","exclamation-circle"],["nz-icon","","nzType","close-circle"],["nz-icon","","nzType","loading"],[3,"innerHTML"]],template:function(e,t){1&e&&(i.Tc(0,"div",0),i.ad("@moveUpMotion.done",function(e){return t.animationStateChanged.next(e)})("mouseenter",function(){return t.onEnter()})("mouseleave",function(){return t.onLeave()}),i.Tc(1,"div",1),i.Tc(2,"div",2),i.Rc(3,3),i.Id(4,b,1,0,"i",4),i.Id(5,_,1,0,"i",5),i.Id(6,w,1,0,"i",6),i.Id(7,S,1,0,"i",7),i.Id(8,x,1,0,"i",8),i.Qc(),i.Id(9,O,2,1,"ng-container",9),i.Sc(),i.Sc(),i.Sc()),2&e&&(i.md("@moveUpMotion",t.instance.state),i.zc(2),i.md("ngClass","ant-message-"+t.instance.type),i.zc(1),i.md("ngSwitch",t.instance.type),i.zc(1),i.md("ngSwitchCase","success"),i.zc(1),i.md("ngSwitchCase","info"),i.zc(1),i.md("ngSwitchCase","warning"),i.zc(1),i.md("ngSwitchCase","error"),i.zc(1),i.md("ngSwitchCase","loading"),i.zc(1),i.md("nzStringTemplateOutlet",t.instance.content))},directives:[p.m,p.q,p.r,m.b,g.b],encapsulation:2,data:{animation:[v.d]},changeDetection:0}),z.ctorParameters=()=>[{type:i.k}],z.propDecorators={instance:[{type:i.G}],destroyed:[{type:i.S}]};class P{}P.\u0275mod=i.Lc({type:P}),P.\u0275inj=i.Kc({factory:function(e){return new(e||P)},imports:[[f.a,p.c,u.g,g.c,m.a,A]]}),("undefined"==typeof ngJitMode||ngJitMode)&&i.Bd(P,{declarations:function(){return[D,z]},imports:function(){return[f.a,p.c,u.g,g.c,m.a,A]}})},PeUW:function(e,t,n){!function(e){"use strict";var t={1:"\u0be7",2:"\u0be8",3:"\u0be9",4:"\u0bea",5:"\u0beb",6:"\u0bec",7:"\u0bed",8:"\u0bee",9:"\u0bef",0:"\u0be6"},n={"\u0be7":"1","\u0be8":"2","\u0be9":"3","\u0bea":"4","\u0beb":"5","\u0bec":"6","\u0bed":"7","\u0bee":"8","\u0bef":"9","\u0be6":"0"};e.defineLocale("ta",{months:"\u0b9c\u0ba9\u0bb5\u0bb0\u0bbf_\u0baa\u0bbf\u0baa\u0bcd\u0bb0\u0bb5\u0bb0\u0bbf_\u0bae\u0bbe\u0bb0\u0bcd\u0b9a\u0bcd_\u0b8f\u0baa\u0bcd\u0bb0\u0bb2\u0bcd_\u0bae\u0bc7_\u0b9c\u0bc2\u0ba9\u0bcd_\u0b9c\u0bc2\u0bb2\u0bc8_\u0b86\u0b95\u0bb8\u0bcd\u0b9f\u0bcd_\u0b9a\u0bc6\u0baa\u0bcd\u0b9f\u0bc6\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b85\u0b95\u0bcd\u0b9f\u0bc7\u0bbe\u0baa\u0bb0\u0bcd_\u0ba8\u0bb5\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b9f\u0bbf\u0b9a\u0bae\u0bcd\u0baa\u0bb0\u0bcd".split("_"),monthsShort:"\u0b9c\u0ba9\u0bb5\u0bb0\u0bbf_\u0baa\u0bbf\u0baa\u0bcd\u0bb0\u0bb5\u0bb0\u0bbf_\u0bae\u0bbe\u0bb0\u0bcd\u0b9a\u0bcd_\u0b8f\u0baa\u0bcd\u0bb0\u0bb2\u0bcd_\u0bae\u0bc7_\u0b9c\u0bc2\u0ba9\u0bcd_\u0b9c\u0bc2\u0bb2\u0bc8_\u0b86\u0b95\u0bb8\u0bcd\u0b9f\u0bcd_\u0b9a\u0bc6\u0baa\u0bcd\u0b9f\u0bc6\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b85\u0b95\u0bcd\u0b9f\u0bc7\u0bbe\u0baa\u0bb0\u0bcd_\u0ba8\u0bb5\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b9f\u0bbf\u0b9a\u0bae\u0bcd\u0baa\u0bb0\u0bcd".split("_"),weekdays:"\u0b9e\u0bbe\u0baf\u0bbf\u0bb1\u0bcd\u0bb1\u0bc1\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0ba4\u0bbf\u0b99\u0bcd\u0b95\u0b9f\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0b9a\u0bc6\u0bb5\u0bcd\u0bb5\u0bbe\u0baf\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0baa\u0bc1\u0ba4\u0ba9\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0bb5\u0bbf\u0baf\u0bbe\u0bb4\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0bb5\u0bc6\u0bb3\u0bcd\u0bb3\u0bbf\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0b9a\u0ba9\u0bbf\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8".split("_"),weekdaysShort:"\u0b9e\u0bbe\u0baf\u0bbf\u0bb1\u0bc1_\u0ba4\u0bbf\u0b99\u0bcd\u0b95\u0bb3\u0bcd_\u0b9a\u0bc6\u0bb5\u0bcd\u0bb5\u0bbe\u0baf\u0bcd_\u0baa\u0bc1\u0ba4\u0ba9\u0bcd_\u0bb5\u0bbf\u0baf\u0bbe\u0bb4\u0ba9\u0bcd_\u0bb5\u0bc6\u0bb3\u0bcd\u0bb3\u0bbf_\u0b9a\u0ba9\u0bbf".split("_"),weekdaysMin:"\u0b9e\u0bbe_\u0ba4\u0bbf_\u0b9a\u0bc6_\u0baa\u0bc1_\u0bb5\u0bbf_\u0bb5\u0bc6_\u0b9a".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, HH:mm",LLLL:"dddd, D MMMM YYYY, HH:mm"},calendar:{sameDay:"[\u0b87\u0ba9\u0bcd\u0bb1\u0bc1] LT",nextDay:"[\u0ba8\u0bbe\u0bb3\u0bc8] LT",nextWeek:"dddd, LT",lastDay:"[\u0ba8\u0bc7\u0bb1\u0bcd\u0bb1\u0bc1] LT",lastWeek:"[\u0b95\u0b9f\u0ba8\u0bcd\u0ba4 \u0bb5\u0bbe\u0bb0\u0bae\u0bcd] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0b87\u0bb2\u0bcd",past:"%s \u0bae\u0bc1\u0ba9\u0bcd",s:"\u0b92\u0bb0\u0bc1 \u0b9a\u0bbf\u0bb2 \u0bb5\u0bbf\u0ba8\u0bbe\u0b9f\u0bbf\u0b95\u0bb3\u0bcd",ss:"%d \u0bb5\u0bbf\u0ba8\u0bbe\u0b9f\u0bbf\u0b95\u0bb3\u0bcd",m:"\u0b92\u0bb0\u0bc1 \u0ba8\u0bbf\u0bae\u0bbf\u0b9f\u0bae\u0bcd",mm:"%d \u0ba8\u0bbf\u0bae\u0bbf\u0b9f\u0b99\u0bcd\u0b95\u0bb3\u0bcd",h:"\u0b92\u0bb0\u0bc1 \u0bae\u0ba3\u0bbf \u0ba8\u0bc7\u0bb0\u0bae\u0bcd",hh:"%d \u0bae\u0ba3\u0bbf \u0ba8\u0bc7\u0bb0\u0bae\u0bcd",d:"\u0b92\u0bb0\u0bc1 \u0ba8\u0bbe\u0bb3\u0bcd",dd:"%d \u0ba8\u0bbe\u0b9f\u0bcd\u0b95\u0bb3\u0bcd",M:"\u0b92\u0bb0\u0bc1 \u0bae\u0bbe\u0ba4\u0bae\u0bcd",MM:"%d \u0bae\u0bbe\u0ba4\u0b99\u0bcd\u0b95\u0bb3\u0bcd",y:"\u0b92\u0bb0\u0bc1 \u0bb5\u0bb0\u0bc1\u0b9f\u0bae\u0bcd",yy:"%d \u0b86\u0ba3\u0bcd\u0b9f\u0bc1\u0b95\u0bb3\u0bcd"},dayOfMonthOrdinalParse:/\d{1,2}\u0bb5\u0ba4\u0bc1/,ordinal:function(e){return e+"\u0bb5\u0ba4\u0bc1"},preparse:function(e){return e.replace(/[\u0be7\u0be8\u0be9\u0bea\u0beb\u0bec\u0bed\u0bee\u0bef\u0be6]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/\u0baf\u0bbe\u0bae\u0bae\u0bcd|\u0bb5\u0bc8\u0b95\u0bb1\u0bc8|\u0b95\u0bbe\u0bb2\u0bc8|\u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd|\u0b8e\u0bb1\u0bcd\u0baa\u0bbe\u0b9f\u0bc1|\u0bae\u0bbe\u0bb2\u0bc8/,meridiem:function(e,t,n){return e<2?" \u0baf\u0bbe\u0bae\u0bae\u0bcd":e<6?" \u0bb5\u0bc8\u0b95\u0bb1\u0bc8":e<10?" \u0b95\u0bbe\u0bb2\u0bc8":e<14?" \u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd":e<18?" \u0b8e\u0bb1\u0bcd\u0baa\u0bbe\u0b9f\u0bc1":e<22?" \u0bae\u0bbe\u0bb2\u0bc8":" \u0baf\u0bbe\u0bae\u0bae\u0bcd"},meridiemHour:function(e,t){return 12===e&&(e=0),"\u0baf\u0bbe\u0bae\u0bae\u0bcd"===t?e<2?e:e+12:"\u0bb5\u0bc8\u0b95\u0bb1\u0bc8"===t||"\u0b95\u0bbe\u0bb2\u0bc8"===t||"\u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd"===t&&e>=10?e:e+12},week:{dow:0,doy:6}})}(n("wd/R"))},PpIw:function(e,t,n){!function(e){"use strict";var t={1:"\u0ce7",2:"\u0ce8",3:"\u0ce9",4:"\u0cea",5:"\u0ceb",6:"\u0cec",7:"\u0ced",8:"\u0cee",9:"\u0cef",0:"\u0ce6"},n={"\u0ce7":"1","\u0ce8":"2","\u0ce9":"3","\u0cea":"4","\u0ceb":"5","\u0cec":"6","\u0ced":"7","\u0cee":"8","\u0cef":"9","\u0ce6":"0"};e.defineLocale("kn",{months:"\u0c9c\u0ca8\u0cb5\u0cb0\u0cbf_\u0cab\u0cc6\u0cac\u0ccd\u0cb0\u0cb5\u0cb0\u0cbf_\u0cae\u0cbe\u0cb0\u0ccd\u0c9a\u0ccd_\u0c8f\u0caa\u0ccd\u0cb0\u0cbf\u0cb2\u0ccd_\u0cae\u0cc6\u0cd5_\u0c9c\u0cc2\u0ca8\u0ccd_\u0c9c\u0cc1\u0cb2\u0cc6\u0cd6_\u0c86\u0c97\u0cb8\u0ccd\u0c9f\u0ccd_\u0cb8\u0cc6\u0caa\u0ccd\u0c9f\u0cc6\u0c82\u0cac\u0cb0\u0ccd_\u0c85\u0c95\u0ccd\u0c9f\u0cc6\u0cc2\u0cd5\u0cac\u0cb0\u0ccd_\u0ca8\u0cb5\u0cc6\u0c82\u0cac\u0cb0\u0ccd_\u0ca1\u0cbf\u0cb8\u0cc6\u0c82\u0cac\u0cb0\u0ccd".split("_"),monthsShort:"\u0c9c\u0ca8_\u0cab\u0cc6\u0cac\u0ccd\u0cb0_\u0cae\u0cbe\u0cb0\u0ccd\u0c9a\u0ccd_\u0c8f\u0caa\u0ccd\u0cb0\u0cbf\u0cb2\u0ccd_\u0cae\u0cc6\u0cd5_\u0c9c\u0cc2\u0ca8\u0ccd_\u0c9c\u0cc1\u0cb2\u0cc6\u0cd6_\u0c86\u0c97\u0cb8\u0ccd\u0c9f\u0ccd_\u0cb8\u0cc6\u0caa\u0ccd\u0c9f\u0cc6\u0c82_\u0c85\u0c95\u0ccd\u0c9f\u0cc6\u0cc2\u0cd5_\u0ca8\u0cb5\u0cc6\u0c82_\u0ca1\u0cbf\u0cb8\u0cc6\u0c82".split("_"),monthsParseExact:!0,weekdays:"\u0cad\u0cbe\u0ca8\u0cc1\u0cb5\u0cbe\u0cb0_\u0cb8\u0cc6\u0cc2\u0cd5\u0cae\u0cb5\u0cbe\u0cb0_\u0cae\u0c82\u0c97\u0cb3\u0cb5\u0cbe\u0cb0_\u0cac\u0cc1\u0ca7\u0cb5\u0cbe\u0cb0_\u0c97\u0cc1\u0cb0\u0cc1\u0cb5\u0cbe\u0cb0_\u0cb6\u0cc1\u0c95\u0ccd\u0cb0\u0cb5\u0cbe\u0cb0_\u0cb6\u0ca8\u0cbf\u0cb5\u0cbe\u0cb0".split("_"),weekdaysShort:"\u0cad\u0cbe\u0ca8\u0cc1_\u0cb8\u0cc6\u0cc2\u0cd5\u0cae_\u0cae\u0c82\u0c97\u0cb3_\u0cac\u0cc1\u0ca7_\u0c97\u0cc1\u0cb0\u0cc1_\u0cb6\u0cc1\u0c95\u0ccd\u0cb0_\u0cb6\u0ca8\u0cbf".split("_"),weekdaysMin:"\u0cad\u0cbe_\u0cb8\u0cc6\u0cc2\u0cd5_\u0cae\u0c82_\u0cac\u0cc1_\u0c97\u0cc1_\u0cb6\u0cc1_\u0cb6".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0c87\u0c82\u0ca6\u0cc1] LT",nextDay:"[\u0ca8\u0cbe\u0cb3\u0cc6] LT",nextWeek:"dddd, LT",lastDay:"[\u0ca8\u0cbf\u0ca8\u0ccd\u0ca8\u0cc6] LT",lastWeek:"[\u0c95\u0cc6\u0cc2\u0ca8\u0cc6\u0caf] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0ca8\u0c82\u0ca4\u0cb0",past:"%s \u0cb9\u0cbf\u0c82\u0ca6\u0cc6",s:"\u0c95\u0cc6\u0cb2\u0cb5\u0cc1 \u0c95\u0ccd\u0cb7\u0ca3\u0c97\u0cb3\u0cc1",ss:"%d \u0cb8\u0cc6\u0c95\u0cc6\u0c82\u0ca1\u0cc1\u0c97\u0cb3\u0cc1",m:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca8\u0cbf\u0cae\u0cbf\u0cb7",mm:"%d \u0ca8\u0cbf\u0cae\u0cbf\u0cb7",h:"\u0c92\u0c82\u0ca6\u0cc1 \u0c97\u0c82\u0c9f\u0cc6",hh:"%d \u0c97\u0c82\u0c9f\u0cc6",d:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca6\u0cbf\u0ca8",dd:"%d \u0ca6\u0cbf\u0ca8",M:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca4\u0cbf\u0c82\u0c97\u0cb3\u0cc1",MM:"%d \u0ca4\u0cbf\u0c82\u0c97\u0cb3\u0cc1",y:"\u0c92\u0c82\u0ca6\u0cc1 \u0cb5\u0cb0\u0ccd\u0cb7",yy:"%d \u0cb5\u0cb0\u0ccd\u0cb7"},preparse:function(e){return e.replace(/[\u0ce7\u0ce8\u0ce9\u0cea\u0ceb\u0cec\u0ced\u0cee\u0cef\u0ce6]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf|\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6|\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8|\u0cb8\u0c82\u0c9c\u0cc6/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"===t?e<4?e:e+12:"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6"===t?e:"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8"===t?e>=10?e:e+12:"\u0cb8\u0c82\u0c9c\u0cc6"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf":e<10?"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6":e<17?"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8":e<20?"\u0cb8\u0c82\u0c9c\u0cc6":"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"},dayOfMonthOrdinalParse:/\d{1,2}(\u0ca8\u0cc6\u0cd5)/,ordinal:function(e){return e+"\u0ca8\u0cc6\u0cd5"},week:{dow:0,doy:6}})}(n("wd/R"))},PqYM:function(e,t,n){"use strict";n.d(t,"a",function(){return a});var r=n("HDdC"),i=n("D0XW"),s=n("Y7HM"),o=n("z+Ro");function a(e=0,t,n){let a=-1;return Object(s.a)(t)?a=Number(t)<1?1:Number(t):Object(o.a)(t)&&(n=t),Object(o.a)(n)||(n=i.a),new r.a(t=>{const r=Object(s.a)(e)?e:+e-n.now();return n.schedule(c,r,{index:0,period:a,subscriber:t})})}function c(e){const{index:t,period:n,subscriber:r}=e;if(r.next(t),!r.closed){if(-1===n)return r.complete();e.index=t+1,this.schedule(e,n)}}},QSc6:function(e,t,n){"use strict";var r=n("0jNN"),i=n("sxOR"),s={brackets:function(e){return e+"[]"},indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},o=Array.isArray,a=Array.prototype.push,c=function(e,t){a.apply(e,o(t)?t:[t])},l=Date.prototype.toISOString,u={delimiter:"&",encode:!0,encoder:r.encode,encodeValuesOnly:!1,serializeDate:function(e){return l.call(e)},skipNulls:!1,strictNullHandling:!1},h=function e(t,n,i,s,a,l,h,d,f,p,m,g){var v=t;if("function"==typeof h?v=h(n,v):v instanceof Date&&(v=p(v)),null===v){if(s)return l&&!g?l(n,u.encoder):n;v=""}if("string"==typeof v||"number"==typeof v||"boolean"==typeof v||r.isBuffer(v))return l?[m(g?n:l(n,u.encoder))+"="+m(l(v,u.encoder))]:[m(n)+"="+m(String(v))];var y,b=[];if(void 0===v)return b;if(o(h))y=h;else{var _=Object.keys(v);y=d?_.sort(d):_}for(var w=0;w<y.length;++w){var S=y[w];a&&null===v[S]||(o(v)?c(b,e(v[S],i(n,S),i,s,a,l,h,d,f,p,m,g)):c(b,e(v[S],n+(f?"."+S:"["+S+"]"),i,s,a,l,h,d,f,p,m,g)))}return b};e.exports=function(e,t){var n=e,a=t?r.assign({},t):{};if(null!==a.encoder&&void 0!==a.encoder&&"function"!=typeof a.encoder)throw new TypeError("Encoder has to be a function.");var l=void 0===a.delimiter?u.delimiter:a.delimiter,d="boolean"==typeof a.strictNullHandling?a.strictNullHandling:u.strictNullHandling,f="boolean"==typeof a.skipNulls?a.skipNulls:u.skipNulls,p="boolean"==typeof a.encode?a.encode:u.encode,m="function"==typeof a.encoder?a.encoder:u.encoder,g="function"==typeof a.sort?a.sort:null,v=void 0!==a.allowDots&&a.allowDots,y="function"==typeof a.serializeDate?a.serializeDate:u.serializeDate,b="boolean"==typeof a.encodeValuesOnly?a.encodeValuesOnly:u.encodeValuesOnly;if(void 0===a.format)a.format=i.default;else if(!Object.prototype.hasOwnProperty.call(i.formatters,a.format))throw new TypeError("Unknown format option provided.");var _,w,S=i.formatters[a.format];"function"==typeof a.filter?n=(w=a.filter)("",n):o(a.filter)&&(_=w=a.filter);var x,O=[];if("object"!=typeof n||null===n)return"";x=a.arrayFormat in s?a.arrayFormat:"indices"in a?a.indices?"indices":"repeat":"indices";var k=s[x];_||(_=Object.keys(n)),g&&_.sort(g);for(var C=0;C<_.length;++C){var M=_[C];f&&null===n[M]||c(O,h(n[M],M,k,d,f,p?m:null,w,g,v,y,S,b))}var E=O.join(l),T=!0===a.addQueryPrefix?"?":"";return E.length>0?T+E:""}},"QT/Q":function(e,t,n){"use strict";n.d(t,"a",function(){return f});var r,i=n("mrSG"),s=n("tk/3"),o=n("fXoL"),a=n("mjQ1"),c=n("SURy"),l=n("IzEk"),u=n("9eNV"),h=n("hlbE"),d=n("rgsH");!function(e){e.Watch="\u041f\u0440\u043e\u0441\u043c\u043e\u0442\u0440",e.Download="\u041f\u0440\u043e\u0441\u043c\u043e\u0442\u0440 + \u0441\u043a\u0430\u0447\u0438\u0432\u0430\u043d\u0438\u0435",e.Import="\u041f\u0440\u043e\u0441\u043c\u043e\u0442\u0440 + \u0441\u043a\u0430\u0447\u0438\u0432\u0430\u043d\u0438\u0435 + \u0438\u043c\u043f\u043e\u0440\u0442",e.Edit="\u041f\u0440\u043e\u0441\u043c\u043e\u0442\u0440 + \u0441\u043a\u0430\u0447\u0438\u0432\u0430\u043d\u0438\u0435 + \u0438\u043c\u043f\u043e\u0440\u0442 + \u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435",e.Full="\u041f\u043e\u043b\u043d\u044b\u0439 \u0434\u043e\u0441\u0442\u0443\u043f"}(r||(r={}));let f=class{constructor(e,t,n,r,i){this.http=e,this.meta=t,this.entities=n,this.directories=r,this.user=i,this.userRoles=[],this.cacheAdmittance=new Map,this.adminRole=!1}getAdmittance(e){const t=sessionStorage.getItem("access_token"),n=new s.f({Authorization:"Bearer "+t});return this.http.get("api/v1/admittance/"+e,{headers:n})}getAdmittanceDetailed(e){const t=sessionStorage.getItem("access_token"),n=new s.f({Authorization:"Bearer "+t});return this.http.get(`api/v1/admittance/${e}?detailed=true`,{headers:n})}addPermission(e,t){return Object(i.a)(this,void 0,void 0,function*(){const n=yield this.meta.classes.getNames("\u0420\u0430\u0437\u0440\u0435\u0448\u0435\u043d\u0438\u044f"),r=Object(a.h)(t,h.b,n);yield this.entities.create(r,e,h.a)})}updatePermission(e,t,n){return Object(i.a)(this,void 0,void 0,function*(){const r=yield this.meta.classes.getNames("\u0420\u0430\u0437\u0440\u0435\u0448\u0435\u043d\u0438\u044f"),i=Object(a.i)(t,n,h.b,r);yield this.entities.update(Object.assign(Object.assign({},i),{id:e}))})}removePermissions(e){return Object(i.a)(this,void 0,void 0,function*(){yield this.entities.delete(...e)})}hasPermission(e){return!this.permissionOfStage||!!this.cacheAdmittance.get(e.toString())}setPermissionData(e){return Object(i.a)(this,void 0,void 0,function*(){if(!e&&!this.permissionOfStage)return{Watch:!0,Download:!0,Import:!0,Edit:!0,Full:!0};const t={Watch:!1,Download:!1,Import:!1,Edit:!1,Full:!1},n=((yield this.directories.accessLevel.pipe(Object(l.a)(1)).toPromise())||[]).find(t=>t.id===e);if(n)switch(n.name){case r.Watch:t.Watch=!0;break;case r.Download:t.Watch=!0,t.Download=!0;break;case r.Import:t.Watch=!0,t.Download=!0,t.Import=!0;break;case r.Edit:t.Watch=!0,t.Download=!0,t.Import=!0,t.Edit=!0;break;case r.Full:t.Watch=!0,t.Download=!0,t.Import=!0,t.Edit=!0,t.Full=!0}return t})}setPermissionToCache(e,t){e||(e=[]),e.forEach(e=>{var n;if(!this.cacheAdmittance.get(e.id.toString())){const r=null===(n=this.permissionOfStage)||void 0===n?void 0:n.entity.children.find(t=>t.id===e.id);if(!r&&e.id&&e.isFolder&&this.cacheAdmittance.set(e.id.toString(),this.cacheAdmittance.get(t.toString())),r)if(null==r?void 0:r.admittances.length){const e=r.admittances.filter(e=>e.profileId===this.user.id||this.userRoles.some(t=>{var n;return(null===(n=t.role)||void 0===n?void 0:n.id)===e.roleId}));this.cacheAdmittance.get(t.toString())&&e.push(this.cacheAdmittance.get(t.toString())),this.cacheAdmittance.set(r.id.toString(),e.sort((e,t)=>t.admittanceId-e.admittanceId)[0])}else this.cacheAdmittance.set(r.id.toString(),this.cacheAdmittance.get(t.toString()))}})}hasAnyAdmittance(e){var t;const n=e.toString();let r=!1;return null===(t=this.permissionOfStage)||void 0===t||t.entity.children.forEach(e=>{var t;const i=this.hasPermission(e.id);e.path.includes(n)&&((null===(t=e.admittances)||void 0===t?void 0:t.length)>0||i)&&(r=!0)}),r||(r=this.hasPermission(e)),r}hasImportAdmittance(e){return Object(i.a)(this,void 0,void 0,function*(){let t={Download:!1,Import:!1,Edit:!1,Full:!1};const n=this.cacheAdmittance.get(e.toString());return(null==n?void 0:n.admittanceId)?t=yield this.setPermissionData(n.admittanceId):this.permissionOfStage||(t=yield this.setPermissionData(void 0)),t.Import})}};f.ctorParameters=()=>[{type:s.c},{type:c.c},{type:a.a},{type:d.a},{type:void 0,decorators:[{type:o.C,args:[u.a]}]}],f=Object(i.b)([Object(o.D)({providedIn:"root"})],f)},Qj4J:function(e,t,n){!function(e){"use strict";e.defineLocale("ar-kw",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062a\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0627\u062d\u062f_\u0627\u062a\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:0,doy:12}})}(n("wd/R"))},QlLE:function(e,t,n){"use strict";n.d(t,"a",function(){return j}),n.d(t,"b",function(){return P});var r=n("+rOU"),i=n("fXoL"),s=n("XNiG"),o=n("JX91"),a=n("1G5W"),c=n("2Suw"),l=n("Rm4T"),u=n("cH1L"),h=n("ofXK"),d=n("pdGh");function f(e,t){1&e&&i.Oc(0,"nz-empty",6),2&e&&i.md("nzNotFoundImage","simple")}function p(e,t){1&e&&i.Oc(0,"nz-empty",7),2&e&&i.md("nzNotFoundImage","simple")}function m(e,t){1&e&&i.Oc(0,"nz-empty")}function g(e,t){if(1&e&&(i.Rc(0,2),i.Id(1,f,1,1,"nz-empty",3),i.Id(2,p,1,1,"nz-empty",4),i.Id(3,m,1,0,"nz-empty",5),i.Qc()),2&e){const e=i.ed();i.md("ngSwitch",e.size),i.zc(1),i.md("ngSwitchCase","normal"),i.zc(1),i.md("ngSwitchCase","small")}}function v(e,t){}function y(e,t){if(1&e&&i.Id(0,v,0,0,"ng-template",8),2&e){const e=i.ed(2);i.md("cdkPortalOutlet",e.contentPortal)}}function b(e,t){if(1&e&&(i.Rc(0),i.Kd(1),i.Qc()),2&e){const e=i.ed(2);i.zc(1),i.Md(" ",e.content," ")}}function _(e,t){if(1&e&&(i.Rc(0),i.Id(1,y,1,1,void 0,1),i.Id(2,b,2,1,"ng-container",1),i.Qc()),2&e){const e=i.ed();i.zc(1),i.md("ngIf","string"!==e.contentType),i.zc(1),i.md("ngIf","string"===e.contentType)}}function w(e,t){if(1&e&&(i.Rc(0),i.Oc(1,"img",5),i.Qc()),2&e){const e=i.ed(2);i.zc(1),i.md("src",e.nzNotFoundImage,i.Ad)("alt",e.isContentString?e.nzNotFoundContent:"empty")}}function S(e,t){if(1&e&&(i.Rc(0),i.Id(1,w,2,2,"ng-container",4),i.Qc()),2&e){const e=i.ed();i.zc(1),i.md("nzStringTemplateOutlet",e.nzNotFoundImage)}}function x(e,t){1&e&&i.Oc(0,"nz-empty-default")}function O(e,t){1&e&&i.Oc(0,"nz-empty-simple")}function k(e,t){if(1&e&&(i.Rc(0),i.Kd(1),i.Qc()),2&e){const e=i.ed(2);i.zc(1),i.Md(" ",e.isContentString?e.nzNotFoundContent:e.locale.description," ")}}function C(e,t){if(1&e&&(i.Tc(0,"p",6),i.Id(1,k,2,1,"ng-container",4),i.Sc()),2&e){const e=i.ed();i.zc(1),i.md("nzStringTemplateOutlet",e.nzNotFoundContent)}}function M(e,t){if(1&e&&(i.Rc(0),i.Kd(1),i.Qc()),2&e){const e=i.ed(2);i.zc(1),i.Md(" ",e.nzNotFoundFooter," ")}}function E(e,t){if(1&e&&(i.Tc(0,"div",7),i.Id(1,M,2,1,"ng-container",4),i.Sc()),2&e){const e=i.ed();i.zc(1),i.md("nzStringTemplateOutlet",e.nzNotFoundFooter)}}const T=new i.E("nz-empty-component-name");class j{constructor(e,t,n,r){this.configService=e,this.viewContainerRef=t,this.cdr=n,this.injector=r,this.contentType="string",this.size="",this.destroy$=new s.a}ngOnChanges(e){e.nzComponentName&&(this.size=function(e){switch(e){case"table":case"list":return"normal";case"select":case"tree-select":case"cascader":case"transfer":return"small";default:return""}}(e.nzComponentName.currentValue)),e.specificContent&&!e.specificContent.isFirstChange()&&(this.content=e.specificContent.currentValue,this.renderEmpty())}ngOnInit(){this.subscribeDefaultEmptyContentChange()}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}renderEmpty(){const e=this.content;if("string"==typeof e)this.contentType="string";else if(e instanceof i.ib){const t={$implicit:this.nzComponentName};this.contentType="template",this.contentPortal=new r.h(e,this.viewContainerRef,t)}else if(e instanceof i.kb){const t=i.F.create({parent:this.injector,providers:[{provide:T,useValue:this.nzComponentName}]});this.contentType="component",this.contentPortal=new r.d(e,this.viewContainerRef,t)}else this.contentType="string",this.contentPortal=void 0;this.cdr.detectChanges()}subscribeDefaultEmptyContentChange(){this.configService.getConfigChangeEventForComponent("empty").pipe(Object(o.a)(!0),Object(a.a)(this.destroy$)).subscribe(()=>{this.content=this.specificContent||this.getUserDefaultEmptyContent(),this.renderEmpty()})}getUserDefaultEmptyContent(){return(this.configService.getConfigForComponent("empty")||{}).nzDefaultEmptyContent}}j.\u0275fac=function(e){return new(e||j)(i.Nc(c.a),i.Nc(i.ob),i.Nc(i.k),i.Nc(i.F))},j.\u0275cmp=i.Hc({type:j,selectors:[["nz-embed-empty"]],inputs:{nzComponentName:"nzComponentName",specificContent:"specificContent"},exportAs:["nzEmbedEmpty"],features:[i.xc],decls:2,vars:2,consts:[[3,"ngSwitch",4,"ngIf"],[4,"ngIf"],[3,"ngSwitch"],["class","ant-empty-normal",3,"nzNotFoundImage",4,"ngSwitchCase"],["class","ant-empty-small",3,"nzNotFoundImage",4,"ngSwitchCase"],[4,"ngSwitchDefault"],[1,"ant-empty-normal",3,"nzNotFoundImage"],[1,"ant-empty-small",3,"nzNotFoundImage"],[3,"cdkPortalOutlet"]],template:function(e,t){1&e&&(i.Id(0,g,4,3,"ng-container",0),i.Id(1,_,3,2,"ng-container",1)),2&e&&(i.md("ngIf",!t.content&&null!==t.specificContent),i.zc(1),i.md("ngIf",t.content))},directives:function(){return[h.o,h.q,h.r,h.s,A,r.c]},encapsulation:2,changeDetection:0}),j.ctorParameters=()=>[{type:c.a},{type:i.ob},{type:i.k},{type:i.F}],j.propDecorators={nzComponentName:[{type:i.G}],specificContent:[{type:i.G}]};const D=["default","simple"];class A{constructor(e,t){this.i18n=e,this.cdr=t,this.nzNotFoundImage="default",this.isContentString=!1,this.isImageBuildIn=!0,this.destroy$=new s.a}ngOnChanges(e){const{nzNotFoundContent:t,nzNotFoundImage:n}=e;if(t){const e=t.currentValue;this.isContentString="string"==typeof e}if(n){const e=n.currentValue||"default";this.isImageBuildIn=D.findIndex(t=>t===e)>-1}}ngOnInit(){this.i18n.localeChange.pipe(Object(a.a)(this.destroy$)).subscribe(()=>{this.locale=this.i18n.getLocaleData("Empty"),this.cdr.markForCheck()})}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}A.\u0275fac=function(e){return new(e||A)(i.Nc(l.f),i.Nc(i.k))},A.\u0275cmp=i.Hc({type:A,selectors:[["nz-empty"]],hostAttrs:[1,"ant-empty"],inputs:{nzNotFoundImage:"nzNotFoundImage",nzNotFoundContent:"nzNotFoundContent",nzNotFoundFooter:"nzNotFoundFooter"},exportAs:["nzEmpty"],features:[i.xc],decls:6,vars:5,consts:[[1,"ant-empty-image"],[4,"ngIf"],["class","ant-empty-description",4,"ngIf"],["class","ant-empty-footer",4,"ngIf"],[4,"nzStringTemplateOutlet"],[3,"src","alt"],[1,"ant-empty-description"],[1,"ant-empty-footer"]],template:function(e,t){1&e&&(i.Tc(0,"div",0),i.Id(1,S,2,1,"ng-container",1),i.Id(2,x,1,0,"nz-empty-default",1),i.Id(3,O,1,0,"nz-empty-simple",1),i.Sc(),i.Id(4,C,2,1,"p",2),i.Id(5,E,2,1,"div",3)),2&e&&(i.zc(1),i.md("ngIf",!t.isImageBuildIn),i.zc(1),i.md("ngIf",t.isImageBuildIn&&"simple"!==t.nzNotFoundImage),i.zc(1),i.md("ngIf",t.isImageBuildIn&&"simple"===t.nzNotFoundImage),i.zc(1),i.md("ngIf",null!==t.nzNotFoundContent),i.zc(1),i.md("ngIf",t.nzNotFoundFooter))},directives:function(){return[h.o,d.b,L,z]},encapsulation:2,changeDetection:0}),A.ctorParameters=()=>[{type:l.f},{type:i.k}],A.propDecorators={nzNotFoundImage:[{type:i.G}],nzNotFoundContent:[{type:i.G}],nzNotFoundFooter:[{type:i.G}]};class L{}L.\u0275fac=function(e){return new(e||L)},L.\u0275cmp=i.Hc({type:L,selectors:[["nz-empty-default"]],exportAs:["nzEmptyDefault"],decls:12,vars:0,consts:[["width","184","height","152","viewBox","0 0 184 152","xmlns","http://www.w3.org/2000/svg",1,"ant-empty-img-default"],["fill","none","fill-rule","evenodd"],["transform","translate(24 31.67)"],["cx","67.797","cy","106.89","rx","67.797","ry","12.668",1,"ant-empty-img-default-ellipse"],["d","M122.034 69.674L98.109 40.229c-1.148-1.386-2.826-2.225-4.593-2.225h-51.44c-1.766 0-3.444.839-4.592 2.225L13.56 69.674v15.383h108.475V69.674z",1,"ant-empty-img-default-path-1"],["d","M101.537 86.214L80.63 61.102c-1.001-1.207-2.507-1.867-4.048-1.867H31.724c-1.54 0-3.047.66-4.048 1.867L6.769 86.214v13.792h94.768V86.214z","transform","translate(13.56)",1,"ant-empty-img-default-path-2"],["d","M33.83 0h67.933a4 4 0 0 1 4 4v93.344a4 4 0 0 1-4 4H33.83a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4z",1,"ant-empty-img-default-path-3"],["d","M42.678 9.953h50.237a2 2 0 0 1 2 2V36.91a2 2 0 0 1-2 2H42.678a2 2 0 0 1-2-2V11.953a2 2 0 0 1 2-2zM42.94 49.767h49.713a2.262 2.262 0 1 1 0 4.524H42.94a2.262 2.262 0 0 1 0-4.524zM42.94 61.53h49.713a2.262 2.262 0 1 1 0 4.525H42.94a2.262 2.262 0 0 1 0-4.525zM121.813 105.032c-.775 3.071-3.497 5.36-6.735 5.36H20.515c-3.238 0-5.96-2.29-6.734-5.36a7.309 7.309 0 0 1-.222-1.79V69.675h26.318c2.907 0 5.25 2.448 5.25 5.42v.04c0 2.971 2.37 5.37 5.277 5.37h34.785c2.907 0 5.277-2.421 5.277-5.393V75.1c0-2.972 2.343-5.426 5.25-5.426h26.318v33.569c0 .617-.077 1.216-.221 1.789z",1,"ant-empty-img-default-path-4"],["d","M149.121 33.292l-6.83 2.65a1 1 0 0 1-1.317-1.23l1.937-6.207c-2.589-2.944-4.109-6.534-4.109-10.408C138.802 8.102 148.92 0 161.402 0 173.881 0 184 8.102 184 18.097c0 9.995-10.118 18.097-22.599 18.097-4.528 0-8.744-1.066-12.28-2.902z",1,"ant-empty-img-default-path-5"],["transform","translate(149.65 15.383)",1,"ant-empty-img-default-g"],["cx","20.654","cy","3.167","rx","2.849","ry","2.815"],["d","M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"]],template:function(e,t){1&e&&(i.dd(),i.Tc(0,"svg",0),i.Tc(1,"g",1),i.Tc(2,"g",2),i.Oc(3,"ellipse",3),i.Oc(4,"path",4),i.Oc(5,"path",5),i.Oc(6,"path",6),i.Oc(7,"path",7),i.Sc(),i.Oc(8,"path",8),i.Tc(9,"g",9),i.Oc(10,"ellipse",10),i.Oc(11,"path",11),i.Sc(),i.Sc(),i.Sc())},encapsulation:2,changeDetection:0});class z{}z.\u0275fac=function(e){return new(e||z)},z.\u0275cmp=i.Hc({type:z,selectors:[["nz-empty-simple"]],exportAs:["nzEmptySimple"],decls:6,vars:0,consts:[["width","64","height","41","viewBox","0 0 64 41","xmlns","http://www.w3.org/2000/svg",1,"ant-empty-img-simple"],["transform","translate(0 1)","fill","none","fill-rule","evenodd"],["cx","32","cy","33","rx","32","ry","7",1,"ant-empty-img-simple-ellipse"],["fill-rule","nonzero",1,"ant-empty-img-simple-g"],["d","M55 12.76L44.854 1.258C44.367.474 43.656 0 42.907 0H21.093c-.749 0-1.46.474-1.947 1.257L9 12.761V22h46v-9.24z"],["d","M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z",1,"ant-empty-img-simple-path"]],template:function(e,t){1&e&&(i.dd(),i.Tc(0,"svg",0),i.Tc(1,"g",1),i.Oc(2,"ellipse",2),i.Tc(3,"g",3),i.Oc(4,"path",4),i.Oc(5,"path",5),i.Sc(),i.Sc(),i.Sc())},encapsulation:2,changeDetection:0});class P{}P.\u0275mod=i.Lc({type:P}),P.\u0275inj=i.Kc({factory:function(e){return new(e||P)},imports:[[u.a,h.c,r.g,d.a,l.d]]}),("undefined"==typeof ngJitMode||ngJitMode)&&i.Bd(P,{declarations:function(){return[A,j,L,z]},imports:function(){return[u.a,h.c,r.g,d.a,l.d]},exports:function(){return[A,j]}})},QnZs:function(e,t,n){"use strict";var r;n.d(t,"a",function(){return r}),function(e){e[e.VkNotPassed=10007162]="VkNotPassed",e[e.Closed=10008016]="Closed",e[e.PiRevision=10007147]="PiRevision",e[e.Expertise=10007152]="Expertise",e[e.Rejected=10007137]="Rejected",e[e.SentByEol=10427360]="SentByEol",e[e.ReceivedFromEol=10008006]="ReceivedFromEol",e[e.ReceivedFromPi=10007167]="ReceivedFromPi",e[e.Viewed=10008011]="Viewed",e[e.Approved=10007157]="Approved",e[e.ReleasedForWork=39146110]="ReleasedForWork",e[e.WithdrawnFromWork=39146115]="WithdrawnFromWork"}(r||(r={}))},Qyje:function(e,t,n){"use strict";var r=n("QSc6"),i=n("nmq7"),s=n("sxOR");e.exports={formats:s,parse:i,stringify:r}},R0Ic:function(e,t,n){"use strict";n.d(t,"a",function(){return s}),n.d(t,"b",function(){return r}),n.d(t,"c",function(){return i}),n.d(t,"d",function(){return m}),n.d(t,"e",function(){return a}),n.d(t,"f",function(){return d}),n.d(t,"g",function(){return c}),n.d(t,"h",function(){return f}),n.d(t,"i",function(){return u}),n.d(t,"j",function(){return l}),n.d(t,"k",function(){return h}),n.d(t,"l",function(){return o}),n.d(t,"m",function(){return g}),n.d(t,"n",function(){return v});class r{}class i{}const s="*";function o(e,t){return{type:7,name:e,definitions:t,options:{}}}function a(e,t=null){return{type:4,styles:t,timings:e}}function c(e,t=null){return{type:2,steps:e,options:t}}function l(e){return{type:6,styles:e,offset:null}}function u(e,t,n){return{type:0,name:e,styles:t,options:n}}function h(e,t,n=null){return{type:1,expr:e,animation:t,options:n}}function d(e,t,n=null){return{type:11,selector:e,animation:t,options:n}}function f(e,t){return{type:12,timings:e,animation:t}}function p(e){Promise.resolve(null).then(e)}class m{constructor(e=0,t=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=e+t}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}onStart(e){this._onStartFns.push(e)}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){p(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(e=>e()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){}setPosition(e){this._position=this.totalTime?e*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(e){const t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(e=>e()),t.length=0}}class g{constructor(e){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=e;let t=0,n=0,r=0;const i=this.players.length;0==i?p(()=>this._onFinish()):this.players.forEach(e=>{e.onDone(()=>{++t==i&&this._onFinish()}),e.onDestroy(()=>{++n==i&&this._onDestroy()}),e.onStart(()=>{++r==i&&this._onStart()})}),this.totalTime=this.players.reduce((e,t)=>Math.max(e,t.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this.players.forEach(e=>e.init())}onStart(e){this._onStartFns.push(e)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(e=>e()),this._onStartFns=[])}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(e=>e.play())}pause(){this.players.forEach(e=>e.pause())}restart(){this.players.forEach(e=>e.restart())}finish(){this._onFinish(),this.players.forEach(e=>e.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(e=>e.destroy()),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this.players.forEach(e=>e.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(e){const t=e*this.totalTime;this.players.forEach(e=>{const n=e.totalTime?Math.min(1,t/e.totalTime):1;e.setPosition(n)})}getPosition(){const e=this.players.reduce((e,t)=>null===e||t.totalTime>e.totalTime?t:e,null);return null!=e?e.getPosition():0}beforeDestroy(){this.players.forEach(e=>{e.beforeDestroy&&e.beforeDestroy()})}triggerCallback(e){const t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(e=>e()),t.length=0}}const v="!"},R1ws:function(e,t,n){"use strict";n.d(t,"a",function(){return At}),n.d(t,"b",function(){return It});var r=n("fXoL"),i=n("jhN1"),s=n("R0Ic");function o(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function a(e){switch(e.length){case 0:return new s.d;case 1:return e[0];default:return new s.m(e)}}function c(e,t,n,r,i={},o={}){const a=[],c=[];let l=-1,u=null;if(r.forEach(e=>{const n=e.offset,r=n==l,h=r&&u||{};Object.keys(e).forEach(n=>{let r=n,c=e[n];if("offset"!==n)switch(r=t.normalizePropertyName(r,a),c){case s.n:c=i[n];break;case s.a:c=o[n];break;default:c=t.normalizeStyleValue(n,r,c,a)}h[r]=c}),r||c.push(h),u=h,l=n}),a.length){const e="\n - ";throw new Error(`Unable to animate due to the following errors:${e}${a.join(e)}`)}return c}function l(e,t,n,r){switch(t){case"start":e.onStart(()=>r(n&&u(n,"start",e)));break;case"done":e.onDone(()=>r(n&&u(n,"done",e)));break;case"destroy":e.onDestroy(()=>r(n&&u(n,"destroy",e)))}}function u(e,t,n){const r=n.totalTime,i=!!n.disabled,s=h(e.element,e.triggerName,e.fromState,e.toState,t||e.phaseName,null==r?e.totalTime:r,i),o=e._data;return null!=o&&(s._data=o),s}function h(e,t,n,r,i="",s=0,o){return{element:e,triggerName:t,fromState:n,toState:r,phaseName:i,totalTime:s,disabled:!!o}}function d(e,t,n){let r;return e instanceof Map?(r=e.get(t),r||e.set(t,r=n)):(r=e[t],r||(r=e[t]=n)),r}function f(e){const t=e.indexOf(":");return[e.substring(1,t),e.substr(t+1)]}let p=(e,t)=>!1;let m=(e,t)=>!1;let g=(e,t,n)=>[];const v=o();(v||"undefined"!=typeof Element)&&(p=(e,t)=>e.contains(t),m=(()=>{if(v||Element.prototype.matches)return(e,t)=>e.matches(t);{const e=Element.prototype,t=e.matchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;return t?(e,n)=>t.apply(e,[n]):m}})(),g=(e,t,n)=>{let r=[];if(n){const n=e.querySelectorAll(t);for(let e=0;e<n.length;e++)r.push(n[e])}else{const n=e.querySelector(t);n&&r.push(n)}return r});let y=null,b=!1;function _(e){y||(y=function(){if("undefined"!=typeof document)return document.body;return null}()||{},b=!!y.style&&"WebkitAppearance"in y.style);let t=!0;if(y.style&&!function(e){return"ebkit"==e.substring(1,6)}(e)&&(t=e in y.style,!t&&b)){t="Webkit"+e.charAt(0).toUpperCase()+e.substr(1)in y.style}return t}const w=m,S=p,x=g;function O(e){const t={};return Object.keys(e).forEach(n=>{const r=n.replace(/([a-z])([A-Z])/g,"$1-$2");t[r]=e[n]}),t}class k{validateStyleProperty(e){return _(e)}matchesElement(e,t){return w(e,t)}containsElement(e,t){return S(e,t)}query(e,t,n){return x(e,t,n)}computeStyle(e,t,n){return n||""}animate(e,t,n,r,i,o=[],a){return new s.d(n,r)}}k.\u0275fac=function(e){return new(e||k)},k.\u0275prov=r.Jc({token:k,factory:k.\u0275fac});class C{}C.NOOP=new k;const M="ng-enter",E="ng-leave",T="ng-trigger",j=".ng-trigger",D="ng-animating",A=".ng-animating";function L(e){if("number"==typeof e)return e;const t=e.match(/^(-?[\.\d]+)(m?s)/);return!t||t.length<2?0:z(parseFloat(t[1]),t[2])}function z(e,t){switch(t){case"s":return 1e3*e;default:return e}}function P(e,t,n){return e.hasOwnProperty("duration")?e:function(e,t,n){const r=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i;let i,s=0,o="";if("string"==typeof e){const n=e.match(r);if(null===n)return t.push(`The provided timing value "${e}" is invalid.`),{duration:0,delay:0,easing:""};i=z(parseFloat(n[1]),n[2]);const a=n[3];null!=a&&(s=z(parseFloat(a),n[4]));const c=n[5];c&&(o=c)}else i=e;if(!n){let n=!1,r=t.length;i<0&&(t.push("Duration values below 0 are not allowed for this animation step."),n=!0),s<0&&(t.push("Delay values below 0 are not allowed for this animation step."),n=!0),n&&t.splice(r,0,`The provided timing value "${e}" is invalid.`)}return{duration:i,delay:s,easing:o}}(e,t,n)}function I(e,t={}){return Object.keys(e).forEach(n=>{t[n]=e[n]}),t}function R(e,t,n={}){if(t)for(let r in e)n[r]=e[r];else I(e,n);return n}function N(e,t,n){return n?t+":"+n+";":""}function H(e){let t="";for(let n=0;n<e.style.length;n++){const r=e.style.item(n);t+=N(0,r,e.style.getPropertyValue(r))}for(const n in e.style){if(!e.style.hasOwnProperty(n)||n.startsWith("_"))continue;t+=N(0,n.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),e.style[n])}e.setAttribute("style",t)}function F(e,t,n){e.style&&(Object.keys(t).forEach(r=>{const i=G(r);n&&!n.hasOwnProperty(r)&&(n[r]=e.style[i]),e.style[i]=t[r]}),o()&&H(e))}function V(e,t){e.style&&(Object.keys(t).forEach(t=>{const n=G(t);e.style[n]=""}),o()&&H(e))}function B(e){return Array.isArray(e)?1==e.length?e[0]:Object(s.g)(e):e}const Y=new RegExp("{{\\s*(.+?)\\s*}}","g");function U(e){let t=[];if("string"==typeof e){let n;for(;n=Y.exec(e);)t.push(n[1]);Y.lastIndex=0}return t}function W(e,t,n){const r=e.toString(),i=r.replace(Y,(e,r)=>{let i=t[r];return t.hasOwnProperty(r)||(n.push("Please provide a value for the animation param "+r),i=""),i.toString()});return i==r?e:i}function q(e){const t=[];let n=e.next();for(;!n.done;)t.push(n.value),n=e.next();return t}const $=/-+([a-z0-9])/g;function G(e){return e.replace($,(...e)=>e[1].toUpperCase())}function X(e,t){return 0===e||0===t}function K(e,t,n){const r=Object.keys(n);if(r.length&&t.length){let s=t[0],o=[];if(r.forEach(e=>{s.hasOwnProperty(e)||o.push(e),s[e]=n[e]}),o.length)for(var i=1;i<t.length;i++){let n=t[i];o.forEach(function(t){n[t]=Q(e,t)})}}return t}function J(e,t,n){switch(t.type){case 7:return e.visitTrigger(t,n);case 0:return e.visitState(t,n);case 1:return e.visitTransition(t,n);case 2:return e.visitSequence(t,n);case 3:return e.visitGroup(t,n);case 4:return e.visitAnimate(t,n);case 5:return e.visitKeyframes(t,n);case 6:return e.visitStyle(t,n);case 8:return e.visitReference(t,n);case 9:return e.visitAnimateChild(t,n);case 10:return e.visitAnimateRef(t,n);case 11:return e.visitQuery(t,n);case 12:return e.visitStagger(t,n);default:throw new Error("Unable to resolve animation metadata node #"+t.type)}}function Q(e,t){return window.getComputedStyle(e)[t]}const Z="*";function ee(e,t){const n=[];return"string"==typeof e?e.split(/\s*,\s*/).forEach(e=>function(e,t,n){if(":"==e[0]){const r=function(e,t){switch(e){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(e,t)=>parseFloat(t)>parseFloat(e);case":decrement":return(e,t)=>parseFloat(t)<parseFloat(e);default:return t.push(`The transition alias value "${e}" is not supported`),"* => *"}}(e,n);if("function"==typeof r)return void t.push(r);e=r}const r=e.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==r||r.length<4)return n.push(`The provided transition expression "${e}" is not supported`),t;const i=r[1],s=r[2],o=r[3];t.push(re(i,o));const a=i==Z&&o==Z;"<"!=s[0]||a||t.push(re(o,i))}(e,n,t)):n.push(e),n}const te=new Set(["true","1"]),ne=new Set(["false","0"]);function re(e,t){const n=te.has(e)||ne.has(e),r=te.has(t)||ne.has(t);return(i,s)=>{let o=e==Z||e==i,a=t==Z||t==s;return!o&&n&&"boolean"==typeof i&&(o=i?te.has(e):ne.has(e)),!a&&r&&"boolean"==typeof s&&(a=s?te.has(t):ne.has(t)),o&&a}}const ie=":self",se=new RegExp("s*:selfs*,?","g");function oe(e,t,n){return new ae(e).build(t,n)}class ae{constructor(e){this._driver=e}build(e,t){const n=new ce(t);return this._resetContextStyleTimingState(n),J(this,B(e),n)}_resetContextStyleTimingState(e){e.currentQuerySelector="",e.collectedStyles={},e.collectedStyles[""]={},e.currentTime=0}visitTrigger(e,t){let n=t.queryCount=0,r=t.depCount=0;const i=[],s=[];return"@"==e.name.charAt(0)&&t.errors.push("animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))"),e.definitions.forEach(e=>{if(this._resetContextStyleTimingState(t),0==e.type){const n=e,r=n.name;r.toString().split(/\s*,\s*/).forEach(e=>{n.name=e,i.push(this.visitState(n,t))}),n.name=r}else if(1==e.type){const i=this.visitTransition(e,t);n+=i.queryCount,r+=i.depCount,s.push(i)}else t.errors.push("only state() and transition() definitions can sit inside of a trigger()")}),{type:7,name:e.name,states:i,transitions:s,queryCount:n,depCount:r,options:null}}visitState(e,t){const n=this.visitStyle(e.styles,t),r=e.options&&e.options.params||null;if(n.containsDynamicStyles){const i=new Set,s=r||{};if(n.styles.forEach(e=>{if(le(e)){const t=e;Object.keys(t).forEach(e=>{U(t[e]).forEach(e=>{s.hasOwnProperty(e)||i.add(e)})})}}),i.size){const n=q(i.values());t.errors.push(`state("${e.name}", ...) must define default values for all the following style substitutions: ${n.join(", ")}`)}}return{type:0,name:e.name,style:n,options:r?{params:r}:null}}visitTransition(e,t){t.queryCount=0,t.depCount=0;const n=J(this,B(e.animation),t);return{type:1,matchers:ee(e.expr,t.errors),animation:n,queryCount:t.queryCount,depCount:t.depCount,options:ue(e.options)}}visitSequence(e,t){return{type:2,steps:e.steps.map(e=>J(this,e,t)),options:ue(e.options)}}visitGroup(e,t){const n=t.currentTime;let r=0;const i=e.steps.map(e=>{t.currentTime=n;const i=J(this,e,t);return r=Math.max(r,t.currentTime),i});return t.currentTime=r,{type:3,steps:i,options:ue(e.options)}}visitAnimate(e,t){const n=function(e,t){let n=null;if(e.hasOwnProperty("duration"))n=e;else if("number"==typeof e){return he(P(e,t).duration,0,"")}const r=e;if(r.split(/\s+/).some(e=>"{"==e.charAt(0)&&"{"==e.charAt(1))){const e=he(0,0,"");return e.dynamic=!0,e.strValue=r,e}return n=n||P(r,t),he(n.duration,n.delay,n.easing)}(e.timings,t.errors);let r;t.currentAnimateTimings=n;let i=e.styles?e.styles:Object(s.j)({});if(5==i.type)r=this.visitKeyframes(i,t);else{let i=e.styles,o=!1;if(!i){o=!0;const e={};n.easing&&(e.easing=n.easing),i=Object(s.j)(e)}t.currentTime+=n.duration+n.delay;const a=this.visitStyle(i,t);a.isEmptyStep=o,r=a}return t.currentAnimateTimings=null,{type:4,timings:n,style:r,options:null}}visitStyle(e,t){const n=this._makeStyleAst(e,t);return this._validateStyleAst(n,t),n}_makeStyleAst(e,t){const n=[];Array.isArray(e.styles)?e.styles.forEach(e=>{"string"==typeof e?e==s.a?n.push(e):t.errors.push(`The provided style string value ${e} is not allowed.`):n.push(e)}):n.push(e.styles);let r=!1,i=null;return n.forEach(e=>{if(le(e)){const t=e,n=t.easing;if(n&&(i=n,delete t.easing),!r)for(let e in t){if(t[e].toString().indexOf("{{")>=0){r=!0;break}}}}),{type:6,styles:n,easing:i,offset:e.offset,containsDynamicStyles:r,options:null}}_validateStyleAst(e,t){const n=t.currentAnimateTimings;let r=t.currentTime,i=t.currentTime;n&&i>0&&(i-=n.duration+n.delay),e.styles.forEach(e=>{"string"!=typeof e&&Object.keys(e).forEach(n=>{if(!this._driver.validateStyleProperty(n))return void t.errors.push(`The provided animation property "${n}" is not a supported CSS property for animations`);const s=t.collectedStyles[t.currentQuerySelector],o=s[n];let a=!0;o&&(i!=r&&i>=o.startTime&&r<=o.endTime&&(t.errors.push(`The CSS property "${n}" that exists between the times of "${o.startTime}ms" and "${o.endTime}ms" is also being animated in a parallel animation between the times of "${i}ms" and "${r}ms"`),a=!1),i=o.startTime),a&&(s[n]={startTime:i,endTime:r}),t.options&&function(e,t,n){const r=t.params||{},i=U(e);i.length&&i.forEach(e=>{r.hasOwnProperty(e)||n.push(`Unable to resolve the local animation param ${e} in the given list of values`)})}(e[n],t.options,t.errors)})})}visitKeyframes(e,t){const n={type:5,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push("keyframes() must be placed inside of a call to animate()"),n;let r=0;const i=[];let s=!1,o=!1,a=0;const c=e.steps.map(e=>{const n=this._makeStyleAst(e,t);let c=null!=n.offset?n.offset:function(e){if("string"==typeof e)return null;let t=null;if(Array.isArray(e))e.forEach(e=>{if(le(e)&&e.hasOwnProperty("offset")){const n=e;t=parseFloat(n.offset),delete n.offset}});else if(le(e)&&e.hasOwnProperty("offset")){const n=e;t=parseFloat(n.offset),delete n.offset}return t}(n.styles),l=0;return null!=c&&(r++,l=n.offset=c),o=o||l<0||l>1,s=s||l<a,a=l,i.push(l),n});o&&t.errors.push("Please ensure that all keyframe offsets are between 0 and 1"),s&&t.errors.push("Please ensure that all keyframe offsets are in order");const l=e.steps.length;let u=0;r>0&&r<l?t.errors.push("Not all style() steps within the declared keyframes() contain offsets"):0==r&&(u=1/(l-1));const h=l-1,d=t.currentTime,f=t.currentAnimateTimings,p=f.duration;return c.forEach((e,r)=>{const s=u>0?r==h?1:u*r:i[r],o=s*p;t.currentTime=d+f.delay+o,f.duration=o,this._validateStyleAst(e,t),e.offset=s,n.styles.push(e)}),n}visitReference(e,t){return{type:8,animation:J(this,B(e.animation),t),options:ue(e.options)}}visitAnimateChild(e,t){return t.depCount++,{type:9,options:ue(e.options)}}visitAnimateRef(e,t){return{type:10,animation:this.visitReference(e.animation,t),options:ue(e.options)}}visitQuery(e,t){const n=t.currentQuerySelector,r=e.options||{};t.queryCount++,t.currentQuery=e;const[i,s]=function(e){const t=!!e.split(/\s*,\s*/).find(e=>e==ie);t&&(e=e.replace(se,""));return[e=e.replace(/@\*/g,j).replace(/@\w+/g,e=>".ng-trigger-"+e.substr(1)).replace(/:animating/g,A),t]}(e.selector);t.currentQuerySelector=n.length?n+" "+i:i,d(t.collectedStyles,t.currentQuerySelector,{});const o=J(this,B(e.animation),t);return t.currentQuery=null,t.currentQuerySelector=n,{type:11,selector:i,limit:r.limit||0,optional:!!r.optional,includeSelf:s,animation:o,originalSelector:e.selector,options:ue(e.options)}}visitStagger(e,t){t.currentQuery||t.errors.push("stagger() can only be used inside of query()");const n="full"===e.timings?{duration:0,delay:0,easing:"full"}:P(e.timings,t.errors,!0);return{type:12,animation:J(this,B(e.animation),t),timings:n,options:null}}}class ce{constructor(e){this.errors=e,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles={},this.options=null}}function le(e){return!Array.isArray(e)&&"object"==typeof e}function ue(e){var t;return e?(e=I(e)).params&&(e.params=(t=e.params)?I(t):null):e={},e}function he(e,t,n){return{duration:e,delay:t,easing:n}}function de(e,t,n,r,i,s,o=null,a=!1){return{type:1,element:e,keyframes:t,preStyleProps:n,postStyleProps:r,duration:i,delay:s,totalTime:i+s,easing:o,subTimeline:a}}class fe{constructor(){this._map=new Map}consume(e){let t=this._map.get(e);return t?this._map.delete(e):t=[],t}append(e,t){let n=this._map.get(e);n||this._map.set(e,n=[]),n.push(...t)}has(e){return this._map.has(e)}clear(){this._map.clear()}}const pe=new RegExp(":enter","g"),me=new RegExp(":leave","g");function ge(e,t,n,r,i,s={},o={},a,c,l=[]){return(new ve).buildKeyframes(e,t,n,r,i,s,o,a,c,l)}class ve{buildKeyframes(e,t,n,r,i,s,o,a,c,l=[]){c=c||new fe;const u=new be(e,t,c,r,i,l,[]);u.options=a,u.currentTimeline.setStyles([s],null,u.errors,a),J(this,n,u);const h=u.timelines.filter(e=>e.containsAnimation());if(h.length&&Object.keys(o).length){const e=h[h.length-1];e.allowOnlyTimelineStyles()||e.setStyles([o],null,u.errors,a)}return h.length?h.map(e=>e.buildKeyframes()):[de(t,[],[],[],0,0,"",!1)]}visitTrigger(e,t){}visitState(e,t){}visitTransition(e,t){}visitAnimateChild(e,t){const n=t.subInstructions.consume(t.element);if(n){const r=t.createSubContext(e.options),i=t.currentTimeline.currentTime,s=this._visitSubInstructions(n,r,r.options);i!=s&&t.transformIntoNewTimeline(s)}t.previousNode=e}visitAnimateRef(e,t){const n=t.createSubContext(e.options);n.transformIntoNewTimeline(),this.visitReference(e.animation,n),t.transformIntoNewTimeline(n.currentTimeline.currentTime),t.previousNode=e}_visitSubInstructions(e,t,n){let r=t.currentTimeline.currentTime;const i=null!=n.duration?L(n.duration):null,s=null!=n.delay?L(n.delay):null;return 0!==i&&e.forEach(e=>{const n=t.appendInstructionToTimeline(e,i,s);r=Math.max(r,n.duration+n.delay)}),r}visitReference(e,t){t.updateOptions(e.options,!0),J(this,e.animation,t),t.previousNode=e}visitSequence(e,t){const n=t.subContextCount;let r=t;const i=e.options;if(i&&(i.params||i.delay)&&(r=t.createSubContext(i),r.transformIntoNewTimeline(),null!=i.delay)){6==r.previousNode.type&&(r.currentTimeline.snapshotCurrentStyles(),r.previousNode=ye);const e=L(i.delay);r.delayNextStep(e)}e.steps.length&&(e.steps.forEach(e=>J(this,e,r)),r.currentTimeline.applyStylesToKeyframe(),r.subContextCount>n&&r.transformIntoNewTimeline()),t.previousNode=e}visitGroup(e,t){const n=[];let r=t.currentTimeline.currentTime;const i=e.options&&e.options.delay?L(e.options.delay):0;e.steps.forEach(s=>{const o=t.createSubContext(e.options);i&&o.delayNextStep(i),J(this,s,o),r=Math.max(r,o.currentTimeline.currentTime),n.push(o.currentTimeline)}),n.forEach(e=>t.currentTimeline.mergeTimelineCollectedStyles(e)),t.transformIntoNewTimeline(r),t.previousNode=e}_visitTiming(e,t){if(e.dynamic){const n=e.strValue;return P(t.params?W(n,t.params,t.errors):n,t.errors)}return{duration:e.duration,delay:e.delay,easing:e.easing}}visitAnimate(e,t){const n=t.currentAnimateTimings=this._visitTiming(e.timings,t),r=t.currentTimeline;n.delay&&(t.incrementTime(n.delay),r.snapshotCurrentStyles());const i=e.style;5==i.type?this.visitKeyframes(i,t):(t.incrementTime(n.duration),this.visitStyle(i,t),r.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=e}visitStyle(e,t){const n=t.currentTimeline,r=t.currentAnimateTimings;!r&&n.getCurrentStyleProperties().length&&n.forwardFrame();const i=r&&r.easing||e.easing;e.isEmptyStep?n.applyEmptyStep(i):n.setStyles(e.styles,i,t.errors,t.options),t.previousNode=e}visitKeyframes(e,t){const n=t.currentAnimateTimings,r=t.currentTimeline.duration,i=n.duration,s=t.createSubContext().currentTimeline;s.easing=n.easing,e.styles.forEach(e=>{const n=e.offset||0;s.forwardTime(n*i),s.setStyles(e.styles,e.easing,t.errors,t.options),s.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(s),t.transformIntoNewTimeline(r+i),t.previousNode=e}visitQuery(e,t){const n=t.currentTimeline.currentTime,r=e.options||{},i=r.delay?L(r.delay):0;i&&(6===t.previousNode.type||0==n&&t.currentTimeline.getCurrentStyleProperties().length)&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=ye);let s=n;const o=t.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!r.optional,t.errors);t.currentQueryTotal=o.length;let a=null;o.forEach((n,r)=>{t.currentQueryIndex=r;const o=t.createSubContext(e.options,n);i&&o.delayNextStep(i),n===t.element&&(a=o.currentTimeline),J(this,e.animation,o),o.currentTimeline.applyStylesToKeyframe();const c=o.currentTimeline.currentTime;s=Math.max(s,c)}),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(s),a&&(t.currentTimeline.mergeTimelineCollectedStyles(a),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=e}visitStagger(e,t){const n=t.parentContext,r=t.currentTimeline,i=e.timings,s=Math.abs(i.duration),o=s*(t.currentQueryTotal-1);let a=s*t.currentQueryIndex;switch(i.duration<0?"reverse":i.easing){case"reverse":a=o-a;break;case"full":a=n.currentStaggerTime}const c=t.currentTimeline;a&&c.delayNextStep(a);const l=c.currentTime;J(this,e.animation,t),t.previousNode=e,n.currentStaggerTime=r.currentTime-l+(r.startTime-n.currentTimeline.startTime)}}const ye={};class be{constructor(e,t,n,r,i,s,o,a){this._driver=e,this.element=t,this.subInstructions=n,this._enterClassName=r,this._leaveClassName=i,this.errors=s,this.timelines=o,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=ye,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=a||new _e(this._driver,t,0),o.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(e,t){if(!e)return;const n=e;let r=this.options;null!=n.duration&&(r.duration=L(n.duration)),null!=n.delay&&(r.delay=L(n.delay));const i=n.params;if(i){let e=r.params;e||(e=this.options.params={}),Object.keys(i).forEach(n=>{t&&e.hasOwnProperty(n)||(e[n]=W(i[n],e,this.errors))})}}_copyOptions(){const e={};if(this.options){const t=this.options.params;if(t){const n=e.params={};Object.keys(t).forEach(e=>{n[e]=t[e]})}}return e}createSubContext(e=null,t,n){const r=t||this.element,i=new be(this._driver,r,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(r,n||0));return i.previousNode=this.previousNode,i.currentAnimateTimings=this.currentAnimateTimings,i.options=this._copyOptions(),i.updateOptions(e),i.currentQueryIndex=this.currentQueryIndex,i.currentQueryTotal=this.currentQueryTotal,i.parentContext=this,this.subContextCount++,i}transformIntoNewTimeline(e){return this.previousNode=ye,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(e,t,n){const r={duration:null!=t?t:e.duration,delay:this.currentTimeline.currentTime+(null!=n?n:0)+e.delay,easing:""},i=new we(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,r,e.stretchStartingKeyframe);return this.timelines.push(i),r}incrementTime(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)}delayNextStep(e){e>0&&this.currentTimeline.delayNextStep(e)}invokeQuery(e,t,n,r,i,s){let o=[];if(r&&o.push(this.element),e.length>0){e=(e=e.replace(pe,"."+this._enterClassName)).replace(me,"."+this._leaveClassName);const t=1!=n;let r=this._driver.query(this.element,e,t);0!==n&&(r=n<0?r.slice(r.length+n,r.length):r.slice(0,n)),o.push(...r)}return i||0!=o.length||s.push(`\`query("${t}")\` returned zero elements. (Use \`query("${t}", { optional: true })\` if you wish to allow this.)`),o}}class _e{constructor(e,t,n,r){this._driver=e,this.element=t,this.startTime=n,this._elementTimelineStylesLookup=r,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(t),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(t,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}}getCurrentStyleProperties(){return Object.keys(this._currentKeyframe)}get currentTime(){return this.startTime+this.duration}delayNextStep(e){const t=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||t?(this.forwardTime(this.currentTime+e),t&&this.snapshotCurrentStyles()):this.startTime+=e}fork(e,t){return this.applyStylesToKeyframe(),new _e(this._driver,e,t||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=Object.create(this._backFill,{}),this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe()}_updateStyle(e,t){this._localTimelineStyles[e]=t,this._globalTimelineStyles[e]=t,this._styleSummary[e]={time:this.currentTime,value:t}}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(e){e&&(this._previousKeyframe.easing=e),Object.keys(this._globalTimelineStyles).forEach(e=>{this._backFill[e]=this._globalTimelineStyles[e]||s.a,this._currentKeyframe[e]=s.a}),this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(e,t,n,r){t&&(this._previousKeyframe.easing=t);const i=r&&r.params||{},o=function(e,t){const n={};let r;return e.forEach(e=>{"*"===e?(r=r||Object.keys(t),r.forEach(e=>{n[e]=s.a})):R(e,!1,n)}),n}(e,this._globalTimelineStyles);Object.keys(o).forEach(e=>{const t=W(o[e],i,n);this._pendingStyles[e]=t,this._localTimelineStyles.hasOwnProperty(e)||(this._backFill[e]=this._globalTimelineStyles.hasOwnProperty(e)?this._globalTimelineStyles[e]:s.a),this._updateStyle(e,t)})}applyStylesToKeyframe(){const e=this._pendingStyles,t=Object.keys(e);0!=t.length&&(this._pendingStyles={},t.forEach(t=>{const n=e[t];this._currentKeyframe[t]=n}),Object.keys(this._localTimelineStyles).forEach(e=>{this._currentKeyframe.hasOwnProperty(e)||(this._currentKeyframe[e]=this._localTimelineStyles[e])}))}snapshotCurrentStyles(){Object.keys(this._localTimelineStyles).forEach(e=>{const t=this._localTimelineStyles[e];this._pendingStyles[e]=t,this._updateStyle(e,t)})}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const e=[];for(let t in this._currentKeyframe)e.push(t);return e}mergeTimelineCollectedStyles(e){Object.keys(e._styleSummary).forEach(t=>{const n=this._styleSummary[t],r=e._styleSummary[t];(!n||r.time>n.time)&&this._updateStyle(t,r.value)})}buildKeyframes(){this.applyStylesToKeyframe();const e=new Set,t=new Set,n=1===this._keyframes.size&&0===this.duration;let r=[];this._keyframes.forEach((i,o)=>{const a=R(i,!0);Object.keys(a).forEach(n=>{const r=a[n];r==s.n?e.add(n):r==s.a&&t.add(n)}),n||(a.offset=o/this.duration),r.push(a)});const i=e.size?q(e.values()):[],o=t.size?q(t.values()):[];if(n){const e=r[0],t=I(e);e.offset=0,t.offset=1,r=[e,t]}return de(this.element,r,i,o,this.duration,this.startTime,this.easing,!1)}}class we extends _e{constructor(e,t,n,r,i,s,o=!1){super(e,t,s.delay),this.element=t,this.keyframes=n,this.preStyleProps=r,this.postStyleProps=i,this._stretchStartingKeyframe=o,this.timings={duration:s.duration,delay:s.delay,easing:s.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let e=this.keyframes,{delay:t,duration:n,easing:r}=this.timings;if(this._stretchStartingKeyframe&&t){const i=[],s=n+t,o=t/s,a=R(e[0],!1);a.offset=0,i.push(a);const c=R(e[0],!1);c.offset=Se(o),i.push(c);const l=e.length-1;for(let r=1;r<=l;r++){let o=R(e[r],!1);const a=t+o.offset*n;o.offset=Se(a/s),i.push(o)}n=s,t=0,r="",e=i}return de(this.element,e,this.preStyleProps,this.postStyleProps,n,t,r,!0)}}function Se(e,t=3){const n=Math.pow(10,t-1);return Math.round(e*n)/n}class xe{}class Oe extends xe{normalizePropertyName(e,t){return G(e)}normalizeStyleValue(e,t,n,r){let i="";const s=n.toString().trim();if(ke[t]&&0!==n&&"0"!==n)if("number"==typeof n)i="px";else{const t=n.match(/^[+-]?[\d\.]+([a-z]*)$/);t&&0==t[1].length&&r.push(`Please provide a CSS unit value for ${e}:${n}`)}return s+i}}const ke=function(e){const t={};return e.forEach(e=>t[e]=!0),t}("width,height,minWidth,minHeight,maxWidth,maxHeight,left,top,bottom,right,fontSize,outlineWidth,outlineOffset,paddingTop,paddingLeft,paddingBottom,paddingRight,marginTop,marginLeft,marginBottom,marginRight,borderRadius,borderWidth,borderTopWidth,borderLeftWidth,borderRightWidth,borderBottomWidth,textIndent,perspective".split(","));function Ce(e,t,n,r,i,s,o,a,c,l,u,h,d){return{type:0,element:e,triggerName:t,isRemovalTransition:i,fromState:n,fromStyles:s,toState:r,toStyles:o,timelines:a,queriedElements:c,preStyleProps:l,postStyleProps:u,totalTime:h,errors:d}}const Me={};class Ee{constructor(e,t,n){this._triggerName=e,this.ast=t,this._stateStyles=n}match(e,t,n,r){return function(e,t,n,r,i){return e.some(e=>e(t,n,r,i))}(this.ast.matchers,e,t,n,r)}buildStyles(e,t,n){const r=this._stateStyles["*"],i=this._stateStyles[e],s=r?r.buildStyles(t,n):{};return i?i.buildStyles(t,n):s}build(e,t,n,r,i,s,o,a,c,l){const u=[],h=this.ast.options&&this.ast.options.params||Me,f=o&&o.params||Me,p=this.buildStyles(n,f,u),m=a&&a.params||Me,g=this.buildStyles(r,m,u),v=new Set,y=new Map,b=new Map,_="void"===r,w={params:Object.assign(Object.assign({},h),m)},S=l?[]:ge(e,t,this.ast.animation,i,s,p,g,w,c,u);let x=0;if(S.forEach(e=>{x=Math.max(e.duration+e.delay,x)}),u.length)return Ce(t,this._triggerName,n,r,_,p,g,[],[],y,b,x,u);S.forEach(e=>{const n=e.element,r=d(y,n,{});e.preStyleProps.forEach(e=>r[e]=!0);const i=d(b,n,{});e.postStyleProps.forEach(e=>i[e]=!0),n!==t&&v.add(n)});const O=q(v.values());return Ce(t,this._triggerName,n,r,_,p,g,S,O,y,b,x)}}class Te{constructor(e,t){this.styles=e,this.defaultParams=t}buildStyles(e,t){const n={},r=I(this.defaultParams);return Object.keys(e).forEach(t=>{const n=e[t];null!=n&&(r[t]=n)}),this.styles.styles.forEach(e=>{if("string"!=typeof e){const i=e;Object.keys(i).forEach(e=>{let s=i[e];s.length>1&&(s=W(s,r,t)),n[e]=s})}}),n}}class je{constructor(e,t){var n,r;this.name=e,this.ast=t,this.transitionFactories=[],this.states={},t.states.forEach(e=>{const t=e.options&&e.options.params||{};this.states[e.name]=new Te(e.style,t)}),De(this.states,"true","1"),De(this.states,"false","0"),t.transitions.forEach(t=>{this.transitionFactories.push(new Ee(e,t,this.states))}),this.fallbackTransition=(n=e,r=this.states,new Ee(n,{type:1,animation:{type:2,steps:[],options:null},matchers:[(e,t)=>!0],options:null,queryCount:0,depCount:0},r))}get containsQueries(){return this.ast.queryCount>0}matchTransition(e,t,n,r){return this.transitionFactories.find(i=>i.match(e,t,n,r))||null}matchStyles(e,t,n){return this.fallbackTransition.buildStyles(e,t,n)}}function De(e,t,n){e.hasOwnProperty(t)?e.hasOwnProperty(n)||(e[n]=e[t]):e.hasOwnProperty(n)&&(e[t]=e[n])}const Ae=new fe;class Le{constructor(e,t,n){this.bodyNode=e,this._driver=t,this._normalizer=n,this._animations={},this._playersById={},this.players=[]}register(e,t){const n=[],r=oe(this._driver,t,n);if(n.length)throw new Error("Unable to build the animation due to the following errors: "+n.join("\n"));this._animations[e]=r}_buildPlayer(e,t,n){const r=e.element,i=c(this._driver,this._normalizer,0,e.keyframes,t,n);return this._driver.animate(r,i,e.duration,e.delay,e.easing,[],!0)}create(e,t,n={}){const r=[],i=this._animations[e];let o;const c=new Map;if(i?(o=ge(this._driver,t,i,M,E,{},{},n,Ae,r),o.forEach(e=>{const t=d(c,e.element,{});e.postStyleProps.forEach(e=>t[e]=null)})):(r.push("The requested animation doesn't exist or has already been destroyed"),o=[]),r.length)throw new Error("Unable to create the animation due to the following errors: "+r.join("\n"));c.forEach((e,t)=>{Object.keys(e).forEach(n=>{e[n]=this._driver.computeStyle(t,n,s.a)})});const l=a(o.map(e=>{const t=c.get(e.element);return this._buildPlayer(e,{},t)}));return this._playersById[e]=l,l.onDestroy(()=>this.destroy(e)),this.players.push(l),l}destroy(e){const t=this._getPlayer(e);t.destroy(),delete this._playersById[e];const n=this.players.indexOf(t);n>=0&&this.players.splice(n,1)}_getPlayer(e){const t=this._playersById[e];if(!t)throw new Error("Unable to find the timeline player referenced by "+e);return t}listen(e,t,n,r){const i=h(t,"","","");return l(this._getPlayer(e),n,i,r),()=>{}}command(e,t,n,r){if("register"==n)return void this.register(e,r[0]);if("create"==n){const n=r[0]||{};return void this.create(e,t,n)}const i=this._getPlayer(e);switch(n){case"play":i.play();break;case"pause":i.pause();break;case"reset":i.reset();break;case"restart":i.restart();break;case"finish":i.finish();break;case"init":i.init();break;case"setPosition":i.setPosition(parseFloat(r[0]));break;case"destroy":this.destroy(e)}}}const ze="ng-animate-queued",Pe="ng-animate-disabled",Ie=".ng-animate-disabled",Re=[],Ne={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},He={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0};class Fe{constructor(e,t=""){this.namespaceId=t;const n=e&&e.hasOwnProperty("value"),r=n?e.value:e;if(this.value=function(e){return null!=e?e:null}(r),n){const t=I(e);delete t.value,this.options=t}else this.options={};this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(e){const t=e.params;if(t){const e=this.options.params;Object.keys(t).forEach(n=>{null==e[n]&&(e[n]=t[n])})}}}const Ve="void",Be=new Fe(Ve);class Ye{constructor(e,t,n){this.id=e,this.hostElement=t,this._engine=n,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+e,Ke(t,this._hostClassName)}listen(e,t,n,r){if(!this._triggers.hasOwnProperty(t))throw new Error(`Unable to listen on the animation trigger event "${n}" because the animation trigger "${t}" doesn't exist!`);if(null==n||0==n.length)throw new Error(`Unable to listen on the animation trigger "${t}" because the provided event is undefined!`);if("start"!=(i=n)&&"done"!=i)throw new Error(`The provided animation trigger event "${n}" for the animation trigger "${t}" is not supported!`);var i;const s=d(this._elementListeners,e,[]),o={name:t,phase:n,callback:r};s.push(o);const a=d(this._engine.statesByElement,e,{});return a.hasOwnProperty(t)||(Ke(e,T),Ke(e,"ng-trigger-"+t),a[t]=Be),()=>{this._engine.afterFlush(()=>{const e=s.indexOf(o);e>=0&&s.splice(e,1),this._triggers[t]||delete a[t]})}}register(e,t){return!this._triggers[e]&&(this._triggers[e]=t,!0)}_getTrigger(e){const t=this._triggers[e];if(!t)throw new Error(`The provided animation trigger "${e}" has not been registered!`);return t}trigger(e,t,n,r=!0){const i=this._getTrigger(t),s=new We(this.id,t,e);let o=this._engine.statesByElement.get(e);o||(Ke(e,T),Ke(e,"ng-trigger-"+t),this._engine.statesByElement.set(e,o={}));let a=o[t];const c=new Fe(n,this.id);!(n&&n.hasOwnProperty("value"))&&a&&c.absorbOptions(a.options),o[t]=c,a||(a=Be);if(!(c.value===Ve)&&a.value===c.value){if(!function(e,t){const n=Object.keys(e),r=Object.keys(t);if(n.length!=r.length)return!1;for(let i=0;i<n.length;i++){const r=n[i];if(!t.hasOwnProperty(r)||e[r]!==t[r])return!1}return!0}(a.params,c.params)){const t=[],n=i.matchStyles(a.value,a.params,t),r=i.matchStyles(c.value,c.params,t);t.length?this._engine.reportError(t):this._engine.afterFlush(()=>{V(e,n),F(e,r)})}return}const l=d(this._engine.playersByElement,e,[]);l.forEach(e=>{e.namespaceId==this.id&&e.triggerName==t&&e.queued&&e.destroy()});let u=i.matchTransition(a.value,c.value,e,c.params),h=!1;if(!u){if(!r)return;u=i.fallbackTransition,h=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:t,transition:u,fromState:a,toState:c,player:s,isFallbackTransition:h}),h||(Ke(e,ze),s.onStart(()=>{Je(e,ze)})),s.onDone(()=>{let t=this.players.indexOf(s);t>=0&&this.players.splice(t,1);const n=this._engine.playersByElement.get(e);if(n){let e=n.indexOf(s);e>=0&&n.splice(e,1)}}),this.players.push(s),l.push(s),s}deregister(e){delete this._triggers[e],this._engine.statesByElement.forEach((t,n)=>{delete t[e]}),this._elementListeners.forEach((t,n)=>{this._elementListeners.set(n,t.filter(t=>t.name!=e))})}clearElementCache(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);const t=this._engine.playersByElement.get(e);t&&(t.forEach(e=>e.destroy()),this._engine.playersByElement.delete(e))}_signalRemovalForInnerTriggers(e,t){const n=this._engine.driver.query(e,j,!0);n.forEach(e=>{if(e.__ng_removed)return;const n=this._engine.fetchNamespacesByElement(e);n.size?n.forEach(n=>n.triggerLeaveAnimation(e,t,!1,!0)):this.clearElementCache(e)}),this._engine.afterFlushAnimationsDone(()=>n.forEach(e=>this.clearElementCache(e)))}triggerLeaveAnimation(e,t,n,r){const i=this._engine.statesByElement.get(e);if(i){const s=[];if(Object.keys(i).forEach(t=>{if(this._triggers[t]){const n=this.trigger(e,t,Ve,r);n&&s.push(n)}}),s.length)return this._engine.markElementAsRemoved(this.id,e,!0,t),n&&a(s).onDone(()=>this._engine.processLeaveNode(e)),!0}return!1}prepareLeaveAnimationListeners(e){const t=this._elementListeners.get(e);if(t){const n=new Set;t.forEach(t=>{const r=t.name;if(n.has(r))return;n.add(r);const i=this._triggers[r].fallbackTransition,s=this._engine.statesByElement.get(e)[r]||Be,o=new Fe(Ve),a=new We(this.id,r,e);this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:r,transition:i,fromState:s,toState:o,player:a,isFallbackTransition:!0})})}}removeNode(e,t){const n=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,t),this.triggerLeaveAnimation(e,t,!0))return;let r=!1;if(n.totalAnimations){const t=n.players.length?n.playersByQueriedElement.get(e):[];if(t&&t.length)r=!0;else{let t=e;for(;t=t.parentNode;){if(n.statesByElement.get(t)){r=!0;break}}}}if(this.prepareLeaveAnimationListeners(e),r)n.markElementAsRemoved(this.id,e,!1,t);else{const r=e.__ng_removed;r&&r!==Ne||(n.afterFlush(()=>this.clearElementCache(e)),n.destroyInnerAnimations(e),n._onRemovalComplete(e,t))}}insertNode(e,t){Ke(e,this._hostClassName)}drainQueuedTransitions(e){const t=[];return this._queue.forEach(n=>{const r=n.player;if(r.destroyed)return;const i=n.element,s=this._elementListeners.get(i);s&&s.forEach(t=>{if(t.name==n.triggerName){const r=h(i,n.triggerName,n.fromState.value,n.toState.value);r._data=e,l(n.player,t.phase,r,t.callback)}}),r.markedForDestroy?this._engine.afterFlush(()=>{r.destroy()}):t.push(n)}),this._queue=[],t.sort((e,t)=>{const n=e.transition.ast.depCount,r=t.transition.ast.depCount;return 0==n||0==r?n-r:this._engine.driver.containsElement(e.element,t.element)?1:-1})}destroy(e){this.players.forEach(e=>e.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,e)}elementContainsData(e){let t=!1;return this._elementListeners.has(e)&&(t=!0),t=!!this._queue.find(t=>t.element===e)||t,t}}class Ue{constructor(e,t,n){this.bodyNode=e,this.driver=t,this._normalizer=n,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(e,t)=>{}}_onRemovalComplete(e,t){this.onRemovalComplete(e,t)}get queuedPlayers(){const e=[];return this._namespaceList.forEach(t=>{t.players.forEach(t=>{t.queued&&e.push(t)})}),e}createNamespace(e,t){const n=new Ye(e,t,this);return t.parentNode?this._balanceNamespaceList(n,t):(this.newHostElements.set(t,n),this.collectEnterElement(t)),this._namespaceLookup[e]=n}_balanceNamespaceList(e,t){const n=this._namespaceList.length-1;if(n>=0){let r=!1;for(let i=n;i>=0;i--){const n=this._namespaceList[i];if(this.driver.containsElement(n.hostElement,t)){this._namespaceList.splice(i+1,0,e),r=!0;break}}r||this._namespaceList.splice(0,0,e)}else this._namespaceList.push(e);return this.namespacesByHostElement.set(t,e),e}register(e,t){let n=this._namespaceLookup[e];return n||(n=this.createNamespace(e,t)),n}registerTrigger(e,t,n){let r=this._namespaceLookup[e];r&&r.register(t,n)&&this.totalAnimations++}destroy(e,t){if(!e)return;const n=this._fetchNamespace(e);this.afterFlush(()=>{this.namespacesByHostElement.delete(n.hostElement),delete this._namespaceLookup[e];const t=this._namespaceList.indexOf(n);t>=0&&this._namespaceList.splice(t,1)}),this.afterFlushAnimationsDone(()=>n.destroy(t))}_fetchNamespace(e){return this._namespaceLookup[e]}fetchNamespacesByElement(e){const t=new Set,n=this.statesByElement.get(e);if(n){const e=Object.keys(n);for(let r=0;r<e.length;r++){const i=n[e[r]].namespaceId;if(i){const e=this._fetchNamespace(i);e&&t.add(e)}}}return t}trigger(e,t,n,r){if(qe(t)){const i=this._fetchNamespace(e);if(i)return i.trigger(t,n,r),!0}return!1}insertNode(e,t,n,r){if(!qe(t))return;const i=t.__ng_removed;if(i&&i.setForRemoval){i.setForRemoval=!1,i.setForMove=!0;const e=this.collectedLeaveElements.indexOf(t);e>=0&&this.collectedLeaveElements.splice(e,1)}if(e){const r=this._fetchNamespace(e);r&&r.insertNode(t,n)}r&&this.collectEnterElement(t)}collectEnterElement(e){this.collectedEnterElements.push(e)}markElementAsDisabled(e,t){t?this.disabledNodes.has(e)||(this.disabledNodes.add(e),Ke(e,Pe)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),Je(e,Pe))}removeNode(e,t,n,r){if(qe(t)){const i=e?this._fetchNamespace(e):null;if(i?i.removeNode(t,r):this.markElementAsRemoved(e,t,!1,r),n){const n=this.namespacesByHostElement.get(t);n&&n.id!==e&&n.removeNode(t,r)}}else this._onRemovalComplete(t,r)}markElementAsRemoved(e,t,n,r){this.collectedLeaveElements.push(t),t.__ng_removed={namespaceId:e,setForRemoval:r,hasAnimation:n,removedBeforeQueried:!1}}listen(e,t,n,r,i){return qe(t)?this._fetchNamespace(e).listen(t,n,r,i):()=>{}}_buildInstruction(e,t,n,r,i){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,n,r,e.fromState.options,e.toState.options,t,i)}destroyInnerAnimations(e){let t=this.driver.query(e,j,!0);t.forEach(e=>this.destroyActiveAnimationsForElement(e)),0!=this.playersByQueriedElement.size&&(t=this.driver.query(e,A,!0),t.forEach(e=>this.finishActiveQueriedAnimationOnElement(e)))}destroyActiveAnimationsForElement(e){const t=this.playersByElement.get(e);t&&t.forEach(e=>{e.queued?e.markedForDestroy=!0:e.destroy()})}finishActiveQueriedAnimationOnElement(e){const t=this.playersByQueriedElement.get(e);t&&t.forEach(e=>e.finish())}whenRenderingDone(){return new Promise(e=>{if(this.players.length)return a(this.players).onDone(()=>e());e()})}processLeaveNode(e){const t=e.__ng_removed;if(t&&t.setForRemoval){if(e.__ng_removed=Ne,t.namespaceId){this.destroyInnerAnimations(e);const n=this._fetchNamespace(t.namespaceId);n&&n.clearElementCache(e)}this._onRemovalComplete(e,t.setForRemoval)}this.driver.matchesElement(e,Ie)&&this.markElementAsDisabled(e,!1),this.driver.query(e,Ie,!0).forEach(e=>{this.markElementAsDisabled(e,!1)})}flush(e=-1){let t=[];if(this.newHostElements.size&&(this.newHostElements.forEach((e,t)=>this._balanceNamespaceList(e,t)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let n=0;n<this.collectedEnterElements.length;n++){Ke(this.collectedEnterElements[n],"ng-star-inserted")}if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const n=[];try{t=this._flushAnimations(n,e)}finally{for(let e=0;e<n.length;e++)n[e]()}}else for(let n=0;n<this.collectedLeaveElements.length;n++){const e=this.collectedLeaveElements[n];this.processLeaveNode(e)}if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(e=>e()),this._flushFns=[],this._whenQuietFns.length){const e=this._whenQuietFns;this._whenQuietFns=[],t.length?a(t).onDone(()=>{e.forEach(e=>e())}):e.forEach(e=>e())}}reportError(e){throw new Error("Unable to process animations due to the following failed trigger transitions\n "+e.join("\n"))}_flushAnimations(e,t){const n=new fe,r=[],i=new Map,o=[],c=new Map,l=new Map,u=new Map,h=new Set;this.disabledNodes.forEach(e=>{h.add(e);const t=this.driver.query(e,".ng-animate-queued",!0);for(let n=0;n<t.length;n++)h.add(t[n])});const f=this.bodyNode,p=Array.from(this.statesByElement.keys()),m=Xe(p,this.collectedEnterElements),g=new Map;let v=0;m.forEach((e,t)=>{const n=M+v++;g.set(t,n),e.forEach(e=>Ke(e,n))});const y=[],b=new Set,_=new Set;for(let s=0;s<this.collectedLeaveElements.length;s++){const e=this.collectedLeaveElements[s],t=e.__ng_removed;t&&t.setForRemoval&&(y.push(e),b.add(e),t.hasAnimation?this.driver.query(e,".ng-star-inserted",!0).forEach(e=>b.add(e)):_.add(e))}const w=new Map,S=Xe(p,Array.from(b));S.forEach((e,t)=>{const n=E+v++;w.set(t,n),e.forEach(e=>Ke(e,n))}),e.push(()=>{m.forEach((e,t)=>{const n=g.get(t);e.forEach(e=>Je(e,n))}),S.forEach((e,t)=>{const n=w.get(t);e.forEach(e=>Je(e,n))}),y.forEach(e=>{this.processLeaveNode(e)})});const x=[],O=[];for(let s=this._namespaceList.length-1;s>=0;s--){this._namespaceList[s].drainQueuedTransitions(t).forEach(e=>{const t=e.player,i=e.element;if(x.push(t),this.collectedEnterElements.length){const e=i.__ng_removed;if(e&&e.setForMove)return void t.destroy()}const s=!f||!this.driver.containsElement(f,i),a=w.get(i),h=g.get(i),p=this._buildInstruction(e,n,h,a,s);if(p.errors&&p.errors.length)return void O.push(p);if(s)return t.onStart(()=>V(i,p.fromStyles)),t.onDestroy(()=>F(i,p.toStyles)),void r.push(t);if(e.isFallbackTransition)return t.onStart(()=>V(i,p.fromStyles)),t.onDestroy(()=>F(i,p.toStyles)),void r.push(t);p.timelines.forEach(e=>e.stretchStartingKeyframe=!0),n.append(i,p.timelines);const m={instruction:p,player:t,element:i};o.push(m),p.queriedElements.forEach(e=>d(c,e,[]).push(t)),p.preStyleProps.forEach((e,t)=>{const n=Object.keys(e);if(n.length){let e=l.get(t);e||l.set(t,e=new Set),n.forEach(t=>e.add(t))}}),p.postStyleProps.forEach((e,t)=>{const n=Object.keys(e);let r=u.get(t);r||u.set(t,r=new Set),n.forEach(e=>r.add(e))})})}if(O.length){const e=[];O.forEach(t=>{e.push(`@${t.triggerName} has failed due to:\n`),t.errors.forEach(t=>e.push(`- ${t}\n`))}),x.forEach(e=>e.destroy()),this.reportError(e)}const k=new Map,C=new Map;o.forEach(e=>{const t=e.element;n.has(t)&&(C.set(t,t),this._beforeAnimationBuild(e.player.namespaceId,e.instruction,k))}),r.forEach(e=>{const t=e.element;this._getPreviousPlayers(t,!1,e.namespaceId,e.triggerName,null).forEach(e=>{d(k,t,[]).push(e),e.destroy()})});const T=y.filter(e=>et(e,l,u)),j=new Map;Ge(j,this.driver,_,u,s.a).forEach(e=>{et(e,l,u)&&T.push(e)});const D=new Map;m.forEach((e,t)=>{Ge(D,this.driver,new Set(e),l,s.n)}),T.forEach(e=>{const t=j.get(e),n=D.get(e);j.set(e,Object.assign(Object.assign({},t),n))});const L=[],z=[],P={};o.forEach(e=>{const{element:t,player:s,instruction:o}=e;if(n.has(t)){if(h.has(t))return s.onDestroy(()=>F(t,o.toStyles)),s.disabled=!0,s.overrideTotalTime(o.totalTime),void r.push(s);let e=P;if(C.size>1){let n=t;const r=[];for(;n=n.parentNode;){const t=C.get(n);if(t){e=t;break}r.push(n)}r.forEach(t=>C.set(t,e))}const n=this._buildAnimation(s.namespaceId,o,k,i,D,j);if(s.setRealPlayer(n),e===P)L.push(s);else{const t=this.playersByElement.get(e);t&&t.length&&(s.parentPlayer=a(t)),r.push(s)}}else V(t,o.fromStyles),s.onDestroy(()=>F(t,o.toStyles)),z.push(s),h.has(t)&&r.push(s)}),z.forEach(e=>{const t=i.get(e.element);if(t&&t.length){const n=a(t);e.setRealPlayer(n)}}),r.forEach(e=>{e.parentPlayer?e.syncPlayerEvents(e.parentPlayer):e.destroy()});for(let s=0;s<y.length;s++){const e=y[s],t=e.__ng_removed;if(Je(e,E),t&&t.hasAnimation)continue;let n=[];if(c.size){let t=c.get(e);t&&t.length&&n.push(...t);let r=this.driver.query(e,A,!0);for(let e=0;e<r.length;e++){let t=c.get(r[e]);t&&t.length&&n.push(...t)}}const r=n.filter(e=>!e.destroyed);r.length?Qe(this,e,r):this.processLeaveNode(e)}return y.length=0,L.forEach(e=>{this.players.push(e),e.onDone(()=>{e.destroy();const t=this.players.indexOf(e);this.players.splice(t,1)}),e.play()}),L}elementContainsData(e,t){let n=!1;const r=t.__ng_removed;return r&&r.setForRemoval&&(n=!0),this.playersByElement.has(t)&&(n=!0),this.playersByQueriedElement.has(t)&&(n=!0),this.statesByElement.has(t)&&(n=!0),this._fetchNamespace(e).elementContainsData(t)||n}afterFlush(e){this._flushFns.push(e)}afterFlushAnimationsDone(e){this._whenQuietFns.push(e)}_getPreviousPlayers(e,t,n,r,i){let s=[];if(t){const t=this.playersByQueriedElement.get(e);t&&(s=t)}else{const t=this.playersByElement.get(e);if(t){const e=!i||i==Ve;t.forEach(t=>{t.queued||(e||t.triggerName==r)&&s.push(t)})}}return(n||r)&&(s=s.filter(e=>(!n||n==e.namespaceId)&&(!r||r==e.triggerName))),s}_beforeAnimationBuild(e,t,n){const r=t.triggerName,i=t.element,s=t.isRemovalTransition?void 0:e,o=t.isRemovalTransition?void 0:r;for(const a of t.timelines){const e=a.element,r=e!==i,c=d(n,e,[]);this._getPreviousPlayers(e,r,s,o,t.toState).forEach(e=>{const t=e.getRealPlayer();t.beforeDestroy&&t.beforeDestroy(),e.destroy(),c.push(e)})}V(i,t.fromStyles)}_buildAnimation(e,t,n,r,i,o){const l=t.triggerName,u=t.element,h=[],f=new Set,p=new Set,m=t.timelines.map(t=>{const a=t.element;f.add(a);const d=a.__ng_removed;if(d&&d.removedBeforeQueried)return new s.d(t.duration,t.delay);const m=a!==u,g=function(e){const t=[];return Ze(e,t),t}((n.get(a)||Re).map(e=>e.getRealPlayer())).filter(e=>{const t=e;return!!t.element&&t.element===a}),v=i.get(a),y=o.get(a),b=c(this.driver,this._normalizer,0,t.keyframes,v,y),_=this._buildPlayer(t,b,g);if(t.subTimeline&&r&&p.add(a),m){const t=new We(e,l,a);t.setRealPlayer(_),h.push(t)}return _});h.forEach(e=>{d(this.playersByQueriedElement,e.element,[]).push(e),e.onDone(()=>function(e,t,n){let r;if(e instanceof Map){if(r=e.get(t),r){if(r.length){const e=r.indexOf(n);r.splice(e,1)}0==r.length&&e.delete(t)}}else if(r=e[t],r){if(r.length){const e=r.indexOf(n);r.splice(e,1)}0==r.length&&delete e[t]}return r}(this.playersByQueriedElement,e.element,e))}),f.forEach(e=>Ke(e,D));const g=a(m);return g.onDestroy(()=>{f.forEach(e=>Je(e,D)),F(u,t.toStyles)}),p.forEach(e=>{d(r,e,[]).push(g)}),g}_buildPlayer(e,t,n){return t.length>0?this.driver.animate(e.element,t,e.duration,e.delay,e.easing,n):new s.d(e.duration,e.delay)}}class We{constructor(e,t,n){this.namespaceId=e,this.triggerName=t,this.element=n,this._player=new s.d,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(e){this._containsRealPlayer||(this._player=e,Object.keys(this._queuedCallbacks).forEach(t=>{this._queuedCallbacks[t].forEach(n=>l(e,t,void 0,n))}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(e.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(e){this.totalTime=e}syncPlayerEvents(e){const t=this._player;t.triggerCallback&&e.onStart(()=>t.triggerCallback("start")),e.onDone(()=>this.finish()),e.onDestroy(()=>this.destroy())}_queueEvent(e,t){d(this._queuedCallbacks,e,[]).push(t)}onDone(e){this.queued&&this._queueEvent("done",e),this._player.onDone(e)}onStart(e){this.queued&&this._queueEvent("start",e),this._player.onStart(e)}onDestroy(e){this.queued&&this._queueEvent("destroy",e),this._player.onDestroy(e)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(e){this.queued||this._player.setPosition(e)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(e){const t=this._player;t.triggerCallback&&t.triggerCallback(e)}}function qe(e){return e&&1===e.nodeType}function $e(e,t){const n=e.style.display;return e.style.display=null!=t?t:"none",n}function Ge(e,t,n,r,i){const s=[];n.forEach(e=>s.push($e(e)));const o=[];r.forEach((n,r)=>{const s={};n.forEach(e=>{const n=s[e]=t.computeStyle(r,e,i);n&&0!=n.length||(r.__ng_removed=He,o.push(r))}),e.set(r,s)});let a=0;return n.forEach(e=>$e(e,s[a++])),o}function Xe(e,t){const n=new Map;if(e.forEach(e=>n.set(e,[])),0==t.length)return n;const r=new Set(t),i=new Map;function s(e){if(!e)return 1;let t=i.get(e);if(t)return t;const o=e.parentNode;return t=n.has(o)?o:r.has(o)?1:s(o),i.set(e,t),t}return t.forEach(e=>{const t=s(e);1!==t&&n.get(t).push(e)}),n}function Ke(e,t){if(e.classList)e.classList.add(t);else{let n=e.$$classes;n||(n=e.$$classes={}),n[t]=!0}}function Je(e,t){if(e.classList)e.classList.remove(t);else{let n=e.$$classes;n&&delete n[t]}}function Qe(e,t,n){a(n).onDone(()=>e.processLeaveNode(t))}function Ze(e,t){for(let n=0;n<e.length;n++){const r=e[n];r instanceof s.m?Ze(r.players,t):t.push(r)}}function et(e,t,n){const r=n.get(e);if(!r)return!1;let i=t.get(e);return i?r.forEach(e=>i.add(e)):t.set(e,r),n.delete(e),!0}class tt{constructor(e,t,n){this.bodyNode=e,this._driver=t,this._triggerCache={},this.onRemovalComplete=(e,t)=>{},this._transitionEngine=new Ue(e,t,n),this._timelineEngine=new Le(e,t,n),this._transitionEngine.onRemovalComplete=(e,t)=>this.onRemovalComplete(e,t)}registerTrigger(e,t,n,r,i){const s=e+"-"+r;let o=this._triggerCache[s];if(!o){const e=[],t=oe(this._driver,i,e);if(e.length)throw new Error(`The animation trigger "${r}" has failed to build due to the following errors:\n - ${e.join("\n - ")}`);o=function(e,t){return new je(e,t)}(r,t),this._triggerCache[s]=o}this._transitionEngine.registerTrigger(t,r,o)}register(e,t){this._transitionEngine.register(e,t)}destroy(e,t){this._transitionEngine.destroy(e,t)}onInsert(e,t,n,r){this._transitionEngine.insertNode(e,t,n,r)}onRemove(e,t,n,r){this._transitionEngine.removeNode(e,t,r||!1,n)}disableAnimations(e,t){this._transitionEngine.markElementAsDisabled(e,t)}process(e,t,n,r){if("@"==n.charAt(0)){const[e,i]=f(n),s=r;this._timelineEngine.command(e,t,i,s)}else this._transitionEngine.trigger(e,t,n,r)}listen(e,t,n,r,i){if("@"==n.charAt(0)){const[e,r]=f(n);return this._timelineEngine.listen(e,t,r,i)}return this._transitionEngine.listen(e,t,n,r,i)}flush(e=-1){this._transitionEngine.flush(e)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}function nt(e,t){let n=null,r=null;return Array.isArray(t)&&t.length?(n=it(t[0]),t.length>1&&(r=it(t[t.length-1]))):t&&(n=it(t)),n||r?new rt(e,n,r):null}class rt{constructor(e,t,n){this._element=e,this._startStyles=t,this._endStyles=n,this._state=0;let r=rt.initialStylesByElement.get(e);r||rt.initialStylesByElement.set(e,r={}),this._initialStyles=r}start(){this._state<1&&(this._startStyles&&F(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(F(this._element,this._initialStyles),this._endStyles&&(F(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(rt.initialStylesByElement.delete(this._element),this._startStyles&&(V(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(V(this._element,this._endStyles),this._endStyles=null),F(this._element,this._initialStyles),this._state=3)}}function it(e){let t=null;const n=Object.keys(e);for(let r=0;r<n.length;r++){const i=n[r];st(i)&&(t=t||{},t[i]=e[i])}return t}function st(e){return"display"===e||"position"===e}rt.initialStylesByElement=new WeakMap;const ot="animation",at="animationend";class ct{constructor(e,t,n,r,i,s,o){this._element=e,this._name=t,this._duration=n,this._delay=r,this._easing=i,this._fillMode=s,this._onDoneFn=o,this._finished=!1,this._destroyed=!1,this._startTime=0,this._position=0,this._eventFn=e=>this._handleCallback(e)}apply(){!function(e,t){const n=pt(e,"").trim();let r=0;n.length&&(r=function(e,t){let n=0;for(let r=0;r<e.length;r++){e.charAt(r)===t&&n++}return n}(n,",")+1,t=`${n}, ${t}`);ft(e,"",t)}(this._element,`${this._duration}ms ${this._easing} ${this._delay}ms 1 normal ${this._fillMode} ${this._name}`),dt(this._element,this._eventFn,!1),this._startTime=Date.now()}pause(){lt(this._element,this._name,"paused")}resume(){lt(this._element,this._name,"running")}setPosition(e){const t=ut(this._element,this._name);this._position=e*this._duration,ft(this._element,"Delay",`-${this._position}ms`,t)}getPosition(){return this._position}_handleCallback(e){const t=e._ngTestManualTimestamp||Date.now(),n=1e3*parseFloat(e.elapsedTime.toFixed(3));e.animationName==this._name&&Math.max(t-this._startTime,0)>=this._delay&&n>=this._duration&&this.finish()}finish(){this._finished||(this._finished=!0,this._onDoneFn(),dt(this._element,this._eventFn,!0))}destroy(){this._destroyed||(this._destroyed=!0,this.finish(),function(e,t){const n=pt(e,"").split(","),r=ht(n,t);if(r>=0){n.splice(r,1);ft(e,"",n.join(","))}}(this._element,this._name))}}function lt(e,t,n){ft(e,"PlayState",n,ut(e,t))}function ut(e,t){const n=pt(e,"");if(n.indexOf(",")>0){return ht(n.split(","),t)}return ht([n],t)}function ht(e,t){for(let n=0;n<e.length;n++)if(e[n].indexOf(t)>=0)return n;return-1}function dt(e,t,n){n?e.removeEventListener(at,t):e.addEventListener(at,t)}function ft(e,t,n,r){const i=ot+t;if(null!=r){const t=e.style[i];if(t.length){const e=t.split(",");e[r]=n,n=e.join(",")}}e.style[i]=n}function pt(e,t){return e.style[ot+t]||""}class mt{constructor(e,t,n,r,i,s,o,a){this.element=e,this.keyframes=t,this.animationName=n,this._duration=r,this._delay=i,this._finalStyles=o,this._specialStyles=a,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this.currentSnapshot={},this._state=0,this.easing=s||"linear",this.totalTime=r+i,this._buildStyler()}onStart(e){this._onStartFns.push(e)}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}destroy(){this.init(),this._state>=4||(this._state=4,this._styler.destroy(),this._flushStartFns(),this._flushDoneFns(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}_flushDoneFns(){this._onDoneFns.forEach(e=>e()),this._onDoneFns=[]}_flushStartFns(){this._onStartFns.forEach(e=>e()),this._onStartFns=[]}finish(){this.init(),this._state>=3||(this._state=3,this._styler.finish(),this._flushStartFns(),this._specialStyles&&this._specialStyles.finish(),this._flushDoneFns())}setPosition(e){this._styler.setPosition(e)}getPosition(){return this._styler.getPosition()}hasStarted(){return this._state>=2}init(){if(this._state>=1)return;this._state=1;this.element;this._styler.apply(),this._delay&&this._styler.pause()}play(){this.init(),this.hasStarted()||(this._flushStartFns(),this._state=2,this._specialStyles&&this._specialStyles.start()),this._styler.resume()}pause(){this.init(),this._styler.pause()}restart(){this.reset(),this.play()}reset(){this._styler.destroy(),this._buildStyler(),this._styler.apply()}_buildStyler(){this._styler=new ct(this.element,this.animationName,this._duration,this._delay,this.easing,"forwards",()=>this.finish())}triggerCallback(e){const t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(e=>e()),t.length=0}beforeDestroy(){this.init();const e={};if(this.hasStarted()){const t=this._state>=3;Object.keys(this._finalStyles).forEach(n=>{"offset"!=n&&(e[n]=t?this._finalStyles[n]:Q(this.element,n))})}this.currentSnapshot=e}}class gt extends s.d{constructor(e,t){super(),this.element=e,this._startingStyles={},this.__initialized=!1,this._styles=O(t)}init(){!this.__initialized&&this._startingStyles&&(this.__initialized=!0,Object.keys(this._styles).forEach(e=>{this._startingStyles[e]=this.element.style[e]}),super.init())}play(){this._startingStyles&&(this.init(),Object.keys(this._styles).forEach(e=>this.element.style.setProperty(e,this._styles[e])),super.play())}destroy(){this._startingStyles&&(Object.keys(this._startingStyles).forEach(e=>{const t=this._startingStyles[e];t?this.element.style.setProperty(e,t):this.element.style.removeProperty(e)}),this._startingStyles=null,super.destroy())}}class vt{constructor(){this._count=0,this._head=document.querySelector("head")}validateStyleProperty(e){return _(e)}matchesElement(e,t){return w(e,t)}containsElement(e,t){return S(e,t)}query(e,t,n){return x(e,t,n)}computeStyle(e,t,n){return window.getComputedStyle(e)[t]}buildKeyframeElement(e,t,n){n=n.map(e=>O(e));let r=`@keyframes ${t} {\n`,i="";n.forEach(e=>{i=" ";const t=parseFloat(e.offset);r+=`${i}${100*t}% {\n`,i+=" ",Object.keys(e).forEach(t=>{const n=e[t];switch(t){case"offset":return;case"easing":return void(n&&(r+=`${i}animation-timing-function: ${n};\n`));default:return void(r+=`${i}${t}: ${n};\n`)}}),r+=i+"}\n"}),r+="}\n";const s=document.createElement("style");return s.textContent=r,s}animate(e,t,n,r,i,s=[],o){const a=s.filter(e=>e instanceof mt),c={};X(n,r)&&a.forEach(e=>{let t=e.currentSnapshot;Object.keys(t).forEach(e=>c[e]=t[e])});const l=function(e){let t={};if(e){(Array.isArray(e)?e:[e]).forEach(e=>{Object.keys(e).forEach(n=>{"offset"!=n&&"easing"!=n&&(t[n]=e[n])})})}return t}(t=K(e,t,c));if(0==n)return new gt(e,l);const u="gen_css_kf_"+this._count++,h=this.buildKeyframeElement(e,u,t);document.querySelector("head").appendChild(h);const d=nt(e,t),f=new mt(e,t,u,n,r,i,l,d);return f.onDestroy(()=>{var e;(e=h).parentNode.removeChild(e)}),f}}class yt{constructor(e,t,n,r){this.element=e,this.keyframes=t,this.options=n,this._specialStyles=r,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this.time=0,this.parentPlayer=null,this.currentSnapshot={},this._duration=n.duration,this._delay=n.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const e=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,e,this.options),this._finalKeyframe=e.length?e[e.length-1]:{},this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_triggerWebAnimation(e,t,n){return e.animate(t,n)}onStart(e){this._onStartFns.push(e)}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(e=>e()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}setPosition(e){this.domPlayer.currentTime=e*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const e={};this.hasStarted()&&Object.keys(this._finalKeyframe).forEach(t=>{"offset"!=t&&(e[t]=this._finished?this._finalKeyframe[t]:Q(this.element,t))}),this.currentSnapshot=e}triggerCallback(e){const t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(e=>e()),t.length=0}}class bt{constructor(){this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(_t().toString()),this._cssKeyframesDriver=new vt}validateStyleProperty(e){return _(e)}matchesElement(e,t){return w(e,t)}containsElement(e,t){return S(e,t)}query(e,t,n){return x(e,t,n)}computeStyle(e,t,n){return window.getComputedStyle(e)[t]}overrideWebAnimationsSupport(e){this._isNativeImpl=e}animate(e,t,n,r,i,s=[],o){if(!o&&!this._isNativeImpl)return this._cssKeyframesDriver.animate(e,t,n,r,i,s);const a={duration:n,delay:r,fill:0==r?"both":"forwards"};i&&(a.easing=i);const c={},l=s.filter(e=>e instanceof yt);X(n,r)&&l.forEach(e=>{let t=e.currentSnapshot;Object.keys(t).forEach(e=>c[e]=t[e])});const u=nt(e,t=K(e,t=t.map(e=>R(e,!1)),c));return new yt(e,t,a,u)}}function _t(){return"undefined"!=typeof window&&void 0!==window.document&&Element.prototype.animate||{}}var wt=n("ofXK");class St extends s.b{constructor(e,t){super(),this._nextAnimationId=0;const n={id:"0",encapsulation:r.pb.None,styles:[],data:{animation:[]}};this._renderer=e.createRenderer(t.body,n)}build(e){const t=this._nextAnimationId.toString();this._nextAnimationId++;const n=Array.isArray(e)?Object(s.g)(e):e;return kt(this._renderer,null,t,"register",[n]),new xt(t,this._renderer)}}St.\u0275fac=function(e){return new(e||St)(r.Xc(r.Z),r.Xc(wt.d))},St.\u0275prov=r.Jc({token:St,factory:St.\u0275fac}),St.ctorParameters=()=>[{type:r.Z},{type:void 0,decorators:[{type:r.C,args:[wt.d]}]}];class xt extends s.c{constructor(e,t){super(),this._id=e,this._renderer=t}create(e,t){return new Ot(this._id,e,t||{},this._renderer)}}class Ot{constructor(e,t,n,r){this.id=e,this.element=t,this._renderer=r,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",n)}_listen(e,t){return this._renderer.listen(this.element,`@@${this.id}:${e}`,t)}_command(e,...t){return kt(this._renderer,this.element,this.id,e,t)}onDone(e){this._listen("done",e)}onStart(e){this._listen("start",e)}onDestroy(e){this._listen("destroy",e)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset")}setPosition(e){this._command("setPosition",e)}getPosition(){var e,t;return null!==(t=null===(e=this._renderer.engine.players[+this.id])||void 0===e?void 0:e.getPosition())&&void 0!==t?t:0}}function kt(e,t,n,r,i){return e.setProperty(t,`@@${n}:${r}`,i)}const Ct="@",Mt="@.disabled";class Et{constructor(e,t,n){this.delegate=e,this.engine=t,this._zone=n,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),t.onRemovalComplete=(e,t)=>{t&&t.parentNode(e)&&t.removeChild(e.parentNode,e)}}createRenderer(e,t){const n=this.delegate.createRenderer(e,t);if(!(e&&t&&t.data&&t.data.animation)){let e=this._rendererCache.get(n);return e||(e=new Tt("",n,this.engine),this._rendererCache.set(n,e)),e}const r=t.id,i=t.id+"-"+this._currentId;this._currentId++,this.engine.register(i,e);const s=t=>{Array.isArray(t)?t.forEach(s):this.engine.registerTrigger(r,i,e,t.name,t)};return t.data.animation.forEach(s),new jt(this,i,n,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(e,t,n){e>=0&&e<this._microtaskId?this._zone.run(()=>t(n)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(e=>{const[t,n]=e;t(n)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([t,n]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}Et.\u0275fac=function(e){return new(e||Et)(r.Xc(r.Z),r.Xc(tt),r.Xc(r.Q))},Et.\u0275prov=r.Jc({token:Et,factory:Et.\u0275fac}),Et.ctorParameters=()=>[{type:r.Z},{type:tt},{type:r.Q}];class Tt{constructor(e,t,n){this.namespaceId=e,this.delegate=t,this.engine=n,this.destroyNode=this.delegate.destroyNode?e=>t.destroyNode(e):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}createElement(e,t){return this.delegate.createElement(e,t)}createComment(e){return this.delegate.createComment(e)}createText(e){return this.delegate.createText(e)}appendChild(e,t){this.delegate.appendChild(e,t),this.engine.onInsert(this.namespaceId,t,e,!1)}insertBefore(e,t,n,r=!0){this.delegate.insertBefore(e,t,n),this.engine.onInsert(this.namespaceId,t,e,r)}removeChild(e,t,n){this.engine.onRemove(this.namespaceId,t,this.delegate,n)}selectRootElement(e,t){return this.delegate.selectRootElement(e,t)}parentNode(e){return this.delegate.parentNode(e)}nextSibling(e){return this.delegate.nextSibling(e)}setAttribute(e,t,n,r){this.delegate.setAttribute(e,t,n,r)}removeAttribute(e,t,n){this.delegate.removeAttribute(e,t,n)}addClass(e,t){this.delegate.addClass(e,t)}removeClass(e,t){this.delegate.removeClass(e,t)}setStyle(e,t,n,r){this.delegate.setStyle(e,t,n,r)}removeStyle(e,t,n){this.delegate.removeStyle(e,t,n)}setProperty(e,t,n){t.charAt(0)==Ct&&t==Mt?this.disableAnimations(e,!!n):this.delegate.setProperty(e,t,n)}setValue(e,t){this.delegate.setValue(e,t)}listen(e,t,n){return this.delegate.listen(e,t,n)}disableAnimations(e,t){this.engine.disableAnimations(e,t)}}class jt extends Tt{constructor(e,t,n,r){super(t,n,r),this.factory=e,this.namespaceId=t}setProperty(e,t,n){t.charAt(0)==Ct?"."==t.charAt(1)&&t==Mt?(n=void 0===n||!!n,this.disableAnimations(e,n)):this.engine.process(this.namespaceId,e,t.substr(1),n):this.delegate.setProperty(e,t,n)}listen(e,t,n){if(t.charAt(0)==Ct){const r=function(e){switch(e){case"body":return document.body;case"document":return document;case"window":return window;default:return e}}(e);let i=t.substr(1),s="";return i.charAt(0)!=Ct&&([i,s]=function(e){const t=e.indexOf("."),n=e.substring(0,t),r=e.substr(t+1);return[n,r]}(i)),this.engine.listen(this.namespaceId,r,i,s,e=>{const t=e._data||-1;this.factory.scheduleListenerCallback(t,n,e)})}return this.delegate.listen(e,t,n)}}class Dt extends tt{constructor(e,t,n){super(e.body,t,n)}}Dt.\u0275fac=function(e){return new(e||Dt)(r.Xc(wt.d),r.Xc(C),r.Xc(xe))},Dt.\u0275prov=r.Jc({token:Dt,factory:Dt.\u0275fac}),Dt.ctorParameters=()=>[{type:void 0,decorators:[{type:r.C,args:[wt.d]}]},{type:C},{type:xe}];const At=new r.E("AnimationModuleType"),Lt=[{provide:s.b,useClass:St},{provide:xe,useFactory:function(){return new Oe}},{provide:tt,useClass:Dt},{provide:r.Z,useFactory:function(e,t,n){return new Et(e,t,n)},deps:[i.d,tt,r.Q]}],zt=[{provide:C,useFactory:function(){return"function"==typeof _t()?new bt:new vt}},{provide:At,useValue:"BrowserAnimations"},...Lt],Pt=[{provide:C,useClass:k},{provide:At,useValue:"NoopAnimations"},...Lt];class It{}It.\u0275mod=r.Lc({type:It}),It.\u0275inj=r.Kc({factory:function(e){return new(e||It)},providers:zt,imports:[i.a]}),("undefined"==typeof ngJitMode||ngJitMode)&&r.Bd(It,{exports:function(){return[i.a]}});class Rt{}Rt.\u0275mod=r.Lc({type:Rt}),Rt.\u0275inj=r.Kc({factory:function(e){return new(e||Rt)},providers:Pt,imports:[i.a]}),("undefined"==typeof ngJitMode||ngJitMode)&&r.Bd(Rt,{exports:function(){return[i.a]}})},RAwQ:function(e,t,n){!function(e){"use strict";function t(e,t,n,r){var i={m:["eng Minutt","enger Minutt"],h:["eng Stonn","enger Stonn"],d:["een Dag","engem Dag"],M:["ee Mount","engem Mount"],y:["ee Joer","engem Joer"]};return t?i[n][0]:i[n][1]}function n(e){return i(e.substr(0,e.indexOf(" ")))?"a "+e:"an "+e}function r(e){return i(e.substr(0,e.indexOf(" ")))?"viru "+e:"virun "+e}function i(e){if(e=parseInt(e,10),isNaN(e))return!1;if(e<0)return!0;if(e<10)return 4<=e&&e<=7;if(e<100){var t=e%10;return i(0===t?e/10:t)}if(e<1e4){for(;e>=10;)e/=10;return i(e)}return i(e/=1e3)}e.defineLocale("lb",{months:"Januar_Februar_M\xe4erz_Abr\xebll_Mee_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonndeg_M\xe9indeg_D\xebnschdeg_M\xebttwoch_Donneschdeg_Freideg_Samschdeg".split("_"),weekdaysShort:"So._M\xe9._D\xeb._M\xeb._Do._Fr._Sa.".split("_"),weekdaysMin:"So_M\xe9_D\xeb_M\xeb_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm [Auer]",LTS:"H:mm:ss [Auer]",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm [Auer]",LLLL:"dddd, D. MMMM YYYY H:mm [Auer]"},calendar:{sameDay:"[Haut um] LT",sameElse:"L",nextDay:"[Muer um] LT",nextWeek:"dddd [um] LT",lastDay:"[G\xebschter um] LT",lastWeek:function(){switch(this.day()){case 2:case 4:return"[Leschten] dddd [um] LT";default:return"[Leschte] dddd [um] LT"}}},relativeTime:{future:n,past:r,s:"e puer Sekonnen",ss:"%d Sekonnen",m:t,mm:"%d Minutten",h:t,hh:"%d Stonnen",d:t,dd:"%d Deeg",M:t,MM:"%d M\xe9int",y:t,yy:"%d Joer"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},RUSI:function(e,t,n){"use strict";n.d(t,"b",function(){return o}),n.d(t,"c",function(){return a}),n.d(t,"a",function(){return c});var r=n("xwJx"),i=n("mjQ1"),s=n("5puH");const o="8456f6a5-0dbd-487e-ba39-9333ce1ca253",a="415e9bc5-b9f5-4840-9623-e609d1da253c",c={class:"e301f92d-6120-4508-be9b-92eacbe78a99",root:s.e.root,collection:"702965d8-7e5f-4370-b72e-9fe2b1ecbbb6",properties:{created:r.w.entities.attributes.created,name:r.w.entities.attributes.name,modified:r.w.entities.attributes.modified,template:"ddef86c5-6835-43d4-b87d-5d1e693917fb",descriptionAgreement:"7071c0c6-77ab-4a40-b813-7cb91c9b3a99",stages:"f896e485-c6e2-44ad-9850-ec7753d657b4",descriptionTemplate:"0a8ea4ac-e786-44e2-b284-fdc1a38c90f6",targetFolder:"5bcb030d-0cda-4cd7-b45d-f0e55a58d1f9",statusAgreement:{id:"ffc4d8d7-ad06-43a1-8aa8-b85e201a61fa",map:i.b.option},initiators:{id:"e0158de0-2767-4ed4-8574-20f259bf3d6a",map:i.b.option},templateAgreement:{id:"bacd6de7-a96a-4c16-910b-197ec47e4960",map:i.b.option},docVersions:{id:"f2c6b8c0-396c-4b6f-b3a9-c58bc02ebca2",map:i.b.options}}}},Rarl:function(e,t,n){"use strict";n.d(t,"a",function(){return s});var r=n("mrSG"),i=n("fXoL");let s=class{transform(e){if(e){const t=e/1024,n=t/1024,r=n/1024;let i="";return i=t<1024?Math.round(100*t)/100+"KB":n<1024?Math.round(100*n)/100+"MB":Math.round(100*r)/100+"GB",i}return(e||0)+"B"}};s=Object(r.b)([Object(i.W)({name:"fileSize"})],s)},Rk0a:function(e,t,n){"use strict";n.d(t,"b",function(){return o}),n.d(t,"a",function(){return a});var r=n("xwJx"),i=n("mjQ1"),s=n("tEnP");const o={from:e=>[e],to:e=>(null==e?void 0:e.length)?e[0].id:void 0},a={class:"fe18f120-900b-4f04-ba41-ed6dffb4e8df",root:2,collection:"b470bca3-8f05-4ca6-ba6f-01932410e2c3",properties:{user:{id:s.c,map:i.b.option},created:r.w.entities.attributes.created,status:{id:"83abbc71-1aab-4d0d-a87c-9b5cf4f4a240",map:o},pIFullName:"370570d5-414d-49c0-afd5-508bc13e09f4",pIAnswer:"45c2a08a-367e-4f72-b8d2-aa0eef237cae",changeNumber:"238074bb-977f-47b0-b8b4-a6de3817fda4",revisionNumber:"a834417e-15d1-4645-9b86-afdf09b638d5",text:"7313165a-770e-4e83-a2df-de639d5f4119",file:s.a}}},Rm4T:function(e,t,n){"use strict";n.d(t,"a",function(){return kt}),n.d(t,"b",function(){return yt}),n.d(t,"c",function(){return vt}),n.d(t,"d",function(){return wt}),n.d(t,"e",function(){return _t}),n.d(t,"f",function(){return bt}),n.d(t,"g",function(){return Et});var r=n("fXoL"),i=n("79xS"),s=n("2Vo4"),o=n("ofXK"),a=n("/Tr7"),c=n("aetl"),l=n("jIYg");function u(e){return Object(l.a)(1,arguments),Object(c.a)(e,{weekStartsOn:1})}function h(e){Object(l.a)(1,arguments);var t=Object(a.a)(e),n=t.getFullYear(),r=new Date(0);r.setFullYear(n+1,0,4),r.setHours(0,0,0,0);var i=u(r),s=new Date(0);s.setFullYear(n,0,4),s.setHours(0,0,0,0);var o=u(s);return t.getTime()>=i.getTime()?n+1:t.getTime()>=o.getTime()?n:n-1}function d(e){Object(l.a)(1,arguments);var t=h(e),n=new Date(0);n.setFullYear(t,0,4),n.setHours(0,0,0,0);var r=u(n);return r}var f=6048e5;var p=n("sWYD"),m=n("U8pU");function g(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function v(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return g(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?g(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}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 s,o=!0,a=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){a=!0,s=e},f:function(){try{o||null==n.return||n.return()}finally{if(a)throw s}}}}var y=n("48Xl"),b=n("g9KO");function _(e,t){if(null==e)throw new TypeError("assign requires that input parameter not be null or undefined");for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}var w=n("Ib5w"),S=n("JCDJ"),x=n("3REe"),O=n("/h9T");function k(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function C(e,t){return(C=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function M(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&C(e,t)}function E(e){return(E=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function T(e,t){if(t&&("object"===Object(m.a)(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return k(e)}function j(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();return function(){var n,r=E(e);if(t){var i=E(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return T(this,n)}}function D(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function A(e){var t=function(e,t){if("object"!==Object(m.a)(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==Object(m.a)(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===Object(m.a)(t)?t:String(t)}function L(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,A(r.key),r)}}function z(e,t,n){return t&&L(e.prototype,t),n&&L(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function P(e,t,n){return(t=A(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var I=function(){function e(){D(this,e),P(this,"priority",void 0),P(this,"subPriority",0)}return z(e,[{key:"validate",value:function(e,t){return!0}}]),e}(),R=function(e){M(n,e);var t=j(n);function n(e,r,i,s,o){var a;return D(this,n),(a=t.call(this)).value=e,a.validateValue=r,a.setValue=i,a.priority=s,o&&(a.subPriority=o),a}return z(n,[{key:"validate",value:function(e,t){return this.validateValue(e,this.value,t)}},{key:"set",value:function(e,t,n){return this.setValue(e,t,this.value,n)}}]),n}(I),N=function(e){M(n,e);var t=j(n);function n(){var e;D(this,n);for(var r=arguments.length,i=new Array(r),s=0;s<r;s++)i[s]=arguments[s];return P(k(e=t.call.apply(t,[this].concat(i))),"priority",10),P(k(e),"subPriority",-1),e}return z(n,[{key:"set",value:function(e,t){if(t.timestampIsSet)return e;var n=new Date(0);return n.setFullYear(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()),n.setHours(e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.getUTCMilliseconds()),n}}]),n}(I),H=function(){function e(){D(this,e),P(this,"incompatibleTokens",void 0),P(this,"priority",void 0),P(this,"subPriority",void 0)}return z(e,[{key:"run",value:function(e,t,n,r){var i=this.parse(e,t,n,r);return i?{setter:new R(i.value,this.validate,this.set,this.priority,this.subPriority),rest:i.rest}:null}},{key:"validate",value:function(e,t,n){return!0}}]),e}(),F=function(e){M(n,e);var t=j(n);function n(){var e;D(this,n);for(var r=arguments.length,i=new Array(r),s=0;s<r;s++)i[s]=arguments[s];return P(k(e=t.call.apply(t,[this].concat(i))),"priority",140),P(k(e),"incompatibleTokens",["R","u","t","T"]),e}return z(n,[{key:"parse",value:function(e,t,n){switch(t){case"G":case"GG":case"GGG":return n.era(e,{width:"abbreviated"})||n.era(e,{width:"narrow"});case"GGGGG":return n.era(e,{width:"narrow"});case"GGGG":default:return n.era(e,{width:"wide"})||n.era(e,{width:"abbreviated"})||n.era(e,{width:"narrow"})}}},{key:"set",value:function(e,t,n){return t.era=n,e.setUTCFullYear(n,0,1),e.setUTCHours(0,0,0,0),e}}]),n}(H),V=n("w3qX"),B=/^(1[0-2]|0?\d)/,Y=/^(3[0-1]|[0-2]?\d)/,U=/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,W=/^(5[0-3]|[0-4]?\d)/,q=/^(2[0-3]|[0-1]?\d)/,$=/^(2[0-4]|[0-1]?\d)/,G=/^(1[0-1]|0?\d)/,X=/^(1[0-2]|0?\d)/,K=/^[0-5]?\d/,J=/^[0-5]?\d/,Q=/^\d/,Z=/^\d{1,2}/,ee=/^\d{1,3}/,te=/^\d{1,4}/,ne=/^-?\d+/,re=/^-?\d/,ie=/^-?\d{1,2}/,se=/^-?\d{1,3}/,oe=/^-?\d{1,4}/,ae=/^([+-])(\d{2})(\d{2})?|Z/,ce=/^([+-])(\d{2})(\d{2})|Z/,le=/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,ue=/^([+-])(\d{2}):(\d{2})|Z/,he=/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/;function de(e,t){return e?{value:t(e.value),rest:e.rest}:e}function fe(e,t){var n=t.match(e);return n?{value:parseInt(n[0],10),rest:t.slice(n[0].length)}:null}function pe(e,t){var n=t.match(e);if(!n)return null;if("Z"===n[0])return{value:0,rest:t.slice(1)};var r="+"===n[1]?1:-1,i=n[2]?parseInt(n[2],10):0,s=n[3]?parseInt(n[3],10):0,o=n[5]?parseInt(n[5],10):0;return{value:r*(i*V.a+s*V.b+o*V.c),rest:t.slice(n[0].length)}}function me(e){return fe(ne,e)}function ge(e,t){switch(e){case 1:return fe(Q,t);case 2:return fe(Z,t);case 3:return fe(ee,t);case 4:return fe(te,t);default:return fe(new RegExp("^\\d{1,"+e+"}"),t)}}function ve(e,t){switch(e){case 1:return fe(re,t);case 2:return fe(ie,t);case 3:return fe(se,t);case 4:return fe(oe,t);default:return fe(new RegExp("^-?\\d{1,"+e+"}"),t)}}function ye(e){switch(e){case"morning":return 4;case"evening":return 17;case"pm":case"noon":case"afternoon":return 12;case"am":case"midnight":case"night":default:return 0}}function be(e,t){var n,r=t>0,i=r?t:1-t;if(i<=50)n=e||100;else{var s=i+50;n=e+100*Math.floor(s/100)-(e>=s%100?100:0)}return r?n:1-n}function _e(e){return e%400==0||e%4==0&&e%100!=0}var we=function(e){M(n,e);var t=j(n);function n(){var e;D(this,n);for(var r=arguments.length,i=new Array(r),s=0;s<r;s++)i[s]=arguments[s];return P(k(e=t.call.apply(t,[this].concat(i))),"priority",130),P(k(e),"incompatibleTokens",["Y","R","u","w","I","i","e","c","t","T"]),e}return z(n,[{key:"parse",value:function(e,t,n){var r=function(e){return{year:e,isTwoDigitYear:"yy"===t}};switch(t){case"y":return de(ge(4,e),r);case"yo":return de(n.ordinalNumber(e,{unit:"year"}),r);default:return de(ge(t.length,e),r)}}},{key:"validate",value:function(e,t){return t.isTwoDigitYear||t.year>0}},{key:"set",value:function(e,t,n){var r=e.getUTCFullYear();if(n.isTwoDigitYear){var i=be(n.year,r);return e.setUTCFullYear(i,0,1),e.setUTCHours(0,0,0,0),e}var s="era"in t&&1!==t.era?1-n.year:n.year;return e.setUTCFullYear(s,0,1),e.setUTCHours(0,0,0,0),e}}]),n}(H),Se=n("Szzx"),xe=n("1vjI"),Oe=function(e){M(n,e);var t=j(n);function n(){var e;D(this,n);for(var r=arguments.length,i=new Array(r),s=0;s<r;s++)i[s]=arguments[s];return P(k(e=t.call.apply(t,[this].concat(i))),"priority",130),P(k(e),"incompatibleTokens",["y","R","u","Q","q","M","L","I","d","D","i","t","T"]),e}return z(n,[{key:"parse",value:function(e,t,n){var r=function(e){return{year:e,isTwoDigitYear:"YY"===t}};switch(t){case"Y":return de(ge(4,e),r);case"Yo":return de(n.ordinalNumber(e,{unit:"year"}),r);default:return de(ge(t.length,e),r)}}},{key:"validate",value:function(e,t){return t.isTwoDigitYear||t.year>0}},{key:"set",value:function(e,t,n,r){var i=Object(Se.a)(e,r);if(n.isTwoDigitYear){var s=be(n.year,i);return e.setUTCFullYear(s,0,r.firstWeekContainsDate),e.setUTCHours(0,0,0,0),Object(xe.a)(e,r)}var o="era"in t&&1!==t.era?1-n.year:n.year;return e.setUTCFullYear(o,0,r.firstWeekContainsDate),e.setUTCHours(0,0,0,0),Object(xe.a)(e,r)}}]),n}(H),ke=n("tpup"),Ce=function(e){M(n,e);var t=j(n);function n(){var e;D(this,n);for(var r=arguments.length,i=new Array(r),s=0;s<r;s++)i[s]=arguments[s];return P(k(e=t.call.apply(t,[this].concat(i))),"priority",130),P(k(e),"incompatibleTokens",["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"]),e}return z(n,[{key:"parse",value:function(e,t){return ve("R"===t?4:t.length,e)}},{key:"set",value:function(e,t,n){var r=new Date(0);return r.setUTCFullYear(n,0,4),r.setUTCHours(0,0,0,0),Object(ke.a)(r)}}]),n}(H),Me=function(e){M(n,e);var t=j(n);function n(){var e;D(this,n);for(var r=arguments.length,i=new Array(r),s=0;s<r;s++)i[s]=arguments[s];return P(k(e=t.call.apply(t,[this].concat(i))),"priority",130),P(k(e),"incompatibleTokens",["G","y","Y","R","w","I","i","e","c","t","T"]),e}return z(n,[{key:"parse",value:function(e,t){return ve("u"===t?4:t.length,e)}},{key:"set",value:function(e,t,n){return e.setUTCFullYear(n,0,1),e.setUTCHours(0,0,0,0),e}}]),n}(H),Ee=function(e){M(n,e);var t=j(n);function n(){var e;D(this,n);for(var r=arguments.length,i=new Array(r),s=0;s<r;s++)i[s]=arguments[s];return P(k(e=t.call.apply(t,[this].concat(i))),"priority",120),P(k(e),"incompatibleTokens",["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"]),e}return z(n,[{key:"parse",value:function(e,t,n){switch(t){case"Q":case"QQ":return ge(t.length,e);case"Qo":return n.ordinalNumber(e,{unit:"quarter"});case"QQQ":return n.quarter(e,{width:"abbreviated",context:"formatting"})||n.quarter(e,{width:"narrow",context:"formatting"});case"QQQQQ":return n.quarter(e,{width:"narrow",context:"formatting"});case"QQQQ":default:return n.quarter(e,{width:"wide",context:"formatting"})||n.quarter(e,{width:"abbreviated",context:"formatting"})||n.quarter(e,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(e,t){return t>=1&&t<=4}},{key:"set",value:function(e,t,n){return e.setUTCMonth(3*(n-1),1),e.setUTCHours(0,0,0,0),e}}]),n}(H),Te=function(e){M(n,e);var t=j(n);function n(){var e;D(this,n);for(var r=arguments.length,i=new Array(r),s=0;s<r;s++)i[s]=arguments[s];return P(k(e=t.call.apply(t,[this].concat(i))),"priority",120),P(k(e),"incompatibleTokens",["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"]),e}return z(n,[{key:"parse",value:function(e,t,n){switch(t){case"q":case"qq":return ge(t.length,e);case"qo":return n.ordinalNumber(e,{unit:"quarter"});case"qqq":return n.quarter(e,{width:"abbreviated",context:"standalone"})||n.quarter(e,{width:"narrow",context:"standalone"});case"qqqqq":return n.quarter(e,{width:"narrow",context:"standalone"});case"qqqq":default:return n.quarter(e,{width:"wide",context:"standalone"})||n.quarter(e,{width:"abbreviated",context:"standalone"})||n.quarter(e,{width:"narrow",context:"standalone"})}}},{key:"validate",value:function(e,t){return t>=1&&t<=4}},{key:"set",value:function(e,t,n){return e.setUTCMonth(3*(n-1),1),e.setUTCHours(0,0,0,0),e}}]),n}(H),je=function(e){M(n,e);var t=j(n);function n(){var e;D(this,n);for(var r=arguments.length,i=new Array(r),s=0;s<r;s++)i[s]=arguments[s];return P(k(e=t.call.apply(t,[this].concat(i))),"incompatibleTokens",["Y","R","q","Q","L","w","I","D","i","e","c","t","T"]),P(k(e),"priority",110),e}return z(n,[{key:"parse",value:function(e,t,n){var r=function(e){return e-1};switch(t){case"M":return de(fe(B,e),r);case"MM":return de(ge(2,e),r);case"Mo":return de(n.ordinalNumber(e,{unit:"month"}),r);case"MMM":return n.month(e,{width:"abbreviated",context:"formatting"})||n.month(e,{width:"narrow",context:"formatting"});case"MMMMM":return n.month(e,{width:"narrow",context:"formatting"});case"MMMM":default:return n.month(e,{width:"wide",context:"formatting"})||n.month(e,{width:"abbreviated",context:"formatting"})||n.month(e,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(e,t){return t>=0&&t<=11}},{key:"set",value:function(e,t,n){return e.setUTCMonth(n,1),e.setUTCHours(0,0,0,0),e}}]),n}(H),De=function(e){M(n,e);var t=j(n);function n(){var e;D(this,n);for(var r=arguments.length,i=new Array(r),s=0;s<r;s++)i[s]=arguments[s];return P(k(e=t.call.apply(t,[this].concat(i))),"priority",110),P(k(e),"incompatibleTokens",["Y","R","q","Q","M","w","I","D","i","e","c","t","T"]),e}return z(n,[{key:"parse",value:function(e,t,n){var r=function(e){return e-1};switch(t){case"L":return de(fe(B,e),r);case"LL":return de(ge(2,e),r);case"Lo":return de(n.ordinalNumber(e,{unit:"month"}),r);case"LLL":return n.month(e,{width:"abbreviated",context:"standalone"})||n.month(e,{width:"narrow",context:"standalone"});case"LLLLL":return n.month(e,{width:"narrow",context:"standalone"});case"LLLL":default:return n.month(e,{width:"wide",context:"standalone"})||n.month(e,{width:"abbreviated",context:"standalone"})||n.month(e,{width:"narrow",context:"standalone"})}}},{key:"validate",value:function(e,t){return t>=0&&t<=11}},{key:"set",value:function(e,t,n){return e.setUTCMonth(n,1),e.setUTCHours(0,0,0,0),e}}]),n}(H),Ae=n("ErpD");var Le=function(e){M(n,e);var t=j(n);function n(){var e;D(this,n);for(var r=arguments.length,i=new Array(r),s=0;s<r;s++)i[s]=arguments[s];return P(k(e=t.call.apply(t,[this].concat(i))),"priority",100),P(k(e),"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","i","t","T"]),e}return z(n,[{key:"parse",value:function(e,t,n){switch(t){case"w":return fe(W,e);case"wo":return n.ordinalNumber(e,{unit:"week"});default:return ge(t.length,e)}}},{key:"validate",value:function(e,t){return t>=1&&t<=53}},{key:"set",value:function(e,t,n,r){return Object(xe.a)(function(e,t,n){Object(l.a)(2,arguments);var r=Object(a.a)(e),i=Object(O.a)(t),s=Object(Ae.a)(r,n)-i;return r.setUTCDate(r.getUTCDate()-7*s),r}(e,n,r),r)}}]),n}(H),ze=n("lgZR");var Pe=function(e){M(n,e);var t=j(n);function n(){var e;D(this,n);for(var r=arguments.length,i=new Array(r),s=0;s<r;s++)i[s]=arguments[s];return P(k(e=t.call.apply(t,[this].concat(i))),"priority",100),P(k(e),"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"]),e}return z(n,[{key:"parse",value:function(e,t,n){switch(t){case"I":return fe(W,e);case"Io":return n.ordinalNumber(e,{unit:"week"});default:return ge(t.length,e)}}},{key:"validate",value:function(e,t){return t>=1&&t<=53}},{key:"set",value:function(e,t,n){return Object(ke.a)(function(e,t){Object(l.a)(2,arguments);var n=Object(a.a)(e),r=Object(O.a)(t),i=Object(ze.a)(n)-r;return n.setUTCDate(n.getUTCDate()-7*i),n}(e,n))}}]),n}(H),Ie=[31,28,31,30,31,30,31,31,30,31,30,31],Re=[31,29,31,30,31,30,31,31,30,31,30,31],Ne=function(e){M(n,e);var t=j(n);function n(){var e;D(this,n);for(var r=arguments.length,i=new Array(r),s=0;s<r;s++)i[s]=arguments[s];return P(k(e=t.call.apply(t,[this].concat(i))),"priority",90),P(k(e),"subPriority",1),P(k(e),"incompatibleTokens",["Y","R","q","Q","w","I","D","i","e","c","t","T"]),e}return z(n,[{key:"parse",value:function(e,t,n){switch(t){case"d":return fe(Y,e);case"do":return n.ordinalNumber(e,{unit:"date"});default:return ge(t.length,e)}}},{key:"validate",value:function(e,t){var n=_e(e.getUTCFullYear()),r=e.getUTCMonth();return n?t>=1&&t<=Re[r]:t>=1&&t<=Ie[r]}},{key:"set",value:function(e,t,n){return e.setUTCDate(n),e.setUTCHours(0,0,0,0),e}}]),n}(H),He=function(e){M(n,e);var t=j(n);function n(){var e;D(this,n);for(var r=arguments.length,i=new Array(r),s=0;s<r;s++)i[s]=arguments[s];return P(k(e=t.call.apply(t,[this].concat(i))),"priority",90),P(k(e),"subpriority",1),P(k(e),"incompatibleTokens",["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"]),e}return z(n,[{key:"parse",value:function(e,t,n){switch(t){case"D":case"DD":return fe(U,e);case"Do":return n.ordinalNumber(e,{unit:"date"});default:return ge(t.length,e)}}},{key:"validate",value:function(e,t){return _e(e.getUTCFullYear())?t>=1&&t<=366:t>=1&&t<=365}},{key:"set",value:function(e,t,n){return e.setUTCMonth(0,n),e.setUTCHours(0,0,0,0),e}}]),n}(H),Fe=n("vq9N");function Ve(e,t,n){var r,i,s,o,c,u,h,d;Object(l.a)(2,arguments);var f=Object(Fe.a)(),p=Object(O.a)(null!==(r=null!==(i=null!==(s=null!==(o=null==n?void 0:n.weekStartsOn)&&void 0!==o?o:null==n||null===(c=n.locale)||void 0===c||null===(u=c.options)||void 0===u?void 0:u.weekStartsOn)&&void 0!==s?s:f.weekStartsOn)&&void 0!==i?i:null===(h=f.locale)||void 0===h||null===(d=h.options)||void 0===d?void 0:d.weekStartsOn)&&void 0!==r?r:0);if(!(p>=0&&p<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var m=Object(a.a)(e),g=Object(O.a)(t),v=m.getUTCDay(),y=g%7,b=(y+7)%7,_=(b<p?7:0)+g-v;return m.setUTCDate(m.getUTCDate()+_),m}var Be=function(e){M(n,e);var t=j(n);function n(){var e;D(this,n);for(var r=arguments.length,i=new Array(r),s=0;s<r;s++)i[s]=arguments[s];return P(k(e=t.call.apply(t,[this].concat(i))),"priority",90),P(k(e),"incompatibleTokens",["D","i","e","c","t","T"]),e}return z(n,[{key:"parse",value:function(e,t,n){switch(t){case"E":case"EE":case"EEE":return n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});case"EEEEE":return n.day(e,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});case"EEEE":default:return n.day(e,{width:"wide",context:"formatting"})||n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(e,t){return t>=0&&t<=6}},{key:"set",value:function(e,t,n,r){return(e=Ve(e,n,r)).setUTCHours(0,0,0,0),e}}]),n}(H),Ye=function(e){M(n,e);var t=j(n);function n(){var e;D(this,n);for(var r=arguments.length,i=new Array(r),s=0;s<r;s++)i[s]=arguments[s];return P(k(e=t.call.apply(t,[this].concat(i))),"priority",90),P(k(e),"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"]),e}return z(n,[{key:"parse",value:function(e,t,n,r){var i=function(e){var t=7*Math.floor((e-1)/7);return(e+r.weekStartsOn+6)%7+t};switch(t){case"e":case"ee":return de(ge(t.length,e),i);case"eo":return de(n.ordinalNumber(e,{unit:"day"}),i);case"eee":return n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});case"eeeee":return n.day(e,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});case"eeee":default:return n.day(e,{width:"wide",context:"formatting"})||n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(e,t){return t>=0&&t<=6}},{key:"set",value:function(e,t,n,r){return(e=Ve(e,n,r)).setUTCHours(0,0,0,0),e}}]),n}(H),Ue=function(e){M(n,e);var t=j(n);function n(){var e;D(this,n);for(var r=arguments.length,i=new Array(r),s=0;s<r;s++)i[s]=arguments[s];return P(k(e=t.call.apply(t,[this].concat(i))),"priority",90),P(k(e),"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"]),e}return z(n,[{key:"parse",value:function(e,t,n,r){var i=function(e){var t=7*Math.floor((e-1)/7);return(e+r.weekStartsOn+6)%7+t};switch(t){case"c":case"cc":return de(ge(t.length,e),i);case"co":return de(n.ordinalNumber(e,{unit:"day"}),i);case"ccc":return n.day(e,{width:"abbreviated",context:"standalone"})||n.day(e,{width:"short",context:"standalone"})||n.day(e,{width:"narrow",context:"standalone"});case"ccccc":return n.day(e,{width:"narrow",context:"standalone"});case"cccccc":return n.day(e,{width:"short",context:"standalone"})||n.day(e,{width:"narrow",context:"standalone"});case"cccc":default:return n.day(e,{width:"wide",context:"standalone"})||n.day(e,{width:"abbreviated",context:"standalone"})||n.day(e,{width:"short",context:"standalone"})||n.day(e,{width:"narrow",context:"standalone"})}}},{key:"validate",value:function(e,t){return t>=0&&t<=6}},{key:"set",value:function(e,t,n,r){return(e=Ve(e,n,r)).setUTCHours(0,0,0,0),e}}]),n}(H);var We=function(e){M(n,e);var t=j(n);function n(){var e;D(this,n);for(var r=arguments.length,i=new Array(r),s=0;s<r;s++)i[s]=arguments[s];return P(k(e=t.call.apply(t,[this].concat(i))),"priority",90),P(k(e),"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"]),e}return z(n,[{key:"parse",value:function(e,t,n){var r=function(e){return 0===e?7:e};switch(t){case"i":case"ii":return ge(t.length,e);case"io":return n.ordinalNumber(e,{unit:"day"});case"iii":return de(n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"}),r);case"iiiii":return de(n.day(e,{width:"narrow",context:"formatting"}),r);case"iiiiii":return de(n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"}),r);case"iiii":default:return de(n.day(e,{width:"wide",context:"formatting"})||n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"}),r)}}},{key:"validate",value:function(e,t){return t>=1&&t<=7}},{key:"set",value:function(e,t,n){return(e=function(e,t){Object(l.a)(2,arguments);var n=Object(O.a)(t);n%7==0&&(n-=7);var r=1,i=Object(a.a)(e),s=i.getUTCDay(),o=((n%7+7)%7<r?7:0)+n-s;return i.setUTCDate(i.getUTCDate()+o),i}(e,n)).setUTCHours(0,0,0,0),e}}]),n}(H),qe=function(e){M(n,e);var t=j(n);function n(){var e;D(this,n);for(var r=arguments.length,i=new Array(r),s=0;s<r;s++)i[s]=arguments[s];return P(k(e=t.call.apply(t,[this].concat(i))),"priority",80),P(k(e),"incompatibleTokens",["b","B","H","k","t","T"]),e}return z(n,[{key:"parse",value:function(e,t,n){switch(t){case"a":case"aa":case"aaa":return n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"});case"aaaaa":return n.dayPeriod(e,{width:"narrow",context:"formatting"});case"aaaa":default:return n.dayPeriod(e,{width:"wide",context:"formatting"})||n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"})}}},{key:"set",value:function(e,t,n){return e.setUTCHours(ye(n),0,0,0),e}}]),n}(H),$e=function(e){M(n,e);var t=j(n);function n(){var e;D(this,n);for(var r=arguments.length,i=new Array(r),s=0;s<r;s++)i[s]=arguments[s];return P(k(e=t.call.apply(t,[this].concat(i))),"priority",80),P(k(e),"incompatibleTokens",["a","B","H","k","t","T"]),e}return z(n,[{key:"parse",value:function(e,t,n){switch(t){case"b":case"bb":case"bbb":return n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"});case"bbbbb":return n.dayPeriod(e,{width:"narrow",context:"formatting"});case"bbbb":default:return n.dayPeriod(e,{width:"wide",context:"formatting"})||n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"})}}},{key:"set",value:function(e,t,n){return e.setUTCHours(ye(n),0,0,0),e}}]),n}(H),Ge=function(e){M(n,e);var t=j(n);function n(){var e;D(this,n);for(var r=arguments.length,i=new Array(r),s=0;s<r;s++)i[s]=arguments[s];return P(k(e=t.call.apply(t,[this].concat(i))),"priority",80),P(k(e),"incompatibleTokens",["a","b","t","T"]),e}return z(n,[{key:"parse",value:function(e,t,n){switch(t){case"B":case"BB":case"BBB":return n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"});case"BBBBB":return n.dayPeriod(e,{width:"narrow",context:"formatting"});case"BBBB":default:return n.dayPeriod(e,{width:"wide",context:"formatting"})||n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"})}}},{key:"set",value:function(e,t,n){return e.setUTCHours(ye(n),0,0,0),e}}]),n}(H),Xe=function(e){M(n,e);var t=j(n);function n(){var e;D(this,n);for(var r=arguments.length,i=new Array(r),s=0;s<r;s++)i[s]=arguments[s];return P(k(e=t.call.apply(t,[this].concat(i))),"priority",70),P(k(e),"incompatibleTokens",["H","K","k","t","T"]),e}return z(n,[{key:"parse",value:function(e,t,n){switch(t){case"h":return fe(X,e);case"ho":return n.ordinalNumber(e,{unit:"hour"});default:return ge(t.length,e)}}},{key:"validate",value:function(e,t){return t>=1&&t<=12}},{key:"set",value:function(e,t,n){var r=e.getUTCHours()>=12;return r&&n<12?e.setUTCHours(n+12,0,0,0):r||12!==n?e.setUTCHours(n,0,0,0):e.setUTCHours(0,0,0,0),e}}]),n}(H),Ke=function(e){M(n,e);var t=j(n);function n(){var e;D(this,n);for(var r=arguments.length,i=new Array(r),s=0;s<r;s++)i[s]=arguments[s];return P(k(e=t.call.apply(t,[this].concat(i))),"priority",70),P(k(e),"incompatibleTokens",["a","b","h","K","k","t","T"]),e}return z(n,[{key:"parse",value:function(e,t,n){switch(t){case"H":return fe(q,e);case"Ho":return n.ordinalNumber(e,{unit:"hour"});default:return ge(t.length,e)}}},{key:"validate",value:function(e,t){return t>=0&&t<=23}},{key:"set",value:function(e,t,n){return e.setUTCHours(n,0,0,0),e}}]),n}(H),Je=function(e){M(n,e);var t=j(n);function n(){var e;D(this,n);for(var r=arguments.length,i=new Array(r),s=0;s<r;s++)i[s]=arguments[s];return P(k(e=t.call.apply(t,[this].concat(i))),"priority",70),P(k(e),"incompatibleTokens",["h","H","k","t","T"]),e}return z(n,[{key:"parse",value:function(e,t,n){switch(t){case"K":return fe(G,e);case"Ko":return n.ordinalNumber(e,{unit:"hour"});default:return ge(t.length,e)}}},{key:"validate",value:function(e,t){return t>=0&&t<=11}},{key:"set",value:function(e,t,n){return e.getUTCHours()>=12&&n<12?e.setUTCHours(n+12,0,0,0):e.setUTCHours(n,0,0,0),e}}]),n}(H),Qe=function(e){M(n,e);var t=j(n);function n(){var e;D(this,n);for(var r=arguments.length,i=new Array(r),s=0;s<r;s++)i[s]=arguments[s];return P(k(e=t.call.apply(t,[this].concat(i))),"priority",70),P(k(e),"incompatibleTokens",["a","b","h","H","K","t","T"]),e}return z(n,[{key:"parse",value:function(e,t,n){switch(t){case"k":return fe($,e);case"ko":return n.ordinalNumber(e,{unit:"hour"});default:return ge(t.length,e)}}},{key:"validate",value:function(e,t){return t>=1&&t<=24}},{key:"set",value:function(e,t,n){var r=n<=24?n%24:n;return e.setUTCHours(r,0,0,0),e}}]),n}(H),Ze=function(e){M(n,e);var t=j(n);function n(){var e;D(this,n);for(var r=arguments.length,i=new Array(r),s=0;s<r;s++)i[s]=arguments[s];return P(k(e=t.call.apply(t,[this].concat(i))),"priority",60),P(k(e),"incompatibleTokens",["t","T"]),e}return z(n,[{key:"parse",value:function(e,t,n){switch(t){case"m":return fe(K,e);case"mo":return n.ordinalNumber(e,{unit:"minute"});default:return ge(t.length,e)}}},{key:"validate",value:function(e,t){return t>=0&&t<=59}},{key:"set",value:function(e,t,n){return e.setUTCMinutes(n,0,0),e}}]),n}(H),et=function(e){M(n,e);var t=j(n);function n(){var e;D(this,n);for(var r=arguments.length,i=new Array(r),s=0;s<r;s++)i[s]=arguments[s];return P(k(e=t.call.apply(t,[this].concat(i))),"priority",50),P(k(e),"incompatibleTokens",["t","T"]),e}return z(n,[{key:"parse",value:function(e,t,n){switch(t){case"s":return fe(J,e);case"so":return n.ordinalNumber(e,{unit:"second"});default:return ge(t.length,e)}}},{key:"validate",value:function(e,t){return t>=0&&t<=59}},{key:"set",value:function(e,t,n){return e.setUTCSeconds(n,0),e}}]),n}(H),tt=function(e){M(n,e);var t=j(n);function n(){var e;D(this,n);for(var r=arguments.length,i=new Array(r),s=0;s<r;s++)i[s]=arguments[s];return P(k(e=t.call.apply(t,[this].concat(i))),"priority",30),P(k(e),"incompatibleTokens",["t","T"]),e}return z(n,[{key:"parse",value:function(e,t){return de(ge(t.length,e),function(e){return Math.floor(e*Math.pow(10,3-t.length))})}},{key:"set",value:function(e,t,n){return e.setUTCMilliseconds(n),e}}]),n}(H),nt=function(e){M(n,e);var t=j(n);function n(){var e;D(this,n);for(var r=arguments.length,i=new Array(r),s=0;s<r;s++)i[s]=arguments[s];return P(k(e=t.call.apply(t,[this].concat(i))),"priority",10),P(k(e),"incompatibleTokens",["t","T","x"]),e}return z(n,[{key:"parse",value:function(e,t){switch(t){case"X":return pe(ae,e);case"XX":return pe(ce,e);case"XXXX":return pe(le,e);case"XXXXX":return pe(he,e);case"XXX":default:return pe(ue,e)}}},{key:"set",value:function(e,t,n){return t.timestampIsSet?e:new Date(e.getTime()-n)}}]),n}(H),rt=function(e){M(n,e);var t=j(n);function n(){var e;D(this,n);for(var r=arguments.length,i=new Array(r),s=0;s<r;s++)i[s]=arguments[s];return P(k(e=t.call.apply(t,[this].concat(i))),"priority",10),P(k(e),"incompatibleTokens",["t","T","X"]),e}return z(n,[{key:"parse",value:function(e,t){switch(t){case"x":return pe(ae,e);case"xx":return pe(ce,e);case"xxxx":return pe(le,e);case"xxxxx":return pe(he,e);case"xxx":default:return pe(ue,e)}}},{key:"set",value:function(e,t,n){return t.timestampIsSet?e:new Date(e.getTime()-n)}}]),n}(H),it=function(e){M(n,e);var t=j(n);function n(){var e;D(this,n);for(var r=arguments.length,i=new Array(r),s=0;s<r;s++)i[s]=arguments[s];return P(k(e=t.call.apply(t,[this].concat(i))),"priority",40),P(k(e),"incompatibleTokens","*"),e}return z(n,[{key:"parse",value:function(e){return me(e)}},{key:"set",value:function(e,t,n){return[new Date(1e3*n),{timestampIsSet:!0}]}}]),n}(H),st=function(e){M(n,e);var t=j(n);function n(){var e;D(this,n);for(var r=arguments.length,i=new Array(r),s=0;s<r;s++)i[s]=arguments[s];return P(k(e=t.call.apply(t,[this].concat(i))),"priority",20),P(k(e),"incompatibleTokens","*"),e}return z(n,[{key:"parse",value:function(e){return me(e)}},{key:"set",value:function(e,t,n){return[new Date(n),{timestampIsSet:!0}]}}]),n}(H),ot={G:new F,y:new we,Y:new Oe,R:new Ce,u:new Me,Q:new Ee,q:new Te,M:new je,L:new De,w:new Le,I:new Pe,d:new Ne,D:new He,E:new Be,e:new Ye,c:new Ue,i:new We,a:new qe,b:new $e,B:new Ge,h:new Xe,H:new Ke,K:new Je,k:new Qe,m:new Ze,s:new et,S:new tt,X:new nt,x:new rt,t:new it,T:new st},at=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,ct=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,lt=/^'([^]*?)'?$/,ut=/''/g,ht=/\S/,dt=/[a-zA-Z]/;function ft(e){return e.match(lt)[1].replace(ut,"'")}var pt=n("n7bz"),mt={locale:"en",Pagination:{items_per_page:"/ page",jump_to:"Go to",jump_to_confirm:"confirm",page:"",prev_page:"Previous Page",next_page:"Next Page",prev_5:"Previous 5 Pages",next_5:"Next 5 Pages",prev_3:"Previous 3 Pages",next_3:"Next 3 Pages"},DatePicker:{lang:{placeholder:"Select date",yearPlaceholder:"Select year",quarterPlaceholder:"Select quarter",monthPlaceholder:"Select month",weekPlaceholder:"Select week",rangePlaceholder:["Start date","End date"],rangeYearPlaceholder:["Start year","End year"],rangeMonthPlaceholder:["Start month","End month"],rangeWeekPlaceholder:["Start week","End week"],locale:"en_US",today:"Today",now:"Now",backToToday:"Back to today",ok:"Ok",clear:"Clear",month:"Month",year:"Year",timeSelect:"select time",dateSelect:"select date",weekSelect:"Choose a week",monthSelect:"Choose a month",yearSelect:"Choose a year",decadeSelect:"Choose a decade",yearFormat:"YYYY",dateFormat:"M/D/YYYY",dayFormat:"D",dateTimeFormat:"M/D/YYYY HH:mm:ss",monthBeforeYear:!0,previousMonth:"Previous month (PageUp)",nextMonth:"Next month (PageDown)",previousYear:"Last year (Control + left)",nextYear:"Next year (Control + right)",previousDecade:"Last decade",nextDecade:"Next decade",previousCentury:"Last century",nextCentury:"Next century"},timePickerLocale:{placeholder:"Select time",rangePlaceholder:["Start time","End time"]}},TimePicker:{placeholder:"Select time",rangePlaceholder:["Start time","End time"]},Calendar:{lang:{placeholder:"Select date",yearPlaceholder:"Select year",quarterPlaceholder:"Select quarter",monthPlaceholder:"Select month",weekPlaceholder:"Select week",rangePlaceholder:["Start date","End date"],rangeYearPlaceholder:["Start year","End year"],rangeMonthPlaceholder:["Start month","End month"],rangeWeekPlaceholder:["Start week","End week"],locale:"en_US",today:"Today",now:"Now",backToToday:"Back to today",ok:"Ok",clear:"Clear",month:"Month",year:"Year",timeSelect:"select time",dateSelect:"select date",weekSelect:"Choose a week",monthSelect:"Choose a month",yearSelect:"Choose a year",decadeSelect:"Choose a decade",yearFormat:"YYYY",dateFormat:"M/D/YYYY",dayFormat:"D",dateTimeFormat:"M/D/YYYY HH:mm:ss",monthBeforeYear:!0,previousMonth:"Previous month (PageUp)",nextMonth:"Next month (PageDown)",previousYear:"Last year (Control + left)",nextYear:"Next year (Control + right)",previousDecade:"Last decade",nextDecade:"Next decade",previousCentury:"Last century",nextCentury:"Next century"},timePickerLocale:{placeholder:"Select time",rangePlaceholder:["Start time","End time"]}},global:{placeholder:"Please select"},Table:{filterTitle:"Filter menu",filterConfirm:"OK",filterReset:"Reset",filterEmptyText:"No filters",emptyText:"No data",selectAll:"Select current page",selectInvert:"Invert current page",selectionAll:"Select all data",sortTitle:"Sort",expand:"Expand row",collapse:"Collapse row",triggerDesc:"Click sort by descend",triggerAsc:"Click sort by ascend",cancelSort:"Click to cancel sort"},Modal:{okText:"OK",cancelText:"Cancel",justOkText:"OK"},Popconfirm:{okText:"OK",cancelText:"Cancel"},Transfer:{titles:["",""],searchPlaceholder:"Search here",itemUnit:"item",itemsUnit:"items",remove:"Remove",selectCurrent:"Select current page",removeCurrent:"Remove current page",selectAll:"Select all data",removeAll:"Remove all data",selectInvert:"Invert current page"},Upload:{uploading:"Uploading...",removeFile:"Remove file",uploadError:"Upload error",previewFile:"Preview file",downloadFile:"Download file"},Empty:{description:"No Data"},Icon:{icon:"icon"},Text:{edit:"Edit",copy:"Copy",copied:"Copied",expand:"Expand"},PageHeader:{back:"Back"}},gt={locale:"zh-cn",Pagination:{items_per_page:"\u6761/\u9875",jump_to:"\u8df3\u81f3",jump_to_confirm:"\u786e\u5b9a",page:"\u9875",prev_page:"\u4e0a\u4e00\u9875",next_page:"\u4e0b\u4e00\u9875",prev_5:"\u5411\u524d 5 \u9875",next_5:"\u5411\u540e 5 \u9875",prev_3:"\u5411\u524d 3 \u9875",next_3:"\u5411\u540e 3 \u9875"},DatePicker:{lang:{placeholder:"\u8bf7\u9009\u62e9\u65e5\u671f",yearPlaceholder:"\u8bf7\u9009\u62e9\u5e74\u4efd",quarterPlaceholder:"\u8bf7\u9009\u62e9\u5b63\u5ea6",monthPlaceholder:"\u8bf7\u9009\u62e9\u6708\u4efd",weekPlaceholder:"\u8bf7\u9009\u62e9\u5468",rangePlaceholder:["\u5f00\u59cb\u65e5\u671f","\u7ed3\u675f\u65e5\u671f"],rangeYearPlaceholder:["\u5f00\u59cb\u5e74\u4efd","\u7ed3\u675f\u5e74\u4efd"],rangeMonthPlaceholder:["\u5f00\u59cb\u6708\u4efd","\u7ed3\u675f\u6708\u4efd"],rangeWeekPlaceholder:["\u5f00\u59cb\u5468","\u7ed3\u675f\u5468"],locale:"zh_CN",today:"\u4eca\u5929",now:"\u6b64\u523b",backToToday:"\u8fd4\u56de\u4eca\u5929",ok:"\u786e\u5b9a",timeSelect:"\u9009\u62e9\u65f6\u95f4",dateSelect:"\u9009\u62e9\u65e5\u671f",weekSelect:"\u9009\u62e9\u5468",clear:"\u6e05\u9664",month:"\u6708",year:"\u5e74",previousMonth:"\u4e0a\u4e2a\u6708 (\u7ffb\u9875\u4e0a\u952e)",nextMonth:"\u4e0b\u4e2a\u6708 (\u7ffb\u9875\u4e0b\u952e)",monthSelect:"\u9009\u62e9\u6708\u4efd",yearSelect:"\u9009\u62e9\u5e74\u4efd",decadeSelect:"\u9009\u62e9\u5e74\u4ee3",yearFormat:"YYYY\u5e74",dayFormat:"D\u65e5",dateFormat:"YYYY\u5e74M\u6708D\u65e5",dateTimeFormat:"YYYY\u5e74M\u6708D\u65e5 HH\u65f6mm\u5206ss\u79d2",previousYear:"\u4e0a\u4e00\u5e74 (Control\u952e\u52a0\u5de6\u65b9\u5411\u952e)",nextYear:"\u4e0b\u4e00\u5e74 (Control\u952e\u52a0\u53f3\u65b9\u5411\u952e)",previousDecade:"\u4e0a\u4e00\u5e74\u4ee3",nextDecade:"\u4e0b\u4e00\u5e74\u4ee3",previousCentury:"\u4e0a\u4e00\u4e16\u7eaa",nextCentury:"\u4e0b\u4e00\u4e16\u7eaa"},timePickerLocale:{placeholder:"\u8bf7\u9009\u62e9\u65f6\u95f4",rangePlaceholder:["\u5f00\u59cb\u65f6\u95f4","\u7ed3\u675f\u65f6\u95f4"]}},TimePicker:{placeholder:"\u8bf7\u9009\u62e9\u65f6\u95f4",rangePlaceholder:["\u5f00\u59cb\u65f6\u95f4","\u7ed3\u675f\u65f6\u95f4"]},Calendar:{lang:{placeholder:"\u8bf7\u9009\u62e9\u65e5\u671f",yearPlaceholder:"\u8bf7\u9009\u62e9\u5e74\u4efd",quarterPlaceholder:"\u8bf7\u9009\u62e9\u5b63\u5ea6",monthPlaceholder:"\u8bf7\u9009\u62e9\u6708\u4efd",weekPlaceholder:"\u8bf7\u9009\u62e9\u5468",rangePlaceholder:["\u5f00\u59cb\u65e5\u671f","\u7ed3\u675f\u65e5\u671f"],rangeYearPlaceholder:["\u5f00\u59cb\u5e74\u4efd","\u7ed3\u675f\u5e74\u4efd"],rangeMonthPlaceholder:["\u5f00\u59cb\u6708\u4efd","\u7ed3\u675f\u6708\u4efd"],rangeWeekPlaceholder:["\u5f00\u59cb\u5468","\u7ed3\u675f\u5468"],locale:"zh_CN",today:"\u4eca\u5929",now:"\u6b64\u523b",backToToday:"\u8fd4\u56de\u4eca\u5929",ok:"\u786e\u5b9a",timeSelect:"\u9009\u62e9\u65f6\u95f4",dateSelect:"\u9009\u62e9\u65e5\u671f",weekSelect:"\u9009\u62e9\u5468",clear:"\u6e05\u9664",month:"\u6708",year:"\u5e74",previousMonth:"\u4e0a\u4e2a\u6708 (\u7ffb\u9875\u4e0a\u952e)",nextMonth:"\u4e0b\u4e2a\u6708 (\u7ffb\u9875\u4e0b\u952e)",monthSelect:"\u9009\u62e9\u6708\u4efd",yearSelect:"\u9009\u62e9\u5e74\u4efd",decadeSelect:"\u9009\u62e9\u5e74\u4ee3",yearFormat:"YYYY\u5e74",dayFormat:"D\u65e5",dateFormat:"YYYY\u5e74M\u6708D\u65e5",dateTimeFormat:"YYYY\u5e74M\u6708D\u65e5 HH\u65f6mm\u5206ss\u79d2",previousYear:"\u4e0a\u4e00\u5e74 (Control\u952e\u52a0\u5de6\u65b9\u5411\u952e)",nextYear:"\u4e0b\u4e00\u5e74 (Control\u952e\u52a0\u53f3\u65b9\u5411\u952e)",previousDecade:"\u4e0a\u4e00\u5e74\u4ee3",nextDecade:"\u4e0b\u4e00\u5e74\u4ee3",previousCentury:"\u4e0a\u4e00\u4e16\u7eaa",nextCentury:"\u4e0b\u4e00\u4e16\u7eaa"},timePickerLocale:{placeholder:"\u8bf7\u9009\u62e9\u65f6\u95f4",rangePlaceholder:["\u5f00\u59cb\u65f6\u95f4","\u7ed3\u675f\u65f6\u95f4"]}},global:{placeholder:"\u8bf7\u9009\u62e9"},Table:{filterTitle:"\u7b5b\u9009",filterConfirm:"\u786e\u5b9a",filterReset:"\u91cd\u7f6e",filterEmptyText:"\u65e0\u7b5b\u9009\u9879",selectAll:"\u5168\u9009\u5f53\u9875",selectInvert:"\u53cd\u9009\u5f53\u9875",selectionAll:"\u5168\u9009\u6240\u6709",sortTitle:"\u6392\u5e8f",expand:"\u5c55\u5f00\u884c",collapse:"\u5173\u95ed\u884c",triggerDesc:"\u70b9\u51fb\u964d\u5e8f",triggerAsc:"\u70b9\u51fb\u5347\u5e8f",cancelSort:"\u53d6\u6d88\u6392\u5e8f"},Modal:{okText:"\u786e\u5b9a",cancelText:"\u53d6\u6d88",justOkText:"\u77e5\u9053\u4e86"},Popconfirm:{cancelText:"\u53d6\u6d88",okText:"\u786e\u5b9a"},Transfer:{searchPlaceholder:"\u8bf7\u8f93\u5165\u641c\u7d22\u5185\u5bb9",itemUnit:"\u9879",itemsUnit:"\u9879",remove:"\u5220\u9664",selectCurrent:"\u5168\u9009\u5f53\u9875",removeCurrent:"\u5220\u9664\u5f53\u9875",selectAll:"\u5168\u9009\u6240\u6709",removeAll:"\u5220\u9664\u5168\u90e8",selectInvert:"\u53cd\u9009\u5f53\u9875"},Upload:{uploading:"\u6587\u4ef6\u4e0a\u4f20\u4e2d",removeFile:"\u5220\u9664\u6587\u4ef6",uploadError:"\u4e0a\u4f20\u9519\u8bef",previewFile:"\u9884\u89c8\u6587\u4ef6",downloadFile:"\u4e0b\u8f7d\u6587\u4ef6"},Empty:{description:"\u6682\u65e0\u6570\u636e"},Icon:{icon:"\u56fe\u6807"},Text:{edit:"\u7f16\u8f91",copy:"\u590d\u5236",copied:"\u590d\u5236\u6210\u529f",expand:"\u5c55\u5f00"},PageHeader:{back:"\u8fd4\u56de"}};const vt=new r.E("nz-i18n"),yt=new r.E("nz-date-locale");class bt{constructor(e,t){this._change=new s.a(this._locale),this.setLocale(e||gt),this.setDateLocale(t||null)}get localeChange(){return this._change.asObservable()}translate(e,t){let n=this._getObjectPath(this._locale,e);return"string"==typeof n?(t&&Object.keys(t).forEach(e=>n=n.replace(new RegExp(`%${e}%`,"g"),t[e])),n):e}setLocale(e){this._locale&&this._locale.locale===e.locale||(this._locale=e,this._change.next(e))}getLocale(){return this._locale}getLocaleId(){return this._locale?this._locale.locale:""}setDateLocale(e){this.dateLocale=e}getDateLocale(){return this.dateLocale}getLocaleData(e,t){const n=e?this._getObjectPath(this._locale,e):this._locale;return n||t||Object(i.b)(`Missing translations for "${e}" in language "${this._locale.locale}".\nYou can use "NzI18nService.setLocale" as a temporary fix.\nWelcome to submit a pull request to help us optimize the translations!\nhttps://github.com/NG-ZORRO/ng-zorro-antd/blob/master/CONTRIBUTING.md`),n||t||this._getObjectPath(mt,e)||{}}_getObjectPath(e,t){let n=e;const r=t.split("."),i=r.length;let s=0;for(;n&&s<i;)n=n[r[s++]];return s===i?n:null}}bt.\u0275fac=function(e){return new(e||bt)(r.Xc(vt,8),r.Xc(yt,8))},bt.\u0275prov=Object(r.Jc)({factory:function(){return new bt(Object(r.Xc)(vt,8),Object(r.Xc)(yt,8))},token:bt,providedIn:"root"}),bt.ctorParameters=()=>[{type:void 0,decorators:[{type:r.R},{type:r.C,args:[vt]}]},{type:void 0,decorators:[{type:r.R},{type:r.C,args:[yt]}]}];class _t{constructor(e){this._locale=e}transform(e,t){return this._locale.translate(e,t)}}_t.\u0275fac=function(e){return new(e||_t)(r.Nc(bt))},_t.\u0275pipe=r.Mc({name:"nzI18n",type:_t,pure:!0}),_t.ctorParameters=()=>[{type:bt}];class wt{}wt.\u0275mod=r.Lc({type:wt}),wt.\u0275inj=r.Kc({factory:function(e){return new(e||wt)}}),("undefined"==typeof ngJitMode||ngJitMode)&&r.Bd(wt,{declarations:[_t],exports:[_t]});const St=new r.E("date-config"),xt={firstDayOfWeek:void 0};function Ot(e,t){const n=e.get(bt);return n.getDateLocale()?new Ct(n,t):new Mt(n,t)}class kt{constructor(e,t){this.i18n=e,this.config=t,this.config=function(e){return Object.assign(Object.assign({},xt),e)}(this.config)}}kt.\u0275fac=function(e){return new(e||kt)(r.Xc(bt),r.Xc(St,8))},kt.\u0275prov=Object(r.Jc)({factory:function(){return Ot(Object(r.Xc)(r.B),Object(r.Xc)(St,8))},token:kt,providedIn:"root"}),kt.ctorParameters=()=>[{type:bt},{type:void 0,decorators:[{type:r.R},{type:r.C,args:[St]}]}];class Ct extends kt{getISOWeek(e){return function(e){Object(l.a)(1,arguments);var t=Object(a.a)(e),n=u(t).getTime()-d(t).getTime();return Math.round(n/f)+1}(e)}getFirstDayOfWeek(){let e;try{e=this.i18n.getDateLocale().options.weekStartsOn}catch(t){e=1}return null==this.config.firstDayOfWeek?e:this.config.firstDayOfWeek}format(e,t){return e?Object(p.a)(e,t,{locale:this.i18n.getDateLocale()}):""}parseDate(e,t){return function(e,t,n,r){var i,s,o,c,u,h,d,f,p,g,k,C,M,E,T,j,D,A;Object(l.a)(3,arguments);var L=String(e),z=String(t),P=Object(Fe.a)(),I=null!==(i=null!==(s=null==r?void 0:r.locale)&&void 0!==s?s:P.locale)&&void 0!==i?i:y.a;if(!I.match)throw new RangeError("locale must contain match property");var R=Object(O.a)(null!==(o=null!==(c=null!==(u=null!==(h=null==r?void 0:r.firstWeekContainsDate)&&void 0!==h?h:null==r||null===(d=r.locale)||void 0===d||null===(f=d.options)||void 0===f?void 0:f.firstWeekContainsDate)&&void 0!==u?u:P.firstWeekContainsDate)&&void 0!==c?c:null===(p=P.locale)||void 0===p||null===(g=p.options)||void 0===g?void 0:g.firstWeekContainsDate)&&void 0!==o?o:1);if(!(R>=1&&R<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var H=Object(O.a)(null!==(k=null!==(C=null!==(M=null!==(E=null==r?void 0:r.weekStartsOn)&&void 0!==E?E:null==r||null===(T=r.locale)||void 0===T||null===(j=T.options)||void 0===j?void 0:j.weekStartsOn)&&void 0!==M?M:P.weekStartsOn)&&void 0!==C?C:null===(D=P.locale)||void 0===D||null===(A=D.options)||void 0===A?void 0:A.weekStartsOn)&&void 0!==k?k:0);if(!(H>=0&&H<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(""===z)return""===L?Object(a.a)(n):new Date(NaN);var F,V={firstWeekContainsDate:R,weekStartsOn:H,locale:I},B=[new N],Y=z.match(ct).map(function(e){var t=e[0];return t in w.a?(0,w.a[t])(e,I.formatLong):e}).join("").match(at),U=[],W=v(Y);try{var q=function(){var t=F.value;null!=r&&r.useAdditionalWeekYearTokens||!Object(x.b)(t)||Object(x.c)(t,z,e),null!=r&&r.useAdditionalDayOfYearTokens||!Object(x.a)(t)||Object(x.c)(t,z,e);var n=t[0],i=ot[n];if(i){var s=i.incompatibleTokens;if(Array.isArray(s)){var o=U.find(function(e){return s.includes(e.token)||e.token===n});if(o)throw new RangeError("The format string mustn't contain `".concat(o.fullToken,"` and `").concat(t,"` at the same time"))}else if("*"===i.incompatibleTokens&&U.length>0)throw new RangeError("The format string mustn't contain `".concat(t,"` and any other token at the same time"));U.push({token:n,fullToken:t});var a=i.run(L,t,I.match,V);if(!a)return{v:new Date(NaN)};B.push(a.setter),L=a.rest}else{if(n.match(dt))throw new RangeError("Format string contains an unescaped latin alphabet character `"+n+"`");if("''"===t?t="'":"'"===n&&(t=ft(t)),0!==L.indexOf(t))return{v:new Date(NaN)};L=L.slice(t.length)}};for(W.s();!(F=W.n()).done;){var $=q();if("object"===Object(m.a)($))return $.v}}catch(ne){W.e(ne)}finally{W.f()}if(L.length>0&&ht.test(L))return new Date(NaN);var G=B.map(function(e){return e.priority}).sort(function(e,t){return t-e}).filter(function(e,t,n){return n.indexOf(e)===t}).map(function(e){return B.filter(function(t){return t.priority===e}).sort(function(e,t){return t.subPriority-e.subPriority})}).map(function(e){return e[0]}),X=Object(a.a)(n);if(isNaN(X.getTime()))return new Date(NaN);var K,J=Object(b.a)(X,Object(S.a)(X)),Q={},Z=v(G);try{for(Z.s();!(K=Z.n()).done;){var ee=K.value;if(!ee.validate(J,V))return new Date(NaN);var te=ee.set(J,Q,V);Array.isArray(te)?(J=te[0],_(Q,te[1])):J=te}}catch(ne){Z.e(ne)}finally{Z.f()}return J}(e,t,new Date,{locale:this.i18n.getDateLocale(),weekStartsOn:this.getFirstDayOfWeek()})}parseTime(e,t){return this.parseDate(e,t)}}Ct.\u0275prov=Object(r.Jc)({factory:function(){return Ot(Object(r.Xc)(r.B),Object(r.Xc)(St,8))},token:Ct,providedIn:"root"});class Mt extends kt{getISOWeek(e){return+this.format(e,"w")}getFirstDayOfWeek(){if(void 0===this.config.firstDayOfWeek){const e=this.i18n.getLocaleId();return e&&["zh-cn","zh-tw"].indexOf(e.toLowerCase())>-1?1:0}return this.config.firstDayOfWeek}format(e,t){return e?Object(o.A)(e,t,this.i18n.getLocaleId()):""}parseDate(e){return new Date(e)}parseTime(e,t){return new pt.f(t,this.i18n.getLocaleId()).toDate(e)}}Mt.\u0275prov=Object(r.Jc)({factory:function(){return Ot(Object(r.Xc)(r.B),Object(r.Xc)(St,8))},token:Mt,providedIn:"root"});var Et={locale:"ru",Pagination:{items_per_page:"/ \u0441\u0442\u0440.",jump_to:"\u041f\u0435\u0440\u0435\u0439\u0442\u0438",jump_to_confirm:"\u043f\u043e\u0434\u0442\u0432\u0435\u0440\u0434\u0438\u0442\u044c",page:"",prev_page:"\u041d\u0430\u0437\u0430\u0434",next_page:"\u0412\u043f\u0435\u0440\u0435\u0434",prev_5:"\u041f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0438\u0435 5",next_5:"\u0421\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 5",prev_3:"\u041f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0438\u0435 3",next_3:"\u0421\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 3"},DatePicker:{lang:{placeholder:"\u0412\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u0434\u0430\u0442\u0443",yearPlaceholder:"\u0412\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u0433\u043e\u0434",quarterPlaceholder:"\u0412\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u043a\u0432\u0430\u0440\u0442\u0430\u043b",monthPlaceholder:"\u0412\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u043c\u0435\u0441\u044f\u0446",weekPlaceholder:"\u0412\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u043d\u0435\u0434\u0435\u043b\u044e",rangePlaceholder:["\u041d\u0430\u0447\u0430\u043b\u044c\u043d\u0430\u044f \u0434\u0430\u0442\u0430","\u041a\u043e\u043d\u0435\u0447\u043d\u0430\u044f \u0434\u0430\u0442\u0430"],rangeYearPlaceholder:["\u041d\u0430\u0447\u0430\u043b\u044c\u043d\u044b\u0439 \u0433\u043e\u0434","\u0413\u043e\u0434 \u043e\u043a\u043e\u043d\u0447\u0430\u043d\u0438\u044f"],rangeMonthPlaceholder:["\u041d\u0430\u0447\u0430\u043b\u044c\u043d\u044b\u0439 \u043c\u0435\u0441\u044f\u0446","\u041a\u043e\u043d\u0435\u0447\u043d\u044b\u0439 \u043c\u0435\u0441\u044f\u0446"],rangeWeekPlaceholder:["\u041d\u0430\u0447\u0430\u043b\u044c\u043d\u0430\u044f \u043d\u0435\u0434\u0435\u043b\u044f","\u041a\u043e\u043d\u0435\u0447\u043d\u0430\u044f \u043d\u0435\u0434\u0435\u043b\u044f"],locale:"ru_RU",today:"\u0421\u0435\u0433\u043e\u0434\u043d\u044f",now:"\u0421\u0435\u0439\u0447\u0430\u0441",backToToday:"\u0422\u0435\u043a\u0443\u0449\u0430\u044f \u0434\u0430\u0442\u0430",ok:"Ok",clear:"\u041e\u0447\u0438\u0441\u0442\u0438\u0442\u044c",month:"\u041c\u0435\u0441\u044f\u0446",year:"\u0413\u043e\u0434",timeSelect:"\u0412\u044b\u0431\u0440\u0430\u0442\u044c \u0432\u0440\u0435\u043c\u044f",dateSelect:"\u0412\u044b\u0431\u0440\u0430\u0442\u044c \u0434\u0430\u0442\u0443",monthSelect:"\u0412\u044b\u0431\u0440\u0430\u0442\u044c \u043c\u0435\u0441\u044f\u0446",yearSelect:"\u0412\u044b\u0431\u0440\u0430\u0442\u044c \u0433\u043e\u0434",decadeSelect:"\u0412\u044b\u0431\u0440\u0430\u0442\u044c \u0434\u0435\u0441\u044f\u0442\u0438\u043b\u0435\u0442\u0438\u0435",yearFormat:"YYYY",dateFormat:"D-M-YYYY",dayFormat:"D",dateTimeFormat:"D-M-YYYY HH:mm:ss",monthBeforeYear:!0,previousMonth:"\u041f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0438\u0439 \u043c\u0435\u0441\u044f\u0446 (PageUp)",nextMonth:"\u0421\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u043c\u0435\u0441\u044f\u0446 (PageDown)",previousYear:"\u041f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0438\u0439 \u0433\u043e\u0434 (Control + left)",nextYear:"\u0421\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u0433\u043e\u0434 (Control + right)",previousDecade:"\u041f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0435\u0435 \u0434\u0435\u0441\u044f\u0442\u0438\u043b\u0435\u0442\u0438\u0435",nextDecade:"\u0421\u043b\u0435\u0434\u0443\u0449\u0435\u0435 \u0434\u0435\u0441\u044f\u0442\u0438\u043b\u0435\u0442\u0438\u0435",previousCentury:"\u041f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0438\u0439 \u0432\u0435\u043a",nextCentury:"\u0421\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u0432\u0435\u043a"},timePickerLocale:{placeholder:"\u0412\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u0432\u0440\u0435\u043c\u044f",rangePlaceholder:["\u0412\u0440\u0435\u043c\u044f \u043d\u0430\u0447\u0430\u043b\u0430","\u0412\u0440\u0435\u043c\u044f \u043e\u043a\u043e\u043d\u0447\u0430\u043d\u0438\u044f"]}},TimePicker:{placeholder:"\u0412\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u0432\u0440\u0435\u043c\u044f",rangePlaceholder:["\u0412\u0440\u0435\u043c\u044f \u043d\u0430\u0447\u0430\u043b\u0430","\u0412\u0440\u0435\u043c\u044f \u043e\u043a\u043e\u043d\u0447\u0430\u043d\u0438\u044f"]},Calendar:{lang:{placeholder:"\u0412\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u0434\u0430\u0442\u0443",yearPlaceholder:"\u0412\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u0433\u043e\u0434",quarterPlaceholder:"\u0412\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u043a\u0432\u0430\u0440\u0442\u0430\u043b",monthPlaceholder:"\u0412\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u043c\u0435\u0441\u044f\u0446",weekPlaceholder:"\u0412\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u043d\u0435\u0434\u0435\u043b\u044e",rangePlaceholder:["\u041d\u0430\u0447\u0430\u043b\u044c\u043d\u0430\u044f \u0434\u0430\u0442\u0430","\u041a\u043e\u043d\u0435\u0447\u043d\u0430\u044f \u0434\u0430\u0442\u0430"],rangeYearPlaceholder:["\u041d\u0430\u0447\u0430\u043b\u044c\u043d\u044b\u0439 \u0433\u043e\u0434","\u0413\u043e\u0434 \u043e\u043a\u043e\u043d\u0447\u0430\u043d\u0438\u044f"],rangeMonthPlaceholder:["\u041d\u0430\u0447\u0430\u043b\u044c\u043d\u044b\u0439 \u043c\u0435\u0441\u044f\u0446","\u041a\u043e\u043d\u0435\u0447\u043d\u044b\u0439 \u043c\u0435\u0441\u044f\u0446"],rangeWeekPlaceholder:["\u041d\u0430\u0447\u0430\u043b\u044c\u043d\u0430\u044f \u043d\u0435\u0434\u0435\u043b\u044f","\u041a\u043e\u043d\u0435\u0447\u043d\u0430\u044f \u043d\u0435\u0434\u0435\u043b\u044f"],locale:"ru_RU",today:"\u0421\u0435\u0433\u043e\u0434\u043d\u044f",now:"\u0421\u0435\u0439\u0447\u0430\u0441",backToToday:"\u0422\u0435\u043a\u0443\u0449\u0430\u044f \u0434\u0430\u0442\u0430",ok:"Ok",clear:"\u041e\u0447\u0438\u0441\u0442\u0438\u0442\u044c",month:"\u041c\u0435\u0441\u044f\u0446",year:"\u0413\u043e\u0434",timeSelect:"\u0412\u044b\u0431\u0440\u0430\u0442\u044c \u0432\u0440\u0435\u043c\u044f",dateSelect:"\u0412\u044b\u0431\u0440\u0430\u0442\u044c \u0434\u0430\u0442\u0443",monthSelect:"\u0412\u044b\u0431\u0440\u0430\u0442\u044c \u043c\u0435\u0441\u044f\u0446",yearSelect:"\u0412\u044b\u0431\u0440\u0430\u0442\u044c \u0433\u043e\u0434",decadeSelect:"\u0412\u044b\u0431\u0440\u0430\u0442\u044c \u0434\u0435\u0441\u044f\u0442\u0438\u043b\u0435\u0442\u0438\u0435",yearFormat:"YYYY",dateFormat:"D-M-YYYY",dayFormat:"D",dateTimeFormat:"D-M-YYYY HH:mm:ss",monthBeforeYear:!0,previousMonth:"\u041f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0438\u0439 \u043c\u0435\u0441\u044f\u0446 (PageUp)",nextMonth:"\u0421\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u043c\u0435\u0441\u044f\u0446 (PageDown)",previousYear:"\u041f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0438\u0439 \u0433\u043e\u0434 (Control + left)",nextYear:"\u0421\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u0433\u043e\u0434 (Control + right)",previousDecade:"\u041f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0435\u0435 \u0434\u0435\u0441\u044f\u0442\u0438\u043b\u0435\u0442\u0438\u0435",nextDecade:"\u0421\u043b\u0435\u0434\u0443\u0449\u0435\u0435 \u0434\u0435\u0441\u044f\u0442\u0438\u043b\u0435\u0442\u0438\u0435",previousCentury:"\u041f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0438\u0439 \u0432\u0435\u043a",nextCentury:"\u0421\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u0432\u0435\u043a"},timePickerLocale:{placeholder:"\u0412\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u0432\u0440\u0435\u043c\u044f",rangePlaceholder:["\u0412\u0440\u0435\u043c\u044f \u043d\u0430\u0447\u0430\u043b\u0430","\u0412\u0440\u0435\u043c\u044f \u043e\u043a\u043e\u043d\u0447\u0430\u043d\u0438\u044f"]}},global:{placeholder:"\u041f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430 \u0432\u044b\u0431\u0435\u0440\u0438\u0442\u0435"},Table:{filterTitle:"\u0424\u0438\u043b\u044c\u0442\u0440",filterConfirm:"OK",filterReset:"\u0421\u0431\u0440\u043e\u0441\u0438\u0442\u044c",filterEmptyText:"\u0411\u0435\u0437 \u0444\u0438\u043b\u044c\u0442\u0440\u043e\u0432",emptyText:"\u041d\u0435\u0442 \u0434\u0430\u043d\u043d\u044b\u0445",selectAll:"\u0412\u044b\u0431\u0440\u0430\u0442\u044c \u0432\u0441\u0451",selectInvert:"\u0418\u043d\u0432\u0435\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0432\u044b\u0431\u043e\u0440",selectionAll:"\u0412\u044b\u0431\u0440\u0430\u0442\u044c \u0432\u0441\u0435 \u0434\u0430\u043d\u043d\u044b\u0435",sortTitle:"\u0421\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u043a\u0430",expand:"\u0420\u0430\u0437\u0432\u0435\u0440\u043d\u0443\u0442\u044c \u0441\u0442\u0440\u043e\u043a\u0443",collapse:"\u0421\u0432\u0435\u0440\u043d\u0443\u0442\u044c \u0441\u0442\u0440\u043e\u043a\u0443",triggerDesc:"\u041d\u0430\u0436\u043c\u0438\u0442\u0435 \u0434\u043b\u044f \u0441\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u043a\u0438 \u043f\u043e \u0443\u0431\u044b\u0432\u0430\u043d\u0438\u044e",triggerAsc:"\u041d\u0430\u0436\u043c\u0438\u0442\u0435 \u0434\u043b\u044f \u0441\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u043a\u0438 \u043f\u043e \u0432\u043e\u0437\u0440\u0430\u0441\u0442\u0430\u043d\u0438\u044e",cancelSort:"\u041d\u0430\u0436\u043c\u0438\u0442\u0435, \u0447\u0442\u043e\u0431\u044b \u043e\u0442\u043c\u0435\u043d\u0438\u0442\u044c \u0441\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u043a\u0443"},Modal:{okText:"OK",cancelText:"\u041e\u0442\u043c\u0435\u043d\u0430",justOkText:"OK"},Popconfirm:{okText:"OK",cancelText:"\u041e\u0442\u043c\u0435\u043d\u0430"},Transfer:{titles:["",""],searchPlaceholder:"\u041f\u043e\u0438\u0441\u043a",itemUnit:"\u044d\u043b\u0435\u043c.",itemsUnit:"\u044d\u043b\u0435\u043c.",remove:"\u0423\u0434\u0430\u043b\u0438\u0442\u044c",selectAll:"\u0412\u044b\u0431\u0440\u0430\u0442\u044c \u0432\u0441\u0435 \u0434\u0430\u043d\u043d\u044b\u0435",selectCurrent:"\u0412\u044b\u0431\u0440\u0430\u0442\u044c \u0442\u0435\u043a\u0443\u0449\u0443\u044e \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443",selectInvert:"\u041f\u043e\u043a\u0430\u0437\u0430\u0442\u044c \u0432 \u043e\u0431\u0440\u0430\u0442\u043d\u043e\u043c \u043f\u043e\u0440\u044f\u0434\u043a\u0435",removeAll:"\u0423\u0434\u0430\u043b\u0438\u0442\u044c \u0432\u0441\u0435 \u0434\u0430\u043d\u043d\u044b\u0435",removeCurrent:"\u0423\u0434\u0430\u043b\u0438\u0442\u044c \u0442\u0435\u043a\u0443\u0449\u0443\u044e \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443"},Upload:{uploading:"\u0417\u0430\u0433\u0440\u0443\u0437\u043a\u0430...",removeFile:"\u0423\u0434\u0430\u043b\u0438\u0442\u044c \u0444\u0430\u0439\u043b",uploadError:"\u041f\u0440\u0438 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0435 \u043f\u0440\u043e\u0438\u0437\u043e\u0448\u043b\u0430 \u043e\u0448\u0438\u0431\u043a\u0430",previewFile:"\u041f\u0440\u0435\u0434\u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440 \u0444\u0430\u0439\u043b\u0430",downloadFile:"\u0417\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c \u0444\u0430\u0439\u043b"},Empty:{description:"\u041d\u0435\u0442 \u0434\u0430\u043d\u043d\u044b\u0445"},Icon:{icon:"\u0438\u043a\u043e\u043d\u043a\u0430"},Text:{edit:"\u0420\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c",copy:"\u041a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u0442\u044c",copied:"\u0421\u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u043d\u043e",expand:"\u0420\u0430\u0441\u043a\u0440\u044b\u0442\u044c"},PageHeader:{back:"\u041d\u0430\u0437\u0430\u0434"}}},RnhZ:function(e,t,n){var r={"./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 i(e){var t=s(e);return n(t)}function s(e){if(!n.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}i.keys=function(){return Object.keys(r)},i.resolve=s,e.exports=i,i.id="RnhZ"},RwU8:function(e,t,n){"use strict";n.d(t,"a",function(){return l}),n.d(t,"b",function(){return u});var r=n("nLfN"),i=n("fXoL"),s=n("R1ws");class o{constructor(e,t,n,i){this.triggerElement=e,this.ngZone=t,this.insertExtraNode=n,this.platformId=i,this.waveTransitionDuration=400,this.styleForPseudo=null,this.extraNode=null,this.lastTime=0,this.onClick=e=>{!this.triggerElement||!this.triggerElement.getAttribute||this.triggerElement.getAttribute("disabled")||"INPUT"===e.target.tagName||this.triggerElement.className.indexOf("disabled")>=0||this.fadeOutWave()},this.platform=new r.a(this.platformId),this.clickHandler=this.onClick.bind(this),this.bindTriggerEvent()}get waveAttributeName(){return this.insertExtraNode?"ant-click-animating":"ant-click-animating-without-extra-node"}bindTriggerEvent(){this.platform.isBrowser&&this.ngZone.runOutsideAngular(()=>{this.removeTriggerEvent(),this.triggerElement&&this.triggerElement.addEventListener("click",this.clickHandler,!0)})}removeTriggerEvent(){this.triggerElement&&this.triggerElement.removeEventListener("click",this.clickHandler,!0)}removeStyleAndExtraNode(){this.styleForPseudo&&document.body.contains(this.styleForPseudo)&&(document.body.removeChild(this.styleForPseudo),this.styleForPseudo=null),this.insertExtraNode&&this.triggerElement.contains(this.extraNode)&&this.triggerElement.removeChild(this.extraNode)}destroy(){this.removeTriggerEvent(),this.removeStyleAndExtraNode()}fadeOutWave(){const e=this.triggerElement,t=this.getWaveColor(e);e.setAttribute(this.waveAttributeName,"true"),Date.now()<this.lastTime+this.waveTransitionDuration||(this.isValidColor(t)&&(this.styleForPseudo||(this.styleForPseudo=document.createElement("style")),this.styleForPseudo.innerHTML=`\n      [ant-click-animating-without-extra-node='true']::after, .ant-click-animating-node {\n        --antd-wave-shadow-color: ${t};\n      }`,document.body.appendChild(this.styleForPseudo)),this.insertExtraNode&&(this.extraNode||(this.extraNode=document.createElement("div")),this.extraNode.className="ant-click-animating-node",e.appendChild(this.extraNode)),this.lastTime=Date.now(),this.runTimeoutOutsideZone(()=>{e.removeAttribute(this.waveAttributeName),this.removeStyleAndExtraNode()},this.waveTransitionDuration))}isValidColor(e){return!!e&&"#ffffff"!==e&&"rgb(255, 255, 255)"!==e&&this.isNotGrey(e)&&!/rgba\(\d*, \d*, \d*, 0\)/.test(e)&&"transparent"!==e}isNotGrey(e){const t=e.match(/rgba?\((\d*), (\d*), (\d*)(, [\.\d]*)?\)/);return!(t&&t[1]&&t[2]&&t[3])||!(t[1]===t[2]&&t[2]===t[3])}getWaveColor(e){const t=getComputedStyle(e);return t.getPropertyValue("border-top-color")||t.getPropertyValue("border-color")||t.getPropertyValue("background-color")}runTimeoutOutsideZone(e,t){this.ngZone.runOutsideAngular(()=>setTimeout(e,t))}}const a={disabled:!1},c=new i.E("nz-wave-global-options",{providedIn:"root",factory:function(){return a}});class l{constructor(e,t,n,r,i){this.ngZone=e,this.elementRef=t,this.config=n,this.animationType=r,this.platformId=i,this.nzWaveExtraNode=!1,this.waveDisabled=!1,this.waveDisabled=this.isConfigDisabled()}get disabled(){return this.waveDisabled}get rendererRef(){return this.waveRenderer}isConfigDisabled(){let e=!1;return this.config&&"boolean"==typeof this.config.disabled&&(e=this.config.disabled),"NoopAnimations"===this.animationType&&(e=!0),e}ngOnDestroy(){this.waveRenderer&&this.waveRenderer.destroy()}ngOnInit(){this.renderWaveIfEnabled()}renderWaveIfEnabled(){!this.waveDisabled&&this.elementRef.nativeElement&&(this.waveRenderer=new o(this.elementRef.nativeElement,this.ngZone,this.nzWaveExtraNode,this.platformId))}disable(){this.waveDisabled=!0,this.waveRenderer&&(this.waveRenderer.removeTriggerEvent(),this.waveRenderer.removeStyleAndExtraNode())}enable(){this.waveDisabled=this.isConfigDisabled()||!1,this.waveRenderer&&this.waveRenderer.bindTriggerEvent()}}l.\u0275fac=function(e){return new(e||l)(i.Nc(i.Q),i.Nc(i.v),i.Nc(c,8),i.Nc(s.a,8),i.Nc(i.U))},l.\u0275dir=i.Ic({type:l,selectors:[["","nz-wave",""],["button","nz-button","",3,"nzType","link",3,"nzType","text"]],inputs:{nzWaveExtraNode:"nzWaveExtraNode"},exportAs:["nzWave"]}),l.ctorParameters=()=>[{type:i.Q},{type:i.v},{type:void 0,decorators:[{type:i.R},{type:i.C,args:[c]}]},{type:String,decorators:[{type:i.R},{type:i.C,args:[s.a]}]},{type:void 0,decorators:[{type:i.C,args:[i.U]}]}],l.propDecorators={nzWaveExtraNode:[{type:i.G}]};class u{}u.\u0275mod=i.Lc({type:u}),u.\u0275inj=i.Kc({factory:function(e){return new(e||u)},imports:[[r.b]]}),("undefined"==typeof ngJitMode||ngJitMode)&&i.Bd(u,{declarations:function(){return[l]},imports:function(){return[r.b]},exports:function(){return[l]}})},S6ln:function(e,t,n){!function(e){"use strict";function t(e,t,n){var r=e+" ";switch(n){case"ss":return r+=1===e?"sekunda":2===e||3===e||4===e?"sekunde":"sekundi";case"m":return t?"jedna minuta":"jedne minute";case"mm":return r+=1===e?"minuta":2===e||3===e||4===e?"minute":"minuta";case"h":return t?"jedan sat":"jednog sata";case"hh":return r+=1===e?"sat":2===e||3===e||4===e?"sata":"sati";case"dd":return r+=1===e?"dan":"dana";case"MM":return r+=1===e?"mjesec":2===e||3===e||4===e?"mjeseca":"mjeseci";case"yy":return r+=1===e?"godina":2===e||3===e||4===e?"godine":"godina"}}e.defineLocale("hr",{months:{format:"sije\u010dnja_velja\u010de_o\u017eujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca".split("_"),standalone:"sije\u010danj_velja\u010da_o\u017eujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac".split("_")},monthsShort:"sij._velj._o\u017eu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"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:t,m:t,mm:t,h:t,hh:t,d:"dan",dd:t,M:"mjesec",MM:t,y:"godinu",yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n("wd/R"))},SFxW:function(e,t,n){!function(e){"use strict";var t={1:"-inci",5:"-inci",8:"-inci",70:"-inci",80:"-inci",2:"-nci",7:"-nci",20:"-nci",50:"-nci",3:"-\xfcnc\xfc",4:"-\xfcnc\xfc",100:"-\xfcnc\xfc",6:"-nc\u0131",9:"-uncu",10:"-uncu",30:"-uncu",60:"-\u0131nc\u0131",90:"-\u0131nc\u0131"};e.defineLocale("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(e){return/^(g\xfcnd\xfcz|ax\u015fam)$/.test(e)},meridiem:function(e,t,n){return e<4?"gec\u0259":e<12?"s\u0259h\u0259r":e<17?"g\xfcnd\xfcz":"ax\u015fam"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0131nc\u0131|inci|nci|\xfcnc\xfc|nc\u0131|uncu)/,ordinal:function(e){if(0===e)return e+"-\u0131nc\u0131";var n=e%10,r=e%100-n,i=e>=100?100:null;return e+(t[n]||t[r]||t[i])},week:{dow:1,doy:7}})}(n("wd/R"))},SURy:function(e,t,n){"use strict";n.d(t,"a",function(){return r}),n.d(t,"b",function(){return _}),n.d(t,"c",function(){return y}),n.d(t,"d",function(){return S}),n.d(t,"e",function(){return w});var r,i=n("tk/3"),s=n("fXoL"),o=n("xwJx"),a=n("lJxs"),c=n("mrSG");class l extends o.c{constructor(e,t){super(e,t+"/attributes")}get(...e){return e&&e.length?super.get(...e):this.http.get(this.url).pipe(Object(a.a)(e=>e.map(super.normalize))).toPromise()}}class u extends o.c{constructor(e,t){super(e,t+"/collections"),this.normalize=h}}function h(e){var t;return Object.assign(e,{classConstraints:null!==(t=e.classConstraints)&&void 0!==t?t:[]})}class d extends o.c{constructor(e,t){super(e,t+"/references"),this.normalize=f}get(...e){return e&&e.length?super.get(...e):this.http.get(this.url).pipe(Object(a.a)(e=>e.map(super.normalize))).toPromise()}}function f(e){var t,n;return Object.assign(e,{classConstraints:null!==(t=e.classConstraints)&&void 0!==t?t:[],rootConstraint:null!==(n=e.rootConstraint)&&void 0!==n?n:0})}class p{constructor(e,t){this.http=e,this.url=t+"/classes"}query(){return this.http.get(this.url).pipe(Object(a.a)(e=>e.map(e=>{var{attributes:t,collections:n,references:r}=e;return Object(c.d)(e,["attributes","collections","references"])}))).toPromise()}get(e){return Array.isArray(e)&&!e.length&&Object(o.J)("At least one class Id must be provided"),this.http.get(this.url,{params:Object(o.s)({ids:Array.isArray(e)?Array.from(new Set(e)):[e]})}).pipe(Object(a.a)(e=>e.map(m)),Object(a.a)(t=>{var n;return Array.isArray(e)?t:null!==(n=t[0])&&void 0!==n?n:Object(o.J)(`Class "${e}" is not found`)})).toPromise()}getNames(e){return Array.isArray(e)&&!e.length&&Object(o.J)("At least one class Id must be provided"),this.http.get(this.url,{params:Object(o.s)({names:Array.isArray(e)?Array.from(new Set(e)):[e]})}).pipe(Object(a.a)(e=>e.map(m)),Object(a.a)(t=>{var n;return Array.isArray(e)?t:null!==(n=t[0])&&void 0!==n?n:Object(o.J)(`Class "${e}" is not found`)})).toPromise()}create(e,t){return this.http.post(this.url,e,{params:Object(o.s)({parent:t})}).pipe(Object(a.a)(m)).toPromise()}update(e){var{id:t}=e,n=Object(c.d)(e,["id"]);return this.http.put(`${this.url}/${t}`,n).pipe(Object(a.a)(e=>e.map(m))).toPromise()}delete(...e){return this.http.delete(this.url,{params:Object(o.s)({ids:e})}).pipe(Object(a.a)(({ids:e})=>e)).toPromise()}propertiesOf(...e){return Object(c.a)(this,void 0,void 0,function*(){const[t,n,r]=(yield this.get(e)).reduce(([e,t,n],{attributes:r,collections:i,references:s})=>(e.push(...Object.keys(r)),t.push(...Object.keys(i)),n.push(...Object.keys(s)),[e,t,n]),[[],[],[]]);return{attributes:Array.from(new Set(t)),collections:Array.from(new Set(n)),references:Array.from(new Set(r))}})}}function m(e){var t;return Object.assign(e,{attributes:null!==(t=e.attributes)&&void 0!==t?t:{},collections:n(e.collections,h),references:n(e.references,f)});function n(e,t){return Object.values(null!=e?e:e={}).forEach(()=>t),e}}class g extends o.c{constructor(e,t){super(e,t+"/units")}}function v({core:e}){return e+"/metadata"}class y{constructor(e,t){const n=v(t);this.classes=new p(e,n),this.attributes=new l(e,n),this.references=new d(e,n),this.collections=new u(e,n),this.units=new g(e,n)}}y.\u0275fac=function(e){return new(e||y)(s.Xc(i.c),s.Xc(o.a))},y.\u0275prov=s.Jc({token:y,factory:y.\u0275fac}),y.ctorParameters=()=>[{type:i.c},{type:o.a}];class b extends p{constructor(e,t){super(e,t),this.cache=new Map,this.cacheNames=new Map,this.create=o.K,this.update=o.K,this.delete=o.K,this.query=Object(o.F)(()=>super.query())}get(e){const t=Object.create(null,{get:{get:()=>super.get}});return Object(c.a)(this,void 0,void 0,function*(){const n=Array.isArray(e)?e:[e],r=n.filter(e=>!this.cache.has(e));if(r.length){const e=t.get.call(this,r);r.forEach(t=>this.cache.set(t,e.then(e=>{var n;return null!==(n=e.find(e=>e.id===t))&&void 0!==n?n:Object(o.J)(`Class "${t}" is not found`)}))),yield e}const i=yield Promise.all(n.map(e=>this.cache.get(e)));return Array.isArray(e)?i:i[0]})}getNames(e){const t=Object.create(null,{getNames:{get:()=>super.getNames}});return Object(c.a)(this,void 0,void 0,function*(){const n=Array.isArray(e)?e:[e],r=n.filter(e=>!this.cacheNames.has(e));if(r.length){const e=t.getNames.call(this,r);r.forEach(t=>this.cacheNames.set(t,e.then(e=>{var n;return null!==(n=e.find(e=>e.name===t))&&void 0!==n?n:Object(o.J)(`Class "${t}" is not found`)}))),yield e}const i=yield Promise.all(n.map(e=>this.cacheNames.get(e)));return Array.isArray(e)?i:i[0]})}}class _{constructor(e,t){const n=v(t);this.classes=new b(e,n),this.attributes=new(Object(o.d)(l))(e,n),this.references=new(Object(o.d)(d))(e,n),this.collections=new(Object(o.d)(u))(e,n),this.units=new(Object(o.d)(g))(e,n)}}function w(e){return"string"==typeof e}_.\u0275fac=function(e){return new(e||_)(s.Xc(i.c),s.Xc(o.a))},_.\u0275prov=s.Jc({token:_,factory:_.\u0275fac}),_.ctorParameters=()=>[{type:i.c},{type:o.a}],function(e){e[e.Integer=1]="Integer",e[e.Double=2]="Double",e[e.Decimal=3]="Decimal",e[e.Boolean=4]="Boolean",e[e.DateTime=5]="DateTime",e[e.DateTimeUTC=6]="DateTimeUTC",e[e.String=9]="String",e[e.Binary=11]="Binary",e[e.JSON=12]="JSON"}(r||(r={}));r.String,r.Integer,r.Double,r.Decimal,r.DateTimeUTC,r.DateTime,r.Binary,r.Boolean,r.JSON;var S;!function(e){e[e.OneToOne=1]="OneToOne",e[e.OneToMany=2]="OneToMany"}(S||(S={}))},SatO:function(e,t,n){!function(e){"use strict";e.defineLocale("zh-hk",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u51cc\u6668"===t||"\u65e9\u4e0a"===t||"\u4e0a\u5348"===t?e:"\u4e2d\u5348"===t?e>=11?e:e+12:"\u4e0b\u5348"===t||"\u665a\u4e0a"===t?e+12:void 0},meridiem:function(e,t,n){var r=100*e+t;return r<600?"\u51cc\u6668":r<900?"\u65e9\u4e0a":r<1200?"\u4e0a\u5348":1200===r?"\u4e2d\u5348":r<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929]LT",nextDay:"[\u660e\u5929]LT",nextWeek:"[\u4e0b]ddddLT",lastDay:"[\u6628\u5929]LT",lastWeek:"[\u4e0a]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"\u65e5";case"M":return e+"\u6708";case"w":case"W":return e+"\u9031";default:return e}},relativeTime:{future:"%s\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"))},"Se/U":function(e,t,n){"use strict";n.d(t,"a",function(){return a});var r=n("U8pU"),i=n("jIYg");function s(e){return Object(i.a)(1,arguments),e instanceof Date||"object"===Object(r.a)(e)&&"[object Date]"===Object.prototype.toString.call(e)}var o=n("/Tr7");function a(e){if(Object(i.a)(1,arguments),!s(e)&&"number"!=typeof e)return!1;var t=Object(o.a)(e);return!isNaN(Number(t))}},SeVD:function(e,t,n){"use strict";n.d(t,"a",function(){return u});var r=n("ngJS"),i=n("NJ4a");var s=n("Lhse");var o=n("kJWO");var a=n("I55L"),c=n("c2HN"),l=n("XoHu");const u=e=>{if(e&&"function"==typeof e[o.a])return u=e,e=>{const t=u[o.a]();if("function"!=typeof t.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return t.subscribe(e)};if(Object(a.a)(e))return Object(r.a)(e);if(Object(c.a)(e))return n=e,e=>(n.then(t=>{e.closed||(e.next(t),e.complete())},t=>e.error(t)).then(null,i.a),e);if(e&&"function"==typeof e[s.a])return t=e,e=>{const n=t[s.a]();for(;;){let t;try{t=n.next()}catch(r){return e.error(r),e}if(t.done){e.complete();break}if(e.next(t.value),e.closed)break}return"function"==typeof n.return&&e.add(()=>{n.return&&n.return()}),e};{const t=Object(l.a)(e)?"an invalid object":`'${e}'`;throw new TypeError(`You provided ${t} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`)}var t,n,u}},SpAZ:function(e,t,n){"use strict";function r(e){return e}n.d(t,"a",function(){return r})},SxV6:function(e,t,n){"use strict";n.d(t,"a",function(){return l});var r=n("sVev"),i=n("pLZG"),s=n("IzEk"),o=n("xbPD"),a=n("XDbj"),c=n("SpAZ");function l(e,t){const n=arguments.length>=2;return l=>l.pipe(e?Object(i.a)((t,n)=>e(t,n,l)):c.a,Object(s.a)(1),n?Object(o.a)(t):Object(a.a)(()=>new r.a))}},Szzx:function(e,t,n){"use strict";n.d(t,"a",function(){return c});var r=n("/Tr7"),i=n("jIYg"),s=n("1vjI"),o=n("/h9T"),a=n("vq9N");function c(e,t){var n,c,l,u,h,d,f,p;Object(i.a)(1,arguments);var m=Object(r.a)(e),g=m.getUTCFullYear(),v=Object(a.a)(),y=Object(o.a)(null!==(n=null!==(c=null!==(l=null!==(u=null==t?void 0:t.firstWeekContainsDate)&&void 0!==u?u:null==t||null===(h=t.locale)||void 0===h||null===(d=h.options)||void 0===d?void 0:d.firstWeekContainsDate)&&void 0!==l?l:v.firstWeekContainsDate)&&void 0!==c?c:null===(f=v.locale)||void 0===f||null===(p=f.options)||void 0===p?void 0:p.firstWeekContainsDate)&&void 0!==n?n:1);if(!(y>=1&&y<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var b=new Date(0);b.setUTCFullYear(g+1,0,y),b.setUTCHours(0,0,0,0);var _=Object(s.a)(b,t),w=new Date(0);w.setUTCFullYear(g,0,y),w.setUTCHours(0,0,0,0);var S=Object(s.a)(w,t);return m.getTime()>=_.getTime()?g+1:m.getTime()>=S.getTime()?g:g-1}},T5Ll:function(e,t,n){"use strict";n.d(t,"a",function(){return c});var r,i=n("xwJx"),s=n("mjQ1"),o=n("5puH"),a=n("tEnP");!function(e){e[e.Initiator=39911224]="Initiator"}(r||(r={}));const c={class:"d3476306-b2fe-4ae1-accf-c8488cd3df58",root:o.e.root,collection:"0e9ca845-9e42-4cf8-9c65-599d74abe7f3",properties:{created:i.w.entities.attributes.created,name:i.w.entities.attributes.name,role:{id:"a1eea911-c754-426b-bb03-36082819d735",map:s.b.option},functionalRoles:{id:"28b54834-236b-48aa-92e5-fee166a70e99",map:s.b.option},company:{id:"9296bcb2-2574-4adf-a6cf-c8807bc70b9c",map:s.b.option},profile:{id:a.c,map:s.b.option}}}},TDVj:function(e,t,n){"use strict";n.d(t,"a",function(){return s});var r=n("xwJx"),i=n("mjQ1");const s={class:"5ac9fe94-aa5a-4ca7-a2f0-9c9805faeb96",root:n("5puH").e.root,collection:"0db5d5e9-5e98-49da-a097-1a56e9e55a3f",properties:{created:r.w.entities.attributes.created,name:r.w.entities.attributes.name,startDate:"8e050583-06a1-4123-904d-28c613312660",endDate:"ddfd1314-0439-4fd6-861c-b8bc3a92d826",comment:"a1187c5d-ff92-4a3d-8785-c915ceba7473",commentText:"653fe9fc-347b-4cdd-aa11-6538cf0fab01",note:"75ed1c97-a242-4d9f-bbaf-8aa196f3a32f",statusAgreement:{id:"ffc4d8d7-ad06-43a1-8aa8-b85e201a61fa",map:i.b.option},user:{id:"eb697577-df50-4e09-b23f-d57a6335b2ea",map:i.b.option},author:{id:"200dde38-772c-42d2-a3cb-fcd28d96e2bf",map:i.b.option},agreementStage:{id:"e7282057-cb80-4725-9225-46026faf2ce8",map:i.b.option},remark:{id:"23c42612-bcaa-439b-ac30-6e2fc7fe980f",map:i.b.option},task:{id:"1d369817-8912-47c8-bb95-2cf204ecd32f",map:i.b.option}}}},Tcg7:function(e,t,n){"use strict";n.d(t,"a",function(){return s});var r=n("xwJx"),i=n("mjQ1");const s={class:"8b489db3-e39e-42f2-99c8-6581beb6ea37",root:r.w.entities.root.id,collection:r.w.entities.collection,properties:{created:r.w.entities.attributes.created,modified:r.w.entities.attributes.modified,name:r.w.entities.attributes.name,filesCount:"e044e73c-3cb4-4c53-aaab-95b696e752f0",filesSizeStr:"41ef844a-d741-41bf-852a-096f7ddbee45",filesSize:"16a218ae-18d0-4371-a158-44b6beb2e9f2",deletionDate:"0326d25f-61c5-483f-af60-9605021d3add",status:{id:"550b4307-b2dd-4cb8-a165-41b1118d2a9e",map:i.b.option},removedBy:{id:"d5e67b6c-ee2d-48cc-843a-0e76c68b8aee",map:i.b.option}}}},TnmX:function(e,t,n){"use strict";n.d(t,"a",function(){return o});var r=n("U8pU"),i=n("/Tr7"),s=n("jIYg");function o(e){var t,n;if(Object(s.a)(1,arguments),e&&"function"==typeof e.forEach)t=e;else{if("object"!==Object(r.a)(e)||null===e)return new Date(NaN);t=Array.prototype.slice.call(e)}return t.forEach(function(e){var t=Object(i.a)(e);(void 0===n||n<t||isNaN(Number(t)))&&(n=t)}),n||new Date(NaN)}},U8pU:function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n.d(t,"a",function(){return r})},UDhR:function(e,t,n){!function(e){"use strict";e.defineLocale("id",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_Sep_Okt_Nov_Des".split("_"),weekdays:"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),weekdaysShort:"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|siang|sore|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"siang"===t?e>=11?e:e+12:"sore"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"pagi":e<15?"siang":e<19?"sore":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Besok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kemarin pukul] LT",lastWeek:"dddd [lalu pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",ss:"%d detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:0,doy:6}})}(n("wd/R"))},ULKQ:function(e,t,n){"use strict";n.d(t,"a",function(){return v});var r=n("mrSG"),i=n("fXoL"),s=n("mjQ1"),o=n("SURy"),a=n("p/QF"),c=n("2kdd"),l=n("Tcg7"),u=n("tk/3"),h=n("Cfvw"),d=n("lJxs"),f=n("IzEk"),p=n("eIep"),m=n("Jy0u"),g=n("xwJx");let v=class extends a.a{constructor(e,t,n){super(e,t,l.a),this.http=n}create(e,t){return Object(r.a)(this,void 0,void 0,function*(){const n=yield this.class,r=Object(s.h)(Object.assign({},t),this.schema,n);return yield this.entities.create(r,e,this.schema.collection)})}query(e,t){return super.query(e,t,[{[Object(c.c)(this.schema.properties.name)]:"asc"}],!0)}importPackage(e,t,n){const r=sessionStorage.getItem("access_token"),i=new u.f({Authorization:"Bearer "+r});return this.http.post("/api/v1/import/package",{zipContentId:e,excelContentId:t,parentId:n},{headers:i})}getCollection(e,t=!1){const n=Object.create(null,{getCollection:{get:()=>super.getCollection}});return Object(r.a)(this,void 0,void 0,function*(){const r=yield n.getCollection.call(this,e),i=r.items.filter(e=>{var n,r;return(t?"\u0423\u0434\u0430\u043b\u0435\u043d"===(null===(n=e.status)||void 0===n?void 0:n.name):"\u0423\u0434\u0430\u043b\u0435\u043d"!==(null===(r=e.status)||void 0===r?void 0:r.name))||e.isDoc});return{skipped:r.skipped,items:i,total:i.length}})}checkItemForRestore(e,t,n,r){return this.entities.analytic.query({where:Object(c.a)([Object(m.b)(t),Object(m.e)(e),{[Object(c.c)(Object(s.e)(l.a.properties.name))]:{startsWith:n}}]),select:"*"},{skip:0,take:100}).pipe(Object(d.a)(e=>e.items.filter(e=>!e.links||(console.log(r),console.log(e.links),console.log(Object.keys(e.links).some(t=>e.links[t][0].properties.id===r)),!Object.keys(e.links).some(t=>e.links[t][0].id===r)))))}createPathOfFolder(e,t,n){return Object(r.a)(this,void 0,void 0,function*(){const r=yield this.entities.get(e,{attributes:[g.w.entities.attributes.name]});n.has(r.id)||(n=this.setToCash(r,n));const i=Object(s.c)(r.path);i.push(e);const o=i.findIndex(e=>e===t),a=i.splice(o+1),l=a.filter(e=>!n.has(e));if(l.length){(yield this.entities.analytic.query({where:Object(c.b)(l.map(e=>({id:{eq:e}}))),select:[Object(c.c)(g.w.entities.attributes.name)]},{skip:0,take:l.length}).pipe(Object(f.a)(1)).toPromise()).items.forEach(e=>n=this.setToCash(e,n))}return{cache:n,path:a.map(e=>n.get(e))}})}setToCash(e,t){const n=e.properties[g.w.entities.attributes.name];return"7a3c4d6d-bcd9-4464-b9b5-fb7ad630bb94"===e.classId&&"\u0425\u0440\u0430\u043d\u0438\u043b\u0438\u0449\u0435"===e.properties[g.w.entities.attributes.name]?t.set(e.id,Object.assign(Object.assign({},e),{name:"\u0424\u0430\u0439\u043b\u044b \u043f\u0440\u043e\u0435\u043a\u0442\u0430",title:"\u0424\u0430\u0439\u043b\u044b \u043f\u0440\u043e\u0435\u043a\u0442\u0430"})):t.set(e.id,Object.assign(Object.assign({},e),{title:n,name:n.length>40?n.substr(0,40)+"...":n})),t}getByIdWithPath(e){return Object(h.a)(this.class).pipe(Object(d.a)(e=>Object(s.d)(this.schema,e)),Object(p.a)(t=>this.entities.get(e,t)),Object(d.a)(e=>Object.assign(Object.assign({},Object(s.j)(e,this.schema)),{path:e.path})))}};v.ctorParameters=()=>[{type:s.a},{type:o.c},{type:u.c}],v=Object(r.b)([Object(i.D)({providedIn:"root"})],v)},USCx:function(e,t,n){!function(e){"use strict";var t=["Ean\xe1ir","Feabhra","M\xe1rta","Aibre\xe1n","Bealtaine","Meitheamh","I\xfail","L\xfanasa","Me\xe1n F\xf3mhair","Deireadh F\xf3mhair","Samhain","Nollaig"],n=["Ean","Feabh","M\xe1rt","Aib","Beal","Meith","I\xfail","L\xfan","M.F.","D.F.","Samh","Noll"],r=["D\xe9 Domhnaigh","D\xe9 Luain","D\xe9 M\xe1irt","D\xe9 C\xe9adaoin","D\xe9ardaoin","D\xe9 hAoine","D\xe9 Sathairn"],i=["Domh","Luan","M\xe1irt","C\xe9ad","D\xe9ar","Aoine","Sath"],s=["Do","Lu","M\xe1","C\xe9","D\xe9","A","Sa"];e.defineLocale("ga",{months:t,monthsShort:n,monthsParseExact:!0,weekdays:r,weekdaysShort:i,weekdaysMin:s,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(e){return e+(1===e?"d":e%10==2?"na":"mh")},week:{dow:1,doy:4}})}(n("wd/R"))},UXJo:function(e,t,n){"use strict";n.d(t,"a",function(){return o}),n.d(t,"b",function(){return l});var r=n("ofXK"),i=n("fXoL");class s{constructor(e,t){this._document=t;const n=this._textarea=this._document.createElement("textarea"),r=n.style;r.position="fixed",r.top=r.opacity="0",r.left="-999em",n.setAttribute("aria-hidden","true"),n.value=e,this._document.body.appendChild(n)}copy(){const e=this._textarea;let t=!1;try{if(e){const n=this._document.activeElement;e.select(),e.setSelectionRange(0,e.value.length),t=this._document.execCommand("copy"),n&&n.focus()}}catch(n){}return t}destroy(){const e=this._textarea;e&&(e.parentNode&&e.parentNode.removeChild(e),this._textarea=void 0)}}class o{constructor(e){this._document=e}copy(e){const t=this.beginCopy(e),n=t.copy();return t.destroy(),n}beginCopy(e){return new s(e,this._document)}}o.\u0275fac=function(e){return new(e||o)(i.Xc(r.d))},o.\u0275prov=Object(i.Jc)({factory:function(){return new o(Object(i.Xc)(r.d))},token:o,providedIn:"root"}),o.ctorParameters=()=>[{type:void 0,decorators:[{type:i.C,args:[r.d]}]}];const a=new i.E("CKD_COPY_TO_CLIPBOARD_CONFIG");class c{constructor(e,t,n){this._clipboard=e,this._ngZone=t,this.text="",this.attempts=1,this.copied=new i.x,this._pending=new Set,n&&null!=n.attempts&&(this.attempts=n.attempts)}copy(e=this.attempts){if(e>1){let t=e;const n=this._clipboard.beginCopy(this.text);this._pending.add(n);const r=()=>{const e=n.copy();e||!--t||this._destroyed?(this._currentTimeout=null,this._pending.delete(n),n.destroy(),this.copied.emit(e)):this._currentTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(r,1))};r()}else this.copied.emit(this._clipboard.copy(this.text))}ngOnDestroy(){this._currentTimeout&&clearTimeout(this._currentTimeout),this._pending.forEach(e=>e.destroy()),this._pending.clear(),this._destroyed=!0}}c.\u0275fac=function(e){return new(e||c)(i.Nc(o),i.Nc(i.Q),i.Nc(a,8))},c.\u0275dir=i.Ic({type:c,selectors:[["","cdkCopyToClipboard",""]],hostBindings:function(e,t){1&e&&i.ad("click",function(){return t.copy()})},inputs:{text:["cdkCopyToClipboard","text"],attempts:["cdkCopyToClipboardAttempts","attempts"]},outputs:{copied:"cdkCopyToClipboardCopied"}}),c.ctorParameters=()=>[{type:o},{type:i.Q},{type:void 0,decorators:[{type:i.R},{type:i.C,args:[a]}]}],c.propDecorators={text:[{type:i.G,args:["cdkCopyToClipboard"]}],attempts:[{type:i.G,args:["cdkCopyToClipboardAttempts"]}],copied:[{type:i.S,args:["cdkCopyToClipboardCopied"]}]};class l{}l.\u0275mod=i.Lc({type:l}),l.\u0275inj=i.Kc({factory:function(e){return new(e||l)}}),("undefined"==typeof ngJitMode||ngJitMode)&&i.Bd(l,{declarations:[c],exports:[c]})},UXun:function(e,t,n){"use strict";n.d(t,"a",function(){return i});var r=n("jtHE");function i(e,t,n){let i;return i=e&&"object"==typeof e?e:{bufferSize:e,windowTime:t,refCount:!1,scheduler:n},e=>e.lift(function({bufferSize:e=Number.POSITIVE_INFINITY,windowTime:t=Number.POSITIVE_INFINITY,refCount:n,scheduler:i}){let s,o,a=0,c=!1,l=!1;return function(u){let h;a++,!s||c?(c=!1,s=new r.a(e,t,i),h=s.subscribe(this),o=u.subscribe({next(e){s.next(e)},error(e){c=!0,s.error(e)},complete(){l=!0,o=void 0,s.complete()}}),l&&(o=void 0)):h=s.subscribe(this),this.add(()=>{a--,h.unsubscribe(),h=void 0,o&&!l&&n&&0===a&&(o.unsubscribe(),o=void 0,s=void 0)})}}(i))}},UpQW:function(e,t,n){!function(e){"use strict";var t=["\u062c\u0646\u0648\u0631\u06cc","\u0641\u0631\u0648\u0631\u06cc","\u0645\u0627\u0631\u0686","\u0627\u067e\u0631\u06cc\u0644","\u0645\u0626\u06cc","\u062c\u0648\u0646","\u062c\u0648\u0644\u0627\u0626\u06cc","\u0627\u06af\u0633\u062a","\u0633\u062a\u0645\u0628\u0631","\u0627\u06a9\u062a\u0648\u0628\u0631","\u0646\u0648\u0645\u0628\u0631","\u062f\u0633\u0645\u0628\u0631"],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"];e.defineLocale("ur",{months:t,monthsShort:t,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(e){return"\u0634\u0627\u0645"===e},meridiem:function(e,t,n){return e<12?"\u0635\u0628\u062d":"\u0634\u0627\u0645"},calendar:{sameDay:"[\u0622\u062c \u0628\u0648\u0642\u062a] LT",nextDay:"[\u06a9\u0644 \u0628\u0648\u0642\u062a] LT",nextWeek:"dddd [\u0628\u0648\u0642\u062a] LT",lastDay:"[\u06af\u0630\u0634\u062a\u06c1 \u0631\u0648\u0632 \u0628\u0648\u0642\u062a] LT",lastWeek:"[\u06af\u0630\u0634\u062a\u06c1] dddd [\u0628\u0648\u0642\u062a] LT",sameElse:"L"},relativeTime:{future:"%s \u0628\u0639\u062f",past:"%s \u0642\u0628\u0644",s:"\u0686\u0646\u062f \u0633\u06cc\u06a9\u0646\u0688",ss:"%d \u0633\u06cc\u06a9\u0646\u0688",m:"\u0627\u06cc\u06a9 \u0645\u0646\u0679",mm:"%d \u0645\u0646\u0679",h:"\u0627\u06cc\u06a9 \u06af\u06be\u0646\u0679\u06c1",hh:"%d \u06af\u06be\u0646\u0679\u06d2",d:"\u0627\u06cc\u06a9 \u062f\u0646",dd:"%d \u062f\u0646",M:"\u0627\u06cc\u06a9 \u0645\u0627\u06c1",MM:"%d \u0645\u0627\u06c1",y:"\u0627\u06cc\u06a9 \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(e){return e.replace(/\u060c/g,",")},postformat:function(e){return e.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(n("wd/R"))},"Upo+":function(e,t,n){"use strict";n.d(t,"a",function(){return i});var r=n("xwJx");const i={class:"962c0c0e-1fbb-43b4-8bd6-7df8aab6af27",root:r.w.entities.root.id,collection:r.w.entities.collection,properties:Object.assign(Object.assign({},r.w.entities.attributes),{volume:"776cfa6b-ac7f-4d01-af89-281d5ef4bfd6",dateFinished:"9aa3862e-463c-448b-a663-bbd301f3c487",default:"0a44f14b-9364-4fde-b8ef-b8f9c6b22a83"})}},Ur1D:function(e,t,n){!function(e){"use strict";e.defineLocale("ss",{months:"Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split("_"),monthsShort:"Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo".split("_"),weekdays:"Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo".split("_"),weekdaysShort:"Lis_Umb_Lsb_Les_Lsi_Lsh_Umg".split("_"),weekdaysMin:"Li_Us_Lb_Lt_Ls_Lh_Ug".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Namuhla nga] LT",nextDay:"[Kusasa nga] LT",nextWeek:"dddd [nga] LT",lastDay:"[Itolo nga] LT",lastWeek:"dddd [leliphelile] [nga] LT",sameElse:"L"},relativeTime:{future:"nga %s",past:"wenteka nga %s",s:"emizuzwana lomcane",ss:"%d mzuzwana",m:"umzuzu",mm:"%d emizuzu",h:"lihora",hh:"%d emahora",d:"lilanga",dd:"%d emalanga",M:"inyanga",MM:"%d tinyanga",y:"umnyaka",yy:"%d iminyaka"},meridiemParse:/ekuseni|emini|entsambama|ebusuku/,meridiem:function(e,t,n){return e<11?"ekuseni":e<15?"emini":e<19?"entsambama":"ebusuku"},meridiemHour:function(e,t){return 12===e&&(e=0),"ekuseni"===t?e:"emini"===t?e>=11?e:e+12:"entsambama"===t||"ebusuku"===t?0===e?0:e+12:void 0},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}})}(n("wd/R"))},V2x9:function(e,t,n){!function(e){"use strict";e.defineLocale("tet",{months:"Janeiru_Fevereiru_Marsu_Abril_Maiu_Ju\xf1u_Jullu_Agustu_Setembru_Outubru_Novembru_Dezembru".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingu_Segunda_Tersa_Kuarta_Kinta_Sesta_Sabadu".split("_"),weekdaysShort:"Dom_Seg_Ters_Kua_Kint_Sest_Sab".split("_"),weekdaysMin:"Do_Seg_Te_Ku_Ki_Ses_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Ohin iha] LT",nextDay:"[Aban iha] LT",nextWeek:"dddd [iha] LT",lastDay:"[Horiseik iha] LT",lastWeek:"dddd [semana kotuk] [iha] LT",sameElse:"L"},relativeTime:{future:"iha %s",past:"%s liuba",s:"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(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n("wd/R"))},VHmI:function(e,t,n){"use strict";n.d(t,"a",function(){return o}),n.d(t,"b",function(){return a});var r=n("xwJx"),i=n("mjQ1"),s=n("5puH");const o="0db5d5e9-5e98-49da-a097-1a56e9e55a3f",a={class:"ec79df97-63dc-4619-a588-4b46924cf5a8",root:s.e.root,collection:"415e9bc5-b9f5-4840-9623-e609d1da253c",properties:{created:r.w.entities.attributes.created,name:r.w.entities.attributes.name,taskType:{id:"f4d718b7-f631-47b3-bd0b-f78a924bae3c",map:i.b.option}}}},VRyK:function(e,t,n){"use strict";n.d(t,"a",function(){return a});var r=n("HDdC"),i=n("z+Ro"),s=n("bHdf"),o=n("yCtX");function a(...e){let t=Number.POSITIVE_INFINITY,n=null,a=e[e.length-1];return Object(i.a)(a)?(n=e.pop(),e.length>1&&"number"==typeof e[e.length-1]&&(t=e.pop())):"number"==typeof a&&(t=e.pop()),null===n&&1===e.length&&e[0]instanceof r.a?e[0]:Object(s.a)(t)(Object(o.a)(e,n))}},Vclq:function(e,t,n){!function(e){"use strict";var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),r=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],i=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;e.defineLocale("es-us",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,r){return e?/-MMM-/.test(r)?n[e.month()]:t[e.month()]:t},monthsRegex:i,monthsShortRegex:i,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:r,longMonthsParse:r,shortMonthsParse:r,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"))},Vsj3:function(e,t,n){"use strict";n.d(t,"a",function(){return r}),n.d(t,"b",function(){return C});var r,i=n("mrSG"),s=n("fXoL"),o=n("lkBS"),a=n("mjQ1"),c=n("SURy"),l=n("2kdd"),u=n("LRne"),h=n("Cfvw"),d=n("EY2u"),f=n("cp0P"),p=n("eIep"),m=n("lJxs"),g=n("pLZG"),v=n("Jy0u"),y=n("Jzx+"),b=n("yBpS"),_=n("Jn2R"),w=n("kOwv"),S=n("RUSI"),x=n("TDVj"),O=n("VHmI"),k=n("rgsH");!function(e){e.OnAgreement="\u041d\u0430 \u0441\u043e\u0433\u043b\u0430\u0441\u043e\u0432\u0430\u043d\u0438\u0435",e.Custom="\u041f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u0441\u043a\u0430\u044f",e.Remark="\u041d\u0430 \u0437\u0430\u043c\u0435\u0447\u0430\u043d\u0438\u0435"}(r||(r={}));let C=class{constructor(e,t,n,r){this.entities=e,this.metadata=t,this.directoriesService=n,this.content=r,this.empty=Object(u.a)({skipped:0,items:[],total:0}),this.taskTypeClass=this.metadata.classes.getNames("\u0422\u0438\u043f \u0437\u0430\u0434\u0430\u0447\u0438"),this.documentTaskClass=this.metadata.classes.getNames("\u0417\u0430\u0434\u0430\u0447\u0430 \u043f\u043e \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u043c"),this.attachmentClass=this.metadata.classes.getNames("\u0412\u043b\u043e\u0436\u0435\u043d\u0438\u044f")}getTaskType(e,t,n=!0){return Object(h.a)(this.taskTypeClass).pipe(Object(p.a)(t=>Object(h.a)(this.entities.collections(e,S.c).query(Object.assign({skip:0,take:1e3},Object(a.d)(O.b,t))))),Object(m.a)(({items:e})=>e.map(e=>Object(a.j)(e,O.b)).filter(e=>t.includes(e.taskType.name))),Object(p.a)(r=>r.length?Object(u.a)(r):n?this.createTask(e,t[0]):d.a))}createTask(e,t){return Object(f.a)([Object(h.a)(this.taskTypeClass),this.directoriesService.taskType]).pipe(Object(p.a)(([n,r])=>{if(null==r?void 0:r.length){const i=r.find(e=>e.name===t),s=Object(a.h)({taskType:i},O.b,n);return Object(h.a)(this.entities.create(s,e,S.c)).pipe(Object(m.a)(e=>[{id:e,taskType:i}]))}return Object(u.a)([])}))}query(e,t,n,r,i){return i.length?Object(f.a)({status:this.directoriesService.approvalStatus,klass:Object(h.a)(this.metadata.classes.getNames("\u0417\u0430\u0434\u0430\u0447\u0430 \u043f\u043e \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u043c"))}).pipe(Object(p.a)(({status:s,klass:o})=>{const c=this.whereCondition(e,i,n,r,s);return c.length?this.entities.analytic.query({where:Object(l.a)(c),select:Object(a.f)(x.a,o,"name","endDate","statusAgreement","user","created","author")},t):this.empty}),Object(m.a)(e=>({skipped:e.skipped,total:e.total,items:e.items.map(e=>{var t;const n=i.find(t=>e.path.includes(t.id.toString())),r=Object(a.j)(e,x.a);return r.taskType=null===(t=null==n?void 0:n.taskType)||void 0===t?void 0:t.name,r})}))):this.empty}getById(e){let t,n;return Object(h.a)(this.metadata.classes.getNames(["\u0417\u0430\u0434\u0430\u0447\u0430 \u043f\u043e \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u043c","\u041a\u043e\u043c\u043f\u043b\u0435\u043a\u0442 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u043e\u0432"])).pipe(Object(p.a)(n=>(t=n[1],Object(h.a)(this.entities.get(e,Object(a.d)(x.a,n[0]))))),Object(m.a)(e=>(n=Object(a.j)(e,x.a),n)),Object(p.a)(e=>(null==e?void 0:e.agreementStage)?Object(h.a)(this.entities.get(e.agreementStage.id)):Object(u.a)(null)),Object(p.a)(e=>{if(e){const n=Object(a.c)(e.path);return Object(h.a)(this.entities.get(n[n.length-1],Object(a.d)(S.a,t)))}return Object(u.a)(null)}),Object(m.a)(e=>({taskOnDocs:n,setDocuments:e?Object(a.j)(e,S.a):e})))}getTaskById(e){return Object(i.a)(this,void 0,void 0,function*(){const t=yield this.metadata.classes.getNames("\u0417\u0430\u0434\u0430\u0447\u0430 \u043f\u043e \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u043c");return Object(a.j)(yield this.entities.get(e,Object(a.d)(x.a,t)),x.a)})}getTasksCount(e,t,n){return this.directoriesService.approvalStatus.pipe(Object(p.a)(r=>{const i=this.whereCondition(e,t,n,"",r);return i.length?this.entities.analytic.query({where:Object(l.a)(i),select:[]},{skip:0,take:0}):Object(u.a)({skipped:0,items:[],total:0})}))}whereCondition(e,t,n,i,s){const o=[];if(i&&o.push(function(e){return{[Object(l.c)(Object(a.e)(x.a.properties.name))]:{startsWith:"%"+e}}}(i)),!t.length)return o;if(n===_.a.Closed)o.push(Object(v.e)(...t.map(e=>e.id))),o.push(c(s,n)),o.push(Object(l.b)([h(e.id),u(e.id)]));else if(n===_.a.Inbox)o.push(Object(v.e)(...t.map(e=>e.id))),o.push(u(e.id));else if(n===_.a.Outgoing)o.push(Object(v.e)(...t.map(e=>e.id))),o.push(h(e.id));else if(n===_.a.Rejected)o.push(Object(v.e)(...t.map(e=>e.id))),o.push(Object(l.b)([u(e.id),h(e.id)])),o.push(c(s,n));else if(n===_.a.OnRemarks){const n=t.find(e=>e.taskType.name===r.Remark);o.push(Object(v.e)(n.id)),o.push(u(e.id))}else if(n===_.a.Overdue)o.push(Object(v.e)(...t.map(e=>e.id))),o.push(Object(l.a)([u(e.id),d("lt",new Date((new Date).setHours(0,0,0,0)))]));else if(n===_.a.ExpireToday)o.push(Object(v.e)(...t.map(e=>e.id))),o.push(Object(l.a)([u(e.id),Object(l.a)([d("le"),d("ge",new Date((new Date).setHours(0,0,0,0)))])]));else{const n=t.filter(e=>e.taskType.name===r.OnAgreement);if(!n.length)return o;o.push(Object(v.e)(...n.map(e=>e.id))),o.push(u(e.id))}return o.push(c(s,n)),o.push(Object(v.b)(x.a.class)),o;function c(e,t){let n=(e||[]).find(e=>y.b.Opened===e.name);return t===_.a.Closed?n=(e||[]).find(e=>y.b.Finished===e.name):t===_.a.Rejected&&(n=(e||[]).find(e=>y.b.Rejected===e.name)),{[Object(l.h)(Object(a.e)(x.a.properties.statusAgreement))]:{exists:{id:{eq:n.id}}}}}function u(e){return{[Object(l.h)(Object(a.e)(x.a.properties.user))]:{exists:{id:{eq:e}}}}}function h(e){return{[Object(l.h)(Object(a.e)(x.a.properties.author))]:{exists:{id:{eq:e}}}}}function d(e,t=new Date){return{[Object(l.c)(Object(a.e)(x.a.properties.endDate))]:{[e]:t}}}}saveTask(e,t,n,r,s){return Object(i.a)(this,void 0,void 0,function*(){const i=yield this.documentTaskClass,c=yield this.directoriesService.approvalStatus.toPromise();if(c){const l=c.find(e=>e.name===y.b.Opened),u={name:t.name,startDate:new Date,user:{id:t.user,name:""},author:{id:e.id,name:e.name},statusAgreement:{id:l.id,name:y.b.Opened}};t.endDate&&(u.endDate=new Date(t.endDate)),t.desc&&(u.comment=t.desc);const h=Object(a.h)(u,x.a,i),d=yield this.entities.create(h,n,O.a);for(let e of s){const n=yield this.content.upload(e).pipe(Object(g.a)(e=>!Object(o.e)(e))).toPromise(),r=yield this.taskTypeClass,i=Object(a.h)({file:n,name:t.name},w.c,r);yield this.entities.collections(d,w.a).create(i)}for(let e of r)yield this.addAttachment(d,e.file,t.name);return d}})}getAttachments(e){return Object(h.a)(this.attachmentClass).pipe(Object(p.a)(t=>this.entities.collections(e,w.a).query(Object.assign({skip:0,take:1e3},Object(a.d)(w.c,t)))),Object(m.a)(({items:e})=>e.map(e=>Object(a.j)(e,w.c))))}getAttachmentsForResultion(e){return Object(i.a)(this,void 0,void 0,function*(){const t=yield this.attachmentClass,{items:n}=yield this.entities.collections(e,w.b).query(Object.assign({skip:0,take:1e3},Object(a.d)(w.c,t)));return n.map(e=>Object(a.j)(e,w.c))})}updateTask(e="",t,n){return Object(i.a)(this,void 0,void 0,function*(){const r=yield this.documentTaskClass,i=yield this.directoriesService.approvalStatus.toPromise();if(i){let s=i.find(e=>e.name===y.b.Finished),o={statusAgreement:{id:s.id,name:""},endDate:new Date},c={statusAgreement:t.statusAgreement,endDate:t.endDate};n===b.a.Cancel&&(s=i.find(e=>e.name===y.b.Rejected),o={statusAgreement:{id:s.id,name:""},endDate:new Date},c={statusAgreement:t.statusAgreement,endDate:t.endDate}),e&&(o.commentText=e);const l=Object(a.i)(o,c,x.a,r);yield this.entities.update(Object.assign(Object.assign({},l),{id:t.id}))}})}createRemarkTask(e,t){return Object(i.a)(this,void 0,void 0,function*(){const n=yield this.documentTaskClass,r=Object(a.h)(e,x.a,n);return yield this.entities.create(r,t,O.a)})}getByRemarkRef(e,t=!1,n=1){return Object(f.a)([Object(h.a)(this.documentTaskClass),this.directoriesService.approvalStatus]).pipe(Object(p.a)(([r,i])=>{const s=[Object(v.b)(r.id),{[Object(l.h)(Object(a.e)(x.a.properties.remark))]:{exists:{id:{eq:e}}}}];if(t){const e=(i||[]).find(e=>e.name===y.b.Finished);e&&s.push({[Object(l.h)(Object(a.e)(x.a.properties.statusAgreement))]:{exists:{id:{ne:e.id}}}})}return this.entities.analytic.query({where:Object(l.a)(s),select:Object(a.f)(x.a,r),orderBy:Object(v.h)({created:"desc"},x.a,r)},{skip:0,take:n})}),Object(m.a)(e=>e.items.map(e=>Object(a.j)(e,x.a))))}addAttachment(e,t,n=""){return Object(i.a)(this,void 0,void 0,function*(){const r=yield this.taskTypeClass,i=Object(a.h)({file:t,name:n},w.c,r);yield this.entities.collections(e,w.a).create(i)})}createRemarkTaskFromForm(e,t,n,r,s,o){return Object(i.a)(this,void 0,void 0,function*(){const i=yield this.documentTaskClass,c=yield this.directoriesService.approvalStatus.toPromise();if(c){const l=c.find(e=>e.name===y.b.Opened),u={name:s,startDate:new Date,user:{id:t.id,name:""},author:{id:e.id,name:e.name},statusAgreement:{id:l.id,name:y.b.Opened},remark:{id:r,name:""}};o&&(u.endDate=new Date(o));const h=Object(a.h)(u,x.a,i);yield this.entities.create(h,n,O.a)}})}finishedTask(e){return Object(i.a)(this,void 0,void 0,function*(){const t=yield this.documentTaskClass,n=yield this.directoriesService.approvalStatus.toPromise();if(n){let r={statusAgreement:{id:n.find(e=>e.name===y.b.Finished).id,name:""}},i={statusAgreement:e.statusAgreement};const s=Object(a.i)(r,i,x.a,t);yield this.entities.update(Object.assign(Object.assign({},s),{id:e.id}))}})}};C.ctorParameters=()=>[{type:a.a},{type:c.c},{type:k.a},{type:o.b}],C=Object(i.b)([Object(s.D)({providedIn:"root"})],C)},W8w0:function(e,t,n){"use strict";n.d(t,"a",function(){return r}),n.d(t,"b",function(){return u});var r,i=n("mrSG"),s=n("fXoL"),o=n("XNiG"),a=n("pLZG"),c=n("lJxs"),l=n("/uUt");!function(e){e[e.Doc=0]="Doc",e[e.LKP=1]="LKP",e[e.PDF=2]="PDF",e[e.File=3]="File"}(r||(r={}));let u=class{constructor(){this.opened=new o.a,this.openedDocument=this.openedKind(r.Doc),this.openedLKP=this.openedKind(r.LKP),this.openedPdf=this.openedKind(r.PDF),this.openedFile=this.openedKind(r.File),this.updated=new o.a,this.updatedDocument=this.updatedKind(r.Doc),this.updatedLKP=this.updatedKind(r.LKP)}openDocument(e){this.opened.next({item:e,kind:r.Doc})}openFile(e){this.opened.next({item:e,kind:r.File})}openLKP(e){this.opened.next({item:e,kind:r.LKP})}openPDF(e){this.opened.next({item:e,kind:r.PDF})}documentUpdated(e){this.updated.next({itemId:e,kind:r.Doc})}lkpUpdated(e){this.updated.next({itemId:e,kind:r.LKP})}openedKind(e){return this.opened.pipe(Object(a.a)(({kind:t})=>t===e),Object(c.a)(({item:e})=>e),Object(l.a)())}updatedKind(e){return this.updated.pipe(Object(a.a)(({kind:t})=>t===e),Object(c.a)(({itemId:e})=>e),Object(l.a)())}};u=Object(i.b)([Object(s.D)({providedIn:"root"})],u)},WMd4:function(e,t,n){"use strict";n.d(t,"a",function(){return a});var r,i=n("EY2u"),s=n("LRne"),o=n("z6cu");!function(e){e.NEXT="N",e.ERROR="E",e.COMPLETE="C"}(r||(r={}));class a{constructor(e,t,n){this.kind=e,this.value=t,this.error=n,this.hasValue="N"===e}observe(e){switch(this.kind){case"N":return e.next&&e.next(this.value);case"E":return e.error&&e.error(this.error);case"C":return e.complete&&e.complete()}}do(e,t,n){switch(this.kind){case"N":return e&&e(this.value);case"E":return t&&t(this.error);case"C":return n&&n()}}accept(e,t,n){return e&&"function"==typeof e.next?this.observe(e):this.do(e,t,n)}toObservable(){switch(this.kind){case"N":return Object(s.a)(this.value);case"E":return Object(o.a)(this.error);case"C":return Object(i.b)()}throw new Error("unexpected notification kind value")}static createNext(e){return void 0!==e?new a("N",e):a.undefinedValueNotification}static createError(e){return new a("E",void 0,e)}static createComplete(){return a.completeNotification}}a.completeNotification=new a("C"),a.undefinedValueNotification=new a("N",void 0)},"WRe/":function(e,t,n){"use strict";n.d(t,"a",function(){return _});var r=n("mrSG"),i=n("fXoL"),s=n("mjQ1"),o=n("SURy"),a=n("p/QF"),c=n("phRD"),l=n("QnZs"),u=n("itXk"),h=n("Cfvw"),d=n("LRne"),f=n("WS32"),p=n("lJxs"),m=n("5+tZ"),g=n("2kdd"),v=n("Jy0u"),y=n("lkBS"),b=n("xwJx");let _=class extends a.a{constructor(e,t,n){super(e,t,c.a),this.content=n,this.class=this.metadata.classes.get(c.a.class).then(e=>(c.a.properties.pIid=Array.from(Object.keys(e.attributes)).find(t=>{var n;return"\u0421. \u0414\u043e\u043a\u0443\u043c\u0435\u043d\u0442 \u0432\u0435\u0440\u0441\u0438\u044f. \u0418\u0414 \u043f\u0440\u043e\u0435\u043a\u0442\u043d\u043e\u0433\u043e \u0438\u043d\u0441\u0442\u0438\u0442\u0443\u0442\u0430"===(null===(n=e.attributes[t])||void 0===n?void 0:n.name)}),c.a.properties.revision=Array.from(Object.keys(e.attributes)).find(t=>{var n;return"\u0421.\u0420\u0435\u0432\u0438\u0437\u0438\u044f \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430"===(null===(n=e.attributes[t])||void 0===n?void 0:n.name)}),c.a.properties.notes=Array.from(Object.keys(e.attributes)).find(t=>{var n;return"\u0421.\u0414\u043e\u043a\u0443\u043c\u0435\u043d\u0442 \u041f\u0440\u0438\u043c\u0435\u0447\u0430\u043d\u0438\u0435"===(null===(n=e.attributes[t])||void 0===n?void 0:n.name)}),c.a.properties.documentSection=Array.from(Object.keys(e.attributes)).find(t=>{var n;return"\u0421.\u0420\u0430\u0437\u0434\u0435\u043b \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430"===(null===(n=e.attributes[t])||void 0===n?void 0:n.name)}),e))}create(e,t){return Object(r.a)(this,void 0,void 0,function*(){const n=yield this.class,r=Object(s.h)(Object.assign(Object.assign({},t),{status:l.a.ReceivedFromPi,creationDate:new Date}),this.schema,n);return yield this.entities.create(r,e,this.schema.collection)})}save(e,t){return Object(r.a)(this,void 0,void 0,function*(){const n=yield this.class,r=Object(s.i)(e,t,this.schema,n);return yield this.entities.update(Object.assign({id:e.id},r))})}delete(e){return Object(r.a)(this,void 0,void 0,function*(){return yield this.entities.delete(...e)})}getByIdVersion(e){return super.getById(e)}getById(e){return Object(u.a)([this.getVersionById(e),this.getResponsibles()]).pipe(Object(p.a)(([e,t])=>{var n;return e.responsibles=null!==(n=t.get(e.id))&&void 0!==n?n:[],e}))}getVersionById(e){return Object(h.a)(this.class).pipe(Object(m.a)(t=>this.entities.analytic.query({where:Object(g.a)([Object(v.b)(this.schema.class),{id:{eq:e}}]),select:Object(s.f)(this.schema,t)},{skip:0,take:10})),Object(p.a)(e=>e.items.map(e=>{const t=Object(s.j)(e,this.schema);return t.path=e.path,t.parentId=Object(s.c)(e).reverse()[0],t})[0]))}getVersionByIds(e){return Object(h.a)(this.class).pipe(Object(m.a)(t=>this.entities.analytic.query({where:Object(g.a)([Object(v.b)(this.schema.class),Object(v.e)(...e)]),select:Object(s.f)(this.schema,t)},{skip:0,take:10})),Object(p.a)(e=>{var{items:t}=e,n=Object(r.d)(e,["items"]);return Object.assign({items:t.map(e=>Object(s.j)(e,this.schema))},n)}))}find(e,t,n){return Object(u.a)([Object(h.a)(this.class).pipe(Object(m.a)(r=>this.entities.analytic.query({where:Object(g.a)([Object(v.b)(this.schema.class),...Object(v.i)(e,this.schema)]),orderBy:Object(v.h)(t,this.schema,r),select:Object(s.f)(this.schema,r)},n))),this.getResponsibles()]).pipe(Object(p.a)(e=>{var[t,n]=e,{items:i}=t,o=Object(r.d)(t,["items"]);return Object.assign({items:i.map(e=>{var t;const r=Object(s.j)(e,this.schema);return r.responsibles=null!==(t=n.get(r.id))&&void 0!==t?t:[],r})},o)}))}getResponsibles(){return Object(h.a)(this.metadata.classes.get(f.a.class)).pipe(Object(m.a)(e=>this.entities.analytic.query({where:Object(g.a)([Object(v.b)(f.a.class),Object(v.e)(this.schema.root)]),select:Object(s.f)(f.a,e)},{skip:0,take:1e6})),Object(p.a)(({items:e})=>e.reduce((e,t)=>{var n,r;const i=Object(s.j)(t,f.a),[o]=Object(s.c)(t).reverse();return null===(r=null!==(n=e.get(o))&&void 0!==n?n:e.set(o,[]).get(o))||void 0===r||r.push(i),e},new Map)))}getVersionRelatedResponsible(e){return Object(h.a)(this.metadata.classes.get(f.a.class)).pipe(Object(m.a)(t=>this.entities.analytic.query({where:Object(g.a)([Object(v.b)(f.a.class),Object(v.e)(e)]),select:Object(s.f)(f.a,t)},{skip:0,take:1e6})),Object(p.a)(({items:e})=>e.reduce((e,t)=>{var n;const r=Object(s.j)(t,f.a);return null===(n=null!=e?e:[])||void 0===n||n.push(r),e},[])))}getVersionParents(e){return e&&e.length?this.entities.analytic.query({where:Object(v.f)(...e),select:["attr."+b.w.entities.attributes.name]},{skip:0,take:1e6}).pipe(Object(p.a)(({items:e})=>e.map(e=>Object(s.j)(e,c.a)))):{toPromise:()=>Promise.resolve([]),pipe:e=>(console.log(e),{toPromise:()=>Promise.resolve([])})}}export(e){return Object(h.a)(this.class).pipe(Object(m.a)(t=>this.entities.jobs.export({where:Object(g.b)(e.map(e=>({id:{eq:e.id}}))),select:Object(s.f)(this.schema,t)},"export",void 0,{files:!0})),Object(m.a)(e=>"number"==typeof e?Object(d.a)(e):this.content.url(e)))}};_.ctorParameters=()=>[{type:s.a},{type:o.c},{type:y.b}],_=Object(r.b)([Object(i.D)({providedIn:"root"})],_)},WS32:function(e,t,n){"use strict";n.d(t,"a",function(){return u});var r=n("xwJx"),i=n("mjQ1"),s=n("qhR1"),o=n("tEnP");const a={from:e=>[e],to:e=>(null==e?void 0:e.length)?e[0].id:void 0},c={[s.e.Dkk]:10007112,[s.e.Eol]:10007107,[s.e.Approver]:10007117,[s.e.ProjectInstitute]:10007117,[s.e.ContractorCMP]:10007117,[s.e.Admin]:10007107},l={from:e=>[c[e]],to:e=>{var t;return(null==e?void 0:e.length)?null===(t=Object.entries(c).find(([t,n])=>n===e[0].id))||void 0===t?void 0:t[0]:void 0}},u={class:"85cc859c-fa92-4f52-b331-5050fcd3a66c",root:r.w.entities.root.id,collection:"25313018-dac8-4779-8cb4-00ea368582ae",properties:{name:r.w.entities.attributes.name,created:r.w.entities.attributes.created,approvalDate:"819c6705-d0a8-4217-802a-fb595d18e021",role:{id:"a1eea911-c754-426b-bb03-36082819d735",map:l},profile:{id:o.c,map:i.b.option},approvalStatus:{id:"ffc4d8d7-ad06-43a1-8aa8-b85e201a61fa",map:a},comments:"2as13018-dac8-4779-8cb4-00ea368582ae",commentsDate:"ae313018-dac8-4779-8cb4-00ea368582ae"}}},WYrj:function(e,t,n){!function(e){"use strict";var t=["\u0796\u07ac\u0782\u07aa\u0787\u07a6\u0783\u07a9","\u078a\u07ac\u0784\u07b0\u0783\u07aa\u0787\u07a6\u0783\u07a9","\u0789\u07a7\u0783\u07a8\u0797\u07aa","\u0787\u07ad\u0795\u07b0\u0783\u07a9\u078d\u07aa","\u0789\u07ad","\u0796\u07ab\u0782\u07b0","\u0796\u07aa\u078d\u07a6\u0787\u07a8","\u0787\u07af\u078e\u07a6\u0790\u07b0\u0793\u07aa","\u0790\u07ac\u0795\u07b0\u0793\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa","\u0787\u07ae\u0786\u07b0\u0793\u07af\u0784\u07a6\u0783\u07aa","\u0782\u07ae\u0788\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa","\u0791\u07a8\u0790\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa"],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"];e.defineLocale("dv",{months:t,monthsShort:t,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(e){return"\u0789\u078a"===e},meridiem:function(e,t,n){return e<12?"\u0789\u0786":"\u0789\u078a"},calendar:{sameDay:"[\u0789\u07a8\u0787\u07a6\u078b\u07aa] LT",nextDay:"[\u0789\u07a7\u078b\u07a6\u0789\u07a7] LT",nextWeek:"dddd LT",lastDay:"[\u0787\u07a8\u0787\u07b0\u0794\u07ac] LT",lastWeek:"[\u078a\u07a7\u0787\u07a8\u078c\u07aa\u0788\u07a8] dddd LT",sameElse:"L"},relativeTime:{future:"\u078c\u07ac\u0783\u07ad\u078e\u07a6\u0787\u07a8 %s",past:"\u0786\u07aa\u0783\u07a8\u0782\u07b0 %s",s:"\u0790\u07a8\u0786\u07aa\u0782\u07b0\u078c\u07aa\u0786\u07ae\u0785\u07ac\u0787\u07b0",ss:"d% \u0790\u07a8\u0786\u07aa\u0782\u07b0\u078c\u07aa",m:"\u0789\u07a8\u0782\u07a8\u0793\u07ac\u0787\u07b0",mm:"\u0789\u07a8\u0782\u07a8\u0793\u07aa %d",h:"\u078e\u07a6\u0791\u07a8\u0787\u07a8\u0783\u07ac\u0787\u07b0",hh:"\u078e\u07a6\u0791\u07a8\u0787\u07a8\u0783\u07aa %d",d:"\u078b\u07aa\u0788\u07a6\u0780\u07ac\u0787\u07b0",dd:"\u078b\u07aa\u0788\u07a6\u0790\u07b0 %d",M:"\u0789\u07a6\u0780\u07ac\u0787\u07b0",MM:"\u0789\u07a6\u0790\u07b0 %d",y:"\u0787\u07a6\u0780\u07a6\u0783\u07ac\u0787\u07b0",yy:"\u0787\u07a6\u0780\u07a6\u0783\u07aa %d"},preparse:function(e){return e.replace(/\u060c/g,",")},postformat:function(e){return e.replace(/,/g,"\u060c")},week:{dow:7,doy:12}})}(n("wd/R"))},Wv91:function(e,t,n){!function(e){"use strict";var t={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"};e.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(e,n){switch(n){case"d":case"D":case"Do":case"DD":return e;default:if(0===e)return e+"'unjy";var r=e%10,i=e%100-r,s=e>=100?100:null;return e+(t[r]||t[i]||t[s])}},week:{dow:1,doy:7}})}(n("wd/R"))},WxRl:function(e,t,n){!function(e){"use strict";var t="vas\xe1rnap h\xe9tf\u0151n kedden szerd\xe1n cs\xfct\xf6rt\xf6k\xf6n p\xe9nteken szombaton".split(" ");function n(e,t,n,r){var i=e;switch(n){case"s":return r||t?"n\xe9h\xe1ny m\xe1sodperc":"n\xe9h\xe1ny m\xe1sodperce";case"ss":return i+(r||t)?" m\xe1sodperc":" m\xe1sodperce";case"m":return"egy"+(r||t?" perc":" perce");case"mm":return i+(r||t?" perc":" perce");case"h":return"egy"+(r||t?" \xf3ra":" \xf3r\xe1ja");case"hh":return i+(r||t?" \xf3ra":" \xf3r\xe1ja");case"d":return"egy"+(r||t?" nap":" napja");case"dd":return i+(r||t?" nap":" napja");case"M":return"egy"+(r||t?" h\xf3nap":" h\xf3napja");case"MM":return i+(r||t?" h\xf3nap":" h\xf3napja");case"y":return"egy"+(r||t?" \xe9v":" \xe9ve");case"yy":return i+(r||t?" \xe9v":" \xe9ve")}return""}function r(e){return(e?"":"[m\xfalt] ")+"["+t[this.day()]+"] LT[-kor]"}e.defineLocale("hu",{months:"janu\xe1r_febru\xe1r_m\xe1rcius_\xe1prilis_m\xe1jus_j\xfanius_j\xfalius_augusztus_szeptember_okt\xf3ber_november_december".split("_"),monthsShort:"jan._feb._m\xe1rc._\xe1pr._m\xe1j._j\xfan._j\xfal._aug._szept._okt._nov._dec.".split("_"),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(e){return"u"===e.charAt(1).toLowerCase()},meridiem:function(e,t,n){return e<12?!0===n?"de":"DE":!0===n?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return r.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return r.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"))},X3iQ:function(e,t,n){"use strict";n.d(t,"c",function(){return o}),n.d(t,"b",function(){return a}),n.d(t,"a",function(){return c});var r=n("xwJx"),i=n("mjQ1"),s=n("5puH");const o="0017b887-d529-4126-8aa7-1f63be68fa03",a="0e9ca845-9e42-4cf8-9c65-599d74abe7f3",c={class:"2c91bd74-f3e4-436c-89eb-9c608daaa4a5",root:s.e.root,collection:r.w.entities.collection,properties:{created:r.w.entities.attributes.created,name:r.w.entities.attributes.name,modified:r.w.entities.attributes.modified,nameStage:"ddef86c5-6835-43d4-b87d-5d1e693917fb",minNumberAgreement:"d537deba-d673-4a1d-8080-b1bb5b162a82",stageTime:"2b4a9936-0400-441b-8af2-6f9b0e1914d2",stagesNumber:"8bcd1bd2-1dc2-4805-9dd3-b861a319ce0d",agreementNumber:{id:"01fdb151-8909-4a17-aa5e-fe1b83197d6f",map:i.b.option},typeCheckAgreement:{id:"8b9cdaa1-fc50-4a1d-b919-9bedf2863754",map:i.b.option},typeDay:{id:"39c25941-904c-4f68-8caf-90a2f7c79b24",map:i.b.option}}}},X709:function(e,t,n){!function(e){"use strict";e.defineLocale("sv",{months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"s\xf6ndag_m\xe5ndag_tisdag_onsdag_torsdag_fredag_l\xf6rdag".split("_"),weekdaysShort:"s\xf6n_m\xe5n_tis_ons_tor_fre_l\xf6r".split("_"),weekdaysMin:"s\xf6_m\xe5_ti_on_to_fr_l\xf6".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [kl.] HH:mm",LLLL:"dddd D MMMM YYYY [kl.] HH:mm",lll:"D MMM YYYY HH:mm",llll:"ddd D MMM YYYY HH:mm"},calendar:{sameDay:"[Idag] LT",nextDay:"[Imorgon] LT",lastDay:"[Ig\xe5r] LT",nextWeek:"[P\xe5] dddd LT",lastWeek:"[I] dddd[s] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"f\xf6r %s sedan",s:"n\xe5gra sekunder",ss:"%d sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en m\xe5nad",MM:"%d m\xe5nader",y:"ett \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}(\:e|\:a)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?":e":1===t||2===t?":a":":e")},week:{dow:1,doy:4}})}(n("wd/R"))},XDbj:function(e,t,n){"use strict";n.d(t,"a",function(){return s});var r=n("sVev"),i=n("7o/Q");function s(e=c){return t=>t.lift(new o(e))}class o{constructor(e){this.errorFactory=e}call(e,t){return t.subscribe(new a(e,this.errorFactory))}}class a extends i.a{constructor(e,t){super(e),this.errorFactory=t,this.hasValue=!1}_next(e){this.hasValue=!0,this.destination.next(e)}_complete(){if(this.hasValue)return this.destination.complete();{let t;try{t=this.errorFactory()}catch(e){t=e}this.destination.error(t)}}}function c(){return new r.a}},XDpg:function(e,t,n){!function(e){"use strict";e.defineLocale("zh-cn",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u5468\u65e5_\u5468\u4e00_\u5468\u4e8c_\u5468\u4e09_\u5468\u56db_\u5468\u4e94_\u5468\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5Ah\u70b9mm\u5206",LLLL:"YYYY\u5e74M\u6708D\u65e5ddddAh\u70b9mm\u5206",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u51cc\u6668"===t||"\u65e9\u4e0a"===t||"\u4e0a\u5348"===t?e:"\u4e0b\u5348"===t||"\u665a\u4e0a"===t?e+12:e>=11?e:e+12},meridiem:function(e,t,n){var r=100*e+t;return r<600?"\u51cc\u6668":r<900?"\u65e9\u4e0a":r<1130?"\u4e0a\u5348":r<1230?"\u4e2d\u5348":r<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929]LT",nextDay:"[\u660e\u5929]LT",nextWeek:function(e){return e.week()!==this.week()?"[\u4e0b]dddLT":"[\u672c]dddLT"},lastDay:"[\u6628\u5929]LT",lastWeek:function(e){return this.week()!==e.week()?"[\u4e0a]dddLT":"[\u672c]dddLT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u5468)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"\u65e5";case"M":return e+"\u6708";case"w":case"W":return e+"\u5468";default:return e}},relativeTime:{future:"%s\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(e,t,n){!function(e){"use strict";e.defineLocale("te",{months:"\u0c1c\u0c28\u0c35\u0c30\u0c3f_\u0c2b\u0c3f\u0c2c\u0c4d\u0c30\u0c35\u0c30\u0c3f_\u0c2e\u0c3e\u0c30\u0c4d\u0c1a\u0c3f_\u0c0f\u0c2a\u0c4d\u0c30\u0c3f\u0c32\u0c4d_\u0c2e\u0c47_\u0c1c\u0c42\u0c28\u0c4d_\u0c1c\u0c41\u0c32\u0c48_\u0c06\u0c17\u0c38\u0c4d\u0c1f\u0c41_\u0c38\u0c46\u0c2a\u0c4d\u0c1f\u0c46\u0c02\u0c2c\u0c30\u0c4d_\u0c05\u0c15\u0c4d\u0c1f\u0c4b\u0c2c\u0c30\u0c4d_\u0c28\u0c35\u0c02\u0c2c\u0c30\u0c4d_\u0c21\u0c3f\u0c38\u0c46\u0c02\u0c2c\u0c30\u0c4d".split("_"),monthsShort:"\u0c1c\u0c28._\u0c2b\u0c3f\u0c2c\u0c4d\u0c30._\u0c2e\u0c3e\u0c30\u0c4d\u0c1a\u0c3f_\u0c0f\u0c2a\u0c4d\u0c30\u0c3f._\u0c2e\u0c47_\u0c1c\u0c42\u0c28\u0c4d_\u0c1c\u0c41\u0c32\u0c48_\u0c06\u0c17._\u0c38\u0c46\u0c2a\u0c4d._\u0c05\u0c15\u0c4d\u0c1f\u0c4b._\u0c28\u0c35._\u0c21\u0c3f\u0c38\u0c46.".split("_"),monthsParseExact:!0,weekdays:"\u0c06\u0c26\u0c3f\u0c35\u0c3e\u0c30\u0c02_\u0c38\u0c4b\u0c2e\u0c35\u0c3e\u0c30\u0c02_\u0c2e\u0c02\u0c17\u0c33\u0c35\u0c3e\u0c30\u0c02_\u0c2c\u0c41\u0c27\u0c35\u0c3e\u0c30\u0c02_\u0c17\u0c41\u0c30\u0c41\u0c35\u0c3e\u0c30\u0c02_\u0c36\u0c41\u0c15\u0c4d\u0c30\u0c35\u0c3e\u0c30\u0c02_\u0c36\u0c28\u0c3f\u0c35\u0c3e\u0c30\u0c02".split("_"),weekdaysShort:"\u0c06\u0c26\u0c3f_\u0c38\u0c4b\u0c2e_\u0c2e\u0c02\u0c17\u0c33_\u0c2c\u0c41\u0c27_\u0c17\u0c41\u0c30\u0c41_\u0c36\u0c41\u0c15\u0c4d\u0c30_\u0c36\u0c28\u0c3f".split("_"),weekdaysMin:"\u0c06_\u0c38\u0c4b_\u0c2e\u0c02_\u0c2c\u0c41_\u0c17\u0c41_\u0c36\u0c41_\u0c36".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0c28\u0c47\u0c21\u0c41] LT",nextDay:"[\u0c30\u0c47\u0c2a\u0c41] LT",nextWeek:"dddd, LT",lastDay:"[\u0c28\u0c3f\u0c28\u0c4d\u0c28] LT",lastWeek:"[\u0c17\u0c24] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0c32\u0c4b",past:"%s \u0c15\u0c4d\u0c30\u0c3f\u0c24\u0c02",s:"\u0c15\u0c4a\u0c28\u0c4d\u0c28\u0c3f \u0c15\u0c4d\u0c37\u0c23\u0c3e\u0c32\u0c41",ss:"%d \u0c38\u0c46\u0c15\u0c28\u0c4d\u0c32\u0c41",m:"\u0c12\u0c15 \u0c28\u0c3f\u0c2e\u0c3f\u0c37\u0c02",mm:"%d \u0c28\u0c3f\u0c2e\u0c3f\u0c37\u0c3e\u0c32\u0c41",h:"\u0c12\u0c15 \u0c17\u0c02\u0c1f",hh:"%d \u0c17\u0c02\u0c1f\u0c32\u0c41",d:"\u0c12\u0c15 \u0c30\u0c4b\u0c1c\u0c41",dd:"%d \u0c30\u0c4b\u0c1c\u0c41\u0c32\u0c41",M:"\u0c12\u0c15 \u0c28\u0c46\u0c32",MM:"%d \u0c28\u0c46\u0c32\u0c32\u0c41",y:"\u0c12\u0c15 \u0c38\u0c02\u0c35\u0c24\u0c4d\u0c38\u0c30\u0c02",yy:"%d \u0c38\u0c02\u0c35\u0c24\u0c4d\u0c38\u0c30\u0c3e\u0c32\u0c41"},dayOfMonthOrdinalParse:/\d{1,2}\u0c35/,ordinal:"%d\u0c35",meridiemParse:/\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f|\u0c09\u0c26\u0c2f\u0c02|\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02|\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"===t?e<4?e:e+12:"\u0c09\u0c26\u0c2f\u0c02"===t?e:"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02"===t?e>=10?e:e+12:"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f":e<10?"\u0c09\u0c26\u0c2f\u0c02":e<17?"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02":e<20?"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02":"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"},week:{dow:0,doy:6}})}(n("wd/R"))},XNiG:function(e,t,n){"use strict";n.d(t,"b",function(){return l}),n.d(t,"a",function(){return u});var r=n("HDdC"),i=n("7o/Q"),s=n("quSY"),o=n("9ppp"),a=n("Ylt2"),c=n("2QA8");class l extends i.a{constructor(e){super(e),this.destination=e}}class u extends r.a{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[c.a](){return new l(this)}lift(e){const t=new h(this,this);return t.operator=e,t}next(e){if(this.closed)throw new o.a;if(!this.isStopped){const{observers:t}=this,n=t.length,r=t.slice();for(let i=0;i<n;i++)r[i].next(e)}}error(e){if(this.closed)throw new o.a;this.hasError=!0,this.thrownError=e,this.isStopped=!0;const{observers:t}=this,n=t.length,r=t.slice();for(let i=0;i<n;i++)r[i].error(e);this.observers.length=0}complete(){if(this.closed)throw new o.a;this.isStopped=!0;const{observers:e}=this,t=e.length,n=e.slice();for(let r=0;r<t;r++)n[r].complete();this.observers.length=0}unsubscribe(){this.isStopped=!0,this.closed=!0,this.observers=null}_trySubscribe(e){if(this.closed)throw new o.a;return super._trySubscribe(e)}_subscribe(e){if(this.closed)throw new o.a;return this.hasError?(e.error(this.thrownError),s.a.EMPTY):this.isStopped?(e.complete(),s.a.EMPTY):(this.observers.push(e),new a.a(this,e))}asObservable(){const e=new r.a;return e.source=this,e}}u.create=(e,t)=>new h(e,t);class h extends u{constructor(e,t){super(),this.destination=e,this.source=t}next(e){const{destination:t}=this;t&&t.next&&t.next(e)}error(e){const{destination:t}=this;t&&t.error&&this.destination.error(e)}complete(){const{destination:e}=this;e&&e.complete&&this.destination.complete()}_subscribe(e){const{source:t}=this;return t?this.source.subscribe(e):s.a.EMPTY}}},XoHu:function(e,t,n){"use strict";function r(e){return null!==e&&"object"==typeof e}n.d(t,"a",function(){return r})},"Y6+p":function(e,t,n){"use strict";n.d(t,"a",function(){return u});var r=n("mrSG"),i=n("fXoL"),s=n("mjQ1"),o=n("SURy"),a=n("p/QF"),c=n("k1Px"),l=n("2kdd");let u=class extends a.a{constructor(e,t){super(e,t,c.a)}getClassFolder(){return this.metadata.classes.getNames("\u0421.\u041f\u0430\u043f\u043a\u0430")}create(e,t){return Object(r.a)(this,void 0,void 0,function*(){const n=yield this.class,r=Object(s.h)(Object.assign({},t),this.schema,n);return yield this.entities.create(r,e,this.schema.collection)})}query(e,t){return super.query(e,t,[{[Object(l.c)(this.schema.properties.name)]:"asc"}])}};u.ctorParameters=()=>[{type:s.a},{type:o.c}],u=Object(r.b)([Object(i.D)({providedIn:"root"})],u)},Y7HM:function(e,t,n){"use strict";n.d(t,"a",function(){return i});var r=n("DH7j");function i(e){return!Object(r.a)(e)&&e-parseFloat(e)+1>=0}},YDKS:function(e,t,n){"use strict";n.d(t,"c",function(){return s}),n.d(t,"b",function(){return o}),n.d(t,"a",function(){return a});var r=n("xwJx"),i=n("mjQ1");const s={class:"6b8a5950-b545-4332-ad99-0691820e7af4",root:r.w.entities.root.id,collection:"010b2a48-c5b7-11e9-bdef-0242ac110002",properties:Object.assign(Object.assign({},r.w.entities.attributes),{dateFinished:"9aa3862e-463c-448b-a663-bbd301f3c487",dateStarted:"00a47e93-0957-421e-85e4-e503e7328a51",name:"ab07a132-ca5a-11e9-a094-0242ac110002",projectArea:{id:"bf109a65-94f6-4abf-9f1b-f128f824b96d",map:i.b.option}})},o={class:"dd75615c-0dee-4954-b740-e94a7bbac80b",root:r.w.entities.root.id,collection:"8d79bcd7-639a-46c1-8050-95a8df30e832",properties:{name:"ab07a132-ca5a-11e9-a094-0242ac110002",role:{id:"f1cde106-e48f-4cfe-a5c9-5cfafe196a01",map:i.b.option},user:{id:"626c45fb-0d8a-4888-8239-e6e2c775e520",map:i.b.option},author:{id:"200dde38-772c-42d2-a3cb-fcd28d96e2bf",map:i.b.option}}},a={class:"f9dfb85f-6a79-4824-adf1-ea6d40490b18",root:2,collection:r.w.entities.collection,properties:{created:"afb7ee38-c5b6-11e9-bdef-0242ac110002",name:"ab07a132-ca5a-11e9-a094-0242ac110002"}}},YF2q:function(e,t,n){"use strict";n.d(t,"a",function(){return u}),n.d(t,"b",function(){return h});var r=n("ofXK"),i=n("fXoL"),s=n("mrSG"),o=n("8LU1"),a=n("R1ws"),c=n("/KA4");const l="nz-animate-disabled";class u{constructor(e,t,n){this.element=e,this.renderer=t,this.animationType=n,this.nzNoAnimation=!1}ngOnChanges(){this.updateClass()}ngAfterViewInit(){this.updateClass()}updateClass(){const e=Object(o.e)(this.element);e&&(this.nzNoAnimation||"NoopAnimations"===this.animationType?this.renderer.addClass(e,l):this.renderer.removeClass(e,l))}}u.\u0275fac=function(e){return new(e||u)(i.Nc(i.v),i.Nc(i.Y),i.Nc(a.a,8))},u.\u0275dir=i.Ic({type:u,selectors:[["","nzNoAnimation",""]],inputs:{nzNoAnimation:"nzNoAnimation"},exportAs:["nzNoAnimation"],features:[i.xc]}),u.ctorParameters=()=>[{type:i.v},{type:i.Y},{type:String,decorators:[{type:i.R},{type:i.C,args:[a.a]}]}],u.propDecorators={nzNoAnimation:[{type:i.G}]},Object(s.b)([Object(c.a)(),Object(s.c)("design:type",Boolean)],u.prototype,"nzNoAnimation",void 0);class h{}h.\u0275mod=i.Lc({type:h}),h.\u0275inj=i.Kc({factory:function(e){return new(e||h)},imports:[[r.c]]}),("undefined"==typeof ngJitMode||ngJitMode)&&i.Bd(h,{declarations:function(){return[u]},imports:function(){return[r.c]},exports:function(){return[u]}})},YRex:function(e,t,n){!function(e){"use strict";e.defineLocale("ug-cn",{months:"\u064a\u0627\u0646\u06cb\u0627\u0631_\u0641\u06d0\u06cb\u0631\u0627\u0644_\u0645\u0627\u0631\u062a_\u0626\u0627\u067e\u0631\u06d0\u0644_\u0645\u0627\u064a_\u0626\u0649\u064a\u06c7\u0646_\u0626\u0649\u064a\u06c7\u0644_\u0626\u0627\u06cb\u063a\u06c7\u0633\u062a_\u0633\u06d0\u0646\u062a\u06d5\u0628\u0649\u0631_\u0626\u06c6\u0643\u062a\u06d5\u0628\u0649\u0631_\u0646\u0648\u064a\u0627\u0628\u0649\u0631_\u062f\u06d0\u0643\u0627\u0628\u0649\u0631".split("_"),monthsShort:"\u064a\u0627\u0646\u06cb\u0627\u0631_\u0641\u06d0\u06cb\u0631\u0627\u0644_\u0645\u0627\u0631\u062a_\u0626\u0627\u067e\u0631\u06d0\u0644_\u0645\u0627\u064a_\u0626\u0649\u064a\u06c7\u0646_\u0626\u0649\u064a\u06c7\u0644_\u0626\u0627\u06cb\u063a\u06c7\u0633\u062a_\u0633\u06d0\u0646\u062a\u06d5\u0628\u0649\u0631_\u0626\u06c6\u0643\u062a\u06d5\u0628\u0649\u0631_\u0646\u0648\u064a\u0627\u0628\u0649\u0631_\u062f\u06d0\u0643\u0627\u0628\u0649\u0631".split("_"),weekdays:"\u064a\u06d5\u0643\u0634\u06d5\u0646\u0628\u06d5_\u062f\u06c8\u0634\u06d5\u0646\u0628\u06d5_\u0633\u06d5\u064a\u0634\u06d5\u0646\u0628\u06d5_\u0686\u0627\u0631\u0634\u06d5\u0646\u0628\u06d5_\u067e\u06d5\u064a\u0634\u06d5\u0646\u0628\u06d5_\u062c\u06c8\u0645\u06d5_\u0634\u06d5\u0646\u0628\u06d5".split("_"),weekdaysShort:"\u064a\u06d5_\u062f\u06c8_\u0633\u06d5_\u0686\u0627_\u067e\u06d5_\u062c\u06c8_\u0634\u06d5".split("_"),weekdaysMin:"\u064a\u06d5_\u062f\u06c8_\u0633\u06d5_\u0686\u0627_\u067e\u06d5_\u062c\u06c8_\u0634\u06d5".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649",LLL:"YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649\u060c HH:mm",LLLL:"dddd\u060c YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649\u060c HH:mm"},meridiemParse:/\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5|\u0633\u06d5\u06be\u06d5\u0631|\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646|\u0686\u06c8\u0634|\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646|\u0643\u06d5\u0686/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5"===t||"\u0633\u06d5\u06be\u06d5\u0631"===t||"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646"===t?e:"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646"===t||"\u0643\u06d5\u0686"===t?e+12:e>=11?e:e+12},meridiem:function(e,t,n){var r=100*e+t;return r<600?"\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5":r<900?"\u0633\u06d5\u06be\u06d5\u0631":r<1130?"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646":r<1230?"\u0686\u06c8\u0634":r<1800?"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646":"\u0643\u06d5\u0686"},calendar:{sameDay:"[\u0628\u06c8\u06af\u06c8\u0646 \u0633\u0627\u0626\u06d5\u062a] LT",nextDay:"[\u0626\u06d5\u062a\u06d5 \u0633\u0627\u0626\u06d5\u062a] LT",nextWeek:"[\u0643\u06d0\u0644\u06d5\u0631\u0643\u0649] dddd [\u0633\u0627\u0626\u06d5\u062a] LT",lastDay:"[\u062a\u06c6\u0646\u06c8\u06af\u06c8\u0646] LT",lastWeek:"[\u0626\u0627\u0644\u062f\u0649\u0646\u0642\u0649] dddd [\u0633\u0627\u0626\u06d5\u062a] LT",sameElse:"L"},relativeTime:{future:"%s \u0643\u06d0\u064a\u0649\u0646",past:"%s \u0628\u06c7\u0631\u06c7\u0646",s:"\u0646\u06d5\u0686\u0686\u06d5 \u0633\u06d0\u0643\u0648\u0646\u062a",ss:"%d \u0633\u06d0\u0643\u0648\u0646\u062a",m:"\u0628\u0649\u0631 \u0645\u0649\u0646\u06c7\u062a",mm:"%d \u0645\u0649\u0646\u06c7\u062a",h:"\u0628\u0649\u0631 \u0633\u0627\u0626\u06d5\u062a",hh:"%d \u0633\u0627\u0626\u06d5\u062a",d:"\u0628\u0649\u0631 \u0643\u06c8\u0646",dd:"%d \u0643\u06c8\u0646",M:"\u0628\u0649\u0631 \u0626\u0627\u064a",MM:"%d \u0626\u0627\u064a",y:"\u0628\u0649\u0631 \u064a\u0649\u0644",yy:"%d \u064a\u0649\u0644"},dayOfMonthOrdinalParse:/\d{1,2}(-\u0643\u06c8\u0646\u0649|-\u0626\u0627\u064a|-\u06be\u06d5\u067e\u062a\u06d5)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"-\u0643\u06c8\u0646\u0649";case"w":case"W":return e+"-\u06be\u06d5\u067e\u062a\u06d5";default:return e}},preparse:function(e){return e.replace(/\u060c/g,",")},postformat:function(e){return e.replace(/,/g,"\u060c")},week:{dow:1,doy:7}})}(n("wd/R"))},Ylt2:function(e,t,n){"use strict";n.d(t,"a",function(){return i});var r=n("quSY");class i extends r.a{constructor(e,t){super(),this.subject=e,this.subscriber=t,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const e=this.subject,t=e.observers;if(this.subject=null,!t||0===t.length||e.isStopped||e.closed)return;const n=t.indexOf(this.subscriber);-1!==n&&t.splice(n,1)}}},YuTi:function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},Z2WM:function(e,t,n){"use strict";n.d(t,"a",function(){return g});var r=n("mrSG"),i=n("fXoL"),s=n("mjQ1"),o=n("SURy"),a=n("riLQ"),c=n("lsjk"),l=n("Ml5Y"),u=n("xwJx"),h=n("5C5N"),d=n("btuV"),f=n("TDVj"),p=n("cGdJ"),m=n("wd/R");let g=class{constructor(e,t,n,r,i,s,o){this.projectService=e,this.entities=t,this.metadata=n,this.settingsService=r,this.auth=i,this.security=s,this.stage=o,this.schema=c.c}getRoot(){return Object(r.a)(this,void 0,void 0,function*(){const e=yield this.getStageId();if(!e)return;yield this.metadata.classes.get(this.schema.class);const[t]=yield this.loadRecords({id:e,classId:c.b.class});return Object.assign(Object.assign({},Object(s.j)(t,this.schema)),{path:t.path})})}get(){return Object(r.a)(this,void 0,void 0,function*(){const e=yield this.getRoot();if(!e)return[];const{id:t}=e,{items:n}=yield this.entities.analytic.query({where:{and:[{class:{eq:this.schema.class}},{ancestors:{exists:{id:{eq:t}}}}]},select:"*"},{skip:0,take:1e6}).toPromise();return[...n].map(e=>Object.assign(Object.assign({},Object(s.j)(e,this.schema)),{path:e.path,reference:e.links["ef96aa88-fed2-4c0c-9405-38b6459c7d32"]?e.links["ef96aa88-fed2-4c0c-9405-38b6459c7d32"][0].properties["ab07a132-ca5a-11e9-a094-0242ac110002"]:"",docs:e.links["eacafac6-6496-4f90-b418-00251553431b"]?e.links["eacafac6-6496-4f90-b418-00251553431b"][0].id:""}))})}getTasks(){return Object(r.a)(this,void 0,void 0,function*(){const e=yield this.getRoot();if(!e)return{root:null,tasks:[]};const{id:t}=e,{items:n}=yield this.entities.analytic.query({where:{and:[{class:{eq:this.schema.class}},{ancestors:{exists:{id:{eq:t}}}}]},select:"*",join:{"col.e7f2dd21-efb1-4721-8d3a-490cc19fc7fe":{where:{class:{eq:c.a.class}},select:"*"}}},{skip:0,take:1e6}).toPromise(),r=n.filter(e=>-1===e.searchPath.indexOf(".")),i=n.filter(e=>e.searchPath.indexOf(".")>-1),o=r.map(e=>Object.assign(Object.assign({},Object(s.j)(e,this.schema)),{path:e.path,linkNodes:[]}));for(const a of i){const[e]=a.searchPath.split("."),t=o.find(t=>t.id===parseInt(e));t.linkNodes=t.linkNodes||[],t.linkNodes.push(Object(s.j)(a,c.a))}return{root:e,tasks:o,items:n}})}getSettings(){var e;return Object(r.a)(this,void 0,void 0,function*(){return this.settings?this.settings:this.settings=null!==(e=yield this.settingsService.getCustom("windows.entities.tasks"))&&void 0!==e?e:Object(u.J)("Settings for tasks is missing")})}update(e,t){return Object(r.a)(this,void 0,void 0,function*(){const n=yield this.metadata.classes.get(this.schema.class),r=Object(s.i)(e,t,this.schema,n);yield this.entities.update(Object.assign(Object.assign({},r),{id:e.id}))})}create(e,t){return Object(r.a)(this,void 0,void 0,function*(){const n=yield this.metadata.classes.get(this.schema.class),r=Object(s.h)(e,this.schema,n);return yield this.entities.collections(t,u.w.entities.collection).create(r)})}createLink(e,t){return Object(r.a)(this,void 0,void 0,function*(){const n=yield this.metadata.classes.get(c.a.class),r=Object(s.h)(t,c.a,n);return yield this.entities.collections(e,c.a.collection).create(r)})}updateLink(e,t){return Object(r.a)(this,void 0,void 0,function*(){const n=yield this.metadata.classes.get(c.a.class),r=Object(s.i)(e,t,c.a,n);yield this.entities.update(Object.assign(Object.assign({},r),{id:e.id}))})}delete(e){return Object(r.a)(this,void 0,void 0,function*(){console.log(e)})}getLinksForTask(e){return Object(r.a)(this,void 0,void 0,function*(){const{items:t}=yield this.entities.collections(e,c.a.collection).query({skip:0,take:1e6}),n=[];for(const e of t)n.push(yield this.loadRecord({id:e.id}));return n.map(e=>Object(s.j)(e,c.a))})}getProjectId(){return Object(r.a)(this,void 0,void 0,function*(){const e=parseInt(window.location.pathname.split("/").reverse()[1]);return yield this.projectService.get(e).toPromise()})}getStageId(){return Object(r.a)(this,void 0,void 0,function*(){const e=yield this.getProjectId(),t=yield this.loadRecords({id:e.id,classId:"efcc3904-eace-46dd-896d-0b80e8a07159"});return t&&t.length?t[0].id:null})}loadRecords(e){return Object(r.a)(this,void 0,void 0,function*(){const t={where:{and:[{ancestors:{exists:{id:{eq:e.id}}}}]},select:"*"};e.classId&&t.where.and.push({class:{eq:e.classId}});const{items:n}=yield this.entities.analytic.query(t,{skip:0,take:1e6}).toPromise();return n})}getAgreementStatuses(){return Object(r.a)(this,void 0,void 0,function*(){const e=yield this.metadata.classes.query(),t=e.find(e=>"\u0421.\u042d\u043b\u0435\u043c\u0435\u043d\u0442 \u0421\u043f\u0440\u0430\u0432\u043e\u0447\u043d\u0438\u043a\u0430"===e.name),n=e.find(e=>"\u0421.\u0421\u043f\u0440\u0430\u0432\u043e\u0447\u043d\u0438\u043a"===e.name),r=(yield this.loadRecords({id:1,classId:n.id})).map(e=>Object(s.j)(e,p.e)).find(e=>"\u0421\u0442\u0430\u0442\u0443\u0441 \u0441\u043e\u0433\u043b\u0430\u0441\u043e\u0432\u0430\u043d\u0438\u044f"===e.name),i=(yield this.loadRecords({id:r.id,classId:t.id})).map(e=>Object(s.j)(e,p.e));return{open:i.find(e=>"\u041e\u0442\u043a\u0440\u044b\u0442\u043e"===e.name),finished:i.find(e=>"\u0417\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u043e"===e.name)}})}closeTasks(e,t){return Object(r.a)(this,void 0,void 0,function*(){const{open:n,finished:r}=yield this.getAgreementStatuses(),i=(yield this.loadRecords({id:e,classId:f.a.class})).map(e=>Object(s.j)(e,f.a)).find(e=>e.task&&e.task.id===parseInt(t)&&e.statusAgreement.id===n.id);if(i){const e=Object.assign({},i);e.statusAgreement={id:r.id};const t=yield this.metadata.classes.get(f.a.class),n=Object(s.i)(e,i,f.a,t);yield this.entities.update(Object.assign(Object.assign({},n),{id:e.id}))}})}recalculatePercent(e){return Object(r.a)(this,void 0,void 0,function*(){const t=yield this.loadRecord({id:e}),n=(yield this.metadata.classes.query()).find(e=>"\u0417\u0430\u0434\u0430\u0447\u0430 \u041a\u0421\u0413"===e.name);let r=t.path.split(".").reverse();for(const e of r)try{yield this.recalculateItem(parseInt(e),n)}catch(i){break}})}recalculateItem(e,t){return Object(r.a)(this,void 0,void 0,function*(){const n=yield this.loadRecord({id:e});if(n.classId!==t.id)throw new Error("INCORRECT_CLASS");const r=Object(s.j)(n,c.c),i=yield this.entities.collections(r.id,"010b2a48-c5b7-11e9-bdef-0242ac110002").query({take:1e6,skip:0}),o=[];for(const e of i.items)o.push(yield this.loadRecord({id:e.id,classId:e.classId}));if(!o.length)return;const a=o.filter(e=>e.id!==r.id).map(e=>Object(s.j)(e,c.c)),l=a.reduce((e,t)=>e+t.progress,0),u=Object.assign({},r);u.progress=Math.round(l/a.length),u.percentFact=u.progress;const[h]=a.sort((e,t)=>e.plannedStart<t.plannedStart?-1:e.plannedStart>t.plannedStart?1:0),[d]=a.sort((e,t)=>e.plannedEnd>t.plannedEnd?-1:e.plannedEnd<t.plannedEnd?1:0);u.plannedStart=h.plannedStart,u.plannedEnd=d.plannedEnd;const f=Math.round((u.plannedEnd.getTime()-u.plannedStart.getTime())/864e5);u.plannedDuration=f;const p=yield this.metadata.classes.get(c.c.class),m=Object(s.i)(u,r,c.c,p);yield this.entities.update(Object.assign(Object.assign({},m),{id:r.id})),yield this.updatePercent(r,u)})}updatePercent(e,t){return Object(r.a)(this,void 0,void 0,function*(){if(e.progress===t.progress)return;const n=yield this.security.profiles.get(this.auth.identity.name),r={name:'\u0418\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u0432 \u043f\u043e\u043b\u0435 "% \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u0438\u044f (\u0444\u0430\u043a\u0442), '+this.getCurrentDate(),attr1:e.progress+"%",attr2:t.progress+"%",event:{id:999000003132},author:{id:n.id}},i=yield this.metadata.classes.get(h.b.class),o=Object(s.h)(r,h.b,i);yield this.entities.collections(e.id,"ef223694-5c57-4003-95cd-394d54edccd6").create(o)})}loadRecord(e){return Object(r.a)(this,void 0,void 0,function*(){const t={where:{and:[{id:{eq:e.id}}]},select:"*"};e.classId&&t.where.and.push({class:{eq:e.classId}});const{items:[n]}=yield this.entities.analytic.query(t,{skip:0,take:1e6}).toPromise();return n})}currentDate(e){return e?m(e).format("DD.MM.YYYY"):"-"}getCurrentDate(){return this.currentDate(new Date)}buildTree(e){let t=[];for(const n of e){let r=n.text;if(r.indexOf("</a>")>-1){const e=r.split(">"),[,t]=e;r=t.replace("</a","")}const i={title:r,key:n.id,children:[],plannedStart:n.plannedStart,plannedEnd:n.plannedEnd};if(n.parent){const r={result:!1};this.addNodeToParent(t,n.parent,i,r),r.result||e.push(n)}else t.push(i)}return t}addNodeToParent(e,t,n,r){for(const i of e)i.children.length&&this.addNodeToParent(i.children,t,n,r),i.key===t&&(i.children.push(n),r.result=!0)}};g.ctorParameters=()=>[{type:l.a},{type:s.a},{type:o.c},{type:u.r},{type:u.b},{type:d.c},{type:void 0,decorators:[{type:i.C,args:[a.a]}]}],g=Object(r.b)([Object(i.D)()],g)},Z4QM:function(e,t,n){!function(e){"use strict";var t=["\u062c\u0646\u0648\u0631\u064a","\u0641\u064a\u0628\u0631\u0648\u0631\u064a","\u0645\u0627\u0631\u0686","\u0627\u067e\u0631\u064a\u0644","\u0645\u0626\u064a","\u062c\u0648\u0646","\u062c\u0648\u0644\u0627\u0621\u0650","\u0622\u06af\u0633\u067d","\u0633\u064a\u067e\u067d\u0645\u0628\u0631","\u0622\u06aa\u067d\u0648\u0628\u0631","\u0646\u0648\u0645\u0628\u0631","\u068a\u0633\u0645\u0628\u0631"],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"];e.defineLocale("sd",{months:t,monthsShort:t,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(e){return"\u0634\u0627\u0645"===e},meridiem:function(e,t,n){return e<12?"\u0635\u0628\u062d":"\u0634\u0627\u0645"},calendar:{sameDay:"[\u0627\u0684] LT",nextDay:"[\u0633\u0680\u0627\u06bb\u064a] LT",nextWeek:"dddd [\u0627\u06b3\u064a\u0646 \u0647\u0641\u062a\u064a \u062a\u064a] LT",lastDay:"[\u06aa\u0627\u0644\u0647\u0647] LT",lastWeek:"[\u06af\u0632\u0631\u064a\u0644 \u0647\u0641\u062a\u064a] dddd [\u062a\u064a] LT",sameElse:"L"},relativeTime:{future:"%s \u067e\u0648\u0621",past:"%s \u0627\u06b3",s:"\u0686\u0646\u062f \u0633\u064a\u06aa\u0646\u068a",ss:"%d \u0633\u064a\u06aa\u0646\u068a",m:"\u0647\u06aa \u0645\u0646\u067d",mm:"%d \u0645\u0646\u067d",h:"\u0647\u06aa \u06aa\u0644\u0627\u06aa",hh:"%d \u06aa\u0644\u0627\u06aa",d:"\u0647\u06aa \u068f\u064a\u0646\u0647\u0646",dd:"%d \u068f\u064a\u0646\u0647\u0646",M:"\u0647\u06aa \u0645\u0647\u064a\u0646\u0648",MM:"%d \u0645\u0647\u064a\u0646\u0627",y:"\u0647\u06aa \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(e){return e.replace(/\u060c/g,",")},postformat:function(e){return e.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(n("wd/R"))},ZAMP:function(e,t,n){!function(e){"use strict";e.defineLocale("ms-my",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"tengahari"===t?e>=11?e:e+12:"petang"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"pagi":e<15?"tengahari":e<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(n("wd/R"))},ZTgC:function(e,t,n){"use strict";n.d(t,"a",function(){return _});var r=n("mrSG"),i=n("fXoL"),s=n("rdIy"),o=n("3Pt+"),a=n("Hdf2"),c=n("IzEk"),l=n("pLZG"),u=n("mjQ1"),h=n("lkBS"),d=n("SURy"),f=n("kOwv"),p=n("dEAy"),m=n("xwJx"),g=n("lsjk"),v=n("Z2WM"),y=n("qhR1");const b="8e8d0846-212f-414f-9bfd-5952fe26d319";let _=class extends s.a{constructor(e,t,n,r,s,o,a){super(),this.fb=e,this.documentService=t,this.content=n,this.metadata=r,this.entities=s,this.modal=o,this.schedule=a,this.onEvent=new i.x,this.isSelectFile=!1,this.files=[],this.docs=[],this.fileList=[],this.loading=!1,this.beforeUpload=e=>(this.fileList=this.fileList.concat(e),!1),this.taskTypeClass=this.metadata.classes.getNames("\u0422\u0438\u043f \u0437\u0430\u0434\u0430\u0447\u0438")}ngOnInit(){this.createForm()}createForm(){this.form=this.fb.group({})}send(){return Object(r.a)(this,void 0,void 0,function*(){this.isSelectFile?(this.files.length&&this.documentService.getDocVersionsFromFolder(this.files).pipe(Object(c.a)(1)).subscribe(e=>{this.docs=e}),this.onBack()):yield this.save()})}save(){return Object(r.a)(this,void 0,void 0,function*(){this.loading=!0;const{docs:e,fileList:t}=this;let n=[];const{items:r}=yield this.entities.collections(this.taskOnDocs.id,b).query({skip:0,take:1e6,attributes:[m.w.entities.attributes.name]});for(const i of r)n.push(Object(u.j)(i,f.c));for(let i of t){const e=n.find(e=>e.name===i.name);e&&(yield this.entities.delete(e.id))}for(let i of e){const e=n.find(e=>e.name===i.name);e&&(yield this.entities.delete(e.id))}for(let i of t){const e=yield this.content.upload(i).pipe(Object(l.a)(e=>!Object(h.e)(e))).toPromise();yield this.addAttachment(e,e.name)}for(let i of e){const{versions:e}=i,[t]=e.reverse();yield this.addAttachment(i.file,i.file.name,t.id)}this.cancel(),this.loading=!1,this.onEvent.emit({})})}addAttachment(e,t="",n){return Object(r.a)(this,void 0,void 0,function*(){const r=yield this.taskTypeClass,i=Object(u.h)({file:e,name:t},f.c,r);if(yield this.entities.collections(this.taskOnDocs.id,b).create(i),n&&this.taskOnDocs.task){const e=yield this.schedule.loadRecord({id:this.taskOnDocs.task.id,classId:g.c.class}),t=Object(u.j)(e,g.c),r=Object.assign({},t);t.documents=t.documents.concat([]);r.documents.find(e=>e.id===n)||r.documents.push({id:n}),yield this.schedule.update(r,t)}})}onBack(){this.isSelectFile=!1}select(e){e.preventDefault(),e.stopPropagation(),this.isSelectFile=!0}selectedFile(e){const t=[];e.forEach(e=>{this.getChildren(e.origin,t)}),this.files=t}getChildren(e,t){var n;(null===(n=null==e?void 0:e.children)||void 0===n?void 0:n.length)?e.children.forEach(e=>{this.getChildren(e,t)}):t.push({key:e.item.id.toString(),val:{all:!0,indeterminate:!0,child:[],file:e.item}})}cancel(){return Object(r.a)(this,void 0,void 0,function*(){this.modal.closeAll()})}};_.ctorParameters=()=>[{type:o.e},{type:a.a},{type:h.b},{type:d.c},{type:u.a},{type:p.c},{type:v.a}],_.propDecorators={taskOnDocs:[{type:i.G}],onEvent:[{type:i.S}]},_=Object(r.b)([Object(i.n)({selector:"app-upload-attachments",template:'<form *ngIf="!isSelectFile" nz-form nzLayout="vertical" [formGroup]="form">\n    <nz-form-item>\n      <nz-form-label>\u0412\u043b\u043e\u0436\u0435\u043d\u0438\u044f</nz-form-label>\n      <nz-upload\n        nzType="drag"\n        [nzFileList]="fileList"\n        [nzBeforeUpload]="beforeUpload"\n        [nzMultiple]="true"\n      >\n        <p class="ant-upload-drag-icon">\n          <span nz-icon nzType="inbox"></span>\n        </p>\n        <p class="ant-upload-text">\u041f\u0435\u0440\u0435\u0442\u0430\u0449\u0438\u0442\u0435 \u0444\u0430\u0439\u043b \u0432 \u044d\u0442\u0443 \u043e\u0431\u043b\u0430\u0441\u0442\u044c \u0434\u043b\u044f \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438</p>\n        <p class="ant-upload-hint"></p>\n      </nz-upload>\n    </nz-form-item>\n    <nz-form-item>\n      <nz-form-label>\u041f\u0440\u0438\u0432\u044f\u0437\u0430\u0442\u044c \u0437\u0430\u0434\u0430\u0447\u0443 \u043a \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0443</nz-form-label>\n      <nz-form-control>\n        <nz-upload\n          nzListType="picture"\n          [(nzFileList)]="docs"\n        >\n          <button nz-button type="button"  nzType="default" class="select-file" (click)="select($event)">\n            <core-icon class="icon" name="app:24-plus"></core-icon>\n            \u0412\u044b\u0431\u0440\u0430\u0442\u044c\n          </button>\n        </nz-upload>\n      </nz-form-control>\n    </nz-form-item>\n</form>\n\n<div *ngIf="isSelectFile">\n    <nz-page-header\n      class="page-header"\n      (nzBack)="onBack()"\n      nzTitle="\u041f\u0440\u0438\u0432\u044f\u0437\u0430\u0442\u044c \u0437\u0430\u0434\u0430\u0447\u0443 \u043a \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0443"\n      nzBackIcon>\n    </nz-page-header>\n    <app-tree-project\n      [getItem]="true"\n      [showDocs]="true"\n      [multiple]="true"\n      (selected)="selectedFile($event)">\n    </app-tree-project>\n</div>\n\n<nz-space *nzModalFooter>\n    <button nz-button nzType="default" *nzSpaceItem (click)="cancel()">{{isSelectFile ? \'\u041d\u0430\u0437\u0430\u0434\' : \'\u041e\u0442\u043c\u0435\u043d\u0430\'}}</button>\n    <button nz-button nzType="primary" [disabled]="!docs.length && !fileList.length && !isSelectFile" [nzLoading]="loading" *nzSpaceItem (click)="send()">{{isSelectFile ? \'\u0412\u044b\u0431\u0440\u0430\u0442\u044c\' : \'\u041e\u0442\u043f\u0440\u0430\u0432\u0438\u0442\u044c\'}}</button>\n</nz-space>  ',providers:[v.a,y.h],styles:[".select-file {\n  width: 113px;\n}\n\n.text-info {\n  color: rgba(0, 0, 0, 0.45);\n}\n\n.page-header {\n  padding: 0;\n}\n\n::ng-deep nz-select.ng-invalid.ng-touched nz-select-top-control,\n.ng-invalid.ng-touched {\n  border-color: red !important;\n}\n\n.hidden {\n  height: 0;\n  opacity: 0;\n  pointer-events: none;\n}"]})],_)},ZUHj:function(e,t,n){"use strict";n.d(t,"a",function(){return a});var r=n("7o/Q");class i extends r.a{constructor(e,t,n){super(),this.parent=e,this.outerValue=t,this.outerIndex=n,this.index=0}_next(e){this.parent.notifyNext(this.outerValue,e,this.outerIndex,this.index++,this)}_error(e){this.parent.notifyError(e,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}var s=n("SeVD"),o=n("HDdC");function a(e,t,n,r,a=new i(e,n,r)){if(!a.closed)return t instanceof o.a?t.subscribe(a):Object(s.a)(t)(a)}},Zduo:function(e,t,n){!function(e){"use strict";e.defineLocale("eo",{months:"januaro_februaro_marto_aprilo_majo_junio_julio_a\u016dgusto_septembro_oktobro_novembro_decembro".split("_"),monthsShort:"jan_feb_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(e){return"p"===e.charAt(0).toLowerCase()},meridiem:function(e,t,n){return e>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"))},Zy1z:function(e,t,n){"use strict";n.d(t,"a",function(){return i});var r=n("7o/Q");function i(){return e=>e.lift(new s)}class s{call(e,t){return t.subscribe(new o(e))}}class o extends r.a{constructor(e){super(e),this.hasPrev=!1}_next(e){let t;this.hasPrev?t=[this.prev,e]:this.hasPrev=!0,this.prev=e,t&&this.destination.next(t)}}},aIdf:function(e,t,n){!function(e){"use strict";function t(e,t,n){return e+" "+i({mm:"munutenn",MM:"miz",dd:"devezh"}[n],e)}function n(e){switch(r(e)){case 1:case 3:case 4:case 5:case 9:return e+" bloaz";default:return e+" vloaz"}}function r(e){return e>9?r(e%10):e}function i(e,t){return 2===t?s(e):e}function s(e){var t={m:"v",b:"v",d:"z"};return void 0===t[e.charAt(0)]?e:t[e.charAt(0)]+e.substring(1)}var o=[/^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],a=/^(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,c=/^(genver|c[\u02bc\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu)/i,l=/^(gen|c[\u02bc\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,u=[/^sul/i,/^lun/i,/^meurzh/i,/^merc[\u02bc\']her/i,/^yaou/i,/^gwener/i,/^sadorn/i],h=[/^Sul/i,/^Lun/i,/^Meu/i,/^Mer/i,/^Yao/i,/^Gwe/i,/^Sad/i],d=[/^Su/i,/^Lu/i,/^Me([^r]|$)/i,/^Mer/i,/^Ya/i,/^Gw/i,/^Sa/i];e.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:d,fullWeekdaysParse:u,shortWeekdaysParse:h,minWeekdaysParse:d,monthsRegex:a,monthsShortRegex:a,monthsStrictRegex:c,monthsShortStrictRegex:l,monthsParse:o,longMonthsParse:o,shortMonthsParse:o,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:t,h:"un eur",hh:"%d eur",d:"un devezh",dd:t,M:"ur miz",MM:t,y:"ur bloaz",yy:n},dayOfMonthOrdinalParse:/\d{1,2}(a\xf1|vet)/,ordinal:function(e){return e+(1===e?"a\xf1":"vet")},week:{dow:1,doy:4},meridiemParse:/a.m.|g.m./,isPM:function(e){return"g.m."===e},meridiem:function(e,t,n){return e<12?"a.m.":"g.m."}})}(n("wd/R"))},aIsn:function(e,t,n){!function(e){"use strict";e.defineLocale("mi",{months:"Kohi-t\u0101te_Hui-tanguru_Pout\u016b-te-rangi_Paenga-wh\u0101wh\u0101_Haratua_Pipiri_H\u014dngoingoi_Here-turi-k\u014dk\u0101_Mahuru_Whiringa-\u0101-nuku_Whiringa-\u0101-rangi_Hakihea".split("_"),monthsShort:"Kohi_Hui_Pou_Pae_Hara_Pipi_H\u014dngoi_Here_Mahu_Whi-nu_Whi-ra_Haki".split("_"),monthsRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,2}/i,weekdays:"R\u0101tapu_Mane_T\u016brei_Wenerei_T\u0101ite_Paraire_H\u0101tarei".split("_"),weekdaysShort:"Ta_Ma_T\u016b_We_T\u0101i_Pa_H\u0101".split("_"),weekdaysMin:"Ta_Ma_T\u016b_We_T\u0101i_Pa_H\u0101".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [i] HH:mm",LLLL:"dddd, D MMMM YYYY [i] HH:mm"},calendar:{sameDay:"[i teie mahana, i] LT",nextDay:"[apopo i] LT",nextWeek:"dddd [i] LT",lastDay:"[inanahi i] LT",lastWeek:"dddd [whakamutunga i] LT",sameElse:"L"},relativeTime:{future:"i roto i %s",past:"%s i mua",s:"te h\u0113kona ruarua",ss:"%d h\u0113kona",m:"he meneti",mm:"%d meneti",h:"te haora",hh:"%d haora",d:"he ra",dd:"%d ra",M:"he marama",MM:"%d marama",y:"he tau",yy:"%d tau"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(n("wd/R"))},aQkU:function(e,t,n){!function(e){"use strict";e.defineLocale("mk",{months:"\u0458\u0430\u043d\u0443\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0458_\u0458\u0443\u043d\u0438_\u0458\u0443\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0432\u0440\u0438_\u043e\u043a\u0442\u043e\u043c\u0432\u0440\u0438_\u043d\u043e\u0435\u043c\u0432\u0440\u0438_\u0434\u0435\u043a\u0435\u043c\u0432\u0440\u0438".split("_"),monthsShort:"\u0458\u0430\u043d_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433_\u0441\u0435\u043f_\u043e\u043a\u0442_\u043d\u043e\u0435_\u0434\u0435\u043a".split("_"),weekdays:"\u043d\u0435\u0434\u0435\u043b\u0430_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0440\u0442\u043e\u043a_\u043f\u0435\u0442\u043e\u043a_\u0441\u0430\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434_\u043f\u043e\u043d_\u0432\u0442\u043e_\u0441\u0440\u0435_\u0447\u0435\u0442_\u043f\u0435\u0442_\u0441\u0430\u0431".split("_"),weekdaysMin:"\u043de_\u043fo_\u0432\u0442_\u0441\u0440_\u0447\u0435_\u043f\u0435_\u0441a".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[\u0414\u0435\u043d\u0435\u0441 \u0432\u043e] LT",nextDay:"[\u0423\u0442\u0440\u0435 \u0432\u043e] LT",nextWeek:"[\u0412\u043e] dddd [\u0432\u043e] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430 \u0432\u043e] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[\u0418\u0437\u043c\u0438\u043d\u0430\u0442\u0430\u0442\u0430] dddd [\u0432\u043e] LT";case 1:case 2:case 4:case 5:return"[\u0418\u0437\u043c\u0438\u043d\u0430\u0442\u0438\u043e\u0442] dddd [\u0432\u043e] LT"}},sameElse:"L"},relativeTime:{future:"\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(e){var t=e%10,n=e%100;return 0===e?e+"-\u0435\u0432":0===n?e+"-\u0435\u043d":n>10&&n<20?e+"-\u0442\u0438":1===t?e+"-\u0432\u0438":2===t?e+"-\u0440\u0438":7===t||8===t?e+"-\u043c\u0438":e+"-\u0442\u0438"},week:{dow:1,doy:7}})}(n("wd/R"))},aetl:function(e,t,n){"use strict";n.d(t,"a",function(){return a});var r=n("/Tr7"),i=n("/h9T"),s=n("jIYg"),o=n("vq9N");function a(e,t){var n,a,c,l,u,h,d,f;Object(s.a)(1,arguments);var p=Object(o.a)(),m=Object(i.a)(null!==(n=null!==(a=null!==(c=null!==(l=null==t?void 0:t.weekStartsOn)&&void 0!==l?l:null==t||null===(u=t.locale)||void 0===u||null===(h=u.options)||void 0===h?void 0:h.weekStartsOn)&&void 0!==c?c:p.weekStartsOn)&&void 0!==a?a:null===(d=p.locale)||void 0===d||null===(f=d.options)||void 0===f?void 0:f.weekStartsOn)&&void 0!==n?n:0);if(!(m>=0&&m<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var g=Object(r.a)(e),v=g.getDay(),y=(v<m?7:0)+v-m;return g.setDate(g.getDate()-y),g.setHours(0,0,0,0),g}},b1Dy:function(e,t,n){!function(e){"use strict";e.defineLocale("en-nz",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n("wd/R"))},bHdf:function(e,t,n){"use strict";n.d(t,"a",function(){return s});var r=n("5+tZ"),i=n("SpAZ");function s(e=Number.POSITIVE_INFINITY){return Object(r.a)(i.a,e)}},bNXi:function(e,t,n){"use strict";n.d(t,"a",function(){return I}),n.d(t,"b",function(){return N});var r=n("fXoL"),i=n("GR68"),s=n("PScX"),o=n("cH1L"),a=n("rDax"),c=n("ofXK"),l=n("pdGh"),u=n("FwiY"),h=n("2Suw"),d=n("/KA4"),f=n("XNiG"),p=n("1G5W"),m=n("JwMs");function g(e,t){1&e&&r.Oc(0,"i",16)}function v(e,t){1&e&&r.Oc(0,"i",17)}function y(e,t){1&e&&r.Oc(0,"i",18)}function b(e,t){1&e&&r.Oc(0,"i",19)}const _=function(e){return{"ant-notification-notice-with-icon":e}};function w(e,t){if(1&e&&(r.Tc(0,"div",7),r.Tc(1,"div",8),r.Tc(2,"div"),r.Rc(3,9),r.Id(4,g,1,0,"i",10),r.Id(5,v,1,0,"i",11),r.Id(6,y,1,0,"i",12),r.Id(7,b,1,0,"i",13),r.Qc(),r.Oc(8,"div",14),r.Oc(9,"div",15),r.Sc(),r.Sc(),r.Sc()),2&e){const e=r.ed();r.zc(1),r.md("ngClass",r.pd(10,_,"blank"!==e.instance.type)),r.zc(1),r.Fc("ant-notification-notice-with-icon","blank"!==e.instance.type),r.zc(1),r.md("ngSwitch",e.instance.type),r.zc(1),r.md("ngSwitchCase","success"),r.zc(1),r.md("ngSwitchCase","info"),r.zc(1),r.md("ngSwitchCase","warning"),r.zc(1),r.md("ngSwitchCase","error"),r.zc(1),r.md("innerHTML",e.instance.title,r.yd),r.zc(1),r.md("innerHTML",e.instance.content,r.yd)}}function S(e,t){}function x(e,t){if(1&e&&(r.Rc(0),r.Oc(1,"i",21),r.Qc()),2&e){const e=t.$implicit;r.zc(1),r.md("nzType",e)}}function O(e,t){if(1&e&&(r.Rc(0),r.Id(1,x,2,1,"ng-container",20),r.Qc()),2&e){const e=r.ed();r.zc(1),r.md("nzStringTemplateOutlet",null==e.instance.options?null:e.instance.options.nzCloseIcon)}}function k(e,t){1&e&&r.Oc(0,"i",22)}const C=function(e,t){return{$implicit:e,data:t}};function M(e,t){if(1&e){const e=r.Uc();r.Tc(0,"nz-notification",5),r.ad("destroyed",function(t){r.xd(e);return r.ed().remove(t.id,t.userAction)}),r.Sc()}if(2&e){const e=t.$implicit,n=r.ed();r.md("instance",e)("placement",n.config.nzPlacement)}}function E(e,t){if(1&e){const e=r.Uc();r.Tc(0,"nz-notification",5),r.ad("destroyed",function(t){r.xd(e);return r.ed().remove(t.id,t.userAction)}),r.Sc()}if(2&e){const e=t.$implicit,n=r.ed();r.md("instance",e)("placement",n.config.nzPlacement)}}function T(e,t){if(1&e){const e=r.Uc();r.Tc(0,"nz-notification",5),r.ad("destroyed",function(t){r.xd(e);return r.ed().remove(t.id,t.userAction)}),r.Sc()}if(2&e){const e=t.$implicit,n=r.ed();r.md("instance",e)("placement",n.config.nzPlacement)}}function j(e,t){if(1&e){const e=r.Uc();r.Tc(0,"nz-notification",5),r.ad("destroyed",function(t){r.xd(e);return r.ed().remove(t.id,t.userAction)}),r.Sc()}if(2&e){const e=t.$implicit,n=r.ed();r.md("instance",e)("placement",n.config.nzPlacement)}}class D extends s.a{constructor(e){super(e),this.destroyed=new r.x}ngOnDestroy(){super.ngOnDestroy(),this.instance.onClick.complete()}onClick(e){this.instance.onClick.next(e)}close(){this.destroy(!0)}get state(){return"enter"===this.instance.state?"topLeft"===this.placement||"bottomLeft"===this.placement?"enterLeft":"enterRight":this.instance.state}}D.\u0275fac=function(e){return new(e||D)(r.Nc(r.k))},D.\u0275cmp=r.Hc({type:D,selectors:[["nz-notification"]],inputs:{instance:"instance",placement:"placement",index:"index"},outputs:{destroyed:"destroyed"},exportAs:["nzNotification"],features:[r.wc],decls:8,vars:12,consts:[[1,"ant-notification-notice","ant-notification-notice-closable",3,"ngStyle","ngClass","click","mouseenter","mouseleave"],["class","ant-notification-notice-content",4,"ngIf"],[3,"ngIf","ngTemplateOutlet","ngTemplateOutletContext"],["tabindex","0",1,"ant-notification-notice-close",3,"click"],[1,"ant-notification-notice-close-x"],[4,"ngIf","ngIfElse"],["iconTpl",""],[1,"ant-notification-notice-content"],[1,"ant-notification-notice-content",3,"ngClass"],[3,"ngSwitch"],["nz-icon","","nzType","check-circle","class","ant-notification-notice-icon ant-notification-notice-icon-success",4,"ngSwitchCase"],["nz-icon","","nzType","info-circle","class","ant-notification-notice-icon ant-notification-notice-icon-info",4,"ngSwitchCase"],["nz-icon","","nzType","exclamation-circle","class","ant-notification-notice-icon ant-notification-notice-icon-warning",4,"ngSwitchCase"],["nz-icon","","nzType","close-circle","class","ant-notification-notice-icon ant-notification-notice-icon-error",4,"ngSwitchCase"],[1,"ant-notification-notice-message",3,"innerHTML"],[1,"ant-notification-notice-description",3,"innerHTML"],["nz-icon","","nzType","check-circle",1,"ant-notification-notice-icon","ant-notification-notice-icon-success"],["nz-icon","","nzType","info-circle",1,"ant-notification-notice-icon","ant-notification-notice-icon-info"],["nz-icon","","nzType","exclamation-circle",1,"ant-notification-notice-icon","ant-notification-notice-icon-warning"],["nz-icon","","nzType","close-circle",1,"ant-notification-notice-icon","ant-notification-notice-icon-error"],[4,"nzStringTemplateOutlet"],["nz-icon","",3,"nzType"],["nz-icon","","nzType","close",1,"ant-notification-close-icon"]],template:function(e,t){if(1&e&&(r.Tc(0,"div",0),r.ad("@notificationMotion.done",function(e){return t.animationStateChanged.next(e)})("click",function(e){return t.onClick(e)})("mouseenter",function(){return t.onEnter()})("mouseleave",function(){return t.onLeave()}),r.Id(1,w,10,12,"div",1),r.Id(2,S,0,0,"ng-template",2),r.Tc(3,"a",3),r.ad("click",function(){return t.close()}),r.Tc(4,"span",4),r.Id(5,O,2,1,"ng-container",5),r.Id(6,k,1,0,"ng-template",null,6,r.Jd),r.Sc(),r.Sc(),r.Sc()),2&e){const e=r.ud(7);r.md("ngStyle",(null==t.instance.options?null:t.instance.options.nzStyle)||null)("ngClass",(null==t.instance.options?null:t.instance.options.nzClass)||"")("@notificationMotion",t.state),r.zc(1),r.md("ngIf",!t.instance.template),r.zc(1),r.md("ngIf",t.instance.template)("ngTemplateOutlet",t.instance.template)("ngTemplateOutletContext",r.qd(9,C,t,null==t.instance.options?null:t.instance.options.nzData)),r.zc(3),r.md("ngIf",null==t.instance.options?null:t.instance.options.nzCloseIcon)("ngIfElse",e)}},directives:[c.p,c.m,c.o,c.t,c.q,c.r,u.b,l.b],encapsulation:2,data:{animation:[i.e]}}),D.ctorParameters=()=>[{type:r.k}],D.propDecorators={instance:[{type:r.G}],placement:[{type:r.G}],index:[{type:r.G}],destroyed:[{type:r.S}]};const A="notification",L={nzTop:"24px",nzBottom:"24px",nzPlacement:"topRight",nzDuration:4500,nzMaxStack:7,nzPauseOnHover:!0,nzAnimate:!0,nzDirection:"ltr"};class z extends s.b{constructor(e,t){super(e,t),this.dir="ltr",this.instances=[],this.topLeftInstances=[],this.topRightInstances=[],this.bottomLeftInstances=[],this.bottomRightInstances=[];const n=this.nzConfigService.getConfigForComponent(A);this.dir=(null==n?void 0:n.nzDirection)||"ltr"}create(e){const t=this.onCreate(e),n=t.options.nzKey,r=this.instances.find(t=>t.options.nzKey===e.options.nzKey);return n&&r?this.replaceNotification(r,t):(this.instances.length>=this.config.nzMaxStack&&(this.instances=this.instances.slice(1)),this.instances=[...this.instances,t]),this.readyInstances(),t}onCreate(e){return e.options=this.mergeOptions(e.options),e.onClose=new f.a,e.onClick=new f.a,e}subscribeConfigChange(){this.nzConfigService.getConfigChangeEventForComponent(A).pipe(Object(p.a)(this.destroy$)).subscribe(()=>{this.updateConfig();const e=this.nzConfigService.getConfigForComponent(A);if(e){const{nzDirection:t}=e;this.dir=t||this.dir}})}updateConfig(){this.config=Object.assign(Object.assign(Object.assign({},L),this.config),this.nzConfigService.getConfigForComponent(A)),this.top=Object(d.E)(this.config.nzTop),this.bottom=Object(d.E)(this.config.nzBottom),this.cdr.markForCheck()}replaceNotification(e,t){e.title=t.title,e.content=t.content,e.template=t.template,e.type=t.type,e.options=t.options}readyInstances(){this.topLeftInstances=this.instances.filter(e=>"topLeft"===e.options.nzPlacement),this.topRightInstances=this.instances.filter(e=>"topRight"===e.options.nzPlacement||!e.options.nzPlacement),this.bottomLeftInstances=this.instances.filter(e=>"bottomLeft"===e.options.nzPlacement),this.bottomRightInstances=this.instances.filter(e=>"bottomRight"===e.options.nzPlacement),this.cdr.detectChanges()}mergeOptions(e){const{nzDuration:t,nzAnimate:n,nzPauseOnHover:r,nzPlacement:i}=this.config;return Object.assign({nzDuration:t,nzAnimate:n,nzPauseOnHover:r,nzPlacement:i},e)}}z.\u0275fac=function(e){return new(e||z)(r.Nc(r.k),r.Nc(h.a))},z.\u0275cmp=r.Hc({type:z,selectors:[["nz-notification-container"]],exportAs:["nzNotificationContainer"],features:[r.wc],decls:8,vars:28,consts:[[1,"ant-notification","ant-notification-topLeft"],[3,"instance","placement","destroyed",4,"ngFor","ngForOf"],[1,"ant-notification","ant-notification-topRight"],[1,"ant-notification","ant-notification-bottomLeft"],[1,"ant-notification","ant-notification-bottomRight"],[3,"instance","placement","destroyed"]],template:function(e,t){1&e&&(r.Tc(0,"div",0),r.Id(1,M,1,2,"nz-notification",1),r.Sc(),r.Tc(2,"div",2),r.Id(3,E,1,2,"nz-notification",1),r.Sc(),r.Tc(4,"div",3),r.Id(5,T,1,2,"nz-notification",1),r.Sc(),r.Tc(6,"div",4),r.Id(7,j,1,2,"nz-notification",1),r.Sc()),2&e&&(r.Fd("top",t.top)("left","0px"),r.Fc("ant-notification-rtl","rtl"===t.dir),r.zc(1),r.md("ngForOf",t.topLeftInstances),r.zc(1),r.Fd("top",t.top)("right","0px"),r.Fc("ant-notification-rtl","rtl"===t.dir),r.zc(1),r.md("ngForOf",t.topRightInstances),r.zc(1),r.Fd("bottom",t.bottom)("left","0px"),r.Fc("ant-notification-rtl","rtl"===t.dir),r.zc(1),r.md("ngForOf",t.bottomLeftInstances),r.zc(1),r.Fd("bottom",t.bottom)("right","0px"),r.Fc("ant-notification-rtl","rtl"===t.dir),r.zc(1),r.md("ngForOf",t.bottomRightInstances))},directives:[c.n,D],encapsulation:2,changeDetection:0}),z.ctorParameters=()=>[{type:r.k},{type:h.a}];class P{}P.\u0275mod=r.Lc({type:P}),P.\u0275inj=r.Kc({factory:function(e){return new(e||P)}});class I{}I.\u0275mod=r.Lc({type:I}),I.\u0275inj=r.Kc({factory:function(e){return new(e||I)},imports:[[o.a,c.c,a.g,u.c,l.a,P]]}),("undefined"==typeof ngJitMode||ngJitMode)&&r.Bd(I,{declarations:function(){return[D,z]},imports:function(){return[o.a,c.c,a.g,u.c,l.a,P]}});let R=0;class N extends s.c{constructor(e,t,n){super(e,t,n),this.componentPrefix="notification-"}success(e,t,n){return this.createInstance({type:"success",title:e,content:t},n)}error(e,t,n){return this.createInstance({type:"error",title:e,content:t},n)}info(e,t,n){return this.createInstance({type:"info",title:e,content:t},n)}warning(e,t,n){return this.createInstance({type:"warning",title:e,content:t},n)}blank(e,t,n){return this.createInstance({type:"blank",title:e,content:t},n)}create(e,t,n,r){return this.createInstance({type:e,title:t,content:n},r)}template(e,t){return this.createInstance({template:e},t)}generateMessageId(){return`${this.componentPrefix}-${R++}`}createInstance(e,t){return this.container=this.withContainer(z),this.container.create(Object.assign(Object.assign({},e),{createdAt:new Date,messageId:this.generateMessageId(),options:t}))}}N.\u0275fac=function(e){return new(e||N)(r.Xc(m.f),r.Xc(a.d),r.Xc(r.F))},N.\u0275prov=Object(r.Jc)({factory:function(){return new N(Object(r.Xc)(m.f),Object(r.Xc)(a.d),Object(r.Xc)(r.B))},token:N,providedIn:P}),N.ctorParameters=()=>[{type:m.f},{type:a.d},{type:r.F}]},bOMt:function(e,t,n){!function(e){"use strict";e.defineLocale("nb",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_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(e,t,n){"use strict";n.d(t,"a",function(){return i});var r=n("5+tZ");function i(e,t){return Object(r.a)(e,t,1)}},bPt0:function(e,t,n){"use strict";n.d(t,"a",function(){return s});var r=n("mrSG"),i=n("fXoL");let s=class{};s=Object(r.b)([Object(i.n)({selector:"app-loading-modal",template:'<app-loading-panel [borderless]="false"></app-loading-panel>',styles:["\n      :host {\n        display: flex;\n        width: 100vw;\n        height: 100vh;\n      }\n\n      app-loading-panel {\n        margin: auto;\n        width: 10rem;\n        height: 7rem;\n        max-width: 90vw;\n        max-height: 90vh;\n      }\n    "]})],s)},bXm7:function(e,t,n){!function(e){"use strict";var t={0:"-\u0448\u0456",1:"-\u0448\u0456",2:"-\u0448\u0456",3:"-\u0448\u0456",4:"-\u0448\u0456",5:"-\u0448\u0456",6:"-\u0448\u044b",7:"-\u0448\u0456",8:"-\u0448\u0456",9:"-\u0448\u044b",10:"-\u0448\u044b",20:"-\u0448\u044b",30:"-\u0448\u044b",40:"-\u0448\u044b",50:"-\u0448\u0456",60:"-\u0448\u044b",70:"-\u0448\u0456",80:"-\u0448\u0456",90:"-\u0448\u044b",100:"-\u0448\u0456"};e.defineLocale("kk",{months:"\u049b\u0430\u04a3\u0442\u0430\u0440_\u0430\u049b\u043f\u0430\u043d_\u043d\u0430\u0443\u0440\u044b\u0437_\u0441\u04d9\u0443\u0456\u0440_\u043c\u0430\u043c\u044b\u0440_\u043c\u0430\u0443\u0441\u044b\u043c_\u0448\u0456\u043b\u0434\u0435_\u0442\u0430\u043c\u044b\u0437_\u049b\u044b\u0440\u043a\u04af\u0439\u0435\u043a_\u049b\u0430\u0437\u0430\u043d_\u049b\u0430\u0440\u0430\u0448\u0430_\u0436\u0435\u043b\u0442\u043e\u049b\u0441\u0430\u043d".split("_"),monthsShort:"\u049b\u0430\u04a3_\u0430\u049b\u043f_\u043d\u0430\u0443_\u0441\u04d9\u0443_\u043c\u0430\u043c_\u043c\u0430\u0443_\u0448\u0456\u043b_\u0442\u0430\u043c_\u049b\u044b\u0440_\u049b\u0430\u0437_\u049b\u0430\u0440_\u0436\u0435\u043b".split("_"),weekdays:"\u0436\u0435\u043a\u0441\u0435\u043d\u0431\u0456_\u0434\u04af\u0439\u0441\u0435\u043d\u0431\u0456_\u0441\u0435\u0439\u0441\u0435\u043d\u0431\u0456_\u0441\u04d9\u0440\u0441\u0435\u043d\u0431\u0456_\u0431\u0435\u0439\u0441\u0435\u043d\u0431\u0456_\u0436\u04b1\u043c\u0430_\u0441\u0435\u043d\u0431\u0456".split("_"),weekdaysShort:"\u0436\u0435\u043a_\u0434\u04af\u0439_\u0441\u0435\u0439_\u0441\u04d9\u0440_\u0431\u0435\u0439_\u0436\u04b1\u043c_\u0441\u0435\u043d".split("_"),weekdaysMin:"\u0436\u043a_\u0434\u0439_\u0441\u0439_\u0441\u0440_\u0431\u0439_\u0436\u043c_\u0441\u043d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0411\u04af\u0433\u0456\u043d \u0441\u0430\u0493\u0430\u0442] LT",nextDay:"[\u0415\u0440\u0442\u0435\u04a3 \u0441\u0430\u0493\u0430\u0442] LT",nextWeek:"dddd [\u0441\u0430\u0493\u0430\u0442] LT",lastDay:"[\u041a\u0435\u0448\u0435 \u0441\u0430\u0493\u0430\u0442] LT",lastWeek:"[\u04e8\u0442\u043a\u0435\u043d \u0430\u043f\u0442\u0430\u043d\u044b\u04a3] dddd [\u0441\u0430\u0493\u0430\u0442] LT",sameElse:"L"},relativeTime:{future:"%s \u0456\u0448\u0456\u043d\u0434\u0435",past:"%s \u0431\u04b1\u0440\u044b\u043d",s:"\u0431\u0456\u0440\u043d\u0435\u0448\u0435 \u0441\u0435\u043a\u0443\u043d\u0434",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434",m:"\u0431\u0456\u0440 \u043c\u0438\u043d\u0443\u0442",mm:"%d \u043c\u0438\u043d\u0443\u0442",h:"\u0431\u0456\u0440 \u0441\u0430\u0493\u0430\u0442",hh:"%d \u0441\u0430\u0493\u0430\u0442",d:"\u0431\u0456\u0440 \u043a\u04af\u043d",dd:"%d \u043a\u04af\u043d",M:"\u0431\u0456\u0440 \u0430\u0439",MM:"%d \u0430\u0439",y:"\u0431\u0456\u0440 \u0436\u044b\u043b",yy:"%d \u0436\u044b\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0448\u0456|\u0448\u044b)/,ordinal:function(e){var n=e%10,r=e>=100?100:null;return e+(t[e]||t[n]||t[r])},week:{dow:1,doy:7}})}(n("wd/R"))},bYM6:function(e,t,n){!function(e){"use strict";e.defineLocale("ar-tn",{months:"\u062c\u0627\u0646\u0641\u064a_\u0641\u064a\u0641\u0631\u064a_\u0645\u0627\u0631\u0633_\u0623\u0641\u0631\u064a\u0644_\u0645\u0627\u064a_\u062c\u0648\u0627\u0646_\u062c\u0648\u064a\u0644\u064a\u0629_\u0623\u0648\u062a_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),monthsShort:"\u062c\u0627\u0646\u0641\u064a_\u0641\u064a\u0641\u0631\u064a_\u0645\u0627\u0631\u0633_\u0623\u0641\u0631\u064a\u0644_\u0645\u0627\u064a_\u062c\u0648\u0627\u0646_\u062c\u0648\u064a\u0644\u064a\u0629_\u0623\u0648\u062a_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:1,doy:4}})}(n("wd/R"))},bpih:function(e,t,n){!function(e){"use strict";e.defineLocale("it",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_luned\xec_marted\xec_mercoled\xec_gioved\xec_venerd\xec_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay: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"))},btuV:function(e,t,n){"use strict";n.d(t,"a",function(){return w}),n.d(t,"b",function(){return S}),n.d(t,"c",function(){return y}),n.d(t,"d",function(){return x});var r=n("tk/3"),i=n("fXoL"),s=n("xwJx"),o=n("mjQ1"),a=n("SURy"),c=n("mrSG"),l=n("2kdd"),u=n("lJxs");class h{constructor(e,t){this.http=e,this.url=e=>`${t}/principals/${e}/privileges`}get(e){return this.http.get(this.url(e)).toPromise()}set(e,t){return this.http.patch(this.url(e),t).toPromise()}remove(e){return this.http.delete(this.url(e)).toPromise()}}const d={from:e=>e,to:e=>(null==e?void 0:e.length)&&e.map(e=>({id:e.id,classId:e.classId,name:e.properties[s.w.entities.attributes.name]}))},f={class:s.w.profiles.class,root:s.w.profiles.root.id,collection:s.w.profiles.collection,properties:Object.assign(Object.assign({name:s.w.entities.attributes.name},s.w.profiles.attributes),{projectAreas:{id:"2fee450d-8efa-4411-9fc3-1f62866bc402",map:d},paymentOrganization:{id:"4b82f09e-98de-4952-83f1-ade9e818fadc",map:d},created:s.w.entities.attributes.created})};class p{constructor(e,t){this.entities=e,this.metadata=t}get(e){return Object(c.a)(this,void 0,void 0,function*(){Array.isArray(e)&&!e.length&&Object(s.J)("At least one username must be provided");const{root:{id:t},class:n}=s.w.profiles,r=yield this.metadata.classes.get(n).then(e=>(this.setReferences(e,"\u041f\u043b\u0430\u0442\u0435\u0436\u043d\u0430\u044f \u043e\u0440\u0433\u0430\u043d\u0438\u0437\u0430\u0446\u0438\u044f")&&(f.properties.paymentOrganization={id:this.setReferences(e,"\u041f\u043b\u0430\u0442\u0435\u0436\u043d\u0430\u044f \u043e\u0440\u0433\u0430\u043d\u0438\u0437\u0430\u0446\u0438\u044f"),map:d}),this.setReferences(e,"\u041f\u0440\u043e\u0435\u043a\u0442\u043d\u044b\u0435 \u043e\u0431\u043b\u0430\u0441\u0442\u0438")&&(f.properties.projectAreas={id:this.setReferences(e,"\u041f\u0440\u043e\u0435\u043a\u0442\u043d\u044b\u0435 \u043e\u0431\u043b\u0430\u0441\u0442\u0438"),map:d}),e)),i=Array.isArray(e)?Array.from(new Set(e)):[e],a=yield this.entities.analytic.query({where:Object(l.a)([{ancestors:{exists:{id:{eq:t}}}},{class:{eq:n}},Object(l.b)(i.map(e=>({[Object(l.c)(s.w.entities.attributes.name)]:{eq:e}})))]),select:Object(o.f)(f,r)},{skip:0,take:e.length}).pipe(Object(u.a)(({items:e})=>e.map(e=>Object.assign(Object.assign({},Object(o.j)(e,f)),{permissions:e.permissions})))).toPromise();return Array.isArray(e)?a:a[0]})}setReferences(e,t){return Array.from(Object.keys(e.references)).find(n=>{var r;return(null===(r=e.references[n])||void 0===r?void 0:r.name)===t})}update(e,t,n){return Object(c.a)(this,void 0,void 0,function*(){const r=yield this.metadata.classes.get(f.class),i=Object(o.i)(t,n,f,r);return yield this.entities.update(Object.assign({id:e},i))})}}class m extends s.c{constructor(e,t){super(e,t+"/roles")}usersIn(e){return this.http.get(this.usersUrl(e)).toPromise()}addUsers(e,...t){return this.http.patch(this.usersUrl(e),t).toPromise()}removeUsers(e,...t){return this.http.delete(this.usersUrl(e),{params:Object(s.s)({ids:t})}).toPromise()}usersUrl(e){return`${this.url}/${e}/users`}}class g extends s.c{constructor(e,t){super(e,t+"/users")}update(e){const t=Object.create(null,{update:{get:()=>super.update}});return Object(c.a)(this,void 0,void 0,function*(){return yield t.update.call(this,e),{id:e.id,name:"not supported",principal:0}})}rolesOf(e){return this.http.get(this.rolesUrl(e)).toPromise()}addRoles(e,...t){return this.http.patch(this.rolesUrl(e),t).toPromise()}removeRoles(e,...t){return this.http.delete(this.rolesUrl(e),{params:Object(s.s)({ids:t})}).toPromise()}inviteUser(e){return this.http.post(this.url+"/invite",e).toPromise()}creatUserByInvitation(e){return this.http.post(this.url+"/createByInvitation",{requestId:e}).toPromise()}rolesUrl(e){return`${this.url}/${e}/roles`}}function v({core:e}){return e+"/security"}class y{constructor(e,t,n,r){const i=v(t);this.users=new g(e,i),this.roles=new m(e,i),this.privileges=new h(e,i),this.profiles=new p(n,r)}}y.\u0275fac=function(e){return new(e||y)(i.Xc(r.c),i.Xc(s.a),i.Xc(o.a),i.Xc(a.c))},y.\u0275prov=i.Jc({token:y,factory:y.\u0275fac}),y.ctorParameters=()=>[{type:r.c},{type:s.a},{type:o.a},{type:a.c}];class b extends h{constructor(){super(...arguments),this.get=s.K,this.set=s.K,this.remove=s.K}}class _ extends p{constructor(){super(...arguments),this.cache=new Map}get(e){const t=Object.create(null,{get:{get:()=>super.get}});return Object(c.a)(this,void 0,void 0,function*(){const n=Array.isArray(e)?e:[e],r=n.filter(e=>!this.cache.has(e));if(r.length){const e=t.get.call(this,r);r.forEach(t=>e.then(n=>{n.find(e=>e.name===t)&&this.cache.set(t,e.then(e=>{var n;return null!==(n=e.find(e=>e.name===t))&&void 0!==n?n:Object(s.J)(`Profile for "${t}" is not found`)}))})),yield e}const i=yield Promise.all(n.map(e=>this.cache.get(e)));return Array.isArray(e)?i:i[0]})}}class w{constructor(e,t,n,r){const i=v(t);this.users=new class extends(Object(s.d)(g)){constructor(){super(...arguments),this.cache=new Map,this.addRoles=s.K,this.removeRoles=s.K}rolesOf(e){return function(e,t,n){var r;return null!==(r=n.get(e))&&void 0!==r?r:i();function i(){const r=t();return n.set(e,r),r}}(e,()=>super.rolesOf(e),this.cache)}}(e,i),this.roles=new(Object(s.d)(m))(e,i),this.privileges=new b(e,i),this.profiles=new _(n,r)}}var S;function x(e,t){return(e&t)===t}w.\u0275fac=function(e){return new(e||w)(i.Xc(r.c),i.Xc(s.a),i.Xc(o.a),i.Xc(a.c))},w.\u0275prov=i.Jc({token:w,factory:w.\u0275fac}),w.ctorParameters=()=>[{type:r.c},{type:s.a},{type:o.a},{type:a.c}],function(e){e[e.None=0]="None",e[e.Create=1]="Create",e[e.Read=2]="Read",e[e.Update=4]="Update",e[e.Delete=8]="Delete",e[e.Protect=16]="Protect"}(S||(S={}))},bxKX:function(e,t,n){!function(e){"use strict";e.defineLocale("it-ch",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_luned\xec_marted\xec_mercoled\xec_gioved\xec_venerd\xec_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Oggi alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",lastDay:"[Ieri alle] LT",lastWeek:function(){switch(this.day()){case 0:return"[la scorsa] dddd [alle] LT";default:return"[lo scorso] dddd [alle] LT"}},sameElse:"L"},relativeTime:{future:function(e){return(/^[0-9].+$/.test(e)?"tra":"in")+" "+e},past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(n("wd/R"))},c2HN:function(e,t,n){"use strict";function r(e){return!!e&&"function"!=typeof e.subscribe&&"function"==typeof e.then}n.d(t,"a",function(){return r})},cGdJ:function(e,t,n){"use strict";n.d(t,"a",function(){return s}),n.d(t,"b",function(){return o}),n.d(t,"c",function(){return a}),n.d(t,"d",function(){return c}),n.d(t,"e",function(){return l});var r=n("xwJx"),i=n("mjQ1");const s={class:"73fa005f-7893-469b-8aa2-2781c04fa280",root:r.w.entities.root.id,collection:r.w.entities.collection,properties:Object.assign(Object.assign({},r.w.entities.attributes),{created:"afb7ee38-c5b6-11e9-bdef-0242ac110002",name:"ab07a132-ca5a-11e9-a094-0242ac110002",type:"61a6973d-a175-4d55-8fca-085e24dc85ba"})},o={class:"be3013fd-6570-479b-bc44-7888e0e94a81",root:r.w.entities.root.id,collection:r.w.entities.collection,properties:Object.assign(Object.assign({},r.w.entities.attributes),{created:"afb7ee38-c5b6-11e9-bdef-0242ac110002",name:"ab07a132-ca5a-11e9-a094-0242ac110002",type:"61a6973d-a175-4d55-8fca-085e24dc85ba",dateFinished:"9aa3862e-463c-448b-a663-bbd301f3c487"})},a=(r.w.entities.root.id,r.w.entities.collection,Object.assign(Object.assign({},r.w.entities.attributes),{created:"afb7ee38-c5b6-11e9-bdef-0242ac110002",name:"ab07a132-ca5a-11e9-a094-0242ac110002"}),{class:"f5a601c1-5b04-4b34-9e68-70d6249e39d3",root:r.w.entities.root.id,collection:r.w.entities.collection,properties:Object.assign(Object.assign({},r.w.entities.attributes),{created:"afb7ee38-c5b6-11e9-bdef-0242ac110002",name:"ab07a132-ca5a-11e9-a094-0242ac110002",dateFinished:"9aa3862e-463c-448b-a663-bbd301f3c487",dateStarted:"00a47e93-0957-421e-85e4-e503e7328a51",color:{id:"96e9aaf2-9c20-42dc-84bc-e2f255e327e9",map:i.b.option}})}),c={class:"f9dfb85f-6a79-4824-adf1-ea6d40490b18",root:r.w.entities.root.id,collection:r.w.entities.collection,properties:{created:"afb7ee38-c5b6-11e9-bdef-0242ac110002",name:"ab07a132-ca5a-11e9-a094-0242ac110002"}},l={class:"7ab2f9d8-3c47-4e06-9714-b09303a5d6a9",root:r.w.entities.root.id,collection:r.w.entities.collection,properties:{color:"c456e78b-abbf-4baf-bcd7-70fa0399ed8d",name:"ab07a132-ca5a-11e9-a094-0242ac110002"}}},cH1L:function(e,t,n){"use strict";n.d(t,"a",function(){return c}),n.d(t,"b",function(){return a}),n.d(t,"c",function(){return o});var r=n("fXoL"),i=n("ofXK");const s=new r.E("cdk-dir-doc",{providedIn:"root",factory:function(){return Object(r.tb)(i.d)}});class o{constructor(e){if(this.value="ltr",this.change=new r.x,e){const t=e.body?e.body.dir:null,n=e.documentElement?e.documentElement.dir:null,r=t||n;this.value="ltr"===r||"rtl"===r?r:"ltr"}}ngOnDestroy(){this.change.complete()}}o.\u0275fac=function(e){return new(e||o)(r.Xc(s,8))},o.\u0275prov=Object(r.Jc)({factory:function(){return new o(Object(r.Xc)(s,8))},token:o,providedIn:"root"}),o.ctorParameters=()=>[{type:void 0,decorators:[{type:r.R},{type:r.C,args:[s]}]}];class a{constructor(){this._dir="ltr",this._isInitialized=!1,this.change=new r.x}get dir(){return this._dir}set dir(e){const t=this._dir,n=e?e.toLowerCase():e;this._rawDir=e,this._dir="ltr"===n||"rtl"===n?n:"ltr",t!==this._dir&&this._isInitialized&&this.change.emit(this._dir)}get value(){return this.dir}ngAfterContentInit(){this._isInitialized=!0}ngOnDestroy(){this.change.complete()}}a.\u0275fac=function(e){return new(e||a)},a.\u0275dir=r.Ic({type:a,selectors:[["","dir",""]],hostVars:1,hostBindings:function(e,t){2&e&&r.Ac("dir",t._rawDir)},inputs:{dir:"dir"},outputs:{change:"dirChange"},exportAs:["dir"],features:[r.yc([{provide:o,useExisting:a}])]}),a.propDecorators={change:[{type:r.S,args:["dirChange"]}],dir:[{type:r.G}]};class c{}c.\u0275mod=r.Lc({type:c}),c.\u0275inj=r.Kc({factory:function(e){return new(e||c)}}),("undefined"==typeof ngJitMode||ngJitMode)&&r.Bd(c,{declarations:[a],exports:[a]})},cRix:function(e,t,n){!function(e){"use strict";var t="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("_");e.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(e,r){return e?/-MMM-/.test(r)?n[e.month()]:t[e.month()]:t},monthsParseExact:!0,weekdays:"snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon".split("_"),weekdaysShort:"si._mo._ti._wo._to._fr._so.".split("_"),weekdaysMin:"Si_Mo_Ti_Wo_To_Fr_So".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[hjoed om] LT",nextDay:"[moarn om] LT",nextWeek:"dddd [om] LT",lastDay:"[juster om] LT",lastWeek:"[\xf4fr\xfbne] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oer %s",past:"%s lyn",s:"in pear sekonden",ss:"%d sekonden",m:"ien min\xfat",mm:"%d minuten",h:"ien oere",hh:"%d oeren",d:"ien dei",dd:"%d dagen",M:"ien moanne",MM:"%d moannen",y:"ien jier",yy:"%d jierren"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(n("wd/R"))},cp0P:function(e,t,n){"use strict";n.d(t,"a",function(){return c});var r=n("HDdC"),i=n("DH7j"),s=n("lJxs"),o=n("XoHu"),a=n("Cfvw");function c(...e){if(1===e.length){const t=e[0];if(Object(i.a)(t))return l(t,null);if(Object(o.a)(t)&&Object.getPrototypeOf(t)===Object.prototype){const e=Object.keys(t);return l(e.map(e=>t[e]),e)}}if("function"==typeof e[e.length-1]){const t=e.pop();return l(e=1===e.length&&Object(i.a)(e[0])?e[0]:e,null).pipe(Object(s.a)(e=>t(...e)))}return l(e,null)}function l(e,t){return new r.a(n=>{const r=e.length;if(0===r)return void n.complete();const i=new Array(r);let s=0,o=0;for(let c=0;c<r;c++){const l=Object(a.a)(e[c]);let u=!1;n.add(l.subscribe({next:e=>{u||(u=!0,o++),i[c]=e},error:e=>n.error(e),complete:()=>{s++,s!==r&&u||(o===r&&n.next(t?t.reduce((e,t,n)=>(e[t]=i[n],e),{}):i),n.complete())}}))}})}},czMo:function(e,t,n){!function(e){"use strict";e.defineLocale("en-il",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}})}(n("wd/R"))},dEAy:function(e,t,n){"use strict";n.d(t,"a",function(){return Te}),n.d(t,"b",function(){return be}),n.d(t,"c",function(){return _e});var r=n("cH1L"),i=n("rDax"),s=n("+rOU"),o=n("fXoL"),a=n("2Suw"),c=n("79xS"),l=n("/KA4"),u=n("XNiG"),h=n("NXyV"),d=n("1G5W"),f=n("pLZG"),p=n("IzEk"),m=n("JX91"),g=n("u47x"),v=n("ofXK"),y=n("R1ws"),b=n("Rm4T"),_=n("R0Ic"),w=n("mrSG"),S=n("FtGj"),x=n("OzZK"),O=n("YF2q"),k=n("pdGh"),C=n("FwiY"),M=n("HSCc"),E=n("C2AL"),T=n("RwU8");const j=["modalElement"];function D(e,t){if(1&e){const e=o.Uc();o.Tc(0,"button",16),o.ad("click",function(){o.xd(e);return o.ed().onCloseClick()}),o.Sc()}}function A(e,t){if(1&e&&(o.Rc(0),o.Oc(1,"span",17),o.Qc()),2&e){const e=o.ed();o.zc(1),o.md("innerHTML",e.config.nzTitle,o.yd)}}function L(e,t){}function z(e,t){if(1&e&&o.Oc(0,"div",17),2&e){const e=o.ed();o.md("innerHTML",e.config.nzContent,o.yd)}}function P(e,t){if(1&e){const e=o.Uc();o.Tc(0,"button",18),o.ad("click",function(){o.xd(e);return o.ed().onCancel()}),o.Kd(1),o.Sc()}if(2&e){const e=o.ed();o.md("nzLoading",!!e.config.nzCancelLoading)("disabled",e.config.nzCancelDisabled),o.Ac("cdkFocusInitial","cancel"===e.config.nzAutofocus||null),o.zc(1),o.Md(" ",e.config.nzCancelText||e.locale.cancelText," ")}}function I(e,t){if(1&e){const e=o.Uc();o.Tc(0,"button",19),o.ad("click",function(){o.xd(e);return o.ed().onOk()}),o.Kd(1),o.Sc()}if(2&e){const e=o.ed();o.md("nzType",e.config.nzOkType)("nzLoading",!!e.config.nzOkLoading)("disabled",e.config.nzOkDisabled)("nzDanger",e.config.nzOkDanger),o.Ac("cdkFocusInitial","ok"===e.config.nzAutofocus||null),o.zc(1),o.Md(" ",e.config.nzOkText||e.locale.okText," ")}}function R(e,t){if(1&e){const e=o.Uc();o.Tc(0,"button",9),o.ad("click",function(){o.xd(e);return o.ed().onCloseClick()}),o.Sc()}}function N(e,t){1&e&&o.Oc(0,"div",10)}function H(e,t){}function F(e,t){if(1&e&&o.Oc(0,"div",11),2&e){const e=o.ed();o.md("innerHTML",e.config.nzContent,o.yd)}}function V(e,t){if(1&e){const e=o.Uc();o.Tc(0,"div",12),o.ad("cancelTriggered",function(){o.xd(e);return o.ed().onCloseClick()})("okTriggered",function(){o.xd(e);return o.ed().onOkClick()}),o.Sc()}if(2&e){const e=o.ed();o.md("modalRef",e.modalRef)}}function B(e,t){1&e&&o.kd(0)}function Y(e,t){if(1&e&&(o.Rc(0),o.Oc(1,"i",2),o.Qc()),2&e){const e=t.$implicit;o.zc(1),o.md("nzType",e)}}function U(e,t){if(1&e&&o.Oc(0,"div",5),2&e){const e=o.ed(3);o.md("innerHTML",e.config.nzFooter,o.yd)}}function W(e,t){if(1&e){const e=o.Uc();o.Tc(0,"button",7),o.ad("click",function(){o.xd(e);const n=t.$implicit;return o.ed(4).onButtonClick(n)}),o.Kd(1),o.Sc()}if(2&e){const e=t.$implicit,n=o.ed(4);o.md("hidden",!n.getButtonCallableProp(e,"show"))("nzLoading",n.getButtonCallableProp(e,"loading"))("disabled",n.getButtonCallableProp(e,"disabled"))("nzType",e.type)("nzDanger",e.danger)("nzShape",e.shape)("nzSize",e.size)("nzGhost",e.ghost),o.zc(1),o.Md(" ",e.label," ")}}function q(e,t){if(1&e&&(o.Rc(0),o.Id(1,W,2,9,"button",6),o.Qc()),2&e){const e=o.ed(3);o.zc(1),o.md("ngForOf",e.buttons)}}function $(e,t){if(1&e&&(o.Rc(0),o.Id(1,U,1,1,"div",3),o.Id(2,q,2,1,"ng-container",4),o.Qc()),2&e){const e=o.ed(2);o.zc(1),o.md("ngIf",!e.buttonsFooter),o.zc(1),o.md("ngIf",e.buttonsFooter)}}const G=function(e,t){return{$implicit:e,modalRef:t}};function X(e,t){if(1&e&&(o.Rc(0),o.Id(1,$,3,2,"ng-container",2),o.Qc()),2&e){const e=o.ed();o.zc(1),o.md("nzStringTemplateOutlet",e.config.nzFooter)("nzStringTemplateOutletContext",o.qd(2,G,e.config.nzComponentParams,e.modalRef))}}function K(e,t){if(1&e){const e=o.Uc();o.Tc(0,"button",10),o.ad("click",function(){o.xd(e);return o.ed(2).onCancel()}),o.Kd(1),o.Sc()}if(2&e){const e=o.ed(2);o.md("nzLoading",!!e.config.nzCancelLoading)("disabled",e.config.nzCancelDisabled),o.Ac("cdkFocusInitial","cancel"===e.config.nzAutofocus||null),o.zc(1),o.Md(" ",e.config.nzCancelText||e.locale.cancelText," ")}}function J(e,t){if(1&e){const e=o.Uc();o.Tc(0,"button",11),o.ad("click",function(){o.xd(e);return o.ed(2).onOk()}),o.Kd(1),o.Sc()}if(2&e){const e=o.ed(2);o.md("nzType",e.config.nzOkType)("nzDanger",e.config.nzOkDanger)("nzLoading",!!e.config.nzOkLoading)("disabled",e.config.nzOkDisabled),o.Ac("cdkFocusInitial","ok"===e.config.nzAutofocus||null),o.zc(1),o.Md(" ",e.config.nzOkText||e.locale.okText," ")}}function Q(e,t){if(1&e&&(o.Id(0,K,2,4,"button",8),o.Id(1,J,2,6,"button",9)),2&e){const e=o.ed();o.md("ngIf",null!==e.config.nzCancelText),o.zc(1),o.md("ngIf",null!==e.config.nzOkText)}}function Z(e,t){if(1&e&&(o.Rc(0),o.Oc(1,"div",2),o.Qc()),2&e){const e=o.ed();o.zc(1),o.md("innerHTML",e.config.nzTitle,o.yd)}}const ee=()=>{};class te{constructor(){this.nzCentered=!1,this.nzClosable=!0,this.nzOkLoading=!1,this.nzOkDisabled=!1,this.nzCancelDisabled=!1,this.nzCancelLoading=!1,this.nzNoAnimation=!1,this.nzAutofocus="auto",this.nzKeyboard=!0,this.nzZIndex=1e3,this.nzWidth=520,this.nzCloseIcon="close",this.nzOkType="primary",this.nzOkDanger=!1,this.nzModalType="default",this.nzOnCancel=ee,this.nzOnOk=ee,this.nzIconType="question-circle"}}const ne="ant-zoom-enter",re="ant-zoom-enter-active",ie="ant-zoom-leave",se="ant-zoom-leave-active",oe="ant-fade-enter",ae="ant-fade-enter-active",ce="ant-fade-leave",le="ant-fade-leave-active",ue="ant-modal-mask",he="modal",de={modalContainer:Object(_.l)("modalContainer",[Object(_.i)("void, exit",Object(_.j)({})),Object(_.i)("enter",Object(_.j)({})),Object(_.k)("* => enter",Object(_.e)(".24s",Object(_.j)({}))),Object(_.k)("* => void, * => exit",Object(_.e)(".2s",Object(_.j)({})))])};function fe(e,t,n){return void 0===e?void 0===t?n:t:e}function pe(e){const{nzCentered:t,nzMask:n,nzMaskClosable:r,nzClosable:i,nzOkLoading:s,nzOkDisabled:o,nzCancelDisabled:a,nzCancelLoading:c,nzKeyboard:l,nzNoAnimation:u,nzContent:h,nzComponentParams:d,nzFooter:f,nzZIndex:p,nzWidth:m,nzWrapClassName:g,nzClassName:v,nzStyle:y,nzTitle:b,nzCloseIcon:_,nzMaskStyle:w,nzBodyStyle:S,nzOkText:x,nzCancelText:O,nzOkType:k,nzOkDanger:C,nzIconType:M,nzModalType:E,nzOnOk:T,nzOnCancel:j,nzAfterOpen:D,nzAfterClose:A,nzCloseOnNavigation:L,nzAutofocus:z}=e;return{nzCentered:t,nzMask:n,nzMaskClosable:r,nzClosable:i,nzOkLoading:s,nzOkDisabled:o,nzCancelDisabled:a,nzCancelLoading:c,nzKeyboard:l,nzNoAnimation:u,nzContent:h,nzComponentParams:d,nzFooter:f,nzZIndex:p,nzWidth:m,nzWrapClassName:g,nzClassName:v,nzStyle:y,nzTitle:b,nzCloseIcon:_,nzMaskStyle:w,nzBodyStyle:S,nzOkText:x,nzCancelText:O,nzOkType:k,nzOkDanger:C,nzIconType:M,nzModalType:E,nzOnOk:T,nzOnCancel:j,nzAfterOpen:D,nzAfterClose:A,nzCloseOnNavigation:L,nzAutofocus:z}}function me(){throw Error("Attempting to attach modal content after content is already attached")}class ge extends s.a{constructor(e,t,n,r,i,s,a,c,l){super(),this.elementRef=e,this.focusTrapFactory=t,this.cdr=n,this.render=r,this.overlayRef=i,this.nzConfigService=s,this.config=a,this.animationType=l,this.animationStateChanged=new o.x,this.containerClick=new o.x,this.cancelTriggered=new o.x,this.okTriggered=new o.x,this.state="enter",this.isStringContent=!1,this.dir="ltr",this.elementFocusedBeforeModalWasOpened=null,this.mouseDown=!1,this.oldMaskStyle=null,this.destroy$=new u.a,this.document=c,this.dir=i.getDirection(),this.isStringContent="string"==typeof a.nzContent,this.nzConfigService.getConfigChangeEventForComponent(he).pipe(Object(d.a)(this.destroy$)).subscribe(()=>{this.updateMaskClassname()})}get showMask(){const e=this.nzConfigService.getConfigForComponent(he)||{};return!!fe(this.config.nzMask,e.nzMask,!0)}get maskClosable(){const e=this.nzConfigService.getConfigForComponent(he)||{};return!!fe(this.config.nzMaskClosable,e.nzMaskClosable,!0)}onContainerClick(e){e.target===e.currentTarget&&!this.mouseDown&&this.showMask&&this.maskClosable&&this.containerClick.emit()}onMousedown(){this.mouseDown=!0}onMouseup(){this.mouseDown&&setTimeout(()=>{this.mouseDown=!1})}onCloseClick(){this.cancelTriggered.emit()}onOkClick(){this.okTriggered.emit()}attachComponentPortal(e){return this.portalOutlet.hasAttached()&&me(),this.savePreviouslyFocusedElement(),this.setZIndexForBackdrop(),this.portalOutlet.attachComponentPortal(e)}attachTemplatePortal(e){return this.portalOutlet.hasAttached()&&me(),this.savePreviouslyFocusedElement(),this.setZIndexForBackdrop(),this.portalOutlet.attachTemplatePortal(e)}attachStringContent(){this.savePreviouslyFocusedElement(),this.setZIndexForBackdrop()}getNativeElement(){return this.elementRef.nativeElement}animationDisabled(){return this.config.nzNoAnimation||"NoopAnimations"===this.animationType}setModalTransformOrigin(){const e=this.modalElementRef.nativeElement;if(this.elementFocusedBeforeModalWasOpened){const t=this.elementFocusedBeforeModalWasOpened.getBoundingClientRect(),n=Object(l.g)(this.elementFocusedBeforeModalWasOpened),r=n.left+t.width/2,i=n.top+t.height/2,s=`${r-e.offsetLeft}px ${i-e.offsetTop}px 0px`;this.render.setStyle(e,"transform-origin",s)}}savePreviouslyFocusedElement(){this.focusTrap||(this.focusTrap=this.focusTrapFactory.create(this.elementRef.nativeElement)),this.document&&(this.elementFocusedBeforeModalWasOpened=this.document.activeElement,this.elementRef.nativeElement.focus&&Promise.resolve().then(()=>this.elementRef.nativeElement.focus()))}trapFocus(){const e=this.elementRef.nativeElement;if(this.config.nzAutofocus)this.focusTrap.focusInitialElementWhenReady().then();else{const t=this.document.activeElement;t===e||e.contains(t)||e.focus()}}restoreFocus(){const e=this.elementFocusedBeforeModalWasOpened;if(e&&"function"==typeof e.focus){const t=this.document.activeElement,n=this.elementRef.nativeElement;t&&t!==this.document.body&&t!==n&&!n.contains(t)||e.focus()}this.focusTrap&&this.focusTrap.destroy()}setEnterAnimationClass(){if(this.animationDisabled())return;this.setModalTransformOrigin();const e=this.modalElementRef.nativeElement,t=this.overlayRef.backdropElement;e.classList.add(ne),e.classList.add(re),t&&(t.classList.add(oe),t.classList.add(ae))}setExitAnimationClass(){const e=this.modalElementRef.nativeElement;e.classList.add(ie),e.classList.add(se),this.setMaskExitAnimationClass()}setMaskExitAnimationClass(e=!1){const t=this.overlayRef.backdropElement;if(t){if(this.animationDisabled()||e)return void t.classList.remove(ue);t.classList.add(ce),t.classList.add(le)}}cleanAnimationClass(){if(this.animationDisabled())return;const e=this.overlayRef.backdropElement,t=this.modalElementRef.nativeElement;e&&(e.classList.remove(oe),e.classList.remove(ae)),t.classList.remove(ne),t.classList.remove(re),t.classList.remove(ie),t.classList.remove(se)}setZIndexForBackdrop(){const e=this.overlayRef.backdropElement;e&&Object(l.p)(this.config.nzZIndex)&&this.render.setStyle(e,"z-index",this.config.nzZIndex)}bindBackdropStyle(){const e=this.overlayRef.backdropElement;if(e){if(this.oldMaskStyle){const t=this.oldMaskStyle;Object.keys(t).forEach(t=>{this.render.removeStyle(e,t)}),this.oldMaskStyle=null}if(this.setZIndexForBackdrop(),"object"==typeof this.config.nzMaskStyle&&Object.keys(this.config.nzMaskStyle).length){const t=Object.assign({},this.config.nzMaskStyle);Object.keys(t).forEach(n=>{this.render.setStyle(e,n,t[n])}),this.oldMaskStyle=t}}}updateMaskClassname(){const e=this.overlayRef.backdropElement;e&&(this.showMask?e.classList.add(ue):e.classList.remove(ue))}onAnimationDone(e){"enter"===e.toState?this.trapFocus():"exit"===e.toState&&this.restoreFocus(),this.cleanAnimationClass(),this.animationStateChanged.emit(e)}onAnimationStart(e){"enter"===e.toState?(this.setEnterAnimationClass(),this.bindBackdropStyle()):"exit"===e.toState&&this.setExitAnimationClass(),this.animationStateChanged.emit(e)}startExitAnimation(){this.state="exit",this.cdr.markForCheck()}ngOnDestroy(){this.setMaskExitAnimationClass(!0),this.destroy$.next(),this.destroy$.complete()}}ge.\u0275fac=function(e){return new(e||ge)(o.Nc(o.v),o.Nc(g.e),o.Nc(o.k),o.Nc(o.Y),o.Nc(i.h),o.Nc(a.a),o.Nc(te),o.Nc(void 0),o.Nc(String))},ge.\u0275dir=o.Ic({type:ge,features:[o.wc]}),ge.ctorParameters=()=>[{type:o.v},{type:g.e},{type:o.k},{type:o.Y},{type:i.h},{type:a.a},{type:te},{type:void 0},{type:String}];class ve extends ge{constructor(e,t,n,r,i,s,a,c,l,u){super(t,n,r,i,s,a,c,l,u),this.i18n=e,this.config=c,this.cancelTriggered=new o.x,this.okTriggered=new o.x,this.i18n.localeChange.pipe(Object(d.a)(this.destroy$)).subscribe(()=>{this.locale=this.i18n.getLocaleData("Modal")})}onCancel(){this.cancelTriggered.emit()}onOk(){this.okTriggered.emit()}}ve.\u0275fac=function(e){return new(e||ve)(o.Nc(b.f),o.Nc(o.v),o.Nc(g.e),o.Nc(o.k),o.Nc(o.Y),o.Nc(i.h),o.Nc(a.a),o.Nc(te),o.Nc(v.d,8),o.Nc(y.a,8))},ve.\u0275cmp=o.Hc({type:ve,selectors:[["nz-modal-confirm-container"]],viewQuery:function(e,t){if(1&e&&(o.Dd(s.c,!0),o.Dd(j,!0)),2&e){let e;o.td(e=o.bd())&&(t.portalOutlet=e.first),o.td(e=o.bd())&&(t.modalElementRef=e.first)}},hostAttrs:["tabindex","-1","role","dialog"],hostVars:10,hostBindings:function(e,t){1&e&&(o.Gd("@modalContainer.start",function(e){return t.onAnimationStart(e)})("@modalContainer.done",function(e){return t.onAnimationDone(e)}),o.ad("click",function(e){return t.onContainerClick(e)})("mouseup",function(){return t.onMouseup()})),2&e&&(o.Hd("@.disabled",t.config.nzNoAnimation)("@modalContainer",t.state),o.Bc(t.config.nzWrapClassName?"ant-modal-wrap "+t.config.nzWrapClassName:"ant-modal-wrap"),o.Fd("z-index",t.config.nzZIndex),o.Fc("ant-modal-wrap-rtl","rtl"===t.dir)("ant-modal-centered",t.config.nzCentered))},outputs:{cancelTriggered:"cancelTriggered",okTriggered:"okTriggered"},exportAs:["nzModalConfirmContainer"],features:[o.wc],decls:17,vars:13,consts:[["role","document",1,"ant-modal",3,"ngClass","ngStyle","mousedown"],["modalElement",""],[1,"ant-modal-content"],["nz-modal-close","",3,"click",4,"ngIf"],[1,"ant-modal-body",3,"ngStyle"],[1,"ant-modal-confirm-body-wrapper"],[1,"ant-modal-confirm-body"],["nz-icon","",3,"nzType"],[1,"ant-modal-confirm-title"],[4,"nzStringTemplateOutlet"],[1,"ant-modal-confirm-content"],["cdkPortalOutlet",""],[3,"innerHTML",4,"ngIf"],[1,"ant-modal-confirm-btns"],["nz-button","",3,"nzLoading","disabled","click",4,"ngIf"],["nz-button","",3,"nzType","nzLoading","disabled","nzDanger","click",4,"ngIf"],["nz-modal-close","",3,"click"],[3,"innerHTML"],["nz-button","",3,"nzLoading","disabled","click"],["nz-button","",3,"nzType","nzLoading","disabled","nzDanger","click"]],template:function(e,t){1&e&&(o.Tc(0,"div",0,1),o.ad("mousedown",function(){return t.onMousedown()}),o.fd(2,"nzToCssUnit"),o.Tc(3,"div",2),o.Id(4,D,1,0,"button",3),o.Tc(5,"div",4),o.Tc(6,"div",5),o.Tc(7,"div",6),o.Oc(8,"i",7),o.Tc(9,"span",8),o.Id(10,A,2,1,"ng-container",9),o.Sc(),o.Tc(11,"div",10),o.Id(12,L,0,0,"ng-template",11),o.Id(13,z,1,1,"div",12),o.Sc(),o.Sc(),o.Tc(14,"div",13),o.Id(15,P,2,4,"button",14),o.Id(16,I,2,6,"button",15),o.Sc(),o.Sc(),o.Sc(),o.Sc(),o.Sc()),2&e&&(o.Fd("width",o.gd(2,11,null==t.config?null:t.config.nzWidth)),o.md("ngClass",t.config.nzClassName)("ngStyle",t.config.nzStyle),o.zc(4),o.md("ngIf",t.config.nzClosable),o.zc(1),o.md("ngStyle",t.config.nzBodyStyle),o.zc(3),o.md("nzType",t.config.nzIconType),o.zc(2),o.md("nzStringTemplateOutlet",t.config.nzTitle),o.zc(3),o.md("ngIf",t.isStringContent),o.zc(2),o.md("ngIf",null!==t.config.nzCancelText),o.zc(1),o.md("ngIf",null!==t.config.nzOkText))},directives:function(){return[v.m,v.p,v.o,E.a,C.b,k.b,s.c,ke,x.a,T.a]},pipes:function(){return[M.b]},encapsulation:2,data:{animation:[de.modalContainer]}}),ve.ctorParameters=()=>[{type:b.f},{type:o.v},{type:g.e},{type:o.k},{type:o.Y},{type:i.h},{type:a.a},{type:te},{type:void 0,decorators:[{type:o.R},{type:o.C,args:[v.d]}]},{type:String,decorators:[{type:o.R},{type:o.C,args:[y.a]}]}],ve.propDecorators={portalOutlet:[{type:o.mb,args:[s.c,{static:!0}]}],modalElementRef:[{type:o.mb,args:["modalElement",{static:!0}]}],cancelTriggered:[{type:o.S}],okTriggered:[{type:o.S}]};class ye extends ge{constructor(e,t,n,r,i,s,o,a,c){super(e,t,n,r,i,s,o,a,c),this.config=o}}ye.\u0275fac=function(e){return new(e||ye)(o.Nc(o.v),o.Nc(g.e),o.Nc(o.k),o.Nc(o.Y),o.Nc(i.h),o.Nc(a.a),o.Nc(te),o.Nc(v.d,8),o.Nc(y.a,8))},ye.\u0275cmp=o.Hc({type:ye,selectors:[["nz-modal-container"]],viewQuery:function(e,t){if(1&e&&(o.Dd(s.c,!0),o.Dd(j,!0)),2&e){let e;o.td(e=o.bd())&&(t.portalOutlet=e.first),o.td(e=o.bd())&&(t.modalElementRef=e.first)}},hostAttrs:["tabindex","-1","role","dialog"],hostVars:10,hostBindings:function(e,t){1&e&&(o.Gd("@modalContainer.start",function(e){return t.onAnimationStart(e)})("@modalContainer.done",function(e){return t.onAnimationDone(e)}),o.ad("click",function(e){return t.onContainerClick(e)})("mouseup",function(){return t.onMouseup()})),2&e&&(o.Hd("@.disabled",t.config.nzNoAnimation)("@modalContainer",t.state),o.Bc(t.config.nzWrapClassName?"ant-modal-wrap "+t.config.nzWrapClassName:"ant-modal-wrap"),o.Fd("z-index",t.config.nzZIndex),o.Fc("ant-modal-wrap-rtl","rtl"===t.dir)("ant-modal-centered",t.config.nzCentered))},exportAs:["nzModalContainer"],features:[o.wc],decls:10,vars:11,consts:[["role","document",1,"ant-modal",3,"ngClass","ngStyle","mousedown"],["modalElement",""],[1,"ant-modal-content"],["nz-modal-close","",3,"click",4,"ngIf"],["nz-modal-title","",4,"ngIf"],[1,"ant-modal-body",3,"ngStyle"],["cdkPortalOutlet",""],[3,"innerHTML",4,"ngIf"],["nz-modal-footer","",3,"modalRef","cancelTriggered","okTriggered",4,"ngIf"],["nz-modal-close","",3,"click"],["nz-modal-title",""],[3,"innerHTML"],["nz-modal-footer","",3,"modalRef","cancelTriggered","okTriggered"]],template:function(e,t){1&e&&(o.Tc(0,"div",0,1),o.ad("mousedown",function(){return t.onMousedown()}),o.fd(2,"nzToCssUnit"),o.Tc(3,"div",2),o.Id(4,R,1,0,"button",3),o.Id(5,N,1,0,"div",4),o.Tc(6,"div",5),o.Id(7,H,0,0,"ng-template",6),o.Id(8,F,1,1,"div",7),o.Sc(),o.Id(9,V,1,1,"div",8),o.Sc(),o.Sc()),2&e&&(o.Fd("width",o.gd(2,9,null==t.config?null:t.config.nzWidth)),o.md("ngClass",t.config.nzClassName)("ngStyle",t.config.nzStyle),o.zc(4),o.md("ngIf",t.config.nzClosable),o.zc(1),o.md("ngIf",t.config.nzTitle),o.zc(1),o.md("ngStyle",t.config.nzBodyStyle),o.zc(2),o.md("ngIf",t.isStringContent),o.zc(1),o.md("ngIf",null!==t.config.nzFooter))},directives:function(){return[v.m,v.p,v.o,s.c,ke,Ee,Ce]},pipes:function(){return[M.b]},encapsulation:2,data:{animation:[de.modalContainer]}}),ye.ctorParameters=()=>[{type:o.v},{type:g.e},{type:o.k},{type:o.Y},{type:i.h},{type:a.a},{type:te},{type:void 0,decorators:[{type:o.R},{type:o.C,args:[v.d]}]},{type:String,decorators:[{type:o.R},{type:o.C,args:[y.a]}]}],ye.propDecorators={portalOutlet:[{type:o.mb,args:[s.c,{static:!0}]}],modalElementRef:[{type:o.mb,args:["modalElement",{static:!0}]}]};class be{constructor(e,t,n){this.overlayRef=e,this.config=t,this.containerInstance=n,this.componentInstance=null,this.state=0,this.afterClose=new u.a,this.afterOpen=new u.a,n.animationStateChanged.pipe(Object(f.a)(e=>"done"===e.phaseName&&"enter"===e.toState),Object(p.a)(1)).subscribe(()=>{this.afterOpen.next(),this.afterOpen.complete(),t.nzAfterOpen instanceof o.x&&t.nzAfterOpen.emit()}),n.animationStateChanged.pipe(Object(f.a)(e=>"done"===e.phaseName&&"exit"===e.toState),Object(p.a)(1)).subscribe(()=>{clearTimeout(this.closeTimeout),this._finishDialogClose()}),n.containerClick.pipe(Object(p.a)(1)).subscribe(()=>{!this.config.nzCancelLoading&&!this.config.nzOkLoading&&this.trigger("cancel")}),e.keydownEvents().pipe(Object(f.a)(e=>this.config.nzKeyboard&&!this.config.nzCancelLoading&&!this.config.nzOkLoading&&e.keyCode===S.f&&!Object(S.p)(e))).subscribe(e=>{e.preventDefault(),this.trigger("cancel")}),n.cancelTriggered.subscribe(()=>this.trigger("cancel")),n.okTriggered.subscribe(()=>this.trigger("ok")),e.detachments().subscribe(()=>{this.afterClose.next(this.result),this.afterClose.complete(),t.nzAfterClose instanceof o.x&&t.nzAfterClose.emit(this.result),this.componentInstance=null,this.overlayRef.dispose()})}getContentComponent(){return this.componentInstance}getElement(){return this.containerInstance.getNativeElement()}destroy(e){this.close(e)}triggerOk(){return this.trigger("ok")}triggerCancel(){return this.trigger("cancel")}close(e){0===this.state&&(this.result=e,this.containerInstance.animationStateChanged.pipe(Object(f.a)(e=>"start"===e.phaseName),Object(p.a)(1)).subscribe(e=>{this.overlayRef.detachBackdrop(),this.closeTimeout=setTimeout(()=>{this._finishDialogClose()},e.totalTime+100)}),this.containerInstance.startExitAnimation(),this.state=1)}updateConfig(e){Object.assign(this.config,e),this.containerInstance.bindBackdropStyle(),this.containerInstance.cdr.markForCheck()}getState(){return this.state}getConfig(){return this.config}getBackdropElement(){return this.overlayRef.backdropElement}trigger(e){return Object(w.a)(this,void 0,void 0,function*(){const t={ok:this.config.nzOnOk,cancel:this.config.nzOnCancel}[e],n={ok:"nzOkLoading",cancel:"nzCancelLoading"}[e];if(!this.config[n])if(t instanceof o.x)t.emit(this.getContentComponent());else if("function"==typeof t){const e=t(this.getContentComponent());if(Object(l.r)(e)){this.config[n]=!0;let t=!1;try{t=yield e}finally{this.config[n]=!1,this.closeWhitResult(t)}}else this.closeWhitResult(e)}})}closeWhitResult(e){!1!==e&&this.close(e)}_finishDialogClose(){this.state=2,this.overlayRef.dispose()}}class _e{constructor(e,t,n,r,i){this.overlay=e,this.injector=t,this.nzConfigService=n,this.parentModal=r,this.directionality=i,this.openModalsAtThisLevel=[],this.afterAllClosedAtThisLevel=new u.a,this.afterAllClose=Object(h.a)(()=>this.openModals.length?this._afterAllClosed:this._afterAllClosed.pipe(Object(m.a)(void 0)))}get openModals(){return this.parentModal?this.parentModal.openModals:this.openModalsAtThisLevel}get _afterAllClosed(){const e=this.parentModal;return e?e._afterAllClosed:this.afterAllClosedAtThisLevel}create(e){return this.open(e.nzContent,e)}closeAll(){this.closeModals(this.openModals)}confirm(e={},t="confirm"){return"nzFooter"in e&&Object(c.b)('The Confirm-Modal doesn\'t support "nzFooter", this property will be ignored.'),"nzWidth"in e||(e.nzWidth=416),"nzMaskClosable"in e||(e.nzMaskClosable=!1),e.nzModalType="confirm",e.nzClassName=`ant-modal-confirm ant-modal-confirm-${t} ${e.nzClassName||""}`,this.create(e)}info(e={}){return this.confirmFactory(e,"info")}success(e={}){return this.confirmFactory(e,"success")}error(e={}){return this.confirmFactory(e,"error")}warning(e={}){return this.confirmFactory(e,"warning")}open(e,t){const n=function(e,t){return Object.assign(Object.assign({},t),e)}(t||{},new te),r=this.createOverlay(n),i=this.attachModalContainer(r,n),s=this.attachModalContent(e,i,r,n);return i.modalRef=s,this.openModals.push(s),s.afterClose.subscribe(()=>this.removeOpenModal(s)),s}removeOpenModal(e){const t=this.openModals.indexOf(e);t>-1&&(this.openModals.splice(t,1),this.openModals.length||this._afterAllClosed.next())}closeModals(e){let t=e.length;for(;t--;)e[t].close(),this.openModals.length||this._afterAllClosed.next()}createOverlay(e){const t=this.nzConfigService.getConfigForComponent(he)||{},n=new i.e({hasBackdrop:!0,scrollStrategy:this.overlay.scrollStrategies.block(),positionStrategy:this.overlay.position().global(),disposeOnNavigation:fe(e.nzCloseOnNavigation,t.nzCloseOnNavigation,!0),direction:fe(e.nzDirection,t.nzDirection,this.directionality.value)});return fe(e.nzMask,t.nzMask,!0)&&(n.backdropClass=ue),this.overlay.create(n)}attachModalContainer(e,t){const n=t&&t.nzViewContainerRef&&t.nzViewContainerRef.injector,r=o.F.create({parent:n||this.injector,providers:[{provide:i.h,useValue:e},{provide:te,useValue:t}]}),a="confirm"===t.nzModalType?ve:ye,c=new s.d(a,t.nzViewContainerRef,r);return e.attach(c).instance}attachModalContent(e,t,n,r){const i=new be(n,r,t);if(e instanceof o.ib)t.attachTemplatePortal(new s.h(e,null,{$implicit:r.nzComponentParams,modalRef:i}));else if(Object(l.p)(e)&&"string"!=typeof e){const n=this.createInjector(i,r),o=t.attachComponentPortal(new s.d(e,r.nzViewContainerRef,n));a=o.instance,c=r.nzComponentParams,Object.assign(a,c),i.componentInstance=o.instance}else t.attachStringContent();var a,c;return i}createInjector(e,t){const n=t&&t.nzViewContainerRef&&t.nzViewContainerRef.injector;return o.F.create({parent:n||this.injector,providers:[{provide:be,useValue:e}]})}confirmFactory(e={},t){const n={info:"info-circle",success:"check-circle",error:"close-circle",warning:"exclamation-circle"};return"nzIconType"in e||(e.nzIconType=n[t]),"nzCancelText"in e||(e.nzCancelText=null),this.confirm(e,t)}ngOnDestroy(){this.closeModals(this.openModalsAtThisLevel),this.afterAllClosedAtThisLevel.complete()}}_e.\u0275fac=function(e){return new(e||_e)(o.Xc(i.d),o.Xc(o.F),o.Xc(a.a),o.Xc(_e,12),o.Xc(r.c,8))},_e.\u0275prov=o.Jc({token:_e,factory:_e.\u0275fac}),_e.ctorParameters=()=>[{type:i.d},{type:o.F},{type:a.a},{type:_e,decorators:[{type:o.R},{type:o.eb}]},{type:r.c,decorators:[{type:o.R}]}];class we{constructor(e){this.templateRef=e}}we.\u0275fac=function(e){return new(e||we)(o.Nc(o.ib))},we.\u0275dir=o.Ic({type:we,selectors:[["","nzModalContent",""]],exportAs:["nzModalContent"]}),we.ctorParameters=()=>[{type:o.ib}];class Se{constructor(e,t){this.nzModalRef=e,this.templateRef=t,this.nzModalRef&&this.nzModalRef.updateConfig({nzFooter:this.templateRef})}}Se.\u0275fac=function(e){return new(e||Se)(o.Nc(be,8),o.Nc(o.ib))},Se.\u0275dir=o.Ic({type:Se,selectors:[["","nzModalFooter",""]],exportAs:["nzModalFooter"]}),Se.ctorParameters=()=>[{type:be,decorators:[{type:o.R}]},{type:o.ib}];class xe{constructor(e,t){this.nzModalRef=e,this.templateRef=t,this.nzModalRef&&this.nzModalRef.updateConfig({nzTitle:this.templateRef})}}xe.\u0275fac=function(e){return new(e||xe)(o.Nc(be,8),o.Nc(o.ib))},xe.\u0275dir=o.Ic({type:xe,selectors:[["","nzModalTitle",""]],exportAs:["nzModalTitle"]}),xe.ctorParameters=()=>[{type:be,decorators:[{type:o.R}]},{type:o.ib}];class Oe{constructor(e,t,n){this.cdr=e,this.modal=t,this.viewContainerRef=n,this.nzVisible=!1,this.nzClosable=!0,this.nzOkLoading=!1,this.nzOkDisabled=!1,this.nzCancelDisabled=!1,this.nzCancelLoading=!1,this.nzKeyboard=!0,this.nzNoAnimation=!1,this.nzCentered=!1,this.nzZIndex=1e3,this.nzWidth=520,this.nzCloseIcon="close",this.nzOkType="primary",this.nzOkDanger=!1,this.nzIconType="question-circle",this.nzModalType="default",this.nzAutofocus="auto",this.nzOnOk=new o.x,this.nzOnCancel=new o.x,this.nzAfterOpen=new o.x,this.nzAfterClose=new o.x,this.nzVisibleChange=new o.x,this.modalRef=null,this.destroy$=new u.a}set modalTitle(e){e&&this.setTitleWithTemplate(e)}set modalFooter(e){e&&this.setFooterWithTemplate(e)}get afterOpen(){return this.nzAfterOpen.asObservable()}get afterClose(){return this.nzAfterClose.asObservable()}open(){if(this.nzVisible||(this.nzVisible=!0,this.nzVisibleChange.emit(!0)),!this.modalRef){const e=this.getConfig();this.modalRef=this.modal.create(e),this.modalRef.afterClose.asObservable().pipe(Object(d.a)(this.destroy$)).subscribe(()=>{this.close()})}}close(e){this.nzVisible&&(this.nzVisible=!1,this.nzVisibleChange.emit(!1)),this.modalRef&&(this.modalRef.close(e),this.modalRef=null)}destroy(e){this.close(e)}triggerOk(){var e;null===(e=this.modalRef)||void 0===e||e.triggerOk()}triggerCancel(){var e;null===(e=this.modalRef)||void 0===e||e.triggerCancel()}getContentComponent(){var e;return null===(e=this.modalRef)||void 0===e?void 0:e.getContentComponent()}getElement(){var e;return null===(e=this.modalRef)||void 0===e?void 0:e.getElement()}getModalRef(){return this.modalRef}setTitleWithTemplate(e){this.nzTitle=e,this.modalRef&&Promise.resolve().then(()=>{this.modalRef.updateConfig({nzTitle:this.nzTitle})})}setFooterWithTemplate(e){this.nzFooter=e,this.modalRef&&Promise.resolve().then(()=>{this.modalRef.updateConfig({nzFooter:this.nzFooter})}),this.cdr.markForCheck()}getConfig(){const e=pe(this);return e.nzViewContainerRef=this.viewContainerRef,this.nzContent||this.contentFromContentChild?e.nzContent=this.nzContent||this.contentFromContentChild:(e.nzContent=this.contentTemplateRef,Object(c.c)("Usage `<ng-content></ng-content>` is deprecated, which will be removed in 12.0.0. Please instead use `<ng-template nzModalContent></ng-template>` to declare the content of the modal.")),e}ngOnChanges(e){const{nzVisible:t}=e,n=Object(w.d)(e,["nzVisible"]);Object.keys(n).length&&this.modalRef&&this.modalRef.updateConfig(pe(this)),t&&(this.nzVisible?this.open():this.close())}ngOnDestroy(){var e;null===(e=this.modalRef)||void 0===e||e._finishDialogClose(),this.destroy$.next(),this.destroy$.complete()}}Oe.\u0275fac=function(e){return new(e||Oe)(o.Nc(o.k),o.Nc(_e),o.Nc(o.ob))},Oe.\u0275cmp=o.Hc({type:Oe,selectors:[["nz-modal"]],contentQueries:function(e,t,n){if(1&e&&(o.Cd(n,xe,!0,o.ib),o.Cd(n,Se,!0,o.ib),o.Cd(n,we,!0,o.ib)),2&e){let e;o.td(e=o.bd())&&(t.modalTitle=e.first),o.td(e=o.bd())&&(t.modalFooter=e.first),o.td(e=o.bd())&&(t.contentFromContentChild=e.first)}},viewQuery:function(e,t){if(1&e&&o.Dd(o.ib,!0),2&e){let e;o.td(e=o.bd())&&(t.contentTemplateRef=e.first)}},inputs:{nzVisible:"nzVisible",nzClosable:"nzClosable",nzOkLoading:"nzOkLoading",nzOkDisabled:"nzOkDisabled",nzCancelDisabled:"nzCancelDisabled",nzCancelLoading:"nzCancelLoading",nzKeyboard:"nzKeyboard",nzNoAnimation:"nzNoAnimation",nzCentered:"nzCentered",nzZIndex:"nzZIndex",nzWidth:"nzWidth",nzCloseIcon:"nzCloseIcon",nzOkType:"nzOkType",nzOkDanger:"nzOkDanger",nzIconType:"nzIconType",nzModalType:"nzModalType",nzAutofocus:"nzAutofocus",nzOnOk:"nzOnOk",nzOnCancel:"nzOnCancel",nzTitle:"nzTitle",nzFooter:"nzFooter",nzMask:"nzMask",nzMaskClosable:"nzMaskClosable",nzCloseOnNavigation:"nzCloseOnNavigation",nzContent:"nzContent",nzComponentParams:"nzComponentParams",nzWrapClassName:"nzWrapClassName",nzClassName:"nzClassName",nzStyle:"nzStyle",nzMaskStyle:"nzMaskStyle",nzBodyStyle:"nzBodyStyle",nzOkText:"nzOkText",nzCancelText:"nzCancelText"},outputs:{nzOnOk:"nzOnOk",nzOnCancel:"nzOnCancel",nzAfterOpen:"nzAfterOpen",nzAfterClose:"nzAfterClose",nzVisibleChange:"nzVisibleChange"},exportAs:["nzModal"],features:[o.xc],ngContentSelectors:["*"],decls:1,vars:0,template:function(e,t){1&e&&(o.ld(),o.Id(0,B,1,0,"ng-template"))},encapsulation:2,changeDetection:0}),Oe.ctorParameters=()=>[{type:o.k},{type:_e},{type:o.ob}],Oe.propDecorators={nzMask:[{type:o.G}],nzMaskClosable:[{type:o.G}],nzCloseOnNavigation:[{type:o.G}],nzVisible:[{type:o.G}],nzClosable:[{type:o.G}],nzOkLoading:[{type:o.G}],nzOkDisabled:[{type:o.G}],nzCancelDisabled:[{type:o.G}],nzCancelLoading:[{type:o.G}],nzKeyboard:[{type:o.G}],nzNoAnimation:[{type:o.G}],nzCentered:[{type:o.G}],nzContent:[{type:o.G}],nzComponentParams:[{type:o.G}],nzFooter:[{type:o.G}],nzZIndex:[{type:o.G}],nzWidth:[{type:o.G}],nzWrapClassName:[{type:o.G}],nzClassName:[{type:o.G}],nzStyle:[{type:o.G}],nzTitle:[{type:o.G}],nzCloseIcon:[{type:o.G}],nzMaskStyle:[{type:o.G}],nzBodyStyle:[{type:o.G}],nzOkText:[{type:o.G}],nzCancelText:[{type:o.G}],nzOkType:[{type:o.G}],nzOkDanger:[{type:o.G}],nzIconType:[{type:o.G}],nzModalType:[{type:o.G}],nzAutofocus:[{type:o.G}],nzOnOk:[{type:o.G},{type:o.S}],nzOnCancel:[{type:o.G},{type:o.S}],nzAfterOpen:[{type:o.S}],nzAfterClose:[{type:o.S}],nzVisibleChange:[{type:o.S}],contentTemplateRef:[{type:o.mb,args:[o.ib,{static:!0}]}],modalTitle:[{type:o.r,args:[xe,{static:!0,read:o.ib}]}],contentFromContentChild:[{type:o.r,args:[we,{static:!0,read:o.ib}]}],modalFooter:[{type:o.r,args:[Se,{static:!0,read:o.ib}]}]},Object(w.b)([Object(l.a)(),Object(w.c)("design:type",Boolean)],Oe.prototype,"nzMask",void 0),Object(w.b)([Object(l.a)(),Object(w.c)("design:type",Boolean)],Oe.prototype,"nzMaskClosable",void 0),Object(w.b)([Object(l.a)(),Object(w.c)("design:type",Boolean)],Oe.prototype,"nzCloseOnNavigation",void 0),Object(w.b)([Object(l.a)(),Object(w.c)("design:type",Boolean)],Oe.prototype,"nzVisible",void 0),Object(w.b)([Object(l.a)(),Object(w.c)("design:type",Boolean)],Oe.prototype,"nzClosable",void 0),Object(w.b)([Object(l.a)(),Object(w.c)("design:type",Boolean)],Oe.prototype,"nzOkLoading",void 0),Object(w.b)([Object(l.a)(),Object(w.c)("design:type",Boolean)],Oe.prototype,"nzOkDisabled",void 0),Object(w.b)([Object(l.a)(),Object(w.c)("design:type",Boolean)],Oe.prototype,"nzCancelDisabled",void 0),Object(w.b)([Object(l.a)(),Object(w.c)("design:type",Boolean)],Oe.prototype,"nzCancelLoading",void 0),Object(w.b)([Object(l.a)(),Object(w.c)("design:type",Boolean)],Oe.prototype,"nzKeyboard",void 0),Object(w.b)([Object(l.a)(),Object(w.c)("design:type",Object)],Oe.prototype,"nzNoAnimation",void 0),Object(w.b)([Object(l.a)(),Object(w.c)("design:type",Object)],Oe.prototype,"nzCentered",void 0),Object(w.b)([Object(l.a)(),Object(w.c)("design:type",Boolean)],Oe.prototype,"nzOkDanger",void 0);class ke{constructor(e){this.config=e}}ke.\u0275fac=function(e){return new(e||ke)(o.Nc(te))},ke.\u0275cmp=o.Hc({type:ke,selectors:[["button","nz-modal-close",""]],hostAttrs:["aria-label","Close",1,"ant-modal-close"],exportAs:["NzModalCloseBuiltin"],attrs:["nz-modal-close",""],decls:2,vars:1,consts:[[1,"ant-modal-close-x"],[4,"nzStringTemplateOutlet"],["nz-icon","",1,"ant-modal-close-icon",3,"nzType"]],template:function(e,t){1&e&&(o.Tc(0,"span",0),o.Id(1,Y,2,1,"ng-container",1),o.Sc()),2&e&&(o.zc(1),o.md("nzStringTemplateOutlet",t.config.nzCloseIcon))},directives:[k.b,E.a,C.b],encapsulation:2,changeDetection:0}),ke.ctorParameters=()=>[{type:te}];class Ce{constructor(e,t){this.i18n=e,this.config=t,this.buttonsFooter=!1,this.buttons=[],this.cancelTriggered=new o.x,this.okTriggered=new o.x,this.destroy$=new u.a,Array.isArray(t.nzFooter)&&(this.buttonsFooter=!0,this.buttons=t.nzFooter.map(Me)),this.i18n.localeChange.pipe(Object(d.a)(this.destroy$)).subscribe(()=>{this.locale=this.i18n.getLocaleData("Modal")})}onCancel(){this.cancelTriggered.emit()}onOk(){this.okTriggered.emit()}getButtonCallableProp(e,t){const n=e[t],r=this.modalRef.getContentComponent();return"function"==typeof n?n.apply(e,r&&[r]):n}onButtonClick(e){if(!this.getButtonCallableProp(e,"loading")){const t=this.getButtonCallableProp(e,"onClick");e.autoLoading&&Object(l.r)(t)&&(e.loading=!0,t.then(()=>e.loading=!1).catch(()=>e.loading=!1))}}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}function Me(e){return Object.assign({type:null,size:"default",autoLoading:!0,show:!0,loading:!1,disabled:!1},e)}Ce.\u0275fac=function(e){return new(e||Ce)(o.Nc(b.f),o.Nc(te))},Ce.\u0275cmp=o.Hc({type:Ce,selectors:[["div","nz-modal-footer",""]],hostAttrs:[1,"ant-modal-footer"],inputs:{modalRef:"modalRef"},outputs:{cancelTriggered:"cancelTriggered",okTriggered:"okTriggered"},exportAs:["NzModalFooterBuiltin"],attrs:["nz-modal-footer",""],decls:3,vars:2,consts:[[4,"ngIf","ngIfElse"],["defaultFooterButtons",""],[4,"nzStringTemplateOutlet","nzStringTemplateOutletContext"],[3,"innerHTML",4,"ngIf"],[4,"ngIf"],[3,"innerHTML"],["nz-button","",3,"hidden","nzLoading","disabled","nzType","nzDanger","nzShape","nzSize","nzGhost","click",4,"ngFor","ngForOf"],["nz-button","",3,"hidden","nzLoading","disabled","nzType","nzDanger","nzShape","nzSize","nzGhost","click"],["nz-button","",3,"nzLoading","disabled","click",4,"ngIf"],["nz-button","",3,"nzType","nzDanger","nzLoading","disabled","click",4,"ngIf"],["nz-button","",3,"nzLoading","disabled","click"],["nz-button","",3,"nzType","nzDanger","nzLoading","disabled","click"]],template:function(e,t){if(1&e&&(o.Id(0,X,2,5,"ng-container",0),o.Id(1,Q,2,2,"ng-template",null,1,o.Jd)),2&e){const e=o.ud(2);o.md("ngIf",t.config.nzFooter)("ngIfElse",e)}},directives:[v.o,k.b,v.n,x.a,T.a,E.a],encapsulation:2}),Ce.ctorParameters=()=>[{type:b.f},{type:te}],Ce.propDecorators={cancelTriggered:[{type:o.S}],okTriggered:[{type:o.S}],modalRef:[{type:o.G}]};class Ee{constructor(e){this.config=e}}Ee.\u0275fac=function(e){return new(e||Ee)(o.Nc(te))},Ee.\u0275cmp=o.Hc({type:Ee,selectors:[["div","nz-modal-title",""]],hostAttrs:[1,"ant-modal-header"],exportAs:["NzModalTitleBuiltin"],attrs:["nz-modal-title",""],decls:2,vars:1,consts:[[1,"ant-modal-title"],[4,"nzStringTemplateOutlet"],[3,"innerHTML"]],template:function(e,t){1&e&&(o.Tc(0,"div",0),o.Id(1,Z,2,1,"ng-container",1),o.Sc()),2&e&&(o.zc(1),o.md("nzStringTemplateOutlet",t.config.nzTitle))},directives:[k.b],encapsulation:2,changeDetection:0}),Ee.ctorParameters=()=>[{type:te}];class Te{}Te.\u0275mod=o.Lc({type:Te}),Te.\u0275inj=o.Kc({factory:function(e){return new(e||Te)},providers:[_e],imports:[[v.c,r.a,i.g,k.a,s.g,b.d,x.c,C.c,M.a,O.b,M.a]]}),("undefined"==typeof ngJitMode||ngJitMode)&&o.Bd(Te,{declarations:function(){return[Oe,Se,we,ke,Ce,Ee,xe,ye,ve,Oe]},imports:function(){return[v.c,r.a,i.g,k.a,s.g,b.d,x.c,C.c,M.a,O.b,M.a]},exports:function(){return[Oe,Se,we,xe]}})},dLU1:function(e,t,n){"use strict";n.d(t,"a",function(){return o});var r=n("/h9T"),i=n("/Tr7"),s=n("jIYg");function o(e,t){Object(s.a)(2,arguments);var n=Object(i.a)(e),o=Object(r.a)(t);if(isNaN(o))return new Date(NaN);if(!o)return n;var a=n.getDate(),c=new Date(n.getTime());c.setMonth(n.getMonth()+o+1,0);var l=c.getDate();return a>=l?c:(n.setFullYear(c.getFullYear(),c.getMonth(),a),n)}},dNwA:function(e,t,n){!function(e){"use strict";e.defineLocale("sw",{months:"Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des".split("_"),weekdays:"Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi".split("_"),weekdaysShort:"Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos".split("_"),weekdaysMin:"J2_J3_J4_J5_Al_Ij_J1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"hh:mm 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(e,t,n){!function(e){"use strict";var t="janu\xe1r_febru\xe1r_marec_apr\xedl_m\xe1j_j\xfan_j\xfal_august_september_okt\xf3ber_november_december".split("_"),n="jan_feb_mar_apr_m\xe1j_j\xfan_j\xfal_aug_sep_okt_nov_dec".split("_");function r(e){return e>1&&e<5}function i(e,t,n,i){var s=e+" ";switch(n){case"s":return t||i?"p\xe1r sek\xfand":"p\xe1r sekundami";case"ss":return t||i?s+(r(e)?"sekundy":"sek\xfand"):s+"sekundami";case"m":return t?"min\xfata":i?"min\xfatu":"min\xfatou";case"mm":return t||i?s+(r(e)?"min\xfaty":"min\xfat"):s+"min\xfatami";case"h":return t?"hodina":i?"hodinu":"hodinou";case"hh":return t||i?s+(r(e)?"hodiny":"hod\xedn"):s+"hodinami";case"d":return t||i?"de\u0148":"d\u0148om";case"dd":return t||i?s+(r(e)?"dni":"dn\xed"):s+"d\u0148ami";case"M":return t||i?"mesiac":"mesiacom";case"MM":return t||i?s+(r(e)?"mesiace":"mesiacov"):s+"mesiacmi";case"y":return t||i?"rok":"rokom";case"yy":return t||i?s+(r(e)?"roky":"rokov"):s+"rokmi"}}e.defineLocale("sk",{months:t,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: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"))},eIep:function(e,t,n){"use strict";n.d(t,"a",function(){return o});var r=n("lJxs"),i=n("Cfvw"),s=n("zx2A");function o(e,t){return"function"==typeof t?n=>n.pipe(o((n,s)=>Object(i.a)(e(n,s)).pipe(Object(r.a)((e,r)=>t(n,e,s,r))))):t=>t.lift(new a(e))}class a{constructor(e){this.project=e}call(e,t){return t.subscribe(new c(e,this.project))}}class c extends s.b{constructor(e,t){super(e),this.project=t,this.index=0}_next(e){let t;const n=this.index++;try{t=this.project(e,n)}catch(r){return void this.destination.error(r)}this._innerSub(t)}_innerSub(e){const t=this.innerSubscription;t&&t.unsubscribe();const n=new s.a(this),r=this.destination;r.add(n),this.innerSubscription=Object(s.c)(e,n),this.innerSubscription!==n&&r.add(this.innerSubscription)}_complete(){const{innerSubscription:e}=this;e&&!e.closed||super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=void 0}notifyComplete(){this.innerSubscription=void 0,this.isStopped&&super._complete()}notifyNext(e){this.destination.next(e)}}},eNwd:function(e,t,n){"use strict";n.d(t,"a",function(){return a});var r=n("3N8a");class i extends r.a{constructor(e,t){super(e,t),this.scheduler=e,this.work=t}requestAsyncId(e,t,n=0){return null!==n&&n>0?super.requestAsyncId(e,t,n):(e.actions.push(this),e.scheduled||(e.scheduled=requestAnimationFrame(()=>e.flush(null))))}recycleAsyncId(e,t,n=0){if(null!==n&&n>0||null===n&&this.delay>0)return super.recycleAsyncId(e,t,n);0===e.actions.length&&(cancelAnimationFrame(t),e.scheduled=void 0)}}var s=n("IjjT");class o extends s.a{flush(e){this.active=!0,this.scheduled=void 0;const{actions:t}=this;let n,r=-1,i=t.length;e=e||t.shift();do{if(n=e.execute(e.state,e.delay))break}while(++r<i&&(e=t.shift()));if(this.active=!1,n){for(;++r<i&&(e=t.shift());)e.unsubscribe();throw n}}}const a=new o(i)},ejfv:function(e,t,n){"use strict";n.d(t,"a",function(){return i}),n.d(t,"b",function(){return s});const r=["moz","ms","webkit"];function i(e){if("undefined"==typeof window)return null;if(window.cancelAnimationFrame)return window.cancelAnimationFrame(e);const t=r.filter(e=>e+"CancelAnimationFrame"in window||e+"CancelRequestAnimationFrame"in window)[0];return t?(window[t+"CancelAnimationFrame"]||window[t+"CancelRequestAnimationFrame"]).call(this,e):clearTimeout(e)}const s=function(){if("undefined"==typeof window)return()=>0;if(window.requestAnimationFrame)return window.requestAnimationFrame.bind(window);const e=r.filter(e=>e+"RequestAnimationFrame"in window)[0];return e?window[e+"RequestAnimationFrame"]:function(){let e=0;return function(t){const n=(new Date).getTime(),r=Math.max(0,16-(n-e)),i=setTimeout(()=>{t(n+r)},r);return e=n+r,i}}()}()},fXoL:function(e,t,n){"use strict";n.d(t,"a",function(){return zn}),n.d(t,"b",function(){return pv}),n.d(t,"c",function(){return lv}),n.d(t,"d",function(){return av}),n.d(t,"e",function(){return cv}),n.d(t,"f",function(){return zy}),n.d(t,"g",function(){return sy}),n.d(t,"h",function(){return An}),n.d(t,"i",function(){return jv}),n.d(t,"j",function(){return L}),n.d(t,"k",function(){return tf}),n.d(t,"l",function(){return Tv}),n.d(t,"m",function(){return Dv}),n.d(t,"n",function(){return Kg}),n.d(t,"o",function(){return xd}),n.d(t,"p",function(){return Cd}),n.d(t,"q",function(){return Sd}),n.d(t,"r",function(){return Rn}),n.d(t,"s",function(){return In}),n.d(t,"t",function(){return yv}),n.d(t,"u",function(){return Xg}),n.d(t,"v",function(){return Ad}),n.d(t,"w",function(){return Bi}),n.d(t,"x",function(){return Jm}),n.d(t,"y",function(){return dr}),n.d(t,"z",function(){return ev}),n.d(t,"A",function(){return tv}),n.d(t,"B",function(){return la}),n.d(t,"C",function(){return cr}),n.d(t,"D",function(){return Dc}),n.d(t,"E",function(){return Ln}),n.d(t,"F",function(){return ka}),n.d(t,"G",function(){return Qg}),n.d(t,"H",function(){return Xd}),n.d(t,"I",function(){return Kd}),n.d(t,"J",function(){return vv}),n.d(t,"K",function(){return wv}),n.d(t,"L",function(){return sv}),n.d(t,"M",function(){return pf}),n.d(t,"N",function(){return cy}),n.d(t,"O",function(){return ff}),n.d(t,"P",function(){return ey}),n.d(t,"Q",function(){return zv}),n.d(t,"R",function(){return lr}),n.d(t,"S",function(){return Zg}),n.d(t,"T",function(){return mv}),n.d(t,"U",function(){return fv}),n.d(t,"V",function(){return dv}),n.d(t,"W",function(){return Jg}),n.d(t,"X",function(){return Zm}),n.d(t,"Y",function(){return zd}),n.d(t,"Z",function(){return Ld}),n.d(t,"ab",function(){return as}),n.d(t,"bb",function(){return Id}),n.d(t,"cb",function(){return Ei}),n.d(t,"db",function(){return ur}),n.d(t,"eb",function(){return hr}),n.d(t,"fb",function(){return hy}),n.d(t,"gb",function(){return bv}),n.d(t,"hb",function(){return _v}),n.d(t,"ib",function(){return lf}),n.d(t,"jb",function(){return Vv}),n.d(t,"kb",function(){return Un}),n.d(t,"lb",function(){return Rd}),n.d(t,"mb",function(){return Hn}),n.d(t,"nb",function(){return Nn}),n.d(t,"ob",function(){return gf}),n.d(t,"pb",function(){return P}),n.d(t,"qb",function(){return ty}),n.d(t,"rb",function(){return Xv}),n.d(t,"sb",function(){return f}),n.d(t,"tb",function(){return Dr}),n.d(t,"ub",function(){return Gv}),n.d(t,"vb",function(){return Ay}),n.d(t,"wb",function(){return Yv}),n.d(t,"xb",function(){return Md}),n.d(t,"yb",function(){return gv}),n.d(t,"zb",function(){return gp}),n.d(t,"Ab",function(){return vp}),n.d(t,"Bb",function(){return ha}),n.d(t,"Cb",function(){return ih}),n.d(t,"Db",function(){return sr}),n.d(t,"Eb",function(){return Ci}),n.d(t,"Fb",function(){return ii}),n.d(t,"Gb",function(){return qr}),n.d(t,"Hb",function(){return Py}),n.d(t,"Ib",function(){return Gr}),n.d(t,"Jb",function(){return Qr}),n.d(t,"Kb",function(){return Kr}),n.d(t,"Lb",function(){return Xr}),n.d(t,"Mb",function(){return Jr}),n.d(t,"Nb",function(){return Dp}),n.d(t,"Ob",function(){return a_}),n.d(t,"Pb",function(){return Hf}),n.d(t,"Qb",function(){return Qp}),n.d(t,"Rb",function(){return Iy}),n.d(t,"Sb",function(){return eh}),n.d(t,"Tb",function(){return jy}),n.d(t,"Ub",function(){return th}),n.d(t,"Vb",function(){return nh}),n.d(t,"Wb",function(){return $r}),n.d(t,"Xb",function(){return F}),n.d(t,"Yb",function(){return pp}),n.d(t,"Zb",function(){return fp}),n.d(t,"ac",function(){return Ja}),n.d(t,"bc",function(){return pl}),n.d(t,"cc",function(){return fl}),n.d(t,"dc",function(){return xp}),n.d(t,"ec",function(){return Sp}),n.d(t,"fc",function(){return qy}),n.d(t,"gc",function(){return Bp}),n.d(t,"hc",function(){return Xy}),n.d(t,"ic",function(){return Zp}),n.d(t,"jc",function(){return Ky}),n.d(t,"kc",function(){return Gy}),n.d(t,"lc",function(){return em}),n.d(t,"mc",function(){return Vy}),n.d(t,"nc",function(){return Zu}),n.d(t,"oc",function(){return Sm}),n.d(t,"pc",function(){return _m}),n.d(t,"qc",function(){return Pe}),n.d(t,"rc",function(){return u}),n.d(t,"sc",function(){return Qy}),n.d(t,"tc",function(){return If}),n.d(t,"uc",function(){return Wr}),n.d(t,"vc",function(){return tb}),n.d(t,"wc",function(){return Ha}),n.d(t,"xc",function(){return Me}),n.d(t,"yc",function(){return wd}),n.d(t,"zc",function(){return ro}),n.d(t,"Ac",function(){return sc}),n.d(t,"Bc",function(){return Jl}),n.d(t,"Cc",function(){return wu}),n.d(t,"Dc",function(){return Su}),n.d(t,"Ec",function(){return Ou}),n.d(t,"Fc",function(){return Gl}),n.d(t,"Gc",function(){return fg}),n.d(t,"Hc",function(){return J}),n.d(t,"Ic",function(){return se}),n.d(t,"Jc",function(){return b}),n.d(t,"Kc",function(){return _}),n.d(t,"Lc",function(){return ne}),n.d(t,"Mc",function(){return oe}),n.d(t,"Nc",function(){return tl}),n.d(t,"Oc",function(){return cl}),n.d(t,"Pc",function(){return hl}),n.d(t,"Qc",function(){return ul}),n.d(t,"Rc",function(){return ll}),n.d(t,"Sc",function(){return al}),n.d(t,"Tc",function(){return ol}),n.d(t,"Uc",function(){return dl}),n.d(t,"Vc",function(){return xn}),n.d(t,"Wc",function(){return Gu}),n.d(t,"Xc",function(){return Tr}),n.d(t,"Yc",function(){return On}),n.d(t,"Zc",function(){return wg}),n.d(t,"ad",function(){return ml}),n.d(t,"bd",function(){return gg}),n.d(t,"cd",function(){return Ht}),n.d(t,"dd",function(){return Rt}),n.d(t,"ed",function(){return _l}),n.d(t,"fd",function(){return Bm}),n.d(t,"gd",function(){return Ym}),n.d(t,"hd",function(){return Um}),n.d(t,"id",function(){return Wm}),n.d(t,"jd",function(){return qm}),n.d(t,"kd",function(){return xl}),n.d(t,"ld",function(){return Sl}),n.d(t,"md",function(){return rl}),n.d(t,"nd",function(){return Ol}),n.d(t,"od",function(){return Cm}),n.d(t,"pd",function(){return Mm}),n.d(t,"qd",function(){return Em}),n.d(t,"rd",function(){return Tm}),n.d(t,"sd",function(){return Am}),n.d(t,"td",function(){return lg}),n.d(t,"ud",function(){return kc}),n.d(t,"vd",function(){return rs}),n.d(t,"wd",function(){return ns}),n.d(t,"xd",function(){return st}),n.d(t,"yd",function(){return Ti}),n.d(t,"zd",function(){return Ai}),n.d(t,"Ad",function(){return Di}),n.d(t,"Bd",function(){return re}),n.d(t,"Cd",function(){return pg}),n.d(t,"Dd",function(){return ug}),n.d(t,"Ed",function(){return Xl}),n.d(t,"Fd",function(){return $l}),n.d(t,"Gd",function(){return gl}),n.d(t,"Hd",function(){return Xu}),n.d(t,"Id",function(){return Oc}),n.d(t,"Jd",function(){return _g}),n.d(t,"Kd",function(){return uu}),n.d(t,"Ld",function(){return hu}),n.d(t,"Md",function(){return du}),n.d(t,"Nd",function(){return fu}),n.d(t,"Od",function(){return hg});var r=n("XNiG"),i=n("quSY"),s=n("HDdC"),o=n("VRyK"),a=n("w1tV");function c(e){for(let t in e)if(e[t]===c)return t;throw Error("Could not find renamed property on target object.")}function l(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function u(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(u).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return""+e.overriddenName;if(e.name)return""+e.name;const t=e.toString();if(null==t)return""+t;const n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function h(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const d=c({__forward_ref__:c});function f(e){return e.__forward_ref__=f,e.toString=function(){return u(this())},e}function p(e){return m(e)?e():e}function m(e){return"function"==typeof e&&e.hasOwnProperty(d)&&e.__forward_ref__===f}function g(e,t,n){e!=t&&y(n,e,t,"==")}function v(e,t){null==e&&y(t,e,null,"!=")}function y(e,t,n,r){throw new Error("ASSERTION ERROR: "+e+(null==r?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}function b(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function _(e){return{factory:e.factory,providers:e.providers||[],imports:e.imports||[]}}function w(e){return S(e,O)||S(e,C)}function S(e,t){return e.hasOwnProperty(t)?e[t]:null}function x(e){return e&&(e.hasOwnProperty(k)||e.hasOwnProperty(M))?e[k]:null}const O=c({"\u0275prov":c}),k=c({"\u0275inj":c}),C=c({ngInjectableDef:c}),M=c({ngInjectorDef:c});var E;let T;function j(e){const t=T;return T=e,t}function D(e,t,n){const r=w(e);if(r&&"root"==r.providedIn)return void 0===r.value?r.value=r.factory():r.value;if(n&E.Optional)return null;if(void 0!==t)return t;throw new Error(`Injector: NOT_FOUND [${u(e)}]`)}function A(e){return{toString:e}.toString()}var L,z,P;!function(e){e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional"}(E||(E={})),function(e){e[e.OnPush=0]="OnPush",e[e.Default=1]="Default"}(L||(L={})),function(e){e[e.CheckOnce=0]="CheckOnce",e[e.Checked=1]="Checked",e[e.CheckAlways=2]="CheckAlways",e[e.Detached=3]="Detached",e[e.Errored=4]="Errored",e[e.Destroyed=5]="Destroyed"}(z||(z={})),function(e){e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom"}(P||(P={}));const I="undefined"!=typeof globalThis&&globalThis,R="undefined"!=typeof window&&window,N="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,H="undefined"!=typeof global&&global,F=I||H||R||N;const V={},B=[];const Y=c({"\u0275cmp":c}),U=c({"\u0275dir":c}),W=c({"\u0275pipe":c}),q=c({"\u0275mod":c}),$=c({"\u0275loc":c}),G=c({"\u0275fac":c}),X=c({__NG_ELEMENT_ID__:c});let K=0;function J(e){return A(()=>{const t=e.type,n=(t.prototype,{}),r={type:t,providersResolver:null,decls:e.decls,vars:e.vars,factory:null,template:e.template||null,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:n,inputs:null,outputs:null,exportAs:e.exportAs||null,onPush:e.changeDetection===L.OnPush,directiveDefs:null,pipeDefs:null,selectors:e.selectors||B,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||P.Emulated,id:"c",styles:e.styles||B,_:null,setInput:null,schemas:e.schemas||null,tView:null},i=e.directives,s=e.features,o=e.pipes;return r.id+=K++,r.inputs=ie(e.inputs,n),r.outputs=ie(e.outputs),s&&s.forEach(e=>e(r)),r.directiveDefs=i?()=>("function"==typeof i?i():i).map(Z):null,r.pipeDefs=o?()=>("function"==typeof o?o():o).map(ee):null,r})}function Q(e,t,n){const r=e.\u0275cmp;r.directiveDefs=()=>t.map(Z),r.pipeDefs=()=>n.map(ee)}function Z(e){const t=ae(e)||ce(e);return t}function ee(e){const t=le(e);return t}const te={};function ne(e){const t={type:e.type,bootstrap:e.bootstrap||B,declarations:e.declarations||B,imports:e.imports||B,exports:e.exports||B,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null};return null!=e.id&&A(()=>{te[e.id]=e.type}),t}function re(e,t){return A(()=>{const n=ue(e,!0);n.declarations=t.declarations||B,n.imports=t.imports||B,n.exports=t.exports||B})}function ie(e,t){if(null==e)return V;const n={};for(const r in e)if(e.hasOwnProperty(r)){let i=e[r],s=i;Array.isArray(i)&&(s=i[1],i=i[0]),n[i]=r,t&&(t[i]=s)}return n}const se=J;function oe(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,onDestroy:e.type.prototype.ngOnDestroy||null}}function ae(e){return e[Y]||null}function ce(e){return e[U]||null}function le(e){return e[W]||null}function ue(e,t){const n=e[q]||null;if(!n&&!0===t)throw new Error(`Type ${u(e)} does not have '\u0275mod' property.`);return n}const he=20,de=10;function fe(e){return Array.isArray(e)&&"object"==typeof e[1]}function pe(e){return Array.isArray(e)&&!0===e[1]}function me(e){return 0!=(8&e.flags)}function ge(e){return 2==(2&e.flags)}function ve(e){return 1==(1&e.flags)}function ye(e){return null!==e.template}function be(e,t){const n=e.hasOwnProperty(G);return n?e[G]:null}class _e extends Error{constructor(e,t){super(we(e,t)),this.code=e}}function we(e,t){return`${e?`NG0${e}: `:""}${t}`}function Se(e){return"string"==typeof e?e:null==e?"":String(e)}function xe(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():Se(e)}function Oe(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new _e("200",`Circular dependency in DI detected for ${e}${n}`)}function ke(e,t){const n=t?" in "+t:"";throw new _e("201",`No provider for ${xe(e)} found${n}`)}class Ce{constructor(e,t,n){this.previousValue=e,this.currentValue=t,this.firstChange=n}isFirstChange(){return this.firstChange}}function Me(){return Ee}function Ee(e){return e.type.prototype.ngOnChanges&&(e.setInput=je),Te}function Te(){const e=De(this),t=null==e?void 0:e.current;if(t){const n=e.previous;if(n===V)e.previous=t;else for(let e in t)n[e]=t[e];e.current=null,this.ngOnChanges(t)}}function je(e,t,n,r){const i=De(e)||function(e,t){return e.__ngSimpleChanges__=t}(e,{previous:V,current:null}),s=i.current||(i.current={}),o=i.previous,a=this.declaredInputs[n],c=o[a];s[a]=new Ce(c&&c.currentValue,t,o===V),e[r]=t}Me.ngInherit=!0;function De(e){return e.__ngSimpleChanges__||null}const Ae="http://www.w3.org/2000/svg",Le="http://www.w3.org/1998/MathML/";let ze=void 0;function Pe(e){ze=e}function Ie(){return void 0!==ze?ze:"undefined"!=typeof document?document:void 0}var Re;function Ne(e){return!!e.listen}!function(e){e[e.Important=1]="Important",e[e.DashCase=2]="DashCase"}(Re||(Re={}));const He={createRenderer:(e,t)=>Ie()};function Fe(e){for(;Array.isArray(e);)e=e[0];return e}function Ve(e,t){return Fe(t[e])}function Be(e,t){const n=Fe(t[e.index]);return n}function Ye(e,t){const n=e.data[t];return n}function Ue(e,t){return e[t]}function We(e,t){const n=t[e];return fe(n)?n:n[0]}function qe(e){return e.__ngContext__||null}function $e(e){const t=qe(e);return t?Array.isArray(t)?t:t.lView:null}function Ge(e){return 4==(4&e[2])}function Xe(e){return 128==(128&e[2])}function Ke(e,t){return null==t?null:e[t]}function Je(e){e[18]=0}function Qe(e,t){e[5]+=t;let n=e,r=e[3];for(;null!==r&&(1===t&&1===n[5]||-1===t&&0===n[5]);)r[5]+=t,n=r,r=r[3]}const Ze={lFrame:Tt(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function et(){return Ze.bindingsEnabled}function tt(){Ze.bindingsEnabled=!0}function nt(){Ze.bindingsEnabled=!1}function rt(){return Ze.lFrame.lView}function it(){return Ze.lFrame.tView}function st(e){Ze.lFrame.contextLView=e}function ot(){let e=at();for(;null!==e&&64===e.type;)e=e.parent;return e}function at(){return Ze.lFrame.currentTNode}function ct(){const e=Ze.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function lt(e,t){const n=Ze.lFrame;n.currentTNode=e,n.isParent=t}function ut(){return Ze.lFrame.isParent}function ht(){Ze.lFrame.isParent=!1}function dt(){return Ze.isInCheckNoChangesMode}function ft(e){Ze.isInCheckNoChangesMode=e}function pt(){const e=Ze.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function mt(){return Ze.lFrame.bindingIndex}function gt(e){return Ze.lFrame.bindingIndex=e}function vt(){return Ze.lFrame.bindingIndex++}function yt(e){const t=Ze.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function bt(e){Ze.lFrame.inI18n=e}function _t(e,t){const n=Ze.lFrame;n.bindingIndex=n.bindingRootIndex=e,wt(t)}function wt(e){Ze.lFrame.currentDirectiveIndex=e}function St(e){const t=Ze.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}function xt(){return Ze.lFrame.currentQueryIndex}function Ot(e){Ze.lFrame.currentQueryIndex=e}function kt(e){const t=e[1];return 2===t.type?t.declTNode:1===t.type?e[6]:null}function Ct(e,t,n){if(n&E.SkipSelf){let r=t,i=e;for(;!(r=r.parent,null!==r||n&E.Host||(r=kt(i),null===r)||(i=i[15],10&r.type)););if(null===r)return!1;t=r,e=i}const r=Ze.lFrame=Et();return r.currentTNode=t,r.lView=e,!0}function Mt(e){const t=Et();const n=e[1];Ze.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Et(){const e=Ze.lFrame,t=null===e?null:e.child;return null===t?Tt(e):t}function Tt(e){const t={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:e,child:null,inI18n:!1};return null!==e&&(e.child=t),t}function jt(){const e=Ze.lFrame;return Ze.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Dt=jt;function At(){const e=jt();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function Lt(e){return(Ze.lFrame.contextLView=function(e,t){for(;e>0;)t=t[15],e--;return t}(e,Ze.lFrame.contextLView))[8]}function zt(){return Ze.lFrame.selectedIndex}function Pt(e){Ze.lFrame.selectedIndex=e}function It(){const e=Ze.lFrame;return Ye(e.tView,e.selectedIndex)}function Rt(){Ze.lFrame.currentNamespace=Ae}function Nt(){Ze.lFrame.currentNamespace=Le}function Ht(){Ze.lFrame.currentNamespace=null}function Ft(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){const t=e.data[n],r=t.type.prototype,{ngAfterContentInit:i,ngAfterContentChecked:s,ngAfterViewInit:o,ngAfterViewChecked:a,ngOnDestroy:c}=r;i&&(e.contentHooks||(e.contentHooks=[])).push(-n,i),s&&((e.contentHooks||(e.contentHooks=[])).push(n,s),(e.contentCheckHooks||(e.contentCheckHooks=[])).push(n,s)),o&&(e.viewHooks||(e.viewHooks=[])).push(-n,o),a&&((e.viewHooks||(e.viewHooks=[])).push(n,a),(e.viewCheckHooks||(e.viewCheckHooks=[])).push(n,a)),null!=c&&(e.destroyHooks||(e.destroyHooks=[])).push(n,c)}}function Vt(e,t,n){Ut(e,t,3,n)}function Bt(e,t,n,r){(3&e[2])===n&&Ut(e,t,n,r)}function Yt(e,t){let n=e[2];(3&n)===t&&(n&=2047,n+=1,e[2]=n)}function Ut(e,t,n,r){const i=void 0!==r?65535&e[18]:0,s=null!=r?r:-1,o=t.length-1;let a=0;for(let c=i;c<o;c++){if("number"==typeof t[c+1]){if(a=t[c],null!=r&&a>=r)break}else{t[c]<0&&(e[18]+=65536),(a<s||-1==s)&&(Wt(e,n,t,c),e[18]=(4294901760&e[18])+c+2),c++}}}function Wt(e,t,n,r){const i=n[r]<0,s=n[r+1],o=e[i?-n[r]:n[r]];if(i){e[2]>>11<e[18]>>16&&(3&e[2])===t&&(e[2]+=2048,s.call(o))}else s.call(o)}const qt=-1;class $t{constructor(e,t,n){this.factory=e,this.resolving=!1,this.canSeeViewProviders=t,this.injectImpl=n}}function Gt(e,t,n){const r=Ne(e);let i=0;for(;i<n.length;){const s=n[i];if("number"==typeof s){if(0!==s)break;i++;const o=n[i++],a=n[i++],c=n[i++];r?e.setAttribute(t,a,c,o):t.setAttributeNS(o,a,c)}else{const o=s,a=n[++i];Kt(o)?r&&e.setProperty(t,o,a):r?e.setAttribute(t,o,a):t.setAttribute(o,a),i++}}return i}function Xt(e){return 3===e||4===e||6===e}function Kt(e){return 64===e.charCodeAt(0)}function Jt(e,t){if(null===t||0===t.length);else if(null===e||0===e.length)e=t.slice();else{let n=-1;for(let r=0;r<t.length;r++){const i=t[r];"number"==typeof i?n=i:0===n||Qt(e,n,i,null,-1===n||2===n?t[++r]:null)}}return e}function Qt(e,t,n,r,i){let s=0,o=e.length;if(-1===t)o=-1;else for(;s<e.length;){const n=e[s++];if("number"==typeof n){if(n===t){o=-1;break}if(n>t){o=s-1;break}}}for(;s<e.length;){const t=e[s];if("number"==typeof t)break;if(t===n){if(null===r)return void(null!==i&&(e[s+1]=i));if(r===e[s+1])return void(e[s+2]=i)}s++,null!==r&&s++,null!==i&&s++}-1!==o&&(e.splice(o,0,t),s=o+1),e.splice(s++,0,n),null!==r&&e.splice(s++,0,r),null!==i&&e.splice(s++,0,i)}function Zt(e){return e!==qt}function en(e){return 32767&e}function tn(e,t){let n=e>>16;let r=t;for(;n>0;)r=r[15],n--;return r}let nn=!0;function rn(e){const t=nn;return nn=e,t}let sn=0;function on(e,t){const n=cn(e,t);if(-1!==n)return n;const r=t[1];r.firstCreatePass&&(e.injectorIndex=t.length,an(r.data,e),an(t,null),an(r.blueprint,null));const i=ln(e,t),s=e.injectorIndex;if(Zt(i)){const e=en(i),n=tn(i,t),r=n[1].data;for(let i=0;i<8;i++)t[s+i]=n[e+i]|r[e+i]}return t[s+8]=i,s}function an(e,t){e.push(0,0,0,0,0,0,0,0,t)}function cn(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function ln(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,i=t;for(;null!==i;){const e=i[1],t=e.type;if(r=2===t?e.declTNode:1===t?i[6]:null,null===r)return qt;if(n++,i=i[15],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return qt}function un(e,t,n){!function(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(X)&&(r=n[X]),null==r&&(r=n[X]=sn++);const i=255&r,s=1<<i,o=128&i,a=64&i,c=32&i,l=t.data;o?a?c?l[e+7]|=s:l[e+6]|=s:c?l[e+5]|=s:l[e+4]|=s:a?c?l[e+3]|=s:l[e+2]|=s:c?l[e+1]|=s:l[e]|=s}(e,t,n)}function hn(e,t,n){if(n&E.Optional)return e;ke(t,"NodeInjector")}function dn(e,t,n,r){if(n&E.Optional&&void 0===r&&(r=null),0==(n&(E.Self|E.Host))){const i=e[9],s=j(void 0);try{return i?i.get(t,r,n&E.Optional):D(t,r,n&E.Optional)}finally{j(s)}}return hn(r,t,n)}function fn(e,t,n,r=E.Default,i){if(null!==e){const s=function(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(X)?e[X]:void 0;return"number"==typeof t?t>=0?255&t:mn:t}(n);if("function"==typeof s){if(!Ct(t,e,r))return r&E.Host?hn(i,n,r):dn(t,n,r,i);try{const e=s();if(null!=e||r&E.Optional)return e;ke(n)}finally{Dt()}}else if("number"==typeof s){let i=null,o=cn(e,t),a=qt,c=r&E.Host?t[16][6]:null;for((-1===o||r&E.SkipSelf)&&(a=-1===o?ln(e,t):t[o+8],a!==qt&&_n(r,!1)?(i=t[1],o=en(a),t=tn(a,t)):o=-1);-1!==o;){const e=t[1];if(bn(s,o,e.data)){const e=gn(o,t,n,i,r,c);if(e!==pn)return e}a=t[o+8],a!==qt&&_n(r,t[1].data[o+8]===c)&&bn(s,o,t)?(i=e,o=en(a),t=tn(a,t)):o=-1}}}return dn(t,n,r,i)}const pn={};function mn(){return new wn(ot(),rt())}function gn(e,t,n,r,i,s){const o=t[1],a=o.data[e+8],c=vn(a,o,n,null==r?ge(a)&&nn:r!=o&&0!=(3&a.type),i&E.Host&&s===a);return null!==c?yn(t,o,c,a):pn}function vn(e,t,n,r,i){const s=e.providerIndexes,o=t.data,a=1048575&s,c=e.directiveStart,l=e.directiveEnd,u=s>>20,h=i?a+u:l;for(let d=r?a:a+u;d<h;d++){const e=o[d];if(d<c&&n===e||d>=c&&e.type===n)return d}if(i){const e=o[c];if(e&&ye(e)&&e.type===n)return c}return null}function yn(e,t,n,r){let i=e[n];const s=t.data;if(i instanceof $t){const o=i;o.resolving&&Oe(xe(s[n]));const a=rn(o.canSeeViewProviders);o.resolving=!0;const c=o.injectImpl?j(o.injectImpl):null;Ct(e,r,E.Default);try{i=e[n]=o.factory(void 0,s,e,r),t.firstCreatePass&&n>=r.directiveStart&&function(e,t,n){const{ngOnChanges:r,ngOnInit:i,ngDoCheck:s}=t.type.prototype;if(r){const r=Ee(t);(n.preOrderHooks||(n.preOrderHooks=[])).push(e,r),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,r)}i&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-e,i),s&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,s),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,s))}(n,s[n],t)}finally{null!==c&&j(c),rn(a),o.resolving=!1,Dt()}}return i}function bn(e,t,n){const r=1<<e,i=64&e,s=32&e;let o;return o=128&e?i?s?n[t+7]:n[t+6]:s?n[t+5]:n[t+4]:i?s?n[t+3]:n[t+2]:s?n[t+1]:n[t],!!(o&r)}function _n(e,t){return!(e&E.Self||e&E.Host&&t)}class wn{constructor(e,t){this._tNode=e,this._lView=t}get(e,t){return fn(this._tNode,this._lView,e,void 0,t)}}function Sn(e){const t=e;if(m(e))return()=>{const e=Sn(p(t));return e?e():null};let n=be(t);if(null===n){const e=x(t);n=e&&e.factory}return n||null}function xn(e){return A(()=>{const t=e.prototype.constructor,n=t[G]||Sn(t),r=Object.prototype;let i=Object.getPrototypeOf(e.prototype).constructor;for(;i&&i!==r;){const e=i[G]||Sn(i);if(e&&e!==n)return e;i=Object.getPrototypeOf(i)}return e=>new e})}function On(e){return function(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const n=e.attrs;if(n){const e=n.length;let r=0;for(;r<e;){const i=n[r];if(Xt(i))break;if(0===i)r+=2;else if("number"==typeof i)for(r++;r<e&&"string"==typeof n[r];)r++;else{if(i===t)return n[r+1];r+=2}}}return null}(ot(),e)}const kn="__annotations__",Cn="__parameters__",Mn="__prop__metadata__";function En(e,t,n,r,i){return A(()=>{const s=Tn(t);function o(...e){if(this instanceof o)return s.call(this,...e),this;const t=new o(...e);return function(n){i&&i(n,...e);return(n.hasOwnProperty(kn)?n[kn]:Object.defineProperty(n,kn,{value:[]})[kn]).push(t),r&&r(n),n}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}function Tn(e){return function(...t){if(e){const n=e(...t);for(const e in n)this[e]=n[e]}}}function jn(e,t,n){return A(()=>{const r=Tn(t);function i(...e){if(this instanceof i)return r.apply(this,e),this;const t=new i(...e);return n.annotation=t,n;function n(e,n,r){const i=e.hasOwnProperty(Cn)?e[Cn]:Object.defineProperty(e,Cn,{value:[]})[Cn];for(;i.length<=r;)i.push(null);return(i[r]=i[r]||[]).push(t),e}}return n&&(i.prototype=Object.create(n.prototype)),i.prototype.ngMetadataName=e,i.annotationCls=i,i})}function Dn(e,t,n,r){return A(()=>{const i=Tn(t);function s(...e){if(this instanceof s)return i.apply(this,e),this;const t=new s(...e);return function(n,i){const s=n.constructor,o=s.hasOwnProperty(Mn)?s[Mn]:Object.defineProperty(s,Mn,{value:{}})[Mn];o[i]=o.hasOwnProperty(i)&&o[i]||[],o[i].unshift(t),r&&r(n,i,...e)}}return n&&(s.prototype=Object.create(n.prototype)),s.prototype.ngMetadataName=e,s.annotationCls=s,s})}const An=function(){return jn("Attribute",e=>({attributeName:e,__NG_ELEMENT_ID__:()=>On(e)}))}();class Ln{constructor(e,t){this._desc=e,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof t?this.__NG_ELEMENT_ID__=t:void 0!==t&&(this.\u0275prov=b({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}toString(){return"InjectionToken "+this._desc}}const zn=new Ln("AnalyzeForEntryComponents");class Pn{}const In=Dn("ContentChildren",(e,t={})=>Object.assign({selector:e,first:!1,isViewQuery:!1,descendants:!1},t),Pn),Rn=Dn("ContentChild",(e,t={})=>Object.assign({selector:e,first:!0,isViewQuery:!1,descendants:!0},t),Pn),Nn=Dn("ViewChildren",(e,t={})=>Object.assign({selector:e,first:!1,isViewQuery:!0,descendants:!0},t),Pn),Hn=Dn("ViewChild",(e,t)=>Object.assign({selector:e,first:!0,isViewQuery:!0,descendants:!0},t),Pn);var Fn,Vn,Bn;function Yn(){const e=F.ng;if(!e||!e.\u0275compilerFacade)throw new Error("Angular JIT compilation failed: '@angular/compiler' not loaded!\n  - JIT compilation is discouraged for production use-cases! Consider AOT mode instead.\n  - Did you bootstrap using '@angular/platform-browser-dynamic' or '@angular/platform-server'?\n  - Alternatively provide the compiler with 'import \"@angular/compiler\";' before bootstrapping.");return e.\u0275compilerFacade}!function(e){e[e.Token=0]="Token",e[e.Attribute=1]="Attribute",e[e.ChangeDetectorRef=2]="ChangeDetectorRef",e[e.Invalid=3]="Invalid"}(Fn||(Fn={})),function(e){e[e.Directive=0]="Directive",e[e.Component=1]="Component",e[e.Injectable=2]="Injectable",e[e.Pipe=3]="Pipe",e[e.NgModule=4]="NgModule"}(Vn||(Vn={})),function(e){e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom"}(Bn||(Bn={}));const Un=Function;function Wn(e){return"function"==typeof e}function qn(e,t){void 0===t&&(t=e);for(let n=0;n<e.length;n++){let r=e[n];Array.isArray(r)?(t===e&&(t=e.slice(0,n)),qn(r,t)):t!==e&&t.push(r)}return t}function $n(e,t){e.forEach(e=>Array.isArray(e)?$n(e,t):t(e))}function Gn(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Xn(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Kn(e,t){const n=[];for(let r=0;r<e;r++)n.push(t);return n}function Jn(e,t,n){let r=Zn(e,t);return r>=0?e[1|r]=n:(r=~r,function(e,t,n,r){let i=e.length;if(i==t)e.push(n,r);else if(1===i)e.push(r,e[0]),e[0]=n;else{for(i--,e.push(e[i-1],e[i]);i>t;){const t=i-2;e[i]=e[t],i--}e[t]=n,e[t+1]=r}}(e,r,t,n)),r}function Qn(e,t){const n=Zn(e,t);if(n>=0)return e[1|n]}function Zn(e,t){return er(e,t,1)}function er(e,t,n){let r=0,i=e.length>>n;for(;i!==r;){const s=r+(i-r>>1),o=e[s<<n];if(t===o)return s<<n;o>t?i=s:r=s+1}return~(i<<n)}const tr=/^function\s+\S+\(\)\s*{[\s\S]+\.apply\(this,\s*(arguments|[^()]+\(arguments\))\)/,nr=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{/,rr=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(/,ir=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(\)\s*{\s*super\(\.\.\.arguments\)/;class sr{constructor(e){this._reflect=e||F.Reflect}isReflectionEnabled(){return!0}factory(e){return(...t)=>new e(...t)}_zipTypesAndAnnotations(e,t){let n;n=Kn(void 0===e?t.length:e.length);for(let r=0;r<n.length;r++)void 0===e?n[r]=[]:e[r]&&e[r]!=Object?n[r]=[e[r]]:n[r]=[],t&&null!=t[r]&&(n[r]=n[r].concat(t[r]));return n}_ownParameters(e,t){if(function(e){return tr.test(e)||ir.test(e)||nr.test(e)&&!rr.test(e)}(e.toString()))return null;if(e.parameters&&e.parameters!==t.parameters)return e.parameters;const n=e.ctorParameters;if(n&&n!==t.ctorParameters){const e="function"==typeof n?n():n,t=e.map(e=>e&&e.type),r=e.map(e=>e&&or(e.decorators));return this._zipTypesAndAnnotations(t,r)}const r=e.hasOwnProperty(Cn)&&e[Cn],i=this._reflect&&this._reflect.getOwnMetadata&&this._reflect.getOwnMetadata("design:paramtypes",e);return i||r?this._zipTypesAndAnnotations(i,r):Kn(e.length)}parameters(e){if(!Wn(e))return[];const t=ar(e);let n=this._ownParameters(e,t);return n||t===Object||(n=this.parameters(t)),n||[]}_ownAnnotations(e,t){if(e.annotations&&e.annotations!==t.annotations){let t=e.annotations;return"function"==typeof t&&t.annotations&&(t=t.annotations),t}return e.decorators&&e.decorators!==t.decorators?or(e.decorators):e.hasOwnProperty(kn)?e[kn]:null}annotations(e){if(!Wn(e))return[];const t=ar(e),n=this._ownAnnotations(e,t)||[];return(t!==Object?this.annotations(t):[]).concat(n)}_ownPropMetadata(e,t){if(e.propMetadata&&e.propMetadata!==t.propMetadata){let t=e.propMetadata;return"function"==typeof t&&t.propMetadata&&(t=t.propMetadata),t}if(e.propDecorators&&e.propDecorators!==t.propDecorators){const t=e.propDecorators,n={};return Object.keys(t).forEach(e=>{n[e]=or(t[e])}),n}return e.hasOwnProperty(Mn)?e[Mn]:null}propMetadata(e){if(!Wn(e))return{};const t=ar(e),n={};if(t!==Object){const e=this.propMetadata(t);Object.keys(e).forEach(t=>{n[t]=e[t]})}const r=this._ownPropMetadata(e,t);return r&&Object.keys(r).forEach(e=>{const t=[];n.hasOwnProperty(e)&&t.push(...n[e]),t.push(...r[e]),n[e]=t}),n}ownPropMetadata(e){return Wn(e)&&this._ownPropMetadata(e,ar(e))||{}}hasLifecycleHook(e,t){return e instanceof Un&&t in e.prototype}guards(e){return{}}getter(e){return new Function("o","return o."+e+";")}setter(e){return new Function("o","v","return o."+e+" = v;")}method(e){return new Function("o","args",`if (!o.${e}) throw new Error('"${e}" is undefined');\n        return o.${e}.apply(o, args);`)}importUri(e){return"object"==typeof e&&e.filePath?e.filePath:"./"+u(e)}resourceUri(e){return"./"+u(e)}resolveIdentifier(e,t,n,r){return r}resolveEnum(e,t){return e[t]}}function or(e){return e?e.map(e=>new(0,e.type.annotationCls)(...e.args?e.args:[])):[]}function ar(e){const t=e.prototype?Object.getPrototypeOf(e.prototype):null;return(t?t.constructor:null)||Object}const cr=jn("Inject",e=>({token:e})),lr=jn("Optional"),ur=jn("Self"),hr=jn("SkipSelf"),dr=jn("Host");let fr=null;function pr(){return fr=fr||new sr}function mr(e){return gr(pr().parameters(e))}function gr(e){const t=Yn();return e.map(e=>function(e,t){const n={token:null,host:!1,optional:!1,resolved:e.R3ResolvedDependencyType.Token,self:!1,skipSelf:!1};function r(t){n.resolved=e.R3ResolvedDependencyType.Token,n.token=t}if(Array.isArray(t)&&t.length>0)for(let i=0;i<t.length;i++){const s=t[i];if(void 0===s)continue;const o=Object.getPrototypeOf(s);if(s instanceof lr||"Optional"===o.ngMetadataName)n.optional=!0;else if(s instanceof hr||"SkipSelf"===o.ngMetadataName)n.skipSelf=!0;else if(s instanceof ur||"Self"===o.ngMetadataName)n.self=!0;else if(s instanceof dr||"Host"===o.ngMetadataName)n.host=!0;else if(s instanceof cr)n.token=s.token;else if(s instanceof An){if(void 0===s.attributeName)throw new Error("Attribute name must be defined.");n.token=s.attributeName,n.resolved=e.R3ResolvedDependencyType.Attribute}else!0===s.__ChangeDetectorRef__?(n.token=s,n.resolved=e.R3ResolvedDependencyType.ChangeDetectorRef):r(s)}else void 0===t||Array.isArray(t)&&0===t.length?(n.token=void 0,n.resolved=Fn.Invalid):r(t);return n}(t,e))}function vr(e){const t=[],n=new Map;function r(t){let r=n.get(t);if(!r){const i=e(t);n.set(t,r=i.then(wr))}return r}return yr.forEach((e,n)=>{const i=[];e.templateUrl&&i.push(r(e.templateUrl).then(t=>{e.template=t}));const s=e.styleUrls,o=e.styles||(e.styles=[]),a=e.styles.length;s&&s.forEach((t,n)=>{o.push(""),i.push(r(t).then(r=>{o[a+n]=r,s.splice(s.indexOf(t),1),0==s.length&&(e.styleUrls=void 0)}))});const c=Promise.all(i).then(()=>function(e){br.delete(e)}(n));t.push(c)}),function(){const e=yr;yr=new Map}(),Promise.all(t).then(()=>{})}let yr=new Map;const br=new Set;function _r(e){return!!(e.templateUrl&&!e.hasOwnProperty("template")||e.styleUrls&&e.styleUrls.length)}function wr(e){return"string"==typeof e?e:e.text()}const Sr={},xr=/\n/gm,Or="__source",kr=c({provide:String,useValue:c});let Cr=void 0;function Mr(e){const t=Cr;return Cr=e,t}function Er(e,t=E.Default){if(void 0===Cr)throw new Error("inject() must be called from an injection context");return null===Cr?D(e,void 0,t):Cr.get(e,t&E.Optional?null:void 0,t)}function Tr(e,t=E.Default){return(T||Er)(p(e),t)}function jr(e){throw new Error("invalid")}const Dr=Tr;function Ar(e){const t=[];for(let n=0;n<e.length;n++){const r=p(e[n]);if(Array.isArray(r)){if(0===r.length)throw new Error("Arguments array must have arguments.");let e=void 0,n=E.Default;for(let t=0;t<r.length;t++){const i=r[t];i instanceof lr||"Optional"===i.ngMetadataName||i===lr?n|=E.Optional:i instanceof hr||"SkipSelf"===i.ngMetadataName||i===hr?n|=E.SkipSelf:i instanceof ur||"Self"===i.ngMetadataName||i===ur?n|=E.Self:i instanceof dr||"Host"===i.ngMetadataName||i===dr?n|=E.Host:e=i instanceof cr||i===cr?i.token:i}t.push(Tr(e,n))}else t.push(Tr(r))}return t}function Lr(e,t,n,r){const i=e.ngTempTokenPath;throw t[Or]&&i.unshift(t[Or]),e.message=zr("\n"+e.message,i,n,r),e.ngTokenPath=i,e.ngTempTokenPath=null,e}function zr(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.substr(2):e;let i=u(t);if(Array.isArray(t))i=t.map(u).join(" -> ");else if("object"==typeof t){let e=[];for(let n in t)if(t.hasOwnProperty(n)){let r=t[n];e.push(n+":"+("string"==typeof r?JSON.stringify(r):u(r)))}i=`{${e.join(", ")}}`}return`${n}${r?"("+r+")":""}[${i}]: ${e.replace(xr,"\n  ")}`}let Pr;function Ir(){if(void 0===Pr&&(Pr=null,F.trustedTypes))try{Pr=F.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch(e){}return Pr}function Rr(e){var t;return(null===(t=Ir())||void 0===t?void 0:t.createHTML(e))||e}function Nr(e){var t;return(null===(t=Ir())||void 0===t?void 0:t.createScript(e))||e}class Hr{constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return"SafeValue must use [property]=binding: "+this.changingThisBreaksApplicationSecurity+" (see https://g.co/ng/security#xss)"}}class Fr extends Hr{getTypeName(){return"HTML"}}class Vr extends Hr{getTypeName(){return"Style"}}class Br extends Hr{getTypeName(){return"Script"}}class Yr extends Hr{getTypeName(){return"URL"}}class Ur extends Hr{getTypeName(){return"ResourceURL"}}function Wr(e){return e instanceof Hr?e.changingThisBreaksApplicationSecurity:e}function qr(e,t){const n=$r(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${n} (see https://g.co/ng/security#xss)`)}return n===t}function $r(e){return e instanceof Hr&&e.getTypeName()||null}function Gr(e){return new Fr(e)}function Xr(e){return new Vr(e)}function Kr(e){return new Br(e)}function Jr(e){return new Yr(e)}function Qr(e){return new Ur(e)}function Zr(e){const t=new ti(e);return function(){try{return!!(new window.DOMParser).parseFromString(Rr(""),"text/html")}catch(e){return!1}}()?new ei(t):t}class ei{constructor(e){this.inertDocumentHelper=e}getInertBodyElement(e){e="<body><remove></remove>"+e;try{const t=(new window.DOMParser).parseFromString(Rr(e),"text/html").body;return null===t?this.inertDocumentHelper.getInertBodyElement(e):(t.removeChild(t.firstChild),t)}catch(t){return null}}}class ti{constructor(e){if(this.defaultDoc=e,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const e=this.inertDocument.createElement("html");this.inertDocument.appendChild(e);const t=this.inertDocument.createElement("body");e.appendChild(t)}}getInertBodyElement(e){const t=this.inertDocument.createElement("template");if("content"in t)return t.innerHTML=Rr(e),t;const n=this.inertDocument.createElement("body");return n.innerHTML=Rr(e),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(n),n}stripCustomNsAttrs(e){const t=e.attributes;for(let r=t.length-1;0<r;r--){const n=t.item(r).name;"xmlns:ns1"!==n&&0!==n.indexOf("ns1:")||e.removeAttribute(n)}let n=e.firstChild;for(;n;)n.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(n),n=n.nextSibling}}const ni=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi,ri=/^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 ii(e){return(e=String(e)).match(ni)||e.match(ri)?e:"unsafe:"+e}function si(e){return(e=String(e)).split(",").map(e=>ii(e.trim())).join(", ")}function oi(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function ai(...e){const t={};for(const n of e)for(const e in n)n.hasOwnProperty(e)&&(t[e]=!0);return t}const ci=oi("area,br,col,hr,img,wbr"),li=oi("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),ui=oi("rp,rt"),hi=ai(ui,li),di=ai(li,oi("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")),fi=ai(ui,oi("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")),pi=ai(ci,di,fi,hi),mi=oi("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),gi=oi("srcset"),vi=oi("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"),yi=oi("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"),bi=ai(mi,gi,vi,yi),_i=oi("script,style,template");class wi{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(e){let t=e.firstChild,n=!0;for(;t;)if(t.nodeType===Node.ELEMENT_NODE?n=this.startElement(t):t.nodeType===Node.TEXT_NODE?this.chars(t.nodeValue):this.sanitizedSomething=!0,n&&t.firstChild)t=t.firstChild;else for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);let e=this.checkClobberedElement(t,t.nextSibling);if(e){t=e;break}t=this.checkClobberedElement(t,t.parentNode)}return this.buf.join("")}startElement(e){const t=e.nodeName.toLowerCase();if(!pi.hasOwnProperty(t))return this.sanitizedSomething=!0,!_i.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);const n=e.attributes;for(let r=0;r<n.length;r++){const e=n.item(r),t=e.name,i=t.toLowerCase();if(!bi.hasOwnProperty(i)){this.sanitizedSomething=!0;continue}let s=e.value;mi[i]&&(s=ii(s)),gi[i]&&(s=si(s)),this.buf.push(" ",t,'="',Oi(s),'"')}return this.buf.push(">"),!0}endElement(e){const t=e.nodeName.toLowerCase();pi.hasOwnProperty(t)&&!ci.hasOwnProperty(t)&&(this.buf.push("</"),this.buf.push(t),this.buf.push(">"))}chars(e){this.buf.push(Oi(e))}checkClobberedElement(e,t){if(t&&(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error("Failed to sanitize html because the element is clobbered: "+e.outerHTML);return t}}const Si=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,xi=/([^\#-~ |!])/g;function Oi(e){return e.replace(/&/g,"&amp;").replace(Si,function(e){return"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";"}).replace(xi,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}let ki;function Ci(e,t){let n=null;try{ki=ki||Zr(e);let r=t?String(t):"";n=ki.getInertBodyElement(r);let i=5,s=r;do{if(0===i)throw new Error("Failed to sanitize html because the input is unstable");i--,r=s,s=n.innerHTML,n=ki.getInertBodyElement(r)}while(r!==s);const o=new wi;return o.sanitizeChildren(Mi(n)||n)}finally{if(n){const e=Mi(n)||n;for(;e.firstChild;)e.removeChild(e.firstChild)}}}function Mi(e){return"content"in e&&function(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var Ei;function Ti(e){const t=Ni();return t?t.sanitize(Ei.HTML,e)||"":qr(e,"HTML")?Wr(e):Ci(Ie(),Se(e))}function ji(e){const t=Ni();return t?t.sanitize(Ei.STYLE,e)||"":qr(e,"Style")?Wr(e):Se(e)}function Di(e){const t=Ni();return t?t.sanitize(Ei.URL,e)||"":qr(e,"URL")?Wr(e):ii(Se(e))}function Ai(e){const t=Ni();if(t)return t.sanitize(Ei.RESOURCE_URL,e)||"";if(qr(e,"ResourceURL"))return Wr(e);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)")}function Li(e){const t=Ni();if(t)return t.sanitize(Ei.SCRIPT,e)||"";if(qr(e,"Script"))return Wr(e);throw new Error("unsafe value used in a script context")}function zi(e){return Rr(e)}function Pi(e){return Nr(e)}function Ii(e){return function(e){var t;return(null===(t=Ir())||void 0===t?void 0:t.createScriptURL(e))||e}(e)}function Ri(e,t,n){return function(e,t){return"src"===t&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===t&&("base"===e||"link"===e)?Ai:Di}(t,n)(e)}function Ni(){const e=rt();return e&&e[12]}!function(e){e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL"}(Ei||(Ei={}));function Hi(e){return e.ngDebugContext}function Fi(e){return e.ngOriginalError}function Vi(e,...t){e.error(...t)}class Bi{constructor(){this._console=console}handleError(e){const t=this._findOriginalError(e),n=this._findContext(e),r=function(e){return e.ngErrorLogger||Vi}(e);r(this._console,"ERROR",e),t&&r(this._console,"ORIGINAL ERROR",t),n&&r(this._console,"ERROR CONTEXT",n)}_findContext(e){return e?Hi(e)?Hi(e):this._findContext(Fi(e)):null}_findOriginalError(e){let t=Fi(e);for(;t&&Fi(t);)t=Fi(t);return t}}const Yi=/-->/g;function Ui(e){return e.replace(Yi,"-\u200b-\u200b>")}function Wi(e){var t;return t=e.replace(/[$@]/g,"_"),"ng-reflect-"+(e=t.replace(qi,(...e)=>"-"+e[1].toLowerCase()))}const qi=/([A-Z])/g;function $i(e){try{return null!=e?e.toString().slice(0,30):e}catch(t){return"[ERROR] Exception while trying to serialize the value"}}function Gi(e){let t=qe(e);if(t){if(Array.isArray(t)){const r=t;let i,s=void 0,o=void 0;if((n=e)&&n.constructor&&n.constructor.\u0275cmp){if(i=Zi(r,e),-1==i)throw new Error("The provided component was not found in the application");s=e}else if(function(e){return e&&e.constructor&&e.constructor.\u0275dir}(e)){if(i=function(e,t){let n=e[1].firstChild;for(;n;){const r=n.directiveStart,i=n.directiveEnd;for(let s=r;s<i;s++)if(e[s]===t)return n.index;n=Qi(n)}return-1}(r,e),-1==i)throw new Error("The provided directive was not found in the application");o=es(i,r,!1)}else if(i=Ji(r,e),-1==i)return null;const a=Fe(r[i]),c=qe(a),l=c&&!Array.isArray(c)?c:Xi(r,i,a);if(s&&void 0===l.component&&(l.component=s,Ki(l.component,l)),o&&void 0===l.directives){l.directives=o;for(let e=0;e<o.length;e++)Ki(o[e],l)}Ki(l.native,l),t=l}}else{const n=e;let r=n;for(;r=r.parentNode;){const e=qe(r);if(e){let r;if(r=Array.isArray(e)?e:e.lView,!r)return null;const i=Ji(r,n);if(i>=0){const e=Fe(r[i]),n=Xi(r,i,e);Ki(e,n),t=n;break}}}}var n;return t||null}function Xi(e,t,n){return{lView:e,nodeIndex:t,native:n,component:void 0,directives:void 0,localRefs:void 0}}function Ki(e,t){e.__ngContext__=t}function Ji(e,t){const n=e[1];for(let r=he;r<n.bindingStartIndex;r++)if(Fe(e[r])===t)return r;return-1}function Qi(e){if(e.child)return e.child;if(e.next)return e.next;for(;e.parent&&!e.parent.next;)e=e.parent;return e.parent&&e.parent.next}function Zi(e,t){const n=e[1].components;if(n)for(let r=0;r<n.length;r++){const i=n[r];if(We(i,e)[8]===t)return i}else{if(We(he,e)[8]===t)return he}return-1}function es(e,t,n){const r=t[1].data[e];let i=r.directiveStart;if(0==i)return B;const s=r.directiveEnd;return!n&&2&r.flags&&i++,t.slice(i,s)}const ts=("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(F);function ns(e){return{name:"window",target:e.ownerDocument.defaultView}}function rs(e){return{name:"document",target:e.ownerDocument}}function is(e){return{name:"body",target:e.ownerDocument.body}}const ss="\ufffd";function os(e){return e instanceof Function?e():e}var as;let cs;function ls(e,t){return cs(e,t)}!function(e){e[e.Important=1]="Important",e[e.DashCase=2]="DashCase"}(as||(as={}));function us(e){const t=e[3];return pe(t)?t[3]:t}function hs(e){return fs(e[13])}function ds(e){return fs(e[4])}function fs(e){for(;null!==e&&!pe(e);)e=e[4];return e}function ps(e,t,n,r,i){if(null!=r){let s,o=!1;pe(r)?s=r:fe(r)&&(o=!0,r=r[0]);const a=Fe(r);0===e&&null!==n?null==i?Ms(t,n,a):Cs(t,n,a,i||null,!0):1===e&&null!==n?Cs(t,n,a,i||null,!0):2===e?Ns(t,a,o):3===e&&t.destroyNode(a),null!=s&&function(e,t,n,r,i){const s=n[7],o=Fe(n);s!==o&&ps(t,e,r,s,i);for(let a=de;a<n.length;a++){const i=n[a];Fs(i[1],i,e,t,r,s)}}(t,e,s,n,i)}}function ms(e,t){return Ne(e)?e.createText(t):e.createTextNode(t)}function gs(e,t,n){Ne(e)?e.setValue(t,n):t.textContent=n}function vs(e,t){return e.createComment(Ui(t))}function ys(e,t,n){return Ne(e)?e.createElement(t,n):null===n?e.createElement(t):e.createElementNS(n,t)}function bs(e,t,n,r){const i=de+r,s=n.length;r>0&&(n[i-1][4]=t),r<s-de?(t[4]=n[i],Gn(n,de+r,t)):(n.push(t),t[4]=null),t[3]=n;const o=t[17];null!==o&&n!==o&&function(e,t){const n=e[9],r=t[3];const i=r[3][16];const s=t[16];s!==i&&(e[2]=!0);null===n?e[9]=[t]:n.push(t)}(o,t);const a=t[19];null!==a&&a.insertView(e),t[2]|=128}function _s(e,t){const n=e[9],r=n.indexOf(t),i=t[3];1024&t[2]&&(t[2]&=-1025,Qe(i,-1)),n.splice(r,1)}function ws(e,t){if(e.length<=de)return;const n=de+t,r=e[n];if(r){const s=r[17];null!==s&&s!==e&&_s(s,r),t>0&&(e[n-1][4]=r[4]);const o=Xn(e,de+t);Fs(r[1],i=r,i[11],2,null,null),i[0]=null,i[6]=null;const a=o[19];null!==a&&a.detachView(o[1]),r[3]=null,r[4]=null,r[2]&=-129}var i;return r}function Ss(e,t){if(!(256&t[2])){const n=t[11];Ne(n)&&n.destroyNode&&Fs(e,t,n,3,null,null),function(e){let t=e[13];if(!t)return xs(e[1],e);for(;t;){let n=null;if(fe(t))n=t[13];else{const e=t[10];e&&(n=e)}if(!n){for(;t&&!t[4]&&t!==e;)fe(t)&&xs(t[1],t),t=t[3];null===t&&(t=e),fe(t)&&xs(t[1],t),n=t&&t[4]}t=n}}(t)}}function xs(e,t){if(!(256&t[2])){t[2]&=-129,t[2]|=256,function(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r<n.length;r+=2){const e=t[n[r]];if(!(e instanceof $t)){const t=n[r+1];if(Array.isArray(t))for(let n=0;n<t.length;n+=2)t[n+1].call(e[t[n]]);else t.call(e)}}}(e,t),function(e,t){const n=e.cleanup,r=t[7];let i=-1;if(null!==n)for(let s=0;s<n.length-1;s+=2)if("string"==typeof n[s]){const e=n[s+1],o="function"==typeof e?e(t):Fe(t[e]),a=r[i=n[s+2]],c=n[s+3];"boolean"==typeof c?o.removeEventListener(n[s],a,c):c>=0?r[i=c]():r[i=-c].unsubscribe(),s+=2}else{const e=r[i=n[s+1]];n[s].call(e)}if(null!==r){for(let e=i+1;e<r.length;e++){const t=r[e];t()}t[7]=null}}(e,t),1===t[1].type&&Ne(t[11])&&t[11].destroy();const n=t[17];if(null!==n&&pe(t[3])){n!==t[3]&&_s(n,t);const r=t[19];null!==r&&r.detachView(e)}}}function Os(e,t,n){return ks(e,t.parent,n)}function ks(e,t,n){let r=t;for(;null!==r&&40&r.type;)r=(t=r).parent;if(null===r)return n[0];if(2&r.flags){const t=e.data[r.directiveStart].encapsulation;if(t===P.None||t===P.Emulated)return null}return Be(r,n)}function Cs(e,t,n,r,i){Ne(e)?e.insertBefore(t,n,r,i):t.insertBefore(n,r,i)}function Ms(e,t,n){Ne(e)?e.appendChild(t,n):t.appendChild(n)}function Es(e,t,n,r,i){null!==r?Cs(e,t,n,r,i):Ms(e,t,n)}function Ts(e,t){return Ne(e)?e.parentNode(t):t.parentNode}function js(e,t,n){return Ls(e,t,n)}function Ds(e,t,n){return 40&e.type?Be(e,n):null}let As,Ls=Ds;function zs(e,t){Ls=e,As=t}function Ps(e,t,n,r){const i=Os(e,r,t),s=t[11],o=js(r.parent||t[6],r,t);if(null!=i)if(Array.isArray(n))for(let a=0;a<n.length;a++)Es(s,i,n[a],o,!1);else Es(s,i,n,o,!1);void 0!==As&&As(s,r,t,n,i)}function Is(e,t){if(null!==t){const n=t.type;if(3&n)return Be(t,e);if(4&n)return Rs(-1,e[t.index]);if(8&n){const n=t.child;if(null!==n)return Is(e,n);{const n=e[t.index];return pe(n)?Rs(-1,n):Fe(n)}}if(32&n){return ls(t,e)()||Fe(e[t.index])}{const n=e[16],r=n[6],i=us(n),s=r.projection[t.projection];return null!=s?Is(i,s):Is(e,t.next)}}return null}function Rs(e,t){const n=de+e+1;if(n<t.length){const e=t[n],r=e[1].firstChild;if(null!==r)return Is(e,r)}return t[7]}function Ns(e,t,n){const r=Ts(e,t);r&&function(e,t,n,r){Ne(e)?e.removeChild(t,n,r):t.removeChild(n)}(e,r,t,n)}function Hs(e,t,n,r,i,s,o){for(;null!=n;){const a=r[n.index],c=n.type;if(o&&0===t&&(a&&Ki(Fe(a),r),n.flags|=4),64!=(64&n.flags))if(8&c)Hs(e,t,n.child,r,i,s,!1),ps(t,e,i,a,s);else if(32&c){const o=ls(n,r);let c;for(;c=o();)ps(t,e,i,c,s);ps(t,e,i,a,s)}else 16&c?Vs(e,t,r,n,i,s):ps(t,e,i,a,s);n=o?n.projectionNext:n.next}}function Fs(e,t,n,r,i,s){Hs(n,r,e.firstChild,t,i,s,!1)}function Vs(e,t,n,r,i,s){const o=n[16],a=o[6].projection[r.projection];if(Array.isArray(a))for(let c=0;c<a.length;c++){ps(t,e,i,a[c],s)}else{Hs(e,t,a,o[3],i,s,!0)}}function Bs(e,t,n){Ne(e)?e.setAttribute(t,"style",n):t.style.cssText=n}function Ys(e,t,n){Ne(e)?""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n):t.className=n}function Us(e,t,n){let r=e.length;for(;;){const i=e.indexOf(t,n);if(-1===i)return i;if(0===i||e.charCodeAt(i-1)<=32){const n=t.length;if(i+n===r||e.charCodeAt(i+n)<=32)return i}n=i+1}}const Ws="ng-template";function qs(e,t,n){let r=0;for(;r<e.length;){let i=e[r++];if(n&&"class"===i){if(i=e[r],-1!==Us(i.toLowerCase(),t,0))return!0}else if(1===i){for(;r<e.length&&"string"==typeof(i=e[r++]);)if(i.toLowerCase()===t)return!0;return!1}}return!1}function $s(e){return 4===e.type&&e.value!==Ws}function Gs(e,t,n){return t===(4!==e.type||n?e.value:Ws)}function Xs(e,t,n){let r=4;const i=e.attrs||[],s=function(e){for(let t=0;t<e.length;t++){if(Xt(e[t]))return t}return e.length}(i);let o=!1;for(let a=0;a<t.length;a++){const c=t[a];if("number"!=typeof c){if(!o)if(4&r){if(r=2|1&r,""!==c&&!Gs(e,c,n)||""===c&&1===t.length){if(Ks(r))return!1;o=!0}}else{const l=8&r?c:t[++a];if(8&r&&null!==e.attrs){if(!qs(e.attrs,l,n)){if(Ks(r))return!1;o=!0}continue}const u=Js(8&r?"class":c,i,$s(e),n);if(-1===u){if(Ks(r))return!1;o=!0;continue}if(""!==l){let e;e=u>s?"":i[u+1].toLowerCase();const t=8&r?e:null;if(t&&-1!==Us(t,l,0)||2&r&&l!==e){if(Ks(r))return!1;o=!0}}}}else{if(!o&&!Ks(r)&&!Ks(c))return!1;if(o&&Ks(c))continue;o=!1,r=c|1&r}}return Ks(r)||o}function Ks(e){return 0==(1&e)}function Js(e,t,n,r){if(null===t)return-1;let i=0;if(r||!n){let n=!1;for(;i<t.length;){const r=t[i];if(r===e)return i;if(3===r||6===r)n=!0;else{if(1===r||2===r){let e=t[++i];for(;"string"==typeof e;)e=t[++i];continue}if(4===r)break;if(0===r){i+=4;continue}}i+=n?1:2}return-1}return function(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){const r=e[n];if("number"==typeof r)return-1;if(r===t)return n;n++}return-1}(t,e)}function Qs(e,t,n=!1){for(let r=0;r<t.length;r++)if(Xs(e,t[r],n))return!0;return!1}function Zs(e,t){e:for(let n=0;n<t.length;n++){const r=t[n];if(e.length===r.length){for(let t=0;t<e.length;t++)if(e[t]!==r[t])continue e;return!0}}return!1}function eo(e,t){return e?":not("+t.trim()+")":t}function to(e){let t=e[0],n=1,r=2,i="",s=!1;for(;n<e.length;){let o=e[n];if("string"==typeof o)if(2&r){const t=e[++n];i+="["+o+(t.length>0?'="'+t+'"':"")+"]"}else 8&r?i+="."+o:4&r&&(i+=" "+o);else""===i||Ks(o)||(t+=eo(s,i),i=""),r=o,s=s||!Ks(r);n++}return""!==i&&(t+=eo(s,i)),t}const no={};function ro(e){io(it(),rt(),zt()+e,dt())}function io(e,t,n,r){if(!r){if(3==(3&t[2])){const r=e.preOrderCheckHooks;null!==r&&Vt(t,r,n)}else{const r=e.preOrderHooks;null!==r&&Bt(t,r,0,n)}}Pt(n)}function so(e,t){return e<<17|t<<2}function oo(e){return e>>17&32767}function ao(e){return 2==(2&e)}function co(e){return 2|e}function lo(e){return(131068&e)>>2}function uo(e,t){return-131069&e|t<<2}function ho(e){return 1==(1&e)}function fo(e){return 1|e}const po=Promise.resolve(null);function mo(e,t){const n=e.contentQueries;if(null!==n)for(let r=0;r<n.length;r+=2){const i=n[r],s=n[r+1];if(-1!==s){const n=e.data[s];Ot(i),n.contentQueries(2,t[s],s)}}}function go(e,t,n,r,i,s,o,a,c,l){const u=t.blueprint.slice();return u[0]=i,u[2]=140|r,Je(u),u[3]=u[15]=e,u[8]=n,u[10]=o||e&&e[10],u[11]=a||e&&e[11],u[12]=c||e&&e[12]||null,u[9]=l||e&&e[9]||null,u[6]=s,u[16]=2==t.type?e[16]:u,u}function vo(e,t,n,r,i){let s=e.data[t];if(null===s)s=yo(e,t,n,r,i),Ze.lFrame.inI18n&&(s.flags|=64);else if(64&s.type){s.type=n,s.value=r,s.attrs=i;const e=ct();s.injectorIndex=null===e?-1:e.injectorIndex}return lt(s,!0),s}function yo(e,t,n,r,i){const s=at(),o=ut(),a=o?s:s&&s.parent,c=e.data[t]=function(e,t,n,r,i,s){let o=t?t.injectorIndex:-1;const a={type:n,index:r,insertBeforeIndex:null,injectorIndex:o,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,value:i,attrs:s,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0};0;return a}(0,a,n,t,r,i);return null===e.firstChild&&(e.firstChild=c),null!==s&&(o?null==s.child&&null!==c.parent&&(s.child=c):null===s.next&&(s.next=c)),c}function bo(e,t,n,r){if(0===n)return-1;const i=t.length;for(let s=0;s<n;s++)t.push(r),e.blueprint.push(r),e.data.push(null);return i}function _o(e,t,n){Mt(t);try{const r=e.viewQuery;null!==r&&ea(1,r,n);const i=e.template;null!==i&&xo(e,t,i,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&mo(e,t),e.staticViewQueries&&ea(2,e.viewQuery,n);const s=e.components;null!==s&&function(e,t){for(let n=0;n<t.length;n++)Go(e,t[n])}(t,s)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0),r}finally{t[2]&=-5,At()}}function wo(e,t,n,r){const i=t[2];if(256==(256&i))return;Mt(t);const s=dt();try{Je(t),gt(e.bindingStartIndex),null!==n&&xo(e,t,n,2,r);const o=3==(3&i);if(!s)if(o){const n=e.preOrderCheckHooks;null!==n&&Vt(t,n,null)}else{const n=e.preOrderHooks;null!==n&&Bt(t,n,0,null),Yt(t,0)}if(function(e){for(let t=hs(e);null!==t;t=ds(t)){if(!t[2])continue;const e=t[9];for(let t=0;t<e.length;t++){const n=e[t],r=n[3];0==(1024&n[2])&&Qe(r,1),n[2]|=1024}}}(t),function(e){for(let t=hs(e);null!==t;t=ds(t))for(let e=de;e<t.length;e++){const n=t[e],r=n[1];Xe(n)&&wo(r,n,r.template,n[8])}}(t),null!==e.contentQueries&&mo(e,t),!s)if(o){const n=e.contentCheckHooks;null!==n&&Vt(t,n)}else{const n=e.contentHooks;null!==n&&Bt(t,n,1),Yt(t,1)}!function(e,t){const n=e.hostBindingOpCodes;if(null!==n)try{for(let e=0;e<n.length;e++){const r=n[e];if(r<0)Pt(~r);else{const i=r,s=n[++e],o=n[++e];_t(s,i),o(2,t[i])}}}finally{Pt(-1)}}(e,t);const a=e.components;null!==a&&function(e,t){for(let n=0;n<t.length;n++)qo(e,t[n])}(t,a);const c=e.viewQuery;if(null!==c&&ea(2,c,r),!s)if(o){const n=e.viewCheckHooks;null!==n&&Vt(t,n)}else{const n=e.viewHooks;null!==n&&Bt(t,n,2),Yt(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),s||(t[2]&=-73),1024&t[2]&&(t[2]&=-1025,Qe(t[3],-1))}finally{At()}}function So(e,t,n,r){const i=t[10],s=!dt(),o=Ge(t);try{s&&!o&&i.begin&&i.begin(),o&&_o(e,t,r),wo(e,t,n,r)}finally{s&&!o&&i.end&&i.end()}}function xo(e,t,n,r,i){const s=zt();try{Pt(-1),2&r&&t.length>he&&io(e,t,he,dt()),n(r,i)}finally{Pt(s)}}function Oo(e,t,n){if(me(t)){const r=t.directiveStart,i=t.directiveEnd;for(let t=r;t<i;t++){const r=e.data[t];r.contentQueries&&r.contentQueries(1,n[t],t)}}}function ko(e,t,n){et()&&(function(e,t,n,r){const i=n.directiveStart,s=n.directiveEnd;e.firstCreatePass||on(n,t);Ki(r,t);const o=n.initialInputs;for(let a=i;a<s;a++){const r=e.data[a],s=ye(r);s&&Fo(t,n,r);const c=yn(t,e,a,n);if(Ki(c,t),null!==o&&Yo(t,a-i,c,r,n,o),s){We(n.index,t)[8]=c}}}(e,t,n,Be(n,t)),128==(128&n.flags)&&function(e,t,n){const r=n.directiveStart,i=n.directiveEnd,s=(e.firstCreatePass,n.index),o=Ze.lFrame.currentDirectiveIndex;try{Pt(s);for(let n=r;n<i;n++){const r=e.data[n],i=t[n];wt(n),null===r.hostBindings&&0===r.hostVars&&null===r.hostAttrs||Po(r,i)}}finally{Pt(-1),wt(o)}}(e,t,n))}function Co(e,t,n=Be){const r=t.localNames;if(null!==r){let i=t.index+1;for(let s=0;s<r.length;s+=2){const o=r[s+1],a=-1===o?n(t,e):e[o];e[i++]=a}}}function Mo(e){const t=e.tView;if(null===t||t.incompleteFirstPass){const t=null;return e.tView=Eo(1,t,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts)}return t}function Eo(e,t,n,r,i,s,o,a,c,l){const u=he+r,h=u+i,d=function(e,t){const n=[];for(let r=0;r<t;r++)n.push(r<e?null:no);return n}(u,h),f="function"==typeof l?l():l,p=d[1]={type:e,blueprint:d,template:n,queries:null,viewQuery:a,declTNode:t,data:d.slice().fill(null,u),bindingStartIndex:u,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 s?s():s,pipeRegistry:"function"==typeof o?o():o,firstChild:null,schemas:c,consts:f,incompleteFirstPass:!1};return p}function To(e,t,n){if(Ne(e)){const r=n===P.ShadowDom;return e.selectRootElement(t,r)}let r="string"==typeof t?e.querySelector(t):t;return r.textContent="",r}function jo(e,t,n,r){const i=na(t);null===n?i.push(r):(i.push(n),e.firstCreatePass&&ra(e).push(r,i.length-1))}function Do(e,t,n){for(let r in e)if(e.hasOwnProperty(r)){n=null===n?{}:n;const i=e[r];n.hasOwnProperty(r)?n[r].push(t,i):n[r]=[t,i]}return n}function Ao(e,t,n,r,i,s,o,a){const c=Be(t,n);let l,u=t.inputs;!a&&null!=u&&(l=u[r])?(oa(e,n,l,r,i),ge(t)&&function(e,t){const n=We(t,e);16&n[2]||(n[2]|=64)}(n,t.index)):3&t.type?(r=function(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(r),i=null!=o?o(i,t.value||"",r):i,Ne(s)?s.setProperty(c,r,i):Kt(r)||(c.setProperty?c.setProperty(r,i):c[r]=i)):t.type}function Lo(e,t,n,r){let i=!1;if(et()){const s=function(e,t,n){const r=e.directiveRegistry;let i=null;if(r)for(let s=0;s<r.length;s++){const o=r[s];Qs(n,o.selectors,!1)&&(i||(i=[]),un(on(n,t),e,o.type),ye(o)?(Io(e,n),i.unshift(o)):i.push(o))}return i}(e,t,n),o=null===r?null:{"":-1};if(null!==s){i=!0,No(n,e.data.length,s.length);for(let e=0;e<s.length;e++){const t=s[e];t.providersResolver&&t.providersResolver(t)}let r=!1,a=!1,c=bo(e,t,s.length,null);for(let i=0;i<s.length;i++){const l=s[i];n.mergedAttrs=Jt(n.mergedAttrs,l.hostAttrs),Ho(e,n,t,c,l),Ro(c,l,o),null!==l.contentQueries&&(n.flags|=8),null===l.hostBindings&&null===l.hostAttrs&&0===l.hostVars||(n.flags|=128);const u=l.type.prototype;!r&&(u.ngOnChanges||u.ngOnInit||u.ngDoCheck)&&((e.preOrderHooks||(e.preOrderHooks=[])).push(n.index),r=!0),a||!u.ngOnChanges&&!u.ngDoCheck||((e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n.index),a=!0),c++}!function(e,t){const n=t.directiveStart,r=t.directiveEnd,i=e.data,s=t.attrs,o=[];let a=null,c=null;for(let l=n;l<r;l++){const e=i[l],n=e.inputs,r=null===s||$s(t)?null:Uo(n,s);o.push(r),a=Do(n,l,a),c=Do(e.outputs,l,c)}null!==a&&(a.hasOwnProperty("class")&&(t.flags|=16),a.hasOwnProperty("style")&&(t.flags|=32)),t.initialInputs=o,t.inputs=a,t.outputs=c}(e,n)}o&&function(e,t,n){if(t){const r=e.localNames=[];for(let e=0;e<t.length;e+=2){const i=n[t[e+1]];if(null==i)throw new _e("301",`Export of name '${t[e+1]}' not found!`);r.push(t[e],i)}}}(n,r,o)}return n.mergedAttrs=Jt(n.mergedAttrs,n.attrs),i}function zo(e,t,n,r,i,s){const o=s.hostBindings;if(o){let n=e.hostBindingOpCodes;null===n&&(n=e.hostBindingOpCodes=[]);const s=~t.index;(function(e){let t=e.length;for(;t>0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(n)!=s&&n.push(s),n.push(r,i,o)}}function Po(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function Io(e,t){t.flags|=2,(e.components||(e.components=[])).push(t.index)}function Ro(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;ye(t)&&(n[""]=e)}}function No(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function Ho(e,t,n,r,i){e.data[r]=i;const s=i.factory||(i.factory=be(i.type)),o=new $t(s,ye(i),null);e.blueprint[r]=o,n[r]=o,zo(e,t,0,r,bo(e,n,i.hostVars,no),i)}function Fo(e,t,n){const r=Be(t,e),i=Mo(n),s=e[10],o=Xo(e,go(e,i,null,n.onPush?64:16,r,t,s,s.createRenderer(r,n),null,null));e[t.index]=o}function Vo(e,t,n,r,i,s){const o=Be(e,t);Bo(t[11],o,s,e.value,n,r,i)}function Bo(e,t,n,r,i,s,o){if(null==s)Ne(e)?e.removeAttribute(t,i,n):t.removeAttribute(i);else{const a=null==o?Se(s):o(s,r||"",i);Ne(e)?e.setAttribute(t,i,a,n):n?t.setAttributeNS(n,i,a):t.setAttribute(i,a)}}function Yo(e,t,n,r,i,s){const o=s[t];if(null!==o){const e=r.setInput;for(let t=0;t<o.length;){const i=o[t++],s=o[t++],a=o[t++];null!==e?r.setInput(n,a,i,s):n[s]=a}}}function Uo(e,t){let n=null,r=0;for(;r<t.length;){const i=t[r];if(0!==i)if(5!==i){if("number"==typeof i)break;e.hasOwnProperty(i)&&(null===n&&(n=[]),n.push(i,e[i],t[r+1])),r+=2}else r+=2;else r+=4}return n}function Wo(e,t,n,r){const i=new Array(e,!0,!1,t,null,0,r,n,null,null);return i}function qo(e,t){const n=We(t,e);if(Xe(n)){const e=n[1];80&n[2]?wo(e,n,e.template,n[8]):n[5]>0&&$o(n)}}function $o(e){for(let n=hs(e);null!==n;n=ds(n))for(let e=de;e<n.length;e++){const t=n[e];if(1024&t[2]){const e=t[1];wo(e,t,e.template,t[8])}else t[5]>0&&$o(t)}const t=e[1].components;if(null!==t)for(let n=0;n<t.length;n++){const r=We(t[n],e);Xe(r)&&r[5]>0&&$o(r)}}function Go(e,t){const n=We(t,e),r=n[1];!function(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}(r,n),_o(r,n,n[8])}function Xo(e,t){return e[13]?e[14][4]=t:e[13]=t,e[14]=t,t}function Ko(e){for(;e;){e[2]|=64;const t=us(e);if(0!=(512&e[2])&&!t)return e;e=t}return null}function Jo(e){for(let t=0;t<e.components.length;t++){const n=e.components[t],r=$e(n),i=r[1];So(i,r,i.template,n)}}function Qo(e,t,n){const r=t[10];r.begin&&r.begin();try{wo(e,t,e.template,n)}catch(i){throw sa(t,i),i}finally{r.end&&r.end()}}function Zo(e){Jo(e[8])}function ea(e,t,n){Ot(0),t(e,n)}const ta=po;function na(e){return e[7]||(e[7]=[])}function ra(e){return e.cleanup||(e.cleanup=[])}function ia(e,t,n){return(null===e||ye(e))&&(n=function(e){for(;Array.isArray(e);){if("object"==typeof e[1])return e;e=e[0]}return null}(n[t.index])),n[11]}function sa(e,t){const n=e[9],r=n?n.get(Bi,null):null;r&&r.handleError(t)}function oa(e,t,n,r,i){for(let s=0;s<n.length;){const o=n[s++],a=n[s++],c=t[o],l=e.data[o];null!==l.setInput?l.setInput(c,i,r,a):c[a]=i}}function aa(e,t,n){const r=Ve(t,e);gs(e[11],r,n)}function ca(e,t,n){let r=n?e.styles:null,i=n?e.classes:null,s=0;if(null!==t)for(let o=0;o<t.length;o++){const e=t[o];if("number"==typeof e)s=e;else if(1==s)i=h(i,e);else if(2==s){r=h(r,e+": "+t[++o]+";")}}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=i:e.classesWithoutHost=i}const la=new Ln("INJECTOR",-1);class ua{get(e,t=Sr){if(t===Sr){const t=new Error(`NullInjectorError: No provider for ${u(e)}!`);throw t.name="NullInjectorError",t}return t}}const ha=new Ln("Set Injector scope."),da={},fa={},pa=[];let ma=void 0;function ga(){return void 0===ma&&(ma=new ua),ma}function va(e,t=null,n=null,r){return new ya(e,n,t||ga(),r)}class ya{constructor(e,t,n,r=null){this.parent=n,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;const i=[];t&&$n(t,n=>this.processProvider(n,e,t)),$n([e],e=>this.processInjectorType(e,[],i)),this.records.set(la,wa(void 0,this));const s=this.records.get(ha);this.scope=null!=s?s.value:null,this.source=r||("object"==typeof e?null:u(e))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(e=>e.ngOnDestroy())}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(e,t=Sr,n=E.Default){this.assertNotDestroyed();const r=Mr(this);try{if(!(n&E.SkipSelf)){let t=this.records.get(e);if(void 0===t){const n=("function"==typeof(i=e)||"object"==typeof i&&i instanceof Ln)&&w(e);t=n&&this.injectableDefInScope(n)?wa(ba(e),da):null,this.records.set(e,t)}if(null!=t)return this.hydrate(e,t)}const s=n&E.Self?ga():this.parent;return t=n&E.Optional&&t===Sr?null:t,s.get(e,t)}catch(s){if("NullInjectorError"===s.name){if((s.ngTempTokenPath=s.ngTempTokenPath||[]).unshift(u(e)),r)throw s;return Lr(s,e,"R3InjectorError",this.source)}throw s}finally{Mr(r)}var i}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(e=>this.get(e))}toString(){const e=[];return this.records.forEach((t,n)=>e.push(u(n))),`R3Injector[${e.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}processInjectorType(e,t,n){if(!(e=p(e)))return!1;let r=x(e);const i=null==r&&e.ngModule||void 0,s=void 0===i?e:i;const o=-1!==n.indexOf(s);if(void 0!==i&&(r=x(i)),null==r)return!1;if(null!=r.imports&&!o){let e;n.push(s);try{$n(r.imports,r=>{this.processInjectorType(r,t,n)&&(void 0===e&&(e=[]),e.push(r))})}finally{}if(void 0!==e)for(let t=0;t<e.length;t++){const{ngModule:n,providers:r}=e[t];$n(r,e=>this.processProvider(e,n,r||pa))}}this.injectorDefTypes.add(s),this.records.set(s,wa(r.factory,da));const a=r.providers;if(null!=a&&!o){const t=e;$n(a,e=>this.processProvider(e,t,a))}return void 0!==i&&void 0!==e.providers}processProvider(e,t,n){let r=xa(e=p(e))?e:p(e&&e.provide);const i=function(e,t,n){if(Sa(e))return wa(void 0,e.useValue);return wa(_a(e,t,n),da)}(e,t,n);if(xa(e)||!0!==e.multi){this.records.get(r);0}else{let t=this.records.get(r);t||(t=wa(void 0,da,!0),t.factory=()=>Ar(t.multi),this.records.set(r,t)),r=e,t.multi.push(e)}this.records.set(r,i)}hydrate(e,t){var n;return t.value===da&&(t.value=fa,t.value=t.factory()),"object"==typeof t.value&&t.value&&(null!==(n=t.value)&&"object"==typeof n&&"function"==typeof n.ngOnDestroy)&&this.onDestroy.add(t.value),t.value}injectableDefInScope(e){return!!e.providedIn&&("string"==typeof e.providedIn?"any"===e.providedIn||e.providedIn===this.scope:this.injectorDefTypes.has(e.providedIn))}}function ba(e){const t=w(e),n=null!==t?t.factory:be(e);if(null!==n)return n;const r=x(e);if(null!==r)return r.factory;if(e instanceof Ln)throw new Error(`Token ${u(e)} is missing a \u0275prov definition.`);if(e instanceof Function)return function(e){const t=e.length;if(t>0){const n=Kn(t,"?");throw new Error(`Can't resolve all parameters for ${u(e)}: (${n.join(", ")}).`)}const n=function(e){const t=e&&(e[O]||e[C]);if(t){const n=function(e){if(e.hasOwnProperty("name"))return e.name;const t=(""+e).match(/^function\s*([^\s(]+)/);return null===t?"":t[1]}(e);return console.warn(`DEPRECATED: DI is instantiating a token "${n}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${n}" class.`),t}return null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new Error("unreachable")}function _a(e,t,n){let r=void 0;if(xa(e)){const t=p(e);return be(t)||ba(t)}if(Sa(e))r=()=>p(e.useValue);else if((i=e)&&i.useFactory)r=()=>e.useFactory(...Ar(e.deps||[]));else if(function(e){return!(!e||!e.useExisting)}(e))r=()=>Tr(p(e.useExisting));else{const t=p(e&&(e.useClass||e.provide));if(!function(e){return!!e.deps}(e))return be(t)||ba(t);r=()=>new t(...Ar(e.deps))}var i;return r}function wa(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Sa(e){return null!==e&&"object"==typeof e&&kr in e}function xa(e){return"function"==typeof e}const Oa=function(e,t,n){return function(e,t=null,n=null,r){const i=va(e,t,n,r);return i._resolveInjectorDefTypes(),i}({name:n},t,e,n)};class ka{static create(e,t){return Array.isArray(e)?Oa(e,t,""):Oa(e.providers,e.parent,e.name||"")}}ka.THROW_IF_NOT_FOUND=Sr,ka.NULL=new ua,ka.\u0275prov=b({token:ka,providedIn:"any",factory:()=>Tr(la)}),ka.__NG_ELEMENT_ID__=-1;function Ca(e){La(e);const t=ja(e,!1);return null===t?null:(void 0===t.component&&(t.component=function(e,t){const n=t[1].data[e];let r=n.directiveStart;return 2&n.flags?t[r]:null}(t.nodeIndex,t.lView)),t.component)}function Ma(e){La(e);const t=ja(e,!1);return null===t?null:t.lView[8]}function Ea(e){const t=ja(e,!1);if(null===t)return null;let n,r=t.lView;for(;2===r[1].type&&(n=us(r));)r=n;return 512&r[2]?null:r[8]}function Ta(e){const t=ja(e,!1);if(null===t)return ka.NULL;const n=t.lView[1].data[t.nodeIndex];return new wn(n,t.lView)}function ja(e,t=!0){const n=Gi(e);if(!n&&t)throw new Error("Invalid ng target");return n}function Da(e){La(e);const t=ja(e,!1);if(null===t)return[];const n=t.lView,r=n[1],i=n[7],s=r.cleanup,o=[];if(s&&i)for(let a=0;a<s.length;){const t=s[a++],r=s[a++];if("string"==typeof t){const c=t,l=Fe(n[r]),u=i[s[a++]],h=s[a++],d="boolean"==typeof h||h>=0?"dom":"output",f="boolean"==typeof h&&h;e==l&&o.push({element:e,name:c,callback:u,useCapture:f,type:d})}}return o.sort(Aa),o}function Aa(e,t){return e.name==t.name?0:e.name<t.name?-1:1}function La(e){if("undefined"!=typeof Element&&!(e instanceof Element))throw new Error("Expecting instance of DOM Element")}function za(e,t,n,r,i,s){const o=n[1];n[20]=e;const a=vo(o,20,2,"#host",null),c=a.mergedAttrs=t.hostAttrs;null!==c&&(ca(a,c,!0),null!==e&&(Gt(i,e,c),null!==a.classes&&Ys(i,e,a.classes),null!==a.styles&&Bs(i,e,a.styles)));const l=r.createRenderer(e,t),u=go(n,Mo(t),null,t.onPush?64:16,n[20],a,r,l,s||null,null);return o.firstCreatePass&&(un(on(a,n),o,t.type),Io(o,a),No(a,n.length,1)),Xo(n,u),n[20]=u}function Pa(e,t,n,r,i){const s=n[1],o=function(e,t,n){const r=ot();if(e.firstCreatePass){n.providersResolver&&n.providersResolver(n);Ho(e,r,t,bo(e,t,1,null),n)}const i=yn(t,e,r.directiveStart,r);Ki(i,t);const s=Be(r,t);return s&&Ki(s,t),i}(s,n,t);if(r.components.push(o),e[8]=o,i&&i.forEach(e=>e(o,t)),t.contentQueries){const e=ot();t.contentQueries(1,o,e.directiveStart)}const a=ot();if(s.firstCreatePass&&(null!==t.hostBindings||null!==t.hostAttrs)){Pt(a.index);zo(n[1],a,0,a.directiveStart,a.directiveEnd,t),Po(t,o)}return o}function Ia(e,t){return{components:[],scheduler:e||ts,clean:ta,playerHandler:t||null,flags:0}}function Ra(e,t){const n=$e(e),r=n[1],i=ot();Ft(r,i)}function Na(e){return Object.getPrototypeOf(e.prototype).constructor}function Ha(e){let t=Na(e.type),n=!0;const r=[e];for(;t;){let i=void 0;if(ye(e))i=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new Error("Directives cannot inherit Components");i=t.\u0275dir}if(i){if(n){r.push(i);const t=e;t.inputs=Fa(e.inputs),t.declaredInputs=Fa(e.declaredInputs),t.outputs=Fa(e.outputs);const n=i.hostBindings;n&&Ya(e,n);const s=i.viewQuery,o=i.contentQueries;if(s&&Va(e,s),o&&Ba(e,o),l(e.inputs,i.inputs),l(e.declaredInputs,i.declaredInputs),l(e.outputs,i.outputs),ye(i)&&i.data.animation){const t=e.data;t.animation=(t.animation||[]).concat(i.data.animation)}}const t=i.features;if(t)for(let r=0;r<t.length;r++){const i=t[r];i&&i.ngInherit&&i(e),i===Ha&&(n=!1)}}t=Object.getPrototypeOf(t)}!function(e){let t=0,n=null;for(let r=e.length-1;r>=0;r--){const i=e[r];i.hostVars=t+=i.hostVars,i.hostAttrs=Jt(i.hostAttrs,n=Jt(n,i.hostAttrs))}}(r)}function Fa(e){return e===V?{}:e===B?[]:e}function Va(e,t){const n=e.viewQuery;e.viewQuery=n?(e,r)=>{t(e,r),n(e,r)}:t}function Ba(e,t){const n=e.contentQueries;e.contentQueries=n?(e,r,i)=>{t(e,r,i),n(e,r,i)}:t}function Ya(e,t){const n=e.hostBindings;e.hostBindings=n?(e,r)=>{t(e,r),n(e,r)}:t}const Ua=["providersResolver"],Wa=["template","decls","consts","vars","onPush","ngContentSelectors","styles","encapsulation","schemas"];function qa(e){let t=Na(e.type),n=void 0;n=ye(e)?t.\u0275cmp:t.\u0275dir;const r=e;for(const i of Ua)r[i]=n[i];if(ye(n))for(const i of Wa)r[i]=n[i]}let $a=null;function Ga(){if(!$a){const e=F.Symbol;if(e&&e.iterator)$a=e.iterator;else{const e=Object.getOwnPropertyNames(Map.prototype);for(let t=0;t<e.length;++t){const n=e[t];"entries"!==n&&"size"!==n&&Map.prototype[n]===Map.prototype.entries&&($a=n)}}}return $a}function Xa(e,t){const n=Ja(e),r=Ja(t);if(n&&r)return function(e,t,n){const r=e[Ga()](),i=t[Ga()]();for(;;){const e=r.next(),t=i.next();if(e.done&&t.done)return!0;if(e.done||t.done)return!1;if(!n(e.value,t.value))return!1}}(e,t,Xa);{const i=e&&("object"==typeof e||"function"==typeof e),s=t&&("object"==typeof t||"function"==typeof t);return!(n||!i||r||!s)||Object.is(e,t)}}class Ka{constructor(e){this.wrapped=e}static wrap(e){return new Ka(e)}static unwrap(e){return Ka.isWrapped(e)?e.wrapped:e}static isWrapped(e){return e instanceof Ka}}function Ja(e){return!!Qa(e)&&(Array.isArray(e)||!(e instanceof Map)&&Ga()in e)}function Qa(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function Za(e,t,n){return e[t]=n}function ec(e,t){return e[t]}function tc(e,t,n){const r=e[t];return!Object.is(r,n)&&(e[t]=n,!0)}function nc(e,t,n,r){const i=tc(e,t,n);return tc(e,t+1,r)||i}function rc(e,t,n,r,i){const s=nc(e,t,n,r);return tc(e,t+2,i)||s}function ic(e,t,n,r,i,s){const o=nc(e,t,n,r);return nc(e,t+2,i,s)||o}function sc(e,t,n,r){const i=rt(),s=vt();if(tc(i,s,t)){it();const s=It();Vo(s,i,e,t,n,r)}return sc}function oc(e,t){let n=!1,r=mt();for(let s=1;s<t.length;s+=2)n=tc(e,r++,t[s])||n;if(gt(r),!n)return no;let i=t[0];for(let s=1;s<t.length;s+=2)i+=Se(t[s])+t[s+1];return i}function ac(e,t,n,r){return tc(e,vt(),n)?t+Se(n)+r:no}function cc(e,t,n,r,i,s){const o=nc(e,mt(),n,i);return yt(2),o?t+Se(n)+r+Se(i)+s:no}function lc(e,t,n,r,i,s,o,a){const c=rc(e,mt(),n,i,o);return yt(3),c?t+Se(n)+r+Se(i)+s+Se(o)+a:no}function uc(e,t,n,r,i,s,o,a,c,l){const u=ic(e,mt(),n,i,o,c);return yt(4),u?t+Se(n)+r+Se(i)+s+Se(o)+a+Se(c)+l:no}function hc(e,t,n,r,i,s,o,a,c,l,u,h){const d=mt();let f=ic(e,d,n,i,o,c);return f=tc(e,d+4,u)||f,yt(5),f?t+Se(n)+r+Se(i)+s+Se(o)+a+Se(c)+l+Se(u)+h:no}function dc(e,t,n,r,i,s,o,a,c,l,u,h,d,f){const p=mt();let m=ic(e,p,n,i,o,c);return m=nc(e,p+4,u,d)||m,yt(6),m?t+Se(n)+r+Se(i)+s+Se(o)+a+Se(c)+l+Se(u)+h+Se(d)+f:no}function fc(e,t,n,r,i,s,o,a,c,l,u,h,d,f,p,m){const g=mt();let v=ic(e,g,n,i,o,c);return v=rc(e,g+4,u,d,p)||v,yt(7),v?t+Se(n)+r+Se(i)+s+Se(o)+a+Se(c)+l+Se(u)+h+Se(d)+f+Se(p)+m:no}function pc(e,t,n,r,i,s,o,a,c,l,u,h,d,f,p,m,g,v){const y=mt();let b=ic(e,y,n,i,o,c);return b=ic(e,y+4,u,d,p,g)||b,yt(8),b?t+Se(n)+r+Se(i)+s+Se(o)+a+Se(c)+l+Se(u)+h+Se(d)+f+Se(p)+m+Se(g)+v:no}function mc(e,t,n,r,i,s){const o=rt(),a=ac(o,t,n,r);if(a!==no){const t=It();Vo(t,o,e,a,i,s)}return mc}function gc(e,t,n,r,i,s,o,a){const c=rt(),l=cc(c,t,n,r,i,s);if(l!==no){const t=It();Vo(t,c,e,l,o,a)}return gc}function vc(e,t,n,r,i,s,o,a,c,l){const u=rt(),h=lc(u,t,n,r,i,s,o,a);if(h!==no){const t=It();Vo(t,u,e,h,c,l)}return vc}function yc(e,t,n,r,i,s,o,a,c,l,u,h){const d=rt(),f=uc(d,t,n,r,i,s,o,a,c,l);if(f!==no){const t=It();Vo(t,d,e,f,u,h)}return yc}function bc(e,t,n,r,i,s,o,a,c,l,u,h,d,f){const p=rt(),m=hc(p,t,n,r,i,s,o,a,c,l,u,h);if(m!==no){const t=It();Vo(t,p,e,m,d,f)}return bc}function _c(e,t,n,r,i,s,o,a,c,l,u,h,d,f,p,m){const g=rt(),v=dc(g,t,n,r,i,s,o,a,c,l,u,h,d,f);if(v!==no){const t=It();Vo(t,g,e,v,p,m)}return _c}function wc(e,t,n,r,i,s,o,a,c,l,u,h,d,f,p,m,g,v){const y=rt(),b=fc(y,t,n,r,i,s,o,a,c,l,u,h,d,f,p,m);if(b!==no){const t=It();Vo(t,y,e,b,g,v)}return wc}function Sc(e,t,n,r,i,s,o,a,c,l,u,h,d,f,p,m,g,v,y,b){const _=rt(),w=pc(_,t,n,r,i,s,o,a,c,l,u,h,d,f,p,m,g,v);if(w!==no){const t=It();Vo(t,_,e,w,y,b)}return Sc}function xc(e,t,n,r){const i=rt(),s=oc(i,t);if(s!==no){const t=It();Vo(t,i,e,s,n,r)}return xc}function Oc(e,t,n,r,i,s,o,a){const c=rt(),l=it(),u=e+he,h=l.firstCreatePass?function(e,t,n,r,i,s,o,a,c){const l=t.consts,u=vo(t,e,4,o||null,Ke(l,a));Lo(t,n,u,Ke(l,c)),Ft(t,u);const h=u.tViews=Eo(2,u,r,i,s,t.directiveRegistry,t.pipeRegistry,null,t.schemas,l);return null!==t.queries&&(t.queries.template(t,u),h.queries=t.queries.embeddedTView(u)),u}(u,l,c,t,n,r,i,s,o):l.data[u];lt(h,!1);const d=c[11].createComment("");Ps(l,c,d,h),Ki(d,c),Xo(c,c[u]=Wo(d,c,d,h)),ve(h)&&ko(l,c,h),null!=o&&Co(c,h,a)}function kc(e){return Ue(Ze.lFrame.contextLView,he+e)}const Cc={"\u0275\u0275defineInjectable":b,"\u0275\u0275defineInjector":_,"\u0275\u0275inject":Tr,"\u0275\u0275getFactoryOf":function e(t){const n=t;if(m(t))return()=>{const t=e(p(n));return t?t():null};const r=w(n)||x(n);if(!r||void 0===r.factory)return null;return r.factory},"\u0275\u0275invalidFactoryDep":jr};const Mc=c({provide:String,useValue:c});function Ec(e){return void 0!==e.useClass}function Tc(e){return void 0!==e.useFactory}function jc(e,t){const n=t||{providedIn:null},r={name:e.name,type:e,typeArgumentCount:0,providedIn:n.providedIn,userDeps:void 0};return(Ec(n)||Tc(n))&&void 0!==n.deps&&(r.userDeps=gr(n.deps)),Ec(n)?r.useClass=p(n.useClass):!function(e){return Mc in e}(n)?Tc(n)?r.useFactory=n.useFactory:function(e){return void 0!==e.useExisting}(n)&&(r.useExisting=p(n.useExisting)):r.useValue=p(n.useValue),r}c({provide:String,useValue:c});const Dc=En("Injectable",void 0,void 0,void 0,(e,t)=>Ac(e,t));const Ac=function(e,t){let n=null,r=null;e.hasOwnProperty(O)||Object.defineProperty(e,O,{get:()=>(null===n&&(n=Yn().compileInjectable(Cc,`ng:///${e.name}/\u0275prov.js`,jc(e,t))),n)}),e.hasOwnProperty(G)||Object.defineProperty(e,G,{get:()=>{if(null===r){const n=jc(e,t),i=Yn();r=i.compileFactory(Cc,`ng:///${e.name}/\u0275fac.js`,{name:n.name,type:n.type,typeArgumentCount:n.typeArgumentCount,deps:mr(e),injectFn:"inject",target:i.R3FactoryTarget.Injectable})}return r},configurable:!0})};function Lc(e){if(e.length>1){return" ("+function(e){const t=[];for(let n=0;n<e.length;++n){if(t.indexOf(e[n])>-1)return t.push(e[n]),t;t.push(e[n])}return t}(e.slice().reverse()).map(e=>u(e.token)).join(" -> ")+")"}return""}function zc(e,t,n,r){const i=[t],s=n(i),o=r?function(e,t){const n=`${e} caused by: ${t instanceof Error?t.message:t}`,r=Error(n);return r.ngOriginalError=t,r}(s,r):Error(s);return o.addKey=Pc,o.keys=i,o.injectors=[e],o.constructResolvingMessage=n,o.ngOriginalError=r,o}function Pc(e,t){this.injectors.push(e),this.keys.push(t),this.message=this.constructResolvingMessage(this.keys)}function Ic(e,t){const n=[];for(let r=0,i=t.length;r<i;r++){const e=t[r];e&&0!=e.length?n.push(e.map(u).join(" ")):n.push("?")}return Error("Cannot resolve all parameters for '"+u(e)+"'("+n.join(", ")+"). Make sure that all the parameters are decorated with Inject or have valid type annotations and that '"+u(e)+"' is decorated with Injectable.")}function Rc(e,t){return Error(`Cannot mix multi providers and regular providers, got: ${e} ${t}`)}class Nc{constructor(e,t){if(this.token=e,this.id=t,!e)throw new Error("Token must be defined!");this.displayName=u(this.token)}static get(e){return Hc.get(p(e))}static get numberOfKeys(){return Hc.numberOfKeys}}const Hc=new class{constructor(){this._allKeys=new Map}get(e){if(e instanceof Nc)return e;if(this._allKeys.has(e))return this._allKeys.get(e);const t=new Nc(e,Nc.numberOfKeys);return this._allKeys.set(e,t),t}get numberOfKeys(){return this._allKeys.size}};const Fc=new class{constructor(e){this.reflectionCapabilities=e}updateCapabilities(e){this.reflectionCapabilities=e}factory(e){return this.reflectionCapabilities.factory(e)}parameters(e){return this.reflectionCapabilities.parameters(e)}annotations(e){return this.reflectionCapabilities.annotations(e)}propMetadata(e){return this.reflectionCapabilities.propMetadata(e)}hasLifecycleHook(e,t){return this.reflectionCapabilities.hasLifecycleHook(e,t)}getter(e){return this.reflectionCapabilities.getter(e)}setter(e){return this.reflectionCapabilities.setter(e)}method(e){return this.reflectionCapabilities.method(e)}importUri(e){return this.reflectionCapabilities.importUri(e)}resourceUri(e){return this.reflectionCapabilities.resourceUri(e)}resolveIdentifier(e,t,n,r){return this.reflectionCapabilities.resolveIdentifier(e,t,n,r)}resolveEnum(e,t){return this.reflectionCapabilities.resolveEnum(e,t)}}(new sr);class Vc{constructor(e,t,n){this.key=e,this.optional=t,this.visibility=n}static fromKey(e){return new Vc(e,!1,null)}}const Bc=[];class Yc{constructor(e,t,n){this.key=e,this.resolvedFactories=t,this.multiProvider=n,this.resolvedFactory=this.resolvedFactories[0]}}class Uc{constructor(e,t){this.factory=e,this.dependencies=t}}function Wc(e){let t,n;if(e.useClass){const r=p(e.useClass);t=Fc.factory(r),n=Xc(r)}else e.useExisting?(t=e=>e,n=[Vc.fromKey(Nc.get(e.useExisting))]):e.useFactory?(t=e.useFactory,n=function(e,t){if(t){const n=t.map(e=>[e]);return t.map(t=>Kc(e,t,n))}return Xc(e)}(e.useFactory,e.deps)):(t=()=>e.useValue,n=Bc);return new Uc(t,n)}function qc(e){return new Yc(Nc.get(e.provide),[Wc(e)],e.multi||!1)}function $c(e){const t=function(e,t){for(let n=0;n<e.length;n++){const r=e[n],i=t.get(r.key.id);if(i){if(r.multiProvider!==i.multiProvider)throw Rc(i,r);if(r.multiProvider)for(let e=0;e<r.resolvedFactories.length;e++)i.resolvedFactories.push(r.resolvedFactories[e]);else t.set(r.key.id,r)}else{let e;e=r.multiProvider?new Yc(r.key,r.resolvedFactories.slice(),r.multiProvider):r,t.set(r.key.id,e)}}return t}(Gc(e,[]).map(qc),new Map);return Array.from(t.values())}function Gc(e,t){return e.forEach(e=>{if(e instanceof Un)t.push({provide:e,useClass:e});else if(e&&"object"==typeof e&&void 0!==e.provide)t.push(e);else{if(!Array.isArray(e))throw Error("Invalid provider - only instances of Provider and Type are allowed, got: "+e);Gc(e,t)}}),t}function Xc(e){const t=Fc.parameters(e);if(!t)return[];if(t.some(e=>null==e))throw Ic(e,t);return t.map(n=>Kc(e,n,t))}function Kc(e,t,n){let r=null,i=!1;if(!Array.isArray(t))return Jc(t instanceof cr?t.token:t,i,null);let s=null;for(let o=0;o<t.length;++o){const e=t[o];e instanceof Un?r=e:e instanceof cr?r=e.token:e instanceof lr?i=!0:e instanceof ur||e instanceof hr?s=e:e instanceof Ln&&(r=e)}if(r=p(r),null!=r)return Jc(r,i,s);throw Ic(e,n)}function Jc(e,t,n){return new Vc(Nc.get(e),t,n)}const Qc={};class Zc{static resolve(e){return $c(e)}static resolveAndCreate(e,t){const n=Zc.resolve(e);return Zc.fromResolvedProviders(n,t)}static fromResolvedProviders(e,t){return new el(e,t)}}class el{constructor(e,t){this._constructionCounter=0,this._providers=e,this.parent=t||null;const n=e.length;this.keyIds=[],this.objs=[];for(let r=0;r<n;r++)this.keyIds[r]=e[r].key.id,this.objs[r]=Qc}get(e,t=Sr){return this._getByKey(Nc.get(e),null,t)}resolveAndCreateChild(e){const t=Zc.resolve(e);return this.createChildFromResolved(t)}createChildFromResolved(e){const t=new el(e);return t.parent=this,t}resolveAndInstantiate(e){return this.instantiateResolved(Zc.resolve([e])[0])}instantiateResolved(e){return this._instantiateProvider(e)}getProviderAtIndex(e){if(e<0||e>=this._providers.length)throw function(e){return Error(`Index ${e} is out-of-bounds.`)}(e);return this._providers[e]}_new(e){if(this._constructionCounter++>this._getMaxNumberOfObjects())throw t=this,n=e.key,zc(t,n,function(e){return"Cannot instantiate cyclic dependency!"+Lc(e)});var t,n;return this._instantiateProvider(e)}_getMaxNumberOfObjects(){return this.objs.length}_instantiateProvider(e){if(e.multiProvider){const t=[];for(let n=0;n<e.resolvedFactories.length;++n)t[n]=this._instantiate(e,e.resolvedFactories[n]);return t}return this._instantiate(e,e.resolvedFactories[0])}_instantiate(e,t){const n=t.factory;let r,i;try{r=t.dependencies.map(e=>this._getByReflectiveDependency(e))}catch(c){throw c.addKey&&c.addKey(this,e.key),c}try{i=n(...r)}catch(c){throw s=this,o=c,c.stack,a=e.key,zc(s,a,function(e){const t=u(e[0].token);return`${o.message}: Error during instantiation of ${t}!${Lc(e)}.`},o)}var s,o,a;return i}_getByReflectiveDependency(e){return this._getByKey(e.key,e.visibility,e.optional?null:Sr)}_getByKey(e,t,n){return e===el.INJECTOR_KEY?this:t instanceof ur?this._getByKeySelf(e,n):this._getByKeyDefault(e,n,t)}_getObjByKeyId(e){for(let t=0;t<this.keyIds.length;t++)if(this.keyIds[t]===e)return this.objs[t]===Qc&&(this.objs[t]=this._new(this._providers[t])),this.objs[t];return Qc}_throwOrNull(e,t){if(t!==Sr)return t;throw function(e,t){return zc(e,t,function(e){return`No provider for ${u(e[0].token)}!${Lc(e)}`})}(this,e)}_getByKeySelf(e,t){const n=this._getObjByKeyId(e.id);return n!==Qc?n:this._throwOrNull(e,t)}_getByKeyDefault(e,t,n){let r;for(r=n instanceof hr?this.parent:this;r instanceof el;){const t=r,n=t._getObjByKeyId(e.id);if(n!==Qc)return n;r=t.parent}return null!==r?r.get(e.token,t):this._throwOrNull(e,t)}get displayName(){return`ReflectiveInjector(providers: [${function(e,t){const n=[];for(let r=0;r<e._providers.length;++r)n[r]=t(e.getProviderAtIndex(r));return n}(this,e=>' "'+e.key.displayName+'" ').join(", ")}])`}toString(){return this.displayName}}function tl(e,t=E.Default){const n=rt();if(null===n)return Tr(e,t);return fn(ot(),n,p(e),t)}function nl(){throw new Error("invalid")}function rl(e,t,n){const r=rt(),i=vt();if(tc(r,i,t)){const i=it(),s=It();Ao(i,s,r,e,t,r[11],n,!1)}return rl}function il(e,t,n,r,i){const s=i?"class":"style";oa(e,n,t.inputs[s],s,r)}function sl(e,t,n,r,i,s,o){const a=t.consts,c=vo(t,e,2,i,Ke(a,s));Lo(t,n,c,Ke(a,o));return null!==c.attrs&&ca(c,c.attrs,!1),null!==c.mergedAttrs&&ca(c,c.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,c),c}function ol(e,t,n,r){const i=rt(),s=it(),o=he+e,a=i[11],c=i[o]=ys(a,t,Ze.lFrame.currentNamespace),l=s.firstCreatePass?sl(o,s,i,0,t,n,r):s.data[o];lt(l,!0);const u=l.mergedAttrs;null!==u&&Gt(a,c,u);const h=l.classes;null!==h&&Ys(a,c,h);const d=l.styles;null!==d&&Bs(a,c,d),64!=(64&l.flags)&&Ps(s,i,c,l),0===Ze.lFrame.elementDepthCount&&Ki(c,i),Ze.lFrame.elementDepthCount++,ve(l)&&(ko(s,i,l),Oo(s,l,i)),null!==r&&Co(i,l)}function al(){let e=ot();ut()?ht():(e=e.parent,lt(e,!1));const t=e;Ze.lFrame.elementDepthCount--;const n=it();n.firstCreatePass&&(Ft(n,e),me(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function(e){return 0!=(16&e.flags)}(t)&&il(n,t,rt(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function(e){return 0!=(32&e.flags)}(t)&&il(n,t,rt(),t.stylesWithoutHost,!1)}function cl(e,t,n,r){ol(e,t,n,r),al()}function ll(e,t,n){const r=rt(),i=it(),s=e+he,o=i.firstCreatePass?function(e,t,n,r,i){const s=t.consts,o=Ke(s,r),a=vo(t,e,8,"ng-container",o);return null!==o&&ca(a,o,!0),Lo(t,n,a,Ke(s,i)),null!==t.queries&&t.queries.elementStart(t,a),a}(s,i,r,t,n):i.data[s];lt(o,!0);const a=r[s]=r[11].createComment("");Ps(i,r,a,o),Ki(a,r),ve(o)&&(ko(i,r,o),Oo(i,o,r)),null!=n&&Co(r,o)}function ul(){let e=ot();const t=it();ut()?ht():(e=e.parent,lt(e,!1)),t.firstCreatePass&&(Ft(t,e),me(e)&&t.queries.elementEnd(e))}function hl(e,t,n){ll(e,t,n),ul()}function dl(){return rt()}function fl(e){return!!e&&"function"==typeof e.then}function pl(e){return!!e&&"function"==typeof e.subscribe}function ml(e,t,n=!1,r){const i=rt(),s=it(),o=ot();return vl(s,i,i[11],o,e,t,n,r),ml}function gl(e,t,n=!1,r){const i=ot(),s=rt(),o=it();return vl(o,s,ia(St(o.data),i,s),i,e,t,n,r),gl}function vl(e,t,n,r,i,s,o=!1,a){const c=ve(r),l=e.firstCreatePass&&ra(e),u=na(t);let h=!0;if(3&r.type){const d=Be(r,t),f=a?a(d):V,p=f.target||d,m=u.length,g=a?e=>a(Fe(e[r.index])).target:r.index;if(Ne(n)){let o=null;if(!a&&c&&(o=function(e,t,n,r){const i=e.cleanup;if(null!=i)for(let s=0;s<i.length-1;s+=2){const e=i[s];if(e===n&&i[s+1]===r){const e=t[7],n=i[s+2];return e.length>n?e[n]:null}"string"==typeof e&&(s+=2)}return null}(e,t,i,r.index)),null!==o){(o.__ngLastListenerFn__||o).__ngNextListenerFn__=s,o.__ngLastListenerFn__=s,h=!1}else{s=bl(r,t,s,!1);const e=n.listen(f.name||p,i,s);u.push(s,e),l&&l.push(i,g,m,m+1)}}else s=bl(r,t,s,!0),p.addEventListener(i,s,o),u.push(s),l&&l.push(i,g,m,o)}else s=bl(r,t,s,!1);const d=r.outputs;let f;if(h&&null!==d&&(f=d[i])){const e=f.length;if(e)for(let n=0;n<e;n+=2){const e=f[n],o=f[n+1],a=t[e],c=a[o];0;const h=c.subscribe(s),d=u.length;u.push(s,h),l&&l.push(i,r.index,d,-(d+1))}}}function yl(e,t,n){try{return!1!==t(n)}catch(r){return sa(e,r),!1}}function bl(e,t,n,r){return function i(s){if(s===Function)return n;const o=2&e.flags?We(e.index,t):t;0==(32&t[2])&&Ko(o);let a=yl(t,n,s),c=i.__ngNextListenerFn__;for(;c;)a=yl(t,c,s)&&a,c=c.__ngNextListenerFn__;return r&&!1===a&&(s.preventDefault(),s.returnValue=!1),a}}function _l(e=1){return Lt(e)}function wl(e,t){let n=null;const r=function(e){const t=e.attrs;if(null!=t){const e=t.indexOf(5);if(0==(1&e))return t[e+1]}return null}(e);for(let i=0;i<t.length;i++){const s=t[i];if("*"!==s){if(null===r?Qs(e,s,!0):Zs(r,s))return i}else n=i}return n}function Sl(e){const t=rt()[16][6];if(!t.projection){const n=e?e.length:1,r=t.projection=Kn(n,null),i=r.slice();let s=t.child;for(;null!==s;){const t=e?wl(s,e):0;null!==t&&(i[t]?i[t].projectionNext=s:r[t]=s,i[t]=s),s=s.next}}}function xl(e,t=0,n){const r=rt(),i=it(),s=vo(i,he+e,16,null,n||null);null===s.projection&&(s.projection=t),ht(),64!=(64&s.flags)&&function(e,t,n){Vs(t[11],0,t,n,Os(e,n,t),js(n.parent||t[6],n,t))}(i,r,s)}function Ol(e,t,n){return kl(e,"",t,"",n),Ol}function kl(e,t,n,r,i){const s=rt(),o=ac(s,t,n,r);if(o!==no){const t=it(),n=It();Ao(t,n,s,e,o,s[11],i,!1)}return kl}function Cl(e,t,n,r,i,s,o){const a=rt(),c=cc(a,t,n,r,i,s);if(c!==no){const t=it(),n=It();Ao(t,n,a,e,c,a[11],o,!1)}return Cl}function Ml(e,t,n,r,i,s,o,a,c){const l=rt(),u=lc(l,t,n,r,i,s,o,a);if(u!==no){const t=it(),n=It();Ao(t,n,l,e,u,l[11],c,!1)}return Ml}function El(e,t,n,r,i,s,o,a,c,l,u){const h=rt(),d=uc(h,t,n,r,i,s,o,a,c,l);if(d!==no){const t=it(),n=It();Ao(t,n,h,e,d,h[11],u,!1)}return El}function Tl(e,t,n,r,i,s,o,a,c,l,u,h,d){const f=rt(),p=hc(f,t,n,r,i,s,o,a,c,l,u,h);if(p!==no){const t=it(),n=It();Ao(t,n,f,e,p,f[11],d,!1)}return Tl}function jl(e,t,n,r,i,s,o,a,c,l,u,h,d,f,p){const m=rt(),g=dc(m,t,n,r,i,s,o,a,c,l,u,h,d,f);if(g!==no){const t=it(),n=It();Ao(t,n,m,e,g,m[11],p,!1)}return jl}function Dl(e,t,n,r,i,s,o,a,c,l,u,h,d,f,p,m,g){const v=rt(),y=fc(v,t,n,r,i,s,o,a,c,l,u,h,d,f,p,m);if(y!==no){const t=it(),n=It();Ao(t,n,v,e,y,v[11],g,!1)}return Dl}function Al(e,t,n,r,i,s,o,a,c,l,u,h,d,f,p,m,g,v,y){const b=rt(),_=pc(b,t,n,r,i,s,o,a,c,l,u,h,d,f,p,m,g,v);if(_!==no){const t=it(),n=It();Ao(t,n,b,e,_,b[11],y,!1)}return Al}function Ll(e,t,n){const r=rt(),i=oc(r,t);if(i!==no){const t=it(),s=It();Ao(t,s,r,e,i,r[11],n,!1)}return Ll}el.INJECTOR_KEY=Nc.get(ka);const zl=[];function Pl(e,t,n,r,i,s){let o=s?t.classBindings:t.styleBindings,a=oo(o),c=lo(o);e[r]=n;let l,u=!1;if(Array.isArray(n)){const e=n;l=e[1],(null===l||Zn(e,l)>0)&&(u=!0)}else l=n;if(i){if(0!==c){const t=oo(e[a+1]);e[r+1]=so(t,a),0!==t&&(e[t+1]=uo(e[t+1],r)),e[a+1]=131071&e[a+1]|r<<17}else e[r+1]=so(a,0),0!==a&&(e[a+1]=uo(e[a+1],r)),a=r}else e[r+1]=so(c,0),0===a?a=r:e[c+1]=uo(e[c+1],r),c=r;u&&(e[r+1]=co(e[r+1])),Il(e,l,r,!0,s),Il(e,l,r,!1,s),function(e,t,n,r,i){const s=i?e.residualClasses:e.residualStyles;null!=s&&"string"==typeof t&&Zn(s,t)>=0&&(n[r+1]=fo(n[r+1]))}(t,l,e,r,s),o=so(a,c),s?t.classBindings=o:t.styleBindings=o}function Il(e,t,n,r,i){const s=e[n+1],o=null===t;let a=r?oo(s):lo(s),c=!1;for(;0!==a&&(!1===c||o);){const n=e[a],i=e[a+1];Rl(n,t)&&(c=!0,e[a+1]=r?fo(i):co(i)),a=r?oo(i):lo(i)}c&&(e[n+1]=r?co(s):fo(s))}function Rl(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&Zn(e,t)>=0}const Nl={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Hl(e){return e.substring(Nl.key,Nl.keyEnd)}function Fl(e){return e.substring(Nl.value,Nl.valueEnd)}function Vl(e,t){const n=Nl.textEnd;return n===t?-1:(t=Nl.keyEnd=function(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}(e,Nl.key=t,n),Ul(e,t,n))}function Bl(e,t){const n=Nl.textEnd;let r=Nl.key=Ul(e,t,n);return n===r?-1:(r=Nl.keyEnd=function(e,t,n){let r;for(;t<n&&(45===(r=e.charCodeAt(t))||95===r||(-33&r)>=65&&(-33&r)<=90||r>=48&&r<=57);)t++;return t}(e,r,n),r=Wl(e,r,n,58),r=Nl.value=Ul(e,r,n),r=Nl.valueEnd=function(e,t,n){let r=-1,i=-1,s=-1,o=t,a=o;for(;o<n;){const c=e.charCodeAt(o++);if(59===c)return a;34===c||39===c?a=o=ql(e,c,o,n):t===o-4&&85===s&&82===i&&76===r&&40===c?a=o=ql(e,41,o,n):c>32&&(a=o),s=i,i=r,r=-33&c}return a}(e,r,n),Wl(e,r,n,59))}function Yl(e){Nl.key=0,Nl.keyEnd=0,Nl.value=0,Nl.valueEnd=0,Nl.textEnd=e.length}function Ul(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function Wl(e,t,n,r){return(t=Ul(e,t,n))<n&&t++,t}function ql(e,t,n,r){let i=-1,s=n;for(;s<r;){const n=e.charCodeAt(s++);if(n==t&&92!==i)return s;i=92==n&&92===i?0:n}throw new Error}function $l(e,t,n){return Zl(e,t,n,!1),$l}function Gl(e,t){return Zl(e,t,null,!0),Gl}function Xl(e){eu(su,Kl,e,!1)}function Kl(e,t){for(let n=function(e){return Yl(e),Bl(e,Ul(e,0,Nl.textEnd))}(t);n>=0;n=Bl(t,n))su(e,Hl(t),Fl(t))}function Jl(e){eu(Jn,Ql,e,!0)}function Ql(e,t){for(let n=function(e){return Yl(e),Vl(e,Ul(e,0,Nl.textEnd))}(t);n>=0;n=Vl(t,n))Jn(e,Hl(t),!0)}function Zl(e,t,n,r){const i=rt(),s=it(),o=yt(2);if(s.firstUpdatePass&&nu(s,e,o,r),t!==no&&tc(i,o,t)){ou(s,s.data[zt()],i,i[11],e,i[o+1]=function(e,t){null==e||("string"==typeof t?e+=t:"object"==typeof e&&(e=u(Wr(e))));return e}(t,n),r,o)}}function eu(e,t,n,r){const i=it(),s=yt(2);i.firstUpdatePass&&nu(i,null,s,r);const o=rt();if(n!==no&&tc(o,s,n)){const a=i.data[zt()];if(lu(a,r)&&!tu(i,s)){0;let e=r?a.classesWithoutHost:a.stylesWithoutHost;null!==e&&(n=h(e,n||"")),il(i,a,o,n,r)}else!function(e,t,n,r,i,s,o,a){i===no&&(i=zl);let c=0,l=0,u=0<i.length?i[0]:null,h=0<s.length?s[0]:null;for(;null!==u||null!==h;){const d=c<i.length?i[c+1]:void 0,f=l<s.length?s[l+1]:void 0;let p=null,m=void 0;u===h?(c+=2,l+=2,d!==f&&(p=h,m=f)):null===h||null!==u&&u<h?(c+=2,p=u):(l+=2,p=h,m=f),null!==p&&ou(e,t,n,r,p,m,o,a),u=c<i.length?i[c]:null,h=l<s.length?s[l]:null}}(i,a,o,o[11],o[s+1],o[s+1]=function(e,t,n){if(null==n||""===n)return zl;const r=[],i=Wr(n);if(Array.isArray(i))for(let s=0;s<i.length;s++)e(r,i[s],!0);else if("object"==typeof i)for(const s in i)i.hasOwnProperty(s)&&e(r,s,i[s]);else"string"==typeof i&&t(r,i);return r}(e,t,n),r,s)}}function tu(e,t){return t>=e.expandoStartIndex}function nu(e,t,n,r){const i=e.data;if(null===i[n+1]){const s=i[zt()],o=tu(e,n);lu(s,r)&&null===t&&!o&&(t=!1),t=function(e,t,n,r){const i=St(e);let s=r?t.residualClasses:t.residualStyles;if(null===i){0===(r?t.classBindings:t.styleBindings)&&(n=iu(n=ru(null,e,t,n,r),t.attrs,r),s=null)}else{const o=t.directiveStylingLast;if(-1===o||e[o]!==i)if(n=ru(i,e,t,n,r),null===s){let n=function(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0===lo(r))return;return e[oo(r)]}(e,t,r);void 0!==n&&Array.isArray(n)&&(n=ru(null,e,t,n[1],r),n=iu(n,t.attrs,r),function(e,t,n,r){const i=n?t.classBindings:t.styleBindings;e[oo(i)]=r}(e,t,r,n))}else s=function(e,t,n){let r=void 0;const i=t.directiveEnd;for(let s=1+t.directiveStylingLast;s<i;s++){r=iu(r,e[s].hostAttrs,n)}return iu(r,t.attrs,n)}(e,t,r)}void 0!==s&&(r?t.residualClasses=s:t.residualStyles=s);return n}(i,s,t,r),Pl(i,s,t,n,o,r)}}function ru(e,t,n,r,i){let s=null;const o=n.directiveEnd;let a=n.directiveStylingLast;for(-1===a?a=n.directiveStart:a++;a<o&&(s=t[a],r=iu(r,s.hostAttrs,i),s!==e);)a++;return null!==e&&(n.directiveStylingLast=a),r}function iu(e,t,n){const r=n?1:2;let i=-1;if(null!==t)for(let s=0;s<t.length;s++){const o=t[s];"number"==typeof o?i=o:i===r&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),Jn(e,o,!!n||t[++s]))}return void 0===e?null:e}function su(e,t,n){Jn(e,t,Wr(n))}function ou(e,t,n,r,i,s,o,a){if(!(3&t.type))return;const c=e.data,l=c[a+1];if(!cu(ho(l)?au(c,t,n,i,lo(l),o):void 0)){cu(s)||ao(l)&&(s=au(c,null,n,i,a,o));!function(e,t,n,r,i){const s=Ne(e);if(t)i?s?e.addClass(n,r):n.classList.add(r):s?e.removeClass(n,r):n.classList.remove(r);else{let t=-1===r.indexOf("-")?void 0:as.DashCase;if(null==i)s?e.removeStyle(n,r,t):n.style.removeProperty(r);else{const o="string"==typeof i&&i.endsWith("!important");o&&(i=i.slice(0,-10),t|=as.Important),s?e.setStyle(n,r,i,t):n.style.setProperty(r,i,o?"important":"")}}}(r,o,Ve(zt(),n),i,s)}}function au(e,t,n,r,i,s){const o=null===t;let a=void 0;for(;i>0;){const t=e[i],s=Array.isArray(t),c=s?t[1]:t,l=null===c;let u=n[i+1];u===no&&(u=l?zl:void 0);let h=l?Qn(u,r):c===r?u:void 0;if(s&&!cu(h)&&(h=Qn(t,r)),cu(h)&&(a=h,o))return a;const d=e[i+1];i=o?oo(d):lo(d)}if(null!==t){let e=s?t.residualClasses:t.residualStyles;null!=e&&(a=Qn(e,r))}return a}function cu(e){return void 0!==e}function lu(e,t){return 0!=(e.flags&(t?16:32))}function uu(e,t=""){const n=rt(),r=it(),i=e+he,s=r.firstCreatePass?vo(r,i,1,t,null):r.data[i],o=n[i]=ms(n[11],t);Ps(r,n,o,s),lt(s,!1)}function hu(e){return du("",e,""),hu}function du(e,t,n){const r=rt(),i=ac(r,e,t,n);return i!==no&&aa(r,zt(),i),du}function fu(e,t,n,r,i){const s=rt(),o=cc(s,e,t,n,r,i);return o!==no&&aa(s,zt(),o),fu}function pu(e,t,n,r,i,s,o){const a=rt(),c=lc(a,e,t,n,r,i,s,o);return c!==no&&aa(a,zt(),c),pu}function mu(e,t,n,r,i,s,o,a,c){const l=rt(),u=uc(l,e,t,n,r,i,s,o,a,c);return u!==no&&aa(l,zt(),u),mu}function gu(e,t,n,r,i,s,o,a,c,l,u){const h=rt(),d=hc(h,e,t,n,r,i,s,o,a,c,l,u);return d!==no&&aa(h,zt(),d),gu}function vu(e,t,n,r,i,s,o,a,c,l,u,h,d){const f=rt(),p=dc(f,e,t,n,r,i,s,o,a,c,l,u,h,d);return p!==no&&aa(f,zt(),p),vu}function yu(e,t,n,r,i,s,o,a,c,l,u,h,d,f,p){const m=rt(),g=fc(m,e,t,n,r,i,s,o,a,c,l,u,h,d,f,p);return g!==no&&aa(m,zt(),g),yu}function bu(e,t,n,r,i,s,o,a,c,l,u,h,d,f,p,m,g){const v=rt(),y=pc(v,e,t,n,r,i,s,o,a,c,l,u,h,d,f,p,m,g);return y!==no&&aa(v,zt(),y),bu}function _u(e){const t=rt(),n=oc(t,e);return n!==no&&aa(t,zt(),n),_u}function wu(e,t,n){eu(Jn,Ql,ac(rt(),e,t,n),!0)}function Su(e,t,n,r,i){eu(Jn,Ql,cc(rt(),e,t,n,r,i),!0)}function xu(e,t,n,r,i,s,o){eu(Jn,Ql,lc(rt(),e,t,n,r,i,s,o),!0)}function Ou(e,t,n,r,i,s,o,a,c){eu(Jn,Ql,uc(rt(),e,t,n,r,i,s,o,a,c),!0)}function ku(e,t,n,r,i,s,o,a,c,l,u){eu(Jn,Ql,hc(rt(),e,t,n,r,i,s,o,a,c,l,u),!0)}function Cu(e,t,n,r,i,s,o,a,c,l,u,h,d){eu(Jn,Ql,dc(rt(),e,t,n,r,i,s,o,a,c,l,u,h,d),!0)}function Mu(e,t,n,r,i,s,o,a,c,l,u,h,d,f,p){eu(Jn,Ql,fc(rt(),e,t,n,r,i,s,o,a,c,l,u,h,d,f,p),!0)}function Eu(e,t,n,r,i,s,o,a,c,l,u,h,d,f,p,m,g){eu(Jn,Ql,pc(rt(),e,t,n,r,i,s,o,a,c,l,u,h,d,f,p,m,g),!0)}function Tu(e){eu(Jn,Ql,oc(rt(),e),!0)}function ju(e,t,n){Xl(ac(rt(),e,t,n))}function Du(e,t,n,r,i){Xl(cc(rt(),e,t,n,r,i))}function Au(e,t,n,r,i,s,o){Xl(lc(rt(),e,t,n,r,i,s,o))}function Lu(e,t,n,r,i,s,o,a,c){Xl(uc(rt(),e,t,n,r,i,s,o,a,c))}function zu(e,t,n,r,i,s,o,a,c,l,u){Xl(hc(rt(),e,t,n,r,i,s,o,a,c,l,u))}function Pu(e,t,n,r,i,s,o,a,c,l,u,h,d){Xl(dc(rt(),e,t,n,r,i,s,o,a,c,l,u,h,d))}function Iu(e,t,n,r,i,s,o,a,c,l,u,h,d,f,p){Xl(fc(rt(),e,t,n,r,i,s,o,a,c,l,u,h,d,f,p))}function Ru(e,t,n,r,i,s,o,a,c,l,u,h,d,f,p,m,g){Xl(pc(rt(),e,t,n,r,i,s,o,a,c,l,u,h,d,f,p,m,g))}function Nu(e){Xl(oc(rt(),e))}function Hu(e,t,n,r,i){return Zl(e,ac(rt(),t,n,r),i,!1),Hu}function Fu(e,t,n,r,i,s,o){return Zl(e,cc(rt(),t,n,r,i,s),o,!1),Fu}function Vu(e,t,n,r,i,s,o,a,c){return Zl(e,lc(rt(),t,n,r,i,s,o,a),c,!1),Vu}function Bu(e,t,n,r,i,s,o,a,c,l,u){return Zl(e,uc(rt(),t,n,r,i,s,o,a,c,l),u,!1),Bu}function Yu(e,t,n,r,i,s,o,a,c,l,u,h,d){return Zl(e,hc(rt(),t,n,r,i,s,o,a,c,l,u,h),d,!1),Yu}function Uu(e,t,n,r,i,s,o,a,c,l,u,h,d,f,p){return Zl(e,dc(rt(),t,n,r,i,s,o,a,c,l,u,h,d,f),p,!1),Uu}function Wu(e,t,n,r,i,s,o,a,c,l,u,h,d,f,p,m,g){return Zl(e,fc(rt(),t,n,r,i,s,o,a,c,l,u,h,d,f,p,m),g,!1),Wu}function qu(e,t,n,r,i,s,o,a,c,l,u,h,d,f,p,m,g,v,y){return Zl(e,pc(rt(),t,n,r,i,s,o,a,c,l,u,h,d,f,p,m,g,v),y,!1),qu}function $u(e,t,n){return Zl(e,oc(rt(),t),n,!1),$u}function Gu(e,t,n){const r=rt(),i=vt();if(tc(r,i,t)){const i=it(),s=It();Ao(i,s,r,e,t,r[11],n,!0)}return Gu}function Xu(e,t,n){const r=rt(),i=vt();if(tc(r,i,t)){const i=it(),s=It();Ao(i,s,r,e,t,ia(St(i.data),s,r),n,!0)}return Xu}const Ku=void 0;var Ju=["en",[["a","p"],["AM","PM"],Ku],[["AM","PM"],Ku,Ku],[["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"]],Ku,[["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"]],Ku,[["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}",Ku,"{1} 'at' {0}",Ku],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function(e){let t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return 1===t&&0===n?1:5}];let Qu={};function Zu(e,t,n){"string"!=typeof t&&(n=t,t=e[ih.LocaleId]),t=t.toLowerCase().replace(/_/g,"-"),Qu[t]=e,n&&(Qu[t][ih.ExtraData]=n)}function eh(e){const t=function(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=rh(t);if(n)return n;const r=t.split("-")[0];if(n=rh(r),n)return n;if("en"===r)return Ju;throw new Error(`Missing locale data for the locale "${e}".`)}function th(e){return eh(e)[ih.CurrencyCode]||null}function nh(e){return eh(e)[ih.PluralCase]}function rh(e){return e in Qu||(Qu[e]=F.ng&&F.ng.common&&F.ng.common.locales&&F.ng.common.locales[e]),Qu[e]}var ih;!function(e){e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData"}(ih||(ih={}));const sh=["zero","one","two","few","many"];const oh="en-US",ah={marker:"element"},ch={marker:"ICU"};var lh;!function(e){e[e.SHIFT=2]="SHIFT",e[e.APPEND_EAGERLY=1]="APPEND_EAGERLY",e[e.COMMENT=2]="COMMENT"}(lh||(lh={}));let uh=oh;function hh(e){v(e,"Expected localeId to be defined"),"string"==typeof e&&(uh=e.toLowerCase().replace(/_/g,"-"))}function dh(e,t,n){const r=t.insertBeforeIndex,i=Array.isArray(r)?r[0]:r;return null===i?Ds(e,0,n):Fe(n[i])}function fh(e,t,n,r,i){const s=t.insertBeforeIndex;if(Array.isArray(s)){let o=r,a=null;if(3&t.type||(a=o,o=i),null!==o&&0==(2&t.flags))for(let t=1;t<s.length;t++){Cs(e,o,n[s[t]],a,!1)}}}function ph(e,t){if(e.push(t),e.length>1)for(let n=e.length-2;n>=0;n--){const r=e[n];mh(r)||gh(r,t)&&null===vh(r)&&yh(r,t.index)}}function mh(e){return!(64&e.type)}function gh(e,t){return mh(t)||e.index>t.index}function vh(e){const t=e.insertBeforeIndex;return Array.isArray(t)?t[0]:t}function yh(e,t){const n=e.insertBeforeIndex;Array.isArray(n)?n[0]=t:(zs(dh,fh),e.insertBeforeIndex=t)}function bh(e,t){const n=e.data[t];if(null===n||"string"==typeof n)return null;const r=n.hasOwnProperty("currentCaseLViewIndex")?n:n.value;return r}function _h(e,t,n){const r=yo(e,n,64,null,null);return ph(t,r),r}function wh(e,t){const n=t[e.currentCaseLViewIndex];return null===n?n:n<0?~n:n}function Sh(e){return e>>>17}function xh(e){return(131070&e)>>>1}let Oh=0,kh=0;function Ch(e,t,n,r){const i=n[11];let s,o=null;for(let a=0;a<t.length;a++){const c=t[a];if("string"==typeof c){const e=t[++a];null===n[e]&&(n[e]=ms(i,c))}else if("number"==typeof c)switch(1&c){case 0:const l=Sh(c);let u,h;if(null===o&&(o=l,s=Ts(i,r)),l===o?(u=r,h=s):(u=null,h=Fe(n[l])),null!==h){const t=xh(c),r=n[t];Cs(i,h,r,u,!1);const s=bh(e,t);if(null!==s&&"object"==typeof s){const t=wh(s,n);null!==t&&Ch(e,s.create[t],n,n[s.anchorIdx])}}break;case 1:const d=c>>>1,f=t[++a],p=t[++a];Bo(i,Ve(d,n),null,null,f,p,null);break;default:throw new Error(`Unable to determine the type of mutate operation for "${c}"`)}else switch(c){case ch:const e=t[++a],r=t[++a];if(null===n[r]){Ki(n[r]=vs(i,e),n)}break;case ah:const s=t[++a],o=t[++a];if(null===n[o]){Ki(n[o]=ys(i,s,null),n)}}}}function Mh(e,t,n,r,i){for(let s=0;s<n.length;s++){const o=n[s],a=n[++s];if(o&i){let i="";for(let o=s+1;o<=s+a;o++){const s=n[o];if("string"==typeof s)i+=s;else if("number"==typeof s)if(s<0)i+=Se(t[r-s]);else{const a=s>>>2;switch(3&s){case 1:const s=n[++o],c=n[++o],l=e.data[a];"string"==typeof l?Bo(t[11],t[a],null,l,s,i,c):Ao(e,l,t,s,i,t[11],c,!1);break;case 0:const u=t[a];null!==u&&gs(t[11],u,i);break;case 2:Th(e,bh(e,a),t,i);break;case 3:Eh(e,bh(e,a),r,t)}}}}else{const i=n[s+1];if(i>0&&3==(3&i)){const n=bh(e,i>>>2);t[n.currentCaseLViewIndex]<0&&Eh(e,n,r,t)}}s+=a}}function Eh(e,t,n,r){let i=r[t.currentCaseLViewIndex];if(null!==i){let s=Oh;i<0&&(i=r[t.currentCaseLViewIndex]=~i,s=-1),Mh(e,r,t.update[i],n,s)}}function Th(e,t,n,r){const i=function(e,t){let n=e.cases.indexOf(t);if(-1===n)switch(e.type){case 1:{const r=function(e,t){const n=nh(t)(parseInt(e,10)),r=sh[n];return void 0!==r?r:"other"}(t,uh);n=e.cases.indexOf(r),-1===n&&"other"!==r&&(n=e.cases.indexOf("other"));break}case 0:n=e.cases.indexOf("other")}return-1===n?null:n}(t,r);if(wh(t,n)!==i&&(jh(e,t,n),n[t.currentCaseLViewIndex]=null===i?null:~i,null!==i)){const r=n[t.anchorIdx];r&&Ch(e,t.create[i],n,r)}}function jh(e,t,n){let r=wh(t,n);if(null!==r){const i=t.remove[r];for(let t=0;t<i.length;t++){const r=i[t];if(r>0){const e=Ve(r,n);null!==e&&Ns(n[11],e)}else jh(e,bh(e,~r),n)}}}function Dh(){const e=[];let t,n,r=-1;function i(e,t){r=0;const i=wh(e,t);n=null!==i?e.remove[i]:B}function s(){if(r<n.length){const o=n[r++];if(o>0){const e=t[o];return e}{e.push(r,n);const a=~o,c=t[1].data[a];return i(c,t),s()}}return 0===e.length?null:(n=e.pop(),r=e.pop(),s())}return function(n,r){for(t=r;e.length;)e.pop();return i(n.value,r),s}}const Ah=/\ufffd(\d+):?\d*\ufffd/gi,Lh=/({\s*\ufffd\d+:?\d*\ufffd\s*,\s*\S{6}\s*,[\s\S]*})/gi,zh=/\ufffd(\d+)\ufffd/,Ph=/^\s*(\ufffd\d+:?\d*\ufffd)\s*,\s*(select|plural)\s*,/,Ih=/\ufffd\/?\*(\d+:\d+)\ufffd/gi,Rh=/\ufffd(\/?[#*]\d+):?\d*\ufffd/gi,Nh=/\uE500/g;function Hh(e,t,n,r,i,s){const o=ct(),a=[],c=[],l=[[]];i=function(e,t){if(function(e){return-1===e}(t))return Uh(e);{const n=e.indexOf(`:${t}\ufffd`)+2+t.toString().length,r=e.search(new RegExp(`\ufffd\\/\\*\\d+:${t}\ufffd`));return Uh(e.substring(n,r))}}(i,s);const u=(h=i,h.replace(Nh," ")).split(Rh);var h;for(let d=0;d<u.length;d++){let r=u[d];if(0==(1&d)){const s=$h(r);for(let r=0;r<s.length;r++){let u=s[r];if(0==(1&r)){const t=u;""!==t&&Vh(e,o,l[0],a,c,n,t)}else{const r=u;if("object"!=typeof r)throw new Error(`Unable to parse ICU expression in "${i}" message.`);const s=Fh(e,o,l[0],n,a,"",!0).index;Wh(e,n,c,t,r,s)}}}else{const t=47===r.charCodeAt(0),n=(r.charCodeAt(t?1:0),he+Number.parseInt(r.substring(t?2:1)));if(t)l.shift(),lt(ct(),!1);else{const t=_h(e,l[0],n);l.unshift([]),lt(t,!0)}}}e.data[r]={create:a,update:c}}function Fh(e,t,n,r,i,s,o){const a=bo(e,r,1,null);let c=a<<lh.SHIFT,l=ct();var u;t===l&&(l=null),null===l&&(c|=lh.APPEND_EAGERLY),o&&(c|=lh.COMMENT,u=Dh,void 0===cs&&(cs=u())),i.push(c,null===s?"":s);const h=yo(e,a,o?32:1,null===s?"":s,null);ph(n,h);const d=h.index;return lt(h,!1),null!==l&&t!==l&&function(e,t){let n=e.insertBeforeIndex;null===n?(zs(dh,fh),n=e.insertBeforeIndex=[null,t]):(g(Array.isArray(n),!0,"Expecting array here"),n.push(t))}(l,d),h}function Vh(e,t,n,r,i,s,o){const a=o.match(Ah),c=Fh(e,t,n,s,r,a?null:o,!1);a&&Bh(i,o,c.index)}function Bh(e,t,n,r,i=null){const s=e.length,o=s+1;e.push(null,null);const a=s+2;const c=t.split(Ah);let l=0;for(let u=0;u<c.length;u++){const t=c[u];if(1&u){const n=parseInt(t,10);e.push(-1-n),l|=Yh(n)}else""!==t&&e.push(t)}return e.push(n<<2|(r?1:0)),r&&e.push(r,i),e[s]=l,e[o]=e.length-a,l}function Yh(e){return 1<<Math.min(e,31)}function Uh(e){let t,n,r="",i=0,s=!1;for(;null!==(t=Ih.exec(e));)s?t[0]===`\ufffd/*${n}\ufffd`&&(i=t.index,s=!1):(r+=e.substring(i,t.index+t[0].length),n=t[1],s=!0);return r+=e.substr(i),r}function Wh(e,t,n,r,i,s){let o=0;const a={type:i.type,currentCaseLViewIndex:bo(e,t,1,null),anchorIdx:s,cases:[],create:[],remove:[],update:[]};!function(e,t,n){e.push(Yh(t.mainBinding),2,-1-t.mainBinding,n<<2|2)}(n,i,s),function(e,t,n){const r=e.data[t];null===r?e.data[t]=n:r.value=n}(e,s,a);const c=i.values;for(let l=0;l<c.length;l++){const s=c[l],u=[];for(let e=0;e<s.length;e++){const t=s[e];if("string"!=typeof t){const n=u.push(t)-1;s[e]=`\x3c!--\ufffd${n}\ufffd--\x3e`}}o=Gh(e,a,t,n,r,i.cases[l],s.join(""),u)|o}o&&function(e,t,n){e.push(t,1,n<<2|3)}(n,o,s)}function qh(e){const t=[],n=[];let r=1,i=0;const s=$h(e=e.replace(Ph,function(e,t,n){return r="select"===n?0:1,i=parseInt(t.substr(1),10),""}));for(let o=0;o<s.length;){let e=s[o++].trim();1===r&&(e=e.replace(/\s*(?:=)?(\w+)\s*/,"$1")),e.length&&t.push(e);const i=$h(s[o++]);t.length>n.length&&n.push(i)}return{type:r,mainBinding:i,cases:t,values:n}}function $h(e){if(!e)return[];let t=0;const n=[],r=[],i=/[{}]/g;let s;for(i.lastIndex=0;s=i.exec(e);){const i=s.index;if("}"==s[0]){if(n.pop(),0==n.length){const n=e.substring(t,i);Ph.test(n)?r.push(qh(n)):r.push(n),t=i+1}}else{if(0==n.length){const n=e.substring(t,i);r.push(n),t=i+1}n.push("{")}}const o=e.substring(t);return r.push(o),r}function Gh(e,t,n,r,i,s,o,a){const c=[],l=[],u=[];t.cases.push(s),t.create.push(c),t.remove.push(l),t.update.push(u);const h=Zr(Ie()).getInertBodyElement(o),d=Mi(h)||h;return d?Xh(e,t,n,r,c,l,u,d,i,a,0):0}function Xh(e,t,n,r,i,s,o,a,c,l,u){let h=0,d=a.firstChild;for(;d;){const a=bo(e,n,1,null);switch(d.nodeType){case Node.ELEMENT_NODE:const f=d,p=f.tagName.toLowerCase();if(pi.hasOwnProperty(p)){Qh(i,ah,p,c,a),e.data[a]=p;const m=f.attributes;for(let e=0;e<m.length;e++){const t=m.item(e),n=t.name.toLowerCase();!!t.value.match(Ah)?bi.hasOwnProperty(n)&&(mi[n]?Bh(o,t.value,a,t.name,ii):gi[n]?Bh(o,t.value,a,t.name,si):Bh(o,t.value,a,t.name)):Zh(i,a,t)}h=Xh(e,t,n,r,i,s,o,d,a,l,u+1)|h,Kh(s,a,u)}break;case Node.TEXT_NODE:const m=d.textContent||"",g=m.match(Ah);Qh(i,null,g?"":m,c,a),Kh(s,a,u),g&&(h=Bh(o,m,a)|h);break;case Node.COMMENT_NODE:const v=zh.exec(d.textContent||"");if(v){const t=parseInt(v[1],10),o=l[t];Qh(i,ch,"",c,a),Wh(e,n,r,c,o,a),Jh(s,a,u)}}d=d.nextSibling}return h}function Kh(e,t,n){0===n&&e.push(t)}function Jh(e,t,n){0===n&&(e.push(~t),e.push(t))}function Qh(e,t,n,r,i){null!==t&&e.push(t),e.push(n,i,0|r<<17|i<<1)}function Zh(e,t,n){e.push(t<<1|1,n.name,n.value)}const ed=/\[(\ufffd.+?\ufffd?)\]/,td=/\[(\ufffd.+?\ufffd?)\]|(\ufffd\/?\*\d+:\d+\ufffd)/g,nd=/({\s*)(VAR_(PLURAL|SELECT)(_\d+)?)(\s*,)/g,rd=/{([A-Z0-9_]+)}/g,id=/\ufffdI18N_EXP_(ICU(_\d+)?)\ufffd/g,sd=/\/\*/,od=/\d+\:(\d+)/;function ad(e,t,n=-1){const r=it(),i=rt(),s=he+e,o=Ke(r.consts,t),a=ct();r.firstCreatePass&&Hh(r,null===a?0:a.index,i,s,o,n);const c=r.data[s],l=ks(r,a===i[6]?null:a,i),u=a&&8&a.type?i[a.index]:null;!function(e,t,n,r){const i=e[11];for(let s=0;s<t.length;s++){const o=t[s++],a=t[s],c=(o&lh.COMMENT)===lh.COMMENT,l=(o&lh.APPEND_EAGERLY)===lh.APPEND_EAGERLY,u=o>>>lh.SHIFT;let h=e[u];null===h&&(h=e[u]=c?i.createComment(a):ms(i,a)),l&&null!==n&&Cs(i,n,h,r,!1)}}(i,c.create,l,u),bt(!0)}function cd(){bt(!1)}function ld(e,t,n){ad(e,t,n),cd()}function ud(e,t){const n=it(),r=Ke(n.consts,t);!function(e,t,n){const r=ot().index,i=[];if(e.firstCreatePass&&null===e.data[t]){for(let e=0;e<n.length;e+=2){const t=n[e],s=n[e+1];if(""!==s){if(Lh.test(s))throw new Error(`ICU expressions are not supported in attributes. Message: "${s}".`);Bh(i,s,r,t)}}e.data[t]=i}}(n,e+he,r)}function hd(e){const t=rt();return tc(t,vt(),e)&&(Oh|=1<<Math.min(kh,31)),kh++,hd}function dd(e){!function(e,t,n){if(kh>0){const r=e.data[n];Mh(e,t,Array.isArray(r)?r:r.update,mt()-kh-1,Oh)}Oh=0,kh=0}(it(),rt(),e+he)}function fd(e,t={}){return function(e,t={}){let n=e;if(ed.test(e)){const e={},t=[0];n=n.replace(td,(n,r,i)=>{const s=r||i,o=e[s]||[];if(o.length||(s.split("|").forEach(e=>{const t=e.match(od),n=t?parseInt(t[1],10):0,r=sd.test(e);o.push([n,r,e])}),e[s]=o),!o.length)throw new Error("i18n postprocess: unmatched placeholder - "+s);const a=t[t.length-1];let c=0;for(let e=0;e<o.length;e++)if(o[e][0]===a){c=e;break}const[l,u,h]=o[c];return u?t.pop():a!==l&&t.push(l),o.splice(c,1),h})}return Object.keys(t).length?(n=n.replace(nd,(e,n,r,i,s,o)=>t.hasOwnProperty(r)?`${n}${t[r]}${o}`:e),n=n.replace(rd,(e,n)=>t.hasOwnProperty(n)?t[n]:e),n=n.replace(id,(e,n)=>{if(t.hasOwnProperty(n)){const r=t[n];if(!r.length)throw new Error(`i18n postprocess: unmatched ICU - ${e} with key: ${n}`);return r.shift()}return e}),n):n}(e,t)}function pd(e,t,n,r,i){if(e=p(e),Array.isArray(e))for(let s=0;s<e.length;s++)pd(e[s],t,n,r,i);else{const s=it(),o=rt();let a=xa(e)?e:p(e.provide),c=_a(e);const l=ot(),u=1048575&l.providerIndexes,h=l.directiveStart,d=l.providerIndexes>>20;if(xa(e)||!e.multi){const r=new $t(c,i,tl),f=vd(a,t,i?u:u+d,h);-1===f?(un(on(l,o),s,a),md(s,e,t.length),t.push(a),l.directiveStart++,l.directiveEnd++,i&&(l.providerIndexes+=1048576),n.push(r),o.push(r)):(n[f]=r,o[f]=r)}else{const f=vd(a,t,u+d,h),p=vd(a,t,u,u+d),m=f>=0&&n[f],g=p>=0&&n[p];if(i&&!g||!i&&!m){un(on(l,o),s,a);const u=function(e,t,n,r,i){const s=new $t(e,n,tl);return s.multi=[],s.index=t,s.componentProviders=0,gd(s,i,r&&!n),s}(i?bd:yd,n.length,i,r,c);!i&&g&&(n[p].providerFactory=u),md(s,e,t.length,0),t.push(a),l.directiveStart++,l.directiveEnd++,i&&(l.providerIndexes+=1048576),n.push(u),o.push(u)}else{md(s,e,f>-1?f:p,gd(n[i?p:f],c,!i&&r))}!i&&r&&g&&n[p].componentProviders++}}}function md(e,t,n,r){const i=xa(t);if(i||t.useClass){const s=(t.useClass||t).prototype.ngOnDestroy;if(s){const o=e.destroyHooks||(e.destroyHooks=[]);if(!i&&t.multi){const e=o.indexOf(n);-1===e?o.push(n,[r,s]):o[e+1].push(r,s)}else o.push(n,s)}}}function gd(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function vd(e,t,n,r){for(let i=n;i<r;i++)if(t[i]===e)return i;return-1}function yd(e,t,n,r){return _d(this.multi,[])}function bd(e,t,n,r){const i=this.multi;let s;if(this.providerFactory){const e=this.providerFactory.componentProviders,t=yn(n,n[1],this.providerFactory.index,r);s=t.slice(0,e),_d(i,s);for(let n=e;n<t.length;n++)s.push(t[n])}else s=[],_d(i,s);return s}function _d(e,t){for(let n=0;n<e.length;n++){const r=e[n];t.push(r())}return t}function wd(e,t=[]){return n=>{n.providersResolver=(n,r)=>function(e,t,n){const r=it();if(r.firstCreatePass){const i=ye(e);pd(n,r.data,r.blueprint,i,!0),pd(t,r.data,r.blueprint,i,!1)}}(n,r?r(e):e,t)}}class Sd{}class xd{}function Od(e){const t=Error(`No component factory found for ${u(e)}. Did you add it to @NgModule.entryComponents?`);return t[kd]=e,t}const kd="ngComponent";class Cd{}Cd.NULL=new class{resolveComponentFactory(e){throw Od(e)}};class Md{constructor(e,t,n){this._parent=t,this._ngModule=n,this._factories=new Map;for(let r=0;r<e.length;r++){const t=e[r];this._factories.set(t.componentType,t)}}resolveComponentFactory(e){let t=this._factories.get(e);if(!t&&this._parent&&(t=this._parent.resolveComponentFactory(e)),!t)throw Od(e);return new Ed(t,this._ngModule)}}class Ed extends xd{constructor(e,t){super(),this.factory=e,this.ngModule=t,this.selector=e.selector,this.componentType=e.componentType,this.ngContentSelectors=e.ngContentSelectors,this.inputs=e.inputs,this.outputs=e.outputs}create(e,t,n,r){return this.factory.create(e,t,n,r||this.ngModule)}}function Td(...e){}function jd(e,t){return new Ad(Be(e,t))}const Dd=function(){return jd(ot(),rt())};class Ad{constructor(e){this.nativeElement=e}}Ad.__NG_ELEMENT_ID__=Dd;new Ln("Renderer2Interceptor");class Ld{}class zd{}zd.__NG_ELEMENT_ID__=()=>Pd();const Pd=function(){const e=rt(),t=We(ot().index,e);return function(e){const t=e[11];0;return t}(fe(t)?t:e)};class Id{}Id.\u0275prov=b({token:Id,providedIn:"root",factory:()=>null});class Rd{constructor(e){this.full=e,this.major=e.split(".")[0],this.minor=e.split(".")[1],this.patch=e.split(".").slice(2).join(".")}}const Nd=new Rd("11.0.9");class Hd{constructor(){}supports(e){return Ja(e)}create(e){return new Vd(e)}}const Fd=(e,t)=>t;class Vd{constructor(e){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=e||Fd}forEachItem(e){let t;for(t=this._itHead;null!==t;t=t._next)e(t)}forEachOperation(e){let t=this._itHead,n=this._removalsHead,r=0,i=null;for(;t||n;){const s=!n||t&&t.currentIndex<Wd(n,r,i)?t:n,o=Wd(s,r,i),a=s.currentIndex;if(s===n)r--,n=n._nextRemoved;else if(t=t._next,null==s.previousIndex)r++;else{i||(i=[]);const e=o-r,t=a-r;if(e!=t){for(let n=0;n<e;n++){const r=n<i.length?i[n]:i[n]=0,s=r+n;t<=s&&s<e&&(i[n]=r+1)}i[s.previousIndex]=t-e}}o!==a&&e(s,o,a)}}forEachPreviousItem(e){let t;for(t=this._previousItHead;null!==t;t=t._nextPrevious)e(t)}forEachAddedItem(e){let t;for(t=this._additionsHead;null!==t;t=t._nextAdded)e(t)}forEachMovedItem(e){let t;for(t=this._movesHead;null!==t;t=t._nextMoved)e(t)}forEachRemovedItem(e){let t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)e(t)}forEachIdentityChange(e){let t;for(t=this._identityChangesHead;null!==t;t=t._nextIdentityChange)e(t)}diff(e){if(null==e&&(e=[]),!Ja(e))throw new Error(`Error trying to diff '${u(e)}'. Only arrays and iterables are allowed`);return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let t,n,r,i=this._itHead,s=!1;if(Array.isArray(e)){this.length=e.length;for(let t=0;t<this.length;t++)n=e[t],r=this._trackByFn(t,n),null!==i&&Object.is(i.trackById,r)?(s&&(i=this._verifyReinsertion(i,n,r,t)),Object.is(i.item,n)||this._addIdentityChange(i,n)):(i=this._mismatch(i,n,r,t),s=!0),i=i._next}else t=0,function(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[Ga()]();let r;for(;!(r=n.next()).done;)t(r.value)}}(e,e=>{r=this._trackByFn(t,e),null!==i&&Object.is(i.trackById,r)?(s&&(i=this._verifyReinsertion(i,e,r,t)),Object.is(i.item,e)||this._addIdentityChange(i,e)):(i=this._mismatch(i,e,r,t),s=!0),i=i._next,t++}),this.length=t;return this._truncate(i),this.collection=e,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let e;for(e=this._previousItHead=this._itHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;null!==e;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;null!==e;e=e._nextMoved)e.previousIndex=e.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(e,t,n,r){let i;return null===e?i=this._itTail:(i=e._prev,this._remove(e)),null!==(e=null===this._linkedRecords?null:this._linkedRecords.get(n,r))?(Object.is(e.item,t)||this._addIdentityChange(e,t),this._moveAfter(e,i,r)):null!==(e=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(Object.is(e.item,t)||this._addIdentityChange(e,t),this._reinsertAfter(e,i,r)):e=this._addAfter(new Bd(t,n),i,r),e}_verifyReinsertion(e,t,n,r){let i=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==i?e=this._reinsertAfter(i,e._prev,r):e.currentIndex!=r&&(e.currentIndex=r,this._addToMoves(e,r)),e}_truncate(e){for(;null!==e;){const t=e._next;this._addToRemovals(this._unlink(e)),e=t}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(e,t,n){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(e);const r=e._prevRemoved,i=e._nextRemoved;return null===r?this._removalsHead=i:r._nextRemoved=i,null===i?this._removalsTail=r:i._prevRemoved=r,this._insertAfter(e,t,n),this._addToMoves(e,n),e}_moveAfter(e,t,n){return this._unlink(e),this._insertAfter(e,t,n),this._addToMoves(e,n),e}_addAfter(e,t,n){return this._insertAfter(e,t,n),null===this._additionsTail?this._additionsTail=this._additionsHead=e:this._additionsTail=this._additionsTail._nextAdded=e,e}_insertAfter(e,t,n){const r=null===t?this._itHead:t._next;return e._next=r,e._prev=t,null===r?this._itTail=e:r._prev=e,null===t?this._itHead=e:t._next=e,null===this._linkedRecords&&(this._linkedRecords=new Ud),this._linkedRecords.put(e),e.currentIndex=n,e}_remove(e){return this._addToRemovals(this._unlink(e))}_unlink(e){null!==this._linkedRecords&&this._linkedRecords.remove(e);const t=e._prev,n=e._next;return null===t?this._itHead=n:t._next=n,null===n?this._itTail=t:n._prev=t,e}_addToMoves(e,t){return e.previousIndex===t||(null===this._movesTail?this._movesTail=this._movesHead=e:this._movesTail=this._movesTail._nextMoved=e),e}_addToRemovals(e){return null===this._unlinkedRecords&&(this._unlinkedRecords=new Ud),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e}_addIdentityChange(e,t){return e.item=t,null===this._identityChangesTail?this._identityChangesTail=this._identityChangesHead=e:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=e,e}}class Bd{constructor(e,t){this.item=e,this.trackById=t,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class Yd{constructor(){this._head=null,this._tail=null}add(e){null===this._head?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)}get(e,t){let n;for(n=this._head;null!==n;n=n._nextDup)if((null===t||t<=n.currentIndex)&&Object.is(n.trackById,e))return n;return null}remove(e){const t=e._prevDup,n=e._nextDup;return null===t?this._head=n:t._nextDup=n,null===n?this._tail=t:n._prevDup=t,null===this._head}}class Ud{constructor(){this.map=new Map}put(e){const t=e.trackById;let n=this.map.get(t);n||(n=new Yd,this.map.set(t,n)),n.add(e)}get(e,t){const n=e,r=this.map.get(n);return r?r.get(e,t):null}remove(e){const t=e.trackById;return this.map.get(t).remove(e)&&this.map.delete(t),e}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function Wd(e,t,n){const r=e.previousIndex;if(null===r)return r;let i=0;return n&&r<n.length&&(i=n[r]),r+t+i}class qd{constructor(){}supports(e){return e instanceof Map||Qa(e)}create(){return new $d}}class $d{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(e){let t;for(t=this._mapHead;null!==t;t=t._next)e(t)}forEachPreviousItem(e){let t;for(t=this._previousMapHead;null!==t;t=t._nextPrevious)e(t)}forEachChangedItem(e){let t;for(t=this._changesHead;null!==t;t=t._nextChanged)e(t)}forEachAddedItem(e){let t;for(t=this._additionsHead;null!==t;t=t._nextAdded)e(t)}forEachRemovedItem(e){let t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)e(t)}diff(e){if(e){if(!(e instanceof Map||Qa(e)))throw new Error(`Error trying to diff '${u(e)}'. Only maps and objects are allowed`)}else e=new Map;return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let t=this._mapHead;if(this._appendAfter=null,this._forEach(e,(e,n)=>{if(t&&t.key===n)this._maybeAddToChanges(t,e),this._appendAfter=t,t=t._next;else{const r=this._getOrCreateRecordForKey(n,e);t=this._insertBeforeOrAppend(t,r)}}),t){t._prev&&(t._prev._next=null),this._removalsHead=t;for(let e=t;null!==e;e=e._nextRemoved)e===this._mapHead&&(this._mapHead=null),this._records.delete(e.key),e._nextRemoved=e._next,e.previousValue=e.currentValue,e.currentValue=null,e._prev=null,e._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(e,t){if(e){const n=e._prev;return t._next=e,t._prev=n,e._prev=t,n&&(n._next=t),e===this._mapHead&&(this._mapHead=t),this._appendAfter=e,e}return this._appendAfter?(this._appendAfter._next=t,t._prev=this._appendAfter):this._mapHead=t,this._appendAfter=t,null}_getOrCreateRecordForKey(e,t){if(this._records.has(e)){const n=this._records.get(e);this._maybeAddToChanges(n,t);const r=n._prev,i=n._next;return r&&(r._next=i),i&&(i._prev=r),n._next=null,n._prev=null,n}const n=new Gd(e);return this._records.set(e,n),n.currentValue=t,this._addToAdditions(n),n}_reset(){if(this.isDirty){let e;for(this._previousMapHead=this._mapHead,e=this._previousMapHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._changesHead;null!==e;e=e._nextChanged)e.previousValue=e.currentValue;for(e=this._additionsHead;null!=e;e=e._nextAdded)e.previousValue=e.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(e,t){Object.is(t,e.currentValue)||(e.previousValue=e.currentValue,e.currentValue=t,this._addToChanges(e))}_addToAdditions(e){null===this._additionsHead?this._additionsHead=this._additionsTail=e:(this._additionsTail._nextAdded=e,this._additionsTail=e)}_addToChanges(e){null===this._changesHead?this._changesHead=this._changesTail=e:(this._changesTail._nextChanged=e,this._changesTail=e)}_forEach(e,t){e instanceof Map?e.forEach(t):Object.keys(e).forEach(n=>t(e[n],n))}}class Gd{constructor(e){this.key=e,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}class Xd{constructor(e){this.factories=e}static create(e,t){if(null!=t){const n=t.factories.slice();e=e.concat(n)}return new Xd(e)}static extend(e){return{provide:Xd,useFactory:t=>{if(!t)throw new Error("Cannot extend IterableDiffers without a parent injector");return Xd.create(e,t)},deps:[[Xd,new hr,new lr]]}}find(e){const t=this.factories.find(t=>t.supports(e));if(null!=t)return t;throw new Error(`Cannot find a differ supporting object '${e}' of type '${n=e,n.name||typeof n}'`);var n}}Xd.\u0275prov=b({token:Xd,providedIn:"root",factory:()=>new Xd([new Hd])});class Kd{constructor(e){this.factories=e}static create(e,t){if(t){const n=t.factories.slice();e=e.concat(n)}return new Kd(e)}static extend(e){return{provide:Kd,useFactory:t=>{if(!t)throw new Error("Cannot extend KeyValueDiffers without a parent injector");return Kd.create(e,t)},deps:[[Kd,new hr,new lr]]}}find(e){const t=this.factories.find(t=>t.supports(e));if(t)return t;throw new Error(`Cannot find a differ supporting object '${e}'`)}}function Jd(e,t,n,r,i=!1){for(;null!==n;){const s=t[n.index];if(null!==s&&r.push(Fe(s)),pe(s))for(let e=de;e<s.length;e++){const t=s[e],n=t[1].firstChild;null!==n&&Jd(t[1],t,n,r)}const o=n.type;if(8&o)Jd(e,t,n.child,r);else if(32&o){const e=ls(n,t);let i;for(;i=e();)r.push(i)}else if(16&o){const e=t[16],i=e[6],s=n.projection,o=i.projection[s];if(Array.isArray(o))r.push(...o);else{const t=us(e);Jd(t[1],t,o,r,!0)}}n=i?n.projectionNext:n.next}return r}Kd.\u0275prov=b({token:Kd,providedIn:"root",factory:()=>new Kd([new qd])});class Qd{constructor(e,t){this._lView=e,this._cdRefInjectingView=t,this._appRef=null,this._attachedToViewContainer=!1}get rootNodes(){const e=this._lView,t=e[1];return Jd(t,e,t.firstChild,[])}get context(){return this._lView[8]}get destroyed(){return 256==(256&this._lView[2])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const e=this._lView[3];if(pe(e)){const t=e[8],n=t?t.indexOf(this):-1;n>-1&&(ws(e,n),Xn(t,n))}this._attachedToViewContainer=!1}Ss(this._lView[1],this._lView)}onDestroy(e){jo(this._lView[1],this._lView,null,e)}markForCheck(){Ko(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){Qo(this._lView[1],this._lView,this.context)}checkNoChanges(){!function(e,t,n){ft(!0);try{Qo(e,t,n)}finally{ft(!1)}}(this._lView[1],this._lView,this.context)}attachToViewContainerRef(){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._attachedToViewContainer=!0}detachFromAppRef(){var e,t;this._appRef=null,e=this._lView[1],t=this._lView,Fs(e,t,t[11],2,null,null)}attachToAppRef(e){if(this._attachedToViewContainer)throw new Error("This view is already attached to a ViewContainer!");this._appRef=e}}class Zd extends Qd{constructor(e){super(e),this._view=e}detectChanges(){Zo(this._view)}checkNoChanges(){!function(e){ft(!0);try{Zo(e)}finally{ft(!1)}}(this._view)}get context(){return null}}const ef=nf;class tf{}function nf(e=!1){return function(e,t,n){if(!n&&ge(e)){const n=We(e.index,t);return new Qd(n,n)}if(47&e.type){const e=t[16];return new Qd(e,t)}return null}(ot(),rt(),e)}tf.__NG_ELEMENT_ID__=ef,tf.__ChangeDetectorRef__=!0;const rf=[new qd],sf=[new Hd],of=new Xd(sf),af=new Kd(rf),cf=function(){return df(ot(),rt())};class lf{}lf.__NG_ELEMENT_ID__=cf;const uf=lf,hf=class extends uf{constructor(e,t,n){super(),this._declarationLView=e,this._declarationTContainer=t,this.elementRef=n}createEmbeddedView(e){const t=this._declarationTContainer.tViews,n=go(this._declarationLView,t,e,16,null,t.declTNode,null,null,null,null),r=this._declarationLView[this._declarationTContainer.index];n[17]=r;const i=this._declarationLView[19];return null!==i&&(n[19]=i.createEmbeddedView(t)),_o(t,n,e),new Qd(n)}};function df(e,t){return 4&e.type?new hf(t,e,jd(e,t)):null}class ff{}class pf{}const mf=function(){return wf(ot(),rt())};class gf{}gf.__NG_ELEMENT_ID__=mf;const vf=gf,yf=class extends vf{constructor(e,t,n){super(),this._lContainer=e,this._hostTNode=t,this._hostLView=n}get element(){return jd(this._hostTNode,this._hostLView)}get injector(){return new wn(this._hostTNode,this._hostLView)}get parentInjector(){const e=ln(this._hostTNode,this._hostLView);if(Zt(e)){const t=tn(e,this._hostLView),n=en(e),r=t[1].data[n+8];return new wn(r,t)}return new wn(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){const t=bf(this._lContainer);return null!==t&&t[e]||null}get length(){return this._lContainer.length-de}createEmbeddedView(e,t,n){const r=e.createEmbeddedView(t||{});return this.insert(r,n),r}createComponent(e,t,n,r,i){const s=n||this.parentInjector;if(!i&&null==e.ngModule&&s){const e=s.get(ff,null);e&&(i=e)}const o=e.create(s,r,void 0,i);return this.insert(o.hostView,t),o}insert(e,t){const n=e._lView,r=n[1];if(pe(n[3])){const t=this.indexOf(e);if(-1!==t)this.detach(t);else{const t=n[3],r=new yf(t,t[6],t[3]);r.detach(r.indexOf(e))}}const i=this._adjustIndex(t),s=this._lContainer;bs(r,n,s,i);const o=Rs(i,s),a=n[11],c=Ts(a,s[7]);return null!==c&&function(e,t,n,r,i,s){r[0]=i,r[6]=t,Fs(e,r,n,1,i,s)}(r,s[6],a,n,c,o),e.attachToViewContainerRef(),Gn(_f(s),i,e),e}move(e,t){return this.insert(e,t)}indexOf(e){const t=bf(this._lContainer);return null!==t?t.indexOf(e):-1}remove(e){const t=this._adjustIndex(e,-1),n=ws(this._lContainer,t);n&&(Xn(_f(this._lContainer),t),Ss(n[1],n))}detach(e){const t=this._adjustIndex(e,-1),n=ws(this._lContainer,t);return n&&null!=Xn(_f(this._lContainer),t)?new Qd(n):null}_adjustIndex(e,t=0){return null==e?this.length+t:e}};function bf(e){return e[8]}function _f(e){return e[8]||(e[8]=[])}function wf(e,t){let n;const r=t[e.index];if(pe(r))n=r;else{let i;if(8&e.type)i=Fe(r);else{const n=t[11];i=n.createComment("");const r=Be(e,t);Cs(n,Ts(n,r),i,function(e,t){return Ne(e)?e.nextSibling(t):t.nextSibling}(n,r),!1)}t[e.index]=n=Wo(r,t,i,e),Xo(t,n)}return new yf(n,e,t)}function Sf(e,t,n,r){let i=`ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Previous value: '${t}'. Current value: '${n}'.`;return r&&(i+=" It seems like the view has been created after its parent and its children have been dirty checked. Has it been created in a change detection hook ?"),function(e,t){const n=new Error(e);return xf(n,t),n}(i,e)}function xf(e,t){e.ngDebugContext=t,e.ngErrorLogger=t.logError.bind(t)}function Of(e){return new Error("ViewDestroyedError: Attempt to use a destroyed view: "+e)}function kf(e,t,n){const r=e.state,i=1792&r;return i===t?(e.state=-1793&r|n,e.initIndex=-1,!0):i===n}function Cf(e,t,n){return(1792&e.state)===t&&e.initIndex<=n&&(e.initIndex=n+1,!0)}function Mf(e,t){return e.nodes[t]}function Ef(e,t){return e.nodes[t]}function Tf(e,t){return e.nodes[t]}function jf(e,t){return e.nodes[t]}function Df(e,t){return e.nodes[t]}const Af={setCurrentNode:void 0,createRootView:void 0,createEmbeddedView:void 0,createComponentView:void 0,createNgModuleRef:void 0,overrideProvider:void 0,overrideComponentView:void 0,clearOverrides:void 0,checkAndUpdateView:void 0,checkNoChangesView:void 0,destroyView:void 0,resolveDep:void 0,createDebugContext:void 0,handleEvent:void 0,updateDirectives:void 0,updateRenderer:void 0,dirtyParentQueries:void 0},Lf=()=>{},zf=new Map;function Pf(e){let t=zf.get(e);return t||(t=u(e)+"_"+zf.size,zf.set(e,t)),t}function If(e,t,n,r){if(Ka.isWrapped(r)){r=Ka.unwrap(r);const i=e.def.nodes[t].bindingIndex+n,s=Ka.unwrap(e.oldValues[i]);e.oldValues[i]=new Ka(s)}return r}const Rf="$$undefined",Nf="$$empty";function Hf(e){return{id:Rf,styles:e.styles,encapsulation:e.encapsulation,data:e.data}}let Ff=0;function Vf(e,t,n,r){const i=e.oldValues;return!(!(2&e.state)&&Object.is(i[t.bindingIndex+n],r))}function Bf(e,t,n,r){return!!Vf(e,t,n,r)&&(e.oldValues[t.bindingIndex+n]=r,!0)}function Yf(e,t,n,r){const i=e.oldValues[t.bindingIndex+n];if(1&e.state||!Xa(i,r)){const s=t.bindings[n].name;throw Sf(Af.createDebugContext(e,t.nodeIndex),`${s}: ${i}`,`${s}: ${r}`,0!=(1&e.state))}}function Uf(e){let t=e;for(;t;)2&t.def.flags&&(t.state|=8),t=t.viewContainerParent||t.parent}function Wf(e,t){let n=e;for(;n&&n!==t;)n.state|=64,n=n.viewContainerParent||n.parent}function qf(e,t,n,r){try{const i=e.def.nodes[t];return Uf(33554432&i.flags?Ef(e,t).componentView:e),Af.handleEvent(e,t,n,r)}catch(i){e.root.errorHandler.handleError(i)}}function $f(e){if(e.parent){return Ef(e.parent,e.parentNodeDef.nodeIndex)}return null}function Gf(e){return e.parent?e.parentNodeDef.parent:null}function Xf(e,t){switch(201347067&t.flags){case 1:return Ef(e,t.nodeIndex).renderElement;case 2:return Mf(e,t.nodeIndex).renderText}}function Kf(e,t){return e?`${e}:${t}`:t}function Jf(e){return!!e.parent&&!!(32768&e.parentNodeDef.flags)}function Qf(e){return!(!e.parent||32768&e.parentNodeDef.flags)}function Zf(e){return 1<<e%32}function ep(e){const t={};let n=0;const r={};return e&&e.forEach(([e,i])=>{"number"==typeof e?(t[e]=i,n|=Zf(e)):r[e]=i}),{matchedQueries:t,references:r,matchedQueryIds:n}}function tp(e,t){return e.map(e=>{let n,r;return Array.isArray(e)?[r,n]=e:(r=0,n=e),n&&("function"==typeof n||"object"==typeof n)&&t&&Object.defineProperty(n,Or,{value:t,configurable:!0}),{flags:r,token:n,tokenKey:Pf(n)}})}function np(e,t,n){let r=n.renderParent;return r?0==(1&r.flags)||0==(33554432&r.flags)||r.element.componentRendererType&&(r.element.componentRendererType.encapsulation===P.ShadowDom||1===r.element.componentRendererType.encapsulation)?Ef(e,n.renderParent.nodeIndex).renderElement:void 0:t}const rp=new WeakMap;function ip(e){let t=rp.get(e);return t||(t=e(()=>Lf),t.factory=e,rp.set(e,t)),t}function sp(e,t,n,r,i){3===t&&(n=e.renderer.parentNode(Xf(e,e.def.lastRenderRootNode))),op(e,t,0,e.def.nodes.length-1,n,r,i)}function op(e,t,n,r,i,s,o){for(let a=n;a<=r;a++){const n=e.def.nodes[a];11&n.flags&&cp(e,n,t,i,s,o),a+=n.childCount}}function ap(e,t,n,r,i,s){let o=e;for(;o&&!Jf(o);)o=o.parent;const a=o.parent,c=Gf(o),l=c.nodeIndex+1,u=c.nodeIndex+c.childCount;for(let h=l;h<=u;h++){const e=a.def.nodes[h];e.ngContentIndex===t&&cp(a,e,n,r,i,s),h+=e.childCount}if(!a.parent){const o=e.root.projectableNodes[t];if(o)for(let t=0;t<o.length;t++)lp(e,o[t],n,r,i,s)}}function cp(e,t,n,r,i,s){if(8&t.flags)ap(e,t.ngContent.index,n,r,i,s);else{const o=Xf(e,t);if(3===n&&33554432&t.flags&&48&t.bindingFlags){if(16&t.bindingFlags&&lp(e,o,n,r,i,s),32&t.bindingFlags){lp(Ef(e,t.nodeIndex).componentView,o,n,r,i,s)}}else lp(e,o,n,r,i,s);if(16777216&t.flags){const o=Ef(e,t.nodeIndex).viewContainer._embeddedViews;for(let e=0;e<o.length;e++)sp(o[e],n,r,i,s)}1&t.flags&&!t.element.name&&op(e,n,t.nodeIndex+1,t.nodeIndex+t.childCount,r,i,s)}}function lp(e,t,n,r,i,s){const o=e.renderer;switch(n){case 1:o.appendChild(r,t);break;case 2:o.insertBefore(r,t,i);break;case 3:o.removeChild(r,t);break;case 0:s.push(t)}}const up=/^:([^:]+):(.+)$/;function hp(e){if(":"===e[0]){const t=e.match(up);return[t[1],t[2]]}return["",e]}function dp(e){let t=0;for(let n=0;n<e.length;n++)t|=e[n].flags;return t}function fp(e,t){let n="";for(let r=0;r<2*e;r+=2)n=n+t[r]+mp(t[r+1]);return n+t[2*e]}function pp(e,t,n,r,i,s,o,a,c,l,u,h,d,f,p,m,g,v,y,b){switch(e){case 1:return t+mp(n)+r;case 2:return t+mp(n)+r+mp(i)+s;case 3:return t+mp(n)+r+mp(i)+s+mp(o)+a;case 4:return t+mp(n)+r+mp(i)+s+mp(o)+a+mp(c)+l;case 5:return t+mp(n)+r+mp(i)+s+mp(o)+a+mp(c)+l+mp(u)+h;case 6:return t+mp(n)+r+mp(i)+s+mp(o)+a+mp(c)+l+mp(u)+h+mp(d)+f;case 7:return t+mp(n)+r+mp(i)+s+mp(o)+a+mp(c)+l+mp(u)+h+mp(d)+f+mp(p)+m;case 8:return t+mp(n)+r+mp(i)+s+mp(o)+a+mp(c)+l+mp(u)+h+mp(d)+f+mp(p)+m+mp(g)+v;case 9:return t+mp(n)+r+mp(i)+s+mp(o)+a+mp(c)+l+mp(u)+h+mp(d)+f+mp(p)+m+mp(g)+v+mp(y)+b;default:throw new Error("Does not support more than 9 expressions")}}function mp(e){return null!=e?e.toString():""}const gp=[],vp={},yp={},bp=Pf(ka),_p=Pf(la),wp=Pf(ff);function Sp(e,t,n,r){n=p(n);return{index:-1,deps:tp(r,u(t)),flags:e,token:t,value:n}}function xp(e){const t={},n=[];let r=null;for(let i=0;i<e.length;i++){const s=e[i];s.token===ha&&(r=s.value),1073741824&s.flags&&n.push(s.token),s.index=i,t[Pf(s.token)]=s}return{factory:null,providersByKey:t,providers:e,modules:n,scope:r}}function Op(e,t,n=ka.THROW_IF_NOT_FOUND){const r=Mr(e);try{if(8&t.flags)return t.token;if(2&t.flags&&(n=null),1&t.flags)return e._parent.get(t.token,n);const i=t.tokenKey;switch(i){case bp:case _p:case wp:return e}const s=e._def.providersByKey[i];let o;if(s){let t=e._providers[s.index];return void 0===t&&(t=e._providers[s.index]=kp(e,s)),t===yp?void 0:t}if((o=w(t.token))&&function(e,t){const n=t.providedIn;return null!=n&&("any"===n||n===e._def.scope||function(e,t){return e._def.modules.indexOf(t)>-1}(e,n))}(e,o)){const n=e._providers.length;return e._def.providers[n]=e._def.providersByKey[t.tokenKey]={flags:5120,value:o.factory,deps:[],index:n,token:t.token},e._providers[n]=yp,e._providers[n]=kp(e,e._def.providersByKey[t.tokenKey])}return 4&t.flags?n:e._parent.get(t.token,n)}finally{Mr(r)}}function kp(e,t){let n;switch(201347067&t.flags){case 512:n=function(e,t,n){const r=n.length;switch(r){case 0:return new t;case 1:return new t(Op(e,n[0]));case 2:return new t(Op(e,n[0]),Op(e,n[1]));case 3:return new t(Op(e,n[0]),Op(e,n[1]),Op(e,n[2]));default:const i=[];for(let t=0;t<r;t++)i[t]=Op(e,n[t]);return new t(...i)}}(e,t.value,t.deps);break;case 1024:n=function(e,t,n){const r=n.length;switch(r){case 0:return t();case 1:return t(Op(e,n[0]));case 2:return t(Op(e,n[0]),Op(e,n[1]));case 3:return t(Op(e,n[0]),Op(e,n[1]),Op(e,n[2]));default:const i=[];for(let t=0;t<r;t++)i[t]=Op(e,n[t]);return t(...i)}}(e,t.value,t.deps);break;case 2048:n=Op(e,t.deps[0]);break;case 256:n=t.value}return n===yp||null===n||"object"!=typeof n||131072&t.flags||"function"!=typeof n.ngOnDestroy||(t.flags|=131072),void 0===n?yp:n}function Cp(e,t,n,r){let i=t.viewContainer._embeddedViews;null==n&&(n=i.length),r.viewContainerParent=e,Gn(i,n,r),function(e,t){const n=$f(t);if(!n||n===e||16&t.state)return;t.state|=16;let r=n.template._projectedViews;r||(r=n.template._projectedViews=[]);r.push(t),function(e,t){if(4&t.flags)return;e.nodeFlags|=4,t.flags|=4;let n=t.parent;for(;n;)n.childFlags|=4,n=n.parent}(t.parent.def,t.parentNodeDef)}(t,r),Af.dirtyParentQueries(r);Ep(t,n>0?i[n-1]:null,r)}function Mp(e,t){const n=e.viewContainer._embeddedViews;if((null==t||t>=n.length)&&(t=n.length-1),t<0)return null;const r=n[t];return r.viewContainerParent=null,Xn(n,t),Af.dirtyParentQueries(r),Tp(r),r}function Ep(e,t,n){const r=t?Xf(t,t.def.lastRenderRootNode):e.renderElement,i=n.renderer.parentNode(r),s=n.renderer.nextSibling(r);sp(n,2,i,s,void 0)}function Tp(e){sp(e,3,null,null,void 0)}const jp={};function Dp(e,t,n,r,i,s){return new Ap(e,t,n,r,i,s)}class Ap extends xd{constructor(e,t,n,r,i,s){super(),this.selector=e,this.componentType=t,this._inputs=r,this._outputs=i,this.ngContentSelectors=s,this.viewDefFactory=n}get inputs(){const e=[],t=this._inputs;for(let n in t){const r=t[n];e.push({propName:n,templateName:r})}return e}get outputs(){const e=[];for(let t in this._outputs){const n=this._outputs[t];e.push({propName:t,templateName:n})}return e}create(e,t,n,r){if(!r)throw new Error("ngModule should be provided");const i=ip(this.viewDefFactory),s=i.nodes[0].element.componentProvider.nodeIndex,o=Af.createRootView(e,t||[],n,i,r,jp),a=Tf(o,s).instance;return n&&o.renderer.setAttribute(Ef(o,0).renderElement,"ng-version",Nd.full),new Lp(o,new Rp(o),a)}}class Lp extends Sd{constructor(e,t,n){super(),this._view=e,this._viewRef=t,this._component=n,this._elDef=this._view.def.nodes[0],this.hostView=t,this.changeDetectorRef=t,this.instance=n}get location(){return new Ad(Ef(this._view,this._elDef.nodeIndex).renderElement)}get injector(){return new Vp(this._view,this._elDef)}get componentType(){return this._component.constructor}destroy(){this._viewRef.destroy()}onDestroy(e){this._viewRef.onDestroy(e)}}function zp(e,t,n){return new Pp(e,t,n)}class Pp{constructor(e,t,n){this._view=e,this._elDef=t,this._data=n,this._embeddedViews=[]}get element(){return new Ad(this._data.renderElement)}get injector(){return new Vp(this._view,this._elDef)}get parentInjector(){let e=this._view,t=this._elDef.parent;for(;!t&&e;)t=Gf(e),e=e.parent;return e?new Vp(e,t):new Vp(this._view,null)}clear(){for(let e=this._embeddedViews.length-1;e>=0;e--){const t=Mp(this._data,e);Af.destroyView(t)}}get(e){const t=this._embeddedViews[e];if(t){const e=new Rp(t);return e.attachToViewContainerRef(this),e}return null}get length(){return this._embeddedViews.length}createEmbeddedView(e,t,n){const r=e.createEmbeddedView(t||{});return this.insert(r,n),r}createComponent(e,t,n,r,i){const s=n||this.parentInjector;i||e instanceof Ed||(i=s.get(ff));const o=e.create(s,r,void 0,i);return this.insert(o.hostView,t),o}insert(e,t){if(e.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");const n=e,r=n._view;return Cp(this._view,this._data,t,r),n.attachToViewContainerRef(this),e}move(e,t){if(e.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");const n=this._embeddedViews.indexOf(e._view);return function(e,t,n){const r=e.viewContainer._embeddedViews,i=r[t];Xn(r,t),null==n&&(n=r.length),Gn(r,n,i),Af.dirtyParentQueries(i),Tp(i),Ep(e,n>0?r[n-1]:null,i)}(this._data,n,t),e}indexOf(e){return this._embeddedViews.indexOf(e._view)}remove(e){const t=Mp(this._data,e);t&&Af.destroyView(t)}detach(e){const t=Mp(this._data,e);return t?new Rp(t):null}}function Ip(e){return new Rp(e)}class Rp{constructor(e){this._view=e,this._viewContainerRef=null,this._appRef=null}get rootNodes(){return function(e){const t=[];return sp(e,0,void 0,void 0,t),t}(this._view)}get context(){return this._view.context}get destroyed(){return 0!=(128&this._view.state)}markForCheck(){Uf(this._view)}detach(){this._view.state&=-5}detectChanges(){const e=this._view.root.rendererFactory;e.begin&&e.begin();try{Af.checkAndUpdateView(this._view)}finally{e.end&&e.end()}}checkNoChanges(){Af.checkNoChangesView(this._view)}reattach(){this._view.state|=4}onDestroy(e){this._view.disposables||(this._view.disposables=[]),this._view.disposables.push(e)}destroy(){this._appRef?this._appRef.detachView(this):this._viewContainerRef&&this._viewContainerRef.detach(this._viewContainerRef.indexOf(this)),Af.destroyView(this._view)}detachFromAppRef(){this._appRef=null,Tp(this._view),Af.dirtyParentQueries(this._view)}attachToAppRef(e){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=e}attachToViewContainerRef(e){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=e}}function Np(e,t){return new Hp(e,t)}class Hp extends lf{constructor(e,t){super(),this._parentView=e,this._def=t}createEmbeddedView(e){return new Rp(Af.createEmbeddedView(this._parentView,this._def,this._def.element.template,e))}get elementRef(){return new Ad(Ef(this._parentView,this._def.nodeIndex).renderElement)}}function Fp(e,t){return new Vp(e,t)}class Vp{constructor(e,t){this.view=e,this.elDef=t}get(e,t=ka.THROW_IF_NOT_FOUND){const n=!!this.elDef&&0!=(33554432&this.elDef.flags);return Af.resolveDep(this.view,this.elDef,n,{flags:0,token:e,tokenKey:Pf(e)},t)}}function Bp(e,t){const n=e.def.nodes[t];if(1&n.flags){const t=Ef(e,n.nodeIndex);return n.element.template?t.template:t.renderElement}if(2&n.flags)return Mf(e,n.nodeIndex).renderText;if(20240&n.flags)return Tf(e,n.nodeIndex).instance;throw new Error("Illegal state: read nodeValue for node index "+t)}function Yp(e,t,n,r){return new Up(e,t,n,r)}class Up{constructor(e,t,n,r){this._moduleType=e,this._parent=t,this._bootstrapComponents=n,this._def=r,this._destroyListeners=[],this._destroyed=!1,this.injector=this,function(e){const t=e._def,n=e._providers=Kn(t.providers.length);for(let r=0;r<t.providers.length;r++){const i=t.providers[r];4096&i.flags||void 0===n[r]&&(n[r]=kp(e,i))}}(this)}get(e,t=ka.THROW_IF_NOT_FOUND,n=E.Default){let r=0;return n&E.SkipSelf?r|=1:n&E.Self&&(r|=4),Op(this,{token:e,tokenKey:Pf(e),flags:r},t)}get instance(){return this.get(this._moduleType)}get componentFactoryResolver(){return this.get(Cd)}destroy(){if(this._destroyed)throw new Error(`The ng module ${u(this.instance.constructor)} has already been destroyed.`);this._destroyed=!0,function(e,t){const n=e._def,r=new Set;for(let i=0;i<n.providers.length;i++)if(131072&n.providers[i].flags){const t=e._providers[i];if(t&&t!==yp){const e=t.ngOnDestroy;"function"!=typeof e||r.has(t)||(e.apply(t),r.add(t))}}}(this),this._destroyListeners.forEach(e=>e())}onDestroy(e){this._destroyListeners.push(e)}}const Wp=Pf(zd),qp=Pf(Ad),$p=Pf(gf),Gp=Pf(lf),Xp=Pf(tf),Kp=Pf(ka),Jp=Pf(la);function Qp(e,t,n,r,i,s,o,a){const c=[];if(o)for(let u in o){const[e,t]=o[u];c[e]={flags:8,name:u,nonMinifiedName:t,ns:null,securityContext:null,suffix:null}}const l=[];if(a)for(let u in a)l.push({type:1,propName:u,target:null,eventName:a[u]});return tm(e,t|=16384,n,r,i,i,s,c,l)}function Zp(e,t,n){return tm(-1,e|=16,null,0,t,t,n)}function em(e,t,n,r,i){return tm(-1,e,t,0,n,r,i)}function tm(e,t,n,r,i,s,o,a,c){const{matchedQueries:l,references:h,matchedQueryIds:d}=ep(n);c||(c=[]),a||(a=[]),s=p(s);const f=tp(o,u(i));return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:e,flags:t,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:l,matchedQueryIds:d,references:h,ngContentIndex:-1,childCount:r,bindings:a,bindingFlags:dp(a),outputs:c,element:null,provider:{token:i,value:s,deps:f},text:null,query:null,ngContent:null}}function nm(e,t){return om(e,t)}function rm(e,t){let n=e;for(;n.parent&&!Jf(n);)n=n.parent;return am(n.parent,Gf(n),!0,t.provider.value,t.provider.deps)}function im(e,t){const n=(32768&t.flags)>0,r=am(e,t.parent,n,t.provider.value,t.provider.deps);if(t.outputs.length)for(let i=0;i<t.outputs.length;i++){const n=t.outputs[i],s=r[n.propName];if(!pl(s))throw new Error(`@Output ${n.propName} not initialized in '${r.constructor.name}'.`);{const r=s.subscribe(sm(e,t.parent.nodeIndex,n.eventName));e.disposables[t.outputIndex+i]=r.unsubscribe.bind(r)}}return r}function sm(e,t,n){return r=>qf(e,t,n,r)}function om(e,t){const n=(8192&t.flags)>0,r=t.provider;switch(201347067&t.flags){case 512:return am(e,t.parent,n,r.value,r.deps);case 1024:return function(e,t,n,r,i){const s=i.length;switch(s){case 0:return r();case 1:return r(lm(e,t,n,i[0]));case 2:return r(lm(e,t,n,i[0]),lm(e,t,n,i[1]));case 3:return r(lm(e,t,n,i[0]),lm(e,t,n,i[1]),lm(e,t,n,i[2]));default:const o=[];for(let r=0;r<s;r++)o.push(lm(e,t,n,i[r]));return r(...o)}}(e,t.parent,n,r.value,r.deps);case 2048:return lm(e,t.parent,n,r.deps[0]);case 256:return r.value}}function am(e,t,n,r,i){const s=i.length;switch(s){case 0:return new r;case 1:return new r(lm(e,t,n,i[0]));case 2:return new r(lm(e,t,n,i[0]),lm(e,t,n,i[1]));case 3:return new r(lm(e,t,n,i[0]),lm(e,t,n,i[1]),lm(e,t,n,i[2]));default:const o=[];for(let r=0;r<s;r++)o.push(lm(e,t,n,i[r]));return new r(...o)}}const cm={};function lm(e,t,n,r,i=ka.THROW_IF_NOT_FOUND){if(8&r.flags)return r.token;const s=e;2&r.flags&&(i=null);const o=r.tokenKey;o===Xp&&(n=!(!t||!t.element.componentView)),t&&1&r.flags&&(n=!1,t=t.parent);let a=e;for(;a;){if(t)switch(o){case Wp:return um(a,t,n).renderer;case qp:return new Ad(Ef(a,t.nodeIndex).renderElement);case $p:return Ef(a,t.nodeIndex).viewContainer;case Gp:if(t.element.template)return Ef(a,t.nodeIndex).template;break;case Xp:return Ip(um(a,t,n));case Kp:case Jp:return Fp(a,t);default:const e=(n?t.element.allProviders:t.element.publicProviders)[o];if(e){let t=Tf(a,e.nodeIndex);return t||(t={instance:om(a,e)},a.nodes[e.nodeIndex]=t),t.instance}}n=Jf(a),t=Gf(a),a=a.parent,4&r.flags&&(a=null)}const c=s.root.injector.get(r.token,cm);return c!==cm||i===cm?c:s.root.ngModule.injector.get(r.token,i)}function um(e,t,n){let r;if(n)r=Ef(e,t.nodeIndex).componentView;else for(r=e;r.parent&&!Jf(r);)r=r.parent;return r}function hm(e,t,n,r,i,s){if(32768&n.flags){const t=Ef(e,n.parent.nodeIndex).componentView;2&t.def.flags&&(t.state|=8)}const o=n.bindings[r].name;if(t.instance[o]=i,524288&n.flags){s=s||{};const t=Ka.unwrap(e.oldValues[n.bindingIndex+r]);s[n.bindings[r].nonMinifiedName]=new Ce(t,i,0!=(2&e.state))}return e.oldValues[n.bindingIndex+r]=i,s}function dm(e,t){if(!(e.def.nodeFlags&t))return;const n=e.def.nodes;let r=0;for(let i=0;i<n.length;i++){const s=n[i];let o=s.parent;for(!o&&s.flags&t&&pm(e,i,s.flags&t,r++),0==(s.childFlags&t)&&(i+=s.childCount);o&&1&o.flags&&i===o.nodeIndex+o.childCount;)o.directChildFlags&t&&(r=fm(e,o,t,r)),o=o.parent}}function fm(e,t,n,r){for(let i=t.nodeIndex+1;i<=t.nodeIndex+t.childCount;i++){const t=e.def.nodes[i];t.flags&n&&pm(e,i,t.flags&n,r++),i+=t.childCount}return r}function pm(e,t,n,r){const i=Tf(e,t);if(!i)return;const s=i.instance;s&&(Af.setCurrentNode(e,t),1048576&n&&Cf(e,512,r)&&s.ngAfterContentInit(),2097152&n&&s.ngAfterContentChecked(),4194304&n&&Cf(e,768,r)&&s.ngAfterViewInit(),8388608&n&&s.ngAfterViewChecked(),131072&n&&s.ngOnDestroy())}class mm extends Cd{constructor(e){super(),this.ngModule=e}resolveComponentFactory(e){const t=ae(e);return new ym(t,this.ngModule)}}function gm(e){const t=[];for(let n in e)if(e.hasOwnProperty(n)){const r=e[n];t.push({propName:r,templateName:n})}return t}const vm=new Ln("SCHEDULER_TOKEN",{providedIn:"root",factory:()=>ts});class ym extends xd{constructor(e,t){super(),this.componentDef=e,this.ngModule=t,this.componentType=e.type,this.selector=e.selectors.map(to).join(","),this.ngContentSelectors=e.ngContentSelectors?e.ngContentSelectors:[],this.isBoundToModule=!!t}get inputs(){return gm(this.componentDef.inputs)}get outputs(){return gm(this.componentDef.outputs)}create(e,t,n,r){const i=(r=r||this.ngModule)?function(e,t){return{get:(n,r,i)=>{const s=e.get(n,cm,i);return s!==cm||r===cm?s:t.get(n,r,i)}}}(e,r.injector):e,s=i.get(Ld,He),o=i.get(Id,null),a=s.createRenderer(null,this.componentDef),c=this.componentDef.selectors[0][0]||"div",l=n?To(a,n,this.componentDef.encapsulation):ys(s.createRenderer(null,this.componentDef),c,function(e){const t=e.toLowerCase();return"svg"===t?Ae:"math"===t?Le:null}(c)),u=this.componentDef.onPush?576:528,h=Ia(),d=Eo(0,null,null,1,0,null,null,null,null,null),f=go(null,d,h,u,null,null,s,a,o,i);let p,m;Mt(f);try{const e=za(l,this.componentDef,f,s,a);if(l)if(n)Gt(a,l,["ng-version",Nd.full]);else{const{attrs:e,classes:t}=function(e){const t=[],n=[];let r=1,i=2;for(;r<e.length;){let s=e[r];if("string"==typeof s)2===i?""!==s&&t.push(s,e[++r]):8===i&&n.push(s);else{if(!Ks(i))break;i=s}r++}return{attrs:t,classes:n}}(this.componentDef.selectors[0]);e&&Gt(a,l,e),t&&t.length>0&&Ys(a,l,t.join(" "))}if(m=Ye(d,he),void 0!==t){const e=m.projection=[];for(let n=0;n<this.ngContentSelectors.length;n++){const r=t[n];e.push(null!=r?Array.from(r):null)}}p=Pa(e,this.componentDef,f,h,[Ra]),_o(d,f,null)}finally{At()}return new bm(this.componentType,p,jd(m,f),f,m)}}new mm;class bm extends Sd{constructor(e,t,n,r,i){super(),this.location=n,this._rootLView=r,this._tNode=i,this.instance=t,this.hostView=this.changeDetectorRef=new Zd(r),this.componentType=e}get injector(){return new wn(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(e){this.hostView.onDestroy(e)}}function _m(e,t,n,r){return A(()=>{const i=e;null!==t&&(i.hasOwnProperty("decorators")&&void 0!==i.decorators?i.decorators.push(...t):i.decorators=t),null!==n&&(i.ctorParameters=n),null!==r&&(i.hasOwnProperty("propDecorators")&&void 0!==i.propDecorators?i.propDecorators=Object.assign(Object.assign({},i.propDecorators),r):i.propDecorators=r)})}const wm=new Map;function Sm(e,t){const n=wm.get(e);xm(e,n&&n.moduleType,t.moduleType),wm.set(e,t)}function xm(e,t,n){if(t&&t!==n)throw new Error(`Duplicate module registered for ${e} - ${u(t)} vs ${u(t.name)}`)}class Om extends ff{constructor(e,t){super(),this._parent=t,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new mm(this);const n=ue(e),r=e[$]||null;r&&hh(r),this._bootstrapComponents=os(n.bootstrap),this._r3Injector=va(e,t,[{provide:ff,useValue:this},{provide:Cd,useValue:this.componentFactoryResolver}],u(e)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(e)}get(e,t=ka.THROW_IF_NOT_FOUND,n=E.Default){return e===ka||e===ff||e===la?this:this._r3Injector.get(e,t,n)}destroy(){const e=this._r3Injector;!e.destroyed&&e.destroy(),this.destroyCbs.forEach(e=>e()),this.destroyCbs=null}onDestroy(e){this.destroyCbs.push(e)}}class km extends pf{constructor(e){super(),this.moduleType=e;null!==ue(e)&&function(e){const t=new Set;!function e(n){const r=ue(n,!0),i=r.id;if(null!==i){xm(i,wm.get(i),n),wm.set(i,n)}const s=os(r.imports);for(const o of s)t.has(o)||(t.add(o),e(o))}(e)}(e)}create(e){return new Om(this.moduleType,e)}}function Cm(e,t,n){const r=pt()+e,i=rt();return i[r]===no?Za(i,r,n?t.call(n):t()):ec(i,r)}function Mm(e,t,n,r){return Rm(rt(),pt(),e,t,n,r)}function Em(e,t,n,r,i){return Nm(rt(),pt(),e,t,n,r,i)}function Tm(e,t,n,r,i,s){return Hm(rt(),pt(),e,t,n,r,i,s)}function jm(e,t,n,r,i,s,o){return Fm(rt(),pt(),e,t,n,r,i,s,o)}function Dm(e,t,n,r,i,s,o,a){const c=pt()+e,l=rt(),u=ic(l,c,n,r,i,s);return tc(l,c+4,o)||u?Za(l,c+5,a?t.call(a,n,r,i,s,o):t(n,r,i,s,o)):ec(l,c+5)}function Am(e,t,n,r,i,s,o,a,c){const l=pt()+e,u=rt(),h=ic(u,l,n,r,i,s);return nc(u,l+4,o,a)||h?Za(u,l+6,c?t.call(c,n,r,i,s,o,a):t(n,r,i,s,o,a)):ec(u,l+6)}function Lm(e,t,n,r,i,s,o,a,c,l){const u=pt()+e,h=rt();let d=ic(h,u,n,r,i,s);return rc(h,u+4,o,a,c)||d?Za(h,u+7,l?t.call(l,n,r,i,s,o,a,c):t(n,r,i,s,o,a,c)):ec(h,u+7)}function zm(e,t,n,r,i,s,o,a,c,l,u){const h=pt()+e,d=rt(),f=ic(d,h,n,r,i,s);return ic(d,h+4,o,a,c,l)||f?Za(d,h+8,u?t.call(u,n,r,i,s,o,a,c,l):t(n,r,i,s,o,a,c,l)):ec(d,h+8)}function Pm(e,t,n,r){return Vm(rt(),pt(),e,t,n,r)}function Im(e,t){const n=e[t];return n===no?void 0:n}function Rm(e,t,n,r,i,s){const o=t+n;return tc(e,o,i)?Za(e,o+1,s?r.call(s,i):r(i)):Im(e,o+1)}function Nm(e,t,n,r,i,s,o){const a=t+n;return nc(e,a,i,s)?Za(e,a+2,o?r.call(o,i,s):r(i,s)):Im(e,a+2)}function Hm(e,t,n,r,i,s,o,a){const c=t+n;return rc(e,c,i,s,o)?Za(e,c+3,a?r.call(a,i,s,o):r(i,s,o)):Im(e,c+3)}function Fm(e,t,n,r,i,s,o,a,c){const l=t+n;return ic(e,l,i,s,o,a)?Za(e,l+4,c?r.call(c,i,s,o,a):r(i,s,o,a)):Im(e,l+4)}function Vm(e,t,n,r,i,s){let o=t+n,a=!1;for(let c=0;c<i.length;c++)tc(e,o++,i[c])&&(a=!0);return a?Za(e,o,r.apply(s,i)):Im(e,o)}function Bm(e,t){const n=it();let r;const i=e+he;n.firstCreatePass?(r=function(e,t){if(t)for(let n=t.length-1;n>=0;n--){const r=t[n];if(e===r.name)return r}throw new _e("302",`The pipe '${e}' could not be found!`)}(t,n.pipeRegistry),n.data[i]=r,r.onDestroy&&(n.destroyHooks||(n.destroyHooks=[])).push(i,r.onDestroy)):r=n.data[i];const s=r.factory||(r.factory=be(r.type)),o=j(tl);try{const e=rn(!1),t=s();return rn(e),function(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}(n,rt(),i,t),t}finally{j(o)}}function Ym(e,t,n){const r=e+he,i=rt(),s=Ue(i,r);return Xm(i,Gm(i,r)?Rm(i,pt(),t,s.transform,n,s):s.transform(n))}function Um(e,t,n,r){const i=e+he,s=rt(),o=Ue(s,i);return Xm(s,Gm(s,i)?Nm(s,pt(),t,o.transform,n,r,o):o.transform(n,r))}function Wm(e,t,n,r,i){const s=e+he,o=rt(),a=Ue(o,s);return Xm(o,Gm(o,s)?Hm(o,pt(),t,a.transform,n,r,i,a):a.transform(n,r,i))}function qm(e,t,n,r,i,s){const o=e+he,a=rt(),c=Ue(a,o);return Xm(a,Gm(a,o)?Fm(a,pt(),t,c.transform,n,r,i,s,c):c.transform(n,r,i,s))}function $m(e,t,n){const r=e+he,i=rt(),s=Ue(i,r);return Xm(i,Gm(i,r)?Vm(i,pt(),t,s.transform,n,s):s.transform.apply(s,n))}function Gm(e,t){return e[1].data[t].pure}function Xm(e,t){if(Ka.isWrapped(t)){t=Ka.unwrap(t);e[mt()]=no}return t}class Km extends r.a{constructor(e=!1){super(),this.__isAsync=e}emit(e){super.next(e)}subscribe(e,t,n){let r,s=e=>null,o=()=>null;e&&"object"==typeof e?(r=this.__isAsync?t=>{setTimeout(()=>e.next(t))}:t=>{e.next(t)},e.error&&(s=this.__isAsync?t=>{setTimeout(()=>e.error(t))}:t=>{e.error(t)}),e.complete&&(o=this.__isAsync?()=>{setTimeout(()=>e.complete())}:()=>{e.complete()})):(r=this.__isAsync?t=>{setTimeout(()=>e(t))}:t=>{e(t)},t&&(s=this.__isAsync?e=>{setTimeout(()=>t(e))}:e=>{t(e)}),n&&(o=this.__isAsync?()=>{setTimeout(()=>n())}:()=>{n()}));const a=super.subscribe(r,s,o);return e instanceof i.a&&e.add(a),a}}const Jm=Km;function Qm(){return this._results[Ga()]()}class Zm{constructor(){this.dirty=!0,this._results=[],this.changes=new Jm,this.length=0;const e=Ga(),t=Zm.prototype;t[e]||(t[e]=Qm)}map(e){return this._results.map(e)}filter(e){return this._results.filter(e)}find(e){return this._results.find(e)}reduce(e,t){return this._results.reduce(e,t)}forEach(e){this._results.forEach(e)}some(e){return this._results.some(e)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(e){this._results=qn(e),this.dirty=!1,this.length=this._results.length,this.last=this._results[this.length-1],this.first=this._results[0]}notifyOnChanges(){this.changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}class eg{constructor(e){this.queryList=e,this.matches=null}clone(){return new eg(this.queryList)}setDirty(){this.queryList.setDirty()}}class tg{constructor(e=[]){this.queries=e}createEmbeddedView(e){const t=e.queries;if(null!==t){const n=null!==e.contentQueries?e.contentQueries[0]:t.length,r=[];for(let e=0;e<n;e++){const n=t.getByIndex(e),i=this.queries[n.indexInDeclarationView];r.push(i.clone())}return new tg(r)}return null}insertView(e){this.dirtyQueriesWithMatches(e)}detachView(e){this.dirtyQueriesWithMatches(e)}dirtyQueriesWithMatches(e){for(let t=0;t<this.queries.length;t++)null!==bg(e,t).matches&&this.queries[t].setDirty()}}class ng{constructor(e,t,n,r=null){this.predicate=e,this.descendants=t,this.isStatic=n,this.read=r}}class rg{constructor(e=[]){this.queries=e}elementStart(e,t){for(let n=0;n<this.queries.length;n++)this.queries[n].elementStart(e,t)}elementEnd(e){for(let t=0;t<this.queries.length;t++)this.queries[t].elementEnd(e)}embeddedTView(e){let t=null;for(let n=0;n<this.length;n++){const r=null!==t?t.length:0,i=this.getByIndex(n).embeddedTView(e,r);i&&(i.indexInDeclarationView=n,null!==t?t.push(i):t=[i])}return null!==t?new rg(t):null}template(e,t){for(let n=0;n<this.queries.length;n++)this.queries[n].template(e,t)}getByIndex(e){return this.queries[e]}get length(){return this.queries.length}track(e){this.queries.push(e)}}class ig{constructor(e,t=-1){this.metadata=e,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=t}elementStart(e,t){this.isApplyingToNode(t)&&this.matchTNode(e,t)}elementEnd(e){this._declarationNodeIndex===e.index&&(this._appliesToNextNode=!1)}template(e,t){this.elementStart(e,t)}embeddedTView(e,t){return this.isApplyingToNode(e)?(this.crossesNgTemplate=!0,this.addMatch(-e.index,t),new ig(this.metadata)):null}isApplyingToNode(e){if(this._appliesToNextNode&&!1===this.metadata.descendants){const t=this._declarationNodeIndex;let n=e.parent;for(;null!==n&&8&n.type&&n.index!==t;)n=n.parent;return t===(null!==n?n.index:-1)}return this._appliesToNextNode}matchTNode(e,t){const n=this.metadata.predicate;if(Array.isArray(n))for(let r=0;r<n.length;r++){const i=n[r];this.matchTNodeWithReadOption(e,t,sg(t,i)),this.matchTNodeWithReadOption(e,t,vn(t,e,i,!1,!1))}else n===lf?4&t.type&&this.matchTNodeWithReadOption(e,t,-1):this.matchTNodeWithReadOption(e,t,vn(t,e,n,!1,!1))}matchTNodeWithReadOption(e,t,n){if(null!==n){const r=this.metadata.read;if(null!==r)if(r===Ad||r===gf||r===lf&&4&t.type)this.addMatch(t.index,-2);else{const n=vn(t,e,r,!1,!1);null!==n&&this.addMatch(t.index,n)}else this.addMatch(t.index,n)}}addMatch(e,t){null===this.matches?this.matches=[e,t]:this.matches.push(e,t)}}function sg(e,t){const n=e.localNames;if(null!==n)for(let r=0;r<n.length;r+=2)if(n[r]===t)return n[r+1];return null}function og(e,t,n,r){return-1===n?function(e,t){return 11&e.type?jd(e,t):4&e.type?df(e,t):null}(t,e):-2===n?function(e,t,n){if(n===Ad)return jd(t,e);if(n===lf)return df(t,e);if(n===gf)return wf(t,e)}(e,t,r):yn(e,e[1],n,t)}function ag(e,t,n,r){const i=t[19].queries[r];if(null===i.matches){const r=e.data,s=n.matches,o=[];for(let e=0;e<s.length;e+=2){const i=s[e];if(i<0)o.push(null);else{const a=r[i];o.push(og(t,a,s[e+1],n.metadata.read))}}i.matches=o}return i.matches}function cg(e,t,n,r){const i=e.queries.getByIndex(n),s=i.matches;if(null!==s){const o=ag(e,t,i,n);for(let e=0;e<s.length;e+=2){const n=s[e];if(n>0)r.push(o[e/2]);else{const i=s[e+1],o=t[-n];for(let e=de;e<o.length;e++){const t=o[e];t[17]===t[3]&&cg(t[1],t,i,r)}if(null!==o[9]){const e=o[9];for(let t=0;t<e.length;t++){const n=e[t];cg(n[1],n,i,r)}}}}}return r}function lg(e){const t=rt(),n=it(),r=xt();Ot(r+1);const i=bg(n,r);if(e.dirty&&Ge(t)===i.metadata.isStatic){if(null===i.matches)e.reset([]);else{const s=i.crossesNgTemplate?cg(n,t,r,[]):ag(n,t,i,r);e.reset(s),e.notifyOnChanges()}return!0}return!1}function ug(e,t,n){dg(it(),rt(),e,t,n,!0)}function hg(e,t,n){dg(it(),rt(),e,t,n,!1)}function dg(e,t,n,r,i,s){e.firstCreatePass&&(yg(e,new ng(n,r,s,i),-1),s&&(e.staticViewQueries=!0)),vg(e,t)}function fg(e,t,n,r){mg(it(),rt(),t,n,r,!1,ot(),e)}function pg(e,t,n,r){mg(it(),rt(),t,n,r,!0,ot(),e)}function mg(e,t,n,r,i,s,o,a){e.firstCreatePass&&(yg(e,new ng(n,r,s,i),o.index),function(e,t){const n=e.contentQueries||(e.contentQueries=[]),r=n.length?n[n.length-1]:-1;t!==r&&n.push(e.queries.length-1,t)}(e,a),s&&(e.staticContentQueries=!0)),vg(e,t)}function gg(){return e=rt(),t=xt(),e[19].queries[t].queryList;var e,t}function vg(e,t){const n=new Zm;jo(e,t,n,n.destroy),null===t[19]&&(t[19]=new tg),t[19].queries.push(new eg(n))}function yg(e,t,n){null===e.queries&&(e.queries=new rg),e.queries.track(new ig(t,n))}function bg(e,t){return e.queries.getByIndex(t)}function _g(e,t){return df(e,t)}function wg(e=E.Default){const t=nf(!0);if(null!=t||e&E.Optional)return t;ke("ChangeDetectorRef")}const Sg={"\u0275\u0275attribute":sc,"\u0275\u0275attributeInterpolate1":mc,"\u0275\u0275attributeInterpolate2":gc,"\u0275\u0275attributeInterpolate3":vc,"\u0275\u0275attributeInterpolate4":yc,"\u0275\u0275attributeInterpolate5":bc,"\u0275\u0275attributeInterpolate6":_c,"\u0275\u0275attributeInterpolate7":wc,"\u0275\u0275attributeInterpolate8":Sc,"\u0275\u0275attributeInterpolateV":xc,"\u0275\u0275defineComponent":J,"\u0275\u0275defineDirective":se,"\u0275\u0275defineInjectable":b,"\u0275\u0275defineInjector":_,"\u0275\u0275defineNgModule":ne,"\u0275\u0275definePipe":oe,"\u0275\u0275directiveInject":tl,"\u0275\u0275getFactoryOf":Sn,"\u0275\u0275getInheritedFactory":xn,"\u0275\u0275inject":Tr,"\u0275\u0275injectAttribute":On,"\u0275\u0275invalidFactory":nl,"\u0275\u0275invalidFactoryDep":jr,"\u0275\u0275injectPipeChangeDetectorRef":wg,"\u0275\u0275templateRefExtractor":_g,"\u0275\u0275NgOnChangesFeature":Me,"\u0275\u0275ProvidersFeature":wd,"\u0275\u0275CopyDefinitionFeature":qa,"\u0275\u0275InheritDefinitionFeature":Ha,"\u0275\u0275nextContext":_l,"\u0275\u0275namespaceHTML":Ht,"\u0275\u0275namespaceMathML":Nt,"\u0275\u0275namespaceSVG":Rt,"\u0275\u0275enableBindings":tt,"\u0275\u0275disableBindings":nt,"\u0275\u0275elementStart":ol,"\u0275\u0275elementEnd":al,"\u0275\u0275element":cl,"\u0275\u0275elementContainerStart":ll,"\u0275\u0275elementContainerEnd":ul,"\u0275\u0275elementContainer":hl,"\u0275\u0275pureFunction0":Cm,"\u0275\u0275pureFunction1":Mm,"\u0275\u0275pureFunction2":Em,"\u0275\u0275pureFunction3":Tm,"\u0275\u0275pureFunction4":jm,"\u0275\u0275pureFunction5":Dm,"\u0275\u0275pureFunction6":Am,"\u0275\u0275pureFunction7":Lm,"\u0275\u0275pureFunction8":zm,"\u0275\u0275pureFunctionV":Pm,"\u0275\u0275getCurrentView":dl,"\u0275\u0275restoreView":st,"\u0275\u0275listener":ml,"\u0275\u0275projection":xl,"\u0275\u0275syntheticHostProperty":Xu,"\u0275\u0275syntheticHostListener":gl,"\u0275\u0275pipeBind1":Ym,"\u0275\u0275pipeBind2":Um,"\u0275\u0275pipeBind3":Wm,"\u0275\u0275pipeBind4":qm,"\u0275\u0275pipeBindV":$m,"\u0275\u0275projectionDef":Sl,"\u0275\u0275hostProperty":Gu,"\u0275\u0275property":rl,"\u0275\u0275propertyInterpolate":Ol,"\u0275\u0275propertyInterpolate1":kl,"\u0275\u0275propertyInterpolate2":Cl,"\u0275\u0275propertyInterpolate3":Ml,"\u0275\u0275propertyInterpolate4":El,"\u0275\u0275propertyInterpolate5":Tl,"\u0275\u0275propertyInterpolate6":jl,"\u0275\u0275propertyInterpolate7":Dl,"\u0275\u0275propertyInterpolate8":Al,"\u0275\u0275propertyInterpolateV":Ll,"\u0275\u0275pipe":Bm,"\u0275\u0275queryRefresh":lg,"\u0275\u0275viewQuery":hg,"\u0275\u0275staticViewQuery":ug,"\u0275\u0275staticContentQuery":pg,"\u0275\u0275loadQuery":gg,"\u0275\u0275contentQuery":fg,"\u0275\u0275reference":kc,"\u0275\u0275classMap":Jl,"\u0275\u0275classMapInterpolate1":wu,"\u0275\u0275classMapInterpolate2":Su,"\u0275\u0275classMapInterpolate3":xu,"\u0275\u0275classMapInterpolate4":Ou,"\u0275\u0275classMapInterpolate5":ku,"\u0275\u0275classMapInterpolate6":Cu,"\u0275\u0275classMapInterpolate7":Mu,"\u0275\u0275classMapInterpolate8":Eu,"\u0275\u0275classMapInterpolateV":Tu,"\u0275\u0275styleMap":Xl,"\u0275\u0275styleMapInterpolate1":ju,"\u0275\u0275styleMapInterpolate2":Du,"\u0275\u0275styleMapInterpolate3":Au,"\u0275\u0275styleMapInterpolate4":Lu,"\u0275\u0275styleMapInterpolate5":zu,"\u0275\u0275styleMapInterpolate6":Pu,"\u0275\u0275styleMapInterpolate7":Iu,"\u0275\u0275styleMapInterpolate8":Ru,"\u0275\u0275styleMapInterpolateV":Nu,"\u0275\u0275styleProp":$l,"\u0275\u0275stylePropInterpolate1":Hu,"\u0275\u0275stylePropInterpolate2":Fu,"\u0275\u0275stylePropInterpolate3":Vu,"\u0275\u0275stylePropInterpolate4":Bu,"\u0275\u0275stylePropInterpolate5":Yu,"\u0275\u0275stylePropInterpolate6":Uu,"\u0275\u0275stylePropInterpolate7":Wu,"\u0275\u0275stylePropInterpolate8":qu,"\u0275\u0275stylePropInterpolateV":$u,"\u0275\u0275classProp":Gl,"\u0275\u0275advance":ro,"\u0275\u0275template":Oc,"\u0275\u0275text":uu,"\u0275\u0275textInterpolate":hu,"\u0275\u0275textInterpolate1":du,"\u0275\u0275textInterpolate2":fu,"\u0275\u0275textInterpolate3":pu,"\u0275\u0275textInterpolate4":mu,"\u0275\u0275textInterpolate5":gu,"\u0275\u0275textInterpolate6":vu,"\u0275\u0275textInterpolate7":yu,"\u0275\u0275textInterpolate8":bu,"\u0275\u0275textInterpolateV":_u,"\u0275\u0275i18n":ld,"\u0275\u0275i18nAttributes":ud,"\u0275\u0275i18nExp":hd,"\u0275\u0275i18nStart":ad,"\u0275\u0275i18nEnd":cd,"\u0275\u0275i18nApply":dd,"\u0275\u0275i18nPostprocess":fd,"\u0275\u0275resolveWindow":ns,"\u0275\u0275resolveDocument":rs,"\u0275\u0275resolveBody":is,"\u0275\u0275setComponentScope":Q,"\u0275\u0275setNgModuleScope":re,"\u0275\u0275sanitizeHtml":Ti,"\u0275\u0275sanitizeStyle":ji,"\u0275\u0275sanitizeResourceUrl":Ai,"\u0275\u0275sanitizeScript":Li,"\u0275\u0275sanitizeUrl":Di,"\u0275\u0275sanitizeUrlOrResourceUrl":Ri,"\u0275\u0275trustConstantHtml":zi,"\u0275\u0275trustConstantScript":Pi,"\u0275\u0275trustConstantResourceUrl":Ii};let xg=null;const Og=[],kg=[];let Cg=!1;function Mg(e){return Array.isArray(e)?e.every(Mg):!!p(e)}new Map,new Map;function Eg(e,t){const n=qn(t.declarations||Og),r=jg(e);n.forEach(t=>{if(t.hasOwnProperty(Y)){Tg(ae(t),r)}else t.hasOwnProperty(U)||t.hasOwnProperty(W)||(t.ngSelectorScope=e)})}function Tg(e,t){e.directiveDefs=()=>Array.from(t.compilation.directives).map(e=>e.hasOwnProperty(Y)?ae(e):ce(e)).filter(e=>!!e),e.pipeDefs=()=>Array.from(t.compilation.pipes).map(e=>le(e)),e.schemas=t.schemas,e.tView=null}function jg(e){if(!Ag(e))throw new Error(e.name+" does not have a module def (\u0275mod property)");const t=ue(e);if(null!==t.transitiveCompileScopes)return t.transitiveCompileScopes;const n={schemas:t.schemas||null,compilation:{directives:new Set,pipes:new Set},exported:{directives:new Set,pipes:new Set}};return os(t.imports).forEach(e=>{const t=e;if(!Ag(t))throw new Error(`Importing ${t.name} which does not have a \u0275mod property`);const r=jg(t);r.exported.directives.forEach(e=>n.compilation.directives.add(e)),r.exported.pipes.forEach(e=>n.compilation.pipes.add(e))}),os(t.declarations).forEach(e=>{le(e)?n.compilation.pipes.add(e):n.compilation.directives.add(e)}),os(t.exports).forEach(e=>{const t=e;if(Ag(t)){const e=jg(t);e.exported.directives.forEach(e=>{n.compilation.directives.add(e),n.exported.directives.add(e)}),e.exported.pipes.forEach(e=>{n.compilation.pipes.add(e),n.exported.pipes.add(e)})}else le(t)?n.exported.pipes.add(t):n.exported.directives.add(t)}),t.transitiveCompileScopes=n,n}function Dg(e){return function(e){return void 0!==e.ngModule}(e)?e.ngModule:e}function Ag(e){return!!ue(e)}let Lg=0;function zg(e,t){let n=null;Ig(e,t||{}),Object.defineProperty(e,U,{get:()=>{if(null===n){const r=Pg(e,t||{});n=Yn().compileDirective(Sg,r.sourceMapUrl,r.metadata)}return n},configurable:!1})}function Pg(e,t){const n=e&&e.name,r=`ng:///${n}/\u0275dir.js`,i=Yn(),s=Ng(e,t);return s.typeSourceSpan=i.createParseSourceSpan("Directive",n,r),s.usesInheritance&&Hg(e),{metadata:s,sourceMapUrl:r}}function Ig(e,t){let n=null;Object.defineProperty(e,G,{get:()=>{if(null===n){const r=Pg(e,t),i=Yn();n=i.compileFactory(Sg,`ng:///${e.name}/\u0275fac.js`,Object.assign(Object.assign({},r.metadata),{injectFn:"directiveInject",target:i.R3FactoryTarget.Directive}))}return n},configurable:!1})}function Rg(e){return Object.getPrototypeOf(e.prototype)===Object.prototype}function Ng(e,t){const n=pr(),r=n.ownPropMetadata(e);return{name:e.name,type:e,typeArgumentCount:0,selector:void 0!==t.selector?t.selector:null,deps:mr(e),host:t.host||V,propMetadata:r,inputs:t.inputs||B,outputs:t.outputs||B,queries:Vg(e,r,Bg),lifecycle:{usesOnChanges:n.hasLifecycleHook(e,"ngOnChanges")},typeSourceSpan:null,usesInheritance:!Rg(e),exportAs:(i=t.exportAs,void 0===i?null:Wg(i)),providers:t.providers||null,viewQueries:Vg(e,r,Yg)};var i}function Hg(e){const t=Object.prototype;let n=Object.getPrototypeOf(e.prototype).constructor;for(;n&&n!==t;)ce(n)||ae(n)||!$g(n)||zg(n,null),n=Object.getPrototypeOf(n)}function Fg(e,t){return{propertyName:e,predicate:(n=t.selector,"string"==typeof n?Wg(n):p(n)),descendants:t.descendants,first:t.first,read:t.read?t.read:null,static:!!t.static};var n}function Vg(e,t,n){const r=[];for(const i in t)if(t.hasOwnProperty(i)){const s=t[i];s.forEach(t=>{if(n(t)){if(!t.selector)throw new Error(`Can't construct a query for the property "${i}" of "${xe(e)}" since the query selector wasn't defined.`);if(s.some(Ug))throw new Error("Cannot combine @Input decorators with query decorators");r.push(Fg(i,t))}})}return r}function Bg(e){const t=e.ngMetadataName;return"ContentChild"===t||"ContentChildren"===t}function Yg(e){const t=e.ngMetadataName;return"ViewChild"===t||"ViewChildren"===t}function Ug(e){return"Input"===e.ngMetadataName}function Wg(e){return e.split(",").map(e=>e.trim())}const qg=["ngOnChanges","ngOnInit","ngOnDestroy","ngDoCheck","ngAfterViewInit","ngAfterViewChecked","ngAfterContentInit","ngAfterContentChecked"];function $g(e){const t=pr();if(qg.some(n=>t.hasLifecycleHook(e,n)))return!0;const n=t.propMetadata(e);for(const r in n){const e=n[r];for(let t=0;t<e.length;t++){const n=e[t],r=n.ngMetadataName;if(Ug(n)||Bg(n)||Yg(n)||"Output"===r||"HostBinding"===r||"HostListener"===r)return!0}}return!1}function Gg(e,t){return{type:e,typeArgumentCount:0,name:e.name,deps:mr(e),pipeName:t.name,pure:void 0===t.pure||t.pure}}const Xg=En("Directive",(e={})=>e,void 0,void 0,(e,t)=>rv(e,t)),Kg=En("Component",(e={})=>Object.assign({changeDetection:L.Default},e),Xg,void 0,(e,t)=>nv(e,t)),Jg=En("Pipe",e=>Object.assign({pure:!0},e),void 0,void 0,(e,t)=>iv(e,t)),Qg=Dn("Input",e=>({bindingPropertyName:e})),Zg=Dn("Output",e=>({bindingPropertyName:e})),ev=Dn("HostBinding",e=>({hostPropertyName:e})),tv=Dn("HostListener",(e,t)=>({eventName:e,args:t})),nv=function(e,t){let n=null;!function(e,t){_r(t)&&(yr.set(e,t),br.add(e))}(e,t),Ig(e,t),Object.defineProperty(e,Y,{get:()=>{if(null===n){const r=Yn();if(_r(t)){const n=[`Component '${e.name}' is not resolved:`];throw t.templateUrl&&n.push(" - templateUrl: "+t.templateUrl),t.styleUrls&&t.styleUrls.length&&n.push(" - styleUrls: "+JSON.stringify(t.styleUrls)),n.push("Did you run and wait for 'resolveComponentResources()'?"),new Error(n.join("\n"))}const i=xg;let s=t.preserveWhitespaces;void 0===s&&(s=null!==i&&void 0!==i.preserveWhitespaces&&i.preserveWhitespaces);let o=t.encapsulation;void 0===o&&(o=null!==i&&void 0!==i.defaultEncapsulation?i.defaultEncapsulation:P.Emulated);const a=t.templateUrl||`ng:///${e.name}/template.html`,c=Object.assign(Object.assign({},Ng(e,t)),{typeSourceSpan:r.createParseSourceSpan("Component",e.name,a),template:t.template||"",preserveWhitespaces:s,styles:t.styles||B,animations:t.animations,directives:[],changeDetection:t.changeDetection,pipes:new Map,encapsulation:o,interpolation:t.interpolation,viewProviders:t.viewProviders||null});Lg++;try{c.usesInheritance&&Hg(e),n=r.compileComponent(Sg,a,c)}finally{Lg--}if(0===Lg&&function(){if(!Cg){Cg=!0;try{for(let e=kg.length-1;e>=0;e--){const{moduleType:t,ngModule:n}=kg[e];n.declarations&&n.declarations.every(Mg)&&(kg.splice(e,1),Eg(t,n))}}finally{Cg=!1}}}(),void 0!==e.ngSelectorScope){const t=jg(e.ngSelectorScope);Tg(n,t)}}return n},configurable:!1})},rv=zg,iv=function(e,t){let n=null,r=null;Object.defineProperty(e,G,{get:()=>{if(null===r){const n=Gg(e,t),i=Yn();r=i.compileFactory(Sg,`ng:///${n.name}/\u0275fac.js`,Object.assign(Object.assign({},n),{injectFn:"directiveInject",target:i.R3FactoryTarget.Pipe}))}return r},configurable:!1}),Object.defineProperty(e,W,{get:()=>{if(null===n){const r=Gg(e,t);n=Yn().compilePipe(Sg,`ng:///${r.name}/\u0275pipe.js`,r)}return n},configurable:!1})},sv=En("NgModule",e=>e,void 0,void 0,(e,t)=>ov(e,t));const ov=function(e,t={}){!function(e,t,n=!1){const r=qn(t.declarations||Og);let i=null;Object.defineProperty(e,q,{configurable:!0,get:()=>(null===i&&(i=Yn().compileNgModule(Sg,`ng:///${e.name}/\u0275mod.js`,{type:e,bootstrap:qn(t.bootstrap||Og).map(p),declarations:r.map(p),imports:qn(t.imports||Og).map(p).map(Dg),exports:qn(t.exports||Og).map(p).map(Dg),schemas:t.schemas?qn(t.schemas):null,id:t.id||null}),i.schemas||(i.schemas=[])),i)});let s=null;Object.defineProperty(e,k,{get:()=>{if(null===s){const n={name:e.name,type:e,deps:mr(e),providers:t.providers||Og,imports:[(t.imports||Og).map(p),(t.exports||Og).map(p)]};s=Yn().compileInjector(Sg,`ng:///${e.name}/\u0275inj.js`,n)}return s},configurable:!1})}(e,t),function(e,t){kg.push({moduleType:e,ngModule:t})}(e,t)},av=new Ln("Application Initializer");class cv{constructor(e){this.appInits=e,this.resolve=Td,this.reject=Td,this.initialized=!1,this.done=!1,this.donePromise=new Promise((e,t)=>{this.resolve=e,this.reject=t})}runInitializers(){if(this.initialized)return;const e=[],t=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let n=0;n<this.appInits.length;n++){const t=this.appInits[n]();fl(t)&&e.push(t)}Promise.all(e).then(()=>{t()}).catch(e=>{this.reject(e)}),0===e.length&&t(),this.initialized=!0}}cv.\u0275fac=function(e){return new(e||cv)(Tr(av,8))},cv.\u0275prov=b({token:cv,factory:cv.\u0275fac}),cv.ctorParameters=()=>[{type:Array,decorators:[{type:cr,args:[av]},{type:lr}]}];const lv=new Ln("AppId");const uv={provide:lv,useFactory:function(){return`${hv()}${hv()}${hv()}`},deps:[]};function hv(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const dv=new Ln("Platform Initializer"),fv=new Ln("Platform ID"),pv=new Ln("appBootstrapListener"),mv=new Ln("Application Packages Root URL");class gv{log(e){console.log(e)}warn(e){console.warn(e)}}gv.\u0275fac=function(e){return new(e||gv)},gv.\u0275prov=b({token:gv,factory:gv.\u0275fac});const vv=new Ln("LocaleId"),yv=new Ln("DefaultCurrencyCode"),bv=new Ln("Translations"),_v=new Ln("TranslationsFormat");var wv;!function(e){e[e.Error=0]="Error",e[e.Warning=1]="Warning",e[e.Ignore=2]="Ignore"}(wv||(wv={}));class Sv{constructor(e,t){this.ngModuleFactory=e,this.componentFactories=t}}const xv=function(e){return new km(e)},Ov=xv,kv=function(e){return Promise.resolve(xv(e))},Cv=function(e){const t=xv(e),n=os(ue(e).declarations).reduce((e,t)=>{const n=ae(t);return n&&e.push(new ym(n)),e},[]);return new Sv(t,n)},Mv=Cv,Ev=function(e){return Promise.resolve(Cv(e))};class Tv{constructor(){this.compileModuleSync=Ov,this.compileModuleAsync=kv,this.compileModuleAndAllComponentsSync=Mv,this.compileModuleAndAllComponentsAsync=Ev}clearCache(){}clearCacheFor(e){}getModuleId(e){}}Tv.\u0275fac=function(e){return new(e||Tv)},Tv.\u0275prov=b({token:Tv,factory:Tv.\u0275fac});const jv=new Ln("compilerOptions");class Dv{}const Av=Promise.resolve(0);function Lv(e){"undefined"==typeof Zone?Av.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class zv{constructor({enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:t=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Jm(!1),this.onMicrotaskEmpty=new Jm(!1),this.onStable=new Jm(!1),this.onError=new Jm(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched();const n=this;n._nesting=0,n._outer=n._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(n._inner=n._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(n._inner=n._inner.fork(Zone.longStackTraceZoneSpec)),n.shouldCoalesceEventChangeDetection=t,n.lastRequestAnimationFrameId=-1,n.nativeRequestAnimationFrame=function(){let e=F.requestAnimationFrame,t=F.cancelAnimationFrame;if("undefined"!=typeof Zone&&e&&t){const n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function(e){const t=()=>{!function(e){if(-1!==e.lastRequestAnimationFrameId)return;e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(F,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Rv(e),Iv(e)},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Rv(e)}(e)},n=!!e.shouldCoalesceEventChangeDetection&&e.nativeRequestAnimationFrame&&t;e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0,maybeDelayChangeDetection:n},onInvokeTask:(t,r,i,s,o,a)=>{try{return Nv(e),t.invokeTask(i,s,o,a)}finally{n&&"eventTask"===s.type&&n(),Hv(e)}},onInvoke:(t,n,r,i,s,o,a)=>{try{return Nv(e),t.invoke(r,i,s,o,a)}finally{Hv(e)}},onHasTask:(t,n,r,i)=>{t.hasTask(r,i),n===r&&("microTask"==i.change?(e._hasPendingMicrotasks=i.microTask,Rv(e),Iv(e)):"macroTask"==i.change&&(e.hasPendingMacrotasks=i.macroTask))},onHandleError:(t,n,r,i)=>(t.handleError(r,i),e.runOutsideAngular(()=>e.onError.emit(i)),!1)})}(n)}static isInAngularZone(){return!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!zv.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(zv.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(e,t,n){return this._inner.run(e,t,n)}runTask(e,t,n,r){const i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+r,e,Pv,Td,Td);try{return i.runTask(s,t,n)}finally{i.cancelTask(s)}}runGuarded(e,t,n){return this._inner.runGuarded(e,t,n)}runOutsideAngular(e){return this._outer.run(e)}}const Pv={};function Iv(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function Rv(e){e._hasPendingMicrotasks||e.shouldCoalesceEventChangeDetection&&-1!==e.lastRequestAnimationFrameId?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function Nv(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Hv(e){e._nesting--,Iv(e)}class Fv{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Jm,this.onMicrotaskEmpty=new Jm,this.onStable=new Jm,this.onError=new Jm}run(e,t,n){return e.apply(t,n)}runGuarded(e,t,n){return e.apply(t,n)}runOutsideAngular(e){return e()}runTask(e,t,n,r){return e.apply(t,n)}}class Vv{constructor(e){this._ngZone=e,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),e.run(()=>{this.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{zv.assertNotInAngularZone(),Lv(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())Lv(()=>{for(;0!==this._callbacks.length;){let e=this._callbacks.pop();clearTimeout(e.timeoutId),e.doneCb(this._didWork)}this._didWork=!1});else{let e=this.getPendingTasks();this._callbacks=this._callbacks.filter(t=>!t.updateCb||!t.updateCb(e)||(clearTimeout(t.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(e=>({source:e.source,creationLocation:e.creationLocation,data:e.data})):[]}addCallback(e,t,n){let r=-1;t&&t>0&&(r=setTimeout(()=>{this._callbacks=this._callbacks.filter(e=>e.timeoutId!==r),e(this._didWork,this.getPendingTasks())},t)),this._callbacks.push({doneCb:e,timeoutId:r,updateCb:n})}whenStable(e,t,n){if(n&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/dist/task-tracking.js" loaded?');this.addCallback(e,t,n),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(e,t,n){return[]}}Vv.\u0275fac=function(e){return new(e||Vv)(Tr(zv))},Vv.\u0275prov=b({token:Vv,factory:Vv.\u0275fac}),Vv.ctorParameters=()=>[{type:zv}];class Bv{constructor(){this._applications=new Map,Wv.addToWindow(this)}registerApplication(e,t){this._applications.set(e,t)}unregisterApplication(e){this._applications.delete(e)}unregisterAllApplications(){this._applications.clear()}getTestability(e){return this._applications.get(e)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(e,t=!0){return Wv.findTestabilityInTree(this,e,t)}}Bv.\u0275fac=function(e){return new(e||Bv)},Bv.\u0275prov=b({token:Bv,factory:Bv.\u0275fac}),Bv.ctorParameters=()=>[];function Yv(e){Wv=e}let Uv,Wv=new class{addToWindow(e){}findTestabilityInTree(e,t,n){return null}},qv=!0,$v=!1;function Gv(){return $v=!0,qv}function Xv(){if($v)throw new Error("Cannot enable prod mode after platform setup.");qv=!1}let Kv=function(e,t,n){const r=new km(n);if("undefined"!=typeof ngJitMode&&!ngJitMode)return Promise.resolve(r);const i=e.get(jv,[]).concat(t);if(function(e){if(null!==xg){if(e.defaultEncapsulation!==xg.defaultEncapsulation)return;if(e.preserveWhitespaces!==xg.preserveWhitespaces)return}xg=e}({defaultEncapsulation:ay(i.map(e=>e.defaultEncapsulation)),preserveWhitespaces:ay(i.map(e=>e.preserveWhitespaces))}),function(){return 0===yr.size}())return Promise.resolve(r);const s=function(e){const t=[];return e.forEach(e=>e&&t.push(...e)),t}(i.map(e=>e.providers));if(0===s.length)return Promise.resolve(r);const o=Yn(),a=ka.create({providers:s}).get(o.ResourceLoader);return vr(e=>Promise.resolve(a.get(e))).then(()=>r)};let Jv=function(){},Qv=function(e){return e.isBoundToModule};const Zv=new Ln("AllowMultipleToken");class ey{constructor(e,t){this.name=e,this.token=t}}function ty(e,t,n=[]){const r="Platform: "+t,i=new Ln(r);return(t=[])=>{let s=ny();if(!s||s.injector.get(Zv,!1))if(e)e(n.concat(t).concat({provide:i,useValue:!0}));else{const e=n.concat(t).concat({provide:i,useValue:!0},{provide:ha,useValue:"platform"});!function(e){if(Uv&&!Uv.destroyed&&!Uv.injector.get(Zv,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");Jv(),Uv=e.get(ry);const t=e.get(dv,null);t&&t.forEach(e=>e())}(ka.create({providers:e,name:r}))}return function(e){const t=ny();if(!t)throw new Error("No platform exists!");if(!t.injector.get(e,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return t}(i)}}function ny(){return Uv&&!Uv.destroyed?Uv:null}class ry{constructor(e){this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(e,t){const n=function(e,t){let n;n="noop"===e?new Fv:("zone.js"===e?void 0:e)||new zv({enableLongStackTrace:Gv(),shouldCoalesceEventChangeDetection:t});return n}(t?t.ngZone:void 0,t&&t.ngZoneEventCoalescing||!1),r=[{provide:zv,useValue:n}];return n.run(()=>{const t=ka.create({providers:r,parent:this.injector,name:e.moduleType.name}),i=e.create(t),s=i.injector.get(Bi,null);if(!s)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return n.runOutsideAngular(()=>{const e=n.onError.subscribe({next:e=>{s.handleError(e)}});i.onDestroy(()=>{oy(this._modules,i),e.unsubscribe()})}),function(e,t,n){try{const r=n();return fl(r)?r.catch(n=>{throw t.runOutsideAngular(()=>e.handleError(n)),n}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(s,n,()=>{const e=i.injector.get(cv);return e.runInitializers(),e.donePromise.then(()=>{hh(i.injector.get(vv,oh)||oh);return this._moduleDoBootstrap(i),i})})})}bootstrapModule(e,t=[]){const n=iy({},t);return Kv(this.injector,n,e).then(e=>this.bootstrapModuleFactory(e,n))}_moduleDoBootstrap(e){const t=e.injector.get(sy);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(e=>t.bootstrap(e));else{if(!e.instance.ngDoBootstrap)throw new Error(`The module ${u(e.instance.constructor)} was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.`);e.instance.ngDoBootstrap(t)}this._modules.push(e)}onDestroy(e){this._destroyListeners.push(e)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(e=>e.destroy()),this._destroyListeners.forEach(e=>e()),this._destroyed=!0}get destroyed(){return this._destroyed}}function iy(e,t){return e=Array.isArray(t)?t.reduce(iy,e):Object.assign(Object.assign({},e),t)}ry.\u0275fac=function(e){return new(e||ry)(Tr(ka))},ry.\u0275prov=b({token:ry,factory:ry.\u0275fac}),ry.ctorParameters=()=>[{type:ka}];class sy{constructor(e,t,n,r,i,c){this._zone=e,this._console=t,this._injector=n,this._exceptionHandler=r,this._componentFactoryResolver=i,this._initStatus=c,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const l=new s.a(e=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{e.next(this._stable),e.complete()})}),u=new s.a(e=>{let t;this._zone.runOutsideAngular(()=>{t=this._zone.onStable.subscribe(()=>{zv.assertNotInAngularZone(),Lv(()=>{this._stable||this._zone.hasPendingMacrotasks||this._zone.hasPendingMicrotasks||(this._stable=!0,e.next(!0))})})});const n=this._zone.onUnstable.subscribe(()=>{zv.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{e.next(!1)}))});return()=>{t.unsubscribe(),n.unsubscribe()}});this.isStable=Object(o.a)(l,u.pipe(Object(a.a)()))}bootstrap(e,t){if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.");let n;n=e instanceof xd?e:this._componentFactoryResolver.resolveComponentFactory(e),this.componentTypes.push(n.componentType);const r=Qv(n)?void 0:this._injector.get(ff),i=t||n.selector,s=n.create(ka.NULL,[],i,r),o=s.location.nativeElement,a=s.injector.get(Vv,null),c=a&&s.injector.get(Bv);return a&&c&&c.registerApplication(o,a),s.onDestroy(()=>{this.detachView(s.hostView),oy(this.components,s),c&&c.unregisterApplication(o)}),this._loadComponent(s),Gv()&&this._console.log("Angular is running in development mode. Call enableProdMode() to enable production mode."),s}tick(){if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");try{this._runningTick=!0;for(let e of this._views)e.detectChanges();0}catch(e){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(e))}finally{this._runningTick=!1}}attachView(e){const t=e;this._views.push(t),t.attachToAppRef(this)}detachView(e){const t=e;oy(this._views,t),t.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView),this.tick(),this.components.push(e);this._injector.get(pv,[]).concat(this._bootstrapListeners).forEach(t=>t(e))}ngOnDestroy(){this._views.slice().forEach(e=>e.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}get viewCount(){return this._views.length}}function oy(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function ay(e){for(let t=e.length-1;t>=0;t--)if(void 0!==e[t])return e[t]}sy.\u0275fac=function(e){return new(e||sy)(Tr(zv),Tr(gv),Tr(ka),Tr(Bi),Tr(Cd),Tr(cv))},sy.\u0275prov=b({token:sy,factory:sy.\u0275fac}),sy.ctorParameters=()=>[{type:zv},{type:gv},{type:ka},{type:Bi},{type:Cd},{type:cv}];class cy{}class ly{}const uy={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"};class hy{constructor(e,t){this._compiler=e,this._config=t||uy}load(e){return this.loadAndCompile(e)}loadAndCompile(e){let[t,r]=e.split("#");return void 0===r&&(r="default"),n("zn8P")(t).then(e=>e[r]).then(e=>dy(e,t,r)).then(e=>this._compiler.compileModuleAsync(e))}loadFactory(e){let[t,r]=e.split("#"),i="NgFactory";return void 0===r&&(r="default",i=""),n("zn8P")(this._config.factoryPathPrefix+t+this._config.factoryPathSuffix).then(e=>e[r+i]).then(e=>dy(e,t,r))}}function dy(e,t,n){if(!e)throw new Error(`Cannot find '${n}' in '${t}'`);return e}hy.\u0275fac=function(e){return new(e||hy)(Tr(Tv),Tr(ly,8))},hy.\u0275prov=b({token:hy,factory:hy.\u0275fac}),hy.ctorParameters=()=>[{type:Tv},{type:ly,decorators:[{type:lr}]}];class fy{constructor(e,t){this.name=e,this.callback=t}}class py{constructor(e,t,n){this.listeners=[],this.parent=null,this._debugContext=n,this.nativeNode=e,t&&t instanceof my&&t.addChild(this)}get injector(){return this._debugContext.injector}get componentInstance(){return this._debugContext.component}get context(){return this._debugContext.context}get references(){return this._debugContext.references}get providerTokens(){return this._debugContext.providerTokens}}class my extends py{constructor(e,t,n){super(e,t,n),this.properties={},this.attributes={},this.classes={},this.styles={},this.childNodes=[],this.nativeElement=e}addChild(e){e&&(this.childNodes.push(e),e.parent=this)}removeChild(e){const t=this.childNodes.indexOf(e);-1!==t&&(e.parent=null,this.childNodes.splice(t,1))}insertChildrenAfter(e,t){const n=this.childNodes.indexOf(e);-1!==n&&(this.childNodes.splice(n+1,0,...t),t.forEach(t=>{t.parent&&t.parent.removeChild(t),e.parent=this}))}insertBefore(e,t){const n=this.childNodes.indexOf(e);-1===n?this.addChild(t):(t.parent&&t.parent.removeChild(t),t.parent=this,this.childNodes.splice(n,0,t))}query(e){return this.queryAll(e)[0]||null}queryAll(e){const t=[];return gy(this,e,t),t}queryAllNodes(e){const t=[];return vy(this,e,t),t}get children(){return this.childNodes.filter(e=>e instanceof my)}triggerEventHandler(e,t){this.listeners.forEach(n=>{n.name==e&&n.callback(t)})}}function gy(e,t,n){e.childNodes.forEach(e=>{e instanceof my&&(t(e)&&n.push(e),gy(e,t,n))})}function vy(e,t,n){e instanceof my&&e.childNodes.forEach(e=>{t(e)&&n.push(e),e instanceof my&&vy(e,t,n)})}class yy{constructor(e){this.nativeNode=e}get parent(){const e=this.nativeNode.parentNode;return e?new by(e):null}get injector(){return Ta(this.nativeNode)}get componentInstance(){const e=this.nativeNode;return e&&(Ca(e)||Ea(e))}get context(){return Ca(this.nativeNode)||Ma(this.nativeNode)}get listeners(){return Da(this.nativeNode).filter(e=>"dom"===e.type)}get references(){return function(e){const t=ja(e,!1);return null===t?{}:(void 0===t.localRefs&&(t.localRefs=function(e,t){const n=e[1].data[t];if(n&&n.localNames){const t={};let r=n.index+1;for(let i=0;i<n.localNames.length;i+=2)t[n.localNames[i]]=e[r],r++;return t}return null}(t.lView,t.nodeIndex)),t.localRefs||{})}(this.nativeNode)}get providerTokens(){return function(e){const t=ja(e,!1);if(null===t)return[];const n=t.lView[1],r=n.data[t.nodeIndex],i=[],s=1048575&r.providerIndexes,o=r.directiveEnd;for(let c=s;c<o;c++){let e=n.data[c];void 0!==(a=e).type&&void 0!==a.template&&void 0!==a.declaredInputs&&(e=e.type),i.push(e)}var a;return i}(this.nativeNode)}}class by extends yy{constructor(e){super(e)}get nativeElement(){return this.nativeNode.nodeType==Node.ELEMENT_NODE?this.nativeNode:null}get name(){try{const e=ja(this.nativeNode),t=e.lView[1].data;return t[e.nodeIndex].value}catch(e){return this.nativeNode.nodeName}}get properties(){const e=ja(this.nativeNode,!1);if(null==e)return{};const t=e.lView,n=t[1].data,r=n[e.nodeIndex],i={};return function(e,t){if(e){let n=Object.getPrototypeOf(e);const r=Node.prototype;for(;null!==n&&n!==r;){const r=Object.getOwnPropertyDescriptors(n);for(let n in r)if(!n.startsWith("__")&&!n.startsWith("on")){const r=e[n];_y(r)&&(t[n]=r)}n=Object.getPrototypeOf(n)}}}(this.nativeElement,i),function(e,t,n,r){let i=t.propertyBindings;if(null!==i)for(let s=0;s<i.length;s++){const t=i[s],o=r[t].split(ss),a=o[0];if(o.length>1){let r=o[1];for(let e=1;e<o.length-1;e++)r+=Se(n[t+e-1])+o[e+1];e[a]=r}else e[a]=n[t]}}(i,r,t,n),i}get attributes(){const e={},t=this.nativeElement;if(!t)return e;const n=ja(t,!1);if(null==n)return{};const r=n.lView[1].data[n.nodeIndex].attrs,i=[];if(r){let t=0;for(;t<r.length;){const n=r[t];if("string"!=typeof n)break;const s=r[t+1];e[n]=s,i.push(n.toLowerCase()),t+=2}}const s=t.attributes;for(let o=0;o<s.length;o++){const t=s[o],n=t.name.toLowerCase();-1===i.indexOf(n)&&(e[n]=t.value)}return e}get styles(){return this.nativeElement&&this.nativeElement.style?this.nativeElement.style:{}}get classes(){const e={},t=this.nativeElement.className;return(t&&"string"!=typeof t?t.baseVal.split(" "):t.split(" ")).forEach(t=>e[t]=!0),e}get childNodes(){const e=this.nativeNode.childNodes,t=[];for(let n=0;n<e.length;n++){const r=e[n];t.push(Ey(r))}return t}get children(){const e=this.nativeElement;if(!e)return[];const t=e.children,n=[];for(let r=0;r<t.length;r++){const e=t[r];n.push(Ey(e))}return n}query(e){return this.queryAll(e)[0]||null}queryAll(e){const t=[];return wy(this,e,t,!0),t}queryAllNodes(e){const t=[];return wy(this,e,t,!1),t}triggerEventHandler(e,t){const n=this.nativeNode,r=[];this.listeners.forEach(i=>{if(i.name===e){const e=i.callback;e.call(n,t),r.push(e)}}),"function"==typeof n.eventListeners&&n.eventListeners(e).forEach(e=>{if(-1!==e.toString().indexOf("__ngUnwrap__")){const i=e("__ngUnwrap__");return-1===r.indexOf(i)&&i.call(n,t)}})}}function _y(e){return"string"==typeof e||"boolean"==typeof e||"number"==typeof e||null===e}function wy(e,t,n,r){const i=ja(e.nativeNode,!1);if(null!==i){Sy(i.lView[1].data[i.nodeIndex],i.lView,t,n,r,e.nativeNode)}else ky(e.nativeNode,t,n,r)}function Sy(e,t,n,r,i,s){const o=function(e,t){const n=null===e?-1:e.index;if(-1!==n){return Fe(t[n])}return null}(e,t);if(11&e.type){if(Oy(o,n,r,i,s),ge(e)){const o=We(e.index,t);o&&o[1].firstChild&&Sy(o[1].firstChild,o,n,r,i,s)}else e.child&&Sy(e.child,t,n,r,i,s),o&&ky(o,n,r,i);const a=t[e.index];pe(a)&&xy(a,n,r,i,s)}else if(4&e.type){const o=t[e.index];Oy(o[7],n,r,i,s),xy(o,n,r,i,s)}else if(16&e.type){const o=t[16],a=o[6].projection[e.projection];if(Array.isArray(a))for(let e of a)Oy(e,n,r,i,s);else if(a){const e=o[3];Sy(e[1].data[a.index],e,n,r,i,s)}}else e.child&&Sy(e.child,t,n,r,i,s);if(s!==o){const o=4&e.flags?e.projectionNext:e.next;o&&Sy(o,t,n,r,i,s)}}function xy(e,t,n,r,i){for(let s=de;s<e.length;s++){const o=e[s],a=o[1].firstChild;a&&Sy(a,o,t,n,r,i)}}function Oy(e,t,n,r,i){if(i!==e){const i=Ty(e);if(!i)return;(r&&i instanceof by&&t(i)&&-1===n.indexOf(i)||!r&&t(i)&&-1===n.indexOf(i))&&n.push(i)}}function ky(e,t,n,r){const i=e.childNodes,s=i.length;for(let o=0;o<s;o++){const e=i[o],s=Ty(e);s&&((r&&s instanceof by&&t(s)&&-1===n.indexOf(s)||!r&&t(s)&&-1===n.indexOf(s))&&n.push(s),ky(e,t,n,r))}}const Cy=new Map;const My="__ng_debug__";function Ey(e){return e instanceof Node?(e.hasOwnProperty(My)||(e.__ng_debug__=e.nodeType==Node.ELEMENT_NODE?new by(e):new yy(e)),e.__ng_debug__):null}const Ty=Ey;const jy=function(e){return null};function Dy(e){Cy.set(e.nativeNode,e)}const Ay=ty(null,"core",[{provide:fv,useValue:"unknown"},{provide:ry,deps:[ka]},{provide:Bv,deps:[]},{provide:gv,deps:[]}]);const Ly=[{provide:sy,useClass:sy,deps:[zv,gv,ka,Bi,Cd,cv]},{provide:vm,deps:[zv],useFactory:function(e){let t=[];return e.onStable.subscribe(()=>{for(;t.length;)t.pop()()}),function(e){t.push(e)}}},{provide:cv,useClass:cv,deps:[[new lr,av]]},{provide:Tv,useClass:Tv,deps:[]},uv,{provide:Xd,useFactory:function(){return of},deps:[]},{provide:Kd,useFactory:function(){return af},deps:[]},{provide:vv,useFactory:function(e){return hh(e=e||"undefined"!=typeof $localize&&$localize.locale||oh),e},deps:[[new cr(vv),new lr,new hr]]},{provide:yv,useValue:"USD"}];class zy{constructor(e){}}function Py(e,t,n,r,i,s){e|=1;const{matchedQueries:o,references:a,matchedQueryIds:c}=ep(t);return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,flags:e,checkIndex:-1,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:o,matchedQueryIds:c,references:a,ngContentIndex:n,childCount:r,bindings:[],bindingFlags:0,outputs:[],element:{ns:null,name:null,attrs:null,template:s?ip(s):null,componentProvider:null,componentView:null,componentRendererType:null,publicProviders:null,allProviders:null,handleEvent:i||Lf},provider:null,text:null,query:null,ngContent:null}}function Iy(e,t,n,r,i,s,o=[],a,c,l,u,h){l||(l=Lf);const{matchedQueries:d,references:f,matchedQueryIds:p}=ep(n);let m=null,g=null;s&&([m,g]=hp(s)),a=a||[];const v=[];for(let _=0;_<a.length;_++){const[e,t,n]=a[_],[r,i]=hp(t);let s=void 0,o=void 0;switch(15&e){case 4:o=n;break;case 1:case 8:s=n}v[_]={flags:e,ns:r,name:i,nonMinifiedName:i,securityContext:s,suffix:o}}c=c||[];const y=[];for(let _=0;_<c.length;_++){const[e,t]=c[_];y[_]={type:0,target:e,eventName:t,propName:null}}const b=(o=o||[]).map(([e,t])=>{const[n,r]=hp(e);return[n,r,t]});return h=function(e){if(e&&e.id===Rf){const t=null!=e.encapsulation&&e.encapsulation!==P.None||e.styles.length||Object.keys(e.data).length;e.id=t?"c"+Ff++:Nf}return e&&e.id===Nf&&(e=null),e||null}(h),u&&(t|=33554432),{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:e,flags:t|=1,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:d,matchedQueryIds:p,references:f,ngContentIndex:r,childCount:i,bindings:v,bindingFlags:dp(v),outputs:y,element:{ns:m,name:g,attrs:b,template:null,componentProvider:null,componentView:u||null,componentRendererType:h,publicProviders:null,allProviders:null,handleEvent:l||Lf},provider:null,text:null,query:null,ngContent:null}}function Ry(e,t,n){const r=n.element,i=e.root.selectorOrNode,s=e.renderer;let o;if(e.parent||!i){o=r.name?s.createElement(r.name,r.ns):s.createComment("");const i=np(e,t,n);i&&s.appendChild(i,o)}else{const e=!!r.componentRendererType&&r.componentRendererType.encapsulation===P.ShadowDom;o=s.selectRootElement(i,e)}if(r.attrs)for(let a=0;a<r.attrs.length;a++){const[e,t,n]=r.attrs[a];s.setAttribute(o,t,n,e)}return o}function Ny(e,t,n,r){for(let i=0;i<n.outputs.length;i++){const s=n.outputs[i],o=Hy(e,n.nodeIndex,Kf(s.target,s.eventName));let a=s.target,c=e;"component"===s.target&&(a=null,c=t);const l=c.renderer.listen(a||r,s.eventName,o);e.disposables[n.outputIndex+i]=l}}function Hy(e,t,n){return r=>qf(e,t,n,r)}function Fy(e,t,n,r){if(!Bf(e,t,n,r))return!1;const i=t.bindings[n],s=Ef(e,t.nodeIndex),o=s.renderElement,a=i.name;switch(15&i.flags){case 1:!function(e,t,n,r,i,s){const o=t.securityContext;let a=o?e.root.sanitizer.sanitize(o,s):s;a=null!=a?a.toString():null;const c=e.renderer;null!=s?c.setAttribute(n,i,a,r):c.removeAttribute(n,i,r)}(e,i,o,i.ns,a,r);break;case 2:!function(e,t,n,r){const i=e.renderer;r?i.addClass(t,n):i.removeClass(t,n)}(e,o,a,r);break;case 4:!function(e,t,n,r,i){let s=e.root.sanitizer.sanitize(Ei.STYLE,i);if(null!=s){s=s.toString();const e=t.suffix;null!=e&&(s+=e)}else s=null;const o=e.renderer;null!=s?o.setStyle(n,r,s):o.removeStyle(n,r)}(e,i,o,a,r);break;case 8:!function(e,t,n,r,i){const s=t.securityContext;let o=s?e.root.sanitizer.sanitize(s,i):i;e.renderer.setProperty(n,r,o)}(33554432&t.flags&&32&i.flags?s.componentView:e,i,o,a,r)}return!0}function Vy(e,t,n){let r=[];for(let i in n){const e=n[i];r.push({propName:i,bindingType:e})}return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:-1,flags:e,childFlags:0,directChildFlags:0,childMatchedQueries:0,ngContentIndex:-1,matchedQueries:{},matchedQueryIds:0,references:{},childCount:0,bindings:[],bindingFlags:0,outputs:[],element:null,provider:null,text:null,query:{id:t,filterId:Zf(t),bindings:r},ngContent:null}}function By(e){const t=e.def.nodeMatchedQueries;for(;e.parent&&Qf(e);){let n=e.parentNodeDef;e=e.parent;const r=n.nodeIndex+n.childCount;for(let i=0;i<=r;i++){const r=e.def.nodes[i];67108864&r.flags&&536870912&r.flags&&(r.query.filterId&t)===r.query.filterId&&Df(e,i).setDirty(),!(1&r.flags&&i+r.childCount<n.nodeIndex)&&67108864&r.childFlags&&536870912&r.childFlags||(i+=r.childCount)}}if(134217728&e.def.nodeFlags)for(let n=0;n<e.def.nodes.length;n++){const t=e.def.nodes[n];134217728&t.flags&&536870912&t.flags&&Df(e,n).setDirty(),n+=t.childCount}}function Yy(e,t){const n=Df(e,t.nodeIndex);if(!n.dirty)return;let r,i=void 0;if(67108864&t.flags){const n=t.parent.parent;i=Uy(e,n.nodeIndex,n.nodeIndex+n.childCount,t.query,[]),r=Tf(e,t.parent.nodeIndex).instance}else 134217728&t.flags&&(i=Uy(e,0,e.def.nodes.length-1,t.query,[]),r=e.component);n.reset(i);const s=t.query.bindings;let o=!1;for(let a=0;a<s.length;a++){const e=s[a];let t;switch(e.bindingType){case 0:t=n.first;break;case 1:t=n,o=!0}r[e.propName]=t}o&&n.notifyOnChanges()}function Uy(e,t,n,r,i){for(let s=t;s<=n;s++){const t=e.def.nodes[s],n=t.matchedQueries[r.id];if(null!=n&&i.push(Wy(e,t,n)),1&t.flags&&t.element.template&&(t.element.template.nodeMatchedQueries&r.filterId)===r.filterId){const n=Ef(e,s);if((t.childMatchedQueries&r.filterId)===r.filterId&&(Uy(e,s+1,s+t.childCount,r,i),s+=t.childCount),16777216&t.flags){const e=n.viewContainer._embeddedViews;for(let t=0;t<e.length;t++){const s=e[t],o=$f(s);o&&o===n&&Uy(s,0,s.def.nodes.length-1,r,i)}}const o=n.template._projectedViews;if(o)for(let e=0;e<o.length;e++){const t=o[e];Uy(t,0,t.def.nodes.length-1,r,i)}}(t.childMatchedQueries&r.filterId)!==r.filterId&&(s+=t.childCount)}return i}function Wy(e,t,n){if(null!=n)switch(n){case 1:return Ef(e,t.nodeIndex).renderElement;case 0:return new Ad(Ef(e,t.nodeIndex).renderElement);case 2:return Ef(e,t.nodeIndex).template;case 3:return Ef(e,t.nodeIndex).viewContainer;case 4:return Tf(e,t.nodeIndex).instance}}function qy(e,t){return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:-1,flags:8,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:{},matchedQueryIds:0,references:{},ngContentIndex:e,childCount:0,bindings:[],bindingFlags:0,outputs:[],element:null,provider:null,text:null,query:null,ngContent:{index:t}}}function $y(e,t,n){const r=np(e,t,n);if(!r)return;ap(e,n.ngContent.index,1,r,null,void 0)}function Gy(e,t){return Jy(128,e,Kn(t+1))}function Xy(e,t){return Jy(32,e,Kn(t))}function Ky(e,t){const n=Object.keys(t),r=n.length,i=[];for(let s=0;s<r;s++){const e=n[s];t[e];i.push(e)}return Jy(64,e,i)}function Jy(e,t,n){const r=[];for(let i=0;i<n.length;i++){const e=n[i];r.push({flags:8,name:e,ns:null,nonMinifiedName:e,securityContext:null,suffix:null})}return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:t,flags:e,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:{},matchedQueryIds:0,references:{},ngContentIndex:-1,childCount:0,bindings:r,bindingFlags:dp(r),outputs:[],element:null,provider:null,text:null,query:null,ngContent:null}}function Qy(e,t,n){const r=[];for(let i=1;i<n.length;i++)r[i-1]={flags:8,name:null,ns:null,nonMinifiedName:null,securityContext:null,suffix:n[i]};return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:e,flags:2,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:{},matchedQueryIds:0,references:{},ngContentIndex:t,childCount:0,bindings:r,bindingFlags:8,outputs:[],element:null,provider:null,text:{prefix:n[0]},query:null,ngContent:null}}function Zy(e,t,n){let r;const i=e.renderer;r=i.createText(n.text.prefix);const s=np(e,t,n);return s&&i.appendChild(s,r),{renderText:r}}function eb(e,t){return(null!=e?e.toString():"")+t.suffix}function tb(e,t,n,r){let i=0,s=0,o=0,a=0,c=0,l=null,u=null,h=!1,d=!1,f=null;for(let p=0;p<t.length;p++){const e=t[p];if(e.nodeIndex=p,e.parent=l,e.bindingIndex=i,e.outputIndex=s,e.renderParent=u,o|=e.flags,c|=e.matchedQueryIds,e.element){const t=e.element;t.publicProviders=l?l.element.publicProviders:Object.create(null),t.allProviders=t.publicProviders,h=!1,d=!1,e.element.template&&(c|=e.element.template.nodeMatchedQueries)}if(rb(l,e,t.length),i+=e.bindings.length,s+=e.outputs.length,!u&&3&e.flags&&(f=e),20224&e.flags){h||(h=!0,l.element.publicProviders=Object.create(l.element.publicProviders),l.element.allProviders=l.element.publicProviders);const t=0!=(8192&e.flags),n=0!=(32768&e.flags);!t||n?l.element.publicProviders[Pf(e.provider.token)]=e:(d||(d=!0,l.element.allProviders=Object.create(l.element.publicProviders)),l.element.allProviders[Pf(e.provider.token)]=e),n&&(l.element.componentProvider=e)}if(l?(l.childFlags|=e.flags,l.directChildFlags|=e.flags,l.childMatchedQueries|=e.matchedQueryIds,e.element&&e.element.template&&(l.childMatchedQueries|=e.element.template.nodeMatchedQueries)):a|=e.flags,e.childCount>0)l=e,nb(e)||(u=e);else for(;l&&p===l.nodeIndex+l.childCount;){const e=l.parent;e&&(e.childFlags|=l.childFlags,e.childMatchedQueries|=l.childMatchedQueries),l=e,u=l&&nb(l)?l.renderParent:l}}return{factory:null,nodeFlags:o,rootNodeFlags:a,nodeMatchedQueries:c,flags:e,nodes:t,updateDirectives:n||Lf,updateRenderer:r||Lf,handleEvent:(e,n,r,i)=>t[n].element.handleEvent(e,r,i),bindingCount:i,outputCount:s,lastRenderRootNode:f}}function nb(e){return 0!=(1&e.flags)&&null===e.element.name}function rb(e,t,n){const r=t.element&&t.element.template;if(r){if(!r.lastRenderRootNode)throw new Error("Illegal State: Embedded templates without nodes are not allowed!");if(r.lastRenderRootNode&&16777216&r.lastRenderRootNode.flags)throw new Error(`Illegal State: Last root node of a template can't have embedded views, at index ${t.nodeIndex}!`)}if(20224&t.flags){if(0==(1&(e?e.flags:0)))throw new Error(`Illegal State: StaticProvider/Directive nodes need to be children of elements or anchors, at index ${t.nodeIndex}!`)}if(t.query){if(67108864&t.flags&&(!e||0==(16384&e.flags)))throw new Error(`Illegal State: Content Query nodes need to be children of directives, at index ${t.nodeIndex}!`);if(134217728&t.flags&&e)throw new Error(`Illegal State: View Query nodes have to be top level nodes, at index ${t.nodeIndex}!`)}if(t.childCount){const r=e?e.nodeIndex+e.childCount:n-1;if(t.nodeIndex<=r&&t.nodeIndex+t.childCount>r)throw new Error(`Illegal State: childCount of node leads outside of parent, at index ${t.nodeIndex}!`)}}function ib(e,t,n,r){const i=ab(e.root,e.renderer,e,t,n);return cb(i,e.component,r),lb(i),i}function sb(e,t,n){const r=ab(e,e.renderer,null,null,t);return cb(r,n,n),lb(r),r}function ob(e,t,n,r){const i=t.element.componentRendererType;let s;return s=i?e.root.rendererFactory.createRenderer(r,i):e.root.renderer,ab(e.root,s,e,t.element.componentProvider,n)}function ab(e,t,n,r,i){const s=new Array(i.nodes.length),o=i.outputCount?new Array(i.outputCount):null;return{def:i,parent:n,viewContainerParent:null,parentNodeDef:r,context:null,component:null,nodes:s,state:13,root:e,renderer:t,oldValues:new Array(i.bindingCount),disposables:o,initIndex:-1}}function cb(e,t,n){e.component=t,e.context=n}function lb(e){let t;if(Jf(e)){const n=e.parentNodeDef;t=Ef(e.parent,n.parent.nodeIndex).renderElement}const n=e.def,r=e.nodes;for(let i=0;i<n.nodes.length;i++){const s=n.nodes[i];let o;switch(Af.setCurrentNode(e,i),201347067&s.flags){case 1:const n=Ry(e,t,s);let a=void 0;if(33554432&s.flags){const t=ip(s.element.componentView);a=Af.createComponentView(e,s,t,n)}Ny(e,a,s,n),o={renderElement:n,componentView:a,viewContainer:null,template:s.element.template?Np(e,s):void 0},16777216&s.flags&&(o.viewContainer=zp(e,s,o));break;case 2:o=Zy(e,t,s);break;case 512:case 1024:case 2048:case 256:if(o=r[i],!(o||4096&s.flags)){o={instance:nm(e,s)}}break;case 16:o={instance:rm(e,s)};break;case 16384:if(o=r[i],!o){o={instance:im(e,s)}}if(32768&s.flags){cb(Ef(e,s.parent.nodeIndex).componentView,o.instance,o.instance)}break;case 32:case 64:case 128:o={value:void 0};break;case 67108864:case 134217728:o=new Zm;break;case 8:$y(e,t,s),o=void 0}r[i]=o}yb(e,vb.CreateViewNodes),Sb(e,201326592,268435456,0)}function ub(e){fb(e),Af.updateDirectives(e,1),bb(e,vb.CheckNoChanges),Af.updateRenderer(e,1),yb(e,vb.CheckNoChanges),e.state&=-97}function hb(e){1&e.state?(e.state&=-2,e.state|=2):e.state&=-3,kf(e,0,256),fb(e),Af.updateDirectives(e,0),bb(e,vb.CheckAndUpdate),Sb(e,67108864,536870912,0);let t=kf(e,256,512);dm(e,2097152|(t?1048576:0)),Af.updateRenderer(e,0),yb(e,vb.CheckAndUpdate),Sb(e,134217728,536870912,0),t=kf(e,512,768),dm(e,8388608|(t?4194304:0)),2&e.def.flags&&(e.state&=-9),e.state&=-97,kf(e,768,1024)}function db(e,t,n,r,i,s,o,a,c,l,u,h,d){return 0===n?function(e,t,n,r,i,s,o,a,c,l,u,h){switch(201347067&t.flags){case 1:return function(e,t,n,r,i,s,o,a,c,l,u,h){const d=t.bindings.length;let f=!1;return d>0&&Fy(e,t,0,n)&&(f=!0),d>1&&Fy(e,t,1,r)&&(f=!0),d>2&&Fy(e,t,2,i)&&(f=!0),d>3&&Fy(e,t,3,s)&&(f=!0),d>4&&Fy(e,t,4,o)&&(f=!0),d>5&&Fy(e,t,5,a)&&(f=!0),d>6&&Fy(e,t,6,c)&&(f=!0),d>7&&Fy(e,t,7,l)&&(f=!0),d>8&&Fy(e,t,8,u)&&(f=!0),d>9&&Fy(e,t,9,h)&&(f=!0),f}(e,t,n,r,i,s,o,a,c,l,u,h);case 2:return function(e,t,n,r,i,s,o,a,c,l,u,h){let d=!1;const f=t.bindings,p=f.length;if(p>0&&Bf(e,t,0,n)&&(d=!0),p>1&&Bf(e,t,1,r)&&(d=!0),p>2&&Bf(e,t,2,i)&&(d=!0),p>3&&Bf(e,t,3,s)&&(d=!0),p>4&&Bf(e,t,4,o)&&(d=!0),p>5&&Bf(e,t,5,a)&&(d=!0),p>6&&Bf(e,t,6,c)&&(d=!0),p>7&&Bf(e,t,7,l)&&(d=!0),p>8&&Bf(e,t,8,u)&&(d=!0),p>9&&Bf(e,t,9,h)&&(d=!0),d){let d=t.text.prefix;p>0&&(d+=eb(n,f[0])),p>1&&(d+=eb(r,f[1])),p>2&&(d+=eb(i,f[2])),p>3&&(d+=eb(s,f[3])),p>4&&(d+=eb(o,f[4])),p>5&&(d+=eb(a,f[5])),p>6&&(d+=eb(c,f[6])),p>7&&(d+=eb(l,f[7])),p>8&&(d+=eb(u,f[8])),p>9&&(d+=eb(h,f[9]));const m=Mf(e,t.nodeIndex).renderText;e.renderer.setValue(m,d)}return d}(e,t,n,r,i,s,o,a,c,l,u,h);case 16384:return function(e,t,n,r,i,s,o,a,c,l,u,h){const d=Tf(e,t.nodeIndex),f=d.instance;let p=!1,m=void 0;const g=t.bindings.length;return g>0&&Vf(e,t,0,n)&&(p=!0,m=hm(e,d,t,0,n,m)),g>1&&Vf(e,t,1,r)&&(p=!0,m=hm(e,d,t,1,r,m)),g>2&&Vf(e,t,2,i)&&(p=!0,m=hm(e,d,t,2,i,m)),g>3&&Vf(e,t,3,s)&&(p=!0,m=hm(e,d,t,3,s,m)),g>4&&Vf(e,t,4,o)&&(p=!0,m=hm(e,d,t,4,o,m)),g>5&&Vf(e,t,5,a)&&(p=!0,m=hm(e,d,t,5,a,m)),g>6&&Vf(e,t,6,c)&&(p=!0,m=hm(e,d,t,6,c,m)),g>7&&Vf(e,t,7,l)&&(p=!0,m=hm(e,d,t,7,l,m)),g>8&&Vf(e,t,8,u)&&(p=!0,m=hm(e,d,t,8,u,m)),g>9&&Vf(e,t,9,h)&&(p=!0,m=hm(e,d,t,9,h,m)),m&&f.ngOnChanges(m),65536&t.flags&&Cf(e,256,t.nodeIndex)&&f.ngOnInit(),262144&t.flags&&f.ngDoCheck(),p}(e,t,n,r,i,s,o,a,c,l,u,h);case 32:case 64:case 128:return function(e,t,n,r,i,s,o,a,c,l,u,h){const d=t.bindings;let f=!1;const p=d.length;if(p>0&&Bf(e,t,0,n)&&(f=!0),p>1&&Bf(e,t,1,r)&&(f=!0),p>2&&Bf(e,t,2,i)&&(f=!0),p>3&&Bf(e,t,3,s)&&(f=!0),p>4&&Bf(e,t,4,o)&&(f=!0),p>5&&Bf(e,t,5,a)&&(f=!0),p>6&&Bf(e,t,6,c)&&(f=!0),p>7&&Bf(e,t,7,l)&&(f=!0),p>8&&Bf(e,t,8,u)&&(f=!0),p>9&&Bf(e,t,9,h)&&(f=!0),f){const f=jf(e,t.nodeIndex);let m;switch(201347067&t.flags){case 32:m=[],p>0&&m.push(n),p>1&&m.push(r),p>2&&m.push(i),p>3&&m.push(s),p>4&&m.push(o),p>5&&m.push(a),p>6&&m.push(c),p>7&&m.push(l),p>8&&m.push(u),p>9&&m.push(h);break;case 64:m={},p>0&&(m[d[0].name]=n),p>1&&(m[d[1].name]=r),p>2&&(m[d[2].name]=i),p>3&&(m[d[3].name]=s),p>4&&(m[d[4].name]=o),p>5&&(m[d[5].name]=a),p>6&&(m[d[6].name]=c),p>7&&(m[d[7].name]=l),p>8&&(m[d[8].name]=u),p>9&&(m[d[9].name]=h);break;case 128:const e=n;switch(p){case 1:m=e.transform(n);break;case 2:m=e.transform(r);break;case 3:m=e.transform(r,i);break;case 4:m=e.transform(r,i,s);break;case 5:m=e.transform(r,i,s,o);break;case 6:m=e.transform(r,i,s,o,a);break;case 7:m=e.transform(r,i,s,o,a,c);break;case 8:m=e.transform(r,i,s,o,a,c,l);break;case 9:m=e.transform(r,i,s,o,a,c,l,u);break;case 10:m=e.transform(r,i,s,o,a,c,l,u,h)}}f.value=m}return f}(e,t,n,r,i,s,o,a,c,l,u,h);default:throw"unreachable"}}(e,t,r,i,s,o,a,c,l,u,h,d):function(e,t,n){switch(201347067&t.flags){case 1:return function(e,t,n){let r=!1;for(let i=0;i<n.length;i++)Fy(e,t,i,n[i])&&(r=!0);return r}(e,t,n);case 2:return function(e,t,n){const r=t.bindings;let i=!1;for(let s=0;s<n.length;s++)Bf(e,t,s,n[s])&&(i=!0);if(i){let i="";for(let e=0;e<n.length;e++)i+=eb(n[e],r[e]);i=t.text.prefix+i;const s=Mf(e,t.nodeIndex).renderText;e.renderer.setValue(s,i)}return i}(e,t,n);case 16384:return function(e,t,n){const r=Tf(e,t.nodeIndex),i=r.instance;let s=!1,o=void 0;for(let a=0;a<n.length;a++)Vf(e,t,a,n[a])&&(s=!0,o=hm(e,r,t,a,n[a],o));return o&&i.ngOnChanges(o),65536&t.flags&&Cf(e,256,t.nodeIndex)&&i.ngOnInit(),262144&t.flags&&i.ngDoCheck(),s}(e,t,n);case 32:case 64:case 128:return function(e,t,n){const r=t.bindings;let i=!1;for(let s=0;s<n.length;s++)Bf(e,t,s,n[s])&&(i=!0);if(i){const i=jf(e,t.nodeIndex);let s;switch(201347067&t.flags){case 32:s=n;break;case 64:s={};for(let i=0;i<n.length;i++)s[r[i].name]=n[i];break;case 128:const e=n[0],t=n.slice(1);s=e.transform(...t)}i.value=s}return i}(e,t,n);default:throw"unreachable"}}(e,t,r)}function fb(e){const t=e.def;if(4&t.nodeFlags)for(let n=0;n<t.nodes.length;n++){const r=t.nodes[n];if(4&r.flags){const t=Ef(e,n).template._projectedViews;if(t)for(let n=0;n<t.length;n++){const r=t[n];r.state|=32,Wf(r,e)}}else 0==(4&r.childFlags)&&(n+=r.childCount)}}function pb(e,t,n,r,i,s,o,a,c,l,u,h,d){return 0===n?function(e,t,n,r,i,s,o,a,c,l,u,h){const d=t.bindings.length;d>0&&Yf(e,t,0,n);d>1&&Yf(e,t,1,r);d>2&&Yf(e,t,2,i);d>3&&Yf(e,t,3,s);d>4&&Yf(e,t,4,o);d>5&&Yf(e,t,5,a);d>6&&Yf(e,t,6,c);d>7&&Yf(e,t,7,l);d>8&&Yf(e,t,8,u);d>9&&Yf(e,t,9,h)}(e,t,r,i,s,o,a,c,l,u,h,d):function(e,t,n){for(let r=0;r<n.length;r++)Yf(e,t,r,n[r])}(e,t,r),!1}function mb(e,t){if(Df(e,t.nodeIndex).dirty)throw Sf(Af.createDebugContext(e,t.nodeIndex),`Query ${t.query.id} not dirty`,`Query ${t.query.id} dirty`,0!=(1&e.state))}function gb(e){if(!(128&e.state)){if(bb(e,vb.Destroy),yb(e,vb.Destroy),dm(e,131072),e.disposables)for(let t=0;t<e.disposables.length;t++)e.disposables[t]();!function(e){if(!(16&e.state))return;const t=$f(e);if(t){const n=t.template._projectedViews;n&&(Xn(n,n.indexOf(e)),Af.dirtyParentQueries(e))}}(e),e.renderer.destroyNode&&function(e){const t=e.def.nodes.length;for(let n=0;n<t;n++){const t=e.def.nodes[n];1&t.flags?e.renderer.destroyNode(Ef(e,n).renderElement):2&t.flags?e.renderer.destroyNode(Mf(e,n).renderText):(67108864&t.flags||134217728&t.flags)&&Df(e,n).destroy()}}(e),Jf(e)&&e.renderer.destroy(),e.state|=128}}var vb;function yb(e,t){const n=e.def;if(33554432&n.nodeFlags)for(let r=0;r<n.nodes.length;r++){const i=n.nodes[r];33554432&i.flags?_b(Ef(e,r).componentView,t):0==(33554432&i.childFlags)&&(r+=i.childCount)}}function bb(e,t){const n=e.def;if(16777216&n.nodeFlags)for(let r=0;r<n.nodes.length;r++){const i=n.nodes[r];if(16777216&i.flags){const n=Ef(e,r).viewContainer._embeddedViews;for(let e=0;e<n.length;e++)_b(n[e],t)}else 0==(16777216&i.childFlags)&&(r+=i.childCount)}}function _b(e,t){const n=e.state;switch(t){case vb.CheckNoChanges:0==(128&n)&&(12==(12&n)?ub(e):64&n&&wb(e,vb.CheckNoChangesProjectedViews));break;case vb.CheckNoChangesProjectedViews:0==(128&n)&&(32&n?ub(e):64&n&&wb(e,t));break;case vb.CheckAndUpdate:0==(128&n)&&(12==(12&n)?hb(e):64&n&&wb(e,vb.CheckAndUpdateProjectedViews));break;case vb.CheckAndUpdateProjectedViews:0==(128&n)&&(32&n?hb(e):64&n&&wb(e,t));break;case vb.Destroy:gb(e);break;case vb.CreateViewNodes:lb(e)}}function wb(e,t){bb(e,t),yb(e,t)}function Sb(e,t,n,r){if(!(e.def.nodeFlags&t&&e.def.nodeFlags&n))return;const i=e.def.nodes.length;for(let s=0;s<i;s++){const i=e.def.nodes[s];if(i.flags&t&&i.flags&n)switch(Af.setCurrentNode(e,i.nodeIndex),r){case 0:Yy(e,i);break;case 1:mb(e,i)}i.childFlags&t&&i.childFlags&n||(s+=i.childCount)}}zy.\u0275mod=ne({type:zy}),zy.\u0275inj=_({factory:function(e){return new(e||zy)(Tr(sy))},providers:Ly}),zy.ctorParameters=()=>[{type:sy}],function(e){e[e.CreateViewNodes=0]="CreateViewNodes",e[e.CheckNoChanges=1]="CheckNoChanges",e[e.CheckNoChangesProjectedViews=2]="CheckNoChangesProjectedViews",e[e.CheckAndUpdate=3]="CheckAndUpdate",e[e.CheckAndUpdateProjectedViews=4]="CheckAndUpdateProjectedViews",e[e.Destroy=5]="Destroy"}(vb||(vb={}));let xb=!1;function Ob(){if(xb)return;xb=!0;const e=Gv()?{setCurrentNode:$b,createRootView:Cb,createEmbeddedView:Eb,createComponentView:Tb,createNgModuleRef:jb,overrideProvider:zb,overrideComponentView:Pb,clearOverrides:Ib,checkAndUpdateView:Fb,checkNoChangesView:Vb,destroyView:Bb,createDebugContext:(e,t)=>new t_(e,t),handleEvent:Gb,updateDirectives:Xb,updateRenderer:Kb}:{setCurrentNode:()=>{},createRootView:kb,createEmbeddedView:ib,createComponentView:ob,createNgModuleRef:Yp,overrideProvider:Lf,overrideComponentView:Lf,clearOverrides:Lf,checkAndUpdateView:hb,checkNoChangesView:ub,destroyView:gb,createDebugContext:(e,t)=>new t_(e,t),handleEvent:(e,t,n,r)=>e.def.handleEvent(e,t,n,r),updateDirectives:(e,t)=>e.def.updateDirectives(0===t?Nb:Hb,e),updateRenderer:(e,t)=>e.def.updateRenderer(0===t?Nb:Hb,e)};Af.setCurrentNode=e.setCurrentNode,Af.createRootView=e.createRootView,Af.createEmbeddedView=e.createEmbeddedView,Af.createComponentView=e.createComponentView,Af.createNgModuleRef=e.createNgModuleRef,Af.overrideProvider=e.overrideProvider,Af.overrideComponentView=e.overrideComponentView,Af.clearOverrides=e.clearOverrides,Af.checkAndUpdateView=e.checkAndUpdateView,Af.checkNoChangesView=e.checkNoChangesView,Af.destroyView=e.destroyView,Af.resolveDep=lm,Af.createDebugContext=e.createDebugContext,Af.handleEvent=e.handleEvent,Af.updateDirectives=e.updateDirectives,Af.updateRenderer=e.updateRenderer,Af.dirtyParentQueries=By}function kb(e,t,n,r,i,s){const o=i.injector.get(Ld);return sb(Mb(e,i,o,t,n),r,s)}function Cb(e,t,n,r,i,s){const o=i.injector.get(Ld),a=Mb(e,i,new s_(o),t,n),c=Rb(r);return r_(Yb.create,sb,null,[a,c,s])}function Mb(e,t,n,r,i){const s=t.injector.get(Id),o=t.injector.get(Bi),a=n.createRenderer(null,null);return{ngModule:t,injector:e,projectableNodes:r,selectorOrNode:i,sanitizer:s,rendererFactory:n,renderer:a,errorHandler:o}}function Eb(e,t,n,r){const i=Rb(n);return r_(Yb.create,ib,null,[e,t,i,r])}function Tb(e,t,n,r){const i=Lb.get(t.element.componentProvider.provider.token);return n=i||Rb(n),r_(Yb.create,ob,null,[e,t,n,r])}function jb(e,t,n,r){return Yp(e,t,n,function(e){const{hasOverrides:t,hasDeprecatedOverrides:n}=r(e);if(!t)return e;return i(e=e.factory(()=>Lf)),e;function r(e){let t=!1,n=!1;return 0===Db.size||(e.providers.forEach(e=>{const r=Db.get(e.token);3840&e.flags&&r&&(t=!0,n=n||r.deprecatedBehavior)}),e.modules.forEach(e=>{Ab.forEach((r,i)=>{w(i).providedIn===e&&(t=!0,n=n||r.deprecatedBehavior)})})),{hasOverrides:t,hasDeprecatedOverrides:n}}function i(e){for(let t=0;t<e.providers.length;t++){const r=e.providers[t];n&&(r.flags|=4096);const i=Db.get(r.token);i&&(r.flags=-3841&r.flags|i.flags,r.deps=tp(i.deps),r.value=i.value)}if(Ab.size>0){let t=new Set(e.modules);Ab.forEach((r,i)=>{if(t.has(w(i).providedIn)){let t={token:i,flags:r.flags|(n?4096:0),deps:tp(r.deps),value:r.value,index:e.providers.length};e.providers.push(t),e.providersByKey[Pf(i)]=t}})}}}(r))}const Db=new Map,Ab=new Map,Lb=new Map;function zb(e){let t;Db.set(e.token,e),"function"==typeof e.token&&(t=w(e.token))&&"function"==typeof t.providedIn&&Ab.set(e.token,e)}function Pb(e,t){const n=ip(t.viewDefFactory);const r=ip(n.nodes[0].element.componentView);Lb.set(e,r)}function Ib(){Db.clear(),Ab.clear(),Lb.clear()}function Rb(e){if(0===Db.size)return e;const t=function(e){const t=[];let n=null;for(let r=0;r<e.nodes.length;r++){const i=e.nodes[r];1&i.flags&&(n=i),n&&3840&i.flags&&Db.has(i.provider.token)&&(t.push(n.nodeIndex),n=null)}return t}(e);if(0===t.length)return e;e=e.factory(()=>Lf);for(let r=0;r<t.length;r++)n(e,t[r]);return e;function n(e,t){for(let n=t+1;n<e.nodes.length;n++){const t=e.nodes[n];if(1&t.flags)return;if(3840&t.flags){const e=t.provider,n=Db.get(e.token);n&&(t.flags=-3841&t.flags|n.flags,e.deps=tp(n.deps),e.value=n.value)}}}}function Nb(e,t,n,r,i,s,o,a,c,l,u,h,d){const f=e.def.nodes[t];return db(e,f,n,r,i,s,o,a,c,l,u,h,d),224&f.flags?jf(e,t).value:void 0}function Hb(e,t,n,r,i,s,o,a,c,l,u,h,d){const f=e.def.nodes[t];return pb(e,f,n,r,i,s,o,a,c,l,u,h,d),224&f.flags?jf(e,t).value:void 0}function Fb(e){return r_(Yb.detectChanges,hb,null,[e])}function Vb(e){return r_(Yb.checkNoChanges,ub,null,[e])}function Bb(e){return r_(Yb.destroy,gb,null,[e])}var Yb;let Ub,Wb,qb;function $b(e,t){Wb=e,qb=t}function Gb(e,t,n,r){return $b(e,t),r_(Yb.handleEvent,e.def.handleEvent,null,[e,t,n,r])}function Xb(e,t){if(128&e.state)throw Of(Yb[Ub]);return $b(e,Zb(e,0)),e.def.updateDirectives(function(e,n,r,...i){const s=e.def.nodes[n];0===t?Jb(e,s,r,i):Qb(e,s,r,i);16384&s.flags&&$b(e,Zb(e,n));return 224&s.flags?jf(e,s.nodeIndex).value:void 0},e)}function Kb(e,t){if(128&e.state)throw Of(Yb[Ub]);return $b(e,e_(e,0)),e.def.updateRenderer(function(e,n,r,...i){const s=e.def.nodes[n];0===t?Jb(e,s,r,i):Qb(e,s,r,i);3&s.flags&&$b(e,e_(e,n));return 224&s.flags?jf(e,s.nodeIndex).value:void 0},e)}function Jb(e,t,n,r){if(db(e,t,n,...r)){const i=1===n?r[0]:r;if(16384&t.flags){const n={};for(let e=0;e<t.bindings.length;e++){const r=t.bindings[e],s=i[e];8&r.flags&&(n[Wi(r.nonMinifiedName)]=$i(s))}const r=t.parent,s=Ef(e,r.nodeIndex).renderElement;if(r.element.name)for(let t in n){const r=n[t];null!=r?e.renderer.setAttribute(s,t,r):e.renderer.removeAttribute(s,t)}else e.renderer.setValue(s,Ui("bindings="+JSON.stringify(n,null,2)))}}}function Qb(e,t,n,r){pb(e,t,n,...r)}function Zb(e,t){for(let n=t;n<e.def.nodes.length;n++){const t=e.def.nodes[n];if(16384&t.flags&&t.bindings&&t.bindings.length)return n}return null}function e_(e,t){for(let n=t;n<e.def.nodes.length;n++){const t=e.def.nodes[n];if(3&t.flags&&t.bindings&&t.bindings.length)return n}return null}!function(e){e[e.create=0]="create",e[e.detectChanges=1]="detectChanges",e[e.checkNoChanges=2]="checkNoChanges",e[e.destroy=3]="destroy",e[e.handleEvent=4]="handleEvent"}(Yb||(Yb={}));class t_{constructor(e,t){this.view=e,this.nodeIndex=t,null==t&&(this.nodeIndex=t=0),this.nodeDef=e.def.nodes[t];let n=this.nodeDef,r=e;for(;n&&0==(1&n.flags);)n=n.parent;if(!n)for(;!n&&r;)n=Gf(r),r=r.parent;this.elDef=n,this.elView=r}get elOrCompView(){return Ef(this.elView,this.elDef.nodeIndex).componentView||this.view}get injector(){return Fp(this.elView,this.elDef)}get component(){return this.elOrCompView.component}get context(){return this.elOrCompView.context}get providerTokens(){const e=[];if(this.elDef)for(let t=this.elDef.nodeIndex+1;t<=this.elDef.nodeIndex+this.elDef.childCount;t++){const n=this.elView.def.nodes[t];20224&n.flags&&e.push(n.provider.token),t+=n.childCount}return e}get references(){const e={};if(this.elDef){n_(this.elView,this.elDef,e);for(let t=this.elDef.nodeIndex+1;t<=this.elDef.nodeIndex+this.elDef.childCount;t++){const n=this.elView.def.nodes[t];20224&n.flags&&n_(this.elView,n,e),t+=n.childCount}}return e}get componentRenderElement(){const e=function(e){for(;e&&!Jf(e);)e=e.parent;if(e.parent)return Ef(e.parent,Gf(e).nodeIndex);return null}(this.elOrCompView);return e?e.renderElement:void 0}get renderNode(){return 2&this.nodeDef.flags?Xf(this.view,this.nodeDef):Xf(this.elView,this.elDef)}logError(e,...t){let n,r;2&this.nodeDef.flags?(n=this.view.def,r=this.nodeDef.nodeIndex):(n=this.elView.def,r=this.elDef.nodeIndex);const i=function(e,t){let n=-1;for(let r=0;r<=t;r++){3&e.nodes[r].flags&&n++}return n}(n,r);let s=-1;n.factory(()=>(s++,s===i?e.error.bind(e,...t):Lf)),s<i&&(e.error("Illegal state: the ViewDefinitionFactory did not call the logger!"),e.error(...t))}}function n_(e,t,n){for(let r in t.references)n[r]=Wy(e,t,t.references[r])}function r_(e,t,n,r){const i=Ub,s=Wb,o=qb;try{Ub=e;const a=t.apply(n,r);return Wb=s,qb=o,Ub=i,a}catch(a){if(Hi(a)||!Wb)throw a;throw function(e,t){return e instanceof Error||(e=new Error(e.toString())),xf(e,t),e}(a,i_())}}function i_(){return Wb?new t_(Wb,qb):null}class s_{constructor(e){this.delegate=e}createRenderer(e,t){return new o_(this.delegate.createRenderer(e,t))}begin(){this.delegate.begin&&this.delegate.begin()}end(){this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.delegate.whenRenderingDone?this.delegate.whenRenderingDone():Promise.resolve(null)}}class o_{constructor(e){this.delegate=e,this.debugContextFactory=i_,this.data=this.delegate.data}createDebugContext(e){return this.debugContextFactory(e)}destroyNode(e){const t=Ty(e);!function(e){Cy.delete(e.nativeNode)}(t),t instanceof py&&(t.listeners.length=0),this.delegate.destroyNode&&this.delegate.destroyNode(e)}destroy(){this.delegate.destroy()}createElement(e,t){const n=this.delegate.createElement(e,t),r=this.createDebugContext(n);if(r){const t=new my(n,null,r);t.name=e,Dy(t)}return n}createComment(e){const t=this.delegate.createComment(Ui(e)),n=this.createDebugContext(t);return n&&Dy(new py(t,null,n)),t}createText(e){const t=this.delegate.createText(e),n=this.createDebugContext(t);return n&&Dy(new py(t,null,n)),t}appendChild(e,t){const n=Ty(e),r=Ty(t);n&&r&&n instanceof my&&n.addChild(r),this.delegate.appendChild(e,t)}insertBefore(e,t,n,r){const i=Ty(e),s=Ty(t),o=Ty(n);i&&s&&i instanceof my&&i.insertBefore(o,s),this.delegate.insertBefore(e,t,n,r)}removeChild(e,t){const n=Ty(e),r=Ty(t);n&&r&&n instanceof my&&n.removeChild(r),this.delegate.removeChild(e,t)}selectRootElement(e,t){const n=this.delegate.selectRootElement(e,t),r=i_();return r&&Dy(new my(n,null,r)),n}setAttribute(e,t,n,r){const i=Ty(e);if(i&&i instanceof my){const e=r?r+":"+t:t;i.attributes[e]=n}this.delegate.setAttribute(e,t,n,r)}removeAttribute(e,t,n){const r=Ty(e);if(r&&r instanceof my){const e=n?n+":"+t:t;r.attributes[e]=null}this.delegate.removeAttribute(e,t,n)}addClass(e,t){const n=Ty(e);n&&n instanceof my&&(n.classes[t]=!0),this.delegate.addClass(e,t)}removeClass(e,t){const n=Ty(e);n&&n instanceof my&&(n.classes[t]=!1),this.delegate.removeClass(e,t)}setStyle(e,t,n,r){const i=Ty(e);i&&i instanceof my&&(i.styles[t]=n),this.delegate.setStyle(e,t,n,r)}removeStyle(e,t,n){const r=Ty(e);r&&r instanceof my&&(r.styles[t]=null),this.delegate.removeStyle(e,t,n)}setProperty(e,t,n){const r=Ty(e);r&&r instanceof my&&(r.properties[t]=n),this.delegate.setProperty(e,t,n)}listen(e,t,n){if("string"!=typeof e){const r=Ty(e);r&&r.listeners.push(new fy(t,n))}return this.delegate.listen(e,t,n)}parentNode(e){return this.delegate.parentNode(e)}nextSibling(e){return this.delegate.nextSibling(e)}setValue(e,t){return this.delegate.setValue(e,t)}}function a_(e,t,n){return new c_(e,t,n)}class c_ extends pf{constructor(e,t,n){super(),this.moduleType=e,this._bootstrapComponents=t,this._ngModuleDefFactory=n}create(e){Ob();const t=function(e){const t=Array.from(e.providers),n=Array.from(e.modules),r={};for(const i in e.providersByKey)r[i]=e.providersByKey[i];return{factory:e.factory,scope:e.scope,providers:t,modules:n,providersByKey:r}}(ip(this._ngModuleDefFactory));return Af.createNgModuleRef(this.moduleType,e||ka.NULL,this._bootstrapComponents,t)}}},fzPg:function(e,t,n){!function(e){"use strict";e.defineLocale("yo",{months:"S\u1eb9\u0301r\u1eb9\u0301_E\u0300re\u0300le\u0300_\u1eb8r\u1eb9\u0300na\u0300_I\u0300gbe\u0301_E\u0300bibi_O\u0300ku\u0300du_Ag\u1eb9mo_O\u0300gu\u0301n_Owewe_\u1ecc\u0300wa\u0300ra\u0300_Be\u0301lu\u0301_\u1ecc\u0300p\u1eb9\u0300\u0300".split("_"),monthsShort:"S\u1eb9\u0301r_E\u0300rl_\u1eb8rn_I\u0300gb_E\u0300bi_O\u0300ku\u0300_Ag\u1eb9_O\u0300gu\u0301_Owe_\u1ecc\u0300wa\u0300_Be\u0301l_\u1ecc\u0300p\u1eb9\u0300\u0300".split("_"),weekdays:"A\u0300i\u0300ku\u0301_Aje\u0301_I\u0300s\u1eb9\u0301gun_\u1eccj\u1ecd\u0301ru\u0301_\u1eccj\u1ecd\u0301b\u1ecd_\u1eb8ti\u0300_A\u0300ba\u0301m\u1eb9\u0301ta".split("_"),weekdaysShort:"A\u0300i\u0300k_Aje\u0301_I\u0300s\u1eb9\u0301_\u1eccjr_\u1eccjb_\u1eb8ti\u0300_A\u0300ba\u0301".split("_"),weekdaysMin:"A\u0300i\u0300_Aj_I\u0300s_\u1eccr_\u1eccb_\u1eb8t_A\u0300b".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[O\u0300ni\u0300 ni] LT",nextDay:"[\u1ecc\u0300la ni] LT",nextWeek:"dddd [\u1eccs\u1eb9\u0300 to\u0301n'b\u1ecd] [ni] LT",lastDay:"[A\u0300na ni] LT",lastWeek:"dddd [\u1eccs\u1eb9\u0300 to\u0301l\u1ecd\u0301] [ni] LT",sameElse:"L"},relativeTime:{future:"ni\u0301 %s",past:"%s k\u1ecdja\u0301",s:"i\u0300s\u1eb9ju\u0301 aaya\u0301 die",ss:"aaya\u0301 %d",m:"i\u0300s\u1eb9ju\u0301 kan",mm:"i\u0300s\u1eb9ju\u0301 %d",h:"wa\u0301kati kan",hh:"wa\u0301kati %d",d:"\u1ecdj\u1ecd\u0301 kan",dd:"\u1ecdj\u1ecd\u0301 %d",M:"osu\u0300 kan",MM:"osu\u0300 %d",y:"\u1ecddu\u0301n kan",yy:"\u1ecddu\u0301n %d"},dayOfMonthOrdinalParse:/\u1ecdj\u1ecd\u0301\s\d{1,2}/,ordinal:"\u1ecdj\u1ecd\u0301 %d",week:{dow:1,doy:4}})}(n("wd/R"))},g9KO:function(e,t,n){"use strict";n.d(t,"a",function(){return a});var r=n("/h9T"),i=n("/Tr7"),s=n("jIYg");function o(e,t){Object(s.a)(2,arguments);var n=Object(i.a)(e).getTime(),o=Object(r.a)(t);return new Date(n+o)}function a(e,t){Object(s.a)(2,arguments);var n=Object(r.a)(t);return o(e,-n)}},gRHU:function(e,t,n){"use strict";n.d(t,"a",function(){return s});var r=n("2fFW"),i=n("NJ4a");const s={closed:!0,next(e){},error(e){if(r.a.useDeprecatedSynchronousErrorHandling)throw e;Object(i.a)(e)},complete(){}}},gVVK:function(e,t,n){!function(e){"use strict";function t(e,t,n,r){var i=e+" ";switch(n){case"s":return t||r?"nekaj sekund":"nekaj sekundami";case"ss":return i+=1===e?t?"sekundo":"sekundi":2===e?t||r?"sekundi":"sekundah":e<5?t||r?"sekunde":"sekundah":"sekund";case"m":return t?"ena minuta":"eno minuto";case"mm":return i+=1===e?t?"minuta":"minuto":2===e?t||r?"minuti":"minutama":e<5?t||r?"minute":"minutami":t||r?"minut":"minutami";case"h":return t?"ena ura":"eno uro";case"hh":return i+=1===e?t?"ura":"uro":2===e?t||r?"uri":"urama":e<5?t||r?"ure":"urami":t||r?"ur":"urami";case"d":return t||r?"en dan":"enim dnem";case"dd":return i+=1===e?t||r?"dan":"dnem":2===e?t||r?"dni":"dnevoma":t||r?"dni":"dnevi";case"M":return t||r?"en mesec":"enim mesecem";case"MM":return i+=1===e?t||r?"mesec":"mesecem":2===e?t||r?"meseca":"mesecema":e<5?t||r?"mesece":"meseci":t||r?"mesecev":"meseci";case"y":return t||r?"eno leto":"enim letom";case"yy":return i+=1===e?t||r?"leto":"letom":2===e?t||r?"leti":"letoma":e<5?t||r?"leta":"leti":t||r?"let":"leti"}}e.defineLocale("sl",{months:"januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljek_torek_sreda_\u010detrtek_petek_sobota".split("_"),weekdaysShort:"ned._pon._tor._sre._\u010det._pet._sob.".split("_"),weekdaysMin:"ne_po_to_sr_\u010de_pe_so".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD. MM. YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danes ob] LT",nextDay:"[jutri ob] LT",nextWeek:function(){switch(this.day()){case 0:return"[v] [nedeljo] [ob] LT";case 3:return"[v] [sredo] [ob] LT";case 6:return"[v] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[v] dddd [ob] LT"}},lastDay:"[v\u010deraj ob] LT",lastWeek:function(){switch(this.day()){case 0:return"[prej\u0161njo] [nedeljo] [ob] LT";case 3:return"[prej\u0161njo] [sredo] [ob] LT";case 6:return"[prej\u0161njo] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[prej\u0161nji] dddd [ob] LT"}},sameElse:"L"},relativeTime:{future:"\u010dez %s",past:"pred %s",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n("wd/R"))},gXqy:function(e,t,n){"use strict";n.d(t,"a",function(){return a});var r=n("JCDJ"),i=n("M34a"),s=n("jIYg"),o=864e5;function a(e,t){Object(s.a)(2,arguments);var n=Object(i.a)(e),a=Object(i.a)(t),c=n.getTime()-Object(r.a)(n),l=a.getTime()-Object(r.a)(a);return Math.round((c-l)/o)}},gekB:function(e,t,n){!function(e){"use strict";var t="nolla yksi kaksi kolme nelj\xe4 viisi kuusi seitsem\xe4n kahdeksan yhdeks\xe4n".split(" "),n=["nolla","yhden","kahden","kolmen","nelj\xe4n","viiden","kuuden",t[7],t[8],t[9]];function r(e,t,n,r){var s="";switch(n){case"s":return r?"muutaman sekunnin":"muutama sekunti";case"ss":s=r?"sekunnin":"sekuntia";break;case"m":return r?"minuutin":"minuutti";case"mm":s=r?"minuutin":"minuuttia";break;case"h":return r?"tunnin":"tunti";case"hh":s=r?"tunnin":"tuntia";break;case"d":return r?"p\xe4iv\xe4n":"p\xe4iv\xe4";case"dd":s=r?"p\xe4iv\xe4n":"p\xe4iv\xe4\xe4";break;case"M":return r?"kuukauden":"kuukausi";case"MM":s=r?"kuukauden":"kuukautta";break;case"y":return r?"vuoden":"vuosi";case"yy":s=r?"vuoden":"vuotta"}return s=i(e,r)+" "+s}function i(e,r){return e<10?r?n[e]:t[e]:e}e.defineLocale("fi",{months:"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kes\xe4kuu_hein\xe4kuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),monthsShort:"tammi_helmi_maalis_huhti_touko_kes\xe4_hein\xe4_elo_syys_loka_marras_joulu".split("_"),weekdays:"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),weekdaysShort:"su_ma_ti_ke_to_pe_la".split("_"),weekdaysMin:"su_ma_ti_ke_to_pe_la".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"Do MMMM[ta] YYYY",LLL:"Do MMMM[ta] YYYY, [klo] HH.mm",LLLL:"dddd, Do MMMM[ta] YYYY, [klo] HH.mm",l:"D.M.YYYY",ll:"Do MMM YYYY",lll:"Do MMM YYYY, [klo] HH.mm",llll:"ddd, Do MMM YYYY, [klo] HH.mm"},calendar:{sameDay:"[t\xe4n\xe4\xe4n] [klo] LT",nextDay:"[huomenna] [klo] LT",nextWeek:"dddd [klo] LT",lastDay:"[eilen] [klo] LT",lastWeek:"[viime] dddd[na] [klo] LT",sameElse:"L"},relativeTime:{future:"%s p\xe4\xe4st\xe4",past:"%s sitten",s: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"))},gjCT:function(e,t,n){!function(e){"use strict";var t={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},n={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"};e.defineLocale("ar-sa",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a\u0648_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648_\u0623\u063a\u0633\u0637\u0633_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a\u0648_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648_\u0623\u063a\u0633\u0637\u0633_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(e){return"\u0645"===e},meridiem:function(e,t,n){return e<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},preparse:function(e){return e.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(e){return n[e]}).replace(/\u060c/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]}).replace(/,/g,"\u060c")},week:{dow:0,doy:6}})}(n("wd/R"))},gr1v:function(e,t,n){"use strict";n.d(t,"a",function(){return o});var r=n("/Tr7"),i=n("jIYg"),s=n("tpup");function o(e){Object(i.a)(1,arguments);var t=Object(r.a)(e),n=t.getUTCFullYear(),o=new Date(0);o.setUTCFullYear(n+1,0,4),o.setUTCHours(0,0,0,0);var a=Object(s.a)(o),c=new Date(0);c.setUTCFullYear(n,0,4),c.setUTCHours(0,0,0,0);var l=Object(s.a)(c);return t.getTime()>=a.getTime()?n+1:t.getTime()>=l.getTime()?n:n-1}},hGzL:function(e,t,n){"use strict";n.d(t,"a",function(){return s});var r=n("xwJx"),i=n("mjQ1");const s={class:"e0637bd5-d52f-4dec-b347-a1a8b97db3fd",root:n("5puH").e.root,collection:"9950fa95-fc50-4e1c-90ae-d020b1986c4d",properties:{created:r.w.entities.attributes.created,name:r.w.entities.attributes.name,user:{id:"626c45fb-0d8a-4888-8239-e6e2c775e520",map:i.b.option},author:{id:"200dde38-772c-42d2-a3cb-fcd28d96e2bf",map:i.b.option},organization:{id:"9296bcb2-2574-4adf-a6cf-c8807bc70b9c",map:i.b.option}}}},hKrs:function(e,t,n){!function(e){"use strict";e.defineLocale("bg",{months:"\u044f\u043d\u0443\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0439_\u044e\u043d\u0438_\u044e\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0432\u0440\u0438_\u043e\u043a\u0442\u043e\u043c\u0432\u0440\u0438_\u043d\u043e\u0435\u043c\u0432\u0440\u0438_\u0434\u0435\u043a\u0435\u043c\u0432\u0440\u0438".split("_"),monthsShort:"\u044f\u043d\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(e){var t=e%10,n=e%100;return 0===e?e+"-\u0435\u0432":0===n?e+"-\u0435\u043d":n>10&&n<20?e+"-\u0442\u0438":1===t?e+"-\u0432\u0438":2===t?e+"-\u0440\u0438":7===t||8===t?e+"-\u043c\u0438":e+"-\u0442\u0438"},week:{dow:1,doy:7}})}(n("wd/R"))},hYiY:function(e,t,n){"use strict";n.d(t,"a",function(){return E});var r,i=n("mrSG"),s=n("fXoL"),o=n("xwJx"),a=n("mjQ1"),c=n("SURy"),l=n("2kdd"),u=n("btuV"),h=n("cp0P"),d=n("Cfvw"),f=n("LRne"),p=n("lJxs"),m=n("bHdf"),g=n("eIep"),v=n("5puH"),y=n("9eNV"),b=n("Jy0u"),_=n("X3iQ"),w=n("/vgn");!function(e){e[e.Active=39911184]="Active",e[e.NotActive=39911189]="NotActive"}(r||(r={}));var S=n("v7iw"),x=n("T5Ll"),O=n("sz8Q"),k=n("rgsH"),C=n("BKcn"),M=n("2oA3");let E=class{constructor(e,t,n,r,i,s){this.entities=e,this.metadata=t,this.security=n,this.directoriesService=r,this.companiesService=i,this.user=s,this.stages=[],this.consentTemplate=this.metadata.classes.getNames("\u0428\u0430\u0431\u043b\u043e\u043d \u0441\u043e\u0433\u043b\u0430\u0441\u043e\u0432\u0430\u043d\u0438\u044f"),this.matching=this.metadata.classes.getNames("\u0421\u043e\u0433\u043b\u0430\u0441\u0443\u044e\u0449\u0438\u0435"),this.approvalStage=this.metadata.classes.getNames("\u042d\u0442\u0430\u043f \u0441\u043e\u0433\u043b\u0430\u0441\u043e\u0432\u0430\u043d\u0438\u044f"),this.setOfDocuments=this.metadata.classes.getNames("\u041a\u043e\u043c\u043f\u043b\u0435\u043a\u0442 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u043e\u0432"),this.agreement=this.metadata.classes.getNames("\u0421\u043e\u0433\u043b\u0430\u0441\u043e\u0432\u0430\u043d\u0438\u0435")}query(e,t,n,i=!1){const s=[Object(b.b)(x.a.class)];return Object(h.a)({role:this.directoriesService.role,status:this.directoriesService.consentTemplateStatus,klass:Object(h.a)([Object(d.a)(this.consentTemplate),Object(d.a)(this.matching)]),roles:this.getProjectRoles(t,i),companies:i?this.companiesService.getCompaniesInProjectByUser(t):Object(f.a)([])}).pipe(Object(p.a)(({role:u,status:h,klass:d,roles:f,companies:p})=>{const m=(u||[]).find(e=>"\u0418\u043d\u0438\u0446\u0438\u0430\u0442\u043e\u0440"===e.name);var g;m&&s.push((g=m.id,{[Object(l.h)(Object(a.e)(x.a.properties.role))]:{exists:{id:{eq:g}}}}));const v=[c(this.user)];f.length&&v.push({[Object(l.h)(Object(a.e)(x.a.properties.functionalRoles))]:{exists:Object(l.b)(f.map(e=>({id:{eq:e.role.id}})))}}),p.length&&v.push({[Object(l.h)(Object(a.e)(x.a.properties.company))]:{exists:Object(l.b)(p.map(e=>({id:{eq:e.company.id}})))}}),v.length>1?s.push(Object(l.b)(v)):i&&s.push(c(this.user));const y=(h||[]).find(e=>e.name="\u0410\u043a\u0442\u0438\u0432\u043d\u044b\u0439"),S=[Object(b.b)(d[0].id),Object(b.e)(t),o(y?y.id:r.Active)];return n&&S.push(function(e){return{[Object(l.c)(Object(a.e)(w.a.properties.template))]:{startsWith:"%"+e}}}(n)),this.entities.analytic.query({where:Object(l.a)(S),select:Object(a.f)(w.a,d[0]),join:{[Object(l.d)(_.b)]:{where:Object(l.a)(s),select:Object(a.f)(x.a,d[1])}}},e)}),Object(m.a)(),Object(p.a)(e=>{const t=Object(b.j)(e.items,{schema:w.a,connect:([e],t)=>e.push(t)},{schema:x.a,connect:([e,t],n)=>{var r,i;null!==(r=t.initiators)&&void 0!==r||(t.initiators=[]),t.initiators.push(n);const s=n.company||n.functionalRoles||n.profile;null!==(i=t.initiatorsProfile)&&void 0!==i||(t.initiatorsProfile=[]),t.initiatorsProfile.push(s)}}).filter(e=>e.initiators);return Object.assign(Object.assign({},e),{items:t,total:t.length})}));function o(e){return{[Object(l.h)(Object(a.e)(w.a.properties.status))]:{exists:{id:{eq:e}}}}}function c(e){return{[Object(l.h)(Object(a.e)(x.a.properties.profile))]:{exists:{id:{eq:e.id}}}}}}get(e){return Object(h.a)([Object(d.a)(this.consentTemplate),Object(d.a)(this.matching)]).pipe(Object(p.a)(([t,n])=>this.entities.analytic.query({where:{id:{eq:e}},select:Object(a.f)(w.a,t),join:{[Object(l.d)(_.b)]:{where:Object(b.b)(x.a.class),select:Object(a.f)(x.a,n)}}},{take:50,skip:0})),Object(m.a)(),Object(p.a)(e=>Object(b.j)(e.items,{schema:w.a,connect:([e],t)=>e.push(t)},{schema:x.a,connect:([e,t],n)=>{var r;return null!==(r=t.initiators)&&void 0!==r||(t.initiators=[]),t.initiators.push(n)}}).filter(e=>e.initiators)))}getStageById(e){return Object(h.a)([Object(d.a)(this.approvalStage),Object(d.a)(this.matching)]).pipe(Object(p.a)(([t,n])=>this.entities.analytic.query({where:{id:{eq:e}},select:Object(a.f)(_.a,t),join:{[Object(l.d)(_.b)]:{where:Object(b.b)(x.a.class),select:Object(a.f)(x.a,n)}}},{take:50,skip:0})),Object(m.a)(),Object(p.a)(e=>Object(b.j)(e.items,{schema:_.a,connect:([e],t)=>e.push(t)},{schema:x.a,connect:([e,t],n)=>{var r;return null!==(r=t.initiators)&&void 0!==r||(t.initiators=[]),t.initiators.push(n)}}).filter(e=>e.initiators)))}getStageCollection(e){return Object(h.a)([Object(d.a)(this.matching),Object(d.a)(this.approvalStage)]).pipe(Object(p.a)(([t,n])=>this.entities.analytic.query({where:Object(l.a)([Object(b.e)(e),Object(b.b)(_.a.class)]),select:Object(a.f)(_.a,n),join:{[Object(l.d)(_.b)]:{where:Object(b.b)(x.a.class),select:Object(a.f)(x.a,t)}}},{take:100,skip:0})),Object(m.a)(),Object(p.a)(e=>Object(b.j)(e.items,{schema:_.a,connect:([e],t)=>e.push(t)},{schema:x.a,connect:([e,t],n)=>{var r;return null!==(r=t.initiators)&&void 0!==r||(t.initiators=[]),t.initiators.push(n)}})),Object(p.a)(e=>e.map(e=>Object.assign(Object.assign({},e),{agreementNumber:Object.assign(Object.assign({},e.agreementNumber),{name:this.objReplace(e.agreementNumber.name)})}))))}getChecklistCollection(e){return Object(i.a)(this,void 0,void 0,function*(){const t=yield this.metadata.classes.getNames("\u0427\u0435\u043a-\u043b\u0438\u0441\u0442");return(yield this.entities.collections(e,C.a).query(Object.assign({skip:0,take:100},Object(a.d)(C.b,t)))).items.map(e=>Object(a.j)(e,C.b))})}find(e=[]){return Object(d.a)(this.security.users.query()).pipe(Object(p.a)(t=>e.length?t.filter(({principal:t})=>e.includes(t)).map(({name:e})=>e):t.map(({name:e})=>e)),Object(g.a)(e=>Object(d.a)(this.security.profiles.get(e))),Object(p.a)(e=>e.filter(e=>!!e)),Object(p.a)(e=>e.sort(Object(o.t)(e=>e.fullname))))}createAgreementTemplate(e,t,n){return Object(i.a)(this,void 0,void 0,function*(){const r=yield this.consentTemplate,i={};e.name&&(i.template=e.name),(null==e?void 0:e.targetFolder)&&(null==e?void 0:e.copyFolder)&&(i.targetFolder=e.targetFolder),e.desc&&(i.description=e.desc),e.stages.length&&(i.stages=e.stages.length),t&&(i.status={id:t.id,name:t.name});const s=Object(a.h)(i,w.a,r);return yield this.entities.collections(n,v.a).create(s)})}createAgreementStages(e,t,n){return Object(i.a)(this,void 0,void 0,function*(){const r=(yield this.directoriesService.numberOfApprovers.toPromise())||[],i=(yield this.directoriesService.matchingCheckType.toPromise())||[],s=(yield this.directoriesService.dayType.toPromise())||[],o=yield this.approvalStage,c={agreementNumber:r.find(t=>t.name===this.objReplace(e.countCoordinating)),typeCheckAgreement:i.find(t=>t.name===this.objReplace(e.type)),nameStage:e.nameStage,stagesNumber:n,typeDay:s.find(t=>t.name===e.typeDays)};e.stageTime&&(c.stageTime=e.stageTime),"\u041c\u0438\u043d\u0438\u043c\u0430\u043b\u044c\u043d\u043e\u0435 \u0447\u0438\u0441\u043b\u043e \u0443\u0447\u0430\u0441\u0442\u043d\u0438\u043a\u043e\u0432"===e.type&&(c.minNumberAgreement=e.countMembers);const l=Object(a.h)(c,_.a,o);return yield this.entities.collections(t,_.c).create(l)})}createCoordinating(e,t,n,r,s){return Object(i.a)(this,void 0,void 0,function*(){let i=((yield this.directoriesService.role.toPromise())||[]).find(e=>"\u0421\u043e\u0433\u043b\u0430\u0441\u0443\u044e\u0449\u0438\u0439"===e.name);const o=yield this.matching,c=this.setFuncRole(e,n),l=this.setCompany(e,r),u=this.setUser(e,t);if(u&&u.length)for(let e of u){const t={profile:e,role:i},n=Object(a.h)(t,x.a,o);yield this.entities.collections(s,_.b).create(n)}if(c&&c.length)for(let e of c){const t={functionalRoles:{name:e.name,id:e.id,created:new Date,modified:new Date},role:i},n=Object(a.h)(t,x.a,o);yield this.entities.collections(s,_.b).create(n)}if(l&&l.length)for(let e of l){const t={company:{name:e.name,id:e.id},role:i},n=Object(a.h)(t,x.a,o);yield this.entities.collections(s,_.b).create(n)}})}createOrUpdateChecklist(e,t){return Object(i.a)(this,void 0,void 0,function*(){const n=yield this.metadata.classes.getNames("\u0427\u0435\u043a-\u043b\u0438\u0441\u0442");if(e.id){const t={name:e.name},r=Object(a.i)(t,{},C.b,n);yield this.entities.update(Object.assign(Object.assign({},r),{id:e.id}))}else{const r={name:e.name},i=Object(a.h)(r,C.b,n);yield this.entities.collections(t,C.a).create(i)}})}removeChecklists(e){return Object(i.a)(this,void 0,void 0,function*(){yield this.entities.delete(...e)})}createInitiator(e,t,n,r,s){return Object(i.a)(this,void 0,void 0,function*(){let i=((yield this.directoriesService.role.toPromise())||[]).find(e=>"\u0418\u043d\u0438\u0446\u0438\u0430\u0442\u043e\u0440"===e.name);const o=yield this.matching,c=(null==t?void 0:t.length)&&t.filter(t=>e.includes(t.id)),l=(null==n?void 0:n.length)&&n.filter(t=>e.includes(t.id)),u=(null==r?void 0:r.length)&&r.filter(t=>e.includes(t.id));if(c&&c.length)for(let e of c){const t={profile:e,role:i},n=Object(a.h)(t,x.a,o);yield this.entities.collections(s,_.b).create(n)}if(l&&l.length)for(let e of l){const t={functionalRoles:{name:e.name,id:e.id,created:new Date,modified:new Date},role:i},n=Object(a.h)(t,x.a,o);yield this.entities.collections(s,_.b).create(n)}if(u&&u.length)for(let e of u){const t={company:{name:e.name,id:e.id},role:i},n=Object(a.h)(t,x.a,o);yield this.entities.collections(s,_.b).create(n)}})}update(e,t){return Object(i.a)(this,void 0,void 0,function*(){yield this.entities.update(Object.assign(Object.assign({},e),{id:t}))})}updateTemplate(e,t,n){return Object(i.a)(this,void 0,void 0,function*(){const r=yield this.consentTemplate,i={},s={};e.name&&(i.template=e.name),e.desc&&(i.description=e.desc),(null==e?void 0:e.targetFolder)&&(null==e?void 0:e.copyFolder)&&(i.targetFolder=e.targetFolder),t.template&&(s.template=t.template),t.description&&(s.description=t.description),t.targetFolder&&(s.targetFolder=t.targetFolder);const o=Object(a.i)(i,s,w.a,r);yield this.update(o,n)})}updateInitiators(e,t,n,r,s,o){return Object(i.a)(this,void 0,void 0,function*(){const i=e.filter(e=>!t.some(t=>{var n;return(null===(n=t.profile)||void 0===n?void 0:n.id)===e})),a=r.filter(e=>(i||[]).includes(e.id)),c=s.filter(e=>(i||[]).includes(e.id)),l=o.filter(e=>(i||[]).includes(e.id));if(a.length){const e=a.map(e=>e.id);yield this.createInitiator(e,r,s,o,n)}if(c.length){const e=c.map(e=>e.id);yield this.createInitiator(e,r,s,o,n)}if(l.length){const e=l.map(e=>e.id);yield this.createInitiator(e,r,s,o,n)}const u=t.filter(t=>{var n;return!e.includes(null===(n=t.profile)||void 0===n?void 0:n.id)});u.length&&(yield this.entities.delete(...u.map(e=>e.id)))})}updateStages(e,t,n,r,s,o){var c,l,u;return Object(i.a)(this,void 0,void 0,function*(){const i=(yield this.directoriesService.numberOfApprovers.toPromise())||[],h=(yield this.directoriesService.matchingCheckType.toPromise())||[],d=(yield this.directoriesService.dayType.toPromise())||[],f=yield this.approvalStage,p={typeCheckAgreement:h.find(t=>t.name===this.objReplace(e.type)),stageTime:e.stageTime,typeDay:d.find(t=>t.name===e.typeDays),agreementNumber:i.find(t=>t.name===this.objReplace(e.countCoordinating))};"\u041c\u0438\u043d\u0438\u043c\u0430\u043b\u044c\u043d\u043e\u0435 \u0447\u0438\u0441\u043b\u043e \u0443\u0447\u0430\u0441\u0442\u043d\u0438\u043a\u043e\u0432"===e.type&&(p.minNumberAgreement=e.countMembers),e.nameStage&&(p.nameStage=e.nameStage);const m={typeCheckAgreement:t.typeCheckAgreement,stagesTime:t.stageTime,typeDay:t.typeDay,agreementNumber:t.agreementNumber};if((null===(c=t.typeCheckAgreement)||void 0===c?void 0:c.name)===this.objReplace("\u041c\u0438\u043d\u0438\u043c\u0430\u043b\u044c\u043d\u043e\u0435 \u0447\u0438\u0441\u043b\u043e \u0443\u0447\u0430\u0441\u0442\u043d\u0438\u043a\u043e\u0432")&&(m.minNumberAgreement=t.minNumberAgreement),t.nameStage&&(m.nameStage=t.nameStage),(null===(l=p.typeCheckAgreement)||void 0===l?void 0:l.id)!==(null===(u=m.typeCheckAgreement)||void 0===u?void 0:u.id)||p.stageTime!==m.stageTime||p.nameStage!==m.nameStage||p.typeDay.id!==m.typeDay.id||p.minNumberAgreement!==m.minNumberAgreement||p.agreementNumber.id!==m.agreementNumber.id){const e=Object(a.i)(p,m,_.a,f);yield this.update(e,o)}const g=this.setUser(e,n),v=this.setFuncRole(e,r),y=this.setCompany(e,s),b=g.filter(e=>!(t.initiators||[]).some(t=>{var n;return(null===(n=t.profile)||void 0===n?void 0:n.id)===e.id})),w=v.filter(e=>!(t.initiators||[]).some(t=>t.id===e.id)),S=y.filter(e=>!(t.initiators||[]).some(t=>t.id===e.id));b.length&&(e.coordinating=b.map(e=>e.id),yield this.createCoordinating(e,n,r,s,o)),w.length&&(e.coordinating=w.map(e=>e.id),yield this.createCoordinating(e,n,r,s,o)),S.length&&(e.coordinating=S.map(e=>e.id),yield this.createCoordinating(e,n,r,s,o));let x=(t.initiators||[]).filter(e=>!g.some(t=>{var n;return t.id===(null===(n=e.profile)||void 0===n?void 0:n.id)}));x.length&&(yield this.entities.delete(...x.map(e=>e.id)))})}objReplace(e){let t="";switch(e){case"\u041e\u0434\u0438\u043d \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u044e\u0449\u0438\u0439":t="\u041e\u0434\u0438\u043d \u0441\u043e\u0433\u043b\u0430\u0441\u0443\u044e\u0449\u0438\u0439";break;case"\u041e\u0434\u0438\u043d \u0441\u043e\u0433\u043b\u0430\u0441\u0443\u044e\u0449\u0438\u0439":t="\u041e\u0434\u0438\u043d \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u044e\u0449\u0438\u0439";break;case"\u041d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u044e\u0449\u0438\u0445":t="\u041d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0441\u043e\u0433\u043b\u0430\u0441\u0443\u044e\u0449\u0438\u0445";break;case"\u041c\u0438\u043d\u0438\u043c\u0430\u043b\u044c\u043d\u043e\u0435 \u0447\u0438\u0441\u043b\u043e \u0443\u0447\u0430\u0441\u0442\u043d\u0438\u043a\u043e\u0432":t="\u041c\u0438\u043d\u0438\u043c\u0430\u043b\u044c\u043d\u043e\u0435 \u0447\u0438\u0441\u043b\u043e \u0441\u043e\u0433\u043b\u0430\u0441\u0443\u044e\u0449\u0438\u0445";break;default:t=e}return t}setUser(e,t){return"\u041e\u0434\u0438\u043d \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u044e\u0449\u0438\u0439"===e.countCoordinating?"number"==typeof e.coordinating?t&&t.filter(t=>t.id===e.coordinating):t&&t.filter(t=>t.id===e.coordinating[0]):"number"==typeof e.coordinating?t&&t.filter(t=>t.id===e.coordinating):t&&t.filter(t=>e.coordinating.includes(t.id))}setFuncRole(e,t){return"\u041e\u0434\u0438\u043d \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u044e\u0449\u0438\u0439"===e.countCoordinating?"number"==typeof e.coordinating?t&&t.filter(t=>t.id===e.coordinating):t&&t.filter(t=>t.id===e.coordinating[0]):"number"==typeof e.coordinating?t&&t.filter(t=>t.id===e.coordinating):t&&t.filter(t=>{var n;return null===(n=null==e?void 0:e.coordinating)||void 0===n?void 0:n.includes(t.id)})}setCompany(e,t){return"\u041e\u0434\u0438\u043d \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u044e\u0449\u0438\u0439"===e.countCoordinating?"number"==typeof e.coordinating?t&&t.filter(t=>t.id===e.coordinating):t&&t.filter(t=>t.id===e.coordinating[0]):"number"==typeof e.coordinating?t&&t.filter(t=>t.id===e.coordinating):t&&t.filter(t=>{var n;return null===(n=null==e?void 0:e.coordinating)||void 0===n?void 0:n.includes(t.id)})}getAgreementsByDocVersions(e){return e.length?Object(d.a)(this.agreement).pipe(Object(g.a)(n=>this.entities.analytic.query({where:Object(l.a)([Object(b.b)(S.a.class),t(e)]),select:Object(a.f)(S.a,n)},{skip:0,take:100})),Object(p.a)(e=>e.items.map(e=>Object(a.j)(e,S.a)))):Object(f.a)([]);function t(e){return{[Object(l.h)(Object(a.e)(S.a.properties.documentVersion))]:{exists:Object(l.b)(e.map(e=>({id:{eq:e}})))}}}}getProjectRoles(e,t){return t?Object(d.a)(this.metadata.classes.getNames("\u0420\u043e\u043b\u0438 \u0432 \u043f\u0440\u043e\u0435\u043a\u0442\u0435")).pipe(Object(g.a)(t=>Object(d.a)(this.entities.collections(e,v.h).query(Object.assign({skip:0,take:100},Object(a.d)(O.a,t)))).pipe(Object(p.a)(e=>e.items.map(e=>Object(a.j)(e,O.a)).filter(e=>{var t;return(null===(t=null==e?void 0:e.user)||void 0===t?void 0:t.id)===this.user.id&&e.role}))))):Object(f.a)([])}coordinatingOfTemplate(e){return Object(d.a)(this.metadata.classes.getNames("\u0421\u043e\u0433\u043b\u0430\u0441\u0443\u044e\u0449\u0438\u0435")).pipe(Object(g.a)(t=>this.entities.analytic.query({where:Object(l.a)([Object(b.e)(e),Object(b.b)(t.id)]),select:Object(a.f)(x.a,t)},{skip:0,take:1e3})),Object(p.a)(e=>e.items.map(e=>Object(a.j)(e,x.a))))}};E.ctorParameters=()=>[{type:a.a},{type:c.c},{type:u.c},{type:k.a},{type:M.a},{type:void 0,decorators:[{type:s.C,args:[y.a]}]}],E=Object(i.b)([Object(s.D)({providedIn:"root"})],E)},hlbE:function(e,t,n){"use strict";n.d(t,"a",function(){return o}),n.d(t,"b",function(){return a});var r=n("xwJx"),i=n("mjQ1"),s=n("5puH");const o="0635c1ac-52ad-4073-9c0e-96ebe5a2893a",a={class:"2f35a1b8-2d9a-4e83-9b02-9100fd21dd5d",root:s.e.root,collection:r.w.entities.collection,properties:{created:r.w.entities.attributes.created,name:r.w.entities.attributes.name,user:{id:"d5e67b6c-ee2d-48cc-843a-0e76c68b8aee",map:i.b.option},funcRole:{id:"28b54834-236b-48aa-92e5-fee166a70e99",map:i.b.option},accessLevel:{id:"e15cf225-e63b-4347-a121-32955489dd4e",map:i.b.option}}}},honF:function(e,t,n){!function(e){"use strict";var t={1:"\u1041",2:"\u1042",3:"\u1043",4:"\u1044",5:"\u1045",6:"\u1046",7:"\u1047",8:"\u1048",9:"\u1049",0:"\u1040"},n={"\u1041":"1","\u1042":"2","\u1043":"3","\u1044":"4","\u1045":"5","\u1046":"6","\u1047":"7","\u1048":"8","\u1049":"9","\u1040":"0"};e.defineLocale("my",{months:"\u1007\u1014\u103a\u1014\u101d\u102b\u101b\u102e_\u1016\u1031\u1016\u1031\u102c\u103a\u101d\u102b\u101b\u102e_\u1019\u1010\u103a_\u1027\u1015\u103c\u102e_\u1019\u1031_\u1007\u103d\u1014\u103a_\u1007\u1030\u101c\u102d\u102f\u1004\u103a_\u101e\u103c\u1002\u102f\u1010\u103a_\u1005\u1000\u103a\u1010\u1004\u103a\u1018\u102c_\u1021\u1031\u102c\u1000\u103a\u1010\u102d\u102f\u1018\u102c_\u1014\u102d\u102f\u101d\u1004\u103a\u1018\u102c_\u1012\u102e\u1007\u1004\u103a\u1018\u102c".split("_"),monthsShort:"\u1007\u1014\u103a_\u1016\u1031_\u1019\u1010\u103a_\u1015\u103c\u102e_\u1019\u1031_\u1007\u103d\u1014\u103a_\u101c\u102d\u102f\u1004\u103a_\u101e\u103c_\u1005\u1000\u103a_\u1021\u1031\u102c\u1000\u103a_\u1014\u102d\u102f_\u1012\u102e".split("_"),weekdays:"\u1010\u1014\u1004\u103a\u1039\u1002\u1014\u103d\u1031_\u1010\u1014\u1004\u103a\u1039\u101c\u102c_\u1021\u1004\u103a\u1039\u1002\u102b_\u1017\u102f\u1012\u1039\u1013\u101f\u1030\u1038_\u1000\u103c\u102c\u101e\u1015\u1010\u1031\u1038_\u101e\u1031\u102c\u1000\u103c\u102c_\u1005\u1014\u1031".split("_"),weekdaysShort:"\u1014\u103d\u1031_\u101c\u102c_\u1002\u102b_\u101f\u1030\u1038_\u1000\u103c\u102c_\u101e\u1031\u102c_\u1014\u1031".split("_"),weekdaysMin:"\u1014\u103d\u1031_\u101c\u102c_\u1002\u102b_\u101f\u1030\u1038_\u1000\u103c\u102c_\u101e\u1031\u102c_\u1014\u1031".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u101a\u1014\u1031.] LT [\u1019\u103e\u102c]",nextDay:"[\u1019\u1014\u1000\u103a\u1016\u103c\u1014\u103a] LT [\u1019\u103e\u102c]",nextWeek:"dddd LT [\u1019\u103e\u102c]",lastDay:"[\u1019\u1014\u1031.\u1000] LT [\u1019\u103e\u102c]",lastWeek:"[\u1015\u103c\u102e\u1038\u1001\u1032\u1037\u101e\u1031\u102c] dddd LT [\u1019\u103e\u102c]",sameElse:"L"},relativeTime:{future:"\u101c\u102c\u1019\u100a\u103a\u1037 %s \u1019\u103e\u102c",past:"\u101c\u103d\u1014\u103a\u1001\u1032\u1037\u101e\u1031\u102c %s \u1000",s:"\u1005\u1000\u1039\u1000\u1014\u103a.\u1021\u1014\u100a\u103a\u1038\u1004\u101a\u103a",ss:"%d \u1005\u1000\u1039\u1000\u1014\u1037\u103a",m:"\u1010\u1005\u103a\u1019\u102d\u1014\u1005\u103a",mm:"%d \u1019\u102d\u1014\u1005\u103a",h:"\u1010\u1005\u103a\u1014\u102c\u101b\u102e",hh:"%d \u1014\u102c\u101b\u102e",d:"\u1010\u1005\u103a\u101b\u1000\u103a",dd:"%d \u101b\u1000\u103a",M:"\u1010\u1005\u103a\u101c",MM:"%d \u101c",y:"\u1010\u1005\u103a\u1014\u103e\u1005\u103a",yy:"%d \u1014\u103e\u1005\u103a"},preparse:function(e){return e.replace(/[\u1041\u1042\u1043\u1044\u1045\u1046\u1047\u1048\u1049\u1040]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},week:{dow:1,doy:4}})}(n("wd/R"))},iEDd:function(e,t,n){!function(e){"use strict";e.defineLocale("gl",{months:"xaneiro_febreiro_marzo_abril_maio_xu\xf1o_xullo_agosto_setembro_outubro_novembro_decembro".split("_"),monthsShort:"xan._feb._mar._abr._mai._xu\xf1._xul._ago._set._out._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"domingo_luns_martes_m\xe9rcores_xoves_venres_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._m\xe9r._xov._ven._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_m\xe9_xo_ve_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoxe "+(1!==this.hours()?"\xe1s":"\xe1")+"] LT"},nextDay:function(){return"[ma\xf1\xe1 "+(1!==this.hours()?"\xe1s":"\xe1")+"] LT"},nextWeek:function(){return"dddd ["+(1!==this.hours()?"\xe1s":"a")+"] LT"},lastDay:function(){return"[onte "+(1!==this.hours()?"\xe1":"a")+"] LT"},lastWeek:function(){return"[o] dddd [pasado "+(1!==this.hours()?"\xe1s":"a")+"] LT"},sameElse:"L"},relativeTime:{future:function(e){return 0===e.indexOf("un")?"n"+e:"en "+e},past:"hai %s",s:"uns segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"unha hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",M:"un mes",MM:"%d meses",y:"un ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(n("wd/R"))},iU1M:function(e,t,n){"use strict";n.d(t,"a",function(){return i}),n.d(t,"b",function(){return o});var r=n("xwJx");const i={accepted:"\u041f\u0440\u0438\u043d\u044f\u0442\u043e",check:"\u041d\u0430 \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0435",open:"\u041e\u0442\u043a\u0440\u044b\u0442\u043e",progress:"\u0412 \u0440\u0430\u0431\u043e\u0442\u0435",rejected:"\u041e\u0442\u043a\u043b\u043e\u043d\u0435\u043d\u043e",requestChanges:"\u0421\u0444\u043e\u0440\u043c\u0438\u0440\u043e\u0432\u0430\u043d \u0437\u0430\u043f\u0440\u043e\u0441 \u043d\u0430 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0435 \u043f\u043b\u0430\u043d\u0430"},s={accepted:107,check:1035,open:1034,progress:104,rejected:105,requestChanges:3149},o={to:e=>{const t=e&&Object.entries(i).find(([t,n])=>n===e[0].properties[r.w.entities.attributes.name]);return t&&t[0]},from:e=>{var t;return null!==(t=e&&[s[e]])&&void 0!==t?t:null}}},iYuL:function(e,t,n){!function(e){"use strict";var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),r=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],i=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;e.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,r){return e?/-MMM-/.test(r)?n[e.month()]:t[e.month()]:t},monthsRegex:i,monthsShortRegex:i,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:r,longMonthsParse:r,shortMonthsParse:r,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"))},ijM0:function(e,t,n){"use strict";n.d(t,"a",function(){return h});var r=n("mrSG"),i=n("fXoL"),s=n("mjQ1"),o=n("SURy"),a=n("lJxs"),c=n("2kdd"),l=n("xwJx");const u={class:"6c7f0c94-d278-43e0-a0e9-37faf8db92be",root:l.w.entities.root.id,collection:l.w.entities.collection,properties:Object.assign(Object.assign({},l.w.entities.attributes),{extendedName:"dc93ed75-4545-4d5e-85e6-ef8be3cbeeb5",tin:"526e57d4-fc0e-4ca6-81bd-d0028f663a50",legalName:"602f77d0-15e6-480d-8202-d957029090f5",projectAreas:{id:"2fee450d-8efa-4411-9fc3-1f62866bc402",map:{from:e=>e,to:e=>(null==e?void 0:e.length)&&e.map(e=>({id:e.id,classId:e.classId,name:e.properties[l.w.entities.attributes.name]}))}}})};let h=class{constructor(e,t){this.entities=e,this.metadata=t}getPaymentOrganization(e,t){return Object(r.a)(this,void 0,void 0,function*(){const n=yield this.metadata.classes.get(u.class),r=Array.isArray(e)?Array.from(new Set(e)):[e];return yield this.entities.analytic.query({where:Object(c.a)([Object(c.b)(r.map(e=>({ancestors:{exists:{id:{eq:e}}}}))),{class:{eq:t}}]),select:Object(s.f)(u,n)},{skip:0,take:1e3}).pipe(Object(a.a)(({items:e})=>e.map(e=>Object(s.j)(e,u)))).toPromise()})}};h.ctorParameters=()=>[{type:s.a},{type:o.c}],h=Object(r.b)([Object(i.D)({providedIn:"root"})],h)},itXk:function(e,t,n){"use strict";n.d(t,"a",function(){return l});var r=n("z+Ro"),i=n("DH7j"),s=n("l7GE"),o=n("ZUHj"),a=n("yCtX");const c={};function l(...e){let t=void 0,n=void 0;return Object(r.a)(e[e.length-1])&&(n=e.pop()),"function"==typeof e[e.length-1]&&(t=e.pop()),1===e.length&&Object(i.a)(e[0])&&(e=e[0]),Object(a.a)(e,n).lift(new u(t))}class u{constructor(e){this.resultSelector=e}call(e,t){return t.subscribe(new h(e,this.resultSelector))}}class h extends s.a{constructor(e,t){super(e),this.resultSelector=t,this.active=0,this.values=[],this.observables=[]}_next(e){this.values.push(c),this.observables.push(e)}_complete(){const e=this.observables,t=e.length;if(0===t)this.destination.complete();else{this.active=t,this.toRespond=t;for(let n=0;n<t;n++){const t=e[n];this.add(Object(o.a)(this,t,void 0,n))}}}notifyComplete(e){0==(this.active-=1)&&this.destination.complete()}notifyNext(e,t,n){const r=this.values,i=r[n],s=this.toRespond?i===c?--this.toRespond:this.toRespond:0;r[n]=t,0===s&&(this.resultSelector?this._tryResultSelector(r):this.destination.next(r.slice()))}_tryResultSelector(e){let t;try{t=this.resultSelector.apply(this,e)}catch(n){return void this.destination.error(n)}this.destination.next(t)}}},jEXk:function(e,t,n){"use strict";n.d(t,"a",function(){return u});var r=n("fXoL"),i=n("xwJx"),s=n("SURy"),o=n("btuV"),a=n("LgUO"),c=n("tk/3");const l=a.c.forRoot();class u{static forRoot({auth:e,logLevel:t,endpoints:n,clientId:r}){return{ngModule:u,providers:[{provide:i.a,useValue:null!=n?n:i.x},{provide:i.f,useValue:{id:r}},...Object(i.v)(e),{provide:i.n,useFactory:()=>new i.n(i.m[t])},{provide:c.a,useClass:i.h,multi:!0},{provide:s.c,useClass:s.b},{provide:o.c,useClass:o.a}]}}}u.\u0275mod=r.Lc({type:u}),u.\u0275inj=r.Kc({factory:function(e){return new(e||u)},imports:[[l]]}),("undefined"==typeof ngJitMode||ngJitMode)&&r.Bd(u,{imports:[a.c]})},"jH3+":function(e,t,n){"use strict";n.d(t,"a",function(){return a});var r=n("mrSG"),i=n("fXoL"),s=n("lkBS"),o=n("UXJo");let a=class{constructor(e,t){this.content=e,this.clipboard=t}checkLink(e){return Object(r.a)(this,void 0,void 0,function*(){return e?yield this.content.getLink(e).then(e=>{if(e){const t=window.location.origin;return this.clipboard.copy(`${t}${e}`),""}return"\u0421\u0441\u044b\u043b\u043a\u0430 \u043d\u0435 \u043d\u0430\u0439\u0434\u0435\u043d\u0430"}).catch(()=>"\u0421\u0441\u044b\u043b\u043a\u0430 \u043d\u0435 \u043d\u0430\u0439\u0434\u0435\u043d\u0430"):"\u0424\u0430\u0439\u043b \u043d\u0435 \u043d\u0430\u0439\u0434\u0435\u043d"})}};a.ctorParameters=()=>[{type:s.b},{type:o.a}],a=Object(r.b)([Object(i.D)({providedIn:"root"})],a)},jIYg:function(e,t,n){"use strict";function r(e,t){if(t.length<e)throw new TypeError(e+" argument"+(e>1?"s":"")+" required, but only "+t.length+" present")}n.d(t,"a",function(){return r})},jUeY:function(e,t,n){!function(e){"use strict";function t(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}e.defineLocale("el",{monthsNominativeEl:"\u0399\u03b1\u03bd\u03bf\u03c5\u03ac\u03c1\u03b9\u03bf\u03c2_\u03a6\u03b5\u03b2\u03c1\u03bf\u03c5\u03ac\u03c1\u03b9\u03bf\u03c2_\u039c\u03ac\u03c1\u03c4\u03b9\u03bf\u03c2_\u0391\u03c0\u03c1\u03af\u03bb\u03b9\u03bf\u03c2_\u039c\u03ac\u03b9\u03bf\u03c2_\u0399\u03bf\u03cd\u03bd\u03b9\u03bf\u03c2_\u0399\u03bf\u03cd\u03bb\u03b9\u03bf\u03c2_\u0391\u03cd\u03b3\u03bf\u03c5\u03c3\u03c4\u03bf\u03c2_\u03a3\u03b5\u03c0\u03c4\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2_\u039f\u03ba\u03c4\u03ce\u03b2\u03c1\u03b9\u03bf\u03c2_\u039d\u03bf\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2_\u0394\u03b5\u03ba\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2".split("_"),monthsGenitiveEl:"\u0399\u03b1\u03bd\u03bf\u03c5\u03b1\u03c1\u03af\u03bf\u03c5_\u03a6\u03b5\u03b2\u03c1\u03bf\u03c5\u03b1\u03c1\u03af\u03bf\u03c5_\u039c\u03b1\u03c1\u03c4\u03af\u03bf\u03c5_\u0391\u03c0\u03c1\u03b9\u03bb\u03af\u03bf\u03c5_\u039c\u03b1\u0390\u03bf\u03c5_\u0399\u03bf\u03c5\u03bd\u03af\u03bf\u03c5_\u0399\u03bf\u03c5\u03bb\u03af\u03bf\u03c5_\u0391\u03c5\u03b3\u03bf\u03cd\u03c3\u03c4\u03bf\u03c5_\u03a3\u03b5\u03c0\u03c4\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5_\u039f\u03ba\u03c4\u03c9\u03b2\u03c1\u03af\u03bf\u03c5_\u039d\u03bf\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5_\u0394\u03b5\u03ba\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5".split("_"),months:function(e,t){return e?"string"==typeof t&&/D/.test(t.substring(0,t.indexOf("MMMM")))?this._monthsGenitiveEl[e.month()]:this._monthsNominativeEl[e.month()]:this._monthsNominativeEl},monthsShort:"\u0399\u03b1\u03bd_\u03a6\u03b5\u03b2_\u039c\u03b1\u03c1_\u0391\u03c0\u03c1_\u039c\u03b1\u03ca_\u0399\u03bf\u03c5\u03bd_\u0399\u03bf\u03c5\u03bb_\u0391\u03c5\u03b3_\u03a3\u03b5\u03c0_\u039f\u03ba\u03c4_\u039d\u03bf\u03b5_\u0394\u03b5\u03ba".split("_"),weekdays:"\u039a\u03c5\u03c1\u03b9\u03b1\u03ba\u03ae_\u0394\u03b5\u03c5\u03c4\u03ad\u03c1\u03b1_\u03a4\u03c1\u03af\u03c4\u03b7_\u03a4\u03b5\u03c4\u03ac\u03c1\u03c4\u03b7_\u03a0\u03ad\u03bc\u03c0\u03c4\u03b7_\u03a0\u03b1\u03c1\u03b1\u03c3\u03ba\u03b5\u03c5\u03ae_\u03a3\u03ac\u03b2\u03b2\u03b1\u03c4\u03bf".split("_"),weekdaysShort:"\u039a\u03c5\u03c1_\u0394\u03b5\u03c5_\u03a4\u03c1\u03b9_\u03a4\u03b5\u03c4_\u03a0\u03b5\u03bc_\u03a0\u03b1\u03c1_\u03a3\u03b1\u03b2".split("_"),weekdaysMin:"\u039a\u03c5_\u0394\u03b5_\u03a4\u03c1_\u03a4\u03b5_\u03a0\u03b5_\u03a0\u03b1_\u03a3\u03b1".split("_"),meridiem:function(e,t,n){return e>11?n?"\u03bc\u03bc":"\u039c\u039c":n?"\u03c0\u03bc":"\u03a0\u039c"},isPM:function(e){return"\u03bc"===(e+"").toLowerCase()[0]},meridiemParse:/[\u03a0\u039c]\.?\u039c?\.?/i,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendarEl:{sameDay:"[\u03a3\u03ae\u03bc\u03b5\u03c1\u03b1 {}] LT",nextDay:"[\u0391\u03cd\u03c1\u03b9\u03bf {}] LT",nextWeek:"dddd [{}] LT",lastDay:"[\u03a7\u03b8\u03b5\u03c2 {}] LT",lastWeek:function(){switch(this.day()){case 6:return"[\u03c4\u03bf \u03c0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03bf] dddd [{}] LT";default:return"[\u03c4\u03b7\u03bd \u03c0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03b7] dddd [{}] LT"}},sameElse:"L"},calendar:function(e,n){var r=this._calendarEl[e],i=n&&n.hours();return t(r)&&(r=r.apply(n)),r.replace("{}",i%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(e,t,n){!function(e){"use strict";var t="stycze\u0144_luty_marzec_kwiecie\u0144_maj_czerwiec_lipiec_sierpie\u0144_wrzesie\u0144_pa\u017adziernik_listopad_grudzie\u0144".split("_"),n="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_wrze\u015bnia_pa\u017adziernika_listopada_grudnia".split("_"),r=[/^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 i(e){return e%10<5&&e%10>1&&~~(e/10)%10!=1}function s(e,t,n){var r=e+" ";switch(n){case"ss":return r+(i(e)?"sekundy":"sekund");case"m":return t?"minuta":"minut\u0119";case"mm":return r+(i(e)?"minuty":"minut");case"h":return t?"godzina":"godzin\u0119";case"hh":return r+(i(e)?"godziny":"godzin");case"ww":return r+(i(e)?"tygodnie":"tygodni");case"MM":return r+(i(e)?"miesi\u0105ce":"miesi\u0119cy");case"yy":return r+(i(e)?"lata":"lat")}}e.defineLocale("pl",{months:function(e,r){return e?/D MMMM/.test(r)?n[e.month()]:t[e.month()]:t},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_pa\u017a_lis_gru".split("_"),monthsParse:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"niedziela_poniedzia\u0142ek_wtorek_\u015broda_czwartek_pi\u0105tek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_\u015br_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_\u015ar_Cz_Pt_So".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Dzi\u015b o] LT",nextDay:"[Jutro o] LT",nextWeek:function(){switch(this.day()){case 0:return"[W niedziel\u0119 o] LT";case 2:return"[We wtorek o] LT";case 3:return"[W \u015brod\u0119 o] LT";case 6:return"[W sobot\u0119 o] LT";default:return"[W] dddd [o] LT"}},lastDay:"[Wczoraj o] LT",lastWeek:function(){switch(this.day()){case 0:return"[W zesz\u0142\u0105 niedziel\u0119 o] LT";case 3:return"[W zesz\u0142\u0105 \u015brod\u0119 o] LT";case 6:return"[W zesz\u0142\u0105 sobot\u0119 o] LT";default:return"[W zesz\u0142y] dddd [o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",ss:s,m:s,mm:s,h:s,hh:s,d:"1 dzie\u0144",dd:"%d dni",w:"tydzie\u0144",ww:s,M:"miesi\u0105c",MM:s,y:"rok",yy:s},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},jZKg:function(e,t,n){"use strict";n.d(t,"a",function(){return s});var r=n("HDdC"),i=n("quSY");function s(e,t){return new r.a(n=>{const r=new i.a;let s=0;return r.add(t.schedule(function(){s!==e.length?(n.next(e[s++]),n.closed||r.add(this.schedule())):n.complete()})),r})}},jfSC:function(e,t,n){!function(e){"use strict";var t={1:"\u06f1",2:"\u06f2",3:"\u06f3",4:"\u06f4",5:"\u06f5",6:"\u06f6",7:"\u06f7",8:"\u06f8",9:"\u06f9",0:"\u06f0"},n={"\u06f1":"1","\u06f2":"2","\u06f3":"3","\u06f4":"4","\u06f5":"5","\u06f6":"6","\u06f7":"7","\u06f8":"8","\u06f9":"9","\u06f0":"0"};e.defineLocale("fa",{months:"\u0698\u0627\u0646\u0648\u06cc\u0647_\u0641\u0648\u0631\u06cc\u0647_\u0645\u0627\u0631\u0633_\u0622\u0648\u0631\u06cc\u0644_\u0645\u0647_\u0698\u0648\u0626\u0646_\u0698\u0648\u0626\u06cc\u0647_\u0627\u0648\u062a_\u0633\u067e\u062a\u0627\u0645\u0628\u0631_\u0627\u06a9\u062a\u0628\u0631_\u0646\u0648\u0627\u0645\u0628\u0631_\u062f\u0633\u0627\u0645\u0628\u0631".split("_"),monthsShort:"\u0698\u0627\u0646\u0648\u06cc\u0647_\u0641\u0648\u0631\u06cc\u0647_\u0645\u0627\u0631\u0633_\u0622\u0648\u0631\u06cc\u0644_\u0645\u0647_\u0698\u0648\u0626\u0646_\u0698\u0648\u0626\u06cc\u0647_\u0627\u0648\u062a_\u0633\u067e\u062a\u0627\u0645\u0628\u0631_\u0627\u06a9\u062a\u0628\u0631_\u0646\u0648\u0627\u0645\u0628\u0631_\u062f\u0633\u0627\u0645\u0628\u0631".split("_"),weekdays:"\u06cc\u06a9\u200c\u0634\u0646\u0628\u0647_\u062f\u0648\u0634\u0646\u0628\u0647_\u0633\u0647\u200c\u0634\u0646\u0628\u0647_\u0686\u0647\u0627\u0631\u0634\u0646\u0628\u0647_\u067e\u0646\u062c\u200c\u0634\u0646\u0628\u0647_\u062c\u0645\u0639\u0647_\u0634\u0646\u0628\u0647".split("_"),weekdaysShort:"\u06cc\u06a9\u200c\u0634\u0646\u0628\u0647_\u062f\u0648\u0634\u0646\u0628\u0647_\u0633\u0647\u200c\u0634\u0646\u0628\u0647_\u0686\u0647\u0627\u0631\u0634\u0646\u0628\u0647_\u067e\u0646\u062c\u200c\u0634\u0646\u0628\u0647_\u062c\u0645\u0639\u0647_\u0634\u0646\u0628\u0647".split("_"),weekdaysMin:"\u06cc_\u062f_\u0633_\u0686_\u067e_\u062c_\u0634".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/\u0642\u0628\u0644 \u0627\u0632 \u0638\u0647\u0631|\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631/,isPM:function(e){return/\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631/.test(e)},meridiem:function(e,t,n){return e<12?"\u0642\u0628\u0644 \u0627\u0632 \u0638\u0647\u0631":"\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631"},calendar:{sameDay:"[\u0627\u0645\u0631\u0648\u0632 \u0633\u0627\u0639\u062a] LT",nextDay:"[\u0641\u0631\u062f\u0627 \u0633\u0627\u0639\u062a] LT",nextWeek:"dddd [\u0633\u0627\u0639\u062a] LT",lastDay:"[\u062f\u06cc\u0631\u0648\u0632 \u0633\u0627\u0639\u062a] LT",lastWeek:"dddd [\u067e\u06cc\u0634] [\u0633\u0627\u0639\u062a] LT",sameElse:"L"},relativeTime:{future:"\u062f\u0631 %s",past:"%s \u067e\u06cc\u0634",s:"\u0686\u0646\u062f \u062b\u0627\u0646\u06cc\u0647",ss:"%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(e){return e.replace(/[\u06f0-\u06f9]/g,function(e){return n[e]}).replace(/\u060c/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]}).replace(/,/g,"\u060c")},dayOfMonthOrdinalParse:/\d{1,2}\u0645/,ordinal:"%d\u0645",week:{dow:6,doy:12}})}(n("wd/R"))},jhN1:function(e,t,n){"use strict";n.d(t,"a",function(){return Q}),n.d(t,"b",function(){return W}),n.d(t,"c",function(){return re}),n.d(t,"d",function(){return M}),n.d(t,"e",function(){return X});var r=n("ofXK"),i=n("fXoL");class s extends r.H{constructor(){super()}supportsDOMEvents(){return!0}}(()=>{if(i.Xb.Node)i.Xb.Node.prototype.contains})();class o extends s{static makeCurrent(){Object(r.L)(new o)}getProperty(e,t){return e[t]}log(e){window.console&&window.console.log&&window.console.log(e)}logGroup(e){window.console&&window.console.group&&window.console.group(e)}logGroupEnd(){window.console&&window.console.groupEnd&&window.console.groupEnd()}onAndCancel(e,t,n){return e.addEventListener(t,n,!1),()=>{e.removeEventListener(t,n,!1)}}dispatchEvent(e,t){e.dispatchEvent(t)}remove(e){return e.parentNode&&e.parentNode.removeChild(e),e}getValue(e){return e.value}createElement(e,t){return(t=t||this.getDefaultDocument()).createElement(e)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}isShadowRoot(e){return e instanceof DocumentFragment}getGlobalEventTarget(e,t){return"window"===t?window:"document"===t?e:"body"===t?e.body:null}getHistory(){return window.history}getLocation(){return window.location}getBaseHref(e){const t=function(){if(!c&&(c=document.querySelector("base"),!c))return null;return c.getAttribute("href")}();return null==t?null:function(e){a||(a=document.createElement("a"));return a.setAttribute("href",e),"/"===a.pathname.charAt(0)?a.pathname:"/"+a.pathname}(t)}resetBaseElement(){c=null}getUserAgent(){return window.navigator.userAgent}performanceNow(){return window.performance&&window.performance.now?window.performance.now():(new Date).getTime()}supportsCookies(){return!0}getCookie(e){return Object(r.K)(document.cookie,e)}}let a,c=null;const l=new i.E("TRANSITION_ID");const u=[{provide:i.d,useFactory:function(e,t,n){return()=>{n.get(i.e).donePromise.then(()=>{const n=Object(r.J)();Array.prototype.slice.apply(t.querySelectorAll("style[ng-transition]")).filter(t=>t.getAttribute("ng-transition")===e).forEach(e=>n.remove(e))})}},deps:[l,r.d,i.F],multi:!0}];class h{static init(){Object(i.wb)(new h)}addToWindow(e){i.Xb.getAngularTestability=(t,n=!0)=>{const r=e.findTestabilityInTree(t,n);if(null==r)throw new Error("Could not find testability for element.");return r},i.Xb.getAllAngularTestabilities=()=>e.getAllTestabilities(),i.Xb.getAllAngularRootElements=()=>e.getAllRootElements();i.Xb.frameworkStabilizers||(i.Xb.frameworkStabilizers=[]),i.Xb.frameworkStabilizers.push(e=>{const t=i.Xb.getAllAngularTestabilities();let n=t.length,r=!1;const s=function(t){r=r||t,n--,0==n&&e(r)};t.forEach(function(e){e.whenStable(s)})})}findTestabilityInTree(e,t,n){if(null==t)return null;const i=e.getTestability(t);return null!=i?i:n?Object(r.J)().isShadowRoot(t)?this.findTestabilityInTree(e,t.host,!0):this.findTestabilityInTree(e,t.parentElement,!0):null}}function d(e,t){if("undefined"==typeof COMPILED||!COMPILED){(i.Xb.ng=i.Xb.ng||{})[e]=t}}const f={ApplicationRef:i.g,NgZone:i.Q};function p(e){return Object(i.Tb)(e)}i.d,i.P,new i.R;const m=[],g=new i.E("EventManagerPlugins");class v{constructor(e,t){this._zone=t,this._eventNameToPlugin=new Map,e.forEach(e=>e.manager=this),this._plugins=e.slice().reverse()}addEventListener(e,t,n){return this._findPluginFor(t).addEventListener(e,t,n)}addGlobalEventListener(e,t,n){return this._findPluginFor(t).addGlobalEventListener(e,t,n)}getZone(){return this._zone}_findPluginFor(e){const t=this._eventNameToPlugin.get(e);if(t)return t;const n=this._plugins;for(let r=0;r<n.length;r++){const t=n[r];if(t.supports(e))return this._eventNameToPlugin.set(e,t),t}throw new Error("No event manager plugin found for event "+e)}}v.\u0275fac=function(e){return new(e||v)(i.Xc(g),i.Xc(i.Q))},v.\u0275prov=i.Jc({token:v,factory:v.\u0275fac}),v.ctorParameters=()=>[{type:Array,decorators:[{type:i.C,args:[g]}]},{type:i.Q}];class y{constructor(e){this._doc=e}addGlobalEventListener(e,t,n){const i=Object(r.J)().getGlobalEventTarget(this._doc,e);if(!i)throw new Error(`Unsupported event target ${i} for event ${t}`);return this.addEventListener(i,t,n)}}class b{constructor(){this._stylesSet=new Set}addStyles(e){const t=new Set;e.forEach(e=>{this._stylesSet.has(e)||(this._stylesSet.add(e),t.add(e))}),this.onStylesAdded(t)}onStylesAdded(e){}getAllStyles(){return Array.from(this._stylesSet)}}b.\u0275fac=function(e){return new(e||b)},b.\u0275prov=i.Jc({token:b,factory:b.\u0275fac});class _ extends b{constructor(e){super(),this._doc=e,this._hostNodes=new Set,this._styleNodes=new Set,this._hostNodes.add(e.head)}_addStylesToHost(e,t){e.forEach(e=>{const n=this._doc.createElement("style");n.textContent=e,this._styleNodes.add(t.appendChild(n))})}addHost(e){this._addStylesToHost(this._stylesSet,e),this._hostNodes.add(e)}removeHost(e){this._hostNodes.delete(e)}onStylesAdded(e){this._hostNodes.forEach(t=>this._addStylesToHost(e,t))}ngOnDestroy(){this._styleNodes.forEach(e=>Object(r.J)().remove(e))}}_.\u0275fac=function(e){return new(e||_)(i.Xc(r.d))},_.\u0275prov=i.Jc({token:_,factory:_.\u0275fac}),_.ctorParameters=()=>[{type:void 0,decorators:[{type:i.C,args:[r.d]}]}];const w={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/"},S=/%COMP%/g,x="_nghost-%COMP%",O="_ngcontent-%COMP%";function k(e,t,n){for(let r=0;r<t.length;r++){let i=t[r];Array.isArray(i)?k(e,i,n):(i=i.replace(S,e),n.push(i))}return n}function C(e){return t=>{if("__ngUnwrap__"===t)return e;!1===e(t)&&(t.preventDefault(),t.returnValue=!1)}}class M{constructor(e,t,n){this.eventManager=e,this.sharedStylesHost=t,this.appId=n,this.rendererByCompId=new Map,this.defaultRenderer=new E(e)}createRenderer(e,t){if(!e||!t)return this.defaultRenderer;switch(t.encapsulation){case i.pb.Emulated:{let n=this.rendererByCompId.get(t.id);return n||(n=new T(this.eventManager,this.sharedStylesHost,t,this.appId),this.rendererByCompId.set(t.id,n)),n.applyToHost(e),n}case 1:case i.pb.ShadowDom:return new j(this.eventManager,this.sharedStylesHost,e,t);default:if(!this.rendererByCompId.has(t.id)){const e=k(t.id,t.styles,[]);this.sharedStylesHost.addStyles(e),this.rendererByCompId.set(t.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}M.\u0275fac=function(e){return new(e||M)(i.Xc(v),i.Xc(_),i.Xc(i.c))},M.\u0275prov=i.Jc({token:M,factory:M.\u0275fac}),M.ctorParameters=()=>[{type:v},{type:_},{type:String,decorators:[{type:i.C,args:[i.c]}]}];class E{constructor(e){this.eventManager=e,this.data=Object.create(null)}destroy(){}createElement(e,t){return t?document.createElementNS(w[t]||t,e):document.createElement(e)}createComment(e){return document.createComment(e)}createText(e){return document.createTextNode(e)}appendChild(e,t){e.appendChild(t)}insertBefore(e,t,n){e&&e.insertBefore(t,n)}removeChild(e,t){e&&e.removeChild(t)}selectRootElement(e,t){let n="string"==typeof e?document.querySelector(e):e;if(!n)throw new Error(`The selector "${e}" did not match any elements`);return t||(n.textContent=""),n}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,t,n,r){if(r){t=r+":"+t;const i=w[r];i?e.setAttributeNS(i,t,n):e.setAttribute(t,n)}else e.setAttribute(t,n)}removeAttribute(e,t,n){if(n){const r=w[n];r?e.removeAttributeNS(r,t):e.removeAttribute(`${n}:${t}`)}else e.removeAttribute(t)}addClass(e,t){e.classList.add(t)}removeClass(e,t){e.classList.remove(t)}setStyle(e,t,n,r){r&(i.ab.DashCase|i.ab.Important)?e.style.setProperty(t,n,r&i.ab.Important?"important":""):e.style[t]=n}removeStyle(e,t,n){n&i.ab.DashCase?e.style.removeProperty(t):e.style[t]=""}setProperty(e,t,n){e[t]=n}setValue(e,t){e.nodeValue=t}listen(e,t,n){return"string"==typeof e?this.eventManager.addGlobalEventListener(e,t,C(n)):this.eventManager.addEventListener(e,t,C(n))}}"@".charCodeAt(0);class T extends E{constructor(e,t,n,r){super(e),this.component=n;const i=k(r+"-"+n.id,n.styles,[]);var s;t.addStyles(i),this.contentAttr=(s=r+"-"+n.id,O.replace(S,s)),this.hostAttr=function(e){return x.replace(S,e)}(r+"-"+n.id)}applyToHost(e){super.setAttribute(e,this.hostAttr,"")}createElement(e,t){const n=super.createElement(e,t);return super.setAttribute(n,this.contentAttr,""),n}}class j extends E{constructor(e,t,n,r){super(e),this.sharedStylesHost=t,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const i=k(r.id,r.styles,[]);for(let s=0;s<i.length;s++){const e=document.createElement("style");e.textContent=i[s],this.shadowRoot.appendChild(e)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(e,t){return super.appendChild(this.nodeOrShadowRoot(e),t)}insertBefore(e,t,n){return super.insertBefore(this.nodeOrShadowRoot(e),t,n)}removeChild(e,t){return super.removeChild(this.nodeOrShadowRoot(e),t)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}}class D extends y{constructor(e){super(e)}supports(e){return!0}addEventListener(e,t,n){return e.addEventListener(t,n,!1),()=>this.removeEventListener(e,t,n)}removeEventListener(e,t,n){return e.removeEventListener(t,n)}}D.\u0275fac=function(e){return new(e||D)(i.Xc(r.d))},D.\u0275prov=i.Jc({token:D,factory:D.\u0275fac}),D.ctorParameters=()=>[{type:void 0,decorators:[{type:i.C,args:[r.d]}]}];const A={pan:!0,panstart:!0,panmove:!0,panend:!0,pancancel:!0,panleft:!0,panright:!0,panup:!0,pandown:!0,pinch:!0,pinchstart:!0,pinchmove:!0,pinchend:!0,pinchcancel:!0,pinchin:!0,pinchout:!0,press:!0,pressup:!0,rotate:!0,rotatestart:!0,rotatemove:!0,rotateend:!0,rotatecancel:!0,swipe:!0,swipeleft:!0,swiperight:!0,swipeup:!0,swipedown:!0,tap:!0},L=new i.E("HammerGestureConfig"),z=new i.E("HammerLoader");class P{constructor(){this.events=[],this.overrides={}}buildHammer(e){const t=new Hammer(e,this.options);t.get("pinch").set({enable:!0}),t.get("rotate").set({enable:!0});for(const n in this.overrides)t.get(n).set(this.overrides[n]);return t}}P.\u0275fac=function(e){return new(e||P)},P.\u0275prov=i.Jc({token:P,factory:P.\u0275fac});class I extends y{constructor(e,t,n,r){super(e),this._config=t,this.console=n,this.loader=r}supports(e){return!(!A.hasOwnProperty(e.toLowerCase())&&!this.isCustomEvent(e))&&(!(!window.Hammer&&!this.loader)||(this.console.warn(`The "${e}" event cannot be bound because Hammer.JS is not loaded and no custom loader has been specified.`),!1))}addEventListener(e,t,n){const r=this.manager.getZone();if(t=t.toLowerCase(),!window.Hammer&&this.loader){let r=!1,i=()=>{r=!0};return this.loader().then(()=>{if(!window.Hammer)return this.console.warn("The custom HAMMER_LOADER completed, but Hammer.JS is not present."),void(i=()=>{});r||(i=this.addEventListener(e,t,n))}).catch(()=>{this.console.warn(`The "${t}" event cannot be bound because the custom Hammer.JS loader failed.`),i=()=>{}}),()=>{i()}}return r.runOutsideAngular(()=>{const i=this._config.buildHammer(e),s=function(e){r.runGuarded(function(){n(e)})};return i.on(t,s),()=>{i.off(t,s),"function"==typeof i.destroy&&i.destroy()}})}isCustomEvent(e){return this._config.events.indexOf(e)>-1}}I.\u0275fac=function(e){return new(e||I)(i.Xc(r.d),i.Xc(L),i.Xc(i.yb),i.Xc(z,8))},I.\u0275prov=i.Jc({token:I,factory:I.\u0275fac}),I.ctorParameters=()=>[{type:void 0,decorators:[{type:i.C,args:[r.d]}]},{type:P,decorators:[{type:i.C,args:[L]}]},{type:i.yb},{type:void 0,decorators:[{type:i.R},{type:i.C,args:[z]}]}];const R=[{provide:g,useClass:I,multi:!0,deps:[r.d,L,i.yb,[new i.R,z]]},{provide:L,useClass:P,deps:[]}],N=[];class H{}H.\u0275mod=i.Lc({type:H}),H.\u0275inj=i.Kc({factory:function(e){return new(e||H)},providers:R});const F=["alt","control","meta","shift"],V={"\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"},B={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"},Y={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};class U extends y{constructor(e){super(e)}supports(e){return null!=U.parseEventName(e)}addEventListener(e,t,n){const i=U.parseEventName(t),s=U.eventCallback(i.fullKey,n,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Object(r.J)().onAndCancel(e,i.domEventName,s))}static parseEventName(e){const t=e.toLowerCase().split("."),n=t.shift();if(0===t.length||"keydown"!==n&&"keyup"!==n)return null;const r=U._normalizeKey(t.pop());let i="";if(F.forEach(e=>{const n=t.indexOf(e);n>-1&&(t.splice(n,1),i+=e+".")}),i+=r,0!=t.length||0===r.length)return null;const s={};return s.domEventName=n,s.fullKey=i,s}static getEventFullKey(e){let t="",n=function(e){let t=e.key;if(null==t){if(t=e.keyIdentifier,null==t)return"Unidentified";t.startsWith("U+")&&(t=String.fromCharCode(parseInt(t.substring(2),16)),3===e.location&&B.hasOwnProperty(t)&&(t=B[t]))}return V[t]||t}(e);return n=n.toLowerCase()," "===n?n="space":"."===n&&(n="dot"),F.forEach(r=>{if(r!=n){(0,Y[r])(e)&&(t+=r+".")}}),t+=n,t}static eventCallback(e,t,n){return r=>{U.getEventFullKey(r)===e&&n.runGuarded(()=>t(r))}}static _normalizeKey(e){switch(e){case"esc":return"escape";default:return e}}}U.\u0275fac=function(e){return new(e||U)(i.Xc(r.d))},U.\u0275prov=i.Jc({token:U,factory:U.\u0275fac}),U.ctorParameters=()=>[{type:void 0,decorators:[{type:i.C,args:[r.d]}]}];class W{}function q(e){return new $(e.get(r.d))}W.\u0275fac=function(e){return new(e||W)},W.\u0275prov=Object(i.Jc)({factory:function(){return Object(i.Xc)($)},token:W,providedIn:"root"});class $ extends W{constructor(e){super(),this._doc=e}sanitize(e,t){if(null==t)return null;switch(e){case i.cb.NONE:return t;case i.cb.HTML:return Object(i.Gb)(t,"HTML")?Object(i.uc)(t):Object(i.Eb)(this._doc,String(t));case i.cb.STYLE:return Object(i.Gb)(t,"Style")?Object(i.uc)(t):t;case i.cb.SCRIPT:if(Object(i.Gb)(t,"Script"))return Object(i.uc)(t);throw new Error("unsafe value used in a script context");case i.cb.URL:Object(i.Wb)(t);return Object(i.Gb)(t,"URL")?Object(i.uc)(t):Object(i.Fb)(String(t));case i.cb.RESOURCE_URL:if(Object(i.Gb)(t,"ResourceURL"))return Object(i.uc)(t);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${e} (see https://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml(e){return Object(i.Ib)(e)}bypassSecurityTrustStyle(e){return Object(i.Lb)(e)}bypassSecurityTrustScript(e){return Object(i.Kb)(e)}bypassSecurityTrustUrl(e){return Object(i.Mb)(e)}bypassSecurityTrustResourceUrl(e){return Object(i.Jb)(e)}}$.\u0275fac=function(e){return new(e||$)(i.Xc(r.d))},$.\u0275prov=Object(i.Jc)({factory:function(){return q(Object(i.Xc)(i.B))},token:$,providedIn:"root"}),$.ctorParameters=()=>[{type:void 0,decorators:[{type:i.C,args:[r.d]}]}];const G=r.I,X=[{provide:i.U,useValue:G},{provide:i.V,useValue:function(){o.makeCurrent(),h.init()},multi:!0},{provide:r.d,useFactory:function(){return Object(i.qc)(document),document},deps:[]}],K=(i.bb,r.d,[]),J=(Object(i.qb)(i.vb,"browser",X),[K,{provide:i.Bb,useValue:"root"},{provide:i.w,useFactory:function(){return new i.w},deps:[]},{provide:g,useClass:D,multi:!0,deps:[r.d,i.Q,i.U]},{provide:g,useClass:U,multi:!0,deps:[r.d]},N,{provide:M,useClass:M,deps:[v,_,i.c]},{provide:i.Z,useExisting:M},{provide:b,useExisting:_},{provide:_,useClass:_,deps:[r.d]},{provide:i.jb,useClass:i.jb,deps:[i.Q]},{provide:v,useClass:v,deps:[g,i.Q]},m]);class Q{constructor(e){if(e)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}static withServerTransition(e){return{ngModule:Q,providers:[{provide:i.c,useValue:e.appId},{provide:l,useExisting:i.c},u]}}}function Z(){return new ee(Object(i.Xc)(r.d))}Q.\u0275mod=i.Lc({type:Q}),Q.\u0275inj=i.Kc({factory:function(e){return new(e||Q)(i.Xc(Q,12))},providers:J,imports:[r.c,i.f]}),Q.ctorParameters=()=>[{type:Q,decorators:[{type:i.R},{type:i.eb},{type:i.C,args:[Q]}]}],("undefined"==typeof ngJitMode||ngJitMode)&&i.Bd(Q,{exports:function(){return[r.c,i.f]}});class ee{constructor(e){this._doc=e,this._dom=Object(r.J)()}addTag(e,t=!1){return e?this._getOrCreateElement(e,t):null}addTags(e,t=!1){return e?e.reduce((e,n)=>(n&&e.push(this._getOrCreateElement(n,t)),e),[]):[]}getTag(e){return e&&this._doc.querySelector(`meta[${e}]`)||null}getTags(e){if(!e)return[];const t=this._doc.querySelectorAll(`meta[${e}]`);return t?[].slice.call(t):[]}updateTag(e,t){if(!e)return null;t=t||this._parseSelector(e);const n=this.getTag(t);return n?this._setMetaElementAttributes(e,n):this._getOrCreateElement(e,!0)}removeTag(e){this.removeTagElement(this.getTag(e))}removeTagElement(e){e&&this._dom.remove(e)}_getOrCreateElement(e,t=!1){if(!t){const t=this._parseSelector(e),n=this.getTag(t);if(n&&this._containsAttributes(e,n))return n}const n=this._dom.createElement("meta");this._setMetaElementAttributes(e,n);return this._doc.getElementsByTagName("head")[0].appendChild(n),n}_setMetaElementAttributes(e,t){return Object.keys(e).forEach(n=>t.setAttribute(this._getMetaKeyMap(n),e[n])),t}_parseSelector(e){const t=e.name?"name":"property";return`${t}="${e[t]}"`}_containsAttributes(e,t){return Object.keys(e).every(n=>t.getAttribute(this._getMetaKeyMap(n))===e[n])}_getMetaKeyMap(e){return te[e]||e}}ee.\u0275fac=function(e){return new(e||ee)(i.Xc(r.d))},ee.\u0275prov=Object(i.Jc)({factory:Z,token:ee,providedIn:"root"}),ee.ctorParameters=()=>[{type:void 0,decorators:[{type:i.C,args:[r.d]}]}];const te={httpEquiv:"http-equiv"};function ne(){return new re(Object(i.Xc)(r.d))}class re{constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}}re.\u0275fac=function(e){return new(e||re)(i.Xc(r.d))},re.\u0275prov=Object(i.Jc)({factory:ne,token:re,providedIn:"root"}),re.ctorParameters=()=>[{type:void 0,decorators:[{type:i.C,args:[r.d]}]}];"undefined"!=typeof window&&window;class ie{constructor(){this.store={},this.onSerializeCallbacks={}}static init(e){const t=new ie;return t.store=e,t}get(e,t){return void 0!==this.store[e]?this.store[e]:t}set(e,t){this.store[e]=t}remove(e){delete this.store[e]}hasKey(e){return this.store.hasOwnProperty(e)}onSerialize(e,t){this.onSerializeCallbacks[e]=t}toJson(){for(const t in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(t))try{this.store[t]=this.onSerializeCallbacks[t]()}catch(e){console.warn("Exception in onSerialize callback: ",e)}return JSON.stringify(this.store)}}function se(e,t){const n=e.getElementById(t+"-state");let r={};if(n&&n.textContent)try{r=JSON.parse(function(e){const t={"&a;":"&","&q;":'"',"&s;":"'","&l;":"<","&g;":">"};return e.replace(/&[^;]+;/g,e=>t[e])}(n.textContent))}catch(i){console.warn("Exception while restoring TransferState for app "+t,i)}return ie.init(r)}ie.\u0275fac=function(e){return new(e||ie)},ie.\u0275prov=i.Jc({token:ie,factory:ie.\u0275fac});class oe{}oe.\u0275mod=i.Lc({type:oe}),oe.\u0275inj=i.Kc({factory:function(e){return new(e||oe)},providers:[{provide:ie,useFactory:se,deps:[r.d,i.c]}]});new i.lb("11.0.9")},jnO4:function(e,t,n){!function(e){"use strict";var t={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},n={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},r=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%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"]},s=function(e){return function(t,n,s,o){var a=r(t),c=i[e][r(t)];return 2===a&&(c=c[n?0:1]),c.replace(/%d/i,t)}},o=["\u064a\u0646\u0627\u064a\u0631","\u0641\u0628\u0631\u0627\u064a\u0631","\u0645\u0627\u0631\u0633","\u0623\u0628\u0631\u064a\u0644","\u0645\u0627\u064a\u0648","\u064a\u0648\u0646\u064a\u0648","\u064a\u0648\u0644\u064a\u0648","\u0623\u063a\u0633\u0637\u0633","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"];e.defineLocale("ar",{months:o,monthsShort:o,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(e){return"\u0645"===e},meridiem:function(e,t,n){return e<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:s("s"),ss:s("s"),m:s("m"),mm:s("m"),h:s("h"),hh:s("h"),d:s("d"),dd:s("d"),M:s("M"),MM:s("M"),y:s("y"),yy:s("y")},preparse:function(e){return e.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(e){return n[e]}).replace(/\u060c/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(n("wd/R"))},jtHE:function(e,t,n){"use strict";n.d(t,"a",function(){return g});var r=n("XNiG"),i=n("3N8a");class s extends i.a{constructor(e,t){super(e,t),this.scheduler=e,this.work=t}schedule(e,t=0){return t>0?super.schedule(e,t):(this.delay=t,this.state=e,this.scheduler.flush(this),this)}execute(e,t){return t>0||this.closed?super.execute(e,t):this._execute(e,t)}requestAsyncId(e,t,n=0){return null!==n&&n>0||null===n&&this.delay>0?super.requestAsyncId(e,t,n):e.flush(this)}}var o=n("IjjT");class a extends o.a{}const c=new a(s);var l=n("quSY"),u=n("7o/Q"),h=n("WMd4");class d extends u.a{constructor(e,t,n=0){super(e),this.scheduler=t,this.delay=n}static dispatch(e){const{notification:t,destination:n}=e;t.observe(n),this.unsubscribe()}scheduleMessage(e){this.destination.add(this.scheduler.schedule(d.dispatch,this.delay,new f(e,this.destination)))}_next(e){this.scheduleMessage(h.a.createNext(e))}_error(e){this.scheduleMessage(h.a.createError(e)),this.unsubscribe()}_complete(){this.scheduleMessage(h.a.createComplete()),this.unsubscribe()}}class f{constructor(e,t){this.notification=e,this.destination=t}}var p=n("9ppp"),m=n("Ylt2");class g extends r.a{constructor(e=Number.POSITIVE_INFINITY,t=Number.POSITIVE_INFINITY,n){super(),this.scheduler=n,this._events=[],this._infiniteTimeWindow=!1,this._bufferSize=e<1?1:e,this._windowTime=t<1?1:t,t===Number.POSITIVE_INFINITY?(this._infiniteTimeWindow=!0,this.next=this.nextInfiniteTimeWindow):this.next=this.nextTimeWindow}nextInfiniteTimeWindow(e){if(!this.isStopped){const t=this._events;t.push(e),t.length>this._bufferSize&&t.shift()}super.next(e)}nextTimeWindow(e){this.isStopped||(this._events.push(new v(this._getNow(),e)),this._trimBufferThenGetEvents()),super.next(e)}_subscribe(e){const t=this._infiniteTimeWindow,n=t?this._events:this._trimBufferThenGetEvents(),r=this.scheduler,i=n.length;let s;if(this.closed)throw new p.a;if(this.isStopped||this.hasError?s=l.a.EMPTY:(this.observers.push(e),s=new m.a(this,e)),r&&e.add(e=new d(e,r)),t)for(let o=0;o<i&&!e.closed;o++)e.next(n[o]);else for(let o=0;o<i&&!e.closed;o++)e.next(n[o].value);return this.hasError?e.error(this.thrownError):this.isStopped&&e.complete(),s}_getNow(){return(this.scheduler||c).now()}_trimBufferThenGetEvents(){const e=this._getNow(),t=this._bufferSize,n=this._windowTime,r=this._events,i=r.length;let s=0;for(;s<i&&!(e-r[s].time<n);)s++;return i>t&&(s=Math.max(s,i-t)),s>0&&r.splice(0,s),r}}class v{constructor(e,t){this.time=e,this.value=t}}},k02v:function(e,t,n){"use strict";n.d(t,"a",function(){return i});var r=n("xwJx");const i={class:"7ab2f9d8-3c47-4e06-9714-b09303a5d6a9",root:n("5puH").e.root,collection:r.w.entities.collection,properties:{created:r.w.entities.attributes.created,name:r.w.entities.attributes.name}}},k1Px:function(e,t,n){"use strict";n.d(t,"a",function(){return i});var r=n("xwJx");const i={class:"71ed06ba-d6d9-4542-8c11-fc783a0dc3df",root:n("5puH").e.root,collection:r.w.entities.collection,properties:{created:r.w.entities.attributes.created,name:r.w.entities.attributes.name,filesCount:"e044e73c-3cb4-4c53-aaab-95b696e752f0",filesSizeStr:"41ef844a-d741-41bf-852a-096f7ddbee45",filesSize:"16a218ae-18d0-4371-a158-44b6beb2e9f2"}}},kEOa:function(e,t,n){!function(e){"use strict";var t={1:"\u09e7",2:"\u09e8",3:"\u09e9",4:"\u09ea",5:"\u09eb",6:"\u09ec",7:"\u09ed",8:"\u09ee",9:"\u09ef",0:"\u09e6"},n={"\u09e7":"1","\u09e8":"2","\u09e9":"3","\u09ea":"4","\u09eb":"5","\u09ec":"6","\u09ed":"7","\u09ee":"8","\u09ef":"9","\u09e6":"0"};e.defineLocale("bn",{months:"\u099c\u09be\u09a8\u09c1\u09df\u09be\u09b0\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(e){return e.replace(/[\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef\u09e6]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/\u09b0\u09be\u09a4|\u09b8\u0995\u09be\u09b2|\u09a6\u09c1\u09aa\u09c1\u09b0|\u09ac\u09bf\u0995\u09be\u09b2|\u09b0\u09be\u09a4/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u09b0\u09be\u09a4"===t&&e>=4||"\u09a6\u09c1\u09aa\u09c1\u09b0"===t&&e<5||"\u09ac\u09bf\u0995\u09be\u09b2"===t?e+12:e},meridiem:function(e,t,n){return e<4?"\u09b0\u09be\u09a4":e<10?"\u09b8\u0995\u09be\u09b2":e<17?"\u09a6\u09c1\u09aa\u09c1\u09b0":e<20?"\u09ac\u09bf\u0995\u09be\u09b2":"\u09b0\u09be\u09a4"},week:{dow:0,doy:6}})}(n("wd/R"))},kJWO:function(e,t,n){"use strict";n.d(t,"a",function(){return r});const r="function"==typeof Symbol&&Symbol.observable||"@@observable"},kOpN:function(e,t,n){!function(e){"use strict";e.defineLocale("zh-tw",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u51cc\u6668"===t||"\u65e9\u4e0a"===t||"\u4e0a\u5348"===t?e:"\u4e2d\u5348"===t?e>=11?e:e+12:"\u4e0b\u5348"===t||"\u665a\u4e0a"===t?e+12:void 0},meridiem:function(e,t,n){var r=100*e+t;return r<600?"\u51cc\u6668":r<900?"\u65e9\u4e0a":r<1130?"\u4e0a\u5348":r<1230?"\u4e2d\u5348":r<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929] LT",nextDay:"[\u660e\u5929] LT",nextWeek:"[\u4e0b]dddd LT",lastDay:"[\u6628\u5929] LT",lastWeek:"[\u4e0a]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"\u65e5";case"M":return e+"\u6708";case"w":case"W":return e+"\u9031";default:return e}},relativeTime:{future:"%s\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"))},kOwv:function(e,t,n){"use strict";n.d(t,"a",function(){return s}),n.d(t,"b",function(){return o}),n.d(t,"c",function(){return a});var r=n("xwJx"),i=n("5puH");const s="de88e0f9-e59d-4e8d-8ec3-e710ce557cc2",o="8e8d0846-212f-414f-9bfd-5952fe26d319",a={class:"83a9b520-b5ad-47f9-8e38-1481376105e4",root:i.e.root,collection:r.w.entities.collection,properties:{created:r.w.entities.attributes.created,name:r.w.entities.attributes.name,file:"277c9982-0d68-4afc-92a7-94679c0a259a"}}},kVq8:function(e,t,n){"use strict";n.r(t),n.d(t,"AccountBookFill",function(){return i}),n.d(t,"AccountBookOutline",function(){return r}),n.d(t,"AccountBookTwoTone",function(){return s}),n.d(t,"AimOutline",function(){return H}),n.d(t,"AlertFill",function(){return Oe}),n.d(t,"AlertOutline",function(){return ue}),n.d(t,"AlertTwoTone",function(){return xe}),n.d(t,"AlibabaOutline",function(){return o}),n.d(t,"AlignCenterOutline",function(){return a}),n.d(t,"AlignLeftOutline",function(){return h}),n.d(t,"AlignRightOutline",function(){return c}),n.d(t,"AlipayCircleFill",function(){return u}),n.d(t,"AlipayCircleOutline",function(){return p}),n.d(t,"AlipayOutline",function(){return M}),n.d(t,"AlipaySquareFill",function(){return g}),n.d(t,"AliwangwangFill",function(){return l}),n.d(t,"AliwangwangOutline",function(){return y}),n.d(t,"AliyunOutline",function(){return De}),n.d(t,"AmazonCircleFill",function(){return S}),n.d(t,"AmazonOutline",function(){return f}),n.d(t,"AmazonSquareFill",function(){return w}),n.d(t,"AndroidFill",function(){return d}),n.d(t,"AndroidOutline",function(){return m}),n.d(t,"AntCloudOutline",function(){return T}),n.d(t,"AntDesignOutline",function(){return v}),n.d(t,"ApartmentOutline",function(){return _}),n.d(t,"ApiFill",function(){return x}),n.d(t,"ApiOutline",function(){return E}),n.d(t,"ApiTwoTone",function(){return b}),n.d(t,"AppleFill",function(){return Re}),n.d(t,"AppleOutline",function(){return z}),n.d(t,"AppstoreAddOutline",function(){return C}),n.d(t,"AppstoreFill",function(){return O}),n.d(t,"AppstoreOutline",function(){return k}),n.d(t,"AppstoreTwoTone",function(){return R}),n.d(t,"AreaChartOutline",function(){return A}),n.d(t,"ArrowDownOutline",function(){return N}),n.d(t,"ArrowLeftOutline",function(){return j}),n.d(t,"ArrowRightOutline",function(){return L}),n.d(t,"ArrowUpOutline",function(){return I}),n.d(t,"ArrowsAltOutline",function(){return D}),n.d(t,"AudioFill",function(){return X}),n.d(t,"AudioMutedOutline",function(){return B}),n.d(t,"AudioOutline",function(){return Se}),n.d(t,"AudioTwoTone",function(){return F}),n.d(t,"AuditOutline",function(){return G}),n.d(t,"BackwardFill",function(){return P}),n.d(t,"BackwardOutline",function(){return le}),n.d(t,"BankFill",function(){return U}),n.d(t,"BankOutline",function(){return Y}),n.d(t,"BankTwoTone",function(){return q}),n.d(t,"BarChartOutline",function(){return W}),n.d(t,"BarcodeOutline",function(){return V}),n.d(t,"BarsOutline",function(){return Q}),n.d(t,"BehanceCircleFill",function(){return Z}),n.d(t,"BehanceOutline",function(){return $}),n.d(t,"BehanceSquareFill",function(){return K}),n.d(t,"BehanceSquareOutline",function(){return ne}),n.d(t,"BellFill",function(){return oe}),n.d(t,"BellOutline",function(){return fe}),n.d(t,"BellTwoTone",function(){return he}),n.d(t,"BgColorsOutline",function(){return be}),n.d(t,"BlockOutline",function(){return J}),n.d(t,"BoldOutline",function(){return me}),n.d(t,"BookFill",function(){return ee}),n.d(t,"BookOutline",function(){return te}),n.d(t,"BookTwoTone",function(){return Ne}),n.d(t,"BorderBottomOutline",function(){return ie}),n.d(t,"BorderHorizontalOutline",function(){return se}),n.d(t,"BorderInnerOutline",function(){return re}),n.d(t,"BorderLeftOutline",function(){return ae}),n.d(t,"BorderOuterOutline",function(){return ce}),n.d(t,"BorderOutline",function(){return ve}),n.d(t,"BorderRightOutline",function(){return de}),n.d(t,"BorderTopOutline",function(){return we}),n.d(t,"BorderVerticleOutline",function(){return ge}),n.d(t,"BorderlessTableOutline",function(){return ye}),n.d(t,"BoxPlotFill",function(){return pe}),n.d(t,"BoxPlotOutline",function(){return _e}),n.d(t,"BoxPlotTwoTone",function(){return Je}),n.d(t,"BranchesOutline",function(){return Fe}),n.d(t,"BugFill",function(){return Ve}),n.d(t,"BugOutline",function(){return ke}),n.d(t,"BugTwoTone",function(){return Le}),n.d(t,"BuildFill",function(){return He}),n.d(t,"BuildOutline",function(){return je}),n.d(t,"BuildTwoTone",function(){return Ce}),n.d(t,"BulbFill",function(){return Ee}),n.d(t,"BulbOutline",function(){return Me}),n.d(t,"BulbTwoTone",function(){return Be}),n.d(t,"CalculatorFill",function(){return Ae}),n.d(t,"CalculatorOutline",function(){return qe}),n.d(t,"CalculatorTwoTone",function(){return We}),n.d(t,"CalendarFill",function(){return ht}),n.d(t,"CalendarOutline",function(){return Te}),n.d(t,"CalendarTwoTone",function(){return Ie}),n.d(t,"CameraFill",function(){return ze}),n.d(t,"CameraOutline",function(){return Ge}),n.d(t,"CameraTwoTone",function(){return Pe}),n.d(t,"CarFill",function(){return Ke}),n.d(t,"CarOutline",function(){return Ue}),n.d(t,"CarTwoTone",function(){return Dt}),n.d(t,"CaretDownFill",function(){return ft}),n.d(t,"CaretDownOutline",function(){return at}),n.d(t,"CaretLeftFill",function(){return et}),n.d(t,"CaretLeftOutline",function(){return Ye}),n.d(t,"CaretRightFill",function(){return Xe}),n.d(t,"CaretRightOutline",function(){return dt}),n.d(t,"CaretUpFill",function(){return $e}),n.d(t,"CaretUpOutline",function(){return ut}),n.d(t,"CarryOutFill",function(){return gt}),n.d(t,"CarryOutOutline",function(){return ot}),n.d(t,"CarryOutTwoTone",function(){return Qe}),n.d(t,"CheckCircleFill",function(){return nt}),n.d(t,"CheckCircleOutline",function(){return tt}),n.d(t,"CheckCircleTwoTone",function(){return Ze}),n.d(t,"CheckOutline",function(){return it}),n.d(t,"CheckSquareFill",function(){return st}),n.d(t,"CheckSquareOutline",function(){return rt}),n.d(t,"CheckSquareTwoTone",function(){return lt}),n.d(t,"ChromeFill",function(){return hn}),n.d(t,"ChromeOutline",function(){return Zt}),n.d(t,"CiCircleFill",function(){return ct}),n.d(t,"CiCircleOutline",function(){return vt}),n.d(t,"CiCircleTwoTone",function(){return pt}),n.d(t,"CiOutline",function(){return Pt}),n.d(t,"CiTwoTone",function(){return jt}),n.d(t,"ClearOutline",function(){return mt}),n.d(t,"ClockCircleFill",function(){return an}),n.d(t,"ClockCircleOutline",function(){return At}),n.d(t,"ClockCircleTwoTone",function(){return yt}),n.d(t,"CloseCircleFill",function(){return Lt}),n.d(t,"CloseCircleOutline",function(){return rn}),n.d(t,"CloseCircleTwoTone",function(){return wt}),n.d(t,"CloseOutline",function(){return xt}),n.d(t,"CloseSquareFill",function(){return bt}),n.d(t,"CloseSquareOutline",function(){return _t}),n.d(t,"CloseSquareTwoTone",function(){return St}),n.d(t,"CloudDownloadOutline",function(){return Ot}),n.d(t,"CloudFill",function(){return kt}),n.d(t,"CloudOutline",function(){return Mt}),n.d(t,"CloudServerOutline",function(){return Tt}),n.d(t,"CloudSyncOutline",function(){return Ft}),n.d(t,"CloudTwoTone",function(){return Ct}),n.d(t,"CloudUploadOutline",function(){return Et}),n.d(t,"ClusterOutline",function(){return Bt}),n.d(t,"CodeFill",function(){return Wt}),n.d(t,"CodeOutline",function(){return zt}),n.d(t,"CodeSandboxCircleFill",function(){return Ht}),n.d(t,"CodeSandboxOutline",function(){return Ut}),n.d(t,"CodeSandboxSquareFill",function(){return It}),n.d(t,"CodeTwoTone",function(){return Rt}),n.d(t,"CodepenCircleFill",function(){return Kt}),n.d(t,"CodepenCircleOutline",function(){return nn}),n.d(t,"CodepenOutline",function(){return tn}),n.d(t,"CodepenSquareFill",function(){return Vt}),n.d(t,"CoffeeOutline",function(){return Nt}),n.d(t,"ColumnHeightOutline",function(){return Yt}),n.d(t,"ColumnWidthOutline",function(){return Qt}),n.d(t,"CommentOutline",function(){return qt}),n.d(t,"CompassFill",function(){return Sn}),n.d(t,"CompassOutline",function(){return Jt}),n.d(t,"CompassTwoTone",function(){return $t}),n.d(t,"CompressOutline",function(){return en}),n.d(t,"ConsoleSqlOutline",function(){return Xt}),n.d(t,"ContactsFill",function(){return Gt}),n.d(t,"ContactsOutline",function(){return Vn}),n.d(t,"ContactsTwoTone",function(){return Tn}),n.d(t,"ContainerFill",function(){return on}),n.d(t,"ContainerOutline",function(){return sn}),n.d(t,"ContainerTwoTone",function(){return wn}),n.d(t,"ControlFill",function(){return cn}),n.d(t,"ControlOutline",function(){return gr}),n.d(t,"ControlTwoTone",function(){return dn}),n.d(t,"CopyFill",function(){return fn}),n.d(t,"CopyOutline",function(){return un}),n.d(t,"CopyTwoTone",function(){return jn}),n.d(t,"CopyrightCircleFill",function(){return mn}),n.d(t,"CopyrightCircleOutline",function(){return Dn}),n.d(t,"CopyrightCircleTwoTone",function(){return ln}),n.d(t,"CopyrightOutline",function(){return hr}),n.d(t,"CopyrightTwoTone",function(){return pn}),n.d(t,"CreditCardFill",function(){return Rr}),n.d(t,"CreditCardOutline",function(){return vn}),n.d(t,"CreditCardTwoTone",function(){return gn}),n.d(t,"CrownFill",function(){return yn}),n.d(t,"CrownOutline",function(){return bn}),n.d(t,"CrownTwoTone",function(){return Xn}),n.d(t,"CustomerServiceFill",function(){return _n}),n.d(t,"CustomerServiceOutline",function(){return rr}),n.d(t,"CustomerServiceTwoTone",function(){return xn}),n.d(t,"DashOutline",function(){return kn}),n.d(t,"DashboardFill",function(){return On}),n.d(t,"DashboardOutline",function(){return Cn}),n.d(t,"DashboardTwoTone",function(){return En}),n.d(t,"DatabaseFill",function(){return zn}),n.d(t,"DatabaseOutline",function(){return Mn}),n.d(t,"DatabaseTwoTone",function(){return Fn}),n.d(t,"DeleteColumnOutline",function(){return An}),n.d(t,"DeleteFill",function(){return In}),n.d(t,"DeleteOutline",function(){return $n}),n.d(t,"DeleteRowOutline",function(){return Ln}),n.d(t,"DeleteTwoTone",function(){return Pn}),n.d(t,"DeliveredProcedureOutline",function(){return Wn}),n.d(t,"DeploymentUnitOutline",function(){return Rn}),n.d(t,"DesktopOutline",function(){return Nn}),n.d(t,"DiffFill",function(){return nr}),n.d(t,"DiffOutline",function(){return qn}),n.d(t,"DiffTwoTone",function(){return Bn}),n.d(t,"DingdingOutline",function(){return Un}),n.d(t,"DingtalkCircleFill",function(){return Hn}),n.d(t,"DingtalkOutline",function(){return Yn}),n.d(t,"DingtalkSquareFill",function(){return tr}),n.d(t,"DisconnectOutline",function(){return Gn}),n.d(t,"DislikeFill",function(){return Yr}),n.d(t,"DislikeOutline",function(){return Jn}),n.d(t,"DislikeTwoTone",function(){return Zn}),n.d(t,"DollarCircleFill",function(){return er}),n.d(t,"DollarCircleOutline",function(){return Qn}),n.d(t,"DollarCircleTwoTone",function(){return Kn}),n.d(t,"DollarOutline",function(){return fr}),n.d(t,"DollarTwoTone",function(){return cr}),n.d(t,"DotChartOutline",function(){return or}),n.d(t,"DoubleLeftOutline",function(){return yr}),n.d(t,"DoubleRightOutline",function(){return ir}),n.d(t,"DownCircleFill",function(){return Ar}),n.d(t,"DownCircleOutline",function(){return sr}),n.d(t,"DownCircleTwoTone",function(){return ar}),n.d(t,"DownOutline",function(){return dr}),n.d(t,"DownSquareFill",function(){return mr}),n.d(t,"DownSquareOutline",function(){return pr}),n.d(t,"DownSquareTwoTone",function(){return br}),n.d(t,"DownloadOutline",function(){return lr}),n.d(t,"DragOutline",function(){return ur}),n.d(t,"DribbbleCircleFill",function(){return Er}),n.d(t,"DribbbleOutline",function(){return Vr}),n.d(t,"DribbbleSquareFill",function(){return kr}),n.d(t,"DribbbleSquareOutline",function(){return Mr}),n.d(t,"DropboxCircleFill",function(){return Sr}),n.d(t,"DropboxOutline",function(){return Cr}),n.d(t,"DropboxSquareFill",function(){return _r}),n.d(t,"EditFill",function(){return Tr}),n.d(t,"EditOutline",function(){return vr}),n.d(t,"EditTwoTone",function(){return wr}),n.d(t,"EllipsisOutline",function(){return xr}),n.d(t,"EnterOutline",function(){return Or}),n.d(t,"EnvironmentFill",function(){return Ur}),n.d(t,"EnvironmentOutline",function(){return jr}),n.d(t,"EnvironmentTwoTone",function(){return Gr}),n.d(t,"EuroCircleFill",function(){return Pr}),n.d(t,"EuroCircleOutline",function(){return di}),n.d(t,"EuroCircleTwoTone",function(){return _i}),n.d(t,"EuroOutline",function(){return Hr}),n.d(t,"EuroTwoTone",function(){return Ir}),n.d(t,"ExceptionOutline",function(){return Dr}),n.d(t,"ExclamationCircleFill",function(){return Br}),n.d(t,"ExclamationCircleOutline",function(){return qr}),n.d(t,"ExclamationCircleTwoTone",function(){return Lr}),n.d(t,"ExclamationOutline",function(){return zr}),n.d(t,"ExpandAltOutline",function(){return Nr}),n.d(t,"ExpandOutline",function(){return si}),n.d(t,"ExperimentFill",function(){return ti}),n.d(t,"ExperimentOutline",function(){return Wr}),n.d(t,"ExperimentTwoTone",function(){return ii}),n.d(t,"ExportOutline",function(){return Vi}),n.d(t,"EyeFill",function(){return ji}),n.d(t,"EyeInvisibleFill",function(){return Jr}),n.d(t,"EyeInvisibleOutline",function(){return Ni}),n.d(t,"EyeInvisibleTwoTone",function(){return $r}),n.d(t,"EyeOutline",function(){return Fr}),n.d(t,"EyeTwoTone",function(){return Xr}),n.d(t,"FacebookFill",function(){return ei}),n.d(t,"FacebookOutline",function(){return Kr}),n.d(t,"FallOutline",function(){return Qr}),n.d(t,"FastBackwardFill",function(){return Zr}),n.d(t,"FastBackwardOutline",function(){return oi}),n.d(t,"FastForwardFill",function(){return ni}),n.d(t,"FastForwardOutline",function(){return Hs}),n.d(t,"FieldBinaryOutline",function(){return fi}),n.d(t,"FieldNumberOutline",function(){return ri}),n.d(t,"FieldStringOutline",function(){return ai}),n.d(t,"FieldTimeOutline",function(){return ci}),n.d(t,"FileAddFill",function(){return hi}),n.d(t,"FileAddOutline",function(){return ki}),n.d(t,"FileAddTwoTone",function(){return mi}),n.d(t,"FileDoneOutline",function(){return pi}),n.d(t,"FileExcelFill",function(){return li}),n.d(t,"FileExcelOutline",function(){return gi}),n.d(t,"FileExcelTwoTone",function(){return Ai}),n.d(t,"FileExclamationFill",function(){return vi}),n.d(t,"FileExclamationOutline",function(){return ui}),n.d(t,"FileExclamationTwoTone",function(){return bi}),n.d(t,"FileFill",function(){return Ti}),n.d(t,"FileGifOutline",function(){return yi}),n.d(t,"FileImageFill",function(){return Bi}),n.d(t,"FileImageOutline",function(){return Ei}),n.d(t,"FileImageTwoTone",function(){return Di}),n.d(t,"FileJpgOutline",function(){return Mi}),n.d(t,"FileMarkdownFill",function(){return Oi}),n.d(t,"FileMarkdownOutline",function(){return wi}),n.d(t,"FileMarkdownTwoTone",function(){return Si}),n.d(t,"FileOutline",function(){return Li}),n.d(t,"FilePdfFill",function(){return xi}),n.d(t,"FilePdfOutline",function(){return Ci}),n.d(t,"FilePdfTwoTone",function(){return ls}),n.d(t,"FilePptFill",function(){return Hi}),n.d(t,"FilePptOutline",function(){return Ha}),n.d(t,"FilePptTwoTone",function(){return Pi}),n.d(t,"FileProtectOutline",function(){return zi}),n.d(t,"FileSearchOutline",function(){return Ui}),n.d(t,"FileSyncOutline",function(){return Ii}),n.d(t,"FileTextFill",function(){return Ys}),n.d(t,"FileTextOutline",function(){return Fi}),n.d(t,"FileTextTwoTone",function(){return Ji}),n.d(t,"FileTwoTone",function(){return Yi}),n.d(t,"FileUnknownFill",function(){return Wi}),n.d(t,"FileUnknownOutline",function(){return Ri}),n.d(t,"FileUnknownTwoTone",function(){return Ya}),n.d(t,"FileWordFill",function(){return qi}),n.d(t,"FileWordOutline",function(){return $i}),n.d(t,"FileWordTwoTone",function(){return Ki}),n.d(t,"FileZipFill",function(){return Uc}),n.d(t,"FileZipOutline",function(){return Gi}),n.d(t,"FileZipTwoTone",function(){return Xi}),n.d(t,"FilterFill",function(){return Qi}),n.d(t,"FilterOutline",function(){return es}),n.d(t,"FilterTwoTone",function(){return fs}),n.d(t,"FireFill",function(){return hs}),n.d(t,"FireOutline",function(){return os}),n.d(t,"FireTwoTone",function(){return Zi}),n.d(t,"FlagFill",function(){return ts}),n.d(t,"FlagOutline",function(){return ns}),n.d(t,"FlagTwoTone",function(){return us}),n.d(t,"FolderAddFill",function(){return is}),n.d(t,"FolderAddOutline",function(){return rs}),n.d(t,"FolderAddTwoTone",function(){return as}),n.d(t,"FolderFill",function(){return cs}),n.d(t,"FolderOpenFill",function(){return ss}),n.d(t,"FolderOpenOutline",function(){return ms}),n.d(t,"FolderOpenTwoTone",function(){return ws}),n.d(t,"FolderOutline",function(){return ps}),n.d(t,"FolderTwoTone",function(){return vs}),n.d(t,"FolderViewOutline",function(){return ds}),n.d(t,"FontColorsOutline",function(){return xs}),n.d(t,"FontSizeOutline",function(){return _s}),n.d(t,"ForkOutline",function(){return gs}),n.d(t,"FormOutline",function(){return ys}),n.d(t,"FormatPainterFill",function(){return As}),n.d(t,"FormatPainterOutline",function(){return bs}),n.d(t,"ForwardFill",function(){return Ps}),n.d(t,"ForwardOutline",function(){return zs}),n.d(t,"FrownFill",function(){return Ss}),n.d(t,"FrownOutline",function(){return Ds}),n.d(t,"FrownTwoTone",function(){return Cs}),n.d(t,"FullscreenExitOutline",function(){return Ls}),n.d(t,"FullscreenOutline",function(){return Es}),n.d(t,"FunctionOutline",function(){return Os}),n.d(t,"FundFill",function(){return ks}),n.d(t,"FundOutline",function(){return Ms}),n.d(t,"FundProjectionScreenOutline",function(){return js}),n.d(t,"FundTwoTone",function(){return to}),n.d(t,"FundViewOutline",function(){return Is}),n.d(t,"FunnelPlotFill",function(){return Ts}),n.d(t,"FunnelPlotOutline",function(){return Zs}),n.d(t,"FunnelPlotTwoTone",function(){return eo}),n.d(t,"GatewayOutline",function(){return Bs}),n.d(t,"GifOutline",function(){return Qs}),n.d(t,"GiftFill",function(){return Rs}),n.d(t,"GiftOutline",function(){return Ns}),n.d(t,"GiftTwoTone",function(){return Fs}),n.d(t,"GithubFill",function(){return Us}),n.d(t,"GithubOutline",function(){return lo}),n.d(t,"GitlabFill",function(){return Vs}),n.d(t,"GitlabOutline",function(){return Js}),n.d(t,"GlobalOutline",function(){return qs}),n.d(t,"GoldFill",function(){return $s}),n.d(t,"GoldOutline",function(){return Ws}),n.d(t,"GoldTwoTone",function(){return xo}),n.d(t,"GoldenFill",function(){return uo}),n.d(t,"GoogleCircleFill",function(){return ao}),n.d(t,"GoogleOutline",function(){return Ks}),n.d(t,"GooglePlusCircleFill",function(){return Gs}),n.d(t,"GooglePlusOutline",function(){return Xs}),n.d(t,"GooglePlusSquareFill",function(){return no}),n.d(t,"GoogleSquareFill",function(){return ko}),n.d(t,"GroupOutline",function(){return io}),n.d(t,"HddFill",function(){return so}),n.d(t,"HddOutline",function(){return oo}),n.d(t,"HddTwoTone",function(){return go}),n.d(t,"HeartFill",function(){return ro}),n.d(t,"HeartOutline",function(){return ho}),n.d(t,"HeartTwoTone",function(){return Io}),n.d(t,"HeatMapOutline",function(){return Eo}),n.d(t,"HighlightFill",function(){return vo}),n.d(t,"HighlightOutline",function(){return fo}),n.d(t,"HighlightTwoTone",function(){return mo}),n.d(t,"HistoryOutline",function(){return bo}),n.d(t,"HomeFill",function(){return Mo}),n.d(t,"HomeOutline",function(){return _o}),n.d(t,"HomeTwoTone",function(){return co}),n.d(t,"HourglassFill",function(){return yo}),n.d(t,"HourglassOutline",function(){return po}),n.d(t,"HourglassTwoTone",function(){return wo}),n.d(t,"Html5Fill",function(){return To}),n.d(t,"Html5Outline",function(){return So}),n.d(t,"Html5TwoTone",function(){return Po}),n.d(t,"IdcardFill",function(){return Co}),n.d(t,"IdcardOutline",function(){return Oo}),n.d(t,"IdcardTwoTone",function(){return No}),n.d(t,"IeCircleFill",function(){return Ao}),n.d(t,"IeOutline",function(){return Wo}),n.d(t,"IeSquareFill",function(){return zo}),n.d(t,"ImportOutline",function(){return jo}),n.d(t,"InboxOutline",function(){return qo}),n.d(t,"InfoCircleFill",function(){return Lo}),n.d(t,"InfoCircleOutline",function(){return Ro}),n.d(t,"InfoCircleTwoTone",function(){return Do}),n.d(t,"InfoOutline",function(){return oa}),n.d(t,"InsertRowAboveOutline",function(){return Ho}),n.d(t,"InsertRowBelowOutline",function(){return $o}),n.d(t,"InsertRowLeftOutline",function(){return Ko}),n.d(t,"InsertRowRightOutline",function(){return Fo}),n.d(t,"InstagramFill",function(){return Go}),n.d(t,"InstagramOutline",function(){return Vo}),n.d(t,"InsuranceFill",function(){return Bo}),n.d(t,"InsuranceOutline",function(){return Yo}),n.d(t,"InsuranceTwoTone",function(){return na}),n.d(t,"InteractionFill",function(){return Uo}),n.d(t,"InteractionOutline",function(){return Qo}),n.d(t,"InteractionTwoTone",function(){return ra}),n.d(t,"IssuesCloseOutline",function(){return sa}),n.d(t,"ItalicOutline",function(){return ta}),n.d(t,"KeyOutline",function(){return ea}),n.d(t,"LaptopOutline",function(){return Jo}),n.d(t,"LayoutFill",function(){return Xo}),n.d(t,"LayoutOutline",function(){return Zo}),n.d(t,"LayoutTwoTone",function(){return ia}),n.d(t,"LeftCircleFill",function(){return ua}),n.d(t,"LeftCircleOutline",function(){return aa}),n.d(t,"LeftCircleTwoTone",function(){return ca}),n.d(t,"LeftOutline",function(){return ma}),n.d(t,"LeftSquareFill",function(){return ha}),n.d(t,"LeftSquareOutline",function(){return da}),n.d(t,"LeftSquareTwoTone",function(){return ba}),n.d(t,"LikeFill",function(){return va}),n.d(t,"LikeOutline",function(){return pa}),n.d(t,"LikeTwoTone",function(){return la}),n.d(t,"LineChartOutline",function(){return ga}),n.d(t,"LineHeightOutline",function(){return fa}),n.d(t,"LineOutline",function(){return ya}),n.d(t,"LinkOutline",function(){return wa}),n.d(t,"LinkedinFill",function(){return Sa}),n.d(t,"LinkedinOutline",function(){return _a}),n.d(t,"Loading3QuartersOutline",function(){return ka}),n.d(t,"LoadingOutline",function(){return xa}),n.d(t,"LockFill",function(){return Aa}),n.d(t,"LockOutline",function(){return Ca}),n.d(t,"LockTwoTone",function(){return Ua}),n.d(t,"LoginOutline",function(){return Oa}),n.d(t,"LogoutOutline",function(){return Ea}),n.d(t,"MacCommandFill",function(){return Ra}),n.d(t,"MacCommandOutline",function(){return Pa}),n.d(t,"MailFill",function(){return Ma}),n.d(t,"MailOutline",function(){return za}),n.d(t,"MailTwoTone",function(){return Ta}),n.d(t,"ManOutline",function(){return La}),n.d(t,"MedicineBoxFill",function(){return ja}),n.d(t,"MedicineBoxOutline",function(){return Na}),n.d(t,"MedicineBoxTwoTone",function(){return Ja}),n.d(t,"MediumCircleFill",function(){return Fa}),n.d(t,"MediumOutline",function(){return Da}),n.d(t,"MediumSquareFill",function(){return Wa}),n.d(t,"MediumWorkmarkOutline",function(){return mc}),n.d(t,"MehFill",function(){return Ia}),n.d(t,"MehOutline",function(){return Qc}),n.d(t,"MehTwoTone",function(){return qa}),n.d(t,"MenuFoldOutline",function(){return ic}),n.d(t,"MenuOutline",function(){return Ba}),n.d(t,"MenuUnfoldOutline",function(){return wc}),n.d(t,"MergeCellsOutline",function(){return Va}),n.d(t,"MessageFill",function(){return Ga}),n.d(t,"MessageOutline",function(){return $a}),n.d(t,"MessageTwoTone",function(){return Xa}),n.d(t,"MinusCircleFill",function(){return cc}),n.d(t,"MinusCircleOutline",function(){return Ka}),n.d(t,"MinusCircleTwoTone",function(){return Qa}),n.d(t,"MinusOutline",function(){return ec}),n.d(t,"MinusSquareFill",function(){return Za}),n.d(t,"MinusSquareOutline",function(){return rc}),n.d(t,"MinusSquareTwoTone",function(){return vc}),n.d(t,"MobileFill",function(){return zc}),n.d(t,"MobileOutline",function(){return tc}),n.d(t,"MobileTwoTone",function(){return nc}),n.d(t,"MoneyCollectFill",function(){return ac}),n.d(t,"MoneyCollectOutline",function(){return oc}),n.d(t,"MoneyCollectTwoTone",function(){return sc}),n.d(t,"MonitorOutline",function(){return lc}),n.d(t,"MoreOutline",function(){return hc}),n.d(t,"NodeCollapseOutline",function(){return uc}),n.d(t,"NodeExpandOutline",function(){return dc}),n.d(t,"NodeIndexOutline",function(){return Sc}),n.d(t,"NotificationFill",function(){return fc}),n.d(t,"NotificationOutline",function(){return gc}),n.d(t,"NotificationTwoTone",function(){return pc}),n.d(t,"NumberOutline",function(){return Tc}),n.d(t,"OneToOneOutline",function(){return Ic}),n.d(t,"OrderedListOutline",function(){return _c}),n.d(t,"PaperClipOutline",function(){return bc}),n.d(t,"PartitionOutline",function(){return yc}),n.d(t,"PauseCircleFill",function(){return Ec}),n.d(t,"PauseCircleOutline",function(){return xc}),n.d(t,"PauseCircleTwoTone",function(){return Oc}),n.d(t,"PauseOutline",function(){return Mc}),n.d(t,"PayCircleFill",function(){return kc}),n.d(t,"PayCircleOutline",function(){return jc}),n.d(t,"PercentageOutline",function(){return Cc}),n.d(t,"PhoneFill",function(){return Lc}),n.d(t,"PhoneOutline",function(){return Ac}),n.d(t,"PhoneTwoTone",function(){return bl}),n.d(t,"PicCenterOutline",function(){return Pc}),n.d(t,"PicLeftOutline",function(){return Vc}),n.d(t,"PicRightOutline",function(){return dl}),n.d(t,"PictureFill",function(){return Dc}),n.d(t,"PictureOutline",function(){return Rc}),n.d(t,"PictureTwoTone",function(){return yl}),n.d(t,"PieChartFill",function(){return gl}),n.d(t,"PieChartOutline",function(){return Nc}),n.d(t,"PieChartTwoTone",function(){return $c}),n.d(t,"PlayCircleFill",function(){return Hc}),n.d(t,"PlayCircleOutline",function(){return Fc}),n.d(t,"PlayCircleTwoTone",function(){return ul}),n.d(t,"PlaySquareFill",function(){return nl}),n.d(t,"PlaySquareOutline",function(){return Bc}),n.d(t,"PlaySquareTwoTone",function(){return cl}),n.d(t,"PlusCircleFill",function(){return qc}),n.d(t,"PlusCircleOutline",function(){return Wc}),n.d(t,"PlusCircleTwoTone",function(){return Jc}),n.d(t,"PlusOutline",function(){return Xc}),n.d(t,"PlusSquareFill",function(){return Yc}),n.d(t,"PlusSquareOutline",function(){return Gc}),n.d(t,"PlusSquareTwoTone",function(){return sl}),n.d(t,"PoundCircleFill",function(){return Zc}),n.d(t,"PoundCircleOutline",function(){return Kc}),n.d(t,"PoundCircleTwoTone",function(){return el}),n.d(t,"PoundOutline",function(){return ll}),n.d(t,"PoweroffOutline",function(){return tl}),n.d(t,"PrinterFill",function(){return ol}),n.d(t,"PrinterOutline",function(){return al}),n.d(t,"PrinterTwoTone",function(){return il}),n.d(t,"ProfileFill",function(){return rl}),n.d(t,"ProfileOutline",function(){return ml}),n.d(t,"ProfileTwoTone",function(){return hl}),n.d(t,"ProjectFill",function(){return iu}),n.d(t,"ProjectOutline",function(){return Xu}),n.d(t,"ProjectTwoTone",function(){return Bu}),n.d(t,"PropertySafetyFill",function(){return pl}),n.d(t,"PropertySafetyOutline",function(){return xl}),n.d(t,"PropertySafetyTwoTone",function(){return wl}),n.d(t,"PullRequestOutline",function(){return kl}),n.d(t,"PushpinFill",function(){return fl}),n.d(t,"PushpinOutline",function(){return yu}),n.d(t,"PushpinTwoTone",function(){return vl}),n.d(t,"QqCircleFill",function(){return Sl}),n.d(t,"QqOutline",function(){return _l}),n.d(t,"QqSquareFill",function(){return Ml}),n.d(t,"QrcodeOutline",function(){return Cl}),n.d(t,"QuestionCircleFill",function(){return Ol}),n.d(t,"QuestionCircleOutline",function(){return Ll}),n.d(t,"QuestionCircleTwoTone",function(){return El}),n.d(t,"QuestionOutline",function(){return bu}),n.d(t,"RadarChartOutline",function(){return jl}),n.d(t,"RadiusBottomleftOutline",function(){return qu}),n.d(t,"RadiusBottomrightOutline",function(){return Tl}),n.d(t,"RadiusSettingOutline",function(){return Pl}),n.d(t,"RadiusUpleftOutline",function(){return Dl}),n.d(t,"RadiusUprightOutline",function(){return Rl}),n.d(t,"ReadFill",function(){return Al}),n.d(t,"ReadOutline",function(){return zl}),n.d(t,"ReconciliationFill",function(){return uu}),n.d(t,"ReconciliationOutline",function(){return Vl}),n.d(t,"ReconciliationTwoTone",function(){return Nl}),n.d(t,"RedEnvelopeFill",function(){return Il}),n.d(t,"RedEnvelopeOutline",function(){return Bl}),n.d(t,"RedEnvelopeTwoTone",function(){return Hl}),n.d(t,"RedditCircleFill",function(){return Yl}),n.d(t,"RedditOutline",function(){return Gl}),n.d(t,"RedditSquareFill",function(){return Fl}),n.d(t,"RedoOutline",function(){return du}),n.d(t,"ReloadOutline",function(){return $l}),n.d(t,"RestFill",function(){return Ul}),n.d(t,"RestOutline",function(){return Xl}),n.d(t,"RestTwoTone",function(){return hu}),n.d(t,"RetweetOutline",function(){return Wl}),n.d(t,"RightCircleFill",function(){return eu}),n.d(t,"RightCircleOutline",function(){return ql}),n.d(t,"RightCircleTwoTone",function(){return Jl}),n.d(t,"RightOutline",function(){return Zl}),n.d(t,"RightSquareFill",function(){return Kl}),n.d(t,"RightSquareOutline",function(){return ou}),n.d(t,"RightSquareTwoTone",function(){return su}),n.d(t,"RiseOutline",function(){return Ql}),n.d(t,"RobotFill",function(){return ru}),n.d(t,"RobotOutline",function(){return nu}),n.d(t,"RocketFill",function(){return tu}),n.d(t,"RocketOutline",function(){return fu}),n.d(t,"RocketTwoTone",function(){return vu}),n.d(t,"RollbackOutline",function(){return cu}),n.d(t,"RotateLeftOutline",function(){return pu}),n.d(t,"RotateRightOutline",function(){return au}),n.d(t,"SafetyCertificateFill",function(){return Qu}),n.d(t,"SafetyCertificateOutline",function(){return lu}),n.d(t,"SafetyCertificateTwoTone",function(){return mu}),n.d(t,"SafetyOutline",function(){return Su}),n.d(t,"SaveFill",function(){return Cu}),n.d(t,"SaveOutline",function(){return wu}),n.d(t,"SaveTwoTone",function(){return Iu}),n.d(t,"ScanOutline",function(){return Du}),n.d(t,"ScheduleFill",function(){return gu}),n.d(t,"ScheduleOutline",function(){return xu}),n.d(t,"ScheduleTwoTone",function(){return _u}),n.d(t,"ScissorOutline",function(){return Ou}),n.d(t,"SearchOutline",function(){return ku}),n.d(t,"SecurityScanFill",function(){return Eu}),n.d(t,"SecurityScanOutline",function(){return Tu}),n.d(t,"SecurityScanTwoTone",function(){return Mu}),n.d(t,"SelectOutline",function(){return ju}),n.d(t,"SendOutline",function(){return Lu}),n.d(t,"SettingFill",function(){return $u}),n.d(t,"SettingOutline",function(){return Ju}),n.d(t,"SettingTwoTone",function(){return zu}),n.d(t,"ShakeOutline",function(){return Au}),n.d(t,"ShareAltOutline",function(){return Ru}),n.d(t,"ShopFill",function(){return Pu}),n.d(t,"ShopOutline",function(){return lh}),n.d(t,"ShopTwoTone",function(){return Nu}),n.d(t,"ShoppingCartOutline",function(){return Wu}),n.d(t,"ShoppingFill",function(){return Fu}),n.d(t,"ShoppingOutline",function(){return Hu}),n.d(t,"ShoppingTwoTone",function(){return Uu}),n.d(t,"ShrinkOutline",function(){return Vu}),n.d(t,"SignalFill",function(){return Ku}),n.d(t,"SisternodeOutline",function(){return Nh}),n.d(t,"SketchCircleFill",function(){return Yu}),n.d(t,"SketchOutline",function(){return Ph}),n.d(t,"SketchSquareFill",function(){return sh}),n.d(t,"SkinFill",function(){return Gu}),n.d(t,"SkinOutline",function(){return ih}),n.d(t,"SkinTwoTone",function(){return Zu}),n.d(t,"SkypeFill",function(){return ch}),n.d(t,"SkypeOutline",function(){return th}),n.d(t,"SlackCircleFill",function(){return eh}),n.d(t,"SlackOutline",function(){return Vh}),n.d(t,"SlackSquareFill",function(){return Bh}),n.d(t,"SlackSquareOutline",function(){return rh}),n.d(t,"SlidersFill",function(){return oh}),n.d(t,"SlidersOutline",function(){return nh}),n.d(t,"SlidersTwoTone",function(){return Ch}),n.d(t,"SmallDashOutline",function(){return hh}),n.d(t,"SmileFill",function(){return ah}),n.d(t,"SmileOutline",function(){return Mh}),n.d(t,"SmileTwoTone",function(){return uh}),n.d(t,"SnippetsFill",function(){return dh}),n.d(t,"SnippetsOutline",function(){return gh}),n.d(t,"SnippetsTwoTone",function(){return ph}),n.d(t,"SolutionOutline",function(){return yh}),n.d(t,"SortAscendingOutline",function(){return fh}),n.d(t,"SortDescendingOutline",function(){return _h}),n.d(t,"SoundFill",function(){return bh}),n.d(t,"SoundOutline",function(){return mh}),n.d(t,"SoundTwoTone",function(){return vh}),n.d(t,"SplitCellsOutline",function(){return Sh}),n.d(t,"StarFill",function(){return Oh}),n.d(t,"StarOutline",function(){return wh}),n.d(t,"StarTwoTone",function(){return xh}),n.d(t,"StepBackwardFill",function(){return kh}),n.d(t,"StepBackwardOutline",function(){return Uh}),n.d(t,"StepForwardFill",function(){return Ah}),n.d(t,"StepForwardOutline",function(){return Yh}),n.d(t,"StockOutline",function(){return zh}),n.d(t,"StopFill",function(){return Eh}),n.d(t,"StopOutline",function(){return Ih}),n.d(t,"StopTwoTone",function(){return Rh}),n.d(t,"StrikethroughOutline",function(){return Th}),n.d(t,"SubnodeOutline",function(){return jh}),n.d(t,"SwapLeftOutline",function(){return Dh}),n.d(t,"SwapOutline",function(){return Lh}),n.d(t,"SwapRightOutline",function(){return Lf}),n.d(t,"SwitcherFill",function(){return vd}),n.d(t,"SwitcherOutline",function(){return $h}),n.d(t,"SwitcherTwoTone",function(){return Hh}),n.d(t,"SyncOutline",function(){return Xh}),n.d(t,"TableOutline",function(){return Wh}),n.d(t,"TabletFill",function(){return Fh}),n.d(t,"TabletOutline",function(){return Wd}),n.d(t,"TabletTwoTone",function(){return qh}),n.d(t,"TagFill",function(){return zf}),n.d(t,"TagOutline",function(){return Pf}),n.d(t,"TagTwoTone",function(){return Cd}),n.d(t,"TagsFill",function(){return Gh}),n.d(t,"TagsOutline",function(){return Qh}),n.d(t,"TagsTwoTone",function(){return Kh}),n.d(t,"TaobaoCircleFill",function(){return Jh}),n.d(t,"TaobaoCircleOutline",function(){return Zh}),n.d(t,"TaobaoOutline",function(){return nd}),n.d(t,"TaobaoSquareFill",function(){return td}),n.d(t,"TeamOutline",function(){return rd}),n.d(t,"ThunderboltFill",function(){return id}),n.d(t,"ThunderboltOutline",function(){return ed}),n.d(t,"ThunderboltTwoTone",function(){return od}),n.d(t,"ToTopOutline",function(){return ad}),n.d(t,"ToolFill",function(){return sd}),n.d(t,"ToolOutline",function(){return Od}),n.d(t,"ToolTwoTone",function(){return cd}),n.d(t,"TrademarkCircleFill",function(){return pd}),n.d(t,"TrademarkCircleOutline",function(){return ud}),n.d(t,"TrademarkCircleTwoTone",function(){return dd}),n.d(t,"TrademarkOutline",function(){return fd}),n.d(t,"TransactionOutline",function(){return ld}),n.d(t,"TranslationOutline",function(){return kd}),n.d(t,"TrophyFill",function(){return hd}),n.d(t,"TrophyOutline",function(){return Sd}),n.d(t,"TrophyTwoTone",function(){return gd}),n.d(t,"TwitterCircleFill",function(){return Ad}),n.d(t,"TwitterOutline",function(){return md}),n.d(t,"TwitterSquareFill",function(){return Md}),n.d(t,"UnderlineOutline",function(){return yd}),n.d(t,"UndoOutline",function(){return bd}),n.d(t,"UngroupOutline",function(){return wd}),n.d(t,"UnlockFill",function(){return _d}),n.d(t,"UnlockOutline",function(){return Dd}),n.d(t,"UnlockTwoTone",function(){return xd}),n.d(t,"UnorderedListOutline",function(){return jd}),n.d(t,"UpCircleFill",function(){return Td}),n.d(t,"UpCircleOutline",function(){return Tf}),n.d(t,"UpCircleTwoTone",function(){return Yd}),n.d(t,"UpOutline",function(){return Qd}),n.d(t,"UpSquareFill",function(){return Ed}),n.d(t,"UpSquareOutline",function(){return Ld}),n.d(t,"UpSquareTwoTone",function(){return Ud}),n.d(t,"UploadOutline",function(){return $d}),n.d(t,"UsbFill",function(){return zd}),n.d(t,"UsbOutline",function(){return Hd}),n.d(t,"UsbTwoTone",function(){return Id}),n.d(t,"UserAddOutline",function(){return Pd}),n.d(t,"UserDeleteOutline",function(){return Rd}),n.d(t,"UserOutline",function(){return Nd}),n.d(t,"UserSwitchOutline",function(){return Fd}),n.d(t,"UsergroupAddOutline",function(){return Vd}),n.d(t,"UsergroupDeleteOutline",function(){return Bd}),n.d(t,"VerifiedOutline",function(){return Af}),n.d(t,"VerticalAlignBottomOutline",function(){return _f}),n.d(t,"VerticalAlignMiddleOutline",function(){return Kd}),n.d(t,"VerticalAlignTopOutline",function(){return tf}),n.d(t,"VerticalLeftOutline",function(){return pf}),n.d(t,"VerticalRightOutline",function(){return Jd}),n.d(t,"VideoCameraAddOutline",function(){return qd}),n.d(t,"VideoCameraFill",function(){return Zd}),n.d(t,"VideoCameraOutline",function(){return of}),n.d(t,"VideoCameraTwoTone",function(){return ef}),n.d(t,"WalletFill",function(){return Gd}),n.d(t,"WalletOutline",function(){return af}),n.d(t,"WalletTwoTone",function(){return Xd}),n.d(t,"WarningFill",function(){return rf}),n.d(t,"WarningOutline",function(){return cf}),n.d(t,"WarningTwoTone",function(){return mf}),n.d(t,"WechatFill",function(){return nf}),n.d(t,"WechatOutline",function(){return sf}),n.d(t,"WeiboCircleFill",function(){return lf}),n.d(t,"WeiboCircleOutline",function(){return uf}),n.d(t,"WeiboOutline",function(){return vf}),n.d(t,"WeiboSquareFill",function(){return df}),n.d(t,"WeiboSquareOutline",function(){return ff}),n.d(t,"WhatsAppOutline",function(){return hf}),n.d(t,"WifiOutline",function(){return gf}),n.d(t,"WindowsFill",function(){return yf}),n.d(t,"WindowsOutline",function(){return bf}),n.d(t,"WomanOutline",function(){return kf}),n.d(t,"YahooFill",function(){return Sf}),n.d(t,"YahooOutline",function(){return Of}),n.d(t,"YoutubeFill",function(){return wf}),n.d(t,"YoutubeOutline",function(){return Df}),n.d(t,"YuqueFill",function(){return xf}),n.d(t,"YuqueOutline",function(){return Mf}),n.d(t,"ZhihuCircleFill",function(){return Cf}),n.d(t,"ZhihuOutline",function(){return Ef}),n.d(t,"ZhihuSquareFill",function(){return If}),n.d(t,"ZoomInOutline",function(){return jf}),n.d(t,"ZoomOutOutline",function(){return Rf});const r={name:"account-book",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v584zM639.5 414h-45c-3 0-5.8 1.7-7.1 4.4L514 563.8h-2.8l-73.4-145.4a8 8 0 00-7.1-4.4h-46c-1.3 0-2.7.3-3.8 1-3.9 2.1-5.3 7-3.2 10.9l89.3 164h-48.6c-4.4 0-8 3.6-8 8v21.3c0 4.4 3.6 8 8 8h65.1v33.7h-65.1c-4.4 0-8 3.6-8 8v21.3c0 4.4 3.6 8 8 8h65.1V752c0 4.4 3.6 8 8 8h41.3c4.4 0 8-3.6 8-8v-53.8h65.4c4.4 0 8-3.6 8-8v-21.3c0-4.4-3.6-8-8-8h-65.4v-33.7h65.4c4.4 0 8-3.6 8-8v-21.3c0-4.4-3.6-8-8-8h-49.1l89.3-164.1c.6-1.2 1-2.5 1-3.8.1-4.4-3.4-8-7.9-8z" /></svg>'},i={name:"account-book",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zM648.3 426.8l-87.7 161.1h45.7c5.5 0 10 4.5 10 10v21.3c0 5.5-4.5 10-10 10h-63.4v29.7h63.4c5.5 0 10 4.5 10 10v21.3c0 5.5-4.5 10-10 10h-63.4V752c0 5.5-4.5 10-10 10h-41.3c-5.5 0-10-4.5-10-10v-51.8h-63.1c-5.5 0-10-4.5-10-10v-21.3c0-5.5 4.5-10 10-10h63.1v-29.7h-63.1c-5.5 0-10-4.5-10-10v-21.3c0-5.5 4.5-10 10-10h45.2l-88-161.1c-2.6-4.8-.9-10.9 4-13.6 1.5-.8 3.1-1.2 4.8-1.2h46c3.8 0 7.2 2.1 8.9 5.5l72.9 144.3 73.2-144.3a10 10 0 018.9-5.5h45c5.5 0 10 4.5 10 10 .1 1.7-.3 3.3-1.1 4.8z" /></svg>'},s={name:"account-book",theme:"twotone",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M712 304c0 4.4-3.6 8-8 8h-56c-4.4 0-8-3.6-8-8v-48H384v48c0 4.4-3.6 8-8 8h-56c-4.4 0-8-3.6-8-8v-48H184v584h656V256H712v48zm-65.6 121.8l-89.3 164.1h49.1c4.4 0 8 3.6 8 8v21.3c0 4.4-3.6 8-8 8h-65.4v33.7h65.4c4.4 0 8 3.6 8 8v21.3c0 4.4-3.6 8-8 8h-65.4V752c0 4.4-3.6 8-8 8h-41.3c-4.4 0-8-3.6-8-8v-53.8h-65.1c-4.4 0-8-3.6-8-8v-21.3c0-4.4 3.6-8 8-8h65.1v-33.7h-65.1c-4.4 0-8-3.6-8-8v-21.3c0-4.4 3.6-8 8-8H467l-89.3-164c-2.1-3.9-.7-8.8 3.2-10.9 1.1-.7 2.5-1 3.8-1h46a8 8 0 017.1 4.4l73.4 145.4h2.8l73.4-145.4c1.3-2.7 4.1-4.4 7.1-4.4h45c4.5 0 8 3.6 7.9 8 0 1.3-.4 2.6-1 3.8z" fill="#E6E6E6" /><path d="M639.5 414h-45c-3 0-5.8 1.7-7.1 4.4L514 563.8h-2.8l-73.4-145.4a8 8 0 00-7.1-4.4h-46c-1.3 0-2.7.3-3.8 1-3.9 2.1-5.3 7-3.2 10.9l89.3 164h-48.6c-4.4 0-8 3.6-8 8v21.3c0 4.4 3.6 8 8 8h65.1v33.7h-65.1c-4.4 0-8 3.6-8 8v21.3c0 4.4 3.6 8 8 8h65.1V752c0 4.4 3.6 8 8 8h41.3c4.4 0 8-3.6 8-8v-53.8h65.4c4.4 0 8-3.6 8-8v-21.3c0-4.4-3.6-8-8-8h-65.4v-33.7h65.4c4.4 0 8-3.6 8-8v-21.3c0-4.4-3.6-8-8-8h-49.1l89.3-164.1c.6-1.2 1-2.5 1-3.8.1-4.4-3.4-8-7.9-8z" fill="#333" /><path d="M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v584z" fill="#333" /></svg>'},o={name:"alibaba",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M602.9 669.8c-37.2 2.6-33.6-17.3-11.5-46.2 50.4-67.2 143.7-158.5 147.9-225.2 5.8-86.6-81.3-113.4-171-113.4-62.4 1.6-127 18.9-171 34.6-151.6 53.5-246.6 137.5-306.9 232-62.4 93.4-43 183.2 91.8 185.8 101.8-4.2 170.5-32.5 239.7-68.2.5 0-192.5 55.1-263.9 14.7-7.9-4.2-15.7-10-17.8-26.2 0-33.1 54.6-67.7 86.6-78.7v-56.7c64.5 22.6 140.6 16.3 205.7-32 2.1 5.8 4.2 13.1 3.7 21h11c2.6-22.6-12.6-44.6-37.8-46.2 7.3 5.8 12.6 10.5 15.2 14.7l-1 1-.5.5c-83.9 58.8-165.3 31.5-173.1 29.9l46.7-45.7-13.1-33.1c92.9-32.5 169.5-56.2 296.9-78.7l-28.5-23 14.7-8.9c75.5 21 126.4 36.7 123.8 76.6-1 6.8-3.7 14.7-7.9 23.1C660.1 466.1 594 538 567.2 569c-17.3 20.5-34.6 39.4-46.7 58.3-13.6 19.4-20.5 37.3-21 53.5 2.6 131.8 391.4-61.9 468-112.9-111.7 47.8-232.9 93.5-364.6 101.9zm85-302.9c2.8 5.2 4.1 11.6 4.1 19.1-.1-6.8-1.4-13.3-4.1-19.1z" /></svg>'},a={name:"align-center",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M264 230h496c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H264c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm496 424c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H264c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496zm144 140H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-424H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z" /></svg>'},c={name:"align-right",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M904 158H408c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 424H408c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 212H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-424H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z" /></svg>'},l={name:"aliwangwang",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M868.2 377.4c-18.9-45.1-46.3-85.6-81.2-120.6a377.26 377.26 0 00-120.5-81.2A375.65 375.65 0 00519 145.8c-41.9 0-82.9 6.7-121.9 20C306 123.3 200.8 120 170.6 120c-2.2 0-7.4 0-9.4.2-11.9.4-22.8 6.5-29.2 16.4-6.5 9.9-7.7 22.4-3.4 33.5l64.3 161.6a378.59 378.59 0 00-52.8 193.2c0 51.4 10 101 29.8 147.6 18.9 45 46.2 85.6 81.2 120.5 34.7 34.8 75.4 62.1 120.5 81.2C418.3 894 467.9 904 519 904c51.3 0 100.9-10 147.7-29.8 44.9-18.9 85.5-46.3 120.4-81.2 34.7-34.8 62.1-75.4 81.2-120.6a376.5 376.5 0 0029.8-147.6c-.2-51.2-10.1-100.8-29.9-147.4zm-325.2 79c0 20.4-16.6 37.1-37.1 37.1-20.4 0-37.1-16.7-37.1-37.1v-55.1c0-20.4 16.6-37.1 37.1-37.1 20.4 0 37.1 16.6 37.1 37.1v55.1zm175.2 0c0 20.4-16.6 37.1-37.1 37.1S644 476.8 644 456.4v-55.1c0-20.4 16.7-37.1 37.1-37.1 20.4 0 37.1 16.6 37.1 37.1v55.1z" /></svg>'},u={name:"alipay-circle",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M308.6 545.7c-19.8 2-57.1 10.7-77.4 28.6-61 53-24.5 150 99 150 71.8 0 143.5-45.7 199.8-119-80.2-38.9-148.1-66.8-221.4-59.6zm460.5 67c100.1 33.4 154.7 43 166.7 44.8A445.9 445.9 0 00960 512c0-247.4-200.6-448-448-448S64 264.6 64 512s200.6 448 448 448c155.9 0 293.2-79.7 373.5-200.5-75.6-29.8-213.6-85-286.8-120.1-69.9 85.7-160.1 137.8-253.7 137.8-158.4 0-212.1-138.1-137.2-229 16.3-19.8 44.2-38.7 87.3-49.4 67.5-16.5 175 10.3 275.7 43.4 18.1-33.3 33.4-69.9 44.7-108.9H305.1V402h160v-56.2H271.3v-31.3h193.8v-80.1s0-13.5 13.7-13.5H557v93.6h191.7v31.3H557.1V402h156.4c-15 61.1-37.7 117.4-66.2 166.8 47.5 17.1 90.1 33.3 121.8 43.9z" /></svg>'},h={name:"align-left",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M120 230h496c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm0 424h496c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm784 140H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-424H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z" /></svg>'},d={name:"android",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M270.1 741.7c0 23.4 19.1 42.5 42.6 42.5h48.7v120.4c0 30.5 24.5 55.4 54.6 55.4 30.2 0 54.6-24.8 54.6-55.4V784.1h85v120.4c0 30.5 24.5 55.4 54.6 55.4 30.2 0 54.6-24.8 54.6-55.4V784.1h48.7c23.5 0 42.6-19.1 42.6-42.5V346.4h-486v395.3zm357.1-600.1l44.9-65c2.6-3.8 2-8.9-1.5-11.4-3.5-2.4-8.5-1.2-11.1 2.6l-46.6 67.6c-30.7-12.1-64.9-18.8-100.8-18.8-35.9 0-70.1 6.7-100.8 18.8l-46.6-67.5c-2.6-3.8-7.6-5.1-11.1-2.6-3.5 2.4-4.1 7.4-1.5 11.4l44.9 65c-71.4 33.2-121.4 96.1-127.8 169.6h486c-6.6-73.6-56.7-136.5-128-169.7zM409.5 244.1a26.9 26.9 0 1126.9-26.9 26.97 26.97 0 01-26.9 26.9zm208.4 0a26.9 26.9 0 1126.9-26.9 26.97 26.97 0 01-26.9 26.9zm223.4 100.7c-30.2 0-54.6 24.8-54.6 55.4v216.4c0 30.5 24.5 55.4 54.6 55.4 30.2 0 54.6-24.8 54.6-55.4V400.1c.1-30.6-24.3-55.3-54.6-55.3zm-658.6 0c-30.2 0-54.6 24.8-54.6 55.4v216.4c0 30.5 24.5 55.4 54.6 55.4 30.2 0 54.6-24.8 54.6-55.4V400.1c0-30.6-24.5-55.3-54.6-55.3z" /></svg>'},f={name:"amazon",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M825 768.9c-3.3-.9-7.3-.4-11.9 1.3-61.6 28.2-121.5 48.3-179.7 60.2C507.7 856 385.2 842.6 266 790.3c-33.1-14.6-79.1-39.2-138-74a9.36 9.36 0 00-5.3-2c-2-.1-3.7.1-5.3.9-1.6.8-2.8 1.8-3.7 3.1-.9 1.3-1.1 3.1-.4 5.4.6 2.2 2.1 4.7 4.6 7.4 10.4 12.2 23.3 25.2 38.6 39s35.6 29.4 60.9 46.8c25.3 17.4 51.8 32.9 79.3 46.4 27.6 13.5 59.6 24.9 96.1 34.1s73 13.8 109.4 13.8c36.2 0 71.4-3.7 105.5-10.9 34.2-7.3 63-15.9 86.5-25.9 23.4-9.9 45-21 64.8-33 19.8-12 34.4-22.2 43.9-30.3 9.5-8.2 16.3-14.6 20.2-19.4 4.6-5.7 6.9-10.6 6.9-14.9.1-4.5-1.7-7.1-5-7.9zM527.4 348.1c-15.2 1.3-33.5 4.1-55 8.3-21.5 4.1-41.4 9.3-59.8 15.4s-37.2 14.6-56.3 25.4c-19.2 10.8-35.5 23.2-49 37s-24.5 31.1-33.1 52c-8.6 20.8-12.9 43.7-12.9 68.7 0 27.1 4.7 51.2 14.3 72.5 9.5 21.3 22.2 38 38.2 50.4 15.9 12.4 34 22.1 54 29.2 20 7.1 41.2 10.3 63.2 9.4 22-.9 43.5-4.3 64.4-10.3 20.8-5.9 40.4-15.4 58.6-28.3 18.2-12.9 33.1-28.2 44.8-45.7 4.3 6.6 8.1 11.5 11.5 14.7l8.7 8.9c5.8 5.9 14.7 14.6 26.7 26.1 11.9 11.5 24.1 22.7 36.3 33.7l104.4-99.9-6-4.9c-4.3-3.3-9.4-8-15.2-14.3-5.8-6.2-11.6-13.1-17.2-20.5-5.7-7.4-10.6-16.1-14.7-25.9-4.1-9.8-6.2-19.3-6.2-28.5V258.7c0-10.1-1.9-21-5.7-32.8-3.9-11.7-10.7-24.5-20.7-38.3-10-13.8-22.4-26.2-37.2-37-14.9-10.8-34.7-20-59.6-27.4-24.8-7.4-52.6-11.1-83.2-11.1-31.3 0-60.4 3.7-87.6 10.9-27.1 7.3-50.3 17-69.7 29.2-19.3 12.2-35.9 26.3-49.7 42.4-13.8 16.1-24.1 32.9-30.8 50.4-6.7 17.5-10.1 35.2-10.1 53.1L408 310c5.5-16.4 12.9-30.6 22-42.8 9.2-12.2 17.9-21 25.8-26.5 8-5.5 16.6-9.9 25.7-13.2 9.2-3.3 15.4-5 18.6-5.4 3.2-.3 5.7-.4 7.6-.4 26.7 0 45.2 7.9 55.6 23.6 6.5 9.5 9.7 23.9 9.7 43.3v56.6c-15.2.6-30.4 1.6-45.6 2.9zM573.1 500c0 16.6-2.2 31.7-6.5 45-9.2 29.1-26.7 47.4-52.4 54.8-22.4 6.6-43.7 3.3-63.9-9.8-21.5-14-32.2-33.8-32.2-59.3 0-19.9 5-36.9 15-51.1 10-14.1 23.3-24.7 40-31.7s33-12 49-14.9c15.9-3 33-4.8 51-5.4V500zm335.2 218.9c-4.3-5.4-15.9-8.9-34.9-10.7-19-1.8-35.5-1.7-49.7.4-15.3 1.8-31.1 6.2-47.3 13.4-16.3 7.1-23.4 13.1-21.6 17.8l.7 1.3.9.7 1.4.2h4.6c.8 0 1.8-.1 3.2-.2 1.4-.1 2.7-.3 3.9-.4 1.2-.1 2.9-.3 5.1-.4 2.1-.1 4.1-.4 6-.7.3 0 3.7-.3 10.3-.9 6.6-.6 11.4-1 14.3-1.3 2.9-.3 7.8-.6 14.5-.9 6.7-.3 12.1-.3 16.1 0 4 .3 8.5.7 13.6 1.1 5.1.4 9.2 1.3 12.4 2.7 3.2 1.3 5.6 3 7.1 5.1 5.2 6.6 4.2 21.2-3 43.9s-14 40.8-20.4 54.2c-2.8 5.7-2.8 9.2 0 10.7s6.7.1 11.9-4c15.6-12.2 28.6-30.6 39.1-55.3 6.1-14.6 10.5-29.8 13.1-45.7 2.4-15.9 2-26.2-1.3-31z" /></svg>'},p={name:"alipay-circle",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M308.6 545.7c-19.8 2-57.1 10.7-77.4 28.6-61 53-24.5 150 99 150 71.8 0 143.5-45.7 199.8-119-80.2-38.9-148.1-66.8-221.4-59.6zm460.5 67c100.1 33.4 154.7 43 166.7 44.8A445.9 445.9 0 00960 512c0-247.4-200.6-448-448-448S64 264.6 64 512s200.6 448 448 448c155.9 0 293.2-79.7 373.5-200.5-75.6-29.8-213.6-85-286.8-120.1-69.9 85.7-160.1 137.8-253.7 137.8-158.4 0-212.1-138.1-137.2-229 16.3-19.8 44.2-38.7 87.3-49.4 67.5-16.5 175 10.3 275.7 43.4 18.1-33.3 33.4-69.9 44.7-108.9H305.1V402h160v-56.2H271.3v-31.3h193.8v-80.1s0-13.5 13.7-13.5H557v93.6h191.7v31.3H557.1V402h156.4c-15 61.1-37.7 117.4-66.2 166.8 47.5 17.1 90.1 33.3 121.8 43.9z" /></svg>'},m={name:"android",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M448.3 225.2c-18.6 0-32 13.4-32 31.9s13.5 31.9 32 31.9c18.6 0 32-13.4 32-31.9.1-18.4-13.4-31.9-32-31.9zm393.9 96.4c-13.8-13.8-32.7-21.5-53.2-21.5-3.9 0-7.4.4-10.7 1v-1h-3.6c-5.5-30.6-18.6-60.5-38.1-87.4-18.7-25.7-43-47.9-70.8-64.9l25.1-35.8v-3.3c0-.8.4-2.3.7-3.8.6-2.4 1.4-5.5 1.4-8.9 0-18.5-13.5-31.9-32-31.9-9.8 0-19.5 5.7-25.9 15.4l-29.3 42.1c-30-9.8-62.4-15-93.8-15-31.3 0-63.7 5.2-93.8 15L389 79.4c-6.6-9.6-16.1-15.4-26-15.4-18.6 0-32 13.4-32 31.9 0 6.2 2.5 12.8 6.7 17.4l22.6 32.3c-28.7 17-53.5 39.4-72.2 65.1-19.4 26.9-32 56.8-36.7 87.4h-5.5v1c-3.2-.6-6.7-1-10.7-1-20.3 0-39.2 7.5-53.1 21.3-13.8 13.8-21.5 32.6-21.5 53v235c0 20.3 7.5 39.1 21.4 52.9 13.8 13.8 32.8 21.5 53.2 21.5 3.9 0 7.4-.4 10.7-1v93.5c0 29.2 23.9 53.1 53.2 53.1H331v58.3c0 20.3 7.5 39.1 21.4 52.9 13.8 13.8 32.8 21.5 53.2 21.5 20.3 0 39.2-7.5 53.1-21.3 13.8-13.8 21.5-32.6 21.5-53v-58.2H544v58.1c0 20.3 7.5 39.1 21.4 52.9 13.8 13.8 32.8 21.5 53.2 21.5 20.4 0 39.2-7.5 53.1-21.6 13.8-13.8 21.5-32.6 21.5-53v-58.2h31.9c29.3 0 53.2-23.8 53.2-53.1v-91.4c3.2.6 6.7 1 10.7 1 20.3 0 39.2-7.5 53.1-21.3 13.8-13.8 21.5-32.6 21.5-53v-235c-.1-20.3-7.6-39-21.4-52.9zM246 609.6c0 6.8-3.9 10.6-10.7 10.6-6.8 0-10.7-3.8-10.7-10.6V374.5c0-6.8 3.9-10.6 10.7-10.6 6.8 0 10.7 3.8 10.7 10.6v235.1zm131.1-396.8c37.5-27.3 85.3-42.3 135-42.3s97.5 15.1 135 42.5c32.4 23.7 54.2 54.2 62.7 87.5H314.4c8.5-33.4 30.5-64 62.7-87.7zm39.3 674.7c-.6 5.6-4.4 8.7-10.5 8.7-6.8 0-10.7-3.8-10.7-10.6v-58.2h21.2v60.1zm202.3 8.7c-6.8 0-10.7-3.8-10.7-10.6v-58.2h21.2v60.1c-.6 5.6-4.3 8.7-10.5 8.7zm95.8-132.6H309.9V364h404.6v399.6zm85.2-154c0 6.8-3.9 10.6-10.7 10.6-6.8 0-10.7-3.8-10.7-10.6V374.5c0-6.8 3.9-10.6 10.7-10.6 6.8 0 10.7 3.8 10.7 10.6v235.1zM576.1 225.2c-18.6 0-32 13.4-32 31.9s13.5 31.9 32 31.9c18.6 0 32.1-13.4 32.1-32-.1-18.6-13.4-31.8-32.1-31.8z" /></svg>'},g={name:"alipay-square",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M308.6 545.7c-19.8 2-57.1 10.7-77.4 28.6-61 53-24.5 150 99 150 71.8 0 143.5-45.7 199.8-119-80.2-38.9-148.1-66.8-221.4-59.6zM880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm29.4 663.2S703 689.4 598.7 639.5C528.8 725.2 438.6 777.3 345 777.3c-158.4 0-212.1-138.1-137.2-229 16.3-19.8 44.2-38.7 87.3-49.4 67.5-16.5 175 10.3 275.7 43.4 18.1-33.3 33.4-69.9 44.7-108.9H305.1V402h160v-56.2H271.3v-31.3h193.8v-80.1s0-13.5 13.7-13.5H557v93.6h191.7v31.3H557.1V402h156.4c-15 61.1-37.7 117.4-66.2 166.8 47.5 17.1 90.1 33.3 121.8 43.9 114.3 38.2 140.2 40.2 140.2 40.2v122.3z" /></svg>'},v={name:"ant-design",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M716.3 313.8c19-18.9 19-49.7 0-68.6l-69.9-69.9.1.1c-18.5-18.5-50.3-50.3-95.3-95.2-21.2-20.7-55.5-20.5-76.5.5L80.9 474.2a53.84 53.84 0 000 76.4L474.6 944a54.14 54.14 0 0076.5 0l165.1-165c19-18.9 19-49.7 0-68.6a48.7 48.7 0 00-68.7 0l-125 125.2c-5.2 5.2-13.3 5.2-18.5 0L189.5 521.4c-5.2-5.2-5.2-13.3 0-18.5l314.4-314.2c.4-.4.9-.7 1.3-1.1 5.2-4.1 12.4-3.7 17.2 1.1l125.2 125.1c19 19 49.8 19 68.7 0zM408.6 514.4a106.3 106.2 0 10212.6 0 106.3 106.2 0 10-212.6 0zm536.2-38.6L821.9 353.5c-19-18.9-49.8-18.9-68.7.1a48.4 48.4 0 000 68.6l83 82.9c5.2 5.2 5.2 13.3 0 18.5l-81.8 81.7a48.4 48.4 0 000 68.6 48.7 48.7 0 0068.7 0l121.8-121.7a53.93 53.93 0 00-.1-76.4z" /></svg>'},y={name:"aliwangwang",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M868.2 377.4c-18.9-45.1-46.3-85.6-81.2-120.6a377.26 377.26 0 00-120.5-81.2A375.65 375.65 0 00519 145.8c-41.9 0-82.9 6.7-121.9 20C306 123.3 200.8 120 170.6 120c-2.2 0-7.4 0-9.4.2-11.9.4-22.8 6.5-29.2 16.4-6.5 9.9-7.7 22.4-3.4 33.5l64.3 161.6a378.59 378.59 0 00-52.8 193.2c0 51.4 10 101 29.8 147.6 18.9 45 46.2 85.6 81.2 120.5 34.7 34.8 75.4 62.1 120.5 81.2C418.3 894 467.9 904 519 904c51.3 0 100.9-10.1 147.7-29.8 44.9-18.9 85.5-46.3 120.4-81.2 34.7-34.8 62.1-75.4 81.2-120.6a376.5 376.5 0 0029.8-147.6c-.2-51.2-10.1-100.8-29.9-147.4zm-66.4 266.5a307.08 307.08 0 01-65.9 98c-28.4 28.5-61.3 50.7-97.7 65.9h-.1c-38 16-78.3 24.2-119.9 24.2a306.51 306.51 0 01-217.5-90.2c-28.4-28.5-50.6-61.4-65.8-97.8v-.1c-16-37.8-24.1-78.2-24.1-119.9 0-55.4 14.8-109.7 42.8-157l13.2-22.1-9.5-23.9L206 192c14.9.6 35.9 2.1 59.7 5.6 43.8 6.5 82.5 17.5 114.9 32.6l19 8.9 19.9-6.8c31.5-10.8 64.8-16.2 98.9-16.2a306.51 306.51 0 01217.5 90.2c28.4 28.5 50.6 61.4 65.8 97.8l.1.1.1.1c16 37.6 24.1 78 24.2 119.8-.1 41.7-8.3 82-24.3 119.8zM681.1 364.2c-20.4 0-37.1 16.7-37.1 37.1v55.1c0 20.4 16.6 37.1 37.1 37.1s37.1-16.7 37.1-37.1v-55.1c0-20.5-16.7-37.1-37.1-37.1zm-175.2 0c-20.5 0-37.1 16.7-37.1 37.1v55.1c0 20.4 16.7 37.1 37.1 37.1 20.5 0 37.1-16.7 37.1-37.1v-55.1c0-20.5-16.7-37.1-37.1-37.1z" /></svg>'},b={name:"api",theme:"twotone",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M148.2 674.6zm106.7-92.3c-25 25-38.7 58.1-38.7 93.4s13.8 68.5 38.7 93.4c25 25 58.1 38.7 93.4 38.7 35.3 0 68.5-13.8 93.4-38.7l59.4-59.4-186.8-186.8-59.4 59.4zm420.8-366.1c-35.3 0-68.5 13.8-93.4 38.7l-59.4 59.4 186.8 186.8 59.4-59.4c24.9-25 38.7-58.1 38.7-93.4s-13.8-68.5-38.7-93.4c-25-25-58.1-38.7-93.4-38.7z" fill="#E6E6E6" /><path d="M578.9 546.7a8.03 8.03 0 00-11.3 0L501 613.3 410.7 523l66.7-66.7c3.1-3.1 3.1-8.2 0-11.3L441 408.6a8.03 8.03 0 00-11.3 0L363 475.3l-43-43a7.85 7.85 0 00-5.7-2.3c-2 0-4.1.8-5.7 2.3L206.8 534.2a199.45 199.45 0 00-58.6 140.4c-.2 39.5 11.2 79.1 34.3 113.1l-76.1 76.1a8.03 8.03 0 000 11.3l42.4 42.4c1.6 1.6 3.6 2.3 5.7 2.3s4.1-.8 5.7-2.3l76.1-76.1c33.7 22.9 72.9 34.3 112.1 34.3 51.2 0 102.4-19.5 141.5-58.6l101.9-101.9c3.1-3.1 3.1-8.2 0-11.3l-43-43 66.7-66.7c3.1-3.1 3.1-8.2 0-11.3l-36.6-36.2zM441.7 769.1a131.32 131.32 0 01-93.4 38.7c-35.3 0-68.4-13.7-93.4-38.7-24.9-24.9-38.7-58.1-38.7-93.4s13.7-68.4 38.7-93.4l59.4-59.4 186.8 186.8-59.4 59.4zm476-620.3l-42.4-42.4c-1.6-1.6-3.6-2.3-5.7-2.3s-4.1.8-5.7 2.3l-76.1 76.1a199.27 199.27 0 00-112.1-34.3c-51.2 0-102.4 19.5-141.5 58.6L432.3 308.7a8.03 8.03 0 000 11.3L704 591.7c1.6 1.6 3.6 2.3 5.7 2.3 2 0 4.1-.8 5.7-2.3l101.9-101.9c68.9-69 77-175.7 24.3-253.5l76.1-76.1c3.1-3.2 3.1-8.3 0-11.4zM769.1 441.7l-59.4 59.4-186.8-186.8 59.4-59.4c24.9-24.9 58.1-38.7 93.4-38.7s68.4 13.7 93.4 38.7c24.9 24.9 38.7 58.1 38.7 93.4s-13.8 68.4-38.7 93.4z" fill="#333" /></svg>'},_={name:"apartment",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M908 640H804V488c0-4.4-3.6-8-8-8H548v-96h108c8.8 0 16-7.2 16-16V80c0-8.8-7.2-16-16-16H368c-8.8 0-16 7.2-16 16v288c0 8.8 7.2 16 16 16h108v96H228c-4.4 0-8 3.6-8 8v152H116c-8.8 0-16 7.2-16 16v288c0 8.8 7.2 16 16 16h288c8.8 0 16-7.2 16-16V656c0-8.8-7.2-16-16-16H292v-88h440v88H620c-8.8 0-16 7.2-16 16v288c0 8.8 7.2 16 16 16h288c8.8 0 16-7.2 16-16V656c0-8.8-7.2-16-16-16zm-564 76v168H176V716h168zm84-408V140h168v168H428zm420 576H680V716h168v168z" /></svg>'},w={name:"amazon-square",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM547.8 326.7c-7.2-10.9-20.1-16.4-38.7-16.4-1.3 0-3 .1-5.3.3-2.2.2-6.6 1.5-12.9 3.7a79.4 79.4 0 00-17.9 9.1c-5.5 3.8-11.5 10-18 18.4-6.4 8.5-11.5 18.4-15.3 29.8l-94-8.4c0-12.4 2.4-24.7 7-36.9s11.8-23.9 21.4-35c9.6-11.2 21.1-21 34.5-29.4 13.4-8.5 29.6-15.2 48.4-20.3 18.9-5.1 39.1-7.6 60.9-7.6 21.3 0 40.6 2.6 57.8 7.7 17.2 5.2 31.1 11.5 41.4 19.1a117 117 0 0125.9 25.7c6.9 9.6 11.7 18.5 14.4 26.7 2.7 8.2 4 15.7 4 22.8v182.5c0 6.4 1.4 13 4.3 19.8 2.9 6.8 6.3 12.8 10.2 18 3.9 5.2 7.9 9.9 12 14.3 4.1 4.3 7.6 7.7 10.6 9.9l4.1 3.4-72.5 69.4c-8.5-7.7-16.9-15.4-25.2-23.4-8.3-8-14.5-14-18.5-18.1l-6.1-6.2c-2.4-2.3-5-5.7-8-10.2-8.1 12.2-18.5 22.8-31.1 31.8-12.7 9-26.3 15.6-40.7 19.7-14.5 4.1-29.4 6.5-44.7 7.1-15.3.6-30-1.5-43.9-6.5-13.9-5-26.5-11.7-37.6-20.3-11.1-8.6-19.9-20.2-26.5-35-6.6-14.8-9.9-31.5-9.9-50.4 0-17.4 3-33.3 8.9-47.7 6-14.5 13.6-26.5 23-36.1 9.4-9.6 20.7-18.2 34-25.7s26.4-13.4 39.2-17.7c12.8-4.2 26.6-7.8 41.5-10.7 14.9-2.9 27.6-4.8 38.2-5.7 10.6-.9 21.2-1.6 31.8-2v-39.4c0-13.5-2.3-23.5-6.7-30.1zm180.5 379.6c-2.8 3.3-7.5 7.8-14.1 13.5s-16.8 12.7-30.5 21.1c-13.7 8.4-28.8 16-45 22.9-16.3 6.9-36.3 12.9-60.1 18-23.7 5.1-48.2 7.6-73.3 7.6-25.4 0-50.7-3.2-76.1-9.6-25.4-6.4-47.6-14.3-66.8-23.7-19.1-9.4-37.6-20.2-55.1-32.2-17.6-12.1-31.7-22.9-42.4-32.5-10.6-9.6-19.6-18.7-26.8-27.1-1.7-1.9-2.8-3.6-3.2-5.1-.4-1.5-.3-2.8.3-3.7.6-.9 1.5-1.6 2.6-2.2a7.42 7.42 0 017.4.8c40.9 24.2 72.9 41.3 95.9 51.4 82.9 36.4 168 45.7 255.3 27.9 40.5-8.3 82.1-22.2 124.9-41.8 3.2-1.2 6-1.5 8.3-.9 2.3.6 3.5 2.4 3.5 5.4 0 2.8-1.6 6.3-4.8 10.2zm59.9-29c-1.8 11.1-4.9 21.6-9.1 31.8-7.2 17.1-16.3 30-27.1 38.4-3.6 2.9-6.4 3.8-8.3 2.8-1.9-1-1.9-3.5 0-7.4 4.5-9.3 9.2-21.8 14.2-37.7 5-15.8 5.7-26 2.1-30.5-1.1-1.5-2.7-2.6-5-3.6-2.2-.9-5.1-1.5-8.6-1.9s-6.7-.6-9.4-.8c-2.8-.2-6.5-.2-11.2 0-4.7.2-8 .4-10.1.6a874.4 874.4 0 01-17.1 1.5c-1.3.2-2.7.4-4.1.5-1.5.1-2.7.2-3.5.3l-2.7.3c-1 .1-1.7.2-2.2.2h-3.2l-1-.2-.6-.5-.5-.9c-1.3-3.3 3.7-7.4 15-12.4s22.3-8.1 32.9-9.3c9.8-1.5 21.3-1.5 34.5-.3s21.3 3.7 24.3 7.4c2.3 3.5 2.5 10.7.7 21.7zM485 467.5c-11.6 4.9-20.9 12.2-27.8 22-6.9 9.8-10.4 21.6-10.4 35.5 0 17.8 7.5 31.5 22.4 41.2 14.1 9.1 28.9 11.4 44.4 6.8 17.9-5.2 30-17.9 36.4-38.1 3-9.3 4.5-19.7 4.5-31.3v-50.2c-12.6.4-24.4 1.6-35.5 3.7-11.1 2.1-22.4 5.6-34 10.4z" /></svg>'},S={name:"amazon-circle",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M485 467.5c-11.6 4.9-20.9 12.2-27.8 22-6.9 9.8-10.4 21.6-10.4 35.5 0 17.8 7.5 31.5 22.4 41.2 14.1 9.1 28.9 11.4 44.4 6.8 17.9-5.2 30-17.9 36.4-38.1 3-9.3 4.5-19.7 4.5-31.3v-50.2c-12.6.4-24.4 1.6-35.5 3.7-11.1 2.1-22.4 5.6-34 10.4zM512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm35.8 262.7c-7.2-10.9-20.1-16.4-38.7-16.4-1.3 0-3 .1-5.3.3-2.2.2-6.6 1.5-12.9 3.7a79.4 79.4 0 00-17.9 9.1c-5.5 3.8-11.5 10-18 18.4-6.4 8.5-11.5 18.4-15.3 29.8l-94-8.4c0-12.4 2.4-24.7 7-36.9 4.7-12.2 11.8-23.9 21.4-35 9.6-11.2 21.1-21 34.5-29.4 13.4-8.5 29.6-15.2 48.4-20.3 18.9-5.1 39.1-7.6 60.9-7.6 21.3 0 40.6 2.6 57.8 7.7 17.2 5.2 31.1 11.5 41.4 19.1a117 117 0 0125.9 25.7c6.9 9.6 11.7 18.5 14.4 26.7 2.7 8.2 4 15.7 4 22.8v182.5c0 6.4 1.4 13 4.3 19.8 2.9 6.8 6.3 12.8 10.2 18 3.9 5.2 7.9 9.9 12 14.3 4.1 4.3 7.6 7.7 10.6 9.9l4.1 3.4-72.5 69.4c-8.5-7.7-16.9-15.4-25.2-23.4-8.3-8-14.5-14-18.5-18.1l-6.1-6.2c-2.4-2.3-5-5.7-8-10.2-8.1 12.2-18.5 22.8-31.1 31.8-12.7 9-26.3 15.6-40.7 19.7-14.5 4.1-29.4 6.5-44.7 7.1-15.3.6-30-1.5-43.9-6.5-13.9-5-26.5-11.7-37.6-20.3-11.1-8.6-19.9-20.2-26.5-35-6.6-14.8-9.9-31.5-9.9-50.4 0-17.4 3-33.3 8.9-47.7 6-14.5 13.6-26.5 23-36.1 9.4-9.6 20.7-18.2 34-25.7s26.4-13.4 39.2-17.7c12.8-4.2 26.6-7.8 41.5-10.7 14.9-2.9 27.6-4.8 38.2-5.7 10.6-.9 21.2-1.6 31.8-2v-39.4c0-13.5-2.3-23.5-6.7-30.1zm180.5 379.6c-2.8 3.3-7.5 7.8-14.1 13.5s-16.8 12.7-30.5 21.1c-13.7 8.4-28.8 16-45 22.9-16.3 6.9-36.3 12.9-60.1 18-23.7 5.1-48.2 7.6-73.3 7.6-25.4 0-50.7-3.2-76.1-9.6-25.4-6.4-47.6-14.3-66.8-23.7-19.1-9.4-37.6-20.2-55.1-32.2-17.6-12.1-31.7-22.9-42.4-32.5-10.6-9.6-19.6-18.7-26.8-27.1-1.7-1.9-2.8-3.6-3.2-5.1-.4-1.5-.3-2.8.3-3.7.6-.9 1.5-1.6 2.6-2.2a7.42 7.42 0 017.4.8c40.9 24.2 72.9 41.3 95.9 51.4 82.9 36.4 168 45.7 255.3 27.9 40.5-8.3 82.1-22.2 124.9-41.8 3.2-1.2 6-1.5 8.3-.9 2.3.6 3.5 2.4 3.5 5.4 0 2.8-1.6 6.3-4.8 10.2zm59.9-29c-1.8 11.1-4.9 21.6-9.1 31.8-7.2 17.1-16.3 30-27.1 38.4-3.6 2.9-6.4 3.8-8.3 2.8-1.9-1-1.9-3.5 0-7.4 4.5-9.3 9.2-21.8 14.2-37.7 5-15.8 5.7-26 2.1-30.5-1.1-1.5-2.7-2.6-5-3.6-2.2-.9-5.1-1.5-8.6-1.9s-6.7-.6-9.4-.8c-2.8-.2-6.5-.2-11.2 0-4.7.2-8 .4-10.1.6a874.4 874.4 0 01-17.1 1.5c-1.3.2-2.7.4-4.1.5-1.5.1-2.7.2-3.5.3l-2.7.3c-1 .1-1.7.2-2.2.2h-3.2l-1-.2-.6-.5-.5-.9c-1.3-3.3 3.7-7.4 15-12.4s22.3-8.1 32.9-9.3c9.8-1.5 21.3-1.5 34.5-.3s21.3 3.7 24.3 7.4c2.3 3.5 2.5 10.7.7 21.7z" /></svg>'},x={name:"api",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M917.7 148.8l-42.4-42.4c-1.6-1.6-3.6-2.3-5.7-2.3s-4.1.8-5.7 2.3l-76.1 76.1a199.27 199.27 0 00-112.1-34.3c-51.2 0-102.4 19.5-141.5 58.6L432.3 308.7a8.03 8.03 0 000 11.3L704 591.7c1.6 1.6 3.6 2.3 5.7 2.3 2 0 4.1-.8 5.7-2.3l101.9-101.9c68.9-69 77-175.7 24.3-253.5l76.1-76.1c3.1-3.2 3.1-8.3 0-11.4zM578.9 546.7a8.03 8.03 0 00-11.3 0L501 613.3 410.7 523l66.7-66.7c3.1-3.1 3.1-8.2 0-11.3L441 408.6a8.03 8.03 0 00-11.3 0L363 475.3l-43-43a7.85 7.85 0 00-5.7-2.3c-2 0-4.1.8-5.7 2.3L206.8 534.2c-68.9 68.9-77 175.7-24.3 253.5l-76.1 76.1a8.03 8.03 0 000 11.3l42.4 42.4c1.6 1.6 3.6 2.3 5.7 2.3s4.1-.8 5.7-2.3l76.1-76.1c33.7 22.9 72.9 34.3 112.1 34.3 51.2 0 102.4-19.5 141.5-58.6l101.9-101.9c3.1-3.1 3.1-8.2 0-11.3l-43-43 66.7-66.7c3.1-3.1 3.1-8.2 0-11.3l-36.6-36.2z" /></svg>'},O={name:"appstore",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M864 144H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm0 400H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V560c0-8.8-7.2-16-16-16zM464 144H160c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm0 400H160c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V560c0-8.8-7.2-16-16-16z" /></svg>'},k={name:"appstore",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M464 144H160c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm-52 268H212V212h200v200zm452-268H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm-52 268H612V212h200v200zM464 544H160c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V560c0-8.8-7.2-16-16-16zm-52 268H212V612h200v200zm452-268H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V560c0-8.8-7.2-16-16-16zm-52 268H612V612h200v200z" /></svg>'},C={name:"appstore-add",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><defs><style /></defs><path d="M464 144H160c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm-52 268H212V212h200v200zm452-268H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm-52 268H612V212h200v200zm52 132H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V560c0-8.8-7.2-16-16-16zm-52 268H612V612h200v200zM424 712H296V584c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v128H104c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h128v128c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V776h128c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z" /></svg>'},M={name:"alipay",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M789 610.3c-38.7-12.9-90.7-32.7-148.5-53.6 34.8-60.3 62.5-129 80.7-203.6H530.5v-68.6h233.6v-38.3H530.5V132h-95.4c-16.7 0-16.7 16.5-16.7 16.5v97.8H182.2v38.3h236.3v68.6H223.4v38.3h378.4a667.18 667.18 0 01-54.5 132.9c-122.8-40.4-253.8-73.2-336.1-53-52.6 13-86.5 36.1-106.5 60.3-91.4 111-25.9 279.6 167.2 279.6C386 811.2 496 747.6 581.2 643 708.3 704 960 808.7 960 808.7V659.4s-31.6-2.5-171-49.1zM253.9 746.6c-150.5 0-195-118.3-120.6-183.1 24.8-21.9 70.2-32.6 94.4-35 89.4-8.8 172.2 25.2 269.9 72.8-68.8 89.5-156.3 145.3-243.7 145.3z" /></svg>'},E={name:"api",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M917.7 148.8l-42.4-42.4c-1.6-1.6-3.6-2.3-5.7-2.3s-4.1.8-5.7 2.3l-76.1 76.1a199.27 199.27 0 00-112.1-34.3c-51.2 0-102.4 19.5-141.5 58.6L432.3 308.7a8.03 8.03 0 000 11.3L704 591.7c1.6 1.6 3.6 2.3 5.7 2.3 2 0 4.1-.8 5.7-2.3l101.9-101.9c68.9-69 77-175.7 24.3-253.5l76.1-76.1c3.1-3.2 3.1-8.3 0-11.4zM769.1 441.7l-59.4 59.4-186.8-186.8 59.4-59.4c24.9-24.9 58.1-38.7 93.4-38.7 35.3 0 68.4 13.7 93.4 38.7 24.9 24.9 38.7 58.1 38.7 93.4 0 35.3-13.8 68.4-38.7 93.4zm-190.2 105a8.03 8.03 0 00-11.3 0L501 613.3 410.7 523l66.7-66.7c3.1-3.1 3.1-8.2 0-11.3L441 408.6a8.03 8.03 0 00-11.3 0L363 475.3l-43-43a7.85 7.85 0 00-5.7-2.3c-2 0-4.1.8-5.7 2.3L206.8 534.2c-68.9 69-77 175.7-24.3 253.5l-76.1 76.1a8.03 8.03 0 000 11.3l42.4 42.4c1.6 1.6 3.6 2.3 5.7 2.3s4.1-.8 5.7-2.3l76.1-76.1c33.7 22.9 72.9 34.3 112.1 34.3 51.2 0 102.4-19.5 141.5-58.6l101.9-101.9c3.1-3.1 3.1-8.2 0-11.3l-43-43 66.7-66.7c3.1-3.1 3.1-8.2 0-11.3l-36.6-36.2zM441.7 769.1a131.32 131.32 0 01-93.4 38.7c-35.3 0-68.4-13.7-93.4-38.7a131.32 131.32 0 01-38.7-93.4c0-35.3 13.7-68.4 38.7-93.4l59.4-59.4 186.8 186.8-59.4 59.4z" /></svg>'},T={name:"ant-cloud",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M378.9 738c-3.1 0-6.1-.5-8.8-1.5l4.4 30.7h26.3l-15.5-29.9c-2.1.5-4.2.7-6.4.7zm421-291.2c-12.6 0-24.8 1.5-36.5 4.2-21.4-38.4-62.3-64.3-109.3-64.3-6.9 0-13.6.6-20.2 1.6-35.4-77.4-113.4-131.1-203.9-131.1-112.3 0-205.3 82.6-221.6 190.4C127.3 455.5 64 523.8 64 607c0 88.4 71.6 160.1 160 160.2h50l13.2-27.6c-26.2-8.3-43.3-29-39.1-48.8 4.6-21.6 32.8-33.9 63.1-27.5 22.9 4.9 40.4 19.1 45.5 35.1a26.1 26.1 0 0122.1-12.4h.2c-.8-3.2-1.2-6.5-1.2-9.9 0-20.1 14.8-36.7 34.1-39.6v-25.4c0-4.4 3.6-8 8-8s8 3.6 8 8v26.3c4.6 1.2 8.8 3.2 12.6 5.8l19.5-21.4c3-3.3 8-3.5 11.3-.5 3.3 3 3.5 8 .5 11.3l-20 22-.2.2a40 40 0 01-46.9 59.2c-.4 5.6-2.6 10.7-6 14.8l20 38.4H804v-.1c86.5-2.2 156-73 156-160.1 0-88.5-71.7-160.2-160.1-160.2zM338.2 737.2l-4.3 30h24.4l-5.9-41.5c-3.5 4.6-8.3 8.5-14.2 11.5zM797.5 305a48 48 0 1096 0 48 48 0 10-96 0zm-65.7 61.3a24 24 0 1048 0 24 24 0 10-48 0zM303.4 742.9l-11.6 24.3h26l3.5-24.7c-5.7.8-11.7 1-17.9.4z" /></svg>'},j={name:"arrow-left",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M872 474H286.9l350.2-304c5.6-4.9 2.2-14-5.2-14h-88.5c-3.9 0-7.6 1.4-10.5 3.9L155 487.8a31.96 31.96 0 000 48.3L535.1 866c1.5 1.3 3.3 2 5.2 2h91.5c7.4 0 10.8-9.2 5.2-14L286.9 550H872c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z" /></svg>'},D={name:"arrows-alt",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M855 160.1l-189.2 23.5c-6.6.8-9.3 8.8-4.7 13.5l54.7 54.7-153.5 153.5a8.03 8.03 0 000 11.3l45.1 45.1c3.1 3.1 8.2 3.1 11.3 0l153.6-153.6 54.7 54.7a7.94 7.94 0 0013.5-4.7L863.9 169a7.9 7.9 0 00-8.9-8.9zM416.6 562.3a8.03 8.03 0 00-11.3 0L251.8 715.9l-54.7-54.7a7.94 7.94 0 00-13.5 4.7L160.1 855c-.6 5.2 3.7 9.5 8.9 8.9l189.2-23.5c6.6-.8 9.3-8.8 4.7-13.5l-54.7-54.7 153.6-153.6c3.1-3.1 3.1-8.2 0-11.3l-45.2-45z" /></svg>'},A={name:"area-chart",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M888 792H200V168c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h752c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-616-64h536c4.4 0 8-3.6 8-8V284c0-7.2-8.7-10.7-13.7-5.7L592 488.6l-125.4-124a8.03 8.03 0 00-11.3 0l-189 189.6a7.87 7.87 0 00-2.3 5.6V720c0 4.4 3.6 8 8 8z" /></svg>'},L={name:"arrow-right",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M869 487.8L491.2 159.9c-2.9-2.5-6.6-3.9-10.5-3.9h-88.5c-7.4 0-10.8 9.2-5.2 14l350.2 304H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h585.1L386.9 854c-5.6 4.9-2.2 14 5.2 14h91.5c1.9 0 3.8-.7 5.2-2L869 536.2a32.07 32.07 0 000-48.4z" /></svg>'},z={name:"apple",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M747.4 535.7c-.4-68.2 30.5-119.6 92.9-157.5-34.9-50-87.7-77.5-157.3-82.8-65.9-5.2-138 38.4-164.4 38.4-27.9 0-91.7-36.6-141.9-36.6C273.1 298.8 163 379.8 163 544.6c0 48.7 8.9 99 26.7 150.8 23.8 68.2 109.6 235.3 199.1 232.6 46.8-1.1 79.9-33.2 140.8-33.2 59.1 0 89.7 33.2 141.9 33.2 90.3-1.3 167.9-153.2 190.5-221.6-121.1-57.1-114.6-167.2-114.6-170.7zm-10.6 267c-14.3 19.9-28.7 35.6-41.9 45.7-10.5 8-18.6 11.4-24 11.6-9-.1-17.7-2.3-34.7-8.8-1.2-.5-2.5-1-4.2-1.6l-4.4-1.7c-17.4-6.7-27.8-10.3-41.1-13.8-18.6-4.8-37.1-7.4-56.9-7.4-20.2 0-39.2 2.5-58.1 7.2-13.9 3.5-25.6 7.4-42.7 13.8-.7.3-8.1 3.1-10.2 3.9-3.5 1.3-6.2 2.3-8.7 3.2-10.4 3.6-17 5.1-22.9 5.2-.7 0-1.3-.1-1.8-.2-1.1-.2-2.5-.6-4.1-1.3-4.5-1.8-9.9-5.1-16-9.8-14-10.9-29.4-28-45.1-49.9-27.5-38.6-53.5-89.8-66-125.7-15.4-44.8-23-87.7-23-128.6 0-60.2 17.8-106 48.4-137.1 26.3-26.6 61.7-41.5 97.8-42.3 5.9.1 14.5 1.5 25.4 4.5 8.6 2.3 18 5.4 30.7 9.9 3.8 1.4 16.9 6.1 18.5 6.7 7.7 2.8 13.5 4.8 19.2 6.6 18.2 5.8 32.3 9 47.6 9 15.5 0 28.8-3.3 47.7-9.8 7.1-2.4 32.9-12 37.5-13.6 25.6-9.1 44.5-14 60.8-15.2 4.8-.4 9.1-.4 13.2-.1 22.7 1.8 42.1 6.3 58.6 13.8-37.6 43.4-57 96.5-56.9 158.4-.3 14.7.9 31.7 5.1 51.8 6.4 30.5 18.6 60.7 37.9 89 14.7 21.5 32.9 40.9 54.7 57.8-11.5 23.7-25.6 48.2-40.4 68.8zm-94.5-572c50.7-60.2 46.1-115 44.6-134.7-44.8 2.6-96.6 30.5-126.1 64.8-32.5 36.8-51.6 82.3-47.5 133.6 48.4 3.7 92.6-21.2 129-63.7z" /></svg>'},P={name:"backward",theme:"fill",icon:'<svg viewBox="0 0 1024 1024" focusable="false"><path d="M485.6 249.9L198.2 498c-8.3 7.1-8.3 20.8 0 27.9l287.4 248.2c10.7 9.2 26.4.9 26.4-14V263.8c0-14.8-15.7-23.2-26.4-13.9zm320 0L518.2 498a18.6 18.6 0 00-6.2 14c0 5.2 2.1 10.4 6.2 14l287.4 248.2c10.7 9.2 26.4.9 26.4-14V263.8c0-14.8-15.7-23.2-26.4-13.9z" /></svg>'},I={name:"arrow-up",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M868 545.5L536.1 163a31.96 31.96 0 00-48.3 0L156 545.5a7.97 7.97 0 006 13.2h81c4.6 0 9-2 12.1-5.5L474 300.9V864c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V300.9l218.9 252.3c3 3.5 7.4 5.5 12.1 5.5h81c6.8 0 10.5-8 6-13.2z" /></svg>'},R={name:"appstore",theme:"twotone",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M864 144H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm-52 268H612V212h200v200zM464 544H160c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V560c0-8.8-7.2-16-16-16zm-52 268H212V612h200v200zm52-668H160c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm-52 268H212V212h200v200zm452 132H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V560c0-8.8-7.2-16-16-16zm-52 268H612V612h200v200z" fill="#333" /><path d="M212 212h200v200H212zm400 0h200v200H612zM212 612h200v200H212zm400 0h200v200H612z" fill="#E6E6E6" /></svg>'},N={name:"arrow-down",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M862 465.3h-81c-4.6 0-9 2-12.1 5.5L550 723.1V160c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v563.1L255.1 470.8c-3-3.5-7.4-5.5-12.1-5.5h-81c-6.8 0-10.5 8.1-6 13.2L487.9 861a31.96 31.96 0 0048.3 0L868 478.5c4.5-5.2.8-13.2-6-13.2z" /></svg>'},H={name:"aim",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><defs><style /></defs><path d="M952 474H829.8C812.5 327.6 696.4 211.5 550 194.2V72c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v122.2C327.6 211.5 211.5 327.6 194.2 474H72c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h122.2C211.5 696.4 327.6 812.5 474 829.8V952c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V829.8C696.4 812.5 812.5 696.4 829.8 550H952c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zM512 756c-134.8 0-244-109.2-244-244s109.2-244 244-244 244 109.2 244 244-109.2 244-244 244z" /><path d="M512 392c-32.1 0-62.1 12.4-84.8 35.2-22.7 22.7-35.2 52.7-35.2 84.8s12.5 62.1 35.2 84.8C449.9 619.4 480 632 512 632s62.1-12.5 84.8-35.2C619.4 574.1 632 544 632 512s-12.5-62.1-35.2-84.8A118.57 118.57 0 00512 392z" /></svg>'},F={name:"audio",theme:"twotone",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 552c54.3 0 98-43.2 98-96V232c0-52.8-43.7-96-98-96s-98 43.2-98 96v224c0 52.8 43.7 96 98 96z" fill="#E6E6E6" /><path d="M842 454c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8 0 140.3-113.7 254-254 254S258 594.3 258 454c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8 0 168.7 126.6 307.9 290 327.6V884H326.7c-13.7 0-24.7 14.3-24.7 32v36c0 4.4 2.8 8 6.2 8h407.6c3.4 0 6.2-3.6 6.2-8v-36c0-17.7-11-32-24.7-32H548V782.1c165.3-18 294-158 294-328.1z" fill="#333" /><path d="M512 624c93.9 0 170-75.2 170-168V232c0-92.8-76.1-168-170-168s-170 75.2-170 168v224c0 92.8 76.1 168 170 168zm-98-392c0-52.8 43.7-96 98-96s98 43.2 98 96v224c0 52.8-43.7 96-98 96s-98-43.2-98-96V232z" fill="#333" /></svg>'},V={name:"barcode",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M120 160H72c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V168c0-4.4-3.6-8-8-8zm833 0h-48c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V168c0-4.4-3.6-8-8-8zM200 736h112c4.4 0 8-3.6 8-8V168c0-4.4-3.6-8-8-8H200c-4.4 0-8 3.6-8 8v560c0 4.4 3.6 8 8 8zm321 0h48c4.4 0 8-3.6 8-8V168c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v560c0 4.4 3.6 8 8 8zm126 0h178c4.4 0 8-3.6 8-8V168c0-4.4-3.6-8-8-8H647c-4.4 0-8 3.6-8 8v560c0 4.4 3.6 8 8 8zm-255 0h48c4.4 0 8-3.6 8-8V168c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v560c0 4.4 3.6 8 8 8zm-79 64H201c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h112c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zm257 0h-48c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zm256 0H648c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h178c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zm-385 0h-48c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z" /></svg>'},B={name:"audio-muted",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><defs><style /></defs><path d="M682 455V311l-76 76v68c-.1 50.7-42 92.1-94 92a95.8 95.8 0 01-52-15l-54 55c29.1 22.4 65.9 36 106 36 93.8 0 170-75.1 170-168z" /><path d="M833 446h-60c-4.4 0-8 3.6-8 8 0 140.3-113.7 254-254 254-63 0-120.7-23-165-61l-54 54a334.01 334.01 0 00179 81v102H326c-13.9 0-24.9 14.3-25 32v36c.1 4.4 2.9 8 6 8h408c3.2 0 6-3.6 6-8v-36c0-17.7-11-32-25-32H547V782c165.3-17.9 294-157.9 294-328 0-4.4-3.6-8-8-8zm13.1-377.7l-43.5-41.9a8 8 0 00-11.2.1l-129 129C634.3 101.2 577 64 511 64c-93.9 0-170 75.3-170 168v224c0 6.7.4 13.3 1.2 19.8l-68 68A252.33 252.33 0 01258 454c-.2-4.4-3.8-8-8-8h-60c-4.4 0-8 3.6-8 8 0 53 12.5 103 34.6 147.4l-137 137a8.03 8.03 0 000 11.3l42.7 42.7c3.1 3.1 8.2 3.1 11.3 0L846.2 79.8l.1-.1c3.1-3.2 3-8.3-.2-11.4zM417 401V232c0-50.6 41.9-92 94-92 46 0 84.1 32.3 92.3 74.7L417 401z" /></svg>'},Y={name:"bank",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M894 462c30.9 0 43.8-39.7 18.7-58L530.8 126.2a31.81 31.81 0 00-37.6 0L111.3 404c-25.1 18.2-12.2 58 18.8 58H192v374h-72c-4.4 0-8 3.6-8 8v52c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-52c0-4.4-3.6-8-8-8h-72V462h62zM512 196.7l271.1 197.2H240.9L512 196.7zM264 462h117v374H264V462zm189 0h117v374H453V462zm307 374H642V462h118v374z" /></svg>'},U={name:"bank",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M894 462c30.9 0 43.8-39.7 18.7-58L530.8 126.2a31.81 31.81 0 00-37.6 0L111.3 404c-25.1 18.2-12.2 58 18.8 58H192v374h-72c-4.4 0-8 3.6-8 8v52c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-52c0-4.4-3.6-8-8-8h-72V462h62zM381 836H264V462h117v374zm189 0H453V462h117v374zm190 0H642V462h118v374z" /></svg>'},W={name:"bar-chart",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M888 792H200V168c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h752c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-600-80h56c4.4 0 8-3.6 8-8V560c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v144c0 4.4 3.6 8 8 8zm152 0h56c4.4 0 8-3.6 8-8V384c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v320c0 4.4 3.6 8 8 8zm152 0h56c4.4 0 8-3.6 8-8V462c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v242c0 4.4 3.6 8 8 8zm152 0h56c4.4 0 8-3.6 8-8V304c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v400c0 4.4 3.6 8 8 8z" /></svg>'},q={name:"bank",theme:"twotone",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M240.9 393.9h542.2L512 196.7z" fill="#E6E6E6" /><path d="M894 462c30.9 0 43.8-39.7 18.7-58L530.8 126.2a31.81 31.81 0 00-37.6 0L111.3 404c-25.1 18.2-12.2 58 18.8 58H192v374h-72c-4.4 0-8 3.6-8 8v52c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-52c0-4.4-3.6-8-8-8h-72V462h62zM381 836H264V462h117v374zm189 0H453V462h117v374zm190 0H642V462h118v374zM240.9 393.9L512 196.7l271.1 197.2H240.9z" fill="#333" /></svg>'},$={name:"behance",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M634 294.3h199.5v48.4H634zM434.1 485.8c44.1-21.1 67.2-53.2 67.2-102.8 0-98.1-73-121.9-157.3-121.9H112v492.4h238.5c89.4 0 173.3-43 173.3-143 0-61.8-29.2-107.5-89.7-124.7zM220.2 345.1h101.5c39.1 0 74.2 10.9 74.2 56.3 0 41.8-27.3 58.6-66 58.6H220.2V345.1zm115.5 324.8H220.1V534.3H338c47.6 0 77.7 19.9 77.7 70.3 0 49.6-35.9 65.3-80 65.3zm575.8-89.5c0-105.5-61.7-193.4-173.3-193.4-108.5 0-182.3 81.7-182.3 188.8 0 111 69.9 187.2 182.3 187.2 85.1 0 140.2-38.3 166.7-120h-86.3c-9.4 30.5-47.6 46.5-77.3 46.5-57.4 0-87.4-33.6-87.4-90.7h256.9c.3-5.9.7-12.1.7-18.4zM653.9 537c3.1-46.9 34.4-76.2 81.2-76.2 49.2 0 73.8 28.9 78.1 76.2H653.9z" /></svg>'},G={name:"audit",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M296 250c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H296zm184 144H296c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zm-48 458H208V148h560v320c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V108c0-17.7-14.3-32-32-32H168c-17.7 0-32 14.3-32 32v784c0 17.7 14.3 32 32 32h264c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm440-88H728v-36.6c46.3-13.8 80-56.6 80-107.4 0-61.9-50.1-112-112-112s-112 50.1-112 112c0 50.7 33.7 93.6 80 107.4V764H520c-8.8 0-16 7.2-16 16v152c0 8.8 7.2 16 16 16h352c8.8 0 16-7.2 16-16V780c0-8.8-7.2-16-16-16zM646 620c0-27.6 22.4-50 50-50s50 22.4 50 50-22.4 50-50 50-50-22.4-50-50zm180 266H566v-60h260v60z" /></svg>'},X={name:"audio",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 624c93.9 0 170-75.2 170-168V232c0-92.8-76.1-168-170-168s-170 75.2-170 168v224c0 92.8 76.1 168 170 168zm330-170c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8 0 140.3-113.7 254-254 254S258 594.3 258 454c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8 0 168.7 126.6 307.9 290 327.6V884H326.7c-13.7 0-24.7 14.3-24.7 32v36c0 4.4 2.8 8 6.2 8h407.6c3.4 0 6.2-3.6 6.2-8v-36c0-17.7-11-32-24.7-32H548V782.1c165.3-18 294-158 294-328.1z" /></svg>'},K={name:"behance-square",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM598.5 350.9h138.4v33.7H598.5v-33.7zM512 628.8a89.52 89.52 0 01-27 31c-11.8 8.2-24.9 14.2-38.8 17.7a167.4 167.4 0 01-44.6 5.7H236V342.1h161c16.3 0 31.1 1.5 44.6 4.3 13.4 2.8 24.8 7.6 34.4 14.1 9.5 6.5 17 15.2 22.3 26 5.2 10.7 7.9 24.1 7.9 40 0 17.2-3.9 31.4-11.7 42.9-7.9 11.5-19.3 20.8-34.8 28.1 21.1 6 36.6 16.7 46.8 31.7 10.4 15.2 15.5 33.4 15.5 54.8 0 17.4-3.3 32.3-10 44.8zM790.8 576H612.4c0 19.4 6.7 38 16.8 48 10.2 9.9 24.8 14.9 43.9 14.9 13.8 0 25.5-3.5 35.5-10.4 9.9-6.9 15.9-14.2 18.1-21.8h59.8c-9.6 29.7-24.2 50.9-44 63.7-19.6 12.8-43.6 19.2-71.5 19.2-19.5 0-37-3.2-52.7-9.3-15.1-5.9-28.7-14.9-39.9-26.5a121.2 121.2 0 01-25.1-41.2c-6.1-16.9-9.1-34.7-8.9-52.6 0-18.5 3.1-35.7 9.1-51.7 11.5-31.1 35.4-56 65.9-68.9 16.3-6.8 33.8-10.2 51.5-10 21 0 39.2 4 55 12.2a111.6 111.6 0 0138.6 32.8c10.1 13.7 17.2 29.3 21.7 46.9 4.3 17.3 5.8 35.5 4.6 54.7zm-122-95.6c-10.8 0-19.9 1.9-26.9 5.6-7 3.7-12.8 8.3-17.2 13.6a48.4 48.4 0 00-9.1 17.4c-1.6 5.3-2.7 10.7-3.1 16.2H723c-1.6-17.3-7.6-30.1-15.6-39.1-8.4-8.9-21.9-13.7-38.6-13.7zm-248.5-10.1c8.7-6.3 12.9-16.7 12.9-31 .3-6.8-1.1-13.5-4.1-19.6-2.7-4.9-6.7-9-11.6-11.9a44.8 44.8 0 00-16.6-6c-6.4-1.2-12.9-1.8-19.3-1.7h-70.3v79.7h76.1c13.1.1 24.2-3.1 32.9-9.5zm11.8 72c-9.8-7.5-22.9-11.2-39.2-11.2h-81.8v94h80.2c7.5 0 14.4-.7 21.1-2.1s12.7-3.8 17.8-7.2c5.1-3.3 9.2-7.8 12.3-13.6 3-5.8 4.5-13.2 4.5-22.1 0-17.7-5-30.2-14.9-37.8z" /></svg>'},J={name:"block",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M856 376H648V168c0-8.8-7.2-16-16-16H168c-8.8 0-16 7.2-16 16v464c0 8.8 7.2 16 16 16h208v208c0 8.8 7.2 16 16 16h464c8.8 0 16-7.2 16-16V392c0-8.8-7.2-16-16-16zm-480 16v188H220V220h360v156H392c-8.8 0-16 7.2-16 16zm204 52v136H444V444h136zm224 360H444V648h188c8.8 0 16-7.2 16-16V444h156v360z" /></svg>'},Q={name:"bars",theme:"outline",icon:'<svg viewBox="0 0 1024 1024" focusable="false"><path d="M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z" /></svg>'},Z={name:"behance-circle",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M420.3 470.3c8.7-6.3 12.9-16.7 12.9-31 .3-6.8-1.1-13.5-4.1-19.6-2.7-4.9-6.7-9-11.6-11.9a44.8 44.8 0 00-16.6-6c-6.4-1.2-12.9-1.8-19.3-1.7h-70.3v79.7h76.1c13.1.1 24.2-3.1 32.9-9.5zm11.8 72c-9.8-7.5-22.9-11.2-39.2-11.2h-81.8v94h80.2c7.5 0 14.4-.7 21.1-2.1a50.5 50.5 0 0017.8-7.2c5.1-3.3 9.2-7.8 12.3-13.6 3-5.8 4.5-13.2 4.5-22.1 0-17.7-5-30.2-14.9-37.8zM512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm86.5 286.9h138.4v33.7H598.5v-33.7zM512 628.8a89.52 89.52 0 01-27 31c-11.8 8.2-24.9 14.2-38.8 17.7a167.4 167.4 0 01-44.6 5.7H236V342.1h161c16.3 0 31.1 1.5 44.6 4.3 13.4 2.8 24.8 7.6 34.4 14.1 9.5 6.5 17 15.2 22.3 26 5.2 10.7 7.9 24.1 7.9 40 0 17.2-3.9 31.4-11.7 42.9-7.9 11.5-19.3 20.8-34.8 28.1 21.1 6 36.6 16.7 46.8 31.7 10.4 15.2 15.5 33.4 15.5 54.8 0 17.4-3.3 32.3-10 44.8zM790.8 576H612.4c0 19.4 6.7 38 16.8 48 10.2 9.9 24.8 14.9 43.9 14.9 13.8 0 25.5-3.5 35.5-10.4 9.9-6.9 15.9-14.2 18.1-21.8h59.8c-9.6 29.7-24.2 50.9-44 63.7-19.6 12.8-43.6 19.2-71.5 19.2-19.5 0-37-3.2-52.7-9.3-15.1-5.9-28.7-14.9-39.9-26.5a121.2 121.2 0 01-25.1-41.2c-6.1-16.9-9.1-34.7-8.9-52.6 0-18.5 3.1-35.7 9.1-51.7 11.5-31.1 35.4-56 65.9-68.9 16.3-6.8 33.8-10.2 51.5-10 21 0 39.2 4 55 12.2a111.6 111.6 0 0138.6 32.8c10.1 13.7 17.2 29.3 21.7 46.9 4.3 17.3 5.8 35.5 4.6 54.7zm-122-95.6c-10.8 0-19.9 1.9-26.9 5.6-7 3.7-12.8 8.3-17.2 13.6a48.4 48.4 0 00-9.1 17.4c-1.6 5.3-2.7 10.7-3.1 16.2H723c-1.6-17.3-7.6-30.1-15.6-39.1-8.4-8.9-21.9-13.7-38.6-13.7z" /></svg>'},ee={name:"book",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M832 64H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zM668 345.9L621.5 312 572 347.4V124h96v221.9z" /></svg>'},te={name:"book",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M832 64H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zm-260 72h96v209.9L621.5 312 572 347.4V136zm220 752H232V136h280v296.9c0 3.3 1 6.6 3 9.3a15.9 15.9 0 0022.3 3.7l83.8-59.9 81.4 59.4c2.7 2 6 3.1 9.4 3.1 8.8 0 16-7.2 16-16V136h64v752z" /></svg>'},ne={name:"behance-square",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM598.5 350.9h138.4v33.7H598.5v-33.7zM512 628.8a89.52 89.52 0 01-27 31c-11.8 8.2-24.9 14.2-38.8 17.7a167.4 167.4 0 01-44.6 5.7H236V342.1h161c16.3 0 31.1 1.5 44.6 4.3 13.4 2.8 24.8 7.6 34.4 14.1 9.5 6.5 17 15.2 22.3 26 5.2 10.7 7.9 24.1 7.9 40 0 17.2-3.9 31.4-11.7 42.9-7.9 11.5-19.3 20.8-34.8 28.1 21.1 6 36.6 16.7 46.8 31.7 10.4 15.2 15.5 33.4 15.5 54.8 0 17.4-3.3 32.3-10 44.8zM790.8 576H612.4c0 19.4 6.7 38 16.8 48 10.2 9.9 24.8 14.9 43.9 14.9 13.8 0 25.5-3.5 35.5-10.4 9.9-6.9 15.9-14.2 18.1-21.8h59.8c-9.6 29.7-24.2 50.9-44 63.7-19.6 12.8-43.6 19.2-71.5 19.2-19.5 0-37-3.2-52.7-9.3-15.1-5.9-28.7-14.9-39.9-26.5a121.2 121.2 0 01-25.1-41.2c-6.1-16.9-9.1-34.7-8.9-52.6 0-18.5 3.1-35.7 9.1-51.7 11.5-31.1 35.4-56 65.9-68.9 16.3-6.8 33.8-10.2 51.5-10 21 0 39.2 4 55 12.2a111.6 111.6 0 0138.6 32.8c10.1 13.7 17.2 29.3 21.7 46.9 4.3 17.3 5.8 35.5 4.6 54.7zm-122-95.6c-10.8 0-19.9 1.9-26.9 5.6-7 3.7-12.8 8.3-17.2 13.6a48.4 48.4 0 00-9.1 17.4c-1.6 5.3-2.7 10.7-3.1 16.2H723c-1.6-17.3-7.6-30.1-15.6-39.1-8.4-8.9-21.9-13.7-38.6-13.7zm-248.5-10.1c8.7-6.3 12.9-16.7 12.9-31 .3-6.8-1.1-13.5-4.1-19.6-2.7-4.9-6.7-9-11.6-11.9a44.8 44.8 0 00-16.6-6c-6.4-1.2-12.9-1.8-19.3-1.7h-70.3v79.7h76.1c13.1.1 24.2-3.1 32.9-9.5zm11.8 72c-9.8-7.5-22.9-11.2-39.2-11.2h-81.8v94h80.2c7.5 0 14.4-.7 21.1-2.1s12.7-3.8 17.8-7.2c5.1-3.3 9.2-7.8 12.3-13.6 3-5.8 4.5-13.2 4.5-22.1 0-17.7-5-30.2-14.9-37.8z" /></svg>'},re={name:"border-inner",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M872 476H548V144h-72v332H152c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h324v332h72V548h324c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-166h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 498h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-664h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 498h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM650 216h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm56 592h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-332 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-56-592h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm-166 0h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm56 592h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-56-426h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm56 260h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z" /></svg>'},ie={name:"border-bottom",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M872 808H152c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h720c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-720-94h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm0-498h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm0 332h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm0-166h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm166 166h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm0-332h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm332 0h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm0 332h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm222-72h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-388 72h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm388-404h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-388 72h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm388 426h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-388 72h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm388-404h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-388 72h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8z" /></svg>'},se={name:"border-horizontal",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M540 144h-56c-4.4 0-8 3.6-8 8v720c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V152c0-4.4-3.6-8-8-8zm-166 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm498 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-664 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm498 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM208 310h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm664 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-664 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 166h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm664 332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM374 808h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm332 332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z" /></svg>'},oe={name:"bell",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M816 768h-24V428c0-141.1-104.3-257.8-240-277.2V112c0-22.1-17.9-40-40-40s-40 17.9-40 40v38.8C336.3 170.2 232 286.9 232 428v340h-24c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h216c0 61.8 50.2 112 112 112s112-50.2 112-112h216c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM512 888c-26.5 0-48-21.5-48-48h96c0 26.5-21.5 48-48 48z" /></svg>'},ae={name:"border-left",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M208 144h-56c-4.4 0-8 3.6-8 8v720c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V152c0-4.4-3.6-8-8-8zm166 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm498 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-332 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm166 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM540 310h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm332 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-332 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 166h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm332 332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM374 808h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm332 332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z" /></svg>'},ce={name:"border-outer",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656zM484 366h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zM302 548h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm364 0h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm-182 0h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm0 182h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8z" /></svg>'},le={name:"backward",theme:"outline",icon:'<svg viewBox="0 0 1024 1024" focusable="false"><path d="M485.6 249.9L198.2 498c-8.3 7.1-8.3 20.8 0 27.9l287.4 248.2c10.7 9.2 26.4.9 26.4-14V263.8c0-14.8-15.7-23.2-26.4-13.9zm320 0L518.2 498a18.6 18.6 0 00-6.2 14c0 5.2 2.1 10.4 6.2 14l287.4 248.2c10.7 9.2 26.4.9 26.4-14V263.8c0-14.8-15.7-23.2-26.4-13.9z" /></svg>'},ue={name:"alert",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M193 796c0 17.7 14.3 32 32 32h574c17.7 0 32-14.3 32-32V563c0-176.2-142.8-319-319-319S193 386.8 193 563v233zm72-233c0-136.4 110.6-247 247-247s247 110.6 247 247v193H404V585c0-5.5-4.5-10-10-10h-44c-5.5 0-10 4.5-10 10v171h-75V563zm-48.1-252.5l39.6-39.6c3.1-3.1 3.1-8.2 0-11.3l-67.9-67.9a8.03 8.03 0 00-11.3 0l-39.6 39.6a8.03 8.03 0 000 11.3l67.9 67.9c3.1 3.1 8.1 3.1 11.3 0zm669.6-79.2l-39.6-39.6a8.03 8.03 0 00-11.3 0l-67.9 67.9a8.03 8.03 0 000 11.3l39.6 39.6c3.1 3.1 8.2 3.1 11.3 0l67.9-67.9c3.1-3.2 3.1-8.2 0-11.3zM832 892H192c-17.7 0-32 14.3-32 32v24c0 4.4 3.6 8 8 8h688c4.4 0 8-3.6 8-8v-24c0-17.7-14.3-32-32-32zM484 180h56c4.4 0 8-3.6 8-8V76c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v96c0 4.4 3.6 8 8 8z" /></svg>'},he={name:"bell",theme:"twotone",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 220c-55.6 0-107.8 21.6-147.1 60.9S304 372.4 304 428v340h416V428c0-55.6-21.6-107.8-60.9-147.1S567.6 220 512 220zm280 208c0-141.1-104.3-257.8-240-277.2v.1c135.7 19.4 240 136 240 277.1zM472 150.9v-.1C336.3 170.2 232 286.9 232 428c0-141.1 104.3-257.7 240-277.1z" fill="#E6E6E6" /><path d="M816 768h-24V428c0-141.1-104.3-257.7-240-277.1V112c0-22.1-17.9-40-40-40s-40 17.9-40 40v38.9c-135.7 19.4-240 136-240 277.1v340h-24c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h216c0 61.8 50.2 112 112 112s112-50.2 112-112h216c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM512 888c-26.5 0-48-21.5-48-48h96c0 26.5-21.5 48-48 48zm208-120H304V428c0-55.6 21.6-107.8 60.9-147.1S456.4 220 512 220c55.6 0 107.8 21.6 147.1 60.9S720 372.4 720 428v340z" fill="#333" /></svg>'},de={name:"border-right",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M872 144h-56c-4.4 0-8 3.6-8 8v720c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V152c0-4.4-3.6-8-8-8zm-166 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-498 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm332 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-166 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm166 166h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-332 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm332 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 166h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM208 808h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm498 332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM374 808h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z" /></svg>'},fe={name:"bell",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M816 768h-24V428c0-141.1-104.3-257.7-240-277.1V112c0-22.1-17.9-40-40-40s-40 17.9-40 40v38.9c-135.7 19.4-240 136-240 277.1v340h-24c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h216c0 61.8 50.2 112 112 112s112-50.2 112-112h216c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM512 888c-26.5 0-48-21.5-48-48h96c0 26.5-21.5 48-48 48zM304 768V428c0-55.6 21.6-107.8 60.9-147.1S456.4 220 512 220c55.6 0 107.8 21.6 147.1 60.9S720 372.4 720 428v340H304z" /></svg>'},pe={name:"box-plot",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M952 224h-52c-4.4 0-8 3.6-8 8v248h-92V304c0-4.4-3.6-8-8-8H448v432h344c4.4 0 8-3.6 8-8V548h92v244c0 4.4 3.6 8 8 8h52c4.4 0 8-3.6 8-8V232c0-4.4-3.6-8-8-8zm-728 80v176h-92V232c0-4.4-3.6-8-8-8H72c-4.4 0-8 3.6-8 8v560c0 4.4 3.6 8 8 8h52c4.4 0 8-3.6 8-8V548h92v172c0 4.4 3.6 8 8 8h152V296H232c-4.4 0-8 3.6-8 8z" /></svg>'},me={name:"bold",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M697.8 481.4c33.6-35 54.2-82.3 54.2-134.3v-10.2C752 229.3 663.9 142 555.3 142H259.4c-15.1 0-27.4 12.3-27.4 27.4v679.1c0 16.3 13.2 29.5 29.5 29.5h318.7c117 0 211.8-94.2 211.8-210.5v-11c0-73-37.4-137.3-94.2-175.1zM328 238h224.7c57.1 0 103.3 44.4 103.3 99.3v9.5c0 54.8-46.3 99.3-103.3 99.3H328V238zm366.6 429.4c0 62.9-51.7 113.9-115.5 113.9H328V542.7h251.1c63.8 0 115.5 51 115.5 113.9v10.8z" /></svg>'},ge={name:"border-verticle",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M872 476H152c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h720c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-166h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 498h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-664h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 498h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM650 216h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm56 592h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-332 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-56-592h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm-166 0h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm332 0h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zM208 808h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm332 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM152 382h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm332 0h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zM208 642h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm332 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z" /></svg>'},ve={name:"border",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z" /></svg>'},ye={name:"borderless-table",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><defs><style /></defs><path d="M117 368h231v64H117zm559 0h241v64H676zm-264 0h200v64H412zm0 224h200v64H412zm264 0h241v64H676zm-559 0h231v64H117zm295-160V179h-64v666h64V592zm264-64V179h-64v666h64V432z" /></svg>'},be={name:"bg-colors",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M766.4 744.3c43.7 0 79.4-36.2 79.4-80.5 0-53.5-79.4-140.8-79.4-140.8S687 610.3 687 663.8c0 44.3 35.7 80.5 79.4 80.5zm-377.1-44.1c7.1 7.1 18.6 7.1 25.6 0l256.1-256c7.1-7.1 7.1-18.6 0-25.6l-256-256c-.6-.6-1.3-1.2-2-1.7l-78.2-78.2a9.11 9.11 0 00-12.8 0l-48 48a9.11 9.11 0 000 12.8l67.2 67.2-207.8 207.9c-7.1 7.1-7.1 18.6 0 25.6l255.9 256zm12.9-448.6l178.9 178.9H223.4l178.8-178.9zM904 816H120c-4.4 0-8 3.6-8 8v80c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-80c0-4.4-3.6-8-8-8z" /></svg>'},_e={name:"box-plot",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M952 224h-52c-4.4 0-8 3.6-8 8v248h-92V304c0-4.4-3.6-8-8-8H232c-4.4 0-8 3.6-8 8v176h-92V232c0-4.4-3.6-8-8-8H72c-4.4 0-8 3.6-8 8v560c0 4.4 3.6 8 8 8h52c4.4 0 8-3.6 8-8V548h92v172c0 4.4 3.6 8 8 8h560c4.4 0 8-3.6 8-8V548h92v244c0 4.4 3.6 8 8 8h52c4.4 0 8-3.6 8-8V232c0-4.4-3.6-8-8-8zM296 368h88v288h-88V368zm432 288H448V368h280v288z" /></svg>'},we={name:"border-top",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M872 144H152c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h720c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM208 310h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 498h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 166h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm166-166h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm332 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm166 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-332 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm332 332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-332 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm332-498h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-332 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm332 332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-332 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z" /></svg>'},Se={name:"audio",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M842 454c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8 0 140.3-113.7 254-254 254S258 594.3 258 454c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8 0 168.7 126.6 307.9 290 327.6V884H326.7c-13.7 0-24.7 14.3-24.7 32v36c0 4.4 2.8 8 6.2 8h407.6c3.4 0 6.2-3.6 6.2-8v-36c0-17.7-11-32-24.7-32H548V782.1c165.3-18 294-158 294-328.1zM512 624c93.9 0 170-75.2 170-168V232c0-92.8-76.1-168-170-168s-170 75.2-170 168v224c0 92.8 76.1 168 170 168zm-94-392c0-50.6 41.9-92 94-92s94 41.4 94 92v224c0 50.6-41.9 92-94 92s-94-41.4-94-92V232z" /></svg>'},xe={name:"alert",theme:"twotone",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M340 585c0-5.5 4.5-10 10-10h44c5.5 0 10 4.5 10 10v171h355V563c0-136.4-110.6-247-247-247S265 426.6 265 563v193h75V585z" fill="#E6E6E6" /><path d="M216.9 310.5l39.6-39.6c3.1-3.1 3.1-8.2 0-11.3l-67.9-67.9a8.03 8.03 0 00-11.3 0l-39.6 39.6a8.03 8.03 0 000 11.3l67.9 67.9c3.1 3.1 8.1 3.1 11.3 0zm669.6-79.2l-39.6-39.6a8.03 8.03 0 00-11.3 0l-67.9 67.9a8.03 8.03 0 000 11.3l39.6 39.6c3.1 3.1 8.2 3.1 11.3 0l67.9-67.9c3.1-3.2 3.1-8.2 0-11.3zM484 180h56c4.4 0 8-3.6 8-8V76c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v96c0 4.4 3.6 8 8 8zm348 712H192c-17.7 0-32 14.3-32 32v24c0 4.4 3.6 8 8 8h688c4.4 0 8-3.6 8-8v-24c0-17.7-14.3-32-32-32zm-639-96c0 17.7 14.3 32 32 32h574c17.7 0 32-14.3 32-32V563c0-176.2-142.8-319-319-319S193 386.8 193 563v233zm72-233c0-136.4 110.6-247 247-247s247 110.6 247 247v193H404V585c0-5.5-4.5-10-10-10h-44c-5.5 0-10 4.5-10 10v171h-75V563z" fill="#333" /></svg>'},Oe={name:"alert",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 244c176.18 0 319 142.82 319 319v233a32 32 0 01-32 32H225a32 32 0 01-32-32V563c0-176.18 142.82-319 319-319zM484 68h56a8 8 0 018 8v96a8 8 0 01-8 8h-56a8 8 0 01-8-8V76a8 8 0 018-8zM177.25 191.66a8 8 0 0111.32 0l67.88 67.88a8 8 0 010 11.31l-39.6 39.6a8 8 0 01-11.31 0l-67.88-67.88a8 8 0 010-11.31l39.6-39.6zm669.6 0l39.6 39.6a8 8 0 010 11.3l-67.88 67.9a8 8 0 01-11.32 0l-39.6-39.6a8 8 0 010-11.32l67.89-67.88a8 8 0 0111.31 0zM192 892h640a32 32 0 0132 32v24a8 8 0 01-8 8H168a8 8 0 01-8-8v-24a32 32 0 0132-32zm148-317v253h64V575h-64z" /></svg>'},ke={name:"bug",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M304 280h56c4.4 0 8-3.6 8-8 0-28.3 5.9-53.2 17.1-73.5 10.6-19.4 26-34.8 45.4-45.4C450.9 142 475.7 136 504 136h16c28.3 0 53.2 5.9 73.5 17.1 19.4 10.6 34.8 26 45.4 45.4C650 218.9 656 243.7 656 272c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8 0-40-8.8-76.7-25.9-108.1a184.31 184.31 0 00-74-74C596.7 72.8 560 64 520 64h-16c-40 0-76.7 8.8-108.1 25.9a184.31 184.31 0 00-74 74C304.8 195.3 296 232 296 272c0 4.4 3.6 8 8 8z" /><path d="M940 512H792V412c76.8 0 139-62.2 139-139 0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8a63 63 0 01-63 63H232a63 63 0 01-63-63c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8 0 76.8 62.2 139 139 139v100H84c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h148v96c0 6.5.2 13 .7 19.3C164.1 728.6 116 796.7 116 876c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8 0-44.2 23.9-82.9 59.6-103.7a273 273 0 0022.7 49c24.3 41.5 59 76.2 100.5 100.5S460.5 960 512 960s99.8-13.9 141.3-38.2a281.38 281.38 0 00123.2-149.5A120 120 0 01836 876c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8 0-79.3-48.1-147.4-116.7-176.7.4-6.4.7-12.8.7-19.3v-96h148c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM716 680c0 36.8-9.7 72-27.8 102.9-17.7 30.3-43 55.6-73.3 73.3C584 874.3 548.8 884 512 884s-72-9.7-102.9-27.8c-30.3-17.7-55.6-43-73.3-73.3A202.75 202.75 0 01308 680V412h408v268z" /></svg>'},Ce={name:"build",theme:"twotone",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M144 546h200v200H144zm268-268h200v200H412z" fill="#E6E6E6" /><path d="M916 210H376c-17.7 0-32 14.3-32 32v236H108c-17.7 0-32 14.3-32 32v272c0 17.7 14.3 32 32 32h540c17.7 0 32-14.3 32-32V546h236c17.7 0 32-14.3 32-32V242c0-17.7-14.3-32-32-32zM344 746H144V546h200v200zm268 0H412V546h200v200zm0-268H412V278h200v200zm268 0H680V278h200v200z" fill="#333" /></svg>'},Me={name:"bulb",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M632 888H392c-4.4 0-8 3.6-8 8v32c0 17.7 14.3 32 32 32h192c17.7 0 32-14.3 32-32v-32c0-4.4-3.6-8-8-8zM512 64c-181.1 0-328 146.9-328 328 0 121.4 66 227.4 164 284.1V792c0 17.7 14.3 32 32 32h264c17.7 0 32-14.3 32-32V676.1c98-56.7 164-162.7 164-284.1 0-181.1-146.9-328-328-328zm127.9 549.8L604 634.6V752H420V634.6l-35.9-20.8C305.4 568.3 256 484.5 256 392c0-141.4 114.6-256 256-256s256 114.6 256 256c0 92.5-49.4 176.3-128.1 221.8z" /></svg>'},Ee={name:"bulb",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M348 676.1C250 619.4 184 513.4 184 392c0-181.1 146.9-328 328-328s328 146.9 328 328c0 121.4-66 227.4-164 284.1V792c0 17.7-14.3 32-32 32H380c-17.7 0-32-14.3-32-32V676.1zM392 888h240c4.4 0 8 3.6 8 8v32c0 17.7-14.3 32-32 32H416c-17.7 0-32-14.3-32-32v-32c0-4.4 3.6-8 8-8z" /></svg>'},Te={name:"calendar",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V460h656v380zM184 392V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v136H184z" /></svg>'},je={name:"build",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M916 210H376c-17.7 0-32 14.3-32 32v236H108c-17.7 0-32 14.3-32 32v272c0 17.7 14.3 32 32 32h540c17.7 0 32-14.3 32-32V546h236c17.7 0 32-14.3 32-32V242c0-17.7-14.3-32-32-32zm-504 68h200v200H412V278zm-68 468H144V546h200v200zm268 0H412V546h200v200zm268-268H680V278h200v200z" /></svg>'},De={name:"aliyun",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M959.2 383.9c-.3-82.1-66.9-148.6-149.1-148.6H575.9l21.6 85.2 201 43.7a42.58 42.58 0 0132.9 39.7c.1.5.1 216.1 0 216.6a42.58 42.58 0 01-32.9 39.7l-201 43.7-21.6 85.3h234.2c82.1 0 148.8-66.5 149.1-148.6V383.9zM225.5 660.4a42.58 42.58 0 01-32.9-39.7c-.1-.6-.1-216.1 0-216.6.8-19.4 14.6-35.5 32.9-39.7l201-43.7 21.6-85.2H213.8c-82.1 0-148.8 66.4-149.1 148.6V641c.3 82.1 67 148.6 149.1 148.6H448l-21.6-85.3-200.9-43.9zm200.9-158.8h171v21.3h-171z" /></svg>'},Ae={name:"calculator",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM440.2 765h-50.8c-2.2 0-4.5-1.1-5.9-2.9L348 718.6l-35.5 43.5a7.38 7.38 0 01-5.9 2.9h-50.8c-6.6 0-10.2-7.9-5.8-13.1l62.7-76.8-61.2-74.9c-4.3-5.2-.7-13.1 5.9-13.1h50.9c2.2 0 4.5 1.1 5.9 2.9l34 41.6 34-41.6c1.5-1.9 3.6-2.9 5.9-2.9h50.8c6.6 0 10.2 7.9 5.9 13.1L383.5 675l62.7 76.8c4.2 5.3.6 13.2-6 13.2zm7.8-382c0 2.2-1.4 4-3.2 4H376v68.7c0 1.9-1.8 3.3-4 3.3h-48c-2.2 0-4-1.4-4-3.2V387h-68.8c-1.8 0-3.2-1.8-3.2-4v-48c0-2.2 1.4-4 3.2-4H320v-68.8c0-1.8 1.8-3.2 4-3.2h48c2.2 0 4 1.4 4 3.2V331h68.7c1.9 0 3.3 1.8 3.3 4v48zm328 369c0 2.2-1.4 4-3.2 4H579.2c-1.8 0-3.2-1.8-3.2-4v-48c0-2.2 1.4-4 3.2-4h193.5c1.9 0 3.3 1.8 3.3 4v48zm0-104c0 2.2-1.4 4-3.2 4H579.2c-1.8 0-3.2-1.8-3.2-4v-48c0-2.2 1.4-4 3.2-4h193.5c1.9 0 3.3 1.8 3.3 4v48zm0-265c0 2.2-1.4 4-3.2 4H579.2c-1.8 0-3.2-1.8-3.2-4v-48c0-2.2 1.4-4 3.2-4h193.5c1.9 0 3.3 1.8 3.3 4v48z" /></svg>'},Le={name:"bug",theme:"twotone",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M308 412v268c0 36.78 9.68 71.96 27.8 102.9a205.39 205.39 0 0073.3 73.3A202.68 202.68 0 00512 884c36.78 0 71.96-9.68 102.9-27.8a205.39 205.39 0 0073.3-73.3A202.68 202.68 0 00716 680V412H308zm484 172v96c0 6.5-.22 12.95-.66 19.35C859.94 728.64 908 796.7 908 876a8 8 0 01-8 8h-56a8 8 0 01-8-8c0-44.24-23.94-82.89-59.57-103.7a278.63 278.63 0 01-22.66 49.02 281.39 281.39 0 01-100.45 100.45C611.84 946.07 563.55 960 512 960s-99.84-13.93-141.32-38.23a281.39 281.39 0 01-100.45-100.45 278.63 278.63 0 01-22.66-49.02A119.95 119.95 0 00188 876a8 8 0 01-8 8h-56a8 8 0 01-8-8c0-79.3 48.07-147.36 116.66-176.65A284.12 284.12 0 01232 680v-96H84a8 8 0 01-8-8v-56a8 8 0 018-8h148V412c-76.77 0-139-62.23-139-139a8 8 0 018-8h60a8 8 0 018 8 63 63 0 0063 63h560a63 63 0 0063-63 8 8 0 018-8h60a8 8 0 018 8c0 76.77-62.23 139-139 139v100h148a8 8 0 018 8v56a8 8 0 01-8 8H792zM368 272a8 8 0 01-8 8h-56a8 8 0 01-8-8c0-40.04 8.78-76.75 25.9-108.07a184.57 184.57 0 0174.03-74.03C427.25 72.78 463.96 64 504 64h16c40.04 0 76.75 8.78 108.07 25.9a184.57 184.57 0 0174.03 74.03C719.22 195.25 728 231.96 728 272a8 8 0 01-8 8h-56a8 8 0 01-8-8c0-28.33-5.94-53.15-17.08-73.53a112.56 112.56 0 00-45.39-45.4C573.15 141.95 548.33 136 520 136h-16c-28.33 0-53.15 5.94-73.53 17.08a112.56 112.56 0 00-45.4 45.39C373.95 218.85 368 243.67 368 272z" fill="#333" /><path d="M308 412v268c0 36.78 9.68 71.96 27.8 102.9a205.39 205.39 0 0073.3 73.3A202.68 202.68 0 00512 884c36.78 0 71.96-9.68 102.9-27.8a205.39 205.39 0 0073.3-73.3A202.68 202.68 0 00716 680V412H308z" fill="#E6E6E6" /></svg>'},ze={name:"camera",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M864 260H728l-32.4-90.8a32.07 32.07 0 00-30.2-21.2H358.6c-13.5 0-25.6 8.5-30.1 21.2L296 260H160c-44.2 0-80 35.8-80 80v456c0 44.2 35.8 80 80 80h704c44.2 0 80-35.8 80-80V340c0-44.2-35.8-80-80-80zM512 716c-88.4 0-160-71.6-160-160s71.6-160 160-160 160 71.6 160 160-71.6 160-160 160zm-96-160a96 96 0 10192 0 96 96 0 10-192 0z" /></svg>'},Pe={name:"camera",theme:"twotone",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M864 320H677.2l-17.1-47.8-22.9-64.2H386.7l-22.9 64.2-17.1 47.8H160c-4.4 0-8 3.6-8 8v456c0 4.4 3.6 8 8 8h704c4.4 0 8-3.6 8-8V328c0-4.4-3.6-8-8-8zM512 704c-88.4 0-160-71.6-160-160s71.6-160 160-160 160 71.6 160 160-71.6 160-160 160z" fill="#E6E6E6" /><path d="M512 384c-88.4 0-160 71.6-160 160s71.6 160 160 160 160-71.6 160-160-71.6-160-160-160zm0 256c-53 0-96-43-96-96s43-96 96-96 96 43 96 96-43 96-96 96z" fill="#333" /><path d="M864 248H728l-32.4-90.8a32.07 32.07 0 00-30.2-21.2H358.6c-13.5 0-25.6 8.5-30.1 21.2L296 248H160c-44.2 0-80 35.8-80 80v456c0 44.2 35.8 80 80 80h704c44.2 0 80-35.8 80-80V328c0-44.2-35.8-80-80-80zm8 536c0 4.4-3.6 8-8 8H160c-4.4 0-8-3.6-8-8V328c0-4.4 3.6-8 8-8h186.7l17.1-47.8 22.9-64.2h250.5l22.9 64.2 17.1 47.8H864c4.4 0 8 3.6 8 8v456z" fill="#333" /></svg>'},Ie={name:"calendar",theme:"twotone",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M712 304c0 4.4-3.6 8-8 8h-56c-4.4 0-8-3.6-8-8v-48H384v48c0 4.4-3.6 8-8 8h-56c-4.4 0-8-3.6-8-8v-48H184v136h656V256H712v48z" fill="#E6E6E6" /><path d="M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V460h656v380zm0-448H184V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v136z" fill="#333" /></svg>'},Re={name:"apple",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M747.4 535.7c-.4-68.2 30.5-119.6 92.9-157.5-34.9-50-87.7-77.5-157.3-82.8-65.9-5.2-138 38.4-164.4 38.4-27.9 0-91.7-36.6-141.9-36.6C273.1 298.8 163 379.8 163 544.6c0 48.7 8.9 99 26.7 150.8 23.8 68.2 109.6 235.3 199.1 232.6 46.8-1.1 79.9-33.2 140.8-33.2 59.1 0 89.7 33.2 141.9 33.2 90.3-1.3 167.9-153.2 190.5-221.6-121.1-57.1-114.6-167.2-114.6-170.7zm-105.1-305c50.7-60.2 46.1-115 44.6-134.7-44.8 2.6-96.6 30.5-126.1 64.8-32.5 36.8-51.6 82.3-47.5 133.6 48.4 3.7 92.6-21.2 129-63.7z" /></svg>'},Ne={name:"book",theme:"twotone",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M832 64H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zm-260 72h96v209.9L621.5 312 572 347.4V136zM232 888V136h280v296.9c0 3.3 1 6.6 3 9.3a15.9 15.9 0 0022.3 3.7l83.8-59.9 81.4 59.4c2.7 2 6 3.1 9.4 3.1 8.8 0 16-7.2 16-16V136h64v752H232z" fill="#333" /><path d="M668 345.9V136h-96v211.4l49.5-35.4z" fill="#E6E6E6" /><path d="M727.9 136v296.5c0 8.8-7.2 16-16 16-3.4 0-6.7-1.1-9.4-3.1L621.1 386l-83.8 59.9a15.9 15.9 0 01-22.3-3.7c-2-2.7-3-6-3-9.3V136H232v752h559.9V136h-64z" fill="#E6E6E6" /></svg>'},He={name:"build",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M916 210H376c-17.7 0-32 14.3-32 32v236H108c-17.7 0-32 14.3-32 32v272c0 17.7 14.3 32 32 32h540c17.7 0 32-14.3 32-32V546h236c17.7 0 32-14.3 32-32V242c0-17.7-14.3-32-32-32zM612 746H412V546h200v200zm268-268H680V278h200v200z" /></svg>'},Fe={name:"branches",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M740 161c-61.8 0-112 50.2-112 112 0 50.1 33.1 92.6 78.5 106.9v95.9L320 602.4V318.1c44.2-15 76-56.9 76-106.1 0-61.8-50.2-112-112-112s-112 50.2-112 112c0 49.2 31.8 91 76 106.1V706c-44.2 15-76 56.9-76 106.1 0 61.8 50.2 112 112 112s112-50.2 112-112c0-49.2-31.8-91-76-106.1v-27.8l423.5-138.7a50.52 50.52 0 0034.9-48.2V378.2c42.9-15.8 73.6-57 73.6-105.2 0-61.8-50.2-112-112-112zm-504 51a48.01 48.01 0 0196 0 48.01 48.01 0 01-96 0zm96 600a48.01 48.01 0 01-96 0 48.01 48.01 0 0196 0zm408-491a48.01 48.01 0 010-96 48.01 48.01 0 010 96z" /></svg>'},Ve={name:"bug",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M304 280h416c4.4 0 8-3.6 8-8 0-40-8.8-76.7-25.9-108.1a184.31 184.31 0 00-74-74C596.7 72.8 560 64 520 64h-16c-40 0-76.7 8.8-108.1 25.9a184.31 184.31 0 00-74 74C304.8 195.3 296 232 296 272c0 4.4 3.6 8 8 8z" /><path d="M940 512H792V412c76.8 0 139-62.2 139-139 0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8a63 63 0 01-63 63H232a63 63 0 01-63-63c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8 0 76.8 62.2 139 139 139v100H84c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h148v96c0 6.5.2 13 .7 19.3C164.1 728.6 116 796.7 116 876c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8 0-44.2 23.9-82.9 59.6-103.7a273 273 0 0022.7 49c24.3 41.5 59 76.2 100.5 100.5 28.9 16.9 61 28.8 95.3 34.5 4.4 0 8-3.6 8-8V484c0-4.4 3.6-8 8-8h60c4.4 0 8 3.6 8 8v464.2c0 4.4 3.6 8 8 8 34.3-5.7 66.4-17.6 95.3-34.5a281.38 281.38 0 00123.2-149.5A120.4 120.4 0 01836 876c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8 0-79.3-48.1-147.4-116.7-176.7.4-6.4.7-12.8.7-19.3v-96h148c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z" /></svg>'},Be={name:"bulb",theme:"twotone",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 136c-141.4 0-256 114.6-256 256 0 92.5 49.4 176.3 128.1 221.8l35.9 20.8V752h184V634.6l35.9-20.8C718.6 568.3 768 484.5 768 392c0-141.4-114.6-256-256-256z" fill="#E6E6E6" /><path d="M632 888H392c-4.4 0-8 3.6-8 8v32c0 17.7 14.3 32 32 32h192c17.7 0 32-14.3 32-32v-32c0-4.4-3.6-8-8-8zM512 64c-181.1 0-328 146.9-328 328 0 121.4 66 227.4 164 284.1V792c0 17.7 14.3 32 32 32h264c17.7 0 32-14.3 32-32V676.1c98-56.7 164-162.7 164-284.1 0-181.1-146.9-328-328-328zm127.9 549.8L604 634.6V752H420V634.6l-35.9-20.8C305.4 568.3 256 484.5 256 392c0-141.4 114.6-256 256-256s256 114.6 256 256c0 92.5-49.4 176.3-128.1 221.8z" fill="#333" /></svg>'},Ye={name:"caret-left",theme:"outline",icon:'<svg viewBox="0 0 1024 1024" focusable="false"><path d="M689 165.1L308.2 493.5c-10.9 9.4-10.9 27.5 0 37L689 858.9c14.2 12.2 35 1.2 35-18.5V183.6c0-19.7-20.8-30.7-35-18.5z" /></svg>'},Ue={name:"car",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M380 704h264c4.4 0 8-3.6 8-8v-84c0-4.4-3.6-8-8-8h-40c-4.4 0-8 3.6-8 8v36H428v-36c0-4.4-3.6-8-8-8h-40c-4.4 0-8 3.6-8 8v84c0 4.4 3.6 8 8 8zm340-123a40 40 0 1080 0 40 40 0 10-80 0zm239-167.6L935.3 372a8 8 0 00-10.9-2.9l-50.7 29.6-78.3-216.2a63.9 63.9 0 00-60.9-44.4H301.2c-34.7 0-65.5 22.4-76.2 55.5l-74.6 205.2-50.8-29.6a8 8 0 00-10.9 2.9L65 413.4c-2.2 3.8-.9 8.6 2.9 10.8l60.4 35.2-14.5 40c-1.2 3.2-1.8 6.6-1.8 10v348.2c0 15.7 11.8 28.4 26.3 28.4h67.6c12.3 0 23-9.3 25.6-22.3l7.7-37.7h545.6l7.7 37.7c2.7 13 13.3 22.3 25.6 22.3h67.6c14.5 0 26.3-12.7 26.3-28.4V509.4c0-3.4-.6-6.8-1.8-10l-14.5-40 60.3-35.2a8 8 0 003-10.8zM840 517v237H184V517l15.6-43h624.8l15.6 43zM292.7 218.1l.5-1.3.4-1.3c1.1-3.3 4.1-5.5 7.6-5.5h427.6l75.4 208H220l72.7-199.9zM224 581a40 40 0 1080 0 40 40 0 10-80 0z" /></svg>'},We={name:"calculator",theme:"twotone",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z" fill="#333" /><path d="M184 840h656V184H184v656zm256.2-75h-50.8c-2.2 0-4.5-1.1-5.9-2.9L348 718.6l-35.5 43.5a7.38 7.38 0 01-5.9 2.9h-50.8c-6.6 0-10.2-7.9-5.8-13.1l62.7-76.8-61.2-74.9c-4.3-5.2-.7-13.1 5.9-13.1h50.9c2.2 0 4.5 1.1 5.9 2.9l34 41.6 34-41.6c1.5-1.9 3.6-2.9 5.9-2.9h50.8c6.6 0 10.2 7.9 5.9 13.1L383.5 675l62.7 76.8c4.2 5.3.6 13.2-6 13.2zM576 335c0-2.2 1.4-4 3.2-4h193.5c1.9 0 3.3 1.8 3.3 4v48c0 2.2-1.4 4-3.2 4H579.2c-1.8 0-3.2-1.8-3.2-4v-48zm0 265c0-2.2 1.4-4 3.2-4h193.5c1.9 0 3.3 1.8 3.3 4v48c0 2.2-1.4 4-3.2 4H579.2c-1.8 0-3.2-1.8-3.2-4v-48zm0 104c0-2.2 1.4-4 3.2-4h193.5c1.9 0 3.3 1.8 3.3 4v48c0 2.2-1.4 4-3.2 4H579.2c-1.8 0-3.2-1.8-3.2-4v-48zM248 335c0-2.2 1.4-4 3.2-4H320v-68.8c0-1.8 1.8-3.2 4-3.2h48c2.2 0 4 1.4 4 3.2V331h68.7c1.9 0 3.3 1.8 3.3 4v48c0 2.2-1.4 4-3.2 4H376v68.7c0 1.9-1.8 3.3-4 3.3h-48c-2.2 0-4-1.4-4-3.2V387h-68.8c-1.8 0-3.2-1.8-3.2-4v-48z" fill="#E6E6E6" /><path d="M383.5 675l61.3-74.8c4.3-5.2.7-13.1-5.9-13.1h-50.8c-2.3 0-4.4 1-5.9 2.9l-34 41.6-34-41.6a7.69 7.69 0 00-5.9-2.9h-50.9c-6.6 0-10.2 7.9-5.9 13.1l61.2 74.9-62.7 76.8c-4.4 5.2-.8 13.1 5.8 13.1h50.8c2.3 0 4.4-1 5.9-2.9l35.5-43.5 35.5 43.5c1.4 1.8 3.7 2.9 5.9 2.9h50.8c6.6 0 10.2-7.9 6-13.2L383.5 675zM251.2 387H320v68.8c0 1.8 1.8 3.2 4 3.2h48c2.2 0 4-1.4 4-3.3V387h68.8c1.8 0 3.2-1.8 3.2-4v-48c0-2.2-1.4-4-3.3-4H376v-68.8c0-1.8-1.8-3.2-4-3.2h-48c-2.2 0-4 1.4-4 3.2V331h-68.8c-1.8 0-3.2 1.8-3.2 4v48c0 2.2 1.4 4 3.2 4zm328 369h193.6c1.8 0 3.2-1.8 3.2-4v-48c0-2.2-1.4-4-3.3-4H579.2c-1.8 0-3.2 1.8-3.2 4v48c0 2.2 1.4 4 3.2 4zm0-104h193.6c1.8 0 3.2-1.8 3.2-4v-48c0-2.2-1.4-4-3.3-4H579.2c-1.8 0-3.2 1.8-3.2 4v48c0 2.2 1.4 4 3.2 4zm0-265h193.6c1.8 0 3.2-1.8 3.2-4v-48c0-2.2-1.4-4-3.3-4H579.2c-1.8 0-3.2 1.8-3.2 4v48c0 2.2 1.4 4 3.2 4z" fill="#333" /></svg>'},qe={name:"calculator",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M251.2 387H320v68.8c0 1.8 1.8 3.2 4 3.2h48c2.2 0 4-1.4 4-3.3V387h68.8c1.8 0 3.2-1.8 3.2-4v-48c0-2.2-1.4-4-3.3-4H376v-68.8c0-1.8-1.8-3.2-4-3.2h-48c-2.2 0-4 1.4-4 3.2V331h-68.8c-1.8 0-3.2 1.8-3.2 4v48c0 2.2 1.4 4 3.2 4zm328 0h193.6c1.8 0 3.2-1.8 3.2-4v-48c0-2.2-1.4-4-3.3-4H579.2c-1.8 0-3.2 1.8-3.2 4v48c0 2.2 1.4 4 3.2 4zm0 265h193.6c1.8 0 3.2-1.8 3.2-4v-48c0-2.2-1.4-4-3.3-4H579.2c-1.8 0-3.2 1.8-3.2 4v48c0 2.2 1.4 4 3.2 4zm0 104h193.6c1.8 0 3.2-1.8 3.2-4v-48c0-2.2-1.4-4-3.3-4H579.2c-1.8 0-3.2 1.8-3.2 4v48c0 2.2 1.4 4 3.2 4zm-195.7-81l61.2-74.9c4.3-5.2.7-13.1-5.9-13.1H388c-2.3 0-4.5 1-5.9 2.9l-34 41.6-34-41.6a7.85 7.85 0 00-5.9-2.9h-50.9c-6.6 0-10.2 7.9-5.9 13.1l61.2 74.9-62.7 76.8c-4.4 5.2-.8 13.1 5.8 13.1h50.8c2.3 0 4.5-1 5.9-2.9l35.5-43.5 35.5 43.5c1.5 1.8 3.7 2.9 5.9 2.9h50.8c6.6 0 10.2-7.9 5.9-13.1L383.5 675zM880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-36 732H180V180h664v664z" /></svg>'},$e={name:"caret-up",theme:"fill",icon:'<svg viewBox="0 0 1024 1024" focusable="false"><path d="M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z" /></svg>'},Ge={name:"camera",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M864 248H728l-32.4-90.8a32.07 32.07 0 00-30.2-21.2H358.6c-13.5 0-25.6 8.5-30.1 21.2L296 248H160c-44.2 0-80 35.8-80 80v456c0 44.2 35.8 80 80 80h704c44.2 0 80-35.8 80-80V328c0-44.2-35.8-80-80-80zm8 536c0 4.4-3.6 8-8 8H160c-4.4 0-8-3.6-8-8V328c0-4.4 3.6-8 8-8h186.7l17.1-47.8 22.9-64.2h250.5l22.9 64.2 17.1 47.8H864c4.4 0 8 3.6 8 8v456zM512 384c-88.4 0-160 71.6-160 160s71.6 160 160 160 160-71.6 160-160-71.6-160-160-160zm0 256c-53 0-96-43-96-96s43-96 96-96 96 43 96 96-43 96-96 96z" /></svg>'},Xe={name:"caret-right",theme:"fill",icon:'<svg viewBox="0 0 1024 1024" focusable="false"><path d="M715.8 493.5L335 165.1c-14.2-12.2-35-1.2-35 18.5v656.8c0 19.7 20.8 30.7 35 18.5l380.8-328.4c10.9-9.4 10.9-27.6 0-37z" /></svg>'},Ke={name:"car",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M959 413.4L935.3 372a8 8 0 00-10.9-2.9l-50.7 29.6-78.3-216.2a63.9 63.9 0 00-60.9-44.4H301.2c-34.7 0-65.5 22.4-76.2 55.5l-74.6 205.2-50.8-29.6a8 8 0 00-10.9 2.9L65 413.4c-2.2 3.8-.9 8.6 2.9 10.8l60.4 35.2-14.5 40c-1.2 3.2-1.8 6.6-1.8 10v348.2c0 15.7 11.8 28.4 26.3 28.4h67.6c12.3 0 23-9.3 25.6-22.3l7.7-37.7h545.6l7.7 37.7c2.7 13 13.3 22.3 25.6 22.3h67.6c14.5 0 26.3-12.7 26.3-28.4V509.4c0-3.4-.6-6.8-1.8-10l-14.5-40 60.3-35.2a8 8 0 003-10.8zM264 621c-22.1 0-40-17.9-40-40s17.9-40 40-40 40 17.9 40 40-17.9 40-40 40zm388 75c0 4.4-3.6 8-8 8H380c-4.4 0-8-3.6-8-8v-84c0-4.4 3.6-8 8-8h40c4.4 0 8 3.6 8 8v36h168v-36c0-4.4 3.6-8 8-8h40c4.4 0 8 3.6 8 8v84zm108-75c-22.1 0-40-17.9-40-40s17.9-40 40-40 40 17.9 40 40-17.9 40-40 40zM220 418l72.7-199.9.5-1.3.4-1.3c1.1-3.3 4.1-5.5 7.6-5.5h427.6l75.4 208H220z" /></svg>'},Je={name:"box-plot",theme:"twotone",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M296 368h88v288h-88zm152 0h280v288H448z" fill="#E6E6E6" /><path d="M952 224h-52c-4.4 0-8 3.6-8 8v248h-92V304c0-4.4-3.6-8-8-8H232c-4.4 0-8 3.6-8 8v176h-92V232c0-4.4-3.6-8-8-8H72c-4.4 0-8 3.6-8 8v560c0 4.4 3.6 8 8 8h52c4.4 0 8-3.6 8-8V548h92v172c0 4.4 3.6 8 8 8h560c4.4 0 8-3.6 8-8V548h92v244c0 4.4 3.6 8 8 8h52c4.4 0 8-3.6 8-8V232c0-4.4-3.6-8-8-8zM384 656h-88V368h88v288zm344 0H448V368h280v288z" fill="#333" /></svg>'},Qe={name:"carry-out",theme:"twotone",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v584z" fill="#333" /><path d="M712 304c0 4.4-3.6 8-8 8h-56c-4.4 0-8-3.6-8-8v-48H384v48c0 4.4-3.6 8-8 8h-56c-4.4 0-8-3.6-8-8v-48H184v584h656V256H712v48zm-17.5 128.8L481.9 725.5a16.1 16.1 0 01-26 0l-126.4-174c-3.8-5.3 0-12.7 6.5-12.7h55.2c5.2 0 10 2.5 13 6.6l64.7 89 150.9-207.8c3-4.1 7.9-6.6 13-6.6H688c6.5 0 10.3 7.4 6.5 12.8z" fill="#E6E6E6" /><path d="M688 420h-55.2c-5.1 0-10 2.5-13 6.6L468.9 634.4l-64.7-89c-3-4.1-7.8-6.6-13-6.6H336c-6.5 0-10.3 7.4-6.5 12.7l126.4 174a16.1 16.1 0 0026 0l212.6-292.7c3.8-5.4 0-12.8-6.5-12.8z" fill="#333" /></svg>'},Ze={name:"check-circle",theme:"twotone",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" fill="#333" /><path d="M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm193.4 225.7l-210.6 292a31.8 31.8 0 01-51.7 0L318.5 484.9c-3.8-5.3 0-12.7 6.5-12.7h46.9c10.3 0 19.9 5 25.9 13.3l71.2 98.8 157.2-218c6-8.4 15.7-13.3 25.9-13.3H699c6.5 0 10.3 7.4 6.4 12.7z" fill="#E6E6E6" /><path d="M699 353h-46.9c-10.2 0-19.9 4.9-25.9 13.3L469 584.3l-71.2-98.8c-6-8.3-15.6-13.3-25.9-13.3H325c-6.5 0-10.3 7.4-6.5 12.7l124.6 172.8a31.8 31.8 0 0051.7 0l210.6-292c3.9-5.3.1-12.7-6.4-12.7z" fill="#333" /></svg>'},et={name:"caret-left",theme:"fill",icon:'<svg viewBox="0 0 1024 1024" focusable="false"><path d="M689 165.1L308.2 493.5c-10.9 9.4-10.9 27.5 0 37L689 858.9c14.2 12.2 35 1.2 35-18.5V183.6c0-19.7-20.8-30.7-35-18.5z" /></svg>'},tt={name:"check-circle",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M699 353h-46.9c-10.2 0-19.9 4.9-25.9 13.3L469 584.3l-71.2-98.8c-6-8.3-15.6-13.3-25.9-13.3H325c-6.5 0-10.3 7.4-6.5 12.7l124.6 172.8a31.8 31.8 0 0051.7 0l210.6-292c3.9-5.3.1-12.7-6.4-12.7z" /><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" /></svg>'},nt={name:"check-circle",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm193.5 301.7l-210.6 292a31.8 31.8 0 01-51.7 0L318.5 484.9c-3.8-5.3 0-12.7 6.5-12.7h46.9c10.2 0 19.9 4.9 25.9 13.3l71.2 98.8 157.2-218c6-8.3 15.6-13.3 25.9-13.3H699c6.5 0 10.3 7.4 6.5 12.7z" /></svg>'},rt={name:"check-square",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M433.1 657.7a31.8 31.8 0 0051.7 0l210.6-292c3.8-5.3 0-12.7-6.5-12.7H642c-10.2 0-19.9 4.9-25.9 13.3L459 584.3l-71.2-98.8c-6-8.3-15.6-13.3-25.9-13.3H315c-6.5 0-10.3 7.4-6.5 12.7l124.6 172.8z" /><path d="M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z" /></svg>'},it={name:"check",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z" /></svg>'},st={name:"check-square",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM695.5 365.7l-210.6 292a31.8 31.8 0 01-51.7 0L308.5 484.9c-3.8-5.3 0-12.7 6.5-12.7h46.9c10.2 0 19.9 4.9 25.9 13.3l71.2 98.8 157.2-218c6-8.3 15.6-13.3 25.9-13.3H689c6.5 0 10.3 7.4 6.5 12.7z" /></svg>'},ot={name:"carry-out",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v584zM688 420h-55.2c-5.1 0-10 2.5-13 6.6L468.9 634.4l-64.7-89c-3-4.1-7.8-6.6-13-6.6H336c-6.5 0-10.3 7.4-6.5 12.7l126.4 174a16.1 16.1 0 0026 0l212.6-292.7c3.8-5.4 0-12.8-6.5-12.8z" /></svg>'},at={name:"caret-down",theme:"outline",icon:'<svg viewBox="0 0 1024 1024" focusable="false"><path d="M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z" /></svg>'},ct={name:"ci-circle",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm-63.6 656c-103 0-162.4-68.6-162.4-182.6v-49C286 373.5 345.4 304 448.3 304c88.3 0 152.3 56.9 152.3 138.1 0 2.4-2 4.4-4.4 4.4h-52.6c-4.2 0-7.6-3.2-8-7.4-4-46.1-37.6-77.6-87-77.6-61.1 0-95.6 45.4-95.6 126.9v49.3c0 80.3 34.5 125.1 95.6 125.1 49.3 0 82.8-29.5 87-72.4.4-4.1 3.8-7.3 8-7.3h52.7c2.4 0 4.4 2 4.4 4.4 0 77.4-64.3 132.5-152.3 132.5zM738 704.1c0 4.4-3.6 8-8 8h-50.4c-4.4 0-8-3.6-8-8V319.9c0-4.4 3.6-8 8-8H730c4.4 0 8 3.6 8 8v384.2z" /></svg>'},lt={name:"check-square",theme:"twotone",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z" fill="#333" /><path d="M184 840h656V184H184v656zm130-367.8h46.9c10.2 0 19.9 4.9 25.9 13.3l71.2 98.8 157.2-218c6-8.3 15.6-13.3 25.9-13.3H688c6.5 0 10.3 7.4 6.5 12.7l-210.6 292a31.8 31.8 0 01-51.7 0L307.5 484.9c-3.8-5.3 0-12.7 6.5-12.7z" fill="#E6E6E6" /><path d="M432.2 657.7a31.8 31.8 0 0051.7 0l210.6-292c3.8-5.3 0-12.7-6.5-12.7h-46.9c-10.3 0-19.9 5-25.9 13.3L458 584.3l-71.2-98.8c-6-8.4-15.7-13.3-25.9-13.3H314c-6.5 0-10.3 7.4-6.5 12.7l124.7 172.8z" fill="#333" /></svg>'},ut={name:"caret-up",theme:"outline",icon:'<svg viewBox="0 0 1024 1024" focusable="false"><path d="M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z" /></svg>'},ht={name:"calendar",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M112 880c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V460H112v420zm768-696H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v176h800V216c0-17.7-14.3-32-32-32z" /></svg>'},dt={name:"caret-right",theme:"outline",icon:'<svg viewBox="0 0 1024 1024" focusable="false"><path d="M715.8 493.5L335 165.1c-14.2-12.2-35-1.2-35 18.5v656.8c0 19.7 20.8 30.7 35 18.5l380.8-328.4c10.9-9.4 10.9-27.6 0-37z" /></svg>'},ft={name:"caret-down",theme:"fill",icon:'<svg viewBox="0 0 1024 1024" focusable="false"><path d="M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z" /></svg>'},pt={name:"ci-circle",theme:"twotone",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" fill="#333" /><path d="M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm-63.5 522.8c49.3 0 82.8-29.4 87-72.4.4-4.1 3.8-7.3 8-7.3h52.7c2.4 0 4.4 2 4.4 4.4 0 77.4-64.3 132.5-152.3 132.5C345.4 720 286 651.4 286 537.4v-49C286 373.5 345.4 304 448.3 304c88.3 0 152.3 56.9 152.3 138.1 0 2.4-2 4.4-4.4 4.4h-52.6c-4.2 0-7.6-3.2-8-7.4-3.9-46.1-37.5-77.6-87-77.6-61.1 0-95.6 45.4-95.7 126.8v49.3c0 80.3 34.5 125.2 95.6 125.2zM738 704.1c0 4.4-3.6 8-8 8h-50.4c-4.4 0-8-3.6-8-8V319.9c0-4.4 3.6-8 8-8H730c4.4 0 8 3.6 8 8v384.2z" fill="#E6E6E6" /><path d="M730 311.9h-50.4c-4.4 0-8 3.6-8 8v384.2c0 4.4 3.6 8 8 8H730c4.4 0 8-3.6 8-8V319.9c0-4.4-3.6-8-8-8zm-281.4 49.6c49.5 0 83.1 31.5 87 77.6.4 4.2 3.8 7.4 8 7.4h52.6c2.4 0 4.4-2 4.4-4.4 0-81.2-64-138.1-152.3-138.1C345.4 304 286 373.5 286 488.4v49c0 114 59.4 182.6 162.3 182.6 88 0 152.3-55.1 152.3-132.5 0-2.4-2-4.4-4.4-4.4h-52.7c-4.2 0-7.6 3.2-8 7.3-4.2 43-37.7 72.4-87 72.4-61.1 0-95.6-44.9-95.6-125.2v-49.3c.1-81.4 34.6-126.8 95.7-126.8z" fill="#333" /></svg>'},mt={name:"clear",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><defs><style /></defs><path d="M899.1 869.6l-53-305.6H864c14.4 0 26-11.6 26-26V346c0-14.4-11.6-26-26-26H618V138c0-14.4-11.6-26-26-26H432c-14.4 0-26 11.6-26 26v182H160c-14.4 0-26 11.6-26 26v192c0 14.4 11.6 26 26 26h17.9l-53 305.6a25.95 25.95 0 0025.6 30.4h723c1.5 0 3-.1 4.4-.4a25.88 25.88 0 0021.2-30zM204 390h272V182h72v208h272v104H204V390zm468 440V674c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v156H416V674c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v156H202.8l45.1-260H776l45.1 260H672z" /></svg>'},gt={name:"carry-out",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zM694.5 432.7L481.9 725.4a16.1 16.1 0 01-26 0l-126.4-174c-3.8-5.3 0-12.7 6.5-12.7h55.2c5.1 0 10 2.5 13 6.6l64.7 89 150.9-207.8c3-4.1 7.8-6.6 13-6.6H688c6.5.1 10.3 7.5 6.5 12.8z" /></svg>'},vt={name:"ci-circle",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372zm218-572.1h-50.4c-4.4 0-8 3.6-8 8v384.2c0 4.4 3.6 8 8 8H730c4.4 0 8-3.6 8-8V319.9c0-4.4-3.6-8-8-8zm-281.4 49.6c49.5 0 83.1 31.5 87 77.6.4 4.2 3.8 7.4 8 7.4h52.6c2.4 0 4.4-2 4.4-4.4 0-81.2-64-138.1-152.3-138.1C345.4 304 286 373.5 286 488.4v49c0 114 59.4 182.6 162.3 182.6 88 0 152.3-55.1 152.3-132.5 0-2.4-2-4.4-4.4-4.4h-52.7c-4.2 0-7.6 3.2-8 7.3-4.2 43-37.7 72.4-87 72.4-61.1 0-95.6-44.9-95.6-125.2v-49.3c.1-81.4 34.6-126.8 95.7-126.8z" /></svg>'},yt={name:"clock-circle",theme:"twotone",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" fill="#333" /><path d="M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm176.5 509.7l-28.6 39a7.99 7.99 0 01-11.2 1.7L483.3 569.8a7.92 7.92 0 01-3.3-6.5V288c0-4.4 3.6-8 8-8h48.1c4.4 0 8 3.6 8 8v247.5l142.6 103.1c3.6 2.5 4.4 7.5 1.8 11.1z" fill="#E6E6E6" /><path d="M686.7 638.6L544.1 535.5V288c0-4.4-3.6-8-8-8H488c-4.4 0-8 3.6-8 8v275.3c0 2.6 1.2 5 3.3 6.5l165.4 120.6c3.6 2.6 8.6 1.9 11.2-1.7l28.6-39c2.6-3.6 1.8-8.6-1.8-11.1z" fill="#333" /></svg>'},bt={name:"close-square",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM676.1 657.9c4.4 5.2.7 13.1-6.1 13.1h-58.9c-4.7 0-9.2-2.1-12.3-5.7L512 561.8l-86.8 103.5c-3 3.6-7.5 5.7-12.3 5.7H354c-6.8 0-10.5-7.9-6.1-13.1L470.2 512 347.9 366.1A7.95 7.95 0 01354 353h58.9c4.7 0 9.2 2.1 12.3 5.7L512 462.2l86.8-103.5c3-3.6 7.5-5.7 12.3-5.7H670c6.8 0 10.5 7.9 6.1 13.1L553.8 512l122.3 145.9z" /></svg>'},_t={name:"close-square",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M354 671h58.9c4.7 0 9.2-2.1 12.3-5.7L512 561.8l86.8 103.5c3 3.6 7.5 5.7 12.3 5.7H670c6.8 0 10.5-7.9 6.1-13.1L553.8 512l122.4-145.9c4.4-5.2.7-13.1-6.1-13.1h-58.9c-4.7 0-9.2 2.1-12.3 5.7L512 462.2l-86.8-103.5c-3-3.6-7.5-5.7-12.3-5.7H354c-6.8 0-10.5 7.9-6.1 13.1L470.2 512 347.9 657.9A7.95 7.95 0 00354 671z" /><path d="M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z" /></svg>'},wt={name:"close-circle",theme:"twotone",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" fill="#333" /><path d="M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm171.8 527.1c1.2 1.5 1.9 3.3 1.9 5.2 0 4.5-3.6 8-8 8l-66-.3-99.3-118.4-99.3 118.5-66.1.3c-4.4 0-8-3.6-8-8 0-1.9.7-3.7 1.9-5.2L471 512.3l-130.1-155a8.32 8.32 0 01-1.9-5.2c0-4.5 3.6-8 8-8l66.1.3 99.3 118.4 99.4-118.5 66-.3c4.4 0 8 3.6 8 8 0 1.9-.6 3.8-1.8 5.2l-130.1 155 129.9 154.9z" fill="#E6E6E6" /><path d="M685.8 352c0-4.4-3.6-8-8-8l-66 .3-99.4 118.5-99.3-118.4-66.1-.3c-4.4 0-8 3.5-8 8 0 1.9.7 3.7 1.9 5.2l130.1 155-130.1 154.9a8.32 8.32 0 00-1.9 5.2c0 4.4 3.6 8 8 8l66.1-.3 99.3-118.5L611.7 680l66 .3c4.4 0 8-3.5 8-8 0-1.9-.7-3.7-1.9-5.2L553.9 512.2l130.1-155c1.2-1.4 1.8-3.3 1.8-5.2z" fill="#333" /></svg>'},St={name:"close-square",theme:"twotone",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z" fill="#333" /><path d="M184 840h656V184H184v656zm163.9-473.9A7.95 7.95 0 01354 353h58.9c4.7 0 9.2 2.1 12.3 5.7L512 462.2l86.8-103.5c3-3.6 7.5-5.7 12.3-5.7H670c6.8 0 10.5 7.9 6.1 13.1L553.8 512l122.3 145.9c4.4 5.2.7 13.1-6.1 13.1h-58.9c-4.7 0-9.2-2.1-12.3-5.7L512 561.8l-86.8 103.5c-3 3.6-7.5 5.7-12.3 5.7H354c-6.8 0-10.5-7.9-6.1-13.1L470.2 512 347.9 366.1z" fill="#E6E6E6" /><path d="M354 671h58.9c4.8 0 9.3-2.1 12.3-5.7L512 561.8l86.8 103.5c3.1 3.6 7.6 5.7 12.3 5.7H670c6.8 0 10.5-7.9 6.1-13.1L553.8 512l122.3-145.9c4.4-5.2.7-13.1-6.1-13.1h-58.9c-4.8 0-9.3 2.1-12.3 5.7L512 462.2l-86.8-103.5c-3.1-3.6-7.6-5.7-12.3-5.7H354c-6.8 0-10.5 7.9-6.1 13.1L470.2 512 347.9 657.9A7.95 7.95 0 00354 671z" fill="#333" /></svg>'},xt={name:"close",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M563.8 512l262.5-312.9c4.4-5.2.7-13.1-6.1-13.1h-79.8c-4.7 0-9.2 2.1-12.3 5.7L511.6 449.8 295.1 191.7c-3-3.6-7.5-5.7-12.3-5.7H203c-6.8 0-10.5 7.9-6.1 13.1L459.4 512 196.9 824.9A7.95 7.95 0 00203 838h79.8c4.7 0 9.2-2.1 12.3-5.7l216.5-258.1 216.5 258.1c3 3.6 7.5 5.7 12.3 5.7h79.8c6.8 0 10.5-7.9 6.1-13.1L563.8 512z" /></svg>'},Ot={name:"cloud-download",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M624 706.3h-74.1V464c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v242.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.7a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9z" /><path d="M811.4 366.7C765.6 245.9 648.9 160 512.2 160S258.8 245.8 213 366.6C127.3 389.1 64 467.2 64 560c0 110.5 89.5 200 199.9 200H304c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8h-40.1c-33.7 0-65.4-13.4-89-37.7-23.5-24.2-36-56.8-34.9-90.6.9-26.4 9.9-51.2 26.2-72.1 16.7-21.3 40.1-36.8 66.1-43.7l37.9-9.9 13.9-36.6c8.6-22.8 20.6-44.1 35.7-63.4a245.6 245.6 0 0152.4-49.9c41.1-28.9 89.5-44.2 140-44.2s98.9 15.3 140 44.2c19.9 14 37.5 30.8 52.4 49.9 15.1 19.3 27.1 40.7 35.7 63.4l13.8 36.5 37.8 10C846.1 454.5 884 503.8 884 560c0 33.1-12.9 64.3-36.3 87.7a123.07 123.07 0 01-87.6 36.3H720c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h40.1C870.5 760 960 670.5 960 560c0-92.7-63.1-170.7-148.6-193.3z" /></svg>'},kt={name:"cloud",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M811.4 418.7C765.6 297.9 648.9 212 512.2 212S258.8 297.8 213 418.6C127.3 441.1 64 519.1 64 612c0 110.5 89.5 200 199.9 200h496.2C870.5 812 960 722.5 960 612c0-92.7-63.1-170.7-148.6-193.3z" /></svg>'},Ct={name:"cloud",theme:"twotone",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M791.9 492l-37.8-10-13.8-36.5c-8.6-22.7-20.6-44.1-35.7-63.4a245.73 245.73 0 00-52.4-49.9c-41.1-28.9-89.5-44.2-140-44.2s-98.9 15.3-140 44.2a245.6 245.6 0 00-52.4 49.9 240.47 240.47 0 00-35.7 63.4l-13.9 36.6-37.9 9.9a125.7 125.7 0 00-66.1 43.7A123.1 123.1 0 00140 612c0 33.1 12.9 64.3 36.3 87.7 23.4 23.4 54.5 36.3 87.6 36.3h496.2c33.1 0 64.2-12.9 87.6-36.3A123.3 123.3 0 00884 612c0-56.2-37.8-105.5-92.1-120z" fill="#E6E6E6" /><path d="M811.4 418.7C765.6 297.9 648.9 212 512.2 212S258.8 297.8 213 418.6C127.3 441.1 64 519.1 64 612c0 110.5 89.5 200 199.9 200h496.2C870.5 812 960 722.5 960 612c0-92.7-63.1-170.7-148.6-193.3zm36.3 281a123.07 123.07 0 01-87.6 36.3H263.9c-33.1 0-64.2-12.9-87.6-36.3A123.3 123.3 0 01140 612c0-28 9.1-54.3 26.2-76.3a125.7 125.7 0 0166.1-43.7l37.9-9.9 13.9-36.6c8.6-22.8 20.6-44.1 35.7-63.4a245.6 245.6 0 0152.4-49.9c41.1-28.9 89.5-44.2 140-44.2s98.9 15.3 140 44.2c19.9 14 37.5 30.8 52.4 49.9 15.1 19.3 27.1 40.7 35.7 63.4l13.8 36.5 37.8 10c54.3 14.5 92.1 63.8 92.1 120 0 33.1-12.9 64.3-36.3 87.7z" fill="#333" /></svg>'},Mt={name:"cloud",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M811.4 418.7C765.6 297.9 648.9 212 512.2 212S258.8 297.8 213 418.6C127.3 441.1 64 519.1 64 612c0 110.5 89.5 200 199.9 200h496.2C870.5 812 960 722.5 960 612c0-92.7-63.1-170.7-148.6-193.3zm36.3 281a123.07 123.07 0 01-87.6 36.3H263.9c-33.1 0-64.2-12.9-87.6-36.3A123.3 123.3 0 01140 612c0-28 9.1-54.3 26.2-76.3a125.7 125.7 0 0166.1-43.7l37.9-9.9 13.9-36.6c8.6-22.8 20.6-44.1 35.7-63.4a245.6 245.6 0 0152.4-49.9c41.1-28.9 89.5-44.2 140-44.2s98.9 15.3 140 44.2c19.9 14 37.5 30.8 52.4 49.9 15.1 19.3 27.1 40.7 35.7 63.4l13.8 36.5 37.8 10c54.3 14.5 92.1 63.8 92.1 120 0 33.1-12.9 64.3-36.3 87.7z" /></svg>'},Et={name:"cloud-upload",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M518.3 459a8 8 0 00-12.6 0l-112 141.7a7.98 7.98 0 006.3 12.9h73.9V856c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V613.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 459z" /><path d="M811.4 366.7C765.6 245.9 648.9 160 512.2 160S258.8 245.8 213 366.6C127.3 389.1 64 467.2 64 560c0 110.5 89.5 200 199.9 200H304c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8h-40.1c-33.7 0-65.4-13.4-89-37.7-23.5-24.2-36-56.8-34.9-90.6.9-26.4 9.9-51.2 26.2-72.1 16.7-21.3 40.1-36.8 66.1-43.7l37.9-9.9 13.9-36.6c8.6-22.8 20.6-44.1 35.7-63.4a245.6 245.6 0 0152.4-49.9c41.1-28.9 89.5-44.2 140-44.2s98.9 15.3 140 44.2c19.9 14 37.5 30.8 52.4 49.9 15.1 19.3 27.1 40.7 35.7 63.4l13.8 36.5 37.8 10C846.1 454.5 884 503.8 884 560c0 33.1-12.9 64.3-36.3 87.7a123.07 123.07 0 01-87.6 36.3H720c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h40.1C870.5 760 960 670.5 960 560c0-92.7-63.1-170.7-148.6-193.3z" /></svg>'},Tt={name:"cloud-server",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M704 446H320c-4.4 0-8 3.6-8 8v402c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8V454c0-4.4-3.6-8-8-8zm-328 64h272v117H376V510zm272 290H376V683h272v117z" /><path d="M424 748a32 32 0 1064 0 32 32 0 10-64 0zm0-178a32 32 0 1064 0 32 32 0 10-64 0z" /><path d="M811.4 368.9C765.6 248 648.9 162 512.2 162S258.8 247.9 213 368.8C126.9 391.5 63.5 470.2 64 563.6 64.6 668 145.6 752.9 247.6 762c4.7.4 8.7-3.3 8.7-8v-60.4c0-4-3-7.4-7-7.9-27-3.4-52.5-15.2-72.1-34.5-24-23.5-37.2-55.1-37.2-88.6 0-28 9.1-54.4 26.2-76.4 16.7-21.4 40.2-36.9 66.1-43.7l37.9-10 13.9-36.7c8.6-22.8 20.6-44.2 35.7-63.5 14.9-19.2 32.6-36 52.4-50 41.1-28.9 89.5-44.2 140-44.2s98.9 15.3 140 44.3c19.9 14 37.5 30.8 52.4 50 15.1 19.3 27.1 40.7 35.7 63.5l13.8 36.6 37.8 10c54.2 14.4 92.1 63.7 92.1 120 0 33.6-13.2 65.1-37.2 88.6-19.5 19.2-44.9 31.1-71.9 34.5-4 .5-6.9 3.9-6.9 7.9V754c0 4.7 4.1 8.4 8.8 8 101.7-9.2 182.5-94 183.2-198.2.6-93.4-62.7-172.1-148.6-194.9z" /></svg>'},jt={name:"ci",theme:"twotone",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" fill="#333" /><path d="M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm-63.5 522.8c49.3 0 82.8-29.4 87-72.4.4-4.1 3.8-7.3 8-7.3h52.7c2.4 0 4.4 2 4.4 4.4 0 77.4-64.3 132.5-152.3 132.5C345.4 720 286 651.4 286 537.4v-49C286 373.5 345.4 304 448.3 304c88.3 0 152.3 56.9 152.3 138.1 0 2.4-2 4.4-4.4 4.4h-52.6c-4.2 0-7.6-3.2-8-7.4-3.9-46.1-37.5-77.6-87-77.6-61.1 0-95.6 45.4-95.7 126.8v49.3c0 80.3 34.5 125.2 95.6 125.2zM738 704.1c0 4.4-3.6 8-8 8h-50.4c-4.4 0-8-3.6-8-8V319.9c0-4.4 3.6-8 8-8H730c4.4 0 8 3.6 8 8v384.2z" fill="#E6E6E6" /><path d="M730 311.9h-50.4c-4.4 0-8 3.6-8 8v384.2c0 4.4 3.6 8 8 8H730c4.4 0 8-3.6 8-8V319.9c0-4.4-3.6-8-8-8zm-281.4 49.6c49.5 0 83.1 31.5 87 77.6.4 4.2 3.8 7.4 8 7.4h52.6c2.4 0 4.4-2 4.4-4.4 0-81.2-64-138.1-152.3-138.1C345.4 304 286 373.5 286 488.4v49c0 114 59.4 182.6 162.3 182.6 88 0 152.3-55.1 152.3-132.5 0-2.4-2-4.4-4.4-4.4h-52.7c-4.2 0-7.6 3.2-8 7.3-4.2 43-37.7 72.4-87 72.4-61.1 0-95.6-44.9-95.6-125.2v-49.3c.1-81.4 34.6-126.8 95.7-126.8z" fill="#333" /></svg>'},Dt={name:"car",theme:"twotone",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M199.6 474L184 517v237h656V517l-15.6-43H199.6zM264 621c-22.1 0-40-17.9-40-40s17.9-40 40-40 40 17.9 40 40-17.9 40-40 40zm388 75c0 4.4-3.6 8-8 8H380c-4.4 0-8-3.6-8-8v-84c0-4.4 3.6-8 8-8h40c4.4 0 8 3.6 8 8v36h168v-36c0-4.4 3.6-8 8-8h40c4.4 0 8 3.6 8 8v84zm108-75c-22.1 0-40-17.9-40-40s17.9-40 40-40 40 17.9 40 40-17.9 40-40 40z" fill="#E6E6E6" /><path d="M720 581a40 40 0 1080 0 40 40 0 10-80 0z" fill="#333" /><path d="M959 413.4L935.3 372a8 8 0 00-10.9-2.9l-50.7 29.6-78.3-216.2a63.9 63.9 0 00-60.9-44.4H301.2c-34.7 0-65.5 22.4-76.2 55.5l-74.6 205.2-50.8-29.6a8 8 0 00-10.9 2.9L65 413.4c-2.2 3.8-.9 8.6 2.9 10.8l60.4 35.2-14.5 40c-1.2 3.2-1.8 6.6-1.8 10v348.2c0 15.7 11.8 28.4 26.3 28.4h67.6c12.3 0 23-9.3 25.6-22.3l7.7-37.7h545.6l7.7 37.7c2.7 13 13.3 22.3 25.6 22.3h67.6c14.5 0 26.3-12.7 26.3-28.4V509.4c0-3.4-.6-6.8-1.8-10l-14.5-40 60.3-35.2a8 8 0 003-10.8zM292.7 218.1l.5-1.3.4-1.3c1.1-3.3 4.1-5.5 7.6-5.5h427.6l75.4 208H220l72.7-199.9zM840 754H184V517l15.6-43h624.8l15.6 43v237z" fill="#333" /><path d="M224 581a40 40 0 1080 0 40 40 0 10-80 0zm420 23h-40c-4.4 0-8 3.6-8 8v36H428v-36c0-4.4-3.6-8-8-8h-40c-4.4 0-8 3.6-8 8v84c0 4.4 3.6 8 8 8h264c4.4 0 8-3.6 8-8v-84c0-4.4-3.6-8-8-8z" fill="#333" /></svg>'},At={name:"clock-circle",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" /><path d="M686.7 638.6L544.1 535.5V288c0-4.4-3.6-8-8-8H488c-4.4 0-8 3.6-8 8v275.4c0 2.6 1.2 5 3.3 6.5l165.4 120.6c3.6 2.6 8.6 1.8 11.2-1.7l28.6-39c2.6-3.7 1.8-8.7-1.8-11.2z" /></svg>'},Lt={name:"close-circle",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm165.4 618.2l-66-.3L512 563.4l-99.3 118.4-66.1.3c-4.4 0-8-3.5-8-8 0-1.9.7-3.7 1.9-5.2l130.1-155L340.5 359a8.32 8.32 0 01-1.9-5.2c0-4.4 3.6-8 8-8l66.1.3L512 464.6l99.3-118.4 66-.3c4.4 0 8 3.5 8 8 0 1.9-.7 3.7-1.9 5.2L553.5 514l130 155c1.2 1.5 1.9 3.3 1.9 5.2 0 4.4-3.6 8-8 8z" /></svg>'},zt={name:"code",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M516 673c0 4.4 3.4 8 7.5 8h185c4.1 0 7.5-3.6 7.5-8v-48c0-4.4-3.4-8-7.5-8h-185c-4.1 0-7.5 3.6-7.5 8v48zm-194.9 6.1l192-161c3.8-3.2 3.8-9.1 0-12.3l-192-160.9A7.95 7.95 0 00308 351v62.7c0 2.4 1 4.6 2.9 6.1L420.7 512l-109.8 92.2a8.1 8.1 0 00-2.9 6.1V673c0 6.8 7.9 10.5 13.1 6.1zM880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z" /></svg>'},Pt={name:"ci",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372zm218-572.1h-50.4c-4.4 0-8 3.6-8 8v384.2c0 4.4 3.6 8 8 8H730c4.4 0 8-3.6 8-8V319.9c0-4.4-3.6-8-8-8zm-281.4 49.6c49.5 0 83.1 31.5 87 77.6.4 4.2 3.8 7.4 8 7.4h52.6c2.4 0 4.4-2 4.4-4.4 0-81.2-64-138.1-152.3-138.1C345.4 304 286 373.5 286 488.4v49c0 114 59.4 182.6 162.3 182.6 88 0 152.3-55.1 152.3-132.5 0-2.4-2-4.4-4.4-4.4h-52.7c-4.2 0-7.6 3.2-8 7.3-4.2 43-37.7 72.4-87 72.4-61.1 0-95.6-44.9-95.6-125.2v-49.3c.1-81.4 34.6-126.8 95.7-126.8z" /></svg>'},It={name:"code-sandbox-square",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M307.9 536.7l87.6 49.9V681l96.7 55.9V524.8L307.9 418.4zM880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM755.7 653.2L512 794 268.3 653.2V371.8l110-63.6-.4-.2h.2L512 231l134 77h-.2l-.3.2 110.1 63.6v281.4zm-223.9 83.7l97.3-56.2v-94.1l87-49.5V418.5L531.8 525zm-20-352L418 331l-91.1 52.6 185.2 107 185.2-106.9-91.4-52.8z" /></svg>'},Rt={name:"code",theme:"twotone",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z" fill="#333" /><path d="M184 840h656V184H184v656zm339.5-223h185c4.1 0 7.5 3.6 7.5 8v48c0 4.4-3.4 8-7.5 8h-185c-4.1 0-7.5-3.6-7.5-8v-48c0-4.4 3.4-8 7.5-8zM308 610.3c0-2.3 1.1-4.6 2.9-6.1L420.7 512l-109.8-92.2a7.63 7.63 0 01-2.9-6.1V351c0-6.8 7.9-10.5 13.1-6.1l192 160.9c3.9 3.2 3.9 9.1 0 12.3l-192 161c-5.2 4.4-13.1.7-13.1-6.1v-62.7z" fill="#E6E6E6" /><path d="M321.1 679.1l192-161c3.9-3.2 3.9-9.1 0-12.3l-192-160.9A7.95 7.95 0 00308 351v62.7c0 2.4 1 4.6 2.9 6.1L420.7 512l-109.8 92.2a8.1 8.1 0 00-2.9 6.1V673c0 6.8 7.9 10.5 13.1 6.1zM516 673c0 4.4 3.4 8 7.5 8h185c4.1 0 7.5-3.6 7.5-8v-48c0-4.4-3.4-8-7.5-8h-185c-4.1 0-7.5 3.6-7.5 8v48z" fill="#333" /></svg>'},Nt={name:"coffee",theme:"outline",icon:'<svg viewBox="0 0 1024 1024" focusable="false"><path d="M275 281c19.9 0 36-16.1 36-36V36c0-19.9-16.1-36-36-36s-36 16.1-36 36v209c0 19.9 16.1 36 36 36zm613 144H768c0-39.8-32.2-72-72-72H200c-39.8 0-72 32.2-72 72v248c0 3.4.2 6.7.7 9.9-.5 7-.7 14-.7 21.1 0 176.7 143.3 320 320 320 160.1 0 292.7-117.5 316.3-271H888c39.8 0 72-32.2 72-72V497c0-39.8-32.2-72-72-72zM696 681h-1.1c.7 7.6 1.1 15.2 1.1 23 0 137-111 248-248 248S200 841 200 704c0-7.8.4-15.4 1.1-23H200V425h496v256zm192-8H776V497h112v176zM613 281c19.9 0 36-16.1 36-36V36c0-19.9-16.1-36-36-36s-36 16.1-36 36v209c0 19.9 16.1 36 36 36zm-170 0c19.9 0 36-16.1 36-36V36c0-19.9-16.1-36-36-36s-36 16.1-36 36v209c0 19.9 16.1 36 36 36z" /></svg>'},Ht={name:"code-sandbox-circle",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm243.7 589.2L512 794 268.3 653.2V371.8l110-63.6-.4-.2h.2L512 231l134 77h-.2l-.3.2 110.1 63.6v281.4zM307.9 536.7l87.6 49.9V681l96.7 55.9V524.8L307.9 418.4zm203.9-151.8L418 331l-91.1 52.6 185.2 107 185.2-106.9-91.4-52.8zm20 352l97.3-56.2v-94.1l87-49.5V418.5L531.8 525z" /></svg>'},Ft={name:"cloud-sync",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M811.4 368.9C765.6 248 648.9 162 512.2 162S258.8 247.9 213 368.8C126.9 391.5 63.5 470.2 64 563.6 64.6 668 145.6 752.9 247.6 762c4.7.4 8.7-3.3 8.7-8v-60.4c0-4-3-7.4-7-7.9-27-3.4-52.5-15.2-72.1-34.5-24-23.5-37.2-55.1-37.2-88.6 0-28 9.1-54.4 26.2-76.4 16.7-21.4 40.2-36.9 66.1-43.7l37.9-10 13.9-36.7c8.6-22.8 20.6-44.2 35.7-63.5 14.9-19.2 32.6-36 52.4-50 41.1-28.9 89.5-44.2 140-44.2s98.9 15.3 140 44.3c19.9 14 37.5 30.8 52.4 50 15.1 19.3 27.1 40.7 35.7 63.5l13.8 36.6 37.8 10c54.2 14.4 92.1 63.7 92.1 120 0 33.6-13.2 65.1-37.2 88.6-19.5 19.2-44.9 31.1-71.9 34.5-4 .5-6.9 3.9-6.9 7.9V754c0 4.7 4.1 8.4 8.8 8 101.7-9.2 182.5-94 183.2-198.2.6-93.4-62.7-172.1-148.6-194.9z" /><path d="M376.9 656.4c1.8-33.5 15.7-64.7 39.5-88.6 25.4-25.5 60-39.8 96-39.8 36.2 0 70.3 14.1 96 39.8 1.4 1.4 2.7 2.8 4.1 4.3l-25 19.6a8 8 0 003 14.1l98.2 24c5 1.2 9.9-2.6 9.9-7.7l.5-101.3c0-6.7-7.6-10.5-12.9-6.3L663 532.7c-36.6-42-90.4-68.6-150.5-68.6-107.4 0-195 85.1-199.4 191.7-.2 4.5 3.4 8.3 8 8.3H369c4.2-.1 7.7-3.4 7.9-7.7zM703 664h-47.9c-4.2 0-7.7 3.3-8 7.6-1.8 33.5-15.7 64.7-39.5 88.6-25.4 25.5-60 39.8-96 39.8-36.2 0-70.3-14.1-96-39.8-1.4-1.4-2.7-2.8-4.1-4.3l25-19.6a8 8 0 00-3-14.1l-98.2-24c-5-1.2-9.9 2.6-9.9 7.7l-.4 101.4c0 6.7 7.6 10.5 12.9 6.3l23.2-18.2c36.6 42 90.4 68.6 150.5 68.6 107.4 0 195-85.1 199.4-191.7.2-4.5-3.4-8.3-8-8.3z" /></svg>'},Vt={name:"codepen-square",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M723.1 428L535.9 303.4v111.3l103.6 69.1zM512 456.1l-84.5 56.4 84.5 56.4 84.5-56.4zm23.9 154.2v111.3L723.1 597l-83.6-55.8zm-151.4-69.1L300.9 597l187.2 124.6V610.3l-103.6-69.1zM880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-90 485c0 1.1-.1 2.1-.2 3.1 0 .4-.1.7-.2 1a14.16 14.16 0 01-.8 3.2c-.2.6-.4 1.2-.6 1.7-.2.4-.4.8-.5 1.2-.3.5-.5 1.1-.8 1.6-.2.4-.4.7-.7 1.1-.3.5-.7 1-1 1.5-.3.4-.5.7-.8 1-.4.4-.8.9-1.2 1.3-.3.3-.6.6-1 .9-.4.4-.9.8-1.4 1.1-.4.3-.7.6-1.1.8-.1.1-.3.2-.4.3L525.2 786c-4 2.7-8.6 4-13.2 4-4.7 0-9.3-1.4-13.3-4L244.6 616.9c-.1-.1-.3-.2-.4-.3l-1.1-.8c-.5-.4-.9-.7-1.3-1.1-.3-.3-.6-.6-1-.9-.4-.4-.8-.8-1.2-1.3a7 7 0 01-.8-1c-.4-.5-.7-1-1-1.5-.2-.4-.5-.7-.7-1.1-.3-.5-.6-1.1-.8-1.6-.2-.4-.4-.8-.5-1.2-.2-.6-.4-1.2-.6-1.7-.1-.4-.3-.8-.4-1.2-.2-.7-.3-1.3-.4-2-.1-.3-.1-.7-.2-1-.1-1-.2-2.1-.2-3.1V427.9c0-1 .1-2.1.2-3.1.1-.3.1-.7.2-1a14.16 14.16 0 01.8-3.2c.2-.6.4-1.2.6-1.7.2-.4.4-.8.5-1.2.2-.5.5-1.1.8-1.6.2-.4.4-.7.7-1.1.6-.9 1.2-1.7 1.8-2.5.4-.4.8-.9 1.2-1.3.3-.3.6-.6 1-.9.4-.4.9-.8 1.3-1.1.4-.3.7-.6 1.1-.8.1-.1.3-.2.4-.3L498.7 239c8-5.3 18.5-5.3 26.5 0l254.1 169.1c.1.1.3.2.4.3l1.1.8 1.4 1.1c.3.3.6.6 1 .9.4.4.8.8 1.2 1.3.7.8 1.3 1.6 1.8 2.5.2.4.5.7.7 1.1.3.5.6 1 .8 1.6.2.4.4.8.5 1.2.2.6.4 1.2.6 1.7.1.4.3.8.4 1.2.2.7.3 1.3.4 2 .1.3.1.7.2 1 .1 1 .2 2.1.2 3.1V597zm-47.8-44.6v-79.8l-59.8 39.9zm-460.4-79.8v79.8l59.8-39.9zm206.3-57.9V303.4L300.9 428l83.6 55.8z" /></svg>'},Bt={name:"cluster",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M888 680h-54V540H546v-92h238c8.8 0 16-7.2 16-16V168c0-8.8-7.2-16-16-16H240c-8.8 0-16 7.2-16 16v264c0 8.8 7.2 16 16 16h238v92H190v140h-54c-4.4 0-8 3.6-8 8v176c0 4.4 3.6 8 8 8h176c4.4 0 8-3.6 8-8V688c0-4.4-3.6-8-8-8h-54v-72h220v72h-54c-4.4 0-8 3.6-8 8v176c0 4.4 3.6 8 8 8h176c4.4 0 8-3.6 8-8V688c0-4.4-3.6-8-8-8h-54v-72h220v72h-54c-4.4 0-8 3.6-8 8v176c0 4.4 3.6 8 8 8h176c4.4 0 8-3.6 8-8V688c0-4.4-3.6-8-8-8zM256 805.3c0 1.5-1.2 2.7-2.7 2.7h-58.7c-1.5 0-2.7-1.2-2.7-2.7v-58.7c0-1.5 1.2-2.7 2.7-2.7h58.7c1.5 0 2.7 1.2 2.7 2.7v58.7zm288 0c0 1.5-1.2 2.7-2.7 2.7h-58.7c-1.5 0-2.7-1.2-2.7-2.7v-58.7c0-1.5 1.2-2.7 2.7-2.7h58.7c1.5 0 2.7 1.2 2.7 2.7v58.7zM288 384V216h448v168H288zm544 421.3c0 1.5-1.2 2.7-2.7 2.7h-58.7c-1.5 0-2.7-1.2-2.7-2.7v-58.7c0-1.5 1.2-2.7 2.7-2.7h58.7c1.5 0 2.7 1.2 2.7 2.7v58.7zM360 300a40 40 0 1080 0 40 40 0 10-80 0z" /></svg>'},Yt={name:"column-height",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M840 836H184c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h656c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm0-724H184c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h656c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zM610.8 378c6 0 9.4-7 5.7-11.7L515.7 238.7a7.14 7.14 0 00-11.3 0L403.6 366.3a7.23 7.23 0 005.7 11.7H476v268h-62.8c-6 0-9.4 7-5.7 11.7l100.8 127.5c2.9 3.7 8.5 3.7 11.3 0l100.8-127.5c3.7-4.7.4-11.7-5.7-11.7H548V378h62.8z" /></svg>'},Ut={name:"code-sandbox",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M709.6 210l.4-.2h.2L512 96 313.9 209.8h-.2l.7.3L151.5 304v416L512 928l360.5-208V304l-162.9-94zM482.7 843.6L339.6 761V621.4L210 547.8V372.9l272.7 157.3v313.4zM238.2 321.5l134.7-77.8 138.9 79.7 139.1-79.9 135.2 78-273.9 158-274-158zM814 548.3l-128.8 73.1v139.1l-143.9 83V530.4L814 373.1v175.2z" /></svg>'},Wt={name:"code",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM513.1 518.1l-192 161c-5.2 4.4-13.1.7-13.1-6.1v-62.7c0-2.3 1.1-4.6 2.9-6.1L420.7 512l-109.8-92.2a7.63 7.63 0 01-2.9-6.1V351c0-6.8 7.9-10.5 13.1-6.1l192 160.9c3.9 3.2 3.9 9.1 0 12.3zM716 673c0 4.4-3.4 8-7.5 8h-185c-4.1 0-7.5-3.6-7.5-8v-48c0-4.4 3.4-8 7.5-8h185c4.1 0 7.5 3.6 7.5 8v48z" /></svg>'},qt={name:"comment",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><defs><style /></defs><path d="M573 421c-23.1 0-41 17.9-41 40s17.9 40 41 40c21.1 0 39-17.9 39-40s-17.9-40-39-40zm-280 0c-23.1 0-41 17.9-41 40s17.9 40 41 40c21.1 0 39-17.9 39-40s-17.9-40-39-40z" /><path d="M894 345a343.92 343.92 0 00-189-130v.1c-17.1-19-36.4-36.5-58-52.1-163.7-119-393.5-82.7-513 81-96.3 133-92.2 311.9 6 439l.8 132.6c0 3.2.5 6.4 1.5 9.4a31.95 31.95 0 0040.1 20.9L309 806c33.5 11.9 68.1 18.7 102.5 20.6l-.5.4c89.1 64.9 205.9 84.4 313 49l127.1 41.4c3.2 1 6.5 1.6 9.9 1.6 17.7 0 32-14.3 32-32V753c88.1-119.6 90.4-284.9 1-408zM323 735l-12-5-99 31-1-104-8-9c-84.6-103.2-90.2-251.9-11-361 96.4-132.2 281.2-161.4 413-66 132.2 96.1 161.5 280.6 66 412-80.1 109.9-223.5 150.5-348 102zm505-17l-8 10 1 104-98-33-12 5c-56 20.8-115.7 22.5-171 7l-.2-.1A367.31 367.31 0 00729 676c76.4-105.3 88.8-237.6 44.4-350.4l.6.4c23 16.5 44.1 37.1 62 62 72.6 99.6 68.5 235.2-8 330z" /><path d="M433 421c-23.1 0-41 17.9-41 40s17.9 40 41 40c21.1 0 39-17.9 39-40s-17.9-40-39-40z" /></svg>'},$t={name:"compass",theme:"twotone",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zM327.6 701.7c-2 .9-4.4 0-5.3-2.1-.4-1-.4-2.2 0-3.2L421 470.9 553.1 603l-225.5 98.7zm375.1-375.1L604 552.1 471.9 420l225.5-98.7c2-.9 4.4 0 5.3 2.1.4 1 .4 2.1 0 3.2z" fill="#E6E6E6" /><path d="M322.3 696.4c-.4 1-.4 2.2 0 3.2.9 2.1 3.3 3 5.3 2.1L553.1 603 421 470.9l-98.7 225.5zm375.1-375.1L471.9 420 604 552.1l98.7-225.5c.4-1.1.4-2.2 0-3.2-.9-2.1-3.3-3-5.3-2.1z" fill="#333" /><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" fill="#333" /></svg>'},Gt={name:"contacts",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M928 224H768v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56H548v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56H328v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56H96c-17.7 0-32 14.3-32 32v576c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V256c0-17.7-14.3-32-32-32zM661 736h-43.9c-4.2 0-7.6-3.3-7.9-7.5-3.8-50.6-46-90.5-97.2-90.5s-93.4 40-97.2 90.5c-.3 4.2-3.7 7.5-7.9 7.5H363a8 8 0 01-8-8.4c2.8-53.3 32-99.7 74.6-126.1a111.8 111.8 0 01-29.1-75.5c0-61.9 49.9-112 111.4-112 61.5 0 111.4 50.1 111.4 112 0 29.1-11 55.5-29.1 75.5 42.7 26.5 71.8 72.8 74.6 126.1.4 4.6-3.2 8.4-7.8 8.4zM512 474c-28.5 0-51.7 23.3-51.7 52s23.2 52 51.7 52c28.5 0 51.7-23.3 51.7-52s-23.2-52-51.7-52z" /></svg>'},Xt={name:"console-sql",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><defs><style /></defs><path d="M301.3 496.7c-23.8 0-40.2-10.5-41.6-26.9H205c.9 43.4 36.9 70.3 93.9 70.3 59.1 0 95-28.4 95-75.5 0-35.8-20-55.9-64.5-64.5l-29.1-5.6c-23.8-4.7-33.8-11.9-33.8-24.2 0-15 13.3-24.5 33.4-24.5 20.1 0 35.3 11.1 36.6 27h53c-.9-41.7-37.5-70.3-90.3-70.3-54.4 0-89.7 28.9-89.7 73 0 35.5 21.2 58 62.5 65.8l29.7 5.9c25.8 5.2 35.6 11.9 35.6 24.4.1 14.7-14.5 25.1-36 25.1z" /><path d="M928 140H96c-17.7 0-32 14.3-32 32v496c0 17.7 14.3 32 32 32h380v112H304c-8.8 0-16 7.2-16 16v48c0 4.4 3.6 8 8 8h432c4.4 0 8-3.6 8-8v-48c0-8.8-7.2-16-16-16H548V700h380c17.7 0 32-14.3 32-32V172c0-17.7-14.3-32-32-32zm-40 488H136V212h752v416z" /><path d="M828.5 486.7h-95.8V308.5h-57.4V534h153.2zm-298.6 53.4c14.1 0 27.2-2 39.1-5.8l13.3 20.3h53.3L607.9 511c21.1-20 33-51.1 33-89.8 0-73.3-43.3-118.8-110.9-118.8s-111.2 45.3-111.2 118.8c-.1 73.7 43 118.9 111.1 118.9zm0-190c31.6 0 52.7 27.7 52.7 71.1 0 16.7-3.6 30.6-10 40.5l-5.2-6.9h-48.8L542 491c-3.9.9-8 1.4-12.2 1.4-31.7 0-52.8-27.5-52.8-71.2.1-43.6 21.2-71.1 52.9-71.1z" /></svg>'},Kt={name:"codepen-circle",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M488.1 414.7V303.4L300.9 428l83.6 55.8zm254.1 137.7v-79.8l-59.8 39.9zM512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm278 533c0 1.1-.1 2.1-.2 3.1 0 .4-.1.7-.2 1a14.16 14.16 0 01-.8 3.2c-.2.6-.4 1.2-.6 1.7-.2.4-.4.8-.5 1.2-.3.5-.5 1.1-.8 1.6-.2.4-.4.7-.7 1.1-.3.5-.7 1-1 1.5-.3.4-.5.7-.8 1-.4.4-.8.9-1.2 1.3-.3.3-.6.6-1 .9-.4.4-.9.8-1.4 1.1-.4.3-.7.6-1.1.8-.1.1-.3.2-.4.3L525.2 786c-4 2.7-8.6 4-13.2 4-4.7 0-9.3-1.4-13.3-4L244.6 616.9c-.1-.1-.3-.2-.4-.3l-1.1-.8c-.5-.4-.9-.7-1.3-1.1-.3-.3-.6-.6-1-.9-.4-.4-.8-.8-1.2-1.3a7 7 0 01-.8-1c-.4-.5-.7-1-1-1.5-.2-.4-.5-.7-.7-1.1-.3-.5-.6-1.1-.8-1.6-.2-.4-.4-.8-.5-1.2-.2-.6-.4-1.2-.6-1.7-.1-.4-.3-.8-.4-1.2-.2-.7-.3-1.3-.4-2-.1-.3-.1-.7-.2-1-.1-1-.2-2.1-.2-3.1V427.9c0-1 .1-2.1.2-3.1.1-.3.1-.7.2-1a14.16 14.16 0 01.8-3.2c.2-.6.4-1.2.6-1.7.2-.4.4-.8.5-1.2.2-.5.5-1.1.8-1.6.2-.4.4-.7.7-1.1.6-.9 1.2-1.7 1.8-2.5.4-.4.8-.9 1.2-1.3.3-.3.6-.6 1-.9.4-.4.9-.8 1.3-1.1.4-.3.7-.6 1.1-.8.1-.1.3-.2.4-.3L498.7 239c8-5.3 18.5-5.3 26.5 0l254.1 169.1c.1.1.3.2.4.3l1.1.8 1.4 1.1c.3.3.6.6 1 .9.4.4.8.8 1.2 1.3.7.8 1.3 1.6 1.8 2.5.2.4.5.7.7 1.1.3.5.6 1 .8 1.6.2.4.4.8.5 1.2.2.6.4 1.2.6 1.7.1.4.3.8.4 1.2.2.7.3 1.3.4 2 .1.3.1.7.2 1 .1 1 .2 2.1.2 3.1V597zm-254.1 13.3v111.3L723.1 597l-83.6-55.8zM281.8 472.6v79.8l59.8-39.9zM512 456.1l-84.5 56.4 84.5 56.4 84.5-56.4zM723.1 428L535.9 303.4v111.3l103.6 69.1zM384.5 541.2L300.9 597l187.2 124.6V610.3l-103.6-69.1z" /></svg>'},Jt={name:"compass",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372zm198.4-588.1a32 32 0 00-24.5.5L414.9 415 296.4 686c-3.6 8.2-3.6 17.5 0 25.7 3.4 7.8 9.7 13.9 17.7 17 3.8 1.5 7.7 2.2 11.7 2.2 4.4 0 8.7-.9 12.8-2.7l271-118.6 118.5-271a32.06 32.06 0 00-17.7-42.7zM576.8 534.4l26.2 26.2-42.4 42.4-26.2-26.2L380 644.4 447.5 490 422 464.4l42.4-42.4 25.5 25.5L644.4 380l-67.6 154.4zM464.4 422L422 464.4l25.5 25.6 86.9 86.8 26.2 26.2 42.4-42.4-26.2-26.2-86.8-86.9z" /></svg>'},Qt={name:"column-width",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M180 176h-60c-4.4 0-8 3.6-8 8v656c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V184c0-4.4-3.6-8-8-8zm724 0h-60c-4.4 0-8 3.6-8 8v656c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V184c0-4.4-3.6-8-8-8zM785.3 504.3L657.7 403.6a7.23 7.23 0 00-11.7 5.7V476H378v-62.8c0-6-7-9.4-11.7-5.7L238.7 508.3a7.14 7.14 0 000 11.3l127.5 100.8c4.7 3.7 11.7.4 11.7-5.7V548h268v62.8c0 6 7 9.4 11.7 5.7l127.5-100.8c3.8-2.9 3.8-8.5.2-11.4z" /></svg>'},Zt={name:"chrome",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M928 512.3v-.3c0-229.8-186.2-416-416-416S96 282.2 96 512v.4c0 229.8 186.2 416 416 416s416-186.2 416-416v-.3.2zm-6.7-74.6l.6 3.3-.6-3.3zM676.7 638.2c53.5-82.2 52.5-189.4-11.1-263.7l162.4-8.4c20.5 44.4 32 93.8 32 145.9 0 185.2-144.6 336.6-327.1 347.4l143.8-221.2zM512 652.3c-77.5 0-140.2-62.7-140.2-140.2 0-77.7 62.7-140.2 140.2-140.2S652.2 434.5 652.2 512 589.5 652.3 512 652.3zm369.2-331.7l-3-5.7 3 5.7zM512 164c121.3 0 228.2 62.1 290.4 156.2l-263.6-13.9c-97.5-5.7-190.2 49.2-222.3 141.1L227.8 311c63.1-88.9 166.9-147 284.2-147zM102.5 585.8c26 145 127.1 264 261.6 315.1C229.6 850 128.5 731 102.5 585.8zM164 512c0-55.9 13.2-108.7 36.6-155.5l119.7 235.4c44.1 86.7 137.4 139.7 234 121.6l-74 145.1C302.9 842.5 164 693.5 164 512zm324.7 415.4c4 .2 8 .4 12 .5-4-.2-8-.3-12-.5z" /></svg>'},en={name:"compress",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><defs><style /></defs><path d="M326 664H104c-8.8 0-16 7.2-16 16v48c0 8.8 7.2 16 16 16h174v176c0 8.8 7.2 16 16 16h48c8.8 0 16-7.2 16-16V696c0-17.7-14.3-32-32-32zm16-576h-48c-8.8 0-16 7.2-16 16v176H104c-8.8 0-16 7.2-16 16v48c0 8.8 7.2 16 16 16h222c17.7 0 32-14.3 32-32V104c0-8.8-7.2-16-16-16zm578 576H698c-17.7 0-32 14.3-32 32v224c0 8.8 7.2 16 16 16h48c8.8 0 16-7.2 16-16V744h174c8.8 0 16-7.2 16-16v-48c0-8.8-7.2-16-16-16zm0-384H746V104c0-8.8-7.2-16-16-16h-48c-8.8 0-16 7.2-16 16v224c0 17.7 14.3 32 32 32h222c8.8 0 16-7.2 16-16v-48c0-8.8-7.2-16-16-16z" /></svg>'},tn={name:"codepen",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M911.7 385.3l-.3-1.5c-.2-1-.3-1.9-.6-2.9-.2-.6-.4-1.1-.5-1.7-.3-.8-.5-1.7-.9-2.5-.2-.6-.5-1.1-.8-1.7-.4-.8-.8-1.5-1.2-2.3-.3-.5-.6-1.1-1-1.6-.8-1.2-1.7-2.4-2.6-3.6-.5-.6-1.1-1.3-1.7-1.9-.4-.5-.9-.9-1.4-1.3-.6-.6-1.3-1.1-1.9-1.6-.5-.4-1-.8-1.6-1.2-.2-.1-.4-.3-.6-.4L531.1 117.8a34.3 34.3 0 00-38.1 0L127.3 361.3c-.2.1-.4.3-.6.4-.5.4-1 .8-1.6 1.2-.7.5-1.3 1.1-1.9 1.6-.5.4-.9.9-1.4 1.3-.6.6-1.2 1.2-1.7 1.9-1 1.1-1.8 2.3-2.6 3.6-.3.5-.7 1-1 1.6-.4.7-.8 1.5-1.2 2.3-.3.5-.5 1.1-.8 1.7-.3.8-.6 1.7-.9 2.5-.2.6-.4 1.1-.5 1.7-.2.9-.4 1.9-.6 2.9l-.3 1.5c-.2 1.5-.3 3-.3 4.5v243.5c0 1.5.1 3 .3 4.5l.3 1.5.6 2.9c.2.6.3 1.1.5 1.7.3.9.6 1.7.9 2.5.2.6.5 1.1.8 1.7.4.8.7 1.5 1.2 2.3.3.5.6 1.1 1 1.6.5.7.9 1.4 1.5 2.1l1.2 1.5c.5.6 1.1 1.3 1.7 1.9.4.5.9.9 1.4 1.3.6.6 1.3 1.1 1.9 1.6.5.4 1 .8 1.6 1.2.2.1.4.3.6.4L493 905.7c5.6 3.8 12.3 5.8 19.1 5.8 6.6 0 13.3-1.9 19.1-5.8l365.6-243.5c.2-.1.4-.3.6-.4.5-.4 1-.8 1.6-1.2.7-.5 1.3-1.1 1.9-1.6.5-.4.9-.9 1.4-1.3.6-.6 1.2-1.2 1.7-1.9l1.2-1.5 1.5-2.1c.3-.5.7-1 1-1.6.4-.8.8-1.5 1.2-2.3.3-.5.5-1.1.8-1.7.3-.8.6-1.7.9-2.5.2-.5.4-1.1.5-1.7.3-.9.4-1.9.6-2.9l.3-1.5c.2-1.5.3-3 .3-4.5V389.8c-.3-1.5-.4-3-.6-4.5zM546.4 210.5l269.4 179.4-120.3 80.4-149-99.6V210.5zm-68.8 0v160.2l-149 99.6-120.3-80.4 269.3-179.4zM180.7 454.1l86 57.5-86 57.5v-115zm296.9 358.5L208.3 633.2l120.3-80.4 149 99.6v160.2zM512 592.8l-121.6-81.2L512 430.3l121.6 81.2L512 592.8zm34.4 219.8V652.4l149-99.6 120.3 80.4-269.3 179.4zM843.3 569l-86-57.5 86-57.5v115z" /></svg>'},nn={name:"codepen-circle",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M488.1 414.7V303.4L300.9 428l83.6 55.8zm254.1 137.7v-79.8l-59.8 39.9zM512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm278 533c0 1.1-.1 2.1-.2 3.1 0 .4-.1.7-.2 1a14.16 14.16 0 01-.8 3.2c-.2.6-.4 1.2-.6 1.7-.2.4-.4.8-.5 1.2-.3.5-.5 1.1-.8 1.6-.2.4-.4.7-.7 1.1-.3.5-.7 1-1 1.5-.3.4-.5.7-.8 1-.4.4-.8.9-1.2 1.3-.3.3-.6.6-1 .9-.4.4-.9.8-1.4 1.1-.4.3-.7.6-1.1.8-.1.1-.3.2-.4.3L525.2 786c-4 2.7-8.6 4-13.2 4-4.7 0-9.3-1.4-13.3-4L244.6 616.9c-.1-.1-.3-.2-.4-.3l-1.1-.8c-.5-.4-.9-.7-1.3-1.1-.3-.3-.6-.6-1-.9-.4-.4-.8-.8-1.2-1.3a7 7 0 01-.8-1c-.4-.5-.7-1-1-1.5-.2-.4-.5-.7-.7-1.1-.3-.5-.6-1.1-.8-1.6-.2-.4-.4-.8-.5-1.2-.2-.6-.4-1.2-.6-1.7-.1-.4-.3-.8-.4-1.2-.2-.7-.3-1.3-.4-2-.1-.3-.1-.7-.2-1-.1-1-.2-2.1-.2-3.1V427.9c0-1 .1-2.1.2-3.1.1-.3.1-.7.2-1a14.16 14.16 0 01.8-3.2c.2-.6.4-1.2.6-1.7.2-.4.4-.8.5-1.2.2-.5.5-1.1.8-1.6.2-.4.4-.7.7-1.1.6-.9 1.2-1.7 1.8-2.5.4-.4.8-.9 1.2-1.3.3-.3.6-.6 1-.9.4-.4.9-.8 1.3-1.1.4-.3.7-.6 1.1-.8.1-.1.3-.2.4-.3L498.7 239c8-5.3 18.5-5.3 26.5 0l254.1 169.1c.1.1.3.2.4.3l1.1.8 1.4 1.1c.3.3.6.6 1 .9.4.4.8.8 1.2 1.3.7.8 1.3 1.6 1.8 2.5.2.4.5.7.7 1.1.3.5.6 1 .8 1.6.2.4.4.8.5 1.2.2.6.4 1.2.6 1.7.1.4.3.8.4 1.2.2.7.3 1.3.4 2 .1.3.1.7.2 1 .1 1 .2 2.1.2 3.1V597zm-254.1 13.3v111.3L723.1 597l-83.6-55.8zM281.8 472.6v79.8l59.8-39.9zM512 456.1l-84.5 56.4 84.5 56.4 84.5-56.4zM723.1 428L535.9 303.4v111.3l103.6 69.1zM384.5 541.2L300.9 597l187.2 124.6V610.3l-103.6-69.1z" /></svg>'},rn={name:"close-circle",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M685.4 354.8c0-4.4-3.6-8-8-8l-66 .3L512 465.6l-99.3-118.4-66.1-.3c-4.4 0-8 3.5-8 8 0 1.9.7 3.7 1.9 5.2l130.1 155L340.5 670a8.32 8.32 0 00-1.9 5.2c0 4.4 3.6 8 8 8l66.1-.3L512 564.4l99.3 118.4 66 .3c4.4 0 8-3.5 8-8 0-1.9-.7-3.7-1.9-5.2L553.5 515l130.1-155c1.2-1.4 1.8-3.3 1.8-5.2z" /><path d="M512 65C264.6 65 64 265.6 64 513s200.6 448 448 448 448-200.6 448-448S759.4 65 512 65zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" /></svg>'},sn={name:"container",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M832 64H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zm-40 824H232V687h97.9c11.6 32.8 32 62.3 59.1 84.7 34.5 28.5 78.2 44.3 123 44.3s88.5-15.7 123-44.3c27.1-22.4 47.5-51.9 59.1-84.7H792v-63H643.6l-5.2 24.7C626.4 708.5 573.2 752 512 752s-114.4-43.5-126.5-103.3l-5.2-24.7H232V136h560v752zM320 341h384c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H320c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8zm0 160h384c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H320c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z" /></svg>'},on={name:"container",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M832 64H192c-17.7 0-32 14.3-32 32v529c0-.6.4-1 1-1h219.3l5.2 24.7C397.6 708.5 450.8 752 512 752s114.4-43.5 126.4-103.3l5.2-24.7H863c.6 0 1 .4 1 1V96c0-17.7-14.3-32-32-32zM712 493c0 4.4-3.6 8-8 8H320c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h384c4.4 0 8 3.6 8 8v48zm0-160c0 4.4-3.6 8-8 8H320c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h384c4.4 0 8 3.6 8 8v48zm151 354H694.1c-11.6 32.8-32 62.3-59.1 84.7-34.5 28.6-78.2 44.3-123 44.3s-88.5-15.8-123-44.3a194.02 194.02 0 01-59.1-84.7H161c-.6 0-1-.4-1-1v242c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V686c0 .6-.4 1-1 1z" /></svg>'},an={name:"clock-circle",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm176.5 585.7l-28.6 39a7.99 7.99 0 01-11.2 1.7L483.3 569.8a7.92 7.92 0 01-3.3-6.5V288c0-4.4 3.6-8 8-8h48.1c4.4 0 8 3.6 8 8v247.5l142.6 103.1c3.6 2.5 4.4 7.5 1.8 11.1z" /></svg>'},cn={name:"control",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM404 683v77c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8v-77c-41.7-13.6-72-52.8-72-99s30.3-85.5 72-99V264c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v221c41.7 13.6 72 52.8 72 99s-30.3 85.5-72 99zm279.6-143.9c.2 0 .3-.1.4-.1v221c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V539c.2 0 .3.1.4.1-42-13.4-72.4-52.7-72.4-99.1 0-46.4 30.4-85.7 72.4-99.1-.2 0-.3.1-.4.1v-77c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v77c-.2 0-.3-.1-.4-.1 42 13.4 72.4 52.7 72.4 99.1 0 46.4-30.4 85.7-72.4 99.1zM616 440a36 36 0 1072 0 36 36 0 10-72 0zM403.4 566.5l-1.5-2.4c0-.1-.1-.1-.1-.2l-.9-1.2c-.1-.1-.2-.2-.2-.3-1-1.3-2-2.5-3.2-3.6l-.2-.2c-.4-.4-.8-.8-1.2-1.1-.8-.8-1.7-1.5-2.6-2.1h-.1l-1.2-.9c-.1-.1-.3-.2-.4-.3-1.2-.8-2.5-1.6-3.9-2.2-.2-.1-.5-.2-.7-.4-.4-.2-.7-.3-1.1-.5-.3-.1-.7-.3-1-.4-.5-.2-1-.4-1.5-.5-.4-.1-.9-.3-1.3-.4l-.9-.3-1.4-.3c-.2-.1-.5-.1-.7-.2-.7-.1-1.4-.3-2.1-.4-.2 0-.4 0-.6-.1-.6-.1-1.1-.1-1.7-.2-.2 0-.4 0-.7-.1-.8 0-1.5-.1-2.3-.1s-1.5 0-2.3.1c-.2 0-.4 0-.7.1-.6 0-1.2.1-1.7.2-.2 0-.4 0-.6.1-.7.1-1.4.2-2.1.4-.2.1-.5.1-.7.2l-1.4.3-.9.3c-.4.1-.9.3-1.3.4-.5.2-1 .4-1.5.5-.3.1-.7.3-1 .4-.4.2-.7.3-1.1.5-.2.1-.5.2-.7.4-1.3.7-2.6 1.4-3.9 2.2-.1.1-.3.2-.4.3l-1.2.9h-.1c-.9.7-1.8 1.4-2.6 2.1-.4.4-.8.7-1.2 1.1l-.2.2a54.8 54.8 0 00-3.2 3.6c-.1.1-.2.2-.2.3l-.9 1.2c0 .1-.1.1-.1.2l-1.5 2.4c-.1.2-.2.3-.3.5-2.7 5.1-4.3 10.9-4.3 17s1.6 12 4.3 17c.1.2.2.3.3.5l1.5 2.4c0 .1.1.1.1.2l.9 1.2c.1.1.2.2.2.3 1 1.3 2 2.5 3.2 3.6l.2.2c.4.4.8.8 1.2 1.1.8.8 1.7 1.5 2.6 2.1h.1l1.2.9c.1.1.3.2.4.3 1.2.8 2.5 1.6 3.9 2.2.2.1.5.2.7.4.4.2.7.3 1.1.5.3.1.7.3 1 .4.5.2 1 .4 1.5.5.4.1.9.3 1.3.4l.9.3 1.4.3c.2.1.5.1.7.2.7.1 1.4.3 2.1.4.2 0 .4 0 .6.1.6.1 1.1.1 1.7.2.2 0 .4 0 .7.1.8 0 1.5.1 2.3.1s1.5 0 2.3-.1c.2 0 .4 0 .7-.1.6 0 1.2-.1 1.7-.2.2 0 .4 0 .6-.1.7-.1 1.4-.2 2.1-.4.2-.1.5-.1.7-.2l1.4-.3.9-.3c.4-.1.9-.3 1.3-.4.5-.2 1-.4 1.5-.5.3-.1.7-.3 1-.4.4-.2.7-.3 1.1-.5.2-.1.5-.2.7-.4 1.3-.7 2.6-1.4 3.9-2.2.1-.1.3-.2.4-.3l1.2-.9h.1c.9-.7 1.8-1.4 2.6-2.1.4-.4.8-.7 1.2-1.1l.2-.2c1.1-1.1 2.2-2.4 3.2-3.6.1-.1.2-.2.2-.3l.9-1.2c0-.1.1-.1.1-.2l1.5-2.4c.1-.2.2-.3.3-.5 2.7-5.1 4.3-10.9 4.3-17s-1.6-12-4.3-17c-.1-.2-.2-.4-.3-.5z" /></svg>'},ln={name:"copyright-circle",theme:"twotone",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" fill="#333" /><path d="M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm5.5 533c52.9 0 88.8-31.7 93-77.8.4-4.1 3.8-7.3 8-7.3h56.8c2.6 0 4.7 2.1 4.7 4.7 0 82.6-68.7 141.4-162.7 141.4C407.4 734 344 660.8 344 539.1v-52.3C344 364.2 407.4 290 517.3 290c94.3 0 162.7 60.7 162.7 147.4 0 2.6-2.1 4.7-4.7 4.7h-56.7c-4.2 0-7.7-3.2-8-7.4-4-49.6-40-83.4-93-83.4-65.2 0-102.1 48.5-102.2 135.5v52.6c0 85.7 36.8 133.6 102.1 133.6z" fill="#E6E6E6" /><path d="M517.6 351.3c53 0 89 33.8 93 83.4.3 4.2 3.8 7.4 8 7.4h56.7c2.6 0 4.7-2.1 4.7-4.7 0-86.7-68.4-147.4-162.7-147.4C407.4 290 344 364.2 344 486.8v52.3C344 660.8 407.4 734 517.3 734c94 0 162.7-58.8 162.7-141.4 0-2.6-2.1-4.7-4.7-4.7h-56.8c-4.2 0-7.6 3.2-8 7.3-4.2 46.1-40.1 77.8-93 77.8-65.3 0-102.1-47.9-102.1-133.6v-52.6c.1-87 37-135.5 102.2-135.5z" fill="#333" /></svg>'},un={name:"copy",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z" /></svg>'},hn={name:"chrome",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M371.8 512c0 77.5 62.7 140.2 140.2 140.2S652.2 589.5 652.2 512 589.5 371.8 512 371.8 371.8 434.4 371.8 512zM900 362.4l-234.3 12.1c63.6 74.3 64.6 181.5 11.1 263.7l-188 289.2c78 4.2 158.4-12.9 231.2-55.2 180-104 253-322.1 180-509.8zM320.3 591.9L163.8 284.1A415.35 415.35 0 0096 512c0 208 152.3 380.3 351.4 410.8l106.9-209.4c-96.6 18.2-189.9-34.8-234-121.5zm218.5-285.5l344.4 18.1C848 254.7 792.6 194 719.8 151.7 653.9 113.6 581.5 95.5 510.5 96c-122.5.5-242.2 55.2-322.1 154.5l128.2 196.9c32-91.9 124.8-146.7 222.2-141z" /></svg>'},dn={name:"control",theme:"twotone",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z" fill="#333" /><path d="M616 440a36 36 0 1072 0 36 36 0 10-72 0zM340.4 601.5l1.5 2.4c0 .1.1.1.1.2l.9 1.2c.1.1.2.2.2.3 1 1.3 2 2.5 3.2 3.6l.2.2c.4.4.8.8 1.2 1.1.8.8 1.7 1.5 2.6 2.1h.1l1.2.9c.1.1.3.2.4.3 1.2.8 2.5 1.6 3.9 2.2.2.1.5.2.7.4.4.2.7.3 1.1.5.3.1.7.3 1 .4.5.2 1 .4 1.5.5.4.1.9.3 1.3.4l.9.3 1.4.3c.2.1.5.1.7.2.7.1 1.4.3 2.1.4.2 0 .4 0 .6.1.6.1 1.1.1 1.7.2.2 0 .4 0 .7.1.8 0 1.5.1 2.3.1s1.5 0 2.3-.1c.2 0 .4 0 .7-.1.6 0 1.2-.1 1.7-.2.2 0 .4 0 .6-.1.7-.1 1.4-.2 2.1-.4.2-.1.5-.1.7-.2l1.4-.3.9-.3c.4-.1.9-.3 1.3-.4.5-.2 1-.4 1.5-.5.3-.1.7-.3 1-.4.4-.2.7-.3 1.1-.5.2-.1.5-.2.7-.4 1.3-.7 2.6-1.4 3.9-2.2.1-.1.3-.2.4-.3l1.2-.9h.1c.9-.7 1.8-1.4 2.6-2.1.4-.4.8-.7 1.2-1.1l.2-.2c1.1-1.1 2.2-2.4 3.2-3.6.1-.1.2-.2.2-.3l.9-1.2c0-.1.1-.1.1-.2l1.5-2.4c.1-.2.2-.3.3-.5 2.7-5.1 4.3-10.9 4.3-17s-1.6-12-4.3-17c-.1-.2-.2-.4-.3-.5l-1.5-2.4c0-.1-.1-.1-.1-.2l-.9-1.2c-.1-.1-.2-.2-.2-.3-1-1.3-2-2.5-3.2-3.6l-.2-.2c-.4-.4-.8-.8-1.2-1.1-.8-.8-1.7-1.5-2.6-2.1h-.1l-1.2-.9c-.1-.1-.3-.2-.4-.3-1.2-.8-2.5-1.6-3.9-2.2-.2-.1-.5-.2-.7-.4-.4-.2-.7-.3-1.1-.5-.3-.1-.7-.3-1-.4-.5-.2-1-.4-1.5-.5-.4-.1-.9-.3-1.3-.4l-.9-.3-1.4-.3c-.2-.1-.5-.1-.7-.2-.7-.1-1.4-.3-2.1-.4-.2 0-.4 0-.6-.1-.6-.1-1.1-.1-1.7-.2-.2 0-.4 0-.7-.1-.8 0-1.5-.1-2.3-.1s-1.5 0-2.3.1c-.2 0-.4 0-.7.1-.6 0-1.2.1-1.7.2-.2 0-.4 0-.6.1-.7.1-1.4.2-2.1.4-.2.1-.5.1-.7.2l-1.4.3-.9.3c-.4.1-.9.3-1.3.4-.5.2-1 .4-1.5.5-.3.1-.7.3-1 .4-.4.2-.7.3-1.1.5-.2.1-.5.2-.7.4-1.3.7-2.6 1.4-3.9 2.2-.1.1-.3.2-.4.3l-1.2.9h-.1c-.9.7-1.8 1.4-2.6 2.1-.4.4-.8.7-1.2 1.1l-.2.2a54.8 54.8 0 00-3.2 3.6c-.1.1-.2.2-.2.3l-.9 1.2c0 .1-.1.1-.1.2l-1.5 2.4c-.1.2-.2.3-.3.5-2.7 5.1-4.3 10.9-4.3 17s1.6 12 4.3 17c.1.2.2.3.3.5z" fill="#E6E6E6" /><path d="M184 840h656V184H184v656zm436.4-499.1c-.2 0-.3.1-.4.1v-77c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v77c-.2 0-.3-.1-.4-.1 42 13.4 72.4 52.7 72.4 99.1 0 46.4-30.4 85.7-72.4 99.1.2 0 .3-.1.4-.1v221c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V539c.2 0 .3.1.4.1-42-13.4-72.4-52.7-72.4-99.1 0-46.4 30.4-85.7 72.4-99.1zM340 485V264c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v221c41.7 13.6 72 52.8 72 99s-30.3 85.5-72 99v77c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8v-77c-41.7-13.6-72-52.8-72-99s30.3-85.5 72-99z" fill="#E6E6E6" /><path d="M340 683v77c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-77c41.7-13.5 72-52.8 72-99s-30.3-85.4-72-99V264c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v221c-41.7 13.5-72 52.8-72 99s30.3 85.4 72 99zm.1-116c.1-.2.2-.3.3-.5l1.5-2.4c0-.1.1-.1.1-.2l.9-1.2c0-.1.1-.2.2-.3 1-1.2 2.1-2.5 3.2-3.6l.2-.2c.4-.4.8-.7 1.2-1.1.8-.7 1.7-1.4 2.6-2.1h.1l1.2-.9c.1-.1.3-.2.4-.3 1.3-.8 2.6-1.5 3.9-2.2.2-.2.5-.3.7-.4.4-.2.7-.3 1.1-.5.3-.1.7-.3 1-.4.5-.1 1-.3 1.5-.5.4-.1.9-.3 1.3-.4l.9-.3 1.4-.3c.2-.1.5-.1.7-.2.7-.2 1.4-.3 2.1-.4.2-.1.4-.1.6-.1.5-.1 1.1-.2 1.7-.2.3-.1.5-.1.7-.1.8-.1 1.5-.1 2.3-.1s1.5.1 2.3.1c.3.1.5.1.7.1.6.1 1.1.1 1.7.2.2.1.4.1.6.1.7.1 1.4.3 2.1.4.2.1.5.1.7.2l1.4.3.9.3c.4.1.9.3 1.3.4.5.1 1 .3 1.5.5.3.1.7.3 1 .4.4.2.7.3 1.1.5.2.2.5.3.7.4 1.4.6 2.7 1.4 3.9 2.2.1.1.3.2.4.3l1.2.9h.1c.9.6 1.8 1.3 2.6 2.1.4.3.8.7 1.2 1.1l.2.2c1.2 1.1 2.2 2.3 3.2 3.6 0 .1.1.2.2.3l.9 1.2c0 .1.1.1.1.2l1.5 2.4A36.03 36.03 0 01408 584c0 6.1-1.6 11.9-4.3 17-.1.2-.2.3-.3.5l-1.5 2.4c0 .1-.1.1-.1.2l-.9 1.2c0 .1-.1.2-.2.3-1 1.2-2.1 2.5-3.2 3.6l-.2.2c-.4.4-.8.7-1.2 1.1-.8.7-1.7 1.4-2.6 2.1h-.1l-1.2.9c-.1.1-.3.2-.4.3-1.3.8-2.6 1.5-3.9 2.2-.2.2-.5.3-.7.4-.4.2-.7.3-1.1.5-.3.1-.7.3-1 .4-.5.1-1 .3-1.5.5-.4.1-.9.3-1.3.4l-.9.3-1.4.3c-.2.1-.5.1-.7.2-.7.2-1.4.3-2.1.4-.2.1-.4.1-.6.1-.5.1-1.1.2-1.7.2-.3.1-.5.1-.7.1-.8.1-1.5.1-2.3.1s-1.5-.1-2.3-.1c-.3-.1-.5-.1-.7-.1-.6-.1-1.1-.1-1.7-.2-.2-.1-.4-.1-.6-.1-.7-.1-1.4-.3-2.1-.4-.2-.1-.5-.1-.7-.2l-1.4-.3-.9-.3c-.4-.1-.9-.3-1.3-.4-.5-.1-1-.3-1.5-.5-.3-.1-.7-.3-1-.4-.4-.2-.7-.3-1.1-.5-.2-.2-.5-.3-.7-.4-1.4-.6-2.7-1.4-3.9-2.2-.1-.1-.3-.2-.4-.3l-1.2-.9h-.1c-.9-.6-1.8-1.3-2.6-2.1-.4-.3-.8-.7-1.2-1.1l-.2-.2c-1.2-1.1-2.2-2.3-3.2-3.6 0-.1-.1-.2-.2-.3l-.9-1.2c0-.1-.1-.1-.1-.2l-1.5-2.4c-.1-.2-.2-.3-.3-.5-2.7-5-4.3-10.9-4.3-17s1.6-11.9 4.3-17zm280.3-27.9c-.1 0-.2-.1-.4-.1v221c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V539c-.1 0-.2.1-.4.1 42-13.4 72.4-52.7 72.4-99.1 0-46.4-30.4-85.7-72.4-99.1.1 0 .2.1.4.1v-77c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v77c.1 0 .2-.1.4-.1-42 13.4-72.4 52.7-72.4 99.1 0 46.4 30.4 85.7 72.4 99.1zM652 404c19.9 0 36 16.1 36 36s-16.1 36-36 36-36-16.1-36-36 16.1-36 36-36z" fill="#333" /></svg>'},fn={name:"copy",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM382 896h-.2L232 746.2v-.2h150v150z" /></svg>'},pn={name:"copyright",theme:"twotone",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" fill="#333" /><path d="M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm5.5 533c52.9 0 88.8-31.7 93-77.8.4-4.1 3.8-7.3 8-7.3h56.8c2.6 0 4.7 2.1 4.7 4.7 0 82.6-68.7 141.4-162.7 141.4C407.4 734 344 660.8 344 539.1v-52.3C344 364.2 407.4 290 517.3 290c94.3 0 162.7 60.7 162.7 147.4 0 2.6-2.1 4.7-4.7 4.7h-56.7c-4.2 0-7.7-3.2-8-7.4-4-49.6-40-83.4-93-83.4-65.2 0-102.1 48.5-102.2 135.5v52.6c0 85.7 36.8 133.6 102.1 133.6z" fill="#E6E6E6" /><path d="M517.6 351.3c53 0 89 33.8 93 83.4.3 4.2 3.8 7.4 8 7.4h56.7c2.6 0 4.7-2.1 4.7-4.7 0-86.7-68.4-147.4-162.7-147.4C407.4 290 344 364.2 344 486.8v52.3C344 660.8 407.4 734 517.3 734c94 0 162.7-58.8 162.7-141.4 0-2.6-2.1-4.7-4.7-4.7h-56.8c-4.2 0-7.6 3.2-8 7.3-4.2 46.1-40.1 77.8-93 77.8-65.3 0-102.1-47.9-102.1-133.6v-52.6c.1-87 37-135.5 102.2-135.5z" fill="#333" /></svg>'},mn={name:"copyright-circle",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm5.4 670c-110 0-173.4-73.2-173.4-194.9v-52.3C344 364.2 407.4 290 517.3 290c94.3 0 162.7 60.7 162.7 147.4 0 2.6-2.1 4.7-4.7 4.7h-56.7c-4.2 0-7.6-3.2-8-7.4-4-49.5-40-83.4-93-83.4-65.3 0-102.1 48.5-102.1 135.5v52.6c0 85.7 36.9 133.6 102.1 133.6 52.8 0 88.7-31.7 93-77.8.4-4.1 3.8-7.3 8-7.3h56.8c2.6 0 4.7 2.1 4.7 4.7 0 82.6-68.7 141.4-162.7 141.4z" /></svg>'},gn={name:"credit-card",theme:"twotone",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M136 792h752V440H136v352zm507-144c0-4.4 3.6-8 8-8h165c4.4 0 8 3.6 8 8v72c0 4.4-3.6 8-8 8H651c-4.4 0-8-3.6-8-8v-72zM136 232h752v120H136z" fill="#E6E6E6" /><path d="M651 728h165c4.4 0 8-3.6 8-8v-72c0-4.4-3.6-8-8-8H651c-4.4 0-8 3.6-8 8v72c0 4.4 3.6 8 8 8z" fill="#333" /><path d="M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 632H136V440h752v352zm0-440H136V232h752v120z" fill="#333" /></svg>'},vn={name:"credit-card",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-792 72h752v120H136V232zm752 560H136V440h752v352zm-237-64h165c4.4 0 8-3.6 8-8v-72c0-4.4-3.6-8-8-8H651c-4.4 0-8 3.6-8 8v72c0 4.4 3.6 8 8 8z" /></svg>'},yn={name:"crown",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M899.6 276.5L705 396.4 518.4 147.5a8.06 8.06 0 00-12.9 0L319 396.4 124.3 276.5c-5.7-3.5-13.1 1.2-12.2 7.9L188.5 865c1.1 7.9 7.9 14 16 14h615.1c8 0 14.9-6 15.9-14l76.4-580.6c.8-6.7-6.5-11.4-12.3-7.9zM512 734.2c-62.1 0-112.6-50.5-112.6-112.6S449.9 509 512 509s112.6 50.5 112.6 112.6S574.1 734.2 512 734.2zm0-160.9c-26.6 0-48.2 21.6-48.2 48.3 0 26.6 21.6 48.3 48.2 48.3s48.2-21.6 48.2-48.3c0-26.6-21.6-48.3-48.2-48.3z" /></svg>'},bn={name:"crown",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M899.6 276.5L705 396.4 518.4 147.5a8.06 8.06 0 00-12.9 0L319 396.4 124.3 276.5c-5.7-3.5-13.1 1.2-12.2 7.9L188.5 865c1.1 7.9 7.9 14 16 14h615.1c8 0 14.9-6 15.9-14l76.4-580.6c.8-6.7-6.5-11.4-12.3-7.9zm-126 534.1H250.3l-53.8-409.4 139.8 86.1L512 252.9l175.7 234.4 139.8-86.1-53.9 409.4zM512 509c-62.1 0-112.6 50.5-112.6 112.6S449.9 734.2 512 734.2s112.6-50.5 112.6-112.6S574.1 509 512 509zm0 160.9c-26.6 0-48.2-21.6-48.2-48.3 0-26.6 21.6-48.3 48.2-48.3s48.2 21.6 48.2 48.3c0 26.6-21.6 48.3-48.2 48.3z" /></svg>'},_n={name:"customer-service",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 128c-212.1 0-384 171.9-384 384v360c0 13.3 10.7 24 24 24h184c35.3 0 64-28.7 64-64V624c0-35.3-28.7-64-64-64H200v-48c0-172.3 139.7-312 312-312s312 139.7 312 312v48H688c-35.3 0-64 28.7-64 64v208c0 35.3 28.7 64 64 64h184c13.3 0 24-10.7 24-24V512c0-212.1-171.9-384-384-384z" /></svg>'},wn={name:"container",theme:"twotone",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M635 771.7c-34.5 28.6-78.2 44.3-123 44.3s-88.5-15.8-123-44.3a194.02 194.02 0 01-59.1-84.7H232v201h560V687h-97.9c-11.6 32.8-32 62.3-59.1 84.7z" fill="#E6E6E6" /><path d="M320 501h384c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H320c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z" fill="#333" /><path d="M832 64H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zm-40 824H232V687h97.9c11.6 32.8 32 62.3 59.1 84.7 34.5 28.5 78.2 44.3 123 44.3s88.5-15.7 123-44.3c27.1-22.4 47.5-51.9 59.1-84.7H792v201zm0-264H643.6l-5.2 24.7C626.4 708.5 573.2 752 512 752s-114.4-43.5-126.5-103.3l-5.2-24.7H232V136h560v488z" fill="#333" /><path d="M320 341h384c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H320c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z" fill="#333" /></svg>'},Sn={name:"compass",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zM327.3 702.4c-2 .9-4.4 0-5.3-2.1-.4-1-.4-2.2 0-3.2l98.7-225.5 132.1 132.1-225.5 98.7zm375.1-375.1l-98.7 225.5-132.1-132.1L697.1 322c2-.9 4.4 0 5.3 2.1.4 1 .4 2.1 0 3.2z" /></svg>'},xn={name:"customer-service",theme:"twotone",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M696 632h128v192H696zm-496 0h128v192H200z" fill="#E6E6E6" /><path d="M512 128c-212.1 0-384 171.9-384 384v360c0 13.3 10.7 24 24 24h184c35.3 0 64-28.7 64-64V624c0-35.3-28.7-64-64-64H200v-48c0-172.3 139.7-312 312-312s312 139.7 312 312v48H688c-35.3 0-64 28.7-64 64v208c0 35.3 28.7 64 64 64h184c13.3 0 24-10.7 24-24V512c0-212.1-171.9-384-384-384zM328 632v192H200V632h128zm496 192H696V632h128v192z" fill="#333" /></svg>'},On={name:"dashboard",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M924.8 385.6a446.7 446.7 0 00-96-142.4 446.7 446.7 0 00-142.4-96C631.1 123.8 572.5 112 512 112s-119.1 11.8-174.4 35.2a446.7 446.7 0 00-142.4 96 446.7 446.7 0 00-96 142.4C75.8 440.9 64 499.5 64 560c0 132.7 58.3 257.7 159.9 343.1l1.7 1.4c5.8 4.8 13.1 7.5 20.6 7.5h531.7c7.5 0 14.8-2.7 20.6-7.5l1.7-1.4C901.7 817.7 960 692.7 960 560c0-60.5-11.9-119.1-35.2-174.4zM482 232c0-4.4 3.6-8 8-8h44c4.4 0 8 3.6 8 8v80c0 4.4-3.6 8-8 8h-44c-4.4 0-8-3.6-8-8v-80zM270 582c0 4.4-3.6 8-8 8h-80c-4.4 0-8-3.6-8-8v-44c0-4.4 3.6-8 8-8h80c4.4 0 8 3.6 8 8v44zm90.7-204.5l-31.1 31.1a8.03 8.03 0 01-11.3 0L261.7 352a8.03 8.03 0 010-11.3l31.1-31.1c3.1-3.1 8.2-3.1 11.3 0l56.6 56.6c3.1 3.1 3.1 8.2 0 11.3zm291.1 83.6l-84.5 84.5c5 18.7.2 39.4-14.5 54.1a55.95 55.95 0 01-79.2 0 55.95 55.95 0 010-79.2 55.87 55.87 0 0154.1-14.5l84.5-84.5c3.1-3.1 8.2-3.1 11.3 0l28.3 28.3c3.1 3.1 3.1 8.1 0 11.3zm43-52.4l-31.1-31.1a8.03 8.03 0 010-11.3l56.6-56.6c3.1-3.1 8.2-3.1 11.3 0l31.1 31.1c3.1 3.1 3.1 8.2 0 11.3l-56.6 56.6a8.03 8.03 0 01-11.3 0zM846 582c0 4.4-3.6 8-8 8h-80c-4.4 0-8-3.6-8-8v-44c0-4.4 3.6-8 8-8h80c4.4 0 8 3.6 8 8v44z" /></svg>'},kn={name:"dash",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M112 476h160v72H112zm320 0h160v72H432zm320 0h160v72H752z" /></svg>'},Cn={name:"dashboard",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M924.8 385.6a446.7 446.7 0 00-96-142.4 446.7 446.7 0 00-142.4-96C631.1 123.8 572.5 112 512 112s-119.1 11.8-174.4 35.2a446.7 446.7 0 00-142.4 96 446.7 446.7 0 00-96 142.4C75.8 440.9 64 499.5 64 560c0 132.7 58.3 257.7 159.9 343.1l1.7 1.4c5.8 4.8 13.1 7.5 20.6 7.5h531.7c7.5 0 14.8-2.7 20.6-7.5l1.7-1.4C901.7 817.7 960 692.7 960 560c0-60.5-11.9-119.1-35.2-174.4zM761.4 836H262.6A371.12 371.12 0 01140 560c0-99.4 38.7-192.8 109-263 70.3-70.3 163.7-109 263-109 99.4 0 192.8 38.7 263 109 70.3 70.3 109 163.7 109 263 0 105.6-44.5 205.5-122.6 276zM623.5 421.5a8.03 8.03 0 00-11.3 0L527.7 506c-18.7-5-39.4-.2-54.1 14.5a55.95 55.95 0 000 79.2 55.95 55.95 0 0079.2 0 55.87 55.87 0 0014.5-54.1l84.5-84.5c3.1-3.1 3.1-8.2 0-11.3l-28.3-28.3zM490 320h44c4.4 0 8-3.6 8-8v-80c0-4.4-3.6-8-8-8h-44c-4.4 0-8 3.6-8 8v80c0 4.4 3.6 8 8 8zm260 218v44c0 4.4 3.6 8 8 8h80c4.4 0 8-3.6 8-8v-44c0-4.4-3.6-8-8-8h-80c-4.4 0-8 3.6-8 8zm12.7-197.2l-31.1-31.1a8.03 8.03 0 00-11.3 0l-56.6 56.6a8.03 8.03 0 000 11.3l31.1 31.1c3.1 3.1 8.2 3.1 11.3 0l56.6-56.6c3.1-3.1 3.1-8.2 0-11.3zm-458.6-31.1a8.03 8.03 0 00-11.3 0l-31.1 31.1a8.03 8.03 0 000 11.3l56.6 56.6c3.1 3.1 8.2 3.1 11.3 0l31.1-31.1c3.1-3.1 3.1-8.2 0-11.3l-56.6-56.6zM262 530h-80c-4.4 0-8 3.6-8 8v44c0 4.4 3.6 8 8 8h80c4.4 0 8-3.6 8-8v-44c0-4.4-3.6-8-8-8z" /></svg>'},Mn={name:"database",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M832 64H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zm-600 72h560v208H232V136zm560 480H232V408h560v208zm0 272H232V680h560v208zM304 240a40 40 0 1080 0 40 40 0 10-80 0zm0 272a40 40 0 1080 0 40 40 0 10-80 0zm0 272a40 40 0 1080 0 40 40 0 10-80 0z" /></svg>'},En={name:"dashboard",theme:"twotone",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 188c-99.3 0-192.7 38.7-263 109-70.3 70.2-109 163.6-109 263 0 105.6 44.5 205.5 122.6 276h498.8A371.12 371.12 0 00884 560c0-99.3-38.7-192.7-109-263-70.2-70.3-163.6-109-263-109zm-30 44c0-4.4 3.6-8 8-8h44c4.4 0 8 3.6 8 8v80c0 4.4-3.6 8-8 8h-44c-4.4 0-8-3.6-8-8v-80zM270 582c0 4.4-3.6 8-8 8h-80c-4.4 0-8-3.6-8-8v-44c0-4.4 3.6-8 8-8h80c4.4 0 8 3.6 8 8v44zm90.7-204.4l-31.1 31.1a8.03 8.03 0 01-11.3 0l-56.6-56.6a8.03 8.03 0 010-11.3l31.1-31.1c3.1-3.1 8.2-3.1 11.3 0l56.6 56.6c3.1 3.1 3.1 8.2 0 11.3zm291.1 83.5l-84.5 84.5c5 18.7.2 39.4-14.5 54.1a55.95 55.95 0 01-79.2 0 55.95 55.95 0 010-79.2 55.87 55.87 0 0154.1-14.5l84.5-84.5c3.1-3.1 8.2-3.1 11.3 0l28.3 28.3c3.1 3.1 3.1 8.2 0 11.3zm43-52.4l-31.1-31.1a8.03 8.03 0 010-11.3l56.6-56.6c3.1-3.1 8.2-3.1 11.3 0l31.1 31.1c3.1 3.1 3.1 8.2 0 11.3l-56.6 56.6a8.03 8.03 0 01-11.3 0zM846 538v44c0 4.4-3.6 8-8 8h-80c-4.4 0-8-3.6-8-8v-44c0-4.4 3.6-8 8-8h80c4.4 0 8 3.6 8 8z" fill="#E6E6E6" /><path d="M623.5 421.5a8.03 8.03 0 00-11.3 0L527.7 506c-18.7-5-39.4-.2-54.1 14.5a55.95 55.95 0 000 79.2 55.95 55.95 0 0079.2 0 55.87 55.87 0 0014.5-54.1l84.5-84.5c3.1-3.1 3.1-8.2 0-11.3l-28.3-28.3zM490 320h44c4.4 0 8-3.6 8-8v-80c0-4.4-3.6-8-8-8h-44c-4.4 0-8 3.6-8 8v80c0 4.4 3.6 8 8 8z" fill="#333" /><path d="M924.8 385.6a446.7 446.7 0 00-96-142.4 446.7 446.7 0 00-142.4-96C631.1 123.8 572.5 112 512 112s-119.1 11.8-174.4 35.2a446.7 446.7 0 00-142.4 96 446.7 446.7 0 00-96 142.4C75.8 440.9 64 499.5 64 560c0 132.7 58.3 257.7 159.9 343.1l1.7 1.4c5.8 4.8 13.1 7.5 20.6 7.5h531.7c7.5 0 14.8-2.7 20.6-7.5l1.7-1.4C901.7 817.7 960 692.7 960 560c0-60.5-11.9-119.1-35.2-174.4zM761.4 836H262.6A371.12 371.12 0 01140 560c0-99.4 38.7-192.8 109-263 70.3-70.3 163.7-109 263-109 99.4 0 192.8 38.7 263 109 70.3 70.3 109 163.7 109 263 0 105.6-44.5 205.5-122.6 276z" fill="#333" /><path d="M762.7 340.8l-31.1-31.1a8.03 8.03 0 00-11.3 0l-56.6 56.6a8.03 8.03 0 000 11.3l31.1 31.1c3.1 3.1 8.2 3.1 11.3 0l56.6-56.6c3.1-3.1 3.1-8.2 0-11.3zM750 538v44c0 4.4 3.6 8 8 8h80c4.4 0 8-3.6 8-8v-44c0-4.4-3.6-8-8-8h-80c-4.4 0-8 3.6-8 8zM304.1 309.7a8.03 8.03 0 00-11.3 0l-31.1 31.1a8.03 8.03 0 000 11.3l56.6 56.6c3.1 3.1 8.2 3.1 11.3 0l31.1-31.1c3.1-3.1 3.1-8.2 0-11.3l-56.6-56.6zM262 530h-80c-4.4 0-8 3.6-8 8v44c0 4.4 3.6 8 8 8h80c4.4 0 8-3.6 8-8v-44c0-4.4-3.6-8-8-8z" fill="#333" /></svg>'},Tn={name:"contacts",theme:"twotone",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M460.3 526a51.7 52 0 10103.4 0 51.7 52 0 10-103.4 0z" fill="#E6E6E6" /><path d="M768 352c0 4.4-3.6 8-8 8h-56c-4.4 0-8-3.6-8-8v-56H548v56c0 4.4-3.6 8-8 8h-56c-4.4 0-8-3.6-8-8v-56H328v56c0 4.4-3.6 8-8 8h-56c-4.4 0-8-3.6-8-8v-56H136v496h752V296H768v56zM661 736h-43.8c-4.2 0-7.6-3.3-7.9-7.5-3.8-50.5-46-90.5-97.2-90.5s-93.4 39.9-97.2 90.5c-.3 4.2-3.7 7.5-7.9 7.5h-43.9a8 8 0 01-8-8.4c2.8-53.3 31.9-99.6 74.6-126.1-18.1-20-29.1-46.4-29.1-75.5 0-61.9 49.9-112 111.4-112s111.4 50.1 111.4 112c0 29.1-11 55.6-29.1 75.5 42.7 26.4 71.9 72.8 74.7 126.1a8 8 0 01-8 8.4z" fill="#E6E6E6" /><path d="M594.3 601.5a111.8 111.8 0 0029.1-75.5c0-61.9-49.9-112-111.4-112s-111.4 50.1-111.4 112c0 29.1 11 55.5 29.1 75.5a158.09 158.09 0 00-74.6 126.1 8 8 0 008 8.4H407c4.2 0 7.6-3.3 7.9-7.5 3.8-50.6 46-90.5 97.2-90.5s93.4 40 97.2 90.5c.3 4.2 3.7 7.5 7.9 7.5H661a8 8 0 008-8.4c-2.8-53.3-32-99.7-74.7-126.1zM512 578c-28.5 0-51.7-23.3-51.7-52s23.2-52 51.7-52 51.7 23.3 51.7 52-23.2 52-51.7 52z" fill="#333" /><path d="M928 224H768v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56H548v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56H328v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56H96c-17.7 0-32 14.3-32 32v576c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V256c0-17.7-14.3-32-32-32zm-40 568H136V296h120v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56h148v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56h148v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56h120v496z" fill="#333" /></svg>'},jn={name:"copy",theme:"twotone",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M232 706h142c22.1 0 40 17.9 40 40v142h250V264H232v442z" fill="#E6E6E6" /><path d="M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32z" fill="#333" /><path d="M704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z" fill="#333" /></svg>'},Dn={name:"copyright-circle",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372zm5.6-532.7c53 0 89 33.8 93 83.4.3 4.2 3.8 7.4 8 7.4h56.7c2.6 0 4.7-2.1 4.7-4.7 0-86.7-68.4-147.4-162.7-147.4C407.4 290 344 364.2 344 486.8v52.3C344 660.8 407.4 734 517.3 734c94 0 162.7-58.8 162.7-141.4 0-2.6-2.1-4.7-4.7-4.7h-56.8c-4.2 0-7.6 3.2-8 7.3-4.2 46.1-40.1 77.8-93 77.8-65.3 0-102.1-47.9-102.1-133.6v-52.6c.1-87 37-135.5 102.2-135.5z" /></svg>'},An={name:"delete-column",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><defs><style /></defs><path d="M651.1 641.9a7.84 7.84 0 00-5.1-1.9h-54.7c-2.4 0-4.6 1.1-6.1 2.9L512 730.7l-73.1-87.8a8.1 8.1 0 00-6.1-2.9H378c-1.9 0-3.7.7-5.1 1.9a7.97 7.97 0 00-1 11.3L474.2 776 371.8 898.9a8.06 8.06 0 006.1 13.2h54.7c2.4 0 4.6-1.1 6.1-2.9l73.1-87.8 73.1 87.8a8.1 8.1 0 006.1 2.9h55c1.9 0 3.7-.7 5.1-1.9 3.4-2.8 3.9-7.9 1-11.3L549.8 776l102.4-122.9c2.8-3.4 2.3-8.4-1.1-11.2zM472 544h80c4.4 0 8-3.6 8-8V120c0-4.4-3.6-8-8-8h-80c-4.4 0-8 3.6-8 8v416c0 4.4 3.6 8 8 8zM350 386H184V136c0-3.3-2.7-6-6-6h-60c-3.3 0-6 2.7-6 6v292c0 16.6 13.4 30 30 30h208c3.3 0 6-2.7 6-6v-60c0-3.3-2.7-6-6-6zm556-256h-60c-3.3 0-6 2.7-6 6v250H674c-3.3 0-6 2.7-6 6v60c0 3.3 2.7 6 6 6h208c16.6 0 30-13.4 30-30V136c0-3.3-2.7-6-6-6z" /></svg>'},Ln={name:"delete-row",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><defs><style /></defs><path d="M819.8 512l102.4-122.9a8.06 8.06 0 00-6.1-13.2h-54.7c-2.4 0-4.6 1.1-6.1 2.9L782 466.7l-73.1-87.8a8.1 8.1 0 00-6.1-2.9H648c-1.9 0-3.7.7-5.1 1.9a7.97 7.97 0 00-1 11.3L744.2 512 641.8 634.9a8.06 8.06 0 006.1 13.2h54.7c2.4 0 4.6-1.1 6.1-2.9l73.1-87.8 73.1 87.8a8.1 8.1 0 006.1 2.9h55c1.9 0 3.7-.7 5.1-1.9 3.4-2.8 3.9-7.9 1-11.3L819.8 512zM536 464H120c-4.4 0-8 3.6-8 8v80c0 4.4 3.6 8 8 8h416c4.4 0 8-3.6 8-8v-80c0-4.4-3.6-8-8-8zm-84 204h-60c-3.3 0-6 2.7-6 6v166H136c-3.3 0-6 2.7-6 6v60c0 3.3 2.7 6 6 6h292c16.6 0 30-13.4 30-30V674c0-3.3-2.7-6-6-6zM136 184h250v166c0 3.3 2.7 6 6 6h60c3.3 0 6-2.7 6-6V142c0-16.6-13.4-30-30-30H136c-3.3 0-6 2.7-6 6v60c0 3.3 2.7 6 6 6z" /></svg>'},zn={name:"database",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M832 64H192c-17.7 0-32 14.3-32 32v224h704V96c0-17.7-14.3-32-32-32zM288 232c-22.1 0-40-17.9-40-40s17.9-40 40-40 40 17.9 40 40-17.9 40-40 40zM160 928c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V704H160v224zm128-136c22.1 0 40 17.9 40 40s-17.9 40-40 40-40-17.9-40-40 17.9-40 40-40zM160 640h704V384H160v256zm128-168c22.1 0 40 17.9 40 40s-17.9 40-40 40-40-17.9-40-40 17.9-40 40-40z" /></svg>'},Pn={name:"delete",theme:"twotone",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M292.7 840h438.6l24.2-512h-487z" fill="#E6E6E6" /><path d="M864 256H736v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zm-504-72h304v72H360v-72zm371.3 656H292.7l-24.2-512h487l-24.2 512z" fill="#333" /></svg>'},In={name:"delete",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M864 256H736v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zm-200 0H360v-72h304v72z" /></svg>'},Rn={name:"deployment-unit",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M888.3 693.2c-42.5-24.6-94.3-18-129.2 12.8l-53-30.7V523.6c0-15.7-8.4-30.3-22-38.1l-136-78.3v-67.1c44.2-15 76-56.8 76-106.1 0-61.9-50.1-112-112-112s-112 50.1-112 112c0 49.3 31.8 91.1 76 106.1v67.1l-136 78.3c-13.6 7.8-22 22.4-22 38.1v151.6l-53 30.7c-34.9-30.8-86.8-37.4-129.2-12.8-53.5 31-71.7 99.4-41 152.9 30.8 53.5 98.9 71.9 152.2 41 42.5-24.6 62.7-73 53.6-118.8l48.7-28.3 140.6 81c6.8 3.9 14.4 5.9 22 5.9s15.2-2 22-5.9L674.5 740l48.7 28.3c-9.1 45.7 11.2 94.2 53.6 118.8 53.3 30.9 121.5 12.6 152.2-41 30.8-53.6 12.6-122-40.7-152.9zm-673 138.4a47.6 47.6 0 01-65.2-17.6c-13.2-22.9-5.4-52.3 17.5-65.5a47.6 47.6 0 0165.2 17.6c13.2 22.9 5.4 52.3-17.5 65.5zM522 463.8zM464 234a48.01 48.01 0 0196 0 48.01 48.01 0 01-96 0zm170 446.2l-122 70.3-122-70.3V539.8l122-70.3 122 70.3v140.4zm239.9 133.9c-13.2 22.9-42.4 30.8-65.2 17.6-22.8-13.2-30.7-42.6-17.5-65.5s42.4-30.8 65.2-17.6c22.9 13.2 30.7 42.5 17.5 65.5z" /></svg>'},Nn={name:"desktop",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M928 140H96c-17.7 0-32 14.3-32 32v496c0 17.7 14.3 32 32 32h380v112H304c-8.8 0-16 7.2-16 16v48c0 4.4 3.6 8 8 8h432c4.4 0 8-3.6 8-8v-48c0-8.8-7.2-16-16-16H548V700h380c17.7 0 32-14.3 32-32V172c0-17.7-14.3-32-32-32zm-40 488H136V212h752v416z" /></svg>'},Hn={name:"dingtalk-circle",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm227 385.3c-1 4.2-3.5 10.4-7 17.8h.1l-.4.7c-20.3 43.1-73.1 127.7-73.1 127.7s-.1-.2-.3-.5l-15.5 26.8h74.5L575.1 810l32.3-128h-58.6l20.4-84.7c-16.5 3.9-35.9 9.4-59 16.8 0 0-31.2 18.2-89.9-35 0 0-39.6-34.7-16.6-43.4 9.8-3.7 47.4-8.4 77-12.3 40-5.4 64.6-8.2 64.6-8.2S422 517 392.7 512.5c-29.3-4.6-66.4-53.1-74.3-95.8 0 0-12.2-23.4 26.3-12.3 38.5 11.1 197.9 43.2 197.9 43.2s-207.4-63.3-221.2-78.7c-13.8-15.4-40.6-84.2-37.1-126.5 0 0 1.5-10.5 12.4-7.7 0 0 153.3 69.7 258.1 107.9 104.8 37.9 195.9 57.3 184.2 106.7z" /></svg>'},Fn={name:"database",theme:"twotone",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M232 616h560V408H232v208zm112-144c22.1 0 40 17.9 40 40s-17.9 40-40 40-40-17.9-40-40 17.9-40 40-40zM232 888h560V680H232v208zm112-144c22.1 0 40 17.9 40 40s-17.9 40-40 40-40-17.9-40-40 17.9-40 40-40zM232 344h560V136H232v208zm112-144c22.1 0 40 17.9 40 40s-17.9 40-40 40-40-17.9-40-40 17.9-40 40-40z" fill="#E6E6E6" /><path d="M304 512a40 40 0 1080 0 40 40 0 10-80 0zm0 272a40 40 0 1080 0 40 40 0 10-80 0zm0-544a40 40 0 1080 0 40 40 0 10-80 0z" fill="#333" /><path d="M832 64H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zm-40 824H232V680h560v208zm0-272H232V408h560v208zm0-272H232V136h560v208z" fill="#333" /></svg>'},Vn={name:"contacts",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M594.3 601.5a111.8 111.8 0 0029.1-75.5c0-61.9-49.9-112-111.4-112s-111.4 50.1-111.4 112c0 29.1 11 55.5 29.1 75.5a158.09 158.09 0 00-74.6 126.1 8 8 0 008 8.4H407c4.2 0 7.6-3.3 7.9-7.5 3.8-50.6 46-90.5 97.2-90.5s93.4 40 97.2 90.5c.3 4.2 3.7 7.5 7.9 7.5H661a8 8 0 008-8.4c-2.8-53.3-32-99.7-74.7-126.1zM512 578c-28.5 0-51.7-23.3-51.7-52s23.2-52 51.7-52 51.7 23.3 51.7 52-23.2 52-51.7 52zm416-354H768v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56H548v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56H328v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56H96c-17.7 0-32 14.3-32 32v576c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V256c0-17.7-14.3-32-32-32zm-40 568H136V296h120v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56h148v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56h148v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56h120v496z" /></svg>'},Bn={name:"diff",theme:"twotone",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M232 264v624h432V413.8L514.2 264H232zm336 489c0 3.8-3.4 7-7.5 7h-225c-4.1 0-7.5-3.2-7.5-7v-42c0-3.8 3.4-7 7.5-7h225c4.1 0 7.5 3.2 7.5 7v42zm0-262v42c0 3.8-3.4 7-7.5 7H476v84.9c0 3.9-3.1 7.1-7 7.1h-42c-3.8 0-7-3.2-7-7.1V540h-84.5c-4.1 0-7.5-3.2-7.5-7v-42c0-3.9 3.4-7 7.5-7H420v-84.9c0-3.9 3.2-7.1 7-7.1h42c3.9 0 7 3.2 7 7.1V484h84.5c4.1 0 7.5 3.1 7.5 7z" fill="#E6E6E6" /><path d="M854.2 306.6L611.3 72.9c-6-5.7-13.9-8.9-22.2-8.9H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h277l219 210.6V824c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V329.6c0-8.7-3.5-17-9.8-23z" fill="#333" /><path d="M553.4 201.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v704c0 17.7 14.3 32 32 32h512c17.7 0 32-14.3 32-32V397.3c0-8.5-3.4-16.6-9.4-22.6L553.4 201.4zM664 888H232V264h282.2L664 413.8V888z" fill="#333" /><path d="M476 399.1c0-3.9-3.1-7.1-7-7.1h-42c-3.8 0-7 3.2-7 7.1V484h-84.5c-4.1 0-7.5 3.1-7.5 7v42c0 3.8 3.4 7 7.5 7H420v84.9c0 3.9 3.2 7.1 7 7.1h42c3.9 0 7-3.2 7-7.1V540h84.5c4.1 0 7.5-3.2 7.5-7v-42c0-3.9-3.4-7-7.5-7H476v-84.9zM560.5 704h-225c-4.1 0-7.5 3.2-7.5 7v42c0 3.8 3.4 7 7.5 7h225c4.1 0 7.5-3.2 7.5-7v-42c0-3.8-3.4-7-7.5-7z" fill="#333" /></svg>'},Yn={name:"dingtalk",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M573.7 252.5C422.5 197.4 201.3 96.7 201.3 96.7c-15.7-4.1-17.9 11.1-17.9 11.1-5 61.1 33.6 160.5 53.6 182.8 19.9 22.3 319.1 113.7 319.1 113.7S326 357.9 270.5 341.9c-55.6-16-37.9 17.8-37.9 17.8 11.4 61.7 64.9 131.8 107.2 138.4 42.2 6.6 220.1 4 220.1 4s-35.5 4.1-93.2 11.9c-42.7 5.8-97 12.5-111.1 17.8-33.1 12.5 24 62.6 24 62.6 84.7 76.8 129.7 50.5 129.7 50.5 33.3-10.7 61.4-18.5 85.2-24.2L565 743.1h84.6L603 928l205.3-271.9H700.8l22.3-38.7c.3.5.4.8.4.8S799.8 496.1 829 433.8l.6-1h-.1c5-10.8 8.6-19.7 10-25.8 17-71.3-114.5-99.4-265.8-154.5z" /></svg>'},Un={name:"dingding",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M573.7 252.5C422.5 197.4 201.3 96.7 201.3 96.7c-15.7-4.1-17.9 11.1-17.9 11.1-5 61.1 33.6 160.5 53.6 182.8 19.9 22.3 319.1 113.7 319.1 113.7S326 357.9 270.5 341.9c-55.6-16-37.9 17.8-37.9 17.8 11.4 61.7 64.9 131.8 107.2 138.4 42.2 6.6 220.1 4 220.1 4s-35.5 4.1-93.2 11.9c-42.7 5.8-97 12.5-111.1 17.8-33.1 12.5 24 62.6 24 62.6 84.7 76.8 129.7 50.5 129.7 50.5 33.3-10.7 61.4-18.5 85.2-24.2L565 743.1h84.6L603 928l205.3-271.9H700.8l22.3-38.7c.3.5.4.8.4.8S799.8 496.1 829 433.8l.6-1h-.1c5-10.8 8.6-19.7 10-25.8 17-71.3-114.5-99.4-265.8-154.5z" /></svg>'},Wn={name:"delivered-procedure",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><defs><style /></defs><path d="M632 698.3l141.9-112a8 8 0 000-12.6L632 461.7c-5.3-4.2-13-.4-13 6.3v76H295c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h324v76c0 6.7 7.8 10.4 13 6.3zm261.3-405L730.7 130.7c-7.5-7.5-16.7-13-26.7-16V112H144c-17.7 0-32 14.3-32 32v278c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V184h136v136c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V205.8l136 136V422c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-83.5c0-17-6.7-33.2-18.7-45.2zM640 288H384V184h256v104zm264 436h-56c-4.4 0-8 3.6-8 8v108H184V732c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v148c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V732c0-4.4-3.6-8-8-8z" /></svg>'},qn={name:"diff",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M476 399.1c0-3.9-3.1-7.1-7-7.1h-42c-3.8 0-7 3.2-7 7.1V484h-84.5c-4.1 0-7.5 3.1-7.5 7v42c0 3.8 3.4 7 7.5 7H420v84.9c0 3.9 3.2 7.1 7 7.1h42c3.9 0 7-3.2 7-7.1V540h84.5c4.1 0 7.5-3.2 7.5-7v-42c0-3.9-3.4-7-7.5-7H476v-84.9zM560.5 704h-225c-4.1 0-7.5 3.2-7.5 7v42c0 3.8 3.4 7 7.5 7h225c4.1 0 7.5-3.2 7.5-7v-42c0-3.8-3.4-7-7.5-7zm-7.1-502.6c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v704c0 17.7 14.3 32 32 32h512c17.7 0 32-14.3 32-32V397.3c0-8.5-3.4-16.6-9.4-22.6L553.4 201.4zM664 888H232V264h282.2L664 413.8V888zm190.2-581.4L611.3 72.9c-6-5.7-13.9-8.9-22.2-8.9H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h277l219 210.6V824c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V329.6c0-8.7-3.5-17-9.8-23z" /></svg>'},$n={name:"delete",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z" /></svg>'},Gn={name:"disconnect",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M832.6 191.4c-84.6-84.6-221.5-84.6-306 0l-96.9 96.9 51 51 96.9-96.9c53.8-53.8 144.6-59.5 204 0 59.5 59.5 53.8 150.2 0 204l-96.9 96.9 51.1 51.1 96.9-96.9c84.4-84.6 84.4-221.5-.1-306.1zM446.5 781.6c-53.8 53.8-144.6 59.5-204 0-59.5-59.5-53.8-150.2 0-204l96.9-96.9-51.1-51.1-96.9 96.9c-84.6 84.6-84.6 221.5 0 306s221.5 84.6 306 0l96.9-96.9-51-51-96.8 97zM260.3 209.4a8.03 8.03 0 00-11.3 0L209.4 249a8.03 8.03 0 000 11.3l554.4 554.4c3.1 3.1 8.2 3.1 11.3 0l39.6-39.6c3.1-3.1 3.1-8.2 0-11.3L260.3 209.4z" /></svg>'},Xn={name:"crown",theme:"twotone",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M911.9 283.9v.5L835.5 865c-1 8-7.9 14-15.9 14H204.5c-8.1 0-14.9-6.1-16-14l-76.4-580.6v-.6 1.6L188.5 866c1.1 7.9 7.9 14 16 14h615.1c8 0 14.9-6 15.9-14l76.4-580.6c.1-.5.1-1 0-1.5z" fill="#E6E6E6" /><path d="M773.6 810.6l53.9-409.4-139.8 86.1L512 252.9 336.3 487.3l-139.8-86.1 53.8 409.4h523.3zm-374.2-189c0-62.1 50.5-112.6 112.6-112.6s112.6 50.5 112.6 112.6v1c0 62.1-50.5 112.6-112.6 112.6s-112.6-50.5-112.6-112.6v-1z" fill="#E6E6E6" /><path d="M512 734.2c61.9 0 112.3-50.2 112.6-112.1v-.5c0-62.1-50.5-112.6-112.6-112.6s-112.6 50.5-112.6 112.6v.5c.3 61.9 50.7 112.1 112.6 112.1zm0-160.9c26.6 0 48.2 21.6 48.2 48.3 0 26.6-21.6 48.3-48.2 48.3s-48.2-21.6-48.2-48.3c0-26.6 21.6-48.3 48.2-48.3z" fill="#333" /><path d="M188.5 865c1.1 7.9 7.9 14 16 14h615.1c8 0 14.9-6 15.9-14l76.4-580.6v-.5c.3-6.4-6.7-10.8-12.3-7.4L705 396.4 518.4 147.5a8.06 8.06 0 00-12.9 0L319 396.4 124.3 276.5c-5.5-3.4-12.6.9-12.2 7.3v.6L188.5 865zm147.8-377.7L512 252.9l175.7 234.4 139.8-86.1-53.9 409.4H250.3l-53.8-409.4 139.8 86.1z" fill="#333" /></svg>'},Kn={name:"dollar-circle",theme:"twotone",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" fill="#333" /><path d="M426.6 410.3c0 25.4 15.7 45.1 49.5 57.3 4.7 1.9 9.4 3.4 15 5v-124c-37 4.7-64.5 25.4-64.5 61.7zm116.5 135.2c-2.9-.6-5.7-1.3-8.8-2.2V677c42.6-3.8 72-27.3 72-66.4 0-30.7-15.9-50.7-63.2-65.1z" fill="#E6E6E6" /><path d="M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm22.4 589.2l.2 31.7c0 4.5-3.6 8.1-8 8.1h-28.4c-4.4 0-8-3.6-8-8v-31.4c-89-6.5-130.7-57.1-135.2-112.1-.4-4.7 3.3-8.7 8-8.7h46.2c3.9 0 7.3 2.8 7.9 6.6 5.1 31.8 29.9 55.4 74.1 61.3V534l-24.7-6.3c-52.3-12.5-102.1-45.1-102.1-112.7 0-73 55.4-112.1 126.2-119v-33c0-4.4 3.6-8 8-8h28.1c4.4 0 8 3.6 8 8v32.7c68.5 6.9 119.8 46.9 125.9 109.2a8.1 8.1 0 01-8 8.8h-44.9c-4 0-7.4-2.9-7.9-6.9-4-29.2-27.5-53-65.5-58.2v134.3l25.4 5.9c64.8 16 108.9 47 109 116.4 0 75.2-56 117.1-134.3 124z" fill="#E6E6E6" /><path d="M559.7 488.8l-25.4-5.9V348.6c38 5.2 61.5 29 65.5 58.2.5 4 3.9 6.9 7.9 6.9h44.9c4.7 0 8.4-4.1 8-8.8-6.1-62.3-57.4-102.3-125.9-109.2V263c0-4.4-3.6-8-8-8h-28.1c-4.4 0-8 3.6-8 8v33c-70.8 6.9-126.2 46-126.2 119 0 67.6 49.8 100.2 102.1 112.7l24.7 6.3v142.7c-44.2-5.9-69-29.5-74.1-61.3-.6-3.8-4-6.6-7.9-6.6H363c-4.7 0-8.4 4-8 8.7 4.5 55 46.2 105.6 135.2 112.1V761c0 4.4 3.6 8 8 8h28.4c4.4 0 8-3.6 8-8.1l-.2-31.7c78.3-6.9 134.3-48.8 134.3-124-.1-69.4-44.2-100.4-109-116.4zm-68.6-16.2c-5.6-1.6-10.3-3.1-15-5-33.8-12.2-49.5-31.9-49.5-57.3 0-36.3 27.5-57 64.5-61.7v124zM534.3 677V543.3c3.1.9 5.9 1.6 8.8 2.2 47.3 14.4 63.2 34.4 63.2 65.1 0 39.1-29.4 62.6-72 66.4z" fill="#333" /></svg>'},Jn={name:"dislike",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M885.9 490.3c3.6-12 5.4-24.4 5.4-37 0-28.3-9.3-55.5-26.1-77.7 3.6-12 5.4-24.4 5.4-37 0-28.3-9.3-55.5-26.1-77.7 3.6-12 5.4-24.4 5.4-37 0-51.6-30.7-98.1-78.3-118.4a66.1 66.1 0 00-26.5-5.4H144c-17.7 0-32 14.3-32 32v364c0 17.7 14.3 32 32 32h129.3l85.8 310.8C372.9 889 418.9 924 470.9 924c29.7 0 57.4-11.8 77.9-33.4 20.5-21.5 31-49.7 29.5-79.4l-6-122.9h239.9c12.1 0 23.9-3.2 34.3-9.3 40.4-23.5 65.5-66.1 65.5-111 0-28.3-9.3-55.5-26.1-77.7zM184 456V172h81v284h-81zm627.2 160.4H496.8l9.6 198.4c.6 11.9-4.7 23.1-14.6 30.5-6.1 4.5-13.6 6.8-21.1 6.7a44.28 44.28 0 01-42.2-32.3L329 459.2V172h415.4a56.85 56.85 0 0133.6 51.8c0 9.7-2.3 18.9-6.9 27.3l-13.9 25.4 21.9 19a56.76 56.76 0 0119.6 43c0 9.7-2.3 18.9-6.9 27.3l-13.9 25.4 21.9 19a56.76 56.76 0 0119.6 43c0 9.7-2.3 18.9-6.9 27.3l-14 25.5 21.9 19a56.76 56.76 0 0119.6 43c0 19.1-11 37.5-28.8 48.4z" /></svg>'},Qn={name:"dollar-circle",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372zm47.7-395.2l-25.4-5.9V348.6c38 5.2 61.5 29 65.5 58.2.5 4 3.9 6.9 7.9 6.9h44.9c4.7 0 8.4-4.1 8-8.8-6.1-62.3-57.4-102.3-125.9-109.2V263c0-4.4-3.6-8-8-8h-28.1c-4.4 0-8 3.6-8 8v33c-70.8 6.9-126.2 46-126.2 119 0 67.6 49.8 100.2 102.1 112.7l24.7 6.3v142.7c-44.2-5.9-69-29.5-74.1-61.3-.6-3.8-4-6.6-7.9-6.6H363c-4.7 0-8.4 4-8 8.7 4.5 55 46.2 105.6 135.2 112.1V761c0 4.4 3.6 8 8 8h28.4c4.4 0 8-3.6 8-8.1l-.2-31.7c78.3-6.9 134.3-48.8 134.3-124-.1-69.4-44.2-100.4-109-116.4zm-68.6-16.2c-5.6-1.6-10.3-3.1-15-5-33.8-12.2-49.5-31.9-49.5-57.3 0-36.3 27.5-57 64.5-61.7v124zM534.3 677V543.3c3.1.9 5.9 1.6 8.8 2.2 47.3 14.4 63.2 34.4 63.2 65.1 0 39.1-29.4 62.6-72 66.4z" /></svg>'},Zn={name:"dislike",theme:"twotone",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M273 100.1v428h.3l-.3-428zM820.4 525l-21.9-19 14-25.5a56.2 56.2 0 006.9-27.3c0-16.5-7.1-32.2-19.6-43l-21.9-19 13.9-25.4a56.2 56.2 0 006.9-27.3c0-16.5-7.1-32.2-19.6-43l-21.9-19 13.9-25.4a56.2 56.2 0 006.9-27.3c0-22.4-13.2-42.6-33.6-51.8H345v345.2c18.6 67.2 46.4 168 83.5 302.5a44.28 44.28 0 0042.2 32.3c7.5.1 15-2.2 21.1-6.7 9.9-7.4 15.2-18.6 14.6-30.5l-9.6-198.4h314.4C829 605.5 840 587.1 840 568c0-16.5-7.1-32.2-19.6-43z" fill="#E6E6E6" /><path d="M112 132v364c0 17.7 14.3 32 32 32h65V100h-65c-17.7 0-32 14.3-32 32zm773.9 358.3c3.6-12 5.4-24.4 5.4-37 0-28.3-9.3-55.5-26.1-77.7 3.6-12 5.4-24.4 5.4-37 0-28.3-9.3-55.5-26.1-77.7 3.6-12 5.4-24.4 5.4-37 0-51.6-30.7-98.1-78.3-118.4a66.1 66.1 0 00-26.5-5.4H273l.3 428 85.8 310.8C372.9 889 418.9 924 470.9 924c29.7 0 57.4-11.8 77.9-33.4 20.5-21.5 31-49.7 29.5-79.4l-6-122.9h239.9c12.1 0 23.9-3.2 34.3-9.3 40.4-23.5 65.5-66.1 65.5-111 0-28.3-9.3-55.5-26.1-77.7zm-74.7 126.1H496.8l9.6 198.4c.6 11.9-4.7 23.1-14.6 30.5-6.1 4.5-13.6 6.8-21.1 6.7a44.28 44.28 0 01-42.2-32.3c-37.1-134.4-64.9-235.2-83.5-302.5V172h399.4a56.85 56.85 0 0133.6 51.8c0 9.7-2.3 18.9-6.9 27.3l-13.9 25.4 21.9 19a56.76 56.76 0 0119.6 43c0 9.7-2.3 18.9-6.9 27.3l-13.9 25.4 21.9 19a56.76 56.76 0 0119.6 43c0 9.7-2.3 18.9-6.9 27.3l-14 25.5 21.9 19a56.76 56.76 0 0119.6 43c0 19.1-11 37.5-28.8 48.4z" fill="#333" /></svg>'},er={name:"dollar-circle",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm22.3 665.2l.2 31.7c0 4.4-3.6 8.1-8 8.1h-28.4c-4.4 0-8-3.6-8-8v-31.4C401.3 723 359.5 672.4 355 617.4c-.4-4.7 3.3-8.7 8-8.7h46.2c3.9 0 7.3 2.8 7.9 6.6 5.1 31.7 29.8 55.4 74.1 61.3V533.9l-24.7-6.3c-52.3-12.5-102.1-45.1-102.1-112.7 0-72.9 55.4-112.1 126.2-119v-33c0-4.4 3.6-8 8-8h28.1c4.4 0 8 3.6 8 8v32.7c68.5 6.9 119.9 46.9 125.9 109.2.5 4.7-3.2 8.8-8 8.8h-44.9c-4 0-7.4-3-7.9-6.9-4-29.2-27.4-53-65.5-58.2v134.3l25.4 5.9c64.8 16 108.9 47 108.9 116.4 0 75.3-56 117.3-134.3 124.1zM426.6 410.3c0 25.4 15.7 45.1 49.5 57.3 4.7 1.9 9.4 3.4 15 5v-124c-36.9 4.7-64.5 25.4-64.5 61.7zm116.5 135.2c-2.8-.6-5.6-1.3-8.8-2.2V677c42.6-3.8 72-27.2 72-66.4 0-30.7-15.9-50.7-63.2-65.1z" /></svg>'},tr={name:"dingtalk-square",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM739 449.3c-1 4.2-3.5 10.4-7 17.8h.1l-.4.7c-20.3 43.1-73.1 127.7-73.1 127.7s-.1-.2-.3-.5l-15.5 26.8h74.5L575.1 810l32.3-128h-58.6l20.4-84.7c-16.5 3.9-35.9 9.4-59 16.8 0 0-31.2 18.2-89.9-35 0 0-39.6-34.7-16.6-43.4 9.8-3.7 47.4-8.4 77-12.3 40-5.4 64.6-8.2 64.6-8.2S422 517 392.7 512.5c-29.3-4.6-66.4-53.1-74.3-95.8 0 0-12.2-23.4 26.3-12.3 38.5 11.1 197.9 43.2 197.9 43.2s-207.4-63.3-221.2-78.7c-13.8-15.4-40.6-84.2-37.1-126.5 0 0 1.5-10.5 12.4-7.7 0 0 153.3 69.7 258.1 107.9 104.8 37.9 195.9 57.3 184.2 106.7z" /></svg>'},nr={name:"diff",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M854.2 306.6L611.3 72.9c-6-5.7-13.9-8.9-22.2-8.9H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h277l219 210.6V824c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V329.6c0-8.7-3.5-17-9.8-23zM553.4 201.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v704c0 17.7 14.3 32 32 32h512c17.7 0 32-14.3 32-32V397.3c0-8.5-3.4-16.6-9.4-22.6L553.4 201.4zM568 753c0 3.8-3.4 7-7.5 7h-225c-4.1 0-7.5-3.2-7.5-7v-42c0-3.8 3.4-7 7.5-7h225c4.1 0 7.5 3.2 7.5 7v42zm0-220c0 3.8-3.4 7-7.5 7H476v84.9c0 3.9-3.1 7.1-7 7.1h-42c-3.8 0-7-3.2-7-7.1V540h-84.5c-4.1 0-7.5-3.2-7.5-7v-42c0-3.9 3.4-7 7.5-7H420v-84.9c0-3.9 3.2-7.1 7-7.1h42c3.9 0 7 3.2 7 7.1V484h84.5c4.1 0 7.5 3.1 7.5 7v42z" /></svg>'},rr={name:"customer-service",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 128c-212.1 0-384 171.9-384 384v360c0 13.3 10.7 24 24 24h184c35.3 0 64-28.7 64-64V624c0-35.3-28.7-64-64-64H200v-48c0-172.3 139.7-312 312-312s312 139.7 312 312v48H688c-35.3 0-64 28.7-64 64v208c0 35.3 28.7 64 64 64h184c13.3 0 24-10.7 24-24V512c0-212.1-171.9-384-384-384zM328 632v192H200V632h128zm496 192H696V632h128v192z" /></svg>'},ir={name:"double-right",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z" /></svg>'},sr={name:"down-circle",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M690 405h-46.9c-10.2 0-19.9 4.9-25.9 13.2L512 563.6 406.8 418.2c-6-8.3-15.6-13.2-25.9-13.2H334c-6.5 0-10.3 7.4-6.5 12.7l178 246c3.2 4.4 9.7 4.4 12.9 0l178-246c3.9-5.3.1-12.7-6.4-12.7z" /><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" /></svg>'},or={name:"dot-chart",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M888 792H200V168c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h752c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM288 604a64 64 0 10128 0 64 64 0 10-128 0zm118-224a48 48 0 1096 0 48 48 0 10-96 0zm158 228a96 96 0 10192 0 96 96 0 10-192 0zm148-314a56 56 0 10112 0 56 56 0 10-112 0z" /></svg>'},ar={name:"down-circle",theme:"twotone",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm184.4 277.7l-178 246a7.95 7.95 0 01-12.9 0l-178-246c-3.8-5.3 0-12.7 6.5-12.7h46.9c10.3 0 19.9 4.9 25.9 13.2L512 563.6l105.2-145.4c6-8.3 15.7-13.2 25.9-13.2H690c6.5 0 10.3 7.4 6.4 12.7z" fill="#E6E6E6" /><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" fill="#333" /><path d="M690 405h-46.9c-10.2 0-19.9 4.9-25.9 13.2L512 563.6 406.8 418.2c-6-8.3-15.6-13.2-25.9-13.2H334c-6.5 0-10.3 7.4-6.5 12.7l178 246c3.2 4.4 9.7 4.4 12.9 0l178-246c3.9-5.3.1-12.7-6.4-12.7z" fill="#333" /></svg>'},cr={name:"dollar",theme:"twotone",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" fill="#333" /><path d="M426.6 410.3c0 25.4 15.7 45.1 49.5 57.3 4.7 1.9 9.4 3.4 15 5v-124c-37 4.7-64.5 25.4-64.5 61.7zm116.5 135.2c-2.9-.6-5.7-1.3-8.8-2.2V677c42.6-3.8 72-27.3 72-66.4 0-30.7-15.9-50.7-63.2-65.1z" fill="#E6E6E6" /><path d="M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm22.4 589.2l.2 31.7c0 4.5-3.6 8.1-8 8.1h-28.4c-4.4 0-8-3.6-8-8v-31.4c-89-6.5-130.7-57.1-135.2-112.1-.4-4.7 3.3-8.7 8-8.7h46.2c3.9 0 7.3 2.8 7.9 6.6 5.1 31.8 29.9 55.4 74.1 61.3V534l-24.7-6.3c-52.3-12.5-102.1-45.1-102.1-112.7 0-73 55.4-112.1 126.2-119v-33c0-4.4 3.6-8 8-8h28.1c4.4 0 8 3.6 8 8v32.7c68.5 6.9 119.8 46.9 125.9 109.2a8.1 8.1 0 01-8 8.8h-44.9c-4 0-7.4-2.9-7.9-6.9-4-29.2-27.5-53-65.5-58.2v134.3l25.4 5.9c64.8 16 108.9 47 109 116.4 0 75.2-56 117.1-134.3 124z" fill="#E6E6E6" /><path d="M559.7 488.8l-25.4-5.9V348.6c38 5.2 61.5 29 65.5 58.2.5 4 3.9 6.9 7.9 6.9h44.9c4.7 0 8.4-4.1 8-8.8-6.1-62.3-57.4-102.3-125.9-109.2V263c0-4.4-3.6-8-8-8h-28.1c-4.4 0-8 3.6-8 8v33c-70.8 6.9-126.2 46-126.2 119 0 67.6 49.8 100.2 102.1 112.7l24.7 6.3v142.7c-44.2-5.9-69-29.5-74.1-61.3-.6-3.8-4-6.6-7.9-6.6H363c-4.7 0-8.4 4-8 8.7 4.5 55 46.2 105.6 135.2 112.1V761c0 4.4 3.6 8 8 8h28.4c4.4 0 8-3.6 8-8.1l-.2-31.7c78.3-6.9 134.3-48.8 134.3-124-.1-69.4-44.2-100.4-109-116.4zm-68.6-16.2c-5.6-1.6-10.3-3.1-15-5-33.8-12.2-49.5-31.9-49.5-57.3 0-36.3 27.5-57 64.5-61.7v124zM534.3 677V543.3c3.1.9 5.9 1.6 8.8 2.2 47.3 14.4 63.2 34.4 63.2 65.1 0 39.1-29.4 62.6-72 66.4z" fill="#333" /></svg>'},lr={name:"download",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z" /></svg>'},ur={name:"drag",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M909.3 506.3L781.7 405.6a7.23 7.23 0 00-11.7 5.7V476H548V254h64.8c6 0 9.4-7 5.7-11.7L517.7 114.7a7.14 7.14 0 00-11.3 0L405.6 242.3a7.23 7.23 0 005.7 11.7H476v222H254v-64.8c0-6-7-9.4-11.7-5.7L114.7 506.3a7.14 7.14 0 000 11.3l127.5 100.8c4.7 3.7 11.7.4 11.7-5.7V548h222v222h-64.8c-6 0-9.4 7-5.7 11.7l100.8 127.5c2.9 3.7 8.5 3.7 11.3 0l100.8-127.5c3.7-4.7.4-11.7-5.7-11.7H548V548h222v64.8c0 6 7 9.4 11.7 5.7l127.5-100.8a7.3 7.3 0 00.1-11.4z" /></svg>'},hr={name:"copyright",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372zm5.6-532.7c53 0 89 33.8 93 83.4.3 4.2 3.8 7.4 8 7.4h56.7c2.6 0 4.7-2.1 4.7-4.7 0-86.7-68.4-147.4-162.7-147.4C407.4 290 344 364.2 344 486.8v52.3C344 660.8 407.4 734 517.3 734c94 0 162.7-58.8 162.7-141.4 0-2.6-2.1-4.7-4.7-4.7h-56.8c-4.2 0-7.6 3.2-8 7.3-4.2 46.1-40.1 77.8-93 77.8-65.3 0-102.1-47.9-102.1-133.6v-52.6c.1-87 37-135.5 102.2-135.5z" /></svg>'},dr={name:"down",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z" /></svg>'},fr={name:"dollar",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372zm47.7-395.2l-25.4-5.9V348.6c38 5.2 61.5 29 65.5 58.2.5 4 3.9 6.9 7.9 6.9h44.9c4.7 0 8.4-4.1 8-8.8-6.1-62.3-57.4-102.3-125.9-109.2V263c0-4.4-3.6-8-8-8h-28.1c-4.4 0-8 3.6-8 8v33c-70.8 6.9-126.2 46-126.2 119 0 67.6 49.8 100.2 102.1 112.7l24.7 6.3v142.7c-44.2-5.9-69-29.5-74.1-61.3-.6-3.8-4-6.6-7.9-6.6H363c-4.7 0-8.4 4-8 8.7 4.5 55 46.2 105.6 135.2 112.1V761c0 4.4 3.6 8 8 8h28.4c4.4 0 8-3.6 8-8.1l-.2-31.7c78.3-6.9 134.3-48.8 134.3-124-.1-69.4-44.2-100.4-109-116.4zm-68.6-16.2c-5.6-1.6-10.3-3.1-15-5-33.8-12.2-49.5-31.9-49.5-57.3 0-36.3 27.5-57 64.5-61.7v124zM534.3 677V543.3c3.1.9 5.9 1.6 8.8 2.2 47.3 14.4 63.2 34.4 63.2 65.1 0 39.1-29.4 62.6-72 66.4z" /></svg>'},pr={name:"down-square",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M505.5 658.7c3.2 4.4 9.7 4.4 12.9 0l178-246c3.8-5.3 0-12.7-6.5-12.7H643c-10.2 0-19.9 4.9-25.9 13.2L512 558.6 406.8 413.2c-6-8.3-15.6-13.2-25.9-13.2H334c-6.5 0-10.3 7.4-6.5 12.7l178 246z" /><path d="M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z" /></svg>'},mr={name:"down-square",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM696.5 412.7l-178 246a7.95 7.95 0 01-12.9 0l-178-246c-3.8-5.3 0-12.7 6.5-12.7H381c10.2 0 19.9 4.9 25.9 13.2L512 558.6l105.2-145.4c6-8.3 15.6-13.2 25.9-13.2H690c6.5 0 10.3 7.4 6.5 12.7z" /></svg>'},gr={name:"control",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656zM340 683v77c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-77c-10.1 3.3-20.8 5-32 5s-21.9-1.8-32-5zm64-198V264c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v221c10.1-3.3 20.8-5 32-5s21.9 1.8 32 5zm-64 198c10.1 3.3 20.8 5 32 5s21.9-1.8 32-5c41.8-13.5 72-52.7 72-99s-30.2-85.5-72-99c-10.1-3.3-20.8-5-32-5s-21.9 1.8-32 5c-41.8 13.5-72 52.7-72 99s30.2 85.5 72 99zm.1-115.7c.3-.6.7-1.2 1-1.8v-.1l1.2-1.8c.1-.2.2-.3.3-.5.3-.5.7-.9 1-1.4.1-.1.2-.3.3-.4.5-.6.9-1.1 1.4-1.6l.3-.3 1.2-1.2.4-.4c.5-.5 1-.9 1.6-1.4.6-.5 1.1-.9 1.7-1.3.2-.1.3-.2.5-.3.5-.3.9-.7 1.4-1 .1-.1.3-.2.4-.3.6-.4 1.2-.7 1.9-1.1.1-.1.3-.1.4-.2.5-.3 1-.5 1.6-.8l.6-.3c.7-.3 1.3-.6 2-.8.7-.3 1.4-.5 2.1-.7.2-.1.4-.1.6-.2.6-.2 1.1-.3 1.7-.4.2 0 .3-.1.5-.1.7-.2 1.5-.3 2.2-.4.2 0 .3 0 .5-.1.6-.1 1.2-.1 1.8-.2h.6c.8 0 1.5-.1 2.3-.1s1.5 0 2.3.1h.6c.6 0 1.2.1 1.8.2.2 0 .3 0 .5.1.7.1 1.5.2 2.2.4.2 0 .3.1.5.1.6.1 1.2.3 1.7.4.2.1.4.1.6.2.7.2 1.4.4 2.1.7.7.2 1.3.5 2 .8l.6.3c.5.2 1.1.5 1.6.8.1.1.3.1.4.2.6.3 1.3.7 1.9 1.1.1.1.3.2.4.3.5.3 1 .6 1.4 1 .2.1.3.2.5.3.6.4 1.2.9 1.7 1.3s1.1.9 1.6 1.4l.4.4 1.2 1.2.3.3c.5.5 1 1.1 1.4 1.6.1.1.2.3.3.4.4.4.7.9 1 1.4.1.2.2.3.3.5l1.2 1.8s0 .1.1.1a36.18 36.18 0 015.1 18.5c0 6-1.5 11.7-4.1 16.7-.3.6-.7 1.2-1 1.8 0 0 0 .1-.1.1l-1.2 1.8c-.1.2-.2.3-.3.5-.3.5-.7.9-1 1.4-.1.1-.2.3-.3.4-.5.6-.9 1.1-1.4 1.6l-.3.3-1.2 1.2-.4.4c-.5.5-1 .9-1.6 1.4-.6.5-1.1.9-1.7 1.3-.2.1-.3.2-.5.3-.5.3-.9.7-1.4 1-.1.1-.3.2-.4.3-.6.4-1.2.7-1.9 1.1-.1.1-.3.1-.4.2-.5.3-1 .5-1.6.8l-.6.3c-.7.3-1.3.6-2 .8-.7.3-1.4.5-2.1.7-.2.1-.4.1-.6.2-.6.2-1.1.3-1.7.4-.2 0-.3.1-.5.1-.7.2-1.5.3-2.2.4-.2 0-.3 0-.5.1-.6.1-1.2.1-1.8.2h-.6c-.8 0-1.5.1-2.3.1s-1.5 0-2.3-.1h-.6c-.6 0-1.2-.1-1.8-.2-.2 0-.3 0-.5-.1-.7-.1-1.5-.2-2.2-.4-.2 0-.3-.1-.5-.1-.6-.1-1.2-.3-1.7-.4-.2-.1-.4-.1-.6-.2-.7-.2-1.4-.4-2.1-.7-.7-.2-1.3-.5-2-.8l-.6-.3c-.5-.2-1.1-.5-1.6-.8-.1-.1-.3-.1-.4-.2-.6-.3-1.3-.7-1.9-1.1-.1-.1-.3-.2-.4-.3-.5-.3-1-.6-1.4-1-.2-.1-.3-.2-.5-.3-.6-.4-1.2-.9-1.7-1.3s-1.1-.9-1.6-1.4l-.4-.4-1.2-1.2-.3-.3c-.5-.5-1-1.1-1.4-1.6-.1-.1-.2-.3-.3-.4-.4-.4-.7-.9-1-1.4-.1-.2-.2-.3-.3-.5l-1.2-1.8v-.1c-.4-.6-.7-1.2-1-1.8-2.6-5-4.1-10.7-4.1-16.7s1.5-11.7 4.1-16.7zM620 539v221c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V539c-10.1 3.3-20.8 5-32 5s-21.9-1.8-32-5zm64-198v-77c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v77c10.1-3.3 20.8-5 32-5s21.9 1.8 32 5zm-64 198c10.1 3.3 20.8 5 32 5s21.9-1.8 32-5c41.8-13.5 72-52.7 72-99s-30.2-85.5-72-99c-10.1-3.3-20.8-5-32-5s-21.9 1.8-32 5c-41.8 13.5-72 52.7-72 99s30.2 85.5 72 99zm.1-115.7c.3-.6.7-1.2 1-1.8v-.1l1.2-1.8c.1-.2.2-.3.3-.5.3-.5.7-.9 1-1.4.1-.1.2-.3.3-.4.5-.6.9-1.1 1.4-1.6l.3-.3 1.2-1.2.4-.4c.5-.5 1-.9 1.6-1.4.6-.5 1.1-.9 1.7-1.3.2-.1.3-.2.5-.3.5-.3.9-.7 1.4-1 .1-.1.3-.2.4-.3.6-.4 1.2-.7 1.9-1.1.1-.1.3-.1.4-.2.5-.3 1-.5 1.6-.8l.6-.3c.7-.3 1.3-.6 2-.8.7-.3 1.4-.5 2.1-.7.2-.1.4-.1.6-.2.6-.2 1.1-.3 1.7-.4.2 0 .3-.1.5-.1.7-.2 1.5-.3 2.2-.4.2 0 .3 0 .5-.1.6-.1 1.2-.1 1.8-.2h.6c.8 0 1.5-.1 2.3-.1s1.5 0 2.3.1h.6c.6 0 1.2.1 1.8.2.2 0 .3 0 .5.1.7.1 1.5.2 2.2.4.2 0 .3.1.5.1.6.1 1.2.3 1.7.4.2.1.4.1.6.2.7.2 1.4.4 2.1.7.7.2 1.3.5 2 .8l.6.3c.5.2 1.1.5 1.6.8.1.1.3.1.4.2.6.3 1.3.7 1.9 1.1.1.1.3.2.4.3.5.3 1 .6 1.4 1 .2.1.3.2.5.3.6.4 1.2.9 1.7 1.3s1.1.9 1.6 1.4l.4.4 1.2 1.2.3.3c.5.5 1 1.1 1.4 1.6.1.1.2.3.3.4.4.4.7.9 1 1.4.1.2.2.3.3.5l1.2 1.8v.1a36.18 36.18 0 015.1 18.5c0 6-1.5 11.7-4.1 16.7-.3.6-.7 1.2-1 1.8v.1l-1.2 1.8c-.1.2-.2.3-.3.5-.3.5-.7.9-1 1.4-.1.1-.2.3-.3.4-.5.6-.9 1.1-1.4 1.6l-.3.3-1.2 1.2-.4.4c-.5.5-1 .9-1.6 1.4-.6.5-1.1.9-1.7 1.3-.2.1-.3.2-.5.3-.5.3-.9.7-1.4 1-.1.1-.3.2-.4.3-.6.4-1.2.7-1.9 1.1-.1.1-.3.1-.4.2-.5.3-1 .5-1.6.8l-.6.3c-.7.3-1.3.6-2 .8-.7.3-1.4.5-2.1.7-.2.1-.4.1-.6.2-.6.2-1.1.3-1.7.4-.2 0-.3.1-.5.1-.7.2-1.5.3-2.2.4-.2 0-.3 0-.5.1-.6.1-1.2.1-1.8.2h-.6c-.8 0-1.5.1-2.3.1s-1.5 0-2.3-.1h-.6c-.6 0-1.2-.1-1.8-.2-.2 0-.3 0-.5-.1-.7-.1-1.5-.2-2.2-.4-.2 0-.3-.1-.5-.1-.6-.1-1.2-.3-1.7-.4-.2-.1-.4-.1-.6-.2-.7-.2-1.4-.4-2.1-.7-.7-.2-1.3-.5-2-.8l-.6-.3c-.5-.2-1.1-.5-1.6-.8-.1-.1-.3-.1-.4-.2-.6-.3-1.3-.7-1.9-1.1-.1-.1-.3-.2-.4-.3-.5-.3-1-.6-1.4-1-.2-.1-.3-.2-.5-.3-.6-.4-1.2-.9-1.7-1.3s-1.1-.9-1.6-1.4l-.4-.4-1.2-1.2-.3-.3c-.5-.5-1-1.1-1.4-1.6-.1-.1-.2-.3-.3-.4-.4-.4-.7-.9-1-1.4-.1-.2-.2-.3-.3-.5l-1.2-1.8v-.1c-.4-.6-.7-1.2-1-1.8-2.6-5-4.1-10.7-4.1-16.7s1.5-11.7 4.1-16.7z" /></svg>'},vr={name:"edit",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M257.7 752c2 0 4-.2 6-.5L431.9 722c2-.4 3.9-1.3 5.3-2.8l423.9-423.9a9.96 9.96 0 000-14.1L694.9 114.9c-1.9-1.9-4.4-2.9-7.1-2.9s-5.2 1-7.1 2.9L256.8 538.8c-1.5 1.5-2.4 3.3-2.8 5.3l-29.5 168.2a33.5 33.5 0 009.4 29.8c6.6 6.4 14.9 9.9 23.8 9.9zm67.4-174.4L687.8 215l73.3 73.3-362.7 362.6-88.9 15.7 15.6-89zM880 836H144c-17.7 0-32 14.3-32 32v36c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-36c0-17.7-14.3-32-32-32z" /></svg>'},yr={name:"double-left",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M272.9 512l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L186.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H532c6.7 0 10.4-7.7 6.3-12.9L272.9 512zm304 0l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L490.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H836c6.7 0 10.4-7.7 6.3-12.9L576.9 512z" /></svg>'},br={name:"down-square",theme:"twotone",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z" fill="#333" /><path d="M184 840h656V184H184v656zm150-440h46.9c10.3 0 19.9 4.9 25.9 13.2L512 558.6l105.2-145.4c6-8.3 15.7-13.2 25.9-13.2H690c6.5 0 10.3 7.4 6.4 12.7l-178 246a7.95 7.95 0 01-12.9 0l-178-246c-3.8-5.3 0-12.7 6.5-12.7z" fill="#E6E6E6" /><path d="M505.5 658.7c3.2 4.4 9.7 4.4 12.9 0l178-246c3.9-5.3.1-12.7-6.4-12.7h-46.9c-10.2 0-19.9 4.9-25.9 13.2L512 558.6 406.8 413.2c-6-8.3-15.6-13.2-25.9-13.2H334c-6.5 0-10.3 7.4-6.5 12.7l178 246z" fill="#333" /></svg>'},_r={name:"dropbox-square",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM663.2 659.5L512.6 750l-151-90.5v-33.1l45.4 29.4 105.6-87.7 105.6 87.7 45.1-29.4v33.1zm-45.6-22.4l-105.3-87.7L407 637.1l-151-99.2 104.5-82.4L256 371.2 407 274l105.3 87.7L617.6 274 768 372.1l-104.2 83.5L768 539l-150.4 98.1zM512.3 361.7l-151.8 93.8 151.8 93.9 151.5-93.9zm151.5 93.8z" /></svg>'},wr={name:"edit",theme:"twotone",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M761.1 288.3L687.8 215 325.1 577.6l-15.6 89 88.9-15.7z" fill="#E6E6E6" /><path d="M880 836H144c-17.7 0-32 14.3-32 32v36c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-36c0-17.7-14.3-32-32-32zm-622.3-84c2 0 4-.2 6-.5L431.9 722c2-.4 3.9-1.3 5.3-2.8l423.9-423.9a9.96 9.96 0 000-14.1L694.9 114.9c-1.9-1.9-4.4-2.9-7.1-2.9s-5.2 1-7.1 2.9L256.8 538.8c-1.5 1.5-2.4 3.3-2.8 5.3l-29.5 168.2a33.5 33.5 0 009.4 29.8c6.6 6.4 14.9 9.9 23.8 9.9zm67.4-174.4L687.8 215l73.3 73.3-362.7 362.6-88.9 15.7 15.6-89z" fill="#333" /></svg>'},Sr={name:"dropbox-circle",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M663.8 455.5zm-151.5-93.8l-151.8 93.8 151.8 93.9 151.5-93.9zM512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm151.2 595.5L512.6 750l-151-90.5v-33.1l45.4 29.4 105.6-87.7 105.6 87.7 45.1-29.4v33.1zm-45.6-22.4l-105.3-87.7L407 637.1l-151-99.2 104.5-82.4L256 371.2 407 274l105.3 87.7L617.6 274 768 372.1l-104.2 83.5L768 539l-150.4 98.1z" /></svg>'},xr={name:"ellipsis",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z" /></svg>'},Or={name:"enter",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M864 170h-60c-4.4 0-8 3.6-8 8v518H310v-73c0-6.7-7.8-10.5-13-6.3l-141.9 112a8 8 0 000 12.6l141.9 112c5.3 4.2 13 .4 13-6.3v-75h498c35.3 0 64-28.7 64-64V178c0-4.4-3.6-8-8-8z" /></svg>'},kr={name:"dribbble-square",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M498.6 432c-40.8-72.5-84.7-133.4-91.2-142.3-68.8 32.5-120.3 95.9-136.2 172.2 11 .2 112.4.7 227.4-29.9zm66.5 21.8c5.7 11.7 11.2 23.6 16.3 35.6 1.8 4.2 3.6 8.4 5.3 12.7 81.8-10.3 163.2 6.2 171.3 7.9-.5-58.1-21.3-111.4-55.5-153.3-5.3 7.1-46.5 60-137.4 97.1zM880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM512 800c-158.8 0-288-129.2-288-288s129.2-288 288-288 288 129.2 288 288-129.2 288-288 288zm89.7-259.1c32.2 88.4 45.3 160.4 47.8 175.4 55.2-37.3 94.5-96.4 105.4-164.9-8.4-2.6-76.1-22.8-153.2-10.5zm-72.5-26.4c3.2-1 6.4-2 9.7-2.9-6.2-14-12.9-28-19.9-41.7-122.8 36.8-242.1 35.2-252.8 35-.1 2.5-.1 5-.1 7.5 0 63.2 23.9 120.9 63.2 164.5 5.5-9.6 73-121.4 199.9-162.4zm145.9-186.2a245.2 245.2 0 00-220.8-55.1c6.8 9.1 51.5 69.9 91.8 144 87.5-32.8 124.5-82.6 129-88.9zM554 552.8c-138.7 48.3-188.6 144.6-193 153.6 41.7 32.5 94.1 51.9 151 51.9 34.1 0 66.6-6.9 96.1-19.5-3.7-21.6-17.9-96.8-52.5-186.6l-1.6.6z" /></svg>'},Cr={name:"dropbox",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M64 556.9l264.2 173.5L512.5 577 246.8 412.7zm896-290.3zm0 0L696.8 95 512.5 248.5l265.2 164.2L512.5 577l184.3 153.4L960 558.8 777.7 412.7zM513 609.8L328.2 763.3l-79.4-51.5v57.8L513 928l263.7-158.4v-57.8l-78.9 51.5zM328.2 95L64 265.1l182.8 147.6 265.7-164.2zM64 556.9z" /></svg>'},Mr={name:"dribbble-square",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M498.6 432c-40.8-72.5-84.7-133.4-91.2-142.3-68.8 32.5-120.3 95.9-136.2 172.2 11 .2 112.4.7 227.4-29.9zm66.5 21.8c5.7 11.7 11.2 23.6 16.3 35.6 1.8 4.2 3.6 8.4 5.3 12.7 81.8-10.3 163.2 6.2 171.3 7.9-.5-58.1-21.3-111.4-55.5-153.3-5.3 7.1-46.5 60-137.4 97.1zM880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM512 800c-158.8 0-288-129.2-288-288s129.2-288 288-288 288 129.2 288 288-129.2 288-288 288zm89.7-259.1c32.2 88.4 45.3 160.4 47.8 175.4 55.2-37.3 94.5-96.4 105.4-164.9-8.4-2.6-76.1-22.8-153.2-10.5zm-72.5-26.4c3.2-1 6.4-2 9.7-2.9-6.2-14-12.9-28-19.9-41.7-122.8 36.8-242.1 35.2-252.8 35-.1 2.5-.1 5-.1 7.5 0 63.2 23.9 120.9 63.2 164.5 5.5-9.6 73-121.4 199.9-162.4zm145.9-186.2a245.2 245.2 0 00-220.8-55.1c6.8 9.1 51.5 69.9 91.8 144 87.5-32.8 124.5-82.6 129-88.9zM554 552.8c-138.7 48.3-188.6 144.6-193 153.6 41.7 32.5 94.1 51.9 151 51.9 34.1 0 66.6-6.9 96.1-19.5-3.7-21.6-17.9-96.8-52.5-186.6l-1.6.6z" /></svg>'},Er={name:"dribbble-circle",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M675.1 328.3a245.2 245.2 0 00-220.8-55.1c6.8 9.1 51.5 69.9 91.8 144 87.5-32.8 124.5-82.6 129-88.9zM554 552.8c-138.7 48.3-188.6 144.6-193 153.6 41.7 32.5 94.1 51.9 151 51.9 34.1 0 66.6-6.9 96.1-19.5-3.7-21.6-17.9-96.8-52.5-186.6l-1.6.6zm47.7-11.9c32.2 88.4 45.3 160.4 47.8 175.4 55.2-37.3 94.5-96.4 105.4-164.9-8.4-2.6-76.1-22.8-153.2-10.5zM512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 736c-158.8 0-288-129.2-288-288s129.2-288 288-288 288 129.2 288 288-129.2 288-288 288zm53.1-346.2c5.7 11.7 11.2 23.6 16.3 35.6 1.8 4.2 3.6 8.4 5.3 12.7 81.8-10.3 163.2 6.2 171.3 7.9-.5-58.1-21.3-111.4-55.5-153.3-5.3 7.1-46.5 60-137.4 97.1zM498.6 432c-40.8-72.5-84.7-133.4-91.2-142.3-68.8 32.5-120.3 95.9-136.2 172.2 11 .2 112.4.7 227.4-29.9zm30.6 82.5c3.2-1 6.4-2 9.7-2.9-6.2-14-12.9-28-19.9-41.7-122.8 36.8-242.1 35.2-252.8 35-.1 2.5-.1 5-.1 7.5 0 63.2 23.9 120.9 63.2 164.5 5.5-9.6 73-121.4 199.9-162.4z" /></svg>'},Tr={name:"edit",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M880 836H144c-17.7 0-32 14.3-32 32v36c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-36c0-17.7-14.3-32-32-32zm-622.3-84c2 0 4-.2 6-.5L431.9 722c2-.4 3.9-1.3 5.3-2.8l423.9-423.9a9.96 9.96 0 000-14.1L694.9 114.9c-1.9-1.9-4.4-2.9-7.1-2.9s-5.2 1-7.1 2.9L256.8 538.8c-1.5 1.5-2.4 3.3-2.8 5.3l-29.5 168.2a33.5 33.5 0 009.4 29.8c6.6 6.4 14.9 9.9 23.8 9.9z" /></svg>'},jr={name:"environment",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M854.6 289.1a362.49 362.49 0 00-79.9-115.7 370.83 370.83 0 00-118.2-77.8C610.7 76.6 562.1 67 512 67c-50.1 0-98.7 9.6-144.5 28.5-44.3 18.3-84 44.5-118.2 77.8A363.6 363.6 0 00169.4 289c-19.5 45-29.4 92.8-29.4 142 0 70.6 16.9 140.9 50.1 208.7 26.7 54.5 64 107.6 111 158.1 80.3 86.2 164.5 138.9 188.4 153a43.9 43.9 0 0022.4 6.1c7.8 0 15.5-2 22.4-6.1 23.9-14.1 108.1-66.8 188.4-153 47-50.4 84.3-103.6 111-158.1C867.1 572 884 501.8 884 431.1c0-49.2-9.9-97-29.4-142zM512 880.2c-65.9-41.9-300-207.8-300-449.1 0-77.9 31.1-151.1 87.6-206.3C356.3 169.5 431.7 139 512 139s155.7 30.5 212.4 85.9C780.9 280 812 353.2 812 431.1c0 241.3-234.1 407.2-300 449.1zm0-617.2c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm79.2 255.2A111.6 111.6 0 01512 551c-29.9 0-58-11.7-79.2-32.8A111.6 111.6 0 01400 439c0-29.9 11.7-58 32.8-79.2C454 338.6 482.1 327 512 327c29.9 0 58 11.6 79.2 32.8C612.4 381 624 409.1 624 439c0 29.9-11.6 58-32.8 79.2z" /></svg>'},Dr={name:"exception",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M688 312v-48c0-4.4-3.6-8-8-8H296c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8zm-392 88c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H296zm376 116c-119.3 0-216 96.7-216 216s96.7 216 216 216 216-96.7 216-216-96.7-216-216-216zm107.5 323.5C750.8 868.2 712.6 884 672 884s-78.8-15.8-107.5-44.5C535.8 810.8 520 772.6 520 732s15.8-78.8 44.5-107.5C593.2 595.8 631.4 580 672 580s78.8 15.8 107.5 44.5C808.2 653.2 824 691.4 824 732s-15.8 78.8-44.5 107.5zM640 812a32 32 0 1064 0 32 32 0 10-64 0zm12-64h40c4.4 0 8-3.6 8-8V628c0-4.4-3.6-8-8-8h-40c-4.4 0-8 3.6-8 8v112c0 4.4 3.6 8 8 8zM440 852H208V148h560v344c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V108c0-17.7-14.3-32-32-32H168c-17.7 0-32 14.3-32 32v784c0 17.7 14.3 32 32 32h272c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z" /></svg>'},Ar={name:"down-circle",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm184.5 353.7l-178 246a7.95 7.95 0 01-12.9 0l-178-246c-3.8-5.3 0-12.7 6.5-12.7H381c10.2 0 19.9 4.9 25.9 13.2L512 563.6l105.2-145.4c6-8.3 15.6-13.2 25.9-13.2H690c6.5 0 10.3 7.4 6.5 12.7z" /></svg>'},Lr={name:"exclamation-circle",theme:"twotone",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" fill="#333" /><path d="M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm-32 156c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V296zm32 440a48.01 48.01 0 010-96 48.01 48.01 0 010 96z" fill="#E6E6E6" /><path d="M488 576h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8zm-24 112a48 48 0 1096 0 48 48 0 10-96 0z" fill="#333" /></svg>'},zr={name:"exclamation",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M448 804a64 64 0 10128 0 64 64 0 10-128 0zm32-168h64c4.4 0 8-3.6 8-8V164c0-4.4-3.6-8-8-8h-64c-4.4 0-8 3.6-8 8v464c0 4.4 3.6 8 8 8z" /></svg>'},Pr={name:"euro-circle",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm63.5 375.8c4.4 0 8 3.6 8 8V475c0 4.4-3.6 8-8 8h-136c-.3 4.4-.3 9.1-.3 13.8v36h136.2c4.4 0 8 3.6 8 8V568c0 4.4-3.6 8-8 8H444.9c15.3 62 61.3 98.6 129.8 98.6 19.9 0 37.1-1.2 51.8-4.1 4.9-1 9.5 2.8 9.5 7.8v42.8c0 3.8-2.7 7-6.4 7.8-15.9 3.4-34.3 5.1-55.3 5.1-109.8 0-183-58.8-200.2-158H344c-4.4 0-8-3.6-8-8v-27.2c0-4.4 3.6-8 8-8h26.1v-36.9c0-4.4 0-8.8.3-12.8H344c-4.4 0-8-3.6-8-8v-27.2c0-4.4 3.6-8 8-8h31.7c19.7-94.2 92-149.9 198.6-149.9 20.9 0 39.4 1.9 55.3 5.4 3.7.8 6.3 4 6.3 7.8V346h.1c0 5.1-4.6 8.8-9.6 7.8-14.7-2.9-31.8-4.4-51.7-4.4-65.4 0-110.4 33.5-127.6 90.4h128.4z" /></svg>'},Ir={name:"euro",theme:"twotone",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" fill="#333" /><path d="M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm117.1 581.1c0 3.8-2.7 7-6.4 7.8-15.9 3.4-34.4 5.1-55.3 5.1-109.8 0-183-58.8-200.2-158H337c-4.4 0-8-3.6-8-8v-27.2c0-4.4 3.6-8 8-8h26.1v-36.9c0-4.4 0-8.7.3-12.8H337c-4.4 0-8-3.6-8-8v-27.2c0-4.4 3.6-8 8-8h31.8C388.5 345.7 460.7 290 567.4 290c20.9 0 39.4 1.9 55.3 5.4 3.7.8 6.3 4 6.3 7.8V346a8 8 0 01-9.6 7.8c-14.6-2.9-31.8-4.4-51.7-4.4-65.3 0-110.4 33.5-127.6 90.4h128.3c4.4 0 8 3.6 8 8V475c0 4.4-3.6 8-8 8H432.5c-.3 4.4-.3 9.1-.3 13.8v36h136.4c4.4 0 8 3.6 8 8V568c0 4.4-3.6 8-8 8H438c15.3 62 61.3 98.6 129.8 98.6 19.9 0 37.1-1.3 51.8-4.1 4.9-1 9.5 2.8 9.5 7.8v42.8z" fill="#E6E6E6" /><path d="M619.6 670.5c-14.7 2.8-31.9 4.1-51.8 4.1-68.5 0-114.5-36.6-129.8-98.6h130.6c4.4 0 8-3.6 8-8v-27.2c0-4.4-3.6-8-8-8H432.2v-36c0-4.7 0-9.4.3-13.8h135.9c4.4 0 8-3.6 8-8v-27.2c0-4.4-3.6-8-8-8H440.1c17.2-56.9 62.3-90.4 127.6-90.4 19.9 0 37.1 1.5 51.7 4.4a8 8 0 009.6-7.8v-42.8c0-3.8-2.6-7-6.3-7.8-15.9-3.5-34.4-5.4-55.3-5.4-106.7 0-178.9 55.7-198.6 149.9H337c-4.4 0-8 3.6-8 8v27.2c0 4.4 3.6 8 8 8h26.4c-.3 4.1-.3 8.4-.3 12.8v36.9H337c-4.4 0-8 3.6-8 8V568c0 4.4 3.6 8 8 8h30.2c17.2 99.2 90.4 158 200.2 158 20.9 0 39.4-1.7 55.3-5.1 3.7-.8 6.4-4 6.4-7.8v-42.8c0-5-4.6-8.8-9.5-7.8z" fill="#333" /></svg>'},Rr={name:"credit-card",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M928 160H96c-17.7 0-32 14.3-32 32v160h896V192c0-17.7-14.3-32-32-32zM64 832c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V440H64v392zm579-184c0-4.4 3.6-8 8-8h165c4.4 0 8 3.6 8 8v72c0 4.4-3.6 8-8 8H651c-4.4 0-8-3.6-8-8v-72z" /></svg>'},Nr={name:"expand-alt",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M855 160.1l-189.2 23.5c-6.6.8-9.3 8.8-4.7 13.5l54.7 54.7-153.5 153.5a8.03 8.03 0 000 11.3l45.1 45.1c3.1 3.1 8.2 3.1 11.3 0l153.6-153.6 54.7 54.7a7.94 7.94 0 0013.5-4.7L863.9 169a7.9 7.9 0 00-8.9-8.9zM416.6 562.3a8.03 8.03 0 00-11.3 0L251.8 715.9l-54.7-54.7a7.94 7.94 0 00-13.5 4.7L160.1 855c-.6 5.2 3.7 9.5 8.9 8.9l189.2-23.5c6.6-.8 9.3-8.8 4.7-13.5l-54.7-54.7 153.6-153.6c3.1-3.1 3.1-8.2 0-11.3l-45.2-45z" /></svg>'},Hr={name:"euro",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372zm117.7-588.6c-15.9-3.5-34.4-5.4-55.3-5.4-106.7 0-178.9 55.7-198.6 149.9H344c-4.4 0-8 3.6-8 8v27.2c0 4.4 3.6 8 8 8h26.4c-.3 4.1-.3 8.4-.3 12.8v36.9H344c-4.4 0-8 3.6-8 8V568c0 4.4 3.6 8 8 8h30.2c17.2 99.2 90.4 158 200.2 158 20.9 0 39.4-1.7 55.3-5.1 3.7-.8 6.4-4 6.4-7.8v-42.8c0-5-4.6-8.8-9.5-7.8-14.7 2.8-31.9 4.1-51.8 4.1-68.5 0-114.5-36.6-129.8-98.6h130.6c4.4 0 8-3.6 8-8v-27.2c0-4.4-3.6-8-8-8H439.2v-36c0-4.7 0-9.4.3-13.8h135.9c4.4 0 8-3.6 8-8v-27.2c0-4.4-3.6-8-8-8H447.1c17.2-56.9 62.3-90.4 127.6-90.4 19.9 0 37.1 1.5 51.7 4.4a8 8 0 009.6-7.8v-42.8c0-3.8-2.6-7-6.3-7.8z" /></svg>'},Fr={name:"eye",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z" /></svg>'},Vr={name:"dribbble",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 96C282.6 96 96 282.6 96 512s186.6 416 416 416 416-186.6 416-416S741.4 96 512 96zm275.1 191.8c49.5 60.5 79.5 137.5 80.2 221.4-11.7-2.5-129.2-26.3-247.4-11.4-2.5-6.1-5-12.2-7.6-18.3-7.4-17.3-15.3-34.6-23.6-51.5C720 374.3 779.6 298 787.1 287.8zM512 157.2c90.3 0 172.8 33.9 235.5 89.5-6.4 9.1-59.9 81-186.2 128.4-58.2-107-122.7-194.8-132.6-208 27.3-6.6 55.2-9.9 83.3-9.9zM360.9 191c9.4 12.8 72.9 100.9 131.7 205.5C326.4 440.6 180 440 164.1 439.8c23.1-110.3 97.4-201.9 196.8-248.8zM156.7 512.5c0-3.6.1-7.3.2-10.9 15.5.3 187.7 2.5 365.2-50.6 10.2 19.9 19.9 40.1 28.8 60.3-4.7 1.3-9.4 2.7-14 4.2C353.6 574.9 256.1 736.4 248 750.1c-56.7-63-91.3-146.3-91.3-237.6zM512 867.8c-82.2 0-157.9-28-218.1-75 6.4-13.1 78.3-152 278.7-221.9l2.3-.8c49.9 129.6 70.5 238.3 75.8 269.5A350.46 350.46 0 01512 867.8zm198.5-60.7c-3.6-21.6-22.5-125.6-69-253.3C752.9 536 850.7 565.2 862.8 569c-15.8 98.8-72.5 184.2-152.3 238.1z" /></svg>'},Br={name:"exclamation-circle",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm-32 232c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V296zm32 440a48.01 48.01 0 010-96 48.01 48.01 0 010 96z" /></svg>'},Yr={name:"dislike",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M885.9 490.3c3.6-12 5.4-24.4 5.4-37 0-28.3-9.3-55.5-26.1-77.7 3.6-12 5.4-24.4 5.4-37 0-28.3-9.3-55.5-26.1-77.7 3.6-12 5.4-24.4 5.4-37 0-51.6-30.7-98.1-78.3-118.4a66.1 66.1 0 00-26.5-5.4H273v428h.3l85.8 310.8C372.9 889 418.9 924 470.9 924c29.7 0 57.4-11.8 77.9-33.4 20.5-21.5 31-49.7 29.5-79.4l-6-122.9h239.9c12.1 0 23.9-3.2 34.3-9.3 40.4-23.5 65.5-66.1 65.5-111 0-28.3-9.3-55.5-26.1-77.7zM112 132v364c0 17.7 14.3 32 32 32h65V100h-65c-17.7 0-32 14.3-32 32z" /></svg>'},Ur={name:"environment",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 327c-29.9 0-58 11.6-79.2 32.8A111.6 111.6 0 00400 439c0 29.9 11.7 58 32.8 79.2A111.6 111.6 0 00512 551c29.9 0 58-11.7 79.2-32.8C612.4 497 624 468.9 624 439c0-29.9-11.6-58-32.8-79.2S541.9 327 512 327zm342.6-37.9a362.49 362.49 0 00-79.9-115.7 370.83 370.83 0 00-118.2-77.8C610.7 76.6 562.1 67 512 67c-50.1 0-98.7 9.6-144.5 28.5-44.3 18.3-84 44.5-118.2 77.8A363.6 363.6 0 00169.4 289c-19.5 45-29.4 92.8-29.4 142 0 70.6 16.9 140.9 50.1 208.7 26.7 54.5 64 107.6 111 158.1 80.3 86.2 164.5 138.9 188.4 153a43.9 43.9 0 0022.4 6.1c7.8 0 15.5-2 22.4-6.1 23.9-14.1 108.1-66.8 188.4-153 47-50.4 84.3-103.6 111-158.1C867.1 572 884 501.8 884 431.1c0-49.2-9.9-97-29.4-142zM512 615c-97.2 0-176-78.8-176-176s78.8-176 176-176 176 78.8 176 176-78.8 176-176 176z" /></svg>'},Wr={name:"experiment",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 472a40 40 0 1080 0 40 40 0 10-80 0zm367 352.9L696.3 352V178H768v-68H256v68h71.7v174L145 824.9c-2.8 7.4-4.3 15.2-4.3 23.1 0 35.3 28.7 64 64 64h614.6c7.9 0 15.7-1.5 23.1-4.3 33-12.7 49.4-49.8 36.6-82.8zM395.7 364.7V180h232.6v184.7L719.2 600c-20.7-5.3-42.1-8-63.9-8-61.2 0-119.2 21.5-165.3 60a188.78 188.78 0 01-121.3 43.9c-32.7 0-64.1-8.3-91.8-23.7l118.8-307.5zM210.5 844l41.7-107.8c35.7 18.1 75.4 27.8 116.6 27.8 61.2 0 119.2-21.5 165.3-60 33.9-28.2 76.3-43.9 121.3-43.9 35 0 68.4 9.5 97.6 27.1L813.5 844h-603z" /></svg>'},qr={name:"exclamation-circle",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" /><path d="M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z" /></svg>'},$r={name:"eye-invisible",theme:"twotone",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M254.89 758.85l125.57-125.57a176 176 0 01248.82-248.82L757 256.72Q651.69 186.07 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q69.27 145.91 173.09 221.05zM942.2 486.2Q889.46 375.11 816.7 305L672.48 449.27a176.09 176.09 0 01-227.22 227.21L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5z" fill="#E6E6E6" /><path d="M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zM878.63 165.56L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z" fill="#333" /><path d="M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z" fill="#333" /></svg>'},Gr={name:"environment",theme:"twotone",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M724.4 224.9C667.7 169.5 592.3 139 512 139s-155.7 30.5-212.4 85.8C243.1 280 212 353.2 212 431.1c0 241.3 234.1 407.2 300 449.1 65.9-41.9 300-207.8 300-449.1 0-77.9-31.1-151.1-87.6-206.2zM512 615c-97.2 0-176-78.8-176-176s78.8-176 176-176 176 78.8 176 176-78.8 176-176 176z" fill="#E6E6E6" /><path d="M512 263c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm79.2 255.2A111.6 111.6 0 01512 551c-29.9 0-58-11.7-79.2-32.8A111.6 111.6 0 01400 439c0-29.9 11.7-58 32.8-79.2C454 338.6 482.1 327 512 327c29.9 0 58 11.6 79.2 32.8S624 409.1 624 439c0 29.9-11.6 58-32.8 79.2z" fill="#333" /><path d="M854.6 289.1a362.49 362.49 0 00-79.9-115.7 370.83 370.83 0 00-118.2-77.8C610.7 76.6 562.1 67 512 67c-50.1 0-98.7 9.6-144.5 28.5-44.3 18.3-84 44.5-118.2 77.8A363.6 363.6 0 00169.4 289c-19.5 45-29.4 92.8-29.4 142 0 70.6 16.9 140.9 50.1 208.7 26.7 54.5 64 107.6 111 158.1 80.3 86.2 164.5 138.9 188.4 153a43.9 43.9 0 0022.4 6.1c7.8 0 15.5-2 22.4-6.1 23.9-14.1 108.1-66.8 188.4-153 47-50.4 84.3-103.6 111-158.1C867.1 572 884 501.8 884 431.1c0-49.2-9.9-97-29.4-142zM512 880.2c-65.9-41.9-300-207.8-300-449.1 0-77.9 31.1-151.1 87.6-206.3C356.3 169.5 431.7 139 512 139s155.7 30.5 212.4 85.9C780.9 280 812 353.2 812 431.1c0 241.3-234.1 407.2-300 449.1z" fill="#333" /></svg>'},Xr={name:"eye",theme:"twotone",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M81.8 537.8a60.3 60.3 0 010-51.5C176.6 286.5 319.8 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c-192.1 0-335.4-100.5-430.2-300.2z" fill="#E6E6E6" /><path d="M512 258c-161.3 0-279.4 81.8-362.7 254C232.6 684.2 350.7 766 512 766c161.4 0 279.5-81.8 362.7-254C791.4 339.8 673.3 258 512 258zm-4 430c-97.2 0-176-78.8-176-176s78.8-176 176-176 176 78.8 176 176-78.8 176-176 176z" fill="#E6E6E6" /><path d="M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258s279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766z" fill="#333" /><path d="M508 336c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z" fill="#333" /></svg>'},Kr={name:"facebook",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-32 736H663.9V602.2h104l15.6-120.7H663.9v-77.1c0-35 9.7-58.8 59.8-58.8h63.9v-108c-11.1-1.5-49-4.8-93.2-4.8-92.2 0-155.3 56.3-155.3 159.6v89H434.9v120.7h104.3V848H176V176h672v672z" /></svg>'},Jr={name:"eye-invisible",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M508 624a112 112 0 00112-112c0-3.28-.15-6.53-.43-9.74L498.26 623.57c3.21.28 6.45.43 9.74.43zm370.72-458.44L836 122.88a8 8 0 00-11.31 0L715.37 232.23Q624.91 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.7 119.43 136.55 191.45L112.56 835a8 8 0 000 11.31L155.25 889a8 8 0 0011.31 0l712.16-712.12a8 8 0 000-11.32zM332 512a176 176 0 01258.88-155.28l-48.62 48.62a112.08 112.08 0 00-140.92 140.92l-48.62 48.62A175.09 175.09 0 01332 512z" /><path d="M942.2 486.2Q889.4 375 816.51 304.85L672.37 449A176.08 176.08 0 01445 676.37L322.74 798.63Q407.82 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5z" /></svg>'},Qr={name:"fall",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M925.9 804l-24-199.2c-.8-6.6-8.9-9.4-13.6-4.7L829 659.5 557.7 388.3c-6.3-6.2-16.4-6.2-22.6 0L433.3 490 156.6 213.3a8.03 8.03 0 00-11.3 0l-45 45.2a8.03 8.03 0 000 11.3L422 591.7c6.2 6.3 16.4 6.3 22.6 0L546.4 490l226.1 226-59.3 59.3a8.01 8.01 0 004.7 13.6l199.2 24c5.1.7 9.5-3.7 8.8-8.9z" /></svg>'},Zr={name:"fast-backward",theme:"fill",icon:'<svg viewBox="0 0 1024 1024" focusable="false"><path d="M517.6 273.5L230.2 499.3a16.14 16.14 0 000 25.4l287.4 225.8c10.7 8.4 26.4.8 26.4-12.7V286.2c0-13.5-15.7-21.1-26.4-12.7zm320 0L550.2 499.3a16.14 16.14 0 000 25.4l287.4 225.8c10.7 8.4 26.4.8 26.4-12.7V286.2c0-13.5-15.7-21.1-26.4-12.7zm-620-25.5h-51.2c-3.5 0-6.4 2.7-6.4 6v516c0 3.3 2.9 6 6.4 6h51.2c3.5 0 6.4-2.7 6.4-6V254c0-3.3-2.9-6-6.4-6z" /></svg>'},ei={name:"facebook",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-92.4 233.5h-63.9c-50.1 0-59.8 23.8-59.8 58.8v77.1h119.6l-15.6 120.7h-104V912H539.2V602.2H434.9V481.4h104.3v-89c0-103.3 63.1-159.6 155.3-159.6 44.2 0 82.1 3.3 93.2 4.8v107.9z" /></svg>'},ti={name:"experiment",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M218.9 636.3l42.6 26.6c.1.1.3.2.4.3l12.7 8 .3.3a186.9 186.9 0 0094.1 25.1c44.9 0 87.2-15.7 121-43.8a256.27 256.27 0 01164.9-59.9c52.3 0 102.2 15.7 144.6 44.5l7.9 5-111.6-289V179.8h63.5c4.4 0 8-3.6 8-8V120c0-4.4-3.6-8-8-8H264.7c-4.4 0-8 3.6-8 8v51.9c0 4.4 3.6 8 8 8h63.5v173.6L218.9 636.3zm333-203.1c22 0 39.9 17.9 39.9 39.9S573.9 513 551.9 513 512 495.1 512 473.1s17.9-39.9 39.9-39.9zM878 825.1l-29.9-77.4-85.7-53.5-.1.1c-.7-.5-1.5-1-2.2-1.5l-8.1-5-.3-.3c-29-17.5-62.3-26.8-97-26.8-44.9 0-87.2 15.7-121 43.8a256.27 256.27 0 01-164.9 59.9c-53 0-103.5-16.1-146.2-45.6l-28.9-18.1L146 825.1c-2.8 7.4-4.3 15.2-4.3 23 0 35.2 28.6 63.8 63.8 63.8h612.9c7.9 0 15.7-1.5 23-4.3a63.6 63.6 0 0036.6-82.5z" /></svg>'},ni={name:"fast-forward",theme:"fill",icon:'<svg viewBox="0 0 1024 1024" focusable="false"><path d="M793.8 499.3L506.4 273.5c-10.7-8.4-26.4-.8-26.4 12.7v451.6c0 13.5 15.7 21.1 26.4 12.7l287.4-225.8a16.14 16.14 0 000-25.4zm-320 0L186.4 273.5c-10.7-8.4-26.4-.8-26.4 12.7v451.5c0 13.5 15.7 21.1 26.4 12.7l287.4-225.8c4.1-3.2 6.2-8 6.2-12.7 0-4.6-2.1-9.4-6.2-12.6zM857.6 248h-51.2c-3.5 0-6.4 2.7-6.4 6v516c0 3.3 2.9 6 6.4 6h51.2c3.5 0 6.4-2.7 6.4-6V254c0-3.3-2.9-6-6.4-6z" /></svg>'},ri={name:"field-number",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><defs><style /></defs><path d="M508 280h-63.3c-3.3 0-6 2.7-6 6v340.2H433L197.4 282.6c-1.1-1.6-3-2.6-4.9-2.6H126c-3.3 0-6 2.7-6 6v464c0 3.3 2.7 6 6 6h62.7c3.3 0 6-2.7 6-6V405.1h5.7l238.2 348.3c1.1 1.6 3 2.6 5 2.6H508c3.3 0 6-2.7 6-6V286c0-3.3-2.7-6-6-6zm378 413H582c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h304c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zm-152.2-63c52.9 0 95.2-17.2 126.2-51.7 29.4-32.9 44-75.8 44-128.8 0-53.1-14.6-96.5-44-129.3-30.9-34.8-73.2-52.2-126.2-52.2-53.7 0-95.9 17.5-126.3 52.8-29.2 33.1-43.4 75.9-43.4 128.7 0 52.4 14.3 95.2 43.5 128.3 30.6 34.7 73 52.2 126.2 52.2zm-71.5-263.7c16.9-20.6 40.3-30.9 71.4-30.9 31.5 0 54.8 9.6 71 29.1 16.4 20.3 24.9 48.6 24.9 84.9 0 36.3-8.4 64.1-24.8 83.9-16.5 19.4-40 29.2-71.1 29.2-31.2 0-55-10.3-71.4-30.4-16.3-20.1-24.5-47.3-24.5-82.6.1-35.8 8.2-63 24.5-83.2z" /></svg>'},ii={name:"experiment",theme:"twotone",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M551.9 513c19.6 0 35.9-14.2 39.3-32.8A40.02 40.02 0 01552 512a40 40 0 01-40-39.4v.5c0 22 17.9 39.9 39.9 39.9zM752 687.8l-.3-.3c-29-17.5-62.3-26.8-97-26.8-44.9 0-87.2 15.7-121 43.8a256.27 256.27 0 01-164.9 59.9c-41.2 0-81-9.8-116.7-28L210.5 844h603l-59.9-155.2-1.6-1z" fill="#E6E6E6" /><path d="M879 824.9L696.3 352V178H768v-68H256v68h71.7v174L145 824.9c-2.8 7.4-4.3 15.2-4.3 23.1 0 35.3 28.7 64 64 64h614.6c7.9 0 15.7-1.5 23.1-4.3 33-12.7 49.4-49.8 36.6-82.8zM395.7 364.7V180h232.6v184.7L719.2 600c-20.7-5.3-42.1-8-63.9-8-61.2 0-119.2 21.5-165.3 60a188.78 188.78 0 01-121.3 43.9c-32.7 0-64.1-8.3-91.8-23.7l118.8-307.5zM210.5 844l41.6-107.6.1-.2c35.7 18.1 75.4 27.8 116.6 27.8 61.2 0 119.2-21.5 165.3-60 33.9-28.2 76.3-43.9 121.3-43.9 35 0 68.4 9.5 97.6 27.1l.6 1.6L813.5 844h-603z" fill="#333" /><path d="M552 512c19.3 0 35.4-13.6 39.2-31.8.6-2.7.8-5.4.8-8.2 0-22.1-17.9-40-40-40s-40 17.9-40 40v.6a40 40 0 0040 39.4z" fill="#333" /></svg>'},si={name:"expand",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><defs><style /></defs><path d="M342 88H120c-17.7 0-32 14.3-32 32v224c0 8.8 7.2 16 16 16h48c8.8 0 16-7.2 16-16V168h174c8.8 0 16-7.2 16-16v-48c0-8.8-7.2-16-16-16zm578 576h-48c-8.8 0-16 7.2-16 16v176H682c-8.8 0-16 7.2-16 16v48c0 8.8 7.2 16 16 16h222c17.7 0 32-14.3 32-32V680c0-8.8-7.2-16-16-16zM342 856H168V680c0-8.8-7.2-16-16-16h-48c-8.8 0-16 7.2-16 16v224c0 17.7 14.3 32 32 32h222c8.8 0 16-7.2 16-16v-48c0-8.8-7.2-16-16-16zM904 88H682c-8.8 0-16 7.2-16 16v48c0 8.8 7.2 16 16 16h174v176c0 8.8 7.2 16 16 16h48c8.8 0 16-7.2 16-16V120c0-17.7-14.3-32-32-32z" /></svg>'},oi={name:"fast-backward",theme:"outline",icon:'<svg viewBox="0 0 1024 1024" focusable="false"><path d="M517.6 273.5L230.2 499.3a16.14 16.14 0 000 25.4l287.4 225.8c10.7 8.4 26.4.8 26.4-12.7V286.2c0-13.5-15.7-21.1-26.4-12.7zm320 0L550.2 499.3a16.14 16.14 0 000 25.4l287.4 225.8c10.7 8.4 26.4.8 26.4-12.7V286.2c0-13.5-15.7-21.1-26.4-12.7zm-620-25.5h-51.2c-3.5 0-6.4 2.7-6.4 6v516c0 3.3 2.9 6 6.4 6h51.2c3.5 0 6.4-2.7 6.4-6V254c0-3.3-2.9-6-6.4-6z" /></svg>'},ai={name:"field-string",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><defs><style /></defs><path d="M875.6 515.9c2.1.8 4.4-.3 5.2-2.4.2-.4.2-.9.2-1.4v-58.3c0-1.8-1.1-3.3-2.8-3.8-6-1.8-17.2-3-27.2-3-32.9 0-61.7 16.7-73.5 41.2v-28.6c0-4.4-3.6-8-8-8H717c-4.4 0-8 3.6-8 8V729c0 4.4 3.6 8 8 8h54.8c4.4 0 8-3.6 8-8V572.7c0-36.2 26.1-60.2 65.1-60.2 10.4.1 26.6 1.8 30.7 3.4zm-537-40.5l-54.7-12.6c-61.2-14.2-87.7-34.8-87.7-70.7 0-44.6 39.1-73.5 96.9-73.5 52.8 0 91.4 26.5 99.9 68.9h70C455.9 311.6 387.6 259 293.4 259c-103.3 0-171 55.5-171 139 0 68.6 38.6 109.5 122.2 128.5l61.6 14.3c63.6 14.9 91.6 37.1 91.6 75.1 0 44.1-43.5 75.2-102.5 75.2-60.6 0-104.5-27.2-112.8-70.5H111c7.2 79.9 75.6 130.4 179.1 130.4C402.3 751 471 695.2 471 605.3c0-70.2-38.6-108.5-132.4-129.9zM841 729a36 36 0 1072 0 36 36 0 10-72 0zM653 457.8h-51.4V396c0-4.4-3.6-8-8-8h-54.7c-4.4 0-8 3.6-8 8v61.8H495c-4.4 0-8 3.6-8 8v42.3c0 4.4 3.6 8 8 8h35.9v147.5c0 56.2 27.4 79.4 93.1 79.4 11.7 0 23.6-1.2 33.8-3.1 1.9-.3 3.2-2 3.2-3.9v-49.3c0-2.2-1.8-4-4-4h-.4c-4.9.5-6.2.6-8.3.8-4.1.3-7.8.5-12.6.5-24.1 0-34.1-10.3-34.1-35.6V516.1H653c4.4 0 8-3.6 8-8v-42.3c0-4.4-3.6-8-8-8z" /></svg>'},ci={name:"field-time",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><defs><style /></defs><path d="M945 412H689c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h256c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zM811 548H689c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h122c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zM477.3 322.5H434c-6.2 0-11.2 5-11.2 11.2v248c0 3.6 1.7 6.9 4.6 9l148.9 108.6c5 3.6 12 2.6 15.6-2.4l25.7-35.1v-.1c3.6-5 2.5-12-2.5-15.6l-126.7-91.6V333.7c.1-6.2-5-11.2-11.1-11.2z" /><path d="M804.8 673.9H747c-5.6 0-10.9 2.9-13.9 7.7a321 321 0 01-44.5 55.7 317.17 317.17 0 01-101.3 68.3c-39.3 16.6-81 25-124 25-43.1 0-84.8-8.4-124-25-37.9-16-72-39-101.3-68.3s-52.3-63.4-68.3-101.3c-16.6-39.2-25-80.9-25-124 0-43.1 8.4-84.7 25-124 16-37.9 39-72 68.3-101.3 29.3-29.3 63.4-52.3 101.3-68.3 39.2-16.6 81-25 124-25 43.1 0 84.8 8.4 124 25 37.9 16 72 39 101.3 68.3a321 321 0 0144.5 55.7c3 4.8 8.3 7.7 13.9 7.7h57.8c6.9 0 11.3-7.2 8.2-13.3-65.2-129.7-197.4-214-345-215.7-216.1-2.7-395.6 174.2-396 390.1C71.6 727.5 246.9 903 463.2 903c149.5 0 283.9-84.6 349.8-215.8a9.18 9.18 0 00-8.2-13.3z" /></svg>'},li={name:"file-excel",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M854.6 288.7c6 6 9.4 14.1 9.4 22.6V928c0 17.7-14.3 32-32 32H192c-17.7 0-32-14.3-32-32V96c0-17.7 14.3-32 32-32h424.7c8.5 0 16.7 3.4 22.7 9.4l215.2 215.3zM790.2 326L602 137.8V326h188.2zM575.34 477.84l-61.22 102.3L452.3 477.8a12 12 0 00-10.27-5.79h-38.44a12 12 0 00-6.4 1.85 12 12 0 00-3.75 16.56l82.34 130.42-83.45 132.78a12 12 0 00-1.84 6.39 12 12 0 0012 12h34.46a12 12 0 0010.21-5.7l62.7-101.47 62.3 101.45a12 12 0 0010.23 5.72h37.48a12 12 0 006.48-1.9 12 12 0 003.62-16.58l-83.83-130.55 85.3-132.47a12 12 0 001.9-6.5 12 12 0 00-12-12h-35.7a12 12 0 00-10.29 5.84z" /></svg>'},ui={name:"file-exclamation",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494zM472 744a40 40 0 1080 0 40 40 0 10-80 0zm16-104h48c4.4 0 8-3.6 8-8V448c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v184c0 4.4 3.6 8 8 8z" /></svg>'},hi={name:"file-add",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M480 580H372a8 8 0 00-8 8v48a8 8 0 008 8h108v108a8 8 0 008 8h48a8 8 0 008-8V644h108a8 8 0 008-8v-48a8 8 0 00-8-8H544V472a8 8 0 00-8-8h-48a8 8 0 00-8 8v108zm374.6-291.3c6 6 9.4 14.1 9.4 22.6V928c0 17.7-14.3 32-32 32H192c-17.7 0-32-14.3-32-32V96c0-17.7 14.3-32 32-32h424.7c8.5 0 16.7 3.4 22.7 9.4l215.2 215.3zM790.2 326L602 137.8V326h188.2z" /></svg>'},di={name:"euro-circle",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372zm117.7-588.6c-15.9-3.5-34.4-5.4-55.3-5.4-106.7 0-178.9 55.7-198.6 149.9H344c-4.4 0-8 3.6-8 8v27.2c0 4.4 3.6 8 8 8h26.4c-.3 4.1-.3 8.4-.3 12.8v36.9H344c-4.4 0-8 3.6-8 8V568c0 4.4 3.6 8 8 8h30.2c17.2 99.2 90.4 158 200.2 158 20.9 0 39.4-1.7 55.3-5.1 3.7-.8 6.4-4 6.4-7.8v-42.8c0-5-4.6-8.8-9.5-7.8-14.7 2.8-31.9 4.1-51.8 4.1-68.5 0-114.5-36.6-129.8-98.6h130.6c4.4 0 8-3.6 8-8v-27.2c0-4.4-3.6-8-8-8H439.2v-36c0-4.7 0-9.4.3-13.8h135.9c4.4 0 8-3.6 8-8v-27.2c0-4.4-3.6-8-8-8H447.1c17.2-56.9 62.3-90.4 127.6-90.4 19.9 0 37.1 1.5 51.7 4.4a8 8 0 009.6-7.8v-42.8c0-3.8-2.6-7-6.3-7.8z" /></svg>'},fi={name:"field-binary",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><defs><style /></defs><path d="M600 395.4h91V649h79V267c0-4.4-3.6-8-8-8h-48.2c-3.7 0-7 2.6-7.7 6.3-2.6 12.1-6.9 22.3-12.9 30.9a86.14 86.14 0 01-26.3 24.4c-10.3 6.2-22 10.5-35 12.9-10.4 1.9-21 3-32 3.1a8 8 0 00-7.9 8v42.8c0 4.4 3.6 8 8 8zM871 702H567c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h304c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zM443.9 312.7c-16.1-19-34.4-32.4-55.2-40.4-21.3-8.2-44.1-12.3-68.4-12.3-23.9 0-46.4 4.1-67.7 12.3-20.8 8-39 21.4-54.8 40.3-15.9 19.1-28.7 44.7-38.3 77-9.6 32.5-14.5 73-14.5 121.5 0 49.9 4.9 91.4 14.5 124.4 9.6 32.8 22.4 58.7 38.3 77.7 15.8 18.9 34 32.3 54.8 40.3 21.3 8.2 43.8 12.3 67.7 12.3 24.4 0 47.2-4.1 68.4-12.3 20.8-8 39.2-21.4 55.2-40.4 16.1-19 29-44.9 38.6-77.7 9.6-33 14.5-74.5 14.5-124.4 0-48.4-4.9-88.9-14.5-121.5-9.5-32.1-22.4-57.7-38.6-76.8zm-29.5 251.7c-1 21.4-4.2 42-9.5 61.9-5.5 20.7-14.5 38.5-27 53.4-13.6 16.3-33.2 24.3-57.6 24.3-24 0-43.2-8.1-56.7-24.4-12.2-14.8-21.1-32.6-26.6-53.3-5.3-19.9-8.5-40.6-9.5-61.9-1-20.8-1.5-38.5-1.5-53.2 0-8.8.1-19.4.4-31.8.2-12.7 1.1-25.8 2.6-39.2 1.5-13.6 4-27.1 7.6-40.5 3.7-13.8 8.8-26.3 15.4-37.4 6.9-11.6 15.8-21.1 26.7-28.3 11.4-7.6 25.3-11.3 41.5-11.3 16.1 0 30.1 3.7 41.7 11.2a87.94 87.94 0 0127.4 28.2c6.9 11.2 12.1 23.8 15.6 37.7 3.3 13.2 5.8 26.6 7.5 40.1 1.8 13.5 2.8 26.6 3 39.4.2 12.4.4 23 .4 31.8.1 14.8-.4 32.5-1.4 53.3z" /></svg>'},pi={name:"file-done",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M688 312v-48c0-4.4-3.6-8-8-8H296c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8zm-392 88c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H296zm376 116c-119.3 0-216 96.7-216 216s96.7 216 216 216 216-96.7 216-216-96.7-216-216-216zm107.5 323.5C750.8 868.2 712.6 884 672 884s-78.8-15.8-107.5-44.5C535.8 810.8 520 772.6 520 732s15.8-78.8 44.5-107.5C593.2 595.8 631.4 580 672 580s78.8 15.8 107.5 44.5C808.2 653.2 824 691.4 824 732s-15.8 78.8-44.5 107.5zM761 656h-44.3c-2.6 0-5 1.2-6.5 3.3l-63.5 87.8-23.1-31.9a7.92 7.92 0 00-6.5-3.3H573c-6.5 0-10.3 7.4-6.5 12.7l73.8 102.1c3.2 4.4 9.7 4.4 12.9 0l114.2-158c3.9-5.3.1-12.7-6.4-12.7zM440 852H208V148h560v344c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V108c0-17.7-14.3-32-32-32H168c-17.7 0-32 14.3-32 32v784c0 17.7 14.3 32 32 32h272c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z" /></svg>'},mi={name:"file-add",theme:"twotone",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M534 352V136H232v752h560V394H576a42 42 0 01-42-42zm126 236v48c0 4.4-3.6 8-8 8H544v108c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V644H372c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h108V472c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v108h108c4.4 0 8 3.6 8 8z" fill="#E6E6E6" /><path d="M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM602 137.8L790.2 326H602V137.8zM792 888H232V136h302v216a42 42 0 0042 42h216v494z" fill="#333" /><path d="M544 472c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v108H372c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h108v108c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V644h108c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V472z" fill="#333" /></svg>'},gi={name:"file-excel",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494zM514.1 580.1l-61.8-102.4c-2.2-3.6-6.1-5.8-10.3-5.8h-38.4c-2.3 0-4.5.6-6.4 1.9-5.6 3.5-7.3 10.9-3.7 16.6l82.3 130.4-83.4 132.8a12.04 12.04 0 0010.2 18.4h34.5c4.2 0 8-2.2 10.2-5.7L510 664.8l62.3 101.4c2.2 3.6 6.1 5.7 10.2 5.7H620c2.3 0 4.5-.7 6.5-1.9 5.6-3.6 7.2-11 3.6-16.6l-84-130.4 85.3-132.5a12.04 12.04 0 00-10.1-18.5h-35.7c-4.2 0-8.1 2.2-10.3 5.8l-61.2 102.3z" /></svg>'},vi={name:"file-exclamation",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M854.6 288.7c6 6 9.4 14.1 9.4 22.6V928c0 17.7-14.3 32-32 32H192c-17.7 0-32-14.3-32-32V96c0-17.7 14.3-32 32-32h424.7c8.5 0 16.7 3.4 22.7 9.4l215.2 215.3zM790.2 326L602 137.8V326h188.2zM512 784a40 40 0 100-80 40 40 0 000 80zm32-152V448a8 8 0 00-8-8h-48a8 8 0 00-8 8v184a8 8 0 008 8h48a8 8 0 008-8z" /></svg>'},yi={name:"file-gif",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><defs><style /></defs><path d="M551.5 490.5H521c-4.6 0-8.4 3.7-8.4 8.4V720c0 4.6 3.7 8.4 8.4 8.4h30.5c4.6 0 8.4-3.7 8.4-8.4V498.9c-.1-4.6-3.8-8.4-8.4-8.4zM477.3 600h-88.1c-4.6 0-8.4 3.7-8.4 8.4v23.8c0 4.6 3.7 8.4 8.4 8.4h47.6v.7c-.6 29.9-23 49.8-56.5 49.8-39.2 0-63.6-30.7-63.6-81.4 0-50.1 23.9-80.6 62.3-80.6 28.1 0 47.5 13.5 55.4 38.3l.9 2.8h49.2l-.7-4.6C475.9 515.9 434.7 484 379 484c-68.8 0-113 49.4-113 125.9 0 77.5 43.7 126.1 113.6 126.1 64.4 0 106-40.3 106-102.9v-24.8c0-4.6-3.7-8.3-8.3-8.3z" /><path d="M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM602 137.8L790.2 326H602V137.8zM792 888H232V136h302v216a42 42 0 0042 42h216v494z" /><path d="M608.2 727.8h32.3c4.6 0 8.4-3.7 8.4-8.4v-84.8h87.8c4.6 0 8.4-3.7 8.4-8.4v-25.5c0-4.6-3.7-8.4-8.4-8.4h-87.8v-58.9h96.8c4.6 0 8.4-3.7 8.4-8.4v-26.8c0-4.6-3.7-8.4-8.4-8.4H608.2c-4.6 0-8.4 3.7-8.4 8.4v221.1c0 4.8 3.8 8.5 8.4 8.5z" /></svg>'},bi={name:"file-exclamation",theme:"twotone",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M534 352V136H232v752h560V394H576a42 42 0 01-42-42zm-54 96c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v184c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V448zm32 336c-22.1 0-40-17.9-40-40s17.9-40 40-40 40 17.9 40 40-17.9 40-40 40z" fill="#E6E6E6" /><path d="M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM602 137.8L790.2 326H602V137.8zM792 888H232V136h302v216a42 42 0 0042 42h216v494z" fill="#333" /><path d="M488 640h48c4.4 0 8-3.6 8-8V448c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v184c0 4.4 3.6 8 8 8zm-16 104a40 40 0 1080 0 40 40 0 10-80 0z" fill="#333" /></svg>'},_i={name:"euro-circle",theme:"twotone",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" fill="#333" /><path d="M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm117.1 581.1c0 3.8-2.7 7-6.4 7.8-15.9 3.4-34.4 5.1-55.3 5.1-109.8 0-183-58.8-200.2-158H337c-4.4 0-8-3.6-8-8v-27.2c0-4.4 3.6-8 8-8h26.1v-36.9c0-4.4 0-8.7.3-12.8H337c-4.4 0-8-3.6-8-8v-27.2c0-4.4 3.6-8 8-8h31.8C388.5 345.7 460.7 290 567.4 290c20.9 0 39.4 1.9 55.3 5.4 3.7.8 6.3 4 6.3 7.8V346a8 8 0 01-9.6 7.8c-14.6-2.9-31.8-4.4-51.7-4.4-65.3 0-110.4 33.5-127.6 90.4h128.3c4.4 0 8 3.6 8 8V475c0 4.4-3.6 8-8 8H432.5c-.3 4.4-.3 9.1-.3 13.8v36h136.4c4.4 0 8 3.6 8 8V568c0 4.4-3.6 8-8 8H438c15.3 62 61.3 98.6 129.8 98.6 19.9 0 37.1-1.3 51.8-4.1 4.9-1 9.5 2.8 9.5 7.8v42.8z" fill="#E6E6E6" /><path d="M619.6 670.5c-14.7 2.8-31.9 4.1-51.8 4.1-68.5 0-114.5-36.6-129.8-98.6h130.6c4.4 0 8-3.6 8-8v-27.2c0-4.4-3.6-8-8-8H432.2v-36c0-4.7 0-9.4.3-13.8h135.9c4.4 0 8-3.6 8-8v-27.2c0-4.4-3.6-8-8-8H440.1c17.2-56.9 62.3-90.4 127.6-90.4 19.9 0 37.1 1.5 51.7 4.4a8 8 0 009.6-7.8v-42.8c0-3.8-2.6-7-6.3-7.8-15.9-3.5-34.4-5.4-55.3-5.4-106.7 0-178.9 55.7-198.6 149.9H337c-4.4 0-8 3.6-8 8v27.2c0 4.4 3.6 8 8 8h26.4c-.3 4.1-.3 8.4-.3 12.8v36.9H337c-4.4 0-8 3.6-8 8V568c0 4.4 3.6 8 8 8h30.2c17.2 99.2 90.4 158 200.2 158 20.9 0 39.4-1.7 55.3-5.1 3.7-.8 6.4-4 6.4-7.8v-42.8c0-5-4.6-8.8-9.5-7.8z" fill="#333" /></svg>'},wi={name:"file-markdown",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494zM429 481.2c-1.9-4.4-6.2-7.2-11-7.2h-35c-6.6 0-12 5.4-12 12v272c0 6.6 5.4 12 12 12h27.1c6.6 0 12-5.4 12-12V582.1l66.8 150.2a12 12 0 0011 7.1H524c4.7 0 9-2.8 11-7.1l66.8-150.6V758c0 6.6 5.4 12 12 12H641c6.6 0 12-5.4 12-12V486c0-6.6-5.4-12-12-12h-34.7c-4.8 0-9.1 2.8-11 7.2l-83.1 191-83.2-191z" /></svg>'},Si={name:"file-markdown",theme:"twotone",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M534 352V136H232v752h560V394H576a42 42 0 01-42-42zm72.3 122H641c6.6 0 12 5.4 12 12v272c0 6.6-5.4 12-12 12h-27.2c-6.6 0-12-5.4-12-12V581.7L535 732.3c-2 4.3-6.3 7.1-11 7.1h-24.1a12 12 0 01-11-7.1l-66.8-150.2V758c0 6.6-5.4 12-12 12H383c-6.6 0-12-5.4-12-12V486c0-6.6 5.4-12 12-12h35c4.8 0 9.1 2.8 11 7.2l83.2 191 83.1-191c1.9-4.4 6.2-7.2 11-7.2z" fill="#E6E6E6" /><path d="M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM602 137.8L790.2 326H602V137.8zM792 888H232V136h302v216a42 42 0 0042 42h216v494z" fill="#333" /><path d="M429 481.2c-1.9-4.4-6.2-7.2-11-7.2h-35c-6.6 0-12 5.4-12 12v272c0 6.6 5.4 12 12 12h27.1c6.6 0 12-5.4 12-12V582.1l66.8 150.2a12 12 0 0011 7.1H524c4.7 0 9-2.8 11-7.1l66.8-150.6V758c0 6.6 5.4 12 12 12H641c6.6 0 12-5.4 12-12V486c0-6.6-5.4-12-12-12h-34.7c-4.8 0-9.1 2.8-11 7.2l-83.1 191-83.2-191z" fill="#333" /></svg>'},xi={name:"file-pdf",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M854.6 288.7c6 6 9.4 14.1 9.4 22.6V928c0 17.7-14.3 32-32 32H192c-17.7 0-32-14.3-32-32V96c0-17.7 14.3-32 32-32h424.7c8.5 0 16.7 3.4 22.7 9.4l215.2 215.3zM790.2 326L602 137.8V326h188.2zM633.22 637.26c-15.18-.5-31.32.67-49.65 2.96-24.3-14.99-40.66-35.58-52.28-65.83l1.07-4.38 1.24-5.18c4.3-18.13 6.61-31.36 7.3-44.7.52-10.07-.04-19.36-1.83-27.97-3.3-18.59-16.45-29.46-33.02-30.13-15.45-.63-29.65 8-33.28 21.37-5.91 21.62-2.45 50.07 10.08 98.59-15.96 38.05-37.05 82.66-51.2 107.54-18.89 9.74-33.6 18.6-45.96 28.42-16.3 12.97-26.48 26.3-29.28 40.3-1.36 6.49.69 14.97 5.36 21.92 5.3 7.88 13.28 13 22.85 13.74 24.15 1.87 53.83-23.03 86.6-79.26 3.29-1.1 6.77-2.26 11.02-3.7l11.9-4.02c7.53-2.54 12.99-4.36 18.39-6.11 23.4-7.62 41.1-12.43 57.2-15.17 27.98 14.98 60.32 24.8 82.1 24.8 17.98 0 30.13-9.32 34.52-23.99 3.85-12.88.8-27.82-7.48-36.08-8.56-8.41-24.3-12.43-45.65-13.12zM385.23 765.68v-.36l.13-.34a54.86 54.86 0 015.6-10.76c4.28-6.58 10.17-13.5 17.47-20.87 3.92-3.95 8-7.8 12.79-12.12 1.07-.96 7.91-7.05 9.19-8.25l11.17-10.4-8.12 12.93c-12.32 19.64-23.46 33.78-33 43-3.51 3.4-6.6 5.9-9.1 7.51a16.43 16.43 0 01-2.61 1.42c-.41.17-.77.27-1.13.3a2.2 2.2 0 01-1.12-.15 2.07 2.07 0 01-1.27-1.91zM511.17 547.4l-2.26 4-1.4-4.38c-3.1-9.83-5.38-24.64-6.01-38-.72-15.2.49-24.32 5.29-24.32 6.74 0 9.83 10.8 10.07 27.05.22 14.28-2.03 29.14-5.7 35.65zm-5.81 58.46l1.53-4.05 2.09 3.8c11.69 21.24 26.86 38.96 43.54 51.31l3.6 2.66-4.39.9c-16.33 3.38-31.54 8.46-52.34 16.85 2.17-.88-21.62 8.86-27.64 11.17l-5.25 2.01 2.8-4.88c12.35-21.5 23.76-47.32 36.05-79.77zm157.62 76.26c-7.86 3.1-24.78.33-54.57-12.39l-7.56-3.22 8.2-.6c23.3-1.73 39.8-.45 49.42 3.07 4.1 1.5 6.83 3.39 8.04 5.55a4.64 4.64 0 01-1.36 6.31 6.7 6.7 0 01-2.17 1.28z" /></svg>'},Oi={name:"file-markdown",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M854.6 288.7c6 6 9.4 14.1 9.4 22.6V928c0 17.7-14.3 32-32 32H192c-17.7 0-32-14.3-32-32V96c0-17.7 14.3-32 32-32h424.7c8.5 0 16.7 3.4 22.7 9.4l215.2 215.3zM790.2 326L602 137.8V326h188.2zM426.13 600.93l59.11 132.97a16 16 0 0014.62 9.5h24.06a16 16 0 0014.63-9.51l59.1-133.35V758a16 16 0 0016.01 16H641a16 16 0 0016-16V486a16 16 0 00-16-16h-34.75a16 16 0 00-14.67 9.62L512.1 662.2l-79.48-182.59a16 16 0 00-14.67-9.61H383a16 16 0 00-16 16v272a16 16 0 0016 16h27.13a16 16 0 0016-16V600.93z" /></svg>'},ki={name:"file-add",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494zM544 472c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v108H372c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h108v108c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V644h108c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V472z" /></svg>'},Ci={name:"file-pdf",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M531.3 574.4l.3-1.4c5.8-23.9 13.1-53.7 7.4-80.7-3.8-21.3-19.5-29.6-32.9-30.2-15.8-.7-29.9 8.3-33.4 21.4-6.6 24-.7 56.8 10.1 98.6-13.6 32.4-35.3 79.5-51.2 107.5-29.6 15.3-69.3 38.9-75.2 68.7-1.2 5.5.2 12.5 3.5 18.8 3.7 7 9.6 12.4 16.5 15 3 1.1 6.6 2 10.8 2 17.6 0 46.1-14.2 84.1-79.4 5.8-1.9 11.8-3.9 17.6-5.9 27.2-9.2 55.4-18.8 80.9-23.1 28.2 15.1 60.3 24.8 82.1 24.8 21.6 0 30.1-12.8 33.3-20.5 5.6-13.5 2.9-30.5-6.2-39.6-13.2-13-45.3-16.4-95.3-10.2-24.6-15-40.7-35.4-52.4-65.8zM421.6 726.3c-13.9 20.2-24.4 30.3-30.1 34.7 6.7-12.3 19.8-25.3 30.1-34.7zm87.6-235.5c5.2 8.9 4.5 35.8.5 49.4-4.9-19.9-5.6-48.1-2.7-51.4.8.1 1.5.7 2.2 2zm-1.6 120.5c10.7 18.5 24.2 34.4 39.1 46.2-21.6 4.9-41.3 13-58.9 20.2-4.2 1.7-8.3 3.4-12.3 5 13.3-24.1 24.4-51.4 32.1-71.4zm155.6 65.5c.1.2.2.5-.4.9h-.2l-.2.3c-.8.5-9 5.3-44.3-8.6 40.6-1.9 45 7.3 45.1 7.4zm191.4-388.2L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z" /></svg>'},Mi={name:"file-jpg",theme:"outline",icon:'<svg viewBox="0 0 1024 1024" focusable="false"><path d="M874.6 301.8L596.8 21.3c-4.5-4.5-9.4-8.3-14.7-11.5-1.4-.8-2.8-1.6-4.3-2.3-.9-.5-1.9-.9-2.8-1.3-9-4-18.9-6.2-29-6.2H201c-39.8 0-73 32.2-73 72v880c0 39.8 33.2 72 73 72h623c39.8 0 71-32.2 71-72V352.5c0-19-7-37.2-20.4-50.7zM583 110.4L783.8 312H583V110.4zM823 952H200V72h311v240c0 39.8 33.2 72 73 72h239v568zM350 696.5c0 24.2-7.5 31.4-21.9 31.4-9 0-18.4-5.8-24.8-18.5L272.9 732c13.4 22.9 32.3 34.2 61.3 34.2 41.6 0 60.8-29.9 60.8-66.2V577h-45v119.5zM501.3 577H437v186h44v-62h21.6c39.1 0 73.1-19.6 73.1-63.6 0-45.8-33.5-60.4-74.4-60.4zm-.8 89H481v-53h18.2c21.5 0 33.4 6.2 33.4 24.9 0 18.1-10.5 28.1-32.1 28.1zm182.5-9v36h30v30.1c-4 2.9-11 4.7-17.7 4.7-34.3 0-50.7-21.4-50.7-58.2 0-36.1 19.7-57.4 47.1-57.4 15.3 0 25 6.2 34 14.4l23.7-28.3c-12.7-12.8-32.1-24.2-59.2-24.2-49.6 0-91.1 35.3-91.1 97 0 62.7 40 95.1 91.5 95.1 25.9 0 49.2-10.2 61.5-22.6V657H683z" /></svg>'},Ei={name:"file-image",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M553.1 509.1l-77.8 99.2-41.1-52.4a8 8 0 00-12.6 0l-99.8 127.2a7.98 7.98 0 006.3 12.9H696c6.7 0 10.4-7.7 6.3-12.9l-136.5-174a8.1 8.1 0 00-12.7 0zM360 442a40 40 0 1080 0 40 40 0 10-80 0zm494.6-153.4L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z" /></svg>'},Ti={name:"file",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M854.6 288.7c6 6 9.4 14.1 9.4 22.6V928c0 17.7-14.3 32-32 32H192c-17.7 0-32-14.3-32-32V96c0-17.7 14.3-32 32-32h424.7c8.5 0 16.7 3.4 22.7 9.4l215.2 215.3zM790.2 326L602 137.8V326h188.2z" /></svg>'},ji={name:"eye",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M396 512a112 112 0 10224 0 112 112 0 10-224 0zm546.2-25.8C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM508 688c-97.2 0-176-78.8-176-176s78.8-176 176-176 176 78.8 176 176-78.8 176-176 176z" /></svg>'},Di={name:"file-image",theme:"twotone",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M534 352V136H232v752h560V394H576a42 42 0 01-42-42zm-134 50c22.1 0 40 17.9 40 40s-17.9 40-40 40-40-17.9-40-40 17.9-40 40-40zm296 294H328.1c-6.7 0-10.4-7.7-6.3-12.9l99.8-127.2a8 8 0 0112.6 0l41.1 52.4 77.8-99.2a8.1 8.1 0 0112.7 0l136.5 174c4.1 5.2.4 12.9-6.3 12.9z" fill="#E6E6E6" /><path d="M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM602 137.8L790.2 326H602V137.8zM792 888H232V136h302v216a42 42 0 0042 42h216v494z" fill="#333" /><path d="M553.1 509.1l-77.8 99.2-41.1-52.4a8 8 0 00-12.6 0l-99.8 127.2a7.98 7.98 0 006.3 12.9H696c6.7 0 10.4-7.7 6.3-12.9l-136.5-174a8.1 8.1 0 00-12.7 0zM360 442a40 40 0 1080 0 40 40 0 10-80 0z" fill="#333" /></svg>'},Ai={name:"file-excel",theme:"twotone",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M534 352V136H232v752h560V394H576a42 42 0 01-42-42zm51.6 120h35.7a12.04 12.04 0 0110.1 18.5L546.1 623l84 130.4c3.6 5.6 2 13-3.6 16.6-2 1.2-4.2 1.9-6.5 1.9h-37.5c-4.1 0-8-2.1-10.2-5.7L510 664.8l-62.7 101.5c-2.2 3.5-6 5.7-10.2 5.7h-34.5a12.04 12.04 0 01-10.2-18.4l83.4-132.8-82.3-130.4c-3.6-5.7-1.9-13.1 3.7-16.6 1.9-1.3 4.1-1.9 6.4-1.9H442c4.2 0 8.1 2.2 10.3 5.8l61.8 102.4 61.2-102.3c2.2-3.6 6.1-5.8 10.3-5.8z" fill="#E6E6E6" /><path d="M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM602 137.8L790.2 326H602V137.8zM792 888H232V136h302v216a42 42 0 0042 42h216v494z" fill="#333" /><path d="M514.1 580.1l-61.8-102.4c-2.2-3.6-6.1-5.8-10.3-5.8h-38.4c-2.3 0-4.5.6-6.4 1.9-5.6 3.5-7.3 10.9-3.7 16.6l82.3 130.4-83.4 132.8a12.04 12.04 0 0010.2 18.4h34.5c4.2 0 8-2.2 10.2-5.7L510 664.8l62.3 101.4c2.2 3.6 6.1 5.7 10.2 5.7H620c2.3 0 4.5-.7 6.5-1.9 5.6-3.6 7.2-11 3.6-16.6l-84-130.4 85.3-132.5a12.04 12.04 0 00-10.1-18.5h-35.7c-4.2 0-8.1 2.2-10.3 5.8l-61.2 102.3z" fill="#333" /></svg>'},Li={name:"file",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z" /></svg>'},zi={name:"file-protect",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M644.7 669.2a7.92 7.92 0 00-6.5-3.3H594c-6.5 0-10.3 7.4-6.5 12.7l73.8 102.1c3.2 4.4 9.7 4.4 12.9 0l114.2-158c3.8-5.3 0-12.7-6.5-12.7h-44.3c-2.6 0-5 1.2-6.5 3.3l-63.5 87.8-22.9-31.9zM688 306v-48c0-4.4-3.6-8-8-8H296c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8zm-392 88c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H296zm184 458H208V148h560v296c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V108c0-17.7-14.3-32-32-32H168c-17.7 0-32 14.3-32 32v784c0 17.7 14.3 32 32 32h312c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm402.6-320.8l-192-66.7c-.9-.3-1.7-.4-2.6-.4s-1.8.1-2.6.4l-192 66.7a7.96 7.96 0 00-5.4 7.5v251.1c0 2.5 1.1 4.8 3.1 6.3l192 150.2c1.4 1.1 3.2 1.7 4.9 1.7s3.5-.6 4.9-1.7l192-150.2c1.9-1.5 3.1-3.8 3.1-6.3V538.7c0-3.4-2.2-6.4-5.4-7.5zM826 763.7L688 871.6 550 763.7V577l138-48 138 48v186.7z" /></svg>'},Pi={name:"file-ppt",theme:"twotone",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M464.5 516.2v108.4h38.9c44.7 0 71.2-10.9 71.2-54.3 0-34.4-20.1-54.1-53.9-54.1h-56.2z" fill="#E6E6E6" /><path d="M534 352V136H232v752h560V394H576a42 42 0 01-42-42zm90 218.4c0 55.2-36.8 94.1-96.2 94.1h-63.3V760c0 4.4-3.6 8-8 8H424c-4.4 0-8-3.6-8-8V484c0-4.4 3.6-8 8-8v.1h104c59.7 0 96 39.8 96 94.3z" fill="#E6E6E6" /><path d="M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM602 137.8L790.2 326H602V137.8zM792 888H232V136h302v216a42 42 0 0042 42h216v494z" fill="#333" /><path d="M424 476.1c-4.4-.1-8 3.5-8 7.9v276c0 4.4 3.6 8 8 8h32.5c4.4 0 8-3.6 8-8v-95.5h63.3c59.4 0 96.2-38.9 96.2-94.1 0-54.5-36.3-94.3-96-94.3H424zm150.6 94.2c0 43.4-26.5 54.3-71.2 54.3h-38.9V516.2h56.2c33.8 0 53.9 19.7 53.9 54.1z" fill="#333" /></svg>'},Ii={name:"file-sync",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M296 256c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H296zm192 200v-48c0-4.4-3.6-8-8-8H296c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8zm-48 396H208V148h560v344c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V108c0-17.7-14.3-32-32-32H168c-17.7 0-32 14.3-32 32v784c0 17.7 14.3 32 32 32h272c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm104.1-115.6c1.8-34.5 16.2-66.8 40.8-91.4 26.2-26.2 62-41 99.1-41 37.4 0 72.6 14.6 99.1 41 3.2 3.2 6.3 6.6 9.2 10.1L769.2 673a8 8 0 003 14.1l93.3 22.5c5 1.2 9.8-2.6 9.9-7.7l.6-95.4a8 8 0 00-12.9-6.4l-20.3 15.8C805.4 569.6 748.1 540 684 540c-109.9 0-199.6 86.9-204 195.7-.2 4.5 3.5 8.3 8 8.3h48.1c4.3 0 7.8-3.3 8-7.6zM880 744h-48.1c-4.3 0-7.8 3.3-8 7.6-1.8 34.5-16.2 66.8-40.8 91.4-26.2 26.2-62 41-99.1 41-37.4 0-72.6-14.6-99.1-41-3.2-3.2-6.3-6.6-9.2-10.1l23.1-17.9a8 8 0 00-3-14.1l-93.3-22.5c-5-1.2-9.8 2.6-9.9 7.7l-.6 95.4a8 8 0 0012.9 6.4l20.3-15.8C562.6 918.4 619.9 948 684 948c109.9 0 199.6-86.9 204-195.7.2-4.5-3.5-8.3-8-8.3z" /></svg>'},Ri={name:"file-unknown",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M854.6 288.7L639.4 73.4c-6-6-14.2-9.4-22.7-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.6-9.4-22.6zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494zM402 549c0 5.4 4.4 9.5 9.8 9.5h32.4c5.4 0 9.8-4.2 9.8-9.4 0-28.2 25.8-51.6 58-51.6s58 23.4 58 51.5c0 25.3-21 47.2-49.3 50.9-19.3 2.8-34.5 20.3-34.7 40.1v32c0 5.5 4.5 10 10 10h32c5.5 0 10-4.5 10-10v-12.2c0-6 4-11.5 9.7-13.3 44.6-14.4 75-54 74.3-98.9-.8-55.5-49.2-100.8-108.5-101.6-61.4-.7-111.5 45.6-111.5 103zm78 195a32 32 0 1064 0 32 32 0 10-64 0z" /></svg>'},Ni={name:"eye-invisible",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zm-63.57-320.64L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z" /><path d="M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z" /></svg>'},Hi={name:"file-ppt",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M854.6 288.7c6 6 9.4 14.1 9.4 22.6V928c0 17.7-14.3 32-32 32H192c-17.7 0-32-14.3-32-32V96c0-17.7 14.3-32 32-32h424.7c8.5 0 16.7 3.4 22.7 9.4l215.2 215.3zM790.2 326L602 137.8V326h188.2zM468.53 760v-91.54h59.27c60.57 0 100.2-39.65 100.2-98.12 0-58.22-39.58-98.34-99.98-98.34H424a12 12 0 00-12 12v276a12 12 0 0012 12h32.53a12 12 0 0012-12zm0-139.33h34.9c47.82 0 67.19-12.93 67.19-50.33 0-32.05-18.12-50.12-49.87-50.12h-52.22v100.45z" /></svg>'},Fi={name:"file-text",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494zM504 618H320c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zM312 490v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H320c-4.4 0-8 3.6-8 8z" /></svg>'},Vi={name:"export",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M888.3 757.4h-53.8c-4.2 0-7.7 3.5-7.7 7.7v61.8H197.1V197.1h629.8v61.8c0 4.2 3.5 7.7 7.7 7.7h53.8c4.2 0 7.7-3.4 7.7-7.7V158.7c0-17-13.7-30.7-30.7-30.7H158.7c-17 0-30.7 13.7-30.7 30.7v706.6c0 17 13.7 30.7 30.7 30.7h706.6c17 0 30.7-13.7 30.7-30.7V765.1c0-4.3-3.5-7.7-7.7-7.7zm18.6-251.7L765 393.7c-5.3-4.2-13-.4-13 6.3v76H438c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h314v76c0 6.7 7.8 10.5 13 6.3l141.9-112a8 8 0 000-12.6z" /></svg>'},Bi={name:"file-image",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M854.6 288.7L639.4 73.4c-6-6-14.2-9.4-22.7-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.6-9.4-22.6zM400 402c22.1 0 40 17.9 40 40s-17.9 40-40 40-40-17.9-40-40 17.9-40 40-40zm296 294H328c-6.7 0-10.4-7.7-6.3-12.9l99.8-127.2a8 8 0 0112.6 0l41.1 52.4 77.8-99.2a8 8 0 0112.6 0l136.5 174c4.3 5.2.5 12.9-6.1 12.9zm-94-370V137.8L790.2 326H602z" /></svg>'},Yi={name:"file",theme:"twotone",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M534 352V136H232v752h560V394H576a42 42 0 01-42-42z" fill="#E6E6E6" /><path d="M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM602 137.8L790.2 326H602V137.8zM792 888H232V136h302v216a42 42 0 0042 42h216v494z" fill="#333" /></svg>'},Ui={name:"file-search",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M688 312v-48c0-4.4-3.6-8-8-8H296c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8zm-392 88c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H296zm144 452H208V148h560v344c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V108c0-17.7-14.3-32-32-32H168c-17.7 0-32 14.3-32 32v784c0 17.7 14.3 32 32 32h272c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm445.7 51.5l-93.3-93.3C814.7 780.7 828 743.9 828 704c0-97.2-78.8-176-176-176s-176 78.8-176 176 78.8 176 176 176c35.8 0 69-10.7 96.8-29l94.7 94.7c1.6 1.6 3.6 2.3 5.6 2.3s4.1-.8 5.6-2.3l31-31a7.9 7.9 0 000-11.2zM652 816c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z" /></svg>'},Wi={name:"file-unknown",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M854.6 288.7c6 6 9.4 14.1 9.4 22.6V928c0 17.7-14.3 32-32 32H192c-17.7 0-32-14.3-32-32V96c0-17.7 14.3-32 32-32h424.7c8.5 0 16.7 3.4 22.7 9.4l215.2 215.3zM790.2 326L602 137.8V326h188.2zM402 549c0 5.4 4.4 9.5 9.8 9.5h32.4c5.4 0 9.8-4.2 9.8-9.4 0-28.2 25.8-51.6 58-51.6s58 23.4 58 51.5c0 25.3-21 47.2-49.3 50.9-19.3 2.8-34.5 20.3-34.7 40.1v32c0 5.5 4.5 10 10 10h32c5.5 0 10-4.5 10-10v-12.2c0-6 4-11.5 9.7-13.3 44.6-14.4 75-54 74.3-98.9-.8-55.5-49.2-100.8-108.5-101.6-61.4-.7-111.5 45.6-111.5 103zm110 227a32 32 0 100-64 32 32 0 000 64z" /></svg>'},qi={name:"file-word",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M854.6 288.7c6 6 9.4 14.1 9.4 22.6V928c0 17.7-14.3 32-32 32H192c-17.7 0-32-14.3-32-32V96c0-17.7 14.3-32 32-32h424.7c8.5 0 16.7 3.4 22.7 9.4l215.2 215.3zM790.2 326L602 137.8V326h188.2zM512 566.1l52.81 197a12 12 0 0011.6 8.9h31.77a12 12 0 0011.6-8.88l74.37-276a12 12 0 00.4-3.12 12 12 0 00-12-12h-35.57a12 12 0 00-11.7 9.31l-45.78 199.1-49.76-199.32A12 12 0 00528.1 472h-32.2a12 12 0 00-11.64 9.1L434.6 680.01 388.5 481.3a12 12 0 00-11.68-9.29h-35.39a12 12 0 00-3.11.41 12 12 0 00-8.47 14.7l74.17 276A12 12 0 00415.6 772h31.99a12 12 0 0011.59-8.9l52.81-197z" /></svg>'},$i={name:"file-word",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494zM528.1 472h-32.2c-5.5 0-10.3 3.7-11.6 9.1L434.6 680l-46.1-198.7c-1.3-5.4-6.1-9.3-11.7-9.3h-35.4a12.02 12.02 0 00-11.6 15.1l74.2 276c1.4 5.2 6.2 8.9 11.6 8.9h32c5.4 0 10.2-3.6 11.6-8.9l52.8-197 52.8 197c1.4 5.2 6.2 8.9 11.6 8.9h31.8c5.4 0 10.2-3.6 11.6-8.9l74.4-276a12.04 12.04 0 00-11.6-15.1H647c-5.6 0-10.4 3.9-11.7 9.3l-45.8 199.1-49.8-199.3c-1.3-5.4-6.1-9.1-11.6-9.1z" /></svg>'},Gi={name:"file-zip",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M296 392h64v64h-64zm0 190v160h128V582h-64v-62h-64v62zm80 48v64h-32v-64h32zm-16-302h64v64h-64zm-64-64h64v64h-64zm64 192h64v64h-64zm0-256h64v64h-64zm494.6 88.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h64v64h64v-64h174v216a42 42 0 0042 42h216v494z" /></svg>'},Xi={name:"file-zip",theme:"twotone",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M344 630h32v2h-32z" fill="#E6E6E6" /><path d="M534 352V136H360v64h64v64h-64v64h64v64h-64v64h64v64h-64v62h64v160H296V520h64v-64h-64v-64h64v-64h-64v-64h64v-64h-64v-64h-64v752h560V394H576a42 42 0 01-42-42z" fill="#E6E6E6" /><path d="M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM602 137.8L790.2 326H602V137.8zM792 888H232V136h64v64h64v-64h174v216a42 42 0 0042 42h216v494z" fill="#333" /><path d="M296 392h64v64h-64zm0-128h64v64h-64zm0 318v160h128V582h-64v-62h-64v62zm48 50v-2h32v64h-32v-62zm16-432h64v64h-64zm0 256h64v64h-64zm0-128h64v64h-64z" fill="#333" /></svg>'},Ki={name:"file-word",theme:"twotone",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M534 352V136H232v752h560V394H576a42 42 0 01-42-42zm101.3 129.3c1.3-5.4 6.1-9.3 11.7-9.3h35.6a12.04 12.04 0 0111.6 15.1l-74.4 276c-1.4 5.3-6.2 8.9-11.6 8.9h-31.8c-5.4 0-10.2-3.7-11.6-8.9l-52.8-197-52.8 197c-1.4 5.3-6.2 8.9-11.6 8.9h-32c-5.4 0-10.2-3.7-11.6-8.9l-74.2-276a12.02 12.02 0 0111.6-15.1h35.4c5.6 0 10.4 3.9 11.7 9.3L434.6 680l49.7-198.9c1.3-5.4 6.1-9.1 11.6-9.1h32.2c5.5 0 10.3 3.7 11.6 9.1l49.8 199.3 45.8-199.1z" fill="#E6E6E6" /><path d="M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM602 137.8L790.2 326H602V137.8zM792 888H232V136h302v216a42 42 0 0042 42h216v494z" fill="#333" /><path d="M528.1 472h-32.2c-5.5 0-10.3 3.7-11.6 9.1L434.6 680l-46.1-198.7c-1.3-5.4-6.1-9.3-11.7-9.3h-35.4a12.02 12.02 0 00-11.6 15.1l74.2 276c1.4 5.2 6.2 8.9 11.6 8.9h32c5.4 0 10.2-3.6 11.6-8.9l52.8-197 52.8 197c1.4 5.2 6.2 8.9 11.6 8.9h31.8c5.4 0 10.2-3.6 11.6-8.9l74.4-276a12.04 12.04 0 00-11.6-15.1H647c-5.6 0-10.4 3.9-11.7 9.3l-45.8 199.1-49.8-199.3c-1.3-5.4-6.1-9.1-11.6-9.1z" fill="#333" /></svg>'},Ji={name:"file-text",theme:"twotone",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M534 352V136H232v752h560V394H576a42 42 0 01-42-42zm-22 322c0 4.4-3.6 8-8 8H320c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h184c4.4 0 8 3.6 8 8v48zm200-184v48c0 4.4-3.6 8-8 8H320c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h384c4.4 0 8 3.6 8 8z" fill="#E6E6E6" /><path d="M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM602 137.8L790.2 326H602V137.8zM792 888H232V136h302v216a42 42 0 0042 42h216v494z" fill="#333" /><path d="M312 490v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H320c-4.4 0-8 3.6-8 8zm192 128H320c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z" fill="#333" /></svg>'},Qi={name:"filter",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M349 838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V642H349v196zm531.1-684H143.9c-24.5 0-39.8 26.7-27.5 48l221.3 376h348.8l221.3-376c12.1-21.3-3.2-48-27.7-48z" /></svg>'},Zi={name:"fire",theme:"twotone",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M737 438.6c-9.6 15.5-21.1 30.7-34.4 45.6a73.1 73.1 0 01-51 24.4 73.36 73.36 0 01-53.4-18.8 74.01 74.01 0 01-24.4-59.8c3-47.4-12.4-103.1-45.8-165.7-16.9-31.4-37.1-58.2-61.2-80.4a240 240 0 01-12.1 46.5 354.26 354.26 0 01-58.2 101 349.6 349.6 0 01-58.6 56.8c-34 26.1-62 60-80.8 97.9a275.96 275.96 0 00-29.1 124c0 74.9 29.5 145.3 83 198.4 53.7 53.2 125 82.4 201 82.4s147.3-29.2 201-82.4c53.5-53 83-123.5 83-198.4 0-39.2-8.1-77.3-24-113.1-9.3-21-21-40.5-35-58.4z" fill="#E6E6E6" /><path d="M834.1 469.2A347.49 347.49 0 00751.2 354l-29.1-26.7a8.09 8.09 0 00-13 3.3l-13 37.3c-8.1 23.4-23 47.3-44.1 70.8-1.4 1.5-3 1.9-4.1 2-1.1.1-2.8-.1-4.3-1.5-1.4-1.2-2.1-3-2-4.8 3.7-60.2-14.3-128.1-53.7-202C555.3 171 510 123.1 453.4 89.7l-41.3-24.3c-5.4-3.2-12.3 1-12 7.3l2.2 48c1.5 32.8-2.3 61.8-11.3 85.9-11 29.5-26.8 56.9-47 81.5a295.64 295.64 0 01-47.5 46.1 352.6 352.6 0 00-100.3 121.5A347.75 347.75 0 00160 610c0 47.2 9.3 92.9 27.7 136a349.4 349.4 0 0075.5 110.9c32.4 32 70 57.2 111.9 74.7C418.5 949.8 464.5 959 512 959s93.5-9.2 136.9-27.3A348.6 348.6 0 00760.8 857c32.4-32 57.8-69.4 75.5-110.9a344.2 344.2 0 0027.7-136c0-48.8-10-96.2-29.9-140.9zM713 808.5c-53.7 53.2-125 82.4-201 82.4s-147.3-29.2-201-82.4c-53.5-53.1-83-123.5-83-198.4 0-43.5 9.8-85.2 29.1-124 18.8-37.9 46.8-71.8 80.8-97.9a349.6 349.6 0 0058.6-56.8c25-30.5 44.6-64.5 58.2-101a240 240 0 0012.1-46.5c24.1 22.2 44.3 49 61.2 80.4 33.4 62.6 48.8 118.3 45.8 165.7a74.01 74.01 0 0024.4 59.8 73.36 73.36 0 0053.4 18.8c19.7-1 37.8-9.7 51-24.4 13.3-14.9 24.8-30.1 34.4-45.6 14 17.9 25.7 37.4 35 58.4 15.9 35.8 24 73.9 24 113.1 0 74.9-29.5 145.4-83 198.4z" fill="#333" /></svg>'},es={name:"filter",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M880.1 154H143.9c-24.5 0-39.8 26.7-27.5 48L349 597.4V838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V597.4L907.7 202c12.2-21.3-3.1-48-27.6-48zM603.4 798H420.6V642h182.9v156zm9.6-236.6l-9.5 16.6h-183l-9.5-16.6L212.7 226h598.6L613 561.4z" /></svg>'},ts={name:"flag",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M880 305H624V192c0-17.7-14.3-32-32-32H184v-40c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v784c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V640h248v113c0 17.7 14.3 32 32 32h416c17.7 0 32-14.3 32-32V337c0-17.7-14.3-32-32-32z" /></svg>'},ns={name:"flag",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M880 305H624V192c0-17.7-14.3-32-32-32H184v-40c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v784c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V640h248v113c0 17.7 14.3 32 32 32h416c17.7 0 32-14.3 32-32V337c0-17.7-14.3-32-32-32zM184 568V232h368v336H184zm656 145H504v-73h112c4.4 0 8-3.6 8-8V377h216v336z" /></svg>'},rs={name:"folder-add",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M484 443.1V528h-84.5c-4.1 0-7.5 3.1-7.5 7v42c0 3.8 3.4 7 7.5 7H484v84.9c0 3.9 3.2 7.1 7 7.1h42c3.9 0 7-3.2 7-7.1V584h84.5c4.1 0 7.5-3.2 7.5-7v-42c0-3.9-3.4-7-7.5-7H540v-84.9c0-3.9-3.1-7.1-7-7.1h-42c-3.8 0-7 3.2-7 7.1zm396-144.7H521L403.7 186.2a8.15 8.15 0 00-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32zM840 768H184V256h188.5l119.6 114.4H840V768z" /></svg>'},is={name:"folder-add",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M880 298.4H521L403.7 186.2a8.15 8.15 0 00-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32zM632 577c0 3.8-3.4 7-7.5 7H540v84.9c0 3.9-3.2 7.1-7 7.1h-42c-3.8 0-7-3.2-7-7.1V584h-84.5c-4.1 0-7.5-3.2-7.5-7v-42c0-3.8 3.4-7 7.5-7H484v-84.9c0-3.9 3.2-7.1 7-7.1h42c3.8 0 7 3.2 7 7.1V528h84.5c4.1 0 7.5 3.2 7.5 7v42z" /></svg>'},ss={name:"folder-open",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M928 444H820V330.4c0-17.7-14.3-32-32-32H473L355.7 186.2a8.15 8.15 0 00-5.5-2.2H96c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h698c13 0 24.8-7.9 29.7-20l134-332c1.5-3.8 2.3-7.9 2.3-12 0-17.7-14.3-32-32-32zm-180 0H238c-13 0-24.8 7.9-29.7 20L136 643.2V256h188.5l119.6 114.4H748V444z" /></svg>'},os={name:"fire",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M834.1 469.2A347.49 347.49 0 00751.2 354l-29.1-26.7a8.09 8.09 0 00-13 3.3l-13 37.3c-8.1 23.4-23 47.3-44.1 70.8-1.4 1.5-3 1.9-4.1 2-1.1.1-2.8-.1-4.3-1.5-1.4-1.2-2.1-3-2-4.8 3.7-60.2-14.3-128.1-53.7-202C555.3 171 510 123.1 453.4 89.7l-41.3-24.3c-5.4-3.2-12.3 1-12 7.3l2.2 48c1.5 32.8-2.3 61.8-11.3 85.9-11 29.5-26.8 56.9-47 81.5a295.64 295.64 0 01-47.5 46.1 352.6 352.6 0 00-100.3 121.5A347.75 347.75 0 00160 610c0 47.2 9.3 92.9 27.7 136a349.4 349.4 0 0075.5 110.9c32.4 32 70 57.2 111.9 74.7C418.5 949.8 464.5 959 512 959s93.5-9.2 136.9-27.3A348.6 348.6 0 00760.8 857c32.4-32 57.8-69.4 75.5-110.9a344.2 344.2 0 0027.7-136c0-48.8-10-96.2-29.9-140.9zM713 808.5c-53.7 53.2-125 82.4-201 82.4s-147.3-29.2-201-82.4c-53.5-53.1-83-123.5-83-198.4 0-43.5 9.8-85.2 29.1-124 18.8-37.9 46.8-71.8 80.8-97.9a349.6 349.6 0 0058.6-56.8c25-30.5 44.6-64.5 58.2-101a240 240 0 0012.1-46.5c24.1 22.2 44.3 49 61.2 80.4 33.4 62.6 48.8 118.3 45.8 165.7a74.01 74.01 0 0024.4 59.8 73.36 73.36 0 0053.4 18.8c19.7-1 37.8-9.7 51-24.4 13.3-14.9 24.8-30.1 34.4-45.6 14 17.9 25.7 37.4 35 58.4 15.9 35.8 24 73.9 24 113.1 0 74.9-29.5 145.4-83 198.4z" /></svg>'},as={name:"folder-add",theme:"twotone",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M372.5 256H184v512h656V370.4H492.1L372.5 256zM540 443.1V528h84.5c4.1 0 7.5 3.1 7.5 7v42c0 3.8-3.4 7-7.5 7H540v84.9c0 3.9-3.1 7.1-7 7.1h-42c-3.8 0-7-3.2-7-7.1V584h-84.5c-4.1 0-7.5-3.2-7.5-7v-42c0-3.9 3.4-7 7.5-7H484v-84.9c0-3.9 3.2-7.1 7-7.1h42c3.9 0 7 3.2 7 7.1z" fill="#E6E6E6" /><path d="M880 298.4H521L403.7 186.2a8.15 8.15 0 00-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32zM840 768H184V256h188.5l119.6 114.4H840V768z" fill="#333" /><path d="M484 443.1V528h-84.5c-4.1 0-7.5 3.1-7.5 7v42c0 3.8 3.4 7 7.5 7H484v84.9c0 3.9 3.2 7.1 7 7.1h42c3.9 0 7-3.2 7-7.1V584h84.5c4.1 0 7.5-3.2 7.5-7v-42c0-3.9-3.4-7-7.5-7H540v-84.9c0-3.9-3.1-7.1-7-7.1h-42c-3.8 0-7 3.2-7 7.1z" fill="#333" /></svg>'},cs={name:"folder",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M880 298.4H521L403.7 186.2a8.15 8.15 0 00-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32z" /></svg>'},ls={name:"file-pdf",theme:"twotone",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M509.2 490.8c-.7-1.3-1.4-1.9-2.2-2-2.9 3.3-2.2 31.5 2.7 51.4 4-13.6 4.7-40.5-.5-49.4zm-1.6 120.5c-7.7 20-18.8 47.3-32.1 71.4 4-1.6 8.1-3.3 12.3-5 17.6-7.2 37.3-15.3 58.9-20.2-14.9-11.8-28.4-27.7-39.1-46.2z" fill="#E6E6E6" /><path d="M534 352V136H232v752h560V394H576a42 42 0 01-42-42zm55 287.6c16.1-1.9 30.6-2.8 44.3-2.3 12.8.4 23.6 2 32 5.1.2.1.3.1.5.2.4.2.8.3 1.2.5.5.2 1.1.4 1.6.7.1.1.3.1.4.2 4.1 1.8 7.5 4 10.1 6.6 9.1 9.1 11.8 26.1 6.2 39.6-3.2 7.7-11.7 20.5-33.3 20.5-21.8 0-53.9-9.7-82.1-24.8-25.5 4.3-53.7 13.9-80.9 23.1-5.8 2-11.8 4-17.6 5.9-38 65.2-66.5 79.4-84.1 79.4-4.2 0-7.8-.9-10.8-2-6.9-2.6-12.8-8-16.5-15-.9-1.7-1.6-3.4-2.2-5.2-1.6-4.8-2.1-9.6-1.3-13.6l.6-2.7c.1-.2.1-.4.2-.6.2-.7.4-1.4.7-2.1 0-.1.1-.2.1-.3 4.1-11.9 13.6-23.4 27.7-34.6 12.3-9.8 27.1-18.7 45.9-28.4 15.9-28 37.6-75.1 51.2-107.4-10.8-41.8-16.7-74.6-10.1-98.6.9-3.3 2.5-6.4 4.6-9.1.2-.2.3-.4.5-.6.1-.1.1-.2.2-.2 6.3-7.5 16.9-11.9 28.1-11.5 16.6.7 29.7 11.5 33 30.1 1.7 8 2.2 16.5 1.9 25.7v.7c0 .5 0 1-.1 1.5-.7 13.3-3 26.6-7.3 44.7-.4 1.6-.8 3.2-1.2 5.2l-1 4.1-.1.3c.1.2.1.3.2.5l1.8 4.5c.1.3.3.7.4 1 .7 1.6 1.4 3.3 2.1 4.8v.1c8.7 18.8 19.7 33.4 33.9 45.1 4.3 3.5 8.9 6.7 13.9 9.8 1.8-.5 3.5-.7 5.3-.9z" fill="#E6E6E6" /><path d="M391.5 761c5.7-4.4 16.2-14.5 30.1-34.7-10.3 9.4-23.4 22.4-30.1 34.7zm270.9-83l.2-.3h.2c.6-.4.5-.7.4-.9-.1-.1-4.5-9.3-45.1-7.4 35.3 13.9 43.5 9.1 44.3 8.6z" fill="#E6E6E6" /><path d="M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM602 137.8L790.2 326H602V137.8zM792 888H232V136h302v216a42 42 0 0042 42h216v494z" fill="#333" /><path d="M535.9 585.3c-.8-1.7-1.5-3.3-2.2-4.9-.1-.3-.3-.7-.4-1l-1.8-4.5c-.1-.2-.1-.3-.2-.5l.1-.3.2-1.1c4-16.3 8.6-35.3 9.4-54.4v-.7c.3-8.6-.2-17.2-2-25.6-3.8-21.3-19.5-29.6-32.9-30.2-11.3-.5-21.8 4-28.1 11.4-.1.1-.1.2-.2.2-.2.2-.4.4-.5.6-2.1 2.7-3.7 5.8-4.6 9.1-6.6 24-.7 56.8 10.1 98.6-13.6 32.4-35.3 79.4-51.2 107.4v.1c-27.7 14.3-64.1 35.8-73.6 62.9 0 .1-.1.2-.1.3-.2.7-.5 1.4-.7 2.1-.1.2-.1.4-.2.6-.2.9-.5 1.8-.6 2.7-.9 4-.4 8.8 1.3 13.6.6 1.8 1.3 3.5 2.2 5.2 3.7 7 9.6 12.4 16.5 15 3 1.1 6.6 2 10.8 2 17.6 0 46.1-14.2 84.1-79.4 5.8-1.9 11.8-3.9 17.6-5.9 27.2-9.2 55.4-18.8 80.9-23.1 28.2 15.1 60.3 24.8 82.1 24.8 21.6 0 30.1-12.8 33.3-20.5 5.6-13.5 2.9-30.5-6.2-39.6-2.6-2.6-6-4.8-10.1-6.6-.1-.1-.3-.1-.4-.2-.5-.2-1.1-.4-1.6-.7-.4-.2-.8-.3-1.2-.5-.2-.1-.3-.1-.5-.2-16.2-5.8-41.7-6.7-76.3-2.8l-5.3.6c-5-3-9.6-6.3-13.9-9.8-14.2-11.3-25.1-25.8-33.8-44.7zM391.5 761c6.7-12.3 19.8-25.3 30.1-34.7-13.9 20.2-24.4 30.3-30.1 34.7zM507 488.8c.8.1 1.5.7 2.2 2 5.2 8.9 4.5 35.8.5 49.4-4.9-19.9-5.6-48.1-2.7-51.4zm-19.2 188.9c-4.2 1.7-8.3 3.4-12.3 5 13.3-24.1 24.4-51.4 32.1-71.4 10.7 18.5 24.2 34.4 39.1 46.2-21.6 4.9-41.3 13-58.9 20.2zm175.4-.9c.1.2.2.5-.4.9h-.2l-.2.3c-.8.5-9 5.3-44.3-8.6 40.6-1.9 45 7.3 45.1 7.4z" fill="#333" /></svg>'},us={name:"flag",theme:"twotone",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M184 232h368v336H184z" fill="#E6E6E6" /><path d="M624 632c0 4.4-3.6 8-8 8H504v73h336V377H624v255z" fill="#E6E6E6" /><path d="M880 305H624V192c0-17.7-14.3-32-32-32H184v-40c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v784c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V640h248v113c0 17.7 14.3 32 32 32h416c17.7 0 32-14.3 32-32V337c0-17.7-14.3-32-32-32zM184 568V232h368v336H184zm656 145H504v-73h112c4.4 0 8-3.6 8-8V377h216v336z" fill="#333" /></svg>'},hs={name:"fire",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M834.1 469.2A347.49 347.49 0 00751.2 354l-29.1-26.7a8.09 8.09 0 00-13 3.3l-13 37.3c-8.1 23.4-23 47.3-44.1 70.8-1.4 1.5-3 1.9-4.1 2-1.1.1-2.8-.1-4.3-1.5-1.4-1.2-2.1-3-2-4.8 3.7-60.2-14.3-128.1-53.7-202C555.3 171 510 123.1 453.4 89.7l-41.3-24.3c-5.4-3.2-12.3 1-12 7.3l2.2 48c1.5 32.8-2.3 61.8-11.3 85.9-11 29.5-26.8 56.9-47 81.5a295.64 295.64 0 01-47.5 46.1 352.6 352.6 0 00-100.3 121.5A347.75 347.75 0 00160 610c0 47.2 9.3 92.9 27.7 136a349.4 349.4 0 0075.5 110.9c32.4 32 70 57.2 111.9 74.7C418.5 949.8 464.5 959 512 959s93.5-9.2 136.9-27.3A348.6 348.6 0 00760.8 857c32.4-32 57.8-69.4 75.5-110.9a344.2 344.2 0 0027.7-136c0-48.8-10-96.2-29.9-140.9z" /></svg>'},ds={name:"folder-view",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><defs><style /></defs><path d="M309.1 554.3a42.92 42.92 0 000 36.4C353.3 684 421.6 732 512.5 732s159.2-48.1 203.4-141.3c5.4-11.5 5.4-24.8.1-36.3l-.1-.1-.1-.1C671.7 461 603.4 413 512.5 413s-159.2 48.1-203.4 141.3zM512.5 477c62.1 0 107.4 30 141.1 95.5C620 638 574.6 668 512.5 668s-107.4-30-141.1-95.5c33.7-65.5 79-95.5 141.1-95.5z" /><path d="M457 573a56 56 0 10112 0 56 56 0 10-112 0z" /><path d="M880 298.4H521L403.7 186.2a8.15 8.15 0 00-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32zM840 768H184V256h188.5l119.6 114.4H840V768z" /></svg>'},fs={name:"filter",theme:"twotone",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M420.6 798h182.9V642H420.6zM411 561.4l9.5 16.6h183l9.5-16.6L811.3 226H212.7z" fill="#E6E6E6" /><path d="M880.1 154H143.9c-24.5 0-39.8 26.7-27.5 48L349 597.4V838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V597.4L907.7 202c12.2-21.3-3.1-48-27.6-48zM603.5 798H420.6V642h182.9v156zm9.5-236.6l-9.5 16.6h-183l-9.5-16.6L212.7 226h598.6L613 561.4z" fill="#333" /></svg>'},ps={name:"folder",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M880 298.4H521L403.7 186.2a8.15 8.15 0 00-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32zM840 768H184V256h188.5l119.6 114.4H840V768z" /></svg>'},ms={name:"folder-open",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M928 444H820V330.4c0-17.7-14.3-32-32-32H473L355.7 186.2a8.15 8.15 0 00-5.5-2.2H96c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h698c13 0 24.8-7.9 29.7-20l134-332c1.5-3.8 2.3-7.9 2.3-12 0-17.7-14.3-32-32-32zM136 256h188.5l119.6 114.4H748V444H238c-13 0-24.8 7.9-29.7 20L136 643.2V256zm635.3 512H159l103.3-256h612.4L771.3 768z" /></svg>'},gs={name:"fork",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M752 100c-61.8 0-112 50.2-112 112 0 47.7 29.9 88.5 72 104.6v27.6L512 601.4 312 344.2v-27.6c42.1-16.1 72-56.9 72-104.6 0-61.8-50.2-112-112-112s-112 50.2-112 112c0 50.6 33.8 93.5 80 107.3v34.4c0 9.7 3.3 19.3 9.3 27L476 672.3v33.6c-44.2 15-76 56.9-76 106.1 0 61.8 50.2 112 112 112s112-50.2 112-112c0-49.2-31.8-91-76-106.1v-33.6l226.7-291.6c6-7.7 9.3-17.3 9.3-27v-34.4c46.2-13.8 80-56.7 80-107.3 0-61.8-50.2-112-112-112zM224 212a48.01 48.01 0 0196 0 48.01 48.01 0 01-96 0zm336 600a48.01 48.01 0 01-96 0 48.01 48.01 0 0196 0zm192-552a48.01 48.01 0 010-96 48.01 48.01 0 010 96z" /></svg>'},vs={name:"folder",theme:"twotone",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M880 298.4H521L403.7 186.2a8.15 8.15 0 00-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32zM840 768H184V256h188.5l119.6 114.4H840V768z" fill="#333" /><path d="M372.5 256H184v512h656V370.4H492.1z" fill="#E6E6E6" /></svg>'},ys={name:"form",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M904 512h-56c-4.4 0-8 3.6-8 8v320H184V184h320c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V520c0-4.4-3.6-8-8-8z" /><path d="M355.9 534.9L354 653.8c-.1 8.9 7.1 16.2 16 16.2h.4l118-2.9c2-.1 4-.9 5.4-2.3l415.9-415c3.1-3.1 3.1-8.2 0-11.3L785.4 114.3c-1.6-1.6-3.6-2.3-5.7-2.3s-4.1.8-5.7 2.3l-415.8 415a8.3 8.3 0 00-2.3 5.6zm63.5 23.6L779.7 199l45.2 45.1-360.5 359.7-45.7 1.1.7-46.4z" /></svg>'},bs={name:"format-painter",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><defs><style /></defs><path d="M840 192h-56v-72c0-13.3-10.7-24-24-24H168c-13.3 0-24 10.7-24 24v272c0 13.3 10.7 24 24 24h592c13.3 0 24-10.7 24-24V256h32v200H465c-22.1 0-40 17.9-40 40v136h-44c-4.4 0-8 3.6-8 8v228c0 .6.1 1.3.2 1.9A83.99 83.99 0 00457 960c46.4 0 84-37.6 84-84 0-2.1-.1-4.1-.2-6.1.1-.6.2-1.2.2-1.9V640c0-4.4-3.6-8-8-8h-44V520h351c22.1 0 40-17.9 40-40V232c0-22.1-17.9-40-40-40zM720 352H208V160h512v192zM477 876c0 11-9 20-20 20s-20-9-20-20V696h40v180z" /></svg>'},_s={name:"font-size",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M920 416H616c-4.4 0-8 3.6-8 8v112c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-56h60v320h-46c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h164c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8h-46V480h60v56c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V424c0-4.4-3.6-8-8-8zM656 296V168c0-4.4-3.6-8-8-8H104c-4.4 0-8 3.6-8 8v128c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-64h168v560h-92c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h264c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-92V232h168v64c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8z" /></svg>'},ws={name:"folder-open",theme:"twotone",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M159 768h612.3l103.4-256H262.3z" fill="#E6E6E6" /><path d="M928 444H820V330.4c0-17.7-14.3-32-32-32H473L355.7 186.2a8.15 8.15 0 00-5.5-2.2H96c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h698c13 0 24.8-7.9 29.7-20l134-332c1.5-3.8 2.3-7.9 2.3-12 0-17.7-14.3-32-32-32zM136 256h188.5l119.6 114.4H748V444H238c-13 0-24.8 7.9-29.7 20L136 643.2V256zm635.3 512H159l103.3-256h612.4L771.3 768z" fill="#333" /></svg>'},Ss={name:"frown",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zM288 421a48.01 48.01 0 0196 0 48.01 48.01 0 01-96 0zm376 272h-48.1c-4.2 0-7.8-3.2-8.1-7.4C604 636.1 562.5 597 512 597s-92.1 39.1-95.8 88.6c-.3 4.2-3.9 7.4-8.1 7.4H360a8 8 0 01-8-8.4c4.4-84.3 74.5-151.6 160-151.6s155.6 67.3 160 151.6a8 8 0 01-8 8.4zm24-224a48.01 48.01 0 010-96 48.01 48.01 0 010 96z" /></svg>'},xs={name:"font-colors",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M904 816H120c-4.4 0-8 3.6-8 8v80c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-80c0-4.4-3.6-8-8-8zm-650.3-80h85c4.2 0 8-2.7 9.3-6.8l53.7-166h219.2l53.2 166c1.3 4 5 6.8 9.3 6.8h89.1c1.1 0 2.2-.2 3.2-.5a9.7 9.7 0 006-12.4L573.6 118.6a9.9 9.9 0 00-9.2-6.6H462.1c-4.2 0-7.9 2.6-9.2 6.6L244.5 723.1c-.4 1-.5 2.1-.5 3.2-.1 5.3 4.3 9.7 9.7 9.7zm255.9-516.1h4.1l83.8 263.8H424.9l84.7-263.8z" /></svg>'},Os={name:"function",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><defs><style /></defs><path d="M841 370c3-3.3 2.7-8.3-.6-11.3a8.24 8.24 0 00-5.3-2.1h-72.6c-2.4 0-4.6 1-6.1 2.8L633.5 504.6a7.96 7.96 0 01-13.4-1.9l-63.5-141.3a7.9 7.9 0 00-7.3-4.7H380.7l.9-4.7 8-42.3c10.5-55.4 38-81.4 85.8-81.4 18.6 0 35.5 1.7 48.8 4.7l14.1-66.8c-22.6-4.7-35.2-6.1-54.9-6.1-103.3 0-156.4 44.3-175.9 147.3l-9.4 49.4h-97.6c-3.8 0-7.1 2.7-7.8 6.4L181.9 415a8.07 8.07 0 007.8 9.7H284l-89 429.9a8.07 8.07 0 007.8 9.7H269c3.8 0 7.1-2.7 7.8-6.4l89.7-433.1h135.8l68.2 139.1c1.4 2.9 1 6.4-1.2 8.8l-180.6 203c-2.9 3.3-2.6 8.4.7 11.3 1.5 1.3 3.4 2 5.3 2h72.7c2.4 0 4.6-1 6.1-2.8l123.7-146.7c2.8-3.4 7.9-3.8 11.3-1 .9.8 1.6 1.7 2.1 2.8L676.4 784c1.3 2.8 4.1 4.7 7.3 4.7h64.6a8.02 8.02 0 007.2-11.5l-95.2-198.9c-1.4-2.9-.9-6.4 1.3-8.8L841 370z" /></svg>'},ks={name:"fund",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M926 164H94c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V196c0-17.7-14.3-32-32-32zm-92.3 194.4l-297 297.2a8.03 8.03 0 01-11.3 0L410.9 541.1 238.4 713.7a8.03 8.03 0 01-11.3 0l-36.8-36.8a8.03 8.03 0 010-11.3l214.9-215c3.1-3.1 8.2-3.1 11.3 0L531 565l254.5-254.6c3.1-3.1 8.2-3.1 11.3 0l36.8 36.8c3.2 3 3.2 8.1.1 11.2z" /></svg>'},Cs={name:"frown",theme:"twotone",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" fill="#333" /><path d="M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zM288 421a48.01 48.01 0 0196 0 48.01 48.01 0 01-96 0zm376 272h-48.1c-4.2 0-7.8-3.2-8.1-7.4C604 636.1 562.5 597 512 597s-92.1 39.1-95.8 88.6c-.3 4.2-3.9 7.4-8.1 7.4H360a8 8 0 01-8-8.4c4.4-84.3 74.5-151.6 160-151.6s155.6 67.3 160 151.6a8 8 0 01-8 8.4zm24-224a48.01 48.01 0 010-96 48.01 48.01 0 010 96z" fill="#E6E6E6" /><path d="M288 421a48 48 0 1096 0 48 48 0 10-96 0zm224 112c-85.5 0-155.6 67.3-160 151.6a8 8 0 008 8.4h48.1c4.2 0 7.8-3.2 8.1-7.4 3.7-49.5 45.3-88.6 95.8-88.6s92 39.1 95.8 88.6c.3 4.2 3.9 7.4 8.1 7.4H664a8 8 0 008-8.4C667.6 600.3 597.5 533 512 533zm128-112a48 48 0 1096 0 48 48 0 10-96 0z" fill="#333" /></svg>'},Ms={name:"fund",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M926 164H94c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V196c0-17.7-14.3-32-32-32zm-40 632H134V236h752v560zm-658.9-82.3c3.1 3.1 8.2 3.1 11.3 0l172.5-172.5 114.4 114.5c3.1 3.1 8.2 3.1 11.3 0l297-297.2c3.1-3.1 3.1-8.2 0-11.3l-36.8-36.8a8.03 8.03 0 00-11.3 0L531 565 416.6 450.5a8.03 8.03 0 00-11.3 0l-214.9 215a8.03 8.03 0 000 11.3l36.7 36.9z" /></svg>'},Es={name:"fullscreen",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M290 236.4l43.9-43.9a8.01 8.01 0 00-4.7-13.6L169 160c-5.1-.6-9.5 3.7-8.9 8.9L179 329.1c.8 6.6 8.9 9.4 13.6 4.7l43.7-43.7L370 423.7c3.1 3.1 8.2 3.1 11.3 0l42.4-42.3c3.1-3.1 3.1-8.2 0-11.3L290 236.4zm352.7 187.3c3.1 3.1 8.2 3.1 11.3 0l133.7-133.6 43.7 43.7a8.01 8.01 0 0013.6-4.7L863.9 169c.6-5.1-3.7-9.5-8.9-8.9L694.8 179c-6.6.8-9.4 8.9-4.7 13.6l43.9 43.9L600.3 370a8.03 8.03 0 000 11.3l42.4 42.4zM845 694.9c-.8-6.6-8.9-9.4-13.6-4.7l-43.7 43.7L654 600.3a8.03 8.03 0 00-11.3 0l-42.4 42.3a8.03 8.03 0 000 11.3L734 787.6l-43.9 43.9a8.01 8.01 0 004.7 13.6L855 864c5.1.6 9.5-3.7 8.9-8.9L845 694.9zm-463.7-94.6a8.03 8.03 0 00-11.3 0L236.3 733.9l-43.7-43.7a8.01 8.01 0 00-13.6 4.7L160.1 855c-.6 5.1 3.7 9.5 8.9 8.9L329.2 845c6.6-.8 9.4-8.9 4.7-13.6L290 787.6 423.7 654c3.1-3.1 3.1-8.2 0-11.3l-42.4-42.4z" /></svg>'},Ts={name:"funnel-plot",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M336.7 586h350.6l84.9-148H251.8zm543.4-432H143.9c-24.5 0-39.8 26.7-27.5 48L215 374h594l98.7-172c12.2-21.3-3.1-48-27.6-48zM349 838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V650H349v188z" /></svg>'},js={name:"fund-projection-screen",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><defs><style /></defs><path d="M312.1 591.5c3.1 3.1 8.2 3.1 11.3 0l101.8-101.8 86.1 86.2c3.1 3.1 8.2 3.1 11.3 0l226.3-226.5c3.1-3.1 3.1-8.2 0-11.3l-36.8-36.8a8.03 8.03 0 00-11.3 0L517 485.3l-86.1-86.2a8.03 8.03 0 00-11.3 0L275.3 543.4a8.03 8.03 0 000 11.3l36.8 36.8z" /><path d="M904 160H548V96c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H120c-17.7 0-32 14.3-32 32v520c0 17.7 14.3 32 32 32h356.4v32L311.6 884.1a7.92 7.92 0 00-2.3 11l30.3 47.2v.1c2.4 3.7 7.4 4.7 11.1 2.3L512 838.9l161.3 105.8c3.7 2.4 8.7 1.4 11.1-2.3v-.1l30.3-47.2a8 8 0 00-2.3-11L548 776.3V744h356c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 512H160V232h704v440z" /></svg>'},Ds={name:"frown",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M288 421a48 48 0 1096 0 48 48 0 10-96 0zm352 0a48 48 0 1096 0 48 48 0 10-96 0zM512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm263 711c-34.2 34.2-74 61-118.3 79.8C611 874.2 562.3 884 512 884c-50.3 0-99-9.8-144.8-29.2A370.4 370.4 0 01248.9 775c-34.2-34.2-61-74-79.8-118.3C149.8 611 140 562.3 140 512s9.8-99 29.2-144.8A370.4 370.4 0 01249 248.9c34.2-34.2 74-61 118.3-79.8C413 149.8 461.7 140 512 140c50.3 0 99 9.8 144.8 29.2A370.4 370.4 0 01775.1 249c34.2 34.2 61 74 79.8 118.3C874.2 413 884 461.7 884 512s-9.8 99-29.2 144.8A368.89 368.89 0 01775 775zM512 533c-85.5 0-155.6 67.3-160 151.6a8 8 0 008 8.4h48.1c4.2 0 7.8-3.2 8.1-7.4C420 636.1 461.5 597 512 597s92.1 39.1 95.8 88.6c.3 4.2 3.9 7.4 8.1 7.4H664a8 8 0 008-8.4C667.6 600.3 597.5 533 512 533z" /></svg>'},As={name:"format-painter",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><defs><style /></defs><path d="M840 192h-56v-72c0-13.3-10.7-24-24-24H168c-13.3 0-24 10.7-24 24v272c0 13.3 10.7 24 24 24h592c13.3 0 24-10.7 24-24V256h32v200H465c-22.1 0-40 17.9-40 40v136h-44c-4.4 0-8 3.6-8 8v228c0 1.1.2 2.2.6 3.1-.4 1.6-.6 3.2-.6 4.9 0 46.4 37.6 84 84 84s84-37.6 84-84c0-1.7-.2-3.3-.6-4.9.4-1 .6-2 .6-3.1V640c0-4.4-3.6-8-8-8h-44V520h351c22.1 0 40-17.9 40-40V232c0-22.1-17.9-40-40-40z" /></svg>'},Ls={name:"fullscreen-exit",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M391 240.9c-.8-6.6-8.9-9.4-13.6-4.7l-43.7 43.7L200 146.3a8.03 8.03 0 00-11.3 0l-42.4 42.3a8.03 8.03 0 000 11.3L280 333.6l-43.9 43.9a8.01 8.01 0 004.7 13.6L401 410c5.1.6 9.5-3.7 8.9-8.9L391 240.9zm10.1 373.2L240.8 633c-6.6.8-9.4 8.9-4.7 13.6l43.9 43.9L146.3 824a8.03 8.03 0 000 11.3l42.4 42.3c3.1 3.1 8.2 3.1 11.3 0L333.7 744l43.7 43.7A8.01 8.01 0 00391 783l18.9-160.1c.6-5.1-3.7-9.4-8.8-8.8zm221.8-204.2L783.2 391c6.6-.8 9.4-8.9 4.7-13.6L744 333.6 877.7 200c3.1-3.1 3.1-8.2 0-11.3l-42.4-42.3a8.03 8.03 0 00-11.3 0L690.3 279.9l-43.7-43.7a8.01 8.01 0 00-13.6 4.7L614.1 401c-.6 5.2 3.7 9.5 8.8 8.9zM744 690.4l43.9-43.9a8.01 8.01 0 00-4.7-13.6L623 614c-5.1-.6-9.5 3.7-8.9 8.9L633 783.1c.8 6.6 8.9 9.4 13.6 4.7l43.7-43.7L824 877.7c3.1 3.1 8.2 3.1 11.3 0l42.4-42.3c3.1-3.1 3.1-8.2 0-11.3L744 690.4z" /></svg>'},zs={name:"forward",theme:"outline",icon:'<svg viewBox="0 0 1024 1024" focusable="false"><path d="M825.8 498L538.4 249.9c-10.7-9.2-26.4-.9-26.4 14v496.3c0 14.9 15.7 23.2 26.4 14L825.8 526c8.3-7.2 8.3-20.8 0-28zm-320 0L218.4 249.9c-10.7-9.2-26.4-.9-26.4 14v496.3c0 14.9 15.7 23.2 26.4 14L505.8 526c4.1-3.6 6.2-8.8 6.2-14 0-5.2-2.1-10.4-6.2-14z" /></svg>'},Ps={name:"forward",theme:"fill",icon:'<svg viewBox="0 0 1024 1024" focusable="false"><path d="M825.8 498L538.4 249.9c-10.7-9.2-26.4-.9-26.4 14v496.3c0 14.9 15.7 23.2 26.4 14L825.8 526c8.3-7.2 8.3-20.8 0-28zm-320 0L218.4 249.9c-10.7-9.2-26.4-.9-26.4 14v496.3c0 14.9 15.7 23.2 26.4 14L505.8 526c4.1-3.6 6.2-8.8 6.2-14 0-5.2-2.1-10.4-6.2-14z" /></svg>'},Is={name:"fund-view",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><defs><style /></defs><path d="M956 686.5l-.1-.1-.1-.1C911.7 593 843.4 545 752.5 545s-159.2 48.1-203.4 141.3v.1a42.92 42.92 0 000 36.4C593.3 816 661.6 864 752.5 864s159.2-48.1 203.4-141.3c5.4-11.5 5.4-24.8.1-36.2zM752.5 800c-62.1 0-107.4-30-141.1-95.5C645 639 690.4 609 752.5 609c62.1 0 107.4 30 141.1 95.5C860 770 814.6 800 752.5 800z" /><path d="M697 705a56 56 0 10112 0 56 56 0 10-112 0zM136 232h704v253h72V192c0-17.7-14.3-32-32-32H96c-17.7 0-32 14.3-32 32v520c0 17.7 14.3 32 32 32h352v-72H136V232z" /><path d="M724.9 338.1l-36.8-36.8a8.03 8.03 0 00-11.3 0L493 485.3l-86.1-86.2a8.03 8.03 0 00-11.3 0L251.3 543.4a8.03 8.03 0 000 11.3l36.8 36.8c3.1 3.1 8.2 3.1 11.3 0l101.8-101.8 86.1 86.2c3.1 3.1 8.2 3.1 11.3 0l226.3-226.5c3.2-3.1 3.2-8.2 0-11.3z" /></svg>'},Rs={name:"gift",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M160 894c0 17.7 14.3 32 32 32h286V550H160v344zm386 32h286c17.7 0 32-14.3 32-32V550H546v376zm334-616H732.4c13.6-21.4 21.6-46.8 21.6-74 0-76.1-61.9-138-138-138-41.4 0-78.7 18.4-104 47.4-25.3-29-62.6-47.4-104-47.4-76.1 0-138 61.9-138 138 0 27.2 7.9 52.6 21.6 74H144c-17.7 0-32 14.3-32 32v140h366V310h68v172h366V342c0-17.7-14.3-32-32-32zm-402-4h-70c-38.6 0-70-31.4-70-70s31.4-70 70-70 70 31.4 70 70v70zm138 0h-70v-70c0-38.6 31.4-70 70-70s70 31.4 70 70-31.4 70-70 70z" /></svg>'},Ns={name:"gift",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M880 310H732.4c13.6-21.4 21.6-46.8 21.6-74 0-76.1-61.9-138-138-138-41.4 0-78.7 18.4-104 47.4-25.3-29-62.6-47.4-104-47.4-76.1 0-138 61.9-138 138 0 27.2 7.9 52.6 21.6 74H144c-17.7 0-32 14.3-32 32v200c0 4.4 3.6 8 8 8h40v344c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V550h40c4.4 0 8-3.6 8-8V342c0-17.7-14.3-32-32-32zm-334-74c0-38.6 31.4-70 70-70s70 31.4 70 70-31.4 70-70 70h-70v-70zm-138-70c38.6 0 70 31.4 70 70v70h-70c-38.6 0-70-31.4-70-70s31.4-70 70-70zM180 482V378h298v104H180zm48 68h250v308H228V550zm568 308H546V550h250v308zm48-376H546V378h298v104z" /></svg>'},Hs={name:"fast-forward",theme:"outline",icon:'<svg viewBox="0 0 1024 1024" focusable="false"><path d="M793.8 499.3L506.4 273.5c-10.7-8.4-26.4-.8-26.4 12.7v451.6c0 13.5 15.7 21.1 26.4 12.7l287.4-225.8a16.14 16.14 0 000-25.4zm-320 0L186.4 273.5c-10.7-8.4-26.4-.8-26.4 12.7v451.5c0 13.5 15.7 21.1 26.4 12.7l287.4-225.8c4.1-3.2 6.2-8 6.2-12.7 0-4.6-2.1-9.4-6.2-12.6zM857.6 248h-51.2c-3.5 0-6.4 2.7-6.4 6v516c0 3.3 2.9 6 6.4 6h51.2c3.5 0 6.4-2.7 6.4-6V254c0-3.3-2.9-6-6.4-6z" /></svg>'},Fs={name:"gift",theme:"twotone",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M546 378h298v104H546zM228 550h250v308H228zm-48-172h298v104H180zm366 172h250v308H546z" fill="#E6E6E6" /><path d="M880 310H732.4c13.6-21.4 21.6-46.8 21.6-74 0-76.1-61.9-138-138-138-41.4 0-78.7 18.4-104 47.4-25.3-29-62.6-47.4-104-47.4-76.1 0-138 61.9-138 138 0 27.2 7.9 52.6 21.6 74H144c-17.7 0-32 14.3-32 32v200c0 4.4 3.6 8 8 8h40v344c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V550h40c4.4 0 8-3.6 8-8V342c0-17.7-14.3-32-32-32zM478 858H228V550h250v308zm0-376H180V378h298v104zm0-176h-70c-38.6 0-70-31.4-70-70s31.4-70 70-70 70 31.4 70 70v70zm68-70c0-38.6 31.4-70 70-70s70 31.4 70 70-31.4 70-70 70h-70v-70zm250 622H546V550h250v308zm48-376H546V378h298v104z" fill="#333" /></svg>'},Vs={name:"gitlab",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M910.5 553.2l-109-370.8c-6.8-20.4-23.1-34.1-44.9-34.1s-39.5 12.3-46.3 32.7l-72.2 215.4H386.2L314 181.1c-6.8-20.4-24.5-32.7-46.3-32.7s-39.5 13.6-44.9 34.1L113.9 553.2c-4.1 13.6 1.4 28.6 12.3 36.8l385.4 289 386.7-289c10.8-8.1 16.3-23.1 12.2-36.8z" /></svg>'},Bs={name:"gateway",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M928 392c8.8 0 16-7.2 16-16V192c0-8.8-7.2-16-16-16H744c-8.8 0-16 7.2-16 16v56H296v-56c0-8.8-7.2-16-16-16H96c-8.8 0-16 7.2-16 16v184c0 8.8 7.2 16 16 16h56v240H96c-8.8 0-16 7.2-16 16v184c0 8.8 7.2 16 16 16h184c8.8 0 16-7.2 16-16v-56h432v56c0 8.8 7.2 16 16 16h184c8.8 0 16-7.2 16-16V648c0-8.8-7.2-16-16-16h-56V392h56zM792 240h88v88h-88v-88zm-648 88v-88h88v88h-88zm88 456h-88v-88h88v88zm648-88v88h-88v-88h88zm-80-64h-56c-8.8 0-16 7.2-16 16v56H296v-56c0-8.8-7.2-16-16-16h-56V392h56c8.8 0 16-7.2 16-16v-56h432v56c0 8.8 7.2 16 16 16h56v240z" /></svg>'},Ys={name:"file-text",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M854.6 288.7c6 6 9.4 14.1 9.4 22.6V928c0 17.7-14.3 32-32 32H192c-17.7 0-32-14.3-32-32V96c0-17.7 14.3-32 32-32h424.7c8.5 0 16.7 3.4 22.7 9.4l215.2 215.3zM790.2 326L602 137.8V326h188.2zM320 482a8 8 0 00-8 8v48a8 8 0 008 8h384a8 8 0 008-8v-48a8 8 0 00-8-8H320zm0 136a8 8 0 00-8 8v48a8 8 0 008 8h184a8 8 0 008-8v-48a8 8 0 00-8-8H320z" /></svg>'},Us={name:"github",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M511.6 76.3C264.3 76.2 64 276.4 64 523.5 64 718.9 189.3 885 363.8 946c23.5 5.9 19.9-10.8 19.9-22.2v-77.5c-135.7 15.9-141.2-73.9-150.3-88.9C215 726 171.5 718 184.5 703c30.9-15.9 62.4 4 98.9 57.9 26.4 39.1 77.9 32.5 104 26 5.7-23.5 17.9-44.5 34.7-60.8-140.6-25.2-199.2-111-199.2-213 0-49.5 16.3-95 48.3-131.7-20.4-60.5 1.9-112.3 4.9-120 58.1-5.2 118.5 41.6 123.2 45.3 33-8.9 70.7-13.6 112.9-13.6 42.4 0 80.2 4.9 113.5 13.9 11.3-8.6 67.3-48.8 121.3-43.9 2.9 7.7 24.7 58.3 5.5 118 32.4 36.8 48.9 82.7 48.9 132.3 0 102.2-59 188.1-200 212.9a127.5 127.5 0 0138.1 91v112.5c.8 9 0 17.9 15 17.9 177.1-59.7 304.6-227 304.6-424.1 0-247.2-200.4-447.3-447.5-447.3z" /></svg>'},Ws={name:"gold",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M342 472h342c.4 0 .9 0 1.3-.1 4.4-.7 7.3-4.8 6.6-9.2l-40.2-248c-.6-3.9-4-6.7-7.9-6.7H382.2c-3.9 0-7.3 2.8-7.9 6.7l-40.2 248c-.1.4-.1.9-.1 1.3 0 4.4 3.6 8 8 8zm91.2-196h159.5l20.7 128h-201l20.8-128zm2.5 282.7c-.6-3.9-4-6.7-7.9-6.7H166.2c-3.9 0-7.3 2.8-7.9 6.7l-40.2 248c-.1.4-.1.9-.1 1.3 0 4.4 3.6 8 8 8h342c.4 0 .9 0 1.3-.1 4.4-.7 7.3-4.8 6.6-9.2l-40.2-248zM196.5 748l20.7-128h159.5l20.7 128H196.5zm709.4 58.7l-40.2-248c-.6-3.9-4-6.7-7.9-6.7H596.2c-3.9 0-7.3 2.8-7.9 6.7l-40.2 248c-.1.4-.1.9-.1 1.3 0 4.4 3.6 8 8 8h342c.4 0 .9 0 1.3-.1 4.3-.7 7.3-4.8 6.6-9.2zM626.5 748l20.7-128h159.5l20.7 128H626.5z" /></svg>'},qs={name:"global",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M854.4 800.9c.2-.3.5-.6.7-.9C920.6 722.1 960 621.7 960 512s-39.4-210.1-104.8-288c-.2-.3-.5-.5-.7-.8-1.1-1.3-2.1-2.5-3.2-3.7-.4-.5-.8-.9-1.2-1.4l-4.1-4.7-.1-.1c-1.5-1.7-3.1-3.4-4.6-5.1l-.1-.1c-3.2-3.4-6.4-6.8-9.7-10.1l-.1-.1-4.8-4.8-.3-.3c-1.5-1.5-3-2.9-4.5-4.3-.5-.5-1-1-1.6-1.5-1-1-2-1.9-3-2.8-.3-.3-.7-.6-1-1C736.4 109.2 629.5 64 512 64s-224.4 45.2-304.3 119.2c-.3.3-.7.6-1 1-1 .9-2 1.9-3 2.9-.5.5-1 1-1.6 1.5-1.5 1.4-3 2.9-4.5 4.3l-.3.3-4.8 4.8-.1.1c-3.3 3.3-6.5 6.7-9.7 10.1l-.1.1c-1.6 1.7-3.1 3.4-4.6 5.1l-.1.1c-1.4 1.5-2.8 3.1-4.1 4.7-.4.5-.8.9-1.2 1.4-1.1 1.2-2.1 2.5-3.2 3.7-.2.3-.5.5-.7.8C103.4 301.9 64 402.3 64 512s39.4 210.1 104.8 288c.2.3.5.6.7.9l3.1 3.7c.4.5.8.9 1.2 1.4l4.1 4.7c0 .1.1.1.1.2 1.5 1.7 3 3.4 4.6 5l.1.1c3.2 3.4 6.4 6.8 9.6 10.1l.1.1c1.6 1.6 3.1 3.2 4.7 4.7l.3.3c3.3 3.3 6.7 6.5 10.1 9.6 80.1 74 187 119.2 304.5 119.2s224.4-45.2 304.3-119.2a300 300 0 0010-9.6l.3-.3c1.6-1.6 3.2-3.1 4.7-4.7l.1-.1c3.3-3.3 6.5-6.7 9.6-10.1l.1-.1c1.5-1.7 3.1-3.3 4.6-5 0-.1.1-.1.1-.2 1.4-1.5 2.8-3.1 4.1-4.7.4-.5.8-.9 1.2-1.4a99 99 0 003.3-3.7zm4.1-142.6c-13.8 32.6-32 62.8-54.2 90.2a444.07 444.07 0 00-81.5-55.9c11.6-46.9 18.8-98.4 20.7-152.6H887c-3 40.9-12.6 80.6-28.5 118.3zM887 484H743.5c-1.9-54.2-9.1-105.7-20.7-152.6 29.3-15.6 56.6-34.4 81.5-55.9A373.86 373.86 0 01887 484zM658.3 165.5c39.7 16.8 75.8 40 107.6 69.2a394.72 394.72 0 01-59.4 41.8c-15.7-45-35.8-84.1-59.2-115.4 3.7 1.4 7.4 2.9 11 4.4zm-90.6 700.6c-9.2 7.2-18.4 12.7-27.7 16.4V697a389.1 389.1 0 01115.7 26.2c-8.3 24.6-17.9 47.3-29 67.8-17.4 32.4-37.8 58.3-59 75.1zm59-633.1c11 20.6 20.7 43.3 29 67.8A389.1 389.1 0 01540 327V141.6c9.2 3.7 18.5 9.1 27.7 16.4 21.2 16.7 41.6 42.6 59 75zM540 640.9V540h147.5c-1.6 44.2-7.1 87.1-16.3 127.8l-.3 1.2A445.02 445.02 0 00540 640.9zm0-156.9V383.1c45.8-2.8 89.8-12.5 130.9-28.1l.3 1.2c9.2 40.7 14.7 83.5 16.3 127.8H540zm-56 56v100.9c-45.8 2.8-89.8 12.5-130.9 28.1l-.3-1.2c-9.2-40.7-14.7-83.5-16.3-127.8H484zm-147.5-56c1.6-44.2 7.1-87.1 16.3-127.8l.3-1.2c41.1 15.6 85 25.3 130.9 28.1V484H336.5zM484 697v185.4c-9.2-3.7-18.5-9.1-27.7-16.4-21.2-16.7-41.7-42.7-59.1-75.1-11-20.6-20.7-43.3-29-67.8 37.2-14.6 75.9-23.3 115.8-26.1zm0-370a389.1 389.1 0 01-115.7-26.2c8.3-24.6 17.9-47.3 29-67.8 17.4-32.4 37.8-58.4 59.1-75.1 9.2-7.2 18.4-12.7 27.7-16.4V327zM365.7 165.5c3.7-1.5 7.3-3 11-4.4-23.4 31.3-43.5 70.4-59.2 115.4-21-12-40.9-26-59.4-41.8 31.8-29.2 67.9-52.4 107.6-69.2zM165.5 365.7c13.8-32.6 32-62.8 54.2-90.2 24.9 21.5 52.2 40.3 81.5 55.9-11.6 46.9-18.8 98.4-20.7 152.6H137c3-40.9 12.6-80.6 28.5-118.3zM137 540h143.5c1.9 54.2 9.1 105.7 20.7 152.6a444.07 444.07 0 00-81.5 55.9A373.86 373.86 0 01137 540zm228.7 318.5c-39.7-16.8-75.8-40-107.6-69.2 18.5-15.8 38.4-29.7 59.4-41.8 15.7 45 35.8 84.1 59.2 115.4-3.7-1.4-7.4-2.9-11-4.4zm292.6 0c-3.7 1.5-7.3 3-11 4.4 23.4-31.3 43.5-70.4 59.2-115.4 21 12 40.9 26 59.4 41.8a373.81 373.81 0 01-107.6 69.2z" /></svg>'},$s={name:"gold",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M905.9 806.7l-40.2-248c-.6-3.9-4-6.7-7.9-6.7H596.2c-3.9 0-7.3 2.8-7.9 6.7l-40.2 248c-.1.4-.1.9-.1 1.3 0 4.4 3.6 8 8 8h342c.4 0 .9 0 1.3-.1 4.3-.7 7.3-4.8 6.6-9.2zm-470.2-248c-.6-3.9-4-6.7-7.9-6.7H166.2c-3.9 0-7.3 2.8-7.9 6.7l-40.2 248c-.1.4-.1.9-.1 1.3 0 4.4 3.6 8 8 8h342c.4 0 .9 0 1.3-.1 4.4-.7 7.3-4.8 6.6-9.2l-40.2-248zM342 472h342c.4 0 .9 0 1.3-.1 4.4-.7 7.3-4.8 6.6-9.2l-40.2-248c-.6-3.9-4-6.7-7.9-6.7H382.2c-3.9 0-7.3 2.8-7.9 6.7l-40.2 248c-.1.4-.1.9-.1 1.3 0 4.4 3.6 8 8 8z" /></svg>'},Gs={name:"google-plus-circle",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm36.5 558.8c-43.9 61.8-132.1 79.8-200.9 53.3-69-26.3-118-99.2-112.1-173.5 1.5-90.9 85.2-170.6 176.1-167.5 43.6-2 84.6 16.9 118 43.6-14.3 16.2-29 31.8-44.8 46.3-40.1-27.7-97.2-35.6-137.3-3.6-57.4 39.7-60 133.4-4.8 176.1 53.7 48.7 155.2 24.5 170.1-50.1-33.6-.5-67.4 0-101-1.1-.1-20.1-.2-40.1-.1-60.2 56.2-.2 112.5-.3 168.8.2 3.3 47.3-3 97.5-32 136.5zM791 536.5c-16.8.2-33.6.3-50.4.4-.2 16.8-.3 33.6-.3 50.4H690c-.2-16.8-.2-33.5-.3-50.3-16.8-.2-33.6-.3-50.4-.5v-50.1c16.8-.2 33.6-.3 50.4-.3.1-16.8.3-33.6.4-50.4h50.2l.3 50.4c16.8.2 33.6.2 50.4.3v50.1z" /></svg>'},Xs={name:"google-plus",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M879.5 470.4c-.3-27-.4-54.2-.5-81.3h-80.8c-.3 27-.5 54.1-.7 81.3-27.2.1-54.2.3-81.2.6v80.9c27 .3 54.2.5 81.2.8.3 27 .3 54.1.5 81.1h80.9c.1-27 .3-54.1.5-81.3 27.2-.3 54.2-.4 81.2-.7v-80.9c-26.9-.2-54.1-.2-81.1-.5zm-530 .4c-.1 32.3 0 64.7.1 97 54.2 1.8 108.5 1 162.7 1.8-23.9 120.3-187.4 159.3-273.9 80.7-89-68.9-84.8-220 7.7-284 64.7-51.6 156.6-38.9 221.3 5.8 25.4-23.5 49.2-48.7 72.1-74.7-53.8-42.9-119.8-73.5-190-70.3-146.6-4.9-281.3 123.5-283.7 270.2-9.4 119.9 69.4 237.4 180.6 279.8 110.8 42.7 252.9 13.6 323.7-86 46.7-62.9 56.8-143.9 51.3-220-90.7-.7-181.3-.6-271.9-.3z" /></svg>'},Ks={name:"google",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M881 442.4H519.7v148.5h206.4c-8.9 48-35.9 88.6-76.6 115.8-34.4 23-78.3 36.6-129.9 36.6-99.9 0-184.4-67.5-214.6-158.2-7.6-23-12-47.6-12-72.9s4.4-49.9 12-72.9c30.3-90.6 114.8-158.1 214.7-158.1 56.3 0 106.8 19.4 146.6 57.4l110-110.1c-66.5-62-153.2-100-256.6-100-149.9 0-279.6 86-342.7 211.4-26 51.8-40.8 110.4-40.8 172.4S151 632.8 177 684.6C240.1 810 369.8 896 519.7 896c103.6 0 190.4-34.4 253.8-93 72.5-66.8 114.4-165.2 114.4-282.1 0-27.2-2.4-53.3-6.9-78.5z" /></svg>'},Js={name:"gitlab",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M913.9 552.2L805 181.4v-.1c-7.6-22.9-25.7-36.5-48.3-36.5-23.4 0-42.5 13.5-49.7 35.2l-71.4 213H388.8l-71.4-213c-7.2-21.7-26.3-35.2-49.7-35.2-23.1 0-42.5 14.8-48.4 36.6L110.5 552.2c-4.4 14.7 1.2 31.4 13.5 40.7l368.5 276.4c2.6 3.6 6.2 6.3 10.4 7.8l8.6 6.4 8.5-6.4c4.9-1.7 9-4.7 11.9-8.9l368.4-275.4c12.4-9.2 18-25.9 13.6-40.6zM751.7 193.4c1-1.8 2.9-1.9 3.5-1.9 1.1 0 2.5.3 3.4 3L818 394.3H684.5l67.2-200.9zm-487.4 1c.9-2.6 2.3-2.9 3.4-2.9 2.7 0 2.9.1 3.4 1.7l67.3 201.2H206.5l57.8-200zM158.8 558.7l28.2-97.3 202.4 270.2-230.6-172.9zm73.9-116.4h122.1l90.8 284.3-212.9-284.3zM512.9 776L405.7 442.3H620L512.9 776zm157.9-333.7h119.5L580 723.1l90.8-280.8zm-40.7 293.9l207.3-276.7 29.5 99.2-236.8 177.5z" /></svg>'},Qs={name:"gif",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><defs><style /></defs><path d="M944 299H692c-4.4 0-8 3.6-8 8v406c0 4.4 3.6 8 8 8h59.2c4.4 0 8-3.6 8-8V549.9h168.2c4.4 0 8-3.6 8-8V495c0-4.4-3.6-8-8-8H759.2V364.2H944c4.4 0 8-3.6 8-8V307c0-4.4-3.6-8-8-8zm-356 1h-56c-4.4 0-8 3.6-8 8v406c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V308c0-4.4-3.6-8-8-8zM452 500.9H290.5c-4.4 0-8 3.6-8 8v43.7c0 4.4 3.6 8 8 8h94.9l-.3 8.9c-1.2 58.8-45.6 98.5-110.9 98.5-76.2 0-123.9-59.7-123.9-156.7 0-95.8 46.8-155.2 121.5-155.2 54.8 0 93.1 26.9 108.5 75.4h76.2c-13.6-87.2-86-143.4-184.7-143.4C150 288 72 375.2 72 511.9 72 650.2 149.1 736 273 736c114.1 0 187-70.7 187-181.6v-45.5c0-4.4-3.6-8-8-8z" /></svg>'},Zs={name:"funnel-plot",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M880.1 154H143.9c-24.5 0-39.8 26.7-27.5 48L349 607.4V838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V607.4L907.7 202c12.2-21.3-3.1-48-27.6-48zM603.4 798H420.6V650h182.9v148zm9.6-226.6l-8.4 14.6H419.3l-8.4-14.6L334.4 438h355.2L613 571.4zM726.3 374H297.7l-85-148h598.6l-85 148z" /></svg>'},eo={name:"funnel-plot",theme:"twotone",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M420.6 798h182.9V650H420.6zM297.7 374h428.6l85-148H212.7zm113.2 197.4l8.4 14.6h185.3l8.4-14.6L689.6 438H334.4z" fill="#E6E6E6" /><path d="M880.1 154H143.9c-24.5 0-39.8 26.7-27.5 48L349 607.4V838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V607.4L907.7 202c12.2-21.3-3.1-48-27.6-48zM603.5 798H420.6V650h182.9v148zm9.5-226.6l-8.4 14.6H419.3l-8.4-14.6L334.4 438h355.2L613 571.4zM726.3 374H297.7l-85-148h598.6l-85 148z" fill="#333" /></svg>'},to={name:"fund",theme:"twotone",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 632H136V232h752v560z" fill="#333" /><path d="M136 792h752V232H136v560zm56.4-130.5l214.9-215c3.1-3.1 8.2-3.1 11.3 0L533 561l254.5-254.6c3.1-3.1 8.2-3.1 11.3 0l36.8 36.8c3.1 3.1 3.1 8.2 0 11.3l-297 297.2a8.03 8.03 0 01-11.3 0L412.9 537.2 240.4 709.7a8.03 8.03 0 01-11.3 0l-36.7-36.9a8.03 8.03 0 010-11.3z" fill="#E6E6E6" /><path d="M229.1 709.7c3.1 3.1 8.2 3.1 11.3 0l172.5-172.5 114.4 114.5c3.1 3.1 8.2 3.1 11.3 0l297-297.2c3.1-3.1 3.1-8.2 0-11.3l-36.8-36.8a8.03 8.03 0 00-11.3 0L533 561 418.6 446.5a8.03 8.03 0 00-11.3 0l-214.9 215a8.03 8.03 0 000 11.3l36.7 36.9z" fill="#333" /></svg>'},no={name:"google-plus-square",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM548.5 622.8c-43.9 61.8-132.1 79.8-200.9 53.3-69-26.3-118-99.2-112.1-173.5 1.5-90.9 85.2-170.6 176.1-167.5 43.6-2 84.6 16.9 118 43.6-14.3 16.2-29 31.8-44.8 46.3-40.1-27.7-97.2-35.6-137.3-3.6-57.4 39.7-60 133.4-4.8 176.1 53.7 48.7 155.2 24.5 170.1-50.1-33.6-.5-67.4 0-101-1.1-.1-20.1-.2-40.1-.1-60.2 56.2-.2 112.5-.3 168.8.2 3.3 47.3-3 97.5-32 136.5zM791 536.5c-16.8.2-33.6.3-50.4.4-.2 16.8-.3 33.6-.3 50.4H690c-.2-16.8-.2-33.5-.3-50.3-16.8-.2-33.6-.3-50.4-.5v-50.1c16.8-.2 33.6-.3 50.4-.3.1-16.8.3-33.6.4-50.4h50.2l.3 50.4c16.8.2 33.6.2 50.4.3v50.1z" /></svg>'},ro={name:"heart",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M923 283.6a260.04 260.04 0 00-56.9-82.8 264.4 264.4 0 00-84-55.5A265.34 265.34 0 00679.7 125c-49.3 0-97.4 13.5-139.2 39-10 6.1-19.5 12.8-28.5 20.1-9-7.3-18.5-14-28.5-20.1-41.8-25.5-89.9-39-139.2-39-35.5 0-69.9 6.8-102.4 20.3-31.4 13-59.7 31.7-84 55.5a258.44 258.44 0 00-56.9 82.8c-13.9 32.3-21 66.6-21 101.9 0 33.3 6.8 68 20.3 103.3 11.3 29.5 27.5 60.1 48.2 91 32.8 48.9 77.9 99.9 133.9 151.6 92.8 85.7 184.7 144.9 188.6 147.3l23.7 15.2c10.5 6.7 24 6.7 34.5 0l23.7-15.2c3.9-2.5 95.7-61.6 188.6-147.3 56-51.7 101.1-102.7 133.9-151.6 20.7-30.9 37-61.5 48.2-91 13.5-35.3 20.3-70 20.3-103.3.1-35.3-7-69.6-20.9-101.9z" /></svg>'},io={name:"group",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><defs><style /></defs><path d="M912 820.1V203.9c28-9.9 48-36.6 48-67.9 0-39.8-32.2-72-72-72-31.3 0-58 20-67.9 48H203.9C194 84 167.3 64 136 64c-39.8 0-72 32.2-72 72 0 31.3 20 58 48 67.9v616.2C84 830 64 856.7 64 888c0 39.8 32.2 72 72 72 31.3 0 58-20 67.9-48h616.2c9.9 28 36.6 48 67.9 48 39.8 0 72-32.2 72-72 0-31.3-20-58-48-67.9zM888 112c13.3 0 24 10.7 24 24s-10.7 24-24 24-24-10.7-24-24 10.7-24 24-24zM136 912c-13.3 0-24-10.7-24-24s10.7-24 24-24 24 10.7 24 24-10.7 24-24 24zm0-752c-13.3 0-24-10.7-24-24s10.7-24 24-24 24 10.7 24 24-10.7 24-24 24zm704 680H184V184h656v656zm48 72c-13.3 0-24-10.7-24-24s10.7-24 24-24 24 10.7 24 24-10.7 24-24 24z" /><path d="M288 474h448c8.8 0 16-7.2 16-16V282c0-8.8-7.2-16-16-16H288c-8.8 0-16 7.2-16 16v176c0 8.8 7.2 16 16 16zm56-136h336v64H344v-64zm-56 420h448c8.8 0 16-7.2 16-16V566c0-8.8-7.2-16-16-16H288c-8.8 0-16 7.2-16 16v176c0 8.8 7.2 16 16 16zm56-136h336v64H344v-64z" /></svg>'},so={name:"hdd",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M832 64H192c-17.7 0-32 14.3-32 32v224h704V96c0-17.7-14.3-32-32-32zM456 216c0 4.4-3.6 8-8 8H264c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h184c4.4 0 8 3.6 8 8v48zM160 928c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V704H160v224zm576-136c22.1 0 40 17.9 40 40s-17.9 40-40 40-40-17.9-40-40 17.9-40 40-40zM160 640h704V384H160v256zm96-152c0-4.4 3.6-8 8-8h184c4.4 0 8 3.6 8 8v48c0 4.4-3.6 8-8 8H264c-4.4 0-8-3.6-8-8v-48z" /></svg>'},oo={name:"hdd",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M832 64H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zm-600 72h560v208H232V136zm560 480H232V408h560v208zm0 272H232V680h560v208zM496 208H312c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zM312 544h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H312c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8zm328 244a40 40 0 1080 0 40 40 0 10-80 0z" /></svg>'},ao={name:"google-circle",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm167 633.6C638.4 735 583 757 516.9 757c-95.7 0-178.5-54.9-218.8-134.9C281.5 589 272 551.6 272 512s9.5-77 26.1-110.1c40.3-80.1 123.1-135 218.8-135 66 0 121.4 24.3 163.9 63.8L610.6 401c-25.4-24.3-57.7-36.6-93.6-36.6-63.8 0-117.8 43.1-137.1 101-4.9 14.7-7.7 30.4-7.7 46.6s2.8 31.9 7.7 46.6c19.3 57.9 73.3 101 137 101 33 0 61-8.7 82.9-23.4 26-17.4 43.2-43.3 48.9-74H516.9v-94.8h230.7c2.9 16.1 4.4 32.8 4.4 50.1 0 74.7-26.7 137.4-73 180.1z" /></svg>'},co={name:"home",theme:"twotone",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512.1 172.6l-370 369.7h96V868H392V640c0-22.1 17.9-40 40-40h160c22.1 0 40 17.9 40 40v228h153.9V542.3H882L535.2 195.7l-23.1-23.1zm434.5 422.9c-6 6-13.1 10.8-20.8 13.9 7.7-3.2 14.8-7.9 20.8-13.9zm-887-34.7c5 30.3 31.4 53.5 63.1 53.5h.9c-31.9 0-58.9-23-64-53.5zm-.9-10.5v-1.9 1.9zm.1-2.6c.1-3.1.5-6.1 1-9.1-.6 2.9-.9 6-1 9.1z" fill="#E6E6E6" /><path d="M951 510c0-.1-.1-.1-.1-.2l-1.8-2.1c-.1-.1-.2-.3-.4-.4-.7-.8-1.5-1.6-2.2-2.4L560.1 118.8l-25.9-25.9a31.5 31.5 0 00-44.4 0L77.5 505a63.6 63.6 0 00-16 26.6l-.6 2.1-.3 1.1-.3 1.2c-.2.7-.3 1.4-.4 2.1 0 .1 0 .3-.1.4-.6 3-.9 6-1 9.1v3.3c0 .5 0 1 .1 1.5 0 .5 0 .9.1 1.4 0 .5.1 1 .1 1.5 0 .6.1 1.2.2 1.8 0 .3.1.6.1.9l.3 2.5v.1c5.1 30.5 32.2 53.5 64 53.5h42.5V940h691.7V614.3h43.4c8.6 0 16.9-1.7 24.5-4.9s14.7-7.9 20.8-13.9a63.6 63.6 0 0018.7-45.3c0-14.7-5-28.8-14.3-40.2zM568 868H456V664h112v204zm217.9-325.7V868H632V640c0-22.1-17.9-40-40-40H432c-22.1 0-40 17.9-40 40v228H238.1V542.3h-96l370-369.7 23.1 23.1L882 542.3h-96.1z" fill="#333" /></svg>'},lo={name:"github",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M511.6 76.3C264.3 76.2 64 276.4 64 523.5 64 718.9 189.3 885 363.8 946c23.5 5.9 19.9-10.8 19.9-22.2v-77.5c-135.7 15.9-141.2-73.9-150.3-88.9C215 726 171.5 718 184.5 703c30.9-15.9 62.4 4 98.9 57.9 26.4 39.1 77.9 32.5 104 26 5.7-23.5 17.9-44.5 34.7-60.8-140.6-25.2-199.2-111-199.2-213 0-49.5 16.3-95 48.3-131.7-20.4-60.5 1.9-112.3 4.9-120 58.1-5.2 118.5 41.6 123.2 45.3 33-8.9 70.7-13.6 112.9-13.6 42.4 0 80.2 4.9 113.5 13.9 11.3-8.6 67.3-48.8 121.3-43.9 2.9 7.7 24.7 58.3 5.5 118 32.4 36.8 48.9 82.7 48.9 132.3 0 102.2-59 188.1-200 212.9a127.5 127.5 0 0138.1 91v112.5c.8 9 0 17.9 15 17.9 177.1-59.7 304.6-227 304.6-424.1 0-247.2-200.4-447.3-447.5-447.3z" /></svg>'},uo={name:"golden",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M905.9 806.7l-40.2-248c-.6-3.9-4-6.7-7.9-6.7H596.2c-3.9 0-7.3 2.8-7.9 6.7l-40.2 248c-.1.4-.1.9-.1 1.3 0 4.4 3.6 8 8 8h342c.4 0 .9 0 1.3-.1 4.3-.7 7.3-4.8 6.6-9.2zm-470.2-248c-.6-3.9-4-6.7-7.9-6.7H166.2c-3.9 0-7.3 2.8-7.9 6.7l-40.2 248c-.1.4-.1.9-.1 1.3 0 4.4 3.6 8 8 8h342c.4 0 .9 0 1.3-.1 4.4-.7 7.3-4.8 6.6-9.2l-40.2-248zM342 472h342c.4 0 .9 0 1.3-.1 4.4-.7 7.3-4.8 6.6-9.2l-40.2-248c-.6-3.9-4-6.7-7.9-6.7H382.2c-3.9 0-7.3 2.8-7.9 6.7l-40.2 248c-.1.4-.1.9-.1 1.3 0 4.4 3.6 8 8 8z" /></svg>'},ho={name:"heart",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M923 283.6a260.04 260.04 0 00-56.9-82.8 264.4 264.4 0 00-84-55.5A265.34 265.34 0 00679.7 125c-49.3 0-97.4 13.5-139.2 39-10 6.1-19.5 12.8-28.5 20.1-9-7.3-18.5-14-28.5-20.1-41.8-25.5-89.9-39-139.2-39-35.5 0-69.9 6.8-102.4 20.3-31.4 13-59.7 31.7-84 55.5a258.44 258.44 0 00-56.9 82.8c-13.9 32.3-21 66.6-21 101.9 0 33.3 6.8 68 20.3 103.3 11.3 29.5 27.5 60.1 48.2 91 32.8 48.9 77.9 99.9 133.9 151.6 92.8 85.7 184.7 144.9 188.6 147.3l23.7 15.2c10.5 6.7 24 6.7 34.5 0l23.7-15.2c3.9-2.5 95.7-61.6 188.6-147.3 56-51.7 101.1-102.7 133.9-151.6 20.7-30.9 37-61.5 48.2-91 13.5-35.3 20.3-70 20.3-103.3.1-35.3-7-69.6-20.9-101.9zM512 814.8S156 586.7 156 385.5C156 283.6 240.3 201 344.3 201c73.1 0 136.5 40.8 167.7 100.4C543.2 241.8 606.6 201 679.7 201c104 0 188.3 82.6 188.3 184.5 0 201.2-356 429.3-356 429.3z" /></svg>'},fo={name:"highlight",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M957.6 507.4L603.2 158.2a7.9 7.9 0 00-11.2 0L353.3 393.4a8.03 8.03 0 00-.1 11.3l.1.1 40 39.4-117.2 115.3a8.03 8.03 0 00-.1 11.3l.1.1 39.5 38.9-189.1 187H72.1c-4.4 0-8.1 3.6-8.1 8V860c0 4.4 3.6 8 8 8h344.9c2.1 0 4.1-.8 5.6-2.3l76.1-75.6 40.4 39.8a7.9 7.9 0 0011.2 0l117.1-115.6 40.1 39.5a7.9 7.9 0 0011.2 0l238.7-235.2c3.4-3 3.4-8 .3-11.2zM389.8 796.2H229.6l134.4-133 80.1 78.9-54.3 54.1zm154.8-62.1L373.2 565.2l68.6-67.6 171.4 168.9-68.6 67.6zM713.1 658L450.3 399.1 597.6 254l262.8 259-147.3 145z" /></svg>'},po={name:"hourglass",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M742 318V184h86c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H196c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h86v134c0 81.5 42.4 153.2 106.4 194-64 40.8-106.4 112.5-106.4 194v134h-86c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h632c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-86V706c0-81.5-42.4-153.2-106.4-194 64-40.8 106.4-112.5 106.4-194zm-72 388v134H354V706c0-42.2 16.4-81.9 46.3-111.7C430.1 564.4 469.8 548 512 548s81.9 16.4 111.7 46.3C653.6 624.1 670 663.8 670 706zm0-388c0 42.2-16.4 81.9-46.3 111.7C593.9 459.6 554.2 476 512 476s-81.9-16.4-111.7-46.3A156.63 156.63 0 01354 318V184h316v134z" /></svg>'},mo={name:"highlight",theme:"twotone",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M229.6 796.3h160.2l54.3-54.1-80.1-78.9zm220.7-397.1l262.8 258.9 147.3-145-262.8-259zm-77.1 166.1l171.4 168.9 68.6-67.6-171.4-168.9z" fill="#E6E6E6" /><path d="M957.6 507.5L603.2 158.3a7.9 7.9 0 00-11.2 0L353.3 393.5a8.03 8.03 0 00-.1 11.3l.1.1 40 39.4-117.2 115.3a8.03 8.03 0 00-.1 11.3l.1.1 39.5 38.9-189.1 187H72.1c-4.4 0-8.1 3.6-8.1 8v55.2c0 4.4 3.6 8 8 8h344.9c2.1 0 4.1-.8 5.6-2.3l76.1-75.6L539 830a7.9 7.9 0 0011.2 0l117.1-115.6 40.1 39.5a7.9 7.9 0 0011.2 0l238.7-235.2c3.4-3 3.4-8 .3-11.2zM389.8 796.3H229.6l134.4-133 80.1 78.9-54.3 54.1zm154.8-62.1L373.2 565.3l68.6-67.6 171.4 168.9-68.6 67.6zm168.5-76.1L450.3 399.2l147.3-145.1 262.8 259-147.3 145z" fill="#333" /></svg>'},go={name:"hdd",theme:"twotone",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M232 888h560V680H232v208zm448-140c22.1 0 40 17.9 40 40s-17.9 40-40 40-40-17.9-40-40 17.9-40 40-40zM232 616h560V408H232v208zm72-128c0-4.4 3.6-8 8-8h184c4.4 0 8 3.6 8 8v48c0 4.4-3.6 8-8 8H312c-4.4 0-8-3.6-8-8v-48zm-72-144h560V136H232v208zm72-128c0-4.4 3.6-8 8-8h184c4.4 0 8 3.6 8 8v48c0 4.4-3.6 8-8 8H312c-4.4 0-8-3.6-8-8v-48z" fill="#E6E6E6" /><path d="M832 64H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zm-40 824H232V680h560v208zm0-272H232V408h560v208zm0-272H232V136h560v208z" fill="#333" /><path d="M312 544h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H312c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8zm0-272h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H312c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8zm328 516a40 40 0 1080 0 40 40 0 10-80 0z" fill="#333" /></svg>'},vo={name:"highlight",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M957.6 507.4L603.2 158.2a7.9 7.9 0 00-11.2 0L353.3 393.4a8.03 8.03 0 00-.1 11.3l.1.1 40 39.4-117.2 115.3a8.03 8.03 0 00-.1 11.3l.1.1 39.5 38.9-189.1 187H72.1c-4.4 0-8.1 3.6-8.1 8V860c0 4.4 3.6 8 8 8h344.9c2.1 0 4.1-.8 5.6-2.3l76.1-75.6 40.4 39.8a7.9 7.9 0 0011.2 0l117.1-115.6 40.1 39.5a7.9 7.9 0 0011.2 0l238.7-235.2c3.4-3 3.4-8 .3-11.2z" /></svg>'},yo={name:"hourglass",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M742 318V184h86c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H196c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h86v134c0 81.5 42.4 153.2 106.4 194-64 40.8-106.4 112.5-106.4 194v134h-86c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h632c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-86V706c0-81.5-42.4-153.2-106.4-194 64-40.8 106.4-112.5 106.4-194z" /></svg>'},bo={name:"history",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M536.1 273H488c-4.4 0-8 3.6-8 8v275.3c0 2.6 1.2 5 3.3 6.5l165.3 120.7c3.6 2.6 8.6 1.9 11.2-1.7l28.6-39c2.7-3.7 1.9-8.7-1.7-11.2L544.1 528.5V281c0-4.4-3.6-8-8-8zm219.8 75.2l156.8 38.3c5 1.2 9.9-2.6 9.9-7.7l.8-161.5c0-6.7-7.7-10.5-12.9-6.3L752.9 334.1a8 8 0 003 14.1zm167.7 301.1l-56.7-19.5a8 8 0 00-10.1 4.8c-1.9 5.1-3.9 10.1-6 15.1-17.8 42.1-43.3 80-75.9 112.5a353 353 0 01-112.5 75.9 352.18 352.18 0 01-137.7 27.8c-47.8 0-94.1-9.3-137.7-27.8a353 353 0 01-112.5-75.9c-32.5-32.5-58-70.4-75.9-112.5A353.44 353.44 0 01171 512c0-47.8 9.3-94.2 27.8-137.8 17.8-42.1 43.3-80 75.9-112.5a353 353 0 01112.5-75.9C430.6 167.3 477 158 524.8 158s94.1 9.3 137.7 27.8A353 353 0 01775 261.7c10.2 10.3 19.8 21 28.6 32.3l59.8-46.8C784.7 146.6 662.2 81.9 524.6 82 285 82.1 92.6 276.7 95 516.4 97.4 751.9 288.9 942 524.8 942c185.5 0 343.5-117.6 403.7-282.3 1.5-4.2-.7-8.9-4.9-10.4z" /></svg>'},_o={name:"home",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M946.5 505L560.1 118.8l-25.9-25.9a31.5 31.5 0 00-44.4 0L77.5 505a63.9 63.9 0 00-18.8 46c.4 35.2 29.7 63.3 64.9 63.3h42.5V940h691.8V614.3h43.4c17.1 0 33.2-6.7 45.3-18.8a63.6 63.6 0 0018.7-45.3c0-17-6.7-33.1-18.8-45.2zM568 868H456V664h112v204zm217.9-325.7V868H632V640c0-22.1-17.9-40-40-40H432c-22.1 0-40 17.9-40 40v228H238.1V542.3h-96l370-369.7 23.1 23.1L882 542.3h-96.1z" /></svg>'},wo={name:"hourglass",theme:"twotone",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 548c-42.2 0-81.9 16.4-111.7 46.3A156.63 156.63 0 00354 706v134h316V706c0-42.2-16.4-81.9-46.3-111.7A156.63 156.63 0 00512 548zM354 318c0 42.2 16.4 81.9 46.3 111.7C430.1 459.6 469.8 476 512 476s81.9-16.4 111.7-46.3C653.6 399.9 670 360.2 670 318V184H354v134z" fill="#E6E6E6" /><path d="M742 318V184h86c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H196c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h86v134c0 81.5 42.4 153.2 106.4 194-64 40.8-106.4 112.5-106.4 194v134h-86c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h632c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-86V706c0-81.5-42.4-153.2-106.4-194 64-40.8 106.4-112.5 106.4-194zm-72 388v134H354V706c0-42.2 16.4-81.9 46.3-111.7C430.1 564.4 469.8 548 512 548s81.9 16.4 111.7 46.3C653.6 624.1 670 663.8 670 706zm0-388c0 42.2-16.4 81.9-46.3 111.7C593.9 459.6 554.2 476 512 476s-81.9-16.4-111.7-46.3A156.63 156.63 0 01354 318V184h316v134z" fill="#333" /></svg>'},So={name:"html5",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M145 96l66 746.6L511.8 928l299.6-85.4L878.7 96H145zm610.9 700.6l-244.1 69.6-245.2-69.6-56.7-641.2h603.8l-57.8 641.2zM281 249l1.7 24.3 22.7 253.5h206.5v-.1h112.9l-11.4 118.5L511 672.9v.2h-.8l-102.4-27.7-6.5-73.2h-91l11.3 144.7 188.6 52h1.7v-.4l187.7-51.7 1.7-16.3 21.2-242.2 3.2-24.3H511v.2H389.9l-8.2-94.2h352.1l1.7-19.5 4.8-47.2L742 249H511z" /></svg>'},xo={name:"gold",theme:"twotone",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M435.7 558.7c-.6-3.9-4-6.7-7.9-6.7H166.2c-3.9 0-7.3 2.8-7.9 6.7l-40.2 248c-.1.4-.1.9-.1 1.3 0 4.4 3.6 8 8 8h342c.4 0 .9 0 1.3-.1 4.4-.7 7.3-4.8 6.6-9.2l-40.2-248zM196.5 748l20.7-128h159.5l20.7 128H196.5zm709.4 58.7l-40.2-248c-.6-3.9-4-6.7-7.9-6.7H596.2c-3.9 0-7.3 2.8-7.9 6.7l-40.2 248c-.1.4-.1.9-.1 1.3 0 4.4 3.6 8 8 8h342c.4 0 .9 0 1.3-.1 4.3-.7 7.3-4.8 6.6-9.2zM626.5 748l20.7-128h159.5l20.7 128H626.5zM342 472h342c.4 0 .9 0 1.3-.1 4.4-.7 7.3-4.8 6.6-9.2l-40.2-248c-.6-3.9-4-6.7-7.9-6.7H382.2c-3.9 0-7.3 2.8-7.9 6.7l-40.2 248c-.1.4-.1.9-.1 1.3 0 4.4 3.6 8 8 8zm91.2-196h159.5l20.7 128h-201l20.8-128z" fill="#333" /><path d="M592.7 276H433.2l-20.8 128h201zM217.2 620l-20.7 128h200.9l-20.7-128zm430 0l-20.7 128h200.9l-20.7-128z" fill="#E6E6E6" /></svg>'},Oo={name:"idcard",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 632H136V232h752v560zM610.3 476h123.4c1.3 0 2.3-3.6 2.3-8v-48c0-4.4-1-8-2.3-8H610.3c-1.3 0-2.3 3.6-2.3 8v48c0 4.4 1 8 2.3 8zm4.8 144h185.7c3.9 0 7.1-3.6 7.1-8v-48c0-4.4-3.2-8-7.1-8H615.1c-3.9 0-7.1 3.6-7.1 8v48c0 4.4 3.2 8 7.1 8zM224 673h43.9c4.2 0 7.6-3.3 7.9-7.5 3.8-50.5 46-90.5 97.2-90.5s93.4 40 97.2 90.5c.3 4.2 3.7 7.5 7.9 7.5H522a8 8 0 008-8.4c-2.8-53.3-32-99.7-74.6-126.1a111.8 111.8 0 0029.1-75.5c0-61.9-49.9-112-111.4-112s-111.4 50.1-111.4 112c0 29.1 11 55.5 29.1 75.5a158.09 158.09 0 00-74.6 126.1c-.4 4.6 3.2 8.4 7.8 8.4zm149-262c28.5 0 51.7 23.3 51.7 52s-23.2 52-51.7 52-51.7-23.3-51.7-52 23.2-52 51.7-52z" /></svg>'},ko={name:"google-square",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM679 697.6C638.4 735 583 757 516.9 757c-95.7 0-178.5-54.9-218.8-134.9A245.02 245.02 0 01272 512c0-39.6 9.5-77 26.1-110.1 40.3-80.1 123.1-135 218.8-135 66 0 121.4 24.3 163.9 63.8L610.6 401c-25.4-24.3-57.7-36.6-93.6-36.6-63.8 0-117.8 43.1-137.1 101-4.9 14.7-7.7 30.4-7.7 46.6s2.8 31.9 7.7 46.6c19.3 57.9 73.3 101 137 101 33 0 61-8.7 82.9-23.4 26-17.4 43.2-43.3 48.9-74H516.9v-94.8h230.7c2.9 16.1 4.4 32.8 4.4 50.1 0 74.7-26.7 137.4-73 180.1z" /></svg>'},Co={name:"idcard",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M373 411c-28.5 0-51.7 23.3-51.7 52s23.2 52 51.7 52 51.7-23.3 51.7-52-23.2-52-51.7-52zm555-251H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zM608 420c0-4.4 1-8 2.3-8h123.4c1.3 0 2.3 3.6 2.3 8v48c0 4.4-1 8-2.3 8H610.3c-1.3 0-2.3-3.6-2.3-8v-48zm-86 253h-43.9c-4.2 0-7.6-3.3-7.9-7.5-3.8-50.5-46-90.5-97.2-90.5s-93.4 40-97.2 90.5c-.3 4.2-3.7 7.5-7.9 7.5H224a8 8 0 01-8-8.4c2.8-53.3 32-99.7 74.6-126.1a111.8 111.8 0 01-29.1-75.5c0-61.9 49.9-112 111.4-112s111.4 50.1 111.4 112c0 29.1-11 55.5-29.1 75.5 42.7 26.5 71.8 72.8 74.6 126.1.4 4.6-3.2 8.4-7.8 8.4zm278.9-53H615.1c-3.9 0-7.1-3.6-7.1-8v-48c0-4.4 3.2-8 7.1-8h185.7c3.9 0 7.1 3.6 7.1 8v48h.1c0 4.4-3.2 8-7.1 8z" /></svg>'},Mo={name:"home",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M946.5 505L534.6 93.4a31.93 31.93 0 00-45.2 0L77.5 505c-12 12-18.8 28.3-18.8 45.3 0 35.3 28.7 64 64 64h43.4V908c0 17.7 14.3 32 32 32H448V716h112v224h265.9c17.7 0 32-14.3 32-32V614.3h43.4c17 0 33.3-6.7 45.3-18.8 24.9-25 24.9-65.5-.1-90.5z" /></svg>'},Eo={name:"heat-map",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M955.7 856l-416-720c-6.2-10.7-16.9-16-27.7-16s-21.6 5.3-27.7 16l-416 720C56 877.4 71.4 904 96 904h832c24.6 0 40-26.6 27.7-48zm-790.4-23.9L512 231.9 858.7 832H165.3zm319-474.1l-228 394c-12.3 21.3 3.1 48 27.7 48h455.8c24.7 0 40.1-26.7 27.7-48L539.7 358c-6.2-10.7-17-16-27.7-16-10.8 0-21.6 5.3-27.7 16zm214 386H325.7L512 422l186.3 322zm-214-194.1l-57 98.4C415 669.5 430.4 696 455 696h114c24.6 0 39.9-26.5 27.7-47.7l-57-98.4c-6.1-10.6-16.9-15.9-27.7-15.9s-21.5 5.3-27.7 15.9zm57.1 98.4h-58.7l29.4-50.7 29.3 50.7z" /></svg>'},To={name:"html5",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M145.2 96l66 746.6L512 928l299.6-85.4L878.9 96H145.2zm595 177.1l-4.8 47.2-1.7 19.5H382.3l8.2 94.2h335.1l-3.3 24.3-21.2 242.2-1.7 16.2-187 51.6v.3h-1.2l-.3.1v-.1h-.1l-188.6-52L310.8 572h91.1l6.5 73.2 102.4 27.7h.4l102-27.6 11.4-118.6H510.9v-.1H306l-22.8-253.5-1.7-24.3h460.3l-1.6 24.3z" /></svg>'},jo={name:"import",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M888.3 757.4h-53.8c-4.2 0-7.7 3.5-7.7 7.7v61.8H197.1V197.1h629.8v61.8c0 4.2 3.5 7.7 7.7 7.7h53.8c4.2 0 7.7-3.4 7.7-7.7V158.7c0-17-13.7-30.7-30.7-30.7H158.7c-17 0-30.7 13.7-30.7 30.7v706.6c0 17 13.7 30.7 30.7 30.7h706.6c17 0 30.7-13.7 30.7-30.7V765.1c0-4.3-3.5-7.7-7.7-7.7zM902 476H588v-76c0-6.7-7.8-10.5-13-6.3l-141.9 112a8 8 0 000 12.6l141.9 112c5.3 4.2 13 .4 13-6.3v-76h314c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z" /></svg>'},Do={name:"info-circle",theme:"twotone",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" fill="#333" /><path d="M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm32 588c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V456c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272zm-32-344a48.01 48.01 0 010-96 48.01 48.01 0 010 96z" fill="#E6E6E6" /><path d="M464 336a48 48 0 1096 0 48 48 0 10-96 0zm72 112h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V456c0-4.4-3.6-8-8-8z" fill="#333" /></svg>'},Ao={name:"ie-circle",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M693.6 284.4c-24 0-51.1 11.7-72.6 22 46.3 18 86 57.3 112.3 99.6 7.1-18.9 14.6-47.9 14.6-67.9 0-32-22.8-53.7-54.3-53.7zM512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm253.9 492.9H437.1c0 100.4 144.3 136 196.8 47.4h120.8c-32.6 91.7-119.7 146-216.8 146-35.1 0-70.3-.1-101.7-15.6-87.4 44.5-180.3 56.6-180.3-42 0-45.8 23.2-107.1 44-145C335 484 381.3 422.8 435.6 374.5c-43.7 18.9-91.1 66.3-122 101.2 25.9-112.8 129.5-193.6 237.1-186.5 130-59.8 209.7-34.1 209.7 38.6 0 27.4-10.6 63.3-21.4 87.9 25.2 45.5 33.3 97.6 26.9 141.2zM540.5 399.1c-53.7 0-102 39.7-104 94.9h208c-2-55.1-50.6-94.9-104-94.9zM320.6 602.9c-73 152.4 11.5 172.2 100.3 123.3-46.6-27.5-82.6-72.2-100.3-123.3z" /></svg>'},Lo={name:"info-circle",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm32 664c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V456c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272zm-32-344a48.01 48.01 0 010-96 48.01 48.01 0 010 96z" /></svg>'},zo={name:"ie-square",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM765.9 556.9H437.1c0 100.4 144.3 136 196.8 47.4h120.8c-32.6 91.7-119.7 146-216.8 146-35.1 0-70.3-.1-101.7-15.6-87.4 44.5-180.3 56.6-180.3-42 0-45.8 23.2-107.1 44-145C335 484 381.3 422.8 435.6 374.5c-43.7 18.9-91.1 66.3-122 101.2 25.9-112.8 129.5-193.6 237.1-186.5 130-59.8 209.7-34.1 209.7 38.6 0 27.4-10.6 63.3-21.4 87.9 25.2 45.5 33.3 97.6 26.9 141.2zm-72.3-272.5c-24 0-51.1 11.7-72.6 22 46.3 18 86 57.3 112.3 99.6 7.1-18.9 14.6-47.9 14.6-67.9 0-32-22.8-53.7-54.3-53.7zM540.5 399.1c-53.7 0-102 39.7-104 94.9h208c-2-55.1-50.6-94.9-104-94.9zM320.6 602.9c-73 152.4 11.5 172.2 100.3 123.3-46.6-27.5-82.6-72.2-100.3-123.3z" /></svg>'},Po={name:"html5",theme:"twotone",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M145 96l66 746.6L511.8 928l299.6-85.4L878.7 96H145zm610.9 700.6l-244.1 69.6-245.2-69.6-56.7-641.2h603.8l-57.8 641.2z" fill="#333" /><path d="M209.9 155.4l56.7 641.2 245.2 69.6 244.1-69.6 57.8-641.2H209.9zm530.4 117.9l-4.8 47.2-1.7 19.5H381.7l8.2 94.2H511v-.2h214.7l-3.2 24.3-21.2 242.2-1.7 16.3-187.7 51.7v.4h-1.7l-188.6-52-11.3-144.7h91l6.5 73.2 102.4 27.7h.8v-.2l102.4-27.7 11.4-118.5H511.9v.1H305.4l-22.7-253.5L281 249h461l-1.7 24.3z" fill="#E6E6E6" /><path d="M281 249l1.7 24.3 22.7 253.5h206.5v-.1h112.9l-11.4 118.5L511 672.9v.2h-.8l-102.4-27.7-6.5-73.2h-91l11.3 144.7 188.6 52h1.7v-.4l187.7-51.7 1.7-16.3 21.2-242.2 3.2-24.3H511v.2H389.9l-8.2-94.2h352.1l1.7-19.5 4.8-47.2L742 249H511z" fill="#333" /></svg>'},Io={name:"heart",theme:"twotone",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M923 283.6a260.04 260.04 0 00-56.9-82.8 264.4 264.4 0 00-84-55.5A265.34 265.34 0 00679.7 125c-49.3 0-97.4 13.5-139.2 39-10 6.1-19.5 12.8-28.5 20.1-9-7.3-18.5-14-28.5-20.1-41.8-25.5-89.9-39-139.2-39-35.5 0-69.9 6.8-102.4 20.3-31.4 13-59.7 31.7-84 55.5a258.44 258.44 0 00-56.9 82.8c-13.9 32.3-21 66.6-21 101.9 0 33.3 6.8 68 20.3 103.3 11.3 29.5 27.5 60.1 48.2 91 32.8 48.9 77.9 99.9 133.9 151.6 92.8 85.7 184.7 144.9 188.6 147.3l23.7 15.2c10.5 6.7 24 6.7 34.5 0l23.7-15.2c3.9-2.5 95.7-61.6 188.6-147.3 56-51.7 101.1-102.7 133.9-151.6 20.7-30.9 37-61.5 48.2-91 13.5-35.3 20.3-70 20.3-103.3.1-35.3-7-69.6-20.9-101.9zM512 814.8S156 586.7 156 385.5C156 283.6 240.3 201 344.3 201c73.1 0 136.5 40.8 167.7 100.4C543.2 241.8 606.6 201 679.7 201c104 0 188.3 82.6 188.3 184.5 0 201.2-356 429.3-356 429.3z" fill="#333" /><path d="M679.7 201c-73.1 0-136.5 40.8-167.7 100.4C480.8 241.8 417.4 201 344.3 201c-104 0-188.3 82.6-188.3 184.5 0 201.2 356 429.3 356 429.3s356-228.1 356-429.3C868 283.6 783.7 201 679.7 201z" fill="#E6E6E6" /></svg>'},Ro={name:"info-circle",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" /><path d="M464 336a48 48 0 1096 0 48 48 0 10-96 0zm72 112h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V456c0-4.4-3.6-8-8-8z" /></svg>'},No={name:"idcard",theme:"twotone",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 632H136V232h752v560z" fill="#333" /><path d="M136 792h752V232H136v560zm472-372c0-4.4 1-8 2.3-8h123.4c1.3 0 2.3 3.6 2.3 8v48c0 4.4-1 8-2.3 8H610.3c-1.3 0-2.3-3.6-2.3-8v-48zm0 144c0-4.4 3.2-8 7.1-8h185.7c3.9 0 7.1 3.6 7.1 8v48c0 4.4-3.2 8-7.1 8H615.1c-3.9 0-7.1-3.6-7.1-8v-48zM216.2 664.6c2.8-53.3 31.9-99.6 74.6-126.1-18.1-20-29.1-46.4-29.1-75.5 0-61.9 49.9-112 111.4-112s111.4 50.1 111.4 112c0 29.1-11 55.6-29.1 75.5 42.6 26.4 71.8 72.8 74.6 126.1a8 8 0 01-8 8.4h-43.9c-4.2 0-7.6-3.3-7.9-7.5-3.8-50.5-46-90.5-97.2-90.5s-93.4 40-97.2 90.5c-.3 4.2-3.7 7.5-7.9 7.5H224c-4.6 0-8.2-3.8-7.8-8.4z" fill="#E6E6E6" /><path d="M321.3 463a51.7 52 0 10103.4 0 51.7 52 0 10-103.4 0z" fill="#E6E6E6" /><path d="M610.3 476h123.4c1.3 0 2.3-3.6 2.3-8v-48c0-4.4-1-8-2.3-8H610.3c-1.3 0-2.3 3.6-2.3 8v48c0 4.4 1 8 2.3 8zm4.8 144h185.7c3.9 0 7.1-3.6 7.1-8v-48c0-4.4-3.2-8-7.1-8H615.1c-3.9 0-7.1 3.6-7.1 8v48c0 4.4 3.2 8 7.1 8zM224 673h43.9c4.2 0 7.6-3.3 7.9-7.5 3.8-50.5 46-90.5 97.2-90.5s93.4 40 97.2 90.5c.3 4.2 3.7 7.5 7.9 7.5H522a8 8 0 008-8.4c-2.8-53.3-32-99.7-74.6-126.1a111.8 111.8 0 0029.1-75.5c0-61.9-49.9-112-111.4-112s-111.4 50.1-111.4 112c0 29.1 11 55.5 29.1 75.5a158.09 158.09 0 00-74.6 126.1c-.4 4.6 3.2 8.4 7.8 8.4zm149-262c28.5 0 51.7 23.3 51.7 52s-23.2 52-51.7 52-51.7-23.3-51.7-52 23.2-52 51.7-52z" fill="#333" /></svg>'},Ho={name:"insert-row-above",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><defs><style /></defs><path d="M878.7 336H145.3c-18.4 0-33.3 14.3-33.3 32v464c0 17.7 14.9 32 33.3 32h733.3c18.4 0 33.3-14.3 33.3-32V368c.1-17.7-14.8-32-33.2-32zM360 792H184V632h176v160zm0-224H184V408h176v160zm240 224H424V632h176v160zm0-224H424V408h176v160zm240 224H664V632h176v160zm0-224H664V408h176v160zm64-408H120c-4.4 0-8 3.6-8 8v80c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-80c0-4.4-3.6-8-8-8z" /></svg>'},Fo={name:"insert-row-right",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><defs><style /></defs><path d="M856 112h-80c-4.4 0-8 3.6-8 8v784c0 4.4 3.6 8 8 8h80c4.4 0 8-3.6 8-8V120c0-4.4-3.6-8-8-8zm-200 0H192c-17.7 0-32 14.9-32 33.3v733.3c0 18.4 14.3 33.3 32 33.3h464c17.7 0 32-14.9 32-33.3V145.3c0-18.4-14.3-33.3-32-33.3zM392 840H232V664h160v176zm0-240H232V424h160v176zm0-240H232V184h160v176zm224 480H456V664h160v176zm0-240H456V424h160v176zm0-240H456V184h160v176z" /></svg>'},Vo={name:"instagram",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 306.9c-113.5 0-205.1 91.6-205.1 205.1S398.5 717.1 512 717.1 717.1 625.5 717.1 512 625.5 306.9 512 306.9zm0 338.4c-73.4 0-133.3-59.9-133.3-133.3S438.6 378.7 512 378.7 645.3 438.6 645.3 512 585.4 645.3 512 645.3zm213.5-394.6c-26.5 0-47.9 21.4-47.9 47.9s21.4 47.9 47.9 47.9 47.9-21.3 47.9-47.9a47.84 47.84 0 00-47.9-47.9zM911.8 512c0-55.2.5-109.9-2.6-165-3.1-64-17.7-120.8-64.5-167.6-46.9-46.9-103.6-61.4-167.6-64.5-55.2-3.1-109.9-2.6-165-2.6-55.2 0-109.9-.5-165 2.6-64 3.1-120.8 17.7-167.6 64.5C132.6 226.3 118.1 283 115 347c-3.1 55.2-2.6 109.9-2.6 165s-.5 109.9 2.6 165c3.1 64 17.7 120.8 64.5 167.6 46.9 46.9 103.6 61.4 167.6 64.5 55.2 3.1 109.9 2.6 165 2.6 55.2 0 109.9.5 165-2.6 64-3.1 120.8-17.7 167.6-64.5 46.9-46.9 61.4-103.6 64.5-167.6 3.2-55.1 2.6-109.8 2.6-165zm-88 235.8c-7.3 18.2-16.1 31.8-30.2 45.8-14.1 14.1-27.6 22.9-45.8 30.2C695.2 844.7 570.3 840 512 840c-58.3 0-183.3 4.7-235.9-16.1-18.2-7.3-31.8-16.1-45.8-30.2-14.1-14.1-22.9-27.6-30.2-45.8C179.3 695.2 184 570.3 184 512c0-58.3-4.7-183.3 16.1-235.9 7.3-18.2 16.1-31.8 30.2-45.8s27.6-22.9 45.8-30.2C328.7 179.3 453.7 184 512 184s183.3-4.7 235.9 16.1c18.2 7.3 31.8 16.1 45.8 30.2 14.1 14.1 22.9 27.6 30.2 45.8C844.7 328.7 840 453.7 840 512c0 58.3 4.7 183.2-16.2 235.8z" /></svg>'},Bo={name:"insurance",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M519.9 358.8h97.9v41.6h-97.9zm347-188.9L527.1 54.1C523 52.7 517.5 52 512 52s-11 .7-15.1 2.1L157.1 169.9c-8.3 2.8-15.1 12.4-15.1 21.2v482.4c0 8.8 5.7 20.4 12.6 25.9L499.3 968c3.5 2.7 8 4.1 12.6 4.1s9.2-1.4 12.6-4.1l344.7-268.6c6.9-5.4 12.6-17 12.6-25.9V191.1c.2-8.8-6.6-18.3-14.9-21.2zM411.3 656h-.2c0 4.4-3.6 8-8 8h-37.3c-4.4 0-8-3.6-8-8V471.4c-7.7 9.2-15.4 17.9-23.1 26a6.04 6.04 0 01-10.2-2.4l-13.2-43.5c-.6-2-.2-4.1 1.2-5.6 37-43.4 64.7-95.1 82.2-153.6 1.1-3.5 5-5.3 8.4-3.7l38.6 18.3c2.7 1.3 4.1 4.4 3.2 7.2a429.2 429.2 0 01-33.6 79V656zm296.5-49.2l-26.3 35.3a5.92 5.92 0 01-8.9.7c-30.6-29.3-56.8-65.2-78.1-106.9V656c0 4.4-3.6 8-8 8h-36.2c-4.4 0-8-3.6-8-8V536c-22 44.7-49 80.8-80.6 107.6a5.9 5.9 0 01-8.9-1.4L430 605.7a6 6 0 011.6-8.1c28.6-20.3 51.9-45.2 71-76h-55.1c-4.4 0-8-3.6-8-8V478c0-4.4 3.6-8 8-8h94.9v-18.6h-65.9c-4.4 0-8-3.6-8-8V316c0-4.4 3.6-8 8-8h184.7c4.4 0 8 3.6 8 8v127.2c0 4.4-3.6 8-8 8h-66.7v18.6h98.8c4.4 0 8 3.6 8 8v35.6c0 4.4-3.6 8-8 8h-59c18.1 29.1 41.8 54.3 72.3 76.9 2.6 2.1 3.2 5.9 1.2 8.5z" /></svg>'},Yo={name:"insurance",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M441.6 306.8L403 288.6a6.1 6.1 0 00-8.4 3.7c-17.5 58.5-45.2 110.1-82.2 153.6a6.05 6.05 0 00-1.2 5.6l13.2 43.5c1.3 4.4 7 5.7 10.2 2.4 7.7-8.1 15.4-16.9 23.1-26V656c0 4.4 3.6 8 8 8H403c4.4 0 8-3.6 8-8V393.1a429.2 429.2 0 0033.6-79c1-2.9-.3-6-3-7.3zm26.8 9.2v127.2c0 4.4 3.6 8 8 8h65.9v18.6h-94.9c-4.4 0-8 3.6-8 8v35.6c0 4.4 3.6 8 8 8h55.1c-19.1 30.8-42.4 55.7-71 76a6 6 0 00-1.6 8.1l22.8 36.5c1.9 3.1 6.2 3.8 8.9 1.4 31.6-26.8 58.7-62.9 80.6-107.6v120c0 4.4 3.6 8 8 8h36.2c4.4 0 8-3.6 8-8V536c21.3 41.7 47.5 77.5 78.1 106.9 2.6 2.5 6.8 2.1 8.9-.7l26.3-35.3c2-2.7 1.4-6.5-1.2-8.4-30.5-22.6-54.2-47.8-72.3-76.9h59c4.4 0 8-3.6 8-8V478c0-4.4-3.6-8-8-8h-98.8v-18.6h66.7c4.4 0 8-3.6 8-8V316c0-4.4-3.6-8-8-8H476.4c-4.4 0-8 3.6-8 8zm51.5 42.8h97.9v41.6h-97.9v-41.6zm347-188.9L527.1 54.1C523 52.7 517.5 52 512 52s-11 .7-15.1 2.1L157.1 169.9c-8.3 2.8-15.1 12.4-15.1 21.2v482.4c0 8.8 5.7 20.4 12.6 25.9L499.3 968c3.5 2.7 8 4.1 12.6 4.1s9.2-1.4 12.6-4.1l344.7-268.6c6.9-5.4 12.6-17 12.6-25.9V191.1c.2-8.8-6.6-18.3-14.9-21.2zM810 654.3L512 886.5 214 654.3V226.7l298-101.6 298 101.6v427.6z" /></svg>'},Uo={name:"interaction",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM726 585.7c0 55.3-44.7 100.1-99.7 100.1H420.6v53.4c0 5.7-6.5 8.8-10.9 5.3l-109.1-85.7c-3.5-2.7-3.5-8 0-10.7l109.1-85.7c4.4-3.5 10.9-.3 10.9 5.3v53.4h205.7c19.6 0 35.5-16 35.5-35.6v-78.9c0-3.7 3-6.8 6.8-6.8h50.7c3.7 0 6.8 3 6.8 6.8v79.1zm-2.6-209.9l-109.1 85.7c-4.4 3.5-10.9.3-10.9-5.3v-53.4H397.7c-19.6 0-35.5 16-35.5 35.6v78.9c0 3.7-3 6.8-6.8 6.8h-50.7c-3.7 0-6.8-3-6.8-6.8v-78.9c0-55.3 44.7-100.1 99.7-100.1h205.7v-53.4c0-5.7 6.5-8.8 10.9-5.3l109.1 85.7c3.6 2.5 3.6 7.8.1 10.5z" /></svg>'},Wo={name:"ie",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M852.6 367.6c16.3-36.9 32.1-90.7 32.1-131.8 0-109.1-119.5-147.6-314.5-57.9-161.4-10.8-316.8 110.5-355.6 279.7 46.3-52.3 117.4-123.4 183-151.7C316.1 378.3 246.7 470 194 565.6c-31.1 56.9-66 148.8-66 217.5 0 147.9 139.3 129.8 270.4 63 47.1 23.1 99.8 23.4 152.5 23.4 145.7 0 276.4-81.4 325.2-219H694.9c-78.8 132.9-295.2 79.5-295.2-71.2h493.2c9.6-65.4-2.5-143.6-40.3-211.7zM224.8 648.3c26.6 76.7 80.6 143.8 150.4 185-133.1 73.4-259.9 43.6-150.4-185zm174-163.3c3-82.7 75.4-142.3 156-142.3 80.1 0 153 59.6 156 142.3h-312zm276.8-281.4c32.1-15.4 72.8-33 108.8-33 47.1 0 81.4 32.6 81.4 80.6 0 30-11.1 73.5-21.9 101.8-39.3-63.5-98.9-122.4-168.3-149.4z" /></svg>'},qo={name:"inbox",theme:"outline",icon:'<svg viewBox="0 0 1024 1024" focusable="false"><path d="M885.2 446.3l-.2-.8-112.2-285.1c-5-16.1-19.9-27.2-36.8-27.2H281.2c-17 0-32.1 11.3-36.9 27.6L139.4 443l-.3.7-.2.8c-1.3 4.9-1.7 9.9-1 14.8-.1 1.6-.2 3.2-.2 4.8V830a60.9 60.9 0 0060.8 60.8h627.2c33.5 0 60.8-27.3 60.9-60.8V464.1c0-1.3 0-2.6-.1-3.7.4-4.9 0-9.6-1.3-14.1zm-295.8-43l-.3 15.7c-.8 44.9-31.8 75.1-77.1 75.1-22.1 0-41.1-7.1-54.8-20.6S436 441.2 435.6 419l-.3-15.7H229.5L309 210h399.2l81.7 193.3H589.4zm-375 76.8h157.3c24.3 57.1 76 90.8 140.4 90.8 33.7 0 65-9.4 90.3-27.2 22.2-15.6 39.5-37.4 50.7-63.6h156.5V814H214.4V480.1z" /></svg>'},$o={name:"insert-row-below",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><defs><style /></defs><path d="M904 768H120c-4.4 0-8 3.6-8 8v80c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-80c0-4.4-3.6-8-8-8zm-25.3-608H145.3c-18.4 0-33.3 14.3-33.3 32v464c0 17.7 14.9 32 33.3 32h733.3c18.4 0 33.3-14.3 33.3-32V192c.1-17.7-14.8-32-33.2-32zM360 616H184V456h176v160zm0-224H184V232h176v160zm240 224H424V456h176v160zm0-224H424V232h176v160zm240 224H664V456h176v160zm0-224H664V232h176v160z" /></svg>'},Go={name:"instagram",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 378.7c-73.4 0-133.3 59.9-133.3 133.3S438.6 645.3 512 645.3 645.3 585.4 645.3 512 585.4 378.7 512 378.7zM911.8 512c0-55.2.5-109.9-2.6-165-3.1-64-17.7-120.8-64.5-167.6-46.9-46.9-103.6-61.4-167.6-64.5-55.2-3.1-109.9-2.6-165-2.6-55.2 0-109.9-.5-165 2.6-64 3.1-120.8 17.7-167.6 64.5C132.6 226.3 118.1 283 115 347c-3.1 55.2-2.6 109.9-2.6 165s-.5 109.9 2.6 165c3.1 64 17.7 120.8 64.5 167.6 46.9 46.9 103.6 61.4 167.6 64.5 55.2 3.1 109.9 2.6 165 2.6 55.2 0 109.9.5 165-2.6 64-3.1 120.8-17.7 167.6-64.5 46.9-46.9 61.4-103.6 64.5-167.6 3.2-55.1 2.6-109.8 2.6-165zM512 717.1c-113.5 0-205.1-91.6-205.1-205.1S398.5 306.9 512 306.9 717.1 398.5 717.1 512 625.5 717.1 512 717.1zm213.5-370.7c-26.5 0-47.9-21.4-47.9-47.9s21.4-47.9 47.9-47.9 47.9 21.4 47.9 47.9a47.84 47.84 0 01-47.9 47.9z" /></svg>'},Xo={name:"layout",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M384 912h496c17.7 0 32-14.3 32-32V340H384v572zm496-800H384v164h528V144c0-17.7-14.3-32-32-32zm-768 32v736c0 17.7 14.3 32 32 32h176V112H144c-17.7 0-32 14.3-32 32z" /></svg>'},Ko={name:"insert-row-left",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><defs><style /></defs><path d="M248 112h-80c-4.4 0-8 3.6-8 8v784c0 4.4 3.6 8 8 8h80c4.4 0 8-3.6 8-8V120c0-4.4-3.6-8-8-8zm584 0H368c-17.7 0-32 14.9-32 33.3v733.3c0 18.4 14.3 33.3 32 33.3h464c17.7 0 32-14.9 32-33.3V145.3c0-18.4-14.3-33.3-32-33.3zM568 840H408V664h160v176zm0-240H408V424h160v176zm0-240H408V184h160v176zm224 480H632V664h160v176zm0-240H632V424h160v176zm0-240H632V184h160v176z" /></svg>'},Jo={name:"laptop",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M956.9 845.1L896.4 632V168c0-17.7-14.3-32-32-32h-704c-17.7 0-32 14.3-32 32v464L67.9 845.1C60.4 866 75.8 888 98 888h828.8c22.2 0 37.6-22 30.1-42.9zM200.4 208h624v395h-624V208zm228.3 608l8.1-37h150.3l8.1 37H428.7zm224 0l-19.1-86.7c-.8-3.7-4.1-6.3-7.8-6.3H398.2c-3.8 0-7 2.6-7.8 6.3L371.3 816H151l42.3-149h638.2l42.3 149H652.7z" /></svg>'},Qo={name:"interaction",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656zM304.8 524h50.7c3.7 0 6.8-3 6.8-6.8v-78.9c0-19.7 15.9-35.6 35.5-35.6h205.7v53.4c0 5.7 6.5 8.8 10.9 5.3l109.1-85.7c3.5-2.7 3.5-8 0-10.7l-109.1-85.7c-4.4-3.5-10.9-.3-10.9 5.3V338H397.7c-55.1 0-99.7 44.8-99.7 100.1V517c0 4 3 7 6.8 7zm-4.2 134.9l109.1 85.7c4.4 3.5 10.9.3 10.9-5.3v-53.4h205.7c55.1 0 99.7-44.8 99.7-100.1v-78.9c0-3.7-3-6.8-6.8-6.8h-50.7c-3.7 0-6.8 3-6.8 6.8v78.9c0 19.7-15.9 35.6-35.5 35.6H420.6V568c0-5.7-6.5-8.8-10.9-5.3l-109.1 85.7c-3.5 2.5-3.5 7.8 0 10.5z" /></svg>'},Zo={name:"layout",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-696 72h136v656H184V184zm656 656H384V384h456v456zM384 320V184h456v136H384z" /></svg>'},ea={name:"key",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M608 112c-167.9 0-304 136.1-304 304 0 70.3 23.9 135 63.9 186.5l-41.1 41.1-62.3-62.3a8.15 8.15 0 00-11.4 0l-39.8 39.8a8.15 8.15 0 000 11.4l62.3 62.3-44.9 44.9-62.3-62.3a8.15 8.15 0 00-11.4 0l-39.8 39.8a8.15 8.15 0 000 11.4l62.3 62.3-65.3 65.3a8.03 8.03 0 000 11.3l42.3 42.3c3.1 3.1 8.2 3.1 11.3 0l253.6-253.6A304.06 304.06 0 00608 720c167.9 0 304-136.1 304-304S775.9 112 608 112zm161.2 465.2C726.2 620.3 668.9 644 608 644c-60.9 0-118.2-23.7-161.2-66.8-43.1-43-66.8-100.3-66.8-161.2 0-60.9 23.7-118.2 66.8-161.2 43-43.1 100.3-66.8 161.2-66.8 60.9 0 118.2 23.7 161.2 66.8 43.1 43 66.8 100.3 66.8 161.2 0 60.9-23.7 118.2-66.8 161.2z" /></svg>'},ta={name:"italic",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M798 160H366c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h181.2l-156 544H229c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h432c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8H474.4l156-544H798c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8z" /></svg>'},na={name:"insurance",theme:"twotone",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M866.9 169.9L527.1 54.1C523 52.7 517.5 52 512 52s-11 .7-15.1 2.1L157.1 169.9c-8.3 2.8-15.1 12.4-15.1 21.2v482.4c0 8.8 5.7 20.4 12.6 25.9L499.3 968c3.5 2.7 8 4.1 12.6 4.1s9.2-1.4 12.6-4.1l344.7-268.6c6.9-5.4 12.6-17 12.6-25.9V191.1c.2-8.8-6.6-18.3-14.9-21.2zM810 654.3L512 886.5 214 654.3V226.7l298-101.6 298 101.6v427.6z" fill="#333" /><path d="M521.9 358.8h97.9v41.6h-97.9z" fill="#E6E6E6" /><path d="M214 226.7v427.6l298 232.2 298-232.2V226.7L512 125.1 214 226.7zM413.3 656h-.2c0 4.4-3.6 8-8 8h-37.3c-4.4 0-8-3.6-8-8V471.4c-7.7 9.2-15.4 17.9-23.1 26a6.04 6.04 0 01-10.2-2.4l-13.2-43.5c-.6-2-.2-4.1 1.2-5.6 37-43.4 64.7-95.1 82.2-153.6 1.1-3.5 5-5.3 8.4-3.7l38.6 18.3c2.7 1.3 4.1 4.4 3.2 7.2a429.2 429.2 0 01-33.6 79V656zm257.9-340v127.2c0 4.4-3.6 8-8 8h-66.7v18.6h98.8c4.4 0 8 3.6 8 8v35.6c0 4.4-3.6 8-8 8h-59c18.1 29.1 41.8 54.3 72.3 76.9 2.6 2.1 3.2 5.9 1.2 8.5l-26.3 35.3a5.92 5.92 0 01-8.9.7c-30.6-29.3-56.8-65.2-78.1-106.9V656c0 4.4-3.6 8-8 8h-36.2c-4.4 0-8-3.6-8-8V536c-22 44.7-49 80.8-80.6 107.6a6.38 6.38 0 01-4.8 1.4c-1.7-.3-3.2-1.3-4.1-2.8L432 605.7a6 6 0 011.6-8.1c28.6-20.3 51.9-45.2 71-76h-55.1c-4.4 0-8-3.6-8-8V478c0-4.4 3.6-8 8-8h94.9v-18.6h-65.9c-4.4 0-8-3.6-8-8V316c0-4.4 3.6-8 8-8h184.7c4.4 0 8 3.6 8 8z" fill="#E6E6E6" /><path d="M443.7 306.9l-38.6-18.3c-3.4-1.6-7.3.2-8.4 3.7-17.5 58.5-45.2 110.2-82.2 153.6a5.7 5.7 0 00-1.2 5.6l13.2 43.5c1.4 4.5 7 5.8 10.2 2.4 7.7-8.1 15.4-16.8 23.1-26V656c0 4.4 3.6 8 8 8h37.3c4.4 0 8-3.6 8-8h.2V393.1a429.2 429.2 0 0033.6-79c.9-2.8-.5-5.9-3.2-7.2zm26.8 9.1v127.4c0 4.4 3.6 8 8 8h65.9V470h-94.9c-4.4 0-8 3.6-8 8v35.6c0 4.4 3.6 8 8 8h55.1c-19.1 30.8-42.4 55.7-71 76a6 6 0 00-1.6 8.1l22.8 36.5c.9 1.5 2.4 2.5 4.1 2.8 1.7.3 3.5-.2 4.8-1.4 31.6-26.8 58.6-62.9 80.6-107.6v120c0 4.4 3.6 8 8 8h36.2c4.4 0 8-3.6 8-8V535.9c21.3 41.7 47.5 77.6 78.1 106.9 2.6 2.5 6.7 2.2 8.9-.7l26.3-35.3c2-2.6 1.4-6.4-1.2-8.5-30.5-22.6-54.2-47.8-72.3-76.9h59c4.4 0 8-3.6 8-8v-35.6c0-4.4-3.6-8-8-8h-98.8v-18.6h66.7c4.4 0 8-3.6 8-8V316c0-4.4-3.6-8-8-8H478.5c-4.4 0-8 3.6-8 8zm51.4 42.8h97.9v41.6h-97.9v-41.6z" fill="#333" /></svg>'},ra={name:"interaction",theme:"twotone",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z" fill="#333" /><path d="M184 840h656V184H184v656zm114-401.9c0-55.3 44.6-100.1 99.7-100.1h205.8v-53.4c0-5.6 6.5-8.8 10.9-5.3L723.5 365c3.5 2.7 3.5 8 0 10.7l-109.1 85.7c-4.4 3.5-10.9.4-10.9-5.3v-53.4H397.8c-19.6 0-35.5 15.9-35.5 35.6v78.9c0 3.8-3.1 6.8-6.8 6.8h-50.7c-3.8 0-6.8-3-6.8-7v-78.9zm2.6 210.3l109.1-85.7c4.4-3.5 10.9-.4 10.9 5.3v53.4h205.6c19.6 0 35.5-15.9 35.5-35.6v-78.9c0-3.8 3.1-6.8 6.8-6.8h50.7c3.8 0 6.8 3.1 6.8 6.8v78.9c0 55.3-44.6 100.1-99.7 100.1H420.6v53.4c0 5.6-6.5 8.8-10.9 5.3l-109.1-85.7c-3.5-2.7-3.5-8 0-10.5z" fill="#E6E6E6" /><path d="M304.8 524h50.7c3.7 0 6.8-3 6.8-6.8v-78.9c0-19.7 15.9-35.6 35.5-35.6h205.7v53.4c0 5.7 6.5 8.8 10.9 5.3l109.1-85.7c3.5-2.7 3.5-8 0-10.7l-109.1-85.7c-4.4-3.5-10.9-.3-10.9 5.3V338H397.7c-55.1 0-99.7 44.8-99.7 100.1V517c0 4 3 7 6.8 7zm-4.2 134.9l109.1 85.7c4.4 3.5 10.9.3 10.9-5.3v-53.4h205.7c55.1 0 99.7-44.8 99.7-100.1v-78.9c0-3.7-3-6.8-6.8-6.8h-50.7c-3.7 0-6.8 3-6.8 6.8v78.9c0 19.7-15.9 35.6-35.5 35.6H420.6V568c0-5.7-6.5-8.8-10.9-5.3l-109.1 85.7c-3.5 2.5-3.5 7.8 0 10.5z" fill="#333" /></svg>'},ia={name:"layout",theme:"twotone",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M384 185h456v136H384zm-200 0h136v656H184zm696-73H144c-17.7 0-32 14.3-32 32v1c0-17.7 14.3-32 32-32h736c17.7 0 32 14.3 32 32v-1c0-17.7-14.3-32-32-32zM384 385h456v456H384z" fill="#E6E6E6" /><path d="M880 113H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V145c0-17.7-14.3-32-32-32zM320 841H184V185h136v656zm520 0H384V385h456v456zm0-520H384V185h456v136z" fill="#333" /></svg>'},sa={name:"issues-close",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M464 688a48 48 0 1096 0 48 48 0 10-96 0zm72-112c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8h48zm400-188h-59.3c-2.6 0-5 1.2-6.5 3.3L763.7 538.1l-49.9-68.8a7.92 7.92 0 00-6.5-3.3H648c-6.5 0-10.3 7.4-6.5 12.7l109.2 150.7a16.1 16.1 0 0026 0l165.8-228.7c3.8-5.3 0-12.7-6.5-12.7zm-44 306h-64.2c-5.5 0-10.6 2.9-13.6 7.5a352.2 352.2 0 01-49.8 62.2A355.92 355.92 0 01651.1 840a355 355 0 01-138.7 27.9c-48.1 0-94.8-9.4-138.7-27.9a355.92 355.92 0 01-113.3-76.3A353.06 353.06 0 01184 650.5c-18.6-43.8-28-90.5-28-138.5s9.4-94.7 28-138.5c17.9-42.4 43.6-80.5 76.4-113.2 32.8-32.7 70.9-58.4 113.3-76.3a355 355 0 01138.7-27.9c48.1 0 94.8 9.4 138.7 27.9 42.4 17.9 80.5 43.6 113.3 76.3 19 19 35.6 39.8 49.8 62.2 2.9 4.7 8.1 7.5 13.6 7.5H892c6 0 9.8-6.3 7.2-11.6C828.8 178.5 684.7 82 517.7 80 278.9 77.2 80.5 272.5 80 511.2 79.5 750.1 273.3 944 512.4 944c169.2 0 315.6-97 386.7-238.4A8 8 0 00892 694z" /></svg>'},oa={name:"info",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M448 224a64 64 0 10128 0 64 64 0 10-128 0zm96 168h-64c-4.4 0-8 3.6-8 8v464c0 4.4 3.6 8 8 8h64c4.4 0 8-3.6 8-8V400c0-4.4-3.6-8-8-8z" /></svg>'},aa={name:"left-circle",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M603.3 327.5l-246 178a7.95 7.95 0 000 12.9l246 178c5.3 3.8 12.7 0 12.7-6.5V643c0-10.2-4.9-19.9-13.2-25.9L457.4 512l145.4-105.2c8.3-6 13.2-15.6 13.2-25.9V334c0-6.5-7.4-10.3-12.7-6.5z" /><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" /></svg>'},ca={name:"left-circle",theme:"twotone",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm104 240.9c0 10.3-4.9 19.9-13.2 25.9L457.4 512l145.4 105.1c8.3 6 13.2 15.7 13.2 25.9v46.9c0 6.5-7.4 10.3-12.7 6.5l-246-178a7.95 7.95 0 010-12.9l246-178c5.3-3.8 12.7 0 12.7 6.5v46.9z" fill="#E6E6E6" /><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" fill="#333" /><path d="M603.3 327.5l-246 178a7.95 7.95 0 000 12.9l246 178c5.3 3.8 12.7 0 12.7-6.5V643c0-10.2-4.9-19.9-13.2-25.9L457.4 512l145.4-105.2c8.3-6 13.2-15.6 13.2-25.9V334c0-6.5-7.4-10.3-12.7-6.5z" fill="#333" /></svg>'},la={name:"like",theme:"twotone",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M273 495.9v428l.3-428zm538.2-88.3H496.8l9.6-198.4c.6-11.9-4.7-23.1-14.6-30.5-6.1-4.5-13.6-6.8-21.1-6.7-19.6.1-36.9 13.4-42.2 32.3-37.1 134.4-64.9 235.2-83.5 302.5V852h399.4a56.85 56.85 0 0033.6-51.8c0-9.7-2.3-18.9-6.9-27.3l-13.9-25.4 21.9-19a56.76 56.76 0 0019.6-43c0-9.7-2.3-18.9-6.9-27.3l-13.9-25.4 21.9-19a56.76 56.76 0 0019.6-43c0-9.7-2.3-18.9-6.9-27.3l-14-25.5 21.9-19a56.76 56.76 0 0019.6-43c0-19.1-11-37.5-28.8-48.4z" fill="#E6E6E6" /><path d="M112 528v364c0 17.7 14.3 32 32 32h65V496h-65c-17.7 0-32 14.3-32 32zm773.9 5.7c16.8-22.2 26.1-49.4 26.1-77.7 0-44.9-25.1-87.5-65.5-111a67.67 67.67 0 00-34.3-9.3H572.3l6-122.9c1.5-29.7-9-57.9-29.5-79.4a106.4 106.4 0 00-77.9-33.4c-52 0-98 35-111.8 85.1l-85.8 310.8-.3 428h472.1c9.3 0 18.2-1.8 26.5-5.4 47.6-20.3 78.3-66.8 78.3-118.4 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7 0-12.6-1.8-25-5.4-37zM820.4 499l-21.9 19 14 25.5a56.2 56.2 0 016.9 27.3c0 16.5-7.1 32.2-19.6 43l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 16.5-7.1 32.2-19.6 43l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 22.4-13.2 42.6-33.6 51.8H345V506.8c18.6-67.2 46.4-168 83.5-302.5a44.28 44.28 0 0142.2-32.3c7.5-.1 15 2.2 21.1 6.7 9.9 7.4 15.2 18.6 14.6 30.5l-9.6 198.4h314.4C829 418.5 840 436.9 840 456c0 16.5-7.1 32.2-19.6 43z" fill="#333" /></svg>'},ua={name:"left-circle",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm104 316.9c0 10.2-4.9 19.9-13.2 25.9L457.4 512l145.4 105.2c8.3 6 13.2 15.6 13.2 25.9V690c0 6.5-7.4 10.3-12.7 6.5l-246-178a7.95 7.95 0 010-12.9l246-178a8 8 0 0112.7 6.5v46.8z" /></svg>'},ha={name:"left-square",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM624 380.9c0 10.2-4.9 19.9-13.2 25.9L465.4 512l145.4 105.2c8.3 6 13.2 15.6 13.2 25.9V690c0 6.5-7.4 10.3-12.7 6.5l-246-178a7.95 7.95 0 010-12.9l246-178c5.3-3.8 12.7 0 12.7 6.5v46.8z" /></svg>'},da={name:"left-square",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M365.3 518.5l246 178c5.3 3.8 12.7 0 12.7-6.5v-46.9c0-10.2-4.9-19.9-13.2-25.9L465.4 512l145.4-105.2c8.3-6 13.2-15.6 13.2-25.9V334c0-6.5-7.4-10.3-12.7-6.5l-246 178a8.05 8.05 0 000 13z" /><path d="M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z" /></svg>'},fa={name:"line-height",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M648 160H104c-4.4 0-8 3.6-8 8v128c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-64h168v560h-92c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h264c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-92V232h168v64c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V168c0-4.4-3.6-8-8-8zm272.8 546H856V318h64.8c6 0 9.4-7 5.7-11.7L825.7 178.7a7.14 7.14 0 00-11.3 0L713.6 306.3a7.23 7.23 0 005.7 11.7H784v388h-64.8c-6 0-9.4 7-5.7 11.7l100.8 127.5c2.9 3.7 8.5 3.7 11.3 0l100.8-127.5a7.2 7.2 0 00-5.6-11.7z" /></svg>'},pa={name:"like",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M885.9 533.7c16.8-22.2 26.1-49.4 26.1-77.7 0-44.9-25.1-87.4-65.5-111.1a67.67 67.67 0 00-34.3-9.3H572.4l6-122.9c1.4-29.7-9.1-57.9-29.5-79.4A106.62 106.62 0 00471 99.9c-52 0-98 35-111.8 85.1l-85.9 311H144c-17.7 0-32 14.3-32 32v364c0 17.7 14.3 32 32 32h601.3c9.2 0 18.2-1.8 26.5-5.4 47.6-20.3 78.3-66.8 78.3-118.4 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7-.2-12.6-2-25.1-5.6-37.1zM184 852V568h81v284h-81zm636.4-353l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 16.5-7.2 32.2-19.6 43l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 16.5-7.2 32.2-19.6 43l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 22.4-13.2 42.6-33.6 51.8H329V564.8l99.5-360.5a44.1 44.1 0 0142.2-32.3c7.6 0 15.1 2.2 21.1 6.7 9.9 7.4 15.2 18.6 14.6 30.5l-9.6 198.4h314.4C829 418.5 840 436.9 840 456c0 16.5-7.2 32.1-19.6 43z" /></svg>'},ma={name:"left",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z" /></svg>'},ga={name:"line-chart",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M888 792H200V168c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h752c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM305.8 637.7c3.1 3.1 8.1 3.1 11.3 0l138.3-137.6L583 628.5c3.1 3.1 8.2 3.1 11.3 0l275.4-275.3c3.1-3.1 3.1-8.2 0-11.3l-39.6-39.6a8.03 8.03 0 00-11.3 0l-230 229.9L461.4 404a8.03 8.03 0 00-11.3 0L266.3 586.7a8.03 8.03 0 000 11.3l39.5 39.7z" /></svg>'},va={name:"like",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M885.9 533.7c16.8-22.2 26.1-49.4 26.1-77.7 0-44.9-25.1-87.4-65.5-111.1a67.67 67.67 0 00-34.3-9.3H572.4l6-122.9c1.4-29.7-9.1-57.9-29.5-79.4A106.62 106.62 0 00471 99.9c-52 0-98 35-111.8 85.1l-85.9 311h-.3v428h472.3c9.2 0 18.2-1.8 26.5-5.4 47.6-20.3 78.3-66.8 78.3-118.4 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7-.2-12.6-2-25.1-5.6-37.1zM112 528v364c0 17.7 14.3 32 32 32h65V496h-65c-17.7 0-32 14.3-32 32z" /></svg>'},ya={name:"line",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M904 476H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z" /></svg>'},ba={name:"left-square",theme:"twotone",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z" fill="#333" /><path d="M184 840h656V184H184v656zm181.3-334.5l246-178c5.3-3.8 12.7 0 12.7 6.5v46.9c0 10.3-4.9 19.9-13.2 25.9L465.4 512l145.4 105.2c8.3 6 13.2 15.7 13.2 25.9V690c0 6.5-7.4 10.3-12.7 6.4l-246-178a7.95 7.95 0 010-12.9z" fill="#E6E6E6" /><path d="M365.3 518.4l246 178c5.3 3.9 12.7.1 12.7-6.4v-46.9c0-10.2-4.9-19.9-13.2-25.9L465.4 512l145.4-105.2c8.3-6 13.2-15.6 13.2-25.9V334c0-6.5-7.4-10.3-12.7-6.5l-246 178a7.95 7.95 0 000 12.9z" fill="#333" /></svg>'},_a={name:"linkedin",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M847.7 112H176.3c-35.5 0-64.3 28.8-64.3 64.3v671.4c0 35.5 28.8 64.3 64.3 64.3h671.4c35.5 0 64.3-28.8 64.3-64.3V176.3c0-35.5-28.8-64.3-64.3-64.3zm0 736c-447.8-.1-671.7-.2-671.7-.3.1-447.8.2-671.7.3-671.7 447.8.1 671.7.2 671.7.3-.1 447.8-.2 671.7-.3 671.7zM230.6 411.9h118.7v381.8H230.6zm59.4-52.2c37.9 0 68.8-30.8 68.8-68.8a68.8 68.8 0 10-137.6 0c-.1 38 30.7 68.8 68.8 68.8zm252.3 245.1c0-49.8 9.5-98 71.2-98 60.8 0 61.7 56.9 61.7 101.2v185.7h118.6V584.3c0-102.8-22.2-181.9-142.3-181.9-57.7 0-96.4 31.7-112.3 61.7h-1.6v-52.2H423.7v381.8h118.6V604.8z" /></svg>'},wa={name:"link",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M574 665.4a8.03 8.03 0 00-11.3 0L446.5 781.6c-53.8 53.8-144.6 59.5-204 0-59.5-59.5-53.8-150.2 0-204l116.2-116.2c3.1-3.1 3.1-8.2 0-11.3l-39.8-39.8a8.03 8.03 0 00-11.3 0L191.4 526.5c-84.6 84.6-84.6 221.5 0 306s221.5 84.6 306 0l116.2-116.2c3.1-3.1 3.1-8.2 0-11.3L574 665.4zm258.6-474c-84.6-84.6-221.5-84.6-306 0L410.3 307.6a8.03 8.03 0 000 11.3l39.7 39.7c3.1 3.1 8.2 3.1 11.3 0l116.2-116.2c53.8-53.8 144.6-59.5 204 0 59.5 59.5 53.8 150.2 0 204L665.3 562.6a8.03 8.03 0 000 11.3l39.8 39.8c3.1 3.1 8.2 3.1 11.3 0l116.2-116.2c84.5-84.6 84.5-221.5 0-306.1zM610.1 372.3a8.03 8.03 0 00-11.3 0L372.3 598.7a8.03 8.03 0 000 11.3l39.6 39.6c3.1 3.1 8.2 3.1 11.3 0l226.4-226.4c3.1-3.1 3.1-8.2 0-11.3l-39.5-39.6z" /></svg>'},Sa={name:"linkedin",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM349.3 793.7H230.6V411.9h118.7v381.8zm-59.3-434a68.8 68.8 0 1168.8-68.8c-.1 38-30.9 68.8-68.8 68.8zm503.7 434H675.1V608c0-44.3-.8-101.2-61.7-101.2-61.7 0-71.2 48.2-71.2 98v188.9H423.7V411.9h113.8v52.2h1.6c15.8-30 54.5-61.7 112.3-61.7 120.2 0 142.3 79.1 142.3 181.9v209.4z" /></svg>'},xa={name:"loading",theme:"outline",icon:'<svg viewBox="0 0 1024 1024" focusable="false"><path d="M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z" /></svg>'},Oa={name:"login",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><defs><style /></defs><path d="M521.7 82c-152.5-.4-286.7 78.5-363.4 197.7-3.4 5.3.4 12.3 6.7 12.3h70.3c4.8 0 9.3-2.1 12.3-5.8 7-8.5 14.5-16.7 22.4-24.5 32.6-32.5 70.5-58.1 112.7-75.9 43.6-18.4 90-27.8 137.9-27.8 47.9 0 94.3 9.3 137.9 27.8 42.2 17.8 80.1 43.4 112.7 75.9 32.6 32.5 58.1 70.4 76 112.5C865.7 417.8 875 464.1 875 512c0 47.9-9.4 94.2-27.8 137.8-17.8 42.1-43.4 80-76 112.5s-70.5 58.1-112.7 75.9A352.8 352.8 0 01520.6 866c-47.9 0-94.3-9.4-137.9-27.8A353.84 353.84 0 01270 762.3c-7.9-7.9-15.3-16.1-22.4-24.5-3-3.7-7.6-5.8-12.3-5.8H165c-6.3 0-10.2 7-6.7 12.3C234.9 863.2 368.5 942 520.6 942c236.2 0 428-190.1 430.4-425.6C953.4 277.1 761.3 82.6 521.7 82zM395.02 624v-76h-314c-4.4 0-8-3.6-8-8v-56c0-4.4 3.6-8 8-8h314v-76c0-6.7 7.8-10.5 13-6.3l141.9 112a8 8 0 010 12.6l-141.9 112c-5.2 4.1-13 .4-13-6.3z" /></svg>'},ka={name:"loading-3-quarters",theme:"outline",icon:'<svg viewBox="0 0 1024 1024" focusable="false"><path d="M512 1024c-69.1 0-136.2-13.5-199.3-40.2C251.7 958 197 921 150 874c-47-47-84-101.7-109.8-162.7C13.5 648.2 0 581.1 0 512c0-19.9 16.1-36 36-36s36 16.1 36 36c0 59.4 11.6 117 34.6 171.3 22.2 52.4 53.9 99.5 94.3 139.9 40.4 40.4 87.5 72.2 139.9 94.3C395 940.4 452.6 952 512 952c59.4 0 117-11.6 171.3-34.6 52.4-22.2 99.5-53.9 139.9-94.3 40.4-40.4 72.2-87.5 94.3-139.9C940.4 629 952 571.4 952 512c0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.2C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3s-13.5 136.2-40.2 199.3C958 772.3 921 827 874 874c-47 47-101.8 83.9-162.7 109.7-63.1 26.8-130.2 40.3-199.3 40.3z" /></svg>'},Ca={name:"lock",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M832 464h-68V240c0-70.7-57.3-128-128-128H388c-70.7 0-128 57.3-128 128v224h-68c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V496c0-17.7-14.3-32-32-32zM332 240c0-30.9 25.1-56 56-56h248c30.9 0 56 25.1 56 56v224H332V240zm460 600H232V536h560v304zM484 701v53c0 4.4 3.6 8 8 8h40c4.4 0 8-3.6 8-8v-53a48.01 48.01 0 10-56 0z" /></svg>'},Ma={name:"mail",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-80.8 108.9L531.7 514.4c-7.8 6.1-18.7 6.1-26.5 0L189.6 268.9A7.2 7.2 0 01194 256h648.8a7.2 7.2 0 014.4 12.9z" /></svg>'},Ea={name:"logout",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M868 732h-70.3c-4.8 0-9.3 2.1-12.3 5.8-7 8.5-14.5 16.7-22.4 24.5a353.84 353.84 0 01-112.7 75.9A352.8 352.8 0 01512.4 866c-47.9 0-94.3-9.4-137.9-27.8a353.84 353.84 0 01-112.7-75.9 353.28 353.28 0 01-76-112.5C167.3 606.2 158 559.9 158 512s9.4-94.2 27.8-137.8c17.8-42.1 43.4-80 76-112.5s70.5-58.1 112.7-75.9c43.6-18.4 90-27.8 137.9-27.8 47.9 0 94.3 9.3 137.9 27.8 42.2 17.8 80.1 43.4 112.7 75.9 7.9 7.9 15.3 16.1 22.4 24.5 3 3.7 7.6 5.8 12.3 5.8H868c6.3 0 10.2-7 6.7-12.3C798 160.5 663.8 81.6 511.3 82 271.7 82.6 79.6 277.1 82 516.4 84.4 751.9 276.2 942 512.4 942c152.1 0 285.7-78.8 362.3-197.7 3.4-5.3-.4-12.3-6.7-12.3zm88.9-226.3L815 393.7c-5.3-4.2-13-.4-13 6.3v76H488c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h314v76c0 6.7 7.8 10.5 13 6.3l141.9-112a8 8 0 000-12.6z" /></svg>'},Ta={name:"mail",theme:"twotone",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M477.5 536.3L135.9 270.7l-27.5-21.4 27.6 21.5V792h752V270.8L546.2 536.3a55.99 55.99 0 01-68.7 0z" fill="#E6E6E6" /><path d="M876.3 198.8l39.3 50.5-27.6 21.5 27.7-21.5-39.3-50.5z" fill="#E6E6E6" /><path d="M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-94.5 72.1L512 482 190.5 232.1h643zm54.5 38.7V792H136V270.8l-27.6-21.5 27.5 21.4 341.6 265.6a55.99 55.99 0 0068.7 0L888 270.8l27.6-21.5-39.3-50.5h.1l39.3 50.5-27.7 21.5z" fill="#333" /></svg>'},ja={name:"medicine-box",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M839.2 278.1a32 32 0 00-30.4-22.1H736V144c0-17.7-14.3-32-32-32H320c-17.7 0-32 14.3-32 32v112h-72.8a31.9 31.9 0 00-30.4 22.1L112 502v378c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V502l-72.8-223.9zM660 628c0 4.4-3.6 8-8 8H544v108c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V636H372c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h108V464c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v108h108c4.4 0 8 3.6 8 8v48zm4-372H360v-72h304v72z" /></svg>'},Da={name:"medium",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M834.7 279.8l61.3-58.9V208H683.7L532.4 586.4 360.3 208H137.7v12.9l71.6 86.6c7 6.4 10.6 15.8 9.7 25.2V673c2.2 12.3-1.7 24.8-10.3 33.7L128 805v12.7h228.6v-12.9l-80.6-98a39.99 39.99 0 01-11.1-33.7V378.7l200.7 439.2h23.3l172.6-439.2v349.9c0 9.2 0 11.1-6 17.2l-62.1 60.3V819h301.2v-12.9l-59.9-58.9c-5.2-4-7.9-10.7-6.8-17.2V297a18.1 18.1 0 016.8-17.2z" /></svg>'},Aa={name:"lock",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M832 464h-68V240c0-70.7-57.3-128-128-128H388c-70.7 0-128 57.3-128 128v224h-68c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V496c0-17.7-14.3-32-32-32zM540 701v53c0 4.4-3.6 8-8 8h-40c-4.4 0-8-3.6-8-8v-53a48.01 48.01 0 1156 0zm152-237H332V240c0-30.9 25.1-56 56-56h248c30.9 0 56 25.1 56 56v224z" /></svg>'},La={name:"man",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M874 120H622c-3.3 0-6 2.7-6 6v56c0 3.3 2.7 6 6 6h160.4L583.1 387.3c-50-38.5-111-59.3-175.1-59.3-76.9 0-149.3 30-203.6 84.4S120 539.1 120 616s30 149.3 84.4 203.6C258.7 874 331.1 904 408 904s149.3-30 203.6-84.4C666 765.3 696 692.9 696 616c0-64.1-20.8-124.9-59.2-174.9L836 241.9V402c0 3.3 2.7 6 6 6h56c3.3 0 6-2.7 6-6V150c0-16.5-13.5-30-30-30zM408 828c-116.9 0-212-95.1-212-212s95.1-212 212-212 212 95.1 212 212-95.1 212-212 212z" /></svg>'},za={name:"mail",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 110.8V792H136V270.8l-27.6-21.5 39.3-50.5 42.8 33.3h643.1l42.8-33.3 39.3 50.5-27.7 21.5zM833.6 232L512 482 190.4 232l-42.8-33.3-39.3 50.5 27.6 21.5 341.6 265.6a55.99 55.99 0 0068.7 0L888 270.8l27.6-21.5-39.3-50.5-42.7 33.2z" /></svg>'},Pa={name:"mac-command",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><defs><style /></defs><path d="M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z" /><path d="M370.8 554.4c-54.6 0-98.8 44.2-98.8 98.8s44.2 98.8 98.8 98.8 98.8-44.2 98.8-98.8v-42.4h84.7v42.4c0 54.6 44.2 98.8 98.8 98.8s98.8-44.2 98.8-98.8-44.2-98.8-98.8-98.8h-42.4v-84.7h42.4c54.6 0 98.8-44.2 98.8-98.8 0-54.6-44.2-98.8-98.8-98.8s-98.8 44.2-98.8 98.8v42.4h-84.7v-42.4c0-54.6-44.2-98.8-98.8-98.8S272 316.2 272 370.8s44.2 98.8 98.8 98.8h42.4v84.7h-42.4zm42.4 98.8c0 23.4-19 42.4-42.4 42.4s-42.4-19-42.4-42.4 19-42.4 42.4-42.4h42.4v42.4zm197.6-282.4c0-23.4 19-42.4 42.4-42.4s42.4 19 42.4 42.4-19 42.4-42.4 42.4h-42.4v-42.4zm0 240h42.4c23.4 0 42.4 19 42.4 42.4s-19 42.4-42.4 42.4-42.4-19-42.4-42.4v-42.4zM469.6 469.6h84.7v84.7h-84.7v-84.7zm-98.8-56.4c-23.4 0-42.4-19-42.4-42.4s19-42.4 42.4-42.4 42.4 19 42.4 42.4v42.4h-42.4z" /></svg>'},Ia={name:"meh",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zM288 421a48.01 48.01 0 0196 0 48.01 48.01 0 01-96 0zm384 200c0 4.4-3.6 8-8 8H360c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h304c4.4 0 8 3.6 8 8v48zm16-152a48.01 48.01 0 010-96 48.01 48.01 0 010 96z" /></svg>'},Ra={name:"mac-command",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><defs><style /></defs><path d="M624 672a48.01 48.01 0 0096 0c0-26.5-21.5-48-48-48h-48v48zm96-320a48.01 48.01 0 00-96 0v48h48c26.5 0 48-21.5 48-48z" /><path d="M928 64H96c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zM672 560c61.9 0 112 50.1 112 112s-50.1 112-112 112-112-50.1-112-112v-48h-96v48c0 61.9-50.1 112-112 112s-112-50.1-112-112 50.1-112 112-112h48v-96h-48c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112v48h96v-48c0-61.9 50.1-112 112-112s112 50.1 112 112-50.1 112-112 112h-48v96h48z" /><path d="M464 464h96v96h-96zM352 304a48.01 48.01 0 000 96h48v-48c0-26.5-21.5-48-48-48zm-48 368a48.01 48.01 0 0096 0v-48h-48c-26.5 0-48 21.5-48 48z" /></svg>'},Na={name:"medicine-box",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M839.2 278.1a32 32 0 00-30.4-22.1H736V144c0-17.7-14.3-32-32-32H320c-17.7 0-32 14.3-32 32v112h-72.8a31.9 31.9 0 00-30.4 22.1L112 502v378c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V502l-72.8-223.9zM360 184h304v72H360v-72zm480 656H184V513.4L244.3 328h535.4L840 513.4V840zM652 572H544V464c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v108H372c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h108v108c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V636h108c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z" /></svg>'},Ha={name:"file-ppt",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M424 476c-4.4 0-8 3.6-8 8v276c0 4.4 3.6 8 8 8h32.5c4.4 0 8-3.6 8-8v-95.5h63.3c59.4 0 96.2-38.9 96.2-94.1 0-54.5-36.3-94.3-96-94.3H424zm150.6 94.3c0 43.4-26.5 54.3-71.2 54.3h-38.9V516.2h56.2c33.8 0 53.9 19.7 53.9 54.1zm280-281.7L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z" /></svg>'},Fa={name:"medium-circle",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm256 253.7l-40.8 39.1c-3.6 2.7-5.3 7.1-4.6 11.4v287.7c-.7 4.4 1 8.8 4.6 11.4l40 39.1v8.7H566.4v-8.3l41.3-40.1c4.1-4.1 4.1-5.3 4.1-11.4V422.5l-115 291.6h-15.5L347.5 422.5V618c-1.2 8.2 1.7 16.5 7.5 22.4l53.8 65.1v8.7H256v-8.7l53.8-65.1a26.1 26.1 0 007-22.4V392c.7-6.3-1.7-12.4-6.5-16.7l-47.8-57.6V309H411l114.6 251.5 100.9-251.3H768v8.5z" /></svg>'},Va={name:"merge-cells",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><defs><style /></defs><path d="M482.2 508.4L331.3 389c-3-2.4-7.3-.2-7.3 3.6V478H184V184h204v128c0 2.2 1.8 4 4 4h60c2.2 0 4-1.8 4-4V144c0-15.5-12.5-28-28-28H144c-15.5 0-28 12.5-28 28v736c0 15.5 12.5 28 28 28h284c15.5 0 28-12.5 28-28V712c0-2.2-1.8-4-4-4h-60c-2.2 0-4 1.8-4 4v128H184V546h140v85.4c0 3.8 4.4 6 7.3 3.6l150.9-119.4a4.5 4.5 0 000-7.2zM880 116H596c-15.5 0-28 12.5-28 28v168c0 2.2 1.8 4 4 4h60c2.2 0 4-1.8 4-4V184h204v294H700v-85.4c0-3.8-4.3-6-7.3-3.6l-151 119.4a4.52 4.52 0 000 7.1l151 119.5c2.9 2.3 7.3.2 7.3-3.6V546h140v294H636V712c0-2.2-1.8-4-4-4h-60c-2.2 0-4 1.8-4 4v168c0 15.5 12.5 28 28 28h284c15.5 0 28-12.5 28-28V144c0-15.5-12.5-28-28-28z" /></svg>'},Ba={name:"menu",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M904 160H120c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8zm0 624H120c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8zm0-312H120c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8z" /></svg>'},Ya={name:"file-unknown",theme:"twotone",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M534 352V136H232v752h560V394H576a42 42 0 01-42-42zm-22 424c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32zm110-228.4c.7 44.9-29.7 84.5-74.3 98.9-5.7 1.8-9.7 7.3-9.7 13.3V672c0 5.5-4.5 10-10 10h-32c-5.5 0-10-4.5-10-10v-32c.2-19.8 15.4-37.3 34.7-40.1C549 596.2 570 574.3 570 549c0-28.1-25.8-51.5-58-51.5s-58 23.4-58 51.6c0 5.2-4.4 9.4-9.8 9.4h-32.4c-5.4 0-9.8-4.1-9.8-9.5 0-57.4 50.1-103.7 111.5-103 59.3.8 107.7 46.1 108.5 101.6z" fill="#E6E6E6" /><path d="M854.6 288.7L639.4 73.4c-6-6-14.2-9.4-22.7-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.6-9.4-22.6zM602 137.8L790.2 326H602V137.8zM792 888H232V136h302v216a42 42 0 0042 42h216v494z" fill="#333" /><path d="M480 744a32 32 0 1064 0 32 32 0 10-64 0zm-78-195c0 5.4 4.4 9.5 9.8 9.5h32.4c5.4 0 9.8-4.2 9.8-9.4 0-28.2 25.8-51.6 58-51.6s58 23.4 58 51.5c0 25.3-21 47.2-49.3 50.9-19.3 2.8-34.5 20.3-34.7 40.1v32c0 5.5 4.5 10 10 10h32c5.5 0 10-4.5 10-10v-12.2c0-6 4-11.5 9.7-13.3 44.6-14.4 75-54 74.3-98.9-.8-55.5-49.2-100.8-108.5-101.6-61.4-.7-111.5 45.6-111.5 103z" fill="#333" /></svg>'},Ua={name:"lock",theme:"twotone",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M832 464h-68V240c0-70.7-57.3-128-128-128H388c-70.7 0-128 57.3-128 128v224h-68c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V496c0-17.7-14.3-32-32-32zM332 240c0-30.9 25.1-56 56-56h248c30.9 0 56 25.1 56 56v224H332V240zm460 600H232V536h560v304z" fill="#333" /><path d="M232 840h560V536H232v304zm280-226a48.01 48.01 0 0128 87v53c0 4.4-3.6 8-8 8h-40c-4.4 0-8-3.6-8-8v-53a48.01 48.01 0 0128-87z" fill="#E6E6E6" /><path d="M484 701v53c0 4.4 3.6 8 8 8h40c4.4 0 8-3.6 8-8v-53a48.01 48.01 0 10-56 0z" fill="#333" /></svg>'},Wa={name:"medium-square",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM768 317.7l-40.8 39.1c-3.6 2.7-5.3 7.1-4.6 11.4v287.7c-.7 4.4 1 8.8 4.6 11.4l40 39.1v8.7H566.4v-8.3l41.3-40.1c4.1-4.1 4.1-5.3 4.1-11.4V422.5l-115 291.6h-15.5L347.5 422.5V618c-1.2 8.2 1.7 16.5 7.5 22.4l53.8 65.1v8.7H256v-8.7l53.8-65.1a26.1 26.1 0 007-22.4V392c.7-6.3-1.7-12.4-6.5-16.7l-47.8-57.6V309H411l114.6 251.5 100.9-251.3H768v8.5z" /></svg>'},qa={name:"meh",theme:"twotone",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" fill="#333" /><path d="M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zM288 421a48.01 48.01 0 0196 0 48.01 48.01 0 01-96 0zm384 200c0 4.4-3.6 8-8 8H360c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h304c4.4 0 8 3.6 8 8v48zm16-152a48.01 48.01 0 010-96 48.01 48.01 0 010 96z" fill="#E6E6E6" /><path d="M288 421a48 48 0 1096 0 48 48 0 10-96 0zm376 144H360c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h304c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zm-24-144a48 48 0 1096 0 48 48 0 10-96 0z" fill="#333" /></svg>'},$a={name:"message",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M464 512a48 48 0 1096 0 48 48 0 10-96 0zm200 0a48 48 0 1096 0 48 48 0 10-96 0zm-400 0a48 48 0 1096 0 48 48 0 10-96 0zm661.2-173.6c-22.6-53.7-55-101.9-96.3-143.3a444.35 444.35 0 00-143.3-96.3C630.6 75.7 572.2 64 512 64h-2c-60.6.3-119.3 12.3-174.5 35.9a445.35 445.35 0 00-142 96.5c-40.9 41.3-73 89.3-95.2 142.8-23 55.4-34.6 114.3-34.3 174.9A449.4 449.4 0 00112 714v152a46 46 0 0046 46h152.1A449.4 449.4 0 00510 960h2.1c59.9 0 118-11.6 172.7-34.3a444.48 444.48 0 00142.8-95.2c41.3-40.9 73.8-88.7 96.5-142 23.6-55.2 35.6-113.9 35.9-174.5.3-60.9-11.5-120-34.8-175.6zm-151.1 438C704 845.8 611 884 512 884h-1.7c-60.3-.3-120.2-15.3-173.1-43.5l-8.4-4.5H188V695.2l-4.5-8.4C155.3 633.9 140.3 574 140 513.7c-.4-99.7 37.7-193.3 107.6-263.8 69.8-70.5 163.1-109.5 262.8-109.9h1.7c50 0 98.5 9.7 144.2 28.9 44.6 18.7 84.6 45.6 119 80 34.3 34.3 61.3 74.4 80 119 19.4 46.2 29.1 95.2 28.9 145.8-.6 99.6-39.7 192.9-110.1 262.7z" /></svg>'},Ga={name:"message",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M924.3 338.4a447.57 447.57 0 00-96.1-143.3 443.09 443.09 0 00-143-96.3A443.91 443.91 0 00512 64h-2c-60.5.3-119 12.3-174.1 35.9a444.08 444.08 0 00-141.7 96.5 445 445 0 00-95 142.8A449.89 449.89 0 0065 514.1c.3 69.4 16.9 138.3 47.9 199.9v152c0 25.4 20.6 46 45.9 46h151.8a447.72 447.72 0 00199.5 48h2.1c59.8 0 117.7-11.6 172.3-34.3A443.2 443.2 0 00827 830.5c41.2-40.9 73.6-88.7 96.3-142 23.5-55.2 35.5-113.9 35.8-174.5.2-60.9-11.6-120-34.8-175.6zM312.4 560c-26.4 0-47.9-21.5-47.9-48s21.5-48 47.9-48 47.9 21.5 47.9 48-21.4 48-47.9 48zm199.6 0c-26.4 0-47.9-21.5-47.9-48s21.5-48 47.9-48 47.9 21.5 47.9 48-21.5 48-47.9 48zm199.6 0c-26.4 0-47.9-21.5-47.9-48s21.5-48 47.9-48 47.9 21.5 47.9 48-21.5 48-47.9 48z" /></svg>'},Xa={name:"message",theme:"twotone",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M775.3 248.9a369.62 369.62 0 00-119-80A370.2 370.2 0 00512.1 140h-1.7c-99.7.4-193 39.4-262.8 109.9-69.9 70.5-108 164.1-107.6 263.8.3 60.3 15.3 120.2 43.5 173.1l4.5 8.4V836h140.8l8.4 4.5c52.9 28.2 112.8 43.2 173.1 43.5h1.7c99 0 192-38.2 262.1-107.6 70.4-69.8 109.5-163.1 110.1-262.7.2-50.6-9.5-99.6-28.9-145.8a370.15 370.15 0 00-80-119zM312 560a48.01 48.01 0 010-96 48.01 48.01 0 010 96zm200 0a48.01 48.01 0 010-96 48.01 48.01 0 010 96zm200 0a48.01 48.01 0 010-96 48.01 48.01 0 010 96z" fill="#E6E6E6" /><path d="M664 512a48 48 0 1096 0 48 48 0 10-96 0zm-400 0a48 48 0 1096 0 48 48 0 10-96 0z" fill="#333" /><path d="M925.2 338.4c-22.6-53.7-55-101.9-96.3-143.3a444.35 444.35 0 00-143.3-96.3C630.6 75.7 572.2 64 512 64h-2c-60.6.3-119.3 12.3-174.5 35.9a445.35 445.35 0 00-142 96.5c-40.9 41.3-73 89.3-95.2 142.8-23 55.4-34.6 114.3-34.3 174.9A449.4 449.4 0 00112 714v152a46 46 0 0046 46h152.1A449.4 449.4 0 00510 960h2.1c59.9 0 118-11.6 172.7-34.3a444.48 444.48 0 00142.8-95.2c41.3-40.9 73.8-88.7 96.5-142 23.6-55.2 35.6-113.9 35.9-174.5.3-60.9-11.5-120-34.8-175.6zm-151.1 438C704 845.8 611 884 512 884h-1.7c-60.3-.3-120.2-15.3-173.1-43.5l-8.4-4.5H188V695.2l-4.5-8.4C155.3 633.9 140.3 574 140 513.7c-.4-99.7 37.7-193.3 107.6-263.8 69.8-70.5 163.1-109.5 262.8-109.9h1.7c50 0 98.5 9.7 144.2 28.9 44.6 18.7 84.6 45.6 119 80 34.3 34.3 61.3 74.4 80 119 19.4 46.2 29.1 95.2 28.9 145.8-.6 99.6-39.7 192.9-110.1 262.7z" fill="#333" /><path d="M464 512a48 48 0 1096 0 48 48 0 10-96 0z" fill="#333" /></svg>'},Ka={name:"minus-circle",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M696 480H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z" /><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" /></svg>'},Ja={name:"medicine-box",theme:"twotone",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M244.3 328L184 513.4V840h656V513.4L779.7 328H244.3zM660 628c0 4.4-3.6 8-8 8H544v108c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V636H372c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h108V464c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v108h108c4.4 0 8 3.6 8 8v48z" fill="#E6E6E6" /><path d="M652 572H544V464c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v108H372c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h108v108c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V636h108c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z" fill="#333" /><path d="M839.2 278.1a32 32 0 00-30.4-22.1H736V144c0-17.7-14.3-32-32-32H320c-17.7 0-32 14.3-32 32v112h-72.8a31.9 31.9 0 00-30.4 22.1L112 502v378c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V502l-72.8-223.9zM360 184h304v72H360v-72zm480 656H184V513.4L244.3 328h535.4L840 513.4V840z" fill="#333" /></svg>'},Qa={name:"minus-circle",theme:"twotone",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" fill="#333" /><path d="M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm192 396c0 4.4-3.6 8-8 8H328c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h368c4.4 0 8 3.6 8 8v48z" fill="#E6E6E6" /><path d="M696 480H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z" fill="#333" /></svg>'},Za={name:"minus-square",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM704 536c0 4.4-3.6 8-8 8H328c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h368c4.4 0 8 3.6 8 8v48z" /></svg>'},ec={name:"minus",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M872 474H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h720c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z" /></svg>'},tc={name:"mobile",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M744 62H280c-35.3 0-64 28.7-64 64v768c0 35.3 28.7 64 64 64h464c35.3 0 64-28.7 64-64V126c0-35.3-28.7-64-64-64zm-8 824H288V134h448v752zM472 784a40 40 0 1080 0 40 40 0 10-80 0z" /></svg>'},nc={name:"mobile",theme:"twotone",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M744 64H280c-35.3 0-64 28.7-64 64v768c0 35.3 28.7 64 64 64h464c35.3 0 64-28.7 64-64V128c0-35.3-28.7-64-64-64zm-8 824H288V136h448v752z" fill="#333" /><path d="M288 888h448V136H288v752zm224-142c22.1 0 40 17.9 40 40s-17.9 40-40 40-40-17.9-40-40 17.9-40 40-40z" fill="#E6E6E6" /><path d="M472 786a40 40 0 1080 0 40 40 0 10-80 0z" fill="#333" /></svg>'},rc={name:"minus-square",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M328 544h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z" /><path d="M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z" /></svg>'},ic={name:"menu-fold",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M408 442h480c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H408c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm-8 204c0 4.4 3.6 8 8 8h480c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H408c-4.4 0-8 3.6-8 8v56zm504-486H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 632H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM115.4 518.9L271.7 642c5.8 4.6 14.4.5 14.4-6.9V388.9c0-7.4-8.5-11.5-14.4-6.9L115.4 505.1a8.74 8.74 0 000 13.8z" /></svg>'},sc={name:"money-collect",theme:"twotone",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M256 744.4l256 93.1 256-93.1V184H256v560.4zM359.7 313c1.2-.7 2.5-1 3.8-1h55.7a8 8 0 017.1 4.4L511 485.2h3.3L599 316.4c1.3-2.7 4.1-4.4 7.1-4.4h54.5c4.4 0 8 3.6 8.1 7.9 0 1.3-.4 2.6-1 3.8L564 515.3h57.6c4.4 0 8 3.6 8 8v27.1c0 4.4-3.6 8-8 8h-76.3v39h76.3c4.4 0 8 3.6 8 8v27.1c0 4.4-3.6 8-8 8h-76.3V704c0 4.4-3.6 8-8 8h-49.9c-4.4 0-8-3.6-8-8v-63.4h-76c-4.4 0-8-3.6-8-8v-27.1c0-4.4 3.6-8 8-8h76v-39h-76c-4.4 0-8-3.6-8-8v-27.1c0-4.4 3.6-8 8-8h57L356.5 323.8c-2.1-3.8-.7-8.7 3.2-10.8z" fill="#E6E6E6" /><path d="M911.5 700.7a8 8 0 00-10.3-4.8L840 718.2V180c0-37.6-30.4-68-68-68H252c-37.6 0-68 30.4-68 68v538.2l-61.3-22.3c-.9-.3-1.8-.5-2.7-.5-4.4 0-8 3.6-8 8V763c0 3.3 2.1 6.3 5.3 7.5L501 910.1c7.1 2.6 14.8 2.6 21.9 0l383.8-139.5c3.2-1.2 5.3-4.2 5.3-7.5v-59.6c0-1-.2-1.9-.5-2.8zM768 744.4l-256 93.1-256-93.1V184h512v560.4z" fill="#333" /><path d="M460.4 515.4h-57c-4.4 0-8 3.6-8 8v27.1c0 4.4 3.6 8 8 8h76v39h-76c-4.4 0-8 3.6-8 8v27.1c0 4.4 3.6 8 8 8h76V704c0 4.4 3.6 8 8 8h49.9c4.4 0 8-3.6 8-8v-63.5h76.3c4.4 0 8-3.6 8-8v-27.1c0-4.4-3.6-8-8-8h-76.3v-39h76.3c4.4 0 8-3.6 8-8v-27.1c0-4.4-3.6-8-8-8H564l103.7-191.6c.6-1.2 1-2.5 1-3.8-.1-4.3-3.7-7.9-8.1-7.9h-54.5c-3 0-5.8 1.7-7.1 4.4l-84.7 168.8H511l-84.7-168.8a8 8 0 00-7.1-4.4h-55.7c-1.3 0-2.6.3-3.8 1-3.9 2.1-5.3 7-3.2 10.8l103.9 191.6z" fill="#333" /></svg>'},oc={name:"money-collect",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M911.5 700.7a8 8 0 00-10.3-4.8L840 718.2V180c0-37.6-30.4-68-68-68H252c-37.6 0-68 30.4-68 68v538.2l-61.3-22.3c-.9-.3-1.8-.5-2.7-.5-4.4 0-8 3.6-8 8V763c0 3.3 2.1 6.3 5.3 7.5L501 910.1c7.1 2.6 14.8 2.6 21.9 0l383.8-139.5c3.2-1.2 5.3-4.2 5.3-7.5v-59.6c0-1-.2-1.9-.5-2.8zM512 837.5l-256-93.1V184h512v560.4l-256 93.1zM660.6 312h-54.5c-3 0-5.8 1.7-7.1 4.4l-84.7 168.8H511l-84.7-168.8a8 8 0 00-7.1-4.4h-55.7c-1.3 0-2.6.3-3.8 1-3.9 2.1-5.3 7-3.2 10.8l103.9 191.6h-57c-4.4 0-8 3.6-8 8v27.1c0 4.4 3.6 8 8 8h76v39h-76c-4.4 0-8 3.6-8 8v27.1c0 4.4 3.6 8 8 8h76V704c0 4.4 3.6 8 8 8h49.9c4.4 0 8-3.6 8-8v-63.5h76.3c4.4 0 8-3.6 8-8v-27.1c0-4.4-3.6-8-8-8h-76.3v-39h76.3c4.4 0 8-3.6 8-8v-27.1c0-4.4-3.6-8-8-8H564l103.7-191.6c.6-1.2 1-2.5 1-3.8-.1-4.3-3.7-7.9-8.1-7.9z" /></svg>'},ac={name:"money-collect",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M911.5 699.7a8 8 0 00-10.3-4.8L840 717.2V179c0-37.6-30.4-68-68-68H252c-37.6 0-68 30.4-68 68v538.2l-61.3-22.3c-.9-.3-1.8-.5-2.7-.5-4.4 0-8 3.6-8 8V762c0 3.3 2.1 6.3 5.3 7.5L501 909.1c7.1 2.6 14.8 2.6 21.9 0l383.8-139.5c3.2-1.2 5.3-4.2 5.3-7.5v-59.6c0-1-.2-1.9-.5-2.8zm-243.8-377L564 514.3h57.6c4.4 0 8 3.6 8 8v27.1c0 4.4-3.6 8-8 8h-76.3v39h76.3c4.4 0 8 3.6 8 8v27.1c0 4.4-3.6 8-8 8h-76.3V703c0 4.4-3.6 8-8 8h-49.9c-4.4 0-8-3.6-8-8v-63.4h-76c-4.4 0-8-3.6-8-8v-27.1c0-4.4 3.6-8 8-8h76v-39h-76c-4.4 0-8-3.6-8-8v-27.1c0-4.4 3.6-8 8-8h57L356.5 322.8c-2.1-3.8-.7-8.7 3.2-10.8 1.2-.7 2.5-1 3.8-1h55.7a8 8 0 017.1 4.4L511 484.2h3.3L599 315.4c1.3-2.7 4.1-4.4 7.1-4.4h54.5c4.4 0 8 3.6 8.1 7.9 0 1.3-.4 2.6-1 3.8z" /></svg>'},cc={name:"minus-circle",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm192 472c0 4.4-3.6 8-8 8H328c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h368c4.4 0 8 3.6 8 8v48z" /></svg>'},lc={name:"monitor",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M692.8 412.7l.2-.2-34.6-44.3a7.97 7.97 0 00-11.2-1.4l-50.4 39.3-70.5-90.1a7.97 7.97 0 00-11.2-1.4l-37.9 29.7a7.97 7.97 0 00-1.4 11.2l70.5 90.2-.2.1 34.6 44.3c2.7 3.5 7.7 4.1 11.2 1.4l50.4-39.3 64.1 82c2.7 3.5 7.7 4.1 11.2 1.4l37.9-29.6c3.5-2.7 4.1-7.7 1.4-11.2l-64.1-82.1zM608 112c-167.9 0-304 136.1-304 304 0 70.3 23.9 135 63.9 186.5L114.3 856.1a8.03 8.03 0 000 11.3l42.3 42.3c3.1 3.1 8.2 3.1 11.3 0l253.6-253.6C473 696.1 537.7 720 608 720c167.9 0 304-136.1 304-304S775.9 112 608 112zm161.2 465.2C726.2 620.3 668.9 644 608 644s-118.2-23.7-161.2-66.8C403.7 534.2 380 476.9 380 416s23.7-118.2 66.8-161.2c43-43.1 100.3-66.8 161.2-66.8s118.2 23.7 161.2 66.8c43.1 43 66.8 100.3 66.8 161.2s-23.7 118.2-66.8 161.2z" /></svg>'},uc={name:"node-collapse",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><defs><style /></defs><path d="M952 612c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H298a95.92 95.92 0 00-89-60c-53 0-96 43-96 96s43 96 96 96c40.3 0 74.8-24.8 89-60h150.3v152c0 55.2 44.8 100 100 100H952c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H548.3c-15.5 0-28-12.5-28-28V612H952zM451.7 313.7l172.5 136.2c6.3 5.1 15.8.5 15.8-7.7V344h264c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8H640v-98.2c0-8.1-9.4-12.8-15.8-7.7L451.7 298.3a9.9 9.9 0 000 15.4z" /></svg>'},hc={name:"more",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M456 231a56 56 0 10112 0 56 56 0 10-112 0zm0 280a56 56 0 10112 0 56 56 0 10-112 0zm0 280a56 56 0 10112 0 56 56 0 10-112 0z" /></svg>'},dc={name:"node-expand",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><defs><style /></defs><path d="M952 612c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H298a95.92 95.92 0 00-89-60c-53 0-96 43-96 96s43 96 96 96c40.3 0 74.8-24.8 89-60h150.3v152c0 55.2 44.8 100 100 100H952c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H548.3c-15.5 0-28-12.5-28-28V612H952zM456 344h264v98.2c0 8.1 9.5 12.8 15.8 7.7l172.5-136.2c5-3.9 5-11.4 0-15.3L735.8 162.1c-6.4-5.1-15.8-.5-15.8 7.7V268H456c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8z" /></svg>'},fc={name:"notification",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M880 112c-3.8 0-7.7.7-11.6 2.3L292 345.9H128c-8.8 0-16 7.4-16 16.6v299c0 9.2 7.2 16.6 16 16.6h101.6c-3.7 11.6-5.6 23.9-5.6 36.4 0 65.9 53.8 119.5 120 119.5 55.4 0 102.1-37.6 115.9-88.4l408.6 164.2c3.9 1.5 7.8 2.3 11.6 2.3 16.9 0 32-14.2 32-33.2V145.2C912 126.2 897 112 880 112zM344 762.3c-26.5 0-48-21.4-48-47.8 0-11.2 3.9-21.9 11-30.4l84.9 34.1c-2 24.6-22.7 44.1-47.9 44.1z" /></svg>'},pc={name:"notification",theme:"twotone",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M229.6 678.1c-3.7 11.6-5.6 23.9-5.6 36.4 0-12.5 2-24.8 5.7-36.4h-.1zm76.3-260.2H184v188.2h121.9l12.9 5.2L840 820.7V203.3L318.8 412.7z" fill="#E6E6E6" /><path d="M880 112c-3.8 0-7.7.7-11.6 2.3L292 345.9H128c-8.8 0-16 7.4-16 16.6v299c0 9.2 7.2 16.6 16 16.6h101.7c-3.7 11.6-5.7 23.9-5.7 36.4 0 65.9 53.8 119.5 120 119.5 55.4 0 102.1-37.6 115.9-88.4l408.6 164.2c3.9 1.5 7.8 2.3 11.6 2.3 16.9 0 32-14.2 32-33.2V145.2C912 126.2 897 112 880 112zM344 762.3c-26.5 0-48-21.4-48-47.8 0-11.2 3.9-21.9 11-30.4l84.9 34.1c-2 24.6-22.7 44.1-47.9 44.1zm496 58.4L318.8 611.3l-12.9-5.2H184V417.9h121.9l12.9-5.2L840 203.3v617.4z" fill="#333" /></svg>'},mc={name:"medium-workmark",theme:"outline",icon:'<svg viewBox="0 0 1024 1024" focusable="false"><path d="M517.2 590.55c0 3.55 0 4.36 2.4 6.55l13.43 13.25v.57h-59.57v-25.47a41.44 41.44 0 01-39.5 27.65c-30.61 0-52.84-24.25-52.84-68.87 0-41.8 23.99-69.69 57.65-69.69a35.15 35.15 0 0134.61 21.67v-56.19a6.99 6.99 0 00-2.71-6.79l-12.8-12.45v-.56l59.33-7.04v177.37zm-43.74-8.09v-83.83a22.2 22.2 0 00-17.74-8.4c-14.48 0-28.47 13.25-28.47 52.62 0 36.86 12.07 49.88 27.1 49.88a23.91 23.91 0 0019.11-10.27zm83.23 28.46V497.74a7.65 7.65 0 00-2.4-6.79l-13.19-13.74v-.57h59.56v114.8c0 3.55 0 4.36 2.4 6.54l13.12 12.45v.57l-59.49-.08zm-2.16-175.67c0-13.4 10.74-24.25 23.99-24.25 13.25 0 23.98 10.86 23.98 24.25 0 13.4-10.73 24.25-23.98 24.25s-23.99-10.85-23.99-24.25zm206.83 155.06c0 3.55 0 4.6 2.4 6.79l13.43 13.25v.57h-59.88V581.9a43.4 43.4 0 01-41.01 31.2c-26.55 0-40.78-19.56-40.78-56.59 0-17.86 0-37.43.56-59.41a6.91 6.91 0 00-2.4-6.55L620.5 477.2v-.57h59.09v73.81c0 24.25 3.51 40.42 18.54 40.42a23.96 23.96 0 0019.35-12.2v-80.85a7.65 7.65 0 00-2.4-6.79l-13.27-13.82v-.57h59.56V590.3zm202.76 20.6c0-4.36.8-59.97.8-72.75 0-24.25-3.76-40.98-20.63-40.98a26.7 26.7 0 00-21.19 11.64 99.68 99.68 0 012.4 23.04c0 16.81-.56 38.23-.8 59.66a6.91 6.91 0 002.4 6.55l13.43 12.45v.56h-60.12c0-4.04.8-59.98.8-72.76 0-24.65-3.76-40.98-20.39-40.98-8.2.3-15.68 4.8-19.83 11.96v82.46c0 3.56 0 4.37 2.4 6.55l13.11 12.45v.56h-59.48V498.15a7.65 7.65 0 00-2.4-6.8l-13.19-14.14v-.57H841v28.78c5.53-19 23.13-31.76 42.7-30.96 19.82 0 33.26 11.16 38.93 32.34a46.41 46.41 0 0144.77-32.34c26.55 0 41.58 19.8 41.58 57.23 0 17.87-.56 38.24-.8 59.66a6.5 6.5 0 002.72 6.55l13.11 12.45v.57h-59.88zM215.87 593.3l17.66 17.05v.57h-89.62v-.57l17.99-17.05a6.91 6.91 0 002.4-6.55V477.69c0-4.6 0-10.83.8-16.16L104.66 613.1h-.72l-62.6-139.45c-1.37-3.47-1.77-3.72-2.65-6.06v91.43a32.08 32.08 0 002.96 17.87l25.19 33.46v.57H0v-.57l25.18-33.55a32.16 32.16 0 002.96-17.78V457.97A19.71 19.71 0 0024 444.15L6.16 420.78v-.56h63.96l53.56 118.1 47.17-118.1h62.6v.56l-17.58 19.8a6.99 6.99 0 00-2.72 6.8v139.37a6.5 6.5 0 002.72 6.55zm70.11-54.65v.56c0 34.6 17.67 48.5 38.38 48.5a43.5 43.5 0 0040.77-24.97h.56c-7.2 34.2-28.14 50.36-59.48 50.36-33.82 0-65.72-20.61-65.72-68.39 0-50.2 31.98-70.25 67.32-70.25 28.46 0 58.76 13.58 58.76 57.24v6.95h-80.59zm0-6.95h39.42v-7.04c0-35.57-7.28-45.03-18.23-45.03-13.27 0-21.35 14.15-21.35 52.07h.16z" /></svg>'},gc={name:"notification",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M880 112c-3.8 0-7.7.7-11.6 2.3L292 345.9H128c-8.8 0-16 7.4-16 16.6v299c0 9.2 7.2 16.6 16 16.6h101.7c-3.7 11.6-5.7 23.9-5.7 36.4 0 65.9 53.8 119.5 120 119.5 55.4 0 102.1-37.6 115.9-88.4l408.6 164.2c3.9 1.5 7.8 2.3 11.6 2.3 16.9 0 32-14.2 32-33.2V145.2C912 126.2 897 112 880 112zM344 762.3c-26.5 0-48-21.4-48-47.8 0-11.2 3.9-21.9 11-30.4l84.9 34.1c-2 24.6-22.7 44.1-47.9 44.1zm496 58.4L318.8 611.3l-12.9-5.2H184V417.9h121.9l12.9-5.2L840 203.3v617.4z" /></svg>'},vc={name:"minus-square",theme:"twotone",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z" fill="#333" /><path d="M184 840h656V184H184v656zm136-352c0-4.4 3.6-8 8-8h368c4.4 0 8 3.6 8 8v48c0 4.4-3.6 8-8 8H328c-4.4 0-8-3.6-8-8v-48z" fill="#E6E6E6" /><path d="M328 544h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z" fill="#333" /></svg>'},yc={name:"partition",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><defs><style /></defs><path d="M640.6 429.8h257.1c7.9 0 14.3-6.4 14.3-14.3V158.3c0-7.9-6.4-14.3-14.3-14.3H640.6c-7.9 0-14.3 6.4-14.3 14.3v92.9H490.6c-3.9 0-7.1 3.2-7.1 7.1v221.5h-85.7v-96.5c0-7.9-6.4-14.3-14.3-14.3H126.3c-7.9 0-14.3 6.4-14.3 14.3v257.2c0 7.9 6.4 14.3 14.3 14.3h257.1c7.9 0 14.3-6.4 14.3-14.3V544h85.7v221.5c0 3.9 3.2 7.1 7.1 7.1h135.7v92.9c0 7.9 6.4 14.3 14.3 14.3h257.1c7.9 0 14.3-6.4 14.3-14.3v-257c0-7.9-6.4-14.3-14.3-14.3h-257c-7.9 0-14.3 6.4-14.3 14.3v100h-78.6v-393h78.6v100c0 7.9 6.4 14.3 14.3 14.3zm53.5-217.9h150V362h-150V211.9zM329.9 587h-150V437h150v150zm364.2 75.1h150v150.1h-150V662.1z" /></svg>'},bc={name:"paper-clip",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M779.3 196.6c-94.2-94.2-247.6-94.2-341.7 0l-261 260.8c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l261-260.8c32.4-32.4 75.5-50.2 121.3-50.2s88.9 17.8 121.2 50.2c32.4 32.4 50.2 75.5 50.2 121.2 0 45.8-17.8 88.8-50.2 121.2l-266 265.9-43.1 43.1c-40.3 40.3-105.8 40.3-146.1 0-19.5-19.5-30.2-45.4-30.2-73s10.7-53.5 30.2-73l263.9-263.8c6.7-6.6 15.5-10.3 24.9-10.3h.1c9.4 0 18.1 3.7 24.7 10.3 6.7 6.7 10.3 15.5 10.3 24.9 0 9.3-3.7 18.1-10.3 24.7L372.4 653c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l215.6-215.6c19.9-19.9 30.8-46.3 30.8-74.4s-11-54.6-30.8-74.4c-41.1-41.1-107.9-41-149 0L463 364 224.8 602.1A172.22 172.22 0 00174 724.8c0 46.3 18.1 89.8 50.8 122.5 33.9 33.8 78.3 50.7 122.7 50.7 44.4 0 88.8-16.9 122.6-50.7l309.2-309C824.8 492.7 850 432 850 367.5c.1-64.6-25.1-125.3-70.7-170.9z" /></svg>'},_c={name:"ordered-list",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M920 760H336c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-568H336c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H336c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM216 712H100c-2.2 0-4 1.8-4 4v34c0 2.2 1.8 4 4 4h72.4v20.5h-35.7c-2.2 0-4 1.8-4 4v34c0 2.2 1.8 4 4 4h35.7V838H100c-2.2 0-4 1.8-4 4v34c0 2.2 1.8 4 4 4h116c2.2 0 4-1.8 4-4V716c0-2.2-1.8-4-4-4zM100 188h38v120c0 2.2 1.8 4 4 4h40c2.2 0 4-1.8 4-4V152c0-4.4-3.6-8-8-8h-78c-2.2 0-4 1.8-4 4v36c0 2.2 1.8 4 4 4zm116 240H100c-2.2 0-4 1.8-4 4v36c0 2.2 1.8 4 4 4h68.4l-70.3 77.7a8.3 8.3 0 00-2.1 5.4V592c0 2.2 1.8 4 4 4h116c2.2 0 4-1.8 4-4v-36c0-2.2-1.8-4-4-4h-68.4l70.3-77.7a8.3 8.3 0 002.1-5.4V432c0-2.2-1.8-4-4-4z" /></svg>'},wc={name:"menu-unfold",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M408 442h480c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H408c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm-8 204c0 4.4 3.6 8 8 8h480c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H408c-4.4 0-8 3.6-8 8v56zm504-486H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 632H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM142.4 642.1L298.7 519a8.84 8.84 0 000-13.9L142.4 381.9c-5.8-4.6-14.4-.5-14.4 6.9v246.3a8.9 8.9 0 0014.4 7z" /></svg>'},Sc={name:"node-index",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><defs><style /></defs><path d="M843.5 737.4c-12.4-75.2-79.2-129.1-155.3-125.4S550.9 676 546 752c-153.5-4.8-208-40.7-199.1-113.7 3.3-27.3 19.8-41.9 50.1-49 18.4-4.3 38.8-4.9 57.3-3.2 1.7.2 3.5.3 5.2.5 11.3 2.7 22.8 5 34.3 6.8 34.1 5.6 68.8 8.4 101.8 6.6 92.8-5 156-45.9 159.2-132.7 3.1-84.1-54.7-143.7-147.9-183.6-29.9-12.8-61.6-22.7-93.3-30.2-14.3-3.4-26.3-5.7-35.2-7.2-7.9-75.9-71.5-133.8-147.8-134.4-76.3-.6-140.9 56.1-150.1 131.9s40 146.3 114.2 163.9c74.2 17.6 149.9-23.3 175.7-95.1 9.4 1.7 18.7 3.6 28 5.8 28.2 6.6 56.4 15.4 82.4 26.6 70.7 30.2 109.3 70.1 107.5 119.9-1.6 44.6-33.6 65.2-96.2 68.6-27.5 1.5-57.6-.9-87.3-5.8-8.3-1.4-15.9-2.8-22.6-4.3-3.9-.8-6.6-1.5-7.8-1.8l-3.1-.6c-2.2-.3-5.9-.8-10.7-1.3-25-2.3-52.1-1.5-78.5 4.6-55.2 12.9-93.9 47.2-101.1 105.8-15.7 126.2 78.6 184.7 276 188.9 29.1 70.4 106.4 107.9 179.6 87 73.3-20.9 119.3-93.4 106.9-168.6zM329.1 345.2a83.3 83.3 0 11.01-166.61 83.3 83.3 0 01-.01 166.61zM695.6 845a83.3 83.3 0 11.01-166.61A83.3 83.3 0 01695.6 845z" /></svg>'},xc={name:"pause-circle",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372zm-88-532h-48c-4.4 0-8 3.6-8 8v304c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V360c0-4.4-3.6-8-8-8zm224 0h-48c-4.4 0-8 3.6-8 8v304c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V360c0-4.4-3.6-8-8-8z" /></svg>'},Oc={name:"pause-circle",theme:"twotone",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" fill="#333" /><path d="M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm-80 524c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V360c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v304zm224 0c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V360c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v304z" fill="#E6E6E6" /><path d="M424 352h-48c-4.4 0-8 3.6-8 8v304c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V360c0-4.4-3.6-8-8-8zm224 0h-48c-4.4 0-8 3.6-8 8v304c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V360c0-4.4-3.6-8-8-8z" fill="#333" /></svg>'},kc={name:"pay-circle",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm166.6 246.8L567.5 515.6h62c4.4 0 8 3.6 8 8v29.9c0 4.4-3.6 8-8 8h-82V603h82c4.4 0 8 3.6 8 8v29.9c0 4.4-3.6 8-8 8h-82V717c0 4.4-3.6 8-8 8h-54.3c-4.4 0-8-3.6-8-8v-68.1h-81.7c-4.4 0-8-3.6-8-8V611c0-4.4 3.6-8 8-8h81.7v-41.5h-81.7c-4.4 0-8-3.6-8-8v-29.9c0-4.4 3.6-8 8-8h61.4L345.4 310.8a8.07 8.07 0 017-11.9h60.7c3 0 5.8 1.7 7.1 4.4l90.6 180h3.4l90.6-180a8 8 0 017.1-4.4h59.5c4.4 0 8 3.6 8 8 .2 1.4-.2 2.7-.8 3.9z" /></svg>'},Cc={name:"percentage",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M855.7 210.8l-42.4-42.4a8.03 8.03 0 00-11.3 0L168.3 801.9a8.03 8.03 0 000 11.3l42.4 42.4c3.1 3.1 8.2 3.1 11.3 0L855.6 222c3.2-3 3.2-8.1.1-11.2zM304 448c79.4 0 144-64.6 144-144s-64.6-144-144-144-144 64.6-144 144 64.6 144 144 144zm0-216c39.7 0 72 32.3 72 72s-32.3 72-72 72-72-32.3-72-72 32.3-72 72-72zm416 344c-79.4 0-144 64.6-144 144s64.6 144 144 144 144-64.6 144-144-64.6-144-144-144zm0 216c-39.7 0-72-32.3-72-72s32.3-72 72-72 72 32.3 72 72-32.3 72-72 72z" /></svg>'},Mc={name:"pause",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M304 176h80v672h-80zm408 0h-64c-4.4 0-8 3.6-8 8v656c0 4.4 3.6 8 8 8h64c4.4 0 8-3.6 8-8V184c0-4.4-3.6-8-8-8z" /></svg>'},Ec={name:"pause-circle",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm-80 600c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V360c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v304zm224 0c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V360c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v304z" /></svg>'},Tc={name:"number",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M872 394c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8H708V152c0-4.4-3.6-8-8-8h-64c-4.4 0-8 3.6-8 8v166H400V152c0-4.4-3.6-8-8-8h-64c-4.4 0-8 3.6-8 8v166H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h168v236H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h168v166c0 4.4 3.6 8 8 8h64c4.4 0 8-3.6 8-8V706h228v166c0 4.4 3.6 8 8 8h64c4.4 0 8-3.6 8-8V706h164c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8H708V394h164zM628 630H400V394h228v236z" /></svg>'},jc={name:"pay-circle",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372zm159.6-585h-59.5c-3 0-5.8 1.7-7.1 4.4l-90.6 180H511l-90.6-180a8 8 0 00-7.1-4.4h-60.7c-1.3 0-2.6.3-3.8 1-3.9 2.1-5.3 7-3.2 10.9L457 515.7h-61.4c-4.4 0-8 3.6-8 8v29.9c0 4.4 3.6 8 8 8h81.7V603h-81.7c-4.4 0-8 3.6-8 8v29.9c0 4.4 3.6 8 8 8h81.7V717c0 4.4 3.6 8 8 8h54.3c4.4 0 8-3.6 8-8v-68.1h82c4.4 0 8-3.6 8-8V611c0-4.4-3.6-8-8-8h-82v-41.5h82c4.4 0 8-3.6 8-8v-29.9c0-4.4-3.6-8-8-8h-62l111.1-204.8c.6-1.2 1-2.5 1-3.8-.1-4.4-3.7-8-8.1-8z" /></svg>'},Dc={name:"picture",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zM338 304c35.3 0 64 28.7 64 64s-28.7 64-64 64-64-28.7-64-64 28.7-64 64-64zm513.9 437.1a8.11 8.11 0 01-5.2 1.9H177.2c-4.4 0-8-3.6-8-8 0-1.9.7-3.7 1.9-5.2l170.3-202c2.8-3.4 7.9-3.8 11.3-1 .3.3.7.6 1 1l99.4 118 158.1-187.5c2.8-3.4 7.9-3.8 11.3-1 .3.3.7.6 1 1l229.6 271.6c2.6 3.3 2.2 8.4-1.2 11.2z" /></svg>'},Ac={name:"phone",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M877.1 238.7L770.6 132.3c-13-13-30.4-20.3-48.8-20.3s-35.8 7.2-48.8 20.3L558.3 246.8c-13 13-20.3 30.5-20.3 48.9 0 18.5 7.2 35.8 20.3 48.9l89.6 89.7a405.46 405.46 0 01-86.4 127.3c-36.7 36.9-79.6 66-127.2 86.6l-89.6-89.7c-13-13-30.4-20.3-48.8-20.3a68.2 68.2 0 00-48.8 20.3L132.3 673c-13 13-20.3 30.5-20.3 48.9 0 18.5 7.2 35.8 20.3 48.9l106.4 106.4c22.2 22.2 52.8 34.9 84.2 34.9 6.5 0 12.8-.5 19.2-1.6 132.4-21.8 263.8-92.3 369.9-198.3C818 606 888.4 474.6 910.4 342.1c6.3-37.6-6.3-76.3-33.3-103.4zm-37.6 91.5c-19.5 117.9-82.9 235.5-178.4 331s-213 158.9-330.9 178.4c-14.8 2.5-30-2.5-40.8-13.2L184.9 721.9 295.7 611l119.8 120 .9.9 21.6-8a481.29 481.29 0 00285.7-285.8l8-21.6-120.8-120.7 110.8-110.9 104.5 104.5c10.8 10.8 15.8 26 13.3 40.8z" /></svg>'},Lc={name:"phone",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M885.6 230.2L779.1 123.8a80.83 80.83 0 00-57.3-23.8c-21.7 0-42.1 8.5-57.4 23.8L549.8 238.4a80.83 80.83 0 00-23.8 57.3c0 21.7 8.5 42.1 23.8 57.4l83.8 83.8A393.82 393.82 0 01553.1 553 395.34 395.34 0 01437 633.8L353.2 550a80.83 80.83 0 00-57.3-23.8c-21.7 0-42.1 8.5-57.4 23.8L123.8 664.5a80.89 80.89 0 00-23.8 57.4c0 21.7 8.5 42.1 23.8 57.4l106.3 106.3c24.4 24.5 58.1 38.4 92.7 38.4 7.3 0 14.3-.6 21.2-1.8 134.8-22.2 268.5-93.9 376.4-201.7C828.2 612.8 899.8 479.2 922.3 344c6.8-41.3-6.9-83.8-36.7-113.8z" /></svg>'},zc={name:"mobile",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M744 62H280c-35.3 0-64 28.7-64 64v768c0 35.3 28.7 64 64 64h464c35.3 0 64-28.7 64-64V126c0-35.3-28.7-64-64-64zM512 824c-22.1 0-40-17.9-40-40s17.9-40 40-40 40 17.9 40 40-17.9 40-40 40z" /></svg>'},Pc={name:"pic-center",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M952 792H72c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h880c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-632H72c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h880c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM848 660c8.8 0 16-7.2 16-16V380c0-8.8-7.2-16-16-16H176c-8.8 0-16 7.2-16 16v264c0 8.8 7.2 16 16 16h672zM232 436h560v152H232V436z" /></svg>'},Ic={name:"one-to-one",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><defs><style /></defs><path d="M316 672h60c4.4 0 8-3.6 8-8V360c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v304c0 4.4 3.6 8 8 8zm196-50c22.1 0 40-17.9 40-39 0-23.1-17.9-41-40-41s-40 17.9-40 41c0 21.1 17.9 39 40 39zm0-140c22.1 0 40-17.9 40-39 0-23.1-17.9-41-40-41s-40 17.9-40 41c0 21.1 17.9 39 40 39z" /><path d="M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z" /><path d="M648 672h60c4.4 0 8-3.6 8-8V360c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v304c0 4.4 3.6 8 8 8z" /></svg>'},Rc={name:"picture",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 632H136v-39.9l138.5-164.3 150.1 178L658.1 489 888 761.6V792zm0-129.8L664.2 396.8c-3.2-3.8-9-3.8-12.2 0L424.6 666.4l-144-170.7c-3.2-3.8-9-3.8-12.2 0L136 652.7V232h752v430.2zM304 456a88 88 0 100-176 88 88 0 000 176zm0-116c15.5 0 28 12.5 28 28s-12.5 28-28 28-28-12.5-28-28 12.5-28 28-28z" /></svg>'},Nc={name:"pie-chart",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M864 518H506V160c0-4.4-3.6-8-8-8h-26a398.46 398.46 0 00-282.8 117.1 398.19 398.19 0 00-85.7 127.1A397.61 397.61 0 0072 552a398.46 398.46 0 00117.1 282.8c36.7 36.7 79.5 65.6 127.1 85.7A397.61 397.61 0 00472 952a398.46 398.46 0 00282.8-117.1c36.7-36.7 65.6-79.5 85.7-127.1A397.61 397.61 0 00872 552v-26c0-4.4-3.6-8-8-8zM705.7 787.8A331.59 331.59 0 01470.4 884c-88.1-.4-170.9-34.9-233.2-97.2C174.5 724.1 140 640.7 140 552c0-88.7 34.5-172.1 97.2-234.8 54.6-54.6 124.9-87.9 200.8-95.5V586h364.3c-7.7 76.3-41.3 147-96.6 201.8zM952 462.4l-2.6-28.2c-8.5-92.1-49.4-179-115.2-244.6A399.4 399.4 0 00589 74.6L560.7 72c-4.7-.4-8.7 3.2-8.7 7.9V464c0 4.4 3.6 8 8 8l384-1c4.7 0 8.4-4 8-8.6zm-332.2-58.2V147.6a332.24 332.24 0 01166.4 89.8c45.7 45.6 77 103.6 90 166.1l-256.4.7z" /></svg>'},Hc={name:"play-circle",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm144.1 454.9L437.7 677.8a8.02 8.02 0 01-12.7-6.5V353.7a8 8 0 0112.7-6.5L656.1 506a7.9 7.9 0 010 12.9z" /></svg>'},Fc={name:"play-circle",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" /><path d="M719.4 499.1l-296.1-215A15.9 15.9 0 00398 297v430c0 13.1 14.8 20.5 25.3 12.9l296.1-215a15.9 15.9 0 000-25.8zm-257.6 134V390.9L628.5 512 461.8 633.1z" /></svg>'},Vc={name:"pic-left",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M952 792H72c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h880c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-632H72c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h880c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM608 660c8.8 0 16-7.2 16-16V380c0-8.8-7.2-16-16-16H96c-8.8 0-16 7.2-16 16v264c0 8.8 7.2 16 16 16h512zM152 436h400v152H152V436zm552 210c0 4.4 3.6 8 8 8h224c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H712c-4.4 0-8 3.6-8 8v56zm8-204h224c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H712c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8z" /></svg>'},Bc={name:"play-square",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M442.3 677.6l199.4-156.7a11.3 11.3 0 000-17.7L442.3 346.4c-7.4-5.8-18.3-.6-18.3 8.8v313.5c0 9.4 10.9 14.7 18.3 8.9z" /><path d="M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z" /></svg>'},Yc={name:"plus-square",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM704 536c0 4.4-3.6 8-8 8H544v152c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V544H328c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h152V328c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v152h152c4.4 0 8 3.6 8 8v48z" /></svg>'},Uc={name:"file-zip",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M854.6 288.7c6 6 9.4 14.1 9.4 22.6V928c0 17.7-14.3 32-32 32H192c-17.7 0-32-14.3-32-32V96c0-17.7 14.3-32 32-32h424.7c8.5 0 16.7 3.4 22.7 9.4l215.2 215.3zM790.2 326L602 137.8V326h188.2zM296 136v64h64v-64h-64zm64 64v64h64v-64h-64zm-64 64v64h64v-64h-64zm64 64v64h64v-64h-64zm-64 64v64h64v-64h-64zm64 64v64h64v-64h-64zm-64 64v64h64v-64h-64zm0 64v160h128V584H296zm48 48h32v64h-32v-64z" /></svg>'},Wc={name:"plus-circle",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M696 480H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z" /><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" /></svg>'},qc={name:"plus-circle",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm192 472c0 4.4-3.6 8-8 8H544v152c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V544H328c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h152V328c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v152h152c4.4 0 8 3.6 8 8v48z" /></svg>'},$c={name:"pie-chart",theme:"twotone",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M316.2 920.5c-47.6-20.1-90.4-49-127.1-85.7a398.19 398.19 0 01-85.7-127.1A397.12 397.12 0 0172 552.2v.2a398.57 398.57 0 00117 282.5c36.7 36.7 79.4 65.5 127 85.6A396.64 396.64 0 00471.6 952c27 0 53.6-2.7 79.7-7.9-25.9 5.2-52.4 7.8-79.3 7.8-54 .1-106.4-10.5-155.8-31.4zM560 472c-4.4 0-8-3.6-8-8V79.9c0-1.3.3-2.5.9-3.6-.9 1.3-1.5 2.9-1.5 4.6v383.7c0 4.4 3.6 8 8 8l383.6-1c1.6 0 3.1-.5 4.4-1.3-1 .5-2.2.7-3.4.7l-384 1z" fill="#E6E6E6" /><path d="M619.8 147.6v256.6l256.4-.7c-13-62.5-44.3-120.5-90-166.1a332.24 332.24 0 00-166.4-89.8z" fill="#E6E6E6" /><path d="M438 221.7c-75.9 7.6-146.2 40.9-200.8 95.5C174.5 379.9 140 463.3 140 552s34.5 172.1 97.2 234.8c62.3 62.3 145.1 96.8 233.2 97.2 88.2.4 172.7-34.1 235.3-96.2C761 733 794.6 662.3 802.3 586H438V221.7z" fill="#E6E6E6" /><path d="M864 518H506V160c0-4.4-3.6-8-8-8h-26a398.46 398.46 0 00-282.8 117.1 398.19 398.19 0 00-85.7 127.1A397.61 397.61 0 0072 552v.2c0 53.9 10.6 106.2 31.4 155.5 20.1 47.6 49 90.4 85.7 127.1 36.7 36.7 79.5 65.6 127.1 85.7A397.61 397.61 0 00472 952c26.9 0 53.4-2.6 79.3-7.8 26.1-5.3 51.7-13.1 76.4-23.6 47.6-20.1 90.4-49 127.1-85.7 36.7-36.7 65.6-79.5 85.7-127.1A397.61 397.61 0 00872 552v-26c0-4.4-3.6-8-8-8zM705.7 787.8A331.59 331.59 0 01470.4 884c-88.1-.4-170.9-34.9-233.2-97.2C174.5 724.1 140 640.7 140 552s34.5-172.1 97.2-234.8c54.6-54.6 124.9-87.9 200.8-95.5V586h364.3c-7.7 76.3-41.3 147-96.6 201.8z" fill="#333" /><path d="M952 462.4l-2.6-28.2c-8.5-92.1-49.4-179-115.2-244.6A399.4 399.4 0 00589 74.6L560.7 72c-3.4-.3-6.4 1.5-7.8 4.3a8.7 8.7 0 00-.9 3.6V464c0 4.4 3.6 8 8 8l384-1c1.2 0 2.3-.3 3.4-.7a8.1 8.1 0 004.6-7.9zm-332.2-58.2V147.6a332.24 332.24 0 01166.4 89.8c45.7 45.6 77 103.6 90 166.1l-256.4.7z" fill="#333" /></svg>'},Gc={name:"plus-square",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M328 544h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z" /><path d="M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z" /></svg>'},Xc={name:"plus",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><defs><style /></defs><path d="M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z" /><path d="M176 474h672q8 0 8 8v60q0 8-8 8H176q-8 0-8-8v-60q0-8 8-8z" /></svg>'},Kc={name:"pound-circle",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372zm138-209.8H469.8v-4.7c27.4-17.2 43.9-50.4 43.9-91.1 0-14.1-2.2-27.9-5.3-41H607c4.4 0 8-3.6 8-8v-30c0-4.4-3.6-8-8-8H495c-7.2-22.6-13.4-45.7-13.4-70.5 0-43.5 34-70.2 87.3-70.2 21.5 0 42.5 4.1 60.4 10.5 5.2 1.9 10.6-2 10.6-7.6v-39.5c0-3.3-2.1-6.3-5.2-7.5-18.8-7.2-43.8-12.7-70.3-12.7-92.9 0-151.5 44.5-151.5 120.3 0 26.3 6.9 52 14.6 77.1H374c-4.4 0-8 3.6-8 8v30c0 4.4 3.6 8 8 8h67.1c3.4 14.7 5.9 29.4 5.9 44.2 0 45.2-28.8 83.3-72.8 94.2-3.6.9-6.1 4.1-6.1 7.8V722c0 4.4 3.6 8 8 8H650c4.4 0 8-3.6 8-8v-39.8c0-4.4-3.6-8-8-8z" /></svg>'},Jc={name:"plus-circle",theme:"twotone",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" fill="#333" /><path d="M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm192 396c0 4.4-3.6 8-8 8H544v152c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V544H328c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h152V328c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v152h152c4.4 0 8 3.6 8 8v48z" fill="#E6E6E6" /><path d="M696 480H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z" fill="#333" /></svg>'},Qc={name:"meh",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M288 421a48 48 0 1096 0 48 48 0 10-96 0zm352 0a48 48 0 1096 0 48 48 0 10-96 0zM512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm263 711c-34.2 34.2-74 61-118.3 79.8C611 874.2 562.3 884 512 884c-50.3 0-99-9.8-144.8-29.2A370.4 370.4 0 01248.9 775c-34.2-34.2-61-74-79.8-118.3C149.8 611 140 562.3 140 512s9.8-99 29.2-144.8A370.4 370.4 0 01249 248.9c34.2-34.2 74-61 118.3-79.8C413 149.8 461.7 140 512 140c50.3 0 99 9.8 144.8 29.2A370.4 370.4 0 01775.1 249c34.2 34.2 61 74 79.8 118.3C874.2 413 884 461.7 884 512s-9.8 99-29.2 144.8A368.89 368.89 0 01775 775zM664 565H360c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h304c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z" /></svg>'},Zc={name:"pound-circle",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm146 658c0 4.4-3.6 8-8 8H376.2c-4.4 0-8-3.6-8-8v-38.5c0-3.7 2.5-6.9 6.1-7.8 44-10.9 72.8-49 72.8-94.2 0-14.7-2.5-29.4-5.9-44.2H374c-4.4 0-8-3.6-8-8v-30c0-4.4 3.6-8 8-8h53.7c-7.8-25.1-14.6-50.7-14.6-77.1 0-75.8 58.6-120.3 151.5-120.3 26.5 0 51.4 5.5 70.3 12.7 3.1 1.2 5.2 4.2 5.2 7.5v39.5a8 8 0 01-10.6 7.6c-17.9-6.4-39-10.5-60.4-10.5-53.3 0-87.3 26.6-87.3 70.2 0 24.7 6.2 47.9 13.4 70.5h112c4.4 0 8 3.6 8 8v30c0 4.4-3.6 8-8 8h-98.6c3.1 13.2 5.3 26.9 5.3 41 0 40.7-16.5 73.9-43.9 91.1v4.7h180c4.4 0 8 3.6 8 8V722z" /></svg>'},el={name:"pound-circle",theme:"twotone",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" fill="#333" /><path d="M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm146 582.1c0 4.4-3.6 8-8 8H376.2c-4.4 0-8-3.6-8-8v-38.5c0-3.7 2.5-6.9 6.1-7.8 44-10.9 72.8-49 72.8-94.2 0-14.7-2.5-29.4-5.9-44.2H374c-4.4 0-8-3.6-8-8v-30c0-4.4 3.6-8 8-8h53.7c-7.8-25.1-14.6-50.7-14.6-77.1 0-75.8 58.6-120.3 151.5-120.3 26.5 0 51.4 5.5 70.3 12.7 3.1 1.2 5.2 4.2 5.2 7.5v39.5a8 8 0 01-10.6 7.6c-17.9-6.4-39-10.5-60.4-10.5-53.3 0-87.3 26.6-87.3 70.2 0 24.7 6.2 47.9 13.4 70.5h112c4.4 0 8 3.6 8 8v30c0 4.4-3.6 8-8 8h-98.6c3.1 13.2 5.3 26.9 5.3 41 0 40.7-16.5 73.9-43.9 91.1v4.7h180c4.4 0 8 3.6 8 8v39.8z" fill="#E6E6E6" /><path d="M650 674.3H470v-4.7c27.4-17.2 43.9-50.4 43.9-91.1 0-14.1-2.2-27.8-5.3-41h98.6c4.4 0 8-3.6 8-8v-30c0-4.4-3.6-8-8-8h-112c-7.2-22.6-13.4-45.8-13.4-70.5 0-43.6 34-70.2 87.3-70.2 21.4 0 42.5 4.1 60.4 10.5a8 8 0 0010.6-7.6v-39.5c0-3.3-2.1-6.3-5.2-7.5-18.9-7.2-43.8-12.7-70.3-12.7-92.9 0-151.5 44.5-151.5 120.3 0 26.4 6.8 52 14.6 77.1H374c-4.4 0-8 3.6-8 8v30c0 4.4 3.6 8 8 8h67.2c3.4 14.8 5.9 29.5 5.9 44.2 0 45.2-28.8 83.3-72.8 94.2-3.6.9-6.1 4.1-6.1 7.8v38.5c0 4.4 3.6 8 8 8H650c4.4 0 8-3.6 8-8v-39.8c0-4.4-3.6-8-8-8z" fill="#333" /></svg>'},tl={name:"poweroff",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M705.6 124.9a8 8 0 00-11.6 7.2v64.2c0 5.5 2.9 10.6 7.5 13.6a352.2 352.2 0 0162.2 49.8c32.7 32.8 58.4 70.9 76.3 113.3a355 355 0 0127.9 138.7c0 48.1-9.4 94.8-27.9 138.7a355.92 355.92 0 01-76.3 113.3 353.06 353.06 0 01-113.2 76.4c-43.8 18.6-90.5 28-138.5 28s-94.7-9.4-138.5-28a353.06 353.06 0 01-113.2-76.4A355.92 355.92 0 01184 650.4a355 355 0 01-27.9-138.7c0-48.1 9.4-94.8 27.9-138.7 17.9-42.4 43.6-80.5 76.3-113.3 19-19 39.8-35.6 62.2-49.8 4.7-2.9 7.5-8.1 7.5-13.6V132c0-6-6.3-9.8-11.6-7.2C178.5 195.2 82 339.3 80 506.3 77.2 745.1 272.5 943.5 511.2 944c239 .5 432.8-193.3 432.8-432.4 0-169.2-97-315.7-238.4-386.7zM480 560h64c4.4 0 8-3.6 8-8V88c0-4.4-3.6-8-8-8h-64c-4.4 0-8 3.6-8 8v464c0 4.4 3.6 8 8 8z" /></svg>'},nl={name:"play-square",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM641.7 520.8L442.3 677.6c-7.4 5.8-18.3.6-18.3-8.8V355.3c0-9.4 10.9-14.7 18.3-8.8l199.4 156.7a11.2 11.2 0 010 17.6z" /></svg>'},rl={name:"profile",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM380 696c-22.1 0-40-17.9-40-40s17.9-40 40-40 40 17.9 40 40-17.9 40-40 40zm0-144c-22.1 0-40-17.9-40-40s17.9-40 40-40 40 17.9 40 40-17.9 40-40 40zm0-144c-22.1 0-40-17.9-40-40s17.9-40 40-40 40 17.9 40 40-17.9 40-40 40zm304 272c0 4.4-3.6 8-8 8H492c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h184c4.4 0 8 3.6 8 8v48zm0-144c0 4.4-3.6 8-8 8H492c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h184c4.4 0 8 3.6 8 8v48zm0-144c0 4.4-3.6 8-8 8H492c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h184c4.4 0 8 3.6 8 8v48z" /></svg>'},il={name:"printer",theme:"twotone",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M360 180h304v152H360zm492 220H172c-6.6 0-12 5.4-12 12v292h132V500h440v204h132V412c0-6.6-5.4-12-12-12zm-24 84c0 4.4-3.6 8-8 8h-40c-4.4 0-8-3.6-8-8v-40c0-4.4 3.6-8 8-8h40c4.4 0 8 3.6 8 8v40z" fill="#E6E6E6" /><path d="M852 332H732V120c0-4.4-3.6-8-8-8H300c-4.4 0-8 3.6-8 8v212H172c-44.2 0-80 35.8-80 80v328c0 17.7 14.3 32 32 32h168v132c0 4.4 3.6 8 8 8h424c4.4 0 8-3.6 8-8V772h168c17.7 0 32-14.3 32-32V412c0-44.2-35.8-80-80-80zM360 180h304v152H360V180zm304 664H360V568h304v276zm200-140H732V500H292v204H160V412c0-6.6 5.4-12 12-12h680c6.6 0 12 5.4 12 12v292z" fill="#333" /><path d="M820 436h-40c-4.4 0-8 3.6-8 8v40c0 4.4 3.6 8 8 8h40c4.4 0 8-3.6 8-8v-40c0-4.4-3.6-8-8-8z" fill="#333" /></svg>'},sl={name:"plus-square",theme:"twotone",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z" fill="#333" /><path d="M184 840h656V184H184v656zm136-352c0-4.4 3.6-8 8-8h152V328c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v152h152c4.4 0 8 3.6 8 8v48c0 4.4-3.6 8-8 8H544v152c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V544H328c-4.4 0-8-3.6-8-8v-48z" fill="#E6E6E6" /><path d="M328 544h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z" fill="#333" /></svg>'},ol={name:"printer",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M732 120c0-4.4-3.6-8-8-8H300c-4.4 0-8 3.6-8 8v148h440V120zm120 212H172c-44.2 0-80 35.8-80 80v328c0 17.7 14.3 32 32 32h168v132c0 4.4 3.6 8 8 8h424c4.4 0 8-3.6 8-8V772h168c17.7 0 32-14.3 32-32V412c0-44.2-35.8-80-80-80zM664 844H360V568h304v276zm164-360c0 4.4-3.6 8-8 8h-40c-4.4 0-8-3.6-8-8v-40c0-4.4 3.6-8 8-8h40c4.4 0 8 3.6 8 8v40z" /></svg>'},al={name:"printer",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M820 436h-40c-4.4 0-8 3.6-8 8v40c0 4.4 3.6 8 8 8h40c4.4 0 8-3.6 8-8v-40c0-4.4-3.6-8-8-8zm32-104H732V120c0-4.4-3.6-8-8-8H300c-4.4 0-8 3.6-8 8v212H172c-44.2 0-80 35.8-80 80v328c0 17.7 14.3 32 32 32h168v132c0 4.4 3.6 8 8 8h424c4.4 0 8-3.6 8-8V772h168c17.7 0 32-14.3 32-32V412c0-44.2-35.8-80-80-80zM360 180h304v152H360V180zm304 664H360V568h304v276zm200-140H732V500H292v204H160V412c0-6.6 5.4-12 12-12h680c6.6 0 12 5.4 12 12v292z" /></svg>'},cl={name:"play-square",theme:"twotone",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z" fill="#333" /><path d="M184 840h656V184H184v656zm240-484.7c0-9.4 10.9-14.7 18.3-8.8l199.4 156.7a11.2 11.2 0 010 17.6L442.3 677.6c-7.4 5.8-18.3.6-18.3-8.8V355.3z" fill="#E6E6E6" /><path d="M442.3 677.6l199.4-156.8a11.2 11.2 0 000-17.6L442.3 346.5c-7.4-5.9-18.3-.6-18.3 8.8v313.5c0 9.4 10.9 14.6 18.3 8.8z" fill="#333" /></svg>'},ll={name:"pound",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372zm138-209.8H469.8v-4.7c27.4-17.2 43.9-50.4 43.9-91.1 0-14.1-2.2-27.9-5.3-41H607c4.4 0 8-3.6 8-8v-30c0-4.4-3.6-8-8-8H495c-7.2-22.6-13.4-45.7-13.4-70.5 0-43.5 34-70.2 87.3-70.2 21.5 0 42.5 4.1 60.4 10.5 5.2 1.9 10.6-2 10.6-7.6v-39.5c0-3.3-2.1-6.3-5.2-7.5-18.8-7.2-43.8-12.7-70.3-12.7-92.9 0-151.5 44.5-151.5 120.3 0 26.3 6.9 52 14.6 77.1H374c-4.4 0-8 3.6-8 8v30c0 4.4 3.6 8 8 8h67.1c3.4 14.7 5.9 29.4 5.9 44.2 0 45.2-28.8 83.3-72.8 94.2-3.6.9-6.1 4.1-6.1 7.8V722c0 4.4 3.6 8 8 8H650c4.4 0 8-3.6 8-8v-39.8c0-4.4-3.6-8-8-8z" /></svg>'},ul={name:"play-circle",theme:"twotone",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" fill="#333" /><path d="M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm164.1 378.2L457.7 677.1a8.02 8.02 0 01-12.7-6.5V353a8 8 0 0112.7-6.5l218.4 158.8a7.9 7.9 0 010 12.9z" fill="#E6E6E6" /><path d="M676.1 505.3L457.7 346.5A8 8 0 00445 353v317.6a8.02 8.02 0 0012.7 6.5l218.4-158.9a7.9 7.9 0 000-12.9z" fill="#333" /></svg>'},hl={name:"profile",theme:"twotone",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z" fill="#333" /><path d="M184 840h656V184H184v656zm300-496c0-4.4 3.6-8 8-8h184c4.4 0 8 3.6 8 8v48c0 4.4-3.6 8-8 8H492c-4.4 0-8-3.6-8-8v-48zm0 144c0-4.4 3.6-8 8-8h184c4.4 0 8 3.6 8 8v48c0 4.4-3.6 8-8 8H492c-4.4 0-8-3.6-8-8v-48zm0 144c0-4.4 3.6-8 8-8h184c4.4 0 8 3.6 8 8v48c0 4.4-3.6 8-8 8H492c-4.4 0-8-3.6-8-8v-48zM380 328c22.1 0 40 17.9 40 40s-17.9 40-40 40-40-17.9-40-40 17.9-40 40-40zm0 144c22.1 0 40 17.9 40 40s-17.9 40-40 40-40-17.9-40-40 17.9-40 40-40zm0 144c22.1 0 40 17.9 40 40s-17.9 40-40 40-40-17.9-40-40 17.9-40 40-40z" fill="#E6E6E6" /><path d="M340 656a40 40 0 1080 0 40 40 0 10-80 0zm0-144a40 40 0 1080 0 40 40 0 10-80 0zm0-144a40 40 0 1080 0 40 40 0 10-80 0zm152 320h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H492c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8zm0-144h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H492c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8zm0-144h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H492c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z" fill="#333" /></svg>'},dl={name:"pic-right",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M952 792H72c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h880c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-632H72c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h880c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-24 500c8.8 0 16-7.2 16-16V380c0-8.8-7.2-16-16-16H416c-8.8 0-16 7.2-16 16v264c0 8.8 7.2 16 16 16h512zM472 436h400v152H472V436zM80 646c0 4.4 3.6 8 8 8h224c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H88c-4.4 0-8 3.6-8 8v56zm8-204h224c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H88c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8z" /></svg>'},fl={name:"pushpin",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M878.3 392.1L631.9 145.7c-6.5-6.5-15-9.7-23.5-9.7s-17 3.2-23.5 9.7L423.8 306.9c-12.2-1.4-24.5-2-36.8-2-73.2 0-146.4 24.1-206.5 72.3-15.4 12.3-16.6 35.4-2.7 49.4l181.7 181.7-215.4 215.2a15.8 15.8 0 00-4.6 9.8l-3.4 37.2c-.9 9.4 6.6 17.4 15.9 17.4.5 0 1 0 1.5-.1l37.2-3.4c3.7-.3 7.2-2 9.8-4.6l215.4-215.4 181.7 181.7c6.5 6.5 15 9.7 23.5 9.7 9.7 0 19.3-4.2 25.9-12.4 56.3-70.3 79.7-158.3 70.2-243.4l161.1-161.1c12.9-12.8 12.9-33.8 0-46.8z" /></svg>'},pl={name:"property-safety",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M866.9 169.9L527.1 54.1C523 52.7 517.5 52 512 52s-11 .7-15.1 2.1L157.1 169.9c-8.3 2.8-15.1 12.4-15.1 21.2v482.4c0 8.8 5.7 20.4 12.6 25.9L499.3 968c3.5 2.7 8 4.1 12.6 4.1s9.2-1.4 12.6-4.1l344.7-268.6c6.9-5.4 12.6-17 12.6-25.9V191.1c.2-8.8-6.6-18.3-14.9-21.2zM648.3 332.8l-87.7 161.1h45.7c5.5 0 10 4.5 10 10v21.3c0 5.5-4.5 10-10 10h-63.4v29.7h63.4c5.5 0 10 4.5 10 10v21.3c0 5.5-4.5 10-10 10h-63.4V658c0 5.5-4.5 10-10 10h-41.3c-5.5 0-10-4.5-10-10v-51.8h-63.1c-5.5 0-10-4.5-10-10v-21.3c0-5.5 4.5-10 10-10h63.1v-29.7h-63.1c-5.5 0-10-4.5-10-10v-21.3c0-5.5 4.5-10 10-10h45.2l-88-161.1c-2.6-4.8-.9-10.9 4-13.6 1.5-.8 3.1-1.2 4.8-1.2h46c3.8 0 7.2 2.1 8.9 5.5l72.9 144.3 73.2-144.3a10 10 0 018.9-5.5h45c5.5 0 10 4.5 10 10 .1 1.7-.3 3.3-1.1 4.8z" /></svg>'},ml={name:"profile",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656zM492 400h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H492c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8zm0 144h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H492c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8zm0 144h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H492c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8zM340 368a40 40 0 1080 0 40 40 0 10-80 0zm0 144a40 40 0 1080 0 40 40 0 10-80 0zm0 144a40 40 0 1080 0 40 40 0 10-80 0z" /></svg>'},gl={name:"pie-chart",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M863.1 518.5H505.5V160.9c0-4.4-3.6-8-8-8h-26a398.57 398.57 0 00-282.5 117 397.47 397.47 0 00-85.6 127C82.6 446.2 72 498.5 72 552.5S82.6 658.7 103.4 708c20.1 47.5 48.9 90.3 85.6 127 36.7 36.7 79.4 65.5 127 85.6a396.64 396.64 0 00155.6 31.5 398.57 398.57 0 00282.5-117c36.7-36.7 65.5-79.4 85.6-127a396.64 396.64 0 0031.5-155.6v-26c-.1-4.4-3.7-8-8.1-8zM951 463l-2.6-28.2c-8.5-92-49.3-178.8-115.1-244.3A398.5 398.5 0 00588.4 75.6L560.1 73c-4.7-.4-8.7 3.2-8.7 7.9v383.7c0 4.4 3.6 8 8 8l383.6-1c4.7-.1 8.4-4 8-8.6z" /></svg>'},vl={name:"pushpin",theme:"twotone",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M474.8 357.7l-24.5 24.5-34.4-3.8c-9.6-1.1-19.3-1.6-28.9-1.6-29 0-57.5 4.7-84.7 14.1-14 4.8-27.4 10.8-40.3 17.9l353.1 353.3a259.92 259.92 0 0030.4-153.9l-3.8-34.4 24.5-24.5L800 415.5 608.5 224 474.8 357.7z" fill="#E6E6E6" /><path d="M878.3 392.1L631.9 145.7c-6.5-6.5-15-9.7-23.5-9.7s-17 3.2-23.5 9.7L423.8 306.9c-12.2-1.4-24.5-2-36.8-2-73.2 0-146.4 24.1-206.5 72.3a33.23 33.23 0 00-2.7 49.4l181.7 181.7-215.4 215.2a15.8 15.8 0 00-4.6 9.8l-3.4 37.2c-.9 9.4 6.6 17.4 15.9 17.4.5 0 1 0 1.5-.1l37.2-3.4c3.7-.3 7.2-2 9.8-4.6l215.4-215.4 181.7 181.7c6.5 6.5 15 9.7 23.5 9.7 9.7 0 19.3-4.2 25.9-12.4 56.3-70.3 79.7-158.3 70.2-243.4l161.1-161.1c12.9-12.8 12.9-33.8 0-46.8zM666.2 549.3l-24.5 24.5 3.8 34.4a259.92 259.92 0 01-30.4 153.9L262 408.8c12.9-7.1 26.3-13.1 40.3-17.9 27.2-9.4 55.7-14.1 84.7-14.1 9.6 0 19.3.5 28.9 1.6l34.4 3.8 24.5-24.5L608.5 224 800 415.5 666.2 549.3z" fill="#333" /></svg>'},yl={name:"picture",theme:"twotone",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 632H136v-39.9l138.5-164.3 150.1 178L658.1 489 888 761.6V792zm0-129.8L664.2 396.8c-3.2-3.8-9-3.8-12.2 0L424.6 666.4l-144-170.7c-3.2-3.8-9-3.8-12.2 0L136 652.7V232h752v430.2z" fill="#333" /><path d="M424.6 765.8l-150.1-178L136 752.1V792h752v-30.4L658.1 489z" fill="#E6E6E6" /><path d="M136 652.7l132.4-157c3.2-3.8 9-3.8 12.2 0l144 170.7L652 396.8c3.2-3.8 9-3.8 12.2 0L888 662.2V232H136v420.7zM304 280a88 88 0 110 176 88 88 0 010-176z" fill="#E6E6E6" /><path d="M276 368a28 28 0 1056 0 28 28 0 10-56 0z" fill="#E6E6E6" /><path d="M304 456a88 88 0 100-176 88 88 0 000 176zm0-116c15.5 0 28 12.5 28 28s-12.5 28-28 28-28-12.5-28-28 12.5-28 28-28z" fill="#333" /></svg>'},bl={name:"phone",theme:"twotone",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M721.7 184.9L610.9 295.8l120.8 120.7-8 21.6A481.29 481.29 0 01438 723.9l-21.6 8-.9-.9-119.8-120-110.8 110.9 104.5 104.5c10.8 10.7 26 15.7 40.8 13.2 117.9-19.5 235.4-82.9 330.9-178.4s158.9-213.1 178.4-331c2.5-14.8-2.5-30-13.3-40.8L721.7 184.9z" fill="#E6E6E6" /><path d="M877.1 238.7L770.6 132.3c-13-13-30.4-20.3-48.8-20.3s-35.8 7.2-48.8 20.3L558.3 246.8c-13 13-20.3 30.5-20.3 48.9 0 18.5 7.2 35.8 20.3 48.9l89.6 89.7a405.46 405.46 0 01-86.4 127.3c-36.7 36.9-79.6 66-127.2 86.6l-89.6-89.7c-13-13-30.4-20.3-48.8-20.3a68.2 68.2 0 00-48.8 20.3L132.3 673c-13 13-20.3 30.5-20.3 48.9 0 18.5 7.2 35.8 20.3 48.9l106.4 106.4c22.2 22.2 52.8 34.9 84.2 34.9 6.5 0 12.8-.5 19.2-1.6 132.4-21.8 263.8-92.3 369.9-198.3C818 606 888.4 474.6 910.4 342.1c6.3-37.6-6.3-76.3-33.3-103.4zm-37.6 91.5c-19.5 117.9-82.9 235.5-178.4 331s-213 158.9-330.9 178.4c-14.8 2.5-30-2.5-40.8-13.2L184.9 721.9 295.7 611l119.8 120 .9.9 21.6-8a481.29 481.29 0 00285.7-285.8l8-21.6-120.8-120.7 110.8-110.9 104.5 104.5c10.8 10.8 15.8 26 13.3 40.8z" fill="#333" /></svg>'},_l={name:"qq",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M824.8 613.2c-16-51.4-34.4-94.6-62.7-165.3C766.5 262.2 689.3 112 511.5 112 331.7 112 256.2 265.2 261 447.9c-28.4 70.8-46.7 113.7-62.7 165.3-34 109.5-23 154.8-14.6 155.8 18 2.2 70.1-82.4 70.1-82.4 0 49 25.2 112.9 79.8 159-26.4 8.1-85.7 29.9-71.6 53.8 11.4 19.3 196.2 12.3 249.5 6.3 53.3 6 238.1 13 249.5-6.3 14.1-23.8-45.3-45.7-71.6-53.8 54.6-46.2 79.8-110.1 79.8-159 0 0 52.1 84.6 70.1 82.4 8.5-1.1 19.5-46.4-14.5-155.8z" /></svg>'},wl={name:"property-safety",theme:"twotone",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M866.9 169.9L527.1 54.1C523 52.7 517.5 52 512 52s-11 .7-15.1 2.1L157.1 169.9c-8.3 2.8-15.1 12.4-15.1 21.2v482.4c0 8.8 5.7 20.4 12.6 25.9L499.3 968c3.5 2.7 8 4.1 12.6 4.1s9.2-1.4 12.6-4.1l344.7-268.6c6.9-5.4 12.6-17 12.6-25.9V191.1c.2-8.8-6.6-18.3-14.9-21.2zM810 654.3L512 886.5 214 654.3V226.7l298-101.6 298 101.6v427.6z" fill="#333" /><path d="M214 226.7v427.6l298 232.2 298-232.2V226.7L512 125.1 214 226.7zM593.9 318h45c5.5 0 10 4.5 10 10 .1 1.7-.3 3.3-1.1 4.8l-87.7 161.1h45.7c5.5 0 10 4.5 10 10v21.3c0 5.5-4.5 10-10 10h-63.4v29.7h63.4c5.5 0 10 4.5 10 10v21.3c0 5.5-4.5 10-10 10h-63.4V658c0 5.5-4.5 10-10 10h-41.3c-5.5 0-10-4.5-10-10v-51.8H418c-5.5 0-10-4.5-10-10v-21.3c0-5.5 4.5-10 10-10h63.1v-29.7H418c-5.5 0-10-4.5-10-10v-21.3c0-5.5 4.5-10 10-10h45.2l-88-161.1c-2.6-4.8-.9-10.9 4-13.6 1.5-.8 3.1-1.2 4.8-1.2h46c3.8 0 7.2 2.1 8.9 5.5l72.9 144.3L585 323.5a10 10 0 018.9-5.5z" fill="#E6E6E6" /><path d="M438.9 323.5a9.88 9.88 0 00-8.9-5.5h-46c-1.7 0-3.3.4-4.8 1.2-4.9 2.7-6.6 8.8-4 13.6l88 161.1H418c-5.5 0-10 4.5-10 10v21.3c0 5.5 4.5 10 10 10h63.1v29.7H418c-5.5 0-10 4.5-10 10v21.3c0 5.5 4.5 10 10 10h63.1V658c0 5.5 4.5 10 10 10h41.3c5.5 0 10-4.5 10-10v-51.8h63.4c5.5 0 10-4.5 10-10v-21.3c0-5.5-4.5-10-10-10h-63.4v-29.7h63.4c5.5 0 10-4.5 10-10v-21.3c0-5.5-4.5-10-10-10h-45.7l87.7-161.1c.8-1.5 1.2-3.1 1.1-4.8 0-5.5-4.5-10-10-10h-45a10 10 0 00-8.9 5.5l-73.2 144.3-72.9-144.3z" fill="#333" /></svg>'},Sl={name:"qq-circle",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm210.5 612.4c-11.5 1.4-44.9-52.7-44.9-52.7 0 31.3-16.2 72.2-51.1 101.8 16.9 5.2 54.9 19.2 45.9 34.4-7.3 12.3-125.6 7.9-159.8 4-34.2 3.8-152.5 8.3-159.8-4-9.1-15.2 28.9-29.2 45.8-34.4-35-29.5-51.1-70.4-51.1-101.8 0 0-33.4 54.1-44.9 52.7-5.4-.7-12.4-29.6 9.4-99.7 10.3-33 22-60.5 40.2-105.8-3.1-116.9 45.3-215 160.4-215 113.9 0 163.3 96.1 160.4 215 18.1 45.2 29.9 72.8 40.2 105.8 21.7 70.1 14.6 99.1 9.3 99.7z" /></svg>'},xl={name:"property-safety",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M866.9 169.9L527.1 54.1C523 52.7 517.5 52 512 52s-11 .7-15.1 2.1L157.1 169.9c-8.3 2.8-15.1 12.4-15.1 21.2v482.4c0 8.8 5.7 20.4 12.6 25.9L499.3 968c3.5 2.7 8 4.1 12.6 4.1s9.2-1.4 12.6-4.1l344.7-268.6c6.9-5.4 12.6-17 12.6-25.9V191.1c.2-8.8-6.6-18.3-14.9-21.2zM810 654.3L512 886.5 214 654.3V226.7l298-101.6 298 101.6v427.6zM430.5 318h-46c-1.7 0-3.3.4-4.8 1.2a10.1 10.1 0 00-4 13.6l88 161.1h-45.2c-5.5 0-10 4.5-10 10v21.3c0 5.5 4.5 10 10 10h63.1v29.7h-63.1c-5.5 0-10 4.5-10 10v21.3c0 5.5 4.5 10 10 10h63.1V658c0 5.5 4.5 10 10 10h41.3c5.5 0 10-4.5 10-10v-51.8h63.4c5.5 0 10-4.5 10-10v-21.3c0-5.5-4.5-10-10-10h-63.4v-29.7h63.4c5.5 0 10-4.5 10-10v-21.3c0-5.5-4.5-10-10-10h-45.7l87.7-161.1a10.05 10.05 0 00-8.8-14.8h-45c-3.8 0-7.2 2.1-8.9 5.5l-73.2 144.3-72.9-144.3c-1.7-3.4-5.2-5.5-9-5.5z" /></svg>'},Ol={name:"question-circle",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 708c-22.1 0-40-17.9-40-40s17.9-40 40-40 40 17.9 40 40-17.9 40-40 40zm62.9-219.5a48.3 48.3 0 00-30.9 44.8V620c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8v-21.5c0-23.1 6.7-45.9 19.9-64.9 12.9-18.6 30.9-32.8 52.1-40.9 34-13.1 56-41.6 56-72.7 0-44.1-43.1-80-96-80s-96 35.9-96 80v7.6c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V420c0-39.3 17.2-76 48.4-103.3C430.4 290.4 470 276 512 276s81.6 14.5 111.6 40.7C654.8 344 672 380.7 672 420c0 57.8-38.1 109.8-97.1 132.5z" /></svg>'},kl={name:"pull-request",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M788 705.9V192c0-8.8-7.2-16-16-16H602v-68.8c0-6-7-9.4-11.7-5.7L462.7 202.3a7.14 7.14 0 000 11.3l127.5 100.8c4.7 3.7 11.7.4 11.7-5.7V240h114v465.9c-44.2 15-76 56.9-76 106.1 0 61.8 50.2 112 112 112s112-50.2 112-112c.1-49.2-31.7-91-75.9-106.1zM752 860a48.01 48.01 0 010-96 48.01 48.01 0 010 96zM384 212c0-61.8-50.2-112-112-112s-112 50.2-112 112c0 49.2 31.8 91 76 106.1V706c-44.2 15-76 56.9-76 106.1 0 61.8 50.2 112 112 112s112-50.2 112-112c0-49.2-31.8-91-76-106.1V318.1c44.2-15.1 76-56.9 76-106.1zm-160 0a48.01 48.01 0 0196 0 48.01 48.01 0 01-96 0zm96 600a48.01 48.01 0 01-96 0 48.01 48.01 0 0196 0z" /></svg>'},Cl={name:"qrcode",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M468 128H160c-17.7 0-32 14.3-32 32v308c0 4.4 3.6 8 8 8h332c4.4 0 8-3.6 8-8V136c0-4.4-3.6-8-8-8zm-56 284H192V192h220v220zm-138-74h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm194 210H136c-4.4 0-8 3.6-8 8v308c0 17.7 14.3 32 32 32h308c4.4 0 8-3.6 8-8V556c0-4.4-3.6-8-8-8zm-56 284H192V612h220v220zm-138-74h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm590-630H556c-4.4 0-8 3.6-8 8v332c0 4.4 3.6 8 8 8h332c4.4 0 8-3.6 8-8V160c0-17.7-14.3-32-32-32zm-32 284H612V192h220v220zm-138-74h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm194 210h-48c-4.4 0-8 3.6-8 8v134h-78V556c0-4.4-3.6-8-8-8H556c-4.4 0-8 3.6-8 8v332c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V644h78v102c0 4.4 3.6 8 8 8h190c4.4 0 8-3.6 8-8V556c0-4.4-3.6-8-8-8zM746 832h-48c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zm142 0h-48c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z" /></svg>'},Ml={name:"qq-square",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM722.5 676.4c-11.5 1.4-44.9-52.7-44.9-52.7 0 31.3-16.2 72.2-51.1 101.8 16.9 5.2 54.9 19.2 45.9 34.4-7.3 12.3-125.6 7.9-159.8 4-34.2 3.8-152.5 8.3-159.8-4-9.1-15.2 28.9-29.2 45.8-34.4-35-29.5-51.1-70.4-51.1-101.8 0 0-33.4 54.1-44.9 52.7-5.4-.7-12.4-29.6 9.4-99.7 10.3-33 22-60.5 40.2-105.8-3.1-116.9 45.3-215 160.4-215 113.9 0 163.3 96.1 160.4 215 18.1 45.2 29.9 72.8 40.2 105.8 21.7 70.1 14.6 99.1 9.3 99.7z" /></svg>'},El={name:"question-circle",theme:"twotone",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" fill="#333" /><path d="M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm0 632c-22.1 0-40-17.9-40-40s17.9-40 40-40 40 17.9 40 40-17.9 40-40 40zm62.9-219.5a48.3 48.3 0 00-30.9 44.8V620c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8v-21.5c0-23.1 6.7-45.9 19.9-64.9 12.9-18.6 30.9-32.8 52.1-40.9 34-13.1 56-41.6 56-72.7 0-44.1-43.1-80-96-80s-96 35.9-96 80v7.6c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V420c0-39.3 17.2-76 48.4-103.3C430.4 290.4 470 276 512 276s81.6 14.5 111.6 40.7C654.8 344 672 380.7 672 420c0 57.8-38.1 109.8-97.1 132.5z" fill="#E6E6E6" /><path d="M472 732a40 40 0 1080 0 40 40 0 10-80 0zm151.6-415.3C593.6 290.5 554 276 512 276s-81.6 14.4-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.2 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5 0-39.3-17.2-76-48.4-103.3z" fill="#333" /></svg>'},Tl={name:"radius-bottomright",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M368 824h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-58-624h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm578 102h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM192 824h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm292 72h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm174 0h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm230 276h-56c-4.4 0-8 3.6-8 8v182c0 87.3-70.7 158-158 158H484c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h182c127 0 230-103 230-230V484c0-4.4-3.6-8-8-8z" /></svg>'},jl={name:"radar-chart",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M926.8 397.1l-396-288a31.81 31.81 0 00-37.6 0l-396 288a31.99 31.99 0 00-11.6 35.8l151.3 466a32 32 0 0030.4 22.1h489.5c13.9 0 26.1-8.9 30.4-22.1l151.3-466c4.2-13.2-.5-27.6-11.7-35.8zM838.6 417l-98.5 32-200-144.7V199.9L838.6 417zM466 567.2l-89.1 122.3-55.2-169.2L466 567.2zm-116.3-96.8L484 373.3v140.8l-134.3-43.7zM512 599.2l93.9 128.9H418.1L512 599.2zm28.1-225.9l134.2 97.1L540.1 514V373.3zM558 567.2l144.3-46.9-55.2 169.2L558 567.2zm-74-367.3v104.4L283.9 449l-98.5-32L484 199.9zM169.3 470.8l86.5 28.1 80.4 246.4-53.8 73.9-113.1-348.4zM327.1 853l50.3-69h269.3l50.3 69H327.1zm414.5-33.8l-53.8-73.9 80.4-246.4 86.5-28.1-113.1 348.4z" /></svg>'},Dl={name:"radius-upleft",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M656 200h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm58 624h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM192 650h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm696-696h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-348 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-174 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm174-696H358c-127 0-230 103-230 230v182c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V358c0-87.3 70.7-158 158-158h182c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z" /></svg>'},Al={name:"read",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M928 161H699.2c-49.1 0-97.1 14.1-138.4 40.7L512 233l-48.8-31.3A255.2 255.2 0 00324.8 161H96c-17.7 0-32 14.3-32 32v568c0 17.7 14.3 32 32 32h228.8c49.1 0 97.1 14.1 138.4 40.7l44.4 28.6c1.3.8 2.8 1.3 4.3 1.3s3-.4 4.3-1.3l44.4-28.6C602 807.1 650.1 793 699.2 793H928c17.7 0 32-14.3 32-32V193c0-17.7-14.3-32-32-32zM404 553.5c0 4.1-3.2 7.5-7.1 7.5H211.1c-3.9 0-7.1-3.4-7.1-7.5v-45c0-4.1 3.2-7.5 7.1-7.5h185.7c3.9 0 7.1 3.4 7.1 7.5v45zm0-140c0 4.1-3.2 7.5-7.1 7.5H211.1c-3.9 0-7.1-3.4-7.1-7.5v-45c0-4.1 3.2-7.5 7.1-7.5h185.7c3.9 0 7.1 3.4 7.1 7.5v45zm416 140c0 4.1-3.2 7.5-7.1 7.5H627.1c-3.9 0-7.1-3.4-7.1-7.5v-45c0-4.1 3.2-7.5 7.1-7.5h185.7c3.9 0 7.1 3.4 7.1 7.5v45zm0-140c0 4.1-3.2 7.5-7.1 7.5H627.1c-3.9 0-7.1-3.4-7.1-7.5v-45c0-4.1 3.2-7.5 7.1-7.5h185.7c3.9 0 7.1 3.4 7.1 7.5v45z" /></svg>'},Ll={name:"question-circle",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" /><path d="M623.6 316.7C593.6 290.4 554 276 512 276s-81.6 14.5-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56.1 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.1 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5.1-39.3-17.1-76-48.3-103.3zM472 732a40 40 0 1080 0 40 40 0 10-80 0z" /></svg>'},zl={name:"read",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M928 161H699.2c-49.1 0-97.1 14.1-138.4 40.7L512 233l-48.8-31.3A255.2 255.2 0 00324.8 161H96c-17.7 0-32 14.3-32 32v568c0 17.7 14.3 32 32 32h228.8c49.1 0 97.1 14.1 138.4 40.7l44.4 28.6c1.3.8 2.8 1.3 4.3 1.3s3-.4 4.3-1.3l44.4-28.6C602 807.1 650.1 793 699.2 793H928c17.7 0 32-14.3 32-32V193c0-17.7-14.3-32-32-32zM324.8 721H136V233h188.8c35.4 0 69.8 10.1 99.5 29.2l48.8 31.3 6.9 4.5v462c-47.6-25.6-100.8-39-155.2-39zm563.2 0H699.2c-54.4 0-107.6 13.4-155.2 39V298l6.9-4.5 48.8-31.3c29.7-19.1 64.1-29.2 99.5-29.2H888v488zM396.9 361H211.1c-3.9 0-7.1 3.4-7.1 7.5v45c0 4.1 3.2 7.5 7.1 7.5h185.7c3.9 0 7.1-3.4 7.1-7.5v-45c.1-4.1-3.1-7.5-7-7.5zm223.1 7.5v45c0 4.1 3.2 7.5 7.1 7.5h185.7c3.9 0 7.1-3.4 7.1-7.5v-45c0-4.1-3.2-7.5-7.1-7.5H627.1c-3.9 0-7.1 3.4-7.1 7.5zM396.9 501H211.1c-3.9 0-7.1 3.4-7.1 7.5v45c0 4.1 3.2 7.5 7.1 7.5h185.7c3.9 0 7.1-3.4 7.1-7.5v-45c.1-4.1-3.1-7.5-7-7.5zm416 0H627.1c-3.9 0-7.1 3.4-7.1 7.5v45c0 4.1 3.2 7.5 7.1 7.5h185.7c3.9 0 7.1-3.4 7.1-7.5v-45c.1-4.1-3.1-7.5-7-7.5z" /></svg>'},Pl={name:"radius-setting",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M396 140h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-44 684h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm524-204h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM192 344h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 160h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 160h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 160h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm320 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm160 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm140-284c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V370c0-127-103-230-230-230H484c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h170c87.3 0 158 70.7 158 158v170zM236 96H92c-4.4 0-8 3.6-8 8v144c0 4.4 3.6 8 8 8h144c4.4 0 8-3.6 8-8V104c0-4.4-3.6-8-8-8zm-48 101.6c0 1.3-1.1 2.4-2.4 2.4h-43.2c-1.3 0-2.4-1.1-2.4-2.4v-43.2c0-1.3 1.1-2.4 2.4-2.4h43.2c1.3 0 2.4 1.1 2.4 2.4v43.2zM920 780H776c-4.4 0-8 3.6-8 8v144c0 4.4 3.6 8 8 8h144c4.4 0 8-3.6 8-8V788c0-4.4-3.6-8-8-8zm-48 101.6c0 1.3-1.1 2.4-2.4 2.4h-43.2c-1.3 0-2.4-1.1-2.4-2.4v-43.2c0-1.3 1.1-2.4 2.4-2.4h43.2c1.3 0 2.4 1.1 2.4 2.4v43.2z" /></svg>'},Il={name:"red-envelope",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M832 64H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zM647 470.4l-87.2 161h45.9c4.6 0 8.4 3.8 8.4 8.4v25.1c0 4.6-3.8 8.4-8.4 8.4h-63.3v28.6h63.3c4.6 0 8.4 3.8 8.4 8.4v25c.2 4.6-3.6 8.5-8.2 8.5h-63.3v49.9c0 4.6-3.8 8.4-8.4 8.4h-43.7c-4.6 0-8.4-3.8-8.4-8.4v-49.9h-63c-4.6 0-8.4-3.8-8.4-8.4v-25.1c0-4.6 3.8-8.4 8.4-8.4h63v-28.6h-63c-4.6 0-8.4-3.8-8.4-8.4v-25.1c0-4.6 3.8-8.4 8.4-8.4h45.4l-87.5-161c-2.2-4.1-.7-9.1 3.4-11.4 1.3-.6 2.6-1 3.9-1h48.8c3.2 0 6.1 1.8 7.5 4.6l71.9 141.8 71.9-141.9a8.5 8.5 0 017.5-4.6h47.8c4.6 0 8.4 3.8 8.4 8.4-.1 1.5-.5 2.9-1.1 4.1zM512.6 323L289 148h446L512.6 323z" /></svg>'},Rl={name:"radius-upright",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M368 128h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-2 696h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm522-174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM192 128h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm348 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm174 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-48-696H484c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h182c87.3 0 158 70.7 158 158v182c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V358c0-127-103-230-230-230z" /></svg>'},Nl={name:"reconciliation",theme:"twotone",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M740 344H404V240H304v160h176c17.7 0 32 14.3 32 32v360h328V240H740v104zM584 448c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v56c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8v-56zm92 301c-50.8 0-92-41.2-92-92s41.2-92 92-92 92 41.2 92 92-41.2 92-92 92zm92-341v96c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8v-96c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8z" fill="#E6E6E6" /><path d="M642 657a34 34 0 1068 0 34 34 0 10-68 0z" fill="#E6E6E6" /><path d="M592 512h48c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm112-104v96c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-96c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8z" fill="#333" /><path d="M880 168H668c0-30.9-25.1-56-56-56h-80c-30.9 0-56 25.1-56 56H264c-17.7 0-32 14.3-32 32v200h-88c-17.7 0-32 14.3-32 32v448c0 17.7 14.3 32 32 32h336c17.7 0 32-14.3 32-32v-16h368c17.7 0 32-14.3 32-32V200c0-17.7-14.3-32-32-32zm-412 64h72v-56h64v56h72v48H468v-48zm-20 616H176V616h272v232zm0-296H176v-88h272v88zm392 240H512V432c0-17.7-14.3-32-32-32H304V240h100v104h336V240h100v552z" fill="#333" /><path d="M676 565c-50.8 0-92 41.2-92 92s41.2 92 92 92 92-41.2 92-92-41.2-92-92-92zm0 126c-18.8 0-34-15.2-34-34s15.2-34 34-34 34 15.2 34 34-15.2 34-34 34z" fill="#333" /></svg>'},Hl={name:"red-envelope",theme:"twotone",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M832 64H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zm-40 824H232V193.1l260.3 204.1c11.6 9.1 27.9 9.1 39.5 0L792 193.1V888zm0-751.3h-31.7L512 331.3 263.7 136.7H232v-.7h560v.7z" fill="#333" /><path d="M492.3 397.2L232 193.1V888h560V193.1L531.8 397.2a31.99 31.99 0 01-39.5 0zm99.4 60.9h47.8a8.45 8.45 0 017.4 12.4l-87.2 161h45.9c4.6 0 8.4 3.8 8.4 8.4V665c0 4.6-3.8 8.4-8.4 8.4h-63.3V702h63.3c4.6 0 8.4 3.8 8.4 8.4v25c.2 4.7-3.5 8.5-8.2 8.5h-63.3v49.9c0 4.6-3.8 8.4-8.4 8.4h-43.7c-4.6 0-8.4-3.8-8.4-8.4v-49.9h-63c-4.6 0-8.4-3.8-8.4-8.4v-25.1c0-4.6 3.8-8.4 8.4-8.4h63v-28.6h-63c-4.6 0-8.4-3.8-8.4-8.4v-25.1c0-4.6 3.8-8.4 8.4-8.4h45.4L377 470.4a8.4 8.4 0 013.4-11.4c1.3-.6 2.6-1 3.9-1h48.8c3.2 0 6.1 1.8 7.5 4.6l71.7 142 71.9-141.9a8.6 8.6 0 017.5-4.6z" fill="#E6E6E6" /><path d="M232 136.7h31.7L512 331.3l248.3-194.6H792v-.7H232z" fill="#E6E6E6" /><path d="M440.6 462.6a8.38 8.38 0 00-7.5-4.6h-48.8c-1.3 0-2.6.4-3.9 1a8.4 8.4 0 00-3.4 11.4l87.4 161.1H419c-4.6 0-8.4 3.8-8.4 8.4V665c0 4.6 3.8 8.4 8.4 8.4h63V702h-63c-4.6 0-8.4 3.8-8.4 8.4v25.1c0 4.6 3.8 8.4 8.4 8.4h63v49.9c0 4.6 3.8 8.4 8.4 8.4h43.7c4.6 0 8.4-3.8 8.4-8.4v-49.9h63.3c4.7 0 8.4-3.8 8.2-8.5v-25c0-4.6-3.8-8.4-8.4-8.4h-63.3v-28.6h63.3c4.6 0 8.4-3.8 8.4-8.4v-25.1c0-4.6-3.8-8.4-8.4-8.4h-45.9l87.2-161a8.45 8.45 0 00-7.4-12.4h-47.8c-3.1 0-6 1.8-7.5 4.6l-71.9 141.9-71.7-142z" fill="#333" /></svg>'},Fl={name:"reddit-square",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M296 440a35.98 35.98 0 00-13.4 69.4c11.5-18.1 27.1-34.5 45.9-48.8A35.9 35.9 0 00296 440zm289.7 184.9c-14.9 11.7-44.3 24.3-73.7 24.3s-58.9-12.6-73.7-24.3c-9.3-7.3-22.7-5.7-30 3.6-7.3 9.3-5.7 22.7 3.6 30 25.7 20.4 65 33.5 100.1 33.5 35.1 0 74.4-13.1 100.2-33.5 9.3-7.3 10.9-20.8 3.6-30a21.46 21.46 0 00-30.1-3.6zM880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM757 541.9c4.6 13.5 7 27.6 7 42.1 0 99.4-112.8 180-252 180s-252-80.6-252-180c0-14.5 2.4-28.6 7-42.1A72.01 72.01 0 01296 404c27.1 0 50.6 14.9 62.9 37 36.2-19.8 80.2-32.8 128.1-36.1l58.4-131.1c4.3-9.8 15.2-14.8 25.5-11.8l91.6 26.5a54.03 54.03 0 01101.6 25.6c0 29.8-24.2 54-54 54-23.5 0-43.5-15.1-50.9-36.1L577 308.3l-43 96.5c49.1 3 94.2 16.1 131.2 36.3 12.3-22.1 35.8-37 62.9-37 39.8 0 72 32.2 72 72-.1 29.3-17.8 54.6-43.1 65.8zM584 548a36 36 0 1072 0 36 36 0 10-72 0zm144-108a35.9 35.9 0 00-32.5 20.6c18.8 14.3 34.4 30.7 45.9 48.8A35.98 35.98 0 00728 440zM368 548a36 36 0 1072 0 36 36 0 10-72 0z" /></svg>'},Vl={name:"reconciliation",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M676 565c-50.8 0-92 41.2-92 92s41.2 92 92 92 92-41.2 92-92-41.2-92-92-92zm0 126c-18.8 0-34-15.2-34-34s15.2-34 34-34 34 15.2 34 34-15.2 34-34 34zm204-523H668c0-30.9-25.1-56-56-56h-80c-30.9 0-56 25.1-56 56H264c-17.7 0-32 14.3-32 32v200h-88c-17.7 0-32 14.3-32 32v448c0 17.7 14.3 32 32 32h336c17.7 0 32-14.3 32-32v-16h368c17.7 0 32-14.3 32-32V200c0-17.7-14.3-32-32-32zm-412 64h72v-56h64v56h72v48H468v-48zm-20 616H176V616h272v232zm0-296H176v-88h272v88zm392 240H512V432c0-17.7-14.3-32-32-32H304V240h100v104h336V240h100v552zM704 408v96c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-96c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8zM592 512h48c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8z" /></svg>'},Bl={name:"red-envelope",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M440.6 462.6a8.38 8.38 0 00-7.5-4.6h-48.8c-1.3 0-2.6.4-3.9 1a8.4 8.4 0 00-3.4 11.4l87.4 161.1H419c-4.6 0-8.4 3.8-8.4 8.4V665c0 4.6 3.8 8.4 8.4 8.4h63V702h-63c-4.6 0-8.4 3.8-8.4 8.4v25.1c0 4.6 3.8 8.4 8.4 8.4h63v49.9c0 4.6 3.8 8.4 8.4 8.4h43.7c4.6 0 8.4-3.8 8.4-8.4v-49.9h63.3c4.7 0 8.4-3.8 8.2-8.5v-25c0-4.6-3.8-8.4-8.4-8.4h-63.3v-28.6h63.3c4.6 0 8.4-3.8 8.4-8.4v-25.1c0-4.6-3.8-8.4-8.4-8.4h-45.9l87.2-161a8.45 8.45 0 00-7.4-12.4h-47.8c-3.1 0-6 1.8-7.5 4.6l-71.9 141.9-71.7-142zM832 64H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zm-40 824H232V193.1l260.3 204.1c11.6 9.1 27.9 9.1 39.5 0L792 193.1V888zm0-751.3h-31.7L512 331.3 263.7 136.7H232v-.7h560v.7z" /></svg>'},Yl={name:"reddit-circle",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M584 548a36 36 0 1072 0 36 36 0 10-72 0zm144-108a35.9 35.9 0 00-32.5 20.6c18.8 14.3 34.4 30.7 45.9 48.8A35.98 35.98 0 00728 440zM512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm245 477.9c4.6 13.5 7 27.6 7 42.1 0 99.4-112.8 180-252 180s-252-80.6-252-180c0-14.5 2.4-28.6 7-42.1A72.01 72.01 0 01296 404c27.1 0 50.6 14.9 62.9 37 36.2-19.8 80.2-32.8 128.1-36.1l58.4-131.1c4.3-9.8 15.2-14.8 25.5-11.8l91.6 26.5a54.03 54.03 0 01101.6 25.6c0 29.8-24.2 54-54 54-23.5 0-43.5-15.1-50.9-36.1L577 308.3l-43 96.5c49.1 3 94.2 16.1 131.2 36.3 12.3-22.1 35.8-37 62.9-37 39.8 0 72 32.2 72 72-.1 29.3-17.8 54.6-43.1 65.8zm-171.3 83c-14.9 11.7-44.3 24.3-73.7 24.3s-58.9-12.6-73.7-24.3c-9.3-7.3-22.7-5.7-30 3.6-7.3 9.3-5.7 22.7 3.6 30 25.7 20.4 65 33.5 100.1 33.5 35.1 0 74.4-13.1 100.2-33.5 9.3-7.3 10.9-20.8 3.6-30a21.46 21.46 0 00-30.1-3.6zM296 440a35.98 35.98 0 00-13.4 69.4c11.5-18.1 27.1-34.5 45.9-48.8A35.9 35.9 0 00296 440zm72 108a36 36 0 1072 0 36 36 0 10-72 0z" /></svg>'},Ul={name:"rest",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M832 256h-28.1l-35.7-120.9c-4-13.7-16.5-23.1-30.7-23.1h-451c-14.3 0-26.8 9.4-30.7 23.1L220.1 256H192c-17.7 0-32 14.3-32 32v28c0 4.4 3.6 8 8 8h45.8l47.7 558.7a32 32 0 0031.9 29.3h429.2a32 32 0 0031.9-29.3L802.2 324H856c4.4 0 8-3.6 8-8v-28c0-17.7-14.3-32-32-32zM508 704c-79.5 0-144-64.5-144-144s64.5-144 144-144 144 64.5 144 144-64.5 144-144 144zM291 256l22.4-76h397.2l22.4 76H291zm137 304a80 80 0 10160 0 80 80 0 10-160 0z" /></svg>'},Wl={name:"retweet",theme:"outline",icon:'<svg viewBox="0 0 1024 1024" focusable="false"><path d="M136 552h63.6c4.4 0 8-3.6 8-8V288.7h528.6v72.6c0 1.9.6 3.7 1.8 5.2a8.3 8.3 0 0011.7 1.4L893 255.4c4.3-5 3.6-10.3 0-13.2L749.7 129.8a8.22 8.22 0 00-5.2-1.8c-4.6 0-8.4 3.8-8.4 8.4V209H199.7c-39.5 0-71.7 32.2-71.7 71.8V544c0 4.4 3.6 8 8 8zm752-80h-63.6c-4.4 0-8 3.6-8 8v255.3H287.8v-72.6c0-1.9-.6-3.7-1.8-5.2a8.3 8.3 0 00-11.7-1.4L131 768.6c-4.3 5-3.6 10.3 0 13.2l143.3 112.4c1.5 1.2 3.3 1.8 5.2 1.8 4.6 0 8.4-3.8 8.4-8.4V815h536.6c39.5 0 71.7-32.2 71.7-71.8V480c-.2-4.4-3.8-8-8.2-8z" /></svg>'},ql={name:"right-circle",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M666.7 505.5l-246-178A8 8 0 00408 334v46.9c0 10.2 4.9 19.9 13.2 25.9L566.6 512 421.2 617.2c-8.3 6-13.2 15.6-13.2 25.9V690c0 6.5 7.4 10.3 12.7 6.5l246-178c4.4-3.2 4.4-9.8 0-13z" /><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" /></svg>'},$l={name:"reload",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M909.1 209.3l-56.4 44.1C775.8 155.1 656.2 92 521.9 92 290 92 102.3 279.5 102 511.5 101.7 743.7 289.8 932 521.9 932c181.3 0 335.8-115 394.6-276.1 1.5-4.2-.7-8.9-4.9-10.3l-56.7-19.5a8 8 0 00-10.1 4.8c-1.8 5-3.8 10-5.9 14.9-17.3 41-42.1 77.8-73.7 109.4A344.77 344.77 0 01655.9 829c-42.3 17.9-87.4 27-133.8 27-46.5 0-91.5-9.1-133.8-27A341.5 341.5 0 01279 755.2a342.16 342.16 0 01-73.7-109.4c-17.9-42.4-27-87.4-27-133.9s9.1-91.5 27-133.9c17.3-41 42.1-77.8 73.7-109.4 31.6-31.6 68.4-56.4 109.3-73.8 42.3-17.9 87.4-27 133.8-27 46.5 0 91.5 9.1 133.8 27a341.5 341.5 0 01109.3 73.8c9.9 9.9 19.2 20.4 27.8 31.4l-60.2 47a8 8 0 003 14.1l175.6 43c5 1.2 9.9-2.6 9.9-7.7l.8-180.9c-.1-6.6-7.8-10.3-13-6.2z" /></svg>'},Gl={name:"reddit",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M288 568a56 56 0 10112 0 56 56 0 10-112 0zm338.7 119.7c-23.1 18.2-68.9 37.8-114.7 37.8s-91.6-19.6-114.7-37.8c-14.4-11.3-35.3-8.9-46.7 5.5s-8.9 35.3 5.5 46.7C396.3 771.6 457.5 792 512 792s115.7-20.4 155.9-52.1a33.25 33.25 0 10-41.2-52.2zM960 456c0-61.9-50.1-112-112-112-42.1 0-78.7 23.2-97.9 57.6-57.6-31.5-127.7-51.8-204.1-56.5L612.9 195l127.9 36.9c11.5 32.6 42.6 56.1 79.2 56.1 46.4 0 84-37.6 84-84s-37.6-84-84-84c-32 0-59.8 17.9-74 44.2L603.5 123a33.2 33.2 0 00-39.6 18.4l-90.8 203.9c-74.5 5.2-142.9 25.4-199.2 56.2A111.94 111.94 0 00176 344c-61.9 0-112 50.1-112 112 0 45.8 27.5 85.1 66.8 102.5-7.1 21-10.8 43-10.8 65.5 0 154.6 175.5 280 392 280s392-125.4 392-280c0-22.6-3.8-44.5-10.8-65.5C932.5 541.1 960 501.8 960 456zM820 172.5a31.5 31.5 0 110 63 31.5 31.5 0 010-63zM120 456c0-30.9 25.1-56 56-56a56 56 0 0150.6 32.1c-29.3 22.2-53.5 47.8-71.5 75.9a56.23 56.23 0 01-35.1-52zm392 381.5c-179.8 0-325.5-95.6-325.5-213.5S332.2 410.5 512 410.5 837.5 506.1 837.5 624 691.8 837.5 512 837.5zM868.8 508c-17.9-28.1-42.2-53.7-71.5-75.9 9-18.9 28.3-32.1 50.6-32.1 30.9 0 56 25.1 56 56 .1 23.5-14.5 43.7-35.1 52zM624 568a56 56 0 10112 0 56 56 0 10-112 0z" /></svg>'},Xl={name:"rest",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><defs><style /></defs><path d="M508 704c79.5 0 144-64.5 144-144s-64.5-144-144-144-144 64.5-144 144 64.5 144 144 144zm0-224c44.2 0 80 35.8 80 80s-35.8 80-80 80-80-35.8-80-80 35.8-80 80-80z" /><path d="M832 256h-28.1l-35.7-120.9c-4-13.7-16.5-23.1-30.7-23.1h-451c-14.3 0-26.8 9.4-30.7 23.1L220.1 256H192c-17.7 0-32 14.3-32 32v28c0 4.4 3.6 8 8 8h45.8l47.7 558.7a32 32 0 0031.9 29.3h429.2a32 32 0 0031.9-29.3L802.2 324H856c4.4 0 8-3.6 8-8v-28c0-17.7-14.3-32-32-32zm-518.6-76h397.2l22.4 76H291l22.4-76zm376.2 664H326.4L282 324h451.9l-44.3 520z" /></svg>'},Kl={name:"right-square",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM658.7 518.5l-246 178c-5.3 3.8-12.7 0-12.7-6.5v-46.9c0-10.2 4.9-19.9 13.2-25.9L558.6 512 413.2 406.8c-8.3-6-13.2-15.6-13.2-25.9V334c0-6.5 7.4-10.3 12.7-6.5l246 178c4.4 3.2 4.4 9.8 0 13z" /></svg>'},Jl={name:"right-circle",theme:"twotone",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm154.7 378.4l-246 178c-5.3 3.8-12.7 0-12.7-6.5V643c0-10.2 4.9-19.9 13.2-25.9L566.6 512 421.2 406.8c-8.3-6-13.2-15.6-13.2-25.9V334c0-6.5 7.4-10.3 12.7-6.5l246 178c4.4 3.2 4.4 9.7 0 12.9z" fill="#E6E6E6" /><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" fill="#333" /><path d="M666.7 505.5l-246-178c-5.3-3.8-12.7 0-12.7 6.5v46.9c0 10.3 4.9 19.9 13.2 25.9L566.6 512 421.2 617.1c-8.3 6-13.2 15.7-13.2 25.9v46.9c0 6.5 7.4 10.3 12.7 6.5l246-178c4.4-3.2 4.4-9.7 0-12.9z" fill="#333" /></svg>'},Ql={name:"rise",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M917 211.1l-199.2 24c-6.6.8-9.4 8.9-4.7 13.6l59.3 59.3-226 226-101.8-101.7c-6.3-6.3-16.4-6.2-22.6 0L100.3 754.1a8.03 8.03 0 000 11.3l45 45.2c3.1 3.1 8.2 3.1 11.3 0L433.3 534 535 635.7c6.3 6.2 16.4 6.2 22.6 0L829 364.5l59.3 59.3a8.01 8.01 0 0013.6-4.7l24-199.2c.7-5.1-3.7-9.5-8.9-8.8z" /></svg>'},Zl={name:"right",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z" /></svg>'},eu={name:"right-circle",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm154.7 454.5l-246 178c-5.3 3.8-12.7 0-12.7-6.5v-46.9c0-10.2 4.9-19.9 13.2-25.9L566.6 512 421.2 406.8c-8.3-6-13.2-15.6-13.2-25.9V334c0-6.5 7.4-10.3 12.7-6.5l246 178c4.4 3.2 4.4 9.8 0 13z" /></svg>'},tu={name:"rocket",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M864 736c0-111.6-65.4-208-160-252.9V317.3c0-15.1-5.3-29.7-15.1-41.2L536.5 95.4C530.1 87.8 521 84 512 84s-18.1 3.8-24.5 11.4L335.1 276.1a63.97 63.97 0 00-15.1 41.2v165.8C225.4 528 160 624.4 160 736h156.5c-2.3 7.2-3.5 15-3.5 23.8 0 22.1 7.6 43.7 21.4 60.8a97.2 97.2 0 0043.1 30.6c23.1 54 75.6 88.8 134.5 88.8 29.1 0 57.3-8.6 81.4-24.8 23.6-15.8 41.9-37.9 53-64a97 97 0 0043.1-30.5 97.52 97.52 0 0021.4-60.8c0-8.4-1.1-16.4-3.1-23.8L864 736zM512 352a48.01 48.01 0 010 96 48.01 48.01 0 010-96zm116.1 432.2c-5.2 3-11.2 4.2-17.1 3.4l-19.5-2.4-2.8 19.4c-5.4 37.9-38.4 66.5-76.7 66.5s-71.3-28.6-76.7-66.5l-2.8-19.5-19.5 2.5a27.7 27.7 0 01-17.1-3.5c-8.7-5-14.1-14.3-14.1-24.4 0-10.6 5.9-19.4 14.6-23.8h231.3c8.8 4.5 14.6 13.3 14.6 23.8-.1 10.2-5.5 19.6-14.2 24.5z" /></svg>'},nu={name:"robot",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M300 328a60 60 0 10120 0 60 60 0 10-120 0zM852 64H172c-17.7 0-32 14.3-32 32v660c0 17.7 14.3 32 32 32h680c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zm-32 660H204V128h616v596zM604 328a60 60 0 10120 0 60 60 0 10-120 0zm250.2 556H169.8c-16.5 0-29.8 14.3-29.8 32v36c0 4.4 3.3 8 7.4 8h729.1c4.1 0 7.4-3.6 7.4-8v-36c.1-17.7-13.2-32-29.7-32zM664 508H360c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h304c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z" /></svg>'},ru={name:"robot",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><defs><style /></defs><path d="M852 64H172c-17.7 0-32 14.3-32 32v660c0 17.7 14.3 32 32 32h680c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zM300 328c0-33.1 26.9-60 60-60s60 26.9 60 60-26.9 60-60 60-60-26.9-60-60zm372 248c0 4.4-3.6 8-8 8H360c-4.4 0-8-3.6-8-8v-60c0-4.4 3.6-8 8-8h304c4.4 0 8 3.6 8 8v60zm-8-188c-33.1 0-60-26.9-60-60s26.9-60 60-60 60 26.9 60 60-26.9 60-60 60zm135 476H225c-13.8 0-25 14.3-25 32v56c0 4.4 2.8 8 6.2 8h611.5c3.4 0 6.2-3.6 6.2-8v-56c.1-17.7-11.1-32-24.9-32z" /></svg>'},iu={name:"project",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM368 744c0 4.4-3.6 8-8 8h-80c-4.4 0-8-3.6-8-8V280c0-4.4 3.6-8 8-8h80c4.4 0 8 3.6 8 8v464zm192-280c0 4.4-3.6 8-8 8h-80c-4.4 0-8-3.6-8-8V280c0-4.4 3.6-8 8-8h80c4.4 0 8 3.6 8 8v184zm192 72c0 4.4-3.6 8-8 8h-80c-4.4 0-8-3.6-8-8V280c0-4.4 3.6-8 8-8h80c4.4 0 8 3.6 8 8v256z" /></svg>'},su={name:"right-square",theme:"twotone",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z" fill="#333" /><path d="M184 840h656V184H184v656zm216-196.9c0-10.2 4.9-19.9 13.2-25.9L558.6 512 413.2 406.8c-8.3-6-13.2-15.6-13.2-25.9V334c0-6.5 7.4-10.3 12.7-6.5l246 178c4.4 3.2 4.4 9.7 0 12.9l-246 178c-5.3 3.9-12.7.1-12.7-6.4v-46.9z" fill="#E6E6E6" /><path d="M412.7 696.4l246-178c4.4-3.2 4.4-9.7 0-12.9l-246-178c-5.3-3.8-12.7 0-12.7 6.5v46.9c0 10.3 4.9 19.9 13.2 25.9L558.6 512 413.2 617.2c-8.3 6-13.2 15.7-13.2 25.9V690c0 6.5 7.4 10.3 12.7 6.4z" fill="#333" /></svg>'},ou={name:"right-square",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M412.7 696.5l246-178c4.4-3.2 4.4-9.7 0-12.9l-246-178c-5.3-3.8-12.7 0-12.7 6.5V381c0 10.2 4.9 19.9 13.2 25.9L558.6 512 413.2 617.2c-8.3 6-13.2 15.6-13.2 25.9V690c0 6.5 7.4 10.3 12.7 6.5z" /><path d="M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z" /></svg>'},au={name:"rotate-right",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><defs><style /></defs><path d="M480.5 251.2c13-1.6 25.9-2.4 38.8-2.5v63.9c0 6.5 7.5 10.1 12.6 6.1L660 217.6c4-3.2 4-9.2 0-12.3l-128-101c-5.1-4-12.6-.4-12.6 6.1l-.2 64c-118.6.5-235.8 53.4-314.6 154.2A399.75 399.75 0 00123.5 631h74.9c-.9-5.3-1.7-10.7-2.4-16.1-5.1-42.1-2.1-84.1 8.9-124.8 11.4-42.2 31-81.1 58.1-115.8 27.2-34.7 60.3-63.2 98.4-84.3 37-20.6 76.9-33.6 119.1-38.8z" /><path d="M880 418H352c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H396V494h440v326z" /></svg>'},cu={name:"rollback",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M793 242H366v-74c0-6.7-7.7-10.4-12.9-6.3l-142 112a8 8 0 000 12.6l142 112c5.2 4.1 12.9.4 12.9-6.3v-74h415v470H175c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h618c35.3 0 64-28.7 64-64V306c0-35.3-28.7-64-64-64z" /></svg>'},lu={name:"safety-certificate",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M866.9 169.9L527.1 54.1C523 52.7 517.5 52 512 52s-11 .7-15.1 2.1L157.1 169.9c-8.3 2.8-15.1 12.4-15.1 21.2v482.4c0 8.8 5.7 20.4 12.6 25.9L499.3 968c3.5 2.7 8 4.1 12.6 4.1s9.2-1.4 12.6-4.1l344.7-268.6c6.9-5.4 12.6-17 12.6-25.9V191.1c.2-8.8-6.6-18.3-14.9-21.2zM810 654.3L512 886.5 214 654.3V226.7l298-101.6 298 101.6v427.6zm-405.8-201c-3-4.1-7.8-6.6-13-6.6H336c-6.5 0-10.3 7.4-6.5 12.7l126.4 174a16.1 16.1 0 0026 0l212.6-292.7c3.8-5.3 0-12.7-6.5-12.7h-55.2c-5.1 0-10 2.5-13 6.6L468.9 542.4l-64.7-89.1z" /></svg>'},uu={name:"reconciliation",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M676 623c-18.8 0-34 15.2-34 34s15.2 34 34 34 34-15.2 34-34-15.2-34-34-34zm204-455H668c0-30.9-25.1-56-56-56h-80c-30.9 0-56 25.1-56 56H264c-17.7 0-32 14.3-32 32v200h-88c-17.7 0-32 14.3-32 32v448c0 17.7 14.3 32 32 32h336c17.7 0 32-14.3 32-32v-16h368c17.7 0 32-14.3 32-32V200c0-17.7-14.3-32-32-32zM448 848H176V616h272v232zm0-296H176v-88h272v88zm20-272v-48h72v-56h64v56h72v48H468zm180 168v56c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8v-56c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8zm28 301c-50.8 0-92-41.2-92-92s41.2-92 92-92 92 41.2 92 92-41.2 92-92 92zm92-245c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8v-96c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v96zm-92 61c-50.8 0-92 41.2-92 92s41.2 92 92 92 92-41.2 92-92-41.2-92-92-92zm0 126c-18.8 0-34-15.2-34-34s15.2-34 34-34 34 15.2 34 34-15.2 34-34 34z" /></svg>'},hu={name:"rest",theme:"twotone",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M326.4 844h363.2l44.3-520H282l44.4 520zM508 416c79.5 0 144 64.5 144 144s-64.5 144-144 144-144-64.5-144-144 64.5-144 144-144z" fill="#E6E6E6" /><path d="M508 704c79.5 0 144-64.5 144-144s-64.5-144-144-144-144 64.5-144 144 64.5 144 144 144zm0-224c44.2 0 80 35.8 80 80s-35.8 80-80 80-80-35.8-80-80 35.8-80 80-80z" fill="#333" /><path d="M832 256h-28.1l-35.7-120.9c-4-13.7-16.5-23.1-30.7-23.1h-451c-14.3 0-26.8 9.4-30.7 23.1L220.1 256H192c-17.7 0-32 14.3-32 32v28c0 4.4 3.6 8 8 8h45.8l47.7 558.7a32 32 0 0031.9 29.3h429.2a32 32 0 0031.9-29.3L802.2 324H856c4.4 0 8-3.6 8-8v-28c0-17.7-14.3-32-32-32zm-518.6-76h397.2l22.4 76H291l22.4-76zm376.2 664H326.4L282 324h451.9l-44.3 520z" fill="#333" /></svg>'},du={name:"redo",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M758.2 839.1C851.8 765.9 912 651.9 912 523.9 912 303 733.5 124.3 512.6 124 291.4 123.7 112 302.8 112 523.9c0 125.2 57.5 236.9 147.6 310.2 3.5 2.8 8.6 2.2 11.4-1.3l39.4-50.5c2.7-3.4 2.1-8.3-1.2-11.1-8.1-6.6-15.9-13.7-23.4-21.2a318.64 318.64 0 01-68.6-101.7C200.4 609 192 567.1 192 523.9s8.4-85.1 25.1-124.5c16.1-38.1 39.2-72.3 68.6-101.7 29.4-29.4 63.6-52.5 101.7-68.6C426.9 212.4 468.8 204 512 204s85.1 8.4 124.5 25.1c38.1 16.1 72.3 39.2 101.7 68.6 29.4 29.4 52.5 63.6 68.6 101.7 16.7 39.4 25.1 81.3 25.1 124.5s-8.4 85.1-25.1 124.5a318.64 318.64 0 01-68.6 101.7c-9.3 9.3-19.1 18-29.3 26L668.2 724a8 8 0 00-14.1 3l-39.6 162.2c-1.2 5 2.6 9.9 7.7 9.9l167 .8c6.7 0 10.5-7.7 6.3-12.9l-37.3-47.9z" /></svg>'},fu={name:"rocket",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M864 736c0-111.6-65.4-208-160-252.9V317.3c0-15.1-5.3-29.7-15.1-41.2L536.5 95.4C530.1 87.8 521 84 512 84s-18.1 3.8-24.5 11.4L335.1 276.1a63.97 63.97 0 00-15.1 41.2v165.8C225.4 528 160 624.4 160 736h156.5c-2.3 7.2-3.5 15-3.5 23.8 0 22.1 7.6 43.7 21.4 60.8a97.2 97.2 0 0043.1 30.6c23.1 54 75.6 88.8 134.5 88.8 29.1 0 57.3-8.6 81.4-24.8 23.6-15.8 41.9-37.9 53-64a97 97 0 0043.1-30.5 97.52 97.52 0 0021.4-60.8c0-8.4-1.1-16.4-3.1-23.8H864zM762.3 621.4c9.4 14.6 17 30.3 22.5 46.6H700V558.7a211.6 211.6 0 0162.3 62.7zM388 483.1V318.8l124-147 124 147V668H388V483.1zM239.2 668c5.5-16.3 13.1-32 22.5-46.6 16.3-25.2 37.5-46.5 62.3-62.7V668h-84.8zm388.9 116.2c-5.2 3-11.2 4.2-17.1 3.4l-19.5-2.4-2.8 19.4c-5.4 37.9-38.4 66.5-76.7 66.5-38.3 0-71.3-28.6-76.7-66.5l-2.8-19.5-19.5 2.5a27.7 27.7 0 01-17.1-3.5c-8.7-5-14.1-14.3-14.1-24.4 0-10.6 5.9-19.4 14.6-23.8h231.3c8.8 4.5 14.6 13.3 14.6 23.8-.1 10.2-5.5 19.6-14.2 24.5zM464 400a48 48 0 1096 0 48 48 0 10-96 0z" /></svg>'},pu={name:"rotate-left",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><defs><style /></defs><path d="M672 418H144c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H188V494h440v326z" /><path d="M819.3 328.5c-78.8-100.7-196-153.6-314.6-154.2l-.2-64c0-6.5-7.6-10.1-12.6-6.1l-128 101c-4 3.1-3.9 9.1 0 12.3L492 318.6c5.1 4 12.7.4 12.6-6.1v-63.9c12.9.1 25.9.9 38.8 2.5 42.1 5.2 82.1 18.2 119 38.7 38.1 21.2 71.2 49.7 98.4 84.3 27.1 34.7 46.7 73.7 58.1 115.8a325.95 325.95 0 016.5 140.9h74.9c14.8-103.6-11.3-213-81-302.3z" /></svg>'},mu={name:"safety-certificate",theme:"twotone",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M866.9 169.9L527.1 54.1C523 52.7 517.5 52 512 52s-11 .7-15.1 2.1L157.1 169.9c-8.3 2.8-15.1 12.4-15.1 21.2v482.4c0 8.8 5.7 20.4 12.6 25.9L499.3 968c3.5 2.7 8 4.1 12.6 4.1s9.2-1.4 12.6-4.1l344.7-268.6c6.9-5.4 12.6-17 12.6-25.9V191.1c.2-8.8-6.6-18.3-14.9-21.2zM810 654.3L512 886.5 214 654.3V226.7l298-101.6 298 101.6v427.6z" fill="#333" /><path d="M214 226.7v427.6l298 232.2 298-232.2V226.7L512 125.1 214 226.7zM632.8 328H688c6.5 0 10.3 7.4 6.5 12.7L481.9 633.4a16.1 16.1 0 01-26 0l-126.4-174c-3.8-5.3 0-12.7 6.5-12.7h55.2c5.2 0 10 2.5 13 6.6l64.7 89.1 150.9-207.8c3-4.1 7.9-6.6 13-6.6z" fill="#E6E6E6" /><path d="M404.2 453.3c-3-4.1-7.8-6.6-13-6.6H336c-6.5 0-10.3 7.4-6.5 12.7l126.4 174a16.1 16.1 0 0026 0l212.6-292.7c3.8-5.3 0-12.7-6.5-12.7h-55.2c-5.1 0-10 2.5-13 6.6L468.9 542.4l-64.7-89.1z" fill="#333" /></svg>'},gu={name:"schedule",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M928 224H768v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56H548v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56H328v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56H96c-17.7 0-32 14.3-32 32v576c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V256c0-17.7-14.3-32-32-32zM424 688c0 4.4-3.6 8-8 8H232c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h184c4.4 0 8 3.6 8 8v48zm0-136c0 4.4-3.6 8-8 8H232c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h184c4.4 0 8 3.6 8 8v48zm374.5-91.3l-165 228.7a15.9 15.9 0 01-25.8 0L493.5 531.2c-3.8-5.3 0-12.7 6.5-12.7h54.9c5.1 0 9.9 2.5 12.9 6.6l52.8 73.1 103.7-143.7c3-4.2 7.8-6.6 12.9-6.6H792c6.5.1 10.3 7.5 6.5 12.8z" /></svg>'},vu={name:"rocket",theme:"twotone",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M261.7 621.4c-9.4 14.6-17 30.3-22.5 46.6H324V558.7c-24.8 16.2-46 37.5-62.3 62.7zM700 558.7V668h84.8c-5.5-16.3-13.1-32-22.5-46.6a211.6 211.6 0 00-62.3-62.7zm-64-239.9l-124-147-124 147V668h248V318.8zM512 448a48.01 48.01 0 010-96 48.01 48.01 0 010 96z" fill="#E6E6E6" /><path d="M864 736c0-111.6-65.4-208-160-252.9V317.3c0-15.1-5.3-29.7-15.1-41.2L536.5 95.4C530.1 87.8 521 84 512 84s-18.1 3.8-24.5 11.4L335.1 276.1a63.97 63.97 0 00-15.1 41.2v165.8C225.4 528 160 624.4 160 736h156.5c-2.3 7.2-3.5 15-3.5 23.8 0 22.1 7.6 43.7 21.4 60.8a97.2 97.2 0 0043.1 30.6c23.1 54 75.6 88.8 134.5 88.8 29.1 0 57.3-8.6 81.4-24.8 23.6-15.8 41.9-37.9 53-64a97 97 0 0043.1-30.5 97.52 97.52 0 0021.4-60.8c0-8.4-1.1-16.4-3.1-23.8L864 736zm-540-68h-84.8c5.5-16.3 13.1-32 22.5-46.6 16.3-25.2 37.5-46.5 62.3-62.7V668zm64-184.9V318.8l124-147 124 147V668H388V483.1zm240.1 301.1c-5.2 3-11.2 4.2-17.1 3.4l-19.5-2.4-2.8 19.4c-5.4 37.9-38.4 66.5-76.7 66.5s-71.3-28.6-76.7-66.5l-2.8-19.5-19.5 2.5a27.7 27.7 0 01-17.1-3.5c-8.7-5-14.1-14.3-14.1-24.4 0-10.6 5.9-19.4 14.6-23.8h231.3c8.8 4.5 14.6 13.3 14.6 23.8-.1 10.2-5.5 19.6-14.2 24.5zM700 668V558.7a211.6 211.6 0 0162.3 62.7c9.4 14.6 17 30.3 22.5 46.6H700z" fill="#333" /><path d="M464 400a48 48 0 1096 0 48 48 0 10-96 0z" fill="#333" /></svg>'},yu={name:"pushpin",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M878.3 392.1L631.9 145.7c-6.5-6.5-15-9.7-23.5-9.7s-17 3.2-23.5 9.7L423.8 306.9c-12.2-1.4-24.5-2-36.8-2-73.2 0-146.4 24.1-206.5 72.3a33.23 33.23 0 00-2.7 49.4l181.7 181.7-215.4 215.2a15.8 15.8 0 00-4.6 9.8l-3.4 37.2c-.9 9.4 6.6 17.4 15.9 17.4.5 0 1 0 1.5-.1l37.2-3.4c3.7-.3 7.2-2 9.8-4.6l215.4-215.4 181.7 181.7c6.5 6.5 15 9.7 23.5 9.7 9.7 0 19.3-4.2 25.9-12.4 56.3-70.3 79.7-158.3 70.2-243.4l161.1-161.1c12.9-12.8 12.9-33.8 0-46.8zM666.2 549.3l-24.5 24.5 3.8 34.4a259.92 259.92 0 01-30.4 153.9L262 408.8c12.9-7.1 26.3-13.1 40.3-17.9 27.2-9.4 55.7-14.1 84.7-14.1 9.6 0 19.3.5 28.9 1.6l34.4 3.8 24.5-24.5L608.5 224 800 415.5 666.2 549.3z" /></svg>'},bu={name:"question",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M764 280.9c-14-30.6-33.9-58.1-59.3-81.6C653.1 151.4 584.6 125 512 125s-141.1 26.4-192.7 74.2c-25.4 23.6-45.3 51-59.3 81.7-14.6 32-22 65.9-22 100.9v27c0 6.2 5 11.2 11.2 11.2h54c6.2 0 11.2-5 11.2-11.2v-27c0-99.5 88.6-180.4 197.6-180.4s197.6 80.9 197.6 180.4c0 40.8-14.5 79.2-42 111.2-27.2 31.7-65.6 54.4-108.1 64-24.3 5.5-46.2 19.2-61.7 38.8a110.85 110.85 0 00-23.9 68.6v31.4c0 6.2 5 11.2 11.2 11.2h54c6.2 0 11.2-5 11.2-11.2v-31.4c0-15.7 10.9-29.5 26-32.9 58.4-13.2 111.4-44.7 149.3-88.7 19.1-22.3 34-47.1 44.3-74 10.7-27.9 16.1-57.2 16.1-87 0-35-7.4-69-22-100.9zM512 787c-30.9 0-56 25.1-56 56s25.1 56 56 56 56-25.1 56-56-25.1-56-56-56z" /></svg>'},_u={name:"schedule",theme:"twotone",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M768 352c0 4.4-3.6 8-8 8h-56c-4.4 0-8-3.6-8-8v-56H548v56c0 4.4-3.6 8-8 8h-56c-4.4 0-8-3.6-8-8v-56H328v56c0 4.4-3.6 8-8 8h-56c-4.4 0-8-3.6-8-8v-56H136v496h752V296H768v56zM424 688c0 4.4-3.6 8-8 8H232c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h184c4.4 0 8 3.6 8 8v48zm0-136c0 4.4-3.6 8-8 8H232c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h184c4.4 0 8 3.6 8 8v48zm374.4-91.2l-165 228.7a15.9 15.9 0 01-25.8 0L493.5 531.3c-3.8-5.3 0-12.7 6.5-12.7h54.9c5.1 0 9.9 2.4 12.9 6.6l52.8 73.1 103.6-143.7c3-4.1 7.8-6.6 12.8-6.5h54.9c6.5 0 10.3 7.4 6.5 12.7z" fill="#E6E6E6" /><path d="M724.2 454.6L620.6 598.3l-52.8-73.1c-3-4.2-7.8-6.6-12.9-6.6H500c-6.5 0-10.3 7.4-6.5 12.7l114.1 158.2a15.9 15.9 0 0025.8 0l165-228.7c3.8-5.3 0-12.7-6.5-12.7H737c-5-.1-9.8 2.4-12.8 6.5zM416 496H232c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z" fill="#333" /><path d="M928 224H768v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56H548v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56H328v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56H96c-17.7 0-32 14.3-32 32v576c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V256c0-17.7-14.3-32-32-32zm-40 568H136V296h120v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56h148v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56h148v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56h120v496z" fill="#333" /><path d="M416 632H232c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z" fill="#333" /></svg>'},wu={name:"save",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M893.3 293.3L730.7 130.7c-7.5-7.5-16.7-13-26.7-16V112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V338.5c0-17-6.7-33.2-18.7-45.2zM384 184h256v104H384V184zm456 656H184V184h136v136c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V205.8l136 136V840zM512 442c-79.5 0-144 64.5-144 144s64.5 144 144 144 144-64.5 144-144-64.5-144-144-144zm0 224c-44.2 0-80-35.8-80-80s35.8-80 80-80 80 35.8 80 80-35.8 80-80 80z" /></svg>'},Su={name:"safety",theme:"outline",icon:'<svg viewBox="0 0 1024 1024" focusable="false"><path d="M512 64L128 192v384c0 212.1 171.9 384 384 384s384-171.9 384-384V192L512 64zm312 512c0 172.3-139.7 312-312 312S200 748.3 200 576V246l312-110 312 110v330z" /><path d="M378.4 475.1a35.91 35.91 0 00-50.9 0 35.91 35.91 0 000 50.9l129.4 129.4 2.1 2.1a33.98 33.98 0 0048.1 0L730.6 434a33.98 33.98 0 000-48.1l-2.8-2.8a33.98 33.98 0 00-48.1 0L483 579.7 378.4 475.1z" /></svg>'},xu={name:"schedule",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M928 224H768v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56H548v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56H328v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56H96c-17.7 0-32 14.3-32 32v576c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V256c0-17.7-14.3-32-32-32zm-40 568H136V296h120v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56h148v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56h148v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56h120v496zM416 496H232c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zm0 136H232c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zm308.2-177.4L620.6 598.3l-52.8-73.1c-3-4.2-7.8-6.6-12.9-6.6H500c-6.5 0-10.3 7.4-6.5 12.7l114.1 158.2a15.9 15.9 0 0025.8 0l165-228.7c3.8-5.3 0-12.7-6.5-12.7H737c-5-.1-9.8 2.4-12.8 6.5z" /></svg>'},Ou={name:"scissor",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M567.1 512l318.5-319.3c5-5 1.5-13.7-5.6-13.7h-90.5c-2.1 0-4.2.8-5.6 2.3l-273.3 274-90.2-90.5c12.5-22.1 19.7-47.6 19.7-74.8 0-83.9-68.1-152-152-152s-152 68.1-152 152 68.1 152 152 152c27.7 0 53.6-7.4 75.9-20.3l90 90.3-90.1 90.3A151.04 151.04 0 00288 582c-83.9 0-152 68.1-152 152s68.1 152 152 152 152-68.1 152-152c0-27.2-7.2-52.7-19.7-74.8l90.2-90.5 273.3 274c1.5 1.5 3.5 2.3 5.6 2.3H880c7.1 0 10.7-8.6 5.6-13.7L567.1 512zM288 370c-44.1 0-80-35.9-80-80s35.9-80 80-80 80 35.9 80 80-35.9 80-80 80zm0 444c-44.1 0-80-35.9-80-80s35.9-80 80-80 80 35.9 80 80-35.9 80-80 80z" /></svg>'},ku={name:"search",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z" /></svg>'},Cu={name:"save",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M893.3 293.3L730.7 130.7c-12-12-28.3-18.7-45.3-18.7H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V338.5c0-17-6.7-33.2-18.7-45.2zM384 176h256v112H384V176zm128 554c-79.5 0-144-64.5-144-144s64.5-144 144-144 144 64.5 144 144-64.5 144-144 144zm0-224c-44.2 0-80 35.8-80 80s35.8 80 80 80 80-35.8 80-80-35.8-80-80-80z" /></svg>'},Mu={name:"security-scan",theme:"twotone",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M866.9 169.9L527.1 54.1C523 52.7 517.5 52 512 52s-11 .7-15.1 2.1L157.1 169.9c-8.3 2.8-15.1 12.4-15.1 21.2v482.4c0 8.8 5.7 20.4 12.6 25.9L499.3 968c3.5 2.7 8 4.1 12.6 4.1s9.2-1.4 12.6-4.1l344.7-268.6c6.9-5.4 12.6-17 12.6-25.9V191.1c.2-8.8-6.6-18.3-14.9-21.2zM810 654.3L512 886.5 214 654.3V226.7l298-101.6 298 101.6v427.6z" fill="#333" /><path d="M460.7 451.1a80.1 80.1 0 10160.2 0 80.1 80.1 0 10-160.2 0z" fill="#E6E6E6" /><path d="M214 226.7v427.6l298 232.2 298-232.2V226.7L512 125.1 214 226.7zm428.7 122.5c56.3 56.3 56.3 147.5 0 203.8-48.5 48.5-123 55.2-178.6 20.1l-77.5 77.5a8.03 8.03 0 01-11.3 0l-34-34a8.03 8.03 0 010-11.3l77.5-77.5c-35.1-55.7-28.4-130.1 20.1-178.6 56.3-56.3 147.5-56.3 203.8 0z" fill="#E6E6E6" /><path d="M418.8 527.8l-77.5 77.5a8.03 8.03 0 000 11.3l34 34c3.1 3.1 8.2 3.1 11.3 0l77.5-77.5c55.6 35.1 130.1 28.4 178.6-20.1 56.3-56.3 56.3-147.5 0-203.8-56.3-56.3-147.5-56.3-203.8 0-48.5 48.5-55.2 122.9-20.1 178.6zm65.4-133.3a80.1 80.1 0 01113.3 0 80.1 80.1 0 010 113.3c-31.3 31.3-82 31.3-113.3 0s-31.3-82 0-113.3z" fill="#333" /></svg>'},Eu={name:"security-scan",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M866.9 169.9L527.1 54.1C523 52.7 517.5 52 512 52s-11 .7-15.1 2.1L157.1 169.9c-8.3 2.8-15.1 12.4-15.1 21.2v482.4c0 8.8 5.7 20.4 12.6 25.9L499.3 968c3.5 2.7 8 4.1 12.6 4.1s9.2-1.4 12.6-4.1l344.7-268.6c6.9-5.4 12.6-17 12.6-25.9V191.1c.2-8.8-6.6-18.3-14.9-21.2zM626.8 554c-48.5 48.5-123 55.2-178.6 20.1l-77.5 77.5a8.03 8.03 0 01-11.3 0l-34-34a8.03 8.03 0 010-11.3l77.5-77.5c-35.1-55.7-28.4-130.1 20.1-178.6 56.3-56.3 147.5-56.3 203.8 0 56.3 56.3 56.3 147.5 0 203.8zm-158.54-45.27a80.1 80.1 0 10113.27-113.28 80.1 80.1 0 10-113.27 113.28z" /></svg>'},Tu={name:"security-scan",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M866.9 169.9L527.1 54.1C523 52.7 517.5 52 512 52s-11 .7-15.1 2.1L157.1 169.9c-8.3 2.8-15.1 12.4-15.1 21.2v482.4c0 8.8 5.7 20.4 12.6 25.9L499.3 968c3.5 2.7 8 4.1 12.6 4.1s9.2-1.4 12.6-4.1l344.7-268.6c6.9-5.4 12.6-17 12.6-25.9V191.1c.2-8.8-6.6-18.3-14.9-21.2zM810 654.3L512 886.5 214 654.3V226.7l298-101.6 298 101.6v427.6zM402.9 528.8l-77.5 77.5a8.03 8.03 0 000 11.3l34 34c3.1 3.1 8.2 3.1 11.3 0l77.5-77.5c55.7 35.1 130.1 28.4 178.6-20.1 56.3-56.3 56.3-147.5 0-203.8-56.3-56.3-147.5-56.3-203.8 0-48.5 48.5-55.2 123-20.1 178.6zm65.4-133.3c31.3-31.3 82-31.3 113.2 0 31.3 31.3 31.3 82 0 113.2-31.3 31.3-82 31.3-113.2 0s-31.3-81.9 0-113.2z" /></svg>'},ju={name:"select",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h360c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H184V184h656v320c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V144c0-17.7-14.3-32-32-32zM653.3 599.4l52.2-52.2a8.01 8.01 0 00-4.7-13.6l-179.4-21c-5.1-.6-9.5 3.7-8.9 8.9l21 179.4c.8 6.6 8.9 9.4 13.6 4.7l52.4-52.4 256.2 256.2c3.1 3.1 8.2 3.1 11.3 0l42.4-42.4c3.1-3.1 3.1-8.2 0-11.3L653.3 599.4z" /></svg>'},Du={name:"scan",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M136 384h56c4.4 0 8-3.6 8-8V200h176c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H196c-37.6 0-68 30.4-68 68v180c0 4.4 3.6 8 8 8zm512-184h176v176c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V196c0-37.6-30.4-68-68-68H648c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zM376 824H200V648c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v180c0 37.6 30.4 68 68 68h180c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm512-184h-56c-4.4 0-8 3.6-8 8v176H648c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h180c37.6 0 68-30.4 68-68V648c0-4.4-3.6-8-8-8zm16-164H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z" /></svg>'},Au={name:"shake",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M324 666a48 48 0 1096 0 48 48 0 10-96 0zm616.7-309.6L667.6 83.2C655.2 70.9 638.7 64 621.1 64s-34.1 6.8-46.5 19.2L83.3 574.5a65.85 65.85 0 000 93.1l273.2 273.2c12.3 12.3 28.9 19.2 46.5 19.2s34.1-6.8 46.5-19.2l491.3-491.3c25.6-25.7 25.6-67.5-.1-93.1zM403 880.1L143.9 621l477.2-477.2 259 259.2L403 880.1zM152.8 373.7a7.9 7.9 0 0011.2 0L373.7 164a7.9 7.9 0 000-11.2l-38.4-38.4a7.9 7.9 0 00-11.2 0L114.3 323.9a7.9 7.9 0 000 11.2l38.5 38.6zm718.6 276.6a7.9 7.9 0 00-11.2 0L650.3 860.1a7.9 7.9 0 000 11.2l38.4 38.4a7.9 7.9 0 0011.2 0L909.7 700a7.9 7.9 0 000-11.2l-38.3-38.5z" /></svg>'},Lu={name:"send",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><defs><style /></defs><path d="M931.4 498.9L94.9 79.5c-3.4-1.7-7.3-2.1-11-1.2a15.99 15.99 0 00-11.7 19.3l86.2 352.2c1.3 5.3 5.2 9.6 10.4 11.3l147.7 50.7-147.6 50.7c-5.2 1.8-9.1 6-10.3 11.3L72.2 926.5c-.9 3.7-.5 7.6 1.2 10.9 3.9 7.9 13.5 11.1 21.5 7.2l836.5-417c3.1-1.5 5.6-4.1 7.2-7.1 3.9-8 .7-17.6-7.2-21.6zM170.8 826.3l50.3-205.6 295.2-101.3c2.3-.8 4.2-2.6 5-5 1.4-4.2-.8-8.7-5-10.2L221.1 403 171 198.2l628 314.9-628.2 313.2z" /></svg>'},zu={name:"setting",theme:"twotone",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M859.3 569.7l.2.1c3.1-18.9 4.6-38.2 4.6-57.3 0-17.1-1.3-34.3-3.7-51.1 2.4 16.7 3.6 33.6 3.6 50.5 0 19.4-1.6 38.8-4.7 57.8zM99 398.1c-.5-.4-.9-.8-1.4-1.3.7.7 1.4 1.4 2.2 2.1l65.5 55.9v-.1L99 398.1zm536.6-216h.1l-15.5-83.8c-.2-1-.4-1.9-.7-2.8.1.5.3 1.1.4 1.6l15.7 85zm54 546.5l31.4-25.8 92.8 32.9c17-22.9 31.3-47.5 42.6-73.6l-74.7-63.9 6.6-40.1c2.5-15.1 3.8-30.6 3.8-46.1s-1.3-31-3.8-46.1l-6.5-39.9 74.7-63.9c-11.4-26-25.6-50.7-42.6-73.6l-92.8 32.9-31.4-25.8c-23.9-19.6-50.6-35-79.3-45.8l-38.1-14.3-17.9-97a377.5 377.5 0 00-85 0l-17.9 97.2-37.9 14.3c-28.5 10.8-55 26.2-78.7 45.7l-31.4 25.9-93.4-33.2c-17 22.9-31.3 47.5-42.6 73.6l75.5 64.5-6.5 40c-2.5 14.9-3.7 30.2-3.7 45.5 0 15.2 1.3 30.6 3.7 45.5l6.5 40-75.5 64.5c11.4 26 25.6 50.7 42.6 73.6l93.4-33.2 31.4 25.9c23.7 19.5 50.2 34.9 78.7 45.7l37.8 14.5 17.9 97.2c28.2 3.2 56.9 3.2 85 0l17.9-97 38.1-14.3c28.8-10.8 55.4-26.2 79.3-45.8zm-177.1-50.3c-30.5 0-59.2-7.8-84.3-21.5C373.3 627 336 568.9 336 502c0-97.2 78.8-176 176-176 66.9 0 125 37.3 154.8 92.2 13.7 25 21.5 53.7 21.5 84.3 0 97.1-78.7 175.8-175.8 175.8zM207.2 812.8c-5.5 1.9-11.2 2.3-16.6 1.2 5.7 1.2 11.7 1 17.5-1l81.4-29c-.1-.1-.3-.2-.4-.3l-81.9 29.1zm717.6-414.7l-65.5 56c0 .2.1.5.1.7l65.4-55.9c7.1-6.1 11.1-14.9 11.2-24-.3 8.8-4.3 17.3-11.2 23.2z" fill="#E6E6E6" /><path d="M935.8 646.6c.5 4.7 0 9.5-1.7 14.1l-.9 2.6a446.02 446.02 0 01-79.7 137.9l-1.8 2.1a32 32 0 01-35.1 9.5l-81.3-28.9a350 350 0 01-99.7 57.6l-15.7 85a32.05 32.05 0 01-25.8 25.7l-2.7.5a445.2 445.2 0 01-79.2 7.1h.3c26.7 0 53.4-2.4 79.4-7.1l2.7-.5a32.05 32.05 0 0025.8-25.7l15.7-84.9c36.2-13.6 69.6-32.9 99.6-57.5l81.2 28.9a32 32 0 0035.1-9.5l1.8-2.1c34.8-41.1 61.5-87.4 79.6-137.7l.9-2.6c1.6-4.7 2.1-9.7 1.5-14.5z" fill="#E6E6E6" /><path d="M688 502c0-30.3-7.7-58.9-21.2-83.8C637 363.3 578.9 326 512 326c-97.2 0-176 78.8-176 176 0 66.9 37.3 125 92.2 154.8 24.9 13.5 53.4 21.2 83.8 21.2 97.2 0 176-78.8 176-176zm-288 0c0-29.9 11.7-58 32.8-79.2C454 401.6 482.1 390 512 390c29.9 0 58 11.6 79.2 32.8A111.6 111.6 0 01624 502c0 29.9-11.7 58-32.8 79.2A111.6 111.6 0 01512 614c-29.9 0-58-11.7-79.2-32.8A111.6 111.6 0 01400 502z" fill="#333" /><path d="M594.1 952.2a32.05 32.05 0 0025.8-25.7l15.7-85a350 350 0 0099.7-57.6l81.3 28.9a32 32 0 0035.1-9.5l1.8-2.1c34.8-41.1 61.6-87.5 79.7-137.9l.9-2.6c1.7-4.6 2.2-9.4 1.7-14.1-.9-7.9-4.7-15.4-11-20.9l-65.3-55.9-.2-.1c3.1-19 4.7-38.4 4.7-57.8 0-16.9-1.2-33.9-3.6-50.5-.3-2.2-.7-4.4-1-6.6 0-.2-.1-.5-.1-.7l65.5-56c6.9-5.9 10.9-14.4 11.2-23.2.1-4-.5-8.1-1.9-12l-.9-2.6a443.74 443.74 0 00-79.7-137.9l-1.8-2.1a32.12 32.12 0 00-35.1-9.5l-81.3 28.9c-30-24.6-63.4-44-99.6-57.6h-.1l-15.7-85c-.1-.5-.2-1.1-.4-1.6a32.08 32.08 0 00-25.4-24.1l-2.7-.5c-52.1-9.4-106.9-9.4-159 0l-2.7.5a32.05 32.05 0 00-25.8 25.7l-15.8 85.4a351.86 351.86 0 00-99 57.4l-81.9-29.1a32 32 0 00-35.1 9.5l-1.8 2.1a446.02 446.02 0 00-79.7 137.9l-.9 2.6a32.09 32.09 0 007.9 33.9c.5.4.9.9 1.4 1.3l66.3 56.6v.1c-3.1 18.8-4.6 37.9-4.6 57 0 19.2 1.5 38.4 4.6 57.1L99 625.5a32.03 32.03 0 00-9.3 35.2l.9 2.6c18.1 50.4 44.9 96.9 79.7 137.9l1.8 2.1c4.9 5.7 11.4 9.4 18.5 10.7 5.4 1 11.1.7 16.6-1.2l81.9-29.1c.1.1.3.2.4.3 29.7 24.3 62.8 43.6 98.6 57.1l15.8 85.4a32.05 32.05 0 0025.8 25.7l2.7.5c26.1 4.7 52.8 7.1 79.5 7.1h.3c26.6 0 53.3-2.4 79.2-7.1l2.7-.5zm-39.8-66.5a377.5 377.5 0 01-85 0l-17.9-97.2-37.8-14.5c-28.5-10.8-55-26.2-78.7-45.7l-31.4-25.9-93.4 33.2c-17-22.9-31.2-47.6-42.6-73.6l75.5-64.5-6.5-40c-2.4-14.9-3.7-30.3-3.7-45.5 0-15.3 1.2-30.6 3.7-45.5l6.5-40-75.5-64.5c11.3-26.1 25.6-50.7 42.6-73.6l93.4 33.2 31.4-25.9c23.7-19.5 50.2-34.9 78.7-45.7l37.9-14.3 17.9-97.2c28.1-3.2 56.8-3.2 85 0l17.9 97 38.1 14.3c28.7 10.8 55.4 26.2 79.3 45.8l31.4 25.8 92.8-32.9c17 22.9 31.2 47.6 42.6 73.6L781.8 426l6.5 39.9c2.5 15.1 3.8 30.6 3.8 46.1s-1.3 31-3.8 46.1l-6.6 40.1 74.7 63.9a370.03 370.03 0 01-42.6 73.6L721 702.8l-31.4 25.8c-23.9 19.6-50.5 35-79.3 45.8l-38.1 14.3-17.9 97z" fill="#333" /></svg>'},Pu={name:"shop",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M882 272.1V144c0-17.7-14.3-32-32-32H174c-17.7 0-32 14.3-32 32v128.1c-16.7 1-30 14.9-30 31.9v131.7a177 177 0 0014.4 70.4c4.3 10.2 9.6 19.8 15.6 28.9v345c0 17.6 14.3 32 32 32h274V736h128v176h274c17.7 0 32-14.3 32-32V535a175 175 0 0015.6-28.9c9.5-22.3 14.4-46 14.4-70.4V304c0-17-13.3-30.9-30-31.9zm-72 568H640V704c0-17.7-14.3-32-32-32H416c-17.7 0-32 14.3-32 32v136.1H214V597.9c2.9 1.4 5.9 2.8 9 4 22.3 9.4 46 14.1 70.4 14.1s48-4.7 70.4-14.1c13.8-5.8 26.8-13.2 38.7-22.1.2-.1.4-.1.6 0a180.4 180.4 0 0038.7 22.1c22.3 9.4 46 14.1 70.4 14.1 24.4 0 48-4.7 70.4-14.1 13.8-5.8 26.8-13.2 38.7-22.1.2-.1.4-.1.6 0a180.4 180.4 0 0038.7 22.1c22.3 9.4 46 14.1 70.4 14.1 24.4 0 48-4.7 70.4-14.1 3-1.3 6-2.6 9-4v242.2zm0-568.1H214v-88h596v88z" /></svg>'},Iu={name:"save",theme:"twotone",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M704 320c0 17.7-14.3 32-32 32H352c-17.7 0-32-14.3-32-32V184H184v656h656V341.8l-136-136V320zM512 730c-79.5 0-144-64.5-144-144s64.5-144 144-144 144 64.5 144 144-64.5 144-144 144z" fill="#E6E6E6" /><path d="M512 442c-79.5 0-144 64.5-144 144s64.5 144 144 144 144-64.5 144-144-64.5-144-144-144zm0 224c-44.2 0-80-35.8-80-80s35.8-80 80-80 80 35.8 80 80-35.8 80-80 80z" fill="#333" /><path d="M893.3 293.3L730.7 130.7c-.7-.7-1.4-1.3-2.1-2-.1-.1-.3-.2-.4-.3-.7-.7-1.5-1.3-2.2-1.9a64 64 0 00-22-11.7V112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V338.5c0-17-6.7-33.2-18.7-45.2zM384 184h256v104H384V184zm456 656H184V184h136v136c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V205.8l136 136V840z" fill="#333" /></svg>'},Ru={name:"share-alt",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M752 664c-28.5 0-54.8 10-75.4 26.7L469.4 540.8a160.68 160.68 0 000-57.6l207.2-149.9C697.2 350 723.5 360 752 360c66.2 0 120-53.8 120-120s-53.8-120-120-120-120 53.8-120 120c0 11.6 1.6 22.7 4.7 33.3L439.9 415.8C410.7 377.1 364.3 352 312 352c-88.4 0-160 71.6-160 160s71.6 160 160 160c52.3 0 98.7-25.1 127.9-63.8l196.8 142.5c-3.1 10.6-4.7 21.8-4.7 33.3 0 66.2 53.8 120 120 120s120-53.8 120-120-53.8-120-120-120zm0-476c28.7 0 52 23.3 52 52s-23.3 52-52 52-52-23.3-52-52 23.3-52 52-52zM312 600c-48.5 0-88-39.5-88-88s39.5-88 88-88 88 39.5 88 88-39.5 88-88 88zm440 236c-28.7 0-52-23.3-52-52s23.3-52 52-52 52 23.3 52 52-23.3 52-52 52z" /></svg>'},Nu={name:"shop",theme:"twotone",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M839.5 344h-655c-.3 0-.5.2-.5.5v91.2c0 59.8 49 108.3 109.3 108.3 40.7 0 76.2-22 95.1-54.7 2.9-5.1 8.4-8.3 14.3-8.3s11.3 3.2 14.3 8.3c18.8 32.7 54.3 54.7 95 54.7 40.8 0 76.4-22.1 95.1-54.9 2.9-5 8.2-8.1 13.9-8.1h.6c5.8 0 11 3.1 13.9 8.1 18.8 32.8 54.4 54.9 95.2 54.9C791 544 840 495.5 840 435.7v-91.2c0-.3-.2-.5-.5-.5z" fill="#E6E6E6" /><path d="M882 272.1V144c0-17.7-14.3-32-32-32H174c-17.7 0-32 14.3-32 32v128.1c-16.7 1-30 14.9-30 31.9v131.7a177 177 0 0014.4 70.4c4.3 10.2 9.6 19.8 15.6 28.9v345c0 17.6 14.3 32 32 32h676c17.7 0 32-14.3 32-32V535a175 175 0 0015.6-28.9c9.5-22.3 14.4-46 14.4-70.4V304c0-17-13.3-30.9-30-31.9zM214 184h596v88H214v-88zm362 656.1H448V736h128v104.1zm234.4 0H640V704c0-17.7-14.3-32-32-32H416c-17.7 0-32 14.3-32 32v136.1H214V597.9c2.9 1.4 5.9 2.8 9 4 22.3 9.4 46 14.1 70.4 14.1 24.4 0 48-4.7 70.4-14.1 13.8-5.8 26.8-13.2 38.7-22.1.2-.1.4-.1.6 0a180.4 180.4 0 0038.7 22.1c22.3 9.4 46 14.1 70.4 14.1s48-4.7 70.4-14.1c13.8-5.8 26.8-13.2 38.7-22.1.2-.1.4-.1.6 0a180.4 180.4 0 0038.7 22.1c22.3 9.4 46 14.1 70.4 14.1s48-4.7 70.4-14.1c3-1.3 6-2.6 9-4v242.2zM840 435.7c0 59.8-49 108.3-109.3 108.3-40.8 0-76.4-22.1-95.2-54.9-2.9-5-8.1-8.1-13.9-8.1h-.6c-5.7 0-11 3.1-13.9 8.1A109.24 109.24 0 01512 544c-40.7 0-76.2-22-95-54.7-3-5.1-8.4-8.3-14.3-8.3s-11.4 3.2-14.3 8.3a109.63 109.63 0 01-95.1 54.7C233 544 184 495.5 184 435.7v-91.2c0-.3.2-.5.5-.5h655c.3 0 .5.2.5.5v91.2z" fill="#333" /></svg>'},Hu={name:"shopping",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M832 312H696v-16c0-101.6-82.4-184-184-184s-184 82.4-184 184v16H192c-17.7 0-32 14.3-32 32v536c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V344c0-17.7-14.3-32-32-32zm-432-16c0-61.9 50.1-112 112-112s112 50.1 112 112v16H400v-16zm392 544H232V384h96v88c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-88h224v88c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-88h96v456z" /></svg>'},Fu={name:"shopping",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M832 312H696v-16c0-101.6-82.4-184-184-184s-184 82.4-184 184v16H192c-17.7 0-32 14.3-32 32v536c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V344c0-17.7-14.3-32-32-32zm-208 0H400v-16c0-61.9 50.1-112 112-112s112 50.1 112 112v16z" /></svg>'},Vu={name:"shrink",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M881.7 187.4l-45.1-45.1a8.03 8.03 0 00-11.3 0L667.8 299.9l-54.7-54.7a7.94 7.94 0 00-13.5 4.7L576.1 439c-.6 5.2 3.7 9.5 8.9 8.9l189.2-23.5c6.6-.8 9.3-8.8 4.7-13.5l-54.7-54.7 157.6-157.6c3-3 3-8.1-.1-11.2zM439 576.1l-189.2 23.5c-6.6.8-9.3 8.9-4.7 13.5l54.7 54.7-157.5 157.5a8.03 8.03 0 000 11.3l45.1 45.1c3.1 3.1 8.2 3.1 11.3 0l157.6-157.6 54.7 54.7a7.94 7.94 0 0013.5-4.7L447.9 585a7.9 7.9 0 00-8.9-8.9z" /></svg>'},Bu={name:"project",theme:"twotone",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z" fill="#333" /><path d="M184 840h656V184H184v656zm472-560c0-4.4 3.6-8 8-8h80c4.4 0 8 3.6 8 8v256c0 4.4-3.6 8-8 8h-80c-4.4 0-8-3.6-8-8V280zm-192 0c0-4.4 3.6-8 8-8h80c4.4 0 8 3.6 8 8v184c0 4.4-3.6 8-8 8h-80c-4.4 0-8-3.6-8-8V280zm-192 0c0-4.4 3.6-8 8-8h80c4.4 0 8 3.6 8 8v464c0 4.4-3.6 8-8 8h-80c-4.4 0-8-3.6-8-8V280z" fill="#E6E6E6" /><path d="M280 752h80c4.4 0 8-3.6 8-8V280c0-4.4-3.6-8-8-8h-80c-4.4 0-8 3.6-8 8v464c0 4.4 3.6 8 8 8zm192-280h80c4.4 0 8-3.6 8-8V280c0-4.4-3.6-8-8-8h-80c-4.4 0-8 3.6-8 8v184c0 4.4 3.6 8 8 8zm192 72h80c4.4 0 8-3.6 8-8V280c0-4.4-3.6-8-8-8h-80c-4.4 0-8 3.6-8 8v256c0 4.4 3.6 8 8 8z" fill="#333" /></svg>'},Yu={name:"sketch-circle",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M582.3 625.6l147.9-166.3h-63.4zm90-202.3h62.5l-92.1-115.1zm-274.7 36L512 684.5l114.4-225.2zM512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm286.7 380.2L515.8 762.3c-1 1.1-2.4 1.7-3.8 1.7s-2.8-.6-3.8-1.7L225.3 444.2a5.14 5.14 0 01-.2-6.6L365.6 262c1-1.2 2.4-1.9 4-1.9h284.6c1.6 0 3 .7 4 1.9l140.5 175.6a4.9 4.9 0 010 6.6zm-190.5-20.9L512 326.1l-96.2 97.2zM420.3 301.1l-23.1 89.8 88.8-89.8zm183.4 0H538l88.8 89.8zm-222.4 7.1l-92.1 115.1h62.5zm-87.5 151.1l147.9 166.3-84.5-166.3z" /></svg>'},Uu={name:"shopping",theme:"twotone",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M696 472c0 4.4-3.6 8-8 8h-56c-4.4 0-8-3.6-8-8v-88H400v88c0 4.4-3.6 8-8 8h-56c-4.4 0-8-3.6-8-8v-88h-96v456h560V384h-96v88z" fill="#E6E6E6" /><path d="M832 312H696v-16c0-101.6-82.4-184-184-184s-184 82.4-184 184v16H192c-17.7 0-32 14.3-32 32v536c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V344c0-17.7-14.3-32-32-32zm-432-16c0-61.9 50.1-112 112-112s112 50.1 112 112v16H400v-16zm392 544H232V384h96v88c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-88h224v88c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-88h96v456z" fill="#333" /></svg>'},Wu={name:"shopping-cart",theme:"outline",icon:'<svg viewBox="0 0 1024 1024" focusable="false"><path d="M922.9 701.9H327.4l29.9-60.9 496.8-.9c16.8 0 31.2-12 34.2-28.6l68.8-385.1c1.8-10.1-.9-20.5-7.5-28.4a34.99 34.99 0 00-26.6-12.5l-632-2.1-5.4-25.4c-3.4-16.2-18-28-34.6-28H96.5a35.3 35.3 0 100 70.6h125.9L246 312.8l58.1 281.3-74.8 122.1a34.96 34.96 0 00-3 36.8c6 11.9 18.1 19.4 31.5 19.4h62.8a102.43 102.43 0 00-20.6 61.7c0 56.6 46 102.6 102.6 102.6s102.6-46 102.6-102.6c0-22.3-7.4-44-20.6-61.7h161.1a102.43 102.43 0 00-20.6 61.7c0 56.6 46 102.6 102.6 102.6s102.6-46 102.6-102.6c0-22.3-7.4-44-20.6-61.7H923c19.4 0 35.3-15.8 35.3-35.3a35.42 35.42 0 00-35.4-35.2zM305.7 253l575.8 1.9-56.4 315.8-452.3.8L305.7 253zm96.9 612.7c-17.4 0-31.6-14.2-31.6-31.6 0-17.4 14.2-31.6 31.6-31.6s31.6 14.2 31.6 31.6a31.6 31.6 0 01-31.6 31.6zm325.1 0c-17.4 0-31.6-14.2-31.6-31.6 0-17.4 14.2-31.6 31.6-31.6s31.6 14.2 31.6 31.6a31.6 31.6 0 01-31.6 31.6z" /></svg>'},qu={name:"radius-bottomleft",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M712 824h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm2-696h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM136 374h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm0-174h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm752 624h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-348 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-230 72h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm230 624H358c-87.3 0-158-70.7-158-158V484c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v182c0 127 103 230 230 230h182c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z" /></svg>'},$u={name:"setting",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512.5 390.6c-29.9 0-57.9 11.6-79.1 32.8-21.1 21.2-32.8 49.2-32.8 79.1 0 29.9 11.7 57.9 32.8 79.1 21.2 21.1 49.2 32.8 79.1 32.8 29.9 0 57.9-11.7 79.1-32.8 21.1-21.2 32.8-49.2 32.8-79.1 0-29.9-11.7-57.9-32.8-79.1a110.96 110.96 0 00-79.1-32.8zm412.3 235.5l-65.4-55.9c3.1-19 4.7-38.4 4.7-57.7s-1.6-38.8-4.7-57.7l65.4-55.9a32.03 32.03 0 009.3-35.2l-.9-2.6a442.5 442.5 0 00-79.6-137.7l-1.8-2.1a32.12 32.12 0 00-35.1-9.5l-81.2 28.9c-30-24.6-63.4-44-99.6-57.5l-15.7-84.9a32.05 32.05 0 00-25.8-25.7l-2.7-.5c-52-9.4-106.8-9.4-158.8 0l-2.7.5a32.05 32.05 0 00-25.8 25.7l-15.8 85.3a353.44 353.44 0 00-98.9 57.3l-81.8-29.1a32 32 0 00-35.1 9.5l-1.8 2.1a445.93 445.93 0 00-79.6 137.7l-.9 2.6c-4.5 12.5-.8 26.5 9.3 35.2l66.2 56.5c-3.1 18.8-4.6 38-4.6 57 0 19.2 1.5 38.4 4.6 57l-66 56.5a32.03 32.03 0 00-9.3 35.2l.9 2.6c18.1 50.3 44.8 96.8 79.6 137.7l1.8 2.1a32.12 32.12 0 0035.1 9.5l81.8-29.1c29.8 24.5 63 43.9 98.9 57.3l15.8 85.3a32.05 32.05 0 0025.8 25.7l2.7.5a448.27 448.27 0 00158.8 0l2.7-.5a32.05 32.05 0 0025.8-25.7l15.7-84.9c36.2-13.6 69.6-32.9 99.6-57.5l81.2 28.9a32 32 0 0035.1-9.5l1.8-2.1c34.8-41.1 61.5-87.4 79.6-137.7l.9-2.6c4.3-12.4.6-26.3-9.5-35zm-412.3 52.2c-97.1 0-175.8-78.7-175.8-175.8s78.7-175.8 175.8-175.8 175.8 78.7 175.8 175.8-78.7 175.8-175.8 175.8z" /></svg>'},Gu={name:"skin",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M870 126H663.8c-17.4 0-32.9 11.9-37 29.3C614.3 208.1 567 246 512 246s-102.3-37.9-114.8-90.7a37.93 37.93 0 00-37-29.3H154a44 44 0 00-44 44v252a44 44 0 0044 44h75v388a44 44 0 0044 44h478a44 44 0 0044-44V466h75a44 44 0 0044-44V170a44 44 0 00-44-44z" /></svg>'},Xu={name:"project",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M280 752h80c4.4 0 8-3.6 8-8V280c0-4.4-3.6-8-8-8h-80c-4.4 0-8 3.6-8 8v464c0 4.4 3.6 8 8 8zm192-280h80c4.4 0 8-3.6 8-8V280c0-4.4-3.6-8-8-8h-80c-4.4 0-8 3.6-8 8v184c0 4.4 3.6 8 8 8zm192 72h80c4.4 0 8-3.6 8-8V280c0-4.4-3.6-8-8-8h-80c-4.4 0-8 3.6-8 8v256c0 4.4 3.6 8 8 8zm216-432H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z" /></svg>'},Ku={name:"signal",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><defs><style /></defs><path d="M584 352H440c-17.7 0-32 14.3-32 32v544c0 17.7 14.3 32 32 32h144c17.7 0 32-14.3 32-32V384c0-17.7-14.3-32-32-32zM892 64H748c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h144c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zM276 640H132c-17.7 0-32 14.3-32 32v256c0 17.7 14.3 32 32 32h144c17.7 0 32-14.3 32-32V672c0-17.7-14.3-32-32-32z" /></svg>'},Ju={name:"setting",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M924.8 625.7l-65.5-56c3.1-19 4.7-38.4 4.7-57.8s-1.6-38.8-4.7-57.8l65.5-56a32.03 32.03 0 009.3-35.2l-.9-2.6a443.74 443.74 0 00-79.7-137.9l-1.8-2.1a32.12 32.12 0 00-35.1-9.5l-81.3 28.9c-30-24.6-63.5-44-99.7-57.6l-15.7-85a32.05 32.05 0 00-25.8-25.7l-2.7-.5c-52.1-9.4-106.9-9.4-159 0l-2.7.5a32.05 32.05 0 00-25.8 25.7l-15.8 85.4a351.86 351.86 0 00-99 57.4l-81.9-29.1a32 32 0 00-35.1 9.5l-1.8 2.1a446.02 446.02 0 00-79.7 137.9l-.9 2.6c-4.5 12.5-.8 26.5 9.3 35.2l66.3 56.6c-3.1 18.8-4.6 38-4.6 57.1 0 19.2 1.5 38.4 4.6 57.1L99 625.5a32.03 32.03 0 00-9.3 35.2l.9 2.6c18.1 50.4 44.9 96.9 79.7 137.9l1.8 2.1a32.12 32.12 0 0035.1 9.5l81.9-29.1c29.8 24.5 63.1 43.9 99 57.4l15.8 85.4a32.05 32.05 0 0025.8 25.7l2.7.5a449.4 449.4 0 00159 0l2.7-.5a32.05 32.05 0 0025.8-25.7l15.7-85a350 350 0 0099.7-57.6l81.3 28.9a32 32 0 0035.1-9.5l1.8-2.1c34.8-41.1 61.6-87.5 79.7-137.9l.9-2.6c4.5-12.3.8-26.3-9.3-35zM788.3 465.9c2.5 15.1 3.8 30.6 3.8 46.1s-1.3 31-3.8 46.1l-6.6 40.1 74.7 63.9a370.03 370.03 0 01-42.6 73.6L721 702.8l-31.4 25.8c-23.9 19.6-50.5 35-79.3 45.8l-38.1 14.3-17.9 97a377.5 377.5 0 01-85 0l-17.9-97.2-37.8-14.5c-28.5-10.8-55-26.2-78.7-45.7l-31.4-25.9-93.4 33.2c-17-22.9-31.2-47.6-42.6-73.6l75.5-64.5-6.5-40c-2.4-14.9-3.7-30.3-3.7-45.5 0-15.3 1.2-30.6 3.7-45.5l6.5-40-75.5-64.5c11.3-26.1 25.6-50.7 42.6-73.6l93.4 33.2 31.4-25.9c23.7-19.5 50.2-34.9 78.7-45.7l37.9-14.3 17.9-97.2c28.1-3.2 56.8-3.2 85 0l17.9 97 38.1 14.3c28.7 10.8 55.4 26.2 79.3 45.8l31.4 25.8 92.8-32.9c17 22.9 31.2 47.6 42.6 73.6L781.8 426l6.5 39.9zM512 326c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm79.2 255.2A111.6 111.6 0 01512 614c-29.9 0-58-11.7-79.2-32.8A111.6 111.6 0 01400 502c0-29.9 11.7-58 32.8-79.2C454 401.6 482.1 390 512 390c29.9 0 58 11.6 79.2 32.8A111.6 111.6 0 01624 502c0 29.9-11.7 58-32.8 79.2z" /></svg>'},Qu={name:"safety-certificate",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M866.9 169.9L527.1 54.1C523 52.7 517.5 52 512 52s-11 .7-15.1 2.1L157.1 169.9c-8.3 2.8-15.1 12.4-15.1 21.2v482.4c0 8.8 5.7 20.4 12.6 25.9L499.3 968c3.5 2.7 8 4.1 12.6 4.1s9.2-1.4 12.6-4.1l344.7-268.6c6.9-5.4 12.6-17 12.6-25.9V191.1c.2-8.8-6.6-18.3-14.9-21.2zM694.5 340.7L481.9 633.4a16.1 16.1 0 01-26 0l-126.4-174c-3.8-5.3 0-12.7 6.5-12.7h55.2c5.1 0 10 2.5 13 6.6l64.7 89 150.9-207.8c3-4.1 7.8-6.6 13-6.6H688c6.5.1 10.3 7.5 6.5 12.8z" /></svg>'},Zu={name:"skin",theme:"twotone",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 318c-79.2 0-148.5-48.8-176.7-120H182v196h119v432h422V394h119V198H688.7c-28.2 71.2-97.5 120-176.7 120z" fill="#E6E6E6" /><path d="M870 126H663.8c-17.4 0-32.9 11.9-37 29.3C614.3 208.1 567 246 512 246s-102.3-37.9-114.8-90.7a37.93 37.93 0 00-37-29.3H154a44 44 0 00-44 44v252a44 44 0 0044 44h75v388a44 44 0 0044 44h478a44 44 0 0044-44V466h75a44 44 0 0044-44V170a44 44 0 00-44-44zm-28 268H723v432H301V394H182V198h153.3c28.2 71.2 97.5 120 176.7 120s148.5-48.8 176.7-120H842v196z" fill="#333" /></svg>'},eh={name:"slack-circle",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zM361.5 580.2c0 27.8-22.5 50.4-50.3 50.4a50.35 50.35 0 01-50.3-50.4c0-27.8 22.5-50.4 50.3-50.4h50.3v50.4zm134 134.4c0 27.8-22.5 50.4-50.3 50.4-27.8 0-50.3-22.6-50.3-50.4V580.2c0-27.8 22.5-50.4 50.3-50.4a50.35 50.35 0 0150.3 50.4v134.4zm-50.2-218.4h-134c-27.8 0-50.3-22.6-50.3-50.4 0-27.8 22.5-50.4 50.3-50.4h134c27.8 0 50.3 22.6 50.3 50.4-.1 27.9-22.6 50.4-50.3 50.4zm0-134.4c-13.3 0-26.1-5.3-35.6-14.8S395 324.8 395 311.4c0-27.8 22.5-50.4 50.3-50.4 27.8 0 50.3 22.6 50.3 50.4v50.4h-50.3zm83.7-50.4c0-27.8 22.5-50.4 50.3-50.4 27.8 0 50.3 22.6 50.3 50.4v134.4c0 27.8-22.5 50.4-50.3 50.4-27.8 0-50.3-22.6-50.3-50.4V311.4zM579.3 765c-27.8 0-50.3-22.6-50.3-50.4v-50.4h50.3c27.8 0 50.3 22.6 50.3 50.4 0 27.8-22.5 50.4-50.3 50.4zm134-134.4h-134c-13.3 0-26.1-5.3-35.6-14.8S529 593.6 529 580.2c0-27.8 22.5-50.4 50.3-50.4h134c27.8 0 50.3 22.6 50.3 50.4 0 27.8-22.5 50.4-50.3 50.4zm0-134.4H663v-50.4c0-27.8 22.5-50.4 50.3-50.4s50.3 22.6 50.3 50.4c0 27.8-22.5 50.4-50.3 50.4z" /></svg>'},th={name:"skype",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M883.7 578.6c4.1-22.5 6.3-45.5 6.3-68.5 0-51-10-100.5-29.7-147-19-45-46.3-85.4-81-120.1a375.79 375.79 0 00-120.1-80.9c-46.6-19.7-96-29.7-147-29.7-24 0-48.1 2.3-71.5 6.8A225.1 225.1 0 00335.6 113c-59.7 0-115.9 23.3-158.1 65.5A222.25 222.25 0 00112 336.6c0 38 9.8 75.4 28.1 108.4-3.7 21.4-5.7 43.3-5.7 65.1 0 51 10 100.5 29.7 147 19 45 46.2 85.4 80.9 120.1 34.7 34.7 75.1 61.9 120.1 80.9 46.6 19.7 96 29.7 147 29.7 22.2 0 44.4-2 66.2-5.9 33.5 18.9 71.3 29 110 29 59.7 0 115.9-23.2 158.1-65.5 42.3-42.2 65.5-98.4 65.5-158.1.1-38-9.7-75.5-28.2-108.7zm-88.1 216C766.9 823.4 729 839 688.4 839c-26.1 0-51.8-6.8-74.6-19.7l-22.5-12.7-25.5 4.5c-17.8 3.2-35.8 4.8-53.6 4.8-41.4 0-81.3-8.1-119.1-24.1-36.3-15.3-69-37.3-97.2-65.5a304.29 304.29 0 01-65.5-97.1c-16-37.7-24-77.6-24-119 0-17.4 1.6-35.2 4.6-52.8l4.4-25.1L203 410a151.02 151.02 0 01-19.1-73.4c0-40.6 15.7-78.5 44.4-107.2C257.1 200.7 295 185 335.6 185a153 153 0 0171.4 17.9l22.4 11.8 24.8-4.8c18.9-3.6 38.4-5.5 58-5.5 41.4 0 81.3 8.1 119 24 36.5 15.4 69.1 37.4 97.2 65.5 28.2 28.1 50.2 60.8 65.6 97.2 16 37.7 24 77.6 24 119 0 18.4-1.7 37-5.1 55.5l-4.7 25.5 12.6 22.6c12.6 22.5 19.2 48 19.2 73.7 0 40.7-15.7 78.5-44.4 107.2zM583.4 466.2L495 446.6c-33.6-7.7-72.3-17.8-72.3-49.5s27.1-53.9 76.1-53.9c98.7 0 89.7 67.8 138.7 67.8 25.8 0 48.4-15.2 48.4-41.2 0-60.8-97.4-106.5-180-106.5-89.7 0-185.2 38.1-185.2 139.5 0 48.8 17.4 100.8 113.6 124.9l119.4 29.8c36.1 8.9 45.2 29.2 45.2 47.6 0 30.5-30.3 60.3-85.2 60.3-107.2 0-92.3-82.5-149.7-82.5-25.8 0-44.5 17.8-44.5 43.1 0 49.4 60 115.4 194.2 115.4 127.7 0 191-61.5 191-144 0-53.1-24.5-109.6-121.3-131.2z" /></svg>'},nh={name:"sliders",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M320 224h-66v-56c0-4.4-3.6-8-8-8h-52c-4.4 0-8 3.6-8 8v56h-66c-4.4 0-8 3.6-8 8v560c0 4.4 3.6 8 8 8h66v56c0 4.4 3.6 8 8 8h52c4.4 0 8-3.6 8-8v-56h66c4.4 0 8-3.6 8-8V232c0-4.4-3.6-8-8-8zm-60 508h-80V292h80v440zm644-436h-66v-96c0-4.4-3.6-8-8-8h-52c-4.4 0-8 3.6-8 8v96h-66c-4.4 0-8 3.6-8 8v416c0 4.4 3.6 8 8 8h66v96c0 4.4 3.6 8 8 8h52c4.4 0 8-3.6 8-8v-96h66c4.4 0 8-3.6 8-8V304c0-4.4-3.6-8-8-8zm-60 364h-80V364h80v296zM612 404h-66V232c0-4.4-3.6-8-8-8h-52c-4.4 0-8 3.6-8 8v172h-66c-4.4 0-8 3.6-8 8v200c0 4.4 3.6 8 8 8h66v172c0 4.4 3.6 8 8 8h52c4.4 0 8-3.6 8-8V620h66c4.4 0 8-3.6 8-8V412c0-4.4-3.6-8-8-8zm-60 145a3 3 0 01-3 3h-74a3 3 0 01-3-3v-74a3 3 0 013-3h74a3 3 0 013 3v74z" /></svg>'},rh={name:"slack-square",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM529 311.4c0-27.8 22.5-50.4 50.3-50.4 27.8 0 50.3 22.6 50.3 50.4v134.4c0 27.8-22.5 50.4-50.3 50.4-27.8 0-50.3-22.6-50.3-50.4V311.4zM361.5 580.2c0 27.8-22.5 50.4-50.3 50.4a50.35 50.35 0 01-50.3-50.4c0-27.8 22.5-50.4 50.3-50.4h50.3v50.4zm134 134.4c0 27.8-22.5 50.4-50.3 50.4-27.8 0-50.3-22.6-50.3-50.4V580.2c0-27.8 22.5-50.4 50.3-50.4a50.35 50.35 0 0150.3 50.4v134.4zm-50.2-218.4h-134c-27.8 0-50.3-22.6-50.3-50.4 0-27.8 22.5-50.4 50.3-50.4h134c27.8 0 50.3 22.6 50.3 50.4-.1 27.9-22.6 50.4-50.3 50.4zm0-134.4c-13.3 0-26.1-5.3-35.6-14.8S395 324.8 395 311.4c0-27.8 22.5-50.4 50.3-50.4 27.8 0 50.3 22.6 50.3 50.4v50.4h-50.3zm134 403.2c-27.8 0-50.3-22.6-50.3-50.4v-50.4h50.3c27.8 0 50.3 22.6 50.3 50.4 0 27.8-22.5 50.4-50.3 50.4zm134-134.4h-134a50.35 50.35 0 01-50.3-50.4c0-27.8 22.5-50.4 50.3-50.4h134c27.8 0 50.3 22.6 50.3 50.4 0 27.8-22.5 50.4-50.3 50.4zm0-134.4H663v-50.4c0-27.8 22.5-50.4 50.3-50.4s50.3 22.6 50.3 50.4c0 27.8-22.5 50.4-50.3 50.4z" /></svg>'},ih={name:"skin",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M870 126H663.8c-17.4 0-32.9 11.9-37 29.3C614.3 208.1 567 246 512 246s-102.3-37.9-114.8-90.7a37.93 37.93 0 00-37-29.3H154a44 44 0 00-44 44v252a44 44 0 0044 44h75v388a44 44 0 0044 44h478a44 44 0 0044-44V466h75a44 44 0 0044-44V170a44 44 0 00-44-44zm-28 268H723v432H301V394H182V198h153.3c28.2 71.2 97.5 120 176.7 120s148.5-48.8 176.7-120H842v196z" /></svg>'},sh={name:"sketch-square",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M608.2 423.3L512 326.1l-96.2 97.2zm-25.9 202.3l147.9-166.3h-63.4zm90-202.3h62.5l-92.1-115.1zM880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-81.3 332.2L515.8 762.3c-1 1.1-2.4 1.7-3.8 1.7s-2.8-.6-3.8-1.7L225.3 444.2a5.14 5.14 0 01-.2-6.6L365.6 262c1-1.2 2.4-1.9 4-1.9h284.6c1.6 0 3 .7 4 1.9l140.5 175.6a4.9 4.9 0 010 6.6zm-401.1 15.1L512 684.5l114.4-225.2zm-16.3-151.1l-92.1 115.1h62.5zm-87.5 151.1l147.9 166.3-84.5-166.3zm126.5-158.2l-23.1 89.8 88.8-89.8zm183.4 0H538l88.8 89.8z" /></svg>'},oh={name:"sliders",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M904 296h-66v-96c0-4.4-3.6-8-8-8h-52c-4.4 0-8 3.6-8 8v96h-66c-4.4 0-8 3.6-8 8v416c0 4.4 3.6 8 8 8h66v96c0 4.4 3.6 8 8 8h52c4.4 0 8-3.6 8-8v-96h66c4.4 0 8-3.6 8-8V304c0-4.4-3.6-8-8-8zm-584-72h-66v-56c0-4.4-3.6-8-8-8h-52c-4.4 0-8 3.6-8 8v56h-66c-4.4 0-8 3.6-8 8v560c0 4.4 3.6 8 8 8h66v56c0 4.4 3.6 8 8 8h52c4.4 0 8-3.6 8-8v-56h66c4.4 0 8-3.6 8-8V232c0-4.4-3.6-8-8-8zm292 180h-66V232c0-4.4-3.6-8-8-8h-52c-4.4 0-8 3.6-8 8v172h-66c-4.4 0-8 3.6-8 8v200c0 4.4 3.6 8 8 8h66v172c0 4.4 3.6 8 8 8h52c4.4 0 8-3.6 8-8V620h66c4.4 0 8-3.6 8-8V412c0-4.4-3.6-8-8-8z" /></svg>'},ah={name:"smile",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zM288 421a48.01 48.01 0 0196 0 48.01 48.01 0 01-96 0zm224 272c-85.5 0-155.6-67.3-160-151.6a8 8 0 018-8.4h48.1c4.2 0 7.8 3.2 8.1 7.4C420 589.9 461.5 629 512 629s92.1-39.1 95.8-88.6c.3-4.2 3.9-7.4 8.1-7.4H664a8 8 0 018 8.4C667.6 625.7 597.5 693 512 693zm176-224a48.01 48.01 0 010-96 48.01 48.01 0 010 96z" /></svg>'},ch={name:"skype",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M883.7 578.6c4.1-22.5 6.3-45.5 6.3-68.5 0-51-10-100.5-29.7-147-19-45-46.3-85.4-81-120.1a375.79 375.79 0 00-120.1-80.9c-46.6-19.7-96-29.7-147-29.7-24 0-48.1 2.3-71.5 6.8A225.1 225.1 0 00335.6 113c-59.7 0-115.9 23.3-158.1 65.5A222.25 222.25 0 00112 336.6c0 38 9.8 75.4 28.1 108.4-3.7 21.4-5.7 43.3-5.7 65.1 0 51 10 100.5 29.7 147 19 45 46.2 85.4 80.9 120.1 34.7 34.7 75.1 61.9 120.1 80.9 46.6 19.7 96 29.7 147 29.7 22.2 0 44.4-2 66.2-5.9 33.5 18.9 71.3 29 110 29 59.7 0 115.9-23.2 158.1-65.5 42.3-42.2 65.5-98.4 65.5-158.1.1-38-9.7-75.5-28.2-108.7zm-370 162.9c-134.2 0-194.2-66-194.2-115.4 0-25.4 18.7-43.1 44.5-43.1 57.4 0 42.6 82.5 149.7 82.5 54.9 0 85.2-29.8 85.2-60.3 0-18.3-9-38.7-45.2-47.6l-119.4-29.8c-96.1-24.1-113.6-76.1-113.6-124.9 0-101.4 95.5-139.5 185.2-139.5 82.6 0 180 45.7 180 106.5 0 26.1-22.6 41.2-48.4 41.2-49 0-40-67.8-138.7-67.8-49 0-76.1 22.2-76.1 53.9s38.7 41.8 72.3 49.5l88.4 19.6c96.8 21.6 121.3 78.1 121.3 131.3 0 82.3-63.3 143.9-191 143.9z" /></svg>'},lh={name:"shop",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M882 272.1V144c0-17.7-14.3-32-32-32H174c-17.7 0-32 14.3-32 32v128.1c-16.7 1-30 14.9-30 31.9v131.7a177 177 0 0014.4 70.4c4.3 10.2 9.6 19.8 15.6 28.9v345c0 17.6 14.3 32 32 32h676c17.7 0 32-14.3 32-32V535a175 175 0 0015.6-28.9c9.5-22.3 14.4-46 14.4-70.4V304c0-17-13.3-30.9-30-31.9zM214 184h596v88H214v-88zm362 656.1H448V736h128v104.1zm234 0H640V704c0-17.7-14.3-32-32-32H416c-17.7 0-32 14.3-32 32v136.1H214V597.9c2.9 1.4 5.9 2.8 9 4 22.3 9.4 46 14.1 70.4 14.1s48-4.7 70.4-14.1c13.8-5.8 26.8-13.2 38.7-22.1.2-.1.4-.1.6 0a180.4 180.4 0 0038.7 22.1c22.3 9.4 46 14.1 70.4 14.1 24.4 0 48-4.7 70.4-14.1 13.8-5.8 26.8-13.2 38.7-22.1.2-.1.4-.1.6 0a180.4 180.4 0 0038.7 22.1c22.3 9.4 46 14.1 70.4 14.1 24.4 0 48-4.7 70.4-14.1 3-1.3 6-2.6 9-4v242.2zm30-404.4c0 59.8-49 108.3-109.3 108.3-40.8 0-76.4-22.1-95.2-54.9-2.9-5-8.1-8.1-13.9-8.1h-.6c-5.7 0-11 3.1-13.9 8.1A109.24 109.24 0 01512 544c-40.7 0-76.2-22-95-54.7-3-5.1-8.4-8.3-14.3-8.3s-11.4 3.2-14.3 8.3a109.63 109.63 0 01-95.1 54.7C233 544 184 495.5 184 435.7v-91.2c0-.3.2-.5.5-.5h655c.3 0 .5.2.5.5v91.2z" /></svg>'},uh={name:"smile",theme:"twotone",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" fill="#333" /><path d="M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zM288 421a48.01 48.01 0 0196 0 48.01 48.01 0 01-96 0zm224 272c-85.5 0-155.6-67.3-160-151.6a8 8 0 018-8.4h48.1c4.2 0 7.8 3.2 8.1 7.4C420 589.9 461.5 629 512 629s92.1-39.1 95.8-88.6c.3-4.2 3.9-7.4 8.1-7.4H664a8 8 0 018 8.4C667.6 625.7 597.5 693 512 693zm176-224a48.01 48.01 0 010-96 48.01 48.01 0 010 96z" fill="#E6E6E6" /><path d="M288 421a48 48 0 1096 0 48 48 0 10-96 0zm376 112h-48.1c-4.2 0-7.8 3.2-8.1 7.4-3.7 49.5-45.3 88.6-95.8 88.6s-92-39.1-95.8-88.6c-.3-4.2-3.9-7.4-8.1-7.4H360a8 8 0 00-8 8.4c4.4 84.3 74.5 151.6 160 151.6s155.6-67.3 160-151.6a8 8 0 00-8-8.4zm-24-112a48 48 0 1096 0 48 48 0 10-96 0z" fill="#333" /></svg>'},hh={name:"small-dash",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M112 476h72v72h-72zm182 0h72v72h-72zm364 0h72v72h-72zm182 0h72v72h-72zm-364 0h72v72h-72z" /></svg>'},dh={name:"snippets",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M832 112H724V72c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v40H500V72c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v40H320c-17.7 0-32 14.3-32 32v120h-96c-17.7 0-32 14.3-32 32v632c0 17.7 14.3 32 32 32h512c17.7 0 32-14.3 32-32v-96h96c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM664 486H514V336h.2L664 485.8v.2zm128 274h-56V456L544 264H360v-80h68v32c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-32h152v32c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-32h68v576z" /></svg>'},fh={name:"sort-ascending",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M839.6 433.8L749 150.5a9.24 9.24 0 00-8.9-6.5h-77.4c-4.1 0-7.6 2.6-8.9 6.5l-91.3 283.3c-.3.9-.5 1.9-.5 2.9 0 5.1 4.2 9.3 9.3 9.3h56.4c4.2 0 7.8-2.8 9-6.8l17.5-61.6h89l17.3 61.5c1.1 4 4.8 6.8 9 6.8h61.2c1 0 1.9-.1 2.8-.4 2.4-.8 4.3-2.4 5.5-4.6 1.1-2.2 1.3-4.7.6-7.1zM663.3 325.5l32.8-116.9h6.3l32.1 116.9h-71.2zm143.5 492.9H677.2v-.4l132.6-188.9c1.1-1.6 1.7-3.4 1.7-5.4v-36.4c0-5.1-4.2-9.3-9.3-9.3h-204c-5.1 0-9.3 4.2-9.3 9.3v43c0 5.1 4.2 9.3 9.3 9.3h122.6v.4L587.7 828.9a9.35 9.35 0 00-1.7 5.4v36.4c0 5.1 4.2 9.3 9.3 9.3h211.4c5.1 0 9.3-4.2 9.3-9.3v-43a9.2 9.2 0 00-9.2-9.3zM416 702h-76V172c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v530h-76c-6.7 0-10.5 7.8-6.3 13l112 141.9a8 8 0 0012.6 0l112-141.9c4.1-5.2.4-13-6.3-13z" /></svg>'},ph={name:"snippets",theme:"twotone",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M450 510V336H232v552h432V550H490c-22.1 0-40-17.9-40-40z" fill="#E6E6E6" /><path d="M832 112H724V72c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v40H500V72c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v40H320c-17.7 0-32 14.3-32 32v120h-96c-17.7 0-32 14.3-32 32v632c0 17.7 14.3 32 32 32h512c17.7 0 32-14.3 32-32v-96h96c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM664 888H232V336h218v174c0 22.1 17.9 40 40 40h174v338zm0-402H514V336h.2L664 485.8v.2zm128 274h-56V456L544 264H360v-80h68v32c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-32h152v32c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-32h68v576z" fill="#333" /></svg>'},mh={name:"sound",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M625.9 115c-5.9 0-11.9 1.6-17.4 5.3L254 352H90c-8.8 0-16 7.2-16 16v288c0 8.8 7.2 16 16 16h164l354.5 231.7c5.5 3.6 11.6 5.3 17.4 5.3 16.7 0 32.1-13.3 32.1-32.1V147.1c0-18.8-15.4-32.1-32.1-32.1zM586 803L293.4 611.7l-18-11.7H146V424h129.4l17.9-11.7L586 221v582zm348-327H806c-8.8 0-16 7.2-16 16v40c0 8.8 7.2 16 16 16h128c8.8 0 16-7.2 16-16v-40c0-8.8-7.2-16-16-16zm-41.9 261.8l-110.3-63.7a15.9 15.9 0 00-21.7 5.9l-19.9 34.5c-4.4 7.6-1.8 17.4 5.8 21.8L856.3 800a15.9 15.9 0 0021.7-5.9l19.9-34.5c4.4-7.6 1.7-17.4-5.8-21.8zM760 344a15.9 15.9 0 0021.7 5.9L892 286.2c7.6-4.4 10.2-14.2 5.8-21.8L878 230a15.9 15.9 0 00-21.7-5.9L746 287.8a15.99 15.99 0 00-5.8 21.8L760 344z" /></svg>'},gh={name:"snippets",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M832 112H724V72c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v40H500V72c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v40H320c-17.7 0-32 14.3-32 32v120h-96c-17.7 0-32 14.3-32 32v632c0 17.7 14.3 32 32 32h512c17.7 0 32-14.3 32-32v-96h96c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM664 888H232V336h218v174c0 22.1 17.9 40 40 40h174v338zm0-402H514V336h.2L664 485.8v.2zm128 274h-56V456L544 264H360v-80h68v32c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-32h152v32c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-32h68v576z" /></svg>'},vh={name:"sound",theme:"twotone",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M275.4 424H146v176h129.4l18 11.7L586 803V221L293.3 412.3z" fill="#E6E6E6" /><path d="M892.1 737.8l-110.3-63.7a15.9 15.9 0 00-21.7 5.9l-19.9 34.5c-4.4 7.6-1.8 17.4 5.8 21.8L856.3 800a15.9 15.9 0 0021.7-5.9l19.9-34.5c4.4-7.6 1.7-17.4-5.8-21.8zM934 476H806c-8.8 0-16 7.2-16 16v40c0 8.8 7.2 16 16 16h128c8.8 0 16-7.2 16-16v-40c0-8.8-7.2-16-16-16zM760 344a15.9 15.9 0 0021.7 5.9L892 286.2c7.6-4.4 10.2-14.2 5.8-21.8L878 230a15.9 15.9 0 00-21.7-5.9L746 287.8a15.99 15.99 0 00-5.8 21.8L760 344zM625.9 115c-5.9 0-11.9 1.6-17.4 5.3L254 352H90c-8.8 0-16 7.2-16 16v288c0 8.8 7.2 16 16 16h164l354.5 231.7c5.5 3.6 11.6 5.3 17.4 5.3 16.7 0 32.1-13.3 32.1-32.1V147.1c0-18.8-15.4-32.1-32.1-32.1zM586 803L293.4 611.7l-18-11.7H146V424h129.4l17.9-11.7L586 221v582z" fill="#333" /></svg>'},yh={name:"solution",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M688 264c0-4.4-3.6-8-8-8H296c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8v-48zm-8 136H296c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zM480 544H296c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zm-48 308H208V148h560v344c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V108c0-17.7-14.3-32-32-32H168c-17.7 0-32 14.3-32 32v784c0 17.7 14.3 32 32 32h264c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm356.8-74.4c29-26.3 47.2-64.3 47.2-106.6 0-79.5-64.5-144-144-144s-144 64.5-144 144c0 42.3 18.2 80.3 47.2 106.6-57 32.5-96.2 92.7-99.2 162.1-.2 4.5 3.5 8.3 8 8.3h48.1c4.2 0 7.7-3.3 8-7.6C564 871.2 621.7 816 692 816s128 55.2 131.9 124.4c.2 4.2 3.7 7.6 8 7.6H880c4.6 0 8.2-3.8 8-8.3-2.9-69.5-42.2-129.6-99.2-162.1zM692 591c44.2 0 80 35.8 80 80s-35.8 80-80 80-80-35.8-80-80 35.8-80 80-80z" /></svg>'},bh={name:"sound",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M892.1 737.8l-110.3-63.7a15.9 15.9 0 00-21.7 5.9l-19.9 34.5c-4.4 7.6-1.8 17.4 5.8 21.8L856.3 800a15.9 15.9 0 0021.7-5.9l19.9-34.5c4.4-7.6 1.7-17.4-5.8-21.8zM760 344a15.9 15.9 0 0021.7 5.9L892 286.2c7.6-4.4 10.2-14.2 5.8-21.8L878 230a15.9 15.9 0 00-21.7-5.9L746 287.8a15.99 15.99 0 00-5.8 21.8L760 344zm174 132H806c-8.8 0-16 7.2-16 16v40c0 8.8 7.2 16 16 16h128c8.8 0 16-7.2 16-16v-40c0-8.8-7.2-16-16-16zM625.9 115c-5.9 0-11.9 1.6-17.4 5.3L254 352H90c-8.8 0-16 7.2-16 16v288c0 8.8 7.2 16 16 16h164l354.5 231.7c5.5 3.6 11.6 5.3 17.4 5.3 16.7 0 32.1-13.3 32.1-32.1V147.1c0-18.8-15.4-32.1-32.1-32.1z" /></svg>'},_h={name:"sort-descending",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M839.6 433.8L749 150.5a9.24 9.24 0 00-8.9-6.5h-77.4c-4.1 0-7.6 2.6-8.9 6.5l-91.3 283.3c-.3.9-.5 1.9-.5 2.9 0 5.1 4.2 9.3 9.3 9.3h56.4c4.2 0 7.8-2.8 9-6.8l17.5-61.6h89l17.3 61.5c1.1 4 4.8 6.8 9 6.8h61.2c1 0 1.9-.1 2.8-.4 2.4-.8 4.3-2.4 5.5-4.6 1.1-2.2 1.3-4.7.6-7.1zM663.3 325.5l32.8-116.9h6.3l32.1 116.9h-71.2zm143.5 492.9H677.2v-.4l132.6-188.9c1.1-1.6 1.7-3.4 1.7-5.4v-36.4c0-5.1-4.2-9.3-9.3-9.3h-204c-5.1 0-9.3 4.2-9.3 9.3v43c0 5.1 4.2 9.3 9.3 9.3h122.6v.4L587.7 828.9a9.35 9.35 0 00-1.7 5.4v36.4c0 5.1 4.2 9.3 9.3 9.3h211.4c5.1 0 9.3-4.2 9.3-9.3v-43a9.2 9.2 0 00-9.2-9.3zM310.3 167.1a8 8 0 00-12.6 0L185.7 309c-4.2 5.3-.4 13 6.3 13h76v530c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V322h76c6.7 0 10.5-7.8 6.3-13l-112-141.9z" /></svg>'},wh={name:"star",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3zM664.8 561.6l36.1 210.3L512 672.7 323.1 772l36.1-210.3-152.8-149L417.6 382 512 190.7 606.4 382l211.2 30.7-152.8 148.9z" /></svg>'},Sh={name:"split-cells",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><defs><style /></defs><path d="M938.2 508.4L787.3 389c-3-2.4-7.3-.2-7.3 3.6V478H636V184h204v128c0 2.2 1.8 4 4 4h60c2.2 0 4-1.8 4-4V144c0-15.5-12.5-28-28-28H596c-15.5 0-28 12.5-28 28v736c0 15.5 12.5 28 28 28h284c15.5 0 28-12.5 28-28V712c0-2.2-1.8-4-4-4h-60c-2.2 0-4 1.8-4 4v128H636V546h144v85.4c0 3.8 4.4 6 7.3 3.6l150.9-119.4a4.5 4.5 0 000-7.2zM428 116H144c-15.5 0-28 12.5-28 28v168c0 2.2 1.8 4 4 4h60c2.2 0 4-1.8 4-4V184h204v294H244v-85.4c0-3.8-4.3-6-7.3-3.6l-151 119.4a4.52 4.52 0 000 7.1l151 119.5c2.9 2.3 7.3.2 7.3-3.6V546h144v294H184V712c0-2.2-1.8-4-4-4h-60c-2.2 0-4 1.8-4 4v168c0 15.5 12.5 28 28 28h284c15.5 0 28-12.5 28-28V144c0-15.5-12.5-28-28-28z" /></svg>'},xh={name:"star",theme:"twotone",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512.5 190.4l-94.4 191.3-211.2 30.7 152.8 149-36.1 210.3 188.9-99.3 188.9 99.2-36.1-210.3 152.8-148.9-211.2-30.7z" fill="#E6E6E6" /><path d="M908.6 352.8l-253.9-36.9L541.2 85.8c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L370.3 315.9l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1L239 839.4a31.95 31.95 0 0046.4 33.7l227.1-119.4 227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3zM665.3 561.3l36.1 210.3-188.9-99.2-188.9 99.3 36.1-210.3-152.8-149 211.2-30.7 94.4-191.3 94.4 191.3 211.2 30.7-152.8 148.9z" fill="#333" /></svg>'},Oh={name:"star",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z" /></svg>'},kh={name:"step-backward",theme:"fill",icon:'<svg viewBox="0 0 1024 1024" focusable="false"><path d="M347.6 528.95l383.2 301.02c14.25 11.2 35.2 1.1 35.2-16.95V210.97c0-18.05-20.95-28.14-35.2-16.94L347.6 495.05a21.53 21.53 0 000 33.9M330 864h-64a8 8 0 01-8-8V168a8 8 0 018-8h64a8 8 0 018 8v688a8 8 0 01-8 8" /></svg>'},Ch={name:"sliders",theme:"twotone",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M180 292h80v440h-80zm369 180h-74a3 3 0 00-3 3v74a3 3 0 003 3h74a3 3 0 003-3v-74a3 3 0 00-3-3zm215-108h80v296h-80z" fill="#E6E6E6" /><path d="M904 296h-66v-96c0-4.4-3.6-8-8-8h-52c-4.4 0-8 3.6-8 8v96h-66c-4.4 0-8 3.6-8 8v416c0 4.4 3.6 8 8 8h66v96c0 4.4 3.6 8 8 8h52c4.4 0 8-3.6 8-8v-96h66c4.4 0 8-3.6 8-8V304c0-4.4-3.6-8-8-8zm-60 364h-80V364h80v296zM612 404h-66V232c0-4.4-3.6-8-8-8h-52c-4.4 0-8 3.6-8 8v172h-66c-4.4 0-8 3.6-8 8v200c0 4.4 3.6 8 8 8h66v172c0 4.4 3.6 8 8 8h52c4.4 0 8-3.6 8-8V620h66c4.4 0 8-3.6 8-8V412c0-4.4-3.6-8-8-8zm-60 145a3 3 0 01-3 3h-74a3 3 0 01-3-3v-74a3 3 0 013-3h74a3 3 0 013 3v74zM320 224h-66v-56c0-4.4-3.6-8-8-8h-52c-4.4 0-8 3.6-8 8v56h-66c-4.4 0-8 3.6-8 8v560c0 4.4 3.6 8 8 8h66v56c0 4.4 3.6 8 8 8h52c4.4 0 8-3.6 8-8v-56h66c4.4 0 8-3.6 8-8V232c0-4.4-3.6-8-8-8zm-60 508h-80V292h80v440z" fill="#333" /></svg>'},Mh={name:"smile",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M288 421a48 48 0 1096 0 48 48 0 10-96 0zm352 0a48 48 0 1096 0 48 48 0 10-96 0zM512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm263 711c-34.2 34.2-74 61-118.3 79.8C611 874.2 562.3 884 512 884c-50.3 0-99-9.8-144.8-29.2A370.4 370.4 0 01248.9 775c-34.2-34.2-61-74-79.8-118.3C149.8 611 140 562.3 140 512s9.8-99 29.2-144.8A370.4 370.4 0 01249 248.9c34.2-34.2 74-61 118.3-79.8C413 149.8 461.7 140 512 140c50.3 0 99 9.8 144.8 29.2A370.4 370.4 0 01775.1 249c34.2 34.2 61 74 79.8 118.3C874.2 413 884 461.7 884 512s-9.8 99-29.2 144.8A368.89 368.89 0 01775 775zM664 533h-48.1c-4.2 0-7.8 3.2-8.1 7.4C604 589.9 562.5 629 512 629s-92.1-39.1-95.8-88.6c-.3-4.2-3.9-7.4-8.1-7.4H360a8 8 0 00-8 8.4c4.4 84.3 74.5 151.6 160 151.6s155.6-67.3 160-151.6a8 8 0 00-8-8.4z" /></svg>'},Eh={name:"stop",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm234.8 736.5L223.5 277.2c16-19.7 34-37.7 53.7-53.7l523.3 523.3c-16 19.6-34 37.7-53.7 53.7z" /></svg>'},Th={name:"strikethrough",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M952 474H569.9c-10-2-20.5-4-31.6-6-15.9-2.9-22.2-4.1-30.8-5.8-51.3-10-82.2-20-106.8-34.2-35.1-20.5-52.2-48.3-52.2-85.1 0-37 15.2-67.7 44-89 28.4-21 68.8-32.1 116.8-32.1 54.8 0 97.1 14.4 125.8 42.8 14.6 14.4 25.3 32.1 31.8 52.6 1.3 4.1 2.8 10 4.3 17.8.9 4.8 5.2 8.2 9.9 8.2h72.8c5.6 0 10.1-4.6 10.1-10.1v-1c-.7-6.8-1.3-12.1-2-16-7.3-43.5-28-81.7-59.7-110.3-44.4-40.5-109.7-61.8-188.7-61.8-72.3 0-137.4 18.1-183.3 50.9-25.6 18.4-45.4 41.2-58.6 67.7-13.5 27.1-20.3 58.4-20.3 92.9 0 29.5 5.7 54.5 17.3 76.5 8.3 15.7 19.6 29.5 34.1 42H72c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h433.2c2.1.4 3.9.8 5.9 1.2 30.9 6.2 49.5 10.4 66.6 15.2 23 6.5 40.6 13.3 55.2 21.5 35.8 20.2 53.3 49.2 53.3 89 0 35.3-15.5 66.8-43.6 88.8-30.5 23.9-75.6 36.4-130.5 36.4-43.7 0-80.7-8.5-110.2-25-29.1-16.3-49.1-39.8-59.7-69.5-.8-2.2-1.7-5.2-2.7-9-1.2-4.4-5.3-7.5-9.7-7.5h-79.7c-5.6 0-10.1 4.6-10.1 10.1v1c.2 2.3.4 4.2.6 5.7 6.5 48.8 30.3 88.8 70.7 118.8 47.1 34.8 113.4 53.2 191.8 53.2 84.2 0 154.8-19.8 204.2-57.3 25-18.9 44.2-42.2 57.1-69 13-27.1 19.7-57.9 19.7-91.5 0-31.8-5.8-58.4-17.8-81.4-5.8-11.2-13.1-21.5-21.8-30.8H952c4.4 0 8-3.6 8-8v-60a8 8 0 00-8-7.9z" /></svg>'},jh={name:"subnode",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><defs><style /></defs><path d="M688 240c-138 0-252 102.8-269.6 236H249a95.92 95.92 0 00-89-60c-53 0-96 43-96 96s43 96 96 96c40.3 0 74.8-24.8 89-60h169.3C436 681.2 550 784 688 784c150.2 0 272-121.8 272-272S838.2 240 688 240zm128 298c0 4.4-3.6 8-8 8h-86v86c0 4.4-3.6 8-8 8h-52c-4.4 0-8-3.6-8-8v-86h-86c-4.4 0-8-3.6-8-8v-52c0-4.4 3.6-8 8-8h86v-86c0-4.4 3.6-8 8-8h52c4.4 0 8 3.6 8 8v86h86c4.4 0 8 3.6 8 8v52z" /></svg>'},Dh={name:"swap-left",theme:"outline",icon:'<svg viewBox="0 0 1024 1024" focusable="false"><path d="M872 572H266.8l144.3-183c4.1-5.2.4-13-6.3-13H340c-9.8 0-19.1 4.5-25.1 12.2l-164 208c-16.5 21-1.6 51.8 25.1 51.8h696c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z" /></svg>'},Ah={name:"step-forward",theme:"fill",icon:'<svg viewBox="0 0 1024 1024" focusable="false"><path d="M676.4 528.95L293.2 829.97c-14.25 11.2-35.2 1.1-35.2-16.95V210.97c0-18.05 20.95-28.14 35.2-16.94l383.2 301.02a21.53 21.53 0 010 33.9M694 864h64a8 8 0 008-8V168a8 8 0 00-8-8h-64a8 8 0 00-8 8v688a8 8 0 008 8" /></svg>'},Lh={name:"swap",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M847.9 592H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h605.2L612.9 851c-4.1 5.2-.4 13 6.3 13h72.5c4.9 0 9.5-2.2 12.6-6.1l168.8-214.1c16.5-21 1.6-51.8-25.2-51.8zM872 356H266.8l144.3-183c4.1-5.2.4-13-6.3-13h-72.5c-4.9 0-9.5 2.2-12.6 6.1L150.9 380.2c-16.5 21-1.6 51.8 25.1 51.8h696c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z" /></svg>'},zh={name:"stock",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M904 747H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM165.7 621.8l39.7 39.5c3.1 3.1 8.2 3.1 11.3 0l234.7-233.9 97.6 97.3a32.11 32.11 0 0045.2 0l264.2-263.2c3.1-3.1 3.1-8.2 0-11.3l-39.7-39.6a8.03 8.03 0 00-11.3 0l-235.7 235-97.7-97.3a32.11 32.11 0 00-45.2 0L165.7 610.5a7.94 7.94 0 000 11.3z" /></svg>'},Ph={name:"sketch",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M925.6 405.1l-203-253.7a6.5 6.5 0 00-5-2.4H306.4c-1.9 0-3.8.9-5 2.4l-203 253.7a6.5 6.5 0 00.2 8.3l408.6 459.5c1.2 1.4 3 2.1 4.8 2.1 1.8 0 3.5-.8 4.8-2.1l408.6-459.5a6.5 6.5 0 00.2-8.3zM645.2 206.4l34.4 133.9-132.5-133.9h98.1zm8.2 178.5H370.6L512 242l141.4 142.9zM378.8 206.4h98.1L344.3 340.3l34.5-133.9zm-53.4 7l-44.1 171.5h-93.1l137.2-171.5zM194.6 434.9H289l125.8 247.7-220.2-247.7zM512 763.4L345.1 434.9h333.7L512 763.4zm97.1-80.8L735 434.9h94.4L609.1 682.6zm133.6-297.7l-44.1-171.5 137.2 171.5h-93.1z" /></svg>'},Ih={name:"stop",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372 0-89 31.3-170.8 83.5-234.8l523.3 523.3C682.8 852.7 601 884 512 884zm288.5-137.2L277.2 223.5C341.2 171.3 423 140 512 140c205.4 0 372 166.6 372 372 0 89-31.3 170.8-83.5 234.8z" /></svg>'},Rh={name:"stop",theme:"twotone",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm288.5 682.8L277.7 224C258 240 240 258 224 277.7l522.8 522.8C682.8 852.7 601 884 512 884c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372c0 89-31.3 170.8-83.5 234.8z" fill="#333" /><path d="M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372c89 0 170.8-31.3 234.8-83.5L224 277.7c16-19.7 34-37.7 53.7-53.7l522.8 522.8C852.7 682.8 884 601 884 512c0-205.4-166.6-372-372-372z" fill="#E6E6E6" /></svg>'},Nh={name:"sisternode",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><defs><style /></defs><path d="M672 432c-120.3 0-219.9 88.5-237.3 204H320c-15.5 0-28-12.5-28-28V244h291c14.2 35.2 48.7 60 89 60 53 0 96-43 96-96s-43-96-96-96c-40.3 0-74.8 24.8-89 60H112v72h108v364c0 55.2 44.8 100 100 100h114.7c17.4 115.5 117 204 237.3 204 132.5 0 240-107.5 240-240S804.5 432 672 432zm128 266c0 4.4-3.6 8-8 8h-86v86c0 4.4-3.6 8-8 8h-52c-4.4 0-8-3.6-8-8v-86h-86c-4.4 0-8-3.6-8-8v-52c0-4.4 3.6-8 8-8h86v-86c0-4.4 3.6-8 8-8h52c4.4 0 8 3.6 8 8v86h86c4.4 0 8 3.6 8 8v52z" /></svg>'},Hh={name:"switcher",theme:"twotone",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M184 840h528V312H184v528zm116-290h296v64H300v-64z" fill="#E6E6E6" /><path d="M880 112H264c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h576v576c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V144c0-17.7-14.3-32-32-32z" fill="#333" /><path d="M752 240H144c-17.7 0-32 14.3-32 32v608c0 17.7 14.3 32 32 32h608c17.7 0 32-14.3 32-32V272c0-17.7-14.3-32-32-32zm-40 600H184V312h528v528z" fill="#333" /><path d="M300 550h296v64H300z" fill="#333" /></svg>'},Fh={name:"tablet",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M800 64H224c-35.3 0-64 28.7-64 64v768c0 35.3 28.7 64 64 64h576c35.3 0 64-28.7 64-64V128c0-35.3-28.7-64-64-64zM512 824c-22.1 0-40-17.9-40-40s17.9-40 40-40 40 17.9 40 40-17.9 40-40 40z" /></svg>'},Vh={name:"slack",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M409.4 128c-42.4 0-76.7 34.4-76.7 76.8 0 20.3 8.1 39.9 22.4 54.3a76.74 76.74 0 0054.3 22.5h76.7v-76.8c0-42.3-34.3-76.7-76.7-76.8zm0 204.8H204.7c-42.4 0-76.7 34.4-76.7 76.8s34.4 76.8 76.7 76.8h204.6c42.4 0 76.7-34.4 76.7-76.8.1-42.4-34.3-76.8-76.6-76.8zM614 486.4c42.4 0 76.8-34.4 76.7-76.8V204.8c0-42.4-34.3-76.8-76.7-76.8-42.4 0-76.7 34.4-76.7 76.8v204.8c0 42.5 34.3 76.8 76.7 76.8zm281.4-76.8c0-42.4-34.4-76.8-76.7-76.8S742 367.2 742 409.6v76.8h76.7c42.3 0 76.7-34.4 76.7-76.8zm-76.8 128H614c-42.4 0-76.7 34.4-76.7 76.8 0 20.3 8.1 39.9 22.4 54.3a76.74 76.74 0 0054.3 22.5h204.6c42.4 0 76.7-34.4 76.7-76.8.1-42.4-34.3-76.7-76.7-76.8zM614 742.4h-76.7v76.8c0 42.4 34.4 76.8 76.7 76.8 42.4 0 76.8-34.4 76.7-76.8.1-42.4-34.3-76.7-76.7-76.8zM409.4 537.6c-42.4 0-76.7 34.4-76.7 76.8v204.8c0 42.4 34.4 76.8 76.7 76.8 42.4 0 76.8-34.4 76.7-76.8V614.4c0-20.3-8.1-39.9-22.4-54.3a76.92 76.92 0 00-54.3-22.5zM128 614.4c0 20.3 8.1 39.9 22.4 54.3a76.74 76.74 0 0054.3 22.5c42.4 0 76.8-34.4 76.7-76.8v-76.8h-76.7c-42.3 0-76.7 34.4-76.7 76.8z" /></svg>'},Bh={name:"slack-square",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM529 311.4c0-27.8 22.5-50.4 50.3-50.4 27.8 0 50.3 22.6 50.3 50.4v134.4c0 27.8-22.5 50.4-50.3 50.4-27.8 0-50.3-22.6-50.3-50.4V311.4zM361.5 580.2c0 27.8-22.5 50.4-50.3 50.4a50.35 50.35 0 01-50.3-50.4c0-27.8 22.5-50.4 50.3-50.4h50.3v50.4zm134 134.4c0 27.8-22.5 50.4-50.3 50.4-27.8 0-50.3-22.6-50.3-50.4V580.2c0-27.8 22.5-50.4 50.3-50.4a50.35 50.35 0 0150.3 50.4v134.4zm-50.2-218.4h-134c-27.8 0-50.3-22.6-50.3-50.4 0-27.8 22.5-50.4 50.3-50.4h134c27.8 0 50.3 22.6 50.3 50.4-.1 27.9-22.6 50.4-50.3 50.4zm0-134.4c-13.3 0-26.1-5.3-35.6-14.8S395 324.8 395 311.4c0-27.8 22.5-50.4 50.3-50.4 27.8 0 50.3 22.6 50.3 50.4v50.4h-50.3zm134 403.2c-27.8 0-50.3-22.6-50.3-50.4v-50.4h50.3c27.8 0 50.3 22.6 50.3 50.4 0 27.8-22.5 50.4-50.3 50.4zm134-134.4h-134a50.35 50.35 0 01-50.3-50.4c0-27.8 22.5-50.4 50.3-50.4h134c27.8 0 50.3 22.6 50.3 50.4 0 27.8-22.5 50.4-50.3 50.4zm0-134.4H663v-50.4c0-27.8 22.5-50.4 50.3-50.4s50.3 22.6 50.3 50.4c0 27.8-22.5 50.4-50.3 50.4z" /></svg>'},Yh={name:"step-forward",theme:"outline",icon:'<svg viewBox="0 0 1024 1024" focusable="false"><path d="M676.4 528.95L293.2 829.97c-14.25 11.2-35.2 1.1-35.2-16.95V210.97c0-18.05 20.95-28.14 35.2-16.94l383.2 301.02a21.53 21.53 0 010 33.9M694 864h64a8 8 0 008-8V168a8 8 0 00-8-8h-64a8 8 0 00-8 8v688a8 8 0 008 8" /></svg>'},Uh={name:"step-backward",theme:"outline",icon:'<svg viewBox="0 0 1024 1024" focusable="false"><path d="M347.6 528.95l383.2 301.02c14.25 11.2 35.2 1.1 35.2-16.95V210.97c0-18.05-20.95-28.14-35.2-16.94L347.6 495.05a21.53 21.53 0 000 33.9M330 864h-64a8 8 0 01-8-8V168a8 8 0 018-8h64a8 8 0 018 8v688a8 8 0 01-8 8" /></svg>'},Wh={name:"table",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 208H676V232h212v136zm0 224H676V432h212v160zM412 432h200v160H412V432zm200-64H412V232h200v136zm-476 64h212v160H136V432zm0-200h212v136H136V232zm0 424h212v136H136V656zm276 0h200v136H412V656zm476 136H676V656h212v136z" /></svg>'},qh={name:"tablet",theme:"twotone",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M800 64H224c-35.3 0-64 28.7-64 64v768c0 35.3 28.7 64 64 64h576c35.3 0 64-28.7 64-64V128c0-35.3-28.7-64-64-64zm-8 824H232V136h560v752z" fill="#333" /><path d="M232 888h560V136H232v752zm280-144c22.1 0 40 17.9 40 40s-17.9 40-40 40-40-17.9-40-40 17.9-40 40-40z" fill="#E6E6E6" /><path d="M472 784a40 40 0 1080 0 40 40 0 10-80 0z" fill="#333" /></svg>'},$h={name:"switcher",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M752 240H144c-17.7 0-32 14.3-32 32v608c0 17.7 14.3 32 32 32h608c17.7 0 32-14.3 32-32V272c0-17.7-14.3-32-32-32zm-40 600H184V312h528v528zm168-728H264c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h576v576c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V144c0-17.7-14.3-32-32-32zM300 550h296v64H300z" /></svg>'},Gh={name:"tags",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M483.2 790.3L861.4 412c1.7-1.7 2.5-4 2.3-6.3l-25.5-301.4c-.7-7.8-6.8-13.9-14.6-14.6L522.2 64.3c-2.3-.2-4.7.6-6.3 2.3L137.7 444.8a8.03 8.03 0 000 11.3l334.2 334.2c3.1 3.2 8.2 3.2 11.3 0zm122.7-533.4c18.7-18.7 49.1-18.7 67.9 0 18.7 18.7 18.7 49.1 0 67.9-18.7 18.7-49.1 18.7-67.9 0-18.7-18.7-18.7-49.1 0-67.9zm283.8 282.9l-39.6-39.5a8.03 8.03 0 00-11.3 0l-362 361.3-237.6-237a8.03 8.03 0 00-11.3 0l-39.6 39.5a8.03 8.03 0 000 11.3l243.2 242.8 39.6 39.5c3.1 3.1 8.2 3.1 11.3 0l407.3-406.6c3.1-3.1 3.1-8.2 0-11.3z" /></svg>'},Xh={name:"sync",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M168 504.2c1-43.7 10-86.1 26.9-126 17.3-41 42.1-77.7 73.7-109.4S337 212.3 378 195c42.4-17.9 87.4-27 133.9-27s91.5 9.1 133.8 27A341.5 341.5 0 01755 268.8c9.9 9.9 19.2 20.4 27.8 31.4l-60.2 47a8 8 0 003 14.1l175.7 43c5 1.2 9.9-2.6 9.9-7.7l.8-180.9c0-6.7-7.7-10.5-12.9-6.3l-56.4 44.1C765.8 155.1 646.2 92 511.8 92 282.7 92 96.3 275.6 92 503.8a8 8 0 008 8.2h60c4.4 0 7.9-3.5 8-7.8zm756 7.8h-60c-4.4 0-7.9 3.5-8 7.8-1 43.7-10 86.1-26.9 126-17.3 41-42.1 77.8-73.7 109.4A342.45 342.45 0 01512.1 856a342.24 342.24 0 01-243.2-100.8c-9.9-9.9-19.2-20.4-27.8-31.4l60.2-47a8 8 0 00-3-14.1l-175.7-43c-5-1.2-9.9 2.6-9.9 7.7l-.7 181c0 6.7 7.7 10.5 12.9 6.3l56.4-44.1C258.2 868.9 377.8 932 512.2 932c229.2 0 415.5-183.7 419.8-411.8a8 8 0 00-8-8.2z" /></svg>'},Kh={name:"tags",theme:"twotone",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M477.5 694l311.9-311.8-19-224.6-224.6-19-311.9 311.9L477.5 694zm116-415.5a47.81 47.81 0 0133.9-33.9c16.6-4.4 34.2.3 46.4 12.4a47.93 47.93 0 0112.4 46.4 47.81 47.81 0 01-33.9 33.9c-16.6 4.4-34.2-.3-46.4-12.4a48.3 48.3 0 01-12.4-46.4z" fill="#E6E6E6" /><path d="M476.6 792.6c-1.7-.2-3.4-1-4.7-2.3L137.7 456.1a8.03 8.03 0 010-11.3L515.9 66.6c1.2-1.3 2.9-2.1 4.7-2.3h-.4c-2.3-.2-4.7.6-6.3 2.3L135.7 444.8a8.03 8.03 0 000 11.3l334.2 334.2c1.8 1.9 4.3 2.6 6.7 2.3z" fill="#E6E6E6" /><path d="M889.7 539.8l-39.6-39.5a8.03 8.03 0 00-11.3 0l-362 361.3-237.6-237a8.03 8.03 0 00-11.3 0l-39.6 39.5a8.03 8.03 0 000 11.3l243.2 242.8 39.6 39.5c3.1 3.1 8.2 3.1 11.3 0l407.3-406.6c3.1-3.1 3.1-8.2 0-11.3zM652.3 337.3a47.81 47.81 0 0033.9-33.9c4.4-16.6-.3-34.2-12.4-46.4a47.93 47.93 0 00-46.4-12.4 47.81 47.81 0 00-33.9 33.9c-4.4 16.6.3 34.2 12.4 46.4a48.3 48.3 0 0046.4 12.4z" fill="#333" /><path d="M137.7 444.8a8.03 8.03 0 000 11.3l334.2 334.2c1.3 1.3 2.9 2.1 4.7 2.3 2.4.3 4.8-.5 6.6-2.3L861.4 412c1.7-1.7 2.5-4 2.3-6.3l-25.5-301.4c-.7-7.8-6.8-13.9-14.6-14.6L522.2 64.3h-1.6c-1.8.2-3.4 1-4.7 2.3L137.7 444.8zm408.1-306.2l224.6 19 19 224.6L477.5 694 233.9 450.5l311.9-311.9z" fill="#333" /></svg>'},Jh={name:"taobao-circle",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zM315.7 291.5c27.3 0 49.5 22.1 49.5 49.4s-22.1 49.4-49.5 49.4a49.4 49.4 0 110-98.8zM366.9 578c-13.6 42.3-10.2 26.7-64.4 144.5l-78.5-49s87.7-79.8 105.6-116.2c19.2-38.4-21.1-58.9-21.1-58.9l-60.2-37.5 32.7-50.2c45.4 33.7 48.7 36.6 79.2 67.2 23.8 23.9 20.7 56.8 6.7 100.1zm427.2 55c-15.3 143.8-202.4 90.3-202.4 90.3l10.2-41.1 43.3 9.3c80 5 72.3-64.9 72.3-64.9V423c.6-77.3-72.6-85.4-204.2-38.3l30.6 8.3c-2.5 9-12.5 23.2-25.2 38.6h176v35.6h-99.1v44.5h98.7v35.7h-98.7V622c14.9-4.8 28.6-11.5 40.5-20.5l-8.7-32.5 46.5-14.4 38.8 94.9-57.3 23.9-10.2-37.8c-25.6 19.5-78.8 48-171.8 45.4-99.2 2.6-73.7-112-73.7-112l2.5-1.3H472c-.5 14.7-6.6 38.7 1.7 51.8 6.8 10.8 24.2 12.6 35.3 13.1 1.3.1 2.6.1 3.9.1v-85.3h-101v-35.7h101v-44.5H487c-22.7 24.1-43.5 44.1-43.5 44.1l-30.6-26.7c21.7-22.9 43.3-59.1 56.8-83.2-10.9 4.4-22 9.2-33.6 14.2-11.2 14.3-24.2 29-38.7 43.5.5.8-50-28.4-50-28.4 52.2-44.4 81.4-139.9 81.4-139.9l72.5 20.4s-5.9 14-18.4 35.6c290.3-82.3 307.4 50.5 307.4 50.5s19.1 91.8 3.8 235.7z" /></svg>'},Qh={name:"tags",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M483.2 790.3L861.4 412c1.7-1.7 2.5-4 2.3-6.3l-25.5-301.4c-.7-7.8-6.8-13.9-14.6-14.6L522.2 64.3c-2.3-.2-4.7.6-6.3 2.3L137.7 444.8a8.03 8.03 0 000 11.3l334.2 334.2c3.1 3.2 8.2 3.2 11.3 0zm62.6-651.7l224.6 19 19 224.6L477.5 694 233.9 450.5l311.9-311.9zm60.16 186.23a48 48 0 1067.88-67.89 48 48 0 10-67.88 67.89zM889.7 539.8l-39.6-39.5a8.03 8.03 0 00-11.3 0l-362 361.3-237.6-237a8.03 8.03 0 00-11.3 0l-39.6 39.5a8.03 8.03 0 000 11.3l243.2 242.8 39.6 39.5c3.1 3.1 8.2 3.1 11.3 0l407.3-406.6c3.1-3.1 3.1-8.2 0-11.3z" /></svg>'},Zh={name:"taobao-circle",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zM315.7 291.5c27.3 0 49.5 22.1 49.5 49.4s-22.1 49.4-49.5 49.4a49.4 49.4 0 110-98.8zM366.9 578c-13.6 42.3-10.2 26.7-64.4 144.5l-78.5-49s87.7-79.8 105.6-116.2c19.2-38.4-21.1-58.9-21.1-58.9l-60.2-37.5 32.7-50.2c45.4 33.7 48.7 36.6 79.2 67.2 23.8 23.9 20.7 56.8 6.7 100.1zm427.2 55c-15.3 143.8-202.4 90.3-202.4 90.3l10.2-41.1 43.3 9.3c80 5 72.3-64.9 72.3-64.9V423c.6-77.3-72.6-85.4-204.2-38.3l30.6 8.3c-2.5 9-12.5 23.2-25.2 38.6h176v35.6h-99.1v44.5h98.7v35.7h-98.7V622c14.9-4.8 28.6-11.5 40.5-20.5l-8.7-32.5 46.5-14.4 38.8 94.9-57.3 23.9-10.2-37.8c-25.6 19.5-78.8 48-171.8 45.4-99.2 2.6-73.7-112-73.7-112l2.5-1.3H472c-.5 14.7-6.6 38.7 1.7 51.8 6.8 10.8 24.2 12.6 35.3 13.1 1.3.1 2.6.1 3.9.1v-85.3h-101v-35.7h101v-44.5H487c-22.7 24.1-43.5 44.1-43.5 44.1l-30.6-26.7c21.7-22.9 43.3-59.1 56.8-83.2-10.9 4.4-22 9.2-33.6 14.2-11.2 14.3-24.2 29-38.7 43.5.5.8-50-28.4-50-28.4 52.2-44.4 81.4-139.9 81.4-139.9l72.5 20.4s-5.9 14-18.4 35.6c290.3-82.3 307.4 50.5 307.4 50.5s19.1 91.8 3.8 235.7z" /></svg>'},ed={name:"thunderbolt",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M848 359.3H627.7L825.8 109c4.1-5.3.4-13-6.3-13H436c-2.8 0-5.5 1.5-6.9 4L170 547.5c-3.1 5.3.7 12 6.9 12h174.4l-89.4 357.6c-1.9 7.8 7.5 13.3 13.3 7.7L853.5 373c5.2-4.9 1.7-13.7-5.5-13.7zM378.2 732.5l60.3-241H281.1l189.6-327.4h224.6L487 427.4h211L378.2 732.5z" /></svg>'},td={name:"taobao-square",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM315.7 291.5c27.3 0 49.5 22.1 49.5 49.4s-22.1 49.4-49.5 49.4a49.4 49.4 0 110-98.8zM366.9 578c-13.6 42.3-10.2 26.7-64.4 144.5l-78.5-49s87.7-79.8 105.6-116.2c19.2-38.4-21.1-58.9-21.1-58.9l-60.2-37.5 32.7-50.2c45.4 33.7 48.7 36.6 79.2 67.2 23.8 23.9 20.7 56.8 6.7 100.1zm427.2 55c-15.3 143.8-202.4 90.3-202.4 90.3l10.2-41.1 43.3 9.3c80 5 72.3-64.9 72.3-64.9V423c.6-77.3-72.6-85.4-204.2-38.3l30.6 8.3c-2.5 9-12.5 23.2-25.2 38.6h176v35.6h-99.1v44.5h98.7v35.7h-98.7V622c14.9-4.8 28.6-11.5 40.5-20.5l-8.7-32.5 46.5-14.4 38.8 94.9-57.3 23.9-10.2-37.8c-25.6 19.5-78.8 48-171.8 45.4-99.2 2.6-73.7-112-73.7-112l2.5-1.3H472c-.5 14.7-6.6 38.7 1.7 51.8 6.8 10.8 24.2 12.6 35.3 13.1 1.3.1 2.6.1 3.9.1v-85.3h-101v-35.7h101v-44.5H487c-22.7 24.1-43.5 44.1-43.5 44.1l-30.6-26.7c21.7-22.9 43.3-59.1 56.8-83.2-10.9 4.4-22 9.2-33.6 14.2-11.2 14.3-24.2 29-38.7 43.5.5.8-50-28.4-50-28.4 52.2-44.4 81.4-139.9 81.4-139.9l72.5 20.4s-5.9 14-18.4 35.6c290.3-82.3 307.4 50.5 307.4 50.5s19.1 91.8 3.8 235.7z" /></svg>'},nd={name:"taobao",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M168.5 273.7a68.7 68.7 0 10137.4 0 68.7 68.7 0 10-137.4 0zm730 79.2s-23.7-184.4-426.9-70.1c17.3-30 25.6-49.5 25.6-49.5L396.4 205s-40.6 132.6-113 194.4c0 0 70.1 40.6 69.4 39.4 20.1-20.1 38.2-40.6 53.7-60.4 16.1-7 31.5-13.6 46.7-19.8-18.6 33.5-48.7 83.8-78.8 115.6l42.4 37s28.8-27.7 60.4-61.2h36v61.8H372.9v49.5h140.3v118.5c-1.7 0-3.6 0-5.4-.2-15.4-.7-39.5-3.3-49-18.2-11.5-18.1-3-51.5-2.4-71.9h-97l-3.4 1.8s-35.5 159.1 102.3 155.5c129.1 3.6 203-36 238.6-63.1l14.2 52.6 79.6-33.2-53.9-131.9-64.6 20.1 12.1 45.2c-16.6 12.4-35.6 21.7-56.2 28.4V561.3h137.1v-49.5H628.1V450h137.6v-49.5H521.3c17.6-21.4 31.5-41.1 35-53.6l-42.5-11.6c182.8-65.5 284.5-54.2 283.6 53.2v282.8s10.8 97.1-100.4 90.1l-60.2-12.9-14.2 57.1S882.5 880 903.7 680.2c21.3-200-5.2-327.3-5.2-327.3zm-707.4 18.3l-45.4 69.7 83.6 52.1s56 28.5 29.4 81.9C233.8 625.5 112 736.3 112 736.3l109 68.1c75.4-163.7 70.5-142 89.5-200.7 19.5-60.1 23.7-105.9-9.4-139.1-42.4-42.6-47-46.6-110-93.4z" /></svg>'},rd={name:"team",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M824.2 699.9a301.55 301.55 0 00-86.4-60.4C783.1 602.8 812 546.8 812 484c0-110.8-92.4-201.7-203.2-200-109.1 1.7-197 90.6-197 200 0 62.8 29 118.8 74.2 155.5a300.95 300.95 0 00-86.4 60.4C345 754.6 314 826.8 312 903.8a8 8 0 008 8.2h56c4.3 0 7.9-3.4 8-7.7 1.9-58 25.4-112.3 66.7-153.5A226.62 226.62 0 01612 684c60.9 0 118.2 23.7 161.3 66.8C814.5 792 838 846.3 840 904.3c.1 4.3 3.7 7.7 8 7.7h56a8 8 0 008-8.2c-2-77-33-149.2-87.8-203.9zM612 612c-34.2 0-66.4-13.3-90.5-37.5a126.86 126.86 0 01-37.5-91.8c.3-32.8 13.4-64.5 36.3-88 24-24.6 56.1-38.3 90.4-38.7 33.9-.3 66.8 12.9 91 36.6 24.8 24.3 38.4 56.8 38.4 91.4 0 34.2-13.3 66.3-37.5 90.5A127.3 127.3 0 01612 612zM361.5 510.4c-.9-8.7-1.4-17.5-1.4-26.4 0-15.9 1.5-31.4 4.3-46.5.7-3.6-1.2-7.3-4.5-8.8-13.6-6.1-26.1-14.5-36.9-25.1a127.54 127.54 0 01-38.7-95.4c.9-32.1 13.8-62.6 36.3-85.6 24.7-25.3 57.9-39.1 93.2-38.7 31.9.3 62.7 12.6 86 34.4 7.9 7.4 14.7 15.6 20.4 24.4 2 3.1 5.9 4.4 9.3 3.2 17.6-6.1 36.2-10.4 55.3-12.4 5.6-.6 8.8-6.6 6.3-11.6-32.5-64.3-98.9-108.7-175.7-109.9-110.9-1.7-203.3 89.2-203.3 199.9 0 62.8 28.9 118.8 74.2 155.5-31.8 14.7-61.1 35-86.5 60.4-54.8 54.7-85.8 126.9-87.8 204a8 8 0 008 8.2h56.1c4.3 0 7.9-3.4 8-7.7 1.9-58 25.4-112.3 66.7-153.5 29.4-29.4 65.4-49.8 104.7-59.7 3.9-1 6.5-4.7 6-8.7z" /></svg>'},id={name:"thunderbolt",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M848 359.3H627.7L825.8 109c4.1-5.3.4-13-6.3-13H436c-2.8 0-5.5 1.5-6.9 4L170 547.5c-3.1 5.3.7 12 6.9 12h174.4l-89.4 357.6c-1.9 7.8 7.5 13.3 13.3 7.7L853.5 373c5.2-4.9 1.7-13.7-5.5-13.7z" /></svg>'},sd={name:"tool",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M865.3 244.7c-.3-.3-61.1 59.8-182.1 180.6l-84.9-84.9 180.9-180.9c-95.2-57.3-217.5-42.6-296.8 36.7A244.42 244.42 0 00419 432l1.8 6.7-283.5 283.4c-6.2 6.2-6.2 16.4 0 22.6l141.4 141.4c6.2 6.2 16.4 6.2 22.6 0l283.3-283.3 6.7 1.8c83.7 22.3 173.6-.9 236-63.3 79.4-79.3 94.1-201.6 38-296.6z" /></svg>'},od={name:"thunderbolt",theme:"twotone",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M695.4 164.1H470.8L281.2 491.5h157.4l-60.3 241 319.8-305.1h-211z" fill="#E6E6E6" /><path d="M848.1 359.3H627.8L825.9 109c4.1-5.3.4-13-6.3-13H436.1c-2.8 0-5.5 1.5-6.9 4L170.1 547.5c-3.1 5.3.7 12 6.9 12h174.4L262 917.1c-1.9 7.8 7.5 13.3 13.3 7.7L853.6 373c5.2-4.9 1.7-13.7-5.5-13.7zM378.3 732.5l60.3-241H281.2l189.6-327.4h224.6L487.1 427.4h211L378.3 732.5z" fill="#333" /></svg>'},ad={name:"to-top",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M885 780H165c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h720c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zM400 325.7h73.9V664c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V325.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 171a8 8 0 00-12.6 0l-112 141.7c-4.1 5.3-.4 13 6.3 13z" /></svg>'},cd={name:"tool",theme:"twotone",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M706.8 488.7a32.05 32.05 0 01-45.3 0L537 364.2a32.05 32.05 0 010-45.3l132.9-132.8a184.2 184.2 0 00-144 53.5c-58.1 58.1-69.3 145.3-33.6 214.6L439.5 507c-.1 0-.1-.1-.1-.1L209.3 737l79.2 79.2 274-274.1.1.1 8.8-8.8c69.3 35.7 156.5 24.5 214.6-33.6 39.2-39.1 57.3-92.1 53.6-143.9L706.8 488.7z" fill="#E6E6E6" /><path d="M876.6 239.5c-.5-.9-1.2-1.8-2-2.5-5-5-13.1-5-18.1 0L684.2 409.3l-67.9-67.9L788.7 169c.8-.8 1.4-1.6 2-2.5 3.6-6.1 1.6-13.9-4.5-17.5-98.2-58-226.8-44.7-311.3 39.7-67 67-89.2 162-66.5 247.4l-293 293c-3 3-2.8 7.9.3 11l169.7 169.7c3.1 3.1 8.1 3.3 11 .3l292.9-292.9c85.5 22.8 180.5.7 247.6-66.4 84.4-84.5 97.7-213.1 39.7-311.3zM786 499.8c-58.1 58.1-145.3 69.3-214.6 33.6l-8.8 8.8-.1-.1-274 274.1-79.2-79.2 230.1-230.1s0 .1.1.1l52.8-52.8c-35.7-69.3-24.5-156.5 33.6-214.6a184.2 184.2 0 01144-53.5L537 318.9a32.05 32.05 0 000 45.3l124.5 124.5a32.05 32.05 0 0045.3 0l132.8-132.8c3.7 51.8-14.4 104.8-53.6 143.9z" fill="#333" /></svg>'},ld={name:"transaction",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M668.6 320c0-4.4-3.6-8-8-8h-54.5c-3 0-5.8 1.7-7.1 4.4l-84.7 168.8H511l-84.7-168.8a8 8 0 00-7.1-4.4h-55.7c-1.3 0-2.6.3-3.8 1-3.9 2.1-5.3 7-3.2 10.8l103.9 191.6h-57c-4.4 0-8 3.6-8 8v27.1c0 4.4 3.6 8 8 8h76v39h-76c-4.4 0-8 3.6-8 8v27.1c0 4.4 3.6 8 8 8h76V704c0 4.4 3.6 8 8 8h49.9c4.4 0 8-3.6 8-8v-63.5h76.3c4.4 0 8-3.6 8-8v-27.1c0-4.4-3.6-8-8-8h-76.3v-39h76.3c4.4 0 8-3.6 8-8v-27.1c0-4.4-3.6-8-8-8H564l103.7-191.6c.5-1.1.9-2.4.9-3.7zM157.9 504.2a352.7 352.7 0 01103.5-242.4c32.5-32.5 70.3-58.1 112.4-75.9 43.6-18.4 89.9-27.8 137.6-27.8 47.8 0 94.1 9.3 137.6 27.8 42.1 17.8 79.9 43.4 112.4 75.9 10 10 19.3 20.5 27.9 31.4l-50 39.1a8 8 0 003 14.1l156.8 38.3c5 1.2 9.9-2.6 9.9-7.7l.8-161.5c0-6.7-7.7-10.5-12.9-6.3l-47.8 37.4C770.7 146.3 648.6 82 511.5 82 277 82 86.3 270.1 82 503.8a8 8 0 008 8.2h60c4.3 0 7.8-3.5 7.9-7.8zM934 512h-60c-4.3 0-7.9 3.5-8 7.8a352.7 352.7 0 01-103.5 242.4 352.57 352.57 0 01-112.4 75.9c-43.6 18.4-89.9 27.8-137.6 27.8s-94.1-9.3-137.6-27.8a352.57 352.57 0 01-112.4-75.9c-10-10-19.3-20.5-27.9-31.4l49.9-39.1a8 8 0 00-3-14.1l-156.8-38.3c-5-1.2-9.9 2.6-9.9 7.7l-.8 161.7c0 6.7 7.7 10.5 12.9 6.3l47.8-37.4C253.3 877.7 375.4 942 512.5 942 747 942 937.7 753.9 942 520.2a8 8 0 00-8-8.2z" /></svg>'},ud={name:"trademark-circle",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372zm87.5-334.7c34.8-12.8 78.4-49 78.4-119.2 0-71.2-45.5-131.1-144.2-131.1H378c-4.4 0-8 3.6-8 8v410c0 4.4 3.6 8 8 8h54.5c4.4 0 8-3.6 8-8V561.2h88.7l74.6 159.2c1.3 2.8 4.1 4.6 7.2 4.6h62a7.9 7.9 0 007.1-11.5l-80.6-164.2zM522 505h-81.5V357h83.4c48 0 80.9 25.3 80.9 75.5 0 46.9-29.8 72.5-82.8 72.5z" /></svg>'},hd={name:"trophy",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M868 160h-92v-40c0-4.4-3.6-8-8-8H256c-4.4 0-8 3.6-8 8v40h-92a44 44 0 00-44 44v148c0 81.7 60 149.6 138.2 162C265.6 630.2 359 721.8 476 734.5v105.2H280c-17.7 0-32 14.3-32 32V904c0 4.4 3.6 8 8 8h512c4.4 0 8-3.6 8-8v-32.3c0-17.7-14.3-32-32-32H548V734.5C665 721.8 758.4 630.2 773.8 514 852 501.6 912 433.7 912 352V204a44 44 0 00-44-44zM248 439.6c-37.1-11.9-64-46.7-64-87.6V232h64v207.6zM840 352c0 41-26.9 75.8-64 87.6V232h64v120z" /></svg>'},dd={name:"trademark-circle",theme:"twotone",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" fill="#333" /><path d="M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm170.7 584.2c-1.1.5-2.3.8-3.5.8h-62c-3.1 0-5.9-1.8-7.2-4.6l-74.6-159.2h-88.7V717c0 4.4-3.6 8-8 8H384c-4.4 0-8-3.6-8-8V307c0-4.4 3.6-8 8-8h155.6c98.8 0 144.2 59.9 144.2 131.1 0 70.2-43.6 106.4-78.4 119.2l80.8 164.2c2.1 3.9.4 8.7-3.5 10.7z" fill="#E6E6E6" /><path d="M529.9 357h-83.4v148H528c53 0 82.8-25.6 82.8-72.4 0-50.3-32.9-75.6-80.9-75.6z" fill="#E6E6E6" /><path d="M605.4 549.3c34.8-12.8 78.4-49 78.4-119.2 0-71.2-45.4-131.1-144.2-131.1H384c-4.4 0-8 3.6-8 8v410c0 4.4 3.6 8 8 8h54.7c4.4 0 8-3.6 8-8V561.2h88.7L610 720.4c1.3 2.8 4.1 4.6 7.2 4.6h62c1.2 0 2.4-.3 3.5-.8 3.9-2 5.6-6.8 3.5-10.7l-80.8-164.2zM528 505h-81.5V357h83.4c48 0 80.9 25.3 80.9 75.6 0 46.8-29.8 72.4-82.8 72.4z" fill="#333" /></svg>'},fd={name:"trademark",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372zm87.5-334.7c34.8-12.8 78.4-49 78.4-119.2 0-71.2-45.5-131.1-144.2-131.1H378c-4.4 0-8 3.6-8 8v410c0 4.4 3.6 8 8 8h54.5c4.4 0 8-3.6 8-8V561.2h88.7l74.6 159.2c1.3 2.8 4.1 4.6 7.2 4.6h62a7.9 7.9 0 007.1-11.5l-80.6-164.2zM522 505h-81.5V357h83.4c48 0 80.9 25.3 80.9 75.5 0 46.9-29.8 72.5-82.8 72.5z" /></svg>'},pd={name:"trademark-circle",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm164.7 660.2c-1.1.5-2.3.8-3.5.8h-62c-3.1 0-5.9-1.8-7.2-4.6l-74.6-159.2h-88.7V717c0 4.4-3.6 8-8 8H378c-4.4 0-8-3.6-8-8V307c0-4.4 3.6-8 8-8h155.6c98.8 0 144.2 59.9 144.2 131.1 0 70.2-43.6 106.4-78.4 119.2l80.8 164.2c2.1 3.9.4 8.7-3.5 10.7zM523.9 357h-83.4v148H522c53 0 82.8-25.6 82.8-72.4 0-50.3-32.9-75.6-80.9-75.6z" /></svg>'},md={name:"twitter",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M928 254.3c-30.6 13.2-63.9 22.7-98.2 26.4a170.1 170.1 0 0075-94 336.64 336.64 0 01-108.2 41.2A170.1 170.1 0 00672 174c-94.5 0-170.5 76.6-170.5 170.6 0 13.2 1.6 26.4 4.2 39.1-141.5-7.4-267.7-75-351.6-178.5a169.32 169.32 0 00-23.2 86.1c0 59.2 30.1 111.4 76 142.1a172 172 0 01-77.1-21.7v2.1c0 82.9 58.6 151.6 136.7 167.4a180.6 180.6 0 01-44.9 5.8c-11.1 0-21.6-1.1-32.2-2.6C211 652 273.9 701.1 348.8 702.7c-58.6 45.9-132 72.9-211.7 72.9-14.3 0-27.5-.5-41.2-2.1C171.5 822 261.2 850 357.8 850 671.4 850 843 590.2 843 364.7c0-7.4 0-14.8-.5-22.2 33.2-24.3 62.3-54.4 85.5-88.2z" /></svg>'},gd={name:"trophy",theme:"twotone",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M320 480c0 49.1 19.1 95.3 53.9 130.1 34.7 34.8 81 53.9 130.1 53.9h16c49.1 0 95.3-19.1 130.1-53.9 34.8-34.7 53.9-81 53.9-130.1V184H320v296zM184 352c0 41 26.9 75.8 64 87.6-37.1-11.9-64-46.7-64-87.6zm364 382.5C665 721.8 758.4 630.2 773.8 514 758.3 630.2 665 721.7 548 734.5zM250.2 514C265.6 630.2 359 721.8 476 734.5 359 721.7 265.7 630.2 250.2 514z" fill="#E6E6E6" /><path d="M868 160h-92v-40c0-4.4-3.6-8-8-8H256c-4.4 0-8 3.6-8 8v40h-92a44 44 0 00-44 44v148c0 81.7 60 149.6 138.2 162C265.7 630.2 359 721.7 476 734.5v105.2H280c-17.7 0-32 14.3-32 32V904c0 4.4 3.6 8 8 8h512c4.4 0 8-3.6 8-8v-32.3c0-17.7-14.3-32-32-32H548V734.5C665 721.7 758.3 630.2 773.8 514 852 501.6 912 433.7 912 352V204a44 44 0 00-44-44zM248 439.6a91.99 91.99 0 01-64-87.6V232h64v207.6zM704 480c0 49.1-19.1 95.4-53.9 130.1-34.8 34.8-81 53.9-130.1 53.9h-16c-49.1 0-95.4-19.1-130.1-53.9-34.8-34.8-53.9-81-53.9-130.1V184h384v296zm136-128c0 41-26.9 75.8-64 87.6V232h64v120z" fill="#333" /></svg>'},vd={name:"switcher",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M752 240H144c-17.7 0-32 14.3-32 32v608c0 17.7 14.3 32 32 32h608c17.7 0 32-14.3 32-32V272c0-17.7-14.3-32-32-32zM596 606c0 4.4-3.6 8-8 8H308c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h280c4.4 0 8 3.6 8 8v48zm284-494H264c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h576v576c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V144c0-17.7-14.3-32-32-32z" /></svg>'},yd={name:"underline",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M824 804H200c-4.4 0-8 3.4-8 7.6v60.8c0 4.2 3.6 7.6 8 7.6h624c4.4 0 8-3.4 8-7.6v-60.8c0-4.2-3.6-7.6-8-7.6zm-312-76c69.4 0 134.6-27.1 183.8-76.2C745 602.7 772 537.4 772 468V156c0-6.6-5.4-12-12-12h-60c-6.6 0-12 5.4-12 12v312c0 97-79 176-176 176s-176-79-176-176V156c0-6.6-5.4-12-12-12h-60c-6.6 0-12 5.4-12 12v312c0 69.4 27.1 134.6 76.2 183.8C377.3 701 442.6 728 512 728z" /></svg>'},bd={name:"undo",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M511.4 124C290.5 124.3 112 303 112 523.9c0 128 60.2 242 153.8 315.2l-37.5 48c-4.1 5.3-.3 13 6.3 12.9l167-.8c5.2 0 9-4.9 7.7-9.9L369.8 727a8 8 0 00-14.1-3L315 776.1c-10.2-8-20-16.7-29.3-26a318.64 318.64 0 01-68.6-101.7C200.4 609 192 567.1 192 523.9s8.4-85.1 25.1-124.5c16.1-38.1 39.2-72.3 68.6-101.7 29.4-29.4 63.6-52.5 101.7-68.6C426.9 212.4 468.8 204 512 204s85.1 8.4 124.5 25.1c38.1 16.1 72.3 39.2 101.7 68.6 29.4 29.4 52.5 63.6 68.6 101.7 16.7 39.4 25.1 81.3 25.1 124.5s-8.4 85.1-25.1 124.5a318.64 318.64 0 01-68.6 101.7c-7.5 7.5-15.3 14.5-23.4 21.2a7.93 7.93 0 00-1.2 11.1l39.4 50.5c2.8 3.5 7.9 4.1 11.4 1.3C854.5 760.8 912 649.1 912 523.9c0-221.1-179.4-400.2-400.6-399.9z" /></svg>'},_d={name:"unlock",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M832 464H332V240c0-30.9 25.1-56 56-56h248c30.9 0 56 25.1 56 56v68c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-68c0-70.7-57.3-128-128-128H388c-70.7 0-128 57.3-128 128v224h-68c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V496c0-17.7-14.3-32-32-32zM540 701v53c0 4.4-3.6 8-8 8h-40c-4.4 0-8-3.6-8-8v-53a48.01 48.01 0 1156 0z" /></svg>'},wd={name:"ungroup",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><defs><style /></defs><path d="M736 550H288c-8.8 0-16 7.2-16 16v176c0 8.8 7.2 16 16 16h448c8.8 0 16-7.2 16-16V566c0-8.8-7.2-16-16-16zm-56 136H344v-64h336v64zm208 130c-39.8 0-72 32.2-72 72s32.2 72 72 72 72-32.2 72-72-32.2-72-72-72zm0 96c-13.3 0-24-10.7-24-24s10.7-24 24-24 24 10.7 24 24-10.7 24-24 24zM736 266H288c-8.8 0-16 7.2-16 16v176c0 8.8 7.2 16 16 16h448c8.8 0 16-7.2 16-16V282c0-8.8-7.2-16-16-16zm-56 136H344v-64h336v64zm208-194c39.8 0 72-32.2 72-72s-32.2-72-72-72-72 32.2-72 72 32.2 72 72 72zm0-96c13.3 0 24 10.7 24 24s-10.7 24-24 24-24-10.7-24-24 10.7-24 24-24zM136 64c-39.8 0-72 32.2-72 72s32.2 72 72 72 72-32.2 72-72-32.2-72-72-72zm0 96c-13.3 0-24-10.7-24-24s10.7-24 24-24 24 10.7 24 24-10.7 24-24 24zm0 656c-39.8 0-72 32.2-72 72s32.2 72 72 72 72-32.2 72-72-32.2-72-72-72zm0 96c-13.3 0-24-10.7-24-24s10.7-24 24-24 24 10.7 24 24-10.7 24-24 24z" /></svg>'},Sd={name:"trophy",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M868 160h-92v-40c0-4.4-3.6-8-8-8H256c-4.4 0-8 3.6-8 8v40h-92a44 44 0 00-44 44v148c0 81.7 60 149.6 138.2 162C265.7 630.2 359 721.7 476 734.5v105.2H280c-17.7 0-32 14.3-32 32V904c0 4.4 3.6 8 8 8h512c4.4 0 8-3.6 8-8v-32.3c0-17.7-14.3-32-32-32H548V734.5C665 721.7 758.3 630.2 773.8 514 852 501.6 912 433.7 912 352V204a44 44 0 00-44-44zM184 352V232h64v207.6a91.99 91.99 0 01-64-87.6zm520 128c0 49.1-19.1 95.4-53.9 130.1-34.8 34.8-81 53.9-130.1 53.9h-16c-49.1 0-95.4-19.1-130.1-53.9-34.8-34.8-53.9-81-53.9-130.1V184h384v296zm136-128c0 41-26.9 75.8-64 87.6V232h64v120z" /></svg>'},xd={name:"unlock",theme:"twotone",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M232 840h560V536H232v304zm280-226a48.01 48.01 0 0128 87v53c0 4.4-3.6 8-8 8h-40c-4.4 0-8-3.6-8-8v-53a48.01 48.01 0 0128-87z" fill="#E6E6E6" /><path d="M484 701v53c0 4.4 3.6 8 8 8h40c4.4 0 8-3.6 8-8v-53a48.01 48.01 0 10-56 0z" fill="#333" /><path d="M832 464H332V240c0-30.9 25.1-56 56-56h248c30.9 0 56 25.1 56 56v68c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-68c0-70.7-57.3-128-128-128H388c-70.7 0-128 57.3-128 128v224h-68c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V496c0-17.7-14.3-32-32-32zm-40 376H232V536h560v304z" fill="#333" /></svg>'},Od={name:"tool",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M876.6 239.5c-.5-.9-1.2-1.8-2-2.5-5-5-13.1-5-18.1 0L684.2 409.3l-67.9-67.9L788.7 169c.8-.8 1.4-1.6 2-2.5 3.6-6.1 1.6-13.9-4.5-17.5-98.2-58-226.8-44.7-311.3 39.7-67 67-89.2 162-66.5 247.4l-293 293c-3 3-2.8 7.9.3 11l169.7 169.7c3.1 3.1 8.1 3.3 11 .3l292.9-292.9c85.5 22.8 180.5.7 247.6-66.4 84.4-84.5 97.7-213.1 39.7-311.3zM786 499.8c-58.1 58.1-145.3 69.3-214.6 33.6l-8.8 8.8-.1-.1-274 274.1-79.2-79.2 230.1-230.1s0 .1.1.1l52.8-52.8c-35.7-69.3-24.5-156.5 33.6-214.6a184.2 184.2 0 01144-53.5L537 318.9a32.05 32.05 0 000 45.3l124.5 124.5a32.05 32.05 0 0045.3 0l132.8-132.8c3.7 51.8-14.4 104.8-53.6 143.9z" /></svg>'},kd={name:"translation",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><defs><style /></defs><path d="M140 188h584v164h76V144c0-17.7-14.3-32-32-32H96c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h544v-76H140V188z" /><path d="M414.3 256h-60.6c-3.4 0-6.4 2.2-7.6 5.4L219 629.4c-.3.8-.4 1.7-.4 2.6 0 4.4 3.6 8 8 8h55.1c3.4 0 6.4-2.2 7.6-5.4L322 540h196.2L422 261.4a8.42 8.42 0 00-7.7-5.4zm12.4 228h-85.5L384 360.2 426.7 484zM936 528H800v-93c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v93H592c-13.3 0-24 10.7-24 24v176c0 13.3 10.7 24 24 24h136v152c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V752h136c13.3 0 24-10.7 24-24V552c0-13.3-10.7-24-24-24zM728 680h-88v-80h88v80zm160 0h-88v-80h88v80z" /></svg>'},Cd={name:"tag",theme:"twotone",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M589 164.6L189.3 564.3l270.4 270.4L859.4 435 836 188l-247-23.4zM680 432c-48.5 0-88-39.5-88-88s39.5-88 88-88 88 39.5 88 88-39.5 88-88 88z" fill="#E6E6E6" /><path d="M680 256c-48.5 0-88 39.5-88 88s39.5 88 88 88 88-39.5 88-88-39.5-88-88-88zm0 120c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32z" fill="#333" /><path d="M938 458.8l-29.6-312.6c-1.5-16.2-14.4-29-30.6-30.6L565.2 86h-.4c-3.2 0-5.7 1-7.6 2.9L88.9 557.2a9.96 9.96 0 000 14.1l363.8 363.8a9.9 9.9 0 007.1 2.9c2.7 0 5.2-1 7.1-2.9l468.3-468.3c2-2.1 3-5 2.8-8zM459.7 834.7L189.3 564.3 589 164.6 836 188l23.4 247-399.7 399.7z" fill="#333" /></svg>'},Md={name:"twitter-square",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM727.3 401.7c.3 4.7.3 9.6.3 14.4 0 146.8-111.8 315.9-316.1 315.9-63 0-121.4-18.3-170.6-49.8 9 1 17.6 1.4 26.8 1.4 52 0 99.8-17.6 137.9-47.4-48.8-1-89.8-33-103.8-77 17.1 2.5 32.5 2.5 50.1-2a111 111 0 01-88.9-109v-1.4c14.7 8.3 32 13.4 50.1 14.1a111.13 111.13 0 01-49.5-92.4c0-20.7 5.4-39.6 15.1-56a315.28 315.28 0 00229 116.1C492 353.1 548.4 292 616.2 292c32 0 60.8 13.4 81.1 35 25.1-4.7 49.1-14.1 70.5-26.7-8.3 25.7-25.7 47.4-48.8 61.1 22.4-2.4 44-8.6 64-17.3-15.1 22.2-34 41.9-55.7 57.6z" /></svg>'},Ed={name:"up-square",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM690 624h-46.9c-10.2 0-19.9-4.9-25.9-13.2L512 465.4 406.8 610.8c-6 8.3-15.6 13.2-25.9 13.2H334c-6.5 0-10.3-7.4-6.5-12.7l178-246c3.2-4.4 9.7-4.4 12.9 0l178 246c3.9 5.3.1 12.7-6.4 12.7z" /></svg>'},Td={name:"up-circle",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm178 555h-46.9c-10.2 0-19.9-4.9-25.9-13.2L512 460.4 406.8 605.8c-6 8.3-15.6 13.2-25.9 13.2H334c-6.5 0-10.3-7.4-6.5-12.7l178-246c3.2-4.4 9.7-4.4 12.9 0l178 246c3.9 5.3.1 12.7-6.4 12.7z" /></svg>'},jd={name:"unordered-list",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z" /></svg>'},Dd={name:"unlock",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M832 464H332V240c0-30.9 25.1-56 56-56h248c30.9 0 56 25.1 56 56v68c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-68c0-70.7-57.3-128-128-128H388c-70.7 0-128 57.3-128 128v224h-68c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V496c0-17.7-14.3-32-32-32zm-40 376H232V536h560v304zM484 701v53c0 4.4 3.6 8 8 8h40c4.4 0 8-3.6 8-8v-53a48.01 48.01 0 10-56 0z" /></svg>'},Ad={name:"twitter-circle",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm215.3 337.7c.3 4.7.3 9.6.3 14.4 0 146.8-111.8 315.9-316.1 315.9-63 0-121.4-18.3-170.6-49.8 9 1 17.6 1.4 26.8 1.4 52 0 99.8-17.6 137.9-47.4-48.8-1-89.8-33-103.8-77 17.1 2.5 32.5 2.5 50.1-2a111 111 0 01-88.9-109v-1.4c14.7 8.3 32 13.4 50.1 14.1a111.13 111.13 0 01-49.5-92.4c0-20.7 5.4-39.6 15.1-56a315.28 315.28 0 00229 116.1C492 353.1 548.4 292 616.2 292c32 0 60.8 13.4 81.1 35 25.1-4.7 49.1-14.1 70.5-26.7-8.3 25.7-25.7 47.4-48.8 61.1 22.4-2.4 44-8.6 64-17.3-15.1 22.2-34 41.9-55.7 57.6z" /></svg>'},Ld={name:"up-square",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M334 624h46.9c10.2 0 19.9-4.9 25.9-13.2L512 465.4l105.2 145.4c6 8.3 15.6 13.2 25.9 13.2H690c6.5 0 10.3-7.4 6.5-12.7l-178-246a7.95 7.95 0 00-12.9 0l-178 246A7.96 7.96 0 00334 624z" /><path d="M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z" /></svg>'},zd={name:"usb",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M408 312h48c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8zm352 120V144c0-17.7-14.3-32-32-32H296c-17.7 0-32 14.3-32 32v288c-66.2 0-120 52.1-120 116v356c0 4.4 3.6 8 8 8h720c4.4 0 8-3.6 8-8V548c0-63.9-53.8-116-120-116zm-72 0H336V184h352v248zM568 312h48c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z" /></svg>'},Pd={name:"user-add",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M678.3 642.4c24.2-13 51.9-20.4 81.4-20.4h.1c3 0 4.4-3.6 2.2-5.6a371.67 371.67 0 00-103.7-65.8c-.4-.2-.8-.3-1.2-.5C719.2 505 759.6 431.7 759.6 349c0-137-110.8-248-247.5-248S264.7 212 264.7 349c0 82.7 40.4 156 102.6 201.1-.4.2-.8.3-1.2.5-44.7 18.9-84.8 46-119.3 80.6a373.42 373.42 0 00-80.4 119.5A373.6 373.6 0 00137 888.8a8 8 0 008 8.2h59.9c4.3 0 7.9-3.5 8-7.8 2-77.2 32.9-149.5 87.6-204.3C357 628.2 432.2 597 512.2 597c56.7 0 111.1 15.7 158 45.1a8.1 8.1 0 008.1.3zM512.2 521c-45.8 0-88.9-17.9-121.4-50.4A171.2 171.2 0 01340.5 349c0-45.9 17.9-89.1 50.3-121.6S466.3 177 512.2 177s88.9 17.9 121.4 50.4A171.2 171.2 0 01683.9 349c0 45.9-17.9 89.1-50.3 121.6C601.1 503.1 558 521 512.2 521zM880 759h-84v-84c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v84h-84c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h84v84c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-84h84c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z" /></svg>'},Id={name:"usb",theme:"twotone",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M759.9 504H264.1c-26.5 0-48.1 19.7-48.1 44v292h592V548c0-24.3-21.6-44-48.1-44z" fill="#E6E6E6" /><path d="M456 248h-48c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zm160 0h-48c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z" fill="#333" /><path d="M760 432V144c0-17.7-14.3-32-32-32H296c-17.7 0-32 14.3-32 32v288c-66.2 0-120 52.1-120 116v356c0 4.4 3.6 8 8 8h720c4.4 0 8-3.6 8-8V548c0-63.9-53.8-116-120-116zM336 184h352v248H336V184zm472 656H216V548c0-24.3 21.6-44 48.1-44h495.8c26.5 0 48.1 19.7 48.1 44v292z" fill="#333" /></svg>'},Rd={name:"user-delete",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M678.3 655.4c24.2-13 51.9-20.4 81.4-20.4h.1c3 0 4.4-3.6 2.2-5.6a371.67 371.67 0 00-103.7-65.8c-.4-.2-.8-.3-1.2-.5C719.2 518 759.6 444.7 759.6 362c0-137-110.8-248-247.5-248S264.7 225 264.7 362c0 82.7 40.4 156 102.6 201.1-.4.2-.8.3-1.2.5-44.7 18.9-84.8 46-119.3 80.6a373.42 373.42 0 00-80.4 119.5A373.6 373.6 0 00137 901.8a8 8 0 008 8.2h59.9c4.3 0 7.9-3.5 8-7.8 2-77.2 32.9-149.5 87.6-204.3C357 641.2 432.2 610 512.2 610c56.7 0 111.1 15.7 158 45.1a8.1 8.1 0 008.1.3zM512.2 534c-45.8 0-88.9-17.9-121.4-50.4A171.2 171.2 0 01340.5 362c0-45.9 17.9-89.1 50.3-121.6S466.3 190 512.2 190s88.9 17.9 121.4 50.4A171.2 171.2 0 01683.9 362c0 45.9-17.9 89.1-50.3 121.6C601.1 516.1 558 534 512.2 534zM880 772H640c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h240c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z" /></svg>'},Nd={name:"user",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M858.5 763.6a374 374 0 00-80.6-119.5 375.63 375.63 0 00-119.5-80.6c-.4-.2-.8-.3-1.2-.5C719.5 518 760 444.7 760 362c0-137-111-248-248-248S264 225 264 362c0 82.7 40.5 156 102.8 201.1-.4.2-.8.3-1.2.5-44.8 18.9-85 46-119.5 80.6a375.63 375.63 0 00-80.6 119.5A371.7 371.7 0 00136 901.8a8 8 0 008 8.2h60c4.4 0 7.9-3.5 8-7.8 2-77.2 33-149.5 87.8-204.3 56.7-56.7 132-87.9 212.2-87.9s155.5 31.2 212.2 87.9C779 752.7 810 825 812 902.2c.1 4.4 3.6 7.8 8 7.8h60a8 8 0 008-8.2c-1-47.8-10.9-94.3-29.5-138.2zM512 534c-45.9 0-89.1-17.9-121.6-50.4S340 407.9 340 362c0-45.9 17.9-89.1 50.4-121.6S466.1 190 512 190s89.1 17.9 121.6 50.4S684 316.1 684 362c0 45.9-17.9 89.1-50.4 121.6S557.9 534 512 534z" /></svg>'},Hd={name:"usb",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M760 432V144c0-17.7-14.3-32-32-32H296c-17.7 0-32 14.3-32 32v288c-66.2 0-120 52.1-120 116v356c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V548c0-24.3 21.6-44 48.1-44h495.8c26.5 0 48.1 19.7 48.1 44v356c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V548c0-63.9-53.8-116-120-116zm-424 0V184h352v248H336zm120-184h-48c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zm160 0h-48c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z" /></svg>'},Fd={name:"user-switch",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><defs><style /></defs><path d="M759 335c0-137-111-248-248-248S263 198 263 335c0 82.8 40.6 156.2 103 201.2-.4.2-.7.3-.9.4-44.7 18.9-84.8 46-119.3 80.6a373.42 373.42 0 00-80.4 119.5A373.6 373.6 0 00136 874.8a8 8 0 008 8.2h59.9c4.3 0 7.9-3.5 8-7.8 2-77.2 32.9-149.5 87.6-204.3C356 614.2 431 583 511 583c137 0 248-111 248-248zM511 507c-95 0-172-77-172-172s77-172 172-172 172 77 172 172-77 172-172 172zm105 221h264c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H703.5l47.2-60.1a8.1 8.1 0 001.7-4.9c0-4.4-3.6-8-8-8h-72.6c-4.9 0-9.5 2.3-12.6 6.1l-68.5 87.1c-4.4 5.6-6.8 12.6-6.8 19.8.1 17.7 14.4 32 32.1 32zm240 64H592c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h176.5l-47.2 60.1a8.1 8.1 0 00-1.7 4.9c0 4.4 3.6 8 8 8h72.6c4.9 0 9.5-2.3 12.6-6.1l68.5-87.1c4.4-5.6 6.8-12.6 6.8-19.8-.1-17.7-14.4-32-32.1-32z" /></svg>'},Vd={name:"usergroup-add",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M892 772h-80v-80c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v80h-80c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h80v80c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-80h80c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zM373.5 498.4c-.9-8.7-1.4-17.5-1.4-26.4 0-15.9 1.5-31.4 4.3-46.5.7-3.6-1.2-7.3-4.5-8.8-13.6-6.1-26.1-14.5-36.9-25.1a127.54 127.54 0 01-38.7-95.4c.9-32.1 13.8-62.6 36.3-85.6 24.7-25.3 57.9-39.1 93.2-38.7 31.9.3 62.7 12.6 86 34.4 7.9 7.4 14.7 15.6 20.4 24.4 2 3.1 5.9 4.4 9.3 3.2 17.6-6.1 36.2-10.4 55.3-12.4 5.6-.6 8.8-6.6 6.3-11.6-32.5-64.3-98.9-108.7-175.7-109.9-110.8-1.7-203.2 89.2-203.2 200 0 62.8 28.9 118.8 74.2 155.5-31.8 14.7-61.1 35-86.5 60.4-54.8 54.7-85.8 126.9-87.8 204a8 8 0 008 8.2h56.1c4.3 0 7.9-3.4 8-7.7 1.9-58 25.4-112.3 66.7-153.5 29.4-29.4 65.4-49.8 104.7-59.7 3.8-1.1 6.4-4.8 5.9-8.8zM824 472c0-109.4-87.9-198.3-196.9-200C516.3 270.3 424 361.2 424 472c0 62.8 29 118.8 74.2 155.5a300.95 300.95 0 00-86.4 60.4C357 742.6 326 814.8 324 891.8a8 8 0 008 8.2h56c4.3 0 7.9-3.4 8-7.7 1.9-58 25.4-112.3 66.7-153.5C505.8 695.7 563 672 624 672c110.4 0 200-89.5 200-200zm-109.5 90.5C690.3 586.7 658.2 600 624 600s-66.3-13.3-90.5-37.5a127.26 127.26 0 01-37.5-91.8c.3-32.8 13.4-64.5 36.3-88 24-24.6 56.1-38.3 90.4-38.7 33.9-.3 66.8 12.9 91 36.6 24.8 24.3 38.4 56.8 38.4 91.4-.1 34.2-13.4 66.3-37.6 90.5z" /></svg>'},Bd={name:"usergroup-delete",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M888 784H664c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h224c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zM373.5 510.4c-.9-8.7-1.4-17.5-1.4-26.4 0-15.9 1.5-31.4 4.3-46.5.7-3.6-1.2-7.3-4.5-8.8-13.6-6.1-26.1-14.5-36.9-25.1a127.54 127.54 0 01-38.7-95.4c.9-32.1 13.8-62.6 36.3-85.6 24.7-25.3 57.9-39.1 93.2-38.7 31.9.3 62.7 12.6 86 34.4 7.9 7.4 14.7 15.6 20.4 24.4 2 3.1 5.9 4.4 9.3 3.2 17.6-6.1 36.2-10.4 55.3-12.4 5.6-.6 8.8-6.6 6.3-11.6-32.5-64.3-98.9-108.7-175.7-109.9-110.9-1.7-203.3 89.2-203.3 199.9 0 62.8 28.9 118.8 74.2 155.5-31.8 14.7-61.1 35-86.5 60.4-54.8 54.7-85.8 126.9-87.8 204a8 8 0 008 8.2h56.1c4.3 0 7.9-3.4 8-7.7 1.9-58 25.4-112.3 66.7-153.5 29.4-29.4 65.4-49.8 104.7-59.7 3.9-1 6.5-4.7 6-8.7zM824 484c0-109.4-87.9-198.3-196.9-200C516.3 282.3 424 373.2 424 484c0 62.8 29 118.8 74.2 155.5a300.95 300.95 0 00-86.4 60.4C357 754.6 326 826.8 324 903.8a8 8 0 008 8.2h56c4.3 0 7.9-3.4 8-7.7 1.9-58 25.4-112.3 66.7-153.5C505.8 707.7 563 684 624 684c110.4 0 200-89.5 200-200zm-109.5 90.5C690.3 598.7 658.2 612 624 612s-66.3-13.3-90.5-37.5a127.26 127.26 0 01-37.5-91.8c.3-32.8 13.4-64.5 36.3-88 24-24.6 56.1-38.3 90.4-38.7 33.9-.3 66.8 12.9 91 36.6 24.8 24.3 38.4 56.8 38.4 91.4-.1 34.2-13.4 66.3-37.6 90.5z" /></svg>'},Yd={name:"up-circle",theme:"twotone",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm178 479h-46.9c-10.2 0-19.9-4.9-25.9-13.2L512 460.4 406.8 605.8c-6 8.3-15.6 13.2-25.9 13.2H334c-6.5 0-10.3-7.4-6.5-12.7l178-246c3.2-4.4 9.7-4.4 12.9 0l178 246c3.9 5.3.1 12.7-6.4 12.7z" fill="#E6E6E6" /><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" fill="#333" /><path d="M518.4 360.3a7.95 7.95 0 00-12.9 0l-178 246c-3.8 5.3 0 12.7 6.5 12.7h46.9c10.3 0 19.9-4.9 25.9-13.2L512 460.4l105.2 145.4c6 8.3 15.7 13.2 25.9 13.2H690c6.5 0 10.3-7.4 6.4-12.7l-178-246z" fill="#333" /></svg>'},Ud={name:"up-square",theme:"twotone",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z" fill="#333" /><path d="M184 840h656V184H184v656zm143.5-228.7l178-246c3.2-4.4 9.7-4.4 12.9 0l178 246c3.9 5.3.1 12.7-6.4 12.7h-46.9c-10.2 0-19.9-4.9-25.9-13.2L512 465.4 406.8 610.8c-6 8.3-15.6 13.2-25.9 13.2H334c-6.5 0-10.3-7.4-6.5-12.7z" fill="#E6E6E6" /><path d="M334 624h46.9c10.3 0 19.9-4.9 25.9-13.2L512 465.4l105.2 145.4c6 8.3 15.7 13.2 25.9 13.2H690c6.5 0 10.3-7.4 6.4-12.7l-178-246a7.95 7.95 0 00-12.9 0l-178 246c-3.8 5.3 0 12.7 6.5 12.7z" fill="#333" /></svg>'},Wd={name:"tablet",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M800 64H224c-35.3 0-64 28.7-64 64v768c0 35.3 28.7 64 64 64h576c35.3 0 64-28.7 64-64V128c0-35.3-28.7-64-64-64zm-8 824H232V136h560v752zM472 784a40 40 0 1080 0 40 40 0 10-80 0z" /></svg>'},qd={name:"video-camera-add",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><defs><style /></defs><path d="M368 724H252V608c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v116H72c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h116v116c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V788h116c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z" /><path d="M912 302.3L784 376V224c0-35.3-28.7-64-64-64H128c-35.3 0-64 28.7-64 64v352h72V232h576v560H448v72h272c35.3 0 64-28.7 64-64V648l128 73.7c21.3 12.3 48-3.1 48-27.6V330c0-24.6-26.7-40-48-27.7zM888 625l-104-59.8V458.9L888 399v226z" /><path d="M320 360c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H208c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h112z" /></svg>'},$d={name:"upload",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M400 317.7h73.9V656c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V317.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 163a8 8 0 00-12.6 0l-112 141.7c-4.1 5.3-.4 13 6.3 13zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z" /></svg>'},Gd={name:"wallet",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-32 464H528V448h320v128zm-268-64a40 40 0 1080 0 40 40 0 10-80 0z" /></svg>'},Xd={name:"wallet",theme:"twotone",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 464H528V448h312v128zm0-192H496c-17.7 0-32 14.3-32 32v192c0 17.7 14.3 32 32 32h344v200H184V184h656v200z" fill="#333" /><path d="M528 576h312V448H528v128zm92-104c22.1 0 40 17.9 40 40s-17.9 40-40 40-40-17.9-40-40 17.9-40 40-40z" fill="#E6E6E6" /><path d="M580 512a40 40 0 1080 0 40 40 0 10-80 0z" fill="#333" /><path d="M184 840h656V640H496c-17.7 0-32-14.3-32-32V416c0-17.7 14.3-32 32-32h344V184H184v656z" fill="#E6E6E6" /></svg>'},Kd={name:"vertical-align-middle",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M859.9 474H164.1c-4.5 0-8.1 3.6-8.1 8v60c0 4.4 3.6 8 8.1 8h695.8c4.5 0 8.1-3.6 8.1-8v-60c0-4.4-3.6-8-8.1-8zm-353.6-74.7c2.9 3.7 8.5 3.7 11.3 0l100.8-127.5c3.7-4.7.4-11.7-5.7-11.7H550V104c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v156h-62.8c-6 0-9.4 7-5.7 11.7l100.8 127.6zm11.4 225.4a7.14 7.14 0 00-11.3 0L405.6 752.3a7.23 7.23 0 005.7 11.7H474v156c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V764h62.8c6 0 9.4-7 5.7-11.7L517.7 624.7z" /></svg>'},Jd={name:"vertical-right",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M326 164h-64c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h64c4.4 0 8-3.6 8-8V172c0-4.4-3.6-8-8-8zm444 72.4V164c0-6.8-7.9-10.5-13.1-6.1L335 512l421.9 354.1c5.2 4.4 13.1.7 13.1-6.1v-72.4c0-9.4-4.2-18.4-11.4-24.5L459.4 512l299.2-251.1c7.2-6.1 11.4-15.1 11.4-24.5z" /></svg>'},Qd={name:"up",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 00140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z" /></svg>'},Zd={name:"video-camera",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M912 302.3L784 376V224c0-35.3-28.7-64-64-64H128c-35.3 0-64 28.7-64 64v576c0 35.3 28.7 64 64 64h592c35.3 0 64-28.7 64-64V648l128 73.7c21.3 12.3 48-3.1 48-27.6V330c0-24.6-26.7-40-48-27.7zM328 352c0 4.4-3.6 8-8 8H208c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h112c4.4 0 8 3.6 8 8v48zm560 273l-104-59.8V458.9L888 399v226z" /></svg>'},ef={name:"video-camera",theme:"twotone",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M136 792h576V232H136v560zm64-488c0-4.4 3.6-8 8-8h112c4.4 0 8 3.6 8 8v48c0 4.4-3.6 8-8 8H208c-4.4 0-8-3.6-8-8v-48z" fill="#E6E6E6" /><path d="M912 302.3L784 376V224c0-35.3-28.7-64-64-64H128c-35.3 0-64 28.7-64 64v576c0 35.3 28.7 64 64 64h592c35.3 0 64-28.7 64-64V648l128 73.7c21.3 12.3 48-3.1 48-27.6V330c0-24.6-26.7-40-48-27.7zM712 792H136V232h576v560zm176-167l-104-59.8V458.9L888 399v226z" fill="#333" /><path d="M208 360h112c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H208c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z" fill="#333" /></svg>'},tf={name:"vertical-align-top",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M859.9 168H164.1c-4.5 0-8.1 3.6-8.1 8v60c0 4.4 3.6 8 8.1 8h695.8c4.5 0 8.1-3.6 8.1-8v-60c0-4.4-3.6-8-8.1-8zM518.3 355a8 8 0 00-12.6 0l-112 141.7a7.98 7.98 0 006.3 12.9h73.9V848c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V509.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 355z" /></svg>'},nf={name:"wechat",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M690.1 377.4c5.9 0 11.8.2 17.6.5-24.4-128.7-158.3-227.1-319.9-227.1C209 150.8 64 271.4 64 420.2c0 81.1 43.6 154.2 111.9 203.6a21.5 21.5 0 019.1 17.6c0 2.4-.5 4.6-1.1 6.9-5.5 20.3-14.2 52.8-14.6 54.3-.7 2.6-1.7 5.2-1.7 7.9 0 5.9 4.8 10.8 10.8 10.8 2.3 0 4.2-.9 6.2-2l70.9-40.9c5.3-3.1 11-5 17.2-5 3.2 0 6.4.5 9.5 1.4 33.1 9.5 68.8 14.8 105.7 14.8 6 0 11.9-.1 17.8-.4-7.1-21-10.9-43.1-10.9-66 0-135.8 132.2-245.8 295.3-245.8zm-194.3-86.5c23.8 0 43.2 19.3 43.2 43.1s-19.3 43.1-43.2 43.1c-23.8 0-43.2-19.3-43.2-43.1s19.4-43.1 43.2-43.1zm-215.9 86.2c-23.8 0-43.2-19.3-43.2-43.1s19.3-43.1 43.2-43.1 43.2 19.3 43.2 43.1-19.4 43.1-43.2 43.1zm586.8 415.6c56.9-41.2 93.2-102 93.2-169.7 0-124-120.8-224.5-269.9-224.5-149 0-269.9 100.5-269.9 224.5S540.9 847.5 690 847.5c30.8 0 60.6-4.4 88.1-12.3 2.6-.8 5.2-1.2 7.9-1.2 5.2 0 9.9 1.6 14.3 4.1l59.1 34c1.7 1 3.3 1.7 5.2 1.7a9 9 0 006.4-2.6 9 9 0 002.6-6.4c0-2.2-.9-4.4-1.4-6.6-.3-1.2-7.6-28.3-12.2-45.3-.5-1.9-.9-3.8-.9-5.7.1-5.9 3.1-11.2 7.6-14.5zM600.2 587.2c-19.9 0-36-16.1-36-35.9 0-19.8 16.1-35.9 36-35.9s36 16.1 36 35.9c0 19.8-16.2 35.9-36 35.9zm179.9 0c-19.9 0-36-16.1-36-35.9 0-19.8 16.1-35.9 36-35.9s36 16.1 36 35.9a36.08 36.08 0 01-36 35.9z" /></svg>'},rf={name:"warning",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M955.7 856l-416-720c-6.2-10.7-16.9-16-27.7-16s-21.6 5.3-27.7 16l-416 720C56 877.4 71.4 904 96 904h832c24.6 0 40-26.6 27.7-48zM480 416c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v184c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V416zm32 352a48.01 48.01 0 010-96 48.01 48.01 0 010 96z" /></svg>'},sf={name:"wechat",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M690.1 377.4c5.9 0 11.8.2 17.6.5-24.4-128.7-158.3-227.1-319.9-227.1C209 150.8 64 271.4 64 420.2c0 81.1 43.6 154.2 111.9 203.6a21.5 21.5 0 019.1 17.6c0 2.4-.5 4.6-1.1 6.9-5.5 20.3-14.2 52.8-14.6 54.3-.7 2.6-1.7 5.2-1.7 7.9 0 5.9 4.8 10.8 10.8 10.8 2.3 0 4.2-.9 6.2-2l70.9-40.9c5.3-3.1 11-5 17.2-5 3.2 0 6.4.5 9.5 1.4 33.1 9.5 68.8 14.8 105.7 14.8 6 0 11.9-.1 17.8-.4-7.1-21-10.9-43.1-10.9-66 0-135.8 132.2-245.8 295.3-245.8zm-194.3-86.5c23.8 0 43.2 19.3 43.2 43.1s-19.3 43.1-43.2 43.1c-23.8 0-43.2-19.3-43.2-43.1s19.4-43.1 43.2-43.1zm-215.9 86.2c-23.8 0-43.2-19.3-43.2-43.1s19.3-43.1 43.2-43.1 43.2 19.3 43.2 43.1-19.4 43.1-43.2 43.1zm586.8 415.6c56.9-41.2 93.2-102 93.2-169.7 0-124-120.8-224.5-269.9-224.5-149 0-269.9 100.5-269.9 224.5S540.9 847.5 690 847.5c30.8 0 60.6-4.4 88.1-12.3 2.6-.8 5.2-1.2 7.9-1.2 5.2 0 9.9 1.6 14.3 4.1l59.1 34c1.7 1 3.3 1.7 5.2 1.7a9 9 0 006.4-2.6 9 9 0 002.6-6.4c0-2.2-.9-4.4-1.4-6.6-.3-1.2-7.6-28.3-12.2-45.3-.5-1.9-.9-3.8-.9-5.7.1-5.9 3.1-11.2 7.6-14.5zM600.2 587.2c-19.9 0-36-16.1-36-35.9 0-19.8 16.1-35.9 36-35.9s36 16.1 36 35.9c0 19.8-16.2 35.9-36 35.9zm179.9 0c-19.9 0-36-16.1-36-35.9 0-19.8 16.1-35.9 36-35.9s36 16.1 36 35.9a36.08 36.08 0 01-36 35.9z" /></svg>'},of={name:"video-camera",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M912 302.3L784 376V224c0-35.3-28.7-64-64-64H128c-35.3 0-64 28.7-64 64v576c0 35.3 28.7 64 64 64h592c35.3 0 64-28.7 64-64V648l128 73.7c21.3 12.3 48-3.1 48-27.6V330c0-24.6-26.7-40-48-27.7zM712 792H136V232h576v560zm176-167l-104-59.8V458.9L888 399v226zM208 360h112c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H208c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z" /></svg>'},af={name:"wallet",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 464H528V448h312v128zm0 264H184V184h656v200H496c-17.7 0-32 14.3-32 32v192c0 17.7 14.3 32 32 32h344v200zM580 512a40 40 0 1080 0 40 40 0 10-80 0z" /></svg>'},cf={name:"warning",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M464 720a48 48 0 1096 0 48 48 0 10-96 0zm16-304v184c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V416c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8zm475.7 440l-416-720c-6.2-10.7-16.9-16-27.7-16s-21.6 5.3-27.7 16l-416 720C56 877.4 71.4 904 96 904h832c24.6 0 40-26.6 27.7-48zm-783.5-27.9L512 239.9l339.8 588.2H172.2z" /></svg>'},lf={name:"weibo-circle",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm-44.4 672C353.1 736 236 680.4 236 588.9c0-47.8 30.2-103.1 82.3-155.3 69.5-69.6 150.6-101.4 181.1-70.8 13.5 13.5 14.8 36.8 6.1 64.6-4.5 14 13.1 6.3 13.1 6.3 56.2-23.6 105.2-25 123.1.7 9.6 13.7 8.6 32.8-.2 55.1-4.1 10.2 1.3 11.8 9 14.1 31.7 9.8 66.9 33.6 66.9 75.5.2 69.5-99.7 156.9-249.8 156.9zm207.3-290.8a34.9 34.9 0 00-7.2-34.1 34.68 34.68 0 00-33.1-10.7 18.24 18.24 0 01-7.6-35.7c24.1-5.1 50.1 2.3 67.7 21.9 17.7 19.6 22.4 46.3 14.9 69.8a18.13 18.13 0 01-22.9 11.7 18.18 18.18 0 01-11.8-22.9zm106 34.3s0 .1 0 0a21.1 21.1 0 01-26.6 13.7 21.19 21.19 0 01-13.6-26.7c11-34.2 4-73.2-21.7-101.8a104.04 104.04 0 00-98.9-32.1 21.14 21.14 0 01-25.1-16.3 21.07 21.07 0 0116.2-25.1c49.4-10.5 102.8 4.8 139.1 45.1 36.3 40.2 46.1 95.1 30.6 143.2zm-334.5 6.1c-91.4 9-160.7 65.1-154.7 125.2 5.9 60.1 84.8 101.5 176.2 92.5 91.4-9.1 160.7-65.1 154.7-125.3-5.9-60.1-84.8-101.5-176.2-92.4zm80.2 141.7c-18.7 42.3-72.3 64.8-117.8 50.1-43.9-14.2-62.5-57.7-43.3-96.8 18.9-38.4 68-60.1 111.5-48.8 45 11.7 68 54.2 49.6 95.5zm-93-32.2c-14.2-5.9-32.4.2-41.2 13.9-8.8 13.8-4.7 30.2 9.3 36.6 14.3 6.5 33.2.3 42-13.8 8.8-14.3 4.2-30.6-10.1-36.7zm34.9-14.5c-5.4-2.2-12.2.5-15.4 5.8-3.1 5.4-1.4 11.5 4.1 13.8 5.5 2.3 12.6-.3 15.8-5.8 3-5.6 1-11.8-4.5-13.8z" /></svg>'},uf={name:"weibo-circle",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm-44.4 672C353.1 736 236 680.4 236 588.9c0-47.8 30.2-103.1 82.3-155.3 69.5-69.6 150.6-101.4 181.1-70.8 13.5 13.5 14.8 36.8 6.1 64.6-4.5 14 13.1 6.3 13.1 6.3 56.2-23.6 105.2-25 123.1.7 9.6 13.7 8.6 32.8-.2 55.1-4.1 10.2 1.3 11.8 9 14.1 31.7 9.8 66.9 33.6 66.9 75.5.2 69.5-99.7 156.9-249.8 156.9zm207.3-290.8a34.9 34.9 0 00-7.2-34.1 34.68 34.68 0 00-33.1-10.7 18.24 18.24 0 01-7.6-35.7c24.1-5.1 50.1 2.3 67.7 21.9 17.7 19.6 22.4 46.3 14.9 69.8a18.13 18.13 0 01-22.9 11.7 18.18 18.18 0 01-11.8-22.9zm106 34.3s0 .1 0 0a21.1 21.1 0 01-26.6 13.7 21.19 21.19 0 01-13.6-26.7c11-34.2 4-73.2-21.7-101.8a104.04 104.04 0 00-98.9-32.1 21.14 21.14 0 01-25.1-16.3 21.07 21.07 0 0116.2-25.1c49.4-10.5 102.8 4.8 139.1 45.1 36.3 40.2 46.1 95.1 30.6 143.2zm-334.5 6.1c-91.4 9-160.7 65.1-154.7 125.2 5.9 60.1 84.8 101.5 176.2 92.5 91.4-9.1 160.7-65.1 154.7-125.3-5.9-60.1-84.8-101.5-176.2-92.4zm80.2 141.7c-18.7 42.3-72.3 64.8-117.8 50.1-43.9-14.2-62.5-57.7-43.3-96.8 18.9-38.4 68-60.1 111.5-48.8 45 11.7 68 54.2 49.6 95.5zm-93-32.2c-14.2-5.9-32.4.2-41.2 13.9-8.8 13.8-4.7 30.2 9.3 36.6 14.3 6.5 33.2.3 42-13.8 8.8-14.3 4.2-30.6-10.1-36.7zm34.9-14.5c-5.4-2.2-12.2.5-15.4 5.8-3.1 5.4-1.4 11.5 4.1 13.8 5.5 2.3 12.6-.3 15.8-5.8 3-5.6 1-11.8-4.5-13.8z" /></svg>'},hf={name:"whats-app",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><defs><style /></defs><path d="M713.5 599.9c-10.9-5.6-65.2-32.2-75.3-35.8-10.1-3.8-17.5-5.6-24.8 5.6-7.4 11.1-28.4 35.8-35 43.3-6.4 7.4-12.9 8.3-23.8 2.8-64.8-32.4-107.3-57.8-150-131.1-11.3-19.5 11.3-18.1 32.4-60.2 3.6-7.4 1.8-13.7-1-19.3-2.8-5.6-24.8-59.8-34-81.9-8.9-21.5-18.1-18.5-24.8-18.9-6.4-.4-13.7-.4-21.1-.4-7.4 0-19.3 2.8-29.4 13.7-10.1 11.1-38.6 37.8-38.6 92s39.5 106.7 44.9 114.1c5.6 7.4 77.7 118.6 188.4 166.5 70 30.2 97.4 32.8 132.4 27.6 21.3-3.2 65.2-26.6 74.3-52.5 9.1-25.8 9.1-47.9 6.4-52.5-2.7-4.9-10.1-7.7-21-13z" /><path d="M925.2 338.4c-22.6-53.7-55-101.9-96.3-143.3a444.35 444.35 0 00-143.3-96.3C630.6 75.7 572.2 64 512 64h-2c-60.6.3-119.3 12.3-174.5 35.9a445.35 445.35 0 00-142 96.5c-40.9 41.3-73 89.3-95.2 142.8-23 55.4-34.6 114.3-34.3 174.9A449.4 449.4 0 00112 714v152a46 46 0 0046 46h152.1A449.4 449.4 0 00510 960h2.1c59.9 0 118-11.6 172.7-34.3a444.48 444.48 0 00142.8-95.2c41.3-40.9 73.8-88.7 96.5-142 23.6-55.2 35.6-113.9 35.9-174.5.3-60.9-11.5-120-34.8-175.6zm-151.1 438C704 845.8 611 884 512 884h-1.7c-60.3-.3-120.2-15.3-173.1-43.5l-8.4-4.5H188V695.2l-4.5-8.4C155.3 633.9 140.3 574 140 513.7c-.4-99.7 37.7-193.3 107.6-263.8 69.8-70.5 163.1-109.5 262.8-109.9h1.7c50 0 98.5 9.7 144.2 28.9 44.6 18.7 84.6 45.6 119 80 34.3 34.3 61.3 74.4 80 119 19.4 46.2 29.1 95.2 28.9 145.8-.6 99.6-39.7 192.9-110.1 262.7z" /></svg>'},df={name:"weibo-square",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M433.6 595.1c-14.2-5.9-32.4.2-41.2 13.9-8.8 13.8-4.7 30.2 9.3 36.6 14.3 6.5 33.2.3 42-13.8 8.8-14.3 4.2-30.6-10.1-36.7zM880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM467.6 736C353.1 736 236 680.4 236 588.9c0-47.8 30.2-103.1 82.3-155.3 69.5-69.6 150.6-101.4 181.1-70.8 13.5 13.5 14.8 36.8 6.1 64.6-4.5 14 13.1 6.3 13.1 6.3 56.2-23.6 105.2-25 123.1.7 9.6 13.7 8.6 32.8-.2 55.1-4.1 10.2 1.3 11.8 9 14.1 31.7 9.8 66.9 33.6 66.9 75.5.2 69.5-99.7 156.9-249.8 156.9zm207.3-290.8a34.9 34.9 0 00-7.2-34.1 34.68 34.68 0 00-33.1-10.7 18.24 18.24 0 01-7.6-35.7c24.1-5.1 50.1 2.3 67.7 21.9 17.7 19.6 22.4 46.3 14.9 69.8a18.13 18.13 0 01-22.9 11.7 18.18 18.18 0 01-11.8-22.9zm106 34.3s0 .1 0 0a21.1 21.1 0 01-26.6 13.7 21.19 21.19 0 01-13.6-26.7c11-34.2 4-73.2-21.7-101.8a104.04 104.04 0 00-98.9-32.1 21.14 21.14 0 01-25.1-16.3 21.07 21.07 0 0116.2-25.1c49.4-10.5 102.8 4.8 139.1 45.1 36.3 40.2 46.1 95.1 30.6 143.2zm-334.5 6.1c-91.4 9-160.7 65.1-154.7 125.2 5.9 60.1 84.8 101.5 176.2 92.5 91.4-9.1 160.7-65.1 154.7-125.3-5.9-60.1-84.8-101.5-176.2-92.4zm80.2 141.7c-18.7 42.3-72.3 64.8-117.8 50.1-43.9-14.2-62.5-57.7-43.3-96.8 18.9-38.4 68-60.1 111.5-48.8 45 11.7 68 54.2 49.6 95.5zm-58.1-46.7c-5.4-2.2-12.2.5-15.4 5.8-3.1 5.4-1.4 11.5 4.1 13.8 5.5 2.3 12.6-.3 15.8-5.8 3-5.6 1-11.8-4.5-13.8z" /></svg>'},ff={name:"weibo-square",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M433.6 595.1c-14.2-5.9-32.4.2-41.2 13.9-8.8 13.8-4.7 30.2 9.3 36.6 14.3 6.5 33.2.3 42-13.8 8.8-14.3 4.2-30.6-10.1-36.7zM880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM467.6 736C353.1 736 236 680.4 236 588.9c0-47.8 30.2-103.1 82.3-155.3 69.5-69.6 150.6-101.4 181.1-70.8 13.5 13.5 14.8 36.8 6.1 64.6-4.5 14 13.1 6.3 13.1 6.3 56.2-23.6 105.2-25 123.1.7 9.6 13.7 8.6 32.8-.2 55.1-4.1 10.2 1.3 11.8 9 14.1 31.7 9.8 66.9 33.6 66.9 75.5.2 69.5-99.7 156.9-249.8 156.9zm207.3-290.8a34.9 34.9 0 00-7.2-34.1 34.68 34.68 0 00-33.1-10.7 18.24 18.24 0 01-7.6-35.7c24.1-5.1 50.1 2.3 67.7 21.9 17.7 19.6 22.4 46.3 14.9 69.8a18.13 18.13 0 01-22.9 11.7 18.18 18.18 0 01-11.8-22.9zm106 34.3s0 .1 0 0a21.1 21.1 0 01-26.6 13.7 21.19 21.19 0 01-13.6-26.7c11-34.2 4-73.2-21.7-101.8a104.04 104.04 0 00-98.9-32.1 21.14 21.14 0 01-25.1-16.3 21.07 21.07 0 0116.2-25.1c49.4-10.5 102.8 4.8 139.1 45.1 36.3 40.2 46.1 95.1 30.6 143.2zm-334.5 6.1c-91.4 9-160.7 65.1-154.7 125.2 5.9 60.1 84.8 101.5 176.2 92.5 91.4-9.1 160.7-65.1 154.7-125.3-5.9-60.1-84.8-101.5-176.2-92.4zm80.2 141.7c-18.7 42.3-72.3 64.8-117.8 50.1-43.9-14.2-62.5-57.7-43.3-96.8 18.9-38.4 68-60.1 111.5-48.8 45 11.7 68 54.2 49.6 95.5zm-58.1-46.7c-5.4-2.2-12.2.5-15.4 5.8-3.1 5.4-1.4 11.5 4.1 13.8 5.5 2.3 12.6-.3 15.8-5.8 3-5.6 1-11.8-4.5-13.8z" /></svg>'},pf={name:"vertical-left",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M762 164h-64c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h64c4.4 0 8-3.6 8-8V172c0-4.4-3.6-8-8-8zm-508 0v72.4c0 9.5 4.2 18.4 11.4 24.5L564.6 512 265.4 763.1c-7.2 6.1-11.4 15-11.4 24.5V860c0 6.8 7.9 10.5 13.1 6.1L689 512 267.1 157.9A7.95 7.95 0 00254 164z" /></svg>'},mf={name:"warning",theme:"twotone",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M955.7 856l-416-720c-6.2-10.7-16.9-16-27.7-16s-21.6 5.3-27.7 16l-416 720C56 877.4 71.4 904 96 904h832c24.6 0 40-26.6 27.7-48zm-783.5-27.9L512 239.9l339.8 588.2H172.2z" fill="#333" /><path d="M172.2 828.1h679.6L512 239.9 172.2 828.1zM560 720a48.01 48.01 0 01-96 0 48.01 48.01 0 0196 0zm-16-304v184c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V416c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8z" fill="#E6E6E6" /><path d="M464 720a48 48 0 1096 0 48 48 0 10-96 0zm16-304v184c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V416c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8z" fill="#333" /></svg>'},gf={name:"wifi",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M723 620.5C666.8 571.6 593.4 542 513 542s-153.8 29.6-210.1 78.6a8.1 8.1 0 00-.8 11.2l36 42.9c2.9 3.4 8 3.8 11.4.9C393.1 637.2 450.3 614 513 614s119.9 23.2 163.5 61.5c3.4 2.9 8.5 2.5 11.4-.9l36-42.9c2.8-3.3 2.4-8.3-.9-11.2zm117.4-140.1C751.7 406.5 637.6 362 513 362s-238.7 44.5-327.5 118.4a8.05 8.05 0 00-1 11.3l36 42.9c2.8 3.4 7.9 3.8 11.2 1C308 472.2 406.1 434 513 434s205 38.2 281.2 101.6c3.4 2.8 8.4 2.4 11.2-1l36-42.9c2.8-3.4 2.4-8.5-1-11.3zm116.7-139C835.7 241.8 680.3 182 511 182c-168.2 0-322.6 59-443.7 157.4a8 8 0 00-1.1 11.4l36 42.9c2.8 3.3 7.8 3.8 11.1 1.1C222 306.7 360.3 254 511 254c151.8 0 291 53.5 400 142.7 3.4 2.8 8.4 2.3 11.2-1.1l36-42.9c2.9-3.4 2.4-8.5-1.1-11.3zM448 778a64 64 0 10128 0 64 64 0 10-128 0z" /></svg>'},vf={name:"weibo",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M457.3 543c-68.1-17.7-145 16.2-174.6 76.2-30.1 61.2-1 129.1 67.8 151.3 71.2 23 155.2-12.2 184.4-78.3 28.7-64.6-7.2-131-77.6-149.2zm-52 156.2c-13.8 22.1-43.5 31.7-65.8 21.6-22-10-28.5-35.7-14.6-57.2 13.7-21.4 42.3-31 64.4-21.7 22.4 9.5 29.6 35 16 57.3zm45.5-58.5c-5 8.6-16.1 12.7-24.7 9.1-8.5-3.5-11.2-13.1-6.4-21.5 5-8.4 15.6-12.4 24.1-9.1 8.7 3.2 11.8 12.9 7 21.5zm334.5-197.2c15 4.8 31-3.4 35.9-18.3 11.8-36.6 4.4-78.4-23.2-109a111.39 111.39 0 00-106-34.3 28.45 28.45 0 00-21.9 33.8 28.39 28.39 0 0033.8 21.8c18.4-3.9 38.3 1.8 51.9 16.7a54.2 54.2 0 0111.3 53.3 28.45 28.45 0 0018.2 36zm99.8-206c-56.7-62.9-140.4-86.9-217.7-70.5a32.98 32.98 0 00-25.4 39.3 33.12 33.12 0 0039.3 25.5c55-11.7 114.4 5.4 154.8 50.1 40.3 44.7 51.2 105.7 34 159.1-5.6 17.4 3.9 36 21.3 41.7 17.4 5.6 36-3.9 41.6-21.2v-.1c24.1-75.4 8.9-161.1-47.9-223.9zM729 499c-12.2-3.6-20.5-6.1-14.1-22.1 13.8-34.7 15.2-64.7.3-86-28-40.1-104.8-37.9-192.8-1.1 0 0-27.6 12.1-20.6-9.8 13.5-43.5 11.5-79.9-9.6-101-47.7-47.8-174.6 1.8-283.5 110.6C127.3 471.1 80 557.5 80 632.2 80 775.1 263.2 862 442.5 862c235 0 391.3-136.5 391.3-245 0-65.5-55.2-102.6-104.8-118zM443 810.8c-143 14.1-266.5-50.5-275.8-144.5-9.3-93.9 99.2-181.5 242.2-195.6 143-14.2 266.5 50.5 275.8 144.4C694.4 709 586 796.6 443 810.8z" /></svg>'},yf={name:"windows",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M523.8 191.4v288.9h382V128.1zm0 642.2l382 62.2v-352h-382zM120.1 480.2H443V201.9l-322.9 53.5zm0 290.4L443 823.2V543.8H120.1z" /></svg>'},bf={name:"windows",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M120.1 770.6L443 823.2V543.8H120.1v226.8zm63.4-163.5h196.2v141.6l-196.2-31.9V607.1zm340.3 226.5l382 62.2v-352h-382v289.8zm63.4-226.5h255.3v214.4l-255.3-41.6V607.1zm-63.4-415.7v288.8h382V128.1l-382 63.3zm318.7 225.5H587.3V245l255.3-42.3v214.2zm-722.4 63.3H443V201.9l-322.9 53.5v224.8zM183.5 309l196.2-32.5v140.4H183.5V309z" /></svg>'},_f={name:"vertical-align-bottom",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M859.9 780H164.1c-4.5 0-8.1 3.6-8.1 8v60c0 4.4 3.6 8 8.1 8h695.8c4.5 0 8.1-3.6 8.1-8v-60c0-4.4-3.6-8-8.1-8zM505.7 669a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V176c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8z" /></svg>'},wf={name:"youtube",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M941.3 296.1a112.3 112.3 0 00-79.2-79.3C792.2 198 512 198 512 198s-280.2 0-350.1 18.7A112.12 112.12 0 0082.7 296C64 366 64 512 64 512s0 146 18.7 215.9c10.3 38.6 40.7 69 79.2 79.3C231.8 826 512 826 512 826s280.2 0 350.1-18.8c38.6-10.3 68.9-40.7 79.2-79.3C960 658 960 512 960 512s0-146-18.7-215.9zM423 646V378l232 133-232 135z" /></svg>'},Sf={name:"yahoo",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M937.3 231H824.7c-15.5 0-27.7 12.6-27.1 28.1l13.1 366h84.4l65.4-366.4c2.7-15.2-7.8-27.7-23.2-27.7zm-77.4 450.4h-14.1c-27.1 0-49.2 22.2-49.2 49.3v14.1c0 27.1 22.2 49.3 49.2 49.3h14.1c27.1 0 49.2-22.2 49.2-49.3v-14.1c0-27.1-22.2-49.3-49.2-49.3zM402.6 231C216.2 231 65 357 65 512.5S216.2 794 402.6 794s337.6-126 337.6-281.5S589.1 231 402.6 231zm225.2 225.2h-65.3L458.9 559.8v65.3h84.4v56.3H318.2v-56.3h84.4v-65.3L242.9 399.9h-37v-56.3h168.5v56.3h-37l93.4 93.5 28.1-28.1V400h168.8v56.2z" /></svg>'},xf={name:"yuque",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M854.6 370.6c-9.9-39.4 9.9-102.2 73.4-124.4l-67.9-3.6s-25.7-90-143.6-98c-117.9-8.1-195-3-195-3s87.4 55.6 52.4 154.7c-25.6 52.5-65.8 95.6-108.8 144.7-1.3 1.3-2.5 2.6-3.5 3.7C319.4 605 96 860 96 860c245.9 64.4 410.7-6.3 508.2-91.1 20.5-.2 35.9-.3 46.3-.3 135.8 0 250.6-117.6 245.9-248.4-3.2-89.9-31.9-110.2-41.8-149.6z" /></svg>'},Of={name:"yahoo",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M859.9 681.4h-14.1c-27.1 0-49.2 22.2-49.2 49.3v14.1c0 27.1 22.2 49.3 49.2 49.3h14.1c27.1 0 49.2-22.2 49.2-49.3v-14.1c0-27.1-22.2-49.3-49.2-49.3zM402.6 231C216.2 231 65 357 65 512.5S216.2 794 402.6 794s337.6-126 337.6-281.5S589.1 231 402.6 231zm0 507C245.1 738 121 634.6 121 512.5c0-62.3 32.3-119.7 84.9-161v48.4h37l159.8 159.9v65.3h-84.4v56.3h225.1v-56.3H459v-65.3l103.5-103.6h65.3v-56.3H459v65.3l-28.1 28.1-93.4-93.5h37v-56.3H216.4c49.4-35 114.3-56.6 186.2-56.6 157.6 0 281.6 103.4 281.6 225.5S560.2 738 402.6 738zm534.7-507H824.7c-15.5 0-27.7 12.6-27.1 28.1l13.1 366h84.4l65.4-366.4c2.7-15.2-7.8-27.7-23.2-27.7z" /></svg>'},kf={name:"woman",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M712.8 548.8c53.6-53.6 83.2-125 83.2-200.8 0-75.9-29.5-147.2-83.2-200.8C659.2 93.6 587.8 64 512 64s-147.2 29.5-200.8 83.2C257.6 200.9 228 272.1 228 348c0 63.8 20.9 124.4 59.4 173.9 7.3 9.4 15.2 18.3 23.7 26.9 8.5 8.5 17.5 16.4 26.8 23.7 39.6 30.8 86.3 50.4 136.1 57V736H360c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h114v140c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V812h114c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8H550V629.5c61.5-8.2 118.2-36.1 162.8-80.7zM512 556c-55.6 0-107.7-21.6-147.1-60.9C325.6 455.8 304 403.6 304 348s21.6-107.7 60.9-147.1C404.2 161.5 456.4 140 512 140s107.7 21.6 147.1 60.9C698.4 240.2 720 292.4 720 348s-21.6 107.7-60.9 147.1C619.7 534.4 567.6 556 512 556z" /></svg>'},Cf={name:"zhihu-circle",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm-90.7 477.8l-.1 1.5c-1.5 20.4-6.3 43.9-12.9 67.6l24-18.1 71 80.7c9.2 33-3.3 63.1-3.3 63.1l-95.7-111.9v-.1c-8.9 29-20.1 57.3-33.3 84.7-22.6 45.7-55.2 54.7-89.5 57.7-34.4 3-23.3-5.3-23.3-5.3 68-55.5 78-87.8 96.8-123.1 11.9-22.3 20.4-64.3 25.3-96.8H264.1s4.8-31.2 19.2-41.7h101.6c.6-15.3-1.3-102.8-2-131.4h-49.4c-9.2 45-41 56.7-48.1 60.1-7 3.4-23.6 7.1-21.1 0 2.6-7.1 27-46.2 43.2-110.7 16.3-64.6 63.9-62 63.9-62-12.8 22.5-22.4 73.6-22.4 73.6h159.7c10.1 0 10.6 39 10.6 39h-90.8c-.7 22.7-2.8 83.8-5 131.4H519s12.2 15.4 12.2 41.7H421.3zm346.5 167h-87.6l-69.5 46.6-16.4-46.6h-40.1V321.5h213.6v387.3zM408.2 611s0-.1 0 0zm216 94.3l56.8-38.1h45.6-.1V364.7H596.7v302.5h14.1z" /></svg>'},Mf={name:"yuque",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M854.6 370.6c-9.9-39.4 9.9-102.2 73.4-124.4l-67.9-3.6s-25.7-90-143.6-98c-117.8-8.1-194.9-3-195-3 .1 0 87.4 55.6 52.4 154.7-25.6 52.5-65.8 95.6-108.8 144.7-1.3 1.3-2.5 2.6-3.5 3.7C319.4 605 96 860 96 860c245.9 64.4 410.7-6.3 508.2-91.1 20.5-.2 35.9-.3 46.3-.3 135.8 0 250.6-117.6 245.9-248.4-3.2-89.9-31.9-110.2-41.8-149.6zm-204.1 334c-10.6 0-26.2.1-46.8.3l-23.6.2-17.8 15.5c-47.1 41-104.4 71.5-171.4 87.6-52.5 12.6-110 16.2-172.7 9.6 18-20.5 36.5-41.6 55.4-63.1 92-104.6 173.8-197.5 236.9-268.5l1.4-1.4 1.3-1.5c4.1-4.6 20.6-23.3 24.7-28.1 9.7-11.1 17.3-19.9 24.5-28.6 30.7-36.7 52.2-67.8 69-102.2l1.6-3.3 1.2-3.4c13.7-38.8 15.4-76.9 6.2-112.8 22.5.7 46.5 1.9 71.7 3.6 33.3 2.3 55.5 12.9 71.1 29.2 5.8 6 10.2 12.5 13.4 18.7 1 2 1.7 3.6 2.3 5l5 17.7c-15.7 34.5-19.9 73.3-11.4 107.2 3 11.8 6.9 22.4 12.3 34.4 2.1 4.7 9.5 20.1 11 23.3 10.3 22.7 15.4 43 16.7 78.7 3.3 94.6-82.7 181.9-182 181.9z" /></svg>'},Ef={name:"zhihu",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M564.7 230.1V803h60l25.2 71.4L756.3 803h131.5V230.1H564.7zm247.7 497h-59.9l-75.1 50.4-17.8-50.4h-18V308.3h170.7v418.8zM526.1 486.9H393.3c2.1-44.9 4.3-104.3 6.6-172.9h130.9l-.1-8.1c0-.6-.2-14.7-2.3-29.1-2.1-15-6.6-34.9-21-34.9H287.8c4.4-20.6 15.7-69.7 29.4-93.8l6.4-11.2-12.9-.7c-.8 0-19.6-.9-41.4 10.6-35.7 19-51.7 56.4-58.7 84.4-18.4 73.1-44.6 123.9-55.7 145.6-3.3 6.4-5.3 10.2-6.2 12.8-1.8 4.9-.8 9.8 2.8 13 10.5 9.5 38.2-2.9 38.5-3 .6-.3 1.3-.6 2.2-1 13.9-6.3 55.1-25 69.8-84.5h56.7c.7 32.2 3.1 138.4 2.9 172.9h-141l-2.1 1.5c-23.1 16.9-30.5 63.2-30.8 65.2l-1.4 9.2h167c-12.3 78.3-26.5 113.4-34 127.4-3.7 7-7.3 14-10.7 20.8-21.3 42.2-43.4 85.8-126.3 153.6-3.6 2.8-7 8-4.8 13.7 2.4 6.3 9.3 9.1 24.6 9.1 5.4 0 11.8-.3 19.4-1 49.9-4.4 100.8-18 135.1-87.6 17-35.1 31.7-71.7 43.9-108.9L497 850l5-12c.8-1.9 19-46.3 5.1-95.9l-.5-1.8-108.1-123-22 16.6c6.4-26.1 10.6-49.9 12.5-71.1h158.7v-8c0-40.1-18.5-63.9-19.2-64.9l-2.4-3z" /></svg>'},Tf={name:"up-circle",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M518.5 360.3a7.95 7.95 0 00-12.9 0l-178 246c-3.8 5.3 0 12.7 6.5 12.7H381c10.2 0 19.9-4.9 25.9-13.2L512 460.4l105.2 145.4c6 8.3 15.6 13.2 25.9 13.2H690c6.5 0 10.3-7.4 6.5-12.7l-178-246z" /><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" /></svg>'},jf={name:"zoom-in",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M637 443H519V309c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v134H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h118v134c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V519h118c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z" /></svg>'},Df={name:"youtube",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M960 509.2c0-2.2 0-4.7-.1-7.6-.1-8.1-.3-17.2-.5-26.9-.8-27.9-2.2-55.7-4.4-81.9-3-36.1-7.4-66.2-13.4-88.8a139.52 139.52 0 00-98.3-98.5c-28.3-7.6-83.7-12.3-161.7-15.2-37.1-1.4-76.8-2.3-116.5-2.8-13.9-.2-26.8-.3-38.4-.4h-29.4c-11.6.1-24.5.2-38.4.4-39.7.5-79.4 1.4-116.5 2.8-78 3-133.5 7.7-161.7 15.2A139.35 139.35 0 0082.4 304C76.3 326.6 72 356.7 69 392.8c-2.2 26.2-3.6 54-4.4 81.9-.3 9.7-.4 18.8-.5 26.9 0 2.9-.1 5.4-.1 7.6v5.6c0 2.2 0 4.7.1 7.6.1 8.1.3 17.2.5 26.9.8 27.9 2.2 55.7 4.4 81.9 3 36.1 7.4 66.2 13.4 88.8 12.8 47.9 50.4 85.7 98.3 98.5 28.2 7.6 83.7 12.3 161.7 15.2 37.1 1.4 76.8 2.3 116.5 2.8 13.9.2 26.8.3 38.4.4h29.4c11.6-.1 24.5-.2 38.4-.4 39.7-.5 79.4-1.4 116.5-2.8 78-3 133.5-7.7 161.7-15.2 47.9-12.8 85.5-50.5 98.3-98.5 6.1-22.6 10.4-52.7 13.4-88.8 2.2-26.2 3.6-54 4.4-81.9.3-9.7.4-18.8.5-26.9 0-2.9.1-5.4.1-7.6v-5.6zm-72 5.2c0 2.1 0 4.4-.1 7.1-.1 7.8-.3 16.4-.5 25.7-.7 26.6-2.1 53.2-4.2 77.9-2.7 32.2-6.5 58.6-11.2 76.3-6.2 23.1-24.4 41.4-47.4 47.5-21 5.6-73.9 10.1-145.8 12.8-36.4 1.4-75.6 2.3-114.7 2.8-13.7.2-26.4.3-37.8.3h-28.6l-37.8-.3c-39.1-.5-78.2-1.4-114.7-2.8-71.9-2.8-124.9-7.2-145.8-12.8-23-6.2-41.2-24.4-47.4-47.5-4.7-17.7-8.5-44.1-11.2-76.3-2.1-24.7-3.4-51.3-4.2-77.9-.3-9.3-.4-18-.5-25.7 0-2.7-.1-5.1-.1-7.1v-4.8c0-2.1 0-4.4.1-7.1.1-7.8.3-16.4.5-25.7.7-26.6 2.1-53.2 4.2-77.9 2.7-32.2 6.5-58.6 11.2-76.3 6.2-23.1 24.4-41.4 47.4-47.5 21-5.6 73.9-10.1 145.8-12.8 36.4-1.4 75.6-2.3 114.7-2.8 13.7-.2 26.4-.3 37.8-.3h28.6l37.8.3c39.1.5 78.2 1.4 114.7 2.8 71.9 2.8 124.9 7.2 145.8 12.8 23 6.2 41.2 24.4 47.4 47.5 4.7 17.7 8.5 44.1 11.2 76.3 2.1 24.7 3.4 51.3 4.2 77.9.3 9.3.4 18 .5 25.7 0 2.7.1 5.1.1 7.1v4.8zM423 646l232-135-232-133z" /></svg>'},Af={name:"verified",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><defs><style /></defs><path d="M447.8 588.8l-7.3-32.5c-.2-1-.6-1.9-1.1-2.7a7.94 7.94 0 00-11.1-2.2L405 567V411c0-4.4-3.6-8-8-8h-81c-4.4 0-8 3.6-8 8v36c0 4.4 3.6 8 8 8h37v192.4a8 8 0 0012.7 6.5l79-56.8c2.6-1.9 3.8-5.1 3.1-8.3zm-56.7-216.6l.2.2c3.2 3 8.3 2.8 11.3-.5l24.1-26.2a8.1 8.1 0 00-.3-11.2l-53.7-52.1a8 8 0 00-11.2.1l-24.7 24.7c-3.1 3.1-3.1 8.2.1 11.3l54.2 53.7z" /><path d="M866.9 169.9L527.1 54.1C523 52.7 517.5 52 512 52s-11 .7-15.1 2.1L157.1 169.9c-8.3 2.8-15.1 12.4-15.1 21.2v482.4c0 8.8 5.7 20.4 12.6 25.9L499.3 968c3.5 2.7 8 4.1 12.6 4.1s9.2-1.4 12.6-4.1l344.7-268.6c6.9-5.4 12.6-17 12.6-25.9V191.1c.2-8.8-6.6-18.3-14.9-21.2zM810 654.3L512 886.5 214 654.3V226.7l298-101.6 298 101.6v427.6z" /><path d="M452 297v36c0 4.4 3.6 8 8 8h108v274h-38V405c0-4.4-3.6-8-8-8h-35c-4.4 0-8 3.6-8 8v210h-31c-4.4 0-8 3.6-8 8v37c0 4.4 3.6 8 8 8h244c4.4 0 8-3.6 8-8v-37c0-4.4-3.6-8-8-8h-72V493h58c4.4 0 8-3.6 8-8v-35c0-4.4-3.6-8-8-8h-58V341h63c4.4 0 8-3.6 8-8v-36c0-4.4-3.6-8-8-8H460c-4.4 0-8 3.6-8 8z" /></svg>'},Lf={name:"swap-right",theme:"outline",icon:'<svg viewBox="0 0 1024 1024" focusable="false"><path d="M873.1 596.2l-164-208A32 32 0 00684 376h-64.8c-6.7 0-10.4 7.7-6.3 13l144.3 183H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h695.9c26.8 0 41.7-30.8 25.2-51.8z" /></svg>'},zf={name:"tag",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M938 458.8l-29.6-312.6c-1.5-16.2-14.4-29-30.6-30.6L565.2 86h-.4c-3.2 0-5.7 1-7.6 2.9L88.9 557.2a9.96 9.96 0 000 14.1l363.8 363.8c1.9 1.9 4.4 2.9 7.1 2.9s5.2-1 7.1-2.9l468.3-468.3c2-2.1 3-5 2.8-8zM699 387c-35.3 0-64-28.7-64-64s28.7-64 64-64 64 28.7 64 64-28.7 64-64 64z" /></svg>'},Pf={name:"tag",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M938 458.8l-29.6-312.6c-1.5-16.2-14.4-29-30.6-30.6L565.2 86h-.4c-3.2 0-5.7 1-7.6 2.9L88.9 557.2a9.96 9.96 0 000 14.1l363.8 363.8c1.9 1.9 4.4 2.9 7.1 2.9s5.2-1 7.1-2.9l468.3-468.3c2-2.1 3-5 2.8-8zM459.7 834.7L189.3 564.3 589 164.6 836 188l23.4 247-399.7 399.7zM680 256c-48.5 0-88 39.5-88 88s39.5 88 88 88 88-39.5 88-88-39.5-88-88-88zm0 120c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32z" /></svg>'},If={name:"zhihu-square",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM432.3 592.8l71 80.7c9.2 33-3.3 63.1-3.3 63.1l-95.7-111.9v-.1c-8.9 29-20.1 57.3-33.3 84.7-22.6 45.7-55.2 54.7-89.5 57.7-34.4 3-23.3-5.3-23.3-5.3 68-55.5 78-87.8 96.8-123.1 11.9-22.3 20.4-64.3 25.3-96.8H264.1s4.8-31.2 19.2-41.7h101.6c.6-15.3-1.3-102.8-2-131.4h-49.4c-9.2 45-41 56.7-48.1 60.1-7 3.4-23.6 7.1-21.1 0 2.6-7.1 27-46.2 43.2-110.7 16.3-64.6 63.9-62 63.9-62-12.8 22.5-22.4 73.6-22.4 73.6h159.7c10.1 0 10.6 39 10.6 39h-90.8c-.7 22.7-2.8 83.8-5 131.4H519s12.2 15.4 12.2 41.7h-110l-.1 1.5c-1.5 20.4-6.3 43.9-12.9 67.6l24.1-18.1zm335.5 116h-87.6l-69.5 46.6-16.4-46.6h-40.1V321.5h213.6v387.3zM408.2 611s0-.1 0 0zm216 94.3l56.8-38.1h45.6-.1V364.7H596.7v302.5h14.1z" /></svg>'},Rf={name:"zoom-out",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M637 443H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h312c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z" /></svg>'}},"ku8+":function(e,t,n){"use strict";function r(e){return function(t,n){var r;if("formatting"===(null!=n&&n.context?String(n.context):"standalone")&&e.formattingValues){var i=e.defaultFormattingWidth||e.defaultWidth,s=null!=n&&n.width?String(n.width):i;r=e.formattingValues[s]||e.formattingValues[i]}else{var o=e.defaultWidth,a=null!=n&&n.width?String(n.width):e.defaultWidth;r=e.values[a]||e.values[o]}return r[e.argumentCallback?e.argumentCallback(t):t]}}n.d(t,"a",function(){return r})},l5ep:function(e,t,n){!function(e){"use strict";e.defineLocale("cy",{months:"Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr".split("_"),monthsShort:"Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag".split("_"),weekdays:"Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn".split("_"),weekdaysShort:"Sul_Llun_Maw_Mer_Iau_Gwe_Sad".split("_"),weekdaysMin:"Su_Ll_Ma_Me_Ia_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Heddiw am] LT",nextDay:"[Yfory am] LT",nextWeek:"dddd [am] LT",lastDay:"[Ddoe am] LT",lastWeek:"dddd [diwethaf am] LT",sameElse:"L"},relativeTime:{future:"mewn %s",past:"%s yn \xf4l",s:"ychydig eiliadau",ss:"%d eiliad",m:"munud",mm:"%d munud",h:"awr",hh:"%d awr",d:"diwrnod",dd:"%d diwrnod",M:"mis",MM:"%d mis",y:"blwyddyn",yy:"%d flynedd"},dayOfMonthOrdinalParse:/\d{1,2}(fed|ain|af|il|ydd|ed|eg)/,ordinal:function(e){var t="";return e>20?t=40===e||50===e||60===e||80===e||100===e?"fed":"ain":e>0&&(t=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"][e]),e+t},week:{dow:1,doy:4}})}(n("wd/R"))},l5mm:function(e,t,n){"use strict";n.d(t,"a",function(){return o});var r=n("HDdC"),i=n("D0XW"),s=n("Y7HM");function o(e=0,t=i.a){return(!Object(s.a)(e)||e<0)&&(e=0),t&&"function"==typeof t.schedule||(t=i.a),new r.a(n=>(n.add(t.schedule(a,e,{subscriber:n,counter:0,period:e})),n))}function a(e){const{subscriber:t,counter:n,period:r}=e;t.next(n),this.schedule({subscriber:t,counter:n+1,period:r},r)}},l7GE:function(e,t,n){"use strict";n.d(t,"a",function(){return i});var r=n("7o/Q");class i extends r.a{notifyNext(e,t,n,r,i){this.destination.next(t)}notifyError(e,t){this.destination.error(e)}notifyComplete(e){this.destination.complete()}}},lJxs:function(e,t,n){"use strict";n.d(t,"a",function(){return i});var r=n("7o/Q");function i(e,t){return function(n){if("function"!=typeof e)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return n.lift(new s(e,t))}}class s{constructor(e,t){this.project=e,this.thisArg=t}call(e,t){return t.subscribe(new o(e,this.project,this.thisArg))}}class o extends r.a{constructor(e,t,n){super(e),this.project=t,this.count=0,this.thisArg=n||this}_next(e){let t;try{t=this.project.call(this.thisArg,e,this.count++)}catch(n){return void this.destination.error(n)}this.destination.next(t)}}},lO8T:function(e,t,n){"use strict";n.d(t,"a",function(){return r}),n.d(t,"b",function(){return a});var r,i=n("xwJx"),s=n("mjQ1"),o=n("5puH");!function(e){e.Agreement="\u0421\u043e\u0433\u043b\u0430\u0441\u043e\u0432\u0430\u043d\u0438\u0435",e.Remark="\u0417\u0430\u043c\u0435\u0447\u0430\u043d\u0438\u0435",e.UserTask="\u041f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u0441\u043a\u0430\u044f \u0437\u0430\u0434\u0430\u0447\u0430",e.CreatedRemark="\u0417\u0430\u043c\u0435\u0447\u0430\u043d\u0438\u0435 \u0441\u043e\u0437\u0434\u0430\u043d\u043e",e.ChangedExecutor="\u041d\u0430\u0437\u043d\u0430\u0447\u0435\u043d (\u0438\u0437\u043c\u0435\u043d\u0435\u043d) \u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0439 \u043f\u043e \u0437\u0430\u043c\u0435\u0447\u0430\u043d\u0438\u044e",e.ChangedOwner="\u041d\u0430\u0437\u043d\u0430\u0447\u0435\u043d (\u0438\u0437\u043c\u0435\u043d\u0435\u043d) \u0432\u043b\u0430\u0434\u0435\u043b\u0435\u0446 \u0437\u0430\u043c\u0435\u0447\u0430\u043d\u0438\u044f",e.ChangedStatus="\u0418\u0437\u043c\u0435\u043d\u0435\u043d \u0441\u0442\u0430\u0442\u0443\u0441",e.UpdatedDeadline="\u041e\u0431\u043d\u043e\u0432\u043b\u0435\u043d \u0441\u0440\u043e\u043a \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f",e.CreatedChat="\u0421\u043e\u0437\u0434\u0430\u043d \u0447\u0430\u0442",e.LinkedDocument="\u041f\u0440\u0438\u0432\u044f\u0437\u0430\u043d \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442",e.UnlinkedDocument="\u041e\u0442\u0432\u044f\u0437\u0430\u043d \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442"}(r||(r={}));const a={class:"2e6cfe3a-edac-47a3-81e0-5fb50171f67b",root:o.e.root,collection:i.w.entities.collection,properties:{created:i.w.entities.attributes.created,name:i.w.entities.attributes.name,eventType:"e66c8c3d-e944-4a1e-929f-74e33d94a737",text:"78abdf10-06e2-4fc1-b4d0-d78fb83c2ee8",base:"317f7d0c-8033-42f3-ba60-62b514b7c867",project:{id:"61c9da65-3f8a-4544-9672-f7c8a28f55be",map:s.b.option},recipients:{id:"96d617a6-c965-4fad-b446-aa4afc95beef",map:s.b.options}}}},lU8C:function(e,t,n){"use strict";n.d(t,"a",function(){return o});var r=n("xwJx"),i=n("5puH"),s=n("tEnP");const o={class:"a53c2d42-5d04-4792-ac76-c468d61d7da0",root:i.e.root,collection:r.w.entities.collection,properties:{created:r.w.entities.attributes.created,name:r.w.entities.attributes.name,file:s.a}}},lXzo:function(e,t,n){!function(e){"use strict";function t(e,t){var n=e.split("_");return t%10==1&&t%100!=11?n[0]:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?n[1]:n[2]}function n(e,n,r){return"m"===r?n?"\u043c\u0438\u043d\u0443\u0442\u0430":"\u043c\u0438\u043d\u0443\u0442\u0443":e+" "+t({ss:n?"\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:n?"\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"}[r],+e)}var r=[/^\u044f\u043d\u0432/i,/^\u0444\u0435\u0432/i,/^\u043c\u0430\u0440/i,/^\u0430\u043f\u0440/i,/^\u043c\u0430[\u0439\u044f]/i,/^\u0438\u044e\u043d/i,/^\u0438\u044e\u043b/i,/^\u0430\u0432\u0433/i,/^\u0441\u0435\u043d/i,/^\u043e\u043a\u0442/i,/^\u043d\u043e\u044f/i,/^\u0434\u0435\u043a/i];e.defineLocale("ru",{months:{format:"\u044f\u043d\u0432\u0430\u0440\u044f_\u0444\u0435\u0432\u0440\u0430\u043b\u044f_\u043c\u0430\u0440\u0442\u0430_\u0430\u043f\u0440\u0435\u043b\u044f_\u043c\u0430\u044f_\u0438\u044e\u043d\u044f_\u0438\u044e\u043b\u044f_\u0430\u0432\u0433\u0443\u0441\u0442\u0430_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044f_\u043e\u043a\u0442\u044f\u0431\u0440\u044f_\u043d\u043e\u044f\u0431\u0440\u044f_\u0434\u0435\u043a\u0430\u0431\u0440\u044f".split("_"),standalone:"\u044f\u043d\u0432\u0430\u0440\u044c_\u0444\u0435\u0432\u0440\u0430\u043b\u044c_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b\u044c_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044c_\u043e\u043a\u0442\u044f\u0431\u0440\u044c_\u043d\u043e\u044f\u0431\u0440\u044c_\u0434\u0435\u043a\u0430\u0431\u0440\u044c".split("_")},monthsShort:{format:"\u044f\u043d\u0432._\u0444\u0435\u0432\u0440._\u043c\u0430\u0440._\u0430\u043f\u0440._\u043c\u0430\u044f_\u0438\u044e\u043d\u044f_\u0438\u044e\u043b\u044f_\u0430\u0432\u0433._\u0441\u0435\u043d\u0442._\u043e\u043a\u0442._\u043d\u043e\u044f\u0431._\u0434\u0435\u043a.".split("_"),standalone:"\u044f\u043d\u0432._\u0444\u0435\u0432\u0440._\u043c\u0430\u0440\u0442_\u0430\u043f\u0440._\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433._\u0441\u0435\u043d\u0442._\u043e\u043a\u0442._\u043d\u043e\u044f\u0431._\u0434\u0435\u043a.".split("_")},weekdays:{standalone:"\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043f\u044f\u0442\u043d\u0438\u0446\u0430_\u0441\u0443\u0431\u0431\u043e\u0442\u0430".split("_"),format:"\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0443_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043f\u044f\u0442\u043d\u0438\u0446\u0443_\u0441\u0443\u0431\u0431\u043e\u0442\u0443".split("_"),isFormat:/\[ ?[\u0412\u0432] ?(?:\u043f\u0440\u043e\u0448\u043b\u0443\u044e|\u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e|\u044d\u0442\u0443)? ?] ?dddd/},weekdaysShort:"\u0432\u0441_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u0432\u0441_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),monthsParse:r,longMonthsParse:r,shortMonthsParse:r,monthsRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044c\u044f]|\u044f\u043d\u0432\.?|\u0444\u0435\u0432\u0440\u0430\u043b[\u044c\u044f]|\u0444\u0435\u0432\u0440?\.?|\u043c\u0430\u0440\u0442\u0430?|\u043c\u0430\u0440\.?|\u0430\u043f\u0440\u0435\u043b[\u044c\u044f]|\u0430\u043f\u0440\.?|\u043c\u0430[\u0439\u044f]|\u0438\u044e\u043d[\u044c\u044f]|\u0438\u044e\u043d\.?|\u0438\u044e\u043b[\u044c\u044f]|\u0438\u044e\u043b\.?|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0430\u0432\u0433\.?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044c\u044f]|\u0441\u0435\u043d\u0442?\.?|\u043e\u043a\u0442\u044f\u0431\u0440[\u044c\u044f]|\u043e\u043a\u0442\.?|\u043d\u043e\u044f\u0431\u0440[\u044c\u044f]|\u043d\u043e\u044f\u0431?\.?|\u0434\u0435\u043a\u0430\u0431\u0440[\u044c\u044f]|\u0434\u0435\u043a\.?)/i,monthsShortRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044c\u044f]|\u044f\u043d\u0432\.?|\u0444\u0435\u0432\u0440\u0430\u043b[\u044c\u044f]|\u0444\u0435\u0432\u0440?\.?|\u043c\u0430\u0440\u0442\u0430?|\u043c\u0430\u0440\.?|\u0430\u043f\u0440\u0435\u043b[\u044c\u044f]|\u0430\u043f\u0440\.?|\u043c\u0430[\u0439\u044f]|\u0438\u044e\u043d[\u044c\u044f]|\u0438\u044e\u043d\.?|\u0438\u044e\u043b[\u044c\u044f]|\u0438\u044e\u043b\.?|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0430\u0432\u0433\.?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044c\u044f]|\u0441\u0435\u043d\u0442?\.?|\u043e\u043a\u0442\u044f\u0431\u0440[\u044c\u044f]|\u043e\u043a\u0442\.?|\u043d\u043e\u044f\u0431\u0440[\u044c\u044f]|\u043d\u043e\u044f\u0431?\.?|\u0434\u0435\u043a\u0430\u0431\u0440[\u044c\u044f]|\u0434\u0435\u043a\.?)/i,monthsStrictRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044f\u044c]|\u0444\u0435\u0432\u0440\u0430\u043b[\u044f\u044c]|\u043c\u0430\u0440\u0442\u0430?|\u0430\u043f\u0440\u0435\u043b[\u044f\u044c]|\u043c\u0430[\u044f\u0439]|\u0438\u044e\u043d[\u044f\u044c]|\u0438\u044e\u043b[\u044f\u044c]|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044f\u044c]|\u043e\u043a\u0442\u044f\u0431\u0440[\u044f\u044c]|\u043d\u043e\u044f\u0431\u0440[\u044f\u044c]|\u0434\u0435\u043a\u0430\u0431\u0440[\u044f\u044c])/i,monthsShortStrictRegex:/^(\u044f\u043d\u0432\.|\u0444\u0435\u0432\u0440?\.|\u043c\u0430\u0440[\u0442.]|\u0430\u043f\u0440\.|\u043c\u0430[\u044f\u0439]|\u0438\u044e\u043d[\u044c\u044f.]|\u0438\u044e\u043b[\u044c\u044f.]|\u0430\u0432\u0433\.|\u0441\u0435\u043d\u0442?\.|\u043e\u043a\u0442\.|\u043d\u043e\u044f\u0431?\.|\u0434\u0435\u043a\.)/i,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0433.",LLL:"D MMMM YYYY \u0433., H:mm",LLLL:"dddd, D MMMM YYYY \u0433., H:mm"},calendar:{sameDay:"[\u0421\u0435\u0433\u043e\u0434\u043d\u044f, \u0432] LT",nextDay:"[\u0417\u0430\u0432\u0442\u0440\u0430, \u0432] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430, \u0432] LT",nextWeek:function(e){if(e.week()===this.week())return 2===this.day()?"[\u0412\u043e] dddd, [\u0432] LT":"[\u0412] dddd, [\u0432] LT";switch(this.day()){case 0:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0435] dddd, [\u0432] LT";case 1:case 2:case 4:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439] dddd, [\u0432] LT";case 3:case 5:case 6:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e] dddd, [\u0432] LT"}},lastWeek:function(e){if(e.week()===this.week())return 2===this.day()?"[\u0412\u043e] dddd, [\u0432] LT":"[\u0412] dddd, [\u0432] LT";switch(this.day()){case 0:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u043e\u0435] dddd, [\u0432] LT";case 1:case 2:case 4:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u044b\u0439] dddd, [\u0432] LT";case 3:case 5:case 6:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u0443\u044e] dddd, [\u0432] LT"}},sameElse:"L"},relativeTime:{future:"\u0447\u0435\u0440\u0435\u0437 %s",past:"%s \u043d\u0430\u0437\u0430\u0434",s:"\u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434",ss:n,m:n,mm:n,h:"\u0447\u0430\u0441",hh:n,d:"\u0434\u0435\u043d\u044c",dd:n,w:"\u043d\u0435\u0434\u0435\u043b\u044f",ww:n,M:"\u043c\u0435\u0441\u044f\u0446",MM:n,y:"\u0433\u043e\u0434",yy:n},meridiemParse:/\u043d\u043e\u0447\u0438|\u0443\u0442\u0440\u0430|\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430/i,isPM:function(e){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430)$/.test(e)},meridiem:function(e,t,n){return e<4?"\u043d\u043e\u0447\u0438":e<12?"\u0443\u0442\u0440\u0430":e<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0435\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e|\u044f)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":return e+"-\u0439";case"D":return e+"-\u0433\u043e";case"w":case"W":return e+"-\u044f";default:return e}},week:{dow:1,doy:4}})}(n("wd/R"))},lYtQ:function(e,t,n){!function(e){"use strict";function t(e,t,n,r){switch(n){case"s":return t?"\u0445\u044d\u0434\u0445\u044d\u043d \u0441\u0435\u043a\u0443\u043d\u0434":"\u0445\u044d\u0434\u0445\u044d\u043d \u0441\u0435\u043a\u0443\u043d\u0434\u044b\u043d";case"ss":return e+(t?" \u0441\u0435\u043a\u0443\u043d\u0434":" \u0441\u0435\u043a\u0443\u043d\u0434\u044b\u043d");case"m":case"mm":return e+(t?" \u043c\u0438\u043d\u0443\u0442":" \u043c\u0438\u043d\u0443\u0442\u044b\u043d");case"h":case"hh":return e+(t?" \u0446\u0430\u0433":" \u0446\u0430\u0433\u0438\u0439\u043d");case"d":case"dd":return e+(t?" \u04e9\u0434\u04e9\u0440":" \u04e9\u0434\u0440\u0438\u0439\u043d");case"M":case"MM":return e+(t?" \u0441\u0430\u0440":" \u0441\u0430\u0440\u044b\u043d");case"y":case"yy":return e+(t?" \u0436\u0438\u043b":" \u0436\u0438\u043b\u0438\u0439\u043d");default:return e}}e.defineLocale("mn",{months:"\u041d\u044d\u0433\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0425\u043e\u0451\u0440\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0413\u0443\u0440\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0414\u04e9\u0440\u04e9\u0432\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0422\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0417\u0443\u0440\u0433\u0430\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0414\u043e\u043b\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u041d\u0430\u0439\u043c\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0415\u0441\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0410\u0440\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0410\u0440\u0432\u0430\u043d \u043d\u044d\u0433\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0410\u0440\u0432\u0430\u043d \u0445\u043e\u0451\u0440\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440".split("_"),monthsShort:"1 \u0441\u0430\u0440_2 \u0441\u0430\u0440_3 \u0441\u0430\u0440_4 \u0441\u0430\u0440_5 \u0441\u0430\u0440_6 \u0441\u0430\u0440_7 \u0441\u0430\u0440_8 \u0441\u0430\u0440_9 \u0441\u0430\u0440_10 \u0441\u0430\u0440_11 \u0441\u0430\u0440_12 \u0441\u0430\u0440".split("_"),monthsParseExact:!0,weekdays:"\u041d\u044f\u043c_\u0414\u0430\u0432\u0430\u0430_\u041c\u044f\u0433\u043c\u0430\u0440_\u041b\u0445\u0430\u0433\u0432\u0430_\u041f\u04af\u0440\u044d\u0432_\u0411\u0430\u0430\u0441\u0430\u043d_\u0411\u044f\u043c\u0431\u0430".split("_"),weekdaysShort:"\u041d\u044f\u043c_\u0414\u0430\u0432_\u041c\u044f\u0433_\u041b\u0445\u0430_\u041f\u04af\u0440_\u0411\u0430\u0430_\u0411\u044f\u043c".split("_"),weekdaysMin:"\u041d\u044f_\u0414\u0430_\u041c\u044f_\u041b\u0445_\u041f\u04af_\u0411\u0430_\u0411\u044f".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY \u043e\u043d\u044b MMMM\u044b\u043d D",LLL:"YYYY \u043e\u043d\u044b MMMM\u044b\u043d D HH:mm",LLLL:"dddd, YYYY \u043e\u043d\u044b MMMM\u044b\u043d D HH:mm"},meridiemParse:/\u04ae\u04e8|\u04ae\u0425/i,isPM:function(e){return"\u04ae\u0425"===e},meridiem:function(e,t,n){return e<12?"\u04ae\u04e8":"\u04ae\u0425"},calendar:{sameDay:"[\u04e8\u043d\u04e9\u04e9\u0434\u04e9\u0440] LT",nextDay:"[\u041c\u0430\u0440\u0433\u0430\u0430\u0448] LT",nextWeek:"[\u0418\u0440\u044d\u0445] dddd LT",lastDay:"[\u04e8\u0447\u0438\u0433\u0434\u04e9\u0440] LT",lastWeek:"[\u04e8\u043d\u0433\u04e9\u0440\u0441\u04e9\u043d] dddd LT",sameElse:"L"},relativeTime:{future:"%s \u0434\u0430\u0440\u0430\u0430",past:"%s \u04e9\u043c\u043d\u04e9",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2} \u04e9\u0434\u04e9\u0440/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+" \u04e9\u0434\u04e9\u0440";default:return e}}})}(n("wd/R"))},lgZR:function(e,t,n){"use strict";n.d(t,"a",function(){return l});var r=n("/Tr7"),i=n("tpup"),s=n("gr1v"),o=n("jIYg");function a(e){Object(o.a)(1,arguments);var t=Object(s.a)(e),n=new Date(0);n.setUTCFullYear(t,0,4),n.setUTCHours(0,0,0,0);var r=Object(i.a)(n);return r}var c=6048e5;function l(e){Object(o.a)(1,arguments);var t=Object(r.a)(e),n=Object(i.a)(t).getTime()-a(t).getTime();return Math.round(n/c)+1}},lgnt:function(e,t,n){!function(e){"use strict";var t={0:"-\u0447\u04af",1:"-\u0447\u0438",2:"-\u0447\u0438",3:"-\u0447\u04af",4:"-\u0447\u04af",5:"-\u0447\u0438",6:"-\u0447\u044b",7:"-\u0447\u0438",8:"-\u0447\u0438",9:"-\u0447\u0443",10:"-\u0447\u0443",20:"-\u0447\u044b",30:"-\u0447\u0443",40:"-\u0447\u044b",50:"-\u0447\u04af",60:"-\u0447\u044b",70:"-\u0447\u0438",80:"-\u0447\u0438",90:"-\u0447\u0443",100:"-\u0447\u04af"};e.defineLocale("ky",{months:"\u044f\u043d\u0432\u0430\u0440\u044c_\u0444\u0435\u0432\u0440\u0430\u043b\u044c_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b\u044c_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044c_\u043e\u043a\u0442\u044f\u0431\u0440\u044c_\u043d\u043e\u044f\u0431\u0440\u044c_\u0434\u0435\u043a\u0430\u0431\u0440\u044c".split("_"),monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u0416\u0435\u043a\u0448\u0435\u043c\u0431\u0438_\u0414\u04af\u0439\u0448\u04e9\u043c\u0431\u04af_\u0428\u0435\u0439\u0448\u0435\u043c\u0431\u0438_\u0428\u0430\u0440\u0448\u0435\u043c\u0431\u0438_\u0411\u0435\u0439\u0448\u0435\u043c\u0431\u0438_\u0416\u0443\u043c\u0430_\u0418\u0448\u0435\u043c\u0431\u0438".split("_"),weekdaysShort:"\u0416\u0435\u043a_\u0414\u04af\u0439_\u0428\u0435\u0439_\u0428\u0430\u0440_\u0411\u0435\u0439_\u0416\u0443\u043c_\u0418\u0448\u0435".split("_"),weekdaysMin:"\u0416\u043a_\u0414\u0439_\u0428\u0439_\u0428\u0440_\u0411\u0439_\u0416\u043c_\u0418\u0448".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0411\u04af\u0433\u04af\u043d \u0441\u0430\u0430\u0442] LT",nextDay:"[\u042d\u0440\u0442\u0435\u04a3 \u0441\u0430\u0430\u0442] LT",nextWeek:"dddd [\u0441\u0430\u0430\u0442] LT",lastDay:"[\u041a\u0435\u0447\u044d\u044d \u0441\u0430\u0430\u0442] LT",lastWeek:"[\u04e8\u0442\u043a\u04e9\u043d \u0430\u043f\u0442\u0430\u043d\u044b\u043d] dddd [\u043a\u04af\u043d\u04af] [\u0441\u0430\u0430\u0442] LT",sameElse:"L"},relativeTime:{future:"%s \u0438\u0447\u0438\u043d\u0434\u0435",past:"%s \u043c\u0443\u0440\u0443\u043d",s:"\u0431\u0438\u0440\u043d\u0435\u0447\u0435 \u0441\u0435\u043a\u0443\u043d\u0434",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434",m:"\u0431\u0438\u0440 \u043c\u04af\u043d\u04e9\u0442",mm:"%d \u043c\u04af\u043d\u04e9\u0442",h:"\u0431\u0438\u0440 \u0441\u0430\u0430\u0442",hh:"%d \u0441\u0430\u0430\u0442",d:"\u0431\u0438\u0440 \u043a\u04af\u043d",dd:"%d \u043a\u04af\u043d",M:"\u0431\u0438\u0440 \u0430\u0439",MM:"%d \u0430\u0439",y:"\u0431\u0438\u0440 \u0436\u044b\u043b",yy:"%d \u0436\u044b\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0447\u0438|\u0447\u044b|\u0447\u04af|\u0447\u0443)/,ordinal:function(e){var n=e%10,r=e>=100?100:null;return e+(t[e]||t[n]||t[r])},week:{dow:1,doy:7}})}(n("wd/R"))},lkBS:function(e,t,n){"use strict";n.d(t,"a",function(){return w}),n.d(t,"b",function(){return b}),n.d(t,"c",function(){return m}),n.d(t,"d",function(){return p}),n.d(t,"e",function(){return f}),n.d(t,"f",function(){return g}),n.d(t,"g",function(){return S});var r=n("mrSG"),i=n("fXoL"),s=n("jhN1"),o=n("xwJx"),a=n("tk/3"),c=n("Qyje"),l=n("pLZG"),u=n("lJxs"),h=n("vkgz");const d={docs:["pdf"],images:["jpg","jpeg","png"]};function f(e){return"loaded"in e}function p(e){return e instanceof Blob}function m(e,t=0,n=2){return e.total?+(e.loaded/e.total).toFixed(n):t}function g(e){return[...d.docs,...d.images].includes(v(e))}function v(e){return e.toLowerCase().split(".").slice(-1)[0]}const y={default:"application/octet-stream",pdf:"application/pdf"};class b{constructor(e,{content:t}){this.http=e,this.endpoint=t}upload(e,t){var n;return this.http.post(this.endpoint,e,{headers:{"Content-Type":e.type||(null!==(n=y[v(e.name)])&&void 0!==n?n:y.default),"X-Upload-Name":encodeURI(e.name)},params:Object(o.s)({ttl:t}),observe:"events",reportProgress:!0}).pipe(Object(l.a)(e=>e.type===a.e.UploadProgress||e.type===a.e.Response),Object(u.a)(e=>e.type===a.e.UploadProgress?e:e.type===a.e.Response&&e.body?e.body:Object(o.J)("Upload result is missing")))}download(e){let t;return this.http.get(e,{observe:"events",reportProgress:!0,responseType:"blob"}).pipe(Object(h.a)(e=>{var n;return e.type===a.e.ResponseHeader&&(t=+(null!==(n=e.headers.get("X-Original-Content-Length"))&&void 0!==n?n:"0"))}),Object(l.a)(e=>e.type===a.e.DownloadProgress||e.type===a.e.Response),Object(u.a)(e=>e.type===a.e.DownloadProgress?{loaded:e.loaded,total:null!=t?t:e.total}:e.type===a.e.Response&&e.body?e.body:Object(o.J)("Download body is missing")))}url(e,t=!1){return Promise.resolve(`${this.endpoint}/${e}${Object(c.stringify)({inline:t?null:void 0},{addQueryPrefix:!0,strictNullHandling:!0})}`)}getLink(e){return this.http.post(`${this.endpoint}/${e}/url`,{},{responseType:"text"}).pipe(Object(u.a)(e=>e?`${this.endpoint}/${e}`:"")).toPromise()}delete(...e){return this.http.delete(this.endpoint,{params:Object(o.s)({ids:e})}).toPromise()}}b.\u0275fac=function(e){return new(e||b)(i.Xc(a.c),i.Xc(o.a))},b.\u0275prov=i.Jc({factory:function(){return new b(i.Xc(a.c),i.Xc(o.a))},token:b,providedIn:"root"}),b.ctorParameters=()=>[{type:a.c},{type:o.a}];class _{constructor(e,t,n){this.content=e,this.sanitizer=t,this.logger=n}transform(e){return Object(r.a)(this,void 0,void 0,function*(){try{if(e){if(g(e.name)){const n=yield this.content.url(e.id,!0);return t=e.name,d.images.includes(v(t))?this.sanitizer.bypassSecurityTrustUrl(n):this.sanitizer.bypassSecurityTrustResourceUrl(n)}this.logger.warn(`File type '${e.type}' is not supported as viewable`)}}catch(n){this.logger.trace("ContentUrl pipe failed",n)}var t})}}_.\u0275fac=function(e){return new(e||_)(i.Nc(b),i.Nc(s.b),i.Nc(o.n))},_.\u0275pipe=i.Mc({name:"contentUrl",type:_,pure:!0}),_.ctorParameters=()=>[{type:b},{type:s.b},{type:o.n}];class w{}function S(e,t){const n=document.createElement("a");return n.href=e,n.download=null!=t?t:"",n.target="_blank",n.rel="noopener",n.dispatchEvent(new MouseEvent("click")),e}w.\u0275mod=i.Lc({type:w}),w.\u0275inj=i.Kc({factory:function(e){return new(e||w)}}),("undefined"==typeof ngJitMode||ngJitMode)&&i.Bd(w,{declarations:[_],exports:[_]})},loYQ:function(e,t,n){!function(e){"use strict";var t={1:"\u09e7",2:"\u09e8",3:"\u09e9",4:"\u09ea",5:"\u09eb",6:"\u09ec",7:"\u09ed",8:"\u09ee",9:"\u09ef",0:"\u09e6"},n={"\u09e7":"1","\u09e8":"2","\u09e9":"3","\u09ea":"4","\u09eb":"5","\u09ec":"6","\u09ed":"7","\u09ee":"8","\u09ef":"9","\u09e6":"0"};e.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(e){return e.replace(/[\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef\u09e6]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},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(e,t){return 12===e&&(e=0),"\u09b0\u09be\u09a4"===t?e<4?e:e+12:"\u09ad\u09cb\u09b0"===t||"\u09b8\u0995\u09be\u09b2"===t?e:"\u09a6\u09c1\u09aa\u09c1\u09b0"===t?e>=3?e:e+12:"\u09ac\u09bf\u0995\u09be\u09b2"===t||"\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"\u09b0\u09be\u09a4":e<6?"\u09ad\u09cb\u09b0":e<12?"\u09b8\u0995\u09be\u09b2":e<15?"\u09a6\u09c1\u09aa\u09c1\u09b0":e<18?"\u09ac\u09bf\u0995\u09be\u09b2":e<20?"\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be":"\u09b0\u09be\u09a4"},week:{dow:0,doy:6}})}(n("wd/R"))},lsjk:function(e,t,n){"use strict";n.d(t,"b",function(){return o}),n.d(t,"c",function(){return a}),n.d(t,"a",function(){return c});var r=n("xwJx"),i=n("mjQ1"),s=n("iU1M");const o={root:r.w.entities.root.id,class:"446a82e8-481c-455a-8fb6-17dadfdd33b8",collection:r.w.entities.collection,properties:{actualDuration:"4cbc1969-c99a-43de-b4ca-dcd9365156b8",actualEnd:"f1c67d5a-08d0-444f-a29a-087373c8ed14",actualStart:"72a08c36-6ad0-4046-a03a-767285dbc741",actualVolume:"4eee8bb4-0ad4-41b8-ac75-2bb93e705027",code:"cc6d779d-cb70-45ea-ab16-b5af247038f2",created:r.w.entities.attributes.created,follower:"7af4b259-9802-4a9a-b436-ac76d4b27a88",humanResources:"678f1202-7fac-44b3-bba0-b66cc1e33f54",pi:{id:"83c3957b-c045-4fe1-9c61-a12ef52d8fd5",map:s.b},plannedDuration:"c239845c-97c6-4126-8a9f-52cb68b45ad1",plannedEnd:"29ff09bb-7b78-4d2b-a699-ee351b91b4d0",plannedStart:"c9e2410b-0cc1-450c-b0bb-14994fad3a98",plannedVolume:"1e1a04b6-0462-4fe6-bd24-4c6d894d612a",psmr:{id:"17800365-a7fb-430d-9947-af19d89960d8",map:s.b},status:{id:"b799dc25-4d1b-445c-b4f3-d4d235fe4638",map:s.b},statusUpdatedAt:"3dacf315-045a-4c25-83d0-ed12d2b7ccbd",taskWeight:"981016d0-4ae3-4cfe-a40a-f4e31204436d",title:r.w.entities.attributes.name,unit:"c77bcc1c-28ef-4bab-b24d-ae766d70ebcc",user:{id:"929051c6-4d35-42f4-9d8a-81075758cabe",map:i.b.option}}},a={root:1642,class:"22c108f1-7567-458f-be2e-7b26eb39914c",collection:"",properties:{actualDuration:"4cbc1969-c99a-43de-b4ca-dcd9365156b8",actualEnd:"f1c67d5a-08d0-444f-a29a-087373c8ed14",actualStart:"72a08c36-6ad0-4046-a03a-767285dbc741",actualVolume:"4eee8bb4-0ad4-41b8-ac75-2bb93e705027",code:"cc6d779d-cb70-45ea-ab16-b5af247038f2",created:r.w.entities.attributes.created,follower:"7af4b259-9802-4a9a-b436-ac76d4b27a88",humanResources:"678f1202-7fac-44b3-bba0-b66cc1e33f54",pi:{id:"83c3957b-c045-4fe1-9c61-a12ef52d8fd5",map:s.b},plannedDuration:"c239845c-97c6-4126-8a9f-52cb68b45ad1",plannedEnd:"29ff09bb-7b78-4d2b-a699-ee351b91b4d0",plannedStart:"c9e2410b-0cc1-450c-b0bb-14994fad3a98",plannedVolume:"1e1a04b6-0462-4fe6-bd24-4c6d894d612a",psmr:{id:"17800365-a7fb-430d-9947-af19d89960d8",map:s.b},status:{id:"b799dc25-4d1b-445c-b4f3-d4d235fe4638",map:s.b},statusUpdatedAt:"3dacf315-045a-4c25-83d0-ed12d2b7ccbd",taskWeight:"981016d0-4ae3-4cfe-a40a-f4e31204436d",title:r.w.entities.attributes.name,unit:"35c2f3e2-91f2-428b-9908-a93100541b58",user:{id:"929051c6-4d35-42f4-9d8a-81075758cabe",map:i.b.option},workType:{id:"ef96aa88-fed2-4c0c-9405-38b6459c7d32",map:{to:e=>e?e[0].id:0,from:e=>[parseInt(e)]}},statusNew:{id:"ffc4d8d7-ad06-43a1-8aa8-b85e201a61fa",map:s.b},percentFact:"8cff239e-cf84-4a51-b44b-152140de3ece",percentPlan:"47fd8eae-04ac-4991-8242-8788e19e4b51",progress:"7f790559-1976-4fc9-b68e-9b515ba22155",author:{id:"d5e67b6c-ee2d-48cc-843a-0e76c68b8aee",map:i.b.option},documents:{id:"f2c6b8c0-396c-4b6f-b3a9-c58bc02ebca2",map:i.b.options},documentsSet:{id:"eacafac6-6496-4f90-b418-00251553431b",map:i.b.options},statusRD:{id:"96fa91b9-3351-4c40-9484-2963ce62f6fa",map:i.b.option},cipher:"c5397c92-66f2-4fa0-91bd-74ff1985d275",dateOfHardCopy:"477e4180-d4bb-4ce8-b46b-0e8ac093b034"}},c={class:"275bca37-24e3-485a-a36e-f8f00e9b059f",collection:"e7f2dd21-efb1-4721-8d3a-490cc19fc7fe",properties:{name:r.w.entities.attributes.name,follower:{id:"7af4b259-9802-4a9a-b436-ac76d4b27a88",map:i.b.option},linkType:{id:"e56213af-3905-491b-a077-c9644571a013",map:i.b.option}}}},lyxo:function(e,t,n){!function(e){"use strict";function t(e,t,n){var r=" ";return(e%100>=20||e>=100&&e%100==0)&&(r=" de "),e+r+{ss:"secunde",mm:"minute",hh:"ore",dd:"zile",ww:"s\u0103pt\u0103m\xe2ni",MM:"luni",yy:"ani"}[n]}e.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:t,m:"un minut",mm:t,h:"o or\u0103",hh:t,d:"o zi",dd:t,w:"o s\u0103pt\u0103m\xe2n\u0103",ww:t,M:"o lun\u0103",MM:t,y:"un an",yy:t},week:{dow:1,doy:7}})}(n("wd/R"))},mUTx:function(e,t,n){"use strict";n.d(t,"a",function(){return d});var r=n("6K47"),i=n("Cfvw"),s=n("eIep"),o=n("lJxs"),a=n("wd/R");class c{constructor(e,t,n,r){this.top=e,this.left=t,this.bottom=n,this.right=r}static createFromCells(e,t){return new c(+e.row,+e.col,+t.row,+t.col)}static createFromRange(e){return new c(e.top,e.left,e.bottom,e.right)}get valid(){return this.top>0&&this.top<=this.bottom&&this.left>=0&&this.left<=this.right}get countRows(){return this.bottom-this.top+1}get countColumns(){return this.right-this.left+1}move(e,t){this.top+=e,this.bottom+=e,this.left+=t,this.right+=t}}class l{constructor(e,t){this.rawExpression=e,this.pipes=[];const n=t.split("|").map(e=>e.trim());this.valueName=n[0];n.slice(1).forEach(e=>{const t=e.split(":").map(e=>e.trim());this.pipes.push({pipeName:t[0],pipeParameters:t.slice(1)})})}}class u{constructor(e,t,n){this.wsh=e,this.data=t,this.customPipes=n,this.regExpBlocks=/\[\[.+?]]/g,this.regExpValues=/{{.+?}}/g,this.regExpStringPipeParameter=/^'.*'$/}execute(){this.processBlocks(this.wsh.getSheetDimension(),this.data),this.processValues(this.wsh.getSheetDimension(),this.data)}processBlocks(e,t){if(!e.valid)return console.log("xlsx-template-ex: Process blocks failed.","The cell range is invalid and will be skipped:",this.wsh.sheetName,e),e;let n;do{n=!1,this.wsh.eachCell(e,r=>{let i=r.value;if("string"!=typeof i)return;const s=i.match(this.regExpBlocks);return Array.isArray(s)&&s.length?(s.forEach(n=>{const s=new l(n,n.slice(2,-2));i=i.replace(s.rawExpression,""),r.value=i;const o=this.processTplValues(s,t);e=this.processBlockPipes(e,r,s.pipes,o)}),n=!0,!1):void 0})}while(n);return e}processValues(e,t){e.valid?this.wsh.eachCell(e,e=>{let n=e.value;if("string"!=typeof n)return;const r=n.match(this.regExpValues);Array.isArray(r)&&r.length&&(r.forEach(r=>{const i=new l(r,r.slice(2,-2)),s=this.processTplValues(i,t),o=this.processTplPipes(i,t);let a=this.accountForZero(s);a=this.processValuePipes(e,o,a),n=a}),e.value=n)}):console.log("xlsx-template-ex: Process values failed.","The cell range is invalid and will be skipped:",this.wsh.sheetName,e)}processTplValues(e,t){let n=t[e.valueName];return n||(n=e.valueName.split(".").reduce((e,t)=>e&&e[t]||0===e[t]?e[t]:null,this.data)),n}processTplPipes(e,t){return e.pipes.map(e=>(e.pipeParameters=e.pipeParameters.map(e=>this.regExpStringPipeParameter.test(e)?e.slice(1,-1):t[e]||0===t[e]?t[e]:e.split(".").reduce((e,t)=>e&&e[t]||0===e[t]?e[t]:null,this.data)),e))}accountForZero(e){return null!=e?e:0===e?0:null}processValuePipes(e,t,n){try{t.forEach(e=>{switch(e.pipeName){case"date":n=this.valuePipeDate(n);break;case"find":n=this.valuePipeFind(n,...e.pipeParameters);break;case"get":n=this.valuePipeGet(n,...e.pipeParameters);break;case"time":n=this.valuePipeTime(n);break;case"datetime":n=this.valuePipeDateTime(n);break;case"number":n=this.valuePipeNumber(n);break;default:n="xlsx-template-ex: The value pipe not found:"+e.pipeName,console.warn(n)}})}catch(r){return console.error("xlsx-template-ex: Error on process values of pipes",r),"xlsx-template-ex: Error on process values of pipes. Look for more details in a console."}return 0===n?n:n||""}processBlockPipes(e,t,n,r){const i=c.createFromRange(e);let s;try{n.forEach(e=>{switch(e.pipeName){case"repeat-rows":s=this.blockPipeRepeatRows(t,r,...e.pipeParameters),i.bottom+=s;break;case"tile":s=this.blockPipeTile(t,r,...e.pipeParameters),i.bottom+=s;break;case"filter":r=this.blockPipeFilter(r,...e.pipeParameters);break;default:console.warn("xlsx-template-ex: The block pipe not found:",e.pipeName,e.pipeParameters)}})}catch(o){console.error("xlsx-template-ex: Error on process a block of pipes",o),t.value="xlsx-template-ex: Error on process a block of pipes. Look for more details in a console."}return i}valuePipeNumber(e){return Number(e)&&e%1!=0?parseFloat(e):Number(e)&&e%1==0?parseInt(e):e}valuePipeDate(e){return e?a(new Date(e)).format("DD.MM.YYYY"):""}valuePipeTime(e){return e?a(new Date(e)).format("HH:mm:ss"):""}valuePipeDateTime(e){return e?a(new Date(e)).format("DD.MM.YYYY HH:mm:ss"):""}valuePipeFind(e,t,n){return Array.isArray(e)&&t&&t?e.find(e=>e&&e[t]&&e[t].length>0&&e[t]==n):null}valuePipeGet(e,t){return e&&t&&e[t]||null}blockPipeFilter(e,t,n){return Array.isArray(e)&&t?n?e.filter(e=>"object"==typeof e&&e[t]&&e[t].length>0&&e[t]===n):e.filter(e=>"object"==typeof e&&e.hasOwnProperty(t)&&e[t]&&e[t].length>0):e}blockPipeRepeatRows(e,t,n=1){if(!Array.isArray(t)||!t.length)return console.warn("TemplateEngine.blockPipeRepeatRows",e.address,"The data must be not empty array, but got:",t),0;n=n&&+n>0?+n:1;const r=+e.row,i=r+n-1;t.length>1&&this.wsh.cloneRows(r,i,t.length-1);const s=this.wsh.getSheetDimension();let o=new c(r,s.left,i,s.right);return t.forEach(e=>{o=this.processBlocks(o,e),this.processValues(o,e),o.move(+n,0)}),(t.length-1)*n}blockPipeTile(e,t,n=1,r=1,i=1){if(!Array.isArray(t)||!t.length)return console.warn("TemplateEngine.blockPipeTile",e.address,"The data must be not empty array, but got:",t),0;n=+n>0?+n:1,r=+r>0?+r:1,i=+i>0?+i:1;const s=new c(+e.row,+e.col,+e.row+n-1,+e.col+r-1),o=Math.ceil(t.length/i)-1;t.length>i&&this.wsh.cloneRows(s.top,s.bottom,o);let a=1,l=c.createFromRange(s);return t.forEach((e,t,n)=>{if(t!==n.length-1&&a+1<=i){const e=c.createFromRange(l);e.move(0,l.countColumns),this.wsh.copyCellRange(l,e)}l=this.processBlocks(l,e),this.processValues(l,e),t!==n.length-1&&(a++,a<=i?l.move(0,l.countColumns):(a=1,s.move(l.countRows,0),l=c.createFromRange(s)))}),o*s.countRows}}class h{constructor(e){this.worksheet=e}get workbook(){return this.worksheet.workbook}get sheetName(){return this.worksheet.name}cloneRows(e,t,n=1){const r=t-e+1,i=r*n;for(let s=this.getSheetDimension().bottom+i;s>t;s--){const e=this.worksheet.getRow(s),t=this.worksheet.getRow(s+i);this.moveRow(e,t)}for(let s=t;s>=e;s--){const e=this.worksheet.getRow(s);for(let t=n;t>0;t--){const n=this.worksheet.getRow(s+r*t);this.copyRow(e,n)}}}copyCellRange(e,t){if(e.countRows!==t.countRows||e.countColumns!==t.countColumns)return void console.warn("WorkSheetHelper.copyCellRange","The cell ranges must have an equal size",e,t);const n=t.bottom-e.bottom,r=t.right-e.right;this.eachCellReverse(e,e=>{const t=this.worksheet.getCell(e.row+n,e.col+r);this.copyCell(e,t)})}getSheetDimension(){const e=this.worksheet.dimensions.model;return new c(e.top,e.left,e.bottom,e.right)}eachCell(e,t){for(let n=e.top;n<=e.bottom;n++){const i=this.worksheet.findRow(n);if(i)for(let n=e.left;n<=e.right;n++){const e=i.findCell(n);if(e&&e.type!==r.ValueType.Merge&&!1===t(e))return}}}eachCellReverse(e,t){for(let n=e.bottom;n>=e.top;n--){const i=this.worksheet.findRow(n);if(i)for(let n=e.right;n>=e.left;n--){const e=i.findCell(n);if(e&&e.type!==r.ValueType.Merge&&!1===t(e))return}}}getMergeRange(e){if(e.isMerged&&Array.isArray(this.worksheet.model.merges)){const t=e.type===r.ValueType.Merge?e.master.address:e.address,n=this.worksheet.model.merges.find(e=>-1!==e.indexOf(t+":"));if(n){const[e,t]=n.split(":",2);return c.createFromCells(this.worksheet.getCell(e),this.worksheet.getCell(t))}}return null}moveRow(e,t){this.copyRow(e,t),this.clearRow(e)}copyRow(e,t){if(e.model){const n=Object.assign({},e.model);n.number=t.number,n.cells=[],t.model=n;for(let r=this.getSheetDimension().right;r>0;r--){const n=e.getCell(r),i=t.getCell(r);this.copyCell(n,i)}}}copyCell(e,t){if(e.isMerged&&e.type===r.ValueType.Merge)return;const n=Object.assign({},e.model);n.address=t.address;const i=this.getMergeRange(e);i&&(i.move(+t.row-+e.row,+t.col-+e.col),this.worksheet.unMergeCells(i.top,i.left,i.bottom,i.right),this.worksheet.mergeCells(i.top,i.left,i.bottom,i.right)),this.worksheet.getImages().forEach(n=>{const r=n.range;r.tl.row<=+e.row&&r.br.row>=+e.row&&r.tl.col<=+e.col&&r.br.col>=+e.col&&(r.tl.row+=+t.row-+e.row,r.br.row+=+t.row-+e.row)}),t.model=n}clearRow(e){e.model={cells:[],number:e.number,min:void 0,max:void 0,height:void 0,style:void 0,hidden:void 0,outlineLevel:void 0,collapsed:void 0}}}class d{static templateFromData(e,t,n={}){const a=new r.Workbook;return Object(i.a)(a.xlsx.load(e)).pipe(Object(s.a)(e=>{var r;if(null===(r=t.pages)||void 0===r?void 0:r.length){const r=e.worksheets[0];t.pages.forEach(t=>{const i=e.addWorksheet(t.sheetName);r.columns.forEach((e,t)=>{i.getColumn(t+1).width=e.width}),r.eachRow({includeEmpty:!0},function(e,t){const n=i.getRow(t);n.height=e.height,e.eachCell({includeEmpty:!0},function(e,t){const r=n.getCell(t);r.value=e.value,e.style&&(r.style=Object.assign({},e.style)),e.border&&(r.border=Object.assign({},e.border)),e.fill&&(r.fill=Object.assign({},e.fill)),e.alignment&&(r.alignment=Object.assign({},e.alignment)),e.font&&(r.font=Object.assign({},e.font))})});const s=Object.keys(r._merges);(null==s?void 0:s.length)&&s.forEach(e=>{i.mergeCells(r._merges[e].model)});const o=new h(i);new u(o,t,n).execute()});const i=new h(r);new u(i,t,n).execute()}else e.worksheets.forEach(e=>{const r=new h(e);new u(r,t,n).execute()});return Object(i.a)(e.xlsx.writeBuffer())}),Object(o.a)(e=>new Blob([e],{type:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"})))}}},mjQ1:function(e,t,n){"use strict";n.d(t,"a",function(){return O}),n.d(t,"b",function(){return z}),n.d(t,"c",function(){return h}),n.d(t,"d",function(){return D}),n.d(t,"e",function(){return j}),n.d(t,"f",function(){return A}),n.d(t,"g",function(){return u}),n.d(t,"h",function(){return C}),n.d(t,"i",function(){return M}),n.d(t,"j",function(){return k});var r=n("mrSG"),i=n("tk/3"),s=n("fXoL"),o=n("xwJx"),a=n("SURy"),c=n("lJxs"),l=n("2kdd");function u(e){return"number"==typeof e}function h(e){return("string"==typeof e?e:e.path).split(".").slice(0,-1).map(e=>+e)}function d(e){var{properties:t,links:n}=e,i=Object(r.d)(e,["properties","links"]);return function(e){const{properties:t}=e;return Object.entries(t).forEach(([e,n])=>Object(o.C)(n)&&(t[e]=Object(o.H)(n))),e}(Object.assign(Object.assign({},i),{properties:null!=t?t:{},links:null!=n?n:{}}))}function f(e){var{items:t}=e,n=Object(r.d)(e,["items"]);return Object.assign(n,{items:(null!=t?t:[]).map(d)})}function p(e){const t=null!=e?e:{},{attributes:n,references:i}=t,s=Object(r.d)(t,["attributes","references"]);return Object(o.s)(Object.assign(Object.assign({},s),{attrs:n,refs:i}))}function m(e,t){const{properties:n}=e;return Object.entries(n).forEach(([e,r])=>r instanceof Date&&(n[e]=Object(o.z)(r,t(e).type===a.a.DateTime))),e}class g{constructor(e,t){this.http=e,this.url=t}query(e,t){return this.http.post(this.url,e,{headers:{"X-HTTP-Method-Override":"GET"},params:Object(o.s)(t)}).pipe(Object(c.a)(e=>f(e)))}}class v{constructor(e,t,n,r,i){this.http=e,this.metadata=t,this.url=`${n}/${r}/collections/${i}`}query(e){return this.http.get(this.url,{params:p(e)}).pipe(Object(c.a)(e=>f(e))).toPromise()}create(e){return Object(r.a)(this,void 0,void 0,function*(){const t=yield this.metadata.classes.get(e.classId),{id:n}=yield this.http.post(this.url,m(e,e=>t.attributes[e])).toPromise();return n})}}class y{constructor(e,t){this.jobs=t,this.url=e+"/export"}export(e,t,n="excel",r){return this.jobs.do(this.url,e,Object.assign({filename:t,format:n},Object.entries(null!=r?r:{}).reduce((e,[t,n])=>(e[t]=n?null:void 0,e),{})))}}class b{constructor(e,t,n){this.http=e,this.url=`${t}/${n}/permissions`}get(){return this.http.get(this.url).toPromise()}update(e){return this.http.patch(this.url,e).toPromise()}delete(){return this.http.delete(this.url).toPromise()}}class _{constructor(e,t,n,r,i){this.http=e,this.update=i,this.url=`${t}/${n}/references/${r}`}query(e){return this.http.get(this.url,{params:p(e)}).pipe(Object(c.a)(e=>f(e))).toPromise()}}class w{constructor(e,t,n){this.http=e,this.collectionId=n,this.url=t+"/trees/main/nodes"}children(e,t,n){return this.http.get(`${this.url}/${e}/children`,{params:Object(o.s)({collection:this.collectionId,skip:t,take:n})}).pipe(Object(c.a)(e=>x(e))).toPromise()}branch(e,t,n){return this.http.get(`${this.url}/${e}/branch`,{params:Object(o.s)({collection:this.collectionId,leaf:t,pageSize:n})}).pipe(Object(c.a)(e=>x(e))).toPromise()}}class S{constructor(e,t,n){this.nodes=new w(e,t,n)}}function x(e){var{items:t}=e,n=Object(r.d)(e,["items"]);return Object.assign(n,{items:(null!=t?t:[]).map(({entity:e,children:t})=>{var n;return{entity:Object.assign(d(e),{name:null===(n=e.properties)||void 0===n?void 0:n[o.w.entities.attributes.name]}),children:x(t)}})})}class O{constructor(e,t,{core:n,analytic:r},i){this.http=e,this.metadata=t,this.url=n+"/entities",this.analytic=new g(this.http,r),this.jobs=new y(r,i)}get(e,t){return this.http.get(`${this.url}/${e}`,{params:p(t)}).pipe(Object(c.a)(e=>d(e))).toPromise()}create(e,t,n){return this.collections(t,n).create(e)}update(e){return Object(r.a)(this,void 0,void 0,function*(){const{id:t}=e,n=Object(r.d)(e,["id"]),i=yield this.metadata.attributes.query();yield this.http.put(`${this.url}/${t}`,m(n,e=>{var t;return null!==(t=i.find(({id:t})=>t===e))&&void 0!==t?t:Object(o.J)(`Attribute '${e}' is not found `)})).toPromise()})}delete(...e){return this.http.delete(this.url,{params:Object(o.s)({ids:e})}).toPromise()}collections(e,t){return new v(this.http,this.metadata,this.url,e,t)}references(e,t){return new _(this.http,this.url,e,t,({add:n,remove:r})=>{let i={};n&&(i.add={[t]:null!=n?n:[]}),r&&(i.remove={[t]:null!=r?r:[]});let s={id:e,links:i,properties:{}};return this.update(s)})}permissions(e){return new b(this.http,this.url,e)}trees(e=o.w.entities.collection){return new S(this.http,this.url,e)}}function k(e,{properties:t},n){return E((t,r,i,s)=>{var o;const c=function(e,t){return Object(a.e)(t)?e:t.map.to(e,n)}(null!==(o=e.properties[r])&&void 0!==o?o:e.links[r],i);void 0!==c&&(s[t]=c)},t,{id:e.id,classId:e.classId})}function C(e,{properties:t,class:n},r,i){return E((t,n,s,{properties:o,links:a})=>{var c;if(t in e){const l=T(e[t],s,i);if(n in r.references){const e=null!==(c=l)&&void 0!==c?c:[];e.length&&(a[n]=e)}else o[n]=l}},t,{classId:n,properties:{},links:{}})}function M(e,t,{properties:n},r,i){return E((n,o,a,{properties:c,links:{add:l,remove:u}})=>{var h,d;const f=t[n],p=e[n];if(p!==f){const e=T(p,a,i);if(o in r.references){const t=null!==(h=T(f,a,i))&&void 0!==h?h:[],n=null!==(d=e)&&void 0!==d?d:[];s(l,o,n,t),s(u,o,t,n)}else c[o]=void 0!==e?e:null}},n,{classId:r.id,properties:{},links:{add:{},remove:{}}});function s(e,t,n,r){const i=n.filter(e=>!r.includes(e));i.length&&(e[t]=i)}}function E(e,t,n){return Object.entries(t).reduce((t,[n,r])=>{const i=r;return e(n,j(i),i,t),t},n)}function T(e,t,n){return Object(a.e)(t)?e:t.map.from(e,n)}function j(e){var t;return Object(a.e)(e)?e:null!==(t=null==e?void 0:e.id)&&void 0!==t?t:Object(o.J)("property is undefined")}function D({properties:e},{attributes:t,references:n},...r){const i=(r.length?r:Object.keys(e)).map(t=>j(e[t]));return{attributes:i.filter(e=>e in t),references:i.filter(e=>e in n)}}function A(e,t,...n){const{attributes:r,references:i}=D(e,t,...n);return[...(null!=r?r:[]).map(l.c),...(null!=i?i:[]).map(l.h)]}O.\u0275fac=function(e){return new(e||O)(s.Xc(i.c),s.Xc(a.c),s.Xc(o.a),s.Xc(o.l))},O.\u0275prov=s.Jc({factory:function(){return new O(s.Xc(i.c),s.Xc(a.c),s.Xc(o.a),s.Xc(o.l))},token:O,providedIn:"root"}),O.ctorParameters=()=>[{type:i.c},{type:a.c},{type:o.a},{type:o.l}];const L={to:e=>(null!=e?e:[]).map(({id:e,properties:t})=>({id:e,name:t[o.w.entities.attributes.name]})),from:e=>(null!=e?e:[]).map(({id:e})=>e)},z={options:L,option:{to:e=>L.to(e)[0],from:e=>e?[e.id]:[]}}},mlxB:function(e,t,n){"use strict";function r(e){return e instanceof Date&&!isNaN(+e)}n.d(t,"a",function(){return r})},mrSG:function(e,t,n){"use strict";n.d(t,"d",function(){return r}),n.d(t,"b",function(){return i}),n.d(t,"c",function(){return s}),n.d(t,"a",function(){return o});function r(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n}function i(e,t,n,r){var i,s=arguments.length,o=s<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(o=(s<3?i(o):s>3?i(t,n,o):i(t,n))||o);return s>3&&o&&Object.defineProperty(t,n,o),o}function s(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function o(e,t,n,r){return new(n||(n=Promise))(function(i,s){function o(e){try{c(r.next(e))}catch(t){s(t)}}function a(e){try{c(r.throw(e))}catch(t){s(t)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(o,a)}c((r=r.apply(e,t||[])).next())})}Object.create;Object.create;"function"==typeof SuppressedError&&SuppressedError},n01v:function(e,t,n){"use strict";n.d(t,"a",function(){return s});var r=n("xwJx"),i=n("mjQ1");const s={class:"1ecfe2e7-0c7e-44bd-bef3-d67d66a61143",root:n("5puH").e.root,collection:r.w.entities.collection,properties:{created:r.w.entities.attributes.created,name:r.w.entities.attributes.name,removedElements:{id:"f9b6f718-709f-4bd6-ac32-422989b52e0c",map:i.b.options}}}},n6bG:function(e,t,n){"use strict";function r(e){return"function"==typeof e}n.d(t,"a",function(){return r})},n7bz:function(e,t,n){"use strict";n.d(t,"a",function(){return F}),n.d(t,"b",function(){return H}),n.d(t,"c",function(){return N}),n.d(t,"d",function(){return V}),n.d(t,"e",function(){return R}),n.d(t,"f",function(){return B});var r=n("aetl"),i=n("/Tr7"),s=n("jIYg");var o=n("/h9T");var a=n("dLU1");function c(e){Object(s.a)(1,arguments);var t=Object(i.a)(e),n=t.getFullYear(),r=t.getMonth(),o=new Date(0);return o.setFullYear(n,r+1,0),o.setHours(0,0,0,0),o.getDate()}var l=n("9/EM"),u=n("vq9N");function h(e,t){Object(s.a)(2,arguments);var n=Object(i.a)(e),r=Object(i.a)(t);return n.getFullYear()===r.getFullYear()}function d(e,t){Object(s.a)(2,arguments);var n=Object(i.a)(e),r=Object(i.a)(t);return n.getFullYear()===r.getFullYear()&&n.getMonth()===r.getMonth()}var f=n("M34a");function p(e,t){Object(s.a)(2,arguments);var n=Object(f.a)(e),r=Object(f.a)(t);return n.getTime()===r.getTime()}function m(e){Object(s.a)(1,arguments);var t=Object(i.a)(e);return t.setMinutes(0,0,0),t}function g(e,t){Object(s.a)(2,arguments);var n=m(e),r=m(t);return n.getTime()===r.getTime()}function v(e){Object(s.a)(1,arguments);var t=Object(i.a)(e);return t.setSeconds(0,0),t}function y(e,t){Object(s.a)(2,arguments);var n=v(e),r=v(t);return n.getTime()===r.getTime()}function b(e){Object(s.a)(1,arguments);var t=Object(i.a)(e);return t.setMilliseconds(0),t}function _(e,t){Object(s.a)(2,arguments);var n=b(e),r=b(t);return n.getTime()===r.getTime()}function w(e,t){Object(s.a)(2,arguments);var n=Object(i.a)(e),r=Object(i.a)(t);return n.getFullYear()-r.getFullYear()}function S(e,t){Object(s.a)(2,arguments);var n=Object(i.a)(e),r=Object(i.a)(t),o=n.getFullYear()-r.getFullYear(),a=n.getMonth()-r.getMonth();return 12*o+a}var x=n("gXqy"),O=n("w3qX");function k(e,t){return Object(s.a)(2,arguments),Object(i.a)(e).getTime()-Object(i.a)(t).getTime()}var C={ceil:Math.ceil,round:Math.round,floor:Math.floor,trunc:function(e){return e<0?Math.ceil(e):Math.floor(e)}};function M(e){return e?C[e]:C.trunc}function E(e,t,n){Object(s.a)(2,arguments);var r=k(e,t)/O.a;return M(null==n?void 0:n.roundingMethod)(r)}function T(e,t,n){Object(s.a)(2,arguments);var r=k(e,t)/O.b;return M(null==n?void 0:n.roundingMethod)(r)}function j(e,t,n){Object(s.a)(2,arguments);var r=k(e,t)/1e3;return M(null==n?void 0:n.roundingMethod)(r)}var D=n("Se/U");function A(e){Object(s.a)(1,arguments);var t=Object(i.a)(e);return t.setHours(23,59,59,999),t}function L(e){Object(s.a)(1,arguments);var t=Object(i.a)(e),n=t.getMonth();return t.setFullYear(t.getFullYear(),n+1,0),t.setHours(23,59,59,999),t}var z=n("79xS"),P=n("ofXK"),I=n("/KA4");function R(e){const[t,n]=e;return!!t&&!!n&&n.isBeforeDay(t)}function N(e,t,n="month",r="left"){const[i,s]=e;let o=i||new F,a=s||(t?o:o.add(1,n));return i&&!s?(o=i,a=t?i:i.add(1,n)):!i&&s?(o=t?s:s.add(-1,n),a=s):i&&s&&!t&&(i.isSame(s,n)||"left"===r?a=o.add(1,n):o=a.add(-1,n)),[o,a]}function H(e){return Array.isArray(e)?e.map(e=>e instanceof F?e.clone():null):e instanceof F?e.clone():null}class F{constructor(e){if(e)if(e instanceof Date)this.nativeDate=e;else{if("string"!=typeof e&&"number"!=typeof e)throw new Error('The input date type is not supported ("Date" is now recommended)');Object(z.b)('The string type is not recommended for date-picker, use "Date" type'),this.nativeDate=new Date(e)}else this.nativeDate=new Date}calendarStart(e){return new F(Object(r.a)(function(e){Object(s.a)(1,arguments);var t=Object(i.a)(e);return t.setDate(1),t.setHours(0,0,0,0),t}(this.nativeDate),e))}getYear(){return this.nativeDate.getFullYear()}getMonth(){return this.nativeDate.getMonth()}getDay(){return this.nativeDate.getDay()}getTime(){return this.nativeDate.getTime()}getDate(){return this.nativeDate.getDate()}getHours(){return this.nativeDate.getHours()}getMinutes(){return this.nativeDate.getMinutes()}getSeconds(){return this.nativeDate.getSeconds()}getMilliseconds(){return this.nativeDate.getMilliseconds()}clone(){return new F(new Date(this.nativeDate))}setHms(e,t,n){const r=new Date(this.nativeDate.setHours(e,t,n));return new F(r)}setYear(e){return new F(function(e,t){Object(s.a)(2,arguments);var n=Object(i.a)(e),r=Object(o.a)(t);return isNaN(n.getTime())?new Date(NaN):(n.setFullYear(r),n)}(this.nativeDate,e))}addYears(e){return new F(function(e,t){Object(s.a)(2,arguments);var n=Object(o.a)(t);return Object(a.a)(e,12*n)}(this.nativeDate,e))}setMonth(e){return new F(function(e,t){Object(s.a)(2,arguments);var n=Object(i.a)(e),r=Object(o.a)(t),a=n.getFullYear(),l=n.getDate(),u=new Date(0);u.setFullYear(a,r,15),u.setHours(0,0,0,0);var h=c(u);return n.setMonth(r,Math.min(l,h)),n}(this.nativeDate,e))}addMonths(e){return new F(Object(a.a)(this.nativeDate,e))}setDay(e,t){return new F(function(e,t,n){var r,a,c,h,d,f,p,m;Object(s.a)(2,arguments);var g=Object(u.a)(),v=Object(o.a)(null!==(r=null!==(a=null!==(c=null!==(h=null==n?void 0:n.weekStartsOn)&&void 0!==h?h:null==n||null===(d=n.locale)||void 0===d||null===(f=d.options)||void 0===f?void 0:f.weekStartsOn)&&void 0!==c?c:g.weekStartsOn)&&void 0!==a?a:null===(p=g.locale)||void 0===p||null===(m=p.options)||void 0===m?void 0:m.weekStartsOn)&&void 0!==r?r:0);if(!(v>=0&&v<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var y=Object(i.a)(e),b=Object(o.a)(t),_=y.getDay(),w=(b%7+7)%7,S=7-v,x=b<0||b>6?b-(_+S)%7:(w+S)%7-(_+S)%7;return Object(l.a)(y,x)}(this.nativeDate,e,t))}setDate(e){const t=new Date(this.nativeDate);return t.setDate(e),new F(t)}addDays(e){return this.setDate(this.getDate()+e)}add(e,t){switch(t){case"decade":return this.addYears(10*e);case"year":return this.addYears(e);case"month":default:return this.addMonths(e)}}isSame(e,t="day"){let n;switch(t){case"decade":n=(e,t)=>Math.abs(e.getFullYear()-t.getFullYear())<11;break;case"year":n=h;break;case"month":n=d;break;case"day":n=p;break;case"hour":n=g;break;case"minute":n=y;break;case"second":n=_;break;default:n=p}return n(this.nativeDate,this.toNativeDate(e))}isSameYear(e){return this.isSame(e,"year")}isSameMonth(e){return this.isSame(e,"month")}isSameDay(e){return this.isSame(e,"day")}isSameHour(e){return this.isSame(e,"hour")}isSameMinute(e){return this.isSame(e,"minute")}isSameSecond(e){return this.isSame(e,"second")}isBefore(e,t="day"){if(null===e)return!1;let n;switch(t){case"year":n=w;break;case"month":n=S;break;case"day":n=x.a;break;case"hour":n=E;break;case"minute":n=T;break;case"second":n=j;break;default:n=x.a}return n(this.nativeDate,this.toNativeDate(e))<0}isBeforeYear(e){return this.isBefore(e,"year")}isBeforeMonth(e){return this.isBefore(e,"month")}isBeforeDay(e){return this.isBefore(e,"day")}isToday(){return function(e){return Object(s.a)(1,arguments),p(e,Date.now())}(this.nativeDate)}isValid(){return Object(D.a)(this.nativeDate)}isFirstDayOfMonth(){return function(e){return Object(s.a)(1,arguments),1===Object(i.a)(e).getDate()}(this.nativeDate)}isLastDayOfMonth(){return function(e){Object(s.a)(1,arguments);var t=Object(i.a)(e);return A(t).getTime()===L(t).getTime()}(this.nativeDate)}toNativeDate(e){return e instanceof F?e.nativeDate:e}}const V=[["Y",31536e6],["M",2592e6],["D",864e5],["H",36e5],["m",6e4],["s",1e3],["S",1]];class B{constructor(e,t){this.format=e,this.localeId=t,this.regex=null,this.matchMap={hour:null,minute:null,second:null,periodNarrow:null,periodWide:null,periodAbbreviated:null},this.genRegexp()}toDate(e){const t=this.getTimeResult(e),n=new Date;return Object(I.p)(null==t?void 0:t.hour)&&n.setHours(t.hour),Object(I.p)(null==t?void 0:t.minute)&&n.setMinutes(t.minute),Object(I.p)(null==t?void 0:t.second)&&n.setSeconds(t.second),1===(null==t?void 0:t.period)&&n.getHours()<12&&n.setHours(n.getHours()+12),n}getTimeResult(e){const t=this.regex.exec(e);let n=null;return t?(Object(I.p)(this.matchMap.periodNarrow)&&(n=Object(P.C)(this.localeId,P.g.Format,P.y.Narrow).indexOf(t[this.matchMap.periodNarrow+1])),Object(I.p)(this.matchMap.periodWide)&&(n=Object(P.C)(this.localeId,P.g.Format,P.y.Wide).indexOf(t[this.matchMap.periodWide+1])),Object(I.p)(this.matchMap.periodAbbreviated)&&(n=Object(P.C)(this.localeId,P.g.Format,P.y.Abbreviated).indexOf(t[this.matchMap.periodAbbreviated+1])),{hour:Object(I.p)(this.matchMap.hour)?Number.parseInt(t[this.matchMap.hour+1],10):null,minute:Object(I.p)(this.matchMap.minute)?Number.parseInt(t[this.matchMap.minute+1],10):null,second:Object(I.p)(this.matchMap.second)?Number.parseInt(t[this.matchMap.second+1],10):null,period:n}):null}genRegexp(){let e=this.format.replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$&");const t=/h{1,2}/i,n=/m{1,2}/,r=/s{1,2}/,i=/aaaaa/,s=/aaaa/,o=/a{1,3}/,a=t.exec(this.format),c=n.exec(this.format),l=r.exec(this.format),u=i.exec(this.format);let h=null,d=null;u||(h=s.exec(this.format)),h||u||(d=o.exec(this.format));[a,c,l,u,h,d].filter(e=>!!e).sort((e,t)=>e.index-t.index).forEach((f,p)=>{switch(f){case a:this.matchMap.hour=p,e=e.replace(t,"(\\d{1,2})");break;case c:this.matchMap.minute=p,e=e.replace(n,"(\\d{1,2})");break;case l:this.matchMap.second=p,e=e.replace(r,"(\\d{1,2})");break;case u:this.matchMap.periodNarrow=p;const f=Object(P.C)(this.localeId,P.g.Format,P.y.Narrow).join("|");e=e.replace(i,`(${f})`);break;case h:this.matchMap.periodWide=p;const m=Object(P.C)(this.localeId,P.g.Format,P.y.Wide).join("|");e=e.replace(s,`(${m})`);break;case d:this.matchMap.periodAbbreviated=p;const g=Object(P.C)(this.localeId,P.g.Format,P.y.Abbreviated).join("|");e=e.replace(o,`(${g})`)}}),this.regex=new RegExp(e)}}},nLfN:function(e,t,n){"use strict";n.d(t,"a",function(){return o}),n.d(t,"b",function(){return a}),n.d(t,"c",function(){return m}),n.d(t,"d",function(){return p}),n.d(t,"e",function(){return d}),n.d(t,"f",function(){return f});var r=n("fXoL"),i=n("ofXK");let s;try{s="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(g){s=!1}class o{constructor(e){this._platformId=e,this.isBrowser=this._platformId?Object(i.F)(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!s)&&"undefined"!=typeof CSS&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}}o.\u0275fac=function(e){return new(e||o)(r.Xc(r.U))},o.\u0275prov=Object(r.Jc)({factory:function(){return new o(Object(r.Xc)(r.U))},token:o,providedIn:"root"}),o.ctorParameters=()=>[{type:Object,decorators:[{type:r.C,args:[r.U]}]}];class a{}a.\u0275mod=r.Lc({type:a}),a.\u0275inj=r.Kc({factory:function(e){return new(e||a)}});let c,l,u,h;function d(e){return function(){if(null==c&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>c=!0}))}finally{c=c||!1}return c}()?e:!!e.capture}function f(){if(null==u)if("object"==typeof document&&document||(u=!1),"scrollBehavior"in document.documentElement.style)u=!0;else{const e=Element.prototype.scrollTo;u=!!e&&!/\{\s*\[native code\]\s*\}/.test(e.toString())}return u}function p(){if("object"!=typeof document||!document)return 0;if(null==l){const e=document.createElement("div"),t=e.style;e.dir="rtl",t.width="1px",t.overflow="auto",t.visibility="hidden",t.pointerEvents="none",t.position="absolute";const n=document.createElement("div"),r=n.style;r.width="2px",r.height="1px",e.appendChild(n),document.body.appendChild(e),l=0,0===e.scrollLeft&&(e.scrollLeft=1,l=0===e.scrollLeft?1:2),e.parentNode.removeChild(e)}return l}function m(e){if(function(){if(null==h){const e="undefined"!=typeof document?document.head:null;h=!(!e||!e.createShadowRoot&&!e.attachShadow)}return h}()){const t=e.getRootNode?e.getRootNode():null;if("undefined"!=typeof ShadowRoot&&ShadowRoot&&t instanceof ShadowRoot)return t}return null}},nYR2:function(e,t,n){"use strict";n.d(t,"a",function(){return s});var r=n("7o/Q"),i=n("quSY");function s(e){return t=>t.lift(new o(e))}class o{constructor(e){this.callback=e}call(e,t){return t.subscribe(new a(e,this.callback))}}class a extends r.a{constructor(e,t){super(e),this.add(new i.a(t))}}},ngJS:function(e,t,n){"use strict";n.d(t,"a",function(){return r});const r=e=>t=>{for(let n=0,r=e.length;n<r&&!t.closed;n++)t.next(e[n]);t.complete()}},nmCG:function(e,t,n){"use strict";n.d(t,"a",function(){return r});const r=e=>String(e).toLowerCase().match(/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|.(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/)},nmq7:function(e,t,n){"use strict";var r=n("0jNN"),i=Object.prototype.hasOwnProperty,s={allowDots:!1,allowPrototypes:!1,arrayLimit:20,decoder:r.decode,delimiter:"&",depth:5,parameterLimit:1e3,plainObjects:!1,strictNullHandling:!1},o=function(e,t,n){if(e){var r=n.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,s=/(\[[^[\]]*])/g,o=/(\[[^[\]]*])/.exec(r),a=o?r.slice(0,o.index):r,c=[];if(a){if(!n.plainObjects&&i.call(Object.prototype,a)&&!n.allowPrototypes)return;c.push(a)}for(var l=0;null!==(o=s.exec(r))&&l<n.depth;){if(l+=1,!n.plainObjects&&i.call(Object.prototype,o[1].slice(1,-1))&&!n.allowPrototypes)return;c.push(o[1])}return o&&c.push("["+r.slice(o.index)+"]"),function(e,t,n){for(var r=t,i=e.length-1;i>=0;--i){var s,o=e[i];if("[]"===o&&n.parseArrays)s=[].concat(r);else{s=n.plainObjects?Object.create(null):{};var a="["===o.charAt(0)&&"]"===o.charAt(o.length-1)?o.slice(1,-1):o,c=parseInt(a,10);n.parseArrays||""!==a?!isNaN(c)&&o!==a&&String(c)===a&&c>=0&&n.parseArrays&&c<=n.arrayLimit?(s=[])[c]=r:"__proto__"!==a&&(s[a]=r):s={0:r}}r=s}return r}(c,t,n)}};e.exports=function(e,t){var n=t?r.assign({},t):{};if(null!==n.decoder&&void 0!==n.decoder&&"function"!=typeof n.decoder)throw new TypeError("Decoder has to be a function.");if(n.ignoreQueryPrefix=!0===n.ignoreQueryPrefix,n.delimiter="string"==typeof n.delimiter||r.isRegExp(n.delimiter)?n.delimiter:s.delimiter,n.depth="number"==typeof n.depth?n.depth:s.depth,n.arrayLimit="number"==typeof n.arrayLimit?n.arrayLimit:s.arrayLimit,n.parseArrays=!1!==n.parseArrays,n.decoder="function"==typeof n.decoder?n.decoder:s.decoder,n.allowDots="boolean"==typeof n.allowDots?n.allowDots:s.allowDots,n.plainObjects="boolean"==typeof n.plainObjects?n.plainObjects:s.plainObjects,n.allowPrototypes="boolean"==typeof n.allowPrototypes?n.allowPrototypes:s.allowPrototypes,n.parameterLimit="number"==typeof n.parameterLimit?n.parameterLimit:s.parameterLimit,n.strictNullHandling="boolean"==typeof n.strictNullHandling?n.strictNullHandling:s.strictNullHandling,""===e||null==e)return n.plainObjects?Object.create(null):{};for(var a="string"==typeof e?function(e,t){for(var n={},r=t.ignoreQueryPrefix?e.replace(/^\?/,""):e,o=t.parameterLimit===1/0?void 0:t.parameterLimit,a=r.split(t.delimiter,o),c=0;c<a.length;++c){var l,u,h=a[c],d=h.indexOf("]="),f=-1===d?h.indexOf("="):d+1;-1===f?(l=t.decoder(h,s.decoder),u=t.strictNullHandling?null:""):(l=t.decoder(h.slice(0,f),s.decoder),u=t.decoder(h.slice(f+1),s.decoder)),i.call(n,l)?n[l]=[].concat(n[l]).concat(u):n[l]=u}return n}(e,n):e,c=n.plainObjects?Object.create(null):{},l=Object.keys(a),u=0;u<l.length;++u){var h=l[u],d=o(h,a[h],n);c=r.merge(c,d,n)}return r.compact(c)}},nyYc:function(e,t,n){!function(e){"use strict";var t=/^(janvier|f\xe9vrier|mars|avril|mai|juin|juillet|ao\xfbt|septembre|octobre|novembre|d\xe9cembre)/i,n=/(janv\.?|f\xe9vr\.?|mars|avr\.?|mai|juin|juil\.?|ao\xfbt|sept\.?|oct\.?|nov\.?|d\xe9c\.?)/i,r=/(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,i=[/^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];e.defineLocale("fr",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:t,monthsShortStrictRegex:n,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,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(e,t){switch(t){case"D":return e+(1===e?"er":"");default:case"M":case"Q":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}},week:{dow:1,doy:4}})}(n("wd/R"))},o1bE:function(e,t,n){!function(e){"use strict";var t=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},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"]},r=function(e){return function(r,i,s,o){var a=t(r),c=n[e][t(r)];return 2===a&&(c=c[i?0:1]),c.replace(/%d/i,r)}},i=["\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"];e.defineLocale("ar-dz",{months:i,monthsShort:i,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(e){return"\u0645"===e},meridiem:function(e,t,n){return e<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:r("s"),ss:r("s"),m:r("m"),mm:r("m"),h:r("h"),hh:r("h"),d:r("d"),dd:r("d"),M:r("M"),MM:r("M"),y:r("y"),yy:r("y")},postformat:function(e){return e.replace(/,/g,"\u060c")},week:{dow:0,doy:4}})}(n("wd/R"))},ofXK:function(e,t,n){"use strict";n.d(t,"a",function(){return _}),n.d(t,"b",function(){return Ve}),n.d(t,"c",function(){return st}),n.d(t,"d",function(){return c}),n.d(t,"e",function(){return qe}),n.d(t,"f",function(){return Ze}),n.d(t,"g",function(){return T}),n.d(t,"h",function(){return D}),n.d(t,"i",function(){return S}),n.d(t,"j",function(){return h}),n.d(t,"k",function(){return x}),n.d(t,"l",function(){return y}),n.d(t,"m",function(){return Se}),n.d(t,"n",function(){return ke}),n.d(t,"o",function(){return Me}),n.d(t,"p",function(){return Ie}),n.d(t,"q",function(){return De}),n.d(t,"r",function(){return Ae}),n.d(t,"s",function(){return Le}),n.d(t,"t",function(){return Re}),n.d(t,"u",function(){return A}),n.d(t,"v",function(){return w}),n.d(t,"w",function(){return l}),n.d(t,"x",function(){return it}),n.d(t,"y",function(){return j}),n.d(t,"z",function(){return ct}),n.d(t,"A",function(){return J}),n.d(t,"B",function(){return P}),n.d(t,"C",function(){return z}),n.d(t,"D",function(){return N}),n.d(t,"E",function(){return I}),n.d(t,"F",function(){return at}),n.d(t,"G",function(){return _e}),n.d(t,"H",function(){return a}),n.d(t,"I",function(){return ot}),n.d(t,"J",function(){return s}),n.d(t,"K",function(){return we}),n.d(t,"L",function(){return o});var r=n("fXoL");let i=null;function s(){return i}function o(e){i||(i=e)}class a{}const c=new r.E("DocumentToken");class l{}function u(){return Object(r.Xc)(d)}l.\u0275fac=function(e){return new(e||l)},l.\u0275prov=Object(r.Jc)({factory:u,token:l,providedIn:"platform"});const h=new r.E("Location Initialized");class d extends l{constructor(e){super(),this._doc=e,this._init()}_init(){this.location=s().getLocation(),this._history=s().getHistory()}getBaseHrefFromDOM(){return s().getBaseHref(this._doc)}onPopState(e){s().getGlobalEventTarget(this._doc,"window").addEventListener("popstate",e,!1)}onHashChange(e){s().getGlobalEventTarget(this._doc,"window").addEventListener("hashchange",e,!1)}get href(){return this.location.href}get protocol(){return this.location.protocol}get hostname(){return this.location.hostname}get port(){return this.location.port}get pathname(){return this.location.pathname}get search(){return this.location.search}get hash(){return this.location.hash}set pathname(e){this.location.pathname=e}pushState(e,t,n){f()?this._history.pushState(e,t,n):this.location.hash=n}replaceState(e,t,n){f()?this._history.replaceState(e,t,n):this.location.hash=n}forward(){this._history.forward()}back(){this._history.back()}getState(){return this._history.state}}function f(){return!!window.history.pushState}function p(){return new d(Object(r.Xc)(c))}function m(e,t){if(0==e.length)return t;if(0==t.length)return e;let n=0;return e.endsWith("/")&&n++,t.startsWith("/")&&n++,2==n?e+t.substring(1):1==n?e+t:e+"/"+t}function g(e){const t=e.match(/#|\?|$/),n=t&&t.index||e.length,r=n-("/"===e[n-1]?1:0);return e.slice(0,r)+e.slice(n)}function v(e){return e&&"?"!==e[0]?"?"+e:e}d.\u0275fac=function(e){return new(e||d)(r.Xc(c))},d.\u0275prov=Object(r.Jc)({factory:p,token:d,providedIn:"platform"}),d.ctorParameters=()=>[{type:void 0,decorators:[{type:r.C,args:[c]}]}];class y{}function b(e){const t=Object(r.Xc)(c).location;return new w(Object(r.Xc)(l),t&&t.origin||"")}y.\u0275fac=function(e){return new(e||y)},y.\u0275prov=Object(r.Jc)({factory:b,token:y,providedIn:"root"});const _=new r.E("appBaseHref");class w extends y{constructor(e,t){if(super(),this._platformLocation=e,null==t&&(t=this._platformLocation.getBaseHrefFromDOM()),null==t)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");this._baseHref=t}onPopState(e){this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e)}getBaseHref(){return this._baseHref}prepareExternalUrl(e){return m(this._baseHref,e)}path(e=!1){const t=this._platformLocation.pathname+v(this._platformLocation.search),n=this._platformLocation.hash;return n&&e?`${t}${n}`:t}pushState(e,t,n,r){const i=this.prepareExternalUrl(n+v(r));this._platformLocation.pushState(e,t,i)}replaceState(e,t,n,r){const i=this.prepareExternalUrl(n+v(r));this._platformLocation.replaceState(e,t,i)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}}w.\u0275fac=function(e){return new(e||w)(r.Xc(l),r.Xc(_,8))},w.\u0275prov=r.Jc({token:w,factory:w.\u0275fac}),w.ctorParameters=()=>[{type:l},{type:String,decorators:[{type:r.R},{type:r.C,args:[_]}]}];class S extends y{constructor(e,t){super(),this._platformLocation=e,this._baseHref="",null!=t&&(this._baseHref=t)}onPopState(e){this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e)}getBaseHref(){return this._baseHref}path(e=!1){let t=this._platformLocation.hash;return null==t&&(t="#"),t.length>0?t.substring(1):t}prepareExternalUrl(e){const t=m(this._baseHref,e);return t.length>0?"#"+t:t}pushState(e,t,n,r){let i=this.prepareExternalUrl(n+v(r));0==i.length&&(i=this._platformLocation.pathname),this._platformLocation.pushState(e,t,i)}replaceState(e,t,n,r){let i=this.prepareExternalUrl(n+v(r));0==i.length&&(i=this._platformLocation.pathname),this._platformLocation.replaceState(e,t,i)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}}S.\u0275fac=function(e){return new(e||S)(r.Xc(l),r.Xc(_,8))},S.\u0275prov=r.Jc({token:S,factory:S.\u0275fac}),S.ctorParameters=()=>[{type:l},{type:String,decorators:[{type:r.R},{type:r.C,args:[_]}]}];class x{constructor(e,t){this._subject=new r.x,this._urlChangeListeners=[],this._platformStrategy=e;const n=this._platformStrategy.getBaseHref();this._platformLocation=t,this._baseHref=g(k(n)),this._platformStrategy.onPopState(e=>{this._subject.emit({url:this.path(!0),pop:!0,state:e.state,type:e.type})})}path(e=!1){return this.normalize(this._platformStrategy.path(e))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(e,t=""){return this.path()==this.normalize(e+v(t))}normalize(e){return x.stripTrailingSlash(function(e,t){return e&&t.startsWith(e)?t.substring(e.length):t}(this._baseHref,k(e)))}prepareExternalUrl(e){return e&&"/"!==e[0]&&(e="/"+e),this._platformStrategy.prepareExternalUrl(e)}go(e,t="",n=null){this._platformStrategy.pushState(n,"",e,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+v(t)),n)}replaceState(e,t="",n=null){this._platformStrategy.replaceState(n,"",e,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+v(t)),n)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}onUrlChange(e){this._urlChangeListeners.push(e),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(e=>{this._notifyUrlChangeListeners(e.url,e.state)}))}_notifyUrlChangeListeners(e="",t){this._urlChangeListeners.forEach(n=>n(e,t))}subscribe(e,t,n){return this._subject.subscribe({next:e,error:t,complete:n})}}function O(){return new x(Object(r.Xc)(y),Object(r.Xc)(l))}function k(e){return e.replace(/\/index.html$/,"")}x.\u0275fac=function(e){return new(e||x)(r.Xc(y),r.Xc(l))},x.normalizeQueryParams=v,x.joinWithSlash=m,x.stripTrailingSlash=g,x.\u0275prov=Object(r.Jc)({factory:O,token:x,providedIn:"root"}),x.ctorParameters=()=>[{type:y},{type:l}];const C={ADP:[void 0,void 0,0],AFN:[void 0,void 0,0],ALL:[void 0,void 0,0],AMD:[void 0,void 0,2],AOA:[void 0,"Kz"],ARS:[void 0,"$"],AUD:["A$","$"],BAM:[void 0,"KM"],BBD:[void 0,"$"],BDT:[void 0,"\u09f3"],BHD:[void 0,void 0,3],BIF:[void 0,void 0,0],BMD:[void 0,"$"],BND:[void 0,"$"],BOB:[void 0,"Bs"],BRL:["R$"],BSD:[void 0,"$"],BWP:[void 0,"P"],BYN:[void 0,"\u0440.",2],BYR:[void 0,void 0,0],BZD:[void 0,"$"],CAD:["CA$","$",2],CHF:[void 0,void 0,2],CLF:[void 0,void 0,4],CLP:[void 0,"$",0],CNY:["CN\xa5","\xa5"],COP:[void 0,"$",2],CRC:[void 0,"\u20a1",2],CUC:[void 0,"$"],CUP:[void 0,"$"],CZK:[void 0,"K\u010d",2],DJF:[void 0,void 0,0],DKK:[void 0,"kr",2],DOP:[void 0,"$"],EGP:[void 0,"E\xa3"],ESP:[void 0,"\u20a7",0],EUR:["\u20ac"],FJD:[void 0,"$"],FKP:[void 0,"\xa3"],GBP:["\xa3"],GEL:[void 0,"\u20be"],GIP:[void 0,"\xa3"],GNF:[void 0,"FG",0],GTQ:[void 0,"Q"],GYD:[void 0,"$",2],HKD:["HK$","$"],HNL:[void 0,"L"],HRK:[void 0,"kn"],HUF:[void 0,"Ft",2],IDR:[void 0,"Rp",2],ILS:["\u20aa"],INR:["\u20b9"],IQD:[void 0,void 0,0],IRR:[void 0,void 0,0],ISK:[void 0,"kr",0],ITL:[void 0,void 0,0],JMD:[void 0,"$"],JOD:[void 0,void 0,3],JPY:["\xa5",void 0,0],KHR:[void 0,"\u17db"],KMF:[void 0,"CF",0],KPW:[void 0,"\u20a9",0],KRW:["\u20a9",void 0,0],KWD:[void 0,void 0,3],KYD:[void 0,"$"],KZT:[void 0,"\u20b8"],LAK:[void 0,"\u20ad",0],LBP:[void 0,"L\xa3",0],LKR:[void 0,"Rs"],LRD:[void 0,"$"],LTL:[void 0,"Lt"],LUF:[void 0,void 0,0],LVL:[void 0,"Ls"],LYD:[void 0,void 0,3],MGA:[void 0,"Ar",0],MGF:[void 0,void 0,0],MMK:[void 0,"K",0],MNT:[void 0,"\u20ae",2],MRO:[void 0,void 0,0],MUR:[void 0,"Rs",2],MXN:["MX$","$"],MYR:[void 0,"RM"],NAD:[void 0,"$"],NGN:[void 0,"\u20a6"],NIO:[void 0,"C$"],NOK:[void 0,"kr",2],NPR:[void 0,"Rs"],NZD:["NZ$","$"],OMR:[void 0,void 0,3],PHP:[void 0,"\u20b1"],PKR:[void 0,"Rs",2],PLN:[void 0,"z\u0142"],PYG:[void 0,"\u20b2",0],RON:[void 0,"lei"],RSD:[void 0,void 0,0],RUB:[void 0,"\u20bd"],RUR:[void 0,"\u0440."],RWF:[void 0,"RF",0],SBD:[void 0,"$"],SEK:[void 0,"kr",2],SGD:[void 0,"$"],SHP:[void 0,"\xa3"],SLL:[void 0,void 0,0],SOS:[void 0,void 0,0],SRD:[void 0,"$"],SSP:[void 0,"\xa3"],STD:[void 0,void 0,0],STN:[void 0,"Db"],SYP:[void 0,"\xa3",0],THB:[void 0,"\u0e3f"],TMM:[void 0,void 0,0],TND:[void 0,void 0,3],TOP:[void 0,"T$"],TRL:[void 0,void 0,0],TRY:[void 0,"\u20ba"],TTD:[void 0,"$"],TWD:["NT$","$",2],TZS:[void 0,void 0,2],UAH:[void 0,"\u20b4"],UGX:[void 0,void 0,0],USD:["$"],UYI:[void 0,void 0,0],UYU:[void 0,"$"],UYW:[void 0,void 0,4],UZS:[void 0,void 0,2],VEF:[void 0,"Bs",2],VND:["\u20ab",void 0,0],VUV:[void 0,void 0,0],XAF:["FCFA",void 0,0],XCD:["EC$","$"],XOF:["CFA",void 0,0],XPF:["CFPF",void 0,0],XXX:["\xa4"],YER:[void 0,void 0,0],ZAR:[void 0,"R"],ZMK:[void 0,void 0,0],ZMW:[void 0,"ZK"],ZWD:[void 0,void 0,0]};var M,E,T,j,D,A,L;function z(e,t,n){const i=Object(r.Sb)(e),s=B([i[r.Cb.DayPeriodsFormat],i[r.Cb.DayPeriodsStandalone]],t);return B(s,n)}function P(e,t){return B(Object(r.Sb)(e)[r.Cb.DateFormat],t)}function I(e,t){return B(Object(r.Sb)(e)[r.Cb.TimeFormat],t)}function R(e,t){return B(Object(r.Sb)(e)[r.Cb.DateTimeFormat],t)}function N(e,t){const n=Object(r.Sb)(e),i=n[r.Cb.NumberSymbols][t];if(void 0===i){if(t===A.CurrencyDecimal)return n[r.Cb.NumberSymbols][A.Decimal];if(t===A.CurrencyGroup)return n[r.Cb.NumberSymbols][A.Group]}return i}function H(e,t){return Object(r.Sb)(e)[r.Cb.NumberFormats][t]}!function(e){e[e.Decimal=0]="Decimal",e[e.Percent=1]="Percent",e[e.Currency=2]="Currency",e[e.Scientific=3]="Scientific"}(M||(M={})),function(e){e[e.Zero=0]="Zero",e[e.One=1]="One",e[e.Two=2]="Two",e[e.Few=3]="Few",e[e.Many=4]="Many",e[e.Other=5]="Other"}(E||(E={})),function(e){e[e.Format=0]="Format",e[e.Standalone=1]="Standalone"}(T||(T={})),function(e){e[e.Narrow=0]="Narrow",e[e.Abbreviated=1]="Abbreviated",e[e.Wide=2]="Wide",e[e.Short=3]="Short"}(j||(j={})),function(e){e[e.Short=0]="Short",e[e.Medium=1]="Medium",e[e.Long=2]="Long",e[e.Full=3]="Full"}(D||(D={})),function(e){e[e.Decimal=0]="Decimal",e[e.Group=1]="Group",e[e.List=2]="List",e[e.PercentSign=3]="PercentSign",e[e.PlusSign=4]="PlusSign",e[e.MinusSign=5]="MinusSign",e[e.Exponential=6]="Exponential",e[e.SuperscriptingExponent=7]="SuperscriptingExponent",e[e.PerMille=8]="PerMille",e[e[1/0]=9]="Infinity",e[e.NaN=10]="NaN",e[e.TimeSeparator=11]="TimeSeparator",e[e.CurrencyDecimal=12]="CurrencyDecimal",e[e.CurrencyGroup=13]="CurrencyGroup"}(A||(A={})),function(e){e[e.Sunday=0]="Sunday",e[e.Monday=1]="Monday",e[e.Tuesday=2]="Tuesday",e[e.Wednesday=3]="Wednesday",e[e.Thursday=4]="Thursday",e[e.Friday=5]="Friday",e[e.Saturday=6]="Saturday"}(L||(L={}));const F=r.Vb;function V(e){if(!e[r.Cb.ExtraData])throw new Error(`Missing extra locale data for the locale "${e[r.Cb.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function B(e,t){for(let n=t;n>-1;n--)if(void 0!==e[n])return e[n];throw new Error("Locale data API: locale data undefined")}function Y(e){const[t,n]=e.split(":");return{hours:+t,minutes:+n}}function U(e,t,n="en"){const i=function(e){return Object(r.Sb)(e)[r.Cb.Currencies]}(n)[e]||C[e]||[],s=i[1];return"narrow"===t&&"string"==typeof s?s:i[0]||e}const W=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,q={},$=/((?:[^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]*)/;var G,X,K;function J(e,t,n,r){let i=function(e){if(le(e))return e;if("number"==typeof e&&!isNaN(e))return new Date(e);if("string"==typeof e){e=e.trim();const t=parseFloat(e);if(!isNaN(e-t))return new Date(t);if(/^(\d{4}-\d{1,2}-\d{1,2})$/.test(e)){const[t,n,r]=e.split("-").map(e=>+e);return new Date(t,n-1,r)}let n;if(n=e.match(W))return function(e){const t=new Date(0);let n=0,r=0;const i=e[8]?t.setUTCFullYear:t.setFullYear,s=e[8]?t.setUTCHours:t.setHours;e[9]&&(n=Number(e[9]+e[10]),r=Number(e[9]+e[11]));i.call(t,Number(e[1]),Number(e[2])-1,Number(e[3]));const o=Number(e[4]||0)-n,a=Number(e[5]||0)-r,c=Number(e[6]||0),l=Math.floor(1e3*parseFloat("0."+(e[7]||0)));return s.call(t,o,a,c,l),t}(n)}const t=new Date(e);if(!le(t))throw new Error(`Unable to convert "${e}" into a date`);return t}(e);t=Q(n,t)||t;let s,o=[];for(;t;){if(s=$.exec(t),!s){o.push(t);break}{o=o.concat(s.slice(1));const e=o.pop();if(!e)break;t=e}}let a=i.getTimezoneOffset();r&&(a=ce(r,a),i=function(e,t,n){const r=n?-1:1,i=e.getTimezoneOffset(),s=ce(t,i);return function(e,t){return(e=new Date(e.getTime())).setMinutes(e.getMinutes()+t),e}(e,r*(s-i))}(i,r,!0));let c="";return o.forEach(e=>{const t=function(e){if(ae[e])return ae[e];let t;switch(e){case"G":case"GG":case"GGG":t=ne(K.Eras,j.Abbreviated);break;case"GGGG":t=ne(K.Eras,j.Wide);break;case"GGGGG":t=ne(K.Eras,j.Narrow);break;case"y":t=te(X.FullYear,1,0,!1,!0);break;case"yy":t=te(X.FullYear,2,0,!0,!0);break;case"yyy":t=te(X.FullYear,3,0,!1,!0);break;case"yyyy":t=te(X.FullYear,4,0,!1,!0);break;case"Y":t=oe(1);break;case"YY":t=oe(2,!0);break;case"YYY":t=oe(3);break;case"YYYY":t=oe(4);break;case"M":case"L":t=te(X.Month,1,1);break;case"MM":case"LL":t=te(X.Month,2,1);break;case"MMM":t=ne(K.Months,j.Abbreviated);break;case"MMMM":t=ne(K.Months,j.Wide);break;case"MMMMM":t=ne(K.Months,j.Narrow);break;case"LLL":t=ne(K.Months,j.Abbreviated,T.Standalone);break;case"LLLL":t=ne(K.Months,j.Wide,T.Standalone);break;case"LLLLL":t=ne(K.Months,j.Narrow,T.Standalone);break;case"w":t=se(1);break;case"ww":t=se(2);break;case"W":t=se(1,!0);break;case"d":t=te(X.Date,1);break;case"dd":t=te(X.Date,2);break;case"E":case"EE":case"EEE":t=ne(K.Days,j.Abbreviated);break;case"EEEE":t=ne(K.Days,j.Wide);break;case"EEEEE":t=ne(K.Days,j.Narrow);break;case"EEEEEE":t=ne(K.Days,j.Short);break;case"a":case"aa":case"aaa":t=ne(K.DayPeriods,j.Abbreviated);break;case"aaaa":t=ne(K.DayPeriods,j.Wide);break;case"aaaaa":t=ne(K.DayPeriods,j.Narrow);break;case"b":case"bb":case"bbb":t=ne(K.DayPeriods,j.Abbreviated,T.Standalone,!0);break;case"bbbb":t=ne(K.DayPeriods,j.Wide,T.Standalone,!0);break;case"bbbbb":t=ne(K.DayPeriods,j.Narrow,T.Standalone,!0);break;case"B":case"BB":case"BBB":t=ne(K.DayPeriods,j.Abbreviated,T.Format,!0);break;case"BBBB":t=ne(K.DayPeriods,j.Wide,T.Format,!0);break;case"BBBBB":t=ne(K.DayPeriods,j.Narrow,T.Format,!0);break;case"h":t=te(X.Hours,1,-12);break;case"hh":t=te(X.Hours,2,-12);break;case"H":t=te(X.Hours,1);break;case"HH":t=te(X.Hours,2);break;case"m":t=te(X.Minutes,1);break;case"mm":t=te(X.Minutes,2);break;case"s":t=te(X.Seconds,1);break;case"ss":t=te(X.Seconds,2);break;case"S":t=te(X.FractionalSeconds,1);break;case"SS":t=te(X.FractionalSeconds,2);break;case"SSS":t=te(X.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":t=re(G.Short);break;case"ZZZZZ":t=re(G.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":t=re(G.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":t=re(G.Long);break;default:return null}return ae[e]=t,t}(e);c+=t?t(i,n,a):"''"===e?"'":e.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),c}function Q(e,t){const n=function(e){return Object(r.Sb)(e)[r.Cb.LocaleId]}(e);if(q[n]=q[n]||{},q[n][t])return q[n][t];let i="";switch(t){case"shortDate":i=P(e,D.Short);break;case"mediumDate":i=P(e,D.Medium);break;case"longDate":i=P(e,D.Long);break;case"fullDate":i=P(e,D.Full);break;case"shortTime":i=I(e,D.Short);break;case"mediumTime":i=I(e,D.Medium);break;case"longTime":i=I(e,D.Long);break;case"fullTime":i=I(e,D.Full);break;case"short":const t=Q(e,"shortTime"),n=Q(e,"shortDate");i=Z(R(e,D.Short),[t,n]);break;case"medium":const r=Q(e,"mediumTime"),s=Q(e,"mediumDate");i=Z(R(e,D.Medium),[r,s]);break;case"long":const o=Q(e,"longTime"),a=Q(e,"longDate");i=Z(R(e,D.Long),[o,a]);break;case"full":const c=Q(e,"fullTime"),l=Q(e,"fullDate");i=Z(R(e,D.Full),[c,l])}return i&&(q[n][t]=i),i}function Z(e,t){return t&&(e=e.replace(/\{([^}]+)}/g,function(e,n){return null!=t&&n in t?t[n]:e})),e}function ee(e,t,n="-",r,i){let s="";(e<0||i&&e<=0)&&(i?e=1-e:(e=-e,s=n));let o=String(e);for(;o.length<t;)o="0"+o;return r&&(o=o.substr(o.length-t)),s+o}function te(e,t,n=0,r=!1,i=!1){return function(s,o){let a=function(e,t){switch(e){case X.FullYear:return t.getFullYear();case X.Month:return t.getMonth();case X.Date:return t.getDate();case X.Hours:return t.getHours();case X.Minutes:return t.getMinutes();case X.Seconds:return t.getSeconds();case X.FractionalSeconds:return t.getMilliseconds();case X.Day:return t.getDay();default:throw new Error(`Unknown DateType value "${e}".`)}}(e,s);if((n>0||a>-n)&&(a+=n),e===X.Hours)0===a&&-12===n&&(a=12);else if(e===X.FractionalSeconds)return c=t,ee(a,3).substr(0,c);var c;const l=N(o,A.MinusSign);return ee(a,t,l,r,i)}}function ne(e,t,n=T.Format,i=!1){return function(s,o){return function(e,t,n,i,s,o){switch(n){case K.Months:return function(e,t,n){const i=Object(r.Sb)(e),s=B([i[r.Cb.MonthsFormat],i[r.Cb.MonthsStandalone]],t);return B(s,n)}(t,s,i)[e.getMonth()];case K.Days:return function(e,t,n){const i=Object(r.Sb)(e),s=B([i[r.Cb.DaysFormat],i[r.Cb.DaysStandalone]],t);return B(s,n)}(t,s,i)[e.getDay()];case K.DayPeriods:const a=e.getHours(),c=e.getMinutes();if(o){const e=function(e){const t=Object(r.Sb)(e);return V(t),(t[r.Cb.ExtraData][2]||[]).map(e=>"string"==typeof e?Y(e):[Y(e[0]),Y(e[1])])}(t),n=function(e,t,n){const i=Object(r.Sb)(e);V(i);const s=B([i[r.Cb.ExtraData][0],i[r.Cb.ExtraData][1]],t)||[];return B(s,n)||[]}(t,s,i),o=e.findIndex(e=>{if(Array.isArray(e)){const[t,n]=e,r=a>=t.hours&&c>=t.minutes,i=a<n.hours||a===n.hours&&c<n.minutes;if(t.hours<n.hours){if(r&&i)return!0}else if(r||i)return!0}else if(e.hours===a&&e.minutes===c)return!0;return!1});if(-1!==o)return n[o]}return z(t,s,i)[a<12?0:1];case K.Eras:return function(e,t){return B(Object(r.Sb)(e)[r.Cb.Eras],t)}(t,i)[e.getFullYear()<=0?0:1];default:throw new Error("unexpected translation type "+n)}}(s,o,e,t,n,i)}}function re(e){return function(t,n,r){const i=-1*r,s=N(n,A.MinusSign),o=i>0?Math.floor(i/60):Math.ceil(i/60);switch(e){case G.Short:return(i>=0?"+":"")+ee(o,2,s)+ee(Math.abs(i%60),2,s);case G.ShortGMT:return"GMT"+(i>=0?"+":"")+ee(o,1,s);case G.Long:return"GMT"+(i>=0?"+":"")+ee(o,2,s)+":"+ee(Math.abs(i%60),2,s);case G.Extended:return 0===r?"Z":(i>=0?"+":"")+ee(o,2,s)+":"+ee(Math.abs(i%60),2,s);default:throw new Error(`Unknown zone width "${e}"`)}}}!function(e){e[e.Short=0]="Short",e[e.ShortGMT=1]="ShortGMT",e[e.Long=2]="Long",e[e.Extended=3]="Extended"}(G||(G={})),function(e){e[e.FullYear=0]="FullYear",e[e.Month=1]="Month",e[e.Date=2]="Date",e[e.Hours=3]="Hours",e[e.Minutes=4]="Minutes",e[e.Seconds=5]="Seconds",e[e.FractionalSeconds=6]="FractionalSeconds",e[e.Day=7]="Day"}(X||(X={})),function(e){e[e.DayPeriods=0]="DayPeriods",e[e.Days=1]="Days",e[e.Months=2]="Months",e[e.Eras=3]="Eras"}(K||(K={}));function ie(e){return new Date(e.getFullYear(),e.getMonth(),e.getDate()+(4-e.getDay()))}function se(e,t=!1){return function(n,r){let i;if(t){const e=new Date(n.getFullYear(),n.getMonth(),1).getDay()-1,t=n.getDate();i=1+Math.floor((t+e)/7)}else{const e=ie(n),t=function(e){const t=new Date(e,0,1).getDay();return new Date(e,0,1+(t<=4?4:11)-t)}(e.getFullYear()),r=e.getTime()-t.getTime();i=1+Math.round(r/6048e5)}return ee(i,e,N(r,A.MinusSign))}}function oe(e,t=!1){return function(n,r){return ee(ie(n).getFullYear(),e,N(r,A.MinusSign),t)}}const ae={};function ce(e,t){e=e.replace(/:/g,"");const n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(n)?t:n}function le(e){return e instanceof Date&&!isNaN(e.valueOf())}const ue=/^(\d+)?\.((\d+)(-(\d+))?)?$/,he=".",de="0";function fe(e,t,n,r,i,s,o=!1){let a="",c=!1;if(isFinite(e)){let l=function(e){let t,n,r,i,s,o=Math.abs(e)+"",a=0;(n=o.indexOf(he))>-1&&(o=o.replace(he,""));(r=o.search(/e/i))>0?(n<0&&(n=r),n+=+o.slice(r+1),o=o.substring(0,r)):n<0&&(n=o.length);for(r=0;o.charAt(r)===de;r++);if(r===(s=o.length))t=[0],n=1;else{for(s--;o.charAt(s)===de;)s--;for(n-=r,t=[],i=0;r<=s;r++,i++)t[i]=Number(o.charAt(r))}n>22&&(t=t.splice(0,21),a=n-1,n=1);return{digits:t,exponent:a,integerLen:n}}(e);o&&(l=function(e){if(0===e.digits[0])return e;const t=e.digits.length-e.integerLen;e.exponent?e.exponent+=2:(0===t?e.digits.push(0,0):1===t&&e.digits.push(0),e.integerLen+=2);return e}(l));let u=t.minInt,h=t.minFrac,d=t.maxFrac;if(s){const e=s.match(ue);if(null===e)throw new Error(s+" is not a valid digit info");const t=e[1],n=e[3],r=e[5];null!=t&&(u=ge(t)),null!=n&&(h=ge(n)),null!=r?d=ge(r):null!=n&&h>d&&(d=h)}!function(e,t,n){if(t>n)throw new Error(`The minimum number of digits after fraction (${t}) is higher than the maximum (${n}).`);let r=e.digits,i=r.length-e.integerLen;const s=Math.min(Math.max(t,i),n);let o=s+e.integerLen,a=r[o];if(o>0){r.splice(Math.max(e.integerLen,o));for(let e=o;e<r.length;e++)r[e]=0}else{i=Math.max(0,i),e.integerLen=1,r.length=Math.max(1,o=s+1),r[0]=0;for(let e=1;e<o;e++)r[e]=0}if(a>=5)if(o-1<0){for(let t=0;t>o;t--)r.unshift(0),e.integerLen++;r.unshift(1),e.integerLen++}else r[o-1]++;for(;i<Math.max(0,s);i++)r.push(0);let c=0!==s;const l=t+e.integerLen,u=r.reduceRight(function(e,t,n,r){return t+=e,r[n]=t<10?t:t-10,c&&(0===r[n]&&n>=l?r.pop():c=!1),t>=10?1:0},0);u&&(r.unshift(u),e.integerLen++)}(l,h,d);let f=l.digits,p=l.integerLen;const m=l.exponent;let g=[];for(c=f.every(e=>!e);p<u;p++)f.unshift(0);for(;p<0;p++)f.unshift(0);p>0?g=f.splice(p,f.length):(g=f,f=[0]);const v=[];for(f.length>=t.lgSize&&v.unshift(f.splice(-t.lgSize,f.length).join(""));f.length>t.gSize;)v.unshift(f.splice(-t.gSize,f.length).join(""));f.length&&v.unshift(f.join("")),a=v.join(N(n,r)),g.length&&(a+=N(n,i)+g.join("")),m&&(a+=N(n,A.Exponential)+"+"+m)}else a=N(n,A.Infinity);return a=e<0&&!c?t.negPre+a+t.negSuf:t.posPre+a+t.posSuf,a}function pe(e,t,n,r,i){const s=me(H(t,M.Currency),N(t,A.MinusSign));s.minFrac=function(e){let t;const n=C[e];return n&&(t=n[2]),"number"==typeof t?t:2}(r),s.maxFrac=s.minFrac;return fe(e,s,t,A.CurrencyGroup,A.CurrencyDecimal,i).replace("\xa4",n).replace("\xa4","").trim()}function me(e,t="-"){const n={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},r=e.split(";"),i=r[0],s=r[1],o=-1!==i.indexOf(he)?i.split(he):[i.substring(0,i.lastIndexOf(de)+1),i.substring(i.lastIndexOf(de)+1)],a=o[0],c=o[1]||"";n.posPre=a.substr(0,a.indexOf("#"));for(let u=0;u<c.length;u++){const e=c.charAt(u);e===de?n.minFrac=n.maxFrac=u+1:"#"===e?n.maxFrac=u+1:n.posSuf+=e}const l=a.split(",");if(n.gSize=l[1]?l[1].length:0,n.lgSize=l[2]||l[1]?(l[2]||l[1]).length:0,s){const e=i.length-n.posPre.length-n.posSuf.length,t=s.indexOf("#");n.negPre=s.substr(0,t).replace(/'/g,""),n.negSuf=s.substr(t+e).replace(/'/g,"")}else n.negPre=t+n.posPre,n.negSuf=n.posSuf;return n}function ge(e){const t=parseInt(e);if(isNaN(t))throw new Error("Invalid integer literal when parsing "+e);return t}class ve{}function ye(e,t,n,r){let i="="+e;if(t.indexOf(i)>-1)return i;if(i=n.getPluralCategory(e,r),t.indexOf(i)>-1)return i;if(t.indexOf("other")>-1)return"other";throw new Error(`No plural message found for value "${e}"`)}class be extends ve{constructor(e){super(),this.locale=e}getPluralCategory(e,t){switch(F(t||this.locale)(e)){case E.Zero:return"zero";case E.One:return"one";case E.Two:return"two";case E.Few:return"few";case E.Many:return"many";default:return"other"}}}function _e(e,t,n){return Object(r.nc)(e,t,n)}function we(e,t){t=encodeURIComponent(t);for(const n of e.split(";")){const e=n.indexOf("="),[r,i]=-1==e?[n,""]:[n.slice(0,e),n.slice(e+1)];if(r.trim()===t)return decodeURIComponent(i)}return null}be.\u0275fac=function(e){return new(e||be)(r.Xc(r.J))},be.\u0275prov=r.Jc({token:be,factory:be.\u0275fac}),be.ctorParameters=()=>[{type:String,decorators:[{type:r.C,args:[r.J]}]}];class Se{constructor(e,t,n,r){this._iterableDiffers=e,this._keyValueDiffers=t,this._ngEl=n,this._renderer=r,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(e){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof e?e.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(e){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof e?e.split(/\s+/):e,this._rawClass&&(Object(r.ac)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const e=this._iterableDiffer.diff(this._rawClass);e&&this._applyIterableChanges(e)}else if(this._keyValueDiffer){const e=this._keyValueDiffer.diff(this._rawClass);e&&this._applyKeyValueChanges(e)}}_applyKeyValueChanges(e){e.forEachAddedItem(e=>this._toggleClass(e.key,e.currentValue)),e.forEachChangedItem(e=>this._toggleClass(e.key,e.currentValue)),e.forEachRemovedItem(e=>{e.previousValue&&this._toggleClass(e.key,!1)})}_applyIterableChanges(e){e.forEachAddedItem(e=>{if("string"!=typeof e.item)throw new Error("NgClass can only toggle CSS classes expressed as strings, got "+Object(r.rc)(e.item));this._toggleClass(e.item,!0)}),e.forEachRemovedItem(e=>this._toggleClass(e.item,!1))}_applyClasses(e){e&&(Array.isArray(e)||e instanceof Set?e.forEach(e=>this._toggleClass(e,!0)):Object.keys(e).forEach(t=>this._toggleClass(t,!!e[t])))}_removeClasses(e){e&&(Array.isArray(e)||e instanceof Set?e.forEach(e=>this._toggleClass(e,!1)):Object.keys(e).forEach(e=>this._toggleClass(e,!1)))}_toggleClass(e,t){(e=e.trim())&&e.split(/\s+/g).forEach(e=>{t?this._renderer.addClass(this._ngEl.nativeElement,e):this._renderer.removeClass(this._ngEl.nativeElement,e)})}}Se.\u0275fac=function(e){return new(e||Se)(r.Nc(r.H),r.Nc(r.I),r.Nc(r.v),r.Nc(r.Y))},Se.\u0275dir=r.Ic({type:Se,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),Se.ctorParameters=()=>[{type:r.H},{type:r.I},{type:r.v},{type:r.Y}],Se.propDecorators={klass:[{type:r.G,args:["class"]}],ngClass:[{type:r.G,args:["ngClass"]}]};class xe{constructor(e){this._viewContainerRef=e,this._componentRef=null,this._moduleRef=null}ngOnChanges(e){if(this._viewContainerRef.clear(),this._componentRef=null,this.ngComponentOutlet){const t=this.ngComponentOutletInjector||this._viewContainerRef.parentInjector;if(e.ngComponentOutletNgModuleFactory)if(this._moduleRef&&this._moduleRef.destroy(),this.ngComponentOutletNgModuleFactory){const e=t.get(r.O);this._moduleRef=this.ngComponentOutletNgModuleFactory.create(e.injector)}else this._moduleRef=null;const n=(this._moduleRef?this._moduleRef.componentFactoryResolver:t.get(r.p)).resolveComponentFactory(this.ngComponentOutlet);this._componentRef=this._viewContainerRef.createComponent(n,this._viewContainerRef.length,t,this.ngComponentOutletContent)}}ngOnDestroy(){this._moduleRef&&this._moduleRef.destroy()}}xe.\u0275fac=function(e){return new(e||xe)(r.Nc(r.ob))},xe.\u0275dir=r.Ic({type:xe,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModuleFactory:"ngComponentOutletNgModuleFactory"},features:[r.xc]}),xe.ctorParameters=()=>[{type:r.ob}],xe.propDecorators={ngComponentOutlet:[{type:r.G}],ngComponentOutletInjector:[{type:r.G}],ngComponentOutletContent:[{type:r.G}],ngComponentOutletNgModuleFactory:[{type:r.G}]};class Oe{constructor(e,t,n,r){this.$implicit=e,this.ngForOf=t,this.index=n,this.count=r}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}class ke{constructor(e,t,n){this._viewContainer=e,this._template=t,this._differs=n,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(e){this._ngForOf=e,this._ngForOfDirty=!0}set ngForTrackBy(e){this._trackByFn=e}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(e){e&&(this._template=e)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const n=this._ngForOf;if(!this._differ&&n)try{this._differ=this._differs.find(n).create(this.ngForTrackBy)}catch(t){throw new Error(`Cannot find a differ supporting object '${n}' of type '${e=n,e.name||typeof e}'. NgFor only supports binding to Iterables such as Arrays.`)}}var e;if(this._differ){const e=this._differ.diff(this._ngForOf);e&&this._applyChanges(e)}}_applyChanges(e){const t=[];e.forEachOperation((e,n,r)=>{if(null==e.previousIndex){const n=this._viewContainer.createEmbeddedView(this._template,new Oe(null,this._ngForOf,-1,-1),null===r?void 0:r),i=new Ce(e,n);t.push(i)}else if(null==r)this._viewContainer.remove(null===n?void 0:n);else if(null!==n){const i=this._viewContainer.get(n);this._viewContainer.move(i,r);const s=new Ce(e,i);t.push(s)}});for(let n=0;n<t.length;n++)this._perViewChange(t[n].view,t[n].record);for(let n=0,r=this._viewContainer.length;n<r;n++){const e=this._viewContainer.get(n);e.context.index=n,e.context.count=r,e.context.ngForOf=this._ngForOf}e.forEachIdentityChange(e=>{this._viewContainer.get(e.currentIndex).context.$implicit=e.item})}_perViewChange(e,t){e.context.$implicit=t.item}static ngTemplateContextGuard(e,t){return!0}}ke.\u0275fac=function(e){return new(e||ke)(r.Nc(r.ob),r.Nc(r.ib),r.Nc(r.H))},ke.\u0275dir=r.Ic({type:ke,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),ke.ctorParameters=()=>[{type:r.ob},{type:r.ib},{type:r.H}],ke.propDecorators={ngForOf:[{type:r.G}],ngForTrackBy:[{type:r.G}],ngForTemplate:[{type:r.G}]};class Ce{constructor(e,t){this.record=e,this.view=t}}class Me{constructor(e,t){this._viewContainer=e,this._context=new Ee,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=t}set ngIf(e){this._context.$implicit=this._context.ngIf=e,this._updateView()}set ngIfThen(e){Te("ngIfThen",e),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}set ngIfElse(e){Te("ngIfElse",e),this._elseTemplateRef=e,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(e,t){return!0}}Me.\u0275fac=function(e){return new(e||Me)(r.Nc(r.ob),r.Nc(r.ib))},Me.\u0275dir=r.Ic({type:Me,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),Me.ctorParameters=()=>[{type:r.ob},{type:r.ib}],Me.propDecorators={ngIf:[{type:r.G}],ngIfThen:[{type:r.G}],ngIfElse:[{type:r.G}]};class Ee{constructor(){this.$implicit=null,this.ngIf=null}}function Te(e,t){if(!!(t&&!t.createEmbeddedView))throw new Error(`${e} must be a TemplateRef, but received '${Object(r.rc)(t)}'.`)}class je{constructor(e,t){this._viewContainerRef=e,this._templateRef=t,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(e){e&&!this._created?this.create():!e&&this._created&&this.destroy()}}class De{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(e){this._ngSwitch=e,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(e){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(e)}_matchCase(e){const t=e==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||t,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),t}_updateDefaultCases(e){if(this._defaultViews&&e!==this._defaultUsed){this._defaultUsed=e;for(let t=0;t<this._defaultViews.length;t++){this._defaultViews[t].enforceState(e)}}}}De.\u0275fac=function(e){return new(e||De)},De.\u0275dir=r.Ic({type:De,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"}}),De.propDecorators={ngSwitch:[{type:r.G}]};class Ae{constructor(e,t,n){this.ngSwitch=n,n._addCase(),this._view=new je(e,t)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}Ae.\u0275fac=function(e){return new(e||Ae)(r.Nc(r.ob),r.Nc(r.ib),r.Nc(De,1))},Ae.\u0275dir=r.Ic({type:Ae,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}}),Ae.ctorParameters=()=>[{type:r.ob},{type:r.ib},{type:De,decorators:[{type:r.y}]}],Ae.propDecorators={ngSwitchCase:[{type:r.G}]};class Le{constructor(e,t,n){n._addDefault(new je(e,t))}}Le.\u0275fac=function(e){return new(e||Le)(r.Nc(r.ob),r.Nc(r.ib),r.Nc(De,1))},Le.\u0275dir=r.Ic({type:Le,selectors:[["","ngSwitchDefault",""]]}),Le.ctorParameters=()=>[{type:r.ob},{type:r.ib},{type:De,decorators:[{type:r.y}]}];class ze{constructor(e){this._localization=e,this._caseViews={}}set ngPlural(e){this._switchValue=e,this._updateView()}addCase(e,t){this._caseViews[e]=t}_updateView(){this._clearViews();const e=Object.keys(this._caseViews),t=ye(this._switchValue,e,this._localization);this._activateView(this._caseViews[t])}_clearViews(){this._activeView&&this._activeView.destroy()}_activateView(e){e&&(this._activeView=e,this._activeView.create())}}ze.\u0275fac=function(e){return new(e||ze)(r.Nc(ve))},ze.\u0275dir=r.Ic({type:ze,selectors:[["","ngPlural",""]],inputs:{ngPlural:"ngPlural"}}),ze.ctorParameters=()=>[{type:ve}],ze.propDecorators={ngPlural:[{type:r.G}]};class Pe{constructor(e,t,n,r){this.value=e;const i=!isNaN(Number(e));r.addCase(i?"="+e:e,new je(n,t))}}Pe.\u0275fac=function(e){return new(e||Pe)(r.Yc("ngPluralCase"),r.Nc(r.ib),r.Nc(r.ob),r.Nc(ze,1))},Pe.\u0275dir=r.Ic({type:Pe,selectors:[["","ngPluralCase",""]]}),Pe.ctorParameters=()=>[{type:String,decorators:[{type:r.h,args:["ngPluralCase"]}]},{type:r.ib},{type:r.ob},{type:ze,decorators:[{type:r.y}]}];class Ie{constructor(e,t,n){this._ngEl=e,this._differs=t,this._renderer=n,this._ngStyle=null,this._differ=null}set ngStyle(e){this._ngStyle=e,!this._differ&&e&&(this._differ=this._differs.find(e).create())}ngDoCheck(){if(this._differ){const e=this._differ.diff(this._ngStyle);e&&this._applyChanges(e)}}_setStyle(e,t){const[n,r]=e.split(".");null!=(t=null!=t&&r?`${t}${r}`:t)?this._renderer.setStyle(this._ngEl.nativeElement,n,t):this._renderer.removeStyle(this._ngEl.nativeElement,n)}_applyChanges(e){e.forEachRemovedItem(e=>this._setStyle(e.key,null)),e.forEachAddedItem(e=>this._setStyle(e.key,e.currentValue)),e.forEachChangedItem(e=>this._setStyle(e.key,e.currentValue))}}Ie.\u0275fac=function(e){return new(e||Ie)(r.Nc(r.v),r.Nc(r.I),r.Nc(r.Y))},Ie.\u0275dir=r.Ic({type:Ie,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}),Ie.ctorParameters=()=>[{type:r.v},{type:r.I},{type:r.Y}],Ie.propDecorators={ngStyle:[{type:r.G,args:["ngStyle"]}]};class Re{constructor(e){this._viewContainerRef=e,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null}ngOnChanges(e){if(this._shouldRecreateView(e)){const e=this._viewContainerRef;this._viewRef&&e.remove(e.indexOf(this._viewRef)),this._viewRef=this.ngTemplateOutlet?e.createEmbeddedView(this.ngTemplateOutlet,this.ngTemplateOutletContext):null}else this._viewRef&&this.ngTemplateOutletContext&&this._updateExistingContext(this.ngTemplateOutletContext)}_shouldRecreateView(e){const t=e.ngTemplateOutletContext;return!!e.ngTemplateOutlet||t&&this._hasContextShapeChanged(t)}_hasContextShapeChanged(e){const t=Object.keys(e.previousValue||{}),n=Object.keys(e.currentValue||{});if(t.length===n.length){for(let e of n)if(-1===t.indexOf(e))return!0;return!1}return!0}_updateExistingContext(e){for(let t of Object.keys(e))this._viewRef.context[t]=this.ngTemplateOutletContext[t]}}Re.\u0275fac=function(e){return new(e||Re)(r.Nc(r.ob))},Re.\u0275dir=r.Ic({type:Re,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet"},features:[r.xc]}),Re.ctorParameters=()=>[{type:r.ob}],Re.propDecorators={ngTemplateOutletContext:[{type:r.G}],ngTemplateOutlet:[{type:r.G}]};function Ne(e,t){return Error(`InvalidPipeArgument: '${t}' for pipe '${Object(r.rc)(e)}'`)}const He=new class{createSubscription(e,t){return e.then(t,e=>{throw e})}dispose(e){}onDestroy(e){}},Fe=new class{createSubscription(e,t){return e.subscribe({next:t,error:e=>{throw e}})}dispose(e){e.unsubscribe()}onDestroy(e){e.unsubscribe()}};class Ve{constructor(e){this._ref=e,this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null}ngOnDestroy(){this._subscription&&this._dispose()}transform(e){return this._obj?e!==this._obj?(this._dispose(),this.transform(e)):this._latestValue:(e&&this._subscribe(e),this._latestValue)}_subscribe(e){this._obj=e,this._strategy=this._selectStrategy(e),this._subscription=this._strategy.createSubscription(e,t=>this._updateLatestValue(e,t))}_selectStrategy(e){if(Object(r.cc)(e))return He;if(Object(r.bc)(e))return Fe;throw Ne(Ve,e)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(e,t){e===this._obj&&(this._latestValue=t,this._ref.markForCheck())}}Ve.\u0275fac=function(e){return new(e||Ve)(r.Zc())},Ve.\u0275pipe=r.Mc({name:"async",type:Ve,pure:!1}),Ve.ctorParameters=()=>[{type:r.k}];class Be{transform(e){if(null==e)return null;if("string"!=typeof e)throw Ne(Be,e);return e.toLowerCase()}}Be.\u0275fac=function(e){return new(e||Be)},Be.\u0275pipe=r.Mc({name:"lowercase",type:Be,pure:!0});const Ye=/(?:[A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE83\uDE86-\uDE89\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D])\S*/g;class Ue{transform(e){if(null==e)return null;if("string"!=typeof e)throw Ne(Ue,e);return e.replace(Ye,e=>e[0].toUpperCase()+e.substr(1).toLowerCase())}}Ue.\u0275fac=function(e){return new(e||Ue)},Ue.\u0275pipe=r.Mc({name:"titlecase",type:Ue,pure:!0});class We{transform(e){if(null==e)return null;if("string"!=typeof e)throw Ne(We,e);return e.toUpperCase()}}We.\u0275fac=function(e){return new(e||We)},We.\u0275pipe=r.Mc({name:"uppercase",type:We,pure:!0});class qe{constructor(e){this.locale=e}transform(e,t="mediumDate",n,r){if(null==e||""===e||e!=e)return null;try{return J(e,t,r||this.locale,n)}catch(i){throw Ne(qe,i.message)}}}qe.\u0275fac=function(e){return new(e||qe)(r.Nc(r.J))},qe.\u0275pipe=r.Mc({name:"date",type:qe,pure:!0}),qe.ctorParameters=()=>[{type:String,decorators:[{type:r.C,args:[r.J]}]}];const $e=/#/g;class Ge{constructor(e){this._localization=e}transform(e,t,n){if(null==e)return"";if("object"!=typeof t||null===t)throw Ne(Ge,t);return t[ye(e,Object.keys(t),this._localization,n)].replace($e,e.toString())}}Ge.\u0275fac=function(e){return new(e||Ge)(r.Nc(ve))},Ge.\u0275pipe=r.Mc({name:"i18nPlural",type:Ge,pure:!0}),Ge.ctorParameters=()=>[{type:ve}];class Xe{transform(e,t){if(null==e)return"";if("object"!=typeof t||"string"!=typeof e)throw Ne(Xe,t);return t.hasOwnProperty(e)?t[e]:t.hasOwnProperty("other")?t.other:""}}Xe.\u0275fac=function(e){return new(e||Xe)},Xe.\u0275pipe=r.Mc({name:"i18nSelect",type:Xe,pure:!0});class Ke{transform(e){return JSON.stringify(e,null,2)}}Ke.\u0275fac=function(e){return new(e||Ke)},Ke.\u0275pipe=r.Mc({name:"json",type:Ke,pure:!1});class Je{constructor(e){this.differs=e,this.keyValues=[]}transform(e,t=Qe){if(!e||!(e instanceof Map)&&"object"!=typeof e)return null;this.differ||(this.differ=this.differs.find(e).create());const n=this.differ.diff(e);return n&&(this.keyValues=[],n.forEachItem(e=>{var t,n;this.keyValues.push((t=e.key,n=e.currentValue,{key:t,value:n}))}),this.keyValues.sort(t)),this.keyValues}}function Qe(e,t){const n=e.key,r=t.key;if(n===r)return 0;if(void 0===n)return 1;if(void 0===r)return-1;if(null===n)return 1;if(null===r)return-1;if("string"==typeof n&&"string"==typeof r)return n<r?-1:1;if("number"==typeof n&&"number"==typeof r)return n-r;if("boolean"==typeof n&&"boolean"==typeof r)return n<r?-1:1;const i=String(n),s=String(r);return i==s?0:i<s?-1:1}Je.\u0275fac=function(e){return new(e||Je)(r.Nc(r.I))},Je.\u0275pipe=r.Mc({name:"keyvalue",type:Je,pure:!1}),Je.ctorParameters=()=>[{type:r.I}];class Ze{constructor(e){this._locale=e}transform(e,t,n){if(!nt(e))return null;n=n||this._locale;try{return function(e,t,n){return fe(e,me(H(t,M.Decimal),N(t,A.MinusSign)),t,A.Group,A.Decimal,n)}(rt(e),n,t)}catch(r){throw Ne(Ze,r.message)}}}Ze.\u0275fac=function(e){return new(e||Ze)(r.Nc(r.J))},Ze.\u0275pipe=r.Mc({name:"number",type:Ze,pure:!0}),Ze.ctorParameters=()=>[{type:String,decorators:[{type:r.C,args:[r.J]}]}];class et{constructor(e){this._locale=e}transform(e,t,n){if(!nt(e))return null;n=n||this._locale;try{return function(e,t,n){return fe(e,me(H(t,M.Percent),N(t,A.MinusSign)),t,A.Group,A.Decimal,n,!0).replace(new RegExp("%","g"),N(t,A.PercentSign))}(rt(e),n,t)}catch(r){throw Ne(et,r.message)}}}et.\u0275fac=function(e){return new(e||et)(r.Nc(r.J))},et.\u0275pipe=r.Mc({name:"percent",type:et,pure:!0}),et.ctorParameters=()=>[{type:String,decorators:[{type:r.C,args:[r.J]}]}];class tt{constructor(e,t="USD"){this._locale=e,this._defaultCurrencyCode=t}transform(e,t,n="symbol",r,i){if(!nt(e))return null;i=i||this._locale,"boolean"==typeof n&&(n=n?"symbol":"code");let s=t||this._defaultCurrencyCode;"code"!==n&&(s="symbol"===n||"symbol-narrow"===n?U(s,"symbol"===n?"wide":"narrow",i):n);try{return pe(rt(e),i,s,t,r)}catch(o){throw Ne(tt,o.message)}}}function nt(e){return!(null==e||""===e||e!=e)}function rt(e){if("string"==typeof e&&!isNaN(Number(e)-parseFloat(e)))return Number(e);if("number"!=typeof e)throw new Error(e+" is not a number");return e}tt.\u0275fac=function(e){return new(e||tt)(r.Nc(r.J),r.Nc(r.t))},tt.\u0275pipe=r.Mc({name:"currency",type:tt,pure:!0}),tt.ctorParameters=()=>[{type:String,decorators:[{type:r.C,args:[r.J]}]},{type:String,decorators:[{type:r.C,args:[r.t]}]}];class it{transform(e,t,n){if(null==e)return null;if(!this.supports(e))throw Ne(it,e);return e.slice(t,n)}supports(e){return"string"==typeof e||Array.isArray(e)}}it.\u0275fac=function(e){return new(e||it)},it.\u0275pipe=r.Mc({name:"slice",type:it,pure:!1});class st{}st.\u0275mod=r.Lc({type:st}),st.\u0275inj=r.Kc({factory:function(e){return new(e||st)},providers:[{provide:ve,useClass:be}]}),("undefined"==typeof ngJitMode||ngJitMode)&&r.Bd(st,{declarations:[Se,xe,ke,Me,Re,Ie,De,Ae,Le,ze,Pe,Ve,We,Be,Ke,it,Ze,et,Ue,tt,qe,Ge,Xe,Je],exports:[Se,xe,ke,Me,Re,Ie,De,Ae,Le,ze,Pe,Ve,We,Be,Ke,it,Ze,et,Ue,tt,qe,Ge,Xe,Je]});const ot="browser";function at(e){return e===ot}new r.lb("11.0.9");class ct{}ct.\u0275prov=Object(r.Jc)({token:ct,providedIn:"root",factory:()=>new lt(Object(r.Xc)(c),window)});class lt{constructor(e,t){this.document=e,this.window=t,this.offset=()=>[0,0]}setOffset(e){Array.isArray(e)?this.offset=()=>e:this.offset=e}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(e){this.supportsScrolling()&&this.window.scrollTo(e[0],e[1])}scrollToAnchor(e){var t;if(!this.supportsScrolling())return;const n=null!==(t=this.document.getElementById(e))&&void 0!==t?t:this.document.getElementsByName(e)[0];void 0!==n&&(this.scrollToElement(n),this.attemptFocus(n))}setHistoryScrollRestoration(e){if(this.supportScrollRestoration()){const t=this.window.history;t&&t.scrollRestoration&&(t.scrollRestoration=e)}}scrollToElement(e){const t=e.getBoundingClientRect(),n=t.left+this.window.pageXOffset,r=t.top+this.window.pageYOffset,i=this.offset();this.window.scrollTo(n-i[0],r-i[1])}attemptFocus(e){return e.focus(),this.document.activeElement===e}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const e=ut(this.window.history)||ut(Object.getPrototypeOf(this.window.history));return!(!e||!e.writable&&!e.set)}catch(e){return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch(e){return!1}}}function ut(e){return Object.getOwnPropertyDescriptor(e,"scrollRestoration")}},"p/QF":function(e,t,n){"use strict";n.d(t,"a",function(){return d});var r=n("mrSG"),i=n("mjQ1"),s=n("2kdd"),o=n("Cfvw"),a=n("lJxs"),c=n("bHdf"),l=n("eIep"),u=n("Jy0u"),h=n("7seK");class d{constructor(e,t,n){this.entities=e,this.metadata=t,this.schema=n,this.class=this.metadata.classes.get(this.schema.class)}query(e,t,n,r=!1){return Object(o.a)(this.class).pipe(Object(a.a)(o=>{const a=[o.id];return r&&a.push(h.a.class),this.entities.analytic.query({where:Object(s.a)([Object(u.b)(...a),Array.isArray(t)?Object(u.e)(...t):Object(u.e)(t)]),select:Object(i.f)(this.schema,o),orderBy:n},e)}),Object(c.a)(),Object(a.a)(e=>Object.assign(Object.assign({},e),{items:e.items.map(e=>r?Object.assign(Object.assign({},Object(i.j)(e,this.schema)),{path:e.path,isDoc:e.classId===h.a.class,isFolder:e.classId!==h.a.class,permissions:e.permissions}):Object.assign(Object.assign({},Object(i.j)(e,this.schema)),{permissions:e.permissions}))})))}getById(e){return Object(o.a)(this.class).pipe(Object(a.a)(e=>Object(i.d)(this.schema,e)),Object(l.a)(t=>this.entities.get(e,t)),Object(a.a)(e=>Object(i.j)(e,this.schema)))}removeEntity(e){return Object(r.a)(this,void 0,void 0,function*(){return yield this.entities.delete(e)})}update(e,t){return Object(r.a)(this,void 0,void 0,function*(){const n=yield this.class,r=Object(i.i)(e,t,this.schema,n);return yield this.entities.update(Object.assign(Object.assign({},r),{id:e.id}))})}getCollection(e,t=!0,n=!0,s=0,o=1e3){return Object(r.a)(this,void 0,void 0,function*(){const r=yield this.class,a=yield this.entities.collections(e,this.schema.collection).query(Object.assign({skip:s,take:o},Object(i.d)(this.schema,r)));return n?Object.assign(Object.assign({},a),{items:a.items.map(e=>t?Object.assign(Object.assign({},Object(i.j)(e,this.schema)),{path:e.path,isDoc:e.classId===h.a.class,isFolder:e.classId!==h.a.class}):Object.assign(Object.assign({},Object(i.j)(e,this.schema)),{path:e.path}))}):Object.assign(Object.assign({},a),{items:a.items.map(e=>Object.assign(Object.assign({},e),Object(i.j)(e,this.schema)))})})}}},"p/rL":function(e,t,n){!function(e){"use strict";e.defineLocale("bm",{months:"Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_M\u025bkalo_Zuw\u025bnkalo_Zuluyekalo_Utikalo_S\u025btanburukalo_\u0254kut\u0254burukalo_Nowanburukalo_Desanburukalo".split("_"),monthsShort:"Zan_Few_Mar_Awi_M\u025b_Zuw_Zul_Uti_S\u025bt_\u0254ku_Now_Des".split("_"),weekdays:"Kari_Nt\u025bn\u025bn_Tarata_Araba_Alamisa_Juma_Sibiri".split("_"),weekdaysShort:"Kar_Nt\u025b_Tar_Ara_Ala_Jum_Sib".split("_"),weekdaysMin:"Ka_Nt_Ta_Ar_Al_Ju_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"MMMM [tile] D [san] YYYY",LLL:"MMMM [tile] D [san] YYYY [l\u025br\u025b] HH:mm",LLLL:"dddd MMMM [tile] D [san] YYYY [l\u025br\u025b] HH:mm"},calendar:{sameDay:"[Bi l\u025br\u025b] LT",nextDay:"[Sini l\u025br\u025b] LT",nextWeek:"dddd [don l\u025br\u025b] LT",lastDay:"[Kunu l\u025br\u025b] LT",lastWeek:"dddd [t\u025bm\u025bnen l\u025br\u025b] LT",sameElse:"L"},relativeTime:{future:"%s k\u0254n\u0254",past:"a b\u025b %s b\u0254",s:"sanga dama dama",ss:"sekondi %d",m:"miniti kelen",mm:"miniti %d",h:"l\u025br\u025b kelen",hh:"l\u025br\u025b %d",d:"tile kelen",dd:"tile %d",M:"kalo kelen",MM:"kalo %d",y:"san kelen",yy:"san %d"},week:{dow:1,doy:4}})}(n("wd/R"))},pLZG:function(e,t,n){"use strict";n.d(t,"a",function(){return i});var r=n("7o/Q");function i(e,t){return function(n){return n.lift(new s(e,t))}}class s{constructor(e,t){this.predicate=e,this.thisArg=t}call(e,t){return t.subscribe(new o(e,this.predicate,this.thisArg))}}class o extends r.a{constructor(e,t,n){super(e),this.predicate=t,this.thisArg=n,this.count=0}_next(e){let t;try{t=this.predicate.call(this.thisArg,e,this.count++)}catch(n){return void this.destination.error(n)}t&&this.destination.next(e)}}},pdGh:function(e,t,n){"use strict";n.d(t,"a",function(){return a}),n.d(t,"b",function(){return s});var r=n("ofXK"),i=n("fXoL");class s{constructor(e,t){this.viewContainer=e,this.templateRef=t,this.embeddedViewRef=null,this.context=new o,this.nzStringTemplateOutletContext=null,this.nzStringTemplateOutlet=null}static ngTemplateContextGuard(e,t){return!0}recreateView(){this.viewContainer.clear();const e=this.nzStringTemplateOutlet instanceof i.ib,t=e?this.nzStringTemplateOutlet:this.templateRef;this.embeddedViewRef=this.viewContainer.createEmbeddedView(t,e?this.nzStringTemplateOutletContext:this.context)}updateContext(){const e=this.nzStringTemplateOutlet instanceof i.ib?this.nzStringTemplateOutletContext:this.context,t=this.embeddedViewRef.context;if(e)for(const n of Object.keys(e))t[n]=e[n]}ngOnChanges(e){const{nzStringTemplateOutletContext:t,nzStringTemplateOutlet:n}=e;n&&(this.context.$implicit=n.currentValue);(()=>{let e=!1;if(n)if(n.firstChange)e=!0;else{const t=n.previousValue instanceof i.ib,r=n.currentValue instanceof i.ib;e=t||r}return t&&(e=>{const t=Object.keys(e.previousValue||{}),n=Object.keys(e.currentValue||{});if(t.length===n.length){for(const e of n)if(-1===t.indexOf(e))return!0;return!1}return!0})(t)||e})()?this.recreateView():this.updateContext()}}s.\u0275fac=function(e){return new(e||s)(i.Nc(i.ob),i.Nc(i.ib))},s.\u0275dir=i.Ic({type:s,selectors:[["","nzStringTemplateOutlet",""]],inputs:{nzStringTemplateOutletContext:"nzStringTemplateOutletContext",nzStringTemplateOutlet:"nzStringTemplateOutlet"},exportAs:["nzStringTemplateOutlet"],features:[i.xc]}),s.ctorParameters=()=>[{type:i.ob},{type:i.ib}],s.propDecorators={nzStringTemplateOutletContext:[{type:i.G}],nzStringTemplateOutlet:[{type:i.G}]};class o{}class a{}a.\u0275mod=i.Lc({type:a}),a.\u0275inj=i.Kc({factory:function(e){return new(e||a)},imports:[[r.c]]}),("undefined"==typeof ngJitMode||ngJitMode)&&i.Bd(a,{declarations:function(){return[s]},imports:function(){return[r.c]},exports:function(){return[s]}})},pgwu:function(e,t,n){"use strict";n.d(t,"a",function(){return f});var r=n("mrSG"),i=n("mjQ1"),s=n("2kdd"),o=n("itXk"),a=n("Cfvw"),c=n("5+tZ"),l=n("lJxs"),u=n("Jy0u"),h=n("p/QF"),d=n("phRD");class f extends h.a{constructor(e,t,n,r){super(e,t,n),this.documentVersionsService=r,this.responsibles$=this.documentVersionsService.getResponsibles()}find(e,t,n){return Object(o.a)([Object(a.a)(this.class).pipe(Object(c.a)(r=>this.entities.analytic.query({where:Object(s.a)([Object(u.b)(this.schema.class),...Object(u.i)(e,this.schema)]),orderBy:Object(u.h)(t,this.schema,r),select:Object(i.f)(this.schema,r)},n))),this.responsibles$]).pipe(Object(l.a)(e=>{var[t,n]=e,{items:s}=t,o=Object(r.d)(t,["items"]);return Object.assign({items:s.map(e=>{var t;const r=Object(i.j)(e,this.schema);return r.responsibles=null!==(t=n.get(r.id))&&void 0!==t?t:[],r})},o)}))}findLastVersion(e,t,n){return Object(o.a)([n,this.documentVersionsService.getResponsibles(),this.getVersions(e,t)]).pipe(Object(l.a)(([{items:e},t,n])=>{let r=e.map(e=>Object(i.j)(e,this.schema)),s=[];return n.forEach((e,i)=>{var o;let a=e.find(e=>r.find(t=>t.id===i&&t.changeNumber===e.changeNumber&&t.revision===e.revision));a?(a.responsibles=null!==(o=t.get(a.id))&&void 0!==o?o:[],s.push(a)):n.delete(i)}),{items:s,total:s.length}}))}getById(e){return Object(o.a)([super.getById(e),this.responsibles$]).pipe(Object(l.a)(([e,t])=>{var n;return e.responsibles=null!==(n=t.get(e.id))&&void 0!==n?n:[],e}))}save(e,t){return Object(r.a)(this,void 0,void 0,function*(){const n=yield this.class,r=Object(i.i)(e,t,this.schema,n);this.entities.update(Object.assign({id:e.id},r))})}getVersions(e,t){return Object(a.a)(this.metadata.classes.get(d.a.class)).pipe(Object(c.a)(n=>this.entities.analytic.query({where:Object(s.a)([Object(u.b)(d.a.class),...Object(u.i)(e,d.a)]),select:Object(i.f)(d.a,n),orderBy:Object(u.h)(t,d.a,n)},{skip:0,take:1e6})),Object(l.a)(({items:e})=>e.reduce((e,t)=>{var n,r;const s=Object(i.j)(t,d.a),[o]=Object(i.c)(t).reverse();return s.parentId=o,null===(r=null!==(n=e.get(o))&&void 0!==n?n:e.set(o,[]).get(o))||void 0===r||r.push(s),e},new Map)))}findLastVersionFromDoc(e){return this.getVersions({root:e.id},{}).pipe(Object(l.a)(t=>{let n=[];return t.forEach((r,i)=>{let s=r.find(t=>e.id===i&&e.changeNumber===t.changeNumber&&e.revision===t.revision||e.id===i);s?n.push(s):t.delete(i)}),{items:n,total:n.length}}))}findLastVersionFromDocs(e,t,n,r){return this.getVersionsFromDocs({name:"asc"},e,n).pipe(Object(l.a)(e=>{console.log(e),console.log(t);let s=t.map(e=>Object(i.j)(e,this.schema)),o=[];e.items.forEach((t,n)=>{let r=t.find(e=>s.find(t=>t.id===n&&t.changeNumber===e.changeNumber&&t.revision===e.revision));r?o.push(r):e.items.delete(n)});let a=[];return a=n.take+n.skip>=e.total?o.concat(new Array(e.total-n.skip-o.length).fill({})):o.concat(new Array(n.take-o.length).fill({})),{items:r.length?[...r,...a]:a,skipped:e.skipped,total:e.total}}))}getVersionsFromDocs(e,t,n){return Object(a.a)(this.metadata.classes.get(d.a.class)).pipe(Object(c.a)(r=>this.entities.analytic.query({where:Object(s.a)([Object(u.b)(d.a.class),Object(u.e)(...t)]),select:Object(i.f)(d.a,r),orderBy:Object(u.h)(e,d.a,r)},n)),Object(l.a)(e=>Object.assign(Object.assign({},e),{items:e.items.reduce((e,t)=>{var n,r;const s=Object(i.j)(t,d.a),[o]=Object(i.c)(t).reverse();return s.parentId=o,null===(r=null!==(n=e.get(o))&&void 0!==n?n:e.set(o,[]).get(o))||void 0===r||r.push(s),e},new Map)})))}}},phRD:function(e,t,n){"use strict";n.d(t,"a",function(){return s});var r=n("mjQ1"),i=n("uyU4");const s=Object.assign(Object.assign({},i.a),{class:"77c4d2f3-3e2f-44b9-b2ea-9c55beb81c96",collection:Object(r.e)(i.a.properties.versions)})},phiu:function(e,t,n){"use strict";n.d(t,"a",function(){return o});var r=n("/h9T"),i=n("dLU1"),s=n("jIYg");function o(e,t){Object(s.a)(2,arguments);var n=Object(r.a)(t);return Object(i.a)(e,-n)}},qhR1:function(e,t,n){"use strict";n.d(t,"g",function(){return r}),n.d(t,"e",function(){return i}),n.d(t,"a",function(){return s}),n.d(t,"j",function(){return c}),n.d(t,"i",function(){return l}),n.d(t,"k",function(){return u}),n.d(t,"f",function(){return h}),n.d(t,"b",function(){return d}),n.d(t,"d",function(){return f}),n.d(t,"c",function(){return p}),n.d(t,"h",function(){return m});var r,i,s,o=n("fXoL"),a=n("xwJx");!function(e){e.Dkk="\u0414\u041a\u041a",e.Eol="\u0423\u0447\u0430\u0441\u0442\u043d\u0438\u043a \u043f\u0440\u043e\u0435\u043a\u0442\u0430",e.Approver="\u0421\u043e\u0433\u043b\u0430\u0441\u0443\u044e\u0449\u0438\u0439",e.ProjectInstitute="\u041f\u0440\u043e\u0435\u043a\u0442\u043d\u044b\u0439 \u0438\u043d\u0441\u0442\u0438\u0442\u0443\u0442",e.ContractorCMP="\u041f\u043e\u0434\u0440\u044f\u0434\u0447\u0438\u043a \u0421\u041c\u0420",e.Admin="\u0410\u0434\u043c\u0438\u043d\u0438\u0441\u0442\u0440\u0430\u0442\u043e\u0440 \u043f\u0440\u043e\u0435\u043a\u0442\u0430",e.Test="test",e.AdminMain="admin"}(r||(r={})),function(e){e.Dkk="\u0414\u041a\u041a",e.Eol="\u0423\u0447\u0430\u0441\u0442\u043d\u0438\u043a \u043f\u0440\u043e\u0435\u043a\u0442\u0430",e.Approver="\u0421\u043e\u0433\u043b\u0430\u0441\u0443\u044e\u0449\u0438\u0439",e.ProjectInstitute="\u041f\u0440\u043e\u0435\u043a\u0442\u043d\u044b\u0439 \u0438\u043d\u0441\u0442\u0438\u0442\u0443\u0442",e.ContractorCMP="\u041f\u043e\u0434\u0440\u044f\u0434\u0447\u0438\u043a \u0421\u041c\u0420",e.Admin="\u0410\u0434\u043c\u0438\u043d\u0438\u0441\u0442\u0440\u0430\u0442\u043e\u0440 \u043f\u0440\u043e\u0435\u043a\u0442\u0430"}(i||(i={})),function(e){e.Admin="admin",e.AdminProject="\u0410\u0434\u043c\u0438\u043d\u0438\u0441\u0442\u0440\u0430\u0442\u043e\u0440 \u043f\u0440\u043e\u0435\u043a\u0442\u0430"}(s||(s={}));const c=[i.Admin,i.Eol,i.Dkk,i.Approver,i.ProjectInstitute,i.ContractorCMP];function l(e){if("\u0423\u0447\u0430\u0441\u0442\u043d\u0438\u043a \u043f\u0440\u043e\u0435\u043a\u0442\u0430"===e)return"\u0423\u0447\u0430\u0441\u0442\u043d\u0438\u043a \u043f\u0440\u043e\u0435\u043a\u0442\u0430"}const u="roles.title",h={[s.Admin]:"admin",[i.Admin]:"\u0410\u0434\u043c\u0438\u043d\u0438\u0441\u0442\u0440\u0430\u0442\u043e\u0440 \u043f\u0440\u043e\u0435\u043a\u0442\u0430",[i.Eol]:"\u0423\u0447\u0430\u0441\u0442\u043d\u0438\u043a \u043f\u0440\u043e\u0435\u043a\u0442\u0430",[i.Dkk]:"\u0412\u0445\u043e\u0434\u043d\u043e\u0439 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u044c",[i.Approver]:"\u042d\u043a\u0441\u043f\u0435\u0440\u0442",[i.ProjectInstitute]:"\u041f\u043e\u0434\u0440\u044f\u0434\u0447\u0438\u043a \u043f\u043e \u043f\u0440\u043e\u0435\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044e",[i.ContractorCMP]:"\u041f\u043e\u0434\u0440\u044f\u0434\u0447\u0438\u043a \u0421\u041c\u0420"},d=new o.E("CurrentRole"),f=new o.E("MainProjectRole"),p=new o.E("CurrentRoles"),m=[{provide:d,useFactory(e){var t;return null!==(t=Object.values(i).find(t=>e.identity.roles.includes(t)))&&void 0!==t?t:(e.logout(),Object(a.J)("No suitable role is found"))},deps:[a.b]},{provide:f,useFactory(e){var t;return null!==(t=Object.values(s).find(t=>e.identity.roles.includes(t)))&&void 0!==t?t:[]},deps:[a.b]},{provide:p,useFactory:e=>Object.values(r).filter(t=>e.identity.roles.includes(t)),deps:[a.b]}]},quSY:function(e,t,n){"use strict";n.d(t,"a",function(){return a});var r=n("DH7j"),i=n("XoHu"),s=n("n6bG");const o=(()=>{function e(e){return Error.call(this),this.message=e?`${e.length} errors occurred during unsubscription:\n${e.map((e,t)=>`${t+1}) ${e.toString()}`).join("\n  ")}`:"",this.name="UnsubscriptionError",this.errors=e,this}return e.prototype=Object.create(Error.prototype),e})();class a{constructor(e){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,e&&(this._ctorUnsubscribe=!0,this._unsubscribe=e)}unsubscribe(){let e;if(this.closed)return;let{_parentOrParents:t,_ctorUnsubscribe:n,_unsubscribe:c,_subscriptions:u}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,t instanceof a)t.remove(this);else if(null!==t)for(let r=0;r<t.length;++r){t[r].remove(this)}if(Object(s.a)(c)){n&&(this._unsubscribe=void 0);try{c.call(this)}catch(h){e=h instanceof o?l(h.errors):[h]}}if(Object(r.a)(u)){let t=-1,n=u.length;for(;++t<n;){const n=u[t];if(Object(i.a)(n))try{n.unsubscribe()}catch(h){e=e||[],h instanceof o?e=e.concat(l(h.errors)):e.push(h)}}}if(e)throw new o(e)}add(e){let t=e;if(!e)return a.EMPTY;switch(typeof e){case"function":t=new a(e);case"object":if(t===this||t.closed||"function"!=typeof t.unsubscribe)return t;if(this.closed)return t.unsubscribe(),t;if(!(t instanceof a)){const e=t;t=new a,t._subscriptions=[e]}break;default:throw new Error("unrecognized teardown "+e+" added to Subscription.")}let{_parentOrParents:n}=t;if(null===n)t._parentOrParents=this;else if(n instanceof a){if(n===this)return t;t._parentOrParents=[n,this]}else{if(-1!==n.indexOf(this))return t;n.push(this)}const r=this._subscriptions;return null===r?this._subscriptions=[t]:r.push(t),t}remove(e){const t=this._subscriptions;if(t){const n=t.indexOf(e);-1!==n&&t.splice(n,1)}}}var c;function l(e){return e.reduce((e,t)=>e.concat(t instanceof o?t.errors:t),[])}a.EMPTY=((c=new a).closed=!0,c)},qvJo:function(e,t,n){!function(e){"use strict";function t(e,t,n,r){var i={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:[e+" \u0938\u0945\u0915\u0902\u0921\u093e\u0902\u0928\u0940",e+" \u0938\u0945\u0915\u0902\u0921"],m:["\u090f\u0915\u093e \u092e\u093f\u0923\u091f\u093e\u0928","\u090f\u0915 \u092e\u093f\u0928\u0942\u091f"],mm:[e+" \u092e\u093f\u0923\u091f\u093e\u0902\u0928\u0940",e+" \u092e\u093f\u0923\u091f\u093e\u0902"],h:["\u090f\u0915\u093e \u0935\u0930\u093e\u0928","\u090f\u0915 \u0935\u0930"],hh:[e+" \u0935\u0930\u093e\u0902\u0928\u0940",e+" \u0935\u0930\u093e\u0902"],d:["\u090f\u0915\u093e \u0926\u093f\u0938\u093e\u0928","\u090f\u0915 \u0926\u0940\u0938"],dd:[e+" \u0926\u093f\u0938\u093e\u0902\u0928\u0940",e+" \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:[e+" \u092e\u094d\u0939\u092f\u0928\u094d\u092f\u093e\u0928\u0940",e+" \u092e\u094d\u0939\u092f\u0928\u0947"],y:["\u090f\u0915\u093e \u0935\u0930\u094d\u0938\u093e\u0928","\u090f\u0915 \u0935\u0930\u094d\u0938"],yy:[e+" \u0935\u0930\u094d\u0938\u093e\u0902\u0928\u0940",e+" \u0935\u0930\u094d\u0938\u093e\u0902"]};return r?i[n][0]:i[n][1]}e.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:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}(\u0935\u0947\u0930)/,ordinal:function(e,t){switch(t){case"D":return e+"\u0935\u0947\u0930";default:case"M":case"Q":case"DDD":case"d":case"w":case"W":return e}},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(e,t){return 12===e&&(e=0),"\u0930\u093e\u0924\u0940"===t?e<4?e:e+12:"\u0938\u0915\u093e\u0933\u0940\u0902"===t?e:"\u0926\u0928\u092a\u093e\u0930\u093e\u0902"===t?e>12?e:e+12:"\u0938\u093e\u0902\u091c\u0947"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"\u0930\u093e\u0924\u0940":e<12?"\u0938\u0915\u093e\u0933\u0940\u0902":e<16?"\u0926\u0928\u092a\u093e\u0930\u093e\u0902":e<20?"\u0938\u093e\u0902\u091c\u0947":"\u0930\u093e\u0924\u0940"}})}(n("wd/R"))},rDax:function(e,t,n){"use strict";n.d(t,"a",function(){return G}),n.d(t,"b",function(){return $}),n.d(t,"c",function(){return k}),n.d(t,"d",function(){return U}),n.d(t,"e",function(){return O}),n.d(t,"f",function(){return T}),n.d(t,"g",function(){return K}),n.d(t,"h",function(){return L});var r=n("vxfF"),i=n("fXoL"),s=n("nLfN"),o=n("cH1L"),a=n("ofXK"),c=n("8LU1"),l=n("+rOU"),u=n("XNiG"),h=n("quSY"),d=n("VRyK"),f=n("IzEk"),p=n("1G5W"),m=n("GJmQ"),g=n("FtGj");class v{constructor(e,t){this._viewportRuler=e,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=t}attach(){}enable(){if(this._canBeEnabled()){const e=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=e.style.left||"",this._previousHTMLStyles.top=e.style.top||"",e.style.left=Object(c.d)(-this._previousScrollPosition.left),e.style.top=Object(c.d)(-this._previousScrollPosition.top),e.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const e=this._document.documentElement,t=this._document.body,n=e.style,r=t.style,i=n.scrollBehavior||"",s=r.scrollBehavior||"";this._isEnabled=!1,n.left=this._previousHTMLStyles.left,n.top=this._previousHTMLStyles.top,e.classList.remove("cdk-global-scrollblock"),n.scrollBehavior=r.scrollBehavior="auto",window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),n.scrollBehavior=i,r.scrollBehavior=s}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const e=this._document.body,t=this._viewportRuler.getViewportSize();return e.scrollHeight>t.height||e.scrollWidth>t.width}}class y{constructor(e,t,n,r){this._scrollDispatcher=e,this._ngZone=t,this._viewportRuler=n,this._config=r,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(e){this._overlayRef,this._overlayRef=e}enable(){if(this._scrollSubscription)return;const e=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=e.subscribe(()=>{const e=this._viewportRuler.getViewportScrollPosition().top;Math.abs(e-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=e.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class b{enable(){}disable(){}attach(){}}function _(e,t){return t.some(t=>{const n=e.bottom<t.top,r=e.top>t.bottom,i=e.right<t.left,s=e.left>t.right;return n||r||i||s})}function w(e,t){return t.some(t=>{const n=e.top<t.top,r=e.bottom>t.bottom,i=e.left<t.left,s=e.right>t.right;return n||r||i||s})}class S{constructor(e,t,n,r){this._scrollDispatcher=e,this._viewportRuler=t,this._ngZone=n,this._config=r,this._scrollSubscription=null}attach(e){this._overlayRef,this._overlayRef=e}enable(){if(!this._scrollSubscription){const e=this._config?this._config.scrollThrottle:0;this._scrollSubscription=this._scrollDispatcher.scrolled(e).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const e=this._overlayRef.overlayElement.getBoundingClientRect(),{width:t,height:n}=this._viewportRuler.getViewportSize();_(e,[{width:t,height:n,bottom:n,right:t,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}})}}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class x{constructor(e,t,n,r){this._scrollDispatcher=e,this._viewportRuler=t,this._ngZone=n,this.noop=()=>new b,this.close=e=>new y(this._scrollDispatcher,this._ngZone,this._viewportRuler,e),this.block=()=>new v(this._viewportRuler,this._document),this.reposition=e=>new S(this._scrollDispatcher,this._viewportRuler,this._ngZone,e),this._document=r}}x.\u0275fac=function(e){return new(e||x)(i.Xc(r.e),i.Xc(r.g),i.Xc(i.Q),i.Xc(a.d))},x.\u0275prov=Object(i.Jc)({factory:function(){return new x(Object(i.Xc)(r.e),Object(i.Xc)(r.g),Object(i.Xc)(i.Q),Object(i.Xc)(a.d))},token:x,providedIn:"root"}),x.ctorParameters=()=>[{type:r.e},{type:r.g},{type:i.Q},{type:void 0,decorators:[{type:i.C,args:[a.d]}]}];class O{constructor(e){if(this.scrollStrategy=new b,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,e){const t=Object.keys(e);for(const n of t)void 0!==e[n]&&(this[n]=e[n])}}}class k{constructor(e,t,n,r,i){this.offsetX=n,this.offsetY=r,this.panelClass=i,this.originX=e.originX,this.originY=e.originY,this.overlayX=t.overlayX,this.overlayY=t.overlayY}}class C{}class M{constructor(e,t){this.connectionPair=e,this.scrollableViewProperties=t}}M.ctorParameters=()=>[{type:k},{type:C,decorators:[{type:i.R}]}];class E{constructor(e){this._attachedOverlays=[],this._document=e}ngOnDestroy(){this.detach()}add(e){this.remove(e),this._attachedOverlays.push(e)}remove(e){const t=this._attachedOverlays.indexOf(e);t>-1&&this._attachedOverlays.splice(t,1),0===this._attachedOverlays.length&&this.detach()}}E.\u0275fac=function(e){return new(e||E)(i.Xc(a.d))},E.\u0275prov=Object(i.Jc)({factory:function(){return new E(Object(i.Xc)(a.d))},token:E,providedIn:"root"}),E.ctorParameters=()=>[{type:void 0,decorators:[{type:i.C,args:[a.d]}]}];class T extends E{constructor(e){super(e),this._keydownListener=e=>{const t=this._attachedOverlays;for(let n=t.length-1;n>-1;n--)if(t[n]._keydownEvents.observers.length>0){t[n]._keydownEvents.next(e);break}}}add(e){super.add(e),this._isAttached||(this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}T.\u0275fac=function(e){return new(e||T)(i.Xc(a.d))},T.\u0275prov=Object(i.Jc)({factory:function(){return new T(Object(i.Xc)(a.d))},token:T,providedIn:"root"}),T.ctorParameters=()=>[{type:void 0,decorators:[{type:i.C,args:[a.d]}]}];class j extends E{constructor(e,t){super(e),this._platform=t,this._cursorStyleIsSet=!1,this._clickListener=e=>{const t=e.composedPath?e.composedPath()[0]:e.target,n=this._attachedOverlays.slice();for(let r=n.length-1;r>-1;r--){const i=n[r];if(!(i._outsidePointerEvents.observers.length<1)&&i.hasAttached()){if(i.overlayElement.contains(t))break;i._outsidePointerEvents.next(e)}}}}add(e){super.add(e),this._isAttached||(this._document.body.addEventListener("click",this._clickListener,!0),this._document.body.addEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=this._document.body.style.cursor,this._document.body.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("click",this._clickListener,!0),this._document.body.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(this._document.body.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1)}}j.\u0275fac=function(e){return new(e||j)(i.Xc(a.d),i.Xc(s.a))},j.\u0275prov=Object(i.Jc)({factory:function(){return new j(Object(i.Xc)(a.d),Object(i.Xc)(s.a))},token:j,providedIn:"root"}),j.ctorParameters=()=>[{type:void 0,decorators:[{type:i.C,args:[a.d]}]},{type:s.a}];const D=!("undefined"==typeof window||!window||!window.__karma__&&!window.jasmine);class A{constructor(e,t){this._platform=t,this._document=e}ngOnDestroy(){const e=this._containerElement;e&&e.parentNode&&e.parentNode.removeChild(e)}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const e="cdk-overlay-container";if(this._platform.isBrowser||D){const t=this._document.querySelectorAll(`.${e}[platform="server"], .${e}[platform="test"]`);for(let e=0;e<t.length;e++)t[e].parentNode.removeChild(t[e])}const t=this._document.createElement("div");t.classList.add(e),D?t.setAttribute("platform","test"):this._platform.isBrowser||t.setAttribute("platform","server"),this._document.body.appendChild(t),this._containerElement=t}}A.\u0275fac=function(e){return new(e||A)(i.Xc(a.d),i.Xc(s.a))},A.\u0275prov=Object(i.Jc)({factory:function(){return new A(Object(i.Xc)(a.d),Object(i.Xc)(s.a))},token:A,providedIn:"root"}),A.ctorParameters=()=>[{type:void 0,decorators:[{type:i.C,args:[a.d]}]},{type:s.a}];class L{constructor(e,t,n,r,i,s,o,a,c){this._portalOutlet=e,this._host=t,this._pane=n,this._config=r,this._ngZone=i,this._keyboardDispatcher=s,this._document=o,this._location=a,this._outsideClickDispatcher=c,this._backdropElement=null,this._backdropClick=new u.a,this._attachments=new u.a,this._detachments=new u.a,this._locationChanges=h.a.EMPTY,this._backdropClickHandler=e=>this._backdropClick.next(e),this._keydownEvents=new u.a,this._outsidePointerEvents=new u.a,r.scrollStrategy&&(this._scrollStrategy=r.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=r.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(e){let t=this._portalOutlet.attach(e);return!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host),this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe(Object(f.a)(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),t}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const e=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),e}dispose(){const e=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this.detachBackdrop(),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host&&this._host.parentNode&&(this._host.parentNode.removeChild(this._host),this._host=null),this._previousHostParent=this._pane=null,e&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(e){e!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=e,this.hasAttached()&&(e.attach(this),this.updatePosition()))}updateSize(e){this._config=Object.assign(Object.assign({},this._config),e),this._updateElementSize()}setDirection(e){this._config=Object.assign(Object.assign({},this._config),{direction:e}),this._updateElementDirection()}addPanelClass(e){this._pane&&this._toggleClasses(this._pane,e,!0)}removePanelClass(e){this._pane&&this._toggleClasses(this._pane,e,!1)}getDirection(){const e=this._config.direction;return e?"string"==typeof e?e:e.value:"ltr"}updateScrollStrategy(e){e!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=e,this.hasAttached()&&(e.attach(this),e.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const e=this._pane.style;e.width=Object(c.d)(this._config.width),e.height=Object(c.d)(this._config.height),e.minWidth=Object(c.d)(this._config.minWidth),e.minHeight=Object(c.d)(this._config.minHeight),e.maxWidth=Object(c.d)(this._config.maxWidth),e.maxHeight=Object(c.d)(this._config.maxHeight)}_togglePointerEvents(e){this._pane.style.pointerEvents=e?"auto":"none"}_attachBackdrop(){const e="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(e)})}):this._backdropElement.classList.add(e)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){let e,t=this._backdropElement;if(!t)return;let n=()=>{t&&(t.removeEventListener("click",this._backdropClickHandler),t.removeEventListener("transitionend",n),t.parentNode&&t.parentNode.removeChild(t)),this._backdropElement==t&&(this._backdropElement=null),this._config.backdropClass&&this._toggleClasses(t,this._config.backdropClass,!1),clearTimeout(e)};t.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{t.addEventListener("transitionend",n)}),t.style.pointerEvents="none",e=this._ngZone.runOutsideAngular(()=>setTimeout(n,500))}_toggleClasses(e,t,n){const r=e.classList;Object(c.b)(t).forEach(e=>{e&&(n?r.add(e):r.remove(e))})}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const e=this._ngZone.onStable.pipe(Object(p.a)(Object(d.a)(this._attachments,this._detachments))).subscribe(()=>{this._pane&&this._host&&0!==this._pane.children.length||(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._previousHostParent.removeChild(this._host)),e.unsubscribe())})})}_disposeScrollStrategy(){const e=this._scrollStrategy;e&&(e.disable(),e.detach&&e.detach())}}const z="cdk-overlay-connected-position-bounding-box",P=/([A-Za-z%]+)$/;class I{constructor(e,t,n,r,i){this._viewportRuler=t,this._document=n,this._platform=r,this._overlayContainer=i,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 u.a,this._resizeSubscription=h.a.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(e)}get positions(){return this._preferredPositions}attach(e){this._overlayRef&&this._overlayRef,this._validatePositions(),e.hostElement.classList.add(z),this._overlayRef=e,this._boundingBox=e.hostElement,this._pane=e.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect();const e=this._originRect,t=this._overlayRect,n=this._viewportRect,r=[];let i;for(let s of this._preferredPositions){let o=this._getOriginPoint(e,s),a=this._getOverlayPoint(o,t,s),c=this._getOverlayFit(a,t,n,s);if(c.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(s,o);this._canFitWithFlexibleDimensions(c,a,n)?r.push({position:s,origin:o,overlayRect:t,boundingBoxRect:this._calculateBoundingBoxRect(o,s)}):(!i||i.overlayFit.visibleArea<c.visibleArea)&&(i={overlayFit:c,overlayPoint:a,originPoint:o,position:s,overlayRect:t})}if(r.length){let e=null,t=-1;for(const n of r){const r=n.boundingBoxRect.width*n.boundingBoxRect.height*(n.position.weight||1);r>t&&(t=r,e=n)}return this._isPushed=!1,void this._applyPosition(e.position,e.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(i.position,i.originPoint);this._applyPosition(i.position,i.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&R(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(z),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(!this._isDisposed&&(!this._platform||this._platform.isBrowser)){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect();const e=this._lastPosition||this._preferredPositions[0],t=this._getOriginPoint(this._originRect,e);this._applyPosition(e,t)}}withScrollableContainers(e){return this._scrollables=e,this}withPositions(e){return this._preferredPositions=e,-1===e.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(e){return this._viewportMargin=e,this}withFlexibleDimensions(e=!0){return this._hasFlexibleDimensions=e,this}withGrowAfterOpen(e=!0){return this._growAfterOpen=e,this}withPush(e=!0){return this._canPush=e,this}withLockedPosition(e=!0){return this._positionLocked=e,this}setOrigin(e){return this._origin=e,this}withDefaultOffsetX(e){return this._offsetX=e,this}withDefaultOffsetY(e){return this._offsetY=e,this}withTransformOriginOn(e){return this._transformOriginSelector=e,this}_getOriginPoint(e,t){let n,r;if("center"==t.originX)n=e.left+e.width/2;else{const r=this._isRtl()?e.right:e.left,i=this._isRtl()?e.left:e.right;n="start"==t.originX?r:i}return r="center"==t.originY?e.top+e.height/2:"top"==t.originY?e.top:e.bottom,{x:n,y:r}}_getOverlayPoint(e,t,n){let r,i;return r="center"==n.overlayX?-t.width/2:"start"===n.overlayX?this._isRtl()?-t.width:0:this._isRtl()?0:-t.width,i="center"==n.overlayY?-t.height/2:"top"==n.overlayY?0:-t.height,{x:e.x+r,y:e.y+i}}_getOverlayFit(e,t,n,r){let{x:i,y:s}=e,o=this._getOffset(r,"x"),a=this._getOffset(r,"y");o&&(i+=o),a&&(s+=a);let c=0-i,l=i+t.width-n.width,u=0-s,h=s+t.height-n.height,d=this._subtractOverflows(t.width,c,l),f=this._subtractOverflows(t.height,u,h),p=d*f;return{visibleArea:p,isCompletelyWithinViewport:t.width*t.height===p,fitsInViewportVertically:f===t.height,fitsInViewportHorizontally:d==t.width}}_canFitWithFlexibleDimensions(e,t,n){if(this._hasFlexibleDimensions){const r=n.bottom-t.y,i=n.right-t.x,s=N(this._overlayRef.getConfig().minHeight),o=N(this._overlayRef.getConfig().minWidth),a=e.fitsInViewportVertically||null!=s&&s<=r,c=e.fitsInViewportHorizontally||null!=o&&o<=i;return a&&c}return!1}_pushOverlayOnScreen(e,t,n){if(this._previousPushAmount&&this._positionLocked)return{x:e.x+this._previousPushAmount.x,y:e.y+this._previousPushAmount.y};const r=this._viewportRect,i=Math.max(e.x+t.width-r.width,0),s=Math.max(e.y+t.height-r.height,0),o=Math.max(r.top-n.top-e.y,0),a=Math.max(r.left-n.left-e.x,0);let c=0,l=0;return c=t.width<=r.width?a||-i:e.x<this._viewportMargin?r.left-n.left-e.x:0,l=t.height<=r.height?o||-s:e.y<this._viewportMargin?r.top-n.top-e.y:0,this._previousPushAmount={x:c,y:l},{x:e.x+c,y:e.y+l}}_applyPosition(e,t){if(this._setTransformOrigin(e),this._setOverlayElementStyles(t,e),this._setBoundingBoxStyles(t,e),e.panelClass&&this._addPanelClasses(e.panelClass),this._lastPosition=e,this._positionChanges.observers.length){const t=this._getScrollVisibility(),n=new M(e,t);this._positionChanges.next(n)}this._isInitialRender=!1}_setTransformOrigin(e){if(!this._transformOriginSelector)return;const t=this._boundingBox.querySelectorAll(this._transformOriginSelector);let n,r=e.overlayY;n="center"===e.overlayX?"center":this._isRtl()?"start"===e.overlayX?"right":"left":"start"===e.overlayX?"left":"right";for(let i=0;i<t.length;i++)t[i].style.transformOrigin=`${n} ${r}`}_calculateBoundingBoxRect(e,t){const n=this._viewportRect,r=this._isRtl();let i,s,o;if("top"===t.overlayY)s=e.y,i=n.height-s+this._viewportMargin;else if("bottom"===t.overlayY)o=n.height-e.y+2*this._viewportMargin,i=n.height-o+this._viewportMargin;else{const t=Math.min(n.bottom-e.y+n.top,e.y),r=this._lastBoundingBoxSize.height;i=2*t,s=e.y-t,i>r&&!this._isInitialRender&&!this._growAfterOpen&&(s=e.y-r/2)}const a="start"===t.overlayX&&!r||"end"===t.overlayX&&r;let c,l,u;if("end"===t.overlayX&&!r||"start"===t.overlayX&&r)u=n.width-e.x+this._viewportMargin,c=e.x-this._viewportMargin;else if(a)l=e.x,c=n.right-e.x;else{const t=Math.min(n.right-e.x+n.left,e.x),r=this._lastBoundingBoxSize.width;c=2*t,l=e.x-t,c>r&&!this._isInitialRender&&!this._growAfterOpen&&(l=e.x-r/2)}return{top:s,left:l,bottom:o,right:u,width:c,height:i}}_setBoundingBoxStyles(e,t){const n=this._calculateBoundingBoxRect(e,t);this._isInitialRender||this._growAfterOpen||(n.height=Math.min(n.height,this._lastBoundingBoxSize.height),n.width=Math.min(n.width,this._lastBoundingBoxSize.width));const r={};if(this._hasExactPosition())r.top=r.left="0",r.bottom=r.right=r.maxHeight=r.maxWidth="",r.width=r.height="100%";else{const e=this._overlayRef.getConfig().maxHeight,i=this._overlayRef.getConfig().maxWidth;r.height=Object(c.d)(n.height),r.top=Object(c.d)(n.top),r.bottom=Object(c.d)(n.bottom),r.width=Object(c.d)(n.width),r.left=Object(c.d)(n.left),r.right=Object(c.d)(n.right),"center"===t.overlayX?r.alignItems="center":r.alignItems="end"===t.overlayX?"flex-end":"flex-start","center"===t.overlayY?r.justifyContent="center":r.justifyContent="bottom"===t.overlayY?"flex-end":"flex-start",e&&(r.maxHeight=Object(c.d)(e)),i&&(r.maxWidth=Object(c.d)(i))}this._lastBoundingBoxSize=n,R(this._boundingBox.style,r)}_resetBoundingBoxStyles(){R(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){R(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(e,t){const n={},r=this._hasExactPosition(),i=this._hasFlexibleDimensions,s=this._overlayRef.getConfig();if(r){const r=this._viewportRuler.getViewportScrollPosition();R(n,this._getExactOverlayY(t,e,r)),R(n,this._getExactOverlayX(t,e,r))}else n.position="static";let o="",a=this._getOffset(t,"x"),l=this._getOffset(t,"y");a&&(o+=`translateX(${a}px) `),l&&(o+=`translateY(${l}px)`),n.transform=o.trim(),s.maxHeight&&(r?n.maxHeight=Object(c.d)(s.maxHeight):i&&(n.maxHeight="")),s.maxWidth&&(r?n.maxWidth=Object(c.d)(s.maxWidth):i&&(n.maxWidth="")),R(this._pane.style,n)}_getExactOverlayY(e,t,n){let r={top:"",bottom:""},i=this._getOverlayPoint(t,this._overlayRect,e);this._isPushed&&(i=this._pushOverlayOnScreen(i,this._overlayRect,n));let s=this._overlayContainer.getContainerElement().getBoundingClientRect().top;if(i.y-=s,"bottom"===e.overlayY){const e=this._document.documentElement.clientHeight;r.bottom=e-(i.y+this._overlayRect.height)+"px"}else r.top=Object(c.d)(i.y);return r}_getExactOverlayX(e,t,n){let r,i={left:"",right:""},s=this._getOverlayPoint(t,this._overlayRect,e);if(this._isPushed&&(s=this._pushOverlayOnScreen(s,this._overlayRect,n)),r=this._isRtl()?"end"===e.overlayX?"left":"right":"end"===e.overlayX?"right":"left","right"===r){const e=this._document.documentElement.clientWidth;i.right=e-(s.x+this._overlayRect.width)+"px"}else i.left=Object(c.d)(s.x);return i}_getScrollVisibility(){const e=this._getOriginRect(),t=this._pane.getBoundingClientRect(),n=this._scrollables.map(e=>e.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:w(e,n),isOriginOutsideView:_(e,n),isOverlayClipped:w(t,n),isOverlayOutsideView:_(t,n)}}_subtractOverflows(e,...t){return t.reduce((e,t)=>e-Math.max(t,0),e)}_getNarrowedViewportRect(){const e=this._document.documentElement.clientWidth,t=this._document.documentElement.clientHeight,n=this._viewportRuler.getViewportScrollPosition();return{top:n.top+this._viewportMargin,left:n.left+this._viewportMargin,right:n.left+e-this._viewportMargin,bottom:n.top+t-this._viewportMargin,width:e-2*this._viewportMargin,height:t-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(e,t){return"x"===t?null==e.offsetX?this._offsetX:e.offsetX:null==e.offsetY?this._offsetY:e.offsetY}_validatePositions(){0}_addPanelClasses(e){this._pane&&Object(c.b)(e).forEach(e=>{""!==e&&-1===this._appliedPanelClasses.indexOf(e)&&(this._appliedPanelClasses.push(e),this._pane.classList.add(e))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(e=>{this._pane.classList.remove(e)}),this._appliedPanelClasses=[])}_getOriginRect(){const e=this._origin;if(e instanceof i.v)return e.nativeElement.getBoundingClientRect();if(e instanceof Element)return e.getBoundingClientRect();const t=e.width||0,n=e.height||0;return{top:e.y,bottom:e.y+n,left:e.x,right:e.x+t,height:n,width:t}}}function R(e,t){for(let n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}function N(e){if("number"!=typeof e&&null!=e){const[t,n]=e.split(P);return n&&"px"!==n?null:parseFloat(t)}return e||null}class H{constructor(e,t,n,r,i,s,o){this._preferredPositions=[],this._positionStrategy=new I(n,r,i,s,o).withFlexibleDimensions(!1).withPush(!1).withViewportMargin(0),this.withFallbackPosition(e,t),this.onPositionChange=this._positionStrategy.positionChanges}get positions(){return this._preferredPositions}attach(e){this._overlayRef=e,this._positionStrategy.attach(e),this._direction&&(e.setDirection(this._direction),this._direction=null)}dispose(){this._positionStrategy.dispose()}detach(){this._positionStrategy.detach()}apply(){this._positionStrategy.apply()}recalculateLastPosition(){this._positionStrategy.reapplyLastPosition()}withScrollableContainers(e){this._positionStrategy.withScrollableContainers(e)}withFallbackPosition(e,t,n,r){const i=new k(e,t,n,r);return this._preferredPositions.push(i),this._positionStrategy.withPositions(this._preferredPositions),this}withDirection(e){return this._overlayRef?this._overlayRef.setDirection(e):this._direction=e,this}withOffsetX(e){return this._positionStrategy.withDefaultOffsetX(e),this}withOffsetY(e){return this._positionStrategy.withDefaultOffsetY(e),this}withLockedPosition(e){return this._positionStrategy.withLockedPosition(e),this}withPositions(e){return this._preferredPositions=e.slice(),this._positionStrategy.withPositions(this._preferredPositions),this}setOrigin(e){return this._positionStrategy.setOrigin(e),this}}const F="cdk-global-overlay-wrapper";class V{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._leftOffset="",this._rightOffset="",this._alignItems="",this._justifyContent="",this._width="",this._height=""}attach(e){const t=e.getConfig();this._overlayRef=e,this._width&&!t.width&&e.updateSize({width:this._width}),this._height&&!t.height&&e.updateSize({height:this._height}),e.hostElement.classList.add(F),this._isDisposed=!1}top(e=""){return this._bottomOffset="",this._topOffset=e,this._alignItems="flex-start",this}left(e=""){return this._rightOffset="",this._leftOffset=e,this._justifyContent="flex-start",this}bottom(e=""){return this._topOffset="",this._bottomOffset=e,this._alignItems="flex-end",this}right(e=""){return this._leftOffset="",this._rightOffset=e,this._justifyContent="flex-end",this}width(e=""){return this._overlayRef?this._overlayRef.updateSize({width:e}):this._width=e,this}height(e=""){return this._overlayRef?this._overlayRef.updateSize({height:e}):this._height=e,this}centerHorizontally(e=""){return this.left(e),this._justifyContent="center",this}centerVertically(e=""){return this.top(e),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const e=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement.style,n=this._overlayRef.getConfig(),{width:r,height:i,maxWidth:s,maxHeight:o}=n,a=!("100%"!==r&&"100vw"!==r||s&&"100%"!==s&&"100vw"!==s),c=!("100%"!==i&&"100vh"!==i||o&&"100%"!==o&&"100vh"!==o);e.position=this._cssPosition,e.marginLeft=a?"0":this._leftOffset,e.marginTop=c?"0":this._topOffset,e.marginBottom=this._bottomOffset,e.marginRight=this._rightOffset,a?t.justifyContent="flex-start":"center"===this._justifyContent?t.justifyContent="center":"rtl"===this._overlayRef.getConfig().direction?"flex-start"===this._justifyContent?t.justifyContent="flex-end":"flex-end"===this._justifyContent&&(t.justifyContent="flex-start"):t.justifyContent=this._justifyContent,t.alignItems=c?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const e=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement,n=t.style;t.classList.remove(F),n.justifyContent=n.alignItems=e.marginTop=e.marginBottom=e.marginLeft=e.marginRight=e.position="",this._overlayRef=null,this._isDisposed=!0}}class B{constructor(e,t,n,r){this._viewportRuler=e,this._document=t,this._platform=n,this._overlayContainer=r}global(){return new V}connectedTo(e,t,n){return new H(t,n,e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}flexibleConnectedTo(e){return new I(e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}B.\u0275fac=function(e){return new(e||B)(i.Xc(r.g),i.Xc(a.d),i.Xc(s.a),i.Xc(A))},B.\u0275prov=Object(i.Jc)({factory:function(){return new B(Object(i.Xc)(r.g),Object(i.Xc)(a.d),Object(i.Xc)(s.a),Object(i.Xc)(A))},token:B,providedIn:"root"}),B.ctorParameters=()=>[{type:r.g},{type:void 0,decorators:[{type:i.C,args:[a.d]}]},{type:s.a},{type:A}];let Y=0;class U{constructor(e,t,n,r,i,s,o,a,c,l,u){this.scrollStrategies=e,this._overlayContainer=t,this._componentFactoryResolver=n,this._positionBuilder=r,this._keyboardDispatcher=i,this._injector=s,this._ngZone=o,this._document=a,this._directionality=c,this._location=l,this._outsideClickDispatcher=u}create(e){const t=this._createHostElement(),n=this._createPaneElement(t),r=this._createPortalOutlet(n),i=new O(e);return i.direction=i.direction||this._directionality.value,new L(r,t,n,i,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher)}position(){return this._positionBuilder}_createPaneElement(e){const t=this._document.createElement("div");return t.id="cdk-overlay-"+Y++,t.classList.add("cdk-overlay-pane"),e.appendChild(t),t}_createHostElement(){const e=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(e),e}_createPortalOutlet(e){return this._appRef||(this._appRef=this._injector.get(i.g)),new l.e(e,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}U.\u0275fac=function(e){return new(e||U)(i.Xc(x),i.Xc(A),i.Xc(i.p),i.Xc(B),i.Xc(T),i.Xc(i.F),i.Xc(i.Q),i.Xc(a.d),i.Xc(o.c),i.Xc(a.k),i.Xc(j))},U.\u0275prov=i.Jc({token:U,factory:U.\u0275fac}),U.ctorParameters=()=>[{type:x},{type:A},{type:i.p},{type:B},{type:T},{type:i.F},{type:i.Q},{type:void 0,decorators:[{type:i.C,args:[a.d]}]},{type:o.c},{type:a.k},{type:j}];const W=[{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"}],q=new i.E("cdk-connected-overlay-scroll-strategy");class ${constructor(e){this.elementRef=e}}$.\u0275fac=function(e){return new(e||$)(i.Nc(i.v))},$.\u0275dir=i.Ic({type:$,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]}),$.ctorParameters=()=>[{type:i.v}];class G{constructor(e,t,n,r,s){this._overlay=e,this._dir=s,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=h.a.EMPTY,this._attachSubscription=h.a.EMPTY,this._detachSubscription=h.a.EMPTY,this._positionSubscription=h.a.EMPTY,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.backdropClick=new i.x,this.positionChange=new i.x,this.attach=new i.x,this.detach=new i.x,this.overlayKeydown=new i.x,this.overlayOutsideClick=new i.x,this._templatePortal=new l.h(t,n),this._scrollStrategyFactory=r,this.scrollStrategy=this._scrollStrategyFactory()}get offsetX(){return this._offsetX}set offsetX(e){this._offsetX=e,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(e){this._offsetY=e,this._position&&this._updatePositionStrategy(this._position)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(e){this._hasBackdrop=Object(c.c)(e)}get lockPosition(){return this._lockPosition}set lockPosition(e){this._lockPosition=Object(c.c)(e)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(e){this._flexibleDimensions=Object(c.c)(e)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(e){this._growAfterOpen=Object(c.c)(e)}get push(){return this._push}set push(e){this._push=Object(c.c)(e)}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}ngOnChanges(e){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),e.origin&&this.open&&this._position.apply()),e.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){this.positions&&this.positions.length||(this.positions=W);const e=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=e.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=e.detachments().subscribe(()=>this.detach.emit()),e.keydownEvents().subscribe(e=>{this.overlayKeydown.next(e),e.keyCode!==g.f||this.disableClose||Object(g.p)(e)||(e.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(e=>{this.overlayOutsideClick.next(e)})}_buildConfig(){const e=this._position=this.positionStrategy||this._createPositionStrategy(),t=new O({direction:this._dir,positionStrategy:e,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(t.width=this.width),(this.height||0===this.height)&&(t.height=this.height),(this.minWidth||0===this.minWidth)&&(t.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(t.minHeight=this.minHeight),this.backdropClass&&(t.backdropClass=this.backdropClass),this.panelClass&&(t.panelClass=this.panelClass),t}_updatePositionStrategy(e){const t=this.positions.map(e=>({originX:e.originX,originY:e.originY,overlayX:e.overlayX,overlayY:e.overlayY,offsetX:e.offsetX||this.offsetX,offsetY:e.offsetY||this.offsetY,panelClass:e.panelClass||void 0}));return e.setOrigin(this.origin.elementRef).withPositions(t).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const e=this._overlay.position().flexibleConnectedTo(this.origin.elementRef);return this._updatePositionStrategy(e),e}_attachOverlay(){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(e=>{this.backdropClick.emit(e)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(Object(m.a)(()=>this.positionChange.observers.length>0)).subscribe(e=>{this.positionChange.emit(e),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}}G.\u0275fac=function(e){return new(e||G)(i.Nc(U),i.Nc(i.ib),i.Nc(i.ob),i.Nc(q),i.Nc(o.c,8))},G.\u0275dir=i.Ic({type:G,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:[i.xc]}),G.ctorParameters=()=>[{type:U},{type:i.ib},{type:i.ob},{type:void 0,decorators:[{type:i.C,args:[q]}]},{type:o.c,decorators:[{type:i.R}]}],G.propDecorators={origin:[{type:i.G,args:["cdkConnectedOverlayOrigin"]}],positions:[{type:i.G,args:["cdkConnectedOverlayPositions"]}],positionStrategy:[{type:i.G,args:["cdkConnectedOverlayPositionStrategy"]}],offsetX:[{type:i.G,args:["cdkConnectedOverlayOffsetX"]}],offsetY:[{type:i.G,args:["cdkConnectedOverlayOffsetY"]}],width:[{type:i.G,args:["cdkConnectedOverlayWidth"]}],height:[{type:i.G,args:["cdkConnectedOverlayHeight"]}],minWidth:[{type:i.G,args:["cdkConnectedOverlayMinWidth"]}],minHeight:[{type:i.G,args:["cdkConnectedOverlayMinHeight"]}],backdropClass:[{type:i.G,args:["cdkConnectedOverlayBackdropClass"]}],panelClass:[{type:i.G,args:["cdkConnectedOverlayPanelClass"]}],viewportMargin:[{type:i.G,args:["cdkConnectedOverlayViewportMargin"]}],scrollStrategy:[{type:i.G,args:["cdkConnectedOverlayScrollStrategy"]}],open:[{type:i.G,args:["cdkConnectedOverlayOpen"]}],disableClose:[{type:i.G,args:["cdkConnectedOverlayDisableClose"]}],transformOriginSelector:[{type:i.G,args:["cdkConnectedOverlayTransformOriginOn"]}],hasBackdrop:[{type:i.G,args:["cdkConnectedOverlayHasBackdrop"]}],lockPosition:[{type:i.G,args:["cdkConnectedOverlayLockPosition"]}],flexibleDimensions:[{type:i.G,args:["cdkConnectedOverlayFlexibleDimensions"]}],growAfterOpen:[{type:i.G,args:["cdkConnectedOverlayGrowAfterOpen"]}],push:[{type:i.G,args:["cdkConnectedOverlayPush"]}],backdropClick:[{type:i.S}],positionChange:[{type:i.S}],attach:[{type:i.S}],detach:[{type:i.S}],overlayKeydown:[{type:i.S}],overlayOutsideClick:[{type:i.S}]};const X={provide:q,deps:[U],useFactory:function(e){return()=>e.scrollStrategies.reposition()}};class K{}K.\u0275mod=i.Lc({type:K}),K.\u0275inj=i.Kc({factory:function(e){return new(e||K)},providers:[U,X],imports:[[o.a,l.g,r.f],r.f]}),("undefined"==typeof ngJitMode||ngJitMode)&&i.Bd(K,{declarations:function(){return[G,$]},imports:function(){return[o.a,l.g,r.f]},exports:function(){return[G,$,r.f]}});class J extends A{constructor(e,t){super(e,t)}ngOnDestroy(){super.ngOnDestroy(),this._fullScreenEventName&&this._fullScreenListener&&this._document.removeEventListener(this._fullScreenEventName,this._fullScreenListener)}_createContainer(){super._createContainer(),this._adjustParentForFullscreenChange(),this._addFullscreenChangeListener(()=>this._adjustParentForFullscreenChange())}_adjustParentForFullscreenChange(){if(!this._containerElement)return;(this.getFullscreenElement()||this._document.body).appendChild(this._containerElement)}_addFullscreenChangeListener(e){const t=this._getEventName();t&&(this._fullScreenListener&&this._document.removeEventListener(t,this._fullScreenListener),this._document.addEventListener(t,e),this._fullScreenListener=e)}_getEventName(){if(!this._fullScreenEventName){const e=this._document;e.fullscreenEnabled?this._fullScreenEventName="fullscreenchange":e.webkitFullscreenEnabled?this._fullScreenEventName="webkitfullscreenchange":e.mozFullScreenEnabled?this._fullScreenEventName="mozfullscreenchange":e.msFullscreenEnabled&&(this._fullScreenEventName="MSFullscreenChange")}return this._fullScreenEventName}getFullscreenElement(){const e=this._document;return e.fullscreenElement||e.webkitFullscreenElement||e.mozFullScreenElement||e.msFullscreenElement||null}}J.\u0275fac=function(e){return new(e||J)(i.Xc(a.d),i.Xc(s.a))},J.\u0275prov=Object(i.Jc)({factory:function(){return new J(Object(i.Xc)(a.d),Object(i.Xc)(s.a))},token:J,providedIn:"root"}),J.ctorParameters=()=>[{type:void 0,decorators:[{type:i.C,args:[a.d]}]},{type:s.a}]},raLr:function(e,t,n){!function(e){"use strict";function t(e,t){var n=e.split("_");return t%10==1&&t%100!=11?n[0]:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?n[1]:n[2]}function n(e,n,r){return"m"===r?n?"\u0445\u0432\u0438\u043b\u0438\u043d\u0430":"\u0445\u0432\u0438\u043b\u0438\u043d\u0443":"h"===r?n?"\u0433\u043e\u0434\u0438\u043d\u0430":"\u0433\u043e\u0434\u0438\u043d\u0443":e+" "+t({ss:n?"\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:n?"\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:n?"\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"}[r],+e)}function r(e,t){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===e?n.nominative.slice(1,7).concat(n.nominative.slice(0,1)):e?n[/(\[[\u0412\u0432\u0423\u0443]\]) ?dddd/.test(t)?"accusative":/\[?(?:\u043c\u0438\u043d\u0443\u043b\u043e\u0457|\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u043e\u0457)? ?\] ?dddd/.test(t)?"genitive":"nominative"][e.day()]:n.nominative}function i(e){return function(){return e+"\u043e"+(11===this.hours()?"\u0431":"")+"] LT"}}e.defineLocale("uk",{months:{format:"\u0441\u0456\u0447\u043d\u044f_\u043b\u044e\u0442\u043e\u0433\u043e_\u0431\u0435\u0440\u0435\u0437\u043d\u044f_\u043a\u0432\u0456\u0442\u043d\u044f_\u0442\u0440\u0430\u0432\u043d\u044f_\u0447\u0435\u0440\u0432\u043d\u044f_\u043b\u0438\u043f\u043d\u044f_\u0441\u0435\u0440\u043f\u043d\u044f_\u0432\u0435\u0440\u0435\u0441\u043d\u044f_\u0436\u043e\u0432\u0442\u043d\u044f_\u043b\u0438\u0441\u0442\u043e\u043f\u0430\u0434\u0430_\u0433\u0440\u0443\u0434\u043d\u044f".split("_"),standalone:"\u0441\u0456\u0447\u0435\u043d\u044c_\u043b\u044e\u0442\u0438\u0439_\u0431\u0435\u0440\u0435\u0437\u0435\u043d\u044c_\u043a\u0432\u0456\u0442\u0435\u043d\u044c_\u0442\u0440\u0430\u0432\u0435\u043d\u044c_\u0447\u0435\u0440\u0432\u0435\u043d\u044c_\u043b\u0438\u043f\u0435\u043d\u044c_\u0441\u0435\u0440\u043f\u0435\u043d\u044c_\u0432\u0435\u0440\u0435\u0441\u0435\u043d\u044c_\u0436\u043e\u0432\u0442\u0435\u043d\u044c_\u043b\u0438\u0441\u0442\u043e\u043f\u0430\u0434_\u0433\u0440\u0443\u0434\u0435\u043d\u044c".split("_")},monthsShort:"\u0441\u0456\u0447_\u043b\u044e\u0442_\u0431\u0435\u0440_\u043a\u0432\u0456\u0442_\u0442\u0440\u0430\u0432_\u0447\u0435\u0440\u0432_\u043b\u0438\u043f_\u0441\u0435\u0440\u043f_\u0432\u0435\u0440_\u0436\u043e\u0432\u0442_\u043b\u0438\u0441\u0442_\u0433\u0440\u0443\u0434".split("_"),weekdays:r,weekdaysShort:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0440.",LLL:"D MMMM YYYY \u0440., HH:mm",LLLL:"dddd, D MMMM YYYY \u0440., HH:mm"},calendar:{sameDay:i("[\u0421\u044c\u043e\u0433\u043e\u0434\u043d\u0456 "),nextDay:i("[\u0417\u0430\u0432\u0442\u0440\u0430 "),lastDay:i("[\u0412\u0447\u043e\u0440\u0430 "),nextWeek:i("[\u0423] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return i("[\u041c\u0438\u043d\u0443\u043b\u043e\u0457] dddd [").call(this);case 1:case 2:case 4:return i("[\u041c\u0438\u043d\u0443\u043b\u043e\u0433\u043e] dddd [").call(this)}},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"%s \u0442\u043e\u043c\u0443",s:"\u0434\u0435\u043a\u0456\u043b\u044c\u043a\u0430 \u0441\u0435\u043a\u0443\u043d\u0434",ss:n,m:n,mm:n,h:"\u0433\u043e\u0434\u0438\u043d\u0443",hh:n,d:"\u0434\u0435\u043d\u044c",dd:n,M:"\u043c\u0456\u0441\u044f\u0446\u044c",MM:n,y:"\u0440\u0456\u043a",yy:n},meridiemParse:/\u043d\u043e\u0447\u0456|\u0440\u0430\u043d\u043a\u0443|\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430/,isPM:function(e){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430)$/.test(e)},meridiem:function(e,t,n){return e<4?"\u043d\u043e\u0447\u0456":e<12?"\u0440\u0430\u043d\u043a\u0443":e<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u043e\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":case"w":case"W":return e+"-\u0439";case"D":return e+"-\u0433\u043e";default:return e}},week:{dow:1,doy:7}})}(n("wd/R"))},rdIy:function(e,t,n){"use strict";n.d(t,"a",function(){return o});var r=n("mrSG"),i=n("fXoL"),s=n("XNiG");let o=class{constructor(){this.destroy$=new s.a}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}};o=Object(r.b)([Object(i.u)({selector:"destroy"})],o)},rgIi:function(e,t,n){"use strict";n.d(t,"c",function(){return o}),n.d(t,"a",function(){return a}),n.d(t,"b",function(){return c});var r=n("mrSG"),i=n("xwJx"),s=n("6K47");function o(e,t,n,o=!0,a="E4",c=1,l=8,u="B"){var h;return Object(r.a)(this,void 0,void 0,function*(){const r=new s.Workbook;yield r.xlsx.load(e);const d=null!==(h=r.getWorksheet(c))&&void 0!==h?h:Object(i.J)(`Worksheet ${c} does not exists`);n&&(d.getCell(a).value=n);let f=0;t.forEach((e,t)=>{[[u,(t+=f)+1],...Object.entries(e)].forEach(([e,n])=>{if("Y"==e&&o&&n){t+=1,d.getRow(l+t).height=80,f+=1;const e=r.addImage({base64:n,extension:"jpeg"});d.addImage(e,`G${l+t}:G${l+t}`)}else"I"==e&&o?d.getCell(`${e}${l+t}`).dataValidation={type:"list",allowBlank:!0,formulae:['"'+n.join(",")+'"']}:d.getCell(`${e}${l+t}`).value=n,function(e,t){var n;if((null!=t?t:"").toString().length){const r=d.getColumn(e);r.width=Math.max(null!==(n=r.width)&&void 0!==n?n:0,(null!=t?t:"").toString().length)}}(e,n)})});const p=yield r.xlsx.writeBuffer();return new Blob([p],{type:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"})})}function a(e,t,n,o="F4",a=1,c=6,l="B",u){var h;return Object(r.a)(this,void 0,void 0,function*(){const r=new s.Workbook;yield r.xlsx.load(e);const d=null!==(h=r.getWorksheet(a))&&void 0!==h?h:Object(i.J)(`Worksheet ${a} does not exists`);d.addTable({name:"MyTable",ref:l+c,headerRow:!0,totalsRow:!1,style:{theme:"TableStyleLight1",showRowStripes:!0},columns:u,rows:[...t.map(e=>Object.values(e))]}),n&&(d.getCell(o).value=n);const f=yield r.xlsx.writeBuffer();return new Blob([f],{type:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"})})}function c(e,t,n,i=2){return Object(r.a)(this,void 0,void 0,function*(){const r="ABCDEFGHIJKLMNOPQRSTUVWXYZ",o=new s.Workbook;if(e.length){let t=o.addWorksheet("\u0422\u0438\u0442\u0443\u043b\u044c\u043d\u044b\u0439 \u043b\u0438\u0441\u0442");e.forEach((e,n)=>{t.getCell(`${r[1]}${n+2}`).style=n?{fill:{type:"pattern",pattern:"solid",fgColor:{argb:"FFD9D9D9"},bgColor:{argb:"FFD9D9D9"}},font:{bold:!0,size:11,family:1}}:{font:{bold:!0,size:11,family:1}},t.getCell(`${r[1]}${n+2}`).value=e.title,e.val&&(t.getCell(`${r[2]}${n+2}`).value=e.val),l(t,r[1],e.title),l(t,r[2],e.val)})}let a=o.addWorksheet("\u041e\u0442\u0447\u0451\u0442");a.addRow(n.map(e=>e.title)).eachCell(e=>{e.style={alignment:{horizontal:"center",vertical:"middle",wrapText:!0},font:{bold:!0,size:11,family:1},fill:{type:"pattern",pattern:"solid",fgColor:{argb:"FFD9D9D9"},bgColor:{argb:"FFD9D9D9"}},border:{top:{style:"thin"},left:{style:"thin"},bottom:{style:"thin"},right:{style:"thin"}}}}),t.forEach((e,t)=>{n.forEach((n,s)=>{const o=r[s];a.getCell(`${o}${t+2}`).style={border:{top:{style:"thin"},left:{style:"thin"},bottom:{style:"thin"},right:{style:"thin"}}},a.getCell(`${o}${i+t}`).value=e[n.field],l(a,o,e[n.field])})});const c=yield o.xlsx.writeBuffer();return new Blob([c],{type:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"});function l(e,t,n){var r;const i=e.getColumn(t),s=Math.max(null!==(r=i.width)&&void 0!==r?r:0,(null!=n?n:"").toString().length,15);i.width=s>40?40:s,i.alignment={vertical:"middle",wrapText:!0}}})}},rgsH:function(e,t,n){"use strict";n.d(t,"a",function(){return b});var r,i=n("mrSG"),s=n("fXoL"),o=n("xwJx"),a=n("mjQ1"),c=n("SURy"),l=n("2kdd"),u=n("LRne"),h=n("Cfvw"),d=n("vkgz"),f=n("eIep"),p=n("lJxs"),m=n("Jy0u"),g=n("5PbX"),v=n("k02v"),y=n("9eR8");!function(e){e.MatchingCheckType="\u0422\u0438\u043f \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0438 \u0441\u043e\u0433\u043b\u0430\u0441\u0443\u044e\u0449\u0438\u0445",e.DayType="\u0422\u0438\u043f \u0434\u043d\u0435\u0439",e.ConsentTemplateStatus="\u0421\u0442\u0430\u0442\u0443\u0441 \u0448\u0430\u0431\u043b\u043e\u043d\u0430 \u0441\u043e\u0433\u043b\u0430\u0441\u043e\u0432\u0430\u043d\u0438\u044f",e.NumberOfApprovers="\u041a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0441\u043e\u0433\u043b\u0430\u0441\u0443\u044e\u0449\u0438\u0445",e.Role="\u0423\u0440\u043e\u0432\u0435\u043d\u044c \u0434\u043e\u0441\u0442\u0443\u043f\u0430",e.ApprovalStatus="\u0421\u0442\u0430\u0442\u0443\u0441 \u0441\u043e\u0433\u043b\u0430\u0441\u043e\u0432\u0430\u043d\u0438\u044f",e.TaskType="\u0422\u0438\u043f \u0437\u0430\u0434\u0430\u0447\u0438",e.DocStatus="\u0421\u0442\u0430\u0442\u0443\u0441 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430",e.LicensingOptions="\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b \u043b\u0438\u0446\u0435\u043d\u0437\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f",e.AccessLevel="\u0423\u0440\u043e\u0432\u043d\u0438 \u0434\u043e\u0441\u0442\u0443\u043f\u0430",e.TemplateType="\u0422\u0438\u043f \u0448\u0430\u0431\u043b\u043e\u043d\u0430",e.TemplateStatus="\u0421\u0442\u0430\u0442\u0443\u0441 \u0448\u0430\u0431\u043b\u043e\u043d\u0430",e.Events="\u0421\u043e\u0431\u044b\u0442\u0438\u0435"}(r||(r={}));let b=class{constructor(e,t){this.entities=e,this.metadata=t,this.directories={matchingCheckType:void 0,dayType:void 0,consentTemplateStatus:void 0,numberOfApprovers:void 0,role:void 0,approvalStatus:void 0,taskType:void 0,LicensingOptions:void 0,accessLevel:void 0,docStatus:void 0,templateType:void 0,templateStatus:void 0,events:void 0}}getDirectories(){const e=Object.values(r);return this.getFromDirectories(e).pipe(Object(d.a)(e=>{e.forEach(e=>{switch(e.name){case r.MatchingCheckType:this.directories.matchingCheckType=e.elements||[];break;case r.DayType:this.directories.dayType=e.elements||[];break;case r.ConsentTemplateStatus:this.directories.consentTemplateStatus=e.elements||[];break;case r.NumberOfApprovers:this.directories.numberOfApprovers=e.elements||[];break;case r.Role:this.directories.role=e.elements||[];break;case r.ApprovalStatus:this.directories.approvalStatus=e.elements||[];break;case r.TaskType:this.directories.taskType=e.elements||[];break;case r.DocStatus:this.directories.docStatus=e.elements||[];break;case r.LicensingOptions:this.directories.LicensingOptions=e.elements||[];break;case r.AccessLevel:this.directories.accessLevel=e.elements||[];break;case r.TemplateType:this.directories.templateType=e.elements||[];break;case r.TemplateStatus:this.directories.templateStatus=e.elements||[];break;case r.Events:this.directories.events=e.elements||[]}})}))}get matchingCheckType(){return this.directories.matchingCheckType?Object(u.a)(this.directories.matchingCheckType):this.getDirectories().pipe(Object(f.a)(()=>Object(u.a)(this.directories.matchingCheckType)))}get dayType(){return this.directories.dayType?Object(u.a)(this.directories.dayType):this.getDirectories().pipe(Object(f.a)(()=>Object(u.a)(this.directories.dayType)))}get consentTemplateStatus(){return this.directories.consentTemplateStatus?Object(u.a)(this.directories.consentTemplateStatus):this.getDirectories().pipe(Object(f.a)(()=>Object(u.a)(this.directories.consentTemplateStatus)))}get numberOfApprovers(){return this.directories.numberOfApprovers?Object(u.a)(this.directories.numberOfApprovers):this.getDirectories().pipe(Object(f.a)(()=>Object(u.a)(this.directories.numberOfApprovers)))}get role(){return this.directories.role?Object(u.a)(this.directories.role):this.getDirectories().pipe(Object(f.a)(()=>Object(u.a)(this.directories.role)))}get approvalStatus(){return this.directories.approvalStatus?Object(u.a)(this.directories.approvalStatus):this.getDirectories().pipe(Object(f.a)(()=>Object(u.a)(this.directories.approvalStatus)))}get taskType(){return this.directories.taskType?Object(u.a)(this.directories.taskType):this.getDirectories().pipe(Object(f.a)(()=>Object(u.a)(this.directories.taskType)))}get docStatus(){return this.directories.docStatus?Object(u.a)(this.directories.docStatus):this.getDirectories().pipe(Object(f.a)(()=>Object(u.a)(this.directories.docStatus)))}get accessLevel(){return this.directories.accessLevel?Object(u.a)(this.directories.accessLevel):this.getDirectories().pipe(Object(f.a)(()=>Object(u.a)(this.directories.accessLevel)))}get templateType(){return this.directories.templateType?Object(u.a)(this.directories.templateType):this.getDirectories().pipe(Object(f.a)(()=>Object(u.a)(this.directories.templateType)))}get templateStatus(){return this.directories.templateStatus?Object(u.a)(this.directories.templateStatus):this.getDirectories().pipe(Object(f.a)(()=>Object(u.a)(this.directories.templateStatus)))}get events(){return this.directories.events?Object(u.a)(this.directories.events):this.getDirectories().pipe(Object(f.a)(()=>Object(u.a)(this.directories.events)))}getFromDirectories(e){return this.entities.analytic.query({where:Object(l.a)([Object(m.b)(g.a.class),function(e){return Object(l.b)(e.map(e=>({[Object(l.c)(o.w.entities.attributes.name)]:{eq:e}})))}(e)]),select:[Object(l.c)(o.w.entities.attributes.name)],join:{[Object(l.d)(o.w.entities.collection)]:{where:Object(m.b)(v.a.class,g.a.class),select:[Object(l.c)(o.w.entities.attributes.name)]}}},{skip:0,take:1e3}).pipe(Object(p.a)(({items:e})=>Object(m.j)(e,{schema:g.a,connect:([e],t)=>e.push(t)},{schema:v.a,connect:([e,t],n)=>{var r;return null!==(r=t.elements)&&void 0!==r||(t.elements=[]),t.elements.push(n)}})))}getLicensingOptions(){return this.licensingOptions?Object(u.a)(this.licensingOptions):Object(h.a)(this.metadata.classes.getNames("\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b \u043b\u0438\u0446\u0435\u043d\u0437\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f")).pipe(Object(f.a)(e=>this.entities.analytic.query({where:Object(l.a)([Object(m.b)(e.id)]),select:Object(a.f)(y.a,e)},{skip:0,take:100})),Object(p.a)(e=>{const t=e.items.map(e=>Object(a.j)(e,y.a));return this.licensingOptions=t,t}))}};b.ctorParameters=()=>[{type:a.a},{type:c.c}],b=Object(i.b)([Object(s.D)({providedIn:"root"})],b)},riLQ:function(e,t,n){"use strict";n.d(t,"a",function(){return s}),n.d(t,"b",function(){return o});var r=n("fXoL"),i=n("tyNb");const s=new r.E("CURRENT_STAGE"),o=[{provide:s,useFactory:e=>e.snapshot.data.stage,deps:[i.a]}]},"s+uk":function(e,t,n){!function(e){"use strict";function t(e,t,n,r){var i={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?i[n][0]:i[n][1]}e.defineLocale("de-at",{months:"J\xe4nner_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"J\xe4n._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,w:t,ww:"%d Wochen",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},sVev:function(e,t,n){"use strict";n.d(t,"a",function(){return r});const r=(()=>{function e(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return e.prototype=Object.create(Error.prototype),e})()},sWYD:function(e,t,n){"use strict";n.d(t,"a",function(){return P});var r=n("Se/U"),i=n("g9KO"),s=n("/Tr7"),o=n("jIYg"),a=864e5;var c=n("lgZR"),l=n("gr1v"),u=n("ErpD"),h=n("Szzx"),d=n("+7QN"),f={y:function(e,t){var n=e.getUTCFullYear(),r=n>0?n:1-n;return Object(d.a)("yy"===t?r%100:r,t.length)},M:function(e,t){var n=e.getUTCMonth();return"M"===t?String(n+1):Object(d.a)(n+1,2)},d:function(e,t){return Object(d.a)(e.getUTCDate(),t.length)},a:function(e,t){var n=e.getUTCHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];case"aaaa":default:return"am"===n?"a.m.":"p.m."}},h:function(e,t){return Object(d.a)(e.getUTCHours()%12||12,t.length)},H:function(e,t){return Object(d.a)(e.getUTCHours(),t.length)},m:function(e,t){return Object(d.a)(e.getUTCMinutes(),t.length)},s:function(e,t){return Object(d.a)(e.getUTCSeconds(),t.length)},S:function(e,t){var n=t.length,r=e.getUTCMilliseconds(),i=Math.floor(r*Math.pow(10,n-3));return Object(d.a)(i,t.length)}},p="midnight",m="noon",g="morning",v="afternoon",y="evening",b="night";function _(e,t){var n=e>0?"-":"+",r=Math.abs(e),i=Math.floor(r/60),s=r%60;if(0===s)return n+String(i);var o=t||"";return n+String(i)+o+Object(d.a)(s,2)}function w(e,t){return e%60==0?(e>0?"-":"+")+Object(d.a)(Math.abs(e)/60,2):S(e,t)}function S(e,t){var n=t||"",r=e>0?"-":"+",i=Math.abs(e);return r+Object(d.a)(Math.floor(i/60),2)+n+Object(d.a)(i%60,2)}var x={G:function(e,t,n){var r=e.getUTCFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return n.era(r,{width:"abbreviated"});case"GGGGG":return n.era(r,{width:"narrow"});case"GGGG":default:return n.era(r,{width:"wide"})}},y:function(e,t,n){if("yo"===t){var r=e.getUTCFullYear(),i=r>0?r:1-r;return n.ordinalNumber(i,{unit:"year"})}return f.y(e,t)},Y:function(e,t,n,r){var i=Object(h.a)(e,r),s=i>0?i:1-i;if("YY"===t){var o=s%100;return Object(d.a)(o,2)}return"Yo"===t?n.ordinalNumber(s,{unit:"year"}):Object(d.a)(s,t.length)},R:function(e,t){var n=Object(l.a)(e);return Object(d.a)(n,t.length)},u:function(e,t){var n=e.getUTCFullYear();return Object(d.a)(n,t.length)},Q:function(e,t,n){var r=Math.ceil((e.getUTCMonth()+1)/3);switch(t){case"Q":return String(r);case"QQ":return Object(d.a)(r,2);case"Qo":return n.ordinalNumber(r,{unit:"quarter"});case"QQQ":return n.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(r,{width:"narrow",context:"formatting"});case"QQQQ":default:return n.quarter(r,{width:"wide",context:"formatting"})}},q:function(e,t,n){var r=Math.ceil((e.getUTCMonth()+1)/3);switch(t){case"q":return String(r);case"qq":return Object(d.a)(r,2);case"qo":return n.ordinalNumber(r,{unit:"quarter"});case"qqq":return n.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(r,{width:"narrow",context:"standalone"});case"qqqq":default:return n.quarter(r,{width:"wide",context:"standalone"})}},M:function(e,t,n){var r=e.getUTCMonth();switch(t){case"M":case"MM":return f.M(e,t);case"Mo":return n.ordinalNumber(r+1,{unit:"month"});case"MMM":return n.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(r,{width:"narrow",context:"formatting"});case"MMMM":default:return n.month(r,{width:"wide",context:"formatting"})}},L:function(e,t,n){var r=e.getUTCMonth();switch(t){case"L":return String(r+1);case"LL":return Object(d.a)(r+1,2);case"Lo":return n.ordinalNumber(r+1,{unit:"month"});case"LLL":return n.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(r,{width:"narrow",context:"standalone"});case"LLLL":default:return n.month(r,{width:"wide",context:"standalone"})}},w:function(e,t,n,r){var i=Object(u.a)(e,r);return"wo"===t?n.ordinalNumber(i,{unit:"week"}):Object(d.a)(i,t.length)},I:function(e,t,n){var r=Object(c.a)(e);return"Io"===t?n.ordinalNumber(r,{unit:"week"}):Object(d.a)(r,t.length)},d:function(e,t,n){return"do"===t?n.ordinalNumber(e.getUTCDate(),{unit:"date"}):f.d(e,t)},D:function(e,t,n){var r=function(e){Object(o.a)(1,arguments);var t=Object(s.a)(e),n=t.getTime();t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0);var r=t.getTime(),i=n-r;return Math.floor(i/a)+1}(e);return"Do"===t?n.ordinalNumber(r,{unit:"dayOfYear"}):Object(d.a)(r,t.length)},E:function(e,t,n){var r=e.getUTCDay();switch(t){case"E":case"EE":case"EEE":return n.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(r,{width:"short",context:"formatting"});case"EEEE":default:return n.day(r,{width:"wide",context:"formatting"})}},e:function(e,t,n,r){var i=e.getUTCDay(),s=(i-r.weekStartsOn+8)%7||7;switch(t){case"e":return String(s);case"ee":return Object(d.a)(s,2);case"eo":return n.ordinalNumber(s,{unit:"day"});case"eee":return n.day(i,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(i,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(i,{width:"short",context:"formatting"});case"eeee":default:return n.day(i,{width:"wide",context:"formatting"})}},c:function(e,t,n,r){var i=e.getUTCDay(),s=(i-r.weekStartsOn+8)%7||7;switch(t){case"c":return String(s);case"cc":return Object(d.a)(s,t.length);case"co":return n.ordinalNumber(s,{unit:"day"});case"ccc":return n.day(i,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(i,{width:"narrow",context:"standalone"});case"cccccc":return n.day(i,{width:"short",context:"standalone"});case"cccc":default:return n.day(i,{width:"wide",context:"standalone"})}},i:function(e,t,n){var r=e.getUTCDay(),i=0===r?7:r;switch(t){case"i":return String(i);case"ii":return Object(d.a)(i,t.length);case"io":return n.ordinalNumber(i,{unit:"day"});case"iii":return n.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(r,{width:"short",context:"formatting"});case"iiii":default:return n.day(r,{width:"wide",context:"formatting"})}},a:function(e,t,n){var r=e.getUTCHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(r,{width:"narrow",context:"formatting"});case"aaaa":default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},b:function(e,t,n){var r,i=e.getUTCHours();switch(r=12===i?m:0===i?p:i/12>=1?"pm":"am",t){case"b":case"bb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(r,{width:"narrow",context:"formatting"});case"bbbb":default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},B:function(e,t,n){var r,i=e.getUTCHours();switch(r=i>=17?y:i>=12?v:i>=4?g:b,t){case"B":case"BB":case"BBB":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(r,{width:"narrow",context:"formatting"});case"BBBB":default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},h:function(e,t,n){if("ho"===t){var r=e.getUTCHours()%12;return 0===r&&(r=12),n.ordinalNumber(r,{unit:"hour"})}return f.h(e,t)},H:function(e,t,n){return"Ho"===t?n.ordinalNumber(e.getUTCHours(),{unit:"hour"}):f.H(e,t)},K:function(e,t,n){var r=e.getUTCHours()%12;return"Ko"===t?n.ordinalNumber(r,{unit:"hour"}):Object(d.a)(r,t.length)},k:function(e,t,n){var r=e.getUTCHours();return 0===r&&(r=24),"ko"===t?n.ordinalNumber(r,{unit:"hour"}):Object(d.a)(r,t.length)},m:function(e,t,n){return"mo"===t?n.ordinalNumber(e.getUTCMinutes(),{unit:"minute"}):f.m(e,t)},s:function(e,t,n){return"so"===t?n.ordinalNumber(e.getUTCSeconds(),{unit:"second"}):f.s(e,t)},S:function(e,t){return f.S(e,t)},X:function(e,t,n,r){var i=(r._originalDate||e).getTimezoneOffset();if(0===i)return"Z";switch(t){case"X":return w(i);case"XXXX":case"XX":return S(i);case"XXXXX":case"XXX":default:return S(i,":")}},x:function(e,t,n,r){var i=(r._originalDate||e).getTimezoneOffset();switch(t){case"x":return w(i);case"xxxx":case"xx":return S(i);case"xxxxx":case"xxx":default:return S(i,":")}},O:function(e,t,n,r){var i=(r._originalDate||e).getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+_(i,":");case"OOOO":default:return"GMT"+S(i,":")}},z:function(e,t,n,r){var i=(r._originalDate||e).getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+_(i,":");case"zzzz":default:return"GMT"+S(i,":")}},t:function(e,t,n,r){var i=r._originalDate||e,s=Math.floor(i.getTime()/1e3);return Object(d.a)(s,t.length)},T:function(e,t,n,r){var i=(r._originalDate||e).getTime();return Object(d.a)(i,t.length)}},O=n("Ib5w"),k=n("JCDJ"),C=n("3REe"),M=n("/h9T"),E=n("vq9N"),T=n("48Xl"),j=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,D=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,A=/^'([^]*?)'?$/,L=/''/g,z=/[a-zA-Z]/;function P(e,t,n){var a,c,l,u,h,d,f,p,m,g,v,y,b,_,w,S,A,L;Object(o.a)(2,arguments);var P=String(t),R=Object(E.a)(),N=null!==(a=null!==(c=null==n?void 0:n.locale)&&void 0!==c?c:R.locale)&&void 0!==a?a:T.a,H=Object(M.a)(null!==(l=null!==(u=null!==(h=null!==(d=null==n?void 0:n.firstWeekContainsDate)&&void 0!==d?d:null==n||null===(f=n.locale)||void 0===f||null===(p=f.options)||void 0===p?void 0:p.firstWeekContainsDate)&&void 0!==h?h:R.firstWeekContainsDate)&&void 0!==u?u:null===(m=R.locale)||void 0===m||null===(g=m.options)||void 0===g?void 0:g.firstWeekContainsDate)&&void 0!==l?l:1);if(!(H>=1&&H<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var F=Object(M.a)(null!==(v=null!==(y=null!==(b=null!==(_=null==n?void 0:n.weekStartsOn)&&void 0!==_?_:null==n||null===(w=n.locale)||void 0===w||null===(S=w.options)||void 0===S?void 0:S.weekStartsOn)&&void 0!==b?b:R.weekStartsOn)&&void 0!==y?y:null===(A=R.locale)||void 0===A||null===(L=A.options)||void 0===L?void 0:L.weekStartsOn)&&void 0!==v?v:0);if(!(F>=0&&F<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!N.localize)throw new RangeError("locale must contain localize property");if(!N.formatLong)throw new RangeError("locale must contain formatLong property");var V=Object(s.a)(e);if(!Object(r.a)(V))throw new RangeError("Invalid time value");var B=Object(k.a)(V),Y=Object(i.a)(V,B),U={firstWeekContainsDate:H,weekStartsOn:F,locale:N,_originalDate:V},W=P.match(D).map(function(e){var t=e[0];return"p"===t||"P"===t?(0,O.a[t])(e,N.formatLong):e}).join("").match(j).map(function(r){if("''"===r)return"'";var i=r[0];if("'"===i)return I(r);var s=x[i];if(s)return null!=n&&n.useAdditionalWeekYearTokens||!Object(C.b)(r)||Object(C.c)(r,t,String(e)),null!=n&&n.useAdditionalDayOfYearTokens||!Object(C.a)(r)||Object(C.c)(r,t,String(e)),s(Y,r,N.localize,U);if(i.match(z))throw new RangeError("Format string contains an unescaped latin alphabet character `"+i+"`");return r}).join("");return W}function I(e){var t=e.match(A);return t?t[1].replace(L,"'"):e}},sZ2C:function(e,t,n){"use strict";n.d(t,"a",function(){return f});var r=n("mrSG"),i=n("fXoL"),s=n("tyNb"),o=n("cp0P"),a=n("Cfvw"),c=n("lJxs"),l=n("JIr8"),u=n("mjQ1"),h=n("btuV"),d=n("xwJx");let f=class{constructor(e,t,n,r){this.entitiesService=e,this.router=t,this.securityService=n,this.auth=r}canActivate(e){const t=Number(e.params.project);return Object(o.a)({users:Object(a.a)(this.securityService.users.query()),permissions:Object(a.a)(this.entitiesService.permissions(t).get())}).pipe(Object(c.a)(({users:e,permissions:t})=>{const n=e.find(e=>e.name===this.auth.identity.name);return!!((null==n?void 0:n.principal)&&t.principals[n.principal]&&Object.values(t.principals[n.principal].entity).some(e=>e))||(this.router.navigate(["/"]),!1)}),Object(l.a)(()=>this.router.navigate(["/"])))}};f.ctorParameters=()=>[{type:u.a},{type:s.d},{type:h.c},{type:d.b}],f=Object(r.b)([Object(i.D)({providedIn:"root"})],f)},sp3z:function(e,t,n){!function(e){"use strict";e.defineLocale("lo",{months:"\u0ea1\u0eb1\u0e87\u0e81\u0ead\u0e99_\u0e81\u0eb8\u0ea1\u0e9e\u0eb2_\u0ea1\u0eb5\u0e99\u0eb2_\u0ec0\u0ea1\u0eaa\u0eb2_\u0e9e\u0eb6\u0e94\u0eaa\u0eb0\u0e9e\u0eb2_\u0ea1\u0eb4\u0e96\u0eb8\u0e99\u0eb2_\u0e81\u0ecd\u0ea5\u0eb0\u0e81\u0ebb\u0e94_\u0eaa\u0eb4\u0e87\u0eab\u0eb2_\u0e81\u0eb1\u0e99\u0e8d\u0eb2_\u0e95\u0eb8\u0ea5\u0eb2_\u0e9e\u0eb0\u0e88\u0eb4\u0e81_\u0e97\u0eb1\u0e99\u0ea7\u0eb2".split("_"),monthsShort:"\u0ea1\u0eb1\u0e87\u0e81\u0ead\u0e99_\u0e81\u0eb8\u0ea1\u0e9e\u0eb2_\u0ea1\u0eb5\u0e99\u0eb2_\u0ec0\u0ea1\u0eaa\u0eb2_\u0e9e\u0eb6\u0e94\u0eaa\u0eb0\u0e9e\u0eb2_\u0ea1\u0eb4\u0e96\u0eb8\u0e99\u0eb2_\u0e81\u0ecd\u0ea5\u0eb0\u0e81\u0ebb\u0e94_\u0eaa\u0eb4\u0e87\u0eab\u0eb2_\u0e81\u0eb1\u0e99\u0e8d\u0eb2_\u0e95\u0eb8\u0ea5\u0eb2_\u0e9e\u0eb0\u0e88\u0eb4\u0e81_\u0e97\u0eb1\u0e99\u0ea7\u0eb2".split("_"),weekdays:"\u0ead\u0eb2\u0e97\u0eb4\u0e94_\u0e88\u0eb1\u0e99_\u0ead\u0eb1\u0e87\u0e84\u0eb2\u0e99_\u0e9e\u0eb8\u0e94_\u0e9e\u0eb0\u0eab\u0eb1\u0e94_\u0eaa\u0eb8\u0e81_\u0ec0\u0eaa\u0ebb\u0eb2".split("_"),weekdaysShort:"\u0e97\u0eb4\u0e94_\u0e88\u0eb1\u0e99_\u0ead\u0eb1\u0e87\u0e84\u0eb2\u0e99_\u0e9e\u0eb8\u0e94_\u0e9e\u0eb0\u0eab\u0eb1\u0e94_\u0eaa\u0eb8\u0e81_\u0ec0\u0eaa\u0ebb\u0eb2".split("_"),weekdaysMin:"\u0e97_\u0e88_\u0ead\u0e84_\u0e9e_\u0e9e\u0eab_\u0eaa\u0e81_\u0eaa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"\u0ea7\u0eb1\u0e99dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0e95\u0ead\u0e99\u0ec0\u0e8a\u0ebb\u0ec9\u0eb2|\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87/,isPM:function(e){return"\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87"===e},meridiem:function(e,t,n){return e<12?"\u0e95\u0ead\u0e99\u0ec0\u0e8a\u0ebb\u0ec9\u0eb2":"\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87"},calendar:{sameDay:"[\u0ea1\u0eb7\u0ec9\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",nextDay:"[\u0ea1\u0eb7\u0ec9\u0ead\u0eb7\u0ec8\u0e99\u0ec0\u0ea7\u0ea5\u0eb2] LT",nextWeek:"[\u0ea7\u0eb1\u0e99]dddd[\u0edc\u0ec9\u0eb2\u0ec0\u0ea7\u0ea5\u0eb2] LT",lastDay:"[\u0ea1\u0eb7\u0ec9\u0ea7\u0eb2\u0e99\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",lastWeek:"[\u0ea7\u0eb1\u0e99]dddd[\u0ec1\u0ea5\u0ec9\u0ea7\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",sameElse:"L"},relativeTime:{future:"\u0ead\u0eb5\u0e81 %s",past:"%s\u0e9c\u0ec8\u0eb2\u0e99\u0ea1\u0eb2",s:"\u0e9a\u0ecd\u0ec8\u0ec0\u0e97\u0ebb\u0ec8\u0eb2\u0ec3\u0e94\u0ea7\u0eb4\u0e99\u0eb2\u0e97\u0eb5",ss:"%d \u0ea7\u0eb4\u0e99\u0eb2\u0e97\u0eb5",m:"1 \u0e99\u0eb2\u0e97\u0eb5",mm:"%d \u0e99\u0eb2\u0e97\u0eb5",h:"1 \u0e8a\u0ebb\u0ec8\u0ea7\u0ec2\u0ea1\u0e87",hh:"%d \u0e8a\u0ebb\u0ec8\u0ea7\u0ec2\u0ea1\u0e87",d:"1 \u0ea1\u0eb7\u0ec9",dd:"%d \u0ea1\u0eb7\u0ec9",M:"1 \u0ec0\u0e94\u0eb7\u0ead\u0e99",MM:"%d \u0ec0\u0e94\u0eb7\u0ead\u0e99",y:"1 \u0e9b\u0eb5",yy:"%d \u0e9b\u0eb5"},dayOfMonthOrdinalParse:/(\u0e97\u0eb5\u0ec8)\d{1,2}/,ordinal:function(e){return"\u0e97\u0eb5\u0ec8"+e}})}(n("wd/R"))},sxOR:function(e,t,n){"use strict";var r=String.prototype.replace,i=/%20/g;e.exports={default:"RFC3986",formatters:{RFC1738:function(e){return r.call(e,i,"+")},RFC3986:function(e){return String(e)}},RFC1738:"RFC1738",RFC3986:"RFC3986"}},syX2:function(e,t,n){"use strict";n.d(t,"a",function(){return o});var r=n("D0XW"),i=n("mlxB"),s=n("zx2A");function o(e,t,n=r.a){return r=>{let s=Object(i.a)(e),o=s?+e-n.now():Math.abs(e);return r.lift(new a(o,s,t,n))}}class a{constructor(e,t,n,r){this.waitFor=e,this.absoluteTimeout=t,this.withObservable=n,this.scheduler=r}call(e,t){return t.subscribe(new c(e,this.absoluteTimeout,this.waitFor,this.withObservable,this.scheduler))}}class c extends s.b{constructor(e,t,n,r,i){super(e),this.absoluteTimeout=t,this.waitFor=n,this.withObservable=r,this.scheduler=i,this.scheduleTimeout()}static dispatchTimeout(e){const{withObservable:t}=e;e._unsubscribeAndRecycle(),e.add(Object(s.c)(t,new s.a(e)))}scheduleTimeout(){const{action:e}=this;e?this.action=e.schedule(this,this.waitFor):this.add(this.action=this.scheduler.schedule(c.dispatchTimeout,this.waitFor,this))}_next(e){this.absoluteTimeout||this.scheduleTimeout(),super._next(e)}_unsubscribe(){this.action=void 0,this.scheduler=null,this.withObservable=null}}},sz8Q:function(e,t,n){"use strict";n.d(t,"a",function(){return s});var r=n("xwJx"),i=n("mjQ1");const s={class:"dd75615c-0dee-4954-b740-e94a7bbac80b",root:2,collection:r.w.entities.collection,properties:Object.assign(Object.assign({},r.w.entities.attributes),{role:{id:"f1cde106-e48f-4cfe-a5c9-5cfafe196a01",map:i.b.option},user:{id:"626c45fb-0d8a-4888-8239-e6e2c775e520",map:i.b.option},author:{id:"200dde38-772c-42d2-a3cb-fcd28d96e2bf",map:i.b.option}})}},"t+mt":function(e,t,n){!function(e){"use strict";e.defineLocale("en-sg",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n("wd/R"))},tEnP:function(e,t,n){"use strict";n.d(t,"a",function(){return r}),n.d(t,"b",function(){return i}),n.d(t,"c",function(){return s});const r="3dedd5e9-0185-4146-818e-c07c1d47aeca",i="845c8c6b-2143-47db-a381-00359a41c483",s="d5e67b6c-ee2d-48cc-843a-0e76c68b8aee"},tGlX:function(e,t,n){!function(e){"use strict";function t(e,t,n,r){var i={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?i[n][0]:i[n][1]}e.defineLocale("de",{months:"Januar_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,w:t,ww:"%d Wochen",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},tS1D:function(e,t,n){"use strict";n.d(t,"a",function(){return a});var r=n("D0XW");const i=(()=>{function e(){return Error.call(this),this.message="Timeout has occurred",this.name="TimeoutError",this}return e.prototype=Object.create(Error.prototype),e})();var s=n("syX2"),o=n("z6cu");function a(e,t=r.a){return Object(s.a)(e,Object(o.a)(new i),t)}},tT3J:function(e,t,n){!function(e){"use strict";e.defineLocale("tzm-latn",{months:"innayr_br\u02e4ayr\u02e4_mar\u02e4s\u02e4_ibrir_mayyw_ywnyw_ywlywz_\u0263w\u0161t_\u0161wtanbir_kt\u02e4wbr\u02e4_nwwanbir_dwjnbir".split("_"),monthsShort:"innayr_br\u02e4ayr\u02e4_mar\u02e4s\u02e4_ibrir_mayyw_ywnyw_ywlywz_\u0263w\u0161t_\u0161wtanbir_kt\u02e4wbr\u02e4_nwwanbir_dwjnbir".split("_"),weekdays:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),weekdaysShort:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),weekdaysMin:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[asdkh g] LT",nextDay:"[aska g] LT",nextWeek:"dddd [g] LT",lastDay:"[assant g] LT",lastWeek:"dddd [g] LT",sameElse:"L"},relativeTime:{future:"dadkh s yan %s",past:"yan %s",s:"imik",ss:"%d imik",m:"minu\u1e0d",mm:"%d minu\u1e0d",h:"sa\u025ba",hh:"%d tassa\u025bin",d:"ass",dd:"%d ossan",M:"ayowr",MM:"%d iyyirn",y:"asgas",yy:"%d isgasn"},week:{dow:6,doy:12}})}(n("wd/R"))},tUCv:function(e,t,n){!function(e){"use strict";e.defineLocale("jv",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des".split("_"),weekdays:"Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu".split("_"),weekdaysShort:"Min_Sen_Sel_Reb_Kem_Jem_Sep".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sp".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/enjing|siyang|sonten|ndalu/,meridiemHour:function(e,t){return 12===e&&(e=0),"enjing"===t?e:"siyang"===t?e>=11?e:e+12:"sonten"===t||"ndalu"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"enjing":e<15?"siyang":e<19?"sonten":"ndalu"},calendar:{sameDay:"[Dinten puniko pukul] LT",nextDay:"[Mbenjang pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kala wingi pukul] LT",lastWeek:"dddd [kepengker pukul] LT",sameElse:"L"},relativeTime:{future:"wonten ing %s",past:"%s ingkang kepengker",s:"sawetawis detik",ss:"%d detik",m:"setunggal menit",mm:"%d menit",h:"setunggal jam",hh:"%d jam",d:"sedinten",dd:"%d dinten",M:"sewulan",MM:"%d wulan",y:"setaun",yy:"%d taun"},week:{dow:1,doy:7}})}(n("wd/R"))},tbfe:function(e,t,n){!function(e){"use strict";var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),r=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],i=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;e.defineLocale("es-mx",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,r){return e?/-MMM-/.test(r)?n[e.month()]:t[e.month()]:t},monthsRegex:i,monthsShortRegex:i,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:r,longMonthsParse:r,shortMonthsParse:r,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(e,t,n){"use strict";n.d(t,"a",function(){return E}),n.d(t,"b",function(){return d}),n.d(t,"c",function(){return C}),n.d(t,"d",function(){return q}),n.d(t,"e",function(){return r}),n.d(t,"f",function(){return f}),n.d(t,"g",function(){return g}),n.d(t,"h",function(){return _}),n.d(t,"i",function(){return x});var r,i=n("fXoL"),s=n("LRne"),o=n("HDdC"),a=n("bOdf"),c=n("pLZG"),l=n("lJxs"),u=n("ofXK");class h{}class d{}class f{constructor(e){this.normalizedNames=new Map,this.lazyUpdate=null,e?this.lazyInit="string"==typeof e?()=>{this.headers=new Map,e.split("\n").forEach(e=>{const t=e.indexOf(":");if(t>0){const n=e.slice(0,t),r=n.toLowerCase(),i=e.slice(t+1).trim();this.maybeSetNormalizedName(n,r),this.headers.has(r)?this.headers.get(r).push(i):this.headers.set(r,[i])}})}:()=>{this.headers=new Map,Object.keys(e).forEach(t=>{let n=e[t];const r=t.toLowerCase();"string"==typeof n&&(n=[n]),n.length>0&&(this.headers.set(r,n),this.maybeSetNormalizedName(t,r))})}:this.headers=new Map}has(e){return this.init(),this.headers.has(e.toLowerCase())}get(e){this.init();const t=this.headers.get(e.toLowerCase());return t&&t.length>0?t[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(e){return this.init(),this.headers.get(e.toLowerCase())||null}append(e,t){return this.clone({name:e,value:t,op:"a"})}set(e,t){return this.clone({name:e,value:t,op:"s"})}delete(e,t){return this.clone({name:e,value:t,op:"d"})}maybeSetNormalizedName(e,t){this.normalizedNames.has(t)||this.normalizedNames.set(t,e)}init(){this.lazyInit&&(this.lazyInit instanceof f?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(e=>this.applyUpdate(e)),this.lazyUpdate=null))}copyFrom(e){e.init(),Array.from(e.headers.keys()).forEach(t=>{this.headers.set(t,e.headers.get(t)),this.normalizedNames.set(t,e.normalizedNames.get(t))})}clone(e){const t=new f;return t.lazyInit=this.lazyInit&&this.lazyInit instanceof f?this.lazyInit:this,t.lazyUpdate=(this.lazyUpdate||[]).concat([e]),t}applyUpdate(e){const t=e.name.toLowerCase();switch(e.op){case"a":case"s":let n=e.value;if("string"==typeof n&&(n=[n]),0===n.length)return;this.maybeSetNormalizedName(e.name,t);const r=("a"===e.op?this.headers.get(t):void 0)||[];r.push(...n),this.headers.set(t,r);break;case"d":const i=e.value;if(i){let e=this.headers.get(t);if(!e)return;e=e.filter(e=>-1===i.indexOf(e)),0===e.length?(this.headers.delete(t),this.normalizedNames.delete(t)):this.headers.set(t,e)}else this.headers.delete(t),this.normalizedNames.delete(t)}}forEach(e){this.init(),Array.from(this.normalizedNames.keys()).forEach(t=>e(this.normalizedNames.get(t),this.headers.get(t)))}}class p{encodeKey(e){return m(e)}encodeValue(e){return m(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}}function m(e){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/gi,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%2B/gi,"+").replace(/%3D/gi,"=").replace(/%3F/gi,"?").replace(/%2F/gi,"/")}class g{constructor(e={}){if(this.updates=null,this.cloneFrom=null,this.encoder=e.encoder||new p,e.fromString){if(e.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function(e,t){const n=new Map;e.length>0&&e.split("&").forEach(e=>{const r=e.indexOf("="),[i,s]=-1==r?[t.decodeKey(e),""]:[t.decodeKey(e.slice(0,r)),t.decodeValue(e.slice(r+1))],o=n.get(i)||[];o.push(s),n.set(i,o)});return n}(e.fromString,this.encoder)}else e.fromObject?(this.map=new Map,Object.keys(e.fromObject).forEach(t=>{const n=e.fromObject[t];this.map.set(t,Array.isArray(n)?n:[n])})):this.map=null}has(e){return this.init(),this.map.has(e)}get(e){this.init();const t=this.map.get(e);return t?t[0]:null}getAll(e){return this.init(),this.map.get(e)||null}keys(){return this.init(),Array.from(this.map.keys())}append(e,t){return this.clone({param:e,value:t,op:"a"})}set(e,t){return this.clone({param:e,value:t,op:"s"})}delete(e,t){return this.clone({param:e,value:t,op:"d"})}toString(){return this.init(),this.keys().map(e=>{const t=this.encoder.encodeKey(e);return this.map.get(e).map(e=>t+"="+this.encoder.encodeValue(e)).join("&")}).filter(e=>""!==e).join("&")}clone(e){const t=new g({encoder:this.encoder});return t.cloneFrom=this.cloneFrom||this,t.updates=(this.updates||[]).concat([e]),t}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(e=>this.map.set(e,this.cloneFrom.map.get(e))),this.updates.forEach(e=>{switch(e.op){case"a":case"s":const t=("a"===e.op?this.map.get(e.param):void 0)||[];t.push(e.value),this.map.set(e.param,t);break;case"d":if(void 0===e.value){this.map.delete(e.param);break}{let t=this.map.get(e.param)||[];const n=t.indexOf(e.value);-1!==n&&t.splice(n,1),t.length>0?this.map.set(e.param,t):this.map.delete(e.param)}}}),this.cloneFrom=this.updates=null)}}function v(e){return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer}function y(e){return"undefined"!=typeof Blob&&e instanceof Blob}function b(e){return"undefined"!=typeof FormData&&e instanceof FormData}class _{constructor(e,t,n,r){let i;if(this.url=t,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=e.toUpperCase(),function(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||r?(this.body=void 0!==n?n:null,i=r):i=n,i&&(this.reportProgress=!!i.reportProgress,this.withCredentials=!!i.withCredentials,i.responseType&&(this.responseType=i.responseType),i.headers&&(this.headers=i.headers),i.params&&(this.params=i.params)),this.headers||(this.headers=new f),this.params){const e=this.params.toString();if(0===e.length)this.urlWithParams=t;else{const n=t.indexOf("?"),r=-1===n?"?":n<t.length-1?"&":"";this.urlWithParams=t+r+e}}else this.params=new g,this.urlWithParams=t}serializeBody(){return null===this.body?null:v(this.body)||y(this.body)||b(this.body)||"string"==typeof this.body?this.body:this.body instanceof g?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return null===this.body||b(this.body)?null:y(this.body)?this.body.type||null:v(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof g?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||Array.isArray(this.body)?"application/json":null}clone(e={}){const t=e.method||this.method,n=e.url||this.url,r=e.responseType||this.responseType,i=void 0!==e.body?e.body:this.body,s=void 0!==e.withCredentials?e.withCredentials:this.withCredentials,o=void 0!==e.reportProgress?e.reportProgress:this.reportProgress;let a=e.headers||this.headers,c=e.params||this.params;return void 0!==e.setHeaders&&(a=Object.keys(e.setHeaders).reduce((t,n)=>t.set(n,e.setHeaders[n]),a)),e.setParams&&(c=Object.keys(e.setParams).reduce((t,n)=>t.set(n,e.setParams[n]),c)),new _(t,n,i,{params:c,headers:a,reportProgress:o,responseType:r,withCredentials:s})}}!function(e){e[e.Sent=0]="Sent",e[e.UploadProgress=1]="UploadProgress",e[e.ResponseHeader=2]="ResponseHeader",e[e.DownloadProgress=3]="DownloadProgress",e[e.Response=4]="Response",e[e.User=5]="User"}(r||(r={}));class w{constructor(e,t=200,n="OK"){this.headers=e.headers||new f,this.status=void 0!==e.status?e.status:t,this.statusText=e.statusText||n,this.url=e.url||null,this.ok=this.status>=200&&this.status<300}}class S extends w{constructor(e={}){super(e),this.type=r.ResponseHeader}clone(e={}){return new S({headers:e.headers||this.headers,status:void 0!==e.status?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}}class x extends w{constructor(e={}){super(e),this.type=r.Response,this.body=void 0!==e.body?e.body:null}clone(e={}){return new x({body:void 0!==e.body?e.body:this.body,headers:e.headers||this.headers,status:void 0!==e.status?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}}class O extends w{constructor(e){super(e,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.status>=200&&this.status<300?this.message="Http failure during parsing for "+(e.url||"(unknown url)"):this.message=`Http failure response for ${e.url||"(unknown url)"}: ${e.status} ${e.statusText}`,this.error=e.error||null}}function k(e,t){return{body:t,headers:e.headers,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials}}class C{constructor(e){this.handler=e}request(e,t,n={}){let r;if(e instanceof _)r=e;else{let i=void 0;i=n.headers instanceof f?n.headers:new f(n.headers);let s=void 0;n.params&&(s=n.params instanceof g?n.params:new g({fromObject:n.params})),r=new _(e,t,void 0!==n.body?n.body:null,{headers:i,params:s,reportProgress:n.reportProgress,responseType:n.responseType||"json",withCredentials:n.withCredentials})}const i=Object(s.a)(r).pipe(Object(a.a)(e=>this.handler.handle(e)));if(e instanceof _||"events"===n.observe)return i;const o=i.pipe(Object(c.a)(e=>e instanceof x));switch(n.observe||"body"){case"body":switch(r.responseType){case"arraybuffer":return o.pipe(Object(l.a)(e=>{if(null!==e.body&&!(e.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return e.body}));case"blob":return o.pipe(Object(l.a)(e=>{if(null!==e.body&&!(e.body instanceof Blob))throw new Error("Response is not a Blob.");return e.body}));case"text":return o.pipe(Object(l.a)(e=>{if(null!==e.body&&"string"!=typeof e.body)throw new Error("Response is not a string.");return e.body}));case"json":default:return o.pipe(Object(l.a)(e=>e.body))}case"response":return o;default:throw new Error(`Unreachable: unhandled observe type ${n.observe}}`)}}delete(e,t={}){return this.request("DELETE",e,t)}get(e,t={}){return this.request("GET",e,t)}head(e,t={}){return this.request("HEAD",e,t)}jsonp(e,t){return this.request("JSONP",e,{params:(new g).append(t,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,t={}){return this.request("OPTIONS",e,t)}patch(e,t,n={}){return this.request("PATCH",e,k(n,t))}post(e,t,n={}){return this.request("POST",e,k(n,t))}put(e,t,n={}){return this.request("PUT",e,k(n,t))}}C.\u0275fac=function(e){return new(e||C)(i.Xc(h))},C.\u0275prov=i.Jc({token:C,factory:C.\u0275fac}),C.ctorParameters=()=>[{type:h}];class M{constructor(e,t){this.next=e,this.interceptor=t}handle(e){return this.interceptor.intercept(e,this.next)}}const E=new i.E("HTTP_INTERCEPTORS");class T{intercept(e,t){return t.handle(e)}}T.\u0275fac=function(e){return new(e||T)},T.\u0275prov=i.Jc({token:T,factory:T.\u0275fac});let j=0;class D{}class A{constructor(e,t){this.callbackMap=e,this.document=t,this.resolvedPromise=Promise.resolve()}nextCallback(){return"ng_jsonp_callback_"+j++}handle(e){if("JSONP"!==e.method)throw new Error("JSONP requests must use JSONP request method.");if("json"!==e.responseType)throw new Error("JSONP requests must use Json response type.");return new o.a(t=>{const n=this.nextCallback(),i=e.urlWithParams.replace(/=JSONP_CALLBACK(&|$)/,`=${n}$1`),s=this.document.createElement("script");s.src=i;let o=null,a=!1,c=!1;this.callbackMap[n]=e=>{delete this.callbackMap[n],c||(o=e,a=!0)};const l=()=>{s.parentNode&&s.parentNode.removeChild(s),delete this.callbackMap[n]},u=e=>{c||this.resolvedPromise.then(()=>{l(),a?(t.next(new x({body:o,status:200,statusText:"OK",url:i})),t.complete()):t.error(new O({url:i,status:0,statusText:"JSONP Error",error:new Error("JSONP injected script did not invoke callback.")}))})},h=e=>{c||(l(),t.error(new O({error:e,status:0,statusText:"JSONP Error",url:i})))};return s.addEventListener("load",u),s.addEventListener("error",h),this.document.body.appendChild(s),t.next({type:r.Sent}),()=>{c=!0,s.removeEventListener("load",u),s.removeEventListener("error",h),l()}})}}A.\u0275fac=function(e){return new(e||A)(i.Xc(D),i.Xc(u.d))},A.\u0275prov=i.Jc({token:A,factory:A.\u0275fac}),A.ctorParameters=()=>[{type:D},{type:void 0,decorators:[{type:i.C,args:[u.d]}]}];class L{constructor(e){this.jsonp=e}intercept(e,t){return"JSONP"===e.method?this.jsonp.handle(e):t.handle(e)}}L.\u0275fac=function(e){return new(e||L)(i.Xc(A))},L.\u0275prov=i.Jc({token:L,factory:L.\u0275fac}),L.ctorParameters=()=>[{type:A}];const z=/^\)\]\}',?\n/;class P{}class I{constructor(){}build(){return new XMLHttpRequest}}I.\u0275fac=function(e){return new(e||I)},I.\u0275prov=i.Jc({token:I,factory:I.\u0275fac}),I.ctorParameters=()=>[];class R{constructor(e){this.xhrFactory=e}handle(e){if("JSONP"===e.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new o.a(t=>{const n=this.xhrFactory.build();if(n.open(e.method,e.urlWithParams),e.withCredentials&&(n.withCredentials=!0),e.headers.forEach((e,t)=>n.setRequestHeader(e,t.join(","))),e.headers.has("Accept")||n.setRequestHeader("Accept","application/json, text/plain, */*"),!e.headers.has("Content-Type")){const t=e.detectContentTypeHeader();null!==t&&n.setRequestHeader("Content-Type",t)}if(e.responseType){const t=e.responseType.toLowerCase();n.responseType="json"!==t?t:"text"}const i=e.serializeBody();let s=null;const o=()=>{if(null!==s)return s;const t=1223===n.status?204:n.status,r=n.statusText||"OK",i=new f(n.getAllResponseHeaders()),o=function(e){return"responseURL"in e&&e.responseURL?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader("X-Request-URL"):null}(n)||e.url;return s=new S({headers:i,status:t,statusText:r,url:o}),s},a=()=>{let{headers:r,status:i,statusText:s,url:a}=o(),c=null;204!==i&&(c=void 0===n.response?n.responseText:n.response),0===i&&(i=c?200:0);let l=i>=200&&i<300;if("json"===e.responseType&&"string"==typeof c){const e=c;c=c.replace(z,"");try{c=""!==c?JSON.parse(c):null}catch(u){c=e,l&&(l=!1,c={error:u,text:c})}}l?(t.next(new x({body:c,headers:r,status:i,statusText:s,url:a||void 0})),t.complete()):t.error(new O({error:c,headers:r,status:i,statusText:s,url:a||void 0}))},c=e=>{const{url:r}=o(),i=new O({error:e,status:n.status||0,statusText:n.statusText||"Unknown Error",url:r||void 0});t.error(i)};let l=!1;const u=i=>{l||(t.next(o()),l=!0);let s={type:r.DownloadProgress,loaded:i.loaded};i.lengthComputable&&(s.total=i.total),"text"===e.responseType&&n.responseText&&(s.partialText=n.responseText),t.next(s)},h=e=>{let n={type:r.UploadProgress,loaded:e.loaded};e.lengthComputable&&(n.total=e.total),t.next(n)};return n.addEventListener("load",a),n.addEventListener("error",c),e.reportProgress&&(n.addEventListener("progress",u),null!==i&&n.upload&&n.upload.addEventListener("progress",h)),n.send(i),t.next({type:r.Sent}),()=>{n.removeEventListener("error",c),n.removeEventListener("load",a),e.reportProgress&&(n.removeEventListener("progress",u),null!==i&&n.upload&&n.upload.removeEventListener("progress",h)),n.readyState!==n.DONE&&n.abort()}})}}R.\u0275fac=function(e){return new(e||R)(i.Xc(P))},R.\u0275prov=i.Jc({token:R,factory:R.\u0275fac}),R.ctorParameters=()=>[{type:P}];const N=new i.E("XSRF_COOKIE_NAME"),H=new i.E("XSRF_HEADER_NAME");class F{}class V{constructor(e,t,n){this.doc=e,this.platform=t,this.cookieName=n,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=Object(u.K)(e,this.cookieName),this.lastCookieString=e),this.lastToken}}V.\u0275fac=function(e){return new(e||V)(i.Xc(u.d),i.Xc(i.U),i.Xc(N))},V.\u0275prov=i.Jc({token:V,factory:V.\u0275fac}),V.ctorParameters=()=>[{type:void 0,decorators:[{type:i.C,args:[u.d]}]},{type:String,decorators:[{type:i.C,args:[i.U]}]},{type:String,decorators:[{type:i.C,args:[N]}]}];class B{constructor(e,t){this.tokenService=e,this.headerName=t}intercept(e,t){const n=e.url.toLowerCase();if("GET"===e.method||"HEAD"===e.method||n.startsWith("http://")||n.startsWith("https://"))return t.handle(e);const r=this.tokenService.getToken();return null===r||e.headers.has(this.headerName)||(e=e.clone({headers:e.headers.set(this.headerName,r)})),t.handle(e)}}B.\u0275fac=function(e){return new(e||B)(i.Xc(F),i.Xc(H))},B.\u0275prov=i.Jc({token:B,factory:B.\u0275fac}),B.ctorParameters=()=>[{type:F},{type:String,decorators:[{type:i.C,args:[H]}]}];class Y{constructor(e,t){this.backend=e,this.injector=t,this.chain=null}handle(e){if(null===this.chain){const e=this.injector.get(E,[]);this.chain=e.reduceRight((e,t)=>new M(e,t),this.backend)}return this.chain.handle(e)}}function U(){return"object"==typeof window?window:{}}Y.\u0275fac=function(e){return new(e||Y)(i.Xc(d),i.Xc(i.F))},Y.\u0275prov=i.Jc({token:Y,factory:Y.\u0275fac}),Y.ctorParameters=()=>[{type:d},{type:i.F}];class W{static disable(){return{ngModule:W,providers:[{provide:B,useClass:T}]}}static withOptions(e={}){return{ngModule:W,providers:[e.cookieName?{provide:N,useValue:e.cookieName}:[],e.headerName?{provide:H,useValue:e.headerName}:[]]}}}W.\u0275mod=i.Lc({type:W}),W.\u0275inj=i.Kc({factory:function(e){return new(e||W)},providers:[B,{provide:E,useExisting:B,multi:!0},{provide:F,useClass:V},{provide:N,useValue:"XSRF-TOKEN"},{provide:H,useValue:"X-XSRF-TOKEN"}]});class q{}q.\u0275mod=i.Lc({type:q}),q.\u0275inj=i.Kc({factory:function(e){return new(e||q)},providers:[C,{provide:h,useClass:Y},R,{provide:d,useExisting:R},I,{provide:P,useExisting:I}],imports:[[W.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),("undefined"==typeof ngJitMode||ngJitMode)&&i.Bd(q,{imports:[W]});class ${}$.\u0275mod=i.Lc({type:$}),$.\u0275inj=i.Kc({factory:function(e){return new(e||$)},providers:[A,{provide:D,useFactory:U},{provide:E,useClass:L,multi:!0}]})},tpup:function(e,t,n){"use strict";n.d(t,"a",function(){return s});var r=n("/Tr7"),i=n("jIYg");function s(e){Object(i.a)(1,arguments);var t=1,n=Object(r.a)(e),s=n.getUTCDay(),o=(s<t?7:0)+s-t;return n.setUTCDate(n.getUTCDate()-o),n.setUTCHours(0,0,0,0),n}},tyNb:function(e,t,n){"use strict";n.d(t,"a",function(){return Ve}),n.d(t,"b",function(){return N}),n.d(t,"c",function(){return Z}),n.d(t,"d",function(){return dn}),n.d(t,"e",function(){return fn}),n.d(t,"f",function(){return pn}),n.d(t,"g",function(){return Mn});var r=n("ofXK"),i=n("fXoL"),s=n("Cfvw"),o=n("LRne"),a=n("2Vo4"),c=n("itXk"),l=n("HDdC"),u=n("sVev"),h=n("GyhO"),d=n("NXyV"),f=n("EY2u"),p=n("XNiG"),m=n("lJxs"),g=n("eIep"),v=n("IzEk"),y=n("JX91"),b=n("Kqap"),_=n("pLZG"),w=n("JIr8"),S=n("bOdf"),x=n("7o/Q"),O=n("4I5i");function k(e){return function(t){return 0===e?Object(f.b)():t.lift(new C(e))}}class C{constructor(e){if(this.total=e,this.total<0)throw new O.a}call(e,t){return t.subscribe(new M(e,this.total))}}class M extends x.a{constructor(e,t){super(e),this.total=t,this.ring=new Array,this.count=0}_next(e){const t=this.ring,n=this.total,r=this.count++;if(t.length<n)t.push(e);else{t[r%n]=e}}_complete(){const e=this.destination;let t=this.count;if(t>0){const n=this.count>=this.total?this.total:this.count,r=this.ring;for(let i=0;i<n;i++){const i=t++%n;e.next(r[i])}}e.complete()}}var E=n("XDbj"),T=n("xbPD"),j=n("SpAZ");var D=n("SxV6"),A=n("5+tZ"),L=n("vkgz"),z=n("nYR2"),P=n("bHdf");class I{constructor(e,t){this.id=e,this.url=t}}class R extends I{constructor(e,t,n="imperative",r=null){super(e,t),this.navigationTrigger=n,this.restoredState=r}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class N extends I{constructor(e,t,n){super(e,t),this.urlAfterRedirects=n}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class H extends I{constructor(e,t,n){super(e,t),this.reason=n}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class F extends I{constructor(e,t,n){super(e,t),this.error=n}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class V extends I{constructor(e,t,n,r){super(e,t),this.urlAfterRedirects=n,this.state=r}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class B extends I{constructor(e,t,n,r){super(e,t),this.urlAfterRedirects=n,this.state=r}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Y extends I{constructor(e,t,n,r,i){super(e,t),this.urlAfterRedirects=n,this.state=r,this.shouldActivate=i}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class U extends I{constructor(e,t,n,r){super(e,t),this.urlAfterRedirects=n,this.state=r}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class W extends I{constructor(e,t,n,r){super(e,t),this.urlAfterRedirects=n,this.state=r}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class q{constructor(e){this.route=e}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class ${constructor(e){this.route=e}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class G{constructor(e){this.snapshot=e}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class X{constructor(e){this.snapshot=e}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class K{constructor(e){this.snapshot=e}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class J{constructor(e){this.snapshot=e}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Q{constructor(e,t,n){this.routerEvent=e,this.position=t,this.anchor=n}toString(){const e=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${e}')`}}const Z="primary";class ee{constructor(e){this.params=e||{}}has(e){return Object.prototype.hasOwnProperty.call(this.params,e)}get(e){if(this.has(e)){const t=this.params[e];return Array.isArray(t)?t[0]:t}return null}getAll(e){if(this.has(e)){const t=this.params[e];return Array.isArray(t)?t:[t]}return[]}get keys(){return Object.keys(this.params)}}function te(e){return new ee(e)}function ne(e){const t=Error("NavigationCancelingError: "+e);return t.ngNavigationCancelingError=!0,t}function re(e,t,n){const r=n.path.split("/");if(r.length>e.length)return null;if("full"===n.pathMatch&&(t.hasChildren()||r.length<e.length))return null;const i={};for(let s=0;s<r.length;s++){const t=r[s],n=e[s];if(t.startsWith(":"))i[t.substring(1)]=n;else if(t!==n.path)return null}return{consumed:e.slice(0,r.length),posParams:i}}function ie(e,t){const n=Object.keys(e),r=Object.keys(t);if(!n||!r||n.length!=r.length)return!1;let i;for(let s=0;s<n.length;s++)if(i=n[s],!se(e[i],t[i]))return!1;return!0}function se(e,t){if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return!1;const n=[...e].sort(),r=[...t].sort();return n.every((e,t)=>r[t]===e)}return e===t}function oe(e){return Array.prototype.concat.apply([],e)}function ae(e){return e.length>0?e[e.length-1]:null}function ce(e,t){for(const n in e)e.hasOwnProperty(n)&&t(e[n],n)}function le(e){return Object(i.bc)(e)?e:Object(i.cc)(e)?Object(s.a)(Promise.resolve(e)):Object(o.a)(e)}function ue(e,t,n){return n?function(e,t){return ie(e,t)}(e.queryParams,t.queryParams)&&he(e.root,t.root):function(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every(n=>se(e[n],t[n]))}(e.queryParams,t.queryParams)&&de(e.root,t.root)}function he(e,t){if(!ve(e.segments,t.segments))return!1;if(e.numberOfChildren!==t.numberOfChildren)return!1;for(const n in t.children){if(!e.children[n])return!1;if(!he(e.children[n],t.children[n]))return!1}return!0}function de(e,t){return fe(e,t,t.segments)}function fe(e,t,n){if(e.segments.length>n.length){return!!ve(e.segments.slice(0,n.length),n)&&!t.hasChildren()}if(e.segments.length===n.length){if(!ve(e.segments,n))return!1;for(const n in t.children){if(!e.children[n])return!1;if(!de(e.children[n],t.children[n]))return!1}return!0}{const r=n.slice(0,e.segments.length),i=n.slice(e.segments.length);return!!ve(e.segments,r)&&(!!e.children[Z]&&fe(e.children[Z],t,i))}}class pe{constructor(e,t,n){this.root=e,this.queryParams=t,this.fragment=n}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=te(this.queryParams)),this._queryParamMap}toString(){return _e.serialize(this)}}class me{constructor(e,t){this.segments=e,this.children=t,this.parent=null,ce(t,(e,t)=>e.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return we(this)}}class ge{constructor(e,t){this.path=e,this.parameters=t}get parameterMap(){return this._parameterMap||(this._parameterMap=te(this.parameters)),this._parameterMap}toString(){return Ee(this)}}function ve(e,t){return e.length===t.length&&e.every((e,n)=>e.path===t[n].path)}class ye{}class be{parse(e){const t=new Le(e);return new pe(t.parseRootSegment(),t.parseQueryParams(),t.parseFragment())}serialize(e){var t;return`${"/"+Se(e.root,!0)}${function(e){const t=Object.keys(e).map(t=>{const n=e[t];return Array.isArray(n)?n.map(e=>`${Oe(t)}=${Oe(e)}`).join("&"):`${Oe(t)}=${Oe(n)}`});return t.length?"?"+t.join("&"):""}(e.queryParams)}${"string"==typeof e.fragment?"#"+(t=e.fragment,encodeURI(t)):""}`}}const _e=new be;function we(e){return e.segments.map(e=>Ee(e)).join("/")}function Se(e,t){if(!e.hasChildren())return we(e);if(t){const t=e.children[Z]?Se(e.children[Z],!1):"",n=[];return ce(e.children,(e,t)=>{t!==Z&&n.push(`${t}:${Se(e,!1)}`)}),n.length>0?`${t}(${n.join("//")})`:t}{const t=function(e,t){let n=[];return ce(e.children,(e,r)=>{r===Z&&(n=n.concat(t(e,r)))}),ce(e.children,(e,r)=>{r!==Z&&(n=n.concat(t(e,r)))}),n}(e,(t,n)=>n===Z?[Se(e.children[Z],!1)]:[`${n}:${Se(t,!1)}`]);return 1===Object.keys(e.children).length&&null!=e.children[Z]?`${we(e)}/${t[0]}`:`${we(e)}/(${t.join("//")})`}}function xe(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Oe(e){return xe(e).replace(/%3B/gi,";")}function ke(e){return xe(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Ce(e){return decodeURIComponent(e)}function Me(e){return Ce(e.replace(/\+/g,"%20"))}function Ee(e){return`${ke(e.path)}${t=e.parameters,Object.keys(t).map(e=>`;${ke(e)}=${ke(t[e])}`).join("")}`;var t}const Te=/^[^\/()?;=#]+/;function je(e){const t=e.match(Te);return t?t[0]:""}const De=/^[^=?&#]+/;const Ae=/^[^?&#]+/;class Le{constructor(e){this.url=e,this.remaining=e}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new me([],{}):new me([],this.parseChildren())}parseQueryParams(){const e={};if(this.consumeOptional("?"))do{this.parseQueryParam(e)}while(this.consumeOptional("&"));return e}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());let t={};this.peekStartsWith("/(")&&(this.capture("/"),t=this.parseParens(!0));let n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(e.length>0||Object.keys(t).length>0)&&(n[Z]=new me(e,t)),n}parseSegment(){const e=je(this.remaining);if(""===e&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(e),new ge(Ce(e),this.parseMatrixParams())}parseMatrixParams(){const e={};for(;this.consumeOptional(";");)this.parseParam(e);return e}parseParam(e){const t=je(this.remaining);if(!t)return;this.capture(t);let n="";if(this.consumeOptional("=")){const e=je(this.remaining);e&&(n=e,this.capture(n))}e[Ce(t)]=Ce(n)}parseQueryParam(e){const t=function(e){const t=e.match(De);return t?t[0]:""}(this.remaining);if(!t)return;this.capture(t);let n="";if(this.consumeOptional("=")){const e=function(e){const t=e.match(Ae);return t?t[0]:""}(this.remaining);e&&(n=e,this.capture(n))}const r=Me(t),i=Me(n);if(e.hasOwnProperty(r)){let t=e[r];Array.isArray(t)||(t=[t],e[r]=t),t.push(i)}else e[r]=i}parseParens(e){const t={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const n=je(this.remaining),r=this.remaining[n.length];if("/"!==r&&")"!==r&&";"!==r)throw new Error(`Cannot parse url '${this.url}'`);let i=void 0;n.indexOf(":")>-1?(i=n.substr(0,n.indexOf(":")),this.capture(i),this.capture(":")):e&&(i=Z);const s=this.parseChildren();t[i]=1===Object.keys(s).length?s[Z]:new me([],s),this.consumeOptional("//")}return t}peekStartsWith(e){return this.remaining.startsWith(e)}consumeOptional(e){return!!this.peekStartsWith(e)&&(this.remaining=this.remaining.substring(e.length),!0)}capture(e){if(!this.consumeOptional(e))throw new Error(`Expected "${e}".`)}}class ze{constructor(e){this._root=e}get root(){return this._root.value}parent(e){const t=this.pathFromRoot(e);return t.length>1?t[t.length-2]:null}children(e){const t=Pe(e,this._root);return t?t.children.map(e=>e.value):[]}firstChild(e){const t=Pe(e,this._root);return t&&t.children.length>0?t.children[0].value:null}siblings(e){const t=Ie(e,this._root);if(t.length<2)return[];return t[t.length-2].children.map(e=>e.value).filter(t=>t!==e)}pathFromRoot(e){return Ie(e,this._root).map(e=>e.value)}}function Pe(e,t){if(e===t.value)return t;for(const n of t.children){const t=Pe(e,n);if(t)return t}return null}function Ie(e,t){if(e===t.value)return[t];for(const n of t.children){const r=Ie(e,n);if(r.length)return r.unshift(t),r}return[]}class Re{constructor(e,t){this.value=e,this.children=t}toString(){return`TreeNode(${this.value})`}}function Ne(e){const t={};return e&&e.children.forEach(e=>t[e.value.outlet]=e),t}class He extends ze{constructor(e,t){super(e),this.snapshot=t,We(this,e)}toString(){return this.snapshot.toString()}}function Fe(e,t){const n=function(e,t){const n=new Ye([],{},{},"",{},Z,t,null,e.root,-1,{});return new Ue("",new Re(n,[]))}(e,t),r=new a.a([new ge("",{})]),i=new a.a({}),s=new a.a({}),o=new a.a({}),c=new a.a(""),l=new Ve(r,i,o,c,s,Z,t,n.root);return l.snapshot=n.root,new He(new Re(l,[]),n)}class Ve{constructor(e,t,n,r,i,s,o,a){this.url=e,this.params=t,this.queryParams=n,this.fragment=r,this.data=i,this.outlet=s,this.component=o,this._futureSnapshot=a}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe(Object(m.a)(e=>te(e)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(Object(m.a)(e=>te(e)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Be(e,t="emptyOnly"){const n=e.pathFromRoot;let r=0;if("always"!==t)for(r=n.length-1;r>=1;){const e=n[r],t=n[r-1];if(e.routeConfig&&""===e.routeConfig.path)r--;else{if(t.component)break;r--}}return function(e){return e.reduce((e,t)=>({params:Object.assign(Object.assign({},e.params),t.params),data:Object.assign(Object.assign({},e.data),t.data),resolve:Object.assign(Object.assign({},e.resolve),t._resolvedData)}),{params:{},data:{},resolve:{}})}(n.slice(r))}class Ye{constructor(e,t,n,r,i,s,o,a,c,l,u){this.url=e,this.params=t,this.queryParams=n,this.fragment=r,this.data=i,this.outlet=s,this.component=o,this.routeConfig=a,this._urlSegment=c,this._lastPathIndex=l,this._resolve=u}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=te(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=te(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(e=>e.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Ue extends ze{constructor(e,t){super(t),this.url=e,We(this,t)}toString(){return qe(this._root)}}function We(e,t){t.value._routerState=e,t.children.forEach(t=>We(e,t))}function qe(e){const t=e.children.length>0?` { ${e.children.map(qe).join(", ")} } `:"";return`${e.value}${t}`}function $e(e){if(e.snapshot){const t=e.snapshot,n=e._futureSnapshot;e.snapshot=n,ie(t.queryParams,n.queryParams)||e.queryParams.next(n.queryParams),t.fragment!==n.fragment&&e.fragment.next(n.fragment),ie(t.params,n.params)||e.params.next(n.params),function(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;++n)if(!ie(e[n],t[n]))return!1;return!0}(t.url,n.url)||e.url.next(n.url),ie(t.data,n.data)||e.data.next(n.data)}else e.snapshot=e._futureSnapshot,e.data.next(e._futureSnapshot.data)}function Ge(e,t){const n=ie(e.params,t.params)&&(r=e.url,i=t.url,ve(r,i)&&r.every((e,t)=>ie(e.parameters,i[t].parameters)));var r,i;const s=!e.parent!=!t.parent;return n&&!s&&(!e.parent||Ge(e.parent,t.parent))}function Xe(e,t,n){if(n&&e.shouldReuseRoute(t.value,n.value.snapshot)){const r=n.value;r._futureSnapshot=t.value;const i=function(e,t,n){return t.children.map(t=>{for(const r of n.children)if(e.shouldReuseRoute(t.value,r.value.snapshot))return Xe(e,t,r);return Xe(e,t)})}(e,t,n);return new Re(r,i)}{const n=e.retrieve(t.value);if(n){const e=n.route;return Ke(t,e),e}{const n=(r=t.value,new Ve(new a.a(r.url),new a.a(r.params),new a.a(r.queryParams),new a.a(r.fragment),new a.a(r.data),r.outlet,r.component,r)),i=t.children.map(t=>Xe(e,t));return new Re(n,i)}}var r}function Ke(e,t){if(e.value.routeConfig!==t.value.routeConfig)throw new Error("Cannot reattach ActivatedRouteSnapshot created from a different route");if(e.children.length!==t.children.length)throw new Error("Cannot reattach ActivatedRouteSnapshot with a different number of children");t.value._futureSnapshot=e.value;for(let n=0;n<e.children.length;++n)Ke(e.children[n],t.children[n])}function Je(e,t,n,r,i){if(0===n.length)return et(t.root,t.root,t,r,i);const s=function(e){if("string"==typeof e[0]&&1===e.length&&"/"===e[0])return new nt(!0,0,e);let t=0,n=!1;const r=e.reduce((e,r,i)=>{if("object"==typeof r&&null!=r){if(r.outlets){const t={};return ce(r.outlets,(e,n)=>{t[n]="string"==typeof e?e.split("/"):e}),[...e,{outlets:t}]}if(r.segmentPath)return[...e,r.segmentPath]}return"string"!=typeof r?[...e,r]:0===i?(r.split("/").forEach((r,i)=>{0==i&&"."===r||(0==i&&""===r?n=!0:".."===r?t++:""!=r&&e.push(r))}),e):[...e,r]},[]);return new nt(n,t,r)}(n);if(s.toRoot())return et(t.root,new me([],{}),t,r,i);const o=function(e,t,n){if(e.isAbsolute)return new rt(t.root,!0,0);if(-1===n.snapshot._lastPathIndex){const e=n.snapshot._urlSegment,r=e===t.root;return new rt(e,r,0)}const r=Qe(e.commands[0])?0:1,i=n.snapshot._lastPathIndex+r;return function(e,t,n){let r=e,i=t,s=n;for(;s>i;){if(s-=i,r=r.parent,!r)throw new Error("Invalid number of '../'");i=r.segments.length}return new rt(r,!1,i-s)}(n.snapshot._urlSegment,i,e.numberOfDoubleDots)}(s,t,e),a=o.processChildren?st(o.segmentGroup,o.index,s.commands):it(o.segmentGroup,o.index,s.commands);return et(o.segmentGroup,a,t,r,i)}function Qe(e){return"object"==typeof e&&null!=e&&!e.outlets&&!e.segmentPath}function Ze(e){return"object"==typeof e&&null!=e&&e.outlets}function et(e,t,n,r,i){let s={};return r&&ce(r,(e,t)=>{s[t]=Array.isArray(e)?e.map(e=>""+e):""+e}),n.root===e?new pe(t,s,i):new pe(tt(n.root,e,t),s,i)}function tt(e,t,n){const r={};return ce(e.children,(e,i)=>{r[i]=e===t?n:tt(e,t,n)}),new me(e.segments,r)}class nt{constructor(e,t,n){if(this.isAbsolute=e,this.numberOfDoubleDots=t,this.commands=n,e&&n.length>0&&Qe(n[0]))throw new Error("Root segment cannot have matrix parameters");const r=n.find(Ze);if(r&&r!==ae(n))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class rt{constructor(e,t,n){this.segmentGroup=e,this.processChildren=t,this.index=n}}function it(e,t,n){if(e||(e=new me([],{})),0===e.segments.length&&e.hasChildren())return st(e,t,n);const r=function(e,t,n){let r=0,i=t;const s={match:!1,pathIndex:0,commandIndex:0};for(;i<e.segments.length;){if(r>=n.length)return s;const t=e.segments[i],o=n[r];if(Ze(o))break;const a=""+o,c=r<n.length-1?n[r+1]:null;if(i>0&&void 0===a)break;if(a&&c&&"object"==typeof c&&void 0===c.outlets){if(!lt(a,c,t))return s;r+=2}else{if(!lt(a,{},t))return s;r++}i++}return{match:!0,pathIndex:i,commandIndex:r}}(e,t,n),i=n.slice(r.commandIndex);if(r.match&&r.pathIndex<e.segments.length){const t=new me(e.segments.slice(0,r.pathIndex),{});return t.children[Z]=new me(e.segments.slice(r.pathIndex),e.children),st(t,0,i)}return r.match&&0===i.length?new me(e.segments,{}):r.match&&!e.hasChildren()?ot(e,t,n):r.match?st(e,0,i):ot(e,t,n)}function st(e,t,n){if(0===n.length)return new me(e.segments,{});{const r=function(e){return Ze(e[0])?e[0].outlets:{[Z]:e}}(n),i={};return ce(r,(n,r)=>{"string"==typeof n&&(n=[n]),null!==n&&(i[r]=it(e.children[r],t,n))}),ce(e.children,(e,t)=>{void 0===r[t]&&(i[t]=e)}),new me(e.segments,i)}}function ot(e,t,n){const r=e.segments.slice(0,t);let i=0;for(;i<n.length;){const s=n[i];if(Ze(s)){const e=at(s.outlets);return new me(r,e)}if(0===i&&Qe(n[0])){const s=e.segments[t];r.push(new ge(s.path,n[0])),i++;continue}const o=Ze(s)?s.outlets[Z]:""+s,a=i<n.length-1?n[i+1]:null;o&&a&&Qe(a)?(r.push(new ge(o,ct(a))),i+=2):(r.push(new ge(o,{})),i++)}return new me(r,{})}function at(e){const t={};return ce(e,(e,n)=>{"string"==typeof e&&(e=[e]),null!==e&&(t[n]=ot(new me([],{}),0,e))}),t}function ct(e){const t={};return ce(e,(e,n)=>t[n]=""+e),t}function lt(e,t,n){return e==n.path&&ie(t,n.parameters)}class ut{constructor(e,t,n,r){this.routeReuseStrategy=e,this.futureState=t,this.currState=n,this.forwardEvent=r}activate(e){const t=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(t,n,e),$e(this.futureState.root),this.activateChildRoutes(t,n,e)}deactivateChildRoutes(e,t,n){const r=Ne(t);e.children.forEach(e=>{const t=e.value.outlet;this.deactivateRoutes(e,r[t],n),delete r[t]}),ce(r,(e,t)=>{this.deactivateRouteAndItsChildren(e,n)})}deactivateRoutes(e,t,n){const r=e.value,i=t?t.value:null;if(r===i)if(r.component){const i=n.getContext(r.outlet);i&&this.deactivateChildRoutes(e,t,i.children)}else this.deactivateChildRoutes(e,t,n);else i&&this.deactivateRouteAndItsChildren(t,n)}deactivateRouteAndItsChildren(e,t){this.routeReuseStrategy.shouldDetach(e.value.snapshot)?this.detachAndStoreRouteSubtree(e,t):this.deactivateRouteAndOutlet(e,t)}detachAndStoreRouteSubtree(e,t){const n=t.getContext(e.value.outlet);if(n&&n.outlet){const t=n.outlet.detach(),r=n.children.onOutletDeactivated();this.routeReuseStrategy.store(e.value.snapshot,{componentRef:t,route:e,contexts:r})}}deactivateRouteAndOutlet(e,t){const n=t.getContext(e.value.outlet),r=n&&e.value.component?n.children:t,i=Ne(e);for(const s of Object.keys(i))this.deactivateRouteAndItsChildren(i[s],r);n&&n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated())}activateChildRoutes(e,t,n){const r=Ne(t);e.children.forEach(e=>{this.activateRoutes(e,r[e.value.outlet],n),this.forwardEvent(new J(e.value.snapshot))}),e.children.length&&this.forwardEvent(new X(e.value.snapshot))}activateRoutes(e,t,n){const r=e.value,i=t?t.value:null;if($e(r),r===i)if(r.component){const i=n.getOrCreateContext(r.outlet);this.activateChildRoutes(e,t,i.children)}else this.activateChildRoutes(e,t,n);else if(r.component){const t=n.getOrCreateContext(r.outlet);if(this.routeReuseStrategy.shouldAttach(r.snapshot)){const e=this.routeReuseStrategy.retrieve(r.snapshot);this.routeReuseStrategy.store(r.snapshot,null),t.children.onOutletReAttached(e.contexts),t.attachRef=e.componentRef,t.route=e.route.value,t.outlet&&t.outlet.attach(e.componentRef,e.route.value),ht(e.route)}else{const n=function(e){for(let t=e.parent;t;t=t.parent){const e=t.routeConfig;if(e&&e._loadedConfig)return e._loadedConfig;if(e&&e.component)return null}return null}(r.snapshot),i=n?n.module.componentFactoryResolver:null;t.attachRef=null,t.route=r,t.resolver=i,t.outlet&&t.outlet.activateWith(r,i),this.activateChildRoutes(e,null,t.children)}}else this.activateChildRoutes(e,null,n)}}function ht(e){$e(e.value),e.children.forEach(ht)}class dt{constructor(e,t){this.routes=e,this.module=t}}function ft(e){return"function"==typeof e}function pt(e){return e instanceof pe}const mt=Symbol("INITIAL_VALUE");function gt(){return Object(g.a)(e=>Object(c.a)(e.map(e=>e.pipe(Object(v.a)(1),Object(y.a)(mt)))).pipe(Object(b.a)((e,t)=>{let n=!1;return t.reduce((e,r,i)=>{if(e!==mt)return e;if(r===mt&&(n=!0),!n){if(!1===r)return r;if(i===t.length-1||pt(r))return r}return e},e)},mt),Object(_.a)(e=>e!==mt),Object(m.a)(e=>pt(e)?e:!0===e),Object(v.a)(1)))}class vt{}function yt(e,t=""){for(let n=0;n<e.length;n++){const r=e[n];bt(r,_t(t,r))}}function bt(e,t){e.children&&yt(e.children,t)}function _t(e,t){return t?e||t.path?e&&!t.path?e+"/":!e&&t.path?t.path:`${e}/${t.path}`:"":e}function wt(e){const t=e.children&&e.children.map(wt),n=t?Object.assign(Object.assign({},e),{children:t}):Object.assign({},e);return!n.component&&(t||n.loadChildren)&&n.outlet&&n.outlet!==Z&&(n.component=vt),n}function St(e){return e.outlet||Z}function xt(e,t){const n=e.filter(e=>St(e)===t);return n.push(...e.filter(e=>St(e)!==t)),n}vt.\u0275fac=function(e){return new(e||vt)},vt.\u0275cmp=i.Hc({type:vt,selectors:[["ng-component"]],decls:1,vars:0,template:function(e,t){1&e&&i.Oc(0,"router-outlet")},directives:function(){return[vn]},encapsulation:2});const Ot={matched:!1,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};function kt(e,t,n){var r;if(""===t.path)return"full"===t.pathMatch&&(e.hasChildren()||n.length>0)?Object.assign({},Ot):{matched:!0,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};const i=(t.matcher||re)(n,e,t);if(!i)return Object.assign({},Ot);const s={};ce(i.posParams,(e,t)=>{s[t]=e.path});const o=i.consumed.length>0?Object.assign(Object.assign({},s),i.consumed[i.consumed.length-1].parameters):s;return{matched:!0,consumedSegments:i.consumed,lastChild:i.consumed.length,parameters:o,positionalParamSegments:null!==(r=i.posParams)&&void 0!==r?r:{}}}function Ct(e,t,n,r,i="corrected"){if(n.length>0&&function(e,t,n){return n.some(n=>Mt(e,t,n)&&St(n)!==Z)}(e,n,r)){const i=new me(t,function(e,t,n,r){const i={};i[Z]=r,r._sourceSegment=e,r._segmentIndexShift=t.length;for(const s of n)if(""===s.path&&St(s)!==Z){const n=new me([],{});n._sourceSegment=e,n._segmentIndexShift=t.length,i[St(s)]=n}return i}(e,t,r,new me(n,e.children)));return i._sourceSegment=e,i._segmentIndexShift=t.length,{segmentGroup:i,slicedSegments:[]}}if(0===n.length&&function(e,t,n){return n.some(n=>Mt(e,t,n))}(e,n,r)){const s=new me(e.segments,function(e,t,n,r,i,s){const o={};for(const a of r)if(Mt(e,n,a)&&!i[St(a)]){const n=new me([],{});n._sourceSegment=e,n._segmentIndexShift="legacy"===s?e.segments.length:t.length,o[St(a)]=n}return Object.assign(Object.assign({},i),o)}(e,t,n,r,e.children,i));return s._sourceSegment=e,s._segmentIndexShift=t.length,{segmentGroup:s,slicedSegments:n}}const s=new me(e.segments,e.children);return s._sourceSegment=e,s._segmentIndexShift=t.length,{segmentGroup:s,slicedSegments:n}}function Mt(e,t,n){return(!(e.hasChildren()||t.length>0)||"full"!==n.pathMatch)&&""===n.path}function Et(e,t,n,r){return!!(St(e)===r||r!==Z&&Mt(t,n,e))&&("**"===e.path||kt(t,e,n).matched)}function Tt(e,t,n){return 0===t.length&&!e.children[n]}class jt{constructor(e){this.segmentGroup=e||null}}class Dt{constructor(e){this.urlTree=e}}function At(e){return new l.a(t=>t.error(new jt(e)))}function Lt(e){return new l.a(t=>t.error(new Dt(e)))}function zt(e){return new l.a(t=>t.error(new Error(`Only absolute redirects can have named outlets. redirectTo: '${e}'`)))}class Pt{constructor(e,t,n,r,s){this.configLoader=t,this.urlSerializer=n,this.urlTree=r,this.config=s,this.allowRedirects=!0,this.ngModule=e.get(i.O)}apply(){const e=Ct(this.urlTree.root,[],[],this.config).segmentGroup,t=new me(e.segments,e.children);return this.expandSegmentGroup(this.ngModule,this.config,t,Z).pipe(Object(m.a)(e=>this.createUrlTree(It(e),this.urlTree.queryParams,this.urlTree.fragment))).pipe(Object(w.a)(e=>{if(e instanceof Dt)return this.allowRedirects=!1,this.match(e.urlTree);if(e instanceof jt)throw this.noMatchError(e);throw e}))}match(e){return this.expandSegmentGroup(this.ngModule,this.config,e.root,Z).pipe(Object(m.a)(t=>this.createUrlTree(It(t),e.queryParams,e.fragment))).pipe(Object(w.a)(e=>{if(e instanceof jt)throw this.noMatchError(e);throw e}))}noMatchError(e){return new Error(`Cannot match any routes. URL Segment: '${e.segmentGroup}'`)}createUrlTree(e,t,n){const r=e.segments.length>0?new me([],{[Z]:e}):e;return new pe(r,t,n)}expandSegmentGroup(e,t,n,r){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(e,t,n).pipe(Object(m.a)(e=>new me([],e))):this.expandSegment(e,n,t,n.segments,r,!0)}expandChildren(e,t,n){const r=[];for(const i of Object.keys(n.children))"primary"===i?r.unshift(i):r.push(i);return Object(s.a)(r).pipe(Object(S.a)(r=>{const i=n.children[r],s=xt(t,r);return this.expandSegmentGroup(e,s,i,r).pipe(Object(m.a)(e=>({segment:e,outlet:r})))}),Object(b.a)((e,t)=>(e[t.outlet]=t.segment,e),{}),function(e,t){const n=arguments.length>=2;return r=>r.pipe(e?Object(_.a)((t,n)=>e(t,n,r)):j.a,k(1),n?Object(T.a)(t):Object(E.a)(()=>new u.a))}())}expandSegment(e,t,n,r,i,a){return Object(s.a)(n).pipe(Object(S.a)(s=>this.expandSegmentAgainstRoute(e,t,n,s,r,i,a).pipe(Object(w.a)(e=>{if(e instanceof jt)return Object(o.a)(null);throw e}))),Object(D.a)(e=>!!e),Object(w.a)((e,n)=>{if(e instanceof u.a||"EmptyError"===e.name){if(Tt(t,r,i))return Object(o.a)(new me([],{}));throw new jt(t)}throw e}))}expandSegmentAgainstRoute(e,t,n,r,i,s,o){return Et(r,t,i,s)?void 0===r.redirectTo?this.matchSegmentAgainstRoute(e,t,r,i,s):o&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(e,t,n,r,i,s):At(t):At(t)}expandSegmentAgainstRouteUsingRedirect(e,t,n,r,i,s){return"**"===r.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(e,n,r,s):this.expandRegularSegmentAgainstRouteUsingRedirect(e,t,n,r,i,s)}expandWildCardWithParamsAgainstRouteUsingRedirect(e,t,n,r){const i=this.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?Lt(i):this.lineralizeSegments(n,i).pipe(Object(A.a)(n=>{const i=new me(n,{});return this.expandSegment(e,i,t,n,r,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(e,t,n,r,i,s){const{matched:o,consumedSegments:a,lastChild:c,positionalParamSegments:l}=kt(t,r,i);if(!o)return At(t);const u=this.applyRedirectCommands(a,r.redirectTo,l);return r.redirectTo.startsWith("/")?Lt(u):this.lineralizeSegments(r,u).pipe(Object(A.a)(r=>this.expandSegment(e,t,n,r.concat(i.slice(c)),s,!1)))}matchSegmentAgainstRoute(e,t,n,r,i){if("**"===n.path)return n.loadChildren?this.configLoader.load(e.injector,n).pipe(Object(m.a)(e=>(n._loadedConfig=e,new me(r,{})))):Object(o.a)(new me(r,{}));const{matched:s,consumedSegments:a,lastChild:c}=kt(t,n,r);if(!s)return At(t);const l=r.slice(c);return this.getChildConfig(e,n,r).pipe(Object(A.a)(e=>{const r=e.module,s=e.routes,{segmentGroup:c,slicedSegments:u}=Ct(t,a,l,s),h=new me(c.segments,c.children);if(0===u.length&&h.hasChildren()){return this.expandChildren(r,s,h).pipe(Object(m.a)(e=>new me(a,e)))}if(0===s.length&&0===u.length)return Object(o.a)(new me(a,{}));const d=St(n)===i;return this.expandSegment(r,h,s,u,d?Z:i,!0).pipe(Object(m.a)(e=>new me(a.concat(e.segments),e.children)))}))}getChildConfig(e,t,n){return t.children?Object(o.a)(new dt(t.children,e)):t.loadChildren?void 0!==t._loadedConfig?Object(o.a)(t._loadedConfig):this.runCanLoadGuards(e.injector,t,n).pipe(Object(A.a)(n=>n?this.configLoader.load(e.injector,t).pipe(Object(m.a)(e=>(t._loadedConfig=e,e))):function(e){return new l.a(t=>t.error(ne(`Cannot load children because the guard of the route "path: '${e.path}'" returned false`)))}(t))):Object(o.a)(new dt([],e))}runCanLoadGuards(e,t,n){const r=t.canLoad;if(!r||0===r.length)return Object(o.a)(!0);const i=r.map(r=>{const i=e.get(r);let s;if(function(e){return e&&ft(e.canLoad)}(i))s=i.canLoad(t,n);else{if(!ft(i))throw new Error("Invalid CanLoad guard");s=i(t,n)}return le(s)});return Object(o.a)(i).pipe(gt(),Object(L.a)(e=>{if(!pt(e))return;const t=ne(`Redirecting to "${this.urlSerializer.serialize(e)}"`);throw t.url=e,t}),Object(m.a)(e=>!0===e))}lineralizeSegments(e,t){let n=[],r=t.root;for(;;){if(n=n.concat(r.segments),0===r.numberOfChildren)return Object(o.a)(n);if(r.numberOfChildren>1||!r.children[Z])return zt(e.redirectTo);r=r.children[Z]}}applyRedirectCommands(e,t,n){return this.applyRedirectCreatreUrlTree(t,this.urlSerializer.parse(t),e,n)}applyRedirectCreatreUrlTree(e,t,n,r){const i=this.createSegmentGroup(e,t.root,n,r);return new pe(i,this.createQueryParams(t.queryParams,this.urlTree.queryParams),t.fragment)}createQueryParams(e,t){const n={};return ce(e,(e,r)=>{if("string"==typeof e&&e.startsWith(":")){const i=e.substring(1);n[r]=t[i]}else n[r]=e}),n}createSegmentGroup(e,t,n,r){const i=this.createSegments(e,t.segments,n,r);let s={};return ce(t.children,(t,i)=>{s[i]=this.createSegmentGroup(e,t,n,r)}),new me(i,s)}createSegments(e,t,n,r){return t.map(t=>t.path.startsWith(":")?this.findPosParam(e,t,r):this.findOrReturn(t,n))}findPosParam(e,t,n){const r=n[t.path.substring(1)];if(!r)throw new Error(`Cannot redirect to '${e}'. Cannot find '${t.path}'.`);return r}findOrReturn(e,t){let n=0;for(const r of t){if(r.path===e.path)return t.splice(n),r;n++}return e}}function It(e){const t={};for(const n of Object.keys(e.children)){const r=It(e.children[n]);(r.segments.length>0||r.hasChildren())&&(t[n]=r)}return function(e){if(1===e.numberOfChildren&&e.children[Z]){const t=e.children[Z];return new me(e.segments.concat(t.segments),t.children)}return e}(new me(e.segments,t))}function Rt(e,t,n,r){return Object(g.a)(i=>function(e,t,n,r,i){return new Pt(e,t,n,r,i).apply()}(e,t,n,i.extractedUrl,r).pipe(Object(m.a)(e=>Object.assign(Object.assign({},i),{urlAfterRedirects:e}))))}class Nt{constructor(e){this.path=e,this.route=this.path[this.path.length-1]}}class Ht{constructor(e,t){this.component=e,this.route=t}}function Ft(e,t,n){const r=e._root;return Bt(r,t?t._root:null,n,[r.value])}function Vt(e,t,n){const r=function(e){if(!e)return null;for(let t=e.parent;t;t=t.parent){const e=t.routeConfig;if(e&&e._loadedConfig)return e._loadedConfig}return null}(t);return(r?r.module.injector:n).get(e)}function Bt(e,t,n,r,i={canDeactivateChecks:[],canActivateChecks:[]}){const s=Ne(t);return e.children.forEach(e=>{!function(e,t,n,r,i={canDeactivateChecks:[],canActivateChecks:[]}){const s=e.value,o=t?t.value:null,a=n?n.getContext(e.value.outlet):null;if(o&&s.routeConfig===o.routeConfig){const c=function(e,t,n){if("function"==typeof n)return n(e,t);switch(n){case"pathParamsChange":return!ve(e.url,t.url);case"pathParamsOrQueryParamsChange":return!ve(e.url,t.url)||!ie(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Ge(e,t)||!ie(e.queryParams,t.queryParams);case"paramsChange":default:return!Ge(e,t)}}(o,s,s.routeConfig.runGuardsAndResolvers);c?i.canActivateChecks.push(new Nt(r)):(s.data=o.data,s._resolvedData=o._resolvedData),s.component?Bt(e,t,a?a.children:null,r,i):Bt(e,t,n,r,i),c&&a&&a.outlet&&a.outlet.isActivated&&i.canDeactivateChecks.push(new Ht(a.outlet.component,o))}else o&&Yt(t,a,i),i.canActivateChecks.push(new Nt(r)),s.component?Bt(e,null,a?a.children:null,r,i):Bt(e,null,n,r,i)}(e,s[e.value.outlet],n,r.concat([e.value]),i),delete s[e.value.outlet]}),ce(s,(e,t)=>Yt(e,n.getContext(t),i)),i}function Yt(e,t,n){const r=Ne(e),i=e.value;ce(r,(e,r)=>{i.component?Yt(e,t?t.children.getContext(r):null,n):Yt(e,t,n)}),i.component&&t&&t.outlet&&t.outlet.isActivated?n.canDeactivateChecks.push(new Ht(t.outlet.component,i)):n.canDeactivateChecks.push(new Ht(null,i))}function Ut(e,t){return Object(A.a)(n=>{const{targetSnapshot:r,currentSnapshot:i,guards:{canActivateChecks:a,canDeactivateChecks:c}}=n;return 0===c.length&&0===a.length?Object(o.a)(Object.assign(Object.assign({},n),{guardsResult:!0})):function(e,t,n,r){return Object(s.a)(e).pipe(Object(A.a)(e=>function(e,t,n,r,i){const s=t&&t.routeConfig?t.routeConfig.canDeactivate:null;if(!s||0===s.length)return Object(o.a)(!0);const a=s.map(s=>{const o=Vt(s,t,i);let a;if(function(e){return e&&ft(e.canDeactivate)}(o))a=le(o.canDeactivate(e,t,n,r));else{if(!ft(o))throw new Error("Invalid CanDeactivate guard");a=le(o(e,t,n,r))}return a.pipe(Object(D.a)())});return Object(o.a)(a).pipe(gt())}(e.component,e.route,n,t,r)),Object(D.a)(e=>!0!==e,!0))}(c,r,i,e).pipe(Object(A.a)(n=>n&&"boolean"==typeof n?function(e,t,n,r){return Object(s.a)(t).pipe(Object(S.a)(t=>Object(h.a)(function(e,t){null!==e&&t&&t(new G(e));return Object(o.a)(!0)}(t.route.parent,r),function(e,t){null!==e&&t&&t(new K(e));return Object(o.a)(!0)}(t.route,r),function(e,t,n){const r=t[t.length-1],i=t.slice(0,t.length-1).reverse().map(e=>function(e){const t=e.routeConfig?e.routeConfig.canActivateChild:null;return t&&0!==t.length?{node:e,guards:t}:null}(e)).filter(e=>null!==e).map(t=>Object(d.a)(()=>{const i=t.guards.map(i=>{const s=Vt(i,t.node,n);let o;if(function(e){return e&&ft(e.canActivateChild)}(s))o=le(s.canActivateChild(r,e));else{if(!ft(s))throw new Error("Invalid CanActivateChild guard");o=le(s(r,e))}return o.pipe(Object(D.a)())});return Object(o.a)(i).pipe(gt())}));return Object(o.a)(i).pipe(gt())}(e,t.path,n),function(e,t,n){const r=t.routeConfig?t.routeConfig.canActivate:null;if(!r||0===r.length)return Object(o.a)(!0);const i=r.map(r=>Object(d.a)(()=>{const i=Vt(r,t,n);let s;if(function(e){return e&&ft(e.canActivate)}(i))s=le(i.canActivate(t,e));else{if(!ft(i))throw new Error("Invalid CanActivate guard");s=le(i(t,e))}return s.pipe(Object(D.a)())}));return Object(o.a)(i).pipe(gt())}(e,t.route,n))),Object(D.a)(e=>!0!==e,!0))}(r,a,e,t):Object(o.a)(n)),Object(m.a)(e=>Object.assign(Object.assign({},n),{guardsResult:e})))})}class Wt{}function qt(e){return new l.a(t=>t.error(e))}class $t{constructor(e,t,n,r,i,s){this.rootComponentType=e,this.config=t,this.urlTree=n,this.url=r,this.paramsInheritanceStrategy=i,this.relativeLinkResolution=s}recognize(){const e=Ct(this.urlTree.root,[],[],this.config.filter(e=>void 0===e.redirectTo),this.relativeLinkResolution).segmentGroup,t=this.processSegmentGroup(this.config,e,Z);if(null===t)return null;const n=new Ye([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},Z,this.rootComponentType,null,this.urlTree.root,-1,{}),r=new Re(n,t),i=new Ue(this.url,r);return this.inheritParamsAndData(i._root),i}inheritParamsAndData(e){const t=e.value,n=Be(t,this.paramsInheritanceStrategy);t.params=Object.freeze(n.params),t.data=Object.freeze(n.data),e.children.forEach(e=>this.inheritParamsAndData(e))}processSegmentGroup(e,t,n){return 0===t.segments.length&&t.hasChildren()?this.processChildren(e,t):this.processSegment(e,t,t.segments,n)}processChildren(e,t){const n=[];for(const i of Object.keys(t.children)){const r=t.children[i],s=xt(e,i),o=this.processSegmentGroup(s,r,i);if(null===o)return null;n.push(...o)}const r=function(e){const t=[];for(const n of e){if(!Gt(n)){t.push(n);continue}const e=t.find(e=>n.value.routeConfig===e.value.routeConfig);void 0!==e?e.children.push(...n.children):t.push(n)}return t}(n);return r.sort((e,t)=>e.value.outlet===Z?-1:t.value.outlet===Z?1:e.value.outlet.localeCompare(t.value.outlet)),r}processSegment(e,t,n,r){for(const i of e){const e=this.processSegmentAgainstRoute(i,t,n,r);if(null!==e)return e}return Tt(t,n,r)?[]:null}processSegmentAgainstRoute(e,t,n,r){if(e.redirectTo||!Et(e,t,n,r))return null;let i,s=[],o=[];if("**"===e.path){const r=n.length>0?ae(n).parameters:{};i=new Ye(n,r,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,Jt(e),St(e),e.component,e,Xt(t),Kt(t)+n.length,Qt(e))}else{const r=kt(t,e,n);if(!r.matched)return null;s=r.consumedSegments,o=n.slice(r.lastChild),i=new Ye(s,r.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,Jt(e),St(e),e.component,e,Xt(t),Kt(t)+s.length,Qt(e))}const a=function(e){if(e.children)return e.children;if(e.loadChildren)return e._loadedConfig.routes;return[]}(e),{segmentGroup:c,slicedSegments:l}=Ct(t,s,o,a.filter(e=>void 0===e.redirectTo),this.relativeLinkResolution);if(0===l.length&&c.hasChildren()){const e=this.processChildren(a,c);return null===e?null:[new Re(i,e)]}if(0===a.length&&0===l.length)return[new Re(i,[])];const u=St(e)===r,h=this.processSegment(a,c,l,u?Z:r);return null===h?null:[new Re(i,h)]}}function Gt(e){const t=e.value.routeConfig;return t&&""===t.path&&void 0===t.redirectTo}function Xt(e){let t=e;for(;t._sourceSegment;)t=t._sourceSegment;return t}function Kt(e){let t=e,n=t._segmentIndexShift?t._segmentIndexShift:0;for(;t._sourceSegment;)t=t._sourceSegment,n+=t._segmentIndexShift?t._segmentIndexShift:0;return n-1}function Jt(e){return e.data||{}}function Qt(e){return e.resolve||{}}function Zt(e,t,n,r,i){return Object(A.a)(s=>function(e,t,n,r,i="emptyOnly",s="legacy"){try{const a=new $t(e,t,n,r,i,s).recognize();return null===a?qt(new Wt):Object(o.a)(a)}catch(a){return qt(a)}}(e,t,s.urlAfterRedirects,n(s.urlAfterRedirects),r,i).pipe(Object(m.a)(e=>Object.assign(Object.assign({},s),{targetSnapshot:e}))))}function en(e,t){return Object(A.a)(n=>{const{targetSnapshot:r,guards:{canActivateChecks:i}}=n;if(!i.length)return Object(o.a)(n);let a=0;return Object(s.a)(i).pipe(Object(S.a)(n=>function(e,t,n,r){return function(e,t,n,r){const i=Object.keys(e);if(0===i.length)return Object(o.a)({});const a={};return Object(s.a)(i).pipe(Object(A.a)(i=>function(e,t,n,r){const i=Vt(e,t,r);return i.resolve?le(i.resolve(t,n)):le(i(t,n))}(e[i],t,n,r).pipe(Object(L.a)(e=>{a[i]=e}))),k(1),Object(A.a)(()=>Object.keys(a).length===i.length?Object(o.a)(a):f.a))}(e._resolve,e,t,r).pipe(Object(m.a)(t=>(e._resolvedData=t,e.data=Object.assign(Object.assign({},e.data),Be(e,n).resolve),null)))}(n.route,r,e,t)),Object(L.a)(()=>a++),k(1),Object(A.a)(e=>a===i.length?Object(o.a)(n):f.a))})}function tn(e){return Object(g.a)(t=>{const n=e(t);return n?Object(s.a)(n).pipe(Object(m.a)(()=>t)):Object(o.a)(t)})}class nn extends class{shouldDetach(e){return!1}store(e,t){}shouldAttach(e){return!1}retrieve(e){return null}shouldReuseRoute(e,t){return e.routeConfig===t.routeConfig}}{}const rn=new i.E("ROUTES");class sn{constructor(e,t,n,r){this.loader=e,this.compiler=t,this.onLoadStartListener=n,this.onLoadEndListener=r}load(e,t){this.onLoadStartListener&&this.onLoadStartListener(t);return this.loadModuleFactory(t.loadChildren).pipe(Object(m.a)(n=>{this.onLoadEndListener&&this.onLoadEndListener(t);const r=n.create(e);return new dt(oe(r.injector.get(rn)).map(wt),r)}))}loadModuleFactory(e){return"string"==typeof e?Object(s.a)(this.loader.load(e)):le(e()).pipe(Object(A.a)(e=>e instanceof i.M?Object(o.a)(e):Object(s.a)(this.compiler.compileModuleAsync(e))))}}class on{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new an,this.attachRef=null}}class an{constructor(){this.contexts=new Map}onChildOutletCreated(e,t){const n=this.getOrCreateContext(e);n.outlet=t,this.contexts.set(e,n)}onChildOutletDestroyed(e){const t=this.getContext(e);t&&(t.outlet=null)}onOutletDeactivated(){const e=this.contexts;return this.contexts=new Map,e}onOutletReAttached(e){this.contexts=e}getOrCreateContext(e){let t=this.getContext(e);return t||(t=new on,this.contexts.set(e,t)),t}getContext(e){return this.contexts.get(e)||null}}class cn{shouldProcessUrl(e){return!0}extract(e){return e}merge(e,t){return e}}function ln(e){throw e}function un(e,t,n){return t.parse("/")}function hn(e,t){return Object(o.a)(null)}class dn{constructor(e,t,n,r,s,o,c,l){this.rootComponentType=e,this.urlSerializer=t,this.rootContexts=n,this.location=r,this.config=l,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.lastLocationChangeInfo=null,this.navigationId=0,this.isNgZoneEnabled=!1,this.events=new p.a,this.errorHandler=ln,this.malformedUriErrorHandler=un,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:hn,afterPreactivation:hn},this.urlHandlingStrategy=new cn,this.routeReuseStrategy=new nn,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected";this.ngModule=s.get(i.O),this.console=s.get(i.yb);const u=s.get(i.Q);this.isNgZoneEnabled=u instanceof i.Q&&i.Q.isInAngularZone(),this.resetConfig(l),this.currentUrlTree=new pe(new me([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new sn(o,c,e=>this.triggerEvent(new q(e)),e=>this.triggerEvent(new $(e))),this.routerState=Fe(this.currentUrlTree,this.rootComponentType),this.transitions=new a.a({id:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}setupNavigations(e){const t=this.events;return e.pipe(Object(_.a)(e=>0!==e.id),Object(m.a)(e=>Object.assign(Object.assign({},e),{extractedUrl:this.urlHandlingStrategy.extract(e.rawUrl)})),Object(g.a)(e=>{let n=!1,r=!1;return Object(o.a)(e).pipe(Object(L.a)(e=>{this.currentNavigation={id:e.id,initialUrl:e.currentRawUrl,extractedUrl:e.extractedUrl,trigger:e.source,extras:e.extras,previousNavigation:this.lastSuccessfulNavigation?Object.assign(Object.assign({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),Object(g.a)(e=>{const n=!this.navigated||e.extractedUrl.toString()!==this.browserUrlTree.toString();if(("reload"===this.onSameUrlNavigation||n)&&this.urlHandlingStrategy.shouldProcessUrl(e.rawUrl))return Object(o.a)(e).pipe(Object(g.a)(e=>{const n=this.transitions.getValue();return t.next(new R(e.id,this.serializeUrl(e.extractedUrl),e.source,e.restoredState)),n!==this.transitions.getValue()?f.a:Promise.resolve(e)}),Rt(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),Object(L.a)(e=>{this.currentNavigation=Object.assign(Object.assign({},this.currentNavigation),{finalUrl:e.urlAfterRedirects})}),Zt(this.rootComponentType,this.config,e=>this.serializeUrl(e),this.paramsInheritanceStrategy,this.relativeLinkResolution),Object(L.a)(e=>{"eager"===this.urlUpdateStrategy&&(e.extras.skipLocationChange||this.setBrowserUrl(e.urlAfterRedirects,!!e.extras.replaceUrl,e.id,e.extras.state),this.browserUrlTree=e.urlAfterRedirects);const n=new V(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);t.next(n)}));if(n&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:n,extractedUrl:r,source:i,restoredState:s,extras:a}=e,c=new R(n,this.serializeUrl(r),i,s);t.next(c);const l=Fe(r,this.rootComponentType).snapshot;return Object(o.a)(Object.assign(Object.assign({},e),{targetSnapshot:l,urlAfterRedirects:r,extras:Object.assign(Object.assign({},a),{skipLocationChange:!1,replaceUrl:!1})}))}return this.rawUrlTree=e.rawUrl,this.browserUrlTree=e.urlAfterRedirects,e.resolve(null),f.a}),tn(e=>{const{targetSnapshot:t,id:n,extractedUrl:r,rawUrl:i,extras:{skipLocationChange:s,replaceUrl:o}}=e;return this.hooks.beforePreactivation(t,{navigationId:n,appliedUrlTree:r,rawUrlTree:i,skipLocationChange:!!s,replaceUrl:!!o})}),Object(L.a)(e=>{const t=new B(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);this.triggerEvent(t)}),Object(m.a)(e=>Object.assign(Object.assign({},e),{guards:Ft(e.targetSnapshot,e.currentSnapshot,this.rootContexts)})),Ut(this.ngModule.injector,e=>this.triggerEvent(e)),Object(L.a)(e=>{if(pt(e.guardsResult)){const t=ne(`Redirecting to "${this.serializeUrl(e.guardsResult)}"`);throw t.url=e.guardsResult,t}const t=new Y(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot,!!e.guardsResult);this.triggerEvent(t)}),Object(_.a)(e=>{if(!e.guardsResult){this.resetUrlToCurrentUrlTree();const n=new H(e.id,this.serializeUrl(e.extractedUrl),"");return t.next(n),e.resolve(!1),!1}return!0}),tn(e=>{if(e.guards.canActivateChecks.length)return Object(o.a)(e).pipe(Object(L.a)(e=>{const t=new U(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);this.triggerEvent(t)}),Object(g.a)(e=>{let n=!1;return Object(o.a)(e).pipe(en(this.paramsInheritanceStrategy,this.ngModule.injector),Object(L.a)({next:()=>n=!0,complete:()=>{if(!n){const n=new H(e.id,this.serializeUrl(e.extractedUrl),"At least one route resolver didn't emit any value.");t.next(n),e.resolve(!1)}}}))}),Object(L.a)(e=>{const t=new W(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);this.triggerEvent(t)}))}),tn(e=>{const{targetSnapshot:t,id:n,extractedUrl:r,rawUrl:i,extras:{skipLocationChange:s,replaceUrl:o}}=e;return this.hooks.afterPreactivation(t,{navigationId:n,appliedUrlTree:r,rawUrlTree:i,skipLocationChange:!!s,replaceUrl:!!o})}),Object(m.a)(e=>{const t=function(e,t,n){const r=Xe(e,t._root,n?n._root:void 0);return new He(r,t)}(this.routeReuseStrategy,e.targetSnapshot,e.currentRouterState);return Object.assign(Object.assign({},e),{targetRouterState:t})}),Object(L.a)(e=>{this.currentUrlTree=e.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e.rawUrl),this.routerState=e.targetRouterState,"deferred"===this.urlUpdateStrategy&&(e.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,!!e.extras.replaceUrl,e.id,e.extras.state),this.browserUrlTree=e.urlAfterRedirects)}),(i=this.rootContexts,s=this.routeReuseStrategy,a=e=>this.triggerEvent(e),Object(m.a)(e=>(new ut(s,e.targetRouterState,e.currentRouterState,a).activate(i),e))),Object(L.a)({next(){n=!0},complete(){n=!0}}),Object(z.a)(()=>{if(!n&&!r){this.resetUrlToCurrentUrlTree();const n=new H(e.id,this.serializeUrl(e.extractedUrl),`Navigation ID ${e.id} is not equal to the current navigation id ${this.navigationId}`);t.next(n),e.resolve(!1)}this.currentNavigation=null}),Object(w.a)(n=>{if(r=!0,(i=n)&&i.ngNavigationCancelingError){const r=pt(n.url);r||(this.navigated=!0,this.resetStateAndUrl(e.currentRouterState,e.currentUrlTree,e.rawUrl));const i=new H(e.id,this.serializeUrl(e.extractedUrl),n.message);t.next(i),r?setTimeout(()=>{const t=this.urlHandlingStrategy.merge(n.url,this.rawUrlTree),r={skipLocationChange:e.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy};this.scheduleNavigation(t,"imperative",null,r,{resolve:e.resolve,reject:e.reject,promise:e.promise})},0):e.resolve(!1)}else{this.resetStateAndUrl(e.currentRouterState,e.currentUrlTree,e.rawUrl);const r=new F(e.id,this.serializeUrl(e.extractedUrl),n);t.next(r);try{e.resolve(this.errorHandler(n))}catch(s){e.reject(s)}}var i;return f.a}));var i,s,a}))}resetRootComponentType(e){this.rootComponentType=e,this.routerState.root.component=this.rootComponentType}getTransition(){const e=this.transitions.value;return e.urlAfterRedirects=this.browserUrlTree,e}setTransition(e){this.transitions.next(Object.assign(Object.assign({},this.getTransition()),e))}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(e=>{const t=this.extractLocationChangeInfoFromEvent(e);this.shouldScheduleNavigation(this.lastLocationChangeInfo,t)&&setTimeout(()=>{const{source:e,state:n,urlTree:r}=t,i={replaceUrl:!0};if(n){const e=Object.assign({},n);delete e.navigationId,0!==Object.keys(e).length&&(i.state=e)}this.scheduleNavigation(r,e,n,i)},0),this.lastLocationChangeInfo=t}))}extractLocationChangeInfoFromEvent(e){var t;return{source:"popstate"===e.type?"popstate":"hashchange",urlTree:this.parseUrl(e.url),state:(null===(t=e.state)||void 0===t?void 0:t.navigationId)?e.state:null,transitionId:this.getTransition().id}}shouldScheduleNavigation(e,t){if(!e)return!0;const n=t.urlTree.toString()===e.urlTree.toString();return!(t.transitionId===e.transitionId)||!n||!("hashchange"===t.source&&"popstate"===e.source||"popstate"===t.source&&"hashchange"===e.source)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(e){this.events.next(e)}resetConfig(e){yt(e),this.config=e.map(wt),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0)}createUrlTree(e,t={}){const{relativeTo:n,queryParams:r,fragment:i,queryParamsHandling:s,preserveFragment:o}=t,a=n||this.routerState.root,c=o?this.currentUrlTree.fragment:i;let l=null;switch(s){case"merge":l=Object.assign(Object.assign({},this.currentUrlTree.queryParams),r);break;case"preserve":l=this.currentUrlTree.queryParams;break;default:l=r||null}return null!==l&&(l=this.removeEmptyProps(l)),Je(a,this.currentUrlTree,e,l,c)}navigateByUrl(e,t={skipLocationChange:!1}){const n=pt(e)?e:this.parseUrl(e),r=this.urlHandlingStrategy.merge(n,this.rawUrlTree);return this.scheduleNavigation(r,"imperative",null,t)}navigate(e,t={skipLocationChange:!1}){return function(e){for(let t=0;t<e.length;t++){const n=e[t];if(null==n)throw new Error(`The requested path contains ${n} segment at index ${t}`)}}(e),this.navigateByUrl(this.createUrlTree(e,t),t)}serializeUrl(e){return this.urlSerializer.serialize(e)}parseUrl(e){let t;try{t=this.urlSerializer.parse(e)}catch(n){t=this.malformedUriErrorHandler(n,this.urlSerializer,e)}return t}isActive(e,t){if(pt(e))return ue(this.currentUrlTree,e,t);const n=this.parseUrl(e);return ue(this.currentUrlTree,n,t)}removeEmptyProps(e){return Object.keys(e).reduce((t,n)=>{const r=e[n];return null!=r&&(t[n]=r),t},{})}processNavigations(){this.navigations.subscribe(e=>{this.navigated=!0,this.lastSuccessfulId=e.id,this.events.next(new N(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,this.currentNavigation=null,e.resolve(!0)},e=>{this.console.warn("Unhandled Navigation Error: ")})}scheduleNavigation(e,t,n,r,i){const s=this.getTransition(),o="imperative"!==t&&"imperative"===(null==s?void 0:s.source),a=(this.lastSuccessfulId===s.id||this.currentNavigation?s.rawUrl:s.urlAfterRedirects).toString()===e.toString();if(o&&a)return Promise.resolve(!0);let c,l,u;i?(c=i.resolve,l=i.reject,u=i.promise):u=new Promise((e,t)=>{c=e,l=t});const h=++this.navigationId;return this.setTransition({id:h,source:t,restoredState:n,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:e,extras:r,resolve:c,reject:l,promise:u,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),u.catch(e=>Promise.reject(e))}setBrowserUrl(e,t,n,r){const i=this.urlSerializer.serialize(e);r=r||{},this.location.isCurrentPathEqualTo(i)||t?this.location.replaceState(i,"",Object.assign(Object.assign({},r),{navigationId:n})):this.location.go(i,"",Object.assign(Object.assign({},r),{navigationId:n}))}resetStateAndUrl(e,t,n){this.routerState=e,this.currentUrlTree=t,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n),this.resetUrlToCurrentUrlTree()}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",{navigationId:this.lastSuccessfulId})}}dn.\u0275fac=function(e){return new(e||dn)(i.Xc(i.kb),i.Xc(ye),i.Xc(an),i.Xc(r.k),i.Xc(i.F),i.Xc(i.N),i.Xc(i.l),i.Xc(void 0))},dn.\u0275prov=i.Jc({token:dn,factory:dn.\u0275fac}),dn.ctorParameters=()=>[{type:i.kb},{type:ye},{type:an},{type:r.k},{type:i.F},{type:i.N},{type:i.l},{type:void 0}];class fn{constructor(e,t,n,r,i){this.router=e,this.route=t,this.commands=[],this.onChanges=new p.a,null==n&&r.setAttribute(i.nativeElement,"tabindex","0")}ngOnChanges(e){this.onChanges.next(this)}set routerLink(e){this.commands=null!=e?Array.isArray(e)?e:[e]:[]}onClick(){const e={skipLocationChange:mn(this.skipLocationChange),replaceUrl:mn(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,e),!0}get urlTree(){return this.router.createUrlTree(this.commands,{relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:mn(this.preserveFragment)})}}fn.\u0275fac=function(e){return new(e||fn)(i.Nc(dn),i.Nc(Ve),i.Yc("tabindex"),i.Nc(i.Y),i.Nc(i.v))},fn.\u0275dir=i.Ic({type:fn,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(e,t){1&e&&i.ad("click",function(){return t.onClick()})},inputs:{routerLink:"routerLink",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state"},features:[i.xc]}),fn.ctorParameters=()=>[{type:dn},{type:Ve},{type:String,decorators:[{type:i.h,args:["tabindex"]}]},{type:i.Y},{type:i.v}],fn.propDecorators={queryParams:[{type:i.G}],fragment:[{type:i.G}],queryParamsHandling:[{type:i.G}],preserveFragment:[{type:i.G}],skipLocationChange:[{type:i.G}],replaceUrl:[{type:i.G}],state:[{type:i.G}],routerLink:[{type:i.G}],onClick:[{type:i.A,args:["click"]}]};class pn{constructor(e,t,n){this.router=e,this.route=t,this.locationStrategy=n,this.commands=[],this.onChanges=new p.a,this.subscription=e.events.subscribe(e=>{e instanceof N&&this.updateTargetUrlAndHref()})}set routerLink(e){this.commands=null!=e?Array.isArray(e)?e:[e]:[]}ngOnChanges(e){this.updateTargetUrlAndHref(),this.onChanges.next(this)}ngOnDestroy(){this.subscription.unsubscribe()}onClick(e,t,n,r,i){if(0!==e||t||n||r||i)return!0;if("string"==typeof this.target&&"_self"!=this.target)return!0;const s={skipLocationChange:mn(this.skipLocationChange),replaceUrl:mn(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,s),!1}updateTargetUrlAndHref(){this.href=this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree))}get urlTree(){return this.router.createUrlTree(this.commands,{relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:mn(this.preserveFragment)})}}function mn(e){return""===e||!!e}pn.\u0275fac=function(e){return new(e||pn)(i.Nc(dn),i.Nc(Ve),i.Nc(r.l))},pn.\u0275dir=i.Ic({type:pn,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(e,t){1&e&&i.ad("click",function(e){return t.onClick(e.button,e.ctrlKey,e.shiftKey,e.altKey,e.metaKey)}),2&e&&(i.Wc("href",t.href,i.Ad),i.Ac("target",t.target))},inputs:{routerLink:"routerLink",target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state"},features:[i.xc]}),pn.ctorParameters=()=>[{type:dn},{type:Ve},{type:r.l}],pn.propDecorators={target:[{type:i.z,args:["attr.target"]},{type:i.G}],queryParams:[{type:i.G}],fragment:[{type:i.G}],queryParamsHandling:[{type:i.G}],preserveFragment:[{type:i.G}],skipLocationChange:[{type:i.G}],replaceUrl:[{type:i.G}],state:[{type:i.G}],href:[{type:i.z}],routerLink:[{type:i.G}],onClick:[{type:i.A,args:["click",["$event.button","$event.ctrlKey","$event.shiftKey","$event.altKey","$event.metaKey"]]}]};class gn{constructor(e,t,n,r,i,s){this.router=e,this.element=t,this.renderer=n,this.cdr=r,this.link=i,this.linkWithHref=s,this.classes=[],this.isActive=!1,this.routerLinkActiveOptions={exact:!1},this.routerEventsSubscription=e.events.subscribe(e=>{e instanceof N&&this.update()})}ngAfterContentInit(){Object(o.a)(this.links.changes,this.linksWithHrefs.changes,Object(o.a)(null)).pipe(Object(P.a)()).subscribe(e=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){var e;null===(e=this.linkInputChangesSubscription)||void 0===e||e.unsubscribe();const t=[...this.links.toArray(),...this.linksWithHrefs.toArray(),this.link,this.linkWithHref].filter(e=>!!e).map(e=>e.onChanges);this.linkInputChangesSubscription=Object(s.a)(t).pipe(Object(P.a)()).subscribe(e=>{this.isActive!==this.isLinkActive(this.router)(e)&&this.update()})}set routerLinkActive(e){const t=Array.isArray(e)?e:e.split(" ");this.classes=t.filter(e=>!!e)}ngOnChanges(e){this.update()}ngOnDestroy(){var e;this.routerEventsSubscription.unsubscribe(),null===(e=this.linkInputChangesSubscription)||void 0===e||e.unsubscribe()}update(){this.links&&this.linksWithHrefs&&this.router.navigated&&Promise.resolve().then(()=>{const e=this.hasActiveLinks();this.isActive!==e&&(this.isActive=e,this.cdr.markForCheck(),this.classes.forEach(t=>{e?this.renderer.addClass(this.element.nativeElement,t):this.renderer.removeClass(this.element.nativeElement,t)}))})}isLinkActive(e){return t=>e.isActive(t.urlTree,this.routerLinkActiveOptions.exact)}hasActiveLinks(){const e=this.isLinkActive(this.router);return this.link&&e(this.link)||this.linkWithHref&&e(this.linkWithHref)||this.links.some(e)||this.linksWithHrefs.some(e)}}gn.\u0275fac=function(e){return new(e||gn)(i.Nc(dn),i.Nc(i.v),i.Nc(i.Y),i.Nc(i.k),i.Nc(fn,8),i.Nc(pn,8))},gn.\u0275dir=i.Ic({type:gn,selectors:[["","routerLinkActive",""]],contentQueries:function(e,t,n){if(1&e&&(i.Gc(n,fn,!0),i.Gc(n,pn,!0)),2&e){let e;i.td(e=i.bd())&&(t.links=e),i.td(e=i.bd())&&(t.linksWithHrefs=e)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",routerLinkActive:"routerLinkActive"},exportAs:["routerLinkActive"],features:[i.xc]}),gn.ctorParameters=()=>[{type:dn},{type:i.v},{type:i.Y},{type:i.k},{type:fn,decorators:[{type:i.R}]},{type:pn,decorators:[{type:i.R}]}],gn.propDecorators={links:[{type:i.s,args:[fn,{descendants:!0}]}],linksWithHrefs:[{type:i.s,args:[pn,{descendants:!0}]}],routerLinkActiveOptions:[{type:i.G}],routerLinkActive:[{type:i.G}]};class vn{constructor(e,t,n,r,s){this.parentContexts=e,this.location=t,this.resolver=n,this.changeDetector=s,this.activated=null,this._activatedRoute=null,this.activateEvents=new i.x,this.deactivateEvents=new i.x,this.name=r||Z,e.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const e=this.parentContexts.getContext(this.name);e&&e.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.resolver||null))}}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance}get activatedRoute(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new Error("Outlet is not activated");this.location.detach();const e=this.activated;return this.activated=null,this._activatedRoute=null,e}attach(e,t){this.activated=e,this._activatedRoute=t,this.location.insert(e.hostView)}deactivate(){if(this.activated){const e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}}activateWith(e,t){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=e;const n=e._futureSnapshot.routeConfig.component,r=(t=t||this.resolver).resolveComponentFactory(n),i=this.parentContexts.getOrCreateContext(this.name).children,s=new yn(e,i,this.location.injector);this.activated=this.location.createComponent(r,this.location.length,s),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}vn.\u0275fac=function(e){return new(e||vn)(i.Nc(an),i.Nc(i.ob),i.Nc(i.p),i.Yc("name"),i.Nc(i.k))},vn.\u0275dir=i.Ic({type:vn,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate"},exportAs:["outlet"]}),vn.ctorParameters=()=>[{type:an},{type:i.ob},{type:i.p},{type:String,decorators:[{type:i.h,args:["name"]}]},{type:i.k}],vn.propDecorators={activateEvents:[{type:i.S,args:["activate"]}],deactivateEvents:[{type:i.S,args:["deactivate"]}]};class yn{constructor(e,t,n){this.route=e,this.childContexts=t,this.parent=n}get(e,t){return e===Ve?this.route:e===an?this.childContexts:this.parent.get(e,t)}}class bn{}class _n{preload(e,t){return Object(o.a)(null)}}class wn{constructor(e,t,n,r,i){this.router=e,this.injector=r,this.preloadingStrategy=i;this.loader=new sn(t,n,t=>e.triggerEvent(new q(t)),t=>e.triggerEvent(new $(t)))}setUpPreloading(){this.subscription=this.router.events.pipe(Object(_.a)(e=>e instanceof N),Object(S.a)(()=>this.preload())).subscribe(()=>{})}preload(){const e=this.injector.get(i.O);return this.processRoutes(e,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(e,t){const n=[];for(const r of t)if(r.loadChildren&&!r.canLoad&&r._loadedConfig){const e=r._loadedConfig;n.push(this.processRoutes(e.module,e.routes))}else r.loadChildren&&!r.canLoad?n.push(this.preloadConfig(e,r)):r.children&&n.push(this.processRoutes(e,r.children));return Object(s.a)(n).pipe(Object(P.a)(),Object(m.a)(e=>{}))}preloadConfig(e,t){return this.preloadingStrategy.preload(t,()=>this.loader.load(e.injector,t).pipe(Object(A.a)(e=>(t._loadedConfig=e,this.processRoutes(e.module,e.routes)))))}}wn.\u0275fac=function(e){return new(e||wn)(i.Xc(dn),i.Xc(i.N),i.Xc(i.l),i.Xc(i.F),i.Xc(bn))},wn.\u0275prov=i.Jc({token:wn,factory:wn.\u0275fac}),wn.ctorParameters=()=>[{type:dn},{type:i.N},{type:i.l},{type:i.F},{type:bn}];class Sn{constructor(e,t,n={}){this.router=e,this.viewportScroller=t,this.options=n,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},n.scrollPositionRestoration=n.scrollPositionRestoration||"disabled",n.anchorScrolling=n.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.router.events.subscribe(e=>{e instanceof R?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof N&&(this.lastId=e.id,this.scheduleScrollEvent(e,this.router.parseUrl(e.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(e=>{e instanceof Q&&(e.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(e.position):e.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(e.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(e,t){this.router.triggerEvent(new Q(e,"popstate"===this.lastSource?this.store[this.restoredId]:null,t))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}Sn.\u0275fac=function(e){return new(e||Sn)(i.Xc(dn),i.Xc(r.z),i.Xc(void 0))},Sn.\u0275prov=i.Jc({token:Sn,factory:Sn.\u0275fac}),Sn.ctorParameters=()=>[{type:dn},{type:r.z},{type:void 0}];const xn=new i.E("ROUTER_CONFIGURATION"),On=new i.E("ROUTER_FORROOT_GUARD"),kn=[r.k,{provide:ye,useClass:be},{provide:dn,useFactory:function(e,t,n,i,s,o,a,c={},l,u){const h=new dn(null,e,t,n,i,s,o,oe(a));l&&(h.urlHandlingStrategy=l);u&&(h.routeReuseStrategy=u);if(An(c,h),c.enableTracing){const e=Object(r.J)();h.events.subscribe(t=>{e.logGroup("Router Event: "+t.constructor.name),e.log(t.toString()),e.log(t),e.logGroupEnd()})}return h},deps:[ye,an,r.k,i.F,i.N,i.l,rn,xn,[class{},new i.R],[class{},new i.R]]},an,{provide:Ve,useFactory:function(e){return e.routerState.root},deps:[dn]},{provide:i.N,useClass:i.fb},wn,_n,class{preload(e,t){return t().pipe(Object(w.a)(()=>Object(o.a)(null)))}},{provide:xn,useValue:{enableTracing:!1}}];function Cn(){return new i.P("Router",dn)}class Mn{constructor(e,t){}static forRoot(e,t){return{ngModule:Mn,providers:[kn,Dn(e),{provide:On,useFactory:jn,deps:[[dn,new i.R,new i.eb]]},{provide:xn,useValue:t||{}},{provide:r.l,useFactory:Tn,deps:[r.w,[new i.C(r.a),new i.R],xn]},{provide:Sn,useFactory:En,deps:[dn,r.z,xn]},{provide:bn,useExisting:t&&t.preloadingStrategy?t.preloadingStrategy:_n},{provide:i.P,multi:!0,useFactory:Cn},[Ln,{provide:i.d,multi:!0,useFactory:zn,deps:[Ln]},{provide:In,useFactory:Pn,deps:[Ln]},{provide:i.b,multi:!0,useExisting:In}]]}}static forChild(e){return{ngModule:Mn,providers:[Dn(e)]}}}function En(e,t,n){return n.scrollOffset&&t.setOffset(n.scrollOffset),new Sn(e,t,n)}function Tn(e,t,n={}){return n.useHash?new r.i(e,t):new r.v(e,t)}function jn(e){return"guarded"}function Dn(e){return[{provide:i.a,multi:!0,useValue:e},{provide:rn,multi:!0,useValue:e}]}function An(e,t){e.errorHandler&&(t.errorHandler=e.errorHandler),e.malformedUriErrorHandler&&(t.malformedUriErrorHandler=e.malformedUriErrorHandler),e.onSameUrlNavigation&&(t.onSameUrlNavigation=e.onSameUrlNavigation),e.paramsInheritanceStrategy&&(t.paramsInheritanceStrategy=e.paramsInheritanceStrategy),e.relativeLinkResolution&&(t.relativeLinkResolution=e.relativeLinkResolution),e.urlUpdateStrategy&&(t.urlUpdateStrategy=e.urlUpdateStrategy)}Mn.\u0275mod=i.Lc({type:Mn}),Mn.\u0275inj=i.Kc({factory:function(e){return new(e||Mn)(i.Xc(On,8),i.Xc(dn,8))}}),Mn.ctorParameters=()=>[{type:void 0,decorators:[{type:i.R},{type:i.C,args:[On]}]},{type:dn,decorators:[{type:i.R}]}],("undefined"==typeof ngJitMode||ngJitMode)&&i.Bd(Mn,{declarations:[vn,fn,pn,gn,vt],exports:[vn,fn,pn,gn,vt]});class Ln{constructor(e){this.injector=e,this.initNavigation=!1,this.resultOfPreactivationDone=new p.a}appInitializer(){return this.injector.get(r.j,Promise.resolve(null)).then(()=>{let e=null;const t=new Promise(t=>e=t),n=this.injector.get(dn),r=this.injector.get(xn);return"disabled"===r.initialNavigation?(n.setUpLocationChangeListener(),e(!0)):"enabled"===r.initialNavigation||"enabledBlocking"===r.initialNavigation?(n.hooks.afterPreactivation=()=>this.initNavigation?Object(o.a)(null):(this.initNavigation=!0,e(!0),this.resultOfPreactivationDone),n.initialNavigation()):e(!0),t})}bootstrapListener(e){const t=this.injector.get(xn),n=this.injector.get(wn),r=this.injector.get(Sn),s=this.injector.get(dn),o=this.injector.get(i.g);e===o.components[0]&&("enabledNonBlocking"!==t.initialNavigation&&void 0!==t.initialNavigation||s.initialNavigation(),n.setUpPreloading(),r.init(),s.resetRootComponentType(o.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}}function zn(e){return e.appInitializer.bind(e)}function Pn(e){return e.bootstrapListener.bind(e)}Ln.\u0275fac=function(e){return new(e||Ln)(i.Xc(i.F))},Ln.\u0275prov=i.Jc({token:Ln,factory:Ln.\u0275fac}),Ln.ctorParameters=()=>[{type:i.F}];const In=new i.E("Router Initializer");new i.lb("11.0.9")},u3GI:function(e,t,n){!function(e){"use strict";function t(e,t,n,r){var i={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?i[n][0]:i[n][1]}e.defineLocale("de-ch",{months:"Januar_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,w:t,ww:"%d Wochen",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},u47x:function(e,t,n){"use strict";n.d(t,"a",function(){return ne}),n.d(t,"b",function(){return J}),n.d(t,"c",function(){return C}),n.d(t,"d",function(){return X}),n.d(t,"e",function(){return D}),n.d(t,"f",function(){return te}),n.d(t,"g",function(){return q});var r=n("ofXK"),i=n("fXoL"),s=n("nLfN"),o=n("XNiG"),a=n("quSY"),c=n("LRne"),l=n("FtGj"),u=n("vkgz"),h=n("Kj3r"),d=n("pLZG"),f=n("lJxs"),p=n("IzEk"),m=n("8LU1"),g=n("GU7r");function v(e,t){return(e.getAttribute(t)||"").match(/\S+/g)||[]}const y="cdk-describedby-message-container",b="cdk-describedby-message",_="cdk-describedby-host";let w=0;const S=new Map;let x=null;class O{constructor(e,t){this._platform=t,this._document=e}describe(e,t){this._canBeDescribed(e,t)&&("string"!=typeof t?(this._setMessageId(t),S.set(t,{messageElement:t,referenceCount:0})):S.has(t)||this._createMessageElement(t),this._isElementDescribedByMessage(e,t)||this._addMessageReference(e,t))}removeDescription(e,t){if(t&&this._isElementNode(e)){if(this._isElementDescribedByMessage(e,t)&&this._removeMessageReference(e,t),"string"==typeof t){const e=S.get(t);e&&0===e.referenceCount&&this._deleteMessageElement(t)}x&&0===x.childNodes.length&&this._deleteMessagesContainer()}}ngOnDestroy(){const e=this._document.querySelectorAll("[cdk-describedby-host]");for(let t=0;t<e.length;t++)this._removeCdkDescribedByReferenceIds(e[t]),e[t].removeAttribute(_);x&&this._deleteMessagesContainer(),S.clear()}_createMessageElement(e){const t=this._document.createElement("div");this._setMessageId(t),t.textContent=e,this._createMessagesContainer(),x.appendChild(t),S.set(e,{messageElement:t,referenceCount:0})}_setMessageId(e){e.id||(e.id="cdk-describedby-message-"+w++)}_deleteMessageElement(e){const t=S.get(e),n=t&&t.messageElement;x&&n&&x.removeChild(n),S.delete(e)}_createMessagesContainer(){if(!x){const e=!this._platform||!this._platform.EDGE&&!this._platform.TRIDENT,t=this._document.getElementById(y);t&&t.parentNode&&t.parentNode.removeChild(t),x=this._document.createElement("div"),x.id=y,x.classList.add("cdk-visually-hidden"),x.setAttribute("aria-hidden",e+""),this._document.body.appendChild(x)}}_deleteMessagesContainer(){x&&x.parentNode&&(x.parentNode.removeChild(x),x=null)}_removeCdkDescribedByReferenceIds(e){const t=v(e,"aria-describedby").filter(e=>0!=e.indexOf(b));e.setAttribute("aria-describedby",t.join(" "))}_addMessageReference(e,t){const n=S.get(t);!function(e,t,n){const r=v(e,t);r.some(e=>e.trim()==n.trim())||(r.push(n.trim()),e.setAttribute(t,r.join(" ")))}(e,"aria-describedby",n.messageElement.id),e.setAttribute(_,""),n.referenceCount++}_removeMessageReference(e,t){const n=S.get(t);n.referenceCount--,function(e,t,n){const r=v(e,t).filter(e=>e!=n.trim());r.length?e.setAttribute(t,r.join(" ")):e.removeAttribute(t)}(e,"aria-describedby",n.messageElement.id),e.removeAttribute(_)}_isElementDescribedByMessage(e,t){const n=v(e,"aria-describedby"),r=S.get(t),i=r&&r.messageElement.id;return!!i&&-1!=n.indexOf(i)}_canBeDescribed(e,t){if(!this._isElementNode(e))return!1;if(t&&"object"==typeof t)return!0;const n=null==t?"":(""+t).trim(),r=e.getAttribute("aria-label");return!!n&&(!r||r.trim()!==n)}_isElementNode(e){return e.nodeType===this._document.ELEMENT_NODE}}O.\u0275fac=function(e){return new(e||O)(i.Xc(r.d),i.Xc(s.a))},O.\u0275prov=Object(i.Jc)({factory:function(){return new O(Object(i.Xc)(r.d),Object(i.Xc)(s.a))},token:O,providedIn:"root"}),O.ctorParameters=()=>[{type:void 0,decorators:[{type:i.C,args:[r.d]}]},{type:s.a}];class k{constructor(e){this._items=e,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new o.a,this._typeaheadSubscription=a.a.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._skipPredicateFn=e=>e.disabled,this._pressedLetters=[],this.tabOut=new o.a,this.change=new o.a,e instanceof i.X&&e.changes.subscribe(e=>{if(this._activeItem){const t=e.toArray().indexOf(this._activeItem);t>-1&&t!==this._activeItemIndex&&(this._activeItemIndex=t)}})}skipPredicate(e){return this._skipPredicateFn=e,this}withWrap(e=!0){return this._wrap=e,this}withVerticalOrientation(e=!0){return this._vertical=e,this}withHorizontalOrientation(e){return this._horizontal=e,this}withAllowedModifierKeys(e){return this._allowedModifierKeys=e,this}withTypeAhead(e=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe(Object(u.a)(e=>this._pressedLetters.push(e)),Object(h.a)(e),Object(d.a)(()=>this._pressedLetters.length>0),Object(f.a)(()=>this._pressedLetters.join(""))).subscribe(e=>{const t=this._getItemsArray();for(let n=1;n<t.length+1;n++){const r=(this._activeItemIndex+n)%t.length,i=t[r];if(!this._skipPredicateFn(i)&&0===i.getLabel().toUpperCase().trim().indexOf(e)){this.setActiveItem(r);break}}this._pressedLetters=[]}),this}withHomeAndEnd(e=!0){return this._homeAndEnd=e,this}setActiveItem(e){const t=this._activeItem;this.updateActiveItem(e),this._activeItem!==t&&this.change.next(this._activeItemIndex)}onKeydown(e){const t=e.keyCode,n=["altKey","ctrlKey","metaKey","shiftKey"].every(t=>!e[t]||this._allowedModifierKeys.indexOf(t)>-1);switch(t){case l.l:return void this.tabOut.next();case l.c:if(this._vertical&&n){this.setNextItemActive();break}return;case l.m:if(this._vertical&&n){this.setPreviousItemActive();break}return;case l.j:if(this._horizontal&&n){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case l.h:if(this._horizontal&&n){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case l.g:if(this._homeAndEnd&&n){this.setFirstItemActive();break}return;case l.d:if(this._homeAndEnd&&n){this.setLastItemActive();break}return;default:return void((n||Object(l.p)(e,"shiftKey"))&&(e.key&&1===e.key.length?this._letterKeyStream.next(e.key.toLocaleUpperCase()):(t>=l.a&&t<=l.n||t>=l.o&&t<=l.i)&&this._letterKeyStream.next(String.fromCharCode(t))))}this._pressedLetters=[],e.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._items.length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(e){const t=this._getItemsArray(),n="number"==typeof e?e:t.indexOf(e),r=t[n];this._activeItem=null==r?null:r,this._activeItemIndex=n}_setActiveItemByDelta(e){this._wrap?this._setActiveInWrapMode(e):this._setActiveInDefaultMode(e)}_setActiveInWrapMode(e){const t=this._getItemsArray();for(let n=1;n<=t.length;n++){const r=(this._activeItemIndex+e*n+t.length)%t.length,i=t[r];if(!this._skipPredicateFn(i))return void this.setActiveItem(r)}}_setActiveInDefaultMode(e){this._setActiveItemByIndex(this._activeItemIndex+e,e)}_setActiveItemByIndex(e,t){const n=this._getItemsArray();if(n[e]){for(;this._skipPredicateFn(n[e]);)if(!n[e+=t])return;this.setActiveItem(e)}}_getItemsArray(){return this._items instanceof i.X?this._items.toArray():this._items}}class C extends k{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(e){return this._origin=e,this}setActiveItem(e){super.setActiveItem(e),this.activeItem&&this.activeItem.focus(this._origin)}}class M{constructor(e){this._platform=e}isDisabled(e){return e.hasAttribute("disabled")}isVisible(e){return function(e){return!!(e.offsetWidth||e.offsetHeight||"function"==typeof e.getClientRects&&e.getClientRects().length)}(e)&&"visible"===getComputedStyle(e).visibility}isTabbable(e){if(!this._platform.isBrowser)return!1;const t=function(e){try{return e.frameElement}catch(t){return null}}((n=e).ownerDocument&&n.ownerDocument.defaultView||window);var n;if(t){if(-1===T(t))return!1;if(!this.isVisible(t))return!1}let r=e.nodeName.toLowerCase(),i=T(e);return e.hasAttribute("contenteditable")?-1!==i:"iframe"!==r&&"object"!==r&&(!(this._platform.WEBKIT&&this._platform.IOS&&!function(e){let t=e.nodeName.toLowerCase(),n="input"===t&&e.type;return"text"===n||"password"===n||"select"===t||"textarea"===t}(e))&&("audio"===r?!!e.hasAttribute("controls")&&-1!==i:"video"===r?-1!==i&&(null!==i||(this._platform.FIREFOX||e.hasAttribute("controls"))):e.tabIndex>=0))}isFocusable(e,t){return function(e){if(function(e){return function(e){return"input"==e.nodeName.toLowerCase()}(e)&&"hidden"==e.type}(e))return!1;return function(e){let t=e.nodeName.toLowerCase();return"input"===t||"select"===t||"button"===t||"textarea"===t}(e)||function(e){return function(e){return"a"==e.nodeName.toLowerCase()}(e)&&e.hasAttribute("href")}(e)||e.hasAttribute("contenteditable")||E(e)}(e)&&!this.isDisabled(e)&&((null==t?void 0:t.ignoreVisibility)||this.isVisible(e))}}function E(e){if(!e.hasAttribute("tabindex")||void 0===e.tabIndex)return!1;let t=e.getAttribute("tabindex");return"-32768"!=t&&!(!t||isNaN(parseInt(t,10)))}function T(e){if(!E(e))return null;const t=parseInt(e.getAttribute("tabindex")||"",10);return isNaN(t)?-1:t}M.\u0275fac=function(e){return new(e||M)(i.Xc(s.a))},M.\u0275prov=Object(i.Jc)({factory:function(){return new M(Object(i.Xc)(s.a))},token:M,providedIn:"root"}),M.ctorParameters=()=>[{type:s.a}];class j{constructor(e,t,n,r,i=!1){this._element=e,this._checker=t,this._ngZone=n,this._document=r,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,i||this.attachAnchors()}get enabled(){return this._enabled}set enabled(e){this._enabled=e,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(e,this._startAnchor),this._toggleAnchorTabIndex(e,this._endAnchor))}destroy(){const e=this._startAnchor,t=this._endAnchor;e&&(e.removeEventListener("focus",this.startAnchorListener),e.parentNode&&e.parentNode.removeChild(e)),t&&(t.removeEventListener("focus",this.endAnchorListener),t.parentNode&&t.parentNode.removeChild(t)),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return!!this._hasAttached||(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.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)}focusInitialElementWhenReady(){return new Promise(e=>{this._executeOnStable(()=>e(this.focusInitialElement()))})}focusFirstTabbableElementWhenReady(){return new Promise(e=>{this._executeOnStable(()=>e(this.focusFirstTabbableElement()))})}focusLastTabbableElementWhenReady(){return new Promise(e=>{this._executeOnStable(()=>e(this.focusLastTabbableElement()))})}_getRegionBoundary(e){let t=this._element.querySelectorAll(`[cdk-focus-region-${e}], [cdkFocusRegion${e}], [cdk-focus-${e}]`);for(let n=0;n<t.length;n++)t[n].hasAttribute("cdk-focus-"+e)?console.warn(`Found use of deprecated attribute 'cdk-focus-${e}', use 'cdkFocusRegion${e}' instead. The deprecated attribute will be removed in 8.0.0.`,t[n]):t[n].hasAttribute("cdk-focus-region-"+e)&&console.warn(`Found use of deprecated attribute 'cdk-focus-region-${e}', use 'cdkFocusRegion${e}' instead. The deprecated attribute will be removed in 8.0.0.`,t[n]);return"start"==e?t.length?t[0]:this._getFirstTabbableElement(this._element):t.length?t[t.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(){const e=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(e){if(e.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",e),!this._checker.isFocusable(e)){const t=this._getFirstTabbableElement(e);return null==t||t.focus(),!!t}return e.focus(),!0}return this.focusFirstTabbableElement()}focusFirstTabbableElement(){const e=this._getRegionBoundary("start");return e&&e.focus(),!!e}focusLastTabbableElement(){const e=this._getRegionBoundary("end");return e&&e.focus(),!!e}hasAttached(){return this._hasAttached}_getFirstTabbableElement(e){if(this._checker.isFocusable(e)&&this._checker.isTabbable(e))return e;let t=e.children||e.childNodes;for(let n=0;n<t.length;n++){let e=t[n].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(t[n]):null;if(e)return e}return null}_getLastTabbableElement(e){if(this._checker.isFocusable(e)&&this._checker.isTabbable(e))return e;let t=e.children||e.childNodes;for(let n=t.length-1;n>=0;n--){let e=t[n].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(t[n]):null;if(e)return e}return null}_createAnchor(){const e=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,e),e.classList.add("cdk-visually-hidden"),e.classList.add("cdk-focus-trap-anchor"),e.setAttribute("aria-hidden","true"),e}_toggleAnchorTabIndex(e,t){e?t.setAttribute("tabindex","0"):t.removeAttribute("tabindex")}toggleAnchors(e){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(e,this._startAnchor),this._toggleAnchorTabIndex(e,this._endAnchor))}_executeOnStable(e){this._ngZone.isStable?e():this._ngZone.onStable.pipe(Object(p.a)(1)).subscribe(e)}}class D{constructor(e,t,n){this._checker=e,this._ngZone=t,this._document=n}create(e,t=!1){return new j(e,this._checker,this._ngZone,this._document,t)}}D.\u0275fac=function(e){return new(e||D)(i.Xc(M),i.Xc(i.Q),i.Xc(r.d))},D.\u0275prov=Object(i.Jc)({factory:function(){return new D(Object(i.Xc)(M),Object(i.Xc)(i.Q),Object(i.Xc)(r.d))},token:D,providedIn:"root"}),D.ctorParameters=()=>[{type:M},{type:i.Q},{type:void 0,decorators:[{type:i.C,args:[r.d]}]}];class A{constructor(e,t,n){this._elementRef=e,this._focusTrapFactory=t,this._previouslyFocusedElement=null,this._document=n,this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0)}get enabled(){return this.focusTrap.enabled}set enabled(e){this.focusTrap.enabled=Object(m.c)(e)}get autoCapture(){return this._autoCapture}set autoCapture(e){this._autoCapture=Object(m.c)(e)}ngOnDestroy(){this.focusTrap.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)}ngAfterContentInit(){this.focusTrap.attachAnchors(),this.autoCapture&&this._captureFocus()}ngDoCheck(){this.focusTrap.hasAttached()||this.focusTrap.attachAnchors()}ngOnChanges(e){const t=e.autoCapture;t&&!t.firstChange&&this.autoCapture&&this.focusTrap.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=this._document.activeElement,this.focusTrap.focusInitialElementWhenReady()}}A.\u0275fac=function(e){return new(e||A)(i.Nc(i.v),i.Nc(D),i.Nc(r.d))},A.\u0275dir=i.Ic({type:A,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:["cdkTrapFocus","enabled"],autoCapture:["cdkTrapFocusAutoCapture","autoCapture"]},exportAs:["cdkTrapFocus"],features:[i.xc]}),A.ctorParameters=()=>[{type:i.v},{type:D},{type:void 0,decorators:[{type:i.C,args:[r.d]}]}],A.propDecorators={enabled:[{type:i.G,args:["cdkTrapFocus"]}],autoCapture:[{type:i.G,args:["cdkTrapFocusAutoCapture"]}]};class L extends j{constructor(e,t,n,r,i,s,o){super(e,t,n,r,o.defer),this._focusTrapManager=i,this._inertStrategy=s,this._focusTrapManager.register(this)}get enabled(){return this._enabled}set enabled(e){this._enabled=e,this._enabled?this._focusTrapManager.register(this):this._focusTrapManager.deregister(this)}destroy(){this._focusTrapManager.deregister(this),super.destroy()}_enable(){this._inertStrategy.preventFocus(this),this.toggleAnchors(!0)}_disable(){this._inertStrategy.allowFocus(this),this.toggleAnchors(!1)}}function z(e,t){if(!(e instanceof Node))return null;let n=e;for(;null!=n&&!(n instanceof Element);)n=n.parentNode;return n&&(P?n.closest(t):function(e,t){let n=e;for(;null!=n&&!(n instanceof Element&&I(n,t));)n=n.parentNode;return n||null}(n,t))}const P="undefined"!=typeof Element&&!!Element.prototype.closest;function I(e,t){return e.matches?e.matches(t):e.msMatchesSelector(t)}class R{constructor(){this._listener=null}preventFocus(e){this._listener&&e._document.removeEventListener("focus",this._listener,!0),this._listener=t=>this._trapFocus(e,t),e._ngZone.runOutsideAngular(()=>{e._document.addEventListener("focus",this._listener,!0)})}allowFocus(e){this._listener&&(e._document.removeEventListener("focus",this._listener,!0),this._listener=null)}_trapFocus(e,t){const n=t.target,r=e._element;r.contains(n)||null!==z(n,"div.cdk-overlay-pane")||setTimeout(()=>{e.enabled&&!r.contains(e._document.activeElement)&&e.focusFirstTabbableElement()})}}class N{constructor(){this.defer=!1}}const H=new i.E("FOCUS_TRAP_INERT_STRATEGY");class F{constructor(){this._focusTrapStack=[]}register(e){this._focusTrapStack=this._focusTrapStack.filter(t=>t!==e);let t=this._focusTrapStack;t.length&&t[t.length-1]._disable(),t.push(e),e._enable()}deregister(e){e._disable();const t=this._focusTrapStack,n=t.indexOf(e);-1!==n&&(t.splice(n,1),t.length&&t[t.length-1]._enable())}}F.\u0275fac=function(e){return new(e||F)},F.\u0275prov=Object(i.Jc)({factory:function(){return new F},token:F,providedIn:"root"});class V{constructor(e,t,n,r,i){this._checker=e,this._ngZone=t,this._focusTrapManager=n,this._document=r,this._inertStrategy=i||new R}create(e,t=new N){let n;return"boolean"==typeof t?(n=new N,n.defer=t):n=t,new L(e,this._checker,this._ngZone,this._document,this._focusTrapManager,this._inertStrategy,n)}}V.\u0275fac=function(e){return new(e||V)(i.Xc(M),i.Xc(i.Q),i.Xc(F),i.Xc(r.d),i.Xc(H,8))},V.\u0275prov=Object(i.Jc)({factory:function(){return new V(Object(i.Xc)(M),Object(i.Xc)(i.Q),Object(i.Xc)(F),Object(i.Xc)(r.d),Object(i.Xc)(H,8))},token:V,providedIn:"root"}),V.ctorParameters=()=>[{type:M},{type:i.Q},{type:F},{type:void 0,decorators:[{type:i.C,args:[r.d]}]},{type:void 0,decorators:[{type:i.R},{type:i.C,args:[H]}]}];const B=new i.E("liveAnnouncerElement",{providedIn:"root",factory:function(){return null}});const Y=new i.E("LIVE_ANNOUNCER_DEFAULT_OPTIONS");class U{constructor(e,t,n,r){this._ngZone=t,this._defaultOptions=r,this._document=n,this._liveElement=e||this._createLiveElement()}announce(e,...t){const n=this._defaultOptions;let r,i;return 1===t.length&&"number"==typeof t[0]?i=t[0]:[r,i]=t,this.clear(),clearTimeout(this._previousTimeout),r||(r=n&&n.politeness?n.politeness:"polite"),null==i&&n&&(i=n.duration),this._liveElement.setAttribute("aria-live",r),this._ngZone.runOutsideAngular(()=>new Promise(t=>{clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=e,t(),"number"==typeof i&&(this._previousTimeout=setTimeout(()=>this.clear(),i))},100)}))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement&&this._liveElement.parentNode&&(this._liveElement.parentNode.removeChild(this._liveElement),this._liveElement=null)}_createLiveElement(){const e="cdk-live-announcer-element",t=this._document.getElementsByClassName(e),n=this._document.createElement("div");for(let r=0;r<t.length;r++)t[r].parentNode.removeChild(t[r]);return n.classList.add(e),n.classList.add("cdk-visually-hidden"),n.setAttribute("aria-atomic","true"),n.setAttribute("aria-live","polite"),this._document.body.appendChild(n),n}}U.\u0275fac=function(e){return new(e||U)(i.Xc(B,8),i.Xc(i.Q),i.Xc(r.d),i.Xc(Y,8))},U.\u0275prov=Object(i.Jc)({factory:function(){return new U(Object(i.Xc)(B,8),Object(i.Xc)(i.Q),Object(i.Xc)(r.d),Object(i.Xc)(Y,8))},token:U,providedIn:"root"}),U.ctorParameters=()=>[{type:void 0,decorators:[{type:i.R},{type:i.C,args:[B]}]},{type:i.Q},{type:void 0,decorators:[{type:i.C,args:[r.d]}]},{type:void 0,decorators:[{type:i.R},{type:i.C,args:[Y]}]}];class W{constructor(e,t,n,r){this._elementRef=e,this._liveAnnouncer=t,this._contentObserver=n,this._ngZone=r,this._politeness="polite"}get politeness(){return this._politeness}set politeness(e){this._politeness="off"===e||"assertive"===e?e:"polite","off"===this._politeness?this._subscription&&(this._subscription.unsubscribe(),this._subscription=null):this._subscription||(this._subscription=this._ngZone.runOutsideAngular(()=>this._contentObserver.observe(this._elementRef).subscribe(()=>{const e=this._elementRef.nativeElement.textContent;e!==this._previousAnnouncedText&&(this._liveAnnouncer.announce(e,this._politeness),this._previousAnnouncedText=e)})))}ngOnDestroy(){this._subscription&&this._subscription.unsubscribe()}}function q(e){return 0===e.buttons}W.\u0275fac=function(e){return new(e||W)(i.Nc(i.v),i.Nc(U),i.Nc(g.b),i.Nc(i.Q))},W.\u0275dir=i.Ic({type:W,selectors:[["","cdkAriaLive",""]],inputs:{politeness:["cdkAriaLive","politeness"]},exportAs:["cdkAriaLive"]}),W.ctorParameters=()=>[{type:i.v},{type:U},{type:g.b},{type:i.Q}],W.propDecorators={politeness:[{type:i.G,args:["cdkAriaLive"]}]};const $=new i.E("cdk-focus-monitor-default-options"),G=Object(s.e)({passive:!0,capture:!0});class X{constructor(e,t,n,r){this._ngZone=e,this._platform=t,this._origin=null,this._windowFocused=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._documentKeydownListener=()=>{this._lastTouchTarget=null,this._setOriginForCurrentEventQueue("keyboard")},this._documentMousedownListener=e=>{if(!this._lastTouchTarget){const t=q(e)?"keyboard":"mouse";this._setOriginForCurrentEventQueue(t)}},this._documentTouchstartListener=e=>{null!=this._touchTimeoutId&&clearTimeout(this._touchTimeoutId),this._lastTouchTarget=K(e),this._touchTimeoutId=setTimeout(()=>this._lastTouchTarget=null,650)},this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=setTimeout(()=>this._windowFocused=!1)},this._rootNodeFocusAndBlurListener=e=>{const t=K(e),n="focus"===e.type?this._onFocus:this._onBlur;for(let r=t;r;r=r.parentElement)n.call(this,e,r)},this._document=n,this._detectionMode=(null==r?void 0:r.detectionMode)||0}monitor(e,t=!1){const n=Object(m.e)(e);if(!this._platform.isBrowser||1!==n.nodeType)return Object(c.a)(null);const r=Object(s.c)(n)||this._getDocument(),i=this._elementInfo.get(n);if(i)return t&&(i.checkChildren=!0),i.subject;const a={checkChildren:t,subject:new o.a,rootNode:r};return this._elementInfo.set(n,a),this._registerGlobalListeners(a),a.subject}stopMonitoring(e){const t=Object(m.e)(e),n=this._elementInfo.get(t);n&&(n.subject.complete(),this._setClasses(t),this._elementInfo.delete(t),this._removeGlobalListeners(n))}focusVia(e,t,n){const r=Object(m.e)(e);r===this._getDocument().activeElement&&this._elementInfo.has(r)?this._originChanged(r,t,this._elementInfo.get(r)):(this._setOriginForCurrentEventQueue(t),"function"==typeof r.focus&&r.focus(n))}ngOnDestroy(){this._elementInfo.forEach((e,t)=>this.stopMonitoring(t))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_toggleClass(e,t,n){n?e.classList.add(t):e.classList.remove(t)}_getFocusOrigin(e){return this._origin?this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:this._wasCausedByTouch(e)?"touch":"program"}_setClasses(e,t){this._toggleClass(e,"cdk-focused",!!t),this._toggleClass(e,"cdk-touch-focused","touch"===t),this._toggleClass(e,"cdk-keyboard-focused","keyboard"===t),this._toggleClass(e,"cdk-mouse-focused","mouse"===t),this._toggleClass(e,"cdk-program-focused","program"===t)}_setOriginForCurrentEventQueue(e){this._ngZone.runOutsideAngular(()=>{this._origin=e,0===this._detectionMode&&(this._originTimeoutId=setTimeout(()=>this._origin=null,1))})}_wasCausedByTouch(e){const t=K(e);return this._lastTouchTarget instanceof Node&&t instanceof Node&&(t===this._lastTouchTarget||t.contains(this._lastTouchTarget))}_onFocus(e,t){const n=this._elementInfo.get(t);n&&(n.checkChildren||t===K(e))&&this._originChanged(t,this._getFocusOrigin(e),n)}_onBlur(e,t){const n=this._elementInfo.get(t);!n||n.checkChildren&&e.relatedTarget instanceof Node&&t.contains(e.relatedTarget)||(this._setClasses(t),this._emitOrigin(n.subject,null))}_emitOrigin(e,t){this._ngZone.run(()=>e.next(t))}_registerGlobalListeners(e){if(!this._platform.isBrowser)return;const t=e.rootNode,n=this._rootNodeFocusListenerCount.get(t)||0;n||this._ngZone.runOutsideAngular(()=>{t.addEventListener("focus",this._rootNodeFocusAndBlurListener,G),t.addEventListener("blur",this._rootNodeFocusAndBlurListener,G)}),this._rootNodeFocusListenerCount.set(t,n+1),1==++this._monitoredElementCount&&this._ngZone.runOutsideAngular(()=>{const e=this._getDocument(),t=this._getWindow();e.addEventListener("keydown",this._documentKeydownListener,G),e.addEventListener("mousedown",this._documentMousedownListener,G),e.addEventListener("touchstart",this._documentTouchstartListener,G),t.addEventListener("focus",this._windowFocusListener)})}_removeGlobalListeners(e){const t=e.rootNode;if(this._rootNodeFocusListenerCount.has(t)){const e=this._rootNodeFocusListenerCount.get(t);e>1?this._rootNodeFocusListenerCount.set(t,e-1):(t.removeEventListener("focus",this._rootNodeFocusAndBlurListener,G),t.removeEventListener("blur",this._rootNodeFocusAndBlurListener,G),this._rootNodeFocusListenerCount.delete(t))}if(!--this._monitoredElementCount){const e=this._getDocument(),t=this._getWindow();e.removeEventListener("keydown",this._documentKeydownListener,G),e.removeEventListener("mousedown",this._documentMousedownListener,G),e.removeEventListener("touchstart",this._documentTouchstartListener,G),t.removeEventListener("focus",this._windowFocusListener),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._touchTimeoutId),clearTimeout(this._originTimeoutId)}}_originChanged(e,t,n){this._setClasses(e,t),this._emitOrigin(n.subject,t),this._lastFocusOrigin=t}}function K(e){return e.composedPath?e.composedPath()[0]:e.target}X.\u0275fac=function(e){return new(e||X)(i.Xc(i.Q),i.Xc(s.a),i.Xc(r.d,8),i.Xc($,8))},X.\u0275prov=Object(i.Jc)({factory:function(){return new X(Object(i.Xc)(i.Q),Object(i.Xc)(s.a),Object(i.Xc)(r.d,8),Object(i.Xc)($,8))},token:X,providedIn:"root"}),X.ctorParameters=()=>[{type:i.Q},{type:s.a},{type:void 0,decorators:[{type:i.R},{type:i.C,args:[r.d]}]},{type:void 0,decorators:[{type:i.R},{type:i.C,args:[$]}]}];class J{constructor(e,t){this._elementRef=e,this._focusMonitor=t,this.cdkFocusChange=new i.x}ngAfterViewInit(){const e=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(e,1===e.nodeType&&e.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(e=>this.cdkFocusChange.emit(e))}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}}J.\u0275fac=function(e){return new(e||J)(i.Nc(i.v),i.Nc(X))},J.\u0275dir=i.Ic({type:J,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"}}),J.ctorParameters=()=>[{type:i.v},{type:X}],J.propDecorators={cdkFocusChange:[{type:i.S}]};const Q="cdk-high-contrast-black-on-white",Z="cdk-high-contrast-white-on-black",ee="cdk-high-contrast-active";class te{constructor(e,t){this._platform=e,this._document=t}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const e=this._document.createElement("div");e.style.backgroundColor="rgb(1,2,3)",e.style.position="absolute",this._document.body.appendChild(e);const t=this._document.defaultView||window,n=t&&t.getComputedStyle?t.getComputedStyle(e):null,r=(n&&n.backgroundColor||"").replace(/ /g,"");switch(this._document.body.removeChild(e),r){case"rgb(0,0,0)":return 2;case"rgb(255,255,255)":return 1}return 0}_applyBodyHighContrastModeCssClasses(){if(this._platform.isBrowser&&this._document.body){const e=this._document.body.classList;e.remove(ee),e.remove(Q),e.remove(Z);const t=this.getHighContrastMode();1===t?(e.add(ee),e.add(Q)):2===t&&(e.add(ee),e.add(Z))}}}te.\u0275fac=function(e){return new(e||te)(i.Xc(s.a),i.Xc(r.d))},te.\u0275prov=Object(i.Jc)({factory:function(){return new te(Object(i.Xc)(s.a),Object(i.Xc)(r.d))},token:te,providedIn:"root"}),te.ctorParameters=()=>[{type:s.a},{type:void 0,decorators:[{type:i.C,args:[r.d]}]}];class ne{constructor(e){e._applyBodyHighContrastModeCssClasses()}}ne.\u0275mod=i.Lc({type:ne}),ne.\u0275inj=i.Kc({factory:function(e){return new(e||ne)(i.Xc(te))},imports:[[s.b,g.c]]}),ne.ctorParameters=()=>[{type:te}],("undefined"==typeof ngJitMode||ngJitMode)&&i.Bd(ne,{declarations:function(){return[W,A,J]},imports:function(){return[s.b,g.c]},exports:function(){return[W,A,J]}})},uEye:function(e,t,n){!function(e){"use strict";e.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(e,t,n){!function(e){"use strict";var t={ss:"sekundes_sekund\u0113m_sekunde_sekundes".split("_"),m:"min\u016btes_min\u016bt\u0113m_min\u016bte_min\u016btes".split("_"),mm:"min\u016btes_min\u016bt\u0113m_min\u016bte_min\u016btes".split("_"),h:"stundas_stund\u0101m_stunda_stundas".split("_"),hh:"stundas_stund\u0101m_stunda_stundas".split("_"),d:"dienas_dien\u0101m_diena_dienas".split("_"),dd:"dienas_dien\u0101m_diena_dienas".split("_"),M:"m\u0113ne\u0161a_m\u0113ne\u0161iem_m\u0113nesis_m\u0113ne\u0161i".split("_"),MM:"m\u0113ne\u0161a_m\u0113ne\u0161iem_m\u0113nesis_m\u0113ne\u0161i".split("_"),y:"gada_gadiem_gads_gadi".split("_"),yy:"gada_gadiem_gads_gadi".split("_")};function n(e,t,n){return n?t%10==1&&t%100!=11?e[2]:e[3]:t%10==1&&t%100!=11?e[0]:e[1]}function r(e,r,i){return e+" "+n(t[i],e,r)}function i(e,r,i){return n(t[i],e,r)}function s(e,t){return t?"da\u017eas sekundes":"da\u017e\u0101m sekund\u0113m"}e.defineLocale("lv",{months:"janv\u0101ris_febru\u0101ris_marts_apr\u012blis_maijs_j\u016bnijs_j\u016blijs_augusts_septembris_oktobris_novembris_decembris".split("_"),monthsShort:"jan_feb_mar_apr_mai_j\u016bn_j\u016bl_aug_sep_okt_nov_dec".split("_"),weekdays:"sv\u0113tdiena_pirmdiena_otrdiena_tre\u0161diena_ceturtdiena_piektdiena_sestdiena".split("_"),weekdaysShort:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysMin:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY.",LL:"YYYY. [gada] D. MMMM",LLL:"YYYY. [gada] D. MMMM, HH:mm",LLLL:"YYYY. [gada] D. MMMM, dddd, HH:mm"},calendar:{sameDay:"[\u0160odien pulksten] LT",nextDay:"[R\u012bt pulksten] LT",nextWeek:"dddd [pulksten] LT",lastDay:"[Vakar pulksten] LT",lastWeek:"[Pag\u0101ju\u0161\u0101] dddd [pulksten] LT",sameElse:"L"},relativeTime:{future:"p\u0113c %s",past:"pirms %s",s:s,ss:r,m:i,mm:r,h:i,hh:r,d:i,dd:r,M:i,MM:r,y:i,yy:r},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},uyU4:function(e,t,n){"use strict";n.d(t,"b",function(){return a}),n.d(t,"a",function(){return c});var r=n("xwJx"),i=n("mjQ1"),s=n("5puH"),o=n("tEnP");const a={from:e=>[e],to:e=>(null==e?void 0:e.length)?e[0].id:void 0},c={class:"3dbb29f4-68fb-4357-8aac-dec5c9d81e7f",root:s.e.root,collection:r.w.entities.collection,properties:{changeNumber:"238074bb-977f-47b0-b8b4-a6de3817fda4",cipher:s.e.properties.cipher,created:r.w.entities.attributes.created,creationDate:"784f7c45-6955-4831-a362-9638dc03aa4d",modified:r.w.entities.attributes.modified,file:o.a,revision:"a834417e-15d1-4645-9b86-afdf09b638d5",documentSection:"aa52223d-e879-4960-8441-8afd64430d59",invoiceNumber:"057c5564-0c5e-4bf9-b3c6-d170aa4803c7",invoiceTransferDate:"4408aeab-48af-4ee4-ac14-43695b008dec",name:r.w.entities.attributes.name,plannedDevelopmentEnd:"ddcd6245-86f3-41a8-b97e-061725ff079f",plannedDevelopmentStart:"0673b93d-cea7-4d77-b466-0a9751ebbdc8",status:{id:"550b4307-b2dd-4cb8-a165-41b1118d2a9e",map:a},approvalStatus:{id:"ffc4d8d7-ad06-43a1-8aa8-b85e201a61fa",map:i.b.option},versions:{id:"33a9cdc1-327e-41df-9fac-1ca173f38a3b",map:i.b.options},notes:"ae8a223b-6c71-4d85-9077-1107528ee9f2",pIid:"03d51cb1-d241-437f-a27b-ccc279126239",filesSize:"16a218ae-18d0-4371-a158-44b6beb2e9f2",filesSizeStr:"41ef844a-d741-41bf-852a-096f7ddbee45",filesCount:"e044e73c-3cb4-4c53-aaab-95b696e752f0",deletionDate:"0326d25f-61c5-483f-af60-9605021d3add",removedBy:{id:"d5e67b6c-ee2d-48cc-843a-0e76c68b8aee",map:i.b.option}}}},v7iw:function(e,t,n){"use strict";n.d(t,"a",function(){return a});var r=n("xwJx"),i=n("mjQ1"),s=n("5puH"),o=n("tEnP");const a={class:"3d3fefb6-90ad-42c1-bc14-ca6339d537bb",root:s.e.root,collection:"0e9ca845-9e42-4cf8-9c65-599d74abe7f3",properties:{created:r.w.entities.attributes.created,name:r.w.entities.attributes.name,startDate:"f75dcf2c-e8f5-4daa-b411-3209abb9c8be",endDate:"0e694c59-3f99-4565-baa5-ff6e28f714c0",comment:"f5cdb54d-5ff3-4d46-b717-7b0769a9dc09",status:{id:"ffc4d8d7-ad06-43a1-8aa8-b85e201a61fa",map:i.b.option},user:{id:o.c,map:i.b.option},documentVersion:{id:"aca3c22c-0906-41fe-8504-1ffae0d637d9",map:i.b.option},taskLink:{id:"b9a95aee-4401-4ec7-b268-d9ede0780350",map:i.b.option},functionalRoles:{id:"28b54834-236b-48aa-92e5-fee166a70e99",map:i.b.option},companies:{id:"9296bcb2-2574-4adf-a6cf-c8807bc70b9c",map:i.b.option}}}},vE6r:function(e,t,n){"use strict";n.d(t,"a",function(){return o}),n.d(t,"b",function(){return a});var r=n("xwJx"),i=n("mjQ1"),s=n("5puH");const o="702965d8-7e5f-4370-b72e-9fe2b1ecbbb6",a={class:"ff0b78e7-0787-4363-be20-168a4763fc29",root:s.e.root,collection:r.w.entities.collection,properties:{created:r.w.entities.attributes.created,name:r.w.entities.attributes.name,modified:r.w.entities.attributes.modified,nameStage:"ddef86c5-6835-43d4-b87d-5d1e693917fb",minNumberAgreement:"d537deba-d673-4a1d-8080-b1bb5b162a82",stageTime:"2b4a9936-0400-441b-8af2-6f9b0e1914d2",stagesNumber:"8bcd1bd2-1dc2-4805-9dd3-b861a319ce0d",agreementNumber:{id:"01fdb151-8909-4a17-aa5e-fe1b83197d6f",map:i.b.option},typeCheckAgreement:{id:"8b9cdaa1-fc50-4a1d-b919-9bedf2863754",map:i.b.option},typeDay:{id:"39c25941-904c-4f68-8caf-90a2f7c79b24",map:i.b.option},functionalRoles:{id:"28b54834-236b-48aa-92e5-fee166a70e99",map:i.b.options},companies:{id:"9296bcb2-2574-4adf-a6cf-c8807bc70b9c",map:i.b.options},startDateAgreement:"f75dcf2c-e8f5-4daa-b411-3209abb9c8be",finishDateAgreement:"0e694c59-3f99-4565-baa5-ff6e28f714c0",solutionCount:"48715509-6e9f-4de0-b9dd-4030c377711c",documentCount:"281eb071-5722-407f-ac0e-03f1f675bcb6",statusAgreement:{id:"ffc4d8d7-ad06-43a1-8aa8-b85e201a61fa",map:i.b.option},stageTemplate:{id:"65a1418b-4fc7-40e2-889b-268d1d576d86",map:i.b.option},taskLink:{id:"b9a95aee-4401-4ec7-b268-d9ede0780350",map:i.b.option}}}},vR8P:function(e,t,n){"use strict";n.d(t,"d",function(){return r}),n.d(t,"a",function(){return s}),n.d(t,"c",function(){return o}),n.d(t,"b",function(){return a});const r=/\u2116 \d+:/,i=/[${}]/,s=e=>{let t=e.match(r);return t?e.slice(0,t.index+t[0].length):""},o=e=>{let t=(e=>{let t=e.match(r);return(t?e.slice(t.index+t[0].length,e.length):e)||e})(e).split(i).filter(e=>e);return{text:t.shift(),markers:t}},a=e=>{let t=e.match(/\u2116.\d{1,}/);return t&&t[0]?t[0].replace(/\u2116 /,""):""}},vRX4:function(e,t,n){"use strict";function r(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.match(e.matchPattern);if(!r)return null;var i=r[0],s=t.match(e.parsePattern);if(!s)return null;var o=e.valueCallback?e.valueCallback(s[0]):s[0];o=n.valueCallback?n.valueCallback(o):o;var a=t.slice(i.length);return{value:o,rest:a}}}n.d(t,"a",function(){return r})},vkgz:function(e,t,n){"use strict";n.d(t,"a",function(){return o});var r=n("7o/Q");function i(){}var s=n("n6bG");function o(e,t,n){return function(r){return r.lift(new a(e,t,n))}}class a{constructor(e,t,n){this.nextOrObserver=e,this.error=t,this.complete=n}call(e,t){return t.subscribe(new c(e,this.nextOrObserver,this.error,this.complete))}}class c extends r.a{constructor(e,t,n,r){super(e),this._tapNext=i,this._tapError=i,this._tapComplete=i,this._tapError=n||i,this._tapComplete=r||i,Object(s.a)(t)?(this._context=this,this._tapNext=t):t&&(this._context=t,this._tapNext=t.next||i,this._tapError=t.error||i,this._tapComplete=t.complete||i)}_next(e){try{this._tapNext.call(this._context,e)}catch(t){return void this.destination.error(t)}this.destination.next(e)}_error(e){try{this._tapError.call(this._context,e)}catch(e){return void this.destination.error(e)}this.destination.error(e)}_complete(){try{this._tapComplete.call(this._context)}catch(e){return void this.destination.error(e)}return this.destination.complete()}}},vq9N:function(e,t,n){"use strict";n.d(t,"a",function(){return i});var r={};function i(){return r}},vxfF:function(e,t,n){"use strict";n.d(t,"a",function(){return T}),n.d(t,"b",function(){return R}),n.d(t,"c",function(){return I}),n.d(t,"d",function(){return z}),n.d(t,"e",function(){return j}),n.d(t,"f",function(){return N}),n.d(t,"g",function(){return A});var r=n("8LU1"),i=n("fXoL"),s=n("XNiG"),o=n("LRne"),a=n("HDdC"),c=n("xgIS"),l=n("eNwd"),u=n("7Hc7"),h=n("quSY"),d=n("7+OI"),f=n("/uUt"),p=n("3UWI"),m=n("pLZG"),g=n("1G5W"),v=n("JX91"),y=n("Zy1z"),b=n("eIep"),_=n("UXun"),w=n("nLfN"),S=n("ofXK"),x=n("cH1L"),O=n("0EQZ");const k=["contentWrapper"],C=new i.E("VIRTUAL_SCROLL_STRATEGY");class M{constructor(e,t,n){this._scrolledIndexChange=new s.a,this.scrolledIndexChange=this._scrolledIndexChange.pipe(Object(f.a)()),this._viewport=null,this._itemSize=e,this._minBufferPx=t,this._maxBufferPx=n}attach(e){this._viewport=e,this._updateTotalContentSize(),this._updateRenderedRange()}detach(){this._scrolledIndexChange.complete(),this._viewport=null}updateItemAndBufferSize(e,t,n){this._itemSize=e,this._minBufferPx=t,this._maxBufferPx=n,this._updateTotalContentSize(),this._updateRenderedRange()}onContentScrolled(){this._updateRenderedRange()}onDataLengthChanged(){this._updateTotalContentSize(),this._updateRenderedRange()}onContentRendered(){}onRenderedOffsetChanged(){}scrollToIndex(e,t){this._viewport&&this._viewport.scrollToOffset(e*this._itemSize,t)}_updateTotalContentSize(){this._viewport&&this._viewport.setTotalContentSize(this._viewport.getDataLength()*this._itemSize)}_updateRenderedRange(){if(!this._viewport)return;const e=this._viewport.getRenderedRange(),t={start:e.start,end:e.end},n=this._viewport.getViewportSize(),r=this._viewport.getDataLength();let i=this._viewport.measureScrollOffset(),s=i/this._itemSize;if(t.end>r){const e=Math.ceil(n/this._itemSize),o=Math.max(0,Math.min(s,r-e));s!=o&&(s=o,i=o*this._itemSize,t.start=Math.floor(s)),t.end=Math.max(0,Math.min(r,t.start+e))}const o=i-t.start*this._itemSize;if(o<this._minBufferPx&&0!=t.start){const e=Math.ceil((this._maxBufferPx-o)/this._itemSize);t.start=Math.max(0,t.start-e),t.end=Math.min(r,Math.ceil(s+(n+this._minBufferPx)/this._itemSize))}else{const e=t.end*this._itemSize-(i+n);if(e<this._minBufferPx&&t.end!=r){const n=Math.ceil((this._maxBufferPx-e)/this._itemSize);n>0&&(t.end=Math.min(r,t.end+n),t.start=Math.max(0,Math.floor(s-this._minBufferPx/this._itemSize)))}}this._viewport.setRenderedRange(t),this._viewport.setRenderedContentOffset(this._itemSize*t.start),this._scrolledIndexChange.next(Math.floor(s))}}function E(e){return e._scrollStrategy}class T{constructor(){this._itemSize=20,this._minBufferPx=100,this._maxBufferPx=200,this._scrollStrategy=new M(this.itemSize,this.minBufferPx,this.maxBufferPx)}get itemSize(){return this._itemSize}set itemSize(e){this._itemSize=Object(r.f)(e)}get minBufferPx(){return this._minBufferPx}set minBufferPx(e){this._minBufferPx=Object(r.f)(e)}get maxBufferPx(){return this._maxBufferPx}set maxBufferPx(e){this._maxBufferPx=Object(r.f)(e)}ngOnChanges(){this._scrollStrategy.updateItemAndBufferSize(this.itemSize,this.minBufferPx,this.maxBufferPx)}}T.\u0275fac=function(e){return new(e||T)},T.\u0275dir=i.Ic({type:T,selectors:[["cdk-virtual-scroll-viewport","itemSize",""]],inputs:{itemSize:"itemSize",minBufferPx:"minBufferPx",maxBufferPx:"maxBufferPx"},features:[i.yc([{provide:C,useFactory:E,deps:[Object(i.sb)(()=>T)]}]),i.xc]}),T.propDecorators={itemSize:[{type:i.G}],minBufferPx:[{type:i.G}],maxBufferPx:[{type:i.G}]};class j{constructor(e,t,n){this._ngZone=e,this._platform=t,this._scrolled=new s.a,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=n}register(e){this.scrollContainers.has(e)||this.scrollContainers.set(e,e.elementScrolled().subscribe(()=>this._scrolled.next(e)))}deregister(e){const t=this.scrollContainers.get(e);t&&(t.unsubscribe(),this.scrollContainers.delete(e))}scrolled(e=20){return this._platform.isBrowser?new a.a(t=>{this._globalSubscription||this._addGlobalListener();const n=e>0?this._scrolled.pipe(Object(p.a)(e)).subscribe(t):this._scrolled.subscribe(t);return this._scrolledCount++,()=>{n.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):Object(o.a)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((e,t)=>this.deregister(t)),this._scrolled.complete()}ancestorScrolled(e,t){const n=this.getAncestorScrollContainers(e);return this.scrolled(t).pipe(Object(m.a)(e=>!e||n.indexOf(e)>-1))}getAncestorScrollContainers(e){const t=[];return this.scrollContainers.forEach((n,r)=>{this._scrollableContainsElement(r,e)&&t.push(r)}),t}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(e,t){let n=t.nativeElement,r=e.getElementRef().nativeElement;do{if(n==r)return!0}while(n=n.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{const e=this._getWindow();return Object(c.a)(e.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}j.\u0275fac=function(e){return new(e||j)(i.Xc(i.Q),i.Xc(w.a),i.Xc(S.d,8))},j.\u0275prov=Object(i.Jc)({factory:function(){return new j(Object(i.Xc)(i.Q),Object(i.Xc)(w.a),Object(i.Xc)(S.d,8))},token:j,providedIn:"root"}),j.ctorParameters=()=>[{type:i.Q},{type:w.a},{type:void 0,decorators:[{type:i.R},{type:i.C,args:[S.d]}]}];class D{constructor(e,t,n,r){this.elementRef=e,this.scrollDispatcher=t,this.ngZone=n,this.dir=r,this._destroyed=new s.a,this._elementScrolled=new a.a(e=>this.ngZone.runOutsideAngular(()=>Object(c.a)(this.elementRef.nativeElement,"scroll").pipe(Object(g.a)(this._destroyed)).subscribe(e)))}ngOnInit(){this.scrollDispatcher.register(this)}ngOnDestroy(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(e){const t=this.elementRef.nativeElement,n=this.dir&&"rtl"==this.dir.value;null==e.left&&(e.left=n?e.end:e.start),null==e.right&&(e.right=n?e.start:e.end),null!=e.bottom&&(e.top=t.scrollHeight-t.clientHeight-e.bottom),n&&0!=Object(w.d)()?(null!=e.left&&(e.right=t.scrollWidth-t.clientWidth-e.left),2==Object(w.d)()?e.left=e.right:1==Object(w.d)()&&(e.left=e.right?-e.right:e.right)):null!=e.right&&(e.left=t.scrollWidth-t.clientWidth-e.right),this._applyScrollToOptions(e)}_applyScrollToOptions(e){const t=this.elementRef.nativeElement;Object(w.f)()?t.scrollTo(e):(null!=e.top&&(t.scrollTop=e.top),null!=e.left&&(t.scrollLeft=e.left))}measureScrollOffset(e){const t="left",n="right",r=this.elementRef.nativeElement;if("top"==e)return r.scrollTop;if("bottom"==e)return r.scrollHeight-r.clientHeight-r.scrollTop;const i=this.dir&&"rtl"==this.dir.value;return"start"==e?e=i?n:t:"end"==e&&(e=i?t:n),i&&2==Object(w.d)()?e==t?r.scrollWidth-r.clientWidth-r.scrollLeft:r.scrollLeft:i&&1==Object(w.d)()?e==t?r.scrollLeft+r.scrollWidth-r.clientWidth:-r.scrollLeft:e==t?r.scrollLeft:r.scrollWidth-r.clientWidth-r.scrollLeft}}D.\u0275fac=function(e){return new(e||D)(i.Nc(i.v),i.Nc(j),i.Nc(i.Q),i.Nc(x.c,8))},D.\u0275dir=i.Ic({type:D,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]}),D.ctorParameters=()=>[{type:i.v},{type:j},{type:i.Q},{type:x.c,decorators:[{type:i.R}]}];class A{constructor(e,t,n){this._platform=e,this._change=new s.a,this._changeListener=e=>{this._change.next(e)},this._document=n,t.runOutsideAngular(()=>{if(e.isBrowser){const e=this._getWindow();e.addEventListener("resize",this._changeListener),e.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._updateViewportSize())})}ngOnDestroy(){if(this._platform.isBrowser){const e=this._getWindow();e.removeEventListener("resize",this._changeListener),e.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e}getViewportRect(){const e=this.getViewportScrollPosition(),{width:t,height:n}=this.getViewportSize();return{top:e.top,left:e.left,bottom:e.top+n,right:e.left+t,height:n,width:t}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const e=this._document,t=this._getWindow(),n=e.documentElement,r=n.getBoundingClientRect();return{top:-r.top||e.body.scrollTop||t.scrollY||n.scrollTop||0,left:-r.left||e.body.scrollLeft||t.scrollX||n.scrollLeft||0}}change(e=20){return e>0?this._change.pipe(Object(p.a)(e)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const e=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:e.innerWidth,height:e.innerHeight}:{width:0,height:0}}}A.\u0275fac=function(e){return new(e||A)(i.Xc(w.a),i.Xc(i.Q),i.Xc(S.d,8))},A.\u0275prov=Object(i.Jc)({factory:function(){return new A(Object(i.Xc)(w.a),Object(i.Xc)(i.Q),Object(i.Xc)(S.d,8))},token:A,providedIn:"root"}),A.ctorParameters=()=>[{type:w.a},{type:i.Q},{type:void 0,decorators:[{type:i.R},{type:i.C,args:[S.d]}]}];const L="undefined"!=typeof requestAnimationFrame?l.a:u.a;class z extends D{constructor(e,t,n,r,i,o,c){super(e,o,n,i),this.elementRef=e,this._changeDetectorRef=t,this._scrollStrategy=r,this._detachedSubject=new s.a,this._renderedRangeSubject=new s.a,this._orientation="vertical",this.scrolledIndexChange=new a.a(e=>this._scrollStrategy.scrolledIndexChange.subscribe(t=>Promise.resolve().then(()=>this.ngZone.run(()=>e.next(t))))),this.renderedRangeStream=this._renderedRangeSubject,this._totalContentSize=0,this._totalContentWidth="",this._totalContentHeight="",this._renderedRange={start:0,end:0},this._dataLength=0,this._viewportSize=0,this._renderedContentOffset=0,this._renderedContentOffsetNeedsRewrite=!1,this._isChangeDetectionPending=!1,this._runAfterChangeDetection=[],this._viewportChanges=h.a.EMPTY,this._viewportChanges=c.change().subscribe(()=>{this.checkViewportSize()})}get orientation(){return this._orientation}set orientation(e){this._orientation!==e&&(this._orientation=e,this._calculateSpacerSize())}ngOnInit(){super.ngOnInit(),this.ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>{this._measureViewportSize(),this._scrollStrategy.attach(this),this.elementScrolled().pipe(Object(v.a)(null),Object(p.a)(0,L)).subscribe(()=>this._scrollStrategy.onContentScrolled()),this._markChangeDetectionNeeded()}))}ngOnDestroy(){this.detach(),this._scrollStrategy.detach(),this._renderedRangeSubject.complete(),this._detachedSubject.complete(),this._viewportChanges.unsubscribe(),super.ngOnDestroy()}attach(e){this._forOf,this.ngZone.runOutsideAngular(()=>{this._forOf=e,this._forOf.dataStream.pipe(Object(g.a)(this._detachedSubject)).subscribe(e=>{const t=e.length;t!==this._dataLength&&(this._dataLength=t,this._scrollStrategy.onDataLengthChanged()),this._doChangeDetection()})})}detach(){this._forOf=null,this._detachedSubject.next()}getDataLength(){return this._dataLength}getViewportSize(){return this._viewportSize}getRenderedRange(){return this._renderedRange}setTotalContentSize(e){this._totalContentSize!==e&&(this._totalContentSize=e,this._calculateSpacerSize(),this._markChangeDetectionNeeded())}setRenderedRange(e){var t,n;t=this._renderedRange,n=e,(t.start!=n.start||t.end!=n.end)&&(this._renderedRangeSubject.next(this._renderedRange=e),this._markChangeDetectionNeeded(()=>this._scrollStrategy.onContentRendered()))}getOffsetToRenderedContentStart(){return this._renderedContentOffsetNeedsRewrite?null:this._renderedContentOffset}setRenderedContentOffset(e,t="to-start"){const n=this.dir&&"rtl"==this.dir.value,r="horizontal"==this.orientation,i=r?"X":"Y";let s=`translate${i}(${Number((r&&n?-1:1)*e)}px)`;this._renderedContentOffset=e,"to-end"===t&&(s+=` translate${i}(-100%)`,this._renderedContentOffsetNeedsRewrite=!0),this._renderedContentTransform!=s&&(this._renderedContentTransform=s,this._markChangeDetectionNeeded(()=>{this._renderedContentOffsetNeedsRewrite?(this._renderedContentOffset-=this.measureRenderedContentSize(),this._renderedContentOffsetNeedsRewrite=!1,this.setRenderedContentOffset(this._renderedContentOffset)):this._scrollStrategy.onRenderedOffsetChanged()}))}scrollToOffset(e,t="auto"){const n={behavior:t};"horizontal"===this.orientation?n.start=e:n.top=e,this.scrollTo(n)}scrollToIndex(e,t="auto"){this._scrollStrategy.scrollToIndex(e,t)}measureScrollOffset(e){return e?super.measureScrollOffset(e):super.measureScrollOffset("horizontal"===this.orientation?"start":"top")}measureRenderedContentSize(){const e=this._contentWrapper.nativeElement;return"horizontal"===this.orientation?e.offsetWidth:e.offsetHeight}measureRangeSize(e){return this._forOf?this._forOf.measureRangeSize(e,this.orientation):0}checkViewportSize(){this._measureViewportSize(),this._scrollStrategy.onDataLengthChanged()}_measureViewportSize(){const e=this.elementRef.nativeElement;this._viewportSize="horizontal"===this.orientation?e.clientWidth:e.clientHeight}_markChangeDetectionNeeded(e){e&&this._runAfterChangeDetection.push(e),this._isChangeDetectionPending||(this._isChangeDetectionPending=!0,this.ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>{this._doChangeDetection()})))}_doChangeDetection(){this._isChangeDetectionPending=!1,this._contentWrapper.nativeElement.style.transform=this._renderedContentTransform,this.ngZone.run(()=>this._changeDetectorRef.markForCheck());const e=this._runAfterChangeDetection;this._runAfterChangeDetection=[];for(const t of e)t()}_calculateSpacerSize(){this._totalContentHeight="horizontal"===this.orientation?"":this._totalContentSize+"px",this._totalContentWidth="horizontal"===this.orientation?this._totalContentSize+"px":""}}function P(e,t,n){const r=n;if(!r.getBoundingClientRect)return 0;const i=r.getBoundingClientRect();return"horizontal"===e?"start"===t?i.left:i.right:"start"===t?i.top:i.bottom}z.\u0275fac=function(e){return new(e||z)(i.Nc(i.v),i.Nc(i.k),i.Nc(i.Q),i.Nc(C,8),i.Nc(x.c,8),i.Nc(j),i.Nc(A))},z.\u0275cmp=i.Hc({type:z,selectors:[["cdk-virtual-scroll-viewport"]],viewQuery:function(e,t){if(1&e&&i.Dd(k,!0),2&e){let e;i.td(e=i.bd())&&(t._contentWrapper=e.first)}},hostAttrs:[1,"cdk-virtual-scroll-viewport"],hostVars:4,hostBindings:function(e,t){2&e&&i.Fc("cdk-virtual-scroll-orientation-horizontal","horizontal"===t.orientation)("cdk-virtual-scroll-orientation-vertical","horizontal"!==t.orientation)},inputs:{orientation:"orientation"},outputs:{scrolledIndexChange:"scrolledIndexChange"},features:[i.yc([{provide:D,useExisting:z}]),i.wc],ngContentSelectors:["*"],decls:4,vars:4,consts:[[1,"cdk-virtual-scroll-content-wrapper"],["contentWrapper",""],[1,"cdk-virtual-scroll-spacer"]],template:function(e,t){1&e&&(i.ld(),i.Tc(0,"div",0,1),i.kd(2),i.Sc(),i.Oc(3,"div",2)),2&e&&(i.zc(3),i.Fd("width",t._totalContentWidth)("height",t._totalContentHeight))},styles:["cdk-virtual-scroll-viewport{display:block;position:relative;overflow:auto;contain:strict;transform:translateZ(0);will-change:scroll-position;-webkit-overflow-scrolling:touch}.cdk-virtual-scroll-content-wrapper{position:absolute;top:0;left:0;contain:content}[dir=rtl] .cdk-virtual-scroll-content-wrapper{right:0;left:auto}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper{min-height:100%}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-left:0;padding-right:0;margin-left:0;margin-right:0;border-left-width:0;border-right-width:0;outline:none}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper{min-width:100%}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-top:0;padding-bottom:0;margin-top:0;margin-bottom:0;border-top-width:0;border-bottom-width:0;outline:none}.cdk-virtual-scroll-spacer{position:absolute;top:0;left:0;height:1px;width:1px;transform-origin:0 0}[dir=rtl] .cdk-virtual-scroll-spacer{right:0;left:auto;transform-origin:100% 0}\n"],encapsulation:2,changeDetection:0}),z.ctorParameters=()=>[{type:i.v},{type:i.k},{type:i.Q},{type:void 0,decorators:[{type:i.R},{type:i.C,args:[C]}]},{type:x.c,decorators:[{type:i.R}]},{type:j},{type:A}],z.propDecorators={orientation:[{type:i.G}],scrolledIndexChange:[{type:i.S}],_contentWrapper:[{type:i.mb,args:["contentWrapper",{static:!0}]}]};class I{constructor(e,t,n,r,i,o){this._viewContainerRef=e,this._template=t,this._differs=n,this._viewRepeater=r,this._viewport=i,this.viewChange=new s.a,this._dataSourceChanges=new s.a,this.dataStream=this._dataSourceChanges.pipe(Object(v.a)(null),Object(y.a)(),Object(b.a)(([e,t])=>this._changeDataSource(e,t)),Object(_.a)(1)),this._differ=null,this._needsUpdate=!1,this._destroyed=new s.a,this.dataStream.subscribe(e=>{this._data=e,this._onRenderedDataChange()}),this._viewport.renderedRangeStream.pipe(Object(g.a)(this._destroyed)).subscribe(e=>{this._renderedRange=e,o.run(()=>this.viewChange.next(this._renderedRange)),this._onRenderedDataChange()}),this._viewport.attach(this)}get cdkVirtualForOf(){return this._cdkVirtualForOf}set cdkVirtualForOf(e){this._cdkVirtualForOf=e,Object(O.f)(e)?this._dataSourceChanges.next(e):this._dataSourceChanges.next(new O.a(Object(d.a)(e)?e:Array.from(e||[])))}get cdkVirtualForTrackBy(){return this._cdkVirtualForTrackBy}set cdkVirtualForTrackBy(e){this._needsUpdate=!0,this._cdkVirtualForTrackBy=e?(t,n)=>e(t+(this._renderedRange?this._renderedRange.start:0),n):void 0}set cdkVirtualForTemplate(e){e&&(this._needsUpdate=!0,this._template=e)}get cdkVirtualForTemplateCacheSize(){return this._viewRepeater.viewCacheSize}set cdkVirtualForTemplateCacheSize(e){this._viewRepeater.viewCacheSize=Object(r.f)(e)}measureRangeSize(e,t){if(e.start>=e.end)return 0;e.start<this._renderedRange.start||(e.end,this._renderedRange.end);const n=e.start-this._renderedRange.start,r=e.end-e.start;let i,s;for(let o=0;o<r;o++){const e=this._viewContainerRef.get(o+n);if(e&&e.rootNodes.length){i=s=e.rootNodes[0];break}}for(let o=r-1;o>-1;o--){const e=this._viewContainerRef.get(o+n);if(e&&e.rootNodes.length){s=e.rootNodes[e.rootNodes.length-1];break}}return i&&s?P(t,"end",s)-P(t,"start",i):0}ngDoCheck(){if(this._differ&&this._needsUpdate){const e=this._differ.diff(this._renderedItems);e?this._applyChanges(e):this._updateContext(),this._needsUpdate=!1}}ngOnDestroy(){this._viewport.detach(),this._dataSourceChanges.next(void 0),this._dataSourceChanges.complete(),this.viewChange.complete(),this._destroyed.next(),this._destroyed.complete(),this._viewRepeater.detach()}_onRenderedDataChange(){this._renderedRange&&(this._renderedItems=this._data.slice(this._renderedRange.start,this._renderedRange.end),this._differ||(this._differ=this._differs.find(this._renderedItems).create(this.cdkVirtualForTrackBy)),this._needsUpdate=!0)}_changeDataSource(e,t){return e&&e.disconnect(this),this._needsUpdate=!0,t?t.connect(this):Object(o.a)()}_updateContext(){const e=this._data.length;let t=this._viewContainerRef.length;for(;t--;){let n=this._viewContainerRef.get(t);n.context.index=this._renderedRange.start+t,n.context.count=e,this._updateComputedContextProperties(n.context),n.detectChanges()}}_applyChanges(e){this._viewRepeater.applyChanges(e,this._viewContainerRef,(e,t,n)=>this._getEmbeddedViewArgs(e,n),e=>e.item),e.forEachIdentityChange(e=>{this._viewContainerRef.get(e.currentIndex).context.$implicit=e.item});const t=this._data.length;let n=this._viewContainerRef.length;for(;n--;){const e=this._viewContainerRef.get(n);e.context.index=this._renderedRange.start+n,e.context.count=t,this._updateComputedContextProperties(e.context)}}_updateComputedContextProperties(e){e.first=0===e.index,e.last=e.index===e.count-1,e.even=e.index%2==0,e.odd=!e.even}_getEmbeddedViewArgs(e,t){return{templateRef:this._template,context:{$implicit:e.item,cdkVirtualForOf:this._cdkVirtualForOf,index:-1,count:-1,first:!1,last:!1,odd:!1,even:!1},index:t}}}I.\u0275fac=function(e){return new(e||I)(i.Nc(i.ob),i.Nc(i.ib),i.Nc(i.H),i.Nc(O.e),i.Nc(z,4),i.Nc(i.Q))},I.\u0275dir=i.Ic({type:I,selectors:[["","cdkVirtualFor","","cdkVirtualForOf",""]],inputs:{cdkVirtualForOf:"cdkVirtualForOf",cdkVirtualForTrackBy:"cdkVirtualForTrackBy",cdkVirtualForTemplate:"cdkVirtualForTemplate",cdkVirtualForTemplateCacheSize:"cdkVirtualForTemplateCacheSize"},features:[i.yc([{provide:O.e,useClass:O.d}])]}),I.ctorParameters=()=>[{type:i.ob},{type:i.ib},{type:i.H},{type:O.d,decorators:[{type:i.C,args:[O.e]}]},{type:z,decorators:[{type:i.eb}]},{type:i.Q}],I.propDecorators={cdkVirtualForOf:[{type:i.G}],cdkVirtualForTrackBy:[{type:i.G}],cdkVirtualForTemplate:[{type:i.G}],cdkVirtualForTemplateCacheSize:[{type:i.G}]};class R{}R.\u0275mod=i.Lc({type:R}),R.\u0275inj=i.Kc({factory:function(e){return new(e||R)}}),("undefined"==typeof ngJitMode||ngJitMode)&&i.Bd(R,{declarations:[D],exports:[D]});class N{}N.\u0275mod=i.Lc({type:N}),N.\u0275inj=i.Kc({factory:function(e){return new(e||N)},imports:[[x.a,w.b,R],x.a,R]}),("undefined"==typeof ngJitMode||ngJitMode)&&i.Bd(N,{declarations:function(){return[T,I,z]},imports:function(){return[x.a,w.b,R]},exports:function(){return[x.a,R,T,I,z]}})},w1tV:function(e,t,n){"use strict";n.d(t,"a",function(){return m});var r=n("XNiG"),i=n("HDdC"),s=n("7o/Q"),o=n("quSY");function a(){return function(e){return e.lift(new c(e))}}class c{constructor(e){this.connectable=e}call(e,t){const{connectable:n}=this;n._refCount++;const r=new l(e,n),i=t.subscribe(r);return r.closed||(r.connection=n.connect()),i}}class l extends s.a{constructor(e,t){super(e),this.connectable=t}_unsubscribe(){const{connectable:e}=this;if(!e)return void(this.connection=null);this.connectable=null;const t=e._refCount;if(t<=0)return void(this.connection=null);if(e._refCount=t-1,t>1)return void(this.connection=null);const{connection:n}=this,r=e._connection;this.connection=null,!r||n&&r!==n||r.unsubscribe()}}class u extends i.a{constructor(e,t){super(),this.source=e,this.subjectFactory=t,this._refCount=0,this._isComplete=!1}_subscribe(e){return this.getSubject().subscribe(e)}getSubject(){const e=this._subject;return e&&!e.isStopped||(this._subject=this.subjectFactory()),this._subject}connect(){let e=this._connection;return e||(this._isComplete=!1,e=this._connection=new o.a,e.add(this.source.subscribe(new d(this.getSubject(),this))),e.closed&&(this._connection=null,e=o.a.EMPTY)),e}refCount(){return a()(this)}}const h=(()=>{const e=u.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:e._subscribe},_isComplete:{value:e._isComplete,writable:!0},getSubject:{value:e.getSubject},connect:{value:e.connect},refCount:{value:e.refCount}}})();class d extends r.b{constructor(e,t){super(e),this.connectable=t}_error(e){this._unsubscribe(),super._error(e)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const e=this.connectable;if(e){this.connectable=null;const t=e._connection;e._refCount=0,e._subject=null,e._connection=null,t&&t.unsubscribe()}}}s.a;class f{constructor(e,t){this.subjectFactory=e,this.selector=t}call(e,t){const{selector:n}=this,r=this.subjectFactory(),i=n(r).subscribe(e);return i.add(t.subscribe(r)),i}}function p(){return new r.a}function m(){return e=>{return a()((t=p,function(e){let r;if(r="function"==typeof t?t:function(){return t},"function"==typeof n)return e.lift(new f(r,n));const i=Object.create(e,h);return i.source=e,i.subjectFactory=r,i})(e));var t,n}}},w3qX:function(e,t,n){"use strict";n.d(t,"b",function(){return i}),n.d(t,"a",function(){return s}),n.d(t,"c",function(){return o}),n.d(t,"d",function(){return a});var r=24*Math.pow(10,8)*60*60*1e3,i=6e4,s=36e5,o=1e3,a=-r},wQk9:function(e,t,n){!function(e){"use strict";e.defineLocale("tzm",{months:"\u2d49\u2d4f\u2d4f\u2d30\u2d62\u2d54_\u2d31\u2d55\u2d30\u2d62\u2d55_\u2d4e\u2d30\u2d55\u2d5a_\u2d49\u2d31\u2d54\u2d49\u2d54_\u2d4e\u2d30\u2d62\u2d62\u2d53_\u2d62\u2d53\u2d4f\u2d62\u2d53_\u2d62\u2d53\u2d4d\u2d62\u2d53\u2d63_\u2d56\u2d53\u2d5b\u2d5c_\u2d5b\u2d53\u2d5c\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d3d\u2d5f\u2d53\u2d31\u2d55_\u2d4f\u2d53\u2d61\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d37\u2d53\u2d4a\u2d4f\u2d31\u2d49\u2d54".split("_"),monthsShort:"\u2d49\u2d4f\u2d4f\u2d30\u2d62\u2d54_\u2d31\u2d55\u2d30\u2d62\u2d55_\u2d4e\u2d30\u2d55\u2d5a_\u2d49\u2d31\u2d54\u2d49\u2d54_\u2d4e\u2d30\u2d62\u2d62\u2d53_\u2d62\u2d53\u2d4f\u2d62\u2d53_\u2d62\u2d53\u2d4d\u2d62\u2d53\u2d63_\u2d56\u2d53\u2d5b\u2d5c_\u2d5b\u2d53\u2d5c\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d3d\u2d5f\u2d53\u2d31\u2d55_\u2d4f\u2d53\u2d61\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d37\u2d53\u2d4a\u2d4f\u2d31\u2d49\u2d54".split("_"),weekdays:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),weekdaysShort:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),weekdaysMin:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u2d30\u2d59\u2d37\u2d45 \u2d34] LT",nextDay:"[\u2d30\u2d59\u2d3d\u2d30 \u2d34] LT",nextWeek:"dddd [\u2d34] LT",lastDay:"[\u2d30\u2d5a\u2d30\u2d4f\u2d5c \u2d34] LT",lastWeek:"dddd [\u2d34] LT",sameElse:"L"},relativeTime:{future:"\u2d37\u2d30\u2d37\u2d45 \u2d59 \u2d62\u2d30\u2d4f %s",past:"\u2d62\u2d30\u2d4f %s",s:"\u2d49\u2d4e\u2d49\u2d3d",ss:"%d \u2d49\u2d4e\u2d49\u2d3d",m:"\u2d4e\u2d49\u2d4f\u2d53\u2d3a",mm:"%d \u2d4e\u2d49\u2d4f\u2d53\u2d3a",h:"\u2d59\u2d30\u2d44\u2d30",hh:"%d \u2d5c\u2d30\u2d59\u2d59\u2d30\u2d44\u2d49\u2d4f",d:"\u2d30\u2d59\u2d59",dd:"%d o\u2d59\u2d59\u2d30\u2d4f",M:"\u2d30\u2d62o\u2d53\u2d54",MM:"%d \u2d49\u2d62\u2d62\u2d49\u2d54\u2d4f",y:"\u2d30\u2d59\u2d33\u2d30\u2d59",yy:"%d \u2d49\u2d59\u2d33\u2d30\u2d59\u2d4f"},week:{dow:6,doy:12}})}(n("wd/R"))},wVPz:function(e,t,n){"use strict";n.d(t,"a",function(){return E});var r=n("mrSG"),i=n("fXoL"),s=n("xwJx"),o=n("mjQ1"),a=n("SURy"),c=n("btuV"),l=n("Cfvw"),u=n("5+tZ"),h=n("lJxs"),d=n("eIep"),f=n("Kqap"),p=n("UXun"),m=n("bHdf"),g=n("qhR1"),v=n("Jy0u"),y=n("JXjb"),b=n("W8w0"),_=n("uyU4"),w=n("QnZs"),S=n("WS32"),x=n("2kdd"),O=n("5puH"),k=n("7seK"),C=n("k1Px");const M={[g.e.Dkk]:6,[g.e.Eol]:5,[g.e.Approver]:7,[g.e.ProjectInstitute]:12,[g.e.ContractorCMP]:21,[g.e.Admin]:25};let E=class{constructor(e,t,n){this.entities=e,this.metadata=t,this.security=n,this.class=this.metadata.classes.get(S.a.class).then(e=>(S.a.properties.comments=Array.from(Object.keys(e.attributes)).find(t=>{var n;return"\u0421.\u041e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0435.\u041a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0439"===(null===(n=e.attributes[t])||void 0===n?void 0:n.name)}),e)),this.security.roles.query().then(e=>e.forEach(e=>{Object.values(g.e).some(t=>t===e.name)&&(M[e.name]=e.id)}))}addToCollection(e,t,n){return Object(r.a)(this,void 0,void 0,function*(){const r=yield this.class,i=Object(o.h)(e,S.a,r);return this.entities.create(i,t,n)})}delete(e){this.entities.delete(e.id)}add(e,t){var n;return Object(r.a)(this,void 0,void 0,function*(){for(let r of e)yield this.addToCollection(Object.assign(r,{name:null===(n=r.profile)||void 0===n?void 0:n.name}),t,S.a.collection)})}update(e,t){return Object(r.a)(this,void 0,void 0,function*(){const n=yield this.class,r=Object.assign({id:e.id},Object(o.i)(e,t,S.a,n));return yield this.entities.update(r)})}find(e,t=[]){return Object(l.a)(e).pipe(Object(u.a)(e=>Object(l.a)(this.security.roles.usersIn(M[e])).pipe(Object(h.a)(e=>t.length?e.filter(({principal:e})=>t.includes(e)).map(({name:e})=>e):e.map(({name:e})=>e)),Object(d.a)(e=>Object(l.a)(this.security.profiles.get(e))),Object(h.a)(t=>t.filter(e=>!!e).map(t=>Object.assign(Object.assign({},t),{role:e}))))),Object(f.a)((e,t)=>e.concat(t)),Object(h.a)(e=>e.sort(Object(s.t)(e=>e.fullname))))}getLinks(e){return Object(l.a)(this.metadata.classes.get([y.a.class,_.a.class,k.a.class,C.a.class,O.e.class])).pipe(Object(d.a)(([t,n,r,i,s])=>this.entities.analytic.query({where:Object(x.a)([Object(v.b)(t.id,n.id),Object(v.d)(e),...Object(v.i)({status:[w.a.Expertise,w.a.Rejected]},_.a)]),select:Object(o.f)(_.a,n,"name","status"),join:{ancestors:{where:Object(v.b)(r.id),select:Object(o.f)(k.a,r,"name"),join:{ancestors:{where:Object(v.b)(i.id),select:Object(o.f)(C.a,i,"name"),join:{ancestors:{where:Object(v.b)(s.id),select:Object(o.f)(O.e,s,"name")}}}}}}},{skip:0,take:1e5})),Object(h.a)(({items:e})=>[...t(e,b.a.Doc),...t(e,b.a.LKP)]),Object(p.a)(1));function t(e,t){return Object(v.j)(e,{schema:t===b.a.Doc?_.a:y.a,connect:([e],n)=>(n.kind=t,e.push(n))},{schema:k.a,connect:([e,t],{name:n})=>t.documentType=n},{schema:C.a,connect:([e,t],{name:n})=>t.stage=n},{schema:O.e,connect:([e,t],{name:n})=>t.project=n}).sort(Object(s.t)(({name:e,documentType:t})=>`${t} ${e}`))}}query(e,t,n){return Object(l.a)(this.class).pipe(Object(h.a)(r=>this.entities.analytic.query({where:Object(x.a)([Object(v.b)(r.id),Object(v.e)(t)]),select:Object(o.f)(S.a,r),orderBy:n},e)),Object(m.a)(),Object(h.a)(e=>Object.assign(Object.assign({},e),{items:e.items.map(e=>Object(o.j)(e,S.a))})))}};E.ctorParameters=()=>[{type:o.a},{type:a.c},{type:c.c}],E=Object(r.b)([Object(i.D)({providedIn:"root"})],E)},"wd/R":function(e,t,n){(function(e){e.exports=function(){"use strict";var t,r;function i(){return t.apply(null,arguments)}function s(e){t=e}function o(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function a(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function c(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function l(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(c(e,t))return!1;return!0}function u(e){return void 0===e}function h(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function d(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function f(e,t){var n,r=[],i=e.length;for(n=0;n<i;++n)r.push(t(e[n],n));return r}function p(e,t){for(var n in t)c(t,n)&&(e[n]=t[n]);return c(t,"toString")&&(e.toString=t.toString),c(t,"valueOf")&&(e.valueOf=t.valueOf),e}function m(e,t,n,r){return Xn(e,t,n,r,!0).utc()}function g(){return{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}}function v(e){return null==e._pf&&(e._pf=g()),e._pf}function y(e){if(null==e._isValid){var t=v(e),n=r.call(t.parsedDateParts,function(e){return null!=e}),i=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&n);if(e._strict&&(i=i&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return i;e._isValid=i}return e._isValid}function b(e){var t=m(NaN);return null!=e?p(v(t),e):v(t).userInvalidated=!0,t}r=Array.prototype.some?Array.prototype.some:function(e){var t,n=Object(this),r=n.length>>>0;for(t=0;t<r;t++)if(t in n&&e.call(this,n[t],t,n))return!0;return!1};var _=i.momentProperties=[],w=!1;function S(e,t){var n,r,i,s=_.length;if(u(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),u(t._i)||(e._i=t._i),u(t._f)||(e._f=t._f),u(t._l)||(e._l=t._l),u(t._strict)||(e._strict=t._strict),u(t._tzm)||(e._tzm=t._tzm),u(t._isUTC)||(e._isUTC=t._isUTC),u(t._offset)||(e._offset=t._offset),u(t._pf)||(e._pf=v(t)),u(t._locale)||(e._locale=t._locale),s>0)for(n=0;n<s;n++)u(i=t[r=_[n]])||(e[r]=i);return e}function x(e){S(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===w&&(w=!0,i.updateOffset(this),w=!1)}function O(e){return e instanceof x||null!=e&&null!=e._isAMomentObject}function k(e){!1===i.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function C(e,t){var n=!0;return p(function(){if(null!=i.deprecationHandler&&i.deprecationHandler(null,e),n){var r,s,o,a=[],l=arguments.length;for(s=0;s<l;s++){if(r="","object"==typeof arguments[s]){for(o in r+="\n["+s+"] ",arguments[0])c(arguments[0],o)&&(r+=o+": "+arguments[0][o]+", ");r=r.slice(0,-2)}else r=arguments[s];a.push(r)}k(e+"\nArguments: "+Array.prototype.slice.call(a).join("")+"\n"+(new Error).stack),n=!1}return t.apply(this,arguments)},t)}var M,E={};function T(e,t){null!=i.deprecationHandler&&i.deprecationHandler(e,t),E[e]||(k(t),E[e]=!0)}function j(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function D(e){var t,n;for(n in e)c(e,n)&&(j(t=e[n])?this[n]=t:this["_"+n]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function A(e,t){var n,r=p({},e);for(n in t)c(t,n)&&(a(e[n])&&a(t[n])?(r[n]={},p(r[n],e[n]),p(r[n],t[n])):null!=t[n]?r[n]=t[n]:delete r[n]);for(n in e)c(e,n)&&!c(t,n)&&a(e[n])&&(r[n]=p({},r[n]));return r}function L(e){null!=e&&this.set(e)}i.suppressDeprecationWarnings=!1,i.deprecationHandler=null,M=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)c(e,t)&&n.push(t);return n};var z={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function P(e,t,n){var r=this._calendar[e]||this._calendar.sameElse;return j(r)?r.call(t,n):r}function I(e,t,n){var r=""+Math.abs(e),i=t-r.length;return(e>=0?n?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+r}var R=/(\[[^\[]*\])|(\\)?([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,N=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,H={},F={};function V(e,t,n,r){var i=r;"string"==typeof r&&(i=function(){return this[r]()}),e&&(F[e]=i),t&&(F[t[0]]=function(){return I(i.apply(this,arguments),t[1],t[2])}),n&&(F[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function B(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function Y(e){var t,n,r=e.match(R);for(t=0,n=r.length;t<n;t++)F[r[t]]?r[t]=F[r[t]]:r[t]=B(r[t]);return function(t){var i,s="";for(i=0;i<n;i++)s+=j(r[i])?r[i].call(t,e):r[i];return s}}function U(e,t){return e.isValid()?(t=W(t,e.localeData()),H[t]=H[t]||Y(t),H[t](e)):e.localeData().invalidDate()}function W(e,t){var n=5;function r(e){return t.longDateFormat(e)||e}for(N.lastIndex=0;n>=0&&N.test(e);)e=e.replace(N,r),N.lastIndex=0,n-=1;return e}var q={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"};function $(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(R).map(function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e}).join(""),this._longDateFormat[e])}var G="Invalid date";function X(){return this._invalidDate}var K="%d",J=/\d{1,2}/;function Q(e){return this._ordinal.replace("%d",e)}var Z={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"};function ee(e,t,n,r){var i=this._relativeTime[n];return j(i)?i(e,t,n,r):i.replace(/%d/i,e)}function te(e,t){var n=this._relativeTime[e>0?"future":"past"];return j(n)?n(t):n.replace(/%s/i,t)}var ne={};function re(e,t){var n=e.toLowerCase();ne[n]=ne[n+"s"]=ne[t]=e}function ie(e){return"string"==typeof e?ne[e]||ne[e.toLowerCase()]:void 0}function se(e){var t,n,r={};for(n in e)c(e,n)&&(t=ie(n))&&(r[t]=e[n]);return r}var oe={};function ae(e,t){oe[e]=t}function ce(e){var t,n=[];for(t in e)c(e,t)&&n.push({unit:t,priority:oe[t]});return n.sort(function(e,t){return e.priority-t.priority}),n}function le(e){return e%4==0&&e%100!=0||e%400==0}function ue(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function he(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=ue(t)),n}function de(e,t){return function(n){return null!=n?(pe(this,e,n),i.updateOffset(this,t),this):fe(this,e)}}function fe(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function pe(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&le(e.year())&&1===e.month()&&29===e.date()?(n=he(n),e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),et(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](n))}function me(e){return j(this[e=ie(e)])?this[e]():this}function ge(e,t){if("object"==typeof e){var n,r=ce(e=se(e)),i=r.length;for(n=0;n<i;n++)this[r[n].unit](e[r[n].unit])}else if(j(this[e=ie(e)]))return this[e](t);return this}var ve,ye=/\d/,be=/\d\d/,_e=/\d{3}/,we=/\d{4}/,Se=/[+-]?\d{6}/,xe=/\d\d?/,Oe=/\d\d\d\d?/,ke=/\d\d\d\d\d\d?/,Ce=/\d{1,3}/,Me=/\d{1,4}/,Ee=/[+-]?\d{1,6}/,Te=/\d+/,je=/[+-]?\d+/,De=/Z|[+-]\d\d:?\d\d/gi,Ae=/Z|[+-]\d\d(?::?\d\d)?/gi,Le=/[+-]?\d+(\.\d{1,3})?/,ze=/[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 Pe(e,t,n){ve[e]=j(t)?t:function(e,r){return e&&n?n:t}}function Ie(e,t){return c(ve,e)?ve[e](t._strict,t._locale):new RegExp(Re(e))}function Re(e){return Ne(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,r,i){return t||n||r||i}))}function Ne(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}ve={};var He={};function Fe(e,t){var n,r,i=t;for("string"==typeof e&&(e=[e]),h(t)&&(i=function(e,n){n[t]=he(e)}),r=e.length,n=0;n<r;n++)He[e[n]]=i}function Ve(e,t){Fe(e,function(e,n,r,i){r._w=r._w||{},t(e,r._w,r,i)})}function Be(e,t,n){null!=t&&c(He,e)&&He[e](t,n._a,n,e)}var Ye,Ue=0,We=1,qe=2,$e=3,Ge=4,Xe=5,Ke=6,Je=7,Qe=8;function Ze(e,t){return(e%t+t)%t}function et(e,t){if(isNaN(e)||isNaN(t))return NaN;var n=Ze(t,12);return e+=(t-n)/12,1===n?le(e)?29:28:31-n%7%2}Ye=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1},V("M",["MM",2],"Mo",function(){return this.month()+1}),V("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),V("MMMM",0,0,function(e){return this.localeData().months(this,e)}),re("month","M"),ae("month",8),Pe("M",xe),Pe("MM",xe,be),Pe("MMM",function(e,t){return t.monthsShortRegex(e)}),Pe("MMMM",function(e,t){return t.monthsRegex(e)}),Fe(["M","MM"],function(e,t){t[We]=he(e)-1}),Fe(["MMM","MMMM"],function(e,t,n,r){var i=n._locale.monthsParse(e,r,n._strict);null!=i?t[We]=i:v(n).invalidMonth=e});var tt="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),nt="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),rt=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,it=ze,st=ze;function ot(e,t){return e?o(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||rt).test(t)?"format":"standalone"][e.month()]:o(this._months)?this._months:this._months.standalone}function at(e,t){return e?o(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[rt.test(t)?"format":"standalone"][e.month()]:o(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function ct(e,t,n){var r,i,s,o=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)s=m([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(s,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(s,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(i=Ye.call(this._shortMonthsParse,o))?i:null:-1!==(i=Ye.call(this._longMonthsParse,o))?i:null:"MMM"===t?-1!==(i=Ye.call(this._shortMonthsParse,o))||-1!==(i=Ye.call(this._longMonthsParse,o))?i:null:-1!==(i=Ye.call(this._longMonthsParse,o))||-1!==(i=Ye.call(this._shortMonthsParse,o))?i:null}function lt(e,t,n){var r,i,s;if(this._monthsParseExact)return ct.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(i=m([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),n||this._monthsParse[r]||(s="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[r]=new RegExp(s.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[r].test(e))return r;if(n&&"MMM"===t&&this._shortMonthsParse[r].test(e))return r;if(!n&&this._monthsParse[r].test(e))return r}}function ut(e,t){var n;if(!e.isValid())return e;if("string"==typeof t)if(/^\d+$/.test(t))t=he(t);else if(!h(t=e.localeData().monthsParse(t)))return e;return n=Math.min(e.date(),et(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e}function ht(e){return null!=e?(ut(this,e),i.updateOffset(this,!0),this):fe(this,"Month")}function dt(){return et(this.year(),this.month())}function ft(e){return this._monthsParseExact?(c(this,"_monthsRegex")||mt.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(c(this,"_monthsShortRegex")||(this._monthsShortRegex=it),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function pt(e){return this._monthsParseExact?(c(this,"_monthsRegex")||mt.call(this),e?this._monthsStrictRegex:this._monthsRegex):(c(this,"_monthsRegex")||(this._monthsRegex=st),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function mt(){function e(e,t){return t.length-e.length}var t,n,r=[],i=[],s=[];for(t=0;t<12;t++)n=m([2e3,t]),r.push(this.monthsShort(n,"")),i.push(this.months(n,"")),s.push(this.months(n,"")),s.push(this.monthsShort(n,""));for(r.sort(e),i.sort(e),s.sort(e),t=0;t<12;t++)r[t]=Ne(r[t]),i[t]=Ne(i[t]);for(t=0;t<24;t++)s[t]=Ne(s[t]);this._monthsRegex=new RegExp("^("+s.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+r.join("|")+")","i")}function gt(e){return le(e)?366:365}V("Y",0,0,function(){var e=this.year();return e<=9999?I(e,4):"+"+e}),V(0,["YY",2],0,function(){return this.year()%100}),V(0,["YYYY",4],0,"year"),V(0,["YYYYY",5],0,"year"),V(0,["YYYYYY",6,!0],0,"year"),re("year","y"),ae("year",1),Pe("Y",je),Pe("YY",xe,be),Pe("YYYY",Me,we),Pe("YYYYY",Ee,Se),Pe("YYYYYY",Ee,Se),Fe(["YYYYY","YYYYYY"],Ue),Fe("YYYY",function(e,t){t[Ue]=2===e.length?i.parseTwoDigitYear(e):he(e)}),Fe("YY",function(e,t){t[Ue]=i.parseTwoDigitYear(e)}),Fe("Y",function(e,t){t[Ue]=parseInt(e,10)}),i.parseTwoDigitYear=function(e){return he(e)+(he(e)>68?1900:2e3)};var vt=de("FullYear",!0);function yt(){return le(this.year())}function bt(e,t,n,r,i,s,o){var a;return e<100&&e>=0?(a=new Date(e+400,t,n,r,i,s,o),isFinite(a.getFullYear())&&a.setFullYear(e)):a=new Date(e,t,n,r,i,s,o),a}function _t(e){var t,n;return e<100&&e>=0?((n=Array.prototype.slice.call(arguments))[0]=e+400,t=new Date(Date.UTC.apply(null,n)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function wt(e,t,n){var r=7+t-n;return-(7+_t(e,0,r).getUTCDay()-t)%7+r-1}function St(e,t,n,r,i){var s,o,a=1+7*(t-1)+(7+n-r)%7+wt(e,r,i);return a<=0?o=gt(s=e-1)+a:a>gt(e)?(s=e+1,o=a-gt(e)):(s=e,o=a),{year:s,dayOfYear:o}}function xt(e,t,n){var r,i,s=wt(e.year(),t,n),o=Math.floor((e.dayOfYear()-s-1)/7)+1;return o<1?r=o+Ot(i=e.year()-1,t,n):o>Ot(e.year(),t,n)?(r=o-Ot(e.year(),t,n),i=e.year()+1):(i=e.year(),r=o),{week:r,year:i}}function Ot(e,t,n){var r=wt(e,t,n),i=wt(e+1,t,n);return(gt(e)-r+i)/7}function kt(e){return xt(e,this._week.dow,this._week.doy).week}V("w",["ww",2],"wo","week"),V("W",["WW",2],"Wo","isoWeek"),re("week","w"),re("isoWeek","W"),ae("week",5),ae("isoWeek",5),Pe("w",xe),Pe("ww",xe,be),Pe("W",xe),Pe("WW",xe,be),Ve(["w","ww","W","WW"],function(e,t,n,r){t[r.substr(0,1)]=he(e)});var Ct={dow:0,doy:6};function Mt(){return this._week.dow}function Et(){return this._week.doy}function Tt(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")}function jt(e){var t=xt(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")}function Dt(e,t){return"string"!=typeof e?e:isNaN(e)?"number"==typeof(e=t.weekdaysParse(e))?e:null:parseInt(e,10)}function At(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function Lt(e,t){return e.slice(t,7).concat(e.slice(0,t))}V("d",0,"do","day"),V("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),V("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),V("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),V("e",0,0,"weekday"),V("E",0,0,"isoWeekday"),re("day","d"),re("weekday","e"),re("isoWeekday","E"),ae("day",11),ae("weekday",11),ae("isoWeekday",11),Pe("d",xe),Pe("e",xe),Pe("E",xe),Pe("dd",function(e,t){return t.weekdaysMinRegex(e)}),Pe("ddd",function(e,t){return t.weekdaysShortRegex(e)}),Pe("dddd",function(e,t){return t.weekdaysRegex(e)}),Ve(["dd","ddd","dddd"],function(e,t,n,r){var i=n._locale.weekdaysParse(e,r,n._strict);null!=i?t.d=i:v(n).invalidWeekday=e}),Ve(["d","e","E"],function(e,t,n,r){t[r]=he(e)});var zt="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Pt="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),It="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Rt=ze,Nt=ze,Ht=ze;function Ft(e,t){var n=o(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?Lt(n,this._week.dow):e?n[e.day()]:n}function Vt(e){return!0===e?Lt(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function Bt(e){return!0===e?Lt(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function Yt(e,t,n){var r,i,s,o=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)s=m([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(s,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(s,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(s,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(i=Ye.call(this._weekdaysParse,o))?i:null:"ddd"===t?-1!==(i=Ye.call(this._shortWeekdaysParse,o))?i:null:-1!==(i=Ye.call(this._minWeekdaysParse,o))?i:null:"dddd"===t?-1!==(i=Ye.call(this._weekdaysParse,o))||-1!==(i=Ye.call(this._shortWeekdaysParse,o))||-1!==(i=Ye.call(this._minWeekdaysParse,o))?i:null:"ddd"===t?-1!==(i=Ye.call(this._shortWeekdaysParse,o))||-1!==(i=Ye.call(this._weekdaysParse,o))||-1!==(i=Ye.call(this._minWeekdaysParse,o))?i:null:-1!==(i=Ye.call(this._minWeekdaysParse,o))||-1!==(i=Ye.call(this._weekdaysParse,o))||-1!==(i=Ye.call(this._shortWeekdaysParse,o))?i:null}function Ut(e,t,n){var r,i,s;if(this._weekdaysParseExact)return Yt.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(i=m([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(i,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(i,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(i,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(s="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[r]=new RegExp(s.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[r].test(e))return r;if(n&&"ddd"===t&&this._shortWeekdaysParse[r].test(e))return r;if(n&&"dd"===t&&this._minWeekdaysParse[r].test(e))return r;if(!n&&this._weekdaysParse[r].test(e))return r}}function Wt(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=Dt(e,this.localeData()),this.add(e-t,"d")):t}function qt(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")}function $t(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=At(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7}function Gt(e){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||Jt.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(c(this,"_weekdaysRegex")||(this._weekdaysRegex=Rt),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function Xt(e){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||Jt.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(c(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Nt),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Kt(e){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||Jt.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(c(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Ht),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Jt(){function e(e,t){return t.length-e.length}var t,n,r,i,s,o=[],a=[],c=[],l=[];for(t=0;t<7;t++)n=m([2e3,1]).day(t),r=Ne(this.weekdaysMin(n,"")),i=Ne(this.weekdaysShort(n,"")),s=Ne(this.weekdays(n,"")),o.push(r),a.push(i),c.push(s),l.push(r),l.push(i),l.push(s);o.sort(e),a.sort(e),c.sort(e),l.sort(e),this._weekdaysRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+o.join("|")+")","i")}function Qt(){return this.hours()%12||12}function Zt(){return this.hours()||24}function en(e,t){V(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function tn(e,t){return t._meridiemParse}function nn(e){return"p"===(e+"").toLowerCase().charAt(0)}V("H",["HH",2],0,"hour"),V("h",["hh",2],0,Qt),V("k",["kk",2],0,Zt),V("hmm",0,0,function(){return""+Qt.apply(this)+I(this.minutes(),2)}),V("hmmss",0,0,function(){return""+Qt.apply(this)+I(this.minutes(),2)+I(this.seconds(),2)}),V("Hmm",0,0,function(){return""+this.hours()+I(this.minutes(),2)}),V("Hmmss",0,0,function(){return""+this.hours()+I(this.minutes(),2)+I(this.seconds(),2)}),en("a",!0),en("A",!1),re("hour","h"),ae("hour",13),Pe("a",tn),Pe("A",tn),Pe("H",xe),Pe("h",xe),Pe("k",xe),Pe("HH",xe,be),Pe("hh",xe,be),Pe("kk",xe,be),Pe("hmm",Oe),Pe("hmmss",ke),Pe("Hmm",Oe),Pe("Hmmss",ke),Fe(["H","HH"],$e),Fe(["k","kk"],function(e,t,n){var r=he(e);t[$e]=24===r?0:r}),Fe(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),Fe(["h","hh"],function(e,t,n){t[$e]=he(e),v(n).bigHour=!0}),Fe("hmm",function(e,t,n){var r=e.length-2;t[$e]=he(e.substr(0,r)),t[Ge]=he(e.substr(r)),v(n).bigHour=!0}),Fe("hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[$e]=he(e.substr(0,r)),t[Ge]=he(e.substr(r,2)),t[Xe]=he(e.substr(i)),v(n).bigHour=!0}),Fe("Hmm",function(e,t,n){var r=e.length-2;t[$e]=he(e.substr(0,r)),t[Ge]=he(e.substr(r))}),Fe("Hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[$e]=he(e.substr(0,r)),t[Ge]=he(e.substr(r,2)),t[Xe]=he(e.substr(i))});var rn=/[ap]\.?m?\.?/i,sn=de("Hours",!0);function on(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}var an,cn={calendar:z,longDateFormat:q,invalidDate:G,ordinal:K,dayOfMonthOrdinalParse:J,relativeTime:Z,months:tt,monthsShort:nt,week:Ct,weekdays:zt,weekdaysMin:It,weekdaysShort:Pt,meridiemParse:rn},ln={},un={};function hn(e,t){var n,r=Math.min(e.length,t.length);for(n=0;n<r;n+=1)if(e[n]!==t[n])return n;return r}function dn(e){return e?e.toLowerCase().replace("_","-"):e}function fn(e){for(var t,n,r,i,s=0;s<e.length;){for(t=(i=dn(e[s]).split("-")).length,n=(n=dn(e[s+1]))?n.split("-"):null;t>0;){if(r=mn(i.slice(0,t).join("-")))return r;if(n&&n.length>=t&&hn(i,n)>=t-1)break;t--}s++}return an}function pn(e){return null!=e.match("^[^/\\\\]*$")}function mn(t){var r=null;if(void 0===ln[t]&&void 0!==e&&e&&e.exports&&pn(t))try{r=an._abbr,n("RnhZ")("./"+t),gn(r)}catch(i){ln[t]=null}return ln[t]}function gn(e,t){var n;return e&&((n=u(t)?bn(e):vn(e,t))?an=n:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),an._abbr}function vn(e,t){if(null!==t){var n,r=cn;if(t.abbr=e,null!=ln[e])T("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."),r=ln[e]._config;else if(null!=t.parentLocale)if(null!=ln[t.parentLocale])r=ln[t.parentLocale]._config;else{if(null==(n=mn(t.parentLocale)))return un[t.parentLocale]||(un[t.parentLocale]=[]),un[t.parentLocale].push({name:e,config:t}),null;r=n._config}return ln[e]=new L(A(r,t)),un[e]&&un[e].forEach(function(e){vn(e.name,e.config)}),gn(e),ln[e]}return delete ln[e],null}function yn(e,t){if(null!=t){var n,r,i=cn;null!=ln[e]&&null!=ln[e].parentLocale?ln[e].set(A(ln[e]._config,t)):(null!=(r=mn(e))&&(i=r._config),t=A(i,t),null==r&&(t.abbr=e),(n=new L(t)).parentLocale=ln[e],ln[e]=n),gn(e)}else null!=ln[e]&&(null!=ln[e].parentLocale?(ln[e]=ln[e].parentLocale,e===gn()&&gn(e)):null!=ln[e]&&delete ln[e]);return ln[e]}function bn(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return an;if(!o(e)){if(t=mn(e))return t;e=[e]}return fn(e)}function _n(){return M(ln)}function wn(e){var t,n=e._a;return n&&-2===v(e).overflow&&(t=n[We]<0||n[We]>11?We:n[qe]<1||n[qe]>et(n[Ue],n[We])?qe:n[$e]<0||n[$e]>24||24===n[$e]&&(0!==n[Ge]||0!==n[Xe]||0!==n[Ke])?$e:n[Ge]<0||n[Ge]>59?Ge:n[Xe]<0||n[Xe]>59?Xe:n[Ke]<0||n[Ke]>999?Ke:-1,v(e)._overflowDayOfYear&&(t<Ue||t>qe)&&(t=qe),v(e)._overflowWeeks&&-1===t&&(t=Je),v(e)._overflowWeekday&&-1===t&&(t=Qe),v(e).overflow=t),e}var Sn=/^\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)?)?$/,xn=/^\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)?)?$/,On=/Z|[+-]\d\d(?::?\d\d)?/,kn=[["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]],Cn=[["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/]],Mn=/^\/?Date\((-?\d+)/i,En=/^(?:(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}))$/,Tn={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function jn(e){var t,n,r,i,s,o,a=e._i,c=Sn.exec(a)||xn.exec(a),l=kn.length,u=Cn.length;if(c){for(v(e).iso=!0,t=0,n=l;t<n;t++)if(kn[t][1].exec(c[1])){i=kn[t][0],r=!1!==kn[t][2];break}if(null==i)return void(e._isValid=!1);if(c[3]){for(t=0,n=u;t<n;t++)if(Cn[t][1].exec(c[3])){s=(c[2]||" ")+Cn[t][0];break}if(null==s)return void(e._isValid=!1)}if(!r&&null!=s)return void(e._isValid=!1);if(c[4]){if(!On.exec(c[4]))return void(e._isValid=!1);o="Z"}e._f=i+(s||"")+(o||""),Bn(e)}else e._isValid=!1}function Dn(e,t,n,r,i,s){var o=[An(e),nt.indexOf(t),parseInt(n,10),parseInt(r,10),parseInt(i,10)];return s&&o.push(parseInt(s,10)),o}function An(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function Ln(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function zn(e,t,n){return!e||Pt.indexOf(e)===new Date(t[0],t[1],t[2]).getDay()||(v(n).weekdayMismatch=!0,n._isValid=!1,!1)}function Pn(e,t,n){if(e)return Tn[e];if(t)return 0;var r=parseInt(n,10),i=r%100;return(r-i)/100*60+i}function In(e){var t,n=En.exec(Ln(e._i));if(n){if(t=Dn(n[4],n[3],n[2],n[5],n[6],n[7]),!zn(n[1],t,e))return;e._a=t,e._tzm=Pn(n[8],n[9],n[10]),e._d=_t.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),v(e).rfc2822=!0}else e._isValid=!1}function Rn(e){var t=Mn.exec(e._i);null===t?(jn(e),!1===e._isValid&&(delete e._isValid,In(e),!1===e._isValid&&(delete e._isValid,e._strict?e._isValid=!1:i.createFromInputFallback(e)))):e._d=new Date(+t[1])}function Nn(e,t,n){return null!=e?e:null!=t?t:n}function Hn(e){var t=new Date(i.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function Fn(e){var t,n,r,i,s,o=[];if(!e._d){for(r=Hn(e),e._w&&null==e._a[qe]&&null==e._a[We]&&Vn(e),null!=e._dayOfYear&&(s=Nn(e._a[Ue],r[Ue]),(e._dayOfYear>gt(s)||0===e._dayOfYear)&&(v(e)._overflowDayOfYear=!0),n=_t(s,0,e._dayOfYear),e._a[We]=n.getUTCMonth(),e._a[qe]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=o[t]=r[t];for(;t<7;t++)e._a[t]=o[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[$e]&&0===e._a[Ge]&&0===e._a[Xe]&&0===e._a[Ke]&&(e._nextDay=!0,e._a[$e]=0),e._d=(e._useUTC?_t:bt).apply(null,o),i=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[$e]=24),e._w&&void 0!==e._w.d&&e._w.d!==i&&(v(e).weekdayMismatch=!0)}}function Vn(e){var t,n,r,i,s,o,a,c,l;null!=(t=e._w).GG||null!=t.W||null!=t.E?(s=1,o=4,n=Nn(t.GG,e._a[Ue],xt(Kn(),1,4).year),r=Nn(t.W,1),((i=Nn(t.E,1))<1||i>7)&&(c=!0)):(s=e._locale._week.dow,o=e._locale._week.doy,l=xt(Kn(),s,o),n=Nn(t.gg,e._a[Ue],l.year),r=Nn(t.w,l.week),null!=t.d?((i=t.d)<0||i>6)&&(c=!0):null!=t.e?(i=t.e+s,(t.e<0||t.e>6)&&(c=!0)):i=s),r<1||r>Ot(n,s,o)?v(e)._overflowWeeks=!0:null!=c?v(e)._overflowWeekday=!0:(a=St(n,r,i,s,o),e._a[Ue]=a.year,e._dayOfYear=a.dayOfYear)}function Bn(e){if(e._f!==i.ISO_8601)if(e._f!==i.RFC_2822){e._a=[],v(e).empty=!0;var t,n,r,s,o,a,c,l=""+e._i,u=l.length,h=0;for(c=(r=W(e._f,e._locale).match(R)||[]).length,t=0;t<c;t++)s=r[t],(n=(l.match(Ie(s,e))||[])[0])&&((o=l.substr(0,l.indexOf(n))).length>0&&v(e).unusedInput.push(o),l=l.slice(l.indexOf(n)+n.length),h+=n.length),F[s]?(n?v(e).empty=!1:v(e).unusedTokens.push(s),Be(s,n,e)):e._strict&&!n&&v(e).unusedTokens.push(s);v(e).charsLeftOver=u-h,l.length>0&&v(e).unusedInput.push(l),e._a[$e]<=12&&!0===v(e).bigHour&&e._a[$e]>0&&(v(e).bigHour=void 0),v(e).parsedDateParts=e._a.slice(0),v(e).meridiem=e._meridiem,e._a[$e]=Yn(e._locale,e._a[$e],e._meridiem),null!==(a=v(e).era)&&(e._a[Ue]=e._locale.erasConvertYear(a,e._a[Ue])),Fn(e),wn(e)}else In(e);else jn(e)}function Yn(e,t,n){var r;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?((r=e.isPM(n))&&t<12&&(t+=12),r||12!==t||(t=0),t):t}function Un(e){var t,n,r,i,s,o,a=!1,c=e._f.length;if(0===c)return v(e).invalidFormat=!0,void(e._d=new Date(NaN));for(i=0;i<c;i++)s=0,o=!1,t=S({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[i],Bn(t),y(t)&&(o=!0),s+=v(t).charsLeftOver,s+=10*v(t).unusedTokens.length,v(t).score=s,a?s<r&&(r=s,n=t):(null==r||s<r||o)&&(r=s,n=t,o&&(a=!0));p(e,n||t)}function Wn(e){if(!e._d){var t=se(e._i),n=void 0===t.day?t.date:t.day;e._a=f([t.year,t.month,n,t.hour,t.minute,t.second,t.millisecond],function(e){return e&&parseInt(e,10)}),Fn(e)}}function qn(e){var t=new x(wn($n(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function $n(e){var t=e._i,n=e._f;return e._locale=e._locale||bn(e._l),null===t||void 0===n&&""===t?b({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),O(t)?new x(wn(t)):(d(t)?e._d=t:o(n)?Un(e):n?Bn(e):Gn(e),y(e)||(e._d=null),e))}function Gn(e){var t=e._i;u(t)?e._d=new Date(i.now()):d(t)?e._d=new Date(t.valueOf()):"string"==typeof t?Rn(e):o(t)?(e._a=f(t.slice(0),function(e){return parseInt(e,10)}),Fn(e)):a(t)?Wn(e):h(t)?e._d=new Date(t):i.createFromInputFallback(e)}function Xn(e,t,n,r,i){var s={};return!0!==t&&!1!==t||(r=t,t=void 0),!0!==n&&!1!==n||(r=n,n=void 0),(a(e)&&l(e)||o(e)&&0===e.length)&&(e=void 0),s._isAMomentObject=!0,s._useUTC=s._isUTC=i,s._l=n,s._i=e,s._f=t,s._strict=r,qn(s)}function Kn(e,t,n,r){return Xn(e,t,n,r,!1)}i.createFromInputFallback=C("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(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))}),i.ISO_8601=function(){},i.RFC_2822=function(){};var Jn=C("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=Kn.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:b()}),Qn=C("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=Kn.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:b()});function Zn(e,t){var n,r;if(1===t.length&&o(t[0])&&(t=t[0]),!t.length)return Kn();for(n=t[0],r=1;r<t.length;++r)t[r].isValid()&&!t[r][e](n)||(n=t[r]);return n}function er(){return Zn("isBefore",[].slice.call(arguments,0))}function tr(){return Zn("isAfter",[].slice.call(arguments,0))}var nr=function(){return Date.now?Date.now():+new Date},rr=["year","quarter","month","week","day","hour","minute","second","millisecond"];function ir(e){var t,n,r=!1,i=rr.length;for(t in e)if(c(e,t)&&(-1===Ye.call(rr,t)||null!=e[t]&&isNaN(e[t])))return!1;for(n=0;n<i;++n)if(e[rr[n]]){if(r)return!1;parseFloat(e[rr[n]])!==he(e[rr[n]])&&(r=!0)}return!0}function sr(){return this._isValid}function or(){return Tr(NaN)}function ar(e){var t=se(e),n=t.year||0,r=t.quarter||0,i=t.month||0,s=t.week||t.isoWeek||0,o=t.day||0,a=t.hour||0,c=t.minute||0,l=t.second||0,u=t.millisecond||0;this._isValid=ir(t),this._milliseconds=+u+1e3*l+6e4*c+1e3*a*60*60,this._days=+o+7*s,this._months=+i+3*r+12*n,this._data={},this._locale=bn(),this._bubble()}function cr(e){return e instanceof ar}function lr(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function ur(e,t,n){var r,i=Math.min(e.length,t.length),s=Math.abs(e.length-t.length),o=0;for(r=0;r<i;r++)(n&&e[r]!==t[r]||!n&&he(e[r])!==he(t[r]))&&o++;return o+s}function hr(e,t){V(e,0,0,function(){var e=this.utcOffset(),n="+";return e<0&&(e=-e,n="-"),n+I(~~(e/60),2)+t+I(~~e%60,2)})}hr("Z",":"),hr("ZZ",""),Pe("Z",Ae),Pe("ZZ",Ae),Fe(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=fr(Ae,e)});var dr=/([\+\-]|\d\d)/gi;function fr(e,t){var n,r,i=(t||"").match(e);return null===i?null:0===(r=60*(n=((i[i.length-1]||[])+"").match(dr)||["-",0,0])[1]+he(n[2]))?0:"+"===n[0]?r:-r}function pr(e,t){var n,r;return t._isUTC?(n=t.clone(),r=(O(e)||d(e)?e.valueOf():Kn(e).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+r),i.updateOffset(n,!1),n):Kn(e).local()}function mr(e){return-Math.round(e._d.getTimezoneOffset())}function gr(e,t,n){var r,s=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"==typeof e){if(null===(e=fr(Ae,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(r=mr(this)),this._offset=e,this._isUTC=!0,null!=r&&this.add(r,"m"),s!==e&&(!t||this._changeInProgress?zr(this,Tr(e-s,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,i.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?s:mr(this)}function vr(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function yr(e){return this.utcOffset(0,e)}function br(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(mr(this),"m")),this}function _r(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var e=fr(De,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this}function wr(e){return!!this.isValid()&&(e=e?Kn(e).utcOffset():0,(this.utcOffset()-e)%60==0)}function Sr(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function xr(){if(!u(this._isDSTShifted))return this._isDSTShifted;var e,t={};return S(t,this),(t=$n(t))._a?(e=t._isUTC?m(t._a):Kn(t._a),this._isDSTShifted=this.isValid()&&ur(t._a,e.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function Or(){return!!this.isValid()&&!this._isUTC}function kr(){return!!this.isValid()&&this._isUTC}function Cr(){return!!this.isValid()&&this._isUTC&&0===this._offset}i.updateOffset=function(){};var Mr=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Er=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Tr(e,t){var n,r,i,s=e,o=null;return cr(e)?s={ms:e._milliseconds,d:e._days,M:e._months}:h(e)||!isNaN(+e)?(s={},t?s[t]=+e:s.milliseconds=+e):(o=Mr.exec(e))?(n="-"===o[1]?-1:1,s={y:0,d:he(o[qe])*n,h:he(o[$e])*n,m:he(o[Ge])*n,s:he(o[Xe])*n,ms:he(lr(1e3*o[Ke]))*n}):(o=Er.exec(e))?(n="-"===o[1]?-1:1,s={y:jr(o[2],n),M:jr(o[3],n),w:jr(o[4],n),d:jr(o[5],n),h:jr(o[6],n),m:jr(o[7],n),s:jr(o[8],n)}):null==s?s={}:"object"==typeof s&&("from"in s||"to"in s)&&(i=Ar(Kn(s.from),Kn(s.to)),(s={}).ms=i.milliseconds,s.M=i.months),r=new ar(s),cr(e)&&c(e,"_locale")&&(r._locale=e._locale),cr(e)&&c(e,"_isValid")&&(r._isValid=e._isValid),r}function jr(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function Dr(e,t){var n={};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function Ar(e,t){var n;return e.isValid()&&t.isValid()?(t=pr(t,e),e.isBefore(t)?n=Dr(e,t):((n=Dr(t,e)).milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function Lr(e,t){return function(n,r){var i;return null===r||isNaN(+r)||(T(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),i=n,n=r,r=i),zr(this,Tr(n,r),e),this}}function zr(e,t,n,r){var s=t._milliseconds,o=lr(t._days),a=lr(t._months);e.isValid()&&(r=null==r||r,a&&ut(e,fe(e,"Month")+a*n),o&&pe(e,"Date",fe(e,"Date")+o*n),s&&e._d.setTime(e._d.valueOf()+s*n),r&&i.updateOffset(e,o||a))}Tr.fn=ar.prototype,Tr.invalid=or;var Pr=Lr(1,"add"),Ir=Lr(-1,"subtract");function Rr(e){return"string"==typeof e||e instanceof String}function Nr(e){return O(e)||d(e)||Rr(e)||h(e)||Fr(e)||Hr(e)||null==e}function Hr(e){var t,n,r=a(e)&&!l(e),i=!1,s=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],o=s.length;for(t=0;t<o;t+=1)n=s[t],i=i||c(e,n);return r&&i}function Fr(e){var t=o(e),n=!1;return t&&(n=0===e.filter(function(t){return!h(t)&&Rr(e)}).length),t&&n}function Vr(e){var t,n,r=a(e)&&!l(e),i=!1,s=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(t=0;t<s.length;t+=1)n=s[t],i=i||c(e,n);return r&&i}function Br(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"}function Yr(e,t){1===arguments.length&&(arguments[0]?Nr(arguments[0])?(e=arguments[0],t=void 0):Vr(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var n=e||Kn(),r=pr(n,this).startOf("day"),s=i.calendarFormat(this,r)||"sameElse",o=t&&(j(t[s])?t[s].call(this,n):t[s]);return this.format(o||this.localeData().calendar(s,this,Kn(n)))}function Ur(){return new x(this)}function Wr(e,t){var n=O(e)?e:Kn(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=ie(t)||"millisecond")?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf())}function qr(e,t){var n=O(e)?e:Kn(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=ie(t)||"millisecond")?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf())}function $r(e,t,n,r){var i=O(e)?e:Kn(e),s=O(t)?t:Kn(t);return!!(this.isValid()&&i.isValid()&&s.isValid())&&("("===(r=r||"()")[0]?this.isAfter(i,n):!this.isBefore(i,n))&&(")"===r[1]?this.isBefore(s,n):!this.isAfter(s,n))}function Gr(e,t){var n,r=O(e)?e:Kn(e);return!(!this.isValid()||!r.isValid())&&("millisecond"===(t=ie(t)||"millisecond")?this.valueOf()===r.valueOf():(n=r.valueOf(),this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf()))}function Xr(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function Kr(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function Jr(e,t,n){var r,i,s;if(!this.isValid())return NaN;if(!(r=pr(e,this)).isValid())return NaN;switch(i=6e4*(r.utcOffset()-this.utcOffset()),t=ie(t)){case"year":s=Qr(this,r)/12;break;case"month":s=Qr(this,r);break;case"quarter":s=Qr(this,r)/3;break;case"second":s=(this-r)/1e3;break;case"minute":s=(this-r)/6e4;break;case"hour":s=(this-r)/36e5;break;case"day":s=(this-r-i)/864e5;break;case"week":s=(this-r-i)/6048e5;break;default:s=this-r}return n?s:ue(s)}function Qr(e,t){if(e.date()<t.date())return-Qr(t,e);var n=12*(t.year()-e.year())+(t.month()-e.month()),r=e.clone().add(n,"months");return-(n+(t-r<0?(t-r)/(r-e.clone().add(n-1,"months")):(t-r)/(e.clone().add(n+1,"months")-r)))||0}function Zr(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function ei(e){if(!this.isValid())return null;var t=!0!==e,n=t?this.clone().utc():this;return n.year()<0||n.year()>9999?U(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):j(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",U(n,"Z")):U(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function ti(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t,n,r,i="moment",s="";return this.isLocal()||(i=0===this.utcOffset()?"moment.utc":"moment.parseZone",s="Z"),e="["+i+'("]',t=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",n="-MM-DD[T]HH:mm:ss.SSS",r=s+'[")]',this.format(e+t+n+r)}function ni(e){e||(e=this.isUtc()?i.defaultFormatUtc:i.defaultFormat);var t=U(this,e);return this.localeData().postformat(t)}function ri(e,t){return this.isValid()&&(O(e)&&e.isValid()||Kn(e).isValid())?Tr({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function ii(e){return this.from(Kn(),e)}function si(e,t){return this.isValid()&&(O(e)&&e.isValid()||Kn(e).isValid())?Tr({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function oi(e){return this.to(Kn(),e)}function ai(e){var t;return void 0===e?this._locale._abbr:(null!=(t=bn(e))&&(this._locale=t),this)}i.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",i.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var ci=C("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return void 0===e?this.localeData():this.locale(e)});function li(){return this._locale}var ui=1e3,hi=60*ui,di=60*hi,fi=3506328*di;function pi(e,t){return(e%t+t)%t}function mi(e,t,n){return e<100&&e>=0?new Date(e+400,t,n)-fi:new Date(e,t,n).valueOf()}function gi(e,t,n){return e<100&&e>=0?Date.UTC(e+400,t,n)-fi:Date.UTC(e,t,n)}function vi(e){var t,n;if(void 0===(e=ie(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?gi:mi,e){case"year":t=n(this.year(),0,1);break;case"quarter":t=n(this.year(),this.month()-this.month()%3,1);break;case"month":t=n(this.year(),this.month(),1);break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=n(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=pi(t+(this._isUTC?0:this.utcOffset()*hi),di);break;case"minute":t=this._d.valueOf(),t-=pi(t,hi);break;case"second":t=this._d.valueOf(),t-=pi(t,ui)}return this._d.setTime(t),i.updateOffset(this,!0),this}function yi(e){var t,n;if(void 0===(e=ie(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?gi:mi,e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=di-pi(t+(this._isUTC?0:this.utcOffset()*hi),di)-1;break;case"minute":t=this._d.valueOf(),t+=hi-pi(t,hi)-1;break;case"second":t=this._d.valueOf(),t+=ui-pi(t,ui)-1}return this._d.setTime(t),i.updateOffset(this,!0),this}function bi(){return this._d.valueOf()-6e4*(this._offset||0)}function _i(){return Math.floor(this.valueOf()/1e3)}function wi(){return new Date(this.valueOf())}function Si(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function xi(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function Oi(){return this.isValid()?this.toISOString():null}function ki(){return y(this)}function Ci(){return p({},v(this))}function Mi(){return v(this).overflow}function Ei(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function Ti(e,t){var n,r,s,o=this._eras||bn("en")._eras;for(n=0,r=o.length;n<r;++n){switch(typeof o[n].since){case"string":s=i(o[n].since).startOf("day"),o[n].since=s.valueOf()}switch(typeof o[n].until){case"undefined":o[n].until=1/0;break;case"string":s=i(o[n].until).startOf("day").valueOf(),o[n].until=s.valueOf()}}return o}function ji(e,t,n){var r,i,s,o,a,c=this.eras();for(e=e.toUpperCase(),r=0,i=c.length;r<i;++r)if(s=c[r].name.toUpperCase(),o=c[r].abbr.toUpperCase(),a=c[r].narrow.toUpperCase(),n)switch(t){case"N":case"NN":case"NNN":if(o===e)return c[r];break;case"NNNN":if(s===e)return c[r];break;case"NNNNN":if(a===e)return c[r]}else if([s,o,a].indexOf(e)>=0)return c[r]}function Di(e,t){var n=e.since<=e.until?1:-1;return void 0===t?i(e.since).year():i(e.since).year()+(t-e.offset)*n}function Ai(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e){if(n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until)return r[e].name;if(r[e].until<=n&&n<=r[e].since)return r[e].name}return""}function Li(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e){if(n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until)return r[e].narrow;if(r[e].until<=n&&n<=r[e].since)return r[e].narrow}return""}function zi(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e){if(n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until)return r[e].abbr;if(r[e].until<=n&&n<=r[e].since)return r[e].abbr}return""}function Pi(){var e,t,n,r,s=this.localeData().eras();for(e=0,t=s.length;e<t;++e)if(n=s[e].since<=s[e].until?1:-1,r=this.clone().startOf("day").valueOf(),s[e].since<=r&&r<=s[e].until||s[e].until<=r&&r<=s[e].since)return(this.year()-i(s[e].since).year())*n+s[e].offset;return this.year()}function Ii(e){return c(this,"_erasNameRegex")||Yi.call(this),e?this._erasNameRegex:this._erasRegex}function Ri(e){return c(this,"_erasAbbrRegex")||Yi.call(this),e?this._erasAbbrRegex:this._erasRegex}function Ni(e){return c(this,"_erasNarrowRegex")||Yi.call(this),e?this._erasNarrowRegex:this._erasRegex}function Hi(e,t){return t.erasAbbrRegex(e)}function Fi(e,t){return t.erasNameRegex(e)}function Vi(e,t){return t.erasNarrowRegex(e)}function Bi(e,t){return t._eraYearOrdinalRegex||Te}function Yi(){var e,t,n=[],r=[],i=[],s=[],o=this.eras();for(e=0,t=o.length;e<t;++e)r.push(Ne(o[e].name)),n.push(Ne(o[e].abbr)),i.push(Ne(o[e].narrow)),s.push(Ne(o[e].name)),s.push(Ne(o[e].abbr)),s.push(Ne(o[e].narrow));this._erasRegex=new RegExp("^("+s.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+r.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+n.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+i.join("|")+")","i")}function Ui(e,t){V(0,[e,e.length],0,t)}function Wi(e){return Ji.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function qi(e){return Ji.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function $i(){return Ot(this.year(),1,4)}function Gi(){return Ot(this.isoWeekYear(),1,4)}function Xi(){var e=this.localeData()._week;return Ot(this.year(),e.dow,e.doy)}function Ki(){var e=this.localeData()._week;return Ot(this.weekYear(),e.dow,e.doy)}function Ji(e,t,n,r,i){var s;return null==e?xt(this,r,i).year:(t>(s=Ot(e,r,i))&&(t=s),Qi.call(this,e,t,n,r,i))}function Qi(e,t,n,r,i){var s=St(e,t,n,r,i),o=_t(s.year,0,s.dayOfYear);return this.year(o.getUTCFullYear()),this.month(o.getUTCMonth()),this.date(o.getUTCDate()),this}function Zi(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)}V("N",0,0,"eraAbbr"),V("NN",0,0,"eraAbbr"),V("NNN",0,0,"eraAbbr"),V("NNNN",0,0,"eraName"),V("NNNNN",0,0,"eraNarrow"),V("y",["y",1],"yo","eraYear"),V("y",["yy",2],0,"eraYear"),V("y",["yyy",3],0,"eraYear"),V("y",["yyyy",4],0,"eraYear"),Pe("N",Hi),Pe("NN",Hi),Pe("NNN",Hi),Pe("NNNN",Fi),Pe("NNNNN",Vi),Fe(["N","NN","NNN","NNNN","NNNNN"],function(e,t,n,r){var i=n._locale.erasParse(e,r,n._strict);i?v(n).era=i:v(n).invalidEra=e}),Pe("y",Te),Pe("yy",Te),Pe("yyy",Te),Pe("yyyy",Te),Pe("yo",Bi),Fe(["y","yy","yyy","yyyy"],Ue),Fe(["yo"],function(e,t,n,r){var i;n._locale._eraYearOrdinalRegex&&(i=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[Ue]=n._locale.eraYearOrdinalParse(e,i):t[Ue]=parseInt(e,10)}),V(0,["gg",2],0,function(){return this.weekYear()%100}),V(0,["GG",2],0,function(){return this.isoWeekYear()%100}),Ui("gggg","weekYear"),Ui("ggggg","weekYear"),Ui("GGGG","isoWeekYear"),Ui("GGGGG","isoWeekYear"),re("weekYear","gg"),re("isoWeekYear","GG"),ae("weekYear",1),ae("isoWeekYear",1),Pe("G",je),Pe("g",je),Pe("GG",xe,be),Pe("gg",xe,be),Pe("GGGG",Me,we),Pe("gggg",Me,we),Pe("GGGGG",Ee,Se),Pe("ggggg",Ee,Se),Ve(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,r){t[r.substr(0,2)]=he(e)}),Ve(["gg","GG"],function(e,t,n,r){t[r]=i.parseTwoDigitYear(e)}),V("Q",0,"Qo","quarter"),re("quarter","Q"),ae("quarter",7),Pe("Q",ye),Fe("Q",function(e,t){t[We]=3*(he(e)-1)}),V("D",["DD",2],"Do","date"),re("date","D"),ae("date",9),Pe("D",xe),Pe("DD",xe,be),Pe("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),Fe(["D","DD"],qe),Fe("Do",function(e,t){t[qe]=he(e.match(xe)[0])});var es=de("Date",!0);function ts(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")}V("DDD",["DDDD",3],"DDDo","dayOfYear"),re("dayOfYear","DDD"),ae("dayOfYear",4),Pe("DDD",Ce),Pe("DDDD",_e),Fe(["DDD","DDDD"],function(e,t,n){n._dayOfYear=he(e)}),V("m",["mm",2],0,"minute"),re("minute","m"),ae("minute",14),Pe("m",xe),Pe("mm",xe,be),Fe(["m","mm"],Ge);var ns=de("Minutes",!1);V("s",["ss",2],0,"second"),re("second","s"),ae("second",15),Pe("s",xe),Pe("ss",xe,be),Fe(["s","ss"],Xe);var rs,is,ss=de("Seconds",!1);for(V("S",0,0,function(){return~~(this.millisecond()/100)}),V(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),V(0,["SSS",3],0,"millisecond"),V(0,["SSSS",4],0,function(){return 10*this.millisecond()}),V(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),V(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),V(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),V(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),V(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),re("millisecond","ms"),ae("millisecond",16),Pe("S",Ce,ye),Pe("SS",Ce,be),Pe("SSS",Ce,_e),rs="SSSS";rs.length<=9;rs+="S")Pe(rs,Te);function os(e,t){t[Ke]=he(1e3*("0."+e))}for(rs="S";rs.length<=9;rs+="S")Fe(rs,os);function as(){return this._isUTC?"UTC":""}function cs(){return this._isUTC?"Coordinated Universal Time":""}is=de("Milliseconds",!1),V("z",0,0,"zoneAbbr"),V("zz",0,0,"zoneName");var ls=x.prototype;function us(e){return Kn(1e3*e)}function hs(){return Kn.apply(null,arguments).parseZone()}function ds(e){return e}ls.add=Pr,ls.calendar=Yr,ls.clone=Ur,ls.diff=Jr,ls.endOf=yi,ls.format=ni,ls.from=ri,ls.fromNow=ii,ls.to=si,ls.toNow=oi,ls.get=me,ls.invalidAt=Mi,ls.isAfter=Wr,ls.isBefore=qr,ls.isBetween=$r,ls.isSame=Gr,ls.isSameOrAfter=Xr,ls.isSameOrBefore=Kr,ls.isValid=ki,ls.lang=ci,ls.locale=ai,ls.localeData=li,ls.max=Qn,ls.min=Jn,ls.parsingFlags=Ci,ls.set=ge,ls.startOf=vi,ls.subtract=Ir,ls.toArray=Si,ls.toObject=xi,ls.toDate=wi,ls.toISOString=ei,ls.inspect=ti,"undefined"!=typeof Symbol&&null!=Symbol.for&&(ls[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),ls.toJSON=Oi,ls.toString=Zr,ls.unix=_i,ls.valueOf=bi,ls.creationData=Ei,ls.eraName=Ai,ls.eraNarrow=Li,ls.eraAbbr=zi,ls.eraYear=Pi,ls.year=vt,ls.isLeapYear=yt,ls.weekYear=Wi,ls.isoWeekYear=qi,ls.quarter=ls.quarters=Zi,ls.month=ht,ls.daysInMonth=dt,ls.week=ls.weeks=Tt,ls.isoWeek=ls.isoWeeks=jt,ls.weeksInYear=Xi,ls.weeksInWeekYear=Ki,ls.isoWeeksInYear=$i,ls.isoWeeksInISOWeekYear=Gi,ls.date=es,ls.day=ls.days=Wt,ls.weekday=qt,ls.isoWeekday=$t,ls.dayOfYear=ts,ls.hour=ls.hours=sn,ls.minute=ls.minutes=ns,ls.second=ls.seconds=ss,ls.millisecond=ls.milliseconds=is,ls.utcOffset=gr,ls.utc=yr,ls.local=br,ls.parseZone=_r,ls.hasAlignedHourOffset=wr,ls.isDST=Sr,ls.isLocal=Or,ls.isUtcOffset=kr,ls.isUtc=Cr,ls.isUTC=Cr,ls.zoneAbbr=as,ls.zoneName=cs,ls.dates=C("dates accessor is deprecated. Use date instead.",es),ls.months=C("months accessor is deprecated. Use month instead",ht),ls.years=C("years accessor is deprecated. Use year instead",vt),ls.zone=C("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",vr),ls.isDSTShifted=C("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",xr);var fs=L.prototype;function ps(e,t,n,r){var i=bn(),s=m().set(r,t);return i[n](s,e)}function ms(e,t,n){if(h(e)&&(t=e,e=void 0),e=e||"",null!=t)return ps(e,t,n,"month");var r,i=[];for(r=0;r<12;r++)i[r]=ps(e,r,n,"month");return i}function gs(e,t,n,r){"boolean"==typeof e?(h(t)&&(n=t,t=void 0),t=t||""):(n=t=e,e=!1,h(t)&&(n=t,t=void 0),t=t||"");var i,s=bn(),o=e?s._week.dow:0,a=[];if(null!=n)return ps(t,(n+o)%7,r,"day");for(i=0;i<7;i++)a[i]=ps(t,(i+o)%7,r,"day");return a}function vs(e,t){return ms(e,t,"months")}function ys(e,t){return ms(e,t,"monthsShort")}function bs(e,t,n){return gs(e,t,n,"weekdays")}function _s(e,t,n){return gs(e,t,n,"weekdaysShort")}function ws(e,t,n){return gs(e,t,n,"weekdaysMin")}fs.calendar=P,fs.longDateFormat=$,fs.invalidDate=X,fs.ordinal=Q,fs.preparse=ds,fs.postformat=ds,fs.relativeTime=ee,fs.pastFuture=te,fs.set=D,fs.eras=Ti,fs.erasParse=ji,fs.erasConvertYear=Di,fs.erasAbbrRegex=Ri,fs.erasNameRegex=Ii,fs.erasNarrowRegex=Ni,fs.months=ot,fs.monthsShort=at,fs.monthsParse=lt,fs.monthsRegex=pt,fs.monthsShortRegex=ft,fs.week=kt,fs.firstDayOfYear=Et,fs.firstDayOfWeek=Mt,fs.weekdays=Ft,fs.weekdaysMin=Bt,fs.weekdaysShort=Vt,fs.weekdaysParse=Ut,fs.weekdaysRegex=Gt,fs.weekdaysShortRegex=Xt,fs.weekdaysMinRegex=Kt,fs.isPM=nn,fs.meridiem=on,gn("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(e){var t=e%10;return e+(1===he(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),i.lang=C("moment.lang is deprecated. Use moment.locale instead.",gn),i.langData=C("moment.langData is deprecated. Use moment.localeData instead.",bn);var Ss=Math.abs;function xs(){var e=this._data;return this._milliseconds=Ss(this._milliseconds),this._days=Ss(this._days),this._months=Ss(this._months),e.milliseconds=Ss(e.milliseconds),e.seconds=Ss(e.seconds),e.minutes=Ss(e.minutes),e.hours=Ss(e.hours),e.months=Ss(e.months),e.years=Ss(e.years),this}function Os(e,t,n,r){var i=Tr(t,n);return e._milliseconds+=r*i._milliseconds,e._days+=r*i._days,e._months+=r*i._months,e._bubble()}function ks(e,t){return Os(this,e,t,1)}function Cs(e,t){return Os(this,e,t,-1)}function Ms(e){return e<0?Math.floor(e):Math.ceil(e)}function Es(){var e,t,n,r,i,s=this._milliseconds,o=this._days,a=this._months,c=this._data;return s>=0&&o>=0&&a>=0||s<=0&&o<=0&&a<=0||(s+=864e5*Ms(js(a)+o),o=0,a=0),c.milliseconds=s%1e3,e=ue(s/1e3),c.seconds=e%60,t=ue(e/60),c.minutes=t%60,n=ue(t/60),c.hours=n%24,o+=ue(n/24),a+=i=ue(Ts(o)),o-=Ms(js(i)),r=ue(a/12),a%=12,c.days=o,c.months=a,c.years=r,this}function Ts(e){return 4800*e/146097}function js(e){return 146097*e/4800}function Ds(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if("month"===(e=ie(e))||"quarter"===e||"year"===e)switch(t=this._days+r/864e5,n=this._months+Ts(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(js(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return 24*t+r/36e5;case"minute":return 1440*t+r/6e4;case"second":return 86400*t+r/1e3;case"millisecond":return Math.floor(864e5*t)+r;default:throw new Error("Unknown unit "+e)}}function As(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*he(this._months/12):NaN}function Ls(e){return function(){return this.as(e)}}var zs=Ls("ms"),Ps=Ls("s"),Is=Ls("m"),Rs=Ls("h"),Ns=Ls("d"),Hs=Ls("w"),Fs=Ls("M"),Vs=Ls("Q"),Bs=Ls("y");function Ys(){return Tr(this)}function Us(e){return e=ie(e),this.isValid()?this[e+"s"]():NaN}function Ws(e){return function(){return this.isValid()?this._data[e]:NaN}}var qs=Ws("milliseconds"),$s=Ws("seconds"),Gs=Ws("minutes"),Xs=Ws("hours"),Ks=Ws("days"),Js=Ws("months"),Qs=Ws("years");function Zs(){return ue(this.days()/7)}var eo=Math.round,to={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function no(e,t,n,r,i){return i.relativeTime(t||1,!!n,e,r)}function ro(e,t,n,r){var i=Tr(e).abs(),s=eo(i.as("s")),o=eo(i.as("m")),a=eo(i.as("h")),c=eo(i.as("d")),l=eo(i.as("M")),u=eo(i.as("w")),h=eo(i.as("y")),d=s<=n.ss&&["s",s]||s<n.s&&["ss",s]||o<=1&&["m"]||o<n.m&&["mm",o]||a<=1&&["h"]||a<n.h&&["hh",a]||c<=1&&["d"]||c<n.d&&["dd",c];return null!=n.w&&(d=d||u<=1&&["w"]||u<n.w&&["ww",u]),(d=d||l<=1&&["M"]||l<n.M&&["MM",l]||h<=1&&["y"]||["yy",h])[2]=t,d[3]=+e>0,d[4]=r,no.apply(null,d)}function io(e){return void 0===e?eo:"function"==typeof e&&(eo=e,!0)}function so(e,t){return void 0!==to[e]&&(void 0===t?to[e]:(to[e]=t,"s"===e&&(to.ss=t-1),!0))}function oo(e,t){if(!this.isValid())return this.localeData().invalidDate();var n,r,i=!1,s=to;return"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(i=e),"object"==typeof t&&(s=Object.assign({},to,t),null!=t.s&&null==t.ss&&(s.ss=t.s-1)),r=ro(this,!i,s,n=this.localeData()),i&&(r=n.pastFuture(+this,r)),n.postformat(r)}var ao=Math.abs;function co(e){return(e>0)-(e<0)||+e}function lo(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,r,i,s,o,a,c=ao(this._milliseconds)/1e3,l=ao(this._days),u=ao(this._months),h=this.asSeconds();return h?(e=ue(c/60),t=ue(e/60),c%=60,e%=60,n=ue(u/12),u%=12,r=c?c.toFixed(3).replace(/\.?0+$/,""):"",i=h<0?"-":"",s=co(this._months)!==co(h)?"-":"",o=co(this._days)!==co(h)?"-":"",a=co(this._milliseconds)!==co(h)?"-":"",i+"P"+(n?s+n+"Y":"")+(u?s+u+"M":"")+(l?o+l+"D":"")+(t||e||c?"T":"")+(t?a+t+"H":"")+(e?a+e+"M":"")+(c?a+r+"S":"")):"P0D"}var uo=ar.prototype;return uo.isValid=sr,uo.abs=xs,uo.add=ks,uo.subtract=Cs,uo.as=Ds,uo.asMilliseconds=zs,uo.asSeconds=Ps,uo.asMinutes=Is,uo.asHours=Rs,uo.asDays=Ns,uo.asWeeks=Hs,uo.asMonths=Fs,uo.asQuarters=Vs,uo.asYears=Bs,uo.valueOf=As,uo._bubble=Es,uo.clone=Ys,uo.get=Us,uo.milliseconds=qs,uo.seconds=$s,uo.minutes=Gs,uo.hours=Xs,uo.days=Ks,uo.weeks=Zs,uo.months=Js,uo.years=Qs,uo.humanize=oo,uo.toISOString=lo,uo.toString=lo,uo.toJSON=lo,uo.locale=ai,uo.localeData=li,uo.toIsoString=C("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",lo),uo.lang=ci,V("X",0,0,"unix"),V("x",0,0,"valueOf"),Pe("x",je),Pe("X",Le),Fe("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e))}),Fe("x",function(e,t,n){n._d=new Date(he(e))}),i.version="2.29.4",s(Kn),i.fn=ls,i.min=er,i.max=tr,i.now=nr,i.utc=m,i.unix=us,i.months=vs,i.isDate=d,i.locale=gn,i.invalid=b,i.duration=Tr,i.isMoment=O,i.weekdays=bs,i.parseZone=hs,i.localeData=bn,i.isDuration=cr,i.monthsShort=ys,i.weekdaysMin=ws,i.defineLocale=vn,i.updateLocale=yn,i.locales=_n,i.weekdaysShort=_s,i.normalizeUnits=ie,i.relativeTimeRounding=io,i.relativeTimeThreshold=so,i.calendarFormat=Br,i.prototype=ls,i.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"},i}()}).call(this,n("YuTi")(e))},wq8c:function(e,t,n){var r,i,s;!function(o){if("object"==typeof e.exports){var a=o(null,t);void 0!==a&&(e.exports=a)}else i=[n,t],void 0===(s="function"==typeof(r=o)?r.apply(t,i):r)||(e.exports=s)}(function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=void 0;t.default=["ru",[["AM","PM"],n,n],n,[["\u0432\u0441","\u043f\u043d","\u0432\u0442","\u0441\u0440","\u0447\u0442","\u043f\u0442","\u0441\u0431"],n,["\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"],["\u0432\u0441","\u043f\u043d","\u0432\u0442","\u0441\u0440","\u0447\u0442","\u043f\u0442","\u0441\u0431"]],[["\u0412","\u041f","\u0412","\u0421","\u0427","\u041f","\u0421"],["\u0432\u0441","\u043f\u043d","\u0432\u0442","\u0441\u0440","\u0447\u0442","\u043f\u0442","\u0441\u0431"],["\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"],["\u0432\u0441","\u043f\u043d","\u0432\u0442","\u0441\u0440","\u0447\u0442","\u043f\u0442","\u0441\u0431"]],[["\u042f","\u0424","\u041c","\u0410","\u041c","\u0418","\u0418","\u0410","\u0421","\u041e","\u041d","\u0414"],["\u044f\u043d\u0432.","\u0444\u0435\u0432\u0440.","\u043c\u0430\u0440.","\u0430\u043f\u0440.","\u043c\u0430\u044f","\u0438\u044e\u043d.","\u0438\u044e\u043b.","\u0430\u0432\u0433.","\u0441\u0435\u043d\u0442.","\u043e\u043a\u0442.","\u043d\u043e\u044f\u0431.","\u0434\u0435\u043a."],["\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"]],[["\u042f","\u0424","\u041c","\u0410","\u041c","\u0418","\u0418","\u0410","\u0421","\u041e","\u041d","\u0414"],["\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."],["\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"]],[["\u0434\u043e \u043d.\u044d.","\u043d.\u044d."],["\u0434\u043e \u043d. \u044d.","\u043d. \u044d."],["\u0434\u043e \u0420\u043e\u0436\u0434\u0435\u0441\u0442\u0432\u0430 \u0425\u0440\u0438\u0441\u0442\u043e\u0432\u0430","\u043e\u0442 \u0420\u043e\u0436\u0434\u0435\u0441\u0442\u0432\u0430 \u0425\u0440\u0438\u0441\u0442\u043e\u0432\u0430"]],1,[6,0],["dd.MM.y","d MMM y '\u0433'.","d MMMM y '\u0433'.","EEEE, d MMMM y '\u0433'."],["HH:mm","HH:mm:ss","HH:mm:ss z","HH:mm:ss zzzz"],["{1}, {0}",n,n,n],[",","\xa0",";","%","+","-","E","\xd7","\u2030","\u221e","\u043d\u0435\xa0\u0447\u0438\u0441\u043b\u043e",":"],["#,##0.###","#,##0\xa0%","#,##0.00\xa0\xa4","#E0"],"RUB","\u20bd","\u0440\u043e\u0441\u0441\u0438\u0439\u0441\u043a\u0438\u0439 \u0440\u0443\u0431\u043b\u044c",{GEL:[n,"\u10da"],RON:[n,"L"],RUB:["\u20bd"],RUR:["\u0440."],THB:["\u0e3f"],TMT:["\u0422\u041c\u0422"],TWD:["NT$"],UAH:["\u20b4"],XXX:["XXXX"]},"ltr",function(e){var t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return 0===n&&t%10==1&&t%100!=11?1:0===n&&t%10===Math.floor(t%10)&&t%10>=2&&t%10<=4&&!(t%100>=12&&t%100<=14)?3:0===n&&t%10==0||0===n&&t%10===Math.floor(t%10)&&t%10>=5&&t%10<=9||0===n&&t%100===Math.floor(t%100)&&t%100>=11&&t%100<=14?4:5}]})},"wzM+":function(e,t,n){"use strict";function r(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.width,o=r&&e.matchPatterns[r]||e.matchPatterns[e.defaultMatchWidth],a=t.match(o);if(!a)return null;var c,l=a[0],u=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],h=Array.isArray(u)?s(u,function(e){return e.test(l)}):i(u,function(e){return e.test(l)});c=e.valueCallback?e.valueCallback(h):h,c=n.valueCallback?n.valueCallback(c):c;var d=t.slice(l.length);return{value:c,rest:d}}}function i(e,t){for(var n in e)if(e.hasOwnProperty(n)&&t(e[n]))return n}function s(e,t){for(var n=0;n<e.length;n++)if(t(e[n]))return n}n.d(t,"a",function(){return r})},x0vo:function(e,t,n){"use strict";n.d(t,"a",function(){return X});var r=n("mrSG"),i=n("ofXK"),s=n("fXoL"),o=n("3Pt+"),a=n("tyNb"),c=n("xwJx"),l=n("lkBS"),u=n("OzZK"),h=n("bNXi"),d=n("KPd8"),f=n("PCNd"),p=n("rgsH");let m=class{constructor(e){this.directories=e,this.licensingOptions={fullName:"\u041e\u0431\u0449\u0435\u0441\u0442\u0432\u043e \u0441 \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u043d\u043e\u0439 \u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0441\u0442\u044c\u044e \xab\u0426\u041d\u0421 \u0421\u041e\u0424\u0422\xbb",name:"",tin:"",kpp:"",ogrh:"1197746326073",legalAddress:"",mailingAddress:"",phone:"",website:"www.cnssoft.ru",email:"info@cnssoft.ru"},e.getLicensingOptions().subscribe(e=>{console.log(e),e.forEach(e=>this.setData(e))})}setData(e){switch(e.name){case"\u041d\u0430\u0438\u043c\u0435\u043d\u043e\u0432\u0430\u043d\u0438\u0435 \u043e\u0440\u0433\u0430\u043d\u0438\u0437\u0430\u0446\u0438\u0438":this.licensingOptions.name=e.value;break;case"\u0410\u0434\u0440\u0435\u0441":this.licensingOptions.legalAddress=e.value,this.licensingOptions.mailingAddress=e.value;break;case"\u0418\u041d\u041d":this.licensingOptions.tin=e.value;break;case"\u041a\u041f\u041f":this.licensingOptions.kpp=e.value;break;case"\u0422\u0435\u043b\u0435\u0444\u043e\u043d":this.licensingOptions.phone=e.value}}};m.ctorParameters=()=>[{type:p.a}],m=Object(r.b)([Object(s.n)({selector:"app-about-company",template:'\n    <app-overlay></app-overlay>\n\n    <app-panel header="\u041e \u043a\u043e\u043c\u043f\u0430\u043d\u0438\u0438">\n      <div class="info">\n        <div class="label">\u041f\u043e\u043b\u043d\u043e\u0435 \u043d\u0430\u0438\u043c\u0435\u043d\u043e\u0432\u0430\u043d\u0438\u0435 \u043f\u0440\u0435\u0434\u043f\u0440\u0438\u044f\u0442\u0438\u044f:\t</div>\n        <div>{{licensingOptions.fullName}}</div>\n        <div><span class="label">\u0421\u043e\u043a\u0440\u0430\u0449\u0435\u043d\u043d\u043e\u0435 \u043d\u0430\u0438\u043c\u0435\u043d\u043e\u0432\u0430\u043d\u0438\u0435:</span> \t{{licensingOptions.name}}</div>\n        <div><span class="label">\u0418\u041d\u041d</span>\t{{licensingOptions.tin}}</div>\n        <div><span class="label">\u041a\u041f\u041f</span>\t{{licensingOptions.kpp}}</div>\n        <div><span class="label">\u041e\u0413\u0420\u041d</span>\t{{licensingOptions.ogrh}}</div>\n        <div class="label">\u042e\u0440\u0438\u0434\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u0430\u0434\u0440\u0435\u0441:</div>\n        <div>{{licensingOptions.legalAddress}}</div>\n        <div class="label">\u041f\u043e\u0447\u0442\u043e\u0432\u044b\u0439 \u0430\u0434\u0440\u0435\u0441:</div>\n        <div>{{licensingOptions.mailingAddress}}</div>\n        <div><span class="label">\u0422\u0435\u043b\u0435\u0444\u043e\u043d:</span> {{licensingOptions.phone}}</div>\n        <div><span class="label">\u0421\u0430\u0439\u0442 \u043e\u0440\u0433\u0430\u043d\u0438\u0437\u0430\u0446\u0438\u0438:</span> <a target="_blank" [href]="\'https://\' + licensingOptions.website">{{licensingOptions.website}}</a></div>\n        <div><span class="label">\u042d\u043b\u0435\u043a\u0442\u0440\u043e\u043d\u043d\u044b\u0439 \u0430\u0434\u0440\u0435\u0441:</span>\t<a [href]="\'mailto:\'+licensingOptions.email">{{licensingOptions.email}}</a></div>\n      </div>\n    </app-panel>\n  ',styles:["\n      :host {\n        display: flex;\n        overflow: hidden;\n        flex: 1\n      }\n\n      /* info */\n\n      .info {\n        flex: 1;\n        padding: 0 1.5em 1.5em;\n        overflow: auto;\n      }\n\n      .label {\n        margin-top: 0.5rem;\n        font-size: 1rem;\n        color: var(--schema-grey300);\n        font-weight: 500;\n        position: relative;\n      }\n      .label:not(:last-child) {\n        margin-bottom: 0;\n      }\n    "]})],m);var g=n("Cfvw"),v=n("lJxs"),y=n("W8w0"),b=n("Aayy");let _=class{constructor(e,t){this.documents=t,this.items=Object(g.a)(e.get()).pipe(Object(v.a)(e=>{const t=e.filter(e=>e.kind===y.a.Doc),n=e.filter(e=>e.kind===y.a.LKP);return[...t.length?["\u0414\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u044b"]:[],...t,...t.length?["\u041b\u0438\u0441\u0442\u044b \u041a\u041f"]:[],...n]}))}open(e){e.kind===y.a.Doc?this.documents.openDocument(e.id):this.documents.openLKP(e.id)}};_.ctorParameters=()=>[{type:b.a},{type:y.b}],_=Object(r.b)([Object(s.n)({selector:"app-favorites",template:'\n    <app-overlay></app-overlay>\n    <app-panel header="\u0418\u0437\u0431\u0440\u0430\u043d\u043d\u043e\u0435">\n      <app-item-list [items]="items">\n        <ng-template let-item>\n          <app-favorite-button [item]="item" [kind]="item.kind"></app-favorite-button>\n\n          <div (click)="open(item)" class="name-and-desc">\n            <div [title]="item.name" class="name">{{ item.name }}</div>\n            <div [title]="item.documentType" class="desc">{{ item.documentType }}</div>\n          </div>\n\n          <app-comments-count [item]="item"></app-comments-count>\n        </ng-template>\n      </app-item-list>\n    </app-panel>\n  ',styles:["\n      :host {\n        display: flex;\n        overflow: hidden;\n      }\n\n      app-favorite-button,\n      app-comments-count {\n        font-size: 1rem;\n        color: var(--schema-grey300);\n      }\n\n      .name-and-desc {\n        padding: 0.5rem 1rem;\n        cursor: pointer;\n      }\n    "]})],_);var w=n("mjQ1"),S=n("SURy"),x=n("eIep"),O=n("lU8C");let k=class{constructor(e,t,n){this.entities=e,this.metadata=t,this.content=n,this.items=[]}ngOnInit(){this.get()}get(){return Object(g.a)(this.metadata.classes.getNames("\u0421.\u0418\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u044f")).pipe(Object(x.a)(e=>this.entities.analytic.query({where:{class:{eq:e.id}},select:Object(w.f)(O.a,e)},{skip:0,take:1e6})),Object(v.a)(e=>Object.assign(Object.assign({},e),{items:e.items.map(e=>Object(w.j)(e,O.a))}))).subscribe(e=>{this.items=e.items})}download(e){return Object(r.a)(this,void 0,void 0,function*(){(null==e?void 0:e.id)&&Object(l.g)(yield this.content.url(e.id),e.name)})}};k.ctorParameters=()=>[{type:w.a},{type:S.c},{type:l.b}],k=Object(r.b)([Object(s.n)({selector:"app-instruction",template:'\n    <app-overlay></app-overlay>\n    <app-panel header="\u0418\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438 \u043f\u043e \u0441\u0438\u0441\u0442\u0435\u043c\u0435">\n      <div class="instruction-list">\n        <ul>\n          <li *ngFor="let item of items">\n            <span>{{ item.name }}</span>\n            <button class="button is-secondary download-button" (click)="download(item?.file)">\n              <core-icon name="app:16-download"></core-icon>\n            </button>\n          </li>\n        </ul>\n      </div>\n    </app-panel>\n  ',styles:["\n      :host {\n        display: flex;\n        overflow: hidden;\n      }\n\n      ul {\n        padding: 0.5rem 1.5rem 1.5rem;\n      }\n\n      li {\n        display: flex;\n        justify-content: space-between;\n        padding-top: 0.5rem;\n      }\n    "]})],k);var C=n("Ml5Y"),M=n("LtKc"),E=n("x7h3"),T=n("lO8T");let j=class{constructor(e,t,n,r,i){this.service=e,this.projects=t,this.log=n,this.content=r,this.router=i,this.notificationType=M.a,this.items=e.items.pipe(Object(v.a)(e=>e.length?["\u041d\u043e\u0432\u044b\u0435",...e.filter(({type:e})=>e!==M.a.Seen),"\u041f\u0440\u043e\u0447\u0438\u0442\u0430\u043d\u043d\u044b\u0435",...e.filter(({type:e})=>e===M.a.Seen)]:[])),this.files=this.log.items}ngOnDestroy(){}goto(e){return Object(r.a)(this,void 0,void 0,function*(){let t=[];switch(e.eventType){case T.a.Agreement:t=["project",e.project.id,"agreement-on-templates",e.base,"stages"];break;case T.a.Remark:case T.a.UserTask:t=["project",e.project.id,"tasks",e.base];break;case T.a.ChangedExecutor:case T.a.ChangedOwner:case T.a.ChangedStatus:case T.a.UpdatedDeadline:case T.a.CreatedRemark:case T.a.CreatedChat:case T.a.LinkedDocument:case T.a.UnlinkedDocument:t=["project",e.project.id,"remarks"]}yield this.router.navigate([{outlets:{primary:t,aside:null}}],{queryParams:{remarkId:e.base},replaceUrl:!0,skipLocationChange:!1})})}seenAll(){return Object(r.a)(this,void 0,void 0,function*(){yield this.service.setShown()})}seen(e){return Object(r.a)(this,void 0,void 0,function*(){e.type!==M.a.Seen?yield this.service.setShownForOne(e):yield this.service.removeNotification(e)})}download(e){return Object(r.a)(this,void 0,void 0,function*(){yield Object(l.g)(yield this.content.url(e.fileGuid));const t=this.log.getLogFile(),n=t.find(t=>t.date===e.date);n&&(n.seen=!0),this.log.setLogFile("",t),this.log.seen.next(null)})}};j.ctorParameters=()=>[{type:M.b},{type:C.a},{type:E.a},{type:l.b},{type:a.d}],j=Object(r.b)([Object(s.n)({selector:"app-notifications",template:'\n    <app-overlay></app-overlay>\n    <app-panel header="\u0423\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u044f">\n      <div class="notification-mark__block">\n        <button (click)="seenAll()" class="button is-primary notification-mark__button">\u041e\u0442\u043c\u0435\u0442\u0438\u0442\u044c \u043a\u0430\u043a \u043f\u0440\u043e\u0447\u0438\u0442\u0430\u043d\u043d\u044b\u0435</button>\n      </div>\n      <app-item-list [items]="items" empty="\u041d\u0435\u0442 \u0443\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u0439">\n        <ng-template let-item>\n          \x3c!--<app-badge [value]="item.count" [type]="getType(item)"></app-badge>--\x3e\n          <div (click)="goto(item)" class="name-and-desc">\n            <div [title]="item.text" class="name">{{ item.text }}</div>\n            <div [title]="item.project?.name" class="desc">\n              {{item.project?.name}}</div>\n          </div>\n          <span class="notification__date time" [title]="item.created | date: \'short\'" > {{ item.created | date: \'short\' }} </span>\n          <button (click)="seen(item)" title="\u041f\u0440\u043e\u0447\u0438\u0442\u0430\u043d\u043e" class="button" [ngClass]="item.type !== notificationType.Seen ? \'is-primary\' : \'is-danger\'">\n            <core-icon [name]="item.type !== notificationType.Seen ? \'app:16-check\' : \'app:16-close\'"></core-icon>\n          </button>\n        </ng-template>\n      </app-item-list>\n    </app-panel>\n  ',styles:["\n      :host {\n        display: flex;\n        overflow: hidden;\n        position: relative;\n        z-index: 1000 !important;\n      }\n\n      .name-and-desc {\n        padding: 0.5rem 1rem;\n        cursor: pointer;\n      }\n\n      .name {\n        white-space: pre-wrap;\n      }\n\n      .time {\n        color: var(--schema-grey300);\n      }\n      .notification__date {\n        margin-right: 7px;\n      }\n\n      .notification-mark__button {\n        width: 190px;\n      }\n      .notification-mark__block {\n        text-align: center;\n        margin-top: 10px;\n      }\n      .files {\n        cursor: pointer;\n        margin-left: 1rem;\n      }\n      .files:hover {\n        color: var(--schema-accent);\n      }\n      .file-badge {\n        width: 1rem;\n      }\n    "]})],j);var D=n("btuV");let A=class{constructor(e,t,n,r){this.fb=e,this.security=t,this.auth=n,this.notification=r,this.form=this.fb.group({id:[],password:["",[o.r.required,o.r.minLength(6)]],confirmPassword:["",o.r.required]}),this.cancel=new s.x,this.loading=!1,this.shawPassword=!1,this.shawConfirmPassword=!1}ngOnInit(){return Object(r.a)(this,void 0,void 0,function*(){const e=(yield this.security.users.query()).find(e=>e.name===this.auth.identity.name);e?this.form.patchValue(e):this.notification.error("\u041d\u0435 \u0443\u0434\u0430\u043b\u043e\u0441\u044c \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435",""),this.form.controls.confirmPassword.setValidators([Object(c.G)(this.form.get("password"))])})}update(){return Object(r.a)(this,void 0,void 0,function*(){this.loading=!0;const{id:e,password:t}=this.form.getRawValue();yield this.security.users.update({id:e,password:t}).then(()=>{this.notification.success("\u041f\u0430\u0440\u043e\u043b\u044c \u0443\u0441\u043f\u0435\u0448\u043d\u043e \u0438\u0437\u043c\u0435\u043d\u0435\u043d",""),this.cancel.emit()}).catch(e=>{this.notification.error(e.message,""),this.loading=!1})})}};A.ctorParameters=()=>[{type:o.e},{type:D.c},{type:c.b},{type:h.b}],A.propDecorators={cancel:[{type:s.S}]},A=Object(r.b)([Object(s.n)({selector:"app-password-form",template:'<form [formGroup]="form">\n  <div class="form">\n    <div class="block">\n      <label>\u041f\u0430\u0440\u043e\u043b\u044c</label>\n      <div class="form-group">\n        <input [type]="shawPassword ? \'text\' : \'password\'" formControlName="password" />\n        <button><core-icon (click)="shawPassword = !shawPassword" [name]="shawPassword ? \'app:16-eye-invisible\' : \'app:16-eye\'"></core-icon></button>\n      </div>\n      <div class="required" *ngIf="form.get(\'password\').touched">\n        <span *ngIf="form.get(\'password\').hasError(\'required\')">\u041d\u0435 \u0437\u0430\u043f\u043e\u043b\u043d\u0435\u043d\u043e</span>\n        <span *ngIf="form.get(\'password\').hasError(\'minlength\')">\u041c\u0438\u043d\u0438\u043c\u0443\u043c 6 \u0441\u0438\u043c\u0432\u043e\u043b\u0430</span>\n      </div>\n    </div>\n    <div class="block">\n      <label>\u041f\u043e\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043d\u0438\u0435 \u043f\u0430\u0440\u043e\u043b\u044f</label>\n      <div class="form-group">\n        <input [type]="shawConfirmPassword ? \'text\' : \'password\'" formControlName="confirmPassword" />\n        <button><core-icon (click)="shawConfirmPassword = !shawConfirmPassword" [name]="shawConfirmPassword ? \'app:16-eye-invisible\' : \'app:16-eye\'"></core-icon></button>\n      </div>\n      <div class="required" *ngIf="form.get(\'confirmPassword\').touched">\n        <span *ngIf="form.get(\'confirmPassword\').hasError(\'required\')">\u041d\u0435 \u0437\u0430\u043f\u043e\u043b\u043d\u0435\u043d\u043e</span>\n        <span *ngIf="form.get(\'confirmPassword\').hasError(\'mismatch\')">\u041f\u0430\u0440\u043e\u043b\u0438 \u043d\u0435 \u0441\u043e\u0432\u043f\u0430\u0434\u0430\u044e\u0442</span>\n        <span *ngIf="form.get(\'confirmPassword\').hasError(\'minlength\')">\u041c\u0438\u043d\u0438\u043c\u0443\u043c 6 \u0441\u0438\u043c\u0432\u043e\u043b\u0430</span>\n      </div>\n    </div>\n  </div>\n  <div class="footer-block">\n    <button class="btn btn-primary" type="submit" [nzLoading]="loading" nz-button (click)="update()">\u0421\u043e\u0445\u0440\u0430\u043d\u0438\u0442\u044c</button>\n    <button class="btn btn-default" type="button" (click)="cancel.emit()">\u041e\u0442\u043c\u0435\u043d\u0438\u0442\u044c</button>\n  </div>\n</form>\n',providers:[{provide:D.c,useClass:D.c}],styles:["form {\n  display: flex;\n  justify-content: center;\n  flex-direction: column;\n}\n\n.form {\n  display: flex;\n  gap: 10px;\n}\n\n.form .block {\n  display: flex;\n  flex-direction: column;\n  margin-bottom: 0.5rem;\n}\n\n.text-right {\n  text-align: right;\n}\n\ninput {\n  border: 1px solid var(--schema-grey300);\n  border-radius: 3px;\n  outline: none;\n  font-size: 14px;\n  padding-right: 20px;\n}\n\ninput:focus {\n  border-color: #00a5e4;\n}\n\n.required {\n  color: red;\n  font-size: 12px;\n}\n\n.ng-invalid.ng-touched {\n  border-color: red;\n}\n\n.footer-block {\n  display: flex;\n  gap: 10px;\n  align-items: flex-start;\n}\n\nlabel {\n  margin-top: 1rem;\n  font-size: 14px;\n  color: var(--schema-grey300);\n  font-weight: 500;\n  position: relative;\n}\n\n.btn {\n  padding: 1px 10px;\n  height: 26px;\n}\n\n.form-group {\n  position: relative;\n}\n\n.form-group button {\n  position: absolute;\n  right: 5px;\n  top: 2px;\n  background: none;\n  border: none;\n  padding: 0;\n  cursor: pointer;\n}"]})],A);var L=n("wVPz"),z=n("9eNV"),P=n("qhR1");let I=class{constructor(e,t,n){this.documents=n,this.resolve=new s.x,this.Role=P.e,this.items=t.getLinks(e.id).pipe(Object(v.a)(e=>{const t=N(R(e.filter(e=>e.kind===y.a.Doc),e=>e.project)),n=N(R(e.filter(e=>e.kind===y.a.LKP),e=>e.project));return[...t.length?["\u0414\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u044b"]:[],...t,...n.length?["\u041b\u0438\u0441\u0442\u044b \u041a\u041f"]:[],...n]}))}open(e){e.kind===y.a.Doc?this.documents.openDocument(e.id):this.documents.openLKP(e.id)}};function R(e,t){const n=new Map;return e.forEach(e=>{const r=t(e),i=n.get(r);i?i.push(e):n.set(r,[e])}),n}function N(e){const t=[];return Array.from(e.keys()).map(n=>{t.push(n,...e.get(n))}),t}I.ctorParameters=()=>[{type:void 0,decorators:[{type:s.C,args:[z.a]}]},{type:L.a},{type:y.b}],I.propDecorators={resolve:[{type:s.S}]},I=Object(r.b)([Object(s.n)({selector:"app-profile-links",template:'\n    <app-panel header="\u0421\u0432\u044f\u0437\u0430\u043d\u043d\u044b\u0435 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u044b" [showBack]="true" [showClose]="false" (back)="resolve.emit()">\n      <app-item-list [items]="items">\n        <ng-template let-item>\n          <div (click)="open(item)" class="name-and-desc">\n            <div [title]="item.name" class="name">{{ item.name }}</div>\n            <div *forRole="[Role.Dkk, Role.ProjectInstitute]" [title]="item.project + \' \' + item.stage + \' \' + item.documentType"\n                 class="desc">{{ item.project + \' \' + item.stage + \' \' + item.documentType }}</div>\n          </div>\n\n          <app-status-badge [status]="item.status"></app-status-badge>\n        </ng-template>\n      </app-item-list>\n    </app-panel>\n  ',styles:["\n      app-panel {\n        height: 100%;\n      }\n\n      .name-and-desc {\n        padding: 0.5rem 1rem 0.5rem 0;\n        cursor: pointer;\n      }\n    "]})],I);var H=n("jhN1"),F=n("2Vo4"),V=n("pLZG");let B=class{constructor(e,t,n,r,i,s,o,a){this.profile=e,this.role=t,this.adminRole=n,this.rolesTitle=r,this.auth=i,this.sanitizer=s,this.content=o,this.security=a,this.showLinks=!1,this.isDirty=!1,this.isFocused=!1,this.profileData={fullname:""},this.newPassword=!1,this.roles=P.g,e.subscribe(e=>{e&&(this.profileUser=e,this.profileUser.photo&&(this.profileData.photo=this.profileUser.photo),this.profileData.fullname=this.profileUser.fullname||this.profileUser.name)}),this.canSetPassword=i.hasPrivilege(c.p.SecuritySetPasswords)}logout(){this.auth.logout()}url(e){return e&&`url(${this.sanitizer.sanitize(s.cb.URL,e)})`}uploadFiles(e){return Object(r.a)(this,void 0,void 0,function*(){const t=yield this.content.upload(e.target.files[0]).pipe(Object(V.a)(e=>!Object(l.e)(e))).toPromise();t&&(this.isDirty=!0,this.profileData.photo=t)})}cancel(){this.isDirty=!1,this.profileData.fullname=this.profileUser&&(this.profileUser.fullname||this.profileUser.name)||"",delete this.profileData.photo}update(){var e,t;return Object(r.a)(this,void 0,void 0,function*(){const n=JSON.parse(JSON.stringify(this.profileData)),r={fullname:this.profileUser.fullname,photo:this.profileUser.photo};(null===(e=n.photo)||void 0===e?void 0:e.id)&&(null===(t=r.photo)||void 0===t?void 0:t.id)&&n.photo.id===r.photo.id&&delete r.photo,yield this.security.profiles.update(this.profileUser.id,n,r),this.profileUser.photo=this.profileData.photo,this.profileUser.fullname=this.profileData.fullname,this.profile.next(this.profileUser),this.isDirty=!1})}change(e){this.profileData.fullname===this.profileUser.fullname||this.profileData.fullname===this.profileUser.name?this.isDirty=!0:this.isDirty=!!Object.keys(this.profileData.photo).length,this.profileData.fullname=e.target.value}openTelegram(){return Object(r.a)(this,void 0,void 0,function*(){const e=new XMLHttpRequest,{tg:{nativeElement:t}}=this;e.onreadystatechange=function(){if(this.readyState===XMLHttpRequest.DONE&&200===this.status){const e=JSON.parse(this.responseText);console.log(e),console.log(e.user),loadJS(e.url,e.user,t)}},e.open("GET","/api/v1/tbot/widget");const n=this.auth.getAccessToken();e.setRequestHeader("Authorization","Bearer "+n),e.send()})}};B.ctorParameters=()=>[{type:F.a,decorators:[{type:s.C,args:[z.b]}]},{type:Array,decorators:[{type:s.C,args:[P.b]}]},{type:Array,decorators:[{type:s.C,args:[P.d]}]},{type:void 0,decorators:[{type:s.C,args:[z.c]}]},{type:c.b},{type:H.b},{type:l.b},{type:D.c}],B.propDecorators={tg:[{type:s.mb,args:["tg"]}]},B=Object(r.b)([Object(s.n)({selector:"app-profile",template:'\n    <app-overlay></app-overlay>\n\n    <app-profile-links *ngIf="showLinks" (resolve)="showLinks = false"></app-profile-links>\n    <app-panel header="\u041f\u0440\u043e\u0444\u0438\u043b\u044c">\n      <ng-container save>\n        <ng-container *ngIf="isDirty">\n          <button class="button is-primary is-medium mr-2" (click)="update()">\u0421\u043e\u0445\u0440\u0430\u043d\u0438\u0442\u044c</button>\n          <button class="button is-secondary is-medium" (click)="cancel()">\u041e\u0442\u043c\u0435\u043d\u0438\u0442\u044c</button>\n        </ng-container>\n      </ng-container>\n      <div [style.background-image]="url(profileData.photo || profileUser?.photo | contentUrl | async)" class="photo">\n        <button class="button is-secondary is-large mt-2 mb-3" (click)="uploadExcel.click()">\u0417\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c \u0444\u043e\u0442\u043e</button>\n        <input\n          hidden\n          type="file"\n          #uploadExcel\n          (change)="uploadFiles($event)"\n        />\n      </div>\n      <div class="buttons">\n        <button class="button is-white floating-button" (click)="logout()" title="\u0412\u044b\u0439\u0442\u0438">\n          <core-icon name="app:16-logout"></core-icon>\n        </button>\n      </div>\n      <div class="info">\n        <app-password-form (cancel)="newPassword = false" *ngIf="newPassword"></app-password-form>\n        <div class="label">\n          \u041f\u043e\u043b\u043d\u043e\u0435 \u0438\u043c\u044f\n          <button class="set-password" *ngIf="!newPassword" (click)="newPassword = true">\u0417\u0430\u0434\u0430\u0442\u044c \u043d\u043e\u0432\u044b\u0439 \u043f\u0430\u0440\u043e\u043b\u044c</button>\n        </div>\n        <input\n          [class.bordered]="isFocused"\n          [class.changed]="!(profileData.fullname === profileUser?.fullname\n          || profileData.fullname === profileUser?.name)"\n          class="fullname"\n          type="text"\n          [value]="profileData.fullname"\n          (change)="change($event)"\n          (focus)="isFocused = true"\n          (blur)="isFocused = false"\n        >\n        <div class="label">\u0423\u0440\u043e\u0432\u0435\u043d\u044c \u0434\u043e\u0441\u0442\u0443\u043f\u0430</div>\n        <div>\n          {{ rolesTitle && adminRole?.length ? rolesTitle[adminRole] : role && rolesTitle[role] }}<span *ngIf="profileUser?.unit"> \u2022 {{ profileUser?.unit }} </span>\n        </div>\n\n        <div *ngIf="profileUser?.email"><core-icon name="app:16-mail"></core-icon> {{ profileUser?.email }}</div>\n        <div *ngIf="profileUser?.phone"><core-icon name="app:16-phone"></core-icon> {{ profileUser?.phone }}</div>\n        <div class="payment-organization">\n          <div class="title">\u041f\u043b\u0430\u0442\u0435\u0436\u043d\u0430\u044f \u043e\u0440\u0433\u0430\u043d\u0438\u0437\u0430\u0446\u0438\u044f</div>\n          <div class="label">\u042e\u0440. \u043d\u0430\u0438\u043c\u0435\u043d\u043e\u0432\u0430\u043d\u0438\u0435</div>\n          <div class="data">{{profileUser?.paymentOrganization?.length && profileUser?.paymentOrganization[0].legalName}}</div>\n          <div class="label">\u041f\u043e\u043b\u043d\u043e\u0435 \u043d\u0430\u0438\u043c\u0435\u043d\u043e\u0432\u0430\u043d\u0438\u0435</div>\n          <div class="data">{{profileUser?.paymentOrganization?.length && profileUser?.paymentOrganization[0].extendedName}}</div>\n          <div class="label">\u0418\u041d\u041d</div>\n          <div class="data">{{profileUser?.paymentOrganization?.length && profileUser?.paymentOrganization[0].tin}}</div>\n        </div>\n      </div>\n      <div>\n        <button class="telegram-bot" (click)="openTelegram()">Telegram bot</button>\n        <div #tg></div>\n      </div>\n      <div (click)="showLinks = true" class="docs">\n        <span>\u0421\u0432\u044f\u0437\u0430\u043d\u043d\u044b\u0435 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u044b</span>\n        <core-icon class="flip-x" name="app:24-chevron-left"></core-icon>\n      </div>\n    </app-panel>\n  ',styles:["\n      :host {\n        display: flex;\n        overflow: hidden;\n        z-index: 3 !important;\n      }\n\n      app-profile-links + app-panel {\n        display: none;\n      }\n\n      /* photo */\n\n      .photo {\n        height: 30vh;\n        background-color: var(--schema-grey200);\n        background-size: 100%;\n        background-position: center;\n        display: flex;\n        align-items: flex-end;\n        justify-content: center;\n      }\n\n      /* buttons */\n\n      .buttons {\n        transform: translateY(-50%);\n        margin: 0 1.5rem;\n        align-items: flex-end;\n        flex-direction: column;\n      }\n\n      .buttons .button {\n        margin-bottom: 0;\n      }\n\n      /* info */\n\n      .info {\n        flex: 1;\n        padding: 0 1.5em 1.5em;\n        overflow: auto;\n      }\n\n      h1 {\n        font-weight: bold;\n      }\n\n      h1 + div {\n        display: inline-block;\n        margin-bottom: 1.5rem;\n        color: var(--schema-grey400);\n      }\n\n      .info core-icon {\n        margin-right: 0.5em;\n        vertical-align: middle;\n        color: var(--schema-grey400);\n      }\n\n      /* docs */\n\n      .docs {\n        display: flex;\n        align-items: center;\n        margin: 0 1.5rem;\n        padding: 1.5rem 0;\n        cursor: pointer;\n        font-size: 0.75rem;\n        border-top: thin solid var(--schema-grey200);\n      }\n\n      .docs > :first-child {\n        flex: 1;\n      }\n\n      .docs core-icon {\n        font-size: 1rem;\n      }\n\n      .fullname {\n        width: 100%;\n        outline: none;\n        border: none;\n        font-weight: 700;\n        padding: 0;\n        font-size: 1rem;\n      }\n\n      .changed {\n       background: var(--schema-grey200);\n      }\n\n      .bordered {\n       border: 1px solid;\n      }\n\n      .payment-organization {\n        margin-top: 1.5rem;\n      }\n\n      .title {\n        font-size: 1.1rem;\n        font-weight: 700;\n      }\n\n      .label {\n        margin-top: 1rem;\n        font-size: 1rem;\n        color: var(--schema-grey300);\n        font-weight: 500;\n        position: relative;\n      }\n      .set-password {\n        position: absolute;\n        top: 0;\n        right: 0;\n        font-size: 12px;\n        color: var(--schema-grey300);\n        font-weight: 500;\n        background: white;\n        border: 1px solid var(--schema-grey300);\n        border-radius: 4px;\n        cursor: pointer;\n        opacity: .8;\n      }\n      .set-password:hover {\n        opacity: 1;\n      }\n      .data {\n        color: var(--schema-black);\n      }\n\n      .telegram-bot {\n        margin: 0 1.5rem;\n        border: 1px solid #2176e0;\n        background: none;\n        color: #2176e0;\n        border-radius: 4px;\n        font-size: 0.85rem;\n        cursor: pointer;\n      }\n    "]})],B);var Y=n("VRyK"),U=n("LRne");let W=class{constructor(){this.tmpl=null,this.empty="\u041d\u0435\u0442 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u043e\u0432"}get items(){return this._items}set items(e){var t,n;this._items=e,this.loading=Object(Y.a)(Object(U.a)(!0),null!==(n=null===(t=this.items)||void 0===t?void 0:t.pipe(Object(v.a)(()=>!1)))&&void 0!==n?n:Object(U.a)(!1))}isGroup(e){return"string"==typeof e}};W.propDecorators={tmpl:[{type:s.r,args:[s.ib]}],items:[{type:s.G}],empty:[{type:s.G}]},W=Object(r.b)([Object(s.n)({selector:"app-item-list",template:'\n    <app-loading-panel *ngIf="loading | async"></app-loading-panel>\n\n    <ul>\n      <li *ngFor="let item of items | async" [class.group]="isGroup(item)">\n        <ng-container *ngIf="isGroup(item)">\n          <app-badge [value]="item"></app-badge>\n        </ng-container>\n\n        <ng-container *ngIf="!isGroup(item)">\n          <ng-container *ngTemplateOutlet="tmpl; context: { $implicit: item }"></ng-container>\n        </ng-container>\n      </li>\n      <li class="group"><app-badge [value]="empty"></app-badge></li>\n    </ul>\n  ',changeDetection:s.j.OnPush,styles:["\n      :host {\n        overflow: auto;\n      }\n\n      :host,\n      app-loading-panel {\n        height: 100%;\n      }\n\n      app-loading-panel + ul {\n        display: none;\n      }\n\n      ul {\n        padding: 0 1.5rem 1.5rem;\n      }\n\n      .group {\n        padding: 0.5rem 0;\n      }\n\n      li:not(.group) {\n        display: flex;\n        align-items: center;\n        font-size: 0.75rem;\n      }\n\n      li:last-child:not(:first-child) {\n        display: none;\n      }\n    "]})],W);let q=class{constructor(e){this.router=e,this.cdk=!0}click(){this.router.navigate(["",{outlets:{aside:null}}])}};q.ctorParameters=()=>[{type:a.d}],q.propDecorators={cdk:[{type:s.z,args:["class.cdk-overlay-dark-backdrop"]}],click:[{type:s.A,args:["click"]}]},q=Object(r.b)([Object(s.n)({selector:"app-overlay",template:"",styles:["\n      :host {\n        flex: 1;\n      }\n    "]})],q);let $=class{constructor(e){this.router=e,this.header="",this.showBack=!1,this.showClose=!0,this.back=new s.x}close(){this.router.navigate(["",{outlets:{aside:null}}])}};$.ctorParameters=()=>[{type:a.d}],$.propDecorators={header:[{type:s.G}],showBack:[{type:s.G}],showClose:[{type:s.G}],back:[{type:s.S}]},$=Object(r.b)([Object(s.n)({selector:"app-panel",template:'\n    <header>\n      <button (click)="back.emit()" *ngIf="showBack" class="button is-white">\n        <core-icon name="app:24-chevron-left"></core-icon>\n      </button>\n      <h1>{{ header }}</h1>\n      <ng-content select="[save]"></ng-content>\n      <button (click)="close()" *ngIf="showClose" class="button is-white">\n        <core-icon name="app:24-close"></core-icon>\n      </button>\n    </header>\n    <ng-content></ng-content>\n  ',styles:["\n      :host {\n        display: flex;\n        flex-direction: column;\n        max-width: 100vw;\n        width: 30rem;\n        transform-origin: right;\n        animation: slide var(--duration-s);\n        background-color: var(--schema-white);\n      }\n\n      header {\n        display: flex;\n        align-items: center;\n        border-bottom: thin solid var(--schema-grey200);\n      }\n\n      h1 {\n        flex: 1;\n        padding: 0 1.5rem;\n        font-weight: bold;\n      }\n\n      button + h1 {\n        padding-left: 0;\n      }\n\n      header button {\n        width: 3em;\n        height: 3em;\n        font-size: 1rem;\n      }\n    "]})],$);const G=[{path:"profile",outlet:"aside",component:B},{path:"notifications",outlet:"aside",component:j},{path:"favorites",outlet:"aside",component:_},{path:"instruction",outlet:"aside",component:k},{path:"about",outlet:"aside",component:m}];let X=class{};X=Object(r.b)([Object(s.L)({imports:[a.g.forChild(G),i.c,c.g,l.a,f.a,d.a,o.j,o.p,h.a,u.c],declarations:[q,$,W,B,I,j,_,k,A,m],exports:[A]})],X)},x6pH:function(e,t,n){!function(e){"use strict";e.defineLocale("he",{months:"\u05d9\u05e0\u05d5\u05d0\u05e8_\u05e4\u05d1\u05e8\u05d5\u05d0\u05e8_\u05de\u05e8\u05e5_\u05d0\u05e4\u05e8\u05d9\u05dc_\u05de\u05d0\u05d9_\u05d9\u05d5\u05e0\u05d9_\u05d9\u05d5\u05dc\u05d9_\u05d0\u05d5\u05d2\u05d5\u05e1\u05d8_\u05e1\u05e4\u05d8\u05de\u05d1\u05e8_\u05d0\u05d5\u05e7\u05d8\u05d5\u05d1\u05e8_\u05e0\u05d5\u05d1\u05de\u05d1\u05e8_\u05d3\u05e6\u05de\u05d1\u05e8".split("_"),monthsShort:"\u05d9\u05e0\u05d5\u05f3_\u05e4\u05d1\u05e8\u05f3_\u05de\u05e8\u05e5_\u05d0\u05e4\u05e8\u05f3_\u05de\u05d0\u05d9_\u05d9\u05d5\u05e0\u05d9_\u05d9\u05d5\u05dc\u05d9_\u05d0\u05d5\u05d2\u05f3_\u05e1\u05e4\u05d8\u05f3_\u05d0\u05d5\u05e7\u05f3_\u05e0\u05d5\u05d1\u05f3_\u05d3\u05e6\u05de\u05f3".split("_"),weekdays:"\u05e8\u05d0\u05e9\u05d5\u05df_\u05e9\u05e0\u05d9_\u05e9\u05dc\u05d9\u05e9\u05d9_\u05e8\u05d1\u05d9\u05e2\u05d9_\u05d7\u05de\u05d9\u05e9\u05d9_\u05e9\u05d9\u05e9\u05d9_\u05e9\u05d1\u05ea".split("_"),weekdaysShort:"\u05d0\u05f3_\u05d1\u05f3_\u05d2\u05f3_\u05d3\u05f3_\u05d4\u05f3_\u05d5\u05f3_\u05e9\u05f3".split("_"),weekdaysMin:"\u05d0_\u05d1_\u05d2_\u05d3_\u05d4_\u05d5_\u05e9".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [\u05d1]MMMM YYYY",LLL:"D [\u05d1]MMMM YYYY HH:mm",LLLL:"dddd, D [\u05d1]MMMM YYYY HH:mm",l:"D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[\u05d4\u05d9\u05d5\u05dd \u05d1\u05be]LT",nextDay:"[\u05de\u05d7\u05e8 \u05d1\u05be]LT",nextWeek:"dddd [\u05d1\u05e9\u05e2\u05d4] LT",lastDay:"[\u05d0\u05ea\u05de\u05d5\u05dc \u05d1\u05be]LT",lastWeek:"[\u05d1\u05d9\u05d5\u05dd] dddd [\u05d4\u05d0\u05d7\u05e8\u05d5\u05df \u05d1\u05e9\u05e2\u05d4] LT",sameElse:"L"},relativeTime:{future:"\u05d1\u05e2\u05d5\u05d3 %s",past:"\u05dc\u05e4\u05e0\u05d9 %s",s:"\u05de\u05e1\u05e4\u05e8 \u05e9\u05e0\u05d9\u05d5\u05ea",ss:"%d \u05e9\u05e0\u05d9\u05d5\u05ea",m:"\u05d3\u05e7\u05d4",mm:"%d \u05d3\u05e7\u05d5\u05ea",h:"\u05e9\u05e2\u05d4",hh:function(e){return 2===e?"\u05e9\u05e2\u05ea\u05d9\u05d9\u05dd":e+" \u05e9\u05e2\u05d5\u05ea"},d:"\u05d9\u05d5\u05dd",dd:function(e){return 2===e?"\u05d9\u05d5\u05de\u05d9\u05d9\u05dd":e+" \u05d9\u05de\u05d9\u05dd"},M:"\u05d7\u05d5\u05d3\u05e9",MM:function(e){return 2===e?"\u05d7\u05d5\u05d3\u05e9\u05d9\u05d9\u05dd":e+" \u05d7\u05d5\u05d3\u05e9\u05d9\u05dd"},y:"\u05e9\u05e0\u05d4",yy:function(e){return 2===e?"\u05e9\u05e0\u05ea\u05d9\u05d9\u05dd":e%10==0&&10!==e?e+" \u05e9\u05e0\u05d4":e+" \u05e9\u05e0\u05d9\u05dd"}},meridiemParse:/\u05d0\u05d7\u05d4"\u05e6|\u05dc\u05e4\u05e0\u05d4"\u05e6|\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05dc\u05e4\u05e0\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05dc\u05e4\u05e0\u05d5\u05ea \u05d1\u05d5\u05e7\u05e8|\u05d1\u05d1\u05d5\u05e7\u05e8|\u05d1\u05e2\u05e8\u05d1/i,isPM:function(e){return/^(\u05d0\u05d7\u05d4"\u05e6|\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05d1\u05e2\u05e8\u05d1)$/.test(e)},meridiem:function(e,t,n){return e<5?"\u05dc\u05e4\u05e0\u05d5\u05ea \u05d1\u05d5\u05e7\u05e8":e<10?"\u05d1\u05d1\u05d5\u05e7\u05e8":e<12?n?'\u05dc\u05e4\u05e0\u05d4"\u05e6':"\u05dc\u05e4\u05e0\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":e<18?n?'\u05d0\u05d7\u05d4"\u05e6':"\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":"\u05d1\u05e2\u05e8\u05d1"}})}(n("wd/R"))},x7h3:function(e,t,n){"use strict";n.d(t,"a",function(){return f});var r=n("mrSG"),i=n("fXoL"),s=n("XNiG"),o=n("2Vo4"),a=n("VRyK"),c=n("LRne"),l=n("xwJx"),u=n("pLZG"),h=n("lJxs"),d=n("eIep");let f=class{constructor(e){this.job=e,this.log=new s.a,this.seen=new o.a(null),this.logFile="log-file",this.jobId="jobId",this.items=Object(a.a)(this.getLog().pipe(Object(u.a)(e=>100===e.progress)),this.getExistLog().pipe(Object(u.a)(e=>100===e.progress)),this.seen.asObservable()).pipe(Object(h.a)(e=>this.setFiles(e))),this.new=this.items.pipe(Object(h.a)(e=>e.filter(e=>!e.seen).length))}setLog(e){this.log.next(e),this.setJob(e)}getLog(){return this.log.asObservable().pipe(Object(d.a)(e=>this.job.subscribe(e)))}getExistLog(){return this.getJob()?this.job.subscribe(this.getJob().jobId):Object(c.a)([])}getJob(){const e=localStorage.getItem(this.jobId);return e?JSON.parse(e):null}setJob(e){localStorage.setItem(this.jobId,JSON.stringify({jobId:e,date:(new Date).getTime()}))}removeJob(){localStorage.removeItem(this.jobId)}getLogFile(){const e=localStorage.getItem(this.logFile);return e?JSON.parse(e):[]}setLogFile(e,t=[]){t.length||(this.getLogFile().length?t=this.getLogFile().unshift({fileGuid:e,date:this.getJob().date,seen:!1}):t.push({fileGuid:e,date:this.getJob().date,seen:!1})),localStorage.setItem(this.logFile,JSON.stringify(t))}setFiles(e){return(null==e?void 0:e.result)&&"00000000-0000-0000-0000-000000000000"!==e.result&&this.getJob()&&this.setLogFile(e.result),this.removeJob(),this.getLogFile()}};f.ctorParameters=()=>[{type:l.l}],f=Object(r.b)([Object(i.D)({providedIn:"root"})],f)},xbPD:function(e,t,n){"use strict";n.d(t,"a",function(){return i});var r=n("7o/Q");function i(e=null){return t=>t.lift(new s(e))}class s{constructor(e){this.defaultValue=e}call(e,t){return t.subscribe(new o(e,this.defaultValue))}}class o extends r.a{constructor(e,t){super(e),this.defaultValue=t,this.isEmpty=!0}_next(e){this.isEmpty=!1,this.destination.next(e)}_complete(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}},xgIS:function(e,t,n){"use strict";n.d(t,"a",function(){return a});var r=n("HDdC"),i=n("DH7j"),s=n("n6bG"),o=n("lJxs");Object.prototype.toString;function a(e,t,n,l){return Object(s.a)(n)&&(l=n,n=void 0),l?a(e,t,n).pipe(Object(o.a)(e=>Object(i.a)(e)?l(...e):l(e))):new r.a(r=>{c(e,t,function(e){arguments.length>1?r.next(Array.prototype.slice.call(arguments)):r.next(e)},r,n)})}function c(e,t,n,r,i){let s;if(function(e){return e&&"function"==typeof e.addEventListener&&"function"==typeof e.removeEventListener}(e)){const r=e;e.addEventListener(t,n,i),s=()=>r.removeEventListener(t,n,i)}else if(function(e){return e&&"function"==typeof e.on&&"function"==typeof e.off}(e)){const r=e;e.on(t,n),s=()=>r.off(t,n)}else if(function(e){return e&&"function"==typeof e.addListener&&"function"==typeof e.removeListener}(e)){const r=e;e.addListener(t,n),s=()=>r.removeListener(t,n)}else{if(!e||!e.length)throw new TypeError("Invalid event target");for(let s=0,o=e.length;s<o;s++)c(e[s],t,n,r,i)}r.add(s)}},xwJx:function(e,t,n){"use strict";n.d(t,"a",function(){return st}),n.d(t,"b",function(){return Gt}),n.d(t,"c",function(){return Kt}),n.d(t,"d",function(){return Jt}),n.d(t,"e",function(){return lt}),n.d(t,"f",function(){return at}),n.d(t,"g",function(){return zt}),n.d(t,"h",function(){return nn}),n.d(t,"i",function(){return Et}),n.d(t,"j",function(){return yt}),n.d(t,"k",function(){return Dt}),n.d(t,"l",function(){return en}),n.d(t,"m",function(){return Wt}),n.d(t,"n",function(){return $t}),n.d(t,"o",function(){return At}),n.d(t,"p",function(){return It}),n.d(t,"q",function(){return ct}),n.d(t,"r",function(){return tn}),n.d(t,"s",function(){return dt}),n.d(t,"t",function(){return xt}),n.d(t,"u",function(){return Ot}),n.d(t,"v",function(){return Xt}),n.d(t,"w",function(){return Pt}),n.d(t,"x",function(){return ot}),n.d(t,"y",function(){return Nt}),n.d(t,"z",function(){return vt}),n.d(t,"A",function(){return bt}),n.d(t,"B",function(){return Ht}),n.d(t,"C",function(){return mt}),n.d(t,"D",function(){return _t}),n.d(t,"E",function(){return wt}),n.d(t,"F",function(){return St}),n.d(t,"G",function(){return Ft}),n.d(t,"H",function(){return gt}),n.d(t,"I",function(){return Ut}),n.d(t,"J",function(){return Ct}),n.d(t,"K",function(){return Qt});var r=n("rDax"),i=n("ofXK"),s=n("fXoL"),o=n("tk/3"),a=n("Qyje"),c=n("w3qX"),l=n("jIYg"),u=n("/h9T");var h={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},d=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,f=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,p=/^([+-])(\d{2})(?::?(\d{2}))?$/;function m(e){var t,n={},r=e.split(h.dateTimeDelimiter);if(r.length>2)return n;if(/:/.test(r[0])?t=r[0]:(n.date=r[0],t=r[1],h.timeZoneDelimiter.test(n.date)&&(n.date=e.split(h.timeZoneDelimiter)[0],t=e.substr(n.date.length,e.length))),t){var i=h.timezone.exec(t);i?(n.time=t.replace(i[1],""),n.timezone=i[1]):n.time=t}return n}function g(e,t){var n=new RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+t)+"})|(\\d{2}|[+-]\\d{"+(2+t)+"})$)"),r=e.match(n);if(!r)return{year:NaN,restDateString:""};var i=r[1]?parseInt(r[1]):null,s=r[2]?parseInt(r[2]):null;return{year:null===s?i:100*s,restDateString:e.slice((r[1]||r[2]).length)}}function v(e,t){if(null===t)return new Date(NaN);var n=e.match(d);if(!n)return new Date(NaN);var r=!!n[4],i=y(n[1]),s=y(n[2])-1,o=y(n[3]),a=y(n[4]),c=y(n[5])-1;if(r)return function(e,t,n){return t>=1&&t<=53&&n>=0&&n<=6}(0,a,c)?function(e,t,n){var r=new Date(0);r.setUTCFullYear(e,0,4);var i=r.getUTCDay()||7,s=7*(t-1)+n+1-i;return r.setUTCDate(r.getUTCDate()+s),r}(t,a,c):new Date(NaN);var l=new Date(0);return function(e,t,n){return t>=0&&t<=11&&n>=1&&n<=(S[t]||(x(e)?29:28))}(t,s,o)&&function(e,t){return t>=1&&t<=(x(e)?366:365)}(t,i)?(l.setUTCFullYear(t,s,Math.max(i,o)),l):new Date(NaN)}function y(e){return e?parseInt(e):1}function b(e){var t=e.match(f);if(!t)return NaN;var n=_(t[1]),r=_(t[2]),i=_(t[3]);return function(e,t,n){if(24===e)return 0===t&&0===n;return n>=0&&n<60&&t>=0&&t<60&&e>=0&&e<25}(n,r,i)?n*c.a+r*c.b+1e3*i:NaN}function _(e){return e&&parseFloat(e.replace(",","."))||0}function w(e){if("Z"===e)return 0;var t=e.match(p);if(!t)return 0;var n="+"===t[1]?-1:1,r=parseInt(t[2]),i=t[3]&&parseInt(t[3])||0;return function(e,t){return t>=0&&t<=59}(0,i)?n*(r*c.a+i*c.b):NaN}var S=[31,null,31,30,31,30,31,31,30,31,30,31];function x(e){return e%400==0||e%4==0&&e%100!=0}var O=n("/Tr7"),k=n("+7QN");var C=n("FtGj"),M=n("+rOU"),E=n("VRyK"),T=n("jtHE"),j=n("XNiG"),D=n("HDdC"),A=n("z6cu"),L=n("Cfvw"),z=n("pLZG"),P=n("lJxs"),I=n("GJmQ"),R=n("vkgz"),N=n("syX2"),H=n("7o/Q");class F{call(e,t){return t.subscribe(new V(e))}}class V extends H.a{_next(e){}}var B,Y,U=n("eIep"),W=n("wq8c"),q=n.n(W),$=n("mrSG"),G=n("tyNb"),X=n("LgUO"),K=(B=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}B(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),J=function(e){function t(t,n){var r=this,i=this.constructor.prototype;return(r=e.call(this,t)||this).statusCode=n,r.__proto__=i,r}return K(t,e),t}(Error),Q=function(e){function t(t){void 0===t&&(t="A timeout occurred.");var n=this,r=this.constructor.prototype;return(n=e.call(this,t)||this).__proto__=r,n}return K(t,e),t}(Error),Z=function(e){function t(t){void 0===t&&(t="An abort occurred.");var n=this,r=this.constructor.prototype;return(n=e.call(this,t)||this).__proto__=r,n}return K(t,e),t}(Error),ee=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},te=function(e,t,n){this.statusCode=e,this.statusText=t,this.content=n},ne=function(){function e(){}return e.prototype.get=function(e,t){return this.send(ee({},t,{method:"GET",url:e}))},e.prototype.post=function(e,t){return this.send(ee({},t,{method:"POST",url:e}))},e.prototype.delete=function(e,t){return this.send(ee({},t,{method:"DELETE",url:e}))},e.prototype.getCookieString=function(e){return""},e}();!function(e){e[e.Trace=0]="Trace",e[e.Debug=1]="Debug",e[e.Information=2]="Information",e[e.Warning=3]="Warning",e[e.Error=4]="Error",e[e.Critical=5]="Critical",e[e.None=6]="None"}(Y||(Y={}));var re=function(){function e(){}return e.prototype.log=function(e,t){},e.instance=new e,e}(),ie=function(e,t,n,r){return new(n||(n=Promise))(function(i,s){function o(e){try{c(r.next(e))}catch(t){s(t)}}function a(e){try{c(r.throw(e))}catch(t){s(t)}}function c(e){e.done?i(e.value):new n(function(t){t(e.value)}).then(o,a)}c((r=r.apply(e,t||[])).next())})},se=function(e,t){var n,r,i,s,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return s={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(s[Symbol.iterator]=function(){return this}),s;function a(s){return function(a){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,r&&(i=2&s[0]?r.return:s[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,s[1])).done)return i;switch(r=0,i&&(s=[2&s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return o.label++,{value:s[1],done:!1};case 5:o.label++,r=s[1],s=[0];continue;case 7:s=o.ops.pop(),o.trys.pop();continue;default:if(!(i=o.trys,(i=i.length>0&&i[i.length-1])||6!==s[0]&&2!==s[0])){o=0;continue}if(3===s[0]&&(!i||s[1]>i[0]&&s[1]<i[3])){o.label=s[1];break}if(6===s[0]&&o.label<i[1]){o.label=i[1],i=s;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(s);break}i[2]&&o.ops.pop(),o.trys.pop();continue}s=t.call(e,o)}catch(a){s=[6,a],r=0}finally{n=i=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,a])}}},oe=function(){function e(){}return e.isRequired=function(e,t){if(null==e)throw new Error("The '"+t+"' argument is required.")},e.isIn=function(e,t,n){if(!(e in t))throw new Error("Unknown "+n+" value: "+e+".")},e}(),ae=function(){function e(){}return Object.defineProperty(e,"isBrowser",{get:function(){return"object"==typeof window},enumerable:!0,configurable:!0}),Object.defineProperty(e,"isWebWorker",{get:function(){return"object"==typeof self&&"importScripts"in self},enumerable:!0,configurable:!0}),Object.defineProperty(e,"isNode",{get:function(){return!this.isBrowser&&!this.isWebWorker},enumerable:!0,configurable:!0}),e}();function ce(e,t){var n="";return le(e)?(n="Binary data of length "+e.byteLength,t&&(n+=". Content: '"+function(e){var t=new Uint8Array(e),n="";return t.forEach(function(e){n+="0x"+(e<16?"0":"")+e.toString(16)+" "}),n.substr(0,n.length-1)}(e)+"'")):"string"==typeof e&&(n="String data of length "+e.length,t&&(n+=". Content: '"+e+"'")),n}function le(e){return e&&"undefined"!=typeof ArrayBuffer&&(e instanceof ArrayBuffer||e.constructor&&"ArrayBuffer"===e.constructor.name)}function ue(e,t,n,r,i,s,o){return ie(this,void 0,void 0,function(){var a,c,l,u,h;return se(this,function(d){switch(d.label){case 0:return i?[4,i()]:[3,2];case 1:(l=d.sent())&&((a={}).Authorization="Bearer "+l,c=a),d.label=2;case 2:return e.log(Y.Trace,"("+t+" transport) sending data. "+ce(s,o)+"."),u=le(s)?"arraybuffer":"text",[4,n.post(r,{content:s,headers:c,responseType:u})];case 3:return h=d.sent(),e.log(Y.Trace,"("+t+" transport) request complete. Response status: "+h.statusCode+"."),[2]}})})}var he,de=function(){function e(e,t){this.subject=e,this.observer=t}return e.prototype.dispose=function(){var e=this.subject.observers.indexOf(this.observer);e>-1&&this.subject.observers.splice(e,1),0===this.subject.observers.length&&this.subject.cancelCallback&&this.subject.cancelCallback().catch(function(e){})},e}(),fe=function(){function e(e){this.minimumLogLevel=e,this.outputConsole=console}return e.prototype.log=function(e,t){if(e>=this.minimumLogLevel)switch(e){case Y.Critical:case Y.Error:this.outputConsole.error("["+(new Date).toISOString()+"] "+Y[e]+": "+t);break;case Y.Warning:this.outputConsole.warn("["+(new Date).toISOString()+"] "+Y[e]+": "+t);break;case Y.Information:this.outputConsole.info("["+(new Date).toISOString()+"] "+Y[e]+": "+t);break;default:this.outputConsole.log("["+(new Date).toISOString()+"] "+Y[e]+": "+t)}},e}(),pe=function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),me=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e};if("undefined"==typeof XMLHttpRequest){var ge=require;he=ge("request")}var ve,ye=function(e){function t(t){var n=e.call(this)||this;if(void 0===he)throw new Error("The 'request' module could not be loaded.");return n.logger=t,n.cookieJar=he.jar(),n.request=he.defaults({jar:n.cookieJar}),n}return pe(t,e),t.prototype.send=function(e){var t=this;return e.abortSignal&&e.abortSignal.aborted?Promise.reject(new Z):new Promise(function(n,r){var i;i=le(e.content)?Buffer.from(e.content):e.content||"";var s=t.request(e.url,{body:i,encoding:"arraybuffer"===e.responseType?null:"utf8",headers:me({"X-Requested-With":"XMLHttpRequest"},e.headers),method:e.method,timeout:e.timeout},function(i,s,o){if(e.abortSignal&&(e.abortSignal.onabort=null),i)return"ETIMEDOUT"===i.code&&(t.logger.log(Y.Warning,"Timeout from HTTP request."),r(new Q)),t.logger.log(Y.Warning,"Error from HTTP request. "+i),void r(i);s.statusCode>=200&&s.statusCode<300?n(new te(s.statusCode,s.statusMessage||"",o)):r(new J(s.statusMessage||"",s.statusCode||0))});e.abortSignal&&(e.abortSignal.onabort=function(){s.abort(),r(new Z)})})},t.prototype.getCookieString=function(e){return this.cookieJar.getCookieString(e)},t}(ne),be=function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),_e=function(e){function t(t){var n=e.call(this)||this;return n.logger=t,n}return be(t,e),t.prototype.send=function(e){var t=this;return e.abortSignal&&e.abortSignal.aborted?Promise.reject(new Z):e.method?e.url?new Promise(function(n,r){var i=new XMLHttpRequest;i.open(e.method,e.url,!0),i.withCredentials=!0,i.setRequestHeader("X-Requested-With","XMLHttpRequest"),i.setRequestHeader("Content-Type","text/plain;charset=UTF-8");var s=e.headers;s&&Object.keys(s).forEach(function(e){i.setRequestHeader(e,s[e])}),e.responseType&&(i.responseType=e.responseType),e.abortSignal&&(e.abortSignal.onabort=function(){i.abort(),r(new Z)}),e.timeout&&(i.timeout=e.timeout),i.onload=function(){e.abortSignal&&(e.abortSignal.onabort=null),i.status>=200&&i.status<300?n(new te(i.status,i.statusText,i.response||i.responseText)):r(new J(i.statusText,i.status))},i.onerror=function(){t.logger.log(Y.Warning,"Error from HTTP request. "+i.status+": "+i.statusText+"."),r(new J(i.statusText,i.status))},i.ontimeout=function(){t.logger.log(Y.Warning,"Timeout from HTTP request."),r(new Q)},i.send(e.content||"")}):Promise.reject(new Error("No url defined.")):Promise.reject(new Error("No method defined."))},t}(ne),we=function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Se=function(e){function t(t){var n=e.call(this)||this;return"undefined"!=typeof XMLHttpRequest?n.httpClient=new _e(t):n.httpClient=new ye(t),n}return we(t,e),t.prototype.send=function(e){return e.abortSignal&&e.abortSignal.aborted?Promise.reject(new Z):e.method?e.url?this.httpClient.send(e):Promise.reject(new Error("No url defined.")):Promise.reject(new Error("No method defined."))},t.prototype.getCookieString=function(e){return this.httpClient.getCookieString(e)},t}(ne),xe=function(){function e(){}return e.write=function(t){return""+t+e.RecordSeparator},e.parse=function(t){if(t[t.length-1]!==e.RecordSeparator)throw new Error("Message is incomplete.");var n=t.split(e.RecordSeparator);return n.pop(),n},e.RecordSeparatorCode=30,e.RecordSeparator=String.fromCharCode(e.RecordSeparatorCode),e}(),Oe=function(){function e(){}return e.prototype.writeHandshakeRequest=function(e){return xe.write(JSON.stringify(e))},e.prototype.parseHandshakeResponse=function(e){var t,n;if(le(e)||"undefined"!=typeof Buffer&&e instanceof Buffer){var r=new Uint8Array(e);if(-1===(s=r.indexOf(xe.RecordSeparatorCode)))throw new Error("Message is incomplete.");var i=s+1;t=String.fromCharCode.apply(null,r.slice(0,i)),n=r.byteLength>i?r.slice(i).buffer:null}else{var s,o=e;if(-1===(s=o.indexOf(xe.RecordSeparator)))throw new Error("Message is incomplete.");i=s+1;t=o.substring(0,i),n=o.length>i?o.substring(i):null}var a=xe.parse(t),c=JSON.parse(a[0]);if(c.type)throw new Error("Expected a handshake response from the server.");return[n,c]},e}();!function(e){e[e.Invocation=1]="Invocation",e[e.StreamItem=2]="StreamItem",e[e.Completion=3]="Completion",e[e.StreamInvocation=4]="StreamInvocation",e[e.CancelInvocation=5]="CancelInvocation",e[e.Ping=6]="Ping",e[e.Close=7]="Close"}(ve||(ve={}));var ke,Ce=function(){function e(){this.observers=[]}return e.prototype.next=function(e){for(var t=0,n=this.observers;t<n.length;t++){n[t].next(e)}},e.prototype.error=function(e){for(var t=0,n=this.observers;t<n.length;t++){var r=n[t];r.error&&r.error(e)}},e.prototype.complete=function(){for(var e=0,t=this.observers;e<t.length;e++){var n=t[e];n.complete&&n.complete()}},e.prototype.subscribe=function(e){return this.observers.push(e),new de(this,e)},e}(),Me=function(e,t,n,r){return new(n||(n=Promise))(function(i,s){function o(e){try{c(r.next(e))}catch(t){s(t)}}function a(e){try{c(r.throw(e))}catch(t){s(t)}}function c(e){e.done?i(e.value):new n(function(t){t(e.value)}).then(o,a)}c((r=r.apply(e,t||[])).next())})},Ee=function(e,t){var n,r,i,s,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return s={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(s[Symbol.iterator]=function(){return this}),s;function a(s){return function(a){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,r&&(i=2&s[0]?r.return:s[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,s[1])).done)return i;switch(r=0,i&&(s=[2&s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return o.label++,{value:s[1],done:!1};case 5:o.label++,r=s[1],s=[0];continue;case 7:s=o.ops.pop(),o.trys.pop();continue;default:if(!(i=o.trys,(i=i.length>0&&i[i.length-1])||6!==s[0]&&2!==s[0])){o=0;continue}if(3===s[0]&&(!i||s[1]>i[0]&&s[1]<i[3])){o.label=s[1];break}if(6===s[0]&&o.label<i[1]){o.label=i[1],i=s;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(s);break}i[2]&&o.ops.pop(),o.trys.pop();continue}s=t.call(e,o)}catch(a){s=[6,a],r=0}finally{n=i=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,a])}}};!function(e){e.Disconnected="Disconnected",e.Connecting="Connecting",e.Connected="Connected",e.Disconnecting="Disconnecting",e.Reconnecting="Reconnecting"}(ke||(ke={}));var Te,je,De=function(){function e(e,t,n,r){var i=this;this.nextKeepAlive=0,oe.isRequired(e,"connection"),oe.isRequired(t,"logger"),oe.isRequired(n,"protocol"),this.serverTimeoutInMilliseconds=3e4,this.keepAliveIntervalInMilliseconds=15e3,this.logger=t,this.protocol=n,this.connection=e,this.reconnectPolicy=r,this.handshakeProtocol=new Oe,this.connection.onreceive=function(e){return i.processIncomingData(e)},this.connection.onclose=function(e){return i.connectionClosed(e)},this.callbacks={},this.methods={},this.closedCallbacks=[],this.reconnectingCallbacks=[],this.reconnectedCallbacks=[],this.invocationId=0,this.receivedHandshakeResponse=!1,this.connectionState=ke.Disconnected,this.connectionStarted=!1,this.cachedPingMessage=this.protocol.writeMessage({type:ve.Ping})}return e.create=function(t,n,r,i){return new e(t,n,r,i)},Object.defineProperty(e.prototype,"state",{get:function(){return this.connectionState},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"connectionId",{get:function(){return this.connection&&this.connection.connectionId||null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"baseUrl",{get:function(){return this.connection.baseUrl||""},set:function(e){if(this.connectionState!==ke.Disconnected&&this.connectionState!==ke.Reconnecting)throw new Error("The HubConnection must be in the Disconnected or Reconnecting state to change the url.");if(!e)throw new Error("The HubConnection url must be a valid url.");this.connection.baseUrl=e},enumerable:!0,configurable:!0}),e.prototype.start=function(){return this.startPromise=this.startWithStateTransitions(),this.startPromise},e.prototype.startWithStateTransitions=function(){return Me(this,void 0,void 0,function(){var e;return Ee(this,function(t){switch(t.label){case 0:if(this.connectionState!==ke.Disconnected)return[2,Promise.reject(new Error("Cannot start a HubConnection that is not in the 'Disconnected' state."))];this.connectionState=ke.Connecting,this.logger.log(Y.Debug,"Starting HubConnection."),t.label=1;case 1:return t.trys.push([1,3,,4]),[4,this.startInternal()];case 2:return t.sent(),this.connectionState=ke.Connected,this.connectionStarted=!0,this.logger.log(Y.Debug,"HubConnection connected successfully."),[3,4];case 3:return e=t.sent(),this.connectionState=ke.Disconnected,this.logger.log(Y.Debug,"HubConnection failed to start successfully because of error '"+e+"'."),[2,Promise.reject(e)];case 4:return[2]}})})},e.prototype.startInternal=function(){return Me(this,void 0,void 0,function(){var e,t,n,r=this;return Ee(this,function(i){switch(i.label){case 0:return this.stopDuringStartError=void 0,this.receivedHandshakeResponse=!1,e=new Promise(function(e,t){r.handshakeResolver=e,r.handshakeRejecter=t}),[4,this.connection.start(this.protocol.transferFormat)];case 1:i.sent(),i.label=2;case 2:return i.trys.push([2,5,,7]),t={protocol:this.protocol.name,version:this.protocol.version},this.logger.log(Y.Debug,"Sending handshake request."),[4,this.sendMessage(this.handshakeProtocol.writeHandshakeRequest(t))];case 3:return i.sent(),this.logger.log(Y.Information,"Using HubProtocol '"+this.protocol.name+"'."),this.cleanupTimeout(),this.resetTimeoutPeriod(),this.resetKeepAliveInterval(),[4,e];case 4:if(i.sent(),this.stopDuringStartError)throw this.stopDuringStartError;return[3,7];case 5:return n=i.sent(),this.logger.log(Y.Debug,"Hub handshake failed with error '"+n+"' during start(). Stopping HubConnection."),this.cleanupTimeout(),this.cleanupPingTimer(),[4,this.connection.stop(n)];case 6:throw i.sent(),n;case 7:return[2]}})})},e.prototype.stop=function(){return Me(this,void 0,void 0,function(){var e;return Ee(this,function(t){switch(t.label){case 0:return e=this.startPromise,this.stopPromise=this.stopInternal(),[4,this.stopPromise];case 1:t.sent(),t.label=2;case 2:return t.trys.push([2,4,,5]),[4,e];case 3:return t.sent(),[3,5];case 4:return t.sent(),[3,5];case 5:return[2]}})})},e.prototype.stopInternal=function(e){return this.connectionState===ke.Disconnected?(this.logger.log(Y.Debug,"Call to HubConnection.stop("+e+") ignored because it is already in the disconnected state."),Promise.resolve()):this.connectionState===ke.Disconnecting?(this.logger.log(Y.Debug,"Call to HttpConnection.stop("+e+") ignored because the connection is already in the disconnecting state."),this.stopPromise):(this.connectionState=ke.Disconnecting,this.logger.log(Y.Debug,"Stopping HubConnection."),this.reconnectDelayHandle?(this.logger.log(Y.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=e||new Error("The connection was stopped before the hub handshake could complete."),this.connection.stop(e)))},e.prototype.stream=function(e){for(var t=this,n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];var i,s=this.replaceStreamingParams(n),o=s[0],a=s[1],c=this.createStreamInvocation(e,n,a),l=new Ce;return l.cancelCallback=function(){var e=t.createCancelInvocation(c.invocationId);return delete t.callbacks[c.invocationId],i.then(function(){return t.sendWithProtocol(e)})},this.callbacks[c.invocationId]=function(e,t){t?l.error(t):e&&(e.type===ve.Completion?e.error?l.error(new Error(e.error)):l.complete():l.next(e.item))},i=this.sendWithProtocol(c).catch(function(e){l.error(e),delete t.callbacks[c.invocationId]}),this.launchStreams(o,i),l},e.prototype.sendMessage=function(e){return this.resetKeepAliveInterval(),this.connection.send(e)},e.prototype.sendWithProtocol=function(e){return this.sendMessage(this.protocol.writeMessage(e))},e.prototype.send=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var r=this.replaceStreamingParams(t),i=r[0],s=r[1],o=this.sendWithProtocol(this.createInvocation(e,t,!0,s));return this.launchStreams(i,o),o},e.prototype.invoke=function(e){for(var t=this,n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];var i=this.replaceStreamingParams(n),s=i[0],o=i[1],a=this.createInvocation(e,n,!1,o),c=new Promise(function(e,n){t.callbacks[a.invocationId]=function(t,r){r?n(r):t&&(t.type===ve.Completion?t.error?n(new Error(t.error)):e(t.result):n(new Error("Unexpected message type: "+t.type)))};var r=t.sendWithProtocol(a).catch(function(e){n(e),delete t.callbacks[a.invocationId]});t.launchStreams(s,r)});return c},e.prototype.on=function(e,t){e&&t&&(e=e.toLowerCase(),this.methods[e]||(this.methods[e]=[]),-1===this.methods[e].indexOf(t)&&this.methods[e].push(t))},e.prototype.off=function(e,t){if(e){e=e.toLowerCase();var n=this.methods[e];if(n)if(t){var r=n.indexOf(t);-1!==r&&(n.splice(r,1),0===n.length&&delete this.methods[e])}else delete this.methods[e]}},e.prototype.onclose=function(e){e&&this.closedCallbacks.push(e)},e.prototype.onreconnecting=function(e){e&&this.reconnectingCallbacks.push(e)},e.prototype.onreconnected=function(e){e&&this.reconnectedCallbacks.push(e)},e.prototype.processIncomingData=function(e){if(this.cleanupTimeout(),this.receivedHandshakeResponse||(e=this.processHandshakeResponse(e),this.receivedHandshakeResponse=!0),e)for(var t=0,n=this.protocol.parseMessages(e,this.logger);t<n.length;t++){var r=n[t];switch(r.type){case ve.Invocation:this.invokeClientMethod(r);break;case ve.StreamItem:case ve.Completion:var i=this.callbacks[r.invocationId];i&&(r.type===ve.Completion&&delete this.callbacks[r.invocationId],i(r));break;case ve.Ping:break;case ve.Close:this.logger.log(Y.Information,"Close message received from server.");var s=r.error?new Error("Server returned an error on close: "+r.error):void 0;!0===r.allowReconnect?this.connection.stop(s):this.stopPromise=this.stopInternal(s);break;default:this.logger.log(Y.Warning,"Invalid message type: "+r.type+".")}}this.resetTimeoutPeriod()},e.prototype.processHandshakeResponse=function(e){var t,n,r;try{r=(t=this.handshakeProtocol.parseHandshakeResponse(e))[0],n=t[1]}catch(o){var i="Error parsing handshake response: "+o;this.logger.log(Y.Error,i);var s=new Error(i);throw this.handshakeRejecter(s),s}if(n.error){i="Server returned handshake error: "+n.error;this.logger.log(Y.Error,i);s=new Error(i);throw this.handshakeRejecter(s),s}return this.logger.log(Y.Debug,"Server handshake complete."),this.handshakeResolver(),r},e.prototype.resetKeepAliveInterval=function(){this.connection.features.inherentKeepAlive||(this.nextKeepAlive=(new Date).getTime()+this.keepAliveIntervalInMilliseconds,this.cleanupPingTimer())},e.prototype.resetTimeoutPeriod=function(){var e=this;if(!(this.connection.features&&this.connection.features.inherentKeepAlive||(this.timeoutHandle=setTimeout(function(){return e.serverTimeout()},this.serverTimeoutInMilliseconds),void 0!==this.pingServerHandle))){var t=this.nextKeepAlive-(new Date).getTime();t<0&&(t=0),this.pingServerHandle=setTimeout(function(){return Me(e,void 0,void 0,function(){return Ee(this,function(e){switch(e.label){case 0:if(this.connectionState!==ke.Connected)return[3,4];e.label=1;case 1:return e.trys.push([1,3,,4]),[4,this.sendMessage(this.cachedPingMessage)];case 2:return e.sent(),[3,4];case 3:return e.sent(),this.cleanupPingTimer(),[3,4];case 4:return[2]}})})},t)}},e.prototype.serverTimeout=function(){this.connection.stop(new Error("Server timeout elapsed without receiving a message from the server."))},e.prototype.invokeClientMethod=function(e){var t=this,n=this.methods[e.target.toLowerCase()];if(n){try{n.forEach(function(n){return n.apply(t,e.arguments)})}catch(i){this.logger.log(Y.Error,"A callback for the method "+e.target.toLowerCase()+" threw error '"+i+"'.")}if(e.invocationId){var r="Server requested a response, which is not supported in this version of the client.";this.logger.log(Y.Error,r),this.stopPromise=this.stopInternal(new Error(r))}}else this.logger.log(Y.Warning,"No client method with the name '"+e.target+"' found.")},e.prototype.connectionClosed=function(e){this.logger.log(Y.Debug,"HubConnection.connectionClosed("+e+") called while in state "+this.connectionState+"."),this.stopDuringStartError=this.stopDuringStartError||e||new Error("The underlying connection was closed before the hub handshake could complete."),this.handshakeResolver&&this.handshakeResolver(),this.cancelCallbacksWithError(e||new Error("Invocation canceled due to the underlying connection being closed.")),this.cleanupTimeout(),this.cleanupPingTimer(),this.connectionState===ke.Disconnecting?this.completeClose(e):this.connectionState===ke.Connected&&this.reconnectPolicy?this.reconnect(e):this.connectionState===ke.Connected&&this.completeClose(e)},e.prototype.completeClose=function(e){var t=this;if(this.connectionStarted){this.connectionState=ke.Disconnected,this.connectionStarted=!1;try{this.closedCallbacks.forEach(function(n){return n.apply(t,[e])})}catch(n){this.logger.log(Y.Error,"An onclose callback called with error '"+e+"' threw error '"+n+"'.")}}},e.prototype.reconnect=function(e){return Me(this,void 0,void 0,function(){var t,n,r,i,s,o=this;return Ee(this,function(a){switch(a.label){case 0:if(t=Date.now(),n=0,r=void 0!==e?e:new Error("Attempting to reconnect due to a unknown error."),null===(i=this.getNextRetryDelay(n++,0,r)))return this.logger.log(Y.Debug,"Connection not reconnecting because the IRetryPolicy returned null on the first reconnect attempt."),this.completeClose(e),[2];if(this.connectionState=ke.Reconnecting,e?this.logger.log(Y.Information,"Connection reconnecting because of error '"+e+"'."):this.logger.log(Y.Information,"Connection reconnecting."),this.onreconnecting){try{this.reconnectingCallbacks.forEach(function(t){return t.apply(o,[e])})}catch(c){this.logger.log(Y.Error,"An onreconnecting callback called with error '"+e+"' threw error '"+c+"'.")}if(this.connectionState!==ke.Reconnecting)return this.logger.log(Y.Debug,"Connection left the reconnecting state in onreconnecting callback. Done reconnecting."),[2]}a.label=1;case 1:return null===i?[3,7]:(this.logger.log(Y.Information,"Reconnect attempt number "+n+" will start in "+i+" ms."),[4,new Promise(function(e){o.reconnectDelayHandle=setTimeout(e,i)})]);case 2:if(a.sent(),this.reconnectDelayHandle=void 0,this.connectionState!==ke.Reconnecting)return this.logger.log(Y.Debug,"Connection left the reconnecting state during reconnect delay. Done reconnecting."),[2];a.label=3;case 3:return a.trys.push([3,5,,6]),[4,this.startInternal()];case 4:if(a.sent(),this.connectionState=ke.Connected,this.logger.log(Y.Information,"HubConnection reconnected successfully."),this.onreconnected)try{this.reconnectedCallbacks.forEach(function(e){return e.apply(o,[o.connection.connectionId])})}catch(c){this.logger.log(Y.Error,"An onreconnected callback called with connectionId '"+this.connection.connectionId+"; threw error '"+c+"'.")}return[2];case 5:return s=a.sent(),this.logger.log(Y.Information,"Reconnect attempt failed because of error '"+s+"'."),this.connectionState!==ke.Reconnecting?(this.logger.log(Y.Debug,"Connection moved to the '"+this.connectionState+"' from the reconnecting state during reconnect attempt. Done reconnecting."),this.connectionState===ke.Disconnecting&&this.completeClose(),[2]):(r=s instanceof Error?s:new Error(s.toString()),i=this.getNextRetryDelay(n++,Date.now()-t,r),[3,6]);case 6:return[3,1];case 7:return this.logger.log(Y.Information,"Reconnect retries have been exhausted after "+(Date.now()-t)+" ms and "+n+" failed attempts. Connection disconnecting."),this.completeClose(),[2]}})})},e.prototype.getNextRetryDelay=function(e,t,n){try{return this.reconnectPolicy.nextRetryDelayInMilliseconds({elapsedMilliseconds:t,previousRetryCount:e,retryReason:n})}catch(r){return this.logger.log(Y.Error,"IRetryPolicy.nextRetryDelayInMilliseconds("+e+", "+t+") threw error '"+r+"'."),null}},e.prototype.cancelCallbacksWithError=function(e){var t=this.callbacks;this.callbacks={},Object.keys(t).forEach(function(n){(0,t[n])(null,e)})},e.prototype.cleanupPingTimer=function(){this.pingServerHandle&&(clearTimeout(this.pingServerHandle),this.pingServerHandle=void 0)},e.prototype.cleanupTimeout=function(){this.timeoutHandle&&clearTimeout(this.timeoutHandle)},e.prototype.createInvocation=function(e,t,n,r){if(n)return{arguments:t,streamIds:r,target:e,type:ve.Invocation};var i=this.invocationId;return this.invocationId++,{arguments:t,invocationId:i.toString(),streamIds:r,target:e,type:ve.Invocation}},e.prototype.launchStreams=function(e,t){var n=this;if(0!==e.length){t||(t=Promise.resolve());var r=function(r){e[r].subscribe({complete:function(){t=t.then(function(){return n.sendWithProtocol(n.createCompletionMessage(r))})},error:function(e){var i;i=e instanceof Error?e.message:e&&e.toString?e.toString():"Unknown error",t=t.then(function(){return n.sendWithProtocol(n.createCompletionMessage(r,i))})},next:function(e){t=t.then(function(){return n.sendWithProtocol(n.createStreamItemMessage(r,e))})}})};for(var i in e)r(i)}},e.prototype.replaceStreamingParams=function(e){for(var t=[],n=[],r=0;r<e.length;r++){var i=e[r];if(this.isObservable(i)){var s=this.invocationId;this.invocationId++,t[s]=i,n.push(s.toString()),e.splice(r,1)}}return[t,n]},e.prototype.isObservable=function(e){return e&&e.subscribe&&"function"==typeof e.subscribe},e.prototype.createStreamInvocation=function(e,t,n){var r=this.invocationId;return this.invocationId++,{arguments:t,invocationId:r.toString(),streamIds:n,target:e,type:ve.StreamInvocation}},e.prototype.createCancelInvocation=function(e){return{invocationId:e,type:ve.CancelInvocation}},e.prototype.createStreamItemMessage=function(e,t){return{invocationId:e,item:t,type:ve.StreamItem}},e.prototype.createCompletionMessage=function(e,t,n){return t?{error:t,invocationId:e,type:ve.Completion}:{invocationId:e,result:n,type:ve.Completion}},e}(),Ae=[0,2e3,1e4,3e4,null],Le=function(){function e(e){this.retryDelays=void 0!==e?e.concat([null]):Ae}return e.prototype.nextRetryDelayInMilliseconds=function(e){return this.retryDelays[e.previousRetryCount]},e}();!function(e){e[e.None=0]="None",e[e.WebSockets=1]="WebSockets",e[e.ServerSentEvents=2]="ServerSentEvents",e[e.LongPolling=4]="LongPolling"}(Te||(Te={})),function(e){e[e.Text=1]="Text",e[e.Binary=2]="Binary"}(je||(je={}));var ze=function(){function e(){this.isAborted=!1,this.onabort=null}return e.prototype.abort=function(){this.isAborted||(this.isAborted=!0,this.onabort&&this.onabort())},Object.defineProperty(e.prototype,"signal",{get:function(){return this},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"aborted",{get:function(){return this.isAborted},enumerable:!0,configurable:!0}),e}(),Pe=function(e,t,n,r){return new(n||(n=Promise))(function(i,s){function o(e){try{c(r.next(e))}catch(t){s(t)}}function a(e){try{c(r.throw(e))}catch(t){s(t)}}function c(e){e.done?i(e.value):new n(function(t){t(e.value)}).then(o,a)}c((r=r.apply(e,t||[])).next())})},Ie=function(e,t){var n,r,i,s,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return s={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(s[Symbol.iterator]=function(){return this}),s;function a(s){return function(a){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,r&&(i=2&s[0]?r.return:s[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,s[1])).done)return i;switch(r=0,i&&(s=[2&s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return o.label++,{value:s[1],done:!1};case 5:o.label++,r=s[1],s=[0];continue;case 7:s=o.ops.pop(),o.trys.pop();continue;default:if(!(i=o.trys,(i=i.length>0&&i[i.length-1])||6!==s[0]&&2!==s[0])){o=0;continue}if(3===s[0]&&(!i||s[1]>i[0]&&s[1]<i[3])){o.label=s[1];break}if(6===s[0]&&o.label<i[1]){o.label=i[1],i=s;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(s);break}i[2]&&o.ops.pop(),o.trys.pop();continue}s=t.call(e,o)}catch(a){s=[6,a],r=0}finally{n=i=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,a])}}},Re=function(){function e(e,t,n,r){this.httpClient=e,this.accessTokenFactory=t,this.logger=n,this.pollAbort=new ze,this.logMessageContent=r,this.running=!1,this.onreceive=null,this.onclose=null}return Object.defineProperty(e.prototype,"pollAborted",{get:function(){return this.pollAbort.aborted},enumerable:!0,configurable:!0}),e.prototype.connect=function(e,t){return Pe(this,void 0,void 0,function(){var n,r,i,s;return Ie(this,function(o){switch(o.label){case 0:if(oe.isRequired(e,"url"),oe.isRequired(t,"transferFormat"),oe.isIn(t,je,"transferFormat"),this.url=e,this.logger.log(Y.Trace,"(LongPolling transport) Connecting."),t===je.Binary&&"undefined"!=typeof XMLHttpRequest&&"string"!=typeof(new XMLHttpRequest).responseType)throw new Error("Binary protocols over XmlHttpRequest not implementing advanced features are not supported.");return n={abortSignal:this.pollAbort.signal,headers:{},timeout:1e5},t===je.Binary&&(n.responseType="arraybuffer"),[4,this.getAccessToken()];case 1:return r=o.sent(),this.updateHeaderToken(n,r),i=e+"&_="+Date.now(),this.logger.log(Y.Trace,"(LongPolling transport) polling: "+i+"."),[4,this.httpClient.get(i,n)];case 2:return 200!==(s=o.sent()).statusCode?(this.logger.log(Y.Error,"(LongPolling transport) Unexpected response code: "+s.statusCode+"."),this.closeError=new J(s.statusText||"",s.statusCode),this.running=!1):this.running=!0,this.receiving=this.poll(this.url,n),[2]}})})},e.prototype.getAccessToken=function(){return Pe(this,void 0,void 0,function(){return Ie(this,function(e){switch(e.label){case 0:return this.accessTokenFactory?[4,this.accessTokenFactory()]:[3,2];case 1:return[2,e.sent()];case 2:return[2,null]}})})},e.prototype.updateHeaderToken=function(e,t){e.headers||(e.headers={}),t?e.headers.Authorization="Bearer "+t:e.headers.Authorization&&delete e.headers.Authorization},e.prototype.poll=function(e,t){return Pe(this,void 0,void 0,function(){var n,r,i,s;return Ie(this,function(o){switch(o.label){case 0:o.trys.push([0,,8,9]),o.label=1;case 1:return this.running?[4,this.getAccessToken()]:[3,7];case 2:n=o.sent(),this.updateHeaderToken(t,n),o.label=3;case 3:return o.trys.push([3,5,,6]),r=e+"&_="+Date.now(),this.logger.log(Y.Trace,"(LongPolling transport) polling: "+r+"."),[4,this.httpClient.get(r,t)];case 4:return 204===(i=o.sent()).statusCode?(this.logger.log(Y.Information,"(LongPolling transport) Poll terminated by server."),this.running=!1):200!==i.statusCode?(this.logger.log(Y.Error,"(LongPolling transport) Unexpected response code: "+i.statusCode+"."),this.closeError=new J(i.statusText||"",i.statusCode),this.running=!1):i.content?(this.logger.log(Y.Trace,"(LongPolling transport) data received. "+ce(i.content,this.logMessageContent)+"."),this.onreceive&&this.onreceive(i.content)):this.logger.log(Y.Trace,"(LongPolling transport) Poll timed out, reissuing."),[3,6];case 5:return s=o.sent(),this.running?s instanceof Q?this.logger.log(Y.Trace,"(LongPolling transport) Poll timed out, reissuing."):(this.closeError=s,this.running=!1):this.logger.log(Y.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(Y.Trace,"(LongPolling transport) Polling complete."),this.pollAborted||this.raiseOnClose(),[7];case 9:return[2]}})})},e.prototype.send=function(e){return Pe(this,void 0,void 0,function(){return Ie(this,function(t){return this.running?[2,ue(this.logger,"LongPolling",this.httpClient,this.url,this.accessTokenFactory,e,this.logMessageContent)]:[2,Promise.reject(new Error("Cannot send until the transport is connected"))]})})},e.prototype.stop=function(){return Pe(this,void 0,void 0,function(){var e,t;return Ie(this,function(n){switch(n.label){case 0:this.logger.log(Y.Trace,"(LongPolling transport) Stopping polling."),this.running=!1,this.pollAbort.abort(),n.label=1;case 1:return n.trys.push([1,,5,6]),[4,this.receiving];case 2:return n.sent(),this.logger.log(Y.Trace,"(LongPolling transport) sending DELETE request to "+this.url+"."),e={headers:{}},[4,this.getAccessToken()];case 3:return t=n.sent(),this.updateHeaderToken(e,t),[4,this.httpClient.delete(this.url,e)];case 4:return n.sent(),this.logger.log(Y.Trace,"(LongPolling transport) DELETE request sent."),[3,6];case 5:return this.logger.log(Y.Trace,"(LongPolling transport) Stop finished."),this.raiseOnClose(),[7];case 6:return[2]}})})},e.prototype.raiseOnClose=function(){if(this.onclose){var e="(LongPolling transport) Firing onclose event.";this.closeError&&(e+=" Error: "+this.closeError),this.logger.log(Y.Trace,e),this.onclose(this.closeError)}},e}(),Ne=function(e,t,n,r){return new(n||(n=Promise))(function(i,s){function o(e){try{c(r.next(e))}catch(t){s(t)}}function a(e){try{c(r.throw(e))}catch(t){s(t)}}function c(e){e.done?i(e.value):new n(function(t){t(e.value)}).then(o,a)}c((r=r.apply(e,t||[])).next())})},He=function(e,t){var n,r,i,s,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return s={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(s[Symbol.iterator]=function(){return this}),s;function a(s){return function(a){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,r&&(i=2&s[0]?r.return:s[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,s[1])).done)return i;switch(r=0,i&&(s=[2&s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return o.label++,{value:s[1],done:!1};case 5:o.label++,r=s[1],s=[0];continue;case 7:s=o.ops.pop(),o.trys.pop();continue;default:if(!(i=o.trys,(i=i.length>0&&i[i.length-1])||6!==s[0]&&2!==s[0])){o=0;continue}if(3===s[0]&&(!i||s[1]>i[0]&&s[1]<i[3])){o.label=s[1];break}if(6===s[0]&&o.label<i[1]){o.label=i[1],i=s;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(s);break}i[2]&&o.ops.pop(),o.trys.pop();continue}s=t.call(e,o)}catch(a){s=[6,a],r=0}finally{n=i=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,a])}}},Fe=function(){function e(e,t,n,r,i){this.httpClient=e,this.accessTokenFactory=t,this.logger=n,this.logMessageContent=r,this.eventSourceConstructor=i,this.onreceive=null,this.onclose=null}return e.prototype.connect=function(e,t){return Ne(this,void 0,void 0,function(){var n,r=this;return He(this,function(i){switch(i.label){case 0:return oe.isRequired(e,"url"),oe.isRequired(t,"transferFormat"),oe.isIn(t,je,"transferFormat"),this.logger.log(Y.Trace,"(SSE transport) Connecting."),this.url=e,this.accessTokenFactory?[4,this.accessTokenFactory()]:[3,2];case 1:(n=i.sent())&&(e+=(e.indexOf("?")<0?"?":"&")+"access_token="+encodeURIComponent(n)),i.label=2;case 2:return[2,new Promise(function(n,i){var s=!1;if(t===je.Text){var o;if(ae.isBrowser||ae.isWebWorker)o=new r.eventSourceConstructor(e,{withCredentials:!0});else{var a=r.httpClient.getCookieString(e);o=new r.eventSourceConstructor(e,{withCredentials:!0,headers:{Cookie:a}})}try{o.onmessage=function(e){if(r.onreceive)try{r.logger.log(Y.Trace,"(SSE transport) data received. "+ce(e.data,r.logMessageContent)+"."),r.onreceive(e.data)}catch(t){return void r.close(t)}},o.onerror=function(e){var t=new Error(e.data||"Error occurred");s?r.close(t):i(t)},o.onopen=function(){r.logger.log(Y.Information,"SSE connected to "+r.url),r.eventSource=o,s=!0,n()}}catch(c){return void i(c)}}else i(new Error("The Server-Sent Events transport only supports the 'Text' transfer format"))})]}})})},e.prototype.send=function(e){return Ne(this,void 0,void 0,function(){return He(this,function(t){return this.eventSource?[2,ue(this.logger,"SSE",this.httpClient,this.url,this.accessTokenFactory,e,this.logMessageContent)]:[2,Promise.reject(new Error("Cannot send until the transport is connected"))]})})},e.prototype.stop=function(){return this.close(),Promise.resolve()},e.prototype.close=function(e){this.eventSource&&(this.eventSource.close(),this.eventSource=void 0,this.onclose&&this.onclose(e))},e}(),Ve=function(e,t,n,r){return new(n||(n=Promise))(function(i,s){function o(e){try{c(r.next(e))}catch(t){s(t)}}function a(e){try{c(r.throw(e))}catch(t){s(t)}}function c(e){e.done?i(e.value):new n(function(t){t(e.value)}).then(o,a)}c((r=r.apply(e,t||[])).next())})},Be=function(e,t){var n,r,i,s,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return s={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(s[Symbol.iterator]=function(){return this}),s;function a(s){return function(a){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,r&&(i=2&s[0]?r.return:s[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,s[1])).done)return i;switch(r=0,i&&(s=[2&s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return o.label++,{value:s[1],done:!1};case 5:o.label++,r=s[1],s=[0];continue;case 7:s=o.ops.pop(),o.trys.pop();continue;default:if(!(i=o.trys,(i=i.length>0&&i[i.length-1])||6!==s[0]&&2!==s[0])){o=0;continue}if(3===s[0]&&(!i||s[1]>i[0]&&s[1]<i[3])){o.label=s[1];break}if(6===s[0]&&o.label<i[1]){o.label=i[1],i=s;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(s);break}i[2]&&o.ops.pop(),o.trys.pop();continue}s=t.call(e,o)}catch(a){s=[6,a],r=0}finally{n=i=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,a])}}},Ye=function(){function e(e,t,n,r,i){this.logger=n,this.accessTokenFactory=t,this.logMessageContent=r,this.webSocketConstructor=i,this.httpClient=e,this.onreceive=null,this.onclose=null}return e.prototype.connect=function(e,t){return Ve(this,void 0,void 0,function(){var n,r=this;return Be(this,function(i){switch(i.label){case 0:return oe.isRequired(e,"url"),oe.isRequired(t,"transferFormat"),oe.isIn(t,je,"transferFormat"),this.logger.log(Y.Trace,"(WebSockets transport) Connecting."),this.accessTokenFactory?[4,this.accessTokenFactory()]:[3,2];case 1:(n=i.sent())&&(e+=(e.indexOf("?")<0?"?":"&")+"access_token="+encodeURIComponent(n)),i.label=2;case 2:return[2,new Promise(function(n,i){var s;e=e.replace(/^http/,"ws");var o=r.httpClient.getCookieString(e),a=!1;ae.isNode&&o&&(s=new r.webSocketConstructor(e,void 0,{headers:{Cookie:""+o}})),s||(s=new r.webSocketConstructor(e)),t===je.Binary&&(s.binaryType="arraybuffer"),s.onopen=function(t){r.logger.log(Y.Information,"WebSocket connected to "+e+"."),r.webSocket=s,a=!0,n()},s.onerror=function(e){var t=null;t="undefined"!=typeof ErrorEvent&&e instanceof ErrorEvent?e.error:new Error("There was an error with the transport."),i(t)},s.onmessage=function(e){r.logger.log(Y.Trace,"(WebSockets transport) data received. "+ce(e.data,r.logMessageContent)+"."),r.onreceive&&r.onreceive(e.data)},s.onclose=function(e){if(a)r.close(e);else{var t=null;t="undefined"!=typeof ErrorEvent&&e instanceof ErrorEvent?e.error:new Error("There was an error with the transport."),i(t)}}})]}})})},e.prototype.send=function(e){return this.webSocket&&this.webSocket.readyState===this.webSocketConstructor.OPEN?(this.logger.log(Y.Trace,"(WebSockets transport) sending data. "+ce(e,this.logMessageContent)+"."),this.webSocket.send(e),Promise.resolve()):Promise.reject("WebSocket is not in the OPEN state")},e.prototype.stop=function(){return this.webSocket&&this.close(void 0),Promise.resolve()},e.prototype.close=function(e){this.webSocket&&(this.webSocket.onclose=function(){},this.webSocket.onmessage=function(){},this.webSocket.onerror=function(){},this.webSocket.close(),this.webSocket=void 0),this.logger.log(Y.Trace,"(WebSockets transport) socket closed."),this.onclose&&(!e||!1!==e.wasClean&&1e3===e.code?this.onclose():this.onclose(new Error("WebSocket closed with status code: "+e.code+" ("+e.reason+").")))},e}(),Ue=function(e,t,n,r){return new(n||(n=Promise))(function(i,s){function o(e){try{c(r.next(e))}catch(t){s(t)}}function a(e){try{c(r.throw(e))}catch(t){s(t)}}function c(e){e.done?i(e.value):new n(function(t){t(e.value)}).then(o,a)}c((r=r.apply(e,t||[])).next())})},We=function(e,t){var n,r,i,s,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return s={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(s[Symbol.iterator]=function(){return this}),s;function a(s){return function(a){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,r&&(i=2&s[0]?r.return:s[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,s[1])).done)return i;switch(r=0,i&&(s=[2&s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return o.label++,{value:s[1],done:!1};case 5:o.label++,r=s[1],s=[0];continue;case 7:s=o.ops.pop(),o.trys.pop();continue;default:if(!(i=o.trys,(i=i.length>0&&i[i.length-1])||6!==s[0]&&2!==s[0])){o=0;continue}if(3===s[0]&&(!i||s[1]>i[0]&&s[1]<i[3])){o.label=s[1];break}if(6===s[0]&&o.label<i[1]){o.label=i[1],i=s;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(s);break}i[2]&&o.ops.pop(),o.trys.pop();continue}s=t.call(e,o)}catch(a){s=[6,a],r=0}finally{n=i=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,a])}}},qe=null,$e=null;if(ae.isNode){var Ge=require;qe=Ge("ws"),$e=Ge("eventsource")}var Xe=function(){function e(e,t){var n;void 0===t&&(t={}),this.stopPromiseResolver=function(){},this.features={},this.negotiateVersion=1,oe.isRequired(e,"url"),this.logger=void 0===(n=t.logger)?new fe(Y.Information):null===n?re.instance:n.log?n:new fe(n),this.baseUrl=this.resolveUrl(e),(t=t||{}).logMessageContent=t.logMessageContent||!1,ae.isNode||"undefined"==typeof WebSocket||t.WebSocket?ae.isNode&&!t.WebSocket&&qe&&(t.WebSocket=qe):t.WebSocket=WebSocket,ae.isNode||"undefined"==typeof EventSource||t.EventSource?ae.isNode&&!t.EventSource&&void 0!==$e&&(t.EventSource=$e):t.EventSource=EventSource,this.httpClient=t.httpClient||new Se(this.logger),this.connectionState="Disconnected",this.connectionStarted=!1,this.options=t,this.onreceive=null,this.onclose=null}return e.prototype.start=function(e){return Ue(this,void 0,void 0,function(){var t;return We(this,function(n){switch(n.label){case 0:return e=e||je.Binary,oe.isIn(e,je,"transferFormat"),this.logger.log(Y.Debug,"Starting connection with transfer format '"+je[e]+"'."),"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(e),[4,this.startInternalPromise]);case 1:return n.sent(),"Disconnecting"!==this.connectionState?[3,3]:(t="Failed to start the HttpConnection before stop() was called.",this.logger.log(Y.Error,t),[4,this.stopPromise]);case 2:return n.sent(),[2,Promise.reject(new Error(t))];case 3:if("Connected"!==this.connectionState)return t="HttpConnection.startInternal completed gracefully but didn't enter the connection into the connected state!",this.logger.log(Y.Error,t),[2,Promise.reject(new Error(t))];n.label=4;case 4:return this.connectionStarted=!0,[2]}})})},e.prototype.send=function(e){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 Ke(this.transport)),this.sendQueue.send(e))},e.prototype.stop=function(e){return Ue(this,void 0,void 0,function(){var t=this;return We(this,function(n){switch(n.label){case 0:return"Disconnected"===this.connectionState?(this.logger.log(Y.Debug,"Call to HttpConnection.stop("+e+") ignored because the connection is already in the disconnected state."),[2,Promise.resolve()]):"Disconnecting"===this.connectionState?(this.logger.log(Y.Debug,"Call to HttpConnection.stop("+e+") ignored because the connection is already in the disconnecting state."),[2,this.stopPromise]):(this.connectionState="Disconnecting",this.stopPromise=new Promise(function(e){t.stopPromiseResolver=e}),[4,this.stopInternal(e)]);case 1:return n.sent(),[4,this.stopPromise];case 2:return n.sent(),[2]}})})},e.prototype.stopInternal=function(e){return Ue(this,void 0,void 0,function(){var t;return We(this,function(n){switch(n.label){case 0:this.stopError=e,n.label=1;case 1:return n.trys.push([1,3,,4]),[4,this.startInternalPromise];case 2:return n.sent(),[3,4];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 t=n.sent(),this.logger.log(Y.Error,"HttpConnection.transport.stop() threw error '"+t+"'."),this.stopConnection(),[3,8];case 8:return this.transport=void 0,[3,10];case 9:this.logger.log(Y.Debug,"HttpConnection.transport is undefined in HttpConnection.stop() because start() failed."),n.label=10;case 10:return[2]}})})},e.prototype.startInternal=function(e){return Ue(this,void 0,void 0,function(){var t,n,r,i,s,o;return We(this,function(a){switch(a.label){case 0:t=this.baseUrl,this.accessTokenFactory=this.options.accessTokenFactory,a.label=1;case 1:return a.trys.push([1,12,,13]),this.options.skipNegotiation?this.options.transport!==Te.WebSockets?[3,3]:(this.transport=this.constructTransport(Te.WebSockets),[4,this.startTransport(t,e)]):[3,5];case 2:return a.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,r=0,i=function(){var e;return We(this,function(i){switch(i.label){case 0:return[4,s.getNegotiationResponse(t)];case 1:if(n=i.sent(),"Disconnecting"===s.connectionState||"Disconnected"===s.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&&(t=n.url),n.accessToken&&(e=n.accessToken,s.accessTokenFactory=function(){return e}),r++,[2]}})},s=this,a.label=6;case 6:return[5,i()];case 7:a.sent(),a.label=8;case 8:if(n.url&&r<100)return[3,6];a.label=9;case 9:if(100===r&&n.url)throw new Error("Negotiate redirection limit exceeded.");return[4,this.createTransport(t,this.options.transport,n,e)];case 10:a.sent(),a.label=11;case 11:return this.transport instanceof Re&&(this.features.inherentKeepAlive=!0),"Connecting "===this.connectionState&&(this.logger.log(Y.Debug,"The HttpConnection connected successfully."),this.connectionState="Connected"),[3,13];case 12:return o=a.sent(),this.logger.log(Y.Error,"Failed to start the connection: "+o),this.connectionState="Disconnected",this.transport=void 0,this.stopPromiseResolver(),[2,Promise.reject(o)];case 13:return[2]}})})},e.prototype.getNegotiationResponse=function(e){return Ue(this,void 0,void 0,function(){var t,n,r,i,s,o,a;return We(this,function(c){switch(c.label){case 0:return this.accessTokenFactory?[4,this.accessTokenFactory()]:[3,2];case 1:(r=c.sent())&&((t={}).Authorization="Bearer "+r,n=t),c.label=2;case 2:i=this.resolveNegotiateUrl(e),this.logger.log(Y.Debug,"Sending negotiation request: "+i+"."),c.label=3;case 3:return c.trys.push([3,5,,6]),[4,this.httpClient.post(i,{content:"",headers:n})];case 4:return 200!==(s=c.sent()).statusCode?[2,Promise.reject(new Error("Unexpected status code returned from negotiate "+s.statusCode))]:((!(o=JSON.parse(s.content)).negotiateVersion||o.negotiateVersion<1)&&(o.connectionToken=o.connectionId),[2,o]);case 5:return a=c.sent(),this.logger.log(Y.Error,"Failed to complete negotiation with the server: "+a),[2,Promise.reject(a)];case 6:return[2]}})})},e.prototype.createConnectUrl=function(e,t){return t?e+(-1===e.indexOf("?")?"?":"&")+"id="+t:e},e.prototype.createTransport=function(e,t,n,r){return Ue(this,void 0,void 0,function(){var i,s,o,a,c,l,u,h,d,f,p;return We(this,function(m){switch(m.label){case 0:return i=this.createConnectUrl(e,n.connectionToken),this.isITransport(t)?(this.logger.log(Y.Debug,"Connection was provided an instance of ITransport, using that directly."),this.transport=t,[4,this.startTransport(i,r)]):[3,2];case 1:return m.sent(),this.connectionId=n.connectionId,[2];case 2:s=[],o=n.availableTransports||[],a=n,c=0,l=o,m.label=3;case 3:return c<l.length?(u=l[c],(h=this.resolveTransportOrError(u,t,r))instanceof Error?(s.push(u.transport+" failed: "+h),[3,12]):[3,4]):[3,13];case 4:if(!this.isITransport(h))return[3,12];if(this.transport=h,a)return[3,9];m.label=5;case 5:return m.trys.push([5,7,,8]),[4,this.getNegotiationResponse(e)];case 6:return a=m.sent(),[3,8];case 7:return d=m.sent(),[2,Promise.reject(d)];case 8:i=this.createConnectUrl(e,a.connectionToken),m.label=9;case 9:return m.trys.push([9,11,,12]),[4,this.startTransport(i,r)];case 10:return m.sent(),this.connectionId=a.connectionId,[2];case 11:return f=m.sent(),this.logger.log(Y.Error,"Failed to start the transport '"+u.transport+"': "+f),a=void 0,s.push(u.transport+" failed: "+f),"Connecting "!==this.connectionState?(p="Failed to select transport before stop() was called.",this.logger.log(Y.Debug,p),[2,Promise.reject(new Error(p))]):[3,12];case 12:return c++,[3,3];case 13:return s.length>0?[2,Promise.reject(new Error("Unable to connect to the server with any of the available transports. "+s.join(" ")))]:[2,Promise.reject(new Error("None of the transports supported by the client are supported by the server."))]}})})},e.prototype.constructTransport=function(e){switch(e){case Te.WebSockets:if(!this.options.WebSocket)throw new Error("'WebSocket' is not supported in your environment.");return new Ye(this.httpClient,this.accessTokenFactory,this.logger,this.options.logMessageContent||!1,this.options.WebSocket);case Te.ServerSentEvents:if(!this.options.EventSource)throw new Error("'EventSource' is not supported in your environment.");return new Fe(this.httpClient,this.accessTokenFactory,this.logger,this.options.logMessageContent||!1,this.options.EventSource);case Te.LongPolling:return new Re(this.httpClient,this.accessTokenFactory,this.logger,this.options.logMessageContent||!1);default:throw new Error("Unknown transport: "+e+".")}},e.prototype.startTransport=function(e,t){var n=this;return this.transport.onreceive=this.onreceive,this.transport.onclose=function(e){return n.stopConnection(e)},this.transport.connect(e,t)},e.prototype.resolveTransportOrError=function(e,t,n){var r=Te[e.transport];if(null==r)return this.logger.log(Y.Debug,"Skipping transport '"+e.transport+"' because it is not supported by this client."),new Error("Skipping transport '"+e.transport+"' because it is not supported by this client.");if(!function(e,t){return!e||0!=(t&e)}(t,r))return this.logger.log(Y.Debug,"Skipping transport '"+Te[r]+"' because it was disabled by the client."),new Error("'"+Te[r]+"' is disabled by the client.");if(!(e.transferFormats.map(function(e){return je[e]}).indexOf(n)>=0))return this.logger.log(Y.Debug,"Skipping transport '"+Te[r]+"' because it does not support the requested transfer format '"+je[n]+"'."),new Error("'"+Te[r]+"' does not support "+je[n]+".");if(r===Te.WebSockets&&!this.options.WebSocket||r===Te.ServerSentEvents&&!this.options.EventSource)return this.logger.log(Y.Debug,"Skipping transport '"+Te[r]+"' because it is not supported in your environment.'"),new Error("'"+Te[r]+"' is not supported in your environment.");this.logger.log(Y.Debug,"Selecting transport '"+Te[r]+"'.");try{return this.constructTransport(r)}catch(i){return i}},e.prototype.isITransport=function(e){return e&&"object"==typeof e&&"connect"in e},e.prototype.stopConnection=function(e){var t=this;if(this.logger.log(Y.Debug,"HttpConnection.stopConnection("+e+") called while in state "+this.connectionState+"."),this.transport=void 0,e=this.stopError||e,this.stopError=void 0,"Disconnected"!==this.connectionState)if("Connecting "!==this.connectionState){if("Disconnecting"===this.connectionState&&this.stopPromiseResolver(),e?this.logger.log(Y.Error,"Connection disconnected with error '"+e+"'."):this.logger.log(Y.Information,"Connection disconnected."),this.sendQueue&&(this.sendQueue.stop().catch(function(e){t.logger.log(Y.Error,"TransportSendQueue.stop() threw error '"+e+"'.")}),this.sendQueue=void 0),this.connectionId=void 0,this.connectionState="Disconnected",this.connectionStarted){this.connectionStarted=!1;try{this.onclose&&this.onclose(e)}catch(n){this.logger.log(Y.Error,"HttpConnection.onclose("+e+") threw error '"+n+"'.")}}}else this.logger.log(Y.Warning,"Call to HttpConnection.stopConnection("+e+") was ignored because the connection hasn't yet left the in the connecting state.");else this.logger.log(Y.Debug,"Call to HttpConnection.stopConnection("+e+") was ignored because the connection is already in the disconnected state.")},e.prototype.resolveUrl=function(e){if(0===e.lastIndexOf("https://",0)||0===e.lastIndexOf("http://",0))return e;if(!ae.isBrowser||!window.document)throw new Error("Cannot resolve '"+e+"'.");var t=window.document.createElement("a");return t.href=e,this.logger.log(Y.Information,"Normalizing '"+e+"' to '"+t.href+"'."),t.href},e.prototype.resolveNegotiateUrl=function(e){var t=e.indexOf("?"),n=e.substring(0,-1===t?e.length:t);return"/"!==n[n.length-1]&&(n+="/"),n+="negotiate",-1===(n+=-1===t?"":e.substring(t)).indexOf("negotiateVersion")&&(n+=-1===t?"?":"&",n+="negotiateVersion="+this.negotiateVersion),n},e}();var Ke=function(){function e(e){this.transport=e,this.buffer=[],this.executing=!0,this.sendBufferedData=new Je,this.transportResult=new Je,this.sendLoopPromise=this.sendLoop()}return e.prototype.send=function(e){return this.bufferData(e),this.transportResult||(this.transportResult=new Je),this.transportResult.promise},e.prototype.stop=function(){return this.executing=!1,this.sendBufferedData.resolve(),this.sendLoopPromise},e.prototype.bufferData=function(e){if(this.buffer.length&&typeof this.buffer[0]!=typeof e)throw new Error("Expected data to be of type "+typeof this.buffer+" but was of type "+typeof e);this.buffer.push(e),this.sendBufferedData.resolve()},e.prototype.sendLoop=function(){return Ue(this,void 0,void 0,function(){var t,n,r;return We(this,function(i){switch(i.label){case 0:return[4,this.sendBufferedData.promise];case 1:if(i.sent(),!this.executing)return this.transportResult&&this.transportResult.reject("Connection stopped."),[3,6];this.sendBufferedData=new Je,t=this.transportResult,this.transportResult=void 0,n="string"==typeof this.buffer[0]?this.buffer.join(""):e.concatBuffers(this.buffer),this.buffer.length=0,i.label=2;case 2:return i.trys.push([2,4,,5]),[4,this.transport.send(n)];case 3:return i.sent(),t.resolve(),[3,5];case 4:return r=i.sent(),t.reject(r),[3,5];case 5:return[3,0];case 6:return[2]}})})},e.concatBuffers=function(e){for(var t=e.map(function(e){return e.byteLength}).reduce(function(e,t){return e+t}),n=new Uint8Array(t),r=0,i=0,s=e;i<s.length;i++){var o=s[i];n.set(new Uint8Array(o),r),r+=o.byteLength}return n},e}(),Je=function(){function e(){var e=this;this.promise=new Promise(function(t,n){var r;return r=[t,n],e.resolver=r[0],e.rejecter=r[1],r})}return e.prototype.resolve=function(){this.resolver()},e.prototype.reject=function(e){this.rejecter(e)},e}(),Qe=function(){function e(){this.name="json",this.version=1,this.transferFormat=je.Text}return e.prototype.parseMessages=function(e,t){if("string"!=typeof e)throw new Error("Invalid input for JSON hub protocol. Expected a string.");if(!e)return[];null===t&&(t=re.instance);for(var n=[],r=0,i=xe.parse(e);r<i.length;r++){var s=i[r],o=JSON.parse(s);if("number"!=typeof o.type)throw new Error("Invalid payload.");switch(o.type){case ve.Invocation:this.isInvocationMessage(o);break;case ve.StreamItem:this.isStreamItemMessage(o);break;case ve.Completion:this.isCompletionMessage(o);break;case ve.Ping:case ve.Close:break;default:t.log(Y.Information,"Unknown message type '"+o.type+"' ignored.");continue}n.push(o)}return n},e.prototype.writeMessage=function(e){return xe.write(JSON.stringify(e))},e.prototype.isInvocationMessage=function(e){this.assertNotEmptyString(e.target,"Invalid payload for Invocation message."),void 0!==e.invocationId&&this.assertNotEmptyString(e.invocationId,"Invalid payload for Invocation message.")},e.prototype.isStreamItemMessage=function(e){if(this.assertNotEmptyString(e.invocationId,"Invalid payload for StreamItem message."),void 0===e.item)throw new Error("Invalid payload for StreamItem message.")},e.prototype.isCompletionMessage=function(e){if(e.result&&e.error)throw new Error("Invalid payload for Completion message.");!e.result&&e.error&&this.assertNotEmptyString(e.error,"Invalid payload for Completion message."),this.assertNotEmptyString(e.invocationId,"Invalid payload for Completion message.")},e.prototype.assertNotEmptyString=function(e,t){if("string"!=typeof e||""===e)throw new Error(t)},e}(),Ze=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},et={trace:Y.Trace,debug:Y.Debug,info:Y.Information,information:Y.Information,warn:Y.Warning,warning:Y.Warning,error:Y.Error,critical:Y.Critical,none:Y.None};var tt=function(){function e(){}return e.prototype.configureLogging=function(e){if(oe.isRequired(e,"logging"),void 0!==e.log)this.logger=e;else if("string"==typeof e){var t=function(e){var t=et[e.toLowerCase()];if(void 0!==t)return t;throw new Error("Unknown log level: "+e)}(e);this.logger=new fe(t)}else this.logger=new fe(e);return this},e.prototype.withUrl=function(e,t){return oe.isRequired(e,"url"),this.url=e,this.httpConnectionOptions=Ze({},this.httpConnectionOptions,"object"==typeof t?t:{transport:t}),this},e.prototype.withHubProtocol=function(e){return oe.isRequired(e,"protocol"),this.protocol=e,this},e.prototype.withAutomaticReconnect=function(e){if(this.reconnectPolicy)throw new Error("A reconnectPolicy has already been set.");return e?Array.isArray(e)?this.reconnectPolicy=new Le(e):this.reconnectPolicy=e:this.reconnectPolicy=new Le,this},e.prototype.build=function(){var e=this.httpConnectionOptions||{};if(void 0===e.logger&&(e.logger=this.logger),!this.url)throw new Error("The 'HubConnectionBuilder.withUrl' method must be called before building the connection.");var t=new Xe(this.url,e);return De.create(t,this.logger||re.instance,this.protocol||new Qe,this.reconnectPolicy)},e}();const nt=["*"],rt=[[["","header-title",""]],[["","header-ext",""]],"*"];function it(e,t){1&e&&s.kd(0)}class st{}const ot={auth:"",license:"/api/license",core:"/api/v1",analytic:"/api/v1/entities/query",content:"/api/v1/content",reports:"/reports",jobs:"/api/v1/jobs",jobsSignalR:"/api/v1/ws/jobs"};class at{}class ct{constructor(){this._value=0}get value(){return this._value}set value(e){this._value=Math.min(1,Math.max(0,e))}get width(){return(100*this.value).toFixed(2)+"%"}}ct.\u0275fac=function(e){return new(e||ct)},ct.\u0275cmp=s.Hc({type:ct,selectors:[["core-progress"]],inputs:{value:"value"},decls:1,vars:2,template:function(e,t){1&e&&s.Oc(0,"div"),2&e&&s.Fd("width",t.width)},styles:["[_nghost-%COMP%] {\n        --progress: var(--progress-color, currentColor);\n        --height: var(--progress-height, 0.25em);\n\n        display: flex;\n        height: var(--height);\n        background-color: var(--progress-bg);\n      }\n\n      [_nghost-%COMP%]    > div[_ngcontent-%COMP%] {\n        transition: width var(--duration-s);\n        background-color: var(--progress);\n      }\n\n      [_nghost-%COMP%]:after {\n        content: '';\n        flex: 1;\n        opacity: 0.2;\n        background-image: linear-gradient(90deg, var(--progress) 0% 50%, transparent 50%);\n        background-size: 75%;\n        animation: infinite-bg calc(var(--duration-l) * 3) linear infinite;\n      }"]}),ct.propDecorators={value:[{type:s.G}]};class lt extends ct{constructor(){super(...arguments),this.perimeter=50*Math.PI,this.dasharray=`${this.perimeter} ${this.perimeter}`}get offset(){return this.perimeter*(1-this.value)}get percentage(){return Math.round(100*this.value)||""}}lt.\u0275fac=function(e){return ut(e||lt)},lt.\u0275cmp=s.Hc({type:lt,selectors:[["core-circle-progress"]],features:[s.wc],ngContentSelectors:nt,decls:6,vars:3,consts:[["viewBox","0 0 50 50"],["cx","25","cy","25","r","24"],[1,"title"]],template:function(e,t){1&e&&(s.ld(),s.dd(),s.Tc(0,"svg",0),s.Oc(1,"circle",1),s.Oc(2,"circle",1),s.Sc(),s.kd(3),s.cd(),s.Tc(4,"div",2),s.Kd(5),s.Sc()),2&e&&(s.zc(2),s.Ac("stroke-dasharray",t.dasharray)("stroke-dashoffset",t.offset),s.zc(3),s.Md("",t.percentage,"%"))},styles:["[_nghost-%COMP%] {\n        --progress: var(--progress-color, currentColor);\n\n        display: inline-grid;\n        grid-template: 100% / 100%;\n        justify-items: center;\n        align-items: center;\n      }\n\n      \n      [_nghost-%COMP%]  > * {\n        grid-area: 1 / 1;\n      }\n\n      circle[_ngcontent-%COMP%] {\n        fill: none;\n        stroke-width: 1;\n        stroke: var(--progress-bg);\n        transition: stroke-dashoffset var(--duration-s);\n        transform: rotate(-90deg);\n        transform-origin: 50% 50%;\n      }\n\n      circle[_ngcontent-%COMP%]    + circle[_ngcontent-%COMP%] {\n        stroke: var(--progress);\n      }\n\n      .title[_ngcontent-%COMP%] {\n        display: none;\n        line-height: 0;\n        color: var(--progress);\n      }\n\n      svg[_ngcontent-%COMP%]    + .title[_ngcontent-%COMP%] {\n        display: block;\n      }\n\n      \n      .wrap-icon[_nghost-%COMP%] {\n        vertical-aling: -0.125em;\n      }\n\n      .wrap-icon[_nghost-%COMP%]    > svg[_ngcontent-%COMP%] {\n        transform: scale(1.4);\n      }"]});const ut=s.Vc(lt);class ht{constructor(){this.expanded=!0}}function dt(e){return e&&new o.g({fromString:Object(a.stringify)(e,{strictNullHandling:!0,arrayFormat:"repeat"})})}ht.\u0275fac=function(e){return new(e||ht)},ht.\u0275cmp=s.Hc({type:ht,selectors:[["core-collapser"]],hostVars:2,hostBindings:function(e,t){2&e&&s.Fc("expanded",t.expanded)},ngContentSelectors:["[header-title]","[header-ext]","*"],decls:8,vars:0,consts:[[1,"header"],[1,"title",3,"click"],["viewBox","0 0 2.646 2.646",1,"toggle"],["d","M.884.362l1.038.96-1.038.962"],[1,"content"]],template:function(e,t){1&e&&(s.ld(rt),s.Tc(0,"div",0),s.Tc(1,"span",1),s.ad("click",function(){return t.expanded=!t.expanded}),s.dd(),s.Tc(2,"svg",2),s.Oc(3,"path",3),s.Sc(),s.kd(4),s.Sc(),s.kd(5,1),s.Sc(),s.cd(),s.Tc(6,"div",4),s.kd(7,2),s.Sc())},styles:[".header[_ngcontent-%COMP%] {\n        display: flex;\n        cursor: default;\n        background: var(--collapser-header-bg, #0000000f);\n      }\n\n      .title[_ngcontent-%COMP%] {\n        flex: 1;\n        line-height: 2;\n        white-space: nowrap;\n        overflow: hidden;\n        text-overflow: ellipsis;\n      }\n\n      .toggle[_ngcontent-%COMP%] {\n        padding: 0.75em;\n        width: 2em;\n        fill: none;\n        stroke: currentColor;\n        stroke-width: 0.1;\n        vertical-align: top;\n        transition: transform var(--duration-m);\n      }\n\n      .expanded[_nghost-%COMP%]   .toggle[_ngcontent-%COMP%] {\n        transform: rotate(90deg);\n      }\n\n      .content[_ngcontent-%COMP%] {\n        max-height: 100vh;\n        overflow: auto;\n        transition: all var(--duration-m);\n        transition-property: max-height, transform, opacity;\n        transform-origin: top;\n      }\n\n      [_nghost-%COMP%]:not(.expanded)   .content[_ngcontent-%COMP%] {\n        max-height: 0;\n        transform: scaleY(0);\n        opacity: 0;\n      }"]}),ht.propDecorators={expanded:[{type:s.z,args:["class.expanded"]}]};const ft=/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(.+)?$/,pt=/([-+]\d{2}:\d{2})$/;function mt(e){return"string"==typeof e&&ft.test(e)}function gt(e){return function(e,t){var n;Object(l.a)(1,arguments);var r=Object(u.a)(null!==(n=null==t?void 0:t.additionalDigits)&&void 0!==n?n:2);if(2!==r&&1!==r&&0!==r)throw new RangeError("additionalDigits must be 0, 1 or 2");if("string"!=typeof e&&"[object String]"!==Object.prototype.toString.call(e))return new Date(NaN);var i,s=m(e);if(s.date){var o=g(s.date,r);i=v(o.restDateString,o.year)}if(!i||isNaN(i.getTime()))return new Date(NaN);var a,c=i.getTime(),h=0;if(s.time&&(h=b(s.time),isNaN(h)))return new Date(NaN);if(!s.timezone){var d=new Date(c+h),f=new Date(0);return f.setFullYear(d.getUTCFullYear(),d.getUTCMonth(),d.getUTCDate()),f.setHours(d.getUTCHours(),d.getUTCMinutes(),d.getUTCSeconds(),d.getUTCMilliseconds()),f}return a=w(s.timezone),isNaN(a)?new Date(NaN):new Date(c+h+a)}(e)}function vt(e,t=!1){return t?`${function(e,t){var n,r;Object(l.a)(1,arguments);var i=Object(O.a)(e);if(isNaN(i.getTime()))throw new RangeError("Invalid time value");var s=String(null!==(n=null==t?void 0:t.format)&&void 0!==n?n:"extended"),o=String(null!==(r=null==t?void 0:t.representation)&&void 0!==r?r:"complete");if("extended"!==s&&"basic"!==s)throw new RangeError("format must be 'extended' or 'basic'");if("date"!==o&&"time"!==o&&"complete"!==o)throw new RangeError("representation must be 'date', 'time', or 'complete'");var a="",c="",u="extended"===s?"-":"",h="extended"===s?":":"";if("time"!==o){var d=Object(k.a)(i.getDate(),2),f=Object(k.a)(i.getMonth()+1,2),p=Object(k.a)(i.getFullYear(),4);a="".concat(p).concat(u).concat(f).concat(u).concat(d)}if("date"!==o){var m=i.getTimezoneOffset();if(0!==m){var g=Math.abs(m),v=Object(k.a)(Math.floor(g/60),2),y=Object(k.a)(g%60,2),b=m<0?"+":"-";c="".concat(b).concat(v,":").concat(y)}else c="Z";var _=""===a?"":"T",w=[Object(k.a)(i.getHours(),2),Object(k.a)(i.getMinutes(),2),Object(k.a)(i.getSeconds(),2)].join(h);a="".concat(a).concat(_).concat(w).concat(c)}return a}(e).replace(pt,"")}.${e.getMilliseconds().toString().padStart(3,"0")}`:e.toISOString()}class yt{constructor(){this.eventHandlers=new Map}on(e,t,n){var r;const i=null!==(r=this.eventHandlers.get(e))&&void 0!==r?r:this.eventHandlers.set(e,{}).get(e);i&&e.addEventListener(t,i[t]=n,{passive:!0})}off(){for(const[e,t]of this.eventHandlers)for(const[n,r]of Object.entries(t))r&&e.removeEventListener(n,r);this.eventHandlers.clear()}}function bt(e,t){var n;const{x:r,y:i}=t.getBoundingClientRect();if(wt(e)){const t=null!==(n=e.touches[0])&&void 0!==n?n:e.changedTouches[0];return{x:Math.round(t.pageX-r),y:Math.round(t.pageY-i)}}if(e.target instanceof HTMLElement||e.target instanceof SVGElement){const t=e.target instanceof SVGGraphicsElement&&e.target.closest("svg")||e.target,{x:n,y:s}=t.getBoundingClientRect();return{x:Math.round(n-r+e.offsetX),y:Math.round(s-i+e.offsetY)}}return{x:0,y:0}}function _t(e,t,n=5){return!!e&&Math.max(Math.abs(e.x-t.x),Math.abs(e.y-t.y))<n}function wt(e){return!!window.TouchEvent&&e instanceof TouchEvent}function St(e){let t;return()=>null!=t?t:t=e()}function xt(e,t=!1,n=!0){const r=St(()=>function(e){return new Intl.Collator("en",{numeric:!0,sensitivity:e?"accent":"variant"})}(n));return(n,i)=>{const s=kt(e(n)),o=kt(e(i));return("number"==typeof s?s-o:r().compare(s,o))*(t?-1:1)}}function Ot(){return xt(e=>e.name)}function kt(e){return e instanceof Date?e.getTime():"boolean"==typeof e?+e:e}function Ct(e){throw"string"==typeof e?new Error(e):e}const Mt=new s.E("dropdownHost");class Et{constructor(e,t,n){var r;this.overlay=e,this.container=t,this.align="fit",this.direction="down",this._opened=!1,this.openedChange=new s.x,this.host=null!==(r=null==n?void 0:n.nativeElement)&&void 0!==r?r:Ct("dropdown host is not found, provide DROPDOWN_HOST token or use coreDropdownHost directive")}get opened(){return this._opened}open(){var e;this.opened||(this.ref=this.overlay.create(function(e,t,n,i){const s="fit"===n||"left"===n?"start":"right"===n?"end":n,o="up"===i?["top","bottom"]:["bottom","top"];return new r.e({positionStrategy:t.position().flexibleConnectedTo(e).withPush(!1).withPositions(o.map(e=>({originX:s,originY:e,overlayX:s,overlayY:"bottom"===e?"top":"bottom"}))),scrollStrategy:t.scrollStrategies.reposition(),panelClass:"core-dropdown-overlay",hasBackdrop:!0,backdropClass:""})}(this.host,this.overlay,this.align,this.direction)),this.ref.attach(new M.h(null!==(e=this.content)&&void 0!==e?e:Ct("content is not ready yet"),this.container)),this.updateWidth(),this.subscription=Object(E.a)(this.ref.backdropClick(),this.ref.keydownEvents().pipe(Object(z.a)(e=>e.keyCode===C.f))).subscribe(()=>this.close()),this.openedChange.emit(this._opened=!0))}close(){var e,t;this.opened&&(null===(e=this.subscription)||void 0===e||e.unsubscribe(),this.subscription=void 0,null===(t=this.ref)||void 0===t||t.detach(),this.openedChange.emit(this._opened=!1))}updateWidth(){var e;const{width:t}=this.host.getBoundingClientRect();null===(e=this.ref)||void 0===e||e.updateSize({width:"fit"===this.align?t:void 0,minWidth:"fit"!==this.align?t:void 0})}ngOnDestroy(){this.close()}}Et.\u0275fac=function(e){return new(e||Et)(s.Nc(r.d),s.Nc(s.ob),s.Nc(Mt,8))},Et.\u0275cmp=s.Hc({type:Et,selectors:[["core-dropdown"]],viewQuery:function(e,t){if(1&e&&s.Od(s.ib,!0),2&e){let e;s.td(e=s.bd())&&(t.content=e.first)}},hostBindings:function(e,t){1&e&&s.ad("resize",function(){return t.updateWidth()},!1,s.wd)},inputs:{align:"align",direction:"direction"},outputs:{openedChange:"openedChange"},ngContentSelectors:nt,decls:1,vars:0,template:function(e,t){1&e&&(s.ld(),s.Id(0,it,1,0,"ng-template"))},styles:[".core-dropdown-overlay {\n        flex-direction: column;\n        overflow: auto; \n\n        transform-origin: top;\n        animation: dropdown var(--duration-s);\n        background-color: #fff;\n        box-shadow: 1px 4px 4px #00000033;\n      }\n\n        .core-dropdown-overlay > * {\n        width: 100%; \n      }"]}),Et.ctorParameters=()=>[{type:r.d},{type:s.ob},{type:s.v,decorators:[{type:s.R},{type:s.C,args:[Mt]}]}],Et.propDecorators={content:[{type:s.mb,args:[s.ib]}],align:[{type:s.G}],direction:[{type:s.G}],openedChange:[{type:s.S}],updateWidth:[{type:s.A,args:["window:resize"]}]};class Tt{}function jt(e){for(;e;){if(e instanceof HTMLElement)return e;e=e.parentNode}}Tt.\u0275fac=function(e){return new(e||Tt)},Tt.\u0275dir=s.Ic({type:Tt,selectors:[["","coreDropdownHost",""]],features:[s.yc([{provide:Mt,useFactory(e,t){return null!=e?e:t.nativeElement instanceof HTMLElement?t:new s.v(null!==(n=jt(t.nativeElement))&&void 0!==n?n:Ct("no HTMLElement found for coreDropdownHost"));var n},deps:[[new s.R,new s.eb,Mt],s.v]}])]});class Dt{get url(){return this.name?"#"+this.name:void 0}}Dt.\u0275fac=function(e){return new(e||Dt)},Dt.\u0275cmp=s.Hc({type:Dt,selectors:[["core-icon"]],inputs:{name:"name"},decls:2,vars:1,template:function(e,t){1&e&&(s.dd(),s.Tc(0,"svg"),s.Oc(1,"use"),s.Sc()),2&e&&(s.zc(1),s.Ac("href",t.url))},styles:["[_nghost-%COMP%] {\n        display: inline-block;\n        text-align: center;\n        line-height: 0;\n      }\n\n      svg[_ngcontent-%COMP%] {\n        width: 1em;\n        height: 1em;\n        vertical-align: -0.125em;\n        transition: transform var(--duration-m);\n      }\n\n      \n\n      .deg45[_nghost-%COMP%]   svg[_ngcontent-%COMP%] {\n        transform: rotate(45deg);\n      }\n\n      .deg-45[_nghost-%COMP%]   svg[_ngcontent-%COMP%] {\n        transform: rotate(-45deg);\n      }\n\n      .deg90[_nghost-%COMP%]   svg[_ngcontent-%COMP%] {\n        transform: rotate(90deg);\n      }\n\n      .deg-90[_nghost-%COMP%]   svg[_ngcontent-%COMP%] {\n        transform: rotate(-90deg);\n      }\n\n      .deg180[_nghost-%COMP%]   svg[_ngcontent-%COMP%] {\n        transform: rotate(180deg);\n      }\n\n      .flip-x[_nghost-%COMP%]   svg[_ngcontent-%COMP%] {\n        transform: scaleX(-1);\n      }\n\n      .flip-y[_nghost-%COMP%]   svg[_ngcontent-%COMP%] {\n        transform: scaleY(-1);\n      }"]}),Dt.propDecorators={name:[{type:s.G}]};class At{constructor(e){this.overlay=e,this.items=new Map}open(e,t){const n=this.create(t);return n.attach(e),this.items.set(e,n),this.hideRest(!0),Object(E.a)(n.backdropClick(),n.keydownEvents().pipe(Object(z.a)(e=>e.keyCode===C.f))).pipe(Object(P.a)(()=>{}))}close(e){var t;null===(t=this.items.get(e))||void 0===t||t.dispose(),this.items.delete(e),this.hideRest(!1)}create(e){return this.overlay.create(new r.e({hasBackdrop:!0,backdropClass:[...e?[e]:[],"cdk-overlay-dark-backdrop"],panelClass:e}))}hideRest(e){const{from:t,to:n}=e?{from:0,to:-1}:{from:-1,to:void 0},r=e?"none":"";Array.from(this.items.values()).slice(t,n).forEach(e=>{e.backdropElement&&(e.backdropElement.style.display=r),e.overlayElement.style.display=r})}}At.\u0275fac=function(e){return new(e||At)(s.Xc(r.d))},At.\u0275prov=s.Jc({factory:function(){return new At(s.Xc(r.d))},token:At,providedIn:"root"}),At.ctorParameters=()=>[{type:r.d}];class Lt{constructor(e,t,n){this.service=e,this.tmpl=t,this.container=n,this.opened=!1}set coreModal(e){const t=!!e;this.opened!==t&&this.update(this.opened=t)}ngOnDestroy(){this.update(!1)}update(e){var t;if(e){const e=this.service.open(this.item=new M.h(this.tmpl,this.container),this.coreModalClass);this.subscription=e.subscribe(()=>{var e;return null===(e=this.coreModalClose)||void 0===e?void 0:e.call(this)})}else this.item&&(this.service.close(this.item),null===(t=this.subscription)||void 0===t||t.unsubscribe())}}Lt.\u0275fac=function(e){return new(e||Lt)(s.Nc(At),s.Nc(s.ib),s.Nc(s.ob))},Lt.\u0275dir=s.Ic({type:Lt,selectors:[["","coreModal",""]],inputs:{coreModal:"coreModal",coreModalClose:"coreModalClose",coreModalClass:"coreModalClass"}}),Lt.ctorParameters=()=>[{type:At},{type:s.ib},{type:s.ob}],Lt.propDecorators={coreModal:[{type:s.G}],coreModalClose:[{type:s.G}],coreModalClass:[{type:s.G}]};class zt{}zt.\u0275mod=s.Lc({type:zt}),zt.\u0275inj=s.Kc({factory:function(e){return new(e||zt)},imports:[[i.c,r.g]]}),("undefined"==typeof ngJitMode||ngJitMode)&&s.Bd(zt,{declarations:function(){return[lt,ht,Dt,ct,Lt,Et,Tt]},imports:function(){return[i.c,r.g]},exports:function(){return[lt,ht,Dt,ct,Lt,Et,Tt]}});const Pt={entities:{root:{id:2,class:"28c702cc-c5b8-11e9-bdef-0242ac110002"},class:"9b307a7e-c5b7-11e9-bdef-0242ac110002",collection:"010b2a48-c5b7-11e9-bdef-0242ac110002",attributes:{name:"ab07a132-ca5a-11e9-a094-0242ac110002",created:"afb7ee38-c5b6-11e9-bdef-0242ac110002",modified:"edac407c-c5b6-11e9-bdef-0242ac110002"},folder:"0c000172-cee9-11e9-a71e-0242ac110002"},models:{root:{id:3,class:"282699fe-b9d8-4ca8-9612-06defe00b0b1"},class:"339b1416-b8dc-48ec-95a4-db93330be005",collection:"c1770453-e302-4248-ae3b-7106ccc90ccb",versionCollection:"92f142d0-3923-407e-b7bb-f1c60973ff0d",attributes:{manifest:"6e9e9bb4-9fee-11ea-a962-bec6ee0e9dc3",class3DLayers:"ebf876e5-0c02-40d5-8117-3631bfa8cb64",layersCatalog:"ee4ca175-b013-4420-8192-4427c4cb0012",notesCatalog:"c4f5e322-9697-42ba-9436-c5d4e54c290e",modelManifest:"6e9e9bb4-9fee-11ea-a962-bec6ee0e9dc3",modelSourceBin:"28756e3d-e277-4b4e-a1f7-de1a797b7a84",modelSourceGltf:"ad4b3c8f-e653-47fd-b379-69e6e9dcd78a"},elements:{class:"f5c211c1-2142-4962-8cf3-a4606d7dc24f",attributes:{elementId:"2b28044c-4259-402a-9a1d-d6479ecac6b9",modelId:"2baeada3-5bd5-4ed3-9a41-95456438bb8e",data:"12faa976-979e-45d8-bcea-177c706b9c70",elementVersion:"570156c7-604e-4a52-9bff-36af71baff81",elementStatus:"bfbf8f74-ab45-4c83-b096-4ed76ba92437"},reference:"de16e1c6-5a9b-4f50-b773-a9a062726534"}},version:{root:{id:3,class:"282699fe-b9d8-4ca8-9612-06defe00b0b1"},class:"ae906e44-abab-4c0f-8d1b-53a50eb31ff3",collection:"92f142d0-3923-407e-b7bb-f1c60973ff0d",elementsCollection:"f3b4c3f2-504b-486c-9d5d-985cf4530130",attributes:{name:"ab07a132-ca5a-11e9-a094-0242ac110002",manifest:"6e9e9bb4-9fee-11ea-a962-bec6ee0e9dc3",class3DLayers:"ebf876e5-0c02-40d5-8117-3631bfa8cb64",layersCatalog:"ee4ca175-b013-4420-8192-4427c4cb0012",modelVersion:"570156c7-604e-4a52-9bff-36af71baff81",notesCatalog:"c4f5e322-9697-42ba-9436-c5d4e54c290e"}},reports:{root:{id:4,class:"7e662f43-6902-4442-b9d2-4746a17b2576"},class:"44432eb9-4f26-464e-9ff3-04b93d57c4d4",collection:"f02608dd-5164-4146-95a5-45986d41fd3c"},profiles:{root:{id:5,class:"11d6c7d8-8303-11ea-a962-bec6ee0e9dc3"},class:"078ab326-82f3-11ea-a962-bec6ee0e9dc3",collection:"ea508c58-8302-11ea-a962-bec6ee0e9dc3",attributes:{fullname:"7da0a569-1976-43cd-b218-1e50297c0612",photo:"c3546b08-2cb0-4ce3-ae1f-efcce6758eeb",email:"8577f695-386e-497a-aae4-bb5f1ae3dd1a",phone:"8d177238-9135-4083-b1b4-cbbc5feb1d53",position:"8e75e0c9-bbff-413e-a900-f7fcde7351e5",unit:"987cd148-885c-11ea-a962-bec6ee0e9dc3"}}};var It,Rt;function Nt(){return({value:e})=>"string"==typeof e&&e.trim()!==e?{edgeWhitespaces:{value:e}}:null}function Ht(){return({value:e})=>e&&e%1?{notInteger:{value:e}}:null}function Ft(e){return({value:t})=>t&&t!==(null==e?void 0:e.value)?{mismatch:t}:null}!function(e){e[e.MetadataEdit=1]="MetadataEdit",e[e.SecurityEdit=20]="SecurityEdit",e[e.SecuritySetPasswords=21]="SecuritySetPasswords",e[e.SettingsSetOtherUsers=40]="SettingsSetOtherUsers",e[e.SettingsSetOtherClients=41]="SettingsSetOtherClients",e[e.UIBasicLayout=100]="UIBasicLayout",e[e.UISettings=101]="UISettings",e[e.UIMetadata=102]="UIMetadata",e[e.UIEntities=120]="UIEntities",e[e.UIEntitiesSearch=121]="UIEntitiesSearch",e[e.UIEntitiesReports=122]="UIEntitiesReports",e[e.UI3DView=180]="UI3DView",e[e.UI3DTree=181]="UI3DTree",e[e.UI3DResponsibleForRemarks=182]="UI3DResponsibleForRemarks",e[e.UIExtension=200]="UIExtension"}(It||(It={})),function(e){e[e.DateFormat=10]="DateFormat",e[e.DateTimeFormat=12]="DateTimeFormat"}(Rt||(Rt={}));const Vt=q.a.slice(),Bt=Vt[Rt.DateFormat].slice();Bt.splice(i.h.Short,1,"dd.MM.yy"),Bt.splice(i.h.Medium,1,"dd.MM.yyyy"),Vt[Rt.DateFormat]=Bt;const Yt=Vt[Rt.DateTimeFormat].slice();Yt.splice(0,1,"{1} {0}"),Vt[Rt.DateTimeFormat]=Yt;const Ut=Vt;var Wt,qt;!function(e){e[e.Trace=0]="Trace",e[e.Debug=1]="Debug",e[e.Info=2]="Info",e[e.Warn=3]="Warn",e[e.Error=4]="Error",e[e.Fatal=5]="Fatal"}(Wt||(Wt={}));class $t{constructor(e){this.level=e}trace(e,...t){this.log(Wt.Trace,e,...t)}debug(e,...t){this.log(Wt.Trace,e,...t)}info(e,...t){this.log(Wt.Info,e,...t)}warn(e,...t){this.log(Wt.Warn,e,...t)}error(e,...t){this.log(Wt.Error,e,...t)}fatal(e,...t){this.log(Wt.Fatal,e,...t)}log(e,t,...n){var r;if(e=null!==(r=Wt[Wt[e]])&&void 0!==r?r:Wt.Error,this.level<=e){e===Wt.Fatal&&(e=Wt.Error,n=[t,...n],t="FATAL");const r=Wt[e].toLowerCase();e===Wt.Trace&&console.groupCollapsed(t),console[r](t,...n),e===Wt.Trace&&console.groupEnd()}}}class Gt{constructor(e,t,n,r){this.auth=e,this.router=t,this.location=n,this.logger=r,this.relay=new T.a,this.authenticated=this.relay.asObservable(),this.auth.setupAutomaticSilentRefresh()}get isAuthenticated(){return!!this._identity}get identity(){var e;return null!==(e=this._identity)&&void 0!==e?e:Ct("Identity is available only after authentication")}get clientId(){var e;return null!==(e=this.auth.clientId)&&void 0!==e?e:Ct("Unknown client")}login(){return Object($.a)(this,void 0,void 0,function*(){try{yield this.auth.loadDiscoveryDocumentAndTryLogin(),this.auth.hasValidIdToken()&&this.auth.hasValidAccessToken()?(this._identity=yield this.getIdentity(),this.relay.next(this.identity),this.relay.complete(),this.auth.state?this.router.navigateByUrl(decodeURIComponent(this.auth.state)):this.router.initialNavigation()):this.auth.initLoginFlow(this.location.path())}catch(e){this.logger.fatal(e),this.router.navigate(["/error","auth"])}})}logout(){this.auth.logOut()}getAccessToken(){return this.auth.getAccessToken()}hasPrivilege(...e){return!e.length||this.isAuthenticated&&e.every(e=>this.identity.privileges.includes(e))}getIdentity(){var e;return Object($.a)(this,void 0,void 0,function*(){const{sub:t,name:n,role:r,privilege:i}=yield this.auth.loadUserProfile(),s={sub:t,name:n,roles:o(r),privileges:null!==(e=o(i).map(e=>+e).filter(e=>!isNaN(e)))&&void 0!==e?e:[]};return o(i).length!==s.privileges.length&&this.logger.warn("Some privileges are NaN"),s;function o(e){return Array.isArray(e)?e:e?[e]:[]}})}}function Xt({clientId:e,strict:t}){return[{provide:X.d,useFactory:({core:e,reports:t,license:n})=>({resourceServer:{allowedUrls:[e,t,n],sendAccessToken:!0}}),deps:[st]},{provide:X.a,useFactory:({auth:n},r)=>({clientId:e,scope:"openid profile offline_access hugo",responseType:"code",issuer:n||window.location.origin,redirectUri:`${window.location.origin}${r.getBaseHref().replace(/\/$/,"")}`,skipIssuerCheck:!t,strictDiscoveryDocumentValidation:t,requireHttps:t,showDebugInformation:!0}),deps:[st,i.l]},{provide:X.b,useExisting:$t},{provide:s.d,useFactory:e=>()=>e.login(),deps:[Gt],multi:!0}]}Gt.\u0275fac=function(e){return new(e||Gt)(s.Xc(X.e),s.Xc(G.d),s.Xc(i.k),s.Xc($t))},Gt.\u0275prov=s.Jc({factory:function(){return new Gt(s.Xc(X.e),s.Xc(G.d),s.Xc(i.k),s.Xc($t))},token:Gt,providedIn:"root"}),Gt.ctorParameters=()=>[{type:X.e},{type:G.d},{type:i.k},{type:$t}];class Kt{constructor(e,t){this.http=e,this.url=t}query(){return this.http.get(this.url).pipe(Object(P.a)(e=>e.map(this.normalize))).toPromise()}get(...e){return Object($.a)(this,void 0,void 0,function*(){return(yield this.query()).filter(t=>e.includes(t.id))})}create(e){return this.http.post(this.url,e).pipe(Object(P.a)(this.normalize)).toPromise()}update(e){var{id:t}=e,n=Object($.d)(e,["id"]);return this.http.put(`${this.url}/${t}`,n).pipe(Object(P.a)(this.normalize)).toPromise()}delete(...e){return this.http.delete(this.url,{params:dt({ids:e})}).toPromise()}normalize(e){return e}}function Jt(e){return class extends e{constructor(){super(...arguments),this.query=St(()=>super.query()),this.create=Qt,this.update=Qt,this.delete=Qt}}}function Qt(){throw new Error("Method is unavailable in readonly implementation")}function Zt(e){return![qt.Enqueued,qt.Processing].includes(e)}!function(e){e.Enqueued="enqueued",e.Processing="processing",e.Succeeded="succeeded",e.Deleted="deleted",e.Failed="failed"}(qt||(qt={}));class en{constructor(e,{jobs:t,jobsSignalR:n},r,i){this.http=e,this.auth=r,this.logger=i,this.stream=new j.a,this.url=t,this.progressUrl=n,this.auth.authenticated.subscribe(()=>this.connect())}query(e,t,n){return Object($.a)(this,void 0,void 0,function*(){return(yield this.http.get(this.url,{params:dt({type:e,state:n})}).toPromise()).map(e=>Object.assign(Object.assign({},e),{createdAt:gt(e.createdAt),finishedAt:e.finishedAt&&gt(e.finishedAt)})).filter(({createdAt:e})=>e>=t)})}subscribe(e,t=216e5){return new D.a(n=>{let r=!1;const i=Object(E.a)(this.stream.pipe(Object(z.a)(t=>t.id===e),Object(I.a)(({state:e})=>!Zt(e),!0),Object(R.a)(({state:e})=>r=Zt(e)),Object(R.a)(({state:t,exception:n,problem:r})=>t===qt.Failed&&Ct(Object.create(new Error(null!=n?n:`Job ${e} is failed`),{problem:{value:r}}))),Object(N.a)(t,Object(A.a)(new Error(`Job ${e} timed out`)))),Object(L.a)(this.connection.invoke("Subscribe",e)).pipe(Object(R.a)(()=>this.logger.trace(`Job ${e}: subscribed`)),function(e){return e.lift(new F)})).subscribe(n);return()=>(i.unsubscribe(),!r&&(this.logger.debug(`Job ${e}: cancelling`),this.cancel(e)))})}cancel(e){return Object($.a)(this,void 0,void 0,function*(){yield this.http.delete(`${this.url}/${e}`).toPromise()})}do(e,t,n){return this.http.post(e,null!=t?t:null,{params:n?dt(n):void 0}).pipe(Object(U.a)(({jobId:e})=>this.subscribe(e)),Object(z.a)(({state:e})=>e===qt.Processing||Zt(e)),Object(P.a)(({state:e,progress:t,result:n})=>e===qt.Processing?(null!=t?t:0)/100:n))}connect(){return Object($.a)(this,void 0,void 0,function*(){const e=this.logger,t=this.connection=(new tt).withUrl(this.progressUrl,{transport:Te.WebSockets,skipNegotiation:!0,logger:{log:(t,n)=>e.log(t,n)},accessTokenFactory:()=>this.auth.getAccessToken()}).withAutomaticReconnect().build();t.on("NotifyProgress",t=>(e.trace(`Job ${t.id}: ${t.state}`),this.stream.next(t))),yield function n(){return Object($.a)(this,void 0,void 0,function*(){try{yield t.start()}catch(r){e.debug("signalR: failed to start",r),setTimeout(()=>n(),5e3)}})}()})}}en.\u0275fac=function(e){return new(e||en)(s.Xc(o.c),s.Xc(st),s.Xc(Gt),s.Xc($t))},en.\u0275prov=s.Jc({factory:function(){return new en(s.Xc(o.c),s.Xc(st),s.Xc(Gt),s.Xc($t))},token:en,providedIn:"root"}),en.ctorParameters=()=>[{type:o.c},{type:st},{type:Gt},{type:$t}];class tn{constructor(e,{core:t},n,r){this.http=e,this.logger=r,this.client=n.clientId,this.url=t+"/settings",n.authenticated.subscribe(e=>this.user=e.name)}getCustom(e){return Object($.a)(this,void 0,void 0,function*(){const t=(Array.isArray(e)?e:[e]).flatMap(e=>[this.prepend(e,""),this.prepend(e)]);try{const n=yield this.get(...t),r=Object.entries(n).reduce((e,[t,n])=>{const r=this.strip(t);return e[r]=function(e){return!e.split(".")[0]}(t)&&e[r]?e[r]:n,e},{});return Array.isArray(e)?r:r[e]}catch(n){return this.logger.warn("Failed to get settings: "+t.join(", "),n),Array.isArray(e)?{}:void 0}})}get(...e){return Object($.a)(this,void 0,void 0,function*(){return this.http.get(this.url,{params:dt({keys:e})}).toPromise()})}setCustom(e){return this.set(this.prependAll(e))}setClient(e){return this.set(this.prependAll(e,""))}set(e){return this.http.post(this.url,e).toPromise()}delete(...e){return this.http.delete(this.url,{params:dt({keys:e})}).toPromise()}strip(e){return e.split(".").slice(2).join(".")}prepend(e,t=this.user,n=this.client){return`${(t||"").replace(/\.+$/,"")}.${n}.${e}`}prependAll(e,t,n){return Object.fromEntries(Object.entries(e).map(([e,r])=>[this.prepend(e,t,n),r]))}}tn.\u0275fac=function(e){return new(e||tn)(s.Xc(o.c),s.Xc(st),s.Xc(Gt),s.Xc($t))},tn.\u0275prov=s.Jc({factory:function(){return new tn(s.Xc(o.c),s.Xc(st),s.Xc(Gt),s.Xc($t))},token:tn,providedIn:"root"}),tn.ctorParameters=()=>[{type:o.c},{type:st},{type:Gt},{type:$t}];class nn{constructor(e){this.client=e}intercept(e,t){return!this.client.id||e.url.includes(".well-known/openid-configuration")?t.handle(e):t.handle(e.clone({setHeaders:{clientid:this.client.id}}))}}nn.\u0275fac=function(e){return new(e||nn)(s.Xc(at))},nn.\u0275prov=s.Jc({token:nn,factory:nn.\u0275fac}),nn.ctorParameters=()=>[{type:at}]},yBpS:function(e,t,n){"use strict";n.d(t,"a",function(){return r}),n.d(t,"b",function(){return z});var r,i=n("mrSG"),s=n("fXoL"),o=n("tyNb"),a=n("xwJx"),c=n("mjQ1"),l=n("dEAy"),u=n("bNXi"),h=n("jtHE"),d=n("Cfvw"),f=n("LRne"),p=n("1G5W"),m=n("IzEk"),g=n("eIep"),v=n("pLZG"),y=n("lJxs"),b=n("bHdf"),_=n("Hdf2"),w=n("5KfX"),S=n("qhR1"),x=n("9eNV"),O=n("rdIy"),k=n("4lKt"),C=n("Y6+p"),M=n("Vsj3"),E=n("EJ3t"),T=n("QT/Q"),j=n("Jzx+"),D=n("79/9"),A=n("ZTgC"),L=n("Ikyr");!function(e){e[e.Execute=0]="Execute",e[e.Cancel=1]="Cancel"}(r||(r={}));let z=class extends O.a{constructor(e,t,n,i,s,o,a,c,l,u,d,f,m,g,v){super(),this.documentState=e,this.setDocumentsService=t,this.entitiesService=n,this.permissionService=i,this.stagesService=s,this.documentService=o,this.usersService=a,this.tasksService=c,this.router=l,this.route=u,this.modal=d,this.notification=f,this.user=m,this.cRoles=g,this.adminRoles=v,this.setDocuments=null,this.attachments=[],this.attachmentsForResolution=[],this.loading=!1,this.hasPermission=!1,this.root$=new h.a,this.parendFolderId=null,this.hasAdminPermission=!1,this.type=r,this.statuses=j.b,this.permission={Download:!1,Import:!1,Edit:!1,Full:!1},this.subscriptions=[],this.project=null,this.taskId=Number(this.route.snapshot.params.taskId),this.documentState.setHeaderTitle(""),this.documentState.getProject().pipe(Object(p.a)(this.destroy$)).subscribe(e=>(this.project=e,this.root$.next(this.project.id),this.setDocumentsService.getRolesOfProject(this.project.id))),this.openedDoc=this.documentState.getOpenedDoc(),this.projectStage$=this.getProjectStage();const y=[S.g.Admin].filter(e=>this.cRoles.concat(this.adminRoles).includes(e)),b=[S.a.Admin].filter(e=>this.cRoles.concat(this.adminRoles).includes(e));this.hasAdminPermission=1===y.length||1===b.length}ngOnInit(){var e;return Object(i.a)(this,void 0,void 0,function*(){this.loading=!0,this.getTask(),this.tasksService.getAttachments(this.taskId).pipe(Object(m.a)(1)).subscribe(e=>this.attachments=e),this.attachmentsForResolution=yield this.tasksService.getAttachmentsForResultion(this.taskId);let t=yield this.usersService.getUsersRoles(null===(e=this.project)||void 0===e?void 0:e.id);this.loadPermission(t).subscribe(()=>{this.hasPermission=this.user.id===this.taskOnDocs.user.id&&"\u0417\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u043e"!==this.taskOnDocs.statusAgreement.name,this.loading=!1})})}back(){return Object(i.a)(this,void 0,void 0,function*(){const e=this.modal.create({nzTitle:"\u0412\u0435\u0440\u043d\u0443\u0442\u044c \u0437\u0430\u0434\u0430\u0447\u0443",nzContent:L.a,nzClassName:"custom-modal",nzMaskClosable:!1,nzComponentParams:{taskOnDocs:this.taskOnDocs}});this.subscriptions.push(e.componentInstance.onEvent.subscribe(()=>Object(i.a)(this,void 0,void 0,function*(){return yield this.ngOnInit()})))})}upload(){return Object(i.a)(this,void 0,void 0,function*(){const e=this.modal.create({nzTitle:"\u0417\u0430\u0433\u0440\u0443\u0437\u043a\u0430 \u0432\u043b\u043e\u0436\u0435\u043d\u0438\u0439 \u0434\u043b\u044f \u0440\u0435\u0448\u0435\u043d\u0438\u044f",nzContent:A.a,nzClassName:"custom-modal",nzMaskClosable:!1,nzComponentParams:{taskOnDocs:this.taskOnDocs}});this.subscriptions.push(e.componentInstance.onEvent.subscribe(()=>Object(i.a)(this,void 0,void 0,function*(){return yield this.ngOnInit()})))})}getFiles(e){return Object(i.a)(this,void 0,void 0,function*(){return Object(d.a)(this.entitiesService.get(null==e?void 0:e.id,{attributes:[a.w.entities.attributes.name]}))})}onBack(){this.router.navigate([".."],{relativeTo:this.route})}openFile(e){var t;this.hasAdminPermission||e.skipPermissionCheck?this.documentState.setOpenedDoc({doc:Object.assign(Object.assign({},e),{name:(null===(t=e.file)||void 0===t?void 0:t.name)||""})}):(e.hasPermission=this.permissionService.hasAnyAdmittance(e.id),e.hasPermission?e.file&&(this.parendFolderId=e.parentId,this.getFilePermission().subscribe(t=>{var n;this.permission=t,this.documentState.setOpenedDoc({doc:Object.assign(Object.assign({},e),{name:(null===(n=e.file)||void 0===n?void 0:n.name)||""})})})):this.notification.error("\u0423 \u0432\u0430\u0441 \u043d\u0435\u0442 \u043f\u0440\u0430\u0432 \u043d\u0430 \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440 \u044d\u0442\u043e\u0433\u043e \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430. \u041e\u0431\u0440\u0430\u0442\u0438\u0442\u0435\u0441\u044c \u043a \u0430\u0434\u043c\u0438\u043d\u0438\u0441\u0442\u0440\u0430\u0442\u043e\u0440\u0443.",""))}delete(e){return Object(i.a)(this,void 0,void 0,function*(){this.loading=!0,yield this.entitiesService.delete(e.id),yield this.ngOnInit()})}loadPermission(e){return this.usersService.getRolesOfUserInProject(this.user).pipe(Object(m.a)(1),Object(g.a)(t=>t.some(e=>[S.a.Admin,S.a.AdminProject].includes(e.name))?(this.permissionService.permissionOfStage=void 0,Object(f.a)({})):(e.length&&(this.permissionService.userRoles=e.filter(e=>{var t;return(null===(t=e.user)||void 0===t?void 0:t.id)===this.user.id})),this.projectStage$)),Object(g.a)(e=>{var t;return e&&(null===(t=e[0])||void 0===t?void 0:t.id)?(this.parendFolderId=e[0].id,this.documentService.getAllDocument(Object(f.a)(this.parendFolderId)).subscribe(e=>{if(!this.hasAdminPermission&&this.attachments&&this.attachments.length>0)for(let t=0;t<this.attachments.length;t++){let n=e.items.filter(e=>{var n,r;return(null===(n=null==e?void 0:e.file)||void 0===n?void 0:n.id)===this.attachments[t].file.id||(null===(r=null==e?void 0:e.file)||void 0===r?void 0:r.hash)===this.attachments[t].file.hash});n.length||(this.attachments[t].skipPermissionCheck=!0);const r=n.map(e=>{const t=e.path&&Object(c.c)(e.path)||[],n=t.findIndex(e=>{var t;return e===(null===(t=this.project)||void 0===t?void 0:t.id)});return t.splice(n+2,t.length-1-(n+2))});r&&r[0]&&(this.attachments[t].parentId=r[0],this.attachments[t].hasPermission=this.checkPermission(this.attachments[t].parentId))}}),this.permissionService.getAdmittance(e[0].id).pipe(Object(m.a)(1))):Object(f.a)({})}),Object(g.a)(e=>{var t,n;if(e&&(this.permissionService.permissionOfStage=e,null===(n=null===(t=null==e?void 0:e.entity)||void 0===t?void 0:t.admittances)||void 0===n?void 0:n.length)){const t=e.entity.admittances.filter(e=>e.profileId===this.user.id||this.permissionService.userRoles.some(t=>{var n;return(null===(n=t.role)||void 0===n?void 0:n.id)===e.roleId}));this.permissionService.cacheAdmittance.set(e.entity.id.toString(),t.sort((e,t)=>t.admittanceId-e.admittanceId)[0])}return Object(f.a)({})}))}action(e){this.modal.create({nzTitle:e===r.Execute?"\u0412\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u044c \u0437\u0430\u0434\u0430\u0447\u0443":"\u041e\u0442\u043c\u0435\u043d\u0438\u0442\u044c \u0437\u0430\u0434\u0430\u0447\u0443",nzContent:D.a,nzComponentParams:{type:e,task:this.taskOnDocs},nzClassName:"custom-modal",nzMaskClosable:!1}).afterClose.asObservable().pipe(Object(v.a)(e=>!!e),Object(m.a)(1)).subscribe(()=>Object(i.a)(this,void 0,void 0,function*(){this.getTask(),yield this.ngOnInit()}))}getTask(){this.tasksService.getById(this.taskId).pipe(Object(m.a)(1)).subscribe(({taskOnDocs:e,setDocuments:t})=>{this.taskOnDocs=e,this.setDocuments=t})}ngOnDestroy(){if(super.ngOnDestroy(),this.documentState.setOpenedDoc({doc:void 0}),this.subscriptions.length)for(const e of this.subscriptions)e.unsubscribe()}checkPermission(e){return this.permissionService.hasAnyAdmittance(e)}getFilePermission(){return this.permissionService.getAdmittance(this.parendFolderId).pipe(Object(m.a)(1)).pipe(Object(g.a)(e=>{if(e&&(this.permissionService.permissionOfStage=e,e.entity.admittances.length)){const t=e.entity.admittances.filter(e=>e.profileId===this.user.id||this.permissionService.userRoles.some(t=>{var n;return(null===(n=t.role)||void 0===n?void 0:n.id)===e.roleId}));this.permissionService.cacheAdmittance.set(e.entity.id.toString(),t.sort((e,t)=>t.admittanceId-e.admittanceId)[0]);const n=this.permissionService.cacheAdmittance.get(this.parendFolderId.toString());return n?this.permissionService.setPermissionData(n.admittanceId):this.permissionService.setPermissionData(void 0)}return this.permissionService.setPermissionData(void 0)}))}getProjectStage(){return this.root$.pipe(Object(y.a)(e=>this.stagesService.getCollection(e,!1)),Object(b.a)(),Object(y.a)(e=>e.items.filter(e=>"\u0425\u0440\u0430\u043d\u0438\u043b\u0438\u0449\u0435"===e.name).map(e=>Object.assign(Object.assign({},e),{name:"\u0424\u0430\u0439\u043b\u044b \u043f\u0440\u043e\u0435\u043a\u0442\u0430"}))))}};z.ctorParameters=()=>[{type:k.a},{type:w.a},{type:c.a},{type:T.a},{type:C.a},{type:_.a},{type:E.a},{type:M.b},{type:o.d},{type:o.a},{type:l.c},{type:u.b},{type:void 0,decorators:[{type:s.C,args:[x.a]}]},{type:S.g,decorators:[{type:s.C,args:[S.c]}]},{type:S.a,decorators:[{type:s.C,args:[S.d]}]}],z=Object(i.b)([Object(s.n)({selector:"app-task-card",template:'<div class="task-card">\n  <nz-page-header\n    class="page-header bordered-bottom"\n    (nzBack)="onBack()"\n    nzBackIcon\n    [nzTitle]="setDocuments ? setDocuments?.name : taskOnDocs?.name"\n  >\n    <nz-breadcrumb nz-page-header-breadcrumb>\n      <nz-breadcrumb-item>\n        <a routerLink="..">\u0417\u0430\u0434\u0430\u0447\u0438</a>\n      </nz-breadcrumb-item>\n      <nz-breadcrumb-item>{{setDocuments ? setDocuments?.name : taskOnDocs?.name}}</nz-breadcrumb-item>\n    </nz-breadcrumb>\n\n    <nz-page-header-extra  *ngIf="!setDocuments && !(taskOnDocs?.statusAgreement.name === statuses.Rejected || taskOnDocs?.statusAgreement.name === statuses.Finished) && !taskOnDocs?.remark">\n      <nz-space *ngIf="taskOnDocs?.author?.name === user?.name || taskOnDocs?.user?.name === user?.name" (click)="action(type.Cancel)">\n        <button nzType="default" *nzSpaceItem\n                nz-button>\u041e\u0442\u043c\u0435\u043d\u0438\u0442\u044c \u0437\u0430\u0434\u0430\u0447\u0443</button>\n      </nz-space>\n      <nz-space *ngIf="taskOnDocs?.user?.name === user?.name">\n        <button (click)="action(type.Execute)" nzType="primary" *nzSpaceItem\n                nz-button>\u0412\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u044c \u0437\u0430\u0434\u0430\u0447\u0443</button>\n      </nz-space>\n    </nz-page-header-extra>\n\n    <nz-page-header-extra *ngIf="setDocuments">\n      <nz-space *ngIf="taskOnDocs?.statusAgreement.name === \'\u0417\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u043e\' && taskOnDocs?.author?.name === user?.name">\n        <button (click)="back()" nzType="primary" *nzSpaceItem nz-button>\u0412\u0435\u0440\u043d\u0443\u0442\u044c</button>\n      </nz-space>\n      <nz-space>\n        <button nzType="primary" *nzSpaceItem\n                nz-button\n                [routerLink]="[\'../..\', \'agreement-on-templates\', setDocuments?.id,\'stages\']">\u041f\u0435\u0440\u0435\u0439\u0442\u0438 \u043a \u0441\u043e\u0433\u043b\u0430\u0441\u043e\u0432\u0430\u043d\u0438\u044e</button>\n      </nz-space>\n    </nz-page-header-extra>\n\n    <nz-page-header-extra *ngIf="taskOnDocs?.remark">\n      <nz-space *ngIf="taskOnDocs?.statusAgreement.name === \'\u0417\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u043e\' && taskOnDocs?.author?.name === user?.name">\n        <button (click)="back()" nzType="primary" *nzSpaceItem nz-button>\u0412\u0435\u0440\u043d\u0443\u0442\u044c</button>\n      </nz-space>\n      <nz-space>\n        <button nzType="primary" *nzSpaceItem\n                nz-button\n                [routerLink]="[\'../..\', \'remarks\']">\u041f\u0435\u0440\u0435\u0439\u0442\u0438 \u043a \u0437\u0430\u043c\u0435\u0447\u0430\u043d\u0438\u044f\u043c</button>\n      </nz-space>\n    </nz-page-header-extra>\n\n    <nz-page-header-extra *ngIf="!setDocuments && !taskOnDocs?.remark && taskOnDocs?.statusAgreement.name === \'\u0417\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u043e\'">\n      <nz-space *ngIf="taskOnDocs?.statusAgreement.name === \'\u0417\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u043e\' && taskOnDocs?.author?.name === user?.name">\n        <button (click)="back()" nzType="primary" *nzSpaceItem nz-button>\u0412\u0435\u0440\u043d\u0443\u0442\u044c</button>\n      </nz-space>\n    </nz-page-header-extra>\n\n    <nz-page-header-content>\n      {{taskOnDocs?.comment}}\n    </nz-page-header-content>\n  </nz-page-header>\n  <ng-container *ngIf="taskOnDocs">\n    <div *ngIf="!loading">\n      <div class="task-info">\n        <div>\u0418\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440</div>\n        <div>{{taskOnDocs.name}}</div>\n        <div>\u0421\u0442\u0430\u0442\u0443\u0441</div>\n        <div><nz-badge [nzStatus]="taskOnDocs.statusAgreement.name === statuses.Opened ? \'success\' : \'error\'"\n                       [nzText]="taskOnDocs.statusAgreement.name"></nz-badge>\n        </div>\n      </div>\n      <div class="task-info">\n        <div>\u0422\u0438\u043f \u0437\u0430\u0434\u0430\u0447\u0438</div>\n        <div>{{setDocuments ? \'\u041d\u0430 \u0441\u043e\u0433\u043b\u0430\u0441\u043e\u0432\u0430\u043d\u0438\u0435\' : \'\u041f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u0441\u043a\u0430\u044f\'}}</div>\n        <div>\u0421\u0432\u044f\u0437\u0430\u043d\u0430 \u0441</div>\n        <div>\n          <ng-container *ngIf="taskOnDocs.task">\n            <a [routerLink]="[\'../..\', \'network-chart\']" [queryParams]="{taskId: taskOnDocs.task.id}">{{taskOnDocs.task.name}}</a>\n          </ng-container>\n          <ng-container *ngIf="!taskOnDocs.task">\n            <ng-container *ngIf="taskOnDocs?.remark; else agreement">\n              <a [routerLink]="[\'../..\', \'remarks\']" [queryParams]="{remarkId: taskOnDocs?.remark.id}">{{taskOnDocs?.remark?.name}}</a>\n            </ng-container>\n            <ng-template #agreement>\n              <a [routerLink]="[\'../..\', \'agreement-on-templates\', setDocuments?.id,\'stages\']">{{setDocuments?.name}}</a>\n            </ng-template>\n          </ng-container>\n        </div>\n      </div>\n      <div class="task-info">\n        <div>\u0418\u043d\u0438\u0446\u0438\u0430\u0442\u043e\u0440</div>\n        <div><a>{{taskOnDocs?.author?.name}}</a></div>\n        <div>\u041e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0439</div>\n        <div><a>{{taskOnDocs.user.name}}</a></div>\n      </div>\n      <div class="task-info">\n        <div>\u0421\u043e\u0437\u0434\u0430\u043d\u0430</div>\n        <div>{{taskOnDocs.startDate | date : \'dd MMMM yyyy\' : undefined : \'ru\'}}</div>\n        <div>\u0412\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u044c \u0434\u043e</div>\n        <div>{{taskOnDocs.endDate | date : \'dd MMMM yyyy\' : undefined : \'ru\'}}</div>\n      </div>\n      <div class="task-info-full">\n        <div>\u0412\u043b\u043e\u0436\u0435\u043d\u0438\u044f</div>\n        <div class="files" *ngIf="!loading">\n          <a *ngFor="let item of attachments" (click)="openFile(item)">{{item.file.name}}</a>\n        </div>\n      </div>\n      <div class="task-info-full task-info-mobile" *ngIf="!setDocuments">\n        <div>\u0420\u0435\u0448\u0435\u043d\u0438\u0435</div>\n        <div>{{taskOnDocs.commentText}}</div>\n      </div>\n      <div class="task-info-full task-info-mobile" *ngIf="!setDocuments">\n        <div>\u041a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0439 \u0438\u043d\u0438\u0446\u0438\u0430\u0442\u043e\u0440\u0430</div>\n        <div>{{taskOnDocs.note}}</div>\n      </div>\n      <div class="task-info-full">\n        <div>\u0412\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u043a \u0440\u0435\u0448\u0435\u043d\u0438\u044e</div>\n        <div class="files" *ngIf="!loading" style="display: block">\n          <div class="upload-button" (click)="upload()" *ngIf="hasPermission">\n            <span nz-icon nzType="plus" nzTheme="outline"></span>\n            \u0417\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c\n          </div>\n  \n          <div *ngFor="let item of attachmentsForResolution" class="file-name">\n            <span class="file-name-info" (click)="openFile(item)">{{item.file.name}}</span>\n            <span class="file-name-close" nz-icon nzType="close" nzTheme="outline" style="margin-left: 10px" (click)="delete(item)" *ngIf="hasPermission"></span>\n          </div>\n        </div>\n      </div>\n    </div>\n\n    <nz-spin nzSimple *ngIf="loading"></nz-spin>\n  </ng-container>\n</div>\n\n<ng-container *ngIf="(openedDoc | async)?.doc">\n  <app-document-viewer [permission]="permission" [showDownload]="false" [showButtons]="true" [doc]="(openedDoc | async)?.doc" [backIcon]="true"></app-document-viewer>\n</ng-container>\n',styles:[':host {\n  position: relative;\n}\n\n.task-card {\n  height: 100%;\n}\n\n.task-info,\n.task-info-full {\n  display: grid;\n  grid-template-columns: 1fr 2fr 1fr 2fr;\n  padding: 0 24px;\n}\n\n.task-info div,\n.task-info-full div {\n  padding: 16px 24px;\n  font-family: "Roboto";\n  font-style: normal;\n  font-weight: 400;\n  font-size: 14px;\n  line-height: 22px;\n  color: rgba(0, 0, 0, 0.85);\n  border: 0.5px solid #F0F0F0;\n}\n\n.task-info div:nth-child(odd),\n.task-info-full div:nth-child(odd) {\n  background: #FAFAFA;\n}\n\n.task-info-full {\n  grid-template-columns: 1fr 5fr;\n}\n\n.files {\n  display: flex;\n  gap: 10px;\n  flex-wrap: wrap;\n}\n\napp-document-viewer {\n  position: absolute;\n  left: 1px;\n  right: 1px;\n  top: 0;\n  bottom: 0;\n}\n\n.task-card ::ng-deep nz-page-header .ant-page-header-heading-title {\n  white-space: pre-wrap !important;\n}\n\n@media screen and (max-width: 768px) {\n  .task-info, .task-info-full {\n    grid-template-columns: 50% 50%;\n    padding: 0 16px;\n  }\n  .task-info div, .task-info-full div {\n    display: inline-block;\n    overflow: hidden;\n    text-overflow: ellipsis;\n  }\n\n  .page-header.bordered-bottom {\n    border-bottom: 0px;\n  }\n\n  .task-info-mobile {\n    padding-bottom: 12px;\n  }\n}\n\n.upload-button {\n  cursor: pointer !important;\n  padding: 0 !important;\n  border: 0 !important;\n  background: transparent !important;\n  margin-bottom: 10px;\n}\n\n.file-name {\n  padding: 0 !important;\n  margin: 0 !important;\n  border: 0 !important;\n  background: transparent !important;\n}\n\n.file-name-info {\n  color: #1890ff;\n  cursor: pointer;\n}\n\n.file-name-close {\n  cursor: pointer;\n}\n\nnz-spin {\n  position: relative;\n  left: 50%;\n  top: 100px;\n}']})],z)},yCtX:function(e,t,n){"use strict";n.d(t,"a",function(){return o});var r=n("HDdC"),i=n("ngJS"),s=n("jZKg");function o(e,t){return t?Object(s.a)(e,t):new r.a(Object(i.a)(e))}},yPMs:function(e,t,n){!function(e){"use strict";e.defineLocale("sq",{months:"Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_N\xebntor_Dhjetor".split("_"),monthsShort:"Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_N\xebn_Dhj".split("_"),weekdays:"E Diel_E H\xebn\xeb_E Mart\xeb_E M\xebrkur\xeb_E Enjte_E Premte_E Shtun\xeb".split("_"),weekdaysShort:"Die_H\xebn_Mar_M\xebr_Enj_Pre_Sht".split("_"),weekdaysMin:"D_H_Ma_M\xeb_E_P_Sh".split("_"),weekdaysParseExact:!0,meridiemParse:/PD|MD/,isPM:function(e){return"M"===e.charAt(0)},meridiem:function(e,t,n){return e<12?"PD":"MD"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Sot n\xeb] LT",nextDay:"[Nes\xebr n\xeb] LT",nextWeek:"dddd [n\xeb] LT",lastDay:"[Dje n\xeb] LT",lastWeek:"dddd [e kaluar n\xeb] LT",sameElse:"L"},relativeTime:{future:"n\xeb %s",past:"%s m\xeb par\xeb",s:"disa sekonda",ss:"%d sekonda",m:"nj\xeb minut\xeb",mm:"%d minuta",h:"nj\xeb or\xeb",hh:"%d or\xeb",d:"nj\xeb dit\xeb",dd:"%d dit\xeb",M:"nj\xeb muaj",MM:"%d muaj",y:"nj\xeb vit",yy:"%d vite"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},"z+Ro":function(e,t,n){"use strict";function r(e){return e&&"function"==typeof e.schedule}n.d(t,"a",function(){return r})},z1FC:function(e,t,n){!function(e){"use strict";function t(e,t,n,r){var i={s:["viensas secunds","'iensas secunds"],ss:[e+" secunds",e+" secunds"],m:["'n m\xedut","'iens m\xedut"],mm:[e+" m\xeduts",e+" m\xeduts"],h:["'n \xfeora","'iensa \xfeora"],hh:[e+" \xfeoras",e+" \xfeoras"],d:["'n ziua","'iensa ziua"],dd:[e+" ziuas",e+" ziuas"],M:["'n mes","'iens mes"],MM:[e+" mesen",e+" mesen"],y:["'n ar","'iens ar"],yy:[e+" ars",e+" ars"]};return r||t?i[n][0]:i[n][1]}e.defineLocale("tzl",{months:"Januar_Fevraglh_Mar\xe7_Avr\xefu_Mai_G\xfcn_Julia_Guscht_Setemvar_Listop\xe4ts_Noemvar_Zecemvar".split("_"),monthsShort:"Jan_Fev_Mar_Avr_Mai_G\xfcn_Jul_Gus_Set_Lis_Noe_Zec".split("_"),weekdays:"S\xfaladi_L\xfane\xe7i_Maitzi_M\xe1rcuri_Xh\xfaadi_Vi\xe9ner\xe7i_S\xe1turi".split("_"),weekdaysShort:"S\xfal_L\xfan_Mai_M\xe1r_Xh\xfa_Vi\xe9_S\xe1t".split("_"),weekdaysMin:"S\xfa_L\xfa_Ma_M\xe1_Xh_Vi_S\xe1".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM [dallas] YYYY",LLL:"D. MMMM [dallas] YYYY HH.mm",LLLL:"dddd, [li] D. MMMM [dallas] YYYY HH.mm"},meridiemParse:/d\'o|d\'a/i,isPM:function(e){return"d'o"===e.toLowerCase()},meridiem:function(e,t,n){return e>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:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},z3Vd:function(e,t,n){!function(e){"use strict";var t="pagh_wa\u2019_cha\u2019_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");function n(e){var t=e;return t=-1!==e.indexOf("jaj")?t.slice(0,-3)+"leS":-1!==e.indexOf("jar")?t.slice(0,-3)+"waQ":-1!==e.indexOf("DIS")?t.slice(0,-3)+"nem":t+" pIq"}function r(e){var t=e;return t=-1!==e.indexOf("jaj")?t.slice(0,-3)+"Hu\u2019":-1!==e.indexOf("jar")?t.slice(0,-3)+"wen":-1!==e.indexOf("DIS")?t.slice(0,-3)+"ben":t+" ret"}function i(e,t,n,r){var i=s(e);switch(n){case"ss":return i+" lup";case"mm":return i+" tup";case"hh":return i+" rep";case"dd":return i+" jaj";case"MM":return i+" jar";case"yy":return i+" DIS"}}function s(e){var n=Math.floor(e%1e3/100),r=Math.floor(e%100/10),i=e%10,s="";return n>0&&(s+=t[n]+"vatlh"),r>0&&(s+=(""!==s?" ":"")+t[r]+"maH"),i>0&&(s+=(""!==s?" ":"")+t[i]),""===s?"pagh":s}e.defineLocale("tlh",{months:"tera\u2019 jar wa\u2019_tera\u2019 jar cha\u2019_tera\u2019 jar wej_tera\u2019 jar loS_tera\u2019 jar vagh_tera\u2019 jar jav_tera\u2019 jar Soch_tera\u2019 jar chorgh_tera\u2019 jar Hut_tera\u2019 jar wa\u2019maH_tera\u2019 jar wa\u2019maH wa\u2019_tera\u2019 jar wa\u2019maH cha\u2019".split("_"),monthsShort:"jar wa\u2019_jar cha\u2019_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa\u2019maH_jar wa\u2019maH wa\u2019_jar wa\u2019maH cha\u2019".split("_"),monthsParseExact:!0,weekdays:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysShort:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysMin:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[DaHjaj] LT",nextDay:"[wa\u2019leS] LT",nextWeek:"LLL",lastDay:"[wa\u2019Hu\u2019] LT",lastWeek:"LLL",sameElse:"L"},relativeTime:{future:n,past:r,s:"puS lup",ss:i,m:"wa\u2019 tup",mm:i,h:"wa\u2019 rep",hh:i,d:"wa\u2019 jaj",dd:i,M:"wa\u2019 jar",MM:i,y:"wa\u2019 DIS",yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},z6cu:function(e,t,n){"use strict";n.d(t,"a",function(){return i});var r=n("HDdC");function i(e,t){return t?new r.a(n=>t.schedule(s,0,{error:e,subscriber:n})):new r.a(t=>t.error(e))}function s({error:e,subscriber:t}){t.error(e)}},zAKX:function(e,t,n){"use strict";n.d(t,"a",function(){return ye}),n.d(t,"b",function(){return ke}),n.d(t,"c",function(){return Ce}),n.d(t,"d",function(){return Se}),n.d(t,"e",function(){return Me}),n.d(t,"f",function(){return Te}),n.d(t,"g",function(){return Ee}),n.d(t,"h",function(){return be});var r=n("fXoL"),i=n("XNiG"),s=n("2Vo4"),o=n("itXk"),a=n("VRyK"),c=n("vxfF"),l=n("mrSG"),u=n("/KA4"),h=n("JX91"),d=n("1G5W"),f=n("eIep"),p=n("u47x"),m=n("cH1L"),g=n("FtGj"),v=n("rDax"),y=n("nLfN"),b=n("3Pt+"),_=n("GR68"),w=n("2Suw"),S=n("YF2q"),x=n("ejfv"),O=n("ofXK"),k=n("pdGh"),C=n("JgHy"),M=n("C2AL"),E=n("QlLE"),T=n("Rm4T"),j=n("FwiY");const D=["*"];function A(e,t){if(1&e&&(r.Tc(0,"div",4),r.Oc(1,"nz-embed-empty",5),r.Sc()),2&e){const e=r.ed();r.zc(1),r.md("specificContent",e.notFoundContent)}}function L(e,t){if(1&e&&r.Oc(0,"nz-option-item-group",9),2&e){const e=r.ed().$implicit;r.md("nzLabel",e.groupLabel)}}function z(e,t){if(1&e){const e=r.Uc();r.Tc(0,"nz-option-item",10),r.ad("itemHover",function(t){r.xd(e);return r.ed(2).onItemHover(t)})("itemClick",function(t){r.xd(e);return r.ed(2).onItemClick(t)}),r.Sc()}if(2&e){const e=r.ed().$implicit,t=r.ed();r.md("icon",t.menuItemSelectedIcon)("customContent",e.nzCustomContent)("template",e.template)("grouped",!!e.groupLabel)("disabled",e.nzDisabled)("showState","tags"===t.mode||"multiple"===t.mode)("label",e.nzLabel)("compareWith",t.compareWith)("activatedValue",t.activatedValue)("listOfSelectedValue",t.listOfSelectedValue)("value",e.nzValue)}}function P(e,t){if(1&e&&(r.Rc(0,6),r.Id(1,L,1,1,"nz-option-item-group",7),r.Id(2,z,1,11,"nz-option-item",8),r.Qc()),2&e){const e=t.$implicit;r.md("ngSwitch",e.type),r.zc(1),r.md("ngSwitchCase","group"),r.zc(1),r.md("ngSwitchCase","item")}}function I(e,t){}function R(e,t){1&e&&r.kd(0)}const N=["inputElement"],H=["mirrorElement"];function F(e,t){1&e&&r.Oc(0,"span",3,4)}function V(e,t){if(1&e&&r.Oc(0,"nz-select-item",6),2&e){const e=r.ed(2);r.md("deletable",!1)("disabled",!1)("removeIcon",e.removeIcon)("label",e.listOfTopItem[0].nzLabel)("contentTemplateOutlet",e.customTemplate)("contentTemplateOutletContext",e.listOfTopItem[0])}}function B(e,t){if(1&e){const e=r.Uc();r.Rc(0),r.Tc(1,"nz-select-search",4),r.ad("isComposingChange",function(t){r.xd(e);return r.ed().isComposingChange(t)})("valueChange",function(t){r.xd(e);return r.ed().onInputValueChange(t)}),r.Sc(),r.Id(2,V,1,6,"nz-select-item",5),r.Qc()}if(2&e){const e=r.ed();r.zc(1),r.md("nzId",e.nzId)("disabled",e.disabled)("value",e.inputValue)("showInput",e.showSearch)("mirrorSync",!1)("autofocus",e.autofocus)("focusTrigger",e.open),r.zc(1),r.md("ngIf",e.isShowSingleLabel)}}function Y(e,t){if(1&e){const e=r.Uc();r.Tc(0,"nz-select-item",9),r.ad("delete",function(){r.xd(e);const n=t.$implicit;return r.ed(2).onDeleteItem(n.contentTemplateOutletContext)}),r.Sc()}if(2&e){const e=t.$implicit,n=r.ed(2);r.md("removeIcon",n.removeIcon)("label",e.nzLabel)("disabled",e.nzDisabled||n.disabled)("contentTemplateOutlet",e.contentTemplateOutlet)("deletable",!0)("contentTemplateOutletContext",e.contentTemplateOutletContext)}}function U(e,t){if(1&e){const e=r.Uc();r.Rc(0),r.Id(1,Y,1,6,"nz-select-item",7),r.Tc(2,"nz-select-search",8),r.ad("isComposingChange",function(t){r.xd(e);return r.ed().isComposingChange(t)})("valueChange",function(t){r.xd(e);return r.ed().onInputValueChange(t)}),r.Sc(),r.Qc()}if(2&e){const e=r.ed();r.zc(1),r.md("ngForOf",e.listOfSlicedItem)("ngForTrackBy",e.trackValue),r.zc(1),r.md("nzId",e.nzId)("disabled",e.disabled)("value",e.inputValue)("autofocus",e.autofocus)("showInput",!0)("mirrorSync",!0)("focusTrigger",e.open)}}function W(e,t){if(1&e&&r.Oc(0,"nz-select-placeholder",10),2&e){const e=r.ed();r.md("placeholder",e.placeHolder)}}function q(e,t){if(1&e&&r.Oc(0,"nz-select-arrow",5),2&e){const e=r.ed();r.md("loading",e.nzLoading)("search",e.nzOpen&&e.nzShowSearch)("suffixIcon",e.nzSuffixIcon)}}function $(e,t){if(1&e){const e=r.Uc();r.Tc(0,"nz-select-clear",6),r.ad("clear",function(){r.xd(e);return r.ed().onClearSelection()}),r.Sc()}if(2&e){const e=r.ed();r.md("clearIcon",e.nzClearIcon)}}function G(e,t){if(1&e){const e=r.Uc();r.Tc(0,"nz-option-container",7),r.ad("keydown",function(t){r.xd(e);return r.ed().onKeyDown(t)})("itemClick",function(t){r.xd(e);return r.ed().onItemClick(t)})("scrollToBottom",function(){r.xd(e);return r.ed().nzScrollToBottom.emit()}),r.Sc()}if(2&e){const e=r.ed();r.Fc("ant-select-dropdown-placement-bottomLeft","bottom"===e.dropDownPosition)("ant-select-dropdown-placement-topLeft","top"===e.dropDownPosition),r.md("ngStyle",e.nzDropdownStyle)("itemSize",e.nzOptionHeightPx)("maxItemLength",e.nzOptionOverflowSize)("matchWidth",e.nzDropdownMatchSelectWidth)("@slideMotion","enter")("@.disabled",null==e.noAnimation?null:e.noAnimation.nzNoAnimation)("nzNoAnimation",null==e.noAnimation?null:e.noAnimation.nzNoAnimation)("listOfContainerItem",e.listOfContainerItem)("menuItemSelectedIcon",e.nzMenuItemSelectedIcon)("notFoundContent",e.nzNotFoundContent)("activatedValue",e.activatedValue)("listOfSelectedValue",e.listOfValue)("dropdownRender",e.nzDropdownRender)("compareWith",e.compareWith)("mode",e.nzMode)}}function X(e,t){if(1&e&&(r.Rc(0),r.Kd(1),r.Qc()),2&e){const e=r.ed();r.zc(1),r.Ld(e.nzLabel)}}function K(e,t){if(1&e&&(r.Rc(0),r.Kd(1),r.Qc()),2&e){const e=r.ed();r.zc(1),r.Ld(e.label)}}function J(e,t){}function Q(e,t){if(1&e&&(r.Rc(0),r.Id(1,J,0,0,"ng-template",3),r.Qc()),2&e){const e=r.ed();r.zc(1),r.md("ngTemplateOutlet",e.template)}}function Z(e,t){1&e&&r.Oc(0,"i",6)}function ee(e,t){if(1&e&&(r.Tc(0,"div",4),r.Id(1,Z,1,0,"i",5),r.Sc()),2&e){const e=r.ed();r.zc(1),r.md("ngIf",!e.icon)("ngIfElse",e.icon)}}function te(e,t){1&e&&r.Oc(0,"i",2)}function ne(e,t){1&e&&r.Oc(0,"i",7)}function re(e,t){1&e&&r.Oc(0,"i",8)}function ie(e,t){if(1&e&&(r.Rc(0),r.Id(1,ne,1,0,"i",5),r.Id(2,re,1,0,"i",6),r.Qc()),2&e){const e=r.ed(2);r.zc(1),r.md("ngIf",!e.search),r.zc(1),r.md("ngIf",e.search)}}function se(e,t){if(1&e&&(r.Rc(0),r.Oc(1,"i",10),r.Qc()),2&e){const e=t.$implicit;r.zc(1),r.md("nzType",e)}}function oe(e,t){if(1&e&&r.Id(0,se,2,1,"ng-container",9),2&e){const e=r.ed(2);r.md("nzStringTemplateOutlet",e.suffixIcon)}}function ae(e,t){if(1&e&&(r.Id(0,ie,3,2,"ng-container",3),r.Id(1,oe,1,1,"ng-template",null,4,r.Jd)),2&e){const e=r.ud(2),t=r.ed();r.md("ngIf",!t.suffixIcon)("ngIfElse",e)}}function ce(e,t){1&e&&r.Oc(0,"i",1)}function le(e,t){if(1&e&&(r.Tc(0,"div",4),r.Kd(1),r.Sc()),2&e){const e=r.ed(2);r.zc(1),r.Ld(e.label)}}function ue(e,t){if(1&e&&r.Kd(0),2&e){const e=r.ed(2);r.Ld(e.label)}}function he(e,t){if(1&e&&(r.Rc(0),r.Id(1,le,2,1,"div",2),r.Id(2,ue,1,1,"ng-template",null,3,r.Jd),r.Qc()),2&e){const e=r.ud(3),t=r.ed();r.zc(1),r.md("ngIf",t.deletable)("ngIfElse",e)}}function de(e,t){1&e&&r.Oc(0,"i",7)}function fe(e,t){if(1&e){const e=r.Uc();r.Tc(0,"span",5),r.ad("click",function(t){r.xd(e);return r.ed().onDelete(t)}),r.Id(1,de,1,0,"i",6),r.Sc()}if(2&e){const e=r.ed();r.zc(1),r.md("ngIf",!e.removeIcon)("ngIfElse",e.removeIcon)}}const pe=function(e){return{$implicit:e}};function me(e,t){if(1&e&&(r.Rc(0),r.Kd(1),r.Qc()),2&e){const e=r.ed();r.zc(1),r.Md(" ",e.placeholder," ")}}class ge{constructor(){this.nzLabel=null,this.changes=new i.a}ngOnChanges(){this.changes.next()}}ge.\u0275fac=function(e){return new(e||ge)},ge.\u0275cmp=r.Hc({type:ge,selectors:[["nz-option-group"]],inputs:{nzLabel:"nzLabel"},exportAs:["nzOptionGroup"],features:[r.xc],ngContentSelectors:D,decls:1,vars:0,template:function(e,t){1&e&&(r.ld(),r.kd(0))},encapsulation:2,changeDetection:0}),ge.propDecorators={nzLabel:[{type:r.G}]};class ve{constructor(e){this.elementRef=e,this.notFoundContent=void 0,this.menuItemSelectedIcon=null,this.dropdownRender=null,this.activatedValue=null,this.listOfSelectedValue=[],this.mode="default",this.matchWidth=!0,this.itemSize=32,this.maxItemLength=8,this.listOfContainerItem=[],this.itemClick=new r.x,this.scrollToBottom=new r.x,this.scrolledIndex=0,this.elementRef.nativeElement.classList.add("ant-select-dropdown")}onItemClick(e){this.itemClick.emit(e)}onItemHover(e){this.activatedValue=e}trackValue(e,t){return t.key}onScrolledIndexChange(e){this.scrolledIndex=e,e===this.listOfContainerItem.length-this.maxItemLength&&this.scrollToBottom.emit()}scrollToActivatedValue(){const e=this.listOfContainerItem.findIndex(e=>this.compareWith(e.key,this.activatedValue));(e<this.scrolledIndex||e>=this.scrolledIndex+this.maxItemLength)&&this.cdkVirtualScrollViewport.scrollToIndex(e||0)}ngOnChanges(e){const{listOfContainerItem:t,activatedValue:n}=e;(t||n)&&this.scrollToActivatedValue()}ngAfterViewInit(){setTimeout(()=>this.scrollToActivatedValue())}}ve.\u0275fac=function(e){return new(e||ve)(r.Nc(r.v))},ve.\u0275cmp=r.Hc({type:ve,selectors:[["nz-option-container"]],viewQuery:function(e,t){if(1&e&&r.Dd(c.d,!0),2&e){let e;r.td(e=r.bd())&&(t.cdkVirtualScrollViewport=e.first)}},inputs:{notFoundContent:"notFoundContent",menuItemSelectedIcon:"menuItemSelectedIcon",dropdownRender:"dropdownRender",activatedValue:"activatedValue",listOfSelectedValue:"listOfSelectedValue",mode:"mode",matchWidth:"matchWidth",itemSize:"itemSize",maxItemLength:"maxItemLength",listOfContainerItem:"listOfContainerItem",compareWith:"compareWith"},outputs:{itemClick:"itemClick",scrollToBottom:"scrollToBottom"},exportAs:["nzOptionContainer"],features:[r.xc],decls:5,vars:14,consts:[["class","ant-select-item-empty",4,"ngIf"],[3,"itemSize","maxBufferPx","minBufferPx","scrolledIndexChange"],["cdkVirtualFor","",3,"cdkVirtualForOf","cdkVirtualForTrackBy","cdkVirtualForTemplateCacheSize"],[3,"ngTemplateOutlet"],[1,"ant-select-item-empty"],["nzComponentName","select",3,"specificContent"],[3,"ngSwitch"],[3,"nzLabel",4,"ngSwitchCase"],[3,"icon","customContent","template","grouped","disabled","showState","label","compareWith","activatedValue","listOfSelectedValue","value","itemHover","itemClick",4,"ngSwitchCase"],[3,"nzLabel"],[3,"icon","customContent","template","grouped","disabled","showState","label","compareWith","activatedValue","listOfSelectedValue","value","itemHover","itemClick"]],template:function(e,t){1&e&&(r.Tc(0,"div"),r.Id(1,A,2,1,"div",0),r.Tc(2,"cdk-virtual-scroll-viewport",1),r.ad("scrolledIndexChange",function(e){return t.onScrolledIndexChange(e)}),r.Id(3,P,3,3,"ng-template",2),r.Sc(),r.Id(4,I,0,0,"ng-template",3),r.Sc()),2&e&&(r.zc(1),r.md("ngIf",0===t.listOfContainerItem.length),r.zc(1),r.Fd("height",t.listOfContainerItem.length*t.itemSize,"px")("max-height",t.itemSize*t.maxItemLength,"px"),r.Fc("full-width",!t.matchWidth),r.md("itemSize",t.itemSize)("maxBufferPx",t.itemSize*t.maxItemLength)("minBufferPx",t.itemSize*t.maxItemLength),r.zc(1),r.md("cdkVirtualForOf",t.listOfContainerItem)("cdkVirtualForTrackBy",t.trackValue)("cdkVirtualForTemplateCacheSize",0),r.zc(1),r.md("ngTemplateOutlet",t.dropdownRender))},directives:function(){return[O.o,c.d,c.a,c.c,O.t,E.a,O.q,O.r,xe,Oe]},encapsulation:2,changeDetection:0}),ve.ctorParameters=()=>[{type:r.v}],ve.propDecorators={notFoundContent:[{type:r.G}],menuItemSelectedIcon:[{type:r.G}],dropdownRender:[{type:r.G}],activatedValue:[{type:r.G}],listOfSelectedValue:[{type:r.G}],compareWith:[{type:r.G}],mode:[{type:r.G}],matchWidth:[{type:r.G}],itemSize:[{type:r.G}],maxItemLength:[{type:r.G}],listOfContainerItem:[{type:r.G}],itemClick:[{type:r.S}],scrollToBottom:[{type:r.S}],cdkVirtualScrollViewport:[{type:r.mb,args:[c.d,{static:!0}]}]};class ye{constructor(e){this.nzOptionGroupComponent=e,this.destroy$=new i.a,this.changes=new i.a,this.groupLabel=null,this.nzLabel=null,this.nzValue=null,this.nzDisabled=!1,this.nzHide=!1,this.nzCustomContent=!1}ngOnInit(){this.nzOptionGroupComponent&&this.nzOptionGroupComponent.changes.pipe(Object(h.a)(!0),Object(d.a)(this.destroy$)).subscribe(()=>{this.groupLabel=this.nzOptionGroupComponent.nzLabel})}ngOnChanges(){this.changes.next()}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}ye.\u0275fac=function(e){return new(e||ye)(r.Nc(ge,8))},ye.\u0275cmp=r.Hc({type:ye,selectors:[["nz-option"]],viewQuery:function(e,t){if(1&e&&r.Dd(r.ib,!0),2&e){let e;r.td(e=r.bd())&&(t.template=e.first)}},inputs:{nzLabel:"nzLabel",nzValue:"nzValue",nzDisabled:"nzDisabled",nzHide:"nzHide",nzCustomContent:"nzCustomContent"},exportAs:["nzOption"],features:[r.xc],ngContentSelectors:D,decls:1,vars:0,template:function(e,t){1&e&&(r.ld(),r.Id(0,R,1,0,"ng-template"))},encapsulation:2,changeDetection:0}),ye.ctorParameters=()=>[{type:ge,decorators:[{type:r.R}]}],ye.propDecorators={template:[{type:r.mb,args:[r.ib,{static:!0}]}],nzLabel:[{type:r.G}],nzValue:[{type:r.G}],nzDisabled:[{type:r.G}],nzHide:[{type:r.G}],nzCustomContent:[{type:r.G}]},Object(l.b)([Object(u.a)(),Object(l.c)("design:type",Object)],ye.prototype,"nzDisabled",void 0),Object(l.b)([Object(u.a)(),Object(l.c)("design:type",Object)],ye.prototype,"nzHide",void 0),Object(l.b)([Object(u.a)(),Object(l.c)("design:type",Object)],ye.prototype,"nzCustomContent",void 0);class be{constructor(e,t,n){this.elementRef=e,this.renderer=t,this.focusMonitor=n,this.nzId=null,this.disabled=!1,this.mirrorSync=!1,this.showInput=!0,this.focusTrigger=!1,this.value="",this.autofocus=!1,this.valueChange=new r.x,this.isComposingChange=new r.x,this.elementRef.nativeElement.classList.add("ant-select-selection-search")}setCompositionState(e){this.isComposingChange.next(e)}onValueChange(e){this.value=e,this.valueChange.next(e),this.mirrorSync&&this.syncMirrorWidth()}clearInputValue(){this.inputElement.nativeElement.value="",this.onValueChange("")}syncMirrorWidth(){const e=this.mirrorElement.nativeElement,t=this.elementRef.nativeElement,n=this.inputElement.nativeElement;this.renderer.removeStyle(t,"width"),e.innerHTML=this.renderer.createText(n.value+"&nbsp;"),this.renderer.setStyle(t,"width",e.scrollWidth+"px")}focus(){this.focusMonitor.focusVia(this.inputElement,"keyboard")}blur(){this.inputElement.nativeElement.blur()}ngOnChanges(e){const t=this.inputElement.nativeElement,{focusTrigger:n,showInput:r}=e;r&&(this.showInput?this.renderer.removeAttribute(t,"readonly"):this.renderer.setAttribute(t,"readonly","readonly")),n&&!0===n.currentValue&&!1===n.previousValue&&t.focus()}ngAfterViewInit(){this.mirrorSync&&this.syncMirrorWidth(),this.autofocus&&this.focus()}}be.\u0275fac=function(e){return new(e||be)(r.Nc(r.v),r.Nc(r.Y),r.Nc(p.d))},be.\u0275cmp=r.Hc({type:be,selectors:[["nz-select-search"]],viewQuery:function(e,t){if(1&e&&(r.Dd(N,!0),r.Od(H,!0)),2&e){let e;r.td(e=r.bd())&&(t.inputElement=e.first),r.td(e=r.bd())&&(t.mirrorElement=e.first)}},inputs:{nzId:"nzId",disabled:"disabled",mirrorSync:"mirrorSync",showInput:"showInput",focusTrigger:"focusTrigger",value:"value",autofocus:"autofocus"},outputs:{valueChange:"valueChange",isComposingChange:"isComposingChange"},features:[r.yc([{provide:b.b,useValue:!1}]),r.xc],decls:3,vars:7,consts:[["autocomplete","off",1,"ant-select-selection-search-input",3,"ngModel","disabled","ngModelChange","compositionstart","compositionend"],["inputElement",""],["class","ant-select-selection-search-mirror",4,"ngIf"],[1,"ant-select-selection-search-mirror"],["mirrorElement",""]],template:function(e,t){1&e&&(r.Tc(0,"input",0,1),r.ad("ngModelChange",function(e){return t.onValueChange(e)})("compositionstart",function(){return t.setCompositionState(!0)})("compositionend",function(){return t.setCompositionState(!1)}),r.Sc(),r.Id(2,F,2,0,"span",2)),2&e&&(r.Fd("opacity",t.showInput?null:0),r.md("ngModel",t.value)("disabled",t.disabled),r.Ac("id",t.nzId)("autofocus",t.autofocus?"autofocus":null),r.zc(2),r.md("ngIf",t.mirrorSync))},directives:[b.d,b.m,b.n,O.o],encapsulation:2,changeDetection:0}),be.ctorParameters=()=>[{type:r.v},{type:r.Y},{type:p.d}],be.propDecorators={nzId:[{type:r.G}],disabled:[{type:r.G}],mirrorSync:[{type:r.G}],showInput:[{type:r.G}],focusTrigger:[{type:r.G}],value:[{type:r.G}],autofocus:[{type:r.G}],valueChange:[{type:r.S}],isComposingChange:[{type:r.S}],inputElement:[{type:r.mb,args:["inputElement",{static:!0}]}],mirrorElement:[{type:r.mb,args:["mirrorElement",{static:!1}]}]};class _e{constructor(e,t){this.elementRef=e,this.noAnimation=t,this.nzId=null,this.showSearch=!1,this.placeHolder=null,this.open=!1,this.maxTagCount=1/0,this.autofocus=!1,this.disabled=!1,this.mode="default",this.customTemplate=null,this.maxTagPlaceholder=null,this.removeIcon=null,this.listOfTopItem=[],this.tokenSeparators=[],this.tokenize=new r.x,this.inputValueChange=new r.x,this.deleteItem=new r.x,this.listOfSlicedItem=[],this.isShowPlaceholder=!0,this.isShowSingleLabel=!1,this.isComposing=!1,this.inputValue=null,this.elementRef.nativeElement.classList.add("ant-select-selector")}onHostKeydown(e){const t=e.target.value;e.keyCode===g.b&&"default"!==this.mode&&!t&&this.listOfTopItem.length>0&&(e.preventDefault(),this.onDeleteItem(this.listOfTopItem[this.listOfTopItem.length-1]))}updateTemplateVariable(){const e=0===this.listOfTopItem.length;this.isShowPlaceholder=e&&!this.isComposing&&!this.inputValue,this.isShowSingleLabel=!e&&!this.isComposing&&!this.inputValue}isComposingChange(e){this.isComposing=e,this.updateTemplateVariable()}onInputValueChange(e){e!==this.inputValue&&(this.inputValue=e,this.updateTemplateVariable(),this.inputValueChange.emit(e),this.tokenSeparate(e,this.tokenSeparators))}tokenSeparate(e,t){if(e&&e.length&&t.length&&"default"!==this.mode&&((e,t)=>{for(let n=0;n<t.length;++n)if(e.lastIndexOf(t[n])>0)return!0;return!1})(e,t)){const n=((e,t)=>{const n=new RegExp(`[${t.join()}]`),r=e.split(n).filter(e=>e);return[...new Set(r)]})(e,t);this.tokenize.next(n)}}clearInputValue(){this.nzSelectSearchComponent&&this.nzSelectSearchComponent.clearInputValue()}focus(){this.nzSelectSearchComponent&&this.nzSelectSearchComponent.focus()}blur(){this.nzSelectSearchComponent&&this.nzSelectSearchComponent.blur()}trackValue(e,t){return t.nzValue}onDeleteItem(e){this.disabled||e.nzDisabled||this.deleteItem.next(e)}ngOnChanges(e){const{listOfTopItem:t,maxTagCount:n,customTemplate:r,maxTagPlaceholder:i}=e;if(t&&this.updateTemplateVariable(),t||n||r||i){const e=this.listOfTopItem.slice(0,this.maxTagCount).map(e=>({nzLabel:e.nzLabel,nzValue:e.nzValue,nzDisabled:e.nzDisabled,contentTemplateOutlet:this.customTemplate,contentTemplateOutletContext:e}));if(this.listOfTopItem.length>this.maxTagCount){const t=`+ ${this.listOfTopItem.length-this.maxTagCount} ...`,n=this.listOfTopItem.map(e=>e.nzValue),r={nzLabel:t,nzValue:"$$__nz_exceeded_item",nzDisabled:!0,contentTemplateOutlet:this.maxTagPlaceholder,contentTemplateOutletContext:n.slice(this.maxTagCount)};e.push(r)}this.listOfSlicedItem=e}}}_e.\u0275fac=function(e){return new(e||_e)(r.Nc(r.v),r.Nc(S.a,9))},_e.\u0275cmp=r.Hc({type:_e,selectors:[["nz-select-top-control"]],viewQuery:function(e,t){if(1&e&&r.Od(be,!0),2&e){let e;r.td(e=r.bd())&&(t.nzSelectSearchComponent=e.first)}},hostBindings:function(e,t){1&e&&r.ad("keydown",function(e){return t.onHostKeydown(e)})},inputs:{nzId:"nzId",showSearch:"showSearch",placeHolder:"placeHolder",open:"open",maxTagCount:"maxTagCount",autofocus:"autofocus",disabled:"disabled",mode:"mode",customTemplate:"customTemplate",maxTagPlaceholder:"maxTagPlaceholder",removeIcon:"removeIcon",listOfTopItem:"listOfTopItem",tokenSeparators:"tokenSeparators"},outputs:{tokenize:"tokenize",inputValueChange:"inputValueChange",deleteItem:"deleteItem"},exportAs:["nzSelectTopControl"],features:[r.xc],decls:4,vars:3,consts:[[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],[3,"placeholder",4,"ngIf"],[3,"nzId","disabled","value","showInput","mirrorSync","autofocus","focusTrigger","isComposingChange","valueChange"],[3,"deletable","disabled","removeIcon","label","contentTemplateOutlet","contentTemplateOutletContext",4,"ngIf"],[3,"deletable","disabled","removeIcon","label","contentTemplateOutlet","contentTemplateOutletContext"],[3,"removeIcon","label","disabled","contentTemplateOutlet","deletable","contentTemplateOutletContext","delete",4,"ngFor","ngForOf","ngForTrackBy"],[3,"nzId","disabled","value","autofocus","showInput","mirrorSync","focusTrigger","isComposingChange","valueChange"],[3,"removeIcon","label","disabled","contentTemplateOutlet","deletable","contentTemplateOutletContext","delete"],[3,"placeholder"]],template:function(e,t){1&e&&(r.Rc(0,0),r.Id(1,B,3,8,"ng-container",1),r.Id(2,U,3,9,"ng-container",2),r.Qc(),r.Id(3,W,1,1,"nz-select-placeholder",3)),2&e&&(r.md("ngSwitch",t.mode),r.zc(1),r.md("ngSwitchCase","default"),r.zc(2),r.md("ngIf",t.isShowPlaceholder))},directives:function(){return[O.q,O.r,O.s,O.o,be,Me,O.n,M.a,Ee]},encapsulation:2,changeDetection:0}),_e.ctorParameters=()=>[{type:r.v},{type:S.a,decorators:[{type:r.y},{type:r.R}]}],_e.propDecorators={nzId:[{type:r.G}],showSearch:[{type:r.G}],placeHolder:[{type:r.G}],open:[{type:r.G}],maxTagCount:[{type:r.G}],autofocus:[{type:r.G}],disabled:[{type:r.G}],mode:[{type:r.G}],customTemplate:[{type:r.G}],maxTagPlaceholder:[{type:r.G}],removeIcon:[{type:r.G}],listOfTopItem:[{type:r.G}],tokenSeparators:[{type:r.G}],tokenize:[{type:r.S}],inputValueChange:[{type:r.S}],deleteItem:[{type:r.S}],nzSelectSearchComponent:[{type:r.mb,args:[be]}]};const we=(e,t)=>!(!t||!t.nzLabel)&&t.nzLabel.toString().toLowerCase().indexOf(e.toLowerCase())>-1;class Se{constructor(e,t,n,o,a,c,l){this.nzConfigService=e,this.cdr=t,this.elementRef=n,this.platform=o,this.focusMonitor=a,this.directionality=c,this.noAnimation=l,this._nzModuleName="select",this.nzId=null,this.nzSize="default",this.nzOptionHeightPx=32,this.nzOptionOverflowSize=8,this.nzDropdownClassName=null,this.nzDropdownMatchSelectWidth=!0,this.nzDropdownStyle=null,this.nzNotFoundContent=void 0,this.nzPlaceHolder=null,this.nzMaxTagCount=1/0,this.nzDropdownRender=null,this.nzCustomTemplate=null,this.nzSuffixIcon=null,this.nzClearIcon=null,this.nzRemoveIcon=null,this.nzMenuItemSelectedIcon=null,this.nzTokenSeparators=[],this.nzMaxTagPlaceholder=null,this.nzMaxMultipleCount=1/0,this.nzMode="default",this.nzFilterOption=we,this.compareWith=(e,t)=>e===t,this.nzAllowClear=!1,this.nzBorderless=!1,this.nzShowSearch=!1,this.nzLoading=!1,this.nzAutoFocus=!1,this.nzAutoClearSearchValue=!0,this.nzServerSearch=!1,this.nzDisabled=!1,this.nzOpen=!1,this.nzBackdrop=!1,this.nzOptions=[],this.nzOnSearch=new r.x,this.nzScrollToBottom=new r.x,this.nzOpenChange=new r.x,this.nzBlur=new r.x,this.nzFocus=new r.x,this.listOfValue$=new s.a([]),this.listOfTemplateItem$=new s.a([]),this.listOfTagAndTemplateItem=[],this.searchValue="",this.isReactiveDriven=!1,this.destroy$=new i.a,this.onChange=()=>{},this.onTouched=()=>{},this.dropDownPosition="bottom",this.triggerWidth=null,this.listOfContainerItem=[],this.listOfTopItem=[],this.activatedValue=null,this.listOfValue=[],this.focused=!1,this.dir="ltr",this.elementRef.nativeElement.classList.add("ant-select")}set nzShowArrow(e){this._nzShowArrow=e}get nzShowArrow(){return void 0===this._nzShowArrow?"default"===this.nzMode:this._nzShowArrow}generateTagItem(e){return{nzValue:e,nzLabel:e,type:"item"}}onItemClick(e){if(this.activatedValue=e,"default"===this.nzMode)0!==this.listOfValue.length&&this.compareWith(this.listOfValue[0],e)||this.updateListOfValue([e]),this.setOpenState(!1);else{const t=this.listOfValue.findIndex(t=>this.compareWith(t,e));if(-1!==t){const e=this.listOfValue.filter((e,n)=>n!==t);this.updateListOfValue(e)}else if(this.listOfValue.length<this.nzMaxMultipleCount){const t=[...this.listOfValue,e];this.updateListOfValue(t)}this.focus(),this.nzAutoClearSearchValue&&this.clearInput()}}onItemDelete(e){const t=this.listOfValue.filter(t=>!this.compareWith(t,e.nzValue));this.updateListOfValue(t),this.clearInput()}onHostClick(){this.nzOpen&&this.nzShowSearch||this.nzDisabled||this.setOpenState(!this.nzOpen)}updateListOfContainerItem(){let e=this.listOfTagAndTemplateItem.filter(e=>!e.nzHide).filter(e=>!(!this.nzServerSearch&&this.searchValue)||this.nzFilterOption(this.searchValue,e));if("tags"===this.nzMode&&this.searchValue){const t=this.listOfTagAndTemplateItem.find(e=>e.nzLabel===this.searchValue);if(t)this.activatedValue=t.nzValue;else{const t=this.generateTagItem(this.searchValue);e=[t,...e],this.activatedValue=t.nzValue}}const t=e.find(e=>this.compareWith(e.nzValue,this.listOfValue[0]))||e[0];this.activatedValue=t&&t.nzValue||null;let n=[];this.isReactiveDriven?n=[...new Set(this.nzOptions.filter(e=>e.groupLabel).map(e=>e.groupLabel))]:this.listOfNzOptionGroupComponent&&(n=this.listOfNzOptionGroupComponent.map(e=>e.nzLabel)),n.forEach(t=>{const n=e.findIndex(e=>t===e.groupLabel);if(n>-1){const r={groupLabel:t,type:"group",key:t};e.splice(n,0,r)}}),this.listOfContainerItem=[...e],this.updateCdkConnectedOverlayPositions()}clearInput(){this.nzSelectTopControlComponent.clearInputValue()}updateListOfValue(e){const t=(n=e,"default"===this.nzMode?n.length>0?n[0]:null:n);var n;this.value!==t&&(this.listOfValue=e,this.listOfValue$.next(e),this.value=t,this.onChange(this.value))}onTokenSeparate(e){const t=this.listOfTagAndTemplateItem.filter(t=>-1!==e.findIndex(e=>e===t.nzLabel)).map(e=>e.nzValue).filter(e=>-1===this.listOfValue.findIndex(t=>this.compareWith(t,e)));if("multiple"===this.nzMode)this.updateListOfValue([...this.listOfValue,...t]);else if("tags"===this.nzMode){const n=e.filter(e=>-1===this.listOfTagAndTemplateItem.findIndex(t=>t.nzLabel===e));this.updateListOfValue([...this.listOfValue,...t,...n])}this.clearInput()}onOverlayKeyDown(e){e.keyCode===g.f&&this.setOpenState(!1)}onKeyDown(e){if(this.nzDisabled)return;const t=this.listOfContainerItem.filter(e=>"item"===e.type).filter(e=>!e.nzDisabled),n=t.findIndex(e=>this.compareWith(e.nzValue,this.activatedValue));switch(e.keyCode){case g.m:if(e.preventDefault(),this.nzOpen){const e=n>0?n-1:t.length-1;this.activatedValue=t[e].nzValue}break;case g.c:if(e.preventDefault(),this.nzOpen){const e=n<t.length-1?n+1:0;this.activatedValue=t[e].nzValue}else this.setOpenState(!0);break;case g.e:e.preventDefault(),this.nzOpen?Object(u.p)(this.activatedValue)&&this.onItemClick(this.activatedValue):this.setOpenState(!0);break;case g.k:this.nzOpen||(this.setOpenState(!0),e.preventDefault());break;case g.l:this.setOpenState(!1);break;case g.f:break;default:this.nzOpen||this.setOpenState(!0)}}setOpenState(e){this.nzOpen!==e&&(this.nzOpen=e,this.nzOpenChange.emit(e),this.onOpenChange(),this.cdr.markForCheck())}onOpenChange(){this.updateCdkConnectedOverlayStatus(),this.clearInput()}onInputValueChange(e){this.searchValue=e,this.updateListOfContainerItem(),this.nzOnSearch.emit(e),this.updateCdkConnectedOverlayPositions()}onClearSelection(){this.updateListOfValue([])}onClickOutside(e){this.elementRef.nativeElement.contains(e.target)||this.setOpenState(!1)}focus(){this.nzSelectTopControlComponent.focus()}blur(){this.nzSelectTopControlComponent.blur()}onPositionChange(e){this.dropDownPosition=e.connectionPair.originY}updateCdkConnectedOverlayStatus(){this.platform.isBrowser&&this.originElement.nativeElement&&Object(x.b)(()=>{this.triggerWidth=this.originElement.nativeElement.getBoundingClientRect().width,this.cdr.markForCheck()})}updateCdkConnectedOverlayPositions(){Object(x.b)(()=>{var e,t;null===(t=null===(e=this.cdkConnectedOverlay)||void 0===e?void 0:e.overlayRef)||void 0===t||t.updatePosition()})}writeValue(e){if(this.value!==e){this.value=e;const t=((e,t)=>null==e?[]:"default"===t?[e]:e)(e,this.nzMode);this.listOfValue=t,this.listOfValue$.next(t),this.cdr.markForCheck()}}registerOnChange(e){this.onChange=e}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this.nzDisabled=e,e&&this.setOpenState(!1),this.cdr.markForCheck()}ngOnChanges(e){const{nzOpen:t,nzDisabled:n,nzOptions:i}=e;if(t&&this.onOpenChange(),n&&this.nzDisabled&&this.setOpenState(!1),i){this.isReactiveDriven=!0;const e=(this.nzOptions||[]).map(e=>({template:e.label instanceof r.ib?e.label:null,nzLabel:"string"==typeof e.label||"number"==typeof e.label?e.label:null,nzValue:e.value,nzDisabled:e.disabled||!1,nzHide:e.hide||!1,nzCustomContent:e.label instanceof r.ib,groupLabel:e.groupLabel||null,type:"item",key:e.value}));this.listOfTemplateItem$.next(e)}}ngOnInit(){var e;this.focusMonitor.monitor(this.elementRef,!0).pipe(Object(d.a)(this.destroy$)).subscribe(e=>{e?(this.focused=!0,this.cdr.markForCheck(),this.nzFocus.emit()):(this.focused=!1,this.cdr.markForCheck(),this.nzBlur.emit(),Promise.resolve().then(()=>{this.onTouched()}))}),Object(o.a)([this.listOfValue$,this.listOfTemplateItem$]).pipe(Object(d.a)(this.destroy$)).subscribe(([e,t])=>{const n=e.filter(()=>"tags"===this.nzMode).filter(e=>-1===t.findIndex(t=>this.compareWith(t.nzValue,e))).map(e=>this.listOfTopItem.find(t=>this.compareWith(t.nzValue,e))||this.generateTagItem(e));this.listOfTagAndTemplateItem=[...t,...n],this.listOfTopItem=this.listOfValue.map(e=>[...this.listOfTagAndTemplateItem,...this.listOfTopItem].find(t=>this.compareWith(e,t.nzValue))).filter(e=>!!e),this.updateListOfContainerItem()}),null===(e=this.directionality.change)||void 0===e||e.pipe(Object(d.a)(this.destroy$)).subscribe(e=>{this.dir=e,this.cdr.detectChanges()}),this.nzConfigService.getConfigChangeEventForComponent("select").pipe(Object(d.a)(this.destroy$)).subscribe(()=>{this.cdr.markForCheck()}),this.dir=this.directionality.value}ngAfterContentInit(){this.isReactiveDriven||Object(a.a)(this.listOfNzOptionGroupComponent.changes,this.listOfNzOptionComponent.changes).pipe(Object(h.a)(!0),Object(f.a)(()=>Object(a.a)(this.listOfNzOptionComponent.changes,this.listOfNzOptionGroupComponent.changes,...this.listOfNzOptionComponent.map(e=>e.changes),...this.listOfNzOptionGroupComponent.map(e=>e.changes)).pipe(Object(h.a)(!0))),Object(d.a)(this.destroy$)).subscribe(()=>{const e=this.listOfNzOptionComponent.toArray().map(e=>{const{template:t,nzLabel:n,nzValue:r,nzDisabled:i,nzHide:s,nzCustomContent:o,groupLabel:a}=e;return{template:t,nzLabel:n,nzValue:r,nzDisabled:i,nzHide:s,nzCustomContent:o,groupLabel:a,type:"item",key:r}});this.listOfTemplateItem$.next(e),this.cdr.markForCheck()})}ngOnDestroy(){this.focusMonitor.stopMonitoring(this.elementRef),this.destroy$.next(),this.destroy$.complete()}}Se.\u0275fac=function(e){return new(e||Se)(r.Nc(w.a),r.Nc(r.k),r.Nc(r.v),r.Nc(y.a),r.Nc(p.d),r.Nc(m.c,8),r.Nc(S.a,9))},Se.\u0275cmp=r.Hc({type:Se,selectors:[["nz-select"]],contentQueries:function(e,t,n){if(1&e&&(r.Gc(n,ye,!0),r.Gc(n,ge,!0)),2&e){let e;r.td(e=r.bd())&&(t.listOfNzOptionComponent=e),r.td(e=r.bd())&&(t.listOfNzOptionGroupComponent=e)}},viewQuery:function(e,t){if(1&e&&(r.Dd(v.b,!0,r.v),r.Dd(v.a,!0),r.Dd(_e,!0),r.Dd(ge,!0,r.v),r.Dd(_e,!0,r.v)),2&e){let e;r.td(e=r.bd())&&(t.originElement=e.first),r.td(e=r.bd())&&(t.cdkConnectedOverlay=e.first),r.td(e=r.bd())&&(t.nzSelectTopControlComponent=e.first),r.td(e=r.bd())&&(t.nzOptionGroupComponentElement=e.first),r.td(e=r.bd())&&(t.nzSelectTopControlComponentElement=e.first)}},hostVars:24,hostBindings:function(e,t){1&e&&r.ad("click",function(){return t.onHostClick()}),2&e&&r.Fc("ant-select-lg","large"===t.nzSize)("ant-select-sm","small"===t.nzSize)("ant-select-show-arrow",t.nzShowArrow)("ant-select-disabled",t.nzDisabled)("ant-select-show-search",(t.nzShowSearch||"default"!==t.nzMode)&&!t.nzDisabled)("ant-select-allow-clear",t.nzAllowClear)("ant-select-borderless",t.nzBorderless)("ant-select-open",t.nzOpen)("ant-select-focused",t.nzOpen||t.focused)("ant-select-single","default"===t.nzMode)("ant-select-multiple","default"!==t.nzMode)("ant-select-rtl","rtl"===t.dir)},inputs:{nzId:"nzId",nzSize:"nzSize",nzOptionHeightPx:"nzOptionHeightPx",nzOptionOverflowSize:"nzOptionOverflowSize",nzDropdownClassName:"nzDropdownClassName",nzDropdownMatchSelectWidth:"nzDropdownMatchSelectWidth",nzDropdownStyle:"nzDropdownStyle",nzNotFoundContent:"nzNotFoundContent",nzPlaceHolder:"nzPlaceHolder",nzMaxTagCount:"nzMaxTagCount",nzDropdownRender:"nzDropdownRender",nzCustomTemplate:"nzCustomTemplate",nzSuffixIcon:"nzSuffixIcon",nzClearIcon:"nzClearIcon",nzRemoveIcon:"nzRemoveIcon",nzMenuItemSelectedIcon:"nzMenuItemSelectedIcon",nzTokenSeparators:"nzTokenSeparators",nzMaxTagPlaceholder:"nzMaxTagPlaceholder",nzMaxMultipleCount:"nzMaxMultipleCount",nzMode:"nzMode",nzFilterOption:"nzFilterOption",compareWith:"compareWith",nzAllowClear:"nzAllowClear",nzBorderless:"nzBorderless",nzShowSearch:"nzShowSearch",nzLoading:"nzLoading",nzAutoFocus:"nzAutoFocus",nzAutoClearSearchValue:"nzAutoClearSearchValue",nzServerSearch:"nzServerSearch",nzDisabled:"nzDisabled",nzOpen:"nzOpen",nzBackdrop:"nzBackdrop",nzOptions:"nzOptions",nzShowArrow:"nzShowArrow"},outputs:{nzOnSearch:"nzOnSearch",nzScrollToBottom:"nzScrollToBottom",nzOpenChange:"nzOpenChange",nzBlur:"nzBlur",nzFocus:"nzFocus"},exportAs:["nzSelect"],features:[r.yc([{provide:b.k,useExisting:Object(r.sb)(()=>Se),multi:!0}]),r.xc],decls:5,vars:24,consts:[["cdkOverlayOrigin","",3,"nzId","open","disabled","mode","nzNoAnimation","maxTagPlaceholder","removeIcon","placeHolder","maxTagCount","customTemplate","tokenSeparators","showSearch","autofocus","listOfTopItem","inputValueChange","tokenize","deleteItem","keydown"],["origin","cdkOverlayOrigin"],[3,"loading","search","suffixIcon",4,"ngIf"],[3,"clearIcon","clear",4,"ngIf"],["cdkConnectedOverlay","","nzConnectedOverlay","",3,"cdkConnectedOverlayHasBackdrop","cdkConnectedOverlayMinWidth","cdkConnectedOverlayWidth","cdkConnectedOverlayOrigin","cdkConnectedOverlayTransformOriginOn","cdkConnectedOverlayPanelClass","cdkConnectedOverlayOpen","overlayKeydown","overlayOutsideClick","detach","positionChange"],[3,"loading","search","suffixIcon"],[3,"clearIcon","clear"],[3,"ngStyle","itemSize","maxItemLength","matchWidth","nzNoAnimation","listOfContainerItem","menuItemSelectedIcon","notFoundContent","activatedValue","listOfSelectedValue","dropdownRender","compareWith","mode","keydown","itemClick","scrollToBottom"]],template:function(e,t){if(1&e&&(r.Tc(0,"nz-select-top-control",0,1),r.ad("inputValueChange",function(e){return t.onInputValueChange(e)})("tokenize",function(e){return t.onTokenSeparate(e)})("deleteItem",function(e){return t.onItemDelete(e)})("keydown",function(e){return t.onKeyDown(e)}),r.Sc(),r.Id(2,q,1,3,"nz-select-arrow",2),r.Id(3,$,1,1,"nz-select-clear",3),r.Id(4,G,1,19,"ng-template",4),r.ad("overlayKeydown",function(e){return t.onOverlayKeyDown(e)})("overlayOutsideClick",function(e){return t.onClickOutside(e)})("detach",function(){return t.setOpenState(!1)})("positionChange",function(e){return t.onPositionChange(e)})),2&e){const e=r.ud(1);r.md("nzId",t.nzId)("open",t.nzOpen)("disabled",t.nzDisabled)("mode",t.nzMode)("@.disabled",null==t.noAnimation?null:t.noAnimation.nzNoAnimation)("nzNoAnimation",null==t.noAnimation?null:t.noAnimation.nzNoAnimation)("maxTagPlaceholder",t.nzMaxTagPlaceholder)("removeIcon",t.nzRemoveIcon)("placeHolder",t.nzPlaceHolder)("maxTagCount",t.nzMaxTagCount)("customTemplate",t.nzCustomTemplate)("tokenSeparators",t.nzTokenSeparators)("showSearch",t.nzShowSearch)("autofocus",t.nzAutoFocus)("listOfTopItem",t.listOfTopItem),r.zc(2),r.md("ngIf",t.nzShowArrow),r.zc(1),r.md("ngIf",t.nzAllowClear&&!t.nzDisabled&&t.listOfValue.length),r.zc(1),r.md("cdkConnectedOverlayHasBackdrop",t.nzBackdrop)("cdkConnectedOverlayMinWidth",t.nzDropdownMatchSelectWidth?null:t.triggerWidth)("cdkConnectedOverlayWidth",t.nzDropdownMatchSelectWidth?t.triggerWidth:null)("cdkConnectedOverlayOrigin",e)("cdkConnectedOverlayTransformOriginOn",".ant-select-dropdown")("cdkConnectedOverlayPanelClass",t.nzDropdownClassName)("cdkConnectedOverlayOpen",t.nzOpen)}},directives:function(){return[M.a,_e,v.b,S.a,O.o,v.a,C.e,ke,Ce,ve,O.p]},encapsulation:2,data:{animation:[_.g]},changeDetection:0}),Se.ctorParameters=()=>[{type:w.a},{type:r.k},{type:r.v},{type:y.a},{type:p.d},{type:m.c,decorators:[{type:r.R}]},{type:S.a,decorators:[{type:r.y},{type:r.R}]}],Se.propDecorators={nzId:[{type:r.G}],nzSize:[{type:r.G}],nzOptionHeightPx:[{type:r.G}],nzOptionOverflowSize:[{type:r.G}],nzDropdownClassName:[{type:r.G}],nzDropdownMatchSelectWidth:[{type:r.G}],nzDropdownStyle:[{type:r.G}],nzNotFoundContent:[{type:r.G}],nzPlaceHolder:[{type:r.G}],nzMaxTagCount:[{type:r.G}],nzDropdownRender:[{type:r.G}],nzCustomTemplate:[{type:r.G}],nzSuffixIcon:[{type:r.G}],nzClearIcon:[{type:r.G}],nzRemoveIcon:[{type:r.G}],nzMenuItemSelectedIcon:[{type:r.G}],nzTokenSeparators:[{type:r.G}],nzMaxTagPlaceholder:[{type:r.G}],nzMaxMultipleCount:[{type:r.G}],nzMode:[{type:r.G}],nzFilterOption:[{type:r.G}],compareWith:[{type:r.G}],nzAllowClear:[{type:r.G}],nzBorderless:[{type:r.G}],nzShowSearch:[{type:r.G}],nzLoading:[{type:r.G}],nzAutoFocus:[{type:r.G}],nzAutoClearSearchValue:[{type:r.G}],nzServerSearch:[{type:r.G}],nzDisabled:[{type:r.G}],nzOpen:[{type:r.G}],nzBackdrop:[{type:r.G}],nzOptions:[{type:r.G}],nzShowArrow:[{type:r.G}],nzOnSearch:[{type:r.S}],nzScrollToBottom:[{type:r.S}],nzOpenChange:[{type:r.S}],nzBlur:[{type:r.S}],nzFocus:[{type:r.S}],originElement:[{type:r.mb,args:[v.b,{static:!0,read:r.v}]}],cdkConnectedOverlay:[{type:r.mb,args:[v.a,{static:!0}]}],nzSelectTopControlComponent:[{type:r.mb,args:[_e,{static:!0}]}],listOfNzOptionComponent:[{type:r.s,args:[ye,{descendants:!0}]}],listOfNzOptionGroupComponent:[{type:r.s,args:[ge,{descendants:!0}]}],nzOptionGroupComponentElement:[{type:r.mb,args:[ge,{static:!0,read:r.v}]}],nzSelectTopControlComponentElement:[{type:r.mb,args:[_e,{static:!0,read:r.v}]}]},Object(l.b)([Object(w.b)(),Object(l.c)("design:type",Object)],Se.prototype,"nzSuffixIcon",void 0),Object(l.b)([Object(u.a)(),Object(l.c)("design:type",Object)],Se.prototype,"nzAllowClear",void 0),Object(l.b)([Object(w.b)(),Object(u.a)(),Object(l.c)("design:type",Object)],Se.prototype,"nzBorderless",void 0),Object(l.b)([Object(u.a)(),Object(l.c)("design:type",Object)],Se.prototype,"nzShowSearch",void 0),Object(l.b)([Object(u.a)(),Object(l.c)("design:type",Object)],Se.prototype,"nzLoading",void 0),Object(l.b)([Object(u.a)(),Object(l.c)("design:type",Object)],Se.prototype,"nzAutoFocus",void 0),Object(l.b)([Object(u.a)(),Object(l.c)("design:type",Object)],Se.prototype,"nzAutoClearSearchValue",void 0),Object(l.b)([Object(u.a)(),Object(l.c)("design:type",Object)],Se.prototype,"nzServerSearch",void 0),Object(l.b)([Object(u.a)(),Object(l.c)("design:type",Object)],Se.prototype,"nzDisabled",void 0),Object(l.b)([Object(u.a)(),Object(l.c)("design:type",Object)],Se.prototype,"nzOpen",void 0),Object(l.b)([Object(w.b)(),Object(u.a)(),Object(l.c)("design:type",Object)],Se.prototype,"nzBackdrop",void 0);class xe{constructor(e){this.elementRef=e,this.nzLabel=null,this.elementRef.nativeElement.classList.add("ant-select-item","ant-select-item-group")}}xe.\u0275fac=function(e){return new(e||xe)(r.Nc(r.v))},xe.\u0275cmp=r.Hc({type:xe,selectors:[["nz-option-item-group"]],inputs:{nzLabel:"nzLabel"},decls:1,vars:1,consts:[[4,"nzStringTemplateOutlet"]],template:function(e,t){1&e&&r.Id(0,X,2,1,"ng-container",0),2&e&&r.md("nzStringTemplateOutlet",t.nzLabel)},directives:[k.b],encapsulation:2,changeDetection:0}),xe.ctorParameters=()=>[{type:r.v}],xe.propDecorators={nzLabel:[{type:r.G}]};class Oe{constructor(e){this.elementRef=e,this.selected=!1,this.activated=!1,this.grouped=!1,this.customContent=!1,this.template=null,this.disabled=!1,this.showState=!1,this.label=null,this.value=null,this.activatedValue=null,this.listOfSelectedValue=[],this.icon=null,this.itemClick=new r.x,this.itemHover=new r.x,this.elementRef.nativeElement.classList.add("ant-select-item","ant-select-item-option")}onHostMouseEnter(){this.disabled||this.itemHover.next(this.value)}onHostClick(){this.disabled||this.itemClick.next(this.value)}ngOnChanges(e){const{value:t,activatedValue:n,listOfSelectedValue:r}=e;(t||r)&&(this.selected=this.listOfSelectedValue.some(e=>this.compareWith(e,this.value))),(t||n)&&(this.activated=this.compareWith(this.activatedValue,this.value))}}Oe.\u0275fac=function(e){return new(e||Oe)(r.Nc(r.v))},Oe.\u0275cmp=r.Hc({type:Oe,selectors:[["nz-option-item"]],hostVars:9,hostBindings:function(e,t){1&e&&r.ad("mouseenter",function(){return t.onHostMouseEnter()})("click",function(){return t.onHostClick()}),2&e&&(r.Ac("title",t.label),r.Fc("ant-select-item-option-grouped",t.grouped)("ant-select-item-option-selected",t.selected&&!t.disabled)("ant-select-item-option-disabled",t.disabled)("ant-select-item-option-active",t.activated&&!t.disabled))},inputs:{grouped:"grouped",customContent:"customContent",template:"template",disabled:"disabled",showState:"showState",label:"label",value:"value",activatedValue:"activatedValue",listOfSelectedValue:"listOfSelectedValue",icon:"icon",compareWith:"compareWith"},outputs:{itemClick:"itemClick",itemHover:"itemHover"},features:[r.xc],decls:4,vars:3,consts:[[1,"ant-select-item-option-content"],[4,"ngIf"],["class","ant-select-item-option-state","style","user-select: none","unselectable","on",4,"ngIf"],[3,"ngTemplateOutlet"],["unselectable","on",1,"ant-select-item-option-state",2,"user-select","none"],["nz-icon","","nzType","check","class","ant-select-selected-icon",4,"ngIf","ngIfElse"],["nz-icon","","nzType","check",1,"ant-select-selected-icon"]],template:function(e,t){1&e&&(r.Tc(0,"div",0),r.Id(1,K,2,1,"ng-container",1),r.Id(2,Q,2,1,"ng-container",1),r.Sc(),r.Id(3,ee,2,2,"div",2)),2&e&&(r.zc(1),r.md("ngIf",!t.customContent),r.zc(1),r.md("ngIf",t.customContent),r.zc(1),r.md("ngIf",t.showState&&t.selected))},directives:[O.o,O.t,j.b,M.a],encapsulation:2,changeDetection:0}),Oe.ctorParameters=()=>[{type:r.v}],Oe.propDecorators={grouped:[{type:r.G}],customContent:[{type:r.G}],template:[{type:r.G}],disabled:[{type:r.G}],showState:[{type:r.G}],label:[{type:r.G}],value:[{type:r.G}],activatedValue:[{type:r.G}],listOfSelectedValue:[{type:r.G}],icon:[{type:r.G}],compareWith:[{type:r.G}],itemClick:[{type:r.S}],itemHover:[{type:r.S}]};class ke{constructor(e){this.elementRef=e,this.loading=!1,this.search=!1,this.suffixIcon=null,this.elementRef.nativeElement.classList.add("ant-select-arrow")}}ke.\u0275fac=function(e){return new(e||ke)(r.Nc(r.v))},ke.\u0275cmp=r.Hc({type:ke,selectors:[["nz-select-arrow"]],hostVars:2,hostBindings:function(e,t){2&e&&r.Fc("ant-select-arrow-loading",t.loading)},inputs:{loading:"loading",search:"search",suffixIcon:"suffixIcon"},decls:3,vars:2,consts:[["nz-icon","","nzType","loading",4,"ngIf","ngIfElse"],["defaultArrow",""],["nz-icon","","nzType","loading"],[4,"ngIf","ngIfElse"],["suffixTemplate",""],["nz-icon","","nzType","down",4,"ngIf"],["nz-icon","","nzType","search",4,"ngIf"],["nz-icon","","nzType","down"],["nz-icon","","nzType","search"],[4,"nzStringTemplateOutlet"],["nz-icon","",3,"nzType"]],template:function(e,t){if(1&e&&(r.Id(0,te,1,0,"i",0),r.Id(1,ae,3,2,"ng-template",null,1,r.Jd)),2&e){const e=r.ud(2);r.md("ngIf",t.loading)("ngIfElse",e)}},directives:[O.o,j.b,M.a,k.b],encapsulation:2,changeDetection:0}),ke.ctorParameters=()=>[{type:r.v}],ke.propDecorators={loading:[{type:r.G}],search:[{type:r.G}],suffixIcon:[{type:r.G}]};class Ce{constructor(e){this.elementRef=e,this.clearIcon=null,this.clear=new r.x,this.elementRef.nativeElement.classList.add("ant-select-clear")}onClick(e){e.preventDefault(),e.stopPropagation(),this.clear.emit(e)}}Ce.\u0275fac=function(e){return new(e||Ce)(r.Nc(r.v))},Ce.\u0275cmp=r.Hc({type:Ce,selectors:[["nz-select-clear"]],hostBindings:function(e,t){1&e&&r.ad("click",function(e){return t.onClick(e)})},inputs:{clearIcon:"clearIcon"},outputs:{clear:"clear"},decls:1,vars:2,consts:[["nz-icon","","nzType","close-circle","nzTheme","fill","class","ant-select-close-icon",4,"ngIf","ngIfElse"],["nz-icon","","nzType","close-circle","nzTheme","fill",1,"ant-select-close-icon"]],template:function(e,t){1&e&&r.Id(0,ce,1,0,"i",0),2&e&&r.md("ngIf",!t.clearIcon)("ngIfElse",t.clearIcon)},directives:[O.o,j.b,M.a],encapsulation:2,changeDetection:0}),Ce.ctorParameters=()=>[{type:r.v}],Ce.propDecorators={clearIcon:[{type:r.G}],clear:[{type:r.S}]};class Me{constructor(e){this.elementRef=e,this.disabled=!1,this.label=null,this.deletable=!1,this.removeIcon=null,this.contentTemplateOutletContext=null,this.contentTemplateOutlet=null,this.delete=new r.x,this.elementRef.nativeElement.classList.add("ant-select-selection-item")}onDelete(e){e.preventDefault(),e.stopPropagation(),this.disabled||this.delete.next(e)}}Me.\u0275fac=function(e){return new(e||Me)(r.Nc(r.v))},Me.\u0275cmp=r.Hc({type:Me,selectors:[["nz-select-item"]],hostVars:3,hostBindings:function(e,t){2&e&&(r.Ac("title",t.label),r.Fc("ant-select-selection-item-disabled",t.disabled))},inputs:{disabled:"disabled",label:"label",deletable:"deletable",removeIcon:"removeIcon",contentTemplateOutletContext:"contentTemplateOutletContext",contentTemplateOutlet:"contentTemplateOutlet"},outputs:{delete:"delete"},decls:2,vars:5,consts:[[4,"nzStringTemplateOutlet","nzStringTemplateOutletContext"],["class","ant-select-selection-item-remove",3,"click",4,"ngIf"],["class","ant-select-selection-item-content",4,"ngIf","ngIfElse"],["labelTemplate",""],[1,"ant-select-selection-item-content"],[1,"ant-select-selection-item-remove",3,"click"],["nz-icon","","nzType","close",4,"ngIf","ngIfElse"],["nz-icon","","nzType","close"]],template:function(e,t){1&e&&(r.Id(0,he,4,2,"ng-container",0),r.Id(1,fe,2,2,"span",1)),2&e&&(r.md("nzStringTemplateOutlet",t.contentTemplateOutlet)("nzStringTemplateOutletContext",r.pd(3,pe,t.contentTemplateOutletContext)),r.zc(1),r.md("ngIf",t.deletable&&!t.disabled))},directives:[k.b,O.o,j.b,M.a],encapsulation:2,changeDetection:0}),Me.ctorParameters=()=>[{type:r.v}],Me.propDecorators={disabled:[{type:r.G}],label:[{type:r.G}],deletable:[{type:r.G}],removeIcon:[{type:r.G}],contentTemplateOutletContext:[{type:r.G}],contentTemplateOutlet:[{type:r.G}],delete:[{type:r.S}]};class Ee{constructor(e){this.elementRef=e,this.placeholder=null,this.elementRef.nativeElement.classList.add("ant-select-selection-placeholder")}}Ee.\u0275fac=function(e){return new(e||Ee)(r.Nc(r.v))},Ee.\u0275cmp=r.Hc({type:Ee,selectors:[["nz-select-placeholder"]],inputs:{placeholder:"placeholder"},decls:1,vars:1,consts:[[4,"nzStringTemplateOutlet"]],template:function(e,t){1&e&&r.Id(0,me,2,1,"ng-container",0),2&e&&r.md("nzStringTemplateOutlet",t.placeholder)},directives:[k.b],encapsulation:2,changeDetection:0}),Ee.ctorParameters=()=>[{type:r.v}],Ee.propDecorators={placeholder:[{type:r.G}]};class Te{}Te.\u0275mod=r.Lc({type:Te}),Te.\u0275inj=r.Kc({factory:function(e){return new(e||Te)},imports:[[m.a,O.c,T.d,b.j,y.b,v.g,j.c,k.a,E.b,C.f,S.b,M.b,c.f,p.a]]}),("undefined"==typeof ngJitMode||ngJitMode)&&r.Bd(Te,{declarations:function(){return[ye,Se,ve,ge,Oe,_e,be,Me,Ce,ke,Ee,xe]},imports:function(){return[m.a,O.c,T.d,b.j,y.b,v.g,j.c,k.a,E.b,C.f,S.b,M.b,c.f,p.a]},exports:function(){return[ye,Se,ge,ke,Ce,Me,Ee,be]}})},zMQz:function(e,t,n){"use strict";function r(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.width?String(t.width):e.defaultWidth,r=e.formats[n]||e.formats[e.defaultWidth];return r}}n.d(t,"a",function(){return r})},zP0r:function(e,t,n){"use strict";n.d(t,"a",function(){return i});var r=n("7o/Q");function i(e){return t=>t.lift(new s(e))}class s{constructor(e){this.total=e}call(e,t){return t.subscribe(new o(e,this.total))}}class o extends r.a{constructor(e,t){super(e),this.total=t,this.count=0}_next(e){++this.count>this.total&&this.destination.next(e)}}},zUnb:function(e,t,n){"use strict";n.r(t);var r,i=n("fXoL");function s(e){if(":"!=e[0])return[null,e];const t=e.indexOf(":",1);if(-1==t)throw new Error(`Unsupported format "${e}" expecting ":namespace:name"`);return[e.slice(1,t),e.slice(t+1)]}function o(e){return"ng-container"===s(e)[1]}function a(e){return"ng-content"===s(e)[1]}function c(e){return"ng-template"===s(e)[1]}function l(e){return null===e?null:s(e)[0]}function u(e,t){return e?`:${e}:${t}`:t}!function(e){e[e.RAW_TEXT=0]="RAW_TEXT",e[e.ESCAPABLE_RAW_TEXT=1]="ESCAPABLE_RAW_TEXT",e[e.PARSABLE_DATA=2]="PARSABLE_DATA"}(r||(r={}));const h={Aacute:"\xc1",aacute:"\xe1",Acirc:"\xc2",acirc:"\xe2",acute:"\xb4",AElig:"\xc6",aelig:"\xe6",Agrave:"\xc0",agrave:"\xe0",alefsym:"\u2135",Alpha:"\u0391",alpha:"\u03b1",amp:"&",and:"\u2227",ang:"\u2220",apos:"'",Aring:"\xc5",aring:"\xe5",asymp:"\u2248",Atilde:"\xc3",atilde:"\xe3",Auml:"\xc4",auml:"\xe4",bdquo:"\u201e",Beta:"\u0392",beta:"\u03b2",brvbar:"\xa6",bull:"\u2022",cap:"\u2229",Ccedil:"\xc7",ccedil:"\xe7",cedil:"\xb8",cent:"\xa2",Chi:"\u03a7",chi:"\u03c7",circ:"\u02c6",clubs:"\u2663",cong:"\u2245",copy:"\xa9",crarr:"\u21b5",cup:"\u222a",curren:"\xa4",dagger:"\u2020",Dagger:"\u2021",darr:"\u2193",dArr:"\u21d3",deg:"\xb0",Delta:"\u0394",delta:"\u03b4",diams:"\u2666",divide:"\xf7",Eacute:"\xc9",eacute:"\xe9",Ecirc:"\xca",ecirc:"\xea",Egrave:"\xc8",egrave:"\xe8",empty:"\u2205",emsp:"\u2003",ensp:"\u2002",Epsilon:"\u0395",epsilon:"\u03b5",equiv:"\u2261",Eta:"\u0397",eta:"\u03b7",ETH:"\xd0",eth:"\xf0",Euml:"\xcb",euml:"\xeb",euro:"\u20ac",exist:"\u2203",fnof:"\u0192",forall:"\u2200",frac12:"\xbd",frac14:"\xbc",frac34:"\xbe",frasl:"\u2044",Gamma:"\u0393",gamma:"\u03b3",ge:"\u2265",gt:">",harr:"\u2194",hArr:"\u21d4",hearts:"\u2665",hellip:"\u2026",Iacute:"\xcd",iacute:"\xed",Icirc:"\xce",icirc:"\xee",iexcl:"\xa1",Igrave:"\xcc",igrave:"\xec",image:"\u2111",infin:"\u221e",int:"\u222b",Iota:"\u0399",iota:"\u03b9",iquest:"\xbf",isin:"\u2208",Iuml:"\xcf",iuml:"\xef",Kappa:"\u039a",kappa:"\u03ba",Lambda:"\u039b",lambda:"\u03bb",lang:"\u27e8",laquo:"\xab",larr:"\u2190",lArr:"\u21d0",lceil:"\u2308",ldquo:"\u201c",le:"\u2264",lfloor:"\u230a",lowast:"\u2217",loz:"\u25ca",lrm:"\u200e",lsaquo:"\u2039",lsquo:"\u2018",lt:"<",macr:"\xaf",mdash:"\u2014",micro:"\xb5",middot:"\xb7",minus:"\u2212",Mu:"\u039c",mu:"\u03bc",nabla:"\u2207",nbsp:"\xa0",ndash:"\u2013",ne:"\u2260",ni:"\u220b",not:"\xac",notin:"\u2209",nsub:"\u2284",Ntilde:"\xd1",ntilde:"\xf1",Nu:"\u039d",nu:"\u03bd",Oacute:"\xd3",oacute:"\xf3",Ocirc:"\xd4",ocirc:"\xf4",OElig:"\u0152",oelig:"\u0153",Ograve:"\xd2",ograve:"\xf2",oline:"\u203e",Omega:"\u03a9",omega:"\u03c9",Omicron:"\u039f",omicron:"\u03bf",oplus:"\u2295",or:"\u2228",ordf:"\xaa",ordm:"\xba",Oslash:"\xd8",oslash:"\xf8",Otilde:"\xd5",otilde:"\xf5",otimes:"\u2297",Ouml:"\xd6",ouml:"\xf6",para:"\xb6",permil:"\u2030",perp:"\u22a5",Phi:"\u03a6",phi:"\u03c6",Pi:"\u03a0",pi:"\u03c0",piv:"\u03d6",plusmn:"\xb1",pound:"\xa3",prime:"\u2032",Prime:"\u2033",prod:"\u220f",prop:"\u221d",Psi:"\u03a8",psi:"\u03c8",quot:'"',radic:"\u221a",rang:"\u27e9",raquo:"\xbb",rarr:"\u2192",rArr:"\u21d2",rceil:"\u2309",rdquo:"\u201d",real:"\u211c",reg:"\xae",rfloor:"\u230b",Rho:"\u03a1",rho:"\u03c1",rlm:"\u200f",rsaquo:"\u203a",rsquo:"\u2019",sbquo:"\u201a",Scaron:"\u0160",scaron:"\u0161",sdot:"\u22c5",sect:"\xa7",shy:"\xad",Sigma:"\u03a3",sigma:"\u03c3",sigmaf:"\u03c2",sim:"\u223c",spades:"\u2660",sub:"\u2282",sube:"\u2286",sum:"\u2211",sup:"\u2283",sup1:"\xb9",sup2:"\xb2",sup3:"\xb3",supe:"\u2287",szlig:"\xdf",Tau:"\u03a4",tau:"\u03c4",there4:"\u2234",Theta:"\u0398",theta:"\u03b8",thetasym:"\u03d1",thinsp:"\u2009",THORN:"\xde",thorn:"\xfe",tilde:"\u02dc",times:"\xd7",trade:"\u2122",Uacute:"\xda",uacute:"\xfa",uarr:"\u2191",uArr:"\u21d1",Ucirc:"\xdb",ucirc:"\xfb",Ugrave:"\xd9",ugrave:"\xf9",uml:"\xa8",upsih:"\u03d2",Upsilon:"\u03a5",upsilon:"\u03c5",Uuml:"\xdc",uuml:"\xfc",weierp:"\u2118",Xi:"\u039e",xi:"\u03be",Yacute:"\xdd",yacute:"\xfd",yen:"\xa5",yuml:"\xff",Yuml:"\u0178",Zeta:"\u0396",zeta:"\u03b6",zwj:"\u200d",zwnj:"\u200c"};h.ngsp="\ue500";class d{constructor({closedByChildren:e,implicitNamespacePrefix:t,contentType:n=r.PARSABLE_DATA,closedByParent:i=!1,isVoid:s=!1,ignoreFirstLf:o=!1,preventNamespaceInheritance:a=!1}={}){this.closedByChildren={},this.closedByParent=!1,this.canSelfClose=!1,e&&e.length>0&&e.forEach(e=>this.closedByChildren[e]=!0),this.isVoid=s,this.closedByParent=i||s,this.implicitNamespacePrefix=t||null,this.contentType=n,this.ignoreFirstLf=o,this.preventNamespaceInheritance=a}isClosedByChild(e){return this.isVoid||e.toLowerCase()in this.closedByChildren}getContentType(e){if("object"==typeof this.contentType){const t=null==e?void 0:this.contentType[e];return null!=t?t:this.contentType.default}return this.contentType}}let f,p;function m(e){var t,n;return p||(f=new d,p={base:new d({isVoid:!0}),meta:new d({isVoid:!0}),area:new d({isVoid:!0}),embed:new d({isVoid:!0}),link:new d({isVoid:!0}),img:new d({isVoid:!0}),input:new d({isVoid:!0}),param:new d({isVoid:!0}),hr:new d({isVoid:!0}),br:new d({isVoid:!0}),source:new d({isVoid:!0}),track:new d({isVoid:!0}),wbr:new d({isVoid:!0}),p:new d({closedByChildren:["address","article","aside","blockquote","div","dl","fieldset","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","main","nav","ol","p","pre","section","table","ul"],closedByParent:!0}),thead:new d({closedByChildren:["tbody","tfoot"]}),tbody:new d({closedByChildren:["tbody","tfoot"],closedByParent:!0}),tfoot:new d({closedByChildren:["tbody"],closedByParent:!0}),tr:new d({closedByChildren:["tr"],closedByParent:!0}),td:new d({closedByChildren:["td","th"],closedByParent:!0}),th:new d({closedByChildren:["td","th"],closedByParent:!0}),col:new d({isVoid:!0}),svg:new d({implicitNamespacePrefix:"svg"}),foreignObject:new d({implicitNamespacePrefix:"svg",preventNamespaceInheritance:!0}),math:new d({implicitNamespacePrefix:"math"}),li:new d({closedByChildren:["li"],closedByParent:!0}),dt:new d({closedByChildren:["dt","dd"]}),dd:new d({closedByChildren:["dt","dd"],closedByParent:!0}),rb:new d({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),rt:new d({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),rtc:new d({closedByChildren:["rb","rtc","rp"],closedByParent:!0}),rp:new d({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),optgroup:new d({closedByChildren:["optgroup"],closedByParent:!0}),option:new d({closedByChildren:["option","optgroup"],closedByParent:!0}),pre:new d({ignoreFirstLf:!0}),listing:new d({ignoreFirstLf:!0}),style:new d({contentType:r.RAW_TEXT}),script:new d({contentType:r.RAW_TEXT}),title:new d({contentType:{default:r.ESCAPABLE_RAW_TEXT,svg:r.PARSABLE_DATA}}),textarea:new d({contentType:r.ESCAPABLE_RAW_TEXT,ignoreFirstLf:!0})}),null!==(n=null!==(t=p[e])&&void 0!==t?t:p[e.toLowerCase()])&&void 0!==n?n:f}const g=new RegExp("(\\:not\\()|(([\\.\\#]?)[-\\w]+)|(?:\\[([-.\\w*]+)(?:=([\"']?)([^\\]\"']*)\\5)?\\])|(\\))|(\\s*,\\s*)","g");class v{constructor(){this.element=null,this.classNames=[],this.attrs=[],this.notSelectors=[]}static parse(e){const t=[],n=(e,t)=>{t.notSelectors.length>0&&!t.element&&0==t.classNames.length&&0==t.attrs.length&&(t.element="*"),e.push(t)};let r,i=new v,s=i,o=!1;for(g.lastIndex=0;r=g.exec(e);){if(r[1]){if(o)throw new Error("Nesting :not in a selector is not allowed");o=!0,s=new v,i.notSelectors.push(s)}const e=r[2];if(e){const t=r[3];"#"===t?s.addAttribute("id",e.substr(1)):"."===t?s.addClassName(e.substr(1)):s.setElement(e)}const a=r[4];if(a&&s.addAttribute(a,r[6]),r[7]&&(o=!1,s=i),r[8]){if(o)throw new Error("Multiple selectors in :not are not supported");n(t,i),i=s=new v}}return n(t,i),t}isElementSelector(){return this.hasElementSelector()&&0==this.classNames.length&&0==this.attrs.length&&0===this.notSelectors.length}hasElementSelector(){return!!this.element}setElement(e=null){this.element=e}getMatchingElementTemplate(){const e=this.element||"div",t=this.classNames.length>0?` class="${this.classNames.join(" ")}"`:"";let n="";for(let r=0;r<this.attrs.length;r+=2){n+=` ${this.attrs[r]}${""!==this.attrs[r+1]?`="${this.attrs[r+1]}"`:""}`}return m(e).isVoid?`<${e}${t}${n}/>`:`<${e}${t}${n}></${e}>`}getAttrs(){const e=[];return this.classNames.length>0&&e.push("class",this.classNames.join(" ")),e.concat(this.attrs)}addAttribute(e,t=""){this.attrs.push(e,t&&t.toLowerCase()||"")}addClassName(e){this.classNames.push(e.toLowerCase())}toString(){let e=this.element||"";if(this.classNames&&this.classNames.forEach(t=>e+="."+t),this.attrs)for(let t=0;t<this.attrs.length;t+=2){const n=this.attrs[t],r=this.attrs[t+1];e+=`[${n}${r?"="+r:""}]`}return this.notSelectors.forEach(t=>e+=`:not(${t})`),e}}class y{constructor(){this._elementMap=new Map,this._elementPartialMap=new Map,this._classMap=new Map,this._classPartialMap=new Map,this._attrValueMap=new Map,this._attrValuePartialMap=new Map,this._listContexts=[]}static createNotMatcher(e){const t=new y;return t.addSelectables(e,null),t}addSelectables(e,t){let n=null;e.length>1&&(n=new b(e),this._listContexts.push(n));for(let r=0;r<e.length;r++)this._addSelectable(e[r],t,n)}_addSelectable(e,t,n){let r=this;const i=e.element,s=e.classNames,o=e.attrs,a=new _(e,t,n);if(i){0===o.length&&0===s.length?this._addTerminal(r._elementMap,i,a):r=this._addPartial(r._elementPartialMap,i)}if(s)for(let c=0;c<s.length;c++){const e=0===o.length&&c===s.length-1,t=s[c];e?this._addTerminal(r._classMap,t,a):r=this._addPartial(r._classPartialMap,t)}if(o)for(let c=0;c<o.length;c+=2){const e=c===o.length-2,t=o[c],n=o[c+1];if(e){const e=r._attrValueMap;let i=e.get(t);i||(i=new Map,e.set(t,i)),this._addTerminal(i,n,a)}else{const e=r._attrValuePartialMap;let i=e.get(t);i||(i=new Map,e.set(t,i)),r=this._addPartial(i,n)}}}_addTerminal(e,t,n){let r=e.get(t);r||(r=[],e.set(t,r)),r.push(n)}_addPartial(e,t){let n=e.get(t);return n||(n=new y,e.set(t,n)),n}match(e,t){let n=!1;const r=e.element,i=e.classNames,s=e.attrs;for(let o=0;o<this._listContexts.length;o++)this._listContexts[o].alreadyMatched=!1;if(n=this._matchTerminal(this._elementMap,r,e,t)||n,n=this._matchPartial(this._elementPartialMap,r,e,t)||n,i)for(let o=0;o<i.length;o++){const r=i[o];n=this._matchTerminal(this._classMap,r,e,t)||n,n=this._matchPartial(this._classPartialMap,r,e,t)||n}if(s)for(let o=0;o<s.length;o+=2){const r=s[o],i=s[o+1],a=this._attrValueMap.get(r);i&&(n=this._matchTerminal(a,"",e,t)||n),n=this._matchTerminal(a,i,e,t)||n;const c=this._attrValuePartialMap.get(r);i&&(n=this._matchPartial(c,"",e,t)||n),n=this._matchPartial(c,i,e,t)||n}return n}_matchTerminal(e,t,n,r){if(!e||"string"!=typeof t)return!1;let i=e.get(t)||[];const s=e.get("*");if(s&&(i=i.concat(s)),0===i.length)return!1;let o,a=!1;for(let c=0;c<i.length;c++)o=i[c],a=o.finalize(n,r)||a;return a}_matchPartial(e,t,n,r){if(!e||"string"!=typeof t)return!1;const i=e.get(t);return!!i&&i.match(n,r)}}class b{constructor(e){this.selectors=e,this.alreadyMatched=!1}}class _{constructor(e,t,n){this.selector=e,this.cbContext=t,this.listContext=n,this.notSelectors=e.notSelectors}finalize(e,t){let n=!0;if(this.notSelectors.length>0&&(!this.listContext||!this.listContext.alreadyMatched)){n=!y.createNotMatcher(this.notSelectors).match(e,null)}return!n||!t||this.listContext&&this.listContext.alreadyMatched||(this.listContext&&(this.listContext.alreadyMatched=!0),t(this.selector,this.cbContext)),n}}const w=G("Inject",e=>({token:e})),S=G("InjectionToken",e=>({_desc:e,"\u0275prov":void 0})),x=G("Attribute",e=>({attributeName:e})),O=G("ContentChildren",(e,t={})=>Object.assign({selector:e,first:!1,isViewQuery:!1,descendants:!1},t)),k=G("ContentChild",(e,t={})=>Object.assign({selector:e,first:!0,isViewQuery:!1,descendants:!0},t)),C=G("ViewChildren",(e,t={})=>Object.assign({selector:e,first:!1,isViewQuery:!0,descendants:!0},t)),M=G("ViewChild",(e,t)=>Object.assign({selector:e,first:!0,isViewQuery:!0,descendants:!0},t)),E=G("Directive",(e={})=>e);var T,j;!function(e){e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom"}(T||(T={})),function(e){e[e.OnPush=0]="OnPush",e[e.Default=1]="Default"}(j||(j={}));const D=G("Component",(e={})=>Object.assign({changeDetection:j.Default},e)),A=G("Pipe",e=>Object.assign({pure:!0},e)),L=G("Input",e=>({bindingPropertyName:e})),z=G("Output",e=>({bindingPropertyName:e})),P=G("HostBinding",e=>({hostPropertyName:e})),I=G("HostListener",(e,t)=>({eventName:e,args:t})),R=G("NgModule",e=>e),N=G("Injectable",(e={})=>e),H={name:"custom-elements"},F={name:"no-errors-schema"},V=G("Optional"),B=G("Self"),Y=G("SkipSelf"),U=G("Host"),W=Function;var q,$;function G(e,t){function n(...n){const r=t?t(...n):{};return Object.assign({ngMetadataName:e},r)}return n.isTypeOf=t=>t&&t.ngMetadataName===e,n.ngMetadataName=e,n}function X(e){const t=function(e){const t=e.classNames&&e.classNames.length?[8,...e.classNames]:[];return[e.element&&"*"!==e.element?e.element:"",...e.attrs,...t]}(e),n=e.notSelectors&&e.notSelectors.length?e.notSelectors.map(e=>function(e){const t=e.classNames&&e.classNames.length?[8,...e.classNames]:[];return e.element?[5,e.element,...e.attrs,...t]:e.attrs.length?[3,...e.attrs,...t]:e.classNames&&e.classNames.length?[9,...e.classNames]:[]}(e)):[];return t.concat(...n)}function K(e){return e?v.parse(e).map(X):[]}!function(e){e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL"}(q||(q={})),function(e){e[e.Error=0]="Error",e[e.Warning=1]="Warning",e[e.Ignore=2]="Ignore"}($||($={}));var J,Q;!function(e){e[e.Const=0]="Const"}(J||(J={}));class Z{constructor(e=[]){this.modifiers=e}hasModifier(e){return-1!==this.modifiers.indexOf(e)}}!function(e){e[e.Dynamic=0]="Dynamic",e[e.Bool=1]="Bool",e[e.String=2]="String",e[e.Int=3]="Int",e[e.Number=4]="Number",e[e.Function=5]="Function",e[e.Inferred=6]="Inferred",e[e.None=7]="None"}(Q||(Q={}));class ee extends Z{constructor(e,t){super(t),this.name=e}visitType(e,t){return e.visitBuiltinType(this,t)}}class te extends Z{constructor(e,t,n=null){super(t),this.value=e,this.typeParams=n}visitType(e,t){return e.visitExpressionType(this,t)}}class ne extends Z{constructor(e,t){super(t),this.of=e}visitType(e,t){return e.visitArrayType(this,t)}}class re extends Z{constructor(e,t){super(t),this.valueType=e||null}visitType(e,t){return e.visitMapType(this,t)}}const ie=new ee(Q.Dynamic),se=new ee(Q.Inferred),oe=new ee(Q.Bool),ae=(new ee(Q.Int),new ee(Q.Number)),ce=new ee(Q.String),le=(new ee(Q.Function),new ee(Q.None));var ue,he,de,fe;function pe(e,t){return null==e||null==t?e==t:e.isEquivalent(t)}function me(e,t){const n=e.length;if(n!==t.length)return!1;for(let r=0;r<n;r++)if(!e[r].isEquivalent(t[r]))return!1;return!0}!function(e){e[e.Minus=0]="Minus",e[e.Plus=1]="Plus"}(ue||(ue={})),function(e){e[e.Equals=0]="Equals",e[e.NotEquals=1]="NotEquals",e[e.Identical=2]="Identical",e[e.NotIdentical=3]="NotIdentical",e[e.Minus=4]="Minus",e[e.Plus=5]="Plus",e[e.Divide=6]="Divide",e[e.Multiply=7]="Multiply",e[e.Modulo=8]="Modulo",e[e.And=9]="And",e[e.Or=10]="Or",e[e.BitwiseAnd=11]="BitwiseAnd",e[e.Lower=12]="Lower",e[e.LowerEquals=13]="LowerEquals",e[e.Bigger=14]="Bigger",e[e.BiggerEquals=15]="BiggerEquals"}(he||(he={}));class ge{constructor(e,t){this.type=e||null,this.sourceSpan=t||null}prop(e,t){return new Ue(this,e,null,t)}key(e,t,n){return new We(this,e,t,n)}callMethod(e,t,n){return new xe(this,e,t,null,n)}callFn(e,t,n){return new Oe(this,e,null,t,n)}instantiate(e,t,n){return new ke(this,e,t,n)}conditional(e,t=null,n){return new Ie(this,e,t,null,n)}equals(e,t){return new Ye(he.Equals,this,e,null,t)}notEquals(e,t){return new Ye(he.NotEquals,this,e,null,t)}identical(e,t){return new Ye(he.Identical,this,e,null,t)}notIdentical(e,t){return new Ye(he.NotIdentical,this,e,null,t)}minus(e,t){return new Ye(he.Minus,this,e,null,t)}plus(e,t){return new Ye(he.Plus,this,e,null,t)}divide(e,t){return new Ye(he.Divide,this,e,null,t)}multiply(e,t){return new Ye(he.Multiply,this,e,null,t)}modulo(e,t){return new Ye(he.Modulo,this,e,null,t)}and(e,t){return new Ye(he.And,this,e,null,t)}bitwiseAnd(e,t,n=!0){return new Ye(he.BitwiseAnd,this,e,null,t,n)}or(e,t){return new Ye(he.Or,this,e,null,t)}lower(e,t){return new Ye(he.Lower,this,e,null,t)}lowerEquals(e,t){return new Ye(he.LowerEquals,this,e,null,t)}bigger(e,t){return new Ye(he.Bigger,this,e,null,t)}biggerEquals(e,t){return new Ye(he.BiggerEquals,this,e,null,t)}isBlank(e){return this.equals(Je,e)}cast(e,t){return new He(this,e,t)}toStmt(){return new it(this,null)}}!function(e){e[e.This=0]="This",e[e.Super=1]="Super",e[e.CatchError=2]="CatchError",e[e.CatchStack=3]="CatchStack"}(de||(de={}));class ve extends ge{constructor(e,t,n){super(t,n),"string"==typeof e?(this.name=e,this.builtin=null):(this.name=null,this.builtin=e)}isEquivalent(e){return e instanceof ve&&this.name===e.name&&this.builtin===e.builtin}isConstant(){return!1}visitExpression(e,t){return e.visitReadVarExpr(this,t)}set(e){if(!this.name)throw new Error(`Built in variable ${this.builtin} can not be assigned to.`);return new _e(this.name,e,null,this.sourceSpan)}}class ye extends ge{constructor(e,t,n){super(t,n),this.expr=e}visitExpression(e,t){return e.visitTypeofExpr(this,t)}isEquivalent(e){return e instanceof ye&&e.expr.isEquivalent(this.expr)}isConstant(){return this.expr.isConstant()}}class be extends ge{constructor(e,t,n){super(t,n),this.node=e}isEquivalent(e){return e instanceof be&&this.node===e.node}isConstant(){return!1}visitExpression(e,t){return e.visitWrappedNodeExpr(this,t)}}class _e extends ge{constructor(e,t,n,r){super(n||t.type,r),this.name=e,this.value=t}isEquivalent(e){return e instanceof _e&&this.name===e.name&&this.value.isEquivalent(e.value)}isConstant(){return!1}visitExpression(e,t){return e.visitWriteVarExpr(this,t)}toDeclStmt(e,t){return new nt(this.name,this.value,e,t,this.sourceSpan)}toConstDecl(){return this.toDeclStmt(se,[Qe.Final])}}class we extends ge{constructor(e,t,n,r,i){super(r||n.type,i),this.receiver=e,this.index=t,this.value=n}isEquivalent(e){return e instanceof we&&this.receiver.isEquivalent(e.receiver)&&this.index.isEquivalent(e.index)&&this.value.isEquivalent(e.value)}isConstant(){return!1}visitExpression(e,t){return e.visitWriteKeyExpr(this,t)}}class Se extends ge{constructor(e,t,n,r,i){super(r||n.type,i),this.receiver=e,this.name=t,this.value=n}isEquivalent(e){return e instanceof Se&&this.receiver.isEquivalent(e.receiver)&&this.name===e.name&&this.value.isEquivalent(e.value)}isConstant(){return!1}visitExpression(e,t){return e.visitWritePropExpr(this,t)}}!function(e){e[e.ConcatArray=0]="ConcatArray",e[e.SubscribeObservable=1]="SubscribeObservable",e[e.Bind=2]="Bind"}(fe||(fe={}));class xe extends ge{constructor(e,t,n,r,i){super(r,i),this.receiver=e,this.args=n,"string"==typeof t?(this.name=t,this.builtin=null):(this.name=null,this.builtin=t)}isEquivalent(e){return e instanceof xe&&this.receiver.isEquivalent(e.receiver)&&this.name===e.name&&this.builtin===e.builtin&&me(this.args,e.args)}isConstant(){return!1}visitExpression(e,t){return e.visitInvokeMethodExpr(this,t)}}class Oe extends ge{constructor(e,t,n,r,i=!1){super(n,r),this.fn=e,this.args=t,this.pure=i}isEquivalent(e){return e instanceof Oe&&this.fn.isEquivalent(e.fn)&&me(this.args,e.args)&&this.pure===e.pure}isConstant(){return!1}visitExpression(e,t){return e.visitInvokeFunctionExpr(this,t)}}class ke extends ge{constructor(e,t,n,r){super(n,r),this.classExpr=e,this.args=t}isEquivalent(e){return e instanceof ke&&this.classExpr.isEquivalent(e.classExpr)&&me(this.args,e.args)}isConstant(){return!1}visitExpression(e,t){return e.visitInstantiateExpr(this,t)}}class Ce extends ge{constructor(e,t,n){super(t,n),this.value=e}isEquivalent(e){return e instanceof Ce&&this.value===e.value}isConstant(){return!0}visitExpression(e,t){return e.visitLiteralExpr(this,t)}}class Me{constructor(e,t){this.text=e,this.sourceSpan=t}}class Ee extends Me{}class Te extends Me{}class je extends ge{constructor(e,t,n,r,i){super(ce,i),this.metaBlock=e,this.messageParts=t,this.placeHolderNames=n,this.expressions=r}isEquivalent(e){return!1}isConstant(){return!1}visitExpression(e,t){return e.visitLocalizedString(this,t)}serializeI18nHead(){let e=this.metaBlock.description||"";return this.metaBlock.meaning&&(e=`${this.metaBlock.meaning}|${e}`),this.metaBlock.customId&&(e=`${e}@@${this.metaBlock.customId}`),this.metaBlock.legacyIds&&this.metaBlock.legacyIds.forEach(t=>{e=`${e}\u241f${t}`}),ze(e,this.messageParts[0].text,this.getMessagePartSourceSpan(0))}getMessagePartSourceSpan(e){var t,n;return null!==(n=null===(t=this.messageParts[e])||void 0===t?void 0:t.sourceSpan)&&void 0!==n?n:this.sourceSpan}getPlaceholderSourceSpan(e){var t,n,r,i;return null!==(i=null!==(n=null===(t=this.placeHolderNames[e])||void 0===t?void 0:t.sourceSpan)&&void 0!==n?n:null===(r=this.expressions[e])||void 0===r?void 0:r.sourceSpan)&&void 0!==i?i:this.sourceSpan}serializeI18nTemplatePart(e){return ze(this.placeHolderNames[e-1].text,this.messageParts[e].text,this.getMessagePartSourceSpan(e))}}const De=e=>e.replace(/\\/g,"\\\\"),Ae=e=>e.replace(/:/g,"\\:"),Le=e=>e.replace(/`/g,"\\`").replace(/\${/g,"$\\{");function ze(e,t,n){return""===e?{cooked:t,raw:Le((r=De(t),r.replace(/^:/,"\\:"))),range:n}:{cooked:`:${e}:${t}`,raw:Le(`:${Ae(De(e))}:${De(t)}`),range:n};var r}class Pe extends ge{constructor(e,t,n=null,r){super(t,r),this.value=e,this.typeParams=n}isEquivalent(e){return e instanceof Pe&&this.value.name===e.value.name&&this.value.moduleName===e.value.moduleName&&this.value.runtime===e.value.runtime}isConstant(){return!1}visitExpression(e,t){return e.visitExternalExpr(this,t)}}class Ie extends ge{constructor(e,t,n=null,r,i){super(r||t.type,i),this.condition=e,this.falseCase=n,this.trueCase=t}isEquivalent(e){return e instanceof Ie&&this.condition.isEquivalent(e.condition)&&this.trueCase.isEquivalent(e.trueCase)&&pe(this.falseCase,e.falseCase)}isConstant(){return!1}visitExpression(e,t){return e.visitConditionalExpr(this,t)}}class Re extends ge{constructor(e,t){super(oe,t),this.condition=e}isEquivalent(e){return e instanceof Re&&this.condition.isEquivalent(e.condition)}isConstant(){return!1}visitExpression(e,t){return e.visitNotExpr(this,t)}}class Ne extends ge{constructor(e,t){super(e.type,t),this.condition=e}isEquivalent(e){return e instanceof Ne&&this.condition.isEquivalent(e.condition)}isConstant(){return!1}visitExpression(e,t){return e.visitAssertNotNullExpr(this,t)}}class He extends ge{constructor(e,t,n){super(t,n),this.value=e}isEquivalent(e){return e instanceof He&&this.value.isEquivalent(e.value)}isConstant(){return!1}visitExpression(e,t){return e.visitCastExpr(this,t)}}class Fe{constructor(e,t=null){this.name=e,this.type=t}isEquivalent(e){return this.name===e.name}}class Ve extends ge{constructor(e,t,n,r,i){super(n,r),this.params=e,this.statements=t,this.name=i}isEquivalent(e){return e instanceof Ve&&me(this.params,e.params)&&me(this.statements,e.statements)}isConstant(){return!1}visitExpression(e,t){return e.visitFunctionExpr(this,t)}toDeclStmt(e,t){return new rt(e,this.params,this.statements,this.type,t,this.sourceSpan)}}class Be extends ge{constructor(e,t,n,r,i=!0){super(n||ae,r),this.operator=e,this.expr=t,this.parens=i}isEquivalent(e){return e instanceof Be&&this.operator===e.operator&&this.expr.isEquivalent(e.expr)}isConstant(){return!1}visitExpression(e,t){return e.visitUnaryOperatorExpr(this,t)}}class Ye extends ge{constructor(e,t,n,r,i,s=!0){super(r||t.type,i),this.operator=e,this.rhs=n,this.parens=s,this.lhs=t}isEquivalent(e){return e instanceof Ye&&this.operator===e.operator&&this.lhs.isEquivalent(e.lhs)&&this.rhs.isEquivalent(e.rhs)}isConstant(){return!1}visitExpression(e,t){return e.visitBinaryOperatorExpr(this,t)}}class Ue extends ge{constructor(e,t,n,r){super(n,r),this.receiver=e,this.name=t}isEquivalent(e){return e instanceof Ue&&this.receiver.isEquivalent(e.receiver)&&this.name===e.name}isConstant(){return!1}visitExpression(e,t){return e.visitReadPropExpr(this,t)}set(e){return new Se(this.receiver,this.name,e,null,this.sourceSpan)}}class We extends ge{constructor(e,t,n,r){super(n,r),this.receiver=e,this.index=t}isEquivalent(e){return e instanceof We&&this.receiver.isEquivalent(e.receiver)&&this.index.isEquivalent(e.index)}isConstant(){return!1}visitExpression(e,t){return e.visitReadKeyExpr(this,t)}set(e){return new we(this.receiver,this.index,e,null,this.sourceSpan)}}class qe extends ge{constructor(e,t,n){super(t,n),this.entries=e}isConstant(){return this.entries.every(e=>e.isConstant())}isEquivalent(e){return e instanceof qe&&me(this.entries,e.entries)}visitExpression(e,t){return e.visitLiteralArrayExpr(this,t)}}class $e{constructor(e,t,n){this.key=e,this.value=t,this.quoted=n}isEquivalent(e){return this.key===e.key&&this.value.isEquivalent(e.value)}}class Ge extends ge{constructor(e,t,n){super(t,n),this.entries=e,this.valueType=null,t&&(this.valueType=t.valueType)}isEquivalent(e){return e instanceof Ge&&me(this.entries,e.entries)}isConstant(){return this.entries.every(e=>e.value.isConstant())}visitExpression(e,t){return e.visitLiteralMapExpr(this,t)}}class Xe extends ge{constructor(e,t){super(e[e.length-1].type,t),this.parts=e}isEquivalent(e){return e instanceof Xe&&me(this.parts,e.parts)}isConstant(){return!1}visitExpression(e,t){return e.visitCommaExpr(this,t)}}new ve(de.This,null,null),new ve(de.Super,null,null),new ve(de.CatchError,null,null),new ve(de.CatchStack,null,null);const Ke=new Ce(null,null,null),Je=new Ce(null,se,null);var Qe;!function(e){e[e.Final=0]="Final",e[e.Private=1]="Private",e[e.Exported=2]="Exported",e[e.Static=3]="Static"}(Qe||(Qe={}));class Ze{constructor(e,t,n){this.text=e,this.multiline=t,this.trailingNewline=n}toString(){return this.multiline?` ${this.text} `:this.text}}class et extends Ze{constructor(e){super("",!0,!0),this.tags=e}toString(){return function(e){if(0===e.length)return"";if(1===e.length&&e[0].tagName&&!e[0].text)return`*${jt(e[0])} `;let t="*\n";for(const n of e)t+=" *",t+=jt(n).replace(/\n/g,"\n * "),t+="\n";return t+=" ",t}(this.tags)}}class tt{constructor(e=[],t=null,n){this.modifiers=e,this.sourceSpan=t,this.leadingComments=n}hasModifier(e){return-1!==this.modifiers.indexOf(e)}addLeadingComment(e){var t;this.leadingComments=null!==(t=this.leadingComments)&&void 0!==t?t:[],this.leadingComments.push(e)}}class nt extends tt{constructor(e,t,n,r,i,s){super(r,i,s),this.name=e,this.value=t,this.type=n||t&&t.type||null}isEquivalent(e){return e instanceof nt&&this.name===e.name&&(this.value?!!e.value&&this.value.isEquivalent(e.value):!e.value)}visitStatement(e,t){return e.visitDeclareVarStmt(this,t)}}class rt extends tt{constructor(e,t,n,r,i,s,o){super(i,s,o),this.name=e,this.params=t,this.statements=n,this.type=r||null}isEquivalent(e){return e instanceof rt&&me(this.params,e.params)&&me(this.statements,e.statements)}visitStatement(e,t){return e.visitDeclareFunctionStmt(this,t)}}class it extends tt{constructor(e,t,n){super([],t,n),this.expr=e}isEquivalent(e){return e instanceof it&&this.expr.isEquivalent(e.expr)}visitStatement(e,t){return e.visitExpressionStmt(this,t)}}class st extends tt{constructor(e,t=null,n){super([],t,n),this.value=e}isEquivalent(e){return e instanceof st&&this.value.isEquivalent(e.value)}visitStatement(e,t){return e.visitReturnStmt(this,t)}}class ot{constructor(e=null,t=[]){this.type=e,this.modifiers=t}hasModifier(e){return-1!==this.modifiers.indexOf(e)}}class at extends ot{constructor(e,t,n,r,i){super(r,i),this.name=e,this.params=t,this.body=n}isEquivalent(e){return this.name===e.name&&me(this.body,e.body)}}class ct extends ot{constructor(e,t,n,r){super(n,r),this.name=e,this.body=t}isEquivalent(e){return this.name===e.name&&me(this.body,e.body)}}class lt extends tt{constructor(e,t,n,r,i,s,o,a,c){super(o,a,c),this.name=e,this.parent=t,this.fields=n,this.getters=r,this.constructorMethod=i,this.methods=s}isEquivalent(e){return e instanceof lt&&this.name===e.name&&pe(this.parent,e.parent)&&me(this.fields,e.fields)&&me(this.getters,e.getters)&&this.constructorMethod.isEquivalent(e.constructorMethod)&&me(this.methods,e.methods)}visitStatement(e,t){return e.visitDeclareClassStmt(this,t)}}class ut extends tt{constructor(e,t,n=[],r,i){super([],r,i),this.condition=e,this.trueCase=t,this.falseCase=n}isEquivalent(e){return e instanceof ut&&this.condition.isEquivalent(e.condition)&&me(this.trueCase,e.trueCase)&&me(this.falseCase,e.falseCase)}visitStatement(e,t){return e.visitIfStmt(this,t)}}class ht extends tt{constructor(e,t,n=null,r){super([],n,r),this.bodyStmts=e,this.catchStmts=t}isEquivalent(e){return e instanceof ht&&me(this.bodyStmts,e.bodyStmts)&&me(this.catchStmts,e.catchStmts)}visitStatement(e,t){return e.visitTryCatchStmt(this,t)}}class dt extends tt{constructor(e,t=null,n){super([],t,n),this.error=e}isEquivalent(e){return e instanceof ht&&this.error.isEquivalent(e.error)}visitStatement(e,t){return e.visitThrowStmt(this,t)}}class ft{visitType(e,t){return e}visitExpression(e,t){return e.type&&e.type.visitType(this,t),e}visitBuiltinType(e,t){return this.visitType(e,t)}visitExpressionType(e,t){return e.value.visitExpression(this,t),null!==e.typeParams&&e.typeParams.forEach(e=>this.visitType(e,t)),this.visitType(e,t)}visitArrayType(e,t){return this.visitType(e,t)}visitMapType(e,t){return this.visitType(e,t)}visitWrappedNodeExpr(e,t){return e}visitTypeofExpr(e,t){return this.visitExpression(e,t)}visitReadVarExpr(e,t){return this.visitExpression(e,t)}visitWriteVarExpr(e,t){return e.value.visitExpression(this,t),this.visitExpression(e,t)}visitWriteKeyExpr(e,t){return e.receiver.visitExpression(this,t),e.index.visitExpression(this,t),e.value.visitExpression(this,t),this.visitExpression(e,t)}visitWritePropExpr(e,t){return e.receiver.visitExpression(this,t),e.value.visitExpression(this,t),this.visitExpression(e,t)}visitInvokeMethodExpr(e,t){return e.receiver.visitExpression(this,t),this.visitAllExpressions(e.args,t),this.visitExpression(e,t)}visitInvokeFunctionExpr(e,t){return e.fn.visitExpression(this,t),this.visitAllExpressions(e.args,t),this.visitExpression(e,t)}visitInstantiateExpr(e,t){return e.classExpr.visitExpression(this,t),this.visitAllExpressions(e.args,t),this.visitExpression(e,t)}visitLiteralExpr(e,t){return this.visitExpression(e,t)}visitLocalizedString(e,t){return this.visitExpression(e,t)}visitExternalExpr(e,t){return e.typeParams&&e.typeParams.forEach(e=>e.visitType(this,t)),this.visitExpression(e,t)}visitConditionalExpr(e,t){return e.condition.visitExpression(this,t),e.trueCase.visitExpression(this,t),e.falseCase.visitExpression(this,t),this.visitExpression(e,t)}visitNotExpr(e,t){return e.condition.visitExpression(this,t),this.visitExpression(e,t)}visitAssertNotNullExpr(e,t){return e.condition.visitExpression(this,t),this.visitExpression(e,t)}visitCastExpr(e,t){return e.value.visitExpression(this,t),this.visitExpression(e,t)}visitFunctionExpr(e,t){return this.visitAllStatements(e.statements,t),this.visitExpression(e,t)}visitUnaryOperatorExpr(e,t){return e.expr.visitExpression(this,t),this.visitExpression(e,t)}visitBinaryOperatorExpr(e,t){return e.lhs.visitExpression(this,t),e.rhs.visitExpression(this,t),this.visitExpression(e,t)}visitReadPropExpr(e,t){return e.receiver.visitExpression(this,t),this.visitExpression(e,t)}visitReadKeyExpr(e,t){return e.receiver.visitExpression(this,t),e.index.visitExpression(this,t),this.visitExpression(e,t)}visitLiteralArrayExpr(e,t){return this.visitAllExpressions(e.entries,t),this.visitExpression(e,t)}visitLiteralMapExpr(e,t){return e.entries.forEach(e=>e.value.visitExpression(this,t)),this.visitExpression(e,t)}visitCommaExpr(e,t){return this.visitAllExpressions(e.parts,t),this.visitExpression(e,t)}visitAllExpressions(e,t){e.forEach(e=>e.visitExpression(this,t))}visitDeclareVarStmt(e,t){return e.value&&e.value.visitExpression(this,t),e.type&&e.type.visitType(this,t),e}visitDeclareFunctionStmt(e,t){return this.visitAllStatements(e.statements,t),e.type&&e.type.visitType(this,t),e}visitExpressionStmt(e,t){return e.expr.visitExpression(this,t),e}visitReturnStmt(e,t){return e.value.visitExpression(this,t),e}visitDeclareClassStmt(e,t){return e.parent.visitExpression(this,t),e.getters.forEach(e=>this.visitAllStatements(e.body,t)),e.constructorMethod&&this.visitAllStatements(e.constructorMethod.body,t),e.methods.forEach(e=>this.visitAllStatements(e.body,t)),e}visitIfStmt(e,t){return e.condition.visitExpression(this,t),this.visitAllStatements(e.trueCase,t),this.visitAllStatements(e.falseCase,t),e}visitTryCatchStmt(e,t){return this.visitAllStatements(e.bodyStmts,t),this.visitAllStatements(e.catchStmts,t),e}visitThrowStmt(e,t){return e.error.visitExpression(this,t),e}visitAllStatements(e,t){e.forEach(e=>e.visitStatement(this,t))}}function pt(e){const t=new mt;return t.visitAllStatements(e,null),t.varNames}class mt extends ft{constructor(){super(...arguments),this.varNames=new Set}visitDeclareFunctionStmt(e,t){return e}visitDeclareClassStmt(e,t){return e}visitReadVarExpr(e,t){return e.name&&this.varNames.add(e.name),null}}function gt(e,t){if(!t)return e;const n=new yt(t);return e.visitStatement(n,null)}function vt(e,t){if(!t)return e;const n=new yt(t);return e.visitExpression(n,null)}class yt extends class{transformExpr(e,t){return e}transformStmt(e,t){return e}visitReadVarExpr(e,t){return this.transformExpr(e,t)}visitWrappedNodeExpr(e,t){return this.transformExpr(e,t)}visitTypeofExpr(e,t){return this.transformExpr(new ye(e.expr.visitExpression(this,t),e.type,e.sourceSpan),t)}visitWriteVarExpr(e,t){return this.transformExpr(new _e(e.name,e.value.visitExpression(this,t),e.type,e.sourceSpan),t)}visitWriteKeyExpr(e,t){return this.transformExpr(new we(e.receiver.visitExpression(this,t),e.index.visitExpression(this,t),e.value.visitExpression(this,t),e.type,e.sourceSpan),t)}visitWritePropExpr(e,t){return this.transformExpr(new Se(e.receiver.visitExpression(this,t),e.name,e.value.visitExpression(this,t),e.type,e.sourceSpan),t)}visitInvokeMethodExpr(e,t){const n=e.builtin||e.name;return this.transformExpr(new xe(e.receiver.visitExpression(this,t),n,this.visitAllExpressions(e.args,t),e.type,e.sourceSpan),t)}visitInvokeFunctionExpr(e,t){return this.transformExpr(new Oe(e.fn.visitExpression(this,t),this.visitAllExpressions(e.args,t),e.type,e.sourceSpan),t)}visitInstantiateExpr(e,t){return this.transformExpr(new ke(e.classExpr.visitExpression(this,t),this.visitAllExpressions(e.args,t),e.type,e.sourceSpan),t)}visitLiteralExpr(e,t){return this.transformExpr(e,t)}visitLocalizedString(e,t){return this.transformExpr(new je(e.metaBlock,e.messageParts,e.placeHolderNames,this.visitAllExpressions(e.expressions,t),e.sourceSpan),t)}visitExternalExpr(e,t){return this.transformExpr(e,t)}visitConditionalExpr(e,t){return this.transformExpr(new Ie(e.condition.visitExpression(this,t),e.trueCase.visitExpression(this,t),e.falseCase.visitExpression(this,t),e.type,e.sourceSpan),t)}visitNotExpr(e,t){return this.transformExpr(new Re(e.condition.visitExpression(this,t),e.sourceSpan),t)}visitAssertNotNullExpr(e,t){return this.transformExpr(new Ne(e.condition.visitExpression(this,t),e.sourceSpan),t)}visitCastExpr(e,t){return this.transformExpr(new He(e.value.visitExpression(this,t),e.type,e.sourceSpan),t)}visitFunctionExpr(e,t){return this.transformExpr(new Ve(e.params,this.visitAllStatements(e.statements,t),e.type,e.sourceSpan),t)}visitUnaryOperatorExpr(e,t){return this.transformExpr(new Be(e.operator,e.expr.visitExpression(this,t),e.type,e.sourceSpan),t)}visitBinaryOperatorExpr(e,t){return this.transformExpr(new Ye(e.operator,e.lhs.visitExpression(this,t),e.rhs.visitExpression(this,t),e.type,e.sourceSpan),t)}visitReadPropExpr(e,t){return this.transformExpr(new Ue(e.receiver.visitExpression(this,t),e.name,e.type,e.sourceSpan),t)}visitReadKeyExpr(e,t){return this.transformExpr(new We(e.receiver.visitExpression(this,t),e.index.visitExpression(this,t),e.type,e.sourceSpan),t)}visitLiteralArrayExpr(e,t){return this.transformExpr(new qe(this.visitAllExpressions(e.entries,t),e.type,e.sourceSpan),t)}visitLiteralMapExpr(e,t){const n=e.entries.map(e=>new $e(e.key,e.value.visitExpression(this,t),e.quoted)),r=new re(e.valueType);return this.transformExpr(new Ge(n,r,e.sourceSpan),t)}visitCommaExpr(e,t){return this.transformExpr(new Xe(this.visitAllExpressions(e.parts,t),e.sourceSpan),t)}visitAllExpressions(e,t){return e.map(e=>e.visitExpression(this,t))}visitDeclareVarStmt(e,t){const n=e.value&&e.value.visitExpression(this,t);return this.transformStmt(new nt(e.name,n,e.type,e.modifiers,e.sourceSpan,e.leadingComments),t)}visitDeclareFunctionStmt(e,t){return this.transformStmt(new rt(e.name,e.params,this.visitAllStatements(e.statements,t),e.type,e.modifiers,e.sourceSpan,e.leadingComments),t)}visitExpressionStmt(e,t){return this.transformStmt(new it(e.expr.visitExpression(this,t),e.sourceSpan,e.leadingComments),t)}visitReturnStmt(e,t){return this.transformStmt(new st(e.value.visitExpression(this,t),e.sourceSpan,e.leadingComments),t)}visitDeclareClassStmt(e,t){const n=e.parent.visitExpression(this,t),r=e.getters.map(e=>new ct(e.name,this.visitAllStatements(e.body,t),e.type,e.modifiers)),i=e.constructorMethod&&new at(e.constructorMethod.name,e.constructorMethod.params,this.visitAllStatements(e.constructorMethod.body,t),e.constructorMethod.type,e.constructorMethod.modifiers),s=e.methods.map(e=>new at(e.name,e.params,this.visitAllStatements(e.body,t),e.type,e.modifiers));return this.transformStmt(new lt(e.name,n,e.fields,r,i,s,e.modifiers,e.sourceSpan),t)}visitIfStmt(e,t){return this.transformStmt(new ut(e.condition.visitExpression(this,t),this.visitAllStatements(e.trueCase,t),this.visitAllStatements(e.falseCase,t),e.sourceSpan,e.leadingComments),t)}visitTryCatchStmt(e,t){return this.transformStmt(new ht(this.visitAllStatements(e.bodyStmts,t),this.visitAllStatements(e.catchStmts,t),e.sourceSpan,e.leadingComments),t)}visitThrowStmt(e,t){return this.transformStmt(new dt(e.error.visitExpression(this,t),e.sourceSpan,e.leadingComments),t)}visitAllStatements(e,t){return e.map(e=>e.visitStatement(this,t))}}{constructor(e){super(),this.sourceSpan=e}_clone(e){const t=Object.create(e.constructor.prototype);for(let n of Object.keys(e))t[n]=e[n];return t}transformExpr(e,t){return e.sourceSpan||((e=this._clone(e)).sourceSpan=this.sourceSpan),e}transformStmt(e,t){return e.sourceSpan||((e=this._clone(e)).sourceSpan=this.sourceSpan),e}}function bt(e,t,n){return new ve(e,t,n)}function _t(e,t=null,n){return new Pe(e,null,t,n)}function wt(e,t,n){return null!=e?St(_t(e,t,null),n):null}function St(e,t,n){return new te(e,t,n)}function xt(e){return new ye(e)}function Ot(e,t,n){return new qe(e,t,n)}function kt(e,t=null){return new Ge(e.map(e=>new $e(e.key,e.value,e.quoted)),t,null)}function Ct(e,t,n,r,i){return new Ve(e,t,n,r,i)}function Mt(e,t,n,r,i){return new ut(e,t,n,r,i)}function Et(e,t,n){return new Ce(e,t,n)}function Tt(e){return e instanceof Ce&&null===e.value}function jt(e){let t="";if(e.tagName&&(t+=" @"+e.tagName),e.text){if(e.text.match(/\/\*|\*\//))throw new Error('JSDoc text cannot contain "/*" and "*/"');t+=" "+e.text.replace(/@/g,"\\@")}return t}const Dt=/-+([a-z0-9])/g;function At(e,t){return Lt(e,":",t)}function Lt(e,t,n){const r=e.indexOf(t);return-1==r?n:[e.slice(0,r).trim(),e.slice(r+1).trim()]}function zt(e,t,n){return Array.isArray(e)?t.visitArray(e,n):"object"==typeof(r=e)&&null!==r&&Object.getPrototypeOf(r)===Wt?t.visitStringMap(e,n):null==e||"string"==typeof e||"number"==typeof e||"boolean"==typeof e?t.visitPrimitive(e,n):t.visitOther(e,n);var r}function Pt(e){return null!=e}function It(e){return void 0===e?null:e}class Rt{visitArray(e,t){return e.map(e=>zt(e,this,t))}visitStringMap(e,t){const n={};return Object.keys(e).forEach(r=>{n[r]=zt(e[r],this,t)}),n}visitPrimitive(e,t){return e}visitOther(e,t){return e}}const Nt=e=>{if(Xt(e))throw new Error("Illegal state: value cannot be a promise");return e},Ht=(e,t)=>Xt(e)?e.then(t):t(e),Ft=e=>e.some(Xt)?Promise.all(e):e;function Vt(e){throw new Error("Internal Error: "+e)}function Bt(e,t){const n=Error(e);return n[Yt]=!0,t&&(n[Ut]=t),n}const Yt="ngSyntaxError",Ut="ngParseErrors";const Wt=Object.getPrototypeOf({});function qt(e){let t=[];for(let n=0;n<e.length;n++){let r=e.charCodeAt(n);if(r>=55296&&r<=56319&&e.length>n+1){const t=e.charCodeAt(n+1);t>=56320&&t<=57343&&(n++,r=(r-55296<<10)+t-56320+65536)}r<=127?t.push(r):r<=2047?t.push(r>>6&31|192,63&r|128):r<=65535?t.push(r>>12|224,r>>6&63|128,63&r|128):r<=2097151&&t.push(r>>18&7|240,r>>12&63|128,r>>6&63|128,63&r|128)}return t}function $t(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map($t).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return""+e.overriddenName;if(e.name)return""+e.name;if(!e.toString)return"object";const t=e.toString();if(null==t)return""+t;const n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function Gt(e){return"function"==typeof e&&e.hasOwnProperty("__forward_ref__")?e():e}function Xt(e){return!!e&&"function"==typeof e.then}const Kt="undefined"!=typeof window&&window,Jt="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,Qt="undefined"!=typeof global&&global||Kt||Jt;function Zt(e,t){const n=[];for(let r=0;r<e;r++)n.push(t);return n}const en=bt("<unknown>"),tn={};class nn extends ge{constructor(e){super(e.type),this.resolved=e,this.original=e}visitExpression(e,t){return t===tn?this.original.visitExpression(e,t):this.resolved.visitExpression(e,t)}isEquivalent(e){return e instanceof nn&&this.resolved.isEquivalent(e.resolved)}isConstant(){return!0}fixup(e){this.resolved=e,this.shared=!0}}class rn{constructor(e=!1){this.isClosureCompilerEnabled=e,this.statements=[],this.literals=new Map,this.literalFactories=new Map,this.injectorDefinitions=new Map,this.directiveDefinitions=new Map,this.componentDefinitions=new Map,this.pipeDefinitions=new Map,this.nextNameIndex=0}getConstLiteral(e,t){if(e instanceof Ce&&!cn(e)||e instanceof nn)return e;const n=this.keyOf(e);let r=this.literals.get(n),i=!1;if(r||(r=new nn(e),this.literals.set(n,r),i=!0),!i&&!r.shared||i&&t){const t=this.freshName();let n,i;this.isClosureCompilerEnabled&&cn(e)?(n=bt(t).set(new Ve([],[new st(e)])),i=bt(t).callFn([])):(n=bt(t).set(e),i=bt(t)),this.statements.push(n.toDeclStmt(se,[Qe.Final])),r.fixup(i)}return r}getDefinition(e,t,n,r=!1){const i=this.definitionsOf(t);let s=i.get(e),o=!1;if(!s){const r=this.propertyNameOf(t);s=new nn(n.importExpr(e).prop(r)),i.set(e,s),o=!0}if(!o&&!s.shared||o&&r){const e=this.freshName();this.statements.push(bt(e).set(s.resolved).toDeclStmt(se,[Qe.Final])),s.fixup(bt(e))}return s}getLiteralFactory(e){if(e instanceof qe){const t=e.entries.map(e=>e.isConstant()?e:en),n=this.keyOf(Ot(t));return this._getLiteralFactory(n,e.entries,e=>Ot(e))}{const t=kt(e.entries.map(e=>({key:e.key,value:e.value.isConstant()?e.value:en,quoted:e.quoted}))),n=this.keyOf(t);return this._getLiteralFactory(n,e.entries.map(e=>e.value),t=>kt(t.map((t,n)=>({key:e.entries[n].key,value:t,quoted:e.entries[n].quoted}))))}}_getLiteralFactory(e,t,n){let r=this.literalFactories.get(e);const i=t.filter(e=>!e.isConstant());if(!r){const i=t.map((e,t)=>e.isConstant()?this.getConstLiteral(e,!0):bt("a"+t)),s=Ct(i.filter(an).map(e=>new Fe(e.name,ie)),[new st(n(i))],se),o=this.freshName();this.statements.push(bt(o).set(s).toDeclStmt(se,[Qe.Final])),r=bt(o),this.literalFactories.set(e,r)}return{literalFactory:r,literalFactoryArguments:i}}uniqueName(e){return`${e}${this.nextNameIndex++}`}definitionsOf(e){switch(e){case 2:return this.componentDefinitions;case 1:return this.directiveDefinitions;case 0:return this.injectorDefinitions;case 3:return this.pipeDefinitions}return Vt("Unknown definition kind "+e),this.componentDefinitions}propertyNameOf(e){switch(e){case 2:return"\u0275cmp";case 1:return"\u0275dir";case 0:return"\u0275inj";case 3:return"\u0275pipe"}return Vt("Unknown definition kind "+e),"<unknown>"}freshName(){return this.uniqueName("_c")}keyOf(e){return e.visitExpression(new sn,tn)}}class sn{constructor(){this.visitWrappedNodeExpr=on,this.visitWriteVarExpr=on,this.visitWriteKeyExpr=on,this.visitWritePropExpr=on,this.visitInvokeMethodExpr=on,this.visitInvokeFunctionExpr=on,this.visitInstantiateExpr=on,this.visitConditionalExpr=on,this.visitNotExpr=on,this.visitAssertNotNullExpr=on,this.visitCastExpr=on,this.visitFunctionExpr=on,this.visitUnaryOperatorExpr=on,this.visitBinaryOperatorExpr=on,this.visitReadPropExpr=on,this.visitReadKeyExpr=on,this.visitCommaExpr=on,this.visitLocalizedString=on}visitLiteralExpr(e){return""+("string"==typeof e.value?'"'+e.value+'"':e.value)}visitLiteralArrayExpr(e,t){return`[${e.entries.map(e=>e.visitExpression(this,t)).join(",")}]`}visitLiteralMapExpr(e,t){return"{"+e.entries.map(e=>`${(e=>{const t=e.quoted?'"':"";return`${t}${e.key}${t}`})(e)}:${e.value.visitExpression(this,t)}`).join(",")}visitExternalExpr(e){return e.value.moduleName?`EX:${e.value.moduleName}:${e.value.name}`:"EX:"+e.value.runtime.name}visitReadVarExpr(e){return"VAR:"+e.name}visitTypeofExpr(e,t){return"TYPEOF:"+e.expr.visitExpression(this,t)}}function on(e){throw new Error(`Invalid state: Visitor ${this.constructor.name} doesn't handle ${e.constructor.name}`)}function an(e){return e instanceof ve}function cn(e){return e instanceof Ce&&"string"==typeof e.value&&e.value.length>=50}const ln="@angular/core";class un{}function hn(e){return{identifier:{reference:e}}}function dn(e,t){return hn(e.resolveExternalReference(t))}un.ANALYZE_FOR_ENTRY_COMPONENTS={name:"ANALYZE_FOR_ENTRY_COMPONENTS",moduleName:ln},un.ElementRef={name:"ElementRef",moduleName:ln},un.NgModuleRef={name:"NgModuleRef",moduleName:ln},un.ViewContainerRef={name:"ViewContainerRef",moduleName:ln},un.ChangeDetectorRef={name:"ChangeDetectorRef",moduleName:ln},un.QueryList={name:"QueryList",moduleName:ln},un.TemplateRef={name:"TemplateRef",moduleName:ln},un.Renderer2={name:"Renderer2",moduleName:ln},un.CodegenComponentFactoryResolver={name:"\u0275CodegenComponentFactoryResolver",moduleName:ln},un.ComponentFactoryResolver={name:"ComponentFactoryResolver",moduleName:ln},un.ComponentFactory={name:"ComponentFactory",moduleName:ln},un.ComponentRef={name:"ComponentRef",moduleName:ln},un.NgModuleFactory={name:"NgModuleFactory",moduleName:ln},un.createModuleFactory={name:"\u0275cmf",moduleName:ln},un.moduleDef={name:"\u0275mod",moduleName:ln},un.moduleProviderDef={name:"\u0275mpd",moduleName:ln},un.RegisterModuleFactoryFn={name:"\u0275registerModuleFactory",moduleName:ln},un.inject={name:"\u0275\u0275inject",moduleName:ln},un.directiveInject={name:"\u0275\u0275directiveInject",moduleName:ln},un.INJECTOR={name:"INJECTOR",moduleName:ln},un.Injector={name:"Injector",moduleName:ln},un.\u0275\u0275defineInjectable={name:"\u0275\u0275defineInjectable",moduleName:ln},un.InjectableDef={name:"\u0275\u0275InjectableDef",moduleName:ln},un.ViewEncapsulation={name:"ViewEncapsulation",moduleName:ln},un.ChangeDetectionStrategy={name:"ChangeDetectionStrategy",moduleName:ln},un.SecurityContext={name:"SecurityContext",moduleName:ln},un.LOCALE_ID={name:"LOCALE_ID",moduleName:ln},un.TRANSLATIONS_FORMAT={name:"TRANSLATIONS_FORMAT",moduleName:ln},un.inlineInterpolate={name:"\u0275inlineInterpolate",moduleName:ln},un.interpolate={name:"\u0275interpolate",moduleName:ln},un.EMPTY_ARRAY={name:"\u0275EMPTY_ARRAY",moduleName:ln},un.EMPTY_MAP={name:"\u0275EMPTY_MAP",moduleName:ln},un.Renderer={name:"Renderer",moduleName:ln},un.viewDef={name:"\u0275vid",moduleName:ln},un.elementDef={name:"\u0275eld",moduleName:ln},un.anchorDef={name:"\u0275and",moduleName:ln},un.textDef={name:"\u0275ted",moduleName:ln},un.directiveDef={name:"\u0275did",moduleName:ln},un.providerDef={name:"\u0275prd",moduleName:ln},un.queryDef={name:"\u0275qud",moduleName:ln},un.pureArrayDef={name:"\u0275pad",moduleName:ln},un.pureObjectDef={name:"\u0275pod",moduleName:ln},un.purePipeDef={name:"\u0275ppd",moduleName:ln},un.pipeDef={name:"\u0275pid",moduleName:ln},un.nodeValue={name:"\u0275nov",moduleName:ln},un.ngContentDef={name:"\u0275ncd",moduleName:ln},un.unwrapValue={name:"\u0275unv",moduleName:ln},un.createRendererType2={name:"\u0275crt",moduleName:ln},un.RendererType2={name:"RendererType2",moduleName:ln},un.ViewDefinition={name:"\u0275ViewDefinition",moduleName:ln},un.createComponentFactory={name:"\u0275ccf",moduleName:ln},un.setClassMetadata={name:"\u0275setClassMetadata",moduleName:ln};class fn{constructor(e,t,n){this.filePath=e,this.name=t,this.members=n}assertNoMembers(){if(this.members.length)throw new Error(`Illegal state: symbol without members expected, but got ${JSON.stringify(this)}.`)}}class pn{constructor(){this.cache=new Map}get(e,t,n){const r=`"${e}".${t}${(n=n||[]).length?"."+n.join("."):""}`;let i=this.cache.get(r);return i||(i=new fn(e,t,n),this.cache.set(r,i)),i}}const mn=/^(?:(?:\[([^\]]+)\])|(?:\(([^\)]+)\)))|(\@[-\w]+)$/;function gn(e){return e.replace(/\W/g,"_")}let vn=0;function yn(e){if(!e||!e.reference)return null;const t=e.reference;if(t instanceof fn)return t.name;if(t.__anonymousType)return t.__anonymousType;let n=$t(t);return n.indexOf("(")>=0?(n="anonymous_"+vn++,t.__anonymousType=n):n=gn(n),n}function bn(e){const t=e.reference;return t instanceof fn?t.filePath:"./"+$t(t)}function _n(e,t){return`View_${yn({reference:e})}_${t}`}function wn(e){return"RenderType_"+yn({reference:e})}function Sn(e){return yn({reference:e})+"NgFactory"}var xn;function On(e){return null!=e.value?gn(e.value):yn(e.identifier)}function kn(e){return null!=e.identifier?e.identifier.reference:e.value}!function(e){e[e.Pipe=0]="Pipe",e[e.Directive=1]="Directive",e[e.NgModule=2]="NgModule",e[e.Injectable=3]="Injectable"}(xn||(xn={}));class Cn{constructor({moduleUrl:e,styles:t,styleUrls:n}={}){this.moduleUrl=e||null,this.styles=An(t),this.styleUrls=An(n)}}class Mn{constructor({encapsulation:e,template:t,templateUrl:n,htmlAst:r,styles:i,styleUrls:s,externalStylesheets:o,animations:a,ngContentSelectors:c,interpolation:l,isInline:u,preserveWhitespaces:h}){if(this.encapsulation=e,this.template=t,this.templateUrl=n,this.htmlAst=r,this.styles=An(i),this.styleUrls=An(s),this.externalStylesheets=An(o),this.animations=a?zn(a):[],this.ngContentSelectors=c||[],l&&2!=l.length)throw new Error("'interpolation' should have a start and an end symbol.");this.interpolation=l,this.isInline=u,this.preserveWhitespaces=h}toSummary(){return{ngContentSelectors:this.ngContentSelectors,encapsulation:this.encapsulation,styles:this.styles,animations:this.animations}}}class En{constructor({isHost:e,type:t,isComponent:n,selector:r,exportAs:i,changeDetection:s,inputs:o,outputs:a,hostListeners:c,hostProperties:l,hostAttributes:u,providers:h,viewProviders:d,queries:f,guards:p,viewQueries:m,entryComponents:g,template:v,componentViewType:y,rendererType:b,componentFactory:_}){this.isHost=!!e,this.type=t,this.isComponent=n,this.selector=r,this.exportAs=i,this.changeDetection=s,this.inputs=o,this.outputs=a,this.hostListeners=c,this.hostProperties=l,this.hostAttributes=u,this.providers=An(h),this.viewProviders=An(d),this.queries=An(f),this.guards=p,this.viewQueries=An(m),this.entryComponents=An(g),this.template=v,this.componentViewType=y,this.rendererType=b,this.componentFactory=_}static create({isHost:e,type:t,isComponent:n,selector:r,exportAs:i,changeDetection:s,inputs:o,outputs:a,host:c,providers:l,viewProviders:u,queries:h,guards:d,viewQueries:f,entryComponents:p,template:m,componentViewType:g,rendererType:v,componentFactory:y}){const b={},_={},w={};null!=c&&Object.keys(c).forEach(e=>{const t=c[e],n=e.match(mn);null===n?w[e]=t:null!=n[1]?_[n[1]]=t:null!=n[2]&&(b[n[2]]=t)});const S={};null!=o&&o.forEach(e=>{const t=At(e,[e,e]);S[t[0]]=t[1]});const x={};return null!=a&&a.forEach(e=>{const t=At(e,[e,e]);x[t[0]]=t[1]}),new En({isHost:e,type:t,isComponent:!!n,selector:r,exportAs:i,changeDetection:s,inputs:S,outputs:x,hostListeners:b,hostProperties:_,hostAttributes:w,providers:l,viewProviders:u,queries:h,guards:d,viewQueries:f,entryComponents:p,template:m,componentViewType:g,rendererType:v,componentFactory:y})}toSummary(){return{summaryKind:xn.Directive,type:this.type,isComponent:this.isComponent,selector:this.selector,exportAs:this.exportAs,inputs:this.inputs,outputs:this.outputs,hostListeners:this.hostListeners,hostProperties:this.hostProperties,hostAttributes:this.hostAttributes,providers:this.providers,viewProviders:this.viewProviders,queries:this.queries,guards:this.guards,viewQueries:this.viewQueries,entryComponents:this.entryComponents,changeDetection:this.changeDetection,template:this.template&&this.template.toSummary(),componentViewType:this.componentViewType,rendererType:this.rendererType,componentFactory:this.componentFactory}}}class Tn{constructor({type:e,name:t,pure:n}){this.type=e,this.name=t,this.pure=!!n}toSummary(){return{summaryKind:xn.Pipe,type:this.type,name:this.name,pure:this.pure}}}class jn{constructor({type:e,providers:t,declaredDirectives:n,exportedDirectives:r,declaredPipes:i,exportedPipes:s,entryComponents:o,bootstrapComponents:a,importedModules:c,exportedModules:l,schemas:u,transitiveModule:h,id:d}){this.type=e||null,this.declaredDirectives=An(n),this.exportedDirectives=An(r),this.declaredPipes=An(i),this.exportedPipes=An(s),this.providers=An(t),this.entryComponents=An(o),this.bootstrapComponents=An(a),this.importedModules=An(c),this.exportedModules=An(l),this.schemas=An(u),this.id=d||null,this.transitiveModule=h||null}toSummary(){const e=this.transitiveModule;return{summaryKind:xn.NgModule,type:this.type,entryComponents:e.entryComponents,providers:e.providers,modules:e.modules,exportedDirectives:e.exportedDirectives,exportedPipes:e.exportedPipes}}}class Dn{constructor(){this.directivesSet=new Set,this.directives=[],this.exportedDirectivesSet=new Set,this.exportedDirectives=[],this.pipesSet=new Set,this.pipes=[],this.exportedPipesSet=new Set,this.exportedPipes=[],this.modulesSet=new Set,this.modules=[],this.entryComponentsSet=new Set,this.entryComponents=[],this.providers=[]}addProvider(e,t){this.providers.push({provider:e,module:t})}addDirective(e){this.directivesSet.has(e.reference)||(this.directivesSet.add(e.reference),this.directives.push(e))}addExportedDirective(e){this.exportedDirectivesSet.has(e.reference)||(this.exportedDirectivesSet.add(e.reference),this.exportedDirectives.push(e))}addPipe(e){this.pipesSet.has(e.reference)||(this.pipesSet.add(e.reference),this.pipes.push(e))}addExportedPipe(e){this.exportedPipesSet.has(e.reference)||(this.exportedPipesSet.add(e.reference),this.exportedPipes.push(e))}addModule(e){this.modulesSet.has(e.reference)||(this.modulesSet.add(e.reference),this.modules.push(e))}addEntryComponent(e){this.entryComponentsSet.has(e.componentType)||(this.entryComponentsSet.add(e.componentType),this.entryComponents.push(e))}}function An(e){return e||[]}class Ln{constructor(e,{useClass:t,useValue:n,useExisting:r,useFactory:i,deps:s,multi:o}){this.token=e,this.useClass=t||null,this.useValue=n,this.useExisting=r,this.useFactory=i||null,this.dependencies=s||null,this.multi=!!o}}function zn(e){return e.reduce((e,t)=>{const n=Array.isArray(t)?zn(t):t;return e.concat(n)},[])}function Pn(e){return e.replace(/(\w+:\/\/[\w:-]+)?(\/+)?/,"ng:///")}function In(e,t,n){let r;return r=n.isInline?t.type.reference instanceof fn?`${t.type.reference.filePath}.${t.type.reference.name}.html`:`${yn(e)}/${yn(t.type)}.html`:n.templateUrl,t.type.reference instanceof fn?r:Pn(r)}const Rn="@angular/core";class Nn{}function Hn(e){return kt(Object.keys(e).map(t=>({key:t,value:e[t],quoted:!1})))}function Fn(e,t){if(0===t)return St(e);const n=[];for(let r=0;r<t;r++)n.push(ie);return St(e,void 0,n)}Nn.NEW_METHOD="factory",Nn.TRANSFORM_METHOD="transform",Nn.PATCH_DEPS="patchedDeps",Nn.namespaceHTML={name:"\u0275\u0275namespaceHTML",moduleName:Rn},Nn.namespaceMathML={name:"\u0275\u0275namespaceMathML",moduleName:Rn},Nn.namespaceSVG={name:"\u0275\u0275namespaceSVG",moduleName:Rn},Nn.element={name:"\u0275\u0275element",moduleName:Rn},Nn.elementStart={name:"\u0275\u0275elementStart",moduleName:Rn},Nn.elementEnd={name:"\u0275\u0275elementEnd",moduleName:Rn},Nn.advance={name:"\u0275\u0275advance",moduleName:Rn},Nn.syntheticHostProperty={name:"\u0275\u0275syntheticHostProperty",moduleName:Rn},Nn.syntheticHostListener={name:"\u0275\u0275syntheticHostListener",moduleName:Rn},Nn.attribute={name:"\u0275\u0275attribute",moduleName:Rn},Nn.attributeInterpolate1={name:"\u0275\u0275attributeInterpolate1",moduleName:Rn},Nn.attributeInterpolate2={name:"\u0275\u0275attributeInterpolate2",moduleName:Rn},Nn.attributeInterpolate3={name:"\u0275\u0275attributeInterpolate3",moduleName:Rn},Nn.attributeInterpolate4={name:"\u0275\u0275attributeInterpolate4",moduleName:Rn},Nn.attributeInterpolate5={name:"\u0275\u0275attributeInterpolate5",moduleName:Rn},Nn.attributeInterpolate6={name:"\u0275\u0275attributeInterpolate6",moduleName:Rn},Nn.attributeInterpolate7={name:"\u0275\u0275attributeInterpolate7",moduleName:Rn},Nn.attributeInterpolate8={name:"\u0275\u0275attributeInterpolate8",moduleName:Rn},Nn.attributeInterpolateV={name:"\u0275\u0275attributeInterpolateV",moduleName:Rn},Nn.classProp={name:"\u0275\u0275classProp",moduleName:Rn},Nn.elementContainerStart={name:"\u0275\u0275elementContainerStart",moduleName:Rn},Nn.elementContainerEnd={name:"\u0275\u0275elementContainerEnd",moduleName:Rn},Nn.elementContainer={name:"\u0275\u0275elementContainer",moduleName:Rn},Nn.styleMap={name:"\u0275\u0275styleMap",moduleName:Rn},Nn.styleMapInterpolate1={name:"\u0275\u0275styleMapInterpolate1",moduleName:Rn},Nn.styleMapInterpolate2={name:"\u0275\u0275styleMapInterpolate2",moduleName:Rn},Nn.styleMapInterpolate3={name:"\u0275\u0275styleMapInterpolate3",moduleName:Rn},Nn.styleMapInterpolate4={name:"\u0275\u0275styleMapInterpolate4",moduleName:Rn},Nn.styleMapInterpolate5={name:"\u0275\u0275styleMapInterpolate5",moduleName:Rn},Nn.styleMapInterpolate6={name:"\u0275\u0275styleMapInterpolate6",moduleName:Rn},Nn.styleMapInterpolate7={name:"\u0275\u0275styleMapInterpolate7",moduleName:Rn},Nn.styleMapInterpolate8={name:"\u0275\u0275styleMapInterpolate8",moduleName:Rn},Nn.styleMapInterpolateV={name:"\u0275\u0275styleMapInterpolateV",moduleName:Rn},Nn.classMap={name:"\u0275\u0275classMap",moduleName:Rn},Nn.classMapInterpolate1={name:"\u0275\u0275classMapInterpolate1",moduleName:Rn},Nn.classMapInterpolate2={name:"\u0275\u0275classMapInterpolate2",moduleName:Rn},Nn.classMapInterpolate3={name:"\u0275\u0275classMapInterpolate3",moduleName:Rn},Nn.classMapInterpolate4={name:"\u0275\u0275classMapInterpolate4",moduleName:Rn},Nn.classMapInterpolate5={name:"\u0275\u0275classMapInterpolate5",moduleName:Rn},Nn.classMapInterpolate6={name:"\u0275\u0275classMapInterpolate6",moduleName:Rn},Nn.classMapInterpolate7={name:"\u0275\u0275classMapInterpolate7",moduleName:Rn},Nn.classMapInterpolate8={name:"\u0275\u0275classMapInterpolate8",moduleName:Rn},Nn.classMapInterpolateV={name:"\u0275\u0275classMapInterpolateV",moduleName:Rn},Nn.styleProp={name:"\u0275\u0275styleProp",moduleName:Rn},Nn.stylePropInterpolate1={name:"\u0275\u0275stylePropInterpolate1",moduleName:Rn},Nn.stylePropInterpolate2={name:"\u0275\u0275stylePropInterpolate2",moduleName:Rn},Nn.stylePropInterpolate3={name:"\u0275\u0275stylePropInterpolate3",moduleName:Rn},Nn.stylePropInterpolate4={name:"\u0275\u0275stylePropInterpolate4",moduleName:Rn},Nn.stylePropInterpolate5={name:"\u0275\u0275stylePropInterpolate5",moduleName:Rn},Nn.stylePropInterpolate6={name:"\u0275\u0275stylePropInterpolate6",moduleName:Rn},Nn.stylePropInterpolate7={name:"\u0275\u0275stylePropInterpolate7",moduleName:Rn},Nn.stylePropInterpolate8={name:"\u0275\u0275stylePropInterpolate8",moduleName:Rn},Nn.stylePropInterpolateV={name:"\u0275\u0275stylePropInterpolateV",moduleName:Rn},Nn.nextContext={name:"\u0275\u0275nextContext",moduleName:Rn},Nn.templateCreate={name:"\u0275\u0275template",moduleName:Rn},Nn.text={name:"\u0275\u0275text",moduleName:Rn},Nn.enableBindings={name:"\u0275\u0275enableBindings",moduleName:Rn},Nn.disableBindings={name:"\u0275\u0275disableBindings",moduleName:Rn},Nn.getCurrentView={name:"\u0275\u0275getCurrentView",moduleName:Rn},Nn.textInterpolate={name:"\u0275\u0275textInterpolate",moduleName:Rn},Nn.textInterpolate1={name:"\u0275\u0275textInterpolate1",moduleName:Rn},Nn.textInterpolate2={name:"\u0275\u0275textInterpolate2",moduleName:Rn},Nn.textInterpolate3={name:"\u0275\u0275textInterpolate3",moduleName:Rn},Nn.textInterpolate4={name:"\u0275\u0275textInterpolate4",moduleName:Rn},Nn.textInterpolate5={name:"\u0275\u0275textInterpolate5",moduleName:Rn},Nn.textInterpolate6={name:"\u0275\u0275textInterpolate6",moduleName:Rn},Nn.textInterpolate7={name:"\u0275\u0275textInterpolate7",moduleName:Rn},Nn.textInterpolate8={name:"\u0275\u0275textInterpolate8",moduleName:Rn},Nn.textInterpolateV={name:"\u0275\u0275textInterpolateV",moduleName:Rn},Nn.restoreView={name:"\u0275\u0275restoreView",moduleName:Rn},Nn.pureFunction0={name:"\u0275\u0275pureFunction0",moduleName:Rn},Nn.pureFunction1={name:"\u0275\u0275pureFunction1",moduleName:Rn},Nn.pureFunction2={name:"\u0275\u0275pureFunction2",moduleName:Rn},Nn.pureFunction3={name:"\u0275\u0275pureFunction3",moduleName:Rn},Nn.pureFunction4={name:"\u0275\u0275pureFunction4",moduleName:Rn},Nn.pureFunction5={name:"\u0275\u0275pureFunction5",moduleName:Rn},Nn.pureFunction6={name:"\u0275\u0275pureFunction6",moduleName:Rn},Nn.pureFunction7={name:"\u0275\u0275pureFunction7",moduleName:Rn},Nn.pureFunction8={name:"\u0275\u0275pureFunction8",moduleName:Rn},Nn.pureFunctionV={name:"\u0275\u0275pureFunctionV",moduleName:Rn},Nn.pipeBind1={name:"\u0275\u0275pipeBind1",moduleName:Rn},Nn.pipeBind2={name:"\u0275\u0275pipeBind2",moduleName:Rn},Nn.pipeBind3={name:"\u0275\u0275pipeBind3",moduleName:Rn},Nn.pipeBind4={name:"\u0275\u0275pipeBind4",moduleName:Rn},Nn.pipeBindV={name:"\u0275\u0275pipeBindV",moduleName:Rn},Nn.hostProperty={name:"\u0275\u0275hostProperty",moduleName:Rn},Nn.property={name:"\u0275\u0275property",moduleName:Rn},Nn.propertyInterpolate={name:"\u0275\u0275propertyInterpolate",moduleName:Rn},Nn.propertyInterpolate1={name:"\u0275\u0275propertyInterpolate1",moduleName:Rn},Nn.propertyInterpolate2={name:"\u0275\u0275propertyInterpolate2",moduleName:Rn},Nn.propertyInterpolate3={name:"\u0275\u0275propertyInterpolate3",moduleName:Rn},Nn.propertyInterpolate4={name:"\u0275\u0275propertyInterpolate4",moduleName:Rn},Nn.propertyInterpolate5={name:"\u0275\u0275propertyInterpolate5",moduleName:Rn},Nn.propertyInterpolate6={name:"\u0275\u0275propertyInterpolate6",moduleName:Rn},Nn.propertyInterpolate7={name:"\u0275\u0275propertyInterpolate7",moduleName:Rn},Nn.propertyInterpolate8={name:"\u0275\u0275propertyInterpolate8",moduleName:Rn},Nn.propertyInterpolateV={name:"\u0275\u0275propertyInterpolateV",moduleName:Rn},Nn.i18n={name:"\u0275\u0275i18n",moduleName:Rn},Nn.i18nAttributes={name:"\u0275\u0275i18nAttributes",moduleName:Rn},Nn.i18nExp={name:"\u0275\u0275i18nExp",moduleName:Rn},Nn.i18nStart={name:"\u0275\u0275i18nStart",moduleName:Rn},Nn.i18nEnd={name:"\u0275\u0275i18nEnd",moduleName:Rn},Nn.i18nApply={name:"\u0275\u0275i18nApply",moduleName:Rn},Nn.i18nPostprocess={name:"\u0275\u0275i18nPostprocess",moduleName:Rn},Nn.pipe={name:"\u0275\u0275pipe",moduleName:Rn},Nn.projection={name:"\u0275\u0275projection",moduleName:Rn},Nn.projectionDef={name:"\u0275\u0275projectionDef",moduleName:Rn},Nn.reference={name:"\u0275\u0275reference",moduleName:Rn},Nn.inject={name:"\u0275\u0275inject",moduleName:Rn},Nn.injectAttribute={name:"\u0275\u0275injectAttribute",moduleName:Rn},Nn.injectPipeChangeDetectorRef={name:"\u0275\u0275injectPipeChangeDetectorRef",moduleName:Rn},Nn.directiveInject={name:"\u0275\u0275directiveInject",moduleName:Rn},Nn.invalidFactory={name:"\u0275\u0275invalidFactory",moduleName:Rn},Nn.invalidFactoryDep={name:"\u0275\u0275invalidFactoryDep",moduleName:Rn},Nn.templateRefExtractor={name:"\u0275\u0275templateRefExtractor",moduleName:Rn},Nn.resolveWindow={name:"\u0275\u0275resolveWindow",moduleName:Rn},Nn.resolveDocument={name:"\u0275\u0275resolveDocument",moduleName:Rn},Nn.resolveBody={name:"\u0275\u0275resolveBody",moduleName:Rn},Nn.defineComponent={name:"\u0275\u0275defineComponent",moduleName:Rn},Nn.setComponentScope={name:"\u0275\u0275setComponentScope",moduleName:Rn},Nn.ComponentDefWithMeta={name:"\u0275\u0275ComponentDefWithMeta",moduleName:Rn},Nn.FactoryDef={name:"\u0275\u0275FactoryDef",moduleName:Rn},Nn.defineDirective={name:"\u0275\u0275defineDirective",moduleName:Rn},Nn.DirectiveDefWithMeta={name:"\u0275\u0275DirectiveDefWithMeta",moduleName:Rn},Nn.InjectorDef={name:"\u0275\u0275InjectorDef",moduleName:Rn},Nn.defineInjector={name:"\u0275\u0275defineInjector",moduleName:Rn},Nn.NgModuleDefWithMeta={name:"\u0275\u0275NgModuleDefWithMeta",moduleName:Rn},Nn.ModuleWithProviders={name:"ModuleWithProviders",moduleName:Rn},Nn.defineNgModule={name:"\u0275\u0275defineNgModule",moduleName:Rn},Nn.setNgModuleScope={name:"\u0275\u0275setNgModuleScope",moduleName:Rn},Nn.PipeDefWithMeta={name:"\u0275\u0275PipeDefWithMeta",moduleName:Rn},Nn.definePipe={name:"\u0275\u0275definePipe",moduleName:Rn},Nn.queryRefresh={name:"\u0275\u0275queryRefresh",moduleName:Rn},Nn.viewQuery={name:"\u0275\u0275viewQuery",moduleName:Rn},Nn.staticViewQuery={name:"\u0275\u0275staticViewQuery",moduleName:Rn},Nn.staticContentQuery={name:"\u0275\u0275staticContentQuery",moduleName:Rn},Nn.loadQuery={name:"\u0275\u0275loadQuery",moduleName:Rn},Nn.contentQuery={name:"\u0275\u0275contentQuery",moduleName:Rn},Nn.NgOnChangesFeature={name:"\u0275\u0275NgOnChangesFeature",moduleName:Rn},Nn.InheritDefinitionFeature={name:"\u0275\u0275InheritDefinitionFeature",moduleName:Rn},Nn.CopyDefinitionFeature={name:"\u0275\u0275CopyDefinitionFeature",moduleName:Rn},Nn.ProvidersFeature={name:"\u0275\u0275ProvidersFeature",moduleName:Rn},Nn.listener={name:"\u0275\u0275listener",moduleName:Rn},Nn.getFactoryOf={name:"\u0275\u0275getFactoryOf",moduleName:Rn},Nn.getInheritedFactory={name:"\u0275\u0275getInheritedFactory",moduleName:Rn},Nn.sanitizeHtml={name:"\u0275\u0275sanitizeHtml",moduleName:Rn},Nn.sanitizeStyle={name:"\u0275\u0275sanitizeStyle",moduleName:Rn},Nn.sanitizeResourceUrl={name:"\u0275\u0275sanitizeResourceUrl",moduleName:Rn},Nn.sanitizeScript={name:"\u0275\u0275sanitizeScript",moduleName:Rn},Nn.sanitizeUrl={name:"\u0275\u0275sanitizeUrl",moduleName:Rn},Nn.sanitizeUrlOrResourceUrl={name:"\u0275\u0275sanitizeUrlOrResourceUrl",moduleName:Rn},Nn.trustConstantHtml={name:"\u0275\u0275trustConstantHtml",moduleName:Rn},Nn.trustConstantScript={name:"\u0275\u0275trustConstantScript",moduleName:Rn},Nn.trustConstantResourceUrl={name:"\u0275\u0275trustConstantResourceUrl",moduleName:Rn};function Vn(e){return"@"+e}function Bn(e,t){return`animation_${e}_${t}`}class Yn{constructor(e,t){this.value=e,this.sourceSpan=t}visit(e){return e.visitText(this)}}class Un{constructor(e,t,n){this.value=e,this.sourceSpan=t,this.i18n=n}visit(e){return e.visitBoundText(this)}}class Wn{constructor(e,t,n,r,i){this.name=e,this.value=t,this.sourceSpan=n,this.valueSpan=r,this.i18n=i}visit(e){return e.visitTextAttribute(this)}}class qn{constructor(e,t,n,r,i,s,o,a,c){this.name=e,this.type=t,this.securityContext=n,this.value=r,this.unit=i,this.sourceSpan=s,this.keySpan=o,this.valueSpan=a,this.i18n=c}static fromBoundElementProperty(e,t){if(void 0===e.keySpan)throw new Error(`Unexpected state: keySpan must be defined for bound attributes but was not for ${e.name}: ${e.sourceSpan}`);return new qn(e.name,e.type,e.securityContext,e.value,e.unit,e.sourceSpan,e.keySpan,e.valueSpan,t)}visit(e){return e.visitBoundAttribute(this)}}class $n{constructor(e,t,n,r,i,s,o){this.name=e,this.type=t,this.handler=n,this.target=r,this.phase=i,this.sourceSpan=s,this.handlerSpan=o}static fromParsedEvent(e){const t=0===e.type?e.targetOrPhase:null,n=1===e.type?e.targetOrPhase:null;return new $n(e.name,e.type,e.handler,t,n,e.sourceSpan,e.handlerSpan)}visit(e){return e.visitBoundEvent(this)}}class Gn{constructor(e,t,n,r,i,s,o,a,c,l){this.name=e,this.attributes=t,this.inputs=n,this.outputs=r,this.children=i,this.references=s,this.sourceSpan=o,this.startSourceSpan=a,this.endSourceSpan=c,this.i18n=l}visit(e){return e.visitElement(this)}}class Xn{constructor(e,t,n,r,i,s,o,a,c,l,u,h){this.tagName=e,this.attributes=t,this.inputs=n,this.outputs=r,this.templateAttrs=i,this.children=s,this.references=o,this.variables=a,this.sourceSpan=c,this.startSourceSpan=l,this.endSourceSpan=u,this.i18n=h}visit(e){return e.visitTemplate(this)}}class Kn{constructor(e,t,n,r){this.selector=e,this.attributes=t,this.sourceSpan=n,this.i18n=r,this.name="ng-content"}visit(e){return e.visitContent(this)}}class Jn{constructor(e,t,n,r,i){this.name=e,this.value=t,this.sourceSpan=n,this.keySpan=r,this.valueSpan=i}visit(e){return e.visitVariable(this)}}class Qn{constructor(e,t,n,r){this.name=e,this.value=t,this.sourceSpan=n,this.valueSpan=r}visit(e){return e.visitReference(this)}}class Zn{constructor(e,t,n,r){this.vars=e,this.placeholders=t,this.sourceSpan=n,this.i18n=r}visit(e){return e.visitIcu(this)}}function er(e,t){const n=[];if(e.visit)for(const r of t){e.visit(r)||r.visit(e)}else for(const r of t){const t=r.visit(e);t&&n.push(t)}return n}class tr{constructor(e,t,n,r,i,s){this.nodes=e,this.placeholders=t,this.placeholderToMessage=n,this.meaning=r,this.description=i,this.customId=s,this.id=this.customId,this.legacyIds=[],e.length?this.sources=[{filePath:e[0].sourceSpan.start.file.url,startLine:e[0].sourceSpan.start.line+1,startCol:e[0].sourceSpan.start.col+1,endLine:e[e.length-1].sourceSpan.end.line+1,endCol:e[0].sourceSpan.start.col+1}]:this.sources=[]}}class nr{constructor(e,t){this.value=e,this.sourceSpan=t}visit(e,t){return e.visitText(this,t)}}class rr{constructor(e,t){this.children=e,this.sourceSpan=t}visit(e,t){return e.visitContainer(this,t)}}class ir{constructor(e,t,n,r){this.expression=e,this.type=t,this.cases=n,this.sourceSpan=r}visit(e,t){return e.visitIcu(this,t)}}class sr{constructor(e,t,n,r,i,s,o,a,c){this.tag=e,this.attrs=t,this.startName=n,this.closeName=r,this.children=i,this.isVoid=s,this.sourceSpan=o,this.startSourceSpan=a,this.endSourceSpan=c}visit(e,t){return e.visitTagPlaceholder(this,t)}}class or{constructor(e,t,n){this.value=e,this.name=t,this.sourceSpan=n}visit(e,t){return e.visitPlaceholder(this,t)}}class ar{constructor(e,t,n){this.value=e,this.name=t,this.sourceSpan=n}visit(e,t){return e.visitIcuPlaceholder(this,t)}}class cr{constructor(e){this.digits=e}static zero(){return new cr([0])}static one(){return new cr([1])}clone(){return new cr(this.digits.slice())}add(e){const t=this.clone();return t.addToSelf(e),t}addToSelf(e){const t=Math.max(this.digits.length,e.digits.length);let n=0;for(let r=0;r<t;r++){let t=n;r<this.digits.length&&(t+=this.digits[r]),r<e.digits.length&&(t+=e.digits[r]),t>=10?(this.digits[r]=t-10,n=1):(this.digits[r]=t,n=0)}n>0&&(this.digits[t]=1)}toString(){let e="";for(let t=this.digits.length-1;t>=0;t--)e+=this.digits[t];return e}}class lr{constructor(e){this.powerOfTwos=[e]}getValue(){return this.powerOfTwos[0]}multiplyBy(e){const t=cr.zero();return this.multiplyByAndAddTo(e,t),t}multiplyByAndAddTo(e,t){for(let n=0;0!==e;e>>>=1,n++)if(1&e){const e=this.getMultipliedByPowerOfTwo(n);t.addToSelf(e)}}getMultipliedByPowerOfTwo(e){for(let t=this.powerOfTwos.length;t<=e;t++){const e=this.powerOfTwos[t-1];this.powerOfTwos[t]=e.add(e)}return this.powerOfTwos[e]}}function ur(e){return e.id||hr(e)}function hr(e){return function(e){const t=qt(e),n=function(e,t){const n=e.length+3>>>2,r=[];for(let i=0;i<n;i++)r[i]=Mr(e,4*i,t);return r}(t,wr.Big),r=8*t.length,i=Zt(80);let s=1732584193,o=4023233417,a=2562383102,c=271733878,l=3285377520;n[r>>5]|=128<<24-r%32,n[15+(r+64>>9<<4)]=r;for(let u=0;u<n.length;u+=16){const e=s,t=o,r=a,h=c,d=l;for(let f=0;f<80;f++){i[f]=f<16?n[u+f]:kr(i[f-3]^i[f-8]^i[f-14]^i[f-16],1);const e=vr(f,o,a,c),t=e[0],r=e[1],h=[kr(s,5),t,l,r,i[f]].reduce(Sr);l=c,c=a,a=kr(o,30),o=s,s=h}s=Sr(s,e),o=Sr(o,t),a=Sr(a,r),c=Sr(c,h),l=Sr(l,d)}return function(e){let t="";for(let n=0;n<e.length;n++){const r=Cr(e,n);t+=(r>>>4).toString(16)+(15&r).toString(16)}return t.toLowerCase()}(function(e){return e.reduce((e,t)=>e.concat(function(e){let t=[];for(let n=0;n<4;n++)t.push(e>>>8*(3-n)&255);return t}(t)),[])}([s,o,a,c,l]))}((t=e.nodes,t.map(e=>e.visit(mr,null))).join("")+`[${e.meaning}]`);var t}function dr(e){return e.id||fr(e)}function fr(e){const t=new gr;return function(e,t=""){let n=yr(e);if(t){const e=yr(t);n=function(e,t){const n=e[0],r=e[1],i=t[0],s=t[1],o=xr(r,s),a=o[0],c=o[1];return[Sr(Sr(n,i),a),c]}(function(e,t){const n=e[0],r=e[1];return[n<<t|r>>>32-t,r<<t|n>>>32-t]}(n,1),e)}const r=n[0],i=n[1];return function(e,t){const n=Er.toThePowerOf(0).multiplyBy(t);return Er.toThePowerOf(4).multiplyByAndAddTo(e,n),n.toString()}(2147483647&r,i)}(e.nodes.map(e=>e.visit(t,null)).join(""),e.meaning)}class pr{visitText(e,t){return e.value}visitContainer(e,t){return`[${e.children.map(e=>e.visit(this)).join(", ")}]`}visitIcu(e,t){const n=Object.keys(e.cases).map(t=>`${t} {${e.cases[t].visit(this)}}`);return`{${e.expression}, ${e.type}, ${n.join(", ")}}`}visitTagPlaceholder(e,t){return e.isVoid?`<ph tag name="${e.startName}"/>`:`<ph tag name="${e.startName}">${e.children.map(e=>e.visit(this)).join(", ")}</ph name="${e.closeName}">`}visitPlaceholder(e,t){return e.value?`<ph name="${e.name}">${e.value}</ph>`:`<ph name="${e.name}"/>`}visitIcuPlaceholder(e,t){return`<ph icu name="${e.name}">${e.value.visit(this)}</ph>`}}const mr=new pr;class gr extends pr{visitIcu(e,t){let n=Object.keys(e.cases).map(t=>`${t} {${e.cases[t].visit(this)}}`);return`{${e.type}, ${n.join(", ")}}`}}function vr(e,t,n,r){return e<20?[t&n|~t&r,1518500249]:e<40?[t^n^r,1859775393]:e<60?[t&n|t&r|n&r,2400959708]:[t^n^r,3395469782]}function yr(e){const t=qt(e);let n=br(t,0),r=br(t,102072);return 0!=n||0!=r&&1!=r||(n^=319790063,r^=-1801410264),[n,r]}function br(e,t){let n,r=2654435769,i=2654435769;const s=e.length;for(n=0;n+12<=s;n+=12){r=Sr(r,Mr(e,n,wr.Little)),i=Sr(i,Mr(e,n+4,wr.Little));const s=_r(r,i,t=Sr(t,Mr(e,n+8,wr.Little)));r=s[0],i=s[1],t=s[2]}return r=Sr(r,Mr(e,n,wr.Little)),i=Sr(i,Mr(e,n+4,wr.Little)),t=Sr(t,s),_r(r,i,t=Sr(t,Mr(e,n+8,wr.Little)<<8))[2]}function _r(e,t,n){return e=Or(e,t),e=Or(e,n),e^=n>>>13,t=Or(t,n),t=Or(t,e),t^=e<<8,n=Or(n,e),n=Or(n,t),n^=t>>>13,e=Or(e,t),e=Or(e,n),e^=n>>>12,t=Or(t,n),t=Or(t,e),t^=e<<16,n=Or(n,e),n=Or(n,t),n^=t>>>5,e=Or(e,t),e=Or(e,n),e^=n>>>3,t=Or(t,n),t=Or(t,e),t^=e<<10,n=Or(n,e),n=Or(n,t),[e,t,n^=t>>>15]}var wr;function Sr(e,t){return xr(e,t)[1]}function xr(e,t){const n=(65535&e)+(65535&t),r=(e>>>16)+(t>>>16)+(n>>>16);return[r>>>16,r<<16|65535&n]}function Or(e,t){const n=(65535&e)-(65535&t);return(e>>16)-(t>>16)+(n>>16)<<16|65535&n}function kr(e,t){return e<<t|e>>>32-t}function Cr(e,t){return t>=e.length?0:e[t]}function Mr(e,t,n){let r=0;if(n===wr.Big)for(let i=0;i<4;i++)r+=Cr(e,t+i)<<24-8*i;else for(let i=0;i<4;i++)r+=Cr(e,t+i)<<8*i;return r}!function(e){e[e.Little=0]="Little",e[e.Big=1]="Big"}(wr||(wr={}));const Er=new class{constructor(e){this.base=e,this.exponents=[new lr(cr.one())]}toThePowerOf(e){for(let t=this.exponents.length;t<=e;t++){const e=this.exponents[t-1].multiplyBy(this.base);this.exponents[t]=new lr(e)}return this.exponents[e]}}(256);class Tr{createNameMapper(e){return null}}class jr extends class{visitText(e,t){}visitContainer(e,t){e.children.forEach(e=>e.visit(this))}visitIcu(e,t){Object.keys(e.cases).forEach(t=>{e.cases[t].visit(this)})}visitTagPlaceholder(e,t){e.children.forEach(e=>e.visit(this))}visitPlaceholder(e,t){}visitIcuPlaceholder(e,t){}}{constructor(e,t){super(),this.mapName=t,this.internalToPublic={},this.publicToNextId={},this.publicToInternal={},e.nodes.forEach(e=>e.visit(this))}toPublicName(e){return this.internalToPublic.hasOwnProperty(e)?this.internalToPublic[e]:null}toInternalName(e){return this.publicToInternal.hasOwnProperty(e)?this.publicToInternal[e]:null}visitText(e,t){return null}visitTagPlaceholder(e,t){this.visitPlaceholderName(e.startName),super.visitTagPlaceholder(e,t),this.visitPlaceholderName(e.closeName)}visitPlaceholder(e,t){this.visitPlaceholderName(e.name)}visitIcuPlaceholder(e,t){this.visitPlaceholderName(e.name)}visitPlaceholderName(e){if(!e||this.internalToPublic.hasOwnProperty(e))return;let t=this.mapName(e);if(this.publicToInternal.hasOwnProperty(t)){const e=this.publicToNextId[t];this.publicToNextId[t]=e+1,t=`${t}_${e}`}else this.publicToNextId[t]=1;this.internalToPublic[e]=t,this.publicToInternal[t]=e}}const Dr=new class{visitTag(e){const t=this._serializeAttributes(e.attrs);if(0==e.children.length)return`<${e.name}${t}/>`;const n=e.children.map(e=>e.visit(this));return`<${e.name}${t}>${n.join("")}</${e.name}>`}visitText(e){return e.value}visitDeclaration(e){return`<?xml${this._serializeAttributes(e.attrs)} ?>`}_serializeAttributes(e){const t=Object.keys(e).map(t=>`${t}="${e[t]}"`).join(" ");return t.length>0?" "+t:""}visitDoctype(e){return`<!DOCTYPE ${e.rootTag} [\n${e.dtd}\n]>`}};function Ar(e){return e.map(e=>e.visit(Dr)).join("")}class Lr{constructor(e){this.attrs={},Object.keys(e).forEach(t=>{this.attrs[t]=Hr(e[t])})}visit(e){return e.visitDeclaration(this)}}class zr{constructor(e,t){this.rootTag=e,this.dtd=t}visit(e){return e.visitDoctype(this)}}class Pr{constructor(e,t={},n=[]){this.name=e,this.children=n,this.attrs={},Object.keys(t).forEach(e=>{this.attrs[e]=Hr(t[e])})}visit(e){return e.visitTag(this)}}class Ir{constructor(e){this.value=Hr(e)}visit(e){return e.visitText(this)}}class Rr extends Ir{constructor(e=0){super("\n"+new Array(e+1).join(" "))}}const Nr=[[/&/g,"&amp;"],[/"/g,"&quot;"],[/'/g,"&apos;"],[/</g,"&lt;"],[/>/g,"&gt;"]];function Hr(e){return Nr.reduce((e,t)=>e.replace(t[0],t[1]),e)}const Fr="messagebundle",Vr="ph",Br="ex";class Yr extends Tr{write(e,t){const n=new qr,r=new Ur;let i=new Pr(Fr);return e.forEach(e=>{const t={id:e.id};e.description&&(t.desc=e.description),e.meaning&&(t.meaning=e.meaning);let n=[];e.sources.forEach(e=>{n.push(new Pr("source",{},[new Ir(`${e.filePath}:${e.startLine}${e.endLine!==e.startLine?","+e.endLine:""}`)]))}),i.children.push(new Rr(2),new Pr("msg",t,[...n,...r.serialize(e.nodes)]))}),i.children.push(new Rr),Ar([new Lr({version:"1.0",encoding:"UTF-8"}),new Rr,new zr(Fr,'<!ELEMENT messagebundle (msg)*>\n<!ATTLIST messagebundle class CDATA #IMPLIED>\n\n<!ELEMENT msg (#PCDATA|ph|source)*>\n<!ATTLIST msg id CDATA #IMPLIED>\n<!ATTLIST msg seq CDATA #IMPLIED>\n<!ATTLIST msg name CDATA #IMPLIED>\n<!ATTLIST msg desc CDATA #IMPLIED>\n<!ATTLIST msg meaning CDATA #IMPLIED>\n<!ATTLIST msg obsolete (obsolete) #IMPLIED>\n<!ATTLIST msg xml:space (default|preserve) "default">\n<!ATTLIST msg is_hidden CDATA #IMPLIED>\n\n<!ELEMENT source (#PCDATA)>\n\n<!ELEMENT ph (#PCDATA|ex)*>\n<!ATTLIST ph name CDATA #REQUIRED>\n\n<!ELEMENT ex (#PCDATA)>'),new Rr,n.addDefaultExamples(i),new Rr])}load(e,t){throw new Error("Unsupported")}digest(e){return Wr(e)}createNameMapper(e){return new jr(e,$r)}}class Ur{visitText(e,t){return[new Ir(e.value)]}visitContainer(e,t){const n=[];return e.children.forEach(e=>n.push(...e.visit(this))),n}visitIcu(e,t){const n=[new Ir(`{${e.expressionPlaceholder}, ${e.type}, `)];return Object.keys(e.cases).forEach(t=>{n.push(new Ir(t+" {"),...e.cases[t].visit(this),new Ir("} "))}),n.push(new Ir("}")),n}visitTagPlaceholder(e,t){const n=new Ir(`<${e.tag}>`),r=new Pr(Br,{},[n]),i=new Pr(Vr,{name:e.startName},[r,n]);if(e.isVoid)return[i];const s=new Ir(`</${e.tag}>`),o=new Pr(Br,{},[s]),a=new Pr(Vr,{name:e.closeName},[o,s]);return[i,...this.serialize(e.children),a]}visitPlaceholder(e,t){const n=new Ir(`{{${e.value}}}`),r=new Pr(Br,{},[n]);return[new Pr(Vr,{name:e.name},[r,n])]}visitIcuPlaceholder(e,t){const n=e.value.expression,r=e.value.type,i=Object.keys(e.value.cases).map(e=>e+" {...}").join(" "),s=new Ir(`{${n}, ${r}, ${i}}`),o=new Pr(Br,{},[s]);return[new Pr(Vr,{name:e.name},[o,s])]}serialize(e){return[].concat(...e.map(e=>e.visit(this)))}}function Wr(e){return dr(e)}class qr{addDefaultExamples(e){return e.visit(this),e}visitTag(e){if(e.name===Vr){if(!e.children||0==e.children.length){const t=new Ir(e.attrs.name||"...");e.children=[new Pr(Br,{},[t])]}}else e.children&&e.children.forEach(e=>e.visit(this))}visitText(e){}visitDeclaration(e){}visitDoctype(e){}}function $r(e){return e.toUpperCase().replace(/[^A-Z0-9_]/g,"_")}const Gr="i18n",Xr="i18n-";function Kr(e){return e===Gr||e.startsWith(Xr)}function Jr(e){return e instanceof tr}function Qr(e){return Jr(e)&&1===e.nodes.length&&e.nodes[0]instanceof ir}function Zr(e){return!!e.i18n}function ei(e){return e.nodes[0]}function ti(e,t=0){return`\ufffd${e}${t>0?":"+t:""}\ufffd`}function ni(e=0){let t=e;return()=>t++}function ri(e){const t={};return e.forEach((e,n)=>{t[n]=Et(e.length>1?`[${e.join("|")}]`:e[0])}),t}function ii(e,t,...n){const r=e.get(t)||[];r.push(...n),e.set(t,r)}function si(e,t=0,n=0){const r=t,i=new Map,s=e instanceof tr?e.nodes.find(e=>e instanceof rr):e;return s&&s.children.filter(e=>e instanceof or).forEach((e,t)=>{const s=ti(r+t,n);ii(i,e.name,s)}),i}function oi(e={},t){const n={};return e&&Object.keys(e).length&&Object.keys(e).forEach(r=>n[ai(r,t)]=e[r]),n}function ai(e,t=!0){const n=$r(e);if(!t)return n;const r=n.split("_");if(1===r.length)return e.toLowerCase();let i;/^\d+$/.test(r[r.length-1])&&(i=r.pop());let s=r.shift().toLowerCase();return r.length&&(s+=r.map(e=>e.charAt(0).toUpperCase()+e.slice(1).toLowerCase()).join("")),i?`${s}_${i}`:s}function ci(e){return("MSG_"+e).toUpperCase()}function li(e){return new nt(e.name,void 0,se,void 0,e.sourceSpan)}const ui=/[-.]/,hi="_t",di="ctx",fi="rf";function pi(e,t){let n=null;return()=>(n||(e.push(new nt(hi,void 0,ie)),n=bt(t)),n)}function mi(e){if(this)throw new Error(`Builder ${this.constructor.name} doesn't support ${e} yet`);throw new Error(`Feature ${e} is not supported yet`)}function gi(e){throw new Error(`Invalid state: Visitor ${this.constructor.name} doesn't handle ${e.constructor.name}`)}function vi(e){return Array.isArray(e)?Ot(e.map(vi)):Et(e,se)}function yi(e,t){return Object.getOwnPropertyNames(e).length>0?function(e,t){return kt(Object.getOwnPropertyNames(e).map(n=>{const r=e[n];let i,s,o;return Array.isArray(r)?[s,i]=r:[i,s]=At(n,[n,r]),o=i,{key:o,quoted:ui.test(o),value:t&&s!==i?Ot([vi(s),vi(i)]):vi(s)}}))}(e,t):null}function bi(e){for(;Tt(e[e.length-1]);)e.pop();return e}function _i(e,t){if(Array.isArray(e.predicate)){let n=[];return e.predicate.forEach(e=>{const t=e.split(",").map(e=>Et(e.trim()));n.push(...t)}),t.getConstLiteral(Ot(n),!0)}return e.predicate}class wi{constructor(){this.values=[]}set(e,t){t&&this.values.push({key:e,value:t,quoted:!1})}toLiteralMap(){return kt(this.values)}}function Si(e){const t={};return e instanceof Xn&&"ng-template"!==e.tagName?e.templateAttrs.forEach(e=>t[e.name]=""):(e.attributes.forEach(e=>{Kr(e.name)||(t[e.name]=e.value)}),e.inputs.forEach(e=>{t[e.name]=""}),e.outputs.forEach(e=>{t[e.name]=""})),t}function xi(e,t,n){let r=_t(e,null,n);if(t.length>0)for(let i=0;i<t.length;i++)r=r.callFn(t[i],n);else r=r.callFn([],n);return r}function Oi(e){const{expressions:t,strings:n}=e;return 1===t.length&&2===n.length&&""===n[0]&&""===n[1]?1:t.length+n.length}var ki,Ci,Mi;function Ei(e){const t=bt("t"),n=[];let r=le;const i=ji(e)?t:new Ye(he.Or,t,e.internalType);let s=null;if(null!==e.deps)"invalid"!==e.deps&&(s=new ke(i,Ti(e.deps,e.injectFn,e.target===Ci.Pipe)),r=function(e){let t=!1;const n=e.map(e=>{const n=function(e){const t=[];e.resolved===Mi.Attribute&&null!==e.attribute&&t.push({key:"attribute",value:e.attribute,quoted:!1});e.optional&&t.push({key:"optional",value:Et(!0),quoted:!1});e.host&&t.push({key:"host",value:Et(!0),quoted:!1});e.self&&t.push({key:"self",value:Et(!0),quoted:!1});e.skipSelf&&t.push({key:"skipSelf",value:Et(!0),quoted:!1});return t.length>0?kt(t):null}(e);return null!==n?(t=!0,n):Et(null)});return t?St(Ot(n)):le}(e.deps));else{const t=bt(`\u0275${e.name}_BaseFactory`),r=_t(Nn.getInheritedFactory),o=t.set(r.callFn([e.internalType],void 0,!0)).toDeclStmt(se,[Qe.Exported,Qe.Final]);n.push(o),s=t.callFn([i])}const o=s,a=[];let c=null;function l(e){const n=bt("r");a.push(n.set(Ke).toDeclStmt());let r=null;return r=null!==o?n.set(o).toStmt():_t(Nn.invalidFactory).callFn([]).toStmt(),a.push(Mt(t,[r],[n.set(e).toStmt()])),n}if(ji(e)&&e.delegateType===ki.Factory){const t=bt(`\u0275${e.name}_BaseFactory`),r=_t(Nn.getFactoryOf);if(e.delegate.isEquivalent(e.internalType))throw new Error("Illegal state: compiling factory that delegates to itself");const i=t.set(r.callFn([e.delegate])).toDeclStmt(se,[Qe.Exported,Qe.Final]);n.push(i),c=l(t.callFn([]))}else if(ji(e)){const t=Ti(e.delegateDeps,e.injectFn,e.target===Ci.Pipe);c=l(new(e.delegateType===ki.Class?ke:Oe)(e.delegate,t))}else c=function(e){return void 0!==e.expression}(e)?l(e.expression):s;return null!==c?a.push(new st(c)):a.push(_t(Nn.invalidFactory).callFn([]).toStmt()),{factory:Ct([new Fe("t",ie)],a,se,void 0,e.name+"_Factory"),statements:n,type:St(_t(Nn.FactoryDef,[Fn(e.type.type,e.typeArgumentCount),r]))}}function Ti(e,t,n){return e.map((e,r)=>function(e,t,n,r){switch(e.resolved){case Mi.Token:case Mi.ChangeDetectorRef:const i=0|(e.self?2:0)|(e.skipSelf?4:0)|(e.host?1:0)|(e.optional?8:0);let s=0!==i||e.optional?Et(i):null;if(n&&e.resolved===Mi.ChangeDetectorRef)return _t(Nn.injectPipeChangeDetectorRef).callFn(s?[s]:[]);const o=[e.token];return s&&o.push(s),_t(t).callFn(o);case Mi.Attribute:return _t(Nn.injectAttribute).callFn([e.token]);case Mi.Invalid:return _t(Nn.invalidFactoryDep).callFn([Et(r)]);default:return mi("Unknown R3ResolvedDependencyType: "+Mi[e.resolved])}}(e,t,n,r))}function ji(e){return void 0!==e.delegateType}function Di(e,t){return{statements:[],factory:e.node===t.node?t.prop("\u0275fac"):Ct([new Fe("t",ie)],[new st(t.callMethod("\u0275fac",[bt("t")]))])}}function Ai(e,t){if(null!=t){if(!Array.isArray(t))throw new Error(`Expected '${e}' to be an array of strings.`);for(let n=0;n<t.length;n+=1)if("string"!=typeof t[n])throw new Error(`Expected '${e}' to be an array of strings.`)}}!function(e){e[e.Class=0]="Class",e[e.Function=1]="Function",e[e.Factory=2]="Factory"}(ki||(ki={})),function(e){e[e.Directive=0]="Directive",e[e.Component=1]="Component",e[e.Injectable=2]="Injectable",e[e.Pipe=3]="Pipe",e[e.NgModule=4]="NgModule"}(Ci||(Ci={})),function(e){e[e.Token=0]="Token",e[e.Attribute=1]="Attribute",e[e.ChangeDetectorRef=2]="ChangeDetectorRef",e[e.Invalid=3]="Invalid"}(Mi||(Mi={}));const Li=[/^\s*$/,/[<>]/,/^[{}]$/,/&(#|[a-z])/i,/^\/\//];function zi(e,t){if(!(null==t||Array.isArray(t)&&2==t.length))throw new Error(`Expected '${e}' to be an array, [start, end].`);if(null!=t){const e=t[0],n=t[1];Li.forEach(t=>{if(t.test(e)||t.test(n))throw new Error(`['${e}', '${n}'] contains unusable interpolation symbol.`)})}}class Pi{constructor(e,t){this.start=e,this.end=t}static fromArray(e){return e?(zi("interpolation",e),new Pi(e[0],e[1])):Ii}}const Ii=new Pi("{{","}}");class Ri{constructor(e=null){this.file=e,this.sourcesContent=new Map,this.lines=[],this.lastCol0=0,this.hasMappings=!1}addSource(e,t=null){return this.sourcesContent.has(e)||this.sourcesContent.set(e,t),this}addLine(){return this.lines.push([]),this.lastCol0=0,this}addMapping(e,t,n,r){if(!this.currentLine)throw new Error("A line must be added before mappings can be added");if(null!=t&&!this.sourcesContent.has(t))throw new Error(`Unknown source file "${t}"`);if(null==e)throw new Error("The column in the generated code must be provided");if(e<this.lastCol0)throw new Error("Mapping should be added in output order");if(t&&(null==n||null==r))throw new Error("The source location must be provided when a source url is provided");return this.hasMappings=!0,this.lastCol0=e,this.currentLine.push({col0:e,sourceUrl:t,sourceLine0:n,sourceCol0:r}),this}get currentLine(){return this.lines.slice(-1)[0]}toJSON(){if(!this.hasMappings)return null;const e=new Map,t=[],n=[];Array.from(this.sourcesContent.keys()).forEach((r,i)=>{e.set(r,i),t.push(r),n.push(this.sourcesContent.get(r)||null)});let r="",i=0,s=0,o=0,a=0;return this.lines.forEach(t=>{i=0,r+=t.map(t=>{let n=Ni(t.col0-i);return i=t.col0,null!=t.sourceUrl&&(n+=Ni(e.get(t.sourceUrl)-s),s=e.get(t.sourceUrl),n+=Ni(t.sourceLine0-o),o=t.sourceLine0,n+=Ni(t.sourceCol0-a),a=t.sourceCol0),n}).join(","),r+=";"}),r=r.slice(0,-1),{file:this.file||"",version:3,sourceRoot:"",sources:t,sourcesContent:n,mappings:r}}toJsComment(){return this.hasMappings?"//# sourceMappingURL=data:application/json;base64,"+function(e){let t="";const n=qt(e);for(let r=0;r<n.length;){const e=n[r++],i=r<n.length?n[r++]:null,s=r<n.length?n[r++]:null;t+=Hi(e>>2),t+=Hi((3&e)<<4|(null===i?0:i>>4)),t+=null===i?"=":Hi((15&i)<<2|(null===s?0:s>>6)),t+=null===i||null===s?"=":Hi(63&s)}return t}(JSON.stringify(this,null,0)):""}}function Ni(e){e=e<0?1+(-e<<1):e<<1;let t="";do{let n=31&e;(e>>=5)>0&&(n|=32),t+=Hi(n)}while(e>0);return t}function Hi(e){if(e<0||e>=64)throw new Error("Can only encode value in the range [0, 63]");return"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[e]}const Fi=/'|\\|\n|\r|\$/g,Vi=/^[$A-Z_][0-9A-Z_$]*$/i,Bi="  ",Yi=bt("error",null,null),Ui=bt("stack",null,null);class Wi{constructor(e){this.indent=e,this.partsLength=0,this.parts=[],this.srcSpans=[]}}class qi{constructor(e){this._indent=e,this._classes=[],this._preambleLineCount=0,this._lines=[new Wi(e)]}static createRoot(){return new qi(0)}get _currentLine(){return this._lines[this._lines.length-1]}println(e,t=""){this.print(e||null,t,!0)}lineIsEmpty(){return 0===this._currentLine.parts.length}lineLength(){return this._currentLine.indent*Bi.length+this._currentLine.partsLength}print(e,t,n=!1){t.length>0&&(this._currentLine.parts.push(t),this._currentLine.partsLength+=t.length,this._currentLine.srcSpans.push(e&&e.sourceSpan||null)),n&&this._lines.push(new Wi(this._indent))}removeEmptyLastLine(){this.lineIsEmpty()&&this._lines.pop()}incIndent(){this._indent++,this.lineIsEmpty()&&(this._currentLine.indent=this._indent)}decIndent(){this._indent--,this.lineIsEmpty()&&(this._currentLine.indent=this._indent)}pushClass(e){this._classes.push(e)}popClass(){return this._classes.pop()}get currentClass(){return this._classes.length>0?this._classes[this._classes.length-1]:null}toSource(){return this.sourceLines.map(e=>e.parts.length>0?Xi(e.indent)+e.parts.join(""):"").join("\n")}toSourceMapGenerator(e,t=0){const n=new Ri(e);let r=!1;const i=()=>{r||(n.addSource(e," ").addMapping(0,e,0,0),r=!0)};for(let s=0;s<t;s++)n.addLine(),i();return this.sourceLines.forEach((e,t)=>{n.addLine();const s=e.srcSpans,o=e.parts;let a=e.indent*Bi.length,c=0;for(;c<s.length&&!s[c];)a+=o[c].length,c++;for(c<s.length&&0===t&&0===a?r=!0:i();c<s.length;){const e=s[c],t=e.start.file,r=e.start.line,i=e.start.col;for(n.addSource(t.url,t.content).addMapping(a,t.url,r,i),a+=o[c].length,c++;c<s.length&&(e===s[c]||!s[c]);)a+=o[c].length,c++}}),n}setPreambleLineCount(e){return this._preambleLineCount=e}spanOf(e,t){const n=this._lines[e-this._preambleLineCount];if(n){let e=t-Xi(n.indent).length;for(let t=0;t<n.parts.length;t++){const r=n.parts[t];if(r.length>e)return n.srcSpans[t];e-=r.length}}return null}get sourceLines(){return this._lines.length&&0===this._lines[this._lines.length-1].parts.length?this._lines.slice(0,-1):this._lines}}class $i{constructor(e){this._escapeDollarInStrings=e}printLeadingComments(e,t){if(void 0!==e.leadingComments)for(const n of e.leadingComments)n instanceof et?t.print(e,`/*${n.toString()}*/`,n.trailingNewline):n.multiline?t.print(e,`/* ${n.text} */`,n.trailingNewline):n.text.split("\n").forEach(n=>{t.println(e,"// "+n)})}visitExpressionStmt(e,t){return this.printLeadingComments(e,t),e.expr.visitExpression(this,t),t.println(e,";"),null}visitReturnStmt(e,t){return this.printLeadingComments(e,t),t.print(e,"return "),e.value.visitExpression(this,t),t.println(e,";"),null}visitIfStmt(e,t){this.printLeadingComments(e,t),t.print(e,"if ("),e.condition.visitExpression(this,t),t.print(e,") {");const n=null!=e.falseCase&&e.falseCase.length>0;return e.trueCase.length<=1&&!n?(t.print(e," "),this.visitAllStatements(e.trueCase,t),t.removeEmptyLastLine(),t.print(e," ")):(t.println(),t.incIndent(),this.visitAllStatements(e.trueCase,t),t.decIndent(),n&&(t.println(e,"} else {"),t.incIndent(),this.visitAllStatements(e.falseCase,t),t.decIndent())),t.println(e,"}"),null}visitThrowStmt(e,t){return this.printLeadingComments(e,t),t.print(e,"throw "),e.error.visitExpression(this,t),t.println(e,";"),null}visitWriteVarExpr(e,t){const n=t.lineIsEmpty();return n||t.print(e,"("),t.print(e,e.name+" = "),e.value.visitExpression(this,t),n||t.print(e,")"),null}visitWriteKeyExpr(e,t){const n=t.lineIsEmpty();return n||t.print(e,"("),e.receiver.visitExpression(this,t),t.print(e,"["),e.index.visitExpression(this,t),t.print(e,"] = "),e.value.visitExpression(this,t),n||t.print(e,")"),null}visitWritePropExpr(e,t){const n=t.lineIsEmpty();return n||t.print(e,"("),e.receiver.visitExpression(this,t),t.print(e,`.${e.name} = `),e.value.visitExpression(this,t),n||t.print(e,")"),null}visitInvokeMethodExpr(e,t){e.receiver.visitExpression(this,t);let n=e.name;return null!=e.builtin&&(n=this.getBuiltinMethodName(e.builtin),null==n)||(t.print(e,`.${n}(`),this.visitAllExpressions(e.args,t,","),t.print(e,")")),null}visitInvokeFunctionExpr(e,t){return e.fn.visitExpression(this,t),t.print(e,"("),this.visitAllExpressions(e.args,t,","),t.print(e,")"),null}visitWrappedNodeExpr(e,t){throw new Error("Abstract emitter cannot visit WrappedNodeExpr.")}visitTypeofExpr(e,t){t.print(e,"typeof "),e.expr.visitExpression(this,t)}visitReadVarExpr(e,t){let n=e.name;if(null!=e.builtin)switch(e.builtin){case de.Super:n="super";break;case de.This:n="this";break;case de.CatchError:n=Yi.name;break;case de.CatchStack:n=Ui.name;break;default:throw new Error("Unknown builtin variable "+e.builtin)}return t.print(e,n),null}visitInstantiateExpr(e,t){return t.print(e,"new "),e.classExpr.visitExpression(this,t),t.print(e,"("),this.visitAllExpressions(e.args,t,","),t.print(e,")"),null}visitLiteralExpr(e,t){const n=e.value;return"string"==typeof n?t.print(e,Gi(n,this._escapeDollarInStrings)):t.print(e,""+n),null}visitLocalizedString(e,t){const n=e.serializeI18nHead();t.print(e,"$localize `"+n.raw);for(let r=1;r<e.messageParts.length;r++)t.print(e,"${"),e.expressions[r-1].visitExpression(this,t),t.print(e,"}"+e.serializeI18nTemplatePart(r).raw);return t.print(e,"`"),null}visitConditionalExpr(e,t){return t.print(e,"("),e.condition.visitExpression(this,t),t.print(e,"? "),e.trueCase.visitExpression(this,t),t.print(e,": "),e.falseCase.visitExpression(this,t),t.print(e,")"),null}visitNotExpr(e,t){return t.print(e,"!"),e.condition.visitExpression(this,t),null}visitAssertNotNullExpr(e,t){return e.condition.visitExpression(this,t),null}visitUnaryOperatorExpr(e,t){let n;switch(e.operator){case ue.Plus:n="+";break;case ue.Minus:n="-";break;default:throw new Error("Unknown operator "+e.operator)}return e.parens&&t.print(e,"("),t.print(e,n),e.expr.visitExpression(this,t),e.parens&&t.print(e,")"),null}visitBinaryOperatorExpr(e,t){let n;switch(e.operator){case he.Equals:n="==";break;case he.Identical:n="===";break;case he.NotEquals:n="!=";break;case he.NotIdentical:n="!==";break;case he.And:n="&&";break;case he.BitwiseAnd:n="&";break;case he.Or:n="||";break;case he.Plus:n="+";break;case he.Minus:n="-";break;case he.Divide:n="/";break;case he.Multiply:n="*";break;case he.Modulo:n="%";break;case he.Lower:n="<";break;case he.LowerEquals:n="<=";break;case he.Bigger:n=">";break;case he.BiggerEquals:n=">=";break;default:throw new Error("Unknown operator "+e.operator)}return e.parens&&t.print(e,"("),e.lhs.visitExpression(this,t),t.print(e,` ${n} `),e.rhs.visitExpression(this,t),e.parens&&t.print(e,")"),null}visitReadPropExpr(e,t){return e.receiver.visitExpression(this,t),t.print(e,"."),t.print(e,e.name),null}visitReadKeyExpr(e,t){return e.receiver.visitExpression(this,t),t.print(e,"["),e.index.visitExpression(this,t),t.print(e,"]"),null}visitLiteralArrayExpr(e,t){return t.print(e,"["),this.visitAllExpressions(e.entries,t,","),t.print(e,"]"),null}visitLiteralMapExpr(e,t){return t.print(e,"{"),this.visitAllObjects(n=>{t.print(e,Gi(n.key,this._escapeDollarInStrings,n.quoted)+":"),n.value.visitExpression(this,t)},e.entries,t,","),t.print(e,"}"),null}visitCommaExpr(e,t){return t.print(e,"("),this.visitAllExpressions(e.parts,t,","),t.print(e,")"),null}visitAllExpressions(e,t,n){this.visitAllObjects(e=>e.visitExpression(this,t),e,t,n)}visitAllObjects(e,t,n,r){let i=!1;for(let s=0;s<t.length;s++)s>0&&(n.lineLength()>80?(n.print(null,r,!0),i||(n.incIndent(),n.incIndent(),i=!0)):n.print(null,r,!1)),e(t[s]);i&&(n.decIndent(),n.decIndent())}visitAllStatements(e,t){e.forEach(e=>e.visitStatement(this,t))}}function Gi(e,t,n=!0){if(null==e)return null;const r=e.replace(Fi,(...e)=>"$"==e[0]?t?"\\$":"$":"\n"==e[0]?"\\n":"\r"==e[0]?"\\r":"\\"+e[0]);return n||!Vi.test(r)?`'${r}'`:r}function Xi(e){let t="";for(let n=0;n<e;n++)t+=Bi;return t}class Ki extends $i{constructor(){super(!1)}visitDeclareClassStmt(e,t){return t.pushClass(e),this._visitClassConstructor(e,t),null!=e.parent&&(t.print(e,e.name+".prototype = Object.create("),e.parent.visitExpression(this,t),t.println(e,".prototype);")),e.getters.forEach(n=>this._visitClassGetter(e,n,t)),e.methods.forEach(n=>this._visitClassMethod(e,n,t)),t.popClass(),null}_visitClassConstructor(e,t){t.print(e,`function ${e.name}(`),null!=e.constructorMethod&&this._visitParams(e.constructorMethod.params,t),t.println(e,") {"),t.incIndent(),null!=e.constructorMethod&&e.constructorMethod.body.length>0&&(t.println(e,"var self = this;"),this.visitAllStatements(e.constructorMethod.body,t)),t.decIndent(),t.println(e,"}")}_visitClassGetter(e,t,n){n.println(e,`Object.defineProperty(${e.name}.prototype, '${t.name}', { get: function() {`),n.incIndent(),t.body.length>0&&(n.println(e,"var self = this;"),this.visitAllStatements(t.body,n)),n.decIndent(),n.println(e,"}});")}_visitClassMethod(e,t,n){n.print(e,`${e.name}.prototype.${t.name} = function(`),this._visitParams(t.params,n),n.println(e,") {"),n.incIndent(),t.body.length>0&&(n.println(e,"var self = this;"),this.visitAllStatements(t.body,n)),n.decIndent(),n.println(e,"};")}visitWrappedNodeExpr(e,t){throw new Error("Cannot emit a WrappedNodeExpr in Javascript.")}visitReadVarExpr(e,t){if(e.builtin===de.This)t.print(e,"self");else{if(e.builtin===de.Super)throw new Error("'super' needs to be handled at a parent ast node, not at the variable level!");super.visitReadVarExpr(e,t)}return null}visitDeclareVarStmt(e,t){return t.print(e,"var "+e.name),e.value&&(t.print(e," = "),e.value.visitExpression(this,t)),t.println(e,";"),null}visitCastExpr(e,t){return e.value.visitExpression(this,t),null}visitInvokeFunctionExpr(e,t){const n=e.fn;return n instanceof ve&&n.builtin===de.Super?(t.currentClass.parent.visitExpression(this,t),t.print(e,".call(this"),e.args.length>0&&(t.print(e,", "),this.visitAllExpressions(e.args,t,",")),t.print(e,")")):super.visitInvokeFunctionExpr(e,t),null}visitFunctionExpr(e,t){return t.print(e,`function${e.name?" "+e.name:""}(`),this._visitParams(e.params,t),t.println(e,") {"),t.incIndent(),this.visitAllStatements(e.statements,t),t.decIndent(),t.print(e,"}"),null}visitDeclareFunctionStmt(e,t){return t.print(e,`function ${e.name}(`),this._visitParams(e.params,t),t.println(e,") {"),t.incIndent(),this.visitAllStatements(e.statements,t),t.decIndent(),t.println(e,"}"),null}visitTryCatchStmt(e,t){t.println(e,"try {"),t.incIndent(),this.visitAllStatements(e.bodyStmts,t),t.decIndent(),t.println(e,`} catch (${Yi.name}) {`),t.incIndent();const n=[Ui.set(Yi.prop("stack")).toDeclStmt(null,[Qe.Final])].concat(e.catchStmts);return this.visitAllStatements(n,t),t.decIndent(),t.println(e,"}"),null}visitLocalizedString(e,t){t.print(e,'$localize((this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e})(');const n=[e.serializeI18nHead()];for(let r=1;r<e.messageParts.length;r++)n.push(e.serializeI18nTemplatePart(r));return t.print(e,`[${n.map(e=>Gi(e.cooked,!1)).join(", ")}], `),t.print(e,`[${n.map(e=>Gi(e.raw,!1)).join(", ")}])`),e.expressions.forEach(n=>{t.print(e,", "),n.visitExpression(this,t)}),t.print(e,")"),null}_visitParams(e,t){this.visitAllObjects(e=>t.print(null,e.name),e,t,",")}getBuiltinMethodName(e){let t;switch(e){case fe.ConcatArray:t="concat";break;case fe.SubscribeObservable:t="subscribe";break;case fe.Bind:t="bind";break;default:throw new Error("Unknown builtin method: "+e)}return t}}class Ji{evaluateStatements(e,t,n,r){const i=new Qi(n),s=qi.createRoot();return t.length>0&&!t[0].isEquivalent(Et("use strict").toStmt())&&(t=[Et("use strict").toStmt(),...t]),i.visitAllStatements(t,s),i.createReturnStmt(s),this.evaluateCode(e,s,i.getArgs(),r)}evaluateCode(e,t,n,r){let i=`"use strict";${t.toSource()}\n//# sourceURL=${e}`;const s=[],o=[];for(const c in n)o.push(n[c]),s.push(c);if(r){const n=new Function(...s.concat("return null;")).toString(),r=n.slice(0,n.indexOf("return null;")).split("\n").length-1;i+="\n"+t.toSourceMapGenerator(e,r).toJsComment()}const a=new Function(...s.concat(i));return this.executeFunction(a,o)}executeFunction(e,t){return e(...t)}}class Qi extends Ki{constructor(e){super(),this.reflector=e,this._evalArgNames=[],this._evalArgValues=[],this._evalExportedVars=[]}createReturnStmt(e){new st(new Ge(this._evalExportedVars.map(e=>new $e(e,bt(e),!1)))).visitStatement(this,e)}getArgs(){const e={};for(let t=0;t<this._evalArgNames.length;t++)e[this._evalArgNames[t]]=this._evalArgValues[t];return e}visitExternalExpr(e,t){return this._emitReferenceToExternal(e,this.reflector.resolveExternalReference(e.value),t),null}visitWrappedNodeExpr(e,t){return this._emitReferenceToExternal(e,e.node,t),null}visitDeclareVarStmt(e,t){return e.hasModifier(Qe.Exported)&&this._evalExportedVars.push(e.name),super.visitDeclareVarStmt(e,t)}visitDeclareFunctionStmt(e,t){return e.hasModifier(Qe.Exported)&&this._evalExportedVars.push(e.name),super.visitDeclareFunctionStmt(e,t)}visitDeclareClassStmt(e,t){return e.hasModifier(Qe.Exported)&&this._evalExportedVars.push(e.name),super.visitDeclareClassStmt(e,t)}_emitReferenceToExternal(e,t,n){let r=this._evalArgValues.indexOf(t);if(-1===r){r=this._evalArgValues.length,this._evalArgValues.push(t);const e=yn({reference:t})||"val";this._evalArgNames.push(`jit_${e}_${r}`)}n.print(e,this._evalArgNames[r])}}const Zi=10,es=41,ts=44,ns=47,rs=58,is=59,ss=60,os=61,as=62,cs=97,ls=122,us=123,hs=125;function ds(e){return e>=9&&e<=32||160==e}function fs(e){return 48<=e&&e<=57}function ps(e){return e>=cs&&e<=ls||e>=65&&e<=90}function ms(e){return e===Zi||13===e}function gs(e){return 48<=e&&e<=55}class vs{constructor(e,t,n,r){this.file=e,this.offset=t,this.line=n,this.col=r}toString(){return null!=this.offset?`${this.file.url}@${this.line}:${this.col}`:this.file.url}moveBy(e){const t=this.file.content,n=t.length;let r=this.offset,i=this.line,s=this.col;for(;r>0&&e<0;){r--,e++;if(t.charCodeAt(r)==Zi){i--;const e=t.substr(0,r-1).lastIndexOf(String.fromCharCode(Zi));s=e>0?r-e:r}else s--}for(;r<n&&e>0;){const n=t.charCodeAt(r);r++,e--,n==Zi?(i++,s=0):s++}return new vs(this.file,r,i,s)}getContext(e,t){const n=this.file.content;let r=this.offset;if(null!=r){r>n.length-1&&(r=n.length-1);let i=r,s=0,o=0;for(;s<e&&r>0&&(r--,s++,"\n"!=n[r]||++o!=t););for(s=0,o=0;s<e&&i<n.length-1&&(i++,s++,"\n"!=n[i]||++o!=t););return{before:n.substring(r,this.offset),after:n.substring(this.offset,i+1)}}return null}}class ys{constructor(e,t){this.content=e,this.url=t}}class bs{constructor(e,t,n=e,r=null){this.start=e,this.end=t,this.fullStart=n,this.details=r}toString(){return this.start.file.content.substring(this.start.offset,this.end.offset)}}var _s,ws,Ss,xs;!function(e){e[e.WARNING=0]="WARNING",e[e.ERROR=1]="ERROR"}(_s||(_s={}));class Os{constructor(e,t,n=_s.ERROR){this.span=e,this.msg=t,this.level=n}contextualMessage(){const e=this.span.start.getContext(100,3);return e?`${this.msg} ("${e.before}[${_s[this.level]} ->]${e.after}")`:this.msg}toString(){const e=this.span.details?", "+this.span.details:"";return`${this.contextualMessage()}: ${this.span.start}${e}`}}class ks{constructor(e){this.context=e}resolveExternalReference(e){if("@angular/core"!==e.moduleName)throw new Error(`Cannot resolve external reference to ${e.moduleName}, only references to @angular/core are supported.`);if(!this.context.hasOwnProperty(e.name))throw new Error(`No value provided for @angular/core symbol '${e.name}'.`);return this.context[e.name]}parameters(e){throw new Error("Not implemented.")}annotations(e){throw new Error("Not implemented.")}shallowAnnotations(e){throw new Error("Not implemented.")}tryAnnotations(e){throw new Error("Not implemented.")}propMetadata(e){throw new Error("Not implemented.")}hasLifecycleHook(e,t){throw new Error("Not implemented.")}guards(e){throw new Error("Not implemented.")}componentModuleUrl(e,t){throw new Error("Not implemented.")}}function Cs(e,t=!1){return kt(Object.keys(e).map(n=>({key:n,quoted:t,value:e[n]})))}function Ms(e){const{internalType:t,type:n,bootstrap:r,declarations:i,imports:s,exports:o,schemas:a,containsForwardDecls:c,emitInline:l,id:u}=e,h=[],d={type:t};if(r.length&&(d.bootstrap=Ts(r,c)),l)i.length&&(d.declarations=Ts(i,c)),s.length&&(d.imports=Ts(s,c)),o.length&&(d.exports=Ts(o,c));else{const t=function(e){const{adjacentType:t,declarations:n,imports:r,exports:i,containsForwardDecls:s}=e,o={};n.length&&(o.declarations=Ts(n,s));r.length&&(o.imports=Ts(r,s));i.length&&(o.exports=Ts(i,s));if(0===Object.keys(o).length)return null;const a=function(e){const t=new Pe({name:"ngJitMode",moduleName:null}),n=new Ye(he.Identical,new ye(t),Et("undefined")),r=new Ye(he.Or,n,t,void 0,void 0,!0);return new Ye(he.And,r,e)}(new Oe(_t(Nn.setNgModuleScope),[t,Hn(o)])),c=new Ve([],[a.toStmt()]);return new Oe(c,[]).toStmt()}(e);null!==t&&h.push(t)}a&&a.length&&(d.schemas=Ot(a.map(e=>e.value))),u&&(d.id=u);return{expression:_t(Nn.defineNgModule).callFn([Hn(d)]),type:new te(_t(Nn.NgModuleDefWithMeta,[new te(n.type),Es(i),Es(s),Es(o)])),additionalStatements:h}}function Es(e){const t=e.map(e=>xt(e.type));return e.length>0?St(Ot(t)):le}function Ts(e,t){const n=Ot(e.map(e=>e.value));return t?Ct([],[new st(n)]):n}function js(e){const t=[];t.push({key:"name",value:Et(e.pipeName),quoted:!1}),t.push({key:"type",value:e.type.value,quoted:!1}),t.push({key:"pure",value:Et(e.pure),quoted:!1});return{expression:_t(Nn.definePipe).callFn([kt(t)]),type:new te(_t(Nn.PipeDefWithMeta,[Fn(e.type.type,e.typeArgumentCount),new te(new Ce(e.pipeName))]))}}class Ds{constructor(e,t,n,r){this.input=t,this.errLocation=n,this.ctxLocation=r,this.message=`Parser Error: ${e} ${n} [${t}] in ${r}`}}class As{constructor(e,t){this.start=e,this.end=t}toAbsolute(e){return new io(e+this.start,e+this.end)}}class Ls{constructor(e,t){this.span=e,this.sourceSpan=t}visit(e,t=null){return null}toString(){return"AST"}}class zs extends Ls{constructor(e,t,n){super(e,t),this.nameSpan=n}}class Ps extends Ls{constructor(e,t,n,r,i){super(e,t),this.prefix=n,this.uninterpretedExpression=r,this.location=i}visit(e,t=null){return e.visitQuote(this,t)}toString(){return"Quote"}}class Is extends Ls{visit(e,t=null){}}class Rs extends Ls{visit(e,t=null){return e.visitImplicitReceiver(this,t)}}class Ns extends Rs{visit(e,t=null){var n;return null===(n=e.visitThisReceiver)||void 0===n?void 0:n.call(e,this,t)}}class Hs extends Ls{constructor(e,t,n){super(e,t),this.expressions=n}visit(e,t=null){return e.visitChain(this,t)}}class Fs extends Ls{constructor(e,t,n,r,i){super(e,t),this.condition=n,this.trueExp=r,this.falseExp=i}visit(e,t=null){return e.visitConditional(this,t)}}class Vs extends zs{constructor(e,t,n,r,i){super(e,t,n),this.receiver=r,this.name=i}visit(e,t=null){return e.visitPropertyRead(this,t)}}class Bs extends zs{constructor(e,t,n,r,i,s){super(e,t,n),this.receiver=r,this.name=i,this.value=s}visit(e,t=null){return e.visitPropertyWrite(this,t)}}class Ys extends zs{constructor(e,t,n,r,i){super(e,t,n),this.receiver=r,this.name=i}visit(e,t=null){return e.visitSafePropertyRead(this,t)}}class Us extends Ls{constructor(e,t,n,r){super(e,t),this.obj=n,this.key=r}visit(e,t=null){return e.visitKeyedRead(this,t)}}class Ws extends Ls{constructor(e,t,n,r,i){super(e,t),this.obj=n,this.key=r,this.value=i}visit(e,t=null){return e.visitKeyedWrite(this,t)}}class qs extends zs{constructor(e,t,n,r,i,s){super(e,t,s),this.exp=n,this.name=r,this.args=i}visit(e,t=null){return e.visitPipe(this,t)}}class $s extends Ls{constructor(e,t,n){super(e,t),this.value=n}visit(e,t=null){return e.visitLiteralPrimitive(this,t)}}class Gs extends Ls{constructor(e,t,n){super(e,t),this.expressions=n}visit(e,t=null){return e.visitLiteralArray(this,t)}}class Xs extends Ls{constructor(e,t,n,r){super(e,t),this.keys=n,this.values=r}visit(e,t=null){return e.visitLiteralMap(this,t)}}class Ks extends Ls{constructor(e,t,n,r){super(e,t),this.strings=n,this.expressions=r}visit(e,t=null){return e.visitInterpolation(this,t)}}class Js extends Ls{constructor(e,t,n,r,i){super(e,t),this.operation=n,this.left=r,this.right=i}visit(e,t=null){return e.visitBinary(this,t)}}class Qs extends Js{constructor(e,t,n,r,i,s,o){super(e,t,i,s,o),this.operator=n,this.expr=r}static createMinus(e,t,n){return new Qs(e,t,"-",n,"-",new $s(e,t,0),n)}static createPlus(e,t,n){return new Qs(e,t,"+",n,"-",n,new $s(e,t,0))}visit(e,t=null){return void 0!==e.visitUnary?e.visitUnary(this,t):e.visitBinary(this,t)}}class Zs extends Ls{constructor(e,t,n){super(e,t),this.expression=n}visit(e,t=null){return e.visitPrefixNot(this,t)}}class eo extends Ls{constructor(e,t,n){super(e,t),this.expression=n}visit(e,t=null){return e.visitNonNullAssert(this,t)}}class to extends zs{constructor(e,t,n,r,i,s){super(e,t,n),this.receiver=r,this.name=i,this.args=s}visit(e,t=null){return e.visitMethodCall(this,t)}}class no extends zs{constructor(e,t,n,r,i,s){super(e,t,n),this.receiver=r,this.name=i,this.args=s}visit(e,t=null){return e.visitSafeMethodCall(this,t)}}class ro extends Ls{constructor(e,t,n,r){super(e,t),this.target=n,this.args=r}visit(e,t=null){return e.visitFunctionCall(this,t)}}class io{constructor(e,t){this.start=e,this.end=t}}class so extends Ls{constructor(e,t,n,r,i){super(new As(0,null===t?0:t.length),new io(r,null===t?r:r+t.length)),this.ast=e,this.source=t,this.location=n,this.errors=i}visit(e,t=null){return e.visitASTWithSource?e.visitASTWithSource(this,t):this.ast.visit(e,t)}toString(){return`${this.source} in ${this.location}`}}class oo{constructor(e,t,n){this.sourceSpan=e,this.key=t,this.value=n}}class ao{constructor(e,t,n){this.sourceSpan=e,this.key=t,this.value=n}}class co{visit(e,t){e.visit(this,t)}visitUnary(e,t){this.visit(e.expr,t)}visitBinary(e,t){this.visit(e.left,t),this.visit(e.right,t)}visitChain(e,t){this.visitAll(e.expressions,t)}visitConditional(e,t){this.visit(e.condition,t),this.visit(e.trueExp,t),this.visit(e.falseExp,t)}visitPipe(e,t){this.visit(e.exp,t),this.visitAll(e.args,t)}visitFunctionCall(e,t){e.target&&this.visit(e.target,t),this.visitAll(e.args,t)}visitImplicitReceiver(e,t){}visitThisReceiver(e,t){}visitInterpolation(e,t){this.visitAll(e.expressions,t)}visitKeyedRead(e,t){this.visit(e.obj,t),this.visit(e.key,t)}visitKeyedWrite(e,t){this.visit(e.obj,t),this.visit(e.key,t),this.visit(e.value,t)}visitLiteralArray(e,t){this.visitAll(e.expressions,t)}visitLiteralMap(e,t){this.visitAll(e.values,t)}visitLiteralPrimitive(e,t){}visitMethodCall(e,t){this.visit(e.receiver,t),this.visitAll(e.args,t)}visitPrefixNot(e,t){this.visit(e.expression,t)}visitNonNullAssert(e,t){this.visit(e.expression,t)}visitPropertyRead(e,t){this.visit(e.receiver,t)}visitPropertyWrite(e,t){this.visit(e.receiver,t),this.visit(e.value,t)}visitSafePropertyRead(e,t){this.visit(e.receiver,t)}visitSafeMethodCall(e,t){this.visit(e.receiver,t),this.visitAll(e.args,t)}visitQuote(e,t){}visitAll(e,t){for(const n of e)this.visit(n,t)}}class lo{constructor(e,t,n,r,i,s){this.name=e,this.expression=t,this.type=n,this.sourceSpan=r,this.keySpan=i,this.valueSpan=s,this.isLiteral=this.type===ws.LITERAL_ATTR,this.isAnimation=this.type===ws.ANIMATION}}!function(e){e[e.DEFAULT=0]="DEFAULT",e[e.LITERAL_ATTR=1]="LITERAL_ATTR",e[e.ANIMATION=2]="ANIMATION"}(ws||(ws={}));class uo{constructor(e,t,n,r,i,s){this.name=e,this.targetOrPhase=t,this.type=n,this.handler=r,this.sourceSpan=i,this.handlerSpan=s}}class ho{constructor(e,t,n,r,i){this.name=e,this.value=t,this.sourceSpan=n,this.keySpan=r,this.valueSpan=i}}class fo{constructor(e,t,n,r,i,s,o,a){this.name=e,this.type=t,this.securityContext=n,this.value=r,this.unit=i,this.sourceSpan=s,this.keySpan=o,this.valueSpan=a}}class po{}po.event=bt("$event");class mo{constructor(e,t){this.stmts=e,this.allowDefault=t,this.render3Stmts=e.map(e=>{if(e instanceof nt&&e.name==t.name&&e.value instanceof Ye){const t=e.value.lhs;return new st(t.value)}return e})}}function go(e,t,n,r,i,s,o,a){e||(e=new Eo(a));const c=vo({createLiteralArrayConverter:e=>e=>Ot(e),createLiteralMapConverter:e=>t=>kt(e.map((e,n)=>({key:e.key,value:t[n],quoted:e.quoted}))),createPipeConverter:e=>{throw new Error("Illegal State: Actions are not allowed to contain pipes. Pipe: "+e)}},n),l=new Co(e,t,r,i,s,o),u=[];Mo(c.visit(l,xs.Statement),u),function(e,t,n){for(let r=e-1;r>=0;r--)n.unshift(So(t,r))}(l.temporaryCount,r,u),l.usesImplicitReceiver&&e.notifyImplicitReceiverUse();const h=u.length-1;let d=null;if(h>=0){const e=function(e){if(e instanceof it)return e.expr;if(e instanceof st)return e.value;return null}(u[h]);e&&(d=function(e){return bt("pd_"+e)}(r),u[h]=d.set(e.cast(ie).notIdentical(Et(!1))).toDeclStmt(null,[Qe.Final]))}return new mo(u,d)}function vo(e,t){return function(e,t){const n=new ko(e);return t.visit(n)}(e,t)}class yo{constructor(e,t){this.stmts=e,this.currValExpr=t}}function bo(e,t,n,r,i,s){e||(e=new Eo);const o=new Co(e,t,r,s),a=n.visit(o,xs.Expression),c=_o(o,r);if(o.usesImplicitReceiver&&e.notifyImplicitReceiverUse(),0===o.temporaryCount&&i==Ss.TrySimple)return new yo([],a);if(i===Ss.Expression)return new yo(c,a);const l=function(e){return bt("currVal_"+e)}(r);return c.push(l.set(a).toDeclStmt(ie,[Qe.Final])),new yo(c,l)}function _o(e,t){const n=[];for(let r=0;r<e.temporaryCount;r++)n.push(So(t,r));return n}function wo(e,t){return`tmp_${e}_${t}`}function So(e,t){return new nt(wo(e,t),Ke)}function xo(e,t){if(e!==xs.Expression)throw new Error("Expected an expression, but saw "+t)}function Oo(e,t){return e===xs.Statement?t.toStmt():t}!function(e){e[e.General=0]="General",e[e.TrySimple=1]="TrySimple",e[e.Expression=2]="Expression"}(Ss||(Ss={})),function(e){e[e.Statement=0]="Statement",e[e.Expression=1]="Expression"}(xs||(xs={}));class ko extends class{visitImplicitReceiver(e,t){return e}visitThisReceiver(e,t){return e}visitInterpolation(e,t){return new Ks(e.span,e.sourceSpan,e.strings,this.visitAll(e.expressions))}visitLiteralPrimitive(e,t){return new $s(e.span,e.sourceSpan,e.value)}visitPropertyRead(e,t){return new Vs(e.span,e.sourceSpan,e.nameSpan,e.receiver.visit(this),e.name)}visitPropertyWrite(e,t){return new Bs(e.span,e.sourceSpan,e.nameSpan,e.receiver.visit(this),e.name,e.value.visit(this))}visitSafePropertyRead(e,t){return new Ys(e.span,e.sourceSpan,e.nameSpan,e.receiver.visit(this),e.name)}visitMethodCall(e,t){return new to(e.span,e.sourceSpan,e.nameSpan,e.receiver.visit(this),e.name,this.visitAll(e.args))}visitSafeMethodCall(e,t){return new no(e.span,e.sourceSpan,e.nameSpan,e.receiver.visit(this),e.name,this.visitAll(e.args))}visitFunctionCall(e,t){return new ro(e.span,e.sourceSpan,e.target.visit(this),this.visitAll(e.args))}visitLiteralArray(e,t){return new Gs(e.span,e.sourceSpan,this.visitAll(e.expressions))}visitLiteralMap(e,t){return new Xs(e.span,e.sourceSpan,e.keys,this.visitAll(e.values))}visitUnary(e,t){switch(e.operator){case"+":return Qs.createPlus(e.span,e.sourceSpan,e.expr.visit(this));case"-":return Qs.createMinus(e.span,e.sourceSpan,e.expr.visit(this));default:throw new Error("Unknown unary operator "+e.operator)}}visitBinary(e,t){return new Js(e.span,e.sourceSpan,e.operation,e.left.visit(this),e.right.visit(this))}visitPrefixNot(e,t){return new Zs(e.span,e.sourceSpan,e.expression.visit(this))}visitNonNullAssert(e,t){return new eo(e.span,e.sourceSpan,e.expression.visit(this))}visitConditional(e,t){return new Fs(e.span,e.sourceSpan,e.condition.visit(this),e.trueExp.visit(this),e.falseExp.visit(this))}visitPipe(e,t){return new qs(e.span,e.sourceSpan,e.exp.visit(this),e.name,this.visitAll(e.args),e.nameSpan)}visitKeyedRead(e,t){return new Us(e.span,e.sourceSpan,e.obj.visit(this),e.key.visit(this))}visitKeyedWrite(e,t){return new Ws(e.span,e.sourceSpan,e.obj.visit(this),e.key.visit(this),e.value.visit(this))}visitAll(e){const t=[];for(let n=0;n<e.length;++n)t[n]=e[n].visit(this);return t}visitChain(e,t){return new Hs(e.span,e.sourceSpan,this.visitAll(e.expressions))}visitQuote(e,t){return new Ps(e.span,e.sourceSpan,e.prefix,e.uninterpretedExpression,e.location)}}{constructor(e){super(),this._converterFactory=e}visitPipe(e,t){const n=[e.exp,...e.args].map(e=>e.visit(this,t));return new To(e.span,e.sourceSpan,n,this._converterFactory.createPipeConverter(e.name,n.length))}visitLiteralArray(e,t){const n=e.expressions.map(e=>e.visit(this,t));return new To(e.span,e.sourceSpan,n,this._converterFactory.createLiteralArrayConverter(e.expressions.length))}visitLiteralMap(e,t){const n=e.values.map(e=>e.visit(this,t));return new To(e.span,e.sourceSpan,n,this._converterFactory.createLiteralMapConverter(e.keys))}}class Co{constructor(e,t,n,r,i,s){this._localResolver=e,this._implicitReceiver=t,this.bindingId=n,this.interpolationFunction=r,this.baseSourceSpan=i,this.implicitReceiverAccesses=s,this._nodeMap=new Map,this._resultMap=new Map,this._currentTemporary=0,this.temporaryCount=0,this.usesImplicitReceiver=!1}visitUnary(e,t){let n;switch(e.operator){case"+":n=ue.Plus;break;case"-":n=ue.Minus;break;default:throw new Error("Unsupported operator "+e.operator)}return Oo(t,new Be(n,this._visit(e.expr,xs.Expression),void 0,this.convertSourceSpan(e.span)))}visitBinary(e,t){let n;switch(e.operation){case"+":n=he.Plus;break;case"-":n=he.Minus;break;case"*":n=he.Multiply;break;case"/":n=he.Divide;break;case"%":n=he.Modulo;break;case"&&":n=he.And;break;case"||":n=he.Or;break;case"==":n=he.Equals;break;case"!=":n=he.NotEquals;break;case"===":n=he.Identical;break;case"!==":n=he.NotIdentical;break;case"<":n=he.Lower;break;case">":n=he.Bigger;break;case"<=":n=he.LowerEquals;break;case">=":n=he.BiggerEquals;break;default:throw new Error("Unsupported operation "+e.operation)}return Oo(t,new Ye(n,this._visit(e.left,xs.Expression),this._visit(e.right,xs.Expression),void 0,this.convertSourceSpan(e.span)))}visitChain(e,t){return function(e,t){if(e!==xs.Statement)throw new Error("Expected a statement, but saw "+t)}(t,e),this.visitAll(e.expressions,t)}visitConditional(e,t){return Oo(t,this._visit(e.condition,xs.Expression).conditional(this._visit(e.trueExp,xs.Expression),this._visit(e.falseExp,xs.Expression),this.convertSourceSpan(e.span)))}visitPipe(e,t){throw new Error("Illegal state: Pipes should have been converted into functions. Pipe: "+e.name)}visitFunctionCall(e,t){const n=this.visitAll(e.args,xs.Expression);let r;return r=e instanceof To?e.converter(n):this._visit(e.target,xs.Expression).callFn(n,this.convertSourceSpan(e.span)),Oo(t,r)}visitImplicitReceiver(e,t){return xo(t,e),this.usesImplicitReceiver=!0,this._implicitReceiver}visitThisReceiver(e,t){return this.visitImplicitReceiver(e,t)}visitInterpolation(e,t){xo(t,e);const n=[Et(e.expressions.length)];for(let r=0;r<e.strings.length-1;r++)n.push(Et(e.strings[r])),n.push(this._visit(e.expressions[r],xs.Expression));return n.push(Et(e.strings[e.strings.length-1])),this.interpolationFunction?this.interpolationFunction(n):e.expressions.length<=9?_t(un.inlineInterpolate).callFn(n):_t(un.interpolate).callFn([n[0],Ot(n.slice(1),void 0,this.convertSourceSpan(e.span))])}visitKeyedRead(e,t){const n=this.leftMostSafeNode(e);return n?this.convertSafeAccess(e,n,t):Oo(t,this._visit(e.obj,xs.Expression).key(this._visit(e.key,xs.Expression)))}visitKeyedWrite(e,t){const n=this._visit(e.obj,xs.Expression),r=this._visit(e.key,xs.Expression),i=this._visit(e.value,xs.Expression);return Oo(t,n.key(r).set(i))}visitLiteralArray(e,t){throw new Error("Illegal State: literal arrays should have been converted into functions")}visitLiteralMap(e,t){throw new Error("Illegal State: literal maps should have been converted into functions")}visitLiteralPrimitive(e,t){const n=null===e.value||void 0===e.value||!0===e.value||!0===e.value?se:void 0;return Oo(t,Et(e.value,n,this.convertSourceSpan(e.span)))}_getLocal(e,t){var n;return(null===(n=this._localResolver.globals)||void 0===n?void 0:n.has(e))&&t instanceof Ns?null:this._localResolver.getLocal(e)}visitMethodCall(e,t){if(e.receiver instanceof Rs&&!(e.receiver instanceof Ns)&&"$any"===e.name){const t=this.visitAll(e.args,xs.Expression);if(1!=t.length)throw new Error("Invalid call to $any, expected 1 argument but received "+(t.length||"none"));return t[0].cast(ie,this.convertSourceSpan(e.span))}const n=this.leftMostSafeNode(e);if(n)return this.convertSafeAccess(e,n,t);{const n=this.visitAll(e.args,xs.Expression),r=this.usesImplicitReceiver;let i=null;const s=this._visit(e.receiver,xs.Expression);if(s===this._implicitReceiver){const t=this._getLocal(e.name,e.receiver);t&&(this.usesImplicitReceiver=r,i=t.callFn(n),this.addImplicitReceiverAccess(e.name))}return null==i&&(i=s.callMethod(e.name,n,this.convertSourceSpan(e.span))),Oo(t,i)}}visitPrefixNot(e,t){return Oo(t,(n=this._visit(e.expression,xs.Expression),new Re(n,r)));var n,r}visitNonNullAssert(e,t){return Oo(t,(n=this._visit(e.expression,xs.Expression),new Ne(n,r)));var n,r}visitPropertyRead(e,t){const n=this.leftMostSafeNode(e);if(n)return this.convertSafeAccess(e,n,t);{let n=null;const r=this.usesImplicitReceiver,i=this._visit(e.receiver,xs.Expression);return i===this._implicitReceiver&&(n=this._getLocal(e.name,e.receiver),n&&(this.usesImplicitReceiver=r,this.addImplicitReceiverAccess(e.name))),null==n&&(n=i.prop(e.name)),Oo(t,n)}}visitPropertyWrite(e,t){const n=this._visit(e.receiver,xs.Expression),r=this.usesImplicitReceiver;let i=null;if(n===this._implicitReceiver){const t=this._getLocal(e.name,e.receiver);if(t){if(!(t instanceof Ue)){const t=e.name,n=e.value instanceof Vs?e.value.name:void 0;throw new Error(`Cannot assign value "${n}" to template variable "${t}". Template variables are read-only.`)}i=t,this.usesImplicitReceiver=r,this.addImplicitReceiverAccess(e.name)}}return null===i&&(i=n.prop(e.name)),Oo(t,i.set(this._visit(e.value,xs.Expression)))}visitSafePropertyRead(e,t){return this.convertSafeAccess(e,this.leftMostSafeNode(e),t)}visitSafeMethodCall(e,t){return this.convertSafeAccess(e,this.leftMostSafeNode(e),t)}visitAll(e,t){return e.map(e=>this._visit(e,t))}visitQuote(e,t){throw new Error(`Quotes are not supported for evaluation!\n        Statement: ${e.uninterpretedExpression} located at ${e.location}`)}_visit(e,t){const n=this._resultMap.get(e);return n||(this._nodeMap.get(e)||e).visit(this,t)}convertSafeAccess(e,t,n){let r=this._visit(t.receiver,xs.Expression),i=void 0;this.needsTemporary(t.receiver)&&(i=this.allocateTemporary(),r=i.set(r),this._resultMap.set(t.receiver,i));const s=r.isBlank();t instanceof no?this._nodeMap.set(t,new to(t.span,t.sourceSpan,t.nameSpan,t.receiver,t.name,t.args)):this._nodeMap.set(t,new Vs(t.span,t.sourceSpan,t.nameSpan,t.receiver,t.name));const o=this._visit(e,xs.Expression);return this._nodeMap.delete(t),i&&this.releaseTemporary(i),Oo(n,s.conditional(Et(null),o))}leftMostSafeNode(e){const t=(e,t)=>(this._nodeMap.get(t)||t).visit(e);return e.visit({visitUnary:e=>null,visitBinary:e=>null,visitChain:e=>null,visitConditional:e=>null,visitFunctionCall:e=>null,visitImplicitReceiver:e=>null,visitThisReceiver:e=>null,visitInterpolation:e=>null,visitKeyedRead(e){return t(this,e.obj)},visitKeyedWrite:e=>null,visitLiteralArray:e=>null,visitLiteralMap:e=>null,visitLiteralPrimitive:e=>null,visitMethodCall(e){return t(this,e.receiver)},visitPipe:e=>null,visitPrefixNot:e=>null,visitNonNullAssert:e=>null,visitPropertyRead(e){return t(this,e.receiver)},visitPropertyWrite:e=>null,visitQuote:e=>null,visitSafeMethodCall(e){return t(this,e.receiver)||e},visitSafePropertyRead(e){return t(this,e.receiver)||e}})}needsTemporary(e){const t=(e,t)=>t&&(this._nodeMap.get(t)||t).visit(e);return e.visit({visitUnary(e){return t(this,e.expr)},visitBinary(e){return t(this,e.left)||t(this,e.right)},visitChain:e=>!1,visitConditional(e){return t(this,e.condition)||t(this,e.trueExp)||t(this,e.falseExp)},visitFunctionCall:e=>!0,visitImplicitReceiver:e=>!1,visitThisReceiver:e=>!1,visitInterpolation(e){return((e,n)=>n.some(n=>t(e,n)))(this,e.expressions)},visitKeyedRead:e=>!1,visitKeyedWrite:e=>!1,visitLiteralArray:e=>!0,visitLiteralMap:e=>!0,visitLiteralPrimitive:e=>!1,visitMethodCall:e=>!0,visitPipe:e=>!0,visitPrefixNot(e){return t(this,e.expression)},visitNonNullAssert(e){return t(this,e.expression)},visitPropertyRead:e=>!1,visitPropertyWrite:e=>!1,visitQuote:e=>!1,visitSafeMethodCall:e=>!0,visitSafePropertyRead:e=>!1})}allocateTemporary(){const e=this._currentTemporary++;return this.temporaryCount=Math.max(this._currentTemporary,this.temporaryCount),new ve(wo(this.bindingId,e))}releaseTemporary(e){if(this._currentTemporary--,e.name!=wo(this.bindingId,this._currentTemporary))throw new Error(`Temporary ${e.name} released out of order`)}convertSourceSpan(e){if(this.baseSourceSpan){const t=this.baseSourceSpan.start.moveBy(e.start),n=this.baseSourceSpan.start.moveBy(e.end),r=this.baseSourceSpan.fullStart.moveBy(e.start);return new bs(t,n,r)}return null}addImplicitReceiverAccess(e){this.implicitReceiverAccesses&&this.implicitReceiverAccesses.add(e)}}function Mo(e,t){Array.isArray(e)?e.forEach(e=>Mo(e,t)):t.push(e)}class Eo{constructor(e){this.globals=e}notifyImplicitReceiverUse(){}getLocal(e){return e===po.event.name?po.event:null}}class To extends ro{constructor(e,t,n,r){super(e,t,null,n),this.args=n,this.converter=r}}class jo{constructor(){this.strictStyling=!0}shimCssText(e,t,n=""){const r=e.match(Xo)||[];e=function(e){return e.replace(Go,"")}(e),e=this._insertDirectives(e);return[this._scopeCssText(e,t,n),...r].join("\n")}_insertDirectives(e){return e=this._insertPolyfillDirectivesInCssText(e),this._insertPolyfillRulesInCssText(e)}_insertPolyfillDirectivesInCssText(e){return e.replace(Ao,function(...e){return e[2]+"{"})}_insertPolyfillRulesInCssText(e){return e.replace(Lo,(...e)=>{const t=e[0].replace(e[1],"").replace(e[2],"");return e[4]+t})}_scopeCssText(e,t,n){const r=this._extractUnscopedRulesFromCssText(e);return e=this._insertPolyfillHostInCssText(e),e=this._convertColonHost(e),e=this._convertColonHostContext(e),e=this._convertShadowDOMSelectors(e),t&&(e=this._scopeSelectors(e,t,n)),(e=e+"\n"+r).trim()}_extractUnscopedRulesFromCssText(e){let t,n="";for(zo.lastIndex=0;null!==(t=zo.exec(e));){n+=t[0].replace(t[2],"").replace(t[1],t[4])+"\n\n"}return n}_convertColonHost(e){return this._convertColonRule(e,No,this._colonHostPartReplacer)}_convertColonHostContext(e){return this._convertColonRule(e,Ho,this._colonHostContextPartReplacer)}_convertColonRule(e,t,n){return e.replace(t,function(...e){if(e[2]){const t=e[2].split(","),r=[];for(let i=0;i<t.length;i++){const s=t[i].trim();if(!s)break;r.push(n(Fo,s,e[3]))}return r.join(",")}return Fo+e[3]})}_colonHostContextPartReplacer(e,t,n){return t.indexOf(Po)>-1?this._colonHostPartReplacer(e,t,n):e+t+n+", "+t+" "+e+n}_colonHostPartReplacer(e,t,n){return e+t.replace(Po,"")+n}_convertShadowDOMSelectors(e){return Bo.reduce((e,t)=>e.replace(t," "),e)}_scopeSelectors(e,t,n){return function(e,t){const n=ia(e,ta,Jo),r=ia(n.escapedString,ea,Ko);let i=0,s=0;return r.escapedString.replace(Qo,(...e)=>{const n=e[2];let s="",o=e[4],a="";o&&o.startsWith("{%BLOCK%")&&(s=r.blocks[i++],o=o.substring(Ko.length+1),a="{");const c=t(new na(n,s));return`${e[1]}${c.selector}${e[3]}${a}${c.content}${o}`}).replace(Zo,()=>n.blocks[s++])}(e,e=>{let r=e.selector,i=e.content;return"@"!=e.selector[0]?r=this._scopeSelector(e.selector,t,n,this.strictStyling):(e.selector.startsWith("@media")||e.selector.startsWith("@supports")||e.selector.startsWith("@page")||e.selector.startsWith("@document"))&&(i=this._scopeSelectors(e.content,t,n)),new na(r,i)})}_scopeSelector(e,t,n,r){return e.split(",").map(e=>e.trim().split(Yo)).map(e=>{const[i,...s]=e;return[(e=>this._selectorNeedsScoping(e,t)?r?this._applyStrictSelectorScope(e,t,n):this._applySelectorScope(e,t,n):e)(i),...s].join(" ")}).join(", ")}_selectorNeedsScoping(e,t){return!this._makeScopeMatcher(t).test(e)}_makeScopeMatcher(e){return e=e.replace(/\[/g,"\\[").replace(/\]/g,"\\]"),new RegExp("^("+e+")"+Uo,"m")}_applySelectorScope(e,t,n){return this._applySimpleSelectorScope(e,t,n)}_applySimpleSelectorScope(e,t,n){if(Wo.lastIndex=0,Wo.test(e)){const r=this.strictStyling?`[${n}]`:t;return e.replace(Vo,(e,t)=>t.replace(/([^:]*)(:*)(.*)/,(e,t,n,i)=>t+r+n+i)).replace(Wo,r+" ")}return t+" "+e}_applyStrictSelectorScope(e,t,n){const r="["+(t=t.replace(/\[is=([^\]]*)\]/g,(e,...t)=>t[0]))+"]",i=e=>{let i=e.trim();if(!i)return"";if(e.indexOf(Fo)>-1)i=this._applySimpleSelectorScope(e,t,n);else{const t=e.replace(Wo,"");if(t.length>0){const e=t.match(/([^:]*)(:*)(.*)/);e&&(i=e[1]+r+e[2]+e[3])}}return i},s=new Do(e);let o,a="",c=0;const l=/( |>|\+|~(?!=))\s*/g;let u=!((e=s.content()).indexOf(Fo)>-1);for(;null!==(o=l.exec(e));){const t=o[1],n=e.slice(c,o.index).trim();u=u||n.indexOf(Fo)>-1;a+=`${u?i(n):n} ${t} `,c=l.lastIndex}const h=e.substring(c);return u=u||h.indexOf(Fo)>-1,a+=u?i(h):h,s.restore(a)}_insertPolyfillHostInCssText(e){return e.replace($o,Io).replace(qo,Po)}}class Do{constructor(e){this.placeholders=[],this.index=0,e=this._escapeRegexMatches(e,/(\[[^\]]*\])/g),e=this._escapeRegexMatches(e,/(\\.)/g),this._content=e.replace(/(:nth-[-\w]+)(\([^)]+\))/g,(e,t,n)=>{const r=`__ph-${this.index}__`;return this.placeholders.push(n),this.index++,t+r})}restore(e){return e.replace(/__ph-(\d+)__/g,(e,t)=>this.placeholders[+t])}content(){return this._content}_escapeRegexMatches(e,t){return e.replace(t,(e,t)=>{const n=`__ph-${this.index}__`;return this.placeholders.push(t),this.index++,n})}}const Ao=/polyfill-next-selector[^}]*content:[\s]*?(['"])(.*?)\1[;\s]*}([^{]*?){/gim,Lo=/(polyfill-rule)[^}]*(content:[\s]*(['"])(.*?)\3)[;\s]*[^}]*}/gim,zo=/(polyfill-unscoped-rule)[^}]*(content:[\s]*(['"])(.*?)\3)[;\s]*[^}]*}/gim,Po="-shadowcsshost",Io="-shadowcsscontext",Ro=")(?:\\(((?:\\([^)(]*\\)|[^)(]*)+?)\\))?([^,{]*)",No=new RegExp("("+Po+Ro,"gim"),Ho=new RegExp("("+Io+Ro,"gim"),Fo=Po+"-no-combinator",Vo=/-shadowcsshost-no-combinator([^\s]*)/,Bo=[/::shadow/g,/::content/g,/\/shadow-deep\//g,/\/shadow\//g],Yo=/(?:>>>)|(?:\/deep\/)|(?:::ng-deep)/g,Uo="([>\\s~+[.,{:][\\s\\S]*)?$",Wo=/-shadowcsshost/gim,qo=/:host/gim,$o=/:host-context/gim,Go=/\/\*\s*[\s\S]*?\*\//g;const Xo=/\/\*\s*#\s*source(Mapping)?URL=[\s\S]+?\*\//g;const Ko="%BLOCK%",Jo="%QUOTED%",Qo=/(\s*)([^;\{\}]+?)(\s*)((?:{%BLOCK%}?\s*;?)|(?:\s*;))/g,Zo=/%QUOTED%/g,ea=new Map([["{","}"]]),ta=new Map([['"','"'],["'","'"]]);class na{constructor(e,t){this.selector=e,this.content=t}}class ra{constructor(e,t){this.escapedString=e,this.blocks=t}}function ia(e,t,n){const r=[],i=[];let s,o,a=0,c=0,l=-1;for(let u=0;u<e.length;u++){const h=e[u];"\\"===h?u++:h===o?(a--,0===a&&(i.push(e.substring(l,u)),r.push(n),c=u,l=-1,s=o=void 0)):h===s?a++:0===a&&t.has(h)&&(s=h,o=t.get(h),a=1,l=u+1,r.push(e.substring(c,l)))}return-1!==l?(i.push(e.substring(l)),r.push(n)):r.push(e.substring(c)),new ra(r.join(""),i)}const sa="_nghost-%COMP%",oa="_ngcontent-%COMP%";class aa{constructor(e,t,n){this.name=e,this.moduleUrl=t,this.setValue=n}}class ca{constructor(e,t,n,r,i){this.outputCtx=e,this.stylesVar=t,this.dependencies=n,this.isShimmed=r,this.meta=i}}class la{constructor(e){this._urlResolver=e,this._shadowCss=new jo}compileComponent(e,t){const n=t.template;return this._compileStyles(e,t,new Cn({styles:n.styles,styleUrls:n.styleUrls,moduleUrl:bn(t.type)}),this.needsStyleShim(t),!0)}compileStyles(e,t,n,r=this.needsStyleShim(t)){return this._compileStyles(e,t,n,r,!1)}needsStyleShim(e){return e.template.encapsulation===T.Emulated}_compileStyles(e,t,n,r,i){const s=n.styles.map(e=>Et(this._shimIfNeeded(e,r))),o=[];n.styleUrls.forEach(t=>{const n=s.length;s.push(null),o.push(new aa(ua(null),t,t=>s[n]=e.importExpr(t)))});const a=ua(i?t:null),c=bt(a).set(Ot(s,new ne(ie,[J.Const]))).toDeclStmt(null,i?[Qe.Final]:[Qe.Final,Qe.Exported]);return e.statements.push(c),new ca(e,a,o,r,n)}_shimIfNeeded(e,t){return t?this._shadowCss.shimCssText(e,oa,sa):e}}function ua(e){let t="styles";return e&&(t+="_"+yn(e.type)),t}class ha{constructor(e,t){this.sourceSpan=e,this.i18n=t}}class da extends ha{constructor(e,t,n){super(t,n),this.value=e}visit(e,t){return e.visitText(this,t)}}class fa extends ha{constructor(e,t,n,r,i,s){super(r,s),this.switchValue=e,this.type=t,this.cases=n,this.switchValueSourceSpan=i}visit(e,t){return e.visitExpansion(this,t)}}class pa{constructor(e,t,n,r,i){this.value=e,this.expression=t,this.sourceSpan=n,this.valueSourceSpan=r,this.expSourceSpan=i}visit(e,t){return e.visitExpansionCase(this,t)}}class ma extends ha{constructor(e,t,n,r,i){super(n,i),this.name=e,this.value=t,this.valueSpan=r}visit(e,t){return e.visitAttribute(this,t)}}class ga extends ha{constructor(e,t,n,r,i,s=null,o){super(r,o),this.name=e,this.attrs=t,this.children=n,this.startSourceSpan=i,this.endSourceSpan=s}visit(e,t){return e.visitElement(this,t)}}class va{constructor(e,t){this.value=e,this.sourceSpan=t}visit(e,t){return e.visitComment(this,t)}}function ya(e,t,n=null){const r=[],i=e.visit?t=>e.visit(t,n)||t.visit(e,n):t=>t.visit(e,n);return t.forEach(e=>{const t=i(e);t&&r.push(t)}),r}var ba;!function(e){e[e.TAG_OPEN_START=0]="TAG_OPEN_START",e[e.TAG_OPEN_END=1]="TAG_OPEN_END",e[e.TAG_OPEN_END_VOID=2]="TAG_OPEN_END_VOID",e[e.TAG_CLOSE=3]="TAG_CLOSE",e[e.INCOMPLETE_TAG_OPEN=4]="INCOMPLETE_TAG_OPEN",e[e.TEXT=5]="TEXT",e[e.ESCAPABLE_RAW_TEXT=6]="ESCAPABLE_RAW_TEXT",e[e.RAW_TEXT=7]="RAW_TEXT",e[e.COMMENT_START=8]="COMMENT_START",e[e.COMMENT_END=9]="COMMENT_END",e[e.CDATA_START=10]="CDATA_START",e[e.CDATA_END=11]="CDATA_END",e[e.ATTR_NAME=12]="ATTR_NAME",e[e.ATTR_QUOTE=13]="ATTR_QUOTE",e[e.ATTR_VALUE=14]="ATTR_VALUE",e[e.DOC_TYPE=15]="DOC_TYPE",e[e.EXPANSION_FORM_START=16]="EXPANSION_FORM_START",e[e.EXPANSION_CASE_VALUE=17]="EXPANSION_CASE_VALUE",e[e.EXPANSION_CASE_EXP_START=18]="EXPANSION_CASE_EXP_START",e[e.EXPANSION_CASE_EXP_END=19]="EXPANSION_CASE_EXP_END",e[e.EXPANSION_FORM_END=20]="EXPANSION_FORM_END",e[e.EOF=21]="EOF"}(ba||(ba={}));class _a{constructor(e,t,n){this.type=e,this.parts=t,this.sourceSpan=n}}class wa extends Os{constructor(e,t,n){super(n,e),this.tokenType=t}}class Sa{constructor(e,t,n){this.tokens=e,this.errors=t,this.nonNormalizedIcuExpressions=n}}function xa(e,t,n,r={}){const i=new Ta(new ys(e,t),n,r);return i.tokenize(),new Sa(function(e){const t=[];let n=void 0;for(let r=0;r<e.length;r++){const i=e[r];n&&n.type==ba.TEXT&&i.type==ba.TEXT?(n.parts[0]+=i.parts[0],n.sourceSpan.end=i.sourceSpan.end):(n=i,t.push(n))}return t}(i.tokens),i.errors,i.nonNormalizedIcuExpressions)}const Oa=/\r\n?/g;function ka(e){return`Unexpected character "${0===e?"EOF":String.fromCharCode(e)}"`}function Ca(e){return`Unknown entity "${e}" - use the "&#<decimal>;" or  "&#x<hex>;" syntax`}var Ma;!function(e){e.HEX="hexadecimal",e.DEC="decimal"}(Ma||(Ma={}));class Ea{constructor(e){this.error=e}}class Ta{constructor(e,t,n){this._getTagDefinition=t,this._currentTokenStart=null,this._currentTokenType=null,this._expansionCaseStack=[],this._inInterpolation=!1,this.tokens=[],this.errors=[],this.nonNormalizedIcuExpressions=[],this._tokenizeIcu=n.tokenizeExpansionForms||!1,this._interpolationConfig=n.interpolationConfig||Ii,this._leadingTriviaCodePoints=n.leadingTriviaChars&&n.leadingTriviaChars.map(e=>e.codePointAt(0)||0);const r=n.range||{endPos:e.content.length,startPos:0,startLine:0,startCol:0};this._cursor=n.escapedString?new Ia(e,r):new Pa(e,r),this._preserveLineEndings=n.preserveLineEndings||!1,this._escapedString=n.escapedString||!1,this._i18nNormalizeLineEndingsInICUs=n.i18nNormalizeLineEndingsInICUs||!1;try{this._cursor.init()}catch(i){this.handleError(i)}}_processCarriageReturns(e){return this._preserveLineEndings?e:e.replace(Oa,"\n")}tokenize(){for(;0!==this._cursor.peek();){const t=this._cursor.clone();try{this._attemptCharCode(ss)?this._attemptCharCode(33)?this._attemptCharCode(91)?this._consumeCdata(t):this._attemptCharCode(45)?this._consumeComment(t):this._consumeDocType(t):this._attemptCharCode(ns)?this._consumeTagClose(t):this._consumeTagOpen(t):this._tokenizeIcu&&this._tokenizeExpansionForm()||this._consumeText()}catch(e){this.handleError(e)}}this._beginToken(ba.EOF),this._endToken([])}_tokenizeExpansionForm(){if(this.isExpansionFormStart())return this._consumeExpansionFormStart(),!0;if(this._cursor.peek()!==hs&&this._isInExpansionForm())return this._consumeExpansionCaseStart(),!0;if(this._cursor.peek()===hs){if(this._isInExpansionCase())return this._consumeExpansionCaseEnd(),!0;if(this._isInExpansionForm())return this._consumeExpansionFormEnd(),!0}return!1}_beginToken(e,t=this._cursor.clone()){this._currentTokenStart=t,this._currentTokenType=e}_endToken(e,t){if(null===this._currentTokenStart)throw new wa("Programming error - attempted to end a token when there was no start to the token",this._currentTokenType,this._cursor.getSpan(t));if(null===this._currentTokenType)throw new wa("Programming error - attempted to end a token which has no token type",null,this._cursor.getSpan(this._currentTokenStart));const n=new _a(this._currentTokenType,e,this._cursor.getSpan(this._currentTokenStart,this._leadingTriviaCodePoints));return this.tokens.push(n),this._currentTokenStart=null,this._currentTokenType=null,n}_createError(e,t){this._isInExpansionForm()&&(e+=' (Do you have an unescaped "{" in your template? Use "{{ \'{\' }}") to escape it.)');const n=new wa(e,this._currentTokenType,t);return this._currentTokenStart=null,this._currentTokenType=null,new Ea(n)}handleError(e){if(e instanceof Ra&&(e=this._createError(e.msg,this._cursor.getSpan(e.cursor))),!(e instanceof Ea))throw e;this.errors.push(e.error)}_attemptCharCode(e){return this._cursor.peek()===e&&(this._cursor.advance(),!0)}_attemptCharCodeCaseInsensitive(e){return t=this._cursor.peek(),n=e,za(t)==za(n)&&(this._cursor.advance(),!0);var t,n}_requireCharCode(e){const t=this._cursor.clone();if(!this._attemptCharCode(e))throw this._createError(ka(this._cursor.peek()),this._cursor.getSpan(t))}_attemptStr(e){const t=e.length;if(this._cursor.charsLeft()<t)return!1;const n=this._cursor.clone();for(let r=0;r<t;r++)if(!this._attemptCharCode(e.charCodeAt(r)))return this._cursor=n,!1;return!0}_attemptStrCaseInsensitive(e){for(let t=0;t<e.length;t++)if(!this._attemptCharCodeCaseInsensitive(e.charCodeAt(t)))return!1;return!0}_requireStr(e){const t=this._cursor.clone();if(!this._attemptStr(e))throw this._createError(ka(this._cursor.peek()),this._cursor.getSpan(t))}_attemptCharCodeUntilFn(e){for(;!e(this._cursor.peek());)this._cursor.advance()}_requireCharCodeUntilFn(e,t){const n=this._cursor.clone();if(this._attemptCharCodeUntilFn(e),this._cursor.diff(n)<t)throw this._createError(ka(this._cursor.peek()),this._cursor.getSpan(n))}_attemptUntilChar(e){for(;this._cursor.peek()!==e;)this._cursor.advance()}_readChar(e){if(e&&38===this._cursor.peek())return this._decodeEntity();{const e=String.fromCodePoint(this._cursor.peek());return this._cursor.advance(),e}}_decodeEntity(){const e=this._cursor.clone();if(this._cursor.advance(),!this._attemptCharCode(35)){const t=this._cursor.clone();if(this._attemptCharCodeUntilFn(La),this._cursor.peek()!=is)return this._cursor=t,"&";const n=this._cursor.getChars(t);this._cursor.advance();const r=h[n];if(!r)throw this._createError(Ca(n),this._cursor.getSpan(e));return r}{const r=this._attemptCharCode(120)||this._attemptCharCode(88),i=this._cursor.clone();if(this._attemptCharCodeUntilFn(Aa),this._cursor.peek()!=is){this._cursor.advance();const n=r?Ma.HEX:Ma.DEC;throw this._createError((t=n,`Unable to parse entity "${this._cursor.getChars(e)}" - ${t} character reference entities must end with ";"`),this._cursor.getSpan())}const s=this._cursor.getChars(i);this._cursor.advance();try{const e=parseInt(s,r?16:10);return String.fromCharCode(e)}catch(n){throw this._createError(Ca(this._cursor.getChars(e)),this._cursor.getSpan())}}var t}_consumeRawText(e,t){this._beginToken(e?ba.ESCAPABLE_RAW_TEXT:ba.RAW_TEXT);const n=[];for(;;){const r=this._cursor.clone(),i=t();if(this._cursor=r,i)break;n.push(this._readChar(e))}return this._endToken([this._processCarriageReturns(n.join(""))])}_consumeComment(e){this._beginToken(ba.COMMENT_START,e),this._requireCharCode(45),this._endToken([]),this._consumeRawText(!1,()=>this._attemptStr("--\x3e")),this._beginToken(ba.COMMENT_END),this._requireStr("--\x3e"),this._endToken([])}_consumeCdata(e){this._beginToken(ba.CDATA_START,e),this._requireStr("CDATA["),this._endToken([]),this._consumeRawText(!1,()=>this._attemptStr("]]>")),this._beginToken(ba.CDATA_END),this._requireStr("]]>"),this._endToken([])}_consumeDocType(e){this._beginToken(ba.DOC_TYPE,e);const t=this._cursor.clone();this._attemptUntilChar(as);const n=this._cursor.getChars(t);this._cursor.advance(),this._endToken([n])}_consumePrefixAndName(){const e=this._cursor.clone();let t="";for(;this._cursor.peek()!==rs&&!(((n=this._cursor.peek())<cs||ls<n)&&(n<65||90<n)&&(n<48||n>57));)this._cursor.advance();var n;let r;this._cursor.peek()===rs?(t=this._cursor.getChars(e),this._cursor.advance(),r=this._cursor.clone()):r=e,this._requireCharCodeUntilFn(Da,""===t?0:1);return[t,this._cursor.getChars(r)]}_consumeTagOpen(e){let t,n,i;try{if(!ps(this._cursor.peek()))throw this._createError(ka(this._cursor.peek()),this._cursor.getSpan(e));for(i=this._consumeTagOpenStart(e),n=i.parts[0],t=i.parts[1],this._attemptCharCodeUntilFn(ja);this._cursor.peek()!==ns&&this._cursor.peek()!==as&&this._cursor.peek()!==ss;)this._consumeAttributeName(),this._attemptCharCodeUntilFn(ja),this._attemptCharCode(os)&&(this._attemptCharCodeUntilFn(ja),this._consumeAttributeValue()),this._attemptCharCodeUntilFn(ja);this._consumeTagOpenEnd()}catch(o){if(o instanceof Ea)return void(i?i.type=ba.INCOMPLETE_TAG_OPEN:(this._beginToken(ba.TEXT,e),this._endToken(["<"])));throw o}const s=this._getTagDefinition(t).getContentType(n);s===r.RAW_TEXT?this._consumeRawTextWithTagClose(n,t,!1):s===r.ESCAPABLE_RAW_TEXT&&this._consumeRawTextWithTagClose(n,t,!0)}_consumeRawTextWithTagClose(e,t,n){this._consumeRawText(n,()=>!!this._attemptCharCode(ss)&&(!!this._attemptCharCode(ns)&&(this._attemptCharCodeUntilFn(ja),!!this._attemptStrCaseInsensitive(t)&&(this._attemptCharCodeUntilFn(ja),this._attemptCharCode(as))))),this._beginToken(ba.TAG_CLOSE),this._requireCharCodeUntilFn(e=>e===as,3),this._cursor.advance(),this._endToken([e,t])}_consumeTagOpenStart(e){this._beginToken(ba.TAG_OPEN_START,e);const t=this._consumePrefixAndName();return this._endToken(t)}_consumeAttributeName(){const e=this._cursor.peek();if(39===e||34===e)throw this._createError(ka(e),this._cursor.getSpan());this._beginToken(ba.ATTR_NAME);const t=this._consumePrefixAndName();this._endToken(t)}_consumeAttributeValue(){let e;if(39===this._cursor.peek()||34===this._cursor.peek()){this._beginToken(ba.ATTR_QUOTE);const t=this._cursor.peek();this._cursor.advance(),this._endToken([String.fromCodePoint(t)]),this._beginToken(ba.ATTR_VALUE);const n=[];for(;this._cursor.peek()!==t;)n.push(this._readChar(!0));e=n.join(""),this._endToken([this._processCarriageReturns(e)]),this._beginToken(ba.ATTR_QUOTE),this._cursor.advance(),this._endToken([String.fromCodePoint(t)])}else{this._beginToken(ba.ATTR_VALUE);const t=this._cursor.clone();this._requireCharCodeUntilFn(Da,1),e=this._cursor.getChars(t),this._endToken([this._processCarriageReturns(e)])}}_consumeTagOpenEnd(){const e=this._attemptCharCode(ns)?ba.TAG_OPEN_END_VOID:ba.TAG_OPEN_END;this._beginToken(e),this._requireCharCode(as),this._endToken([])}_consumeTagClose(e){this._beginToken(ba.TAG_CLOSE,e),this._attemptCharCodeUntilFn(ja);const t=this._consumePrefixAndName();this._attemptCharCodeUntilFn(ja),this._requireCharCode(as),this._endToken(t)}_consumeExpansionFormStart(){this._beginToken(ba.EXPANSION_FORM_START),this._requireCharCode(us),this._endToken([]),this._expansionCaseStack.push(ba.EXPANSION_FORM_START),this._beginToken(ba.RAW_TEXT);const e=this._readUntil(ts),t=this._processCarriageReturns(e);if(this._i18nNormalizeLineEndingsInICUs)this._endToken([t]);else{const n=this._endToken([e]);t!==e&&this.nonNormalizedIcuExpressions.push(n)}this._requireCharCode(ts),this._attemptCharCodeUntilFn(ja),this._beginToken(ba.RAW_TEXT);const n=this._readUntil(ts);this._endToken([n]),this._requireCharCode(ts),this._attemptCharCodeUntilFn(ja)}_consumeExpansionCaseStart(){this._beginToken(ba.EXPANSION_CASE_VALUE);const e=this._readUntil(us).trim();this._endToken([e]),this._attemptCharCodeUntilFn(ja),this._beginToken(ba.EXPANSION_CASE_EXP_START),this._requireCharCode(us),this._endToken([]),this._attemptCharCodeUntilFn(ja),this._expansionCaseStack.push(ba.EXPANSION_CASE_EXP_START)}_consumeExpansionCaseEnd(){this._beginToken(ba.EXPANSION_CASE_EXP_END),this._requireCharCode(hs),this._endToken([]),this._attemptCharCodeUntilFn(ja),this._expansionCaseStack.pop()}_consumeExpansionFormEnd(){this._beginToken(ba.EXPANSION_FORM_END),this._requireCharCode(hs),this._endToken([]),this._expansionCaseStack.pop()}_consumeText(){const e=this._cursor.clone();this._beginToken(ba.TEXT,e);const t=[];do{this._interpolationConfig&&this._attemptStr(this._interpolationConfig.start)?(t.push(this._interpolationConfig.start),this._inInterpolation=!0):this._interpolationConfig&&this._inInterpolation&&this._attemptStr(this._interpolationConfig.end)?(t.push(this._interpolationConfig.end),this._inInterpolation=!1):t.push(this._readChar(!0))}while(!this._isTextEnd());this._endToken([this._processCarriageReturns(t.join(""))])}_isTextEnd(){if(this._cursor.peek()===ss||0===this._cursor.peek())return!0;if(this._tokenizeIcu&&!this._inInterpolation){if(this.isExpansionFormStart())return!0;if(this._cursor.peek()===hs&&this._isInExpansionCase())return!0}return!1}_readUntil(e){const t=this._cursor.clone();return this._attemptUntilChar(e),this._cursor.getChars(t)}_isInExpansionCase(){return this._expansionCaseStack.length>0&&this._expansionCaseStack[this._expansionCaseStack.length-1]===ba.EXPANSION_CASE_EXP_START}_isInExpansionForm(){return this._expansionCaseStack.length>0&&this._expansionCaseStack[this._expansionCaseStack.length-1]===ba.EXPANSION_FORM_START}isExpansionFormStart(){if(this._cursor.peek()!==us)return!1;if(this._interpolationConfig){const e=this._cursor.clone(),t=this._attemptStr(this._interpolationConfig.start);return this._cursor=e,!t}return!0}}function ja(e){return!ds(e)||0===e}function Da(e){return ds(e)||e===as||e===ss||e===ns||39===e||34===e||e===os}function Aa(e){return e==is||0==e||!function(e){return e>=cs&&e<=102||e>=65&&e<=70||fs(e)}(e)}function La(e){return e==is||0==e||!ps(e)}function za(e){return e>=cs&&e<=ls?e-cs+65:e}class Pa{constructor(e,t){if(e instanceof Pa){this.file=e.file,this.input=e.input,this.end=e.end;const t=e.state;this.state={peek:t.peek,offset:t.offset,line:t.line,column:t.column}}else{if(!t)throw new Error("Programming error: the range argument must be provided with a file argument.");this.file=e,this.input=e.content,this.end=t.endPos,this.state={peek:-1,offset:t.startPos,line:t.startLine,column:t.startCol}}}clone(){return new Pa(this)}peek(){return this.state.peek}charsLeft(){return this.end-this.state.offset}diff(e){return this.state.offset-e.state.offset}advance(){this.advanceState(this.state)}init(){this.updatePeek(this.state)}getSpan(e,t){let n=e=e||this;if(t)for(;this.diff(e)>0&&-1!==t.indexOf(e.peek());)n===e&&(e=e.clone()),e.advance();const r=this.locationFromCursor(e),i=this.locationFromCursor(this),s=n!==e?this.locationFromCursor(n):r;return new bs(r,i,s)}getChars(e){return this.input.substring(e.state.offset,this.state.offset)}charAt(e){return this.input.charCodeAt(e)}advanceState(e){if(e.offset>=this.end)throw this.state=e,new Ra('Unexpected character "EOF"',this);const t=this.charAt(e.offset);t===Zi?(e.line++,e.column=0):ms(t)||e.column++,e.offset++,this.updatePeek(e)}updatePeek(e){e.peek=e.offset>=this.end?0:this.charAt(e.offset)}locationFromCursor(e){return new vs(e.file,e.state.offset,e.state.line,e.state.column)}}class Ia extends Pa{constructor(e,t){e instanceof Ia?(super(e),this.internalState=Object.assign({},e.internalState)):(super(e,t),this.internalState=this.state)}advance(){this.state=this.internalState,super.advance(),this.processEscapeSequence()}init(){super.init(),this.processEscapeSequence()}clone(){return new Ia(this)}getChars(e){const t=e.clone();let n="";for(;t.internalState.offset<this.internalState.offset;)n+=String.fromCodePoint(t.peek()),t.advance();return n}processEscapeSequence(){const e=()=>this.internalState.peek;if(92===e())if(this.internalState=Object.assign({},this.state),this.advanceState(this.internalState),110===e())this.state.peek=Zi;else if(114===e())this.state.peek=13;else if(118===e())this.state.peek=11;else if(116===e())this.state.peek=9;else if(98===e())this.state.peek=8;else if(102===e())this.state.peek=12;else if(117===e())if(this.advanceState(this.internalState),e()===us){this.advanceState(this.internalState);const t=this.clone();let n=0;for(;e()!==hs;)this.advanceState(this.internalState),n++;this.state.peek=this.decodeHexDigits(t,n)}else{const e=this.clone();this.advanceState(this.internalState),this.advanceState(this.internalState),this.advanceState(this.internalState),this.state.peek=this.decodeHexDigits(e,4)}else if(120===e()){this.advanceState(this.internalState);const e=this.clone();this.advanceState(this.internalState),this.state.peek=this.decodeHexDigits(e,2)}else if(gs(e())){let t="",n=0,r=this.clone();for(;gs(e())&&n<3;)r=this.clone(),t+=String.fromCodePoint(e()),this.advanceState(this.internalState),n++;this.state.peek=parseInt(t,8),this.internalState=r.internalState}else ms(this.internalState.peek)?(this.advanceState(this.internalState),this.state=this.internalState):this.state.peek=this.internalState.peek}decodeHexDigits(e,t){const n=this.input.substr(e.internalState.offset,t),r=parseInt(n,16);if(isNaN(r))throw e.state=e.internalState,new Ra("Invalid hexadecimal escape sequence",e);return r}}class Ra{constructor(e,t){this.msg=e,this.cursor=t}}class Na extends Os{constructor(e,t,n){super(t,n),this.elementName=e}static create(e,t,n){return new Na(e,t,n)}}class Ha{constructor(e,t){this.rootNodes=e,this.errors=t}}class Fa{constructor(e){this.getTagDefinition=e}parse(e,t,n){const r=xa(e,t,this.getTagDefinition,n),i=new Va(r.tokens,this.getTagDefinition);return i.build(),new Ha(i.rootNodes,r.errors.concat(i.errors))}}class Va{constructor(e,t){this.tokens=e,this.getTagDefinition=t,this._index=-1,this._elementStack=[],this.rootNodes=[],this.errors=[],this._advance()}build(){for(;this._peek.type!==ba.EOF;)this._peek.type===ba.TAG_OPEN_START||this._peek.type===ba.INCOMPLETE_TAG_OPEN?this._consumeStartTag(this._advance()):this._peek.type===ba.TAG_CLOSE?this._consumeEndTag(this._advance()):this._peek.type===ba.CDATA_START?(this._closeVoidElement(),this._consumeCdata(this._advance())):this._peek.type===ba.COMMENT_START?(this._closeVoidElement(),this._consumeComment(this._advance())):this._peek.type===ba.TEXT||this._peek.type===ba.RAW_TEXT||this._peek.type===ba.ESCAPABLE_RAW_TEXT?(this._closeVoidElement(),this._consumeText(this._advance())):this._peek.type===ba.EXPANSION_FORM_START?this._consumeExpansion(this._advance()):this._advance()}_advance(){const e=this._peek;return this._index<this.tokens.length-1&&this._index++,this._peek=this.tokens[this._index],e}_advanceIf(e){return this._peek.type===e?this._advance():null}_consumeCdata(e){this._consumeText(this._advance()),this._advanceIf(ba.CDATA_END)}_consumeComment(e){const t=this._advanceIf(ba.RAW_TEXT);this._advanceIf(ba.COMMENT_END);const n=null!=t?t.parts[0].trim():null;this._addToParent(new va(n,e.sourceSpan))}_consumeExpansion(e){const t=this._advance(),n=this._advance(),r=[];for(;this._peek.type===ba.EXPANSION_CASE_VALUE;){const e=this._parseExpansionCase();if(!e)return;r.push(e)}if(this._peek.type!==ba.EXPANSION_FORM_END)return void this.errors.push(Na.create(null,this._peek.sourceSpan,"Invalid ICU message. Missing '}'."));const i=new bs(e.sourceSpan.start,this._peek.sourceSpan.end,e.sourceSpan.fullStart);this._addToParent(new fa(t.parts[0],n.parts[0],r,i,t.sourceSpan)),this._advance()}_parseExpansionCase(){const e=this._advance();if(this._peek.type!==ba.EXPANSION_CASE_EXP_START)return this.errors.push(Na.create(null,this._peek.sourceSpan,"Invalid ICU message. Missing '{'.")),null;const t=this._advance(),n=this._collectExpansionExpTokens(t);if(!n)return null;const r=this._advance();n.push(new _a(ba.EOF,[],r.sourceSpan));const i=new Va(n,this.getTagDefinition);if(i.build(),i.errors.length>0)return this.errors=this.errors.concat(i.errors),null;const s=new bs(e.sourceSpan.start,r.sourceSpan.end,e.sourceSpan.fullStart),o=new bs(t.sourceSpan.start,r.sourceSpan.end,t.sourceSpan.fullStart);return new pa(e.parts[0],i.rootNodes,s,e.sourceSpan,o)}_collectExpansionExpTokens(e){const t=[],n=[ba.EXPANSION_CASE_EXP_START];for(;;){if(this._peek.type!==ba.EXPANSION_FORM_START&&this._peek.type!==ba.EXPANSION_CASE_EXP_START||n.push(this._peek.type),this._peek.type===ba.EXPANSION_CASE_EXP_END){if(!Ba(n,ba.EXPANSION_CASE_EXP_START))return this.errors.push(Na.create(null,e.sourceSpan,"Invalid ICU message. Missing '}'.")),null;if(n.pop(),0==n.length)return t}if(this._peek.type===ba.EXPANSION_FORM_END){if(!Ba(n,ba.EXPANSION_FORM_START))return this.errors.push(Na.create(null,e.sourceSpan,"Invalid ICU message. Missing '}'.")),null;n.pop()}if(this._peek.type===ba.EOF)return this.errors.push(Na.create(null,e.sourceSpan,"Invalid ICU message. Missing '}'.")),null;t.push(this._advance())}}_consumeText(e){let t=e.parts[0];if(t.length>0&&"\n"==t[0]){const e=this._getParentElement();null!=e&&0==e.children.length&&this.getTagDefinition(e.name).ignoreFirstLf&&(t=t.substring(1))}t.length>0&&this._addToParent(new da(t,e.sourceSpan))}_closeVoidElement(){const e=this._getParentElement();e&&this.getTagDefinition(e.name).isVoid&&this._elementStack.pop()}_consumeStartTag(e){const[t,n]=e.parts,r=[];for(;this._peek.type===ba.ATTR_NAME;)r.push(this._consumeAttr(this._advance()));const i=this._getElementFullName(t,n,this._getParentElement());let s=!1;if(this._peek.type===ba.TAG_OPEN_END_VOID){this._advance(),s=!0;const t=this.getTagDefinition(i);t.canSelfClose||null!==l(i)||t.isVoid||this.errors.push(Na.create(i,e.sourceSpan,`Only void and foreign elements can be self closed "${e.parts[1]}"`))}else this._peek.type===ba.TAG_OPEN_END&&(this._advance(),s=!1);const o=this._peek.sourceSpan.start,a=new bs(e.sourceSpan.start,o,e.sourceSpan.fullStart),c=new bs(e.sourceSpan.start,o,e.sourceSpan.fullStart),u=new ga(i,r,[],a,c,void 0);this._pushElement(u),s?this._popElement(i,a):e.type===ba.INCOMPLETE_TAG_OPEN&&(this._popElement(i,null),this.errors.push(Na.create(i,a,`Opening tag "${i}" not terminated.`)))}_pushElement(e){const t=this._getParentElement();t&&this.getTagDefinition(t.name).isClosedByChild(e.name)&&this._elementStack.pop(),this._addToParent(e),this._elementStack.push(e)}_consumeEndTag(e){const t=this._getElementFullName(e.parts[0],e.parts[1],this._getParentElement());if(this.getTagDefinition(t).isVoid)this.errors.push(Na.create(t,e.sourceSpan,`Void elements do not have end tags "${e.parts[1]}"`));else if(!this._popElement(t,e.sourceSpan)){const n=`Unexpected closing tag "${t}". It may happen when the tag has already been closed by another tag. For more info see https://www.w3.org/TR/html5/syntax.html#closing-elements-that-have-implied-end-tags`;this.errors.push(Na.create(t,e.sourceSpan,n))}}_popElement(e,t){for(let n=this._elementStack.length-1;n>=0;n--){const r=this._elementStack[n];if(r.name==e)return r.endSourceSpan=t,r.sourceSpan.end=null!==t?t.end:r.sourceSpan.end,this._elementStack.splice(n,this._elementStack.length-n),!0;if(!this.getTagDefinition(r.name).closedByParent)return!1}return!1}_consumeAttr(e){const t=u(e.parts[0],e.parts[1]);let n=e.sourceSpan.end,r="",i=void 0;if(this._peek.type===ba.ATTR_QUOTE&&this._advance(),this._peek.type===ba.ATTR_VALUE){const e=this._advance();r=e.parts[0],n=e.sourceSpan.end,i=e.sourceSpan}if(this._peek.type===ba.ATTR_QUOTE){n=this._advance().sourceSpan.end}return new ma(t,r,new bs(e.sourceSpan.start,n,e.sourceSpan.fullStart),i)}_getParentElement(){return this._elementStack.length>0?this._elementStack[this._elementStack.length-1]:null}_addToParent(e){const t=this._getParentElement();null!=t?t.children.push(e):this.rootNodes.push(e)}_getElementFullName(e,t,n){if(""===e&&""===(e=this.getTagDefinition(t).implicitNamespacePrefix||"")&&null!=n){const t=s(n.name)[1];this.getTagDefinition(t).preventNamespaceInheritance||(e=l(n.name))}return u(e,t)}}function Ba(e,t){return e.length>0&&e[e.length-1]===t}class Ya extends Fa{constructor(){super(m)}parse(e,t,n){return super.parse(e,t,n)}}const Ua="ngPreserveWhitespaces",Wa=new Set(["pre","template","textarea","script","style"]),qa=" \f\n\r\t\v\u1680\u180e\u2000-\u200a\u2028\u2029\u202f\u205f\u3000\ufeff",$a=new RegExp(`[^${qa}]`),Ga=new RegExp(`[${qa}]{2,}`,"g");function Xa(e){return e.replace(new RegExp("\ue500","g")," ")}class Ka{visitElement(e,t){return Wa.has(e.name)||e.attrs.some(e=>e.name===Ua)?new ga(e.name,ya(this,e.attrs),e.children,e.sourceSpan,e.startSourceSpan,e.endSourceSpan,e.i18n):new ga(e.name,e.attrs,function(e,t){const n=[];return t.forEach((r,i)=>{const s={prev:t[i-1],next:t[i+1]},o=r.visit(e,s);o&&n.push(o)}),n}(this,e.children),e.sourceSpan,e.startSourceSpan,e.endSourceSpan,e.i18n)}visitAttribute(e,t){return e.name!==Ua?e:null}visitText(e,t){const n=e.value.match($a),r=t&&(t.prev instanceof fa||t.next instanceof fa);return n||r?new da(Xa(e.value).replace(Ga," "),e.sourceSpan,e.i18n):null}visitComment(e,t){return e}visitExpansion(e,t){return e}visitExpansionCase(e,t){return e}}function Ja(e){return new Ha(ya(new Ka,e.rootNodes),e.errors)}const Qa=["zero","one","two","few","many","other"];function Za(e){const t=new nc;return new ec(ya(t,e),t.isExpanded,t.errors)}class ec{constructor(e,t,n){this.nodes=e,this.expanded=t,this.errors=n}}class tc extends Os{constructor(e,t){super(e,t)}}class nc{constructor(){this.isExpanded=!1,this.errors=[]}visitElement(e,t){return new ga(e.name,e.attrs,ya(this,e.children),e.sourceSpan,e.startSourceSpan,e.endSourceSpan)}visitAttribute(e,t){return e}visitText(e,t){return e}visitComment(e,t){return e}visitExpansion(e,t){return this.isExpanded=!0,"plural"==e.type?function(e,t){const n=e.cases.map(e=>{-1!=Qa.indexOf(e.value)||e.value.match(/^=\d+$/)||t.push(new tc(e.valueSourceSpan,'Plural cases should be "=<number>" or one of '+Qa.join(", ")));const n=Za(e.expression);return t.push(...n.errors),new ga("ng-template",[new ma("ngPluralCase",""+e.value,e.valueSourceSpan)],n.nodes,e.sourceSpan,e.sourceSpan,e.sourceSpan)}),r=new ma("[ngPlural]",e.switchValue,e.switchValueSourceSpan);return new ga("ng-container",[r],n,e.sourceSpan,e.sourceSpan,e.sourceSpan)}(e,this.errors):function(e,t){const n=e.cases.map(e=>{const n=Za(e.expression);return t.push(...n.errors),"other"===e.value?new ga("ng-template",[new ma("ngSwitchDefault","",e.valueSourceSpan)],n.nodes,e.sourceSpan,e.sourceSpan,e.sourceSpan):new ga("ng-template",[new ma("ngSwitchCase",""+e.value,e.valueSourceSpan)],n.nodes,e.sourceSpan,e.sourceSpan,e.sourceSpan)}),r=new ma("[ngSwitch]",e.switchValue,e.switchValueSourceSpan);return new ga("ng-container",[r],n,e.sourceSpan,e.sourceSpan,e.sourceSpan)}(e,this.errors)}visitExpansionCase(e,t){throw new Error("Should not be reached")}}class rc{constructor(e,t,n){this.value=e,this.ngContentIndex=t,this.sourceSpan=n}visit(e,t){return e.visitText(this,t)}}class ic{constructor(e,t,n){this.value=e,this.ngContentIndex=t,this.sourceSpan=n}visit(e,t){return e.visitBoundText(this,t)}}class sc{constructor(e,t,n){this.name=e,this.value=t,this.sourceSpan=n}visit(e,t){return e.visitAttr(this,t)}}const oc={4:4,1:1,2:2,0:0,3:3};class ac{constructor(e,t,n,r,i,s){this.name=e,this.type=t,this.securityContext=n,this.value=r,this.unit=i,this.sourceSpan=s,this.isAnimation=4===this.type}static fromBoundProperty(e){const t=oc[e.type];return new ac(e.name,t,e.securityContext,e.value,e.unit,e.sourceSpan)}visit(e,t){return e.visitElementProperty(this,t)}}class cc{constructor(e,t,n,r,i,s){this.name=e,this.target=t,this.phase=n,this.handler=r,this.sourceSpan=i,this.handlerSpan=s,this.fullName=cc.calcFullName(this.name,this.target,this.phase),this.isAnimation=!!this.phase}static calcFullName(e,t,n){return t?`${t}:${e}`:n?`@${e}.${n}`:e}static fromParsedEvent(e){const t=0===e.type?e.targetOrPhase:null,n=1===e.type?e.targetOrPhase:null;return new cc(e.name,t,n,e.handler,e.sourceSpan,e.handlerSpan)}visit(e,t){return e.visitEvent(this,t)}}class lc{constructor(e,t,n,r){this.name=e,this.value=t,this.originalValue=n,this.sourceSpan=r}visit(e,t){return e.visitReference(this,t)}}class uc{constructor(e,t,n,r){this.name=e,this.value=t,this.sourceSpan=n,this.valueSpan=r}static fromParsedVariable(e){return new uc(e.name,e.value,e.sourceSpan,e.valueSpan)}visit(e,t){return e.visitVariable(this,t)}}class hc{constructor(e,t,n,r,i,s,o,a,c,l,u,h,d){this.name=e,this.attrs=t,this.inputs=n,this.outputs=r,this.references=i,this.directives=s,this.providers=o,this.hasViewContainer=a,this.queryMatches=c,this.children=l,this.ngContentIndex=u,this.sourceSpan=h,this.endSourceSpan=d}visit(e,t){return e.visitElement(this,t)}}class dc{constructor(e,t,n,r,i,s,o,a,c,l,u){this.attrs=e,this.outputs=t,this.references=n,this.variables=r,this.directives=i,this.providers=s,this.hasViewContainer=o,this.queryMatches=a,this.children=c,this.ngContentIndex=l,this.sourceSpan=u}visit(e,t){return e.visitEmbeddedTemplate(this,t)}}class fc{constructor(e,t,n,r){this.directiveName=e,this.templateName=t,this.value=n,this.sourceSpan=r}visit(e,t){return e.visitDirectiveProperty(this,t)}}class pc{constructor(e,t,n,r,i,s){this.directive=e,this.inputs=t,this.hostProperties=n,this.hostEvents=r,this.contentQueryStartId=i,this.sourceSpan=s}visit(e,t){return e.visitDirective(this,t)}}class mc{constructor(e,t,n,r,i,s,o,a){this.token=e,this.multiProvider=t,this.eager=n,this.providers=r,this.providerType=i,this.lifecycleHooks=s,this.sourceSpan=o,this.isModule=a}visit(e,t){return null}}var gc;!function(e){e[e.PublicService=0]="PublicService",e[e.PrivateService=1]="PrivateService",e[e.Component=2]="Component",e[e.Directive=3]="Directive",e[e.Builtin=4]="Builtin"}(gc||(gc={}));class vc{constructor(e,t,n){this.index=e,this.ngContentIndex=t,this.sourceSpan=n}visit(e,t){return e.visitNgContent(this,t)}}function yc(e,t,n=null){const r=[],i=e.visit?t=>e.visit(t,n)||t.visit(e,n):t=>t.visit(e,n);return t.forEach(e=>{const t=i(e);t&&r.push(t)}),r}class bc extends Os{constructor(e,t){super(t,e)}}class _c{constructor(e,t){this.reflector=e,this.component=t,this.errors=[],this.viewQueries=function(e){let t=1;const n=new Map;e.viewQueries&&e.viewQueries.forEach(e=>Cc(n,{meta:e,queryId:t++}));return n}(t),this.viewProviders=new Map,t.viewProviders.forEach(e=>{null==this.viewProviders.get(kn(e.token))&&this.viewProviders.set(kn(e.token),!0)})}}class wc{constructor(e,t,n,r,i,s,o,a,c){this.viewContext=e,this._parent=t,this._isViewRoot=n,this._directiveAsts=r,this._sourceSpan=c,this._transformedProviders=new Map,this._seenProviders=new Map,this._queriedTokens=new Map,this.transformedHasViewContainer=!1,this._attrs={},i.forEach(e=>this._attrs[e.name]=e.value);const l=r.map(e=>e.directive);if(this._allProviders=function(e,t,n){const r=new Map;e.forEach(e=>{kc([{token:{identifier:e.type},useClass:e.type}],e.isComponent?gc.Component:gc.Directive,!0,t,n,r,!1)});return e.filter(e=>e.isComponent).concat(e.filter(e=>!e.isComponent)).forEach(e=>{kc(e.providers,gc.PublicService,!1,t,n,r,!1),kc(e.viewProviders,gc.PrivateService,!1,t,n,r,!1)}),r}(l,c,e.errors),this._contentQueries=function(e,t){let n=e;const r=new Map;return t.forEach((e,t)=>{e.queries&&e.queries.forEach(e=>Cc(r,{meta:e,queryId:n++}))}),r}(a,l),Array.from(this._allProviders.values()).forEach(e=>{this._addQueryReadsTo(e.token,e.token,this._queriedTokens)}),o){const e=dn(this.viewContext.reflector,un.TemplateRef);this._addQueryReadsTo(e,e,this._queriedTokens)}s.forEach(e=>{let t=e.value||dn(this.viewContext.reflector,un.ElementRef);this._addQueryReadsTo({value:e.name},t,this._queriedTokens)}),this._queriedTokens.get(this.viewContext.reflector.resolveExternalReference(un.ViewContainerRef))&&(this.transformedHasViewContainer=!0),Array.from(this._allProviders.values()).forEach(e=>{(e.eager||this._queriedTokens.get(kn(e.token)))&&this._getOrCreateLocalProvider(e.providerType,e.token,!0)})}afterElement(){Array.from(this._allProviders.values()).forEach(e=>{this._getOrCreateLocalProvider(e.providerType,e.token,!1)})}get transformProviders(){const e=[],t=[];return this._transformedProviders.forEach(n=>{n.eager?t.push(n):e.push(n)}),e.concat(t)}get transformedDirectiveAsts(){const e=this.transformProviders.map(e=>e.token.identifier),t=this._directiveAsts.slice();return t.sort((t,n)=>e.indexOf(t.directive.type)-e.indexOf(n.directive.type)),t}get queryMatches(){const e=[];return this._queriedTokens.forEach(t=>{e.push(...t)}),e}_addQueryReadsTo(e,t,n){this._getQueriesFor(e).forEach(e=>{const r=e.meta.read||t,i=kn(r);let s=n.get(i);s||(s=[],n.set(i,s)),s.push({queryId:e.queryId,value:r})})}_getQueriesFor(e){const t=[];let n,r=this,i=0;for(;null!==r;)n=r._contentQueries.get(kn(e)),n&&t.push(...n.filter(e=>e.meta.descendants||i<=1)),r._directiveAsts.length>0&&i++,r=r._parent;return n=this.viewContext.viewQueries.get(kn(e)),n&&t.push(...n),t}_getOrCreateLocalProvider(e,t,n){const r=this._allProviders.get(kn(t));if(!r||(e===gc.Directive||e===gc.PublicService)&&r.providerType===gc.PrivateService||(e===gc.PrivateService||e===gc.PublicService)&&r.providerType===gc.Builtin)return null;let i=this._transformedProviders.get(kn(t));if(i)return i;if(null!=this._seenProviders.get(kn(t)))return this.viewContext.errors.push(new bc("Cannot instantiate cyclic dependency! "+On(t),this._sourceSpan)),null;this._seenProviders.set(kn(t),!0);const s=r.providers.map(e=>{let t=e.useValue,i=e.useExisting,s=void 0;if(null!=e.useExisting){const s=this._getDependency(r.providerType,{token:e.useExisting},n);null!=s.token?i=s.token:(i=null,t=s.value)}else if(e.useFactory){s=(e.deps||e.useFactory.diDeps).map(e=>this._getDependency(r.providerType,e,n))}else if(e.useClass){s=(e.deps||e.useClass.diDeps).map(e=>this._getDependency(r.providerType,e,n))}return xc(e,{useExisting:i,useValue:t,deps:s})});return i=Oc(r,{eager:n,providers:s}),this._transformedProviders.set(kn(t),i),i}_getLocalDependency(e,t,n=!1){if(t.isAttribute){const e=this._attrs[t.token.value];return{isValue:!0,value:null==e?null:e}}if(null!=t.token){if(e===gc.Directive||e===gc.Component){if(kn(t.token)===this.viewContext.reflector.resolveExternalReference(un.Renderer)||kn(t.token)===this.viewContext.reflector.resolveExternalReference(un.ElementRef)||kn(t.token)===this.viewContext.reflector.resolveExternalReference(un.ChangeDetectorRef)||kn(t.token)===this.viewContext.reflector.resolveExternalReference(un.TemplateRef))return t;kn(t.token)===this.viewContext.reflector.resolveExternalReference(un.ViewContainerRef)&&(this.transformedHasViewContainer=!0)}if(kn(t.token)===this.viewContext.reflector.resolveExternalReference(un.Injector))return t;if(null!=this._getOrCreateLocalProvider(e,t.token,n))return t}return null}_getDependency(e,t,n=!1){let r=this,i=n,s=null;if(t.isSkipSelf||(s=this._getLocalDependency(e,t,n)),t.isSelf)!s&&t.isOptional&&(s={isValue:!0,value:null});else{for(;!s&&r._parent;){const e=r;r=r._parent,e._isViewRoot&&(i=!1),s=r._getLocalDependency(gc.PublicService,t,i)}s||(s=!t.isHost||this.viewContext.component.isHost||this.viewContext.component.type.reference===kn(t.token)||null!=this.viewContext.viewProviders.get(kn(t.token))?t:t.isOptional?{isValue:!0,value:null}:null)}return s||this.viewContext.errors.push(new bc("No provider for "+On(t.token),this._sourceSpan)),s}}class Sc{constructor(e,t,n,r){this.reflector=e,this._transformedProviders=new Map,this._seenProviders=new Map,this._errors=[],this._allProviders=new Map,t.transitiveModule.modules.forEach(e=>{kc([{token:{identifier:e},useClass:e}],gc.PublicService,!0,r,this._errors,this._allProviders,!0)}),kc(t.transitiveModule.providers.map(e=>e.provider).concat(n),gc.PublicService,!1,r,this._errors,this._allProviders,!1)}parse(){if(Array.from(this._allProviders.values()).forEach(e=>{this._getOrCreateLocalProvider(e.token,e.eager)}),this._errors.length>0){const e=this._errors.join("\n");throw new Error("Provider parse errors:\n"+e)}const e=[],t=[];return this._transformedProviders.forEach(n=>{n.eager?t.push(n):e.push(n)}),e.concat(t)}_getOrCreateLocalProvider(e,t){const n=this._allProviders.get(kn(e));if(!n)return null;let r=this._transformedProviders.get(kn(e));if(r)return r;if(null!=this._seenProviders.get(kn(e)))return this._errors.push(new bc("Cannot instantiate cyclic dependency! "+On(e),n.sourceSpan)),null;this._seenProviders.set(kn(e),!0);const i=n.providers.map(e=>{let r=e.useValue,i=e.useExisting,s=void 0;if(null!=e.useExisting){const s=this._getDependency({token:e.useExisting},t,n.sourceSpan);null!=s.token?i=s.token:(i=null,r=s.value)}else if(e.useFactory){s=(e.deps||e.useFactory.diDeps).map(e=>this._getDependency(e,t,n.sourceSpan))}else if(e.useClass){s=(e.deps||e.useClass.diDeps).map(e=>this._getDependency(e,t,n.sourceSpan))}return xc(e,{useExisting:i,useValue:r,deps:s})});return r=Oc(n,{eager:t,providers:i}),this._transformedProviders.set(kn(e),r),r}_getDependency(e,t=!1,n){let r=!1;return e.isSkipSelf||null==e.token||(kn(e.token)===this.reflector.resolveExternalReference(un.Injector)||kn(e.token)===this.reflector.resolveExternalReference(un.ComponentFactoryResolver)||null!=this._getOrCreateLocalProvider(e.token,t))&&(r=!0),e}}function xc(e,{useExisting:t,useValue:n,deps:r}){return{token:e.token,useClass:e.useClass,useExisting:t,useFactory:e.useFactory,useValue:n,deps:r,multi:e.multi}}function Oc(e,{eager:t,providers:n}){return new mc(e.token,e.multiProvider,e.eager||t,n,e.providerType,e.lifecycleHooks,e.sourceSpan,e.isModule)}function kc(e,t,n,r,i,s,o){e.forEach(e=>{let a=s.get(kn(e.token));if(null!=a&&!!a.multiProvider!=!!e.multi&&i.push(new bc("Mixing multi and non multi provider is not possible for token "+On(a.token),r)),a)e.multi||(a.providers.length=0),a.providers.push(e);else{const i=e.token.identifier&&e.token.identifier.lifecycleHooks?e.token.identifier.lifecycleHooks:[],c=!(e.useClass||e.useExisting||e.useFactory);a=new mc(e.token,!!e.multi,n||c,[e],t,i,r,o),s.set(kn(e.token),a)}})}function Cc(e,t){t.meta.selectors.forEach(n=>{let r=e.get(kn(n));r||(r=[],e.set(kn(n),r)),r.push(t)})}class Mc{constructor(e,t){this.style=e,this.styleUrls=t}}function Ec(e){if(null==e||0===e.length||"/"==e[0])return!1;const t=e.match(Dc);return null===t||"package"==t[1]||"asset"==t[1]}const Tc=/@import\s+(?:url\()?\s*(?:(?:['"]([^'"]*))|([^;\)\s]*))[^;]*;?/g,jc=/\/\*(?!#\s*(?:sourceURL|sourceMappingURL)=)[\s\S]+?\*\//g,Dc=/^([^:/?#]+):/,Ac="animate-";class Lc{constructor(e,t,n,r,i){if(this._exprParser=e,this._interpolationConfig=t,this._schemaRegistry=n,this.errors=i,this.pipesByName=null,this._usedPipes=new Map,r){const e=new Map;r.forEach(t=>e.set(t.name,t)),this.pipesByName=e}}get interpolationConfig(){return this._interpolationConfig}getUsedPipes(){return Array.from(this._usedPipes.values())}createBoundHostProperties(e,t){if(e.hostProperties){const n=[];return Object.keys(e.hostProperties).forEach(r=>{const i=e.hostProperties[r];"string"==typeof i?this.parsePropertyBinding(r,i,!0,t,t.start.offset,void 0,[],n,t):this._reportError(`Value of the host property binding "${r}" needs to be a string representing an expression but got "${i}" (${typeof i})`,t)}),n}return null}createDirectiveHostPropertyAsts(e,t,n){const r=this.createBoundHostProperties(e,n);return r&&r.map(e=>this.createBoundElementProperty(t,e))}createDirectiveHostEventAsts(e,t){if(e.hostListeners){const n=[];return Object.keys(e.hostListeners).forEach(r=>{const i=e.hostListeners[r];"string"==typeof i?this.parseEvent(r,i,t,t,[],n):this._reportError(`Value of the host listener "${r}" needs to be a string representing an expression but got "${i}" (${typeof i})`,t)}),n}return null}parseInterpolation(e,t){const n=t.start.toString();try{const r=this._exprParser.parseInterpolation(e,n,t.start.offset,this._interpolationConfig);return r&&this._reportExpressionParserErrors(r.errors,t),this._checkPipes(r,t),r}catch(r){return this._reportError(""+r,t),this._exprParser.wrapLiteralPrimitive("ERROR",n,t.start.offset)}}parseInterpolationExpression(e,t){const n=t.start.toString();try{const r=this._exprParser.parseInterpolationExpression(e,n,t.start.offset);return r&&this._reportExpressionParserErrors(r.errors,t),this._checkPipes(r,t),r}catch(r){return this._reportError(""+r,t),this._exprParser.wrapLiteralPrimitive("ERROR",n,t.start.offset)}}parseInlineTemplateBinding(e,t,n,r,i,s,o,a){const c=n.start.offset+"*".length,l=this._parseTemplateBindings(e,t,n,c,r);for(const u of l){const e=Rc(n,u.sourceSpan),t=u.key.source,c=Rc(n,u.key.span);if(u instanceof oo){const r=u.value?u.value.source:"$implicit",i=u.value?Rc(n,u.value.span):void 0;o.push(new ho(t,r,e,c,i))}else if(u.value){const r=a?e:n,o=Rc(n,u.value.ast.sourceSpan);this._parsePropertyAst(t,u.value,r,c,o,i,s)}else i.push([t,""]),this.parseLiteralAttr(t,null,c,r,void 0,i,s,c)}}_parseTemplateBindings(e,t,n,r,i){const s=n.start.toString();try{const o=this._exprParser.parseTemplateBindings(e,t,s,r,i);return this._reportExpressionParserErrors(o.errors,n),o.templateBindings.forEach(e=>{e.value instanceof so&&this._checkPipes(e.value,n)}),o.warnings.forEach(e=>{this._reportError(e,n,_s.WARNING)}),o.templateBindings}catch(o){return this._reportError(""+o,n),[]}}parseLiteralAttr(e,t,n,r,i,s,o,a){Pc(e)?(e=e.substring(1),t&&this._reportError('Assigning animation triggers via @prop="exp" attributes with an expression is invalid. Use property bindings (e.g. [@prop]="exp") or use an attribute without a value (e.g. @prop) instead.',n,_s.ERROR),this._parseAnimation(e,t,n,r,a,i,s,o)):o.push(new lo(e,this._exprParser.wrapLiteralPrimitive(t,"",r),ws.LITERAL_ATTR,n,a,i))}parsePropertyBinding(e,t,n,r,i,s,o,a,c){0===e.length&&this._reportError("Property name is missing in binding",r);let l=!1;e.startsWith(Ac)?(l=!0,e=e.substring(Ac.length)):Pc(e)&&(l=!0,e=e.substring(1)),l?this._parseAnimation(e,t,r,i,c,s,o,a):this._parsePropertyAst(e,this._parseBinding(t,n,s||r,i),r,c,s,o,a)}parsePropertyInterpolation(e,t,n,r,i,s,o){const a=this.parseInterpolation(t,r||n);return!!a&&(this._parsePropertyAst(e,a,n,o,r,i,s),!0)}_parsePropertyAst(e,t,n,r,i,s,o){s.push([e,t.source]),o.push(new lo(e,t,ws.DEFAULT,n,r,i))}_parseAnimation(e,t,n,r,i,s,o,a){0===e.length&&this._reportError("Animation trigger is missing",n);const c=this._parseBinding(t||"undefined",!1,s||n,r);o.push([e,c.source]),a.push(new lo(e,c,ws.ANIMATION,n,i,s))}_parseBinding(e,t,n,r){const i=(n&&n.start||"(unknown)").toString();try{const s=t?this._exprParser.parseSimpleBinding(e,i,r,this._interpolationConfig):this._exprParser.parseBinding(e,i,r,this._interpolationConfig);return s&&this._reportExpressionParserErrors(s.errors,n),this._checkPipes(s,n),s}catch(s){return this._reportError(""+s,n),this._exprParser.wrapLiteralPrimitive("ERROR",i,r)}}createBoundElementProperty(e,t,n=!1,r=!0){if(t.isAnimation)return new fo(t.name,4,q.NONE,t.expression,null,t.sourceSpan,t.keySpan,t.valueSpan);let i=null,s=void 0,o=null;const a=t.name.split(".");let c=void 0;if(a.length>1)if("attr"==a[0]){o=a.slice(1).join("."),n||this._validatePropertyOrAttributeName(o,t.sourceSpan,!0),c=Ic(this._schemaRegistry,e,o,!0);const r=o.indexOf(":");if(r>-1){const e=o.substring(0,r),t=o.substring(r+1);o=u(e,t)}s=1}else"class"==a[0]?(o=a[1],s=2,c=[q.NONE]):"style"==a[0]&&(i=a.length>2?a[2]:null,o=a[1],s=3,c=[q.STYLE]);if(null===o){const i=this._schemaRegistry.getMappedPropName(t.name);o=r?i:t.name,c=Ic(this._schemaRegistry,e,i,!1),s=0,n||this._validatePropertyOrAttributeName(i,t.sourceSpan,!1)}return new fo(o,s,c[0],t.expression,i,t.sourceSpan,t.keySpan,t.valueSpan)}parseEvent(e,t,n,r,i,s){0===e.length&&this._reportError("Event name is missing in binding",n),Pc(e)?(e=e.substr(1),this._parseAnimationEvent(e,t,n,r,s)):this._parseRegularEvent(e,t,n,r,i,s)}calcPossibleSecurityContexts(e,t,n){const r=this._schemaRegistry.getMappedPropName(t);return Ic(this._schemaRegistry,e,r,n)}_parseAnimationEvent(e,t,n,r,i){const s=Lt(e,".",[e,""]);const o=s[0],a=s[1].toLowerCase();if(a)switch(a){case"start":case"done":const e=this._parseAction(t,r);i.push(new uo(o,a,1,e,n,r));break;default:this._reportError(`The provided animation output phase value "${a}" for "@${o}" is not supported (use start or done)`,n)}else this._reportError(`The animation trigger output event (@${o}) is missing its phase value name (start or done are currently supported)`,n)}_parseRegularEvent(e,t,n,r,i,s){const[o,a]=At(e,[null,e]),c=this._parseAction(t,r);i.push([e,c.source]),s.push(new uo(a,o,0,c,n,r))}_parseAction(e,t){const n=(t&&t.start||"(unknown").toString(),r=t&&t.start?t.start.offset:0;try{const i=this._exprParser.parseAction(e,n,r,this._interpolationConfig);return i&&this._reportExpressionParserErrors(i.errors,t),!i||i.ast instanceof Is?(this._reportError("Empty expressions are not allowed",t),this._exprParser.wrapLiteralPrimitive("ERROR",n,r)):(this._checkPipes(i,t),i)}catch(i){return this._reportError(""+i,t),this._exprParser.wrapLiteralPrimitive("ERROR",n,r)}}_reportError(e,t,n=_s.ERROR){this.errors.push(new Os(t,e,n))}_reportExpressionParserErrors(e,t){for(const n of e)this._reportError(n.message,t)}_checkPipes(e,t){if(e&&this.pipesByName){const n=new zc;e.visit(n),n.pipes.forEach((e,n)=>{const r=this.pipesByName.get(n);r?this._usedPipes.set(n,r):this._reportError(`The pipe '${n}' could not be found`,new bs(t.start.moveBy(e.span.start),t.start.moveBy(e.span.end)))})}}_validatePropertyOrAttributeName(e,t,n){const r=n?this._schemaRegistry.validateAttribute(e):this._schemaRegistry.validateProperty(e);r.error&&this._reportError(r.msg,t,_s.ERROR)}}class zc extends co{constructor(){super(...arguments),this.pipes=new Map}visitPipe(e,t){return this.pipes.set(e.name,e),e.exp.visit(this),this.visitAll(e.args,t),null}}function Pc(e){return"@"==e[0]}function Ic(e,t,n,r){const i=[];return v.parse(t).forEach(t=>{const s=t.element?[t.element]:e.allKnownElementNames(),o=new Set(t.notSelectors.filter(e=>e.isElementSelector()).map(e=>e.element)),a=s.filter(e=>!o.has(e));i.push(...a.map(t=>e.securityContext(t,n,r)))}),0===i.length?[q.NONE]:Array.from(new Set(i)).sort()}function Rc(e,t){const n=t.start-e.start.offset,r=t.end-e.end.offset;return new bs(e.start.moveBy(n),e.end.moveBy(r),e.fullStart.moveBy(n),e.details)}function Nc(e){let t=null,n=null,r=null,i=!1,s="";e.attrs.forEach(e=>{const o=e.name.toLowerCase();"select"==o?t=e.value:"href"==o?n=e.value:"rel"==o?r=e.value:"ngNonBindable"==e.name?i=!0:"ngProjectAs"==e.name&&e.value.length>0&&(s=e.value)}),t=function(e){if(null===e||0===e.length)return"*";return e}(t);const o=e.name.toLowerCase();let c=Hc.OTHER;return a(o)?c=Hc.NG_CONTENT:"style"==o?c=Hc.STYLE:"script"==o?c=Hc.SCRIPT:"link"==o&&"stylesheet"==r&&(c=Hc.STYLESHEET),new Fc(c,t,n,i,s)}var Hc;!function(e){e[e.NG_CONTENT=0]="NG_CONTENT",e[e.STYLE=1]="STYLE",e[e.STYLESHEET=2]="STYLESHEET",e[e.SCRIPT=3]="SCRIPT",e[e.OTHER=4]="OTHER"}(Hc||(Hc={}));class Fc{constructor(e,t,n,r,i){this.type=e,this.selectAttr=t,this.hrefAttr=n,this.nonBindable=r,this.projectAs=i}}const Vc=/^(?:(?:(?:(bind-)|(let-)|(ref-|#)|(on-)|(bindon-)|(@))(.*))|\[\(([^\)]+)\)\]|\[([^\]]+)\]|\(([^\)]+)\))$/;let Bc;function Yc(){return Bc||(Bc=v.parse("*")[0]),Bc}class Uc extends Os{constructor(e,t,n){super(t,e,n)}}class Wc{constructor(e,t,n){this.templateAst=e,this.usedPipes=t,this.errors=n}}class qc{constructor(e,t,n,r,i,s,o){this._config=e,this._reflector=t,this._exprParser=n,this._schemaRegistry=r,this._htmlParser=i,this._console=s,this.transforms=o}get expressionParser(){return this._exprParser}parse(e,t,n,r,i,s,o){var a;const c=this.tryParse(e,t,n,r,i,s,o),l=c.errors.filter(e=>e.level===_s.WARNING),u=c.errors.filter(e=>e.level===_s.ERROR);if(l.length>0&&(null===(a=this._console)||void 0===a||a.warn("Template parse warnings:\n"+l.join("\n"))),u.length>0){throw Bt("Template parse errors:\n"+u.join("\n"),u)}return{template:c.templateAst,pipes:c.usedPipes}}tryParse(e,t,n,r,i,s,o){let a="string"==typeof t?this._htmlParser.parse(t,s,{tokenizeExpansionForms:!0,interpolationConfig:this.getInterpolationConfig(e)}):t;return o||(a=Ja(a)),this.tryParseHtml(this.expandHtml(a),e,n,r,i)}tryParseHtml(e,t,n,r,i){let s;const o=e.errors,a=[];if(e.rootNodes.length>0){const c=el(n),l=el(r),u=new _c(this._reflector,t);let h=void 0;t.template&&t.template.interpolation&&(h={start:t.template.interpolation[0],end:t.template.interpolation[1]});const d=new Lc(this._exprParser,h,this._schemaRegistry,l,o),f=new $c(this._reflector,this._config,u,c,d,this._schemaRegistry,i,o);s=ya(f,e.rootNodes,Jc),o.push(...u.errors),a.push(...d.getUsedPipes())}else s=[];return this._assertNoReferenceDuplicationOnTemplate(s,o),o.length>0||this.transforms&&this.transforms.forEach(e=>{s=yc(e,s)}),new Wc(s,a,o)}expandHtml(e,t=!1){const n=e.errors;if(0==n.length||t){const t=Za(e.rootNodes);n.push(...t.errors),e=new Ha(t.nodes,n)}return e}getInterpolationConfig(e){if(e.template)return Pi.fromArray(e.template.interpolation)}_assertNoReferenceDuplicationOnTemplate(e,t){const n=[];e.filter(e=>!!e.references).forEach(e=>e.references.forEach(e=>{const r=e.name;if(n.indexOf(r)<0)n.push(r);else{const n=new Uc(`Reference "#${r}" is defined several times`,e.sourceSpan,_s.ERROR);t.push(n)}}))}}class $c{constructor(e,t,n,r,i,s,o,a){this.reflector=e,this.config=t,this.providerViewContext=n,this._bindingParser=i,this._schemaRegistry=s,this._schemas=o,this._targetErrors=a,this.selectorMatcher=new y,this.directivesIndex=new Map,this.ngContentCount=0,this.contentQueryStartId=n.component.viewQueries.length+1,r.forEach((e,t)=>{const n=v.parse(e.selector);this.selectorMatcher.addSelectables(n,e),this.directivesIndex.set(e,t)})}visitExpansion(e,t){return null}visitExpansionCase(e,t){return null}visitText(e,t){const n=t.findNgContentIndex(Yc()),r=Xa(e.value),i=this._bindingParser.parseInterpolation(r,e.sourceSpan);return i?new ic(i,n,e.sourceSpan):new rc(r,n,e.sourceSpan)}visitAttribute(e,t){return new sc(e.name,e.value,e.sourceSpan)}visitComment(e,t){return null}visitElement(e,t){const n=this.contentQueryStartId,r=e.name,i=Nc(e);if(i.type===Hc.SCRIPT||i.type===Hc.STYLE)return null;if(i.type===Hc.STYLESHEET&&Ec(i.hrefAttr))return null;const s=[],o=[],a=[],l=[],u=[],h=[],d=[],f=[];let p=!1;const m=[],g=c(e.name);e.attrs.forEach(e=>{const t=this._parseAttr(g,e,s,o,u,a,l);let n,r;l.push(...[].map(e=>uc.fromParsedVariable(e)));const i=this._normalizeAttributeName(e.name);i.startsWith("*")&&(n=e.value,r=i.substring("*".length));const c=null!=n;if(c){p&&this._reportError("Can't have multiple template bindings on one element. Use only one attribute prefixed with *",e.sourceSpan),p=!0;const t=[],i=(e.valueSpan||e.sourceSpan).start.offset;this._bindingParser.parseInlineTemplateBinding(r,n,e.sourceSpan,i,d,h,t,!1),f.push(...t.map(e=>uc.fromParsedVariable(e)))}t||c||(m.push(this.visitAttribute(e,null)),s.push([e.name,e.value]))});const y=Kc(r,s),{directives:b,matchElement:_}=this._parseDirectives(this.selectorMatcher,y),w=[],S=new Set,x=this._createDirectiveAsts(g,e.name,b,o,a,e.sourceSpan,w,S),O=this._createElementPropertyAsts(e.name,o,S),k=t.isTemplateElement||p,C=new wc(this.providerViewContext,t.providerContext,k,x,m,w,g,n,e.sourceSpan),M=ya(i.nonBindable?Qc:this,e.children,Xc.create(g,x,g?t.providerContext:C));C.afterElement();const E=""!=i.projectAs?v.parse(i.projectAs)[0]:y,T=t.findNgContentIndex(E);let j;if(i.type===Hc.NG_CONTENT)e.children&&!e.children.every(Zc)&&this._reportError("<ng-content> element cannot have content.",e.sourceSpan),j=new vc(this.ngContentCount++,p?null:T,e.sourceSpan);else if(g)this._assertAllEventsPublishedByDirectives(x,u),this._assertNoComponentsNorElementBindingsOnTemplate(x,O,e.sourceSpan),j=new dc(m,u,w,l,C.transformedDirectiveAsts,C.transformProviders,C.transformedHasViewContainer,C.queryMatches,M,p?null:T,e.sourceSpan);else{this._assertElementExists(_,e),this._assertOnlyOneComponent(x,e.sourceSpan);const n=p?null:t.findNgContentIndex(E);j=new hc(r,m,O,u,w,C.transformedDirectiveAsts,C.transformProviders,C.transformedHasViewContainer,C.queryMatches,M,p?null:n,e.sourceSpan,e.endSourceSpan||null)}if(p){const n=this.contentQueryStartId,i=Kc("ng-template",d),{directives:s}=this._parseDirectives(this.selectorMatcher,i),o=new Set,a=this._createDirectiveAsts(!0,r,s,h,[],e.sourceSpan,[],o),c=this._createElementPropertyAsts(r,h,o);this._assertNoComponentsNorElementBindingsOnTemplate(a,c,e.sourceSpan);const l=new wc(this.providerViewContext,t.providerContext,t.isTemplateElement,a,[],[],!0,n,e.sourceSpan);l.afterElement(),j=new dc([],[],[],f,l.transformedDirectiveAsts,l.transformProviders,l.transformedHasViewContainer,l.queryMatches,[j],T,e.sourceSpan)}return j}_parseAttr(e,t,n,r,i,s,o){const a=this._normalizeAttributeName(t.name),c=t.value,l=t.sourceSpan,u=t.valueSpan?t.valueSpan.start.offset:l.start.offset,h=[],d=a.match(Vc);let f=!1;if(null!==d)if(f=!0,null!=d[1])this._bindingParser.parsePropertyBinding(d[7],c,!1,l,u,t.valueSpan,n,r);else if(d[2])if(e){const e=d[7];this._parseVariable(e,c,l,o)}else this._reportError('"let-" is only supported on ng-template elements.',l);else if(d[3]){const e=d[7];this._parseReference(e,c,l,s)}else d[4]?this._bindingParser.parseEvent(d[7],c,l,t.valueSpan||l,n,h):d[5]?(this._bindingParser.parsePropertyBinding(d[7],c,!1,l,u,t.valueSpan,n,r),this._parseAssignmentEvent(d[7],c,l,t.valueSpan||l,n,h)):d[6]?this._bindingParser.parseLiteralAttr(a,c,l,u,t.valueSpan,n,r):d[8]?(this._bindingParser.parsePropertyBinding(d[8],c,!1,l,u,t.valueSpan,n,r),this._parseAssignmentEvent(d[8],c,l,t.valueSpan||l,n,h)):d[9]?this._bindingParser.parsePropertyBinding(d[9],c,!1,l,u,t.valueSpan,n,r):d[10]&&this._bindingParser.parseEvent(d[10],c,l,t.valueSpan||l,n,h);else f=this._bindingParser.parsePropertyInterpolation(a,c,l,t.valueSpan,n,r);return f||this._bindingParser.parseLiteralAttr(a,c,l,u,t.valueSpan,n,r),i.push(...h.map(e=>cc.fromParsedEvent(e))),f}_normalizeAttributeName(e){return/^data-/i.test(e)?e.substring(5):e}_parseVariable(e,t,n,r){e.indexOf("-")>-1?this._reportError('"-" is not allowed in variable names',n):0===e.length&&this._reportError("Variable does not have a name",n),r.push(new uc(e,t,n))}_parseReference(e,t,n,r){e.indexOf("-")>-1?this._reportError('"-" is not allowed in reference names',n):0===e.length&&this._reportError("Reference does not have a name",n),r.push(new Gc(e,t,n))}_parseAssignmentEvent(e,t,n,r,i,s){this._bindingParser.parseEvent(e+"Change",t+"=$event",n,r,i,s)}_parseDirectives(e,t){const n=Zt(this.directivesIndex.size);let r=!1;return e.match(t,(e,t)=>{n[this.directivesIndex.get(t)]=t,r=r||e.hasElementSelector()}),{directives:n.filter(e=>!!e),matchElement:r}}_createDirectiveAsts(e,t,n,r,i,s,o,a){const c=new Set;let l=null;const u=n.map(e=>{const n=new bs(s.start,s.end,s.fullStart,"Directive "+yn(e.type));e.isComponent&&(l=e);const u=[];let h=this._bindingParser.createDirectiveHostPropertyAsts(e,t,n).map(e=>ac.fromBoundProperty(e));h=this._checkPropertiesInSchema(t,h);const d=this._bindingParser.createDirectiveHostEventAsts(e,n);this._createDirectivePropertyAsts(e.inputs,r,u,a),i.forEach(t=>{(0===t.value.length&&e.isComponent||t.isReferenceToDirective(e))&&(o.push(new lc(t.name,hn(e.type.reference),t.value,t.sourceSpan)),c.add(t.name))});const f=d.map(e=>cc.fromParsedEvent(e)),p=this.contentQueryStartId;return this.contentQueryStartId+=e.queries.length,new pc(e,u,h,f,p,n)});return i.forEach(t=>{if(t.value.length>0)c.has(t.name)||this._reportError(`There is no directive with "exportAs" set to "${t.value}"`,t.sourceSpan);else if(!l){let n=null;e&&(n=dn(this.reflector,un.TemplateRef)),o.push(new lc(t.name,n,t.value,t.sourceSpan))}}),u}_createDirectivePropertyAsts(e,t,n,r){if(e){const i=new Map;t.forEach(e=>{const t=i.get(e.name);t&&!t.isLiteral||i.set(e.name,e)}),Object.keys(e).forEach(t=>{const s=e[t],o=i.get(s);o&&(r.add(o.name),tl(o.expression)||n.push(new fc(t,o.name,o.expression,o.sourceSpan)))})}}_createElementPropertyAsts(e,t,n){const r=[];return t.forEach(t=>{if(!t.isLiteral&&!n.has(t.name)){const n=this._bindingParser.createBoundElementProperty(e,t);r.push(ac.fromBoundProperty(n))}}),this._checkPropertiesInSchema(e,r)}_findComponentDirectives(e){return e.filter(e=>e.directive.isComponent)}_findComponentDirectiveNames(e){return this._findComponentDirectives(e).map(e=>yn(e.directive.type))}_assertOnlyOneComponent(e,t){const n=this._findComponentDirectiveNames(e);n.length>1&&this._reportError("More than one component matched on this element.\nMake sure that only one component's selector can match a given element.\nConflicting components: "+n.join(","),t)}_assertElementExists(e,t){const n=t.name.replace(/^:xhtml:/,"");if(!e&&!this._schemaRegistry.hasElement(n,this._schemas)){let e=`'${n}' is not a known element:\n`;e+=`1. If '${n}' is an Angular component, then verify that it is part of this module.\n`,n.indexOf("-")>-1?e+=`2. If '${n}' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message.`:e+="2. To allow any element add 'NO_ERRORS_SCHEMA' to the '@NgModule.schemas' of this component.",this._reportError(e,t.sourceSpan)}}_assertNoComponentsNorElementBindingsOnTemplate(e,t,n){const r=this._findComponentDirectiveNames(e);r.length>0&&this._reportError("Components on an embedded template: "+r.join(","),n),t.forEach(e=>{this._reportError(`Property binding ${e.name} not used by any directive on an embedded template. Make sure that the property name is spelled correctly and all directives are listed in the "@NgModule.declarations".`,n)})}_assertAllEventsPublishedByDirectives(e,t){const n=new Set;e.forEach(e=>{Object.keys(e.directive.outputs).forEach(t=>{const r=e.directive.outputs[t];n.add(r)})}),t.forEach(e=>{null==e.target&&n.has(e.name)||this._reportError(`Event binding ${e.fullName} not emitted by any directive on an embedded template. Make sure that the event name is spelled correctly and all directives are listed in the "@NgModule.declarations".`,e.sourceSpan)})}_checkPropertiesInSchema(e,t){return t.filter(t=>{if(0===t.type&&!this._schemaRegistry.hasProperty(e,t.name,this._schemas)){let n=`Can't bind to '${t.name}' since it isn't a known property of '${e}'.`;e.startsWith("ng-")?n+=`\n1. If '${t.name}' is an Angular directive, then add 'CommonModule' to the '@NgModule.imports' of this component.\n2. To allow any property add 'NO_ERRORS_SCHEMA' to the '@NgModule.schemas' of this component.`:e.indexOf("-")>-1&&(n+=`\n1. If '${e}' is an Angular component and it has '${t.name}' input, then verify that it is part of this module.\n2. If '${e}' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message.\n3. To allow any property add 'NO_ERRORS_SCHEMA' to the '@NgModule.schemas' of this component.`),this._reportError(n,t.sourceSpan)}return!tl(t.value)})}_reportError(e,t,n=_s.ERROR){this._targetErrors.push(new Os(t,e,n))}}class Gc{constructor(e,t,n){this.name=e,this.value=t,this.sourceSpan=n}isReferenceToDirective(e){return-1!==(t=e.exportAs,t?t.split(",").map(e=>e.trim()):[]).indexOf(this.value);var t}}class Xc{constructor(e,t,n,r){this.isTemplateElement=e,this._ngContentIndexMatcher=t,this._wildcardNgContentIndex=n,this.providerContext=r}static create(e,t,n){const r=new y;let i=null;const s=t.find(e=>e.directive.isComponent);if(s){const e=s.directive.template.ngContentSelectors;for(let t=0;t<e.length;t++){"*"===e[t]?i=t:r.addSelectables(v.parse(e[t]),t)}}return new Xc(e,r,i,n)}findNgContentIndex(e){const t=[];return this._ngContentIndexMatcher.match(e,(e,n)=>{t.push(n)}),t.sort(),null!=this._wildcardNgContentIndex&&t.push(this._wildcardNgContentIndex),t.length>0?t[0]:null}}function Kc(e,t){const n=new v,r=s(e)[1];n.setElement(r);for(let i=0;i<t.length;i++){const e=t[i][0],r=s(e)[1],o=t[i][1];if(n.addAttribute(r,o),"class"==e.toLowerCase()){o.trim().split(/\s+/g).forEach(e=>n.addClassName(e))}}return n}const Jc=new Xc(!0,new y,null,null),Qc=new class{visitElement(e,t){const n=Nc(e);if(n.type===Hc.SCRIPT||n.type===Hc.STYLE||n.type===Hc.STYLESHEET)return null;const r=e.attrs.map(e=>[e.name,e.value]),i=Kc(e.name,r),s=t.findNgContentIndex(i),o=ya(this,e.children,Jc);return new hc(e.name,ya(this,e.attrs),[],[],[],[],[],!1,[],o,s,e.sourceSpan,e.endSourceSpan)}visitComment(e,t){return null}visitAttribute(e,t){return new sc(e.name,e.value,e.sourceSpan)}visitText(e,t){const n=t.findNgContentIndex(Yc());return new rc(e.value,n,e.sourceSpan)}visitExpansion(e,t){return e}visitExpansionCase(e,t){return e}};function Zc(e){return e instanceof da&&0==e.value.trim().length}function el(e){const t=new Map;return e.forEach(e=>{t.get(e.type.reference)||t.set(e.type.reference,e)}),Array.from(t.values())}function tl(e){return e instanceof so&&(e=e.ast),e instanceof Is}function nl(e){const t=e.charCodeAt(0);if(t==e.charCodeAt(e.length-1)&&(39==t||34==t)){const t=e.substring(1,e.length-1);-1==t.indexOf("'")&&-1==t.indexOf('"')&&(e=t)}return e}function rl(e){return e.replace(/[a-z][A-Z]/g,e=>e.charAt(0)+"-"+e.charAt(1)).toLowerCase()}class il{constructor(e){this._directiveExpr=e,this._hasInitialValues=!1,this.hasBindings=!1,this.hasBindingsWithPipes=!1,this._classMapInput=null,this._styleMapInput=null,this._singleStyleInputs=null,this._singleClassInputs=null,this._lastStylingInput=null,this._firstStylingInput=null,this._stylesIndex=new Map,this._classesIndex=new Map,this._initialStyleValues=[],this._initialClassValues=[]}registerBoundInput(e){let t=null,n=e.name;switch(e.type){case 0:t=this.registerInputBasedOnName(n,e.value,e.sourceSpan);break;case 3:t=this.registerStyleInput(n,!1,e.value,e.sourceSpan,e.unit);break;case 2:t=this.registerClassInput(n,!1,e.value,e.sourceSpan)}return!!t}registerInputBasedOnName(e,t,n){let r=null;const i=e.substring(0,6),s="style"===e||"style."===i||"style!"===i;if(s||!s&&("class"===e||"class."===i||"class!"===i)){const i="."!==e.charAt(5),o=e.substr(i?5:6);r=s?this.registerStyleInput(o,i,t,n):this.registerClassInput(o,i,t,n)}return r}registerStyleInput(e,t,n,r,i){if(tl(n))return null;e=rl(e);const{property:s,hasOverrideFlag:o,suffix:a}=ol(e),c={name:s,suffix:i="string"==typeof i&&0!==i.length?i:a,value:n,sourceSpan:r,hasOverrideFlag:o};return t?this._styleMapInput=c:((this._singleStyleInputs=this._singleStyleInputs||[]).push(c),sl(this._stylesIndex,s)),this._lastStylingInput=c,this._firstStylingInput=this._firstStylingInput||c,this._checkForPipes(n),this.hasBindings=!0,c}registerClassInput(e,t,n,r){if(tl(n))return null;const{property:i,hasOverrideFlag:s}=ol(e),o={name:i,value:n,sourceSpan:r,hasOverrideFlag:s,suffix:null};if(t){if(this._classMapInput)throw new Error("[class] and [className] bindings cannot be used on the same element simultaneously");this._classMapInput=o}else(this._singleClassInputs=this._singleClassInputs||[]).push(o),sl(this._classesIndex,i);return this._lastStylingInput=o,this._firstStylingInput=this._firstStylingInput||o,this._checkForPipes(n),this.hasBindings=!0,o}_checkForPipes(e){e instanceof so&&e.ast instanceof qs&&(this.hasBindingsWithPipes=!0)}registerStyleAttr(e){this._initialStyleValues=function(e){const t=[];let n=0,r=0,i=0,s=0,o=0,a=null,c=!1;for(;n<e.length;)switch(e.charCodeAt(n++)){case 40:r++;break;case 41:r--;break;case 39:c=c||s>0,0===i?i=39:39===i&&92!==e.charCodeAt(n-1)&&(i=0);break;case 34:c=c||s>0,0===i?i=34:34===i&&92!==e.charCodeAt(n-1)&&(i=0);break;case 58:a||0!==r||0!==i||(a=rl(e.substring(o,n-1).trim()),s=n);break;case 59:if(a&&s>0&&0===r&&0===i){const r=e.substring(s,n-1).trim();t.push(a,c?nl(r):r),o=n,s=0,a=null,c=!1}}if(a&&s){const n=e.substr(s).trim();t.push(a,c?nl(n):n)}return t}(e),this._hasInitialValues=!0}registerClassAttr(e){this._initialClassValues=e.trim().split(/\s+/g),this._hasInitialValues=!0}populateInitialStylingAttrs(e){if(this._initialClassValues.length){e.push(Et(1));for(let t=0;t<this._initialClassValues.length;t++)e.push(Et(this._initialClassValues[t]))}if(this._initialStyleValues.length){e.push(Et(2));for(let t=0;t<this._initialStyleValues.length;t+=2)e.push(Et(this._initialStyleValues[t]),Et(this._initialStyleValues[t+1]))}}assignHostAttrs(e,t){this._directiveExpr&&(e.length||this._hasInitialValues)&&(this.populateInitialStylingAttrs(e),t.set("hostAttrs",Ot(e)))}buildClassMapInstruction(e){return this._classMapInput?this._buildMapBasedInstruction(e,!0,this._classMapInput):null}buildStyleMapInstruction(e){return this._styleMapInput?this._buildMapBasedInstruction(e,!1,this._styleMapInput):null}_buildMapBasedInstruction(e,t,n){let r=2;const i=n.value.visit(e);let s;return i instanceof Ks?(r+=i.expressions.length,s=t?function(e){switch(Oi(e)){case 1:return Nn.classMap;case 3:return Nn.classMapInterpolate1;case 5:return Nn.classMapInterpolate2;case 7:return Nn.classMapInterpolate3;case 9:return Nn.classMapInterpolate4;case 11:return Nn.classMapInterpolate5;case 13:return Nn.classMapInterpolate6;case 15:return Nn.classMapInterpolate7;case 17:return Nn.classMapInterpolate8;default:return Nn.classMapInterpolateV}}(i):function(e){switch(Oi(e)){case 1:return Nn.styleMap;case 3:return Nn.styleMapInterpolate1;case 5:return Nn.styleMapInterpolate2;case 7:return Nn.styleMapInterpolate3;case 9:return Nn.styleMapInterpolate4;case 11:return Nn.styleMapInterpolate5;case 13:return Nn.styleMapInterpolate6;case 15:return Nn.styleMapInterpolate7;case 17:return Nn.styleMapInterpolate8;default:return Nn.styleMapInterpolateV}}(i)):s=t?Nn.classMap:Nn.styleMap,{reference:s,calls:[{supportsInterpolation:!0,sourceSpan:n.sourceSpan,allocateBindingSlots:r,params:e=>{const t=e(i);return Array.isArray(t)?t:[t]}}]}}_buildSingleInputs(e,t,n,r,i){const s=[];return t.forEach(t=>{const o=s[s.length-1],a=t.value.visit(n);let c=e,l=2;a instanceof Ks&&(l+=a.expressions.length,r&&(c=r(a)));const u={sourceSpan:t.sourceSpan,allocateBindingSlots:l,supportsInterpolation:!!r,params:e=>{const n=[];n.push(Et(t.name));const r=e(a);return Array.isArray(r)?n.push(...r):n.push(r),i||null===t.suffix||n.push(Et(t.suffix)),n}};o&&o.reference===c?o.calls.push(u):s.push({reference:c,calls:[u]})}),s}_buildClassInputs(e){return this._singleClassInputs?this._buildSingleInputs(Nn.classProp,this._singleClassInputs,e,null,!0):[]}_buildStyleInputs(e){return this._singleStyleInputs?this._buildSingleInputs(Nn.styleProp,this._singleStyleInputs,e,al,!1):[]}buildUpdateLevelInstructions(e){const t=[];if(this.hasBindings){const n=this.buildStyleMapInstruction(e);n&&t.push(n);const r=this.buildClassMapInstruction(e);r&&t.push(r),t.push(...this._buildStyleInputs(e)),t.push(...this._buildClassInputs(e))}return t}}function sl(e,t){e.has(t)||e.set(t,e.size)}function ol(e){let t=!1;const n=e.indexOf("!important");-1!==n&&(e=n>0?e.substring(0,n):"",t=!0);let r=null,i=e;const s=e.lastIndexOf(".");return s>0&&(r=e.substr(s+1),i=e.substring(0,s)),{property:i,suffix:r,hasOverrideFlag:t}}function al(e){switch(Oi(e)){case 1:return Nn.styleProp;case 3:return Nn.stylePropInterpolate1;case 5:return Nn.stylePropInterpolate2;case 7:return Nn.stylePropInterpolate3;case 9:return Nn.stylePropInterpolate4;case 11:return Nn.stylePropInterpolate5;case 13:return Nn.stylePropInterpolate6;case 15:return Nn.stylePropInterpolate7;case 17:return Nn.stylePropInterpolate8;default:return Nn.stylePropInterpolateV}}var cl;!function(e){e[e.Character=0]="Character",e[e.Identifier=1]="Identifier",e[e.Keyword=2]="Keyword",e[e.String=3]="String",e[e.Operator=4]="Operator",e[e.Number=5]="Number",e[e.Error=6]="Error"}(cl||(cl={}));const ll=["var","let","as","null","undefined","true","false","if","else","this"];class ul{tokenize(e){const t=new ml(e),n=[];let r=t.scanToken();for(;null!=r;)n.push(r),r=t.scanToken();return n}}class hl{constructor(e,t,n,r,i){this.index=e,this.end=t,this.type=n,this.numValue=r,this.strValue=i}isCharacter(e){return this.type==cl.Character&&this.numValue==e}isNumber(){return this.type==cl.Number}isString(){return this.type==cl.String}isOperator(e){return this.type==cl.Operator&&this.strValue==e}isIdentifier(){return this.type==cl.Identifier}isKeyword(){return this.type==cl.Keyword}isKeywordLet(){return this.type==cl.Keyword&&"let"==this.strValue}isKeywordAs(){return this.type==cl.Keyword&&"as"==this.strValue}isKeywordNull(){return this.type==cl.Keyword&&"null"==this.strValue}isKeywordUndefined(){return this.type==cl.Keyword&&"undefined"==this.strValue}isKeywordTrue(){return this.type==cl.Keyword&&"true"==this.strValue}isKeywordFalse(){return this.type==cl.Keyword&&"false"==this.strValue}isKeywordThis(){return this.type==cl.Keyword&&"this"==this.strValue}isError(){return this.type==cl.Error}toNumber(){return this.type==cl.Number?this.numValue:-1}toString(){switch(this.type){case cl.Character:case cl.Identifier:case cl.Keyword:case cl.Operator:case cl.String:case cl.Error:return this.strValue;case cl.Number:return this.numValue.toString();default:return null}}}function dl(e,t,n){return new hl(e,t,cl.Character,n,String.fromCharCode(n))}function fl(e,t,n){return new hl(e,t,cl.Operator,0,n)}const pl=new hl(-1,-1,cl.Character,0,"");class ml{constructor(e){this.input=e,this.peek=0,this.index=-1,this.length=e.length,this.advance()}advance(){this.peek=++this.index>=this.length?0:this.input.charCodeAt(this.index)}scanToken(){const e=this.input,t=this.length;let n=this.peek,r=this.index;for(;n<=32;){if(++r>=t){n=0;break}n=e.charCodeAt(r)}if(this.peek=n,this.index=r,r>=t)return null;if(gl(n))return this.scanIdentifier();if(fs(n))return this.scanNumber(r);const i=r;switch(n){case 46:return this.advance(),fs(this.peek)?this.scanNumber(i):dl(i,this.index,46);case 40:case es:case us:case hs:case 91:case 93:case ts:case rs:case is:return this.scanCharacter(i,n);case 39:case 34:return this.scanString();case 35:case 43:case 45:case 42:case ns:case 37:case 94:return this.scanOperator(i,String.fromCharCode(n));case 63:return this.scanComplexOperator(i,"?",46,".");case ss:case as:return this.scanComplexOperator(i,String.fromCharCode(n),os,"=");case 33:case os:return this.scanComplexOperator(i,String.fromCharCode(n),os,"=",os,"=");case 38:return this.scanComplexOperator(i,"&",38,"&");case 124:return this.scanComplexOperator(i,"|",124,"|");case 160:for(;ds(this.peek);)this.advance();return this.scanToken()}return this.advance(),this.error(`Unexpected character [${String.fromCharCode(n)}]`,0)}scanCharacter(e,t){return this.advance(),dl(e,this.index,t)}scanOperator(e,t){return this.advance(),fl(e,this.index,t)}scanComplexOperator(e,t,n,r,i,s){this.advance();let o=t;return this.peek==n&&(this.advance(),o+=r),null!=i&&this.peek==i&&(this.advance(),o+=s),fl(e,this.index,o)}scanIdentifier(){const e=this.index;for(this.advance();vl(this.peek);)this.advance();const t=this.input.substring(e,this.index);return ll.indexOf(t)>-1?(n=e,r=this.index,i=t,new hl(n,r,cl.Keyword,0,i)):function(e,t,n){return new hl(e,t,cl.Identifier,0,n)}(e,this.index,t);var n,r,i}scanNumber(e){let t=this.index===e;for(this.advance();;){if(fs(this.peek));else if(46==this.peek)t=!1;else{if(101!=(n=this.peek)&&69!=n)break;if(this.advance(),yl(this.peek)&&this.advance(),!fs(this.peek))return this.error("Invalid exponent",-1);t=!1}this.advance()}var n;const r=this.input.substring(e,this.index),i=t?function(e){const t=parseInt(e);if(isNaN(t))throw new Error("Invalid integer literal when parsing "+e);return t}(r):parseFloat(r);return s=e,o=this.index,a=i,new hl(s,o,cl.Number,a,"");var s,o,a}scanString(){const e=this.index,t=this.peek;this.advance();let n="",r=this.index;const i=this.input;for(;this.peek!=t;)if(92==this.peek){let e;if(n+=i.substring(r,this.index),this.advance(),this.peek=this.peek,117==this.peek){const t=i.substring(this.index+1,this.index+5);if(!/^[0-9a-f]+$/i.test(t))return this.error(`Invalid unicode escape [\\u${t}]`,0);e=parseInt(t,16);for(let e=0;e<5;e++)this.advance()}else e=_l(this.peek),this.advance();n+=String.fromCharCode(e),r=this.index}else{if(0==this.peek)return this.error("Unterminated quote",0);this.advance()}const s=i.substring(r,this.index);return this.advance(),o=e,a=this.index,c=n+s,new hl(o,a,cl.String,0,c);var o,a,c}error(e,t){const n=this.index+t;return function(e,t,n){return new hl(e,t,cl.Error,0,n)}(n,this.index,`Lexer Error: ${e} at column ${n} in expression [${this.input}]`)}}function gl(e){return cs<=e&&e<=ls||65<=e&&e<=90||95==e||36==e}function vl(e){return ps(e)||fs(e)||95==e||36==e}function yl(e){return 45==e||43==e}function bl(e){return 39===e||34===e||96===e}function _l(e){switch(e){case 110:return Zi;case 102:return 12;case 114:return 13;case 116:return 9;case 118:return 11;default:return e}}class wl{constructor(e,t,n){this.strings=e,this.expressions=t,this.offsets=n}}class Sl{constructor(e,t,n){this.templateBindings=e,this.warnings=t,this.errors=n}}class xl{constructor(e){this._lexer=e,this.errors=[],this.simpleExpressionChecker=Ml}parseAction(e,t,n,r=Ii){this._checkNoInterpolation(e,t,r);const i=this._stripComments(e),s=this._lexer.tokenize(this._stripComments(e)),o=new Cl(e,t,n,s,i.length,!0,this.errors,e.length-i.length).parseChain();return new so(o,e,t,n,this.errors)}parseBinding(e,t,n,r=Ii){const i=this._parseBindingAst(e,t,n,r);return new so(i,e,t,n,this.errors)}checkSimpleExpression(e){const t=new this.simpleExpressionChecker;return e.visit(t),t.errors}parseSimpleBinding(e,t,n,r=Ii){const i=this._parseBindingAst(e,t,n,r),s=this.checkSimpleExpression(i);return s.length>0&&this._reportError("Host binding expression cannot contain "+s.join(" "),e,t),new so(i,e,t,n,this.errors)}_reportError(e,t,n,r){this.errors.push(new Ds(e,t,n,r))}_parseBindingAst(e,t,n,r){const i=this._parseQuote(e,t,n);if(null!=i)return i;this._checkNoInterpolation(e,t,r);const s=this._stripComments(e),o=this._lexer.tokenize(s);return new Cl(e,t,n,o,s.length,!1,this.errors,e.length-s.length).parseChain()}_parseQuote(e,t,n){if(null==e)return null;const r=e.indexOf(":");if(-1==r)return null;const i=e.substring(0,r).trim();if(!function(e){if(0==e.length)return!1;const t=new ml(e);if(!gl(t.peek))return!1;for(t.advance();0!==t.peek;){if(!vl(t.peek))return!1;t.advance()}return!0}(i))return null;const s=e.substring(r+1),o=new As(0,e.length);return new Ps(o,o.toAbsolute(n),i,s,t)}parseTemplateBindings(e,t,n,r,i){const s=this._lexer.tokenize(t);return new Cl(t,n,i,s,t.length,!1,this.errors,0).parseTemplateBindings({source:e,span:new io(r,r+e.length)})}parseInterpolation(e,t,n,r=Ii){const{strings:i,expressions:s,offsets:o}=this.splitInterpolation(e,t,r);if(0===s.length)return null;const a=[];for(let c=0;c<s.length;++c){const r=s[c].text,i=this._stripComments(r),l=this._lexer.tokenize(i),u=new Cl(e,t,n,l,i.length,!1,this.errors,o[c]+(r.length-i.length)).parseChain();a.push(u)}return this.createInterpolationAst(i.map(e=>e.text),a,e,t,n)}parseInterpolationExpression(e,t,n){const r=this._stripComments(e),i=this._lexer.tokenize(r),s=new Cl(e,t,n,i,r.length,!1,this.errors,0).parseChain();return this.createInterpolationAst(["",""],[s],e,t,n)}createInterpolationAst(e,t,n,r,i){const s=new As(0,n.length),o=new Ks(s,s.toAbsolute(i),e,t);return new so(o,n,r,i,this.errors)}splitInterpolation(e,t,n=Ii){const r=[],i=[],s=[];let o=0,a=!1,c=!1,{start:l,end:u}=n;for(;o<e.length;)if(a){const n=o,r=n+l.length,h=this._getInterpolationEndIndex(e,u,r);if(-1===h){a=!1,c=!0;break}const d=h+u.length,f=e.substring(r,h);f.trim().length>0?i.push({text:f,start:n,end:d}):(this._reportError("Blank expressions are not allowed in interpolated strings",e,`at column ${o} in`,t),i.push({text:"$implicit",start:n,end:d})),s.push(r),o=d,a=!1}else{const t=o;o=e.indexOf(l,o),-1===o&&(o=e.length);const n=e.substring(t,o);r.push({text:n,start:t,end:o}),a=!0}if(!a)if(c){const t=r[r.length-1];t.text+=e.substring(o),t.end=e.length}else r.push({text:e.substring(o),start:o,end:e.length});return new wl(r,i,s)}wrapLiteralPrimitive(e,t,n){const r=new As(0,null==e?0:e.length);return new so(new $s(r,r.toAbsolute(n),e),e,t,n,this.errors)}_stripComments(e){const t=this._commentStart(e);return null!=t?e.substring(0,t).trim():e}_commentStart(e){let t=null;for(let n=0;n<e.length-1;n++){const r=e.charCodeAt(n),i=e.charCodeAt(n+1);if(r===ns&&i==ns&&null==t)return n;t===r?t=null:null==t&&bl(r)&&(t=r)}return null}_checkNoInterpolation(e,t,{start:n,end:r}){let i=-1,s=-1;for(const o of this._forEachUnquotedChar(e,0))if(-1===i)e.startsWith(n)&&(i=o);else if(s=this._getInterpolationEndIndex(e,r,o),s>-1)break;i>-1&&s>-1&&this._reportError(`Got interpolation (${n}${r}) where expression was expected`,e,`at column ${i} in`,t)}_getInterpolationEndIndex(e,t,n){for(const r of this._forEachUnquotedChar(e,n)){if(e.startsWith(t,r))return r;if(e.startsWith("//",r))return e.indexOf(t,r)}return-1}*_forEachUnquotedChar(e,t){let n=null,r=0;for(let i=t;i<e.length;i++){const t=e[i];!bl(e.charCodeAt(i))||null!==n&&n!==t||r%2!=0?null===n&&(yield i):n=null===n?t:null,r="\\"===t?r+1:0}}}class Ol extends xl{constructor(){super(...arguments),this.simpleExpressionChecker=El}}var kl;!function(e){e[e.None=0]="None",e[e.Writable=1]="Writable"}(kl||(kl={}));class Cl{constructor(e,t,n,r,i,s,o,a){this.input=e,this.location=t,this.absoluteOffset=n,this.tokens=r,this.inputLength=i,this.parseAction=s,this.errors=o,this.offset=a,this.rparensExpected=0,this.rbracketsExpected=0,this.rbracesExpected=0,this.context=kl.None,this.sourceSpanCache=new Map,this.index=0}peek(e){const t=this.index+e;return t<this.tokens.length?this.tokens[t]:pl}get next(){return this.peek(0)}get atEOF(){return this.index>=this.tokens.length}get inputIndex(){return this.atEOF?this.currentEndIndex:this.next.index+this.offset}get currentEndIndex(){if(this.index>0){return this.peek(-1).end+this.offset}return 0===this.tokens.length?this.inputLength+this.offset:this.next.index+this.offset}get currentAbsoluteOffset(){return this.absoluteOffset+this.inputIndex}span(e){return new As(e,this.currentEndIndex)}sourceSpan(e){const t=`${e}@${this.inputIndex}`;return this.sourceSpanCache.has(t)||this.sourceSpanCache.set(t,this.span(e).toAbsolute(this.absoluteOffset)),this.sourceSpanCache.get(t)}advance(){this.index++}withContext(e,t){this.context|=e;const n=t();return this.context^=e,n}consumeOptionalCharacter(e){return!!this.next.isCharacter(e)&&(this.advance(),!0)}peekKeywordLet(){return this.next.isKeywordLet()}peekKeywordAs(){return this.next.isKeywordAs()}expectCharacter(e){this.consumeOptionalCharacter(e)||this.error("Missing expected "+String.fromCharCode(e))}consumeOptionalOperator(e){return!!this.next.isOperator(e)&&(this.advance(),!0)}expectOperator(e){this.consumeOptionalOperator(e)||this.error("Missing expected operator "+e)}prettyPrintToken(e){return e===pl?"end of input":"token "+e}expectIdentifierOrKeyword(){const e=this.next;return e.isIdentifier()||e.isKeyword()?(this.advance(),e.toString()):(this.error(`Unexpected ${this.prettyPrintToken(e)}, expected identifier or keyword`),"")}expectIdentifierOrKeywordOrString(){const e=this.next;return e.isIdentifier()||e.isKeyword()||e.isString()?(this.advance(),e.toString()):(this.error(`Unexpected ${this.prettyPrintToken(e)}, expected identifier, keyword, or string`),"")}parseChain(){const e=[],t=this.inputIndex;for(;this.index<this.tokens.length;){const t=this.parsePipe();if(e.push(t),this.consumeOptionalCharacter(is))for(this.parseAction||this.error("Binding expression cannot contain chained expression");this.consumeOptionalCharacter(is););else this.index<this.tokens.length&&this.error(`Unexpected token '${this.next}'`)}return 0==e.length?new Is(this.span(t),this.sourceSpan(t)):1==e.length?e[0]:new Hs(this.span(t),this.sourceSpan(t),e)}parsePipe(){let e=this.parseExpression();if(this.consumeOptionalOperator("|")){this.parseAction&&this.error("Cannot have a pipe in an action expression");do{const t=this.inputIndex,n=this.expectIdentifierOrKeyword(),r=this.sourceSpan(t),i=[];for(;this.consumeOptionalCharacter(rs);)i.push(this.parseExpression());const{start:s}=e.span;e=new qs(this.span(s),this.sourceSpan(s),e,n,i,r)}while(this.consumeOptionalOperator("|"))}return e}parseExpression(){return this.parseConditional()}parseConditional(){const e=this.inputIndex,t=this.parseLogicalOr();if(this.consumeOptionalOperator("?")){const n=this.parsePipe();let r;if(this.consumeOptionalCharacter(rs))r=this.parsePipe();else{const t=this.inputIndex,n=this.input.substring(e,t);this.error(`Conditional expression ${n} requires all 3 expressions`),r=new Is(this.span(e),this.sourceSpan(e))}return new Fs(this.span(e),this.sourceSpan(e),t,n,r)}return t}parseLogicalOr(){let e=this.parseLogicalAnd();for(;this.consumeOptionalOperator("||");){const t=this.parseLogicalAnd(),{start:n}=e.span;e=new Js(this.span(n),this.sourceSpan(n),"||",e,t)}return e}parseLogicalAnd(){let e=this.parseEquality();for(;this.consumeOptionalOperator("&&");){const t=this.parseEquality(),{start:n}=e.span;e=new Js(this.span(n),this.sourceSpan(n),"&&",e,t)}return e}parseEquality(){let e=this.parseRelational();for(;this.next.type==cl.Operator;){const t=this.next.strValue;switch(t){case"==":case"===":case"!=":case"!==":this.advance();const n=this.parseRelational(),{start:r}=e.span;e=new Js(this.span(r),this.sourceSpan(r),t,e,n);continue}break}return e}parseRelational(){let e=this.parseAdditive();for(;this.next.type==cl.Operator;){const t=this.next.strValue;switch(t){case"<":case">":case"<=":case">=":this.advance();const n=this.parseAdditive(),{start:r}=e.span;e=new Js(this.span(r),this.sourceSpan(r),t,e,n);continue}break}return e}parseAdditive(){let e=this.parseMultiplicative();for(;this.next.type==cl.Operator;){const t=this.next.strValue;switch(t){case"+":case"-":this.advance();let n=this.parseMultiplicative();const{start:r}=e.span;e=new Js(this.span(r),this.sourceSpan(r),t,e,n);continue}break}return e}parseMultiplicative(){let e=this.parsePrefix();for(;this.next.type==cl.Operator;){const t=this.next.strValue;switch(t){case"*":case"%":case"/":this.advance();let n=this.parsePrefix();const{start:r}=e.span;e=new Js(this.span(r),this.sourceSpan(r),t,e,n);continue}break}return e}parsePrefix(){if(this.next.type==cl.Operator){const e=this.inputIndex;let t;switch(this.next.strValue){case"+":return this.advance(),t=this.parsePrefix(),Qs.createPlus(this.span(e),this.sourceSpan(e),t);case"-":return this.advance(),t=this.parsePrefix(),Qs.createMinus(this.span(e),this.sourceSpan(e),t);case"!":return this.advance(),t=this.parsePrefix(),new Zs(this.span(e),this.sourceSpan(e),t)}}return this.parseCallChain()}parseCallChain(){let e=this.parsePrimary();const t=e.span.start;for(;;)if(this.consumeOptionalCharacter(46))e=this.parseAccessMemberOrMethodCall(e,!1);else if(this.consumeOptionalOperator("?."))e=this.parseAccessMemberOrMethodCall(e,!0);else if(this.consumeOptionalCharacter(91))this.withContext(kl.Writable,()=>{this.rbracketsExpected++;const n=this.parsePipe();if(n instanceof Is&&this.error("Key access cannot be empty"),this.rbracketsExpected--,this.expectCharacter(93),this.consumeOptionalOperator("=")){const r=this.parseConditional();e=new Ws(this.span(t),this.sourceSpan(t),e,n,r)}else e=new Us(this.span(t),this.sourceSpan(t),e,n)});else if(this.consumeOptionalCharacter(40)){this.rparensExpected++;const n=this.parseCallArguments();this.rparensExpected--,this.expectCharacter(es),e=new ro(this.span(t),this.sourceSpan(t),e,n)}else{if(!this.consumeOptionalOperator("!"))return e;e=new eo(this.span(t),this.sourceSpan(t),e)}}parsePrimary(){const e=this.inputIndex;if(this.consumeOptionalCharacter(40)){this.rparensExpected++;const e=this.parsePipe();return this.rparensExpected--,this.expectCharacter(es),e}if(this.next.isKeywordNull())return this.advance(),new $s(this.span(e),this.sourceSpan(e),null);if(this.next.isKeywordUndefined())return this.advance(),new $s(this.span(e),this.sourceSpan(e),void 0);if(this.next.isKeywordTrue())return this.advance(),new $s(this.span(e),this.sourceSpan(e),!0);if(this.next.isKeywordFalse())return this.advance(),new $s(this.span(e),this.sourceSpan(e),!1);if(this.next.isKeywordThis())return this.advance(),new Ns(this.span(e),this.sourceSpan(e));if(this.consumeOptionalCharacter(91)){this.rbracketsExpected++;const t=this.parseExpressionList(93);return this.rbracketsExpected--,this.expectCharacter(93),new Gs(this.span(e),this.sourceSpan(e),t)}if(this.next.isCharacter(us))return this.parseLiteralMap();if(this.next.isIdentifier())return this.parseAccessMemberOrMethodCall(new Rs(this.span(e),this.sourceSpan(e)),!1);if(this.next.isNumber()){const t=this.next.toNumber();return this.advance(),new $s(this.span(e),this.sourceSpan(e),t)}if(this.next.isString()){const t=this.next.toString();return this.advance(),new $s(this.span(e),this.sourceSpan(e),t)}return this.index>=this.tokens.length?(this.error("Unexpected end of expression: "+this.input),new Is(this.span(e),this.sourceSpan(e))):(this.error("Unexpected token "+this.next),new Is(this.span(e),this.sourceSpan(e)))}parseExpressionList(e){const t=[];if(!this.next.isCharacter(e))do{t.push(this.parsePipe())}while(this.consumeOptionalCharacter(ts));return t}parseLiteralMap(){const e=[],t=[],n=this.inputIndex;if(this.expectCharacter(us),!this.consumeOptionalCharacter(hs)){this.rbracesExpected++;do{const n=this.next.isString(),r=this.expectIdentifierOrKeywordOrString();e.push({key:r,quoted:n}),this.expectCharacter(rs),t.push(this.parsePipe())}while(this.consumeOptionalCharacter(ts));this.rbracesExpected--,this.expectCharacter(hs)}return new Xs(this.span(n),this.sourceSpan(n),e,t)}parseAccessMemberOrMethodCall(e,t=!1){const n=e.span.start,r=this.inputIndex,i=this.expectIdentifierOrKeyword(),s=this.sourceSpan(r);if(this.consumeOptionalCharacter(40)){this.rparensExpected++;const r=this.parseCallArguments();this.expectCharacter(es),this.rparensExpected--;const o=this.span(n),a=this.sourceSpan(n);return t?new no(o,a,s,e,i,r):new to(o,a,s,e,i,r)}if(t)return this.consumeOptionalOperator("=")?(this.error("The '?.' operator cannot be used in the assignment"),new Is(this.span(n),this.sourceSpan(n))):new Ys(this.span(n),this.sourceSpan(n),s,e,i);if(this.consumeOptionalOperator("=")){if(!this.parseAction)return this.error("Bindings cannot contain assignments"),new Is(this.span(n),this.sourceSpan(n));const t=this.parseConditional();return new Bs(this.span(n),this.sourceSpan(n),s,e,i,t)}return new Vs(this.span(n),this.sourceSpan(n),s,e,i)}parseCallArguments(){if(this.next.isCharacter(es))return[];const e=[];do{e.push(this.parsePipe())}while(this.consumeOptionalCharacter(ts));return e}expectTemplateBindingKey(){let e="",t=!1;const n=this.currentAbsoluteOffset;do{e+=this.expectIdentifierOrKeywordOrString(),t=this.consumeOptionalOperator("-"),t&&(e+="-")}while(t);return{source:e,span:new io(n,n+e.length)}}parseTemplateBindings(e){const t=[];for(t.push(...this.parseDirectiveKeywordBindings(e));this.index<this.tokens.length;){const n=this.parseLetBinding();if(n)t.push(n);else{const n=this.expectTemplateBindingKey(),r=this.parseAsBinding(n);r?t.push(r):(n.source=e.source+n.source.charAt(0).toUpperCase()+n.source.substring(1),t.push(...this.parseDirectiveKeywordBindings(n)))}this.consumeStatementTerminator()}return new Sl(t,[],this.errors)}parseDirectiveKeywordBindings(e){const t=[];this.consumeOptionalCharacter(rs);const n=this.getDirectiveBoundTarget();let r=this.currentAbsoluteOffset;const i=this.parseAsBinding(e);i||(this.consumeStatementTerminator(),r=this.currentAbsoluteOffset);const s=new io(e.span.start,r);return t.push(new ao(s,e,n)),i&&t.push(i),t}getDirectiveBoundTarget(){if(this.next===pl||this.peekKeywordAs()||this.peekKeywordLet())return null;const e=this.parsePipe(),{start:t,end:n}=e.span,r=this.input.substring(t,n);return new so(e,r,this.location,this.absoluteOffset+t,this.errors)}parseAsBinding(e){if(!this.peekKeywordAs())return null;this.advance();const t=this.expectTemplateBindingKey();this.consumeStatementTerminator();const n=new io(e.span.start,this.currentAbsoluteOffset);return new oo(n,t,e)}parseLetBinding(){if(!this.peekKeywordLet())return null;const e=this.currentAbsoluteOffset;this.advance();const t=this.expectTemplateBindingKey();let n=null;this.consumeOptionalOperator("=")&&(n=this.expectTemplateBindingKey()),this.consumeStatementTerminator();const r=new io(e,this.currentAbsoluteOffset);return new oo(r,t,n)}consumeStatementTerminator(){this.consumeOptionalCharacter(is)||this.consumeOptionalCharacter(ts)}error(e,t=null){this.errors.push(new Ds(e,this.input,this.locationText(t),this.location)),this.skip()}locationText(e=null){return null==e&&(e=this.index),e<this.tokens.length?`at column ${this.tokens[e].index+1} in`:"at the end of the expression"}skip(){let e=this.next;for(;!(!(this.index<this.tokens.length)||e.isCharacter(is)||!(this.rparensExpected<=0)&&e.isCharacter(es)||!(this.rbracesExpected<=0)&&e.isCharacter(hs)||!(this.rbracketsExpected<=0)&&e.isCharacter(93)||this.context&kl.Writable&&e.isOperator("="));)this.next.isError()&&this.errors.push(new Ds(this.next.toString(),this.input,this.locationText(),this.location)),this.advance(),e=this.next}}class Ml{constructor(){this.errors=[]}visitImplicitReceiver(e,t){}visitThisReceiver(e,t){}visitInterpolation(e,t){}visitLiteralPrimitive(e,t){}visitPropertyRead(e,t){}visitPropertyWrite(e,t){}visitSafePropertyRead(e,t){}visitMethodCall(e,t){}visitSafeMethodCall(e,t){}visitFunctionCall(e,t){}visitLiteralArray(e,t){this.visitAll(e.expressions,t)}visitLiteralMap(e,t){this.visitAll(e.values,t)}visitUnary(e,t){}visitBinary(e,t){}visitPrefixNot(e,t){}visitNonNullAssert(e,t){}visitConditional(e,t){}visitPipe(e,t){this.errors.push("pipes")}visitKeyedRead(e,t){}visitKeyedWrite(e,t){}visitAll(e,t){return e.map(e=>e.visit(this,t))}visitChain(e,t){}visitQuote(e,t){}}class El extends co{constructor(){super(...arguments),this.errors=[]}visitPipe(){this.errors.push("pipes")}}let Tl;function jl(){return Tl||(Tl={},Dl(q.HTML,["iframe|srcdoc","*|innerHTML","*|outerHTML"]),Dl(q.STYLE,["*|style"]),Dl(q.URL,["*|formAction","area|href","area|ping","audio|src","a|href","a|ping","blockquote|cite","body|background","del|cite","form|action","img|src","img|srcset","input|src","ins|cite","q|cite","source|src","source|srcset","track|src","video|poster","video|src"]),Dl(q.RESOURCE_URL,["applet|code","applet|codebase","base|href","embed|src","frame|src","head|profile","html|manifest","iframe|src","link|href","media|src","object|codebase","object|data","script|src"])),Tl}function Dl(e,t){for(const n of t)Tl[n.toLowerCase()]=e}class Al{}const Ll=["[Element]|textContent,%classList,className,id,innerHTML,*beforecopy,*beforecut,*beforepaste,*copy,*cut,*paste,*search,*selectstart,*webkitfullscreenchange,*webkitfullscreenerror,*wheel,outerHTML,#scrollLeft,#scrollTop,slot,*message,*mozfullscreenchange,*mozfullscreenerror,*mozpointerlockchange,*mozpointerlockerror,*webglcontextcreationerror,*webglcontextlost,*webglcontextrestored","[HTMLElement]^[Element]|accessKey,contentEditable,dir,!draggable,!hidden,innerText,lang,*abort,*auxclick,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*cuechange,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*seeked,*seeking,*select,*show,*stalled,*submit,*suspend,*timeupdate,*toggle,*volumechange,*waiting,outerText,!spellcheck,%style,#tabIndex,title,!translate","abbr,address,article,aside,b,bdi,bdo,cite,code,dd,dfn,dt,em,figcaption,figure,footer,header,i,kbd,main,mark,nav,noscript,rb,rp,rt,rtc,ruby,s,samp,section,small,strong,sub,sup,u,var,wbr^[HTMLElement]|accessKey,contentEditable,dir,!draggable,!hidden,innerText,lang,*abort,*auxclick,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*cuechange,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*seeked,*seeking,*select,*show,*stalled,*submit,*suspend,*timeupdate,*toggle,*volumechange,*waiting,outerText,!spellcheck,%style,#tabIndex,title,!translate","media^[HTMLElement]|!autoplay,!controls,%controlsList,%crossOrigin,#currentTime,!defaultMuted,#defaultPlaybackRate,!disableRemotePlayback,!loop,!muted,*encrypted,*waitingforkey,#playbackRate,preload,src,%srcObject,#volume",":svg:^[HTMLElement]|*abort,*auxclick,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*cuechange,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*seeked,*seeking,*select,*show,*stalled,*submit,*suspend,*timeupdate,*toggle,*volumechange,*waiting,%style,#tabIndex",":svg:graphics^:svg:|",":svg:animation^:svg:|*begin,*end,*repeat",":svg:geometry^:svg:|",":svg:componentTransferFunction^:svg:|",":svg:gradient^:svg:|",":svg:textContent^:svg:graphics|",":svg:textPositioning^:svg:textContent|","a^[HTMLElement]|charset,coords,download,hash,host,hostname,href,hreflang,name,password,pathname,ping,port,protocol,referrerPolicy,rel,rev,search,shape,target,text,type,username","area^[HTMLElement]|alt,coords,download,hash,host,hostname,href,!noHref,password,pathname,ping,port,protocol,referrerPolicy,rel,search,shape,target,username","audio^media|","br^[HTMLElement]|clear","base^[HTMLElement]|href,target","body^[HTMLElement]|aLink,background,bgColor,link,*beforeunload,*blur,*error,*focus,*hashchange,*languagechange,*load,*message,*offline,*online,*pagehide,*pageshow,*popstate,*rejectionhandled,*resize,*scroll,*storage,*unhandledrejection,*unload,text,vLink","button^[HTMLElement]|!autofocus,!disabled,formAction,formEnctype,formMethod,!formNoValidate,formTarget,name,type,value","canvas^[HTMLElement]|#height,#width","content^[HTMLElement]|select","dl^[HTMLElement]|!compact","datalist^[HTMLElement]|","details^[HTMLElement]|!open","dialog^[HTMLElement]|!open,returnValue","dir^[HTMLElement]|!compact","div^[HTMLElement]|align","embed^[HTMLElement]|align,height,name,src,type,width","fieldset^[HTMLElement]|!disabled,name","font^[HTMLElement]|color,face,size","form^[HTMLElement]|acceptCharset,action,autocomplete,encoding,enctype,method,name,!noValidate,target","frame^[HTMLElement]|frameBorder,longDesc,marginHeight,marginWidth,name,!noResize,scrolling,src","frameset^[HTMLElement]|cols,*beforeunload,*blur,*error,*focus,*hashchange,*languagechange,*load,*message,*offline,*online,*pagehide,*pageshow,*popstate,*rejectionhandled,*resize,*scroll,*storage,*unhandledrejection,*unload,rows","hr^[HTMLElement]|align,color,!noShade,size,width","head^[HTMLElement]|","h1,h2,h3,h4,h5,h6^[HTMLElement]|align","html^[HTMLElement]|version","iframe^[HTMLElement]|align,!allowFullscreen,frameBorder,height,longDesc,marginHeight,marginWidth,name,referrerPolicy,%sandbox,scrolling,src,srcdoc,width","img^[HTMLElement]|align,alt,border,%crossOrigin,#height,#hspace,!isMap,longDesc,lowsrc,name,referrerPolicy,sizes,src,srcset,useMap,#vspace,#width","input^[HTMLElement]|accept,align,alt,autocapitalize,autocomplete,!autofocus,!checked,!defaultChecked,defaultValue,dirName,!disabled,%files,formAction,formEnctype,formMethod,!formNoValidate,formTarget,#height,!incremental,!indeterminate,max,#maxLength,min,#minLength,!multiple,name,pattern,placeholder,!readOnly,!required,selectionDirection,#selectionEnd,#selectionStart,#size,src,step,type,useMap,value,%valueAsDate,#valueAsNumber,#width","li^[HTMLElement]|type,#value","label^[HTMLElement]|htmlFor","legend^[HTMLElement]|align","link^[HTMLElement]|as,charset,%crossOrigin,!disabled,href,hreflang,integrity,media,referrerPolicy,rel,%relList,rev,%sizes,target,type","map^[HTMLElement]|name","marquee^[HTMLElement]|behavior,bgColor,direction,height,#hspace,#loop,#scrollAmount,#scrollDelay,!trueSpeed,#vspace,width","menu^[HTMLElement]|!compact","meta^[HTMLElement]|content,httpEquiv,name,scheme","meter^[HTMLElement]|#high,#low,#max,#min,#optimum,#value","ins,del^[HTMLElement]|cite,dateTime","ol^[HTMLElement]|!compact,!reversed,#start,type","object^[HTMLElement]|align,archive,border,code,codeBase,codeType,data,!declare,height,#hspace,name,standby,type,useMap,#vspace,width","optgroup^[HTMLElement]|!disabled,label","option^[HTMLElement]|!defaultSelected,!disabled,label,!selected,text,value","output^[HTMLElement]|defaultValue,%htmlFor,name,value","p^[HTMLElement]|align","param^[HTMLElement]|name,type,value,valueType","picture^[HTMLElement]|","pre^[HTMLElement]|#width","progress^[HTMLElement]|#max,#value","q,blockquote,cite^[HTMLElement]|","script^[HTMLElement]|!async,charset,%crossOrigin,!defer,event,htmlFor,integrity,src,text,type","select^[HTMLElement]|!autofocus,!disabled,#length,!multiple,name,!required,#selectedIndex,#size,value","shadow^[HTMLElement]|","slot^[HTMLElement]|name","source^[HTMLElement]|media,sizes,src,srcset,type","span^[HTMLElement]|","style^[HTMLElement]|!disabled,media,type","caption^[HTMLElement]|align","th,td^[HTMLElement]|abbr,align,axis,bgColor,ch,chOff,#colSpan,headers,height,!noWrap,#rowSpan,scope,vAlign,width","col,colgroup^[HTMLElement]|align,ch,chOff,#span,vAlign,width","table^[HTMLElement]|align,bgColor,border,%caption,cellPadding,cellSpacing,frame,rules,summary,%tFoot,%tHead,width","tr^[HTMLElement]|align,bgColor,ch,chOff,vAlign","tfoot,thead,tbody^[HTMLElement]|align,ch,chOff,vAlign","template^[HTMLElement]|","textarea^[HTMLElement]|autocapitalize,!autofocus,#cols,defaultValue,dirName,!disabled,#maxLength,#minLength,name,placeholder,!readOnly,!required,#rows,selectionDirection,#selectionEnd,#selectionStart,value,wrap","title^[HTMLElement]|text","track^[HTMLElement]|!default,kind,label,src,srclang","ul^[HTMLElement]|!compact,type","unknown^[HTMLElement]|","video^media|#height,poster,#width",":svg:a^:svg:graphics|",":svg:animate^:svg:animation|",":svg:animateMotion^:svg:animation|",":svg:animateTransform^:svg:animation|",":svg:circle^:svg:geometry|",":svg:clipPath^:svg:graphics|",":svg:defs^:svg:graphics|",":svg:desc^:svg:|",":svg:discard^:svg:|",":svg:ellipse^:svg:geometry|",":svg:feBlend^:svg:|",":svg:feColorMatrix^:svg:|",":svg:feComponentTransfer^:svg:|",":svg:feComposite^:svg:|",":svg:feConvolveMatrix^:svg:|",":svg:feDiffuseLighting^:svg:|",":svg:feDisplacementMap^:svg:|",":svg:feDistantLight^:svg:|",":svg:feDropShadow^:svg:|",":svg:feFlood^:svg:|",":svg:feFuncA^:svg:componentTransferFunction|",":svg:feFuncB^:svg:componentTransferFunction|",":svg:feFuncG^:svg:componentTransferFunction|",":svg:feFuncR^:svg:componentTransferFunction|",":svg:feGaussianBlur^:svg:|",":svg:feImage^:svg:|",":svg:feMerge^:svg:|",":svg:feMergeNode^:svg:|",":svg:feMorphology^:svg:|",":svg:feOffset^:svg:|",":svg:fePointLight^:svg:|",":svg:feSpecularLighting^:svg:|",":svg:feSpotLight^:svg:|",":svg:feTile^:svg:|",":svg:feTurbulence^:svg:|",":svg:filter^:svg:|",":svg:foreignObject^:svg:graphics|",":svg:g^:svg:graphics|",":svg:image^:svg:graphics|",":svg:line^:svg:geometry|",":svg:linearGradient^:svg:gradient|",":svg:mpath^:svg:|",":svg:marker^:svg:|",":svg:mask^:svg:|",":svg:metadata^:svg:|",":svg:path^:svg:geometry|",":svg:pattern^:svg:|",":svg:polygon^:svg:geometry|",":svg:polyline^:svg:geometry|",":svg:radialGradient^:svg:gradient|",":svg:rect^:svg:geometry|",":svg:svg^:svg:graphics|#currentScale,#zoomAndPan",":svg:script^:svg:|type",":svg:set^:svg:animation|",":svg:stop^:svg:|",":svg:style^:svg:|!disabled,media,title,type",":svg:switch^:svg:graphics|",":svg:symbol^:svg:|",":svg:tspan^:svg:textPositioning|",":svg:text^:svg:textPositioning|",":svg:textPath^:svg:textContent|",":svg:title^:svg:|",":svg:use^:svg:graphics|",":svg:view^:svg:|#zoomAndPan","data^[HTMLElement]|value","keygen^[HTMLElement]|!autofocus,challenge,!disabled,form,keytype,name","menuitem^[HTMLElement]|type,label,icon,!disabled,!checked,radiogroup,!default","summary^[HTMLElement]|","time^[HTMLElement]|dateTime",":svg:cursor^:svg:|"],zl={class:"className",for:"htmlFor",formaction:"formAction",innerHtml:"innerHTML",readonly:"readOnly",tabindex:"tabIndex"};class Pl extends Al{constructor(){super(),this._schema={},Ll.forEach(e=>{const t={},[n,r]=e.split("|"),i=r.split(","),[s,o]=n.split("^");s.split(",").forEach(e=>this._schema[e.toLowerCase()]=t);const a=o&&this._schema[o.toLowerCase()];a&&Object.keys(a).forEach(e=>{t[e]=a[e]}),i.forEach(e=>{if(e.length>0)switch(e[0]){case"*":break;case"!":t[e.substring(1)]="boolean";break;case"#":t[e.substring(1)]="number";break;case"%":t[e.substring(1)]="object";break;default:t[e]="string"}})})}hasProperty(e,t,n){if(n.some(e=>e.name===F.name))return!0;if(e.indexOf("-")>-1){if(o(e)||a(e))return!1;if(n.some(e=>e.name===H.name))return!0}return!!(this._schema[e.toLowerCase()]||this._schema.unknown)[t]}hasElement(e,t){if(t.some(e=>e.name===F.name))return!0;if(e.indexOf("-")>-1){if(o(e)||a(e))return!0;if(t.some(e=>e.name===H.name))return!0}return!!this._schema[e.toLowerCase()]}securityContext(e,t,n){n&&(t=this.getMappedPropName(t)),e=e.toLowerCase(),t=t.toLowerCase();let r=jl()[e+"|"+t];return r||(r=jl()["*|"+t],r||q.NONE)}getMappedPropName(e){return zl[e]||e}getDefaultComponentElementName(){return"ng-component"}validateProperty(e){if(e.toLowerCase().startsWith("on")){return{error:!0,msg:`Binding to event property '${e}' is disallowed for security reasons, please use (${e.slice(2)})=...\nIf '${e}' is a directive input, make sure the directive is imported by the current module.`}}return{error:!1}}validateAttribute(e){if(e.toLowerCase().startsWith("on")){return{error:!0,msg:`Binding to event attribute '${e}' is disallowed for security reasons, please use (${e.slice(2)})=...`}}return{error:!1}}allKnownElementNames(){return Object.keys(this._schema)}normalizeAnimationStyleProperty(e){return e.replace(Dt,(...e)=>e[1].toUpperCase())}normalizeAnimationStyleValue(e,t,n){let r="";const i=n.toString().trim();let s=null;if(function(e){switch(e){case"width":case"height":case"minWidth":case"minHeight":case"maxWidth":case"maxHeight":case"left":case"top":case"bottom":case"right":case"fontSize":case"outlineWidth":case"outlineOffset":case"paddingTop":case"paddingLeft":case"paddingBottom":case"paddingRight":case"marginTop":case"marginLeft":case"marginBottom":case"marginRight":case"borderRadius":case"borderWidth":case"borderTopWidth":case"borderLeftWidth":case"borderRightWidth":case"borderBottomWidth":case"textIndent":return!0;default:return!1}}(e)&&0!==n&&"0"!==n)if("number"==typeof n)r="px";else{const e=n.match(/^[+-]?[\d\.]+([a-z]*)$/);e&&0==e[1].length&&(s=`Please provide a CSS unit value for ${t}:${n}`)}return{error:s,value:i+r}}}const Il=/^(?:(?:(?:(bind-)|(let-)|(ref-|#)|(on-)|(bindon-)|(@))(.*))|\[\(([^\)]+)\)\]|\[([^\]]+)\]|\(([^\)]+)\))$/;function Rl(e,t){const n=new Nl(t);return{nodes:ya(n,e),errors:t.errors.concat(n.errors),styleUrls:n.styleUrls,styles:n.styles,ngContentSelectors:n.ngContentSelectors}}class Nl{constructor(e){this.bindingParser=e,this.errors=[],this.styles=[],this.styleUrls=[],this.ngContentSelectors=[],this.inI18nBlock=!1}visitElement(e){const t=Jr(e.i18n);t&&(this.inI18nBlock&&this.reportError("Cannot mark an element as translatable inside of a translatable section. Please remove the nested i18n marker.",e.sourceSpan),this.inI18nBlock=!0);const n=Nc(e);if(n.type===Hc.SCRIPT)return null;if(n.type===Hc.STYLE){const t=1===(r=e).children.length&&r.children[0]instanceof da?r.children[0].value:null;return null!==t&&this.styles.push(t),null}if(n.type===Hc.STYLESHEET&&Ec(n.hrefAttr))return this.styleUrls.push(n.hrefAttr),null;var r;const i=c(e.name),s=[],o=[],a=[],l=[],u=[],h={},d=[],f=[];let p=!1;for(const c of e.attrs){let e=!1;const t=Fl(c.name);let n=!1;if(c.i18n&&(h[c.name]=c.i18n),t.startsWith("*")){p&&this.reportError("Can't have multiple template bindings on one element. Use only one attribute prefixed with *",c.sourceSpan),n=!0,p=!0;const e=c.value,r=t.substring("*".length),i=[],s=c.valueSpan?c.valueSpan.start.offset:c.sourceSpan.start.offset+c.name.length;this.bindingParser.parseInlineTemplateBinding(r,e,c.sourceSpan,s,[],d,i,!0),f.push(...i.map(e=>new Jn(e.name,e.value,e.sourceSpan,e.keySpan,e.valueSpan)))}else e=this.parseAttribute(i,c,[],s,o,a,l);e||n||u.push(this.visitAttribute(c))}const m=ya(n.nonBindable?Hl:this,e.children);let g;if(n.type===Hc.NG_CONTENT){e.children&&!e.children.every(e=>function(e){return e instanceof da&&0==e.value.trim().length}(e)||function(e){return e instanceof va}(e))&&this.reportError("<ng-content> element cannot have content.",e.sourceSpan);const t=n.selectAttr,r=e.attrs.map(e=>this.visitAttribute(e));g=new Kn(t,r,e.sourceSpan,e.i18n),this.ngContentSelectors.push(t)}else if(i){const t=this.extractAttributes(e.name,s,h);g=new Xn(e.name,u,t.bound,o,[],m,l,a,e.sourceSpan,e.startSourceSpan,e.endSourceSpan,e.i18n)}else{const t=this.extractAttributes(e.name,s,h);g=new Gn(e.name,u,t.bound,o,m,l,e.sourceSpan,e.startSourceSpan,e.endSourceSpan,e.i18n)}if(p){const n=this.extractAttributes("ng-template",d,h),r=[];n.literal.forEach(e=>r.push(e)),n.bound.forEach(e=>r.push(e));const s=g instanceof Gn?{attributes:g.attributes,inputs:g.inputs,outputs:g.outputs}:{attributes:[],inputs:[],outputs:[]},o=i&&t?void 0:e.i18n;g=new Xn(g.name,s.attributes,s.inputs,s.outputs,r,[g],[],f,e.sourceSpan,e.startSourceSpan,e.endSourceSpan,o)}return t&&(this.inI18nBlock=!1),g}visitAttribute(e){return new Wn(e.name,e.value,e.sourceSpan,e.valueSpan,e.i18n)}visitText(e){return this._visitTextWithInterpolation(e.value,e.sourceSpan,e.i18n)}visitExpansion(e){if(!e.i18n)return null;if(!Jr(e.i18n))throw new Error(`Invalid type "${e.i18n.constructor}" for "i18n" property of ${e.sourceSpan.toString()}. Expected a "Message"`);const t=e.i18n,n={},r={};return Object.keys(t.placeholders).forEach(e=>{const i=t.placeholders[e];if(e.startsWith("VAR_")){const t=e.trim(),r=this.bindingParser.parseInterpolationExpression(i.text,i.sourceSpan);n[t]=new Un(r,i.sourceSpan)}else r[e]=this._visitTextWithInterpolation(i.text,i.sourceSpan)}),new Zn(n,r,e.sourceSpan,t)}visitExpansionCase(e){return null}visitComment(e){return null}extractAttributes(e,t,n){const r=[],i=[];return t.forEach(t=>{const s=n[t.name];if(t.isLiteral)i.push(new Wn(t.name,t.expression.source||"",t.sourceSpan,void 0,s));else{const n=this.bindingParser.createBoundElementProperty(e,t,!0,!1);r.push(qn.fromBoundElementProperty(n,s))}}),{bound:r,literal:i}}parseAttribute(e,t,n,r,i,s,o){const a=Fl(t.name),c=t.value,l=t.sourceSpan,u=t.valueSpan?t.valueSpan.start.offset:l.start.offset;function h(e,n,r){const i=t.name.length-a.length,s=e.start.moveBy(n.length+i),o=s.moveBy(r.length);return new bs(s,o,s,r)}const d=a.match(Il);let f=!1;if(d){if(f=!0,null!=d[1]){const e=d[7],i=h(l,d[1],e);this.bindingParser.parsePropertyBinding(e,c,!1,l,u,t.valueSpan,n,r,i)}else if(d[2])if(e){const e=d[7],n=h(l,d[2],e);this.parseVariable(e,c,l,n,t.valueSpan,s)}else this.reportError('"let-" is only supported on ng-template elements.',l);else if(d[3]){const e=d[7];this.parseReference(e,c,l,t.valueSpan,o)}else if(d[4]){const e=[],r=d[7];this.bindingParser.parseEvent(r,c,l,t.valueSpan||l,n,e),Vl(e,i)}else if(d[5]){const e=d[7],s=h(l,d[5],e);this.bindingParser.parsePropertyBinding(e,c,!1,l,u,t.valueSpan,n,r,s),this.parseAssignmentEvent(e,c,l,t.valueSpan,n,i)}else if(d[6]){const e=h(l,"",a);this.bindingParser.parseLiteralAttr(a,c,l,u,t.valueSpan,n,r,e)}else if(d[8]){const e=h(l,"[(",d[8]);this.bindingParser.parsePropertyBinding(d[8],c,!1,l,u,t.valueSpan,n,r,e),this.parseAssignmentEvent(d[8],c,l,t.valueSpan,n,i)}else if(d[9]){const e=h(l,"[",d[9]);this.bindingParser.parsePropertyBinding(d[9],c,!1,l,u,t.valueSpan,n,r,e)}else if(d[10]){const e=[];this.bindingParser.parseEvent(d[10],c,l,t.valueSpan||l,n,e),Vl(e,i)}}else{const e=h(l,"",a);f=this.bindingParser.parsePropertyInterpolation(a,c,l,t.valueSpan,n,r,e)}return f}_visitTextWithInterpolation(e,t,n){const r=Xa(e),i=this.bindingParser.parseInterpolation(r,t);return i?new Un(i,t,n):new Yn(r,t)}parseVariable(e,t,n,r,i,s){e.indexOf("-")>-1?this.reportError('"-" is not allowed in variable names',n):0===e.length&&this.reportError("Variable does not have a name",n),s.push(new Jn(e,t,n,r,i))}parseReference(e,t,n,r,i){e.indexOf("-")>-1?this.reportError('"-" is not allowed in reference names',n):0===e.length&&this.reportError("Reference does not have a name",n),i.push(new Qn(e,t,n,r))}parseAssignmentEvent(e,t,n,r,i,s){const o=[];this.bindingParser.parseEvent(e+"Change",t+"=$event",n,r||n,i,o),Vl(o,s)}reportError(e,t,n=_s.ERROR){this.errors.push(new Os(t,e,n))}}const Hl=new class{visitElement(e){const t=Nc(e);if(t.type===Hc.SCRIPT||t.type===Hc.STYLE||t.type===Hc.STYLESHEET)return null;const n=ya(this,e.children,null);return new Gn(e.name,ya(this,e.attrs),[],[],n,[],e.sourceSpan,e.startSourceSpan,e.endSourceSpan)}visitComment(e){return null}visitAttribute(e){return new Wn(e.name,e.value,e.sourceSpan,void 0,e.i18n)}visitText(e){return new Yn(e.value,e.sourceSpan)}visitExpansion(e){return null}visitExpansionCase(e){return null}};function Fl(e){return/^data-/i.test(e)?e.substring(5):e}function Vl(e,t){t.push(...e.map(e=>$n.fromParsedEvent(e)))}var Bl;!function(e){e[e.ELEMENT=0]="ELEMENT",e[e.TEMPLATE=1]="TEMPLATE"}(Bl||(Bl={}));class Yl{constructor(e,t,n=0,r=null,i,s){this.index=e,this.ref=t,this.level=n,this.templateIndex=r,this.meta=i,this.registry=s,this.bindings=new Set,this.placeholders=new Map,this.isEmitted=!1,this._unresolvedCtxCount=0,this._registry=s||{getUniqueId:ni(),icus:new Map},this.id=this._registry.getUniqueId()}appendTag(e,t,n,r){if(t.isVoid&&r)return;const i=t.isVoid||!r?t.startName:t.closeName,s={type:e,index:n,ctx:this.id,isVoid:t.isVoid,closed:r};ii(this.placeholders,i,s)}get icus(){return this._registry.icus}get isRoot(){return 0===this.level}get isResolved(){return 0===this._unresolvedCtxCount}getSerializedPlaceholders(){const e=new Map;return this.placeholders.forEach((t,n)=>e.set(n,t.map($l))),e}appendBinding(e){this.bindings.add(e)}appendIcu(e,t){ii(this._registry.icus,e,t)}appendBoundText(e){si(e,this.bindings.size,this.id).forEach((e,t)=>ii(this.placeholders,t,...e))}appendTemplate(e,t){this.appendTag(Bl.TEMPLATE,e,t,!1),this.appendTag(Bl.TEMPLATE,e,t,!0),this._unresolvedCtxCount++}appendElement(e,t,n){this.appendTag(Bl.ELEMENT,e,t,n)}appendProjection(e,t){this.appendTag(Bl.ELEMENT,e,t,!1),this.appendTag(Bl.ELEMENT,e,t,!0)}forkChildContext(e,t,n){return new Yl(e,this.ref,this.level+1,t,n,this._registry)}reconcileChildContext(e){["start","close"].forEach(t=>{const n=e.meta[t+"Name"],r=(this.placeholders.get(n)||[]).find(ql(this.id,e.templateIndex));r&&(r.ctx=e.id)});e.placeholders.forEach((t,n)=>{const r=this.placeholders.get(n);if(!r)return void this.placeholders.set(n,t);const i=r.findIndex(ql(e.id,e.templateIndex));if(i>=0){const e=n.startsWith("CLOSE");if(n.endsWith("NG-TEMPLATE"))r.splice(i+(e?0:1),0,...t);else{t[e?t.length-1:0].tmpl=r[i],r.splice(i,1,...t)}}else r.push(...t);this.placeholders.set(n,r)}),this._unresolvedCtxCount--}}function Ul(e,t,n,r){return ti(`${r?"/":""}${e}${t}`,n)}function Wl(e,{index:t,ctx:n,isVoid:r},i){return r?Ul(e,t,n)+Ul(e,t,n,!0):Ul(e,t,n,i)}function ql(e,t){return n=>"object"==typeof n&&n.type===Bl.TEMPLATE&&n.index===t&&n.ctx===e}function $l(e){const t=(e,t)=>Wl("#",e,t),n=(e,t)=>Wl("*",e,t);switch(e.type){case Bl.ELEMENT:return e.closed?t(e,!0)+(e.tmpl?n(e.tmpl,!0):""):e.tmpl?n(e.tmpl)+t(e)+(e.isVoid?n(e.tmpl,!0):""):t(e);case Bl.TEMPLATE:return n(e,e.closed);default:return e}}const Gl=new class{visitText(e){return e.value}visitContainer(e){return e.children.map(e=>e.visit(this)).join("")}visitIcu(e){const t=Object.keys(e.cases).map(t=>`${t} {${e.cases[t].visit(this)}}`);return`{${e.expressionPlaceholder}, ${e.type}, ${t.join(" ")}}`}visitTagPlaceholder(e){return e.isVoid?this.formatPh(e.startName):`${this.formatPh(e.startName)}${e.children.map(e=>e.visit(this)).join("")}${this.formatPh(e.closeName)}`}visitPlaceholder(e){return this.formatPh(e.name)}visitIcuPlaceholder(e,t){return this.formatPh(e.name)}formatPh(e){return`{${ai(e,!1)}}`}};function Xl(e){return e.visit(Gl)}const Kl={A:"LINK",B:"BOLD_TEXT",BR:"LINE_BREAK",EM:"EMPHASISED_TEXT",H1:"HEADING_LEVEL1",H2:"HEADING_LEVEL2",H3:"HEADING_LEVEL3",H4:"HEADING_LEVEL4",H5:"HEADING_LEVEL5",H6:"HEADING_LEVEL6",HR:"HORIZONTAL_RULE",I:"ITALIC_TEXT",LI:"LIST_ITEM",LINK:"MEDIA_LINK",OL:"ORDERED_LIST",P:"PARAGRAPH",Q:"QUOTATION",S:"STRIKETHROUGH_TEXT",SMALL:"SMALL_TEXT",SUB:"SUBSTRIPT",SUP:"SUPERSCRIPT",TBODY:"TABLE_BODY",TD:"TABLE_CELL",TFOOT:"TABLE_FOOTER",TH:"TABLE_HEADER_CELL",THEAD:"TABLE_HEADER",TR:"TABLE_ROW",TT:"MONOSPACED_TEXT",U:"UNDERLINED_TEXT",UL:"UNORDERED_LIST"};class Jl{constructor(){this._placeHolderNameCounts={},this._signatureToName={}}getStartTagPlaceholderName(e,t,n){const r=this._hashTag(e,t,n);if(this._signatureToName[r])return this._signatureToName[r];const i=e.toUpperCase(),s=Kl[i]||"TAG_"+i,o=this._generateUniqueName(n?s:"START_"+s);return this._signatureToName[r]=o,o}getCloseTagPlaceholderName(e){const t=this._hashClosingTag(e);if(this._signatureToName[t])return this._signatureToName[t];const n=e.toUpperCase(),r=Kl[n]||"TAG_"+n,i=this._generateUniqueName("CLOSE_"+r);return this._signatureToName[t]=i,i}getPlaceholderName(e,t){const n=e.toUpperCase(),r=`PH: ${n}=${t}`;if(this._signatureToName[r])return this._signatureToName[r];const i=this._generateUniqueName(n);return this._signatureToName[r]=i,i}getUniquePlaceholder(e){return this._generateUniqueName(e.toUpperCase())}_hashTag(e,t,n){return"<"+e+Object.keys(t).sort().map(e=>` ${e}=${t[e]}`).join("")+(n?"/>":`></${e}>`)}_hashClosingTag(e){return this._hashTag("/"+e,{},!1)}_generateUniqueName(e){if(!this._placeHolderNameCounts.hasOwnProperty(e))return this._placeHolderNameCounts[e]=1,e;const t=this._placeHolderNameCounts[e];return this._placeHolderNameCounts[e]=t+1,`${e}_${t}`}}const Ql=new xl(new ul);function Zl(e){const t=new tu(Ql,e);return(e,n,r,i,s)=>t.toI18nMessage(e,n,r,i,s)}function eu(e,t){return t}class tu{constructor(e,t){this._expressionParser=e,this._interpolationConfig=t}toI18nMessage(e,t="",n="",r="",i){const s={isIcu:1==e.length&&e[0]instanceof fa,icuDepth:0,placeholderRegistry:new Jl,placeholderToContent:{},placeholderToMessage:{},visitNodeFn:i||eu},o=ya(this,e,s);return new tr(o,s.placeholderToContent,s.placeholderToMessage,t,n,r)}visitElement(e,t){var n;const r=ya(this,e.children,t),i={};e.attrs.forEach(e=>{i[e.name]=e.value});const s=m(e.name).isVoid,o=t.placeholderRegistry.getStartTagPlaceholderName(e.name,i,s);t.placeholderToContent[o]={text:e.startSourceSpan.toString(),sourceSpan:e.startSourceSpan};let a="";s||(a=t.placeholderRegistry.getCloseTagPlaceholderName(e.name),t.placeholderToContent[a]={text:`</${e.name}>`,sourceSpan:null!==(n=e.endSourceSpan)&&void 0!==n?n:e.sourceSpan});const c=new sr(e.name,i,o,a,r,s,e.sourceSpan,e.startSourceSpan,e.endSourceSpan);return t.visitNodeFn(e,c)}visitAttribute(e,t){const n=this._visitTextWithInterpolation(e.value,e.valueSpan||e.sourceSpan,t,e.i18n);return t.visitNodeFn(e,n)}visitText(e,t){const n=this._visitTextWithInterpolation(e.value,e.sourceSpan,t,e.i18n);return t.visitNodeFn(e,n)}visitComment(e,t){return null}visitExpansion(e,t){t.icuDepth++;const n={},r=new ir(e.switchValue,e.type,n,e.sourceSpan);if(e.cases.forEach(e=>{n[e.value]=new rr(e.expression.map(e=>e.visit(this,t)),e.expSourceSpan)}),t.icuDepth--,t.isIcu||t.icuDepth>0){const n=t.placeholderRegistry.getUniquePlaceholder("VAR_"+e.type);return r.expressionPlaceholder=n,t.placeholderToContent[n]={text:e.switchValue,sourceSpan:e.switchValueSourceSpan},t.visitNodeFn(e,r)}const i=t.placeholderRegistry.getPlaceholderName("ICU",e.sourceSpan.toString());t.placeholderToMessage[i]=this.toI18nMessage([e],"","","",void 0);const s=new ar(r,i,e.sourceSpan);return t.visitNodeFn(e,s)}visitExpansionCase(e,t){throw new Error("Unreachable code")}_visitTextWithInterpolation(e,t,n,r){const{strings:i,expressions:s}=this._expressionParser.splitInterpolation(e,t.start.toString(),this._interpolationConfig);if(0===s.length)return new nr(e,t);const o=[];for(let a=0;a<i.length-1;a++)this._addText(o,i[a],t),this._addPlaceholder(o,n,s[a],t);return this._addText(o,i[i.length-1],t),function(e,t){t instanceof tr&&(!function(e){const t=e.nodes;if(1!==t.length||!(t[0]instanceof rr))throw new Error("Unexpected previous i18n message - expected it to consist of only a single `Container` node.")}(t),t=t.nodes[0]);if(t instanceof rr){!function(e,t){if(e.length!==t.length)throw new Error("The number of i18n message children changed between first and second pass.");if(e.some((e,n)=>t[n].constructor!==e.constructor))throw new Error("The types of the i18n message children changed between first and second pass.")}(t.children,e);for(let n=0;n<e.length;n++)e[n].sourceSpan=t.children[n].sourceSpan}}(o,r),new rr(o,t)}_addText(e,t,n){if(t.text.length>0){const r=nu(n,t);e.push(new nr(t.text,r))}}_addPlaceholder(e,t,n,r){const i=nu(r,n),s=n.text.split(ru)[2]||"INTERPOLATION";const o=t.placeholderRegistry.getPlaceholderName(s,n.text),a=this._interpolationConfig.start+n.text+this._interpolationConfig.end;t.placeholderToContent[o]={text:a,sourceSpan:i},e.push(new or(n.text,o,i))}}function nu(e,{start:t,end:n}){return new bs(e.fullStart.moveBy(t),e.fullStart.moveBy(n))}const ru=/\/\/[\s\S]*i18n[\s\S]*\([\s\S]*ph[\s\S]*=[\s\S]*("|')([\s\S]*?)\1[\s\S]*\)/g;const iu=(e,t)=>(e instanceof ha&&(t instanceof ar&&e.i18n instanceof tr&&(t.previousMessage=e.i18n),e.i18n=t),t);class su{constructor(e=Ii,t=!1,n=!1){this.interpolationConfig=e,this.keepI18nAttrs=t,this.enableI18nLegacyMessageIdFormat=n,this.hasI18nMeta=!1,this._createI18nMessage=Zl(this.interpolationConfig)}_generateI18nMessage(e,t="",n){const{meaning:r,description:i,customId:s}=this._parseMetadata(t),o=this._createI18nMessage(e,r,i,s,n);return this._setMessageId(o,t),this._setLegacyIds(o,t),o}visitElement(e){if(function(e){return e.attrs.some(e=>Kr(e.name))}(e)){this.hasI18nMeta=!0;const t=[],n={};for(const r of e.attrs)if(r.name===Gr){const t=e.i18n||r.value,n=this._generateI18nMessage(e.children,t,iu);n.nodes.length&&(e.i18n=n)}else if(r.name.startsWith(Xr)){n[r.name.slice(Xr.length)]=r.value}else t.push(r);if(Object.keys(n).length)for(const e of t){const t=n[e.name];void 0!==t&&e.value&&(e.i18n=this._generateI18nMessage([e],e.i18n||t))}this.keepI18nAttrs||(e.attrs=t)}return ya(this,e.children,e.i18n),e}visitExpansion(e,t){let n;const r=e.i18n;if(this.hasI18nMeta=!0,r instanceof ar){const t=r.name;n=this._generateI18nMessage([e],r);ei(n).name=t}else n=this._generateI18nMessage([e],t||r);return e.i18n=n,e}visitText(e){return e}visitAttribute(e){return e}visitComment(e){return e}visitExpansionCase(e){return e}_parseMetadata(e){return"string"==typeof e?function(e=""){let t,n,r;if(e=e.trim()){const i=e.indexOf("@@"),s=e.indexOf("|");let o;[o,t]=i>-1?[e.slice(0,i),e.slice(i+2)]:[e,""],[n,r]=s>-1?[o.slice(0,s),o.slice(s+1)]:["",o]}return{customId:t,meaning:n,description:r}}(e):e instanceof tr?e:{}}_setMessageId(e,t){e.id||(e.id=t instanceof tr&&t.id||dr(e))}_setLegacyIds(e,t){if(this.enableI18nLegacyMessageIdFormat)e.legacyIds=[hr(e),fr(e)];else if("string"!=typeof t){const n=t instanceof tr?t:t instanceof ar?t.previousMessage:void 0;e.legacyIds=n?n.legacyIds:[]}}}function ou(e){const t=[];return e.description&&t.push({tagName:"desc",text:e.description}),e.meaning&&t.push({tagName:"meaning",text:e.meaning}),0==t.length?null:function(e=[]){return new et(e)}(t)}function au(e,t,n,r){const i=[Et(function(e){return e.nodes.map(e=>e.visit(cu,null)).join("")}(t))];Object.keys(r).length&&i.push(Cs(r,!0));const s=n.set(bt("goog.getMsg").callFn(i)).toConstDecl(),o=ou(t);null!==o&&s.addLeadingComment(o);return[s,new it(e.set(n))]}const cu=new class{formatPh(e){return`{$${ai(e)}}`}visitText(e){return e.value}visitContainer(e){return e.children.map(e=>e.visit(this)).join("")}visitIcu(e){return Xl(e)}visitTagPlaceholder(e){return e.isVoid?this.formatPh(e.startName):`${this.formatPh(e.startName)}${e.children.map(e=>e.visit(this)).join("")}${this.formatPh(e.closeName)}`}visitPlaceholder(e){return this.formatPh(e.name)}visitIcuPlaceholder(e,t){return this.formatPh(e.name)}};function lu(e,t,n){const{messageParts:r,placeHolders:i}=function(e){const t=[];return e.nodes.forEach(e=>e.visit(uu,t)),function(e){const t=[],n=[];e[0]instanceof Te&&t.push(hu(e[0].sourceSpan.start));for(let r=0;r<e.length;r++){const i=e[r];i instanceof Ee?t.push(i):(n.push(i),e[r-1]instanceof Te&&t.push(hu(e[r-1].sourceSpan.end)))}e[e.length-1]instanceof Te&&t.push(hu(e[e.length-1].sourceSpan.end));return{messageParts:t,placeHolders:n}}(t)}(t),s=function(e){const t=e.nodes[0],n=e.nodes[e.nodes.length-1];return new bs(t.sourceSpan.start,n.sourceSpan.end,t.sourceSpan.fullStart,t.sourceSpan.details)}(t),o=i.map(e=>n[e.text]),a=function(e,t,n,r,i){return new je(e,t,n,r,i)}(t,r,i,o,s),c=e.set(a);return[new it(c)]}const uu=new class{visitText(e,t){t[t.length-1]instanceof Ee?t[t.length-1].text+=e.value:t.push(new Ee(e.value,e.sourceSpan))}visitContainer(e,t){e.children.forEach(e=>e.visit(this,t))}visitIcu(e,t){t.push(new Ee(Xl(e),e.sourceSpan))}visitTagPlaceholder(e,t){var n,r;t.push(this.createPlaceholderPiece(e.startName,null!==(n=e.startSourceSpan)&&void 0!==n?n:e.sourceSpan)),e.isVoid||(e.children.forEach(e=>e.visit(this,t)),t.push(this.createPlaceholderPiece(e.closeName,null!==(r=e.endSourceSpan)&&void 0!==r?r:e.sourceSpan)))}visitPlaceholder(e,t){t.push(this.createPlaceholderPiece(e.name,e.sourceSpan))}visitIcuPlaceholder(e,t){t.push(this.createPlaceholderPiece(e.name,e.sourceSpan))}createPlaceholderPiece(e,t){return new Te(ai(e,!1),t)}};function hu(e){return new Ee("",new bs(e,e))}const du=new Set(["$event"]),fu=new Map([["window",Nn.resolveWindow],["document",Nn.resolveDocument],["body",Nn.resolveBody]]),pu=[" ","\n","\r","\t"];function mu(e,t){return Mt(bt(fi).bitwiseAnd(Et(e),null,!1),t)}function gu(e,t=null,n=null){const{type:r,name:i,target:s,phase:o,handler:a}=e;if(s&&!fu.has(s))throw new Error(`Unexpected global target '${s}' defined for '${i}' event.\n        Supported list of global targets: ${Array.from(fu.keys())}.`);const c="$event",l=new Set,u=null===n||0===n.bindingLevel?bt(di):n.getOrCreateSharedContextVar(0),h=go(n,u,a,"b",()=>Vt("Unexpected interpolation"),e.handlerSpan,l,du),d=[];n&&(d.push(...n.restoreViewStatement()),d.push(...n.variableDeclarations())),d.push(...h.render3Stmts);const f=1===r?function(e,t){return`@${e}.${t}`}(i,o):i,p=t&&gn(t),m=[];l.has(c)&&m.push(new Fe(c,ie));const g=Ct(m,d,se,null,p),v=[Et(f),g];return s&&v.push(Et(!1),_t(fu.get(s))),v}class vu{constructor(e,t,n=0,r,i,s,o,a,c,l,u,h,d,f,p={prepareStatements:[],constExpressions:[]}){this.constantPool=e,this.level=n,this.contextName=r,this.i18nContext=i,this.templateIndex=s,this.templateName=o,this.directiveMatcher=a,this.directives=c,this.pipeTypeByName=l,this.pipes=u,this._namespace=h,this.i18nUseExternalIds=f,this._constants=p,this._dataIndex=0,this._bindingContext=0,this._prefixCode=[],this._creationCodeFns=[],this._updateCodeFns=[],this._currentIndex=0,this._tempVariables=[],this._nestedTemplateFns=[],this._unsupported=mi,this.i18n=null,this._pureFunctionSlots=0,this._bindingSlots=0,this._ngContentReservedSlots=[],this._ngContentSelectorsOffset=0,this._implicitReceiverExpr=null,this.visitReference=gi,this.visitVariable=gi,this.visitTextAttribute=gi,this.visitBoundAttribute=gi,this.visitBoundEvent=gi,this._bindingScope=t.nestedScope(n),this.fileBasedI18nSuffix=d.replace(/[^A-Za-z0-9]/g,"_")+"_",this._valueConverter=new yu(e,()=>this.allocateDataSlot(),e=>this.allocatePureFunctionSlots(e),(e,t,n,r)=>{const i=l.get(e);i&&this.pipes.add(i),this._bindingScope.set(this.level,t,r),this.creationInstruction(null,Nn.pipe,[Et(n),Et(e)])})}buildTemplateFunction(e,t,n=0,r){this._ngContentSelectorsOffset=n,this._namespace!==Nn.namespaceHTML&&this.creationInstruction(null,this._namespace),t.forEach(e=>this.registerContextVariables(e));const i=this.i18nContext||Jr(r)&&!Qr(r)&&!(1===(s=e).length&&s[0]instanceof Gn&&e[0].i18n===r);var s;const o=zu(e);if(i&&this.i18nStart(null,r,o),er(this,e),this._pureFunctionSlots+=this._bindingSlots,this._valueConverter.updatePipeSlotOffsets(this._bindingSlots),this._nestedTemplateFns.forEach(e=>e()),0===this.level&&this._ngContentReservedSlots.length){const e=[];if(this._ngContentReservedSlots.length>1||"*"!==this._ngContentReservedSlots[0]){const t=this._ngContentReservedSlots.map(e=>"*"!==e?K(e):e);e.push(this.constantPool.getConstLiteral(vi(t),!0))}this.creationInstruction(null,Nn.projectionDef,e,!0)}i&&this.i18nEnd(null,o);const a=this._creationCodeFns.map(e=>e()),c=this._updateCodeFns.map(e=>e()),l=this._bindingScope.viewSnapshotStatements(),u=this._bindingScope.variableDeclarations().concat(this._tempVariables),h=a.length>0?[mu(1,l.concat(a))]:[],d=c.length>0?[mu(2,u.concat(c))]:[];return Ct([new Fe(fi,ae),new Fe(di,null)],[...this._prefixCode,...h,...d],se,null,this.templateName)}getLocal(e){return this._bindingScope.get(e)}notifyImplicitReceiverUse(){this._bindingScope.notifyImplicitReceiverUse()}i18nTranslate(e,t={},n,r){const i=n||this.i18nGenerateMainBlockVar(),s=function(e,t,n,r={},i){const s=[li(t),Mt(Iu(),au(t,e,n,oi(r,!0)),lu(t,e,oi(r,!1)))];i&&s.push(new it(t.set(i(t))));return s}(e,i,this.i18nGenerateClosureVar(e.id),t,r);return this._constants.prepareStatements.push(...s),i}registerContextVariables(e){const t=this._bindingScope.freshReferenceName(),n=this.level,r=bt(e.name+t);this._bindingScope.set(n,e.name,r,1,(t,i)=>{let s;if(t.bindingLevel===n)s=bt(di);else{const e=t.getSharedContextName(n);s=e||Su(i)}return[r.set(s.prop(e.value||"$implicit")).toConstDecl()]})}i18nAppendBindings(e){e.length>0&&e.forEach(e=>this.i18n.appendBinding(e))}i18nBindProps(e){const t={};return Object.keys(e).forEach(n=>{const r=e[n];if(r instanceof Yn)t[n]=Et(r.value);else{const e=r.value.visit(this._valueConverter);if(this.allocateBindingSlots(e),e instanceof Ks){const{strings:r,expressions:i}=e,{id:s,bindings:o}=this.i18n,a=function(e,t=0,n=0){if(!e.length)return"";let r="";const i=e.length-1;for(let s=0;s<i;s++)r+=`${e[s]}${ti(t+s,n)}`;return r+=e[i],r}(r,o.size,s);this.i18nAppendBindings(i),t[n]=Et(a)}}}),t}i18nGenerateMainBlockVar(){return bt(this.constantPool.uniqueName("i18n_"))}i18nGenerateClosureVar(e){let t;const n=this.fileBasedI18nSuffix.toUpperCase();if(this.i18nUseExternalIds){const r=ci("EXTERNAL_"),i=this.constantPool.uniqueName(n);t=`${r}${gn(e)}$$${i}`}else{const e=ci(n);t=this.constantPool.uniqueName(e)}return bt(t)}i18nUpdateRef(e){const{icus:t,meta:n,isRoot:r,isResolved:i,isEmitted:s}=e;if(r&&i&&!s&&!Qr(n)){e.isEmitted=!0;const r=e.getSerializedPlaceholders();let i={},s=r.size?ri(r):{};t.size&&t.forEach((e,t)=>{if(1===e.length)s[t]=e[0];else{const n=ti("I18N_EXP_"+t);s[t]=Et(n),i[t]=Ot(e)}});let o;(Array.from(r.values()).some(e=>e.length>1)||Object.keys(i).length)&&(o=e=>{const t=[e];return Object.keys(i).length&&t.push(Cs(i,!0)),wu(null,Nn.i18nPostprocess,t)}),this.i18nTranslate(n,s,e.ref,o)}}i18nStart(e=null,t,n){const r=this.allocateDataSlot();this.i18n=this.i18nContext?this.i18nContext.forkChildContext(r,this.templateIndex,t):new Yl(r,this.i18nGenerateMainBlockVar(),0,this.templateIndex,t);const{id:i,ref:s}=this.i18n,o=[Et(r),this.addToConsts(s)];i>0&&o.push(Et(i)),this.creationInstruction(e,n?Nn.i18n:Nn.i18nStart,o)}i18nEnd(e=null,t){if(!this.i18n)throw new Error("i18nEnd is executed with no i18n context present");this.i18nContext?(this.i18nContext.reconcileChildContext(this.i18n),this.i18nUpdateRef(this.i18nContext)):this.i18nUpdateRef(this.i18n);const{index:n,bindings:r}=this.i18n;if(r.size){const t=[];r.forEach(n=>{t.push({sourceSpan:e,value:()=>this.convertPropertyBinding(n)})}),this.updateInstructionChainWithAdvance(this.getConstCount()-1,Nn.i18nExp,t),this.updateInstruction(e,Nn.i18nApply,[Et(n)])}t||this.creationInstruction(e,Nn.i18nEnd),this.i18n=null}i18nAttributesInstruction(e,t,n){let r=!1;const i=[],s=[];if(t.forEach(e=>{const t=e.i18n,o=e.value.visit(this._valueConverter);if(this.allocateBindingSlots(o),o instanceof Ks){const a=ri(si(t));i.push(Et(e.name),this.i18nTranslate(t,a)),o.expressions.forEach(e=>{r=!0,s.push({sourceSpan:n,value:()=>this.convertPropertyBinding(e)})})}}),s.length>0&&this.updateInstructionChainWithAdvance(e,Nn.i18nExp,s),i.length>0){const e=Et(this.allocateDataSlot()),t=this.addToConsts(Ot(i));this.creationInstruction(n,Nn.i18nAttributes,[e,t]),r&&this.updateInstruction(n,Nn.i18nApply,[e])}}getNamespaceInstruction(e){switch(e){case"math":return Nn.namespaceMathML;case"svg":return Nn.namespaceSVG;default:return Nn.namespaceHTML}}addNamespaceInstruction(e,t){this._namespace=e,this.creationInstruction(t.startSourceSpan,e)}interpolatedUpdateInstruction(e,t,n,r,i,s){this.updateInstructionWithAdvance(t,r.sourceSpan,e,()=>[Et(n),...this.getUpdateInstructionArguments(i),...s])}visitContent(e){const t=this.allocateDataSlot(),n=this._ngContentSelectorsOffset+this._ngContentReservedSlots.length,r=[Et(t)];this._ngContentReservedSlots.push(e.selector);const i=e.attributes.filter(e=>"select"!==e.name.toLowerCase()),s=this.getAttributeExpressions(e.name,i,[],[]);s.length>0?r.push(Et(n),Ot(s)):0!==n&&r.push(Et(n)),this.creationInstruction(e.sourceSpan,Nn.projection,r),this.i18n&&this.i18n.appendProjection(e.i18n,t)}visitElement(e){var t,n;const r=this.allocateDataSlot(),i=new il(null);let a=!1;const c=Jr(e.i18n)&&!Qr(e.i18n),l=[],[u,h]=s(e.name),d=o(e.name);for(const s of e.attributes){const{name:e,value:t}=s;"ngNonBindable"===e?a=!0:"style"===e?i.registerStyleAttr(t):"class"===e?i.registerClassAttr(t):l.push(s)}this.matchDirectives(e.name,e);const f=[Et(r)];d||f.push(Et(h));const p=[],m=[];e.inputs.forEach(e=>{i.registerBoundInput(e)||(0===e.type&&e.i18n?m.push(e):p.push(e))});const g=this.getAttributeExpressions(e.name,l,p,e.outputs,i,[],m);f.push(this.addAttrsToConsts(g));const v=this.prepareRefsArray(e.references);f.push(this.addToConsts(v));const y=this._namespace,b=this.getNamespaceInstruction(u);b!==y&&this.addNamespaceInstruction(b,e),this.i18n&&this.i18n.appendElement(e.i18n,r);const _=!c&&this.i18n?!zu(e.children):e.children.length>0,w=!i.hasBindingsWithPipes&&0===e.outputs.length&&0===m.length&&!_,S=!w&&zu(e.children);if(w)this.creationInstruction(e.sourceSpan,d?Nn.elementContainer:Nn.element,bi(f));else{if(this.creationInstruction(e.startSourceSpan,d?Nn.elementContainerStart:Nn.elementStart,bi(f)),a&&this.creationInstruction(e.startSourceSpan,Nn.disableBindings),m.length>0&&this.i18nAttributesInstruction(r,m,null!==(t=e.startSourceSpan)&&void 0!==t?t:e.sourceSpan),e.outputs.length>0){const t=e.outputs.map(t=>({sourceSpan:t.sourceSpan,params:this.prepareListenerParameter(e.name,t,r)}));this.creationInstructionChain(Nn.listener,t)}c&&this.i18nStart(e.startSourceSpan,e.i18n,S)}const x=i.buildUpdateLevelInstructions(this._valueConverter),O=x.length-1;for(let s=0;s<=O;s++){const e=x[s];this._bindingSlots+=this.processStylingUpdateInstruction(r,e)}const k=Et(void 0),C=[],M=[];if(p.forEach(e=>{const t=e.type;if(4===t){const t=e.value.visit(this._valueConverter),n=!(t instanceof $s)||!!t.value;this.allocateBindingSlots(t),C.push({name:Vn(e.name),sourceSpan:e.sourceSpan,value:()=>n?this.convertPropertyBinding(t):k})}else{if(e.i18n)return;const n=e.value.visit(this._valueConverter);if(void 0!==n){const i=[],[o,a]=s(e.name),c=1===t,l=Du(e.securityContext,c);if(l&&i.push(l),o){const e=Et(o);l?i.push(e):i.push(Et(null),e)}if(this.allocateBindingSlots(n),0===t)n instanceof Ks?this.interpolatedUpdateInstruction(Eu(n),r,a,e,n,i):C.push({name:a,sourceSpan:e.sourceSpan,value:()=>this.convertPropertyBinding(n),params:i});else if(1===t)if(n instanceof Ks&&Oi(n)>1)this.interpolatedUpdateInstruction(function(e){switch(Oi(e)){case 3:return Nn.attributeInterpolate1;case 5:return Nn.attributeInterpolate2;case 7:return Nn.attributeInterpolate3;case 9:return Nn.attributeInterpolate4;case 11:return Nn.attributeInterpolate5;case 13:return Nn.attributeInterpolate6;case 15:return Nn.attributeInterpolate7;case 17:return Nn.attributeInterpolate8;default:return Nn.attributeInterpolateV}}(n),r,a,e,n,i);else{const t=n instanceof Ks?n.expressions[0]:n;M.push({name:a,sourceSpan:e.sourceSpan,value:()=>this.convertPropertyBinding(t),params:i})}else this.updateInstructionWithAdvance(r,e.sourceSpan,Nn.classProp,()=>[Et(r),Et(a),this.convertPropertyBinding(n),...i])}}}),C.length>0&&this.updateInstructionChainWithAdvance(r,Nn.property,C),M.length>0&&this.updateInstructionChainWithAdvance(r,Nn.attribute,M),er(this,e.children),!c&&this.i18n&&this.i18n.appendElement(e.i18n,r,!0),!w){const t=null!==(n=e.endSourceSpan)&&void 0!==n?n:e.sourceSpan;c&&this.i18nEnd(t,S),a&&this.creationInstruction(t,Nn.enableBindings),this.creationInstruction(t,d?Nn.elementContainerEnd:Nn.elementEnd)}}visitTemplate(e){var t;const n="ng-template",r=this.allocateDataSlot();this.i18n&&this.i18n.appendTemplate(e.i18n,r);const i=gn(e.tagName||""),o=`${this.contextName}${i?"_"+i:""}_${r}`,a=o+"_Template",c=[Et(r),bt(a),Et(e.tagName?s(e.tagName)[1]:e.tagName)];this.matchDirectives(n,e);const l=this.getAttributeExpressions(n,e.attributes,e.inputs,e.outputs,void 0,e.templateAttrs);if(c.push(this.addAttrsToConsts(l)),e.references&&e.references.length){const t=this.prepareRefsArray(e.references);c.push(this.addToConsts(t)),c.push(_t(Nn.templateRefExtractor))}const u=new vu(this.constantPool,this._bindingScope,this.level+1,o,this.i18n,r,a,this.directiveMatcher,this.directives,this.pipeTypeByName,this.pipes,this._namespace,this.fileBasedI18nSuffix,this.i18nUseExternalIds,this._constants);if(this._nestedTemplateFns.push(()=>{const t=u.buildTemplateFunction(e.children,e.variables,this._ngContentReservedSlots.length+this._ngContentSelectorsOffset,e.i18n);this.constantPool.statements.push(t.toDeclStmt(a)),u._ngContentReservedSlots.length&&this._ngContentReservedSlots.push(...u._ngContentReservedSlots)}),this.creationInstruction(e.sourceSpan,Nn.templateCreate,()=>(c.splice(2,0,Et(u.getConstCount()),Et(u.getVarCount())),bi(c))),this.templatePropertyBindings(r,e.templateAttrs),e.tagName===n){const[n,i]=function(e,t){const n=[],r=[];for(const i of e)(t(i)?n:r).push(i);return[n,r]}(e.inputs,Zr);if(n.length>0&&this.i18nAttributesInstruction(r,n,null!==(t=e.startSourceSpan)&&void 0!==t?t:e.sourceSpan),i.length>0&&this.templatePropertyBindings(r,i),e.outputs.length>0){const t=e.outputs.map(e=>({sourceSpan:e.sourceSpan,params:this.prepareListenerParameter("ng_template",e,r)}));this.creationInstructionChain(Nn.listener,t)}}}visitBoundText(e){if(this.i18n){const t=e.value.visit(this._valueConverter);return this.allocateBindingSlots(t),void(t instanceof Ks&&(this.i18n.appendBoundText(e.i18n),this.i18nAppendBindings(t.expressions)))}const t=this.allocateDataSlot();this.creationInstruction(e.sourceSpan,Nn.text,[Et(t)]);const n=e.value.visit(this._valueConverter);this.allocateBindingSlots(n),n instanceof Ks?this.updateInstructionWithAdvance(t,e.sourceSpan,function(e){switch(Oi(e)){case 1:return Nn.textInterpolate;case 3:return Nn.textInterpolate1;case 5:return Nn.textInterpolate2;case 7:return Nn.textInterpolate3;case 9:return Nn.textInterpolate4;case 11:return Nn.textInterpolate5;case 13:return Nn.textInterpolate6;case 15:return Nn.textInterpolate7;case 17:return Nn.textInterpolate8;default:return Nn.textInterpolateV}}(n),()=>this.getUpdateInstructionArguments(n)):Vt("Text nodes should be interpolated and never bound directly.")}visitText(e){this.i18n||this.creationInstruction(e.sourceSpan,Nn.text,[Et(this.allocateDataSlot()),Et(e.value)])}visitIcu(e){let t=!1;this.i18n||(t=!0,this.i18nStart(null,e.i18n,!0));const n=this.i18n,r=this.i18nBindProps(e.vars),i=this.i18nBindProps(e.placeholders),s=e.i18n,o=e=>{const t=oi(Object.assign(Object.assign({},r),i),!1);return wu(null,Nn.i18nPostprocess,[e,Cs(t,!0)])};if(Qr(n.meta))this.i18nTranslate(s,{},n.ref,o);else{const e=this.i18nTranslate(s,{},void 0,o);n.appendIcu(ei(s).name,e)}return t&&this.i18nEnd(null,!0),null}allocateDataSlot(){return this._dataIndex++}getConstCount(){return this._dataIndex}getVarCount(){return this._pureFunctionSlots}getConsts(){return this._constants}getNgContentSelectors(){return this._ngContentReservedSlots.length?this.constantPool.getConstLiteral(vi(this._ngContentReservedSlots),!0):null}bindingContext(){return""+this._bindingContext++}templatePropertyBindings(e,t){const n=[];t.forEach(t=>{if(t instanceof qn){const r=t.value.visit(this._valueConverter);if(void 0!==r)if(this.allocateBindingSlots(r),r instanceof Ks){const n=[];this.interpolatedUpdateInstruction(Eu(r),e,t.name,t,r,n)}else n.push({name:t.name,sourceSpan:t.sourceSpan,value:()=>this.convertPropertyBinding(r)})}}),n.length>0&&this.updateInstructionChainWithAdvance(e,Nn.property,n)}instructionFn(e,t,n,r,i=!1){e[i?"unshift":"push"](()=>{const e=Array.isArray(r)?r:r();return wu(t,n,e).toStmt()})}processStylingUpdateInstruction(e,t){let n=0;if(t){const r=[];t.calls.forEach(e=>{n+=e.allocateBindingSlots,r.push({sourceSpan:e.sourceSpan,value:()=>e.params(t=>e.supportsInterpolation&&t instanceof Ks?this.getUpdateInstructionArguments(t):this.convertPropertyBinding(t))})}),this.updateInstructionChainWithAdvance(e,t.reference,r)}return n}creationInstruction(e,t,n,r){this.instructionFn(this._creationCodeFns,e,t,n||[],r)}creationInstructionChain(e,t){const n=t.length?t[0].sourceSpan:null;this._creationCodeFns.push(()=>xi(e,t.map(e=>e.params()),n).toStmt())}updateInstructionWithAdvance(e,t,n,r){this.addAdvanceInstructionIfNecessary(e,t),this.updateInstruction(t,n,r)}updateInstruction(e,t,n){this.instructionFn(this._updateCodeFns,e,t,n||[])}updateInstructionChain(e,t){const n=t.length?t[0].sourceSpan:null;this._updateCodeFns.push(()=>{const r=t.map(e=>{const t=e.value(),n=Array.isArray(t)?t:[t];return e.params&&n.push(...e.params),e.name&&n.unshift(Et(e.name)),n});return xi(e,r,n).toStmt()})}updateInstructionChainWithAdvance(e,t,n){this.addAdvanceInstructionIfNecessary(e,n.length?n[0].sourceSpan:null),this.updateInstructionChain(t,n)}addAdvanceInstructionIfNecessary(e,t){if(e!==this._currentIndex){const n=e-this._currentIndex;if(n<1)throw new Error("advance instruction can only go forwards");this.instructionFn(this._updateCodeFns,t,Nn.advance,[Et(n)]),this._currentIndex=e}}allocatePureFunctionSlots(e){const t=this._pureFunctionSlots;return this._pureFunctionSlots+=e,t}allocateBindingSlots(e){this._bindingSlots+=e instanceof Ks?e.expressions.length:1}getImplicitReceiverExpr(){return this._implicitReceiverExpr?this._implicitReceiverExpr:this._implicitReceiverExpr=0===this.level?bt(di):this._bindingScope.getOrCreateSharedContextVar(0)}convertPropertyBinding(e){const t=bo(this,this.getImplicitReceiverExpr(),e,this.bindingContext(),Ss.Expression,()=>Vt("Unexpected interpolation")),n=t.currValExpr;return this._tempVariables.push(...t.stmts),n}getUpdateInstructionArguments(e){const{args:t,stmts:n}=function(e,t,n,r){const i=new Co(e,t,r,void 0),s=n.visit(i,xs.Expression);i.usesImplicitReceiver&&e.notifyImplicitReceiverUse();const o=_o(i,r);let a=s.args.slice(1);if(n instanceof Ks){const e=n.strings;3===a.length&&""===e[0]&&""===e[1]?a=[a[1]]:a.length>=19&&(a=[Ot(a)])}return{stmts:o,args:a}}(this,this.getImplicitReceiverExpr(),e,this.bindingContext());return this._tempVariables.push(...n),t}matchDirectives(e,t){if(this.directiveMatcher){const n=Mu(e,Si(t));this.directiveMatcher.match(n,(e,t)=>{this.directives.add(t)})}}getAttributeExpressions(e,t,n,r,i,s=[],o=[]){const a=new Set,c=[];let l;for(const h of t)"ngProjectAs"===h.name&&(l=h),h.i18n?c.push(Et(h.name),this.i18nTranslate(h.i18n)):c.push(...Ou(h.name),Au(e,h));function u(e,t){"string"==typeof e?a.has(e)||(c.push(...Ou(e)),void 0!==t&&c.push(t),a.add(e)):c.push(Et(e))}if(l&&c.push(...function(e){const t=K(e.value)[0];return[Et(5),vi(t)]}(l)),i&&i.populateInitialStylingAttrs(c),n.length||r.length){const e=c.length;for(let t=0;t<n.length;t++){const e=n[t];4!==e.type&&1!==e.type&&u(e.name)}for(let t=0;t<r.length;t++){const e=r[t];1!==e.type&&u(e.name)}c.length!==e&&c.splice(e,0,Et(3))}return s.length&&(c.push(Et(4)),s.forEach(e=>u(e.name))),o.length&&(c.push(Et(6)),o.forEach(e=>u(e.name))),c}addToConsts(e){if(Tt(e))return Je;const t=this._constants.constExpressions;for(let n=0;n<t.length;n++)if(t[n].isEquivalent(e))return Et(n);return Et(t.push(e)-1)}addAttrsToConsts(e){return e.length>0?this.addToConsts(Ot(e)):Je}prepareRefsArray(e){if(!e||0===e.length)return Je;return vi(zn(e.map(e=>{const t=this.allocateDataSlot(),n=this._bindingScope.freshReferenceName(),r=this.level,i=bt(n);return this._bindingScope.set(r,e.name,i,0,(e,n)=>{const r=n>0?[Su(n).toStmt()]:[],s=i.set(_t(Nn.reference).callFn([Et(t)]));return r.concat(s.toConstDecl())},!0),[e.name,e.value]})))}prepareListenerParameter(e,t,n){return()=>{const r=t.name,i=1===t.type?Bn(r,t.phase):gn(r),s=`${this.templateName}_${e}_${i}_${n}_listener`,o=this._bindingScope.nestedScope(this._bindingScope.bindingLevel,du);return gu(t,s,o)}}}class yu extends class{visitImplicitReceiver(e,t){return e}visitThisReceiver(e,t){return e}visitInterpolation(e,t){const n=this.visitAll(e.expressions);return n!==e.expressions?new Ks(e.span,e.sourceSpan,e.strings,n):e}visitLiteralPrimitive(e,t){return e}visitPropertyRead(e,t){const n=e.receiver.visit(this);return n!==e.receiver?new Vs(e.span,e.sourceSpan,e.nameSpan,n,e.name):e}visitPropertyWrite(e,t){const n=e.receiver.visit(this),r=e.value.visit(this);return n!==e.receiver||r!==e.value?new Bs(e.span,e.sourceSpan,e.nameSpan,n,e.name,r):e}visitSafePropertyRead(e,t){const n=e.receiver.visit(this);return n!==e.receiver?new Ys(e.span,e.sourceSpan,e.nameSpan,n,e.name):e}visitMethodCall(e,t){const n=e.receiver.visit(this),r=this.visitAll(e.args);return n!==e.receiver||r!==e.args?new to(e.span,e.sourceSpan,e.nameSpan,n,e.name,r):e}visitSafeMethodCall(e,t){const n=e.receiver.visit(this),r=this.visitAll(e.args);return n!==e.receiver||r!==e.args?new no(e.span,e.sourceSpan,e.nameSpan,n,e.name,r):e}visitFunctionCall(e,t){const n=e.target&&e.target.visit(this),r=this.visitAll(e.args);return n!==e.target||r!==e.args?new ro(e.span,e.sourceSpan,n,r):e}visitLiteralArray(e,t){const n=this.visitAll(e.expressions);return n!==e.expressions?new Gs(e.span,e.sourceSpan,n):e}visitLiteralMap(e,t){const n=this.visitAll(e.values);return n!==e.values?new Xs(e.span,e.sourceSpan,e.keys,n):e}visitUnary(e,t){const n=e.expr.visit(this);if(n!==e.expr)switch(e.operator){case"+":return Qs.createPlus(e.span,e.sourceSpan,n);case"-":return Qs.createMinus(e.span,e.sourceSpan,n);default:throw new Error("Unknown unary operator "+e.operator)}return e}visitBinary(e,t){const n=e.left.visit(this),r=e.right.visit(this);return n!==e.left||r!==e.right?new Js(e.span,e.sourceSpan,e.operation,n,r):e}visitPrefixNot(e,t){const n=e.expression.visit(this);return n!==e.expression?new Zs(e.span,e.sourceSpan,n):e}visitNonNullAssert(e,t){const n=e.expression.visit(this);return n!==e.expression?new eo(e.span,e.sourceSpan,n):e}visitConditional(e,t){const n=e.condition.visit(this),r=e.trueExp.visit(this),i=e.falseExp.visit(this);return n!==e.condition||r!==e.trueExp||i!==e.falseExp?new Fs(e.span,e.sourceSpan,n,r,i):e}visitPipe(e,t){const n=e.exp.visit(this),r=this.visitAll(e.args);return n!==e.exp||r!==e.args?new qs(e.span,e.sourceSpan,n,e.name,r,e.nameSpan):e}visitKeyedRead(e,t){const n=e.obj.visit(this),r=e.key.visit(this);return n!==e.obj||r!==e.key?new Us(e.span,e.sourceSpan,n,r):e}visitKeyedWrite(e,t){const n=e.obj.visit(this),r=e.key.visit(this),i=e.value.visit(this);return n!==e.obj||r!==e.key||i!==e.value?new Ws(e.span,e.sourceSpan,n,r,i):e}visitAll(e){const t=[];let n=!1;for(let r=0;r<e.length;++r){const i=e[r],s=i.visit(this);t[r]=s,n=n||s!==i}return n?t:e}visitChain(e,t){const n=this.visitAll(e.expressions);return n!==e.expressions?new Hs(e.span,e.sourceSpan,n):e}visitQuote(e,t){return e}}{constructor(e,t,n,r){super(),this.constantPool=e,this.allocateSlot=t,this.allocatePureFunctionSlots=n,this.definePipe=r,this._pipeBindExprs=[]}visitPipe(e,t){const n=this.allocateSlot(),r="PIPE:"+n,i=this.allocatePureFunctionSlots(2+e.args.length),s=new Vs(e.span,e.sourceSpan,e.nameSpan,new Rs(e.span,e.sourceSpan),r),{identifier:o,isVarLength:a}=function(e){const t=bu[e.length];return{identifier:t||Nn.pipeBindV,isVarLength:!t}}(e.args);this.definePipe(e.name,r,n,_t(o));const c=[e.exp,...e.args],l=a?this.visitAll([new Gs(e.span,e.sourceSpan,c)]):this.visitAll(c),u=new ro(e.span,e.sourceSpan,s,[new $s(e.span,e.sourceSpan,n),new $s(e.span,e.sourceSpan,i),...l]);return this._pipeBindExprs.push(u),u}updatePipeSlotOffsets(e){this._pipeBindExprs.forEach(t=>{t.args[1].value+=e})}visitLiteralArray(e,t){return new To(e.span,e.sourceSpan,this.visitAll(e.expressions),e=>{const t=Ot(e);return xu(this.constantPool,t,this.allocatePureFunctionSlots)})}visitLiteralMap(e,t){return new To(e.span,e.sourceSpan,this.visitAll(e.values),t=>{const n=kt(t.map((t,n)=>({key:e.keys[n].key,value:t,quoted:e.keys[n].quoted})));return xu(this.constantPool,n,this.allocatePureFunctionSlots)})}}const bu=[Nn.pipeBind1,Nn.pipeBind2,Nn.pipeBind3,Nn.pipeBind4];const _u=[Nn.pureFunction0,Nn.pureFunction1,Nn.pureFunction2,Nn.pureFunction3,Nn.pureFunction4,Nn.pureFunction5,Nn.pureFunction6,Nn.pureFunction7,Nn.pureFunction8];function wu(e,t,n){return _t(t,null,e).callFn(n,e)}function Su(e){return _t(Nn.nextContext).callFn(e>1?[Et(e)]:[])}function xu(e,t,n){const{literalFactory:r,literalFactoryArguments:i}=e.getLiteralFactory(t),s=n(1+i.length),{identifier:o,isVarLength:a}=function(e){const t=_u[e.length];return{identifier:t||Nn.pureFunctionV,isVarLength:!t}}(i),c=[Et(s),r];return a?c.push(Ot(i)):c.push(...i),_t(o).callFn(c)}function Ou(e){const[t,n]=s(e),r=Et(n);return t?[Et(0),Et(t),r]:[r]}const ku="$$shared_ctx$$";class Cu{constructor(e=0,t=null,n){if(this.bindingLevel=e,this.parent=t,this.globals=n,this.map=new Map,this.referenceNameIndex=0,this.restoreViewVariable=null,void 0!==n)for(const r of n)this.set(0,r,bt(r))}static createRootScope(){return new Cu}get(e){let t=this;for(;t;){let n=t.map.get(e);if(null!=n)return t!==this&&(n={retrievalLevel:n.retrievalLevel,lhs:n.lhs,declareLocalCallback:n.declareLocalCallback,declare:!1,priority:n.priority,localRef:n.localRef},this.map.set(e,n),this.maybeGenerateSharedContextVar(n),this.maybeRestoreView(n.retrievalLevel,n.localRef)),n.declareLocalCallback&&!n.declare&&(n.declare=!0),n.lhs;t=t.parent}return 0===this.bindingLevel?null:this.getComponentProperty(e)}set(e,t,n,r=0,i,s){if(this.map.has(t)){if(s)return this;Vt(`The name ${t} is already defined in scope to be ${this.map.get(t)}`)}return this.map.set(t,{retrievalLevel:e,lhs:n,declare:!1,declareLocalCallback:i,priority:r,localRef:s||!1}),this}getLocal(e){return this.get(e)}notifyImplicitReceiverUse(){0!==this.bindingLevel&&(this.map.get("$$shared_ctx$$0").declare=!0)}nestedScope(e,t){const n=new Cu(e,this,t);return e>0&&n.generateSharedContextVar(0),n}getOrCreateSharedContextVar(e){const t=ku+e;return this.map.has(t)||this.generateSharedContextVar(e),this.map.get(t).lhs}getSharedContextName(e){const t=this.map.get(ku+e);return t&&t.declare?t.lhs:null}maybeGenerateSharedContextVar(e){if(1===e.priority&&e.retrievalLevel<this.bindingLevel){const t=this.map.get(ku+e.retrievalLevel);t?t.declare=!0:this.generateSharedContextVar(e.retrievalLevel)}}generateSharedContextVar(e){const t=bt(di+this.freshReferenceName());this.map.set(ku+e,{retrievalLevel:e,lhs:t,declareLocalCallback:(e,n)=>[t.set(Su(n)).toConstDecl()],declare:!1,priority:2,localRef:!1})}getComponentProperty(e){const t=this.map.get("$$shared_ctx$$0");return t.declare=!0,this.maybeRestoreView(0,!1),t.lhs.prop(e)}maybeRestoreView(e,t){this.isListenerScope()&&(e<this.bindingLevel||t)&&(this.parent.restoreViewVariable||(this.parent.restoreViewVariable=bt(this.parent.freshReferenceName())),this.restoreViewVariable=this.parent.restoreViewVariable)}restoreViewStatement(){return this.restoreViewVariable?[wu(null,Nn.restoreView,[this.restoreViewVariable]).toStmt()]:[]}viewSnapshotStatements(){const e=wu(null,Nn.getCurrentView,[]);return this.restoreViewVariable?[this.restoreViewVariable.set(e).toConstDecl()]:[]}isListenerScope(){return this.parent&&this.parent.bindingLevel===this.bindingLevel}variableDeclarations(){let e=0;return Array.from(this.map.values()).filter(e=>e.declare).sort((e,t)=>t.retrievalLevel-e.retrievalLevel||t.priority-e.priority).reduce((t,n)=>{const r=this.bindingLevel-n.retrievalLevel,i=n.declareLocalCallback(this,r-e);return e=r,t.concat(i)},[])}freshReferenceName(){let e=this;for(;e.parent;)e=e.parent;return"_r"+e.referenceNameIndex++}}function Mu(e,t){const n=new v,r=s(e)[1];return n.setElement(r),Object.getOwnPropertyNames(t).forEach(e=>{const r=s(e)[1],i=t[e];if(n.addAttribute(r,i),"class"===e.toLowerCase()){i.trim().split(/\s+/).forEach(e=>n.addClassName(e))}}),n}function Eu(e){switch(Oi(e)){case 1:return Nn.propertyInterpolate;case 3:return Nn.propertyInterpolate1;case 5:return Nn.propertyInterpolate2;case 7:return Nn.propertyInterpolate3;case 9:return Nn.propertyInterpolate4;case 11:return Nn.propertyInterpolate5;case 13:return Nn.propertyInterpolate6;case 15:return Nn.propertyInterpolate7;case 17:return Nn.propertyInterpolate8;default:return Nn.propertyInterpolateV}}const Tu=new Pl;function ju(e=Ii){return new Lc(new Ol(new ul),e,Tu,null,[])}function Du(e,t){switch(e){case q.HTML:return _t(Nn.sanitizeHtml);case q.SCRIPT:return _t(Nn.sanitizeScript);case q.STYLE:return t?_t(Nn.sanitizeStyle):null;case q.URL:return _t(Nn.sanitizeUrl);case q.RESOURCE_URL:return _t(Nn.sanitizeResourceUrl);default:return null}}function Au(e,t){const n=vi(t.value);switch(Tu.securityContext(e,t.name,!0)){case q.HTML:return _t(Nn.trustConstantHtml).callFn([n],t.valueSpan);case q.SCRIPT:return _t(Nn.trustConstantScript).callFn([n],t.valueSpan);case q.RESOURCE_URL:return _t(Nn.trustConstantResourceUrl).callFn([n],t.valueSpan);default:return n}}function Lu(e){return e instanceof Yn||e instanceof Un||e instanceof Zn}function zu(e){return e.every(Lu)}const Pu="ngI18nClosureMode";function Iu(){return xt(bt(Pu)).notIdentical(Et("undefined",ce)).and(bt(Pu))}const Ru=/attr\.([^\]]+)/;function Nu(e,t,n){const r=new wi,i=K(e.selector);return r.set("type",e.internalType),i.length>0&&r.set("selectors",vi(i)),e.queries.length>0&&r.set("contentQueries",function(e,t,n){const r=[],i=[],s=pi(i,hi);for(const a of e){const e=a.static?Nn.staticContentQuery:Nn.contentQuery;r.push(_t(e).callFn([bt("dirIndex"),...Bu(a,t)]).toStmt());const n=s(),o=_t(Nn.loadQuery).callFn([]),c=_t(Nn.queryRefresh).callFn([n.set(o)]),l=bt(di).prop(a.propertyName).set(a.first?n.prop("first"):n);i.push(c.and(l).toStmt())}const o=n?n+"_ContentQueries":null;return Ct([new Fe(fi,ae),new Fe(di,null),new Fe("dirIndex",null)],[mu(1,r),mu(2,i)],se,null,o)}(e.queries,t,e.name)),e.viewQueries.length&&r.set("viewQuery",function(e,t,n){const r=[],i=[],s=pi(i,hi);e.forEach(e=>{const n=_t(e.static?Nn.staticViewQuery:Nn.viewQuery).callFn(Bu(e,t));r.push(n.toStmt());const o=s(),a=_t(Nn.loadQuery).callFn([]),c=_t(Nn.queryRefresh).callFn([o.set(a)]),l=bt(di).prop(e.propertyName).set(e.first?o.prop("first"):o);i.push(c.and(l).toStmt())});const o=n?n+"_Query":null;return Ct([new Fe(fi,ae),new Fe(di,null)],[mu(1,r),mu(2,i)],se,null,o)}(e.viewQueries,t,e.name)),r.set("hostBindings",function(e,t,n,r,i,s,o){const a=bt(di),c=new il(a),{styleAttr:l,classAttr:u}=e.specialAttributes;void 0!==l&&c.registerStyleAttr(l);void 0!==u&&c.registerClassAttr(u);const h=[],d=[],f=t,p=$u(e),m=n.createDirectiveHostEventAsts(p,f);if(m&&m.length){const e=function(e,t){const n=[],r=[],i=[];e.forEach(e=>{let i=e.name&&gn(e.name);const s=1===e.type?Bn(i,e.targetOrPhase):i,o=t&&i?`${t}_${s}_HostBindingHandler`:null,a=gu($n.fromParsedEvent(e),o);1==e.type?r.push(a):n.push(a)}),r.length>0&&i.push(xi(Nn.syntheticHostListener,r).toStmt());n.length>0&&i.push(xi(Nn.listener,n).toStmt());return i}(m,s);h.push(...e)}const g=n.createBoundHostProperties(p,f),v=[];let y,b=0;g&&g.forEach(e=>{c.registerInputBasedOnName(e.name,e.expression,f)?b+=2:(v.push(e),b++)});const _=()=>{if(!y){y=new yu(r,()=>Vt("Unexpected node"),e=>{const t=b;return b+=e,t},()=>Vt("Unexpected pipe"))}return y},w=[],S=[],x=[];v.forEach(e=>{const t=e.expression.visit(_()),r=qu(a,t),{bindingName:s,instruction:o,isAttribute:c}=function(e){let t,n=e.name;const r=n.match(Ru);r?(n=r[1],t=Nn.attribute):e.isAnimation?(n=Vn(n),t=Nn.syntheticHostProperty):t=Nn.hostProperty;return{bindingName:n,instruction:t,isAttribute:!!r}}(e),l=n.calcPossibleSecurityContexts(i,s,c).filter(e=>e!==q.NONE);let u=null;l.length&&(u=2===l.length&&l.indexOf(q.URL)>-1&&l.indexOf(q.RESOURCE_URL)>-1?_t(Nn.sanitizeUrlOrResourceUrl):Du(l[0],c));const h=[Et(s),r.currValExpr];u&&h.push(u),d.push(...r.stmts),o===Nn.hostProperty?w.push(h):o===Nn.attribute?S.push(h):o===Nn.syntheticHostProperty?x.push(h):d.push(_t(o).callFn(h).toStmt())}),w.length>0&&d.push(xi(Nn.hostProperty,w).toStmt());S.length>0&&d.push(xi(Nn.attribute,S).toStmt());x.length>0&&d.push(xi(Nn.syntheticHostProperty,x).toStmt());const O=function(e){const t=[];for(let n of Object.getOwnPropertyNames(e)){const r=e[n];t.push(Et(n),r)}return t}(e.attributes);c.assignHostAttrs(O,o),c.hasBindings&&c.buildUpdateLevelInstructions(_()).forEach(e=>{if(e.calls.length>0){const t=[];e.calls.forEach(e=>{b+=Math.max(e.allocateBindingSlots-2,0),t.push(function(e,t,n){return e.params(e=>n(t,e).currValExpr)}(e,a,qu))}),d.push(xi(e.reference,t).toStmt())}});b&&o.set("hostVars",Et(b));if(h.length>0||d.length>0){const e=s?s+"_HostBindings":null,t=[];return h.length>0&&t.push(mu(1,h)),d.length>0&&t.push(mu(2,d)),Ct([new Fe(fi,ae),new Fe(di,null)],t,se,null,e)}return null}(e.host,e.typeSourceSpan,n,t,e.selector||"",e.name,r)),r.set("inputs",yi(e.inputs,!0)),r.set("outputs",yi(e.outputs)),null!==e.exportAs&&r.set("exportAs",Ot(e.exportAs.map(e=>Et(e)))),r}function Hu(e,t){const n=[],r=t.providers,i=t.viewProviders;if(r||i){const e=[r||new qe([])];i&&e.push(i),n.push(_t(Nn.ProvidersFeature).callFn(e))}t.usesInheritance&&n.push(_t(Nn.InheritDefinitionFeature)),t.fullInheritance&&n.push(_t(Nn.CopyDefinitionFeature)),t.lifecycle.usesOnChanges&&n.push(_t(Nn.NgOnChangesFeature)),n.length&&e.set("features",Ot(n))}function Fu(e,t,n){const r=Nu(e,t,n);Hu(r,e);const i=_t(Nn.defineDirective).callFn([r.toLiteralMap()]),s=Wu(e);return{expression:i,type:St(_t(Nn.DirectiveDefWithMeta,s))}}function Vu(e,t,n){const r=Nu(e,t,n);Hu(r,e);const i=e.selector&&v.parse(e.selector),s=i&&i[0];if(s){const e=s.getAttrs();e.length&&r.set("attrs",t.getConstLiteral(Ot(e.map(e=>Et(null!=e?e:void 0))),!0))}let o=null;if(e.directives.length>0){const t=new y;for(const{selector:n,expression:r}of e.directives)t.addSelectables(v.parse(n),r);o=t}const a=e.name,c=a?a+"_Template":null,l=new Set,u=new Set,h=e.changeDetection,d=e.template,f=new vu(t,Cu.createRootScope(),0,a,null,null,c,o,l,e.pipes,u,Nn.namespaceHTML,e.relativeContextFilePath,e.i18nUseExternalIds),p=f.buildTemplateFunction(d.nodes,[]),m=f.getNgContentSelectors();m&&r.set("ngContentSelectors",m),r.set("decls",Et(f.getConstCount())),r.set("vars",Et(f.getVarCount()));const{constExpressions:g,prepareStatements:b}=f.getConsts();if(g.length>0){let e=Ot(g);b.length>0&&(e=Ct([],[...b,new st(e)])),r.set("consts",e)}if(r.set("template",p),l.size){let t=Ot(Array.from(l));e.wrapDirectivesAndPipesInClosure&&(t=Ct([],[new st(t)])),r.set("directives",t)}if(u.size){let t=Ot(Array.from(u));e.wrapDirectivesAndPipesInClosure&&(t=Ct([],[new st(t)])),r.set("pipes",t)}if(null===e.encapsulation&&(e.encapsulation=T.Emulated),e.styles&&e.styles.length){const n=(e.encapsulation==T.Emulated?function(e,t,n){const r=new jo;return e.map(e=>r.shimCssText(e,t,n))}(e.styles,oa,sa):e.styles).map(e=>t.getConstLiteral(Et(e)));r.set("styles",Ot(n))}else e.encapsulation===T.Emulated&&(e.encapsulation=T.None);e.encapsulation!==T.Emulated&&r.set("encapsulation",Et(e.encapsulation)),null!==e.animations&&r.set("data",kt([{key:"animation",value:e.animations,quoted:!1}])),null!=h&&h!==j.Default&&r.set("changeDetection",Et(h));const _=_t(Nn.defineComponent).callFn([r.toLiteralMap()]),w=Wu(e);w.push(Uu(e.template.ngContentSelectors));return{expression:_,type:St(_t(Nn.ComponentDefWithMeta,w))}}function Bu(e,t){const n=[_i(e,t),Et(e.descendants)];return e.read&&n.push(e.read),n}function Yu(e){return St(kt(Object.keys(e).map(t=>({key:t,value:Et(Array.isArray(e[t])?e[t][0]:e[t]),quoted:!0}))))}function Uu(e){return e.length>0?St(Ot(e.map(e=>Et(e)))):le}function Wu(e){const t=null!==e.selector?e.selector.replace(/\n/g,""):null;return[Fn(e.type.type,e.typeArgumentCount),null!==t?(n=t,St(Et(n))):le,null!==e.exportAs?Uu(e.exportAs):le,Yu(e.inputs),Yu(e.outputs),Uu(e.queries.map(e=>e.propertyName))];var n}function qu(e,t){return bo(null,e,t,"b",Ss.Expression,()=>Vt("Unexpected interpolation"))}function $u(e){return{hostAttributes:{},hostListeners:e.listeners,hostProperties:e.properties}}const Gu=/^(?:\[([^\]]+)\])|(?:\(([^\)]+)\))$/;class Xu{get(e){return""}}class Ku{constructor(e=new Ji){this.jitEvaluator=e,this.R3ResolvedDependencyType=Mi,this.R3FactoryTarget=Ci,this.ResourceLoader=Xu,this.elementSchemaRegistry=new Pl}compilePipe(e,t,n){const r=js({name:n.name,type:th(n.type),internalType:new be(n.type),typeArgumentCount:n.typeArgumentCount,deps:ah(n.deps),pipeName:n.pipeName,pure:n.pure});return this.jitExpression(r.expression,e,t,[])}compileInjectable(e,t,n){const{expression:r,statements:i}=function(e){let t=null;const n={name:e.name,type:e.type,internalType:e.internalType,typeArgumentCount:e.typeArgumentCount,deps:[],injectFn:un.inject,target:Ci.Injectable};if(void 0!==e.useClass){const r=e.useClass.isEquivalent(e.internalType);let i=void 0;void 0!==e.userDeps&&(i=e.userDeps),t=void 0!==i?Ei(Object.assign(Object.assign({},n),{delegate:e.useClass,delegateDeps:i,delegateType:ki.Class})):r?Ei(n):Di(e.type.value,e.useClass)}else t=void 0!==e.useFactory?void 0!==e.userDeps?Ei(Object.assign(Object.assign({},n),{delegate:e.useFactory,delegateDeps:e.userDeps||[],delegateType:ki.Function})):{statements:[],factory:Ct([],[new st(e.useFactory.callFn([]))])}:void 0!==e.useValue?Ei(Object.assign(Object.assign({},n),{expression:e.useValue})):void 0!==e.useExisting?Ei(Object.assign(Object.assign({},n),{expression:_t(un.inject).callFn([e.useExisting])})):Di(e.type.value,e.internalType);const r={token:e.internalType,factory:t.factory};return null!==e.providedIn.value&&(r.providedIn=e.providedIn),{expression:_t(un.\u0275\u0275defineInjectable).callFn([Hn(r)]),type:new te(_t(un.InjectableDef,[Fn(e.type.type,e.typeArgumentCount)])),statements:t.statements}}({name:n.name,type:th(n.type),internalType:new be(n.type),typeArgumentCount:n.typeArgumentCount,providedIn:sh(n.providedIn),useClass:ih(n,Ju),useFactory:ih(n,Qu),useValue:ih(n,Zu),useExisting:ih(n,eh),userDeps:ah(n.userDeps)||void 0});return this.jitExpression(r,e,t,i)}compileInjector(e,t,n){const r=function(e){const t=Ei({name:e.name,type:e.type,internalType:e.internalType,typeArgumentCount:0,deps:e.deps,injectFn:Nn.inject,target:Ci.NgModule}),n={factory:t.factory};return null!==e.providers&&(n.providers=e.providers),e.imports.length>0&&(n.imports=Ot(e.imports)),{expression:_t(Nn.defineInjector).callFn([Hn(n)]),type:new te(_t(Nn.InjectorDef,[new te(e.type.type)])),statements:t.statements}}({name:n.name,type:th(n.type),internalType:new be(n.type),deps:ah(n.deps),providers:new be(n.providers),imports:n.imports.map(e=>new be(e))});return this.jitExpression(r.expression,e,t,r.statements)}compileNgModule(e,t,n){const r=Ms({type:th(n.type),internalType:new be(n.type),adjacentType:new be(n.type),bootstrap:n.bootstrap.map(th),declarations:n.declarations.map(th),imports:n.imports.map(th),exports:n.exports.map(th),emitInline:!0,containsForwardDecls:!1,schemas:n.schemas?n.schemas.map(th):null,id:n.id?new be(n.id):null});return this.jitExpression(r.expression,e,t,[])}compileDirective(e,t,n){const r=new rn,i=ju(),s=Fu(rh(n),r,i);return this.jitExpression(s.expression,e,t,r.statements)}compileComponent(e,t,n){const r=new rn,i=n.interpolation?Pi.fromArray(n.interpolation):Ii,s=function(e,t,n={}){const{interpolationConfig:r,preserveWhitespaces:i,enableI18nLegacyMessageIdFormat:s}=n,o=ju(r),a=(new Ya).parse(e,t,Object.assign(Object.assign({leadingTriviaChars:pu},n),{tokenizeExpansionForms:!0}));if(a.errors&&a.errors.length>0)return{interpolationConfig:r,preserveWhitespaces:i,template:e,errors:a.errors,nodes:[],styleUrls:[],styles:[],ngContentSelectors:[]};let c=a.rootNodes;const l=new su(r,!i,s);c=ya(l,c),i||(c=ya(new Ka,c),l.hasI18nMeta&&(c=ya(new su(r,!1),c)));const{nodes:u,errors:h,styleUrls:d,styles:f,ngContentSelectors:p}=Rl(c,o);return{interpolationConfig:r,preserveWhitespaces:i,errors:h.length>0?h:null,template:e,nodes:u,styleUrls:d,styles:f,ngContentSelectors:p}}(n.template,t,{preserveWhitespaces:n.preserveWhitespaces,interpolationConfig:i});if(null!==s.errors){const e=s.errors.map(e=>e.toString()).join(", ");throw new Error(`Errors during JIT compilation of template for ${n.name}: ${e}`)}const o=Vu(Object.assign(Object.assign(Object.assign({},n),rh(n)),{selector:n.selector||this.elementSchemaRegistry.getDefaultComponentElementName(),template:s,wrapDirectivesAndPipesInClosure:!1,styles:[...n.styles,...s.styles],encapsulation:n.encapsulation,interpolation:i,changeDetection:n.changeDetection,animations:null!=n.animations?new be(n.animations):null,viewProviders:null!=n.viewProviders?new be(n.viewProviders):null,relativeContextFilePath:"",i18nUseExternalIds:!0}),r,ju(i)),a=`ng:///${n.name}.js`;return this.jitExpression(o.expression,e,a,r.statements)}compileFactory(e,t,n){const r=Ei({name:n.name,type:th(n.type),internalType:new be(n.type),typeArgumentCount:n.typeArgumentCount,deps:ah(n.deps),injectFn:"directiveInject"===n.injectFn?un.directiveInject:un.inject,target:n.target});return this.jitExpression(r.factory,e,t,r.statements)}createParseSourceSpan(e,t,n){return function(e,t,n){const r=new ys("",`in ${e} ${t} in ${n}`);return new bs(new vs(r,-1,-1,-1),new vs(r,-1,-1,-1))}(e,t,n)}jitExpression(e,t,n,r){const i=[...r,new nt("$def",e,void 0,[Qe.Exported])];return this.jitEvaluator.evaluateStatements(n,i,new ks(t),!0).$def}}const Ju=Object.keys({useClass:null})[0],Qu=Object.keys({useFactory:null})[0],Zu=Object.keys({useValue:null})[0],eh=Object.keys({useExisting:null})[0],th=function(e){const t=new be(e);return{value:t,type:t}};function nh(e){return Object.assign(Object.assign({},e),{predicate:Array.isArray(e.predicate)?e.predicate:new be(e.predicate),read:e.read?new be(e.read):null,static:e.static})}function rh(e){const t=hh(e.inputs||[]),n=hh(e.outputs||[]),r=e.propMetadata,i={},s={};for(const o in r)r.hasOwnProperty(o)&&r[o].forEach(e=>{"Input"===e.ngMetadataName?i[o]=e.bindingPropertyName?[e.bindingPropertyName,o]:o:uh(e)&&(s[o]=e.bindingPropertyName||o)});return Object.assign(Object.assign({},e),{typeSourceSpan:e.typeSourceSpan,type:th(e.type),internalType:new be(e.type),deps:ah(e.deps),host:ch(e.propMetadata,e.typeSourceSpan,e.host),inputs:Object.assign(Object.assign({},t),i),outputs:Object.assign(Object.assign({},n),s),queries:e.queries.map(nh),providers:null!=e.providers?new be(e.providers):null,viewQueries:e.viewQueries.map(nh),fullInheritance:!1})}function ih(e,t){return e.hasOwnProperty(t)?new be(e[t]):void 0}function sh(e){return null==e||"string"==typeof e?new Ce(e):new be(e)}function oh(e){let t;return t=null===e.token?new Ce(null):e.resolved===Mi.Attribute?new Ce(e.token):new be(e.token),{token:t,attribute:null,resolved:e.resolved,host:e.host,optional:e.optional,self:e.self,skipSelf:e.skipSelf}}function ah(e){return null==e?null:e.map(oh)}function ch(e,t,n){const r=function(e){const t={},n={},r={},i={};for(const s of Object.keys(e)){const o=e[s],a=s.match(Gu);if(null===a)switch(s){case"class":if("string"!=typeof o)throw new Error("Class binding must be string");i.classAttr=o;break;case"style":if("string"!=typeof o)throw new Error("Style binding must be string");i.styleAttr=o;break;default:t[s]="string"==typeof o?Et(o):o}else if(null!=a[1]){if("string"!=typeof o)throw new Error("Property binding must be string");r[a[1]]=o}else if(null!=a[2]){if("string"!=typeof o)throw new Error("Event binding must be string");n[a[2]]=o}}return{attributes:t,listeners:n,properties:r,specialAttributes:i}}(n||{}),i=function(e,t){const n=$u(e),r=ju();return r.createDirectiveHostEventAsts(n,t),r.createBoundHostProperties(n,t),r.errors}(r,t);if(i.length)throw new Error(i.map(e=>e.msg).join("\n"));for(const s in e)e.hasOwnProperty(s)&&e[s].forEach(e=>{"HostBinding"===e.ngMetadataName?r.properties[e.hostPropertyName||s]=s:lh(e)&&(r.listeners[e.eventName||s]=`${s}(${(e.args||[]).join(",")})`)});return r}function lh(e){return"HostListener"===e.ngMetadataName}function uh(e){return"Output"===e.ngMetadataName}function hh(e){return e.reduce((e,t)=>{const[n,r]=t.split(",").map(e=>e.trim());return e[n]=r||n,e},{})}new class{constructor(e){this.full=e;const t=e.split(".");this.major=t[0],this.minor=t[1],this.patch=t.slice(2).join(".")}}("11.0.9");class dh{constructor({defaultEncapsulation:e=T.Emulated,useJit:t=!0,jitDevMode:n=!1,missingTranslation:r=null,preserveWhitespaces:i,strictInjectionParameters:s}={}){this.defaultEncapsulation=e,this.useJit=!!t,this.jitDevMode=!!n,this.missingTranslation=r,this.preserveWhitespaces=fh(It(i)),this.strictInjectionParameters=!0===s}}function fh(e,t=!1){return null===e?t:e}class ph{constructor(e,t,n,r){this._resourceLoader=e,this._urlResolver=t,this._htmlParser=n,this._config=r,this._resourceLoaderCache=new Map}clearCache(){this._resourceLoaderCache.clear()}clearCacheFor(e){if(!e.isComponent)return;const t=e.template;this._resourceLoaderCache.delete(t.templateUrl),t.externalStylesheets.forEach(e=>{this._resourceLoaderCache.delete(e.moduleUrl)})}_fetch(e){let t=this._resourceLoaderCache.get(e);return t||(t=this._resourceLoader.get(e),this._resourceLoaderCache.set(e,t)),t}normalizeTemplate(e){if(Pt(e.template)){if(Pt(e.templateUrl))throw Bt(`'${$t(e.componentType)}' component cannot define both template and templateUrl`);if("string"!=typeof e.template)throw Bt(`The template specified for component ${$t(e.componentType)} is not a string`)}else{if(!Pt(e.templateUrl))throw Bt("No template specified for component "+$t(e.componentType));if("string"!=typeof e.templateUrl)throw Bt(`The templateUrl specified for component ${$t(e.componentType)} is not a string`)}if(Pt(e.preserveWhitespaces)&&"boolean"!=typeof e.preserveWhitespaces)throw Bt(`The preserveWhitespaces option for component ${$t(e.componentType)} must be a boolean`);return Ht(this._preParseTemplate(e),t=>this._normalizeTemplateMetadata(e,t))}_preParseTemplate(e){let t,n;return null!=e.template?(t=e.template,n=e.moduleUrl):(n=this._urlResolver.resolve(e.moduleUrl,e.templateUrl),t=this._fetch(n)),Ht(t,t=>this._preparseLoadedTemplate(e,t,n))}_preparseLoadedTemplate(e,t,n){const r=!!e.template,i=Pi.fromArray(e.interpolation),s=In({reference:e.ngModuleType},{type:{reference:e.componentType}},{isInline:r,templateUrl:n}),o=this._htmlParser.parse(t,s,{tokenizeExpansionForms:!0,interpolationConfig:i});if(o.errors.length>0){throw Bt("Template parse errors:\n"+o.errors.join("\n"))}const a=this._normalizeStylesheet(new Cn({styles:e.styles,moduleUrl:e.moduleUrl})),c=new mh;ya(c,o.rootNodes);const l=this._normalizeStylesheet(new Cn({styles:c.styles,styleUrls:c.styleUrls,moduleUrl:n}));return{template:t,templateUrl:n,isInline:r,htmlAst:o,styles:a.styles.concat(l.styles),inlineStyleUrls:a.styleUrls.concat(l.styleUrls),styleUrls:this._normalizeStylesheet(new Cn({styleUrls:e.styleUrls,moduleUrl:e.moduleUrl})).styleUrls,ngContentSelectors:c.ngContentSelectors}}_normalizeTemplateMetadata(e,t){return Ht(this._loadMissingExternalStylesheets(t.styleUrls.concat(t.inlineStyleUrls)),n=>this._normalizeLoadedTemplateMetadata(e,t,n))}_normalizeLoadedTemplateMetadata(e,t,n){const r=[...t.styles];this._inlineStyles(t.inlineStyleUrls,n,r);const i=t.styleUrls,s=i.map(e=>{const t=n.get(e),r=[...t.styles];return this._inlineStyles(t.styleUrls,n,r),new Cn({moduleUrl:e,styles:r})});let o=e.encapsulation;return null==o&&(o=this._config.defaultEncapsulation),o===T.Emulated&&0===r.length&&0===i.length&&(o=T.None),new Mn({encapsulation:o,template:t.template,templateUrl:t.templateUrl,htmlAst:t.htmlAst,styles:r,styleUrls:i,ngContentSelectors:t.ngContentSelectors,animations:e.animations,interpolation:e.interpolation,isInline:t.isInline,externalStylesheets:s,preserveWhitespaces:fh(e.preserveWhitespaces,this._config.preserveWhitespaces)})}_inlineStyles(e,t,n){e.forEach(e=>{const r=t.get(e);r.styles.forEach(e=>n.push(e)),this._inlineStyles(r.styleUrls,t,n)})}_loadMissingExternalStylesheets(e,t=new Map){return Ht(Ft(e.filter(e=>!t.has(e)).map(e=>Ht(this._fetch(e),n=>{const r=this._normalizeStylesheet(new Cn({styles:[n],moduleUrl:e}));return t.set(e,r),this._loadMissingExternalStylesheets(r.styleUrls,t)}))),e=>t)}_normalizeStylesheet(e){const t=e.moduleUrl,n=e.styleUrls.filter(Ec).map(e=>this._urlResolver.resolve(t,e)),r=e.styles.map(e=>{const r=function(e,t,n){const r=[],i=n.replace(jc,"").replace(Tc,(...n)=>{const i=n[1]||n[2];return Ec(i)?(r.push(e.resolve(t,i)),""):n[0]});return new Mc(i,r)}(this._urlResolver,t,e);return n.push(...r.styleUrls),r.style});return new Cn({styles:r,styleUrls:n,moduleUrl:t})}}class mh{constructor(){this.ngContentSelectors=[],this.styles=[],this.styleUrls=[],this.ngNonBindableStackCount=0}visitElement(e,t){const n=Nc(e);switch(n.type){case Hc.NG_CONTENT:0===this.ngNonBindableStackCount&&this.ngContentSelectors.push(n.selectAttr);break;case Hc.STYLE:let t="";e.children.forEach(e=>{e instanceof da&&(t+=e.value)}),this.styles.push(t);break;case Hc.STYLESHEET:this.styleUrls.push(n.hrefAttr)}return n.nonBindable&&this.ngNonBindableStackCount++,ya(this,e.children),n.nonBindable&&this.ngNonBindableStackCount--,null}visitExpansion(e,t){ya(this,e.cases)}visitExpansionCase(e,t){ya(this,e.expression)}visitComment(e,t){return null}visitAttribute(e,t){return null}visitText(e,t){return null}}const gh=[M,C,k,O];class vh{constructor(e){this._reflector=e}isDirective(e){const t=this._reflector.annotations(Gt(e));return t&&t.some(yh)}resolve(e,t=!0){const n=this._reflector.annotations(Gt(e));if(n){const t=bh(n,yh);if(t){const n=this._reflector.propMetadata(e),r=this._reflector.guards(e);return this._mergeWithPropertyMetadata(t,n,r,e)}}if(t)throw new Error("No Directive annotation found on "+$t(e));return null}_mergeWithPropertyMetadata(e,t,n,r){const i=[],s=[],o={},a={};return Object.keys(t).forEach(e=>{const n=bh(t[e],e=>L.isTypeOf(e));n&&(n.bindingPropertyName?i.push(`${e}: ${n.bindingPropertyName}`):i.push(e));const r=bh(t[e],e=>z.isTypeOf(e));r&&(r.bindingPropertyName?s.push(`${e}: ${r.bindingPropertyName}`):s.push(e));t[e].filter(e=>P.isTypeOf(e)).forEach(t=>{if(t.hostPropertyName){const n=t.hostPropertyName[0];if("("===n)throw new Error("@HostBinding can not bind to events. Use @HostListener instead.");if("["===n)throw new Error("@HostBinding parameter should be a property name, 'class.<name>', or 'attr.<name>'.");o[`[${t.hostPropertyName}]`]=e}else o[`[${e}]`]=e});t[e].filter(e=>I.isTypeOf(e)).forEach(t=>{const n=t.args||[];o[`(${t.eventName})`]=`${e}(${n.join(",")})`});const c=bh(t[e],e=>gh.some(t=>t.isTypeOf(e)));c&&(a[e]=c)}),this._merge(e,i,s,o,a,n,r)}_extractPublicName(e){return At(e,[null,e])[1].trim()}_dedupeBindings(e){const t=new Set,n=new Set,r=[];for(let i=e.length-1;i>=0;i--){const s=e[i],o=this._extractPublicName(s);n.add(o),t.has(o)||(t.add(o),r.push(s))}return r.reverse()}_merge(e,t,n,r,i,s,o){const a=this._dedupeBindings(e.inputs?e.inputs.concat(t):t),c=this._dedupeBindings(e.outputs?e.outputs.concat(n):n),l=e.host?Object.assign(Object.assign({},e.host),r):r,u=e.queries?Object.assign(Object.assign({},e.queries),i):i;if(D.isTypeOf(e)){const t=e;return D({selector:t.selector,inputs:a,outputs:c,host:l,exportAs:t.exportAs,moduleId:t.moduleId,queries:u,changeDetection:t.changeDetection,providers:t.providers,viewProviders:t.viewProviders,entryComponents:t.entryComponents,template:t.template,templateUrl:t.templateUrl,styles:t.styles,styleUrls:t.styleUrls,encapsulation:t.encapsulation,animations:t.animations,interpolation:t.interpolation,preserveWhitespaces:e.preserveWhitespaces})}return E({selector:e.selector,inputs:a,outputs:c,host:l,exportAs:e.exportAs,queries:u,providers:e.providers,guards:s})}}function yh(e){return E.isTypeOf(e)||D.isTypeOf(e)}function bh(e,t){for(let n=e.length-1;n>=0;n--)if(t(e[n]))return e[n];return null}class _h extends Os{constructor(e,t){super(e,t)}}const wh="i18n",Sh="i18n-",xh=/^i18n:?/;let Oh=!1;class kh{constructor(e,t){this.messages=e,this.errors=t}}var Ch;!function(e){e[e.Extract=0]="Extract",e[e.Merge=1]="Merge"}(Ch||(Ch={}));class Mh{constructor(e,t){this._implicitTags=e,this._implicitAttrs=t}extract(e,t){return this._init(Ch.Extract,t),e.forEach(e=>e.visit(this,null)),this._inI18nBlock&&this._reportError(e[e.length-1],"Unclosed block"),new kh(this._messages,this._errors)}merge(e,t,n){this._init(Ch.Merge,n),this._translations=t;const r=new ga("wrapper",[],e,void 0,void 0,void 0).visit(this,null);return this._inI18nBlock&&this._reportError(e[e.length-1],"Unclosed block"),new Ha(r.children,this._errors)}visitExpansionCase(e,t){const n=ya(this,e.expression,t);if(this._mode===Ch.Merge)return new pa(e.value,n,e.sourceSpan,e.valueSourceSpan,e.expSourceSpan)}visitExpansion(e,t){this._mayBeAddBlockChildren(e);const n=this._inIcu;this._inIcu||(this._isInTranslatableSection&&this._addMessage([e]),this._inIcu=!0);const r=ya(this,e.cases,t);return this._mode===Ch.Merge&&(e=new fa(e.switchValue,e.type,r,e.sourceSpan,e.switchValueSourceSpan)),this._inIcu=n,e}visitComment(e,t){const n=!!((r=e)instanceof va&&r.value&&r.value.startsWith("i18n"));var r;if(n&&this._isInTranslatableSection)return void this._reportError(e,"Could not start a block inside a translatable section");const i=function(e){return!!(e instanceof va&&e.value&&"/i18n"===e.value)}(e);if(!i||this._inI18nBlock){if(!this._inI18nNode&&!this._inIcu)if(this._inI18nBlock){if(i){if(this._depth==this._blockStartDepth){this._closeTranslatableSection(e,this._blockChildren),this._inI18nBlock=!1;const t=this._addMessage(this._blockChildren,this._blockMeaningAndDesc);return ya(this,this._translateMessage(e,t))}return void this._reportError(e,"I18N blocks should not cross element boundaries")}}else if(n){if(!Oh&&console&&console.warn){Oh=!0;const t=e.sourceSpan.details?", "+e.sourceSpan.details:"";console.warn(`I18n comments are deprecated, use an <ng-container> element instead (${e.sourceSpan.start}${t})`)}this._inI18nBlock=!0,this._blockStartDepth=this._depth,this._blockChildren=[],this._blockMeaningAndDesc=e.value.replace(xh,"").trim(),this._openTranslatableSection(e)}}else this._reportError(e,"Trying to close an unopened block")}visitText(e,t){return this._isInTranslatableSection&&this._mayBeAddBlockChildren(e),e}visitElement(e,t){this._mayBeAddBlockChildren(e),this._depth++;const n=this._inI18nNode,r=this._inImplicitNode;let i=[],s=void 0;const o=e.attrs.find(e=>e.name===wh)||null;const a=o?o.value:"",c=this._implicitTags.some(t=>e.name===t)&&!this._inIcu&&!this._isInTranslatableSection,l=!r&&c;if(this._inImplicitNode=r||c,this._isInTranslatableSection||this._inIcu)(o||l)&&this._reportError(e,"Could not mark an element as translatable inside a translatable section"),this._mode==Ch.Extract&&ya(this,e.children);else{if(o||l){this._inI18nNode=!0;const t=this._addMessage(e.children,a);s=this._translateMessage(e,t)}if(this._mode==Ch.Extract){const t=o||l;t&&this._openTranslatableSection(e),ya(this,e.children),t&&this._closeTranslatableSection(e,e.children)}}if(this._mode===Ch.Merge){(s||e.children).forEach(e=>{const n=e.visit(this,t);n&&!this._isInTranslatableSection&&(i=i.concat(n))})}if(this._visitAttributesOf(e),this._depth--,this._inI18nNode=n,this._inImplicitNode=r,this._mode===Ch.Merge){const t=this._translateAttributes(e);return new ga(e.name,t,i,e.sourceSpan,e.startSourceSpan,e.endSourceSpan)}return null}visitAttribute(e,t){throw new Error("unreachable code")}_init(e,t){this._mode=e,this._inI18nBlock=!1,this._inI18nNode=!1,this._depth=0,this._inIcu=!1,this._msgCountAtSectionStart=void 0,this._errors=[],this._messages=[],this._inImplicitNode=!1,this._createI18nMessage=Zl(t)}_visitAttributesOf(e){const t={},n=this._implicitAttrs[e.name]||[];e.attrs.filter(e=>e.name.startsWith(Sh)).forEach(e=>t[e.name.slice(Sh.length)]=e.value),e.attrs.forEach(e=>{e.name in t?this._addMessage([e],t[e.name]):n.some(t=>e.name===t)&&this._addMessage([e])})}_addMessage(e,t){if(0==e.length||1==e.length&&e[0]instanceof ma&&!e[0].value)return null;const{meaning:n,description:r,id:i}=Eh(t),s=this._createI18nMessage(e,n,r,i);return this._messages.push(s),s}_translateMessage(e,t){if(t&&this._mode===Ch.Merge){const n=this._translations.get(t);if(n)return n;this._reportError(e,`Translation unavailable for message id="${this._translations.digest(t)}"`)}return[]}_translateAttributes(e){const t=e.attrs,n={};t.forEach(e=>{e.name.startsWith(Sh)&&(n[e.name.slice(Sh.length)]=Eh(e.value))});const r=[];return t.forEach(t=>{if(t.name!==wh&&!t.name.startsWith(Sh))if(t.value&&""!=t.value&&n.hasOwnProperty(t.name)){const{meaning:i,description:s,id:o}=n[t.name],a=this._createI18nMessage([t],i,s,o),c=this._translations.get(a);if(c)if(0==c.length)r.push(new ma(t.name,"",t.sourceSpan));else if(c[0]instanceof da){const e=c[0].value;r.push(new ma(t.name,e,t.sourceSpan))}else this._reportError(e,`Unexpected translation for attribute "${t.name}" (id="${o||this._translations.digest(a)}")`);else this._reportError(e,`Translation unavailable for attribute "${t.name}" (id="${o||this._translations.digest(a)}")`)}else r.push(t)}),r}_mayBeAddBlockChildren(e){this._inI18nBlock&&!this._inIcu&&this._depth==this._blockStartDepth&&this._blockChildren.push(e)}_openTranslatableSection(e){this._isInTranslatableSection?this._reportError(e,"Unexpected section start"):this._msgCountAtSectionStart=this._messages.length}get _isInTranslatableSection(){return void 0!==this._msgCountAtSectionStart}_closeTranslatableSection(e,t){if(!this._isInTranslatableSection)return void this._reportError(e,"Unexpected section end");const n=this._msgCountAtSectionStart;if(1==t.reduce((e,t)=>e+(t instanceof va?0:1),0))for(let r=this._messages.length-1;r>=n;r--){const e=this._messages[r].nodes;if(!(1==e.length&&e[0]instanceof nr)){this._messages.splice(r,1);break}}this._msgCountAtSectionStart=void 0}_reportError(e,t){this._errors.push(new _h(e.sourceSpan,t))}}function Eh(e){if(!e)return{meaning:"",description:"",id:""};const t=e.indexOf("@@"),n=e.indexOf("|"),[r,i]=t>-1?[e.slice(0,t),e.slice(t+2)]:[e,""],[s,o]=n>-1?[r.slice(0,n),r.slice(n+1)]:["",r];return{meaning:s,description:o,id:i.trim()}}const Th=new class{constructor(){this.closedByParent=!1,this.isVoid=!1,this.ignoreFirstLf=!1,this.canSelfClose=!0,this.preventNamespaceInheritance=!1}requireExtraParent(e){return!1}isClosedByChild(e){return!1}getContentType(){return r.PARSABLE_DATA}};function jh(e){return Th}class Dh extends Fa{constructor(){super(jh)}parse(e,t,n){return super.parse(e,t,n)}}const Ah="x",Lh="source",zh="trans-unit",Ph="context";class Ih extends Tr{write(e,t){const n=new Rh,r=[];e.forEach(e=>{let t=[];e.sources.forEach(e=>{let n=new Pr("context-group",{purpose:"location"});n.children.push(new Rr(10),new Pr(Ph,{"context-type":"sourcefile"},[new Ir(e.filePath)]),new Rr(10),new Pr(Ph,{"context-type":"linenumber"},[new Ir(""+e.startLine)]),new Rr(8)),t.push(new Rr(8),n)});const i=new Pr(zh,{id:e.id,datatype:"html"});i.children.push(new Rr(8),new Pr(Lh,{},n.serialize(e.nodes)),...t),e.description&&i.children.push(new Rr(8),new Pr("note",{priority:"1",from:"description"},[new Ir(e.description)])),e.meaning&&i.children.push(new Rr(8),new Pr("note",{priority:"1",from:"meaning"},[new Ir(e.meaning)])),i.children.push(new Rr(6)),r.push(new Rr(6),i)});const i=new Pr("body",{},[...r,new Rr(4)]),s=new Pr("file",{"source-language":t||"en",datatype:"plaintext",original:"ng2.template"},[new Rr(4),i,new Rr(2)]),o=new Pr("xliff",{version:"1.2",xmlns:"urn:oasis:names:tc:xliff:document:1.2"},[new Rr(2),s,new Rr]);return Ar([new Lr({version:"1.0",encoding:"UTF-8"}),new Rr,o,new Rr])}load(e,t){const n=new Nh,{locale:r,msgIdToHtml:i,errors:s}=n.parse(e,t),o={},a=new Hh;if(Object.keys(i).forEach(e=>{const{i18nNodes:n,errors:r}=a.convert(i[e],t);s.push(...r),o[e]=n}),s.length)throw new Error("xliff parse errors:\n"+s.join("\n"));return{locale:r,i18nNodesByMsgId:o}}digest(e){return ur(e)}}class Rh{visitText(e,t){return[new Ir(e.value)]}visitContainer(e,t){const n=[];return e.children.forEach(e=>n.push(...e.visit(this))),n}visitIcu(e,t){const n=[new Ir(`{${e.expressionPlaceholder}, ${e.type}, `)];return Object.keys(e.cases).forEach(t=>{n.push(new Ir(t+" {"),...e.cases[t].visit(this),new Ir("} "))}),n.push(new Ir("}")),n}visitTagPlaceholder(e,t){const n=function(e){switch(e.toLowerCase()){case"br":return"lb";case"img":return"image";default:return"x-"+e}}(e.tag);if(e.isVoid)return[new Pr(Ah,{id:e.startName,ctype:n,"equiv-text":`<${e.tag}/>`})];const r=new Pr(Ah,{id:e.startName,ctype:n,"equiv-text":`<${e.tag}>`}),i=new Pr(Ah,{id:e.closeName,ctype:n,"equiv-text":`</${e.tag}>`});return[r,...this.serialize(e.children),i]}visitPlaceholder(e,t){return[new Pr(Ah,{id:e.name,"equiv-text":`{{${e.value}}}`})]}visitIcuPlaceholder(e,t){const n=`{${e.value.expression}, ${e.value.type}, ${Object.keys(e.value.cases).map(e=>e+" {...}").join(" ")}}`;return[new Pr(Ah,{id:e.name,"equiv-text":n})]}serialize(e){return[].concat(...e.map(e=>e.visit(this)))}}class Nh{constructor(){this._locale=null}parse(e,t){this._unitMlString=null,this._msgIdToHtml={};const n=(new Dh).parse(e,t);return this._errors=n.errors,ya(this,n.rootNodes,null),{msgIdToHtml:this._msgIdToHtml,errors:this._errors,locale:this._locale}}visitElement(e,t){switch(e.name){case zh:this._unitMlString=null;const t=e.attrs.find(e=>"id"===e.name);if(t){const n=t.value;this._msgIdToHtml.hasOwnProperty(n)?this._addError(e,"Duplicated translations for msg "+n):(ya(this,e.children,null),"string"==typeof this._unitMlString?this._msgIdToHtml[n]=this._unitMlString:this._addError(e,`Message ${n} misses a translation`))}else this._addError(e,'<trans-unit> misses the "id" attribute');break;case Lh:case"seg-source":case"alt-trans":break;case"target":const n=e.startSourceSpan.end.offset,r=e.endSourceSpan.start.offset,i=e.startSourceSpan.start.file.content.slice(n,r);this._unitMlString=i;break;case"file":const s=e.attrs.find(e=>"target-language"===e.name);s&&(this._locale=s.value),ya(this,e.children,null);break;default:ya(this,e.children,null)}}visitAttribute(e,t){}visitText(e,t){}visitComment(e,t){}visitExpansion(e,t){}visitExpansionCase(e,t){}_addError(e,t){this._errors.push(new _h(e.sourceSpan,t))}}class Hh{convert(e,t){const n=(new Dh).parse(e,t,{tokenizeExpansionForms:!0});this._errors=n.errors;return{i18nNodes:this._errors.length>0||0==n.rootNodes.length?[]:[].concat(...ya(this,n.rootNodes)),errors:this._errors}}visitText(e,t){return new nr(e.value,e.sourceSpan)}visitElement(e,t){if(e.name===Ah){const t=e.attrs.find(e=>"id"===e.name);return t?new or("",t.value,e.sourceSpan):(this._addError(e,'<x> misses the "id" attribute'),null)}return"mrk"===e.name?[].concat(...ya(this,e.children)):(this._addError(e,"Unexpected tag"),null)}visitExpansion(e,t){const n={};return ya(this,e.cases).forEach(t=>{n[t.value]=new rr(t.nodes,e.sourceSpan)}),new ir(e.switchValue,e.type,n,e.sourceSpan)}visitExpansionCase(e,t){return{value:e.value,nodes:ya(this,e.expression)}}visitComment(e,t){}visitAttribute(e,t){}_addError(e,t){this._errors.push(new _h(e.sourceSpan,t))}}const Fh="ph",Vh="xliff",Bh="source",Yh="unit";class Uh extends Tr{write(e,t){const n=new Wh,r=[];e.forEach(e=>{const t=new Pr(Yh,{id:e.id}),i=new Pr("notes");(e.description||e.meaning)&&(e.description&&i.children.push(new Rr(8),new Pr("note",{category:"description"},[new Ir(e.description)])),e.meaning&&i.children.push(new Rr(8),new Pr("note",{category:"meaning"},[new Ir(e.meaning)]))),e.sources.forEach(e=>{i.children.push(new Rr(8),new Pr("note",{category:"location"},[new Ir(`${e.filePath}:${e.startLine}${e.endLine!==e.startLine?","+e.endLine:""}`)]))}),i.children.push(new Rr(6)),t.children.push(new Rr(6),i);const s=new Pr("segment");s.children.push(new Rr(8),new Pr(Bh,{},n.serialize(e.nodes)),new Rr(6)),t.children.push(new Rr(6),s,new Rr(4)),r.push(new Rr(4),t)});const i=new Pr("file",{original:"ng.template",id:"ngi18n"},[...r,new Rr(2)]),s=new Pr(Vh,{version:"2.0",xmlns:"urn:oasis:names:tc:xliff:document:2.0",srcLang:t||"en"},[new Rr(2),i,new Rr]);return Ar([new Lr({version:"1.0",encoding:"UTF-8"}),new Rr,s,new Rr])}load(e,t){const n=new qh,{locale:r,msgIdToHtml:i,errors:s}=n.parse(e,t),o={},a=new $h;if(Object.keys(i).forEach(e=>{const{i18nNodes:n,errors:r}=a.convert(i[e],t);s.push(...r),o[e]=n}),s.length)throw new Error("xliff2 parse errors:\n"+s.join("\n"));return{locale:r,i18nNodesByMsgId:o}}digest(e){return dr(e)}}class Wh{visitText(e,t){return[new Ir(e.value)]}visitContainer(e,t){const n=[];return e.children.forEach(e=>n.push(...e.visit(this))),n}visitIcu(e,t){const n=[new Ir(`{${e.expressionPlaceholder}, ${e.type}, `)];return Object.keys(e.cases).forEach(t=>{n.push(new Ir(t+" {"),...e.cases[t].visit(this),new Ir("} "))}),n.push(new Ir("}")),n}visitTagPlaceholder(e,t){const n=function(e){switch(e.toLowerCase()){case"br":case"b":case"i":case"u":return"fmt";case"img":return"image";case"a":return"link";default:return"other"}}(e.tag);if(e.isVoid){return[new Pr(Fh,{id:(this._nextPlaceholderId++).toString(),equiv:e.startName,type:n,disp:`<${e.tag}/>`})]}const r=new Pr("pc",{id:(this._nextPlaceholderId++).toString(),equivStart:e.startName,equivEnd:e.closeName,type:n,dispStart:`<${e.tag}>`,dispEnd:`</${e.tag}>`}),i=[].concat(...e.children.map(e=>e.visit(this)));return i.length?i.forEach(e=>r.children.push(e)):r.children.push(new Ir("")),[r]}visitPlaceholder(e,t){const n=(this._nextPlaceholderId++).toString();return[new Pr(Fh,{id:n,equiv:e.name,disp:`{{${e.value}}}`})]}visitIcuPlaceholder(e,t){const n=Object.keys(e.value.cases).map(e=>e+" {...}").join(" "),r=(this._nextPlaceholderId++).toString();return[new Pr(Fh,{id:r,equiv:e.name,disp:`{${e.value.expression}, ${e.value.type}, ${n}}`})]}serialize(e){return this._nextPlaceholderId=0,[].concat(...e.map(e=>e.visit(this)))}}class qh{constructor(){this._locale=null}parse(e,t){this._unitMlString=null,this._msgIdToHtml={};const n=(new Dh).parse(e,t);return this._errors=n.errors,ya(this,n.rootNodes,null),{msgIdToHtml:this._msgIdToHtml,errors:this._errors,locale:this._locale}}visitElement(e,t){switch(e.name){case Yh:this._unitMlString=null;const t=e.attrs.find(e=>"id"===e.name);if(t){const n=t.value;this._msgIdToHtml.hasOwnProperty(n)?this._addError(e,"Duplicated translations for msg "+n):(ya(this,e.children,null),"string"==typeof this._unitMlString?this._msgIdToHtml[n]=this._unitMlString:this._addError(e,`Message ${n} misses a translation`))}else this._addError(e,'<unit> misses the "id" attribute');break;case Bh:break;case"target":const n=e.startSourceSpan.end.offset,r=e.endSourceSpan.start.offset,i=e.startSourceSpan.start.file.content.slice(n,r);this._unitMlString=i;break;case Vh:const s=e.attrs.find(e=>"trgLang"===e.name);s&&(this._locale=s.value);const o=e.attrs.find(e=>"version"===e.name);if(o){const t=o.value;"2.0"!==t?this._addError(e,`The XLIFF file version ${t} is not compatible with XLIFF 2.0 serializer`):ya(this,e.children,null)}break;default:ya(this,e.children,null)}}visitAttribute(e,t){}visitText(e,t){}visitComment(e,t){}visitExpansion(e,t){}visitExpansionCase(e,t){}_addError(e,t){this._errors.push(new _h(e.sourceSpan,t))}}class $h{convert(e,t){const n=(new Dh).parse(e,t,{tokenizeExpansionForms:!0});this._errors=n.errors;return{i18nNodes:this._errors.length>0||0==n.rootNodes.length?[]:[].concat(...ya(this,n.rootNodes)),errors:this._errors}}visitText(e,t){return new nr(e.value,e.sourceSpan)}visitElement(e,t){switch(e.name){case Fh:const t=e.attrs.find(e=>"equiv"===e.name);if(t)return[new or("",t.value,e.sourceSpan)];this._addError(e,'<ph> misses the "equiv" attribute');break;case"pc":const n=e.attrs.find(e=>"equivStart"===e.name),r=e.attrs.find(e=>"equivEnd"===e.name);if(n){if(r){const t=n.value,i=r.value;return[].concat(new or("",t,e.sourceSpan),...e.children.map(e=>e.visit(this,null)),new or("",i,e.sourceSpan))}this._addError(e,'<ph> misses the "equivEnd" attribute')}else this._addError(e,'<ph> misses the "equivStart" attribute');break;case"mrk":return[].concat(...ya(this,e.children));default:this._addError(e,"Unexpected tag")}return null}visitExpansion(e,t){const n={};return ya(this,e.cases).forEach(t=>{n[t.value]=new rr(t.nodes,e.sourceSpan)}),new ir(e.switchValue,e.type,n,e.sourceSpan)}visitExpansionCase(e,t){return{value:e.value,nodes:[].concat(...ya(this,e.expression))}}visitComment(e,t){}visitAttribute(e,t){}_addError(e,t){this._errors.push(new _h(e.sourceSpan,t))}}const Gh="translationbundle",Xh="translation";class Kh extends Tr{write(e,t){throw new Error("Unsupported")}load(e,t){const n=new Jh,{locale:r,msgIdToHtml:i,errors:s}=n.parse(e,t),o={},a=new Qh;if(Object.keys(i).forEach(e=>{!function(e,t,n){Object.defineProperty(e,t,{configurable:!0,enumerable:!0,get:function(){const r=n();return Object.defineProperty(e,t,{enumerable:!0,value:r}),r},set:e=>{throw new Error("Could not overwrite an XTB translation")}})}(o,e,function(){const{i18nNodes:n,errors:r}=a.convert(i[e],t);if(r.length)throw new Error("xtb parse errors:\n"+r.join("\n"));return n})}),s.length)throw new Error("xtb parse errors:\n"+s.join("\n"));return{locale:r,i18nNodesByMsgId:o}}digest(e){return Wr(e)}createNameMapper(e){return new jr(e,$r)}}class Jh{constructor(){this._locale=null}parse(e,t){this._bundleDepth=0,this._msgIdToHtml={};const n=(new Dh).parse(e,t);return this._errors=n.errors,ya(this,n.rootNodes),{msgIdToHtml:this._msgIdToHtml,errors:this._errors,locale:this._locale}}visitElement(e,t){switch(e.name){case Gh:this._bundleDepth++,this._bundleDepth>1&&this._addError(e,"<translationbundle> elements can not be nested");const t=e.attrs.find(e=>"lang"===e.name);t&&(this._locale=t.value),ya(this,e.children,null),this._bundleDepth--;break;case Xh:const n=e.attrs.find(e=>"id"===e.name);if(n){const t=n.value;if(this._msgIdToHtml.hasOwnProperty(t))this._addError(e,"Duplicated translations for msg "+t);else{const n=e.startSourceSpan.end.offset,r=e.endSourceSpan.start.offset,i=e.startSourceSpan.start.file.content.slice(n,r);this._msgIdToHtml[t]=i}}else this._addError(e,'<translation> misses the "id" attribute');break;default:this._addError(e,"Unexpected tag")}}visitAttribute(e,t){}visitText(e,t){}visitComment(e,t){}visitExpansion(e,t){}visitExpansionCase(e,t){}_addError(e,t){this._errors.push(new _h(e.sourceSpan,t))}}class Qh{convert(e,t){const n=(new Dh).parse(e,t,{tokenizeExpansionForms:!0});this._errors=n.errors;return{i18nNodes:this._errors.length>0||0==n.rootNodes.length?[]:ya(this,n.rootNodes),errors:this._errors}}visitText(e,t){return new nr(e.value,e.sourceSpan)}visitExpansion(e,t){const n={};return ya(this,e.cases).forEach(t=>{n[t.value]=new rr(t.nodes,e.sourceSpan)}),new ir(e.switchValue,e.type,n,e.sourceSpan)}visitExpansionCase(e,t){return{value:e.value,nodes:ya(this,e.expression)}}visitElement(e,t){if("ph"===e.name){const t=e.attrs.find(e=>"name"===e.name);if(t)return new or("",t.value,e.sourceSpan);this._addError(e,'<ph> misses the "name" attribute')}else this._addError(e,"Unexpected tag");return null}visitComment(e,t){}visitAttribute(e,t){}_addError(e,t){this._errors.push(new _h(e.sourceSpan,t))}}class Zh{constructor(e={},t,n,r,i=$.Warning,s){this._i18nNodesByMsgId=e,this.digest=n,this.mapperFactory=r,this._i18nToHtml=new ed(e,t,n,r,i,s)}static load(e,t,n,r,i){const{locale:s,i18nNodesByMsgId:o}=n.load(e,t);return new Zh(o,s,e=>n.digest(e),e=>n.createNameMapper(e),r,i)}get(e){const t=this._i18nToHtml.convert(e);if(t.errors.length)throw new Error(t.errors.join("\n"));return t.nodes}has(e){return this.digest(e)in this._i18nNodesByMsgId}}class ed{constructor(e={},t,n,r,i,s){this._i18nNodesByMsgId=e,this._locale=t,this._digest=n,this._mapperFactory=r,this._missingTranslationStrategy=i,this._console=s,this._contextStack=[],this._errors=[]}convert(e){this._contextStack.length=0,this._errors.length=0;const t=this._convertToText(e),n=e.nodes[0].sourceSpan.start.file.url,r=(new Ya).parse(t,n,{tokenizeExpansionForms:!0});return{nodes:r.rootNodes,errors:[...this._errors,...r.errors]}}visitText(e,t){return Hr(e.value)}visitContainer(e,t){return e.children.map(e=>e.visit(this)).join("")}visitIcu(e,t){const n=Object.keys(e.cases).map(t=>`${t} {${e.cases[t].visit(this)}}`);return`{${this._srcMsg.placeholders.hasOwnProperty(e.expression)?this._srcMsg.placeholders[e.expression].text:e.expression}, ${e.type}, ${n.join(" ")}}`}visitPlaceholder(e,t){const n=this._mapper(e.name);return this._srcMsg.placeholders.hasOwnProperty(n)?this._srcMsg.placeholders[n].text:this._srcMsg.placeholderToMessage.hasOwnProperty(n)?this._convertToText(this._srcMsg.placeholderToMessage[n]):(this._addError(e,`Unknown placeholder "${e.name}"`),"")}visitTagPlaceholder(e,t){const n=""+e.tag,r=Object.keys(e.attrs).map(t=>`${t}="${e.attrs[t]}"`).join(" ");if(e.isVoid)return`<${n} ${r}/>`;return`<${n} ${r}>${e.children.map(e=>e.visit(this)).join("")}</${n}>`}visitIcuPlaceholder(e,t){return this._convertToText(this._srcMsg.placeholderToMessage[e.name])}_convertToText(e){const t=this._digest(e),n=this._mapperFactory?this._mapperFactory(e):null;let r;if(this._contextStack.push({msg:this._srcMsg,mapper:this._mapper}),this._srcMsg=e,this._i18nNodesByMsgId.hasOwnProperty(t))r=this._i18nNodesByMsgId[t],this._mapper=e=>n?n.toInternalName(e):e;else{if(this._missingTranslationStrategy===$.Error){const n=this._locale?` for locale "${this._locale}"`:"";this._addError(e.nodes[0],`Missing translation for message "${t}"${n}`)}else if(this._console&&this._missingTranslationStrategy===$.Warning){const e=this._locale?` for locale "${this._locale}"`:"";this._console.warn(`Missing translation for message "${t}"${e}`)}r=e.nodes,this._mapper=e=>e}const i=r.map(e=>e.visit(this)).join(""),s=this._contextStack.pop();return this._srcMsg=s.msg,this._mapper=s.mapper,i}_addError(e,t){this._errors.push(new _h(e.sourceSpan,t))}}class td{constructor(e,t,n,r=$.Warning,i){if(this._htmlParser=e,t){const e=function(e){switch(e=(e||"xlf").toLowerCase()){case"xmb":return new Yr;case"xtb":return new Kh;case"xliff2":case"xlf2":return new Uh;case"xliff":case"xlf":default:return new Ih}}(n);this._translationBundle=Zh.load(t,"i18n",e,r,i)}else this._translationBundle=new Zh({},null,ur,void 0,r,i)}parse(e,t,n={}){const r=n.interpolationConfig||Ii,i=this._htmlParser.parse(e,t,Object.assign({interpolationConfig:r},n));return i.errors.length?new Ha(i.rootNodes,i.errors):function(e,t,n,r,i){return new Mh(r,i).merge(e,t,n)}(i.rootNodes,this._translationBundle,r,[],{})}}function nd(e,t,n=null){return zt(t,new rd(e),n)}class rd{constructor(e){this.ctx=e}visitArray(e,t){const n=[];for(let r=0;r<e.length;++r)n.push(zt(e[r],this,null));return Ot(n,t)}visitStringMap(e,t){const n=[],r=new Set(e&&e.$quoted$);return Object.keys(e).forEach(t=>{n.push(new $e(t,zt(e[t],this,null),r.has(t)))}),new Ge(n,t)}visitPrimitive(e,t){return Et(e,t)}visitOther(e,t){return e instanceof ge?e:this.ctx.importExpr(e)}}function id(e,t=!1){const n=sd(e,t);return`${n[0]}.ngfactory${od(n[1])}`}function sd(e,t=!1){if(e.endsWith(".d.ts"))return[e.slice(0,-5),t?".ts":".d.ts"];const n=e.lastIndexOf(".");return-1!==n?[e.substring(0,n),e.substring(n)]:[e,""]}function od(e){return".tsx"===e?".ts":e}var ad;!function(e){e[e.OnInit=0]="OnInit",e[e.OnDestroy=1]="OnDestroy",e[e.DoCheck=2]="DoCheck",e[e.OnChanges=3]="OnChanges",e[e.AfterContentInit=4]="AfterContentInit",e[e.AfterContentChecked=5]="AfterContentChecked",e[e.AfterViewInit=6]="AfterViewInit",e[e.AfterViewChecked=7]="AfterViewChecked"}(ad||(ad={}));const cd=[ad.OnInit,ad.OnDestroy,ad.DoCheck,ad.OnChanges,ad.AfterContentInit,ad.AfterContentChecked,ad.AfterViewInit,ad.AfterViewChecked];function ld(e,t,n){return e.hasLifecycleHook(n,function(e){switch(e){case ad.OnInit:return"ngOnInit";case ad.OnDestroy:return"ngOnDestroy";case ad.DoCheck:return"ngDoCheck";case ad.OnChanges:return"ngOnChanges";case ad.AfterContentInit:return"ngAfterContentInit";case ad.AfterContentChecked:return"ngAfterContentChecked";case ad.AfterViewInit:return"ngAfterViewInit";case ad.AfterViewChecked:return"ngAfterViewChecked";default:throw new Error("unexpected "+e)}}(t))}class ud{constructor(e,t,n,r,i,s,o,a,c,l,u,h){this._config=e,this._htmlParser=t,this._ngModuleResolver=n,this._directiveResolver=r,this._pipeResolver=i,this._summaryResolver=s,this._schemaRegistry=o,this._directiveNormalizer=a,this._console=c,this._staticSymbolCache=l,this._reflector=u,this._errorCollector=h,this._nonNormalizedDirectiveCache=new Map,this._directiveCache=new Map,this._summaryCache=new Map,this._pipeCache=new Map,this._ngModuleCache=new Map,this._ngModuleOfTypes=new Map,this._shallowModuleCache=new Map}getReflector(){return this._reflector}clearCacheFor(e){const t=this._directiveCache.get(e);this._directiveCache.delete(e),this._nonNormalizedDirectiveCache.delete(e),this._summaryCache.delete(e),this._pipeCache.delete(e),this._ngModuleOfTypes.delete(e),this._ngModuleCache.clear(),t&&this._directiveNormalizer.clearCacheFor(t)}clearCache(){this._directiveCache.clear(),this._nonNormalizedDirectiveCache.clear(),this._summaryCache.clear(),this._pipeCache.clear(),this._ngModuleCache.clear(),this._ngModuleOfTypes.clear(),this._directiveNormalizer.clearCache()}_createProxyClass(e,t){let n=null;const r=function(){if(!n)throw new Error(`Illegal state: Class ${t} for type ${$t(e)} is not compiled yet!`);return n.apply(this,arguments)};return r.setDelegate=e=>{n=e,r.prototype=e.prototype},r.overriddenName=t,r}getGeneratedClass(e,t){return e instanceof fn?this._staticSymbolCache.get(id(e.filePath),t):this._createProxyClass(e,t)}getComponentViewClass(e){return this.getGeneratedClass(e,_n(e,0))}getHostComponentViewClass(e){return this.getGeneratedClass(e,"HostView_"+yn({reference:e}))}getHostComponentType(e){const t=yn({reference:e})+"_Host";return e instanceof fn?this._staticSymbolCache.get(e.filePath,t):this._createProxyClass(e,t)}getRendererType(e){return e instanceof fn?this._staticSymbolCache.get(id(e.filePath),wn(e)):{}}getComponentFactory(e,t,n,r){if(t instanceof fn)return this._staticSymbolCache.get(id(t.filePath),Sn(t));{const i=this.getHostComponentViewClass(t);return this._reflector.resolveExternalReference(un.createComponentFactory)(e,t,i,n,r,[])}}initComponentFactory(e,t){e instanceof fn||e.ngContentSelectors.push(...t)}_loadSummary(e,t){let n=this._summaryCache.get(e);if(!n){const t=this._summaryResolver.resolveSummary(e);n=t?t.type:null,this._summaryCache.set(e,n||null)}return n&&n.summaryKind===t?n:null}getHostComponentMetadata(e,t){const n=this.getHostComponentType(e.type.reference);t||(t=this.getHostComponentViewClass(n));const r=v.parse(e.selector)[0].getMatchingElementTemplate(),i=this._htmlParser.parse(r,"");return En.create({isHost:!0,type:{reference:n,diDeps:[],lifecycleHooks:[]},template:new Mn({encapsulation:T.None,template:r,templateUrl:"",htmlAst:i,styles:[],styleUrls:[],ngContentSelectors:[],animations:[],isInline:!0,externalStylesheets:[],interpolation:null,preserveWhitespaces:!1}),exportAs:null,changeDetection:j.Default,inputs:[],outputs:[],host:{},isComponent:!0,selector:"*",providers:[],viewProviders:[],queries:[],guards:{},viewQueries:[],componentViewType:t,rendererType:{id:"__Host__",encapsulation:T.None,styles:[],data:{}},entryComponents:[],componentFactory:null})}loadDirectiveMetadata(e,t,n){if(this._directiveCache.has(t))return null;t=Gt(t);const{annotation:r,metadata:i}=this.getNonNormalizedDirectiveMetadata(t),s=e=>{const n=new En({isHost:!1,type:i.type,isComponent:i.isComponent,selector:i.selector,exportAs:i.exportAs,changeDetection:i.changeDetection,inputs:i.inputs,outputs:i.outputs,hostListeners:i.hostListeners,hostProperties:i.hostProperties,hostAttributes:i.hostAttributes,providers:i.providers,viewProviders:i.viewProviders,queries:i.queries,guards:i.guards,viewQueries:i.viewQueries,entryComponents:i.entryComponents,componentViewType:i.componentViewType,rendererType:i.rendererType,componentFactory:i.componentFactory,template:e});return e&&this.initComponentFactory(i.componentFactory,e.ngContentSelectors),this._directiveCache.set(t,n),this._summaryCache.set(t,n.toSummary()),null};if(i.isComponent){const o=i.template,a=this._directiveNormalizer.normalizeTemplate({ngModuleType:e,componentType:t,moduleUrl:this._reflector.componentModuleUrl(t,r),encapsulation:o.encapsulation,template:o.template,templateUrl:o.templateUrl,styles:o.styles,styleUrls:o.styleUrls,animations:o.animations,interpolation:o.interpolation,preserveWhitespaces:o.preserveWhitespaces});return Xt(a)&&n?(this._reportError(function(e){const t=Error(`Can't compile synchronously as ${$t(e)} is still being loaded!`);return t.ngComponentType=e,t}(t),t),null):Ht(a,s)}return s(null),null}getNonNormalizedDirectiveMetadata(e){if(!(e=Gt(e)))return null;let t=this._nonNormalizedDirectiveCache.get(e);if(t)return t;const n=this._directiveResolver.resolve(e,!1);if(!n)return null;let r=void 0;if(D.isTypeOf(n)){const e=n;Ai("styles",e.styles),Ai("styleUrls",e.styleUrls),zi("interpolation",e.interpolation);const t=e.animations;r=new Mn({encapsulation:It(e.encapsulation),template:It(e.template),templateUrl:It(e.templateUrl),htmlAst:null,styles:e.styles||[],styleUrls:e.styleUrls||[],animations:t||[],interpolation:It(e.interpolation),isInline:!!e.template,externalStylesheets:[],ngContentSelectors:[],preserveWhitespaces:It(n.preserveWhitespaces)})}let i=null,s=[],o=[],a=n.selector;if(D.isTypeOf(n)){const t=n;i=t.changeDetection,t.viewProviders&&(s=this._getProvidersMetadata(t.viewProviders,o,`viewProviders for "${md(e)}"`,[],e)),t.entryComponents&&(o=dd(t.entryComponents).map(e=>this._getEntryComponentMetadata(e)).concat(o)),a||(a=this._schemaRegistry.getDefaultComponentElementName())}else a||(a=null);let c=[];null!=n.providers&&(c=this._getProvidersMetadata(n.providers,o,`providers for "${md(e)}"`,[],e));let l=[],u=[];null!=n.queries&&(l=this._getQueriesMetadata(n.queries,!1,e),u=this._getQueriesMetadata(n.queries,!0,e));const h=En.create({isHost:!1,selector:a,exportAs:It(n.exportAs),isComponent:!!r,type:this._getTypeMetadata(e),template:r,changeDetection:i,inputs:n.inputs||[],outputs:n.outputs||[],host:n.host||{},providers:c||[],viewProviders:s||[],queries:l||[],guards:n.guards||{},viewQueries:u||[],entryComponents:o,componentViewType:r?this.getComponentViewClass(e):null,rendererType:r?this.getRendererType(e):null,componentFactory:null});return r&&(h.componentFactory=this.getComponentFactory(a,e,h.inputs,h.outputs)),t={metadata:h,annotation:n},this._nonNormalizedDirectiveCache.set(e,t),t}getDirectiveMetadata(e){const t=this._directiveCache.get(e);return t||this._reportError(Bt(`Illegal state: getDirectiveMetadata can only be called after loadNgModuleDirectiveAndPipeMetadata for a module that declares it. Directive ${md(e)}.`),e),t}getDirectiveSummary(e){const t=this._loadSummary(e,xn.Directive);return t||this._reportError(Bt(`Illegal state: Could not load the summary for directive ${md(e)}.`),e),t}isDirective(e){return!!this._loadSummary(e,xn.Directive)||this._directiveResolver.isDirective(e)}isAbstractDirective(e){const t=this._loadSummary(e,xn.Directive);if(t&&!t.isComponent)return!t.selector;const n=this._directiveResolver.resolve(e,!1);return!(!n||D.isTypeOf(n))&&!n.selector}isPipe(e){return!!this._loadSummary(e,xn.Pipe)||this._pipeResolver.isPipe(e)}isNgModule(e){return!!this._loadSummary(e,xn.NgModule)||this._ngModuleResolver.isNgModule(e)}getNgModuleSummary(e,t=null){let n=this._loadSummary(e,xn.NgModule);if(!n){const r=this.getNgModuleMetadata(e,!1,t);n=r?r.toSummary():null,n&&this._summaryCache.set(e,n)}return n}loadNgModuleDirectiveAndPipeMetadata(e,t,n=!0){const r=this.getNgModuleMetadata(e,n),i=[];return r&&(r.declaredDirectives.forEach(n=>{const r=this.loadDirectiveMetadata(e,n.reference,t);r&&i.push(r)}),r.declaredPipes.forEach(e=>this._loadPipeMetadata(e.reference))),Promise.all(i)}getShallowModuleMetadata(e){let t=this._shallowModuleCache.get(e);if(t)return t;const n=bh(this._reflector.shallowAnnotations(e),R.isTypeOf);return t={type:this._getTypeMetadata(e),rawExports:n.exports,rawImports:n.imports,rawProviders:n.providers},this._shallowModuleCache.set(e,t),t}getNgModuleMetadata(e,t=!0,n=null){e=Gt(e);let r=this._ngModuleCache.get(e);if(r)return r;const i=this._ngModuleResolver.resolve(e,t);if(!i)return null;const s=[],o=[],a=[],c=[],l=[],u=[],h=[],d=[],f=[];i.imports&&dd(i.imports).forEach(t=>{let r=void 0;if(fd(t))r=t;else if(t&&t.ngModule){const e=t;r=e.ngModule,e.providers&&u.push(...this._getProvidersMetadata(e.providers,h,`provider for the NgModule '${md(r)}'`,[],t))}if(r){if(this._checkSelfImport(e,r))return;if(n||(n=new Set),n.has(r))return void this._reportError(Bt(`${this._getTypeDescriptor(r)} '${md(t)}' is imported recursively by the module '${md(e)}'.`),e);n.add(r);const i=this.getNgModuleSummary(r,n);if(n.delete(r),!i)return void this._reportError(Bt(`Unexpected ${this._getTypeDescriptor(t)} '${md(t)}' imported by the module '${md(e)}'. Please add a @NgModule annotation.`),e);c.push(i)}else this._reportError(Bt(`Unexpected value '${md(t)}' imported by the module '${md(e)}'`),e)}),i.exports&&dd(i.exports).forEach(t=>{if(!fd(t))return void this._reportError(Bt(`Unexpected value '${md(t)}' exported by the module '${md(e)}'`),e);if(n||(n=new Set),n.has(t))return void this._reportError(Bt(`${this._getTypeDescriptor(t)} '${$t(t)}' is exported recursively by the module '${md(e)}'`),e);n.add(t);const r=this.getNgModuleSummary(t,n);n.delete(t),r?l.push(r):o.push(this._getIdentifierMetadata(t))});const p=this._getTransitiveNgModuleMetadata(c,l);i.declarations&&dd(i.declarations).forEach(t=>{if(!fd(t))return void this._reportError(Bt(`Unexpected value '${md(t)}' declared by the module '${md(e)}'`),e);const n=this._getIdentifierMetadata(t);if(this.isDirective(t))this.isAbstractDirective(t)&&this._reportError(Bt(`Directive ${md(t)} has no selector, please add it!`),t),p.addDirective(n),s.push(n),this._addTypeToModule(t,e);else{if(!this.isPipe(t))return void this._reportError(Bt(`Unexpected ${this._getTypeDescriptor(t)} '${md(t)}' declared by the module '${md(e)}'. Please add a @Pipe/@Directive/@Component annotation.`),e);p.addPipe(n),p.pipes.push(n),a.push(n),this._addTypeToModule(t,e)}});const m=[],g=[];return o.forEach(t=>{if(p.directivesSet.has(t.reference))m.push(t),p.addExportedDirective(t);else{if(!p.pipesSet.has(t.reference))return void this._reportError(Bt(`Can't export ${this._getTypeDescriptor(t.reference)} ${md(t.reference)} from ${md(e)} as it was neither declared nor imported!`),e);g.push(t),p.addExportedPipe(t)}}),i.providers&&u.push(...this._getProvidersMetadata(i.providers,h,`provider for the NgModule '${md(e)}'`,[],e)),i.entryComponents&&h.push(...dd(i.entryComponents).map(e=>this._getEntryComponentMetadata(e))),i.bootstrap&&dd(i.bootstrap).forEach(t=>{fd(t)?d.push(this._getIdentifierMetadata(t)):this._reportError(Bt(`Unexpected value '${md(t)}' used in the bootstrap property of module '${md(e)}'`),e)}),h.push(...d.map(e=>this._getEntryComponentMetadata(e.reference))),i.schemas&&f.push(...dd(i.schemas)),r=new jn({type:this._getTypeMetadata(e),providers:u,entryComponents:h,bootstrapComponents:d,schemas:f,declaredDirectives:s,exportedDirectives:m,declaredPipes:a,exportedPipes:g,importedModules:c,exportedModules:l,transitiveModule:p,id:i.id||null}),h.forEach(e=>p.addEntryComponent(e)),u.forEach(e=>p.addProvider(e,r.type)),p.addModule(r.type),this._ngModuleCache.set(e,r),r}_checkSelfImport(e,t){return e===t&&(this._reportError(Bt(`'${md(e)}' module can't import itself`),e),!0)}_getTypeDescriptor(e){if(fd(e)){if(this.isDirective(e))return"directive";if(this.isPipe(e))return"pipe";if(this.isNgModule(e))return"module"}return e.provide?"provider":"value"}_addTypeToModule(e,t){const n=this._ngModuleOfTypes.get(e);n&&n!==t?this._reportError(Bt(`Type ${md(e)} is part of the declarations of 2 modules: ${md(n)} and ${md(t)}! Please consider moving ${md(e)} to a higher module that imports ${md(n)} and ${md(t)}. You can also create a new NgModule that exports and includes ${md(e)} then import that NgModule in ${md(n)} and ${md(t)}.`),t):this._ngModuleOfTypes.set(e,t)}_getTransitiveNgModuleMetadata(e,t){const n=new Dn,r=new Map;return e.concat(t).forEach(e=>{e.modules.forEach(e=>n.addModule(e)),e.entryComponents.forEach(e=>n.addEntryComponent(e));const t=new Set;e.providers.forEach(e=>{const i=kn(e.provider.token);let s=r.get(i);s||(s=new Set,r.set(i,s));const o=e.module.reference;!t.has(i)&&s.has(o)||(s.add(o),t.add(i),n.addProvider(e.provider,e.module))})}),t.forEach(e=>{e.exportedDirectives.forEach(e=>n.addExportedDirective(e)),e.exportedPipes.forEach(e=>n.addExportedPipe(e))}),e.forEach(e=>{e.exportedDirectives.forEach(e=>n.addDirective(e)),e.exportedPipes.forEach(e=>n.addPipe(e))}),n}_getIdentifierMetadata(e){return{reference:e=Gt(e)}}isInjectable(e){return this._reflector.tryAnnotations(e).some(e=>N.isTypeOf(e))}getInjectableSummary(e){return{summaryKind:xn.Injectable,type:this._getTypeMetadata(e,null,!1)}}getInjectableMetadata(e,t=null,n=!0){const r=this._loadSummary(e,xn.Injectable),i=r?r.type:this._getTypeMetadata(e,t,n),s=this._reflector.annotations(e).filter(e=>N.isTypeOf(e));if(0===s.length)return null;const o=s[s.length-1];return{symbol:e,type:i,providedIn:o.providedIn,useValue:o.useValue,useClass:o.useClass,useExisting:o.useExisting,useFactory:o.useFactory,deps:o.deps}}_getTypeMetadata(e,t=null,n=!0){const r=this._getIdentifierMetadata(e);return{reference:r.reference,diDeps:this._getDependenciesMetadata(r.reference,t,n),lifecycleHooks:(i=this._reflector,s=r.reference,cd.filter(e=>ld(i,e,s)))};var i,s}_getFactoryMetadata(e,t=null){return{reference:e=Gt(e),diDeps:this._getDependenciesMetadata(e,t)}}getPipeMetadata(e){const t=this._pipeCache.get(e);return t||this._reportError(Bt(`Illegal state: getPipeMetadata can only be called after loadNgModuleDirectiveAndPipeMetadata for a module that declares it. Pipe ${md(e)}.`),e),t||null}getPipeSummary(e){const t=this._loadSummary(e,xn.Pipe);return t||this._reportError(Bt(`Illegal state: Could not load the summary for pipe ${md(e)}.`),e),t}getOrLoadPipeMetadata(e){let t=this._pipeCache.get(e);return t||(t=this._loadPipeMetadata(e)),t}_loadPipeMetadata(e){e=Gt(e);const t=this._pipeResolver.resolve(e),n=new Tn({type:this._getTypeMetadata(e),name:t.name,pure:!!t.pure});return this._pipeCache.set(e,n),this._summaryCache.set(e,n.toSummary()),n}_getDependenciesMetadata(e,t,n=!0){let r=!1;const i=(t||this._reflector.parameters(e)||[]).map(e=>{let t=!1,n=!1,i=!1,s=!1,o=!1,a=null;return Array.isArray(e)?e.forEach(e=>{U.isTypeOf(e)?n=!0:B.isTypeOf(e)?i=!0:Y.isTypeOf(e)?s=!0:V.isTypeOf(e)?o=!0:x.isTypeOf(e)?(t=!0,a=e.attributeName):w.isTypeOf(e)?a=e.token:(S.isTypeOf(e)||e instanceof fn||fd(e)&&null==a)&&(a=e)}):a=e,null==a?(r=!0,{}):{isAttribute:t,isHost:n,isSelf:i,isSkipSelf:s,isOptional:o,token:this._getTokenMetadata(a)}});if(r){const t=i.map(e=>e.token?md(e.token):"?").join(", "),r=`Can't resolve all parameters for ${md(e)}: (${t}).`;(n||this._config.strictInjectionParameters)&&this._reportError(Bt(r),e)}return i}_getTokenMetadata(e){let t;return t="string"==typeof(e=Gt(e))?{value:e}:{identifier:{reference:e}},t}_getProvidersMetadata(e,t,n,r=[],i){return e.forEach((s,o)=>{if(Array.isArray(s))this._getProvidersMetadata(s,t,n,r);else{let a=void 0;if((s=Gt(s))&&"object"==typeof s&&s.hasOwnProperty("provide"))this._validateProvider(s),a=new Ln(s.provide,s);else{if(!fd(s)){if(void 0===s)return void this._reportError(Bt("Encountered undefined provider! Usually this means you have a circular dependencies. This might be caused by using 'barrel' index.ts files."));{const t=e.reduce((e,t,n)=>(n<o?e.push(""+md(t)):n==o?e.push(`?${md(t)}?`):n==o+1&&e.push("..."),e),[]).join(", ");return void this._reportError(Bt(`Invalid ${n||"provider"} - only instances of Provider and Type are allowed, got: [${t}]`),i)}}a=new Ln(s,{useClass:s})}a.token===this._reflector.resolveExternalReference(un.ANALYZE_FOR_ENTRY_COMPONENTS)?t.push(...this._getEntryComponentsFromProvider(a,i)):r.push(this.getProviderMetadata(a))}}),r}_validateProvider(e){e.hasOwnProperty("useClass")&&null==e.useClass&&this._reportError(Bt(`Invalid provider for ${md(e.provide)}. useClass cannot be ${e.useClass}.\n           Usually it happens when:\n           1. There's a circular dependency (might be caused by using index.ts (barrel) files).\n           2. Class was used before it was declared. Use forwardRef in this case.`))}_getEntryComponentsFromProvider(e,t){const n=[],r=[];return e.useFactory||e.useExisting||e.useClass?(this._reportError(Bt("The ANALYZE_FOR_ENTRY_COMPONENTS token only supports useValue!"),t),[]):e.multi?(i=e.useValue,s=r,zt(i,new pd,s),r.forEach(e=>{const t=this._getEntryComponentMetadata(e.reference,!1);t&&n.push(t)}),n):(this._reportError(Bt("The ANALYZE_FOR_ENTRY_COMPONENTS token only supports 'multi = true'!"),t),[]);var i,s}_getEntryComponentMetadata(e,t=!0){const n=this.getNonNormalizedDirectiveMetadata(e);if(n&&n.metadata.isComponent)return{componentType:e,componentFactory:n.metadata.componentFactory};const r=this._loadSummary(e,xn.Directive);if(r&&r.isComponent)return{componentType:e,componentFactory:r.componentFactory};if(t)throw Bt(e.name+" cannot be used as an entry component.");return null}_getInjectableTypeMetadata(e,t=null){const n=this._loadSummary(e,xn.Injectable);return n?n.type:this._getTypeMetadata(e,t)}getProviderMetadata(e){let t=void 0,n=null,r=null,i=this._getTokenMetadata(e.token);return e.useClass?(n=this._getInjectableTypeMetadata(e.useClass,e.dependencies),t=n.diDeps,e.token===e.useClass&&(i={identifier:n})):e.useFactory&&(r=this._getFactoryMetadata(e.useFactory,e.dependencies),t=r.diDeps),{token:i,useClass:n,useValue:e.useValue,useFactory:r,useExisting:e.useExisting?this._getTokenMetadata(e.useExisting):void 0,deps:t,multi:e.multi}}_getQueriesMetadata(e,t,n){const r=[];return Object.keys(e).forEach(i=>{const s=e[i];s.isViewQuery===t&&r.push(this._getQueryMetadata(s,i,n))}),r}_queryVarBindings(e){return e.split(/\s*,\s*/)}_getQueryMetadata(e,t,n){let r;return"string"==typeof e.selector?r=this._queryVarBindings(e.selector).map(e=>this._getTokenMetadata(e)):e.selector?r=[this._getTokenMetadata(e.selector)]:(this._reportError(Bt(`Can't construct a query for the property "${t}" of "${md(n)}" since the query selector wasn't defined.`),n),r=[]),{selectors:r,first:e.first,descendants:e.descendants,propertyName:t,read:e.read?this._getTokenMetadata(e.read):null,static:e.static}}_reportError(e,t,n){if(!this._errorCollector)throw e;this._errorCollector(e,t),n&&this._errorCollector(e,n)}}function hd(e,t=[]){if(e)for(let n=0;n<e.length;n++){const r=Gt(e[n]);Array.isArray(r)?hd(r,t):t.push(r)}return t}function dd(e){return(t=hd(e))?Array.from(new Set(t)):[];var t}function fd(e){return e instanceof fn||e instanceof W}class pd extends Rt{visitOther(e,t){t.push({reference:e})}}function md(e){return e instanceof fn?`${e.name} in ${e.filePath}`:$t(e)}function gd(e,t){let n=0;t.eager||(n|=4096),t.providerType===gc.PrivateService&&(n|=8192),t.isModule&&(n|=1073741824),t.lifecycleHooks.forEach(e=>{e!==ad.OnDestroy&&t.providerType!==gc.Directive&&t.providerType!==gc.Component||(n|=_d(e))});const{providerExpr:r,flags:i,depsExpr:s}=t.multiProvider?function(e,t,n){const r=[],i=[],s=n.map((t,n)=>{let r;if(t.useClass){const i=o(n,t.deps||t.useClass.diDeps);r=e.importExpr(t.useClass.reference).instantiate(i)}else if(t.useFactory){const i=o(n,t.deps||t.useFactory.diDeps);r=e.importExpr(t.useFactory.reference).callFn(i)}else if(t.useExisting){r=o(n,[{token:t.useExisting}])[0]}else r=nd(e,t.useValue);return r});return{providerExpr:Ct(i,[new st(Ot(s))],se),flags:1024|t,depsExpr:Ot(r)};function o(t,n){return n.map((n,s)=>{const o=`p${t}_${s}`;return i.push(new Fe(o,ie)),r.push(bd(e,n)),bt(o)})}}(e,n,t.providers):vd(e,n,t.providerType,t.providers[0]);return{providerExpr:r,flags:i,depsExpr:s,tokenExpr:yd(e,t.token)}}function vd(e,t,n,r){let i,s;n===gc.Directive||n===gc.Component?(i=e.importExpr(r.useClass.reference),t|=16384,s=r.deps||r.useClass.diDeps):r.useClass?(i=e.importExpr(r.useClass.reference),t|=512,s=r.deps||r.useClass.diDeps):r.useFactory?(i=e.importExpr(r.useFactory.reference),t|=1024,s=r.deps||r.useFactory.diDeps):r.useExisting?(i=Ke,t|=2048,s=[{token:r.useExisting}]):(i=nd(e,r.useValue),t|=256,s=[]);return{providerExpr:i,flags:t,depsExpr:Ot(s.map(t=>bd(e,t)))}}function yd(e,t){return t.identifier?e.importExpr(t.identifier.reference):Et(t.value)}function bd(e,t){const n=t.isValue?nd(e,t.value):yd(e,t.token);let r=0;return t.isSkipSelf&&(r|=1),t.isOptional&&(r|=2),t.isSelf&&(r|=4),t.isValue&&(r|=8),0===r?n:Ot([Et(r),n])}function _d(e){let t=0;switch(e){case ad.AfterContentChecked:t=2097152;break;case ad.AfterContentInit:t=1048576;break;case ad.AfterViewChecked:t=8388608;break;case ad.AfterViewInit:t=4194304;break;case ad.DoCheck:t=262144;break;case ad.OnChanges:t=524288;break;case ad.OnDestroy:t=131072;break;case ad.OnInit:t=65536}return t}function wd(e,t,n,r){const i=r.map(e=>t.importExpr(e.componentFactory)),s=dn(e,un.ComponentFactoryResolver),o={diDeps:[{isValue:!0,value:Ot(i)},{token:s,isSkipSelf:!0,isOptional:!0},{token:dn(e,un.NgModuleRef)}],lifecycleHooks:[],reference:e.resolveExternalReference(un.CodegenComponentFactoryResolver)},{providerExpr:a,flags:c,depsExpr:l}=vd(t,n,gc.PrivateService,{token:s,multi:!1,useClass:o});return{providerExpr:a,flags:c,depsExpr:l,tokenExpr:yd(t,s)}}class Sd{constructor(e){this.ngModuleFactoryVar=e}}const xd=bt("_l");class Od{constructor(e){this.reflector=e}compile(e,t,n){const r=function(e,t){const n=bn(t),r=null!=n?`in ${e} ${yn(t)} in ${n}`:`in ${e} ${yn(t)}`,i=new ys("",r);return new bs(new vs(i,-1,-1,-1),new vs(i,-1,-1,-1))}("NgModule",t.type),i=t.transitiveModule.entryComponents,s=t.bootstrapComponents,o=new Sc(this.reflector,t,n,r),a=[wd(this.reflector,e,0,i)].concat(o.parse().map(t=>gd(e,t))).map(({providerExpr:e,depsExpr:t,flags:n,tokenExpr:r})=>_t(un.moduleProviderDef).callFn([Et(n),r,e,t])),c=_t(un.moduleDef).callFn([Ot(a)]),l=Ct([new Fe(xd.name)],[new st(c)],se),u=yn(t.type)+"NgFactory";if(this._createNgModuleFactory(e,t.type.reference,_t(un.createModuleFactory).callFn([e.importExpr(t.type.reference),Ot(s.map(t=>e.importExpr(t.reference))),l])),t.id){const n="string"==typeof t.id?Et(t.id):e.importExpr(t.id),r=_t(un.RegisterModuleFactoryFn).callFn([n,bt(u)]).toStmt();e.statements.push(r)}return new Sd(u)}createStub(e,t){this._createNgModuleFactory(e,t,Ke)}_createNgModuleFactory(e,t,n){const r=bt(yn({reference:t})+"NgFactory").set(n).toDeclStmt(wt(un.NgModuleFactory,[St(e.importExpr(t))],[J.Const]),[Qe.Final,Qe.Exported]);e.statements.push(r)}}class kd{constructor(e){this._reflector=e}isNgModule(e){return this._reflector.annotations(e).some(R.isTypeOf)}resolve(e,t=!0){const n=bh(this._reflector.annotations(e),R.isTypeOf);if(n)return n;if(t)throw new Error(`No NgModule metadata found for '${$t(e)}'.`);return null}}class Cd extends $i{constructor(e,t){super(!1),this.referenceFilter=e,this.importFilter=t,this.typeExpression=0,this.importsWithPrefixes=new Map,this.reexports=new Map}visitType(e,t,n="any"){e?(this.typeExpression++,e.visitType(this,t),this.typeExpression--):t.print(null,n)}visitLiteralExpr(e,t){const n=e.value;return null==n&&e.type!=se?(t.print(e,`(${n} as any)`),null):super.visitLiteralExpr(e,t)}visitLiteralArrayExpr(e,t){0===e.entries.length&&t.print(e,"(");const n=super.visitLiteralArrayExpr(e,t);return 0===e.entries.length&&t.print(e," as any[])"),n}visitExternalExpr(e,t){return this._visitIdentifier(e.value,e.typeParams,t),null}visitAssertNotNullExpr(e,t){const n=super.visitAssertNotNullExpr(e,t);return t.print(e,"!"),n}visitDeclareVarStmt(e,t){if(e.hasModifier(Qe.Exported)&&e.value instanceof Pe&&!e.type){const{name:t,moduleName:n}=e.value.value;if(n){let r=this.reexports.get(n);return r||(r=[],this.reexports.set(n,r)),r.push({name:t,as:e.name}),null}}return e.hasModifier(Qe.Exported)&&t.print(e,"export "),e.hasModifier(Qe.Final)?t.print(e,"const"):t.print(e,"var"),t.print(e," "+e.name),this._printColonType(e.type,t),e.value&&(t.print(e," = "),e.value.visitExpression(this,t)),t.println(e,";"),null}visitWrappedNodeExpr(e,t){throw new Error("Cannot visit a WrappedNodeExpr when outputting Typescript.")}visitCastExpr(e,t){return t.print(e,"(<"),e.type.visitType(this,t),t.print(e,">"),e.value.visitExpression(this,t),t.print(e,")"),null}visitInstantiateExpr(e,t){return t.print(e,"new "),this.typeExpression++,e.classExpr.visitExpression(this,t),this.typeExpression--,t.print(e,"("),this.visitAllExpressions(e.args,t,","),t.print(e,")"),null}visitDeclareClassStmt(e,t){return t.pushClass(e),e.hasModifier(Qe.Exported)&&t.print(e,"export "),t.print(e,"class "+e.name),null!=e.parent&&(t.print(e," extends "),this.typeExpression++,e.parent.visitExpression(this,t),this.typeExpression--),t.println(e," {"),t.incIndent(),e.fields.forEach(e=>this._visitClassField(e,t)),null!=e.constructorMethod&&this._visitClassConstructor(e,t),e.getters.forEach(e=>this._visitClassGetter(e,t)),e.methods.forEach(e=>this._visitClassMethod(e,t)),t.decIndent(),t.println(e,"}"),t.popClass(),null}_visitClassField(e,t){e.hasModifier(Qe.Private)&&t.print(null,"/*private*/ "),e.hasModifier(Qe.Static)&&t.print(null,"static "),t.print(null,e.name),this._printColonType(e.type,t),e.initializer&&(t.print(null," = "),e.initializer.visitExpression(this,t)),t.println(null,";")}_visitClassGetter(e,t){e.hasModifier(Qe.Private)&&t.print(null,"private "),t.print(null,`get ${e.name}()`),this._printColonType(e.type,t),t.println(null," {"),t.incIndent(),this.visitAllStatements(e.body,t),t.decIndent(),t.println(null,"}")}_visitClassConstructor(e,t){t.print(e,"constructor("),this._visitParams(e.constructorMethod.params,t),t.println(e,") {"),t.incIndent(),this.visitAllStatements(e.constructorMethod.body,t),t.decIndent(),t.println(e,"}")}_visitClassMethod(e,t){e.hasModifier(Qe.Private)&&t.print(null,"private "),t.print(null,e.name+"("),this._visitParams(e.params,t),t.print(null,")"),this._printColonType(e.type,t,"void"),t.println(null," {"),t.incIndent(),this.visitAllStatements(e.body,t),t.decIndent(),t.println(null,"}")}visitFunctionExpr(e,t){return e.name&&(t.print(e,"function "),t.print(e,e.name)),t.print(e,"("),this._visitParams(e.params,t),t.print(e,")"),this._printColonType(e.type,t,"void"),e.name||t.print(e," => "),t.println(e,"{"),t.incIndent(),this.visitAllStatements(e.statements,t),t.decIndent(),t.print(e,"}"),null}visitDeclareFunctionStmt(e,t){return e.hasModifier(Qe.Exported)&&t.print(e,"export "),t.print(e,`function ${e.name}(`),this._visitParams(e.params,t),t.print(e,")"),this._printColonType(e.type,t,"void"),t.println(e," {"),t.incIndent(),this.visitAllStatements(e.statements,t),t.decIndent(),t.println(e,"}"),null}visitTryCatchStmt(e,t){t.println(e,"try {"),t.incIndent(),this.visitAllStatements(e.bodyStmts,t),t.decIndent(),t.println(e,`} catch (${Yi.name}) {`),t.incIndent();const n=[Ui.set(Yi.prop("stack",null)).toDeclStmt(null,[Qe.Final])].concat(e.catchStmts);return this.visitAllStatements(n,t),t.decIndent(),t.println(e,"}"),null}visitBuiltinType(e,t){let n;switch(e.name){case Q.Bool:n="boolean";break;case Q.Dynamic:n="any";break;case Q.Function:n="Function";break;case Q.Number:case Q.Int:n="number";break;case Q.String:n="string";break;case Q.None:n="never";break;default:throw new Error("Unsupported builtin type "+e.name)}return t.print(null,n),null}visitExpressionType(e,t){return e.value.visitExpression(this,t),null!==e.typeParams&&(t.print(null,"<"),this.visitAllObjects(e=>this.visitType(e,t),e.typeParams,t,","),t.print(null,">")),null}visitArrayType(e,t){return this.visitType(e.of,t),t.print(null,"[]"),null}visitMapType(e,t){return t.print(null,"{[key: string]:"),this.visitType(e.valueType,t),t.print(null,"}"),null}getBuiltinMethodName(e){let t;switch(e){case fe.ConcatArray:t="concat";break;case fe.SubscribeObservable:t="subscribe";break;case fe.Bind:t="bind";break;default:throw new Error("Unknown builtin method: "+e)}return t}_visitParams(e,t){this.visitAllObjects(e=>{t.print(null,e.name),this._printColonType(e.type,t)},e,t,",")}_visitIdentifier(e,t,n){const{name:r,moduleName:i}=e;if(this.referenceFilter&&this.referenceFilter(e))n.print(null,"(null as any)");else{if(i&&(!this.importFilter||!this.importFilter(e))){let e=this.importsWithPrefixes.get(i);null==e&&(e="i"+this.importsWithPrefixes.size,this.importsWithPrefixes.set(i,e)),n.print(null,e+".")}if(n.print(null,r),this.typeExpression>0){(t||[]).length>0&&(n.print(null,"<"),this.visitAllObjects(e=>e.visitType(this,n),t,n,","),n.print(null,">"))}}}_printColonType(e,t,n){e!==se&&(t.print(null,":"),this.visitType(e,t,n))}}class Md{constructor(e){this._reflector=e}isPipe(e){const t=this._reflector.annotations(Gt(e));return t&&t.some(A.isTypeOf)}resolve(e,t=!0){const n=this._reflector.annotations(Gt(e));if(n){const e=bh(n,A.isTypeOf);if(e)return e}if(t)throw new Error("No Pipe decorator found on "+$t(e));return null}}const Ed="_any";new class{notifyImplicitReceiverUse(){}getLocal(e){return e===po.event.name?bt(Ed):null}};const Td="class",jd="style";class Dd{constructor(e,t){this.viewClassVar=e,this.rendererTypeVar=t}}class Ad{constructor(e){this._reflector=e}compileComponent(e,t,n,r,i){let s=0,o=void 0;if(!t.isHost){const n=t.template,i=[];n.animations&&n.animations.length&&i.push(new $e("animation",nd(e,n.animations),!0));const s=bt(wn(t.type.reference));o=s.name,e.statements.push(s.set(_t(un.createRendererType2).callFn([new Ge([new $e("encapsulation",Et(n.encapsulation),!1),new $e("styles",r,!1),new $e("data",new Ge(i),!1)])])).toDeclStmt(wt(un.RendererType2),[Qe.Final,Qe.Exported]))}const a=n=>{const r=s++;return new Hd(this._reflector,e,n,t,r,i,a)},c=a(null);return c.visitAll([],n),e.statements.push(...c.build()),new Dd(c.viewName,o)}}const Ld=bt("_l"),zd=bt("_v"),Pd=bt("_ck"),Id=bt("_co"),Rd=bt("en"),Nd=bt("ad");class Hd{constructor(e,t,n,r,i,s,o){this.reflector=e,this.outputCtx=t,this.parent=n,this.component=r,this.embeddedViewIndex=i,this.usedPipes=s,this.viewBuilderFactory=o,this.nodes=[],this.purePipeNodeIndices=Object.create(null),this.refNodeIndices=Object.create(null),this.variables=[],this.children=[],this.compType=this.embeddedViewIndex>0?ie:St(t.importExpr(this.component.type.reference)),this.viewName=_n(this.component.type.reference,this.embeddedViewIndex)}visitAll(e,t){this.variables=e,this.parent||this.usedPipes.forEach(e=>{e.pure&&(this.purePipeNodeIndices[e.name]=this._createPipe(null,e))}),this.parent||this.component.viewQueries.forEach((e,t)=>{const n=t+1,r=e.first?0:1,i=134217728|Wd(e);this.nodes.push(()=>({sourceSpan:null,nodeFlags:i,nodeDef:_t(un.queryDef).callFn([Et(i),Et(n),new Ge([new $e(e.propertyName,Et(r),!1)])])}))}),yc(this,t),this.parent&&(0===t.length||Fd(t))&&this.nodes.push(()=>({sourceSpan:null,nodeFlags:1,nodeDef:_t(un.anchorDef).callFn([Et(0),Ke,Ke,Et(0)])}))}build(e=[]){this.children.forEach(t=>t.build(e));const{updateRendererStmts:t,updateDirectivesStmts:n,nodeDefExprs:r}=this._createNodeExpressions(),i=this._createUpdateFn(t),s=this._createUpdateFn(n);let o=0;this.parent||this.component.changeDetection!==j.OnPush||(o|=2);const a=new rt(this.viewName,[new Fe(Ld.name)],[new st(_t(un.viewDef).callFn([Et(o),Ot(r),s,i]))],wt(un.ViewDefinition),0===this.embeddedViewIndex?[Qe.Exported]:[]);return e.push(a),e}_createUpdateFn(e){let t;if(e.length>0){const n=[];!this.component.isHost&&pt(e).has(Id.name)&&n.push(Id.set(zd.prop("component")).toDeclStmt(this.compType)),t=Ct([new Fe(Pd.name,se),new Fe(zd.name,se)],[...n,...e],se)}else t=Ke;return t}visitNgContent(e,t){this.nodes.push(()=>({sourceSpan:e.sourceSpan,nodeFlags:8,nodeDef:_t(un.ngContentDef).callFn([Et(e.ngContentIndex),Et(e.index)])}))}visitText(e,t){this.nodes.push(()=>({sourceSpan:e.sourceSpan,nodeFlags:2,nodeDef:_t(un.textDef).callFn([Et(-1),Et(e.ngContentIndex),Ot([Et(e.value)])])}))}visitBoundText(e,t){const n=this.nodes.length;this.nodes.push(null);const r=e.value.ast,i=r.expressions.map((t,r)=>this._preprocessUpdateExpression({nodeIndex:n,bindingIndex:r,sourceSpan:e.sourceSpan,context:Id,value:t})),s=n;this.nodes[n]=()=>({sourceSpan:e.sourceSpan,nodeFlags:2,nodeDef:_t(un.textDef).callFn([Et(s),Et(e.ngContentIndex),Ot(r.strings.map(e=>Et(e)))]),updateRenderer:i})}visitEmbeddedTemplate(e,t){const n=this.nodes.length;this.nodes.push(null);const{flags:r,queryMatchesExpr:i,hostEvents:s}=this._visitElementOrTemplate(n,e),o=this.viewBuilderFactory(this);this.children.push(o),o.visitAll(e.variables,e.children);const a=this.nodes.length-n-1;this.nodes[n]=()=>({sourceSpan:e.sourceSpan,nodeFlags:1|r,nodeDef:_t(un.anchorDef).callFn([Et(r),i,Et(e.ngContentIndex),Et(a),this._createElementHandleEventFn(n,s),bt(o.viewName)])})}visitElement(e,t){const n=this.nodes.length;this.nodes.push(null);const r=o(e.name)?null:e.name,{flags:i,usedEvents:s,queryMatchesExpr:a,hostBindings:c,hostEvents:l}=this._visitElementOrTemplate(n,e);let u=[],h=[],d=[];if(r){const t=e.inputs.map(e=>({context:Id,inputAst:e,dirAst:null})).concat(c);t.length&&(h=t.map((e,t)=>this._preprocessUpdateExpression({context:e.context,nodeIndex:n,bindingIndex:t,sourceSpan:e.inputAst.sourceSpan,value:e.inputAst.value})),u=t.map(e=>function(e,t){const n=e.type;switch(n){case 1:return Ot([Et(1),Et(e.name),Et(e.securityContext)]);case 0:return Ot([Et(8),Et(e.name),Et(e.securityContext)]);case 4:return Ot([Et(8|(t&&t.directive.isComponent?32:16)),Et("@"+e.name),Et(e.securityContext)]);case 2:return Ot([Et(2),Et(e.name),Ke]);case 3:return Ot([Et(4),Et(e.name),Et(e.unit)]);default:throw new Error("unexpected "+n)}}(e.inputAst,e.dirAst))),d=s.map(([e,t])=>Ot([Et(e),Et(t)]))}yc(this,e.children);const f=this.nodes.length-n-1,p=e.directives.find(e=>e.directive.isComponent);let m=Ke,g=Ke;p&&(g=this.outputCtx.importExpr(p.directive.componentViewType),m=this.outputCtx.importExpr(p.directive.rendererType));const v=n;this.nodes[n]=()=>({sourceSpan:e.sourceSpan,nodeFlags:1|i,nodeDef:_t(un.elementDef).callFn([Et(v),Et(i),a,Et(e.ngContentIndex),Et(f),Et(r),r?Vd(e):Ke,u.length?Ot(u):Ke,d.length?Ot(d):Ke,this._createElementHandleEventFn(n,l),g,m]),updateRenderer:h})}_visitElementOrTemplate(e,t){let n=0;t.hasViewContainer&&(n|=16777216);const r=new Map;t.outputs.forEach(e=>{const{name:t,target:n}=Ud(e,null);r.set(qd(n,t),[n,t])}),t.directives.forEach(e=>{e.hostEvents.forEach(t=>{const{name:n,target:i}=Ud(t,e);r.set(qd(i,n),[i,n])})});const i=[],s=[];this._visitComponentFactoryResolverProvider(t.directives),t.providers.forEach(e=>{let n=void 0;if(t.directives.forEach(t=>{t.directive.type.reference===kn(e.token)&&(n=t)}),n){const{hostBindings:o,hostEvents:a}=this._visitDirective(e,n,t.references,t.queryMatches,r);i.push(...o),s.push(...a)}else this._visitProvider(e,t.queryMatches)});let o=[];return t.queryMatches.forEach(e=>{let t=void 0;kn(e.value)===this.reflector.resolveExternalReference(un.ElementRef)?t=0:kn(e.value)===this.reflector.resolveExternalReference(un.ViewContainerRef)?t=3:kn(e.value)===this.reflector.resolveExternalReference(un.TemplateRef)&&(t=2),null!=t&&o.push(Ot([Et(e.queryId),Et(t)]))}),t.references.forEach(t=>{let n=void 0;t.value?kn(t.value)===this.reflector.resolveExternalReference(un.TemplateRef)&&(n=2):n=1,null!=n&&(this.refNodeIndices[t.name]=e,o.push(Ot([Et(t.name),Et(n)])))}),t.outputs.forEach(e=>{s.push({context:Id,eventAst:e,dirAst:null})}),{flags:n,usedEvents:Array.from(r.values()),queryMatchesExpr:o.length?Ot(o):Ke,hostBindings:i,hostEvents:s}}_visitDirective(e,t,n,r,i){const s=this.nodes.length;this.nodes.push(null),t.directive.queries.forEach((e,n)=>{const r=t.contentQueryStartId+n,i=67108864|Wd(e),s=e.first?0:1;this.nodes.push(()=>({sourceSpan:t.sourceSpan,nodeFlags:i,nodeDef:_t(un.queryDef).callFn([Et(i),Et(r),new Ge([new $e(e.propertyName,Et(s),!1)])])}))});const o=this.nodes.length-s-1;let{flags:a,queryMatchExprs:c,providerExpr:l,depsExpr:u}=this._visitProviderOrDirective(e,r);n.forEach(t=>{t.value&&kn(t.value)===kn(e.token)&&(this.refNodeIndices[t.name]=s,c.push(Ot([Et(t.name),Et(4)])))}),t.directive.isComponent&&(a|=32768);const h=t.inputs.map((e,t)=>{const n=Ot([Et(t),Et(e.directiveName)]);return new $e(e.directiveName,n,!1)}),d=[],f=t.directive;Object.keys(f.outputs).forEach(e=>{const t=f.outputs[e];i.has(t)&&d.push(new $e(e,Et(t),!1))});let p=[];(t.inputs.length||(327680&a)>0)&&(p=t.inputs.map((e,t)=>this._preprocessUpdateExpression({nodeIndex:s,bindingIndex:t,sourceSpan:e.sourceSpan,context:Id,value:e.value})));const m=_t(un.nodeValue).callFn([zd,Et(s)]),g=t.hostProperties.map(e=>({context:m,dirAst:t,inputAst:e})),v=t.hostEvents.map(e=>({context:m,eventAst:e,dirAst:t})),y=s;return this.nodes[s]=()=>({sourceSpan:t.sourceSpan,nodeFlags:16384|a,nodeDef:_t(un.directiveDef).callFn([Et(y),Et(a),c.length?Ot(c):Ke,Et(o),l,u,h.length?new Ge(h):Ke,d.length?new Ge(d):Ke]),updateDirectives:p,directive:t.directive.type}),{hostBindings:g,hostEvents:v}}_visitProvider(e,t){this._addProviderNode(this._visitProviderOrDirective(e,t))}_visitComponentFactoryResolverProvider(e){const t=e.find(e=>e.directive.isComponent);if(t&&t.directive.entryComponents.length){const{providerExpr:e,depsExpr:n,flags:r,tokenExpr:i}=wd(this.reflector,this.outputCtx,8192,t.directive.entryComponents);this._addProviderNode({providerExpr:e,depsExpr:n,flags:r,tokenExpr:i,queryMatchExprs:[],sourceSpan:t.sourceSpan})}}_addProviderNode(e){this.nodes.push(()=>({sourceSpan:e.sourceSpan,nodeFlags:e.flags,nodeDef:_t(un.providerDef).callFn([Et(e.flags),e.queryMatchExprs.length?Ot(e.queryMatchExprs):Ke,e.tokenExpr,e.providerExpr,e.depsExpr])}))}_visitProviderOrDirective(e,t){let n=[];t.forEach(t=>{kn(t.value)===kn(e.token)&&n.push(Ot([Et(t.queryId),Et(4)]))});const{providerExpr:r,depsExpr:i,flags:s,tokenExpr:o}=gd(this.outputCtx,e);return{flags:0|s,queryMatchExprs:n,providerExpr:r,depsExpr:i,tokenExpr:o,sourceSpan:e.sourceSpan}}getLocal(e){if(e==po.event.name)return po.event;let t=zd;for(let n=this;n;n=n.parent,t=t.prop("parent").cast(ie)){const r=n.refNodeIndices[e];if(null!=r)return _t(un.nodeValue).callFn([t,Et(r)]);const i=n.variables.find(t=>t.name===e);if(i){const e=i.value||"$implicit";return t.prop("context").prop(e)}}return null}notifyImplicitReceiverUse(){}_createLiteralArrayConverter(e,t){if(0===t){const e=_t(un.EMPTY_ARRAY);return()=>e}const n=this.nodes.length;return this.nodes.push(()=>({sourceSpan:e,nodeFlags:32,nodeDef:_t(un.pureArrayDef).callFn([Et(n),Et(t)])})),e=>Bd(n,e)}_createLiteralMapConverter(e,t){if(0===t.length){const e=_t(un.EMPTY_MAP);return()=>e}const n=kt(t.map((e,t)=>Object.assign(Object.assign({},e),{value:Et(t)}))),r=this.nodes.length;return this.nodes.push(()=>({sourceSpan:e,nodeFlags:64,nodeDef:_t(un.pureObjectDef).callFn([Et(r),n])})),e=>Bd(r,e)}_createPipeConverter(e,t,n){const r=this.usedPipes.find(e=>e.name===t);if(r.pure){const r=this.nodes.length;this.nodes.push(()=>({sourceSpan:e.sourceSpan,nodeFlags:128,nodeDef:_t(un.purePipeDef).callFn([Et(r),Et(n)])}));let i=zd,s=this;for(;s.parent;)s=s.parent,i=i.prop("parent").cast(ie);const o=s.purePipeNodeIndices[t],a=_t(un.nodeValue).callFn([i,Et(o)]);return t=>Yd(e.nodeIndex,e.bindingIndex,Bd(r,[a].concat(t)))}{const t=this._createPipe(e.sourceSpan,r),n=_t(un.nodeValue).callFn([zd,Et(t)]);return t=>Yd(e.nodeIndex,e.bindingIndex,n.callMethod("transform",t))}}_createPipe(e,t){const n=this.nodes.length;let r=0;t.type.lifecycleHooks.forEach(e=>{e===ad.OnDestroy&&(r|=_d(e))});const i=t.type.diDeps.map(e=>bd(this.outputCtx,e));return this.nodes.push(()=>({sourceSpan:e,nodeFlags:16,nodeDef:_t(un.pipeDef).callFn([Et(r),this.outputCtx.importExpr(t.type.reference),Ot(i)])})),n}_preprocessUpdateExpression(e){return{nodeIndex:e.nodeIndex,bindingIndex:e.bindingIndex,sourceSpan:e.sourceSpan,context:e.context,value:vo({createLiteralArrayConverter:t=>this._createLiteralArrayConverter(e.sourceSpan,t),createLiteralMapConverter:t=>this._createLiteralMapConverter(e.sourceSpan,t),createPipeConverter:(t,n)=>this._createPipeConverter(e,t,n)},e.value)}}_createNodeExpressions(){const e=this;let t=0;const n=[],r=[],i=this.nodes.map((e,t)=>{const{nodeDef:i,nodeFlags:o,updateDirectives:a,updateRenderer:c,sourceSpan:l}=e();c&&n.push(...s(t,l,c,!1)),a&&r.push(...s(t,l,a,(327680&o)>0));return vt(3&o?new Xe([Ld.callFn([]).callFn([]),i]):i,l)});return{updateRendererStmts:n,updateDirectivesStmts:r,nodeDefExprs:i};function s(n,r,i,s){const o=[],a=i.map(({sourceSpan:n,context:r,value:i})=>{const s=""+t++,a=r===Id?e:null,{stmts:c,currValExpr:l}=bo(a,r,i,s,Ss.General);return o.push(...c.map(e=>gt(e,n))),vt(l,n)});return(i.length||s)&&o.push(gt(Bd(n,a).toStmt(),r)),o}}_createElementHandleEventFn(e,t){const n=[];let r,i=0;if(t.forEach(({context:e,eventAst:t,dirAst:r})=>{const s=""+i++,o=e===Id?this:null,{stmts:a,allowDefault:c}=go(o,e,t.handler,s),l=a;c&&l.push(Nd.set(c.and(Nd)).toStmt());const{target:u,name:h}=Ud(t,r),d=qd(u,h);n.push(gt(new ut(Et(d).identical(Rd),l),t.sourceSpan))}),n.length>0){const e=[Nd.set(Et(!0)).toDeclStmt(oe)];!this.component.isHost&&pt(n).has(Id.name)&&e.push(Id.set(zd.prop("component")).toDeclStmt(this.compType)),r=Ct([new Fe(zd.name,se),new Fe(Rd.name,se),new Fe(po.event.name,se)],[...e,...n,new st(Nd)],se)}else r=Ke;return r}visitDirective(e,t){}visitDirectiveProperty(e,t){}visitReference(e,t){}visitVariable(e,t){}visitEvent(e,t){}visitElementProperty(e,t){}visitAttr(e,t){}}function Fd(e){const t=e[e.length-1];return t instanceof dc?t.hasViewContainer:t instanceof hc?o(t.name)&&t.children.length?Fd(t.children):t.hasViewContainer:t instanceof vc}function Vd(e){const t=Object.create(null);return e.attrs.forEach(e=>{t[e.name]=e.value}),e.directives.forEach(e=>{Object.keys(e.directive.hostAttributes).forEach(n=>{const r=e.directive.hostAttributes[n],i=t[n];var s,o,a;t[n]=null!=i?(o=i,a=r,(s=n)==Td||s==jd?`${o} ${a}`:a):r})}),Ot(Object.keys(t).sort().map(e=>Ot([Et(e),Et(t[e])])))}function Bd(e,t){return t.length>10?Pd.callFn([zd,Et(e),Et(1),Ot(t)]):Pd.callFn([zd,Et(e),Et(0),...t])}function Yd(e,t,n){return _t(un.unwrapValue).callFn([zd,Et(e),Et(t),n])}function Ud(e,t){return e.isAnimation?{name:`@${e.name}.${e.phase}`,target:t&&t.directive.isComponent?"component":null}:e}function Wd(e){let t=0;return e.first&&e.static?t|=268435456:t|=536870912,t}function qd(e,t){return e?`${e}:${t}`:t}const $d="useValue";new Set([$d,"useFactory","data","id","loadChildren"]);class Gd{static build(){const e=new Map;return{define:function(t,n){return e.set(t,n),this},done:function(){return e.size>0?new Xd(e):Gd.empty}}}}Gd.missing={},Gd.empty={resolve:e=>Gd.missing};class Xd extends Gd{constructor(e){super(),this.bindings=e}resolve(e){return this.bindings.has(e)?this.bindings.get(e):Gd.missing}}class Kd{}class Jd{constructor(){this._summaries=new Map}isLibraryFile(){return!1}toSummaryFileName(e){return e}fromSummaryFileName(e){return e}resolveSummary(e){return this._summaries.get(e)||null}getSymbolsOf(){return[]}getImportAs(e){return e}getKnownModuleName(e){return null}addSummary(e){this._summaries.set(e.symbol,e)}}function Qd(e,t,n,r,i){const s=r.createChildWihtLocalVars();for(let a=0;a<e.length;a++)s.vars.set(e[a],t[a]);const o=i.visitAllStatements(n,s);return o?o.value:null}class Zd{constructor(e,t,n,r){this.parent=e,this.instance=t,this.className=n,this.vars=r,this.exports=[]}createChildWihtLocalVars(){return new Zd(this,this.instance,this.className,new Map)}}class ef{constructor(e){this.value=e}}class tf{constructor(e){this.reflector=e}debugAst(e){return function(e){const t=new Cd,n=qi.createRoot();return(Array.isArray(e)?e:[e]).forEach(e=>{if(e instanceof tt)e.visitStatement(t,n);else if(e instanceof ge)e.visitExpression(t,n);else{if(!(e instanceof Z))throw new Error("Don't know how to print debug info for "+e);e.visitType(t,n)}}),n.toSource()}(e)}visitDeclareVarStmt(e,t){const n=e.value?e.value.visitExpression(this,t):void 0;return t.vars.set(e.name,n),e.hasModifier(Qe.Exported)&&t.exports.push(e.name),null}visitWriteVarExpr(e,t){const n=e.value.visitExpression(this,t);let r=t;for(;null!=r;){if(r.vars.has(e.name))return r.vars.set(e.name,n),n;r=r.parent}throw new Error("Not declared variable "+e.name)}visitWrappedNodeExpr(e,t){throw new Error("Cannot interpret a WrappedNodeExpr.")}visitTypeofExpr(e,t){throw new Error("Cannot interpret a TypeofExpr")}visitReadVarExpr(e,t){let n=e.name;if(null!=e.builtin)switch(e.builtin){case de.Super:return Object.getPrototypeOf(t.instance);case de.This:return t.instance;case de.CatchError:n=rf;break;case de.CatchStack:n=sf;break;default:throw new Error("Unknown builtin variable "+e.builtin)}let r=t;for(;null!=r;){if(r.vars.has(n))return r.vars.get(n);r=r.parent}throw new Error("Not declared variable "+n)}visitWriteKeyExpr(e,t){const n=e.receiver.visitExpression(this,t),r=e.index.visitExpression(this,t),i=e.value.visitExpression(this,t);return n[r]=i,i}visitWritePropExpr(e,t){const n=e.receiver.visitExpression(this,t),r=e.value.visitExpression(this,t);return n[e.name]=r,r}visitInvokeMethodExpr(e,t){const n=e.receiver.visitExpression(this,t),r=this.visitAllExpressions(e.args,t);let i;if(null!=e.builtin)switch(e.builtin){case fe.ConcatArray:i=n.concat(...r);break;case fe.SubscribeObservable:i=n.subscribe({next:r[0]});break;case fe.Bind:i=n.bind(...r);break;default:throw new Error("Unknown builtin method "+e.builtin)}else i=n[e.name].apply(n,r);return i}visitInvokeFunctionExpr(e,t){const n=this.visitAllExpressions(e.args,t),r=e.fn;if(r instanceof ve&&r.builtin===de.Super)return t.instance.constructor.prototype.constructor.apply(t.instance,n),null;return e.fn.visitExpression(this,t).apply(null,n)}visitReturnStmt(e,t){return new ef(e.value.visitExpression(this,t))}visitDeclareClassStmt(e,t){const n=function(e,t,n){const r={};e.getters.forEach(i=>{r[i.name]={configurable:!1,get:function(){const r=new Zd(t,this,e.name,t.vars);return Qd([],[],i.body,r,n)}}}),e.methods.forEach(function(i){const s=i.params.map(e=>e.name);r[i.name]={writable:!1,configurable:!1,value:function(...r){const o=new Zd(t,this,e.name,t.vars);return Qd(s,r,i.body,o,n)}}});const i=e.constructorMethod.params.map(e=>e.name),s=function(...r){const s=new Zd(t,this,e.name,t.vars);e.fields.forEach(e=>{this[e.name]=void 0}),Qd(i,r,e.constructorMethod.body,s,n)},o=e.parent?e.parent.visitExpression(n,t):Object;return s.prototype=Object.create(o.prototype,r),s}(e,t,this);return t.vars.set(e.name,n),e.hasModifier(Qe.Exported)&&t.exports.push(e.name),null}visitExpressionStmt(e,t){return e.expr.visitExpression(this,t)}visitIfStmt(e,t){return e.condition.visitExpression(this,t)?this.visitAllStatements(e.trueCase,t):null!=e.falseCase?this.visitAllStatements(e.falseCase,t):null}visitTryCatchStmt(e,t){try{return this.visitAllStatements(e.bodyStmts,t)}catch(n){const r=t.createChildWihtLocalVars();return r.vars.set(rf,n),r.vars.set(sf,n.stack),this.visitAllStatements(e.catchStmts,r)}}visitThrowStmt(e,t){throw e.error.visitExpression(this,t)}visitInstantiateExpr(e,t){const n=this.visitAllExpressions(e.args,t);return new(e.classExpr.visitExpression(this,t))(...n)}visitLiteralExpr(e,t){return e.value}visitLocalizedString(e,t){return null}visitExternalExpr(e,t){return this.reflector.resolveExternalReference(e.value)}visitConditionalExpr(e,t){return e.condition.visitExpression(this,t)?e.trueCase.visitExpression(this,t):null!=e.falseCase?e.falseCase.visitExpression(this,t):null}visitNotExpr(e,t){return!e.condition.visitExpression(this,t)}visitAssertNotNullExpr(e,t){return e.condition.visitExpression(this,t)}visitCastExpr(e,t){return e.value.visitExpression(this,t)}visitFunctionExpr(e,t){return nf(e.params.map(e=>e.name),e.statements,t,this)}visitDeclareFunctionStmt(e,t){const n=e.params.map(e=>e.name);return t.vars.set(e.name,nf(n,e.statements,t,this)),e.hasModifier(Qe.Exported)&&t.exports.push(e.name),null}visitUnaryOperatorExpr(e,t){const n=()=>e.expr.visitExpression(this,t);switch(e.operator){case ue.Plus:return+n();case ue.Minus:return-n();default:throw new Error("Unknown operator "+e.operator)}}visitBinaryOperatorExpr(e,t){const n=()=>e.lhs.visitExpression(this,t),r=()=>e.rhs.visitExpression(this,t);switch(e.operator){case he.Equals:return n()==r();case he.Identical:return n()===r();case he.NotEquals:return n()!=r();case he.NotIdentical:return n()!==r();case he.And:return n()&&r();case he.Or:return n()||r();case he.Plus:return n()+r();case he.Minus:return n()-r();case he.Divide:return n()/r();case he.Multiply:return n()*r();case he.Modulo:return n()%r();case he.Lower:return n()<r();case he.LowerEquals:return n()<=r();case he.Bigger:return n()>r();case he.BiggerEquals:return n()>=r();default:throw new Error("Unknown operator "+e.operator)}}visitReadPropExpr(e,t){let n;return n=e.receiver.visitExpression(this,t)[e.name],n}visitReadKeyExpr(e,t){return e.receiver.visitExpression(this,t)[e.index.visitExpression(this,t)]}visitLiteralArrayExpr(e,t){return this.visitAllExpressions(e.entries,t)}visitLiteralMapExpr(e,t){const n={};return e.entries.forEach(e=>n[e.key]=e.value.visitExpression(this,t)),n}visitCommaExpr(e,t){const n=this.visitAllExpressions(e.parts,t);return n[n.length-1]}visitAllExpressions(e,t){return e.map(e=>e.visitExpression(this,t))}visitAllStatements(e,t){for(let n=0;n<e.length;n++){const r=e[n].visitStatement(this,t);if(r instanceof ef)return r}return null}}function nf(e,t,n,r){return(...i)=>Qd(e,i,t,n,r)}const rf="error",sf="stack";class of{constructor(e,t,n,r,i,s,o,a,c,l,u){this._metadataResolver=e,this._templateParser=t,this._styleCompiler=n,this._viewCompiler=r,this._ngModuleCompiler=i,this._summaryResolver=s,this._reflector=o,this._jitEvaluator=a,this._compilerConfig=c,this._console=l,this.getExtraNgModuleProviders=u,this._compiledTemplateCache=new Map,this._compiledHostTemplateCache=new Map,this._compiledDirectiveWrapperCache=new Map,this._compiledNgModuleCache=new Map,this._sharedStylesheetCount=0,this._addedAotSummaries=new Set}compileModuleSync(e){return Nt(this._compileModuleAndComponents(e,!0))}compileModuleAsync(e){return Promise.resolve(this._compileModuleAndComponents(e,!1))}compileModuleAndAllComponentsSync(e){return Nt(this._compileModuleAndAllComponents(e,!0))}compileModuleAndAllComponentsAsync(e){return Promise.resolve(this._compileModuleAndAllComponents(e,!1))}getComponentFactory(e){return this._metadataResolver.getDirectiveSummary(e).componentFactory}loadAotSummaries(e){this.clearCache(),this._addAotSummaries(e)}_addAotSummaries(e){if(this._addedAotSummaries.has(e))return;this._addedAotSummaries.add(e);const t=e();for(let n=0;n<t.length;n++){const e=t[n];if("function"==typeof e)this._addAotSummaries(e);else{const t=e;this._summaryResolver.addSummary({symbol:t.type.reference,metadata:null,type:t})}}}hasAotSummary(e){return!!this._summaryResolver.resolveSummary(e)}_filterJitIdentifiers(e){return e.map(e=>e.reference).filter(e=>!this.hasAotSummary(e))}_compileModuleAndComponents(e,t){return Ht(this._loadModules(e,t),()=>(this._compileComponents(e,null),this._compileModule(e)))}_compileModuleAndAllComponents(e,t){return Ht(this._loadModules(e,t),()=>{const t=[];return this._compileComponents(e,t),{ngModuleFactory:this._compileModule(e),componentFactories:t}})}_loadModules(e,t){const n=[],r=this._metadataResolver.getNgModuleMetadata(e);return this._filterJitIdentifiers(r.transitiveModule.modules).forEach(e=>{const r=this._metadataResolver.getNgModuleMetadata(e);this._filterJitIdentifiers(r.declaredDirectives).forEach(e=>{const i=this._metadataResolver.loadDirectiveMetadata(r.type.reference,e,t);i&&n.push(i)}),this._filterJitIdentifiers(r.declaredPipes).forEach(e=>this._metadataResolver.getOrLoadPipeMetadata(e))}),Ft(n)}_compileModule(e){let t=this._compiledNgModuleCache.get(e);if(!t){const n=this._metadataResolver.getNgModuleMetadata(e),r=this.getExtraNgModuleProviders(n.type.reference),i=lf(),s=this._ngModuleCompiler.compile(i,n,r);t=this._interpretOrJit(function(e){return Pn(yn(e.type)+"/module.ngfactory.js")}(n),i.statements)[s.ngModuleFactoryVar],this._compiledNgModuleCache.set(n.type.reference,t)}return t}_compileComponents(e,t){const n=this._metadataResolver.getNgModuleMetadata(e),r=new Map,i=new Set,s=this._filterJitIdentifiers(n.transitiveModule.modules);s.forEach(e=>{const n=this._metadataResolver.getNgModuleMetadata(e);this._filterJitIdentifiers(n.declaredDirectives).forEach(e=>{r.set(e,n);const s=this._metadataResolver.getDirectiveMetadata(e);if(s.isComponent&&(i.add(this._createCompiledTemplate(s,n)),t)){const e=this._createCompiledHostTemplate(s.type.reference,n);i.add(e),t.push(s.componentFactory)}})}),s.forEach(e=>{const t=this._metadataResolver.getNgModuleMetadata(e);this._filterJitIdentifiers(t.declaredDirectives).forEach(e=>{const t=this._metadataResolver.getDirectiveMetadata(e);t.isComponent&&t.entryComponents.forEach(e=>{const t=r.get(e.componentType);i.add(this._createCompiledHostTemplate(e.componentType,t))})}),t.entryComponents.forEach(e=>{if(!this.hasAotSummary(e.componentType)){const t=r.get(e.componentType);i.add(this._createCompiledHostTemplate(e.componentType,t))}})}),i.forEach(e=>this._compileTemplate(e))}clearCacheFor(e){this._compiledNgModuleCache.delete(e),this._metadataResolver.clearCacheFor(e),this._compiledHostTemplateCache.delete(e);this._compiledTemplateCache.get(e)&&this._compiledTemplateCache.delete(e)}clearCache(){this._metadataResolver.clearCache(),this._compiledTemplateCache.clear(),this._compiledHostTemplateCache.clear(),this._compiledNgModuleCache.clear()}_createCompiledHostTemplate(e,t){if(!t)throw new Error(`Component ${$t(e)} is not part of any NgModule or the module has not been imported into your module.`);let n=this._compiledHostTemplateCache.get(e);if(!n){const r=this._metadataResolver.getDirectiveMetadata(e);cf(r);const i=this._metadataResolver.getHostComponentMetadata(r,r.componentFactory.viewDefFactory);n=new af(!0,r.type,i,t,[r.type]),this._compiledHostTemplateCache.set(e,n)}return n}_createCompiledTemplate(e,t){let n=this._compiledTemplateCache.get(e.type.reference);return n||(cf(e),n=new af(!1,e.type,e,t,t.transitiveModule.directives),this._compiledTemplateCache.set(e.type.reference,n)),n}_compileTemplate(e){if(e.isCompiled)return;const t=e.compMeta,n=new Map,r=lf(),i=this._styleCompiler.compileComponent(r,t);t.template.externalStylesheets.forEach(e=>{const r=this._styleCompiler.compileStyles(lf(),t,e);n.set(e.moduleUrl,r)}),this._resolveStylesCompileResult(i,n);e.ngModule.transitiveModule.pipes.map(e=>this._metadataResolver.getPipeSummary(e.reference));const{template:s,pipes:o}=this._parseTemplate(t,e.ngModule,e.directives),a=this._viewCompiler.compileComponent(r,t,s,bt(i.stylesVar),o),c=this._interpretOrJit(function(e,t){return Pn(`${yn(e)}/${yn(t.type)}.ngfactory.js`)}(e.ngModule.type,e.compMeta),r.statements),l=c[a.viewClassVar],u=c[a.rendererTypeVar];e.compiled(l,u)}_parseTemplate(e,t,n){const r=e.template.preserveWhitespaces,i=n.map(e=>this._metadataResolver.getDirectiveSummary(e.reference)),s=t.transitiveModule.pipes.map(e=>this._metadataResolver.getPipeSummary(e.reference));return this._templateParser.parse(e,e.template.htmlAst,i,s,t.schemas,In(t.type,e,e.template),r)}_resolveStylesCompileResult(e,t){e.dependencies.forEach((e,n)=>{const r=t.get(e.moduleUrl),i=this._resolveAndEvalStylesCompileResult(r,t);e.setValue(i)})}_resolveAndEvalStylesCompileResult(e,t){return this._resolveStylesCompileResult(e,t),this._interpretOrJit(function(e,t){const n=e.moduleUrl.split(/\/\\/g);return Pn(`css/${t}${n[n.length-1]}.ngstyle.js`)}(e.meta,this._sharedStylesheetCount++),e.outputCtx.statements)[e.stylesVar]}_interpretOrJit(e,t){return this._compilerConfig.useJit?this._jitEvaluator.evaluateStatements(e,t,this._reflector,this._compilerConfig.jitDevMode):function(e,t){const n=new Zd(null,null,null,new Map);new tf(t).visitAllStatements(e,n);const r={};return n.exports.forEach(e=>{r[e]=n.vars.get(e)}),r}(t,this._reflector)}}class af{constructor(e,t,n,r,i){this.isHost=e,this.compType=t,this.compMeta=n,this.ngModule=r,this.directives=i,this._viewClass=null,this.isCompiled=!1}compiled(e,t){this._viewClass=e,this.compMeta.componentViewType.setDelegate(e);for(let n in t)this.compMeta.rendererType[n]=t[n];this.isCompiled=!0}}function cf(e){if(!e.isComponent)throw new Error(`Could not compile '${yn(e.type)}' because it is not a component.`)}function lf(){return{statements:[],genFilePath:"",importExpr:e=>_t({name:yn(e),moduleName:null,runtime:e}),constantPool:new rn}}class uf{}const hf=class{constructor(e=null){this._packagePrefix=e}resolve(e,t){let n=t;null!=e&&e.length>0&&(n=function(e,t){const n=pf(encodeURI(t)),r=pf(e);if(null!=n[ff.Scheme])return mf(n);n[ff.Scheme]=r[ff.Scheme];for(let o=ff.Scheme;o<=ff.Port;o++)null==n[o]&&(n[o]=r[o]);if("/"==n[ff.Path][0])return mf(n);let i=r[ff.Path];null==i&&(i="/");const s=i.lastIndexOf("/");return i=i.substring(0,s+1)+n[ff.Path],n[ff.Path]=i,mf(n)}(e,n));const r=pf(n);let i=this._packagePrefix;if(null!=i&&null!=r&&"package"==r[ff.Scheme]){let e=r[ff.Path];return i=i.replace(/\/+$/,""),e=e.replace(/^\/+/,""),`${i}/${e}`}return n}};const df=new RegExp("^(?:([^:/?#.]+):)?(?://(?:([^/?#]*)@)?([\\w\\d\\-\\u0100-\\uffff.%]*)(?::([0-9]+))?)?([^?#]+)?(?:\\?([^#]*))?(?:#(.*))?$");var ff;function pf(e){return e.match(df)}function mf(e){let t=e[ff.Path];return t=null==t?"":function(e){if("/"==e)return"/";const t="/"==e[0]?"/":"",n="/"===e[e.length-1]?"/":"",r=e.split("/"),i=[];let s=0;for(let o=0;o<r.length;o++){const e=r[o];switch(e){case"":case".":break;case"..":i.length>0?i.pop():s++;break;default:i.push(e)}}if(""==t){for(;s-- >0;)i.unshift("..");0===i.length&&i.push(".")}return t+i.join("/")+n}(t),e[ff.Path]=t,function(e,t,n,r,i,s,o){const a=[];return null!=e&&a.push(e+":"),null!=n&&(a.push("//"),null!=t&&a.push(t+"@"),a.push(n),null!=r&&a.push(":"+r)),null!=i&&a.push(i),null!=s&&a.push("?"+s),null!=o&&a.push("#"+o),a.join("")}(e[ff.Scheme],e[ff.UserInfo],e[ff.Domain],e[ff.Port],t,e[ff.QueryData],e[ff.Fragment])}!function(e){e[e.Scheme=1]="Scheme",e[e.UserInfo=2]="UserInfo",e[e.Domain=3]="Domain",e[e.Port=4]="Port",e[e.Path=5]="Path",e[e.QueryData=6]="QueryData",e[e.Fragment=7]="Fragment"}(ff||(ff={}));!function(e){(e.ng||(e.ng={})).\u0275compilerFacade=new Ku}(Qt);var gf=n("ofXK"),vf=n("jhN1");const yf=function(){const e=new Map;return e.set(un.ANALYZE_FOR_ENTRY_COMPONENTS,i.a),e.set(un.ElementRef,i.v),e.set(un.NgModuleRef,i.O),e.set(un.ViewContainerRef,i.ob),e.set(un.ChangeDetectorRef,i.k),e.set(un.Renderer2,i.Y),e.set(un.QueryList,i.X),e.set(un.TemplateRef,i.ib),e.set(un.CodegenComponentFactoryResolver,i.xb),e.set(un.ComponentFactoryResolver,i.p),e.set(un.ComponentFactory,i.o),e.set(un.ComponentRef,i.q),e.set(un.NgModuleFactory,i.M),e.set(un.createModuleFactory,i.Ob),e.set(un.moduleDef,i.dc),e.set(un.moduleProviderDef,i.ec),e.set(un.RegisterModuleFactoryFn,i.oc),e.set(un.Injector,i.F),e.set(un.ViewEncapsulation,i.pb),e.set(un.ChangeDetectionStrategy,i.j),e.set(un.SecurityContext,i.cb),e.set(un.LOCALE_ID,i.J),e.set(un.TRANSLATIONS_FORMAT,i.hb),e.set(un.inlineInterpolate,i.Yb),e.set(un.interpolate,i.Zb),e.set(un.EMPTY_ARRAY,i.zb),e.set(un.EMPTY_MAP,i.Ab),e.set(un.viewDef,i.vc),e.set(un.elementDef,i.Rb),e.set(un.anchorDef,i.Hb),e.set(un.textDef,i.sc),e.set(un.directiveDef,i.Qb),e.set(un.providerDef,i.lc),e.set(un.queryDef,i.mc),e.set(un.pureArrayDef,i.hc),e.set(un.pureObjectDef,i.jc),e.set(un.purePipeDef,i.kc),e.set(un.pipeDef,i.ic),e.set(un.nodeValue,i.gc),e.set(un.ngContentDef,i.fc),e.set(un.unwrapValue,i.tc),e.set(un.createRendererType2,i.Pb),e.set(un.createComponentFactory,i.Nb),e}();const bf=new i.E("ErrorCollector"),_f={provide:i.T,useValue:"/"},wf={get(e){throw new Error(`No ResourceLoader implementation has been provided. Can't read the url "${e}"`)}},Sf=new i.E("HtmlParser");const xf=new class{constructor(){this.reflectionCapabilities=new i.Db}componentModuleUrl(e,t){const n=t.moduleId;if("string"==typeof n){return function(e){const t=pf(e);return t&&t[ff.Scheme]||""}(n)?n:"package:"+n}if(null!=n)throw Bt(`moduleId should be a string in "${Object(i.rc)(e)}". See https://goo.gl/wIDDiL for more information.\nIf you're using Webpack you should inline the template and the styles, see https://goo.gl/X2J8zc.`);return"./"+Object(i.rc)(e)}parameters(e){return this.reflectionCapabilities.parameters(e)}tryAnnotations(e){return this.annotations(e)}annotations(e){return this.reflectionCapabilities.annotations(e)}shallowAnnotations(e){throw new Error("Not supported in JIT mode")}propMetadata(e){return this.reflectionCapabilities.propMetadata(e)}hasLifecycleHook(e,t){return this.reflectionCapabilities.hasLifecycleHook(e,t)}guards(e){return this.reflectionCapabilities.guards(e)}resolveExternalReference(e){return yf.get(e)||e.runtime}},Of=wf,kf=new dh,Cf=(i.yb,new i.R,new i.C(i.gb),new i.R,new i.C(i.hb),i.yb,i.yb,i.yb,i.R,i.R,i.l,i.F,i.yb,i.T,[{provide:i.l,useFactory:()=>new i.l}]);function Mf(e){for(let t=e.length-1;t>=0;t--)if(void 0!==e[t])return e[t]}function Ef(e){const t=[];return e.forEach(e=>e&&t.push(...e)),t}const Tf=Object(i.qb)(i.vb,"coreDynamic",[{provide:i.i,useValue:{},multi:!0},{provide:i.m,useClass:class{constructor(e){const t={useJit:!0,defaultEncapsulation:i.pb.Emulated,missingTranslation:i.K.Warning};this._defaultOptions=[t,...e]}createCompiler(e=[]){const t={useJit:Mf((n=this._defaultOptions.concat(e)).map(e=>e.useJit)),defaultEncapsulation:Mf(n.map(e=>e.defaultEncapsulation)),providers:Ef(n.map(e=>e.providers)),missingTranslation:Mf(n.map(e=>e.missingTranslation)),preserveWhitespaces:Mf(n.map(e=>e.preserveWhitespaces))};var n;return i.F.create([Cf,{provide:dh,useFactory:()=>new dh({useJit:t.useJit,jitDevMode:Object(i.ub)(),defaultEncapsulation:t.defaultEncapsulation,missingTranslation:t.missingTranslation,preserveWhitespaces:t.preserveWhitespaces}),deps:[]},t.providers]).get(i.l)}},deps:[i.i]}]);class jf extends Xu{get(e){let t,n;const r=new Promise((e,r)=>{t=e,n=r}),i=new XMLHttpRequest;return i.open("GET",e,!0),i.responseType="text",i.onload=function(){const r=i.response||i.responseText;let s=1223===i.status?204:i.status;0===s&&(s=r?200:0),200<=s&&s<=300?t(r):n("Failed to load "+e)},i.onerror=function(){n("Failed to load "+e)},i.send(),r}}jf.\u0275fac=function(e){return Df(e||jf)},jf.\u0275prov=i.Jc({token:jf,factory:jf.\u0275fac});const Df=i.Vc(jf),Af={providers:[{provide:Xu,useClass:jf,deps:[]}]},Lf=gf.I,zf=[vf.e,{provide:i.i,useValue:Af,multi:!0},{provide:i.U,useValue:Lf}];new i.lb("11.0.9");const Pf=Object(i.qb)(Tf,"browserDynamic",zf);var If=n("mrSG"),Rf=n("tk/3"),Nf=n("R1ws"),Hf=n("jEXk"),Ff=n("xwJx");const Vf=!0;var Bf=n("tyNb"),Yf=n("mjQ1"),Uf=n("SURy"),Wf=n("2kdd"),qf=n("Cfvw"),$f=n("lJxs"),Gf=n("5+tZ"),Xf=n("G15w"),Kf=n("Rk0a"),Jf=n("WRe/"),Qf=n("phRD"),Zf=n("Hdf2"),ep=n("uyU4"),tp=n("QnZs"),np=n("wVPz"),rp=n("WS32"),ip=n("Ml5Y"),sp=n("Jy0u");let op=class{constructor(e,t,n,r,i,s,o){this.projectService=e,this.documentsService=t,this.documentsVersionService=n,this.metadata=r,this.documentRemarksService=i,this.responsiblesService=s,this.entities=o,this.startText="Migration works! Do you not leave the page before done migration!",this.doneText="Migration done!",this.messages=[],this.finish=!1}ngOnInit(){return Object(If.a)(this,void 0,void 0,function*(){yield this.migrate()})}migrate(){return Object(If.a)(this,void 0,void 0,function*(){this.finish=!1,this.messages.push("Get Documents, where there have remarks, responsibles, versions and status not ReceivedFromPi.");const e=yield this.metadata.classes.get(ep.a.class),t=yield this.metadata.classes.get(Qf.a.class),n=yield this.entities.analytic.query({where:Object(Wf.a)([Object(sp.b)(e.id),...Object(sp.i)({hasResponsibles:!0,notStatus:tp.a.ReceivedFromPi,hasVersions:!0},ep.a)]),select:Object(Yf.f)(ep.a,e),join:{[Object(Wf.d)(Qf.a.collection)]:{where:Object(sp.b)(t.id),select:Object(Yf.f)(Qf.a,t)}}},{skip:0,take:1e7}).pipe(Object($f.a)(({items:e})=>Object(sp.j)(e,{schema:ep.a,connect:([e],t)=>e.push(t)},{schema:Qf.a,connect:([e,t],n)=>{var r;return null!==(r=t.versions)&&void 0!==r||(t.versions=[]),t.versions.push(n)}}))).toPromise();this.messages.push("Done!"),console.log(n),this.messages.push("Define latest version"),n.forEach(e=>{const t=e.versions.find(t=>t.changeNumber===e.changeNumber&&t.revision===e.revision);t?(e.versions=[],e.versions.push(t)):n.slice(n.indexOf(e),1)}),console.log(n);let r=0;n.forEach(e=>{e.versions.forEach(t=>{t.status!==tp.a.ReceivedFromPi&&(console.log(e),r++)})}),console.log(r),this.messages.push("Done!"),this.messages.push("Get document responsibles");const i=yield Object(qf.a)(this.metadata.classes.get(rp.a.class)).pipe(Object(Gf.a)(e=>this.entities.analytic.query({where:Object(Wf.a)([Object(sp.b)(rp.a.class),Object(sp.e)(...n.map(e=>e.id))]),select:Object(Yf.f)(rp.a,e)},{skip:0,take:1e9})),Object($f.a)(({items:e})=>e.reduce((e,t)=>{var n,r;const i=Object(Yf.j)(t,rp.a),[s]=Object(Yf.c)(t).reverse();return null===(r=null!==(n=e.get(s))&&void 0!==n?n:e.set(s,[]).get(s))||void 0===r||r.push(i),e},new Map))).toPromise();i.forEach((e,t)=>{const n=[];e.forEach(e=>{n.find(t=>t.name===e.name)||n.push(e)}),i.set(t,n)}),console.log(i),this.messages.push("Done!"),this.messages.push("Get document remarks");const s=yield Object(qf.a)(this.metadata.classes.get(Kf.a.class)).pipe(Object(Gf.a)(e=>this.entities.analytic.query({where:Object(Wf.a)([Object(sp.b)(Kf.a.class),Object(sp.e)(...n.map(e=>e.id))]),select:Object(Yf.f)(Kf.a,e)},{skip:0,take:1e9})),Object($f.a)(({items:e})=>e.reduce((e,t)=>{var n,r;const i=Object(Yf.j)(t,Kf.a),[s]=Object(Yf.c)(t).reverse();return null===(r=null!==(n=e.get(s))&&void 0!==n?n:e.set(s,[]).get(s))||void 0===r||r.push(i),e},new Map))).toPromise();console.log(s),this.messages.push("Done!"),this.messages.push("Change the last version. The latest version should be equal to the document.");for(const o of n)if(o.versions&&o.versions.length&&o.versions[0].status!==o.status){const e=o.versions[0];yield this.documentsVersionService.save(Object.assign(Object.assign({},o.versions[0]),{status:o.status}),o.versions[0]);const t=i.get(o.id);t&&t.length>0&&(yield this.responsiblesService.add(t.map(e=>(delete e.created,e)),e.id));const n=s.get(o.id);if(n&&n.length>0)for(const r of n)delete r.created,yield this.documentRemarksService.add(e.id,r)}this.messages.push("Done!"),this.finish=!0})}};op.ctorParameters=()=>[{type:ip.a},{type:Zf.a},{type:Jf.a},{type:Uf.c},{type:Xf.a},{type:np.a},{type:Yf.a}],op=Object(If.b)([Object(i.n)({selector:"app-version-migration",template:'\n    <p style="text-align: center; font-size: 25px; font-weight: bold">\n      {{ finish ? doneText : startText }}\n    </p>\n    <br />\n    <p style="text-align: center" *ngFor="let message of messages">{{ message }}</p>\n  '})],op);const ap=[{path:"",loadChildren:()=>Promise.all([n.e(0),n.e(17)]).then(n.bind(null,"Wm2z")).then(e=>e.ProjectsModule)},{path:"version-migration",component:op},{path:":project/:stage/:documentType",loadChildren:()=>Promise.all([n.e(5),n.e(12),n.e(0),n.e(27)]).then(n.bind(null,"X0Jz")).then(e=>e.DocumentsModule)},{path:"search",loadChildren:()=>n.e(41).then(n.bind(null,"RmqX")).then(e=>e.SearchModule)},{path:"projects-document",loadChildren:()=>n.e(40).then(n.bind(null,"vpqi")).then(e=>e.ProjectsDocumentModule)},{path:":project/:stage/:documentType/import",loadChildren:()=>n.e(28).then(n.bind(null,"P8N6")).then(e=>e.ImportDocumentModule)},{path:"**",redirectTo:""}];let cp=class{};cp=Object(If.b)([Object(i.L)({imports:[Bf.g.forRoot(ap)],exports:[Bf.g]})],cp);let lp=class{};lp=Object(If.b)([Object(i.n)({selector:"app-root",template:'\n    <router-outlet></router-outlet>\n    <router-outlet name="aside"></router-outlet>\n    \x3c!--<app-opened-documents></app-opened-documents>--\x3e\n  ',styles:["\n      :host {\n        display: grid;\n        grid-template: 64px 1fr / 1fr;\n\n        height: 100%;\n      }\n\n      router-outlet,\n      app-opened-documents {\n        display: none;\n      }\n\n      :host::ng-deep > router-outlet + * {\n        grid-area: 1 / 1 / 3 / 1;\n      }\n\n      :host::ng-deep > router-outlet[name='aside'] + * {\n        z-index: 2;\n        grid-area: 2 / 1 / 3 / 1;\n      }\n    "]})],lp);var up=n("x0vo"),hp=n("qhR1"),dp=n("9eNV"),fp=n("PCNd"),pp=n("sZ2C"),mp=n("Rm4T"),gp=n("FwiY"),vp=n("kVq8");Object(gf.G)(Ff.I);const yp=vp,bp=Object.keys(yp).map(e=>yp[e]);let _p=class{};_p=Object(If.b)([Object(i.L)({declarations:[lp,op],imports:[cp,vf.a,Rf.d,Ff.g,Nf.b,Hf.a.forRoot({auth:{clientId:"webapp",strict:Vf},logLevel:Vf?"Warn":"Trace"}),fp.a,up.a],providers:[{provide:i.J,useValue:Ff.I[0]},...dp.d,...hp.h,pp.a,{provide:mp.c,useValue:mp.g},{provide:gp.a,useValue:bp}],bootstrap:[lp]})],_p),Vf&&Object(i.rb)(),Pf().bootstrapModule(_p).catch(e=>console.error(e))},zn8P:function(e,t){function n(e){return Promise.resolve().then(function(){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t})}n.keys=function(){return[]},n.resolve=n,e.exports=n,n.id="zn8P"},zx2A:function(e,t,n){"use strict";n.d(t,"a",function(){return o}),n.d(t,"b",function(){return a}),n.d(t,"c",function(){return c});var r=n("7o/Q"),i=n("HDdC"),s=n("SeVD");class o extends r.a{constructor(e){super(),this.parent=e}_next(e){this.parent.notifyNext(e)}_error(e){this.parent.notifyError(e),this.unsubscribe()}_complete(){this.parent.notifyComplete(),this.unsubscribe()}}r.a;class a extends r.a{notifyNext(e){this.destination.next(e)}notifyError(e){this.destination.error(e)}notifyComplete(){this.destination.complete()}}r.a;function c(e,t){if(t.closed)return;if(e instanceof i.a)return e.subscribe(t);let n;try{n=Object(s.a)(e)(t)}catch(r){t.error(r)}return n}},zx6S:function(e,t,n){!function(e){"use strict";var t={words:{ss:["sekunda","sekunde","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],d:["jedan dan","jednog dana"],dd:["dan","dana","dana"],M:["jedan mesec","jednog meseca"],MM:["mesec","meseca","meseci"],y:["jednu godinu","jedne godine"],yy:["godinu","godine","godina"]},correctGrammaticalCase:function(e,t){return e%10>=1&&e%10<=4&&(e%100<10||e%100>=20)?e%10==1?t[0]:t[1]:t[2]},translate:function(e,n,r,i){var s,o=t.words[r];return 1===r.length?"y"===r&&n?"jedna godina":i||n?o[0]:o[1]:(s=t.correctGrammaticalCase(e,o),"yy"===r&&n&&"godinu"===s?e+" godina":e+" "+s)}};e.defineLocale("sr",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljak_utorak_sreda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sre._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"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:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:t.translate,dd:t.translate,M:t.translate,MM:t.translate,y:t.translate,yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n("wd/R"))}},[[0,9]]]);