1 line
297 KiB
JavaScript
1 line
297 KiB
JavaScript
(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{"+3V6":function(e,t,n){var r=n("X6VK");r(r.S,"Array",{isArray:n("Xfku")})},"+edc":function(e,t,n){var r=n("sU/p");e.exports=function(e,t,n){for(var o in t)r(e,o,t[o],n);return e}},"/69c":function(e,t){e.exports=Math.sign||function(e){return 0==(e=+e)||e!=e?e:e<0?-1:1}},"/6rt":function(e,t,n){"use strict";var r=n("E7Vc");e.exports=function(e,t){return!!e&&r(function(){t?e.call(null,function(){},1):e.call(null)})}},"/dwC":function(e,t,n){var r=n("X6VK");r(r.S,"Reflect",{has:function(e,t){return t in e}})},"/tvN":function(e,t,n){var r=n("X6VK"),o=n("yM7o"),i=Math.exp;r(r.S,"Math",{tanh:function(e){var t=o(e=+e),n=o(-e);return t==1/0?1:n==1/0?-1:(t-n)/(i(e)+i(-e))}})},0:function(e,t,n){e.exports=n("zUnb")},"049C":function(e,t,n){"use strict";var r=n("X6VK"),o=n("CLuC"),i=n("n+VH"),s=n("BUlT"),l=n("Sp5b"),a=[].slice;r(r.P+r.F*n("E7Vc")(function(){o&&a.call(o)}),"Array",{slice:function(e,t){var n=l(this.length),r=i(this);if(t=void 0===t?n:t,"Array"==r)return a.call(this,e,t);for(var o=s(e,n),u=s(t,n),c=l(u-o),d=new Array(c),h=0;h<c;h++)d[h]="String"==r?this.charAt(o+h):this[o+h];return d}})},"0Bc4":function(e,t,n){"use strict";n.r(t),t.default='<style>\n .my-drop-zone { border: dotted 3px lightgray; }\n .nv-file-over { border: dotted 3px red; } /* Default class applied to drop zones on over */\n .another-file-over-class { border: dotted 3px green; }\n\n html, body { height: 100%; }\n</style>\n\n<div class="container">\n\n <div class="navbar navbar-default">\n <div class="navbar-header">\n <a class="navbar-brand" href>Angular2 File Upload</a>\n </div>\n </div>\n\n <div class="row">\n\n <div class="col-md-3">\n\n <h3>Select files</h3>\n\n <div ng2FileDrop\n [ngClass]="{\'nv-file-over\': hasBaseDropZoneOver}"\n (fileOver)="fileOverBase($event)"\n [uploader]="uploader"\n class="well my-drop-zone">\n Base drop zone\n </div>\n\n <div ng2FileDrop\n [ngClass]="{\'another-file-over-class\': hasAnotherDropZoneOver}"\n (fileOver)="fileOverAnother($event)"\n [uploader]="uploader"\n class="well my-drop-zone">\n Another drop zone\n </div>\n\n Multiple\n <input type="file" ng2FileSelect [uploader]="uploader" multiple /><br/>\n\n Single\n <input type="file" ng2FileSelect [uploader]="uploader" />\n </div>\n\n <div class="col-md-9" style="margin-bottom: 40px">\n\n <h3>Upload queue</h3>\n <p>Queue length: {{ uploader?.queue?.length }}</p>\n\n <table class="table">\n <thead>\n <tr>\n <th width="50%">Name</th>\n <th>Size</th>\n <th>Progress</th>\n <th>Status</th>\n <th>Actions</th>\n </tr>\n </thead>\n <tbody>\n <tr *ngFor="let item of uploader.queue">\n <td><strong>{{ item?.file?.name }}</strong></td>\n <td *ngIf="uploader.options.isHTML5" nowrap>{{ item?.file?.size/1024/1024 | number:\'.2\' }} MB</td>\n <td *ngIf="uploader.options.isHTML5">\n <div class="progress" style="margin-bottom: 0;">\n <div class="progress-bar" role="progressbar" [ngStyle]="{ \'width\': item.progress + \'%\' }"></div>\n </div>\n </td>\n <td class="text-center">\n <span *ngIf="item.isSuccess"><i class="glyphicon glyphicon-ok"></i></span>\n <span *ngIf="item.isCancel"><i class="glyphicon glyphicon-ban-circle"></i></span>\n <span *ngIf="item.isError"><i class="glyphicon glyphicon-remove"></i></span>\n </td>\n <td nowrap>\n <button type="button" class="btn btn-success btn-xs"\n (click)="item.upload()" [disabled]="item.isReady || item.isUploading || item.isSuccess">\n <span class="glyphicon glyphicon-upload"></span> Upload\n </button>\n <button type="button" class="btn btn-warning btn-xs"\n (click)="item.cancel()" [disabled]="!item.isUploading">\n <span class="glyphicon glyphicon-ban-circle"></span> Cancel\n </button>\n <button type="button" class="btn btn-danger btn-xs"\n (click)="item.remove()">\n <span class="glyphicon glyphicon-trash"></span> Remove\n </button>\n </td>\n </tr>\n </tbody>\n </table>\n\n <div>\n <div>\n Queue progress:\n <div class="progress" style="">\n <div class="progress-bar" role="progressbar" [ngStyle]="{ \'width\': uploader.progress + \'%\' }"></div>\n </div>\n </div>\n <button type="button" class="btn btn-success btn-s"\n (click)="uploader.uploadAll()" [disabled]="!uploader.getNotUploadedItems().length">\n <span class="glyphicon glyphicon-upload"></span> Upload all\n </button>\n <button type="button" class="btn btn-warning btn-s"\n (click)="uploader.cancelAll()" [disabled]="!uploader.isUploading">\n <span class="glyphicon glyphicon-ban-circle"></span> Cancel all\n </button>\n <button type="button" class="btn btn-danger btn-s"\n (click)="uploader.clearQueue()" [disabled]="!uploader.queue.length">\n <span class="glyphicon glyphicon-trash"></span> Remove all\n </button>\n </div>\n\n </div>\n\n </div>\n\n <br><br>\n\n <div class="row">\n <div class="col-md-12">\n <div class="panel panel-default">\n <div class="panel-heading">Response</div>\n <div class="panel-body">\n {{ response }}\n </div>\n </div>\n </div>\n </div>\n</div>\n'},"0oPD":function(e,t){t.f=Object.getOwnPropertySymbols},"1Alt":function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+r).toString(36))}},"1Tj+":function(e,t,n){var r=n("IdFN"),o=n("WWmS"),i=n("ml72"),s=n("5MU4"),l=n("ezc+"),a=n("HWsP"),u=Object.getOwnPropertyDescriptor;t.f=n("GGqZ")?u:function(e,t){if(e=i(e),t=s(t,!0),a)try{return u(e,t)}catch(n){}if(l(e,t))return o(!r.f.call(e,t),e[t])}},"1hyt":function(e,t,n){var r=n("X6VK"),o=n("PAFS"),i=Object.isExtensible;r(r.S,"Reflect",{isExtensible:function(e){return o(e),!i||i(e)}})},"1qKx":function(e,t,n){var r=n("X6VK");r(r.S,"Object",{setPrototypeOf:n("3ydu").set})},"1wfo":function(e,t,n){var r=n("9liC"),o=n("Cmsx"),i=n("UnHL"),s=n("Sp5b"),l=n("C5nI");e.exports=function(e,t){var n=1==e,a=2==e,u=3==e,c=4==e,d=6==e,h=5==e||d,f=t||l;return function(t,l,p){for(var g,m,v=i(t),y=o(v),_=r(l,p,3),b=s(y.length),w=0,x=n?f(t,b):a?f(t,0):void 0;b>w;w++)if((h||w in y)&&(m=_(g=y[w],w,v),e))if(n)x[w]=m;else if(m)switch(e){case 3:return!0;case 5:return g;case 6:return w;case 2:x.push(g)}else if(c)return!1;return d?-1:u||c?c:x}}},"2LOZ":function(e,t,n){var r=n("Ibj2"),o=n("9dxi")("iterator"),i=Array.prototype;e.exports=function(e){return void 0!==e&&(r.Array===e||i[o]===e)}},"2UZ+":function(e,t,n){"use strict";var r=n("X6VK"),o=n("1wfo")(6),i="findIndex",s=!0;i in[]&&Array(1)[i](function(){s=!1}),r(r.P+r.F*s,"Array",{findIndex:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),n("OfmW")(i)},"3RxL":function(e,t,n){n("gRlk")("getOwnPropertyNames",function(){return n("UYXy").f})},"3Yeq":function(e,t,n){var r=n("X6VK"),o=n("yM7o"),i=Math.exp;r(r.S+r.F*n("E7Vc")(function(){return-2e-17!=!Math.sinh(-2e-17)}),"Math",{sinh:function(e){return Math.abs(e=+e)<1?(o(e)-o(-e))/2:(i(e-1)-i(-e-1))*(Math.E/2)}})},"3qYF":function(e,t,n){var r=n("U5er"),o=n("PAFS"),i=r.key,s=r.set;r.exp({defineMetadata:function(e,t,n,r){s(e,t,o(n),i(r))}})},"3y5y":function(e,t,n){"use strict";var r=n("X6VK"),o=n("9Bb+");r(r.P+r.F*!n("/6rt")([].reduce,!0),"Array",{reduce:function(e){return o(this,e,arguments.length,arguments[1],!1)}})},"3ydu":function(e,t,n){var r=n("Bsg+"),o=n("PAFS"),i=function(e,t){if(o(e),!r(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,r){try{(r=n("9liC")(Function.call,n("1Tj+").f(Object.prototype,"__proto__").set,2))(e,[]),t=!(e instanceof Array)}catch(o){t=!0}return function(e,n){return i(e,n),t?e.__proto__=n:r(e,n),e}}({},!1):void 0),check:i}},"4aJ6":function(e,t,n){"use strict";n("iur1");var r=n("PAFS"),o=n("MBcE"),i=n("GGqZ"),s=/./.toString,l=function(e){n("sU/p")(RegExp.prototype,"toString",e,!0)};n("E7Vc")(function(){return"/a/b"!=s.call({source:"a",flags:"b"})})?l(function(){var e=r(this);return"/".concat(e.source,"/","flags"in e?e.flags:!i&&e instanceof RegExp?o.call(e):void 0)}):"toString"!=s.name&&l(function(){return s.call(this)})},"4enF":function(e,t,n){"use strict";n("LEAW")("sup",function(e){return function(){return e(this,"sup","","")}})},"5Fu2":function(e,t,n){var r=n("PAFS"),o=n("b8Rm"),i=n("9dxi")("species");e.exports=function(e,t){var n,s=r(e).constructor;return void 0===s||null==(n=r(s)[i])?t:o(n)}},"5MU4":function(e,t,n){var r=n("Bsg+");e.exports=function(e,t){if(!r(e))return e;var n,o;if(t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;if("function"==typeof(n=e.valueOf)&&!r(o=n.call(e)))return o;if(!t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;throw TypeError("Can't convert object to primitive value")}},"5hJT":function(e,t,n){var r=n("X6VK");r(r.S+r.F,"Object",{assign:n("NR3o")})},"6/FK":function(e,t,n){var r=n("X6VK");r(r.S+r.F*!n("GGqZ"),"Object",{defineProperties:n("pU1/")})},"619q":function(e,t,n){n("3qYF"),n("L4mq"),n("ZYZT"),n("LrZJ"),n("qjW+"),n("8bRu"),n("rUkU"),n("f5Xw"),n("cyVJ"),e.exports=n("R5TD").Reflect},"61jV":function(e,t,n){var r=n("/69c"),o=Math.pow,i=o(2,-52),s=o(2,-23),l=o(2,127)*(2-s),a=o(2,-126);e.exports=Math.fround||function(e){var t,n,o=Math.abs(e),u=r(e);return o<a?u*(o/a/s+1/i-1/i)*a*s:(n=(t=(1+s/i)*o)-(t-o))>l||n!=n?u*(1/0):u*n}},"6Vmy":function(e,t,n){"use strict";var r=n("X6VK"),o=n("CIiV");r(r.S+r.F*n("E7Vc")(function(){function e(){}return!(Array.of.call(e)instanceof e)}),"Array",{of:function(){for(var e=0,t=arguments.length,n=new("function"==typeof this?this:Array)(t);t>e;)o(n,e,arguments[e++]);return n.length=t,n}})},"6d4m":function(e,t,n){"use strict";var r=n("X6VK"),o=n("Alw5");r(r.P+r.F*n("Fl7L")("includes"),"String",{includes:function(e){return!!~o(this,e,"includes").indexOf(e,arguments.length>1?arguments[1]:void 0)}})},"71V/":function(e,t,n){var r=n("X6VK"),o=n("1Tj+").f,i=n("PAFS");r(r.S,"Reflect",{deleteProperty:function(e,t){var n=o(i(e),t);return!(n&&!n.configurable)&&delete e[t]}})},"75LO":function(e,t,n){var r=n("UnHL"),o=n("LuBU");n("gRlk")("keys",function(){return function(e){return o(r(e))}})},"7lGJ":function(e,t,n){"use strict";var r=n("X6VK"),o=n("1wfo")(0),i=n("/6rt")([].forEach,!0);r(r.P+r.F*!i,"Array",{forEach:function(e){return o(this,e,arguments[1])}})},"7t+O":function(e,t,n){var r=n("X6VK");r(r.S,"Date",{now:function(){return(new Date).getTime()}})},"896O":function(e,t,n){var r=n("9dxi")("toPrimitive"),o=Date.prototype;r in o||n("tjmq")(o,r,n("Xi2U"))},"8bRu":function(e,t,n){var r=n("U5er"),o=n("PAFS"),i=r.keys,s=r.key;r.exp({getOwnMetadataKeys:function(e){return i(o(e),arguments.length<2?void 0:s(arguments[1]))}})},"8kJd":function(e,t,n){var r=n("ZVIm")("keys"),o=n("1Alt");e.exports=function(e){return r[e]||(r[e]=o(e))}},"9Bb+":function(e,t,n){var r=n("b8Rm"),o=n("UnHL"),i=n("Cmsx"),s=n("Sp5b");e.exports=function(e,t,n,l,a){r(t);var u=o(e),c=i(u),d=s(u.length),h=a?d-1:0,f=a?-1:1;if(n<2)for(;;){if(h in c){l=c[h],h+=f;break}if(h+=f,a?h<0:d<=h)throw TypeError("Reduce of empty array with no initial value")}for(;a?h>=0:d>h;h+=f)h in c&&(l=t(l,c[h],h,u));return l}},"9ZkT":function(e,t,n){var r=n("1Tj+"),o=n("A1KM"),i=n("ezc+"),s=n("X6VK"),l=n("Bsg+"),a=n("PAFS");s(s.S,"Reflect",{get:function e(t,n){var s,u,c=arguments.length<3?t:arguments[2];return a(t)===c?t[n]:(s=r.f(t,n))?i(s,"value")?s.value:void 0!==s.get?s.get.call(c):void 0:l(u=o(t))?e(u,n,c):void 0}})},"9dxi":function(e,t,n){var r=n("ZVIm")("wks"),o=n("1Alt"),i=n("P56o").Symbol,s="function"==typeof i;(e.exports=function(e){return r[e]||(r[e]=s&&i[e]||(s?i:o)("Symbol."+e))}).store=r},"9liC":function(e,t,n){var r=n("b8Rm");e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){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,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}}},"9ovy":function(e,t,n){"use strict";var r=n("PAFS"),o=n("Sp5b"),i=n("dVhv"),s=n("Fu0I");n("Wifh")("match",1,function(e,t,n,l){return[function(n){var r=e(this),o=null==n?void 0:n[t];return void 0!==o?o.call(n,r):new RegExp(n)[t](String(r))},function(e){var t=l(n,e,this);if(t.done)return t.value;var a=r(e),u=String(this);if(!a.global)return s(a,u);var c=a.unicode;a.lastIndex=0;for(var d,h=[],f=0;null!==(d=s(a,u));){var p=String(d[0]);h[f]=p,""===p&&(a.lastIndex=i(u,o(a.lastIndex),c)),f++}return 0===f?null:h}]})},"9p7t":function(e,t,n){"use strict";var r=n("X6VK"),o=n("1wfo")(2);r(r.P+r.F*!n("/6rt")([].filter,!0),"Array",{filter:function(e){return o(this,e,arguments[1])}})},A1KM:function(e,t,n){var r=n("ezc+"),o=n("UnHL"),i=n("8kJd")("IE_PROTO"),s=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=o(e),r(e,i)?e[i]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?s:null}},ABKx:function(e,t,n){"use strict";var r=n("P56o"),o=n("ezc+"),i=n("GGqZ"),s=n("X6VK"),l=n("sU/p"),a=n("zIP/").KEY,u=n("E7Vc"),c=n("ZVIm"),d=n("jPEw"),h=n("1Alt"),f=n("9dxi"),p=n("fxUj"),g=n("z6KD"),m=n("ltS6"),v=n("Xfku"),y=n("PAFS"),_=n("Bsg+"),b=n("UnHL"),w=n("ml72"),x=n("5MU4"),E=n("WWmS"),S=n("Vx+c"),k=n("UYXy"),C=n("1Tj+"),T=n("0oPD"),I=n("U1KF"),A=n("LuBU"),O=C.f,D=I.f,P=k.f,N=r.Symbol,F=r.JSON,M=F&&F.stringify,R=f("_hidden"),V=f("toPrimitive"),j={}.propertyIsEnumerable,L=c("symbol-registry"),z=c("symbols"),U=c("op-symbols"),Z=Object.prototype,H="function"==typeof N&&!!T.f,B=r.QObject,K=!B||!B.prototype||!B.prototype.findChild,q=i&&u(function(){return 7!=S(D({},"a",{get:function(){return D(this,"a",{value:7}).a}})).a})?function(e,t,n){var r=O(Z,t);r&&delete Z[t],D(e,t,n),r&&e!==Z&&D(Z,t,r)}:D,G=function(e){var t=z[e]=S(N.prototype);return t._k=e,t},$=H&&"symbol"==typeof N.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof N},X=function(e,t,n){return e===Z&&X(U,t,n),y(e),t=x(t,!0),y(n),o(z,t)?(n.enumerable?(o(e,R)&&e[R][t]&&(e[R][t]=!1),n=S(n,{enumerable:E(0,!1)})):(o(e,R)||D(e,R,E(1,{})),e[R][t]=!0),q(e,t,n)):D(e,t,n)},W=function(e,t){y(e);for(var n,r=m(t=w(t)),o=0,i=r.length;i>o;)X(e,n=r[o++],t[n]);return e},Q=function(e){var t=j.call(this,e=x(e,!0));return!(this===Z&&o(z,e)&&!o(U,e))&&(!(t||!o(this,e)||!o(z,e)||o(this,R)&&this[R][e])||t)},J=function(e,t){if(e=w(e),t=x(t,!0),e!==Z||!o(z,t)||o(U,t)){var n=O(e,t);return!n||!o(z,t)||o(e,R)&&e[R][t]||(n.enumerable=!0),n}},Y=function(e){for(var t,n=P(w(e)),r=[],i=0;n.length>i;)o(z,t=n[i++])||t==R||t==a||r.push(t);return r},ee=function(e){for(var t,n=e===Z,r=P(n?U:w(e)),i=[],s=0;r.length>s;)!o(z,t=r[s++])||n&&!o(Z,t)||i.push(z[t]);return i};H||(l((N=function(){if(this instanceof N)throw TypeError("Symbol is not a constructor!");var e=h(arguments.length>0?arguments[0]:void 0),t=function(n){this===Z&&t.call(U,n),o(this,R)&&o(this[R],e)&&(this[R][e]=!1),q(this,e,E(1,n))};return i&&K&&q(Z,e,{configurable:!0,set:t}),G(e)}).prototype,"toString",function(){return this._k}),C.f=J,I.f=X,n("zIds").f=k.f=Y,n("IdFN").f=Q,T.f=ee,i&&!n("wEu9")&&l(Z,"propertyIsEnumerable",Q,!0),p.f=function(e){return G(f(e))}),s(s.G+s.W+s.F*!H,{Symbol:N});for(var te="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ne=0;te.length>ne;)f(te[ne++]);for(var re=A(f.store),oe=0;re.length>oe;)g(re[oe++]);s(s.S+s.F*!H,"Symbol",{for:function(e){return o(L,e+="")?L[e]:L[e]=N(e)},keyFor:function(e){if(!$(e))throw TypeError(e+" is not a symbol!");for(var t in L)if(L[t]===e)return t},useSetter:function(){K=!0},useSimple:function(){K=!1}}),s(s.S+s.F*!H,"Object",{create:function(e,t){return void 0===t?S(e):W(S(e),t)},defineProperty:X,defineProperties:W,getOwnPropertyDescriptor:J,getOwnPropertyNames:Y,getOwnPropertySymbols:ee});var ie=u(function(){T.f(1)});s(s.S+s.F*ie,"Object",{getOwnPropertySymbols:function(e){return T.f(b(e))}}),F&&s(s.S+s.F*(!H||u(function(){var e=N();return"[null]"!=M([e])||"{}"!=M({a:e})||"{}"!=M(Object(e))})),"JSON",{stringify:function(e){for(var t,n,r=[e],o=1;arguments.length>o;)r.push(arguments[o++]);if(n=t=r[1],(_(t)||void 0!==e)&&!$(e))return v(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!$(t))return t}),r[1]=t,M.apply(F,r)}}),N.prototype[V]||n("tjmq")(N.prototype,V,N.prototype.valueOf),d(N,"Symbol"),d(Math,"Math",!0),d(r.JSON,"JSON",!0)},ACU4:function(e,t,n){"use strict";var r=n("X6VK"),o=n("UnHL"),i=n("5MU4");r(r.P+r.F*n("E7Vc")(function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})}),"Date",{toJSON:function(e){var t=o(this),n=i(t);return"number"!=typeof n||isFinite(n)?t.toISOString():null}})},AJKo:function(e,t,n){var r=n("X6VK");r(r.S,"Math",{log2:function(e){return Math.log(e)/Math.LN2}})},AkS8:function(e,t,n){"use strict";var r=n("P56o"),o=n("X6VK"),i=n("sU/p"),s=n("+edc"),l=n("zIP/"),a=n("HqX2"),u=n("EusA"),c=n("Bsg+"),d=n("E7Vc"),h=n("zlqh"),f=n("jPEw"),p=n("jEou");e.exports=function(e,t,n,g,m,v){var y=r[e],_=y,b=m?"set":"add",w=_&&_.prototype,x={},E=function(e){var t=w[e];i(w,e,"delete"==e?function(e){return!(v&&!c(e))&&t.call(this,0===e?0:e)}:"has"==e?function(e){return!(v&&!c(e))&&t.call(this,0===e?0:e)}:"get"==e?function(e){return v&&!c(e)?void 0:t.call(this,0===e?0:e)}:"add"==e?function(e){return t.call(this,0===e?0:e),this}:function(e,n){return t.call(this,0===e?0:e,n),this})};if("function"==typeof _&&(v||w.forEach&&!d(function(){(new _).entries().next()}))){var S=new _,k=S[b](v?{}:-0,1)!=S,C=d(function(){S.has(1)}),T=h(function(e){new _(e)}),I=!v&&d(function(){for(var e=new _,t=5;t--;)e[b](t,t);return!e.has(-0)});T||((_=t(function(t,n){u(t,_,e);var r=p(new y,t,_);return null!=n&&a(n,m,r[b],r),r})).prototype=w,w.constructor=_),(C||I)&&(E("delete"),E("has"),m&&E("get")),(I||k)&&E(b),v&&w.clear&&delete w.clear}else _=g.getConstructor(t,e,m,b),s(_.prototype,n),l.NEED=!0;return f(_,e),x[e]=_,o(o.G+o.W+o.F*(_!=y),x),v||g.setStrong(_,e,m),_}},Alw5:function(e,t,n){var r=n("NVL/"),o=n("GCOZ");e.exports=function(e,t,n){if(r(t))throw TypeError("String#"+n+" doesn't accept regex!");return String(o(e))}},Anoy:function(e,t,n){var r=n("X6VK"),o=n("b8Rm"),i=n("PAFS"),s=(n("P56o").Reflect||{}).apply,l=Function.apply;r(r.S+r.F*!n("E7Vc")(function(){s(function(){})}),"Reflect",{apply:function(e,t,n){var r=o(e),a=i(n);return s?s(r,t,a):l.call(r,t,a)}})},Av18:function(e,t,n){var r=n("X6VK");r(r.S,"Math",{log10:function(e){return Math.log(e)*Math.LOG10E}})},BDzi:function(e,t,n){"use strict";var r=n("X6VK"),o=n("Sp5b"),i=n("Alw5"),s="".endsWith;r(r.P+r.F*n("Fl7L")("endsWith"),"String",{endsWith:function(e){var t=i(this,e,"endsWith"),n=arguments.length>1?arguments[1]:void 0,r=o(t.length),l=void 0===n?r:Math.min(o(n),r),a=String(e);return s?s.call(t,a,l):t.slice(l-a.length,l)===a}})},BTfu:function(e,t,n){"use strict";n("LEAW")("fixed",function(e){return function(){return e(this,"tt","","")}})},BUlT:function(e,t,n){var r=n("mvii"),o=Math.max,i=Math.min;e.exports=function(e,t){return(e=r(e))<0?o(e+t,0):i(e,t)}},"Bsg+":function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},C5nI:function(e,t,n){var r=n("Qno1");e.exports=function(e,t){return new(r(e))(t)}},CIiV:function(e,t,n){"use strict";var r=n("U1KF"),o=n("WWmS");e.exports=function(e,t,n){t in e?r.f(e,t,o(0,n)):e[t]=n}},CLuC:function(e,t,n){var r=n("P56o").document;e.exports=r&&r.documentElement},CbkB:function(e,t){e.exports=Math.log1p||function(e){return(e=+e)>-1e-8&&e<1e-8?e-e*e/2:Math.log(1+e)}},Cmsx:function(e,t,n){var r=n("n+VH");e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},CuWn:function(e,t,n){var r=n("X6VK"),o=n("yM7o");r(r.S+r.F*(o!=Math.expm1),"Math",{expm1:o})},"D/Ri":function(e,t,n){n("e2Kn"),n("jAH4"),n("EkOb"),n("uKE/"),n("GjCE"),n("Gv0X"),n("MYxt"),n("zsc7"),n("KBDK"),n("GKqq"),n("az+3"),n("fIq3"),e.exports=n("R5TD").Number},D1tK:function(e,t,n){n("Dqq5"),e.exports=n("R5TD").parseFloat},DY28:function(e,t,n){var r=n("X6VK");r(r.S,"Math",{sign:n("/69c")})},Dqq5:function(e,t,n){var r=n("X6VK"),o=n("wUFM");r(r.G+r.F*(parseFloat!=o),{parseFloat:o})},E7Vc:function(e,t){e.exports=function(e){try{return!!e()}catch(t){return!0}}},E8p1:function(e,t,n){"use strict";var r=n("P56o"),o=n("U1KF"),i=n("GGqZ"),s=n("9dxi")("species");e.exports=function(e){var t=r[e];i&&t&&!t[s]&&o.f(t,s,{configurable:!0,get:function(){return this}})}},EZ0R:function(e,t,n){var r=n("U1KF"),o=n("X6VK"),i=n("PAFS"),s=n("5MU4");o(o.S+o.F*n("E7Vc")(function(){Reflect.defineProperty(r.f({},1,{value:1}),1,{value:2})}),"Reflect",{defineProperty:function(e,t,n){i(e),t=s(t,!0),i(n);try{return r.f(e,t,n),!0}catch(o){return!1}}})},EkOb:function(e,t,n){"use strict";var r=n("X6VK"),o=n("E7Vc"),i=n("ZUPj"),s=1..toPrecision;r(r.P+r.F*(o(function(){return"1"!==s.call(1,void 0)})||!o(function(){s.call({})})),"Number",{toPrecision:function(e){var t=i(this,"Number#toPrecision: incorrect invocation!");return void 0===e?s.call(t):s.call(t,e)}})},EtPw:function(e,t,n){var r=n("X6VK"),o=n("PAFS"),i=Object.preventExtensions;r(r.S,"Reflect",{preventExtensions:function(e){o(e);try{return i&&i(e),!0}catch(t){return!1}}})},EusA:function(e,t){e.exports=function(e,t,n,r){if(!(e instanceof t)||void 0!==r&&r in e)throw TypeError(n+": incorrect invocation!");return e}},F0r5:function(e,t,n){"use strict";var r=n("X6VK"),o=n("PAFS"),i=function(e){this._t=o(e),this._i=0;var t,n=this._k=[];for(t in e)n.push(t)};n("puZ4")(i,"Object",function(){var e,t=this._k;do{if(this._i>=t.length)return{value:void 0,done:!0}}while(!((e=t[this._i++])in this._t));return{value:e,done:!1}}),r(r.S,"Reflect",{enumerate:function(e){return new i(e)}})},FEHE:function(e,t,n){"use strict";var r=n("X6VK"),o=n("Sp5b"),i=n("Alw5"),s="".startsWith;r(r.P+r.F*n("Fl7L")("startsWith"),"String",{startsWith:function(e){var t=i(this,e,"startsWith"),n=o(Math.min(arguments.length>1?arguments[1]:void 0,t.length)),r=String(e);return s?s.call(t,r,n):t.slice(n,n+r.length)===r}})},FdQX:function(e,t,n){var r=n("X6VK"),o=Math.asinh;r(r.S+r.F*!(o&&1/o(0)>0),"Math",{asinh:function e(t){return isFinite(t=+t)&&0!=t?t<0?-e(-t):Math.log(t+Math.sqrt(t*t+1)):t}})},Fl7L:function(e,t,n){var r=n("9dxi")("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[r]=!1,!"/./"[e](t)}catch(o){}}return!0}},Fu0I:function(e,t,n){"use strict";var r=n("OFVL"),o=RegExp.prototype.exec;e.exports=function(e,t){var n=e.exec;if("function"==typeof n){var i=n.call(e,t);if("object"!=typeof i)throw new TypeError("RegExp exec method returned something other than an Object or null");return i}if("RegExp"!==r(e))throw new TypeError("RegExp#exec called on incompatible receiver");return o.call(e,t)}},G2C3:function(e,t,n){var r=n("X6VK"),o=n("A1KM"),i=n("PAFS");r(r.S,"Reflect",{getPrototypeOf:function(e){return o(i(e))}})},GCOZ:function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},GDBG:function(e,t,n){n("o7PZ"),n("GkPX"),n("r3gx"),e.exports=n("R5TD").Function},GGqZ:function(e,t,n){e.exports=!n("E7Vc")(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},GKqq:function(e,t,n){var r=n("X6VK");r(r.S,"Number",{MIN_SAFE_INTEGER:-9007199254740991})},GjCE:function(e,t,n){var r=n("X6VK"),o=n("P56o").isFinite;r(r.S,"Number",{isFinite:function(e){return"number"==typeof e&&o(e)}})},GkPX:function(e,t,n){var r=n("U1KF").f,o=Function.prototype,i=/^\s*function ([^ (]*)/;"name"in o||n("GGqZ")&&r(o,"name",{configurable:!0,get:function(){try{return(""+this).match(i)[1]}catch(e){return""}}})},Gv0X:function(e,t,n){var r=n("X6VK");r(r.S,"Number",{isInteger:n("xI3J")})},HWsP:function(e,t,n){e.exports=!n("GGqZ")&&!n("E7Vc")(function(){return 7!=Object.defineProperty(n("mggL")("div"),"a",{get:function(){return 7}}).a})},HZro:function(e,t,n){var r=n("Bsg+"),o=n("zIP/").onFreeze;n("gRlk")("seal",function(e){return function(t){return e&&r(t)?e(o(t)):t}})},HqX2:function(e,t,n){var r=n("9liC"),o=n("iJnn"),i=n("2LOZ"),s=n("PAFS"),l=n("Sp5b"),a=n("pB2m"),u={},c={};(t=e.exports=function(e,t,n,d,h){var f,p,g,m,v=h?function(){return e}:a(e),y=r(n,d,t?2:1),_=0;if("function"!=typeof v)throw TypeError(e+" is not iterable!");if(i(v)){for(f=l(e.length);f>_;_++)if((m=t?y(s(p=e[_])[0],p[1]):y(e[_]))===u||m===c)return m}else for(g=v.call(e);!(p=g.next()).done;)if((m=o(g,y,p.value,t))===u||m===c)return m}).BREAK=u,t.RETURN=c},IKQL:function(e,t,n){var r=n("X6VK");r(r.P,"Array",{fill:n("Pfmf")}),n("OfmW")("fill")},Ibj2:function(e,t){e.exports={}},IdFN:function(e,t){t.f={}.propertyIsEnumerable},J8hF:function(e,t,n){var r=n("P56o"),o=n("jEou"),i=n("U1KF").f,s=n("zIds").f,l=n("NVL/"),a=n("MBcE"),u=r.RegExp,c=u,d=u.prototype,h=/a/g,f=/a/g,p=new u(h)!==h;if(n("GGqZ")&&(!p||n("E7Vc")(function(){return f[n("9dxi")("match")]=!1,u(h)!=h||u(f)==f||"/a/i"!=u(h,"i")}))){u=function(e,t){var n=this instanceof u,r=l(e),i=void 0===t;return!n&&r&&e.constructor===u&&i?e:o(p?new c(r&&!i?e.source:e,t):c((r=e instanceof u)?e.source:e,r&&i?a.call(e):t),n?this:d,u)};for(var g=function(e){e in u||i(u,e,{configurable:!0,get:function(){return c[e]},set:function(t){c[e]=t}})},m=s(c),v=0;m.length>v;)g(m[v++]);d.constructor=u,u.prototype=d,n("sU/p")(r,"RegExp",u)}n("E8p1")("RegExp")},JGfN:function(e,t,n){e.exports=n("ZVIm")("native-function-to-string",Function.toString)},JKk3:function(e,t,n){"use strict";var r=n("UnHL"),o=n("BUlT"),i=n("Sp5b");e.exports=[].copyWithin||function(e,t){var n=r(this),s=i(n.length),l=o(e,s),a=o(t,s),u=arguments.length>2?arguments[2]:void 0,c=Math.min((void 0===u?s:o(u,s))-a,s-l),d=1;for(a<l&&l<a+c&&(d=-1,a+=c-1,l+=c-1);c-- >0;)a in n?n[l]=n[a]:delete n[l],l+=d,a+=d;return n}},"Jqo+":function(e,t,n){"use strict";n("LEAW")("italics",function(e){return function(){return e(this,"i","","")}})},"Jww/":function(e,t,n){"use strict";var r=n("wEu9"),o=n("X6VK"),i=n("sU/p"),s=n("tjmq"),l=n("Ibj2"),a=n("puZ4"),u=n("jPEw"),c=n("A1KM"),d=n("9dxi")("iterator"),h=!([].keys&&"next"in[].keys()),f=function(){return this};e.exports=function(e,t,n,p,g,m,v){a(n,t,p);var y,_,b,w=function(e){if(!h&&e in k)return k[e];switch(e){case"keys":case"values":return function(){return new n(this,e)}}return function(){return new n(this,e)}},x=t+" Iterator",E="values"==g,S=!1,k=e.prototype,C=k[d]||k["@@iterator"]||g&&k[g],T=C||w(g),I=g?E?w("entries"):T:void 0,A="Array"==t&&k.entries||C;if(A&&(b=c(A.call(new e)))!==Object.prototype&&b.next&&(u(b,x,!0),r||"function"==typeof b[d]||s(b,d,f)),E&&C&&"values"!==C.name&&(S=!0,T=function(){return C.call(this)}),r&&!v||!h&&!S&&k[d]||s(k,d,T),l[t]=T,l[x]=f,g)if(y={values:E?T:w("values"),keys:m?T:w("keys"),entries:I},v)for(_ in y)_ in k||i(k,_,y[_]);else o(o.P+o.F*(h||S),t,y);return y}},"K/PF":function(e,t,n){"use strict";var r=n("OfmW"),o=n("VVFi"),i=n("Ibj2"),s=n("ml72");e.exports=n("Jww/")(Array,"Array",function(e,t){this._t=s(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,o(1)):o(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])},"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},KBDK:function(e,t,n){var r=n("X6VK");r(r.S,"Number",{MAX_SAFE_INTEGER:9007199254740991})},KFSm:function(e,t){e.exports=function(e,t,n){var r=void 0===n;switch(t.length){case 0:return r?e():e.call(n);case 1:return r?e(t[0]):e.call(n,t[0]);case 2:return r?e(t[0],t[1]):e.call(n,t[0],t[1]);case 3:return r?e(t[0],t[1],t[2]):e.call(n,t[0],t[1],t[2]);case 4:return r?e(t[0],t[1],t[2],t[3]):e.call(n,t[0],t[1],t[2],t[3])}return e.apply(n,t)}},"Kz8+":function(e,t,n){var r=n("Bsg+"),o=n("zIP/").onFreeze;n("gRlk")("freeze",function(e){return function(t){return e&&r(t)?e(o(t)):t}})},"L/Eh":function(e,t,n){"use strict";n.r(t),t.default="import { Component } from '@angular/core';\nimport { FileUploader } from 'ng2-file-upload';\n\n// const URL = '/api/';\nconst URL = 'https://evening-anchorage-3159.herokuapp.com/api/';\n\n@Component({\n selector: 'simple-demo',\n templateUrl: './simple-demo.html'\n})\nexport class SimpleDemoComponent {\n\n uploader:FileUploader;\n hasBaseDropZoneOver:boolean;\n hasAnotherDropZoneOver:boolean;\n response:string;\n\n constructor (){\n this.uploader = new FileUploader({\n url: URL,\n disableMultipart: true, // 'DisableMultipart' must be 'true' for formatDataFunction to be called.\n formatDataFunctionIsAsync: true,\n formatDataFunction: async (item) => {\n return new Promise( (resolve, reject) => {\n resolve({\n name: item._file.name,\n length: item._file.size,\n contentType: item._file.type,\n date: new Date()\n });\n });\n }\n });\n\n this.hasBaseDropZoneOver = false;\n this.hasAnotherDropZoneOver = false;\n\n this.response = '';\n\n this.uploader.response.subscribe( res => this.response = res );\n }\n\n public fileOverBase(e:any):void {\n this.hasBaseDropZoneOver = e;\n }\n\n public fileOverAnother(e:any):void {\n this.hasAnotherDropZoneOver = e;\n }\n}\n"},L4mq:function(e,t,n){var r=n("U5er"),o=n("PAFS"),i=r.key,s=r.map,l=r.store;r.exp({deleteMetadata:function(e,t){var n=arguments.length<3?void 0:i(arguments[2]),r=s(o(t),n,!1);if(void 0===r||!r.delete(e))return!1;if(r.size)return!0;var a=l.get(t);return a.delete(n),!!a.size||l.delete(t)}})},LAIM:function(e,t,n){var r=n("X6VK");r(r.S,"Object",{is:n("Nu7b")})},LEAW:function(e,t,n){var r=n("X6VK"),o=n("E7Vc"),i=n("GCOZ"),s=/"/g,l=function(e,t,n,r){var o=String(i(e)),l="<"+t;return""!==n&&(l+=" "+n+'="'+String(r).replace(s,""")+'"'),l+">"+o+"</"+t+">"};e.exports=function(e,t){var n={};n[e]=t(l),r(r.P+r.F*o(function(){var t=""[e]('"');return t!==t.toLowerCase()||t.split('"').length>3}),"String",n)}},LQHY:function(e,t,n){n("rDoJ"),n("FdQX"),n("bpc9"),n("OlDy"),n("rVjy"),n("VWwk"),n("CuWn"),n("z6jo"),n("aaOZ"),n("b3Uv"),n("Av18"),n("RCps"),n("AJKo"),n("DY28"),n("3Yeq"),n("/tvN"),n("j2i0"),e.exports=n("R5TD").Math},LXYL:function(e,t,n){var r=n("X6VK"),o=n("Vx+c"),i=n("b8Rm"),s=n("PAFS"),l=n("Bsg+"),a=n("E7Vc"),u=n("oAuq"),c=(n("P56o").Reflect||{}).construct,d=a(function(){function e(){}return!(c(function(){},[],e)instanceof e)}),h=!a(function(){c(function(){})});r(r.S+r.F*(d||h),"Reflect",{construct:function(e,t){i(e),s(t);var n=arguments.length<3?e:i(arguments[2]);if(h&&!d)return c(e,t,n);if(e==n){switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3])}var r=[null];return r.push.apply(r,t),new(u.apply(e,r))}var a=n.prototype,f=o(l(a)?a:Object.prototype),p=Function.apply.call(e,f,t);return l(p)?p:f}})},LrZJ:function(e,t,n){var r=n("m1Dn"),o=n("dvI3"),i=n("U5er"),s=n("PAFS"),l=n("A1KM"),a=i.keys,u=i.key,c=function(e,t){var n=a(e,t),i=l(e);if(null===i)return n;var s=c(i,t);return s.length?n.length?o(new r(n.concat(s))):s:n};i.exp({getMetadataKeys:function(e){return c(s(e),arguments.length<2?void 0:u(arguments[1]))}})},LuBU:function(e,t,n){var r=n("at5L"),o=n("fQty");e.exports=Object.keys||function(e){return r(e,o)}},"M/4x":function(e,t,n){var r=Date.prototype,o=r.toString,i=r.getTime;new Date(NaN)+""!="Invalid Date"&&n("sU/p")(r,"toString",function(){var e=i.call(this);return e==e?o.call(this):"Invalid Date"})},MBcE:function(e,t,n){"use strict";var r=n("PAFS");e.exports=function(){var e=r(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},MYxt:function(e,t,n){var r=n("X6VK");r(r.S,"Number",{isNaN:function(e){return e!=e}})},"N6/Q":function(e,t,n){"use strict";var r=n("lAKj");n("X6VK")({target:"RegExp",proto:!0,forced:r!==/./.exec},{exec:r})},NR3o:function(e,t,n){"use strict";var r=n("GGqZ"),o=n("LuBU"),i=n("0oPD"),s=n("IdFN"),l=n("UnHL"),a=n("Cmsx"),u=Object.assign;e.exports=!u||n("E7Vc")(function(){var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach(function(e){t[e]=e}),7!=u({},e)[n]||Object.keys(u({},t)).join("")!=r})?function(e,t){for(var n=l(e),u=arguments.length,c=1,d=i.f,h=s.f;u>c;)for(var f,p=a(arguments[c++]),g=d?o(p).concat(d(p)):o(p),m=g.length,v=0;m>v;)f=g[v++],r&&!h.call(p,f)||(n[f]=p[f]);return n}:u},"NVL/":function(e,t,n){var r=n("Bsg+"),o=n("n+VH"),i=n("9dxi")("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[i])?!!t:"RegExp"==o(e))}},Ndiv:function(e,t,n){"use strict";n("LEAW")("sub",function(e){return function(){return e(this,"sub","","")}})},NhxO:function(e,t,n){var r=n("X6VK");r(r.P,"String",{repeat:n("p1Jl")})},Nspt:function(e,t,n){n("t91x"),n("lQyR"),n("W1QL"),n("m1Dn"),e.exports=n("R5TD").Set},Nu7b:function(e,t){e.exports=Object.is||function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}},OFVL:function(e,t,n){var r=n("n+VH"),o=n("9dxi")("toStringTag"),i="Arguments"==r(function(){return arguments}());e.exports=function(e){var t,n,s;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(n){}}(t=Object(e),o))?n:i?r(t):"Object"==(s=r(t))&&"function"==typeof t.callee?"Arguments":s}},OcZp:function(e,t,n){n("7t+O"),n("ACU4"),n("thp7"),n("M/4x"),n("896O"),e.exports=Date},OfmW:function(e,t,n){var r=n("9dxi")("unscopables"),o=Array.prototype;null==o[r]&&n("tjmq")(o,r,{}),e.exports=function(e){o[r][e]=!0}},OlDy:function(e,t,n){var r=n("X6VK"),o=n("/69c");r(r.S,"Math",{cbrt:function(e){return o(e=+e)*Math.pow(Math.abs(e),1/3)}})},"P/oo":function(e,t,n){"use strict";var r=n("X6VK"),o=n("ml72"),i=n("mvii"),s=n("Sp5b"),l=[].lastIndexOf,a=!!l&&1/[1].lastIndexOf(1,-0)<0;r(r.P+r.F*(a||!n("/6rt")(l)),"Array",{lastIndexOf:function(e){if(a)return l.apply(this,arguments)||0;var t=o(this),n=s(t.length),r=n-1;for(arguments.length>1&&(r=Math.min(r,i(arguments[1]))),r<0&&(r=n+r);r>=0;r--)if(r in t&&t[r]===e)return r||0;return-1}})},P56o:function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},PAFS:function(e,t,n){var r=n("Bsg+");e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},PAbq:function(e,t,n){var r=n("X6VK");r(r.S,"Object",{create:n("Vx+c")})},PJhk:function(e,t,n){var r=n("Bsg+");n("gRlk")("isExtensible",function(e){return function(t){return!!r(t)&&(!e||e(t))}})},Pfmf:function(e,t,n){"use strict";var r=n("UnHL"),o=n("BUlT"),i=n("Sp5b");e.exports=function(e){for(var t=r(this),n=i(t.length),s=arguments.length,l=o(s>1?arguments[1]:void 0,n),a=s>2?arguments[2]:void 0,u=void 0===a?n:o(a,n);u>l;)t[l++]=e;return t}},Qno1:function(e,t,n){var r=n("Bsg+"),o=n("Xfku"),i=n("9dxi")("species");e.exports=function(e){var t;return o(e)&&("function"!=typeof(t=e.constructor)||t!==Array&&!o(t.prototype)||(t=void 0),r(t)&&null===(t=t[i])&&(t=void 0)),void 0===t?Array:t}},R5TD:function(e,t){var n=e.exports={version:"2.6.9"};"number"==typeof __e&&(__e=n)},RCps:function(e,t,n){var r=n("X6VK");r(r.S,"Math",{log1p:n("CbkB")})},S75U:function(e,t,n){"use strict";n("LEAW")("fontsize",function(e){return function(t){return e(this,"font","size",t)}})},SN8V:function(e,t){!function(e){const t=e.performance;function n(e){t&&t.mark&&t.mark(e)}function r(e,n){t&&t.measure&&t.measure(e,n)}n("Zone");const o=!0===e.__zone_symbol__forceDuplicateZoneCheck;if(e.Zone){if(o||"function"!=typeof e.Zone.__symbol__)throw new Error("Zone already loaded.");return e.Zone}class i{constructor(e,t){this._parent=e,this._name=t?t.name||"unnamed":"<root>",this._properties=t&&t.properties||{},this._zoneDelegate=new l(this,this._parent&&this._parent._zoneDelegate,t)}static assertZonePatched(){if(e.Promise!==T.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")}static get root(){let e=i.current;for(;e.parent;)e=e.parent;return e}static get current(){return A.zone}static get currentTask(){return O}static __load_patch(t,s){if(T.hasOwnProperty(t)){if(o)throw Error("Already loaded patch: "+t)}else if(!e["__Zone_disable_"+t]){const o="Zone:"+t;n(o),T[t]=s(e,i,I),r(o,o)}}get parent(){return this._parent}get name(){return this._name}get(e){const t=this.getZoneWith(e);if(t)return t._properties[e]}getZoneWith(e){let t=this;for(;t;){if(t._properties.hasOwnProperty(e))return t;t=t._parent}return null}fork(e){if(!e)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,e)}wrap(e,t){if("function"!=typeof e)throw new Error("Expecting function got: "+e);const n=this._zoneDelegate.intercept(this,e,t),r=this;return function(){return r.runGuarded(n,this,arguments,t)}}run(e,t,n,r){A={parent:A,zone:this};try{return this._zoneDelegate.invoke(this,e,t,n,r)}finally{A=A.parent}}runGuarded(e,t=null,n,r){A={parent:A,zone:this};try{try{return this._zoneDelegate.invoke(this,e,t,n,r)}catch(o){if(this._zoneDelegate.handleError(this,o))throw o}}finally{A=A.parent}}runTask(e,t,n){if(e.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(e.zone||v).name+"; Execution: "+this.name+")");if(e.state===y&&(e.type===C||e.type===k))return;const r=e.state!=w;r&&e._transitionTo(w,b),e.runCount++;const o=O;O=e,A={parent:A,zone:this};try{e.type==k&&e.data&&!e.data.isPeriodic&&(e.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,e,t,n)}catch(i){if(this._zoneDelegate.handleError(this,i))throw i}}finally{e.state!==y&&e.state!==E&&(e.type==C||e.data&&e.data.isPeriodic?r&&e._transitionTo(b,w):(e.runCount=0,this._updateTaskCount(e,-1),r&&e._transitionTo(y,w,y))),A=A.parent,O=o}}scheduleTask(e){if(e.zone&&e.zone!==this){let t=this;for(;t;){if(t===e.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${e.zone.name}`);t=t.parent}}e._transitionTo(_,y);const t=[];e._zoneDelegates=t,e._zone=this;try{e=this._zoneDelegate.scheduleTask(this,e)}catch(n){throw e._transitionTo(E,_,y),this._zoneDelegate.handleError(this,n),n}return e._zoneDelegates===t&&this._updateTaskCount(e,1),e.state==_&&e._transitionTo(b,_),e}scheduleMicroTask(e,t,n,r){return this.scheduleTask(new a(S,e,t,n,r,void 0))}scheduleMacroTask(e,t,n,r,o){return this.scheduleTask(new a(k,e,t,n,r,o))}scheduleEventTask(e,t,n,r,o){return this.scheduleTask(new a(C,e,t,n,r,o))}cancelTask(e){if(e.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(e.zone||v).name+"; Execution: "+this.name+")");e._transitionTo(x,b,w);try{this._zoneDelegate.cancelTask(this,e)}catch(t){throw e._transitionTo(E,x),this._zoneDelegate.handleError(this,t),t}return this._updateTaskCount(e,-1),e._transitionTo(y,x),e.runCount=0,e}_updateTaskCount(e,t){const n=e._zoneDelegates;-1==t&&(e._zoneDelegates=null);for(let r=0;r<n.length;r++)n[r]._updateTaskCount(e.type,t)}}i.__symbol__=N;const s={name:"",onHasTask:(e,t,n,r)=>e.hasTask(n,r),onScheduleTask:(e,t,n,r)=>e.scheduleTask(n,r),onInvokeTask:(e,t,n,r,o,i)=>e.invokeTask(n,r,o,i),onCancelTask:(e,t,n,r)=>e.cancelTask(n,r)};class l{constructor(e,t,n){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=e,this._parentDelegate=t,this._forkZS=n&&(n&&n.onFork?n:t._forkZS),this._forkDlgt=n&&(n.onFork?t:t._forkDlgt),this._forkCurrZone=n&&(n.onFork?this.zone:t.zone),this._interceptZS=n&&(n.onIntercept?n:t._interceptZS),this._interceptDlgt=n&&(n.onIntercept?t:t._interceptDlgt),this._interceptCurrZone=n&&(n.onIntercept?this.zone:t.zone),this._invokeZS=n&&(n.onInvoke?n:t._invokeZS),this._invokeDlgt=n&&(n.onInvoke?t:t._invokeDlgt),this._invokeCurrZone=n&&(n.onInvoke?this.zone:t.zone),this._handleErrorZS=n&&(n.onHandleError?n:t._handleErrorZS),this._handleErrorDlgt=n&&(n.onHandleError?t:t._handleErrorDlgt),this._handleErrorCurrZone=n&&(n.onHandleError?this.zone:t.zone),this._scheduleTaskZS=n&&(n.onScheduleTask?n:t._scheduleTaskZS),this._scheduleTaskDlgt=n&&(n.onScheduleTask?t:t._scheduleTaskDlgt),this._scheduleTaskCurrZone=n&&(n.onScheduleTask?this.zone:t.zone),this._invokeTaskZS=n&&(n.onInvokeTask?n:t._invokeTaskZS),this._invokeTaskDlgt=n&&(n.onInvokeTask?t:t._invokeTaskDlgt),this._invokeTaskCurrZone=n&&(n.onInvokeTask?this.zone:t.zone),this._cancelTaskZS=n&&(n.onCancelTask?n:t._cancelTaskZS),this._cancelTaskDlgt=n&&(n.onCancelTask?t:t._cancelTaskDlgt),this._cancelTaskCurrZone=n&&(n.onCancelTask?this.zone:t.zone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const r=n&&n.onHasTask;(r||t&&t._hasTaskZS)&&(this._hasTaskZS=r?n:s,this._hasTaskDlgt=t,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=e,n.onScheduleTask||(this._scheduleTaskZS=s,this._scheduleTaskDlgt=t,this._scheduleTaskCurrZone=this.zone),n.onInvokeTask||(this._invokeTaskZS=s,this._invokeTaskDlgt=t,this._invokeTaskCurrZone=this.zone),n.onCancelTask||(this._cancelTaskZS=s,this._cancelTaskDlgt=t,this._cancelTaskCurrZone=this.zone))}fork(e,t){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,e,t):new i(e,t)}intercept(e,t,n){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,e,t,n):t}invoke(e,t,n,r,o){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,e,t,n,r,o):t.apply(n,r)}handleError(e,t){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,e,t)}scheduleTask(e,t){let n=t;if(this._scheduleTaskZS)this._hasTaskZS&&n._zoneDelegates.push(this._hasTaskDlgtOwner),(n=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,e,t))||(n=t);else if(t.scheduleFn)t.scheduleFn(t);else{if(t.type!=S)throw new Error("Task is missing scheduleFn.");g(t)}return n}invokeTask(e,t,n,r){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,e,t,n,r):t.callback.apply(n,r)}cancelTask(e,t){let n;if(this._cancelTaskZS)n=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,e,t);else{if(!t.cancelFn)throw Error("Task is not cancelable");n=t.cancelFn(t)}return n}hasTask(e,t){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,e,t)}catch(n){this.handleError(e,n)}}_updateTaskCount(e,t){const n=this._taskCounts,r=n[e],o=n[e]=r+t;if(o<0)throw new Error("More tasks executed then were scheduled.");0!=r&&0!=o||this.hasTask(this.zone,{microTask:n.microTask>0,macroTask:n.macroTask>0,eventTask:n.eventTask>0,change:e})}}class a{constructor(t,n,r,o,i,s){this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=t,this.source=n,this.data=o,this.scheduleFn=i,this.cancelFn=s,this.callback=r;const l=this;this.invoke=t===C&&o&&o.useG?a.invokeTask:function(){return a.invokeTask.call(e,l,this,arguments)}}static invokeTask(e,t,n){e||(e=this),D++;try{return e.runCount++,e.zone.runTask(e,t,n)}finally{1==D&&m(),D--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(y,_)}_transitionTo(e,t,n){if(this._state!==t&&this._state!==n)throw new Error(`${this.type} '${this.source}': can not transition to '${e}', expecting state '${t}'${n?" or '"+n+"'":""}, was '${this._state}'.`);this._state=e,e==y&&(this._zoneDelegates=null)}toString(){return this.data&&void 0!==this.data.handleId?this.data.handleId.toString():Object.prototype.toString.call(this)}toJSON(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}const u=N("setTimeout"),c=N("Promise"),d=N("then");let h,f=[],p=!1;function g(t){if(0===D&&0===f.length)if(h||e[c]&&(h=e[c].resolve(0)),h){let e=h[d];e||(e=h.then),e.call(h,m)}else e[u](m,0);t&&f.push(t)}function m(){if(!p){for(p=!0;f.length;){const t=f;f=[];for(let n=0;n<t.length;n++){const r=t[n];try{r.zone.runTask(r,null,null)}catch(e){I.onUnhandledError(e)}}}I.microtaskDrainDone(),p=!1}}const v={name:"NO ZONE"},y="notScheduled",_="scheduling",b="scheduled",w="running",x="canceling",E="unknown",S="microTask",k="macroTask",C="eventTask",T={},I={symbol:N,currentZoneFrame:()=>A,onUnhandledError:P,microtaskDrainDone:P,scheduleMicroTask:g,showUncaughtError:()=>!i[N("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:P,patchMethod:()=>P,bindArguments:()=>[],patchThen:()=>P,patchMacroTask:()=>P,setNativePromise:e=>{e&&"function"==typeof e.resolve&&(h=e.resolve(0))},patchEventPrototype:()=>P,isIEOrEdge:()=>!1,getGlobalObjects:()=>void 0,ObjectDefineProperty:()=>P,ObjectGetOwnPropertyDescriptor:()=>void 0,ObjectCreate:()=>void 0,ArraySlice:()=>[],patchClass:()=>P,wrapWithCurrentZone:()=>P,filterProperties:()=>[],attachOriginToPatched:()=>P,_redefineProperty:()=>P,patchCallbacks:()=>P};let A={parent:null,zone:new i(null,null)},O=null,D=0;function P(){}function N(e){return"__zone_symbol__"+e}r("Zone","Zone"),e.Zone=i}("undefined"!=typeof window&&window||"undefined"!=typeof self&&self||global),Zone.__load_patch("ZoneAwarePromise",(e,t,n)=>{const r=Object.getOwnPropertyDescriptor,o=Object.defineProperty,i=n.symbol,s=[],l=i("Promise"),a=i("then"),u="__creationTrace__";n.onUnhandledError=e=>{if(n.showUncaughtError()){const t=e&&e.rejection;t?console.error("Unhandled Promise rejection:",t instanceof Error?t.message:t,"; Zone:",e.zone.name,"; Task:",e.task&&e.task.source,"; Value:",t,t instanceof Error?t.stack:void 0):console.error(e)}},n.microtaskDrainDone=()=>{for(;s.length;)for(;s.length;){const t=s.shift();try{t.zone.runGuarded(()=>{throw t})}catch(e){d(e)}}};const c=i("unhandledPromiseRejectionHandler");function d(e){n.onUnhandledError(e);try{const n=t[c];n&&"function"==typeof n&&n.call(this,e)}catch(r){}}function h(e){return e&&e.then}function f(e){return e}function p(e){return F.reject(e)}const g=i("state"),m=i("value"),v=i("finally"),y=i("parentPromiseValue"),_=i("parentPromiseState"),b="Promise.then",w=null,x=!0,E=!1,S=0;function k(e,t){return n=>{try{A(e,t,n)}catch(r){A(e,!1,r)}}}const C=function(){let e=!1;return function(t){return function(){e||(e=!0,t.apply(null,arguments))}}},T="Promise resolved with itself",I=i("currentTaskTrace");function A(e,r,i){const l=C();if(e===i)throw new TypeError(T);if(e[g]===w){let d=null;try{"object"!=typeof i&&"function"!=typeof i||(d=i&&i.then)}catch(c){return l(()=>{A(e,!1,c)})(),e}if(r!==E&&i instanceof F&&i.hasOwnProperty(g)&&i.hasOwnProperty(m)&&i[g]!==w)D(i),A(e,i[g],i[m]);else if(r!==E&&"function"==typeof d)try{d.call(i,l(k(e,r)),l(k(e,!1)))}catch(c){l(()=>{A(e,!1,c)})()}else{e[g]=r;const l=e[m];if(e[m]=i,e[v]===v&&r===x&&(e[g]=e[_],e[m]=e[y]),r===E&&i instanceof Error){const e=t.currentTask&&t.currentTask.data&&t.currentTask.data[u];e&&o(i,I,{configurable:!0,enumerable:!1,writable:!0,value:e})}for(let t=0;t<l.length;)P(e,l[t++],l[t++],l[t++],l[t++]);if(0==l.length&&r==E){e[g]=S;try{throw new Error("Uncaught (in promise): "+((a=i)&&a.toString===Object.prototype.toString?(a.constructor&&a.constructor.name||"")+": "+JSON.stringify(a):a?a.toString():Object.prototype.toString.call(a))+(i&&i.stack?"\n"+i.stack:""))}catch(c){const r=c;r.rejection=i,r.promise=e,r.zone=t.current,r.task=t.currentTask,s.push(r),n.scheduleMicroTask()}}}}var a;return e}const O=i("rejectionHandledHandler");function D(e){if(e[g]===S){try{const r=t[O];r&&"function"==typeof r&&r.call(this,{rejection:e[m],promise:e})}catch(n){}e[g]=E;for(let t=0;t<s.length;t++)e===s[t].promise&&s.splice(t,1)}}function P(e,t,n,r,o){D(e);const i=e[g],s=i?"function"==typeof r?r:f:"function"==typeof o?o:p;t.scheduleMicroTask(b,()=>{try{const o=e[m],l=n&&v===n[v];l&&(n[y]=o,n[_]=i);const a=t.run(s,void 0,l&&s!==p&&s!==f?[]:[o]);A(n,!0,a)}catch(r){A(n,!1,r)}},n)}const N="function ZoneAwarePromise() { [native code] }";class F{constructor(e){const t=this;if(!(t instanceof F))throw new Error("Must be an instanceof Promise.");t[g]=w,t[m]=[];try{e&&e(k(t,x),k(t,E))}catch(n){A(t,!1,n)}}static toString(){return N}static resolve(e){return A(new this(null),x,e)}static reject(e){return A(new this(null),E,e)}static race(e){let t,n,r=new this((e,r)=>{t=e,n=r});function o(e){t(e)}function i(e){n(e)}for(let s of e)h(s)||(s=this.resolve(s)),s.then(o,i);return r}static all(e){let t,n,r=new this((e,r)=>{t=e,n=r}),o=2,i=0;const s=[];for(let l of e){h(l)||(l=this.resolve(l));const e=i;l.then(n=>{s[e]=n,0==--o&&t(s)},n),o++,i++}return 0==(o-=2)&&t(s),r}get[Symbol.toStringTag](){return"Promise"}then(e,n){const r=new this.constructor(null),o=t.current;return this[g]==w?this[m].push(o,r,e,n):P(this,o,r,e,n),r}catch(e){return this.then(null,e)}finally(e){const n=new this.constructor(null);n[v]=v;const r=t.current;return this[g]==w?this[m].push(r,n,e,e):P(this,r,n,e,e),n}}F.resolve=F.resolve,F.reject=F.reject,F.race=F.race,F.all=F.all;const M=e[l]=e.Promise,R=t.__symbol__("ZoneAwarePromise");let V=r(e,"Promise");V&&!V.configurable||(V&&delete V.writable,V&&delete V.value,V||(V={configurable:!0,enumerable:!0}),V.get=function(){return e[R]?e[R]:e[l]},V.set=function(t){t===F?e[R]=t:(e[l]=t,t.prototype[a]||L(t),n.setNativePromise(t))},o(e,"Promise",V)),e.Promise=F;const j=i("thenPatched");function L(e){const t=e.prototype,n=r(t,"then");if(n&&(!1===n.writable||!n.configurable))return;const o=t.then;t[a]=o,e.prototype.then=function(e,t){return new F((e,t)=>{o.call(this,e,t)}).then(e,t)},e[j]=!0}if(n.patchThen=L,M){L(M);const t=e.fetch;"function"==typeof t&&(e[n.symbol("fetch")]=t,e.fetch=function(e){return function(){let t=e.apply(this,arguments);if(t instanceof F)return t;let n=t.constructor;return n[j]||L(n),t}}(t))}return Promise[t.__symbol__("uncaughtPromiseErrors")]=s,F});const n=Object.getOwnPropertyDescriptor,r=Object.defineProperty,o=Object.getPrototypeOf,i=Object.create,s=Array.prototype.slice,l="addEventListener",a="removeEventListener",u=Zone.__symbol__(l),c=Zone.__symbol__(a),d="true",h="false",f="__zone_symbol__";function p(e,t){return Zone.current.wrap(e,t)}function g(e,t,n,r,o){return Zone.current.scheduleMacroTask(e,t,n,r,o)}const m=Zone.__symbol__,v="undefined"!=typeof window,y=v?window:void 0,_=v&&y||"object"==typeof self&&self||global,b="removeAttribute",w=[null];function x(e,t){for(let n=e.length-1;n>=0;n--)"function"==typeof e[n]&&(e[n]=p(e[n],t+"_"+n));return e}function E(e){return!e||!1!==e.writable&&!("function"==typeof e.get&&void 0===e.set)}const S="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope,k=!("nw"in _)&&void 0!==_.process&&"[object process]"==={}.toString.call(_.process),C=!k&&!S&&!(!v||!y.HTMLElement),T=void 0!==_.process&&"[object process]"==={}.toString.call(_.process)&&!S&&!(!v||!y.HTMLElement),I={},A=function(e){if(!(e=e||_.event))return;let t=I[e.type];t||(t=I[e.type]=m("ON_PROPERTY"+e.type));const n=this||e.target||_,r=n[t];let o;if(C&&n===y&&"error"===e.type){const t=e;!0===(o=r&&r.call(this,t.message,t.filename,t.lineno,t.colno,t.error))&&e.preventDefault()}else null==(o=r&&r.apply(this,arguments))||o||e.preventDefault();return o};function O(e,t,o){let i=n(e,t);if(!i&&o&&n(o,t)&&(i={enumerable:!0,configurable:!0}),!i||!i.configurable)return;const s=m("on"+t+"patched");if(e.hasOwnProperty(s)&&e[s])return;delete i.writable,delete i.value;const l=i.get,a=i.set,u=t.substr(2);let c=I[u];c||(c=I[u]=m("ON_PROPERTY"+u)),i.set=function(t){let n=this;n||e!==_||(n=_),n&&(n[c]&&n.removeEventListener(u,A),a&&a.apply(n,w),"function"==typeof t?(n[c]=t,n.addEventListener(u,A,!1)):n[c]=null)},i.get=function(){let n=this;if(n||e!==_||(n=_),!n)return null;const r=n[c];if(r)return r;if(l){let e=l&&l.call(this);if(e)return i.set.call(this,e),"function"==typeof n[b]&&n.removeAttribute(t),e}return null},r(e,t,i),e[s]=!0}function D(e,t,n){if(t)for(let r=0;r<t.length;r++)O(e,"on"+t[r],n);else{const t=[];for(const n in e)"on"==n.substr(0,2)&&t.push(n);for(let r=0;r<t.length;r++)O(e,t[r],n)}}const P=m("originalInstance");function N(e){const t=_[e];if(!t)return;_[m(e)]=t,_[e]=function(){const n=x(arguments,e);switch(n.length){case 0:this[P]=new t;break;case 1:this[P]=new t(n[0]);break;case 2:this[P]=new t(n[0],n[1]);break;case 3:this[P]=new t(n[0],n[1],n[2]);break;case 4:this[P]=new t(n[0],n[1],n[2],n[3]);break;default:throw new Error("Arg list too long.")}},V(_[e],t);const n=new t(function(){});let o;for(o in n)"XMLHttpRequest"===e&&"responseBlob"===o||function(t){"function"==typeof n[t]?_[e].prototype[t]=function(){return this[P][t].apply(this[P],arguments)}:r(_[e].prototype,t,{set:function(n){"function"==typeof n?(this[P][t]=p(n,e+"."+t),V(this[P][t],n)):this[P][t]=n},get:function(){return this[P][t]}})}(o);for(o in t)"prototype"!==o&&t.hasOwnProperty(o)&&(_[e][o]=t[o])}let F=!1;function M(e,t,r){let i=e;for(;i&&!i.hasOwnProperty(t);)i=o(i);!i&&e[t]&&(i=e);const s=m(t);let l=null;if(i&&!(l=i[s])&&(l=i[s]=i[t],E(i&&n(i,t)))){const e=r(l,s,t);i[t]=function(){return e(this,arguments)},V(i[t],l),F&&(a=l,u=i[t],"function"==typeof Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(a).forEach(e=>{const t=Object.getOwnPropertyDescriptor(a,e);Object.defineProperty(u,e,{get:function(){return a[e]},set:function(n){(!t||t.writable&&"function"==typeof t.set)&&(a[e]=n)},enumerable:!t||t.enumerable,configurable:!t||t.configurable})}))}var a,u;return l}function R(e,t,n){let r=null;function o(e){const t=e.data;return t.args[t.cbIdx]=function(){e.invoke.apply(this,arguments)},r.apply(t.target,t.args),e}r=M(e,t,e=>(function(t,r){const i=n(t,r);return i.cbIdx>=0&&"function"==typeof r[i.cbIdx]?g(i.name,r[i.cbIdx],i,o):e.apply(t,r)}))}function V(e,t){e[m("OriginalDelegate")]=t}let j=!1,L=!1;function z(){if(j)return L;j=!0;try{const t=y.navigator.userAgent;-1===t.indexOf("MSIE ")&&-1===t.indexOf("Trident/")&&-1===t.indexOf("Edge/")||(L=!0)}catch(e){}return L}Zone.__load_patch("toString",e=>{const t=Function.prototype.toString,n=m("OriginalDelegate"),r=m("Promise"),o=m("Error"),i=function(){if("function"==typeof this){const i=this[n];if(i)return"function"==typeof i?t.call(i):Object.prototype.toString.call(i);if(this===Promise){const n=e[r];if(n)return t.call(n)}if(this===Error){const n=e[o];if(n)return t.call(n)}}return t.call(this)};i[n]=t,Function.prototype.toString=i;const s=Object.prototype.toString;Object.prototype.toString=function(){return this instanceof Promise?"[object Promise]":s.call(this)}});let U=!1;if("undefined"!=typeof window)try{const e=Object.defineProperty({},"passive",{get:function(){U=!0}});window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch(xe){U=!1}const Z={useG:!0},H={},B={},K=/^__zone_symbol__(\w+)(true|false)$/,q="__zone_symbol__propagationStopped";function G(e,t,n){const r=n&&n.add||l,i=n&&n.rm||a,s=n&&n.listeners||"eventListeners",u=n&&n.rmAll||"removeAllListeners",c=m(r),p="."+r+":",g="prependListener",v="."+g+":",y=function(e,t,n){if(e.isRemoved)return;const r=e.callback;"object"==typeof r&&r.handleEvent&&(e.callback=e=>r.handleEvent(e),e.originalDelegate=r),e.invoke(e,t,[n]);const o=e.options;o&&"object"==typeof o&&o.once&&t[i].call(t,n.type,e.originalDelegate?e.originalDelegate:e.callback,o)},_=function(t){if(!(t=t||e.event))return;const n=this||t.target||e,r=n[H[t.type][h]];if(r)if(1===r.length)y(r[0],n,t);else{const e=r.slice();for(let r=0;r<e.length&&(!t||!0!==t[q]);r++)y(e[r],n,t)}},b=function(t){if(!(t=t||e.event))return;const n=this||t.target||e,r=n[H[t.type][d]];if(r)if(1===r.length)y(r[0],n,t);else{const e=r.slice();for(let r=0;r<e.length&&(!t||!0!==t[q]);r++)y(e[r],n,t)}};function w(t,n){if(!t)return!1;let l=!0;n&&void 0!==n.useG&&(l=n.useG);const a=n&&n.vh;let y=!0;n&&void 0!==n.chkDup&&(y=n.chkDup);let w=!1;n&&void 0!==n.rt&&(w=n.rt);let x=t;for(;x&&!x.hasOwnProperty(r);)x=o(x);if(!x&&t[r]&&(x=t),!x)return!1;if(x[c])return!1;const E=n&&n.eventNameToString,S={},C=x[c]=x[r],T=x[m(i)]=x[i],I=x[m(s)]=x[s],A=x[m(u)]=x[u];let O;function D(e){U||"boolean"==typeof S.options||null==S.options||(e.options=!!S.options.capture,S.options=e.options)}n&&n.prepend&&(O=x[m(n.prepend)]=x[n.prepend]);const P=l?function(e){if(!S.isExisting)return D(e),C.call(S.target,S.eventName,S.capture?b:_,S.options)}:function(e){return D(e),C.call(S.target,S.eventName,e.invoke,S.options)},N=l?function(e){if(!e.isRemoved){const t=H[e.eventName];let n;t&&(n=t[e.capture?d:h]);const r=n&&e.target[n];if(r)for(let o=0;o<r.length;o++)if(r[o]===e){r.splice(o,1),e.isRemoved=!0,0===r.length&&(e.allRemoved=!0,e.target[n]=null);break}}if(e.allRemoved)return T.call(e.target,e.eventName,e.capture?b:_,e.options)}:function(e){return T.call(e.target,e.eventName,e.invoke,e.options)},F=n&&n.diff?n.diff:function(e,t){const n=typeof t;return"function"===n&&e.callback===t||"object"===n&&e.originalDelegate===t},M=Zone[Zone.__symbol__("BLACK_LISTED_EVENTS")],R=function(t,n,r,o,i=!1,s=!1){return function(){const u=this||e,c=arguments[0];let p=arguments[1];if(!p)return t.apply(this,arguments);if(k&&"uncaughtException"===c)return t.apply(this,arguments);let g=!1;if("function"!=typeof p){if(!p.handleEvent)return t.apply(this,arguments);g=!0}if(a&&!a(t,p,u,arguments))return;const m=arguments[2];if(M)for(let e=0;e<M.length;e++)if(c===M[e])return t.apply(this,arguments);let v,_=!1;void 0===m?v=!1:!0===m?v=!0:!1===m?v=!1:(v=!!m&&!!m.capture,_=!!m&&!!m.once);const b=Zone.current,w=H[c];let x;if(w)x=w[v?d:h];else{const e=(E?E(c):c)+h,t=(E?E(c):c)+d,n=f+e,r=f+t;H[c]={},H[c][h]=n,H[c][d]=r,x=v?r:n}let C,T=u[x],I=!1;if(T){if(I=!0,y)for(let e=0;e<T.length;e++)if(F(T[e],p))return}else T=u[x]=[];const A=u.constructor.name,O=B[A];O&&(C=O[c]),C||(C=A+n+(E?E(c):c)),S.options=m,_&&(S.options.once=!1),S.target=u,S.capture=v,S.eventName=c,S.isExisting=I;const D=l?Z:void 0;D&&(D.taskData=S);const P=b.scheduleEventTask(C,p,D,r,o);return S.target=null,D&&(D.taskData=null),_&&(m.once=!0),(U||"boolean"!=typeof P.options)&&(P.options=m),P.target=u,P.capture=v,P.eventName=c,g&&(P.originalDelegate=p),s?T.unshift(P):T.push(P),i?u:void 0}};return x[r]=R(C,p,P,N,w),O&&(x[g]=R(O,v,function(e){return O.call(S.target,S.eventName,e.invoke,S.options)},N,w,!0)),x[i]=function(){const t=this||e,n=arguments[0],r=arguments[2];let o;o=void 0!==r&&(!0===r||!1!==r&&!!r&&!!r.capture);const i=arguments[1];if(!i)return T.apply(this,arguments);if(a&&!a(T,i,t,arguments))return;const s=H[n];let l;s&&(l=s[o?d:h]);const u=l&&t[l];if(u)for(let e=0;e<u.length;e++){const n=u[e];if(F(n,i))return u.splice(e,1),n.isRemoved=!0,0===u.length&&(n.allRemoved=!0,t[l]=null),n.zone.cancelTask(n),w?t:void 0}return T.apply(this,arguments)},x[s]=function(){const t=this||e,n=arguments[0],r=[],o=$(t,E?E(n):n);for(let e=0;e<o.length;e++){const t=o[e];r.push(t.originalDelegate?t.originalDelegate:t.callback)}return r},x[u]=function(){const t=this||e,n=arguments[0];if(n){const e=H[n];if(e){const r=t[e[h]],o=t[e[d]];if(r){const e=r.slice();for(let t=0;t<e.length;t++){const r=e[t];this[i].call(this,n,r.originalDelegate?r.originalDelegate:r.callback,r.options)}}if(o){const e=o.slice();for(let t=0;t<e.length;t++){const r=e[t];this[i].call(this,n,r.originalDelegate?r.originalDelegate:r.callback,r.options)}}}}else{const e=Object.keys(t);for(let t=0;t<e.length;t++){const n=K.exec(e[t]);let r=n&&n[1];r&&"removeListener"!==r&&this[u].call(this,r)}this[u].call(this,"removeListener")}if(w)return this},V(x[r],C),V(x[i],T),A&&V(x[u],A),I&&V(x[s],I),!0}let x=[];for(let o=0;o<t.length;o++)x[o]=w(t[o],n);return x}function $(e,t){const n=[];for(let r in e){const o=K.exec(r);let i=o&&o[1];if(i&&(!t||i===t)){const t=e[r];if(t)for(let e=0;e<t.length;e++)n.push(t[e])}}return n}function X(e,t){const n=e.Event;n&&n.prototype&&t.patchMethod(n.prototype,"stopImmediatePropagation",e=>(function(t,n){t[q]=!0,e&&e.apply(t,n)}))}function W(e,t,n,r,o){const i=Zone.__symbol__(r);if(t[i])return;const s=t[i]=t[r];t[r]=function(i,l,a){return l&&l.prototype&&o.forEach(function(t){const o=`${n}.${r}::`+t,i=l.prototype;if(i.hasOwnProperty(t)){const n=e.ObjectGetOwnPropertyDescriptor(i,t);n&&n.value?(n.value=e.wrapWithCurrentZone(n.value,o),e._redefineProperty(l.prototype,t,n)):i[t]&&(i[t]=e.wrapWithCurrentZone(i[t],o))}else i[t]&&(i[t]=e.wrapWithCurrentZone(i[t],o))}),s.call(t,i,l,a)},e.attachOriginToPatched(t[r],s)}const Q=Zone.__symbol__,J=Object[Q("defineProperty")]=Object.defineProperty,Y=Object[Q("getOwnPropertyDescriptor")]=Object.getOwnPropertyDescriptor,ee=Object.create,te=Q("unconfigurables");function ne(e,t,n){const r=n.configurable;return ie(e,t,n=oe(e,t,n),r)}function re(e,t){return e&&e[te]&&e[te][t]}function oe(e,t,n){return Object.isFrozen(n)||(n.configurable=!0),n.configurable||(e[te]||Object.isFrozen(e)||J(e,te,{writable:!0,value:{}}),e[te]&&(e[te][t]=!0)),n}function ie(e,t,n,r){try{return J(e,t,n)}catch(o){if(!n.configurable)throw o;void 0===r?delete n.configurable:n.configurable=r;try{return J(e,t,n)}catch(o){let r=null;try{r=JSON.stringify(n)}catch(o){r=n.toString()}console.log(`Attempting to configure '${t}' with descriptor '${r}' on object '${e}' and got error, giving up: ${o}`)}}}const se=["absolutedeviceorientation","afterinput","afterprint","appinstalled","beforeinstallprompt","beforeprint","beforeunload","devicelight","devicemotion","deviceorientation","deviceorientationabsolute","deviceproximity","hashchange","languagechange","message","mozbeforepaint","offline","online","paint","pageshow","pagehide","popstate","rejectionhandled","storage","unhandledrejection","unload","userproximity","vrdisplyconnected","vrdisplaydisconnected","vrdisplaypresentchange"],le=["encrypted","waitingforkey","msneedkey","mozinterruptbegin","mozinterruptend"],ae=["load"],ue=["blur","error","focus","load","resize","scroll","messageerror"],ce=["bounce","finish","start"],de=["loadstart","progress","abort","error","load","progress","timeout","loadend","readystatechange"],he=["upgradeneeded","complete","abort","success","error","blocked","versionchange","close"],fe=["close","error","open","message"],pe=["error","message"],ge=["abort","animationcancel","animationend","animationiteration","auxclick","beforeinput","blur","cancel","canplay","canplaythrough","change","compositionstart","compositionupdate","compositionend","cuechange","click","close","contextmenu","curechange","dblclick","drag","dragend","dragenter","dragexit","dragleave","dragover","drop","durationchange","emptied","ended","error","focus","focusin","focusout","gotpointercapture","input","invalid","keydown","keypress","keyup","load","loadstart","loadeddata","loadedmetadata","lostpointercapture","mousedown","mouseenter","mouseleave","mousemove","mouseout","mouseover","mouseup","mousewheel","orientationchange","pause","play","playing","pointercancel","pointerdown","pointerenter","pointerleave","pointerlockchange","mozpointerlockchange","webkitpointerlockerchange","pointerlockerror","mozpointerlockerror","webkitpointerlockerror","pointermove","pointout","pointerover","pointerup","progress","ratechange","reset","resize","scroll","seeked","seeking","select","selectionchange","selectstart","show","sort","stalled","submit","suspend","timeupdate","volumechange","touchcancel","touchmove","touchstart","touchend","transitioncancel","transitionend","waiting","wheel"].concat(["webglcontextrestored","webglcontextlost","webglcontextcreationerror"],["autocomplete","autocompleteerror"],["toggle"],["afterscriptexecute","beforescriptexecute","DOMContentLoaded","freeze","fullscreenchange","mozfullscreenchange","webkitfullscreenchange","msfullscreenchange","fullscreenerror","mozfullscreenerror","webkitfullscreenerror","msfullscreenerror","readystatechange","visibilitychange","resume"],se,["beforecopy","beforecut","beforepaste","copy","cut","paste","dragstart","loadend","animationstart","search","transitionrun","transitionstart","webkitanimationend","webkitanimationiteration","webkitanimationstart","webkittransitionend"],["activate","afterupdate","ariarequest","beforeactivate","beforedeactivate","beforeeditfocus","beforeupdate","cellchange","controlselect","dataavailable","datasetchanged","datasetcomplete","errorupdate","filterchange","layoutcomplete","losecapture","move","moveend","movestart","propertychange","resizeend","resizestart","rowenter","rowexit","rowsdelete","rowsinserted","command","compassneedscalibration","deactivate","help","mscontentzoom","msmanipulationstatechanged","msgesturechange","msgesturedoubletap","msgestureend","msgesturehold","msgesturestart","msgesturetap","msgotpointercapture","msinertiastart","mslostpointercapture","mspointercancel","mspointerdown","mspointerenter","mspointerhover","mspointerleave","mspointermove","mspointerout","mspointerover","mspointerup","pointerout","mssitemodejumplistitemremoved","msthumbnailclick","stop","storagecommit"]);function me(e,t,n){if(!n||0===n.length)return t;const r=n.filter(t=>t.target===e);if(!r||0===r.length)return t;const o=r[0].ignoreProperties;return t.filter(e=>-1===o.indexOf(e))}function ve(e,t,n,r){e&&D(e,me(e,t,n),r)}function ye(e,t){if(k&&!T)return;if(Zone[e.symbol("patchEvents")])return;const n="undefined"!=typeof WebSocket,r=t.__Zone_ignore_on_properties;if(C){const e=window,t=function(){try{const n=e.navigator.userAgent;if(-1!==n.indexOf("MSIE ")||-1!==n.indexOf("Trident/"))return!0}catch(t){}return!1}?[{target:e,ignoreProperties:["error"]}]:[];ve(e,ge.concat(["messageerror"]),r?r.concat(t):r,o(e)),ve(Document.prototype,ge,r),void 0!==e.SVGElement&&ve(e.SVGElement.prototype,ge,r),ve(Element.prototype,ge,r),ve(HTMLElement.prototype,ge,r),ve(HTMLMediaElement.prototype,le,r),ve(HTMLFrameSetElement.prototype,se.concat(ue),r),ve(HTMLBodyElement.prototype,se.concat(ue),r),ve(HTMLFrameElement.prototype,ae,r),ve(HTMLIFrameElement.prototype,ae,r);const n=e.HTMLMarqueeElement;n&&ve(n.prototype,ce,r);const i=e.Worker;i&&ve(i.prototype,pe,r)}const i=t.XMLHttpRequest;i&&ve(i.prototype,de,r);const s=t.XMLHttpRequestEventTarget;s&&ve(s&&s.prototype,de,r),"undefined"!=typeof IDBIndex&&(ve(IDBIndex.prototype,he,r),ve(IDBRequest.prototype,he,r),ve(IDBOpenDBRequest.prototype,he,r),ve(IDBDatabase.prototype,he,r),ve(IDBTransaction.prototype,he,r),ve(IDBCursor.prototype,he,r)),n&&ve(WebSocket.prototype,fe,r)}Zone.__load_patch("util",(e,t,o)=>{o.patchOnProperties=D,o.patchMethod=M,o.bindArguments=x,o.patchMacroTask=R;const u=t.__symbol__("BLACK_LISTED_EVENTS"),c=t.__symbol__("UNPATCHED_EVENTS");e[c]&&(e[u]=e[c]),e[u]&&(t[u]=t[c]=e[u]),o.patchEventPrototype=X,o.patchEventTarget=G,o.isIEOrEdge=z,o.ObjectDefineProperty=r,o.ObjectGetOwnPropertyDescriptor=n,o.ObjectCreate=i,o.ArraySlice=s,o.patchClass=N,o.wrapWithCurrentZone=p,o.filterProperties=me,o.attachOriginToPatched=V,o._redefineProperty=ne,o.patchCallbacks=W,o.getGlobalObjects=()=>({globalSources:B,zoneSymbolEventNames:H,eventNames:ge,isBrowser:C,isMix:T,isNode:k,TRUE_STR:d,FALSE_STR:h,ZONE_SYMBOL_PREFIX:f,ADD_EVENT_LISTENER_STR:l,REMOVE_EVENT_LISTENER_STR:a})});const _e=m("zoneTask");function be(e,t,n,r){let o=null,i=null;n+=r;const s={};function l(t){const n=t.data;return n.args[0]=function(){try{t.invoke.apply(this,arguments)}finally{t.data&&t.data.isPeriodic||("number"==typeof n.handleId?delete s[n.handleId]:n.handleId&&(n.handleId[_e]=null))}},n.handleId=o.apply(e,n.args),t}function a(e){return i(e.data.handleId)}o=M(e,t+=r,n=>(function(o,i){if("function"==typeof i[0]){const e=g(t,i[0],{isPeriodic:"Interval"===r,delay:"Timeout"===r||"Interval"===r?i[1]||0:void 0,args:i},l,a);if(!e)return e;const n=e.data.handleId;return"number"==typeof n?s[n]=e:n&&(n[_e]=e),n&&n.ref&&n.unref&&"function"==typeof n.ref&&"function"==typeof n.unref&&(e.ref=n.ref.bind(n),e.unref=n.unref.bind(n)),"number"==typeof n||n?n:e}return n.apply(e,i)})),i=M(e,n,t=>(function(n,r){const o=r[0];let i;"number"==typeof o?i=s[o]:(i=o&&o[_e])||(i=o),i&&"string"==typeof i.type?"notScheduled"!==i.state&&(i.cancelFn&&i.data.isPeriodic||0===i.runCount)&&("number"==typeof o?delete s[o]:o&&(o[_e]=null),i.zone.cancelTask(i)):t.apply(e,r)}))}function we(e,t){if(Zone[t.symbol("patchEventTarget")])return;const{eventNames:n,zoneSymbolEventNames:r,TRUE_STR:o,FALSE_STR:i,ZONE_SYMBOL_PREFIX:s}=t.getGlobalObjects();for(let a=0;a<n.length;a++){const e=n[a],t=s+(e+i),l=s+(e+o);r[e]={},r[e][i]=t,r[e][o]=l}const l=e.EventTarget;return l&&l.prototype?(t.patchEventTarget(e,[l&&l.prototype]),!0):void 0}Zone.__load_patch("legacy",e=>{const t=e[Zone.__symbol__("legacyPatch")];t&&t()}),Zone.__load_patch("timers",e=>{be(e,"set","clear","Timeout"),be(e,"set","clear","Interval"),be(e,"set","clear","Immediate")}),Zone.__load_patch("requestAnimationFrame",e=>{be(e,"request","cancel","AnimationFrame"),be(e,"mozRequest","mozCancel","AnimationFrame"),be(e,"webkitRequest","webkitCancel","AnimationFrame")}),Zone.__load_patch("blocking",(e,t)=>{const n=["alert","prompt","confirm"];for(let r=0;r<n.length;r++)M(e,n[r],(n,r,o)=>(function(r,i){return t.current.run(n,e,i,o)}))}),Zone.__load_patch("EventTarget",(e,t,n)=>{!function(e,t){t.patchEventPrototype(e,t)}(e,n),we(e,n);const r=e.XMLHttpRequestEventTarget;r&&r.prototype&&n.patchEventTarget(e,[r.prototype]),N("MutationObserver"),N("WebKitMutationObserver"),N("IntersectionObserver"),N("FileReader")}),Zone.__load_patch("on_property",(e,t,n)=>{ye(n,e),Object.defineProperty=function(e,t,n){if(re(e,t))throw new TypeError("Cannot assign to read only property '"+t+"' of "+e);const r=n.configurable;return"prototype"!==t&&(n=oe(e,t,n)),ie(e,t,n,r)},Object.defineProperties=function(e,t){return Object.keys(t).forEach(function(n){Object.defineProperty(e,n,t[n])}),e},Object.create=function(e,t){return"object"!=typeof t||Object.isFrozen(t)||Object.keys(t).forEach(function(n){t[n]=oe(e,n,t[n])}),ee(e,t)},Object.getOwnPropertyDescriptor=function(e,t){const n=Y(e,t);return n&&re(e,t)&&(n.configurable=!1),n}}),Zone.__load_patch("customElements",(e,t,n)=>{!function(e,t){const{isBrowser:n,isMix:r}=t.getGlobalObjects();(n||r)&&e.customElements&&"customElements"in e&&t.patchCallbacks(t,e.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"])}(e,n)}),Zone.__load_patch("XHR",(e,t)=>{!function(a){const d=e.XMLHttpRequest;if(!d)return;const h=d.prototype;let f=h[u],p=h[c];if(!f){const t=e.XMLHttpRequestEventTarget;if(t){const e=t.prototype;f=e[u],p=e[c]}}const v="readystatechange",y="scheduled";function _(e){const t=e.data,r=t.target;r[i]=!1,r[l]=!1;const s=r[o];f||(f=r[u],p=r[c]),s&&p.call(r,v,s);const a=r[o]=()=>{if(r.readyState===r.DONE)if(!t.aborted&&r[i]&&e.state===y){const n=r.__zone_symbol__loadfalse;if(n&&n.length>0){const o=e.invoke;e.invoke=function(){const n=r.__zone_symbol__loadfalse;for(let t=0;t<n.length;t++)n[t]===e&&n.splice(t,1);t.aborted||e.state!==y||o.call(e)},n.push(e)}else e.invoke()}else t.aborted||!1!==r[i]||(r[l]=!0)};return f.call(r,v,a),r[n]||(r[n]=e),k.apply(r,t.args),r[i]=!0,e}function b(){}function w(e){const t=e.data;return t.aborted=!0,C.apply(t.target,t.args)}const x=M(h,"open",()=>(function(e,t){return e[r]=0==t[2],e[s]=t[1],x.apply(e,t)})),E=m("fetchTaskAborting"),S=m("fetchTaskScheduling"),k=M(h,"send",()=>(function(e,n){if(!0===t.current[S])return k.apply(e,n);if(e[r])return k.apply(e,n);{const t={target:e,url:e[s],isPeriodic:!1,args:n,aborted:!1},r=g("XMLHttpRequest.send",b,t,_,w);e&&!0===e[l]&&!t.aborted&&r.state===y&&r.invoke()}})),C=M(h,"abort",()=>(function(e,r){const o=e[n];if(o&&"string"==typeof o.type){if(null==o.cancelFn||o.data&&o.data.aborted)return;o.zone.cancelTask(o)}else if(!0===t.current[E])return C.apply(e,r)}))}();const n=m("xhrTask"),r=m("xhrSync"),o=m("xhrListener"),i=m("xhrScheduled"),s=m("xhrURL"),l=m("xhrErrorBeforeScheduled")}),Zone.__load_patch("geolocation",e=>{e.navigator&&e.navigator.geolocation&&function(e,t){const r=e.constructor.name;for(let o=0;o<t.length;o++){const i=t[o],s=e[i];if(s){if(!E(n(e,i)))continue;e[i]=(e=>{const t=function(){return e.apply(this,x(arguments,r+"."+i))};return V(t,e),t})(s)}}}(e.navigator.geolocation,["getCurrentPosition","watchPosition"])}),Zone.__load_patch("PromiseRejectionEvent",(e,t)=>{function n(t){return function(n){$(e,t).forEach(r=>{const o=e.PromiseRejectionEvent;if(o){const e=new o(t,{promise:n.promise,reason:n.rejection});r.invoke(e)}})}}e.PromiseRejectionEvent&&(t[m("unhandledPromiseRejectionHandler")]=n("unhandledrejection"),t[m("rejectionHandledHandler")]=n("rejectionhandled"))})},ScpY:function(e,t,n){"use strict";n("LEAW")("link",function(e){return function(t){return e(this,"a","href",t)}})},SeNM:function(e,t,n){var r=n("P56o").parseInt,o=n("hGr/").trim,i=n("SvMv"),s=/^[-+]?0[xX]/;e.exports=8!==r(i+"08")||22!==r(i+"0x16")?function(e,t){var n=o(String(e),3);return r(n,t>>>0||(s.test(n)?16:10))}:r},Sp5b:function(e,t,n){var r=n("mvii"),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},SsG5:function(e,t,n){var r=n("Bsg+");e.exports=function(e,t){if(!r(e)||e._t!==t)throw TypeError("Incompatible receiver, "+t+" required!");return e}},SvMv:function(e,t){e.exports="\t\n\v\f\r \xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029\ufeff"},TYse:function(e,t,n){"use strict";var r=n("X6VK"),o=n("1wfo")(4);r(r.P+r.F*!n("/6rt")([].every,!0),"Array",{every:function(e){return o(this,e,arguments[1])}})},U1KF:function(e,t,n){var r=n("PAFS"),o=n("HWsP"),i=n("5MU4"),s=Object.defineProperty;t.f=n("GGqZ")?Object.defineProperty:function(e,t,n){if(r(e),t=i(t,!0),r(n),o)try{return s(e,t,n)}catch(l){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},U5er:function(e,t,n){var r=n("zx98"),o=n("X6VK"),i=n("ZVIm")("metadata"),s=i.store||(i.store=new(n("orKN"))),l=function(e,t,n){var o=s.get(e);if(!o){if(!n)return;s.set(e,o=new r)}var i=o.get(t);if(!i){if(!n)return;o.set(t,i=new r)}return i};e.exports={store:s,map:l,has:function(e,t,n){var r=l(t,n,!1);return void 0!==r&&r.has(e)},get:function(e,t,n){var r=l(t,n,!1);return void 0===r?void 0:r.get(e)},set:function(e,t,n,r){l(n,r,!0).set(e,t)},keys:function(e,t){var n=l(e,t,!1),r=[];return n&&n.forEach(function(e,t){r.push(t)}),r},key:function(e){return void 0===e||"symbol"==typeof e?e:String(e)},exp:function(e){o(o.S,"Reflect",e)}}},U8p0:function(e,t,n){"use strict";var r=n("X6VK"),o=n("b8Rm"),i=n("UnHL"),s=n("E7Vc"),l=[].sort,a=[1,2,3];r(r.P+r.F*(s(function(){a.sort(void 0)})||!s(function(){a.sort(null)})||!n("/6rt")(l)),"Array",{sort:function(e){return void 0===e?l.call(i(this)):l.call(i(this),o(e))}})},UYXy:function(e,t,n){var r=n("ml72"),o=n("zIds").f,i={}.toString,s="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return s&&"[object Window]"==i.call(e)?function(e){try{return o(e)}catch(t){return s.slice()}}(e):o(r(e))}},UnHL:function(e,t,n){var r=n("GCOZ");e.exports=function(e){return Object(r(e))}},V7cS:function(e,t,n){"use strict";var r=n("X6VK"),o=n("sdkr")(!1),i=[].indexOf,s=!!i&&1/[1].indexOf(1,-0)<0;r(r.P+r.F*(s||!n("/6rt")(i)),"Array",{indexOf:function(e){return s?i.apply(this,arguments)||0:o(this,e,arguments[1])}})},VNvs:function(e,t,n){"use strict";var r=n("X6VK"),o=n("1wfo")(3);r(r.P+r.F*!n("/6rt")([].some,!0),"Array",{some:function(e){return o(this,e,arguments[1])}})},VVFi:function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},VWwk:function(e,t,n){var r=n("X6VK"),o=Math.exp;r(r.S,"Math",{cosh:function(e){return(o(e=+e)+o(-e))/2}})},"Vx+c":function(e,t,n){var r=n("PAFS"),o=n("pU1/"),i=n("fQty"),s=n("8kJd")("IE_PROTO"),l=function(){},a=function(){var e,t=n("mggL")("iframe"),r=i.length;for(t.style.display="none",n("CLuC").appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("<script>document.F=Object<\/script>"),e.close(),a=e.F;r--;)delete a.prototype[i[r]];return a()};e.exports=Object.create||function(e,t){var n;return null!==e?(l.prototype=r(e),n=new l,l.prototype=null,n[s]=e):n=a(),void 0===t?n:o(n,t)}},W1QL:function(e,t,n){for(var r=n("K/PF"),o=n("LuBU"),i=n("sU/p"),s=n("P56o"),l=n("tjmq"),a=n("Ibj2"),u=n("9dxi"),c=u("iterator"),d=u("toStringTag"),h=a.Array,f={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},p=o(f),g=0;g<p.length;g++){var m,v=p[g],y=f[v],_=s[v],b=_&&_.prototype;if(b&&(b[c]||l(b,c,h),b[d]||l(b,d,v),a[v]=h,y))for(m in r)b[m]||i(b,m,r[m],!0)}},WWmS:function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},Wifh:function(e,t,n){"use strict";n("N6/Q");var r=n("sU/p"),o=n("tjmq"),i=n("E7Vc"),s=n("GCOZ"),l=n("9dxi"),a=n("lAKj"),u=l("species"),c=!i(function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")}),d=function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2===n.length&&"a"===n[0]&&"b"===n[1]}();e.exports=function(e,t,n){var h=l(e),f=!i(function(){var t={};return t[h]=function(){return 7},7!=""[e](t)}),p=f?!i(function(){var t=!1,n=/a/;return n.exec=function(){return t=!0,null},"split"===e&&(n.constructor={},n.constructor[u]=function(){return n}),n[h](""),!t}):void 0;if(!f||!p||"replace"===e&&!c||"split"===e&&!d){var g=/./[h],m=n(s,h,""[e],function(e,t,n,r,o){return t.exec===a?f&&!o?{done:!0,value:g.call(t,n,r)}:{done:!0,value:e.call(n,t,r)}:{done:!1}}),v=m[1];r(String.prototype,e,m[0]),o(RegExp.prototype,h,2==t?function(e,t){return v.call(e,this,t)}:function(e){return v.call(e,this)})}}},WppA:function(e,t,n){"use strict";n("LEAW")("big",function(e){return function(){return e(this,"big","","")}})},X6VK:function(e,t,n){var r=n("P56o"),o=n("R5TD"),i=n("tjmq"),s=n("sU/p"),l=n("9liC"),a=function(e,t,n){var u,c,d,h,f=e&a.F,p=e&a.G,g=e&a.P,m=e&a.B,v=p?r:e&a.S?r[t]||(r[t]={}):(r[t]||{}).prototype,y=p?o:o[t]||(o[t]={}),_=y.prototype||(y.prototype={});for(u in p&&(n=t),n)d=((c=!f&&v&&void 0!==v[u])?v:n)[u],h=m&&c?l(d,r):g&&"function"==typeof d?l(Function.call,d):d,v&&s(v,u,d,e&a.U),y[u]!=d&&i(y,u,h),g&&_[u]!=d&&(_[u]=d)};r.core=o,a.F=1,a.G=2,a.S=4,a.P=8,a.B=16,a.W=32,a.U=64,a.R=128,e.exports=a},X9m5:function(e,t,n){var r=n("1Tj+"),o=n("X6VK"),i=n("PAFS");o(o.S,"Reflect",{getOwnPropertyDescriptor:function(e,t){return r.f(i(e),t)}})},"XQs+":function(e,t,n){"use strict";n("LEAW")("small",function(e){return function(){return e(this,"small","","")}})},XQta:function(e,t,n){"use strict";var r=n("U1KF").f,o=n("Vx+c"),i=n("+edc"),s=n("9liC"),l=n("EusA"),a=n("HqX2"),u=n("Jww/"),c=n("VVFi"),d=n("E8p1"),h=n("GGqZ"),f=n("zIP/").fastKey,p=n("SsG5"),g=h?"_s":"size",m=function(e,t){var n,r=f(t);if("F"!==r)return e._i[r];for(n=e._f;n;n=n.n)if(n.k==t)return n};e.exports={getConstructor:function(e,t,n,u){var c=e(function(e,r){l(e,c,t,"_i"),e._t=t,e._i=o(null),e._f=void 0,e._l=void 0,e[g]=0,null!=r&&a(r,n,e[u],e)});return i(c.prototype,{clear:function(){for(var e=p(this,t),n=e._i,r=e._f;r;r=r.n)r.r=!0,r.p&&(r.p=r.p.n=void 0),delete n[r.i];e._f=e._l=void 0,e[g]=0},delete:function(e){var n=p(this,t),r=m(n,e);if(r){var o=r.n,i=r.p;delete n._i[r.i],r.r=!0,i&&(i.n=o),o&&(o.p=i),n._f==r&&(n._f=o),n._l==r&&(n._l=i),n[g]--}return!!r},forEach:function(e){p(this,t);for(var n,r=s(e,arguments.length>1?arguments[1]:void 0,3);n=n?n.n:this._f;)for(r(n.v,n.k,this);n&&n.r;)n=n.p},has:function(e){return!!m(p(this,t),e)}}),h&&r(c.prototype,"size",{get:function(){return p(this,t)[g]}}),c},def:function(e,t,n){var r,o,i=m(e,t);return i?i.v=n:(e._l=i={i:o=f(t,!0),k:t,v:n,p:r=e._l,n:void 0,r:!1},e._f||(e._f=i),r&&(r.n=i),e[g]++,"F"!==o&&(e._i[o]=i)),e},getEntry:m,setStrong:function(e,t,n){u(e,t,function(e,n){this._t=p(e,t),this._k=n,this._l=void 0},function(){for(var e=this._k,t=this._l;t&&t.r;)t=t.p;return this._t&&(this._l=t=t?t.n:this._t._f)?c(0,"keys"==e?t.k:"values"==e?t.v:[t.k,t.v]):(this._t=void 0,c(1))},n?"entries":"values",!n,!0),d(t)}}},Xfku:function(e,t,n){var r=n("n+VH");e.exports=Array.isArray||function(e){return"Array"==r(e)}},Xi2U:function(e,t,n){"use strict";var r=n("PAFS"),o=n("5MU4");e.exports=function(e){if("string"!==e&&"number"!==e&&"default"!==e)throw TypeError("Incorrect hint");return o(r(this),"number"!=e)}},YhIr:function(e,t,n){"use strict";var r=n("9liC"),o=n("X6VK"),i=n("UnHL"),s=n("iJnn"),l=n("2LOZ"),a=n("Sp5b"),u=n("CIiV"),c=n("pB2m");o(o.S+o.F*!n("zlqh")(function(e){Array.from(e)}),"Array",{from:function(e){var t,n,o,d,h=i(e),f="function"==typeof this?this:Array,p=arguments.length,g=p>1?arguments[1]:void 0,m=void 0!==g,v=0,y=c(h);if(m&&(g=r(g,p>2?arguments[2]:void 0,2)),null==y||f==Array&&l(y))for(n=new f(t=a(h.length));t>v;v++)u(n,v,m?g(h[v],v):h[v]);else for(d=y.call(h),n=new f;!(o=d.next()).done;v++)u(n,v,m?s(d,g,[o.value,v],!0):o.value);return n.length=v,n}})},Z8gF:function(e,t,n){"use strict";var r=n("PAFS"),o=n("UnHL"),i=n("Sp5b"),s=n("mvii"),l=n("dVhv"),a=n("Fu0I"),u=Math.max,c=Math.min,d=Math.floor,h=/\$([$&`']|\d\d?|<[^>]*>)/g,f=/\$([$&`']|\d\d?)/g;n("Wifh")("replace",2,function(e,t,n,p){return[function(r,o){var i=e(this),s=null==r?void 0:r[t];return void 0!==s?s.call(r,i,o):n.call(String(i),r,o)},function(e,t){var o=p(n,e,this,t);if(o.done)return o.value;var d=r(e),h=String(this),f="function"==typeof t;f||(t=String(t));var m=d.global;if(m){var v=d.unicode;d.lastIndex=0}for(var y=[];;){var _=a(d,h);if(null===_)break;if(y.push(_),!m)break;""===String(_[0])&&(d.lastIndex=l(h,i(d.lastIndex),v))}for(var b,w="",x=0,E=0;E<y.length;E++){_=y[E];for(var S=String(_[0]),k=u(c(s(_.index),h.length),0),C=[],T=1;T<_.length;T++)C.push(void 0===(b=_[T])?b:String(b));var I=_.groups;if(f){var A=[S].concat(C,k,h);void 0!==I&&A.push(I);var O=String(t.apply(void 0,A))}else O=g(S,h,k,C,I,t);k>=x&&(w+=h.slice(x,k)+O,x=k+S.length)}return w+h.slice(x)}];function g(e,t,r,i,s,l){var a=r+e.length,u=i.length,c=f;return void 0!==s&&(s=o(s),c=h),n.call(l,c,function(n,o){var l;switch(o.charAt(0)){case"$":return"$";case"&":return e;case"`":return t.slice(0,r);case"'":return t.slice(a);case"<":l=s[o.slice(1,-1)];break;default:var c=+o;if(0===c)return n;if(c>u){var h=d(c/10);return 0===h?n:h<=u?void 0===i[h-1]?o.charAt(1):i[h-1]+o.charAt(1):n}l=i[c-1]}return void 0===l?"":l})}})},ZUPj:function(e,t,n){var r=n("n+VH");e.exports=function(e,t){if("number"!=typeof e&&"Number"!=r(e))throw TypeError(t);return+e}},ZVIm:function(e,t,n){var r=n("R5TD"),o=n("P56o"),i=o["__core-js_shared__"]||(o["__core-js_shared__"]={});(e.exports=function(e,t){return i[e]||(i[e]=void 0!==t?t:{})})("versions",[]).push({version:r.version,mode:n("wEu9")?"pure":"global",copyright:"\xa9 2019 Denis Pushkarev (zloirock.ru)"})},ZYZT:function(e,t,n){var r=n("U5er"),o=n("PAFS"),i=n("A1KM"),s=r.has,l=r.get,a=r.key,u=function(e,t,n){if(s(e,t,n))return l(e,t,n);var r=i(t);return null!==r?u(e,r,n):void 0};r.exp({getMetadata:function(e,t){return u(e,o(t),arguments.length<3?void 0:a(arguments[2]))}})},Zvfl:function(e,t,n){var r=n("X6VK"),o=n("SeNM");r(r.G+r.F*(parseInt!=o),{parseInt:o})},aG1v:function(e,t,n){"use strict";var r=n("X6VK"),o=n("9Bb+");r(r.P+r.F*!n("/6rt")([].reduceRight,!0),"Array",{reduceRight:function(e){return o(this,e,arguments.length,arguments[1],!0)}})},aaOZ:function(e,t,n){var r=n("X6VK"),o=Math.abs;r(r.S,"Math",{hypot:function(e,t){for(var n,r,i=0,s=0,l=arguments.length,a=0;s<l;)a<(n=o(arguments[s++]))?(i=i*(r=a/n)*r+1,a=n):i+=n>0?(r=n/a)*r:n;return a===1/0?1/0:a*Math.sqrt(i)}})},"ao5+":function(e,t,n){"use strict";var r=n("X6VK"),o=n("uRBY")(!1);r(r.P,"String",{codePointAt:function(e){return o(this,e)}})},asZ9:function(e,t,n){"use strict";var r=n("NVL/"),o=n("PAFS"),i=n("5Fu2"),s=n("dVhv"),l=n("Sp5b"),a=n("Fu0I"),u=n("lAKj"),c=n("E7Vc"),d=Math.min,h=[].push,f=!c(function(){RegExp(4294967295,"y")});n("Wifh")("split",2,function(e,t,n,c){var p;return p="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,t){var o=String(this);if(void 0===e&&0===t)return[];if(!r(e))return n.call(o,e,t);for(var i,s,l,a=[],c=0,d=void 0===t?4294967295:t>>>0,f=new RegExp(e.source,(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":"")+"g");(i=u.call(f,o))&&!((s=f.lastIndex)>c&&(a.push(o.slice(c,i.index)),i.length>1&&i.index<o.length&&h.apply(a,i.slice(1)),l=i[0].length,c=s,a.length>=d));)f.lastIndex===i.index&&f.lastIndex++;return c===o.length?!l&&f.test("")||a.push(""):a.push(o.slice(c)),a.length>d?a.slice(0,d):a}:"0".split(void 0,0).length?function(e,t){return void 0===e&&0===t?[]:n.call(this,e,t)}:n,[function(n,r){var o=e(this),i=null==n?void 0:n[t];return void 0!==i?i.call(n,o,r):p.call(String(o),n,r)},function(e,t){var r=c(p,e,this,t,p!==n);if(r.done)return r.value;var u=o(e),h=String(this),g=i(u,RegExp),m=u.unicode,v=new g(f?u:"^(?:"+u.source+")",(u.ignoreCase?"i":"")+(u.multiline?"m":"")+(u.unicode?"u":"")+(f?"y":"g")),y=void 0===t?4294967295:t>>>0;if(0===y)return[];if(0===h.length)return null===a(v,h)?[h]:[];for(var _=0,b=0,w=[];b<h.length;){v.lastIndex=f?b:0;var x,E=a(v,f?h:h.slice(b));if(null===E||(x=d(l(v.lastIndex+(f?0:b)),h.length))===_)b=s(h,b,m);else{if(w.push(h.slice(_,b)),w.length===y)return w;for(var S=1;S<=E.length-1;S++)if(w.push(E[S]),w.length===y)return w;b=_=x}}return w.push(h.slice(_)),w}]})},at5L:function(e,t,n){var r=n("ezc+"),o=n("ml72"),i=n("sdkr")(!1),s=n("8kJd")("IE_PROTO");e.exports=function(e,t){var n,l=o(e),a=0,u=[];for(n in l)n!=s&&r(l,n)&&u.push(n);for(;t.length>a;)r(l,n=t[a++])&&(~i(u,n)||u.push(n));return u}},"az+3":function(e,t,n){var r=n("X6VK"),o=n("wUFM");r(r.S+r.F*(Number.parseFloat!=o),"Number",{parseFloat:o})},b3Uv:function(e,t,n){var r=n("X6VK"),o=Math.imul;r(r.S+r.F*n("E7Vc")(function(){return-5!=o(4294967295,5)||2!=o.length}),"Math",{imul:function(e,t){var n=+e,r=+t,o=65535&n,i=65535&r;return 0|o*i+((65535&n>>>16)*i+o*(65535&r>>>16)<<16>>>0)}})},b3pB:function(e,t,n){var r=n("Bsg+"),o=n("zIP/").onFreeze;n("gRlk")("preventExtensions",function(e){return function(t){return e&&r(t)?e(o(t)):t}})},b8Rm:function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},bpc9:function(e,t,n){var r=n("X6VK"),o=Math.atanh;r(r.S+r.F*!(o&&1/o(-0)<0),"Math",{atanh:function(e){return 0==(e=+e)?e:Math.log((1+e)/(1-e))/2}})},cljR:function(e,t,n){var r=n("Bsg+");n("gRlk")("isFrozen",function(e){return function(t){return!r(t)||!!e&&e(t)}})},crnd:function(e,t){function n(e){return Promise.resolve().then(function(){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t})}n.keys=function(){return[]},n.resolve=n,e.exports=n,n.id="crnd"},csLA:function(e,t,n){"use strict";n.r(t),t.default="/*eslint-disable*/\nvar express = require('express');\nvar multer = require('multer');\nvar fs = require('fs');\nvar app = express();\n\nvar DIR = './uploads/';\n\nvar upload = multer({dest: DIR});\n\napp.use(function (req, res, next) {\n res.setHeader('Access-Control-Allow-Origin', 'http://valor-software.github.io');\n res.setHeader('Access-Control-Allow-Methods', 'POST');\n res.setHeader('Access-Control-Allow-Headers', 'X-Requested-With,content-type');\n res.setHeader('Access-Control-Allow-Credentials', true);\n next();\n});\n\napp.use(multer({\n dest: DIR,\n rename: function (fieldname, filename) {\n return filename + Date.now();\n },\n onFileUploadStart: function (file) {\n console.log(file.originalname + ' is starting ...');\n },\n onFileUploadComplete: function (file) {\n console.log(file.fieldname + ' uploaded to ' + file.path);\n }\n}));\n\napp.get('/api', function (req, res) {\n res.end('file catcher example');\n});\n\napp.post('/api', function (req, res) {\n upload(req, res, function (err) {\n if (err) {\n return res.end(err.toString());\n }\n\n res.end('File is uploaded');\n });\n});\n\nvar PORT = process.env.PORT || 3000;\n\napp.listen(PORT, function () {\n console.log('Working on port ' + PORT);\n});\n"},cyVJ:function(e,t,n){var r=n("U5er"),o=n("PAFS"),i=n("b8Rm"),s=r.key,l=r.set;r.exp({metadata:function(e,t){return function(n,r){l(e,t,(void 0!==r?o:i)(n),s(r))}}})},"d3/y":function(e,t,n){var r=n("X6VK");r(r.S+r.F*!n("GGqZ"),"Object",{defineProperty:n("U1KF").f})},dJRV:function(e,t){"document"in window.self&&("classList"in document.createElement("_")&&(!document.createElementNS||"classList"in document.createElementNS("http://www.w3.org/2000/svg","g"))?function(){"use strict";var e=document.createElement("_");if(e.classList.add("c1","c2"),!e.classList.contains("c2")){var t=function(e){var t=DOMTokenList.prototype[e];DOMTokenList.prototype[e]=function(e){var n,r=arguments.length;for(n=0;n<r;n++)t.call(this,e=arguments[n])}};t("add"),t("remove")}if(e.classList.toggle("c3",!1),e.classList.contains("c3")){var n=DOMTokenList.prototype.toggle;DOMTokenList.prototype.toggle=function(e,t){return 1 in arguments&&!this.contains(e)==!t?t:n.call(this,e)}}e=null}():function(e){"use strict";if("Element"in e){var t=e.Element.prototype,n=Object,r=String.prototype.trim||function(){return this.replace(/^\s+|\s+$/g,"")},o=Array.prototype.indexOf||function(e){for(var t=0,n=this.length;t<n;t++)if(t in this&&this[t]===e)return t;return-1},i=function(e,t){this.name=e,this.code=DOMException[e],this.message=t},s=function(e,t){if(""===t)throw new i("SYNTAX_ERR","An invalid or illegal string was specified");if(/\s/.test(t))throw new i("INVALID_CHARACTER_ERR","String contains an invalid character");return o.call(e,t)},l=function(e){for(var t=r.call(e.getAttribute("class")||""),n=t?t.split(/\s+/):[],o=0,i=n.length;o<i;o++)this.push(n[o]);this._updateClassName=function(){e.setAttribute("class",this.toString())}},a=l.prototype=[],u=function(){return new l(this)};if(i.prototype=Error.prototype,a.item=function(e){return this[e]||null},a.contains=function(e){return-1!==s(this,e+="")},a.add=function(){var e,t=arguments,n=0,r=t.length,o=!1;do{-1===s(this,e=t[n]+"")&&(this.push(e),o=!0)}while(++n<r);o&&this._updateClassName()},a.remove=function(){var e,t,n=arguments,r=0,o=n.length,i=!1;do{for(t=s(this,e=n[r]+"");-1!==t;)this.splice(t,1),i=!0,t=s(this,e)}while(++r<o);i&&this._updateClassName()},a.toggle=function(e,t){var n=this.contains(e+=""),r=n?!0!==t&&"remove":!1!==t&&"add";return r&&this[r](e),!0===t||!1===t?t:!n},a.toString=function(){return this.join(" ")},n.defineProperty){var c={get:u,enumerable:!0,configurable:!0};try{n.defineProperty(t,"classList",c)}catch(d){-2146823252===d.number&&(c.enumerable=!1,n.defineProperty(t,"classList",c))}}else n.prototype.__defineGetter__&&t.__defineGetter__("classList",u)}}(window.self))},dVhv:function(e,t,n){"use strict";var r=n("uRBY")(!0);e.exports=function(e,t,n){return t+(n?r(e,t).length:1)}},dtzt:function(e,t,n){"use strict";n("LEAW")("anchor",function(e){return function(t){return e(this,"a","name",t)}})},dvI3:function(e,t,n){var r=n("HqX2");e.exports=function(e,t){var n=[];return r(e,!1,n.push,n,t),n}},e2Kn:function(e,t,n){"use strict";var r=n("P56o"),o=n("ezc+"),i=n("n+VH"),s=n("jEou"),l=n("5MU4"),a=n("E7Vc"),u=n("zIds").f,c=n("1Tj+").f,d=n("U1KF").f,h=n("hGr/").trim,f=r.Number,p=f,g=f.prototype,m="Number"==i(n("Vx+c")(g)),v="trim"in String.prototype,y=function(e){var t=l(e,!1);if("string"==typeof t&&t.length>2){var n,r,o,i=(t=v?t.trim():h(t,3)).charCodeAt(0);if(43===i||45===i){if(88===(n=t.charCodeAt(2))||120===n)return NaN}else if(48===i){switch(t.charCodeAt(1)){case 66:case 98:r=2,o=49;break;case 79:case 111:r=8,o=55;break;default:return+t}for(var s,a=t.slice(2),u=0,c=a.length;u<c;u++)if((s=a.charCodeAt(u))<48||s>o)return NaN;return parseInt(a,r)}}return+t};if(!f(" 0o1")||!f("0b1")||f("+0x1")){f=function(e){var t=arguments.length<1?0:e,n=this;return n instanceof f&&(m?a(function(){g.valueOf.call(n)}):"Number"!=i(n))?s(new p(y(t)),n,f):y(t)};for(var _,b=n("GGqZ")?u(p):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),w=0;b.length>w;w++)o(p,_=b[w])&&!o(f,_)&&d(f,_,c(p,_));f.prototype=g,g.constructor=f,n("sU/p")(r,"Number",f)}},"ezc+":function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},f5Xw:function(e,t,n){var r=n("U5er"),o=n("PAFS"),i=r.has,s=r.key;r.exp({hasOwnMetadata:function(e,t){return i(e,o(t),arguments.length<3?void 0:s(arguments[2]))}})},f9rF:function(e,t,n){"use strict";n("LEAW")("bold",function(e){return function(){return e(this,"b","","")}})},fIq3:function(e,t,n){var r=n("X6VK"),o=n("SeNM");r(r.S+r.F*(Number.parseInt!=o),"Number",{parseInt:o})},fQty:function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},fg5Z:function(e,t,n){var r=n("U1KF"),o=n("1Tj+"),i=n("A1KM"),s=n("ezc+"),l=n("X6VK"),a=n("WWmS"),u=n("PAFS"),c=n("Bsg+");l(l.S,"Reflect",{set:function e(t,n,l){var d,h,f=arguments.length<4?t:arguments[3],p=o.f(u(t),n);if(!p){if(c(h=i(t)))return e(h,n,l,f);p=a(0)}if(s(p,"value")){if(!1===p.writable||!c(f))return!1;if(d=o.f(f,n)){if(d.get||d.set||!1===d.writable)return!1;d.value=l,r.f(f,n,d)}else r.f(f,n,a(0,l));return!0}return void 0!==p.set&&(p.set.call(f,l),!0)}})},fxUj:function(e,t,n){t.f=n("9dxi")},gRlk:function(e,t,n){var r=n("X6VK"),o=n("R5TD"),i=n("E7Vc");e.exports=function(e,t){var n=(o.Object||{})[e]||Object[e],s={};s[e]=t(n),r(r.S+r.F*i(function(){n(1)}),"Object",s)}},"hGr/":function(e,t,n){var r=n("X6VK"),o=n("GCOZ"),i=n("E7Vc"),s=n("SvMv"),l="["+s+"]",a=RegExp("^"+l+l+"*"),u=RegExp(l+l+"*$"),c=function(e,t,n){var o={},l=i(function(){return!!s[e]()||"\u200b\x85"!="\u200b\x85"[e]()}),a=o[e]=l?t(d):s[e];n&&(o[n]=a),r(r.P+r.F*l,"String",o)},d=c.trim=function(e,t){return e=String(o(e)),1&t&&(e=e.replace(a,"")),2&t&&(e=e.replace(u,"")),e};e.exports=c},htXQ:function(e,t,n){"use strict";n("LEAW")("fontcolor",function(e){return function(t){return e(this,"font","color",t)}})},iJnn:function(e,t,n){var r=n("PAFS");e.exports=function(e,t,n,o){try{return o?t(r(n)[0],n[1]):t(n)}catch(s){var i=e.return;throw void 0!==i&&r(i.call(e)),s}}},iQ2A:function(e,t,n){n("Anoy"),n("LXYL"),n("EZ0R"),n("71V/"),n("F0r5"),n("9ZkT"),n("X9m5"),n("G2C3"),n("/dwC"),n("1hyt"),n("vdga"),n("EtPw"),n("fg5Z"),n("onqJ"),e.exports=n("R5TD").Reflect},igyy:function(e,t,n){"use strict";var r=n("X6VK"),o=n("ml72"),i=[].join;r(r.P+r.F*(n("Cmsx")!=Object||!n("/6rt")(i)),"Array",{join:function(e){return i.call(o(this),void 0===e?",":e)}})},ilIF:function(e,t){var n;(n="undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope?self:"undefined"!=typeof global?global:Function("return this;")()).__assign=n&&n.__assign||Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},n.__extends=n&&n.__extends||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);function r(){this.constructor=e}e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)},n.__decorate=n&&n.__decorate||function(e,t,n,r){var o,i=arguments.length,s=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(s=(i<3?o(s):i>3?o(t,n,s):o(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s},n.__metadata=n&&n.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},n.__param=n&&n.__param||function(e,t){return function(n,r){t(n,r,e)}},n.__awaiter=n&&n.__awaiter||function(e,t,n,r){return new(n||(n=Promise))(function(o,i){function s(e){try{a(r.next(e))}catch(t){i(t)}}function l(e){try{a(r.throw(e))}catch(t){i(t)}}function a(e){e.done?o(e.value):new n(function(t){t(e.value)}).then(s,l)}a((r=r.apply(e,t)).next())})}},imLM:function(e,t,n){var r=n("Bsg+");n("gRlk")("isSealed",function(e){return function(t){return!r(t)||!!e&&e(t)}})},it7j:function(e,t,n){"use strict";var r=n("X6VK"),o=n("1wfo")(5),i=!0;"find"in[]&&Array(1).find(function(){i=!1}),r(r.P+r.F*i,"Array",{find:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),n("OfmW")("find")},iur1:function(e,t,n){n("GGqZ")&&"g"!=/./g.flags&&n("U1KF").f(RegExp.prototype,"flags",{configurable:!0,get:n("MBcE")})},"j/vf":function(e,t,n){var r=n("zIds"),o=n("0oPD"),i=n("PAFS"),s=n("P56o").Reflect;e.exports=s&&s.ownKeys||function(e){var t=r.f(i(e)),n=o.f;return n?t.concat(n(e)):t}},j2i0:function(e,t,n){var r=n("X6VK");r(r.S,"Math",{trunc:function(e){return(e>0?Math.floor:Math.ceil)(e)}})},jAH4:function(e,t,n){"use strict";var r=n("X6VK"),o=n("mvii"),i=n("ZUPj"),s=n("p1Jl"),l=1..toFixed,a=Math.floor,u=[0,0,0,0,0,0],c="Number.toFixed: incorrect invocation!",d=function(e,t){for(var n=-1,r=t;++n<6;)u[n]=(r+=e*u[n])%1e7,r=a(r/1e7)},h=function(e){for(var t=6,n=0;--t>=0;)u[t]=a((n+=u[t])/e),n=n%e*1e7},f=function(){for(var e=6,t="";--e>=0;)if(""!==t||0===e||0!==u[e]){var n=String(u[e]);t=""===t?n:t+s.call("0",7-n.length)+n}return t},p=function(e,t,n){return 0===t?n:t%2==1?p(e,t-1,n*e):p(e*e,t/2,n)};r(r.P+r.F*(!!l&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!n("E7Vc")(function(){l.call({})})),"Number",{toFixed:function(e){var t,n,r,l,a=i(this,c),u=o(e),g="",m="0";if(u<0||u>20)throw RangeError(c);if(a!=a)return"NaN";if(a<=-1e21||a>=1e21)return String(a);if(a<0&&(g="-",a=-a),a>1e-21)if(n=(t=function(e){for(var t=0,n=e;n>=4096;)t+=12,n/=4096;for(;n>=2;)t+=1,n/=2;return t}(a*p(2,69,1))-69)<0?a*p(2,-t,1):a/p(2,t,1),n*=4503599627370496,(t=52-t)>0){for(d(0,n),r=u;r>=7;)d(1e7,0),r-=7;for(d(p(10,r,1),0),r=t-1;r>=23;)h(1<<23),r-=23;h(1<<r),d(1,1),h(2),m=f()}else d(0,n),d(1<<-t,0),m=f()+s.call("0",u);return u>0?g+((l=m.length)<=u?"0."+s.call("0",u-l)+m:m.slice(0,l-u)+"."+m.slice(l-u)):g+m}})},jEou:function(e,t,n){var r=n("Bsg+"),o=n("3ydu").set;e.exports=function(e,t,n){var i,s=t.constructor;return s!==n&&"function"==typeof s&&(i=s.prototype)!==n.prototype&&r(i)&&o&&o(e,i),e}},jPEw:function(e,t,n){var r=n("U1KF").f,o=n("ezc+"),i=n("9dxi")("toStringTag");e.exports=function(e,t,n){e&&!o(e=n?e:e.prototype,i)&&r(e,i,{configurable:!0,value:t})}},jirp:function(e,t,n){var r=n("X6VK");r(r.P,"Array",{copyWithin:n("JKk3")}),n("OfmW")("copyWithin")},jpn2:function(e,t,n){n("Zvfl"),e.exports=n("R5TD").parseInt},kXJn:function(e,t,n){n("lQyR"),n("+3V6"),n("YhIr"),n("6Vmy"),n("igyy"),n("049C"),n("U8p0"),n("7lGJ"),n("yIlq"),n("9p7t"),n("VNvs"),n("TYse"),n("3y5y"),n("aG1v"),n("V7cS"),n("P/oo"),n("jirp"),n("IKQL"),n("it7j"),n("2UZ+"),n("q/UR"),n("K/PF"),e.exports=n("R5TD").Array},lAKj:function(e,t,n){"use strict";var r,o,i=n("MBcE"),s=RegExp.prototype.exec,l=String.prototype.replace,a=s,u=(o=/b*/g,s.call(r=/a/,"a"),s.call(o,"a"),0!==r.lastIndex||0!==o.lastIndex),c=void 0!==/()??/.exec("")[1];(u||c)&&(a=function(e){var t,n,r,o,a=this;return c&&(n=new RegExp("^"+a.source+"$(?!\\s)",i.call(a))),u&&(t=a.lastIndex),r=s.call(a,e),u&&r&&(a.lastIndex=a.global?r.index+r[0].length:t),c&&r&&r.length>1&&l.call(r[0],n,function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(r[o]=void 0)}),r}),e.exports=a},lQyR:function(e,t,n){"use strict";var r=n("uRBY")(!0);n("Jww/")(String,"String",function(e){this._t=String(e),this._i=0},function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})})},lUNa:function(e,t,n){var r=n("UnHL"),o=n("A1KM");n("gRlk")("getPrototypeOf",function(){return function(e){return o(r(e))}})},lo23:function(e,t,n){n("ABKx"),n("t91x"),e.exports=n("R5TD").Symbol},ltS6:function(e,t,n){var r=n("LuBU"),o=n("0oPD"),i=n("IdFN");e.exports=function(e){var t=r(e),n=o.f;if(n)for(var s,l=n(e),a=i.f,u=0;l.length>u;)a.call(e,s=l[u++])&&t.push(s);return t}},m1Dn:function(e,t,n){"use strict";var r=n("XQta"),o=n("SsG5");e.exports=n("AkS8")("Set",function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}},{add:function(e){return r.def(o(this,"Set"),e=0===e?0:e,e)}},r)},m8zh:function(e,t,n){"use strict";n("hGr/")("trim",function(e){return function(){return e(this,3)}})},mOoM:function(e,t){e.exports='<h3 id="usage">Usage</h3>\n<pre><code class="language-typescript">import { FileSelectDirective, FileDropDirective, FileUploader } from 'ng2-file-upload/ng2-file-upload';</code></pre>\n<h3 id="annotations">Annotations</h3>\n<pre><code class="language-typescript">// class FileSelectDirective\n@Directive({ selector: '[ng2FileSelect]' })</code></pre>\n<pre><code class="language-typescript">// class FileDropDirective\n@Directive({ selector: '[ng2FileDrop]' })</code></pre>\n<h2 id="fileselect-api">FileSelect API</h2>\n<h3 id="properties">Properties</h3>\n<ul>\n<li><p><code>uploader</code> - (<code>FileUploader</code>) - uploader object. See using in <a href="https://github.com/valor-software/ng2-file-upload/blob/master/demo/components/file-upload/simple-demo.ts">demo</a></p>\n<p>Parameters supported by this object:</p>\n</li>\n</ul>\n<ol>\n<li><code>url</code> - URL of File Uploader's route</li>\n<li><code>authToken</code> - auth token that will be applied as 'Authorization' header during file send.</li>\n<li><code>disableMultipart</code> - If 'true', disable using a multipart form for file upload and instead stream the file. Some APIs (e.g. Amazon S3) may expect the file to be streamed rather than sent via a form. Defaults to false.</li>\n<li><code>itemAlias</code> - item alias (form name redefenition)</li>\n<li><code>formatDataFunction</code> - Function to modify the request body. 'DisableMultipart' must be 'true' for this function to be called.</li>\n<li><code>formatDataFunctionIsAsync</code> - Informs if the function sent in 'formatDataFunction' is asynchronous. Defaults to false.</li>\n<li><code>parametersBeforeFiles</code> - States if additional parameters should be appended before or after the file. Defaults to false.</li>\n</ol>\n<h3 id="events">Events</h3>\n<ul>\n<li><code>onFileSelected</code> - fires when files are selected and added to the uploader queue</li>\n</ul>\n<h2 id="filedrop-api">FileDrop API</h2>\n<h3 id="properties-1">Properties</h3>\n<ul>\n<li><code>uploader</code> - (<code>FileUploader</code>) - uploader object. See using in <a href="https://github.com/valor-software/ng2-file-upload/blob/master/demo/components/file-upload/simple-demo.ts">demo</a></li>\n</ul>\n<h3 id="events-1">Events</h3>\n<ul>\n<li><code>fileOver</code> - it fires during 'over' and 'out' events for Drop Area; returns <code>boolean</code>: <code>true</code> if file is over Drop Area, <code>false</code> in case of out.\nSee using in <a href="https://github.com/valor-software/ng2-file-upload/blob/master/demo/components/file-upload/simple-demo.ts">ts demo</a> and\n<a href="https://github.com/valor-software/ng2-file-upload/blob/master/demo/components/file-upload/simple-demo.html">html demo</a></li>\n<li><code>onFileDrop</code> - it fires after a file has been dropped on a Drop Area; you can pass in <code>$event</code> to get the list of files that were dropped. i.e. <code>(onFileDrop)="dropped($event)"</code></li>\n</ul>\n'},mggL:function(e,t,n){var r=n("Bsg+"),o=n("P56o").document,i=r(o)&&r(o.createElement);e.exports=function(e){return i?o.createElement(e):{}}},ml72:function(e,t,n){var r=n("Cmsx"),o=n("GCOZ");e.exports=function(e){return r(o(e))}},mvii:function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},"n+VH":function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},nkux:function(e,t,n){n("t91x"),n("lQyR"),n("W1QL"),n("zx98"),e.exports=n("R5TD").Map},nsbO:function(e,t,n){"use strict";var r=n("PAFS"),o=n("Nu7b"),i=n("Fu0I");n("Wifh")("search",1,function(e,t,n,s){return[function(n){var r=e(this),o=null==n?void 0:n[t];return void 0!==o?o.call(n,r):new RegExp(n)[t](String(r))},function(e){var t=s(n,e,this);if(t.done)return t.value;var l=r(e),a=String(this),u=l.lastIndex;o(u,0)||(l.lastIndex=0);var c=i(l,a);return o(l.lastIndex,u)||(l.lastIndex=u),null===c?-1:c.index}]})},o7PZ:function(e,t,n){var r=n("X6VK");r(r.P,"Function",{bind:n("oAuq")})},oAuq:function(e,t,n){"use strict";var r=n("b8Rm"),o=n("Bsg+"),i=n("KFSm"),s=[].slice,l={},a=function(e,t,n){if(!(t in l)){for(var r=[],o=0;o<t;o++)r[o]="a["+o+"]";l[t]=Function("F,a","return new F("+r.join(",")+")")}return l[t](e,n)};e.exports=Function.bind||function(e){var t=r(this),n=s.call(arguments,1),l=function(){var r=n.concat(s.call(arguments));return this instanceof l?a(t,r.length,r):i(t,r,e)};return o(t.prototype)&&(l.prototype=t.prototype),l}},onqJ:function(e,t,n){var r=n("X6VK"),o=n("3ydu");o&&r(r.S,"Reflect",{setPrototypeOf:function(e,t){o.check(e,t);try{return o.set(e,t),!0}catch(n){return!1}}})},orKN:function(e,t,n){"use strict";var r,o=n("P56o"),i=n("1wfo")(0),s=n("sU/p"),l=n("zIP/"),a=n("NR3o"),u=n("s14n"),c=n("Bsg+"),d=n("SsG5"),h=n("SsG5"),f=!o.ActiveXObject&&"ActiveXObject"in o,p=l.getWeak,g=Object.isExtensible,m=u.ufstore,v=function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}},y={get:function(e){if(c(e)){var t=p(e);return!0===t?m(d(this,"WeakMap")).get(e):t?t[this._i]:void 0}},set:function(e,t){return u.def(d(this,"WeakMap"),e,t)}},_=e.exports=n("AkS8")("WeakMap",v,y,u,!0,!0);h&&f&&(a((r=u.getConstructor(v,"WeakMap")).prototype,y),l.NEED=!0,i(["delete","has","get","set"],function(e){var t=_.prototype,n=t[e];s(t,e,function(t,o){if(c(t)&&!g(t)){this._f||(this._f=new r);var i=this._f[e](t,o);return"set"==e?this:i}return n.call(this,t,o)})}))},p1Jl:function(e,t,n){"use strict";var r=n("mvii"),o=n("GCOZ");e.exports=function(e){var t=String(o(this)),n="",i=r(e);if(i<0||i==1/0)throw RangeError("Count can't be negative");for(;i>0;(i>>>=1)&&(t+=t))1&i&&(n+=t);return n}},pB2m:function(e,t,n){var r=n("OFVL"),o=n("9dxi")("iterator"),i=n("Ibj2");e.exports=n("R5TD").getIteratorMethod=function(e){if(null!=e)return e[o]||e["@@iterator"]||i[r(e)]}},"pU1/":function(e,t,n){var r=n("U1KF"),o=n("PAFS"),i=n("LuBU");e.exports=n("GGqZ")?Object.defineProperties:function(e,t){o(e);for(var n,s=i(t),l=s.length,a=0;l>a;)r.f(e,n=s[a++],t[n]);return e}},puZ4:function(e,t,n){"use strict";var r=n("Vx+c"),o=n("WWmS"),i=n("jPEw"),s={};n("tjmq")(s,n("9dxi")("iterator"),function(){return this}),e.exports=function(e,t,n){e.prototype=r(s,{next:o(1,n)}),i(e,t+" Iterator")}},"q/UR":function(e,t,n){n("E8p1")("Array")},qeoz:function(e,t,n){"use strict";n("LEAW")("strike",function(e){return function(){return e(this,"strike","","")}})},"qjW+":function(e,t,n){var r=n("U5er"),o=n("PAFS"),i=r.get,s=r.key;r.exp({getOwnMetadata:function(e,t){return i(e,o(t),arguments.length<3?void 0:s(arguments[2]))}})},r3gx:function(e,t,n){"use strict";var r=n("Bsg+"),o=n("A1KM"),i=n("9dxi")("hasInstance"),s=Function.prototype;i in s||n("U1KF").f(s,i,{value:function(e){if("function"!=typeof this||!r(e))return!1;if(!r(this.prototype))return e instanceof this;for(;e=o(e);)if(this.prototype===e)return!0;return!1}})},rDoJ:function(e,t,n){var r=n("X6VK"),o=n("CbkB"),i=Math.sqrt,s=Math.acosh;r(r.S+r.F*!(s&&710==Math.floor(s(Number.MAX_VALUE))&&s(1/0)==1/0),"Math",{acosh:function(e){return(e=+e)<1?NaN:e>94906265.62425156?Math.log(e)+Math.LN2:o(e-1+i(e-1)*i(e+1))}})},rUkU:function(e,t,n){var r=n("U5er"),o=n("PAFS"),i=n("A1KM"),s=r.has,l=r.key,a=function(e,t,n){if(s(e,t,n))return!0;var r=i(t);return null!==r&&a(e,r,n)};r.exp({hasMetadata:function(e,t){return a(e,o(t),arguments.length<3?void 0:l(arguments[2]))}})},rVj0:function(e,t,n){var r=n("ml72"),o=n("1Tj+").f;n("gRlk")("getOwnPropertyDescriptor",function(){return function(e,t){return o(r(e),t)}})},rVjy:function(e,t,n){var r=n("X6VK");r(r.S,"Math",{clz32:function(e){return(e>>>=0)?31-Math.floor(Math.log(e+.5)*Math.LOG2E):32}})},s14n:function(e,t,n){"use strict";var r=n("+edc"),o=n("zIP/").getWeak,i=n("PAFS"),s=n("Bsg+"),l=n("EusA"),a=n("HqX2"),u=n("1wfo"),c=n("ezc+"),d=n("SsG5"),h=u(5),f=u(6),p=0,g=function(e){return e._l||(e._l=new m)},m=function(){this.a=[]},v=function(e,t){return h(e.a,function(e){return e[0]===t})};m.prototype={get:function(e){var t=v(this,e);if(t)return t[1]},has:function(e){return!!v(this,e)},set:function(e,t){var n=v(this,e);n?n[1]=t:this.a.push([e,t])},delete:function(e){var t=f(this.a,function(t){return t[0]===e});return~t&&this.a.splice(t,1),!!~t}},e.exports={getConstructor:function(e,t,n,i){var u=e(function(e,r){l(e,u,t,"_i"),e._t=t,e._i=p++,e._l=void 0,null!=r&&a(r,n,e[i],e)});return r(u.prototype,{delete:function(e){if(!s(e))return!1;var n=o(e);return!0===n?g(d(this,t)).delete(e):n&&c(n,this._i)&&delete n[this._i]},has:function(e){if(!s(e))return!1;var n=o(e);return!0===n?g(d(this,t)).has(e):n&&c(n,this._i)}}),u},def:function(e,t,n){var r=o(i(t),!0);return!0===r?g(e).set(t,n):r[e._i]=n,e},ufstore:g}},"sU/p":function(e,t,n){var r=n("P56o"),o=n("tjmq"),i=n("ezc+"),s=n("1Alt")("src"),l=n("JGfN"),a=(""+l).split("toString");n("R5TD").inspectSource=function(e){return l.call(e)},(e.exports=function(e,t,n,l){var u="function"==typeof n;u&&(i(n,"name")||o(n,"name",t)),e[t]!==n&&(u&&(i(n,s)||o(n,s,e[t]?""+e[t]:a.join(String(t)))),e===r?e[t]=n:l?e[t]?e[t]=n:o(e,t,n):(delete e[t],o(e,t,n)))})(Function.prototype,"toString",function(){return"function"==typeof this&&this[s]||l.call(this)})},sdkr:function(e,t,n){var r=n("ml72"),o=n("Sp5b"),i=n("BUlT");e.exports=function(e){return function(t,n,s){var l,a=r(t),u=o(a.length),c=i(s,u);if(e&&n!=n){for(;u>c;)if((l=a[c++])!=l)return!0}else for(;u>c;c++)if((e||c in a)&&a[c]===n)return e||c||0;return!e&&-1}}},t91x:function(e,t,n){"use strict";var r=n("OFVL"),o={};o[n("9dxi")("toStringTag")]="z",o+""!="[object z]"&&n("sU/p")(Object.prototype,"toString",function(){return"[object "+r(this)+"]"},!0)},thp7:function(e,t,n){var r=n("X6VK"),o=n("yyYF");r(r.P+r.F*(Date.prototype.toISOString!==o),"Date",{toISOString:o})},tjmq:function(e,t,n){var r=n("U1KF"),o=n("WWmS");e.exports=n("GGqZ")?function(e,t,n){return r.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},"uKE/":function(e,t,n){var r=n("X6VK");r(r.S,"Number",{EPSILON:Math.pow(2,-52)})},uPii:function(e,t,n){"use strict";n("LEAW")("blink",function(e){return function(){return e(this,"blink","","")}})},uRBY:function(e,t,n){var r=n("mvii"),o=n("GCOZ");e.exports=function(e){return function(t,n){var i,s,l=String(o(t)),a=r(n),u=l.length;return a<0||a>=u?e?"":void 0:(i=l.charCodeAt(a))<55296||i>56319||a+1===u||(s=l.charCodeAt(a+1))<56320||s>57343?e?l.charAt(a):i:e?l.slice(a,a+2):s-56320+(i-55296<<10)+65536}}},uj7L:function(e,t,n){var r=n("X6VK"),o=n("ml72"),i=n("Sp5b");r(r.S,"String",{raw:function(e){for(var t=o(e.raw),n=i(t.length),r=arguments.length,s=[],l=0;n>l;)s.push(String(t[l++])),l<r&&s.push(String(arguments[l]));return s.join("")}})},vXEj:function(e,t,n){n("J8hF"),n("N6/Q"),n("4aJ6"),n("iur1"),n("9ovy"),n("Z8gF"),n("nsbO"),n("asZ9"),e.exports=n("R5TD").RegExp},vdga:function(e,t,n){var r=n("X6VK");r(r.S,"Reflect",{ownKeys:n("j/vf")})},wEu9:function(e,t){e.exports=!1},wUFM:function(e,t,n){var r=n("P56o").parseFloat,o=n("hGr/").trim;e.exports=1/r(n("SvMv")+"-0")!=-1/0?function(e){var t=o(String(e),3),n=r(t);return 0===n&&"-"==t.charAt(0)?-0:n}:r},x0AK:function(e,t,n){n("ABKx"),n("PAbq"),n("d3/y"),n("6/FK"),n("rVj0"),n("lUNa"),n("75LO"),n("3RxL"),n("Kz8+"),n("HZro"),n("b3pB"),n("cljR"),n("imLM"),n("PJhk"),n("5hJT"),n("LAIM"),n("1qKx"),n("t91x"),e.exports=n("R5TD").Object},xI3J:function(e,t,n){var r=n("Bsg+"),o=Math.floor;e.exports=function(e){return!r(e)&&isFinite(e)&&o(e)===e}},yIlq:function(e,t,n){"use strict";var r=n("X6VK"),o=n("1wfo")(1);r(r.P+r.F*!n("/6rt")([].map,!0),"Array",{map:function(e){return o(this,e,arguments[1])}})},yM7o:function(e,t){var n=Math.expm1;e.exports=!n||n(10)>22025.465794806718||n(10)<22025.465794806718||-2e-17!=n(-2e-17)?function(e){return 0==(e=+e)?e:e>-1e-6&&e<1e-6?e+e*e/2:Math.exp(e)-1}:n},yMpN:function(e,t,n){n("zSai"),n("uj7L"),n("m8zh"),n("lQyR"),n("ao5+"),n("BDzi"),n("6d4m"),n("NhxO"),n("FEHE"),n("dtzt"),n("WppA"),n("uPii"),n("f9rF"),n("BTfu"),n("htXQ"),n("S75U"),n("Jqo+"),n("ScpY"),n("XQs+"),n("qeoz"),n("Ndiv"),n("4enF"),n("9ovy"),n("Z8gF"),n("nsbO"),n("asZ9"),e.exports=n("R5TD").String},yyYF:function(e,t,n){"use strict";var r=n("E7Vc"),o=Date.prototype.getTime,i=Date.prototype.toISOString,s=function(e){return e>9?e:"0"+e};e.exports=r(function(){return"0385-07-25T07:06:39.999Z"!=i.call(new Date(-5e13-1))})||!r(function(){i.call(new Date(NaN))})?function(){if(!isFinite(o.call(this)))throw RangeError("Invalid time value");var e=this,t=e.getUTCFullYear(),n=e.getUTCMilliseconds(),r=t<0?"-":t>9999?"+":"";return r+("00000"+Math.abs(t)).slice(r?-6:-4)+"-"+s(e.getUTCMonth()+1)+"-"+s(e.getUTCDate())+"T"+s(e.getUTCHours())+":"+s(e.getUTCMinutes())+":"+s(e.getUTCSeconds())+"."+(n>99?n:"0"+s(n))+"Z"}:i},z6KD:function(e,t,n){var r=n("P56o"),o=n("R5TD"),i=n("wEu9"),s=n("fxUj"),l=n("U1KF").f;e.exports=function(e){var t=o.Symbol||(o.Symbol=i?{}:r.Symbol||{});"_"==e.charAt(0)||e in t||l(t,e,{value:s.f(e)})}},z6jo:function(e,t,n){var r=n("X6VK");r(r.S,"Math",{fround:n("61jV")})},zBG4:function(e,t){e.exports='<h1 id="getting-started">Getting started</h1>\n<h2 id="first-of-all-welcome">First of all, Welcome!</h2>\n<h3 id="install">Install</h3>\n<p>Install the components</p>\n<pre><code>npm install ng2-file-upload --save</code></pre>'},"zIP/":function(e,t,n){var r=n("1Alt")("meta"),o=n("Bsg+"),i=n("ezc+"),s=n("U1KF").f,l=0,a=Object.isExtensible||function(){return!0},u=!n("E7Vc")(function(){return a(Object.preventExtensions({}))}),c=function(e){s(e,r,{value:{i:"O"+ ++l,w:{}}})},d=e.exports={KEY:r,NEED:!1,fastKey:function(e,t){if(!o(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!i(e,r)){if(!a(e))return"F";if(!t)return"E";c(e)}return e[r].i},getWeak:function(e,t){if(!i(e,r)){if(!a(e))return!0;if(!t)return!1;c(e)}return e[r].w},onFreeze:function(e){return u&&d.NEED&&a(e)&&!i(e,r)&&c(e),e}}},zIds:function(e,t,n){var r=n("at5L"),o=n("fQty").concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},zSai:function(e,t,n){var r=n("X6VK"),o=n("BUlT"),i=String.fromCharCode,s=String.fromCodePoint;r(r.S+r.F*(!!s&&1!=s.length),"String",{fromCodePoint:function(e){for(var t,n=[],r=arguments.length,s=0;r>s;){if(t=+arguments[s++],o(t,1114111)!==t)throw RangeError(t+" is not a valid code point");n.push(t<65536?i(t):i(55296+((t-=65536)>>10),t%1024+56320))}return n.join("")}})},zUnb:function(e,t,n){"use strict";function r(e){return"function"==typeof e}n.r(t),n("ilIF"),n("lo23"),n("x0AK"),n("GDBG"),n("jpn2"),n("D1tK"),n("D/Ri"),n("LQHY"),n("yMpN"),n("OcZp"),n("kXJn"),n("vXEj"),n("nkux"),n("Nspt"),n("iQ2A"),n("619q"),n("SN8V"),n("dJRV");let o=!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 o&&console.log("RxJS: Back to a better error behavior. Thank you. <3");o=e},get useDeprecatedSynchronousErrorHandling(){return o}};function s(e){setTimeout(()=>{throw e},0)}const l={closed:!0,next(e){},error(e){if(i.useDeprecatedSynchronousErrorHandling)throw e;s(e)},complete(){}},a=Array.isArray||(e=>e&&"number"==typeof e.length);function u(e){return null!==e&&"object"==typeof e}function c(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}c.prototype=Object.create(Error.prototype);const d=c;let h=(()=>{class e{constructor(e){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,e&&(this._unsubscribe=e)}unsubscribe(){let t;if(this.closed)return;let{_parentOrParents:n,_unsubscribe:o,_subscriptions:i}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,n instanceof e)n.remove(this);else if(null!==n)for(let e=0;e<n.length;++e)n[e].remove(this);if(r(o))try{o.call(this)}catch(s){t=s instanceof d?f(s.errors):[s]}if(a(i)){let e=-1,n=i.length;for(;++e<n;){const n=i[e];if(u(n))try{n.unsubscribe()}catch(s){t=t||[],s instanceof d?t=t.concat(f(s.errors)):t.push(s)}}}if(t)throw new d(t)}add(t){let n=t;if(!t)return e.EMPTY;switch(typeof t){case"function":n=new e(t);case"object":if(n===this||n.closed||"function"!=typeof n.unsubscribe)return n;if(this.closed)return n.unsubscribe(),n;if(!(n instanceof e)){const t=n;(n=new e)._subscriptions=[t]}break;default:throw new Error("unrecognized teardown "+t+" added to Subscription.")}let{_parentOrParents:r}=n;if(null===r)n._parentOrParents=this;else if(r instanceof e){if(r===this)return n;n._parentOrParents=[r,this]}else{if(-1!==r.indexOf(this))return n;r.push(this)}const o=this._subscriptions;return null===o?this._subscriptions=[n]:o.push(n),n}remove(e){const t=this._subscriptions;if(t){const n=t.indexOf(e);-1!==n&&t.splice(n,1)}}}return e.EMPTY=function(e){return e.closed=!0,e}(new e),e})();function f(e){return e.reduce((e,t)=>e.concat(t instanceof d?t.errors:t),[])}const p="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random();class g extends h{constructor(e,t,n){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=l;break;case 1:if(!e){this.destination=l;break}if("object"==typeof e){e instanceof g?(this.syncErrorThrowable=e.syncErrorThrowable,this.destination=e,e.add(this)):(this.syncErrorThrowable=!0,this.destination=new m(this,e));break}default:this.syncErrorThrowable=!0,this.destination=new m(this,e,t,n)}}[p](){return this}static create(e,t,n){const r=new g(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 m extends g{constructor(e,t,n,o){let i;super(),this._parentSubscriber=e;let s=this;r(t)?i=t:t&&(i=t.next,n=t.error,o=t.complete,t!==l&&(r((s=Object.create(t)).unsubscribe)&&this.add(s.unsubscribe.bind(s)),s.unsubscribe=this.unsubscribe.bind(this))),this._context=s,this._next=i,this._error=n,this._complete=o}next(e){if(!this.isStopped&&this._next){const{_parentSubscriber:t}=this;i.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}=i;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):s(e),this.unsubscribe();else{if(this.unsubscribe(),n)throw e;s(e)}}}complete(){if(!this.isStopped){const{_parentSubscriber:e}=this;if(this._complete){const t=()=>this._complete.call(this._context);i.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(),i.useDeprecatedSynchronousErrorHandling)throw n;s(n)}}__tryOrSetError(e,t,n){if(!i.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{t.call(this._context,n)}catch(r){return i.useDeprecatedSynchronousErrorHandling?(e.syncErrorValue=r,e.syncErrorThrown=!0,!0):(s(r),!0)}return!1}_unsubscribe(){const{_parentSubscriber:e}=this;this._context=null,this._parentSubscriber=null,e.unsubscribe()}}const v="function"==typeof Symbol&&Symbol.observable||"@@observable";let y=(()=>{class e{constructor(e){this._isScalar=!1,e&&(this._subscribe=e)}lift(t){const n=new e;return n.source=this,n.operator=t,n}subscribe(e,t,n){const{operator:r}=this,o=function(e,t,n){if(e){if(e instanceof g)return e;if(e[p])return e[p]()}return e||t||n?new g(e,t,n):new g(l)}(e,t,n);if(o.add(r?r.call(o,this.source):this.source||i.useDeprecatedSynchronousErrorHandling&&!o.syncErrorThrowable?this._subscribe(o):this._trySubscribe(o)),i.useDeprecatedSynchronousErrorHandling&&o.syncErrorThrowable&&(o.syncErrorThrowable=!1,o.syncErrorThrown))throw o.syncErrorValue;return o}_trySubscribe(e){try{return this._subscribe(e)}catch(t){i.useDeprecatedSynchronousErrorHandling&&(e.syncErrorThrown=!0,e.syncErrorValue=t),function(e){for(;e;){const{closed:t,destination:n,isStopped:r}=e;if(t||r)return!1;e=n&&n instanceof g?n:null}return!0}(e)?e.error(t):console.warn(t)}}forEach(e,t){return new(t=_(t))((t,n)=>{let r;r=this.subscribe(t=>{try{e(t)}catch(o){n(o),r&&r.unsubscribe()}},n,t)})}_subscribe(e){const{source:t}=this;return t&&t.subscribe(e)}[v](){return this}pipe(...e){return 0===e.length?this:((t=e)?1===t.length?t[0]:function(e){return t.reduce((e,t)=>t(e),e)}:function(){})(this);var t}toPromise(e){return new(e=_(e))((e,t)=>{let n;this.subscribe(e=>n=e,e=>t(e),()=>e(n))})}}return e.create=t=>new e(t),e})();function _(e){if(e||(e=i.Promise||Promise),!e)throw new Error("no Promise impl found");return e}function b(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}b.prototype=Object.create(Error.prototype);const w=b;class x extends h{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)}}class E extends g{constructor(e){super(e),this.destination=e}}let S=(()=>{class e extends y{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[p](){return new E(this)}lift(e){const t=new k(this,this);return t.operator=e,t}next(e){if(this.closed)throw new w;if(!this.isStopped){const{observers:t}=this,n=t.length,r=t.slice();for(let o=0;o<n;o++)r[o].next(e)}}error(e){if(this.closed)throw new w;this.hasError=!0,this.thrownError=e,this.isStopped=!0;const{observers:t}=this,n=t.length,r=t.slice();for(let o=0;o<n;o++)r[o].error(e);this.observers.length=0}complete(){if(this.closed)throw new w;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 w;return super._trySubscribe(e)}_subscribe(e){if(this.closed)throw new w;return this.hasError?(e.error(this.thrownError),h.EMPTY):this.isStopped?(e.complete(),h.EMPTY):(this.observers.push(e),new x(this,e))}asObservable(){const e=new y;return e.source=this,e}}return e.create=(e,t)=>new k(e,t),e})();class k extends S{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):h.EMPTY}}class C extends g{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()}}const T=e=>t=>{for(let n=0,r=e.length;n<r&&!t.closed;n++)t.next(e[n]);t.complete()};function I(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}const A=I(),O=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function D(e){return!!e&&"function"!=typeof e.subscribe&&"function"==typeof e.then}const P=e=>{if(e&&"function"==typeof e[v])return(e=>t=>{const n=e[v]();if("function"!=typeof n.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return n.subscribe(t)})(e);if(O(e))return T(e);if(D(e))return(e=>t=>(e.then(e=>{t.closed||(t.next(e),t.complete())},e=>t.error(e)).then(null,s),t))(e);if(e&&"function"==typeof e[A])return(e=>t=>{const n=e[A]();for(;;){const e=n.next();if(e.done){t.complete();break}if(t.next(e.value),t.closed)break}return"function"==typeof n.return&&t.add(()=>{n.return&&n.return()}),t})(e);{const t=u(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.")}};class N extends g{notifyNext(e,t,n,r,o){this.destination.next(t)}notifyError(e,t){this.destination.error(e)}notifyComplete(e){this.destination.complete()}}class F{constructor(e,t){this.project=e,this.thisArg=t}call(e,t){return t.subscribe(new M(e,this.project,this.thisArg))}}class M extends g{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)}}function R(e,t){return new y(n=>{const r=new h;let o=0;return r.add(t.schedule(function(){o!==e.length?(n.next(e[o++]),n.closed||r.add(this.schedule())):n.complete()})),r})}class V{constructor(e,t=Number.POSITIVE_INFINITY){this.project=e,this.concurrent=t}call(e,t){return t.subscribe(new j(e,this.project,this.concurrent))}}class j extends N{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,e,n)}_innerSub(e,t,n){const r=new C(this,void 0,void 0);this.destination.add(r),function(e,t,n,r,o=new C(e,n,r)){o.closed||(t instanceof y?t.subscribe(o):P(t)(o))}(this,e,t,n,r)}_complete(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()}notifyNext(e,t,n,r,o){this.destination.next(t)}notifyComplete(e){const t=this.buffer;this.remove(e),this.active--,t.length>0?this._next(t.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}function L(e){return e}function z(e=Number.POSITIVE_INFINITY){return function e(t,n,r=Number.POSITIVE_INFINITY){return"function"==typeof n?o=>o.pipe(e((e,r)=>(function(e,t){return t?function(e,t){if(null!=e){if(function(e){return e&&"function"==typeof e[v]}(e))return function(e,t){return new y(n=>{const r=new h;return r.add(t.schedule(()=>{const o=e[v]();r.add(o.subscribe({next(e){r.add(t.schedule(()=>n.next(e)))},error(e){r.add(t.schedule(()=>n.error(e)))},complete(){r.add(t.schedule(()=>n.complete()))}}))})),r})}(e,t);if(D(e))return function(e,t){return new y(n=>{const r=new h;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(O(e))return R(e,t);if(function(e){return e&&"function"==typeof e[A]}(e)||"string"==typeof e)return function(e,t){if(!e)throw new Error("Iterable cannot be null");return new y(n=>{const r=new h;let o;return r.add(()=>{o&&"function"==typeof o.return&&o.return()}),r.add(t.schedule(()=>{o=e[A](),r.add(t.schedule(function(){if(n.closed)return;let e,t;try{const i=o.next();e=i.value,t=i.done}catch(r){return void n.error(r)}t?n.complete():(n.next(e),this.schedule())}))})),r})}(e,t)}throw new TypeError((null!==e&&typeof e||e)+" is not observable")}(e,t):e instanceof y?e:new y(P(e))})(t(e,r)).pipe(function(e,t){return function(t){return t.lift(new F(e,void 0))}}((t,o)=>n(e,t,r,o))),r)):("number"==typeof n&&(r=n),e=>e.lift(new V(t,r)))}(L,e)}function U(){return function(e){return e.lift(new Z(e))}}class Z{constructor(e){this.connectable=e}call(e,t){const{connectable:n}=this;n._refCount++;const r=new H(e,n),o=t.subscribe(r);return r.closed||(r.connection=n.connect()),o}}class H extends g{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()}}const B=class extends y{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 h).add(this.source.subscribe(new q(this.getSubject(),this))),e.closed&&(this._connection=null,e=h.EMPTY)),e}refCount(){return U()(this)}}.prototype,K={operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:B._subscribe},_isComplete:{value:B._isComplete,writable:!0},getSubject:{value:B.getSubject},connect:{value:B.connect},refCount:{value:B.refCount}};class q extends E{constructor(e,t){super(e),this.connectable=t}_error(e){this._unsubscribe(),super._error(e)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const e=this.connectable;if(e){this.connectable=null;const t=e._connection;e._refCount=0,e._subject=null,e._connection=null,t&&t.unsubscribe()}}}function G(){return new S}const $="__parameters__";function X(e,t,n){const r=function(e){return function(...t){if(e){const n=e(...t);for(const e in n)this[e]=n[e]}}}(t);function o(...e){if(this instanceof o)return r.apply(this,e),this;const t=new o(...e);return n.annotation=t,n;function n(e,n,r){const o=e.hasOwnProperty($)?e[$]:Object.defineProperty(e,$,{value:[]})[$];for(;o.length<=r;)o.push(null);return(o[r]=o[r]||[]).push(t),e}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o}const W=X("Inject",e=>({token:e})),Q=X("Optional"),J=X("Self"),Y=X("SkipSelf");var ee=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}({});function te(e){for(let t in e)if(e[t]===te)return t;throw Error("Could not find renamed property on target object.")}function ne(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function re(e){const t=e[oe];return t&&t.token===e?t:null}const oe=te({ngInjectableDef:te});function ie(e){if("string"==typeof e)return e;if(e instanceof Array)return"["+e.map(ie).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const t=e.toString();if(null==t)return""+t;const n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}const se=te({__forward_ref__:te});function le(e){return e.__forward_ref__=le,e.toString=function(){return ie(this())},e}function ae(e){const t=e;return"function"==typeof t&&t.hasOwnProperty(se)&&t.__forward_ref__===le?t():e}const ue="undefined"!=typeof globalThis&&globalThis,ce="undefined"!=typeof window&&window,de="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,he="undefined"!=typeof global&&global,fe=ue||he||ce||de;class pe{constructor(e,t){this._desc=e,this.ngMetadataName="InjectionToken",this.ngInjectableDef=void 0,"number"==typeof t?this.__NG_ELEMENT_ID__=t:void 0!==t&&(this.ngInjectableDef=ne({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}toString(){return`InjectionToken ${this._desc}`}}const ge=new pe("INJECTOR",-1),me=new Object,ve="ngTempTokenPath",ye="ngTokenPath",_e=/\n/gm,be="\u0275",we="__source",xe=te({provide:String,useValue:te});let Ee,Se=void 0;function ke(e){const t=Se;return Se=e,t}class Ce{get(e,t=me){if(t===me){const t=new Error(`NullInjectorError: No provider for ${ie(e)}!`);throw t.name="NullInjectorError",t}return t}}function Te(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&e.charAt(1)==be?e.substr(2):e;let o=ie(t);if(t instanceof Array)o=t.map(ie).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):ie(r)))}o=`{${e.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(_e,"\n ")}`}class Ie{}class Ae{}function Oe(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function De(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}const Pe=function(){var e={Emulated:0,Native:1,None:2,ShadowDom:3};return e[e.Emulated]="Emulated",e[e.Native]="Native",e[e.None]="None",e[e.ShadowDom]="ShadowDom",e}(),Ne=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(fe))(),Fe="ngDebugContext",Me="ngOriginalError",Re="ngErrorLogger";function Ve(e){return e[Fe]}function je(e){return e[Me]}function Le(e,...t){e.error(...t)}class ze{constructor(){this._console=console}handleError(e){const t=this._findOriginalError(e),n=this._findContext(e),r=function(e){return e[Re]||Le}(e);r(this._console,"ERROR",e),t&&r(this._console,"ORIGINAL ERROR",t),n&&r(this._console,"ERROR CONTEXT",n)}_findContext(e){return e?Ve(e)?Ve(e):this._findContext(je(e)):null}_findOriginalError(e){let t=je(e);for(;t&&je(t);)t=je(t);return t}}let Ue=!0,Ze=!1;function He(){return Ze=!0,Ue}class Be{constructor(e){if(this.defaultDoc=e,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),this.inertBodyElement=this.inertDocument.body,null==this.inertBodyElement){const e=this.inertDocument.createElement("html");this.inertDocument.appendChild(e),this.inertBodyElement=this.inertDocument.createElement("body"),e.appendChild(this.inertBodyElement)}this.inertBodyElement.innerHTML='<svg><g onload="this.parentNode.remove()"></g></svg>',!this.inertBodyElement.querySelector||this.inertBodyElement.querySelector("svg")?(this.inertBodyElement.innerHTML='<svg><p><style><img src="</style><img src=x onerror=alert(1)//">',this.getInertBodyElement=this.inertBodyElement.querySelector&&this.inertBodyElement.querySelector("svg img")&&function(){try{return!!window.DOMParser}catch(e){return!1}}()?this.getInertBodyElement_DOMParser:this.getInertBodyElement_InertDocument):this.getInertBodyElement=this.getInertBodyElement_XHR}getInertBodyElement_XHR(e){e="<body><remove></remove>"+e+"</body>";try{e=encodeURI(e)}catch(r){return null}const t=new XMLHttpRequest;t.responseType="document",t.open("GET","data:text/html;charset=utf-8,"+e,!1),t.send(void 0);const n=t.response.body;return n.removeChild(n.firstChild),n}getInertBodyElement_DOMParser(e){e="<body><remove></remove>"+e+"</body>";try{const n=(new window.DOMParser).parseFromString(e,"text/html").body;return n.removeChild(n.firstChild),n}catch(t){return null}}getInertBodyElement_InertDocument(e){const t=this.inertDocument.createElement("template");return"content"in t?(t.innerHTML=e,t):(this.inertBodyElement.innerHTML=e,this.defaultDoc.documentMode&&this.stripCustomNsAttrs(this.inertBodyElement),this.inertBodyElement)}stripCustomNsAttrs(e){const t=e.attributes;for(let 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 Ke=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:\/?#]*(?:[\/?#]|$))/gi,qe=/^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 Ge(e){return(e=String(e)).match(Ke)||e.match(qe)?e:(He()&&console.warn(`WARNING: sanitizing unsafe URL value ${e} (see http://g.co/ng/security#xss)`),"unsafe:"+e)}function $e(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function Xe(...e){const t={};for(const n of e)for(const e in n)n.hasOwnProperty(e)&&(t[e]=!0);return t}const We=$e("area,br,col,hr,img,wbr"),Qe=$e("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Je=$e("rp,rt"),Ye=Xe(Je,Qe),et=Xe(We,Xe(Qe,$e("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")),Xe(Je,$e("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")),Ye),tt=$e("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),nt=$e("srcset"),rt=Xe(tt,nt,$e("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"),$e("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")),ot=$e("script,style,template");class it{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(!et.hasOwnProperty(t))return this.sanitizedSomething=!0,!ot.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);const n=e.attributes;for(let o=0;o<n.length;o++){const e=n.item(o),t=e.name,i=t.toLowerCase();if(!rt.hasOwnProperty(i)){this.sanitizedSomething=!0;continue}let s=e.value;tt[i]&&(s=Ge(s)),nt[i]&&(r=s,s=(r=String(r)).split(",").map(e=>Ge(e.trim())).join(", ")),this.buf.push(" ",t,'="',at(s),'"')}var r;return this.buf.push(">"),!0}endElement(e){const t=e.nodeName.toLowerCase();et.hasOwnProperty(t)&&!We.hasOwnProperty(t)&&(this.buf.push("</"),this.buf.push(t),this.buf.push(">"))}chars(e){this.buf.push(at(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 st=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,lt=/([^\#-~ |!])/g;function at(e){return e.replace(/&/g,"&").replace(st,function(e){return"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";"}).replace(lt,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}let ut;function ct(e){return"content"in e&&function(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}const dt=function(){var e={NONE:0,HTML:1,STYLE:2,SCRIPT:3,URL:4,RESOURCE_URL:5};return e[e.NONE]="NONE",e[e.HTML]="HTML",e[e.STYLE]="STYLE",e[e.SCRIPT]="SCRIPT",e[e.URL]="URL",e[e.RESOURCE_URL]="RESOURCE_URL",e}();class ht{}const ft=new RegExp("^([-,.\"'%_!# a-zA-Z0-9]+|(?:(?:matrix|translate|scale|rotate|skew|perspective)(?:X|Y|Z|3d)?|(?:rgb|hsl)a?|(?:repeating-)?(?:linear|radial)-gradient|(?:calc|attr))\\([-0-9.%, #a-zA-Z]+\\))$","g"),pt=/^url\(([^)]+)\)$/,gt=/([A-Z])/g;function mt(e){try{return null!=e?e.toString().slice(0,30):e}catch(t){return"[ERROR] Exception while trying to serialize the value"}}let vt=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>yt(),e})();const yt=(...e)=>{},_t=new pe("The presence of this token marks an injector as being the root injector."),bt=function(e,t,n){return new Tt(e,t,n)};let wt=(()=>{class e{static create(e,t){return Array.isArray(e)?bt(e,t,""):bt(e.providers,e.parent,e.name||"")}}return e.THROW_IF_NOT_FOUND=me,e.NULL=new Ce,e.ngInjectableDef=ne({token:e,providedIn:"any",factory:()=>(function(e,t=ee.Default){return(Ee||function(e,t=ee.Default){if(void 0===Se)throw new Error("inject() must be called from an injection context");return null===Se?function(e,t,n){const r=re(e);if(r&&"root"==r.providedIn)return void 0===r.value?r.value=r.factory():r.value;if(n&ee.Optional)return null;throw new Error(`Injector: NOT_FOUND [${ie(e)}]`)}(e,0,t):Se.get(e,t&ee.Optional?null:void 0,t)})(e,t)})(ge)}),e.__NG_ELEMENT_ID__=-1,e})();const xt=function(e){return e},Et=[],St=xt,kt=function(){return Array.prototype.slice.call(arguments)},Ct="\u0275";class Tt{constructor(e,t=wt.NULL,n=null){this.parent=t,this.source=n;const r=this._records=new Map;r.set(wt,{token:wt,fn:xt,deps:Et,value:this,useNew:!1}),r.set(ge,{token:ge,fn:xt,deps:Et,value:this,useNew:!1}),function e(t,n){if(n)if((n=ae(n))instanceof Array)for(let r=0;r<n.length;r++)e(t,n[r]);else{if("function"==typeof n)throw At("Function/Class not supported",n);if(!n||"object"!=typeof n||!n.provide)throw At("Unexpected provider",n);{let e=ae(n.provide);const r=function(e){const t=function(e){let t=Et;const n=e.deps;if(n&&n.length){t=[];for(let e=0;e<n.length;e++){let r=6,o=ae(n[e]);if(o instanceof Array)for(let e=0,t=o;e<t.length;e++){const n=t[e];n instanceof Q||n==Q?r|=1:n instanceof Y||n==Y?r&=-3:n instanceof J||n==J?r&=-5:o=n instanceof W?n.token:ae(n)}t.push({token:o,options:r})}}else if(e.useExisting)t=[{token:ae(e.useExisting),options:6}];else if(!(n||xe in e))throw At("'deps' required",e);return t}(e);let n=xt,r=Et,o=!1,i=ae(e.provide);if(xe in e)r=e.useValue;else if(e.useFactory)n=e.useFactory;else if(e.useExisting);else if(e.useClass)o=!0,n=ae(e.useClass);else{if("function"!=typeof i)throw At("StaticProvider does not have [useValue|useFactory|useExisting|useClass] or [provide] is not newable",e);o=!0,n=i}return{deps:t,fn:n,useNew:o,value:r}}(n);if(!0===n.multi){let r=t.get(e);if(r){if(r.fn!==kt)throw It(e)}else t.set(e,r={token:n.provide,deps:[],useNew:!1,fn:kt,value:Et});r.deps.push({token:e=n,options:6})}const o=t.get(e);if(o&&o.fn==kt)throw It(e);t.set(e,r)}}}(r,e)}get(e,t,n=ee.Default){const r=this._records.get(e);try{return function e(t,n,r,o,i,s){try{return function(t,n,r,o,i,s){let l;if(!n||s&ee.SkipSelf)s&ee.Self||(l=o.get(t,i,ee.Default));else{if((l=n.value)==St)throw Error(Ct+"Circular dependency");if(l===Et){n.value=St;let t=void 0,i=n.useNew,s=n.fn,a=n.deps,u=Et;if(a.length){u=[];for(let t=0;t<a.length;t++){const n=a[t],i=n.options,s=2&i?r.get(n.token):void 0;u.push(e(n.token,s,r,s||4&i?o:wt.NULL,1&i?null:wt.THROW_IF_NOT_FOUND,ee.Default))}}n.value=l=i?new s(...u):s.apply(t,u)}}return l}(t,n,r,o,i,s)}catch(l){throw l instanceof Error||(l=new Error(l)),(l[ve]=l[ve]||[]).unshift(t),n&&n.value==St&&(n.value=Et),l}}(e,r,this._records,this.parent,t,n)}catch(o){return function(e,t,n,r){const o=e[ve];throw t[we]&&o.unshift(t[we]),e.message=Te("\n"+e.message,o,"StaticInjectorError",r),e[ye]=o,e[ve]=null,e}(o,e,0,this.source)}}toString(){const e=[];return this._records.forEach((t,n)=>e.push(ie(n))),`StaticInjector[${e.join(", ")}]`}}function It(e){return At("Cannot mix multi providers and regular providers",e)}function At(e,t){return new Error(Te(e,t,"StaticInjectorError"))}let Ot=null;function Dt(){if(!Ot){const e=fe.Symbol;if(e&&e.iterator)Ot=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&&(Ot=n)}}}return Ot}function Pt(e,t){return e===t||"number"==typeof e&&"number"==typeof t&&isNaN(e)&&isNaN(t)}function Nt(e,t){const n=Mt(e),r=Mt(t);if(n&&r)return function(e,t,n){const r=e[Dt()](),o=t[Dt()]();for(;;){const e=r.next(),t=o.next();if(e.done&&t.done)return!0;if(e.done||t.done)return!1;if(!n(e.value,t.value))return!1}}(e,t,Nt);{const o=e&&("object"==typeof e||"function"==typeof e),i=t&&("object"==typeof t||"function"==typeof t);return!(n||!o||r||!i)||Pt(e,t)}}class Ft{constructor(e){this.wrapped=e}static wrap(e){return new Ft(e)}static unwrap(e){return Ft.isWrapped(e)?e.wrapped:e}static isWrapped(e){return e instanceof Ft}}function Mt(e){return!!Rt(e)&&(Array.isArray(e)||!(e instanceof Map)&&Dt()in e)}function Rt(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function Vt(e){return!!e&&"function"==typeof e.then}class jt{constructor(e,t,n){this.previousValue=e,this.currentValue=t,this.firstChange=n}isFirstChange(){return this.firstChange}}class Lt{}class zt{}function Ut(e){const t=Error(`No component factory found for ${ie(e)}. Did you add it to @NgModule.entryComponents?`);return t[Zt]=e,t}const Zt="ngComponent";class Ht{resolveComponentFactory(e){throw Ut(e)}}let Bt=(()=>{class e{}return e.NULL=new Ht,e})();class Kt{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 Ut(e);return new qt(t,this._ngModule)}}class qt extends zt{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 Gt(...e){}let $t=(()=>{class e{constructor(e){this.nativeElement=e}}return e.__NG_ELEMENT_ID__=()=>Xt(e),e})();const Xt=Gt;class Wt{}class Qt{}const Jt=function(){var e={Important:1,DashCase:2};return e[e.Important]="Important",e[e.DashCase]="DashCase",e}();let Yt=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>en(),e})();const en=Gt;class tn{constructor(e){this.full=e,this.major=e.split(".")[0],this.minor=e.split(".")[1],this.patch=e.split(".").slice(2).join(".")}}const nn=new tn("8.2.3");class rn{constructor(){}supports(e){return Mt(e)}create(e){return new sn(e)}}const on=(e,t)=>t;class sn{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||on}forEachItem(e){let t;for(t=this._itHead;null!==t;t=t._next)e(t)}forEachOperation(e){let t=this._itHead,n=this._removalsHead,r=0,o=null;for(;t||n;){const i=!n||t&&t.currentIndex<cn(n,r,o)?t:n,s=cn(i,r,o),l=i.currentIndex;if(i===n)r--,n=n._nextRemoved;else if(t=t._next,null==i.previousIndex)r++;else{o||(o=[]);const e=s-r,t=l-r;if(e!=t){for(let n=0;n<e;n++){const r=n<o.length?o[n]:o[n]=0,i=r+n;t<=i&&i<e&&(o[n]=r+1)}o[i.previousIndex]=t-e}}s!==l&&e(i,s,l)}}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=[]),!Mt(e))throw new Error(`Error trying to diff '${ie(e)}'. Only arrays and iterables are allowed`);return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let t,n,r,o=this._itHead,i=!1;if(Array.isArray(e)){this.length=e.length;for(let t=0;t<this.length;t++)r=this._trackByFn(t,n=e[t]),null!==o&&Pt(o.trackById,r)?(i&&(o=this._verifyReinsertion(o,n,r,t)),Pt(o.item,n)||this._addIdentityChange(o,n)):(o=this._mismatch(o,n,r,t),i=!0),o=o._next}else t=0,function(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[Dt()]();let r;for(;!(r=n.next()).done;)t(r.value)}}(e,e=>{r=this._trackByFn(t,e),null!==o&&Pt(o.trackById,r)?(i&&(o=this._verifyReinsertion(o,e,r,t)),Pt(o.item,e)||this._addIdentityChange(o,e)):(o=this._mismatch(o,e,r,t),i=!0),o=o._next,t++}),this.length=t;return this._truncate(o),this.collection=e,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let e,t;for(e=this._previousItHead=this._itHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;null!==e;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;null!==e;e=t)e.previousIndex=e.currentIndex,t=e._nextMoved;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(e,t,n,r){let o;return null===e?o=this._itTail:(o=e._prev,this._remove(e)),null!==(e=null===this._linkedRecords?null:this._linkedRecords.get(n,r))?(Pt(e.item,t)||this._addIdentityChange(e,t),this._moveAfter(e,o,r)):null!==(e=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(Pt(e.item,t)||this._addIdentityChange(e,t),this._reinsertAfter(e,o,r)):e=this._addAfter(new ln(t,n),o,r),e}_verifyReinsertion(e,t,n,r){let o=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==o?e=this._reinsertAfter(o,e._prev,r):e.currentIndex!=r&&(e.currentIndex=r,this._addToMoves(e,r)),e}_truncate(e){for(;null!==e;){const t=e._next;this._addToRemovals(this._unlink(e)),e=t}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(e,t,n){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(e);const r=e._prevRemoved,o=e._nextRemoved;return null===r?this._removalsHead=o:r._nextRemoved=o,null===o?this._removalsTail=r:o._prevRemoved=r,this._insertAfter(e,t,n),this._addToMoves(e,n),e}_moveAfter(e,t,n){return this._unlink(e),this._insertAfter(e,t,n),this._addToMoves(e,n),e}_addAfter(e,t,n){return this._insertAfter(e,t,n),this._additionsTail=null===this._additionsTail?this._additionsHead=e:this._additionsTail._nextAdded=e,e}_insertAfter(e,t,n){const r=null===t?this._itHead:t._next;return e._next=r,e._prev=t,null===r?this._itTail=e:r._prev=e,null===t?this._itHead=e:t._next=e,null===this._linkedRecords&&(this._linkedRecords=new un),this._linkedRecords.put(e),e.currentIndex=n,e}_remove(e){return this._addToRemovals(this._unlink(e))}_unlink(e){null!==this._linkedRecords&&this._linkedRecords.remove(e);const t=e._prev,n=e._next;return null===t?this._itHead=n:t._next=n,null===n?this._itTail=t:n._prev=t,e}_addToMoves(e,t){return e.previousIndex===t?e:(this._movesTail=null===this._movesTail?this._movesHead=e:this._movesTail._nextMoved=e,e)}_addToRemovals(e){return null===this._unlinkedRecords&&(this._unlinkedRecords=new un),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e}_addIdentityChange(e,t){return e.item=t,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=e:this._identityChangesTail._nextIdentityChange=e,e}}class ln{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 an{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)&&Pt(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 un{constructor(){this.map=new Map}put(e){const t=e.trackById;let n=this.map.get(t);n||(n=new an,this.map.set(t,n)),n.add(e)}get(e,t){const n=this.map.get(e);return n?n.get(e,t):null}remove(e){const t=e.trackById;return this.map.get(t).remove(e)&&this.map.delete(t),e}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function cn(e,t,n){const r=e.previousIndex;if(null===r)return r;let o=0;return n&&r<n.length&&(o=n[r]),r+t+o}class dn{constructor(){}supports(e){return e instanceof Map||Rt(e)}create(){return new hn}}class hn{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||Rt(e)))throw new Error(`Error trying to diff '${ie(e)}'. Only maps and objects are allowed`)}else e=new Map;return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let t=this._mapHead;if(this._appendAfter=null,this._forEach(e,(e,n)=>{if(t&&t.key===n)this._maybeAddToChanges(t,e),this._appendAfter=t,t=t._next;else{const r=this._getOrCreateRecordForKey(n,e);t=this._insertBeforeOrAppend(t,r)}}),t){t._prev&&(t._prev._next=null),this._removalsHead=t;for(let e=t;null!==e;e=e._nextRemoved)e===this._mapHead&&(this._mapHead=null),this._records.delete(e.key),e._nextRemoved=e._next,e.previousValue=e.currentValue,e.currentValue=null,e._prev=null,e._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(e,t){if(e){const n=e._prev;return t._next=e,t._prev=n,e._prev=t,n&&(n._next=t),e===this._mapHead&&(this._mapHead=t),this._appendAfter=e,e}return this._appendAfter?(this._appendAfter._next=t,t._prev=this._appendAfter):this._mapHead=t,this._appendAfter=t,null}_getOrCreateRecordForKey(e,t){if(this._records.has(e)){const n=this._records.get(e);this._maybeAddToChanges(n,t);const r=n._prev,o=n._next;return r&&(r._next=o),o&&(o._prev=r),n._next=null,n._prev=null,n}const n=new fn(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){Pt(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 fn{constructor(e){this.key=e,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}let pn=(()=>{class e{constructor(e){this.factories=e}static create(t,n){if(null!=n){const e=n.factories.slice();t=t.concat(e)}return new e(t)}static extend(t){return{provide:e,useFactory:n=>{if(!n)throw new Error("Cannot extend IterableDiffers without a parent injector");return e.create(t,n)},deps:[[e,new Y,new Q]]}}find(e){const t=this.factories.find(t=>t.supports(e));if(null!=t)return t;throw new Error(`Cannot find a differ supporting object '${e}' of type '${n=e,n.name||typeof n}'`);var n}}return e.ngInjectableDef=ne({token:e,providedIn:"root",factory:()=>new e([new rn])}),e})(),gn=(()=>{class e{constructor(e){this.factories=e}static create(t,n){if(n){const e=n.factories.slice();t=t.concat(e)}return new e(t)}static extend(t){return{provide:e,useFactory:n=>{if(!n)throw new Error("Cannot extend KeyValueDiffers without a parent injector");return e.create(t,n)},deps:[[e,new Y,new Q]]}}find(e){const t=this.factories.find(t=>t.supports(e));if(t)return t;throw new Error(`Cannot find a differ supporting object '${e}'`)}}return e.ngInjectableDef=ne({token:e,providedIn:"root",factory:()=>new e([new dn])}),e})();const mn=[new dn],vn=new pn([new rn]),yn=new gn(mn);let _n=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>bn(e,$t),e})();const bn=Gt;let wn=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>xn(e,$t),e})();const xn=Gt;function En(e,t,n,r){let o=`ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Previous value: '${t}'. Current value: '${n}'.`;return r&&(o+=" It seems like the view has been created after its parent and its children have been dirty checked. Has it been created in a change detection hook ?"),function(e,t){const n=new Error(e);return Sn(n,t),n}(o,e)}function Sn(e,t){e[Fe]=t,e[Re]=t.logError.bind(t)}function kn(e){return new Error(`ViewDestroyedError: Attempt to use a destroyed view: ${e}`)}function Cn(e,t,n){const r=e.state,o=1792&r;return o===t?(e.state=-1793&r|n,e.initIndex=-1,!0):o===n}function Tn(e,t,n){return(1792&e.state)===t&&e.initIndex<=n&&(e.initIndex=n+1,!0)}function In(e,t){return e.nodes[t]}function An(e,t){return e.nodes[t]}function On(e,t){return e.nodes[t]}function Dn(e,t){return e.nodes[t]}function Pn(e,t){return e.nodes[t]}const Nn={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},Fn=()=>{},Mn=new Map;function Rn(e){let t=Mn.get(e);return t||(t=ie(e)+"_"+Mn.size,Mn.set(e,t)),t}const Vn="$$undefined",jn="$$empty";function Ln(e){return{id:Vn,styles:e.styles,encapsulation:e.encapsulation,data:e.data}}let zn=0;function Un(e,t,n,r){return!(!(2&e.state)&&Pt(e.oldValues[t.bindingIndex+n],r))}function Zn(e,t,n,r){return!!Un(e,t,n,r)&&(e.oldValues[t.bindingIndex+n]=r,!0)}function Hn(e,t,n,r){const o=e.oldValues[t.bindingIndex+n];if(1&e.state||!Nt(o,r)){const i=t.bindings[n].name;throw En(Nn.createDebugContext(e,t.nodeIndex),`${i}: ${o}`,`${i}: ${r}`,0!=(1&e.state))}}function Bn(e){let t=e;for(;t;)2&t.def.flags&&(t.state|=8),t=t.viewContainerParent||t.parent}function Kn(e,t){let n=e;for(;n&&n!==t;)n.state|=64,n=n.viewContainerParent||n.parent}function qn(e,t,n,r){try{return Bn(33554432&e.def.nodes[t].flags?An(e,t).componentView:e),Nn.handleEvent(e,t,n,r)}catch(o){e.root.errorHandler.handleError(o)}}function Gn(e){return e.parent?An(e.parent,e.parentNodeDef.nodeIndex):null}function $n(e){return e.parent?e.parentNodeDef.parent:null}function Xn(e,t){switch(201347067&t.flags){case 1:return An(e,t.nodeIndex).renderElement;case 2:return In(e,t.nodeIndex).renderText}}function Wn(e){return!!e.parent&&!!(32768&e.parentNodeDef.flags)}function Qn(e){return!(!e.parent||32768&e.parentNodeDef.flags)}function Jn(e){const t={};let n=0;const r={};return e&&e.forEach(([e,o])=>{"number"==typeof e?(t[e]=o,n|=function(e){return 1<<e%32}(e)):r[e]=o}),{matchedQueries:t,references:r,matchedQueryIds:n}}function Yn(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,we,{value:t,configurable:!0}),{flags:r,token:n,tokenKey:Rn(n)}})}function er(e,t,n){let r=n.renderParent;return r?0==(1&r.flags)||0==(33554432&r.flags)||r.element.componentRendererType&&r.element.componentRendererType.encapsulation===Pe.Native?An(e,n.renderParent.nodeIndex).renderElement:void 0:t}const tr=new WeakMap;function nr(e){let t=tr.get(e);return t||((t=e(()=>Fn)).factory=e,tr.set(e,t)),t}function rr(e,t,n,r,o){3===t&&(n=e.renderer.parentNode(Xn(e,e.def.lastRenderRootNode))),or(e,t,0,e.def.nodes.length-1,n,r,o)}function or(e,t,n,r,o,i,s){for(let l=n;l<=r;l++){const n=e.def.nodes[l];11&n.flags&&sr(e,n,t,o,i,s),l+=n.childCount}}function ir(e,t,n,r,o,i){let s=e;for(;s&&!Wn(s);)s=s.parent;const l=s.parent,a=$n(s),u=a.nodeIndex+a.childCount;for(let c=a.nodeIndex+1;c<=u;c++){const e=l.def.nodes[c];e.ngContentIndex===t&&sr(l,e,n,r,o,i),c+=e.childCount}if(!l.parent){const s=e.root.projectableNodes[t];if(s)for(let t=0;t<s.length;t++)lr(e,s[t],n,r,o,i)}}function sr(e,t,n,r,o,i){if(8&t.flags)ir(e,t.ngContent.index,n,r,o,i);else{const s=Xn(e,t);if(3===n&&33554432&t.flags&&48&t.bindingFlags?(16&t.bindingFlags&&lr(e,s,n,r,o,i),32&t.bindingFlags&&lr(An(e,t.nodeIndex).componentView,s,n,r,o,i)):lr(e,s,n,r,o,i),16777216&t.flags){const s=An(e,t.nodeIndex).viewContainer._embeddedViews;for(let e=0;e<s.length;e++)rr(s[e],n,r,o,i)}1&t.flags&&!t.element.name&&or(e,n,t.nodeIndex+1,t.nodeIndex+t.childCount,r,o,i)}}function lr(e,t,n,r,o,i){const s=e.renderer;switch(n){case 1:s.appendChild(r,t);break;case 2:s.insertBefore(r,t,o);break;case 3:s.removeChild(r,t);break;case 0:i.push(t)}}const ar=/^:([^:]+):(.+)$/;function ur(e){if(":"===e[0]){const t=e.match(ar);return[t[1],t[2]]}return["",e]}function cr(e){let t=0;for(let n=0;n<e.length;n++)t|=e[n].flags;return t}const dr=new Object,hr=Rn(wt),fr=Rn(ge),pr=Rn(Ie);function gr(e,t,n,r){return n=ae(n),{index:-1,deps:Yn(r,ie(t)),flags:e,token:t,value:n}}function mr(e,t,n=wt.THROW_IF_NOT_FOUND){const r=ke(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 s=t.tokenKey;switch(s){case hr:case fr:case pr:return e}const l=e._def.providersByKey[s];let a;if(l){let t=e._providers[l.index];return void 0===t&&(t=e._providers[l.index]=vr(e,l)),t===dr?void 0:t}if((a=re(t.token))&&(o=e,null!=(i=a).providedIn&&(function(e,t){return e._def.modules.indexOf(i.providedIn)>-1}(o)||"root"===i.providedIn&&o._def.isRoot))){const n=e._providers.length;return e._def.providers[n]=e._def.providersByKey[t.tokenKey]={flags:5120,value:a.factory,deps:[],index:n,token:t.token},e._providers[n]=dr,e._providers[n]=vr(e,e._def.providersByKey[t.tokenKey])}return 4&t.flags?n:e._parent.get(t.token,n)}finally{ke(r)}var o,i}function vr(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(mr(e,n[0]));case 2:return new t(mr(e,n[0]),mr(e,n[1]));case 3:return new t(mr(e,n[0]),mr(e,n[1]),mr(e,n[2]));default:const o=new Array(r);for(let t=0;t<r;t++)o[t]=mr(e,n[t]);return new t(...o)}}(e,t.value,t.deps);break;case 1024:n=function(e,t,n){const r=n.length;switch(r){case 0:return t();case 1:return t(mr(e,n[0]));case 2:return t(mr(e,n[0]),mr(e,n[1]));case 3:return t(mr(e,n[0]),mr(e,n[1]),mr(e,n[2]));default:const o=Array(r);for(let t=0;t<r;t++)o[t]=mr(e,n[t]);return t(...o)}}(e,t.value,t.deps);break;case 2048:n=mr(e,t.deps[0]);break;case 256:n=t.value}return n===dr||null===n||"object"!=typeof n||131072&t.flags||"function"!=typeof n.ngOnDestroy||(t.flags|=131072),void 0===n?dr:n}function yr(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,De(n,t),Nn.dirtyParentQueries(r),br(r),r}function _r(e,t,n){const r=t?Xn(t,t.def.lastRenderRootNode):e.renderElement,o=n.renderer.parentNode(r),i=n.renderer.nextSibling(r);rr(n,2,o,i,void 0)}function br(e){rr(e,3,null,null,void 0)}const wr=new Object;function xr(e,t,n,r,o,i){return new Er(e,t,n,r,o,i)}class Er extends zt{constructor(e,t,n,r,o,i){super(),this.selector=e,this.componentType=t,this._inputs=r,this._outputs=o,this.ngContentSelectors=i,this.viewDefFactory=n}get inputs(){const e=[],t=this._inputs;for(let n in t)e.push({propName:n,templateName:t[n]});return e}get outputs(){const e=[];for(let t in this._outputs)e.push({propName:t,templateName:this._outputs[t]});return e}create(e,t,n,r){if(!r)throw new Error("ngModule should be provided");const o=nr(this.viewDefFactory),i=o.nodes[0].element.componentProvider.nodeIndex,s=Nn.createRootView(e,t||[],n,o,r,wr),l=On(s,i).instance;return n&&s.renderer.setAttribute(An(s,0).renderElement,"ng-version",nn.full),new Sr(s,new Ir(s),l)}}class Sr extends Lt{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 $t(An(this._view,this._elDef.nodeIndex).renderElement)}get injector(){return new Pr(this._view,this._elDef)}get componentType(){return this._component.constructor}destroy(){this._viewRef.destroy()}onDestroy(e){this._viewRef.onDestroy(e)}}function kr(e,t,n){return new Cr(e,t,n)}class Cr{constructor(e,t,n){this._view=e,this._elDef=t,this._data=n,this._embeddedViews=[]}get element(){return new $t(this._data.renderElement)}get injector(){return new Pr(this._view,this._elDef)}get parentInjector(){let e=this._view,t=this._elDef.parent;for(;!t&&e;)t=$n(e),e=e.parent;return e?new Pr(e,t):new Pr(this._view,null)}clear(){for(let e=this._embeddedViews.length-1;e>=0;e--){const t=yr(this._data,e);Nn.destroyView(t)}}get(e){const t=this._embeddedViews[e];if(t){const e=new Ir(t);return e.attachToViewContainerRef(this),e}return null}get length(){return this._embeddedViews.length}createEmbeddedView(e,t,n){const r=e.createEmbeddedView(t||{});return this.insert(r,n),r}createComponent(e,t,n,r,o){const i=n||this.parentInjector;o||e instanceof qt||(o=i.get(Ie));const s=e.create(i,r,void 0,o);return this.insert(s.hostView,t),s}insert(e,t){if(e.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");const n=e;return function(e,t,n,r){let o=t.viewContainer._embeddedViews;null==n&&(n=o.length),r.viewContainerParent=e,Oe(o,n,r),function(e,t){const n=Gn(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,n){if(4&n.flags)return;t.parent.def.nodeFlags|=4,n.flags|=4;let r=n.parent;for(;r;)r.childFlags|=4,r=r.parent}(0,t.parentNodeDef)}(t,r),Nn.dirtyParentQueries(r),_r(t,n>0?o[n-1]:null,r)}(this._view,this._data,t,n._view),n.attachToViewContainerRef(this),e}move(e,t){if(e.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");const n=this._embeddedViews.indexOf(e._view);return function(e,t,r){const o=e.viewContainer._embeddedViews,i=o[n];De(o,n),null==r&&(r=o.length),Oe(o,r,i),Nn.dirtyParentQueries(i),br(i),_r(e,r>0?o[r-1]:null,i)}(this._data,0,t),e}indexOf(e){return this._embeddedViews.indexOf(e._view)}remove(e){const t=yr(this._data,e);t&&Nn.destroyView(t)}detach(e){const t=yr(this._data,e);return t?new Ir(t):null}}function Tr(e){return new Ir(e)}class Ir{constructor(e){this._view=e,this._viewContainerRef=null,this._appRef=null}get rootNodes(){return function(e){const t=[];return rr(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(){Bn(this._view)}detach(){this._view.state&=-5}detectChanges(){const e=this._view.root.rendererFactory;e.begin&&e.begin();try{Nn.checkAndUpdateView(this._view)}finally{e.end&&e.end()}}checkNoChanges(){Nn.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)),Nn.destroyView(this._view)}detachFromAppRef(){this._appRef=null,br(this._view),Nn.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 Ar(e,t){return new Or(e,t)}class Or extends _n{constructor(e,t){super(),this._parentView=e,this._def=t}createEmbeddedView(e){return new Ir(Nn.createEmbeddedView(this._parentView,this._def,this._def.element.template,e))}get elementRef(){return new $t(An(this._parentView,this._def.nodeIndex).renderElement)}}function Dr(e,t){return new Pr(e,t)}class Pr{constructor(e,t){this.view=e,this.elDef=t}get(e,t=wt.THROW_IF_NOT_FOUND){return Nn.resolveDep(this.view,this.elDef,!!this.elDef&&0!=(33554432&this.elDef.flags),{flags:0,token:e,tokenKey:Rn(e)},t)}}function Nr(e,t){const n=e.def.nodes[t];if(1&n.flags){const t=An(e,n.nodeIndex);return n.element.template?t.template:t.renderElement}if(2&n.flags)return In(e,n.nodeIndex).renderText;if(20240&n.flags)return On(e,n.nodeIndex).instance;throw new Error(`Illegal state: read nodeValue for node index ${t}`)}function Fr(e){return new Mr(e.renderer)}class Mr{constructor(e){this.delegate=e}selectRootElement(e){return this.delegate.selectRootElement(e)}createElement(e,t){const[n,r]=ur(t),o=this.delegate.createElement(r,n);return e&&this.delegate.appendChild(e,o),o}createViewRoot(e){return e}createTemplateAnchor(e){const t=this.delegate.createComment("");return e&&this.delegate.appendChild(e,t),t}createText(e,t){const n=this.delegate.createText(t);return e&&this.delegate.appendChild(e,n),n}projectNodes(e,t){for(let n=0;n<t.length;n++)this.delegate.appendChild(e,t[n])}attachViewAfter(e,t){const n=this.delegate.parentNode(e),r=this.delegate.nextSibling(e);for(let o=0;o<t.length;o++)this.delegate.insertBefore(n,t[o],r)}detachView(e){for(let t=0;t<e.length;t++){const n=e[t],r=this.delegate.parentNode(n);this.delegate.removeChild(r,n)}}destroyView(e,t){for(let n=0;n<t.length;n++)this.delegate.destroyNode(t[n])}listen(e,t,n){return this.delegate.listen(e,t,n)}listenGlobal(e,t,n){return this.delegate.listen(e,t,n)}setElementProperty(e,t,n){this.delegate.setProperty(e,t,n)}setElementAttribute(e,t,n){const[r,o]=ur(t);null!=n?this.delegate.setAttribute(e,o,n,r):this.delegate.removeAttribute(e,o,r)}setBindingDebugInfo(e,t,n){}setElementClass(e,t,n){n?this.delegate.addClass(e,t):this.delegate.removeClass(e,t)}setElementStyle(e,t,n){null!=n?this.delegate.setStyle(e,t,n):this.delegate.removeStyle(e,t)}invokeElementMethod(e,t,n){e[t].apply(e,n)}setText(e,t){this.delegate.setValue(e,t)}animate(){throw new Error("Renderer.animate is no longer supported!")}}function Rr(e,t,n,r){return new Vr(e,t,n,r)}class Vr{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=new Array(t.providers.length);for(let r=0;r<t.providers.length;r++){const o=t.providers[r];4096&o.flags||void 0===n[r]&&(n[r]=vr(e,o))}}(this)}get(e,t=wt.THROW_IF_NOT_FOUND,n=ee.Default){let r=0;return n&ee.SkipSelf?r|=1:n&ee.Self&&(r|=4),mr(this,{token:e,tokenKey:Rn(e),flags:r},t)}get instance(){return this.get(this._moduleType)}get componentFactoryResolver(){return this.get(Bt)}destroy(){if(this._destroyed)throw new Error(`The ng module ${ie(this.instance.constructor)} has already been destroyed.`);this._destroyed=!0,function(e,t){const n=e._def,r=new Set;for(let o=0;o<n.providers.length;o++)if(131072&n.providers[o].flags){const t=e._providers[o];if(t&&t!==dr){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 jr=Rn(Wt),Lr=Rn(Yt),zr=Rn($t),Ur=Rn(wn),Zr=Rn(_n),Hr=Rn(vt),Br=Rn(wt),Kr=Rn(ge);function qr(e,t,n,r,o,i,s,l){const a=[];if(s)for(let c in s){const[e,t]=s[c];a[e]={flags:8,name:c,nonMinifiedName:t,ns:null,securityContext:null,suffix:null}}const u=[];if(l)for(let c in l)u.push({type:1,propName:c,target:null,eventName:l[c]});return $r(e,t|=16384,n,r,o,o,i,a,u)}function Gr(e,t,n,r,o){return $r(-1,e,t,0,n,r,o)}function $r(e,t,n,r,o,i,s,l,a){const{matchedQueries:u,references:c,matchedQueryIds:d}=Jn(n);a||(a=[]),l||(l=[]),i=ae(i);const h=Yn(s,ie(o));return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:e,flags:t,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:u,matchedQueryIds:d,references:c,ngContentIndex:-1,childCount:r,bindings:l,bindingFlags:cr(l),outputs:a,element:null,provider:{token:o,value:i,deps:h},text:null,query:null,ngContent:null}}function Xr(e,t){return Yr(e,t)}function Wr(e,t){let n=e;for(;n.parent&&!Wn(n);)n=n.parent;return eo(n.parent,$n(n),!0,t.provider.value,t.provider.deps)}function Qr(e,t){const n=eo(e,t.parent,(32768&t.flags)>0,t.provider.value,t.provider.deps);if(t.outputs.length)for(let o=0;o<t.outputs.length;o++){const i=t.outputs[o],s=n[i.propName];if(!(r=s)||"function"!=typeof r.subscribe)throw new Error(`@Output ${i.propName} not initialized in '${n.constructor.name}'.`);{const n=s.subscribe(Jr(e,t.parent.nodeIndex,i.eventName));e.disposables[t.outputIndex+o]=n.unsubscribe.bind(n)}}var r;return n}function Jr(e,t,n){return r=>qn(e,t,n,r)}function Yr(e,t){const n=(8192&t.flags)>0,r=t.provider;switch(201347067&t.flags){case 512:return eo(e,t.parent,n,r.value,r.deps);case 1024:return function(e,t,n,r,o){const i=o.length;switch(i){case 0:return r();case 1:return r(no(e,t,n,o[0]));case 2:return r(no(e,t,n,o[0]),no(e,t,n,o[1]));case 3:return r(no(e,t,n,o[0]),no(e,t,n,o[1]),no(e,t,n,o[2]));default:const s=Array(i);for(let r=0;r<i;r++)s[r]=no(e,t,n,o[r]);return r(...s)}}(e,t.parent,n,r.value,r.deps);case 2048:return no(e,t.parent,n,r.deps[0]);case 256:return r.value}}function eo(e,t,n,r,o){const i=o.length;switch(i){case 0:return new r;case 1:return new r(no(e,t,n,o[0]));case 2:return new r(no(e,t,n,o[0]),no(e,t,n,o[1]));case 3:return new r(no(e,t,n,o[0]),no(e,t,n,o[1]),no(e,t,n,o[2]));default:const s=new Array(i);for(let r=0;r<i;r++)s[r]=no(e,t,n,o[r]);return new r(...s)}}const to={};function no(e,t,n,r,o=wt.THROW_IF_NOT_FOUND){if(8&r.flags)return r.token;const i=e;2&r.flags&&(o=null);const s=r.tokenKey;s===Hr&&(n=!(!t||!t.element.componentView)),t&&1&r.flags&&(n=!1,t=t.parent);let l=e;for(;l;){if(t)switch(s){case jr:return Fr(ro(l,t,n));case Lr:return ro(l,t,n).renderer;case zr:return new $t(An(l,t.nodeIndex).renderElement);case Ur:return An(l,t.nodeIndex).viewContainer;case Zr:if(t.element.template)return An(l,t.nodeIndex).template;break;case Hr:return Tr(ro(l,t,n));case Br:case Kr:return Dr(l,t);default:const e=(n?t.element.allProviders:t.element.publicProviders)[s];if(e){let t=On(l,e.nodeIndex);return t||(t={instance:Yr(l,e)},l.nodes[e.nodeIndex]=t),t.instance}}n=Wn(l),t=$n(l),l=l.parent,4&r.flags&&(l=null)}const a=i.root.injector.get(r.token,to);return a!==to||o===to?a:i.root.ngModule.injector.get(r.token,o)}function ro(e,t,n){let r;if(n)r=An(e,t.nodeIndex).componentView;else for(r=e;r.parent&&!Wn(r);)r=r.parent;return r}function oo(e,t,n,r,o,i){if(32768&n.flags){const t=An(e,n.parent.nodeIndex).componentView;2&t.def.flags&&(t.state|=8)}if(t.instance[n.bindings[r].name]=o,524288&n.flags){i=i||{};const t=Ft.unwrap(e.oldValues[n.bindingIndex+r]);i[n.bindings[r].nonMinifiedName]=new jt(t,o,0!=(2&e.state))}return e.oldValues[n.bindingIndex+r]=o,i}function io(e,t){if(!(e.def.nodeFlags&t))return;const n=e.def.nodes;let r=0;for(let o=0;o<n.length;o++){const i=n[o];let s=i.parent;for(!s&&i.flags&t&&lo(e,o,i.flags&t,r++),0==(i.childFlags&t)&&(o+=i.childCount);s&&1&s.flags&&o===s.nodeIndex+s.childCount;)s.directChildFlags&t&&(r=so(e,s,t,r)),s=s.parent}}function so(e,t,n,r){for(let o=t.nodeIndex+1;o<=t.nodeIndex+t.childCount;o++){const t=e.def.nodes[o];t.flags&n&&lo(e,o,t.flags&n,r++),o+=t.childCount}return r}function lo(e,t,n,r){const o=On(e,t);if(!o)return;const i=o.instance;i&&(Nn.setCurrentNode(e,t),1048576&n&&Tn(e,512,r)&&i.ngAfterContentInit(),2097152&n&&i.ngAfterContentChecked(),4194304&n&&Tn(e,768,r)&&i.ngAfterViewInit(),8388608&n&&i.ngAfterViewChecked(),131072&n&&i.ngOnDestroy())}const ao=new pe("SCHEDULER_TOKEN",{providedIn:"root",factory:()=>Ne}),uo={},co=function(){var e={LocaleId:0,DayPeriodsFormat:1,DayPeriodsStandalone:2,DaysFormat:3,DaysStandalone:4,MonthsFormat:5,MonthsStandalone:6,Eras:7,FirstDayOfWeek:8,WeekendRange:9,DateFormat:10,TimeFormat:11,DateTimeFormat:12,NumberSymbols:13,NumberFormats:14,CurrencySymbol:15,CurrencyName:16,Currencies:17,PluralCase:18,ExtraData:19};return e[e.LocaleId]="LocaleId",e[e.DayPeriodsFormat]="DayPeriodsFormat",e[e.DayPeriodsStandalone]="DayPeriodsStandalone",e[e.DaysFormat]="DaysFormat",e[e.DaysStandalone]="DaysStandalone",e[e.MonthsFormat]="MonthsFormat",e[e.MonthsStandalone]="MonthsStandalone",e[e.Eras]="Eras",e[e.FirstDayOfWeek]="FirstDayOfWeek",e[e.WeekendRange]="WeekendRange",e[e.DateFormat]="DateFormat",e[e.TimeFormat]="TimeFormat",e[e.DateTimeFormat]="DateTimeFormat",e[e.NumberSymbols]="NumberSymbols",e[e.NumberFormats]="NumberFormats",e[e.CurrencySymbol]="CurrencySymbol",e[e.CurrencyName]="CurrencyName",e[e.Currencies]="Currencies",e[e.PluralCase]="PluralCase",e[e.ExtraData]="ExtraData",e}(),ho=void 0;var fo=["en",[["a","p"],["AM","PM"],ho],[["AM","PM"],ho,ho],[["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"]],ho,[["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"]],ho,[["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}",ho,"{1} 'at' {0}",ho],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"$","US Dollar",{},function(e){let t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return 1===t&&0===n?1:5}];function po(e){const t=e.toLowerCase().replace(/_/g,"-");let n=uo[t];if(n)return n;const r=t.split("-")[0];if(n=uo[r])return n;if("en"===r)return fo;throw new Error(`Missing locale data for the locale "${e}".`)}const go="en-US";let mo=go;function vo(e){var t;t="Expected localeId to be defined",null==e&&function(e){throw new Error(`ASSERTION ERROR: ${e}`)}(t),"string"==typeof e&&(mo=e.toLowerCase().replace(/_/g,"-"))}class yo extends S{constructor(e=!1){super(),this.__isAsync=e}emit(e){super.next(e)}subscribe(e,t,n){let r,o=e=>null,i=()=>null;e&&"object"==typeof e?(r=this.__isAsync?t=>{setTimeout(()=>e.next(t))}:t=>{e.next(t)},e.error&&(o=this.__isAsync?t=>{setTimeout(()=>e.error(t))}:t=>{e.error(t)}),e.complete&&(i=this.__isAsync?()=>{setTimeout(()=>e.complete())}:()=>{e.complete()})):(r=this.__isAsync?t=>{setTimeout(()=>e(t))}:t=>{e(t)},t&&(o=this.__isAsync?e=>{setTimeout(()=>t(e))}:e=>{t(e)}),n&&(i=this.__isAsync?()=>{setTimeout(()=>n())}:()=>{n()}));const s=super.subscribe(r,o,i);return e instanceof h&&e.add(s),s}}function _o(){return this._results[Dt()]()}class bo{constructor(){this.dirty=!0,this._results=[],this.changes=new yo,this.length=0;const e=Dt(),t=bo.prototype;t[e]||(t[e]=_o)}map(e){return this._results.map(e)}filter(e){return this._results.filter(e)}find(e){return this._results.find(e)}reduce(e,t){return this._results.reduce(e,t)}forEach(e){this._results.forEach(e)}some(e){return this._results.some(e)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(e){this._results=function e(t,n){void 0===n&&(n=t);for(let r=0;r<t.length;r++){let o=t[r];Array.isArray(o)?(n===t&&(n=t.slice(0,r)),e(o,n)):n!==t&&n.push(o)}return n}(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()}}const wo=new pe("Application Initializer");class xo{constructor(e){this.appInits=e,this.initialized=!1,this.done=!1,this.donePromise=new Promise((e,t)=>{this.resolve=e,this.reject=t})}runInitializers(){if(this.initialized)return;const e=[],t=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let n=0;n<this.appInits.length;n++){const t=this.appInits[n]();Vt(t)&&e.push(t)}Promise.all(e).then(()=>{t()}).catch(e=>{this.reject(e)}),0===e.length&&t(),this.initialized=!0}}const Eo=new pe("AppId");function So(){return`${ko()}${ko()}${ko()}`}function ko(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const Co=new pe("Platform Initializer"),To=new pe("Platform ID"),Io=new pe("appBootstrapListener");class Ao{log(e){console.log(e)}warn(e){console.warn(e)}}const Oo=new pe("LocaleId"),Do=!1;function Po(){throw new Error("Runtime compiler is not loaded")}const No=Po,Fo=Po,Mo=Po,Ro=Po;class Vo{constructor(){this.compileModuleSync=No,this.compileModuleAsync=Fo,this.compileModuleAndAllComponentsSync=Mo,this.compileModuleAndAllComponentsAsync=Ro}clearCache(){}clearCacheFor(e){}getModuleId(e){}}class jo{}let Lo,zo;function Uo(){const e=fe.wtf;return!(!e||!(Lo=e.trace)||(zo=Lo.events,0))}const Zo=Uo(),Ho=Zo?function(e,t=null){return zo.createScope(e,t)}:(e,t)=>(function(e,t){return null}),Bo=Zo?function(e,t){return Lo.leaveScope(e,t),t}:(e,t)=>t,Ko=(()=>Promise.resolve(0))();function qo(e){"undefined"==typeof Zone?Ko.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class Go{constructor({enableLongStackTrace:e=!1}){if(this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new yo(!1),this.onMicrotaskEmpty=new yo(!1),this.onStable=new yo(!1),this.onError=new yo(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");var t;Zone.assertZonePatched(),this._nesting=0,this._outer=this._inner=Zone.current,Zone.wtfZoneSpec&&(this._inner=this._inner.fork(Zone.wtfZoneSpec)),Zone.TaskTrackingZoneSpec&&(this._inner=this._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(this._inner=this._inner.fork(Zone.longStackTraceZoneSpec)),(t=this)._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(e,n,r,o,i,s)=>{try{return Qo(t),e.invokeTask(r,o,i,s)}finally{Jo(t)}},onInvoke:(e,n,r,o,i,s,l)=>{try{return Qo(t),e.invoke(r,o,i,s,l)}finally{Jo(t)}},onHasTask:(e,n,r,o)=>{e.hasTask(r,o),n===r&&("microTask"==o.change?(t.hasPendingMicrotasks=o.microTask,Wo(t)):"macroTask"==o.change&&(t.hasPendingMacrotasks=o.macroTask))},onHandleError:(e,n,r,o)=>(e.handleError(r,o),t.runOutsideAngular(()=>t.onError.emit(o)),!1)})}static isInAngularZone(){return!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Go.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(Go.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(e,t,n){return this._inner.run(e,t,n)}runTask(e,t,n,r){const o=this._inner,i=o.scheduleEventTask("NgZoneEvent: "+r,e,Xo,$o,$o);try{return o.runTask(i,t,n)}finally{o.cancelTask(i)}}runGuarded(e,t,n){return this._inner.runGuarded(e,t,n)}runOutsideAngular(e){return this._outer.run(e)}}function $o(){}const Xo={};function Wo(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 Qo(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Jo(e){e._nesting--,Wo(e)}class Yo{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new yo,this.onMicrotaskEmpty=new yo,this.onStable=new yo,this.onError=new yo}run(e){return e()}runGuarded(e){return e()}runOutsideAngular(e){return e()}runTask(e){return e()}}class ei{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:()=>{Go.assertNotInAngularZone(),qo(()=>{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())qo(()=>{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[]}}class ti{constructor(){this._applications=new Map,oi.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 oi.findTestabilityInTree(this,e,t)}}class ni{addToWindow(e){}findTestabilityInTree(e,t,n){return null}}let ri,oi=new ni,ii=function(e,t,n){return e.get(jo).createCompiler([t]).compileModuleAsync(n)},si=function(e){return e instanceof qt};const li=new pe("AllowMultipleToken");class ai{constructor(e,t){this.name=e,this.token=t}}function ui(e,t,n=[]){const r=`Platform: ${t}`,o=new pe(r);return(t=[])=>{let i=ci();if(!i||i.injector.get(li,!1))if(e)e(n.concat(t).concat({provide:o,useValue:!0}));else{const e=n.concat(t).concat({provide:o,useValue:!0});!function(e){if(ri&&!ri.destroyed&&!ri.injector.get(li,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");ri=e.get(di);const t=e.get(Co,null);t&&t.forEach(e=>e())}(wt.create({providers:e,name:r}))}return function(e){const t=ci();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}(o)}}function ci(){return ri&&!ri.destroyed?ri:null}class di{constructor(e){this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(e,t){const n="noop"===(o=t?t.ngZone:void 0)?new Yo:("zone.js"===o?void 0:o)||new Go({enableLongStackTrace:He()}),r=[{provide:Go,useValue:n}];var o;return n.run(()=>{const t=wt.create({providers:r,parent:this.injector,name:e.moduleType.name}),o=e.create(t),i=o.injector.get(ze,null);if(!i)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return Do&&vo(o.injector.get(Oo,go)||go),o.onDestroy(()=>pi(this._modules,o)),n.runOutsideAngular(()=>n.onError.subscribe({next:e=>{i.handleError(e)}})),function(e,t,n){try{const o=n();return Vt(o)?o.catch(n=>{throw t.runOutsideAngular(()=>e.handleError(n)),n}):o}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(i,n,()=>{const e=o.injector.get(xo);return e.runInitializers(),e.donePromise.then(()=>(this._moduleDoBootstrap(o),o))})})}bootstrapModule(e,t=[]){const n=hi({},t);return ii(this.injector,n,e).then(e=>this.bootstrapModuleFactory(e,n))}_moduleDoBootstrap(e){const t=e.injector.get(fi);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(e=>t.bootstrap(e));else{if(!e.instance.ngDoBootstrap)throw new Error(`The module ${ie(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 hi(e,t){return Array.isArray(t)?t.reduce(hi,e):Object.assign({},e,t)}let fi=(()=>{class e{constructor(e,t,n,r,o,i){this._zone=e,this._console=t,this._injector=n,this._exceptionHandler=r,this._componentFactoryResolver=o,this._initStatus=i,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=He(),this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const s=new y(e=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{e.next(this._stable),e.complete()})}),l=new y(e=>{let t;this._zone.runOutsideAngular(()=>{t=this._zone.onStable.subscribe(()=>{Go.assertNotInAngularZone(),qo(()=>{this._stable||this._zone.hasPendingMacrotasks||this._zone.hasPendingMicrotasks||(this._stable=!0,e.next(!0))})})});const n=this._zone.onUnstable.subscribe(()=>{Go.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{e.next(!1)}))});return()=>{t.unsubscribe(),n.unsubscribe()}});this.isStable=function(...e){let t=Number.POSITIVE_INFINITY,n=null,r=e[e.length-1];var o;return(o=r)&&"function"==typeof o.schedule?(n=e.pop(),e.length>1&&"number"==typeof e[e.length-1]&&(t=e.pop())):"number"==typeof r&&(t=e.pop()),null===n&&1===e.length&&e[0]instanceof y?e[0]:z(t)(function(e,t){return t?R(e,t):new y(T(e))}(e,n))}(s,l.pipe(e=>U()(function(e,t){return function(t){let n;n="function"==typeof e?e:function(){return e};const r=Object.create(t,K);return r.source=t,r.subjectFactory=n,r}}(G)(e))))}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 zt?e:this._componentFactoryResolver.resolveComponentFactory(e),this.componentTypes.push(n.componentType);const r=si(n)?null:this._injector.get(Ie),o=n.create(wt.NULL,[],t||n.selector,r);o.onDestroy(()=>{this._unloadComponent(o)});const i=o.injector.get(ei,null);return i&&o.injector.get(ti).registerApplication(o.location.nativeElement,i),this._loadComponent(o),He()&&this._console.log("Angular is running in the development mode. Call enableProdMode() to enable the production mode."),o}tick(){if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");const t=e._tickScope();try{this._runningTick=!0;for(let e of this._views)e.detectChanges();if(this._enforceNoNewChanges)for(let e of this._views)e.checkNoChanges()}catch(n){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(n))}finally{this._runningTick=!1,Bo(t)}}attachView(e){const t=e;this._views.push(t),t.attachToAppRef(this)}detachView(e){const t=e;pi(this._views,t),t.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView),this.tick(),this.components.push(e),this._injector.get(Io,[]).concat(this._bootstrapListeners).forEach(t=>t(e))}_unloadComponent(e){this.detachView(e.hostView),pi(this.components,e)}ngOnDestroy(){this._views.slice().forEach(e=>e.destroy())}get viewCount(){return this._views.length}}return e._tickScope=Ho("ApplicationRef#tick()"),e})();function pi(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class gi{constructor(e,t){this.name=e,this.callback=t}}class mi{constructor(e,t,n){this.listeners=[],this.parent=null,this._debugContext=n,this.nativeNode=e,t&&t instanceof vi&&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 vi extends mi{constructor(e,t,n){super(e,t,n),this.properties={},this.attributes={},this.classes={},this.styles={},this.childNodes=[],this.nativeElement=e}addChild(e){e&&(this.childNodes.push(e),e.parent=this)}removeChild(e){const t=this.childNodes.indexOf(e);-1!==t&&(e.parent=null,this.childNodes.splice(t,1))}insertChildrenAfter(e,t){const n=this.childNodes.indexOf(e);-1!==n&&(this.childNodes.splice(n+1,0,...t),t.forEach(t=>{t.parent&&t.parent.removeChild(t),e.parent=this}))}insertBefore(e,t){const n=this.childNodes.indexOf(e);-1===n?this.addChild(t):(t.parent&&t.parent.removeChild(t),t.parent=this,this.childNodes.splice(n,0,t))}query(e){return this.queryAll(e)[0]||null}queryAll(e){const t=[];return function e(t,n,r){t.childNodes.forEach(t=>{t instanceof vi&&(n(t)&&r.push(t),e(t,n,r))})}(this,e,t),t}queryAllNodes(e){const t=[];return function e(t,n,r){t instanceof vi&&t.childNodes.forEach(t=>{n(t)&&r.push(t),t instanceof vi&&e(t,n,r)})}(this,e,t),t}get children(){return this.childNodes.filter(e=>e instanceof vi)}triggerEventHandler(e,t){this.listeners.forEach(n=>{n.name==e&&n.callback(t)})}}const yi=new Map,_i=function(e){return yi.get(e)||null};function bi(e){yi.set(e.nativeNode,e)}const wi=ui(null,"core",[{provide:To,useValue:"unknown"},{provide:di,deps:[wt]},{provide:ti,deps:[]},{provide:Ao,deps:[]}]);function xi(){return vn}function Ei(){return yn}function Si(e){return e?(Do&&vo(e),e):go}function ki(e){let t=[];return e.onStable.subscribe(()=>{for(;t.length;)t.pop()()}),function(e){t.push(e)}}class Ci{constructor(e){}}function Ti(e,t,n,r,o,i){e|=1;const{matchedQueries:s,references:l,matchedQueryIds:a}=Jn(t);return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,flags:e,checkIndex:-1,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:s,matchedQueryIds:a,references:l,ngContentIndex:n,childCount:r,bindings:[],bindingFlags:0,outputs:[],element:{ns:null,name:null,attrs:null,template:i?nr(i):null,componentProvider:null,componentView:null,componentRendererType:null,publicProviders:null,allProviders:null,handleEvent:o||Fn},provider:null,text:null,query:null,ngContent:null}}function Ii(e,t,n,r,o,i,s=[],l,a,u,c,d){u||(u=Fn);const{matchedQueries:h,references:f,matchedQueryIds:p}=Jn(n);let g=null,m=null;i&&([g,m]=ur(i)),l=l||[];const v=new Array(l.length);for(let b=0;b<l.length;b++){const[e,t,n]=l[b],[r,o]=ur(t);let i=void 0,s=void 0;switch(15&e){case 4:s=n;break;case 1:case 8:i=n}v[b]={flags:e,ns:r,name:o,nonMinifiedName:o,securityContext:i,suffix:s}}a=a||[];const y=new Array(a.length);for(let b=0;b<a.length;b++){const[e,t]=a[b];y[b]={type:0,target:e,eventName:t,propName:null}}const _=(s=s||[]).map(([e,t])=>{const[n,r]=ur(e);return[n,r,t]});return d=function(e){if(e&&e.id===Vn){const t=null!=e.encapsulation&&e.encapsulation!==Pe.None||e.styles.length||Object.keys(e.data).length;e.id=t?`c${zn++}`:jn}return e&&e.id===jn&&(e=null),e||null}(d),c&&(t|=33554432),{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:e,flags:t|=1,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:h,matchedQueryIds:p,references:f,ngContentIndex:r,childCount:o,bindings:v,bindingFlags:cr(v),outputs:y,element:{ns:g,name:m,attrs:_,template:null,componentProvider:null,componentView:c||null,componentRendererType:d,publicProviders:null,allProviders:null,handleEvent:u||Fn},provider:null,text:null,query:null,ngContent:null}}function Ai(e,t,n){const r=n.element,o=e.root.selectorOrNode,i=e.renderer;let s;if(e.parent||!o){s=r.name?i.createElement(r.name,r.ns):i.createComment("");const o=er(e,t,n);o&&i.appendChild(o,s)}else s=i.selectRootElement(o,!!r.componentRendererType&&r.componentRendererType.encapsulation===Pe.ShadowDom);if(r.attrs)for(let l=0;l<r.attrs.length;l++){const[e,t,n]=r.attrs[l];i.setAttribute(s,t,n,e)}return s}function Oi(e,t,n,r){for(let s=0;s<n.outputs.length;s++){const l=n.outputs[s],a=Di(e,n.nodeIndex,(i=l.eventName,(o=l.target)?`${o}:${i}`:i));let u=l.target,c=e;"component"===l.target&&(u=null,c=t);const d=c.renderer.listen(u||r,l.eventName,a);e.disposables[n.outputIndex+s]=d}var o,i}function Di(e,t,n){return r=>qn(e,t,n,r)}function Pi(e,t,n,r){if(!Zn(e,t,n,r))return!1;const o=t.bindings[n],i=An(e,t.nodeIndex),s=i.renderElement,l=o.name;switch(15&o.flags){case 1:!function(e,t,n,r,o,i){const s=t.securityContext;let l=s?e.root.sanitizer.sanitize(s,i):i;l=null!=l?l.toString():null;const a=e.renderer;null!=i?a.setAttribute(n,o,l,r):a.removeAttribute(n,o,r)}(e,o,s,o.ns,l,r);break;case 2:!function(e,t,n,r){const o=e.renderer;r?o.addClass(t,n):o.removeClass(t,n)}(e,s,l,r);break;case 4:!function(e,t,n,r,o){let i=e.root.sanitizer.sanitize(dt.STYLE,o);if(null!=i){i=i.toString();const e=t.suffix;null!=e&&(i+=e)}else i=null;const s=e.renderer;null!=i?s.setStyle(n,r,i):s.removeStyle(n,r)}(e,o,s,l,r);break;case 8:!function(e,t,n,r,o){const i=t.securityContext;let s=i?e.root.sanitizer.sanitize(i,o):o;e.renderer.setProperty(n,r,s)}(33554432&t.flags&&32&o.flags?i.componentView:e,o,s,l,r)}return!0}function Ni(e){const t=e.def.nodeMatchedQueries;for(;e.parent&&Qn(e);){let n=e.parentNodeDef;e=e.parent;const r=n.nodeIndex+n.childCount;for(let o=0;o<=r;o++){const r=e.def.nodes[o];67108864&r.flags&&536870912&r.flags&&(r.query.filterId&t)===r.query.filterId&&Pn(e,o).setDirty(),!(1&r.flags&&o+r.childCount<n.nodeIndex)&&67108864&r.childFlags&&536870912&r.childFlags||(o+=r.childCount)}}if(134217728&e.def.nodeFlags)for(let n=0;n<e.def.nodes.length;n++){const t=e.def.nodes[n];134217728&t.flags&&536870912&t.flags&&Pn(e,n).setDirty(),n+=t.childCount}}function Fi(e,t){const n=Pn(e,t.nodeIndex);if(!n.dirty)return;let r,o=void 0;if(67108864&t.flags){const n=t.parent.parent;o=Mi(e,n.nodeIndex,n.nodeIndex+n.childCount,t.query,[]),r=On(e,t.parent.nodeIndex).instance}else 134217728&t.flags&&(o=Mi(e,0,e.def.nodes.length-1,t.query,[]),r=e.component);n.reset(o);const i=t.query.bindings;let s=!1;for(let l=0;l<i.length;l++){const e=i[l];let t;switch(e.bindingType){case 0:t=n.first;break;case 1:t=n,s=!0}r[e.propName]=t}s&&n.notifyOnChanges()}function Mi(e,t,n,r,o){for(let i=t;i<=n;i++){const t=e.def.nodes[i],n=t.matchedQueries[r.id];if(null!=n&&o.push(Ri(e,t,n)),1&t.flags&&t.element.template&&(t.element.template.nodeMatchedQueries&r.filterId)===r.filterId){const n=An(e,i);if((t.childMatchedQueries&r.filterId)===r.filterId&&(Mi(e,i+1,i+t.childCount,r,o),i+=t.childCount),16777216&t.flags){const e=n.viewContainer._embeddedViews;for(let t=0;t<e.length;t++){const i=e[t],s=Gn(i);s&&s===n&&Mi(i,0,i.def.nodes.length-1,r,o)}}const s=n.template._projectedViews;if(s)for(let e=0;e<s.length;e++){const t=s[e];Mi(t,0,t.def.nodes.length-1,r,o)}}(t.childMatchedQueries&r.filterId)!==r.filterId&&(i+=t.childCount)}return o}function Ri(e,t,n){if(null!=n)switch(n){case 1:return An(e,t.nodeIndex).renderElement;case 0:return new $t(An(e,t.nodeIndex).renderElement);case 2:return An(e,t.nodeIndex).template;case 3:return An(e,t.nodeIndex).viewContainer;case 4:return On(e,t.nodeIndex).instance}}function Vi(e,t,n){const r=er(e,t,n);r&&ir(e,n.ngContent.index,1,r,null,void 0)}function ji(e,t){const n=Object.keys(t),r=n.length,o=new Array(r);for(let i=0;i<r;i++){const e=n[i];o[t[e]]=e}return Li(64,e,o)}function Li(e,t,n){const r=new Array(n.length);for(let o=0;o<n.length;o++){const e=n[o];r[o]={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:cr(r),outputs:[],element:null,provider:null,text:null,query:null,ngContent:null}}function zi(e,t,n){const r=new Array(n.length-1);for(let o=1;o<n.length;o++)r[o-1]={flags:8,name:null,ns:null,nonMinifiedName:null,securityContext:null,suffix:n[o]};return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:e,flags:2,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:{},matchedQueryIds:0,references:{},ngContentIndex:t,childCount:0,bindings:r,bindingFlags:8,outputs:[],element:null,provider:null,text:{prefix:n[0]},query:null,ngContent:null}}function Ui(e,t,n){let r;const o=e.renderer;r=o.createText(n.text.prefix);const i=er(e,t,n);return i&&o.appendChild(i,r),{renderText:r}}function Zi(e,t){return(null!=e?e.toString():"")+t.suffix}function Hi(e,t,n,r){let o=0,i=0,s=0,l=0,a=0,u=null,c=null,d=!1,h=!1,f=null;for(let p=0;p<t.length;p++){const e=t[p];if(e.nodeIndex=p,e.parent=u,e.bindingIndex=o,e.outputIndex=i,e.renderParent=c,s|=e.flags,a|=e.matchedQueryIds,e.element){const t=e.element;t.publicProviders=u?u.element.publicProviders:Object.create(null),t.allProviders=t.publicProviders,d=!1,h=!1,e.element.template&&(a|=e.element.template.nodeMatchedQueries)}if(Ki(u,e,t.length),o+=e.bindings.length,i+=e.outputs.length,!c&&3&e.flags&&(f=e),20224&e.flags){d||(d=!0,u.element.publicProviders=Object.create(u.element.publicProviders),u.element.allProviders=u.element.publicProviders);const t=0!=(32768&e.flags);0==(8192&e.flags)||t?u.element.publicProviders[Rn(e.provider.token)]=e:(h||(h=!0,u.element.allProviders=Object.create(u.element.publicProviders)),u.element.allProviders[Rn(e.provider.token)]=e),t&&(u.element.componentProvider=e)}if(u?(u.childFlags|=e.flags,u.directChildFlags|=e.flags,u.childMatchedQueries|=e.matchedQueryIds,e.element&&e.element.template&&(u.childMatchedQueries|=e.element.template.nodeMatchedQueries)):l|=e.flags,e.childCount>0)u=e,Bi(e)||(c=e);else for(;u&&p===u.nodeIndex+u.childCount;){const e=u.parent;e&&(e.childFlags|=u.childFlags,e.childMatchedQueries|=u.childMatchedQueries),c=(u=e)&&Bi(u)?u.renderParent:u}}return{factory:null,nodeFlags:s,rootNodeFlags:l,nodeMatchedQueries:a,flags:e,nodes:t,updateDirectives:n||Fn,updateRenderer:r||Fn,handleEvent:(e,n,r,o)=>t[n].element.handleEvent(e,r,o),bindingCount:o,outputCount:i,lastRenderRootNode:f}}function Bi(e){return 0!=(1&e.flags)&&null===e.element.name}function Ki(e,t,n){const r=t.element&&t.element.template;if(r){if(!r.lastRenderRootNode)throw new Error("Illegal State: Embedded templates without nodes are not allowed!");if(r.lastRenderRootNode&&16777216&r.lastRenderRootNode.flags)throw new Error(`Illegal State: Last root node of a template can't have embedded views, at index ${t.nodeIndex}!`)}if(20224&t.flags&&0==(1&(e?e.flags:0)))throw new Error(`Illegal State: StaticProvider/Directive nodes need to be children of elements or anchors, at index ${t.nodeIndex}!`);if(t.query){if(67108864&t.flags&&(!e||0==(16384&e.flags)))throw new Error(`Illegal State: Content Query nodes need to be children of directives, at index ${t.nodeIndex}!`);if(134217728&t.flags&&e)throw new Error(`Illegal State: View Query nodes have to be top level nodes, at index ${t.nodeIndex}!`)}if(t.childCount){const r=e?e.nodeIndex+e.childCount:n-1;if(t.nodeIndex<=r&&t.nodeIndex+t.childCount>r)throw new Error(`Illegal State: childCount of node leads outside of parent, at index ${t.nodeIndex}!`)}}function qi(e,t,n,r){const o=Xi(e.root,e.renderer,e,t,n);return Wi(o,e.component,r),Qi(o),o}function Gi(e,t,n){const r=Xi(e,e.renderer,null,null,t);return Wi(r,n,n),Qi(r),r}function $i(e,t,n,r){const o=t.element.componentRendererType;let i;return i=o?e.root.rendererFactory.createRenderer(r,o):e.root.renderer,Xi(e.root,i,e,t.element.componentProvider,n)}function Xi(e,t,n,r,o){const i=new Array(o.nodes.length),s=o.outputCount?new Array(o.outputCount):null;return{def:o,parent:n,viewContainerParent:null,parentNodeDef:r,context:null,component:null,nodes:i,state:13,root:e,renderer:t,oldValues:new Array(o.bindingCount),disposables:s,initIndex:-1}}function Wi(e,t,n){e.component=t,e.context=n}function Qi(e){let t;Wn(e)&&(t=An(e.parent,e.parentNodeDef.parent.nodeIndex).renderElement);const n=e.def,r=e.nodes;for(let o=0;o<n.nodes.length;o++){const i=n.nodes[o];let s;switch(Nn.setCurrentNode(e,o),201347067&i.flags){case 1:const n=Ai(e,t,i);let l=void 0;if(33554432&i.flags){const t=nr(i.element.componentView);l=Nn.createComponentView(e,i,t,n)}Oi(e,l,i,n),s={renderElement:n,componentView:l,viewContainer:null,template:i.element.template?Ar(e,i):void 0},16777216&i.flags&&(s.viewContainer=kr(e,i,s));break;case 2:s=Ui(e,t,i);break;case 512:case 1024:case 2048:case 256:(s=r[o])||4096&i.flags||(s={instance:Xr(e,i)});break;case 16:s={instance:Wr(e,i)};break;case 16384:(s=r[o])||(s={instance:Qr(e,i)}),32768&i.flags&&Wi(An(e,i.parent.nodeIndex).componentView,s.instance,s.instance);break;case 32:case 64:case 128:s={value:void 0};break;case 67108864:case 134217728:s=new bo;break;case 8:Vi(e,t,i),s=void 0}r[o]=s}ss(e,is.CreateViewNodes),cs(e,201326592,268435456,0)}function Ji(e){ts(e),Nn.updateDirectives(e,1),ls(e,is.CheckNoChanges),Nn.updateRenderer(e,1),ss(e,is.CheckNoChanges),e.state&=-97}function Yi(e){1&e.state?(e.state&=-2,e.state|=2):e.state&=-3,Cn(e,0,256),ts(e),Nn.updateDirectives(e,0),ls(e,is.CheckAndUpdate),cs(e,67108864,536870912,0);let t=Cn(e,256,512);io(e,2097152|(t?1048576:0)),Nn.updateRenderer(e,0),ss(e,is.CheckAndUpdate),cs(e,134217728,536870912,0),io(e,8388608|((t=Cn(e,512,768))?4194304:0)),2&e.def.flags&&(e.state&=-9),e.state&=-97,Cn(e,768,1024)}function es(e,t,n,r,o,i,s,l,a,u,c,d,h){return 0===n?function(e,t,n,r,o,i,s,l,a,u,c,d){switch(201347067&t.flags){case 1:return function(e,t,n,r,o,i,s,l,a,u,c,d){const h=t.bindings.length;let f=!1;return h>0&&Pi(e,t,0,n)&&(f=!0),h>1&&Pi(e,t,1,r)&&(f=!0),h>2&&Pi(e,t,2,o)&&(f=!0),h>3&&Pi(e,t,3,i)&&(f=!0),h>4&&Pi(e,t,4,s)&&(f=!0),h>5&&Pi(e,t,5,l)&&(f=!0),h>6&&Pi(e,t,6,a)&&(f=!0),h>7&&Pi(e,t,7,u)&&(f=!0),h>8&&Pi(e,t,8,c)&&(f=!0),h>9&&Pi(e,t,9,d)&&(f=!0),f}(e,t,n,r,o,i,s,l,a,u,c,d);case 2:return function(e,t,n,r,o,i,s,l,a,u,c,d){let h=!1;const f=t.bindings,p=f.length;if(p>0&&Zn(e,t,0,n)&&(h=!0),p>1&&Zn(e,t,1,r)&&(h=!0),p>2&&Zn(e,t,2,o)&&(h=!0),p>3&&Zn(e,t,3,i)&&(h=!0),p>4&&Zn(e,t,4,s)&&(h=!0),p>5&&Zn(e,t,5,l)&&(h=!0),p>6&&Zn(e,t,6,a)&&(h=!0),p>7&&Zn(e,t,7,u)&&(h=!0),p>8&&Zn(e,t,8,c)&&(h=!0),p>9&&Zn(e,t,9,d)&&(h=!0),h){let h=t.text.prefix;p>0&&(h+=Zi(n,f[0])),p>1&&(h+=Zi(r,f[1])),p>2&&(h+=Zi(o,f[2])),p>3&&(h+=Zi(i,f[3])),p>4&&(h+=Zi(s,f[4])),p>5&&(h+=Zi(l,f[5])),p>6&&(h+=Zi(a,f[6])),p>7&&(h+=Zi(u,f[7])),p>8&&(h+=Zi(c,f[8])),p>9&&(h+=Zi(d,f[9]));const g=In(e,t.nodeIndex).renderText;e.renderer.setValue(g,h)}return h}(e,t,n,r,o,i,s,l,a,u,c,d);case 16384:return function(e,t,n,r,o,i,s,l,a,u,c,d){const h=On(e,t.nodeIndex),f=h.instance;let p=!1,g=void 0;const m=t.bindings.length;return m>0&&Un(e,t,0,n)&&(p=!0,g=oo(e,h,t,0,n,g)),m>1&&Un(e,t,1,r)&&(p=!0,g=oo(e,h,t,1,r,g)),m>2&&Un(e,t,2,o)&&(p=!0,g=oo(e,h,t,2,o,g)),m>3&&Un(e,t,3,i)&&(p=!0,g=oo(e,h,t,3,i,g)),m>4&&Un(e,t,4,s)&&(p=!0,g=oo(e,h,t,4,s,g)),m>5&&Un(e,t,5,l)&&(p=!0,g=oo(e,h,t,5,l,g)),m>6&&Un(e,t,6,a)&&(p=!0,g=oo(e,h,t,6,a,g)),m>7&&Un(e,t,7,u)&&(p=!0,g=oo(e,h,t,7,u,g)),m>8&&Un(e,t,8,c)&&(p=!0,g=oo(e,h,t,8,c,g)),m>9&&Un(e,t,9,d)&&(p=!0,g=oo(e,h,t,9,d,g)),g&&f.ngOnChanges(g),65536&t.flags&&Tn(e,256,t.nodeIndex)&&f.ngOnInit(),262144&t.flags&&f.ngDoCheck(),p}(e,t,n,r,o,i,s,l,a,u,c,d);case 32:case 64:case 128:return function(e,t,n,r,o,i,s,l,a,u,c,d){const h=t.bindings;let f=!1;const p=h.length;if(p>0&&Zn(e,t,0,n)&&(f=!0),p>1&&Zn(e,t,1,r)&&(f=!0),p>2&&Zn(e,t,2,o)&&(f=!0),p>3&&Zn(e,t,3,i)&&(f=!0),p>4&&Zn(e,t,4,s)&&(f=!0),p>5&&Zn(e,t,5,l)&&(f=!0),p>6&&Zn(e,t,6,a)&&(f=!0),p>7&&Zn(e,t,7,u)&&(f=!0),p>8&&Zn(e,t,8,c)&&(f=!0),p>9&&Zn(e,t,9,d)&&(f=!0),f){const f=Dn(e,t.nodeIndex);let g;switch(201347067&t.flags){case 32:g=new Array(h.length),p>0&&(g[0]=n),p>1&&(g[1]=r),p>2&&(g[2]=o),p>3&&(g[3]=i),p>4&&(g[4]=s),p>5&&(g[5]=l),p>6&&(g[6]=a),p>7&&(g[7]=u),p>8&&(g[8]=c),p>9&&(g[9]=d);break;case 64:g={},p>0&&(g[h[0].name]=n),p>1&&(g[h[1].name]=r),p>2&&(g[h[2].name]=o),p>3&&(g[h[3].name]=i),p>4&&(g[h[4].name]=s),p>5&&(g[h[5].name]=l),p>6&&(g[h[6].name]=a),p>7&&(g[h[7].name]=u),p>8&&(g[h[8].name]=c),p>9&&(g[h[9].name]=d);break;case 128:const e=n;switch(p){case 1:g=e.transform(n);break;case 2:g=e.transform(r);break;case 3:g=e.transform(r,o);break;case 4:g=e.transform(r,o,i);break;case 5:g=e.transform(r,o,i,s);break;case 6:g=e.transform(r,o,i,s,l);break;case 7:g=e.transform(r,o,i,s,l,a);break;case 8:g=e.transform(r,o,i,s,l,a,u);break;case 9:g=e.transform(r,o,i,s,l,a,u,c);break;case 10:g=e.transform(r,o,i,s,l,a,u,c,d)}}f.value=g}return f}(e,t,n,r,o,i,s,l,a,u,c,d);default:throw"unreachable"}}(e,t,r,o,i,s,l,a,u,c,d,h):function(e,t,n){switch(201347067&t.flags){case 1:return function(e,t,n){let r=!1;for(let o=0;o<n.length;o++)Pi(e,t,o,n[o])&&(r=!0);return r}(e,t,n);case 2:return function(e,t,n){const r=t.bindings;let o=!1;for(let i=0;i<n.length;i++)Zn(e,t,i,n[i])&&(o=!0);if(o){let o="";for(let e=0;e<n.length;e++)o+=Zi(n[e],r[e]);o=t.text.prefix+o;const i=In(e,t.nodeIndex).renderText;e.renderer.setValue(i,o)}return o}(e,t,n);case 16384:return function(e,t,n){const r=On(e,t.nodeIndex),o=r.instance;let i=!1,s=void 0;for(let l=0;l<n.length;l++)Un(e,t,l,n[l])&&(i=!0,s=oo(e,r,t,l,n[l],s));return s&&o.ngOnChanges(s),65536&t.flags&&Tn(e,256,t.nodeIndex)&&o.ngOnInit(),262144&t.flags&&o.ngDoCheck(),i}(e,t,n);case 32:case 64:case 128:return function(e,t,n){const r=t.bindings;let o=!1;for(let i=0;i<n.length;i++)Zn(e,t,i,n[i])&&(o=!0);if(o){const o=Dn(e,t.nodeIndex);let i;switch(201347067&t.flags){case 32:i=n;break;case 64:i={};for(let t=0;t<n.length;t++)i[r[t].name]=n[t];break;case 128:const e=n[0],o=n.slice(1);i=e.transform(...o)}o.value=i}return o}(e,t,n);default:throw"unreachable"}}(e,t,r)}function ts(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=An(e,n).template._projectedViews;if(t)for(let n=0;n<t.length;n++){const r=t[n];r.state|=32,Kn(r,e)}}else 0==(4&r.childFlags)&&(n+=r.childCount)}}function ns(e,t,n,r,o,i,s,l,a,u,c,d,h){return 0===n?function(e,t,n,r,o,i,s,l,a,u,c,d){const h=t.bindings.length;h>0&&Hn(e,t,0,n),h>1&&Hn(e,t,1,r),h>2&&Hn(e,t,2,o),h>3&&Hn(e,t,3,i),h>4&&Hn(e,t,4,s),h>5&&Hn(e,t,5,l),h>6&&Hn(e,t,6,a),h>7&&Hn(e,t,7,u),h>8&&Hn(e,t,8,c),h>9&&Hn(e,t,9,d)}(e,t,r,o,i,s,l,a,u,c,d,h):function(e,t,n){for(let r=0;r<n.length;r++)Hn(e,t,r,n[r])}(e,t,r),!1}function rs(e,t){if(Pn(e,t.nodeIndex).dirty)throw En(Nn.createDebugContext(e,t.nodeIndex),`Query ${t.query.id} not dirty`,`Query ${t.query.id} dirty`,0!=(1&e.state))}function os(e){if(!(128&e.state)){if(ls(e,is.Destroy),ss(e,is.Destroy),io(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=Gn(e);if(t){const n=t.template._projectedViews;n&&(De(n,n.indexOf(e)),Nn.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(An(e,n).renderElement):2&t.flags?e.renderer.destroyNode(In(e,n).renderText):(67108864&t.flags||134217728&t.flags)&&Pn(e,n).destroy()}}(e),Wn(e)&&e.renderer.destroy(),e.state|=128}}const is=function(){var e={CreateViewNodes:0,CheckNoChanges:1,CheckNoChangesProjectedViews:2,CheckAndUpdate:3,CheckAndUpdateProjectedViews:4,Destroy:5};return e[e.CreateViewNodes]="CreateViewNodes",e[e.CheckNoChanges]="CheckNoChanges",e[e.CheckNoChangesProjectedViews]="CheckNoChangesProjectedViews",e[e.CheckAndUpdate]="CheckAndUpdate",e[e.CheckAndUpdateProjectedViews]="CheckAndUpdateProjectedViews",e[e.Destroy]="Destroy",e}();function ss(e,t){const n=e.def;if(33554432&n.nodeFlags)for(let r=0;r<n.nodes.length;r++){const o=n.nodes[r];33554432&o.flags?as(An(e,r).componentView,t):0==(33554432&o.childFlags)&&(r+=o.childCount)}}function ls(e,t){const n=e.def;if(16777216&n.nodeFlags)for(let r=0;r<n.nodes.length;r++){const o=n.nodes[r];if(16777216&o.flags){const n=An(e,r).viewContainer._embeddedViews;for(let e=0;e<n.length;e++)as(n[e],t)}else 0==(16777216&o.childFlags)&&(r+=o.childCount)}}function as(e,t){const n=e.state;switch(t){case is.CheckNoChanges:0==(128&n)&&(12==(12&n)?Ji(e):64&n&&us(e,is.CheckNoChangesProjectedViews));break;case is.CheckNoChangesProjectedViews:0==(128&n)&&(32&n?Ji(e):64&n&&us(e,t));break;case is.CheckAndUpdate:0==(128&n)&&(12==(12&n)?Yi(e):64&n&&us(e,is.CheckAndUpdateProjectedViews));break;case is.CheckAndUpdateProjectedViews:0==(128&n)&&(32&n?Yi(e):64&n&&us(e,t));break;case is.Destroy:os(e);break;case is.CreateViewNodes:Qi(e)}}function us(e,t){ls(e,t),ss(e,t)}function cs(e,t,n,r){if(!(e.def.nodeFlags&t&&e.def.nodeFlags&n))return;const o=e.def.nodes.length;for(let i=0;i<o;i++){const o=e.def.nodes[i];if(o.flags&t&&o.flags&n)switch(Nn.setCurrentNode(e,o.nodeIndex),r){case 0:Fi(e,o);break;case 1:rs(e,o)}o.childFlags&t&&o.childFlags&n||(i+=o.childCount)}}let ds=!1;function hs(e,t,n,r,o,i){const s=o.injector.get(Qt);return Gi(ps(e,o,s,t,n),r,i)}function fs(e,t,n,r,o,i){const s=o.injector.get(Qt),l=ps(e,o,new qs(s),t,n),a=Ss(r);return Bs(Os.create,Gi,null,[l,a,i])}function ps(e,t,n,r,o){const i=t.injector.get(ht),s=t.injector.get(ze),l=n.createRenderer(null,null);return{ngModule:t,injector:e,projectableNodes:r,selectorOrNode:o,sanitizer:i,rendererFactory:n,renderer:l,errorHandler:s}}function gs(e,t,n,r){const o=Ss(n);return Bs(Os.create,qi,null,[e,t,o,r])}function ms(e,t,n,r){return n=bs.get(t.element.componentProvider.provider.token)||Ss(n),Bs(Os.create,$i,null,[e,t,n,r])}function vs(e,t,n,r){return Rr(e,t,n,function(e){const{hasOverrides:t,hasDeprecatedOverrides:n}=function(e){let t=!1,n=!1;return 0===ys.size?{hasOverrides:t,hasDeprecatedOverrides:n}:(e.providers.forEach(e=>{const r=ys.get(e.token);3840&e.flags&&r&&(t=!0,n=n||r.deprecatedBehavior)}),e.modules.forEach(e=>{_s.forEach((r,o)=>{re(o).providedIn===e&&(t=!0,n=n||r.deprecatedBehavior)})}),{hasOverrides:t,hasDeprecatedOverrides:n})}(e);return t?(function(e){for(let t=0;t<e.providers.length;t++){const r=e.providers[t];n&&(r.flags|=4096);const o=ys.get(r.token);o&&(r.flags=-3841&r.flags|o.flags,r.deps=Yn(o.deps),r.value=o.value)}if(_s.size>0){let t=new Set(e.modules);_s.forEach((r,o)=>{if(t.has(re(o).providedIn)){let t={token:o,flags:r.flags|(n?4096:0),deps:Yn(r.deps),value:r.value,index:e.providers.length};e.providers.push(t),e.providersByKey[Rn(o)]=t}})}}(e=e.factory(()=>Fn)),e):e}(r))}const ys=new Map,_s=new Map,bs=new Map;function ws(e){let t;ys.set(e.token,e),"function"==typeof e.token&&(t=re(e.token))&&"function"==typeof t.providedIn&&_s.set(e.token,e)}function xs(e,t){const n=nr(t.viewDefFactory),r=nr(n.nodes[0].element.componentView);bs.set(e,r)}function Es(){ys.clear(),_s.clear(),bs.clear()}function Ss(e){if(0===ys.size)return e;const t=function(e){const t=[];let n=null;for(let r=0;r<e.nodes.length;r++){const o=e.nodes[r];1&o.flags&&(n=o),n&&3840&o.flags&&ys.has(o.provider.token)&&(t.push(n.nodeIndex),n=null)}return t}(e);if(0===t.length)return e;e=e.factory(()=>Fn);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=ys.get(e.token);n&&(t.flags=-3841&t.flags|n.flags,e.deps=Yn(n.deps),e.value=n.value)}}}}function ks(e,t,n,r,o,i,s,l,a,u,c,d,h){const f=e.def.nodes[t];return es(e,f,n,r,o,i,s,l,a,u,c,d,h),224&f.flags?Dn(e,t).value:void 0}function Cs(e,t,n,r,o,i,s,l,a,u,c,d,h){const f=e.def.nodes[t];return ns(e,f,n,r,o,i,s,l,a,u,c,d,h),224&f.flags?Dn(e,t).value:void 0}function Ts(e){return Bs(Os.detectChanges,Yi,null,[e])}function Is(e){return Bs(Os.checkNoChanges,Ji,null,[e])}function As(e){return Bs(Os.destroy,os,null,[e])}const Os=function(){var e={create:0,detectChanges:1,checkNoChanges:2,destroy:3,handleEvent:4};return e[e.create]="create",e[e.detectChanges]="detectChanges",e[e.checkNoChanges]="checkNoChanges",e[e.destroy]="destroy",e[e.handleEvent]="handleEvent",e}();let Ds,Ps,Ns;function Fs(e,t){Ps=e,Ns=t}function Ms(e,t,n,r){return Fs(e,t),Bs(Os.handleEvent,e.def.handleEvent,null,[e,t,n,r])}function Rs(e,t){if(128&e.state)throw kn(Os[Ds]);return Fs(e,zs(e,0)),e.def.updateDirectives(function(e,n,r,...o){const i=e.def.nodes[n];return 0===t?js(e,i,r,o):Ls(e,i,r,o),16384&i.flags&&Fs(e,zs(e,n)),224&i.flags?Dn(e,i.nodeIndex).value:void 0},e)}function Vs(e,t){if(128&e.state)throw kn(Os[Ds]);return Fs(e,Us(e,0)),e.def.updateRenderer(function(e,n,r,...o){const i=e.def.nodes[n];return 0===t?js(e,i,r,o):Ls(e,i,r,o),3&i.flags&&Fs(e,Us(e,n)),224&i.flags?Dn(e,i.nodeIndex).value:void 0},e)}function js(e,t,n,r){if(es(e,t,n,...r)){const s=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],l=s[e];8&r.flags&&(n[(o=r.nonMinifiedName,i=void 0,i=o.replace(/[$@]/g,"_"),`ng-reflect-${o=i.replace(gt,(...e)=>"-"+e[1].toLowerCase())}`)]=mt(l))}const r=t.parent,l=An(e,r.nodeIndex).renderElement;if(r.element.name)for(let t in n){const r=n[t];null!=r?e.renderer.setAttribute(l,t,r):e.renderer.removeAttribute(l,t)}else e.renderer.setValue(l,`bindings=${JSON.stringify(n,null,2)}`)}}var o,i}function Ls(e,t,n,r){ns(e,t,n,...r)}function zs(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 Us(e,t){for(let n=t;n<e.def.nodes.length;n++){const t=e.def.nodes[n];if(3&t.flags&&t.bindings&&t.bindings.length)return n}return null}class Zs{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=$n(r),r=r.parent;this.elDef=n,this.elView=r}get elOrCompView(){return An(this.elView,this.elDef.nodeIndex).componentView||this.view}get injector(){return Dr(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){Hs(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&&Hs(this.elView,n,e),t+=n.childCount}}return e}get componentRenderElement(){const e=function(e){for(;e&&!Wn(e);)e=e.parent;return e.parent?An(e.parent,$n(e).nodeIndex):null}(this.elOrCompView);return e?e.renderElement:void 0}get renderNode(){return 2&this.nodeDef.flags?Xn(this.view,this.nodeDef):Xn(this.elView,this.elDef)}logError(e,...t){let n,r;2&this.nodeDef.flags?(n=this.view.def,r=this.nodeDef.nodeIndex):(n=this.elView.def,r=this.elDef.nodeIndex);const o=function(e,t){let n=-1;for(let r=0;r<=t;r++)3&e.nodes[r].flags&&n++;return n}(n,r);let i=-1;n.factory(()=>++i===o?e.error.bind(e,...t):Fn),i<o&&(e.error("Illegal state: the ViewDefinitionFactory did not call the logger!"),e.error(...t))}}function Hs(e,t,n){for(let r in t.references)n[r]=Ri(e,t,t.references[r])}function Bs(e,t,n,r){const o=Ds,i=Ps,s=Ns;try{Ds=e;const a=t.apply(n,r);return Ps=i,Ns=s,Ds=o,a}catch(l){if(Ve(l)||!Ps)throw l;throw function(e,t){return e instanceof Error||(e=new Error(e.toString())),Sn(e,t),e}(l,Ks())}}function Ks(){return Ps?new Zs(Ps,Ns):null}class qs{constructor(e){this.delegate=e}createRenderer(e,t){return new Gs(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 Gs{constructor(e){this.delegate=e,this.debugContextFactory=Ks,this.data=this.delegate.data}createDebugContext(e){return this.debugContextFactory(e)}destroyNode(e){const t=_i(e);yi.delete(t.nativeNode),t instanceof mi&&(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 vi(n,null,r);t.name=e,bi(t)}return n}createComment(e){const t=this.delegate.createComment(e),n=this.createDebugContext(t);return n&&bi(new mi(t,null,n)),t}createText(e){const t=this.delegate.createText(e),n=this.createDebugContext(t);return n&&bi(new mi(t,null,n)),t}appendChild(e,t){const n=_i(e),r=_i(t);n&&r&&n instanceof vi&&n.addChild(r),this.delegate.appendChild(e,t)}insertBefore(e,t,n){const r=_i(e),o=_i(t),i=_i(n);r&&o&&r instanceof vi&&r.insertBefore(i,o),this.delegate.insertBefore(e,t,n)}removeChild(e,t){const n=_i(e),r=_i(t);n&&r&&n instanceof vi&&n.removeChild(r),this.delegate.removeChild(e,t)}selectRootElement(e,t){const n=this.delegate.selectRootElement(e,t),r=Ks();return r&&bi(new vi(n,null,r)),n}setAttribute(e,t,n,r){const o=_i(e);o&&o instanceof vi&&(o.attributes[r?r+":"+t:t]=n),this.delegate.setAttribute(e,t,n,r)}removeAttribute(e,t,n){const r=_i(e);r&&r instanceof vi&&(r.attributes[n?n+":"+t:t]=null),this.delegate.removeAttribute(e,t,n)}addClass(e,t){const n=_i(e);n&&n instanceof vi&&(n.classes[t]=!0),this.delegate.addClass(e,t)}removeClass(e,t){const n=_i(e);n&&n instanceof vi&&(n.classes[t]=!1),this.delegate.removeClass(e,t)}setStyle(e,t,n,r){const o=_i(e);o&&o instanceof vi&&(o.styles[t]=n),this.delegate.setStyle(e,t,n,r)}removeStyle(e,t,n){const r=_i(e);r&&r instanceof vi&&(r.styles[t]=null),this.delegate.removeStyle(e,t,n)}setProperty(e,t,n){const r=_i(e);r&&r instanceof vi&&(r.properties[t]=n),this.delegate.setProperty(e,t,n)}listen(e,t,n){if("string"!=typeof e){const r=_i(e);r&&r.listeners.push(new gi(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 $s(e,t,n){return new Xs(e,t,n)}class Xs extends Ae{constructor(e,t,n){super(),this.moduleType=e,this._bootstrapComponents=t,this._ngModuleDefFactory=n}create(e){!function(){if(ds)return;ds=!0;const e=He()?{setCurrentNode:Fs,createRootView:fs,createEmbeddedView:gs,createComponentView:ms,createNgModuleRef:vs,overrideProvider:ws,overrideComponentView:xs,clearOverrides:Es,checkAndUpdateView:Ts,checkNoChangesView:Is,destroyView:As,createDebugContext:(e,t)=>new Zs(e,t),handleEvent:Ms,updateDirectives:Rs,updateRenderer:Vs}:{setCurrentNode:()=>{},createRootView:hs,createEmbeddedView:qi,createComponentView:$i,createNgModuleRef:Rr,overrideProvider:Fn,overrideComponentView:Fn,clearOverrides:Fn,checkAndUpdateView:Yi,checkNoChangesView:Ji,destroyView:os,createDebugContext:(e,t)=>new Zs(e,t),handleEvent:(e,t,n,r)=>e.def.handleEvent(e,t,n,r),updateDirectives:(e,t)=>e.def.updateDirectives(0===t?ks:Cs,e),updateRenderer:(e,t)=>e.def.updateRenderer(0===t?ks:Cs,e)};Nn.setCurrentNode=e.setCurrentNode,Nn.createRootView=e.createRootView,Nn.createEmbeddedView=e.createEmbeddedView,Nn.createComponentView=e.createComponentView,Nn.createNgModuleRef=e.createNgModuleRef,Nn.overrideProvider=e.overrideProvider,Nn.overrideComponentView=e.overrideComponentView,Nn.clearOverrides=e.clearOverrides,Nn.checkAndUpdateView=e.checkAndUpdateView,Nn.checkNoChangesView=e.checkNoChangesView,Nn.destroyView=e.destroyView,Nn.resolveDep=no,Nn.createDebugContext=e.createDebugContext,Nn.handleEvent=e.handleEvent,Nn.updateDirectives=e.updateDirectives,Nn.updateRenderer=e.updateRenderer,Nn.dirtyParentQueries=Ni}();const t=function(e){const t=Array.from(e.providers),n=Array.from(e.modules),r={};for(const o in e.providersByKey)r[o]=e.providersByKey[o];return{factory:e.factory,isRoot:e.isRoot,providers:t,modules:n,providersByKey:r}}(nr(this._ngModuleDefFactory));return Nn.createNgModuleRef(this.moduleType,e||wt.NULL,this._bootstrapComponents,t)}}class Ws{}let Qs=n("zBG4");class Js{constructor(){this.gettingStarted=Qs}ngAfterContentInit(){setTimeout(()=>{"undefined"!=typeof PR&&PR.prettyPrint()},150)}}var Ys=function(){return function(){this.type="tabs"}}(),el=function(){function e(e){this.clazz=!0,this.tabs=[],this.classMap={},Object.assign(this,e)}return Object.defineProperty(e.prototype,"vertical",{get:function(){return this._vertical},set:function(e){this._vertical=e,this.setClassMap()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"justified",{get:function(){return this._justified},set:function(e){this._justified=e,this.setClassMap()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"type",{get:function(){return this._type},set:function(e){this._type=e,this.setClassMap()},enumerable:!0,configurable:!0}),e.prototype.ngOnDestroy=function(){this.isDestroyed=!0},e.prototype.addTab=function(e){this.tabs.push(e),e.active=1===this.tabs.length&&!1!==e.active},e.prototype.removeTab=function(e){var t=this.tabs.indexOf(e);if(-1!==t&&!this.isDestroyed){if(e.active&&this.hasAvailableTabs(t)){var n=this.getClosestTabIndex(t);this.tabs[n].active=!0}e.removed.emit(e),this.tabs.splice(t,1)}},e.prototype.getClosestTabIndex=function(e){var t=this.tabs.length;if(!t)return-1;for(var n=1;n<=t;n+=1){var r=e-n,o=e+n;if(this.tabs[r]&&!this.tabs[r].disabled)return r;if(this.tabs[o]&&!this.tabs[o].disabled)return o}return-1},e.prototype.hasAvailableTabs=function(e){var t=this.tabs.length;if(!t)return!1;for(var n=0;n<t;n+=1)if(!this.tabs[n].disabled&&n!==e)return!0;return!1},e.prototype.setClassMap=function(){var e;this.classMap=((e={"nav-stacked":this.vertical,"nav-justified":this.justified})["nav-"+this.type]=!0,e)},e}(),tl=function(){function e(e){this.select=new yo,this.deselect=new yo,this.removed=new yo,this.addClass=!0,this.tabset=e,this.tabset.addTab(this)}return Object.defineProperty(e.prototype,"active",{get:function(){return this._active},set:function(e){var t=this;if(this.disabled&&e||!e)return e||(this._active=e),void this.deselect.emit(this);this._active=e,this.select.emit(this),this.tabset.tabs.forEach(function(e){e!==t&&(e.active=!1)})},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){this.removable=this.removable},e}();class nl{}const rl=function(){var e={Decimal:0,Percent:1,Currency:2,Scientific:3};return e[e.Decimal]="Decimal",e[e.Percent]="Percent",e[e.Currency]="Currency",e[e.Scientific]="Scientific",e}(),ol=function(){var e={Zero:0,One:1,Two:2,Few:3,Many:4,Other:5};return e[e.Zero]="Zero",e[e.One]="One",e[e.Two]="Two",e[e.Few]="Few",e[e.Many]="Many",e[e.Other]="Other",e}(),il=function(){var e={Decimal:0,Group:1,List:2,PercentSign:3,PlusSign:4,MinusSign:5,Exponential:6,SuperscriptingExponent:7,PerMille:8,Infinity:9,NaN:10,TimeSeparator:11,CurrencyDecimal:12,CurrencyGroup:13};return e[e.Decimal]="Decimal",e[e.Group]="Group",e[e.List]="List",e[e.PercentSign]="PercentSign",e[e.PlusSign]="PlusSign",e[e.MinusSign]="MinusSign",e[e.Exponential]="Exponential",e[e.SuperscriptingExponent]="SuperscriptingExponent",e[e.PerMille]="PerMille",e[e.Infinity]="Infinity",e[e.NaN]="NaN",e[e.TimeSeparator]="TimeSeparator",e[e.CurrencyDecimal]="CurrencyDecimal",e[e.CurrencyGroup]="CurrencyGroup",e}();function sl(e,t){const n=po(e),r=n[co.NumberSymbols][t];if(void 0===r){if(t===il.CurrencyDecimal)return n[co.NumberSymbols][il.Decimal];if(t===il.CurrencyGroup)return n[co.NumberSymbols][il.Group]}return r}const ll=function(e){return po(e)[co.PluralCase]},al=/^(\d+)?\.((\d+)(-(\d+))?)?$/,ul=22,cl=".",dl="0",hl=";",fl=",",pl="#";function gl(e){const t=parseInt(e);if(isNaN(t))throw new Error("Invalid integer literal when parsing "+e);return t}const ml=new pe("UseV4Plurals");class vl{}class yl extends vl{constructor(e,t){super(),this.locale=e,this.deprecatedPluralFn=t}getPluralCategory(e,t){switch(this.deprecatedPluralFn?this.deprecatedPluralFn(t||this.locale,e):ll(t||this.locale)(e)){case ol.Zero:return"zero";case ol.One:return"one";case ol.Two:return"two";case ol.Few:return"few";case ol.Many:return"many";default:return"other"}}}class _l{}class bl{constructor(e,t,n,r){this._iterableDiffers=e,this._keyValueDiffers=t,this._ngEl=n,this._renderer=r,this._initialClasses=[]}getValue(){return null}setClass(e){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof e?e.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}setNgClass(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&&(Mt(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}applyChanges(){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 ${ie(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)})}}let wl=(()=>{class e{constructor(e){this._delegate=e}getValue(){return this._delegate.getValue()}}return e.ngDirectiveDef=void 0,e})();class xl extends wl{constructor(e){super(e)}set klass(e){this._delegate.setClass(e)}set ngClass(e){this._delegate.setNgClass(e)}ngDoCheck(){this._delegate.applyChanges()}}class El{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 Sl{constructor(e,t,n){this._viewContainer=e,this._template=t,this._differs=n,this._ngForOfDirty=!0,this._differ=null}set ngForOf(e){this._ngForOf=e,this._ngForOfDirty=!0}set ngForTrackBy(e){He()&&null!=e&&"function"!=typeof e&&console&&console.warn&&console.warn(`trackBy must be a function, but received ${JSON.stringify(e)}. `+"See https://angular.io/docs/ts/latest/api/common/index/NgFor-directive.html#!#change-propagation for more information."),this._trackByFn=e}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(e){e&&(this._template=e)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const 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 El(null,this._ngForOf,-1,-1),null===r?void 0:r),o=new kl(e,n);t.push(o)}else if(null==r)this._viewContainer.remove(null===n?void 0:n);else if(null!==n){const o=this._viewContainer.get(n);this._viewContainer.move(o,r);const i=new kl(e,o);t.push(i)}});for(let n=0;n<t.length;n++)this._perViewChange(t[n].view,t[n].record);for(let n=0,r=this._viewContainer.length;n<r;n++){const e=this._viewContainer.get(n);e.context.index=n,e.context.count=r,e.context.ngForOf=this._ngForOf}e.forEachIdentityChange(e=>{this._viewContainer.get(e.currentIndex).context.$implicit=e.item})}_perViewChange(e,t){e.context.$implicit=t.item}static ngTemplateContextGuard(e,t){return!0}}class kl{constructor(e,t){this.record=e,this.view=t}}class Cl{constructor(e,t){this._viewContainer=e,this._context=new Tl,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){Il("ngIfThen",e),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}set ngIfElse(e){Il("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)))}}class Tl{constructor(){this.$implicit=null,this.ngIf=null}}function Il(e,t){if(t&&!t.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${ie(t)}'.`)}class Al{}class Ol{constructor(e,t,n){this._ngEl=e,this._differs=t,this._renderer=n}getValue(){return null}setNgStyle(e){this._ngStyle=e,!this._differ&&e&&(this._differ=this._differs.find(e).create())}applyChanges(){if(this._differ){const e=this._differ.diff(this._ngStyle);e&&this._applyChanges(e)}}_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))}_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)}}let Dl=(()=>{class e{constructor(e){this._delegate=e}getValue(){return this._delegate.getValue()}}return e.ngDirectiveDef=void 0,e})();class Pl extends Dl{constructor(e){super(e)}set ngStyle(e){this._delegate.setNgStyle(e)}ngDoCheck(){this._delegate.applyChanges()}}class Nl{constructor(e){this._locale=e}transform(e,t,n){if(function(e){return null==e||""===e||e!=e}(e))return null;n=n||this._locale;try{return function(e,t,n){return function(e,t,n,r,o,i,s=!1){let l="",a=!1;if(isFinite(e)){let u=function(t){let n,r,o,i,s,l=Math.abs(e)+"",a=0;for((r=l.indexOf(cl))>-1&&(l=l.replace(cl,"")),(o=l.search(/e/i))>0?(r<0&&(r=o),r+=+l.slice(o+1),l=l.substring(0,o)):r<0&&(r=l.length),o=0;l.charAt(o)===dl;o++);if(o===(s=l.length))n=[0],r=1;else{for(s--;l.charAt(s)===dl;)s--;for(r-=o,n=[],i=0;o<=s;o++,i++)n[i]=Number(l.charAt(o))}return r>ul&&(n=n.splice(0,ul-1),a=r-1,r=1),{digits:n,exponent:a,integerLen:r}}();s&&(u=function(e){if(0===e.digits[0])return e;const t=e.digits.length-e.integerLen;return e.exponent?e.exponent+=2:(0===t?e.digits.push(0,0):1===t&&e.digits.push(0),e.integerLen+=2),e}(u));let c=t.minInt,d=t.minFrac,h=t.maxFrac;if(i){const e=i.match(al);if(null===e)throw new Error(`${i} is not a valid digit info`);const t=e[1],n=e[3],r=e[5];null!=t&&(c=gl(t)),null!=n&&(d=gl(n)),null!=r?h=gl(r):null!=n&&d>h&&(h=d)}!function(e,t,n){if(t>n)throw new Error(`The minimum number of digits after fraction (${t}) is higher than the maximum (${n}).`);let r=e.digits,o=r.length-e.integerLen;const i=Math.min(Math.max(t,o),n);let s=i+e.integerLen,l=r[s];if(s>0){r.splice(Math.max(e.integerLen,s));for(let e=s;e<r.length;e++)r[e]=0}else{o=Math.max(0,o),e.integerLen=1,r.length=Math.max(1,s=i+1),r[0]=0;for(let e=1;e<s;e++)r[e]=0}if(l>=5)if(s-1<0){for(let t=0;t>s;t--)r.unshift(0),e.integerLen++;r.unshift(1),e.integerLen++}else r[s-1]++;for(;o<Math.max(0,i);o++)r.push(0);let a=0!==i;const u=t+e.integerLen,c=r.reduceRight(function(e,t,n,r){return r[n]=(t+=e)<10?t:t-10,a&&(0===r[n]&&n>=u?r.pop():a=!1),t>=10?1:0},0);c&&(r.unshift(c),e.integerLen++)}(u,d,h);let f=u.digits,p=u.integerLen;const g=u.exponent;let m=[];for(a=f.every(e=>!e);p<c;p++)f.unshift(0);for(;p<0;p++)f.unshift(0);p>0?m=f.splice(p,f.length):(m=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("")),l=v.join(sl(n,r)),m.length&&(l+=sl(n,o)+m.join("")),g&&(l+=sl(n,il.Exponential)+"+"+g)}else l=sl(n,il.Infinity);return e<0&&!a?t.negPre+l+t.negSuf:t.posPre+l+t.posSuf}(e,function(e,t="-"){const n={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},r=e.split(hl),o=r[0],i=r[1],s=-1!==o.indexOf(cl)?o.split(cl):[o.substring(0,o.lastIndexOf(dl)+1),o.substring(o.lastIndexOf(dl)+1)],l=s[0],a=s[1]||"";n.posPre=l.substr(0,l.indexOf(pl));for(let c=0;c<a.length;c++){const e=a.charAt(c);e===dl?n.minFrac=n.maxFrac=c+1:e===pl?n.maxFrac=c+1:n.posSuf+=e}const u=l.split(fl);if(n.gSize=u[1]?u[1].length:0,n.lgSize=u[2]||u[1]?(u[2]||u[1]).length:0,i){const e=o.length-n.posPre.length-n.posSuf.length,t=i.indexOf(pl);n.negPre=i.substr(0,t).replace(/'/g,""),n.negSuf=i.substr(t+e).replace(/'/g,"")}else n.negPre=t+n.posPre,n.negSuf=n.posSuf;return n}(function(e,t){return po(e)[co.NumberFormats][t]}(t,rl.Decimal),sl(t,il.MinusSign)),t,il.Group,il.Decimal,n)}(function(e){if("string"==typeof e&&!isNaN(Number(e)-parseFloat(e)))return Number(e);if("number"!=typeof e)throw new Error(`${e} is not a number`);return e}(e),n,t)}catch(r){throw Error(`InvalidPipeArgument: '${r.message}' for pipe '${ie(Nl)}'`)}}}class Fl{}const Ml=new pe("DocumentToken"),Rl="server";class Vl{constructor(e){var t;this.rawFile=e;let n=(t=e)&&(t.nodeName||t.prop&&t.attr&&t.find)?e.value:e;this["_createFrom"+("string"==typeof n?"FakePath":"Object")](n)}_createFromFakePath(e){this.lastModifiedDate=void 0,this.size=void 0,this.type="like/"+e.slice(e.lastIndexOf(".")+1).toLowerCase(),this.name=e.slice(e.lastIndexOf("/")+e.lastIndexOf("\\")+2)}_createFromObject(e){this.size=e.size,this.type=e.type,this.name=e.name}}class jl{constructor(e,t,n){this.url="/",this.headers=[],this.withCredentials=!0,this.formData=[],this.isReady=!1,this.isUploading=!1,this.isUploaded=!1,this.isSuccess=!1,this.isCancel=!1,this.isError=!1,this.progress=0,this.index=void 0,this.uploader=e,this.some=t,this.options=n,this.file=new Vl(t),this._file=t,e.options&&(this.method=e.options.method||"POST",this.alias=e.options.itemAlias||"file"),this.url=e.options.url}upload(){try{this.uploader.uploadItem(this)}catch(e){this.uploader._onCompleteItem(this,"",0,{}),this.uploader._onErrorItem(this,"",0,{})}}cancel(){this.uploader.cancelItem(this)}remove(){this.uploader.removeFromQueue(this)}onBeforeUpload(){}onBuildForm(e){return{form:e}}onProgress(e){return{progress:e}}onSuccess(e,t,n){return{response:e,status:t,headers:n}}onError(e,t,n){return{response:e,status:t,headers:n}}onCancel(e,t,n){return{response:e,status:t,headers:n}}onComplete(e,t,n){return{response:e,status:t,headers:n}}_onBeforeUpload(){this.isReady=!0,this.isUploading=!0,this.isUploaded=!1,this.isSuccess=!1,this.isCancel=!1,this.isError=!1,this.progress=0,this.onBeforeUpload()}_onBuildForm(e){this.onBuildForm(e)}_onProgress(e){this.progress=e,this.onProgress(e)}_onSuccess(e,t,n){this.isReady=!1,this.isUploading=!1,this.isUploaded=!0,this.isSuccess=!0,this.isCancel=!1,this.isError=!1,this.progress=100,this.index=void 0,this.onSuccess(e,t,n)}_onError(e,t,n){this.isReady=!1,this.isUploading=!1,this.isUploaded=!0,this.isSuccess=!1,this.isCancel=!1,this.isError=!0,this.progress=0,this.index=void 0,this.onError(e,t,n)}_onCancel(e,t,n){this.isReady=!1,this.isUploading=!1,this.isUploaded=!1,this.isSuccess=!1,this.isCancel=!0,this.isError=!1,this.progress=0,this.index=void 0,this.onCancel(e,t,n)}_onComplete(e,t,n){this.onComplete(e,t,n),this.uploader.options.removeAfterUpload&&this.remove()}_prepareToUploading(){this.index=this.index||++this.uploader._nextIndex,this.isReady=!0}}let Ll=(()=>{class e{static getMimeClass(e){let t="application";return-1!==this.mime_psd.indexOf(e.type)?t="image":e.type.match("image.*")?t="image":e.type.match("video.*")?t="video":e.type.match("audio.*")?t="audio":"application/pdf"===e.type?t="pdf":-1!==this.mime_compress.indexOf(e.type)?t="compress":-1!==this.mime_doc.indexOf(e.type)?t="doc":-1!==this.mime_xsl.indexOf(e.type)?t="xls":-1!==this.mime_ppt.indexOf(e.type)&&(t="ppt"),"application"===t&&(t=this.fileTypeDetection(e.name)),t}static fileTypeDetection(e){let t={jpg:"image",jpeg:"image",tif:"image",psd:"image",bmp:"image",png:"image",nef:"image",tiff:"image",cr2:"image",dwg:"image",cdr:"image",ai:"image",indd:"image",pin:"image",cdp:"image",skp:"image",stp:"image","3dm":"image",mp3:"audio",wav:"audio",wma:"audio",mod:"audio",m4a:"audio",compress:"compress",zip:"compress",rar:"compress","7z":"compress",lz:"compress",z01:"compress",bz2:"compress",gz:"compress",pdf:"pdf",xls:"xls",xlsx:"xls",ods:"xls",mp4:"video",avi:"video",wmv:"video",mpg:"video",mts:"video",flv:"video","3gp":"video",vob:"video",m4v:"video",mpeg:"video",m2ts:"video",mov:"video",doc:"doc",docx:"doc",eps:"doc",txt:"doc",odt:"doc",rtf:"doc",ppt:"ppt",pptx:"ppt",pps:"ppt",ppsx:"ppt",odp:"ppt"},n=e.split(".");if(n.length<2)return"application";let r=n[n.length-1].toLowerCase();return void 0===t[r]?"application":t[r]}}return e.mime_doc=["application/msword","application/msword","application/vnd.openxmlformats-officedocument.wordprocessingml.document","application/vnd.openxmlformats-officedocument.wordprocessingml.template","application/vnd.ms-word.document.macroEnabled.12","application/vnd.ms-word.template.macroEnabled.12"],e.mime_xsl=["application/vnd.ms-excel","application/vnd.ms-excel","application/vnd.ms-excel","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","application/vnd.openxmlformats-officedocument.spreadsheetml.template","application/vnd.ms-excel.sheet.macroEnabled.12","application/vnd.ms-excel.template.macroEnabled.12","application/vnd.ms-excel.addin.macroEnabled.12","application/vnd.ms-excel.sheet.binary.macroEnabled.12"],e.mime_ppt=["application/vnd.ms-powerpoint","application/vnd.ms-powerpoint","application/vnd.ms-powerpoint","application/vnd.ms-powerpoint","application/vnd.openxmlformats-officedocument.presentationml.presentation","application/vnd.openxmlformats-officedocument.presentationml.template","application/vnd.openxmlformats-officedocument.presentationml.slideshow","application/vnd.ms-powerpoint.addin.macroEnabled.12","application/vnd.ms-powerpoint.presentation.macroEnabled.12","application/vnd.ms-powerpoint.presentation.macroEnabled.12","application/vnd.ms-powerpoint.slideshow.macroEnabled.12"],e.mime_psd=["image/photoshop","image/x-photoshop","image/psd","application/photoshop","application/psd","zz-application/zz-winassoc-psd"],e.mime_compress=["application/x-gtar","application/x-gcompress","application/compress","application/x-tar","application/x-rar-compressed","application/octet-stream","application/x-zip-compressed","application/zip-compressed","application/x-7z-compressed","application/gzip","application/x-bzip2"],e})();class zl{constructor(e){this.isUploading=!1,this.queue=[],this.progress=0,this._nextIndex=0,this.options={autoUpload:!1,isHTML5:!0,filters:[],removeAfterUpload:!1,disableMultipart:!1,formatDataFunction:e=>e._file,formatDataFunctionIsAsync:!1},this.setOptions(e),this.response=new yo}setOptions(e){this.options=Object.assign(this.options,e),this.authToken=this.options.authToken,this.authTokenHeader=this.options.authTokenHeader||"Authorization",this.autoUpload=this.options.autoUpload,this.options.filters.unshift({name:"queueLimit",fn:this._queueLimitFilter}),this.options.maxFileSize&&this.options.filters.unshift({name:"fileSize",fn:this._fileSizeFilter}),this.options.allowedFileType&&this.options.filters.unshift({name:"fileType",fn:this._fileTypeFilter}),this.options.allowedMimeType&&this.options.filters.unshift({name:"mimeType",fn:this._mimeTypeFilter});for(let t=0;t<this.queue.length;t++)this.queue[t].url=this.options.url}addToQueue(e,t,n){let r=[];for(let l of e)r.push(l);let o=this._getFilters(n),i=this.queue.length,s=[];r.map(e=>{t||(t=this.options);let n=new Vl(e);if(this._isValidFile(n,o,t)){let n=new jl(this,e,t);s.push(n),this.queue.push(n),this._onAfterAddingFile(n)}else this._onWhenAddingFileFailed(n,o[this._failFilterIndex],t)}),this.queue.length!==i&&(this._onAfterAddingAll(s),this.progress=this._getTotalProgress()),this._render(),this.options.autoUpload&&this.uploadAll()}removeFromQueue(e){let t=this.getIndexOfItem(e),n=this.queue[t];n.isUploading&&n.cancel(),this.queue.splice(t,1),this.progress=this._getTotalProgress()}clearQueue(){for(;this.queue.length;)this.queue[0].remove();this.progress=0}uploadItem(e){let t=this.getIndexOfItem(e),n=this.queue[t],r=this.options.isHTML5?"_xhrTransport":"_iframeTransport";n._prepareToUploading(),this.isUploading||(this.isUploading=!0,this[r](n))}cancelItem(e){let t=this.getIndexOfItem(e),n=this.queue[t];n&&n.isUploading&&(this.options.isHTML5?n._xhr:n._form).abort()}uploadAll(){let e=this.getNotUploadedItems().filter(e=>!e.isUploading);e.length&&(e.map(e=>e._prepareToUploading()),e[0].upload())}cancelAll(){this.getNotUploadedItems().map(e=>e.cancel())}isFile(e){return function(e){return File&&e instanceof File}(e)}isFileLikeObject(e){return e instanceof Vl}getIndexOfItem(e){return"number"==typeof e?e:this.queue.indexOf(e)}getNotUploadedItems(){return this.queue.filter(e=>!e.isUploaded)}getReadyItems(){return this.queue.filter(e=>e.isReady&&!e.isUploading).sort((e,t)=>e.index-t.index)}destroy(){}onAfterAddingAll(e){return{fileItems:e}}onBuildItemForm(e,t){return{fileItem:e,form:t}}onAfterAddingFile(e){return{fileItem:e}}onWhenAddingFileFailed(e,t,n){return{item:e,filter:t,options:n}}onBeforeUploadItem(e){return{fileItem:e}}onProgressItem(e,t){return{fileItem:e,progress:t}}onProgressAll(e){return{progress:e}}onSuccessItem(e,t,n,r){return{item:e,response:t,status:n,headers:r}}onErrorItem(e,t,n,r){return{item:e,response:t,status:n,headers:r}}onCancelItem(e,t,n,r){return{item:e,response:t,status:n,headers:r}}onCompleteItem(e,t,n,r){return{item:e,response:t,status:n,headers:r}}onCompleteAll(){}_mimeTypeFilter(e){return!(this.options.allowedMimeType&&-1===this.options.allowedMimeType.indexOf(e.type))}_fileSizeFilter(e){return!(this.options.maxFileSize&&e.size>this.options.maxFileSize)}_fileTypeFilter(e){return!(this.options.allowedFileType&&-1===this.options.allowedFileType.indexOf(Ll.getMimeClass(e)))}_onErrorItem(e,t,n,r){e._onError(t,n,r),this.onErrorItem(e,t,n,r)}_onCompleteItem(e,t,n,r){e._onComplete(t,n,r),this.onCompleteItem(e,t,n,r);let o=this.getReadyItems()[0];this.isUploading=!1,o?o.upload():(this.onCompleteAll(),this.progress=this._getTotalProgress(),this._render())}_headersGetter(e){return t=>t?e[t.toLowerCase()]||void 0:e}_xhrTransport(e){let t,n=this,r=e._xhr=new XMLHttpRequest;if(this._onBeforeUploadItem(e),"number"!=typeof e._file.size)throw new TypeError("The file specified is no longer valid");if(this.options.disableMultipart)t=this.options.formatDataFunction(e);else{t=new FormData,this._onBuildItemForm(e,t);const n=()=>t.append(e.alias,e._file,e.file.name);this.options.parametersBeforeFiles||n(),void 0!==this.options.additionalParameter&&Object.keys(this.options.additionalParameter).forEach(n=>{let r=this.options.additionalParameter[n];"string"==typeof r&&r.indexOf("{{file_name}}")>=0&&(r=r.replace("{{file_name}}",e.file.name)),t.append(n,r)}),this.options.parametersBeforeFiles&&n()}if(r.upload.onprogress=t=>{let n=Math.round(t.lengthComputable?100*t.loaded/t.total:0);this._onProgressItem(e,n)},r.onload=()=>{let t=this._parseHeaders(r.getAllResponseHeaders()),n=this._transformResponse(r.response,t);this["_on"+(this._isSuccessCode(r.status)?"Success":"Error")+"Item"](e,n,r.status,t),this._onCompleteItem(e,n,r.status,t)},r.onerror=()=>{let t=this._parseHeaders(r.getAllResponseHeaders()),n=this._transformResponse(r.response,t);this._onErrorItem(e,n,r.status,t),this._onCompleteItem(e,n,r.status,t)},r.onabort=()=>{let t=this._parseHeaders(r.getAllResponseHeaders()),n=this._transformResponse(r.response,t);this._onCancelItem(e,n,r.status,t),this._onCompleteItem(e,n,r.status,t)},r.open(e.method,e.url,!0),r.withCredentials=e.withCredentials,this.options.headers)for(let o of this.options.headers)r.setRequestHeader(o.name,o.value);if(e.headers.length)for(let o of e.headers)r.setRequestHeader(o.name,o.value);this.authToken&&r.setRequestHeader(this.authTokenHeader,this.authToken),r.onreadystatechange=function(){r.readyState==XMLHttpRequest.DONE&&n.response.emit(r.responseText)},this.options.formatDataFunctionIsAsync?t.then(e=>r.send(JSON.stringify(e))):r.send(t),this._render()}_getTotalProgress(e=0){if(this.options.removeAfterUpload)return e;let t=this.getNotUploadedItems().length,n=100/this.queue.length;return Math.round((t?this.queue.length-t:this.queue.length)*n+e*n/100)}_getFilters(e){if(!e)return this.options.filters;if(Array.isArray(e))return e;if("string"==typeof e){let t=e.match(/[^\s,]+/g);return this.options.filters.filter(e=>-1!==t.indexOf(e.name))}return this.options.filters}_render(){}_queueLimitFilter(){return void 0===this.options.queueLimit||this.queue.length<this.options.queueLimit}_isValidFile(e,t,n){return this._failFilterIndex=-1,!t.length||t.every(t=>(this._failFilterIndex++,t.fn.call(this,e,n)))}_isSuccessCode(e){return e>=200&&e<300||304===e}_transformResponse(e,t){return e}_parseHeaders(e){let t,n,r,o={};return e?(e.split("\n").map(e=>{r=e.indexOf(":"),t=e.slice(0,r).trim().toLowerCase(),n=e.slice(r+1).trim(),t&&(o[t]=o[t]?o[t]+", "+n:n)}),o):o}_onWhenAddingFileFailed(e,t,n){this.onWhenAddingFileFailed(e,t,n)}_onAfterAddingFile(e){this.onAfterAddingFile(e)}_onAfterAddingAll(e){this.onAfterAddingAll(e)}_onBeforeUploadItem(e){e._onBeforeUpload(),this.onBeforeUploadItem(e)}_onBuildItemForm(e,t){e._onBuildForm(t),this.onBuildItemForm(e,t)}_onProgressItem(e,t){let n=this._getTotalProgress(t);this.progress=n,e._onProgress(t),this.onProgressItem(e,t),this.onProgressAll(n),this._render()}_onSuccessItem(e,t,n,r){e._onSuccess(t,n,r),this.onSuccessItem(e,t,n,r)}_onCancelItem(e,t,n,r){e._onCancel(t,n,r),this.onCancelItem(e,t,n,r)}}class Ul{constructor(e){this.onFileSelected=new yo,this.element=e}getOptions(){return this.uploader.options}getFilters(){return{}}isEmptyAfterSelection(){return!!this.element.nativeElement.attributes.multiple}onChange(){let e=this.element.nativeElement.files,t=this.getOptions(),n=this.getFilters();this.uploader.addToQueue(e,t,n),this.onFileSelected.emit(e),this.isEmptyAfterSelection()&&(this.element.nativeElement.value="")}}class Zl{constructor(e){this.fileOver=new yo,this.onFileDrop=new yo,this.element=e}getOptions(){return this.uploader.options}getFilters(){return{}}onDrop(e){let t=this._getTransfer(e);if(!t)return;let n=this.getOptions(),r=this.getFilters();this._preventAndStop(e),this.uploader.addToQueue(t.files,n,r),this.fileOver.emit(!1),this.onFileDrop.emit(t.files)}onDragOver(e){let t=this._getTransfer(e);this._haveFiles(t.types)&&(t.dropEffect="copy",this._preventAndStop(e),this.fileOver.emit(!0))}onDragLeave(e){this.element&&e.currentTarget===this.element[0]||(this._preventAndStop(e),this.fileOver.emit(!1))}_getTransfer(e){return e.dataTransfer?e.dataTransfer:e.originalEvent.dataTransfer}_preventAndStop(e){e.preventDefault(),e.stopPropagation()}_haveFiles(e){return!!e&&(e.indexOf?-1!==e.indexOf("Files"):!!e.contains&&e.contains("Files"))}}class Hl{}const Bl="https://evening-anchorage-3159.herokuapp.com/api/";class Kl{constructor(){this.uploader=new zl({url:Bl,disableMultipart:!0,formatDataFunctionIsAsync:!0,formatDataFunction:e=>(function(e,t,n,r){return new(n||(n=Promise))(function(t,o){function i(e){try{l(r.next(e))}catch(t){o(t)}}function s(e){try{l(r.throw(e))}catch(t){o(t)}}function l(e){e.done?t(e.value):new n(function(t){t(e.value)}).then(i,s)}l((r=r.apply(e,[])).next())})})(this,0,void 0,function*(){return new Promise((t,n)=>{t({name:e._file.name,length:e._file.size,contentType:e._file.type,date:new Date})})})}),this.hasBaseDropZoneOver=!1,this.hasAnotherDropZoneOver=!1,this.response="",this.uploader.response.subscribe(e=>this.response=e)}fileOverBase(e){this.hasBaseDropZoneOver=e}fileOverAnother(e){this.hasAnotherDropZoneOver=e}}var ql=Ln({encapsulation:0,styles:[".my-drop-zone[_ngcontent-%COMP%] { border: dotted 3px lightgray; }\n .nv-file-over[_ngcontent-%COMP%] { border: dotted 3px red; } \n .another-file-over-class[_ngcontent-%COMP%] { border: dotted 3px green; }\n\n html[_ngcontent-%COMP%], body[_ngcontent-%COMP%] { height: 100%; }"],data:{}});function Gl(e){return Hi(0,[(e()(),Ii(0,0,null,null,2,"td",[["nowrap",""]],null,null,null,null,null)),(e()(),zi(1,null,[""," MB"])),Li(128,2,new Array(3))],null,function(e,t){var n=function(e,t,n,r){if(Ft.isWrapped(r)){r=Ft.unwrap(r);const t=e.def.nodes[1].bindingIndex+0,n=Ft.unwrap(e.oldValues[t]);e.oldValues[t]=new Ft(n)}return r}(t,0,0,e(t,2,0,Nr(t.parent.parent,0),(null==t.parent.context.$implicit?null:null==t.parent.context.$implicit.file?null:t.parent.context.$implicit.file.size)/1024/1024,".2"));e(t,1,0,n)})}function $l(e){return Hi(0,[(e()(),Ii(0,0,null,null,5,"td",[],null,null,null,null,null)),(e()(),Ii(1,0,null,null,4,"div",[["class","progress"],["style","margin-bottom: 0;"]],null,null,null,null,null)),(e()(),Ii(2,0,null,null,3,"div",[["class","progress-bar"],["role","progressbar"]],null,null,null,null,null)),Gr(512,null,Al,Ol,[$t,gn,Yt]),qr(4,278528,null,0,Pl,[Al],{ngStyle:[0,"ngStyle"]},null),ji(5,{width:0})],function(e,t){var n=e(t,5,0,t.parent.context.$implicit.progress+"%");e(t,4,0,n)},null)}function Xl(e){return Hi(0,[(e()(),Ii(0,0,null,null,1,"span",[],null,null,null,null,null)),(e()(),Ii(1,0,null,null,0,"i",[["class","glyphicon glyphicon-ok"]],null,null,null,null,null))],null,null)}function Wl(e){return Hi(0,[(e()(),Ii(0,0,null,null,1,"span",[],null,null,null,null,null)),(e()(),Ii(1,0,null,null,0,"i",[["class","glyphicon glyphicon-ban-circle"]],null,null,null,null,null))],null,null)}function Ql(e){return Hi(0,[(e()(),Ii(0,0,null,null,1,"span",[],null,null,null,null,null)),(e()(),Ii(1,0,null,null,0,"i",[["class","glyphicon glyphicon-remove"]],null,null,null,null,null))],null,null)}function Jl(e){return Hi(0,[(e()(),Ii(0,0,null,null,24,"tr",[],null,null,null,null,null)),(e()(),Ii(1,0,null,null,2,"td",[],null,null,null,null,null)),(e()(),Ii(2,0,null,null,1,"strong",[],null,null,null,null,null)),(e()(),zi(3,null,["",""])),(e()(),Ti(16777216,null,null,1,null,Gl)),qr(5,16384,null,0,Cl,[wn,_n],{ngIf:[0,"ngIf"]},null),(e()(),Ti(16777216,null,null,1,null,$l)),qr(7,16384,null,0,Cl,[wn,_n],{ngIf:[0,"ngIf"]},null),(e()(),Ii(8,0,null,null,6,"td",[["class","text-center"]],null,null,null,null,null)),(e()(),Ti(16777216,null,null,1,null,Xl)),qr(10,16384,null,0,Cl,[wn,_n],{ngIf:[0,"ngIf"]},null),(e()(),Ti(16777216,null,null,1,null,Wl)),qr(12,16384,null,0,Cl,[wn,_n],{ngIf:[0,"ngIf"]},null),(e()(),Ti(16777216,null,null,1,null,Ql)),qr(14,16384,null,0,Cl,[wn,_n],{ngIf:[0,"ngIf"]},null),(e()(),Ii(15,0,null,null,9,"td",[["nowrap",""]],null,null,null,null,null)),(e()(),Ii(16,0,null,null,2,"button",[["class","btn btn-success btn-xs"],["type","button"]],[[8,"disabled",0]],[[null,"click"]],function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.context.$implicit.upload()&&r),r},null,null)),(e()(),Ii(17,0,null,null,0,"span",[["class","glyphicon glyphicon-upload"]],null,null,null,null,null)),(e()(),zi(-1,null,[" Upload "])),(e()(),Ii(19,0,null,null,2,"button",[["class","btn btn-warning btn-xs"],["type","button"]],[[8,"disabled",0]],[[null,"click"]],function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.context.$implicit.cancel()&&r),r},null,null)),(e()(),Ii(20,0,null,null,0,"span",[["class","glyphicon glyphicon-ban-circle"]],null,null,null,null,null)),(e()(),zi(-1,null,[" Cancel "])),(e()(),Ii(22,0,null,null,2,"button",[["class","btn btn-danger btn-xs"],["type","button"]],null,[[null,"click"]],function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.context.$implicit.remove()&&r),r},null,null)),(e()(),Ii(23,0,null,null,0,"span",[["class","glyphicon glyphicon-trash"]],null,null,null,null,null)),(e()(),zi(-1,null,[" Remove "]))],function(e,t){var n=t.component;e(t,5,0,n.uploader.options.isHTML5),e(t,7,0,n.uploader.options.isHTML5),e(t,10,0,t.context.$implicit.isSuccess),e(t,12,0,t.context.$implicit.isCancel),e(t,14,0,t.context.$implicit.isError)},function(e,t){e(t,3,0,null==t.context.$implicit?null:null==t.context.$implicit.file?null:t.context.$implicit.file.name),e(t,16,0,t.context.$implicit.isReady||t.context.$implicit.isUploading||t.context.$implicit.isSuccess),e(t,19,0,!t.context.$implicit.isUploading)})}function Yl(e){return Hi(0,[(t=0,n=Nl,r=[Oo],$r(-1,t|=16,null,0,n,n,r)),(e()(),Ii(1,0,null,null,74,"div",[["class","container"]],null,null,null,null,null)),(e()(),Ii(2,0,null,null,3,"div",[["class","navbar navbar-default"]],null,null,null,null,null)),(e()(),Ii(3,0,null,null,2,"div",[["class","navbar-header"]],null,null,null,null,null)),(e()(),Ii(4,0,null,null,1,"a",[["class","navbar-brand"],["href",""]],null,null,null,null,null)),(e()(),zi(-1,null,["Angular2 File Upload"])),(e()(),Ii(6,0,null,null,60,"div",[["class","row"]],null,null,null,null,null)),(e()(),Ii(7,0,null,null,21,"div",[["class","col-md-3"]],null,null,null,null,null)),(e()(),Ii(8,0,null,null,1,"h3",[],null,null,null,null,null)),(e()(),zi(-1,null,["Select files"])),(e()(),Ii(10,0,null,null,5,"div",[["class","well my-drop-zone"],["ng2FileDrop",""]],null,[[null,"fileOver"],[null,"drop"],[null,"dragover"],[null,"dragleave"]],function(e,t,n){var r=!0,o=e.component;return"drop"===t&&(r=!1!==Nr(e,14).onDrop(n)&&r),"dragover"===t&&(r=!1!==Nr(e,14).onDragOver(n)&&r),"dragleave"===t&&(r=!1!==Nr(e,14).onDragLeave(n)&&r),"fileOver"===t&&(r=!1!==o.fileOverBase(n)&&r),r},null,null)),Gr(512,null,_l,bl,[pn,gn,$t,Yt]),qr(12,278528,null,0,xl,[_l],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),ji(13,{"nv-file-over":0}),qr(14,16384,null,0,Zl,[$t],{uploader:[0,"uploader"]},{fileOver:"fileOver"}),(e()(),zi(-1,null,[" Base drop zone "])),(e()(),Ii(16,0,null,null,5,"div",[["class","well my-drop-zone"],["ng2FileDrop",""]],null,[[null,"fileOver"],[null,"drop"],[null,"dragover"],[null,"dragleave"]],function(e,t,n){var r=!0,o=e.component;return"drop"===t&&(r=!1!==Nr(e,20).onDrop(n)&&r),"dragover"===t&&(r=!1!==Nr(e,20).onDragOver(n)&&r),"dragleave"===t&&(r=!1!==Nr(e,20).onDragLeave(n)&&r),"fileOver"===t&&(r=!1!==o.fileOverAnother(n)&&r),r},null,null)),Gr(512,null,_l,bl,[pn,gn,$t,Yt]),qr(18,278528,null,0,xl,[_l],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),ji(19,{"another-file-over-class":0}),qr(20,16384,null,0,Zl,[$t],{uploader:[0,"uploader"]},{fileOver:"fileOver"}),(e()(),zi(-1,null,[" Another drop zone "])),(e()(),zi(-1,null,[" Multiple "])),(e()(),Ii(23,0,null,null,1,"input",[["multiple",""],["ng2FileSelect",""],["type","file"]],null,[[null,"change"]],function(e,t,n){var r=!0;return"change"===t&&(r=!1!==Nr(e,24).onChange()&&r),r},null,null)),qr(24,16384,null,0,Ul,[$t],{uploader:[0,"uploader"]},null),(e()(),Ii(25,0,null,null,0,"br",[],null,null,null,null,null)),(e()(),zi(-1,null,[" Single "])),(e()(),Ii(27,0,null,null,1,"input",[["ng2FileSelect",""],["type","file"]],null,[[null,"change"]],function(e,t,n){var r=!0;return"change"===t&&(r=!1!==Nr(e,28).onChange()&&r),r},null,null)),qr(28,16384,null,0,Ul,[$t],{uploader:[0,"uploader"]},null),(e()(),Ii(29,0,null,null,37,"div",[["class","col-md-9"],["style","margin-bottom: 40px"]],null,null,null,null,null)),(e()(),Ii(30,0,null,null,1,"h3",[],null,null,null,null,null)),(e()(),zi(-1,null,["Upload queue"])),(e()(),Ii(32,0,null,null,1,"p",[],null,null,null,null,null)),(e()(),zi(33,null,["Queue length: ",""])),(e()(),Ii(34,0,null,null,15,"table",[["class","table"]],null,null,null,null,null)),(e()(),Ii(35,0,null,null,11,"thead",[],null,null,null,null,null)),(e()(),Ii(36,0,null,null,10,"tr",[],null,null,null,null,null)),(e()(),Ii(37,0,null,null,1,"th",[["width","50%"]],null,null,null,null,null)),(e()(),zi(-1,null,["Name"])),(e()(),Ii(39,0,null,null,1,"th",[],null,null,null,null,null)),(e()(),zi(-1,null,["Size"])),(e()(),Ii(41,0,null,null,1,"th",[],null,null,null,null,null)),(e()(),zi(-1,null,["Progress"])),(e()(),Ii(43,0,null,null,1,"th",[],null,null,null,null,null)),(e()(),zi(-1,null,["Status"])),(e()(),Ii(45,0,null,null,1,"th",[],null,null,null,null,null)),(e()(),zi(-1,null,["Actions"])),(e()(),Ii(47,0,null,null,2,"tbody",[],null,null,null,null,null)),(e()(),Ti(16777216,null,null,1,null,Jl)),qr(49,278528,null,0,Sl,[wn,_n,pn],{ngForOf:[0,"ngForOf"]},null),(e()(),Ii(50,0,null,null,16,"div",[],null,null,null,null,null)),(e()(),Ii(51,0,null,null,6,"div",[],null,null,null,null,null)),(e()(),zi(-1,null,[" Queue progress: "])),(e()(),Ii(53,0,null,null,4,"div",[["class","progress"],["style",""]],null,null,null,null,null)),(e()(),Ii(54,0,null,null,3,"div",[["class","progress-bar"],["role","progressbar"]],null,null,null,null,null)),Gr(512,null,Al,Ol,[$t,gn,Yt]),qr(56,278528,null,0,Pl,[Al],{ngStyle:[0,"ngStyle"]},null),ji(57,{width:0}),(e()(),Ii(58,0,null,null,2,"button",[["class","btn btn-success btn-s"],["type","button"]],[[8,"disabled",0]],[[null,"click"]],function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component.uploader.uploadAll()&&r),r},null,null)),(e()(),Ii(59,0,null,null,0,"span",[["class","glyphicon glyphicon-upload"]],null,null,null,null,null)),(e()(),zi(-1,null,[" Upload all "])),(e()(),Ii(61,0,null,null,2,"button",[["class","btn btn-warning btn-s"],["type","button"]],[[8,"disabled",0]],[[null,"click"]],function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component.uploader.cancelAll()&&r),r},null,null)),(e()(),Ii(62,0,null,null,0,"span",[["class","glyphicon glyphicon-ban-circle"]],null,null,null,null,null)),(e()(),zi(-1,null,[" Cancel all "])),(e()(),Ii(64,0,null,null,2,"button",[["class","btn btn-danger btn-s"],["type","button"]],[[8,"disabled",0]],[[null,"click"]],function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component.uploader.clearQueue()&&r),r},null,null)),(e()(),Ii(65,0,null,null,0,"span",[["class","glyphicon glyphicon-trash"]],null,null,null,null,null)),(e()(),zi(-1,null,[" Remove all "])),(e()(),Ii(67,0,null,null,0,"br",[],null,null,null,null,null)),(e()(),Ii(68,0,null,null,0,"br",[],null,null,null,null,null)),(e()(),Ii(69,0,null,null,6,"div",[["class","row"]],null,null,null,null,null)),(e()(),Ii(70,0,null,null,5,"div",[["class","col-md-12"]],null,null,null,null,null)),(e()(),Ii(71,0,null,null,4,"div",[["class","panel panel-default"]],null,null,null,null,null)),(e()(),Ii(72,0,null,null,1,"div",[["class","panel-heading"]],null,null,null,null,null)),(e()(),zi(-1,null,["Response"])),(e()(),Ii(74,0,null,null,1,"div",[["class","panel-body"]],null,null,null,null,null)),(e()(),zi(75,null,[" "," "]))],function(e,t){var n=t.component,r=e(t,13,0,n.hasBaseDropZoneOver);e(t,12,0,"well my-drop-zone",r),e(t,14,0,n.uploader);var o=e(t,19,0,n.hasAnotherDropZoneOver);e(t,18,0,"well my-drop-zone",o),e(t,20,0,n.uploader),e(t,24,0,n.uploader),e(t,28,0,n.uploader),e(t,49,0,n.uploader.queue);var i=e(t,57,0,n.uploader.progress+"%");e(t,56,0,i)},function(e,t){var n=t.component;e(t,33,0,null==n.uploader?null:null==n.uploader.queue?null:n.uploader.queue.length),e(t,58,0,!n.uploader.getNotUploadedItems().length),e(t,61,0,!n.uploader.isUploading),e(t,64,0,!n.uploader.queue.length),e(t,75,0,n.response)});var t,n,r}var ea=function(){function e(e){this.viewRef=e}return Object.defineProperty(e.prototype,"ngTransclude",{get:function(){return this._ngTransclude},set:function(e){this._ngTransclude=e,e&&this.viewRef.createEmbeddedView(e)},enumerable:!0,configurable:!0}),e}(),ta=Ln({encapsulation:2,styles:[],data:{}});function na(e){return Hi(0,[(e()(),Ii(0,0,null,null,1,"span",[],null,null,null,null,null)),(e()(),Ii(1,0,null,null,0,"span",[["class","glyphicon glyphicon-remove-circle"]],null,[[null,"click"]],function(e,t,n){var r=!0,o=e.component;return"click"===t&&(n.preventDefault(),r=!1!==o.removeTab(e.parent.context.$implicit)&&r),r},null,null))],null,null)}function ra(e){return Hi(0,[(e()(),Ii(0,0,null,null,9,"li",[],[[2,"active",null],[2,"disabled",null]],null,null,null,null)),Gr(512,null,_l,bl,[pn,gn,$t,Yt]),qr(2,278528,null,0,xl,[_l],{ngClass:[0,"ngClass"]},null),Li(32,3,new Array(2)),(e()(),Ii(4,0,null,null,5,"a",[["class","nav-link"],["href","javascript:void(0);"]],[[2,"active",null],[2,"disabled",null]],[[null,"click"]],function(e,t,n){var r=!0;return"click"===t&&(r=0!=(e.context.$implicit.active=!0)&&r),r},null,null)),(e()(),Ii(5,16777216,null,null,2,"span",[],null,null,null,null,null)),qr(6,16384,null,0,ea,[wn],{ngTransclude:[0,"ngTransclude"]},null),(e()(),zi(7,null,["",""])),(e()(),Ti(16777216,null,null,1,null,na)),qr(9,16384,null,0,Cl,[wn,_n],{ngIf:[0,"ngIf"]},null)],function(e,t){var n=e(t,3,0,"nav-item",t.context.$implicit.customClass||"");e(t,2,0,n),e(t,6,0,t.context.$implicit.headingRef),e(t,9,0,t.context.$implicit.removable)},function(e,t){e(t,0,0,t.context.$implicit.active,t.context.$implicit.disabled),e(t,4,0,t.context.$implicit.active,t.context.$implicit.disabled),e(t,7,0,t.context.$implicit.heading)})}function oa(e){return Hi(0,[(e()(),Ii(0,0,null,null,4,"ul",[["class","nav"]],null,[[null,"click"]],function(e,t,n){var r=!0;return"click"===t&&(r=!1!==n.preventDefault()&&r),r},null,null)),Gr(512,null,_l,bl,[pn,gn,$t,Yt]),qr(2,278528,null,0,xl,[_l],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),(e()(),Ti(16777216,null,null,1,null,ra)),qr(4,278528,null,0,Sl,[wn,_n,pn],{ngForOf:[0,"ngForOf"]},null),(e()(),Ii(5,0,null,null,1,"div",[["class","tab-content"]],null,null,null,null,null)),{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:null,childCount:0,bindings:[],bindingFlags:0,outputs:[],element:null,provider:null,text:null,query:null,ngContent:{index:0}}],function(e,t){var n=t.component;e(t,2,0,"nav",n.classMap),e(t,4,0,n.tabs)},null)}let ia=n("mOoM"),sa=[{heading:"Simple",ts:n("L/Eh").default,html:n("0Bc4").default,js:n("csLA").default}];class la{constructor(){this.name="File Upload",this.currentHeading="Simple",this.doc=ia,this.tabs=sa}select(e){e.heading&&(this.currentHeading=e.heading)}}var aa=Ln({encapsulation:2,styles:[],data:{}});function ua(e){return Hi(0,[(e()(),Ii(0,0,null,null,25,"tab",[],[[2,"active",null],[2,"tab-pane",null]],[[null,"select"]],function(e,t,n){var r=!0;return"select"===t&&(r=!1!==e.component.select(n)&&r),r},null,null)),qr(1,81920,null,0,tl,[el],{heading:[0,"heading"]},{select:"select"}),(e()(),Ii(2,0,null,null,23,"div",[["class","card card-block panel panel-default panel-body"]],null,null,null,null,null)),(e()(),Ii(3,0,null,null,1,"simple-demo",[],null,null,null,Yl,ql)),qr(4,49152,null,0,Kl,[],null,null),(e()(),Ii(5,0,null,null,0,"br",[],null,null,null,null,null)),(e()(),Ii(6,0,null,null,19,"div",[["class","row"],["style","margin: 0px;"]],null,null,null,null,null)),(e()(),Ii(7,0,null,null,18,"tabset",[],[[2,"tab-container",null]],null,null,oa,ta)),qr(8,180224,null,0,el,[Ys],null,null),(e()(),Ii(9,0,null,0,4,"tab",[["heading","Markup"]],[[2,"active",null],[2,"tab-pane",null]],null,null,null,null)),qr(10,81920,null,0,tl,[el],{heading:[0,"heading"]},null),(e()(),Ii(11,0,null,null,2,"div",[["class","card card-block panel panel-default panel-body"]],null,null,null,null,null)),(e()(),Ii(12,0,null,null,1,"pre",[["class","prettyprint linenums lang-html"]],null,null,null,null,null)),(e()(),zi(13,null,["",""])),(e()(),Ii(14,0,null,0,6,"tab",[["heading","TypeScript"]],[[2,"active",null],[2,"tab-pane",null]],null,null,null,null)),qr(15,81920,null,0,tl,[el],{heading:[0,"heading"]},null),(e()(),Ii(16,0,null,null,4,"div",[["class","card card-block panel panel-default panel-body"]],null,null,null,null,null)),(e()(),Ii(17,0,null,null,1,"pre",[["class","prettyprint linenums lang-js"]],null,null,null,null,null)),(e()(),zi(18,null,["",""])),(e()(),Ii(19,0,null,null,1,"pre",[["class","language-typescript"]],null,null,null,null,null)),(e()(),Ii(20,0,null,null,0,"code",[["class","language-typescript"],["ng-non-bindable",""]],[[8,"innerHTML",1]],null,null,null,null)),(e()(),Ii(21,0,null,0,4,"tab",[["heading","Backend Demo"]],[[2,"active",null],[2,"tab-pane",null]],null,null,null,null)),qr(22,81920,null,0,tl,[el],{heading:[0,"heading"]},null),(e()(),Ii(23,0,null,null,2,"div",[["class","card card-block panel panel-default panel-body"]],null,null,null,null,null)),(e()(),Ii(24,0,null,null,1,"pre",[["class","prettyprint linenums lang-js"]],null,null,null,null,null)),(e()(),zi(25,null,["",""]))],function(e,t){var n;e(t,1,0,""+(null!=(n=t.context.$implicit.heading)?n.toString():"")),e(t,10,0,"Markup"),e(t,15,0,"TypeScript"),e(t,22,0,"Backend Demo")},function(e,t){e(t,0,0,Nr(t,1).active,Nr(t,1).addClass),e(t,7,0,Nr(t,8).clazz),e(t,9,0,Nr(t,10).active,Nr(t,10).addClass),e(t,13,0,t.context.$implicit.html),e(t,14,0,Nr(t,15).active,Nr(t,15).addClass),e(t,18,0,t.context.$implicit.ts),e(t,20,0,t.context.$implicit.ts),e(t,21,0,Nr(t,22).active,Nr(t,22).addClass),e(t,25,0,t.context.$implicit.js)})}function ca(e){return Hi(0,[(e()(),Ii(0,0,null,null,9,"section",[],[[1,"id",0]],null,null,null,null)),(e()(),Ii(1,0,null,null,4,"div",[["class","row"]],null,null,null,null,null)),(e()(),Ii(2,0,null,null,3,"tabset",[],[[2,"tab-container",null]],null,null,oa,ta)),qr(3,180224,null,0,el,[Ys],null,null),(e()(),Ti(16777216,null,0,1,null,ua)),qr(5,278528,null,0,Sl,[wn,_n,pn],{ngForOf:[0,"ngForOf"]},null),(e()(),Ii(6,0,null,null,3,"div",[["class","row"]],null,null,null,null,null)),(e()(),Ii(7,0,null,null,1,"h2",[],null,null,null,null,null)),(e()(),zi(-1,null,["API"])),(e()(),Ii(9,0,null,null,0,"div",[["class","card card-block panel panel-default panel-body"]],[[8,"innerHTML",1]],null,null,null,null))],function(e,t){e(t,5,0,t.component.tabs)},function(e,t){var n=t.component;e(t,0,0,n.name.toLowerCase()),e(t,2,0,Nr(t,3).clazz),e(t,9,0,n.doc)})}var da=Ln({encapsulation:2,styles:[],data:{}});function ha(e){return Hi(0,[(e()(),Ii(0,0,null,null,12,"main",[["class","bd-pageheader"]],null,null,null,null,null)),(e()(),Ii(1,0,null,null,11,"div",[["class","container"]],null,null,null,null,null)),(e()(),Ii(2,0,null,null,1,"h1",[],null,null,null,null,null)),(e()(),zi(-1,null,["ng2-file-upload"])),(e()(),Ii(4,0,null,null,1,"p",[],null,null,null,null,null)),(e()(),zi(-1,null,["The Angular2 File Upload directives"])),(e()(),Ii(6,0,null,null,1,"a",[["class","btn btn-primary"],["href","https://github.com/valor-software/ng2-file-upload"]],null,null,null,null,null)),(e()(),zi(-1,null,["View on GitHub"])),(e()(),Ii(8,0,null,null,4,"div",[["class","row"]],null,null,null,null,null)),(e()(),Ii(9,0,null,null,1,"div",[["class","col-lg-1"]],null,null,null,null,null)),(e()(),Ii(10,0,null,null,0,"iframe",[["frameborder","0"],["height","20px"],["scrolling","0"],["src","https://ghbtns.com/github-btn.html?user=valor-software&repo=ng2-file-upload&type=star&count=true"],["width","170px"]],null,null,null,null,null)),(e()(),Ii(11,0,null,null,1,"div",[["class","col-lg-1"]],null,null,null,null,null)),(e()(),Ii(12,0,null,null,0,"iframe",[["frameborder","0"],["height","20px"],["scrolling","0"],["src","https://ghbtns.com/github-btn.html?user=valor-software&repo=ng2-file-upload&type=fork&count=true"],["width","170px"]],null,null,null,null,null)),(e()(),Ii(13,0,null,null,3,"div",[["class","container"]],null,null,null,null,null)),(e()(),Ii(14,0,null,null,0,"section",[["id","getting-started"]],[[8,"innerHTML",1]],null,null,null,null)),(e()(),Ii(15,0,null,null,1,"file-upload-section",[["class","col-md-12"]],null,null,null,ca,aa)),qr(16,49152,null,0,la,[],null,null),(e()(),Ii(17,0,null,null,8,"footer",[["class","footer"]],null,null,null,null,null)),(e()(),Ii(18,0,null,null,7,"div",[["class","container"]],null,null,null,null,null)),(e()(),Ii(19,0,null,null,6,"p",[["class","text-muted text-center"]],null,null,null,null,null)),(e()(),Ii(20,0,null,null,1,"a",[["href","https://github.com/valor-software/ng2-file-upload"]],null,null,null,null,null)),(e()(),zi(-1,null,["ng2-file-upload"])),(e()(),zi(-1,null,[" is maintained by "])),(e()(),Ii(23,0,null,null,1,"a",[["href","https://github.com/valor-software"]],null,null,null,null,null)),(e()(),zi(-1,null,["valor-software"])),(e()(),zi(-1,null,["."]))],null,function(e,t){e(t,14,0,t.component.gettingStarted)})}function fa(e){return Hi(0,[(e()(),Ii(0,0,null,null,1,"app",[],null,null,null,ha,da)),qr(1,1097728,null,0,Js,[],null,null)],null,null)}var pa=xr("app",Js,fa,{},{},[]);let ga=null;function ma(){return ga}class va{constructor(){this.resourceLoaderType=null}get attrToPropMap(){return this._attrToPropMap}set attrToPropMap(e){this._attrToPropMap=e}}class ya extends va{constructor(){super(),this._animationPrefix=null,this._transitionEnd=null;try{const t=this.createElement("div",document);if(null!=this.getStyle(t,"animationName"))this._animationPrefix="";else{const e=["Webkit","Moz","O","ms"];for(let n=0;n<e.length;n++)if(null!=this.getStyle(t,e[n]+"AnimationName")){this._animationPrefix="-"+e[n].toLowerCase()+"-";break}}const n={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};Object.keys(n).forEach(e=>{null!=this.getStyle(t,e)&&(this._transitionEnd=n[e])})}catch(e){this._animationPrefix=null,this._transitionEnd=null}}getDistributedNodes(e){return e.getDistributedNodes()}resolveAndSetHref(e,t,n){e.href=null==n?t:t+"/../"+n}supportsDOMEvents(){return!0}supportsNativeShadowDOM(){return"function"==typeof document.body.createShadowRoot}getAnimationPrefix(){return this._animationPrefix?this._animationPrefix:""}getTransitionEnd(){return this._transitionEnd?this._transitionEnd:""}supportsAnimation(){return null!=this._animationPrefix&&null!=this._transitionEnd}}const _a={class:"className",innerHtml:"innerHTML",readonly:"readOnly",tabindex:"tabIndex"},ba=3,wa={"\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"},xa={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"},Ea=(()=>{if(fe.Node)return fe.Node.prototype.contains||function(e){return!!(16&this.compareDocumentPosition(e))}})();class Sa extends ya{parse(e){throw new Error("parse not implemented")}static makeCurrent(){var e;e=new Sa,ga||(ga=e)}hasProperty(e,t){return t in e}setProperty(e,t,n){e[t]=n}getProperty(e,t){return e[t]}invoke(e,t,n){e[t](...n)}logError(e){window.console&&(console.error?console.error(e):console.log(e))}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()}get attrToPropMap(){return _a}contains(e,t){return Ea.call(e,t)}querySelector(e,t){return e.querySelector(t)}querySelectorAll(e,t){return e.querySelectorAll(t)}on(e,t,n){e.addEventListener(t,n,!1)}onAndCancel(e,t,n){return e.addEventListener(t,n,!1),()=>{e.removeEventListener(t,n,!1)}}dispatchEvent(e,t){e.dispatchEvent(t)}createMouseEvent(e){const t=this.getDefaultDocument().createEvent("MouseEvent");return t.initEvent(e,!0,!0),t}createEvent(e){const t=this.getDefaultDocument().createEvent("Event");return t.initEvent(e,!0,!0),t}preventDefault(e){e.preventDefault(),e.returnValue=!1}isPrevented(e){return e.defaultPrevented||null!=e.returnValue&&!e.returnValue}getInnerHTML(e){return e.innerHTML}getTemplateContent(e){return"content"in e&&this.isTemplateElement(e)?e.content:null}getOuterHTML(e){return e.outerHTML}nodeName(e){return e.nodeName}nodeValue(e){return e.nodeValue}type(e){return e.type}content(e){return this.hasProperty(e,"content")?e.content:e}firstChild(e){return e.firstChild}nextSibling(e){return e.nextSibling}parentElement(e){return e.parentNode}childNodes(e){return e.childNodes}childNodesAsList(e){const t=e.childNodes,n=new Array(t.length);for(let r=0;r<t.length;r++)n[r]=t[r];return n}clearNodes(e){for(;e.firstChild;)e.removeChild(e.firstChild)}appendChild(e,t){e.appendChild(t)}removeChild(e,t){e.removeChild(t)}replaceChild(e,t,n){e.replaceChild(t,n)}remove(e){return e.parentNode&&e.parentNode.removeChild(e),e}insertBefore(e,t,n){e.insertBefore(n,t)}insertAllBefore(e,t,n){n.forEach(n=>e.insertBefore(n,t))}insertAfter(e,t,n){e.insertBefore(n,t.nextSibling)}setInnerHTML(e,t){e.innerHTML=t}getText(e){return e.textContent}setText(e,t){e.textContent=t}getValue(e){return e.value}setValue(e,t){e.value=t}getChecked(e){return e.checked}setChecked(e,t){e.checked=t}createComment(e){return this.getDefaultDocument().createComment(e)}createTemplate(e){const t=this.getDefaultDocument().createElement("template");return t.innerHTML=e,t}createElement(e,t){return(t=t||this.getDefaultDocument()).createElement(e)}createElementNS(e,t,n){return(n=n||this.getDefaultDocument()).createElementNS(e,t)}createTextNode(e,t){return(t=t||this.getDefaultDocument()).createTextNode(e)}createScriptTag(e,t,n){const r=(n=n||this.getDefaultDocument()).createElement("SCRIPT");return r.setAttribute(e,t),r}createStyleElement(e,t){const n=(t=t||this.getDefaultDocument()).createElement("style");return this.appendChild(n,this.createTextNode(e,t)),n}createShadowRoot(e){return e.createShadowRoot()}getShadowRoot(e){return e.shadowRoot}getHost(e){return e.host}clone(e){return e.cloneNode(!0)}getElementsByClassName(e,t){return e.getElementsByClassName(t)}getElementsByTagName(e,t){return e.getElementsByTagName(t)}classList(e){return Array.prototype.slice.call(e.classList,0)}addClass(e,t){e.classList.add(t)}removeClass(e,t){e.classList.remove(t)}hasClass(e,t){return e.classList.contains(t)}setStyle(e,t,n){e.style[t]=n}removeStyle(e,t){e.style[t]=""}getStyle(e,t){return e.style[t]}hasStyle(e,t,n){const r=this.getStyle(e,t)||"";return n?r==n:r.length>0}tagName(e){return e.tagName}attributeMap(e){const t=new Map,n=e.attributes;for(let r=0;r<n.length;r++){const e=n.item(r);t.set(e.name,e.value)}return t}hasAttribute(e,t){return e.hasAttribute(t)}hasAttributeNS(e,t,n){return e.hasAttributeNS(t,n)}getAttribute(e,t){return e.getAttribute(t)}getAttributeNS(e,t,n){return e.getAttributeNS(t,n)}setAttribute(e,t,n){e.setAttribute(t,n)}setAttributeNS(e,t,n,r){e.setAttributeNS(t,n,r)}removeAttribute(e,t){e.removeAttribute(t)}removeAttributeNS(e,t,n){e.removeAttributeNS(t,n)}templateAwareRoot(e){return this.isTemplateElement(e)?this.content(e):e}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}getBoundingClientRect(e){try{return e.getBoundingClientRect()}catch(t){return{top:0,bottom:0,left:0,right:0,width:0,height:0}}}getTitle(e){return e.title}setTitle(e,t){e.title=t||""}elementMatches(e,t){return!!this.isElementNode(e)&&(e.matches&&e.matches(t)||e.msMatchesSelector&&e.msMatchesSelector(t)||e.webkitMatchesSelector&&e.webkitMatchesSelector(t))}isTemplateElement(e){return this.isElementNode(e)&&"TEMPLATE"===e.nodeName}isTextNode(e){return e.nodeType===Node.TEXT_NODE}isCommentNode(e){return e.nodeType===Node.COMMENT_NODE}isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}hasShadowRoot(e){return null!=e.shadowRoot&&e instanceof HTMLElement}isShadowRoot(e){return e instanceof DocumentFragment}importIntoDoc(e){return document.importNode(this.templateAwareRoot(e),!0)}adoptNode(e){return document.adoptNode(e)}getHref(e){return e.getAttribute("href")}getEventKey(e){let t=e.key;if(null==t){if(null==(t=e.keyIdentifier))return"Unidentified";t.startsWith("U+")&&(t=String.fromCharCode(parseInt(t.substring(2),16)),e.location===ba&&xa.hasOwnProperty(t)&&(t=xa[t]))}return wa[t]||t}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=Ca||(Ca=document.querySelector("base"))?Ca.getAttribute("href"):null;return null==t?null:(n=t,ka||(ka=document.createElement("a")),ka.setAttribute("href",n),"/"===ka.pathname.charAt(0)?ka.pathname:"/"+ka.pathname);var n}resetBaseElement(){Ca=null}getUserAgent(){return window.navigator.userAgent}setData(e,t,n){this.setAttribute(e,"data-"+t,n)}getData(e,t){return this.getAttribute(e,"data-"+t)}getComputedStyle(e){return getComputedStyle(e)}supportsWebAnimation(){return"function"==typeof Element.prototype.animate}performanceNow(){return window.performance&&window.performance.now?window.performance.now():(new Date).getTime()}supportsCookies(){return!0}getCookie(e){return function(e,t){t=encodeURIComponent(t);for(const n of e.split(";")){const e=n.indexOf("="),[r,o]=-1==e?[n,""]:[n.slice(0,e),n.slice(e+1)];if(r.trim()===t)return decodeURIComponent(o)}return null}(document.cookie,e)}setCookie(e,t){document.cookie=encodeURIComponent(e)+"="+encodeURIComponent(t)}}let ka,Ca=null;function Ta(){return!!window.history.pushState}const Ia=new pe("TRANSITION_ID"),Aa=[{provide:wo,useFactory:function(e,t,n){return()=>{n.get(xo).donePromise.then(()=>{const n=ma();Array.prototype.slice.apply(n.querySelectorAll(t,"style[ng-transition]")).filter(t=>n.getAttribute(t,"ng-transition")===e).forEach(e=>n.remove(e))})}},deps:[Ia,Ml,wt],multi:!0}];class Oa{static init(){var e;e=new Oa,oi=e}addToWindow(e){fe.getAngularTestability=(t,n=!0)=>{const r=e.findTestabilityInTree(t,n);if(null==r)throw new Error("Could not find testability for element.");return r},fe.getAllAngularTestabilities=()=>e.getAllTestabilities(),fe.getAllAngularRootElements=()=>e.getAllRootElements(),fe.frameworkStabilizers||(fe.frameworkStabilizers=[]),fe.frameworkStabilizers.push(e=>{const t=fe.getAllAngularTestabilities();let n=t.length,r=!1;const o=function(t){r=r||t,0==--n&&e(r)};t.forEach(function(e){e.whenStable(o)})})}findTestabilityInTree(e,t,n){if(null==t)return null;const r=e.getTestability(t);return null!=r?r:n?ma().isShadowRoot(t)?this.findTestabilityInTree(e,ma().getHost(t),!0):this.findTestabilityInTree(e,ma().parentElement(t),!0):null}}function Da(e,t){"undefined"!=typeof COMPILED&&COMPILED||((fe.ng=fe.ng||{})[e]=t)}const Pa=(()=>({ApplicationRef:fi,NgZone:Go}))();function Na(e){return _i(e)}const Fa=new pe("EventManagerPlugins");class Ma{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}`)}}class Ra{constructor(e){this._doc=e}addGlobalEventListener(e,t,n){const r=ma().getGlobalEventTarget(this._doc,e);if(!r)throw new Error(`Unsupported event target ${r} for event ${t}`);return this.addEventListener(r,t,n)}}class Va{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)}}class ja extends Va{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=>ma().remove(e))}}const La={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/"},za=/%COMP%/g,Ua="_nghost-%COMP%",Za="_ngcontent-%COMP%";function Ha(e,t,n){for(let r=0;r<t.length;r++){let o=t[r];Array.isArray(o)?Ha(e,o,n):(o=o.replace(za,e),n.push(o))}return n}function Ba(e){return t=>{!1===e(t)&&(t.preventDefault(),t.returnValue=!1)}}class Ka{constructor(e,t,n){this.eventManager=e,this.sharedStylesHost=t,this.appId=n,this.rendererByCompId=new Map,this.defaultRenderer=new qa(e)}createRenderer(e,t){if(!e||!t)return this.defaultRenderer;switch(t.encapsulation){case Pe.Emulated:{let n=this.rendererByCompId.get(t.id);return n||(n=new Xa(this.eventManager,this.sharedStylesHost,t,this.appId),this.rendererByCompId.set(t.id,n)),n.applyToHost(e),n}case Pe.Native:case Pe.ShadowDom:return new Wa(this.eventManager,this.sharedStylesHost,e,t);default:if(!this.rendererByCompId.has(t.id)){const e=Ha(t.id,t.styles,[]);this.sharedStylesHost.addStyles(e),this.rendererByCompId.set(t.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}class qa{constructor(e){this.eventManager=e,this.data=Object.create(null)}destroy(){}createElement(e,t){return t?document.createElementNS(La[t]||t,e):document.createElement(e)}createComment(e){return document.createComment(e)}createText(e){return document.createTextNode(e)}appendChild(e,t){e.appendChild(t)}insertBefore(e,t,n){e&&e.insertBefore(t,n)}removeChild(e,t){e&&e.removeChild(t)}selectRootElement(e,t){let n="string"==typeof e?document.querySelector(e):e;if(!n)throw new Error(`The selector "${e}" did not match any elements`);return t||(n.textContent=""),n}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,t,n,r){if(r){t=r+":"+t;const o=La[r];o?e.setAttributeNS(o,t,n):e.setAttribute(t,n)}else e.setAttribute(t,n)}removeAttribute(e,t,n){if(n){const r=La[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&Jt.DashCase?e.style.setProperty(t,n,r&Jt.Important?"important":""):e.style[t]=n}removeStyle(e,t,n){n&Jt.DashCase?e.style.removeProperty(t):e.style[t]=""}setProperty(e,t,n){$a(t,"property"),e[t]=n}setValue(e,t){e.nodeValue=t}listen(e,t,n){return $a(t,"listener"),"string"==typeof e?this.eventManager.addGlobalEventListener(e,t,Ba(n)):this.eventManager.addEventListener(e,t,Ba(n))}}const Ga=(()=>"@".charCodeAt(0))();function $a(e,t){if(e.charCodeAt(0)===Ga)throw new Error(`Found the synthetic ${t} ${e}. Please include either "BrowserAnimationsModule" or "NoopAnimationsModule" in your application.`)}class Xa extends qa{constructor(e,t,n,r){super(e),this.component=n;const o=Ha(r+"-"+n.id,n.styles,[]);t.addStyles(o),this.contentAttr=Za.replace(za,r+"-"+n.id),this.hostAttr=Ua.replace(za,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 Wa extends qa{constructor(e,t,n,r){super(e),this.sharedStylesHost=t,this.hostEl=n,this.component=r,this.shadowRoot=r.encapsulation===Pe.ShadowDom?n.attachShadow({mode:"open"}):n.createShadowRoot(),this.sharedStylesHost.addHost(this.shadowRoot);const o=Ha(r.id,r.styles,[]);for(let i=0;i<o.length;i++){const e=document.createElement("style");e.textContent=o[i],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)))}}const Qa=(()=>"undefined"!=typeof Zone&&Zone.__symbol__||function(e){return"__zone_symbol__"+e})(),Ja=Qa("addEventListener"),Ya=Qa("removeEventListener"),eu={},tu="FALSE",nu="ANGULAR",ru="addEventListener",ou="removeEventListener",iu="__zone_symbol__propagationStopped",su="__zone_symbol__stopImmediatePropagation",lu=(()=>{const e="undefined"!=typeof Zone&&Zone[Qa("BLACK_LISTED_EVENTS")];if(e){const t={};return e.forEach(e=>{t[e]=e}),t}})(),au=function(e){return!!lu&&lu.hasOwnProperty(e)},uu=function(e){const t=eu[e.type];if(!t)return;const n=this[t];if(!n)return;const r=[e];if(1===n.length){const e=n[0];return e.zone!==Zone.current?e.zone.run(e.handler,this,r):e.handler.apply(this,r)}{const t=n.slice();for(let n=0;n<t.length&&!0!==e[iu];n++){const e=t[n];e.zone!==Zone.current?e.zone.run(e.handler,this,r):e.handler.apply(this,r)}}};class cu extends Ra{constructor(e,t,n){super(e),this.ngZone=t,n&&function(e){return e===Rl}(n)||this.patchEvent()}patchEvent(){if("undefined"==typeof Event||!Event||!Event.prototype)return;if(Event.prototype[su])return;const e=Event.prototype[su]=Event.prototype.stopImmediatePropagation;Event.prototype.stopImmediatePropagation=function(){this&&(this[iu]=!0),e&&e.apply(this,arguments)}}supports(e){return!0}addEventListener(e,t,n){let r=n;if(!e[Ja]||Go.isInAngularZone()&&!au(t))e[ru](t,r,!1);else{let n=eu[t];n||(n=eu[t]=Qa(nu+t+tu));let o=e[n];const i=o&&o.length>0;o||(o=e[n]=[]);const s=au(t)?Zone.root:Zone.current;if(0===o.length)o.push({zone:s,handler:r});else{let e=!1;for(let t=0;t<o.length;t++)if(o[t].handler===r){e=!0;break}e||o.push({zone:s,handler:r})}i||e[Ja](t,uu,!1)}return()=>this.removeEventListener(e,t,r)}removeEventListener(e,t,n){let r=e[Ya];if(!r)return e[ou].apply(e,[t,n,!1]);let o=eu[t],i=o&&e[o];if(!i)return e[ou].apply(e,[t,n,!1]);let s=!1;for(let l=0;l<i.length;l++)if(i[l].handler===n){s=!0,i.splice(l,1);break}s?0===i.length&&r.apply(e,[t,uu,!1]):e[ou].apply(e,[t,n,!1])}}const du={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},hu=new pe("HammerGestureConfig"),fu=new pe("HammerLoader");class pu{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}}class gu extends Ra{constructor(e,t,n,r){super(e),this._config=t,this.console=n,this.loader=r}supports(e){return!(!du.hasOwnProperty(e.toLowerCase())&&!this.isCustomEvent(e)||!window.Hammer&&!this.loader&&(this.console.warn(`The "${e}" event cannot be bound because Hammer.JS is not `+"loaded and no custom loader has been specified."),1))}addEventListener(e,t,n){const r=this.manager.getZone();if(t=t.toLowerCase(),!window.Hammer&&this.loader){let r=!1,o=()=>{r=!0};return this.loader().then(()=>{if(!window.Hammer)return this.console.warn("The custom HAMMER_LOADER completed, but Hammer.JS is not present."),void(o=()=>{});r||(o=this.addEventListener(e,t,n))}).catch(()=>{this.console.warn(`The "${t}" event cannot be bound because the custom `+"Hammer.JS loader failed."),o=()=>{}}),()=>{o()}}return r.runOutsideAngular(()=>{const o=this._config.buildHammer(e),i=function(e){r.runGuarded(function(){n(e)})};return o.on(t,i),()=>{o.off(t,i),"function"==typeof o.destroy&&o.destroy()}})}isCustomEvent(e){return this._config.events.indexOf(e)>-1}}const mu=["alt","control","meta","shift"],vu={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};class yu extends Ra{constructor(e){super(e)}supports(e){return null!=yu.parseEventName(e)}addEventListener(e,t,n){const r=yu.parseEventName(t),o=yu.eventCallback(r.fullKey,n,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>ma().onAndCancel(e,r.domEventName,o))}static parseEventName(e){const t=e.toLowerCase().split("."),n=t.shift();if(0===t.length||"keydown"!==n&&"keyup"!==n)return null;const r=yu._normalizeKey(t.pop());let o="";if(mu.forEach(e=>{const n=t.indexOf(e);n>-1&&(t.splice(n,1),o+=e+".")}),o+=r,0!=t.length||0===r.length)return null;const i={};return i.domEventName=n,i.fullKey=o,i}static getEventFullKey(e){let t="",n=ma().getEventKey(e);return" "===(n=n.toLowerCase())?n="space":"."===n&&(n="dot"),mu.forEach(r=>{r!=n&&(0,vu[r])(e)&&(t+=r+".")}),t+=n}static eventCallback(e,t,n){return r=>{yu.getEventFullKey(r)===e&&n.runGuarded(()=>t(r))}}static _normalizeKey(e){switch(e){case"esc":return"escape";default:return e}}}class _u{}class bu extends _u{constructor(e){super(),this._doc=e}sanitize(e,t){if(null==t)return null;switch(e){case dt.NONE:return t;case dt.HTML:return t instanceof xu?t.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(t,"HTML"),function(e,t){let n=null;try{ut=ut||new Be(e);let r=t?String(t):"";n=ut.getInertBodyElement(r);let o=5,i=r;do{if(0===o)throw new Error("Failed to sanitize html because the input is unstable");o--,r=i,i=n.innerHTML,n=ut.getInertBodyElement(r)}while(r!==i);const s=new it,l=s.sanitizeChildren(ct(n)||n);return He()&&s.sanitizedSomething&&console.warn("WARNING: sanitizing HTML stripped some content, see http://g.co/ng/security#xss"),l}finally{if(n){const e=ct(n)||n;for(;e.firstChild;)e.removeChild(e.firstChild)}}}(this._doc,String(t)));case dt.STYLE:return t instanceof Eu?t.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(t,"Style"),function(e){if(!(e=String(e).trim()))return"";const t=e.match(pt);return t&&Ge(t[1])===t[1]||e.match(ft)&&function(e){let t=!0,n=!0;for(let r=0;r<e.length;r++){const o=e.charAt(r);"'"===o&&n?t=!t:'"'===o&&t&&(n=!n)}return t&&n}(e)?e:(He()&&console.warn(`WARNING: sanitizing unsafe style value ${e} (see http://g.co/ng/security#xss).`),"unsafe")}(t));case dt.SCRIPT:if(t instanceof Su)return t.changingThisBreaksApplicationSecurity;throw this.checkNotSafeValue(t,"Script"),new Error("unsafe value used in a script context");case dt.URL:return t instanceof Cu||t instanceof ku?t.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(t,"URL"),Ge(String(t)));case dt.RESOURCE_URL:if(t instanceof Cu)return t.changingThisBreaksApplicationSecurity;throw this.checkNotSafeValue(t,"ResourceURL"),new Error("unsafe value used in a resource URL context (see http://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${e} (see http://g.co/ng/security#xss)`)}}checkNotSafeValue(e,t){if(e instanceof wu)throw new Error(`Required a safe ${t}, got a ${e.getTypeName()} `+"(see http://g.co/ng/security#xss)")}bypassSecurityTrustHtml(e){return new xu(e)}bypassSecurityTrustStyle(e){return new Eu(e)}bypassSecurityTrustScript(e){return new Su(e)}bypassSecurityTrustUrl(e){return new ku(e)}bypassSecurityTrustResourceUrl(e){return new Cu(e)}}class wu{constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity}`+" (see http://g.co/ng/security#xss)"}}class xu extends wu{getTypeName(){return"HTML"}}class Eu extends wu{getTypeName(){return"Style"}}class Su extends wu{getTypeName(){return"Script"}}class ku extends wu{getTypeName(){return"URL"}}class Cu extends wu{getTypeName(){return"ResourceURL"}}const Tu=ui(wi,"browser",[{provide:To,useValue:"browser"},{provide:Co,useValue:function(){Sa.makeCurrent(),Oa.init()},multi:!0},{provide:nl,useClass:class extends nl{constructor(e){super(),this._doc=e,this._init()}_init(){this.location=ma().getLocation(),this._history=ma().getHistory()}getBaseHrefFromDOM(){return ma().getBaseHref(this._doc)}onPopState(e){ma().getGlobalEventTarget(this._doc,"window").addEventListener("popstate",e,!1)}onHashChange(e){ma().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){Ta()?this._history.pushState(e,t,n):this.location.hash=n}replaceState(e,t,n){Ta()?this._history.replaceState(e,t,n):this.location.hash=n}forward(){this._history.forward()}back(){this._history.back()}getState(){return this._history.state}},deps:[Ml]},{provide:Ml,useFactory:function(){return document},deps:[]}]);function Iu(){return new ze}class Au{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:Au,providers:[{provide:Eo,useValue:e.appId},{provide:Ia,useExisting:Eo},Aa]}}}"undefined"!=typeof window&&window;class Ou{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}}const Du=new pe("NgFormSelectorWarning");class Pu{}class Nu{static withConfig(e){return{ngModule:Nu,providers:[{provide:Du,useValue:e.warnOnDeprecatedNgFormSelector}]}}}var Fu=function(){function e(){}return e.forRoot=function(){return{ngModule:e,providers:[Ys]}},e}(),Mu=$s(Ws,[Js],function(e){return function(e){const t={},n=[];let r=!1;for(let o=0;o<e.length;o++){const i=e[o];i.token===_t&&!0===i.value&&(r=!0),1073741824&i.flags&&n.push(i.token),i.index=o,t[Rn(i.token)]=i}return{factory:null,providersByKey:t,providers:e,modules:n,isRoot:r}}([gr(512,Bt,Kt,[[8,[pa]],[3,Bt],Ie]),gr(5120,Oo,Si,[[3,Oo]]),gr(4608,vl,yl,[Oo,[2,ml]]),gr(5120,ao,ki,[Go]),gr(4608,Vo,Vo,[]),gr(5120,Eo,So,[]),gr(5120,pn,xi,[]),gr(5120,gn,Ei,[]),gr(4608,_u,bu,[Ml]),gr(6144,ht,null,[_u]),gr(4608,hu,pu,[]),gr(5120,Fa,function(e,t,n,r,o,i,s,l){return[new cu(e,t,n),new yu(r),new gu(o,i,s,l)]},[Ml,Go,To,Ml,Ml,hu,Ao,[2,fu]]),gr(4608,Ma,Ma,[Fa,Go]),gr(135680,ja,ja,[Ml]),gr(4608,Ka,Ka,[Ma,ja,Eo]),gr(6144,Qt,null,[Ka]),gr(6144,Va,null,[ja]),gr(4608,ei,ei,[Go]),gr(4608,Ou,Ou,[]),gr(4608,Ys,Ys,[]),gr(1073742336,Fl,Fl,[]),gr(1024,ze,Iu,[]),gr(1024,wo,function(e){return[(t=e,Da("probe",Na),Da("coreTokens",Object.assign({},Pa,(t||[]).reduce((e,t)=>(e[t.name]=t.token,e),{}))),()=>Na)];var t},[[2,ai]]),gr(512,xo,xo,[[2,wo]]),gr(131584,fi,fi,[Go,Ao,wt,ze,Bt,xo]),gr(1073742336,Ci,Ci,[fi]),gr(1073742336,Au,Au,[[3,Au]]),gr(1073742336,Hl,Hl,[]),gr(1073742336,Fu,Fu,[]),gr(1073742336,Pu,Pu,[]),gr(1073742336,Nu,Nu,[]),gr(1073742336,Ws,Ws,[]),gr(256,_t,!0,[])])});(function(){if(Ze)throw new Error("Cannot enable prod mode after platform setup.");Ue=!1})(),Tu().bootstrapModuleFactory(Mu)},zlqh:function(e,t,n){var r=n("9dxi")("iterator"),o=!1;try{var i=[7][r]();i.return=function(){o=!0},Array.from(i,function(){throw 2})}catch(s){}e.exports=function(e,t){if(!t&&!o)return!1;var n=!1;try{var i=[7],l=i[r]();l.next=function(){return{done:n=!0}},i[r]=function(){return l},e(i)}catch(s){}return n}},zsc7:function(e,t,n){var r=n("X6VK"),o=n("xI3J"),i=Math.abs;r(r.S,"Number",{isSafeInteger:function(e){return o(e)&&i(e)<=9007199254740991}})},zx98:function(e,t,n){"use strict";var r=n("XQta"),o=n("SsG5");e.exports=n("AkS8")("Map",function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}},{get:function(e){var t=r.getEntry(o(this,"Map"),e);return t&&t.v},set:function(e,t){return r.def(o(this,"Map"),0===e?0:e,t)}},r,!0)}},[[0,0]]]); |