From 3c7c0143935515b62429a6bff98828f52c596fa6 Mon Sep 17 00:00:00 2001 From: york yao Date: Thu, 11 Jan 2018 22:33:22 +0800 Subject: [PATCH] feat: update to typescript 2.6 and angular 5.2 --- clean-scripts.config.js | 2 +- file-size.json | 6 +- package.json | 16 +- ...bundle-81e31217846963ad46181a76f8cd14ef.js | 1 + ...bundle-c9021c82d44c5e515b05f0be10eee869.js | 1 - packages/angular/demo/aot/index.html | 2 +- ...bundle-b14d66f25077304ddd26ae2ecccdbd84.js | 1 - ...bundle-c45cf9c957ba97bd3fc4a9d22cc658cf.js | 1 + packages/angular/demo/jit/index.html | 2 +- packages/angular/package.json | 6 +- packages/angular/yarn.lock | 30 +-- packages/core/yarn.lock | 4 +- packages/react/yarn.lock | 4 +- packages/vue/package.json | 6 - packages/vue/yarn.lock | 4 - yarn.lock | 210 +++++++++--------- 16 files changed, 148 insertions(+), 148 deletions(-) create mode 100644 packages/angular/demo/aot/index.bundle-81e31217846963ad46181a76f8cd14ef.js delete mode 100644 packages/angular/demo/aot/index.bundle-c9021c82d44c5e515b05f0be10eee869.js delete mode 100644 packages/angular/demo/jit/index.bundle-b14d66f25077304ddd26ae2ecccdbd84.js create mode 100644 packages/angular/demo/jit/index.bundle-c45cf9c957ba97bd3fc4a9d22cc658cf.js diff --git a/clean-scripts.config.js b/clean-scripts.config.js index bcee42a..b31c9d2 100644 --- a/clean-scripts.config.js +++ b/clean-scripts.config.js @@ -10,7 +10,7 @@ const vueTemplateCommand = `file2variable-cli --config packages/vue/src/file2var const angularTemplateCommand = `file2variable-cli packages/angular/src/*.template.html -o packages/angular/src/variables.ts --html-minify --base packages/angular/src` const ngcSrcCommand = [ `ngc -p packages/core/src`, - `cd ./packages/vue/ && npm run tsc`, + `tsc -p packages/vue/src`, `tsc -p packages/react/src`, `ngc -p packages/angular/src` ] diff --git a/file-size.json b/file-size.json index be4e087..b153f73 100644 --- a/file-size.json +++ b/file-size.json @@ -1,11 +1,11 @@ { - "angularDemoAotIndexBundleJs": "442 kB 116 kB", - "angularDemoJitIndexBundleJs": "814 kB 208 kB", + "angularDemoAotIndexBundleJs": "443 kB 117 kB", + "angularDemoJitIndexBundleJs": "817 kB 210 kB", "coreDemoIndexBundleCss": "39 kB 9.19 kB", "coreDemoTreeIconPng": "636 B 647 B", "reactDemoIndexBundleJs": "119 kB 36.2 kB", "vueDemoIndexBundleJs": "113 kB 38.3 kB", - "packagesAngularDemoAotIndexHtml": "855 B 564 B", + "packagesAngularDemoAotIndexHtml": "855 B 570 B", "packagesAngularDemoJitIndexHtml": "855 B 566 B", "packagesReactDemoIndexHtml": "867 B 573 B", "packagesVueDemoIndexHtml": "867 B 575 B" diff --git a/package.json b/package.json index 42ac04d..3fece72 100644 --- a/package.json +++ b/package.json @@ -22,10 +22,10 @@ }, "homepage": "https://github.com/plantain-00/tree-component#readme", "devDependencies": { - "@angular/compiler": "5.1.3", - "@angular/compiler-cli": "5.1.3", - "@angular/core": "5.1.3", - "@commitlint/cli": "5.2.8", + "@angular/compiler": "5.2.0", + "@angular/compiler-cli": "5.2.0", + "@angular/core": "5.2.0", + "@commitlint/cli": "6.0.1", "@commitlint/config-angular": "5.1.1", "@types/jasmine": "2.8.3", "@types/puppeteer": "0.13.9", @@ -34,7 +34,7 @@ "clean-scripts": "1.7.0", "file2variable-cli": "1.8.1", "github-fork-ribbon-css": "0.2.1", - "http-server": "0.10.0", + "http-server": "0.11.1", "image2base64-cli": "2.2.0", "jasmine": "2.8.0", "karma": "2.0.0", @@ -42,7 +42,7 @@ "karma-firefox-launcher": "1.1.0", "karma-jasmine": "1.1.1", "karma-webpack": "2.0.9", - "lerna": "^2.5.1", + "lerna": "2.6.0", "less": "2.7.3", "markdownlint-cli": "0.6.0", "no-unused-export": "1.4.5", @@ -53,8 +53,8 @@ "standard": "10.0.3", "stylelint": "8.4.0", "stylelint-config-standard": "18.0.0", - "tslint": "5.8.0", - "typescript": "2.4.2", + "tslint": "5.9.1", + "typescript": "2.6.2", "watch-then-execute": "1.1.1", "webpack": "3.10.0" }, diff --git a/packages/angular/demo/aot/index.bundle-81e31217846963ad46181a76f8cd14ef.js b/packages/angular/demo/aot/index.bundle-81e31217846963ad46181a76f8cd14ef.js new file mode 100644 index 0000000..b0d4b3b --- /dev/null +++ b/packages/angular/demo/aot/index.bundle-81e31217846963ad46181a76f8cd14ef.js @@ -0,0 +1 @@ +!function(t){function e(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,e),o.l=!0,o.exports}var n={};e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=135)}([function(t,e,n){var r=n(4),o=n(28),i=n(13),a=n(11),s=n(22),u=function(t,e,n){var c,l,f,p,h=t&u.F,d=t&u.G,y=t&u.S,g=t&u.P,v=t&u.B,m=d?r:y?r[e]||(r[e]={}):(r[e]||{}).prototype,b=d?o:o[e]||(o[e]={}),_=b.prototype||(b.prototype={});d&&(n=e);for(c in n)l=!h&&m&&void 0!==m[c],f=(l?m:n)[c],p=v&&l?s(f,r):g&&"function"==typeof f?s(Function.call,f):f,m&&a(m,c,f,t&u.U),b[c]!=f&&i(b,c,p),g&&_[c]!=f&&(_[c]=f)};r.core=o,u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,t.exports=u},function(t,e,n){var r=n(3);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(t,e,n){var r=n(50)("wks"),o=n(33),i=n(4).Symbol,a="function"==typeof i;(t.exports=function(t){return r[t]||(r[t]=a&&i[t]||(a?i:o)("Symbol."+t))}).store=r},function(t,e,n){var r=n(1),o=n(90),i=n(29),a=Object.defineProperty;e.f=n(7)?Object.defineProperty:function(t,e,n){if(r(t),e=i(e,!0),r(n),o)try{return a(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},function(t,e,n){t.exports=!n(2)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,e,n){var r=n(24),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},function(t,e,n){var r=n(0),o=n(2),i=n(31),a=/"/g,s=function(t,e,n,r){var o=String(i(t)),s="<"+e;return""!==n&&(s+=" "+n+'="'+String(r).replace(a,""")+'"'),s+">"+o+""};t.exports=function(t,e){var n={};n[t]=e(s),r(r.P+r.F*o(function(){var e=""[t]('"');return e!==e.toLowerCase()||e.split('"').length>3}),"String",n)}},function(t,e,n){var r=n(4),o=n(13),i=n(9),a=n(33)("src"),s=Function.toString,u=(""+s).split("toString");n(28).inspectSource=function(t){return s.call(t)},(t.exports=function(t,e,n,s){var c="function"==typeof n;c&&(i(n,"name")||o(n,"name",e)),t[e]!==n&&(c&&(i(n,a)||o(n,a,t[e]?""+t[e]:u.join(String(e)))),t===r?t[e]=n:s?t[e]?t[e]=n:o(t,e,n):(delete t[e],o(t,e,n)))})(Function.prototype,"toString",function(){return"function"==typeof this&&this[a]||s.call(this)})},function(t,e,n){var r=n(31);t.exports=function(t){return Object(r(t))}},function(t,e,n){var r=n(6),o=n(32);t.exports=n(7)?function(t,e,n){return r.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e,n){"use strict";var r=n(2);t.exports=function(t,e){return!!t&&r(function(){e?t.call(null,function(){},1):t.call(null)})}},function(t,e,n){"use strict";(function(t){function r(t,e,n,r){function i(t){if(this instanceof i)return a.call(this,t),this;var e=new i(t),n=function(t){return(t.hasOwnProperty(_o)?t[_o]:Object.defineProperty(t,_o,{value:[]})[_o]).push(e),t};return r&&r(n),n}var a=o(e);return n&&(i.prototype=Object.create(n.prototype)),i.prototype.ngMetadataName=t,i.annotationCls=i,i}function o(t){return function(){for(var e=[],n=0;n ");else if("object"==typeof e){var o=[];for(var i in e)if(e.hasOwnProperty(i)){var a=e[i];o.push(i+":"+("string"==typeof a?JSON.stringify(a):l(a)))}r="{"+o.join(", ")+"}"}return"StaticInjectorError"+(n?"("+n+")":"")+"["+r+"]: "+t.replace(li,"\n ")}function _(t,e){return new Error(b(t,e))}function w(t){return t[hi]}function C(t){return t[di]}function O(t){return t[yi]||E}function E(t){for(var e=[],n=1;n-1)return e.push(t[n]),e;e.push(t[n])}return e}function S(t){if(t.length>1){return" ("+x(t.slice().reverse()).map(function(t){return l(t.token)}).join(" -> ")+")"}return""}function P(t,e,n,r){var o=[e],i=n(o),a=r?k(i,r):Error(i);return a.addKey=T,a.keys=o,a.injectors=[t],a.constructResolvingMessage=n,a[di]=r,a}function T(t,e){this.injectors.push(t),this.keys.push(e),this.message=this.constructResolvingMessage(this.keys)}function M(t,e){return P(t,e,function(t){return"No provider for "+l(t[0].token)+"!"+S(t)})}function A(t,e){return P(t,e,function(t){return"Cannot instantiate cyclic dependency!"+S(t)})}function j(t,e,n,r){return P(t,r,function(t){var n=l(t[0].token);return e.message+": Error during instantiation of "+n+"!"+S(t)+"."},e)}function D(t){return Error("Invalid provider - only instances of Provider and Type are allowed, got: "+t)}function N(t,e){for(var n=[],r=0,o=e.length;r-1&&t.splice(n,1)}function wt(t){return t.reduce(function(t,e){var n=Array.isArray(e)?wt(e):e;return t.concat(n)},[])}function Ct(t,e,n){if(!t)throw new Error("Cannot find '"+n+"' in '"+e+"'");return t}function Ot(t,e,n){t.childNodes.forEach(function(t){t instanceof Pa&&(e(t)&&n.push(t),Ot(t,e,n))})}function Et(t,e,n){t instanceof Pa&&t.childNodes.forEach(function(t){e(t)&&n.push(t),t instanceof Pa&&Et(t,e,n)})}function kt(t){return Ta.get(t)||null}function xt(t){Ta.set(t.nativeNode,t)}function St(t){Ta.delete(t.nativeNode)}function Pt(t,e){var n=Tt(t),r=Tt(e);if(n&&r)return Mt(t,e,Pt);var o=t&&("object"==typeof t||"function"==typeof t),i=e&&("object"==typeof e||"function"==typeof e);return!(n||!o||r||!i)||c(t,e)}function Tt(t){return!!jt(t)&&(Array.isArray(t)||!(t instanceof Map)&&s()in t)}function Mt(t,e,n){for(var r=t[s()](),o=e[s()]();;){var i=r.next(),a=o.next();if(i.done&&a.done)return!0;if(i.done||a.done)return!1;if(!n(i.value,a.value))return!1}}function At(t,e){if(Array.isArray(t))for(var n=0;n0&&je(t,e,0,n)&&(h=!0),p>1&&je(t,e,1,r)&&(h=!0),p>2&&je(t,e,2,o)&&(h=!0),p>3&&je(t,e,3,i)&&(h=!0),p>4&&je(t,e,4,a)&&(h=!0),p>5&&je(t,e,5,s)&&(h=!0),p>6&&je(t,e,6,u)&&(h=!0),p>7&&je(t,e,7,c)&&(h=!0),p>8&&je(t,e,8,l)&&(h=!0),p>9&&je(t,e,9,f)&&(h=!0),h}function Ae(t,e,n){for(var r=!1,o=0;o0?o[n-1]:null,r)}function We(t,e){var n=ae(e);if(n&&n!==t&&!(16&e.state)){e.state|=16;var r=n.template._projectedViews;r||(r=n.template._projectedViews=[]),r.push(e),qe(e.parent.def,e.parentNodeDef)}}function qe(t,e){if(!(4&e.flags)){t.nodeFlags|=4,e.flags|=4;for(var n=e.parent;n;)n.childFlags|=4,n=n.parent}}function $e(t,e){var n=t.viewContainer._embeddedViews;if((null==e||e>=n.length)&&(e=n.length-1),e<0)return null;var r=n[e];return r.viewContainerParent=null,tn(n,e),ts.dirtyParentQueries(r),Je(r),r}function Ke(t){if(16&t.state){var e=ae(t);if(e){var n=e.template._projectedViews;n&&(tn(n,n.indexOf(t)),ts.dirtyParentQueries(t))}}}function Qe(t,e,n){var r=t.viewContainer._embeddedViews,o=r[e];return tn(r,e),null==n&&(n=r.length),Xe(r,n,o),ts.dirtyParentQueries(o),Je(o),Ye(t,n>0?r[n-1]:null,o),o}function Ye(t,e,n){var r=e?ue(e,e.def.lastRenderRootNode):t.renderElement;me(n,2,n.renderer.parentNode(r),n.renderer.nextSibling(r),void 0)}function Je(t){me(t,3,null,null,void 0)}function Xe(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function tn(t,e){e>=t.length-1?t.pop():t.splice(e,1)}function en(t,e,n,r,o,i){return new ps(t,e,n,r,o,i)}function nn(t){return t.viewDefFactory}function rn(t,e,n){return new ds(t,e,n)}function on(t){return new ys(t)}function an(t,e){return new gs(t,e)}function sn(t,e){return new vs(t,e)}function un(t){return new ms(t.renderer)}function cn(t,e,n,r){return new bs(t,e,n,r)}function ln(t,e,n,r,o,i,a,s){var u=[];if(a)for(var c in a){var l=a[c],f=l[0],p=l[1];u[f]={flags:8,name:c,nonMinifiedName:p,ns:null,securityContext:null,suffix:null}}var h=[];if(s)for(var d in s)h.push({type:1,propName:d,target:null,eventName:s[d]});return e|=16384,fn(t,e,n,r,o,o,i,u,h)}function fn(t,e,n,r,o,i,a,s,u){var c=he(n),f=c.matchedQueries,h=c.references,d=c.matchedQueryIds;u||(u=[]),s||(s=[]),i=p(i);var y=de(a,l(o));return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:t,flags:e,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:f,matchedQueryIds:d,references:h,ngContentIndex:-1,childCount:r,bindings:s,bindingFlags:Ee(s),outputs:u,element:null,provider:{token:o,value:i,deps:y},text:null,query:null,ngContent:null}}function pn(t,e){return mn(t,e)}function hn(t,e){for(var n=t;n.parent&&!le(n);)n=n.parent;return bn(n.parent,se(n),!0,e.provider.value,e.provider.deps)}function dn(t,e){var n=(32768&e.flags)>0,r=bn(t,e.parent,n,e.provider.value,e.provider.deps);if(e.outputs.length)for(var o=0;o0&&te(t,e,0,n)&&(d=!0,y=On(t,p,e,0,n,y)),g>1&&te(t,e,1,r)&&(d=!0,y=On(t,p,e,1,r,y)),g>2&&te(t,e,2,o)&&(d=!0,y=On(t,p,e,2,o,y)),g>3&&te(t,e,3,i)&&(d=!0,y=On(t,p,e,3,i,y)),g>4&&te(t,e,4,a)&&(d=!0,y=On(t,p,e,4,a,y)),g>5&&te(t,e,5,s)&&(d=!0,y=On(t,p,e,5,s,y)),g>6&&te(t,e,6,u)&&(d=!0,y=On(t,p,e,6,u,y)),g>7&&te(t,e,7,c)&&(d=!0,y=On(t,p,e,7,c,y)),g>8&&te(t,e,8,l)&&(d=!0,y=On(t,p,e,8,l,y)),g>9&&te(t,e,9,f)&&(d=!0,y=On(t,p,e,9,f,y)),y&&h.ngOnChanges(y),65536&e.flags&&Lt(t,256,e.nodeIndex)&&h.ngOnInit(),262144&e.flags&&h.ngDoCheck(),d}function vn(t,e,n){for(var r=Bt(t,e.nodeIndex),o=r.instance,i=!1,a=void 0,s=0;s0,r=e.provider;switch(201347067&e.flags){case 512:return bn(t,e.parent,n,r.value,r.deps);case 1024:return _n(t,e.parent,n,r.value,r.deps);case 2048:return wn(t,e.parent,n,r.deps[0]);case 256:return r.value}}function bn(t,e,n,r,o){var i=o.length;switch(i){case 0:return new r;case 1:return new r(wn(t,e,n,o[0]));case 2:return new r(wn(t,e,n,o[0]),wn(t,e,n,o[1]));case 3:return new r(wn(t,e,n,o[0]),wn(t,e,n,o[1]),wn(t,e,n,o[2]));default:for(var a=new Array(i),s=0;s0&&ee(t,e,0,n)&&(h=!0),d>1&&ee(t,e,1,r)&&(h=!0),d>2&&ee(t,e,2,o)&&(h=!0),d>3&&ee(t,e,3,i)&&(h=!0),d>4&&ee(t,e,4,a)&&(h=!0),d>5&&ee(t,e,5,s)&&(h=!0),d>6&&ee(t,e,6,u)&&(h=!0),d>7&&ee(t,e,7,c)&&(h=!0),d>8&&ee(t,e,8,l)&&(h=!0),d>9&&ee(t,e,9,f)&&(h=!0),h){var y=Gt(t,e.nodeIndex),g=void 0;switch(201347067&e.flags){case 32:g=new Array(p.length),d>0&&(g[0]=n),d>1&&(g[1]=r),d>2&&(g[2]=o),d>3&&(g[3]=i),d>4&&(g[4]=a),d>5&&(g[5]=s),d>6&&(g[6]=u),d>7&&(g[7]=c),d>8&&(g[8]=l),d>9&&(g[9]=f);break;case 64:g={},d>0&&(g[p[0].name]=n),d>1&&(g[p[1].name]=r),d>2&&(g[p[2].name]=o),d>3&&(g[p[3].name]=i),d>4&&(g[p[4].name]=a),d>5&&(g[p[5].name]=s),d>6&&(g[p[6].name]=u),d>7&&(g[p[7].name]=c),d>8&&(g[p[8].name]=l),d>9&&(g[p[9].name]=f);break;case 128:var v=n;switch(d){case 1:g=v.transform(n);break;case 2:g=v.transform(r);break;case 3:g=v.transform(r,o);break;case 4:g=v.transform(r,o,i);break;case 5:g=v.transform(r,o,i,a);break;case 6:g=v.transform(r,o,i,a,s);break;case 7:g=v.transform(r,o,i,a,s,u);break;case 8:g=v.transform(r,o,i,a,s,u,c);break;case 9:g=v.transform(r,o,i,a,s,u,c,l);break;case 10:g=v.transform(r,o,i,a,s,u,c,l,f)}}y.value=g}return h}function Fn(t,e,n){for(var r=e.bindings,o=!1,i=0;i0&&ee(t,e,0,n)&&(p=!0),d>1&&ee(t,e,1,r)&&(p=!0),d>2&&ee(t,e,2,o)&&(p=!0),d>3&&ee(t,e,3,i)&&(p=!0),d>4&&ee(t,e,4,a)&&(p=!0),d>5&&ee(t,e,5,s)&&(p=!0),d>6&&ee(t,e,6,u)&&(p=!0),d>7&&ee(t,e,7,c)&&(p=!0),d>8&&ee(t,e,8,l)&&(p=!0),d>9&&ee(t,e,9,f)&&(p=!0),p){var y=e.text.prefix;d>0&&(y+=Bn(n,h[0])),d>1&&(y+=Bn(r,h[1])),d>2&&(y+=Bn(o,h[2])),d>3&&(y+=Bn(i,h[3])),d>4&&(y+=Bn(a,h[4])),d>5&&(y+=Bn(s,h[5])),d>6&&(y+=Bn(u,h[6])),d>7&&(y+=Bn(c,h[7])),d>8&&(y+=Bn(l,h[8])),d>9&&(y+=Bn(f,h[9]));var g=zt(t,e.nodeIndex).renderText;t.renderer.setValue(g,y)}return p}function Hn(t,e,n){for(var r=e.bindings,o=!1,i=0;i0)c=y,Un(y)||(l=y);else for(;c&&d===c.nodeIndex+c.childCount;){var b=c.parent;b&&(b.childFlags|=c.childFlags,b.childMatchedQueries|=c.childMatchedQueries),c=b,l=c&&Un(c)?c.renderParent:c}}var _=function(t,n,r,o){return e[n].element.handleEvent(t,r,o)};return{factory:null,nodeFlags:a,rootNodeFlags:s,nodeMatchedQueries:u,flags:t,nodes:e,updateDirectives:n||es,updateRenderer:r||es,handleEvent:_,bindingCount:o,outputCount:i,lastRenderRootNode:h}}function Un(t){return 0!=(1&t.flags)&&null===t.element.name}function Zn(t,e,n){var r=e.element&&e.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 "+e.nodeIndex+"!")}if(20224&e.flags){if(0==(1&(t?t.flags:0)))throw new Error("Illegal State: StaticProvider/Directive nodes need to be children of elements or anchors, at index "+e.nodeIndex+"!")}if(e.query){if(67108864&e.flags&&(!t||0==(16384&t.flags)))throw new Error("Illegal State: Content Query nodes need to be children of directives, at index "+e.nodeIndex+"!");if(134217728&e.flags&&t)throw new Error("Illegal State: View Query nodes have to be top level nodes, at index "+e.nodeIndex+"!")}if(e.childCount){var o=t?t.nodeIndex+t.childCount:n-1;if(e.nodeIndex<=o&&e.nodeIndex+e.childCount>o)throw new Error("Illegal State: childCount of node leads outside of parent, at index "+e.nodeIndex+"!")}}function Wn(t,e,n,r){var o=Kn(t.root,t.renderer,t,e,n);return Qn(o,t.component,r),Yn(o),o}function qn(t,e,n){var r=Kn(t,t.renderer,null,null,e);return Qn(r,n,n),Yn(r),r}function $n(t,e,n,r){var o,i=e.element.componentRendererType;return o=i?t.root.rendererFactory.createRenderer(r,i):t.root.renderer,Kn(t.root,o,t,e.element.componentProvider,n)}function Kn(t,e,n,r,o){var i=new Array(o.nodes.length),a=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:t,renderer:e,oldValues:new Array(o.bindingCount),disposables:a,initIndex:-1}}function Qn(t,e,n){t.component=e,t.context=n}function Yn(t){var e;if(le(t)){var n=t.parentNodeDef;e=Ht(t.parent,n.parent.nodeIndex).renderElement}for(var r=t.def,o=t.nodes,i=0;i0&&ne(t,e,0,n),p>1&&ne(t,e,1,r),p>2&&ne(t,e,2,o),p>3&&ne(t,e,3,i),p>4&&ne(t,e,4,a),p>5&&ne(t,e,5,s),p>6&&ne(t,e,6,u),p>7&&ne(t,e,7,c),p>8&&ne(t,e,8,l),p>9&&ne(t,e,9,f)}function ar(t,e,n){for(var r=0;r")}function to(t,e){eo(t,null,e)}function eo(t,e,n){t==e&&no(t,e,n,"!=")}function no(t,e,n,r,o){throw void 0===o&&(o=Yr),new Error("ASSERT: expected "+n+" "+r+" "+o(e)+" but was "+o(t)+"!")}function ro(t,e,n){if(null!==e&&3==(3&t.flags)&&(t.view!==n||null===t.data)){var r=n.renderer;return r.listen?r.appendChild(t.native,e):t.native.appendChild(e),!0}return!1}function oo(t){return"function"==typeof t?t.name||t:"string"==typeof t?t:null==t?"":""+t}function io(t,e,n){return{parent:Ws,id:t,node:null,data:[],ngStaticData:n,cleanup:null,renderer:e,child:null,tail:null,next:null,bindingStartIndex:null,creationMode:!0,viewHookStartIndex:null}}function ao(t,e,n,r){var o=Us?Gs:Gs&&Gs.parent,i=(Us?$s:Gs&&Gs.query)||o&&o.query&&o.query.child(),a=null!=r,s={flags:e,native:n,view:Ws,parent:o,child:null,next:null,nodeInjector:o?o.nodeInjector:null,data:a?r:null,query:i,staticData:null};return 2==(2&e)&&a&&(ngDevMode&&Jr(r.node,null,"viewState.node"),r.node=s),null!=t&&(ngDevMode&&Jr(Ks.length,t,"data.length not in sequence"),Ks[t]=s,t>=Zs.length?Zs[t]=null:s.staticData=Zs[t],Us?($s=null,Gs.view!==Ws&&2!=(3&Gs.flags)||(ngDevMode&&Jr(Gs.child,null,"previousNode.child"),Gs.child=s)):Gs&&(ngDevMode&&Jr(Gs.next,null,"previousNode.next"),Gs.next=s)),Gs=s,Us=!0,s}function so(){Us=!1,Gs=null}function uo(t){return t.ngStaticData||(t.ngStaticData=[])}function co(t,e,n){var r=((4092&Gs.flags)>>2)-1,o=n.initialInputs;(void 0===o||r>=o.length)&&(o=lo(r,e,n));var i=o[r];if(i)for(var a=0;a=this._providers.length)throw I(t);return this._providers[t]},t.prototype._new=function(t){if(this._constructionCounter++>this._getMaxNumberOfObjects())throw A(this,t.key);return this._instantiateProvider(t)},t.prototype._getMaxNumberOfObjects=function(){return this.objs.length},t.prototype._instantiateProvider=function(t){if(t.multiProvider){for(var e=new Array(t.resolvedFactories.length),n=0;n0)t._bootstrapComponents.forEach(function(t){return e.bootstrap(t)});else{if(!t.instance.ngDoBootstrap)throw new Error("The module "+l(t.instance.constructor)+' was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.');t.instance.ngDoBootstrap(e)}this._modules.push(t)},t.prototype.onDestroy=function(t){this._destroyListeners.push(t)},Object.defineProperty(t.prototype,"injector",{get:function(){return this._injector},enumerable:!0,configurable:!0}),t.prototype.destroy=function(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(function(t){return t.destroy()}),this._destroyListeners.forEach(function(t){return t()}),this._destroyed=!0},Object.defineProperty(t.prototype,"destroyed",{get:function(){return this._destroyed},enumerable:!0,configurable:!0}),t.decorators=[{type:Ho}],t.ctorParameters=function(){return[{type:ti}]},t}(),ha=function(){function t(t,e,n,r,o,i){var a=this;this._zone=t,this._console=e,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=pt(),this._zone.onMicrotaskEmpty.subscribe({next:function(){a._zone.run(function(){a.tick()})}});var s=new yo.Observable(function(t){a._stable=a._zone.isStable&&!a._zone.hasPendingMacrotasks&&!a._zone.hasPendingMicrotasks,a._zone.runOutsideAngular(function(){t.next(a._stable),t.complete()})}),c=new yo.Observable(function(t){var e;a._zone.runOutsideAngular(function(){e=a._zone.onStable.subscribe(function(){ea.assertNotInAngularZone(),u(function(){a._stable||a._zone.hasPendingMacrotasks||a._zone.hasPendingMicrotasks||(a._stable=!0,t.next(!0))})})});var n=a._zone.onUnstable.subscribe(function(){ea.assertInAngularZone(),a._stable&&(a._stable=!1,a._zone.runOutsideAngular(function(){t.next(!1)}))});return function(){e.unsubscribe(),n.unsubscribe()}});this.isStable=Object(go.merge)(s,vo.share.call(c))}return t.prototype.bootstrap=function(t,e){var n=this;if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.");var r;r=t instanceof Gi?t:this._componentFactoryResolver.resolveComponentFactory(t),this.componentTypes.push(r.componentType);var o=r instanceof $i?null:this._injector.get(Ki),i=e||r.selector,a=r.create(ti.NULL,[],i,o);a.onDestroy(function(){n._unloadComponent(a)});var s=a.injector.get(oa,null);return s&&a.injector.get(ia).registerApplication(a.location.nativeElement,s),this._loadComponent(a),pt()&&this._console.log("Angular is running in the development mode. Call enableProdMode() to enable the production mode."),a},t.prototype.tick=function(){var e=this;if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");var n=t._tickScope();try{this._runningTick=!0,this._views.forEach(function(t){return t.detectChanges()}),this._enforceNoNewChanges&&this._views.forEach(function(t){return t.checkNoChanges()})}catch(t){this._zone.runOutsideAngular(function(){return e._exceptionHandler.handleError(t)})}finally{this._runningTick=!1,Xi(n)}},t.prototype.attachView=function(t){var e=t;this._views.push(e),e.attachToAppRef(this)},t.prototype.detachView=function(t){var e=t;_t(this._views,e),e.detachFromAppRef()},t.prototype._loadComponent=function(t){this.attachView(t.hostView),this.tick(),this.components.push(t),this._injector.get(Ri,[]).concat(this._bootstrapListeners).forEach(function(e){return e(t)})},t.prototype._unloadComponent=function(t){this.detachView(t.hostView),_t(this.components,t)},t.prototype.ngOnDestroy=function(){this._views.slice().forEach(function(t){return t.destroy()})},Object.defineProperty(t.prototype,"viewCount",{get:function(){return this._views.length},enumerable:!0,configurable:!0}),t._tickScope=Ji("ApplicationRef#tick()"),t.decorators=[{type:Ho}],t.ctorParameters=function(){return[{type:ea},{type:Li},{type:ti},{type:gi},{type:Wi},{type:Di}]},t}(),da=(function(){function t(t,e,n,r,o,i){this.id=t,this.templateUrl=e,this.slotCount=n,this.encapsulation=r,this.styles=o,this.animations=i}}(),function(){function t(){}}(),function(){function t(){}return t}()),ya=(new bo("Renderer2Interceptor"),function(){function t(){}}(),function(){function t(){}return t}()),ga={Important:1,DashCase:2};ga[ga.Important]="Important",ga[ga.DashCase]="DashCase";var va=function(){function t(){}return t}(),ma=function(){function t(t){this.nativeElement=t}return t}(),ba=(function(){function t(){}}(),new Map,function(){function t(){this.dirty=!0,this._results=[],this.changes=new ta}return t.prototype.map=function(t){return this._results.map(t)},t.prototype.filter=function(t){return this._results.filter(t)},t.prototype.find=function(t){return this._results.find(t)},t.prototype.reduce=function(t,e){return this._results.reduce(t,e)},t.prototype.forEach=function(t){this._results.forEach(t)},t.prototype.some=function(t){return this._results.some(t)},t.prototype.toArray=function(){return this._results.slice()},t.prototype[s()]=function(){return this._results[s()]()},t.prototype.toString=function(){return this._results.toString()},t.prototype.reset=function(t){this._results=wt(t),this.dirty=!1,this.length=this._results.length,this.last=this._results[this.length-1],this.first=this._results[0]},t.prototype.notifyOnChanges=function(){this.changes.emit(this)},t.prototype.setDirty=function(){this.dirty=!0},t.prototype.destroy=function(){this.changes.complete(),this.changes.unsubscribe()},t}()),_a=function(){function t(){}return t}(),wa={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"},Ca=(function(){function t(t,e){this._compiler=t,this._config=e||wa}t.prototype.load=function(t){return this._compiler instanceof zi?this.loadFactory(t):this.loadAndCompile(t)},t.prototype.loadAndCompile=function(t){var e=this,r=t.split("#"),o=r[0],i=r[1];return void 0===i&&(i="default"),n(132)(o).then(function(t){return t[i]}).then(function(t){return Ct(t,o,i)}).then(function(t){return e._compiler.compileModuleAsync(t)})},t.prototype.loadFactory=function(t){var e=t.split("#"),r=e[0],o=e[1],i="NgFactory";return void 0===o&&(o="default",i=""),n(132)(this._config.factoryPathPrefix+r+this._config.factoryPathSuffix).then(function(t){return t[o+i]}).then(function(t){return Ct(t,r,o)})},t.decorators=[{type:Ho}],t.ctorParameters=function(){return[{type:zi},{type:_a,decorators:[{type:zo}]}]}}(),function(){function t(){}return t}()),Oa=function(){function t(){}return t}(),Ea=function(){function t(){}return t}(),ka=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(ho.b)(e,t),e}(Ea),xa=(function(t){function e(){return null!==t&&t.apply(this,arguments)||this}Object(ho.b)(e,t)}(ka),function(){function t(t,e){this.name=t,this.callback=e}return t}()),Sa=function(){function t(t,e,n){this._debugContext=n,this.nativeNode=t,e&&e instanceof Pa?e.addChild(this):this.parent=null,this.listeners=[]}return Object.defineProperty(t.prototype,"injector",{get:function(){return this._debugContext.injector},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"componentInstance",{get:function(){return this._debugContext.component},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"context",{get:function(){return this._debugContext.context},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"references",{get:function(){return this._debugContext.references},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"providerTokens",{get:function(){return this._debugContext.providerTokens},enumerable:!0,configurable:!0}),t}(),Pa=function(t){function e(e,n,r){var o=t.call(this,e,n,r)||this;return o.properties={},o.attributes={},o.classes={},o.styles={},o.childNodes=[],o.nativeElement=e,o}return Object(ho.b)(e,t),e.prototype.addChild=function(t){t&&(this.childNodes.push(t),t.parent=this)},e.prototype.removeChild=function(t){var e=this.childNodes.indexOf(t);-1!==e&&(t.parent=null,this.childNodes.splice(e,1))},e.prototype.insertChildrenAfter=function(t,e){var n=this,r=this.childNodes.indexOf(t);-1!==r&&((o=this.childNodes).splice.apply(o,[r+1,0].concat(e)),e.forEach(function(t){t.parent&&t.parent.removeChild(t),t.parent=n}));var o},e.prototype.insertBefore=function(t,e){var n=this.childNodes.indexOf(t);-1===n?this.addChild(e):(e.parent&&e.parent.removeChild(e),e.parent=this,this.childNodes.splice(n,0,e))},e.prototype.query=function(t){return this.queryAll(t)[0]||null},e.prototype.queryAll=function(t){var e=[];return Ot(this,t,e),e},e.prototype.queryAllNodes=function(t){var e=[];return Et(this,t,e),e},Object.defineProperty(e.prototype,"children",{get:function(){return this.childNodes.filter(function(t){return t instanceof e})},enumerable:!0,configurable:!0}),e.prototype.triggerEventHandler=function(t,e){this.listeners.forEach(function(n){n.name==t&&n.callback(e)})},e}(Sa),Ta=new Map,Ma=function(){function t(t){this.wrapped=t}return t.wrap=function(e){return new t(e)},t}(),Aa=(function(){function t(){this.hasWrappedValue=!1}t.prototype.unwrap=function(t){return t instanceof Ma?(this.hasWrappedValue=!0,t.wrapped):t},t.prototype.reset=function(){this.hasWrappedValue=!1}}(),function(){function t(t,e,n){this.previousValue=t,this.currentValue=e,this.firstChange=n}return t.prototype.isFirstChange=function(){return this.firstChange},t}()),ja=function(){function t(){}return t.prototype.supports=function(t){return Tt(t)},t.prototype.create=function(t){return new Na(t)},t}(),Da=function(t,e){return e},Na=function(){function t(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||Da}return t.prototype.forEachItem=function(t){var e;for(e=this._itHead;null!==e;e=e._next)t(e)},t.prototype.forEachOperation=function(t){for(var e=this._itHead,n=this._removalsHead,r=0,o=null;e||n;){var i=!n||e&&e.currentIndex=0;e--){var n=$e(this._data,e);ts.destroyView(n)}},t.prototype.get=function(t){var e=this._embeddedViews[t];if(e){var n=new ys(e);return n.attachToViewContainerRef(this),n}return null},Object.defineProperty(t.prototype,"length",{get:function(){return this._embeddedViews.length},enumerable:!0,configurable:!0}),t.prototype.createEmbeddedView=function(t,e,n){var r=t.createEmbeddedView(e||{});return this.insert(r,n),r},t.prototype.createComponent=function(t,e,n,r,o){var i=n||this.parentInjector;o||t instanceof $i||(o=i.get(Ki));var a=t.create(i,r,void 0,o);return this.insert(a.hostView,e),a},t.prototype.insert=function(t,e){if(t.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");var n=t,r=n._view;return Ze(this._view,this._data,e,r),n.attachToViewContainerRef(this),t},t.prototype.move=function(t,e){if(t.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");var n=this._embeddedViews.indexOf(t._view);return Qe(this._data,n,e),t},t.prototype.indexOf=function(t){return this._embeddedViews.indexOf(t._view)},t.prototype.remove=function(t){var e=$e(this._data,t);e&&ts.destroyView(e)},t.prototype.detach=function(t){var e=$e(this._data,t);return e?new ys(e):null},t}(),ys=function(){function t(t){this._view=t,this._viewContainerRef=null,this._appRef=null}return Object.defineProperty(t.prototype,"rootNodes",{get:function(){return ve(this._view)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"context",{get:function(){return this._view.context},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"destroyed",{get:function(){return 0!=(128&this._view.state)},enumerable:!0,configurable:!0}),t.prototype.markForCheck=function(){re(this._view)},t.prototype.detach=function(){this._view.state&=-5},t.prototype.detectChanges=function(){var t=this._view.root.rendererFactory;t.begin&&t.begin();try{ts.checkAndUpdateView(this._view)}finally{t.end&&t.end()}},t.prototype.checkNoChanges=function(){ts.checkNoChangesView(this._view)},t.prototype.reattach=function(){this._view.state|=4},t.prototype.onDestroy=function(t){this._view.disposables||(this._view.disposables=[]),this._view.disposables.push(t)},t.prototype.destroy=function(){this._appRef?this._appRef.detachView(this):this._viewContainerRef&&this._viewContainerRef.detach(this._viewContainerRef.indexOf(this)),ts.destroyView(this._view)},t.prototype.detachFromAppRef=function(){this._appRef=null,Je(this._view),ts.dirtyParentQueries(this._view)},t.prototype.attachToAppRef=function(t){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=t},t.prototype.attachToViewContainerRef=function(t){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=t},t}(),gs=function(t){function e(e,n){var r=t.call(this)||this;return r._parentView=e,r._def=n,r}return Object(ho.b)(e,t),e.prototype.createEmbeddedView=function(t){return new ys(ts.createEmbeddedView(this._parentView,this._def,this._def.element.template,t))},Object.defineProperty(e.prototype,"elementRef",{get:function(){return new ma(Ht(this._parentView,this._def.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),e}(Ca),vs=function(){function t(t,e){this.view=t,this.elDef=e}return t.prototype.get=function(t,e){void 0===e&&(e=ti.THROW_IF_NOT_FOUND);var n=!!this.elDef&&0!=(33554432&this.elDef.flags);return ts.resolveDep(this.view,this.elDef,n,{flags:0,token:t,tokenKey:Yt(t)},e)},t}(),ms=function(){function t(t){this.delegate=t}return t.prototype.selectRootElement=function(t){return this.delegate.selectRootElement(t)},t.prototype.createElement=function(t,e){var n=Oe(e),r=n[0],o=n[1],i=this.delegate.createElement(o,r);return t&&this.delegate.appendChild(t,i),i},t.prototype.createViewRoot=function(t){return t},t.prototype.createTemplateAnchor=function(t){var e=this.delegate.createComment("");return t&&this.delegate.appendChild(t,e),e},t.prototype.createText=function(t,e){var n=this.delegate.createText(e);return t&&this.delegate.appendChild(t,n),n},t.prototype.projectNodes=function(t,e){for(var n=0;nw;w++)if((p||w in m)&&(y=m[w],g=b(y,w,v),t))if(n)C[w]=g;else if(g)switch(t){case 3:return!0;case 5:return y;case 6:return w;case 2:C.push(y)}else if(l)return!1;return f?-1:c||l?l:C}}},function(t,e,n){"use strict";var r=n(44),o=n(293),i=n(126),a=n(296),s=function(){function t(t){this._isScalar=!1,t&&(this._subscribe=t)}return t.prototype.lift=function(e){var n=new t;return n.source=this,n.operator=e,n},t.prototype.subscribe=function(t,e,n){var r=this.operator,i=o.toSubscriber(t,e,n);if(r?r.call(i,this.source):i.add(this.source||!i.syncErrorThrowable?this._subscribe(i):this._trySubscribe(i)),i.syncErrorThrowable&&(i.syncErrorThrowable=!1,i.syncErrorThrown))throw i.syncErrorValue;return i},t.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){t.syncErrorThrown=!0,t.syncErrorValue=e,t.error(e)}},t.prototype.forEach=function(t,e){var n=this;if(e||(r.root.Rx&&r.root.Rx.config&&r.root.Rx.config.Promise?e=r.root.Rx.config.Promise:r.root.Promise&&(e=r.root.Promise)),!e)throw new Error("no Promise impl found");return new e(function(e,r){var o;o=n.subscribe(function(e){if(o)try{t(e)}catch(t){r(t),o.unsubscribe()}else t(e)},r,e)})},t.prototype._subscribe=function(t){return this.source.subscribe(t)},t.prototype[i.observable]=function(){return this},t.prototype.pipe=function(){for(var t=[],e=0;e0?r:n)(t)}},function(t,e,n){var r=n(52),o=n(32),i=n(17),a=n(29),s=n(9),u=n(90),c=Object.getOwnPropertyDescriptor;e.f=n(7)?c:function(t,e){if(t=i(t),e=a(e,!0),u)try{return c(t,e)}catch(t){}if(s(t,e))return o(!r.f.call(t,e),t[e])}},function(t,e,n){"use strict";if(n(7)){var r=n(39),o=n(4),i=n(2),a=n(0),s=n(58),u=n(84),c=n(22),l=n(41),f=n(32),p=n(13),h=n(42),d=n(24),y=n(8),g=n(120),v=n(34),m=n(29),b=n(9),_=n(53),w=n(3),C=n(12),O=n(79),E=n(35),k=n(19),x=n(36).f,S=n(80),P=n(33),T=n(5),M=n(20),A=n(65),j=n(83),D=n(110),N=n(47),I=n(55),V=n(40),F=n(81),R=n(109),L=n(6),z=n(25),H=L.f,B=z.f,G=o.RangeError,U=o.TypeError,Z=o.Uint8Array,W=Array.prototype,q=u.ArrayBuffer,$=u.DataView,K=M(0),Q=M(2),Y=M(3),J=M(4),X=M(5),tt=M(6),et=A(!0),nt=A(!1),rt=D.values,ot=D.keys,it=D.entries,at=W.lastIndexOf,st=W.reduce,ut=W.reduceRight,ct=W.join,lt=W.sort,ft=W.slice,pt=W.toString,ht=W.toLocaleString,dt=T("iterator"),yt=T("toStringTag"),gt=P("typed_constructor"),vt=P("def_constructor"),mt=s.CONSTR,bt=s.TYPED,_t=s.VIEW,wt=M(1,function(t,e){return xt(j(t,t[vt]),e)}),Ct=i(function(){return 1===new Z(new Uint16Array([1]).buffer)[0]}),Ot=!!Z&&!!Z.prototype.set&&i(function(){new Z(1).set({})}),Et=function(t,e){var n=d(t);if(n<0||n%e)throw G("Wrong offset!");return n},kt=function(t){if(w(t)&&bt in t)return t;throw U(t+" is not a typed array!")},xt=function(t,e){if(!(w(t)&> in t))throw U("It is not a typed array constructor!");return new t(e)},St=function(t,e){return Pt(j(t,t[vt]),e)},Pt=function(t,e){for(var n=0,r=e.length,o=xt(t,r);r>n;)o[n]=e[n++];return o},Tt=function(t,e,n){H(t,e,{get:function(){return this._d[n]}})},Mt=function(t){var e,n,r,o,i,a,s=C(t),u=arguments.length,l=u>1?arguments[1]:void 0,f=void 0!==l,p=S(s);if(void 0!=p&&!O(p)){for(a=p.call(s),r=[],e=0;!(i=a.next()).done;e++)r.push(i.value);s=r}for(f&&u>2&&(l=c(l,arguments[2],2)),e=0,n=y(s.length),o=xt(this,n);n>e;e++)o[e]=f?l(s[e],e):s[e];return o},At=function(){for(var t=0,e=arguments.length,n=xt(this,e);e>t;)n[t]=arguments[t++];return n},jt=!!Z&&i(function(){ht.call(new Z(1))}),Dt=function(){return ht.apply(jt?ft.call(kt(this)):kt(this),arguments)},Nt={copyWithin:function(t,e){return R.call(kt(this),t,e,arguments.length>2?arguments[2]:void 0)},every:function(t){return J(kt(this),t,arguments.length>1?arguments[1]:void 0)},fill:function(t){return F.apply(kt(this),arguments)},filter:function(t){return St(this,Q(kt(this),t,arguments.length>1?arguments[1]:void 0))},find:function(t){return X(kt(this),t,arguments.length>1?arguments[1]:void 0)},findIndex:function(t){return tt(kt(this),t,arguments.length>1?arguments[1]:void 0)},forEach:function(t){K(kt(this),t,arguments.length>1?arguments[1]:void 0)},indexOf:function(t){return nt(kt(this),t,arguments.length>1?arguments[1]:void 0)},includes:function(t){return et(kt(this),t,arguments.length>1?arguments[1]:void 0)},join:function(t){return ct.apply(kt(this),arguments)},lastIndexOf:function(t){return at.apply(kt(this),arguments)},map:function(t){return wt(kt(this),t,arguments.length>1?arguments[1]:void 0)},reduce:function(t){return st.apply(kt(this),arguments)},reduceRight:function(t){return ut.apply(kt(this),arguments)},reverse:function(){for(var t,e=this,n=kt(e).length,r=Math.floor(n/2),o=0;o1?arguments[1]:void 0)},sort:function(t){return lt.call(kt(this),t)},subarray:function(t,e){var n=kt(this),r=n.length,o=v(t,r);return new(j(n,n[vt]))(n.buffer,n.byteOffset+o*n.BYTES_PER_ELEMENT,y((void 0===e?r:v(e,r))-o))}},It=function(t,e){return St(this,ft.call(kt(this),t,e))},Vt=function(t){kt(this);var e=Et(arguments[1],1),n=this.length,r=C(t),o=y(r.length),i=0;if(o+e>n)throw G("Wrong length!");for(;i255?255:255&r),o.v[h](n*e+o.o,r,Ct)},T=function(t,e){H(t,e,{get:function(){return S(this,e)},set:function(t){return P(this,e,t)},enumerable:!0})};b?(d=n(function(t,n,r,o){l(t,d,c,"_d");var i,a,s,u,f=0,h=0;if(w(n)){if(!(n instanceof q||"ArrayBuffer"==(u=_(n))||"SharedArrayBuffer"==u))return bt in n?Pt(d,n):Mt.call(d,n);i=n,h=Et(r,e);var v=n.byteLength;if(void 0===o){if(v%e)throw G("Wrong length!");if((a=v-h)<0)throw G("Wrong length!")}else if((a=y(o)*e)+h>v)throw G("Wrong length!");s=a/e}else s=g(n),a=s*e,i=new q(a);for(p(t,"_d",{b:i,o:h,l:a,e:s,v:new $(i)});fdocument.F=Object<\/script>"),t.close(),u=t.F;r--;)delete u.prototype[i[r]];return u()};t.exports=Object.create||function(t,e){var n;return null!==t?(s.prototype=r(t),n=new s,s.prototype=null,n[a]=t):n=u(),void 0===e?n:o(n,e)}},function(t,e,n){var r=n(92),o=n(67).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n(121),i=n(62),a=n(125),s=n(86),u=function(t){function e(n,r,o){switch(t.call(this),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=a.empty;break;case 1:if(!n){this.destination=a.empty;break}if("object"==typeof n){n instanceof e?(this.syncErrorThrowable=n.syncErrorThrowable,this.destination=n,this.destination.add(this)):(this.syncErrorThrowable=!0,this.destination=new c(this,n));break}default:this.syncErrorThrowable=!0,this.destination=new c(this,n,r,o)}}return r(e,t),e.prototype[s.rxSubscriber]=function(){return this},e.create=function(t,n,r){var o=new e(t,n,r);return o.syncErrorThrowable=!1,o},e.prototype.next=function(t){this.isStopped||this._next(t)},e.prototype.error=function(t){this.isStopped||(this.isStopped=!0,this._error(t))},e.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},e.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,t.prototype.unsubscribe.call(this))},e.prototype._next=function(t){this.destination.next(t)},e.prototype._error=function(t){this.destination.error(t),this.unsubscribe()},e.prototype._complete=function(){this.destination.complete(),this.unsubscribe()},e.prototype._unsubscribeAndRecycle=function(){var t=this,e=t._parent,n=t._parents;return this._parent=null,this._parents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parent=e,this._parents=n,this},e}(i.Subscription);e.Subscriber=u;var c=function(t){function e(e,n,r,i){t.call(this),this._parentSubscriber=e;var s,u=this;o.isFunction(n)?s=n:n&&(s=n.next,r=n.error,i=n.complete,n!==a.empty&&(u=Object.create(n),o.isFunction(u.unsubscribe)&&this.add(u.unsubscribe.bind(u)),u.unsubscribe=this.unsubscribe.bind(this))),this._context=u,this._next=s,this._error=r,this._complete=i}return r(e,t),e.prototype.next=function(t){if(!this.isStopped&&this._next){var e=this._parentSubscriber;e.syncErrorThrowable?this.__tryOrSetError(e,this._next,t)&&this.unsubscribe():this.__tryOrUnsub(this._next,t)}},e.prototype.error=function(t){if(!this.isStopped){var e=this._parentSubscriber;if(this._error)e.syncErrorThrowable?(this.__tryOrSetError(e,this._error,t),this.unsubscribe()):(this.__tryOrUnsub(this._error,t),this.unsubscribe());else{if(!e.syncErrorThrowable)throw this.unsubscribe(),t;e.syncErrorValue=t,e.syncErrorThrown=!0,this.unsubscribe()}}},e.prototype.complete=function(){var t=this;if(!this.isStopped){var e=this._parentSubscriber;if(this._complete){var n=function(){return t._complete.call(t._context)};e.syncErrorThrowable?(this.__tryOrSetError(e,n),this.unsubscribe()):(this.__tryOrUnsub(n),this.unsubscribe())}else this.unsubscribe()}},e.prototype.__tryOrUnsub=function(t,e){try{t.call(this._context,e)}catch(t){throw this.unsubscribe(),t}},e.prototype.__tryOrSetError=function(t,e,n){try{e.call(this._context,n)}catch(e){return t.syncErrorValue=e,t.syncErrorThrown=!0,!0}return!1},e.prototype._unsubscribe=function(){var t=this._parentSubscriber;this._context=null,this._parentSubscriber=null,t.unsubscribe()},e}(u)},function(t,e,n){var r=n(6).f,o=n(9),i=n(5)("toStringTag");t.exports=function(t,e,n){t&&!o(t=n?t:t.prototype,i)&&r(t,i,{configurable:!0,value:e})}},function(t,e){t.exports=!1},function(t,e,n){"use strict";var r=n(4),o=n(6),i=n(7),a=n(5)("species");t.exports=function(t){var e=r[t];i&&e&&!e[a]&&o.f(e,a,{configurable:!0,get:function(){return this}})}},function(t,e){t.exports=function(t,e,n,r){if(!(t instanceof e)||void 0!==r&&r in t)throw TypeError(n+": incorrect invocation!");return t}},function(t,e,n){var r=n(11);t.exports=function(t,e,n){for(var o in e)r(t,o,e[o],n);return t}},function(t,e,n){var r=n(3);t.exports=function(t,e){if(!r(t)||t._t!==e)throw TypeError("Incompatible receiver, "+e+" required!");return t}},function(t,e,n){"use strict";(function(t){var n="undefined"!=typeof window&&window,r="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,o=void 0!==t&&t,i=n||o||r;e.root=i,function(){if(!i)throw new Error("RxJS could not find any global context (window, self, global)")}()}).call(e,n(85))},function(t,e,n){var r=n(92),o=n(67);t.exports=Object.keys||function(t){return r(t,o)}},function(t,e,n){var r=n(23);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},function(t,e){t.exports={}},function(t,e,n){var r=n(5)("unscopables"),o=Array.prototype;void 0==o[r]&&n(13)(o,r,{}),t.exports=function(t){o[r][t]=!0}},function(t,e,n){var r=n(22),o=n(106),i=n(79),a=n(1),s=n(8),u=n(80),c={},l={},e=t.exports=function(t,e,n,f,p){var h,d,y,g,v=p?function(){return t}:u(t),m=r(n,f,e?2:1),b=0;if("function"!=typeof v)throw TypeError(t+" is not iterable!");if(i(v)){for(h=s(t.length);h>b;b++)if((g=e?m(a(d=t[b])[0],d[1]):m(t[b]))===c||g===l)return g}else for(y=v.call(t);!(d=y.next()).done;)if((g=o(y,m,d.value,e))===c||g===l)return g};e.BREAK=c,e.RETURN=l},function(t,e,n){var r=n(4),o=r["__core-js_shared__"]||(r["__core-js_shared__"]={});t.exports=function(t){return o[t]||(o[t]={})}},function(t,e){e.f=Object.getOwnPropertySymbols},function(t,e){e.f={}.propertyIsEnumerable},function(t,e,n){var r=n(23),o=n(5)("toStringTag"),i="Arguments"==r(function(){return arguments}()),a=function(t,e){try{return t[e]}catch(t){}};t.exports=function(t){var e,n,s;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=a(e=Object(t),o))?n:i?r(e):"Object"==(s=r(e))&&"function"==typeof e.callee?"Arguments":s}},function(t,e,n){var r=n(0),o=n(31),i=n(2),a=n(71),s="["+a+"]",u="​…",c=RegExp("^"+s+s+"*"),l=RegExp(s+s+"*$"),f=function(t,e,n){var o={},s=i(function(){return!!a[t]()||u[t]()!=u}),c=o[t]=s?e(p):a[t];n&&(o[n]=c),r(r.P+r.F*s,"String",o)},p=f.trim=function(t,e){return t=String(o(t)),1&e&&(t=t.replace(c,"")),2&e&&(t=t.replace(l,"")),t};t.exports=f},function(t,e,n){var r=n(5)("iterator"),o=!1;try{var i=[7][r]();i.return=function(){o=!0},Array.from(i,function(){throw 2})}catch(t){}t.exports=function(t,e){if(!e&&!o)return!1;var n=!1;try{var i=[7],a=i[r]();a.next=function(){return{done:n=!0}},i[r]=function(){return a},t(i)}catch(t){}return n}},function(t,e,n){"use strict";var r=n(13),o=n(11),i=n(2),a=n(31),s=n(5);t.exports=function(t,e,n){var u=s(t),c=n(a,u,""[t]),l=c[0],f=c[1];i(function(){var e={};return e[u]=function(){return 7},7!=""[t](e)})&&(o(String.prototype,t,l),r(RegExp.prototype,u,2==e?function(t,e){return f.call(t,this,e)}:function(t){return f.call(t,this)}))}},function(t,e,n){"use strict";var r=n(4),o=n(0),i=n(11),a=n(42),s=n(30),u=n(49),c=n(41),l=n(3),f=n(2),p=n(55),h=n(38),d=n(72);t.exports=function(t,e,n,y,g,v){var m=r[t],b=m,_=g?"set":"add",w=b&&b.prototype,C={},O=function(t){var e=w[t];i(w,t,"delete"==t?function(t){return!(v&&!l(t))&&e.call(this,0===t?0:t)}:"has"==t?function(t){return!(v&&!l(t))&&e.call(this,0===t?0:t)}:"get"==t?function(t){return v&&!l(t)?void 0:e.call(this,0===t?0:t)}:"add"==t?function(t){return e.call(this,0===t?0:t),this}:function(t,n){return e.call(this,0===t?0:t,n),this})};if("function"==typeof b&&(v||w.forEach&&!f(function(){(new b).entries().next()}))){var E=new b,k=E[_](v?{}:-0,1)!=E,x=f(function(){E.has(1)}),S=p(function(t){new b(t)}),P=!v&&f(function(){for(var t=new b,e=5;e--;)t[_](e,e);return!t.has(-0)});S||(b=e(function(e,n){c(e,b,t);var r=d(new m,e,b);return void 0!=n&&u(n,g,r[_],r),r}),b.prototype=w,w.constructor=b),(x||P)&&(O("delete"),O("has"),g&&O("get")),(P||k)&&O(_),v&&w.clear&&delete w.clear}else b=y.getConstructor(e,t,g,_),a(b.prototype,n),s.NEED=!0;return h(b,t),C[t]=b,o(o.G+o.W+o.F*(b!=m),C),v||y.setStrong(b,t,g),b}},function(t,e,n){for(var r,o=n(4),i=n(13),a=n(33),s=a("typed_array"),u=a("view"),c=!(!o.ArrayBuffer||!o.DataView),l=c,f=0,p="Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array".split(",");f<9;)(r=o[p[f++]])?(i(r.prototype,s,!0),i(r.prototype,u,!0)):l=!1;t.exports={ABV:c,CONSTR:l,TYPED:s,VIEW:u}},function(t,e,n){"use strict";function r(){return R}function o(t){R||(R=t)}function i(){return q||(q=document.querySelector("base"))?q.getAttribute("href"):null}function a(t){return U||(U=document.createElement("a")),U.setAttribute("href",t),"/"===U.pathname.charAt(0)?U.pathname:"/"+U.pathname}function s(){return!!window.history.pushState}function u(t,e,n){return function(){n.get(V.c).donePromise.then(function(){var n=r();Array.prototype.slice.apply(n.querySelectorAll(e,"style[ng-transition]")).filter(function(e){return n.getAttribute(e,"ng-transition")===t}).forEach(function(t){return n.remove(t)})})}}function c(t,e){if("undefined"==typeof COMPILED||!COMPILED){(V._8.ng=V._8.ng||{})[t]=e}}function l(t){return Object(V.W)(t)}function f(t){return c(nt,l),c(rt,Object(F.a)({},et,p(t||[]))),function(){return l}}function p(t){return t.reduce(function(t,e){return t[e.name]=e.token,t},{})}function h(t){return ht.replace(ft,t)}function d(t){return pt.replace(ft,t)}function y(t,e,n){for(var r=0;r/g,">")}function k(t){Gt.attributeMap(t).forEach(function(e,n){"xmlns:ns1"!==n&&0!==n.indexOf("ns1:")||Gt.removeAttribute(t,n)});for(var e=0,n=Gt.childNodesAsList(t);e"};return t.replace(/&[^;]+;/g,function(t){return e[t]})}function D(t,e){var n=t.getElementById(e+"-state"),r={};if(n&&n.textContent)try{r=JSON.parse(j(n.textContent))}catch(t){console.warn("Exception while restoring TransferState for app "+e,t)}return _e.init(r)}n.d(e,"a",function(){return ve}),n.d(e,"i",function(){return ge}),n.d(e,"g",function(){return Q}),n.d(e,"h",function(){return tt}),n.d(e,"c",function(){return it}),n.d(e,"d",function(){return at}),n.d(e,"e",function(){return Mt}),n.d(e,"f",function(){return At}),n.d(e,"b",function(){return ae}),n.d(e,"r",function(){return r}),n.d(e,"k",function(){return dt}),n.d(e,"j",function(){return Pt}),n.d(e,"m",function(){return jt}),n.d(e,"n",function(){return Lt}),n.d(e,"l",function(){return ct}),n.d(e,"o",function(){return ut}),n.d(e,"p",function(){return M}),n.d(e,"s",function(){return f}),n.d(e,"q",function(){return se});var N,I=n(60),V=n(15),F=n(61),R=null,L=function(){function t(){this.resourceLoaderType=null}return Object.defineProperty(t.prototype,"attrToPropMap",{get:function(){return this._attrToPropMap},set:function(t){this._attrToPropMap=t},enumerable:!0,configurable:!0}),t}(),z=function(t){function e(){var e=t.call(this)||this;e._animationPrefix=null,e._transitionEnd=null;try{var n=e.createElement("div",document);if(null!=e.getStyle(n,"animationName"))e._animationPrefix="";else for(var r=["Webkit","Moz","O","ms"],o=0;o0},e.prototype.tagName=function(t){return t.tagName},e.prototype.attributeMap=function(t){for(var e=new Map,n=t.attributes,r=0;r0;s||(s=t[a]=[]);var c=xt(e)?Zone.root:Zone.current;if(0===s.length)s.push({zone:c,handler:i});else{for(var l=!1,f=0;f-1},e.decorators=[{type:V.q}],e.ctorParameters=function(){return[{type:void 0,decorators:[{type:V.p,args:[$]}]},{type:At,decorators:[{type:V.p,args:[Mt]}]}]},e}(st),Dt=["alt","control","meta","shift"],Nt=function(t){return t.altKey},It=function(t){return t.ctrlKey},Vt=function(t){return t.metaKey},Ft=function(t){return t.shiftKey},Rt={alt:Nt,control:It,meta:Vt,shift:Ft},Lt=function(t){function e(e){return t.call(this,e)||this}return Object(F.b)(e,t),e.prototype.supports=function(t){return null!=e.parseEventName(t)},e.prototype.addEventListener=function(t,n,o){var i=e.parseEventName(n),a=e.eventCallback(i.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(function(){return r().onAndCancel(t,i.domEventName,a)})},e.parseEventName=function(t){var n=t.toLowerCase().split("."),r=n.shift();if(0===n.length||"keydown"!==r&&"keyup"!==r)return null;var o=e._normalizeKey(n.pop()),i="";if(Dt.forEach(function(t){var e=n.indexOf(t);e>-1&&(n.splice(e,1),i+=t+".")}),i+=o,0!=n.length||0===o.length)return null;var a={};return a.domEventName=r,a.fullKey=i,a},e.getEventFullKey=function(t){var e="",n=r().getEventKey(t);return n=n.toLowerCase()," "===n?n="space":"."===n&&(n="dot"),Dt.forEach(function(r){if(r!=n){(0,Rt[r])(t)&&(e+=r+".")}}),e+=n},e.eventCallback=function(t,n,r){return function(o){e.getEventFullKey(o)===t&&r.runGuarded(function(){return n(o)})}},e._normalizeKey=function(t){switch(t){case"esc":return"escape";default:return t}},e.decorators=[{type:V.q}],e.ctorParameters=function(){return[{type:void 0,decorators:[{type:V.p,args:[$]}]}]},e}(st),zt=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:\/?#]*(?:[\/?#]|$))/gi,Ht=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\/]+=*$/i,Bt=null,Gt=null,Ut=w("area,br,col,hr,img,wbr"),Zt=w("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Wt=w("rp,rt"),qt=C(Wt,Zt),$t=C(Zt,w("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")),Kt=C(Wt,w("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")),Qt=C(Ut,$t,Kt,qt),Yt=w("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Jt=w("srcset"),Xt=w("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"),te=C(Yt,Jt,Xt),ee=function(){function t(){this.sanitizedSomething=!1,this.buf=[]}return t.prototype.sanitizeChildren=function(t){for(var e=t.firstChild;e;)if(Gt.isElementNode(e)?this.startElement(e):Gt.isTextNode(e)?this.chars(Gt.nodeValue(e)):this.sanitizedSomething=!0,Gt.firstChild(e))e=Gt.firstChild(e);else for(;e;){Gt.isElementNode(e)&&this.endElement(e);var n=O(e,Gt.nextSibling(e));if(n){e=n;break}e=O(e,Gt.parentElement(e))}return this.buf.join("")},t.prototype.startElement=function(t){var e=this,n=Gt.nodeName(t).toLowerCase();if(!Qt.hasOwnProperty(n))return void(this.sanitizedSomething=!0);this.buf.push("<"),this.buf.push(n),Gt.attributeMap(t).forEach(function(t,n){var r=n.toLowerCase();if(!te.hasOwnProperty(r))return void(e.sanitizedSomething=!0);Yt[r]&&(t=m(t)),Jt[r]&&(t=b(t)),e.buf.push(" "),e.buf.push(n),e.buf.push('="'),e.buf.push(E(t)),e.buf.push('"')}),this.buf.push(">")},t.prototype.endElement=function(t){var e=Gt.nodeName(t).toLowerCase();Qt.hasOwnProperty(e)&&!Ut.hasOwnProperty(e)&&(this.buf.push(""))},t.prototype.chars=function(t){this.buf.push(E(t))},t}(),ne=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,re=/([^\#-~ |!])/g,oe=new RegExp("^([-,.\"'%_!# a-zA-Z0-9]+|(?:(?:matrix|translate|scale|rotate|skew|perspective)(?:X|Y|3d)?|(?:rgb|hsl)a?|(?:repeating-)?(?:linear|radial)-gradient|(?:calc|attr))\\([-0-9.%, #a-zA-Z]+\\))$","g"),ie=/^url\(([^)]+)\)$/,ae=function(){function t(){}return t}(),se=function(t){function e(e){var n=t.call(this)||this;return n._doc=e,n}return Object(F.b)(e,t),e.prototype.sanitize=function(t,e){if(null==e)return null;switch(t){case V.K.NONE:return e;case V.K.HTML:return e instanceof ce?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"HTML"),x(this._doc,String(e)));case V.K.STYLE:return e instanceof le?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"Style"),P(e));case V.K.SCRIPT:if(e instanceof fe)return e.changingThisBreaksApplicationSecurity;throw this.checkNotSafeValue(e,"Script"),new Error("unsafe value used in a script context");case V.K.URL:return e instanceof he||e instanceof pe?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"URL"),m(String(e)));case V.K.RESOURCE_URL:if(e instanceof he)return e.changingThisBreaksApplicationSecurity;throw this.checkNotSafeValue(e,"ResourceURL"),new Error("unsafe value used in a resource URL context (see http://g.co/ng/security#xss)");default:throw new Error("Unexpected SecurityContext "+t+" (see http://g.co/ng/security#xss)")}},e.prototype.checkNotSafeValue=function(t,e){if(t instanceof ue)throw new Error("Required a safe "+e+", got a "+t.getTypeName()+" (see http://g.co/ng/security#xss)")},e.prototype.bypassSecurityTrustHtml=function(t){return new ce(t)},e.prototype.bypassSecurityTrustStyle=function(t){return new le(t)},e.prototype.bypassSecurityTrustScript=function(t){return new fe(t)},e.prototype.bypassSecurityTrustUrl=function(t){return new pe(t)},e.prototype.bypassSecurityTrustResourceUrl=function(t){return new he(t)},e.decorators=[{type:V.q}],e.ctorParameters=function(){return[{type:void 0,decorators:[{type:V.p,args:[$]}]}]},e}(ae),ue=function(){function t(t){this.changingThisBreaksApplicationSecurity=t}return t.prototype.toString=function(){return"SafeValue must use [property]=binding: "+this.changingThisBreaksApplicationSecurity+" (see http://g.co/ng/security#xss)"},t}(),ce=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(F.b)(e,t),e.prototype.getTypeName=function(){return"HTML"},e}(ue),le=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(F.b)(e,t),e.prototype.getTypeName=function(){return"Style"},e}(ue),fe=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(F.b)(e,t),e.prototype.getTypeName=function(){return"Script"},e}(ue),pe=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(F.b)(e,t),e.prototype.getTypeName=function(){return"URL"},e}(ue),he=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(F.b)(e,t),e.prototype.getTypeName=function(){return"ResourceURL"},e}(ue),de=[{provide:V.D,useValue:I.h},{provide:V.E,useValue:T,multi:!0},{provide:I.g,useClass:K,deps:[$]},{provide:$,useFactory:A,deps:[]}],ye=[{provide:V.J,useExisting:ae},{provide:ae,useClass:se,deps:[$]}],ge=Object(V.T)(V.Y,"browser",de),ve=function(){function t(t){if(t)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}return t.withServerTransition=function(e){return{ngModule:t,providers:[{provide:V.a,useValue:e.appId},{provide:Y,useExisting:V.a},J]}},t.decorators=[{type:V.x,args:[{providers:[ye,{provide:V.m,useFactory:M,deps:[]},{provide:it,useClass:Pt,multi:!0},{provide:it,useClass:Lt,multi:!0},{provide:it,useClass:jt,multi:!0},{provide:Mt,useClass:At},dt,{provide:V.H,useExisting:dt},{provide:ut,useExisting:ct},ct,V.O,at,ot,Q,tt],exports:[I.a,V.d]}]}],t.ctorParameters=function(){return[{type:t,decorators:[{type:V.B},{type:V.M}]}]},t}(),me="undefined"!=typeof window&&window||{},be=function(){function t(t,e){this.msPerTick=t,this.numTicks=e}return t}(),_e=(function(){function t(t){this.appRef=t.injector.get(V.e)}t.prototype.timeChangeDetection=function(t){var e=t&&t.record,n=null!=me.console.profile;e&&n&&me.console.profile("Change Detection");for(var o=r().performanceNow(),i=0;i<5||r().performanceNow()-o<500;)this.appRef.tick(),i++;var a=r().performanceNow();e&&n&&me.console.profileEnd("Change Detection");var s=(a-o)/i;return me.console.log("ran "+i+" change detection cycles"),me.console.log(s.toFixed(2)+" ms per check"),new be(s,i)}}(),function(){function t(){this.store={},this.onSerializeCallbacks={}}return t.init=function(e){var n=new t;return n.store=e,n},t.prototype.get=function(t,e){return this.store[t]||e},t.prototype.set=function(t,e){this.store[t]=e},t.prototype.remove=function(t){delete this.store[t]},t.prototype.hasKey=function(t){return this.store.hasOwnProperty(t)},t.prototype.onSerialize=function(t,e){this.onSerializeCallbacks[t]=e},t.prototype.toJson=function(){for(var t in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(t))try{this.store[t]=this.onSerializeCallbacks[t]()}catch(t){console.warn("Exception in onSerialize callback: ",t)}return JSON.stringify(this.store)},t.decorators=[{type:V.q}],t.ctorParameters=function(){return[]},t}());(function(){function t(){}t.decorators=[{type:V.x,args:[{providers:[{provide:_e,useFactory:D,deps:[$,V.a]}]}]}],t.ctorParameters=function(){return[]}})(),function(){function t(){}t.all=function(){return function(t){return!0}},t.css=function(t){return function(e){return null!=e.nativeElement&&r().elementMatches(e.nativeElement,t)}},t.directive=function(t){return function(e){return-1!==e.providerTokens.indexOf(t)}}}(),new V.P("5.2.0")},function(t,e,n){"use strict";function r(t,e){return t&&e.startsWith(t)?e.substring(t.length):e}function o(t){return t.replace(/\/index.html$/,"")}function i(t){var e=Math.floor(Math.abs(t)),n=t.toString().replace(/^[^.]*\.?/,"").length;return 1===e&&0===n?1:5}function a(t){return C(t)[0]}function s(t,e,n){var r=C(t);return _(_([r[1],r[2]],e),n)}function u(t,e,n){var r=C(t);return _(_([r[3],r[4]],e),n)}function c(t,e,n){var r=C(t);return _(_([r[5],r[6]],e),n)}function l(t,e){return _(C(t)[7],e)}function f(t,e){return C(t)[10][e]}function p(t,e){return C(t)[11][e]}function h(t,e){return _(C(t)[12],e)}function d(t,e){var n=C(t),r=n[13][e];if(void 0===r){if(e===Pt.CurrencyDecimal)return n[13][Pt.Decimal];if(e===Pt.CurrencyGroup)return n[13][Pt.Group]}return r}function y(t,e){return C(t)[14][e]}function g(t){return C(t)[17]}function v(t){if(!t[18])throw new Error('Missing extra locale data for the locale "'+t[0]+'". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.')}function m(t){var e=C(t);return v(e),(e[18][2]||[]).map(function(t){return"string"==typeof t?w(t):[w(t[0]),w(t[1])]})}function b(t,e,n){var r=C(t);return v(r),_(_([r[18][0],r[18][1]],e)||[],n)||[]}function _(t,e){for(var n=e;n>-1;n--)if(void 0!==t[n])return t[n];throw new Error("Locale data API: locale data undefined")}function w(t){var e=t.split(":");return{hours:+e[0],minutes:+e[1]}}function C(t){var e=t.toLowerCase().replace(/_/g,"-"),n=Ct[e];if(n)return n;var r=e.split("-")[0];if(n=Ct[r])return n;if("en"===r)return wt;throw new Error('Missing locale data for the locale "'+t+'".')}function O(t,e){var n=_t[t]||[],r=n[1];return"narrow"===e&&"string"==typeof r?r:n[0]||t}function E(t,e,n,r){var o="="+t;if(e.indexOf(o)>-1)return o;if(o=n.getPluralCategory(t,r),e.indexOf(o)>-1)return o;if(e.indexOf("other")>-1)return"other";throw new Error('No plural message found for value "'+t+'"')}function k(t,e){"string"==typeof e&&(e=parseInt(e,10));var n=e,r=n.toString().replace(/^[^.]*\.?/,""),o=Math.floor(Math.abs(n)),i=r.length,a=parseInt(r,10),s=parseInt(n.toString().replace(/^[^.]*\.?|0+$/g,""),10)||0;switch(t.split("-")[0].toLowerCase()){case"af":case"asa":case"az":case"bem":case"bez":case"bg":case"brx":case"ce":case"cgg":case"chr":case"ckb":case"ee":case"el":case"eo":case"es":case"eu":case"fo":case"fur":case"gsw":case"ha":case"haw":case"hu":case"jgo":case"jmc":case"ka":case"kk":case"kkj":case"kl":case"ks":case"ksb":case"ky":case"lb":case"lg":case"mas":case"mgo":case"ml":case"mn":case"nb":case"nd":case"ne":case"nn":case"nnh":case"nyn":case"om":case"or":case"os":case"ps":case"rm":case"rof":case"rwk":case"saq":case"seh":case"sn":case"so":case"sq":case"ta":case"te":case"teo":case"tk":case"tr":case"ug":case"uz":case"vo":case"vun":case"wae":case"xog":return 1===n?Et.One:Et.Other;case"ak":case"ln":case"mg":case"pa":case"ti":return n===Math.floor(n)&&n>=0&&n<=1?Et.One:Et.Other;case"am":case"as":case"bn":case"fa":case"gu":case"hi":case"kn":case"mr":case"zu":return 0===o||1===n?Et.One:Et.Other;case"ar":return 0===n?Et.Zero:1===n?Et.One:2===n?Et.Two:n%100===Math.floor(n%100)&&n%100>=3&&n%100<=10?Et.Few:n%100===Math.floor(n%100)&&n%100>=11&&n%100<=99?Et.Many:Et.Other;case"ast":case"ca":case"de":case"en":case"et":case"fi":case"fy":case"gl":case"it":case"nl":case"sv":case"sw":case"ur":case"yi":return 1===o&&0===i?Et.One:Et.Other;case"be":return n%10==1&&n%100!=11?Et.One:n%10===Math.floor(n%10)&&n%10>=2&&n%10<=4&&!(n%100>=12&&n%100<=14)?Et.Few:n%10==0||n%10===Math.floor(n%10)&&n%10>=5&&n%10<=9||n%100===Math.floor(n%100)&&n%100>=11&&n%100<=14?Et.Many:Et.Other;case"br":return n%10==1&&n%100!=11&&n%100!=71&&n%100!=91?Et.One:n%10==2&&n%100!=12&&n%100!=72&&n%100!=92?Et.Two:n%10===Math.floor(n%10)&&(n%10>=3&&n%10<=4||n%10==9)&&!(n%100>=10&&n%100<=19||n%100>=70&&n%100<=79||n%100>=90&&n%100<=99)?Et.Few:0!==n&&n%1e6==0?Et.Many:Et.Other;case"bs":case"hr":case"sr":return 0===i&&o%10==1&&o%100!=11||a%10==1&&a%100!=11?Et.One:0===i&&o%10===Math.floor(o%10)&&o%10>=2&&o%10<=4&&!(o%100>=12&&o%100<=14)||a%10===Math.floor(a%10)&&a%10>=2&&a%10<=4&&!(a%100>=12&&a%100<=14)?Et.Few:Et.Other;case"cs":case"sk":return 1===o&&0===i?Et.One:o===Math.floor(o)&&o>=2&&o<=4&&0===i?Et.Few:0!==i?Et.Many:Et.Other;case"cy":return 0===n?Et.Zero:1===n?Et.One:2===n?Et.Two:3===n?Et.Few:6===n?Et.Many:Et.Other;case"da":return 1===n||0!==s&&(0===o||1===o)?Et.One:Et.Other;case"dsb":case"hsb":return 0===i&&o%100==1||a%100==1?Et.One:0===i&&o%100==2||a%100==2?Et.Two:0===i&&o%100===Math.floor(o%100)&&o%100>=3&&o%100<=4||a%100===Math.floor(a%100)&&a%100>=3&&a%100<=4?Et.Few:Et.Other;case"ff":case"fr":case"hy":case"kab":return 0===o||1===o?Et.One:Et.Other;case"fil":return 0===i&&(1===o||2===o||3===o)||0===i&&o%10!=4&&o%10!=6&&o%10!=9||0!==i&&a%10!=4&&a%10!=6&&a%10!=9?Et.One:Et.Other;case"ga":return 1===n?Et.One:2===n?Et.Two:n===Math.floor(n)&&n>=3&&n<=6?Et.Few:n===Math.floor(n)&&n>=7&&n<=10?Et.Many:Et.Other;case"gd":return 1===n||11===n?Et.One:2===n||12===n?Et.Two:n===Math.floor(n)&&(n>=3&&n<=10||n>=13&&n<=19)?Et.Few:Et.Other;case"gv":return 0===i&&o%10==1?Et.One:0===i&&o%10==2?Et.Two:0!==i||o%100!=0&&o%100!=20&&o%100!=40&&o%100!=60&&o%100!=80?0!==i?Et.Many:Et.Other:Et.Few;case"he":return 1===o&&0===i?Et.One:2===o&&0===i?Et.Two:0!==i||n>=0&&n<=10||n%10!=0?Et.Other:Et.Many;case"is":return 0===s&&o%10==1&&o%100!=11||0!==s?Et.One:Et.Other;case"ksh":return 0===n?Et.Zero:1===n?Et.One:Et.Other;case"kw":case"naq":case"se":case"smn":return 1===n?Et.One:2===n?Et.Two:Et.Other;case"lag":return 0===n?Et.Zero:0!==o&&1!==o||0===n?Et.Other:Et.One;case"lt":return n%10!=1||n%100>=11&&n%100<=19?n%10===Math.floor(n%10)&&n%10>=2&&n%10<=9&&!(n%100>=11&&n%100<=19)?Et.Few:0!==a?Et.Many:Et.Other:Et.One;case"lv":case"prg":return n%10==0||n%100===Math.floor(n%100)&&n%100>=11&&n%100<=19||2===i&&a%100===Math.floor(a%100)&&a%100>=11&&a%100<=19?Et.Zero:n%10==1&&n%100!=11||2===i&&a%10==1&&a%100!=11||2!==i&&a%10==1?Et.One:Et.Other;case"mk":return 0===i&&o%10==1||a%10==1?Et.One:Et.Other;case"mt":return 1===n?Et.One:0===n||n%100===Math.floor(n%100)&&n%100>=2&&n%100<=10?Et.Few:n%100===Math.floor(n%100)&&n%100>=11&&n%100<=19?Et.Many:Et.Other;case"pl":return 1===o&&0===i?Et.One:0===i&&o%10===Math.floor(o%10)&&o%10>=2&&o%10<=4&&!(o%100>=12&&o%100<=14)?Et.Few:0===i&&1!==o&&o%10===Math.floor(o%10)&&o%10>=0&&o%10<=1||0===i&&o%10===Math.floor(o%10)&&o%10>=5&&o%10<=9||0===i&&o%100===Math.floor(o%100)&&o%100>=12&&o%100<=14?Et.Many:Et.Other;case"pt":return n===Math.floor(n)&&n>=0&&n<=2&&2!==n?Et.One:Et.Other;case"ro":return 1===o&&0===i?Et.One:0!==i||0===n||1!==n&&n%100===Math.floor(n%100)&&n%100>=1&&n%100<=19?Et.Few:Et.Other;case"ru":case"uk":return 0===i&&o%10==1&&o%100!=11?Et.One:0===i&&o%10===Math.floor(o%10)&&o%10>=2&&o%10<=4&&!(o%100>=12&&o%100<=14)?Et.Few:0===i&&o%10==0||0===i&&o%10===Math.floor(o%10)&&o%10>=5&&o%10<=9||0===i&&o%100===Math.floor(o%100)&&o%100>=11&&o%100<=14?Et.Many:Et.Other;case"shi":return 0===o||1===n?Et.One:n===Math.floor(n)&&n>=2&&n<=10?Et.Few:Et.Other;case"si":return 0===n||1===n||0===o&&1===a?Et.One:Et.Other;case"sl":return 0===i&&o%100==1?Et.One:0===i&&o%100==2?Et.Two:0===i&&o%100===Math.floor(o%100)&&o%100>=3&&o%100<=4||0!==i?Et.Few:Et.Other;case"tzm":return n===Math.floor(n)&&n>=0&&n<=1||n===Math.floor(n)&&n>=11&&n<=99?Et.One:Et.Other;default:return Et.Other}}function x(t,e){e=encodeURIComponent(e);for(var n=0,r=t.split(";");n0||s>-n)&&(s+=n),t===Jt.Hours&&0===s&&-12===n&&(s=12),A(s,e,d(a,Pt.MinusSign),r,o)}}function D(t,e,n){switch(t){case Jt.FullYear:return e.getFullYear();case Jt.Month:return e.getMonth();case Jt.Date:return e.getDate();case Jt.Hours:return e.getHours();case Jt.Minutes:return e.getMinutes();case Jt.Seconds:return e.getSeconds();case Jt.Milliseconds:var r=1===n?100:2===n?10:1;return Math.round(e.getMilliseconds()/r);case Jt.Day:return e.getDay();default:throw new Error('Unknown DateType value "'+t+'".')}}function N(t,e,n,r){return void 0===n&&(n=kt.Format),void 0===r&&(r=!1),function(o,i){return I(o,i,t,e,n,r)}}function I(t,e,n,r,o,i){switch(n){case Xt.Months:return c(e,o,r)[t.getMonth()];case Xt.Days:return u(e,o,r)[t.getDay()];case Xt.DayPeriods:var a=t.getHours(),f=t.getMinutes();if(i){var p,h=m(e),d=b(e,o,r);if(h.forEach(function(t,e){if(Array.isArray(t)){var n=t[0],r=n.hours,o=n.minutes,i=t[1],s=i.hours,u=i.minutes;a>=r&&f>=o&&(a0?Math.floor(o/60):Math.ceil(o/60);switch(t){case Yt.Short:return(o>=0?"+":"")+A(a,2,i)+A(Math.abs(o%60),2,i);case Yt.ShortGMT:return"GMT"+(o>=0?"+":"")+A(a,1,i);case Yt.Long:return"GMT"+(o>=0?"+":"")+A(a,2,i)+":"+A(Math.abs(o%60),2,i);case Yt.Extended:return 0===r?"Z":(o>=0?"+":"")+A(a,2,i)+":"+A(Math.abs(o%60),2,i);default:throw new Error('Unknown zone width "'+t+'"')}}}function F(t){var e=new Date(t,te,1).getDay();return new Date(t,0,1+(e<=ee?ee:ee+7)-e)}function R(t){return new Date(t.getFullYear(),t.getMonth(),t.getDate()+(ee-t.getDay()))}function L(t,e){return void 0===e&&(e=!1),function(n,r){var o;if(e){var i=new Date(n.getFullYear(),n.getMonth(),1).getDay()-1,a=n.getDate();o=1+Math.floor((a+i)/7)}else{var s=F(n.getFullYear()),u=R(n),c=u.getTime()-s.getTime();o=1+Math.round(c/6048e5)}return A(o,t,d(r,Pt.MinusSign))}}function z(t){if(ne[t])return ne[t];var e;switch(t){case"G":case"GG":case"GGG":e=N(Xt.Eras,xt.Abbreviated);break;case"GGGG":e=N(Xt.Eras,xt.Wide);break;case"GGGGG":e=N(Xt.Eras,xt.Narrow);break;case"y":e=j(Jt.FullYear,1,0,!1,!0);break;case"yy":e=j(Jt.FullYear,2,0,!0,!0);break;case"yyy":e=j(Jt.FullYear,3,0,!1,!0);break;case"yyyy":e=j(Jt.FullYear,4,0,!1,!0);break;case"M":case"L":e=j(Jt.Month,1,1);break;case"MM":case"LL":e=j(Jt.Month,2,1);break;case"MMM":e=N(Xt.Months,xt.Abbreviated);break;case"MMMM":e=N(Xt.Months,xt.Wide);break;case"MMMMM":e=N(Xt.Months,xt.Narrow);break;case"LLL":e=N(Xt.Months,xt.Abbreviated,kt.Standalone);break;case"LLLL":e=N(Xt.Months,xt.Wide,kt.Standalone);break;case"LLLLL":e=N(Xt.Months,xt.Narrow,kt.Standalone);break;case"w":e=L(1);break;case"ww":e=L(2);break;case"W":e=L(1,!0);break;case"d":e=j(Jt.Date,1);break;case"dd":e=j(Jt.Date,2);break;case"E":case"EE":case"EEE":e=N(Xt.Days,xt.Abbreviated);break;case"EEEE":e=N(Xt.Days,xt.Wide);break;case"EEEEE":e=N(Xt.Days,xt.Narrow);break;case"EEEEEE":e=N(Xt.Days,xt.Short);break;case"a":case"aa":case"aaa":e=N(Xt.DayPeriods,xt.Abbreviated);break;case"aaaa":e=N(Xt.DayPeriods,xt.Wide);break;case"aaaaa":e=N(Xt.DayPeriods,xt.Narrow);break;case"b":case"bb":case"bbb":e=N(Xt.DayPeriods,xt.Abbreviated,kt.Standalone,!0);break;case"bbbb":e=N(Xt.DayPeriods,xt.Wide,kt.Standalone,!0);break;case"bbbbb":e=N(Xt.DayPeriods,xt.Narrow,kt.Standalone,!0);break;case"B":case"BB":case"BBB":e=N(Xt.DayPeriods,xt.Abbreviated,kt.Format,!0);break;case"BBBB":e=N(Xt.DayPeriods,xt.Wide,kt.Format,!0);break;case"BBBBB":e=N(Xt.DayPeriods,xt.Narrow,kt.Format,!0);break;case"h":e=j(Jt.Hours,1,-12);break;case"hh":e=j(Jt.Hours,2,-12);break;case"H":e=j(Jt.Hours,1);break;case"HH":e=j(Jt.Hours,2);break;case"m":e=j(Jt.Minutes,1);break;case"mm":e=j(Jt.Minutes,2);break;case"s":e=j(Jt.Seconds,1);break;case"ss":e=j(Jt.Seconds,2);break;case"S":e=j(Jt.Milliseconds,1);break;case"SS":e=j(Jt.Milliseconds,2);break;case"SSS":e=j(Jt.Milliseconds,3);break;case"Z":case"ZZ":case"ZZZ":e=V(Yt.Short);break;case"ZZZZZ":e=V(Yt.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":e=V(Yt.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":e=V(Yt.Long);break;default:return null}return ne[t]=e,e}function H(t,e){t=t.replace(/:/g,"");var n=Date.parse("Jan 01, 1970 00:00:00 "+t)/6e4;return isNaN(n)?e:n}function B(t,e){return t=new Date(t.getTime()),t.setMinutes(t.getMinutes()+e),t}function G(t,e,n){var r=n?-1:1,o=t.getTimezoneOffset();return B(t,r*(H(e,o)-o))}function U(t,e){return Error("InvalidPipeArgument: '"+e+"' for pipe '"+Object(dt._20)(t)+"'")}function Z(t){var e=new Date(0),n=0,r=0,o=t[8]?e.setUTCFullYear:e.setFullYear,i=t[8]?e.setUTCHours:e.setHours;t[9]&&(n=+(t[9]+t[10]),r=+(t[9]+t[11])),o.call(e,+t[1],+t[2]-1,+t[3]);var a=+(t[4]||"0")-n,s=+(t[5]||"0")-r,u=+(t[6]||"0"),c=Math.round(1e3*parseFloat("0."+(t[7]||0)));return i.call(e,a,s,u,c),e}function W(t){return t instanceof Date&&!isNaN(t.valueOf())}function q(t){return function(e,n){var r=t(e,n);return 1==r.length?"0"+r:r}}function $(t){return function(e,n){return t(e,n).split(" ")[0]}}function K(t,e,n){return new Intl.DateTimeFormat(e,n).format(t).replace(/[\u200e\u200f]/g,"")}function Q(t){var e={hour:"2-digit",hour12:!1,timeZoneName:t};return function(t,n){var r=K(t,n,e);return r?r.substring(3):""}}function Y(t,e){return t.hour12=e,t}function J(t,e){var n={};return n[t]=2===e?"2-digit":"numeric",n}function X(t,e){var n={};return n[t]=e<4?e>1?"short":"narrow":"long",n}function tt(t){return t.reduce(function(t,e){return Object(yt.a)({},t,e)},{})}function et(t){return function(e,n){return K(e,n,t)}}function nt(t,e,n){var r=se[t];if(r)return r(e,n);var o=t,i=ce.get(o);if(!i){i=[];var a=void 0;ae.exec(t);for(var s=t;s;)a=ae.exec(s),a?(i=i.concat(a.slice(1)),s=i.pop()):(i.push(s),s=null);ce.set(o,i)}return i.reduce(function(t,r){var o=ue[r];return t+(o?o(e,n):rt(r))},"")}function rt(t){return"''"===t?"'":t.replace(/(^'|'$)/g,"").replace(/''/g,"'")}function ot(t){return t instanceof Date&&!isNaN(t.valueOf())}function it(t,e,n,r,o){void 0===o&&(o=null);var i,a={str:null},s=y(e,n);if("string"!=typeof t||isNaN(+t-parseFloat(t))){if("number"!=typeof t)return a.error=t+" is not a number",a;i=t}else i=+t;var u=at(s,d(e,Pt.MinusSign)),c="",l=!1;if(isFinite(i)){var f=ut(i);n===Ot.Percent&&(f=st(f));var p=u.minInt,h=u.minFrac,g=u.maxFrac;if(r){var v=r.match(pe);if(null===v)return a.error=r+" is not a valid digit info",a;var m=v[1],b=v[3],_=v[5];null!=m&&(p=lt(m)),null!=b&&(h=lt(b)),null!=_?g=lt(_):null!=b&&h>g&&(g=h)}ct(f,h,g);var w=f.digits,C=f.integerLen,O=f.exponent,E=[];for(l=w.every(function(t){return!t});C0?E=w.splice(C,w.length):(E=w,w=[0]);var k=[];for(w.length>=u.lgSize&&k.unshift(w.splice(-u.lgSize,w.length).join(""));w.length>u.gSize;)k.unshift(w.splice(-u.gSize,w.length).join(""));w.length&&k.unshift(w.join(""));var x=o?Pt.CurrencyGroup:Pt.Group;if(c=k.join(d(e,x)),E.length){c+=d(e,o?Pt.CurrencyDecimal:Pt.Decimal)+E.join("")}O&&(c+=d(e,Pt.Exponential)+"+"+O)}else c=d(e,Pt.Infinity);return c=i<0&&!l?u.negPre+c+u.negSuf:u.posPre+c+u.posSuf,n===Ot.Currency&&null!==o?(a.str=c.replace(be,o).replace(be,""),a):n===Ot.Percent?(a.str=c.replace(new RegExp(_e,"g"),d(e,Pt.PercentSign)),a):(a.str=c,a)}function at(t,e){void 0===e&&(e="-");var n={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},r=t.split(ge),o=r[0],i=r[1],a=-1!==o.indexOf(de)?o.split(de):[o.substring(0,o.lastIndexOf(ye)+1),o.substring(o.lastIndexOf(ye)+1)],s=a[0],u=a[1]||"";n.posPre=s.substr(0,s.indexOf(me));for(var c=0;c-1&&(a=a.replace(de,"")),(r=a.search(/e/i))>0?(n<0&&(n=r),n+=+a.slice(r+1),a=a.substring(0,r)):n<0&&(n=a.length),r=0;a.charAt(r)===ye;r++);if(r===(i=a.length))e=[0],n=1;else{for(i--;a.charAt(i)===ye;)i--;for(n-=r,e=[],o=0;r<=i;r++,o++)e[o]=+a.charAt(r)}return n>he&&(e=e.splice(0,he-1),s=n-1,n=1),{digits:e,exponent:s,integerLen:n}}function ct(t,e,n){if(e>n)throw new Error("The minimum number of digits after fraction ("+e+") is higher than the maximum ("+n+").");var r=t.digits,o=r.length-t.integerLen,i=Math.min(Math.max(e,o),n),a=i+t.integerLen,s=r[a];if(a>0){r.splice(Math.max(t.integerLen,a));for(var u=a;u=5)if(a-1<0){for(var l=0;l>a;l--)r.unshift(0),t.integerLen++;r.unshift(1),t.integerLen++}else r[a-1]++;for(;o=p?r.pop():f=!1),e>=10?1:0},0);h&&(r.unshift(h),t.integerLen++)}function lt(t){var e=parseInt(t);if(isNaN(e))throw new Error("Invalid integer literal when parsing "+t);return e}function ft(t,e,n,r,o,i,a){if(void 0===i&&(i=null),void 0===a&&(a=!1),null==n)return null;if("number"!=typeof(n="string"!=typeof n||isNaN(+n-parseFloat(n))?n:+n))throw U(t,n);var s,u,c;if(r!==Ot.Currency&&(s=1,u=0,c=3),o){var l=o.match(pe);if(null===l)throw new Error(o+" is not a valid digit info for number pipes");null!=l[1]&&(s=lt(l[1])),null!=l[3]&&(u=lt(l[3])),null!=l[5]&&(c=lt(l[5]))}return ie.format(n,e,r,{minimumIntegerDigits:s,minimumFractionDigits:u,maximumFractionDigits:c,currency:i,currencyAsSymbol:a})}function pt(t){return t?t[0].toUpperCase()+t.substr(1).toLowerCase():t}function ht(t){return null==t||""===t||t!==t}n.d(e,"e",function(){return jt}),n.d(e,"f",function(){return At}),n.d(e,"j",function(){return x}),n.d(e,"a",function(){return Be}),n.d(e,"c",function(){return Vt}),n.d(e,"d",function(){return Rt}),n.d(e,"b",function(){return Ue}),n.d(e,"h",function(){return Ze}),n.d(e,"g",function(){return gt}),n.d(e,"i",function(){return Mt});var dt=n(15),yt=n(61),gt=function(){function t(){}return t}(),vt=(new dt.r("Location Initialized"),function(){function t(){}return t}()),mt=new dt.r("appBaseHref"),bt=function(){function t(e){var n=this;this._subject=new dt.n,this._platformStrategy=e;var r=this._platformStrategy.getBaseHref();this._baseHref=t.stripTrailingSlash(o(r)),this._platformStrategy.onPopState(function(t){n._subject.emit({url:n.path(!0),pop:!0,type:t.type})})}return t.prototype.path=function(t){return void 0===t&&(t=!1),this.normalize(this._platformStrategy.path(t))},t.prototype.isCurrentPathEqualTo=function(e,n){return void 0===n&&(n=""),this.path()==this.normalize(e+t.normalizeQueryParams(n))},t.prototype.normalize=function(e){return t.stripTrailingSlash(r(this._baseHref,o(e)))},t.prototype.prepareExternalUrl=function(t){return t&&"/"!==t[0]&&(t="/"+t),this._platformStrategy.prepareExternalUrl(t)},t.prototype.go=function(t,e){void 0===e&&(e=""),this._platformStrategy.pushState(null,"",t,e)},t.prototype.replaceState=function(t,e){void 0===e&&(e=""),this._platformStrategy.replaceState(null,"",t,e)},t.prototype.forward=function(){this._platformStrategy.forward()},t.prototype.back=function(){this._platformStrategy.back()},t.prototype.subscribe=function(t,e,n){return this._subject.subscribe({next:t,error:e,complete:n})},t.normalizeQueryParams=function(t){return t&&"?"!==t[0]?"?"+t:t},t.joinWithSlash=function(t,e){if(0==t.length)return e;if(0==e.length)return t;var n=0;return t.endsWith("/")&&n++,e.startsWith("/")&&n++,2==n?t+e.substring(1):1==n?t+e:t+"/"+e},t.stripTrailingSlash=function(t){var e=t.match(/#|\?|$/),n=e&&e.index||t.length,r=n-("/"===t[n-1]?1:0);return t.slice(0,r)+t.slice(n)},t.decorators=[{type:dt.q}],t.ctorParameters=function(){return[{type:vt}]},t}(),_t=(function(t){function e(e,n){var r=t.call(this)||this;return r._platformLocation=e,r._baseHref="",null!=n&&(r._baseHref=n),r}Object(yt.b)(e,t),e.prototype.onPopState=function(t){this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t)},e.prototype.getBaseHref=function(){return this._baseHref},e.prototype.path=function(t){void 0===t&&(t=!1);var e=this._platformLocation.hash;return null==e&&(e="#"),e.length>0?e.substring(1):e},e.prototype.prepareExternalUrl=function(t){var e=bt.joinWithSlash(this._baseHref,t);return e.length>0?"#"+e:e},e.prototype.pushState=function(t,e,n,r){var o=this.prepareExternalUrl(n+bt.normalizeQueryParams(r));0==o.length&&(o=this._platformLocation.pathname),this._platformLocation.pushState(t,e,o)},e.prototype.replaceState=function(t,e,n,r){var o=this.prepareExternalUrl(n+bt.normalizeQueryParams(r));0==o.length&&(o=this._platformLocation.pathname),this._platformLocation.replaceState(t,e,o)},e.prototype.forward=function(){this._platformLocation.forward()},e.prototype.back=function(){this._platformLocation.back()},e.decorators=[{type:dt.q}],e.ctorParameters=function(){return[{type:gt},{type:void 0,decorators:[{type:dt.B},{type:dt.p,args:[mt]}]}]}}(vt),function(t){function e(e,n){var r=t.call(this)||this;if(r._platformLocation=e,null==n&&(n=r._platformLocation.getBaseHrefFromDOM()),null==n)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");return r._baseHref=n,r}Object(yt.b)(e,t),e.prototype.onPopState=function(t){this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t)},e.prototype.getBaseHref=function(){return this._baseHref},e.prototype.prepareExternalUrl=function(t){return bt.joinWithSlash(this._baseHref,t)},e.prototype.path=function(t){void 0===t&&(t=!1);var e=this._platformLocation.pathname+bt.normalizeQueryParams(this._platformLocation.search),n=this._platformLocation.hash;return n&&t?""+e+n:e},e.prototype.pushState=function(t,e,n,r){var o=this.prepareExternalUrl(n+bt.normalizeQueryParams(r));this._platformLocation.pushState(t,e,o)},e.prototype.replaceState=function(t,e,n,r){var o=this.prepareExternalUrl(n+bt.normalizeQueryParams(r));this._platformLocation.replaceState(t,e,o)},e.prototype.forward=function(){this._platformLocation.forward()},e.prototype.back=function(){this._platformLocation.back()},e.decorators=[{type:dt.q}],e.ctorParameters=function(){return[{type:gt},{type:void 0,decorators:[{type:dt.B},{type:dt.p,args:[mt]}]}]}}(vt),{AOA:[,"Kz"],ARS:[,"$"],AUD:["A$","$"],BAM:[,"KM"],BBD:[,"$"],BDT:[,"৳"],BMD:[,"$"],BND:[,"$"],BOB:[,"Bs"],BRL:["R$"],BSD:[,"$"],BWP:[,"P"],BYN:[,"р."],BZD:[,"$"],CAD:["CA$","$"],CLP:[,"$"],CNY:["CN¥","¥"],COP:[,"$"],CRC:[,"₡"],CUC:[,"$"],CUP:[,"$"],CZK:[,"Kč"],DKK:[,"kr"],DOP:[,"$"],EGP:[,"E£"],ESP:[,"₧"],EUR:["€"],FJD:[,"$"],FKP:[,"£"],GBP:["£"],GEL:[,"₾"],GIP:[,"£"],GNF:[,"FG"],GTQ:[,"Q"],GYD:[,"$"],HKD:["HK$","$"],HNL:[,"L"],HRK:[,"kn"],HUF:[,"Ft"],IDR:[,"Rp"],ILS:["₪"],INR:["₹"],ISK:[,"kr"],JMD:[,"$"],JPY:["¥"],KHR:[,"៛"],KMF:[,"CF"],KPW:[,"₩"],KRW:["₩"],KYD:[,"$"],KZT:[,"₸"],LAK:[,"₭"],LBP:[,"L£"],LKR:[,"Rs"],LRD:[,"$"],LTL:[,"Lt"],LVL:[,"Ls"],MGA:[,"Ar"],MMK:[,"K"],MNT:[,"₮"],MUR:[,"Rs"],MXN:["MX$","$"],MYR:[,"RM"],NAD:[,"$"],NGN:[,"₦"],NIO:[,"C$"],NOK:[,"kr"],NPR:[,"Rs"],NZD:["NZ$","$"],PHP:[,"₱"],PKR:[,"Rs"],PLN:[,"zł"],PYG:[,"₲"],RON:[,"lei"],RUB:[,"₽"],RUR:[,"р."],RWF:[,"RF"],SBD:[,"$"],SEK:[,"kr"],SGD:[,"$"],SHP:[,"£"],SRD:[,"$"],SSP:[,"£"],STD:[,"Db"],SYP:[,"£"],THB:[,"฿"],TOP:[,"T$"],TRY:[,"₺"],TTD:[,"$"],TWD:["NT$","$"],UAH:[,"₴"],USD:["$"],UYU:[,"$"],VEF:[,"Bs"],VND:["₫"],XAF:["FCFA"],XCD:["EC$","$"],XOF:["CFA"],XPF:["CFPF"],ZAR:[,"R"],ZMW:[,"ZK"]}),wt=["en",[["a","p"],["AM","PM"]],[["AM","PM"],,],[["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"]],,[["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"]],,[["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}",,"{1} 'at' {0}"],[".",",",";","%","+","-","E","×","‰","∞","NaN",":"],["#,##0.###","#,##0%","¤#,##0.00","#E0"],"$","US Dollar",i],Ct={},Ot={Decimal:0,Percent:1,Currency:2,Scientific:3};Ot[Ot.Decimal]="Decimal",Ot[Ot.Percent]="Percent",Ot[Ot.Currency]="Currency",Ot[Ot.Scientific]="Scientific";var Et={Zero:0,One:1,Two:2,Few:3,Many:4,Other:5};Et[Et.Zero]="Zero",Et[Et.One]="One",Et[Et.Two]="Two",Et[Et.Few]="Few",Et[Et.Many]="Many",Et[Et.Other]="Other";var kt={Format:0,Standalone:1};kt[kt.Format]="Format",kt[kt.Standalone]="Standalone";var xt={Narrow:0,Abbreviated:1,Wide:2,Short:3};xt[xt.Narrow]="Narrow",xt[xt.Abbreviated]="Abbreviated",xt[xt.Wide]="Wide",xt[xt.Short]="Short";var St={Short:0,Medium:1,Long:2,Full:3};St[St.Short]="Short",St[St.Medium]="Medium",St[St.Long]="Long",St[St.Full]="Full";var Pt={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};Pt[Pt.Decimal]="Decimal",Pt[Pt.Group]="Group",Pt[Pt.List]="List",Pt[Pt.PercentSign]="PercentSign",Pt[Pt.PlusSign]="PlusSign",Pt[Pt.MinusSign]="MinusSign",Pt[Pt.Exponential]="Exponential",Pt[Pt.SuperscriptingExponent]="SuperscriptingExponent",Pt[Pt.PerMille]="PerMille",Pt[Pt.Infinity]="Infinity",Pt[Pt.NaN]="NaN",Pt[Pt.TimeSeparator]="TimeSeparator",Pt[Pt.CurrencyDecimal]="CurrencyDecimal",Pt[Pt.CurrencyGroup]="CurrencyGroup";var Tt={Sunday:0,Monday:1,Tuesday:2,Wednesday:3,Thursday:4,Friday:5,Saturday:6};Tt[Tt.Sunday]="Sunday",Tt[Tt.Monday]="Monday",Tt[Tt.Tuesday]="Tuesday",Tt[Tt.Wednesday]="Wednesday",Tt[Tt.Thursday]="Thursday",Tt[Tt.Friday]="Friday",Tt[Tt.Saturday]="Saturday";var Mt=new dt.r("UseV4Plurals"),At=function(){function t(){}return t}(),jt=function(t){function e(e,n){var r=t.call(this)||this;return r.locale=e,r.deprecatedPluralFn=n,r}return Object(yt.b)(e,t),e.prototype.getPluralCategory=function(t,e){switch(this.deprecatedPluralFn?this.deprecatedPluralFn(e||this.locale,t):g(e||this.locale)(t)){case Et.Zero:return"zero";case Et.One:return"one";case Et.Two:return"two";case Et.Few:return"few";case Et.Many:return"many";default:return"other"}},e.decorators=[{type:dt.q}],e.ctorParameters=function(){return[{type:void 0,decorators:[{type:dt.p,args:[dt.w]}]},{type:void 0,decorators:[{type:dt.B},{type:dt.p,args:[Mt]}]}]},e}(At),Dt=function(){function t(t,e,n,r){this._iterableDiffers=t,this._keyValueDiffers=e,this._ngEl=n,this._renderer=r,this._initialClasses=[]}return Object.defineProperty(t.prototype,"klass",{set:function(t){this._applyInitialClasses(!0),this._initialClasses="string"==typeof t?t.split(/\s+/):[],this._applyInitialClasses(!1),this._applyClasses(this._rawClass,!1)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngClass",{set:function(t){this._cleanupClasses(this._rawClass),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof t?t.split(/\s+/):t,this._rawClass&&(Object(dt._10)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())},enumerable:!0,configurable:!0}),t.prototype.ngDoCheck=function(){if(this._iterableDiffer){var t=this._iterableDiffer.diff(this._rawClass);t&&this._applyIterableChanges(t)}else if(this._keyValueDiffer){var e=this._keyValueDiffer.diff(this._rawClass);e&&this._applyKeyValueChanges(e)}},t.prototype._cleanupClasses=function(t){this._applyClasses(t,!0),this._applyInitialClasses(!1)},t.prototype._applyKeyValueChanges=function(t){var e=this;t.forEachAddedItem(function(t){return e._toggleClass(t.key,t.currentValue)}),t.forEachChangedItem(function(t){return e._toggleClass(t.key,t.currentValue)}),t.forEachRemovedItem(function(t){t.previousValue&&e._toggleClass(t.key,!1)})},t.prototype._applyIterableChanges=function(t){var e=this;t.forEachAddedItem(function(t){if("string"!=typeof t.item)throw new Error("NgClass can only toggle CSS classes expressed as strings, got "+Object(dt._20)(t.item));e._toggleClass(t.item,!0)}),t.forEachRemovedItem(function(t){return e._toggleClass(t.item,!1)})},t.prototype._applyInitialClasses=function(t){var e=this;this._initialClasses.forEach(function(n){return e._toggleClass(n,!t)})},t.prototype._applyClasses=function(t,e){var n=this;t&&(Array.isArray(t)||t instanceof Set?t.forEach(function(t){return n._toggleClass(t,!e)}):Object.keys(t).forEach(function(r){null!=t[r]&&n._toggleClass(r,!e)}))},t.prototype._toggleClass=function(t,e){var n=this;(t=t.trim())&&t.split(/\s+/g).forEach(function(t){e?n._renderer.addClass(n._ngEl.nativeElement,t):n._renderer.removeClass(n._ngEl.nativeElement,t)})},t.decorators=[{type:dt.k,args:[{selector:"[ngClass]"}]}],t.ctorParameters=function(){return[{type:dt.u},{type:dt.v},{type:dt.l},{type:dt.G}]},t.propDecorators={klass:[{type:dt.t,args:["class"]}],ngClass:[{type:dt.t}]},t}(),Nt=function(){function t(t){this._viewContainerRef=t,this._componentRef=null,this._moduleRef=null}return t.prototype.ngOnChanges=function(t){if(this._viewContainerRef.clear(),this._componentRef=null,this.ngComponentOutlet){var e=this.ngComponentOutletInjector||this._viewContainerRef.parentInjector;if(t.ngComponentOutletNgModuleFactory)if(this._moduleRef&&this._moduleRef.destroy(),this.ngComponentOutletNgModuleFactory){var n=e.get(dt.y);this._moduleRef=this.ngComponentOutletNgModuleFactory.create(n.injector)}else this._moduleRef=null;var r=this._moduleRef?this._moduleRef.componentFactoryResolver:e.get(dt.j),o=r.resolveComponentFactory(this.ngComponentOutlet);this._componentRef=this._viewContainerRef.createComponent(o,this._viewContainerRef.length,e,this.ngComponentOutletContent)}},t.prototype.ngOnDestroy=function(){this._moduleRef&&this._moduleRef.destroy()},t.decorators=[{type:dt.k,args:[{selector:"[ngComponentOutlet]"}]}],t.ctorParameters=function(){return[{type:dt.Q}]},t.propDecorators={ngComponentOutlet:[{type:dt.t}],ngComponentOutletInjector:[{type:dt.t}],ngComponentOutletContent:[{type:dt.t}],ngComponentOutletNgModuleFactory:[{type:dt.t}]},t}(),It=function(){function t(t,e,n,r){this.$implicit=t,this.ngForOf=e,this.index=n,this.count=r}return Object.defineProperty(t.prototype,"first",{get:function(){return 0===this.index},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"last",{get:function(){return this.index===this.count-1},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"even",{get:function(){return this.index%2==0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"odd",{get:function(){return!this.even},enumerable:!0,configurable:!0}),t}(),Vt=function(){function t(t,e,n){this._viewContainer=t,this._template=e,this._differs=n,this._differ=null}return Object.defineProperty(t.prototype,"ngForTrackBy",{get:function(){return this._trackByFn},set:function(t){Object(dt.X)()&&null!=t&&"function"!=typeof t&&console&&console.warn&&console.warn("trackBy must be a function, but received "+JSON.stringify(t)+". See https://angular.io/docs/ts/latest/api/common/index/NgFor-directive.html#!#change-propagation for more information."),this._trackByFn=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngForTemplate",{set:function(t){t&&(this._template=t)},enumerable:!0,configurable:!0}),t.prototype.ngOnChanges=function(t){if("ngForOf"in t){var e=t.ngForOf.currentValue;if(!this._differ&&e)try{this._differ=this._differs.find(e).create(this.ngForTrackBy)}catch(t){throw new Error("Cannot find a differ supporting object '"+e+"' of type '"+S(e)+"'. NgFor only supports binding to Iterables such as Arrays.")}}},t.prototype.ngDoCheck=function(){if(this._differ){var t=this._differ.diff(this.ngForOf);t&&this._applyChanges(t)}},t.prototype._applyChanges=function(t){var e=this,n=[];t.forEachOperation(function(t,r,o){if(null==t.previousIndex){var i=e._viewContainer.createEmbeddedView(e._template,new It(null,e.ngForOf,-1,-1),o),a=new Ft(t,i);n.push(a)}else if(null==o)e._viewContainer.remove(r);else{var i=e._viewContainer.get(r);e._viewContainer.move(i,o);var a=new Ft(t,i);n.push(a)}});for(var r=0;r0)&&this.toggle.emit(this.eventData)},t.prototype.onchange=function(t){var e=this;if(t)this.change.emit(t);else{if(this.data.state.disabled)return;this.doubleClick.onclick(function(){e.change.emit(e.eventData)})}},t.prototype.trackBy=function(t,e){return e},t.decorators=[{type:r.i,args:[{selector:"node",template:i.a}]}],t.ctorParameters=function(){return[]},t.propDecorators={data:[{type:r.t}],last:[{type:r.t}],checkbox:[{type:r.t}],path:[{type:r.t}],draggable:[{type:r.t}],preid:[{type:r.t}],toggle:[{type:r.C}],change:[{type:r.C}]},t}(),s=function(){function t(){this.toggle=new r.n,this.change=new r.n,this.drop=new r.n,this.dragTarget=null,this.dropTarget=null}return Object.defineProperty(t.prototype,"rootClassName",{get:function(){return o.l(this.checkbox,this.size,this.theme)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"containerClassName",{get:function(){return o.e(this.nodots)},enumerable:!0,configurable:!0}),t.prototype.ontoggle=function(t){this.toggle.emit(t)},t.prototype.onchange=function(t){this.change.emit(t)},t.prototype.ondragstart=function(t){this.draggable&&(this.dragTarget=t.target,this.dropTarget=t.target)},t.prototype.ondragend=function(t){if(this.draggable){this.dragTarget=null;for(var e=0,n=this.data;el;)if((s=u[l++])!=s)return!0}else for(;c>l;l++)if((t||l in u)&&u[l]===n)return t||l||0;return!t&&-1}}},function(t,e,n){var r=n(50)("keys"),o=n(33);t.exports=function(t){return r[t]||(r[t]=o(t))}},function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,e,n){var r=n(23);t.exports=Array.isArray||function(t){return"Array"==r(t)}},function(t,e,n){var r=n(4).document;t.exports=r&&r.documentElement},function(t,e,n){var r=n(3),o=n(1),i=function(t,e){if(o(t),!r(e)&&null!==e)throw TypeError(e+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,e,r){try{r=n(22)(Function.call,n(25).f(Object.prototype,"__proto__").set,2),r(t,[]),e=!(t instanceof Array)}catch(t){e=!0}return function(t,n){return i(t,n),e?t.__proto__=n:r(t,n),t}}({},!1):void 0),check:i}},function(t,e){t.exports="\t\n\v\f\r   ᠎              \u2028\u2029\ufeff"},function(t,e,n){var r=n(3),o=n(70).set;t.exports=function(t,e,n){var i,a=e.constructor;return a!==n&&"function"==typeof a&&(i=a.prototype)!==n.prototype&&r(i)&&o&&o(t,i),t}},function(t,e){t.exports=Math.sign||function(t){return 0==(t=+t)||t!=t?t:t<0?-1:1}},function(t,e){var n=Math.expm1;t.exports=!n||n(10)>22025.465794806718||n(10)<22025.465794806718||-2e-17!=n(-2e-17)?function(t){return 0==(t=+t)?t:t>-1e-6&&t<1e-6?t+t*t/2:Math.exp(t)-1}:n},function(t,e,n){"use strict";var r=n(39),o=n(0),i=n(11),a=n(13),s=n(9),u=n(47),c=n(105),l=n(38),f=n(19),p=n(5)("iterator"),h=!([].keys&&"next"in[].keys()),d=function(){return this};t.exports=function(t,e,n,y,g,v,m){c(n,e,y);var b,_,w,C=function(t){if(!h&&t in x)return x[t];switch(t){case"keys":case"values":return function(){return new n(this,t)}}return function(){return new n(this,t)}},O=e+" Iterator",E="values"==g,k=!1,x=t.prototype,S=x[p]||x["@@iterator"]||g&&x[g],P=!h&&S||C(g),T=g?E?C("entries"):P:void 0,M="Array"==e?x.entries||S:S;if(M&&(w=f(M.call(new t)))!==Object.prototype&&w.next&&(l(w,O,!0),r||s(w,p)||a(w,p,d)),E&&S&&"values"!==S.name&&(k=!0,P=function(){return S.call(this)}),r&&!m||!h&&!k&&x[p]||a(x,p,P),u[e]=P,u[O]=d,g)if(b={values:E?P:C("values"),keys:v?P:C("keys"),entries:T},m)for(_ in b)_ in x||i(x,_,b[_]);else o(o.P+o.F*(h||k),e,b);return b}},function(t,e,n){var r=n(77),o=n(31);t.exports=function(t,e,n){if(r(e))throw TypeError("String#"+n+" doesn't accept regex!");return String(o(t))}},function(t,e,n){var r=n(3),o=n(23),i=n(5)("match");t.exports=function(t){var e;return r(t)&&(void 0!==(e=t[i])?!!e:"RegExp"==o(t))}},function(t,e,n){var r=n(5)("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(n){try{return e[r]=!1,!"/./"[t](e)}catch(t){}}return!0}},function(t,e,n){var r=n(47),o=n(5)("iterator"),i=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||i[o]===t)}},function(t,e,n){var r=n(53),o=n(5)("iterator"),i=n(47);t.exports=n(28).getIteratorMethod=function(t){if(void 0!=t)return t[o]||t["@@iterator"]||i[r(t)]}},function(t,e,n){"use strict";var r=n(12),o=n(34),i=n(8);t.exports=function(t){for(var e=r(this),n=i(e.length),a=arguments.length,s=o(a>1?arguments[1]:void 0,n),u=a>2?arguments[2]:void 0,c=void 0===u?n:o(u,n);c>s;)e[s++]=t;return e}},function(t,e,n){"use strict";var r=n(1);t.exports=function(){var t=r(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},function(t,e,n){var r=n(1),o=n(16),i=n(5)("species");t.exports=function(t,e){var n,a=r(t).constructor;return void 0===a||void 0==(n=r(a)[i])?e:o(n)}},function(t,e,n){"use strict";function r(t,e,n){var r,o,i,a=new Array(n),s=8*n-e-1,u=(1<>1,l=23===e?R(2,-24)-R(2,-77):0,f=0,p=t<0||0===t&&1/t<0?1:0;for(t=F(t),t!=t||t===I?(o=t!=t?1:0,r=u):(r=L(z(t)/H),t*(i=R(2,-r))<1&&(r--,i*=2),t+=r+c>=1?l/i:l*R(2,1-c),t*i>=2&&(r++,i/=2),r+c>=u?(o=0,r=u):r+c>=1?(o=(t*i-1)*R(2,e),r+=c):(o=t*R(2,c-1)*R(2,e),r=0));e>=8;a[f++]=255&o,o/=256,e-=8);for(r=r<0;a[f++]=255&r,r/=256,s-=8);return a[--f]|=128*p,a}function o(t,e,n){var r,o=8*n-e-1,i=(1<>1,s=o-7,u=n-1,c=t[u--],l=127&c;for(c>>=7;s>0;l=256*l+t[u],u--,s-=8);for(r=l&(1<<-s)-1,l>>=-s,s+=e;s>0;r=256*r+t[u],u--,s-=8);if(0===l)l=1-a;else{if(l===i)return r?NaN:c?-I:I;r+=R(2,e),l-=a}return(c?-1:1)*r*R(2,l-e)}function i(t){return t[3]<<24|t[2]<<16|t[1]<<8|t[0]}function a(t){return[255&t]}function s(t){return[255&t,t>>8&255]}function u(t){return[255&t,t>>8&255,t>>16&255,t>>24&255]}function c(t){return r(t,52,8)}function l(t){return r(t,23,4)}function f(t,e,n){x(t[T],e,{get:function(){return this[n]}})}function p(t,e,n,r){var o=+n,i=E(o);if(i+e>t[G])throw N(M);var a=t[B]._b,s=i+t[U],u=a.slice(s,s+e);return r?u:u.reverse()}function h(t,e,n,r,o,i){var a=+n,s=E(a);if(s+e>t[G])throw N(M);for(var u=t[B]._b,c=s+t[U],l=r(+o),f=0;f$;)(Z=q[$++])in A||m(A,Z,V[Z]);g||(W.constructor=A)}var K=new j(new A(2)),Q=j[T].setInt8;K.setInt8(0,2147483648),K.setInt8(1,2147483649),!K.getInt8(0)&&K.getInt8(1)||b(j[T],{setInt8:function(t,e){Q.call(this,t,e<<24>>24)},setUint8:function(t,e){Q.call(this,t,e<<24>>24)}},!0)}else A=function(t){w(this,A,"ArrayBuffer");var e=E(t);this._b=S.call(new Array(e),0),this[G]=e},j=function(t,e,n){w(this,j,"DataView"),w(t,A,"DataView");var r=t[G],o=C(e);if(o<0||o>r)throw N("Wrong offset!");if(n=void 0===n?r-o:O(n),o+n>r)throw N("Wrong length!");this[B]=t,this[U]=o,this[G]=n},y&&(f(A,"byteLength","_l"),f(j,"buffer","_b"),f(j,"byteLength","_l"),f(j,"byteOffset","_o")),b(j[T],{getInt8:function(t){return p(this,1,t)[0]<<24>>24},getUint8:function(t){return p(this,1,t)[0]},getInt16:function(t){var e=p(this,2,t,arguments[1]);return(e[1]<<8|e[0])<<16>>16},getUint16:function(t){var e=p(this,2,t,arguments[1]);return e[1]<<8|e[0]},getInt32:function(t){return i(p(this,4,t,arguments[1]))},getUint32:function(t){return i(p(this,4,t,arguments[1]))>>>0},getFloat32:function(t){return o(p(this,4,t,arguments[1]),23,4)},getFloat64:function(t){return o(p(this,8,t,arguments[1]),52,8)},setInt8:function(t,e){h(this,1,t,a,e)},setUint8:function(t,e){h(this,1,t,a,e)},setInt16:function(t,e){h(this,2,t,s,e,arguments[2])},setUint16:function(t,e){h(this,2,t,s,e,arguments[2])},setInt32:function(t,e){h(this,4,t,u,e,arguments[2])},setUint32:function(t,e){h(this,4,t,u,e,arguments[2])},setFloat32:function(t,e){h(this,4,t,l,e,arguments[2])},setFloat64:function(t,e){h(this,8,t,c,e,arguments[2])}});P(A,"ArrayBuffer"),P(j,"DataView"),m(j[T],v.VIEW,!0),e.ArrayBuffer=A,e.DataView=j},function(t,e){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(t){"object"==typeof window&&(n=window)}t.exports=n},function(t,e,n){"use strict";var r=n(44),o=r.root.Symbol;e.rxSubscriber="function"==typeof o&&"function"==typeof o.for?o.for("rxSubscriber"):"@@rxSubscriber",e.$$rxSubscriber=e.rxSubscriber},function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n(21),i=n(37),a=n(62),s=n(312),u=n(313),c=n(86),l=function(t){function e(e){t.call(this,e),this.destination=e}return r(e,t),e}(i.Subscriber);e.SubjectSubscriber=l;var f=function(t){function e(){t.call(this),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}return r(e,t),e.prototype[c.rxSubscriber]=function(){return new l(this)},e.prototype.lift=function(t){var e=new p(this,this);return e.operator=t,e},e.prototype.next=function(t){if(this.closed)throw new s.ObjectUnsubscribedError;if(!this.isStopped)for(var e=this.observers,n=e.length,r=e.slice(),o=0;o0?(t.state.opened?n.push("tree-open"):n.push("tree-closed"),t.state.loading&&n.push("tree-loading")):n.push("tree-leaf"),e&&n.push("tree-last"),n.join(" ")}function i(t,e,n){var r=["tree-anchor","tree-relative","tree-anchor-"+n.join("-")];return t.state.selected&&r.push("tree-clicked"),t.state.disabled&&r.push("tree-disabled"),t.state.highlighted&&r.push("tree-search"),e&&r.push("tree-hovered"),r.join(" ")}function a(t,e){var n=["tree-icon","tree-checkbox","tree-checkbox-"+e.join("-")];return t.children&&t.children.some(function(t){return t.state.selected})&&t.children.some(function(t){return!t.state.selected})&&n.push("tree-undetermined"),n.join(" ")}function s(t,e,n){void 0===n&&(n="default");var r=["tree"];return e?r.push("tree-"+n+"-"+e):r.push("tree-"+n),t&&r.push("tree-checkbox-selection","tree-checkbox-no-clicked"),r.join(" ")}function u(t){var e=["tree-icon","tree-themeicon"];return t&&e.push(t,"tree-themeicon-custom"),e.join(" ")}function c(t){return["tree-icon","tree-ocl","tree-ocl-"+t.join("-")].join(" ")}function l(t){var e=["tree-marker-"+t.state.dropPosition];return t.state.dropAllowed?e.push("allowed"):e.push("not-allowed"),e.join(" ")}function f(t,e){for(var n=null,r=0,o=e;r2*n/3?3:2}function h(t){if(t.state.dropPosition&&(t.state.dropPosition=0),t.children)for(var e=0,n=t.children;e\n the source code of the demo\n
\n default:\n
\n \n
\n selected id: {{selectedId}}\n
\n checkbox:\n
\n \n
\n
\n draggable:\n
\n \n
\n
\n no dots:\n
\n \n
\n
\n large:\n
\n \n
\n
\n small:\n
\n \n
\n
\n dark theme:\n
\n \n
\n
\n node id:\n
\n \n
\n \n '}]}],t.ctorParameters=function(){return[]},t}()},function(t,e,n){t.exports=!n(7)&&!n(2)(function(){return 7!=Object.defineProperty(n(64)("div"),"a",{get:function(){return 7}}).a})},function(t,e,n){e.f=n(5)},function(t,e,n){var r=n(9),o=n(17),i=n(65)(!1),a=n(66)("IE_PROTO");t.exports=function(t,e){var n,s=o(t),u=0,c=[];for(n in s)n!=a&&r(s,n)&&c.push(n);for(;e.length>u;)r(s,n=e[u++])&&(~i(c,n)||c.push(n));return c}},function(t,e,n){var r=n(6),o=n(1),i=n(45);t.exports=n(7)?Object.defineProperties:function(t,e){o(t);for(var n,a=i(e),s=a.length,u=0;s>u;)r.f(t,n=a[u++],e[n]);return t}},function(t,e,n){var r=n(17),o=n(36).f,i={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],s=function(t){try{return o(t)}catch(t){return a.slice()}};t.exports.f=function(t){return a&&"[object Window]"==i.call(t)?s(t):o(r(t))}},function(t,e,n){"use strict";var r=n(45),o=n(51),i=n(52),a=n(12),s=n(46),u=Object.assign;t.exports=!u||n(2)(function(){var t={},e={},n=Symbol(),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach(function(t){e[t]=t}),7!=u({},t)[n]||Object.keys(u({},e)).join("")!=r})?function(t,e){for(var n=a(t),u=arguments.length,c=1,l=o.f,f=i.f;u>c;)for(var p,h=s(arguments[c++]),d=l?r(h).concat(l(h)):r(h),y=d.length,g=0;y>g;)f.call(h,p=d[g++])&&(n[p]=h[p]);return n}:u},function(t,e,n){"use strict";var r=n(16),o=n(3),i=n(97),a=[].slice,s={},u=function(t,e,n){if(!(e in s)){for(var r=[],o=0;o>>0||(a.test(n)?16:10))}:r},function(t,e,n){var r=n(4).parseFloat,o=n(54).trim;t.exports=1/r(n(71)+"-0")!=-1/0?function(t){var e=o(String(t),3),n=r(e);return 0===n&&"-"==e.charAt(0)?-0:n}:r},function(t,e,n){var r=n(23);t.exports=function(t,e){if("number"!=typeof t&&"Number"!=r(t))throw TypeError(e);return+t}},function(t,e,n){"use strict";var r=n(24),o=n(31);t.exports=function(t){var e=String(o(this)),n="",i=r(t);if(i<0||i==1/0)throw RangeError("Count can't be negative");for(;i>0;(i>>>=1)&&(e+=e))1&i&&(n+=e);return n}},function(t,e,n){var r=n(3),o=Math.floor;t.exports=function(t){return!r(t)&&isFinite(t)&&o(t)===t}},function(t,e){t.exports=Math.log1p||function(t){return(t=+t)>-1e-8&&t<1e-8?t-t*t/2:Math.log(1+t)}},function(t,e,n){var r=n(24),o=n(31);t.exports=function(t){return function(e,n){var i,a,s=String(o(e)),u=r(n),c=s.length;return u<0||u>=c?t?"":void 0:(i=s.charCodeAt(u),i<55296||i>56319||u+1===c||(a=s.charCodeAt(u+1))<56320||a>57343?t?s.charAt(u):i:t?s.slice(u,u+2):a-56320+(i-55296<<10)+65536)}}},function(t,e,n){"use strict";var r=n(35),o=n(32),i=n(38),a={};n(13)(a,n(5)("iterator"),function(){return this}),t.exports=function(t,e,n){t.prototype=r(a,{next:o(1,n)}),i(t,e+" Iterator")}},function(t,e,n){var r=n(1);t.exports=function(t,e,n,o){try{return o?e(r(n)[0],n[1]):e(n)}catch(e){var i=t.return;throw void 0!==i&&r(i.call(t)),e}}},function(t,e,n){"use strict";var r=n(6),o=n(32);t.exports=function(t,e,n){e in t?r.f(t,e,o(0,n)):t[e]=n}},function(t,e,n){var r=n(16),o=n(12),i=n(46),a=n(8);t.exports=function(t,e,n,s,u){r(e);var c=o(t),l=i(c),f=a(c.length),p=u?f-1:0,h=u?-1:1;if(n<2)for(;;){if(p in l){s=l[p],p+=h;break}if(p+=h,u?p<0:f<=p)throw TypeError("Reduce of empty array with no initial value")}for(;u?p>=0:f>p;p+=h)p in l&&(s=e(s,l[p],p,c));return s}},function(t,e,n){"use strict";var r=n(12),o=n(34),i=n(8);t.exports=[].copyWithin||function(t,e){var n=r(this),a=i(n.length),s=o(t,a),u=o(e,a),c=arguments.length>2?arguments[2]:void 0,l=Math.min((void 0===c?a:o(c,a))-u,a-s),f=1;for(u0;)u in n?n[s]=n[u]:delete n[s],s+=f,u+=f;return n}},function(t,e,n){"use strict";var r=n(48),o=n(111),i=n(47),a=n(17);t.exports=n(75)(Array,"Array",function(t,e){this._t=a(t),this._i=0,this._k=e},function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,o(1)):"keys"==e?o(0,n):"values"==e?o(0,t[n]):o(0,[n,t[n]])},"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},function(t,e,n){n(7)&&"g"!=/./g.flags&&n(6).f(RegExp.prototype,"flags",{configurable:!0,get:n(82)})},function(t,e,n){var r,o,i,a=n(22),s=n(97),u=n(69),c=n(64),l=n(4),f=l.process,p=l.setImmediate,h=l.clearImmediate,d=l.MessageChannel,y=l.Dispatch,g=0,v={},m=function(){var t=+this;if(v.hasOwnProperty(t)){var e=v[t];delete v[t],e()}},b=function(t){m.call(t.data)};p&&h||(p=function(t){for(var e=[],n=1;arguments.length>n;)e.push(arguments[n++]);return v[++g]=function(){s("function"==typeof t?t:Function(t),e)},r(g),g},h=function(t){delete v[t]},"process"==n(23)(f)?r=function(t){f.nextTick(a(m,t,1))}:y&&y.now?r=function(t){y.now(a(m,t,1))}:d?(o=new d,i=o.port2,o.port1.onmessage=b,r=a(i.postMessage,i,1)):l.addEventListener&&"function"==typeof postMessage&&!l.importScripts?(r=function(t){l.postMessage(t+"","*")},l.addEventListener("message",b,!1)):r="onreadystatechange"in c("script")?function(t){u.appendChild(c("script")).onreadystatechange=function(){u.removeChild(this),m.call(t)}}:function(t){setTimeout(a(m,t,1),0)}),t.exports={set:p,clear:h}},function(t,e,n){"use strict";function r(t){var e,n;this.promise=new t(function(t,r){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=r}),this.resolve=o(e),this.reject=o(n)}var o=n(16);t.exports.f=function(t){return new r(t)}},function(t,e,n){"use strict";var r=n(116),o=n(43);t.exports=n(57)("Map",function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},{get:function(t){var e=r.getEntry(o(this,"Map"),t);return e&&e.v},set:function(t,e){return r.def(o(this,"Map"),0===t?0:t,e)}},r,!0)},function(t,e,n){"use strict";var r=n(6).f,o=n(35),i=n(42),a=n(22),s=n(41),u=n(49),c=n(75),l=n(111),f=n(40),p=n(7),h=n(30).fastKey,d=n(43),y=p?"_s":"size",g=function(t,e){var n,r=h(e);if("F"!==r)return t._i[r];for(n=t._f;n;n=n.n)if(n.k==e)return n};t.exports={getConstructor:function(t,e,n,c){var l=t(function(t,r){s(t,l,e,"_i"),t._t=e,t._i=o(null),t._f=void 0,t._l=void 0,t[y]=0,void 0!=r&&u(r,n,t[c],t)});return i(l.prototype,{clear:function(){for(var t=d(this,e),n=t._i,r=t._f;r;r=r.n)r.r=!0,r.p&&(r.p=r.p.n=void 0),delete n[r.i];t._f=t._l=void 0,t[y]=0},delete:function(t){var n=d(this,e),r=g(n,t);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[y]--}return!!r},forEach:function(t){d(this,e);for(var n,r=a(t,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(t){return!!g(d(this,e),t)}}),p&&r(l.prototype,"size",{get:function(){return d(this,e)[y]}}),l},def:function(t,e,n){var r,o,i=g(t,e);return i?i.v=n:(t._l=i={i:o=h(e,!0),k:e,v:n,p:r=t._l,n:void 0,r:!1},t._f||(t._f=i),r&&(r.n=i),t[y]++,"F"!==o&&(t._i[o]=i)),t},getEntry:g,setStrong:function(t,e,n){c(t,e,function(t,n){this._t=d(t,e),this._k=n,this._l=void 0},function(){for(var t=this,e=t._k,n=t._l;n&&n.r;)n=n.p;return t._t&&(t._l=n=n?n.n:t._t._f)?"keys"==e?l(0,n.k):"values"==e?l(0,n.v):l(0,[n.k,n.v]):(t._t=void 0,l(1))},n?"entries":"values",!n,!0),f(e)}}},function(t,e,n){"use strict";var r=n(116),o=n(43);t.exports=n(57)("Set",function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},{add:function(t){return r.def(o(this,"Set"),t=0===t?0:t,t)}},r)},function(t,e,n){"use strict";var r,o=n(20)(0),i=n(11),a=n(30),s=n(95),u=n(119),c=n(3),l=n(2),f=n(43),p=a.getWeak,h=Object.isExtensible,d=u.ufstore,y={},g=function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},v={get:function(t){if(c(t)){var e=p(t);return!0===e?d(f(this,"WeakMap")).get(t):e?e[this._i]:void 0}},set:function(t,e){return u.def(f(this,"WeakMap"),t,e)}},m=t.exports=n(57)("WeakMap",g,v,u,!0,!0);l(function(){return 7!=(new m).set((Object.freeze||Object)(y),7).get(y)})&&(r=u.getConstructor(g,"WeakMap"),s(r.prototype,v),a.NEED=!0,o(["delete","has","get","set"],function(t){var e=m.prototype,n=e[t];i(e,t,function(e,o){if(c(e)&&!h(e)){this._f||(this._f=new r);var i=this._f[t](e,o);return"set"==t?this:i}return n.call(this,e,o)})}))},function(t,e,n){"use strict";var r=n(42),o=n(30).getWeak,i=n(1),a=n(3),s=n(41),u=n(49),c=n(20),l=n(9),f=n(43),p=c(5),h=c(6),d=0,y=function(t){return t._l||(t._l=new g)},g=function(){this.a=[]},v=function(t,e){return p(t.a,function(t){return t[0]===e})};g.prototype={get:function(t){var e=v(this,t);if(e)return e[1]},has:function(t){return!!v(this,t)},set:function(t,e){var n=v(this,t);n?n[1]=e:this.a.push([t,e])},delete:function(t){var e=h(this.a,function(e){return e[0]===t});return~e&&this.a.splice(e,1),!!~e}},t.exports={getConstructor:function(t,e,n,i){var c=t(function(t,r){s(t,c,e,"_i"),t._t=e,t._i=d++,t._l=void 0,void 0!=r&&u(r,n,t[i],t)});return r(c.prototype,{delete:function(t){if(!a(t))return!1;var n=o(t);return!0===n?y(f(this,e)).delete(t):n&&l(n,this._i)&&delete n[this._i]},has:function(t){if(!a(t))return!1;var n=o(t);return!0===n?y(f(this,e)).has(t):n&&l(n,this._i)}}),c},def:function(t,e,n){var r=o(i(e),!0);return!0===r?y(t).set(e,n):r[t._i]=n,t},ufstore:y}},function(t,e,n){var r=n(24),o=n(8);t.exports=function(t){if(void 0===t)return 0;var e=r(t),n=o(e);if(e!==n)throw RangeError("Wrong length!");return n}},function(t,e,n){"use strict";function r(t){return"function"==typeof t}e.isFunction=r},function(t,e,n){"use strict";e.isArray=Array.isArray||function(t){return t&&"number"==typeof t.length}},function(t,e,n){"use strict";function r(t){return null!=t&&"object"==typeof t}e.isObject=r},function(t,e,n){"use strict";e.errorObject={e:{}}},function(t,e,n){"use strict";e.empty={closed:!0,next:function(t){},error:function(t){throw t},complete:function(){}}},function(t,e,n){"use strict";function r(t){var e,n=t.Symbol;return"function"==typeof n?n.observable?e=n.observable:(e=n("observable"),n.observable=e):e="@@observable",e}var o=n(44);e.getSymbolObservable=r,e.observable=r(o.root),e.$$observable=e.observable},function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n(21),i=function(t){function e(e){t.call(this),this.scheduler=e}return r(e,t),e.create=function(t){return new e(t)},e.dispatch=function(t){t.subscriber.complete()},e.prototype._subscribe=function(t){var n=this.scheduler;if(n)return n.schedule(e.dispatch,0,{subscriber:t});t.complete()},e}(o.Observable);e.EmptyObservable=i},function(t,e,n){"use strict";function r(t){return t&&"function"==typeof t.schedule}e.isScheduler=r},function(t,e,n){"use strict";function r(t,e,n,r){var p=new l.InnerSubscriber(t,n,r);if(p.closed)return null;if(e instanceof u.Observable)return e._isScalar?(p.next(e.value),p.complete(),null):(p.syncErrorThrowable=!0,e.subscribe(p));if(i.isArrayLike(e)){for(var h=0,d=e.length;h1)return void(this.connection=null);var n=this.connection,r=t._connection;this.connection=null,!r||n&&r!==n||r.unsubscribe()},e}(i.Subscriber)},function(t,e){function n(t){return Promise.resolve().then(function(){throw new Error("Cannot find module '"+t+"'.")})}n.keys=function(){return[]},n.resolve=n,t.exports=n,n.id=132},function(t,e,n){"use strict";function r(t){return null==t||0===t.length}function o(t){return null!=t}function i(t){var e=Object(z._12)(t)?Object(B.fromPromise)(t):t;if(!Object(z._11)(e))throw new Error("Expected validator to return Promise or Observable.");return e}function a(t,e){return e.map(function(e){return e(t)})}function s(t,e){return e.map(function(e){return e(t)})}function u(t){var e=t.reduce(function(t,e){return null!=e?Object(L.a)({},t,e):t},{});return 0===Object.keys(e).length?null:e}function c(){return/android (\d+)/.test((Object(U.r)()?Object(U.r)().getUserAgent():"").toLowerCase())}function l(t){return t.validate?function(e){return t.validate(e)}:t}function f(t){return t.validate?function(e){return t.validate(e)}:t}function p(){throw new Error("unimplemented")}function h(t,e){return null==t?""+e:(e&&"object"==typeof e&&(e="Object"),(t+": "+e).slice(0,50))}function d(t){return t.split(":")[0]}function y(t,e){return null==t?""+e:("string"==typeof e&&(e="'"+e+"'"),e&&"object"==typeof e&&(e="Object"),(t+": "+e).slice(0,50))}function g(t){return t.split(":")[0]}function v(t,e){return e.path.concat([t])}function m(t,e){t||x(e,"Cannot find control with"),e.valueAccessor||x(e,"No value accessor for form control with"),t.validator=Q.compose([t.validator,e.validator]),t.asyncValidator=Q.composeAsync([t.asyncValidator,e.asyncValidator]),e.valueAccessor.writeValue(t.value),_(t,e),O(t,e),w(t,e),e.valueAccessor.setDisabledState&&t.registerOnDisabledChange(function(t){e.valueAccessor.setDisabledState(t)}),e._rawValidators.forEach(function(e){e.registerOnValidatorChange&&e.registerOnValidatorChange(function(){return t.updateValueAndValidity()})}),e._rawAsyncValidators.forEach(function(e){e.registerOnValidatorChange&&e.registerOnValidatorChange(function(){return t.updateValueAndValidity()})})}function b(t,e){e.valueAccessor.registerOnChange(function(){return k(e)}),e.valueAccessor.registerOnTouched(function(){return k(e)}),e._rawValidators.forEach(function(t){t.registerOnValidatorChange&&t.registerOnValidatorChange(null)}),e._rawAsyncValidators.forEach(function(t){t.registerOnValidatorChange&&t.registerOnValidatorChange(null)}),t&&t._clearChangeFns()}function _(t,e){e.valueAccessor.registerOnChange(function(n){t._pendingValue=n,t._pendingChange=!0,t._pendingDirty=!0,"change"===t.updateOn&&C(t,e)})}function w(t,e){e.valueAccessor.registerOnTouched(function(){t._pendingTouched=!0,"blur"===t.updateOn&&t._pendingChange&&C(t,e),"submit"!==t.updateOn&&t.markAsTouched()})}function C(t,e){e.viewToModelUpdate(t._pendingValue),t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),t._pendingChange=!1}function O(t,e){t.registerOnChange(function(t,n){e.valueAccessor.writeValue(t),n&&e.viewToModelUpdate(t)})}function E(t,e){null==t&&x(e,"Cannot find control with"),t.validator=Q.compose([t.validator,e.validator]),t.asyncValidator=Q.composeAsync([t.asyncValidator,e.asyncValidator])}function k(t){return x(t,"There is no FormControl instance attached to form control element with")}function x(t,e){var n;throw n=t.path.length>1?"path: '"+t.path.join(" -> ")+"'":t.path[0]?"name: '"+t.path+"'":"unspecified name attribute",new Error(e+" "+n)}function S(t){return null!=t?Q.compose(t.map(l)):null}function P(t){return null!=t?Q.composeAsync(t.map(f)):null}function T(t,e){if(!t.hasOwnProperty("model"))return!1;var n=t.model;return!!n.isFirstChange()||!Object(z._13)(e,n.currentValue)}function M(t){return vt.some(function(e){return t.constructor===e})}function A(t,e){t._syncPendingControls(),e.forEach(function(t){var e=t.control;"submit"===e.updateOn&&e._pendingChange&&(t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1)})}function j(t,e){if(!e)return null;var n=void 0,r=void 0,o=void 0;return e.forEach(function(e){e.constructor===nt?n=e:M(e)?(r&&x(t,"More than one built-in value accessor matches form control with"),r=e):(o&&x(t,"More than one custom value accessor matches form control with"),o=e)}),o||(r||(n||(x(t,"No valid value accessor for form control with"),null)))}function D(t,e){var n=t.indexOf(e);n>-1&&t.splice(n,1)}function N(t,e,n){return null==e?null:(e instanceof Array||(e=e.split(n)),e instanceof Array&&0===e.length?null:e.reduce(function(t,e){return t instanceof kt?t.controls[e]||null:t instanceof xt?t.at(e)||null:null},t))}function I(t){var e=F(t)?t.validators:t;return Array.isArray(e)?S(e):e||null}function V(t,e){var n=F(e)?e.asyncValidators:t;return Array.isArray(n)?P(n):n||null}function F(t){return null!=t&&!Array.isArray(t)&&"object"==typeof t}function R(t){return!(t instanceof Gt||t instanceof Ht||t instanceof Zt)}n.d(e,"a",function(){return pe}),n.d(e,"b",function(){return fe}),n.d(e,"c",function(){return st});var L=n(61),z=n(15),H=n(316),B=(n.n(H),n(318)),G=(n.n(B),n(320)),U=(n.n(G),n(59)),Z=function(){function t(){}return Object.defineProperty(t.prototype,"value",{get:function(){return this.control?this.control.value:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"valid",{get:function(){return this.control?this.control.valid:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"invalid",{get:function(){return this.control?this.control.invalid:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pending",{get:function(){return this.control?this.control.pending:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"disabled",{get:function(){return this.control?this.control.disabled:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"enabled",{get:function(){return this.control?this.control.enabled:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"errors",{get:function(){return this.control?this.control.errors:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pristine",{get:function(){return this.control?this.control.pristine:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"dirty",{get:function(){return this.control?this.control.dirty:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"touched",{get:function(){return this.control?this.control.touched:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"status",{get:function(){return this.control?this.control.status:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"untouched",{get:function(){return this.control?this.control.untouched:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"statusChanges",{get:function(){return this.control?this.control.statusChanges:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"valueChanges",{get:function(){return this.control?this.control.valueChanges:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"path",{get:function(){return null},enumerable:!0,configurable:!0}),t.prototype.reset=function(t){void 0===t&&(t=void 0),this.control&&this.control.reset(t)},t.prototype.hasError=function(t,e){return!!this.control&&this.control.hasError(t,e)},t.prototype.getError=function(t,e){return this.control?this.control.getError(t,e):null},t}(),W=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(L.b)(e,t),Object.defineProperty(e.prototype,"formDirective",{get:function(){return null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"path",{get:function(){return null},enumerable:!0,configurable:!0}),e}(Z),q=new z.r("NgValidators"),$=new z.r("NgAsyncValidators"),K=/^(?=.{1,254}$)(?=.{1,64}@)[-!#$%&'*+\/0-9=?A-Z^_`a-z{|}~]+(\.[-!#$%&'*+\/0-9=?A-Z^_`a-z{|}~]+)*@[A-Za-z0-9]([A-Za-z0-9-]{0,61}[A-Za-z0-9])?(\.[A-Za-z0-9]([A-Za-z0-9-]{0,61}[A-Za-z0-9])?)*$/,Q=function(){function t(){}return t.min=function(t){return function(e){if(r(e.value)||r(t))return null;var n=parseFloat(e.value);return!isNaN(n)&&nt?{max:{max:t,actual:e.value}}:null}},t.required=function(t){return r(t.value)?{required:!0}:null},t.requiredTrue=function(t){return!0===t.value?null:{required:!0}},t.email=function(t){return K.test(t.value)?null:{email:!0}},t.minLength=function(t){return function(e){if(r(e.value))return null;var n=e.value?e.value.length:0;return nt?{maxlength:{requiredLength:t,actualLength:n}}:null}},t.pattern=function(e){if(!e)return t.nullValidator;var n,o;return"string"==typeof e?(o="^"+e+"$",n=new RegExp(o)):(o=e.toString(),n=e),function(t){if(r(t.value))return null;var e=t.value;return n.test(e)?null:{pattern:{requiredPattern:o,actualValue:e}}}},t.nullValidator=function(t){return null},t.compose=function(t){if(!t)return null;var e=t.filter(o);return 0==e.length?null:function(t){return u(a(t,e))}},t.composeAsync=function(t){if(!t)return null;var e=t.filter(o);return 0==e.length?null:function(t){var n=s(t,e).map(i);return G.map.call(Object(H.forkJoin)(n),u)}},t}(),Y=new z.r("NgValueAccessor"),J={provide:Y,useExisting:Object(z.V)(function(){return X}),multi:!0},X=function(){function t(t,e){this._renderer=t,this._elementRef=e,this.onChange=function(t){},this.onTouched=function(){}}return t.prototype.writeValue=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"checked",t)},t.prototype.registerOnChange=function(t){this.onChange=t},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t.decorators=[{type:z.k,args:[{selector:"input[type=checkbox][formControlName],input[type=checkbox][formControl],input[type=checkbox][ngModel]",host:{"(change)":"onChange($event.target.checked)","(blur)":"onTouched()"},providers:[J]}]}],t.ctorParameters=function(){return[{type:z.G},{type:z.l}]},t}(),tt={provide:Y,useExisting:Object(z.V)(function(){return nt}),multi:!0},et=new z.r("CompositionEventMode"),nt=function(){function t(t,e,n){this._renderer=t,this._elementRef=e,this._compositionMode=n,this.onChange=function(t){},this.onTouched=function(){},this._composing=!1,null==this._compositionMode&&(this._compositionMode=!c())}return t.prototype.writeValue=function(t){var e=null==t?"":t;this._renderer.setProperty(this._elementRef.nativeElement,"value",e)},t.prototype.registerOnChange=function(t){this.onChange=t},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t.prototype._handleInput=function(t){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(t)},t.prototype._compositionStart=function(){this._composing=!0},t.prototype._compositionEnd=function(t){this._composing=!1,this._compositionMode&&this.onChange(t)},t.decorators=[{type:z.k,args:[{selector:"input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]",host:{"(input)":"$any(this)._handleInput($event.target.value)","(blur)":"onTouched()","(compositionstart)":"$any(this)._compositionStart()","(compositionend)":"$any(this)._compositionEnd($event.target.value)"},providers:[tt]}]}],t.ctorParameters=function(){return[{type:z.G},{type:z.l},{type:void 0,decorators:[{type:z.B},{type:z.p,args:[et]}]}]},t}(),rt={provide:Y,useExisting:Object(z.V)(function(){return ot}),multi:!0},ot=function(){function t(t,e){this._renderer=t,this._elementRef=e,this.onChange=function(t){},this.onTouched=function(){}}return t.prototype.writeValue=function(t){var e=null==t?"":t;this._renderer.setProperty(this._elementRef.nativeElement,"value",e)},t.prototype.registerOnChange=function(t){this.onChange=function(e){t(""==e?null:parseFloat(e))}},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t.decorators=[{type:z.k,args:[{selector:"input[type=number][formControlName],input[type=number][formControl],input[type=number][ngModel]",host:{"(change)":"onChange($event.target.value)","(input)":"onChange($event.target.value)","(blur)":"onTouched()"},providers:[rt]}]}],t.ctorParameters=function(){return[{type:z.G},{type:z.l}]},t}(),it=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._parent=null,e.name=null,e.valueAccessor=null,e._rawValidators=[],e._rawAsyncValidators=[],e}return Object(L.b)(e,t),Object.defineProperty(e.prototype,"validator",{get:function(){return p()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"asyncValidator",{get:function(){return p()},enumerable:!0,configurable:!0}),e}(Z),at={provide:Y,useExisting:Object(z.V)(function(){return ut}),multi:!0},st=function(){function t(){this._accessors=[]}return t.prototype.add=function(t,e){this._accessors.push([t,e])},t.prototype.remove=function(t){for(var e=this._accessors.length-1;e>=0;--e)if(this._accessors[e][1]===t)return void this._accessors.splice(e,1)},t.prototype.select=function(t){var e=this;this._accessors.forEach(function(n){e._isSameGroup(n,t)&&n[1]!==t&&n[1].fireUncheck(t.value)})},t.prototype._isSameGroup=function(t,e){return!!t[0].control&&(t[0]._parent===e._control._parent&&t[1].name===e.name)},t.decorators=[{type:z.q}],t.ctorParameters=function(){return[]},t}(),ut=function(){function t(t,e,n,r){this._renderer=t,this._elementRef=e,this._registry=n,this._injector=r,this.onChange=function(){},this.onTouched=function(){}}return t.prototype.ngOnInit=function(){this._control=this._injector.get(it),this._checkName(),this._registry.add(this._control,this)},t.prototype.ngOnDestroy=function(){this._registry.remove(this)},t.prototype.writeValue=function(t){this._state=t===this.value,this._renderer.setProperty(this._elementRef.nativeElement,"checked",this._state)},t.prototype.registerOnChange=function(t){var e=this;this._fn=t,this.onChange=function(){t(e.value),e._registry.select(e)}},t.prototype.fireUncheck=function(t){this.writeValue(t)},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t.prototype._checkName=function(){this.name&&this.formControlName&&this.name!==this.formControlName&&this._throwNameError(),!this.name&&this.formControlName&&(this.name=this.formControlName)},t.prototype._throwNameError=function(){throw new Error('\n If you define both a name and a formControlName attribute on your radio button, their values\n must match. Ex: \n ')},t.decorators=[{type:z.k,args:[{selector:"input[type=radio][formControlName],input[type=radio][formControl],input[type=radio][ngModel]",host:{"(change)":"onChange()","(blur)":"onTouched()"},providers:[at]}]}],t.ctorParameters=function(){return[{type:z.G},{type:z.l},{type:st},{type:z.s}]},t.propDecorators={name:[{type:z.t}],formControlName:[{type:z.t}],value:[{type:z.t}]},t}(),ct={provide:Y,useExisting:Object(z.V)(function(){return lt}),multi:!0},lt=function(){function t(t,e){this._renderer=t,this._elementRef=e,this.onChange=function(t){},this.onTouched=function(){}}return t.prototype.writeValue=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"value",parseFloat(t))},t.prototype.registerOnChange=function(t){this.onChange=function(e){t(""==e?null:parseFloat(e))}},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t.decorators=[{type:z.k,args:[{selector:"input[type=range][formControlName],input[type=range][formControl],input[type=range][ngModel]",host:{"(change)":"onChange($event.target.value)","(input)":"onChange($event.target.value)","(blur)":"onTouched()"},providers:[ct]}]}],t.ctorParameters=function(){return[{type:z.G},{type:z.l}]},t}(),ft={provide:Y,useExisting:Object(z.V)(function(){return pt}),multi:!0},pt=function(){function t(t,e){this._renderer=t,this._elementRef=e,this._optionMap=new Map,this._idCounter=0,this.onChange=function(t){},this.onTouched=function(){},this._compareWith=z._13}return Object.defineProperty(t.prototype,"compareWith",{set:function(t){if("function"!=typeof t)throw new Error("compareWith must be a function, but received "+JSON.stringify(t));this._compareWith=t},enumerable:!0,configurable:!0}),t.prototype.writeValue=function(t){this.value=t;var e=this._getOptionId(t);null==e&&this._renderer.setProperty(this._elementRef.nativeElement,"selectedIndex",-1);var n=h(e,t);this._renderer.setProperty(this._elementRef.nativeElement,"value",n)},t.prototype.registerOnChange=function(t){var e=this;this.onChange=function(n){e.value=e._getOptionValue(n),t(e.value)}},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t.prototype._registerOption=function(){return(this._idCounter++).toString()},t.prototype._getOptionId=function(t){for(var e=0,n=Array.from(this._optionMap.keys());e-1)}}else n=function(t,e){t._setSelected(!1)};this._optionMap.forEach(n)},t.prototype.registerOnChange=function(t){var e=this;this.onChange=function(n){var r=[];if(n.hasOwnProperty("selectedOptions"))for(var o=n.selectedOptions,i=0;i0||this.disabled},e.prototype._checkAllValuesPresent=function(t){this._forEachChild(function(e,n){if(void 0===t[n])throw new Error("Must supply a value for form control with name: '"+n+"'.")})},e}(Ot),xt=function(t){function e(e,n,r){var o=t.call(this,I(n),V(r,n))||this;return o.controls=e,o._initObservables(),o._setUpdateStrategy(n),o._setUpControls(),o.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),o}return Object(L.b)(e,t),e.prototype.at=function(t){return this.controls[t]},e.prototype.push=function(t){this.controls.push(t),this._registerControl(t),this.updateValueAndValidity(),this._onCollectionChange()},e.prototype.insert=function(t,e){this.controls.splice(t,0,e),this._registerControl(e),this.updateValueAndValidity(),this._onCollectionChange()},e.prototype.removeAt=function(t){this.controls[t]&&this.controls[t]._registerOnCollectionChange(function(){}),this.controls.splice(t,1),this.updateValueAndValidity(),this._onCollectionChange()},e.prototype.setControl=function(t,e){this.controls[t]&&this.controls[t]._registerOnCollectionChange(function(){}),this.controls.splice(t,1),e&&(this.controls.splice(t,0,e),this._registerControl(e)),this.updateValueAndValidity(),this._onCollectionChange()},Object.defineProperty(e.prototype,"length",{get:function(){return this.controls.length},enumerable:!0,configurable:!0}),e.prototype.setValue=function(t,e){var n=this;void 0===e&&(e={}),this._checkAllValuesPresent(t),t.forEach(function(t,r){n._throwIfControlMissing(r),n.at(r).setValue(t,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)},e.prototype.patchValue=function(t,e){var n=this;void 0===e&&(e={}),t.forEach(function(t,r){n.at(r)&&n.at(r).patchValue(t,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)},e.prototype.reset=function(t,e){void 0===t&&(t=[]),void 0===e&&(e={}),this._forEachChild(function(n,r){n.reset(t[r],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e),this._updatePristine(e),this._updateTouched(e)},e.prototype.getRawValue=function(){return this.controls.map(function(t){return t instanceof Et?t.value:t.getRawValue()})},e.prototype._syncPendingControls=function(){var t=this.controls.reduce(function(t,e){return!!e._syncPendingControls()||t},!1);return t&&this.updateValueAndValidity({onlySelf:!0}),t},e.prototype._throwIfControlMissing=function(t){if(!this.controls.length)throw new Error("\n There are no form controls registered with this array yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.at(t))throw new Error("Cannot find form control at index "+t)},e.prototype._forEachChild=function(t){this.controls.forEach(function(e,n){t(e,n)})},e.prototype._updateValue=function(){var t=this;this.value=this.controls.filter(function(e){return e.enabled||t.disabled}).map(function(t){return t.value})},e.prototype._anyControls=function(t){return this.controls.some(function(e){return e.enabled&&t(e)})},e.prototype._setUpControls=function(){var t=this;this._forEachChild(function(e){return t._registerControl(e)})},e.prototype._checkAllValuesPresent=function(t){this._forEachChild(function(e,n){if(void 0===t[n])throw new Error("Must supply a value for form control at index: "+n+".")})},e.prototype._allControlsDisabled=function(){for(var t=0,e=this.controls;t0||this.disabled},e.prototype._registerControl=function(t){t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)},e}(Ot),St={provide:W,useExisting:Object(z.V)(function(){return Tt})},Pt=Promise.resolve(null),Tt=function(t){function e(e,n){var r=t.call(this)||this;return r.submitted=!1,r._directives=[],r.ngSubmit=new z.n,r.form=new kt({},S(e),P(n)),r}return Object(L.b)(e,t),e.prototype.ngAfterViewInit=function(){this._setUpdateStrategy()},Object.defineProperty(e.prototype,"formDirective",{get:function(){return this},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"control",{get:function(){return this.form},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"path",{get:function(){return[]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"controls",{get:function(){return this.form.controls},enumerable:!0,configurable:!0}),e.prototype.addControl=function(t){var e=this;Pt.then(function(){var n=e._findContainer(t.path);t.control=n.registerControl(t.name,t.control),m(t.control,t),t.control.updateValueAndValidity({emitEvent:!1}),e._directives.push(t)})},e.prototype.getControl=function(t){return this.form.get(t.path)},e.prototype.removeControl=function(t){var e=this;Pt.then(function(){var n=e._findContainer(t.path);n&&n.removeControl(t.name),D(e._directives,t)})},e.prototype.addFormGroup=function(t){var e=this;Pt.then(function(){var n=e._findContainer(t.path),r=new kt({});E(r,t),n.registerControl(t.name,r),r.updateValueAndValidity({emitEvent:!1})})},e.prototype.removeFormGroup=function(t){var e=this;Pt.then(function(){var n=e._findContainer(t.path);n&&n.removeControl(t.name)})},e.prototype.getFormGroup=function(t){return this.form.get(t.path)},e.prototype.updateModel=function(t,e){var n=this;Pt.then(function(){n.form.get(t.path).setValue(e)})},e.prototype.setValue=function(t){this.control.setValue(t)},e.prototype.onSubmit=function(t){return this.submitted=!0,A(this.form,this._directives),this.ngSubmit.emit(t),!1},e.prototype.onReset=function(){this.resetForm()},e.prototype.resetForm=function(t){void 0===t&&(t=void 0),this.form.reset(t),this.submitted=!1},e.prototype._setUpdateStrategy=function(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)},e.prototype._findContainer=function(t){return t.pop(),t.length?this.form.get(t):this.form},e.decorators=[{type:z.k,args:[{selector:"form:not([ngNoForm]):not([formGroup]),ngForm,[ngForm]",providers:[St],host:{"(submit)":"onSubmit($event)","(reset)":"onReset()"},outputs:["ngSubmit"],exportAs:"ngForm"}]}],e.ctorParameters=function(){return[{type:Array,decorators:[{type:z.B},{type:z.L},{type:z.p,args:[q]}]},{type:Array,decorators:[{type:z.B},{type:z.L},{type:z.p,args:[$]}]}]},e.propDecorators={options:[{type:z.t,args:["ngFormOptions"]}]},e}(W),Mt={formControlName:'\n
\n \n
\n\n In your class:\n\n this.myGroup = new FormGroup({\n firstName: new FormControl()\n });',formGroupName:'\n
\n
\n \n
\n
\n\n In your class:\n\n this.myGroup = new FormGroup({\n person: new FormGroup({ firstName: new FormControl() })\n });',formArrayName:'\n
\n
\n
\n \n
\n
\n
\n\n In your class:\n\n this.cityArray = new FormArray([new FormControl(\'SF\')]);\n this.myGroup = new FormGroup({\n cities: this.cityArray\n });',ngModelGroup:'\n
\n
\n \n
\n
',ngModelWithFormGroup:'\n
\n \n \n
\n '},At=function(){function t(){}return t.modelParentException=function(){throw new Error('\n ngModel cannot be used to register form controls with a parent formGroup directive. Try using\n formGroup\'s partner directive "formControlName" instead. Example:\n\n '+Mt.formControlName+"\n\n Or, if you'd like to avoid registering this form control, indicate that it's standalone in ngModelOptions:\n\n Example:\n\n "+Mt.ngModelWithFormGroup)},t.formGroupNameException=function(){throw new Error("\n ngModel cannot be used to register form controls with a parent formGroupName or formArrayName directive.\n\n Option 1: Use formControlName instead of ngModel (reactive strategy):\n\n "+Mt.formGroupName+"\n\n Option 2: Update ngModel's parent be ngModelGroup (template-driven strategy):\n\n "+Mt.ngModelGroup)},t.missingNameException=function(){throw new Error('If ngModel is used within a form tag, either the name attribute must be set or the form\n control must be defined as \'standalone\' in ngModelOptions.\n\n Example 1: \n Example 2: ')},t.modelGroupParentException=function(){throw new Error("\n ngModelGroup cannot be used with a parent formGroup directive.\n\n Option 1: Use formGroupName instead of ngModelGroup (reactive strategy):\n\n "+Mt.formGroupName+"\n\n Option 2: Use a regular form tag instead of the formGroup directive (template-driven strategy):\n\n "+Mt.ngModelGroup)},t}(),jt={provide:W,useExisting:Object(z.V)(function(){return Dt})},Dt=function(t){function e(e,n,r){var o=t.call(this)||this;return o._parent=e,o._validators=n,o._asyncValidators=r,o}return Object(L.b)(e,t),e.prototype._checkParentType=function(){this._parent instanceof e||this._parent instanceof Tt||At.modelGroupParentException()},e.decorators=[{type:z.k,args:[{selector:"[ngModelGroup]",providers:[jt],exportAs:"ngModelGroup"}]}],e.ctorParameters=function(){return[{type:W,decorators:[{type:z.o},{type:z.M}]},{type:Array,decorators:[{type:z.B},{type:z.L},{type:z.p,args:[q]}]},{type:Array,decorators:[{type:z.B},{type:z.L},{type:z.p,args:[$]}]}]},e.propDecorators={name:[{type:z.t,args:["ngModelGroup"]}]},e}(mt),Nt={provide:it,useExisting:Object(z.V)(function(){return Vt})},It=Promise.resolve(null),Vt=function(t){function e(e,n,r,o){var i=t.call(this)||this;return i.control=new Et,i._registered=!1,i.update=new z.n,i._parent=e,i._rawValidators=n||[],i._rawAsyncValidators=r||[],i.valueAccessor=j(i,o),i}return Object(L.b)(e,t),e.prototype.ngOnChanges=function(t){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in t&&this._updateDisabled(t),T(t,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)},e.prototype.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeControl(this)},Object.defineProperty(e.prototype,"path",{get:function(){return this._parent?v(this.name,this._parent):[this.name]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"formDirective",{get:function(){return this._parent?this._parent.formDirective:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"validator",{get:function(){return S(this._rawValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"asyncValidator",{get:function(){return P(this._rawAsyncValidators)},enumerable:!0,configurable:!0}),e.prototype.viewToModelUpdate=function(t){this.viewModel=t,this.update.emit(t)},e.prototype._setUpControl=function(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0},e.prototype._setUpdateStrategy=function(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)},e.prototype._isStandalone=function(){return!this._parent||!(!this.options||!this.options.standalone)},e.prototype._setUpStandalone=function(){m(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})},e.prototype._checkForErrors=function(){this._isStandalone()||this._checkParentType(),this._checkName()},e.prototype._checkParentType=function(){!(this._parent instanceof Dt)&&this._parent instanceof mt?At.formGroupNameException():this._parent instanceof Dt||this._parent instanceof Tt||At.modelParentException()},e.prototype._checkName=function(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()||this.name||At.missingNameException()},e.prototype._updateValue=function(t){var e=this;It.then(function(){e.control.setValue(t,{emitViewToModelChange:!1})})},e.prototype._updateDisabled=function(t){var e=this,n=t.isDisabled.currentValue,r=""===n||n&&"false"!==n;It.then(function(){r&&!e.control.disabled?e.control.disable():!r&&e.control.disabled&&e.control.enable()})},e.decorators=[{type:z.k,args:[{selector:"[ngModel]:not([formControlName]):not([formControl])",providers:[Nt],exportAs:"ngModel"}]}],e.ctorParameters=function(){return[{type:W,decorators:[{type:z.B},{type:z.o}]},{type:Array,decorators:[{type:z.B},{type:z.L},{type:z.p,args:[q]}]},{type:Array,decorators:[{type:z.B},{type:z.L},{type:z.p,args:[$]}]},{type:Array,decorators:[{type:z.B},{type:z.L},{type:z.p,args:[Y]}]}]},e.propDecorators={name:[{type:z.t}],isDisabled:[{type:z.t,args:["disabled"]}],model:[{type:z.t,args:["ngModel"]}],options:[{type:z.t,args:["ngModelOptions"]}],update:[{type:z.C,args:["ngModelChange"]}]},e}(it),Ft=function(){function t(){}return t.controlParentException=function(){throw new Error("formControlName must be used with a parent formGroup directive. You'll want to add a formGroup\n directive and pass it an existing FormGroup instance (you can create one in your class).\n\n Example:\n\n "+Mt.formControlName)},t.ngModelGroupException=function(){throw new Error('formControlName cannot be used with an ngModelGroup parent. It is only compatible with parents\n that also have a "form" prefix: formGroupName, formArrayName, or formGroup.\n\n Option 1: Update the parent to be formGroupName (reactive form strategy)\n\n '+Mt.formGroupName+"\n\n Option 2: Use ngModel instead of formControlName (template-driven strategy)\n\n "+Mt.ngModelGroup)},t.missingFormException=function(){throw new Error("formGroup expects a FormGroup instance. Please pass one in.\n\n Example:\n\n "+Mt.formControlName)},t.groupParentException=function(){throw new Error("formGroupName must be used with a parent formGroup directive. You'll want to add a formGroup\n directive and pass it an existing FormGroup instance (you can create one in your class).\n\n Example:\n\n "+Mt.formGroupName)},t.arrayParentException=function(){throw new Error("formArrayName must be used with a parent formGroup directive. You'll want to add a formGroup\n directive and pass it an existing FormGroup instance (you can create one in your class).\n\n Example:\n\n "+Mt.formArrayName)},t.disabledAttrWarning=function(){console.warn("\n It looks like you're using the disabled attribute with a reactive form directive. If you set disabled to true\n when you set up this control in your component class, the disabled attribute will actually be set in the DOM for\n you. We recommend using this approach to avoid 'changed after checked' errors.\n \n Example: \n form = new FormGroup({\n first: new FormControl({value: 'Nancy', disabled: true}, Validators.required),\n last: new FormControl('Drew', Validators.required)\n });\n ")},t}(),Rt={provide:it,useExisting:Object(z.V)(function(){return Lt})},Lt=function(t){function e(e,n,r){var o=t.call(this)||this;return o.update=new z.n,o._rawValidators=e||[],o._rawAsyncValidators=n||[],o.valueAccessor=j(o,r),o}return Object(L.b)(e,t),Object.defineProperty(e.prototype,"isDisabled",{set:function(t){Ft.disabledAttrWarning()},enumerable:!0,configurable:!0}),e.prototype.ngOnChanges=function(t){this._isControlChanged(t)&&(m(this.form,this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this.form.updateValueAndValidity({emitEvent:!1})),T(t,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)},Object.defineProperty(e.prototype,"path",{get:function(){return[]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"validator",{get:function(){return S(this._rawValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"asyncValidator",{get:function(){return P(this._rawAsyncValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"control",{get:function(){return this.form},enumerable:!0,configurable:!0}),e.prototype.viewToModelUpdate=function(t){this.viewModel=t,this.update.emit(t)},e.prototype._isControlChanged=function(t){return t.hasOwnProperty("form")},e.decorators=[{type:z.k,args:[{selector:"[formControl]",providers:[Rt],exportAs:"ngForm"}]}],e.ctorParameters=function(){return[{type:Array,decorators:[{type:z.B},{type:z.L},{type:z.p,args:[q]}]},{type:Array,decorators:[{type:z.B},{type:z.L},{type:z.p,args:[$]}]},{type:Array,decorators:[{type:z.B},{type:z.L},{type:z.p,args:[Y]}]}]},e.propDecorators={form:[{type:z.t,args:["formControl"]}],model:[{type:z.t,args:["ngModel"]}],update:[{type:z.C,args:["ngModelChange"]}],isDisabled:[{type:z.t,args:["disabled"]}]},e}(it),zt={provide:W,useExisting:Object(z.V)(function(){return Ht})},Ht=function(t){function e(e,n){var r=t.call(this)||this;return r._validators=e,r._asyncValidators=n,r.submitted=!1,r.directives=[],r.form=null,r.ngSubmit=new z.n,r}return Object(L.b)(e,t),e.prototype.ngOnChanges=function(t){this._checkFormPresent(),t.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations())},Object.defineProperty(e.prototype,"formDirective",{get:function(){return this},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"control",{get:function(){return this.form},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"path",{get:function(){return[]},enumerable:!0,configurable:!0}),e.prototype.addControl=function(t){var e=this.form.get(t.path);return m(e,t),e.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),e},e.prototype.getControl=function(t){return this.form.get(t.path)},e.prototype.removeControl=function(t){D(this.directives,t)},e.prototype.addFormGroup=function(t){var e=this.form.get(t.path);E(e,t),e.updateValueAndValidity({emitEvent:!1})},e.prototype.removeFormGroup=function(t){},e.prototype.getFormGroup=function(t){return this.form.get(t.path)},e.prototype.addFormArray=function(t){var e=this.form.get(t.path);E(e,t),e.updateValueAndValidity({emitEvent:!1})},e.prototype.removeFormArray=function(t){},e.prototype.getFormArray=function(t){return this.form.get(t.path)},e.prototype.updateModel=function(t,e){this.form.get(t.path).setValue(e)},e.prototype.onSubmit=function(t){return this.submitted=!0,A(this.form,this.directives),this.ngSubmit.emit(t),!1},e.prototype.onReset=function(){this.resetForm()},e.prototype.resetForm=function(t){void 0===t&&(t=void 0),this.form.reset(t),this.submitted=!1},e.prototype._updateDomValue=function(){var t=this;this.directives.forEach(function(e){var n=t.form.get(e.path);e.control!==n&&(b(e.control,e),n&&m(n,e),e.control=n)}),this.form._updateTreeValidity({emitEvent:!1})},e.prototype._updateRegistrations=function(){var t=this;this.form._registerOnCollectionChange(function(){return t._updateDomValue()}),this._oldForm&&this._oldForm._registerOnCollectionChange(function(){}),this._oldForm=this.form},e.prototype._updateValidators=function(){var t=S(this._validators);this.form.validator=Q.compose([this.form.validator,t]);var e=P(this._asyncValidators);this.form.asyncValidator=Q.composeAsync([this.form.asyncValidator,e])},e.prototype._checkFormPresent=function(){this.form||Ft.missingFormException()},e.decorators=[{type:z.k,args:[{selector:"[formGroup]",providers:[zt],host:{"(submit)":"onSubmit($event)","(reset)":"onReset()"},exportAs:"ngForm"}]}],e.ctorParameters=function(){return[{type:Array,decorators:[{type:z.B},{type:z.L},{type:z.p,args:[q]}]},{type:Array,decorators:[{type:z.B},{type:z.L},{type:z.p,args:[$]}]}]},e.propDecorators={form:[{type:z.t,args:["formGroup"]}],ngSubmit:[{type:z.C}]},e}(W),Bt={provide:W,useExisting:Object(z.V)(function(){return Gt})},Gt=function(t){function e(e,n,r){var o=t.call(this)||this;return o._parent=e,o._validators=n,o._asyncValidators=r,o}return Object(L.b)(e,t),e.prototype._checkParentType=function(){R(this._parent)&&Ft.groupParentException()},e.decorators=[{type:z.k,args:[{selector:"[formGroupName]",providers:[Bt]}]}],e.ctorParameters=function(){return[{type:W,decorators:[{type:z.B},{type:z.o},{type:z.M}]},{type:Array,decorators:[{type:z.B},{type:z.L},{type:z.p,args:[q]}]},{type:Array,decorators:[{type:z.B},{type:z.L},{type:z.p,args:[$]}]}]},e.propDecorators={name:[{type:z.t,args:["formGroupName"]}]},e}(mt),Ut={provide:W,useExisting:Object(z.V)(function(){return Zt})},Zt=function(t){function e(e,n,r){var o=t.call(this)||this;return o._parent=e,o._validators=n,o._asyncValidators=r,o}return Object(L.b)(e,t),e.prototype.ngOnInit=function(){this._checkParentType(),this.formDirective.addFormArray(this)},e.prototype.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeFormArray(this)},Object.defineProperty(e.prototype,"control",{get:function(){return this.formDirective.getFormArray(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"formDirective",{get:function(){return this._parent?this._parent.formDirective:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"path",{get:function(){return v(this.name,this._parent)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"validator",{get:function(){return S(this._validators)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"asyncValidator",{get:function(){return P(this._asyncValidators)},enumerable:!0,configurable:!0}),e.prototype._checkParentType=function(){R(this._parent)&&Ft.arrayParentException()},e.decorators=[{type:z.k,args:[{selector:"[formArrayName]",providers:[Ut]}]}],e.ctorParameters=function(){return[{type:W,decorators:[{type:z.B},{type:z.o},{type:z.M}]},{type:Array,decorators:[{type:z.B},{type:z.L},{type:z.p,args:[q]}]},{type:Array,decorators:[{type:z.B},{type:z.L},{type:z.p,args:[$]}]}]},e.propDecorators={name:[{type:z.t,args:["formArrayName"]}]},e}(W),Wt={provide:it,useExisting:Object(z.V)(function(){return qt})},qt=function(t){function e(e,n,r,o){var i=t.call(this)||this;return i._added=!1,i.update=new z.n,i._parent=e,i._rawValidators=n||[],i._rawAsyncValidators=r||[],i.valueAccessor=j(i,o),i}return Object(L.b)(e,t),Object.defineProperty(e.prototype,"isDisabled",{set:function(t){Ft.disabledAttrWarning()},enumerable:!0,configurable:!0}),e.prototype.ngOnChanges=function(t){this._added||this._setUpControl(),T(t,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))},e.prototype.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeControl(this)},e.prototype.viewToModelUpdate=function(t){this.viewModel=t,this.update.emit(t)},Object.defineProperty(e.prototype,"path",{get:function(){return v(this.name,this._parent)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"formDirective",{get:function(){return this._parent?this._parent.formDirective:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"validator",{get:function(){return S(this._rawValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"asyncValidator",{get:function(){return P(this._rawAsyncValidators)},enumerable:!0,configurable:!0}),e.prototype._checkParentType=function(){!(this._parent instanceof Gt)&&this._parent instanceof mt?Ft.ngModelGroupException():this._parent instanceof Gt||this._parent instanceof Ht||this._parent instanceof Zt||Ft.controlParentException()},e.prototype._setUpControl=function(){this._checkParentType(),this.control=this.formDirective.addControl(this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this._added=!0},e.decorators=[{type:z.k,args:[{selector:"[formControlName]",providers:[Wt]}]}],e.ctorParameters=function(){return[{type:W,decorators:[{type:z.B},{type:z.o},{type:z.M}]},{type:Array,decorators:[{type:z.B},{type:z.L},{type:z.p,args:[q]}]},{type:Array,decorators:[{type:z.B},{type:z.L},{type:z.p,args:[$]}]},{type:Array,decorators:[{type:z.B},{type:z.L},{type:z.p,args:[Y]}]}]},e.propDecorators={name:[{type:z.t,args:["formControlName"]}],model:[{type:z.t,args:["ngModel"]}],update:[{type:z.C,args:["ngModelChange"]}],isDisabled:[{type:z.t,args:["disabled"]}]},e}(it),$t={provide:q,useExisting:Object(z.V)(function(){return Qt}),multi:!0},Kt={provide:q,useExisting:Object(z.V)(function(){return Yt}),multi:!0},Qt=function(){function t(){}return Object.defineProperty(t.prototype,"required",{get:function(){return this._required},set:function(t){this._required=null!=t&&!1!==t&&""+t!="false",this._onChange&&this._onChange()},enumerable:!0,configurable:!0}),t.prototype.validate=function(t){return this.required?Q.required(t):null},t.prototype.registerOnValidatorChange=function(t){this._onChange=t},t.decorators=[{type:z.k,args:[{selector:":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]",providers:[$t],host:{"[attr.required]":'required ? "" : null'}}]}],t.ctorParameters=function(){return[]},t.propDecorators={required:[{type:z.t}]},t}(),Yt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(L.b)(e,t),e.prototype.validate=function(t){return this.required?Q.requiredTrue(t):null},e.decorators=[{type:z.k,args:[{selector:"input[type=checkbox][required][formControlName],input[type=checkbox][required][formControl],input[type=checkbox][required][ngModel]",providers:[Kt],host:{"[attr.required]":'required ? "" : null'}}]}],e.ctorParameters=function(){return[]},e}(Qt),Jt={provide:q,useExisting:Object(z.V)(function(){return Xt}),multi:!0},Xt=function(){function t(){}return Object.defineProperty(t.prototype,"email",{set:function(t){this._enabled=""===t||!0===t||"true"===t,this._onChange&&this._onChange()},enumerable:!0,configurable:!0}),t.prototype.validate=function(t){return this._enabled?Q.email(t):null},t.prototype.registerOnValidatorChange=function(t){this._onChange=t},t.decorators=[{type:z.k,args:[{selector:"[email][formControlName],[email][formControl],[email][ngModel]",providers:[Jt]}]}],t.ctorParameters=function(){return[]},t.propDecorators={email:[{type:z.t}]},t}(),te={provide:q,useExisting:Object(z.V)(function(){return ee}),multi:!0},ee=function(){function t(){}return t.prototype.ngOnChanges=function(t){"minlength"in t&&(this._createValidator(),this._onChange&&this._onChange())},t.prototype.validate=function(t){return null==this.minlength?null:this._validator(t)},t.prototype.registerOnValidatorChange=function(t){this._onChange=t},t.prototype._createValidator=function(){this._validator=Q.minLength(parseInt(this.minlength,10))},t.decorators=[{type:z.k,args:[{selector:"[minlength][formControlName],[minlength][formControl],[minlength][ngModel]",providers:[te],host:{"[attr.minlength]":"minlength ? minlength : null"}}]}],t.ctorParameters=function(){return[]},t.propDecorators={minlength:[{type:z.t}]},t}(),ne={provide:q,useExisting:Object(z.V)(function(){return re}),multi:!0},re=function(){function t(){}return t.prototype.ngOnChanges=function(t){"maxlength"in t&&(this._createValidator(),this._onChange&&this._onChange())},t.prototype.validate=function(t){return null!=this.maxlength?this._validator(t):null},t.prototype.registerOnValidatorChange=function(t){this._onChange=t},t.prototype._createValidator=function(){this._validator=Q.maxLength(parseInt(this.maxlength,10))},t.decorators=[{type:z.k,args:[{selector:"[maxlength][formControlName],[maxlength][formControl],[maxlength][ngModel]",providers:[ne],host:{"[attr.maxlength]":"maxlength ? maxlength : null"}}]}],t.ctorParameters=function(){return[]},t.propDecorators={maxlength:[{type:z.t}]},t}(),oe={provide:q,useExisting:Object(z.V)(function(){return ie}),multi:!0},ie=function(){function t(){}return t.prototype.ngOnChanges=function(t){"pattern"in t&&(this._createValidator(),this._onChange&&this._onChange())},t.prototype.validate=function(t){return this._validator(t)},t.prototype.registerOnValidatorChange=function(t){this._onChange=t},t.prototype._createValidator=function(){this._validator=Q.pattern(this.pattern)},t.decorators=[{type:z.k,args:[{selector:"[pattern][formControlName],[pattern][formControl],[pattern][ngModel]",providers:[oe],host:{"[attr.pattern]":"pattern ? pattern : null"}}]}],t.ctorParameters=function(){return[]},t.propDecorators={pattern:[{type:z.t}]},t}(),ae=function(){function t(){}return t.prototype.group=function(t,e){void 0===e&&(e=null);var n=this._reduceControls(t),r=null!=e?e.validator:null,o=null!=e?e.asyncValidator:null;return new kt(n,r,o)},t.prototype.control=function(t,e,n){return new Et(t,e,n)},t.prototype.array=function(t,e,n){var r=this,o=t.map(function(t){return r._createControl(t)});return new xt(o,e,n)},t.prototype._reduceControls=function(t){var e=this,n={};return Object.keys(t).forEach(function(r){n[r]=e._createControl(t[r])}),n},t.prototype._createControl=function(t){if(t instanceof Et||t instanceof kt||t instanceof xt)return t;if(Array.isArray(t)){var e=t[0],n=t.length>1?t[1]:null,r=t.length>2?t[2]:null;return this.control(e,n,r)}return this.control(t)},t.decorators=[{type:z.q}],t.ctorParameters=function(){return[]},t}(),se=(new z.P("5.2.0"),function(){function t(){}return t.decorators=[{type:z.k,args:[{selector:"form:not([ngNoForm]):not([ngNativeValidate])",host:{novalidate:""}}]}],t.ctorParameters=function(){return[]},t}()),ue=[se,ht,gt,nt,ot,lt,X,pt,yt,ut,wt,Ct,Qt,ee,re,ie,Yt,Xt],ce=[Vt,Dt,Tt],le=[Lt,Ht,qt,Gt,Zt],fe=function(){function t(){}return t.decorators=[{type:z.x,args:[{declarations:ue,exports:ue}]}],t.ctorParameters=function(){return[]},t}(),pe=function(){function t(){}return t.decorators=[{type:z.x,args:[{declarations:ce,providers:[st],exports:[fe,ce]}]}],t.ctorParameters=function(){return[]},t}();!function(){function t(){}t.decorators=[{type:z.x,args:[{declarations:[le],providers:[ae,st],exports:[fe,le]}]}],t.ctorParameters=function(){return[]}}()},function(t,e,n){"use strict";n.d(e,"a",function(){return a});var r=n(15),o=n(60),i=n(63),a=(n(88),function(){function t(){}return t.decorators=[{type:r.x,args:[{declarations:[i.b,i.a],imports:[o.a],exports:[i.b,i.a]}]}],t.ctorParameters=function(){return[]},t}())},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(136),o=(n.n(r),n(281)),i=(n.n(o),n(292)),a=(n.n(i),n(59)),s=n(15),u=n(314);Object(s.U)(),Object(a.i)().bootstrapModuleFactory(u.a)},function(t,e,n){n(137),n(140),n(141),n(142),n(143),n(144),n(145),n(146),n(147),n(148),n(149),n(150),n(151),n(152),n(153),n(154),n(156),n(157),n(158),n(159),n(160),n(161),n(162),n(163),n(164),n(165),n(166),n(167),n(168),n(169),n(170),n(171),n(172),n(173),n(174),n(175),n(176),n(177),n(178),n(179),n(180),n(181),n(182),n(184),n(185),n(186),n(187),n(188),n(189),n(190),n(191),n(192),n(193),n(194),n(195),n(196),n(197),n(198),n(199),n(200),n(201),n(202),n(203),n(204),n(205),n(206),n(207),n(208),n(209),n(210),n(211),n(212),n(213),n(214),n(215),n(216),n(217),n(219),n(220),n(222),n(223),n(224),n(225),n(226),n(227),n(228),n(231),n(232),n(233),n(234),n(235),n(236),n(237),n(238),n(239),n(240),n(241),n(242),n(243),n(110),n(244),n(245),n(112),n(246),n(247),n(248),n(249),n(250),n(115),n(117),n(118),n(254),n(255),n(256),n(257),n(258),n(259),n(260),n(261),n(262),n(263),n(264),n(265),n(266),n(267),n(268),n(269),n(270),n(271),n(272),n(273),n(274),n(275),n(276),n(278),n(279),n(280),t.exports=n(28)},function(t,e,n){"use strict";var r=n(4),o=n(9),i=n(7),a=n(0),s=n(11),u=n(30).KEY,c=n(2),l=n(50),f=n(38),p=n(33),h=n(5),d=n(91),y=n(138),g=n(139),v=n(68),m=n(1),b=n(3),_=n(17),w=n(29),C=n(32),O=n(35),E=n(94),k=n(25),x=n(6),S=n(45),P=k.f,T=x.f,M=E.f,A=r.Symbol,j=r.JSON,D=j&&j.stringify,N=h("_hidden"),I=h("toPrimitive"),V={}.propertyIsEnumerable,F=l("symbol-registry"),R=l("symbols"),L=l("op-symbols"),z=Object.prototype,H="function"==typeof A,B=r.QObject,G=!B||!B.prototype||!B.prototype.findChild,U=i&&c(function(){return 7!=O(T({},"a",{get:function(){return T(this,"a",{value:7}).a}})).a})?function(t,e,n){var r=P(z,e);r&&delete z[e],T(t,e,n),r&&t!==z&&T(z,e,r)}:T,Z=function(t){var e=R[t]=O(A.prototype);return e._k=t,e},W=H&&"symbol"==typeof A.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof A},q=function(t,e,n){return t===z&&q(L,e,n),m(t),e=w(e,!0),m(n),o(R,e)?(n.enumerable?(o(t,N)&&t[N][e]&&(t[N][e]=!1),n=O(n,{enumerable:C(0,!1)})):(o(t,N)||T(t,N,C(1,{})),t[N][e]=!0),U(t,e,n)):T(t,e,n)},$=function(t,e){m(t);for(var n,r=g(e=_(e)),o=0,i=r.length;i>o;)q(t,n=r[o++],e[n]);return t},K=function(t,e){return void 0===e?O(t):$(O(t),e)},Q=function(t){var e=V.call(this,t=w(t,!0));return!(this===z&&o(R,t)&&!o(L,t))&&(!(e||!o(this,t)||!o(R,t)||o(this,N)&&this[N][t])||e)},Y=function(t,e){if(t=_(t),e=w(e,!0),t!==z||!o(R,e)||o(L,e)){var n=P(t,e);return!n||!o(R,e)||o(t,N)&&t[N][e]||(n.enumerable=!0),n}},J=function(t){for(var e,n=M(_(t)),r=[],i=0;n.length>i;)o(R,e=n[i++])||e==N||e==u||r.push(e);return r},X=function(t){for(var e,n=t===z,r=M(n?L:_(t)),i=[],a=0;r.length>a;)!o(R,e=r[a++])||n&&!o(z,e)||i.push(R[e]);return i};H||(A=function(){if(this instanceof A)throw TypeError("Symbol is not a constructor!");var t=p(arguments.length>0?arguments[0]:void 0),e=function(n){this===z&&e.call(L,n),o(this,N)&&o(this[N],t)&&(this[N][t]=!1),U(this,t,C(1,n))};return i&&G&&U(z,t,{configurable:!0,set:e}),Z(t)},s(A.prototype,"toString",function(){return this._k}),k.f=Y,x.f=q,n(36).f=E.f=J,n(52).f=Q,n(51).f=X,i&&!n(39)&&s(z,"propertyIsEnumerable",Q,!0),d.f=function(t){return Z(h(t))}),a(a.G+a.W+a.F*!H,{Symbol:A});for(var tt="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),et=0;tt.length>et;)h(tt[et++]);for(var nt=S(h.store),rt=0;nt.length>rt;)y(nt[rt++]);a(a.S+a.F*!H,"Symbol",{for:function(t){return o(F,t+="")?F[t]:F[t]=A(t)},keyFor:function(t){if(!W(t))throw TypeError(t+" is not a symbol!");for(var e in F)if(F[e]===t)return e},useSetter:function(){G=!0},useSimple:function(){G=!1}}),a(a.S+a.F*!H,"Object",{create:K,defineProperty:q,defineProperties:$,getOwnPropertyDescriptor:Y,getOwnPropertyNames:J,getOwnPropertySymbols:X}),j&&a(a.S+a.F*(!H||c(function(){var t=A();return"[null]"!=D([t])||"{}"!=D({a:t})||"{}"!=D(Object(t))})),"JSON",{stringify:function(t){for(var e,n,r=[t],o=1;arguments.length>o;)r.push(arguments[o++]);if(n=e=r[1],(b(e)||void 0!==t)&&!W(t))return v(e)||(e=function(t,e){if("function"==typeof n&&(e=n.call(this,t,e)),!W(e))return e}),r[1]=e,D.apply(j,r)}}),A.prototype[I]||n(13)(A.prototype,I,A.prototype.valueOf),f(A,"Symbol"),f(Math,"Math",!0),f(r.JSON,"JSON",!0)},function(t,e,n){var r=n(4),o=n(28),i=n(39),a=n(91),s=n(6).f;t.exports=function(t){var e=o.Symbol||(o.Symbol=i?{}:r.Symbol||{});"_"==t.charAt(0)||t in e||s(e,t,{value:a.f(t)})}},function(t,e,n){var r=n(45),o=n(51),i=n(52);t.exports=function(t){var e=r(t),n=o.f;if(n)for(var a,s=n(t),u=i.f,c=0;s.length>c;)u.call(t,a=s[c++])&&e.push(a);return e}},function(t,e,n){var r=n(0);r(r.S,"Object",{create:n(35)})},function(t,e,n){var r=n(0);r(r.S+r.F*!n(7),"Object",{defineProperty:n(6).f})},function(t,e,n){var r=n(0);r(r.S+r.F*!n(7),"Object",{defineProperties:n(93)})},function(t,e,n){var r=n(17),o=n(25).f;n(18)("getOwnPropertyDescriptor",function(){return function(t,e){return o(r(t),e)}})},function(t,e,n){var r=n(12),o=n(19);n(18)("getPrototypeOf",function(){return function(t){return o(r(t))}})},function(t,e,n){var r=n(12),o=n(45);n(18)("keys",function(){return function(t){return o(r(t))}})},function(t,e,n){n(18)("getOwnPropertyNames",function(){return n(94).f})},function(t,e,n){var r=n(3),o=n(30).onFreeze;n(18)("freeze",function(t){return function(e){return t&&r(e)?t(o(e)):e}})},function(t,e,n){var r=n(3),o=n(30).onFreeze;n(18)("seal",function(t){return function(e){return t&&r(e)?t(o(e)):e}})},function(t,e,n){var r=n(3),o=n(30).onFreeze;n(18)("preventExtensions",function(t){return function(e){return t&&r(e)?t(o(e)):e}})},function(t,e,n){var r=n(3);n(18)("isFrozen",function(t){return function(e){return!r(e)||!!t&&t(e)}})},function(t,e,n){var r=n(3);n(18)("isSealed",function(t){return function(e){return!r(e)||!!t&&t(e)}})},function(t,e,n){var r=n(3);n(18)("isExtensible",function(t){return function(e){return!!r(e)&&(!t||t(e))}})},function(t,e,n){var r=n(0);r(r.S+r.F,"Object",{assign:n(95)})},function(t,e,n){var r=n(0);r(r.S,"Object",{is:n(155)})},function(t,e){t.exports=Object.is||function(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}},function(t,e,n){var r=n(0);r(r.S,"Object",{setPrototypeOf:n(70).set})},function(t,e,n){"use strict";var r=n(53),o={};o[n(5)("toStringTag")]="z",o+""!="[object z]"&&n(11)(Object.prototype,"toString",function(){return"[object "+r(this)+"]"},!0)},function(t,e,n){var r=n(0);r(r.P,"Function",{bind:n(96)})},function(t,e,n){var r=n(6).f,o=Function.prototype,i=/^\s*function ([^ (]*)/;"name"in o||n(7)&&r(o,"name",{configurable:!0,get:function(){try{return(""+this).match(i)[1]}catch(t){return""}}})},function(t,e,n){"use strict";var r=n(3),o=n(19),i=n(5)("hasInstance"),a=Function.prototype;i in a||n(6).f(a,i,{value:function(t){if("function"!=typeof this||!r(t))return!1;if(!r(this.prototype))return t instanceof this;for(;t=o(t);)if(this.prototype===t)return!0;return!1}})},function(t,e,n){var r=n(0),o=n(98);r(r.G+r.F*(parseInt!=o),{parseInt:o})},function(t,e,n){var r=n(0),o=n(99);r(r.G+r.F*(parseFloat!=o),{parseFloat:o})},function(t,e,n){"use strict";var r=n(4),o=n(9),i=n(23),a=n(72),s=n(29),u=n(2),c=n(36).f,l=n(25).f,f=n(6).f,p=n(54).trim,h=r.Number,d=h,y=h.prototype,g="Number"==i(n(35)(y)),v="trim"in String.prototype,m=function(t){var e=s(t,!1);if("string"==typeof e&&e.length>2){e=v?e.trim():p(e,3);var n,r,o,i=e.charCodeAt(0);if(43===i||45===i){if(88===(n=e.charCodeAt(2))||120===n)return NaN}else if(48===i){switch(e.charCodeAt(1)){case 66:case 98:r=2,o=49;break;case 79:case 111:r=8,o=55;break;default:return+e}for(var a,u=e.slice(2),c=0,l=u.length;co)return NaN;return parseInt(u,r)}}return+e};if(!h(" 0o1")||!h("0b1")||h("+0x1")){h=function(t){var e=arguments.length<1?0:t,n=this;return n instanceof h&&(g?u(function(){y.valueOf.call(n)}):"Number"!=i(n))?a(new d(m(e)),n,h):m(e)};for(var b,_=n(7)?c(d):"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;_.length>w;w++)o(d,b=_[w])&&!o(h,b)&&f(h,b,l(d,b));h.prototype=y,y.constructor=h,n(11)(r,"Number",h)}},function(t,e,n){"use strict";var r=n(0),o=n(24),i=n(100),a=n(101),s=1..toFixed,u=Math.floor,c=[0,0,0,0,0,0],l="Number.toFixed: incorrect invocation!",f=function(t,e){for(var n=-1,r=e;++n<6;)r+=t*c[n],c[n]=r%1e7,r=u(r/1e7)},p=function(t){for(var e=6,n=0;--e>=0;)n+=c[e],c[e]=u(n/t),n=n%t*1e7},h=function(){for(var t=6,e="";--t>=0;)if(""!==e||0===t||0!==c[t]){var n=String(c[t]);e=""===e?n:e+a.call("0",7-n.length)+n}return e},d=function(t,e,n){return 0===e?n:e%2==1?d(t,e-1,n*t):d(t*t,e/2,n)},y=function(t){for(var e=0,n=t;n>=4096;)e+=12,n/=4096;for(;n>=2;)e+=1,n/=2;return e};r(r.P+r.F*(!!s&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!n(2)(function(){s.call({})})),"Number",{toFixed:function(t){var e,n,r,s,u=i(this,l),c=o(t),g="",v="0";if(c<0||c>20)throw RangeError(l);if(u!=u)return"NaN";if(u<=-1e21||u>=1e21)return String(u);if(u<0&&(g="-",u=-u),u>1e-21)if(e=y(u*d(2,69,1))-69,n=e<0?u*d(2,-e,1):u/d(2,e,1),n*=4503599627370496,(e=52-e)>0){for(f(0,n),r=c;r>=7;)f(1e7,0),r-=7;for(f(d(10,r,1),0),r=e-1;r>=23;)p(1<<23),r-=23;p(1<0?(s=v.length,v=g+(s<=c?"0."+a.call("0",c-s)+v:v.slice(0,s-c)+"."+v.slice(s-c))):v=g+v,v}})},function(t,e,n){"use strict";var r=n(0),o=n(2),i=n(100),a=1..toPrecision;r(r.P+r.F*(o(function(){return"1"!==a.call(1,void 0)})||!o(function(){a.call({})})),"Number",{toPrecision:function(t){var e=i(this,"Number#toPrecision: incorrect invocation!");return void 0===t?a.call(e):a.call(e,t)}})},function(t,e,n){var r=n(0);r(r.S,"Number",{EPSILON:Math.pow(2,-52)})},function(t,e,n){var r=n(0),o=n(4).isFinite;r(r.S,"Number",{isFinite:function(t){return"number"==typeof t&&o(t)}})},function(t,e,n){var r=n(0);r(r.S,"Number",{isInteger:n(102)})},function(t,e,n){var r=n(0);r(r.S,"Number",{isNaN:function(t){return t!=t}})},function(t,e,n){var r=n(0),o=n(102),i=Math.abs;r(r.S,"Number",{isSafeInteger:function(t){return o(t)&&i(t)<=9007199254740991}})},function(t,e,n){var r=n(0);r(r.S,"Number",{MAX_SAFE_INTEGER:9007199254740991})},function(t,e,n){var r=n(0);r(r.S,"Number",{MIN_SAFE_INTEGER:-9007199254740991})},function(t,e,n){var r=n(0),o=n(99);r(r.S+r.F*(Number.parseFloat!=o),"Number",{parseFloat:o})},function(t,e,n){var r=n(0),o=n(98);r(r.S+r.F*(Number.parseInt!=o),"Number",{parseInt:o})},function(t,e,n){var r=n(0),o=n(103),i=Math.sqrt,a=Math.acosh;r(r.S+r.F*!(a&&710==Math.floor(a(Number.MAX_VALUE))&&a(1/0)==1/0),"Math",{acosh:function(t){return(t=+t)<1?NaN:t>94906265.62425156?Math.log(t)+Math.LN2:o(t-1+i(t-1)*i(t+1))}})},function(t,e,n){function r(t){return isFinite(t=+t)&&0!=t?t<0?-r(-t):Math.log(t+Math.sqrt(t*t+1)):t}var o=n(0),i=Math.asinh;o(o.S+o.F*!(i&&1/i(0)>0),"Math",{asinh:r})},function(t,e,n){var r=n(0),o=Math.atanh;r(r.S+r.F*!(o&&1/o(-0)<0),"Math",{atanh:function(t){return 0==(t=+t)?t:Math.log((1+t)/(1-t))/2}})},function(t,e,n){var r=n(0),o=n(73);r(r.S,"Math",{cbrt:function(t){return o(t=+t)*Math.pow(Math.abs(t),1/3)}})},function(t,e,n){var r=n(0);r(r.S,"Math",{clz32:function(t){return(t>>>=0)?31-Math.floor(Math.log(t+.5)*Math.LOG2E):32}})},function(t,e,n){var r=n(0),o=Math.exp;r(r.S,"Math",{cosh:function(t){return(o(t=+t)+o(-t))/2}})},function(t,e,n){var r=n(0),o=n(74);r(r.S+r.F*(o!=Math.expm1),"Math",{expm1:o})},function(t,e,n){var r=n(0);r(r.S,"Math",{fround:n(183)})},function(t,e,n){var r=n(73),o=Math.pow,i=o(2,-52),a=o(2,-23),s=o(2,127)*(2-a),u=o(2,-126),c=function(t){return t+1/i-1/i};t.exports=Math.fround||function(t){var e,n,o=Math.abs(t),l=r(t);return os||n!=n?l*(1/0):l*n)}},function(t,e,n){var r=n(0),o=Math.abs;r(r.S,"Math",{hypot:function(t,e){for(var n,r,i=0,a=0,s=arguments.length,u=0;a0?(r=n/u,i+=r*r):i+=n;return u===1/0?1/0:u*Math.sqrt(i)}})},function(t,e,n){var r=n(0),o=Math.imul;r(r.S+r.F*n(2)(function(){return-5!=o(4294967295,5)||2!=o.length}),"Math",{imul:function(t,e){var n=+t,r=+e,o=65535&n,i=65535&r;return 0|o*i+((65535&n>>>16)*i+o*(65535&r>>>16)<<16>>>0)}})},function(t,e,n){var r=n(0);r(r.S,"Math",{log10:function(t){return Math.log(t)*Math.LOG10E}})},function(t,e,n){var r=n(0);r(r.S,"Math",{log1p:n(103)})},function(t,e,n){var r=n(0);r(r.S,"Math",{log2:function(t){return Math.log(t)/Math.LN2}})},function(t,e,n){var r=n(0);r(r.S,"Math",{sign:n(73)})},function(t,e,n){var r=n(0),o=n(74),i=Math.exp;r(r.S+r.F*n(2)(function(){return-2e-17!=!Math.sinh(-2e-17)}),"Math",{sinh:function(t){return Math.abs(t=+t)<1?(o(t)-o(-t))/2:(i(t-1)-i(-t-1))*(Math.E/2)}})},function(t,e,n){var r=n(0),o=n(74),i=Math.exp;r(r.S,"Math",{tanh:function(t){var e=o(t=+t),n=o(-t);return e==1/0?1:n==1/0?-1:(e-n)/(i(t)+i(-t))}})},function(t,e,n){var r=n(0);r(r.S,"Math",{trunc:function(t){return(t>0?Math.floor:Math.ceil)(t)}})},function(t,e,n){var r=n(0),o=n(34),i=String.fromCharCode,a=String.fromCodePoint;r(r.S+r.F*(!!a&&1!=a.length),"String",{fromCodePoint:function(t){for(var e,n=[],r=arguments.length,a=0;r>a;){if(e=+arguments[a++],o(e,1114111)!==e)throw RangeError(e+" is not a valid code point");n.push(e<65536?i(e):i(55296+((e-=65536)>>10),e%1024+56320))}return n.join("")}})},function(t,e,n){var r=n(0),o=n(17),i=n(8);r(r.S,"String",{raw:function(t){for(var e=o(t.raw),n=i(e.length),r=arguments.length,a=[],s=0;n>s;)a.push(String(e[s++])),s=e.length?{value:void 0,done:!0}:(t=r(e,n),this._i+=t.length,{value:t,done:!1})})},function(t,e,n){"use strict";var r=n(0),o=n(104)(!1);r(r.P,"String",{codePointAt:function(t){return o(this,t)}})},function(t,e,n){"use strict";var r=n(0),o=n(8),i=n(76),a="".endsWith;r(r.P+r.F*n(78)("endsWith"),"String",{endsWith:function(t){var e=i(this,t,"endsWith"),n=arguments.length>1?arguments[1]:void 0,r=o(e.length),s=void 0===n?r:Math.min(o(n),r),u=String(t);return a?a.call(e,u,s):e.slice(s-u.length,s)===u}})},function(t,e,n){"use strict";var r=n(0),o=n(76);r(r.P+r.F*n(78)("includes"),"String",{includes:function(t){return!!~o(this,t,"includes").indexOf(t,arguments.length>1?arguments[1]:void 0)}})},function(t,e,n){var r=n(0);r(r.P,"String",{repeat:n(101)})},function(t,e,n){"use strict";var r=n(0),o=n(8),i=n(76),a="".startsWith;r(r.P+r.F*n(78)("startsWith"),"String",{startsWith:function(t){var e=i(this,t,"startsWith"),n=o(Math.min(arguments.length>1?arguments[1]:void 0,e.length)),r=String(t);return a?a.call(e,r,n):e.slice(n,n+r.length)===r}})},function(t,e,n){"use strict";n(10)("anchor",function(t){return function(e){return t(this,"a","name",e)}})},function(t,e,n){"use strict";n(10)("big",function(t){return function(){return t(this,"big","","")}})},function(t,e,n){"use strict";n(10)("blink",function(t){return function(){return t(this,"blink","","")}})},function(t,e,n){"use strict";n(10)("bold",function(t){return function(){return t(this,"b","","")}})},function(t,e,n){"use strict";n(10)("fixed",function(t){return function(){return t(this,"tt","","")}})},function(t,e,n){"use strict";n(10)("fontcolor",function(t){return function(e){return t(this,"font","color",e)}})},function(t,e,n){"use strict";n(10)("fontsize",function(t){return function(e){return t(this,"font","size",e)}})},function(t,e,n){"use strict";n(10)("italics",function(t){return function(){return t(this,"i","","")}})},function(t,e,n){"use strict";n(10)("link",function(t){return function(e){return t(this,"a","href",e)}})},function(t,e,n){"use strict";n(10)("small",function(t){return function(){return t(this,"small","","")}})},function(t,e,n){"use strict";n(10)("strike",function(t){return function(){return t(this,"strike","","")}})},function(t,e,n){"use strict";n(10)("sub",function(t){return function(){return t(this,"sub","","")}})},function(t,e,n){"use strict";n(10)("sup",function(t){return function(){return t(this,"sup","","")}})},function(t,e,n){var r=n(0);r(r.S,"Date",{now:function(){return(new Date).getTime()}})},function(t,e,n){"use strict";var r=n(0),o=n(12),i=n(29);r(r.P+r.F*n(2)(function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})}),"Date",{toJSON:function(t){var e=o(this),n=i(e);return"number"!=typeof n||isFinite(n)?e.toISOString():null}})},function(t,e,n){var r=n(0),o=n(218);r(r.P+r.F*(Date.prototype.toISOString!==o),"Date",{toISOString:o})},function(t,e,n){"use strict";var r=n(2),o=Date.prototype.getTime,i=Date.prototype.toISOString,a=function(t){return t>9?t:"0"+t};t.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 t=this,e=t.getUTCFullYear(),n=t.getUTCMilliseconds(),r=e<0?"-":e>9999?"+":"";return r+("00000"+Math.abs(e)).slice(r?-6:-4)+"-"+a(t.getUTCMonth()+1)+"-"+a(t.getUTCDate())+"T"+a(t.getUTCHours())+":"+a(t.getUTCMinutes())+":"+a(t.getUTCSeconds())+"."+(n>99?n:"0"+a(n))+"Z"}:i},function(t,e,n){var r=Date.prototype,o=r.toString,i=r.getTime;new Date(NaN)+""!="Invalid Date"&&n(11)(r,"toString",function(){var t=i.call(this);return t===t?o.call(this):"Invalid Date"})},function(t,e,n){var r=n(5)("toPrimitive"),o=Date.prototype;r in o||n(13)(o,r,n(221))},function(t,e,n){"use strict";var r=n(1),o=n(29);t.exports=function(t){if("string"!==t&&"number"!==t&&"default"!==t)throw TypeError("Incorrect hint");return o(r(this),"number"!=t)}},function(t,e,n){var r=n(0);r(r.S,"Array",{isArray:n(68)})},function(t,e,n){"use strict";var r=n(22),o=n(0),i=n(12),a=n(106),s=n(79),u=n(8),c=n(107),l=n(80);o(o.S+o.F*!n(55)(function(t){Array.from(t)}),"Array",{from:function(t){var e,n,o,f,p=i(t),h="function"==typeof this?this:Array,d=arguments.length,y=d>1?arguments[1]:void 0,g=void 0!==y,v=0,m=l(p);if(g&&(y=r(y,d>2?arguments[2]:void 0,2)),void 0==m||h==Array&&s(m))for(e=u(p.length),n=new h(e);e>v;v++)c(n,v,g?y(p[v],v):p[v]);else for(f=m.call(p),n=new h;!(o=f.next()).done;v++)c(n,v,g?a(f,y,[o.value,v],!0):o.value);return n.length=v,n}})},function(t,e,n){"use strict";var r=n(0),o=n(107);r(r.S+r.F*n(2)(function(){function t(){}return!(Array.of.call(t)instanceof t)}),"Array",{of:function(){for(var t=0,e=arguments.length,n=new("function"==typeof this?this:Array)(e);e>t;)o(n,t,arguments[t++]);return n.length=e,n}})},function(t,e,n){"use strict";var r=n(0),o=n(17),i=[].join;r(r.P+r.F*(n(46)!=Object||!n(14)(i)),"Array",{join:function(t){return i.call(o(this),void 0===t?",":t)}})},function(t,e,n){"use strict";var r=n(0),o=n(69),i=n(23),a=n(34),s=n(8),u=[].slice;r(r.P+r.F*n(2)(function(){o&&u.call(o)}),"Array",{slice:function(t,e){var n=s(this.length),r=i(this);if(e=void 0===e?n:e,"Array"==r)return u.call(this,t,e);for(var o=a(t,n),c=a(e,n),l=s(c-o),f=new Array(l),p=0;p1&&(r=Math.min(r,i(arguments[1]))),r<0&&(r=n+r);r>=0;r--)if(r in e&&e[r]===t)return r||0;return-1}})},function(t,e,n){var r=n(0);r(r.P,"Array",{copyWithin:n(109)}),n(48)("copyWithin")},function(t,e,n){var r=n(0);r(r.P,"Array",{fill:n(81)}),n(48)("fill")},function(t,e,n){"use strict";var r=n(0),o=n(20)(5),i=!0;"find"in[]&&Array(1).find(function(){i=!1}),r(r.P+r.F*i,"Array",{find:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),n(48)("find")},function(t,e,n){"use strict";var r=n(0),o=n(20)(6),i="findIndex",a=!0;i in[]&&Array(1)[i](function(){a=!1}),r(r.P+r.F*a,"Array",{findIndex:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),n(48)(i)},function(t,e,n){n(40)("Array")},function(t,e,n){var r=n(4),o=n(72),i=n(6).f,a=n(36).f,s=n(77),u=n(82),c=r.RegExp,l=c,f=c.prototype,p=/a/g,h=/a/g,d=new c(p)!==p;if(n(7)&&(!d||n(2)(function(){return h[n(5)("match")]=!1,c(p)!=p||c(h)==h||"/a/i"!=c(p,"i")}))){c=function(t,e){var n=this instanceof c,r=s(t),i=void 0===e;return!n&&r&&t.constructor===c&&i?t:o(d?new l(r&&!i?t.source:t,e):l((r=t instanceof c)?t.source:t,r&&i?u.call(t):e),n?this:f,c)};for(var y=a(l),g=0;y.length>g;)!function(t){t in c||i(c,t,{configurable:!0,get:function(){return l[t]},set:function(e){l[t]=e}})}(y[g++]);f.constructor=c,c.prototype=f,n(11)(r,"RegExp",c)}n(40)("RegExp")},function(t,e,n){"use strict";n(112);var r=n(1),o=n(82),i=n(7),a=/./.toString,s=function(t){n(11)(RegExp.prototype,"toString",t,!0)};n(2)(function(){return"/a/b"!=a.call({source:"a",flags:"b"})})?s(function(){var t=r(this);return"/".concat(t.source,"/","flags"in t?t.flags:!i&&t instanceof RegExp?o.call(t):void 0)}):"toString"!=a.name&&s(function(){return a.call(this)})},function(t,e,n){n(56)("match",1,function(t,e,n){return[function(n){"use strict";var r=t(this),o=void 0==n?void 0:n[e];return void 0!==o?o.call(n,r):new RegExp(n)[e](String(r))},n]})},function(t,e,n){n(56)("replace",2,function(t,e,n){return[function(r,o){"use strict";var i=t(this),a=void 0==r?void 0:r[e];return void 0!==a?a.call(r,i,o):n.call(String(i),r,o)},n]})},function(t,e,n){n(56)("search",1,function(t,e,n){return[function(n){"use strict";var r=t(this),o=void 0==n?void 0:n[e];return void 0!==o?o.call(n,r):new RegExp(n)[e](String(r))},n]})},function(t,e,n){n(56)("split",2,function(t,e,r){"use strict";var o=n(77),i=r,a=[].push,s="length";if("c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1)[s]||2!="ab".split(/(?:ab)*/)[s]||4!=".".split(/(.?)(.?)/)[s]||".".split(/()()/)[s]>1||"".split(/.?/)[s]){var u=void 0===/()??/.exec("")[1];r=function(t,e){var n=String(this);if(void 0===t&&0===e)return[];if(!o(t))return i.call(n,t,e);var r,c,l,f,p,h=[],d=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),y=0,g=void 0===e?4294967295:e>>>0,v=new RegExp(t.source,d+"g");for(u||(r=new RegExp("^"+v.source+"$(?!\\s)",d));(c=v.exec(n))&&!((l=c.index+c[0][s])>y&&(h.push(n.slice(y,c.index)),!u&&c[s]>1&&c[0].replace(r,function(){for(p=1;p1&&c.index=g));)v.lastIndex===c.index&&v.lastIndex++;return y===n[s]?!f&&v.test("")||h.push(""):h.push(n.slice(y)),h[s]>g?h.slice(0,g):h}}else"0".split(void 0,0)[s]&&(r=function(t,e){return void 0===t&&0===e?[]:i.call(this,t,e)});return[function(n,o){var i=t(this),a=void 0==n?void 0:n[e];return void 0!==a?a.call(n,i,o):r.call(String(i),n,o)},r]})},function(t,e,n){"use strict";var r,o,i,a,s=n(39),u=n(4),c=n(22),l=n(53),f=n(0),p=n(3),h=n(16),d=n(41),y=n(49),g=n(83),v=n(113).set,m=n(251)(),b=n(114),_=n(252),w=n(253),C=u.TypeError,O=u.process,E=u.Promise,k="process"==l(O),x=function(){},S=o=b.f,P=!!function(){try{var t=E.resolve(1),e=(t.constructor={})[n(5)("species")]=function(t){t(x,x)};return(k||"function"==typeof PromiseRejectionEvent)&&t.then(x)instanceof e}catch(t){}}(),T=function(t){var e;return!(!p(t)||"function"!=typeof(e=t.then))&&e},M=function(t,e){if(!t._n){t._n=!0;var n=t._c;m(function(){for(var r=t._v,o=1==t._s,i=0;n.length>i;)!function(e){var n,i,a=o?e.ok:e.fail,s=e.resolve,u=e.reject,c=e.domain;try{a?(o||(2==t._h&&D(t),t._h=1),!0===a?n=r:(c&&c.enter(),n=a(r),c&&c.exit()),n===e.promise?u(C("Promise-chain cycle")):(i=T(n))?i.call(n,s,u):s(n)):u(r)}catch(t){u(t)}}(n[i++]);t._c=[],t._n=!1,e&&!t._h&&A(t)})}},A=function(t){v.call(u,function(){var e,n,r,o=t._v,i=j(t);if(i&&(e=_(function(){k?O.emit("unhandledRejection",o,t):(n=u.onunhandledrejection)?n({promise:t,reason:o}):(r=u.console)&&r.error&&r.error("Unhandled promise rejection",o)}),t._h=k||j(t)?2:1),t._a=void 0,i&&e.e)throw e.v})},j=function(t){return 1!==t._h&&0===(t._a||t._c).length},D=function(t){v.call(u,function(){var e;k?O.emit("rejectionHandled",t):(e=u.onrejectionhandled)&&e({promise:t,reason:t._v})})},N=function(t){var e=this;e._d||(e._d=!0,e=e._w||e,e._v=t,e._s=2,e._a||(e._a=e._c.slice()),M(e,!0))},I=function(t){var e,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===t)throw C("Promise can't be resolved itself");(e=T(t))?m(function(){var r={_w:n,_d:!1};try{e.call(t,c(I,r,1),c(N,r,1))}catch(t){N.call(r,t)}}):(n._v=t,n._s=1,M(n,!1))}catch(t){N.call({_w:n,_d:!1},t)}}};P||(E=function(t){d(this,E,"Promise","_h"),h(t),r.call(this);try{t(c(I,this,1),c(N,this,1))}catch(t){N.call(this,t)}},r=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},r.prototype=n(42)(E.prototype,{then:function(t,e){var n=S(g(this,E));return n.ok="function"!=typeof t||t,n.fail="function"==typeof e&&e,n.domain=k?O.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&M(this,!1),n.promise},catch:function(t){return this.then(void 0,t)}}),i=function(){var t=new r;this.promise=t,this.resolve=c(I,t,1),this.reject=c(N,t,1)},b.f=S=function(t){return t===E||t===a?new i(t):o(t)}),f(f.G+f.W+f.F*!P,{Promise:E}),n(38)(E,"Promise"),n(40)("Promise"),a=n(28).Promise,f(f.S+f.F*!P,"Promise",{reject:function(t){var e=S(this);return(0,e.reject)(t),e.promise}}),f(f.S+f.F*(s||!P),"Promise",{resolve:function(t){return w(s&&this===a?E:this,t)}}),f(f.S+f.F*!(P&&n(55)(function(t){E.all(t).catch(x)})),"Promise",{all:function(t){var e=this,n=S(e),r=n.resolve,o=n.reject,i=_(function(){var n=[],i=0,a=1;y(t,!1,function(t){var s=i++,u=!1;n.push(void 0),a++,e.resolve(t).then(function(t){u||(u=!0,n[s]=t,--a||r(n))},o)}),--a||r(n)});return i.e&&o(i.v),n.promise},race:function(t){var e=this,n=S(e),r=n.reject,o=_(function(){y(t,!1,function(t){e.resolve(t).then(n.resolve,r)})});return o.e&&r(o.v),n.promise}})},function(t,e,n){var r=n(4),o=n(113).set,i=r.MutationObserver||r.WebKitMutationObserver,a=r.process,s=r.Promise,u="process"==n(23)(a);t.exports=function(){var t,e,n,c=function(){var r,o;for(u&&(r=a.domain)&&r.exit();t;){o=t.fn,t=t.next;try{o()}catch(r){throw t?n():e=void 0,r}}e=void 0,r&&r.enter()};if(u)n=function(){a.nextTick(c)};else if(!i||r.navigator&&r.navigator.standalone)if(s&&s.resolve){var l=s.resolve();n=function(){l.then(c)}}else n=function(){o.call(r,c)};else{var f=!0,p=document.createTextNode("");new i(c).observe(p,{characterData:!0}),n=function(){p.data=f=!f}}return function(r){var o={fn:r,next:void 0};e&&(e.next=o),t||(t=o,n()),e=o}}},function(t,e){t.exports=function(t){try{return{e:!1,v:t()}}catch(t){return{e:!0,v:t}}}},function(t,e,n){var r=n(1),o=n(3),i=n(114);t.exports=function(t,e){if(r(t),o(e)&&e.constructor===t)return e;var n=i.f(t);return(0,n.resolve)(e),n.promise}},function(t,e,n){"use strict";var r=n(119),o=n(43);n(57)("WeakSet",function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},{add:function(t){return r.def(o(this,"WeakSet"),t,!0)}},r,!1,!0)},function(t,e,n){"use strict";var r=n(0),o=n(58),i=n(84),a=n(1),s=n(34),u=n(8),c=n(3),l=n(4).ArrayBuffer,f=n(83),p=i.ArrayBuffer,h=i.DataView,d=o.ABV&&l.isView,y=p.prototype.slice,g=o.VIEW;r(r.G+r.W+r.F*(l!==p),{ArrayBuffer:p}),r(r.S+r.F*!o.CONSTR,"ArrayBuffer",{isView:function(t){return d&&d(t)||c(t)&&g in t}}),r(r.P+r.U+r.F*n(2)(function(){return!new p(2).slice(1,void 0).byteLength}),"ArrayBuffer",{slice:function(t,e){if(void 0!==y&&void 0===e)return y.call(a(this),t);for(var n=a(this).byteLength,r=s(t,n),o=s(void 0===e?n:e,n),i=new(f(this,p))(u(o-r)),c=new h(this),l=new h(i),d=0;r=n.length)return{value:void 0,done:!0}}while(!((t=n[e._i++])in e._t));return{value:t,done:!1}}),r(r.S,"Reflect",{enumerate:function(t){return new i(t)}})},function(t,e,n){function r(t,e){var n,s,l=arguments.length<3?t:arguments[2];return c(t)===l?t[e]:(n=o.f(t,e))?a(n,"value")?n.value:void 0!==n.get?n.get.call(l):void 0:u(s=i(t))?r(s,e,l):void 0}var o=n(25),i=n(19),a=n(9),s=n(0),u=n(3),c=n(1);s(s.S,"Reflect",{get:r})},function(t,e,n){var r=n(25),o=n(0),i=n(1);o(o.S,"Reflect",{getOwnPropertyDescriptor:function(t,e){return r.f(i(t),e)}})},function(t,e,n){var r=n(0),o=n(19),i=n(1);r(r.S,"Reflect",{getPrototypeOf:function(t){return o(i(t))}})},function(t,e,n){var r=n(0);r(r.S,"Reflect",{has:function(t,e){return e in t}})},function(t,e,n){var r=n(0),o=n(1),i=Object.isExtensible;r(r.S,"Reflect",{isExtensible:function(t){return o(t),!i||i(t)}})},function(t,e,n){var r=n(0);r(r.S,"Reflect",{ownKeys:n(277)})},function(t,e,n){var r=n(36),o=n(51),i=n(1),a=n(4).Reflect;t.exports=a&&a.ownKeys||function(t){var e=r.f(i(t)),n=o.f;return n?e.concat(n(t)):e}},function(t,e,n){var r=n(0),o=n(1),i=Object.preventExtensions;r(r.S,"Reflect",{preventExtensions:function(t){o(t);try{return i&&i(t),!0}catch(t){return!1}}})},function(t,e,n){function r(t,e,n){var u,p,h=arguments.length<4?t:arguments[3],d=i.f(l(t),e);if(!d){if(f(p=a(t)))return r(p,e,n,h);d=c(0)}return s(d,"value")?!(!1===d.writable||!f(h))&&(u=i.f(h,e)||c(0),u.value=n,o.f(h,e,u),!0):void 0!==d.set&&(d.set.call(h,n),!0)}var o=n(6),i=n(25),a=n(19),s=n(9),u=n(0),c=n(32),l=n(1),f=n(3);u(u.S,"Reflect",{set:r})},function(t,e,n){var r=n(0),o=n(70);o&&r(r.S,"Reflect",{setPrototypeOf:function(t,e){o.check(t,e);try{return o.set(t,e),!0}catch(t){return!1}}})},function(t,e,n){n(282),n(283),n(284),n(285),n(287),n(288),n(289),n(290),n(291),t.exports=n(28).Reflect},function(t,e,n){var r=n(27),o=n(1),i=r.key,a=r.set;r.exp({defineMetadata:function(t,e,n,r){a(t,e,o(n),i(r))}})},function(t,e,n){var r=n(27),o=n(1),i=r.key,a=r.map,s=r.store;r.exp({deleteMetadata:function(t,e){var n=arguments.length<3?void 0:i(arguments[2]),r=a(o(e),n,!1);if(void 0===r||!r.delete(t))return!1;if(r.size)return!0;var u=s.get(e);return u.delete(n),!!u.size||s.delete(e)}})},function(t,e,n){var r=n(27),o=n(1),i=n(19),a=r.has,s=r.get,u=r.key,c=function(t,e,n){if(a(t,e,n))return s(t,e,n);var r=i(e);return null!==r?c(t,r,n):void 0};r.exp({getMetadata:function(t,e){return c(t,o(e),arguments.length<3?void 0:u(arguments[2]))}})},function(t,e,n){var r=n(117),o=n(286),i=n(27),a=n(1),s=n(19),u=i.keys,c=i.key,l=function(t,e){var n=u(t,e),i=s(t);if(null===i)return n;var a=l(i,e);return a.length?n.length?o(new r(n.concat(a))):a:n};i.exp({getMetadataKeys:function(t){return l(a(t),arguments.length<2?void 0:c(arguments[1]))}})},function(t,e,n){var r=n(49);t.exports=function(t,e){var n=[];return r(t,!1,n.push,n,e),n}},function(t,e,n){var r=n(27),o=n(1),i=r.get,a=r.key;r.exp({getOwnMetadata:function(t,e){return i(t,o(e),arguments.length<3?void 0:a(arguments[2]))}})},function(t,e,n){var r=n(27),o=n(1),i=r.keys,a=r.key;r.exp({getOwnMetadataKeys:function(t){return i(o(t),arguments.length<2?void 0:a(arguments[1]))}})},function(t,e,n){var r=n(27),o=n(1),i=n(19),a=r.has,s=r.key,u=function(t,e,n){if(a(t,e,n))return!0;var r=i(e);return null!==r&&u(t,r,n)};r.exp({hasMetadata:function(t,e){return u(t,o(e),arguments.length<3?void 0:s(arguments[2]))}})},function(t,e,n){var r=n(27),o=n(1),i=r.has,a=r.key;r.exp({hasOwnMetadata:function(t,e){return i(t,o(e),arguments.length<3?void 0:a(arguments[2]))}})},function(t,e,n){var r=n(27),o=n(1),i=n(16),a=r.key,s=r.set;r.exp({metadata:function(t,e){return function(n,r){s(t,e,(void 0!==r?o:i)(n),a(r))}}})},function(t,e,n){(function(t){!function(t,e){e()}(0,function(){"use strict";function e(t,e){return Zone.current.wrap(t,e)}function n(t,e,n,r,o){return Zone.current.scheduleMacroTask(t,e,n,r,o)}function r(t,n){for(var r=t.length-1;r>=0;r--)"function"==typeof t[r]&&(t[r]=e(t[r],n+"_"+r));return t}function o(t,e){for(var n=t.constructor.name,o=0;o=0&&"function"==typeof i[a.cbIdx]?n(a.name,i[a.cbIdx],a,o,null):t.apply(e,i)}})}function f(t,e){t[G("OriginalDelegate")]=e}function p(){if(nt)return rt;nt=!0;try{var t=Z.navigator.userAgent;return-1===t.indexOf("MSIE ")&&-1===t.indexOf("Trident/")&&-1===t.indexOf("Edge/")||(rt=!0),rt}catch(t){}}function h(t,e,n){for(var r=n&&n.add||V,o=n&&n.rm||F,i=n&&n.listeners||"eventListeners",a=n&&n.rmAll||"removeAllListeners",s=G(r),u="."+r+":",c="prependListener",l="."+c+":",p=function(t,e,n){if(!t.isRemoved){var r=t.callback;"object"==typeof r&&r.handleEvent&&(t.callback=function(t){return r.handleEvent(t)},t.originalDelegate=r),t.invoke(t,e,[n]);var i=t.options;if(i&&"object"==typeof i&&i.once){var a=t.originalDelegate?t.originalDelegate:t.callback;e[o].call(e,n.type,a,i)}}},h=function(e){if(e=e||t.event){var n=this||e.target||t,r=n[it[e.type][H]];if(r)if(1===r.length)p(r[0],n,e);else for(var o=r.slice(),i=0;i1?new n(t,e):new n(t),a=A(i,"onmessage");return a&&!1===a.configurable?(r=N(i),o=i,[V,F,"send","close"].forEach(function(t){r[t]=function(){var e=I.call(arguments);if(t===V||t===F){var n=e.length>0?e[0]:void 0;if(n){var o=Zone.__symbol__("ON_PROPERTY"+n);i[o]=r[o]}}return i[t].apply(i,e)}})):r=i,s(r,["close","error","message","open"],o),r};var r=e.WebSocket;for(var o in n)r[o]=n[o]}function O(t,e,n){if(!n)return e;var r=n.filter(function(e){return e.target===t});if(!r||0===r.length)return e;var o=r[0].ignoreProperties;return e.filter(function(t){return-1===o.indexOf(t)})}function E(t,e,n,r){s(t,O(t,e,n),r)}function k(t,e){if(!Q||J){var n="undefined"!=typeof WebSocket;if(x()){var r=e.__Zone_ignore_on_properties;if(Y){var o=window;E(o,Mt.concat(["messageerror"]),r,D(o)),E(Document.prototype,Mt,r),void 0!==o.SVGElement&&E(o.SVGElement.prototype,Mt,r),E(Element.prototype,Mt,r),E(HTMLElement.prototype,Mt,r),E(HTMLMediaElement.prototype,mt,r),E(HTMLFrameSetElement.prototype,gt.concat(Et),r),E(HTMLBodyElement.prototype,gt.concat(Et),r),E(HTMLFrameElement.prototype,Ot,r),E(HTMLIFrameElement.prototype,Ot,r);var i=o.HTMLMarqueeElement;i&&E(i.prototype,kt,r);var a=o.Worker;a&&E(a.prototype,Tt,r)}E(XMLHttpRequest.prototype,xt,r);var s=e.XMLHttpRequestEventTarget;s&&E(s&&s.prototype,xt,r),"undefined"!=typeof IDBIndex&&(E(IDBIndex.prototype,St,r),E(IDBRequest.prototype,St,r),E(IDBOpenDBRequest.prototype,St,r),E(IDBDatabase.prototype,St,r),E(IDBTransaction.prototype,St,r),E(IDBCursor.prototype,St,r)),n&&E(WebSocket.prototype,Pt,r)}else S(),u("XMLHttpRequest"),n&&C(t,e)}}function x(){if((Y||J)&&!A(HTMLElement.prototype,"onclick")&&"undefined"!=typeof Element){var t=A(Element.prototype,"onclick");if(t&&!t.configurable)return!1}var e=XMLHttpRequest.prototype,n=A(e,"onreadystatechange");if(n){j(e,"onreadystatechange",{enumerable:!0,configurable:!0,get:function(){return!0}});var r=new XMLHttpRequest,o=!!r.onreadystatechange;return j(e,"onreadystatechange",n||{}),o}var i=G("fake");j(e,"onreadystatechange",{enumerable:!0,configurable:!0,get:function(){return this[i]},set:function(t){this[i]=t}});var r=new XMLHttpRequest,a=function(){};r.onreadystatechange=a;var o=r[i]===a;return r.onreadystatechange=null,o}function S(){for(var t=0;t",this._properties=e&&e.properties||{},this._zoneDelegate=new f(this,this._parent&&this._parent._zoneDelegate,e)}return r.assertZonePatched=function(){if(t.Promise!==P.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.)")},Object.defineProperty(r,"root",{get:function(){for(var t=r.current;t.parent;)t=t.parent;return t},enumerable:!0,configurable:!0}),Object.defineProperty(r,"current",{get:function(){return M.zone},enumerable:!0,configurable:!0}),Object.defineProperty(r,"currentTask",{get:function(){return A},enumerable:!0,configurable:!0}),r.__load_patch=function(o,i){if(P.hasOwnProperty(o))throw Error("Already loaded patch: "+o);if(!t["__Zone_disable_"+o]){var a="Zone:"+o;e(a),P[o]=i(t,r,T),n(a,a)}},Object.defineProperty(r.prototype,"parent",{get:function(){return this._parent},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"name",{get:function(){return this._name},enumerable:!0,configurable:!0}),r.prototype.get=function(t){var e=this.getZoneWith(t);if(e)return e._properties[t]},r.prototype.getZoneWith=function(t){for(var e=this;e;){if(e._properties.hasOwnProperty(t))return e;e=e._parent}return null},r.prototype.fork=function(t){if(!t)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,t)},r.prototype.wrap=function(t,e){if("function"!=typeof t)throw new Error("Expecting function got: "+t);var n=this._zoneDelegate.intercept(this,t,e),r=this;return function(){return r.runGuarded(n,this,arguments,e)}},r.prototype.run=function(t,e,n,r){void 0===e&&(e=void 0),void 0===n&&(n=null),void 0===r&&(r=null),M={parent:M,zone:this};try{return this._zoneDelegate.invoke(this,t,e,n,r)}finally{M=M.parent}},r.prototype.runGuarded=function(t,e,n,r){void 0===e&&(e=null),void 0===n&&(n=null),void 0===r&&(r=null),M={parent:M,zone:this};try{try{return this._zoneDelegate.invoke(this,t,e,n,r)}catch(t){if(this._zoneDelegate.handleError(this,t))throw t}}finally{M=M.parent}},r.prototype.runTask=function(t,e,n){if(t.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(t.zone||m).name+"; Execution: "+this.name+")");if(t.state!==b||t.type!==S){var r=t.state!=C;r&&t._transitionTo(C,w),t.runCount++;var o=A;A=t,M={parent:M,zone:this};try{t.type==x&&t.data&&!t.data.isPeriodic&&(t.cancelFn=null);try{return this._zoneDelegate.invokeTask(this,t,e,n)}catch(t){if(this._zoneDelegate.handleError(this,t))throw t}}finally{t.state!==b&&t.state!==E&&(t.type==S||t.data&&t.data.isPeriodic?r&&t._transitionTo(w,C):(t.runCount=0,this._updateTaskCount(t,-1),r&&t._transitionTo(b,C,b))),M=M.parent,A=o}}},r.prototype.scheduleTask=function(t){if(t.zone&&t.zone!==this)for(var e=this;e;){if(e===t.zone)throw Error("can not reschedule task to "+this.name+" which is descendants of the original zone "+t.zone.name);e=e.parent}t._transitionTo(_,b);var n=[];t._zoneDelegates=n,t._zone=this;try{t=this._zoneDelegate.scheduleTask(this,t)}catch(e){throw t._transitionTo(E,_,b),this._zoneDelegate.handleError(this,e),e}return t._zoneDelegates===n&&this._updateTaskCount(t,1),t.state==_&&t._transitionTo(w,_),t},r.prototype.scheduleMicroTask=function(t,e,n,r){return this.scheduleTask(new p(k,t,e,n,r,null))},r.prototype.scheduleMacroTask=function(t,e,n,r,o){return this.scheduleTask(new p(x,t,e,n,r,o))},r.prototype.scheduleEventTask=function(t,e,n,r,o){return this.scheduleTask(new p(S,t,e,n,r,o))},r.prototype.cancelTask=function(t){if(t.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(t.zone||m).name+"; Execution: "+this.name+")");t._transitionTo(O,w,C);try{this._zoneDelegate.cancelTask(this,t)}catch(e){throw t._transitionTo(E,O),this._zoneDelegate.handleError(this,e),e}return this._updateTaskCount(t,-1),t._transitionTo(b,O),t.runCount=0,t},r.prototype._updateTaskCount=function(t,e){var n=t._zoneDelegates;-1==e&&(t._zoneDelegates=null);for(var r=0;r0,macroTask:n.macroTask>0,eventTask:n.eventTask>0,change:t};this.hasTask(this.zone,i)}},t}(),p=function(){function e(n,r,o,i,a,s){this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=n,this.source=r,this.data=i,this.scheduleFn=a,this.cancelFn=s,this.callback=o;var u=this;n===S&&i&&i.useG?this.invoke=e.invokeTask:this.invoke=function(){return e.invokeTask.call(t,u,this,arguments)}}return e.invokeTask=function(t,e,n){t||(t=this),j++;try{return t.runCount++,t.zone.runTask(t,e,n)}finally{1==j&&o(),j--}},Object.defineProperty(e.prototype,"zone",{get:function(){return this._zone},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"state",{get:function(){return this._state},enumerable:!0,configurable:!0}),e.prototype.cancelScheduleRequest=function(){this._transitionTo(b,_)},e.prototype._transitionTo=function(t,e,n){if(this._state!==e&&this._state!==n)throw new Error(this.type+" '"+this.source+"': can not transition to '"+t+"', expecting state '"+e+"'"+(n?" or '"+n+"'":"")+", was '"+this._state+"'.");this._state=t,t==b&&(this._zoneDelegates=null)},e.prototype.toString=function(){return this.data&&void 0!==this.data.handleId?this.data.handleId:Object.prototype.toString.call(this)},e.prototype.toJSON=function(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}},e}(),h=a("setTimeout"),d=a("Promise"),y=a("then"),g=[],v=!1,m={name:"NO ZONE"},b="notScheduled",_="scheduling",w="scheduled",C="running",O="canceling",E="unknown",k="microTask",x="macroTask",S="eventTask",P={},T={symbol:a,currentZoneFrame:function(){return M},onUnhandledError:i,microtaskDrainDone:i,scheduleMicroTask:r,showUncaughtError:function(){return!u[a("ignoreConsoleErrorUncaughtError")]},patchEventTarget:function(){return[]},patchOnProperties:i,patchMethod:function(){return i},bindArguments:function(){return null},setNativePromise:function(t){t&&"function"==typeof t.resolve&&(c=t.resolve(0))}},M={parent:null,zone:new u(null,null)},A=null,j=0;n("Zone","Zone"),t.Zone=u}("undefined"!=typeof window&&window||"undefined"!=typeof self&&self||t);Zone.__load_patch("ZoneAwarePromise",function(t,e,n){function r(t){if(t&&t.toString===Object.prototype.toString){var e=t.constructor&&t.constructor.name;return(e||"")+": "+JSON.stringify(t)}return t?t.toString():Object.prototype.toString.call(t)}function o(t){n.onUnhandledError(t);try{var r=e[_];r&&"function"==typeof r&&r.call(this,t)}catch(t){}}function i(t){return t&&t.then}function a(t){return t}function s(t){return j.reject(t)}function u(t,e){return function(n){try{c(t,e,n)}catch(e){c(t,!1,e)}}}function c(t,o,i){var a=P();if(t===i)throw new TypeError(T);if(t[w]===E){var s=null;try{"object"!=typeof i&&"function"!=typeof i||(s=i&&i.then)}catch(e){return a(function(){c(t,!1,e)})(),t}if(o!==x&&i instanceof j&&i.hasOwnProperty(w)&&i.hasOwnProperty(C)&&i[w]!==E)l(i),c(t,i[w],i[C]);else if(o!==x&&"function"==typeof s)try{s.call(i,a(u(t,o)),a(u(t,!1)))}catch(e){a(function(){c(t,!1,e)})()}else{t[w]=o;var p=t[C];if(t[C]=i,o===x&&i instanceof Error){var h=e.currentTask&&e.currentTask.data&&e.currentTask.data[b];h&&d(i,M,{configurable:!0,enumerable:!1,writable:!0,value:h})}for(var y=0;y1&&"number"==typeof t[t.length-1]&&(n=t.pop())):"number"==typeof u&&(n=t.pop()),null===r&&1===t.length&&t[0]instanceof o.Observable?t[0]:s.mergeAll(n)(new i.ArrayObservable(t,r))}var o=n(21),i=n(299),a=n(128),s=n(301);e.merge=r},function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n(21),i=n(300),a=n(127),s=n(128),u=function(t){function e(e,n){t.call(this),this.array=e,this.scheduler=n,n||1!==e.length||(this._isScalar=!0,this.value=e[0])}return r(e,t),e.create=function(t,n){return new e(t,n)},e.of=function(){for(var t=[],n=0;n1?new e(t,r):1===o?new i.ScalarObservable(t[0],r):new a.EmptyObservable(r)},e.dispatch=function(t){var e=t.array,n=t.index,r=t.count,o=t.subscriber;if(n>=r)return void o.complete();o.next(e[n]),o.closed||(t.index=n+1,this.schedule(t))},e.prototype._subscribe=function(t){var n=this.array,r=n.length,o=this.scheduler;if(o)return o.schedule(e.dispatch,0,{array:n,index:0,count:r,subscriber:t});for(var i=0;i0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()},e}(a.OuterSubscriber);e.MergeMapSubscriber=u},function(t,e,n){"use strict";e.isArrayLike=function(t){return t&&"number"==typeof t.length}},function(t,e,n){"use strict";function r(t){return t&&"function"!=typeof t.subscribe&&"function"==typeof t.then}e.isPromise=r},function(t,e,n){"use strict";function r(t){var e=t.Symbol;if("function"==typeof e)return e.iterator||(e.iterator=e("iterator polyfill")),e.iterator;var n=t.Set;if(n&&"function"==typeof(new n)["@@iterator"])return"@@iterator";var r=t.Map;if(r)for(var o=Object.getOwnPropertyNames(r.prototype),i=0;i1)return void(this.connection=null);var n=this.connection,r=t._connection;this.connection=null,!r||n&&r!==n||r.unsubscribe()},e}(a.Subscriber))},function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=function(t){function e(){var e=t.call(this,"object unsubscribed");this.name=e.name="ObjectUnsubscribedError",this.stack=e.stack,this.message=e.message}return r(e,t),e}(Error);e.ObjectUnsubscribedError=o},function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n(62),i=function(t){function e(e,n){t.call(this),this.subject=e,this.subscriber=n,this.closed=!1}return r(e,t),e.prototype.unsubscribe=function(){if(!this.closed){this.closed=!0;var t=this.subject,e=t.observers;if(this.subject=null,e&&0!==e.length&&!t.isStopped&&!t.closed){var n=e.indexOf(this.subscriber);-1!==n&&e.splice(n,1)}}},e}(o.Subscription);e.SubjectSubscription=i},function(t,e,n){"use strict";n.d(e,"a",function(){return f});var r=n(15),o=n(315),i=n(89),a=n(325),s=n(60),u=n(59),c=n(133),l=n(134),f=r._4(o.a,[i.a],function(t){return r._15([r._16(512,r.j,r._0,[[8,[a.a]],[3,r.j],r.y]),r._16(5120,r.w,r._18,[[3,r.w]]),r._16(4608,s.f,s.e,[r.w,[2,s.i]]),r._16(4608,r.h,r.h,[]),r._16(5120,r.a,r._9,[]),r._16(5120,r.u,r._14,[]),r._16(5120,r.v,r._17,[]),r._16(4608,u.b,u.q,[s.b]),r._16(6144,r.J,null,[u.b]),r._16(4608,u.e,u.f,[]),r._16(5120,u.c,function(t,e,n,r,o){return[new u.j(t,e),new u.n(n),new u.m(r,o)]},[s.b,r.A,s.b,s.b,u.e]),r._16(4608,u.d,u.d,[u.c,r.A]),r._16(135680,u.l,u.l,[s.b]),r._16(4608,u.k,u.k,[u.d,u.l]),r._16(6144,r.H,null,[u.k]),r._16(6144,u.o,null,[u.l]),r._16(4608,r.O,r.O,[r.A]),r._16(4608,u.g,u.g,[s.b]),r._16(4608,u.h,u.h,[s.b]),r._16(4608,c.c,c.c,[]),r._16(512,s.a,s.a,[]),r._16(1024,r.m,u.p,[]),r._16(1024,r.b,function(t){return[u.s(t)]},[[2,r.z]]),r._16(512,r.c,r.c,[[2,r.b]]),r._16(131584,r.e,r.e,[r.A,r._1,r.s,r.m,r.j,r.c]),r._16(512,r.d,r.d,[r.e]),r._16(512,u.a,u.a,[[3,u.a]]),r._16(512,c.b,c.b,[]),r._16(512,c.a,c.a,[]),r._16(512,l.a,l.a,[]),r._16(512,o.a,o.a,[])])})},function(t,e,n){"use strict";n.d(e,"a",function(){return u});var r=n(15),o=n(59),i=n(133),a=n(134),s=n(89),u=function(){function t(){}return t.decorators=[{type:r.x,args:[{imports:[o.a,i.a,a.a],declarations:[s.a],bootstrap:[s.a]}]}],t.ctorParameters=function(){return[]},t}()},function(t,e,n){"use strict";var r=n(317);e.forkJoin=r.ForkJoinObservable.create},function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n(21),i=n(127),a=n(122),s=n(129),u=n(130),c=function(t){function e(e,n){t.call(this),this.sources=e,this.resultSelector=n}return r(e,t),e.create=function(){for(var t=[],n=0;n=0;s--)(o=t[s])&&(a=(i<3?o(a):i>3?o(e,n,a):o(e,n))||a);return i>3&&a&&Object.defineProperty(e,n,a),a}e.c=r,n.d(e,"a",function(){return a}),e.b=o;var i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},a=Object.assign||function(t){for(var e,n=1,r=arguments.length;n0?o(r(t),9007199254740991):0}},function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},function(t,e,n){var r=n(0),o=n(2),i=n(31),a=/"/g,s=function(t,e,n,r){var o=String(i(t)),s="<"+e;return""!==n&&(s+=" "+n+'="'+String(r).replace(a,""")+'"'),s+">"+o+""};t.exports=function(t,e){var n={};n[t]=e(s),r(r.P+r.F*o(function(){var e=""[t]('"');return e!==e.toLowerCase()||e.split('"').length>3}),"String",n)}},function(t,e,n){var r=n(4),o=n(13),i=n(9),a=n(33)("src"),s=Function.toString,u=(""+s).split("toString");n(28).inspectSource=function(t){return s.call(t)},(t.exports=function(t,e,n,s){var c="function"==typeof n;c&&(i(n,"name")||o(n,"name",e)),t[e]!==n&&(c&&(i(n,a)||o(n,a,t[e]?""+t[e]:u.join(String(e)))),t===r?t[e]=n:s?t[e]?t[e]=n:o(t,e,n):(delete t[e],o(t,e,n)))})(Function.prototype,"toString",function(){return"function"==typeof this&&this[a]||s.call(this)})},function(t,e,n){var r=n(31);t.exports=function(t){return Object(r(t))}},function(t,e,n){var r=n(6),o=n(32);t.exports=n(7)?function(t,e,n){return r.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e,n){"use strict";var r=n(2);t.exports=function(t,e){return!!t&&r(function(){e?t.call(null,function(){},1):t.call(null)})}},function(t,e,n){"use strict";(function(t){function r(t,e,n,r){function i(t){if(this instanceof i)return a.call(this,t),this;var e=new i(t),n=function(t){return(t.hasOwnProperty(ro)?t[ro]:Object.defineProperty(t,ro,{value:[]})[ro]).push(e),t};return r&&r(n),n}var a=o(e);return n&&(i.prototype=Object.create(n.prototype)),i.prototype.ngMetadataName=t,i.annotationCls=i,i}function o(t){return function(){for(var e=[],n=0;n ");else if("object"==typeof e){var r=[];for(var o in e)if(e.hasOwnProperty(o)){var i=e[o];r.push(o+":"+("string"==typeof i?JSON.stringify(i):l(i)))}n="{"+r.join(", ")+"}"}return"StaticInjectorError["+n+"]: "+t.replace(qo,"\n ")}function _(t,e){return new Error(b(t,e))}function w(t){return t[Qo]}function C(t){return t[Yo]}function O(t){return t[Jo]||E}function E(t){for(var e=[],n=1;n-1)return e.push(t[n]),e;e.push(t[n])}return e}function S(t){if(t.length>1){return" ("+x(t.slice().reverse()).map(function(t){return l(t.token)}).join(" -> ")+")"}return""}function P(t,e,n,r){var o=[e],i=n(o),a=r?k(i,r):Error(i);return a.addKey=T,a.keys=o,a.injectors=[t],a.constructResolvingMessage=n,a[Yo]=r,a}function T(t,e){this.injectors.push(t),this.keys.push(e),this.message=this.constructResolvingMessage(this.keys)}function M(t,e){return P(t,e,function(t){return"No provider for "+l(t[0].token)+"!"+S(t)})}function j(t,e){return P(t,e,function(t){return"Cannot instantiate cyclic dependency!"+S(t)})}function A(t,e,n,r){return P(t,r,function(t){var n=l(t[0].token);return e.message+": Error during instantiation of "+n+"!"+S(t)+"."},e)}function N(t){return Error("Invalid provider - only instances of Provider and Type are allowed, got: "+t)}function D(t,e){for(var n=[],r=0,o=e.length;r-1&&t.splice(n,1)}function wt(t){return t.reduce(function(t,e){var n=Array.isArray(e)?wt(e):e;return t.concat(n)},[])}function Ct(t,e,n){if(!t)throw new Error("Cannot find '"+n+"' in '"+e+"'");return t}function Ot(t,e,n){t.childNodes.forEach(function(t){t instanceof fa&&(e(t)&&n.push(t),Ot(t,e,n))})}function Et(t,e,n){t instanceof fa&&t.childNodes.forEach(function(t){e(t)&&n.push(t),t instanceof fa&&Et(t,e,n)})}function kt(t){return pa.get(t)||null}function xt(t){pa.set(t.nativeNode,t)}function St(t){pa.delete(t.nativeNode)}function Pt(t,e){var n=Tt(t),r=Tt(e);if(n&&r)return Mt(t,e,Pt);var o=t&&("object"==typeof t||"function"==typeof t),i=e&&("object"==typeof e||"function"==typeof e);return!(n||!o||r||!i)||c(t,e)}function Tt(t){return!!At(t)&&(Array.isArray(t)||!(t instanceof Map)&&s()in t)}function Mt(t,e,n){for(var r=t[s()](),o=e[s()]();;){var i=r.next(),a=o.next();if(i.done&&a.done)return!0;if(i.done||a.done)return!1;if(!n(i.value,a.value))return!1}}function jt(t,e){if(Array.isArray(t))for(var n=0;n0&&Ae(t,e,0,n)&&(h=!0),p>1&&Ae(t,e,1,r)&&(h=!0),p>2&&Ae(t,e,2,o)&&(h=!0),p>3&&Ae(t,e,3,i)&&(h=!0),p>4&&Ae(t,e,4,a)&&(h=!0),p>5&&Ae(t,e,5,s)&&(h=!0),p>6&&Ae(t,e,6,u)&&(h=!0),p>7&&Ae(t,e,7,c)&&(h=!0),p>8&&Ae(t,e,8,l)&&(h=!0),p>9&&Ae(t,e,9,f)&&(h=!0),h}function je(t,e,n){for(var r=!1,o=0;o0?o[n-1]:null,r)}function We(t,e){var n=ae(e);if(n&&n!==t&&!(16&e.state)){e.state|=16;var r=n.template._projectedViews;r||(r=n.template._projectedViews=[]),r.push(e),qe(e.parent.def,e.parentNodeDef)}}function qe(t,e){if(!(4&e.flags)){t.nodeFlags|=4,e.flags|=4;for(var n=e.parent;n;)n.childFlags|=4,n=n.parent}}function $e(t,e){var n=t.viewContainer._embeddedViews;if((null==e||e>=n.length)&&(e=n.length-1),e<0)return null;var r=n[e];return r.viewContainerParent=null,tn(n,e),Fa.dirtyParentQueries(r),Je(r),r}function Ke(t){if(16&t.state){var e=ae(t);if(e){var n=e.template._projectedViews;n&&(tn(n,n.indexOf(t)),Fa.dirtyParentQueries(t))}}}function Qe(t,e,n){var r=t.viewContainer._embeddedViews,o=r[e];return tn(r,e),null==n&&(n=r.length),Xe(r,n,o),Fa.dirtyParentQueries(o),Je(o),Ye(t,n>0?r[n-1]:null,o),o}function Ye(t,e,n){var r=e?ue(e,e.def.lastRenderRootNode):t.renderElement;me(n,2,n.renderer.parentNode(r),n.renderer.nextSibling(r),void 0)}function Je(t){me(t,3,null,null,void 0)}function Xe(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function tn(t,e){e>=t.length-1?t.pop():t.splice(e,1)}function en(t,e,n,r,o,i){return new Ka(t,e,n,r,o,i)}function nn(t){return t.viewDefFactory}function rn(t,e,n){return new Ya(t,e,n)}function on(t){return new Ja(t)}function an(t,e){return new Xa(t,e)}function sn(t,e){return new ts(t,e)}function un(t){return new es(t.renderer)}function cn(t,e,n,r){return new ns(t,e,n,r)}function ln(t,e,n,r,o,i,a,s){var u=[];if(a)for(var c in a){var l=a[c],f=l[0],p=l[1];u[f]={flags:8,name:c,nonMinifiedName:p,ns:null,securityContext:null,suffix:null}}var h=[];if(s)for(var d in s)h.push({type:1,propName:d,target:null,eventName:s[d]});return e|=16384,fn(t,e,n,r,o,o,i,u,h)}function fn(t,e,n,r,o,i,a,s,u){var c=he(n),l=c.matchedQueries,f=c.references,h=c.matchedQueryIds;u||(u=[]),s||(s=[]),i=p(i);var d=de(a);return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:t,flags:e,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:l,matchedQueryIds:h,references:f,ngContentIndex:-1,childCount:r,bindings:s,bindingFlags:Ee(s),outputs:u,element:null,provider:{token:o,value:i,deps:d},text:null,query:null,ngContent:null}}function pn(t,e){return mn(t,e)}function hn(t,e){for(var n=t;n.parent&&!le(n);)n=n.parent;return bn(n.parent,se(n),!0,e.provider.value,e.provider.deps)}function dn(t,e){var n=(32768&e.flags)>0,r=bn(t,e.parent,n,e.provider.value,e.provider.deps);if(e.outputs.length)for(var o=0;o0&&te(t,e,0,n)&&(d=!0,y=On(t,p,e,0,n,y)),g>1&&te(t,e,1,r)&&(d=!0,y=On(t,p,e,1,r,y)),g>2&&te(t,e,2,o)&&(d=!0,y=On(t,p,e,2,o,y)),g>3&&te(t,e,3,i)&&(d=!0,y=On(t,p,e,3,i,y)),g>4&&te(t,e,4,a)&&(d=!0,y=On(t,p,e,4,a,y)),g>5&&te(t,e,5,s)&&(d=!0,y=On(t,p,e,5,s,y)),g>6&&te(t,e,6,u)&&(d=!0,y=On(t,p,e,6,u,y)),g>7&&te(t,e,7,c)&&(d=!0,y=On(t,p,e,7,c,y)),g>8&&te(t,e,8,l)&&(d=!0,y=On(t,p,e,8,l,y)),g>9&&te(t,e,9,f)&&(d=!0,y=On(t,p,e,9,f,y)),y&&h.ngOnChanges(y),65536&e.flags&&Lt(t,256,e.nodeIndex)&&h.ngOnInit(),262144&e.flags&&h.ngDoCheck(),d}function vn(t,e,n){for(var r=Bt(t,e.nodeIndex),o=r.instance,i=!1,a=void 0,s=0;s0,r=e.provider;switch(201347067&e.flags){case 512:return bn(t,e.parent,n,r.value,r.deps);case 1024:return _n(t,e.parent,n,r.value,r.deps);case 2048:return wn(t,e.parent,n,r.deps[0]);case 256:return r.value}}function bn(t,e,n,r,o){var i=o.length;switch(i){case 0:return new r;case 1:return new r(wn(t,e,n,o[0]));case 2:return new r(wn(t,e,n,o[0]),wn(t,e,n,o[1]));case 3:return new r(wn(t,e,n,o[0]),wn(t,e,n,o[1]),wn(t,e,n,o[2]));default:for(var a=new Array(i),s=0;s0&&ee(t,e,0,n)&&(h=!0),d>1&&ee(t,e,1,r)&&(h=!0),d>2&&ee(t,e,2,o)&&(h=!0),d>3&&ee(t,e,3,i)&&(h=!0),d>4&&ee(t,e,4,a)&&(h=!0),d>5&&ee(t,e,5,s)&&(h=!0),d>6&&ee(t,e,6,u)&&(h=!0),d>7&&ee(t,e,7,c)&&(h=!0),d>8&&ee(t,e,8,l)&&(h=!0),d>9&&ee(t,e,9,f)&&(h=!0),h){var y=Ut(t,e.nodeIndex),g=void 0;switch(201347067&e.flags){case 32:g=new Array(p.length),d>0&&(g[0]=n),d>1&&(g[1]=r),d>2&&(g[2]=o),d>3&&(g[3]=i),d>4&&(g[4]=a),d>5&&(g[5]=s),d>6&&(g[6]=u),d>7&&(g[7]=c),d>8&&(g[8]=l),d>9&&(g[9]=f);break;case 64:g={},d>0&&(g[p[0].name]=n),d>1&&(g[p[1].name]=r),d>2&&(g[p[2].name]=o),d>3&&(g[p[3].name]=i),d>4&&(g[p[4].name]=a),d>5&&(g[p[5].name]=s),d>6&&(g[p[6].name]=u),d>7&&(g[p[7].name]=c),d>8&&(g[p[8].name]=l),d>9&&(g[p[9].name]=f);break;case 128:var v=n;switch(d){case 1:g=v.transform(n);break;case 2:g=v.transform(r);break;case 3:g=v.transform(r,o);break;case 4:g=v.transform(r,o,i);break;case 5:g=v.transform(r,o,i,a);break;case 6:g=v.transform(r,o,i,a,s);break;case 7:g=v.transform(r,o,i,a,s,u);break;case 8:g=v.transform(r,o,i,a,s,u,c);break;case 9:g=v.transform(r,o,i,a,s,u,c,l);break;case 10:g=v.transform(r,o,i,a,s,u,c,l,f)}}y.value=g}return h}function Fn(t,e,n){for(var r=e.bindings,o=!1,i=0;i0&&ee(t,e,0,n)&&(p=!0),d>1&&ee(t,e,1,r)&&(p=!0),d>2&&ee(t,e,2,o)&&(p=!0),d>3&&ee(t,e,3,i)&&(p=!0),d>4&&ee(t,e,4,a)&&(p=!0),d>5&&ee(t,e,5,s)&&(p=!0),d>6&&ee(t,e,6,u)&&(p=!0),d>7&&ee(t,e,7,c)&&(p=!0),d>8&&ee(t,e,8,l)&&(p=!0),d>9&&ee(t,e,9,f)&&(p=!0),p){var y=e.text.prefix;d>0&&(y+=Bn(n,h[0])),d>1&&(y+=Bn(r,h[1])),d>2&&(y+=Bn(o,h[2])),d>3&&(y+=Bn(i,h[3])),d>4&&(y+=Bn(a,h[4])),d>5&&(y+=Bn(s,h[5])),d>6&&(y+=Bn(u,h[6])),d>7&&(y+=Bn(c,h[7])),d>8&&(y+=Bn(l,h[8])),d>9&&(y+=Bn(f,h[9]));var g=zt(t,e.nodeIndex).renderText;t.renderer.setValue(g,y)}return p}function Hn(t,e,n){for(var r=e.bindings,o=!1,i=0;i0)c=y,Gn(y)||(l=y);else for(;c&&d===c.nodeIndex+c.childCount;){var b=c.parent;b&&(b.childFlags|=c.childFlags,b.childMatchedQueries|=c.childMatchedQueries),c=b,l=c&&Gn(c)?c.renderParent:c}}var _=function(t,n,r,o){return e[n].element.handleEvent(t,r,o)};return{factory:null,nodeFlags:a,rootNodeFlags:s,nodeMatchedQueries:u,flags:t,nodes:e,updateDirectives:n||Ra,updateRenderer:r||Ra,handleEvent:_,bindingCount:o,outputCount:i,lastRenderRootNode:h}}function Gn(t){return 0!=(1&t.flags)&&null===t.element.name}function Zn(t,e,n){var r=e.element&&e.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 "+e.nodeIndex+"!")}if(20224&e.flags){if(0==(1&(t?t.flags:0)))throw new Error("Illegal State: StaticProvider/Directive nodes need to be children of elements or anchors, at index "+e.nodeIndex+"!")}if(e.query){if(67108864&e.flags&&(!t||0==(16384&t.flags)))throw new Error("Illegal State: Content Query nodes need to be children of directives, at index "+e.nodeIndex+"!");if(134217728&e.flags&&t)throw new Error("Illegal State: View Query nodes have to be top level nodes, at index "+e.nodeIndex+"!")}if(e.childCount){var o=t?t.nodeIndex+t.childCount:n-1;if(e.nodeIndex<=o&&e.nodeIndex+e.childCount>o)throw new Error("Illegal State: childCount of node leads outside of parent, at index "+e.nodeIndex+"!")}}function Wn(t,e,n,r){var o=Kn(t.root,t.renderer,t,e,n);return Qn(o,t.component,r),Yn(o),o}function qn(t,e,n){var r=Kn(t,t.renderer,null,null,e);return Qn(r,n,n),Yn(r),r}function $n(t,e,n,r){var o,i=e.element.componentRendererType;return o=i?t.root.rendererFactory.createRenderer(r,i):t.root.renderer,Kn(t.root,o,t,e.element.componentProvider,n)}function Kn(t,e,n,r,o){var i=new Array(o.nodes.length),a=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:t,renderer:e,oldValues:new Array(o.bindingCount),disposables:a,initIndex:-1}}function Qn(t,e,n){t.component=e,t.context=n}function Yn(t){var e;if(le(t)){var n=t.parentNodeDef;e=Ht(t.parent,n.parent.nodeIndex).renderElement}for(var r=t.def,o=t.nodes,i=0;i0&&ne(t,e,0,n),p>1&&ne(t,e,1,r),p>2&&ne(t,e,2,o),p>3&&ne(t,e,3,i),p>4&&ne(t,e,4,a),p>5&&ne(t,e,5,s),p>6&&ne(t,e,6,u),p>7&&ne(t,e,7,c),p>8&&ne(t,e,8,l),p>9&&ne(t,e,9,f)}function ar(t,e,n){for(var r=0;r=this._providers.length)throw I(t);return this._providers[t]},t.prototype._new=function(t){if(this._constructionCounter++>this._getMaxNumberOfObjects())throw j(this,t.key);return this._instantiateProvider(t)},t.prototype._getMaxNumberOfObjects=function(){return this.objs.length},t.prototype._instantiateProvider=function(t){if(t.multiProvider){for(var e=new Array(t.resolvedFactories.length),n=0;n0)t._bootstrapComponents.forEach(function(t){return e.bootstrap(t)});else{if(!t.instance.ngDoBootstrap)throw new Error("The module "+l(t.instance.constructor)+' was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.');t.instance.ngDoBootstrap(e)}this._modules.push(t)},t.prototype.onDestroy=function(t){this._destroyListeners.push(t)},Object.defineProperty(t.prototype,"injector",{get:function(){return this._injector},enumerable:!0,configurable:!0}),t.prototype.destroy=function(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(function(t){return t.destroy()}),this._destroyListeners.forEach(function(t){return t()}),this._destroyed=!0},Object.defineProperty(t.prototype,"destroyed",{get:function(){return this._destroyed},enumerable:!0,configurable:!0}),t.decorators=[{type:ko}],t.ctorParameters=function(){return[{type:Fo}]},t}(),Qi=function(){function t(t,e,n,r,o,i){var a=this;this._zone=t,this._console=e,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=pt(),this._zone.onMicrotaskEmpty.subscribe({next:function(){a._zone.run(function(){a.tick()})}});var s=new Jr.Observable(function(t){a._stable=a._zone.isStable&&!a._zone.hasPendingMacrotasks&&!a._zone.hasPendingMicrotasks,a._zone.runOutsideAngular(function(){t.next(a._stable),t.complete()})}),c=new Jr.Observable(function(t){var e;a._zone.runOutsideAngular(function(){e=a._zone.onStable.subscribe(function(){Ri.assertNotInAngularZone(),u(function(){a._stable||a._zone.hasPendingMacrotasks||a._zone.hasPendingMicrotasks||(a._stable=!0,t.next(!0))})})});var n=a._zone.onUnstable.subscribe(function(){Ri.assertInAngularZone(),a._stable&&(a._stable=!1,a._zone.runOutsideAngular(function(){t.next(!1)}))});return function(){e.unsubscribe(),n.unsubscribe()}});this.isStable=Object(Xr.merge)(s,to.share.call(c))}return t.prototype.bootstrap=function(t,e){var n=this;if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.");var r;r=t instanceof xi?t:this._componentFactoryResolver.resolveComponentFactory(t),this.componentTypes.push(r.componentType);var o=r instanceof ji?null:this._injector.get(Ai),i=e||r.selector,a=r.create(Fo.NULL,[],i,o);a.onDestroy(function(){n._unloadComponent(a)});var s=a.injector.get(Hi,null);return s&&a.injector.get(Bi).registerApplication(a.location.nativeElement,s),this._loadComponent(a),pt()&&this._console.log("Angular is running in the development mode. Call enableProdMode() to enable the production mode."),a},t.prototype.tick=function(){var e=this;if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");var n=t._tickScope();try{this._runningTick=!0,this._views.forEach(function(t){return t.detectChanges()}),this._enforceNoNewChanges&&this._views.forEach(function(t){return t.checkNoChanges()})}catch(t){this._zone.runOutsideAngular(function(){return e._exceptionHandler.handleError(t)})}finally{this._runningTick=!1,Vi(n)}},t.prototype.attachView=function(t){var e=t;this._views.push(e),e.attachToAppRef(this)},t.prototype.detachView=function(t){var e=t;_t(this._views,e),e.detachFromAppRef()},t.prototype._loadComponent=function(t){this.attachView(t.hostView),this.tick(),this.components.push(t),this._injector.get(wi,[]).concat(this._bootstrapListeners).forEach(function(e){return e(t)})},t.prototype._unloadComponent=function(t){this.detachView(t.hostView),_t(this.components,t)},t.prototype.ngOnDestroy=function(){this._views.slice().forEach(function(t){return t.destroy()})},Object.defineProperty(t.prototype,"viewCount",{get:function(){return this._views.length},enumerable:!0,configurable:!0}),t._tickScope=Ii("ApplicationRef#tick()"),t.decorators=[{type:ko}],t.ctorParameters=function(){return[{type:Ri},{type:Ci},{type:Fo},{type:Xo},{type:Ti},{type:gi}]},t}(),Yi=(function(){function t(t,e,n,r,o,i){this.id=t,this.templateUrl=e,this.slotCount=n,this.encapsulation=r,this.styles=o,this.animations=i}}(),function(){function t(){}}(),function(){function t(){}return t}()),Ji=(new no("Renderer2Interceptor"),function(){function t(){}}(),function(){function t(){}return t}()),Xi={Important:1,DashCase:2};Xi[Xi.Important]="Important",Xi[Xi.DashCase]="DashCase";var ta=function(){function t(){}return t}(),ea=function(){function t(t){this.nativeElement=t}return t}(),na=(function(){function t(){}}(),new Map,function(){function t(){this.dirty=!0,this._results=[],this.changes=new Fi}return Object.defineProperty(t.prototype,"length",{get:function(){return this._results.length},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"first",{get:function(){return this._results[0]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"last",{get:function(){return this._results[this.length-1]},enumerable:!0,configurable:!0}),t.prototype.map=function(t){return this._results.map(t)},t.prototype.filter=function(t){return this._results.filter(t)},t.prototype.find=function(t){return this._results.find(t)},t.prototype.reduce=function(t,e){return this._results.reduce(t,e)},t.prototype.forEach=function(t){this._results.forEach(t)},t.prototype.some=function(t){return this._results.some(t)},t.prototype.toArray=function(){return this._results.slice()},t.prototype[s()]=function(){return this._results[s()]()},t.prototype.toString=function(){return this._results.toString()},t.prototype.reset=function(t){this._results=wt(t),this.dirty=!1},t.prototype.notifyOnChanges=function(){this.changes.emit(this)},t.prototype.setDirty=function(){this.dirty=!0},t.prototype.destroy=function(){this.changes.complete(),this.changes.unsubscribe()},t}()),ra=function(){function t(){}return t}(),oa={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"},ia=(function(){function t(t,e){this._compiler=t,this._config=e||oa}t.prototype.load=function(t){return this._compiler instanceof Oi?this.loadFactory(t):this.loadAndCompile(t)},t.prototype.loadAndCompile=function(t){var e=this,r=t.split("#"),o=r[0],i=r[1];return void 0===i&&(i="default"),n(132)(o).then(function(t){return t[i]}).then(function(t){return Ct(t,o,i)}).then(function(t){return e._compiler.compileModuleAsync(t)})},t.prototype.loadFactory=function(t){var e=t.split("#"),r=e[0],o=e[1],i="NgFactory";return void 0===o&&(o="default",i=""),n(132)(this._config.factoryPathPrefix+r+this._config.factoryPathSuffix).then(function(t){return t[o+i]}).then(function(t){return Ct(t,r,o)})},t.decorators=[{type:ko}],t.ctorParameters=function(){return[{type:Oi},{type:ra,decorators:[{type:Eo}]}]}}(),function(){function t(){}return t}()),aa=function(){function t(){}return t}(),sa=function(){function t(){}return t}(),ua=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(Yr.b)(e,t),e}(sa),ca=(function(t){function e(){return null!==t&&t.apply(this,arguments)||this}Object(Yr.b)(e,t)}(ua),function(){function t(t,e){this.name=t,this.callback=e}return t}()),la=function(){function t(t,e,n){this._debugContext=n,this.nativeNode=t,e&&e instanceof fa?e.addChild(this):this.parent=null,this.listeners=[]}return Object.defineProperty(t.prototype,"injector",{get:function(){return this._debugContext.injector},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"componentInstance",{get:function(){return this._debugContext.component},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"context",{get:function(){return this._debugContext.context},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"references",{get:function(){return this._debugContext.references},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"providerTokens",{get:function(){return this._debugContext.providerTokens},enumerable:!0,configurable:!0}),t}(),fa=function(t){function e(e,n,r){var o=t.call(this,e,n,r)||this;return o.properties={},o.attributes={},o.classes={},o.styles={},o.childNodes=[],o.nativeElement=e,o}return Object(Yr.b)(e,t),e.prototype.addChild=function(t){t&&(this.childNodes.push(t),t.parent=this)},e.prototype.removeChild=function(t){var e=this.childNodes.indexOf(t);-1!==e&&(t.parent=null,this.childNodes.splice(e,1))},e.prototype.insertChildrenAfter=function(t,e){var n=this,r=this.childNodes.indexOf(t);-1!==r&&((o=this.childNodes).splice.apply(o,[r+1,0].concat(e)),e.forEach(function(t){t.parent&&t.parent.removeChild(t),t.parent=n}));var o},e.prototype.insertBefore=function(t,e){var n=this.childNodes.indexOf(t);-1===n?this.addChild(e):(e.parent&&e.parent.removeChild(e),e.parent=this,this.childNodes.splice(n,0,e))},e.prototype.query=function(t){return this.queryAll(t)[0]||null},e.prototype.queryAll=function(t){var e=[];return Ot(this,t,e),e},e.prototype.queryAllNodes=function(t){var e=[];return Et(this,t,e),e},Object.defineProperty(e.prototype,"children",{get:function(){return this.childNodes.filter(function(t){return t instanceof e})},enumerable:!0,configurable:!0}),e.prototype.triggerEventHandler=function(t,e){this.listeners.forEach(function(n){n.name==t&&n.callback(e)})},e}(la),pa=new Map,ha=function(){function t(t){this.wrapped=t}return t.wrap=function(e){return new t(e)},t}(),da=(function(){function t(){this.hasWrappedValue=!1}t.prototype.unwrap=function(t){return t instanceof ha?(this.hasWrappedValue=!0,t.wrapped):t},t.prototype.reset=function(){this.hasWrappedValue=!1}}(),function(){function t(t,e,n){this.previousValue=t,this.currentValue=e,this.firstChange=n}return t.prototype.isFirstChange=function(){return this.firstChange},t}()),ya=function(){function t(){}return t.prototype.supports=function(t){return Tt(t)},t.prototype.create=function(t){return new va(t)},t}(),ga=function(t,e){return e},va=function(){function t(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||ga}return t.prototype.forEachItem=function(t){var e;for(e=this._itHead;null!==e;e=e._next)t(e)},t.prototype.forEachOperation=function(t){for(var e=this._itHead,n=this._removalsHead,r=0,o=null;e||n;){var i=!n||e&&e.currentIndex=0;e--){var n=$e(this._data,e);Fa.destroyView(n)}},t.prototype.get=function(t){var e=this._embeddedViews[t];if(e){var n=new Ja(e);return n.attachToViewContainerRef(this),n}return null},Object.defineProperty(t.prototype,"length",{get:function(){return this._embeddedViews.length},enumerable:!0,configurable:!0}),t.prototype.createEmbeddedView=function(t,e,n){var r=t.createEmbeddedView(e||{});return this.insert(r,n),r},t.prototype.createComponent=function(t,e,n,r,o){var i=n||this.parentInjector;o||t instanceof ji||(o=i.get(Ai));var a=t.create(i,r,void 0,o);return this.insert(a.hostView,e),a},t.prototype.insert=function(t,e){if(t.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");var n=t,r=n._view;return Ze(this._view,this._data,e,r),n.attachToViewContainerRef(this),t},t.prototype.move=function(t,e){if(t.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");var n=this._embeddedViews.indexOf(t._view);return Qe(this._data,n,e),t},t.prototype.indexOf=function(t){return this._embeddedViews.indexOf(t._view)},t.prototype.remove=function(t){var e=$e(this._data,t);e&&Fa.destroyView(e)},t.prototype.detach=function(t){var e=$e(this._data,t);return e?new Ja(e):null},t}(),Ja=function(){function t(t){this._view=t,this._viewContainerRef=null,this._appRef=null}return Object.defineProperty(t.prototype,"rootNodes",{get:function(){return ve(this._view)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"context",{get:function(){return this._view.context},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"destroyed",{get:function(){return 0!=(128&this._view.state)},enumerable:!0,configurable:!0}),t.prototype.markForCheck=function(){re(this._view)},t.prototype.detach=function(){this._view.state&=-5},t.prototype.detectChanges=function(){var t=this._view.root.rendererFactory;t.begin&&t.begin();try{Fa.checkAndUpdateView(this._view)}finally{t.end&&t.end()}},t.prototype.checkNoChanges=function(){Fa.checkNoChangesView(this._view)},t.prototype.reattach=function(){this._view.state|=4},t.prototype.onDestroy=function(t){this._view.disposables||(this._view.disposables=[]),this._view.disposables.push(t)},t.prototype.destroy=function(){this._appRef?this._appRef.detachView(this):this._viewContainerRef&&this._viewContainerRef.detach(this._viewContainerRef.indexOf(this)),Fa.destroyView(this._view)},t.prototype.detachFromAppRef=function(){this._appRef=null,Je(this._view),Fa.dirtyParentQueries(this._view)},t.prototype.attachToAppRef=function(t){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=t},t.prototype.attachToViewContainerRef=function(t){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=t},t}(),Xa=function(t){function e(e,n){var r=t.call(this)||this;return r._parentView=e,r._def=n,r}return Object(Yr.b)(e,t),e.prototype.createEmbeddedView=function(t){return new Ja(Fa.createEmbeddedView(this._parentView,this._def,this._def.element.template,t))},Object.defineProperty(e.prototype,"elementRef",{get:function(){return new ea(Ht(this._parentView,this._def.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),e}(ia),ts=function(){function t(t,e){this.view=t,this.elDef=e}return t.prototype.get=function(t,e){void 0===e&&(e=Fo.THROW_IF_NOT_FOUND);var n=!!this.elDef&&0!=(33554432&this.elDef.flags);return Fa.resolveDep(this.view,this.elDef,n,{flags:0,token:t,tokenKey:Yt(t)},e)},t}(),es=function(){function t(t){this.delegate=t}return t.prototype.selectRootElement=function(t){return this.delegate.selectRootElement(t)},t.prototype.createElement=function(t,e){var n=Oe(e),r=n[0],o=n[1],i=this.delegate.createElement(o,r);return t&&this.delegate.appendChild(t,i),i},t.prototype.createViewRoot=function(t){return t},t.prototype.createTemplateAnchor=function(t){var e=this.delegate.createComment("");return t&&this.delegate.appendChild(t,e),e},t.prototype.createText=function(t,e){var n=this.delegate.createText(e);return t&&this.delegate.appendChild(t,n),n},t.prototype.projectNodes=function(t,e){for(var n=0;nw;w++)if((p||w in m)&&(y=m[w],g=b(y,w,v),t))if(n)C[w]=g;else if(g)switch(t){case 3:return!0;case 5:return y;case 6:return w;case 2:C.push(y)}else if(l)return!1;return f?-1:c||l?l:C}}},function(t,e,n){"use strict";var r=n(44),o=n(293),i=n(126),a=n(296),s=function(){function t(t){this._isScalar=!1,t&&(this._subscribe=t)}return t.prototype.lift=function(e){var n=new t;return n.source=this,n.operator=e,n},t.prototype.subscribe=function(t,e,n){var r=this.operator,i=o.toSubscriber(t,e,n);if(r?r.call(i,this.source):i.add(this.source||!i.syncErrorThrowable?this._subscribe(i):this._trySubscribe(i)),i.syncErrorThrowable&&(i.syncErrorThrowable=!1,i.syncErrorThrown))throw i.syncErrorValue;return i},t.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){t.syncErrorThrown=!0,t.syncErrorValue=e,t.error(e)}},t.prototype.forEach=function(t,e){var n=this;if(e||(r.root.Rx&&r.root.Rx.config&&r.root.Rx.config.Promise?e=r.root.Rx.config.Promise:r.root.Promise&&(e=r.root.Promise)),!e)throw new Error("no Promise impl found");return new e(function(e,r){var o;o=n.subscribe(function(e){if(o)try{t(e)}catch(t){r(t),o.unsubscribe()}else t(e)},r,e)})},t.prototype._subscribe=function(t){return this.source.subscribe(t)},t.prototype[i.observable]=function(){return this},t.prototype.pipe=function(){for(var t=[],e=0;e0?r:n)(t)}},function(t,e,n){var r=n(52),o=n(32),i=n(17),a=n(29),s=n(9),u=n(90),c=Object.getOwnPropertyDescriptor;e.f=n(7)?c:function(t,e){if(t=i(t),e=a(e,!0),u)try{return c(t,e)}catch(t){}if(s(t,e))return o(!r.f.call(t,e),t[e])}},function(t,e,n){"use strict";if(n(7)){var r=n(39),o=n(4),i=n(2),a=n(0),s=n(58),u=n(84),c=n(22),l=n(41),f=n(32),p=n(13),h=n(42),d=n(24),y=n(8),g=n(120),v=n(34),m=n(29),b=n(9),_=n(53),w=n(3),C=n(12),O=n(79),E=n(35),k=n(19),x=n(36).f,S=n(80),P=n(33),T=n(5),M=n(20),j=n(65),A=n(83),N=n(110),D=n(47),I=n(55),V=n(40),F=n(81),R=n(109),L=n(6),z=n(25),H=L.f,B=z.f,U=o.RangeError,G=o.TypeError,Z=o.Uint8Array,W=Array.prototype,q=u.ArrayBuffer,$=u.DataView,K=M(0),Q=M(2),Y=M(3),J=M(4),X=M(5),tt=M(6),et=j(!0),nt=j(!1),rt=N.values,ot=N.keys,it=N.entries,at=W.lastIndexOf,st=W.reduce,ut=W.reduceRight,ct=W.join,lt=W.sort,ft=W.slice,pt=W.toString,ht=W.toLocaleString,dt=T("iterator"),yt=T("toStringTag"),gt=P("typed_constructor"),vt=P("def_constructor"),mt=s.CONSTR,bt=s.TYPED,_t=s.VIEW,wt=M(1,function(t,e){return xt(A(t,t[vt]),e)}),Ct=i(function(){return 1===new Z(new Uint16Array([1]).buffer)[0]}),Ot=!!Z&&!!Z.prototype.set&&i(function(){new Z(1).set({})}),Et=function(t,e){var n=d(t);if(n<0||n%e)throw U("Wrong offset!");return n},kt=function(t){if(w(t)&&bt in t)return t;throw G(t+" is not a typed array!")},xt=function(t,e){if(!(w(t)&> in t))throw G("It is not a typed array constructor!");return new t(e)},St=function(t,e){return Pt(A(t,t[vt]),e)},Pt=function(t,e){for(var n=0,r=e.length,o=xt(t,r);r>n;)o[n]=e[n++];return o},Tt=function(t,e,n){H(t,e,{get:function(){return this._d[n]}})},Mt=function(t){var e,n,r,o,i,a,s=C(t),u=arguments.length,l=u>1?arguments[1]:void 0,f=void 0!==l,p=S(s);if(void 0!=p&&!O(p)){for(a=p.call(s),r=[],e=0;!(i=a.next()).done;e++)r.push(i.value);s=r}for(f&&u>2&&(l=c(l,arguments[2],2)),e=0,n=y(s.length),o=xt(this,n);n>e;e++)o[e]=f?l(s[e],e):s[e];return o},jt=function(){for(var t=0,e=arguments.length,n=xt(this,e);e>t;)n[t]=arguments[t++];return n},At=!!Z&&i(function(){ht.call(new Z(1))}),Nt=function(){return ht.apply(At?ft.call(kt(this)):kt(this),arguments)},Dt={copyWithin:function(t,e){return R.call(kt(this),t,e,arguments.length>2?arguments[2]:void 0)},every:function(t){return J(kt(this),t,arguments.length>1?arguments[1]:void 0)},fill:function(t){return F.apply(kt(this),arguments)},filter:function(t){return St(this,Q(kt(this),t,arguments.length>1?arguments[1]:void 0))},find:function(t){return X(kt(this),t,arguments.length>1?arguments[1]:void 0)},findIndex:function(t){return tt(kt(this),t,arguments.length>1?arguments[1]:void 0)},forEach:function(t){K(kt(this),t,arguments.length>1?arguments[1]:void 0)},indexOf:function(t){return nt(kt(this),t,arguments.length>1?arguments[1]:void 0)},includes:function(t){return et(kt(this),t,arguments.length>1?arguments[1]:void 0)},join:function(t){return ct.apply(kt(this),arguments)},lastIndexOf:function(t){return at.apply(kt(this),arguments)},map:function(t){return wt(kt(this),t,arguments.length>1?arguments[1]:void 0)},reduce:function(t){return st.apply(kt(this),arguments)},reduceRight:function(t){return ut.apply(kt(this),arguments)},reverse:function(){for(var t,e=this,n=kt(e).length,r=Math.floor(n/2),o=0;o1?arguments[1]:void 0)},sort:function(t){return lt.call(kt(this),t)},subarray:function(t,e){var n=kt(this),r=n.length,o=v(t,r);return new(A(n,n[vt]))(n.buffer,n.byteOffset+o*n.BYTES_PER_ELEMENT,y((void 0===e?r:v(e,r))-o))}},It=function(t,e){return St(this,ft.call(kt(this),t,e))},Vt=function(t){kt(this);var e=Et(arguments[1],1),n=this.length,r=C(t),o=y(r.length),i=0;if(o+e>n)throw U("Wrong length!");for(;i255?255:255&r),o.v[h](n*e+o.o,r,Ct)},T=function(t,e){H(t,e,{get:function(){return S(this,e)},set:function(t){return P(this,e,t)},enumerable:!0})};b?(d=n(function(t,n,r,o){l(t,d,c,"_d");var i,a,s,u,f=0,h=0;if(w(n)){if(!(n instanceof q||"ArrayBuffer"==(u=_(n))||"SharedArrayBuffer"==u))return bt in n?Pt(d,n):Mt.call(d,n);i=n,h=Et(r,e);var v=n.byteLength;if(void 0===o){if(v%e)throw U("Wrong length!");if((a=v-h)<0)throw U("Wrong length!")}else if((a=y(o)*e)+h>v)throw U("Wrong length!");s=a/e}else s=g(n),a=s*e,i=new q(a);for(p(t,"_d",{b:i,o:h,l:a,e:s,v:new $(i)});fdocument.F=Object<\/script>"),t.close(),u=t.F;r--;)delete u.prototype[i[r]];return u()};t.exports=Object.create||function(t,e){var n;return null!==t?(s.prototype=r(t),n=new s,s.prototype=null,n[a]=t):n=u(),void 0===e?n:o(n,e)}},function(t,e,n){var r=n(92),o=n(67).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n(121),i=n(62),a=n(125),s=n(86),u=function(t){function e(n,r,o){switch(t.call(this),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=a.empty;break;case 1:if(!n){this.destination=a.empty;break}if("object"==typeof n){n instanceof e?(this.syncErrorThrowable=n.syncErrorThrowable,this.destination=n,this.destination.add(this)):(this.syncErrorThrowable=!0,this.destination=new c(this,n));break}default:this.syncErrorThrowable=!0,this.destination=new c(this,n,r,o)}}return r(e,t),e.prototype[s.rxSubscriber]=function(){return this},e.create=function(t,n,r){var o=new e(t,n,r);return o.syncErrorThrowable=!1,o},e.prototype.next=function(t){this.isStopped||this._next(t)},e.prototype.error=function(t){this.isStopped||(this.isStopped=!0,this._error(t))},e.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},e.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,t.prototype.unsubscribe.call(this))},e.prototype._next=function(t){this.destination.next(t)},e.prototype._error=function(t){this.destination.error(t),this.unsubscribe()},e.prototype._complete=function(){this.destination.complete(),this.unsubscribe()},e.prototype._unsubscribeAndRecycle=function(){var t=this,e=t._parent,n=t._parents;return this._parent=null,this._parents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parent=e,this._parents=n,this},e}(i.Subscription);e.Subscriber=u;var c=function(t){function e(e,n,r,i){t.call(this),this._parentSubscriber=e;var s,u=this;o.isFunction(n)?s=n:n&&(s=n.next,r=n.error,i=n.complete,n!==a.empty&&(u=Object.create(n),o.isFunction(u.unsubscribe)&&this.add(u.unsubscribe.bind(u)),u.unsubscribe=this.unsubscribe.bind(this))),this._context=u,this._next=s,this._error=r,this._complete=i}return r(e,t),e.prototype.next=function(t){if(!this.isStopped&&this._next){var e=this._parentSubscriber;e.syncErrorThrowable?this.__tryOrSetError(e,this._next,t)&&this.unsubscribe():this.__tryOrUnsub(this._next,t)}},e.prototype.error=function(t){if(!this.isStopped){var e=this._parentSubscriber;if(this._error)e.syncErrorThrowable?(this.__tryOrSetError(e,this._error,t),this.unsubscribe()):(this.__tryOrUnsub(this._error,t),this.unsubscribe());else{if(!e.syncErrorThrowable)throw this.unsubscribe(),t;e.syncErrorValue=t,e.syncErrorThrown=!0,this.unsubscribe()}}},e.prototype.complete=function(){var t=this;if(!this.isStopped){var e=this._parentSubscriber;if(this._complete){var n=function(){return t._complete.call(t._context)};e.syncErrorThrowable?(this.__tryOrSetError(e,n),this.unsubscribe()):(this.__tryOrUnsub(n),this.unsubscribe())}else this.unsubscribe()}},e.prototype.__tryOrUnsub=function(t,e){try{t.call(this._context,e)}catch(t){throw this.unsubscribe(),t}},e.prototype.__tryOrSetError=function(t,e,n){try{e.call(this._context,n)}catch(e){return t.syncErrorValue=e,t.syncErrorThrown=!0,!0}return!1},e.prototype._unsubscribe=function(){var t=this._parentSubscriber;this._context=null,this._parentSubscriber=null,t.unsubscribe()},e}(u)},function(t,e,n){var r=n(6).f,o=n(9),i=n(5)("toStringTag");t.exports=function(t,e,n){t&&!o(t=n?t:t.prototype,i)&&r(t,i,{configurable:!0,value:e})}},function(t,e){t.exports=!1},function(t,e,n){"use strict";var r=n(4),o=n(6),i=n(7),a=n(5)("species");t.exports=function(t){var e=r[t];i&&e&&!e[a]&&o.f(e,a,{configurable:!0,get:function(){return this}})}},function(t,e){t.exports=function(t,e,n,r){if(!(t instanceof e)||void 0!==r&&r in t)throw TypeError(n+": incorrect invocation!");return t}},function(t,e,n){var r=n(11);t.exports=function(t,e,n){for(var o in e)r(t,o,e[o],n);return t}},function(t,e,n){var r=n(3);t.exports=function(t,e){if(!r(t)||t._t!==e)throw TypeError("Incompatible receiver, "+e+" required!");return t}},function(t,e,n){"use strict";(function(t){var n="undefined"!=typeof window&&window,r="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,o=void 0!==t&&t,i=n||o||r;e.root=i,function(){if(!i)throw new Error("RxJS could not find any global context (window, self, global)")}()}).call(e,n(85))},function(t,e,n){var r=n(92),o=n(67);t.exports=Object.keys||function(t){return r(t,o)}},function(t,e,n){var r=n(23);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},function(t,e){t.exports={}},function(t,e,n){var r=n(5)("unscopables"),o=Array.prototype;void 0==o[r]&&n(13)(o,r,{}),t.exports=function(t){o[r][t]=!0}},function(t,e,n){var r=n(22),o=n(106),i=n(79),a=n(1),s=n(8),u=n(80),c={},l={},e=t.exports=function(t,e,n,f,p){var h,d,y,g,v=p?function(){return t}:u(t),m=r(n,f,e?2:1),b=0;if("function"!=typeof v)throw TypeError(t+" is not iterable!");if(i(v)){for(h=s(t.length);h>b;b++)if((g=e?m(a(d=t[b])[0],d[1]):m(t[b]))===c||g===l)return g}else for(y=v.call(t);!(d=y.next()).done;)if((g=o(y,m,d.value,e))===c||g===l)return g};e.BREAK=c,e.RETURN=l},function(t,e,n){var r=n(4),o=r["__core-js_shared__"]||(r["__core-js_shared__"]={});t.exports=function(t){return o[t]||(o[t]={})}},function(t,e){e.f=Object.getOwnPropertySymbols},function(t,e){e.f={}.propertyIsEnumerable},function(t,e,n){var r=n(23),o=n(5)("toStringTag"),i="Arguments"==r(function(){return arguments}()),a=function(t,e){try{return t[e]}catch(t){}};t.exports=function(t){var e,n,s;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=a(e=Object(t),o))?n:i?r(e):"Object"==(s=r(e))&&"function"==typeof e.callee?"Arguments":s}},function(t,e,n){var r=n(0),o=n(31),i=n(2),a=n(71),s="["+a+"]",u="​…",c=RegExp("^"+s+s+"*"),l=RegExp(s+s+"*$"),f=function(t,e,n){var o={},s=i(function(){return!!a[t]()||u[t]()!=u}),c=o[t]=s?e(p):a[t];n&&(o[n]=c),r(r.P+r.F*s,"String",o)},p=f.trim=function(t,e){return t=String(o(t)),1&e&&(t=t.replace(c,"")),2&e&&(t=t.replace(l,"")),t};t.exports=f},function(t,e,n){var r=n(5)("iterator"),o=!1;try{var i=[7][r]();i.return=function(){o=!0},Array.from(i,function(){throw 2})}catch(t){}t.exports=function(t,e){if(!e&&!o)return!1;var n=!1;try{var i=[7],a=i[r]();a.next=function(){return{done:n=!0}},i[r]=function(){return a},t(i)}catch(t){}return n}},function(t,e,n){"use strict";var r=n(13),o=n(11),i=n(2),a=n(31),s=n(5);t.exports=function(t,e,n){var u=s(t),c=n(a,u,""[t]),l=c[0],f=c[1];i(function(){var e={};return e[u]=function(){return 7},7!=""[t](e)})&&(o(String.prototype,t,l),r(RegExp.prototype,u,2==e?function(t,e){return f.call(t,this,e)}:function(t){return f.call(t,this)}))}},function(t,e,n){"use strict";var r=n(4),o=n(0),i=n(11),a=n(42),s=n(30),u=n(49),c=n(41),l=n(3),f=n(2),p=n(55),h=n(38),d=n(72);t.exports=function(t,e,n,y,g,v){var m=r[t],b=m,_=g?"set":"add",w=b&&b.prototype,C={},O=function(t){var e=w[t];i(w,t,"delete"==t?function(t){return!(v&&!l(t))&&e.call(this,0===t?0:t)}:"has"==t?function(t){return!(v&&!l(t))&&e.call(this,0===t?0:t)}:"get"==t?function(t){return v&&!l(t)?void 0:e.call(this,0===t?0:t)}:"add"==t?function(t){return e.call(this,0===t?0:t),this}:function(t,n){return e.call(this,0===t?0:t,n),this})};if("function"==typeof b&&(v||w.forEach&&!f(function(){(new b).entries().next()}))){var E=new b,k=E[_](v?{}:-0,1)!=E,x=f(function(){E.has(1)}),S=p(function(t){new b(t)}),P=!v&&f(function(){for(var t=new b,e=5;e--;)t[_](e,e);return!t.has(-0)});S||(b=e(function(e,n){c(e,b,t);var r=d(new m,e,b);return void 0!=n&&u(n,g,r[_],r),r}),b.prototype=w,w.constructor=b),(x||P)&&(O("delete"),O("has"),g&&O("get")),(P||k)&&O(_),v&&w.clear&&delete w.clear}else b=y.getConstructor(e,t,g,_),a(b.prototype,n),s.NEED=!0;return h(b,t),C[t]=b,o(o.G+o.W+o.F*(b!=m),C),v||y.setStrong(b,t,g),b}},function(t,e,n){for(var r,o=n(4),i=n(13),a=n(33),s=a("typed_array"),u=a("view"),c=!(!o.ArrayBuffer||!o.DataView),l=c,f=0,p="Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array".split(",");f<9;)(r=o[p[f++]])?(i(r.prototype,s,!0),i(r.prototype,u,!0)):l=!1;t.exports={ABV:c,CONSTR:l,TYPED:s,VIEW:u}},function(t,e,n){"use strict";function r(){return R}function o(t){R||(R=t)}function i(){return q||(q=document.querySelector("base"))?q.getAttribute("href"):null}function a(t){return G||(G=document.createElement("a")),G.setAttribute("href",t),"/"===G.pathname.charAt(0)?G.pathname:"/"+G.pathname}function s(){return!!window.history.pushState}function u(t,e,n){return function(){n.get(V.c).donePromise.then(function(){var n=r();Array.prototype.slice.apply(n.querySelectorAll(e,"style[ng-transition]")).filter(function(e){return n.getAttribute(e,"ng-transition")===t}).forEach(function(t){return n.remove(t)})})}}function c(t,e){if("undefined"==typeof COMPILED||!COMPILED){(V._9.ng=V._9.ng||{})[t]=e}}function l(t){return Object(V.W)(t)}function f(t){return c(nt,l),c(rt,Object(F.a)({},et,p(t||[]))),function(){return l}}function p(t){return t.reduce(function(t,e){return t[e.name]=e.token,t},{})}function h(t){return ht.replace(ft,t)}function d(t){return pt.replace(ft,t)}function y(t,e,n){for(var r=0;r/g,">")}function k(t){Ut.attributeMap(t).forEach(function(e,n){"xmlns:ns1"!==n&&0!==n.indexOf("ns1:")||Ut.removeAttribute(t,n)});for(var e=0,n=Ut.childNodesAsList(t);e"};return t.replace(/&[^;]+;/g,function(t){return e[t]})}function N(t,e){var n=t.getElementById(e+"-state"),r={};if(n&&n.textContent)try{r=JSON.parse(A(n.textContent))}catch(t){console.warn("Exception while restoring TransferState for app "+e,t)}return _e.init(r)}n.d(e,"a",function(){return ve}),n.d(e,"i",function(){return ge}),n.d(e,"g",function(){return Q}),n.d(e,"h",function(){return tt}),n.d(e,"c",function(){return it}),n.d(e,"d",function(){return at}),n.d(e,"e",function(){return Mt}),n.d(e,"f",function(){return jt}),n.d(e,"b",function(){return ae}),n.d(e,"r",function(){return r}),n.d(e,"k",function(){return dt}),n.d(e,"j",function(){return Pt}),n.d(e,"m",function(){return At}),n.d(e,"n",function(){return Lt}),n.d(e,"l",function(){return ct}),n.d(e,"o",function(){return ut}),n.d(e,"p",function(){return M}),n.d(e,"s",function(){return f}),n.d(e,"q",function(){return se});var D,I=n(60),V=n(15),F=n(61),R=null,L=function(){function t(){this.resourceLoaderType=null}return Object.defineProperty(t.prototype,"attrToPropMap",{get:function(){return this._attrToPropMap},set:function(t){this._attrToPropMap=t},enumerable:!0,configurable:!0}),t}(),z=function(t){function e(){var e=t.call(this)||this;e._animationPrefix=null,e._transitionEnd=null;try{var n=e.createElement("div",document);if(null!=e.getStyle(n,"animationName"))e._animationPrefix="";else for(var r=["Webkit","Moz","O","ms"],o=0;o0},e.prototype.tagName=function(t){return t.tagName},e.prototype.attributeMap=function(t){for(var e=new Map,n=t.attributes,r=0;r0;s||(s=t[a]=[]);var c=xt(e)?Zone.root:Zone.current;if(0===s.length)s.push({zone:c,handler:i});else{for(var l=!1,f=0;f-1},e.decorators=[{type:V.q}],e.ctorParameters=function(){return[{type:void 0,decorators:[{type:V.p,args:[$]}]},{type:jt,decorators:[{type:V.p,args:[Mt]}]}]},e}(st),Nt=["alt","control","meta","shift"],Dt=function(t){return t.altKey},It=function(t){return t.ctrlKey},Vt=function(t){return t.metaKey},Ft=function(t){return t.shiftKey},Rt={alt:Dt,control:It,meta:Vt,shift:Ft},Lt=function(t){function e(e){return t.call(this,e)||this}return Object(F.b)(e,t),e.prototype.supports=function(t){return null!=e.parseEventName(t)},e.prototype.addEventListener=function(t,n,o){var i=e.parseEventName(n),a=e.eventCallback(i.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(function(){return r().onAndCancel(t,i.domEventName,a)})},e.parseEventName=function(t){var n=t.toLowerCase().split("."),r=n.shift();if(0===n.length||"keydown"!==r&&"keyup"!==r)return null;var o=e._normalizeKey(n.pop()),i="";if(Nt.forEach(function(t){var e=n.indexOf(t);e>-1&&(n.splice(e,1),i+=t+".")}),i+=o,0!=n.length||0===o.length)return null;var a={};return a.domEventName=r,a.fullKey=i,a},e.getEventFullKey=function(t){var e="",n=r().getEventKey(t);return n=n.toLowerCase()," "===n?n="space":"."===n&&(n="dot"),Nt.forEach(function(r){if(r!=n){(0,Rt[r])(t)&&(e+=r+".")}}),e+=n},e.eventCallback=function(t,n,r){return function(o){e.getEventFullKey(o)===t&&r.runGuarded(function(){return n(o)})}},e._normalizeKey=function(t){switch(t){case"esc":return"escape";default:return t}},e.decorators=[{type:V.q}],e.ctorParameters=function(){return[{type:void 0,decorators:[{type:V.p,args:[$]}]}]},e}(st),zt=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:\/?#]*(?:[\/?#]|$))/gi,Ht=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\/]+=*$/i,Bt=null,Ut=null,Gt=w("area,br,col,hr,img,wbr"),Zt=w("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Wt=w("rp,rt"),qt=C(Wt,Zt),$t=C(Zt,w("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")),Kt=C(Wt,w("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")),Qt=C(Gt,$t,Kt,qt),Yt=w("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Jt=w("srcset"),Xt=w("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"),te=C(Yt,Jt,Xt),ee=function(){function t(){this.sanitizedSomething=!1,this.buf=[]}return t.prototype.sanitizeChildren=function(t){for(var e=t.firstChild;e;)if(Ut.isElementNode(e)?this.startElement(e):Ut.isTextNode(e)?this.chars(Ut.nodeValue(e)):this.sanitizedSomething=!0,Ut.firstChild(e))e=Ut.firstChild(e);else for(;e;){Ut.isElementNode(e)&&this.endElement(e);var n=O(e,Ut.nextSibling(e));if(n){e=n;break}e=O(e,Ut.parentElement(e))}return this.buf.join("")},t.prototype.startElement=function(t){var e=this,n=Ut.nodeName(t).toLowerCase();if(!Qt.hasOwnProperty(n))return void(this.sanitizedSomething=!0);this.buf.push("<"),this.buf.push(n),Ut.attributeMap(t).forEach(function(t,n){var r=n.toLowerCase();if(!te.hasOwnProperty(r))return void(e.sanitizedSomething=!0);Yt[r]&&(t=m(t)),Jt[r]&&(t=b(t)),e.buf.push(" "),e.buf.push(n),e.buf.push('="'),e.buf.push(E(t)),e.buf.push('"')}),this.buf.push(">")},t.prototype.endElement=function(t){var e=Ut.nodeName(t).toLowerCase();Qt.hasOwnProperty(e)&&!Gt.hasOwnProperty(e)&&(this.buf.push(""))},t.prototype.chars=function(t){this.buf.push(E(t))},t}(),ne=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,re=/([^\#-~ |!])/g,oe=new RegExp("^([-,.\"'%_!# a-zA-Z0-9]+|(?:(?:matrix|translate|scale|rotate|skew|perspective)(?:X|Y|3d)?|(?:rgb|hsl)a?|(?:repeating-)?(?:linear|radial)-gradient|(?:calc|attr))\\([-0-9.%, #a-zA-Z]+\\))$","g"),ie=/^url\(([^)]+)\)$/,ae=function(){function t(){}return t}(),se=function(t){function e(e){var n=t.call(this)||this;return n._doc=e,n}return Object(F.b)(e,t),e.prototype.sanitize=function(t,e){if(null==e)return null;switch(t){case V.K.NONE:return e;case V.K.HTML:return e instanceof ce?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"HTML"),x(this._doc,String(e)));case V.K.STYLE:return e instanceof le?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"Style"),P(e));case V.K.SCRIPT:if(e instanceof fe)return e.changingThisBreaksApplicationSecurity;throw this.checkNotSafeValue(e,"Script"),new Error("unsafe value used in a script context");case V.K.URL:return e instanceof he||e instanceof pe?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"URL"),m(String(e)));case V.K.RESOURCE_URL:if(e instanceof he)return e.changingThisBreaksApplicationSecurity;throw this.checkNotSafeValue(e,"ResourceURL"),new Error("unsafe value used in a resource URL context (see http://g.co/ng/security#xss)");default:throw new Error("Unexpected SecurityContext "+t+" (see http://g.co/ng/security#xss)")}},e.prototype.checkNotSafeValue=function(t,e){if(t instanceof ue)throw new Error("Required a safe "+e+", got a "+t.getTypeName()+" (see http://g.co/ng/security#xss)")},e.prototype.bypassSecurityTrustHtml=function(t){return new ce(t)},e.prototype.bypassSecurityTrustStyle=function(t){return new le(t)},e.prototype.bypassSecurityTrustScript=function(t){return new fe(t)},e.prototype.bypassSecurityTrustUrl=function(t){return new pe(t)},e.prototype.bypassSecurityTrustResourceUrl=function(t){return new he(t)},e.decorators=[{type:V.q}],e.ctorParameters=function(){return[{type:void 0,decorators:[{type:V.p,args:[$]}]}]},e}(ae),ue=function(){function t(t){this.changingThisBreaksApplicationSecurity=t}return t.prototype.toString=function(){return"SafeValue must use [property]=binding: "+this.changingThisBreaksApplicationSecurity+" (see http://g.co/ng/security#xss)"},t}(),ce=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(F.b)(e,t),e.prototype.getTypeName=function(){return"HTML"},e}(ue),le=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(F.b)(e,t),e.prototype.getTypeName=function(){return"Style"},e}(ue),fe=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(F.b)(e,t),e.prototype.getTypeName=function(){return"Script"},e}(ue),pe=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(F.b)(e,t),e.prototype.getTypeName=function(){return"URL"},e}(ue),he=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(F.b)(e,t),e.prototype.getTypeName=function(){return"ResourceURL"},e}(ue),de=[{provide:V.D,useValue:I.h},{provide:V.E,useValue:T,multi:!0},{provide:I.g,useClass:K,deps:[$]},{provide:$,useFactory:j,deps:[]}],ye=[{provide:V.J,useExisting:ae},{provide:ae,useClass:se,deps:[$]}],ge=Object(V.T)(V.Y,"browser",de),ve=function(){function t(t){if(t)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}return t.withServerTransition=function(e){return{ngModule:t,providers:[{provide:V.a,useValue:e.appId},{provide:Y,useExisting:V.a},J]}},t.decorators=[{type:V.x,args:[{providers:[ye,{provide:V.m,useFactory:M,deps:[]},{provide:it,useClass:Pt,multi:!0},{provide:it,useClass:Lt,multi:!0},{provide:it,useClass:At,multi:!0},{provide:Mt,useClass:jt},dt,{provide:V.H,useExisting:dt},{provide:ut,useExisting:ct},ct,V.O,at,ot,Q,tt],exports:[I.a,V.d]}]}],t.ctorParameters=function(){return[{type:t,decorators:[{type:V.B},{type:V.M}]}]},t}(),me="undefined"!=typeof window&&window||{},be=function(){function t(t,e){this.msPerTick=t,this.numTicks=e}return t}(),_e=(function(){function t(t){this.appRef=t.injector.get(V.e)}t.prototype.timeChangeDetection=function(t){var e=t&&t.record,n=null!=me.console.profile;e&&n&&me.console.profile("Change Detection");for(var o=r().performanceNow(),i=0;i<5||r().performanceNow()-o<500;)this.appRef.tick(),i++;var a=r().performanceNow();e&&n&&me.console.profileEnd("Change Detection");var s=(a-o)/i;return me.console.log("ran "+i+" change detection cycles"),me.console.log(s.toFixed(2)+" ms per check"),new be(s,i)}}(),function(){function t(){this.store={},this.onSerializeCallbacks={}}return t.init=function(e){var n=new t;return n.store=e,n},t.prototype.get=function(t,e){return this.store[t]||e},t.prototype.set=function(t,e){this.store[t]=e},t.prototype.remove=function(t){delete this.store[t]},t.prototype.hasKey=function(t){return this.store.hasOwnProperty(t)},t.prototype.onSerialize=function(t,e){this.onSerializeCallbacks[t]=e},t.prototype.toJson=function(){for(var t in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(t))try{this.store[t]=this.onSerializeCallbacks[t]()}catch(t){console.warn("Exception in onSerialize callback: ",t)}return JSON.stringify(this.store)},t.decorators=[{type:V.q}],t.ctorParameters=function(){return[]},t}());(function(){function t(){}t.decorators=[{type:V.x,args:[{providers:[{provide:_e,useFactory:N,deps:[$,V.a]}]}]}],t.ctorParameters=function(){return[]}})(),function(){function t(){}t.all=function(){return function(t){return!0}},t.css=function(t){return function(e){return null!=e.nativeElement&&r().elementMatches(e.nativeElement,t)}},t.directive=function(t){return function(e){return-1!==e.providerTokens.indexOf(t)}}}(),new V.P("5.1.3")},function(t,e,n){"use strict";function r(t,e){return t&&e.startsWith(t)?e.substring(t.length):e}function o(t){return t.replace(/\/index.html$/,"")}function i(t){return w(t)[0]}function a(t,e,n){var r=w(t);return b(b([r[1],r[2]],e),n)}function s(t,e,n){var r=w(t);return b(b([r[3],r[4]],e),n)}function u(t,e,n){var r=w(t);return b(b([r[5],r[6]],e),n)}function c(t,e){return b(w(t)[7],e)}function l(t,e){return w(t)[10][e]}function f(t,e){return w(t)[11][e]}function p(t,e){return b(w(t)[12],e)}function h(t,e){var n=w(t),r=n[13][e];if(void 0===r){if(e===St.CurrencyDecimal)return n[13][St.Decimal];if(e===St.CurrencyGroup)return n[13][St.Group]}return r}function d(t,e){return w(t)[14][e]}function y(t){return w(t)[17]}function g(t){if(!t[18])throw new Error('Missing extra locale data for the locale "'+t[0]+'". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.')}function v(t){var e=w(t);return g(e),(e[18][2]||[]).map(function(t){return"string"==typeof t?_(t):[_(t[0]),_(t[1])]})}function m(t,e,n){var r=w(t);return g(r),b(b([r[18][0],r[18][1]],e)||[],n)||[]}function b(t,e){for(var n=e;n>-1;n--)if(void 0!==t[n])return t[n];throw new Error("Locale data API: locale data undefined")}function _(t){var e=t.split(":");return{hours:+e[0],minutes:+e[1]}}function w(t){var e=t.toLowerCase().replace(/_/g,"-"),n=wt[e];if(n)return n;var r=e.split("-")[0];if(n=wt[r])return n;if("en"===r)return _t;throw new Error('Missing locale data for the locale "'+t+'".')}function C(t,e){var n=bt[t]||{},r=n[0]||t;return"wide"===e?r:n[1]||r}function O(t,e,n,r){var o="="+t;if(e.indexOf(o)>-1)return o;if(o=n.getPluralCategory(t,r),e.indexOf(o)>-1)return o;if(e.indexOf("other")>-1)return"other";throw new Error('No plural message found for value "'+t+'"')}function E(t,e){"string"==typeof e&&(e=parseInt(e,10));var n=e,r=n.toString().replace(/^[^.]*\.?/,""),o=Math.floor(Math.abs(n)),i=r.length,a=parseInt(r,10),s=parseInt(n.toString().replace(/^[^.]*\.?|0+$/g,""),10)||0;switch(t.split("-")[0].toLowerCase()){case"af":case"asa":case"az":case"bem":case"bez":case"bg":case"brx":case"ce":case"cgg":case"chr":case"ckb":case"ee":case"el":case"eo":case"es":case"eu":case"fo":case"fur":case"gsw":case"ha":case"haw":case"hu":case"jgo":case"jmc":case"ka":case"kk":case"kkj":case"kl":case"ks":case"ksb":case"ky":case"lb":case"lg":case"mas":case"mgo":case"ml":case"mn":case"nb":case"nd":case"ne":case"nn":case"nnh":case"nyn":case"om":case"or":case"os":case"ps":case"rm":case"rof":case"rwk":case"saq":case"seh":case"sn":case"so":case"sq":case"ta":case"te":case"teo":case"tk":case"tr":case"ug":case"uz":case"vo":case"vun":case"wae":case"xog":return 1===n?Ot.One:Ot.Other;case"ak":case"ln":case"mg":case"pa":case"ti":return n===Math.floor(n)&&n>=0&&n<=1?Ot.One:Ot.Other;case"am":case"as":case"bn":case"fa":case"gu":case"hi":case"kn":case"mr":case"zu":return 0===o||1===n?Ot.One:Ot.Other;case"ar":return 0===n?Ot.Zero:1===n?Ot.One:2===n?Ot.Two:n%100===Math.floor(n%100)&&n%100>=3&&n%100<=10?Ot.Few:n%100===Math.floor(n%100)&&n%100>=11&&n%100<=99?Ot.Many:Ot.Other;case"ast":case"ca":case"de":case"en":case"et":case"fi":case"fy":case"gl":case"it":case"nl":case"sv":case"sw":case"ur":case"yi":return 1===o&&0===i?Ot.One:Ot.Other;case"be":return n%10==1&&n%100!=11?Ot.One:n%10===Math.floor(n%10)&&n%10>=2&&n%10<=4&&!(n%100>=12&&n%100<=14)?Ot.Few:n%10==0||n%10===Math.floor(n%10)&&n%10>=5&&n%10<=9||n%100===Math.floor(n%100)&&n%100>=11&&n%100<=14?Ot.Many:Ot.Other;case"br":return n%10==1&&n%100!=11&&n%100!=71&&n%100!=91?Ot.One:n%10==2&&n%100!=12&&n%100!=72&&n%100!=92?Ot.Two:n%10===Math.floor(n%10)&&(n%10>=3&&n%10<=4||n%10==9)&&!(n%100>=10&&n%100<=19||n%100>=70&&n%100<=79||n%100>=90&&n%100<=99)?Ot.Few:0!==n&&n%1e6==0?Ot.Many:Ot.Other;case"bs":case"hr":case"sr":return 0===i&&o%10==1&&o%100!=11||a%10==1&&a%100!=11?Ot.One:0===i&&o%10===Math.floor(o%10)&&o%10>=2&&o%10<=4&&!(o%100>=12&&o%100<=14)||a%10===Math.floor(a%10)&&a%10>=2&&a%10<=4&&!(a%100>=12&&a%100<=14)?Ot.Few:Ot.Other;case"cs":case"sk":return 1===o&&0===i?Ot.One:o===Math.floor(o)&&o>=2&&o<=4&&0===i?Ot.Few:0!==i?Ot.Many:Ot.Other;case"cy":return 0===n?Ot.Zero:1===n?Ot.One:2===n?Ot.Two:3===n?Ot.Few:6===n?Ot.Many:Ot.Other;case"da":return 1===n||0!==s&&(0===o||1===o)?Ot.One:Ot.Other;case"dsb":case"hsb":return 0===i&&o%100==1||a%100==1?Ot.One:0===i&&o%100==2||a%100==2?Ot.Two:0===i&&o%100===Math.floor(o%100)&&o%100>=3&&o%100<=4||a%100===Math.floor(a%100)&&a%100>=3&&a%100<=4?Ot.Few:Ot.Other;case"ff":case"fr":case"hy":case"kab":return 0===o||1===o?Ot.One:Ot.Other;case"fil":return 0===i&&(1===o||2===o||3===o)||0===i&&o%10!=4&&o%10!=6&&o%10!=9||0!==i&&a%10!=4&&a%10!=6&&a%10!=9?Ot.One:Ot.Other;case"ga":return 1===n?Ot.One:2===n?Ot.Two:n===Math.floor(n)&&n>=3&&n<=6?Ot.Few:n===Math.floor(n)&&n>=7&&n<=10?Ot.Many:Ot.Other;case"gd":return 1===n||11===n?Ot.One:2===n||12===n?Ot.Two:n===Math.floor(n)&&(n>=3&&n<=10||n>=13&&n<=19)?Ot.Few:Ot.Other;case"gv":return 0===i&&o%10==1?Ot.One:0===i&&o%10==2?Ot.Two:0!==i||o%100!=0&&o%100!=20&&o%100!=40&&o%100!=60&&o%100!=80?0!==i?Ot.Many:Ot.Other:Ot.Few;case"he":return 1===o&&0===i?Ot.One:2===o&&0===i?Ot.Two:0!==i||n>=0&&n<=10||n%10!=0?Ot.Other:Ot.Many;case"is":return 0===s&&o%10==1&&o%100!=11||0!==s?Ot.One:Ot.Other;case"ksh":return 0===n?Ot.Zero:1===n?Ot.One:Ot.Other;case"kw":case"naq":case"se":case"smn":return 1===n?Ot.One:2===n?Ot.Two:Ot.Other;case"lag":return 0===n?Ot.Zero:0!==o&&1!==o||0===n?Ot.Other:Ot.One;case"lt":return n%10!=1||n%100>=11&&n%100<=19?n%10===Math.floor(n%10)&&n%10>=2&&n%10<=9&&!(n%100>=11&&n%100<=19)?Ot.Few:0!==a?Ot.Many:Ot.Other:Ot.One;case"lv":case"prg":return n%10==0||n%100===Math.floor(n%100)&&n%100>=11&&n%100<=19||2===i&&a%100===Math.floor(a%100)&&a%100>=11&&a%100<=19?Ot.Zero:n%10==1&&n%100!=11||2===i&&a%10==1&&a%100!=11||2!==i&&a%10==1?Ot.One:Ot.Other;case"mk":return 0===i&&o%10==1||a%10==1?Ot.One:Ot.Other;case"mt":return 1===n?Ot.One:0===n||n%100===Math.floor(n%100)&&n%100>=2&&n%100<=10?Ot.Few:n%100===Math.floor(n%100)&&n%100>=11&&n%100<=19?Ot.Many:Ot.Other;case"pl":return 1===o&&0===i?Ot.One:0===i&&o%10===Math.floor(o%10)&&o%10>=2&&o%10<=4&&!(o%100>=12&&o%100<=14)?Ot.Few:0===i&&1!==o&&o%10===Math.floor(o%10)&&o%10>=0&&o%10<=1||0===i&&o%10===Math.floor(o%10)&&o%10>=5&&o%10<=9||0===i&&o%100===Math.floor(o%100)&&o%100>=12&&o%100<=14?Ot.Many:Ot.Other;case"pt":return n===Math.floor(n)&&n>=0&&n<=2&&2!==n?Ot.One:Ot.Other;case"ro":return 1===o&&0===i?Ot.One:0!==i||0===n||1!==n&&n%100===Math.floor(n%100)&&n%100>=1&&n%100<=19?Ot.Few:Ot.Other;case"ru":case"uk":return 0===i&&o%10==1&&o%100!=11?Ot.One:0===i&&o%10===Math.floor(o%10)&&o%10>=2&&o%10<=4&&!(o%100>=12&&o%100<=14)?Ot.Few:0===i&&o%10==0||0===i&&o%10===Math.floor(o%10)&&o%10>=5&&o%10<=9||0===i&&o%100===Math.floor(o%100)&&o%100>=11&&o%100<=14?Ot.Many:Ot.Other;case"shi":return 0===o||1===n?Ot.One:n===Math.floor(n)&&n>=2&&n<=10?Ot.Few:Ot.Other;case"si":return 0===n||1===n||0===o&&1===a?Ot.One:Ot.Other;case"sl":return 0===i&&o%100==1?Ot.One:0===i&&o%100==2?Ot.Two:0===i&&o%100===Math.floor(o%100)&&o%100>=3&&o%100<=4||0!==i?Ot.Few:Ot.Other;case"tzm":return n===Math.floor(n)&&n>=0&&n<=1||n===Math.floor(n)&&n>=11&&n<=99?Ot.One:Ot.Other;default:return Ot.Other}}function k(t,e){e=encodeURIComponent(e);for(var n=0,r=t.split(";");n0||s>-n)&&(s+=n),t===Yt.Hours&&0===s&&-12===n&&(s=12),M(s,e,h(a,St.MinusSign),r,o)}}function A(t,e,n){switch(t){case Yt.FullYear:return e.getFullYear();case Yt.Month:return e.getMonth();case Yt.Date:return e.getDate();case Yt.Hours:return e.getHours();case Yt.Minutes:return e.getMinutes();case Yt.Seconds:return e.getSeconds();case Yt.Milliseconds:var r=1===n?100:2===n?10:1;return Math.round(e.getMilliseconds()/r);case Yt.Day:return e.getDay();default:throw new Error('Unknown DateType value "'+t+'".')}}function N(t,e,n,r){return void 0===n&&(n=Et.Format),void 0===r&&(r=!1),function(o,i){return D(o,i,t,e,n,r)}}function D(t,e,n,r,o,i){switch(n){case Jt.Months:return u(e,o,r)[t.getMonth()];case Jt.Days:return s(e,o,r)[t.getDay()];case Jt.DayPeriods:var l=t.getHours(),f=t.getMinutes();if(i){var p,h=v(e),d=m(e,o,r);if(h.forEach(function(t,e){if(Array.isArray(t)){var n=t[0],r=n.hours,o=n.minutes,i=t[1],a=i.hours,s=i.minutes;l>=r&&f>=o&&(l0?Math.floor(o/60):Math.ceil(o/60);switch(t){case Qt.Short:return(o>=0?"+":"")+M(a,2,i)+M(Math.abs(o%60),2,i);case Qt.ShortGMT:return"GMT"+(o>=0?"+":"")+M(a,1,i);case Qt.Long:return"GMT"+(o>=0?"+":"")+M(a,2,i)+":"+M(Math.abs(o%60),2,i);case Qt.Extended:return 0===r?"Z":(o>=0?"+":"")+M(a,2,i)+":"+M(Math.abs(o%60),2,i);default:throw new Error('Unknown zone width "'+t+'"')}}}function V(t){var e=new Date(t,Xt,1).getDay();return new Date(t,0,1+(e<=te?te:te+7)-e)}function F(t){return new Date(t.getFullYear(),t.getMonth(),t.getDate()+(te-t.getDay()))}function R(t,e){return void 0===e&&(e=!1),function(n,r){var o;if(e){var i=new Date(n.getFullYear(),n.getMonth(),1).getDay()-1,a=n.getDate();o=1+Math.floor((a+i)/7)}else{var s=V(n.getFullYear()),u=F(n),c=u.getTime()-s.getTime();o=1+Math.round(c/6048e5)}return M(o,t,h(r,St.MinusSign))}}function L(t){if(ee[t])return ee[t];var e;switch(t){case"G":case"GG":case"GGG":e=N(Jt.Eras,kt.Abbreviated);break;case"GGGG":e=N(Jt.Eras,kt.Wide);break;case"GGGGG":e=N(Jt.Eras,kt.Narrow);break;case"y":e=j(Yt.FullYear,1,0,!1,!0);break;case"yy":e=j(Yt.FullYear,2,0,!0,!0);break;case"yyy":e=j(Yt.FullYear,3,0,!1,!0);break;case"yyyy":e=j(Yt.FullYear,4,0,!1,!0);break;case"M":case"L":e=j(Yt.Month,1,1);break;case"MM":case"LL":e=j(Yt.Month,2,1);break;case"MMM":e=N(Jt.Months,kt.Abbreviated);break;case"MMMM":e=N(Jt.Months,kt.Wide);break;case"MMMMM":e=N(Jt.Months,kt.Narrow);break;case"LLL":e=N(Jt.Months,kt.Abbreviated,Et.Standalone);break;case"LLLL":e=N(Jt.Months,kt.Wide,Et.Standalone);break;case"LLLLL":e=N(Jt.Months,kt.Narrow,Et.Standalone);break;case"w":e=R(1);break;case"ww":e=R(2);break;case"W":e=R(1,!0);break;case"d":e=j(Yt.Date,1);break;case"dd":e=j(Yt.Date,2);break;case"E":case"EE":case"EEE":e=N(Jt.Days,kt.Abbreviated);break;case"EEEE":e=N(Jt.Days,kt.Wide);break;case"EEEEE":e=N(Jt.Days,kt.Narrow);break;case"EEEEEE":e=N(Jt.Days,kt.Short);break;case"a":case"aa":case"aaa":e=N(Jt.DayPeriods,kt.Abbreviated);break;case"aaaa":e=N(Jt.DayPeriods,kt.Wide);break;case"aaaaa":e=N(Jt.DayPeriods,kt.Narrow);break;case"b":case"bb":case"bbb":e=N(Jt.DayPeriods,kt.Abbreviated,Et.Standalone,!0);break;case"bbbb":e=N(Jt.DayPeriods,kt.Wide,Et.Standalone,!0);break;case"bbbbb":e=N(Jt.DayPeriods,kt.Narrow,Et.Standalone,!0);break;case"B":case"BB":case"BBB":e=N(Jt.DayPeriods,kt.Abbreviated,Et.Format,!0);break;case"BBBB":e=N(Jt.DayPeriods,kt.Wide,Et.Format,!0);break;case"BBBBB":e=N(Jt.DayPeriods,kt.Narrow,Et.Format,!0);break;case"h":e=j(Yt.Hours,1,-12);break;case"hh":e=j(Yt.Hours,2,-12);break;case"H":e=j(Yt.Hours,1);break;case"HH":e=j(Yt.Hours,2);break;case"m":e=j(Yt.Minutes,1);break;case"mm":e=j(Yt.Minutes,2);break;case"s":e=j(Yt.Seconds,1);break;case"ss":e=j(Yt.Seconds,2);break;case"S":e=j(Yt.Milliseconds,1);break;case"SS":e=j(Yt.Milliseconds,2);break;case"SSS":e=j(Yt.Milliseconds,3);break;case"Z":case"ZZ":case"ZZZ":e=I(Qt.Short);break;case"ZZZZZ":e=I(Qt.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":e=I(Qt.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":e=I(Qt.Long);break;default:return null}return ee[t]=e,e}function z(t,e){t=t.replace(/:/g,"");var n=Date.parse("Jan 01, 1970 00:00:00 "+t)/6e4;return isNaN(n)?e:n}function H(t,e){return t=new Date(t.getTime()),t.setMinutes(t.getMinutes()+e),t}function B(t,e,n){var r=n?-1:1,o=t.getTimezoneOffset();return H(t,r*(z(e,o)-o))}function U(t,e){return Error("InvalidPipeArgument: '"+e+"' for pipe '"+Object(ht._20)(t)+"'")}function G(t){var e=new Date(0),n=0,r=0,o=t[8]?e.setUTCFullYear:e.setFullYear,i=t[8]?e.setUTCHours:e.setHours;t[9]&&(n=+(t[9]+t[10]),r=+(t[9]+t[11])),o.call(e,+t[1],+t[2]-1,+t[3]);var a=+(t[4]||"0")-n,s=+(t[5]||"0")-r,u=+(t[6]||"0"),c=Math.round(1e3*parseFloat("0."+(t[7]||0)));return i.call(e,a,s,u,c),e}function Z(t){return t instanceof Date&&!isNaN(t.valueOf())}function W(t){return function(e,n){var r=t(e,n);return 1==r.length?"0"+r:r}}function q(t){return function(e,n){return t(e,n).split(" ")[0]}}function $(t,e,n){return new Intl.DateTimeFormat(e,n).format(t).replace(/[\u200e\u200f]/g,"")}function K(t){var e={hour:"2-digit",hour12:!1,timeZoneName:t};return function(t,n){var r=$(t,n,e);return r?r.substring(3):""}}function Q(t,e){return t.hour12=e,t}function Y(t,e){var n={};return n[t]=2===e?"2-digit":"numeric",n}function J(t,e){var n={};return n[t]=e<4?e>1?"short":"narrow":"long",n}function X(t){return t.reduce(function(t,e){return Object(dt.a)({},t,e)},{})}function tt(t){return function(e,n){return $(e,n,t)}}function et(t,e,n){var r=ae[t];if(r)return r(e,n);var o=t,i=ue.get(o);if(!i){i=[];var a=void 0;ie.exec(t);for(var s=t;s;)a=ie.exec(s),a?(i=i.concat(a.slice(1)),s=i.pop()):(i.push(s),s=null);ue.set(o,i)}return i.reduce(function(t,r){var o=se[r];return t+(o?o(e,n):nt(r))},"")}function nt(t){return"''"===t?"'":t.replace(/(^'|'$)/g,"").replace(/''/g,"'")}function rt(t){return t instanceof Date&&!isNaN(t.valueOf())}function ot(t,e,n,r,o){void 0===o&&(o=null);var i,a={str:null},s=d(e,n);if("string"!=typeof t||isNaN(+t-parseFloat(t))){if("number"!=typeof t)return a.error=t+" is not a number",a;i=t}else i=+t;var u=it(s,h(e,St.MinusSign)),c="",l=!1;if(isFinite(i)){var f=st(i);n===Ct.Percent&&(f=at(f));var p=u.minInt,y=u.minFrac,g=u.maxFrac;if(r){var v=r.match(fe);if(null===v)return a.error=r+" is not a valid digit info",a;var m=v[1],b=v[3],_=v[5];null!=m&&(p=ct(m)),null!=b&&(y=ct(b)),null!=_?g=ct(_):null!=b&&y>g&&(g=y)}ut(f,y,g);var w=f.digits,C=f.integerLen,O=f.exponent,E=[];for(l=w.every(function(t){return!t});C0?E=w.splice(C,w.length):(E=w,w=[0]);var k=[];for(w.length>=u.lgSize&&k.unshift(w.splice(-u.lgSize,w.length).join(""));w.length>u.gSize;)k.unshift(w.splice(-u.gSize,w.length).join(""));w.length&&k.unshift(w.join(""));var x=o?St.CurrencyGroup:St.Group;if(c=k.join(h(e,x)),E.length){c+=h(e,o?St.CurrencyDecimal:St.Decimal)+E.join("")}O&&(c+=h(e,St.Exponential)+"+"+O)}else c=h(e,St.Infinity);return c=i<0&&!l?u.negPre+c+u.negSuf:u.posPre+c+u.posSuf,n===Ct.Currency&&null!==o?(a.str=c.replace(me,o).replace(me,""),a):n===Ct.Percent?(a.str=c.replace(new RegExp(be,"g"),h(e,St.PercentSign)),a):(a.str=c,a)}function it(t,e){void 0===e&&(e="-");var n={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},r=t.split(ye),o=r[0],i=r[1],a=-1!==o.indexOf(he)?o.split(he):[o.substring(0,o.lastIndexOf(de)+1),o.substring(o.lastIndexOf(de)+1)],s=a[0],u=a[1]||"";n.posPre=s.substr(0,s.indexOf(ve));for(var c=0;c-1&&(a=a.replace(he,"")),(r=a.search(/e/i))>0?(n<0&&(n=r),n+=+a.slice(r+1),a=a.substring(0,r)):n<0&&(n=a.length),r=0;a.charAt(r)===de;r++);if(r===(i=a.length))e=[0],n=1;else{for(i--;a.charAt(i)===de;)i--;for(n-=r,e=[],o=0;r<=i;r++,o++)e[o]=+a.charAt(r)}return n>pe&&(e=e.splice(0,pe-1),s=n-1,n=1),{digits:e,exponent:s,integerLen:n}}function ut(t,e,n){if(e>n)throw new Error("The minimum number of digits after fraction ("+e+") is higher than the maximum ("+n+").");var r=t.digits,o=r.length-t.integerLen,i=Math.min(Math.max(e,o),n),a=i+t.integerLen,s=r[a];if(a>0){r.splice(Math.max(t.integerLen,a));for(var u=a;u=5)if(a-1<0){for(var l=0;l>a;l--)r.unshift(0),t.integerLen++;r.unshift(1),t.integerLen++}else r[a-1]++;for(;o=p?r.pop():f=!1),e>=10?1:0},0);h&&(r.unshift(h),t.integerLen++)}function ct(t){var e=parseInt(t);if(isNaN(e))throw new Error("Invalid integer literal when parsing "+t);return e}function lt(t,e,n,r,o,i,a){if(void 0===i&&(i=null),void 0===a&&(a=!1),null==n)return null;if("number"!=typeof(n="string"!=typeof n||isNaN(+n-parseFloat(n))?n:+n))throw U(t,n);var s,u,c;if(r!==Ct.Currency&&(s=1,u=0,c=3),o){var l=o.match(fe);if(null===l)throw new Error(o+" is not a valid digit info for number pipes");null!=l[1]&&(s=ct(l[1])),null!=l[3]&&(u=ct(l[3])),null!=l[5]&&(c=ct(l[5]))}return oe.format(n,e,r,{minimumIntegerDigits:s,minimumFractionDigits:u,maximumFractionDigits:c,currency:i,currencyAsSymbol:a})}function ft(t){return t?t[0].toUpperCase()+t.substr(1).toLowerCase():t}function pt(t){return null==t||""===t||t!==t}n.d(e,"e",function(){return jt}),n.d(e,"f",function(){return Mt}),n.d(e,"j",function(){return k}),n.d(e,"a",function(){return He}),n.d(e,"c",function(){return It}),n.d(e,"d",function(){return Ft}),n.d(e,"b",function(){return Ue}),n.d(e,"h",function(){return Ge}),n.d(e,"g",function(){return yt}),n.d(e,"i",function(){return Tt});var ht=n(15),dt=n(61),yt=function(){function t(){}return t}(),gt=(new ht.r("Location Initialized"),function(){function t(){}return t}()),vt=new ht.r("appBaseHref"),mt=function(){function t(e){var n=this;this._subject=new ht.n,this._platformStrategy=e;var r=this._platformStrategy.getBaseHref();this._baseHref=t.stripTrailingSlash(o(r)),this._platformStrategy.onPopState(function(t){n._subject.emit({url:n.path(!0),pop:!0,type:t.type})})}return t.prototype.path=function(t){return void 0===t&&(t=!1),this.normalize(this._platformStrategy.path(t))},t.prototype.isCurrentPathEqualTo=function(e,n){return void 0===n&&(n=""),this.path()==this.normalize(e+t.normalizeQueryParams(n))},t.prototype.normalize=function(e){return t.stripTrailingSlash(r(this._baseHref,o(e)))},t.prototype.prepareExternalUrl=function(t){return t&&"/"!==t[0]&&(t="/"+t),this._platformStrategy.prepareExternalUrl(t)},t.prototype.go=function(t,e){void 0===e&&(e=""),this._platformStrategy.pushState(null,"",t,e)},t.prototype.replaceState=function(t,e){void 0===e&&(e=""),this._platformStrategy.replaceState(null,"",t,e)},t.prototype.forward=function(){this._platformStrategy.forward()},t.prototype.back=function(){this._platformStrategy.back()},t.prototype.subscribe=function(t,e,n){return this._subject.subscribe({next:t,error:e,complete:n})},t.normalizeQueryParams=function(t){return t&&"?"!==t[0]?"?"+t:t},t.joinWithSlash=function(t,e){if(0==t.length)return e;if(0==e.length)return t;var n=0;return t.endsWith("/")&&n++,e.startsWith("/")&&n++,2==n?t+e.substring(1):1==n?t+e:t+"/"+e},t.stripTrailingSlash=function(t){var e=t.match(/#|\?|$/),n=e&&e.index||t.length,r=n-("/"===t[n-1]?1:0);return t.slice(0,r)+t.slice(n)},t.decorators=[{type:ht.q}],t.ctorParameters=function(){return[{type:gt}]},t}(),bt=(function(t){function e(e,n){var r=t.call(this)||this;return r._platformLocation=e,r._baseHref="",null!=n&&(r._baseHref=n),r}Object(dt.b)(e,t),e.prototype.onPopState=function(t){this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t)},e.prototype.getBaseHref=function(){return this._baseHref},e.prototype.path=function(t){void 0===t&&(t=!1);var e=this._platformLocation.hash;return null==e&&(e="#"),e.length>0?e.substring(1):e},e.prototype.prepareExternalUrl=function(t){var e=mt.joinWithSlash(this._baseHref,t);return e.length>0?"#"+e:e},e.prototype.pushState=function(t,e,n,r){var o=this.prepareExternalUrl(n+mt.normalizeQueryParams(r));0==o.length&&(o=this._platformLocation.pathname),this._platformLocation.pushState(t,e,o)},e.prototype.replaceState=function(t,e,n,r){var o=this.prepareExternalUrl(n+mt.normalizeQueryParams(r));0==o.length&&(o=this._platformLocation.pathname),this._platformLocation.replaceState(t,e,o)},e.prototype.forward=function(){this._platformLocation.forward()},e.prototype.back=function(){this._platformLocation.back()},e.decorators=[{type:ht.q}],e.ctorParameters=function(){return[{type:yt},{type:void 0,decorators:[{type:ht.B},{type:ht.p,args:[vt]}]}]}}(gt),function(t){function e(e,n){var r=t.call(this)||this;if(r._platformLocation=e,null==n&&(n=r._platformLocation.getBaseHrefFromDOM()),null==n)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");return r._baseHref=n,r}Object(dt.b)(e,t),e.prototype.onPopState=function(t){this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t)},e.prototype.getBaseHref=function(){return this._baseHref},e.prototype.prepareExternalUrl=function(t){return mt.joinWithSlash(this._baseHref,t)},e.prototype.path=function(t){void 0===t&&(t=!1);var e=this._platformLocation.pathname+mt.normalizeQueryParams(this._platformLocation.search),n=this._platformLocation.hash;return n&&t?""+e+n:e},e.prototype.pushState=function(t,e,n,r){var o=this.prepareExternalUrl(n+mt.normalizeQueryParams(r));this._platformLocation.pushState(t,e,o)},e.prototype.replaceState=function(t,e,n,r){var o=this.prepareExternalUrl(n+mt.normalizeQueryParams(r));this._platformLocation.replaceState(t,e,o)},e.prototype.forward=function(){this._platformLocation.forward()},e.prototype.back=function(){this._platformLocation.back()},e.decorators=[{type:ht.q}],e.ctorParameters=function(){return[{type:yt},{type:void 0,decorators:[{type:ht.B},{type:ht.p,args:[vt]}]}]}}(gt),{AOA:[,"Kz"],ARS:[,"$"],AUD:["A$","$"],BAM:[,"KM"],BBD:[,"$"],BDT:[,"৳"],BMD:[,"$"],BND:[,"$"],BOB:[,"Bs"],BRL:["R$"],BSD:[,"$"],BWP:[,"P"],BYN:[,"р."],BZD:[,"$"],CAD:["CA$","$"],CLP:[,"$"],CNY:["CN¥","¥"],COP:[,"$"],CRC:[,"₡"],CUC:[,"$"],CUP:[,"$"],CZK:[,"Kč"],DKK:[,"kr"],DOP:[,"$"],EGP:[,"E£"],ESP:[,"₧"],EUR:["€"],FJD:[,"$"],FKP:[,"£"],GBP:["£"],GEL:[,"₾"],GIP:[,"£"],GNF:[,"FG"],GTQ:[,"Q"],GYD:[,"$"],HKD:["HK$","$"],HNL:[,"L"],HRK:[,"kn"],HUF:[,"Ft"],IDR:[,"Rp"],ILS:["₪"],INR:["₹"],ISK:[,"kr"],JMD:[,"$"],JPY:["¥"],KHR:[,"៛"],KMF:[,"CF"],KPW:[,"₩"],KRW:["₩"],KYD:[,"$"],KZT:[,"₸"],LAK:[,"₭"],LBP:[,"L£"],LKR:[,"Rs"],LRD:[,"$"],LTL:[,"Lt"],LVL:[,"Ls"],MGA:[,"Ar"],MMK:[,"K"],MNT:[,"₮"],MUR:[,"Rs"],MXN:["MX$","$"],MYR:[,"RM"],NAD:[,"$"],NGN:[,"₦"],NIO:[,"C$"],NOK:[,"kr"],NPR:[,"Rs"],NZD:["NZ$","$"],PHP:[,"₱"],PKR:[,"Rs"],PLN:[,"zł"],PYG:[,"₲"],RON:[,"lei"],RUB:[,"₽"],RUR:[,"р."],RWF:[,"RF"],SBD:[,"$"],SEK:[,"kr"],SGD:[,"$"],SHP:[,"£"],SRD:[,"$"],SSP:[,"£"],STD:[,"Db"],SYP:[,"£"],THB:[,"฿"],TOP:[,"T$"],TRY:[,"₺"],TTD:[,"$"],TWD:["NT$","$"],UAH:[,"₴"],USD:["$"],UYU:[,"$"],VEF:[,"Bs"],VND:["₫"],XAF:["FCFA"],XCD:["EC$","$"],XOF:["CFA"],XPF:["CFPF"],ZAR:[,"R"],ZMW:[,"ZK"]}),_t=["en",[["a","p"],["AM","PM"]],[["AM","PM"],,],[["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"]],,[["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"]],,[["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}",,"{1} 'at' {0}"],[".",",",";","%","+","-","E","×","‰","∞","NaN",":"],["#,##0.###","#,##0%","¤#,##0.00","#E0"],"$","US Dollar",function(t){var e=Math.floor(Math.abs(t)),n=t.toString().replace(/^[^.]*\.?/,"").length;return 1===e&&0===n?1:5}],wt={},Ct={Decimal:0,Percent:1,Currency:2,Scientific:3};Ct[Ct.Decimal]="Decimal",Ct[Ct.Percent]="Percent",Ct[Ct.Currency]="Currency",Ct[Ct.Scientific]="Scientific";var Ot={Zero:0,One:1,Two:2,Few:3,Many:4,Other:5};Ot[Ot.Zero]="Zero",Ot[Ot.One]="One",Ot[Ot.Two]="Two",Ot[Ot.Few]="Few",Ot[Ot.Many]="Many",Ot[Ot.Other]="Other";var Et={Format:0,Standalone:1};Et[Et.Format]="Format",Et[Et.Standalone]="Standalone";var kt={Narrow:0,Abbreviated:1,Wide:2,Short:3};kt[kt.Narrow]="Narrow",kt[kt.Abbreviated]="Abbreviated",kt[kt.Wide]="Wide",kt[kt.Short]="Short";var xt={Short:0,Medium:1,Long:2,Full:3};xt[xt.Short]="Short",xt[xt.Medium]="Medium",xt[xt.Long]="Long",xt[xt.Full]="Full";var St={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};St[St.Decimal]="Decimal",St[St.Group]="Group",St[St.List]="List",St[St.PercentSign]="PercentSign",St[St.PlusSign]="PlusSign",St[St.MinusSign]="MinusSign",St[St.Exponential]="Exponential",St[St.SuperscriptingExponent]="SuperscriptingExponent",St[St.PerMille]="PerMille",St[St.Infinity]="Infinity",St[St.NaN]="NaN",St[St.TimeSeparator]="TimeSeparator",St[St.CurrencyDecimal]="CurrencyDecimal",St[St.CurrencyGroup]="CurrencyGroup";var Pt={Sunday:0,Monday:1,Tuesday:2,Wednesday:3,Thursday:4,Friday:5,Saturday:6};Pt[Pt.Sunday]="Sunday",Pt[Pt.Monday]="Monday",Pt[Pt.Tuesday]="Tuesday",Pt[Pt.Wednesday]="Wednesday",Pt[Pt.Thursday]="Thursday",Pt[Pt.Friday]="Friday",Pt[Pt.Saturday]="Saturday";var Tt=new ht.r("UseV4Plurals"),Mt=function(){function t(){}return t}(),jt=function(t){function e(e,n){var r=t.call(this)||this;return r.locale=e,r.deprecatedPluralFn=n,r}return Object(dt.b)(e,t),e.prototype.getPluralCategory=function(t,e){switch(this.deprecatedPluralFn?this.deprecatedPluralFn(e||this.locale,t):y(e||this.locale)(t)){case Ot.Zero:return"zero";case Ot.One:return"one";case Ot.Two:return"two";case Ot.Few:return"few";case Ot.Many:return"many";default:return"other"}},e.decorators=[{type:ht.q}],e.ctorParameters=function(){return[{type:void 0,decorators:[{type:ht.p,args:[ht.w]}]},{type:void 0,decorators:[{type:ht.B},{type:ht.p,args:[Tt]}]}]},e}(Mt),At=function(){function t(t,e,n,r){this._iterableDiffers=t,this._keyValueDiffers=e,this._ngEl=n,this._renderer=r,this._initialClasses=[]}return Object.defineProperty(t.prototype,"klass",{set:function(t){this._applyInitialClasses(!0),this._initialClasses="string"==typeof t?t.split(/\s+/):[],this._applyInitialClasses(!1),this._applyClasses(this._rawClass,!1)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngClass",{set:function(t){this._cleanupClasses(this._rawClass),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof t?t.split(/\s+/):t,this._rawClass&&(Object(ht._10)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())},enumerable:!0,configurable:!0}),t.prototype.ngDoCheck=function(){if(this._iterableDiffer){var t=this._iterableDiffer.diff(this._rawClass);t&&this._applyIterableChanges(t)}else if(this._keyValueDiffer){var e=this._keyValueDiffer.diff(this._rawClass);e&&this._applyKeyValueChanges(e)}},t.prototype._cleanupClasses=function(t){this._applyClasses(t,!0),this._applyInitialClasses(!1)},t.prototype._applyKeyValueChanges=function(t){var e=this;t.forEachAddedItem(function(t){return e._toggleClass(t.key,t.currentValue)}),t.forEachChangedItem(function(t){return e._toggleClass(t.key,t.currentValue)}),t.forEachRemovedItem(function(t){t.previousValue&&e._toggleClass(t.key,!1)})},t.prototype._applyIterableChanges=function(t){var e=this;t.forEachAddedItem(function(t){if("string"!=typeof t.item)throw new Error("NgClass can only toggle CSS classes expressed as strings, got "+Object(ht._20)(t.item));e._toggleClass(t.item,!0)}),t.forEachRemovedItem(function(t){return e._toggleClass(t.item,!1)})},t.prototype._applyInitialClasses=function(t){var e=this;this._initialClasses.forEach(function(n){return e._toggleClass(n,!t)})},t.prototype._applyClasses=function(t,e){var n=this;t&&(Array.isArray(t)||t instanceof Set?t.forEach(function(t){return n._toggleClass(t,!e)}):Object.keys(t).forEach(function(r){null!=t[r]&&n._toggleClass(r,!e)}))},t.prototype._toggleClass=function(t,e){var n=this;(t=t.trim())&&t.split(/\s+/g).forEach(function(t){e?n._renderer.addClass(n._ngEl.nativeElement,t):n._renderer.removeClass(n._ngEl.nativeElement,t)})},t.decorators=[{type:ht.k,args:[{selector:"[ngClass]"}]}],t.ctorParameters=function(){return[{type:ht.u},{type:ht.v},{type:ht.l},{type:ht.G}]},t.propDecorators={klass:[{type:ht.t,args:["class"]}],ngClass:[{type:ht.t}]},t}(),Nt=function(){function t(t){this._viewContainerRef=t,this._componentRef=null,this._moduleRef=null}return t.prototype.ngOnChanges=function(t){if(this._viewContainerRef.clear(),this._componentRef=null,this.ngComponentOutlet){var e=this.ngComponentOutletInjector||this._viewContainerRef.parentInjector;if(t.ngComponentOutletNgModuleFactory)if(this._moduleRef&&this._moduleRef.destroy(),this.ngComponentOutletNgModuleFactory){var n=e.get(ht.y);this._moduleRef=this.ngComponentOutletNgModuleFactory.create(n.injector)}else this._moduleRef=null;var r=this._moduleRef?this._moduleRef.componentFactoryResolver:e.get(ht.j),o=r.resolveComponentFactory(this.ngComponentOutlet);this._componentRef=this._viewContainerRef.createComponent(o,this._viewContainerRef.length,e,this.ngComponentOutletContent)}},t.prototype.ngOnDestroy=function(){this._moduleRef&&this._moduleRef.destroy()},t.decorators=[{type:ht.k,args:[{selector:"[ngComponentOutlet]"}]}],t.ctorParameters=function(){return[{type:ht.Q}]},t.propDecorators={ngComponentOutlet:[{type:ht.t}],ngComponentOutletInjector:[{type:ht.t}],ngComponentOutletContent:[{type:ht.t}],ngComponentOutletNgModuleFactory:[{type:ht.t}]},t}(),Dt=function(){function t(t,e,n,r){this.$implicit=t,this.ngForOf=e,this.index=n,this.count=r}return Object.defineProperty(t.prototype,"first",{get:function(){return 0===this.index},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"last",{get:function(){return this.index===this.count-1},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"even",{get:function(){return this.index%2==0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"odd",{get:function(){return!this.even},enumerable:!0,configurable:!0}),t}(),It=function(){function t(t,e,n){this._viewContainer=t,this._template=e,this._differs=n,this._differ=null}return Object.defineProperty(t.prototype,"ngForTrackBy",{get:function(){return this._trackByFn},set:function(t){Object(ht.X)()&&null!=t&&"function"!=typeof t&&console&&console.warn&&console.warn("trackBy must be a function, but received "+JSON.stringify(t)+". See https://angular.io/docs/ts/latest/api/common/index/NgFor-directive.html#!#change-propagation for more information."),this._trackByFn=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngForTemplate",{set:function(t){t&&(this._template=t)},enumerable:!0,configurable:!0}),t.prototype.ngOnChanges=function(t){if("ngForOf"in t){var e=t.ngForOf.currentValue;if(!this._differ&&e)try{this._differ=this._differs.find(e).create(this.ngForTrackBy)}catch(t){throw new Error("Cannot find a differ supporting object '"+e+"' of type '"+x(e)+"'. NgFor only supports binding to Iterables such as Arrays.")}}},t.prototype.ngDoCheck=function(){if(this._differ){var t=this._differ.diff(this.ngForOf);t&&this._applyChanges(t)}},t.prototype._applyChanges=function(t){var e=this,n=[];t.forEachOperation(function(t,r,o){if(null==t.previousIndex){var i=e._viewContainer.createEmbeddedView(e._template,new Dt(null,e.ngForOf,-1,-1),o),a=new Vt(t,i);n.push(a)}else if(null==o)e._viewContainer.remove(r);else{var i=e._viewContainer.get(r);e._viewContainer.move(i,o);var a=new Vt(t,i);n.push(a)}});for(var r=0;r0)&&this.toggle.emit(this.eventData)},t.prototype.onchange=function(t){var e=this;if(t)this.change.emit(t);else{if(this.data.state.disabled)return;this.doubleClick.onclick(function(){e.change.emit(e.eventData)})}},t.prototype.trackBy=function(t,e){return e},t.decorators=[{type:r.i,args:[{selector:"node",template:i.a}]}],t.ctorParameters=function(){return[]},t.propDecorators={data:[{type:r.t}],last:[{type:r.t}],checkbox:[{type:r.t}],path:[{type:r.t}],draggable:[{type:r.t}],preid:[{type:r.t}],toggle:[{type:r.C}],change:[{type:r.C}]},t}(),s=function(){function t(){this.toggle=new r.n,this.change=new r.n,this.drop=new r.n,this.dragTarget=null,this.dropTarget=null}return Object.defineProperty(t.prototype,"rootClassName",{get:function(){return o.l(this.checkbox,this.size,this.theme)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"containerClassName",{get:function(){return o.e(this.nodots)},enumerable:!0,configurable:!0}),t.prototype.ontoggle=function(t){this.toggle.emit(t)},t.prototype.onchange=function(t){this.change.emit(t)},t.prototype.ondragstart=function(t){this.draggable&&(this.dragTarget=t.target,this.dropTarget=t.target)},t.prototype.ondragend=function(t){if(this.draggable){this.dragTarget=null;for(var e=0,n=this.data;el;)if((s=u[l++])!=s)return!0}else for(;c>l;l++)if((t||l in u)&&u[l]===n)return t||l||0;return!t&&-1}}},function(t,e,n){var r=n(50)("keys"),o=n(33);t.exports=function(t){return r[t]||(r[t]=o(t))}},function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,e,n){var r=n(23);t.exports=Array.isArray||function(t){return"Array"==r(t)}},function(t,e,n){var r=n(4).document;t.exports=r&&r.documentElement},function(t,e,n){var r=n(3),o=n(1),i=function(t,e){if(o(t),!r(e)&&null!==e)throw TypeError(e+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,e,r){try{r=n(22)(Function.call,n(25).f(Object.prototype,"__proto__").set,2),r(t,[]),e=!(t instanceof Array)}catch(t){e=!0}return function(t,n){return i(t,n),e?t.__proto__=n:r(t,n),t}}({},!1):void 0),check:i}},function(t,e){t.exports="\t\n\v\f\r   ᠎              \u2028\u2029\ufeff"},function(t,e,n){var r=n(3),o=n(70).set;t.exports=function(t,e,n){var i,a=e.constructor;return a!==n&&"function"==typeof a&&(i=a.prototype)!==n.prototype&&r(i)&&o&&o(t,i),t}},function(t,e){t.exports=Math.sign||function(t){return 0==(t=+t)||t!=t?t:t<0?-1:1}},function(t,e){var n=Math.expm1;t.exports=!n||n(10)>22025.465794806718||n(10)<22025.465794806718||-2e-17!=n(-2e-17)?function(t){return 0==(t=+t)?t:t>-1e-6&&t<1e-6?t+t*t/2:Math.exp(t)-1}:n},function(t,e,n){"use strict";var r=n(39),o=n(0),i=n(11),a=n(13),s=n(9),u=n(47),c=n(105),l=n(38),f=n(19),p=n(5)("iterator"),h=!([].keys&&"next"in[].keys()),d=function(){return this};t.exports=function(t,e,n,y,g,v,m){c(n,e,y);var b,_,w,C=function(t){if(!h&&t in x)return x[t];switch(t){case"keys":case"values":return function(){return new n(this,t)}}return function(){return new n(this,t)}},O=e+" Iterator",E="values"==g,k=!1,x=t.prototype,S=x[p]||x["@@iterator"]||g&&x[g],P=!h&&S||C(g),T=g?E?C("entries"):P:void 0,M="Array"==e?x.entries||S:S;if(M&&(w=f(M.call(new t)))!==Object.prototype&&w.next&&(l(w,O,!0),r||s(w,p)||a(w,p,d)),E&&S&&"values"!==S.name&&(k=!0,P=function(){return S.call(this)}),r&&!m||!h&&!k&&x[p]||a(x,p,P),u[e]=P,u[O]=d,g)if(b={values:E?P:C("values"),keys:v?P:C("keys"),entries:T},m)for(_ in b)_ in x||i(x,_,b[_]);else o(o.P+o.F*(h||k),e,b);return b}},function(t,e,n){var r=n(77),o=n(31);t.exports=function(t,e,n){if(r(e))throw TypeError("String#"+n+" doesn't accept regex!");return String(o(t))}},function(t,e,n){var r=n(3),o=n(23),i=n(5)("match");t.exports=function(t){var e;return r(t)&&(void 0!==(e=t[i])?!!e:"RegExp"==o(t))}},function(t,e,n){var r=n(5)("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(n){try{return e[r]=!1,!"/./"[t](e)}catch(t){}}return!0}},function(t,e,n){var r=n(47),o=n(5)("iterator"),i=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||i[o]===t)}},function(t,e,n){var r=n(53),o=n(5)("iterator"),i=n(47);t.exports=n(28).getIteratorMethod=function(t){if(void 0!=t)return t[o]||t["@@iterator"]||i[r(t)]}},function(t,e,n){"use strict";var r=n(12),o=n(34),i=n(8);t.exports=function(t){for(var e=r(this),n=i(e.length),a=arguments.length,s=o(a>1?arguments[1]:void 0,n),u=a>2?arguments[2]:void 0,c=void 0===u?n:o(u,n);c>s;)e[s++]=t;return e}},function(t,e,n){"use strict";var r=n(1);t.exports=function(){var t=r(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},function(t,e,n){var r=n(1),o=n(16),i=n(5)("species");t.exports=function(t,e){var n,a=r(t).constructor;return void 0===a||void 0==(n=r(a)[i])?e:o(n)}},function(t,e,n){"use strict";function r(t,e,n){var r,o,i,a=new Array(n),s=8*n-e-1,u=(1<>1,l=23===e?R(2,-24)-R(2,-77):0,f=0,p=t<0||0===t&&1/t<0?1:0;for(t=F(t),t!=t||t===I?(o=t!=t?1:0,r=u):(r=L(z(t)/H),t*(i=R(2,-r))<1&&(r--,i*=2),t+=r+c>=1?l/i:l*R(2,1-c),t*i>=2&&(r++,i/=2),r+c>=u?(o=0,r=u):r+c>=1?(o=(t*i-1)*R(2,e),r+=c):(o=t*R(2,c-1)*R(2,e),r=0));e>=8;a[f++]=255&o,o/=256,e-=8);for(r=r<0;a[f++]=255&r,r/=256,s-=8);return a[--f]|=128*p,a}function o(t,e,n){var r,o=8*n-e-1,i=(1<>1,s=o-7,u=n-1,c=t[u--],l=127&c;for(c>>=7;s>0;l=256*l+t[u],u--,s-=8);for(r=l&(1<<-s)-1,l>>=-s,s+=e;s>0;r=256*r+t[u],u--,s-=8);if(0===l)l=1-a;else{if(l===i)return r?NaN:c?-I:I;r+=R(2,e),l-=a}return(c?-1:1)*r*R(2,l-e)}function i(t){return t[3]<<24|t[2]<<16|t[1]<<8|t[0]}function a(t){return[255&t]}function s(t){return[255&t,t>>8&255]}function u(t){return[255&t,t>>8&255,t>>16&255,t>>24&255]}function c(t){return r(t,52,8)}function l(t){return r(t,23,4)}function f(t,e,n){x(t[T],e,{get:function(){return this[n]}})}function p(t,e,n,r){var o=+n,i=E(o);if(i+e>t[U])throw D(M);var a=t[B]._b,s=i+t[G],u=a.slice(s,s+e);return r?u:u.reverse()}function h(t,e,n,r,o,i){var a=+n,s=E(a);if(s+e>t[U])throw D(M);for(var u=t[B]._b,c=s+t[G],l=r(+o),f=0;f$;)(Z=q[$++])in j||m(j,Z,V[Z]);g||(W.constructor=j)}var K=new A(new j(2)),Q=A[T].setInt8;K.setInt8(0,2147483648),K.setInt8(1,2147483649),!K.getInt8(0)&&K.getInt8(1)||b(A[T],{setInt8:function(t,e){Q.call(this,t,e<<24>>24)},setUint8:function(t,e){Q.call(this,t,e<<24>>24)}},!0)}else j=function(t){w(this,j,"ArrayBuffer");var e=E(t);this._b=S.call(new Array(e),0),this[U]=e},A=function(t,e,n){w(this,A,"DataView"),w(t,j,"DataView");var r=t[U],o=C(e);if(o<0||o>r)throw D("Wrong offset!");if(n=void 0===n?r-o:O(n),o+n>r)throw D("Wrong length!");this[B]=t,this[G]=o,this[U]=n},y&&(f(j,"byteLength","_l"),f(A,"buffer","_b"),f(A,"byteLength","_l"),f(A,"byteOffset","_o")),b(A[T],{getInt8:function(t){return p(this,1,t)[0]<<24>>24},getUint8:function(t){return p(this,1,t)[0]},getInt16:function(t){var e=p(this,2,t,arguments[1]);return(e[1]<<8|e[0])<<16>>16},getUint16:function(t){var e=p(this,2,t,arguments[1]);return e[1]<<8|e[0]},getInt32:function(t){return i(p(this,4,t,arguments[1]))},getUint32:function(t){return i(p(this,4,t,arguments[1]))>>>0},getFloat32:function(t){return o(p(this,4,t,arguments[1]),23,4)},getFloat64:function(t){return o(p(this,8,t,arguments[1]),52,8)},setInt8:function(t,e){h(this,1,t,a,e)},setUint8:function(t,e){h(this,1,t,a,e)},setInt16:function(t,e){h(this,2,t,s,e,arguments[2])},setUint16:function(t,e){h(this,2,t,s,e,arguments[2])},setInt32:function(t,e){h(this,4,t,u,e,arguments[2])},setUint32:function(t,e){h(this,4,t,u,e,arguments[2])},setFloat32:function(t,e){h(this,4,t,l,e,arguments[2])},setFloat64:function(t,e){h(this,8,t,c,e,arguments[2])}});P(j,"ArrayBuffer"),P(A,"DataView"),m(A[T],v.VIEW,!0),e.ArrayBuffer=j,e.DataView=A},function(t,e){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(t){"object"==typeof window&&(n=window)}t.exports=n},function(t,e,n){"use strict";var r=n(44),o=r.root.Symbol;e.rxSubscriber="function"==typeof o&&"function"==typeof o.for?o.for("rxSubscriber"):"@@rxSubscriber",e.$$rxSubscriber=e.rxSubscriber},function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n(21),i=n(37),a=n(62),s=n(312),u=n(313),c=n(86),l=function(t){function e(e){t.call(this,e),this.destination=e}return r(e,t),e}(i.Subscriber);e.SubjectSubscriber=l;var f=function(t){function e(){t.call(this),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}return r(e,t),e.prototype[c.rxSubscriber]=function(){return new l(this)},e.prototype.lift=function(t){var e=new p(this,this);return e.operator=t,e},e.prototype.next=function(t){if(this.closed)throw new s.ObjectUnsubscribedError;if(!this.isStopped)for(var e=this.observers,n=e.length,r=e.slice(),o=0;o0?(t.state.opened?n.push("tree-open"):n.push("tree-closed"),t.state.loading&&n.push("tree-loading")):n.push("tree-leaf"),e&&n.push("tree-last"),n.join(" ")}function i(t,e,n){var r=["tree-anchor","tree-relative","tree-anchor-"+n.join("-")];return t.state.selected&&r.push("tree-clicked"),t.state.disabled&&r.push("tree-disabled"),t.state.highlighted&&r.push("tree-search"),e&&r.push("tree-hovered"),r.join(" ")}function a(t,e){var n=["tree-icon","tree-checkbox","tree-checkbox-"+e.join("-")];return t.children&&t.children.some(function(t){return t.state.selected})&&t.children.some(function(t){return!t.state.selected})&&n.push("tree-undetermined"),n.join(" ")}function s(t,e,n){void 0===n&&(n="default");var r=["tree"];return e?r.push("tree-"+n+"-"+e):r.push("tree-"+n),t&&r.push("tree-checkbox-selection","tree-checkbox-no-clicked"),r.join(" ")}function u(t){var e=["tree-icon","tree-themeicon"];return t&&e.push(t,"tree-themeicon-custom"),e.join(" ")}function c(t){return["tree-icon","tree-ocl","tree-ocl-"+t.join("-")].join(" ")}function l(t){var e=["tree-marker-"+t.state.dropPosition];return t.state.dropAllowed?e.push("allowed"):e.push("not-allowed"),e.join(" ")}function f(t,e){for(var n=null,r=0,o=e;r2*n/3?3:2}function h(t){if(t.state.dropPosition&&(t.state.dropPosition=0),t.children)for(var e=0,n=t.children;e\n the source code of the demo\n
\n default:\n
\n \n
\n selected id: {{selectedId}}\n
\n checkbox:\n
\n \n
\n
\n draggable:\n
\n \n
\n
\n no dots:\n
\n \n
\n
\n large:\n
\n \n
\n
\n small:\n
\n \n
\n
\n dark theme:\n
\n \n
\n
\n node id:\n
\n \n
\n \n '}]}],t.ctorParameters=function(){return[]},t}()},function(t,e,n){t.exports=!n(7)&&!n(2)(function(){return 7!=Object.defineProperty(n(64)("div"),"a",{get:function(){return 7}}).a})},function(t,e,n){e.f=n(5)},function(t,e,n){var r=n(9),o=n(17),i=n(65)(!1),a=n(66)("IE_PROTO");t.exports=function(t,e){var n,s=o(t),u=0,c=[];for(n in s)n!=a&&r(s,n)&&c.push(n);for(;e.length>u;)r(s,n=e[u++])&&(~i(c,n)||c.push(n));return c}},function(t,e,n){var r=n(6),o=n(1),i=n(45);t.exports=n(7)?Object.defineProperties:function(t,e){o(t);for(var n,a=i(e),s=a.length,u=0;s>u;)r.f(t,n=a[u++],e[n]);return t}},function(t,e,n){var r=n(17),o=n(36).f,i={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],s=function(t){try{return o(t)}catch(t){return a.slice()}};t.exports.f=function(t){return a&&"[object Window]"==i.call(t)?s(t):o(r(t))}},function(t,e,n){"use strict";var r=n(45),o=n(51),i=n(52),a=n(12),s=n(46),u=Object.assign;t.exports=!u||n(2)(function(){var t={},e={},n=Symbol(),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach(function(t){e[t]=t}),7!=u({},t)[n]||Object.keys(u({},e)).join("")!=r})?function(t,e){for(var n=a(t),u=arguments.length,c=1,l=o.f,f=i.f;u>c;)for(var p,h=s(arguments[c++]),d=l?r(h).concat(l(h)):r(h),y=d.length,g=0;y>g;)f.call(h,p=d[g++])&&(n[p]=h[p]);return n}:u},function(t,e,n){"use strict";var r=n(16),o=n(3),i=n(97),a=[].slice,s={},u=function(t,e,n){if(!(e in s)){for(var r=[],o=0;o>>0||(a.test(n)?16:10))}:r},function(t,e,n){var r=n(4).parseFloat,o=n(54).trim;t.exports=1/r(n(71)+"-0")!=-1/0?function(t){var e=o(String(t),3),n=r(e);return 0===n&&"-"==e.charAt(0)?-0:n}:r},function(t,e,n){var r=n(23);t.exports=function(t,e){if("number"!=typeof t&&"Number"!=r(t))throw TypeError(e);return+t}},function(t,e,n){"use strict";var r=n(24),o=n(31);t.exports=function(t){var e=String(o(this)),n="",i=r(t);if(i<0||i==1/0)throw RangeError("Count can't be negative");for(;i>0;(i>>>=1)&&(e+=e))1&i&&(n+=e);return n}},function(t,e,n){var r=n(3),o=Math.floor;t.exports=function(t){return!r(t)&&isFinite(t)&&o(t)===t}},function(t,e){t.exports=Math.log1p||function(t){return(t=+t)>-1e-8&&t<1e-8?t-t*t/2:Math.log(1+t)}},function(t,e,n){var r=n(24),o=n(31);t.exports=function(t){return function(e,n){var i,a,s=String(o(e)),u=r(n),c=s.length;return u<0||u>=c?t?"":void 0:(i=s.charCodeAt(u),i<55296||i>56319||u+1===c||(a=s.charCodeAt(u+1))<56320||a>57343?t?s.charAt(u):i:t?s.slice(u,u+2):a-56320+(i-55296<<10)+65536)}}},function(t,e,n){"use strict";var r=n(35),o=n(32),i=n(38),a={};n(13)(a,n(5)("iterator"),function(){return this}),t.exports=function(t,e,n){t.prototype=r(a,{next:o(1,n)}),i(t,e+" Iterator")}},function(t,e,n){var r=n(1);t.exports=function(t,e,n,o){try{return o?e(r(n)[0],n[1]):e(n)}catch(e){var i=t.return;throw void 0!==i&&r(i.call(t)),e}}},function(t,e,n){"use strict";var r=n(6),o=n(32);t.exports=function(t,e,n){e in t?r.f(t,e,o(0,n)):t[e]=n}},function(t,e,n){var r=n(16),o=n(12),i=n(46),a=n(8);t.exports=function(t,e,n,s,u){r(e);var c=o(t),l=i(c),f=a(c.length),p=u?f-1:0,h=u?-1:1;if(n<2)for(;;){if(p in l){s=l[p],p+=h;break}if(p+=h,u?p<0:f<=p)throw TypeError("Reduce of empty array with no initial value")}for(;u?p>=0:f>p;p+=h)p in l&&(s=e(s,l[p],p,c));return s}},function(t,e,n){"use strict";var r=n(12),o=n(34),i=n(8);t.exports=[].copyWithin||function(t,e){var n=r(this),a=i(n.length),s=o(t,a),u=o(e,a),c=arguments.length>2?arguments[2]:void 0,l=Math.min((void 0===c?a:o(c,a))-u,a-s),f=1;for(u0;)u in n?n[s]=n[u]:delete n[s],s+=f,u+=f;return n}},function(t,e,n){"use strict";var r=n(48),o=n(111),i=n(47),a=n(17);t.exports=n(75)(Array,"Array",function(t,e){this._t=a(t),this._i=0,this._k=e},function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,o(1)):"keys"==e?o(0,n):"values"==e?o(0,t[n]):o(0,[n,t[n]])},"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},function(t,e,n){n(7)&&"g"!=/./g.flags&&n(6).f(RegExp.prototype,"flags",{configurable:!0,get:n(82)})},function(t,e,n){var r,o,i,a=n(22),s=n(97),u=n(69),c=n(64),l=n(4),f=l.process,p=l.setImmediate,h=l.clearImmediate,d=l.MessageChannel,y=l.Dispatch,g=0,v={},m=function(){var t=+this;if(v.hasOwnProperty(t)){var e=v[t];delete v[t],e()}},b=function(t){m.call(t.data)};p&&h||(p=function(t){for(var e=[],n=1;arguments.length>n;)e.push(arguments[n++]);return v[++g]=function(){s("function"==typeof t?t:Function(t),e)},r(g),g},h=function(t){delete v[t]},"process"==n(23)(f)?r=function(t){f.nextTick(a(m,t,1))}:y&&y.now?r=function(t){y.now(a(m,t,1))}:d?(o=new d,i=o.port2,o.port1.onmessage=b,r=a(i.postMessage,i,1)):l.addEventListener&&"function"==typeof postMessage&&!l.importScripts?(r=function(t){l.postMessage(t+"","*")},l.addEventListener("message",b,!1)):r="onreadystatechange"in c("script")?function(t){u.appendChild(c("script")).onreadystatechange=function(){u.removeChild(this),m.call(t)}}:function(t){setTimeout(a(m,t,1),0)}),t.exports={set:p,clear:h}},function(t,e,n){"use strict";function r(t){var e,n;this.promise=new t(function(t,r){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=r}),this.resolve=o(e),this.reject=o(n)}var o=n(16);t.exports.f=function(t){return new r(t)}},function(t,e,n){"use strict";var r=n(116),o=n(43);t.exports=n(57)("Map",function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},{get:function(t){var e=r.getEntry(o(this,"Map"),t);return e&&e.v},set:function(t,e){return r.def(o(this,"Map"),0===t?0:t,e)}},r,!0)},function(t,e,n){"use strict";var r=n(6).f,o=n(35),i=n(42),a=n(22),s=n(41),u=n(49),c=n(75),l=n(111),f=n(40),p=n(7),h=n(30).fastKey,d=n(43),y=p?"_s":"size",g=function(t,e){var n,r=h(e);if("F"!==r)return t._i[r];for(n=t._f;n;n=n.n)if(n.k==e)return n};t.exports={getConstructor:function(t,e,n,c){var l=t(function(t,r){s(t,l,e,"_i"),t._t=e,t._i=o(null),t._f=void 0,t._l=void 0,t[y]=0,void 0!=r&&u(r,n,t[c],t)});return i(l.prototype,{clear:function(){for(var t=d(this,e),n=t._i,r=t._f;r;r=r.n)r.r=!0,r.p&&(r.p=r.p.n=void 0),delete n[r.i];t._f=t._l=void 0,t[y]=0},delete:function(t){var n=d(this,e),r=g(n,t);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[y]--}return!!r},forEach:function(t){d(this,e);for(var n,r=a(t,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(t){return!!g(d(this,e),t)}}),p&&r(l.prototype,"size",{get:function(){return d(this,e)[y]}}),l},def:function(t,e,n){var r,o,i=g(t,e);return i?i.v=n:(t._l=i={i:o=h(e,!0),k:e,v:n,p:r=t._l,n:void 0,r:!1},t._f||(t._f=i),r&&(r.n=i),t[y]++,"F"!==o&&(t._i[o]=i)),t},getEntry:g,setStrong:function(t,e,n){c(t,e,function(t,n){this._t=d(t,e),this._k=n,this._l=void 0},function(){for(var t=this,e=t._k,n=t._l;n&&n.r;)n=n.p;return t._t&&(t._l=n=n?n.n:t._t._f)?"keys"==e?l(0,n.k):"values"==e?l(0,n.v):l(0,[n.k,n.v]):(t._t=void 0,l(1))},n?"entries":"values",!n,!0),f(e)}}},function(t,e,n){"use strict";var r=n(116),o=n(43);t.exports=n(57)("Set",function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},{add:function(t){return r.def(o(this,"Set"),t=0===t?0:t,t)}},r)},function(t,e,n){"use strict";var r,o=n(20)(0),i=n(11),a=n(30),s=n(95),u=n(119),c=n(3),l=n(2),f=n(43),p=a.getWeak,h=Object.isExtensible,d=u.ufstore,y={},g=function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},v={get:function(t){if(c(t)){var e=p(t);return!0===e?d(f(this,"WeakMap")).get(t):e?e[this._i]:void 0}},set:function(t,e){return u.def(f(this,"WeakMap"),t,e)}},m=t.exports=n(57)("WeakMap",g,v,u,!0,!0);l(function(){return 7!=(new m).set((Object.freeze||Object)(y),7).get(y)})&&(r=u.getConstructor(g,"WeakMap"),s(r.prototype,v),a.NEED=!0,o(["delete","has","get","set"],function(t){var e=m.prototype,n=e[t];i(e,t,function(e,o){if(c(e)&&!h(e)){this._f||(this._f=new r);var i=this._f[t](e,o);return"set"==t?this:i}return n.call(this,e,o)})}))},function(t,e,n){"use strict";var r=n(42),o=n(30).getWeak,i=n(1),a=n(3),s=n(41),u=n(49),c=n(20),l=n(9),f=n(43),p=c(5),h=c(6),d=0,y=function(t){return t._l||(t._l=new g)},g=function(){this.a=[]},v=function(t,e){return p(t.a,function(t){return t[0]===e})};g.prototype={get:function(t){var e=v(this,t);if(e)return e[1]},has:function(t){return!!v(this,t)},set:function(t,e){var n=v(this,t);n?n[1]=e:this.a.push([t,e])},delete:function(t){var e=h(this.a,function(e){return e[0]===t});return~e&&this.a.splice(e,1),!!~e}},t.exports={getConstructor:function(t,e,n,i){var c=t(function(t,r){s(t,c,e,"_i"),t._t=e,t._i=d++,t._l=void 0,void 0!=r&&u(r,n,t[i],t)});return r(c.prototype,{delete:function(t){if(!a(t))return!1;var n=o(t);return!0===n?y(f(this,e)).delete(t):n&&l(n,this._i)&&delete n[this._i]},has:function(t){if(!a(t))return!1;var n=o(t);return!0===n?y(f(this,e)).has(t):n&&l(n,this._i)}}),c},def:function(t,e,n){var r=o(i(e),!0);return!0===r?y(t).set(e,n):r[t._i]=n,t},ufstore:y}},function(t,e,n){var r=n(24),o=n(8);t.exports=function(t){if(void 0===t)return 0;var e=r(t),n=o(e);if(e!==n)throw RangeError("Wrong length!");return n}},function(t,e,n){"use strict";function r(t){return"function"==typeof t}e.isFunction=r},function(t,e,n){"use strict";e.isArray=Array.isArray||function(t){return t&&"number"==typeof t.length}},function(t,e,n){"use strict";function r(t){return null!=t&&"object"==typeof t}e.isObject=r},function(t,e,n){"use strict";e.errorObject={e:{}}},function(t,e,n){"use strict";e.empty={closed:!0,next:function(t){},error:function(t){throw t},complete:function(){}}},function(t,e,n){"use strict";function r(t){var e,n=t.Symbol;return"function"==typeof n?n.observable?e=n.observable:(e=n("observable"),n.observable=e):e="@@observable",e}var o=n(44);e.getSymbolObservable=r,e.observable=r(o.root),e.$$observable=e.observable},function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n(21),i=function(t){function e(e){t.call(this),this.scheduler=e}return r(e,t),e.create=function(t){return new e(t)},e.dispatch=function(t){t.subscriber.complete()},e.prototype._subscribe=function(t){var n=this.scheduler;if(n)return n.schedule(e.dispatch,0,{subscriber:t});t.complete()},e}(o.Observable);e.EmptyObservable=i},function(t,e,n){"use strict";function r(t){return t&&"function"==typeof t.schedule}e.isScheduler=r},function(t,e,n){"use strict";function r(t,e,n,r){var p=new l.InnerSubscriber(t,n,r);if(p.closed)return null;if(e instanceof u.Observable)return e._isScalar?(p.next(e.value),p.complete(),null):(p.syncErrorThrowable=!0,e.subscribe(p));if(i.isArrayLike(e)){for(var h=0,d=e.length;h1)return void(this.connection=null);var n=this.connection,r=t._connection;this.connection=null,!r||n&&r!==n||r.unsubscribe()},e}(i.Subscriber)},function(t,e){function n(t){return Promise.resolve().then(function(){throw new Error("Cannot find module '"+t+"'.")})}n.keys=function(){return[]},n.resolve=n,t.exports=n,n.id=132},function(t,e,n){"use strict";function r(t){return null==t||0===t.length}function o(t){return null!=t}function i(t){var e=Object(z._12)(t)?Object(B.fromPromise)(t):t;if(!Object(z._11)(e))throw new Error("Expected validator to return Promise or Observable.");return e}function a(t,e){return e.map(function(e){return e(t)})}function s(t,e){return e.map(function(e){return e(t)})}function u(t){var e=t.reduce(function(t,e){return null!=e?Object(L.a)({},t,e):t},{});return 0===Object.keys(e).length?null:e}function c(){return/android (\d+)/.test((Object(G.r)()?Object(G.r)().getUserAgent():"").toLowerCase())}function l(t){return t.validate?function(e){return t.validate(e)}:t}function f(t){return t.validate?function(e){return t.validate(e)}:t}function p(){throw new Error("unimplemented")}function h(t,e){return null==t?""+e:(e&&"object"==typeof e&&(e="Object"),(t+": "+e).slice(0,50))}function d(t){return t.split(":")[0]}function y(t,e){return null==t?""+e:("string"==typeof e&&(e="'"+e+"'"),e&&"object"==typeof e&&(e="Object"),(t+": "+e).slice(0,50))}function g(t){return t.split(":")[0]}function v(t,e){return e.path.concat([t])}function m(t,e){t||x(e,"Cannot find control with"),e.valueAccessor||x(e,"No value accessor for form control with"),t.validator=Q.compose([t.validator,e.validator]),t.asyncValidator=Q.composeAsync([t.asyncValidator,e.asyncValidator]),e.valueAccessor.writeValue(t.value),_(t,e),O(t,e),w(t,e),e.valueAccessor.setDisabledState&&t.registerOnDisabledChange(function(t){e.valueAccessor.setDisabledState(t)}),e._rawValidators.forEach(function(e){e.registerOnValidatorChange&&e.registerOnValidatorChange(function(){return t.updateValueAndValidity()})}),e._rawAsyncValidators.forEach(function(e){e.registerOnValidatorChange&&e.registerOnValidatorChange(function(){return t.updateValueAndValidity()})})}function b(t,e){e.valueAccessor.registerOnChange(function(){return k(e)}),e.valueAccessor.registerOnTouched(function(){return k(e)}),e._rawValidators.forEach(function(t){t.registerOnValidatorChange&&t.registerOnValidatorChange(null)}),e._rawAsyncValidators.forEach(function(t){t.registerOnValidatorChange&&t.registerOnValidatorChange(null)}),t&&t._clearChangeFns()}function _(t,e){e.valueAccessor.registerOnChange(function(n){t._pendingValue=n,t._pendingChange=!0,t._pendingDirty=!0,"change"===t.updateOn&&C(t,e)})}function w(t,e){e.valueAccessor.registerOnTouched(function(){t._pendingTouched=!0,"blur"===t.updateOn&&t._pendingChange&&C(t,e),"submit"!==t.updateOn&&t.markAsTouched()})}function C(t,e){e.viewToModelUpdate(t._pendingValue),t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),t._pendingChange=!1}function O(t,e){t.registerOnChange(function(t,n){e.valueAccessor.writeValue(t),n&&e.viewToModelUpdate(t)})}function E(t,e){null==t&&x(e,"Cannot find control with"),t.validator=Q.compose([t.validator,e.validator]),t.asyncValidator=Q.composeAsync([t.asyncValidator,e.asyncValidator])}function k(t){return x(t,"There is no FormControl instance attached to form control element with")}function x(t,e){var n;throw n=t.path.length>1?"path: '"+t.path.join(" -> ")+"'":t.path[0]?"name: '"+t.path+"'":"unspecified name attribute",new Error(e+" "+n)}function S(t){return null!=t?Q.compose(t.map(l)):null}function P(t){return null!=t?Q.composeAsync(t.map(f)):null}function T(t,e){if(!t.hasOwnProperty("model"))return!1;var n=t.model;return!!n.isFirstChange()||!Object(z._15)(e,n.currentValue)}function M(t){return vt.some(function(e){return t.constructor===e})}function j(t,e){t._syncPendingControls(),e.forEach(function(t){var e=t.control;"submit"===e.updateOn&&e._pendingChange&&(t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1)})}function A(t,e){if(!e)return null;var n=void 0,r=void 0,o=void 0;return e.forEach(function(e){e.constructor===nt?n=e:M(e)?(r&&x(t,"More than one built-in value accessor matches form control with"),r=e):(o&&x(t,"More than one custom value accessor matches form control with"),o=e)}),o||(r||(n||(x(t,"No valid value accessor for form control with"),null)))}function N(t,e){var n=t.indexOf(e);n>-1&&t.splice(n,1)}function D(t,e,n){return null==e?null:(e instanceof Array||(e=e.split(n)),e instanceof Array&&0===e.length?null:e.reduce(function(t,e){return t instanceof kt?t.controls[e]||null:t instanceof xt?t.at(e)||null:null},t))}function I(t){var e=F(t)?t.validators:t;return Array.isArray(e)?S(e):e||null}function V(t,e){var n=F(e)?e.asyncValidators:t;return Array.isArray(n)?P(n):n||null}function F(t){return null!=t&&!Array.isArray(t)&&"object"==typeof t}function R(t){return!(t instanceof Ut||t instanceof Ht||t instanceof Zt)}n.d(e,"a",function(){return pe}),n.d(e,"b",function(){return fe}),n.d(e,"c",function(){return st});var L=n(61),z=n(15),H=n(316),B=(n.n(H),n(318)),U=(n.n(B),n(320)),G=(n.n(U),n(59)),Z=function(){function t(){}return Object.defineProperty(t.prototype,"value",{get:function(){return this.control?this.control.value:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"valid",{get:function(){return this.control?this.control.valid:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"invalid",{get:function(){return this.control?this.control.invalid:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pending",{get:function(){return this.control?this.control.pending:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"disabled",{get:function(){return this.control?this.control.disabled:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"enabled",{get:function(){return this.control?this.control.enabled:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"errors",{get:function(){return this.control?this.control.errors:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pristine",{get:function(){return this.control?this.control.pristine:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"dirty",{get:function(){return this.control?this.control.dirty:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"touched",{get:function(){return this.control?this.control.touched:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"status",{get:function(){return this.control?this.control.status:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"untouched",{get:function(){return this.control?this.control.untouched:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"statusChanges",{get:function(){return this.control?this.control.statusChanges:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"valueChanges",{get:function(){return this.control?this.control.valueChanges:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"path",{get:function(){return null},enumerable:!0,configurable:!0}),t.prototype.reset=function(t){void 0===t&&(t=void 0),this.control&&this.control.reset(t)},t.prototype.hasError=function(t,e){return!!this.control&&this.control.hasError(t,e)},t.prototype.getError=function(t,e){return this.control?this.control.getError(t,e):null},t}(),W=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(L.b)(e,t),Object.defineProperty(e.prototype,"formDirective",{get:function(){return null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"path",{get:function(){return null},enumerable:!0,configurable:!0}),e}(Z),q=new z.r("NgValidators"),$=new z.r("NgAsyncValidators"),K=/^(?=.{1,254}$)(?=.{1,64}@)[-!#$%&'*+\/0-9=?A-Z^_`a-z{|}~]+(\.[-!#$%&'*+\/0-9=?A-Z^_`a-z{|}~]+)*@[A-Za-z0-9]([A-Za-z0-9-]{0,61}[A-Za-z0-9])?(\.[A-Za-z0-9]([A-Za-z0-9-]{0,61}[A-Za-z0-9])?)*$/,Q=function(){function t(){}return t.min=function(t){return function(e){if(r(e.value)||r(t))return null;var n=parseFloat(e.value);return!isNaN(n)&&nt?{max:{max:t,actual:e.value}}:null}},t.required=function(t){return r(t.value)?{required:!0}:null},t.requiredTrue=function(t){return!0===t.value?null:{required:!0}},t.email=function(t){return K.test(t.value)?null:{email:!0}},t.minLength=function(t){return function(e){if(r(e.value))return null;var n=e.value?e.value.length:0;return nt?{maxlength:{requiredLength:t,actualLength:n}}:null}},t.pattern=function(e){if(!e)return t.nullValidator;var n,o;return"string"==typeof e?(o="^"+e+"$",n=new RegExp(o)):(o=e.toString(),n=e),function(t){if(r(t.value))return null;var e=t.value;return n.test(e)?null:{pattern:{requiredPattern:o,actualValue:e}}}},t.nullValidator=function(t){return null},t.compose=function(t){if(!t)return null;var e=t.filter(o);return 0==e.length?null:function(t){return u(a(t,e))}},t.composeAsync=function(t){if(!t)return null;var e=t.filter(o);return 0==e.length?null:function(t){var n=s(t,e).map(i);return U.map.call(Object(H.forkJoin)(n),u)}},t}(),Y=new z.r("NgValueAccessor"),J={provide:Y,useExisting:Object(z.V)(function(){return X}),multi:!0},X=function(){function t(t,e){this._renderer=t,this._elementRef=e,this.onChange=function(t){},this.onTouched=function(){}}return t.prototype.writeValue=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"checked",t)},t.prototype.registerOnChange=function(t){this.onChange=t},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t.decorators=[{type:z.k,args:[{selector:"input[type=checkbox][formControlName],input[type=checkbox][formControl],input[type=checkbox][ngModel]",host:{"(change)":"onChange($event.target.checked)","(blur)":"onTouched()"},providers:[J]}]}],t.ctorParameters=function(){return[{type:z.G},{type:z.l}]},t}(),tt={provide:Y,useExisting:Object(z.V)(function(){return nt}),multi:!0},et=new z.r("CompositionEventMode"),nt=function(){function t(t,e,n){this._renderer=t,this._elementRef=e,this._compositionMode=n,this.onChange=function(t){},this.onTouched=function(){},this._composing=!1,null==this._compositionMode&&(this._compositionMode=!c())}return t.prototype.writeValue=function(t){var e=null==t?"":t;this._renderer.setProperty(this._elementRef.nativeElement,"value",e)},t.prototype.registerOnChange=function(t){this.onChange=t},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t.prototype._handleInput=function(t){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(t)},t.prototype._compositionStart=function(){this._composing=!0},t.prototype._compositionEnd=function(t){this._composing=!1,this._compositionMode&&this.onChange(t)},t.decorators=[{type:z.k,args:[{selector:"input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]",host:{"(input)":"_handleInput($event.target.value)","(blur)":"onTouched()","(compositionstart)":"_compositionStart()","(compositionend)":"_compositionEnd($event.target.value)"},providers:[tt]}]}],t.ctorParameters=function(){return[{type:z.G},{type:z.l},{type:void 0,decorators:[{type:z.B},{type:z.p,args:[et]}]}]},t}(),rt={provide:Y,useExisting:Object(z.V)(function(){return ot}),multi:!0},ot=function(){function t(t,e){this._renderer=t,this._elementRef=e,this.onChange=function(t){},this.onTouched=function(){}}return t.prototype.writeValue=function(t){var e=null==t?"":t;this._renderer.setProperty(this._elementRef.nativeElement,"value",e)},t.prototype.registerOnChange=function(t){this.onChange=function(e){t(""==e?null:parseFloat(e))}},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t.decorators=[{type:z.k,args:[{selector:"input[type=number][formControlName],input[type=number][formControl],input[type=number][ngModel]",host:{"(change)":"onChange($event.target.value)","(input)":"onChange($event.target.value)","(blur)":"onTouched()"},providers:[rt]}]}],t.ctorParameters=function(){return[{type:z.G},{type:z.l}]},t}(),it=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._parent=null,e.name=null,e.valueAccessor=null,e._rawValidators=[],e._rawAsyncValidators=[],e}return Object(L.b)(e,t),Object.defineProperty(e.prototype,"validator",{get:function(){return p()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"asyncValidator",{get:function(){return p()},enumerable:!0,configurable:!0}),e}(Z),at={provide:Y,useExisting:Object(z.V)(function(){return ut}),multi:!0},st=function(){function t(){this._accessors=[]}return t.prototype.add=function(t,e){this._accessors.push([t,e])},t.prototype.remove=function(t){for(var e=this._accessors.length-1;e>=0;--e)if(this._accessors[e][1]===t)return void this._accessors.splice(e,1)},t.prototype.select=function(t){var e=this;this._accessors.forEach(function(n){e._isSameGroup(n,t)&&n[1]!==t&&n[1].fireUncheck(t.value)})},t.prototype._isSameGroup=function(t,e){return!!t[0].control&&(t[0]._parent===e._control._parent&&t[1].name===e.name)},t.decorators=[{type:z.q}],t.ctorParameters=function(){return[]},t}(),ut=function(){function t(t,e,n,r){this._renderer=t,this._elementRef=e,this._registry=n,this._injector=r,this.onChange=function(){},this.onTouched=function(){}}return t.prototype.ngOnInit=function(){this._control=this._injector.get(it),this._checkName(),this._registry.add(this._control,this)},t.prototype.ngOnDestroy=function(){this._registry.remove(this)},t.prototype.writeValue=function(t){this._state=t===this.value,this._renderer.setProperty(this._elementRef.nativeElement,"checked",this._state)},t.prototype.registerOnChange=function(t){var e=this;this._fn=t,this.onChange=function(){t(e.value),e._registry.select(e)}},t.prototype.fireUncheck=function(t){this.writeValue(t)},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t.prototype._checkName=function(){this.name&&this.formControlName&&this.name!==this.formControlName&&this._throwNameError(),!this.name&&this.formControlName&&(this.name=this.formControlName)},t.prototype._throwNameError=function(){throw new Error('\n If you define both a name and a formControlName attribute on your radio button, their values\n must match. Ex: \n ')},t.decorators=[{type:z.k,args:[{selector:"input[type=radio][formControlName],input[type=radio][formControl],input[type=radio][ngModel]",host:{"(change)":"onChange()","(blur)":"onTouched()"},providers:[at]}]}],t.ctorParameters=function(){return[{type:z.G},{type:z.l},{type:st},{type:z.s}]},t.propDecorators={name:[{type:z.t}],formControlName:[{type:z.t}],value:[{type:z.t}]},t}(),ct={provide:Y,useExisting:Object(z.V)(function(){return lt}),multi:!0},lt=function(){function t(t,e){this._renderer=t,this._elementRef=e,this.onChange=function(t){},this.onTouched=function(){}}return t.prototype.writeValue=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"value",parseFloat(t))},t.prototype.registerOnChange=function(t){this.onChange=function(e){t(""==e?null:parseFloat(e))}},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t.decorators=[{type:z.k,args:[{selector:"input[type=range][formControlName],input[type=range][formControl],input[type=range][ngModel]",host:{"(change)":"onChange($event.target.value)","(input)":"onChange($event.target.value)","(blur)":"onTouched()"},providers:[ct]}]}],t.ctorParameters=function(){return[{type:z.G},{type:z.l}]},t}(),ft={provide:Y,useExisting:Object(z.V)(function(){return pt}),multi:!0},pt=function(){function t(t,e){this._renderer=t,this._elementRef=e,this._optionMap=new Map,this._idCounter=0,this.onChange=function(t){},this.onTouched=function(){},this._compareWith=z._15}return Object.defineProperty(t.prototype,"compareWith",{set:function(t){if("function"!=typeof t)throw new Error("compareWith must be a function, but received "+JSON.stringify(t));this._compareWith=t},enumerable:!0,configurable:!0}),t.prototype.writeValue=function(t){this.value=t;var e=this._getOptionId(t);null==e&&this._renderer.setProperty(this._elementRef.nativeElement,"selectedIndex",-1);var n=h(e,t);this._renderer.setProperty(this._elementRef.nativeElement,"value",n)},t.prototype.registerOnChange=function(t){var e=this;this.onChange=function(n){e.value=e._getOptionValue(n),t(e.value)}},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t.prototype._registerOption=function(){return(this._idCounter++).toString()},t.prototype._getOptionId=function(t){for(var e=0,n=Array.from(this._optionMap.keys());e-1)}}else n=function(t,e){t._setSelected(!1)};this._optionMap.forEach(n)},t.prototype.registerOnChange=function(t){var e=this;this.onChange=function(n){var r=[];if(n.hasOwnProperty("selectedOptions"))for(var o=n.selectedOptions,i=0;i0||this.disabled},e.prototype._checkAllValuesPresent=function(t){this._forEachChild(function(e,n){if(void 0===t[n])throw new Error("Must supply a value for form control with name: '"+n+"'.")})},e}(Ot),xt=function(t){function e(e,n,r){var o=t.call(this,I(n),V(r,n))||this;return o.controls=e,o._initObservables(),o._setUpdateStrategy(n),o._setUpControls(),o.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),o}return Object(L.b)(e,t),e.prototype.at=function(t){return this.controls[t]},e.prototype.push=function(t){this.controls.push(t),this._registerControl(t),this.updateValueAndValidity(),this._onCollectionChange()},e.prototype.insert=function(t,e){this.controls.splice(t,0,e),this._registerControl(e),this.updateValueAndValidity(),this._onCollectionChange()},e.prototype.removeAt=function(t){this.controls[t]&&this.controls[t]._registerOnCollectionChange(function(){}),this.controls.splice(t,1),this.updateValueAndValidity(),this._onCollectionChange()},e.prototype.setControl=function(t,e){this.controls[t]&&this.controls[t]._registerOnCollectionChange(function(){}),this.controls.splice(t,1),e&&(this.controls.splice(t,0,e),this._registerControl(e)),this.updateValueAndValidity(),this._onCollectionChange()},Object.defineProperty(e.prototype,"length",{get:function(){return this.controls.length},enumerable:!0,configurable:!0}),e.prototype.setValue=function(t,e){var n=this;void 0===e&&(e={}),this._checkAllValuesPresent(t),t.forEach(function(t,r){n._throwIfControlMissing(r),n.at(r).setValue(t,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)},e.prototype.patchValue=function(t,e){var n=this;void 0===e&&(e={}),t.forEach(function(t,r){n.at(r)&&n.at(r).patchValue(t,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)},e.prototype.reset=function(t,e){void 0===t&&(t=[]),void 0===e&&(e={}),this._forEachChild(function(n,r){n.reset(t[r],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e),this._updatePristine(e),this._updateTouched(e)},e.prototype.getRawValue=function(){return this.controls.map(function(t){return t instanceof Et?t.value:t.getRawValue()})},e.prototype._syncPendingControls=function(){var t=this.controls.reduce(function(t,e){return!!e._syncPendingControls()||t},!1);return t&&this.updateValueAndValidity({onlySelf:!0}),t},e.prototype._throwIfControlMissing=function(t){if(!this.controls.length)throw new Error("\n There are no form controls registered with this array yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.at(t))throw new Error("Cannot find form control at index "+t)},e.prototype._forEachChild=function(t){this.controls.forEach(function(e,n){t(e,n)})},e.prototype._updateValue=function(){var t=this;this.value=this.controls.filter(function(e){return e.enabled||t.disabled}).map(function(t){return t.value})},e.prototype._anyControls=function(t){return this.controls.some(function(e){return e.enabled&&t(e)})},e.prototype._setUpControls=function(){var t=this;this._forEachChild(function(e){return t._registerControl(e)})},e.prototype._checkAllValuesPresent=function(t){this._forEachChild(function(e,n){if(void 0===t[n])throw new Error("Must supply a value for form control at index: "+n+".")})},e.prototype._allControlsDisabled=function(){for(var t=0,e=this.controls;t0||this.disabled},e.prototype._registerControl=function(t){t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)},e}(Ot),St={provide:W,useExisting:Object(z.V)(function(){return Tt})},Pt=Promise.resolve(null),Tt=function(t){function e(e,n){var r=t.call(this)||this;return r.submitted=!1,r._directives=[],r.ngSubmit=new z.n,r.form=new kt({},S(e),P(n)),r}return Object(L.b)(e,t),e.prototype.ngAfterViewInit=function(){this._setUpdateStrategy()},Object.defineProperty(e.prototype,"formDirective",{get:function(){return this},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"control",{get:function(){return this.form},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"path",{get:function(){return[]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"controls",{get:function(){return this.form.controls},enumerable:!0,configurable:!0}),e.prototype.addControl=function(t){var e=this;Pt.then(function(){var n=e._findContainer(t.path);t.control=n.registerControl(t.name,t.control),m(t.control,t),t.control.updateValueAndValidity({emitEvent:!1}),e._directives.push(t)})},e.prototype.getControl=function(t){return this.form.get(t.path)},e.prototype.removeControl=function(t){var e=this;Pt.then(function(){var n=e._findContainer(t.path);n&&n.removeControl(t.name),N(e._directives,t)})},e.prototype.addFormGroup=function(t){var e=this;Pt.then(function(){var n=e._findContainer(t.path),r=new kt({});E(r,t),n.registerControl(t.name,r),r.updateValueAndValidity({emitEvent:!1})})},e.prototype.removeFormGroup=function(t){var e=this;Pt.then(function(){var n=e._findContainer(t.path);n&&n.removeControl(t.name)})},e.prototype.getFormGroup=function(t){return this.form.get(t.path)},e.prototype.updateModel=function(t,e){var n=this;Pt.then(function(){n.form.get(t.path).setValue(e)})},e.prototype.setValue=function(t){this.control.setValue(t)},e.prototype.onSubmit=function(t){return this.submitted=!0,j(this.form,this._directives),this.ngSubmit.emit(t),!1},e.prototype.onReset=function(){this.resetForm()},e.prototype.resetForm=function(t){void 0===t&&(t=void 0),this.form.reset(t),this.submitted=!1},e.prototype._setUpdateStrategy=function(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)},e.prototype._findContainer=function(t){return t.pop(),t.length?this.form.get(t):this.form},e.decorators=[{type:z.k,args:[{selector:"form:not([ngNoForm]):not([formGroup]),ngForm,[ngForm]",providers:[St],host:{"(submit)":"onSubmit($event)","(reset)":"onReset()"},outputs:["ngSubmit"],exportAs:"ngForm"}]}],e.ctorParameters=function(){return[{type:Array,decorators:[{type:z.B},{type:z.L},{type:z.p,args:[q]}]},{type:Array,decorators:[{type:z.B},{type:z.L},{type:z.p,args:[$]}]}]},e.propDecorators={options:[{type:z.t,args:["ngFormOptions"]}]},e}(W),Mt={formControlName:'\n
\n \n
\n\n In your class:\n\n this.myGroup = new FormGroup({\n firstName: new FormControl()\n });',formGroupName:'\n
\n
\n \n
\n
\n\n In your class:\n\n this.myGroup = new FormGroup({\n person: new FormGroup({ firstName: new FormControl() })\n });',formArrayName:'\n
\n
\n
\n \n
\n
\n
\n\n In your class:\n\n this.cityArray = new FormArray([new FormControl(\'SF\')]);\n this.myGroup = new FormGroup({\n cities: this.cityArray\n });',ngModelGroup:'\n
\n
\n \n
\n
',ngModelWithFormGroup:'\n
\n \n \n
\n '},jt=function(){function t(){}return t.modelParentException=function(){throw new Error('\n ngModel cannot be used to register form controls with a parent formGroup directive. Try using\n formGroup\'s partner directive "formControlName" instead. Example:\n\n '+Mt.formControlName+"\n\n Or, if you'd like to avoid registering this form control, indicate that it's standalone in ngModelOptions:\n\n Example:\n\n "+Mt.ngModelWithFormGroup)},t.formGroupNameException=function(){throw new Error("\n ngModel cannot be used to register form controls with a parent formGroupName or formArrayName directive.\n\n Option 1: Use formControlName instead of ngModel (reactive strategy):\n\n "+Mt.formGroupName+"\n\n Option 2: Update ngModel's parent be ngModelGroup (template-driven strategy):\n\n "+Mt.ngModelGroup)},t.missingNameException=function(){throw new Error('If ngModel is used within a form tag, either the name attribute must be set or the form\n control must be defined as \'standalone\' in ngModelOptions.\n\n Example 1: \n Example 2: ')},t.modelGroupParentException=function(){throw new Error("\n ngModelGroup cannot be used with a parent formGroup directive.\n\n Option 1: Use formGroupName instead of ngModelGroup (reactive strategy):\n\n "+Mt.formGroupName+"\n\n Option 2: Use a regular form tag instead of the formGroup directive (template-driven strategy):\n\n "+Mt.ngModelGroup)},t}(),At={provide:W,useExisting:Object(z.V)(function(){return Nt})},Nt=function(t){function e(e,n,r){var o=t.call(this)||this;return o._parent=e,o._validators=n,o._asyncValidators=r,o}return Object(L.b)(e,t),e.prototype._checkParentType=function(){this._parent instanceof e||this._parent instanceof Tt||jt.modelGroupParentException()},e.decorators=[{type:z.k,args:[{selector:"[ngModelGroup]",providers:[At],exportAs:"ngModelGroup"}]}],e.ctorParameters=function(){return[{type:W,decorators:[{type:z.o},{type:z.M}]},{type:Array,decorators:[{type:z.B},{type:z.L},{type:z.p,args:[q]}]},{type:Array,decorators:[{type:z.B},{type:z.L},{type:z.p,args:[$]}]}]},e.propDecorators={name:[{type:z.t,args:["ngModelGroup"]}]},e}(mt),Dt={provide:it,useExisting:Object(z.V)(function(){return Vt})},It=Promise.resolve(null),Vt=function(t){function e(e,n,r,o){var i=t.call(this)||this;return i.control=new Et,i._registered=!1,i.update=new z.n,i._parent=e,i._rawValidators=n||[],i._rawAsyncValidators=r||[],i.valueAccessor=A(i,o),i}return Object(L.b)(e,t),e.prototype.ngOnChanges=function(t){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in t&&this._updateDisabled(t),T(t,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)},e.prototype.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeControl(this)},Object.defineProperty(e.prototype,"path",{get:function(){return this._parent?v(this.name,this._parent):[this.name]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"formDirective",{get:function(){return this._parent?this._parent.formDirective:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"validator",{get:function(){return S(this._rawValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"asyncValidator",{get:function(){return P(this._rawAsyncValidators)},enumerable:!0,configurable:!0}),e.prototype.viewToModelUpdate=function(t){this.viewModel=t,this.update.emit(t)},e.prototype._setUpControl=function(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0},e.prototype._setUpdateStrategy=function(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)},e.prototype._isStandalone=function(){return!this._parent||!(!this.options||!this.options.standalone)},e.prototype._setUpStandalone=function(){m(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})},e.prototype._checkForErrors=function(){this._isStandalone()||this._checkParentType(),this._checkName()},e.prototype._checkParentType=function(){!(this._parent instanceof Nt)&&this._parent instanceof mt?jt.formGroupNameException():this._parent instanceof Nt||this._parent instanceof Tt||jt.modelParentException()},e.prototype._checkName=function(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()||this.name||jt.missingNameException()},e.prototype._updateValue=function(t){var e=this;It.then(function(){e.control.setValue(t,{emitViewToModelChange:!1})})},e.prototype._updateDisabled=function(t){var e=this,n=t.isDisabled.currentValue,r=""===n||n&&"false"!==n;It.then(function(){r&&!e.control.disabled?e.control.disable():!r&&e.control.disabled&&e.control.enable()})},e.decorators=[{type:z.k,args:[{selector:"[ngModel]:not([formControlName]):not([formControl])",providers:[Dt],exportAs:"ngModel"}]}],e.ctorParameters=function(){return[{type:W,decorators:[{type:z.B},{type:z.o}]},{type:Array,decorators:[{type:z.B},{type:z.L},{type:z.p,args:[q]}]},{type:Array,decorators:[{type:z.B},{type:z.L},{type:z.p,args:[$]}]},{type:Array,decorators:[{type:z.B},{type:z.L},{type:z.p,args:[Y]}]}]},e.propDecorators={name:[{type:z.t}],isDisabled:[{type:z.t,args:["disabled"]}],model:[{type:z.t,args:["ngModel"]}],options:[{type:z.t,args:["ngModelOptions"]}],update:[{type:z.C,args:["ngModelChange"]}]},e}(it),Ft=function(){function t(){}return t.controlParentException=function(){throw new Error("formControlName must be used with a parent formGroup directive. You'll want to add a formGroup\n directive and pass it an existing FormGroup instance (you can create one in your class).\n\n Example:\n\n "+Mt.formControlName)},t.ngModelGroupException=function(){throw new Error('formControlName cannot be used with an ngModelGroup parent. It is only compatible with parents\n that also have a "form" prefix: formGroupName, formArrayName, or formGroup.\n\n Option 1: Update the parent to be formGroupName (reactive form strategy)\n\n '+Mt.formGroupName+"\n\n Option 2: Use ngModel instead of formControlName (template-driven strategy)\n\n "+Mt.ngModelGroup)},t.missingFormException=function(){throw new Error("formGroup expects a FormGroup instance. Please pass one in.\n\n Example:\n\n "+Mt.formControlName)},t.groupParentException=function(){throw new Error("formGroupName must be used with a parent formGroup directive. You'll want to add a formGroup\n directive and pass it an existing FormGroup instance (you can create one in your class).\n\n Example:\n\n "+Mt.formGroupName)},t.arrayParentException=function(){throw new Error("formArrayName must be used with a parent formGroup directive. You'll want to add a formGroup\n directive and pass it an existing FormGroup instance (you can create one in your class).\n\n Example:\n\n "+Mt.formArrayName)},t.disabledAttrWarning=function(){console.warn("\n It looks like you're using the disabled attribute with a reactive form directive. If you set disabled to true\n when you set up this control in your component class, the disabled attribute will actually be set in the DOM for\n you. We recommend using this approach to avoid 'changed after checked' errors.\n \n Example: \n form = new FormGroup({\n first: new FormControl({value: 'Nancy', disabled: true}, Validators.required),\n last: new FormControl('Drew', Validators.required)\n });\n ")},t}(),Rt={provide:it,useExisting:Object(z.V)(function(){return Lt})},Lt=function(t){function e(e,n,r){var o=t.call(this)||this;return o.update=new z.n,o._rawValidators=e||[],o._rawAsyncValidators=n||[],o.valueAccessor=A(o,r),o}return Object(L.b)(e,t),Object.defineProperty(e.prototype,"isDisabled",{set:function(t){Ft.disabledAttrWarning()},enumerable:!0,configurable:!0}),e.prototype.ngOnChanges=function(t){this._isControlChanged(t)&&(m(this.form,this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this.form.updateValueAndValidity({emitEvent:!1})),T(t,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)},Object.defineProperty(e.prototype,"path",{get:function(){return[]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"validator",{get:function(){return S(this._rawValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"asyncValidator",{get:function(){return P(this._rawAsyncValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"control",{get:function(){return this.form},enumerable:!0,configurable:!0}),e.prototype.viewToModelUpdate=function(t){this.viewModel=t,this.update.emit(t)},e.prototype._isControlChanged=function(t){return t.hasOwnProperty("form")},e.decorators=[{type:z.k,args:[{selector:"[formControl]",providers:[Rt],exportAs:"ngForm"}]}],e.ctorParameters=function(){return[{type:Array,decorators:[{type:z.B},{type:z.L},{type:z.p,args:[q]}]},{type:Array,decorators:[{type:z.B},{type:z.L},{type:z.p,args:[$]}]},{type:Array,decorators:[{type:z.B},{type:z.L},{type:z.p,args:[Y]}]}]},e.propDecorators={form:[{type:z.t,args:["formControl"]}],model:[{type:z.t,args:["ngModel"]}],update:[{type:z.C,args:["ngModelChange"]}],isDisabled:[{type:z.t,args:["disabled"]}]},e}(it),zt={provide:W,useExisting:Object(z.V)(function(){return Ht})},Ht=function(t){function e(e,n){var r=t.call(this)||this;return r._validators=e,r._asyncValidators=n,r.submitted=!1,r.directives=[],r.form=null,r.ngSubmit=new z.n,r}return Object(L.b)(e,t),e.prototype.ngOnChanges=function(t){this._checkFormPresent(),t.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations())},Object.defineProperty(e.prototype,"formDirective",{get:function(){return this},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"control",{get:function(){return this.form},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"path",{get:function(){return[]},enumerable:!0,configurable:!0}),e.prototype.addControl=function(t){var e=this.form.get(t.path);return m(e,t),e.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),e},e.prototype.getControl=function(t){return this.form.get(t.path)},e.prototype.removeControl=function(t){N(this.directives,t)},e.prototype.addFormGroup=function(t){var e=this.form.get(t.path);E(e,t),e.updateValueAndValidity({emitEvent:!1})},e.prototype.removeFormGroup=function(t){},e.prototype.getFormGroup=function(t){return this.form.get(t.path)},e.prototype.addFormArray=function(t){var e=this.form.get(t.path);E(e,t),e.updateValueAndValidity({emitEvent:!1})},e.prototype.removeFormArray=function(t){},e.prototype.getFormArray=function(t){return this.form.get(t.path)},e.prototype.updateModel=function(t,e){this.form.get(t.path).setValue(e)},e.prototype.onSubmit=function(t){return this.submitted=!0,j(this.form,this.directives),this.ngSubmit.emit(t),!1},e.prototype.onReset=function(){this.resetForm()},e.prototype.resetForm=function(t){void 0===t&&(t=void 0),this.form.reset(t),this.submitted=!1},e.prototype._updateDomValue=function(){var t=this;this.directives.forEach(function(e){var n=t.form.get(e.path);e.control!==n&&(b(e.control,e),n&&m(n,e),e.control=n)}),this.form._updateTreeValidity({emitEvent:!1})},e.prototype._updateRegistrations=function(){var t=this;this.form._registerOnCollectionChange(function(){return t._updateDomValue()}),this._oldForm&&this._oldForm._registerOnCollectionChange(function(){}),this._oldForm=this.form},e.prototype._updateValidators=function(){var t=S(this._validators);this.form.validator=Q.compose([this.form.validator,t]);var e=P(this._asyncValidators);this.form.asyncValidator=Q.composeAsync([this.form.asyncValidator,e])},e.prototype._checkFormPresent=function(){this.form||Ft.missingFormException()},e.decorators=[{type:z.k,args:[{selector:"[formGroup]",providers:[zt],host:{"(submit)":"onSubmit($event)","(reset)":"onReset()"},exportAs:"ngForm"}]}],e.ctorParameters=function(){return[{type:Array,decorators:[{type:z.B},{type:z.L},{type:z.p,args:[q]}]},{type:Array,decorators:[{type:z.B},{type:z.L},{type:z.p,args:[$]}]}]},e.propDecorators={form:[{type:z.t,args:["formGroup"]}],ngSubmit:[{type:z.C}]},e}(W),Bt={provide:W,useExisting:Object(z.V)(function(){return Ut})},Ut=function(t){function e(e,n,r){var o=t.call(this)||this;return o._parent=e,o._validators=n,o._asyncValidators=r,o}return Object(L.b)(e,t),e.prototype._checkParentType=function(){R(this._parent)&&Ft.groupParentException()},e.decorators=[{type:z.k,args:[{selector:"[formGroupName]",providers:[Bt]}]}],e.ctorParameters=function(){return[{type:W,decorators:[{type:z.B},{type:z.o},{type:z.M}]},{type:Array,decorators:[{type:z.B},{type:z.L},{type:z.p,args:[q]}]},{type:Array,decorators:[{type:z.B},{type:z.L},{type:z.p,args:[$]}]}]},e.propDecorators={name:[{type:z.t,args:["formGroupName"]}]},e}(mt),Gt={provide:W,useExisting:Object(z.V)(function(){return Zt})},Zt=function(t){function e(e,n,r){var o=t.call(this)||this;return o._parent=e,o._validators=n,o._asyncValidators=r,o}return Object(L.b)(e,t),e.prototype.ngOnInit=function(){this._checkParentType(),this.formDirective.addFormArray(this)},e.prototype.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeFormArray(this)},Object.defineProperty(e.prototype,"control",{get:function(){return this.formDirective.getFormArray(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"formDirective",{get:function(){return this._parent?this._parent.formDirective:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"path",{get:function(){return v(this.name,this._parent)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"validator",{get:function(){return S(this._validators)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"asyncValidator",{get:function(){return P(this._asyncValidators)},enumerable:!0,configurable:!0}),e.prototype._checkParentType=function(){R(this._parent)&&Ft.arrayParentException()},e.decorators=[{type:z.k,args:[{selector:"[formArrayName]",providers:[Gt]}]}],e.ctorParameters=function(){return[{type:W,decorators:[{type:z.B},{type:z.o},{type:z.M}]},{type:Array,decorators:[{type:z.B},{type:z.L},{type:z.p,args:[q]}]},{type:Array,decorators:[{type:z.B},{type:z.L},{type:z.p,args:[$]}]}]},e.propDecorators={name:[{type:z.t,args:["formArrayName"]}]},e}(W),Wt={provide:it,useExisting:Object(z.V)(function(){return qt})},qt=function(t){function e(e,n,r,o){var i=t.call(this)||this;return i._added=!1,i.update=new z.n,i._parent=e,i._rawValidators=n||[],i._rawAsyncValidators=r||[],i.valueAccessor=A(i,o),i}return Object(L.b)(e,t),Object.defineProperty(e.prototype,"isDisabled",{set:function(t){Ft.disabledAttrWarning()},enumerable:!0,configurable:!0}),e.prototype.ngOnChanges=function(t){this._added||this._setUpControl(),T(t,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))},e.prototype.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeControl(this)},e.prototype.viewToModelUpdate=function(t){this.viewModel=t,this.update.emit(t)},Object.defineProperty(e.prototype,"path",{get:function(){return v(this.name,this._parent)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"formDirective",{get:function(){return this._parent?this._parent.formDirective:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"validator",{get:function(){return S(this._rawValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"asyncValidator",{get:function(){return P(this._rawAsyncValidators)},enumerable:!0,configurable:!0}),e.prototype._checkParentType=function(){!(this._parent instanceof Ut)&&this._parent instanceof mt?Ft.ngModelGroupException():this._parent instanceof Ut||this._parent instanceof Ht||this._parent instanceof Zt||Ft.controlParentException()},e.prototype._setUpControl=function(){this._checkParentType(),this.control=this.formDirective.addControl(this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this._added=!0},e.decorators=[{type:z.k,args:[{selector:"[formControlName]",providers:[Wt]}]}],e.ctorParameters=function(){return[{type:W,decorators:[{type:z.B},{type:z.o},{type:z.M}]},{type:Array,decorators:[{type:z.B},{type:z.L},{type:z.p,args:[q]}]},{type:Array,decorators:[{type:z.B},{type:z.L},{type:z.p,args:[$]}]},{type:Array,decorators:[{type:z.B},{type:z.L},{type:z.p,args:[Y]}]}]},e.propDecorators={name:[{type:z.t,args:["formControlName"]}],model:[{type:z.t,args:["ngModel"]}],update:[{type:z.C,args:["ngModelChange"]}],isDisabled:[{type:z.t,args:["disabled"]}]},e}(it),$t={provide:q,useExisting:Object(z.V)(function(){return Qt}),multi:!0},Kt={provide:q,useExisting:Object(z.V)(function(){return Yt}),multi:!0},Qt=function(){function t(){}return Object.defineProperty(t.prototype,"required",{get:function(){return this._required},set:function(t){this._required=null!=t&&!1!==t&&""+t!="false",this._onChange&&this._onChange()},enumerable:!0,configurable:!0}),t.prototype.validate=function(t){return this.required?Q.required(t):null},t.prototype.registerOnValidatorChange=function(t){this._onChange=t},t.decorators=[{type:z.k,args:[{selector:":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]",providers:[$t],host:{"[attr.required]":'required ? "" : null'}}]}],t.ctorParameters=function(){return[]},t.propDecorators={required:[{type:z.t}]},t}(),Yt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(L.b)(e,t),e.prototype.validate=function(t){return this.required?Q.requiredTrue(t):null},e.decorators=[{type:z.k,args:[{selector:"input[type=checkbox][required][formControlName],input[type=checkbox][required][formControl],input[type=checkbox][required][ngModel]",providers:[Kt],host:{"[attr.required]":'required ? "" : null'}}]}],e.ctorParameters=function(){return[]},e}(Qt),Jt={provide:q,useExisting:Object(z.V)(function(){return Xt}),multi:!0},Xt=function(){function t(){}return Object.defineProperty(t.prototype,"email",{set:function(t){this._enabled=""===t||!0===t||"true"===t,this._onChange&&this._onChange()},enumerable:!0,configurable:!0}),t.prototype.validate=function(t){return this._enabled?Q.email(t):null},t.prototype.registerOnValidatorChange=function(t){this._onChange=t},t.decorators=[{type:z.k,args:[{selector:"[email][formControlName],[email][formControl],[email][ngModel]",providers:[Jt]}]}],t.ctorParameters=function(){return[]},t.propDecorators={email:[{type:z.t}]},t}(),te={provide:q,useExisting:Object(z.V)(function(){return ee}),multi:!0},ee=function(){function t(){}return t.prototype.ngOnChanges=function(t){"minlength"in t&&(this._createValidator(),this._onChange&&this._onChange())},t.prototype.validate=function(t){return null==this.minlength?null:this._validator(t)},t.prototype.registerOnValidatorChange=function(t){this._onChange=t},t.prototype._createValidator=function(){this._validator=Q.minLength(parseInt(this.minlength,10))},t.decorators=[{type:z.k,args:[{selector:"[minlength][formControlName],[minlength][formControl],[minlength][ngModel]",providers:[te],host:{"[attr.minlength]":"minlength ? minlength : null"}}]}],t.ctorParameters=function(){return[]},t.propDecorators={minlength:[{type:z.t}]},t}(),ne={provide:q,useExisting:Object(z.V)(function(){return re}),multi:!0},re=function(){function t(){}return t.prototype.ngOnChanges=function(t){"maxlength"in t&&(this._createValidator(),this._onChange&&this._onChange())},t.prototype.validate=function(t){return null!=this.maxlength?this._validator(t):null},t.prototype.registerOnValidatorChange=function(t){this._onChange=t},t.prototype._createValidator=function(){this._validator=Q.maxLength(parseInt(this.maxlength,10))},t.decorators=[{type:z.k,args:[{selector:"[maxlength][formControlName],[maxlength][formControl],[maxlength][ngModel]",providers:[ne],host:{"[attr.maxlength]":"maxlength ? maxlength : null"}}]}],t.ctorParameters=function(){return[]},t.propDecorators={maxlength:[{type:z.t}]},t}(),oe={provide:q,useExisting:Object(z.V)(function(){return ie}),multi:!0},ie=function(){function t(){}return t.prototype.ngOnChanges=function(t){"pattern"in t&&(this._createValidator(),this._onChange&&this._onChange())},t.prototype.validate=function(t){return this._validator(t)},t.prototype.registerOnValidatorChange=function(t){this._onChange=t},t.prototype._createValidator=function(){this._validator=Q.pattern(this.pattern)},t.decorators=[{type:z.k,args:[{selector:"[pattern][formControlName],[pattern][formControl],[pattern][ngModel]",providers:[oe],host:{"[attr.pattern]":"pattern ? pattern : null"}}]}],t.ctorParameters=function(){return[]},t.propDecorators={pattern:[{type:z.t}]},t}(),ae=function(){function t(){}return t.prototype.group=function(t,e){void 0===e&&(e=null);var n=this._reduceControls(t),r=null!=e?e.validator:null,o=null!=e?e.asyncValidator:null;return new kt(n,r,o)},t.prototype.control=function(t,e,n){return new Et(t,e,n)},t.prototype.array=function(t,e,n){var r=this,o=t.map(function(t){return r._createControl(t)});return new xt(o,e,n)},t.prototype._reduceControls=function(t){var e=this,n={};return Object.keys(t).forEach(function(r){n[r]=e._createControl(t[r])}),n},t.prototype._createControl=function(t){if(t instanceof Et||t instanceof kt||t instanceof xt)return t;if(Array.isArray(t)){var e=t[0],n=t.length>1?t[1]:null,r=t.length>2?t[2]:null;return this.control(e,n,r)}return this.control(t)},t.decorators=[{type:z.q}],t.ctorParameters=function(){return[]},t}(),se=(new z.P("5.1.3"),function(){function t(){}return t.decorators=[{type:z.k,args:[{selector:"form:not([ngNoForm]):not([ngNativeValidate])",host:{novalidate:""}}]}],t.ctorParameters=function(){return[]},t}()),ue=[se,ht,gt,nt,ot,lt,X,pt,yt,ut,wt,Ct,Qt,ee,re,ie,Yt,Xt],ce=[Vt,Nt,Tt],le=[Lt,Ht,qt,Ut,Zt],fe=function(){function t(){}return t.decorators=[{type:z.x,args:[{declarations:ue,exports:ue}]}],t.ctorParameters=function(){return[]},t}(),pe=function(){function t(){}return t.decorators=[{type:z.x,args:[{declarations:ce,providers:[st],exports:[fe,ce]}]}],t.ctorParameters=function(){return[]},t}();!function(){function t(){}t.decorators=[{type:z.x,args:[{declarations:[le],providers:[ae,st],exports:[fe,le]}]}],t.ctorParameters=function(){return[]}}()},function(t,e,n){"use strict";n.d(e,"a",function(){return a});var r=n(15),o=n(60),i=n(63),a=(n(88),function(){function t(){}return t.decorators=[{type:r.x,args:[{declarations:[i.b,i.a],imports:[o.a],exports:[i.b,i.a]}]}],t.ctorParameters=function(){return[]},t}())},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(136),o=(n.n(r),n(281)),i=(n.n(o),n(292)),a=(n.n(i),n(59)),s=n(15),u=n(314);Object(s.U)(),Object(a.i)().bootstrapModuleFactory(u.a)},function(t,e,n){n(137),n(140),n(141),n(142),n(143),n(144),n(145),n(146),n(147),n(148),n(149),n(150),n(151),n(152),n(153),n(154),n(156),n(157),n(158),n(159),n(160),n(161),n(162),n(163),n(164),n(165),n(166),n(167),n(168),n(169),n(170),n(171),n(172),n(173),n(174),n(175),n(176),n(177),n(178),n(179),n(180),n(181),n(182),n(184),n(185),n(186),n(187),n(188),n(189),n(190),n(191),n(192),n(193),n(194),n(195),n(196),n(197),n(198),n(199),n(200),n(201),n(202),n(203),n(204),n(205),n(206),n(207),n(208),n(209),n(210),n(211),n(212),n(213),n(214),n(215),n(216),n(217),n(219),n(220),n(222),n(223),n(224),n(225),n(226),n(227),n(228),n(231),n(232),n(233),n(234),n(235),n(236),n(237),n(238),n(239),n(240),n(241),n(242),n(243),n(110),n(244),n(245),n(112),n(246),n(247),n(248),n(249),n(250),n(115),n(117),n(118),n(254),n(255),n(256),n(257),n(258),n(259),n(260),n(261),n(262),n(263),n(264),n(265),n(266),n(267),n(268),n(269),n(270),n(271),n(272),n(273),n(274),n(275),n(276),n(278),n(279),n(280),t.exports=n(28)},function(t,e,n){"use strict";var r=n(4),o=n(9),i=n(7),a=n(0),s=n(11),u=n(30).KEY,c=n(2),l=n(50),f=n(38),p=n(33),h=n(5),d=n(91),y=n(138),g=n(139),v=n(68),m=n(1),b=n(3),_=n(17),w=n(29),C=n(32),O=n(35),E=n(94),k=n(25),x=n(6),S=n(45),P=k.f,T=x.f,M=E.f,j=r.Symbol,A=r.JSON,N=A&&A.stringify,D=h("_hidden"),I=h("toPrimitive"),V={}.propertyIsEnumerable,F=l("symbol-registry"),R=l("symbols"),L=l("op-symbols"),z=Object.prototype,H="function"==typeof j,B=r.QObject,U=!B||!B.prototype||!B.prototype.findChild,G=i&&c(function(){return 7!=O(T({},"a",{get:function(){return T(this,"a",{value:7}).a}})).a})?function(t,e,n){var r=P(z,e);r&&delete z[e],T(t,e,n),r&&t!==z&&T(z,e,r)}:T,Z=function(t){var e=R[t]=O(j.prototype);return e._k=t,e},W=H&&"symbol"==typeof j.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof j},q=function(t,e,n){return t===z&&q(L,e,n),m(t),e=w(e,!0),m(n),o(R,e)?(n.enumerable?(o(t,D)&&t[D][e]&&(t[D][e]=!1),n=O(n,{enumerable:C(0,!1)})):(o(t,D)||T(t,D,C(1,{})),t[D][e]=!0),G(t,e,n)):T(t,e,n)},$=function(t,e){m(t);for(var n,r=g(e=_(e)),o=0,i=r.length;i>o;)q(t,n=r[o++],e[n]);return t},K=function(t,e){return void 0===e?O(t):$(O(t),e)},Q=function(t){var e=V.call(this,t=w(t,!0));return!(this===z&&o(R,t)&&!o(L,t))&&(!(e||!o(this,t)||!o(R,t)||o(this,D)&&this[D][t])||e)},Y=function(t,e){if(t=_(t),e=w(e,!0),t!==z||!o(R,e)||o(L,e)){var n=P(t,e);return!n||!o(R,e)||o(t,D)&&t[D][e]||(n.enumerable=!0),n}},J=function(t){for(var e,n=M(_(t)),r=[],i=0;n.length>i;)o(R,e=n[i++])||e==D||e==u||r.push(e);return r},X=function(t){for(var e,n=t===z,r=M(n?L:_(t)),i=[],a=0;r.length>a;)!o(R,e=r[a++])||n&&!o(z,e)||i.push(R[e]);return i};H||(j=function(){if(this instanceof j)throw TypeError("Symbol is not a constructor!");var t=p(arguments.length>0?arguments[0]:void 0),e=function(n){this===z&&e.call(L,n),o(this,D)&&o(this[D],t)&&(this[D][t]=!1),G(this,t,C(1,n))};return i&&U&&G(z,t,{configurable:!0,set:e}),Z(t)},s(j.prototype,"toString",function(){return this._k}),k.f=Y,x.f=q,n(36).f=E.f=J,n(52).f=Q,n(51).f=X,i&&!n(39)&&s(z,"propertyIsEnumerable",Q,!0),d.f=function(t){return Z(h(t))}),a(a.G+a.W+a.F*!H,{Symbol:j});for(var tt="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),et=0;tt.length>et;)h(tt[et++]);for(var nt=S(h.store),rt=0;nt.length>rt;)y(nt[rt++]);a(a.S+a.F*!H,"Symbol",{for:function(t){return o(F,t+="")?F[t]:F[t]=j(t)},keyFor:function(t){if(!W(t))throw TypeError(t+" is not a symbol!");for(var e in F)if(F[e]===t)return e},useSetter:function(){U=!0},useSimple:function(){U=!1}}),a(a.S+a.F*!H,"Object",{create:K,defineProperty:q,defineProperties:$,getOwnPropertyDescriptor:Y,getOwnPropertyNames:J,getOwnPropertySymbols:X}),A&&a(a.S+a.F*(!H||c(function(){var t=j();return"[null]"!=N([t])||"{}"!=N({a:t})||"{}"!=N(Object(t))})),"JSON",{stringify:function(t){for(var e,n,r=[t],o=1;arguments.length>o;)r.push(arguments[o++]);if(n=e=r[1],(b(e)||void 0!==t)&&!W(t))return v(e)||(e=function(t,e){if("function"==typeof n&&(e=n.call(this,t,e)),!W(e))return e}),r[1]=e,N.apply(A,r)}}),j.prototype[I]||n(13)(j.prototype,I,j.prototype.valueOf),f(j,"Symbol"),f(Math,"Math",!0),f(r.JSON,"JSON",!0)},function(t,e,n){var r=n(4),o=n(28),i=n(39),a=n(91),s=n(6).f;t.exports=function(t){var e=o.Symbol||(o.Symbol=i?{}:r.Symbol||{});"_"==t.charAt(0)||t in e||s(e,t,{value:a.f(t)})}},function(t,e,n){var r=n(45),o=n(51),i=n(52);t.exports=function(t){var e=r(t),n=o.f;if(n)for(var a,s=n(t),u=i.f,c=0;s.length>c;)u.call(t,a=s[c++])&&e.push(a);return e}},function(t,e,n){var r=n(0);r(r.S,"Object",{create:n(35)})},function(t,e,n){var r=n(0);r(r.S+r.F*!n(7),"Object",{defineProperty:n(6).f})},function(t,e,n){var r=n(0);r(r.S+r.F*!n(7),"Object",{defineProperties:n(93)})},function(t,e,n){var r=n(17),o=n(25).f;n(18)("getOwnPropertyDescriptor",function(){return function(t,e){return o(r(t),e)}})},function(t,e,n){var r=n(12),o=n(19);n(18)("getPrototypeOf",function(){return function(t){return o(r(t))}})},function(t,e,n){var r=n(12),o=n(45);n(18)("keys",function(){return function(t){return o(r(t))}})},function(t,e,n){n(18)("getOwnPropertyNames",function(){return n(94).f})},function(t,e,n){var r=n(3),o=n(30).onFreeze;n(18)("freeze",function(t){return function(e){return t&&r(e)?t(o(e)):e}})},function(t,e,n){var r=n(3),o=n(30).onFreeze;n(18)("seal",function(t){return function(e){return t&&r(e)?t(o(e)):e}})},function(t,e,n){var r=n(3),o=n(30).onFreeze;n(18)("preventExtensions",function(t){return function(e){return t&&r(e)?t(o(e)):e}})},function(t,e,n){var r=n(3);n(18)("isFrozen",function(t){return function(e){return!r(e)||!!t&&t(e)}})},function(t,e,n){var r=n(3);n(18)("isSealed",function(t){return function(e){return!r(e)||!!t&&t(e)}})},function(t,e,n){var r=n(3);n(18)("isExtensible",function(t){return function(e){return!!r(e)&&(!t||t(e))}})},function(t,e,n){var r=n(0);r(r.S+r.F,"Object",{assign:n(95)})},function(t,e,n){var r=n(0);r(r.S,"Object",{is:n(155)})},function(t,e){t.exports=Object.is||function(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}},function(t,e,n){var r=n(0);r(r.S,"Object",{setPrototypeOf:n(70).set})},function(t,e,n){"use strict";var r=n(53),o={};o[n(5)("toStringTag")]="z",o+""!="[object z]"&&n(11)(Object.prototype,"toString",function(){return"[object "+r(this)+"]"},!0)},function(t,e,n){var r=n(0);r(r.P,"Function",{bind:n(96)})},function(t,e,n){var r=n(6).f,o=Function.prototype,i=/^\s*function ([^ (]*)/;"name"in o||n(7)&&r(o,"name",{configurable:!0,get:function(){try{return(""+this).match(i)[1]}catch(t){return""}}})},function(t,e,n){"use strict";var r=n(3),o=n(19),i=n(5)("hasInstance"),a=Function.prototype;i in a||n(6).f(a,i,{value:function(t){if("function"!=typeof this||!r(t))return!1;if(!r(this.prototype))return t instanceof this;for(;t=o(t);)if(this.prototype===t)return!0;return!1}})},function(t,e,n){var r=n(0),o=n(98);r(r.G+r.F*(parseInt!=o),{parseInt:o})},function(t,e,n){var r=n(0),o=n(99);r(r.G+r.F*(parseFloat!=o),{parseFloat:o})},function(t,e,n){"use strict";var r=n(4),o=n(9),i=n(23),a=n(72),s=n(29),u=n(2),c=n(36).f,l=n(25).f,f=n(6).f,p=n(54).trim,h=r.Number,d=h,y=h.prototype,g="Number"==i(n(35)(y)),v="trim"in String.prototype,m=function(t){var e=s(t,!1);if("string"==typeof e&&e.length>2){e=v?e.trim():p(e,3);var n,r,o,i=e.charCodeAt(0);if(43===i||45===i){if(88===(n=e.charCodeAt(2))||120===n)return NaN}else if(48===i){switch(e.charCodeAt(1)){case 66:case 98:r=2,o=49;break;case 79:case 111:r=8,o=55;break;default:return+e}for(var a,u=e.slice(2),c=0,l=u.length;co)return NaN;return parseInt(u,r)}}return+e};if(!h(" 0o1")||!h("0b1")||h("+0x1")){h=function(t){var e=arguments.length<1?0:t,n=this;return n instanceof h&&(g?u(function(){y.valueOf.call(n)}):"Number"!=i(n))?a(new d(m(e)),n,h):m(e)};for(var b,_=n(7)?c(d):"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;_.length>w;w++)o(d,b=_[w])&&!o(h,b)&&f(h,b,l(d,b));h.prototype=y,y.constructor=h,n(11)(r,"Number",h)}},function(t,e,n){"use strict";var r=n(0),o=n(24),i=n(100),a=n(101),s=1..toFixed,u=Math.floor,c=[0,0,0,0,0,0],l="Number.toFixed: incorrect invocation!",f=function(t,e){for(var n=-1,r=e;++n<6;)r+=t*c[n],c[n]=r%1e7,r=u(r/1e7)},p=function(t){for(var e=6,n=0;--e>=0;)n+=c[e],c[e]=u(n/t),n=n%t*1e7},h=function(){for(var t=6,e="";--t>=0;)if(""!==e||0===t||0!==c[t]){var n=String(c[t]);e=""===e?n:e+a.call("0",7-n.length)+n}return e},d=function(t,e,n){return 0===e?n:e%2==1?d(t,e-1,n*t):d(t*t,e/2,n)},y=function(t){for(var e=0,n=t;n>=4096;)e+=12,n/=4096;for(;n>=2;)e+=1,n/=2;return e};r(r.P+r.F*(!!s&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!n(2)(function(){s.call({})})),"Number",{toFixed:function(t){var e,n,r,s,u=i(this,l),c=o(t),g="",v="0";if(c<0||c>20)throw RangeError(l);if(u!=u)return"NaN";if(u<=-1e21||u>=1e21)return String(u);if(u<0&&(g="-",u=-u),u>1e-21)if(e=y(u*d(2,69,1))-69,n=e<0?u*d(2,-e,1):u/d(2,e,1),n*=4503599627370496,(e=52-e)>0){for(f(0,n),r=c;r>=7;)f(1e7,0),r-=7;for(f(d(10,r,1),0),r=e-1;r>=23;)p(1<<23),r-=23;p(1<0?(s=v.length,v=g+(s<=c?"0."+a.call("0",c-s)+v:v.slice(0,s-c)+"."+v.slice(s-c))):v=g+v,v}})},function(t,e,n){"use strict";var r=n(0),o=n(2),i=n(100),a=1..toPrecision;r(r.P+r.F*(o(function(){return"1"!==a.call(1,void 0)})||!o(function(){a.call({})})),"Number",{toPrecision:function(t){var e=i(this,"Number#toPrecision: incorrect invocation!");return void 0===t?a.call(e):a.call(e,t)}})},function(t,e,n){var r=n(0);r(r.S,"Number",{EPSILON:Math.pow(2,-52)})},function(t,e,n){var r=n(0),o=n(4).isFinite;r(r.S,"Number",{isFinite:function(t){return"number"==typeof t&&o(t)}})},function(t,e,n){var r=n(0);r(r.S,"Number",{isInteger:n(102)})},function(t,e,n){var r=n(0);r(r.S,"Number",{isNaN:function(t){return t!=t}})},function(t,e,n){var r=n(0),o=n(102),i=Math.abs;r(r.S,"Number",{isSafeInteger:function(t){return o(t)&&i(t)<=9007199254740991}})},function(t,e,n){var r=n(0);r(r.S,"Number",{MAX_SAFE_INTEGER:9007199254740991})},function(t,e,n){var r=n(0);r(r.S,"Number",{MIN_SAFE_INTEGER:-9007199254740991})},function(t,e,n){var r=n(0),o=n(99);r(r.S+r.F*(Number.parseFloat!=o),"Number",{parseFloat:o})},function(t,e,n){var r=n(0),o=n(98);r(r.S+r.F*(Number.parseInt!=o),"Number",{parseInt:o})},function(t,e,n){var r=n(0),o=n(103),i=Math.sqrt,a=Math.acosh;r(r.S+r.F*!(a&&710==Math.floor(a(Number.MAX_VALUE))&&a(1/0)==1/0),"Math",{acosh:function(t){return(t=+t)<1?NaN:t>94906265.62425156?Math.log(t)+Math.LN2:o(t-1+i(t-1)*i(t+1))}})},function(t,e,n){function r(t){return isFinite(t=+t)&&0!=t?t<0?-r(-t):Math.log(t+Math.sqrt(t*t+1)):t}var o=n(0),i=Math.asinh;o(o.S+o.F*!(i&&1/i(0)>0),"Math",{asinh:r})},function(t,e,n){var r=n(0),o=Math.atanh;r(r.S+r.F*!(o&&1/o(-0)<0),"Math",{atanh:function(t){return 0==(t=+t)?t:Math.log((1+t)/(1-t))/2}})},function(t,e,n){var r=n(0),o=n(73);r(r.S,"Math",{cbrt:function(t){return o(t=+t)*Math.pow(Math.abs(t),1/3)}})},function(t,e,n){var r=n(0);r(r.S,"Math",{clz32:function(t){return(t>>>=0)?31-Math.floor(Math.log(t+.5)*Math.LOG2E):32}})},function(t,e,n){var r=n(0),o=Math.exp;r(r.S,"Math",{cosh:function(t){return(o(t=+t)+o(-t))/2}})},function(t,e,n){var r=n(0),o=n(74);r(r.S+r.F*(o!=Math.expm1),"Math",{expm1:o})},function(t,e,n){var r=n(0);r(r.S,"Math",{fround:n(183)})},function(t,e,n){var r=n(73),o=Math.pow,i=o(2,-52),a=o(2,-23),s=o(2,127)*(2-a),u=o(2,-126),c=function(t){return t+1/i-1/i};t.exports=Math.fround||function(t){var e,n,o=Math.abs(t),l=r(t);return os||n!=n?l*(1/0):l*n)}},function(t,e,n){var r=n(0),o=Math.abs;r(r.S,"Math",{hypot:function(t,e){for(var n,r,i=0,a=0,s=arguments.length,u=0;a0?(r=n/u,i+=r*r):i+=n;return u===1/0?1/0:u*Math.sqrt(i)}})},function(t,e,n){var r=n(0),o=Math.imul;r(r.S+r.F*n(2)(function(){return-5!=o(4294967295,5)||2!=o.length}),"Math",{imul:function(t,e){var n=+t,r=+e,o=65535&n,i=65535&r;return 0|o*i+((65535&n>>>16)*i+o*(65535&r>>>16)<<16>>>0)}})},function(t,e,n){var r=n(0);r(r.S,"Math",{log10:function(t){return Math.log(t)*Math.LOG10E}})},function(t,e,n){var r=n(0);r(r.S,"Math",{log1p:n(103)})},function(t,e,n){var r=n(0);r(r.S,"Math",{log2:function(t){return Math.log(t)/Math.LN2}})},function(t,e,n){var r=n(0);r(r.S,"Math",{sign:n(73)})},function(t,e,n){var r=n(0),o=n(74),i=Math.exp;r(r.S+r.F*n(2)(function(){return-2e-17!=!Math.sinh(-2e-17)}),"Math",{sinh:function(t){return Math.abs(t=+t)<1?(o(t)-o(-t))/2:(i(t-1)-i(-t-1))*(Math.E/2)}})},function(t,e,n){var r=n(0),o=n(74),i=Math.exp;r(r.S,"Math",{tanh:function(t){var e=o(t=+t),n=o(-t);return e==1/0?1:n==1/0?-1:(e-n)/(i(t)+i(-t))}})},function(t,e,n){var r=n(0);r(r.S,"Math",{trunc:function(t){return(t>0?Math.floor:Math.ceil)(t)}})},function(t,e,n){var r=n(0),o=n(34),i=String.fromCharCode,a=String.fromCodePoint;r(r.S+r.F*(!!a&&1!=a.length),"String",{fromCodePoint:function(t){for(var e,n=[],r=arguments.length,a=0;r>a;){if(e=+arguments[a++],o(e,1114111)!==e)throw RangeError(e+" is not a valid code point");n.push(e<65536?i(e):i(55296+((e-=65536)>>10),e%1024+56320))}return n.join("")}})},function(t,e,n){var r=n(0),o=n(17),i=n(8);r(r.S,"String",{raw:function(t){for(var e=o(t.raw),n=i(e.length),r=arguments.length,a=[],s=0;n>s;)a.push(String(e[s++])),s=e.length?{value:void 0,done:!0}:(t=r(e,n),this._i+=t.length,{value:t,done:!1})})},function(t,e,n){"use strict";var r=n(0),o=n(104)(!1);r(r.P,"String",{codePointAt:function(t){return o(this,t)}})},function(t,e,n){"use strict";var r=n(0),o=n(8),i=n(76),a="".endsWith;r(r.P+r.F*n(78)("endsWith"),"String",{endsWith:function(t){var e=i(this,t,"endsWith"),n=arguments.length>1?arguments[1]:void 0,r=o(e.length),s=void 0===n?r:Math.min(o(n),r),u=String(t);return a?a.call(e,u,s):e.slice(s-u.length,s)===u}})},function(t,e,n){"use strict";var r=n(0),o=n(76);r(r.P+r.F*n(78)("includes"),"String",{includes:function(t){return!!~o(this,t,"includes").indexOf(t,arguments.length>1?arguments[1]:void 0)}})},function(t,e,n){var r=n(0);r(r.P,"String",{repeat:n(101)})},function(t,e,n){"use strict";var r=n(0),o=n(8),i=n(76),a="".startsWith;r(r.P+r.F*n(78)("startsWith"),"String",{startsWith:function(t){var e=i(this,t,"startsWith"),n=o(Math.min(arguments.length>1?arguments[1]:void 0,e.length)),r=String(t);return a?a.call(e,r,n):e.slice(n,n+r.length)===r}})},function(t,e,n){"use strict";n(10)("anchor",function(t){return function(e){return t(this,"a","name",e)}})},function(t,e,n){"use strict";n(10)("big",function(t){return function(){return t(this,"big","","")}})},function(t,e,n){"use strict";n(10)("blink",function(t){return function(){return t(this,"blink","","")}})},function(t,e,n){"use strict";n(10)("bold",function(t){return function(){return t(this,"b","","")}})},function(t,e,n){"use strict";n(10)("fixed",function(t){return function(){return t(this,"tt","","")}})},function(t,e,n){"use strict";n(10)("fontcolor",function(t){return function(e){return t(this,"font","color",e)}})},function(t,e,n){"use strict";n(10)("fontsize",function(t){return function(e){return t(this,"font","size",e)}})},function(t,e,n){"use strict";n(10)("italics",function(t){return function(){return t(this,"i","","")}})},function(t,e,n){"use strict";n(10)("link",function(t){return function(e){return t(this,"a","href",e)}})},function(t,e,n){"use strict";n(10)("small",function(t){return function(){return t(this,"small","","")}})},function(t,e,n){"use strict";n(10)("strike",function(t){return function(){return t(this,"strike","","")}})},function(t,e,n){"use strict";n(10)("sub",function(t){return function(){return t(this,"sub","","")}})},function(t,e,n){"use strict";n(10)("sup",function(t){return function(){return t(this,"sup","","")}})},function(t,e,n){var r=n(0);r(r.S,"Date",{now:function(){return(new Date).getTime()}})},function(t,e,n){"use strict";var r=n(0),o=n(12),i=n(29);r(r.P+r.F*n(2)(function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})}),"Date",{toJSON:function(t){var e=o(this),n=i(e);return"number"!=typeof n||isFinite(n)?e.toISOString():null}})},function(t,e,n){var r=n(0),o=n(218);r(r.P+r.F*(Date.prototype.toISOString!==o),"Date",{toISOString:o})},function(t,e,n){"use strict";var r=n(2),o=Date.prototype.getTime,i=Date.prototype.toISOString,a=function(t){return t>9?t:"0"+t};t.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 t=this,e=t.getUTCFullYear(),n=t.getUTCMilliseconds(),r=e<0?"-":e>9999?"+":"";return r+("00000"+Math.abs(e)).slice(r?-6:-4)+"-"+a(t.getUTCMonth()+1)+"-"+a(t.getUTCDate())+"T"+a(t.getUTCHours())+":"+a(t.getUTCMinutes())+":"+a(t.getUTCSeconds())+"."+(n>99?n:"0"+a(n))+"Z"}:i},function(t,e,n){var r=Date.prototype,o=r.toString,i=r.getTime;new Date(NaN)+""!="Invalid Date"&&n(11)(r,"toString",function(){var t=i.call(this);return t===t?o.call(this):"Invalid Date"})},function(t,e,n){var r=n(5)("toPrimitive"),o=Date.prototype;r in o||n(13)(o,r,n(221))},function(t,e,n){"use strict";var r=n(1),o=n(29);t.exports=function(t){if("string"!==t&&"number"!==t&&"default"!==t)throw TypeError("Incorrect hint");return o(r(this),"number"!=t)}},function(t,e,n){var r=n(0);r(r.S,"Array",{isArray:n(68)})},function(t,e,n){"use strict";var r=n(22),o=n(0),i=n(12),a=n(106),s=n(79),u=n(8),c=n(107),l=n(80);o(o.S+o.F*!n(55)(function(t){Array.from(t)}),"Array",{from:function(t){var e,n,o,f,p=i(t),h="function"==typeof this?this:Array,d=arguments.length,y=d>1?arguments[1]:void 0,g=void 0!==y,v=0,m=l(p);if(g&&(y=r(y,d>2?arguments[2]:void 0,2)),void 0==m||h==Array&&s(m))for(e=u(p.length),n=new h(e);e>v;v++)c(n,v,g?y(p[v],v):p[v]);else for(f=m.call(p),n=new h;!(o=f.next()).done;v++)c(n,v,g?a(f,y,[o.value,v],!0):o.value);return n.length=v,n}})},function(t,e,n){"use strict";var r=n(0),o=n(107);r(r.S+r.F*n(2)(function(){function t(){}return!(Array.of.call(t)instanceof t)}),"Array",{of:function(){for(var t=0,e=arguments.length,n=new("function"==typeof this?this:Array)(e);e>t;)o(n,t,arguments[t++]);return n.length=e,n}})},function(t,e,n){"use strict";var r=n(0),o=n(17),i=[].join;r(r.P+r.F*(n(46)!=Object||!n(14)(i)),"Array",{join:function(t){return i.call(o(this),void 0===t?",":t)}})},function(t,e,n){"use strict";var r=n(0),o=n(69),i=n(23),a=n(34),s=n(8),u=[].slice;r(r.P+r.F*n(2)(function(){o&&u.call(o)}),"Array",{slice:function(t,e){var n=s(this.length),r=i(this);if(e=void 0===e?n:e,"Array"==r)return u.call(this,t,e);for(var o=a(t,n),c=a(e,n),l=s(c-o),f=new Array(l),p=0;p1&&(r=Math.min(r,i(arguments[1]))),r<0&&(r=n+r);r>=0;r--)if(r in e&&e[r]===t)return r||0;return-1}})},function(t,e,n){var r=n(0);r(r.P,"Array",{copyWithin:n(109)}),n(48)("copyWithin")},function(t,e,n){var r=n(0);r(r.P,"Array",{fill:n(81)}),n(48)("fill")},function(t,e,n){"use strict";var r=n(0),o=n(20)(5),i=!0;"find"in[]&&Array(1).find(function(){i=!1}),r(r.P+r.F*i,"Array",{find:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),n(48)("find")},function(t,e,n){"use strict";var r=n(0),o=n(20)(6),i="findIndex",a=!0;i in[]&&Array(1)[i](function(){a=!1}),r(r.P+r.F*a,"Array",{findIndex:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),n(48)(i)},function(t,e,n){n(40)("Array")},function(t,e,n){var r=n(4),o=n(72),i=n(6).f,a=n(36).f,s=n(77),u=n(82),c=r.RegExp,l=c,f=c.prototype,p=/a/g,h=/a/g,d=new c(p)!==p;if(n(7)&&(!d||n(2)(function(){return h[n(5)("match")]=!1,c(p)!=p||c(h)==h||"/a/i"!=c(p,"i")}))){c=function(t,e){var n=this instanceof c,r=s(t),i=void 0===e;return!n&&r&&t.constructor===c&&i?t:o(d?new l(r&&!i?t.source:t,e):l((r=t instanceof c)?t.source:t,r&&i?u.call(t):e),n?this:f,c)};for(var y=a(l),g=0;y.length>g;)!function(t){t in c||i(c,t,{configurable:!0,get:function(){return l[t]},set:function(e){l[t]=e}})}(y[g++]);f.constructor=c,c.prototype=f,n(11)(r,"RegExp",c)}n(40)("RegExp")},function(t,e,n){"use strict";n(112);var r=n(1),o=n(82),i=n(7),a=/./.toString,s=function(t){n(11)(RegExp.prototype,"toString",t,!0)};n(2)(function(){return"/a/b"!=a.call({source:"a",flags:"b"})})?s(function(){var t=r(this);return"/".concat(t.source,"/","flags"in t?t.flags:!i&&t instanceof RegExp?o.call(t):void 0)}):"toString"!=a.name&&s(function(){return a.call(this)})},function(t,e,n){n(56)("match",1,function(t,e,n){return[function(n){"use strict";var r=t(this),o=void 0==n?void 0:n[e];return void 0!==o?o.call(n,r):new RegExp(n)[e](String(r))},n]})},function(t,e,n){n(56)("replace",2,function(t,e,n){return[function(r,o){"use strict";var i=t(this),a=void 0==r?void 0:r[e];return void 0!==a?a.call(r,i,o):n.call(String(i),r,o)},n]})},function(t,e,n){n(56)("search",1,function(t,e,n){return[function(n){"use strict";var r=t(this),o=void 0==n?void 0:n[e];return void 0!==o?o.call(n,r):new RegExp(n)[e](String(r))},n]})},function(t,e,n){n(56)("split",2,function(t,e,r){"use strict";var o=n(77),i=r,a=[].push,s="length";if("c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1)[s]||2!="ab".split(/(?:ab)*/)[s]||4!=".".split(/(.?)(.?)/)[s]||".".split(/()()/)[s]>1||"".split(/.?/)[s]){var u=void 0===/()??/.exec("")[1];r=function(t,e){var n=String(this);if(void 0===t&&0===e)return[];if(!o(t))return i.call(n,t,e);var r,c,l,f,p,h=[],d=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),y=0,g=void 0===e?4294967295:e>>>0,v=new RegExp(t.source,d+"g");for(u||(r=new RegExp("^"+v.source+"$(?!\\s)",d));(c=v.exec(n))&&!((l=c.index+c[0][s])>y&&(h.push(n.slice(y,c.index)),!u&&c[s]>1&&c[0].replace(r,function(){for(p=1;p1&&c.index=g));)v.lastIndex===c.index&&v.lastIndex++;return y===n[s]?!f&&v.test("")||h.push(""):h.push(n.slice(y)),h[s]>g?h.slice(0,g):h}}else"0".split(void 0,0)[s]&&(r=function(t,e){return void 0===t&&0===e?[]:i.call(this,t,e)});return[function(n,o){var i=t(this),a=void 0==n?void 0:n[e];return void 0!==a?a.call(n,i,o):r.call(String(i),n,o)},r]})},function(t,e,n){"use strict";var r,o,i,a,s=n(39),u=n(4),c=n(22),l=n(53),f=n(0),p=n(3),h=n(16),d=n(41),y=n(49),g=n(83),v=n(113).set,m=n(251)(),b=n(114),_=n(252),w=n(253),C=u.TypeError,O=u.process,E=u.Promise,k="process"==l(O),x=function(){},S=o=b.f,P=!!function(){try{var t=E.resolve(1),e=(t.constructor={})[n(5)("species")]=function(t){t(x,x)};return(k||"function"==typeof PromiseRejectionEvent)&&t.then(x)instanceof e}catch(t){}}(),T=function(t){var e;return!(!p(t)||"function"!=typeof(e=t.then))&&e},M=function(t,e){if(!t._n){t._n=!0;var n=t._c;m(function(){for(var r=t._v,o=1==t._s,i=0;n.length>i;)!function(e){var n,i,a=o?e.ok:e.fail,s=e.resolve,u=e.reject,c=e.domain;try{a?(o||(2==t._h&&N(t),t._h=1),!0===a?n=r:(c&&c.enter(),n=a(r),c&&c.exit()),n===e.promise?u(C("Promise-chain cycle")):(i=T(n))?i.call(n,s,u):s(n)):u(r)}catch(t){u(t)}}(n[i++]);t._c=[],t._n=!1,e&&!t._h&&j(t)})}},j=function(t){v.call(u,function(){var e,n,r,o=t._v,i=A(t);if(i&&(e=_(function(){k?O.emit("unhandledRejection",o,t):(n=u.onunhandledrejection)?n({promise:t,reason:o}):(r=u.console)&&r.error&&r.error("Unhandled promise rejection",o)}),t._h=k||A(t)?2:1),t._a=void 0,i&&e.e)throw e.v})},A=function(t){return 1!==t._h&&0===(t._a||t._c).length},N=function(t){v.call(u,function(){var e;k?O.emit("rejectionHandled",t):(e=u.onrejectionhandled)&&e({promise:t,reason:t._v})})},D=function(t){var e=this;e._d||(e._d=!0,e=e._w||e,e._v=t,e._s=2,e._a||(e._a=e._c.slice()),M(e,!0))},I=function(t){var e,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===t)throw C("Promise can't be resolved itself");(e=T(t))?m(function(){var r={_w:n,_d:!1};try{e.call(t,c(I,r,1),c(D,r,1))}catch(t){D.call(r,t)}}):(n._v=t,n._s=1,M(n,!1))}catch(t){D.call({_w:n,_d:!1},t)}}};P||(E=function(t){d(this,E,"Promise","_h"),h(t),r.call(this);try{t(c(I,this,1),c(D,this,1))}catch(t){D.call(this,t)}},r=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},r.prototype=n(42)(E.prototype,{then:function(t,e){var n=S(g(this,E));return n.ok="function"!=typeof t||t,n.fail="function"==typeof e&&e,n.domain=k?O.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&M(this,!1),n.promise},catch:function(t){return this.then(void 0,t)}}),i=function(){var t=new r;this.promise=t,this.resolve=c(I,t,1),this.reject=c(D,t,1)},b.f=S=function(t){return t===E||t===a?new i(t):o(t)}),f(f.G+f.W+f.F*!P,{Promise:E}),n(38)(E,"Promise"),n(40)("Promise"),a=n(28).Promise,f(f.S+f.F*!P,"Promise",{reject:function(t){var e=S(this);return(0,e.reject)(t),e.promise}}),f(f.S+f.F*(s||!P),"Promise",{resolve:function(t){return w(s&&this===a?E:this,t)}}),f(f.S+f.F*!(P&&n(55)(function(t){E.all(t).catch(x)})),"Promise",{all:function(t){var e=this,n=S(e),r=n.resolve,o=n.reject,i=_(function(){var n=[],i=0,a=1;y(t,!1,function(t){var s=i++,u=!1;n.push(void 0),a++,e.resolve(t).then(function(t){u||(u=!0,n[s]=t,--a||r(n))},o)}),--a||r(n)});return i.e&&o(i.v),n.promise},race:function(t){var e=this,n=S(e),r=n.reject,o=_(function(){y(t,!1,function(t){e.resolve(t).then(n.resolve,r)})});return o.e&&r(o.v),n.promise}})},function(t,e,n){var r=n(4),o=n(113).set,i=r.MutationObserver||r.WebKitMutationObserver,a=r.process,s=r.Promise,u="process"==n(23)(a);t.exports=function(){var t,e,n,c=function(){var r,o;for(u&&(r=a.domain)&&r.exit();t;){o=t.fn,t=t.next;try{o()}catch(r){throw t?n():e=void 0,r}}e=void 0,r&&r.enter()};if(u)n=function(){a.nextTick(c)};else if(!i||r.navigator&&r.navigator.standalone)if(s&&s.resolve){var l=s.resolve();n=function(){l.then(c)}}else n=function(){o.call(r,c)};else{var f=!0,p=document.createTextNode("");new i(c).observe(p,{characterData:!0}),n=function(){p.data=f=!f}}return function(r){var o={fn:r,next:void 0};e&&(e.next=o),t||(t=o,n()),e=o}}},function(t,e){t.exports=function(t){try{return{e:!1,v:t()}}catch(t){return{e:!0,v:t}}}},function(t,e,n){var r=n(1),o=n(3),i=n(114);t.exports=function(t,e){if(r(t),o(e)&&e.constructor===t)return e;var n=i.f(t);return(0,n.resolve)(e),n.promise}},function(t,e,n){"use strict";var r=n(119),o=n(43);n(57)("WeakSet",function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},{add:function(t){return r.def(o(this,"WeakSet"),t,!0)}},r,!1,!0)},function(t,e,n){"use strict";var r=n(0),o=n(58),i=n(84),a=n(1),s=n(34),u=n(8),c=n(3),l=n(4).ArrayBuffer,f=n(83),p=i.ArrayBuffer,h=i.DataView,d=o.ABV&&l.isView,y=p.prototype.slice,g=o.VIEW;r(r.G+r.W+r.F*(l!==p),{ArrayBuffer:p}),r(r.S+r.F*!o.CONSTR,"ArrayBuffer",{isView:function(t){return d&&d(t)||c(t)&&g in t}}),r(r.P+r.U+r.F*n(2)(function(){return!new p(2).slice(1,void 0).byteLength}),"ArrayBuffer",{slice:function(t,e){if(void 0!==y&&void 0===e)return y.call(a(this),t);for(var n=a(this).byteLength,r=s(t,n),o=s(void 0===e?n:e,n),i=new(f(this,p))(u(o-r)),c=new h(this),l=new h(i),d=0;r=n.length)return{value:void 0,done:!0}}while(!((t=n[e._i++])in e._t));return{value:t,done:!1}}),r(r.S,"Reflect",{enumerate:function(t){return new i(t)}})},function(t,e,n){function r(t,e){var n,s,l=arguments.length<3?t:arguments[2];return c(t)===l?t[e]:(n=o.f(t,e))?a(n,"value")?n.value:void 0!==n.get?n.get.call(l):void 0:u(s=i(t))?r(s,e,l):void 0}var o=n(25),i=n(19),a=n(9),s=n(0),u=n(3),c=n(1);s(s.S,"Reflect",{get:r})},function(t,e,n){var r=n(25),o=n(0),i=n(1);o(o.S,"Reflect",{getOwnPropertyDescriptor:function(t,e){return r.f(i(t),e)}})},function(t,e,n){var r=n(0),o=n(19),i=n(1);r(r.S,"Reflect",{getPrototypeOf:function(t){return o(i(t))}})},function(t,e,n){var r=n(0);r(r.S,"Reflect",{has:function(t,e){return e in t}})},function(t,e,n){var r=n(0),o=n(1),i=Object.isExtensible;r(r.S,"Reflect",{isExtensible:function(t){return o(t),!i||i(t)}})},function(t,e,n){var r=n(0);r(r.S,"Reflect",{ownKeys:n(277)})},function(t,e,n){var r=n(36),o=n(51),i=n(1),a=n(4).Reflect;t.exports=a&&a.ownKeys||function(t){var e=r.f(i(t)),n=o.f;return n?e.concat(n(t)):e}},function(t,e,n){var r=n(0),o=n(1),i=Object.preventExtensions;r(r.S,"Reflect",{preventExtensions:function(t){o(t);try{return i&&i(t),!0}catch(t){return!1}}})},function(t,e,n){function r(t,e,n){var u,p,h=arguments.length<4?t:arguments[3],d=i.f(l(t),e);if(!d){if(f(p=a(t)))return r(p,e,n,h);d=c(0)}return s(d,"value")?!(!1===d.writable||!f(h))&&(u=i.f(h,e)||c(0),u.value=n,o.f(h,e,u),!0):void 0!==d.set&&(d.set.call(h,n),!0)}var o=n(6),i=n(25),a=n(19),s=n(9),u=n(0),c=n(32),l=n(1),f=n(3);u(u.S,"Reflect",{set:r})},function(t,e,n){var r=n(0),o=n(70);o&&r(r.S,"Reflect",{setPrototypeOf:function(t,e){o.check(t,e);try{return o.set(t,e),!0}catch(t){return!1}}})},function(t,e,n){n(282),n(283),n(284),n(285),n(287),n(288),n(289),n(290),n(291),t.exports=n(28).Reflect},function(t,e,n){var r=n(27),o=n(1),i=r.key,a=r.set;r.exp({defineMetadata:function(t,e,n,r){a(t,e,o(n),i(r))}})},function(t,e,n){var r=n(27),o=n(1),i=r.key,a=r.map,s=r.store;r.exp({deleteMetadata:function(t,e){var n=arguments.length<3?void 0:i(arguments[2]),r=a(o(e),n,!1);if(void 0===r||!r.delete(t))return!1;if(r.size)return!0;var u=s.get(e);return u.delete(n),!!u.size||s.delete(e)}})},function(t,e,n){var r=n(27),o=n(1),i=n(19),a=r.has,s=r.get,u=r.key,c=function(t,e,n){if(a(t,e,n))return s(t,e,n);var r=i(e);return null!==r?c(t,r,n):void 0};r.exp({getMetadata:function(t,e){return c(t,o(e),arguments.length<3?void 0:u(arguments[2]))}})},function(t,e,n){var r=n(117),o=n(286),i=n(27),a=n(1),s=n(19),u=i.keys,c=i.key,l=function(t,e){var n=u(t,e),i=s(t);if(null===i)return n;var a=l(i,e);return a.length?n.length?o(new r(n.concat(a))):a:n};i.exp({getMetadataKeys:function(t){return l(a(t),arguments.length<2?void 0:c(arguments[1]))}})},function(t,e,n){var r=n(49);t.exports=function(t,e){var n=[];return r(t,!1,n.push,n,e),n}},function(t,e,n){var r=n(27),o=n(1),i=r.get,a=r.key;r.exp({getOwnMetadata:function(t,e){return i(t,o(e),arguments.length<3?void 0:a(arguments[2]))}})},function(t,e,n){var r=n(27),o=n(1),i=r.keys,a=r.key;r.exp({getOwnMetadataKeys:function(t){return i(o(t),arguments.length<2?void 0:a(arguments[1]))}})},function(t,e,n){var r=n(27),o=n(1),i=n(19),a=r.has,s=r.key,u=function(t,e,n){if(a(t,e,n))return!0;var r=i(e);return null!==r&&u(t,r,n)};r.exp({hasMetadata:function(t,e){return u(t,o(e),arguments.length<3?void 0:s(arguments[2]))}})},function(t,e,n){var r=n(27),o=n(1),i=r.has,a=r.key;r.exp({hasOwnMetadata:function(t,e){return i(t,o(e),arguments.length<3?void 0:a(arguments[2]))}})},function(t,e,n){var r=n(27),o=n(1),i=n(16),a=r.key,s=r.set;r.exp({metadata:function(t,e){return function(n,r){s(t,e,(void 0!==r?o:i)(n),a(r))}}})},function(t,e,n){(function(t){!function(t,e){e()}(0,function(){"use strict";function e(t,e){for(var n=t.length-1;n>=0;n--)typeof t[n]===D&&(t[n]=Zone.current.wrap(t[n],e+"_"+n));return t}function n(t,n){return function(){var r=Array.prototype.slice.call(arguments),o=e(r,n||t.name);return t.apply(this,o)}}function r(t,n,r){return c(t,n,function(t,n,o){return function(n,o){return t&&t.apply(n,e(o,r))}})}function o(t,n){for(var r=t.constructor.name,o=0;o=0&&"function"==typeof o[i.callbackIndex]){return Zone.current.scheduleMacroTask(i.name,o[i.callbackIndex],i,r,null)}return t.apply(e,o)}})}function f(t,e){t[A("OriginalDelegate")]=e}function p(){if(Z)return W;Z=!0;try{var t=window.navigator.userAgent;t.indexOf("MSIE ");return-1===t.indexOf("MSIE ")&&-1===t.indexOf("Trident/")&&-1===t.indexOf("Edge/")||(W=!0),W}catch(t){}}function h(t,e,n){for(var r=n&&n.addEventListenerFnName||"addEventListener",o=n&&n.removeEventListenerFnName||"removeEventListener",i=n&&n.listenersFnName||"eventListeners",a=n&&n.removeAllFnName||"removeAllListeners",s=A(r),u="."+r+":",c="prependListener",l="."+c+":",p=function(t,e,n){if(!t.isRemoved){var r=t.callback;typeof r===tt&&r.handleEvent&&(t.callback=function(t){return r.handleEvent(t)},t.originalDelegate=r),t.invoke(t,e,[n]);var i=t.options;if(i&&"object"==typeof i&&i.once){var a=t.originalDelegate?t.originalDelegate:t.callback;e[o].apply(e,[n.type,a,i])}}},h=function(e){if(e=e||t.event){var n=this||e.target||t,r=n[Q[e.type][$]];if(r)if(1===r.length)p(r[0],n,e);else for(var o=r.slice(),i=0;i1?new n(t,e):new n(t),a=Object.getOwnPropertyDescriptor(i,"onmessage");return a&&!1===a.configurable?(r=Object.create(i),o=i,["addEventListener","removeEventListener","send","close"].forEach(function(t){r[t]=function(){var e=Array.prototype.slice.call(arguments);if("addEventListener"===t||"removeEventListener"===t){var n=e.length>0?e[0]:void 0;if(n){var o=Zone.__symbol__("ON_PROPERTY"+n);i[o]=r[o]}}return i[t].apply(i,e)}})):r=i,s(r,["close","error","message","open"],o),r};var r=e.WebSocket;for(var o in n)r[o]=n[o]}function O(t,e,n){if(!n)return e;var r=n.filter(function(e){return e.target===t});if(!r||0===r.length)return e;var o=r[0].ignoreProperties;return e.filter(function(t){return-1===o.indexOf(t)})}function E(t,e,n,r){s(t,O(t,e,n),r)}function k(t,e){if(!L||H){var n="undefined"!=typeof WebSocket;if(x()){var r=e.__Zone_ignore_on_properties;if(z){E(window,Pt.concat(["messageerror"]),r,Object.getPrototypeOf(window)),E(Document.prototype,Pt,r),void 0!==window.SVGElement&&E(window.SVGElement.prototype,Pt,r),E(Element.prototype,Pt,r),E(HTMLElement.prototype,Pt,r),E(HTMLMediaElement.prototype,gt,r),E(HTMLFrameSetElement.prototype,dt.concat(Ct),r),E(HTMLBodyElement.prototype,dt.concat(Ct),r),E(HTMLFrameElement.prototype,wt,r),E(HTMLIFrameElement.prototype,wt,r);var o=window.HTMLMarqueeElement;o&&E(o.prototype,Ot,r);var i=window.Worker;i&&E(i.prototype,St,r)}E(XMLHttpRequest.prototype,Et,r);var a=e.XMLHttpRequestEventTarget;a&&E(a&&a.prototype,Et,r),"undefined"!=typeof IDBIndex&&(E(IDBIndex.prototype,kt,r),E(IDBRequest.prototype,kt,r),E(IDBOpenDBRequest.prototype,kt,r),E(IDBDatabase.prototype,kt,r),E(IDBTransaction.prototype,kt,r),E(IDBCursor.prototype,kt,r)),n&&E(WebSocket.prototype,xt,r)}else S(),u("XMLHttpRequest"),n&&C(t,e)}}function x(){if((z||H)&&!Object.getOwnPropertyDescriptor(HTMLElement.prototype,"onclick")&&"undefined"!=typeof Element){var t=Object.getOwnPropertyDescriptor(Element.prototype,"onclick");if(t&&!t.configurable)return!1}var e=Object.getOwnPropertyDescriptor(XMLHttpRequest.prototype,"onreadystatechange");if(e){Object.defineProperty(XMLHttpRequest.prototype,"onreadystatechange",{enumerable:!0,configurable:!0,get:function(){return!0}});var n=new XMLHttpRequest,r=!!n.onreadystatechange;return Object.defineProperty(XMLHttpRequest.prototype,"onreadystatechange",e||{}),r}var o=A("fakeonreadystatechange");Object.defineProperty(XMLHttpRequest.prototype,"onreadystatechange",{enumerable:!0,configurable:!0,get:function(){return this[o]},set:function(t){this[o]=t}});var n=new XMLHttpRequest,i=function(){};n.onreadystatechange=i;var r=n[o]===i;return n.onreadystatechange=null,r}function S(){for(var t=0;t",this._properties=e&&e.properties||{},this._zoneDelegate=new f(this,this._parent&&this._parent._zoneDelegate,e)}return r.assertZonePatched=function(){if(t.Promise!==P.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.)")},Object.defineProperty(r,"root",{get:function(){for(var t=r.current;t.parent;)t=t.parent;return t},enumerable:!0,configurable:!0}),Object.defineProperty(r,"current",{get:function(){return M.zone},enumerable:!0,configurable:!0}),Object.defineProperty(r,"currentTask",{get:function(){return j},enumerable:!0,configurable:!0}),r.__load_patch=function(o,i){if(P.hasOwnProperty(o))throw Error("Already loaded patch: "+o);if(!t["__Zone_disable_"+o]){var a="Zone:"+o;e(a),P[o]=i(t,r,T),n(a,a)}},Object.defineProperty(r.prototype,"parent",{get:function(){return this._parent},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"name",{get:function(){return this._name},enumerable:!0,configurable:!0}),r.prototype.get=function(t){var e=this.getZoneWith(t);if(e)return e._properties[t]},r.prototype.getZoneWith=function(t){for(var e=this;e;){if(e._properties.hasOwnProperty(t))return e;e=e._parent}return null},r.prototype.fork=function(t){if(!t)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,t)},r.prototype.wrap=function(t,e){if("function"!=typeof t)throw new Error("Expecting function got: "+t);var n=this._zoneDelegate.intercept(this,t,e),r=this;return function(){return r.runGuarded(n,this,arguments,e)}},r.prototype.run=function(t,e,n,r){void 0===e&&(e=void 0),void 0===n&&(n=null),void 0===r&&(r=null),M={parent:M,zone:this};try{return this._zoneDelegate.invoke(this,t,e,n,r)}finally{M=M.parent}},r.prototype.runGuarded=function(t,e,n,r){void 0===e&&(e=null),void 0===n&&(n=null),void 0===r&&(r=null),M={parent:M,zone:this};try{try{return this._zoneDelegate.invoke(this,t,e,n,r)}catch(t){if(this._zoneDelegate.handleError(this,t))throw t}}finally{M=M.parent}},r.prototype.runTask=function(t,e,n){if(t.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(t.zone||m).name+"; Execution: "+this.name+")");if(t.state!==b||t.type!==S){var r=t.state!=C;r&&t._transitionTo(C,w),t.runCount++;var o=j;j=t,M={parent:M,zone:this};try{t.type==x&&t.data&&!t.data.isPeriodic&&(t.cancelFn=null);try{return this._zoneDelegate.invokeTask(this,t,e,n)}catch(t){if(this._zoneDelegate.handleError(this,t))throw t}}finally{t.state!==b&&t.state!==E&&(t.type==S||t.data&&t.data.isPeriodic?r&&t._transitionTo(w,C):(t.runCount=0,this._updateTaskCount(t,-1),r&&t._transitionTo(b,C,b))),M=M.parent,j=o}}},r.prototype.scheduleTask=function(t){if(t.zone&&t.zone!==this)for(var e=this;e;){if(e===t.zone)throw Error("can not reschedule task to "+this.name+" which is descendants of the original zone "+t.zone.name);e=e.parent}t._transitionTo(_,b);var n=[];t._zoneDelegates=n,t._zone=this;try{t=this._zoneDelegate.scheduleTask(this,t)}catch(e){throw t._transitionTo(E,_,b),this._zoneDelegate.handleError(this,e),e}return t._zoneDelegates===n&&this._updateTaskCount(t,1),t.state==_&&t._transitionTo(w,_),t},r.prototype.scheduleMicroTask=function(t,e,n,r){return this.scheduleTask(new p(k,t,e,n,r,null))},r.prototype.scheduleMacroTask=function(t,e,n,r,o){return this.scheduleTask(new p(x,t,e,n,r,o))},r.prototype.scheduleEventTask=function(t,e,n,r,o){return this.scheduleTask(new p(S,t,e,n,r,o))},r.prototype.cancelTask=function(t){if(t.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(t.zone||m).name+"; Execution: "+this.name+")");t._transitionTo(O,w,C);try{this._zoneDelegate.cancelTask(this,t)}catch(e){throw t._transitionTo(E,O),this._zoneDelegate.handleError(this,e),e}return this._updateTaskCount(t,-1),t._transitionTo(b,O),t.runCount=0,t},r.prototype._updateTaskCount=function(t,e){var n=t._zoneDelegates;-1==e&&(t._zoneDelegates=null);for(var r=0;r0,macroTask:n.macroTask>0,eventTask:n.eventTask>0,change:t};this.hasTask(this.zone,i)}},t}(),p=function(){function e(n,r,o,i,a,s){this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=n,this.source=r,this.data=i,this.scheduleFn=a,this.cancelFn=s,this.callback=o;var u=this;n===S&&i&&i.isUsingGlobalCallback?this.invoke=e.invokeTask:this.invoke=function(){return e.invokeTask.apply(t,[u,this,arguments])}}return e.invokeTask=function(t,e,n){t||(t=this),A++;try{return t.runCount++,t.zone.runTask(t,e,n)}finally{1==A&&o(),A--}},Object.defineProperty(e.prototype,"zone",{get:function(){return this._zone},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"state",{get:function(){return this._state},enumerable:!0,configurable:!0}),e.prototype.cancelScheduleRequest=function(){this._transitionTo(b,_)},e.prototype._transitionTo=function(t,e,n){if(this._state!==e&&this._state!==n)throw new Error(this.type+" '"+this.source+"': can not transition to '"+t+"', expecting state '"+e+"'"+(n?" or '"+n+"'":"")+", was '"+this._state+"'.");this._state=t,t==b&&(this._zoneDelegates=null)},e.prototype.toString=function(){return this.data&&void 0!==this.data.handleId?this.data.handleId:Object.prototype.toString.call(this)},e.prototype.toJSON=function(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}},e}(),h=a("setTimeout"),d=a("Promise"),y=a("then"),g=[],v=!1,m={name:"NO ZONE"},b="notScheduled",_="scheduling",w="scheduled",C="running",O="canceling",E="unknown",k="microTask",x="macroTask",S="eventTask",P={},T={symbol:a,currentZoneFrame:function(){return M},onUnhandledError:i,microtaskDrainDone:i,scheduleMicroTask:r,showUncaughtError:function(){return!u[a("ignoreConsoleErrorUncaughtError")]},patchEventTarget:function(){return[]},patchOnProperties:i,patchMethod:function(){return i},patchArguments:function(){return i},setNativePromise:function(t){t&&"function"==typeof t.resolve&&(c=t.resolve(0))}},M={parent:null,zone:new u(null,null)},j=null,A=0;n("Zone","Zone"),t.Zone=u}("undefined"!=typeof window&&window||"undefined"!=typeof self&&self||t),function(t){var e="function"==typeof Symbol&&t[Symbol.iterator],n=0;return e?e.call(t):{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}}});Zone.__load_patch("ZoneAwarePromise",function(t,e,n){function r(t){if(t&&t.toString===Object.prototype.toString){var e=t.constructor&&t.constructor.name;return(e||"")+": "+JSON.stringify(t)}return t?t.toString():Object.prototype.toString.call(t)}function o(t){n.onUnhandledError(t);try{var r=e[m];r&&"function"==typeof r&&r.apply(this,[t])}catch(t){}}function i(t){return t&&t.then}function a(t){return t}function s(t){return N.reject(t)}function u(t,e){return function(n){try{c(t,e,n)}catch(e){c(t,!1,e)}}}function c(t,o,i){var a=x();if(t===i)throw new TypeError(S);if(t[b]===C){var s=null;try{typeof i!==P&&typeof i!==T||(s=i&&i.then)}catch(e){return a(function(){c(t,!1,e)})(),t}if(o!==E&&i instanceof N&&i.hasOwnProperty(b)&&i.hasOwnProperty(_)&&i[b]!==C)l(i),c(t,i[b],i[_]);else if(o!==E&&typeof s===T)try{s.apply(i,[a(u(t,o)),a(u(t,!1))])}catch(e){a(function(){c(t,!1,e)})()}else{t[b]=o;var p=t[_];if(t[_]=i,o===E&&i instanceof Error){var h=e.currentTask&&e.currentTask.data&&e.currentTask.data[v];h&&Object.defineProperty(i,M,{configurable:!0,enumerable:!1,writable:!0,value:h})}for(var y=0;y1&&"number"==typeof t[t.length-1]&&(n=t.pop())):"number"==typeof u&&(n=t.pop()),null===r&&1===t.length&&t[0]instanceof o.Observable?t[0]:s.mergeAll(n)(new i.ArrayObservable(t,r))}var o=n(21),i=n(299),a=n(128),s=n(301);e.merge=r},function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n(21),i=n(300),a=n(127),s=n(128),u=function(t){function e(e,n){t.call(this),this.array=e,this.scheduler=n,n||1!==e.length||(this._isScalar=!0,this.value=e[0])}return r(e,t),e.create=function(t,n){return new e(t,n)},e.of=function(){for(var t=[],n=0;n1?new e(t,r):1===o?new i.ScalarObservable(t[0],r):new a.EmptyObservable(r)},e.dispatch=function(t){var e=t.array,n=t.index,r=t.count,o=t.subscriber;if(n>=r)return void o.complete();o.next(e[n]),o.closed||(t.index=n+1,this.schedule(t))},e.prototype._subscribe=function(t){var n=this.array,r=n.length,o=this.scheduler;if(o)return o.schedule(e.dispatch,0,{array:n,index:0,count:r,subscriber:t});for(var i=0;i0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()},e}(a.OuterSubscriber);e.MergeMapSubscriber=u},function(t,e,n){"use strict";e.isArrayLike=function(t){return t&&"number"==typeof t.length}},function(t,e,n){"use strict";function r(t){return t&&"function"!=typeof t.subscribe&&"function"==typeof t.then}e.isPromise=r},function(t,e,n){"use strict";function r(t){var e=t.Symbol;if("function"==typeof e)return e.iterator||(e.iterator=e("iterator polyfill")),e.iterator;var n=t.Set;if(n&&"function"==typeof(new n)["@@iterator"])return"@@iterator";var r=t.Map;if(r)for(var o=Object.getOwnPropertyNames(r.prototype),i=0;i1)return void(this.connection=null);var n=this.connection,r=t._connection;this.connection=null,!r||n&&r!==n||r.unsubscribe()},e}(a.Subscriber))},function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=function(t){function e(){var e=t.call(this,"object unsubscribed");this.name=e.name="ObjectUnsubscribedError",this.stack=e.stack,this.message=e.message}return r(e,t),e}(Error);e.ObjectUnsubscribedError=o},function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n(62),i=function(t){function e(e,n){t.call(this),this.subject=e,this.subscriber=n,this.closed=!1}return r(e,t),e.prototype.unsubscribe=function(){if(!this.closed){this.closed=!0;var t=this.subject,e=t.observers;if(this.subject=null,e&&0!==e.length&&!t.isStopped&&!t.closed){var n=e.indexOf(this.subscriber);-1!==n&&e.splice(n,1)}}},e}(o.Subscription);e.SubjectSubscription=i},function(t,e,n){"use strict";n.d(e,"a",function(){return f});var r=n(15),o=n(315),i=n(89),a=n(325),s=n(60),u=n(59),c=n(133),l=n(134),f=r._4(o.a,[i.a],function(t){return r._17([r._18(512,r.j,r._0,[[8,[a.a]],[3,r.j],r.y]),r._18(5120,r.w,r._16,[[3,r.w]]),r._18(4608,s.f,s.e,[r.w,[2,s.i]]),r._18(4608,r.h,r.h,[]),r._18(5120,r.a,r._8,[]),r._18(5120,r.u,r._13,[]),r._18(5120,r.v,r._14,[]),r._18(4608,u.b,u.q,[s.b]),r._18(6144,r.J,null,[u.b]),r._18(4608,u.e,u.f,[]),r._18(5120,u.c,function(t,e,n,r,o){return[new u.j(t,e),new u.n(n),new u.m(r,o)]},[s.b,r.A,s.b,s.b,u.e]),r._18(4608,u.d,u.d,[u.c,r.A]),r._18(135680,u.l,u.l,[s.b]),r._18(4608,u.k,u.k,[u.d,u.l]),r._18(6144,r.H,null,[u.k]),r._18(6144,u.o,null,[u.l]),r._18(4608,r.O,r.O,[r.A]),r._18(4608,u.g,u.g,[s.b]),r._18(4608,u.h,u.h,[s.b]),r._18(4608,c.c,c.c,[]),r._18(512,s.a,s.a,[]),r._18(1024,r.m,u.p,[]),r._18(1024,r.b,function(t){return[u.s(t)]},[[2,r.z]]),r._18(512,r.c,r.c,[[2,r.b]]),r._18(131584,r.e,r.e,[r.A,r._1,r.s,r.m,r.j,r.c]),r._18(512,r.d,r.d,[r.e]),r._18(512,u.a,u.a,[[3,u.a]]),r._18(512,c.b,c.b,[]),r._18(512,c.a,c.a,[]),r._18(512,l.a,l.a,[]),r._18(512,o.a,o.a,[])])})},function(t,e,n){"use strict";n.d(e,"a",function(){return u});var r=n(15),o=n(59),i=n(133),a=n(134),s=n(89),u=function(){function t(){}return t.decorators=[{type:r.x,args:[{imports:[o.a,i.a,a.a],declarations:[s.a],bootstrap:[s.a]}]}],t.ctorParameters=function(){return[]},t}()},function(t,e,n){"use strict";var r=n(317);e.forkJoin=r.ForkJoinObservable.create},function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n(21),i=n(127),a=n(122),s=n(129),u=n(130),c=function(t){function e(e,n){t.call(this),this.sources=e,this.resultSelector=n}return r(e,t),e.create=function(){for(var t=[],n=0;n=0;s--)(o=t[s])&&(a=(i<3?o(a):i>3?o(e,n,a):o(e,n))||a);return i>3&&a&&Object.defineProperty(e,n,a),a}e.c=r,n.d(e,"a",function(){return a}),e.b=o;var i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},a=Object.assign||function(t){for(var e,n=1,r=arguments.length;n - + \ No newline at end of file diff --git a/packages/angular/demo/jit/index.bundle-b14d66f25077304ddd26ae2ecccdbd84.js b/packages/angular/demo/jit/index.bundle-b14d66f25077304ddd26ae2ecccdbd84.js deleted file mode 100644 index ff8895c..0000000 --- a/packages/angular/demo/jit/index.bundle-b14d66f25077304ddd26ae2ecccdbd84.js +++ /dev/null @@ -1 +0,0 @@ -!function(t){function e(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,e),i.l=!0,i.exports}var n={};e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=132)}([function(t,e,n){var r=n(4),i=n(28),o=n(13),s=n(11),a=n(21),u=function(t,e,n){var c,l,p,h,f=t&u.F,d=t&u.G,v=t&u.S,y=t&u.P,m=t&u.B,g=d?r:v?r[e]||(r[e]={}):(r[e]||{}).prototype,_=d?i:i[e]||(i[e]={}),b=_.prototype||(_.prototype={});d&&(n=e);for(c in n)l=!f&&g&&void 0!==g[c],p=(l?g:n)[c],h=m&&l?a(p,r):y&&"function"==typeof p?a(Function.call,p):p,g&&s(g,c,p,t&u.U),_[c]!=p&&o(_,c,h),y&&b[c]!=p&&(b[c]=p)};r.core=i,u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,t.exports=u},function(t,e,n){var r=n(3);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(t,e,n){var r=n(51)("wks"),i=n(33),o=n(4).Symbol,s="function"==typeof o;(t.exports=function(t){return r[t]||(r[t]=s&&o[t]||(s?o:i)("Symbol."+t))}).store=r},function(t,e,n){var r=n(1),i=n(88),o=n(29),s=Object.defineProperty;e.f=n(7)?Object.defineProperty:function(t,e,n){if(r(t),e=o(e,!0),r(n),i)try{return s(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},function(t,e,n){t.exports=!n(2)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,e,n){var r=n(23),i=Math.min;t.exports=function(t){return t>0?i(r(t),9007199254740991):0}},function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},function(t,e,n){var r=n(0),i=n(2),o=n(31),s=/"/g,a=function(t,e,n,r){var i=String(o(t)),a="<"+e;return""!==n&&(a+=" "+n+'="'+String(r).replace(s,""")+'"'),a+">"+i+""};t.exports=function(t,e){var n={};n[t]=e(a),r(r.P+r.F*i(function(){var e=""[t]('"');return e!==e.toLowerCase()||e.split('"').length>3}),"String",n)}},function(t,e,n){var r=n(4),i=n(13),o=n(9),s=n(33)("src"),a=Function.toString,u=(""+a).split("toString");n(28).inspectSource=function(t){return a.call(t)},(t.exports=function(t,e,n,a){var c="function"==typeof n;c&&(o(n,"name")||i(n,"name",e)),t[e]!==n&&(c&&(o(n,s)||i(n,s,t[e]?""+t[e]:u.join(String(e)))),t===r?t[e]=n:a?t[e]?t[e]=n:i(t,e,n):(delete t[e],i(t,e,n)))})(Function.prototype,"toString",function(){return"function"==typeof this&&this[s]||a.call(this)})},function(t,e,n){var r=n(31);t.exports=function(t){return Object(r(t))}},function(t,e,n){var r=n(6),i=n(32);t.exports=n(7)?function(t,e,n){return r.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e,n){"use strict";var r=n(2);t.exports=function(t,e){return!!t&&r(function(){e?t.call(null,function(){},1):t.call(null)})}},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e,n){var r=n(46),i=n(31);t.exports=function(t){return r(i(t))}},function(t,e,n){var r=n(0),i=n(28),o=n(2);t.exports=function(t,e){var n=(i.Object||{})[t]||Object[t],s={};s[t]=e(n),r(r.S+r.F*o(function(){n(1)}),"Object",s)}},function(t,e,n){var r=n(9),i=n(12),o=n(63)("IE_PROTO"),s=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=i(t),r(t,o)?t[o]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?s:null}},function(t,e,n){var r=n(21),i=n(46),o=n(12),s=n(8),a=n(226);t.exports=function(t,e){var n=1==t,u=2==t,c=3==t,l=4==t,p=6==t,h=5==t||p,f=e||a;return function(e,a,d){for(var v,y,m=o(e),g=i(m),_=r(a,d,3),b=s(g.length),w=0,E=n?f(e,b):u?f(e,0):void 0;b>w;w++)if((h||w in g)&&(v=g[w],y=_(v,w,m),t))if(n)E[w]=y;else if(y)switch(t){case 3:return!0;case 5:return v;case 6:return w;case 2:E.push(v)}else if(l)return!1;return p?-1:c||l?l:E}}},function(t,e,n){"use strict";var r=n(44),i=n(293),o=n(124),s=n(296),a=function(){function t(t){this._isScalar=!1,t&&(this._subscribe=t)}return t.prototype.lift=function(e){var n=new t;return n.source=this,n.operator=e,n},t.prototype.subscribe=function(t,e,n){var r=this.operator,o=i.toSubscriber(t,e,n);if(r?r.call(o,this.source):o.add(this.source||!o.syncErrorThrowable?this._subscribe(o):this._trySubscribe(o)),o.syncErrorThrowable&&(o.syncErrorThrowable=!1,o.syncErrorThrown))throw o.syncErrorValue;return o},t.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){t.syncErrorThrown=!0,t.syncErrorValue=e,t.error(e)}},t.prototype.forEach=function(t,e){var n=this;if(e||(r.root.Rx&&r.root.Rx.config&&r.root.Rx.config.Promise?e=r.root.Rx.config.Promise:r.root.Promise&&(e=r.root.Promise)),!e)throw new Error("no Promise impl found");return new e(function(e,r){var i;i=n.subscribe(function(e){if(i)try{t(e)}catch(t){r(t),i.unsubscribe()}else t(e)},r,e)})},t.prototype._subscribe=function(t){return this.source.subscribe(t)},t.prototype[o.observable]=function(){return this},t.prototype.pipe=function(){for(var t=[],e=0;e0?r:n)(t)}},function(t,e,n){var r=n(53),i=n(32),o=n(16),s=n(29),a=n(9),u=n(88),c=Object.getOwnPropertyDescriptor;e.f=n(7)?c:function(t,e){if(t=o(t),e=s(e,!0),u)try{return c(t,e)}catch(t){}if(a(t,e))return i(!r.f.call(t,e),t[e])}},function(t,e,n){"use strict";if(n(7)){var r=n(39),i=n(4),o=n(2),s=n(0),a=n(59),u=n(81),c=n(21),l=n(41),p=n(32),h=n(13),f=n(42),d=n(23),v=n(8),y=n(118),m=n(34),g=n(29),_=n(9),b=n(54),w=n(3),E=n(12),C=n(76),x=n(35),S=n(18),T=n(36).f,P=n(77),O=n(33),k=n(5),M=n(19),A=n(62),N=n(80),I=n(108),D=n(47),R=n(56),j=n(40),F=n(78),L=n(107),V=n(6),H=n(24),B=V.f,U=H.f,z=i.RangeError,q=i.TypeError,W=i.Uint8Array,G=Array.prototype,Z=u.ArrayBuffer,K=u.DataView,Q=M(0),$=M(2),X=M(3),J=M(4),Y=M(5),tt=M(6),et=A(!0),nt=A(!1),rt=I.values,it=I.keys,ot=I.entries,st=G.lastIndexOf,at=G.reduce,ut=G.reduceRight,ct=G.join,lt=G.sort,pt=G.slice,ht=G.toString,ft=G.toLocaleString,dt=k("iterator"),vt=k("toStringTag"),yt=O("typed_constructor"),mt=O("def_constructor"),gt=a.CONSTR,_t=a.TYPED,bt=a.VIEW,wt=M(1,function(t,e){return Tt(N(t,t[mt]),e)}),Et=o(function(){return 1===new W(new Uint16Array([1]).buffer)[0]}),Ct=!!W&&!!W.prototype.set&&o(function(){new W(1).set({})}),xt=function(t,e){var n=d(t);if(n<0||n%e)throw z("Wrong offset!");return n},St=function(t){if(w(t)&&_t in t)return t;throw q(t+" is not a typed array!")},Tt=function(t,e){if(!(w(t)&&yt in t))throw q("It is not a typed array constructor!");return new t(e)},Pt=function(t,e){return Ot(N(t,t[mt]),e)},Ot=function(t,e){for(var n=0,r=e.length,i=Tt(t,r);r>n;)i[n]=e[n++];return i},kt=function(t,e,n){B(t,e,{get:function(){return this._d[n]}})},Mt=function(t){var e,n,r,i,o,s,a=E(t),u=arguments.length,l=u>1?arguments[1]:void 0,p=void 0!==l,h=P(a);if(void 0!=h&&!C(h)){for(s=h.call(a),r=[],e=0;!(o=s.next()).done;e++)r.push(o.value);a=r}for(p&&u>2&&(l=c(l,arguments[2],2)),e=0,n=v(a.length),i=Tt(this,n);n>e;e++)i[e]=p?l(a[e],e):a[e];return i},At=function(){for(var t=0,e=arguments.length,n=Tt(this,e);e>t;)n[t]=arguments[t++];return n},Nt=!!W&&o(function(){ft.call(new W(1))}),It=function(){return ft.apply(Nt?pt.call(St(this)):St(this),arguments)},Dt={copyWithin:function(t,e){return L.call(St(this),t,e,arguments.length>2?arguments[2]:void 0)},every:function(t){return J(St(this),t,arguments.length>1?arguments[1]:void 0)},fill:function(t){return F.apply(St(this),arguments)},filter:function(t){return Pt(this,$(St(this),t,arguments.length>1?arguments[1]:void 0))},find:function(t){return Y(St(this),t,arguments.length>1?arguments[1]:void 0)},findIndex:function(t){return tt(St(this),t,arguments.length>1?arguments[1]:void 0)},forEach:function(t){Q(St(this),t,arguments.length>1?arguments[1]:void 0)},indexOf:function(t){return nt(St(this),t,arguments.length>1?arguments[1]:void 0)},includes:function(t){return et(St(this),t,arguments.length>1?arguments[1]:void 0)},join:function(t){return ct.apply(St(this),arguments)},lastIndexOf:function(t){return st.apply(St(this),arguments)},map:function(t){return wt(St(this),t,arguments.length>1?arguments[1]:void 0)},reduce:function(t){return at.apply(St(this),arguments)},reduceRight:function(t){return ut.apply(St(this),arguments)},reverse:function(){for(var t,e=this,n=St(e).length,r=Math.floor(n/2),i=0;i1?arguments[1]:void 0)},sort:function(t){return lt.call(St(this),t)},subarray:function(t,e){var n=St(this),r=n.length,i=m(t,r);return new(N(n,n[mt]))(n.buffer,n.byteOffset+i*n.BYTES_PER_ELEMENT,v((void 0===e?r:m(e,r))-i))}},Rt=function(t,e){return Pt(this,pt.call(St(this),t,e))},jt=function(t){St(this);var e=xt(arguments[1],1),n=this.length,r=E(t),i=v(r.length),o=0;if(i+e>n)throw z("Wrong length!");for(;o255?255:255&r),i.v[f](n*e+i.o,r,Et)},k=function(t,e){B(t,e,{get:function(){return P(this,e)},set:function(t){return O(this,e,t)},enumerable:!0})};_?(d=n(function(t,n,r,i){l(t,d,c,"_d");var o,s,a,u,p=0,f=0;if(w(n)){if(!(n instanceof Z||"ArrayBuffer"==(u=b(n))||"SharedArrayBuffer"==u))return _t in n?Ot(d,n):Mt.call(d,n);o=n,f=xt(r,e);var m=n.byteLength;if(void 0===i){if(m%e)throw z("Wrong length!");if((s=m-f)<0)throw z("Wrong length!")}else if((s=v(i)*e)+f>m)throw z("Wrong length!");a=s/e}else a=y(n),s=a*e,o=new Z(s);for(h(t,"_d",{b:o,o:f,l:s,e:a,v:new K(o)});p ");else if("object"==typeof e){var r=[];for(var i in e)if(e.hasOwnProperty(i)){var o=e[i];r.push(i+":"+("string"==typeof o?JSON.stringify(o):l(o)))}n="{"+r.join(", ")+"}"}return"StaticInjectorError["+n+"]: "+t.replace(oo,"\n ")}function b(t,e){return new Error(_(t,e))}function w(t){return t[uo]}function E(t){return t[co]}function C(t){return t[lo]||x}function x(t){for(var e=[],n=1;n-1)return e.push(t[n]),e;e.push(t[n])}return e}function P(t){if(t.length>1){return" ("+T(t.slice().reverse()).map(function(t){return l(t.token)}).join(" -> ")+")"}return""}function O(t,e,n,r){var i=[e],o=n(i),s=r?S(o,r):Error(o);return s.addKey=k,s.keys=i,s.injectors=[t],s.constructResolvingMessage=n,s[co]=r,s}function k(t,e){this.injectors.push(t),this.keys.push(e),this.message=this.constructResolvingMessage(this.keys)}function M(t,e){return O(t,e,function(t){return"No provider for "+l(t[0].token)+"!"+P(t)})}function A(t,e){return O(t,e,function(t){return"Cannot instantiate cyclic dependency!"+P(t)})}function N(t,e,n,r){return O(t,r,function(t){var n=l(t[0].token);return e.message+": Error during instantiation of "+n+"!"+P(t)+"."},e)}function I(t){return Error("Invalid provider - only instances of Provider and Type are allowed, got: "+t)}function D(t,e){for(var n=[],r=0,i=e.length;r-1&&t.splice(n,1)}function wt(t,e){var n=ms.get(t);if(n)throw new Error("Duplicate module registered for "+t+" - "+n.moduleType.name+" vs "+e.moduleType.name);ms.set(t,e)}function Et(t){return t.reduce(function(t,e){var n=Array.isArray(e)?Et(e):e;return t.concat(n)},[])}function Ct(t,e,n){if(!t)throw new Error("Cannot find '"+n+"' in '"+e+"'");return t}function xt(t,e,n){t.childNodes.forEach(function(t){t instanceof Ps&&(e(t)&&n.push(t),xt(t,e,n))})}function St(t,e,n){t instanceof Ps&&t.childNodes.forEach(function(t){e(t)&&n.push(t),t instanceof Ps&&St(t,e,n)})}function Tt(t){return Os.get(t)||null}function Pt(t){Os.set(t.nativeNode,t)}function Ot(t){Os.delete(t.nativeNode)}function kt(t,e){var n=Mt(t),r=Mt(e);if(n&&r)return At(t,e,kt);var i=t&&("object"==typeof t||"function"==typeof t),o=e&&("object"==typeof e||"function"==typeof e);return!(n||!i||r||!o)||c(t,e)}function Mt(t){return!!It(t)&&(Array.isArray(t)||!(t instanceof Map)&&a()in t)}function At(t,e,n){for(var r=t[a()](),i=e[a()]();;){var o=r.next(),s=i.next();if(o.done&&s.done)return!0;if(o.done||s.done)return!1;if(!n(o.value,s.value))return!1}}function Nt(t,e){if(Array.isArray(t))for(var n=0;n0&&Fe(t,e,0,n)&&(f=!0),h>1&&Fe(t,e,1,r)&&(f=!0),h>2&&Fe(t,e,2,i)&&(f=!0),h>3&&Fe(t,e,3,o)&&(f=!0),h>4&&Fe(t,e,4,s)&&(f=!0),h>5&&Fe(t,e,5,a)&&(f=!0),h>6&&Fe(t,e,6,u)&&(f=!0),h>7&&Fe(t,e,7,c)&&(f=!0),h>8&&Fe(t,e,8,l)&&(f=!0),h>9&&Fe(t,e,9,p)&&(f=!0),f}function je(t,e,n){for(var r=!1,i=0;i0?i[n-1]:null,r)}function Xe(t,e){var n=ue(e);if(n&&n!==t&&!(16&e.state)){e.state|=16;var r=n.template._projectedViews;r||(r=n.template._projectedViews=[]),r.push(e),Je(e.parent.def,e.parentNodeDef)}}function Je(t,e){if(!(4&e.flags)){t.nodeFlags|=4,e.flags|=4;for(var n=e.parent;n;)n.childFlags|=4,n=n.parent}}function Ye(t,e){var n=t.viewContainer._embeddedViews;if((null==e||e>=n.length)&&(e=n.length-1),e<0)return null;var r=n[e];return r.viewContainerParent=null,sn(n,e),ea.dirtyParentQueries(r),rn(r),r}function tn(t){if(16&t.state){var e=ue(t);if(e){var n=e.template._projectedViews;n&&(sn(n,n.indexOf(t)),ea.dirtyParentQueries(t))}}}function en(t,e,n){var r=t.viewContainer._embeddedViews,i=r[e];return sn(r,e),null==n&&(n=r.length),on(r,n,i),ea.dirtyParentQueries(i),rn(i),nn(t,n>0?r[n-1]:null,i),i}function nn(t,e,n){var r=e?le(e,e.def.lastRenderRootNode):t.renderElement;be(n,2,n.renderer.parentNode(r),n.renderer.nextSibling(r),void 0)}function rn(t){be(t,3,null,null,void 0)}function on(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function sn(t,e){e>=t.length-1?t.pop():t.splice(e,1)}function an(t,e,n,r,i,o){return new va(t,e,n,r,i,o)}function un(t){return t.viewDefFactory}function cn(t,e,n){return new ma(t,e,n)}function ln(t){return new ga(t)}function pn(t,e){return new _a(t,e)}function hn(t,e){return new ba(t,e)}function fn(t,e){var n=t.def.nodes[e];if(1&n.flags){var r=Ut(t,n.nodeIndex);return n.element.template?r.template:r.renderElement}if(2&n.flags)return Bt(t,n.nodeIndex).renderText;if(20240&n.flags)return zt(t,n.nodeIndex).instance;throw new Error("Illegal state: read nodeValue for node index "+e)}function dn(t){return new wa(t.renderer)}function vn(t,e,n,r){return new Ea(t,e,n,r)}function yn(t,e,n,r,i,o,s,a){var u=[];if(s)for(var c in s){var l=s[c],p=l[0],h=l[1];u[p]={flags:8,name:c,nonMinifiedName:h,ns:null,securityContext:null,suffix:null}}var f=[];if(a)for(var d in a)f.push({type:1,propName:d,target:null,eventName:a[d]});return e|=16384,_n(t,e,n,r,i,i,o,u,f)}function mn(t,e,n){return t|=16,_n(-1,t,null,0,e,e,n)}function gn(t,e,n,r,i){return _n(-1,t,e,0,n,r,i)}function _n(t,e,n,r,i,o,s,a,u){var c=ve(n),l=c.matchedQueries,p=c.references,f=c.matchedQueryIds;u||(u=[]),a||(a=[]),o=h(o);var d=ye(s);return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:t,flags:e,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:l,matchedQueryIds:f,references:p,ngContentIndex:-1,childCount:r,bindings:a,bindingFlags:Te(a),outputs:u,element:null,provider:{token:i,value:o,deps:d},text:null,query:null,ngContent:null}}function bn(t,e){return Tn(t,e)}function wn(t,e){for(var n=t;n.parent&&!he(n);)n=n.parent;return Pn(n.parent,ce(n),!0,e.provider.value,e.provider.deps)}function En(t,e){var n=(32768&e.flags)>0,r=Pn(t,e.parent,n,e.provider.value,e.provider.deps);if(e.outputs.length)for(var i=0;i0&&ne(t,e,0,n)&&(d=!0,v=An(t,h,e,0,n,v)),y>1&&ne(t,e,1,r)&&(d=!0,v=An(t,h,e,1,r,v)),y>2&&ne(t,e,2,i)&&(d=!0,v=An(t,h,e,2,i,v)),y>3&&ne(t,e,3,o)&&(d=!0,v=An(t,h,e,3,o,v)),y>4&&ne(t,e,4,s)&&(d=!0,v=An(t,h,e,4,s,v)),y>5&&ne(t,e,5,a)&&(d=!0,v=An(t,h,e,5,a,v)),y>6&&ne(t,e,6,u)&&(d=!0,v=An(t,h,e,6,u,v)),y>7&&ne(t,e,7,c)&&(d=!0,v=An(t,h,e,7,c,v)),y>8&&ne(t,e,8,l)&&(d=!0,v=An(t,h,e,8,l,v)),y>9&&ne(t,e,9,p)&&(d=!0,v=An(t,h,e,9,p,v)),v&&f.ngOnChanges(v),65536&e.flags&&Ht(t,256,e.nodeIndex)&&f.ngOnInit(),262144&e.flags&&f.ngDoCheck(),d}function Sn(t,e,n){for(var r=zt(t,e.nodeIndex),i=r.instance,o=!1,s=void 0,a=0;a0,r=e.provider;switch(201347067&e.flags){case 512:return Pn(t,e.parent,n,r.value,r.deps);case 1024:return On(t,e.parent,n,r.value,r.deps);case 2048:return kn(t,e.parent,n,r.deps[0]);case 256:return r.value}}function Pn(t,e,n,r,i){var o=i.length;switch(o){case 0:return new r;case 1:return new r(kn(t,e,n,i[0]));case 2:return new r(kn(t,e,n,i[0]),kn(t,e,n,i[1]));case 3:return new r(kn(t,e,n,i[0]),kn(t,e,n,i[1]),kn(t,e,n,i[2]));default:for(var s=new Array(o),a=0;a0&&re(t,e,0,n)&&(f=!0),d>1&&re(t,e,1,r)&&(f=!0),d>2&&re(t,e,2,i)&&(f=!0),d>3&&re(t,e,3,o)&&(f=!0),d>4&&re(t,e,4,s)&&(f=!0),d>5&&re(t,e,5,a)&&(f=!0),d>6&&re(t,e,6,u)&&(f=!0),d>7&&re(t,e,7,c)&&(f=!0),d>8&&re(t,e,8,l)&&(f=!0),d>9&&re(t,e,9,p)&&(f=!0),f){var v=qt(t,e.nodeIndex),y=void 0;switch(201347067&e.flags){case 32:y=new Array(h.length),d>0&&(y[0]=n),d>1&&(y[1]=r),d>2&&(y[2]=i),d>3&&(y[3]=o),d>4&&(y[4]=s),d>5&&(y[5]=a),d>6&&(y[6]=u),d>7&&(y[7]=c),d>8&&(y[8]=l),d>9&&(y[9]=p);break;case 64:y={},d>0&&(y[h[0].name]=n),d>1&&(y[h[1].name]=r),d>2&&(y[h[2].name]=i),d>3&&(y[h[3].name]=o),d>4&&(y[h[4].name]=s),d>5&&(y[h[5].name]=a),d>6&&(y[h[6].name]=u),d>7&&(y[h[7].name]=c),d>8&&(y[h[8].name]=l),d>9&&(y[h[9].name]=p);break;case 128:var m=n;switch(d){case 1:y=m.transform(n);break;case 2:y=m.transform(r);break;case 3:y=m.transform(r,i);break;case 4:y=m.transform(r,i,o);break;case 5:y=m.transform(r,i,o,s);break;case 6:y=m.transform(r,i,o,s,a);break;case 7:y=m.transform(r,i,o,s,a,u);break;case 8:y=m.transform(r,i,o,s,a,u,c);break;case 9:y=m.transform(r,i,o,s,a,u,c,l);break;case 10:y=m.transform(r,i,o,s,a,u,c,l,p)}}v.value=y}return f}function Qn(t,e,n){for(var r=e.bindings,i=!1,o=0;o0&&re(t,e,0,n)&&(h=!0),d>1&&re(t,e,1,r)&&(h=!0),d>2&&re(t,e,2,i)&&(h=!0),d>3&&re(t,e,3,o)&&(h=!0),d>4&&re(t,e,4,s)&&(h=!0),d>5&&re(t,e,5,a)&&(h=!0),d>6&&re(t,e,6,u)&&(h=!0),d>7&&re(t,e,7,c)&&(h=!0),d>8&&re(t,e,8,l)&&(h=!0),d>9&&re(t,e,9,p)&&(h=!0),h){var v=e.text.prefix;d>0&&(v+=tr(n,f[0])),d>1&&(v+=tr(r,f[1])),d>2&&(v+=tr(i,f[2])),d>3&&(v+=tr(o,f[3])),d>4&&(v+=tr(s,f[4])),d>5&&(v+=tr(a,f[5])),d>6&&(v+=tr(u,f[6])),d>7&&(v+=tr(c,f[7])),d>8&&(v+=tr(l,f[8])),d>9&&(v+=tr(p,f[9]));var y=Bt(t,e.nodeIndex).renderText;t.renderer.setValue(y,v)}return h}function Yn(t,e,n){for(var r=e.bindings,i=!1,o=0;o0)c=v,nr(v)||(l=v);else for(;c&&d===c.nodeIndex+c.childCount;){var _=c.parent;_&&(_.childFlags|=c.childFlags,_.childMatchedQueries|=c.childMatchedQueries),c=_,l=c&&nr(c)?c.renderParent:c}}var b=function(t,n,r,i){return e[n].element.handleEvent(t,r,i)};return{factory:null,nodeFlags:s,rootNodeFlags:a,nodeMatchedQueries:u,flags:t,nodes:e,updateDirectives:n||na,updateRenderer:r||na,handleEvent:b,bindingCount:i,outputCount:o,lastRenderRootNode:f}}function nr(t){return 0!=(1&t.flags)&&null===t.element.name}function rr(t,e,n){var r=e.element&&e.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 "+e.nodeIndex+"!")}if(20224&e.flags){if(0==(1&(t?t.flags:0)))throw new Error("Illegal State: StaticProvider/Directive nodes need to be children of elements or anchors, at index "+e.nodeIndex+"!")}if(e.query){if(67108864&e.flags&&(!t||0==(16384&t.flags)))throw new Error("Illegal State: Content Query nodes need to be children of directives, at index "+e.nodeIndex+"!");if(134217728&e.flags&&t)throw new Error("Illegal State: View Query nodes have to be top level nodes, at index "+e.nodeIndex+"!")}if(e.childCount){var i=t?t.nodeIndex+t.childCount:n-1;if(e.nodeIndex<=i&&e.nodeIndex+e.childCount>i)throw new Error("Illegal State: childCount of node leads outside of parent, at index "+e.nodeIndex+"!")}}function ir(t,e,n,r){var i=ar(t.root,t.renderer,t,e,n);return ur(i,t.component,r),cr(i),i}function or(t,e,n){var r=ar(t,t.renderer,null,null,e);return ur(r,n,n),cr(r),r}function sr(t,e,n,r){var i,o=e.element.componentRendererType;return i=o?t.root.rendererFactory.createRenderer(r,o):t.root.renderer,ar(t.root,i,t,e.element.componentProvider,n)}function ar(t,e,n,r,i){var o=new Array(i.nodes.length),s=i.outputCount?new Array(i.outputCount):null;return{def:i,parent:n,viewContainerParent:null,parentNodeDef:r,context:null,component:null,nodes:o,state:13,root:t,renderer:e,oldValues:new Array(i.bindingCount),disposables:s,initIndex:-1}}function ur(t,e,n){t.component=e,t.context=n}function cr(t){var e;if(he(t)){var n=t.parentNodeDef;e=Ut(t.parent,n.parent.nodeIndex).renderElement}for(var r=t.def,i=t.nodes,o=0;o0&&ie(t,e,0,n),h>1&&ie(t,e,1,r),h>2&&ie(t,e,2,i),h>3&&ie(t,e,3,o),h>4&&ie(t,e,4,s),h>5&&ie(t,e,5,a),h>6&&ie(t,e,6,u),h>7&&ie(t,e,7,c),h>8&&ie(t,e,8,l),h>9&&ie(t,e,9,p)}function gr(t,e,n){for(var r=0;r=this._providers.length)throw R(t);return this._providers[t]},t.prototype._new=function(t){if(this._constructionCounter++>this._getMaxNumberOfObjects())throw A(this,t.key);return this._instantiateProvider(t)},t.prototype._getMaxNumberOfObjects=function(){return this.objs.length},t.prototype._instantiateProvider=function(t){if(t.multiProvider){for(var e=new Array(t.resolvedFactories.length),n=0;n0)t._bootstrapComponents.forEach(function(t){return e.bootstrap(t)});else{if(!t.instance.ngDoBootstrap)throw new Error("The module "+l(t.instance.constructor)+' was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.');t.instance.ngDoBootstrap(e)}this._modules.push(t)},t.prototype.onDestroy=function(t){this._destroyListeners.push(t)},Object.defineProperty(t.prototype,"injector",{get:function(){return this._injector},enumerable:!0,configurable:!0}),t.prototype.destroy=function(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(function(t){return t.destroy()}),this._destroyListeners.forEach(function(t){return t()}),this._destroyed=!0},Object.defineProperty(t.prototype,"destroyed",{get:function(){return this._destroyed},enumerable:!0,configurable:!0}),t.decorators=[{type:Fi}],t.ctorParameters=function(){return[{type:Qi}]},t}(),ps=function(){function t(t,e,n,r,i,o){var s=this;this._zone=t,this._console=e,this._injector=n,this._exceptionHandler=r,this._componentFactoryResolver=i,this._initStatus=o,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=ht(),this._zone.onMicrotaskEmpty.subscribe({next:function(){s._zone.run(function(){s.tick()})}});var a=new li.Observable(function(t){s._stable=s._zone.isStable&&!s._zone.hasPendingMacrotasks&&!s._zone.hasPendingMicrotasks,s._zone.runOutsideAngular(function(){t.next(s._stable),t.complete()})}),c=new li.Observable(function(t){var e;s._zone.runOutsideAngular(function(){e=s._zone.onStable.subscribe(function(){Yo.assertNotInAngularZone(),u(function(){s._stable||s._zone.hasPendingMacrotasks||s._zone.hasPendingMicrotasks||(s._stable=!0,t.next(!0))})})});var n=s._zone.onUnstable.subscribe(function(){Yo.assertInAngularZone(),s._stable&&(s._stable=!1,s._zone.runOutsideAngular(function(){t.next(!1)}))});return function(){e.unsubscribe(),n.unsubscribe()}});this.isStable=Object(pi.merge)(a,hi.share.call(c))}return t.prototype.bootstrap=function(t,e){var n=this;if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.");var r;r=t instanceof Bo?t:this._componentFactoryResolver.resolveComponentFactory(t),this.componentTypes.push(r.componentType);var i=r instanceof Go?null:this._injector.get(Zo),o=e||r.selector,s=r.create(Qi.NULL,[],o,i);s.onDestroy(function(){n._unloadComponent(s)});var a=s.injector.get(ns,null);return a&&s.injector.get(rs).registerApplication(s.location.nativeElement,a),this._loadComponent(s),ht()&&this._console.log("Angular is running in the development mode. Call enableProdMode() to enable the production mode."),s},t.prototype.tick=function(){var e=this;if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");var n=t._tickScope();try{this._runningTick=!0,this._views.forEach(function(t){return t.detectChanges()}),this._enforceNoNewChanges&&this._views.forEach(function(t){return t.checkNoChanges()})}catch(t){this._zone.runOutsideAngular(function(){return e._exceptionHandler.handleError(t)})}finally{this._runningTick=!1,Xo(n)}},t.prototype.attachView=function(t){var e=t;this._views.push(e),e.attachToAppRef(this)},t.prototype.detachView=function(t){var e=t;bt(this._views,e),e.detachFromAppRef()},t.prototype._loadComponent=function(t){this.attachView(t.hostView),this.tick(),this.components.push(t),this._injector.get(Do,[]).concat(this._bootstrapListeners).forEach(function(e){return e(t)})},t.prototype._unloadComponent=function(t){this.detachView(t.hostView),bt(this.components,t)},t.prototype.ngOnDestroy=function(){this._views.slice().forEach(function(t){return t.destroy()})},Object.defineProperty(t.prototype,"viewCount",{get:function(){return this._views.length},enumerable:!0,configurable:!0}),t._tickScope=$o("ApplicationRef#tick()"),t.decorators=[{type:Fi}],t.ctorParameters=function(){return[{type:Yo},{type:jo},{type:Qi},{type:po},{type:qo},{type:ko}]},t}(),hs=(function(){function t(t,e,n,r,i,o){this.id=t,this.templateUrl=e,this.slotCount=n,this.encapsulation=r,this.styles=i,this.animations=o}}(),function(){function t(){}}(),function(){function t(){}return t}()),fs=(new di("Renderer2Interceptor"),function(){function t(){}}(),function(){function t(){}return t}()),ds={Important:1,DashCase:2};ds[ds.Important]="Important",ds[ds.DashCase]="DashCase";var vs=function(){function t(){}return t}(),ys=function(){function t(t){this.nativeElement=t}return t}(),ms=(function(){function t(){}}(),new Map),gs=function(){function t(){this.dirty=!0,this._results=[],this.changes=new Jo}return Object.defineProperty(t.prototype,"length",{get:function(){return this._results.length},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"first",{get:function(){return this._results[0]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"last",{get:function(){return this._results[this.length-1]},enumerable:!0,configurable:!0}),t.prototype.map=function(t){return this._results.map(t)},t.prototype.filter=function(t){return this._results.filter(t)},t.prototype.find=function(t){return this._results.find(t)},t.prototype.reduce=function(t,e){return this._results.reduce(t,e)},t.prototype.forEach=function(t){this._results.forEach(t)},t.prototype.some=function(t){return this._results.some(t)},t.prototype.toArray=function(){return this._results.slice()},t.prototype[a()]=function(){return this._results[a()]()},t.prototype.toString=function(){return this._results.toString()},t.prototype.reset=function(t){this._results=Et(t),this.dirty=!1},t.prototype.notifyOnChanges=function(){this.changes.emit(this)},t.prototype.setDirty=function(){this.dirty=!0},t.prototype.destroy=function(){this.changes.complete(),this.changes.unsubscribe()},t}(),_s=function(){function t(){}return t}(),bs={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"},ws=(function(){function t(t,e){this._compiler=t,this._config=e||bs}t.prototype.load=function(t){return this._compiler instanceof Fo?this.loadFactory(t):this.loadAndCompile(t)},t.prototype.loadAndCompile=function(t){var e=this,r=t.split("#"),i=r[0],o=r[1];return void 0===o&&(o="default"),n(130)(i).then(function(t){return t[o]}).then(function(t){return Ct(t,i,o)}).then(function(t){return e._compiler.compileModuleAsync(t)})},t.prototype.loadFactory=function(t){var e=t.split("#"),r=e[0],i=e[1],o="NgFactory";return void 0===i&&(i="default",o=""),n(130)(this._config.factoryPathPrefix+r+this._config.factoryPathSuffix).then(function(t){return t[i+o]}).then(function(t){return Ct(t,r,i)})},t.decorators=[{type:Fi}],t.ctorParameters=function(){return[{type:Fo},{type:_s,decorators:[{type:ji}]}]}}(),function(){function t(){}return t}()),Es=function(){function t(){}return t}(),Cs=function(){function t(){}return t}(),xs=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(ci.b)(e,t),e}(Cs),Ss=(function(t){function e(){return null!==t&&t.apply(this,arguments)||this}Object(ci.b)(e,t)}(xs),function(){function t(t,e){this.name=t,this.callback=e}return t}()),Ts=function(){function t(t,e,n){this._debugContext=n,this.nativeNode=t,e&&e instanceof Ps?e.addChild(this):this.parent=null,this.listeners=[]}return Object.defineProperty(t.prototype,"injector",{get:function(){return this._debugContext.injector},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"componentInstance",{get:function(){return this._debugContext.component},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"context",{get:function(){return this._debugContext.context},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"references",{get:function(){return this._debugContext.references},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"providerTokens",{get:function(){return this._debugContext.providerTokens},enumerable:!0,configurable:!0}),t}(),Ps=function(t){function e(e,n,r){var i=t.call(this,e,n,r)||this;return i.properties={},i.attributes={},i.classes={},i.styles={},i.childNodes=[],i.nativeElement=e,i}return Object(ci.b)(e,t),e.prototype.addChild=function(t){t&&(this.childNodes.push(t),t.parent=this)},e.prototype.removeChild=function(t){var e=this.childNodes.indexOf(t);-1!==e&&(t.parent=null,this.childNodes.splice(e,1))},e.prototype.insertChildrenAfter=function(t,e){var n=this,r=this.childNodes.indexOf(t);-1!==r&&((i=this.childNodes).splice.apply(i,[r+1,0].concat(e)),e.forEach(function(t){t.parent&&t.parent.removeChild(t),t.parent=n}));var i},e.prototype.insertBefore=function(t,e){var n=this.childNodes.indexOf(t);-1===n?this.addChild(e):(e.parent&&e.parent.removeChild(e),e.parent=this,this.childNodes.splice(n,0,e))},e.prototype.query=function(t){return this.queryAll(t)[0]||null},e.prototype.queryAll=function(t){var e=[];return xt(this,t,e),e},e.prototype.queryAllNodes=function(t){var e=[];return St(this,t,e),e},Object.defineProperty(e.prototype,"children",{get:function(){return this.childNodes.filter(function(t){return t instanceof e})},enumerable:!0,configurable:!0}),e.prototype.triggerEventHandler=function(t,e){this.listeners.forEach(function(n){n.name==t&&n.callback(e)})},e}(Ts),Os=new Map,ks=function(){function t(t){this.wrapped=t}return t.wrap=function(e){return new t(e)},t}(),Ms=(function(){function t(){this.hasWrappedValue=!1}t.prototype.unwrap=function(t){return t instanceof ks?(this.hasWrappedValue=!0,t.wrapped):t},t.prototype.reset=function(){this.hasWrappedValue=!1}}(),function(){function t(t,e,n){this.previousValue=t,this.currentValue=e,this.firstChange=n}return t.prototype.isFirstChange=function(){return this.firstChange},t}()),As=function(){function t(){}return t.prototype.supports=function(t){return Mt(t)},t.prototype.create=function(t){return new Is(t)},t}(),Ns=function(t,e){return e},Is=function(){function t(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||Ns}return t.prototype.forEachItem=function(t){var e;for(e=this._itHead;null!==e;e=e._next)t(e)},t.prototype.forEachOperation=function(t){for(var e=this._itHead,n=this._removalsHead,r=0,i=null;e||n;){var o=!n||e&&e.currentIndex=0;e--){var n=Ye(this._data,e);ea.destroyView(n)}},t.prototype.get=function(t){var e=this._embeddedViews[t];if(e){var n=new ga(e);return n.attachToViewContainerRef(this),n}return null},Object.defineProperty(t.prototype,"length",{get:function(){return this._embeddedViews.length},enumerable:!0,configurable:!0}),t.prototype.createEmbeddedView=function(t,e,n){var r=t.createEmbeddedView(e||{});return this.insert(r,n),r},t.prototype.createComponent=function(t,e,n,r,i){var o=n||this.parentInjector;i||t instanceof Go||(i=o.get(Zo));var s=t.create(o,r,void 0,i);return this.insert(s.hostView,e),s},t.prototype.insert=function(t,e){if(t.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");var n=t,r=n._view;return $e(this._view,this._data,e,r),n.attachToViewContainerRef(this),t},t.prototype.move=function(t,e){if(t.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");var n=this._embeddedViews.indexOf(t._view);return en(this._data,n,e),t},t.prototype.indexOf=function(t){return this._embeddedViews.indexOf(t._view)},t.prototype.remove=function(t){var e=Ye(this._data,t);e&&ea.destroyView(e)},t.prototype.detach=function(t){var e=Ye(this._data,t);return e?new ga(e):null},t}(),ga=function(){function t(t){this._view=t,this._viewContainerRef=null,this._appRef=null}return Object.defineProperty(t.prototype,"rootNodes",{get:function(){return _e(this._view)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"context",{get:function(){return this._view.context},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"destroyed",{get:function(){return 0!=(128&this._view.state)},enumerable:!0,configurable:!0}),t.prototype.markForCheck=function(){oe(this._view)},t.prototype.detach=function(){this._view.state&=-5},t.prototype.detectChanges=function(){var t=this._view.root.rendererFactory;t.begin&&t.begin();try{ea.checkAndUpdateView(this._view)}finally{t.end&&t.end()}},t.prototype.checkNoChanges=function(){ea.checkNoChangesView(this._view)},t.prototype.reattach=function(){this._view.state|=4},t.prototype.onDestroy=function(t){this._view.disposables||(this._view.disposables=[]),this._view.disposables.push(t)},t.prototype.destroy=function(){this._appRef?this._appRef.detachView(this):this._viewContainerRef&&this._viewContainerRef.detach(this._viewContainerRef.indexOf(this)),ea.destroyView(this._view)},t.prototype.detachFromAppRef=function(){this._appRef=null,rn(this._view),ea.dirtyParentQueries(this._view)},t.prototype.attachToAppRef=function(t){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=t},t.prototype.attachToViewContainerRef=function(t){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=t},t}(),_a=function(t){function e(e,n){var r=t.call(this)||this;return r._parentView=e,r._def=n,r}return Object(ci.b)(e,t),e.prototype.createEmbeddedView=function(t){return new ga(ea.createEmbeddedView(this._parentView,this._def,this._def.element.template,t))},Object.defineProperty(e.prototype,"elementRef",{get:function(){return new ys(Ut(this._parentView,this._def.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),e}(ws),ba=function(){function t(t,e){this.view=t,this.elDef=e}return t.prototype.get=function(t,e){void 0===e&&(e=Qi.THROW_IF_NOT_FOUND);var n=!!this.elDef&&0!=(33554432&this.elDef.flags);return ea.resolveDep(this.view,this.elDef,n,{flags:0,token:t,tokenKey:Jt(t)},e)},t}(),wa=function(){function t(t){this.delegate=t}return t.prototype.selectRootElement=function(t){return this.delegate.selectRootElement(t)},t.prototype.createElement=function(t,e){var n=Se(e),r=n[0],i=n[1],o=this.delegate.createElement(i,r);return t&&this.delegate.appendChild(t,o),o},t.prototype.createViewRoot=function(t){return t},t.prototype.createTemplateAnchor=function(t){var e=this.delegate.createComment("");return t&&this.delegate.appendChild(t,e),e},t.prototype.createText=function(t,e){var n=this.delegate.createText(e);return t&&this.delegate.appendChild(t,n),n},t.prototype.projectNodes=function(t,e){for(var n=0;ndocument.F=Object<\/script>"),t.close(),u=t.F;r--;)delete u.prototype[o[r]];return u()};t.exports=Object.create||function(t,e){var n;return null!==t?(a.prototype=r(t),n=new a,a.prototype=null,n[s]=t):n=u(),void 0===e?n:i(n,e)}},function(t,e,n){var r=n(90),i=n(64).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,i)}},function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n(119),o=n(60),s=n(123),a=n(83),u=function(t){function e(n,r,i){switch(t.call(this),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=s.empty;break;case 1:if(!n){this.destination=s.empty;break}if("object"==typeof n){n instanceof e?(this.syncErrorThrowable=n.syncErrorThrowable,this.destination=n,this.destination.add(this)):(this.syncErrorThrowable=!0,this.destination=new c(this,n));break}default:this.syncErrorThrowable=!0,this.destination=new c(this,n,r,i)}}return r(e,t),e.prototype[a.rxSubscriber]=function(){return this},e.create=function(t,n,r){var i=new e(t,n,r);return i.syncErrorThrowable=!1,i},e.prototype.next=function(t){this.isStopped||this._next(t)},e.prototype.error=function(t){this.isStopped||(this.isStopped=!0,this._error(t))},e.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},e.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,t.prototype.unsubscribe.call(this))},e.prototype._next=function(t){this.destination.next(t)},e.prototype._error=function(t){this.destination.error(t),this.unsubscribe()},e.prototype._complete=function(){this.destination.complete(),this.unsubscribe()},e.prototype._unsubscribeAndRecycle=function(){var t=this,e=t._parent,n=t._parents;return this._parent=null,this._parents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parent=e,this._parents=n,this},e}(o.Subscription);e.Subscriber=u;var c=function(t){function e(e,n,r,o){t.call(this),this._parentSubscriber=e;var a,u=this;i.isFunction(n)?a=n:n&&(a=n.next,r=n.error,o=n.complete,n!==s.empty&&(u=Object.create(n),i.isFunction(u.unsubscribe)&&this.add(u.unsubscribe.bind(u)),u.unsubscribe=this.unsubscribe.bind(this))),this._context=u,this._next=a,this._error=r,this._complete=o}return r(e,t),e.prototype.next=function(t){if(!this.isStopped&&this._next){var e=this._parentSubscriber;e.syncErrorThrowable?this.__tryOrSetError(e,this._next,t)&&this.unsubscribe():this.__tryOrUnsub(this._next,t)}},e.prototype.error=function(t){if(!this.isStopped){var e=this._parentSubscriber;if(this._error)e.syncErrorThrowable?(this.__tryOrSetError(e,this._error,t),this.unsubscribe()):(this.__tryOrUnsub(this._error,t),this.unsubscribe());else{if(!e.syncErrorThrowable)throw this.unsubscribe(),t;e.syncErrorValue=t,e.syncErrorThrown=!0,this.unsubscribe()}}},e.prototype.complete=function(){var t=this;if(!this.isStopped){var e=this._parentSubscriber;if(this._complete){var n=function(){return t._complete.call(t._context)};e.syncErrorThrowable?(this.__tryOrSetError(e,n),this.unsubscribe()):(this.__tryOrUnsub(n),this.unsubscribe())}else this.unsubscribe()}},e.prototype.__tryOrUnsub=function(t,e){try{t.call(this._context,e)}catch(t){throw this.unsubscribe(),t}},e.prototype.__tryOrSetError=function(t,e,n){try{e.call(this._context,n)}catch(e){return t.syncErrorValue=e,t.syncErrorThrown=!0,!0}return!1},e.prototype._unsubscribe=function(){var t=this._parentSubscriber;this._context=null,this._parentSubscriber=null,t.unsubscribe()},e}(u)},function(t,e,n){var r=n(6).f,i=n(9),o=n(5)("toStringTag");t.exports=function(t,e,n){t&&!i(t=n?t:t.prototype,o)&&r(t,o,{configurable:!0,value:e})}},function(t,e){t.exports=!1},function(t,e,n){"use strict";var r=n(4),i=n(6),o=n(7),s=n(5)("species");t.exports=function(t){var e=r[t];o&&e&&!e[s]&&i.f(e,s,{configurable:!0,get:function(){return this}})}},function(t,e){t.exports=function(t,e,n,r){if(!(t instanceof e)||void 0!==r&&r in t)throw TypeError(n+": incorrect invocation!");return t}},function(t,e,n){var r=n(11);t.exports=function(t,e,n){for(var i in e)r(t,i,e[i],n);return t}},function(t,e,n){var r=n(3);t.exports=function(t,e){if(!r(t)||t._t!==e)throw TypeError("Incompatible receiver, "+e+" required!");return t}},function(t,e,n){"use strict";(function(t){var n="undefined"!=typeof window&&window,r="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,i=void 0!==t&&t,o=n||i||r;e.root=o,function(){if(!o)throw new Error("RxJS could not find any global context (window, self, global)")}()}).call(e,n(82))},function(t,e,n){var r=n(90),i=n(64);t.exports=Object.keys||function(t){return r(t,i)}},function(t,e,n){var r=n(22);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},function(t,e){t.exports={}},function(t,e,n){var r=n(5)("unscopables"),i=Array.prototype;void 0==i[r]&&n(13)(i,r,{}),t.exports=function(t){i[r][t]=!0}},function(t,e,n){var r=n(21),i=n(104),o=n(76),s=n(1),a=n(8),u=n(77),c={},l={},e=t.exports=function(t,e,n,p,h){var f,d,v,y,m=h?function(){return t}:u(t),g=r(n,p,e?2:1),_=0;if("function"!=typeof m)throw TypeError(t+" is not iterable!");if(o(m)){for(f=a(t.length);f>_;_++)if((y=e?g(s(d=t[_])[0],d[1]):g(t[_]))===c||y===l)return y}else for(v=m.call(t);!(d=v.next()).done;)if((y=i(v,g,d.value,e))===c||y===l)return y};e.BREAK=c,e.RETURN=l},function(t,e,n){"use strict";function r(t,e){function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}e.b=r,n.d(e,"a",function(){return o});var i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},o=Object.assign||function(t){for(var e,n=1,r=arguments.length;nl;)if((a=u[l++])!=a)return!0}else for(;c>l;l++)if((t||l in u)&&u[l]===n)return t||l||0;return!t&&-1}}},function(t,e,n){var r=n(51)("keys"),i=n(33);t.exports=function(t){return r[t]||(r[t]=i(t))}},function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,e,n){var r=n(22);t.exports=Array.isArray||function(t){return"Array"==r(t)}},function(t,e,n){var r=n(4).document;t.exports=r&&r.documentElement},function(t,e,n){var r=n(3),i=n(1),o=function(t,e){if(i(t),!r(e)&&null!==e)throw TypeError(e+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,e,r){try{r=n(21)(Function.call,n(24).f(Object.prototype,"__proto__").set,2),r(t,[]),e=!(t instanceof Array)}catch(t){e=!0}return function(t,n){return o(t,n),e?t.__proto__=n:r(t,n),t}}({},!1):void 0),check:o}},function(t,e){t.exports="\t\n\v\f\r   ᠎              \u2028\u2029\ufeff"},function(t,e,n){var r=n(3),i=n(67).set;t.exports=function(t,e,n){var o,s=e.constructor;return s!==n&&"function"==typeof s&&(o=s.prototype)!==n.prototype&&r(o)&&i&&i(t,o),t}},function(t,e){t.exports=Math.sign||function(t){return 0==(t=+t)||t!=t?t:t<0?-1:1}},function(t,e){var n=Math.expm1;t.exports=!n||n(10)>22025.465794806718||n(10)<22025.465794806718||-2e-17!=n(-2e-17)?function(t){return 0==(t=+t)?t:t>-1e-6&&t<1e-6?t+t*t/2:Math.exp(t)-1}:n},function(t,e,n){"use strict";var r=n(39),i=n(0),o=n(11),s=n(13),a=n(9),u=n(47),c=n(103),l=n(38),p=n(18),h=n(5)("iterator"),f=!([].keys&&"next"in[].keys()),d=function(){return this};t.exports=function(t,e,n,v,y,m,g){c(n,e,v);var _,b,w,E=function(t){if(!f&&t in T)return T[t];switch(t){case"keys":case"values":return function(){return new n(this,t)}}return function(){return new n(this,t)}},C=e+" Iterator",x="values"==y,S=!1,T=t.prototype,P=T[h]||T["@@iterator"]||y&&T[y],O=!f&&P||E(y),k=y?x?E("entries"):O:void 0,M="Array"==e?T.entries||P:P;if(M&&(w=p(M.call(new t)))!==Object.prototype&&w.next&&(l(w,C,!0),r||a(w,h)||s(w,h,d)),x&&P&&"values"!==P.name&&(S=!0,O=function(){return P.call(this)}),r&&!g||!f&&!S&&T[h]||s(T,h,O),u[e]=O,u[C]=d,y)if(_={values:x?O:E("values"),keys:m?O:E("keys"),entries:k},g)for(b in _)b in T||o(T,b,_[b]);else i(i.P+i.F*(f||S),e,_);return _}},function(t,e,n){var r=n(74),i=n(31);t.exports=function(t,e,n){if(r(e))throw TypeError("String#"+n+" doesn't accept regex!");return String(i(t))}},function(t,e,n){var r=n(3),i=n(22),o=n(5)("match");t.exports=function(t){var e;return r(t)&&(void 0!==(e=t[o])?!!e:"RegExp"==i(t))}},function(t,e,n){var r=n(5)("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(n){try{return e[r]=!1,!"/./"[t](e)}catch(t){}}return!0}},function(t,e,n){var r=n(47),i=n(5)("iterator"),o=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||o[i]===t)}},function(t,e,n){var r=n(54),i=n(5)("iterator"),o=n(47);t.exports=n(28).getIteratorMethod=function(t){if(void 0!=t)return t[i]||t["@@iterator"]||o[r(t)]}},function(t,e,n){"use strict";var r=n(12),i=n(34),o=n(8);t.exports=function(t){for(var e=r(this),n=o(e.length),s=arguments.length,a=i(s>1?arguments[1]:void 0,n),u=s>2?arguments[2]:void 0,c=void 0===u?n:i(u,n);c>a;)e[a++]=t;return e}},function(t,e,n){"use strict";var r=n(1);t.exports=function(){var t=r(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},function(t,e,n){var r=n(1),i=n(15),o=n(5)("species");t.exports=function(t,e){var n,s=r(t).constructor;return void 0===s||void 0==(n=r(s)[o])?e:i(n)}},function(t,e,n){"use strict";function r(t,e,n){var r,i,o,s=new Array(n),a=8*n-e-1,u=(1<>1,l=23===e?L(2,-24)-L(2,-77):0,p=0,h=t<0||0===t&&1/t<0?1:0;for(t=F(t),t!=t||t===R?(i=t!=t?1:0,r=u):(r=V(H(t)/B),t*(o=L(2,-r))<1&&(r--,o*=2),t+=r+c>=1?l/o:l*L(2,1-c),t*o>=2&&(r++,o/=2),r+c>=u?(i=0,r=u):r+c>=1?(i=(t*o-1)*L(2,e),r+=c):(i=t*L(2,c-1)*L(2,e),r=0));e>=8;s[p++]=255&i,i/=256,e-=8);for(r=r<0;s[p++]=255&r,r/=256,a-=8);return s[--p]|=128*h,s}function i(t,e,n){var r,i=8*n-e-1,o=(1<>1,a=i-7,u=n-1,c=t[u--],l=127&c;for(c>>=7;a>0;l=256*l+t[u],u--,a-=8);for(r=l&(1<<-a)-1,l>>=-a,a+=e;a>0;r=256*r+t[u],u--,a-=8);if(0===l)l=1-s;else{if(l===o)return r?NaN:c?-R:R;r+=L(2,e),l-=s}return(c?-1:1)*r*L(2,l-e)}function o(t){return t[3]<<24|t[2]<<16|t[1]<<8|t[0]}function s(t){return[255&t]}function a(t){return[255&t,t>>8&255]}function u(t){return[255&t,t>>8&255,t>>16&255,t>>24&255]}function c(t){return r(t,52,8)}function l(t){return r(t,23,4)}function p(t,e,n){T(t[k],e,{get:function(){return this[n]}})}function h(t,e,n,r){var i=+n,o=x(i);if(o+e>t[z])throw D(M);var s=t[U]._b,a=o+t[q],u=s.slice(a,a+e);return r?u:u.reverse()}function f(t,e,n,r,i,o){var s=+n,a=x(s);if(a+e>t[z])throw D(M);for(var u=t[U]._b,c=a+t[q],l=r(+i),p=0;pK;)(W=Z[K++])in A||g(A,W,j[W]);y||(G.constructor=A)}var Q=new N(new A(2)),$=N[k].setInt8;Q.setInt8(0,2147483648),Q.setInt8(1,2147483649),!Q.getInt8(0)&&Q.getInt8(1)||_(N[k],{setInt8:function(t,e){$.call(this,t,e<<24>>24)},setUint8:function(t,e){$.call(this,t,e<<24>>24)}},!0)}else A=function(t){w(this,A,"ArrayBuffer");var e=x(t);this._b=P.call(new Array(e),0),this[z]=e},N=function(t,e,n){w(this,N,"DataView"),w(t,A,"DataView");var r=t[z],i=E(e);if(i<0||i>r)throw D("Wrong offset!");if(n=void 0===n?r-i:C(n),i+n>r)throw D("Wrong length!");this[U]=t,this[q]=i,this[z]=n},v&&(p(A,"byteLength","_l"),p(N,"buffer","_b"),p(N,"byteLength","_l"),p(N,"byteOffset","_o")),_(N[k],{getInt8:function(t){return h(this,1,t)[0]<<24>>24},getUint8:function(t){return h(this,1,t)[0]},getInt16:function(t){var e=h(this,2,t,arguments[1]);return(e[1]<<8|e[0])<<16>>16},getUint16:function(t){var e=h(this,2,t,arguments[1]);return e[1]<<8|e[0]},getInt32:function(t){return o(h(this,4,t,arguments[1]))},getUint32:function(t){return o(h(this,4,t,arguments[1]))>>>0},getFloat32:function(t){return i(h(this,4,t,arguments[1]),23,4)},getFloat64:function(t){return i(h(this,8,t,arguments[1]),52,8)},setInt8:function(t,e){f(this,1,t,s,e)},setUint8:function(t,e){f(this,1,t,s,e)},setInt16:function(t,e){f(this,2,t,a,e,arguments[2])},setUint16:function(t,e){f(this,2,t,a,e,arguments[2])},setInt32:function(t,e){f(this,4,t,u,e,arguments[2])},setUint32:function(t,e){f(this,4,t,u,e,arguments[2])},setFloat32:function(t,e){f(this,4,t,l,e,arguments[2])},setFloat64:function(t,e){f(this,8,t,c,e,arguments[2])}});O(A,"ArrayBuffer"),O(N,"DataView"),g(N[k],m.VIEW,!0),e.ArrayBuffer=A,e.DataView=N},function(t,e){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(t){"object"==typeof window&&(n=window)}t.exports=n},function(t,e,n){"use strict";var r=n(44),i=r.root.Symbol;e.rxSubscriber="function"==typeof i&&"function"==typeof i.for?i.for("rxSubscriber"):"@@rxSubscriber",e.$$rxSubscriber=e.rxSubscriber},function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n(20),o=n(37),s=n(60),a=n(312),u=n(313),c=n(83),l=function(t){function e(e){t.call(this,e),this.destination=e}return r(e,t),e}(o.Subscriber);e.SubjectSubscriber=l;var p=function(t){function e(){t.call(this),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}return r(e,t),e.prototype[c.rxSubscriber]=function(){return new l(this)},e.prototype.lift=function(t){var e=new h(this,this);return e.operator=t,e},e.prototype.next=function(t){if(this.closed)throw new a.ObjectUnsubscribedError;if(!this.isStopped)for(var e=this.observers,n=e.length,r=e.slice(),i=0;i-1;n--)if(void 0!==t[n])return t[n];throw new Error("Locale data API: locale data undefined")}function b(t){var e=t.split(":");return{hours:+e[0],minutes:+e[1]}}function w(t){var e=t.toLowerCase().replace(/_/g,"-"),n=wt[e];if(n)return n;var r=e.split("-")[0];if(n=wt[r])return n;if("en"===r)return bt;throw new Error('Missing locale data for the locale "'+t+'".')}function E(t,e){var n=_t[t]||{},r=n[0]||t;return"wide"===e?r:n[1]||r}function C(t,e,n,r){var i="="+t;if(e.indexOf(i)>-1)return i;if(i=n.getPluralCategory(t,r),e.indexOf(i)>-1)return i;if(e.indexOf("other")>-1)return"other";throw new Error('No plural message found for value "'+t+'"')}function x(t,e){"string"==typeof e&&(e=parseInt(e,10));var n=e,r=n.toString().replace(/^[^.]*\.?/,""),i=Math.floor(Math.abs(n)),o=r.length,s=parseInt(r,10),a=parseInt(n.toString().replace(/^[^.]*\.?|0+$/g,""),10)||0;switch(t.split("-")[0].toLowerCase()){case"af":case"asa":case"az":case"bem":case"bez":case"bg":case"brx":case"ce":case"cgg":case"chr":case"ckb":case"ee":case"el":case"eo":case"es":case"eu":case"fo":case"fur":case"gsw":case"ha":case"haw":case"hu":case"jgo":case"jmc":case"ka":case"kk":case"kkj":case"kl":case"ks":case"ksb":case"ky":case"lb":case"lg":case"mas":case"mgo":case"ml":case"mn":case"nb":case"nd":case"ne":case"nn":case"nnh":case"nyn":case"om":case"or":case"os":case"ps":case"rm":case"rof":case"rwk":case"saq":case"seh":case"sn":case"so":case"sq":case"ta":case"te":case"teo":case"tk":case"tr":case"ug":case"uz":case"vo":case"vun":case"wae":case"xog":return 1===n?Ct.One:Ct.Other;case"ak":case"ln":case"mg":case"pa":case"ti":return n===Math.floor(n)&&n>=0&&n<=1?Ct.One:Ct.Other;case"am":case"as":case"bn":case"fa":case"gu":case"hi":case"kn":case"mr":case"zu":return 0===i||1===n?Ct.One:Ct.Other;case"ar":return 0===n?Ct.Zero:1===n?Ct.One:2===n?Ct.Two:n%100===Math.floor(n%100)&&n%100>=3&&n%100<=10?Ct.Few:n%100===Math.floor(n%100)&&n%100>=11&&n%100<=99?Ct.Many:Ct.Other;case"ast":case"ca":case"de":case"en":case"et":case"fi":case"fy":case"gl":case"it":case"nl":case"sv":case"sw":case"ur":case"yi":return 1===i&&0===o?Ct.One:Ct.Other;case"be":return n%10==1&&n%100!=11?Ct.One:n%10===Math.floor(n%10)&&n%10>=2&&n%10<=4&&!(n%100>=12&&n%100<=14)?Ct.Few:n%10==0||n%10===Math.floor(n%10)&&n%10>=5&&n%10<=9||n%100===Math.floor(n%100)&&n%100>=11&&n%100<=14?Ct.Many:Ct.Other;case"br":return n%10==1&&n%100!=11&&n%100!=71&&n%100!=91?Ct.One:n%10==2&&n%100!=12&&n%100!=72&&n%100!=92?Ct.Two:n%10===Math.floor(n%10)&&(n%10>=3&&n%10<=4||n%10==9)&&!(n%100>=10&&n%100<=19||n%100>=70&&n%100<=79||n%100>=90&&n%100<=99)?Ct.Few:0!==n&&n%1e6==0?Ct.Many:Ct.Other;case"bs":case"hr":case"sr":return 0===o&&i%10==1&&i%100!=11||s%10==1&&s%100!=11?Ct.One:0===o&&i%10===Math.floor(i%10)&&i%10>=2&&i%10<=4&&!(i%100>=12&&i%100<=14)||s%10===Math.floor(s%10)&&s%10>=2&&s%10<=4&&!(s%100>=12&&s%100<=14)?Ct.Few:Ct.Other;case"cs":case"sk":return 1===i&&0===o?Ct.One:i===Math.floor(i)&&i>=2&&i<=4&&0===o?Ct.Few:0!==o?Ct.Many:Ct.Other;case"cy":return 0===n?Ct.Zero:1===n?Ct.One:2===n?Ct.Two:3===n?Ct.Few:6===n?Ct.Many:Ct.Other;case"da":return 1===n||0!==a&&(0===i||1===i)?Ct.One:Ct.Other;case"dsb":case"hsb":return 0===o&&i%100==1||s%100==1?Ct.One:0===o&&i%100==2||s%100==2?Ct.Two:0===o&&i%100===Math.floor(i%100)&&i%100>=3&&i%100<=4||s%100===Math.floor(s%100)&&s%100>=3&&s%100<=4?Ct.Few:Ct.Other;case"ff":case"fr":case"hy":case"kab":return 0===i||1===i?Ct.One:Ct.Other;case"fil":return 0===o&&(1===i||2===i||3===i)||0===o&&i%10!=4&&i%10!=6&&i%10!=9||0!==o&&s%10!=4&&s%10!=6&&s%10!=9?Ct.One:Ct.Other;case"ga":return 1===n?Ct.One:2===n?Ct.Two:n===Math.floor(n)&&n>=3&&n<=6?Ct.Few:n===Math.floor(n)&&n>=7&&n<=10?Ct.Many:Ct.Other;case"gd":return 1===n||11===n?Ct.One:2===n||12===n?Ct.Two:n===Math.floor(n)&&(n>=3&&n<=10||n>=13&&n<=19)?Ct.Few:Ct.Other;case"gv":return 0===o&&i%10==1?Ct.One:0===o&&i%10==2?Ct.Two:0!==o||i%100!=0&&i%100!=20&&i%100!=40&&i%100!=60&&i%100!=80?0!==o?Ct.Many:Ct.Other:Ct.Few;case"he":return 1===i&&0===o?Ct.One:2===i&&0===o?Ct.Two:0!==o||n>=0&&n<=10||n%10!=0?Ct.Other:Ct.Many;case"is":return 0===a&&i%10==1&&i%100!=11||0!==a?Ct.One:Ct.Other;case"ksh":return 0===n?Ct.Zero:1===n?Ct.One:Ct.Other;case"kw":case"naq":case"se":case"smn":return 1===n?Ct.One:2===n?Ct.Two:Ct.Other;case"lag":return 0===n?Ct.Zero:0!==i&&1!==i||0===n?Ct.Other:Ct.One;case"lt":return n%10!=1||n%100>=11&&n%100<=19?n%10===Math.floor(n%10)&&n%10>=2&&n%10<=9&&!(n%100>=11&&n%100<=19)?Ct.Few:0!==s?Ct.Many:Ct.Other:Ct.One;case"lv":case"prg":return n%10==0||n%100===Math.floor(n%100)&&n%100>=11&&n%100<=19||2===o&&s%100===Math.floor(s%100)&&s%100>=11&&s%100<=19?Ct.Zero:n%10==1&&n%100!=11||2===o&&s%10==1&&s%100!=11||2!==o&&s%10==1?Ct.One:Ct.Other;case"mk":return 0===o&&i%10==1||s%10==1?Ct.One:Ct.Other;case"mt":return 1===n?Ct.One:0===n||n%100===Math.floor(n%100)&&n%100>=2&&n%100<=10?Ct.Few:n%100===Math.floor(n%100)&&n%100>=11&&n%100<=19?Ct.Many:Ct.Other;case"pl":return 1===i&&0===o?Ct.One:0===o&&i%10===Math.floor(i%10)&&i%10>=2&&i%10<=4&&!(i%100>=12&&i%100<=14)?Ct.Few:0===o&&1!==i&&i%10===Math.floor(i%10)&&i%10>=0&&i%10<=1||0===o&&i%10===Math.floor(i%10)&&i%10>=5&&i%10<=9||0===o&&i%100===Math.floor(i%100)&&i%100>=12&&i%100<=14?Ct.Many:Ct.Other;case"pt":return n===Math.floor(n)&&n>=0&&n<=2&&2!==n?Ct.One:Ct.Other;case"ro":return 1===i&&0===o?Ct.One:0!==o||0===n||1!==n&&n%100===Math.floor(n%100)&&n%100>=1&&n%100<=19?Ct.Few:Ct.Other;case"ru":case"uk":return 0===o&&i%10==1&&i%100!=11?Ct.One:0===o&&i%10===Math.floor(i%10)&&i%10>=2&&i%10<=4&&!(i%100>=12&&i%100<=14)?Ct.Few:0===o&&i%10==0||0===o&&i%10===Math.floor(i%10)&&i%10>=5&&i%10<=9||0===o&&i%100===Math.floor(i%100)&&i%100>=11&&i%100<=14?Ct.Many:Ct.Other;case"shi":return 0===i||1===n?Ct.One:n===Math.floor(n)&&n>=2&&n<=10?Ct.Few:Ct.Other;case"si":return 0===n||1===n||0===i&&1===s?Ct.One:Ct.Other;case"sl":return 0===o&&i%100==1?Ct.One:0===o&&i%100==2?Ct.Two:0===o&&i%100===Math.floor(i%100)&&i%100>=3&&i%100<=4||0!==o?Ct.Few:Ct.Other;case"tzm":return n===Math.floor(n)&&n>=0&&n<=1||n===Math.floor(n)&&n>=11&&n<=99?Ct.One:Ct.Other;default:return Ct.Other}}function S(t,e){e=encodeURIComponent(e);for(var n=0,r=t.split(";");n0||a>-n)&&(a+=n),t===Xt.Hours&&0===a&&-12===n&&(a=12),M(a,e,f(s,Pt.MinusSign),r,i)}}function N(t,e,n){switch(t){case Xt.FullYear:return e.getFullYear();case Xt.Month:return e.getMonth();case Xt.Date:return e.getDate();case Xt.Hours:return e.getHours();case Xt.Minutes:return e.getMinutes();case Xt.Seconds:return e.getSeconds();case Xt.Milliseconds:var r=1===n?100:2===n?10:1;return Math.round(e.getMilliseconds()/r);case Xt.Day:return e.getDay();default:throw new Error('Unknown DateType value "'+t+'".')}}function I(t,e,n,r){return void 0===n&&(n=xt.Format),void 0===r&&(r=!1),function(i,o){return D(i,o,t,e,n,r)}}function D(t,e,n,r,i,o){switch(n){case Jt.Months:return u(e,i,r)[t.getMonth()];case Jt.Days:return a(e,i,r)[t.getDay()];case Jt.DayPeriods:var l=t.getHours(),p=t.getMinutes();if(o){var h,f=m(e),d=g(e,i,r);if(f.forEach(function(t,e){if(Array.isArray(t)){var n=t[0],r=n.hours,i=n.minutes,o=t[1],s=o.hours,a=o.minutes;l>=r&&p>=i&&(l0?Math.floor(i/60):Math.ceil(i/60);switch(t){case $t.Short:return(i>=0?"+":"")+M(s,2,o)+M(Math.abs(i%60),2,o);case $t.ShortGMT:return"GMT"+(i>=0?"+":"")+M(s,1,o);case $t.Long:return"GMT"+(i>=0?"+":"")+M(s,2,o)+":"+M(Math.abs(i%60),2,o);case $t.Extended:return 0===r?"Z":(i>=0?"+":"")+M(s,2,o)+":"+M(Math.abs(i%60),2,o);default:throw new Error('Unknown zone width "'+t+'"')}}}function j(t){var e=new Date(t,Yt,1).getDay();return new Date(t,0,1+(e<=te?te:te+7)-e)}function F(t){return new Date(t.getFullYear(),t.getMonth(),t.getDate()+(te-t.getDay()))}function L(t,e){return void 0===e&&(e=!1),function(n,r){var i;if(e){var o=new Date(n.getFullYear(),n.getMonth(),1).getDay()-1,s=n.getDate();i=1+Math.floor((s+o)/7)}else{var a=j(n.getFullYear()),u=F(n),c=u.getTime()-a.getTime();i=1+Math.round(c/6048e5)}return M(i,t,f(r,Pt.MinusSign))}}function V(t){if(ee[t])return ee[t];var e;switch(t){case"G":case"GG":case"GGG":e=I(Jt.Eras,St.Abbreviated);break;case"GGGG":e=I(Jt.Eras,St.Wide);break;case"GGGGG":e=I(Jt.Eras,St.Narrow);break;case"y":e=A(Xt.FullYear,1,0,!1,!0);break;case"yy":e=A(Xt.FullYear,2,0,!0,!0);break;case"yyy":e=A(Xt.FullYear,3,0,!1,!0);break;case"yyyy":e=A(Xt.FullYear,4,0,!1,!0);break;case"M":case"L":e=A(Xt.Month,1,1);break;case"MM":case"LL":e=A(Xt.Month,2,1);break;case"MMM":e=I(Jt.Months,St.Abbreviated);break;case"MMMM":e=I(Jt.Months,St.Wide);break;case"MMMMM":e=I(Jt.Months,St.Narrow);break;case"LLL":e=I(Jt.Months,St.Abbreviated,xt.Standalone);break;case"LLLL":e=I(Jt.Months,St.Wide,xt.Standalone);break;case"LLLLL":e=I(Jt.Months,St.Narrow,xt.Standalone);break;case"w":e=L(1);break;case"ww":e=L(2);break;case"W":e=L(1,!0);break;case"d":e=A(Xt.Date,1);break;case"dd":e=A(Xt.Date,2);break;case"E":case"EE":case"EEE":e=I(Jt.Days,St.Abbreviated);break;case"EEEE":e=I(Jt.Days,St.Wide);break;case"EEEEE":e=I(Jt.Days,St.Narrow);break;case"EEEEEE":e=I(Jt.Days,St.Short);break;case"a":case"aa":case"aaa":e=I(Jt.DayPeriods,St.Abbreviated);break;case"aaaa":e=I(Jt.DayPeriods,St.Wide);break;case"aaaaa":e=I(Jt.DayPeriods,St.Narrow);break;case"b":case"bb":case"bbb":e=I(Jt.DayPeriods,St.Abbreviated,xt.Standalone,!0);break;case"bbbb":e=I(Jt.DayPeriods,St.Wide,xt.Standalone,!0);break;case"bbbbb":e=I(Jt.DayPeriods,St.Narrow,xt.Standalone,!0);break;case"B":case"BB":case"BBB":e=I(Jt.DayPeriods,St.Abbreviated,xt.Format,!0);break;case"BBBB":e=I(Jt.DayPeriods,St.Wide,xt.Format,!0);break;case"BBBBB":e=I(Jt.DayPeriods,St.Narrow,xt.Format,!0);break;case"h":e=A(Xt.Hours,1,-12);break;case"hh":e=A(Xt.Hours,2,-12);break;case"H":e=A(Xt.Hours,1);break;case"HH":e=A(Xt.Hours,2);break;case"m":e=A(Xt.Minutes,1);break;case"mm":e=A(Xt.Minutes,2);break;case"s":e=A(Xt.Seconds,1);break;case"ss":e=A(Xt.Seconds,2);break;case"S":e=A(Xt.Milliseconds,1);break;case"SS":e=A(Xt.Milliseconds,2);break;case"SSS":e=A(Xt.Milliseconds,3);break;case"Z":case"ZZ":case"ZZZ":e=R($t.Short);break;case"ZZZZZ":e=R($t.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":e=R($t.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":e=R($t.Long);break;default:return null}return ee[t]=e,e}function H(t,e){t=t.replace(/:/g,"");var n=Date.parse("Jan 01, 1970 00:00:00 "+t)/6e4;return isNaN(n)?e:n}function B(t,e){return t=new Date(t.getTime()),t.setMinutes(t.getMinutes()+e),t}function U(t,e,n){var r=n?-1:1,i=t.getTimezoneOffset();return B(t,r*(H(e,i)-i))}function z(t,e){return Error("InvalidPipeArgument: '"+e+"' for pipe '"+Object(ft._42)(t)+"'")}function q(t){var e=new Date(0),n=0,r=0,i=t[8]?e.setUTCFullYear:e.setFullYear,o=t[8]?e.setUTCHours:e.setHours;t[9]&&(n=+(t[9]+t[10]),r=+(t[9]+t[11])),i.call(e,+t[1],+t[2]-1,+t[3]);var s=+(t[4]||"0")-n,a=+(t[5]||"0")-r,u=+(t[6]||"0"),c=Math.round(1e3*parseFloat("0."+(t[7]||0)));return o.call(e,s,a,u,c),e}function W(t){return t instanceof Date&&!isNaN(t.valueOf())}function G(t){return function(e,n){var r=t(e,n);return 1==r.length?"0"+r:r}}function Z(t){return function(e,n){return t(e,n).split(" ")[0]}}function K(t,e,n){return new Intl.DateTimeFormat(e,n).format(t).replace(/[\u200e\u200f]/g,"")}function Q(t){var e={hour:"2-digit",hour12:!1,timeZoneName:t};return function(t,n){var r=K(t,n,e);return r?r.substring(3):""}}function $(t,e){return t.hour12=e,t}function X(t,e){var n={};return n[t]=2===e?"2-digit":"numeric",n}function J(t,e){var n={};return n[t]=e<4?e>1?"short":"narrow":"long",n}function Y(t){return t.reduce(function(t,e){return Object(dt.a)({},t,e)},{})}function tt(t){return function(e,n){return K(e,n,t)}}function et(t,e,n){var r=se[t];if(r)return r(e,n);var i=t,o=ue.get(i);if(!o){o=[];var s=void 0;oe.exec(t);for(var a=t;a;)s=oe.exec(a),s?(o=o.concat(s.slice(1)),a=o.pop()):(o.push(a),a=null);ue.set(i,o)}return o.reduce(function(t,r){var i=ae[r];return t+(i?i(e,n):nt(r))},"")}function nt(t){return"''"===t?"'":t.replace(/(^'|'$)/g,"").replace(/''/g,"'")}function rt(t){return t instanceof Date&&!isNaN(t.valueOf())}function it(t,e,n,r,i){void 0===i&&(i=null);var o,s={str:null},a=d(e,n);if("string"!=typeof t||isNaN(+t-parseFloat(t))){if("number"!=typeof t)return s.error=t+" is not a number",s;o=t}else o=+t;var u=ot(a,f(e,Pt.MinusSign)),c="",l=!1;if(isFinite(o)){var p=at(o);n===Et.Percent&&(p=st(p));var h=u.minInt,v=u.minFrac,y=u.maxFrac;if(r){var m=r.match(pe);if(null===m)return s.error=r+" is not a valid digit info",s;var g=m[1],_=m[3],b=m[5];null!=g&&(h=ct(g)),null!=_&&(v=ct(_)),null!=b?y=ct(b):null!=_&&v>y&&(y=v)}ut(p,v,y);var w=p.digits,E=p.integerLen,C=p.exponent,x=[];for(l=w.every(function(t){return!t});E0?x=w.splice(E,w.length):(x=w,w=[0]);var S=[];for(w.length>=u.lgSize&&S.unshift(w.splice(-u.lgSize,w.length).join(""));w.length>u.gSize;)S.unshift(w.splice(-u.gSize,w.length).join(""));w.length&&S.unshift(w.join(""));var T=i?Pt.CurrencyGroup:Pt.Group;if(c=S.join(f(e,T)),x.length){c+=f(e,i?Pt.CurrencyDecimal:Pt.Decimal)+x.join("")}C&&(c+=f(e,Pt.Exponential)+"+"+C)}else c=f(e,Pt.Infinity);return c=o<0&&!l?u.negPre+c+u.negSuf:u.posPre+c+u.posSuf,n===Et.Currency&&null!==i?(s.str=c.replace(ge,i).replace(ge,""),s):n===Et.Percent?(s.str=c.replace(new RegExp(_e,"g"),f(e,Pt.PercentSign)),s):(s.str=c,s)}function ot(t,e){void 0===e&&(e="-");var n={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},r=t.split(ve),i=r[0],o=r[1],s=-1!==i.indexOf(fe)?i.split(fe):[i.substring(0,i.lastIndexOf(de)+1),i.substring(i.lastIndexOf(de)+1)],a=s[0],u=s[1]||"";n.posPre=a.substr(0,a.indexOf(me));for(var c=0;c-1&&(s=s.replace(fe,"")),(r=s.search(/e/i))>0?(n<0&&(n=r),n+=+s.slice(r+1),s=s.substring(0,r)):n<0&&(n=s.length),r=0;s.charAt(r)===de;r++);if(r===(o=s.length))e=[0],n=1;else{for(o--;s.charAt(o)===de;)o--;for(n-=r,e=[],i=0;r<=o;r++,i++)e[i]=+s.charAt(r)}return n>he&&(e=e.splice(0,he-1),a=n-1,n=1),{digits:e,exponent:a,integerLen:n}}function ut(t,e,n){if(e>n)throw new Error("The minimum number of digits after fraction ("+e+") is higher than the maximum ("+n+").");var r=t.digits,i=r.length-t.integerLen,o=Math.min(Math.max(e,i),n),s=o+t.integerLen,a=r[s];if(s>0){r.splice(Math.max(t.integerLen,s));for(var u=s;u=5)if(s-1<0){for(var l=0;l>s;l--)r.unshift(0),t.integerLen++;r.unshift(1),t.integerLen++}else r[s-1]++;for(;i=h?r.pop():p=!1),e>=10?1:0},0);f&&(r.unshift(f),t.integerLen++)}function ct(t){var e=parseInt(t);if(isNaN(e))throw new Error("Invalid integer literal when parsing "+t);return e}function lt(t,e,n,r,i,o,s){if(void 0===o&&(o=null),void 0===s&&(s=!1),null==n)return null;if("number"!=typeof(n="string"!=typeof n||isNaN(+n-parseFloat(n))?n:+n))throw z(t,n);var a,u,c;if(r!==Et.Currency&&(a=1,u=0,c=3),i){var l=i.match(pe);if(null===l)throw new Error(i+" is not a valid digit info for number pipes");null!=l[1]&&(a=ct(l[1])),null!=l[3]&&(u=ct(l[3])),null!=l[5]&&(c=ct(l[5]))}return ie.format(n,e,r,{minimumIntegerDigits:a,minimumFractionDigits:u,maximumFractionDigits:c,currency:o,currencyAsSymbol:s})}function pt(t){return t?t[0].toUpperCase()+t.substr(1).toLowerCase():t}function ht(t){return null==t||""===t||t!==t}n.d(e,"e",function(){return S}),n.d(e,"a",function(){return Be}),n.d(e,"b",function(){return ze}),n.d(e,"d",function(){return qe}),n.d(e,"c",function(){return vt});var ft=n(27),dt=n(50),vt=function(){function t(){}return t}(),yt=(new ft.x("Location Initialized"),function(){function t(){}return t}()),mt=new ft.x("appBaseHref"),gt=function(){function t(e){var n=this;this._subject=new ft.t,this._platformStrategy=e;var r=this._platformStrategy.getBaseHref();this._baseHref=t.stripTrailingSlash(i(r)),this._platformStrategy.onPopState(function(t){n._subject.emit({url:n.path(!0),pop:!0,type:t.type})})}return t.prototype.path=function(t){return void 0===t&&(t=!1),this.normalize(this._platformStrategy.path(t))},t.prototype.isCurrentPathEqualTo=function(e,n){return void 0===n&&(n=""),this.path()==this.normalize(e+t.normalizeQueryParams(n))},t.prototype.normalize=function(e){return t.stripTrailingSlash(r(this._baseHref,i(e)))},t.prototype.prepareExternalUrl=function(t){return t&&"/"!==t[0]&&(t="/"+t),this._platformStrategy.prepareExternalUrl(t)},t.prototype.go=function(t,e){void 0===e&&(e=""),this._platformStrategy.pushState(null,"",t,e)},t.prototype.replaceState=function(t,e){void 0===e&&(e=""),this._platformStrategy.replaceState(null,"",t,e)},t.prototype.forward=function(){this._platformStrategy.forward()},t.prototype.back=function(){this._platformStrategy.back()},t.prototype.subscribe=function(t,e,n){return this._subject.subscribe({next:t,error:e,complete:n})},t.normalizeQueryParams=function(t){return t&&"?"!==t[0]?"?"+t:t},t.joinWithSlash=function(t,e){if(0==t.length)return e;if(0==e.length)return t;var n=0;return t.endsWith("/")&&n++,e.startsWith("/")&&n++,2==n?t+e.substring(1):1==n?t+e:t+"/"+e},t.stripTrailingSlash=function(t){var e=t.match(/#|\?|$/),n=e&&e.index||t.length,r=n-("/"===t[n-1]?1:0);return t.slice(0,r)+t.slice(n)},t.decorators=[{type:ft.w}],t.ctorParameters=function(){return[{type:yt}]},t}(),_t=(function(t){function e(e,n){var r=t.call(this)||this;return r._platformLocation=e,r._baseHref="",null!=n&&(r._baseHref=n),r}Object(dt.b)(e,t),e.prototype.onPopState=function(t){this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t)},e.prototype.getBaseHref=function(){return this._baseHref},e.prototype.path=function(t){void 0===t&&(t=!1);var e=this._platformLocation.hash;return null==e&&(e="#"),e.length>0?e.substring(1):e},e.prototype.prepareExternalUrl=function(t){var e=gt.joinWithSlash(this._baseHref,t);return e.length>0?"#"+e:e},e.prototype.pushState=function(t,e,n,r){var i=this.prepareExternalUrl(n+gt.normalizeQueryParams(r));0==i.length&&(i=this._platformLocation.pathname),this._platformLocation.pushState(t,e,i)},e.prototype.replaceState=function(t,e,n,r){var i=this.prepareExternalUrl(n+gt.normalizeQueryParams(r));0==i.length&&(i=this._platformLocation.pathname),this._platformLocation.replaceState(t,e,i)},e.prototype.forward=function(){this._platformLocation.forward()},e.prototype.back=function(){this._platformLocation.back()},e.decorators=[{type:ft.w}],e.ctorParameters=function(){return[{type:vt},{type:void 0,decorators:[{type:ft.J},{type:ft.v,args:[mt]}]}]}}(yt),function(t){function e(e,n){var r=t.call(this)||this;if(r._platformLocation=e,null==n&&(n=r._platformLocation.getBaseHrefFromDOM()),null==n)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");return r._baseHref=n,r}Object(dt.b)(e,t),e.prototype.onPopState=function(t){this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t)},e.prototype.getBaseHref=function(){return this._baseHref},e.prototype.prepareExternalUrl=function(t){return gt.joinWithSlash(this._baseHref,t)},e.prototype.path=function(t){void 0===t&&(t=!1);var e=this._platformLocation.pathname+gt.normalizeQueryParams(this._platformLocation.search),n=this._platformLocation.hash;return n&&t?""+e+n:e},e.prototype.pushState=function(t,e,n,r){var i=this.prepareExternalUrl(n+gt.normalizeQueryParams(r));this._platformLocation.pushState(t,e,i)},e.prototype.replaceState=function(t,e,n,r){var i=this.prepareExternalUrl(n+gt.normalizeQueryParams(r));this._platformLocation.replaceState(t,e,i)},e.prototype.forward=function(){this._platformLocation.forward()},e.prototype.back=function(){this._platformLocation.back()},e.decorators=[{type:ft.w}],e.ctorParameters=function(){return[{type:vt},{type:void 0,decorators:[{type:ft.J},{type:ft.v,args:[mt]}]}]}}(yt),{AOA:[,"Kz"],ARS:[,"$"],AUD:["A$","$"],BAM:[,"KM"],BBD:[,"$"],BDT:[,"৳"],BMD:[,"$"],BND:[,"$"],BOB:[,"Bs"],BRL:["R$"],BSD:[,"$"],BWP:[,"P"],BYN:[,"р."],BZD:[,"$"],CAD:["CA$","$"],CLP:[,"$"],CNY:["CN¥","¥"],COP:[,"$"],CRC:[,"₡"],CUC:[,"$"],CUP:[,"$"],CZK:[,"Kč"],DKK:[,"kr"],DOP:[,"$"],EGP:[,"E£"],ESP:[,"₧"],EUR:["€"],FJD:[,"$"],FKP:[,"£"],GBP:["£"],GEL:[,"₾"],GIP:[,"£"],GNF:[,"FG"],GTQ:[,"Q"],GYD:[,"$"],HKD:["HK$","$"],HNL:[,"L"],HRK:[,"kn"],HUF:[,"Ft"],IDR:[,"Rp"],ILS:["₪"],INR:["₹"],ISK:[,"kr"],JMD:[,"$"],JPY:["¥"],KHR:[,"៛"],KMF:[,"CF"],KPW:[,"₩"],KRW:["₩"],KYD:[,"$"],KZT:[,"₸"],LAK:[,"₭"],LBP:[,"L£"],LKR:[,"Rs"],LRD:[,"$"],LTL:[,"Lt"],LVL:[,"Ls"],MGA:[,"Ar"],MMK:[,"K"],MNT:[,"₮"],MUR:[,"Rs"],MXN:["MX$","$"],MYR:[,"RM"],NAD:[,"$"],NGN:[,"₦"],NIO:[,"C$"],NOK:[,"kr"],NPR:[,"Rs"],NZD:["NZ$","$"],PHP:[,"₱"],PKR:[,"Rs"],PLN:[,"zł"],PYG:[,"₲"],RON:[,"lei"],RUB:[,"₽"],RUR:[,"р."],RWF:[,"RF"],SBD:[,"$"],SEK:[,"kr"],SGD:[,"$"],SHP:[,"£"],SRD:[,"$"],SSP:[,"£"],STD:[,"Db"],SYP:[,"£"],THB:[,"฿"],TOP:[,"T$"],TRY:[,"₺"],TTD:[,"$"],TWD:["NT$","$"],UAH:[,"₴"],USD:["$"],UYU:[,"$"],VEF:[,"Bs"],VND:["₫"],XAF:["FCFA"],XCD:["EC$","$"],XOF:["CFA"],XPF:["CFPF"],ZAR:[,"R"],ZMW:[,"ZK"]}),bt=["en",[["a","p"],["AM","PM"]],[["AM","PM"],,],[["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"]],,[["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"]],,[["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}",,"{1} 'at' {0}"],[".",",",";","%","+","-","E","×","‰","∞","NaN",":"],["#,##0.###","#,##0%","¤#,##0.00","#E0"],"$","US Dollar",function(t){var e=Math.floor(Math.abs(t)),n=t.toString().replace(/^[^.]*\.?/,"").length;return 1===e&&0===n?1:5}],wt={},Et={Decimal:0,Percent:1,Currency:2,Scientific:3};Et[Et.Decimal]="Decimal",Et[Et.Percent]="Percent",Et[Et.Currency]="Currency",Et[Et.Scientific]="Scientific";var Ct={Zero:0,One:1,Two:2,Few:3,Many:4,Other:5};Ct[Ct.Zero]="Zero",Ct[Ct.One]="One",Ct[Ct.Two]="Two",Ct[Ct.Few]="Few",Ct[Ct.Many]="Many",Ct[Ct.Other]="Other";var xt={Format:0,Standalone:1};xt[xt.Format]="Format",xt[xt.Standalone]="Standalone";var St={Narrow:0,Abbreviated:1,Wide:2,Short:3};St[St.Narrow]="Narrow",St[St.Abbreviated]="Abbreviated",St[St.Wide]="Wide",St[St.Short]="Short";var Tt={Short:0,Medium:1,Long:2,Full:3};Tt[Tt.Short]="Short",Tt[Tt.Medium]="Medium",Tt[Tt.Long]="Long",Tt[Tt.Full]="Full";var Pt={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};Pt[Pt.Decimal]="Decimal",Pt[Pt.Group]="Group",Pt[Pt.List]="List",Pt[Pt.PercentSign]="PercentSign",Pt[Pt.PlusSign]="PlusSign",Pt[Pt.MinusSign]="MinusSign",Pt[Pt.Exponential]="Exponential",Pt[Pt.SuperscriptingExponent]="SuperscriptingExponent",Pt[Pt.PerMille]="PerMille",Pt[Pt.Infinity]="Infinity",Pt[Pt.NaN]="NaN",Pt[Pt.TimeSeparator]="TimeSeparator",Pt[Pt.CurrencyDecimal]="CurrencyDecimal",Pt[Pt.CurrencyGroup]="CurrencyGroup";var Ot={Sunday:0,Monday:1,Tuesday:2,Wednesday:3,Thursday:4,Friday:5,Saturday:6};Ot[Ot.Sunday]="Sunday",Ot[Ot.Monday]="Monday",Ot[Ot.Tuesday]="Tuesday",Ot[Ot.Wednesday]="Wednesday",Ot[Ot.Thursday]="Thursday",Ot[Ot.Friday]="Friday",Ot[Ot.Saturday]="Saturday";var kt=new ft.x("UseV4Plurals"),Mt=function(){function t(){}return t}(),At=function(t){function e(e,n){var r=t.call(this)||this;return r.locale=e,r.deprecatedPluralFn=n,r}return Object(dt.b)(e,t),e.prototype.getPluralCategory=function(t,e){switch(this.deprecatedPluralFn?this.deprecatedPluralFn(e||this.locale,t):v(e||this.locale)(t)){case Ct.Zero:return"zero";case Ct.One:return"one";case Ct.Two:return"two";case Ct.Few:return"few";case Ct.Many:return"many";default:return"other"}},e.decorators=[{type:ft.w}],e.ctorParameters=function(){return[{type:void 0,decorators:[{type:ft.v,args:[ft.C]}]},{type:void 0,decorators:[{type:ft.J},{type:ft.v,args:[kt]}]}]},e}(Mt),Nt=function(){function t(t,e,n,r){this._iterableDiffers=t,this._keyValueDiffers=e,this._ngEl=n,this._renderer=r,this._initialClasses=[]}return Object.defineProperty(t.prototype,"klass",{set:function(t){this._applyInitialClasses(!0),this._initialClasses="string"==typeof t?t.split(/\s+/):[],this._applyInitialClasses(!1),this._applyClasses(this._rawClass,!1)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngClass",{set:function(t){this._cleanupClasses(this._rawClass),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof t?t.split(/\s+/):t,this._rawClass&&(Object(ft._27)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())},enumerable:!0,configurable:!0}),t.prototype.ngDoCheck=function(){if(this._iterableDiffer){var t=this._iterableDiffer.diff(this._rawClass);t&&this._applyIterableChanges(t)}else if(this._keyValueDiffer){var e=this._keyValueDiffer.diff(this._rawClass);e&&this._applyKeyValueChanges(e)}},t.prototype._cleanupClasses=function(t){this._applyClasses(t,!0),this._applyInitialClasses(!1)},t.prototype._applyKeyValueChanges=function(t){var e=this;t.forEachAddedItem(function(t){return e._toggleClass(t.key,t.currentValue)}),t.forEachChangedItem(function(t){return e._toggleClass(t.key,t.currentValue)}),t.forEachRemovedItem(function(t){t.previousValue&&e._toggleClass(t.key,!1)})},t.prototype._applyIterableChanges=function(t){var e=this;t.forEachAddedItem(function(t){if("string"!=typeof t.item)throw new Error("NgClass can only toggle CSS classes expressed as strings, got "+Object(ft._42)(t.item));e._toggleClass(t.item,!0)}),t.forEachRemovedItem(function(t){return e._toggleClass(t.item,!1)})},t.prototype._applyInitialClasses=function(t){var e=this;this._initialClasses.forEach(function(n){return e._toggleClass(n,!t)})},t.prototype._applyClasses=function(t,e){var n=this;t&&(Array.isArray(t)||t instanceof Set?t.forEach(function(t){return n._toggleClass(t,!e)}):Object.keys(t).forEach(function(r){null!=t[r]&&n._toggleClass(r,!e)}))},t.prototype._toggleClass=function(t,e){var n=this;(t=t.trim())&&t.split(/\s+/g).forEach(function(t){e?n._renderer.addClass(n._ngEl.nativeElement,t):n._renderer.removeClass(n._ngEl.nativeElement,t)})},t.decorators=[{type:ft.q,args:[{selector:"[ngClass]"}]}],t.ctorParameters=function(){return[{type:ft.A},{type:ft.B},{type:ft.r},{type:ft.R}]},t.propDecorators={klass:[{type:ft.z,args:["class"]}],ngClass:[{type:ft.z}]},t}(),It=function(){function t(t){this._viewContainerRef=t,this._componentRef=null,this._moduleRef=null}return t.prototype.ngOnChanges=function(t){if(this._viewContainerRef.clear(),this._componentRef=null,this.ngComponentOutlet){var e=this.ngComponentOutletInjector||this._viewContainerRef.parentInjector;if(t.ngComponentOutletNgModuleFactory)if(this._moduleRef&&this._moduleRef.destroy(),this.ngComponentOutletNgModuleFactory){var n=e.get(ft.G);this._moduleRef=this.ngComponentOutletNgModuleFactory.create(n.injector)}else this._moduleRef=null;var r=this._moduleRef?this._moduleRef.componentFactoryResolver:e.get(ft.o),i=r.resolveComponentFactory(this.ngComponentOutlet);this._componentRef=this._viewContainerRef.createComponent(i,this._viewContainerRef.length,e,this.ngComponentOutletContent)}},t.prototype.ngOnDestroy=function(){this._moduleRef&&this._moduleRef.destroy()},t.decorators=[{type:ft.q,args:[{selector:"[ngComponentOutlet]"}]}],t.ctorParameters=function(){return[{type:ft._3}]},t.propDecorators={ngComponentOutlet:[{type:ft.z}],ngComponentOutletInjector:[{type:ft.z}],ngComponentOutletContent:[{type:ft.z}],ngComponentOutletNgModuleFactory:[{type:ft.z}]},t}(),Dt=function(){function t(t,e,n,r){this.$implicit=t,this.ngForOf=e,this.index=n,this.count=r}return Object.defineProperty(t.prototype,"first",{get:function(){return 0===this.index},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"last",{get:function(){return this.index===this.count-1},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"even",{get:function(){return this.index%2==0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"odd",{get:function(){return!this.even},enumerable:!0,configurable:!0}),t}(),Rt=function(){function t(t,e,n){this._viewContainer=t,this._template=e,this._differs=n,this._differ=null}return Object.defineProperty(t.prototype,"ngForTrackBy",{get:function(){return this._trackByFn},set:function(t){Object(ft._10)()&&null!=t&&"function"!=typeof t&&console&&console.warn&&console.warn("trackBy must be a function, but received "+JSON.stringify(t)+". See https://angular.io/docs/ts/latest/api/common/index/NgFor-directive.html#!#change-propagation for more information."),this._trackByFn=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngForTemplate",{set:function(t){t&&(this._template=t)},enumerable:!0,configurable:!0}),t.prototype.ngOnChanges=function(t){if("ngForOf"in t){var e=t.ngForOf.currentValue;if(!this._differ&&e)try{this._differ=this._differs.find(e).create(this.ngForTrackBy)}catch(t){throw new Error("Cannot find a differ supporting object '"+e+"' of type '"+T(e)+"'. NgFor only supports binding to Iterables such as Arrays.")}}},t.prototype.ngDoCheck=function(){if(this._differ){var t=this._differ.diff(this.ngForOf);t&&this._applyChanges(t)}},t.prototype._applyChanges=function(t){var e=this,n=[];t.forEachOperation(function(t,r,i){if(null==t.previousIndex){var o=e._viewContainer.createEmbeddedView(e._template,new Dt(null,e.ngForOf,-1,-1),i),s=new jt(t,o);n.push(s)}else if(null==i)e._viewContainer.remove(r);else{var o=e._viewContainer.get(r);e._viewContainer.move(o,i);var s=new jt(t,o);n.push(s)}});for(var r=0;r/g,">")}function S(t){zt.attributeMap(t).forEach(function(e,n){"xmlns:ns1"!==n&&0!==n.indexOf("ns1:")||zt.removeAttribute(t,n)});for(var e=0,n=zt.childNodesAsList(t);e"};return t.replace(/&[^;]+;/g,function(t){return e[t]})}function I(t,e){var n=t.getElementById(e+"-state"),r={};if(n&&n.textContent)try{r=JSON.parse(N(n.textContent))}catch(t){console.warn("Exception while restoring TransferState for app "+e,t)}return _e.init(r)}n.d(e,"a",function(){return ye}),n.d(e,"b",function(){return de}),n.d(e,"c",function(){return r});var D,R=n(85),j=n(27),F=n(50),L=null,V=function(){function t(){this.resourceLoaderType=null}return Object.defineProperty(t.prototype,"attrToPropMap",{get:function(){return this._attrToPropMap},set:function(t){this._attrToPropMap=t},enumerable:!0,configurable:!0}),t}(),H=function(t){function e(){var e=t.call(this)||this;e._animationPrefix=null,e._transitionEnd=null;try{var n=e.createElement("div",document);if(null!=e.getStyle(n,"animationName"))e._animationPrefix="";else for(var r=["Webkit","Moz","O","ms"],i=0;i0},e.prototype.tagName=function(t){return t.tagName},e.prototype.attributeMap=function(t){for(var e=new Map,n=t.attributes,r=0;r0;a||(a=t[s]=[]);var c=Tt(e)?Zone.root:Zone.current;if(0===a.length)a.push({zone:c,handler:o});else{for(var l=!1,p=0;p-1},e.decorators=[{type:j.w}],e.ctorParameters=function(){return[{type:void 0,decorators:[{type:j.v,args:[K]}]},{type:At,decorators:[{type:j.v,args:[Mt]}]}]},e}(at),It=["alt","control","meta","shift"],Dt=function(t){return t.altKey},Rt=function(t){return t.ctrlKey},jt=function(t){return t.metaKey},Ft=function(t){return t.shiftKey},Lt={alt:Dt,control:Rt,meta:jt,shift:Ft},Vt=function(t){function e(e){return t.call(this,e)||this}return Object(F.b)(e,t),e.prototype.supports=function(t){return null!=e.parseEventName(t)},e.prototype.addEventListener=function(t,n,i){var o=e.parseEventName(n),s=e.eventCallback(o.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(function(){return r().onAndCancel(t,o.domEventName,s)})},e.parseEventName=function(t){var n=t.toLowerCase().split("."),r=n.shift();if(0===n.length||"keydown"!==r&&"keyup"!==r)return null;var i=e._normalizeKey(n.pop()),o="";if(It.forEach(function(t){var e=n.indexOf(t);e>-1&&(n.splice(e,1),o+=t+".")}),o+=i,0!=n.length||0===i.length)return null;var s={};return s.domEventName=r,s.fullKey=o,s},e.getEventFullKey=function(t){var e="",n=r().getEventKey(t);return n=n.toLowerCase()," "===n?n="space":"."===n&&(n="dot"),It.forEach(function(r){if(r!=n){(0,Lt[r])(t)&&(e+=r+".")}}),e+=n},e.eventCallback=function(t,n,r){return function(i){e.getEventFullKey(i)===t&&r.runGuarded(function(){return n(i)})}},e._normalizeKey=function(t){switch(t){case"esc":return"escape";default:return t}},e.decorators=[{type:j.w}],e.ctorParameters=function(){return[{type:void 0,decorators:[{type:j.v,args:[K]}]}]},e}(at),Ht=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:\/?#]*(?:[\/?#]|$))/gi,Bt=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\/]+=*$/i,Ut=null,zt=null,qt=w("area,br,col,hr,img,wbr"),Wt=w("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Gt=w("rp,rt"),Zt=E(Gt,Wt),Kt=E(Wt,w("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")),Qt=E(Gt,w("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")),$t=E(qt,Kt,Qt,Zt),Xt=w("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Jt=w("srcset"),Yt=w("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"),te=E(Xt,Jt,Yt),ee=function(){function t(){this.sanitizedSomething=!1,this.buf=[]}return t.prototype.sanitizeChildren=function(t){for(var e=t.firstChild;e;)if(zt.isElementNode(e)?this.startElement(e):zt.isTextNode(e)?this.chars(zt.nodeValue(e)):this.sanitizedSomething=!0,zt.firstChild(e))e=zt.firstChild(e);else for(;e;){zt.isElementNode(e)&&this.endElement(e);var n=C(e,zt.nextSibling(e));if(n){e=n;break}e=C(e,zt.parentElement(e))}return this.buf.join("")},t.prototype.startElement=function(t){var e=this,n=zt.nodeName(t).toLowerCase();if(!$t.hasOwnProperty(n))return void(this.sanitizedSomething=!0);this.buf.push("<"),this.buf.push(n),zt.attributeMap(t).forEach(function(t,n){var r=n.toLowerCase();if(!te.hasOwnProperty(r))return void(e.sanitizedSomething=!0);Xt[r]&&(t=g(t)),Jt[r]&&(t=_(t)),e.buf.push(" "),e.buf.push(n),e.buf.push('="'),e.buf.push(x(t)),e.buf.push('"')}),this.buf.push(">")},t.prototype.endElement=function(t){var e=zt.nodeName(t).toLowerCase();$t.hasOwnProperty(e)&&!qt.hasOwnProperty(e)&&(this.buf.push(""))},t.prototype.chars=function(t){this.buf.push(x(t))},t}(),ne=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,re=/([^\#-~ |!])/g,ie=new RegExp("^([-,.\"'%_!# a-zA-Z0-9]+|(?:(?:matrix|translate|scale|rotate|skew|perspective)(?:X|Y|3d)?|(?:rgb|hsl)a?|(?:repeating-)?(?:linear|radial)-gradient|(?:calc|attr))\\([-0-9.%, #a-zA-Z]+\\))$","g"),oe=/^url\(([^)]+)\)$/,se=function(){function t(){}return t}(),ae=function(t){function e(e){var n=t.call(this)||this;return n._doc=e,n}return Object(F.b)(e,t),e.prototype.sanitize=function(t,e){if(null==e)return null;switch(t){case j.V.NONE:return e;case j.V.HTML:return e instanceof ce?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"HTML"),T(this._doc,String(e)));case j.V.STYLE:return e instanceof le?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"Style"),O(e));case j.V.SCRIPT:if(e instanceof pe)return e.changingThisBreaksApplicationSecurity;throw this.checkNotSafeValue(e,"Script"),new Error("unsafe value used in a script context");case j.V.URL:return e instanceof fe||e instanceof he?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"URL"),g(String(e)));case j.V.RESOURCE_URL:if(e instanceof fe)return e.changingThisBreaksApplicationSecurity;throw this.checkNotSafeValue(e,"ResourceURL"),new Error("unsafe value used in a resource URL context (see http://g.co/ng/security#xss)");default:throw new Error("Unexpected SecurityContext "+t+" (see http://g.co/ng/security#xss)")}},e.prototype.checkNotSafeValue=function(t,e){if(t instanceof ue)throw new Error("Required a safe "+e+", got a "+t.getTypeName()+" (see http://g.co/ng/security#xss)")},e.prototype.bypassSecurityTrustHtml=function(t){return new ce(t)},e.prototype.bypassSecurityTrustStyle=function(t){return new le(t)},e.prototype.bypassSecurityTrustScript=function(t){return new pe(t)},e.prototype.bypassSecurityTrustUrl=function(t){return new he(t)},e.prototype.bypassSecurityTrustResourceUrl=function(t){return new fe(t)},e.decorators=[{type:j.w}],e.ctorParameters=function(){return[{type:void 0,decorators:[{type:j.v,args:[K]}]}]},e}(se),ue=function(){function t(t){this.changingThisBreaksApplicationSecurity=t}return t.prototype.toString=function(){return"SafeValue must use [property]=binding: "+this.changingThisBreaksApplicationSecurity+" (see http://g.co/ng/security#xss)"},t}(),ce=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(F.b)(e,t),e.prototype.getTypeName=function(){return"HTML"},e}(ue),le=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(F.b)(e,t),e.prototype.getTypeName=function(){return"Style"},e}(ue),pe=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(F.b)(e,t),e.prototype.getTypeName=function(){return"Script"},e}(ue),he=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(F.b)(e,t),e.prototype.getTypeName=function(){return"URL"},e}(ue),fe=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(F.b)(e,t),e.prototype.getTypeName=function(){return"ResourceURL"},e}(ue),de=[{provide:j.M,useValue:R.d},{provide:j.N,useValue:k,multi:!0},{provide:R.c,useClass:Q,deps:[K]},{provide:K,useFactory:A,deps:[]}],ve=[{provide:j.U,useExisting:se},{provide:se,useClass:ae,deps:[K]}],ye=(Object(j._6)(j._11,"browser",de),function(){function t(t){if(t)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}return t.withServerTransition=function(e){return{ngModule:t,providers:[{provide:j.b,useValue:e.appId},{provide:X,useExisting:j.b},J]}},t.decorators=[{type:j.E,args:[{providers:[ve,{provide:j.s,useFactory:M,deps:[]},{provide:ot,useClass:Ot,multi:!0},{provide:ot,useClass:Vt,multi:!0},{provide:ot,useClass:Nt,multi:!0},{provide:Mt,useClass:At},dt,{provide:j.S,useExisting:dt},{provide:ut,useExisting:ct},ct,j._1,st,it,$,tt],exports:[R.a,j.e]}]}],t.ctorParameters=function(){return[{type:t,decorators:[{type:j.J},{type:j.X}]}]},t}()),me="undefined"!=typeof window&&window||{},ge=function(){function t(t,e){this.msPerTick=t,this.numTicks=e}return t}(),_e=(function(){function t(t){this.appRef=t.injector.get(j.f)}t.prototype.timeChangeDetection=function(t){var e=t&&t.record,n=null!=me.console.profile;e&&n&&me.console.profile("Change Detection");for(var i=r().performanceNow(),o=0;o<5||r().performanceNow()-i<500;)this.appRef.tick(),o++;var s=r().performanceNow();e&&n&&me.console.profileEnd("Change Detection");var a=(s-i)/o;return me.console.log("ran "+o+" change detection cycles"),me.console.log(a.toFixed(2)+" ms per check"),new ge(a,o)}}(),function(){function t(){this.store={},this.onSerializeCallbacks={}}return t.init=function(e){var n=new t;return n.store=e,n},t.prototype.get=function(t,e){return this.store[t]||e},t.prototype.set=function(t,e){this.store[t]=e},t.prototype.remove=function(t){delete this.store[t]},t.prototype.hasKey=function(t){return this.store.hasOwnProperty(t)},t.prototype.onSerialize=function(t,e){this.onSerializeCallbacks[t]=e},t.prototype.toJson=function(){for(var t in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(t))try{this.store[t]=this.onSerializeCallbacks[t]()}catch(t){console.warn("Exception in onSerialize callback: ",t)}return JSON.stringify(this.store)},t.decorators=[{type:j.w}],t.ctorParameters=function(){return[]},t}());(function(){function t(){}t.decorators=[{type:j.E,args:[{providers:[{provide:_e,useFactory:I,deps:[K,j.b]}]}]}],t.ctorParameters=function(){return[]}})(),function(){function t(){}t.all=function(){return function(t){return!0}},t.css=function(t){return function(e){return null!=e.nativeElement&&r().elementMatches(e.nativeElement,t)}},t.directive=function(t){return function(e){return-1!==e.providerTokens.indexOf(t)}}}(),new j._2("5.1.3")},function(t,e,n){"use strict";function r(t){var e=["tree-container-ul","tree-children"];return t&&e.push("tree-no-dots"),e.join(" ")}function i(t,e){var n=["tree-node"];return t.state.openable||t.children.length>0?(t.state.opened?n.push("tree-open"):n.push("tree-closed"),t.state.loading&&n.push("tree-loading")):n.push("tree-leaf"),e&&n.push("tree-last"),n.join(" ")}function o(t,e,n){var r=["tree-anchor","tree-relative","tree-anchor-"+n.join("-")];return t.state.selected&&r.push("tree-clicked"),t.state.disabled&&r.push("tree-disabled"),t.state.highlighted&&r.push("tree-search"),e&&r.push("tree-hovered"),r.join(" ")}function s(t,e){var n=["tree-icon","tree-checkbox","tree-checkbox-"+e.join("-")];return t.children&&t.children.some(function(t){return t.state.selected})&&t.children.some(function(t){return!t.state.selected})&&n.push("tree-undetermined"),n.join(" ")}function a(t,e,n){void 0===n&&(n="default");var r=["tree"];return e?r.push("tree-"+n+"-"+e):r.push("tree-"+n),t&&r.push("tree-checkbox-selection","tree-checkbox-no-clicked"),r.join(" ")}function u(t){var e=["tree-icon","tree-themeicon"];return t&&e.push(t,"tree-themeicon-custom"),e.join(" ")}function c(t){return["tree-icon","tree-ocl","tree-ocl-"+t.join("-")].join(" ")}function l(t){var e=["tree-marker-"+t.state.dropPosition];return t.state.dropAllowed?e.push("allowed"):e.push("not-allowed"),e.join(" ")}function p(t,e){for(var n=null,r=0,i=e;r2*n/3?3:2}function f(t){if(t.state.dropPosition&&(t.state.dropPosition=0),t.children)for(var e=0,n=t.children;eu;)r(a,n=e[u++])&&(~o(c,n)||c.push(n));return c}},function(t,e,n){var r=n(6),i=n(1),o=n(45);t.exports=n(7)?Object.defineProperties:function(t,e){i(t);for(var n,s=o(e),a=s.length,u=0;a>u;)r.f(t,n=s[u++],e[n]);return t}},function(t,e,n){var r=n(16),i=n(36).f,o={}.toString,s="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],a=function(t){try{return i(t)}catch(t){return s.slice()}};t.exports.f=function(t){return s&&"[object Window]"==o.call(t)?a(t):i(r(t))}},function(t,e,n){"use strict";var r=n(45),i=n(52),o=n(53),s=n(12),a=n(46),u=Object.assign;t.exports=!u||n(2)(function(){var t={},e={},n=Symbol(),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach(function(t){e[t]=t}),7!=u({},t)[n]||Object.keys(u({},e)).join("")!=r})?function(t,e){for(var n=s(t),u=arguments.length,c=1,l=i.f,p=o.f;u>c;)for(var h,f=a(arguments[c++]),d=l?r(f).concat(l(f)):r(f),v=d.length,y=0;v>y;)p.call(f,h=d[y++])&&(n[h]=f[h]);return n}:u},function(t,e,n){"use strict";var r=n(15),i=n(3),o=n(95),s=[].slice,a={},u=function(t,e,n){if(!(e in a)){for(var r=[],i=0;i>>0||(s.test(n)?16:10))}:r},function(t,e,n){var r=n(4).parseFloat,i=n(55).trim;t.exports=1/r(n(68)+"-0")!=-1/0?function(t){var e=i(String(t),3),n=r(e);return 0===n&&"-"==e.charAt(0)?-0:n}:r},function(t,e,n){var r=n(22);t.exports=function(t,e){if("number"!=typeof t&&"Number"!=r(t))throw TypeError(e);return+t}},function(t,e,n){"use strict";var r=n(23),i=n(31);t.exports=function(t){var e=String(i(this)),n="",o=r(t);if(o<0||o==1/0)throw RangeError("Count can't be negative");for(;o>0;(o>>>=1)&&(e+=e))1&o&&(n+=e);return n}},function(t,e,n){var r=n(3),i=Math.floor;t.exports=function(t){return!r(t)&&isFinite(t)&&i(t)===t}},function(t,e){t.exports=Math.log1p||function(t){return(t=+t)>-1e-8&&t<1e-8?t-t*t/2:Math.log(1+t)}},function(t,e,n){var r=n(23),i=n(31);t.exports=function(t){return function(e,n){var o,s,a=String(i(e)),u=r(n),c=a.length;return u<0||u>=c?t?"":void 0:(o=a.charCodeAt(u),o<55296||o>56319||u+1===c||(s=a.charCodeAt(u+1))<56320||s>57343?t?a.charAt(u):o:t?a.slice(u,u+2):s-56320+(o-55296<<10)+65536)}}},function(t,e,n){"use strict";var r=n(35),i=n(32),o=n(38),s={};n(13)(s,n(5)("iterator"),function(){return this}),t.exports=function(t,e,n){t.prototype=r(s,{next:i(1,n)}),o(t,e+" Iterator")}},function(t,e,n){var r=n(1);t.exports=function(t,e,n,i){try{return i?e(r(n)[0],n[1]):e(n)}catch(e){var o=t.return;throw void 0!==o&&r(o.call(t)),e}}},function(t,e,n){"use strict";var r=n(6),i=n(32);t.exports=function(t,e,n){e in t?r.f(t,e,i(0,n)):t[e]=n}},function(t,e,n){var r=n(15),i=n(12),o=n(46),s=n(8);t.exports=function(t,e,n,a,u){r(e);var c=i(t),l=o(c),p=s(c.length),h=u?p-1:0,f=u?-1:1;if(n<2)for(;;){if(h in l){a=l[h],h+=f;break}if(h+=f,u?h<0:p<=h)throw TypeError("Reduce of empty array with no initial value")}for(;u?h>=0:p>h;h+=f)h in l&&(a=e(a,l[h],h,c));return a}},function(t,e,n){"use strict";var r=n(12),i=n(34),o=n(8);t.exports=[].copyWithin||function(t,e){var n=r(this),s=o(n.length),a=i(t,s),u=i(e,s),c=arguments.length>2?arguments[2]:void 0,l=Math.min((void 0===c?s:i(c,s))-u,s-a),p=1;for(u0;)u in n?n[a]=n[u]:delete n[a],a+=p,u+=p;return n}},function(t,e,n){"use strict";var r=n(48),i=n(109),o=n(47),s=n(16);t.exports=n(72)(Array,"Array",function(t,e){this._t=s(t),this._i=0,this._k=e},function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,i(1)):"keys"==e?i(0,n):"values"==e?i(0,t[n]):i(0,[n,t[n]])},"values"),o.Arguments=o.Array,r("keys"),r("values"),r("entries")},function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},function(t,e,n){n(7)&&"g"!=/./g.flags&&n(6).f(RegExp.prototype,"flags",{configurable:!0,get:n(79)})},function(t,e,n){var r,i,o,s=n(21),a=n(95),u=n(66),c=n(61),l=n(4),p=l.process,h=l.setImmediate,f=l.clearImmediate,d=l.MessageChannel,v=l.Dispatch,y=0,m={},g=function(){var t=+this;if(m.hasOwnProperty(t)){var e=m[t];delete m[t],e()}},_=function(t){g.call(t.data)};h&&f||(h=function(t){for(var e=[],n=1;arguments.length>n;)e.push(arguments[n++]);return m[++y]=function(){a("function"==typeof t?t:Function(t),e)},r(y),y},f=function(t){delete m[t]},"process"==n(22)(p)?r=function(t){p.nextTick(s(g,t,1))}:v&&v.now?r=function(t){v.now(s(g,t,1))}:d?(i=new d,o=i.port2,i.port1.onmessage=_,r=s(o.postMessage,o,1)):l.addEventListener&&"function"==typeof postMessage&&!l.importScripts?(r=function(t){l.postMessage(t+"","*")},l.addEventListener("message",_,!1)):r="onreadystatechange"in c("script")?function(t){u.appendChild(c("script")).onreadystatechange=function(){u.removeChild(this),g.call(t)}}:function(t){setTimeout(s(g,t,1),0)}),t.exports={set:h,clear:f}},function(t,e,n){"use strict";function r(t){var e,n;this.promise=new t(function(t,r){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=r}),this.resolve=i(e),this.reject=i(n)}var i=n(15);t.exports.f=function(t){return new r(t)}},function(t,e,n){"use strict";var r=n(114),i=n(43);t.exports=n(58)("Map",function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},{get:function(t){var e=r.getEntry(i(this,"Map"),t);return e&&e.v},set:function(t,e){return r.def(i(this,"Map"),0===t?0:t,e)}},r,!0)},function(t,e,n){"use strict";var r=n(6).f,i=n(35),o=n(42),s=n(21),a=n(41),u=n(49),c=n(72),l=n(109),p=n(40),h=n(7),f=n(30).fastKey,d=n(43),v=h?"_s":"size",y=function(t,e){var n,r=f(e);if("F"!==r)return t._i[r];for(n=t._f;n;n=n.n)if(n.k==e)return n};t.exports={getConstructor:function(t,e,n,c){var l=t(function(t,r){a(t,l,e,"_i"),t._t=e,t._i=i(null),t._f=void 0,t._l=void 0,t[v]=0,void 0!=r&&u(r,n,t[c],t)});return o(l.prototype,{clear:function(){for(var t=d(this,e),n=t._i,r=t._f;r;r=r.n)r.r=!0,r.p&&(r.p=r.p.n=void 0),delete n[r.i];t._f=t._l=void 0,t[v]=0},delete:function(t){var n=d(this,e),r=y(n,t);if(r){var i=r.n,o=r.p;delete n._i[r.i],r.r=!0,o&&(o.n=i),i&&(i.p=o),n._f==r&&(n._f=i),n._l==r&&(n._l=o),n[v]--}return!!r},forEach:function(t){d(this,e);for(var n,r=s(t,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(t){return!!y(d(this,e),t)}}),h&&r(l.prototype,"size",{get:function(){return d(this,e)[v]}}),l},def:function(t,e,n){var r,i,o=y(t,e);return o?o.v=n:(t._l=o={i:i=f(e,!0),k:e,v:n,p:r=t._l,n:void 0,r:!1},t._f||(t._f=o),r&&(r.n=o),t[v]++,"F"!==i&&(t._i[i]=o)),t},getEntry:y,setStrong:function(t,e,n){c(t,e,function(t,n){this._t=d(t,e),this._k=n,this._l=void 0},function(){for(var t=this,e=t._k,n=t._l;n&&n.r;)n=n.p;return t._t&&(t._l=n=n?n.n:t._t._f)?"keys"==e?l(0,n.k):"values"==e?l(0,n.v):l(0,[n.k,n.v]):(t._t=void 0,l(1))},n?"entries":"values",!n,!0),p(e)}}},function(t,e,n){"use strict";var r=n(114),i=n(43);t.exports=n(58)("Set",function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},{add:function(t){return r.def(i(this,"Set"),t=0===t?0:t,t)}},r)},function(t,e,n){"use strict";var r,i=n(19)(0),o=n(11),s=n(30),a=n(93),u=n(117),c=n(3),l=n(2),p=n(43),h=s.getWeak,f=Object.isExtensible,d=u.ufstore,v={},y=function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},m={get:function(t){if(c(t)){var e=h(t);return!0===e?d(p(this,"WeakMap")).get(t):e?e[this._i]:void 0}},set:function(t,e){return u.def(p(this,"WeakMap"),t,e)}},g=t.exports=n(58)("WeakMap",y,m,u,!0,!0);l(function(){return 7!=(new g).set((Object.freeze||Object)(v),7).get(v)})&&(r=u.getConstructor(y,"WeakMap"),a(r.prototype,m),s.NEED=!0,i(["delete","has","get","set"],function(t){var e=g.prototype,n=e[t];o(e,t,function(e,i){if(c(e)&&!f(e)){this._f||(this._f=new r);var o=this._f[t](e,i);return"set"==t?this:o}return n.call(this,e,i)})}))},function(t,e,n){"use strict";var r=n(42),i=n(30).getWeak,o=n(1),s=n(3),a=n(41),u=n(49),c=n(19),l=n(9),p=n(43),h=c(5),f=c(6),d=0,v=function(t){return t._l||(t._l=new y)},y=function(){this.a=[]},m=function(t,e){return h(t.a,function(t){return t[0]===e})};y.prototype={get:function(t){var e=m(this,t);if(e)return e[1]},has:function(t){return!!m(this,t)},set:function(t,e){var n=m(this,t);n?n[1]=e:this.a.push([t,e])},delete:function(t){var e=f(this.a,function(e){return e[0]===t});return~e&&this.a.splice(e,1),!!~e}},t.exports={getConstructor:function(t,e,n,o){var c=t(function(t,r){a(t,c,e,"_i"),t._t=e,t._i=d++,t._l=void 0,void 0!=r&&u(r,n,t[o],t)});return r(c.prototype,{delete:function(t){if(!s(t))return!1;var n=i(t);return!0===n?v(p(this,e)).delete(t):n&&l(n,this._i)&&delete n[this._i]},has:function(t){if(!s(t))return!1;var n=i(t);return!0===n?v(p(this,e)).has(t):n&&l(n,this._i)}}),c},def:function(t,e,n){var r=i(o(e),!0);return!0===r?v(t).set(e,n):r[t._i]=n,t},ufstore:v}},function(t,e,n){var r=n(23),i=n(8);t.exports=function(t){if(void 0===t)return 0;var e=r(t),n=i(e);if(e!==n)throw RangeError("Wrong length!");return n}},function(t,e,n){"use strict";function r(t){return"function"==typeof t}e.isFunction=r},function(t,e,n){"use strict";e.isArray=Array.isArray||function(t){return t&&"number"==typeof t.length}},function(t,e,n){"use strict";function r(t){return null!=t&&"object"==typeof t}e.isObject=r},function(t,e,n){"use strict";e.errorObject={e:{}}},function(t,e,n){"use strict";e.empty={closed:!0,next:function(t){},error:function(t){throw t},complete:function(){}}},function(t,e,n){"use strict";function r(t){var e,n=t.Symbol;return"function"==typeof n?n.observable?e=n.observable:(e=n("observable"),n.observable=e):e="@@observable",e}var i=n(44);e.getSymbolObservable=r,e.observable=r(i.root),e.$$observable=e.observable},function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n(20),o=function(t){function e(e){t.call(this),this.scheduler=e}return r(e,t),e.create=function(t){return new e(t)},e.dispatch=function(t){t.subscriber.complete()},e.prototype._subscribe=function(t){var n=this.scheduler;if(n)return n.schedule(e.dispatch,0,{subscriber:t});t.complete()},e}(i.Observable);e.EmptyObservable=o},function(t,e,n){"use strict";function r(t){return t&&"function"==typeof t.schedule}e.isScheduler=r},function(t,e,n){"use strict";function r(t,e,n,r){var h=new l.InnerSubscriber(t,n,r);if(h.closed)return null;if(e instanceof u.Observable)return e._isScalar?(h.next(e.value),h.complete(),null):(h.syncErrorThrowable=!0,e.subscribe(h));if(o.isArrayLike(e)){for(var f=0,d=e.length;f1)return void(this.connection=null);var n=this.connection,r=t._connection;this.connection=null,!r||n&&r!==n||r.unsubscribe()},e}(o.Subscriber)},function(t,e){function n(t){return Promise.resolve().then(function(){throw new Error("Cannot find module '"+t+"'.")})}n.keys=function(){return[]},n.resolve=n,t.exports=n,n.id=130},function(t,e,n){"use strict";n.d(e,"a",function(){return s}),n.d(e,"b",function(){return a});var r=n(27),i=n(87),o=n(324),s=function(){function t(){this.toggle=new r.t,this.change=new r.t,this.hovered=!1,this.doubleClick=new i.a}return Object.defineProperty(t.prototype,"nodeClassName",{get:function(){return i.i(this.data,this.last)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"anchorClassName",{get:function(){return i.c(this.data,this.hovered,this.path)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"checkboxClassName",{get:function(){return i.d(this.data,this.path)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"iconClassName",{get:function(){return i.f(this.data.icon)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"oclClassName",{get:function(){return i.k(this.path)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pathString",{get:function(){return this.path.toString()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"hasMarker",{get:function(){return this.draggable&&0!==this.data.state.dropPosition},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"markerClassName",{get:function(){return i.h(this.data)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"eventData",{get:function(){return{data:this.data,path:this.path}},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"id",{get:function(){return i.g(this.path,this.preid)},enumerable:!0,configurable:!0}),t.prototype.geChildPath=function(t){return this.path.concat(t)},t.prototype.hover=function(t){this.hovered=t},t.prototype.ontoggle=function(t){t?this.toggle.emit(t):(this.data.state.openable||this.data.children.length>0)&&this.toggle.emit(this.eventData)},t.prototype.onchange=function(t){var e=this;if(t)this.change.emit(t);else{if(this.data.state.disabled)return;this.doubleClick.onclick(function(){e.change.emit(e.eventData)})}},t.prototype.trackBy=function(t,e){return e},t.decorators=[{type:r.m,args:[{selector:"node",template:o.a}]}],t.ctorParameters=function(){return[]},t.propDecorators={data:[{type:r.z}],last:[{type:r.z}],checkbox:[{type:r.z}],path:[{type:r.z}],draggable:[{type:r.z}],preid:[{type:r.z}],toggle:[{type:r.K}],change:[{type:r.K}]},t}(),a=function(){function t(){this.toggle=new r.t,this.change=new r.t,this.drop=new r.t,this.dragTarget=null,this.dropTarget=null}return Object.defineProperty(t.prototype,"rootClassName",{get:function(){return i.l(this.checkbox,this.size,this.theme)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"containerClassName",{get:function(){return i.e(this.nodots)},enumerable:!0,configurable:!0}),t.prototype.ontoggle=function(t){this.toggle.emit(t)},t.prototype.onchange=function(t){this.change.emit(t)},t.prototype.ondragstart=function(t){this.draggable&&(this.dragTarget=t.target,this.dropTarget=t.target)},t.prototype.ondragend=function(t){if(this.draggable){this.dragTarget=null;for(var e=0,n=this.data;ei;)Z(t,n=r[i++],e[n]);return t},Q=function(t,e){return void 0===e?C(t):K(C(t),e)},$=function(t){var e=j.call(this,t=w(t,!0));return!(this===H&&i(L,t)&&!i(V,t))&&(!(e||!i(this,t)||!i(L,t)||i(this,D)&&this[D][t])||e)},X=function(t,e){if(t=b(t),e=w(e,!0),t!==H||!i(L,e)||i(V,e)){var n=O(t,e);return!n||!i(L,e)||i(t,D)&&t[D][e]||(n.enumerable=!0),n}},J=function(t){for(var e,n=M(b(t)),r=[],o=0;n.length>o;)i(L,e=n[o++])||e==D||e==u||r.push(e);return r},Y=function(t){for(var e,n=t===H,r=M(n?V:b(t)),o=[],s=0;r.length>s;)!i(L,e=r[s++])||n&&!i(H,e)||o.push(L[e]);return o};B||(A=function(){if(this instanceof A)throw TypeError("Symbol is not a constructor!");var t=h(arguments.length>0?arguments[0]:void 0),e=function(n){this===H&&e.call(V,n),i(this,D)&&i(this[D],t)&&(this[D][t]=!1),q(this,t,E(1,n))};return o&&z&&q(H,t,{configurable:!0,set:e}),W(t)},a(A.prototype,"toString",function(){return this._k}),S.f=X,T.f=Z,n(36).f=x.f=J,n(53).f=$,n(52).f=Y,o&&!n(39)&&a(H,"propertyIsEnumerable",$,!0),d.f=function(t){return W(f(t))}),s(s.G+s.W+s.F*!B,{Symbol:A});for(var tt="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),et=0;tt.length>et;)f(tt[et++]);for(var nt=P(f.store),rt=0;nt.length>rt;)v(nt[rt++]);s(s.S+s.F*!B,"Symbol",{for:function(t){return i(F,t+="")?F[t]:F[t]=A(t)},keyFor:function(t){if(!G(t))throw TypeError(t+" is not a symbol!");for(var e in F)if(F[e]===t)return e},useSetter:function(){z=!0},useSimple:function(){z=!1}}),s(s.S+s.F*!B,"Object",{create:Q,defineProperty:Z,defineProperties:K,getOwnPropertyDescriptor:X,getOwnPropertyNames:J,getOwnPropertySymbols:Y}),N&&s(s.S+s.F*(!B||c(function(){var t=A();return"[null]"!=I([t])||"{}"!=I({a:t})||"{}"!=I(Object(t))})),"JSON",{stringify:function(t){for(var e,n,r=[t],i=1;arguments.length>i;)r.push(arguments[i++]);if(n=e=r[1],(_(e)||void 0!==t)&&!G(t))return m(e)||(e=function(t,e){if("function"==typeof n&&(e=n.call(this,t,e)),!G(e))return e}),r[1]=e,I.apply(N,r)}}),A.prototype[R]||n(13)(A.prototype,R,A.prototype.valueOf),p(A,"Symbol"),p(Math,"Math",!0),p(r.JSON,"JSON",!0)},function(t,e,n){var r=n(4),i=n(28),o=n(39),s=n(89),a=n(6).f;t.exports=function(t){var e=i.Symbol||(i.Symbol=o?{}:r.Symbol||{});"_"==t.charAt(0)||t in e||a(e,t,{value:s.f(t)})}},function(t,e,n){var r=n(45),i=n(52),o=n(53);t.exports=function(t){var e=r(t),n=i.f;if(n)for(var s,a=n(t),u=o.f,c=0;a.length>c;)u.call(t,s=a[c++])&&e.push(s);return e}},function(t,e,n){var r=n(0);r(r.S,"Object",{create:n(35)})},function(t,e,n){var r=n(0);r(r.S+r.F*!n(7),"Object",{defineProperty:n(6).f})},function(t,e,n){var r=n(0);r(r.S+r.F*!n(7),"Object",{defineProperties:n(91)})},function(t,e,n){var r=n(16),i=n(24).f;n(17)("getOwnPropertyDescriptor",function(){return function(t,e){return i(r(t),e)}})},function(t,e,n){var r=n(12),i=n(18);n(17)("getPrototypeOf",function(){return function(t){return i(r(t))}})},function(t,e,n){var r=n(12),i=n(45);n(17)("keys",function(){return function(t){return i(r(t))}})},function(t,e,n){n(17)("getOwnPropertyNames",function(){return n(92).f})},function(t,e,n){var r=n(3),i=n(30).onFreeze;n(17)("freeze",function(t){return function(e){return t&&r(e)?t(i(e)):e}})},function(t,e,n){var r=n(3),i=n(30).onFreeze;n(17)("seal",function(t){return function(e){return t&&r(e)?t(i(e)):e}})},function(t,e,n){var r=n(3),i=n(30).onFreeze;n(17)("preventExtensions",function(t){return function(e){return t&&r(e)?t(i(e)):e}})},function(t,e,n){var r=n(3);n(17)("isFrozen",function(t){return function(e){return!r(e)||!!t&&t(e)}})},function(t,e,n){var r=n(3);n(17)("isSealed",function(t){return function(e){return!r(e)||!!t&&t(e)}})},function(t,e,n){var r=n(3);n(17)("isExtensible",function(t){return function(e){return!!r(e)&&(!t||t(e))}})},function(t,e,n){var r=n(0);r(r.S+r.F,"Object",{assign:n(93)})},function(t,e,n){var r=n(0);r(r.S,"Object",{is:n(152)})},function(t,e){t.exports=Object.is||function(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}},function(t,e,n){var r=n(0);r(r.S,"Object",{setPrototypeOf:n(67).set})},function(t,e,n){"use strict";var r=n(54),i={};i[n(5)("toStringTag")]="z",i+""!="[object z]"&&n(11)(Object.prototype,"toString",function(){return"[object "+r(this)+"]"},!0)},function(t,e,n){var r=n(0);r(r.P,"Function",{bind:n(94)})},function(t,e,n){var r=n(6).f,i=Function.prototype,o=/^\s*function ([^ (]*)/;"name"in i||n(7)&&r(i,"name",{configurable:!0,get:function(){try{return(""+this).match(o)[1]}catch(t){return""}}})},function(t,e,n){"use strict";var r=n(3),i=n(18),o=n(5)("hasInstance"),s=Function.prototype;o in s||n(6).f(s,o,{value:function(t){if("function"!=typeof this||!r(t))return!1;if(!r(this.prototype))return t instanceof this;for(;t=i(t);)if(this.prototype===t)return!0;return!1}})},function(t,e,n){var r=n(0),i=n(96);r(r.G+r.F*(parseInt!=i),{parseInt:i})},function(t,e,n){var r=n(0),i=n(97);r(r.G+r.F*(parseFloat!=i),{parseFloat:i})},function(t,e,n){"use strict";var r=n(4),i=n(9),o=n(22),s=n(69),a=n(29),u=n(2),c=n(36).f,l=n(24).f,p=n(6).f,h=n(55).trim,f=r.Number,d=f,v=f.prototype,y="Number"==o(n(35)(v)),m="trim"in String.prototype,g=function(t){var e=a(t,!1);if("string"==typeof e&&e.length>2){e=m?e.trim():h(e,3);var n,r,i,o=e.charCodeAt(0);if(43===o||45===o){if(88===(n=e.charCodeAt(2))||120===n)return NaN}else if(48===o){switch(e.charCodeAt(1)){case 66:case 98:r=2,i=49;break;case 79:case 111:r=8,i=55;break;default:return+e}for(var s,u=e.slice(2),c=0,l=u.length;ci)return NaN;return parseInt(u,r)}}return+e};if(!f(" 0o1")||!f("0b1")||f("+0x1")){f=function(t){var e=arguments.length<1?0:t,n=this;return n instanceof f&&(y?u(function(){v.valueOf.call(n)}):"Number"!=o(n))?s(new d(g(e)),n,f):g(e)};for(var _,b=n(7)?c(d):"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++)i(d,_=b[w])&&!i(f,_)&&p(f,_,l(d,_));f.prototype=v,v.constructor=f,n(11)(r,"Number",f)}},function(t,e,n){"use strict";var r=n(0),i=n(23),o=n(98),s=n(99),a=1..toFixed,u=Math.floor,c=[0,0,0,0,0,0],l="Number.toFixed: incorrect invocation!",p=function(t,e){for(var n=-1,r=e;++n<6;)r+=t*c[n],c[n]=r%1e7,r=u(r/1e7)},h=function(t){for(var e=6,n=0;--e>=0;)n+=c[e],c[e]=u(n/t),n=n%t*1e7},f=function(){for(var t=6,e="";--t>=0;)if(""!==e||0===t||0!==c[t]){var n=String(c[t]);e=""===e?n:e+s.call("0",7-n.length)+n}return e},d=function(t,e,n){return 0===e?n:e%2==1?d(t,e-1,n*t):d(t*t,e/2,n)},v=function(t){for(var e=0,n=t;n>=4096;)e+=12,n/=4096;for(;n>=2;)e+=1,n/=2;return e};r(r.P+r.F*(!!a&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!n(2)(function(){a.call({})})),"Number",{toFixed:function(t){var e,n,r,a,u=o(this,l),c=i(t),y="",m="0";if(c<0||c>20)throw RangeError(l);if(u!=u)return"NaN";if(u<=-1e21||u>=1e21)return String(u);if(u<0&&(y="-",u=-u),u>1e-21)if(e=v(u*d(2,69,1))-69,n=e<0?u*d(2,-e,1):u/d(2,e,1),n*=4503599627370496,(e=52-e)>0){for(p(0,n),r=c;r>=7;)p(1e7,0),r-=7;for(p(d(10,r,1),0),r=e-1;r>=23;)h(1<<23),r-=23;h(1<0?(a=m.length,m=y+(a<=c?"0."+s.call("0",c-a)+m:m.slice(0,a-c)+"."+m.slice(a-c))):m=y+m,m}})},function(t,e,n){"use strict";var r=n(0),i=n(2),o=n(98),s=1..toPrecision;r(r.P+r.F*(i(function(){return"1"!==s.call(1,void 0)})||!i(function(){s.call({})})),"Number",{toPrecision:function(t){var e=o(this,"Number#toPrecision: incorrect invocation!");return void 0===t?s.call(e):s.call(e,t)}})},function(t,e,n){var r=n(0);r(r.S,"Number",{EPSILON:Math.pow(2,-52)})},function(t,e,n){var r=n(0),i=n(4).isFinite;r(r.S,"Number",{isFinite:function(t){return"number"==typeof t&&i(t)}})},function(t,e,n){var r=n(0);r(r.S,"Number",{isInteger:n(100)})},function(t,e,n){var r=n(0);r(r.S,"Number",{isNaN:function(t){return t!=t}})},function(t,e,n){var r=n(0),i=n(100),o=Math.abs;r(r.S,"Number",{isSafeInteger:function(t){return i(t)&&o(t)<=9007199254740991}})},function(t,e,n){var r=n(0);r(r.S,"Number",{MAX_SAFE_INTEGER:9007199254740991})},function(t,e,n){var r=n(0);r(r.S,"Number",{MIN_SAFE_INTEGER:-9007199254740991})},function(t,e,n){var r=n(0),i=n(97);r(r.S+r.F*(Number.parseFloat!=i),"Number",{parseFloat:i})},function(t,e,n){var r=n(0),i=n(96);r(r.S+r.F*(Number.parseInt!=i),"Number",{parseInt:i})},function(t,e,n){var r=n(0),i=n(101),o=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(t){return(t=+t)<1?NaN:t>94906265.62425156?Math.log(t)+Math.LN2:i(t-1+o(t-1)*o(t+1))}})},function(t,e,n){function r(t){return isFinite(t=+t)&&0!=t?t<0?-r(-t):Math.log(t+Math.sqrt(t*t+1)):t}var i=n(0),o=Math.asinh;i(i.S+i.F*!(o&&1/o(0)>0),"Math",{asinh:r})},function(t,e,n){var r=n(0),i=Math.atanh;r(r.S+r.F*!(i&&1/i(-0)<0),"Math",{atanh:function(t){return 0==(t=+t)?t:Math.log((1+t)/(1-t))/2}})},function(t,e,n){var r=n(0),i=n(70);r(r.S,"Math",{cbrt:function(t){return i(t=+t)*Math.pow(Math.abs(t),1/3)}})},function(t,e,n){var r=n(0);r(r.S,"Math",{clz32:function(t){return(t>>>=0)?31-Math.floor(Math.log(t+.5)*Math.LOG2E):32}})},function(t,e,n){var r=n(0),i=Math.exp;r(r.S,"Math",{cosh:function(t){return(i(t=+t)+i(-t))/2}})},function(t,e,n){var r=n(0),i=n(71);r(r.S+r.F*(i!=Math.expm1),"Math",{expm1:i})},function(t,e,n){var r=n(0);r(r.S,"Math",{fround:n(180)})},function(t,e,n){var r=n(70),i=Math.pow,o=i(2,-52),s=i(2,-23),a=i(2,127)*(2-s),u=i(2,-126),c=function(t){return t+1/o-1/o};t.exports=Math.fround||function(t){var e,n,i=Math.abs(t),l=r(t);return ia||n!=n?l*(1/0):l*n)}},function(t,e,n){var r=n(0),i=Math.abs;r(r.S,"Math",{hypot:function(t,e){for(var n,r,o=0,s=0,a=arguments.length,u=0;s0?(r=n/u,o+=r*r):o+=n;return u===1/0?1/0:u*Math.sqrt(o)}})},function(t,e,n){var r=n(0),i=Math.imul;r(r.S+r.F*n(2)(function(){return-5!=i(4294967295,5)||2!=i.length}),"Math",{imul:function(t,e){var n=+t,r=+e,i=65535&n,o=65535&r;return 0|i*o+((65535&n>>>16)*o+i*(65535&r>>>16)<<16>>>0)}})},function(t,e,n){var r=n(0);r(r.S,"Math",{log10:function(t){return Math.log(t)*Math.LOG10E}})},function(t,e,n){var r=n(0);r(r.S,"Math",{log1p:n(101)})},function(t,e,n){var r=n(0);r(r.S,"Math",{log2:function(t){return Math.log(t)/Math.LN2}})},function(t,e,n){var r=n(0);r(r.S,"Math",{sign:n(70)})},function(t,e,n){var r=n(0),i=n(71),o=Math.exp;r(r.S+r.F*n(2)(function(){return-2e-17!=!Math.sinh(-2e-17)}),"Math",{sinh:function(t){return Math.abs(t=+t)<1?(i(t)-i(-t))/2:(o(t-1)-o(-t-1))*(Math.E/2)}})},function(t,e,n){var r=n(0),i=n(71),o=Math.exp;r(r.S,"Math",{tanh:function(t){var e=i(t=+t),n=i(-t);return e==1/0?1:n==1/0?-1:(e-n)/(o(t)+o(-t))}})},function(t,e,n){var r=n(0);r(r.S,"Math",{trunc:function(t){return(t>0?Math.floor:Math.ceil)(t)}})},function(t,e,n){var r=n(0),i=n(34),o=String.fromCharCode,s=String.fromCodePoint;r(r.S+r.F*(!!s&&1!=s.length),"String",{fromCodePoint:function(t){for(var e,n=[],r=arguments.length,s=0;r>s;){if(e=+arguments[s++],i(e,1114111)!==e)throw RangeError(e+" is not a valid code point");n.push(e<65536?o(e):o(55296+((e-=65536)>>10),e%1024+56320))}return n.join("")}})},function(t,e,n){var r=n(0),i=n(16),o=n(8);r(r.S,"String",{raw:function(t){for(var e=i(t.raw),n=o(e.length),r=arguments.length,s=[],a=0;n>a;)s.push(String(e[a++])),a=e.length?{value:void 0,done:!0}:(t=r(e,n),this._i+=t.length,{value:t,done:!1})})},function(t,e,n){"use strict";var r=n(0),i=n(102)(!1);r(r.P,"String",{codePointAt:function(t){return i(this,t)}})},function(t,e,n){"use strict";var r=n(0),i=n(8),o=n(73),s="".endsWith;r(r.P+r.F*n(75)("endsWith"),"String",{endsWith:function(t){var e=o(this,t,"endsWith"),n=arguments.length>1?arguments[1]:void 0,r=i(e.length),a=void 0===n?r:Math.min(i(n),r),u=String(t);return s?s.call(e,u,a):e.slice(a-u.length,a)===u}})},function(t,e,n){"use strict";var r=n(0),i=n(73);r(r.P+r.F*n(75)("includes"),"String",{includes:function(t){return!!~i(this,t,"includes").indexOf(t,arguments.length>1?arguments[1]:void 0)}})},function(t,e,n){var r=n(0);r(r.P,"String",{repeat:n(99)})},function(t,e,n){"use strict";var r=n(0),i=n(8),o=n(73),s="".startsWith;r(r.P+r.F*n(75)("startsWith"),"String",{startsWith:function(t){var e=o(this,t,"startsWith"),n=i(Math.min(arguments.length>1?arguments[1]:void 0,e.length)),r=String(t);return s?s.call(e,r,n):e.slice(n,n+r.length)===r}})},function(t,e,n){"use strict";n(10)("anchor",function(t){return function(e){return t(this,"a","name",e)}})},function(t,e,n){"use strict";n(10)("big",function(t){return function(){return t(this,"big","","")}})},function(t,e,n){"use strict";n(10)("blink",function(t){return function(){return t(this,"blink","","")}})},function(t,e,n){"use strict";n(10)("bold",function(t){return function(){return t(this,"b","","")}})},function(t,e,n){"use strict";n(10)("fixed",function(t){return function(){return t(this,"tt","","")}})},function(t,e,n){"use strict";n(10)("fontcolor",function(t){return function(e){return t(this,"font","color",e)}})},function(t,e,n){"use strict";n(10)("fontsize",function(t){return function(e){return t(this,"font","size",e)}})},function(t,e,n){"use strict";n(10)("italics",function(t){return function(){return t(this,"i","","")}})},function(t,e,n){"use strict";n(10)("link",function(t){return function(e){return t(this,"a","href",e)}})},function(t,e,n){"use strict";n(10)("small",function(t){return function(){return t(this,"small","","")}})},function(t,e,n){"use strict";n(10)("strike",function(t){return function(){return t(this,"strike","","")}})},function(t,e,n){"use strict";n(10)("sub",function(t){return function(){return t(this,"sub","","")}})},function(t,e,n){"use strict";n(10)("sup",function(t){return function(){return t(this,"sup","","")}})},function(t,e,n){var r=n(0);r(r.S,"Date",{now:function(){return(new Date).getTime()}})},function(t,e,n){"use strict";var r=n(0),i=n(12),o=n(29);r(r.P+r.F*n(2)(function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})}),"Date",{toJSON:function(t){var e=i(this),n=o(e);return"number"!=typeof n||isFinite(n)?e.toISOString():null}})},function(t,e,n){var r=n(0),i=n(215);r(r.P+r.F*(Date.prototype.toISOString!==i),"Date",{toISOString:i})},function(t,e,n){"use strict";var r=n(2),i=Date.prototype.getTime,o=Date.prototype.toISOString,s=function(t){return t>9?t:"0"+t};t.exports=r(function(){return"0385-07-25T07:06:39.999Z"!=o.call(new Date(-5e13-1))})||!r(function(){o.call(new Date(NaN))})?function(){if(!isFinite(i.call(this)))throw RangeError("Invalid time value");var t=this,e=t.getUTCFullYear(),n=t.getUTCMilliseconds(),r=e<0?"-":e>9999?"+":"";return r+("00000"+Math.abs(e)).slice(r?-6:-4)+"-"+s(t.getUTCMonth()+1)+"-"+s(t.getUTCDate())+"T"+s(t.getUTCHours())+":"+s(t.getUTCMinutes())+":"+s(t.getUTCSeconds())+"."+(n>99?n:"0"+s(n))+"Z"}:o},function(t,e,n){var r=Date.prototype,i=r.toString,o=r.getTime;new Date(NaN)+""!="Invalid Date"&&n(11)(r,"toString",function(){var t=o.call(this);return t===t?i.call(this):"Invalid Date"})},function(t,e,n){var r=n(5)("toPrimitive"),i=Date.prototype;r in i||n(13)(i,r,n(218))},function(t,e,n){"use strict";var r=n(1),i=n(29);t.exports=function(t){if("string"!==t&&"number"!==t&&"default"!==t)throw TypeError("Incorrect hint");return i(r(this),"number"!=t)}},function(t,e,n){var r=n(0);r(r.S,"Array",{isArray:n(65)})},function(t,e,n){"use strict";var r=n(21),i=n(0),o=n(12),s=n(104),a=n(76),u=n(8),c=n(105),l=n(77);i(i.S+i.F*!n(56)(function(t){Array.from(t)}),"Array",{from:function(t){var e,n,i,p,h=o(t),f="function"==typeof this?this:Array,d=arguments.length,v=d>1?arguments[1]:void 0,y=void 0!==v,m=0,g=l(h);if(y&&(v=r(v,d>2?arguments[2]:void 0,2)),void 0==g||f==Array&&a(g))for(e=u(h.length),n=new f(e);e>m;m++)c(n,m,y?v(h[m],m):h[m]);else for(p=g.call(h),n=new f;!(i=p.next()).done;m++)c(n,m,y?s(p,v,[i.value,m],!0):i.value);return n.length=m,n}})},function(t,e,n){"use strict";var r=n(0),i=n(105);r(r.S+r.F*n(2)(function(){function t(){}return!(Array.of.call(t)instanceof t)}),"Array",{of:function(){for(var t=0,e=arguments.length,n=new("function"==typeof this?this:Array)(e);e>t;)i(n,t,arguments[t++]);return n.length=e,n}})},function(t,e,n){"use strict";var r=n(0),i=n(16),o=[].join;r(r.P+r.F*(n(46)!=Object||!n(14)(o)),"Array",{join:function(t){return o.call(i(this),void 0===t?",":t)}})},function(t,e,n){"use strict";var r=n(0),i=n(66),o=n(22),s=n(34),a=n(8),u=[].slice;r(r.P+r.F*n(2)(function(){i&&u.call(i)}),"Array",{slice:function(t,e){var n=a(this.length),r=o(this);if(e=void 0===e?n:e,"Array"==r)return u.call(this,t,e);for(var i=s(t,n),c=s(e,n),l=a(c-i),p=new Array(l),h=0;h1&&(r=Math.min(r,o(arguments[1]))),r<0&&(r=n+r);r>=0;r--)if(r in e&&e[r]===t)return r||0;return-1}})},function(t,e,n){var r=n(0);r(r.P,"Array",{copyWithin:n(107)}),n(48)("copyWithin")},function(t,e,n){var r=n(0);r(r.P,"Array",{fill:n(78)}),n(48)("fill")},function(t,e,n){"use strict";var r=n(0),i=n(19)(5),o=!0;"find"in[]&&Array(1).find(function(){o=!1}),r(r.P+r.F*o,"Array",{find:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),n(48)("find")},function(t,e,n){"use strict";var r=n(0),i=n(19)(6),o="findIndex",s=!0;o in[]&&Array(1)[o](function(){s=!1}),r(r.P+r.F*s,"Array",{findIndex:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),n(48)(o)},function(t,e,n){n(40)("Array")},function(t,e,n){var r=n(4),i=n(69),o=n(6).f,s=n(36).f,a=n(74),u=n(79),c=r.RegExp,l=c,p=c.prototype,h=/a/g,f=/a/g,d=new c(h)!==h;if(n(7)&&(!d||n(2)(function(){return f[n(5)("match")]=!1,c(h)!=h||c(f)==f||"/a/i"!=c(h,"i")}))){c=function(t,e){var n=this instanceof c,r=a(t),o=void 0===e;return!n&&r&&t.constructor===c&&o?t:i(d?new l(r&&!o?t.source:t,e):l((r=t instanceof c)?t.source:t,r&&o?u.call(t):e),n?this:p,c)};for(var v=s(l),y=0;v.length>y;)!function(t){t in c||o(c,t,{configurable:!0,get:function(){return l[t]},set:function(e){l[t]=e}})}(v[y++]);p.constructor=c,c.prototype=p,n(11)(r,"RegExp",c)}n(40)("RegExp")},function(t,e,n){"use strict";n(110);var r=n(1),i=n(79),o=n(7),s=/./.toString,a=function(t){n(11)(RegExp.prototype,"toString",t,!0)};n(2)(function(){return"/a/b"!=s.call({source:"a",flags:"b"})})?a(function(){var t=r(this);return"/".concat(t.source,"/","flags"in t?t.flags:!o&&t instanceof RegExp?i.call(t):void 0)}):"toString"!=s.name&&a(function(){return s.call(this)})},function(t,e,n){n(57)("match",1,function(t,e,n){return[function(n){"use strict";var r=t(this),i=void 0==n?void 0:n[e];return void 0!==i?i.call(n,r):new RegExp(n)[e](String(r))},n]})},function(t,e,n){n(57)("replace",2,function(t,e,n){return[function(r,i){"use strict";var o=t(this),s=void 0==r?void 0:r[e];return void 0!==s?s.call(r,o,i):n.call(String(o),r,i)},n]})},function(t,e,n){n(57)("search",1,function(t,e,n){return[function(n){"use strict";var r=t(this),i=void 0==n?void 0:n[e];return void 0!==i?i.call(n,r):new RegExp(n)[e](String(r))},n]})},function(t,e,n){n(57)("split",2,function(t,e,r){"use strict";var i=n(74),o=r,s=[].push,a="length";if("c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1)[a]||2!="ab".split(/(?:ab)*/)[a]||4!=".".split(/(.?)(.?)/)[a]||".".split(/()()/)[a]>1||"".split(/.?/)[a]){var u=void 0===/()??/.exec("")[1];r=function(t,e){var n=String(this);if(void 0===t&&0===e)return[];if(!i(t))return o.call(n,t,e);var r,c,l,p,h,f=[],d=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),v=0,y=void 0===e?4294967295:e>>>0,m=new RegExp(t.source,d+"g");for(u||(r=new RegExp("^"+m.source+"$(?!\\s)",d));(c=m.exec(n))&&!((l=c.index+c[0][a])>v&&(f.push(n.slice(v,c.index)),!u&&c[a]>1&&c[0].replace(r,function(){for(h=1;h1&&c.index=y));)m.lastIndex===c.index&&m.lastIndex++;return v===n[a]?!p&&m.test("")||f.push(""):f.push(n.slice(v)),f[a]>y?f.slice(0,y):f}}else"0".split(void 0,0)[a]&&(r=function(t,e){return void 0===t&&0===e?[]:o.call(this,t,e)});return[function(n,i){var o=t(this),s=void 0==n?void 0:n[e];return void 0!==s?s.call(n,o,i):r.call(String(o),n,i)},r]})},function(t,e,n){"use strict";var r,i,o,s,a=n(39),u=n(4),c=n(21),l=n(54),p=n(0),h=n(3),f=n(15),d=n(41),v=n(49),y=n(80),m=n(111).set,g=n(248)(),_=n(112),b=n(249),w=n(250),E=u.TypeError,C=u.process,x=u.Promise,S="process"==l(C),T=function(){},P=i=_.f,O=!!function(){try{var t=x.resolve(1),e=(t.constructor={})[n(5)("species")]=function(t){t(T,T)};return(S||"function"==typeof PromiseRejectionEvent)&&t.then(T)instanceof e}catch(t){}}(),k=function(t){var e;return!(!h(t)||"function"!=typeof(e=t.then))&&e},M=function(t,e){if(!t._n){t._n=!0;var n=t._c;g(function(){for(var r=t._v,i=1==t._s,o=0;n.length>o;)!function(e){var n,o,s=i?e.ok:e.fail,a=e.resolve,u=e.reject,c=e.domain;try{s?(i||(2==t._h&&I(t),t._h=1),!0===s?n=r:(c&&c.enter(),n=s(r),c&&c.exit()),n===e.promise?u(E("Promise-chain cycle")):(o=k(n))?o.call(n,a,u):a(n)):u(r)}catch(t){u(t)}}(n[o++]);t._c=[],t._n=!1,e&&!t._h&&A(t)})}},A=function(t){m.call(u,function(){var e,n,r,i=t._v,o=N(t);if(o&&(e=b(function(){S?C.emit("unhandledRejection",i,t):(n=u.onunhandledrejection)?n({promise:t,reason:i}):(r=u.console)&&r.error&&r.error("Unhandled promise rejection",i)}),t._h=S||N(t)?2:1),t._a=void 0,o&&e.e)throw e.v})},N=function(t){return 1!==t._h&&0===(t._a||t._c).length},I=function(t){m.call(u,function(){var e;S?C.emit("rejectionHandled",t):(e=u.onrejectionhandled)&&e({promise:t,reason:t._v})})},D=function(t){var e=this;e._d||(e._d=!0,e=e._w||e,e._v=t,e._s=2,e._a||(e._a=e._c.slice()),M(e,!0))},R=function(t){var e,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===t)throw E("Promise can't be resolved itself");(e=k(t))?g(function(){var r={_w:n,_d:!1};try{e.call(t,c(R,r,1),c(D,r,1))}catch(t){D.call(r,t)}}):(n._v=t,n._s=1,M(n,!1))}catch(t){D.call({_w:n,_d:!1},t)}}};O||(x=function(t){d(this,x,"Promise","_h"),f(t),r.call(this);try{t(c(R,this,1),c(D,this,1))}catch(t){D.call(this,t)}},r=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},r.prototype=n(42)(x.prototype,{then:function(t,e){var n=P(y(this,x));return n.ok="function"!=typeof t||t,n.fail="function"==typeof e&&e,n.domain=S?C.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&M(this,!1),n.promise},catch:function(t){return this.then(void 0,t)}}),o=function(){var t=new r;this.promise=t,this.resolve=c(R,t,1),this.reject=c(D,t,1)},_.f=P=function(t){return t===x||t===s?new o(t):i(t)}),p(p.G+p.W+p.F*!O,{Promise:x}),n(38)(x,"Promise"),n(40)("Promise"),s=n(28).Promise,p(p.S+p.F*!O,"Promise",{reject:function(t){var e=P(this);return(0,e.reject)(t),e.promise}}),p(p.S+p.F*(a||!O),"Promise",{resolve:function(t){return w(a&&this===s?x:this,t)}}),p(p.S+p.F*!(O&&n(56)(function(t){x.all(t).catch(T)})),"Promise",{all:function(t){var e=this,n=P(e),r=n.resolve,i=n.reject,o=b(function(){var n=[],o=0,s=1;v(t,!1,function(t){var a=o++,u=!1;n.push(void 0),s++,e.resolve(t).then(function(t){u||(u=!0,n[a]=t,--s||r(n))},i)}),--s||r(n)});return o.e&&i(o.v),n.promise},race:function(t){var e=this,n=P(e),r=n.reject,i=b(function(){v(t,!1,function(t){e.resolve(t).then(n.resolve,r)})});return i.e&&r(i.v),n.promise}})},function(t,e,n){var r=n(4),i=n(111).set,o=r.MutationObserver||r.WebKitMutationObserver,s=r.process,a=r.Promise,u="process"==n(22)(s);t.exports=function(){var t,e,n,c=function(){var r,i;for(u&&(r=s.domain)&&r.exit();t;){i=t.fn,t=t.next;try{i()}catch(r){throw t?n():e=void 0,r}}e=void 0,r&&r.enter()};if(u)n=function(){s.nextTick(c)};else if(!o||r.navigator&&r.navigator.standalone)if(a&&a.resolve){var l=a.resolve();n=function(){l.then(c)}}else n=function(){i.call(r,c)};else{var p=!0,h=document.createTextNode("");new o(c).observe(h,{characterData:!0}),n=function(){h.data=p=!p}}return function(r){var i={fn:r,next:void 0};e&&(e.next=i),t||(t=i,n()),e=i}}},function(t,e){t.exports=function(t){try{return{e:!1,v:t()}}catch(t){return{e:!0,v:t}}}},function(t,e,n){var r=n(1),i=n(3),o=n(112);t.exports=function(t,e){if(r(t),i(e)&&e.constructor===t)return e;var n=o.f(t);return(0,n.resolve)(e),n.promise}},function(t,e,n){"use strict";var r=n(117),i=n(43);n(58)("WeakSet",function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},{add:function(t){return r.def(i(this,"WeakSet"),t,!0)}},r,!1,!0)},function(t,e,n){"use strict";var r=n(0),i=n(59),o=n(81),s=n(1),a=n(34),u=n(8),c=n(3),l=n(4).ArrayBuffer,p=n(80),h=o.ArrayBuffer,f=o.DataView,d=i.ABV&&l.isView,v=h.prototype.slice,y=i.VIEW;r(r.G+r.W+r.F*(l!==h),{ArrayBuffer:h}),r(r.S+r.F*!i.CONSTR,"ArrayBuffer",{isView:function(t){return d&&d(t)||c(t)&&y in t}}),r(r.P+r.U+r.F*n(2)(function(){return!new h(2).slice(1,void 0).byteLength}),"ArrayBuffer",{slice:function(t,e){if(void 0!==v&&void 0===e)return v.call(s(this),t);for(var n=s(this).byteLength,r=a(t,n),i=a(void 0===e?n:e,n),o=new(p(this,h))(u(i-r)),c=new f(this),l=new f(o),d=0;r=n.length)return{value:void 0,done:!0}}while(!((t=n[e._i++])in e._t));return{value:t,done:!1}}),r(r.S,"Reflect",{enumerate:function(t){return new o(t)}})},function(t,e,n){function r(t,e){var n,a,l=arguments.length<3?t:arguments[2];return c(t)===l?t[e]:(n=i.f(t,e))?s(n,"value")?n.value:void 0!==n.get?n.get.call(l):void 0:u(a=o(t))?r(a,e,l):void 0}var i=n(24),o=n(18),s=n(9),a=n(0),u=n(3),c=n(1);a(a.S,"Reflect",{get:r})},function(t,e,n){var r=n(24),i=n(0),o=n(1);i(i.S,"Reflect",{getOwnPropertyDescriptor:function(t,e){return r.f(o(t),e)}})},function(t,e,n){var r=n(0),i=n(18),o=n(1);r(r.S,"Reflect",{getPrototypeOf:function(t){return i(o(t))}})},function(t,e,n){var r=n(0);r(r.S,"Reflect",{has:function(t,e){return e in t}})},function(t,e,n){var r=n(0),i=n(1),o=Object.isExtensible;r(r.S,"Reflect",{isExtensible:function(t){return i(t),!o||o(t)}})},function(t,e,n){var r=n(0);r(r.S,"Reflect",{ownKeys:n(274)})},function(t,e,n){var r=n(36),i=n(52),o=n(1),s=n(4).Reflect;t.exports=s&&s.ownKeys||function(t){var e=r.f(o(t)),n=i.f;return n?e.concat(n(t)):e}},function(t,e,n){var r=n(0),i=n(1),o=Object.preventExtensions;r(r.S,"Reflect",{preventExtensions:function(t){i(t);try{return o&&o(t),!0}catch(t){return!1}}})},function(t,e,n){function r(t,e,n){var u,h,f=arguments.length<4?t:arguments[3],d=o.f(l(t),e);if(!d){if(p(h=s(t)))return r(h,e,n,f);d=c(0)}return a(d,"value")?!(!1===d.writable||!p(f))&&(u=o.f(f,e)||c(0),u.value=n,i.f(f,e,u),!0):void 0!==d.set&&(d.set.call(f,n),!0)}var i=n(6),o=n(24),s=n(18),a=n(9),u=n(0),c=n(32),l=n(1),p=n(3);u(u.S,"Reflect",{set:r})},function(t,e,n){var r=n(0),i=n(67);i&&r(r.S,"Reflect",{setPrototypeOf:function(t,e){i.check(t,e);try{return i.set(t,e),!0}catch(t){return!1}}})},function(t,e,n){n(279),n(280),n(281),n(282),n(284),n(285),n(286),n(287),n(288),t.exports=n(28).Reflect},function(t,e,n){var r=n(26),i=n(1),o=r.key,s=r.set;r.exp({defineMetadata:function(t,e,n,r){s(t,e,i(n),o(r))}})},function(t,e,n){var r=n(26),i=n(1),o=r.key,s=r.map,a=r.store;r.exp({deleteMetadata:function(t,e){var n=arguments.length<3?void 0:o(arguments[2]),r=s(i(e),n,!1);if(void 0===r||!r.delete(t))return!1;if(r.size)return!0;var u=a.get(e);return u.delete(n),!!u.size||a.delete(e)}})},function(t,e,n){var r=n(26),i=n(1),o=n(18),s=r.has,a=r.get,u=r.key,c=function(t,e,n){if(s(t,e,n))return a(t,e,n);var r=o(e);return null!==r?c(t,r,n):void 0};r.exp({getMetadata:function(t,e){return c(t,i(e),arguments.length<3?void 0:u(arguments[2]))}})},function(t,e,n){var r=n(115),i=n(283),o=n(26),s=n(1),a=n(18),u=o.keys,c=o.key,l=function(t,e){var n=u(t,e),o=a(t);if(null===o)return n;var s=l(o,e);return s.length?n.length?i(new r(n.concat(s))):s:n};o.exp({getMetadataKeys:function(t){return l(s(t),arguments.length<2?void 0:c(arguments[1]))}})},function(t,e,n){var r=n(49);t.exports=function(t,e){var n=[];return r(t,!1,n.push,n,e),n}},function(t,e,n){var r=n(26),i=n(1),o=r.get,s=r.key;r.exp({getOwnMetadata:function(t,e){return o(t,i(e),arguments.length<3?void 0:s(arguments[2]))}})},function(t,e,n){var r=n(26),i=n(1),o=r.keys,s=r.key;r.exp({getOwnMetadataKeys:function(t){return o(i(t),arguments.length<2?void 0:s(arguments[1]))}})},function(t,e,n){var r=n(26),i=n(1),o=n(18),s=r.has,a=r.key,u=function(t,e,n){if(s(t,e,n))return!0;var r=o(e);return null!==r&&u(t,r,n)};r.exp({hasMetadata:function(t,e){return u(t,i(e),arguments.length<3?void 0:a(arguments[2]))}})},function(t,e,n){var r=n(26),i=n(1),o=r.has,s=r.key;r.exp({hasOwnMetadata:function(t,e){return o(t,i(e),arguments.length<3?void 0:s(arguments[2]))}})},function(t,e,n){var r=n(26),i=n(1),o=n(15),s=r.key,a=r.set;r.exp({metadata:function(t,e){return function(n,r){a(t,e,(void 0!==r?i:o)(n),s(r))}}})},function(t,e,n){(function(t){!function(t,e){e()}(0,function(){"use strict";function e(t,e){for(var n=t.length-1;n>=0;n--)typeof t[n]===D&&(t[n]=Zone.current.wrap(t[n],e+"_"+n));return t}function n(t,n){return function(){var r=Array.prototype.slice.call(arguments),i=e(r,n||t.name);return t.apply(this,i)}}function r(t,n,r){return c(t,n,function(t,n,i){return function(n,i){return t&&t.apply(n,e(i,r))}})}function i(t,n){for(var r=t.constructor.name,i=0;i=0&&"function"==typeof i[o.callbackIndex]){return Zone.current.scheduleMacroTask(o.name,i[o.callbackIndex],o,r,null)}return t.apply(e,i)}})}function p(t,e){t[N("OriginalDelegate")]=e}function h(){if(W)return G;W=!0;try{var t=window.navigator.userAgent;t.indexOf("MSIE ");return-1===t.indexOf("MSIE ")&&-1===t.indexOf("Trident/")&&-1===t.indexOf("Edge/")||(G=!0),G}catch(t){}}function f(t,e,n){for(var r=n&&n.addEventListenerFnName||"addEventListener",i=n&&n.removeEventListenerFnName||"removeEventListener",o=n&&n.listenersFnName||"eventListeners",s=n&&n.removeAllFnName||"removeAllListeners",a=N(r),u="."+r+":",c="prependListener",l="."+c+":",h=function(t,e,n){if(!t.isRemoved){var r=t.callback;typeof r===tt&&r.handleEvent&&(t.callback=function(t){return r.handleEvent(t)},t.originalDelegate=r),t.invoke(t,e,[n]);var o=t.options;if(o&&"object"==typeof o&&o.once){var s=t.originalDelegate?t.originalDelegate:t.callback;e[i].apply(e,[n.type,s,o])}}},f=function(e){if(e=e||t.event){var n=this||e.target||t,r=n[$[e.type][K]];if(r)if(1===r.length)h(r[0],n,e);else for(var i=r.slice(),o=0;o1?new n(t,e):new n(t),s=Object.getOwnPropertyDescriptor(o,"onmessage");return s&&!1===s.configurable?(r=Object.create(o),i=o,["addEventListener","removeEventListener","send","close"].forEach(function(t){r[t]=function(){var e=Array.prototype.slice.call(arguments);if("addEventListener"===t||"removeEventListener"===t){var n=e.length>0?e[0]:void 0;if(n){var i=Zone.__symbol__("ON_PROPERTY"+n);o[i]=r[i]}}return o[t].apply(o,e)}})):r=o,a(r,["close","error","message","open"],i),r};var r=e.WebSocket;for(var i in n)r[i]=n[i]}function C(t,e,n){if(!n)return e;var r=n.filter(function(e){return e.target===t});if(!r||0===r.length)return e;var i=r[0].ignoreProperties;return e.filter(function(t){return-1===i.indexOf(t)})}function x(t,e,n,r){a(t,C(t,e,n),r)}function S(t,e){if(!V||B){var n="undefined"!=typeof WebSocket;if(T()){var r=e.__Zone_ignore_on_properties;if(H){x(window,Ot.concat(["messageerror"]),r,Object.getPrototypeOf(window)),x(Document.prototype,Ot,r),void 0!==window.SVGElement&&x(window.SVGElement.prototype,Ot,r),x(Element.prototype,Ot,r),x(HTMLElement.prototype,Ot,r),x(HTMLMediaElement.prototype,yt,r),x(HTMLFrameSetElement.prototype,dt.concat(Et),r),x(HTMLBodyElement.prototype,dt.concat(Et),r),x(HTMLFrameElement.prototype,wt,r),x(HTMLIFrameElement.prototype,wt,r);var i=window.HTMLMarqueeElement;i&&x(i.prototype,Ct,r);var o=window.Worker;o&&x(o.prototype,Pt,r)}x(XMLHttpRequest.prototype,xt,r);var s=e.XMLHttpRequestEventTarget;s&&x(s&&s.prototype,xt,r),"undefined"!=typeof IDBIndex&&(x(IDBIndex.prototype,St,r),x(IDBRequest.prototype,St,r),x(IDBOpenDBRequest.prototype,St,r),x(IDBDatabase.prototype,St,r),x(IDBTransaction.prototype,St,r),x(IDBCursor.prototype,St,r)),n&&x(WebSocket.prototype,Tt,r)}else P(),u("XMLHttpRequest"),n&&E(t,e)}}function T(){if((H||B)&&!Object.getOwnPropertyDescriptor(HTMLElement.prototype,"onclick")&&"undefined"!=typeof Element){var t=Object.getOwnPropertyDescriptor(Element.prototype,"onclick");if(t&&!t.configurable)return!1}var e=Object.getOwnPropertyDescriptor(XMLHttpRequest.prototype,"onreadystatechange");if(e){Object.defineProperty(XMLHttpRequest.prototype,"onreadystatechange",{enumerable:!0,configurable:!0,get:function(){return!0}});var n=new XMLHttpRequest,r=!!n.onreadystatechange;return Object.defineProperty(XMLHttpRequest.prototype,"onreadystatechange",e||{}),r}var i=N("fakeonreadystatechange");Object.defineProperty(XMLHttpRequest.prototype,"onreadystatechange",{enumerable:!0,configurable:!0,get:function(){return this[i]},set:function(t){this[i]=t}});var n=new XMLHttpRequest,o=function(){};n.onreadystatechange=o;var r=n[i]===o;return n.onreadystatechange=null,r}function P(){for(var t=0;t",this._properties=e&&e.properties||{},this._zoneDelegate=new p(this,this._parent&&this._parent._zoneDelegate,e)}return r.assertZonePatched=function(){if(t.Promise!==O.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.)")},Object.defineProperty(r,"root",{get:function(){for(var t=r.current;t.parent;)t=t.parent;return t},enumerable:!0,configurable:!0}),Object.defineProperty(r,"current",{get:function(){return M.zone},enumerable:!0,configurable:!0}),Object.defineProperty(r,"currentTask",{get:function(){return A},enumerable:!0,configurable:!0}),r.__load_patch=function(i,o){if(O.hasOwnProperty(i))throw Error("Already loaded patch: "+i);if(!t["__Zone_disable_"+i]){var s="Zone:"+i;e(s),O[i]=o(t,r,k),n(s,s)}},Object.defineProperty(r.prototype,"parent",{get:function(){return this._parent},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"name",{get:function(){return this._name},enumerable:!0,configurable:!0}),r.prototype.get=function(t){var e=this.getZoneWith(t);if(e)return e._properties[t]},r.prototype.getZoneWith=function(t){for(var e=this;e;){if(e._properties.hasOwnProperty(t))return e;e=e._parent}return null},r.prototype.fork=function(t){if(!t)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,t)},r.prototype.wrap=function(t,e){if("function"!=typeof t)throw new Error("Expecting function got: "+t);var n=this._zoneDelegate.intercept(this,t,e),r=this;return function(){return r.runGuarded(n,this,arguments,e)}},r.prototype.run=function(t,e,n,r){void 0===e&&(e=void 0),void 0===n&&(n=null),void 0===r&&(r=null),M={parent:M,zone:this};try{return this._zoneDelegate.invoke(this,t,e,n,r)}finally{M=M.parent}},r.prototype.runGuarded=function(t,e,n,r){void 0===e&&(e=null),void 0===n&&(n=null),void 0===r&&(r=null),M={parent:M,zone:this};try{try{return this._zoneDelegate.invoke(this,t,e,n,r)}catch(t){if(this._zoneDelegate.handleError(this,t))throw t}}finally{M=M.parent}},r.prototype.runTask=function(t,e,n){if(t.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(t.zone||g).name+"; Execution: "+this.name+")");if(t.state!==_||t.type!==P){var r=t.state!=E;r&&t._transitionTo(E,w),t.runCount++;var i=A;A=t,M={parent:M,zone:this};try{t.type==T&&t.data&&!t.data.isPeriodic&&(t.cancelFn=null);try{return this._zoneDelegate.invokeTask(this,t,e,n)}catch(t){if(this._zoneDelegate.handleError(this,t))throw t}}finally{t.state!==_&&t.state!==x&&(t.type==P||t.data&&t.data.isPeriodic?r&&t._transitionTo(w,E):(t.runCount=0,this._updateTaskCount(t,-1),r&&t._transitionTo(_,E,_))),M=M.parent,A=i}}},r.prototype.scheduleTask=function(t){if(t.zone&&t.zone!==this)for(var e=this;e;){if(e===t.zone)throw Error("can not reschedule task to "+this.name+" which is descendants of the original zone "+t.zone.name);e=e.parent}t._transitionTo(b,_);var n=[];t._zoneDelegates=n,t._zone=this;try{t=this._zoneDelegate.scheduleTask(this,t)}catch(e){throw t._transitionTo(x,b,_),this._zoneDelegate.handleError(this,e),e}return t._zoneDelegates===n&&this._updateTaskCount(t,1),t.state==b&&t._transitionTo(w,b),t},r.prototype.scheduleMicroTask=function(t,e,n,r){return this.scheduleTask(new h(S,t,e,n,r,null))},r.prototype.scheduleMacroTask=function(t,e,n,r,i){return this.scheduleTask(new h(T,t,e,n,r,i))},r.prototype.scheduleEventTask=function(t,e,n,r,i){return this.scheduleTask(new h(P,t,e,n,r,i))},r.prototype.cancelTask=function(t){if(t.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(t.zone||g).name+"; Execution: "+this.name+")");t._transitionTo(C,w,E);try{this._zoneDelegate.cancelTask(this,t)}catch(e){throw t._transitionTo(x,C),this._zoneDelegate.handleError(this,e),e}return this._updateTaskCount(t,-1),t._transitionTo(_,C),t.runCount=0,t},r.prototype._updateTaskCount=function(t,e){var n=t._zoneDelegates;-1==e&&(t._zoneDelegates=null);for(var r=0;r0,macroTask:n.macroTask>0,eventTask:n.eventTask>0,change:t};this.hasTask(this.zone,o)}},t}(),h=function(){function e(n,r,i,o,s,a){this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=n,this.source=r,this.data=o,this.scheduleFn=s,this.cancelFn=a,this.callback=i;var u=this;n===P&&o&&o.isUsingGlobalCallback?this.invoke=e.invokeTask:this.invoke=function(){return e.invokeTask.apply(t,[u,this,arguments])}}return e.invokeTask=function(t,e,n){t||(t=this),N++;try{return t.runCount++,t.zone.runTask(t,e,n)}finally{1==N&&i(),N--}},Object.defineProperty(e.prototype,"zone",{get:function(){return this._zone},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"state",{get:function(){return this._state},enumerable:!0,configurable:!0}),e.prototype.cancelScheduleRequest=function(){this._transitionTo(_,b)},e.prototype._transitionTo=function(t,e,n){if(this._state!==e&&this._state!==n)throw new Error(this.type+" '"+this.source+"': can not transition to '"+t+"', expecting state '"+e+"'"+(n?" or '"+n+"'":"")+", was '"+this._state+"'.");this._state=t,t==_&&(this._zoneDelegates=null)},e.prototype.toString=function(){return this.data&&void 0!==this.data.handleId?this.data.handleId:Object.prototype.toString.call(this)},e.prototype.toJSON=function(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}},e}(),f=s("setTimeout"),d=s("Promise"),v=s("then"),y=[],m=!1,g={name:"NO ZONE"},_="notScheduled",b="scheduling",w="scheduled",E="running",C="canceling",x="unknown",S="microTask",T="macroTask",P="eventTask",O={},k={symbol:s,currentZoneFrame:function(){return M},onUnhandledError:o,microtaskDrainDone:o,scheduleMicroTask:r,showUncaughtError:function(){return!u[s("ignoreConsoleErrorUncaughtError")]},patchEventTarget:function(){return[]},patchOnProperties:o,patchMethod:function(){return o},patchArguments:function(){return o},setNativePromise:function(t){t&&"function"==typeof t.resolve&&(c=t.resolve(0))}},M={parent:null,zone:new u(null,null)},A=null,N=0;n("Zone","Zone"),t.Zone=u}("undefined"!=typeof window&&window||"undefined"!=typeof self&&self||t),function(t){var e="function"==typeof Symbol&&t[Symbol.iterator],n=0;return e?e.call(t):{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}}});Zone.__load_patch("ZoneAwarePromise",function(t,e,n){function r(t){if(t&&t.toString===Object.prototype.toString){var e=t.constructor&&t.constructor.name;return(e||"")+": "+JSON.stringify(t)}return t?t.toString():Object.prototype.toString.call(t)}function i(t){n.onUnhandledError(t);try{var r=e[g];r&&"function"==typeof r&&r.apply(this,[t])}catch(t){}}function o(t){return t&&t.then}function s(t){return t}function a(t){return I.reject(t)}function u(t,e){return function(n){try{c(t,e,n)}catch(e){c(t,!1,e)}}}function c(t,i,o){var s=T();if(t===o)throw new TypeError(P);if(t[_]===E){var a=null;try{typeof o!==O&&typeof o!==k||(a=o&&o.then)}catch(e){return s(function(){c(t,!1,e)})(),t}if(i!==x&&o instanceof I&&o.hasOwnProperty(_)&&o.hasOwnProperty(b)&&o[_]!==E)l(o),c(t,o[_],o[b]);else if(i!==x&&typeof a===k)try{a.apply(o,[s(u(t,i)),s(u(t,!1))])}catch(e){s(function(){c(t,!1,e)})()}else{t[_]=i;var h=t[b];if(t[b]=o,i===x&&o instanceof Error){var f=e.currentTask&&e.currentTask.data&&e.currentTask.data[m];f&&Object.defineProperty(o,M,{configurable:!0,enumerable:!1,writable:!0,value:f})}for(var v=0;v=0;e--)if(void 0!==t[e])return t[e]}function o(t){var e=[];return t.forEach(function(t){return t&&e.push.apply(e,t)}),e}n.d(e,"a",function(){return x});var s=n(291),a=n(27),u=n(85),c=n(86),l=n(50),p=function(){var t=new Map;return t.set(s.j.ANALYZE_FOR_ENTRY_COMPONENTS,a.a),t.set(s.j.ElementRef,a.r),t.set(s.j.NgModuleRef,a.G),t.set(s.j.ViewContainerRef,a._3),t.set(s.j.ChangeDetectorRef,a.j),t.set(s.j.QueryList,a.P),t.set(s.j.TemplateRef,a._0),t.set(s.j.CodegenComponentFactoryResolver,a._13),t.set(s.j.ComponentFactoryResolver,a.o),t.set(s.j.ComponentFactory,a.n),t.set(s.j.ComponentRef,a.p),t.set(s.j.NgModuleFactory,a.F),t.set(s.j.createModuleFactory,a._20),t.set(s.j.moduleDef,a._31),t.set(s.j.moduleProviderDef,a._32),t.set(s.j.RegisterModuleFactoryFn,a._41),t.set(s.j.Injector,a.y),t.set(s.j.ViewEncapsulation,a._4),t.set(s.j.ChangeDetectionStrategy,a.i),t.set(s.j.SecurityContext,a.V),t.set(s.j.LOCALE_ID,a.C),t.set(s.j.TRANSLATIONS_FORMAT,a.Z),t.set(s.j.inlineInterpolate,a._25),t.set(s.j.interpolate,a._26),t.set(s.j.EMPTY_ARRAY,a._15),t.set(s.j.EMPTY_MAP,a._16),t.set(s.j.Renderer,a.Q),t.set(s.j.viewDef,a._45),t.set(s.j.elementDef,a._23),t.set(s.j.anchorDef,a._18),t.set(s.j.textDef,a._43),t.set(s.j.directiveDef,a._22),t.set(s.j.providerDef,a._39),t.set(s.j.queryDef,a._40),t.set(s.j.pureArrayDef,a._35),t.set(s.j.pureObjectDef,a._37),t.set(s.j.purePipeDef,a._38),t.set(s.j.pipeDef,a._36),t.set(s.j.nodeValue,a._34),t.set(s.j.ngContentDef,a._33),t.set(s.j.unwrapValue,a._44),t.set(s.j.createRendererType2,a._21),t.set(s.j.createComponentFactory,a._19),t}(),h=function(){function t(){this.builtinExternalReferences=new Map,this.reflectionCapabilities=new a._17}return t.prototype.componentModuleUrl=function(t,e){var n=e.moduleId;if("string"==typeof n){return Object(s.z)(n)?n:"package:"+n}if(null!==n&&void 0!==n)throw Object(s.A)('moduleId should be a string in "'+Object(a._42)(t)+"\". See https://goo.gl/wIDDiL for more information.\nIf you're using Webpack you should inline the template and the styles, see https://goo.gl/X2J8zc.");return"./"+Object(a._42)(t)},t.prototype.parameters=function(t){return this.reflectionCapabilities.parameters(t)},t.prototype.annotations=function(t){return this.reflectionCapabilities.annotations(t)},t.prototype.propMetadata=function(t){return this.reflectionCapabilities.propMetadata(t)},t.prototype.hasLifecycleHook=function(t,e){return this.reflectionCapabilities.hasLifecycleHook(t,e)},t.prototype.resolveExternalReference=function(t){return p.get(t)||t.runtime},t}(),f=new a.x("ErrorCollector"),d={provide:a.L,useValue:"/"},v={get:function(t){throw new Error("No ResourceLoader implementation has been provided. Can't read the url \""+t+'"')}},y=new a.x("HtmlParser"),m=function(){function t(t,e,n,r,i,o,a,u,c,l){this._metadataResolver=e,this._delegate=new s.k(e,n,r,i,o,a,u,c,l,this.getExtraNgModuleProviders.bind(this)),this.injector=t}return t.prototype.getExtraNgModuleProviders=function(){return[this._metadataResolver.getProviderMetadata(new s.r(a.k,{useValue:this}))]},t.prototype.compileModuleSync=function(t){return this._delegate.compileModuleSync(t)},t.prototype.compileModuleAsync=function(t){return this._delegate.compileModuleAsync(t)},t.prototype.compileModuleAndAllComponentsSync=function(t){var e=this._delegate.compileModuleAndAllComponentsSync(t);return{ngModuleFactory:e.ngModuleFactory,componentFactories:e.componentFactories}},t.prototype.compileModuleAndAllComponentsAsync=function(t){return this._delegate.compileModuleAndAllComponentsAsync(t).then(function(t){return{ngModuleFactory:t.ngModuleFactory,componentFactories:t.componentFactories}})},t.prototype.loadAotSummaries=function(t){this._delegate.loadAotSummaries(t)},t.prototype.hasAotSummary=function(t){return this._delegate.hasAotSummary(t)},t.prototype.getComponentFactory=function(t){return this._delegate.getComponentFactory(t)},t.prototype.clearCache=function(){this._delegate.clearCache()},t.prototype.clearCacheFor=function(t){this._delegate.clearCacheFor(t)},t}(),g=[{provide:s.b,useValue:new h},{provide:s.s,useValue:v},{provide:s.l,deps:[]},{provide:s.v,useExisting:s.l},{provide:a._14,deps:[]},{provide:s.m,deps:[]},{provide:s.p,deps:[s.m]},{provide:y,useClass:s.h,deps:[]},{provide:s.i,useFactory:function(t,e,n,r,i){e=e||"";var o=e?r.missingTranslation:a.D.Ignore;return new s.i(t,e,n,o,i)},deps:[y,[new a.J,new a.v(a.Y)],[new a.J,new a.v(a.Z)],[s.c],[a._14]]},{provide:s.h,useExisting:s.i},{provide:s.w,deps:[s.c,s.b,s.p,s.g,s.i,a._14]},{provide:s.d,deps:[s.s,s.x,s.h,s.c]},{provide:s.a,deps:[s.c,s.h,s.o,s.e,s.q,s.v,s.g,s.d,a._14,[a.J,s.t],s.b,[a.J,f]]},d,{provide:s.u,deps:[s.x]},{provide:s.y,deps:[s.b]},{provide:s.n,deps:[s.b]},{provide:s.c,useValue:new s.c},{provide:a.k,useClass:m,deps:[a.y,s.a,s.w,s.u,s.y,s.n,s.v,s.b,s.c,a._14]},{provide:s.f,deps:[]},{provide:s.g,useExisting:s.f},{provide:s.x,deps:[a.L]},{provide:s.e,deps:[s.b]},{provide:s.q,deps:[s.b]},{provide:s.o,deps:[s.b]}],_=function(){function t(t){var e={useJit:!0,defaultEncapsulation:a._4.Emulated,missingTranslation:a.D.Warning,enableLegacyTemplate:!1};this._defaultOptions=[e].concat(t)}return t.prototype.createCompiler=function(t){void 0===t&&(t=[]);var e=r(this._defaultOptions.concat(t));return a.y.create([g,{provide:s.c,useFactory:function(){return new s.c({useJit:e.useJit,jitDevMode:Object(a._10)(),defaultEncapsulation:e.defaultEncapsulation,missingTranslation:e.missingTranslation,enableLegacyTemplate:e.enableLegacyTemplate,preserveWhitespaces:e.preserveWhitespaces})},deps:[]},e.providers]).get(a.k)},t}(),b=Object(a._6)(a._11,"coreDynamic",[{provide:a.h,useValue:{},multi:!0},{provide:a.l,useClass:_,deps:[a.h]}]),w=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(l.b)(e,t),e.prototype.get=function(t){var e,n,r=new Promise(function(t,r){e=t,n=r}),i=new XMLHttpRequest;return i.open("GET",t,!0),i.responseType="text",i.onload=function(){var r=i.response||i.responseText,o=1223===i.status?204:i.status;0===o&&(o=r?200:0),200<=o&&o<=300?e(r):n("Failed to load "+t)},i.onerror=function(){n("Failed to load "+t)},i.send(),r},e.decorators=[{type:a.w}],e.ctorParameters=function(){return[]},e}(s.s),E=[c.b,{provide:a.h,useValue:{providers:[{provide:s.s,useClass:w,deps:[]}]},multi:!0},{provide:a.M,useValue:u.d}],C=function(t){function e(){var e=t.call(this)||this;if(e._cache=a._24.$templateCache,null==e._cache)throw new Error("CachedResourceLoader: Template cache was not found in $templateCache.");return e}return Object(l.b)(e,t),e.prototype.get=function(t){return this._cache.hasOwnProperty(t)?Promise.resolve(this._cache[t]):Promise.reject("CachedResourceLoader: Did not find cached template for "+t)},e}(s.s),x=(new a._2("5.1.3"),s.s,Object(a._6)(b,"browserDynamic",E))},function(t,e,n){"use strict";function r(){}function i(){}function o(){}function s(){}function a(){}function u(){}function c(){}function l(){}function p(){}function h(){}function f(){}function d(){}function v(){}function y(){}function m(t,e){var n=function(){for(var n=[],r=0;r=55296&&r<=56319&&t.length>n+1){var i=t.charCodeAt(n+1);i>=56320&&i<=57343&&(n++,r=(r-55296<<10)+i-56320+65536)}r<=127?e+=String.fromCharCode(r):r<=2047?e+=String.fromCharCode(r>>6&31|192,63&r|128):r<=65535?e+=String.fromCharCode(r>>12|224,r>>6&63|128,63&r|128):r<=2097151&&(e+=String.fromCharCode(r>>18&7|240,r>>12&63|128,r>>6&63|128,63&r|128))}return e}function M(t){if("string"==typeof t)return t;if(t instanceof Array)return"["+t.map(M).join(", ")+"]";if(null==t)return""+t;if(t.overriddenName)return""+t.overriddenName;if(t.name)return""+t.name;var e=t.toString();if(null==e)return""+e;var n=e.indexOf("\n");return-1===n?e:e.substring(0,n)}function A(t){return"function"==typeof t&&t.hasOwnProperty("__forward_ref__")?t():t}function N(t){return!!t&&"function"==typeof t.then}function I(t,e,n){void 0===n&&(n=null);var r=[],i=t.visit?function(e){return t.visit(e,n)||e.visit(t,n)}:function(e){return e.visit(t,n)};return e.forEach(function(t){var e=i(t);e&&r.push(e)}),r}function D(t,e){return void 0===e&&(e=!0),null===t?e:t}function R(t){return t.replace(/\W/g,"_")}function j(t){if(!t||!t.reference)return null;var e=t.reference;if(e instanceof Lo)return e.name;if(e.__anonymousType)return e.__anonymousType;var n=M(e);return n.indexOf("(")>=0?(n="anonymous_"+Bo++,e.__anonymousType=n):n=R(n),n}function F(t){var e=t.reference;return e instanceof Lo?e.filePath:"./"+M(e)}function L(t,e){return"View_"+j({reference:t})+"_"+e}function V(t){return"RenderType_"+j({reference:t})}function H(t){return"HostView_"+j({reference:t})}function B(t){return j({reference:t})+"NgFactory"}function U(t){return null!=t.value?R(t.value):j(t.identifier)}function z(t){return null!=t.identifier?t.identifier.reference:t.value}function q(t){return t||[]}function W(t){return t.reduce(function(t,e){var n=Array.isArray(e)?W(e):e;return t.concat(n)},[])}function G(t){return t.replace(/(\w+:\/\/[\w:-]+)?(\/+)?/,"ng:///")}function Z(t,e,n){var r;return r=n.isInline?e.type.reference instanceof Lo?e.type.reference.filePath+"."+e.type.reference.name+".html":j(t)+"/"+j(e.type)+".html":n.templateUrl,e.type.reference instanceof Lo?r:G(r)}function K(t,e){var n=t.moduleUrl.split(/\/\\/g);return G("css/"+e+n[n.length-1]+".ngstyle.js")}function Q(t){return G(j(t.type)+"/module.ngfactory.js")}function $(t,e){return G(j(t)+"/"+j(e.type)+".ngfactory.js")}function X(t,e,n){void 0===n&&(n=null);var r=[],i=t.visit?function(e){return t.visit(e,n)||e.visit(t,n)}:function(e){return e.visit(t,n)};return e.forEach(function(t){var e=i(t);e&&r.push(e)}),r}function J(t,e){if(null!=e){if(!Array.isArray(e))throw new Error("Expected '"+t+"' to be an array of strings.");for(var n=0;n0&&(o=t.value)}),e=ct(e);var s=t.name.toLowerCase(),a=ws.OTHER;return it(s)?a=ws.NG_CONTENT:s==ms?a=ws.STYLE:s==gs?a=ws.SCRIPT:s==fs&&r==ys&&(a=ws.STYLESHEET),new Es(a,e,n,i,o)}function ct(t){return null===t||0===t.length?"*":t}function lt(t){return Hi.isTypeOf(t)||zi.isTypeOf(t)}function pt(t,e){for(var n=t.length-1;n>=0;n--)if(e(t[n]))return t[n];return null}function ht(t){return t>=Os&&t<=Is||t==oa}function ft(t){return zs<=t&&t<=qs}function dt(t){return t>=$s&&t<=ra||t>=Ws&&t<=Ks}function vt(t){return t>=$s&&t<=Js||t>=Ws&&t<=Zs||ft(t)}function yt(t,e){return new la(t,aa.Character,e,String.fromCharCode(e))}function mt(t,e){return new la(t,aa.Identifier,0,e)}function gt(t,e){return new la(t,aa.Keyword,0,e)}function _t(t,e){return new la(t,aa.Operator,0,e)}function bt(t,e){return new la(t,aa.String,0,e)}function wt(t,e){return new la(t,aa.Number,e,"")}function Et(t,e){return new la(t,aa.Error,0,e)}function Ct(t){return $s<=t&&t<=ra||Ws<=t&&t<=Ks||t==Qs||t==Rs}function xt(t){if(0==t.length)return!1;var e=new ha(t);if(!Ct(e.peek))return!1;for(e.advance();e.peek!==Ps;){if(!St(e.peek))return!1;e.advance()}return!0}function St(t){return dt(t)||ft(t)||t==Qs||t==Rs}function Tt(t){return t==Xs||t==Gs}function Pt(t){return t==Ls||t==Fs}function Ot(t){return t===js||t===Ds||t===sa}function kt(t){switch(t){case Ys:return ks;case Js:return As;case ta:return Ns;case ea:return Os;case na:return Ms;default:return t}}function Mt(t){var e=parseInt(t);if(isNaN(e))throw new Error("Invalid integer literal when parsing "+t);return e}function At(t){var e=P(t.start)+"([\\s\\S]*?)"+P(t.end);return new RegExp(e,"g")}function Nt(t,e){var n=F(e),r=null!=n?"in "+t+" "+j(e)+" in "+n:"in "+t+" "+j(e),i=new Za("",r);return new Ka(new Ga(i,-1,-1,-1),new Ga(i,-1,-1,-1))}function It(t,e,n,r,i){return void 0===r&&(r=!1),void 0===i&&(i=is),new ru(new Za(t,e),n,r,i).tokenize()}function Dt(t){return'Unexpected character "'+(t===Ps?"EOF":String.fromCharCode(t))+'"'}function Rt(t){return'Unknown entity "'+t+'" - use the "&#;" or "&#x;" syntax'}function jt(t){return!ht(t)||t===Ps}function Ft(t){return ht(t)||t===Us||t===Vs||t===js||t===Ds||t===Bs}function Lt(t){return(t<$s||raqs)}function Vt(t){return t==Hs||t==Ps||!vt(t)}function Ht(t){return t==Hs||t==Ps||!dt(t)}function Bt(t,e,n){var r=!!n&&t.indexOf(n.start,e)==e;return t.charCodeAt(e)==ia&&!r}function Ut(t){return t===Bs||dt(t)||ft(t)}function zt(t,e){return qt(t)==qt(e)}function qt(t){return t>=$s&&t<=ra?t-$s+Ws:t}function Wt(t){for(var e=[],n=void 0,r=0;r0&&t[t.length-1]===e}function Zt(t){return t.id||$t(Qt(t.nodes).join("")+"["+t.meaning+"]")}function Kt(t){if(t.id)return t.id;var e=new lu;return Yt(t.nodes.map(function(t){return t.visit(e,null)}).join(""),t.meaning)}function Qt(t){return t.map(function(t){return t.visit(cu,null)})}function $t(t){var e=k(t),n=ue(e,pu.Big),r=8*e.length,i=new Array(80),o=[1732584193,4023233417,2562383102,271733878,3285377520],s=o[0],a=o[1],u=o[2],c=o[3],l=o[4];n[r>>5]|=128<<24-r%32,n[15+(r+64>>9<<4)]=r;for(var p=0;p>>13,n=oe(n,r),n=oe(n,e),n^=e<<8,r=oe(r,e),r=oe(r,n),r^=n>>>13,e=oe(e,n),e=oe(e,r),e^=r>>>12,n=oe(n,r),n=oe(n,e),n^=e<<16,r=oe(r,e),r=oe(r,n),r^=n>>>5,e=oe(e,n),e=oe(e,r),e^=r>>>3,n=oe(n,r),n=oe(n,e),n^=e<<10,r=oe(r,e),r=oe(r,n),r^=n>>>15,[e,n,r]}function ne(t,e){return re(t,e)[1]}function re(t,e){var n=(65535&t)+(65535&e),r=(t>>>16)+(e>>>16)+(n>>>16);return[r>>>16,r<<16|65535&n]}function ie(t,e){var n=t[0],r=t[1],i=e[0],o=e[1],s=re(r,o),a=s[0],u=s[1];return[ne(ne(n,i),a),u]}function oe(t,e){var n=(65535&t)-(65535&e);return(t>>16)-(e>>16)+(n>>16)<<16|65535&n}function se(t,e){return t<>>32-e}function ae(t,e){var n=t[0],r=t[1];return[n<>>32-e,r<>>32-e]}function ue(t,e){for(var n=Array(t.length+3>>>2),r=0;r=t.length?0:255&t.charCodeAt(e)}function le(t,e,n){var r=0;if(n===pu.Big)for(var i=0;i<4;i++)r+=ce(t,e+i)<<24-8*i;else for(var i=0;i<4;i++)r+=ce(t,e+i)<<8*i;return r}function pe(t){return t.reduce(function(t,e){return t+he(e)},"")}function he(t){for(var e="",n=0;n<4;n++)e+=String.fromCharCode(t>>>8*(3-n)&255);return e}function fe(t){for(var e="",n=0;n>>4).toString(16)+(15&r).toString(16)}return e.toLowerCase()}function de(t){for(var e="",n="1",r=t.length-1;r>=0;r--)e=ve(e,ye(ce(t,r),n)),n=ye(256,n);return e.split("").reverse().join("")}function ve(t,e){for(var n="",r=Math.max(t.length,e.length),i=0,o=0;i=10?(o=1,n+=s-10):(o=0,n+=s)}return n}function ye(t,e){for(var n="",r=e;0!==t;t>>>=1)1&t&&(n=ve(n,r)),r=ve(r,r);return n}function me(t){return Eu[t.toLowerCase()]||Cu}function ge(t){var e=new Pu(Tu,t);return function(t,n,r,i){return e.toI18nMessage(t,n,r,i)}}function _e(t){return t.split(Ou)[2]}function be(t,e,n,r){return new Fu(n,r).extract(t,e)}function we(t,e,n,r,i){return new Fu(r,i).merge(t,e,n)}function Ee(t){return!!(t instanceof es&&t.value&&t.value.startsWith("i18n"))}function Ce(t){return!!(t instanceof es&&t.value&&"/i18n"===t.value)}function xe(t){return t.attrs.find(function(t){return t.name===Mu})||null}function Se(t){if(!t)return{meaning:"",description:"",id:""};var e=t.indexOf(Iu),n=t.indexOf(Nu),r=e>-1?[t.slice(0,e),t.slice(e+2)]:[t,""],i=r[0],o=r[1],s=n>-1?[i.slice(0,n),i.slice(n+1)]:["",i];return{meaning:s[0],description:s[1],id:o}}function Te(t){return Vu}function Pe(t){return t.map(function(t){return t.visit(qu)}).join("")}function Oe(t){return $u.reduce(function(t,e){return t.replace(e[0],e[1])},t)}function ke(t){switch(t.toLowerCase()){case"br":return"lb";case"img":return"image";default:return"x-"+t}}function Me(t){switch(t.toLowerCase()){case"br":case"b":case"i":case"u":return"fmt";case"img":return"image";case"a":return"link";default:return"other"}}function Ae(t){return Kt(t)}function Ne(t){return t.toUpperCase().replace(/[^A-Z0-9_]/g,"_")}function Ie(t,e,n){Object.defineProperty(t,e,{configurable:!0,enumerable:!0,get:function(){var r=n();return Object.defineProperty(t,e,{enumerable:!0,value:r}),r},set:function(t){throw new Error("Could not overwrite an XTB translation")}})}function De(t){switch(t=(t||"xlf").toLowerCase()){case"xmb":return new oc;case"xtb":return new uc;case"xliff2":case"xlf2":return new ec;case"xliff":case"xlf":default:return new Xu}}function Re(t,e){void 0===e&&(e=!1);var n=Le(t,e);return n[0]+".ngfactory"+Ve(n[1])}function je(t){return t.replace(yc,".")}function Fe(t){return yc.test(t)}function Le(t,e){if(void 0===e&&(e=!1),t.endsWith(".d.ts"))return[t.slice(0,-5),e?".ts":".d.ts"];var n=t.lastIndexOf(".");return-1!==n?[t.substring(0,n),t.substring(n)]:[t,""]}function Ve(t){return".tsx"===t?".ts":t}function He(t){return t.replace(vc,"")+".ngsummary.json"}function Be(t,e){void 0===e&&(e=!1);var n=Le(je(t),e);return n[0]+".ngsummary"+n[1]}function Ue(t){return t.replace(mc,".")}function ze(t){return t+"NgSummary"}function qe(t){return t.replace(gc,"")}function We(t){return _c.test(t)}function Ge(t){return{identifier:{reference:t}}}function Ze(t,e){return Ge(t.resolveExternalReference(e))}function Ke(t,e,n){return t.hasLifecycleHook(n,$e(e))}function Qe(t,e){return Cc.filter(function(n){return Ke(t,n,e)})}function $e(t){switch(t){case Ec.OnInit:return"ngOnInit";case Ec.OnDestroy:return"ngOnDestroy";case Ec.DoCheck:return"ngDoCheck";case Ec.OnChanges:return"ngOnChanges";case Ec.AfterContentInit:return"ngAfterContentInit";case Ec.AfterContentChecked:return"ngAfterContentChecked";case Ec.AfterViewInit:return"ngAfterViewInit";case Ec.AfterViewChecked:return"ngAfterViewChecked"}}function Xe(t,e){if(void 0===e&&(e=[]),t)for(var n=0;n>2),e+=Fn((3&r)<<4|(isNaN(i)?0:i>>4)),e+=isNaN(i)?"=":Fn((15&i)<<2|o>>6),e+=isNaN(i)||isNaN(o)?"=":Fn(63&o)}return e}function jn(t){t=t<0?1+(-t<<1):t<<1;var e="";do{var n=31&t;t>>=5,t>0&&(n|=32),e+=Fn(n)}while(t>0);return e}function Fn(t){if(t<0||t>=64)throw new Error("Can only encode value in the range [0, 63]");return ql[t]}function Ln(t,e,n){if(void 0===n&&(n=!0),null==t)return null;var r=t.replace(Wl,function(){for(var t=[],n=0;n0?o.push(a):(o.length>0&&(r.push(o.join("")),n.push(Dp),o=[]),n.push(a)),a==Np&&i++}return o.length>0&&(r.push(o.join("")),n.push(Dp)),new jp(n.join(""),r)}function Zn(t){var e="styles";return t&&(e+="_"+j(t.type)),e}function Kn(t){return t.some(function(t){return t.name===Hp})}function Qn(t){return t.replace(new RegExp(ps,"g")," ")}function $n(t){return new ou(X(new Wp,t.rootNodes),t.errors)}function Xn(t){var e=new Qp;return new Zp(X(e,t),e.isExpanded,e.errors)}function Jn(t,e){var n=t.cases.map(function(t){-1!=Gp.indexOf(t.value)||t.value.match(/^=\d+$/)||e.push(new Kp(t.valueSourceSpan,'Plural cases should be "=" or one of '+Gp.join(", ")));var n=Xn(t.expression);return e.push.apply(e,n.errors),new ts("ng-template",[new Yo("ngPluralCase",""+t.value,t.valueSourceSpan)],n.nodes,t.sourceSpan,t.sourceSpan,t.sourceSpan)}),r=new Yo("[ngPlural]",t.switchValue,t.switchValueSourceSpan);return new ts("ng-container",[r],n,t.sourceSpan,t.sourceSpan,t.sourceSpan)}function Yn(t,e){var n=t.cases.map(function(t){var n=Xn(t.expression);return e.push.apply(e,n.errors),"other"===t.value?new ts("ng-template",[new Yo("ngSwitchDefault","",t.valueSourceSpan)],n.nodes,t.sourceSpan,t.sourceSpan,t.sourceSpan):new ts("ng-template",[new Yo("ngSwitchCase",""+t.value,t.valueSourceSpan)],n.nodes,t.sourceSpan,t.sourceSpan,t.sourceSpan)}),r=new Yo("[ngSwitch]",t.switchValue,t.switchValueSourceSpan);return new ts("ng-container",[r],n,t.sourceSpan,t.sourceSpan,t.sourceSpan)}function tr(t){return"@"==t[0]}function er(t,e,n,r){var i=[];return Sc.parse(e).forEach(function(e){var o=e.element?[e.element]:t.allKnownElementNames(),s=new Set(e.notSelectors.filter(function(t){return t.isElementSelector()}).map(function(t){return t.element})),a=o.filter(function(t){return!s.has(t)});i.push.apply(i,a.map(function(e){return t.securityContext(e,n,r)}))}),0===i.length?[io.NONE]:Array.from(new Set(i)).sort()}function nr(t){return function(e){return-1===t.indexOf(e.msg)||(oh[e.msg]=(oh[e.msg]||0)+1,oh[e.msg]<=1)}}function rr(t){return t?t.split(",").map(function(t){return t.trim()}):[]}function ir(t){return t.trim().split(/\s+/g)}function or(t,e){var n=new Sc,r=nt(t)[1];n.setElement(r);for(var i=0;i=0){var c=s[a],l=Cr(c);l&&(u=Er(r),s[a]=u.set(l.cast(Vc).notIdentical(_n(!1))).toDeclStmt(null,[ml.Final]))}return new yh(s,u)}function pr(t,e){return fr(t,e)}function hr(t,e,n,r){t||(t=new wh);var i=wr(r),o=[],s=new bh(t,e,r),a=n.visit(s,gh.Expression);if(s.temporaryCount)for(var u=0;u=0;r--)n.unshift(vr(e,r))}function mr(t,e){if(t!==gh.Statement)throw new Error("Expected a statement, but saw "+e)}function gr(t,e){if(t!==gh.Expression)throw new Error("Expected an expression, but saw "+e)}function _r(t,e){return t===gh.Statement?e.toStmt():e}function br(t,e){Array.isArray(t)?t.forEach(function(t){return br(t,e)}):e.push(t)}function wr(t){return ln("currVal_"+t)}function Er(t){return ln("pd_"+t)}function Cr(t){return t instanceof wl?t.expr:t instanceof El?t.value:null}function xr(t){var e=t[t.length-1];return e instanceof ko?e.hasViewContainer:e instanceof Oo?rt(e.name)&&e.children.length?xr(e.children):e.hasViewContainer:e instanceof Do}function Sr(t,e){switch(t.type){case Ro.Attribute:return dn([_n(1),_n(t.name),_n(t.securityContext)]);case Ro.Property:return dn([_n(8),_n(t.name),_n(t.securityContext)]);case Ro.Animation:return dn([_n(8|(e&&e.directive.isComponent?32:16)),_n("@"+t.name),_n(t.securityContext)]);case Ro.Class:return dn([_n(2),_n(t.name),vl]);case Ro.Style:return dn([_n(4),_n(t.name),_n(t.unit)])}}function Tr(t){var e=Object.create(null);return t.attrs.forEach(function(t){e[t.name]=t.value}),t.directives.forEach(function(t){Object.keys(t.directive.hostAttributes).forEach(function(n){var r=t.directive.hostAttributes[n],i=e[n];e[n]=null!=i?Pr(n,i,r):r})}),dn(Object.keys(e).sort().map(function(t){return dn([_n(t),_n(e[t])])}))}function Pr(t,e,n){return t==Th||t==Ph?e+" "+n:n}function Or(t,e){return e.length>10?Nh.callFn([Ah,_n(t),_n(1),dn(e)]):Nh.callFn([Ah,_n(t),_n(0)].concat(e))}function kr(t,e,n){return pn(wc.unwrapValue).callFn([Ah,_n(t),_n(e),n])}function Mr(t,e){return void 0===e&&(e=new Map),t.forEach(function(t){var n=new Set,r=new Set,i=void 0;t instanceof Oo?(Mr(t.children,e),t.children.forEach(function(t){var i=e.get(t);i.staticQueryIds.forEach(function(t){return n.add(t)}),i.dynamicQueryIds.forEach(function(t){return r.add(t)})}),i=t.queryMatches):t instanceof ko&&(Mr(t.children,e),t.children.forEach(function(t){var n=e.get(t);n.staticQueryIds.forEach(function(t){return r.add(t)}),n.dynamicQueryIds.forEach(function(t){return r.add(t)})}),i=t.queryMatches),i&&i.forEach(function(t){return n.add(t.queryId)}),r.forEach(function(t){return n.delete(t)}),e.set(t,{staticQueryIds:n,dynamicQueryIds:r})}),e}function Ar(t){var e=new Set,n=new Set;return Array.from(t.values()).forEach(function(t){t.staticQueryIds.forEach(function(t){return e.add(t)}),t.dynamicQueryIds.forEach(function(t){return n.add(t)})}),n.forEach(function(t){return e.delete(t)}),{staticQueryIds:e,dynamicQueryIds:n}}function Nr(t,e){return t.isAnimation?{name:"@"+t.name+"."+t.phase,target:e&&e.directive.isComponent?"component":null}:t}function Ir(t,e,n){var r=0;return!n||!t.staticQueryIds.has(e)&&t.dynamicQueryIds.has(e)?r|=536870912:r|=268435456,r}function Dr(t,e){return t?t+":"+e:e}function Rr(t,e){for(var n=[],r=0,i=t.transitiveModule.providers;r0?i.pop():o++;break;default:i.push(a)}}if(""==e){for(;o-- >0;)i.unshift("..");0===i.length&&i.push(".")}return e+i.join("/")+n}function Mi(t){var e=t[Tf.Path];return e=null==e?"":ki(e),t[Tf.Path]=e,Pi(t[Tf.Scheme],t[Tf.UserInfo],t[Tf.Domain],t[Tf.Port],e,t[Tf.QueryData],t[Tf.Fragment])}function Ai(t,e){var n=Oi(encodeURI(e)),r=Oi(t);if(null!=n[Tf.Scheme])return Mi(n);n[Tf.Scheme]=r[Tf.Scheme];for(var i=Tf.Scheme;i<=Tf.Port;i++)null==n[i]&&(n[i]=r[i]);if("/"==n[Tf.Path][0])return Mi(n);var o=r[Tf.Path];null==o&&(o="/");var s=o.lastIndexOf("/");return o=o.substring(0,s+1)+n[Tf.Path],n[Tf.Path]=o,Mi(n)}n.d(e,"c",function(){return Fo}),n.d(e,"j",function(){return wc}),n.d(e,"k",function(){return wf}),n.d(e,"e",function(){return Ts}),n.d(e,"q",function(){return tp}),n.d(e,"o",function(){return Ul}),n.d(e,"n",function(){return Bl}),n.d(e,"y",function(){return kh}),n.d(e,"A",function(){return T}),n.d(e,"r",function(){return Qo}),n.d(e,"t",function(){return Vo}),n.d(e,"v",function(){return hf}),n.d(e,"l",function(){return ff}),n.d(e,"b",function(){return Cf}),n.d(e,"x",function(){return xf}),n.d(e,"z",function(){return Ti}),n.d(e,"s",function(){return Pf}),n.d(e,"g",function(){return np}),n.d(e,"i",function(){return dc}),n.d(e,"d",function(){return Cs}),n.d(e,"m",function(){return ca}),n.d(e,"p",function(){return za}),n.d(e,"a",function(){return Mc}),n.d(e,"h",function(){return pc}),n.d(e,"f",function(){return cp}),n.d(e,"u",function(){return Vp}),n.d(e,"w",function(){return uh});var Ni=n(292),Ii=m("Inject",function(t){return{token:t}}),Di=m("InjectionToken",function(t){return{_desc:t}}),Ri=m("Attribute",function(t){return{attributeName:t}}),ji=m("ContentChildren",function(t,e){return void 0===e&&(e={}),Object(Ni.a)({selector:t,first:!1,isViewQuery:!1,descendants:!1},e)}),Fi=m("ContentChild",function(t,e){return void 0===e&&(e={}),Object(Ni.a)({selector:t,first:!0,isViewQuery:!1,descendants:!0},e)}),Li=m("ViewChildren",function(t,e){return void 0===e&&(e={}),Object(Ni.a)({selector:t,first:!1,isViewQuery:!0,descendants:!0},e)}),Vi=m("ViewChild",function(t,e){return Object(Ni.a)({selector:t,first:!0,isViewQuery:!0,descendants:!0},e)}),Hi=m("Directive",function(t){return void 0===t&&(t={}),t}),Bi={Emulated:0,Native:1,None:2};Bi[Bi.Emulated]="Emulated",Bi[Bi.Native]="Native",Bi[Bi.None]="None";var Ui={OnPush:0,Default:1};Ui[Ui.OnPush]="OnPush",Ui[Ui.Default]="Default";var zi=m("Component",function(t){return void 0===t&&(t={}),Object(Ni.a)({changeDetection:Ui.Default},t)}),qi=m("Pipe",function(t){return Object(Ni.a)({pure:!0},t)}),Wi=m("Input",function(t){return{bindingPropertyName:t}}),Gi=m("Output",function(t){return{bindingPropertyName:t}}),Zi=m("HostBinding",function(t){return{hostPropertyName:t}}),Ki=m("HostListener",function(t,e){return{eventName:t,args:e}}),Qi=m("NgModule",function(t){return t}),$i={name:"custom-elements"},Xi={name:"no-errors-schema"},Ji=m("Optional"),Yi=m("Injectable"),to=m("Self"),eo=m("SkipSelf"),no=m("Host"),ro=Function,io={NONE:0,HTML:1,STYLE:2,SCRIPT:3,URL:4,RESOURCE_URL:5};io[io.NONE]="NONE",io[io.HTML]="HTML",io[io.STYLE]="STYLE",io[io.SCRIPT]="SCRIPT",io[io.URL]="URL",io[io.RESOURCE_URL]="RESOURCE_URL";var oo={None:0,TypeElement:1,TypeText:2,ProjectedTemplate:4,CatRenderNode:3,TypeNgContent:8,TypePipe:16,TypePureArray:32,TypePureObject:64,TypePurePipe:128,CatPureExpression:224,TypeValueProvider:256,TypeClassProvider:512,TypeFactoryProvider:1024,TypeUseExistingProvider:2048,LazyProvider:4096,PrivateProvider:8192,TypeDirective:16384,Component:32768,CatProviderNoDirective:3840,CatProvider:20224,OnInit:65536,OnDestroy:131072,DoCheck:262144,OnChanges:524288,AfterContentInit:1048576,AfterContentChecked:2097152,AfterViewInit:4194304,AfterViewChecked:8388608,EmbeddedViews:16777216,ComponentView:33554432,TypeContentQuery:67108864,TypeViewQuery:134217728,StaticQuery:268435456,DynamicQuery:536870912,CatQuery:201326592,Types:201347067},so={None:0,SkipSelf:1,Optional:2,Value:8},ao={Inline:0,Dynamic:1},uo={TypeElementAttribute:1,TypeElementClass:2,TypeElementStyle:4,TypeProperty:8,SyntheticProperty:16,SyntheticHostProperty:32,CatSyntheticProperty:48,Types:15},co={First:0,All:1},lo={ElementRef:0,RenderElement:1,TemplateRef:2,ViewContainerRef:3,Provider:4},po={None:0,OnPush:2},ho={Error:0,Warning:1,Ignore:2};ho[ho.Error]="Error",ho[ho.Warning]="Warning",ho[ho.Ignore]="Ignore";var fo=(Object.freeze({Inject:r,createInject:Ii,createInjectionToken:Di,Attribute:i,createAttribute:Ri,Query:o,createContentChildren:ji,createContentChild:Fi,createViewChildren:Li,createViewChild:Vi,Directive:s,createDirective:Hi,Component:a,ViewEncapsulation:Bi,ChangeDetectionStrategy:Ui,createComponent:zi,Pipe:u,createPipe:qi,Input:c,createInput:Wi,Output:l,createOutput:Gi,HostBinding:p,createHostBinding:Zi,HostListener:h,createHostListener:Ki,NgModule:f,createNgModule:Qi,ModuleWithProviders:d,SchemaMetadata:v,CUSTOM_ELEMENTS_SCHEMA:$i,NO_ERRORS_SCHEMA:Xi,createOptional:Ji,createInjectable:Yi,createSelf:to,createSkipSelf:eo,createHost:no,Type:ro,SecurityContext:io,NodeFlags:oo,DepFlags:so,ArgumentType:ao,BindingFlags:uo,QueryBindingType:co,QueryValueType:lo,ViewFlags:po,MissingTranslationStrategy:ho,MetadataFactory:y,Route:g}),/-+([a-z0-9])/g),vo=function(){function t(){}return t.prototype.visitArray=function(t,e){var n=this;return t.map(function(t){return C(t,n,e)})},t.prototype.visitStringMap=function(t,e){var n=this,r={};return Object.keys(t).forEach(function(i){r[i]=C(t[i],n,e)}),r},t.prototype.visitPrimitive=function(t,e){return t},t.prototype.visitOther=function(t,e){return t},t}(),yo={assertSync:function(t){if(N(t))throw new Error("Illegal state: value cannot be a promise");return t},then:function(t,e){return N(t)?t.then(e):e(t)},all:function(t){return t.some(N)?Promise.all(t):t}},mo="ngSyntaxError",go="ngParseErrors",_o=Object.getPrototypeOf({}),bo=function(){function t(t){this.full=t;var e=t.split(".");this.major=e[0],this.minor=e[1],this.patch=e.slice(2).join(".")}return t}(),wo=(new bo("5.1.3"),function(){function t(t,e,n){this.value=t,this.ngContentIndex=e,this.sourceSpan=n}return t.prototype.visit=function(t,e){return t.visitText(this,e)},t}()),Eo=function(){function t(t,e,n){this.value=t,this.ngContentIndex=e,this.sourceSpan=n}return t.prototype.visit=function(t,e){return t.visitBoundText(this,e)},t}(),Co=function(){function t(t,e,n){this.name=t,this.value=e,this.sourceSpan=n}return t.prototype.visit=function(t,e){return t.visitAttr(this,e)},t}(),xo=function(){function t(t,e,n,r,i,o){this.name=t,this.type=e,this.securityContext=n,this.value=r,this.unit=i,this.sourceSpan=o,this.isAnimation=this.type===Ro.Animation}return t.prototype.visit=function(t,e){return t.visitElementProperty(this,e)},t}(),So=function(){function t(e,n,r,i,o){this.name=e,this.target=n,this.phase=r,this.handler=i,this.sourceSpan=o,this.fullName=t.calcFullName(this.name,this.target,this.phase),this.isAnimation=!!this.phase}return t.calcFullName=function(t,e,n){return e?e+":"+t:n?"@"+t+"."+n:t},t.prototype.visit=function(t,e){return t.visitEvent(this,e)},t}(),To=function(){function t(t,e,n){this.name=t,this.value=e,this.sourceSpan=n}return t.prototype.visit=function(t,e){return t.visitReference(this,e)},t}(),Po=function(){function t(t,e,n){this.name=t,this.value=e,this.sourceSpan=n}return t.prototype.visit=function(t,e){return t.visitVariable(this,e)},t}(),Oo=function(){function t(t,e,n,r,i,o,s,a,u,c,l,p,h){this.name=t,this.attrs=e,this.inputs=n,this.outputs=r,this.references=i,this.directives=o,this.providers=s,this.hasViewContainer=a,this.queryMatches=u,this.children=c,this.ngContentIndex=l,this.sourceSpan=p,this.endSourceSpan=h}return t.prototype.visit=function(t,e){return t.visitElement(this,e)},t}(),ko=function(){function t(t,e,n,r,i,o,s,a,u,c,l){this.attrs=t,this.outputs=e,this.references=n,this.variables=r,this.directives=i,this.providers=o,this.hasViewContainer=s,this.queryMatches=a,this.children=u,this.ngContentIndex=c,this.sourceSpan=l}return t.prototype.visit=function(t,e){return t.visitEmbeddedTemplate(this,e)},t}(),Mo=function(){function t(t,e,n,r){this.directiveName=t,this.templateName=e,this.value=n,this.sourceSpan=r}return t.prototype.visit=function(t,e){return t.visitDirectiveProperty(this,e)},t}(),Ao=function(){function t(t,e,n,r,i,o){this.directive=t,this.inputs=e,this.hostProperties=n,this.hostEvents=r,this.contentQueryStartId=i,this.sourceSpan=o}return t.prototype.visit=function(t,e){return t.visitDirective(this,e)},t}(),No=function(){function t(t,e,n,r,i,o,s){this.token=t,this.multiProvider=e,this.eager=n,this.providers=r,this.providerType=i,this.lifecycleHooks=o,this.sourceSpan=s}return t.prototype.visit=function(t,e){return null},t}(),Io={PublicService:0,PrivateService:1,Component:2,Directive:3,Builtin:4};Io[Io.PublicService]="PublicService",Io[Io.PrivateService]="PrivateService",Io[Io.Component]="Component",Io[Io.Directive]="Directive",Io[Io.Builtin]="Builtin";var Do=function(){function t(t,e,n){this.index=t,this.ngContentIndex=e,this.sourceSpan=n}return t.prototype.visit=function(t,e){return t.visitNgContent(this,e)},t}(),Ro={Property:0,Attribute:1,Class:2,Style:3,Animation:4};Ro[Ro.Property]="Property",Ro[Ro.Attribute]="Attribute",Ro[Ro.Class]="Class",Ro[Ro.Style]="Style",Ro[Ro.Animation]="Animation";var jo=function(){function t(){}return t.prototype.visitNgContent=function(t,e){},t.prototype.visitEmbeddedTemplate=function(t,e){},t.prototype.visitElement=function(t,e){},t.prototype.visitReference=function(t,e){},t.prototype.visitVariable=function(t,e){},t.prototype.visitEvent=function(t,e){},t.prototype.visitElementProperty=function(t,e){},t.prototype.visitAttr=function(t,e){},t.prototype.visitBoundText=function(t,e){},t.prototype.visitText=function(t,e){},t.prototype.visitDirective=function(t,e){},t.prototype.visitDirectiveProperty=function(t,e){},t}(),Fo=(function(t){function e(){return t.call(this)||this}Object(Ni.b)(e,t),e.prototype.visitEmbeddedTemplate=function(t,e){return this.visitChildren(e,function(e){e(t.attrs),e(t.references),e(t.variables),e(t.directives),e(t.providers),e(t.children)})},e.prototype.visitElement=function(t,e){return this.visitChildren(e,function(e){e(t.attrs),e(t.inputs),e(t.outputs),e(t.references),e(t.directives),e(t.providers),e(t.children)})},e.prototype.visitDirective=function(t,e){return this.visitChildren(e,function(e){e(t.inputs),e(t.hostProperties),e(t.hostEvents)})},e.prototype.visitChildren=function(t,e){function n(e){e&&e.length&&r.push(I(i,e,t))}var r=[],i=this;return e(n),[].concat.apply([],r)}}(jo),function(){function t(t){var e=void 0===t?{}:t,n=e.defaultEncapsulation,r=void 0===n?Bi.Emulated:n,i=e.useJit,o=void 0===i||i,s=e.jitDevMode,a=void 0!==s&&s,u=e.missingTranslation,c=void 0===u?null:u,l=e.enableLegacyTemplate,p=e.preserveWhitespaces,h=e.strictInjectionParameters;this.defaultEncapsulation=r,this.useJit=!!o,this.jitDevMode=!!a,this.missingTranslation=c,this.enableLegacyTemplate=!0===l,this.preserveWhitespaces=D(S(p)),this.strictInjectionParameters=!0===h}return t}()),Lo=function(){function t(t,e,n){this.filePath=t,this.name=e,this.members=n}return t.prototype.assertNoMembers=function(){if(this.members.length)throw new Error("Illegal state: symbol without members expected, but got "+JSON.stringify(this)+".")},t}(),Vo=function(){function t(){this.cache=new Map}return t.prototype.get=function(t,e,n){n=n||[];var r=n.length?"."+n.join("."):"",i='"'+t+'".'+e+r,o=this.cache.get(i);return o||(o=new Lo(t,e,n),this.cache.set(i,o)),o},t}(),Ho=/^(?:(?:\[([^\]]+)\])|(?:\(([^\)]+)\)))|(\@[-\w]+)$/,Bo=0,Uo={Pipe:0,Directive:1,NgModule:2,Injectable:3};Uo[Uo.Pipe]="Pipe",Uo[Uo.Directive]="Directive",Uo[Uo.NgModule]="NgModule",Uo[Uo.Injectable]="Injectable";var zo=function(){function t(t){var e=void 0===t?{}:t,n=e.moduleUrl,r=e.styles,i=e.styleUrls;this.moduleUrl=n||null,this.styles=q(r),this.styleUrls=q(i)}return t}(),qo=function(){function t(t){var e=t.encapsulation,n=t.template,r=t.templateUrl,i=t.htmlAst,o=t.styles,s=t.styleUrls,a=t.externalStylesheets,u=t.animations,c=t.ngContentSelectors,l=t.interpolation,p=t.isInline,h=t.preserveWhitespaces;if(this.encapsulation=e,this.template=n,this.templateUrl=r,this.htmlAst=i,this.styles=q(o),this.styleUrls=q(s),this.externalStylesheets=q(a),this.animations=u?W(u):[],this.ngContentSelectors=c||[],l&&2!=l.length)throw new Error("'interpolation' should have a start and an end symbol.");this.interpolation=l,this.isInline=p,this.preserveWhitespaces=h}return t.prototype.toSummary=function(){return{ngContentSelectors:this.ngContentSelectors,encapsulation:this.encapsulation}},t}(),Wo=function(){function t(t){var e=t.isHost,n=t.type,r=t.isComponent,i=t.selector,o=t.exportAs,s=t.changeDetection,a=t.inputs,u=t.outputs,c=t.hostListeners,l=t.hostProperties,p=t.hostAttributes,h=t.providers,f=t.viewProviders,d=t.queries,v=t.viewQueries,y=t.entryComponents,m=t.template,g=t.componentViewType,_=t.rendererType,b=t.componentFactory;this.isHost=!!e,this.type=n,this.isComponent=r,this.selector=i,this.exportAs=o,this.changeDetection=s,this.inputs=a,this.outputs=u,this.hostListeners=c,this.hostProperties=l,this.hostAttributes=p,this.providers=q(h),this.viewProviders=q(f),this.queries=q(d),this.viewQueries=q(v),this.entryComponents=q(y),this.template=m,this.componentViewType=g,this.rendererType=_,this.componentFactory=b}return t.create=function(e){var n=e.isHost,r=e.type,i=e.isComponent,o=e.selector,s=e.exportAs,a=e.changeDetection,u=e.inputs,c=e.outputs,l=e.host,p=e.providers,h=e.viewProviders,f=e.queries,d=e.viewQueries,v=e.entryComponents,y=e.template,m=e.componentViewType,g=e.rendererType,_=e.componentFactory,w={},E={},C={};null!=l&&Object.keys(l).forEach(function(t){var e=l[t],n=t.match(Ho);null===n?C[t]=e:null!=n[1]?E[n[1]]=e:null!=n[2]&&(w[n[2]]=e)});var x={};null!=u&&u.forEach(function(t){var e=b(t,[t,t]);x[e[0]]=e[1]});var S={};return null!=c&&c.forEach(function(t){var e=b(t,[t,t]);S[e[0]]=e[1]}),new t({isHost:n,type:r,isComponent:!!i,selector:o,exportAs:s,changeDetection:a,inputs:x,outputs:S,hostListeners:w,hostProperties:E,hostAttributes:C,providers:p,viewProviders:h,queries:f,viewQueries:d,entryComponents:v,template:y,componentViewType:m,rendererType:g,componentFactory:_})},t.prototype.toSummary=function(){return{summaryKind:Uo.Directive,type:this.type,isComponent:this.isComponent,selector:this.selector,exportAs:this.exportAs,inputs:this.inputs,outputs:this.outputs,hostListeners:this.hostListeners,hostProperties:this.hostProperties,hostAttributes:this.hostAttributes,providers:this.providers,viewProviders:this.viewProviders,queries:this.queries,viewQueries:this.viewQueries,entryComponents:this.entryComponents,changeDetection:this.changeDetection,template:this.template&&this.template.toSummary(),componentViewType:this.componentViewType,rendererType:this.rendererType,componentFactory:this.componentFactory}},t}(),Go=function(){function t(t){var e=t.type,n=t.name,r=t.pure;this.type=e,this.name=n,this.pure=!!r}return t.prototype.toSummary=function(){return{summaryKind:Uo.Pipe,type:this.type,name:this.name,pure:this.pure}},t}(),Zo=function(){function t(t){var e=t.type,n=t.providers,r=t.declaredDirectives,i=t.exportedDirectives,o=t.declaredPipes,s=t.exportedPipes,a=t.entryComponents,u=t.bootstrapComponents,c=t.importedModules,l=t.exportedModules,p=t.schemas,h=t.transitiveModule,f=t.id;this.type=e||null,this.declaredDirectives=q(r),this.exportedDirectives=q(i),this.declaredPipes=q(o),this.exportedPipes=q(s),this.providers=q(n),this.entryComponents=q(a),this.bootstrapComponents=q(u),this.importedModules=q(c),this.exportedModules=q(l),this.schemas=q(p),this.id=f||null,this.transitiveModule=h||null}return t.prototype.toSummary=function(){var t=this.transitiveModule;return{summaryKind:Uo.NgModule,type:this.type,entryComponents:t.entryComponents,providers:t.providers,modules:t.modules,exportedDirectives:t.exportedDirectives,exportedPipes:t.exportedPipes}},t}(),Ko=function(){function t(){this.directivesSet=new Set,this.directives=[],this.exportedDirectivesSet=new Set,this.exportedDirectives=[],this.pipesSet=new Set,this.pipes=[],this.exportedPipesSet=new Set,this.exportedPipes=[],this.modulesSet=new Set,this.modules=[],this.entryComponentsSet=new Set,this.entryComponents=[],this.providers=[]}return t.prototype.addProvider=function(t,e){this.providers.push({provider:t,module:e})},t.prototype.addDirective=function(t){this.directivesSet.has(t.reference)||(this.directivesSet.add(t.reference),this.directives.push(t))},t.prototype.addExportedDirective=function(t){this.exportedDirectivesSet.has(t.reference)||(this.exportedDirectivesSet.add(t.reference),this.exportedDirectives.push(t))},t.prototype.addPipe=function(t){this.pipesSet.has(t.reference)||(this.pipesSet.add(t.reference),this.pipes.push(t))},t.prototype.addExportedPipe=function(t){this.exportedPipesSet.has(t.reference)||(this.exportedPipesSet.add(t.reference),this.exportedPipes.push(t))},t.prototype.addModule=function(t){this.modulesSet.has(t.reference)||(this.modulesSet.add(t.reference),this.modules.push(t))},t.prototype.addEntryComponent=function(t){this.entryComponentsSet.has(t.componentType)||(this.entryComponentsSet.add(t.componentType),this.entryComponents.push(t))},t}(),Qo=function(){function t(t,e){var n=e.useClass,r=e.useValue,i=e.useExisting,o=e.useFactory,s=e.deps,a=e.multi;this.token=t,this.useClass=n||null,this.useValue=r,this.useExisting=i,this.useFactory=o||null,this.dependencies=s||null,this.multi=!!a}return t}(),$o=(function(){function t(t,e){void 0===e&&(e=-1),this.path=t,this.position=e}Object.defineProperty(t.prototype,"empty",{get:function(){return!this.path||!this.path.length},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"head",{get:function(){return this.path[0]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"tail",{get:function(){return this.path[this.path.length-1]},enumerable:!0,configurable:!0}),t.prototype.parentOf=function(t){return t&&this.path[this.path.indexOf(t)-1]},t.prototype.childOf=function(t){return this.path[this.path.indexOf(t)+1]},t.prototype.first=function(t){for(var e=this.path.length-1;e>=0;e--){var n=this.path[e];if(n instanceof t)return n}},t.prototype.push=function(t){this.path.push(t)},t.prototype.pop=function(){return this.path.pop()}}(),function(){function t(t,e){this.value=t,this.sourceSpan=e}return t.prototype.visit=function(t,e){return t.visitText(this,e)},t}()),Xo=function(){function t(t,e,n,r,i){this.switchValue=t,this.type=e,this.cases=n,this.sourceSpan=r,this.switchValueSourceSpan=i}return t.prototype.visit=function(t,e){return t.visitExpansion(this,e)},t}(),Jo=function(){function t(t,e,n,r,i){this.value=t,this.expression=e,this.sourceSpan=n,this.valueSourceSpan=r,this.expSourceSpan=i}return t.prototype.visit=function(t,e){return t.visitExpansionCase(this,e)},t}(),Yo=function(){function t(t,e,n,r){this.name=t,this.value=e,this.sourceSpan=n,this.valueSpan=r}return t.prototype.visit=function(t,e){return t.visitAttribute(this,e)},t}(),ts=function(){function t(t,e,n,r,i,o){void 0===i&&(i=null),void 0===o&&(o=null),this.name=t,this.attrs=e,this.children=n,this.sourceSpan=r,this.startSourceSpan=i,this.endSourceSpan=o}return t.prototype.visit=function(t,e){return t.visitElement(this,e)},t}(),es=function(){function t(t,e){this.value=t,this.sourceSpan=e}return t.prototype.visit=function(t,e){return t.visitComment(this,e)},t}(),ns=(function(){function t(){}t.prototype.visitElement=function(t,e){this.visitChildren(e,function(e){e(t.attrs),e(t.children)})},t.prototype.visitAttribute=function(t,e){},t.prototype.visitText=function(t,e){},t.prototype.visitComment=function(t,e){},t.prototype.visitExpansion=function(t,e){return this.visitChildren(e,function(e){e(t.cases)})},t.prototype.visitExpansionCase=function(t,e){},t.prototype.visitChildren=function(t,e){function n(e){e&&r.push(X(i,e,t))}var r=[],i=this;return e(n),[].concat.apply([],r)}}(),[/^\s*$/,/[<>]/,/^[{}]$/,/&(#|[a-z])/i,/^\/\//]),rs=function(){function t(t,e){this.start=t,this.end=e}return t.fromArray=function(e){return e?(Y("interpolation",e),new t(e[0],e[1])):is},t}(),is=new rs("{{","}}"),os=function(){function t(t,e){this.style=t,this.styleUrls=e}return t}(),ss=/@import\s+(?:url\()?\s*(?:(?:['"]([^'"]*))|([^;\)\s]*))[^;]*;?/g,as=/\/\*(?!#\s*(?:sourceURL|sourceMappingURL)=)[\s\S]+?\*\//g,us=/^([^:\/?#]+):/,cs={RAW_TEXT:0,ESCAPABLE_RAW_TEXT:1,PARSABLE_DATA:2};cs[cs.RAW_TEXT]="RAW_TEXT",cs[cs.ESCAPABLE_RAW_TEXT]="ESCAPABLE_RAW_TEXT",cs[cs.PARSABLE_DATA]="PARSABLE_DATA";var ls={Aacute:"Á",aacute:"á",Acirc:"Â",acirc:"â",acute:"´",AElig:"Æ",aelig:"æ",Agrave:"À",agrave:"à",alefsym:"ℵ",Alpha:"Α",alpha:"α",amp:"&",and:"∧",ang:"∠",apos:"'",Aring:"Å",aring:"å",asymp:"≈",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",bdquo:"„",Beta:"Β",beta:"β",brvbar:"¦",bull:"•",cap:"∩",Ccedil:"Ç",ccedil:"ç",cedil:"¸",cent:"¢",Chi:"Χ",chi:"χ",circ:"ˆ",clubs:"♣",cong:"≅",copy:"©",crarr:"↵",cup:"∪",curren:"¤",dagger:"†",Dagger:"‡",darr:"↓",dArr:"⇓",deg:"°",Delta:"Δ",delta:"δ",diams:"♦",divide:"÷",Eacute:"É",eacute:"é",Ecirc:"Ê",ecirc:"ê",Egrave:"È",egrave:"è",empty:"∅",emsp:" ",ensp:" ",Epsilon:"Ε",epsilon:"ε",equiv:"≡",Eta:"Η",eta:"η",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",euro:"€",exist:"∃",fnof:"ƒ",forall:"∀",frac12:"½",frac14:"¼",frac34:"¾",frasl:"⁄",Gamma:"Γ",gamma:"γ",ge:"≥",gt:">",harr:"↔",hArr:"⇔",hearts:"♥",hellip:"…",Iacute:"Í",iacute:"í",Icirc:"Î",icirc:"î",iexcl:"¡",Igrave:"Ì",igrave:"ì",image:"ℑ",infin:"∞",int:"∫",Iota:"Ι",iota:"ι",iquest:"¿",isin:"∈",Iuml:"Ï",iuml:"ï",Kappa:"Κ",kappa:"κ",Lambda:"Λ",lambda:"λ",lang:"⟨",laquo:"«",larr:"←",lArr:"⇐",lceil:"⌈",ldquo:"“",le:"≤",lfloor:"⌊",lowast:"∗",loz:"◊",lrm:"‎",lsaquo:"‹",lsquo:"‘",lt:"<",macr:"¯",mdash:"—",micro:"µ",middot:"·",minus:"−",Mu:"Μ",mu:"μ",nabla:"∇",nbsp:" ",ndash:"–",ne:"≠",ni:"∋",not:"¬",notin:"∉",nsub:"⊄",Ntilde:"Ñ",ntilde:"ñ",Nu:"Ν",nu:"ν",Oacute:"Ó",oacute:"ó",Ocirc:"Ô",ocirc:"ô",OElig:"Œ",oelig:"œ",Ograve:"Ò",ograve:"ò",oline:"‾",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",oplus:"⊕",or:"∨",ordf:"ª",ordm:"º",Oslash:"Ø",oslash:"ø",Otilde:"Õ",otilde:"õ",otimes:"⊗",Ouml:"Ö",ouml:"ö",para:"¶",permil:"‰",perp:"⊥",Phi:"Φ",phi:"φ",Pi:"Π",pi:"π",piv:"ϖ",plusmn:"±",pound:"£",prime:"′",Prime:"″",prod:"∏",prop:"∝",Psi:"Ψ",psi:"ψ",quot:'"',radic:"√",rang:"⟩",raquo:"»",rarr:"→",rArr:"⇒",rceil:"⌉",rdquo:"”",real:"ℜ",reg:"®",rfloor:"⌋",Rho:"Ρ",rho:"ρ",rlm:"‏",rsaquo:"›",rsquo:"’",sbquo:"‚",Scaron:"Š",scaron:"š",sdot:"⋅",sect:"§",shy:"­",Sigma:"Σ",sigma:"σ",sigmaf:"ς",sim:"∼",spades:"♠",sub:"⊂",sube:"⊆",sum:"∑",sup:"⊃",sup1:"¹",sup2:"²",sup3:"³",supe:"⊇",szlig:"ß",Tau:"Τ",tau:"τ",there4:"∴",Theta:"Θ",theta:"θ",thetasym:"ϑ",thinsp:" ",THORN:"Þ",thorn:"þ",tilde:"˜",times:"×",trade:"™",Uacute:"Ú",uacute:"ú",uarr:"↑",uArr:"⇑",Ucirc:"Û",ucirc:"û",Ugrave:"Ù",ugrave:"ù",uml:"¨",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",Uuml:"Ü",uuml:"ü",weierp:"℘",Xi:"Ξ",xi:"ξ",Yacute:"Ý",yacute:"ý",yen:"¥",yuml:"ÿ",Yuml:"Ÿ",Zeta:"Ζ",zeta:"ζ",zwj:"‍",zwnj:"‌"},ps="";ls.ngsp=ps;var hs="select",fs="link",ds="rel",vs="href",ys="stylesheet",ms="style",gs="script",_s="ngNonBindable",bs="ngProjectAs",ws={NG_CONTENT:0,STYLE:1,STYLESHEET:2,SCRIPT:3,OTHER:4};ws[ws.NG_CONTENT]="NG_CONTENT",ws[ws.STYLE]="STYLE",ws[ws.STYLESHEET]="STYLESHEET",ws[ws.SCRIPT]="SCRIPT",ws[ws.OTHER]="OTHER";var Es=function(){function t(t,e,n,r,i){this.type=t,this.selectAttr=e,this.hrefAttr=n,this.nonBindable=r,this.projectAs=i}return t}(),Cs=function(){function t(t,e,n,r){this._resourceLoader=t,this._urlResolver=e,this._htmlParser=n,this._config=r,this._resourceLoaderCache=new Map}return t.prototype.clearCache=function(){this._resourceLoaderCache.clear()},t.prototype.clearCacheFor=function(t){var e=this;if(t.isComponent){var n=t.template;this._resourceLoaderCache.delete(n.templateUrl),n.externalStylesheets.forEach(function(t){e._resourceLoaderCache.delete(t.moduleUrl)})}},t.prototype._fetch=function(t){var e=this._resourceLoaderCache.get(t);return e||(e=this._resourceLoader.get(t),this._resourceLoaderCache.set(t,e)),e},t.prototype.normalizeTemplate=function(t){var e=this;if(x(t.template)){if(x(t.templateUrl))throw T("'"+M(t.componentType)+"' component cannot define both template and templateUrl");if("string"!=typeof t.template)throw T("The template specified for component "+M(t.componentType)+" is not a string")}else{if(!x(t.templateUrl))throw T("No template specified for component "+M(t.componentType));if("string"!=typeof t.templateUrl)throw T("The templateUrl specified for component "+M(t.componentType)+" is not a string")}if(x(t.preserveWhitespaces)&&"boolean"!=typeof t.preserveWhitespaces)throw T("The preserveWhitespaces option for component "+M(t.componentType)+" must be a boolean");return yo.then(this._preParseTemplate(t),function(n){return e._normalizeTemplateMetadata(t,n)})},t.prototype._preParseTemplate=function(t){var e,n,r=this;return null!=t.template?(e=t.template,n=t.moduleUrl):(n=this._urlResolver.resolve(t.moduleUrl,t.templateUrl),e=this._fetch(n)),yo.then(e,function(e){return r._preparseLoadedTemplate(t,e,n)})},t.prototype._preparseLoadedTemplate=function(t,e,n){var r=!!t.template,i=rs.fromArray(t.interpolation),o=this._htmlParser.parse(e,Z({reference:t.ngModuleType},{type:{reference:t.componentType}},{isInline:r,templateUrl:n}),!0,i);if(o.errors.length>0){throw T("Template parse errors:\n"+o.errors.join("\n"))}var s=this._normalizeStylesheet(new zo({styles:t.styles,moduleUrl:t.moduleUrl})),a=new xs;X(a,o.rootNodes);var u=this._normalizeStylesheet(new zo({styles:a.styles,styleUrls:a.styleUrls,moduleUrl:n}));return{template:e,templateUrl:n,isInline:r,htmlAst:o,styles:s.styles.concat(u.styles),inlineStyleUrls:s.styleUrls.concat(u.styleUrls),styleUrls:this._normalizeStylesheet(new zo({styleUrls:t.styleUrls,moduleUrl:t.moduleUrl})).styleUrls,ngContentSelectors:a.ngContentSelectors}},t.prototype._normalizeTemplateMetadata=function(t,e){var n=this;return yo.then(this._loadMissingExternalStylesheets(e.styleUrls.concat(e.inlineStyleUrls)),function(r){return n._normalizeLoadedTemplateMetadata(t,e,r)})},t.prototype._normalizeLoadedTemplateMetadata=function(t,e,n){var r=this,i=e.styles.slice();this._inlineStyles(e.inlineStyleUrls,n,i);var o=e.styleUrls,s=o.map(function(t){var e=n.get(t),i=e.styles.slice();return r._inlineStyles(e.styleUrls,n,i),new zo({moduleUrl:t,styles:i})}),a=t.encapsulation;return null==a&&(a=this._config.defaultEncapsulation),a===Bi.Emulated&&0===i.length&&0===o.length&&(a=Bi.None),new qo({encapsulation:a,template:e.template,templateUrl:e.templateUrl,htmlAst:e.htmlAst,styles:i,styleUrls:o,ngContentSelectors:e.ngContentSelectors,animations:t.animations,interpolation:t.interpolation,isInline:e.isInline,externalStylesheets:s,preserveWhitespaces:D(t.preserveWhitespaces,this._config.preserveWhitespaces)})},t.prototype._inlineStyles=function(t,e,n){var r=this;t.forEach(function(t){var i=e.get(t);i.styles.forEach(function(t){return n.push(t)}),r._inlineStyles(i.styleUrls,e,n)})},t.prototype._loadMissingExternalStylesheets=function(t,e){var n=this;return void 0===e&&(e=new Map),yo.then(yo.all(t.filter(function(t){return!e.has(t)}).map(function(t){return yo.then(n._fetch(t),function(r){var i=n._normalizeStylesheet(new zo({styles:[r],moduleUrl:t}));return e.set(t,i),n._loadMissingExternalStylesheets(i.styleUrls,e)})})),function(t){return e})},t.prototype._normalizeStylesheet=function(t){var e=this,n=t.moduleUrl,r=t.styleUrls.filter(tt).map(function(t){return e._urlResolver.resolve(n,t)}),i=t.styles.map(function(t){var i=et(e._urlResolver,n,t);return r.push.apply(r,i.styleUrls),i.style});return new zo({styles:i,styleUrls:r,moduleUrl:n})},t}(),xs=function(){function t(){this.ngContentSelectors=[],this.styles=[],this.styleUrls=[],this.ngNonBindableStackCount=0}return t.prototype.visitElement=function(t,e){var n=ut(t);switch(n.type){case ws.NG_CONTENT:0===this.ngNonBindableStackCount&&this.ngContentSelectors.push(n.selectAttr);break;case ws.STYLE:var r="";t.children.forEach(function(t){t instanceof $o&&(r+=t.value)}),this.styles.push(r);break;case ws.STYLESHEET:this.styleUrls.push(n.hrefAttr)}return n.nonBindable&&this.ngNonBindableStackCount++,X(this,t.children),n.nonBindable&&this.ngNonBindableStackCount--,null},t.prototype.visitExpansion=function(t,e){X(this,t.cases)},t.prototype.visitExpansionCase=function(t,e){X(this,t.expression)},t.prototype.visitComment=function(t,e){return null},t.prototype.visitAttribute=function(t,e){return null},t.prototype.visitText=function(t,e){return null},t}(),Ss=[Vi,Li,Fi,ji],Ts=function(){function t(t){this._reflector=t}return t.prototype.isDirective=function(t){var e=this._reflector.annotations(A(t));return e&&e.some(lt)},t.prototype.resolve=function(t,e){void 0===e&&(e=!0);var n=this._reflector.annotations(A(t));if(n){var r=pt(n,lt);if(r){var i=this._reflector.propMetadata(t);return this._mergeWithPropertyMetadata(r,i,t)}}if(e)throw new Error("No Directive annotation found on "+M(t));return null},t.prototype._mergeWithPropertyMetadata=function(t,e,n){var r=[],i=[],o={},s={};return Object.keys(e).forEach(function(t){var n=pt(e[t],function(t){return Wi.isTypeOf(t)});n&&(n.bindingPropertyName?r.push(t+": "+n.bindingPropertyName):r.push(t));var a=pt(e[t],function(t){return Gi.isTypeOf(t)});a&&(a.bindingPropertyName?i.push(t+": "+a.bindingPropertyName):i.push(t)),e[t].filter(function(t){return Zi.isTypeOf(t)}).forEach(function(e){if(e.hostPropertyName){var n=e.hostPropertyName[0];if("("===n)throw new Error("@HostBinding can not bind to events. Use @HostListener instead.");if("["===n)throw new Error("@HostBinding parameter should be a property name, 'class.', or 'attr.'.");o["["+e.hostPropertyName+"]"]=t}else o["["+t+"]"]=t}),e[t].filter(function(t){return Ki.isTypeOf(t)}).forEach(function(e){var n=e.args||[];o["("+e.eventName+")"]=t+"("+n.join(",")+")"});var u=pt(e[t],function(t){return Ss.some(function(e){return e.isTypeOf(t)})});u&&(s[t]=u)}),this._merge(t,r,i,o,s,n)},t.prototype._extractPublicName=function(t){return b(t,[null,t])[1].trim()},t.prototype._dedupeBindings=function(t){for(var e=new Set,n=[],r=t.length-1;r>=0;r--){var i=t[r],o=this._extractPublicName(i);e.has(o)||(e.add(o),n.push(i))}return n.reverse()},t.prototype._merge=function(t,e,n,r,i,o){var s=this._dedupeBindings(t.inputs?t.inputs.concat(e):e),a=this._dedupeBindings(t.outputs?t.outputs.concat(n):n),u=t.host?Object(Ni.a)({},t.host,r):r,c=t.queries?Object(Ni.a)({},t.queries,i):i;if(zi.isTypeOf(t)){var l=t;return zi({selector:l.selector,inputs:s,outputs:a,host:u,exportAs:l.exportAs,moduleId:l.moduleId,queries:c,changeDetection:l.changeDetection,providers:l.providers,viewProviders:l.viewProviders,entryComponents:l.entryComponents,template:l.template,templateUrl:l.templateUrl,styles:l.styles,styleUrls:l.styleUrls,encapsulation:l.encapsulation,animations:l.animations,interpolation:l.interpolation,preserveWhitespaces:t.preserveWhitespaces})}return Hi({selector:t.selector,inputs:s,outputs:a,host:u,exportAs:t.exportAs,queries:c,providers:t.providers})},t}(),Ps=0,Os=9,ks=10,Ms=11,As=12,Ns=13,Is=32,Ds=34,Rs=36,js=39,Fs=43,Ls=45,Vs=47,Hs=59,Bs=61,Us=62,zs=48,qs=57,Ws=65,Gs=69,Zs=70,Ks=90,Qs=95,$s=97,Xs=101,Js=102,Ys=110,ta=114,ea=116,na=118,ra=122,ia=123,oa=160,sa=96,aa={Character:0,Identifier:1,Keyword:2,String:3,Operator:4,Number:5,Error:6};aa[aa.Character]="Character",aa[aa.Identifier]="Identifier",aa[aa.Keyword]="Keyword",aa[aa.String]="String",aa[aa.Operator]="Operator",aa[aa.Number]="Number",aa[aa.Error]="Error";var ua=["var","let","as","null","undefined","true","false","if","else","this"],ca=function(){function t(){}return t.prototype.tokenize=function(t){for(var e=new ha(t),n=[],r=e.scanToken();null!=r;)n.push(r),r=e.scanToken();return n},t}(),la=function(){function t(t,e,n,r){this.index=t,this.type=e,this.numValue=n,this.strValue=r}return t.prototype.isCharacter=function(t){return this.type==aa.Character&&this.numValue==t},t.prototype.isNumber=function(){return this.type==aa.Number},t.prototype.isString=function(){return this.type==aa.String},t.prototype.isOperator=function(t){return this.type==aa.Operator&&this.strValue==t},t.prototype.isIdentifier=function(){return this.type==aa.Identifier},t.prototype.isKeyword=function(){return this.type==aa.Keyword},t.prototype.isKeywordLet=function(){return this.type==aa.Keyword&&"let"==this.strValue},t.prototype.isKeywordAs=function(){return this.type==aa.Keyword&&"as"==this.strValue},t.prototype.isKeywordNull=function(){return this.type==aa.Keyword&&"null"==this.strValue},t.prototype.isKeywordUndefined=function(){return this.type==aa.Keyword&&"undefined"==this.strValue},t.prototype.isKeywordTrue=function(){return this.type==aa.Keyword&&"true"==this.strValue},t.prototype.isKeywordFalse=function(){return this.type==aa.Keyword&&"false"==this.strValue},t.prototype.isKeywordThis=function(){return this.type==aa.Keyword&&"this"==this.strValue},t.prototype.isError=function(){return this.type==aa.Error},t.prototype.toNumber=function(){return this.type==aa.Number?this.numValue:-1},t.prototype.toString=function(){switch(this.type){case aa.Character:case aa.Identifier:case aa.Keyword:case aa.Operator:case aa.String:case aa.Error:return this.strValue;case aa.Number:return this.numValue.toString();default:return null}},t}(),pa=new la(-1,aa.Character,0,""),ha=function(){function t(t){this.input=t,this.peek=0,this.index=-1,this.length=t.length,this.advance()}return t.prototype.advance=function(){this.peek=++this.index>=this.length?Ps:this.input.charCodeAt(this.index)},t.prototype.scanToken=function(){for(var t=this.input,e=this.length,n=this.peek,r=this.index;n<=Is;){if(++r>=e){n=Ps;break}n=t.charCodeAt(r)}if(this.peek=n,this.index=r,r>=e)return null;if(Ct(n))return this.scanIdentifier();if(ft(n))return this.scanNumber(r);var i=r;switch(n){case 46:return this.advance(),ft(this.peek)?this.scanNumber(i):yt(i,46);case 40:case 41:case ia:case 125:case 91:case 93:case 44:case 58:case Hs:return this.scanCharacter(i,n);case js:case Ds:return this.scanString();case 35:case Fs:case Ls:case 42:case Vs:case 37:case 94:return this.scanOperator(i,String.fromCharCode(n));case 63:return this.scanComplexOperator(i,"?",46,".");case 60:case Us:return this.scanComplexOperator(i,String.fromCharCode(n),Bs,"=");case 33:case Bs:return this.scanComplexOperator(i,String.fromCharCode(n),Bs,"=",Bs,"=");case 38:return this.scanComplexOperator(i,"&",38,"&");case 124:return this.scanComplexOperator(i,"|",124,"|");case oa:for(;ht(this.peek);)this.advance();return this.scanToken()}return this.advance(),this.error("Unexpected character ["+String.fromCharCode(n)+"]",0)},t.prototype.scanCharacter=function(t,e){return this.advance(),yt(t,e)},t.prototype.scanOperator=function(t,e){return this.advance(),_t(t,e)},t.prototype.scanComplexOperator=function(t,e,n,r,i,o){this.advance();var s=e;return this.peek==n&&(this.advance(),s+=r),null!=i&&this.peek==i&&(this.advance(),s+=o),_t(t,s)},t.prototype.scanIdentifier=function(){var t=this.index;for(this.advance();St(this.peek);)this.advance();var e=this.input.substring(t,this.index);return ua.indexOf(e)>-1?gt(t,e):mt(t,e)},t.prototype.scanNumber=function(t){var e=this.index===t;for(this.advance();;){if(ft(this.peek));else if(46==this.peek)e=!1;else{if(!Tt(this.peek))break;if(this.advance(),Pt(this.peek)&&this.advance(),!ft(this.peek))return this.error("Invalid exponent",-1);e=!1}this.advance()}var n=this.input.substring(t,this.index);return wt(t,e?Mt(n):parseFloat(n))},t.prototype.scanString=function(){var t=this.index,e=this.peek;this.advance();for(var n="",r=this.index,i=this.input;this.peek!=e;)if(92==this.peek){n+=i.substring(r,this.index),this.advance();var o=void 0;if(this.peek=this.peek,117==this.peek){var s=i.substring(this.index+1,this.index+5);if(!/^[0-9a-f]+$/i.test(s))return this.error("Invalid unicode escape [\\u"+s+"]",0);o=parseInt(s,16);for(var a=0;a<5;a++)this.advance()}else o=kt(this.peek),this.advance();n+=String.fromCharCode(o),r=this.index}else{if(this.peek==Ps)return this.error("Unterminated quote",0);this.advance()}var u=i.substring(r,this.index);return this.advance(),bt(t,n+u)},t.prototype.error=function(t,e){var n=this.index+e;return Et(n,"Lexer Error: "+t+" at column "+n+" in expression ["+this.input+"]")},t}(),fa=function(){function t(t,e,n,r){this.input=e,this.errLocation=n,this.ctxLocation=r,this.message="Parser Error: "+t+" "+n+" ["+e+"] in "+r}return t}(),da=function(){function t(t,e){this.start=t,this.end=e}return t}(),va=function(){function t(t){this.span=t}return t.prototype.visit=function(t,e){return void 0===e&&(e=null),null},t.prototype.toString=function(){return"AST"},t}(),ya=function(t){function e(e,n,r,i){var o=t.call(this,e)||this;return o.prefix=n,o.uninterpretedExpression=r,o.location=i,o}return Object(Ni.b)(e,t),e.prototype.visit=function(t,e){return void 0===e&&(e=null),t.visitQuote(this,e)},e.prototype.toString=function(){return"Quote"},e}(va),ma=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(Ni.b)(e,t),e.prototype.visit=function(t,e){void 0===e&&(e=null)},e}(va),ga=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(Ni.b)(e,t),e.prototype.visit=function(t,e){return void 0===e&&(e=null),t.visitImplicitReceiver(this,e)},e}(va),_a=function(t){function e(e,n){var r=t.call(this,e)||this;return r.expressions=n,r}return Object(Ni.b)(e,t),e.prototype.visit=function(t,e){return void 0===e&&(e=null),t.visitChain(this,e)},e}(va),ba=function(t){function e(e,n,r,i){var o=t.call(this,e)||this;return o.condition=n,o.trueExp=r,o.falseExp=i,o}return Object(Ni.b)(e,t),e.prototype.visit=function(t,e){return void 0===e&&(e=null),t.visitConditional(this,e)},e}(va),wa=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.receiver=n,i.name=r,i}return Object(Ni.b)(e,t),e.prototype.visit=function(t,e){return void 0===e&&(e=null),t.visitPropertyRead(this,e)},e}(va),Ea=function(t){function e(e,n,r,i){var o=t.call(this,e)||this;return o.receiver=n,o.name=r,o.value=i,o}return Object(Ni.b)(e,t),e.prototype.visit=function(t,e){return void 0===e&&(e=null),t.visitPropertyWrite(this,e)},e}(va),Ca=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.receiver=n,i.name=r,i}return Object(Ni.b)(e,t),e.prototype.visit=function(t,e){return void 0===e&&(e=null),t.visitSafePropertyRead(this,e)},e}(va),xa=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.obj=n,i.key=r,i}return Object(Ni.b)(e,t),e.prototype.visit=function(t,e){return void 0===e&&(e=null),t.visitKeyedRead(this,e)},e}(va),Sa=function(t){function e(e,n,r,i){var o=t.call(this,e)||this;return o.obj=n,o.key=r,o.value=i,o}return Object(Ni.b)(e,t),e.prototype.visit=function(t,e){return void 0===e&&(e=null),t.visitKeyedWrite(this,e)},e}(va),Ta=function(t){function e(e,n,r,i){var o=t.call(this,e)||this;return o.exp=n,o.name=r,o.args=i,o}return Object(Ni.b)(e,t),e.prototype.visit=function(t,e){return void 0===e&&(e=null),t.visitPipe(this,e)},e}(va),Pa=function(t){function e(e,n){var r=t.call(this,e)||this;return r.value=n,r}return Object(Ni.b)(e,t),e.prototype.visit=function(t,e){return void 0===e&&(e=null),t.visitLiteralPrimitive(this,e)},e}(va),Oa=function(t){function e(e,n){var r=t.call(this,e)||this;return r.expressions=n,r}return Object(Ni.b)(e,t),e.prototype.visit=function(t,e){return void 0===e&&(e=null),t.visitLiteralArray(this,e)},e}(va),ka=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.keys=n,i.values=r,i}return Object(Ni.b)(e,t),e.prototype.visit=function(t,e){return void 0===e&&(e=null),t.visitLiteralMap(this,e)},e}(va),Ma=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.strings=n,i.expressions=r,i}return Object(Ni.b)(e,t),e.prototype.visit=function(t,e){return void 0===e&&(e=null),t.visitInterpolation(this,e)},e}(va),Aa=function(t){function e(e,n,r,i){var o=t.call(this,e)||this;return o.operation=n,o.left=r,o.right=i,o}return Object(Ni.b)(e,t),e.prototype.visit=function(t,e){return void 0===e&&(e=null),t.visitBinary(this,e)},e}(va),Na=function(t){function e(e,n){var r=t.call(this,e)||this;return r.expression=n,r}return Object(Ni.b)(e,t),e.prototype.visit=function(t,e){return void 0===e&&(e=null),t.visitPrefixNot(this,e)},e}(va),Ia=function(t){function e(e,n){var r=t.call(this,e)||this;return r.expression=n,r}return Object(Ni.b)(e,t),e.prototype.visit=function(t,e){return void 0===e&&(e=null),t.visitNonNullAssert(this,e)},e}(va),Da=function(t){function e(e,n,r,i){var o=t.call(this,e)||this;return o.receiver=n,o.name=r,o.args=i,o}return Object(Ni.b)(e,t),e.prototype.visit=function(t,e){return void 0===e&&(e=null),t.visitMethodCall(this,e)},e}(va),Ra=function(t){function e(e,n,r,i){var o=t.call(this,e)||this;return o.receiver=n,o.name=r,o.args=i,o}return Object(Ni.b)(e,t),e.prototype.visit=function(t,e){return void 0===e&&(e=null),t.visitSafeMethodCall(this,e)},e}(va),ja=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.target=n,i.args=r,i}return Object(Ni.b)(e,t),e.prototype.visit=function(t,e){return void 0===e&&(e=null),t.visitFunctionCall(this,e)},e}(va),Fa=function(t){function e(e,n,r,i){var o=t.call(this,new da(0,null==n?0:n.length))||this;return o.ast=e,o.source=n,o.location=r,o.errors=i,o}return Object(Ni.b)(e,t),e.prototype.visit=function(t,e){return void 0===e&&(e=null),this.ast.visit(t,e)},e.prototype.toString=function(){return this.source+" in "+this.location},e}(va),La=function(){function t(t,e,n,r,i){this.span=t,this.key=e,this.keyIsVar=n,this.name=r,this.expression=i}return t}(),Va=(function(){function t(){}t.prototype.visitBinary=function(t,e){},t.prototype.visitChain=function(t,e){},t.prototype.visitConditional=function(t,e){},t.prototype.visitFunctionCall=function(t,e){},t.prototype.visitImplicitReceiver=function(t,e){},t.prototype.visitInterpolation=function(t,e){},t.prototype.visitKeyedRead=function(t,e){},t.prototype.visitKeyedWrite=function(t,e){},t.prototype.visitLiteralArray=function(t,e){},t.prototype.visitLiteralMap=function(t,e){},t.prototype.visitLiteralPrimitive=function(t,e){},t.prototype.visitMethodCall=function(t,e){},t.prototype.visitPipe=function(t,e){},t.prototype.visitPrefixNot=function(t,e){},t.prototype.visitNonNullAssert=function(t,e){},t.prototype.visitPropertyRead=function(t,e){},t.prototype.visitPropertyWrite=function(t,e){},t.prototype.visitQuote=function(t,e){},t.prototype.visitSafeMethodCall=function(t,e){},t.prototype.visitSafePropertyRead=function(t,e){}}(),function(){function t(){}return t.prototype.visitBinary=function(t,e){return t.left.visit(this),t.right.visit(this),null},t.prototype.visitChain=function(t,e){return this.visitAll(t.expressions,e)},t.prototype.visitConditional=function(t,e){return t.condition.visit(this),t.trueExp.visit(this),t.falseExp.visit(this),null},t.prototype.visitPipe=function(t,e){return t.exp.visit(this),this.visitAll(t.args,e),null},t.prototype.visitFunctionCall=function(t,e){return t.target.visit(this),this.visitAll(t.args,e),null},t.prototype.visitImplicitReceiver=function(t,e){return null},t.prototype.visitInterpolation=function(t,e){return this.visitAll(t.expressions,e)},t.prototype.visitKeyedRead=function(t,e){return t.obj.visit(this),t.key.visit(this),null},t.prototype.visitKeyedWrite=function(t,e){return t.obj.visit(this),t.key.visit(this),t.value.visit(this),null},t.prototype.visitLiteralArray=function(t,e){return this.visitAll(t.expressions,e)},t.prototype.visitLiteralMap=function(t,e){return this.visitAll(t.values,e)},t.prototype.visitLiteralPrimitive=function(t,e){return null},t.prototype.visitMethodCall=function(t,e){return t.receiver.visit(this),this.visitAll(t.args,e)},t.prototype.visitPrefixNot=function(t,e){return t.expression.visit(this),null},t.prototype.visitNonNullAssert=function(t,e){return t.expression.visit(this),null},t.prototype.visitPropertyRead=function(t,e){return t.receiver.visit(this),null},t.prototype.visitPropertyWrite=function(t,e){return t.receiver.visit(this),t.value.visit(this),null},t.prototype.visitSafePropertyRead=function(t,e){return t.receiver.visit(this),null},t.prototype.visitSafeMethodCall=function(t,e){return t.receiver.visit(this),this.visitAll(t.args,e)},t.prototype.visitAll=function(t,e){var n=this;return t.forEach(function(t){return t.visit(n,e)}),null},t.prototype.visitQuote=function(t,e){return null},t}()),Ha=function(){function t(){}return t.prototype.visitImplicitReceiver=function(t,e){return t},t.prototype.visitInterpolation=function(t,e){return new Ma(t.span,t.strings,this.visitAll(t.expressions))},t.prototype.visitLiteralPrimitive=function(t,e){return new Pa(t.span,t.value)},t.prototype.visitPropertyRead=function(t,e){return new wa(t.span,t.receiver.visit(this),t.name)},t.prototype.visitPropertyWrite=function(t,e){return new Ea(t.span,t.receiver.visit(this),t.name,t.value.visit(this))},t.prototype.visitSafePropertyRead=function(t,e){return new Ca(t.span,t.receiver.visit(this),t.name)},t.prototype.visitMethodCall=function(t,e){return new Da(t.span,t.receiver.visit(this),t.name,this.visitAll(t.args))},t.prototype.visitSafeMethodCall=function(t,e){return new Ra(t.span,t.receiver.visit(this),t.name,this.visitAll(t.args))},t.prototype.visitFunctionCall=function(t,e){return new ja(t.span,t.target.visit(this),this.visitAll(t.args))},t.prototype.visitLiteralArray=function(t,e){return new Oa(t.span,this.visitAll(t.expressions))},t.prototype.visitLiteralMap=function(t,e){return new ka(t.span,t.keys,this.visitAll(t.values))},t.prototype.visitBinary=function(t,e){return new Aa(t.span,t.operation,t.left.visit(this),t.right.visit(this))},t.prototype.visitPrefixNot=function(t,e){return new Na(t.span,t.expression.visit(this))},t.prototype.visitNonNullAssert=function(t,e){return new Ia(t.span,t.expression.visit(this))},t.prototype.visitConditional=function(t,e){return new ba(t.span,t.condition.visit(this),t.trueExp.visit(this),t.falseExp.visit(this))},t.prototype.visitPipe=function(t,e){return new Ta(t.span,t.exp.visit(this),t.name,this.visitAll(t.args))},t.prototype.visitKeyedRead=function(t,e){return new xa(t.span,t.obj.visit(this),t.key.visit(this))},t.prototype.visitKeyedWrite=function(t,e){return new Sa(t.span,t.obj.visit(this),t.key.visit(this),t.value.visit(this))},t.prototype.visitAll=function(t){for(var e=new Array(t.length),n=0;n0&&this._reportError("Host binding expression cannot contain "+i.join(" "),t,e),new Fa(r,t,e,this.errors)},t.prototype._reportError=function(t,e,n,r){this.errors.push(new fa(t,e,n,r))},t.prototype._parseBindingAst=function(t,e,n){var r=this._parseQuote(t,e);if(null!=r)return r;this._checkNoInterpolation(t,e,n);var i=this._stripComments(t),o=this._lexer.tokenize(i);return new qa(t,e,o,i.length,!1,this.errors,t.length-i.length).parseChain()},t.prototype._parseQuote=function(t,e){if(null==t)return null;var n=t.indexOf(":");if(-1==n)return null;var r=t.substring(0,n).trim();if(!xt(r))return null;var i=t.substring(n+1);return new ya(new da(0,t.length),r,i,e)},t.prototype.parseTemplateBindings=function(t,e,n){var r=this._lexer.tokenize(e);if(t){var i=this._lexer.tokenize(t).map(function(t){return t.index=0,t});r.unshift.apply(r,i)}return new qa(e,n,r,e.length,!1,this.errors,0).parseTemplateBindings()},t.prototype.parseInterpolation=function(t,e,n){void 0===n&&(n=is);var r=this.splitInterpolation(t,e,n);if(null==r)return null;for(var i=[],o=0;o0?(u+=n.start.length,s.push(l),a.push(u),u+=l.length+n.end.length):(this._reportError("Blank expressions are not allowed in interpolated strings",t,"at column "+this._findInterpolationErrorColumn(i,c,n)+" in",e),s.push("$implict"),a.push(u))}return new Ba(o,s,a)},t.prototype.wrapLiteralPrimitive=function(t,e){return new Fa(new Pa(new da(0,null==t?0:t.length),t),t,e,this.errors)},t.prototype._stripComments=function(t){var e=this._commentStart(t);return null!=e?t.substring(0,e).trim():t},t.prototype._commentStart=function(t){for(var e=null,n=0;n1&&this._reportError("Got interpolation ("+n.start+n.end+") where expression was expected",t,"at column "+this._findInterpolationErrorColumn(i,1,n)+" in",e)},t.prototype._findInterpolationErrorColumn=function(t,e,n){for(var r="",i=0;i":case"<=":case">=":this.advance();var n=this.parseAdditive();t=new Aa(this.span(t.span.start),e,t,n);continue}break}return t},t.prototype.parseAdditive=function(){for(var t=this.parseMultiplicative();this.next.type==aa.Operator;){var e=this.next.strValue;switch(e){case"+":case"-":this.advance();var n=this.parseMultiplicative();t=new Aa(this.span(t.span.start),e,t,n);continue}break}return t},t.prototype.parseMultiplicative=function(){for(var t=this.parsePrefix();this.next.type==aa.Operator;){var e=this.next.strValue;switch(e){case"*":case"%":case"/":this.advance();var n=this.parsePrefix();t=new Aa(this.span(t.span.start),e,t,n);continue}break}return t},t.prototype.parsePrefix=function(){if(this.next.type==aa.Operator){var t=this.inputIndex,e=this.next.strValue,n=void 0;switch(e){case"+":return this.advance(),this.parsePrefix();case"-":return this.advance(),n=this.parsePrefix(),new Aa(this.span(t),e,new Pa(new da(t,t),0),n);case"!":return this.advance(),n=this.parsePrefix(),new Na(this.span(t),n)}}return this.parseCallChain()},t.prototype.parseCallChain=function(){for(var t=this.parsePrimary();;)if(this.optionalCharacter(46))t=this.parseAccessMemberOrMethodCall(t,!1);else if(this.optionalOperator("?."))t=this.parseAccessMemberOrMethodCall(t,!0);else if(this.optionalCharacter(91)){this.rbracketsExpected++;var e=this.parsePipe();if(this.rbracketsExpected--,this.expectCharacter(93),this.optionalOperator("=")){var n=this.parseConditional();t=new Sa(this.span(t.span.start),t,e,n)}else t=new xa(this.span(t.span.start),t,e)}else if(this.optionalCharacter(40)){this.rparensExpected++;var r=this.parseCallArguments();this.rparensExpected--,this.expectCharacter(41),t=new ja(this.span(t.span.start),t,r)}else{if(!this.optionalOperator("!"))return t;t=new Ia(this.span(t.span.start),t)}},t.prototype.parsePrimary=function(){var t=this.inputIndex;if(this.optionalCharacter(40)){this.rparensExpected++;var e=this.parsePipe();return this.rparensExpected--,this.expectCharacter(41),e}if(this.next.isKeywordNull())return this.advance(),new Pa(this.span(t),null);if(this.next.isKeywordUndefined())return this.advance(),new Pa(this.span(t),void 0);if(this.next.isKeywordTrue())return this.advance(),new Pa(this.span(t),!0);if(this.next.isKeywordFalse())return this.advance(),new Pa(this.span(t),!1);if(this.next.isKeywordThis())return this.advance(),new ga(this.span(t));if(this.optionalCharacter(91)){this.rbracketsExpected++;var n=this.parseExpressionList(93);return this.rbracketsExpected--,this.expectCharacter(93),new Oa(this.span(t),n)}if(this.next.isCharacter(ia))return this.parseLiteralMap();if(this.next.isIdentifier())return this.parseAccessMemberOrMethodCall(new ga(this.span(t)),!1);if(this.next.isNumber()){var r=this.next.toNumber();return this.advance(),new Pa(this.span(t),r)}if(this.next.isString()){var i=this.next.toString();return this.advance(),new Pa(this.span(t),i)}return this.index>=this.tokens.length?(this.error("Unexpected end of expression: "+this.input),new ma(this.span(t))):(this.error("Unexpected token "+this.next),new ma(this.span(t)))},t.prototype.parseExpressionList=function(t){var e=[];if(!this.next.isCharacter(t))do{e.push(this.parsePipe())}while(this.optionalCharacter(44));return e},t.prototype.parseLiteralMap=function(){var t=[],e=[],n=this.inputIndex;if(this.expectCharacter(ia),!this.optionalCharacter(125)){this.rbracesExpected++;do{var r=this.next.isString(),i=this.expectIdentifierOrKeywordOrString();t.push({key:i,quoted:r}),this.expectCharacter(58),e.push(this.parsePipe())}while(this.optionalCharacter(44));this.rbracesExpected--,this.expectCharacter(125)}return new ka(this.span(n),t,e)},t.prototype.parseAccessMemberOrMethodCall=function(t,e){void 0===e&&(e=!1);var n=t.span.start,r=this.expectIdentifierOrKeyword();if(this.optionalCharacter(40)){this.rparensExpected++;var i=this.parseCallArguments();this.expectCharacter(41),this.rparensExpected--;var o=this.span(n);return e?new Ra(o,t,r,i):new Da(o,t,r,i)}if(e)return this.optionalOperator("=")?(this.error("The '?.' operator cannot be used in the assignment"),new ma(this.span(n))):new Ca(this.span(n),t,r);if(this.optionalOperator("=")){if(!this.parseAction)return this.error("Bindings cannot contain assignments"),new ma(this.span(n));var s=this.parseConditional();return new Ea(this.span(n),t,r,s)}return new wa(this.span(n),t,r)},t.prototype.parseCallArguments=function(){if(this.next.isCharacter(41))return[];var t=[];do{t.push(this.parsePipe())}while(this.optionalCharacter(44));return t},t.prototype.expectTemplateBindingKey=function(){var t="",e=!1;do{t+=this.expectIdentifierOrKeywordOrString(),(e=this.optionalOperator("-"))&&(t+="-")}while(e);return t.toString()},t.prototype.parseTemplateBindings=function(){for(var t=[],e=null,n=[];this.index0&&e<0;){i--,e++;var a=n.charCodeAt(i);if(a==ks){o--;var u=n.substr(0,i-1).lastIndexOf(String.fromCharCode(ks));s=u>0?i-u:i}else s--}for(;i0;){var a=n.charCodeAt(i);i++,e--,a==ks?(o++,s=0):s++}return new t(this.file,i,o,s)},t.prototype.getContext=function(t,e){var n=this.file.content,r=this.offset;if(null!=r){r>n.length-1&&(r=n.length-1);for(var i=r,o=0,s=0;o0&&(r--,o++,"\n"!=n[r]||++s!=e););for(o=0,s=0;o]"+t.after+'")':this.msg},t.prototype.toString=function(){var t=this.span.details?", "+this.span.details:"";return this.contextualMessage()+": "+this.span.start+t},t}(),Xa={TAG_OPEN_START:0,TAG_OPEN_END:1,TAG_OPEN_END_VOID:2,TAG_CLOSE:3,TEXT:4,ESCAPABLE_RAW_TEXT:5,RAW_TEXT:6,COMMENT_START:7,COMMENT_END:8,CDATA_START:9,CDATA_END:10,ATTR_NAME:11,ATTR_VALUE:12,DOC_TYPE:13,EXPANSION_FORM_START:14,EXPANSION_CASE_VALUE:15,EXPANSION_CASE_EXP_START:16,EXPANSION_CASE_EXP_END:17,EXPANSION_FORM_END:18,EOF:19};Xa[Xa.TAG_OPEN_START]="TAG_OPEN_START",Xa[Xa.TAG_OPEN_END]="TAG_OPEN_END",Xa[Xa.TAG_OPEN_END_VOID]="TAG_OPEN_END_VOID",Xa[Xa.TAG_CLOSE]="TAG_CLOSE",Xa[Xa.TEXT]="TEXT",Xa[Xa.ESCAPABLE_RAW_TEXT]="ESCAPABLE_RAW_TEXT",Xa[Xa.RAW_TEXT]="RAW_TEXT",Xa[Xa.COMMENT_START]="COMMENT_START",Xa[Xa.COMMENT_END]="COMMENT_END",Xa[Xa.CDATA_START]="CDATA_START",Xa[Xa.CDATA_END]="CDATA_END",Xa[Xa.ATTR_NAME]="ATTR_NAME",Xa[Xa.ATTR_VALUE]="ATTR_VALUE",Xa[Xa.DOC_TYPE]="DOC_TYPE",Xa[Xa.EXPANSION_FORM_START]="EXPANSION_FORM_START",Xa[Xa.EXPANSION_CASE_VALUE]="EXPANSION_CASE_VALUE",Xa[Xa.EXPANSION_CASE_EXP_START]="EXPANSION_CASE_EXP_START",Xa[Xa.EXPANSION_CASE_EXP_END]="EXPANSION_CASE_EXP_END",Xa[Xa.EXPANSION_FORM_END]="EXPANSION_FORM_END",Xa[Xa.EOF]="EOF";var Ja=function(){function t(t,e,n){this.type=t,this.parts=e,this.sourceSpan=n}return t}(),Ya=function(t){function e(e,n,r){var i=t.call(this,r,e)||this;return i.tokenType=n,i}return Object(Ni.b)(e,t),e}($a),tu=function(){function t(t,e){this.tokens=t,this.errors=e}return t}(),eu=/\r\n?/g,nu=function(){function t(t){this.error=t}return t}(),ru=function(){function t(t,e,n,r){void 0===r&&(r=is),this._file=t,this._getTagDefinition=e,this._tokenizeIcu=n,this._interpolationConfig=r,this._peek=-1,this._nextPeek=-1,this._index=-1,this._line=0,this._column=-1,this._expansionCaseStack=[],this._inInterpolation=!1,this.tokens=[],this.errors=[],this._input=t.content,this._length=t.content.length,this._advance()}return t.prototype._processCarriageReturns=function(t){return t.replace(eu,"\n")},t.prototype.tokenize=function(){for(;this._peek!==Ps;){var t=this._getLocation();try{this._attemptCharCode(60)?this._attemptCharCode(33)?this._attemptCharCode(91)?this._consumeCdata(t):this._attemptCharCode(Ls)?this._consumeComment(t):this._consumeDocType(t):this._attemptCharCode(Vs)?this._consumeTagClose(t):this._consumeTagOpen(t):this._tokenizeIcu&&this._tokenizeExpansionForm()||this._consumeText()}catch(t){if(!(t instanceof nu))throw t;this.errors.push(t.error)}}return this._beginToken(Xa.EOF),this._endToken([]),new tu(Wt(this.tokens),this.errors)},t.prototype._tokenizeExpansionForm=function(){if(Bt(this._input,this._index,this._interpolationConfig))return this._consumeExpansionFormStart(),!0;if(Ut(this._peek)&&this._isInExpansionForm())return this._consumeExpansionCaseStart(),!0;if(125===this._peek){if(this._isInExpansionCase())return this._consumeExpansionCaseEnd(),!0;if(this._isInExpansionForm())return this._consumeExpansionFormEnd(),!0}return!1},t.prototype._getLocation=function(){return new Ga(this._file,this._index,this._line,this._column)},t.prototype._getSpan=function(t,e){return void 0===t&&(t=this._getLocation()),void 0===e&&(e=this._getLocation()),new Ka(t,e)},t.prototype._beginToken=function(t,e){void 0===e&&(e=this._getLocation()),this._currentTokenStart=e,this._currentTokenType=t},t.prototype._endToken=function(t,e){void 0===e&&(e=this._getLocation());var n=new Ja(this._currentTokenType,t,new Ka(this._currentTokenStart,e));return this.tokens.push(n),this._currentTokenStart=null,this._currentTokenType=null,n},t.prototype._createError=function(t,e){this._isInExpansionForm()&&(t+=' (Do you have an unescaped "{" in your template? Use "{{ \'{\' }}") to escape it.)');var n=new Ya(t,this._currentTokenType,e);return this._currentTokenStart=null,this._currentTokenType=null,new nu(n)},t.prototype._advance=function(){if(this._index>=this._length)throw this._createError(Dt(Ps),this._getSpan());this._peek===ks?(this._line++,this._column=0):this._peek!==ks&&this._peek!==Ns&&this._column++,this._index++,this._peek=this._index>=this._length?Ps:this._input.charCodeAt(this._index),this._nextPeek=this._index+1>=this._length?Ps:this._input.charCodeAt(this._index+1)},t.prototype._attemptCharCode=function(t){return this._peek===t&&(this._advance(),!0)},t.prototype._attemptCharCodeCaseInsensitive=function(t){return!!zt(this._peek,t)&&(this._advance(),!0)},t.prototype._requireCharCode=function(t){var e=this._getLocation();if(!this._attemptCharCode(t))throw this._createError(Dt(this._peek),this._getSpan(e,e))},t.prototype._attemptStr=function(t){var e=t.length;if(this._index+e>this._length)return!1;for(var n=this._savePosition(),r=0;rr.offset&&o.push(this._input.substring(r.offset,this._index));this._peek!==e;)o.push(this._readChar(t))}return this._endToken([this._processCarriageReturns(o.join(""))],r)},t.prototype._consumeComment=function(t){var e=this;this._beginToken(Xa.COMMENT_START,t),this._requireCharCode(Ls),this._endToken([]);var n=this._consumeRawText(!1,Ls,function(){return e._attemptStr("->")});this._beginToken(Xa.COMMENT_END,n.sourceSpan.end),this._endToken([])},t.prototype._consumeCdata=function(t){var e=this;this._beginToken(Xa.CDATA_START,t),this._requireStr("CDATA["),this._endToken([]);var n=this._consumeRawText(!1,93,function(){return e._attemptStr("]>")});this._beginToken(Xa.CDATA_END,n.sourceSpan.end),this._endToken([])},t.prototype._consumeDocType=function(t){this._beginToken(Xa.DOC_TYPE,t),this._attemptUntilChar(Us),this._advance(),this._endToken([this._input.substring(t.offset+2,this._index-1)])},t.prototype._consumePrefixAndName=function(){for(var t=this._index,e=null;58!==this._peek&&!Lt(this._peek);)this._advance();var n;return 58===this._peek?(this._advance(),e=this._input.substring(t,this._index-1),n=this._index):n=t,this._requireCharCodeUntilFn(Ft,this._index===n?1:0),[e,this._input.substring(n,this._index)]},t.prototype._consumeTagOpen=function(t){var e,n,r=this._savePosition();try{if(!dt(this._peek))throw this._createError(Dt(this._peek),this._getSpan());var i=this._index;for(this._consumeTagOpenStart(t),e=this._input.substring(i,this._index),n=e.toLowerCase(),this._attemptCharCodeUntilFn(jt);this._peek!==Vs&&this._peek!==Us;)this._consumeAttributeName(),this._attemptCharCodeUntilFn(jt),this._attemptCharCode(Bs)&&(this._attemptCharCodeUntilFn(jt),this._consumeAttributeValue()),this._attemptCharCodeUntilFn(jt);this._consumeTagOpenEnd()}catch(e){if(e instanceof nu)return this._restorePosition(r),this._beginToken(Xa.TEXT,t),void this._endToken(["<"]);throw e}var o=this._getTagDefinition(e).contentType;o===cs.RAW_TEXT?this._consumeRawTextWithTagClose(n,!1):o===cs.ESCAPABLE_RAW_TEXT&&this._consumeRawTextWithTagClose(n,!0)},t.prototype._consumeRawTextWithTagClose=function(t,e){var n=this,r=this._consumeRawText(e,60,function(){return!!n._attemptCharCode(Vs)&&(n._attemptCharCodeUntilFn(jt),!!n._attemptStrCaseInsensitive(t)&&(n._attemptCharCodeUntilFn(jt),n._attemptCharCode(Us)))});this._beginToken(Xa.TAG_CLOSE,r.sourceSpan.end),this._endToken([null,t])},t.prototype._consumeTagOpenStart=function(t){this._beginToken(Xa.TAG_OPEN_START,t);var e=this._consumePrefixAndName();this._endToken(e)},t.prototype._consumeAttributeName=function(){this._beginToken(Xa.ATTR_NAME);var t=this._consumePrefixAndName();this._endToken(t)},t.prototype._consumeAttributeValue=function(){this._beginToken(Xa.ATTR_VALUE);var t;if(this._peek===js||this._peek===Ds){var e=this._peek;this._advance();for(var n=[];this._peek!==e;)n.push(this._readChar(!0));t=n.join(""),this._advance()}else{var r=this._index;this._requireCharCodeUntilFn(Ft,1),t=this._input.substring(r,this._index)}this._endToken([this._processCarriageReturns(t)])},t.prototype._consumeTagOpenEnd=function(){var t=this._attemptCharCode(Vs)?Xa.TAG_OPEN_END_VOID:Xa.TAG_OPEN_END;this._beginToken(t),this._requireCharCode(Us),this._endToken([])},t.prototype._consumeTagClose=function(t){this._beginToken(Xa.TAG_CLOSE,t),this._attemptCharCodeUntilFn(jt);var e=this._consumePrefixAndName();this._attemptCharCodeUntilFn(jt),this._requireCharCode(Us),this._endToken(e)},t.prototype._consumeExpansionFormStart=function(){this._beginToken(Xa.EXPANSION_FORM_START,this._getLocation()),this._requireCharCode(ia),this._endToken([]),this._expansionCaseStack.push(Xa.EXPANSION_FORM_START),this._beginToken(Xa.RAW_TEXT,this._getLocation());var t=this._readUntil(44);this._endToken([t],this._getLocation()),this._requireCharCode(44),this._attemptCharCodeUntilFn(jt),this._beginToken(Xa.RAW_TEXT,this._getLocation());var e=this._readUntil(44);this._endToken([e],this._getLocation()),this._requireCharCode(44),this._attemptCharCodeUntilFn(jt)},t.prototype._consumeExpansionCaseStart=function(){this._beginToken(Xa.EXPANSION_CASE_VALUE,this._getLocation());var t=this._readUntil(ia).trim();this._endToken([t],this._getLocation()),this._attemptCharCodeUntilFn(jt),this._beginToken(Xa.EXPANSION_CASE_EXP_START,this._getLocation()),this._requireCharCode(ia),this._endToken([],this._getLocation()),this._attemptCharCodeUntilFn(jt),this._expansionCaseStack.push(Xa.EXPANSION_CASE_EXP_START)},t.prototype._consumeExpansionCaseEnd=function(){this._beginToken(Xa.EXPANSION_CASE_EXP_END,this._getLocation()),this._requireCharCode(125),this._endToken([],this._getLocation()),this._attemptCharCodeUntilFn(jt),this._expansionCaseStack.pop()},t.prototype._consumeExpansionFormEnd=function(){this._beginToken(Xa.EXPANSION_FORM_END,this._getLocation()),this._requireCharCode(125),this._endToken([]),this._expansionCaseStack.pop()},t.prototype._consumeText=function(){var t=this._getLocation();this._beginToken(Xa.TEXT,t);var e=[];do{this._interpolationConfig&&this._attemptStr(this._interpolationConfig.start)?(e.push(this._interpolationConfig.start),this._inInterpolation=!0):this._interpolationConfig&&this._inInterpolation&&this._attemptStr(this._interpolationConfig.end)?(e.push(this._interpolationConfig.end),this._inInterpolation=!1):e.push(this._readChar(!0))}while(!this._isTextEnd());this._endToken([this._processCarriageReturns(e.join(""))])},t.prototype._isTextEnd=function(){if(60===this._peek||this._peek===Ps)return!0;if(this._tokenizeIcu&&!this._inInterpolation){if(Bt(this._input,this._index,this._interpolationConfig))return!0;if(125===this._peek&&this._isInExpansionCase())return!0}return!1},t.prototype._savePosition=function(){return[this._peek,this._index,this._column,this._line,this.tokens.length]},t.prototype._readUntil=function(t){var e=this._index;return this._attemptUntilChar(t),this._input.substring(e,this._index)},t.prototype._restorePosition=function(t){this._peek=t[0],this._index=t[1],this._column=t[2],this._line=t[3];var e=t[4];e0&&this._expansionCaseStack[this._expansionCaseStack.length-1]===Xa.EXPANSION_CASE_EXP_START},t.prototype._isInExpansionForm=function(){return this._expansionCaseStack.length>0&&this._expansionCaseStack[this._expansionCaseStack.length-1]===Xa.EXPANSION_FORM_START},t}(),iu=function(t){function e(e,n,r){var i=t.call(this,n,r)||this;return i.elementName=e,i}return Object(Ni.b)(e,t),e.create=function(t,n,r){return new e(t,n,r)},e}($a),ou=function(){function t(t,e){this.rootNodes=t,this.errors=e}return t}(),su=function(){function t(t){this.getTagDefinition=t}return t.prototype.parse=function(t,e,n,r){void 0===n&&(n=!1),void 0===r&&(r=is);var i=It(t,e,this.getTagDefinition,n,r),o=new au(i.tokens,this.getTagDefinition).build();return new ou(o.rootNodes,i.errors.concat(o.errors))},t}(),au=function(){function t(t,e){this.tokens=t,this.getTagDefinition=e,this._index=-1,this._rootNodes=[],this._errors=[],this._elementStack=[],this._advance()}return t.prototype.build=function(){for(;this._peek.type!==Xa.EOF;)this._peek.type===Xa.TAG_OPEN_START?this._consumeStartTag(this._advance()):this._peek.type===Xa.TAG_CLOSE?this._consumeEndTag(this._advance()):this._peek.type===Xa.CDATA_START?(this._closeVoidElement(),this._consumeCdata(this._advance())):this._peek.type===Xa.COMMENT_START?(this._closeVoidElement(),this._consumeComment(this._advance())):this._peek.type===Xa.TEXT||this._peek.type===Xa.RAW_TEXT||this._peek.type===Xa.ESCAPABLE_RAW_TEXT?(this._closeVoidElement(),this._consumeText(this._advance())):this._peek.type===Xa.EXPANSION_FORM_START?this._consumeExpansion(this._advance()):this._advance();return new ou(this._rootNodes,this._errors)},t.prototype._advance=function(){var t=this._peek;return this._index0)return this._errors=this._errors.concat(o.errors),null;var s=new Ka(e.sourceSpan.start,i.sourceSpan.end),a=new Ka(n.sourceSpan.start,i.sourceSpan.end);return new Jo(e.parts[0],o.rootNodes,s,e.sourceSpan,a)},t.prototype._collectExpansionExpTokens=function(t){for(var e=[],n=[Xa.EXPANSION_CASE_EXP_START];;){if(this._peek.type!==Xa.EXPANSION_FORM_START&&this._peek.type!==Xa.EXPANSION_CASE_EXP_START||n.push(this._peek.type),this._peek.type===Xa.EXPANSION_CASE_EXP_END){if(!Gt(n,Xa.EXPANSION_CASE_EXP_START))return this._errors.push(iu.create(null,t.sourceSpan,"Invalid ICU message. Missing '}'.")),null;if(n.pop(),0==n.length)return e}if(this._peek.type===Xa.EXPANSION_FORM_END){if(!Gt(n,Xa.EXPANSION_FORM_START))return this._errors.push(iu.create(null,t.sourceSpan,"Invalid ICU message. Missing '}'.")),null;n.pop()}if(this._peek.type===Xa.EOF)return this._errors.push(iu.create(null,t.sourceSpan,"Invalid ICU message. Missing '}'.")),null;e.push(this._advance())}},t.prototype._consumeText=function(t){var e=t.parts[0];if(e.length>0&&"\n"==e[0]){var n=this._getParentElement();null!=n&&0==n.children.length&&this.getTagDefinition(n.name).ignoreFirstLf&&(e=e.substring(1))}e.length>0&&this._addToParent(new $o(e,t.sourceSpan))},t.prototype._closeVoidElement=function(){var t=this._getParentElement();t&&this.getTagDefinition(t.name).isVoid&&this._elementStack.pop()},t.prototype._consumeStartTag=function(t){for(var e=t.parts[0],n=t.parts[1],r=[];this._peek.type===Xa.ATTR_NAME;)r.push(this._consumeAttr(this._advance()));var i=this._getElementFullName(e,n,this._getParentElement()),o=!1;if(this._peek.type===Xa.TAG_OPEN_END_VOID){this._advance(),o=!0;var s=this.getTagDefinition(i);s.canSelfClose||null!==st(i)||s.isVoid||this._errors.push(iu.create(i,t.sourceSpan,'Only void and foreign elements can be self closed "'+t.parts[1]+'"'))}else this._peek.type===Xa.TAG_OPEN_END&&(this._advance(),o=!1);var a=this._peek.sourceSpan.start,u=new Ka(t.sourceSpan.start,a),c=new ts(i,r,[],u,u,void 0);this._pushElement(c),o&&(this._popElement(i),c.endSourceSpan=u)},t.prototype._pushElement=function(t){var e=this._getParentElement();e&&this.getTagDefinition(e.name).isClosedByChild(t.name)&&this._elementStack.pop();var n=this.getTagDefinition(t.name),r=this._getParentElementSkippingContainers(),i=r.parent,o=r.container;if(i&&n.requireExtraParent(i.name)){var s=new ts(n.parentToAdd,[],[],t.sourceSpan,t.startSourceSpan,t.endSourceSpan);this._insertBeforeContainer(i,o,s)}this._addToParent(t),this._elementStack.push(t)},t.prototype._consumeEndTag=function(t){var e=this._getElementFullName(t.parts[0],t.parts[1],this._getParentElement());if(this._getParentElement()&&(this._getParentElement().endSourceSpan=t.sourceSpan),this.getTagDefinition(e).isVoid)this._errors.push(iu.create(e,t.sourceSpan,'Void elements do not have end tags "'+t.parts[1]+'"'));else if(!this._popElement(e)){var n='Unexpected closing tag "'+e+'". It may happen when the tag has already been closed by another tag. For more info see https://www.w3.org/TR/html5/syntax.html#closing-elements-that-have-implied-end-tags';this._errors.push(iu.create(e,t.sourceSpan,n))}},t.prototype._popElement=function(t){for(var e=this._elementStack.length-1;e>=0;e--){var n=this._elementStack[e];if(n.name==t)return this._elementStack.splice(e,this._elementStack.length-e),!0;if(!this.getTagDefinition(n.name).closedByParent)return!1}return!1},t.prototype._consumeAttr=function(t){var e=at(t.parts[0],t.parts[1]),n=t.sourceSpan.end,r="",i=void 0;if(this._peek.type===Xa.ATTR_VALUE){var o=this._advance();r=o.parts[0],n=o.sourceSpan.end,i=o.sourceSpan}return new Yo(e,r,new Ka(t.sourceSpan.start,n),i)},t.prototype._getParentElement=function(){return this._elementStack.length>0?this._elementStack[this._elementStack.length-1]:null},t.prototype._getParentElementSkippingContainers=function(){for(var t=null,e=this._elementStack.length-1;e>=0;e--){if(!rt(this._elementStack[e].name))return{parent:this._elementStack[e],container:t};t=this._elementStack[e]}return{parent:null,container:t}},t.prototype._addToParent=function(t){var e=this._getParentElement();null!=e?e.children.push(t):this._rootNodes.push(t)},t.prototype._insertBeforeContainer=function(t,e,n){if(e){if(t){var r=t.children.indexOf(e);t.children[r]=n}else this._rootNodes.push(n);n.children.push(e),this._elementStack.splice(this._elementStack.indexOf(e),0,n)}else this._addToParent(n),this._elementStack.push(n)},t.prototype._getElementFullName=function(t,e,n){return null==t&&null==(t=this.getTagDefinition(e).implicitNamespacePrefix)&&null!=n&&(t=st(n.name)),at(t,e)},t}(),uu=function(){function t(){}return t.prototype.visitText=function(t,e){return t.value},t.prototype.visitContainer=function(t,e){var n=this;return"["+t.children.map(function(t){return t.visit(n)}).join(", ")+"]"},t.prototype.visitIcu=function(t,e){var n=this,r=Object.keys(t.cases).map(function(e){return e+" {"+t.cases[e].visit(n)+"}"});return"{"+t.expression+", "+t.type+", "+r.join(", ")+"}"},t.prototype.visitTagPlaceholder=function(t,e){var n=this;return t.isVoid?'':''+t.children.map(function(t){return t.visit(n)}).join(", ")+''},t.prototype.visitPlaceholder=function(t,e){return t.value?''+t.value+"":''},t.prototype.visitIcuPlaceholder=function(t,e){return''+t.value.visit(this)+""},t}(),cu=new uu,lu=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(Ni.b)(e,t),e.prototype.visitIcu=function(t,e){var n=this,r=Object.keys(t.cases).map(function(e){return e+" {"+t.cases[e].visit(n)+"}"});return"{"+t.type+", "+r.join(", ")+"}"},e}(uu),pu={Little:0,Big:1};pu[pu.Little]="Little",pu[pu.Big]="Big";var hu=function(){function t(t,e,n,r,i,o){this.nodes=t,this.placeholders=e,this.placeholderToMessage=n,this.meaning=r,this.description=i,this.id=o,t.length?this.sources=[{filePath:t[0].sourceSpan.start.file.url,startLine:t[0].sourceSpan.start.line+1,startCol:t[0].sourceSpan.start.col+1,endLine:t[t.length-1].sourceSpan.end.line+1,endCol:t[0].sourceSpan.start.col+1}]:this.sources=[]}return t}(),fu=function(){function t(t,e){this.value=t,this.sourceSpan=e}return t.prototype.visit=function(t,e){return t.visitText(this,e)},t}(),du=function(){function t(t,e){this.children=t,this.sourceSpan=e}return t.prototype.visit=function(t,e){return t.visitContainer(this,e)},t}(),vu=function(){function t(t,e,n,r){this.expression=t,this.type=e,this.cases=n,this.sourceSpan=r}return t.prototype.visit=function(t,e){return t.visitIcu(this,e)},t}(),yu=function(){function t(t,e,n,r,i,o,s){this.tag=t,this.attrs=e,this.startName=n,this.closeName=r,this.children=i,this.isVoid=o,this.sourceSpan=s}return t.prototype.visit=function(t,e){return t.visitTagPlaceholder(this,e)},t}(),mu=function(){function t(t,e,n){this.value=t,this.name=e,this.sourceSpan=n}return t.prototype.visit=function(t,e){return t.visitPlaceholder(this,e)},t}(),gu=function(){function t(t,e,n){this.value=t,this.name=e,this.sourceSpan=n}return t.prototype.visit=function(t,e){return t.visitIcuPlaceholder(this,e)},t}(),_u=function(){function t(){}return t.prototype.visitText=function(t,e){return new fu(t.value,t.sourceSpan)},t.prototype.visitContainer=function(t,e){var n=this,r=t.children.map(function(t){return t.visit(n,e)});return new du(r,t.sourceSpan)},t.prototype.visitIcu=function(t,e){var n=this,r={};Object.keys(t.cases).forEach(function(i){return r[i]=t.cases[i].visit(n,e)});var i=new vu(t.expression,t.type,r,t.sourceSpan);return i.expressionPlaceholder=t.expressionPlaceholder,i},t.prototype.visitTagPlaceholder=function(t,e){var n=this,r=t.children.map(function(t){return t.visit(n,e)});return new yu(t.tag,t.attrs,t.startName,t.closeName,r,t.isVoid,t.sourceSpan)},t.prototype.visitPlaceholder=function(t,e){return new mu(t.value,t.name,t.sourceSpan)},t.prototype.visitIcuPlaceholder=function(t,e){return new gu(t.value,t.name,t.sourceSpan)},t}(),bu=function(){function t(){}return t.prototype.visitText=function(t,e){},t.prototype.visitContainer=function(t,e){var n=this;t.children.forEach(function(t){return t.visit(n)})},t.prototype.visitIcu=function(t,e){var n=this;Object.keys(t.cases).forEach(function(e){t.cases[e].visit(n)})},t.prototype.visitTagPlaceholder=function(t,e){var n=this;t.children.forEach(function(t){return t.visit(n)})},t.prototype.visitPlaceholder=function(t,e){},t.prototype.visitIcuPlaceholder=function(t,e){},t}(),wu=function(){function t(t){var e=void 0===t?{}:t,n=e.closedByChildren,r=e.requiredParents,i=e.implicitNamespacePrefix,o=e.contentType,s=void 0===o?cs.PARSABLE_DATA:o,a=e.closedByParent,u=void 0!==a&&a,c=e.isVoid,l=void 0!==c&&c,p=e.ignoreFirstLf,h=void 0!==p&&p,f=this;this.closedByChildren={},this.closedByParent=!1,this.canSelfClose=!1,n&&n.length>0&&n.forEach(function(t){return f.closedByChildren[t]=!0}),this.isVoid=l,this.closedByParent=u||l,r&&r.length>0&&(this.requiredParents={},this.parentToAdd=r[0],r.forEach(function(t){return f.requiredParents[t]=!0})),this.implicitNamespacePrefix=i||null,this.contentType=s,this.ignoreFirstLf=h}return t.prototype.requireExtraParent=function(t){if(!this.requiredParents)return!1;if(!t)return!0;var e=t.toLowerCase();return!("template"===e||"ng-template"===t)&&1!=this.requiredParents[e]},t.prototype.isClosedByChild=function(t){return this.isVoid||t.toLowerCase()in this.closedByChildren},t}(),Eu={base:new wu({isVoid:!0}),meta:new wu({isVoid:!0}),area:new wu({isVoid:!0}),embed:new wu({isVoid:!0}),link:new wu({isVoid:!0}),img:new wu({isVoid:!0}),input:new wu({isVoid:!0}),param:new wu({isVoid:!0}),hr:new wu({isVoid:!0}),br:new wu({isVoid:!0}),source:new wu({isVoid:!0}),track:new wu({isVoid:!0}),wbr:new wu({isVoid:!0}),p:new wu({closedByChildren:["address","article","aside","blockquote","div","dl","fieldset","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","main","nav","ol","p","pre","section","table","ul"],closedByParent:!0}),thead:new wu({closedByChildren:["tbody","tfoot"]}),tbody:new wu({closedByChildren:["tbody","tfoot"],closedByParent:!0}),tfoot:new wu({closedByChildren:["tbody"],closedByParent:!0}),tr:new wu({closedByChildren:["tr"],requiredParents:["tbody","tfoot","thead"],closedByParent:!0}),td:new wu({closedByChildren:["td","th"],closedByParent:!0}),th:new wu({closedByChildren:["td","th"],closedByParent:!0}),col:new wu({requiredParents:["colgroup"],isVoid:!0}),svg:new wu({implicitNamespacePrefix:"svg"}),math:new wu({implicitNamespacePrefix:"math"}),li:new wu({closedByChildren:["li"],closedByParent:!0}),dt:new wu({closedByChildren:["dt","dd"]}),dd:new wu({closedByChildren:["dt","dd"],closedByParent:!0}),rb:new wu({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),rt:new wu({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),rtc:new wu({closedByChildren:["rb","rtc","rp"],closedByParent:!0}),rp:new wu({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),optgroup:new wu({closedByChildren:["optgroup"],closedByParent:!0}),option:new wu({closedByChildren:["option","optgroup"],closedByParent:!0}),pre:new wu({ignoreFirstLf:!0}),listing:new wu({ignoreFirstLf:!0}),style:new wu({contentType:cs.RAW_TEXT}),script:new wu({contentType:cs.RAW_TEXT}),title:new wu({contentType:cs.ESCAPABLE_RAW_TEXT}),textarea:new wu({contentType:cs.ESCAPABLE_RAW_TEXT,ignoreFirstLf:!0})},Cu=new wu,xu={A:"LINK",B:"BOLD_TEXT",BR:"LINE_BREAK",EM:"EMPHASISED_TEXT",H1:"HEADING_LEVEL1",H2:"HEADING_LEVEL2",H3:"HEADING_LEVEL3",H4:"HEADING_LEVEL4",H5:"HEADING_LEVEL5",H6:"HEADING_LEVEL6",HR:"HORIZONTAL_RULE",I:"ITALIC_TEXT",LI:"LIST_ITEM",LINK:"MEDIA_LINK",OL:"ORDERED_LIST",P:"PARAGRAPH",Q:"QUOTATION",S:"STRIKETHROUGH_TEXT",SMALL:"SMALL_TEXT",SUB:"SUBSTRIPT",SUP:"SUPERSCRIPT",TBODY:"TABLE_BODY",TD:"TABLE_CELL",TFOOT:"TABLE_FOOTER",TH:"TABLE_HEADER_CELL",THEAD:"TABLE_HEADER",TR:"TABLE_ROW",TT:"MONOSPACED_TEXT",U:"UNDERLINED_TEXT",UL:"UNORDERED_LIST"},Su=function(){function t(){this._placeHolderNameCounts={},this._signatureToName={}}return t.prototype.getStartTagPlaceholderName=function(t,e,n){var r=this._hashTag(t,e,n);if(this._signatureToName[r])return this._signatureToName[r];var i=t.toUpperCase(),o=xu[i]||"TAG_"+i,s=this._generateUniqueName(n?o:"START_"+o);return this._signatureToName[r]=s,s},t.prototype.getCloseTagPlaceholderName=function(t){var e=this._hashClosingTag(t);if(this._signatureToName[e])return this._signatureToName[e];var n=t.toUpperCase(),r=xu[n]||"TAG_"+n,i=this._generateUniqueName("CLOSE_"+r);return this._signatureToName[e]=i,i},t.prototype.getPlaceholderName=function(t,e){var n=t.toUpperCase(),r="PH: "+n+"="+e;if(this._signatureToName[r])return this._signatureToName[r];var i=this._generateUniqueName(n);return this._signatureToName[r]=i,i},t.prototype.getUniquePlaceholder=function(t){return this._generateUniqueName(t.toUpperCase())},t.prototype._hashTag=function(t,e,n){return"<"+t+Object.keys(e).sort().map(function(t){return" "+t+"="+e[t]}).join("")+(n?"/>":">")},t.prototype._hashClosingTag=function(t){return this._hashTag("/"+t,{},!1)},t.prototype._generateUniqueName=function(t){if(!this._placeHolderNameCounts.hasOwnProperty(t))return this._placeHolderNameCounts[t]=1,t;var e=this._placeHolderNameCounts[t];return this._placeHolderNameCounts[t]=e+1,t+"_"+e},t}(),Tu=new za(new ca),Pu=function(){function t(t,e){this._expressionParser=t,this._interpolationConfig=e}return t.prototype.toI18nMessage=function(t,e,n,r){this._isIcu=1==t.length&&t[0]instanceof Xo,this._icuDepth=0,this._placeholderRegistry=new Su,this._placeholderToContent={},this._placeholderToMessage={};var i=X(this,t,{});return new hu(i,this._placeholderToContent,this._placeholderToMessage,e,n,r)},t.prototype.visitElement=function(t,e){var n=X(this,t.children),r={};t.attrs.forEach(function(t){r[t.name]=t.value});var i=me(t.name).isVoid,o=this._placeholderRegistry.getStartTagPlaceholderName(t.name,r,i);this._placeholderToContent[o]=t.sourceSpan.toString();var s="";return i||(s=this._placeholderRegistry.getCloseTagPlaceholderName(t.name),this._placeholderToContent[s]=""),new yu(t.name,r,o,s,n,i,t.sourceSpan)},t.prototype.visitAttribute=function(t,e){return this._visitTextWithInterpolation(t.value,t.sourceSpan)},t.prototype.visitText=function(t,e){return this._visitTextWithInterpolation(t.value,t.sourceSpan)},t.prototype.visitComment=function(t,e){return null},t.prototype.visitExpansion=function(e,n){var r=this;this._icuDepth++;var i={},o=new vu(e.switchValue,e.type,i,e.sourceSpan);if(e.cases.forEach(function(t){i[t.value]=new du(t.expression.map(function(t){return t.visit(r,{})}),t.expSourceSpan)}),this._icuDepth--,this._isIcu||this._icuDepth>0){var s=this._placeholderRegistry.getUniquePlaceholder("VAR_"+e.type);return o.expressionPlaceholder=s,this._placeholderToContent[s]=e.switchValue,o}var a=this._placeholderRegistry.getPlaceholderName("ICU",e.sourceSpan.toString()),u=new t(this._expressionParser,this._interpolationConfig);return this._placeholderToMessage[a]=u.toI18nMessage([e],"","",""),new gu(o,a,e.sourceSpan)},t.prototype.visitExpansionCase=function(t,e){throw new Error("Unreachable code")},t.prototype._visitTextWithInterpolation=function(t,e){var n=this._expressionParser.splitInterpolation(t,e.start.toString(),this._interpolationConfig);if(!n)return new fu(t,e);for(var r=[],i=new du(r,e),o=this._interpolationConfig,s=o.start,a=o.end,u=0;u element instead ("+t.sourceSpan.start+s+")")}this._inI18nBlock=!0,this._blockStartDepth=this._depth,this._blockChildren=[],this._blockMeaningAndDesc=t.value.replace(Au,"").trim(),this._openTranslatableSection(t)}},t.prototype.visitText=function(t,e){return this._isInTranslatableSection&&this._mayBeAddBlockChildren(t),t},t.prototype.visitElement=function(t,e){var n=this;this._mayBeAddBlockChildren(t),this._depth++;var r=this._inI18nNode,i=this._inImplicitNode,o=[],s=void 0,a=xe(t),u=a?a.value:"",c=this._implicitTags.some(function(e){return t.name===e})&&!this._inIcu&&!this._isInTranslatableSection,l=!i&&c;if(this._inImplicitNode=i||c,this._isInTranslatableSection||this._inIcu)(a||l)&&this._reportError(t,"Could not mark an element as translatable inside a translatable section"),this._mode==ju.Extract&&X(this,t.children);else{if(a||l){this._inI18nNode=!0;var p=this._addMessage(t.children,u);s=this._translateMessage(t,p)}if(this._mode==ju.Extract){var h=a||l;h&&this._openTranslatableSection(t),X(this,t.children),h&&this._closeTranslatableSection(t,t.children)}}if(this._mode===ju.Merge){(s||t.children).forEach(function(t){var r=t.visit(n,e);r&&!n._isInTranslatableSection&&(o=o.concat(r))})}if(this._visitAttributesOf(t),this._depth--,this._inI18nNode=r,this._inImplicitNode=i,this._mode===ju.Merge){var f=this._translateAttributes(t);return new ts(t.name,f,o,t.sourceSpan,t.startSourceSpan,t.endSourceSpan)}return null},t.prototype.visitAttribute=function(t,e){throw new Error("unreachable code")},t.prototype._init=function(t,e){this._mode=t,this._inI18nBlock=!1,this._inI18nNode=!1,this._depth=0,this._inIcu=!1,this._msgCountAtSectionStart=void 0,this._errors=[],this._messages=[],this._inImplicitNode=!1,this._createI18nMessage=ge(e)},t.prototype._visitAttributesOf=function(t){var e=this,n={},r=this._implicitAttrs[t.name]||[];t.attrs.filter(function(t){return t.name.startsWith("i18n-")}).forEach(function(t){return n[t.name.slice("i18n-".length)]=t.value}),t.attrs.forEach(function(t){t.name in n?e._addMessage([t],n[t.name]):r.some(function(e){return t.name===e})&&e._addMessage([t])})},t.prototype._addMessage=function(t,e){if(0==t.length||1==t.length&&t[0]instanceof Yo&&!t[0].value)return null;var n=Se(e),r=n.meaning,i=n.description,o=n.id,s=this._createI18nMessage(t,r,i,o);return this._messages.push(s),s},t.prototype._translateMessage=function(t,e){if(e&&this._mode===ju.Merge){var n=this._translations.get(e);if(n)return n;this._reportError(t,'Translation unavailable for message id="'+this._translations.digest(e)+'"')}return[]},t.prototype._translateAttributes=function(t){var e=this,n=t.attrs,r={};n.forEach(function(t){t.name.startsWith("i18n-")&&(r[t.name.slice("i18n-".length)]=Se(t.value))});var i=[];return n.forEach(function(n){if(n.name!==Mu&&!n.name.startsWith("i18n-"))if(n.value&&""!=n.value&&r.hasOwnProperty(n.name)){var o=r[n.name],s=o.meaning,a=o.description,u=o.id,c=e._createI18nMessage([n],s,a,u),l=e._translations.get(c);if(l)if(0==l.length)i.push(new Yo(n.name,"",n.sourceSpan));else if(l[0]instanceof $o){var p=l[0].value;i.push(new Yo(n.name,p,n.sourceSpan))}else e._reportError(t,'Unexpected translation for attribute "'+n.name+'" (id="'+(u||e._translations.digest(c))+'")');else e._reportError(t,'Translation unavailable for attribute "'+n.name+'" (id="'+(u||e._translations.digest(c))+'")')}else i.push(n)}),i},t.prototype._mayBeAddBlockChildren=function(t){this._inI18nBlock&&!this._inIcu&&this._depth==this._blockStartDepth&&this._blockChildren.push(t)},t.prototype._openTranslatableSection=function(t){this._isInTranslatableSection?this._reportError(t,"Unexpected section start"):this._msgCountAtSectionStart=this._messages.length},Object.defineProperty(t.prototype,"_isInTranslatableSection",{get:function(){return void 0!==this._msgCountAtSectionStart},enumerable:!0,configurable:!0}),t.prototype._closeTranslatableSection=function(t,e){if(!this._isInTranslatableSection)return void this._reportError(t,"Unexpected section end");var n=this._msgCountAtSectionStart;if(1==e.reduce(function(t,e){return t+(e instanceof es?0:1)},0))for(var r=this._messages.length-1;r>=n;r--){var i=this._messages[r].nodes;if(!(1==i.length&&i[0]instanceof fu)){this._messages.splice(r,1);break}}this._msgCountAtSectionStart=void 0},t.prototype._reportError=function(t,e){this._errors.push(new ku(t.sourceSpan,e))},t}(),Lu=function(){function t(){this.closedByParent=!1,this.contentType=cs.PARSABLE_DATA,this.isVoid=!1,this.ignoreFirstLf=!1,this.canSelfClose=!0}return t.prototype.requireExtraParent=function(t){return!1},t.prototype.isClosedByChild=function(t){return!1},t}(),Vu=new Lu,Hu=function(t){function e(){return t.call(this,Te)||this}return Object(Ni.b)(e,t),e.prototype.parse=function(e,n,r){return void 0===r&&(r=!1),t.prototype.parse.call(this,e,n,r)},e}(su),Bu=function(){function t(){}return t.prototype.createNameMapper=function(t){return null},t}(),Uu=function(t){function e(e,n){var r=t.call(this)||this;return r.mapName=n,r.internalToPublic={},r.publicToNextId={},r.publicToInternal={},e.nodes.forEach(function(t){return t.visit(r)}),r}return Object(Ni.b)(e,t),e.prototype.toPublicName=function(t){return this.internalToPublic.hasOwnProperty(t)?this.internalToPublic[t]:null},e.prototype.toInternalName=function(t){return this.publicToInternal.hasOwnProperty(t)?this.publicToInternal[t]:null},e.prototype.visitText=function(t,e){return null},e.prototype.visitTagPlaceholder=function(e,n){this.visitPlaceholderName(e.startName),t.prototype.visitTagPlaceholder.call(this,e,n),this.visitPlaceholderName(e.closeName)},e.prototype.visitPlaceholder=function(t,e){this.visitPlaceholderName(t.name)},e.prototype.visitIcuPlaceholder=function(t,e){this.visitPlaceholderName(t.name)},e.prototype.visitPlaceholderName=function(t){if(t&&!this.internalToPublic.hasOwnProperty(t)){var e=this.mapName(t);if(this.publicToInternal.hasOwnProperty(e)){var n=this.publicToNextId[e];this.publicToNextId[e]=n+1,e=e+"_"+n}else this.publicToNextId[e]=1;this.internalToPublic[t]=e,this.publicToInternal[e]=t}},e}(bu),zu=function(){function t(){}return t.prototype.visitTag=function(t){var e=this,n=this._serializeAttributes(t.attrs);if(0==t.children.length)return"<"+t.name+n+"/>";var r=t.children.map(function(t){return t.visit(e)});return"<"+t.name+n+">"+r.join("")+""},t.prototype.visitText=function(t){return t.value},t.prototype.visitDeclaration=function(t){return""},t.prototype._serializeAttributes=function(t){var e=Object.keys(t).map(function(e){return e+'="'+t[e]+'"'}).join(" ");return e.length>0?" "+e:""},t.prototype.visitDoctype=function(t){return""},t}(),qu=new zu,Wu=function(){function t(t){var e=this;this.attrs={},Object.keys(t).forEach(function(n){e.attrs[n]=Oe(t[n])})}return t.prototype.visit=function(t){return t.visitDeclaration(this)},t}(),Gu=function(){function t(t,e){this.rootTag=t,this.dtd=e}return t.prototype.visit=function(t){return t.visitDoctype(this)},t}(),Zu=function(){function t(t,e,n){void 0===e&&(e={}),void 0===n&&(n=[]);var r=this;this.name=t,this.children=n,this.attrs={},Object.keys(e).forEach(function(t){r.attrs[t]=Oe(e[t])})}return t.prototype.visit=function(t){return t.visitTag(this)},t}(),Ku=function(){function t(t){this.value=Oe(t)}return t.prototype.visit=function(t){return t.visitText(this)},t}(),Qu=function(t){function e(e){return void 0===e&&(e=0),t.call(this,"\n"+new Array(e+1).join(" "))||this}return Object(Ni.b)(e,t),e}(Ku),$u=[[/&/g,"&"],[/"/g,"""],[/'/g,"'"],[//g,">"]],Xu=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(Ni.b)(e,t),e.prototype.write=function(t,e){var n=new Ju,r=[];t.forEach(function(t){var e=[];t.sources.forEach(function(t){var n=new Zu("context-group",{purpose:"location"});n.children.push(new Qu(10),new Zu("context",{"context-type":"sourcefile"},[new Ku(t.filePath)]),new Qu(10),new Zu("context",{"context-type":"linenumber"},[new Ku(""+t.startLine)]),new Qu(8)),e.push(new Qu(8),n)});var i=new Zu("trans-unit",{id:t.id,datatype:"html"});(o=i.children).push.apply(o,[new Qu(8),new Zu("source",{},n.serialize(t.nodes))].concat(e)),t.description&&i.children.push(new Qu(8),new Zu("note",{priority:"1",from:"description"},[new Ku(t.description)])),t.meaning&&i.children.push(new Qu(8),new Zu("note",{priority:"1",from:"meaning"},[new Ku(t.meaning)])),i.children.push(new Qu(6)),r.push(new Qu(6),i);var o});var i=new Zu("body",{},r.concat([new Qu(4)])),o=new Zu("file",{"source-language":e||"en",datatype:"plaintext",original:"ng2.template"},[new Qu(4),i,new Qu(2)]),s=new Zu("xliff",{version:"1.2",xmlns:"urn:oasis:names:tc:xliff:document:1.2"},[new Qu(2),o,new Qu]);return Pe([new Wu({version:"1.0",encoding:"UTF-8"}),new Qu,s,new Qu])},e.prototype.load=function(t,e){var n=new Yu,r=n.parse(t,e),i=r.locale,o=r.msgIdToHtml,s=r.errors,a={},u=new tc;if(Object.keys(o).forEach(function(t){var n=u.convert(o[t],e),r=n.i18nNodes,i=n.errors;s.push.apply(s,i),a[t]=r}),s.length)throw new Error("xliff parse errors:\n"+s.join("\n"));return{locale:i,i18nNodesByMsgId:a}},e.prototype.digest=function(t){return Zt(t)},e}(Bu),Ju=function(){function t(){}return t.prototype.visitText=function(t,e){return[new Ku(t.value)]},t.prototype.visitContainer=function(t,e){var n=this,r=[];return t.children.forEach(function(t){return r.push.apply(r,t.visit(n))}),r},t.prototype.visitIcu=function(t,e){var n=this,r=[new Ku("{"+t.expressionPlaceholder+", "+t.type+", ")];return Object.keys(t.cases).forEach(function(e){r.push.apply(r,[new Ku(e+" {")].concat(t.cases[e].visit(n),[new Ku("} ")]))}),r.push(new Ku("}")),r},t.prototype.visitTagPlaceholder=function(t,e){var n=ke(t.tag);if(t.isVoid)return[new Zu("x",{id:t.startName,ctype:n,"equiv-text":"<"+t.tag+"/>"})];var r=new Zu("x",{id:t.startName,ctype:n,"equiv-text":"<"+t.tag+">"}),i=new Zu("x",{id:t.closeName,ctype:n,"equiv-text":""});return[r].concat(this.serialize(t.children),[i])},t.prototype.visitPlaceholder=function(t,e){return[new Zu("x",{id:t.name,"equiv-text":"{{"+t.value+"}}"})]},t.prototype.visitIcuPlaceholder=function(t,e){var n="{"+t.value.expression+", "+t.value.type+", "+Object.keys(t.value.cases).map(function(t){return t+" {...}"}).join(" ")+"}";return[new Zu("x",{id:t.name,"equiv-text":n})]},t.prototype.serialize=function(t){var e=this;return[].concat.apply([],t.map(function(t){return t.visit(e)}))},t}(),Yu=function(){function t(){this._locale=null}return t.prototype.parse=function(t,e){this._unitMlString=null,this._msgIdToHtml={};var n=(new Hu).parse(t,e,!1);return this._errors=n.errors,X(this,n.rootNodes,null),{msgIdToHtml:this._msgIdToHtml,errors:this._errors,locale:this._locale}},t.prototype.visitElement=function(t,e){switch(t.name){case"trans-unit":this._unitMlString=null;var n=t.attrs.find(function(t){return"id"===t.name});if(n){var r=n.value;this._msgIdToHtml.hasOwnProperty(r)?this._addError(t,"Duplicated translations for msg "+r):(X(this,t.children,null),"string"==typeof this._unitMlString?this._msgIdToHtml[r]=this._unitMlString:this._addError(t,"Message "+r+" misses a translation"))}else this._addError(t,' misses the "id" attribute');break;case"source":break;case"target":var i=t.startSourceSpan.end.offset,o=t.endSourceSpan.start.offset,s=t.startSourceSpan.start.file.content,a=s.slice(i,o);this._unitMlString=a;break;case"file":var u=t.attrs.find(function(t){return"target-language"===t.name});u&&(this._locale=u.value),X(this,t.children,null);break;default:X(this,t.children,null)}},t.prototype.visitAttribute=function(t,e){},t.prototype.visitText=function(t,e){},t.prototype.visitComment=function(t,e){},t.prototype.visitExpansion=function(t,e){},t.prototype.visitExpansionCase=function(t,e){},t.prototype._addError=function(t,e){this._errors.push(new ku(t.sourceSpan,e))},t}(),tc=function(){function t(){}return t.prototype.convert=function(t,e){var n=(new Hu).parse(t,e,!0);return this._errors=n.errors,{i18nNodes:this._errors.length>0||0==n.rootNodes.length?[]:X(this,n.rootNodes),errors:this._errors}},t.prototype.visitText=function(t,e){return new fu(t.value,t.sourceSpan)},t.prototype.visitElement=function(t,e){if("x"===t.name){var n=t.attrs.find(function(t){return"id"===t.name});if(n)return new mu("",n.value,t.sourceSpan);this._addError(t,' misses the "id" attribute')}else this._addError(t,"Unexpected tag");return null},t.prototype.visitExpansion=function(t,e){var n={};return X(this,t.cases).forEach(function(e){n[e.value]=new du(e.nodes,t.sourceSpan)}),new vu(t.switchValue,t.type,n,t.sourceSpan)},t.prototype.visitExpansionCase=function(t,e){return{value:t.value,nodes:X(this,t.expression)}},t.prototype.visitComment=function(t,e){},t.prototype.visitAttribute=function(t,e){},t.prototype._addError=function(t,e){this._errors.push(new ku(t.sourceSpan,e))},t}(),ec=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(Ni.b)(e,t),e.prototype.write=function(t,e){var n=new nc,r=[];t.forEach(function(t){var e=new Zu("unit",{id:t.id}),i=new Zu("notes");(t.description||t.meaning)&&(t.description&&i.children.push(new Qu(8),new Zu("note",{category:"description"},[new Ku(t.description)])),t.meaning&&i.children.push(new Qu(8),new Zu("note",{category:"meaning"},[new Ku(t.meaning)]))),t.sources.forEach(function(t){i.children.push(new Qu(8),new Zu("note",{category:"location"},[new Ku(t.filePath+":"+t.startLine+(t.endLine!==t.startLine?","+t.endLine:""))]))}),i.children.push(new Qu(6)),e.children.push(new Qu(6),i);var o=new Zu("segment");o.children.push(new Qu(8),new Zu("source",{},n.serialize(t.nodes)),new Qu(6)),e.children.push(new Qu(6),o,new Qu(4)),r.push(new Qu(4),e)});var i=new Zu("file",{original:"ng.template",id:"ngi18n"},r.concat([new Qu(2)])),o=new Zu("xliff",{version:"2.0",xmlns:"urn:oasis:names:tc:xliff:document:2.0",srcLang:e||"en"},[new Qu(2),i,new Qu]);return Pe([new Wu({version:"1.0",encoding:"UTF-8"}),new Qu,o,new Qu])},e.prototype.load=function(t,e){var n=new rc,r=n.parse(t,e),i=r.locale,o=r.msgIdToHtml,s=r.errors,a={},u=new ic;if(Object.keys(o).forEach(function(t){var n=u.convert(o[t],e),r=n.i18nNodes,i=n.errors;s.push.apply(s,i),a[t]=r}),s.length)throw new Error("xliff2 parse errors:\n"+s.join("\n"));return{locale:i,i18nNodesByMsgId:a}},e.prototype.digest=function(t){return Kt(t)},e}(Bu),nc=function(){function t(){}return t.prototype.visitText=function(t,e){return[new Ku(t.value)]},t.prototype.visitContainer=function(t,e){var n=this,r=[];return t.children.forEach(function(t){return r.push.apply(r,t.visit(n))}),r},t.prototype.visitIcu=function(t,e){var n=this,r=[new Ku("{"+t.expressionPlaceholder+", "+t.type+", ")];return Object.keys(t.cases).forEach(function(e){r.push.apply(r,[new Ku(e+" {")].concat(t.cases[e].visit(n),[new Ku("} ")]))}),r.push(new Ku("}")),r},t.prototype.visitTagPlaceholder=function(t,e){var n=this,r=Me(t.tag);if(t.isVoid){return[new Zu("ph",{id:(this._nextPlaceholderId++).toString(),equiv:t.startName,type:r,disp:"<"+t.tag+"/>"})]}var i=new Zu("pc",{id:(this._nextPlaceholderId++).toString(),equivStart:t.startName,equivEnd:t.closeName,type:r,dispStart:"<"+t.tag+">",dispEnd:""}),o=[].concat.apply([],t.children.map(function(t){return t.visit(n)}));return o.length?o.forEach(function(t){return i.children.push(t)}):i.children.push(new Ku("")),[i]},t.prototype.visitPlaceholder=function(t,e){var n=(this._nextPlaceholderId++).toString();return[new Zu("ph",{id:n,equiv:t.name,disp:"{{"+t.value+"}}"})]},t.prototype.visitIcuPlaceholder=function(t,e){var n=Object.keys(t.value.cases).map(function(t){return t+" {...}"}).join(" "),r=(this._nextPlaceholderId++).toString();return[new Zu("ph",{id:r,equiv:t.name,disp:"{"+t.value.expression+", "+t.value.type+", "+n+"}"})]},t.prototype.serialize=function(t){var e=this;return this._nextPlaceholderId=0,[].concat.apply([],t.map(function(t){return t.visit(e)}))},t}(),rc=function(){function t(){this._locale=null}return t.prototype.parse=function(t,e){this._unitMlString=null,this._msgIdToHtml={};var n=(new Hu).parse(t,e,!1);return this._errors=n.errors,X(this,n.rootNodes,null),{msgIdToHtml:this._msgIdToHtml,errors:this._errors,locale:this._locale}},t.prototype.visitElement=function(t,e){switch(t.name){case"unit":this._unitMlString=null;var n=t.attrs.find(function(t){return"id"===t.name});if(n){var r=n.value;this._msgIdToHtml.hasOwnProperty(r)?this._addError(t,"Duplicated translations for msg "+r):(X(this,t.children,null),"string"==typeof this._unitMlString?this._msgIdToHtml[r]=this._unitMlString:this._addError(t,"Message "+r+" misses a translation"))}else this._addError(t,' misses the "id" attribute');break;case"source":break;case"target":var i=t.startSourceSpan.end.offset,o=t.endSourceSpan.start.offset,s=t.startSourceSpan.start.file.content,a=s.slice(i,o);this._unitMlString=a;break;case"xliff":var u=t.attrs.find(function(t){return"trgLang"===t.name});u&&(this._locale=u.value);var c=t.attrs.find(function(t){return"version"===t.name});if(c){var l=c.value;"2.0"!==l?this._addError(t,"The XLIFF file version "+l+" is not compatible with XLIFF 2.0 serializer"):X(this,t.children,null)}break;default:X(this,t.children,null)}},t.prototype.visitAttribute=function(t,e){},t.prototype.visitText=function(t,e){},t.prototype.visitComment=function(t,e){},t.prototype.visitExpansion=function(t,e){},t.prototype.visitExpansionCase=function(t,e){},t.prototype._addError=function(t,e){this._errors.push(new ku(t.sourceSpan,e))},t}(),ic=function(){function t(){}return t.prototype.convert=function(t,e){var n=(new Hu).parse(t,e,!0);return this._errors=n.errors,{i18nNodes:this._errors.length>0||0==n.rootNodes.length?[]:[].concat.apply([],X(this,n.rootNodes)),errors:this._errors}},t.prototype.visitText=function(t,e){return new fu(t.value,t.sourceSpan)},t.prototype.visitElement=function(t,e){var n=this;switch(t.name){case"ph":var r=t.attrs.find(function(t){return"equiv"===t.name});if(r)return[new mu("",r.value,t.sourceSpan)];this._addError(t,' misses the "equiv" attribute');break;case"pc":var i=t.attrs.find(function(t){return"equivStart"===t.name}),o=t.attrs.find(function(t){return"equivEnd"===t.name});if(i){if(o){var s=i.value,a=o.value,u=[];return u.concat.apply(u,[new mu("",s,t.sourceSpan)].concat(t.children.map(function(t){return t.visit(n,null)}),[new mu("",a,t.sourceSpan)]))}this._addError(t,' misses the "equivEnd" attribute')}else this._addError(t,' misses the "equivStart" attribute');break;default:this._addError(t,"Unexpected tag")}return null},t.prototype.visitExpansion=function(t,e){var n={};return X(this,t.cases).forEach(function(e){n[e.value]=new du(e.nodes,t.sourceSpan)}),new vu(t.switchValue,t.type,n,t.sourceSpan)},t.prototype.visitExpansionCase=function(t,e){return{value:t.value,nodes:[].concat.apply([],X(this,t.expression))}},t.prototype.visitComment=function(t,e){},t.prototype.visitAttribute=function(t,e){},t.prototype._addError=function(t,e){this._errors.push(new ku(t.sourceSpan,e))},t}(),oc=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(Ni.b)(e,t),e.prototype.write=function(t,e){var n=new ac,r=new sc,i=new Zu("messagebundle");return t.forEach(function(t){var e={id:t.id};t.description&&(e.desc=t.description),t.meaning&&(e.meaning=t.meaning);var n=[];t.sources.forEach(function(t){n.push(new Zu("source",{},[new Ku(t.filePath+":"+t.startLine+(t.endLine!==t.startLine?","+t.endLine:""))]))}),i.children.push(new Qu(2),new Zu("msg",e,n.concat(r.serialize(t.nodes))))}),i.children.push(new Qu),Pe([new Wu({version:"1.0",encoding:"UTF-8"}),new Qu,new Gu("messagebundle",'\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n'),new Qu,n.addDefaultExamples(i),new Qu])},e.prototype.load=function(t,e){throw new Error("Unsupported")},e.prototype.digest=function(t){return Ae(t)},e.prototype.createNameMapper=function(t){return new Uu(t,Ne)},e}(Bu),sc=function(){function t(){}return t.prototype.visitText=function(t,e){return[new Ku(t.value)]},t.prototype.visitContainer=function(t,e){var n=this,r=[];return t.children.forEach(function(t){return r.push.apply(r,t.visit(n))}),r},t.prototype.visitIcu=function(t,e){var n=this,r=[new Ku("{"+t.expressionPlaceholder+", "+t.type+", ")];return Object.keys(t.cases).forEach(function(e){r.push.apply(r,[new Ku(e+" {")].concat(t.cases[e].visit(n),[new Ku("} ")]))}),r.push(new Ku("}")),r},t.prototype.visitTagPlaceholder=function(t,e){var n=new Zu("ex",{},[new Ku("<"+t.tag+">")]),r=new Zu("ph",{name:t.startName},[n]);if(t.isVoid)return[r];var i=new Zu("ex",{},[new Ku("")]),o=new Zu("ph",{name:t.closeName},[i]);return[r].concat(this.serialize(t.children),[o])},t.prototype.visitPlaceholder=function(t,e){var n=new Zu("ex",{},[new Ku("{{"+t.value+"}}")]);return[new Zu("ph",{name:t.name},[n])]},t.prototype.visitIcuPlaceholder=function(t,e){var n=new Zu("ex",{},[new Ku("{"+t.value.expression+", "+t.value.type+", "+Object.keys(t.value.cases).map(function(t){return t+" {...}"}).join(" ")+"}")]);return[new Zu("ph",{name:t.name},[n])]},t.prototype.serialize=function(t){var e=this;return[].concat.apply([],t.map(function(t){return t.visit(e)}))},t}(),ac=function(){function t(){}return t.prototype.addDefaultExamples=function(t){return t.visit(this),t},t.prototype.visitTag=function(t){var e=this;if("ph"===t.name){if(!t.children||0==t.children.length){var n=new Ku(t.attrs.name||"...");t.children=[new Zu("ex",{},[n])]}}else t.children&&t.children.forEach(function(t){return t.visit(e)})},t.prototype.visitText=function(t){},t.prototype.visitDeclaration=function(t){},t.prototype.visitDoctype=function(t){},t}(),uc=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(Ni.b)(e,t),e.prototype.write=function(t,e){throw new Error("Unsupported")},e.prototype.load=function(t,e){var n=new cc,r=n.parse(t,e),i=r.locale,o=r.msgIdToHtml,s=r.errors,a={},u=new lc;if(Object.keys(o).forEach(function(t){Ie(a,t,function(){var n=u.convert(o[t],e),r=n.i18nNodes,i=n.errors;if(i.length)throw new Error("xtb parse errors:\n"+i.join("\n"));return r})}),s.length)throw new Error("xtb parse errors:\n"+s.join("\n"));return{locale:i,i18nNodesByMsgId:a}},e.prototype.digest=function(t){return Ae(t)},e.prototype.createNameMapper=function(t){return new Uu(t,Ne)},e}(Bu),cc=function(){function t(){this._locale=null}return t.prototype.parse=function(t,e){this._bundleDepth=0,this._msgIdToHtml={};var n=(new Hu).parse(t,e,!1);return this._errors=n.errors,X(this,n.rootNodes),{msgIdToHtml:this._msgIdToHtml,errors:this._errors,locale:this._locale}},t.prototype.visitElement=function(t,e){switch(t.name){case"translationbundle":this._bundleDepth++,this._bundleDepth>1&&this._addError(t," elements can not be nested");var n=t.attrs.find(function(t){return"lang"===t.name});n&&(this._locale=n.value),X(this,t.children,null),this._bundleDepth--;break;case"translation":var r=t.attrs.find(function(t){return"id"===t.name});if(r){var i=r.value;if(this._msgIdToHtml.hasOwnProperty(i))this._addError(t,"Duplicated translations for msg "+i);else{var o=t.startSourceSpan.end.offset,s=t.endSourceSpan.start.offset,a=t.startSourceSpan.start.file.content,u=a.slice(o,s);this._msgIdToHtml[i]=u}}else this._addError(t,' misses the "id" attribute');break;default:this._addError(t,"Unexpected tag")}},t.prototype.visitAttribute=function(t,e){},t.prototype.visitText=function(t,e){},t.prototype.visitComment=function(t,e){},t.prototype.visitExpansion=function(t,e){},t.prototype.visitExpansionCase=function(t,e){},t.prototype._addError=function(t,e){this._errors.push(new ku(t.sourceSpan,e))},t}(),lc=function(){function t(){}return t.prototype.convert=function(t,e){var n=(new Hu).parse(t,e,!0);return this._errors=n.errors,{i18nNodes:this._errors.length>0||0==n.rootNodes.length?[]:X(this,n.rootNodes),errors:this._errors}},t.prototype.visitText=function(t,e){return new fu(t.value,t.sourceSpan)},t.prototype.visitExpansion=function(t,e){var n={};return X(this,t.cases).forEach(function(e){n[e.value]=new du(e.nodes,t.sourceSpan)}),new vu(t.switchValue,t.type,n,t.sourceSpan)},t.prototype.visitExpansionCase=function(t,e){return{value:t.value,nodes:X(this,t.expression)}},t.prototype.visitElement=function(t,e){if("ph"===t.name){var n=t.attrs.find(function(t){return"name"===t.name});if(n)return new mu("",n.value,t.sourceSpan);this._addError(t,' misses the "name" attribute')}else this._addError(t,"Unexpected tag");return null},t.prototype.visitComment=function(t,e){},t.prototype.visitAttribute=function(t,e){},t.prototype._addError=function(t,e){this._errors.push(new ku(t.sourceSpan,e))},t}(),pc=function(t){function e(){return t.call(this,me)||this}return Object(Ni.b)(e,t),e.prototype.parse=function(e,n,r,i){return void 0===r&&(r=!1),void 0===i&&(i=is),t.prototype.parse.call(this,e,n,r,i)},e}(su),hc=function(){function t(t,e,n,r,i,o){void 0===t&&(t={}),void 0===i&&(i=ho.Warning),this._i18nNodesByMsgId=t,this.digest=n,this.mapperFactory=r,this._i18nToHtml=new fc(t,e,n,r,i,o)}return t.load=function(e,n,r,i,o){var s=r.load(e,n),a=s.locale;return new t(s.i18nNodesByMsgId,a,function(t){return r.digest(t)},function(t){return r.createNameMapper(t)},i,o)},t.prototype.get=function(t){var e=this._i18nToHtml.convert(t);if(e.errors.length)throw new Error(e.errors.join("\n"));return e.nodes},t.prototype.has=function(t){return this.digest(t)in this._i18nNodesByMsgId},t}(),fc=function(){function t(t,e,n,r,i,o){void 0===t&&(t={}),this._i18nNodesByMsgId=t,this._locale=e,this._digest=n,this._mapperFactory=r,this._missingTranslationStrategy=i,this._console=o,this._contextStack=[],this._errors=[]}return t.prototype.convert=function(t){this._contextStack.length=0,this._errors.length=0;var e=this._convertToText(t),n=t.nodes[0].sourceSpan.start.file.url,r=(new pc).parse(e,n,!0);return{nodes:r.rootNodes,errors:this._errors.concat(r.errors)}},t.prototype.visitText=function(t,e){return t.value},t.prototype.visitContainer=function(t,e){var n=this;return t.children.map(function(t){return t.visit(n)}).join("")},t.prototype.visitIcu=function(t,e){var n=this,r=Object.keys(t.cases).map(function(e){return e+" {"+t.cases[e].visit(n)+"}"});return"{"+(this._srcMsg.placeholders.hasOwnProperty(t.expression)?this._srcMsg.placeholders[t.expression]:t.expression)+", "+t.type+", "+r.join(" ")+"}"},t.prototype.visitPlaceholder=function(t,e){var n=this._mapper(t.name);return this._srcMsg.placeholders.hasOwnProperty(n)?this._srcMsg.placeholders[n]:this._srcMsg.placeholderToMessage.hasOwnProperty(n)?this._convertToText(this._srcMsg.placeholderToMessage[n]):(this._addError(t,'Unknown placeholder "'+t.name+'"'),"")},t.prototype.visitTagPlaceholder=function(t,e){var n=this,r=""+t.tag,i=Object.keys(t.attrs).map(function(e){return e+'="'+t.attrs[e]+'"'}).join(" ");return t.isVoid?"<"+r+" "+i+"/>":"<"+r+" "+i+">"+t.children.map(function(t){return t.visit(n)}).join("")+""},t.prototype.visitIcuPlaceholder=function(t,e){return this._convertToText(this._srcMsg.placeholderToMessage[t.name])},t.prototype._convertToText=function(t){var e,n=this,r=this._digest(t),i=this._mapperFactory?this._mapperFactory(t):null;if(this._contextStack.push({msg:this._srcMsg,mapper:this._mapper}),this._srcMsg=t,this._i18nNodesByMsgId.hasOwnProperty(r))e=this._i18nNodesByMsgId[r],this._mapper=function(t){return i?i.toInternalName(t):t};else{if(this._missingTranslationStrategy===ho.Error){var o=this._locale?' for locale "'+this._locale+'"':"";this._addError(t.nodes[0],'Missing translation for message "'+r+'"'+o)}else if(this._console&&this._missingTranslationStrategy===ho.Warning){var o=this._locale?' for locale "'+this._locale+'"':"";this._console.warn('Missing translation for message "'+r+'"'+o)}e=t.nodes,this._mapper=function(t){return t}}var s=e.map(function(t){return t.visit(n)}).join(""),a=this._contextStack.pop();return this._srcMsg=a.msg,this._mapper=a.mapper,s},t.prototype._addError=function(t,e){this._errors.push(new ku(t.sourceSpan,e))},t}(),dc=function(){function t(t,e,n,r,i){if(void 0===r&&(r=ho.Warning),this._htmlParser=t,e){var o=De(n);this._translationBundle=hc.load(e,"i18n",o,r,i)}else this._translationBundle=new hc({},null,Zt,void 0,r,i)}return t.prototype.parse=function(t,e,n,r){void 0===n&&(n=!1),void 0===r&&(r=is);var i=this._htmlParser.parse(t,e,n,r);return i.errors.length?new ou(i.rootNodes,i.errors):we(i.rootNodes,this._translationBundle,r,[],{})},t}(),vc=/(\.ts|\.d\.ts|\.js|\.jsx|\.tsx)$/,yc=/\.ngfactory\.|\.ngsummary\./,mc=/\.ngsummary\./,gc=/NgSummary$/,_c=/\u0275\d+/,bc="@angular/core",wc=function(){function t(){}return t.ANALYZE_FOR_ENTRY_COMPONENTS={name:"ANALYZE_FOR_ENTRY_COMPONENTS",moduleName:bc},t.ElementRef={name:"ElementRef",moduleName:bc},t.NgModuleRef={name:"NgModuleRef",moduleName:bc},t.ViewContainerRef={name:"ViewContainerRef",moduleName:bc},t.ChangeDetectorRef={name:"ChangeDetectorRef",moduleName:bc},t.QueryList={name:"QueryList",moduleName:bc},t.TemplateRef={name:"TemplateRef",moduleName:bc},t.CodegenComponentFactoryResolver={name:"ɵCodegenComponentFactoryResolver",moduleName:bc},t.ComponentFactoryResolver={name:"ComponentFactoryResolver",moduleName:bc},t.ComponentFactory={name:"ComponentFactory",moduleName:bc},t.ComponentRef={name:"ComponentRef",moduleName:bc},t.NgModuleFactory={name:"NgModuleFactory",moduleName:bc},t.createModuleFactory={name:"ɵcmf",moduleName:bc},t.moduleDef={name:"ɵmod",moduleName:bc},t.moduleProviderDef={name:"ɵmpd",moduleName:bc},t.RegisterModuleFactoryFn={name:"ɵregisterModuleFactory",moduleName:bc},t.Injector={name:"Injector",moduleName:bc},t.ViewEncapsulation={name:"ViewEncapsulation",moduleName:bc},t.ChangeDetectionStrategy={name:"ChangeDetectionStrategy",moduleName:bc},t.SecurityContext={name:"SecurityContext",moduleName:bc},t.LOCALE_ID={name:"LOCALE_ID",moduleName:bc},t.TRANSLATIONS_FORMAT={name:"TRANSLATIONS_FORMAT",moduleName:bc},t.inlineInterpolate={name:"ɵinlineInterpolate",moduleName:bc},t.interpolate={name:"ɵinterpolate",moduleName:bc},t.EMPTY_ARRAY={name:"ɵEMPTY_ARRAY",moduleName:bc},t.EMPTY_MAP={name:"ɵEMPTY_MAP",moduleName:bc},t.Renderer={name:"Renderer",moduleName:bc},t.viewDef={name:"ɵvid",moduleName:bc},t.elementDef={name:"ɵeld",moduleName:bc},t.anchorDef={name:"ɵand",moduleName:bc},t.textDef={name:"ɵted",moduleName:bc},t.directiveDef={name:"ɵdid",moduleName:bc},t.providerDef={name:"ɵprd",moduleName:bc},t.queryDef={name:"ɵqud",moduleName:bc},t.pureArrayDef={name:"ɵpad",moduleName:bc},t.pureObjectDef={name:"ɵpod",moduleName:bc},t.purePipeDef={name:"ɵppd",moduleName:bc},t.pipeDef={name:"ɵpid",moduleName:bc},t.nodeValue={name:"ɵnov",moduleName:bc},t.ngContentDef={name:"ɵncd",moduleName:bc},t.unwrapValue={name:"ɵunv",moduleName:bc},t.createRendererType2={name:"ɵcrt",moduleName:bc},t.RendererType2={name:"RendererType2",moduleName:bc},t.ViewDefinition={name:"ɵViewDefinition",moduleName:bc},t.createComponentFactory={name:"ɵccf",moduleName:bc},t}(),Ec={OnInit:0,OnDestroy:1,DoCheck:2,OnChanges:3,AfterContentInit:4,AfterContentChecked:5,AfterViewInit:6,AfterViewChecked:7};Ec[Ec.OnInit]="OnInit",Ec[Ec.OnDestroy]="OnDestroy",Ec[Ec.DoCheck]="DoCheck",Ec[Ec.OnChanges]="OnChanges",Ec[Ec.AfterContentInit]="AfterContentInit",Ec[Ec.AfterContentChecked]="AfterContentChecked",Ec[Ec.AfterViewInit]="AfterViewInit",Ec[Ec.AfterViewChecked]="AfterViewChecked";var Cc=[Ec.OnInit,Ec.OnDestroy,Ec.DoCheck,Ec.OnChanges,Ec.AfterContentInit,Ec.AfterContentChecked,Ec.AfterViewInit,Ec.AfterViewChecked],xc=new RegExp("(\\:not\\()|([-\\w]+)|(?:\\.([-\\w]+))|(?:\\[([-.\\w*]+)(?:=([\"']?)([^\\]\"']*)\\5)?\\])|(\\))|(\\s*,\\s*)","g"),Sc=function(){function t(){this.element=null,this.classNames=[],this.attrs=[],this.notSelectors=[]}return t.parse=function(e){var n,r=[],i=function(t,e){e.notSelectors.length>0&&!e.element&&0==e.classNames.length&&0==e.attrs.length&&(e.element="*"),t.push(e)},o=new t,s=o,a=!1;for(xc.lastIndex=0;n=xc.exec(e);){if(n[1]){if(a)throw new Error("Nesting :not is not allowed in a selector");a=!0,s=new t,o.notSelectors.push(s)}if(n[2]&&s.setElement(n[2]),n[3]&&s.addClassName(n[3]),n[4]&&s.addAttribute(n[4],n[6]),n[7]&&(a=!1,s=o),n[8]){if(a)throw new Error("Multiple selectors in :not are not supported");i(r,o),o=s=new t}}return i(r,o),r},t.prototype.isElementSelector=function(){return this.hasElementSelector()&&0==this.classNames.length&&0==this.attrs.length&&0===this.notSelectors.length},t.prototype.hasElementSelector=function(){return!!this.element},t.prototype.setElement=function(t){void 0===t&&(t=null),this.element=t},t.prototype.getMatchingElementTemplate=function(){for(var t=this.element||"div",e=this.classNames.length>0?' class="'+this.classNames.join(" ")+'"':"",n="",r=0;r":"<"+t+e+n+">"},t.prototype.addAttribute=function(t,e){void 0===e&&(e=""),this.attrs.push(t,e&&e.toLowerCase()||"")},t.prototype.addClassName=function(t){this.classNames.push(t.toLowerCase())},t.prototype.toString=function(){var t=this.element||"";if(this.classNames&&this.classNames.forEach(function(e){return t+="."+e}),this.attrs)for(var e=0;e1&&(n=new Pc(t),this._listContexts.push(n));for(var r=0;r0&&(!this.listContext||!this.listContext.alreadyMatched)){n=!Tc.createNotMatcher(this.notSelectors).match(t,null)}return!n||!e||this.listContext&&this.listContext.alreadyMatched||(this.listContext&&(this.listContext.alreadyMatched=!0),e(this.selector,this.cbContext)),n},t}(),kc="ngComponentType",Mc=function(){function t(t,e,n,r,i,o,s,a,u,c,l,p){this._config=t,this._htmlParser=e,this._ngModuleResolver=n,this._directiveResolver=r,this._pipeResolver=i,this._summaryResolver=o,this._schemaRegistry=s,this._directiveNormalizer=a,this._console=u,this._staticSymbolCache=c,this._reflector=l,this._errorCollector=p,this._nonNormalizedDirectiveCache=new Map,this._directiveCache=new Map,this._summaryCache=new Map,this._pipeCache=new Map,this._ngModuleCache=new Map,this._ngModuleOfTypes=new Map}return t.prototype.getReflector=function(){return this._reflector},t.prototype.clearCacheFor=function(t){var e=this._directiveCache.get(t);this._directiveCache.delete(t),this._nonNormalizedDirectiveCache.delete(t),this._summaryCache.delete(t),this._pipeCache.delete(t),this._ngModuleOfTypes.delete(t),this._ngModuleCache.clear(),e&&this._directiveNormalizer.clearCacheFor(e)},t.prototype.clearCache=function(){this._directiveCache.clear(),this._nonNormalizedDirectiveCache.clear(),this._summaryCache.clear(),this._pipeCache.clear(),this._ngModuleCache.clear(),this._ngModuleOfTypes.clear(),this._directiveNormalizer.clearCache()},t.prototype._createProxyClass=function(t,e){var n=null,r=function(){if(!n)throw new Error("Illegal state: Class "+e+" for type "+M(t)+" is not compiled yet!");return n.apply(this,arguments)};return r.setDelegate=function(t){n=t,r.prototype=t.prototype},r.overriddenName=e,r},t.prototype.getGeneratedClass=function(t,e){return t instanceof Lo?this._staticSymbolCache.get(Re(t.filePath),e):this._createProxyClass(t,e)},t.prototype.getComponentViewClass=function(t){return this.getGeneratedClass(t,L(t,0))},t.prototype.getHostComponentViewClass=function(t){return this.getGeneratedClass(t,H(t))},t.prototype.getHostComponentType=function(t){var e=j({reference:t})+"_Host";if(t instanceof Lo)return this._staticSymbolCache.get(t.filePath,e);var n=function(){};return n.overriddenName=e,n},t.prototype.getRendererType=function(t){return t instanceof Lo?this._staticSymbolCache.get(Re(t.filePath),V(t)):{}},t.prototype.getComponentFactory=function(t,e,n,r){if(e instanceof Lo)return this._staticSymbolCache.get(Re(e.filePath),B(e));var i=this.getHostComponentViewClass(e);return this._reflector.resolveExternalReference(wc.createComponentFactory)(t,e,i,n,r,[])},t.prototype.initComponentFactory=function(t,e){t instanceof Lo||(n=t.ngContentSelectors).push.apply(n,e);var n},t.prototype._loadSummary=function(t,e){var n=this._summaryCache.get(t);if(!n){var r=this._summaryResolver.resolveSummary(t);n=r?r.type:null,this._summaryCache.set(t,n||null)}return n&&n.summaryKind===e?n:null},t.prototype.getHostComponentMetadata=function(t,e){var n=this.getHostComponentType(t.type.reference);e||(e=this.getHostComponentViewClass(n));var r=Sc.parse(t.selector)[0].getMatchingElementTemplate(),i=this._htmlParser.parse(r,"");return Wo.create({isHost:!0,type:{reference:n,diDeps:[],lifecycleHooks:[]},template:new qo({encapsulation:Bi.None,template:r,templateUrl:"",htmlAst:i,styles:[],styleUrls:[],ngContentSelectors:[],animations:[],isInline:!0,externalStylesheets:[],interpolation:null,preserveWhitespaces:!1}),exportAs:null,changeDetection:Ui.Default,inputs:[],outputs:[],host:{},isComponent:!0,selector:"*",providers:[],viewProviders:[],queries:[],viewQueries:[],componentViewType:e,rendererType:{id:"__Host__",encapsulation:Bi.None,styles:[],data:{}},entryComponents:[],componentFactory:null})},t.prototype.loadDirectiveMetadata=function(t,e,n){var r=this;if(this._directiveCache.has(e))return null;e=A(e);var i=this.getNonNormalizedDirectiveMetadata(e),o=i.annotation,s=i.metadata,a=function(t){var n=new Wo({isHost:!1,type:s.type,isComponent:s.isComponent,selector:s.selector,exportAs:s.exportAs,changeDetection:s.changeDetection,inputs:s.inputs,outputs:s.outputs,hostListeners:s.hostListeners,hostProperties:s.hostProperties,hostAttributes:s.hostAttributes,providers:s.providers,viewProviders:s.viewProviders,queries:s.queries,viewQueries:s.viewQueries,entryComponents:s.entryComponents,componentViewType:s.componentViewType,rendererType:s.rendererType,componentFactory:s.componentFactory,template:t});return t&&r.initComponentFactory(s.componentFactory,t.ngContentSelectors),r._directiveCache.set(e,n),r._summaryCache.set(e,n.toSummary()),null};if(s.isComponent){var u=s.template,c=this._directiveNormalizer.normalizeTemplate({ngModuleType:t,componentType:e,moduleUrl:this._reflector.componentModuleUrl(e,o),encapsulation:u.encapsulation,template:u.template,templateUrl:u.templateUrl,styles:u.styles,styleUrls:u.styleUrls,animations:u.animations,interpolation:u.interpolation,preserveWhitespaces:u.preserveWhitespaces});return N(c)&&n?(this._reportError(rn(e),e),null):yo.then(c,a)}return a(null),null},t.prototype.getNonNormalizedDirectiveMetadata=function(t){var e=this;if(!(t=A(t)))return null;var n=this._nonNormalizedDirectiveCache.get(t);if(n)return n;var r=this._directiveResolver.resolve(t,!1);if(!r)return null;var i=void 0;if(zi.isTypeOf(r)){var o=r;J("styles",o.styles),J("styleUrls",o.styleUrls),Y("interpolation",o.interpolation);var s=o.animations;i=new qo({encapsulation:S(o.encapsulation),template:S(o.template),templateUrl:S(o.templateUrl),htmlAst:null,styles:o.styles||[],styleUrls:o.styleUrls||[],animations:s||[],interpolation:S(o.interpolation),isInline:!!o.template,externalStylesheets:[],ngContentSelectors:[],preserveWhitespaces:S(r.preserveWhitespaces)})}var a=null,u=[],c=[],l=r.selector;if(zi.isTypeOf(r)){var o=r;a=o.changeDetection,o.viewProviders&&(u=this._getProvidersMetadata(o.viewProviders,c,'viewProviders for "'+nn(t)+'"',[],t)),o.entryComponents&&(c=Ye(o.entryComponents).map(function(t){return e._getEntryComponentMetadata(t)}).concat(c)),l||(l=this._schemaRegistry.getDefaultComponentElementName())}else l||(this._reportError(T("Directive "+nn(t)+" has no selector, please add it!"),t),l="error");var p=[];null!=r.providers&&(p=this._getProvidersMetadata(r.providers,c,'providers for "'+nn(t)+'"',[],t));var h=[],f=[];null!=r.queries&&(h=this._getQueriesMetadata(r.queries,!1,t),f=this._getQueriesMetadata(r.queries,!0,t));var d=Wo.create({isHost:!1,selector:l,exportAs:S(r.exportAs),isComponent:!!i,type:this._getTypeMetadata(t),template:i,changeDetection:a,inputs:r.inputs||[],outputs:r.outputs||[],host:r.host||{},providers:p||[],viewProviders:u||[],queries:h||[],viewQueries:f||[],entryComponents:c,componentViewType:i?this.getComponentViewClass(t):null,rendererType:i?this.getRendererType(t):null,componentFactory:null});return i&&(d.componentFactory=this.getComponentFactory(l,t,d.inputs,d.outputs)),n={metadata:d,annotation:r},this._nonNormalizedDirectiveCache.set(t,n),n},t.prototype.getDirectiveMetadata=function(t){var e=this._directiveCache.get(t);return e||this._reportError(T("Illegal state: getDirectiveMetadata can only be called after loadNgModuleDirectiveAndPipeMetadata for a module that declares it. Directive "+nn(t)+"."),t),e},t.prototype.getDirectiveSummary=function(t){var e=this._loadSummary(t,Uo.Directive);return e||this._reportError(T("Illegal state: Could not load the summary for directive "+nn(t)+"."),t),e},t.prototype.isDirective=function(t){return!!this._loadSummary(t,Uo.Directive)||this._directiveResolver.isDirective(t)},t.prototype.isPipe=function(t){return!!this._loadSummary(t,Uo.Pipe)||this._pipeResolver.isPipe(t)},t.prototype.isNgModule=function(t){return!!this._loadSummary(t,Uo.NgModule)||this._ngModuleResolver.isNgModule(t)},t.prototype.getNgModuleSummary=function(t,e){void 0===e&&(e=null);var n=this._loadSummary(t,Uo.NgModule);if(!n){var r=this.getNgModuleMetadata(t,!1,e);n=r?r.toSummary():null,n&&this._summaryCache.set(t,n)}return n},t.prototype.loadNgModuleDirectiveAndPipeMetadata=function(t,e,n){var r=this;void 0===n&&(n=!0);var i=this.getNgModuleMetadata(t,n),o=[];return i&&(i.declaredDirectives.forEach(function(n){var i=r.loadDirectiveMetadata(t,n.reference,e);i&&o.push(i)}),i.declaredPipes.forEach(function(t){return r._loadPipeMetadata(t.reference)})),Promise.all(o)},t.prototype.getNgModuleMetadata=function(t,e,n){var r=this;void 0===e&&(e=!0),void 0===n&&(n=null),t=A(t);var i=this._ngModuleCache.get(t);if(i)return i;var o=this._ngModuleResolver.resolve(t,e);if(!o)return null;var s=[],a=[],u=[],c=[],l=[],p=[],h=[],f=[],d=[];o.imports&&Ye(o.imports).forEach(function(e){var i=void 0;if(tn(e))i=e;else if(e&&e.ngModule){var o=e;i=o.ngModule,o.providers&&p.push.apply(p,r._getProvidersMetadata(o.providers,h,"provider for the NgModule '"+nn(i)+"'",[],e))}if(!i)return void r._reportError(T("Unexpected value '"+nn(e)+"' imported by the module '"+nn(t)+"'"),t);if(!r._checkSelfImport(t,i)){if(n||(n=new Set),n.has(i))return void r._reportError(T(r._getTypeDescriptor(i)+" '"+nn(e)+"' is imported recursively by the module '"+nn(t)+"'."),t);n.add(i);var s=r.getNgModuleSummary(i,n);if(n.delete(i),!s)return void r._reportError(T("Unexpected "+r._getTypeDescriptor(e)+" '"+nn(e)+"' imported by the module '"+nn(t)+"'. Please add a @NgModule annotation."),t);c.push(s)}}),o.exports&&Ye(o.exports).forEach(function(e){if(!tn(e))return void r._reportError(T("Unexpected value '"+nn(e)+"' exported by the module '"+nn(t)+"'"),t);if(n||(n=new Set),n.has(e))return void r._reportError(T(r._getTypeDescriptor(e)+" '"+M(e)+"' is exported recursively by the module '"+nn(t)+"'"),t);n.add(e);var i=r.getNgModuleSummary(e,n);n.delete(e),i?l.push(i):a.push(r._getIdentifierMetadata(e))});var v=this._getTransitiveNgModuleMetadata(c,l);o.declarations&&Ye(o.declarations).forEach(function(e){if(!tn(e))return void r._reportError(T("Unexpected value '"+nn(e)+"' declared by the module '"+nn(t)+"'"),t);var n=r._getIdentifierMetadata(e);if(r.isDirective(e))v.addDirective(n),s.push(n),r._addTypeToModule(e,t);else{if(!r.isPipe(e))return void r._reportError(T("Unexpected "+r._getTypeDescriptor(e)+" '"+nn(e)+"' declared by the module '"+nn(t)+"'. Please add a @Pipe/@Directive/@Component annotation."),t);v.addPipe(n),v.pipes.push(n),u.push(n),r._addTypeToModule(e,t)}});var y=[],m=[];return a.forEach(function(e){if(v.directivesSet.has(e.reference))y.push(e),v.addExportedDirective(e);else{if(!v.pipesSet.has(e.reference))return void r._reportError(T("Can't export "+r._getTypeDescriptor(e.reference)+" "+nn(e.reference)+" from "+nn(t)+" as it was neither declared nor imported!"),t);m.push(e),v.addExportedPipe(e)}}),o.providers&&p.push.apply(p,this._getProvidersMetadata(o.providers,h,"provider for the NgModule '"+nn(t)+"'",[],t)),o.entryComponents&&h.push.apply(h,Ye(o.entryComponents).map(function(t){return r._getEntryComponentMetadata(t)})),o.bootstrap&&Ye(o.bootstrap).forEach(function(e){if(!tn(e))return void r._reportError(T("Unexpected value '"+nn(e)+"' used in the bootstrap property of module '"+nn(t)+"'"),t);f.push(r._getIdentifierMetadata(e))}),h.push.apply(h,f.map(function(t){return r._getEntryComponentMetadata(t.reference)})),o.schemas&&d.push.apply(d,Ye(o.schemas)),i=new Zo({type:this._getTypeMetadata(t),providers:p,entryComponents:h,bootstrapComponents:f,schemas:d,declaredDirectives:s,exportedDirectives:y,declaredPipes:u,exportedPipes:m,importedModules:c,exportedModules:l,transitiveModule:v,id:o.id||null}),h.forEach(function(t){return v.addEntryComponent(t)}),p.forEach(function(t){return v.addProvider(t,i.type)}),v.addModule(i.type),this._ngModuleCache.set(t,i),i},t.prototype._checkSelfImport=function(t,e){return t===e&&(this._reportError(T("'"+nn(t)+"' module can't import itself"),t),!0)},t.prototype._getTypeDescriptor=function(t){if(tn(t)){if(this.isDirective(t))return"directive";if(this.isPipe(t))return"pipe";if(this.isNgModule(t))return"module"}return t.provide?"provider":"value"},t.prototype._addTypeToModule=function(t,e){var n=this._ngModuleOfTypes.get(t);if(n&&n!==e)return void this._reportError(T("Type "+nn(t)+" is part of the declarations of 2 modules: "+nn(n)+" and "+nn(e)+"! Please consider moving "+nn(t)+" to a higher module that imports "+nn(n)+" and "+nn(e)+". You can also create a new NgModule that exports and includes "+nn(t)+" then import that NgModule in "+nn(n)+" and "+nn(e)+"."),e);this._ngModuleOfTypes.set(t,e)},t.prototype._getTransitiveNgModuleMetadata=function(t,e){var n=new Ko,r=new Map;return t.concat(e).forEach(function(t){t.modules.forEach(function(t){return n.addModule(t)}),t.entryComponents.forEach(function(t){return n.addEntryComponent(t)});var e=new Set;t.providers.forEach(function(t){var i=z(t.provider.token),o=r.get(i);o||(o=new Set,r.set(i,o));var s=t.module.reference;!e.has(i)&&o.has(s)||(o.add(s),e.add(i),n.addProvider(t.provider,t.module))})}),e.forEach(function(t){t.exportedDirectives.forEach(function(t){return n.addExportedDirective(t)}),t.exportedPipes.forEach(function(t){return n.addExportedPipe(t)})}),t.forEach(function(t){t.exportedDirectives.forEach(function(t){return n.addDirective(t)}),t.exportedPipes.forEach(function(t){return n.addPipe(t)})}),n},t.prototype._getIdentifierMetadata=function(t){return t=A(t),{reference:t}},t.prototype.isInjectable=function(t){return this._reflector.annotations(t).some(function(t){return Yi.isTypeOf(t)})},t.prototype.getInjectableSummary=function(t){return{summaryKind:Uo.Injectable,type:this._getTypeMetadata(t,null,!1)}},t.prototype._getInjectableMetadata=function(t,e){void 0===e&&(e=null);var n=this._loadSummary(t,Uo.Injectable);return n?n.type:this._getTypeMetadata(t,e)},t.prototype._getTypeMetadata=function(t,e,n){void 0===e&&(e=null),void 0===n&&(n=!0);var r=this._getIdentifierMetadata(t);return{reference:r.reference,diDeps:this._getDependenciesMetadata(r.reference,e,n),lifecycleHooks:Qe(this._reflector,r.reference)}},t.prototype._getFactoryMetadata=function(t,e){return void 0===e&&(e=null),t=A(t),{reference:t,diDeps:this._getDependenciesMetadata(t,e)}},t.prototype.getPipeMetadata=function(t){var e=this._pipeCache.get(t);return e||this._reportError(T("Illegal state: getPipeMetadata can only be called after loadNgModuleDirectiveAndPipeMetadata for a module that declares it. Pipe "+nn(t)+"."),t),e||null},t.prototype.getPipeSummary=function(t){var e=this._loadSummary(t,Uo.Pipe);return e||this._reportError(T("Illegal state: Could not load the summary for pipe "+nn(t)+"."),t),e},t.prototype.getOrLoadPipeMetadata=function(t){var e=this._pipeCache.get(t);return e||(e=this._loadPipeMetadata(t)),e},t.prototype._loadPipeMetadata=function(t){t=A(t);var e=this._pipeResolver.resolve(t),n=new Go({type:this._getTypeMetadata(t),name:e.name,pure:!!e.pure});return this._pipeCache.set(t,n),this._summaryCache.set(t,n.toSummary()),n},t.prototype._getDependenciesMetadata=function(t,e,n){var r=this;void 0===n&&(n=!0);var i=!1,o=e||this._reflector.parameters(t)||[],s=o.map(function(t){var e=!1,n=!1,o=!1,s=!1,a=!1,u=null;return Array.isArray(t)?t.forEach(function(t){no.isTypeOf(t)?n=!0:to.isTypeOf(t)?o=!0:eo.isTypeOf(t)?s=!0:Ji.isTypeOf(t)?a=!0:Ri.isTypeOf(t)?(e=!0,u=t.attributeName):Ii.isTypeOf(t)?u=t.token:Di.isTypeOf(t)||t instanceof Lo?u=t:tn(t)&&null==u&&(u=t)}):u=t,null==u?(i=!0,null):{isAttribute:e,isHost:n,isSelf:o,isSkipSelf:s,isOptional:a,token:r._getTokenMetadata(u)}});if(i){var a=s.map(function(t){return t?nn(t.token):"?"}).join(", "),u="Can't resolve all parameters for "+nn(t)+": ("+a+").";n||this._config.strictInjectionParameters?this._reportError(T(u),t):this._console.warn("Warning: "+u+" This will become an error in Angular v6.x")}return s},t.prototype._getTokenMetadata=function(t){t=A(t);return"string"==typeof t?{value:t}:{identifier:{reference:t}}},t.prototype._getProvidersMetadata=function(t,e,n,r,i){var o=this;return void 0===r&&(r=[]),t.forEach(function(s,a){if(Array.isArray(s))o._getProvidersMetadata(s,e,n,r);else{s=A(s);var u=void 0;if(s&&"object"==typeof s&&s.hasOwnProperty("provide"))o._validateProvider(s),u=new Qo(s.provide,s);else{if(!tn(s)){if(void 0===s)return void o._reportError(T("Encountered undefined provider! Usually this means you have a circular dependencies (might be caused by using 'barrel' index.ts files."));var c=t.reduce(function(t,e,n){return n0&&i++,r=r._parent;return e=this.viewContext.viewQueries.get(z(t)),e&&n.push.apply(n,e),n},t.prototype._getOrCreateLocalProvider=function(t,e,n){var r=this,i=this._allProviders.get(z(e));if(!i||(t===Io.Directive||t===Io.PublicService)&&i.providerType===Io.PrivateService||(t===Io.PrivateService||t===Io.PublicService)&&i.providerType===Io.Builtin)return null;var o=this._transformedProviders.get(z(e));if(o)return o;if(null!=this._seenProviders.get(z(e)))return this.viewContext.errors.push(new Dl("Cannot instantiate cyclic dependency! "+U(e),this._sourceSpan)),null;this._seenProviders.set(z(e),!0);var s=i.providers.map(function(t){var e=t.useValue,o=t.useExisting,s=void 0;if(null!=t.useExisting){var a=r._getDependency(i.providerType,{token:t.useExisting},n);null!=a.token?o=a.token:(o=null,e=a.value)}else if(t.useFactory){var u=t.deps||t.useFactory.diDeps;s=u.map(function(t){return r._getDependency(i.providerType,t,n)})}else if(t.useClass){var u=t.deps||t.useClass.diDeps;s=u.map(function(t){return r._getDependency(i.providerType,t,n)})}return bn(t,{useExisting:o,useValue:e,deps:s})});return o=wn(i,{eager:n,providers:s}),this._transformedProviders.set(z(e),o),o},t.prototype._getLocalDependency=function(t,e,n){if(void 0===n&&(n=!1),e.isAttribute){var r=this._attrs[e.token.value];return{isValue:!0,value:null==r?null:r}}if(null!=e.token){if(t===Io.Directive||t===Io.Component){if(z(e.token)===this.viewContext.reflector.resolveExternalReference(wc.Renderer)||z(e.token)===this.viewContext.reflector.resolveExternalReference(wc.ElementRef)||z(e.token)===this.viewContext.reflector.resolveExternalReference(wc.ChangeDetectorRef)||z(e.token)===this.viewContext.reflector.resolveExternalReference(wc.TemplateRef))return e;z(e.token)===this.viewContext.reflector.resolveExternalReference(wc.ViewContainerRef)&&(this.transformedHasViewContainer=!0)}if(z(e.token)===this.viewContext.reflector.resolveExternalReference(wc.Injector))return e;if(null!=this._getOrCreateLocalProvider(t,e.token,n))return e}return null},t.prototype._getDependency=function(t,e,n){void 0===n&&(n=!1);var r=this,i=n,o=null;if(e.isSkipSelf||(o=this._getLocalDependency(t,e,n)),e.isSelf)!o&&e.isOptional&&(o={isValue:!0,value:null});else{for(;!o&&r._parent;){var s=r;r=r._parent,s._isViewRoot&&(i=!1),o=r._getLocalDependency(Io.PublicService,e,i)}o||(o=!e.isHost||this.viewContext.component.isHost||this.viewContext.component.type.reference===z(e.token)||null!=this.viewContext.viewProviders.get(z(e.token))?e:e.isOptional?o={isValue:!0,value:null}:null)}return o||this.viewContext.errors.push(new Dl("No provider for "+U(e.token),this._sourceSpan)),o},t}(),Fl=function(){function t(t,e,n,r){var i=this;this.reflector=t,this._transformedProviders=new Map,this._seenProviders=new Map,this._errors=[],this._allProviders=new Map,e.transitiveModule.modules.forEach(function(t){Cn([{token:{identifier:t},useClass:t}],Io.PublicService,!0,r,i._errors,i._allProviders)}),Cn(e.transitiveModule.providers.map(function(t){return t.provider}).concat(n),Io.PublicService,!1,r,this._errors,this._allProviders)}return t.prototype.parse=function(){var t=this;if(Array.from(this._allProviders.values()).forEach(function(e){t._getOrCreateLocalProvider(e.token,e.eager)}),this._errors.length>0){var e=this._errors.join("\n");throw new Error("Provider parse errors:\n"+e)}var n=[],r=[];return this._transformedProviders.forEach(function(t){t.eager?r.push(t):n.push(t)}),n.concat(r)},t.prototype._getOrCreateLocalProvider=function(t,e){var n=this,r=this._allProviders.get(z(t));if(!r)return null;var i=this._transformedProviders.get(z(t));if(i)return i;if(null!=this._seenProviders.get(z(t)))return this._errors.push(new Dl("Cannot instantiate cyclic dependency! "+U(t),r.sourceSpan)),null;this._seenProviders.set(z(t),!0);var o=r.providers.map(function(t){var i=t.useValue,o=t.useExisting,s=void 0;if(null!=t.useExisting){var a=n._getDependency({token:t.useExisting},e,r.sourceSpan);null!=a.token?o=a.token:(o=null,i=a.value)}else if(t.useFactory){var u=t.deps||t.useFactory.diDeps;s=u.map(function(t){return n._getDependency(t,e,r.sourceSpan)})}else if(t.useClass){var u=t.deps||t.useClass.diDeps;s=u.map(function(t){return n._getDependency(t,e,r.sourceSpan)})}return bn(t,{useExisting:o,useValue:i,deps:s})});return i=wn(r,{eager:e,providers:o}),this._transformedProviders.set(z(t),i),i},t.prototype._getDependency=function(t,e,n){void 0===e&&(e=!1);var r=!1;t.isSkipSelf||null==t.token||(z(t.token)===this.reflector.resolveExternalReference(wc.Injector)||z(t.token)===this.reflector.resolveExternalReference(wc.ComponentFactoryResolver)?r=!0:null!=this._getOrCreateLocalProvider(t.token,e)&&(r=!0));var i=t;return t.isSelf&&!r&&(t.isOptional?i={isValue:!0,value:null}:this._errors.push(new Dl("No provider for "+U(t.token),n))),i},t}(),Ll=function(){function t(t){this.ctx=t}return t.prototype.visitArray=function(t,e){var n=this;return dn(t.map(function(t){return C(t,n,null)}),e)},t.prototype.visitStringMap=function(t,e){var n=this,r=[],i=new Set(t&&t.$quoted$);return Object.keys(t).forEach(function(e){r.push(new hl(e,C(t[e],n,null),i.has(e)))}),new fl(r,e)},t.prototype.visitPrimitive=function(t,e){return _n(t,e)},t.prototype.visitOther=function(t,e){return t instanceof zc?t:this.ctx.importExpr(t)},t}(),Vl=function(){function t(t){this.ngModuleFactoryVar=t}return t}(),Hl=ln("_l"),Bl=function(){function t(t){this.reflector=t}return t.prototype.compile=function(t,e,n){var r=Nt("NgModule",e.type),i=e.transitiveModule.entryComponents,o=e.bootstrapComponents,s=new Fl(this.reflector,e,n,r),a=[Dn(this.reflector,t,0,i)].concat(s.parse().map(function(e){return On(t,e)})).map(function(t){var e=t.providerExpr,n=t.depsExpr,r=t.flags,i=t.tokenExpr;return pn(wc.moduleProviderDef).callFn([_n(r),i,e,n])}),u=pn(wc.moduleDef).callFn([dn(a)]),c=gn([new sl(Hl.name)],[new El(u)],Hc),l=j(e.type)+"NgFactory";if(this._createNgModuleFactory(t,e.type.reference,pn(wc.createModuleFactory).callFn([t.importExpr(e.type.reference),dn(o.map(function(e){return t.importExpr(e.reference)})),c])),e.id){var p=pn(wc.RegisterModuleFactoryFn).callFn([_n(e.id),ln(l)]).toStmt();t.statements.push(p)}return new Vl(l)},t.prototype.createStub=function(t,e){this._createNgModuleFactory(t,e,vl)},t.prototype._createNgModuleFactory=function(t,e,n){var r=j({reference:e})+"NgFactory",i=ln(r).set(n).toDeclStmt(hn(wc.NgModuleFactory,[fn(t.importExpr(e))],[Nc.Const]),[ml.Final,ml.Exported]);t.statements.push(i)},t}(),Ul=function(){function t(t){this._reflector=t}return t.prototype.isNgModule=function(t){return this._reflector.annotations(t).some(Qi.isTypeOf)},t.prototype.resolve=function(t,e){void 0===e&&(e=!0);var n=pt(this._reflector.annotations(t),Qi.isTypeOf);if(n)return n;if(e)throw new Error("No NgModule metadata found for '"+M(t)+"'.");return null},t}(),zl=function(){function t(t){void 0===t&&(t=null),this.file=t,this.sourcesContent=new Map,this.lines=[],this.lastCol0=0,this.hasMappings=!1}return t.prototype.addSource=function(t,e){return void 0===e&&(e=null),this.sourcesContent.has(t)||this.sourcesContent.set(t,e),this},t.prototype.addLine=function(){return this.lines.push([]),this.lastCol0=0,this},t.prototype.addMapping=function(t,e,n,r){if(!this.currentLine)throw new Error("A line must be added before mappings can be added");if(null!=e&&!this.sourcesContent.has(e))throw new Error('Unknown source file "'+e+'"');if(null==t)throw new Error("The column in the generated code must be provided");if(t0&&(this._currentLine.parts.push(e),this._currentLine.partsLength+=e.length,this._currentLine.srcSpans.push(t&&t.sourceSpan||null)),n&&this._lines.push(new $l(this._indent))},t.prototype.removeEmptyLastLine=function(){this.lineIsEmpty()&&this._lines.pop()},t.prototype.incIndent=function(){this._indent++,this.lineIsEmpty()&&(this._currentLine.indent=this._indent)},t.prototype.decIndent=function(){this._indent--,this.lineIsEmpty()&&(this._currentLine.indent=this._indent)},t.prototype.pushClass=function(t){this._classes.push(t)},t.prototype.popClass=function(){return this._classes.pop()},Object.defineProperty(t.prototype,"currentClass",{get:function(){return this._classes.length>0?this._classes[this._classes.length-1]:null},enumerable:!0,configurable:!0}),t.prototype.toSource=function(){return this.sourceLines.map(function(t){return t.parts.length>0?Vn(t.indent)+t.parts.join(""):""}).join("\n")},t.prototype.toSourceMapGenerator=function(t,e){void 0===e&&(e=0);for(var n=new zl(t),r=!1,i=function(){r||(n.addSource(t," ").addMapping(0,t,0,0),r=!0)},o=0;or)return n.srcSpans[i];r-=o.length}return null},Object.defineProperty(t.prototype,"sourceLines",{get:function(){return this._lines.length&&0===this._lines[this._lines.length-1].parts.length?this._lines.slice(0,-1):this._lines},enumerable:!0,configurable:!0}),t}(),Jl=function(){function t(t){this._escapeDollarInStrings=t}return t.prototype.visitExpressionStmt=function(t,e){return t.expr.visitExpression(this,e),e.println(t,";"),null},t.prototype.visitReturnStmt=function(t,e){return e.print(t,"return "),t.value.visitExpression(this,e),e.println(t,";"),null},t.prototype.visitIfStmt=function(t,e){e.print(t,"if ("),t.condition.visitExpression(this,e),e.print(t,") {");var n=null!=t.falseCase&&t.falseCase.length>0;return t.trueCase.length<=1&&!n?(e.print(t," "),this.visitAllStatements(t.trueCase,e),e.removeEmptyLastLine(),e.print(t," ")):(e.println(),e.incIndent(),this.visitAllStatements(t.trueCase,e),e.decIndent(),n&&(e.println(t,"} else {"),e.incIndent(),this.visitAllStatements(t.falseCase,e),e.decIndent())),e.println(t,"}"),null},t.prototype.visitThrowStmt=function(t,e){return e.print(t,"throw "),t.error.visitExpression(this,e),e.println(t,";"),null},t.prototype.visitCommentStmt=function(t,e){return t.comment.split("\n").forEach(function(n){e.println(t,"// "+n)}),null},t.prototype.visitWriteVarExpr=function(t,e){var n=e.lineIsEmpty();return n||e.print(t,"("),e.print(t,t.name+" = "),t.value.visitExpression(this,e),n||e.print(t,")"),null},t.prototype.visitWriteKeyExpr=function(t,e){var n=e.lineIsEmpty();return n||e.print(t,"("),t.receiver.visitExpression(this,e),e.print(t,"["),t.index.visitExpression(this,e),e.print(t,"] = "),t.value.visitExpression(this,e),n||e.print(t,")"),null},t.prototype.visitWritePropExpr=function(t,e){var n=e.lineIsEmpty();return n||e.print(t,"("),t.receiver.visitExpression(this,e),e.print(t,"."+t.name+" = "),t.value.visitExpression(this,e),n||e.print(t,")"),null},t.prototype.visitInvokeMethodExpr=function(t,e){t.receiver.visitExpression(this,e);var n=t.name;return null!=t.builtin&&null==(n=this.getBuiltinMethodName(t.builtin))?null:(e.print(t,"."+n+"("),this.visitAllExpressions(t.args,e,","),e.print(t,")"),null)},t.prototype.visitInvokeFunctionExpr=function(t,e){return t.fn.visitExpression(this,e),e.print(t,"("),this.visitAllExpressions(t.args,e,","),e.print(t,")"),null},t.prototype.visitReadVarExpr=function(t,e){var n=t.name;if(null!=t.builtin)switch(t.builtin){case qc.Super:n="super";break;case qc.This:n="this";break;case qc.CatchError:n=Kl.name;break;case qc.CatchStack:n=Ql.name;break;default:throw new Error("Unknown builtin variable "+t.builtin)}return e.print(t,n),null},t.prototype.visitInstantiateExpr=function(t,e){return e.print(t,"new "),t.classExpr.visitExpression(this,e),e.print(t,"("),this.visitAllExpressions(t.args,e,","),e.print(t,")"),null},t.prototype.visitLiteralExpr=function(t,e){var n=t.value;return"string"==typeof n?e.print(t,Ln(n,this._escapeDollarInStrings)):e.print(t,""+n),null},t.prototype.visitConditionalExpr=function(t,e){return e.print(t,"("),t.condition.visitExpression(this,e),e.print(t,"? "),t.trueCase.visitExpression(this,e),e.print(t,": "),t.falseCase.visitExpression(this,e),e.print(t,")"),null},t.prototype.visitNotExpr=function(t,e){return e.print(t,"!"),t.condition.visitExpression(this,e),null},t.prototype.visitAssertNotNullExpr=function(t,e){return t.condition.visitExpression(this,e),null},t.prototype.visitBinaryOperatorExpr=function(t,e){var n;switch(t.operator){case Uc.Equals:n="==";break;case Uc.Identical:n="===";break;case Uc.NotEquals:n="!=";break;case Uc.NotIdentical:n="!==";break;case Uc.And:n="&&";break;case Uc.Or:n="||";break;case Uc.Plus:n="+";break;case Uc.Minus:n="-";break;case Uc.Divide:n="/";break;case Uc.Multiply:n="*";break;case Uc.Modulo:n="%";break;case Uc.Lower:n="<";break;case Uc.LowerEquals:n="<=";break;case Uc.Bigger:n=">";break;case Uc.BiggerEquals:n=">=";break;default:throw new Error("Unknown operator "+t.operator)}return e.print(t,"("),t.lhs.visitExpression(this,e),e.print(t," "+n+" "),t.rhs.visitExpression(this,e),e.print(t,")"),null},t.prototype.visitReadPropExpr=function(t,e){return t.receiver.visitExpression(this,e),e.print(t,"."),e.print(t,t.name),null},t.prototype.visitReadKeyExpr=function(t,e){return t.receiver.visitExpression(this,e),e.print(t,"["),t.index.visitExpression(this,e),e.print(t,"]"),null},t.prototype.visitLiteralArrayExpr=function(t,e){return e.print(t,"["),this.visitAllExpressions(t.entries,e,","),e.print(t,"]"),null},t.prototype.visitLiteralMapExpr=function(t,e){var n=this;return e.print(t,"{"),this.visitAllObjects(function(r){e.print(t,Ln(r.key,n._escapeDollarInStrings,r.quoted)+":"),r.value.visitExpression(n,e)},t.entries,e,","),e.print(t,"}"),null},t.prototype.visitCommaExpr=function(t,e){return e.print(t,"("),this.visitAllExpressions(t.parts,e,","),e.print(t,")"),null},t.prototype.visitAllExpressions=function(t,e,n){var r=this;this.visitAllObjects(function(t){return t.visitExpression(r,e)},t,e,n)},t.prototype.visitAllObjects=function(t,e,n,r){for(var i=!1,o=0;o0&&(n.lineLength()>80?(n.print(null,r,!0),i||(n.incIndent(),n.incIndent(),i=!0)):n.print(null,r,!1)),t(e[o]);i&&(n.decIndent(),n.decIndent())},t.prototype.visitAllStatements=function(t,e){var n=this;t.forEach(function(t){return t.visitStatement(n,e)})},t}(),Yl=(function(){function t(){}t.prototype.emitStatementsAndContext=function(t,e,n,r,i){void 0===n&&(n=""),void 0===r&&(r=!0);var o=new Yl(i),s=Xl.createRoot();o.visitAllStatements(e,s);var a=n?n.split("\n"):[];o.reexports.forEach(function(t,e){var n=t.map(function(t){return t.name+" as "+t.as}).join(",");a.push("export {"+n+"} from '"+e+"';")}),o.importsWithPrefixes.forEach(function(t,e){a.push("import * as "+t+" from '"+e+"';")});var u=r?s.toSourceMapGenerator(t,a.length).toJsComment():"",c=a.concat([s.toSource(),u]);return u&&c.push(""),s.setPreambleLineCount(a.length),{sourceText:c.join("\n"),context:s}},t.prototype.emitStatements=function(t,e,n){return void 0===n&&(n=""),this.emitStatementsAndContext(t,e,n).sourceText}}(),function(t){function e(e){var n=t.call(this,!1)||this;return n.referenceFilter=e,n.typeExpression=0,n.importsWithPrefixes=new Map,n.reexports=new Map,n}return Object(Ni.b)(e,t),e.prototype.visitType=function(t,e,n){void 0===n&&(n="any"),t?(this.typeExpression++,t.visitType(this,e),this.typeExpression--):e.print(null,n)},e.prototype.visitLiteralExpr=function(e,n){var r=e.value;return null==r&&e.type!=Hc?(n.print(e,"("+r+" as any)"),null):t.prototype.visitLiteralExpr.call(this,e,n)},e.prototype.visitLiteralArrayExpr=function(e,n){0===e.entries.length&&n.print(e,"(");var r=t.prototype.visitLiteralArrayExpr.call(this,e,n);return 0===e.entries.length&&n.print(e," as any[])"),r},e.prototype.visitExternalExpr=function(t,e){return this._visitIdentifier(t.value,t.typeParams,e),null},e.prototype.visitAssertNotNullExpr=function(e,n){var r=t.prototype.visitAssertNotNullExpr.call(this,e,n);return n.print(e,"!"),r},e.prototype.visitDeclareVarStmt=function(t,e){if(t.hasModifier(ml.Exported)&&t.value instanceof tl&&!t.type){var n=t.value.value,r=n.name,i=n.moduleName;if(i){var o=this.reexports.get(i);return o||(o=[],this.reexports.set(i,o)),o.push({name:r,as:t.name}),null}}return t.hasModifier(ml.Exported)&&e.print(t,"export "),t.hasModifier(ml.Final)?e.print(t,"const"):e.print(t,"var"),e.print(t," "+t.name),this._printColonType(t.type,e),e.print(t," = "),t.value.visitExpression(this,e),e.println(t,";"),null},e.prototype.visitCastExpr=function(t,e){return e.print(t,"(<"),t.type.visitType(this,e),e.print(t,">"),t.value.visitExpression(this,e),e.print(t,")"),null},e.prototype.visitInstantiateExpr=function(t,e){return e.print(t,"new "),this.typeExpression++,t.classExpr.visitExpression(this,e),this.typeExpression--,e.print(t,"("),this.visitAllExpressions(t.args,e,","),e.print(t,")"),null},e.prototype.visitDeclareClassStmt=function(t,e){var n=this;return e.pushClass(t),t.hasModifier(ml.Exported)&&e.print(t,"export "),e.print(t,"class "+t.name),null!=t.parent&&(e.print(t," extends "),this.typeExpression++,t.parent.visitExpression(this,e),this.typeExpression--),e.println(t," {"),e.incIndent(),t.fields.forEach(function(t){return n._visitClassField(t,e)}),null!=t.constructorMethod&&this._visitClassConstructor(t,e),t.getters.forEach(function(t){return n._visitClassGetter(t,e)}),t.methods.forEach(function(t){return n._visitClassMethod(t,e)}),e.decIndent(),e.println(t,"}"),e.popClass(),null},e.prototype._visitClassField=function(t,e){t.hasModifier(ml.Private)&&e.print(null,"/*private*/ "),e.print(null,t.name),this._printColonType(t.type,e),e.println(null,";")},e.prototype._visitClassGetter=function(t,e){t.hasModifier(ml.Private)&&e.print(null,"private "),e.print(null,"get "+t.name+"()"),this._printColonType(t.type,e),e.println(null," {"),e.incIndent(),this.visitAllStatements(t.body,e),e.decIndent(),e.println(null,"}")},e.prototype._visitClassConstructor=function(t,e){e.print(t,"constructor("),this._visitParams(t.constructorMethod.params,e),e.println(t,") {"),e.incIndent(),this.visitAllStatements(t.constructorMethod.body,e),e.decIndent(),e.println(t,"}")},e.prototype._visitClassMethod=function(t,e){t.hasModifier(ml.Private)&&e.print(null,"private "),e.print(null,t.name+"("),this._visitParams(t.params,e),e.print(null,")"),this._printColonType(t.type,e,"void"),e.println(null," {"),e.incIndent(),this.visitAllStatements(t.body,e),e.decIndent(),e.println(null,"}")},e.prototype.visitFunctionExpr=function(t,e){return e.print(t,"("),this._visitParams(t.params,e),e.print(t,")"),this._printColonType(t.type,e,"void"),e.println(t," => {"),e.incIndent(),this.visitAllStatements(t.statements,e),e.decIndent(),e.print(t,"}"),null},e.prototype.visitDeclareFunctionStmt=function(t,e){return t.hasModifier(ml.Exported)&&e.print(t,"export "),e.print(t,"function "+t.name+"("),this._visitParams(t.params,e),e.print(t,")"),this._printColonType(t.type,e,"void"),e.println(t," {"),e.incIndent(),this.visitAllStatements(t.statements,e),e.decIndent(),e.println(t,"}"),null},e.prototype.visitTryCatchStmt=function(t,e){e.println(t,"try {"),e.incIndent(),this.visitAllStatements(t.bodyStmts,e),e.decIndent(),e.println(t,"} catch ("+Kl.name+") {"),e.incIndent();var n=[Ql.set(Kl.prop("stack",null)).toDeclStmt(null,[ml.Final])].concat(t.catchStmts);return this.visitAllStatements(n,e),e.decIndent(),e.println(t,"}"),null},e.prototype.visitBuiltintType=function(t,e){var n;switch(t.name){case Dc.Bool:n="boolean";break;case Dc.Dynamic:n="any";break;case Dc.Function:n="Function";break;case Dc.Number:case Dc.Int:n="number";break;case Dc.String:n="string";break;default:throw new Error("Unsupported builtin type "+t.name)}return e.print(null,n),null},e.prototype.visitExpressionType=function(t,e){return t.value.visitExpression(this,e),null},e.prototype.visitArrayType=function(t,e){return this.visitType(t.of,e),e.print(null,"[]"),null},e.prototype.visitMapType=function(t,e){return e.print(null,"{[key: string]:"),this.visitType(t.valueType,e),e.print(null,"}"),null},e.prototype.getBuiltinMethodName=function(t){var e;switch(t){case Qc.ConcatArray:e="concat";break;case Qc.SubscribeObservable:e="subscribe";break;case Qc.Bind:e="bind";break;default:throw new Error("Unknown builtin method: "+t)}return e},e.prototype._visitParams=function(t,e){var n=this;this.visitAllObjects(function(t){e.print(null,t.name),n._printColonType(t.type,e)},t,e,",")},e.prototype._visitIdentifier=function(t,e,n){var r=this,i=t.name,o=t.moduleName;if(this.referenceFilter&&this.referenceFilter(t))return void n.print(null,"(null as any)");if(o){var s=this.importsWithPrefixes.get(o);null==s&&(s="i"+this.importsWithPrefixes.size,this.importsWithPrefixes.set(o,s)),n.print(null,s+".")}if(n.print(null,i),this.typeExpression>0){(e||[]).length>0&&(n.print(null,"<"),this.visitAllObjects(function(t){return t.visitType(r,n)},e,n,","),n.print(null,">"))}},e.prototype._printColonType=function(t,e,n){t!==Hc&&(e.print(null,":"),this.visitType(t,e,n))},e}(Jl)),tp=function(){function t(t){this._reflector=t}return t.prototype.isPipe=function(t){var e=this._reflector.annotations(A(t));return e&&e.some(qi.isTypeOf)},t.prototype.resolve=function(t,e){void 0===e&&(e=!0);var n=this._reflector.annotations(A(t));if(n){var r=pt(n,qi.isTypeOf);if(r)return r}if(e)throw new Error("No Pipe decorator found on "+M(t));return null},t}(),ep={};Bn(io.HTML,["iframe|srcdoc","*|innerHTML","*|outerHTML"]),Bn(io.STYLE,["*|style"]),Bn(io.URL,["*|formAction","area|href","area|ping","audio|src","a|href","a|ping","blockquote|cite","body|background","del|cite","form|action","img|src","img|srcset","input|src","ins|cite","q|cite","source|src","source|srcset","track|src","video|poster","video|src"]),Bn(io.RESOURCE_URL,["applet|code","applet|codebase","base|href","embed|src","frame|src","head|profile","html|manifest","iframe|src","link|href","media|src","object|codebase","object|data","script|src"]);var np=function(){function t(){}return t}(),rp="boolean",ip="number",op="string",sp="object",ap=["[Element]|textContent,%classList,className,id,innerHTML,*beforecopy,*beforecut,*beforepaste,*copy,*cut,*paste,*search,*selectstart,*webkitfullscreenchange,*webkitfullscreenerror,*wheel,outerHTML,#scrollLeft,#scrollTop,slot,*message,*mozfullscreenchange,*mozfullscreenerror,*mozpointerlockchange,*mozpointerlockerror,*webglcontextcreationerror,*webglcontextlost,*webglcontextrestored","[HTMLElement]^[Element]|accessKey,contentEditable,dir,!draggable,!hidden,innerText,lang,*abort,*auxclick,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*cuechange,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*seeked,*seeking,*select,*show,*stalled,*submit,*suspend,*timeupdate,*toggle,*volumechange,*waiting,outerText,!spellcheck,%style,#tabIndex,title,!translate","abbr,address,article,aside,b,bdi,bdo,cite,code,dd,dfn,dt,em,figcaption,figure,footer,header,i,kbd,main,mark,nav,noscript,rb,rp,rt,rtc,ruby,s,samp,section,small,strong,sub,sup,u,var,wbr^[HTMLElement]|accessKey,contentEditable,dir,!draggable,!hidden,innerText,lang,*abort,*auxclick,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*cuechange,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*seeked,*seeking,*select,*show,*stalled,*submit,*suspend,*timeupdate,*toggle,*volumechange,*waiting,outerText,!spellcheck,%style,#tabIndex,title,!translate","media^[HTMLElement]|!autoplay,!controls,%controlsList,%crossOrigin,#currentTime,!defaultMuted,#defaultPlaybackRate,!disableRemotePlayback,!loop,!muted,*encrypted,*waitingforkey,#playbackRate,preload,src,%srcObject,#volume",":svg:^[HTMLElement]|*abort,*auxclick,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*cuechange,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*seeked,*seeking,*select,*show,*stalled,*submit,*suspend,*timeupdate,*toggle,*volumechange,*waiting,%style,#tabIndex",":svg:graphics^:svg:|",":svg:animation^:svg:|*begin,*end,*repeat",":svg:geometry^:svg:|",":svg:componentTransferFunction^:svg:|",":svg:gradient^:svg:|",":svg:textContent^:svg:graphics|",":svg:textPositioning^:svg:textContent|","a^[HTMLElement]|charset,coords,download,hash,host,hostname,href,hreflang,name,password,pathname,ping,port,protocol,referrerPolicy,rel,rev,search,shape,target,text,type,username","area^[HTMLElement]|alt,coords,download,hash,host,hostname,href,!noHref,password,pathname,ping,port,protocol,referrerPolicy,rel,search,shape,target,username","audio^media|","br^[HTMLElement]|clear","base^[HTMLElement]|href,target","body^[HTMLElement]|aLink,background,bgColor,link,*beforeunload,*blur,*error,*focus,*hashchange,*languagechange,*load,*message,*offline,*online,*pagehide,*pageshow,*popstate,*rejectionhandled,*resize,*scroll,*storage,*unhandledrejection,*unload,text,vLink","button^[HTMLElement]|!autofocus,!disabled,formAction,formEnctype,formMethod,!formNoValidate,formTarget,name,type,value","canvas^[HTMLElement]|#height,#width","content^[HTMLElement]|select","dl^[HTMLElement]|!compact","datalist^[HTMLElement]|","details^[HTMLElement]|!open","dialog^[HTMLElement]|!open,returnValue","dir^[HTMLElement]|!compact","div^[HTMLElement]|align","embed^[HTMLElement]|align,height,name,src,type,width","fieldset^[HTMLElement]|!disabled,name","font^[HTMLElement]|color,face,size","form^[HTMLElement]|acceptCharset,action,autocomplete,encoding,enctype,method,name,!noValidate,target","frame^[HTMLElement]|frameBorder,longDesc,marginHeight,marginWidth,name,!noResize,scrolling,src","frameset^[HTMLElement]|cols,*beforeunload,*blur,*error,*focus,*hashchange,*languagechange,*load,*message,*offline,*online,*pagehide,*pageshow,*popstate,*rejectionhandled,*resize,*scroll,*storage,*unhandledrejection,*unload,rows","hr^[HTMLElement]|align,color,!noShade,size,width","head^[HTMLElement]|","h1,h2,h3,h4,h5,h6^[HTMLElement]|align","html^[HTMLElement]|version","iframe^[HTMLElement]|align,!allowFullscreen,frameBorder,height,longDesc,marginHeight,marginWidth,name,referrerPolicy,%sandbox,scrolling,src,srcdoc,width","img^[HTMLElement]|align,alt,border,%crossOrigin,#height,#hspace,!isMap,longDesc,lowsrc,name,referrerPolicy,sizes,src,srcset,useMap,#vspace,#width","input^[HTMLElement]|accept,align,alt,autocapitalize,autocomplete,!autofocus,!checked,!defaultChecked,defaultValue,dirName,!disabled,%files,formAction,formEnctype,formMethod,!formNoValidate,formTarget,#height,!incremental,!indeterminate,max,#maxLength,min,#minLength,!multiple,name,pattern,placeholder,!readOnly,!required,selectionDirection,#selectionEnd,#selectionStart,#size,src,step,type,useMap,value,%valueAsDate,#valueAsNumber,#width","li^[HTMLElement]|type,#value","label^[HTMLElement]|htmlFor","legend^[HTMLElement]|align","link^[HTMLElement]|as,charset,%crossOrigin,!disabled,href,hreflang,integrity,media,referrerPolicy,rel,%relList,rev,%sizes,target,type","map^[HTMLElement]|name","marquee^[HTMLElement]|behavior,bgColor,direction,height,#hspace,#loop,#scrollAmount,#scrollDelay,!trueSpeed,#vspace,width","menu^[HTMLElement]|!compact","meta^[HTMLElement]|content,httpEquiv,name,scheme","meter^[HTMLElement]|#high,#low,#max,#min,#optimum,#value","ins,del^[HTMLElement]|cite,dateTime","ol^[HTMLElement]|!compact,!reversed,#start,type","object^[HTMLElement]|align,archive,border,code,codeBase,codeType,data,!declare,height,#hspace,name,standby,type,useMap,#vspace,width","optgroup^[HTMLElement]|!disabled,label","option^[HTMLElement]|!defaultSelected,!disabled,label,!selected,text,value","output^[HTMLElement]|defaultValue,%htmlFor,name,value","p^[HTMLElement]|align","param^[HTMLElement]|name,type,value,valueType","picture^[HTMLElement]|","pre^[HTMLElement]|#width","progress^[HTMLElement]|#max,#value","q,blockquote,cite^[HTMLElement]|","script^[HTMLElement]|!async,charset,%crossOrigin,!defer,event,htmlFor,integrity,src,text,type","select^[HTMLElement]|!autofocus,!disabled,#length,!multiple,name,!required,#selectedIndex,#size,value","shadow^[HTMLElement]|","slot^[HTMLElement]|name","source^[HTMLElement]|media,sizes,src,srcset,type","span^[HTMLElement]|","style^[HTMLElement]|!disabled,media,type","caption^[HTMLElement]|align","th,td^[HTMLElement]|abbr,align,axis,bgColor,ch,chOff,#colSpan,headers,height,!noWrap,#rowSpan,scope,vAlign,width","col,colgroup^[HTMLElement]|align,ch,chOff,#span,vAlign,width","table^[HTMLElement]|align,bgColor,border,%caption,cellPadding,cellSpacing,frame,rules,summary,%tFoot,%tHead,width","tr^[HTMLElement]|align,bgColor,ch,chOff,vAlign","tfoot,thead,tbody^[HTMLElement]|align,ch,chOff,vAlign","template^[HTMLElement]|","textarea^[HTMLElement]|autocapitalize,!autofocus,#cols,defaultValue,dirName,!disabled,#maxLength,#minLength,name,placeholder,!readOnly,!required,#rows,selectionDirection,#selectionEnd,#selectionStart,value,wrap","title^[HTMLElement]|text","track^[HTMLElement]|!default,kind,label,src,srclang","ul^[HTMLElement]|!compact,type","unknown^[HTMLElement]|","video^media|#height,poster,#width",":svg:a^:svg:graphics|",":svg:animate^:svg:animation|",":svg:animateMotion^:svg:animation|",":svg:animateTransform^:svg:animation|",":svg:circle^:svg:geometry|",":svg:clipPath^:svg:graphics|",":svg:defs^:svg:graphics|",":svg:desc^:svg:|",":svg:discard^:svg:|",":svg:ellipse^:svg:geometry|",":svg:feBlend^:svg:|",":svg:feColorMatrix^:svg:|",":svg:feComponentTransfer^:svg:|",":svg:feComposite^:svg:|",":svg:feConvolveMatrix^:svg:|",":svg:feDiffuseLighting^:svg:|",":svg:feDisplacementMap^:svg:|",":svg:feDistantLight^:svg:|",":svg:feDropShadow^:svg:|",":svg:feFlood^:svg:|",":svg:feFuncA^:svg:componentTransferFunction|",":svg:feFuncB^:svg:componentTransferFunction|",":svg:feFuncG^:svg:componentTransferFunction|",":svg:feFuncR^:svg:componentTransferFunction|",":svg:feGaussianBlur^:svg:|",":svg:feImage^:svg:|",":svg:feMerge^:svg:|",":svg:feMergeNode^:svg:|",":svg:feMorphology^:svg:|",":svg:feOffset^:svg:|",":svg:fePointLight^:svg:|",":svg:feSpecularLighting^:svg:|",":svg:feSpotLight^:svg:|",":svg:feTile^:svg:|",":svg:feTurbulence^:svg:|",":svg:filter^:svg:|",":svg:foreignObject^:svg:graphics|",":svg:g^:svg:graphics|",":svg:image^:svg:graphics|",":svg:line^:svg:geometry|",":svg:linearGradient^:svg:gradient|",":svg:mpath^:svg:|",":svg:marker^:svg:|",":svg:mask^:svg:|",":svg:metadata^:svg:|",":svg:path^:svg:geometry|",":svg:pattern^:svg:|",":svg:polygon^:svg:geometry|",":svg:polyline^:svg:geometry|",":svg:radialGradient^:svg:gradient|",":svg:rect^:svg:geometry|",":svg:svg^:svg:graphics|#currentScale,#zoomAndPan",":svg:script^:svg:|type",":svg:set^:svg:animation|",":svg:stop^:svg:|",":svg:style^:svg:|!disabled,media,title,type",":svg:switch^:svg:graphics|",":svg:symbol^:svg:|",":svg:tspan^:svg:textPositioning|",":svg:text^:svg:textPositioning|",":svg:textPath^:svg:textContent|",":svg:title^:svg:|",":svg:use^:svg:graphics|",":svg:view^:svg:|#zoomAndPan","data^[HTMLElement]|value","keygen^[HTMLElement]|!autofocus,challenge,!disabled,form,keytype,name","menuitem^[HTMLElement]|type,label,icon,!disabled,!checked,radiogroup,!default","summary^[HTMLElement]|","time^[HTMLElement]|dateTime",":svg:cursor^:svg:|"],up={class:"className",for:"htmlFor",formaction:"formAction",innerHtml:"innerHTML",readonly:"readOnly",tabindex:"tabIndex"},cp=function(t){function e(){var e=t.call(this)||this;return e._schema={},ap.forEach(function(t){var n={},r=t.split("|"),i=r[0],o=r[1],s=o.split(","),a=i.split("^"),u=a[0],c=a[1];u.split(",").forEach(function(t){return e._schema[t.toLowerCase()]=n});var l=c&&e._schema[c.toLowerCase()];l&&Object.keys(l).forEach(function(t){n[t]=l[t]}),s.forEach(function(t){if(t.length>0)switch(t[0]){case"*":break;case"!":n[t.substring(1)]=rp;break;case"#":n[t.substring(1)]=ip;break;case"%":n[t.substring(1)]=sp;break;default:n[t]=op}})}),e}return Object(Ni.b)(e,t),e.prototype.hasProperty=function(t,e,n){if(n.some(function(t){return t.name===Xi.name}))return!0;if(t.indexOf("-")>-1){if(rt(t)||it(t))return!1;if(n.some(function(t){return t.name===$i.name}))return!0}return!!(this._schema[t.toLowerCase()]||this._schema.unknown)[e]},e.prototype.hasElement=function(t,e){if(e.some(function(t){return t.name===Xi.name}))return!0;if(t.indexOf("-")>-1){if(rt(t)||it(t))return!0;if(e.some(function(t){return t.name===$i.name}))return!0}return!!this._schema[t.toLowerCase()]},e.prototype.securityContext=function(t,e,n){n&&(e=this.getMappedPropName(e)),t=t.toLowerCase(),e=e.toLowerCase();var r=ep[t+"|"+e];return r||((r=ep["*|"+e])||io.NONE)},e.prototype.getMappedPropName=function(t){return up[t]||t},e.prototype.getDefaultComponentElementName=function(){return"ng-component"},e.prototype.validateProperty=function(t){if(t.toLowerCase().startsWith("on")){return{error:!0,msg:"Binding to event property '"+t+"' is disallowed for security reasons, please use ("+t.slice(2)+")=...\nIf '"+t+"' is a directive input, make sure the directive is imported by the current module."}}return{error:!1}},e.prototype.validateAttribute=function(t){if(t.toLowerCase().startsWith("on")){return{error:!0,msg:"Binding to event attribute '"+t+"' is disallowed for security reasons, please use ("+t.slice(2)+")=..."}}return{error:!1}},e.prototype.allKnownElementNames=function(){return Object.keys(this._schema)},e.prototype.normalizeAnimationStyleProperty=function(t){return _(t)},e.prototype.normalizeAnimationStyleValue=function(t,e,n){var r="",i=n.toString().trim(),o=null;if(Un(t)&&0!==n&&"0"!==n)if("number"==typeof n)r="px";else{var s=n.match(/^[+-]?[\d\.]+([a-z]*)$/);s&&0==s[1].length&&(o="Please provide a CSS unit value for "+e+":"+n)}return{error:o,value:i+r}},e}(np),lp=function(){function t(){this.strictStyling=!0}return t.prototype.shimCssText=function(t,e,n){void 0===n&&(n="");var r=qn(t);return t=zn(t),t=this._insertDirectives(t),this._scopeCssText(t,e,n)+r},t.prototype._insertDirectives=function(t){return t=this._insertPolyfillDirectivesInCssText(t),this._insertPolyfillRulesInCssText(t)},t.prototype._insertPolyfillDirectivesInCssText=function(t){return t.replace(hp,function(){for(var t=[],e=0;e-1?this._colonHostPartReplacer(t,e,n):t+e+n+", "+e+" "+t+n},t.prototype._colonHostPartReplacer=function(t,e,n){return t+e.replace(vp,"")+n},t.prototype._convertShadowDOMSelectors=function(t){return Ep.reduce(function(t,e){return t.replace(e," ")},t)},t.prototype._scopeSelectors=function(t,e,n){var r=this;return Wn(t,function(t){var i=t.selector,o=t.content;return"@"!=t.selector[0]?i=r._scopeSelector(t.selector,e,n,r.strictStyling):(t.selector.startsWith("@media")||t.selector.startsWith("@supports")||t.selector.startsWith("@page")||t.selector.startsWith("@document"))&&(o=r._scopeSelectors(t.content,e,n)),new Rp(i,o)})},t.prototype._scopeSelector=function(t,e,n,r){var i=this;return t.split(",").map(function(t){return t.trim().split(Cp)}).map(function(t){var o=t[0],s=t.slice(1);return[function(t){return i._selectorNeedsScoping(t,e)?r?i._applyStrictSelectorScope(t,e,n):i._applySelectorScope(t,e,n):t}(o)].concat(s).join(" ")}).join(", ")},t.prototype._selectorNeedsScoping=function(t,e){return!this._makeScopeMatcher(e).test(t)},t.prototype._makeScopeMatcher=function(t){var e=/\[/g,n=/\]/g;return t=t.replace(e,"\\[").replace(n,"\\]"),new RegExp("^("+t+")"+xp,"m")},t.prototype._applySelectorScope=function(t,e,n){return this._applySimpleSelectorScope(t,e,n)},t.prototype._applySimpleSelectorScope=function(t,e,n){if(Sp.lastIndex=0,Sp.test(t)){var r=this.strictStyling?"["+n+"]":e;return t.replace(wp,function(t,e){return e.replace(/([^:]*)(:*)(.*)/,function(t,e,n,i){return e+r+n+i})}).replace(Sp,r+" ")}return e+" "+t},t.prototype._applyStrictSelectorScope=function(t,e,n){var r=this,i=/\[is=([^\]]*)\]/g;e=e.replace(i,function(t){for(var e=[],n=1;n-1)i=r._applySimpleSelectorScope(t,e,n);else{var s=t.replace(Sp,"");if(s.length>0){var a=s.match(/([^:]*)(:*)(.*)/);a&&(i=a[1]+o+a[2]+a[3])}}return i},a=new pp(t);t=a.content();for(var u,c="",l=0,p=/( |>|\+|~(?!=))\s*/g,h=t.indexOf(bp)>-1,f=!h;null!==(u=p.exec(t));){var d=u[1],v=t.slice(l,u.index).trim();f=f||v.indexOf(bp)>-1;c+=(f?s(v):v)+" "+d+" ",l=p.lastIndex}var y=t.substring(l);return f=f||y.indexOf(bp)>-1,c+=f?s(y):y,a.restore(c)},t.prototype._insertPolyfillHostInCssText=function(t){return t.replace(Pp,yp).replace(Tp,vp)},t}(),pp=function(){function t(t){var e=this;this.placeholders=[],this.index=0,t=t.replace(/(\[[^\]]*\])/g,function(t,n){var r="__ph-"+e.index+"__";return e.placeholders.push(n),e.index++,r}),this._content=t.replace(/(:nth-[-\w]+)(\([^)]+\))/g,function(t,n,r){var i="__ph-"+e.index+"__";return e.placeholders.push(r),e.index++,n+i})}return t.prototype.restore=function(t){var e=this;return t.replace(/__ph-(\d+)__/g,function(t,n){return e.placeholders[+n]})},t.prototype.content=function(){return this._content},t}(),hp=/polyfill-next-selector[^}]*content:[\s]*?(['"])(.*?)\1[;\s]*}([^{]*?){/gim,fp=/(polyfill-rule)[^}]*(content:[\s]*(['"])(.*?)\3)[;\s]*[^}]*}/gim,dp=/(polyfill-unscoped-rule)[^}]*(content:[\s]*(['"])(.*?)\3)[;\s]*[^}]*}/gim,vp="-shadowcsshost",yp="-shadowcsscontext",mp=")(?:\\(((?:\\([^)(]*\\)|[^)(]*)+?)\\))?([^,{]*)",gp=new RegExp("("+vp+mp,"gim"),_p=new RegExp("("+yp+mp,"gim"),bp=vp+"-no-combinator",wp=/-shadowcsshost-no-combinator([^\s]*)/,Ep=[/::shadow/g,/::content/g,/\/shadow-deep\//g,/\/shadow\//g],Cp=/(?:>>>)|(?:\/deep\/)|(?:::ng-deep)/g,xp="([>\\s~+[.,{:][\\s\\S]*)?$",Sp=/-shadowcsshost/gim,Tp=/:host/gim,Pp=/:host-context/gim,Op=/\/\*\s*[\s\S]*?\*\//g,kp=/\/\*\s*#\s*sourceMappingURL=[\s\S]+?\*\//,Mp=/(\s*)([^;\{\}]+?)(\s*)((?:{%BLOCK%}?\s*;?)|(?:\s*;))/g,Ap=/([{}])/g,Np="{",Ip="}",Dp="%BLOCK%",Rp=function(){function t(t,e){this.selector=t,this.content=e}return t}(),jp=function(){function t(t,e){this.escapedString=t,this.blocks=e}return t}(),Fp=function(){function t(t,e,n){this.name=t,this.moduleUrl=e,this.setValue=n}return t}(),Lp=function(){function t(t,e,n,r,i){this.outputCtx=t,this.stylesVar=e,this.dependencies=n,this.isShimmed=r,this.meta=i}return t}(),Vp=function(){function t(t){this._urlResolver=t,this._shadowCss=new lp}return t.prototype.compileComponent=function(t,e){var n=e.template;return this._compileStyles(t,e,new zo({styles:n.styles,styleUrls:n.styleUrls,moduleUrl:F(e.type)}),this.needsStyleShim(e),!0)},t.prototype.compileStyles=function(t,e,n,r){return void 0===r&&(r=this.needsStyleShim(e)),this._compileStyles(t,e,n,r,!1)},t.prototype.needsStyleShim=function(t){return t.template.encapsulation===Bi.Emulated},t.prototype._compileStyles=function(t,e,n,r,i){var o=this,s=n.styles.map(function(t){return _n(o._shimIfNeeded(t,r))}),a=[];n.styleUrls.forEach(function(e){var n=s.length;s.push(null),a.push(new Fp(Zn(null),e,function(e){return s[n]=t.importExpr(e)}))});var u=Zn(i?e:null),c=ln(u).set(dn(s,new Fc(Vc,[Nc.Const]))).toDeclStmt(null,i?[ml.Final]:[ml.Final,ml.Exported]);return t.statements.push(c),new Lp(t,u,a,r,n)},t.prototype._shimIfNeeded=function(t,e){return e?this._shadowCss.shimCssText(t,"_ngcontent-%COMP%","_nghost-%COMP%"):t},t}(),Hp="ngPreserveWhitespaces",Bp=new Set(["pre","template","textarea","script","style"]),Up=" \f\n\r\t\v ᠎ - \u2028\u2029   \ufeff",zp=new RegExp("[^"+Up+"]"),qp=new RegExp("["+Up+"]{2,}","g"),Wp=function(){function t(){}return t.prototype.visitElement=function(t,e){return Bp.has(t.name)||Kn(t.attrs)?new ts(t.name,X(this,t.attrs),t.children,t.sourceSpan,t.startSourceSpan,t.endSourceSpan):new ts(t.name,t.attrs,X(this,t.children),t.sourceSpan,t.startSourceSpan,t.endSourceSpan)},t.prototype.visitAttribute=function(t,e){return t.name!==Hp?t:null},t.prototype.visitText=function(t,e){return t.value.match(zp)?new $o(Qn(t.value).replace(qp," "),t.sourceSpan):null},t.prototype.visitComment=function(t,e){return t},t.prototype.visitExpansion=function(t,e){return t},t.prototype.visitExpansionCase=function(t,e){return t},t}(),Gp=["zero","one","two","few","many","other"],Zp=function(){function t(t,e,n){this.nodes=t,this.expanded=e,this.errors=n}return t}(),Kp=function(t){function e(e,n){return t.call(this,e,n)||this}return Object(Ni.b)(e,t),e}($a),Qp=function(){function t(){this.isExpanded=!1,this.errors=[]}return t.prototype.visitElement=function(t,e){return new ts(t.name,t.attrs,X(this,t.children),t.sourceSpan,t.startSourceSpan,t.endSourceSpan)},t.prototype.visitAttribute=function(t,e){return t},t.prototype.visitText=function(t,e){return t},t.prototype.visitComment=function(t,e){return t},t.prototype.visitExpansion=function(t,e){return this.isExpanded=!0,"plural"==t.type?Jn(t,this.errors):Yn(t,this.errors)},t.prototype.visitExpansionCase=function(t,e){throw new Error("Should not be reached")},t}(),$p={DEFAULT:0,LITERAL_ATTR:1,ANIMATION:2};$p[$p.DEFAULT]="DEFAULT",$p[$p.LITERAL_ATTR]="LITERAL_ATTR",$p[$p.ANIMATION]="ANIMATION";var Xp=function(){function t(t,e,n,r){this.name=t,this.expression=e,this.type=n,this.sourceSpan=r,this.isLiteral=this.type===$p.LITERAL_ATTR,this.isAnimation=this.type===$p.ANIMATION}return t}(),Jp=function(){function t(t,e,n,r,i){var o=this;this._exprParser=t,this._interpolationConfig=e,this._schemaRegistry=n,this._targetErrors=i,this.pipesByName=new Map,this._usedPipes=new Map,r.forEach(function(t){return o.pipesByName.set(t.name,t)})}return t.prototype.getUsedPipes=function(){return Array.from(this._usedPipes.values())},t.prototype.createDirectiveHostPropertyAsts=function(t,e,n){var r=this;if(t.hostProperties){var i=[];return Object.keys(t.hostProperties).forEach(function(e){var o=t.hostProperties[e];"string"==typeof o?r.parsePropertyBinding(e,o,!0,n,[],i):r._reportError('Value of the host property binding "'+e+'" needs to be a string representing an expression but got "'+o+'" ('+typeof o+")",n)}),i.map(function(t){return r.createElementPropertyAst(e,t)})}return null},t.prototype.createDirectiveHostEventAsts=function(t,e){var n=this;if(t.hostListeners){var r=[];return Object.keys(t.hostListeners).forEach(function(i){var o=t.hostListeners[i];"string"==typeof o?n.parseEvent(i,o,e,[],r):n._reportError('Value of the host listener "'+i+'" needs to be a string representing an expression but got "'+o+'" ('+typeof o+")",e)}),r}return null},t.prototype.parseInterpolation=function(t,e){var n=e.start.toString();try{var r=this._exprParser.parseInterpolation(t,n,this._interpolationConfig);return r&&this._reportExpressionParserErrors(r.errors,e),this._checkPipes(r,e),r}catch(t){return this._reportError(""+t,e),this._exprParser.wrapLiteralPrimitive("ERROR",n)}},t.prototype.parseInlineTemplateBinding=function(t,e,n,r,i,o){for(var s=this._parseTemplateBindings(t,e,n),a=0;a1)if("attr"==o[0]){i=o[1],this._validatePropertyOrAttributeName(i,e.sourceSpan,!0),s=er(this._schemaRegistry,t,i,!0);var a=i.indexOf(":");if(a>-1){var u=i.substring(0,a),c=i.substring(a+1);i=at(u,c)}r=Ro.Attribute}else"class"==o[0]?(i=o[1],r=Ro.Class,s=[io.NONE]):"style"==o[0]&&(n=o.length>2?o[2]:null,i=o[1],r=Ro.Style,s=[io.STYLE]);return null===i&&(i=this._schemaRegistry.getMappedPropName(e.name),s=er(this._schemaRegistry,t,i,!1),r=Ro.Property,this._validatePropertyOrAttributeName(i,e.sourceSpan,!1)),new xo(i,r,s[0],e.expression,n,e.sourceSpan)},t.prototype.parseEvent=function(t,e,n,r,i){tr(t)?(t=t.substr(1),this._parseAnimationEvent(t,e,n,i)):this._parseEvent(t,e,n,r,i)},t.prototype._parseAnimationEvent=function(t,e,n,r){var i=w(t,[t,""]),o=i[0],s=i[1].toLowerCase();if(s)switch(s){case"start":case"done":var a=this._parseAction(e,n);r.push(new So(o,null,s,a,n));break;default:this._reportError('The provided animation output phase value "'+s+'" for "@'+o+'" is not supported (use start or done)',n)}else this._reportError("The animation trigger output event (@"+o+") is missing its phase value name (start or done are currently supported)",n)},t.prototype._parseEvent=function(t,e,n,r,i){var o=b(t,[null,t]),s=o[0],a=o[1],u=this._parseAction(e,n);r.push([t,u.source]),i.push(new So(a,s,null,u,n))},t.prototype._parseAction=function(t,e){var n=e.start.toString();try{var r=this._exprParser.parseAction(t,n,this._interpolationConfig);return r&&this._reportExpressionParserErrors(r.errors,e),!r||r.ast instanceof ma?(this._reportError("Empty expressions are not allowed",e),this._exprParser.wrapLiteralPrimitive("ERROR",n)):(this._checkPipes(r,e),r)}catch(t){return this._reportError(""+t,e),this._exprParser.wrapLiteralPrimitive("ERROR",n)}},t.prototype._reportError=function(t,e,n){void 0===n&&(n=Qa.ERROR),this._targetErrors.push(new $a(e,t,n))},t.prototype._reportExpressionParserErrors=function(t,e){for(var n=0,r=t;n element is deprecated. Use instead",oh={},sh=function(t){function e(e,n,r){return t.call(this,n,e,r)||this}return Object(Ni.b)(e,t),e}($a),ah=function(){function t(t,e,n){this.templateAst=t,this.usedPipes=e,this.errors=n}return t}(),uh=function(){function t(t,e,n,r,i,o,s){this._config=t,this._reflector=e,this._exprParser=n,this._schemaRegistry=r,this._htmlParser=i,this._console=o,this.transforms=s}return t.prototype.parse=function(t,e,n,r,i,o,s){var a=this.tryParse(t,e,n,r,i,o,s),u=a.errors.filter(function(t){return t.level===Qa.WARNING}).filter(nr(["The template attribute is deprecated. Use an ng-template element instead.",ih])),c=a.errors.filter(function(t){return t.level===Qa.ERROR});if(u.length>0&&this._console.warn("Template parse warnings:\n"+u.join("\n")),c.length>0){throw T("Template parse errors:\n"+c.join("\n"),c)}return{template:a.templateAst,pipes:a.usedPipes}},t.prototype.tryParse=function(t,e,n,r,i,o,s){var a="string"==typeof e?this._htmlParser.parse(e,o,!0,this.getInterpolationConfig(t)):e;return s||(a=$n(a)),this.tryParseHtml(this.expandHtml(a),t,n,r,i)},t.prototype.tryParseHtml=function(t,e,n,r,i){var o,s=t.errors,a=[];if(t.rootNodes.length>0){var u=ar(n),c=ar(r),l=new Rl(this._reflector,e),p=void 0;e.template&&e.template.interpolation&&(p={start:e.template.interpolation[0],end:e.template.interpolation[1]});var h=new Jp(this._exprParser,p,this._schemaRegistry,c,s),f=new ch(this._reflector,this._config,l,u,h,this._schemaRegistry,i,s);o=X(f,t.rootNodes,fh),s.push.apply(s,l.errors),a.push.apply(a,h.getUsedPipes())}else o=[];return this._assertNoReferenceDuplicationOnTemplate(o,s),s.length>0?new ah(o,a,s):(this.transforms&&this.transforms.forEach(function(t){o=I(t,o)}),new ah(o,a,s))},t.prototype.expandHtml=function(t,e){void 0===e&&(e=!1);var n=t.errors;if(0==n.length||e){var r=Xn(t.rootNodes);n.push.apply(n,r.errors),t=new ou(r.nodes,n)}return t},t.prototype.getInterpolationConfig=function(t){if(t.template)return rs.fromArray(t.template.interpolation)},t.prototype._assertNoReferenceDuplicationOnTemplate=function(t,e){var n=[];t.filter(function(t){return!!t.references}).forEach(function(t){return t.references.forEach(function(t){var r=t.name;if(n.indexOf(r)<0)n.push(r);else{var i=new sh('Reference "#'+r+'" is defined several times',t.sourceSpan,Qa.ERROR);e.push(i)}})})},t}(),ch=function(){function t(t,e,n,r,i,o,s,a){var u=this;this.reflector=t,this.config=e,this.providerViewContext=n,this._bindingParser=i,this._schemaRegistry=o,this._schemas=s,this._targetErrors=a,this.selectorMatcher=new Tc,this.directivesIndex=new Map,this.ngContentCount=0,this.contentQueryStartId=n.component.viewQueries.length+1,r.forEach(function(t,e){var n=Sc.parse(t.selector);u.selectorMatcher.addSelectables(n,t),u.directivesIndex.set(t,e)})}return t.prototype.visitExpansion=function(t,e){return null},t.prototype.visitExpansionCase=function(t,e){return null},t.prototype.visitText=function(t,e){var n=e.findNgContentIndex(rh),r=Qn(t.value),i=this._bindingParser.parseInterpolation(r,t.sourceSpan);return i?new Eo(i,n,t.sourceSpan):new wo(r,n,t.sourceSpan)},t.prototype.visitAttribute=function(t,e){return new Co(t.name,t.value,t.sourceSpan)},t.prototype.visitComment=function(t,e){return null},t.prototype.visitElement=function(t,e){var n=this,r=this.contentQueryStartId,i=t.name,o=ut(t);if(o.type===ws.SCRIPT||o.type===ws.STYLE)return null;if(o.type===ws.STYLESHEET&&tt(o.hrefAttr))return null;var s=[],a=[],u=[],c=[],l=[],p=[],h=[],f=[],d=!1,v=[],y=cr(t,this.config.enableLegacyTemplate,function(t,e){return n._reportError(t,e,Qa.WARNING)});t.attrs.forEach(function(t){var e,r,i=n._parseAttr(y,t,s,a,l,u,c),o=n._normalizeAttributeName(t.name);n.config.enableLegacyTemplate&&"template"==o?(n._reportError("The template attribute is deprecated. Use an ng-template element instead.",t.sourceSpan,Qa.WARNING),e=t.value):o.startsWith("*")&&(e=t.value,r=o.substring("*".length)+":");var m=null!=e;m&&(d&&n._reportError("Can't have multiple template bindings on one element. Use only one attribute named 'template' or prefixed with *",t.sourceSpan),d=!0,n._bindingParser.parseInlineTemplateBinding(r,e,t.sourceSpan,h,p,f)),i||m||(v.push(n.visitAttribute(t,null)),s.push([t.name,t.value]))});var m=or(i,s),g=this._parseDirectives(this.selectorMatcher,m),_=g.directives,b=g.matchElement,w=[],E=new Set,C=this._createDirectiveAsts(y,t.name,_,a,u,t.sourceSpan,w,E),x=this._createElementPropertyAsts(t.name,a,E),S=e.isTemplateElement||d,T=new jl(this.providerViewContext,e.providerContext,S,C,v,w,y,r,t.sourceSpan),P=X(o.nonBindable?dh:this,t.children,hh.create(y,C,y?e.providerContext:T));T.afterElement();var O,k=null!=o.projectAs?Sc.parse(o.projectAs)[0]:m,M=e.findNgContentIndex(k);if(o.type===ws.NG_CONTENT)t.children&&!t.children.every(sr)&&this._reportError(" element cannot have content.",t.sourceSpan),O=new Do(this.ngContentCount++,d?null:M,t.sourceSpan);else if(y)this._assertAllEventsPublishedByDirectives(C,l),this._assertNoComponentsNorElementBindingsOnTemplate(C,x,t.sourceSpan),O=new ko(v,l,w,c,T.transformedDirectiveAsts,T.transformProviders,T.transformedHasViewContainer,T.queryMatches,P,d?null:M,t.sourceSpan);else{this._assertElementExists(b,t),this._assertOnlyOneComponent(C,t.sourceSpan);var A=d?null:e.findNgContentIndex(k);O=new Oo(i,v,x,l,w,T.transformedDirectiveAsts,T.transformProviders,T.transformedHasViewContainer,T.queryMatches,P,d?null:A,t.sourceSpan,t.endSourceSpan||null)}if(d){var N=this.contentQueryStartId,I=or(eh,h),D=this._parseDirectives(this.selectorMatcher,I).directives,R=new Set,j=this._createDirectiveAsts(!0,t.name,D,p,[],t.sourceSpan,[],R),F=this._createElementPropertyAsts(t.name,p,R);this._assertNoComponentsNorElementBindingsOnTemplate(j,F,t.sourceSpan);var L=new jl(this.providerViewContext,e.providerContext,e.isTemplateElement,j,[],[],!0,N,t.sourceSpan);L.afterElement(),O=new ko([],[],[],f,L.transformedDirectiveAsts,L.transformProviders,L.transformedHasViewContainer,L.queryMatches,[O],M,t.sourceSpan)}return O},t.prototype._parseAttr=function(t,e,n,r,i,o,s){var a=this._normalizeAttributeName(e.name),u=e.value,c=e.sourceSpan,l=a.match(th),p=!1;if(null!==l)if(p=!0,null!=l[1])this._bindingParser.parsePropertyBinding(l[7],u,!1,c,n,r);else if(l[2])if(t){var h=l[7];this._parseVariable(h,u,c,s)}else this._reportError('"let-" is only supported on ng-template elements.',c);else if(l[3]){var h=l[7];this._parseReference(h,u,c,o)}else l[4]?this._bindingParser.parseEvent(l[7],u,c,n,i):l[5]?(this._bindingParser.parsePropertyBinding(l[7],u,!1,c,n,r),this._parseAssignmentEvent(l[7],u,c,n,i)):l[6]?this._bindingParser.parseLiteralAttr(a,u,c,n,r):l[8]?(this._bindingParser.parsePropertyBinding(l[8],u,!1,c,n,r),this._parseAssignmentEvent(l[8],u,c,n,i)):l[9]?this._bindingParser.parsePropertyBinding(l[9],u,!1,c,n,r):l[10]&&this._bindingParser.parseEvent(l[10],u,c,n,i);else p=this._bindingParser.parsePropertyInterpolation(a,u,c,n,r);return p||this._bindingParser.parseLiteralAttr(a,u,c,n,r),p},t.prototype._normalizeAttributeName=function(t){return/^data-/i.test(t)?t.substring(5):t},t.prototype._parseVariable=function(t,e,n,r){t.indexOf("-")>-1&&this._reportError('"-" is not allowed in variable names',n),r.push(new Po(t,e,n))},t.prototype._parseReference=function(t,e,n,r){t.indexOf("-")>-1&&this._reportError('"-" is not allowed in reference names',n),r.push(new ph(t,e,n))},t.prototype._parseAssignmentEvent=function(t,e,n,r,i){this._bindingParser.parseEvent(t+"Change",e+"=$event",n,r,i)},t.prototype._parseDirectives=function(t,e){var n=this,r=new Array(this.directivesIndex.size),i=!1;return t.match(e,function(t,e){r[n.directivesIndex.get(e)]=e,i=i||t.hasElementSelector()}),{directives:r.filter(function(t){return!!t}),matchElement:i}},t.prototype._createDirectiveAsts=function(t,e,n,r,i,o,s,a){var u=this,c=new Set,l=null,p=n.map(function(t){var n=new Ka(o.start,o.end,"Directive "+j(t.type));t.isComponent&&(l=t);var p=[],h=u._bindingParser.createDirectiveHostPropertyAsts(t,e,n);h=u._checkPropertiesInSchema(e,h);var f=u._bindingParser.createDirectiveHostEventAsts(t,n);u._createDirectivePropertyAsts(t.inputs,r,p,a),i.forEach(function(e){(0===e.value.length&&t.isComponent||e.isReferenceToDirective(t))&&(s.push(new To(e.name,Ge(t.type.reference),e.sourceSpan)),c.add(e.name))});var d=u.contentQueryStartId;return u.contentQueryStartId+=t.queries.length,new Ao(t,p,h,f,d,n)});return i.forEach(function(e){if(e.value.length>0)c.has(e.name)||u._reportError('There is no directive with "exportAs" set to "'+e.value+'"',e.sourceSpan);else if(!l){var n=null;t&&(n=Ze(u.reflector,wc.TemplateRef)),s.push(new To(e.name,n,e.sourceSpan))}}),p},t.prototype._createDirectivePropertyAsts=function(t,e,n,r){if(t){var i=new Map;e.forEach(function(t){var e=i.get(t.name);e&&!e.isLiteral||i.set(t.name,t)}),Object.keys(t).forEach(function(e){var o=t[e],s=i.get(o);s&&(r.add(s.name),ur(s.expression)||n.push(new Mo(e,s.name,s.expression,s.sourceSpan)))})}},t.prototype._createElementPropertyAsts=function(t,e,n){var r=this,i=[];return e.forEach(function(e){e.isLiteral||n.has(e.name)||i.push(r._bindingParser.createElementPropertyAst(t,e))}),this._checkPropertiesInSchema(t,i)},t.prototype._findComponentDirectives=function(t){return t.filter(function(t){return t.directive.isComponent})},t.prototype._findComponentDirectiveNames=function(t){return this._findComponentDirectives(t).map(function(t){return j(t.directive.type)})},t.prototype._assertOnlyOneComponent=function(t,e){var n=this._findComponentDirectiveNames(t);n.length>1&&this._reportError("More than one component matched on this element.\nMake sure that only one component's selector can match a given element.\nConflicting components: "+n.join(","),e)},t.prototype._assertElementExists=function(t,e){var n=e.name.replace(/^:xhtml:/,"");if(!t&&!this._schemaRegistry.hasElement(n,this._schemas)){var r="'"+n+"' is not a known element:\n";r+="1. If '"+n+"' is an Angular component, then verify that it is part of this module.\n",n.indexOf("-")>-1?r+="2. If '"+n+"' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message.":r+="2. To allow any element add 'NO_ERRORS_SCHEMA' to the '@NgModule.schemas' of this component.",this._reportError(r,e.sourceSpan)}},t.prototype._assertNoComponentsNorElementBindingsOnTemplate=function(t,e,n){var r=this,i=this._findComponentDirectiveNames(t);i.length>0&&this._reportError("Components on an embedded template: "+i.join(","),n),e.forEach(function(t){r._reportError("Property binding "+t.name+' not used by any directive on an embedded template. Make sure that the property name is spelled correctly and all directives are listed in the "@NgModule.declarations".',n)})},t.prototype._assertAllEventsPublishedByDirectives=function(t,e){var n=this,r=new Set;t.forEach(function(t){Object.keys(t.directive.outputs).forEach(function(e){var n=t.directive.outputs[e];r.add(n)})}),e.forEach(function(t){null==t.target&&r.has(t.name)||n._reportError("Event binding "+t.fullName+' not emitted by any directive on an embedded template. Make sure that the event name is spelled correctly and all directives are listed in the "@NgModule.declarations".',t.sourceSpan)})},t.prototype._checkPropertiesInSchema=function(t,e){var n=this;return e.filter(function(e){if(e.type===Ro.Property&&!n._schemaRegistry.hasProperty(t,e.name,n._schemas)){var r="Can't bind to '"+e.name+"' since it isn't a known property of '"+t+"'.";t.startsWith("ng-")?r+="\n1. If '"+e.name+"' is an Angular directive, then add 'CommonModule' to the '@NgModule.imports' of this component.\n2. To allow any property add 'NO_ERRORS_SCHEMA' to the '@NgModule.schemas' of this component.":t.indexOf("-")>-1&&(r+="\n1. If '"+t+"' is an Angular component and it has '"+e.name+"' input, then verify that it is part of this module.\n2. If '"+t+"' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message.\n3. To allow any property add 'NO_ERRORS_SCHEMA' to the '@NgModule.schemas' of this component."),n._reportError(r,e.sourceSpan)}return!ur(e.value)})},t.prototype._reportError=function(t,e,n){void 0===n&&(n=Qa.ERROR),this._targetErrors.push(new $a(e,t,n))},t}(),lh=function(){function t(){}return t.prototype.visitElement=function(t,e){var n=ut(t);if(n.type===ws.SCRIPT||n.type===ws.STYLE||n.type===ws.STYLESHEET)return null;var r=t.attrs.map(function(t){return[t.name,t.value]}),i=or(t.name,r),o=e.findNgContentIndex(i),s=X(this,t.children,fh);return new Oo(t.name,X(this,t.attrs),[],[],[],[],[],!1,[],s,o,t.sourceSpan,t.endSourceSpan)},t.prototype.visitComment=function(t,e){return null},t.prototype.visitAttribute=function(t,e){return new Co(t.name,t.value,t.sourceSpan)},t.prototype.visitText=function(t,e){var n=e.findNgContentIndex(rh);return new wo(t.value,n,t.sourceSpan)},t.prototype.visitExpansion=function(t,e){return t},t.prototype.visitExpansionCase=function(t,e){return t},t}(),ph=function(){function t(t,e,n){this.name=t,this.value=e,this.sourceSpan=n}return t.prototype.isReferenceToDirective=function(t){return-1!==rr(t.exportAs).indexOf(this.value)},t}(),hh=function(){function t(t,e,n,r){this.isTemplateElement=t,this._ngContentIndexMatcher=e,this._wildcardNgContentIndex=n,this.providerContext=r}return t.create=function(e,n,r){var i=new Tc,o=null,s=n.find(function(t){return t.directive.isComponent});if(s)for(var a=s.directive.template.ngContentSelectors,u=0;u0?e[0]:null},t}(),fh=new hh(!0,new Tc,null,null),dh=new lh,vh=function(){function t(){}return t.event=ln("$event"),t}(),yh=function(){function t(t,e){this.stmts=t,this.allowDefault=e}return t}(),mh=function(){function t(t,e){this.stmts=t,this.currValExpr=e}return t}(),gh={Statement:0,Expression:1};gh[gh.Statement]="Statement",gh[gh.Expression]="Expression";var _h=function(t){function e(e){var n=t.call(this)||this;return n._converterFactory=e,n}return Object(Ni.b)(e,t),e.prototype.visitPipe=function(t,e){var n=this,r=[t.exp].concat(t.args).map(function(t){return t.visit(n,e)});return new Eh(t.span,r,this._converterFactory.createPipeConverter(t.name,r.length))},e.prototype.visitLiteralArray=function(t,e){var n=this,r=t.expressions.map(function(t){return t.visit(n,e)});return new Eh(t.span,r,this._converterFactory.createLiteralArrayConverter(t.expressions.length))},e.prototype.visitLiteralMap=function(t,e){var n=this,r=t.values.map(function(t){return t.visit(n,e)});return new Eh(t.span,r,this._converterFactory.createLiteralMapConverter(t.keys))},e}(Ha),bh=function(){function t(t,e,n){this._localResolver=t,this._implicitReceiver=e,this.bindingId=n,this._nodeMap=new Map,this._resultMap=new Map,this._currentTemporary=0,this.temporaryCount=0}return t.prototype.visitBinary=function(t,e){var n;switch(t.operation){case"+":n=Uc.Plus;break;case"-":n=Uc.Minus;break;case"*":n=Uc.Multiply;break;case"/":n=Uc.Divide;break;case"%":n=Uc.Modulo;break;case"&&":n=Uc.And;break;case"||":n=Uc.Or;break;case"==":n=Uc.Equals;break;case"!=":n=Uc.NotEquals;break;case"===":n=Uc.Identical;break;case"!==":n=Uc.NotIdentical;break;case"<":n=Uc.Lower;break;case">":n=Uc.Bigger;break;case"<=":n=Uc.LowerEquals;break;case">=":n=Uc.BiggerEquals;break;default:throw new Error("Unsupported operation "+t.operation)}return _r(e,new ul(n,this._visit(t.left,gh.Expression),this._visit(t.right,gh.Expression)))},t.prototype.visitChain=function(t,e){return mr(e,t),this.visitAll(t.expressions,e)},t.prototype.visitConditional=function(t,e){return _r(e,this._visit(t.condition,gh.Expression).conditional(this._visit(t.trueExp,gh.Expression),this._visit(t.falseExp,gh.Expression)))},t.prototype.visitPipe=function(t,e){throw new Error("Illegal state: Pipes should have been converted into functions. Pipe: "+t.name)},t.prototype.visitFunctionCall=function(t,e){var n,r=this.visitAll(t.args,gh.Expression);return n=t instanceof Eh?t.converter(r):this._visit(t.target,gh.Expression).callFn(r),_r(e,n)},t.prototype.visitImplicitReceiver=function(t,e){return gr(e,t),this._implicitReceiver},t.prototype.visitInterpolation=function(t,e){gr(e,t);for(var n=[_n(t.expressions.length)],r=0;r0?Vc:fn(e.importExpr(this.component.type.reference)),this.viewName=L(this.component.type.reference,this.embeddedViewIndex)}return t.prototype.visitAll=function(t,e){var n=this;if(this.variables=t,this.parent||this.usedPipes.forEach(function(t){t.pure&&(n.purePipeNodeIndices[t.name]=n._createPipe(null,t))}),!this.parent){var r=Ar(this.staticQueryIds);this.component.viewQueries.forEach(function(t,e){var i=e+1,o=t.first?0:1,s=134217728|Ir(r,i,t.first);n.nodes.push(function(){return{sourceSpan:null,nodeFlags:s,nodeDef:pn(wc.queryDef).callFn([_n(s),_n(i),new fl([new hl(t.propertyName,_n(o),!1)])])}})})}I(this,e),this.parent&&(0===e.length||xr(e))&&this.nodes.push(function(){return{sourceSpan:null,nodeFlags:1,nodeDef:pn(wc.anchorDef).callFn([_n(0),vl,vl,_n(0)])}})},t.prototype.build=function(t){void 0===t&&(t=[]),this.children.forEach(function(e){return e.build(t)});var e=this._createNodeExpressions(),n=e.updateRendererStmts,r=e.updateDirectivesStmts,i=e.nodeDefExprs,o=this._createUpdateFn(n),s=this._createUpdateFn(r),a=0;this.parent||this.component.changeDetection!==Ui.OnPush||(a|=2);var u=new bl(this.viewName,[new sl(Mh.name)],[new El(pn(wc.viewDef).callFn([_n(a),dn(i),s,o]))],hn(wc.ViewDefinition),0===this.embeddedViewIndex?[ml.Exported]:[]);return t.push(u),t},t.prototype._createUpdateFn=function(t){var e;if(t.length>0){var n=[];!this.component.isHost&&an(t).has(Ih.name)&&n.push(Ih.set(Ah.prop("component")).toDeclStmt(this.compType)),e=gn([new sl(Nh.name,Hc),new sl(Ah.name,Hc)],n.concat(t),Hc)}else e=vl;return e},t.prototype.visitNgContent=function(t,e){this.nodes.push(function(){return{sourceSpan:t.sourceSpan,nodeFlags:8,nodeDef:pn(wc.ngContentDef).callFn([_n(t.ngContentIndex),_n(t.index)])}})},t.prototype.visitText=function(t,e){this.nodes.push(function(){return{sourceSpan:t.sourceSpan,nodeFlags:2,nodeDef:pn(wc.textDef).callFn([_n(-1),_n(t.ngContentIndex),dn([_n(t.value)])])}})},t.prototype.visitBoundText=function(t,e){var n=this,r=this.nodes.length;this.nodes.push(null);var i=t.value,o=i.ast,s=o.expressions.map(function(e,i){return n._preprocessUpdateExpression({nodeIndex:r,bindingIndex:i,sourceSpan:t.sourceSpan,context:Ih,value:e})}),a=r;this.nodes[r]=function(){return{sourceSpan:t.sourceSpan,nodeFlags:2,nodeDef:pn(wc.textDef).callFn([_n(a),_n(t.ngContentIndex),dn(o.strings.map(function(t){return _n(t)}))]),updateRenderer:s}}},t.prototype.visitEmbeddedTemplate=function(t,e){var n=this,r=this.nodes.length;this.nodes.push(null);var i=this._visitElementOrTemplate(r,t),o=i.flags,s=i.queryMatchesExpr,a=i.hostEvents,u=this.viewBuilderFactory(this);this.children.push(u),u.visitAll(t.variables,t.children);var c=this.nodes.length-r-1;this.nodes[r]=function(){return{sourceSpan:t.sourceSpan,nodeFlags:1|o,nodeDef:pn(wc.anchorDef).callFn([_n(o),s,_n(t.ngContentIndex),_n(c),n._createElementHandleEventFn(r,a),ln(u.viewName)])}}},t.prototype.visitElement=function(t,e){var n=this,r=this.nodes.length;this.nodes.push(null);var i=rt(t.name)?null:t.name,o=this._visitElementOrTemplate(r,t),s=o.flags,a=o.usedEvents,u=o.queryMatchesExpr,c=o.hostBindings,l=o.hostEvents,p=[],h=[],f=[];if(i){var d=t.inputs.map(function(t){return{context:Ih,inputAst:t,dirAst:null}}).concat(c);d.length&&(h=d.map(function(t,e){return n._preprocessUpdateExpression({context:t.context,nodeIndex:r,bindingIndex:e,sourceSpan:t.inputAst.sourceSpan,value:t.inputAst.value})}),p=d.map(function(t){return Sr(t.inputAst,t.dirAst)})),f=a.map(function(t){var e=t[0],n=t[1];return dn([_n(e),_n(n)])})}I(this,t.children);var v=this.nodes.length-r-1,y=t.directives.find(function(t){return t.directive.isComponent}),m=vl,g=vl;y&&(g=this.outputCtx.importExpr(y.directive.componentViewType),m=this.outputCtx.importExpr(y.directive.rendererType));var _=r;this.nodes[r]=function(){return{sourceSpan:t.sourceSpan,nodeFlags:1|s,nodeDef:pn(wc.elementDef).callFn([_n(_),_n(s),u,_n(t.ngContentIndex),_n(v),_n(i),i?Tr(t):vl,p.length?dn(p):vl,f.length?dn(f):vl,n._createElementHandleEventFn(r,l),g,m]),updateRenderer:h}}},t.prototype._visitElementOrTemplate=function(t,e){var n=this,r=0;e.hasViewContainer&&(r|=16777216);var i=new Map;e.outputs.forEach(function(t){var e=Nr(t,null),n=e.name,r=e.target;i.set(Dr(r,n),[r,n])}),e.directives.forEach(function(t){t.hostEvents.forEach(function(e){var n=Nr(e,t),r=n.name,o=n.target;i.set(Dr(o,r),[o,r])})});var o=[],s=[];this._visitComponentFactoryResolverProvider(e.directives),e.providers.forEach(function(r,a){var u=void 0,c=void 0;if(e.directives.forEach(function(t,e){t.directive.type.reference===z(r.token)&&(u=t,c=e)}),u){var l=n._visitDirective(r,u,c,t,e.references,e.queryMatches,i,n.staticQueryIds.get(e)),p=l.hostBindings,h=l.hostEvents;o.push.apply(o,p),s.push.apply(s,h)}else n._visitProvider(r,e.queryMatches)});var a=[];return e.queryMatches.forEach(function(t){var e=void 0;z(t.value)===n.reflector.resolveExternalReference(wc.ElementRef)?e=0:z(t.value)===n.reflector.resolveExternalReference(wc.ViewContainerRef)?e=3:z(t.value)===n.reflector.resolveExternalReference(wc.TemplateRef)&&(e=2),null!=e&&a.push(dn([_n(t.queryId),_n(e)]))}),e.references.forEach(function(e){var r=void 0;e.value?z(e.value)===n.reflector.resolveExternalReference(wc.TemplateRef)&&(r=2):r=1,null!=r&&(n.refNodeIndices[e.name]=t,a.push(dn([_n(e.name),_n(r)])))}),e.outputs.forEach(function(t){s.push({context:Ih,eventAst:t,dirAst:null})}),{flags:r,usedEvents:Array.from(i.values()),queryMatchesExpr:a.length?dn(a):vl,hostBindings:o,hostEvents:s}},t.prototype._visitDirective=function(t,e,n,r,i,o,s,a){var u=this,c=this.nodes.length;this.nodes.push(null),e.directive.queries.forEach(function(t,n){var r=e.contentQueryStartId+n,i=67108864|Ir(a,r,t.first),o=t.first?0:1;u.nodes.push(function(){return{sourceSpan:e.sourceSpan,nodeFlags:i,nodeDef:pn(wc.queryDef).callFn([_n(i),_n(r),new fl([new hl(t.propertyName,_n(o),!1)])])}})});var l=this.nodes.length-c-1,p=this._visitProviderOrDirective(t,o),h=p.flags,f=p.queryMatchExprs,d=p.providerExpr,v=p.depsExpr;i.forEach(function(e){e.value&&z(e.value)===z(t.token)&&(u.refNodeIndices[e.name]=c,f.push(dn([_n(e.name),_n(4)])))}),e.directive.isComponent&&(h|=32768);var y=e.inputs.map(function(t,e){var n=dn([_n(e),_n(t.directiveName)]);return new hl(t.directiveName,n,!1)}),m=[],g=e.directive;Object.keys(g.outputs).forEach(function(t){var e=g.outputs[t];s.has(e)&&m.push(new hl(t,_n(e),!1))});var _=[];(e.inputs.length||(327680&h)>0)&&(_=e.inputs.map(function(t,e){return u._preprocessUpdateExpression({nodeIndex:c,bindingIndex:e,sourceSpan:t.sourceSpan,context:Ih,value:t.value})}));var b=pn(wc.nodeValue).callFn([Ah,_n(c)]),w=e.hostProperties.map(function(t){return{context:b,dirAst:e,inputAst:t}}),E=e.hostEvents.map(function(t){return{context:b,eventAst:t,dirAst:e}}),C=c;return this.nodes[c]=function(){return{sourceSpan:e.sourceSpan,nodeFlags:16384|h,nodeDef:pn(wc.directiveDef).callFn([_n(C),_n(h),f.length?dn(f):vl,_n(l),d,v,y.length?new fl(y):vl,m.length?new fl(m):vl]),updateDirectives:_,directive:e.directive.type}},{hostBindings:w,hostEvents:E}},t.prototype._visitProvider=function(t,e){this._addProviderNode(this._visitProviderOrDirective(t,e))},t.prototype._visitComponentFactoryResolverProvider=function(t){var e=t.find(function(t){return t.directive.isComponent});if(e&&e.directive.entryComponents.length){var n=Dn(this.reflector,this.outputCtx,8192,e.directive.entryComponents),r=n.providerExpr,i=n.depsExpr,o=n.flags,s=n.tokenExpr;this._addProviderNode({providerExpr:r,depsExpr:i,flags:o,tokenExpr:s,queryMatchExprs:[],sourceSpan:e.sourceSpan})}},t.prototype._addProviderNode=function(t){this.nodes.length;this.nodes.push(function(){return{sourceSpan:t.sourceSpan,nodeFlags:t.flags,nodeDef:pn(wc.providerDef).callFn([_n(t.flags),t.queryMatchExprs.length?dn(t.queryMatchExprs):vl,t.tokenExpr,t.providerExpr,t.depsExpr])}})},t.prototype._visitProviderOrDirective=function(t,e){var n=[];e.forEach(function(e){z(e.value)===z(t.token)&&n.push(dn([_n(e.queryId),_n(4)]))});var r=On(this.outputCtx,t),i=r.providerExpr,o=r.depsExpr,s=r.flags,a=r.tokenExpr;return{flags:0|s,queryMatchExprs:n,providerExpr:i,depsExpr:o,tokenExpr:a,sourceSpan:t.sourceSpan}},t.prototype.getLocal=function(t){if(t==vh.event.name)return vh.event;for(var e=Ah,n=this;n;n=n.parent,e=e.prop("parent").cast(Vc)){var r=n.refNodeIndices[t];if(null!=r)return pn(wc.nodeValue).callFn([e,_n(r)]);var i=n.variables.find(function(e){return e.name===t});if(i){var o=i.value||"$implicit";return e.prop("context").prop(o)}}return null},t.prototype._createLiteralArrayConverter=function(t,e){if(0===e){var n=pn(wc.EMPTY_ARRAY);return function(){return n}}var r=this.nodes.length;return this.nodes.push(function(){return{sourceSpan:t,nodeFlags:32,nodeDef:pn(wc.pureArrayDef).callFn([_n(r),_n(e)])}}),function(t){return Or(r,t)}},t.prototype._createLiteralMapConverter=function(t,e){if(0===e.length){var n=pn(wc.EMPTY_MAP);return function(){return n}}var r=vn(e.map(function(t,e){return Object(Ni.a)({},t,{value:_n(e)})})),i=this.nodes.length;return this.nodes.push(function(){return{sourceSpan:t,nodeFlags:64,nodeDef:pn(wc.pureObjectDef).callFn([_n(i),r])}}),function(t){return Or(i,t)}},t.prototype._createPipeConverter=function(t,e,n){var r=this.usedPipes.find(function(t){return t.name===e});if(r.pure){var i=this.nodes.length;this.nodes.push(function(){return{sourceSpan:t.sourceSpan,nodeFlags:128,nodeDef:pn(wc.purePipeDef).callFn([_n(i),_n(n)])}});for(var o=Ah,s=this;s.parent;)s=s.parent,o=o.prop("parent").cast(Vc);var a=s.purePipeNodeIndices[e],u=pn(wc.nodeValue).callFn([o,_n(a)]);return function(e){return kr(t.nodeIndex,t.bindingIndex,Or(i,[u].concat(e)))}}var c=this._createPipe(t.sourceSpan,r),l=pn(wc.nodeValue).callFn([Ah,_n(c)]);return function(e){return kr(t.nodeIndex,t.bindingIndex,l.callMethod("transform",e))}},t.prototype._createPipe=function(t,e){var n=this,r=this.nodes.length,i=0;e.type.lifecycleHooks.forEach(function(t){t===Ec.OnDestroy&&(i|=In(t))});var o=e.type.diDeps.map(function(t){return Nn(n.outputCtx,t)});return this.nodes.push(function(){return{sourceSpan:t,nodeFlags:16,nodeDef:pn(wc.pipeDef).callFn([_n(i),n.outputCtx.importExpr(e.type.reference),dn(o)])}}),r},t.prototype._preprocessUpdateExpression=function(t){var e=this;return{nodeIndex:t.nodeIndex,bindingIndex:t.bindingIndex,sourceSpan:t.sourceSpan,context:t.context,value:pr({createLiteralArrayConverter:function(n){return e._createLiteralArrayConverter(t.sourceSpan,n)},createLiteralMapConverter:function(n){return e._createLiteralMapConverter(t.sourceSpan,n)},createPipeConverter:function(n,r){return e._createPipeConverter(t,n,r)}},t.value)}},t.prototype._createNodeExpressions=function(){function t(t,r,i,o){var s=[],a=i.map(function(t){var r=t.sourceSpan,i=t.context,o=t.value,a=""+n++,u=i===Ih?e:null,c=hr(u,i,o,a),l=c.stmts,p=c.currValExpr;return s.push.apply(s,l.map(function(t){return un(t,r)})),cn(p,r)});return(i.length||o)&&s.push(un(Or(t,a).toStmt(),r)),s}var e=this,n=0,r=[],i=[],o=this.nodes.map(function(e,n){var o=e(),s=o.nodeDef,a=o.nodeFlags,u=o.updateDirectives,c=o.updateRenderer,l=o.sourceSpan;return c&&r.push.apply(r,t(n,l,c,!1)),u&&i.push.apply(i,t(n,l,u,(327680&a)>0)),cn(3&a?new dl([Mh.callFn([]).callFn([]),s]):s,l)});return{updateRendererStmts:r,updateDirectivesStmts:i,nodeDefExprs:o}},t.prototype._createElementHandleEventFn=function(t,e){var n=this,r=[],i=0;e.forEach(function(t){var e=t.context,o=t.eventAst,s=t.dirAst,a=""+i++,u=e===Ih?n:null,c=lr(u,e,o.handler,a),l=c.stmts,p=c.allowDefault,h=l;p&&h.push(Rh.set(p.and(Rh)).toStmt());var f=Nr(o,s),d=f.target,v=f.name,y=Dr(d,v);r.push(un(new Pl(_n(y).identical(Dh),h),o.sourceSpan))});var o;if(r.length>0){var s=[Rh.set(_n(!0)).toDeclStmt(Bc)];!this.component.isHost&&an(r).has(Ih.name)&&s.push(Ih.set(Ah.prop("component")).toDeclStmt(this.compType)),o=gn([new sl(Ah.name,Hc),new sl(Dh.name,Hc),new sl(vh.event.name,Hc)],s.concat(r,[new El(Rh)]),Hc)}else o=vl;return o},t.prototype.visitDirective=function(t,e){},t.prototype.visitDirectiveProperty=function(t,e){},t.prototype.visitReference=function(t,e){},t.prototype.visitVariable=function(t,e){},t.prototype.visitEvent=function(t,e){},t.prototype.visitElementProperty=function(t,e){},t.prototype.visitAttr=function(t,e){},t}(),Fh=function(){function t(t,e,n,r){void 0===r&&(r=null),this._htmlParser=t,this._implicitTags=e,this._implicitAttrs=n,this._locale=r,this._messages=[]}return t.prototype.updateFromTemplate=function(t,e,n){var r=this._htmlParser.parse(t,e,!0,n);if(r.errors.length)return r.errors;var i=be(r.rootNodes,n,this._implicitTags,this._implicitAttrs);return i.errors.length?i.errors:((o=this._messages).push.apply(o,i.messages),[]);var o},t.prototype.getMessages=function(){return this._messages},t.prototype.write=function(t,e){var n={},r=new Lh;this._messages.forEach(function(e){var r=t.digest(e);n.hasOwnProperty(r)?(i=n[r].sources).push.apply(i,e.sources):n[r]=e;var i});var i=Object.keys(n).map(function(i){var o=t.createNameMapper(n[i]),s=n[i],a=o?r.convert(s.nodes,o):s.nodes,u=new hu(a,{},{},s.meaning,s.description,i);return u.sources=s.sources,e&&u.sources.forEach(function(t){return t.filePath=e(t.filePath)}),u});return t.write(i,this._locale)},t}(),Lh=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(Ni.b)(e,t),e.prototype.convert=function(t,e){var n=this;return e?t.map(function(t){return t.visit(n,e)}):t},e.prototype.visitTagPlaceholder=function(t,e){var n=this,r=e.toPublicName(t.startName),i=t.closeName?e.toPublicName(t.closeName):t.closeName,o=t.children.map(function(t){return t.visit(n,e)});return new yu(t.tag,t.attrs,r,i,o,t.isVoid,t.sourceSpan)},e.prototype.visitPlaceholder=function(t,e){return new mu(t.value,e.toPublicName(t.name),t.sourceSpan)},e.prototype.visitIcuPlaceholder=function(t,e){return new gu(t.value,e.toPublicName(t.name),t.sourceSpan)},e}(_u),Vh=function(){function t(t,e,n){this.srcFileUrl=t,this.genFileUrl=e,"string"==typeof n?(this.source=n,this.stmts=null):(this.source=null,this.stmts=n)}return t.prototype.isEquivalent=function(t){return this.genFileUrl===t.genFileUrl&&(this.source?this.source===t.source:null!=t.stmts&&sn(this.stmts,t.stmts))},t}(),Hh=function(){function t(t,e){this.symbol=t,this.metadata=e}return t}(),Bh=function(){function t(t,e,n,r){this.host=t,this.staticSymbolCache=e,this.summaryResolver=n,this.errorRecorder=r,this.metadataCache=new Map,this.resolvedSymbols=new Map,this.resolvedFilePaths=new Set,this.importAs=new Map,this.symbolResourcePaths=new Map,this.symbolFromFile=new Map,this.knownFileNameToModuleNames=new Map}return t.prototype.resolveSymbol=function(t){if(t.members.length>0)return this._resolveSymbolMembers(t);var e=this._resolveSymbolFromSummary(t);if(e)return e;var n=this.resolvedSymbols.get(t);return n||(this._createSymbolsOf(t.filePath),this.resolvedSymbols.get(t))},t.prototype.getImportAs=function(t){if(t.members.length){var e=this.getStaticSymbol(t.filePath,t.name),n=this.getImportAs(e);return n?this.getStaticSymbol(n.filePath,n.name,t.members):null}var r=Ue(t.filePath);if(r!==t.filePath){var i=qe(t.name),e=this.getStaticSymbol(r,i,t.members),n=this.getImportAs(e);return n?this.getStaticSymbol(Be(n.filePath),ze(n.name),e.members):null}var o=this.summaryResolver.getImportAs(t);return o||(o=this.importAs.get(t)),o},t.prototype.getResourcePath=function(t){return this.symbolResourcePaths.get(t)||t.filePath},t.prototype.getTypeArity=function(t){if(Fe(t.filePath))return null;for(var e=Vr(this.resolveSymbol(t));e&&e.metadata instanceof Lo;)e=Vr(this.resolveSymbol(e.metadata));return e&&e.metadata&&e.metadata.arity||null},t.prototype.getKnownModuleName=function(t){return this.knownFileNameToModuleNames.get(t)||null},t.prototype.recordImportAs=function(t,e){t.assertNoMembers(),e.assertNoMembers(),this.importAs.set(t,e)},t.prototype.recordModuleNameForFileName=function(t,e){this.knownFileNameToModuleNames.set(t,e)},t.prototype.invalidateFile=function(t){this.metadataCache.delete(t),this.resolvedFilePaths.delete(t);var e=this.symbolFromFile.get(t);if(e){this.symbolFromFile.delete(t);for(var n=0,r=e;n=0?{__symbolic:"reference",name:h}:n.has(h)?a.getStaticSymbol(e,h):void 0},i}(vo),c=C(r,new u,[]),l=Vr(c);return l instanceof Lo?this.createExport(t,l):new Hh(t,c)},t.prototype.createExport=function(t,e){return t.assertNoMembers(),e.assertNoMembers(),this.summaryResolver.isLibraryFile(t.filePath)&&this.summaryResolver.isLibraryFile(e.filePath)&&this.importAs.set(e,this.getImportAs(t)||t),new Hh(t,e)},t.prototype.reportError=function(t,e,n){if(!this.errorRecorder)throw t;this.errorRecorder(t,e&&e.filePath||n)},t.prototype.getModuleMetadata=function(t){var e=this.metadataCache.get(t);if(!e){var n=this.host.getMetadataFor(t);if(n){var r=-1;n.forEach(function(t){t&&t.version>r&&(r=t.version,e=t)})}if(e||(e={__symbolic:"module",version:4,module:t,metadata:{}}),4!=e.version){var i=2==e.version?"Unsupported metadata version "+e.version+" for module "+t+". This module should be compiled with a newer version of ngc":"Metadata version mismatch for module "+t+", found version "+e.version+", expected 4";this.reportError(new Error(i))}this.metadataCache.set(t,e)}return e},t.prototype.getSymbolByModule=function(t,e,n){var r=this.resolveModule(t,n);return r?this.getStaticSymbol(r,e):(this.reportError(new Error("Could not resolve module "+t+(n?" relative to "+n:""))),this.getStaticSymbol("ERROR:"+t,e))},t.prototype.resolveModule=function(t,e){try{return this.host.moduleNameToFileName(t,e)}catch(n){console.error("Could not resolve module '"+t+"' relative to file "+e),this.reportError(n,void 0,e)}return null},t}(),Uh=function(t){function e(e,n,r){var i=t.call(this)||this;return i.symbolResolver=e,i.summaryResolver=n,i.srcFileName=r,i.symbols=[],i.indexBySymbol=new Map,i.reexportedBy=new Map,i.processedSummaryBySymbol=new Map,i.processedSummaries=[],i.unprocessedSymbolSummariesBySymbol=new Map,i.moduleName=e.getKnownModuleName(r),i}return Object(Ni.b)(e,t),e.prototype.addSummary=function(t){var e=this,n=this.unprocessedSymbolSummariesBySymbol.get(t.symbol),r=this.processedSummaryBySymbol.get(t.symbol);if(n||(n={symbol:t.symbol,metadata:void 0},this.unprocessedSymbolSummariesBySymbol.set(t.symbol,n),r={symbol:this.processValue(t.symbol,0)},this.processedSummaries.push(r),this.processedSummaryBySymbol.set(t.symbol,r)),!n.metadata&&t.metadata){var i=t.metadata||{};if("class"===i.__symbolic){var o={};Object.keys(i).forEach(function(t){"decorators"!==t&&(o[t]=i[t])}),i=o}else qr(i)&&(Wr(i)||Gr(i)||(i={__symbolic:"error",message:"Complex function calls are not supported."}));if(n.metadata=i,r.metadata=this.processValue(i,1),i instanceof Lo&&this.summaryResolver.isLibraryFile(i.filePath)){var s=this.symbols[this.indexBySymbol.get(i)];We(s.name)||this.reexportedBy.set(s,t.symbol)}}if(!n.type&&t.type&&(n.type=t.type,r.type=this.processValue(t.type,0),t.type.summaryKind===Uo.NgModule)){var a=t.type;a.exportedDirectives.concat(a.exportedPipes).forEach(function(t){var n=t.reference;if(e.summaryResolver.isLibraryFile(n.filePath)&&!e.unprocessedSymbolSummariesBySymbol.has(n)){var r=e.summaryResolver.resolveSummary(n);r&&e.addSummary(r)}})}},e.prototype.serialize=function(){var t=this,e=[];return{json:JSON.stringify({moduleName:this.moduleName,summaries:this.processedSummaries,symbols:this.symbols.map(function(n,r){n.assertNoMembers();var i=void 0;if(t.summaryResolver.isLibraryFile(n.filePath)){var o=t.reexportedBy.get(n);if(o)i=t.indexBySymbol.get(o);else{var s=t.unprocessedSymbolSummariesBySymbol.get(n);s&&s.metadata&&"interface"===s.metadata.__symbolic||(i=n.name+"_"+r,e.push({symbol:n,exportAs:i}))}}return{__symbol:r,name:n.name,filePath:t.summaryResolver.toSummaryFileName(n.filePath,t.srcFileName),importAs:i}})}),exportAs:e}},e.prototype.processValue=function(t,e){return C(t,this,e)},e.prototype.visitOther=function(t,e){if(t instanceof Lo){var n=this.symbolResolver.getStaticSymbol(t.filePath,t.name);return{__symbol:this.visitStaticSymbol(n,e),members:t.members}}},e.prototype.visitStaticSymbol=function(t,e){var n=this.indexBySymbol.get(t),r=null;if(1&e&&this.summaryResolver.isLibraryFile(t.filePath)){if(this.unprocessedSymbolSummariesBySymbol.has(t))return n;r=this.loadSummary(t),r&&r.metadata instanceof Lo&&(n=this.visitStaticSymbol(r.metadata,e),r=null)}else if(null!=n)return n;return null==n&&(n=this.symbols.length,this.symbols.push(t)),this.indexBySymbol.set(t,n),r&&this.addSummary(r),n},e.prototype.loadSummary=function(t){var e=this.summaryResolver.resolveSummary(t);if(!e){var n=this.symbolResolver.resolveSymbol(t);n&&(e={symbol:n.symbol,metadata:n.metadata})}return e},e}(vo),zh=function(){function t(t,e,n){this.outputCtx=t,this.symbolResolver=e,this.summaryResolver=n,this.data=[]}return t.prototype.addSourceType=function(t,e){this.data.push({summary:t,metadata:e,isLibrary:!1})},t.prototype.addLibType=function(t){this.data.push({summary:t,metadata:null,isLibrary:!0})},t.prototype.serialize=function(t){for(var e=this,n=new Map,r=0,i=t;r0?this._codegenSourceModule(n.fileName,r):null},t.prototype.loadFilesAsync=function(t){var e=this,n=t.map(function(t){return e._analyzeFile(t)}),r=[];return n.forEach(function(t){return t.ngModules.forEach(function(t){return r.push(e._metadataResolver.loadNgModuleDirectiveAndPipeMetadata(t.type.reference,!1))})}),Promise.all(r).then(function(t){return ri(n)})},t.prototype.loadFilesSync=function(t){var e=this,n=t.map(function(t){return e._analyzeFile(t)});return n.forEach(function(t){return t.ngModules.forEach(function(t){return e._metadataResolver.loadNgModuleDirectiveAndPipeMetadata(t.type.reference,!0)})}),ri(n)},t.prototype._createNgFactoryStub=function(t,e,n){var r=this,i=0;e.ngModules.forEach(function(e,o){r._ngModuleCompiler.createStub(t,e.type.reference);var s=e.transitiveModule.directives.map(function(t){return t.reference}).concat(e.transitiveModule.pipes.map(function(t){return t.reference}),e.importedModules.map(function(t){return t.type.reference}),e.exportedModules.map(function(t){return t.type.reference}),r._externalIdentifierReferences([wc.TemplateRef,wc.ElementRef])),a=new Map;s.forEach(function(t,e){r._host.isSourceFile(t.filePath)&&a.set(t,"_decl"+o+"_"+e)}),a.forEach(function(e,n){t.statements.push(ln(e).set(vl.cast(Vc)).toDeclStmt(fn(t.importExpr(n))))}),n&Wh.TypeCheck&&e.declaredDirectives.forEach(function(n){var o=r._metadataResolver.getDirectiveMetadata(n.reference);o.isComponent&&(i++,r._createTypeCheckBlock(t,o.type.reference.name+"_Host_"+i,e,r._metadataResolver.getHostComponentMetadata(o),[o.type],a),r._createTypeCheckBlock(t,o.type.reference.name+"_"+i,e,o,e.transitiveModule.directives,a))})}),0===t.statements.length&&Zr(t)},t.prototype._externalIdentifierReferences=function(t){for(var e=[],n=0,r=t;n0||this._options.allowEmptyCodegenFiles){var l=this._codegenSourceModule(t,c);u.unshift(l)}return u},t.prototype._createSummary=function(t,e,n,r,i,o){var s=this,a=this._symbolResolver.getSymbolsOf(t).map(function(t){return s._symbolResolver.resolveSymbol(t)}),u=r.map(function(t){return{summary:s._metadataResolver.getNgModuleSummary(t.type.reference),metadata:s._metadataResolver.getNgModuleMetadata(t.type.reference)}}).concat(e.map(function(t){return{summary:s._metadataResolver.getDirectiveSummary(t),metadata:s._metadataResolver.getDirectiveMetadata(t)}}),n.map(function(t){return{summary:s._metadataResolver.getPipeSummary(t),metadata:s._metadataResolver.getPipeMetadata(t)}}),i.map(function(t){return{summary:s._metadataResolver.getInjectableSummary(t),metadata:s._metadataResolver.getInjectableSummary(t).type}})),c=this._options.enableSummariesForJit?this._createOutputContext(Be(t,!0)):null,l=Hr(t,c,this._summaryResolver,this._symbolResolver,a,u),p=l.json;l.exportAs.forEach(function(t){o.statements.push(ln(t.exportAs).set(o.importExpr(t.symbol)).toDeclStmt(null,[ml.Exported]))});var h=new Vh(t,He(t),p),f=[h];return c&&f.push(this._codegenSourceModule(t,c)),f},t.prototype._compileModule=function(t,e){var n=[];if(this._options.locale){var r=this._options.locale.replace(/_/g,"-");n.push({token:Ze(this._reflector,wc.LOCALE_ID),useValue:r})}this._options.i18nFormat&&n.push({token:Ze(this._reflector,wc.TRANSLATIONS_FORMAT),useValue:this._options.i18nFormat}),this._ngModuleCompiler.compile(t,e,n)},t.prototype._compileComponentFactory=function(t,e,n,r){var i=this._metadataResolver.getHostComponentMetadata(e),o=this._compileComponent(t,i,n,[e.type],null,r).viewClassVar,s=B(e.type.reference),a=[];for(var u in e.inputs){var c=e.inputs[u];a.push(new hl(u,_n(c),!1))}var l=[];for(var u in e.outputs){var c=e.outputs[u];l.push(new hl(u,_n(c),!1))}t.statements.push(ln(s).set(pn(wc.createComponentFactory).callFn([_n(e.selector),t.importExpr(e.type.reference),ln(o),new fl(a),new fl(l),dn(e.template.ngContentSelectors.map(function(t){return _n(t)}))])).toDeclStmt(hn(wc.ComponentFactory,[fn(t.importExpr(e.type.reference))],[Nc.Const]),[ml.Final,ml.Exported]))},t.prototype._compileComponent=function(t,e,n,r,i,o){var s=this._parseTemplate(e,n,r),a=s.template,u=s.pipes,c=i?ln(i.stylesVar):dn([]),l=this._viewCompiler.compileComponent(t,e,a,c,u);return i&&Kr(this._symbolResolver,i,this._styleCompiler.needsStyleShim(e),o),l},t.prototype._parseTemplate=function(t,e,n){var r=this;if(this._templateAstCache.has(t.type.reference))return this._templateAstCache.get(t.type.reference);var i=t.template.preserveWhitespaces,o=n.map(function(t){return r._metadataResolver.getDirectiveSummary(t.reference)}),s=e.transitiveModule.pipes.map(function(t){return r._metadataResolver.getPipeSummary(t.reference)}),a=this._templateParser.parse(t,t.template.htmlAst,o,s,e.schemas,Z(e.type,t,t.template),i);return this._templateAstCache.set(t.type.reference,a),a},t.prototype._createOutputContext=function(t){var e=this;return{statements:[],genFilePath:t,importExpr:function(n,r){if(void 0===r&&(r=null),!(n instanceof Lo))throw new Error("Internal error: unknown identifier "+JSON.stringify(n));var i=e._symbolResolver.getTypeArity(n)||0,o=e._symbolResolver.getImportAs(n)||n,s=o.filePath,a=o.name,u=o.members,c=e._fileNameToModuleName(s,t),l=e._fileNameToModuleName(t,t),p=c===l?null:c,h=r||[],f=i-h.length,d=h.concat(new Array(f).fill(Vc));return u.reduce(function(t,e){return t.prop(e)},pn(new el(p,a,null),d))}}},t.prototype._fileNameToModuleName=function(t,e){return this._summaryResolver.getKnownModuleName(t)||this._symbolResolver.getKnownModuleName(t)||this._host.fileNameToModuleName(t,e)},t.prototype._codegenStyles=function(t,e,n,r,i){var o=this._createOutputContext(Qr(n.moduleUrl,r,i)),s=this._styleCompiler.compileStyles(o,e,n,r);return Kr(this._symbolResolver,s,r,i),this._codegenSourceModule(t,o)},t.prototype._codegenSourceModule=function(t,e){return new Vh(t,e.genFilePath,e.statements)},t.prototype.listLazyRoutes=function(t,e){function n(t,e,i){if(void 0===e&&(e=new Set),void 0===i&&(i=[]),e.has(t)||!t.name)return i;e.add(t);for(var o=Rr(r._metadataResolver.getNgModuleMetadata(t,!0),r._reflector),s=0,a=o;sa.length&&a.push.apply(a,h.slice(a.length).map(function(t){return f(t)})),s.set(e,!0);for(var d=cf.build(),v=0;v0&&!e.members.length)return e;var E=e,C=u(E);return null!=C?p(E,C):E}if(e){if(e.__symbolic){var E=void 0;switch(e.__symbolic){case"binop":var x=f(e.left);if(ai(x))return x;var S=f(e.right);if(ai(S))return S;switch(e.operator){case"&&":return x&&S;case"||":return x||S;case"|":return x|S;case"^":return x^S;case"&":return x&S;case"==":return x==S;case"!=":return x!=S;case"===":return x===S;case"!==":return x!==S;case"<":return x":return x>S;case"<=":return x<=S;case">=":return x>=S;case"<<":return x<>":return x>>S;case"+":return x+S;case"-":return x-S;case"*":return x*S;case"/":return x/S;case"%":return x%S}return null;case"if":return f(f(e.condition)?e.thenExpression:e.elseExpression);case"pre":var T=f(e.operand);if(ai(T))return T;switch(e.operator){case"+":return T;case"-":return-T;case"!":return!T;case"~":return~T}return null;case"index":var P=c(e.expression),O=c(e.index);return P&&di(O)?P[O]:null;case"select":var k=e.member,M=t,A=f(e.expression);if(A instanceof Lo){var N=A.members.concat(k);M=i.getStaticSymbol(A.filePath,A.name,N);var C=u(M);return null!=C?p(M,C):M}return A&&di(k)?p(M,A[k]):null;case"reference":var I=e.name,D=o.resolve(I);if(D!=cf.missing)return D;break;case"resolved":try{return f(e.symbol)}catch(t){throw ci(t)&&null!=e.fileName&&null!=e.line&&null!=e.character&&(t.position={fileName:e.fileName,line:e.line,column:e.character}),t}case"class":case"function":return t;case"new":case"call":if((E=n(t,e.expression,r+1,0))instanceof Lo){if(E===i.injectionToken||E===i.opaqueToken)return t;var R=e.arguments||[],j=i.conversionMap.get(E);if(j){var F=R.map(function(e){return p(t,e)}).map(function(t){return ai(t)?void 0:t});return j(t,F)}return h(E,u(E),R,e.expression)}return Qh;case"error":var L=e.message;return null!=e.line?i.error({message:L,context:e.context,value:e,position:{fileName:e.fileName,line:e.line,column:e.character}},t):i.error({message:L,context:e.context},t),Qh;case"ignore":return e}return null}return fi(e,function(t,n){if(Jh.has(n)){if(n===$h&&Xh in e){var r=f(e.provide);if(r===i.ROUTES||r==i.ANALYZE_FOR_ENTRY_COMPONENTS)return f(t)}return l(t)}return f(t)})}return Qh}return f(e)}var r,i=this,o=cf.empty,s=new Map;try{r=n(t,e,0,0)}catch(e){if(!this.errorRecorder)throw yi(e,t);this.reportError(e,t)}if(!ai(r))return r},t.prototype.getTypeMetadata=function(t){var e=this.symbolResolver.resolveSymbol(t);return e&&e.metadata?e.metadata:{__symbolic:"class"}},t.prototype.reportError=function(t,e,n){if(!this.errorRecorder)throw t;this.errorRecorder(yi(t,e),e&&e.filePath||n)},t.prototype.error=function(t,e){var n=t.message,r=t.summary,i=t.advise,o=t.position,s=t.context,a=(t.value,t.symbol),u=t.chain;this.reportError(ui(n,r,i,o,a,s,u),e)},t}(),tf="ngMetadataError",ef="Reference to non-exported class",nf="Variable not initialized",rf="Destructuring not supported",of="Could not resolve type",sf="Function call not supported",af="Reference to a local symbol",uf="Lambda not supported",cf=function(){function t(){}return t.build=function(){var e=new Map;return{define:function(t,n){return e.set(t,n),this},done:function(){return e.size>0?new lf(e):t.empty}}},t.missing={},t.empty={resolve:function(e){return t.missing}},t}(),lf=function(t){function e(e){var n=t.call(this)||this;return n.bindings=e,n}return Object(Ni.b)(e,t),e.prototype.resolve=function(t){return this.bindings.has(t)?this.bindings.get(t):cf.missing},e}(cf),pf=function(){function t(t,e){this.host=t,this.staticSymbolCache=e,this.summaryCache=new Map,this.loadedFilePaths=new Map,this.importAs=new Map,this.knownFileNameToModuleNames=new Map}return t.prototype.isLibraryFile=function(t){return!this.host.isSourceFile(je(t))},t.prototype.toSummaryFileName=function(t,e){return this.host.toSummaryFileName(t,e)},t.prototype.fromSummaryFileName=function(t,e){return this.host.fromSummaryFileName(t,e)},t.prototype.resolveSummary=function(t){var e=t.members.length?this.staticSymbolCache.get(t.filePath,t.name):t,n=this.summaryCache.get(e);return n||(this._loadSummaryFile(t.filePath),n=this.summaryCache.get(t)),e===t&&n||null},t.prototype.getSymbolsOf=function(t){return this._loadSummaryFile(t)?Array.from(this.summaryCache.keys()).filter(function(e){return e.filePath===t}):null},t.prototype.getImportAs=function(t){return t.assertNoMembers(),this.importAs.get(t)},t.prototype.getKnownModuleName=function(t){return this.knownFileNameToModuleNames.get(t)||null},t.prototype.addSummary=function(t){this.summaryCache.set(t.symbol,t)},t.prototype._loadSummaryFile=function(t){var e=this,n=this.loadedFilePaths.get(t);if(null!=n)return n;var r=null;if(this.isLibraryFile(t)){var i=He(t);try{r=this.host.loadSummary(i)}catch(t){throw console.error("Error loading summary file "+i),t}}if(n=null!=r,this.loadedFilePaths.set(t,n),r){var o=Br(this.staticSymbolCache,this,t,r),s=o.moduleName,a=o.summaries,u=o.importAs;a.forEach(function(t){return e.summaryCache.set(t.symbol,t)}),s&&this.knownFileNameToModuleNames.set(t,s),u.forEach(function(t){e.importAs.set(t.symbol,t.importAs)})}return n},t}(),hf=function(){function t(){}return t}(),ff=function(){function t(){this._summaries=new Map}return t.prototype.isLibraryFile=function(){return!1},t.prototype.toSummaryFileName=function(t){return t},t.prototype.fromSummaryFileName=function(t){return t},t.prototype.resolveSummary=function(t){return this._summaries.get(t)||null},t.prototype.getSymbolsOf=function(){return[]},t.prototype.getImportAs=function(t){return t},t.prototype.getKnownModuleName=function(t){return null},t.prototype.addSummary=function(t){this._summaries.set(t.symbol,t)},t}(),df=function(){function t(t,e,n,r){this.parent=t,this.instance=e,this.className=n,this.vars=r,this.exports=[]}return t.prototype.createChildWihtLocalVars=function(){return new t(this,this.instance,this.className,new Map)},t}(),vf=function(){function t(t){this.value=t}return t}(),yf=function(){function t(t){this.reflector=t}return t.prototype.debugAst=function(t){return Hn(t)},t.prototype.visitDeclareVarStmt=function(t,e){return e.vars.set(t.name,t.value.visitExpression(this,e)),t.hasModifier(ml.Exported)&&e.exports.push(t.name),null},t.prototype.visitWriteVarExpr=function(t,e){for(var n=t.value.visitExpression(this,e),r=e;null!=r;){if(r.vars.has(t.name))return r.vars.set(t.name,n),n;r=r.parent}throw new Error("Not declared variable "+t.name)},t.prototype.visitReadVarExpr=function(t,e){var n=t.name;if(null!=t.builtin)switch(t.builtin){case qc.Super:return e.instance.__proto__;case qc.This:return e.instance;case qc.CatchError:n=mf;break;case qc.CatchStack:n=gf;break;default:throw new Error("Unknown builtin variable "+t.builtin)}for(var r=e;null!=r;){if(r.vars.has(n))return r.vars.get(n);r=r.parent}throw new Error("Not declared variable "+n)},t.prototype.visitWriteKeyExpr=function(t,e){var n=t.receiver.visitExpression(this,e),r=t.index.visitExpression(this,e),i=t.value.visitExpression(this,e);return n[r]=i,i},t.prototype.visitWritePropExpr=function(t,e){var n=t.receiver.visitExpression(this,e),r=t.value.visitExpression(this,e);return n[t.name]=r,r},t.prototype.visitInvokeMethodExpr=function(t,e){var n,r=t.receiver.visitExpression(this,e),i=this.visitAllExpressions(t.args,e);if(null!=t.builtin)switch(t.builtin){case Qc.ConcatArray:n=r.concat.apply(r,i);break;case Qc.SubscribeObservable:n=r.subscribe({next:i[0]});break;case Qc.Bind:n=r.bind.apply(r,i);break;default:throw new Error("Unknown builtin method "+t.builtin)}else n=r[t.name].apply(r,i);return n},t.prototype.visitInvokeFunctionExpr=function(t,e){var n=this.visitAllExpressions(t.args,e),r=t.fn;return r instanceof Wc&&r.builtin===qc.Super?(e.instance.constructor.prototype.constructor.apply(e.instance,n),null):t.fn.visitExpression(this,e).apply(null,n)},t.prototype.visitReturnStmt=function(t,e){return new vf(t.value.visitExpression(this,e))},t.prototype.visitDeclareClassStmt=function(t,e){var n=bi(t,e,this);return e.vars.set(t.name,n),t.hasModifier(ml.Exported)&&e.exports.push(t.name),null},t.prototype.visitExpressionStmt=function(t,e){return t.expr.visitExpression(this,e)},t.prototype.visitIfStmt=function(t,e){return t.condition.visitExpression(this,e)?this.visitAllStatements(t.trueCase,e):null!=t.falseCase?this.visitAllStatements(t.falseCase,e):null},t.prototype.visitTryCatchStmt=function(t,e){try{return this.visitAllStatements(t.bodyStmts,e)}catch(r){var n=e.createChildWihtLocalVars();return n.vars.set(mf,r),n.vars.set(gf,r.stack),this.visitAllStatements(t.catchStmts,n)}},t.prototype.visitThrowStmt=function(t,e){throw t.error.visitExpression(this,e)},t.prototype.visitCommentStmt=function(t,e){return null},t.prototype.visitInstantiateExpr=function(t,e){var n=this.visitAllExpressions(t.args,e),r=t.classExpr.visitExpression(this,e);return new(r.bind.apply(r,[void 0].concat(n)))},t.prototype.visitLiteralExpr=function(t,e){return t.value},t.prototype.visitExternalExpr=function(t,e){return this.reflector.resolveExternalReference(t.value)},t.prototype.visitConditionalExpr=function(t,e){return t.condition.visitExpression(this,e)?t.trueCase.visitExpression(this,e):null!=t.falseCase?t.falseCase.visitExpression(this,e):null},t.prototype.visitNotExpr=function(t,e){return!t.condition.visitExpression(this,e)},t.prototype.visitAssertNotNullExpr=function(t,e){return t.condition.visitExpression(this,e)},t.prototype.visitCastExpr=function(t,e){return t.value.visitExpression(this,e)},t.prototype.visitFunctionExpr=function(t,e){return wi(t.params.map(function(t){return t.name}),t.statements,e,this)},t.prototype.visitDeclareFunctionStmt=function(t,e){var n=t.params.map(function(t){return t.name});return e.vars.set(t.name,wi(n,t.statements,e,this)),t.hasModifier(ml.Exported)&&e.exports.push(t.name),null},t.prototype.visitBinaryOperatorExpr=function(t,e){var n=this,r=function(){return t.lhs.visitExpression(n,e)},i=function(){return t.rhs.visitExpression(n,e)};switch(t.operator){case Uc.Equals:return r()==i();case Uc.Identical:return r()===i();case Uc.NotEquals:return r()!=i();case Uc.NotIdentical:return r()!==i();case Uc.And:return r()&&i();case Uc.Or:return r()||i();case Uc.Plus:return r()+i();case Uc.Minus:return r()-i();case Uc.Divide:return r()/i();case Uc.Multiply:return r()*i();case Uc.Modulo:return r()%i();case Uc.Lower:return r()i();case Uc.BiggerEquals:return r()>=i();default:throw new Error("Unknown operator "+t.operator)}},t.prototype.visitReadPropExpr=function(t,e){return t.receiver.visitExpression(this,e)[t.name]},t.prototype.visitReadKeyExpr=function(t,e){return t.receiver.visitExpression(this,e)[t.index.visitExpression(this,e)]},t.prototype.visitLiteralArrayExpr=function(t,e){return this.visitAllExpressions(t.entries,e)},t.prototype.visitLiteralMapExpr=function(t,e){var n=this,r={};return t.entries.forEach(function(t){return r[t.key]=t.value.visitExpression(n,e)}),r},t.prototype.visitCommaExpr=function(t,e){var n=this.visitAllExpressions(t.parts,e);return n[n.length-1]},t.prototype.visitAllExpressions=function(t,e){var n=this;return t.map(function(t){return t.visitExpression(n,e)})},t.prototype.visitAllStatements=function(t,e){for(var n=0;n0&&(e.println(t,"var self = this;"),this.visitAllStatements(t.constructorMethod.body,e)),e.decIndent(),e.println(t,"}")},e.prototype._visitClassGetter=function(t,e,n){n.println(t,"Object.defineProperty("+t.name+".prototype, '"+e.name+"', { get: function() {"),n.incIndent(),e.body.length>0&&(n.println(t,"var self = this;"),this.visitAllStatements(e.body,n)),n.decIndent(),n.println(t,"}});")},e.prototype._visitClassMethod=function(t,e,n){n.print(t,t.name+".prototype."+e.name+" = function("),this._visitParams(e.params,n),n.println(t,") {"),n.incIndent(),e.body.length>0&&(n.println(t,"var self = this;"),this.visitAllStatements(e.body,n)),n.decIndent(),n.println(t,"};")},e.prototype.visitReadVarExpr=function(e,n){if(e.builtin===qc.This)n.print(e,"self");else{if(e.builtin===qc.Super)throw new Error("'super' needs to be handled at a parent ast node, not at the variable level!");t.prototype.visitReadVarExpr.call(this,e,n)}return null},e.prototype.visitDeclareVarStmt=function(t,e){return e.print(t,"var "+t.name+" = "),t.value.visitExpression(this,e),e.println(t,";"),null},e.prototype.visitCastExpr=function(t,e){return t.value.visitExpression(this,e),null},e.prototype.visitInvokeFunctionExpr=function(e,n){var r=e.fn;return r instanceof Wc&&r.builtin===qc.Super?(n.currentClass.parent.visitExpression(this,n),n.print(e,".call(this"),e.args.length>0&&(n.print(e,", "),this.visitAllExpressions(e.args,n,",")),n.print(e,")")):t.prototype.visitInvokeFunctionExpr.call(this,e,n),null},e.prototype.visitFunctionExpr=function(t,e){return e.print(t,"function("),this._visitParams(t.params,e),e.println(t,") {"),e.incIndent(),this.visitAllStatements(t.statements,e),e.decIndent(),e.print(t,"}"),null},e.prototype.visitDeclareFunctionStmt=function(t,e){return e.print(t,"function "+t.name+"("),this._visitParams(t.params,e),e.println(t,") {"),e.incIndent(),this.visitAllStatements(t.statements,e),e.decIndent(),e.println(t,"}"),null},e.prototype.visitTryCatchStmt=function(t,e){e.println(t,"try {"),e.incIndent(),this.visitAllStatements(t.bodyStmts,e),e.decIndent(),e.println(t,"} catch ("+Kl.name+") {"),e.incIndent();var n=[Ql.set(Kl.prop("stack")).toDeclStmt(null,[ml.Final])].concat(t.catchStmts);return this.visitAllStatements(n,e),e.decIndent(),e.println(t,"}"),null},e.prototype._visitParams=function(t,e){this.visitAllObjects(function(t){return e.print(null,t.name)},t,e,",")},e.prototype.getBuiltinMethodName=function(t){var e;switch(t){case Qc.ConcatArray:e="concat";break;case Qc.SubscribeObservable:e="subscribe";break;case Qc.Bind:e="bind";break;default:throw new Error("Unknown builtin method: "+t)}return e},e}(Jl),bf=function(t){function e(e){var n=t.call(this)||this;return n.reflector=e,n._evalArgNames=[],n._evalArgValues=[],n._evalExportedVars=[],n}return Object(Ni.b)(e,t),e.prototype.createReturnStmt=function(t){new El(new fl(this._evalExportedVars.map(function(t){return new hl(t,ln(t),!1)}))).visitStatement(this,t)},e.prototype.getArgs=function(){for(var t={},e=0;e0&&(n=Ai(t,n));var r=Oi(n),i=this._packagePrefix;if(null!=i&&null!=r&&"package"==r[Tf.Scheme]){var o=r[Tf.Path];return i=i.replace(/\/+$/,""),o=o.replace(/^\/+/,""),i+"/"+o}return n},t}(),Sf=new RegExp("^(?:([^:/?#.]+):)?(?://(?:([^/?#]*)@)?([\\w\\d\\-\\u0100-\\uffff.%]*)(?::([0-9]+))?)?([^?#]+)?(?:\\?([^#]*))?(?:#(.*))?$"),Tf={Scheme:1,UserInfo:2,Domain:3,Port:4,Path:5,QueryData:6,Fragment:7};Tf[Tf.Scheme]="Scheme",Tf[Tf.UserInfo]="UserInfo",Tf[Tf.Domain]="Domain",Tf[Tf.Port]="Port",Tf[Tf.Path]="Path",Tf[Tf.QueryData]="QueryData",Tf[Tf.Fragment]="Fragment";var Pf=function(){function t(){}return t.prototype.get=function(t){return""},t}();!function(){function t(t,e,n,r){this.host=t,this.staticSymbolResolver=e,this.messageBundle=n,this.metadataResolver=r}t.prototype.extract=function(t){var e=this,n=Xr(t,this.host,this.staticSymbolResolver,this.metadataResolver),r=n.files,i=n.ngModules;return Promise.all(i.map(function(t){return e.metadataResolver.loadNgModuleDirectiveAndPipeMetadata(t.type.reference,!1)})).then(function(){var t=[];if(r.forEach(function(n){var r=[];n.directives.forEach(function(t){var n=e.metadataResolver.getDirectiveMetadata(t);n&&n.isComponent&&r.push(n)}),r.forEach(function(r){var i=r.template.template,o=rs.fromArray(r.template.interpolation);t.push.apply(t,e.messageBundle.updateFromTemplate(i,n.fileName,o))})}),t.length)throw new Error(t.map(function(t){return t.toString()}).join("\n"));return e.messageBundle})},t.create=function(e,n){var r=new pc,i=mi(e),o=new Vo,s=new pf(e,o),a=new Bh(e,o,s),u=new Yh(s,a),c=new Fo({defaultEncapsulation:Bi.Emulated,useJit:!1}),l=new Cs({get:function(t){return e.loadResource(t)}},i,r,c),p=new cp,h=new Mc(c,r,new Ul(u),new Ts(u),new tp(u),s,p,l,console,o,u),f=new Fh(r,[],{},n);return{extractor:new t(e,a,f,h),staticReflector:u}}}()},function(t,e,n){"use strict";function r(t,e){function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}e.b=r,n.d(e,"a",function(){return o});var i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},o=Object.assign||function(t){for(var e,n=1,r=arguments.length;n1&&"number"==typeof t[t.length-1]&&(n=t.pop())):"number"==typeof u&&(n=t.pop()),null===r&&1===t.length&&t[0]instanceof i.Observable?t[0]:a.mergeAll(n)(new o.ArrayObservable(t,r))}var i=n(20),o=n(299),s=n(126),a=n(301);e.merge=r},function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n(20),o=n(300),s=n(125),a=n(126),u=function(t){function e(e,n){t.call(this),this.array=e,this.scheduler=n,n||1!==e.length||(this._isScalar=!0,this.value=e[0])}return r(e,t),e.create=function(t,n){return new e(t,n)},e.of=function(){for(var t=[],n=0;n1?new e(t,r):1===i?new o.ScalarObservable(t[0],r):new s.EmptyObservable(r)},e.dispatch=function(t){var e=t.array,n=t.index,r=t.count,i=t.subscriber;if(n>=r)return void i.complete();i.next(e[n]),i.closed||(t.index=n+1,this.schedule(t))},e.prototype._subscribe=function(t){var n=this.array,r=n.length,i=this.scheduler;if(i)return i.schedule(e.dispatch,0,{array:n,index:0,count:r,subscriber:t});for(var o=0;o0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()},e}(s.OuterSubscriber);e.MergeMapSubscriber=u},function(t,e,n){"use strict";e.isArrayLike=function(t){return t&&"number"==typeof t.length}},function(t,e,n){"use strict";function r(t){return t&&"function"!=typeof t.subscribe&&"function"==typeof t.then}e.isPromise=r},function(t,e,n){"use strict";function r(t){var e=t.Symbol;if("function"==typeof e)return e.iterator||(e.iterator=e("iterator polyfill")),e.iterator;var n=t.Set;if(n&&"function"==typeof(new n)["@@iterator"])return"@@iterator";var r=t.Map;if(r)for(var i=Object.getOwnPropertyNames(r.prototype),o=0;o1)return void(this.connection=null);var n=this.connection,r=t._connection;this.connection=null,!r||n&&r!==n||r.unsubscribe()},e}(s.Subscriber))},function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=function(t){function e(){var e=t.call(this,"object unsubscribed");this.name=e.name="ObjectUnsubscribedError",this.stack=e.stack,this.message=e.message}return r(e,t),e}(Error);e.ObjectUnsubscribedError=i},function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n(60),o=function(t){function e(e,n){t.call(this),this.subject=e,this.subscriber=n,this.closed=!1}return r(e,t),e.prototype.unsubscribe=function(){if(!this.closed){this.closed=!0;var t=this.subject,e=t.observers;if(this.subject=null,e&&0!==e.length&&!t.isStopped&&!t.closed){var n=e.indexOf(this.subscriber);-1!==n&&e.splice(n,1)}}},e}(i.Subscription);e.SubjectSubscription=o},function(t,e,n){"use strict";n.d(e,"a",function(){return u});var r=n(27),i=n(86),o=n(315),s=n(322),a=n(325),u=function(){function t(){}return t.decorators=[{type:r.E,args:[{imports:[i.a,o.a,s.a],declarations:[a.a],bootstrap:[a.a]}]}],t.ctorParameters=function(){return[]},t}()},function(t,e,n){"use strict";function r(t){return null==t||0===t.length}function i(t){return null!=t}function o(t){var e=Object(H._29)(t)?Object(U.fromPromise)(t):t;if(!Object(H._28)(e))throw new Error("Expected validator to return Promise or Observable.");return e}function s(t,e){return e.map(function(e){return e(t)})}function a(t,e){return e.map(function(e){return e(t)})}function u(t){var e=t.reduce(function(t,e){return null!=e?Object(V.a)({},t,e):t},{});return 0===Object.keys(e).length?null:e}function c(){return/android (\d+)/.test((Object(q.c)()?Object(q.c)().getUserAgent():"").toLowerCase())}function l(t){return t.validate?function(e){return t.validate(e)}:t}function p(t){return t.validate?function(e){return t.validate(e)}:t}function h(){throw new Error("unimplemented")}function f(t,e){return null==t?""+e:(e&&"object"==typeof e&&(e="Object"),(t+": "+e).slice(0,50))}function d(t){return t.split(":")[0]}function v(t,e){return null==t?""+e:("string"==typeof e&&(e="'"+e+"'"),e&&"object"==typeof e&&(e="Object"),(t+": "+e).slice(0,50))}function y(t){return t.split(":")[0]}function m(t,e){return e.path.concat([t])}function g(t,e){t||T(e,"Cannot find control with"),e.valueAccessor||T(e,"No value accessor for form control with"),t.validator=$.compose([t.validator,e.validator]),t.asyncValidator=$.composeAsync([t.asyncValidator,e.asyncValidator]),e.valueAccessor.writeValue(t.value),b(t,e),C(t,e),w(t,e),e.valueAccessor.setDisabledState&&t.registerOnDisabledChange(function(t){e.valueAccessor.setDisabledState(t)}),e._rawValidators.forEach(function(e){e.registerOnValidatorChange&&e.registerOnValidatorChange(function(){return t.updateValueAndValidity()})}),e._rawAsyncValidators.forEach(function(e){e.registerOnValidatorChange&&e.registerOnValidatorChange(function(){return t.updateValueAndValidity()})})}function _(t,e){e.valueAccessor.registerOnChange(function(){return S(e)}),e.valueAccessor.registerOnTouched(function(){return S(e)}),e._rawValidators.forEach(function(t){t.registerOnValidatorChange&&t.registerOnValidatorChange(null)}),e._rawAsyncValidators.forEach(function(t){t.registerOnValidatorChange&&t.registerOnValidatorChange(null)}),t&&t._clearChangeFns()}function b(t,e){e.valueAccessor.registerOnChange(function(n){t._pendingValue=n,t._pendingChange=!0,t._pendingDirty=!0,"change"===t.updateOn&&E(t,e)})}function w(t,e){e.valueAccessor.registerOnTouched(function(){t._pendingTouched=!0,"blur"===t.updateOn&&t._pendingChange&&E(t,e),"submit"!==t.updateOn&&t.markAsTouched()})}function E(t,e){e.viewToModelUpdate(t._pendingValue),t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),t._pendingChange=!1}function C(t,e){t.registerOnChange(function(t,n){e.valueAccessor.writeValue(t),n&&e.viewToModelUpdate(t)})}function x(t,e){null==t&&T(e,"Cannot find control with"),t.validator=$.compose([t.validator,e.validator]),t.asyncValidator=$.composeAsync([t.asyncValidator,e.asyncValidator])}function S(t){return T(t,"There is no FormControl instance attached to form control element with")}function T(t,e){var n;throw n=t.path.length>1?"path: '"+t.path.join(" -> ")+"'":t.path[0]?"name: '"+t.path+"'":"unspecified name attribute",new Error(e+" "+n)}function P(t){return null!=t?$.compose(t.map(l)):null}function O(t){return null!=t?$.composeAsync(t.map(p)):null}function k(t,e){if(!t.hasOwnProperty("model"))return!1;var n=t.model;return!!n.isFirstChange()||!Object(H._30)(e,n.currentValue)}function M(t){return mt.some(function(e){return t.constructor===e})}function A(t,e){t._syncPendingControls(),e.forEach(function(t){var e=t.control;"submit"===e.updateOn&&e._pendingChange&&(t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1)})}function N(t,e){if(!e)return null;var n=void 0,r=void 0,i=void 0;return e.forEach(function(e){e.constructor===nt?n=e:M(e)?(r&&T(t,"More than one built-in value accessor matches form control with"),r=e):(i&&T(t,"More than one custom value accessor matches form control with"),i=e)}),i||(r||(n||(T(t,"No valid value accessor for form control with"),null)))}function I(t,e){var n=t.indexOf(e);n>-1&&t.splice(n,1)}function D(t,e,n){return null==e?null:(e instanceof Array||(e=e.split(n)),e instanceof Array&&0===e.length?null:e.reduce(function(t,e){return t instanceof St?t.controls[e]||null:t instanceof Tt?t.at(e)||null:null},t))}function R(t){var e=F(t)?t.validators:t;return Array.isArray(e)?P(e):e||null}function j(t,e){var n=F(e)?e.asyncValidators:t;return Array.isArray(n)?O(n):n||null}function F(t){return null!=t&&!Array.isArray(t)&&"object"==typeof t}function L(t){return!(t instanceof zt||t instanceof Bt||t instanceof Wt)}n.d(e,"a",function(){return he});var V=n(50),H=n(27),B=n(316),U=(n.n(B),n(318)),z=(n.n(U),n(320)),q=(n.n(z),n(86)),W=function(){function t(){}return Object.defineProperty(t.prototype,"value",{get:function(){return this.control?this.control.value:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"valid",{get:function(){return this.control?this.control.valid:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"invalid",{get:function(){return this.control?this.control.invalid:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pending",{get:function(){return this.control?this.control.pending:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"disabled",{get:function(){return this.control?this.control.disabled:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"enabled",{get:function(){return this.control?this.control.enabled:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"errors",{get:function(){return this.control?this.control.errors:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pristine",{get:function(){return this.control?this.control.pristine:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"dirty",{get:function(){return this.control?this.control.dirty:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"touched",{get:function(){return this.control?this.control.touched:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"status",{get:function(){return this.control?this.control.status:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"untouched",{get:function(){return this.control?this.control.untouched:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"statusChanges",{get:function(){return this.control?this.control.statusChanges:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"valueChanges",{get:function(){return this.control?this.control.valueChanges:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"path",{get:function(){return null},enumerable:!0,configurable:!0}),t.prototype.reset=function(t){void 0===t&&(t=void 0),this.control&&this.control.reset(t)},t.prototype.hasError=function(t,e){return!!this.control&&this.control.hasError(t,e)},t.prototype.getError=function(t,e){return this.control?this.control.getError(t,e):null},t}(),G=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(V.b)(e,t),Object.defineProperty(e.prototype,"formDirective",{get:function(){return null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"path",{get:function(){return null},enumerable:!0,configurable:!0}),e}(W),Z=new H.x("NgValidators"),K=new H.x("NgAsyncValidators"),Q=/^(?=.{1,254}$)(?=.{1,64}@)[-!#$%&'*+\/0-9=?A-Z^_`a-z{|}~]+(\.[-!#$%&'*+\/0-9=?A-Z^_`a-z{|}~]+)*@[A-Za-z0-9]([A-Za-z0-9-]{0,61}[A-Za-z0-9])?(\.[A-Za-z0-9]([A-Za-z0-9-]{0,61}[A-Za-z0-9])?)*$/,$=function(){function t(){}return t.min=function(t){return function(e){if(r(e.value)||r(t))return null;var n=parseFloat(e.value);return!isNaN(n)&&nt?{max:{max:t,actual:e.value}}:null}},t.required=function(t){return r(t.value)?{required:!0}:null},t.requiredTrue=function(t){return!0===t.value?null:{required:!0}},t.email=function(t){return Q.test(t.value)?null:{email:!0}},t.minLength=function(t){return function(e){if(r(e.value))return null;var n=e.value?e.value.length:0;return nt?{maxlength:{requiredLength:t,actualLength:n}}:null}},t.pattern=function(e){if(!e)return t.nullValidator;var n,i;return"string"==typeof e?(i="^"+e+"$",n=new RegExp(i)):(i=e.toString(),n=e),function(t){if(r(t.value))return null;var e=t.value;return n.test(e)?null:{pattern:{requiredPattern:i,actualValue:e}}}},t.nullValidator=function(t){return null},t.compose=function(t){if(!t)return null;var e=t.filter(i);return 0==e.length?null:function(t){return u(s(t,e))}},t.composeAsync=function(t){if(!t)return null;var e=t.filter(i);return 0==e.length?null:function(t){var n=a(t,e).map(o);return z.map.call(Object(B.forkJoin)(n),u)}},t}(),X=new H.x("NgValueAccessor"),J={provide:X,useExisting:Object(H._8)(function(){return Y}),multi:!0},Y=function(){function t(t,e){this._renderer=t,this._elementRef=e,this.onChange=function(t){},this.onTouched=function(){}}return t.prototype.writeValue=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"checked",t)},t.prototype.registerOnChange=function(t){this.onChange=t},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t.decorators=[{type:H.q,args:[{selector:"input[type=checkbox][formControlName],input[type=checkbox][formControl],input[type=checkbox][ngModel]",host:{"(change)":"onChange($event.target.checked)","(blur)":"onTouched()"},providers:[J]}]}],t.ctorParameters=function(){return[{type:H.R},{type:H.r}]},t}(),tt={provide:X,useExisting:Object(H._8)(function(){return nt}),multi:!0},et=new H.x("CompositionEventMode"),nt=function(){function t(t,e,n){this._renderer=t,this._elementRef=e,this._compositionMode=n,this.onChange=function(t){},this.onTouched=function(){},this._composing=!1,null==this._compositionMode&&(this._compositionMode=!c())}return t.prototype.writeValue=function(t){var e=null==t?"":t;this._renderer.setProperty(this._elementRef.nativeElement,"value",e)},t.prototype.registerOnChange=function(t){this.onChange=t},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t.prototype._handleInput=function(t){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(t)},t.prototype._compositionStart=function(){this._composing=!0},t.prototype._compositionEnd=function(t){this._composing=!1,this._compositionMode&&this.onChange(t)},t.decorators=[{type:H.q,args:[{selector:"input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]",host:{"(input)":"_handleInput($event.target.value)","(blur)":"onTouched()","(compositionstart)":"_compositionStart()","(compositionend)":"_compositionEnd($event.target.value)"},providers:[tt]}]}],t.ctorParameters=function(){return[{type:H.R},{type:H.r},{type:void 0,decorators:[{type:H.J},{type:H.v,args:[et]}]}]},t}(),rt={provide:X,useExisting:Object(H._8)(function(){return it}),multi:!0},it=function(){function t(t,e){this._renderer=t,this._elementRef=e,this.onChange=function(t){},this.onTouched=function(){}}return t.prototype.writeValue=function(t){var e=null==t?"":t;this._renderer.setProperty(this._elementRef.nativeElement,"value",e)},t.prototype.registerOnChange=function(t){this.onChange=function(e){t(""==e?null:parseFloat(e))}},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t.decorators=[{type:H.q,args:[{selector:"input[type=number][formControlName],input[type=number][formControl],input[type=number][ngModel]",host:{"(change)":"onChange($event.target.value)","(input)":"onChange($event.target.value)","(blur)":"onTouched()"},providers:[rt]}]}],t.ctorParameters=function(){return[{type:H.R},{type:H.r}]},t}(),ot=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._parent=null,e.name=null,e.valueAccessor=null,e._rawValidators=[],e._rawAsyncValidators=[],e}return Object(V.b)(e,t),Object.defineProperty(e.prototype,"validator",{get:function(){return h()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"asyncValidator",{get:function(){return h()},enumerable:!0,configurable:!0}),e}(W),st={provide:X,useExisting:Object(H._8)(function(){return ut}),multi:!0},at=function(){function t(){this._accessors=[]}return t.prototype.add=function(t,e){this._accessors.push([t,e])},t.prototype.remove=function(t){for(var e=this._accessors.length-1;e>=0;--e)if(this._accessors[e][1]===t)return void this._accessors.splice(e,1)},t.prototype.select=function(t){var e=this;this._accessors.forEach(function(n){e._isSameGroup(n,t)&&n[1]!==t&&n[1].fireUncheck(t.value)})},t.prototype._isSameGroup=function(t,e){return!!t[0].control&&(t[0]._parent===e._control._parent&&t[1].name===e.name)},t.decorators=[{type:H.w}],t.ctorParameters=function(){return[]},t}(),ut=function(){function t(t,e,n,r){this._renderer=t,this._elementRef=e,this._registry=n,this._injector=r,this.onChange=function(){},this.onTouched=function(){}}return t.prototype.ngOnInit=function(){this._control=this._injector.get(ot),this._checkName(),this._registry.add(this._control,this)},t.prototype.ngOnDestroy=function(){this._registry.remove(this)},t.prototype.writeValue=function(t){this._state=t===this.value,this._renderer.setProperty(this._elementRef.nativeElement,"checked",this._state)},t.prototype.registerOnChange=function(t){var e=this;this._fn=t,this.onChange=function(){t(e.value),e._registry.select(e)}},t.prototype.fireUncheck=function(t){this.writeValue(t)},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t.prototype._checkName=function(){this.name&&this.formControlName&&this.name!==this.formControlName&&this._throwNameError(),!this.name&&this.formControlName&&(this.name=this.formControlName)},t.prototype._throwNameError=function(){throw new Error('\n If you define both a name and a formControlName attribute on your radio button, their values\n must match. Ex: \n ')},t.decorators=[{type:H.q,args:[{selector:"input[type=radio][formControlName],input[type=radio][formControl],input[type=radio][ngModel]",host:{"(change)":"onChange()","(blur)":"onTouched()"},providers:[st]}]}],t.ctorParameters=function(){return[{type:H.R},{type:H.r},{type:at},{type:H.y}]},t.propDecorators={name:[{type:H.z}],formControlName:[{type:H.z}],value:[{type:H.z}]},t}(),ct={provide:X,useExisting:Object(H._8)(function(){return lt}),multi:!0},lt=function(){function t(t,e){this._renderer=t,this._elementRef=e,this.onChange=function(t){},this.onTouched=function(){}}return t.prototype.writeValue=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"value",parseFloat(t))},t.prototype.registerOnChange=function(t){this.onChange=function(e){t(""==e?null:parseFloat(e))}},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t.decorators=[{type:H.q,args:[{selector:"input[type=range][formControlName],input[type=range][formControl],input[type=range][ngModel]",host:{"(change)":"onChange($event.target.value)","(input)":"onChange($event.target.value)","(blur)":"onTouched()"},providers:[ct]}]}],t.ctorParameters=function(){return[{type:H.R},{type:H.r}]},t}(),pt={provide:X,useExisting:Object(H._8)(function(){return ht}),multi:!0},ht=function(){function t(t,e){this._renderer=t,this._elementRef=e,this._optionMap=new Map,this._idCounter=0,this.onChange=function(t){},this.onTouched=function(){},this._compareWith=H._30}return Object.defineProperty(t.prototype,"compareWith",{set:function(t){if("function"!=typeof t)throw new Error("compareWith must be a function, but received "+JSON.stringify(t));this._compareWith=t},enumerable:!0,configurable:!0}),t.prototype.writeValue=function(t){this.value=t;var e=this._getOptionId(t);null==e&&this._renderer.setProperty(this._elementRef.nativeElement,"selectedIndex",-1);var n=f(e,t);this._renderer.setProperty(this._elementRef.nativeElement,"value",n)},t.prototype.registerOnChange=function(t){var e=this;this.onChange=function(n){e.value=e._getOptionValue(n),t(e.value)}},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t.prototype._registerOption=function(){return(this._idCounter++).toString()},t.prototype._getOptionId=function(t){for(var e=0,n=Array.from(this._optionMap.keys());e-1)}}else n=function(t,e){t._setSelected(!1)};this._optionMap.forEach(n)},t.prototype.registerOnChange=function(t){var e=this;this.onChange=function(n){var r=[];if(n.hasOwnProperty("selectedOptions"))for(var i=n.selectedOptions,o=0;o0||this.disabled},e.prototype._checkAllValuesPresent=function(t){this._forEachChild(function(e,n){if(void 0===t[n])throw new Error("Must supply a value for form control with name: '"+n+"'.")})},e}(Ct),Tt=function(t){function e(e,n,r){var i=t.call(this,R(n),j(r,n))||this;return i.controls=e,i._initObservables(),i._setUpdateStrategy(n),i._setUpControls(),i.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),i}return Object(V.b)(e,t),e.prototype.at=function(t){return this.controls[t]},e.prototype.push=function(t){this.controls.push(t),this._registerControl(t),this.updateValueAndValidity(),this._onCollectionChange()},e.prototype.insert=function(t,e){this.controls.splice(t,0,e),this._registerControl(e),this.updateValueAndValidity(),this._onCollectionChange()},e.prototype.removeAt=function(t){this.controls[t]&&this.controls[t]._registerOnCollectionChange(function(){}),this.controls.splice(t,1),this.updateValueAndValidity(),this._onCollectionChange()},e.prototype.setControl=function(t,e){this.controls[t]&&this.controls[t]._registerOnCollectionChange(function(){}),this.controls.splice(t,1),e&&(this.controls.splice(t,0,e),this._registerControl(e)),this.updateValueAndValidity(),this._onCollectionChange()},Object.defineProperty(e.prototype,"length",{get:function(){return this.controls.length},enumerable:!0,configurable:!0}),e.prototype.setValue=function(t,e){var n=this;void 0===e&&(e={}),this._checkAllValuesPresent(t),t.forEach(function(t,r){n._throwIfControlMissing(r),n.at(r).setValue(t,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)},e.prototype.patchValue=function(t,e){var n=this;void 0===e&&(e={}),t.forEach(function(t,r){n.at(r)&&n.at(r).patchValue(t,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)},e.prototype.reset=function(t,e){void 0===t&&(t=[]),void 0===e&&(e={}),this._forEachChild(function(n,r){n.reset(t[r],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e),this._updatePristine(e),this._updateTouched(e)},e.prototype.getRawValue=function(){return this.controls.map(function(t){return t instanceof xt?t.value:t.getRawValue()})},e.prototype._syncPendingControls=function(){var t=this.controls.reduce(function(t,e){return!!e._syncPendingControls()||t},!1);return t&&this.updateValueAndValidity({onlySelf:!0}),t},e.prototype._throwIfControlMissing=function(t){if(!this.controls.length)throw new Error("\n There are no form controls registered with this array yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.at(t))throw new Error("Cannot find form control at index "+t)},e.prototype._forEachChild=function(t){this.controls.forEach(function(e,n){t(e,n)})},e.prototype._updateValue=function(){var t=this;this.value=this.controls.filter(function(e){return e.enabled||t.disabled}).map(function(t){return t.value})},e.prototype._anyControls=function(t){return this.controls.some(function(e){return e.enabled&&t(e)})},e.prototype._setUpControls=function(){var t=this;this._forEachChild(function(e){return t._registerControl(e)})},e.prototype._checkAllValuesPresent=function(t){this._forEachChild(function(e,n){if(void 0===t[n])throw new Error("Must supply a value for form control at index: "+n+".")})},e.prototype._allControlsDisabled=function(){for(var t=0,e=this.controls;t0||this.disabled},e.prototype._registerControl=function(t){t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)},e}(Ct),Pt={provide:G,useExisting:Object(H._8)(function(){return kt})},Ot=Promise.resolve(null),kt=function(t){function e(e,n){var r=t.call(this)||this;return r.submitted=!1,r._directives=[],r.ngSubmit=new H.t,r.form=new St({},P(e),O(n)),r}return Object(V.b)(e,t),e.prototype.ngAfterViewInit=function(){this._setUpdateStrategy()},Object.defineProperty(e.prototype,"formDirective",{get:function(){return this},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"control",{get:function(){return this.form},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"path",{get:function(){return[]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"controls",{get:function(){return this.form.controls},enumerable:!0,configurable:!0}),e.prototype.addControl=function(t){var e=this;Ot.then(function(){var n=e._findContainer(t.path);t.control=n.registerControl(t.name,t.control),g(t.control,t),t.control.updateValueAndValidity({emitEvent:!1}),e._directives.push(t)})},e.prototype.getControl=function(t){return this.form.get(t.path)},e.prototype.removeControl=function(t){var e=this;Ot.then(function(){var n=e._findContainer(t.path);n&&n.removeControl(t.name),I(e._directives,t)})},e.prototype.addFormGroup=function(t){var e=this;Ot.then(function(){var n=e._findContainer(t.path),r=new St({});x(r,t),n.registerControl(t.name,r),r.updateValueAndValidity({emitEvent:!1})})},e.prototype.removeFormGroup=function(t){var e=this;Ot.then(function(){var n=e._findContainer(t.path);n&&n.removeControl(t.name)})},e.prototype.getFormGroup=function(t){return this.form.get(t.path)},e.prototype.updateModel=function(t,e){var n=this;Ot.then(function(){n.form.get(t.path).setValue(e)})},e.prototype.setValue=function(t){this.control.setValue(t)},e.prototype.onSubmit=function(t){return this.submitted=!0,A(this.form,this._directives),this.ngSubmit.emit(t),!1},e.prototype.onReset=function(){this.resetForm()},e.prototype.resetForm=function(t){void 0===t&&(t=void 0),this.form.reset(t),this.submitted=!1},e.prototype._setUpdateStrategy=function(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)},e.prototype._findContainer=function(t){return t.pop(),t.length?this.form.get(t):this.form},e.decorators=[{type:H.q,args:[{selector:"form:not([ngNoForm]):not([formGroup]),ngForm,[ngForm]",providers:[Pt],host:{"(submit)":"onSubmit($event)","(reset)":"onReset()"},outputs:["ngSubmit"],exportAs:"ngForm"}]}],e.ctorParameters=function(){return[{type:Array,decorators:[{type:H.J},{type:H.W},{type:H.v,args:[Z]}]},{type:Array,decorators:[{type:H.J},{type:H.W},{type:H.v,args:[K]}]}]},e.propDecorators={options:[{type:H.z,args:["ngFormOptions"]}]},e}(G),Mt={formControlName:'\n
\n \n
\n\n In your class:\n\n this.myGroup = new FormGroup({\n firstName: new FormControl()\n });',formGroupName:'\n
\n
\n \n
\n
\n\n In your class:\n\n this.myGroup = new FormGroup({\n person: new FormGroup({ firstName: new FormControl() })\n });',formArrayName:'\n
\n
\n
\n \n
\n
\n
\n\n In your class:\n\n this.cityArray = new FormArray([new FormControl(\'SF\')]);\n this.myGroup = new FormGroup({\n cities: this.cityArray\n });',ngModelGroup:'\n
\n
\n \n
\n
',ngModelWithFormGroup:'\n
\n \n \n
\n '},At=function(){function t(){}return t.modelParentException=function(){throw new Error('\n ngModel cannot be used to register form controls with a parent formGroup directive. Try using\n formGroup\'s partner directive "formControlName" instead. Example:\n\n '+Mt.formControlName+"\n\n Or, if you'd like to avoid registering this form control, indicate that it's standalone in ngModelOptions:\n\n Example:\n\n "+Mt.ngModelWithFormGroup)},t.formGroupNameException=function(){throw new Error("\n ngModel cannot be used to register form controls with a parent formGroupName or formArrayName directive.\n\n Option 1: Use formControlName instead of ngModel (reactive strategy):\n\n "+Mt.formGroupName+"\n\n Option 2: Update ngModel's parent be ngModelGroup (template-driven strategy):\n\n "+Mt.ngModelGroup)},t.missingNameException=function(){throw new Error('If ngModel is used within a form tag, either the name attribute must be set or the form\n control must be defined as \'standalone\' in ngModelOptions.\n\n Example 1: \n Example 2: ')},t.modelGroupParentException=function(){throw new Error("\n ngModelGroup cannot be used with a parent formGroup directive.\n\n Option 1: Use formGroupName instead of ngModelGroup (reactive strategy):\n\n "+Mt.formGroupName+"\n\n Option 2: Use a regular form tag instead of the formGroup directive (template-driven strategy):\n\n "+Mt.ngModelGroup)},t}(),Nt={provide:G,useExisting:Object(H._8)(function(){return It})},It=function(t){function e(e,n,r){var i=t.call(this)||this;return i._parent=e,i._validators=n,i._asyncValidators=r,i}return Object(V.b)(e,t),e.prototype._checkParentType=function(){this._parent instanceof e||this._parent instanceof kt||At.modelGroupParentException()},e.decorators=[{type:H.q,args:[{selector:"[ngModelGroup]",providers:[Nt],exportAs:"ngModelGroup"}]}],e.ctorParameters=function(){return[{type:G,decorators:[{type:H.u},{type:H.X}]},{type:Array,decorators:[{type:H.J},{type:H.W},{type:H.v,args:[Z]}]},{type:Array,decorators:[{type:H.J},{type:H.W},{type:H.v,args:[K]}]}]},e.propDecorators={name:[{type:H.z,args:["ngModelGroup"]}]},e}(gt),Dt={provide:ot,useExisting:Object(H._8)(function(){return jt})},Rt=Promise.resolve(null),jt=function(t){function e(e,n,r,i){var o=t.call(this)||this;return o.control=new xt,o._registered=!1,o.update=new H.t,o._parent=e,o._rawValidators=n||[],o._rawAsyncValidators=r||[],o.valueAccessor=N(o,i),o}return Object(V.b)(e,t),e.prototype.ngOnChanges=function(t){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in t&&this._updateDisabled(t),k(t,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)},e.prototype.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeControl(this)},Object.defineProperty(e.prototype,"path",{get:function(){return this._parent?m(this.name,this._parent):[this.name]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"formDirective",{get:function(){return this._parent?this._parent.formDirective:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"validator",{get:function(){return P(this._rawValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"asyncValidator",{get:function(){return O(this._rawAsyncValidators)},enumerable:!0,configurable:!0}),e.prototype.viewToModelUpdate=function(t){this.viewModel=t,this.update.emit(t)},e.prototype._setUpControl=function(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0},e.prototype._setUpdateStrategy=function(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)},e.prototype._isStandalone=function(){return!this._parent||!(!this.options||!this.options.standalone)},e.prototype._setUpStandalone=function(){g(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})},e.prototype._checkForErrors=function(){this._isStandalone()||this._checkParentType(),this._checkName()},e.prototype._checkParentType=function(){!(this._parent instanceof It)&&this._parent instanceof gt?At.formGroupNameException():this._parent instanceof It||this._parent instanceof kt||At.modelParentException()},e.prototype._checkName=function(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()||this.name||At.missingNameException()},e.prototype._updateValue=function(t){var e=this;Rt.then(function(){e.control.setValue(t,{emitViewToModelChange:!1})})},e.prototype._updateDisabled=function(t){var e=this,n=t.isDisabled.currentValue,r=""===n||n&&"false"!==n;Rt.then(function(){r&&!e.control.disabled?e.control.disable():!r&&e.control.disabled&&e.control.enable()})},e.decorators=[{type:H.q,args:[{selector:"[ngModel]:not([formControlName]):not([formControl])",providers:[Dt],exportAs:"ngModel"}]}],e.ctorParameters=function(){return[{type:G,decorators:[{type:H.J},{type:H.u}]},{type:Array,decorators:[{type:H.J},{type:H.W},{type:H.v,args:[Z]}]},{type:Array,decorators:[{type:H.J},{type:H.W},{type:H.v,args:[K]}]},{type:Array,decorators:[{type:H.J},{type:H.W},{type:H.v,args:[X]}]}]},e.propDecorators={name:[{type:H.z}],isDisabled:[{type:H.z,args:["disabled"]}],model:[{type:H.z,args:["ngModel"]}],options:[{type:H.z,args:["ngModelOptions"]}],update:[{type:H.K,args:["ngModelChange"]}]},e}(ot),Ft=function(){function t(){}return t.controlParentException=function(){throw new Error("formControlName must be used with a parent formGroup directive. You'll want to add a formGroup\n directive and pass it an existing FormGroup instance (you can create one in your class).\n\n Example:\n\n "+Mt.formControlName)},t.ngModelGroupException=function(){throw new Error('formControlName cannot be used with an ngModelGroup parent. It is only compatible with parents\n that also have a "form" prefix: formGroupName, formArrayName, or formGroup.\n\n Option 1: Update the parent to be formGroupName (reactive form strategy)\n\n '+Mt.formGroupName+"\n\n Option 2: Use ngModel instead of formControlName (template-driven strategy)\n\n "+Mt.ngModelGroup)},t.missingFormException=function(){throw new Error("formGroup expects a FormGroup instance. Please pass one in.\n\n Example:\n\n "+Mt.formControlName)},t.groupParentException=function(){throw new Error("formGroupName must be used with a parent formGroup directive. You'll want to add a formGroup\n directive and pass it an existing FormGroup instance (you can create one in your class).\n\n Example:\n\n "+Mt.formGroupName)},t.arrayParentException=function(){throw new Error("formArrayName must be used with a parent formGroup directive. You'll want to add a formGroup\n directive and pass it an existing FormGroup instance (you can create one in your class).\n\n Example:\n\n "+Mt.formArrayName)},t.disabledAttrWarning=function(){console.warn("\n It looks like you're using the disabled attribute with a reactive form directive. If you set disabled to true\n when you set up this control in your component class, the disabled attribute will actually be set in the DOM for\n you. We recommend using this approach to avoid 'changed after checked' errors.\n \n Example: \n form = new FormGroup({\n first: new FormControl({value: 'Nancy', disabled: true}, Validators.required),\n last: new FormControl('Drew', Validators.required)\n });\n ")},t}(),Lt={provide:ot,useExisting:Object(H._8)(function(){return Vt})},Vt=function(t){function e(e,n,r){var i=t.call(this)||this;return i.update=new H.t,i._rawValidators=e||[],i._rawAsyncValidators=n||[],i.valueAccessor=N(i,r),i}return Object(V.b)(e,t),Object.defineProperty(e.prototype,"isDisabled",{set:function(t){Ft.disabledAttrWarning()},enumerable:!0,configurable:!0}),e.prototype.ngOnChanges=function(t){this._isControlChanged(t)&&(g(this.form,this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this.form.updateValueAndValidity({emitEvent:!1})),k(t,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)},Object.defineProperty(e.prototype,"path",{get:function(){return[]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"validator",{get:function(){return P(this._rawValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"asyncValidator",{get:function(){return O(this._rawAsyncValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"control",{get:function(){return this.form},enumerable:!0,configurable:!0}),e.prototype.viewToModelUpdate=function(t){this.viewModel=t,this.update.emit(t)},e.prototype._isControlChanged=function(t){return t.hasOwnProperty("form")},e.decorators=[{type:H.q,args:[{selector:"[formControl]",providers:[Lt],exportAs:"ngForm"}]}],e.ctorParameters=function(){return[{type:Array,decorators:[{type:H.J},{type:H.W},{type:H.v,args:[Z]}]},{type:Array,decorators:[{type:H.J},{type:H.W},{type:H.v,args:[K]}]},{type:Array,decorators:[{type:H.J},{type:H.W},{type:H.v,args:[X]}]}]},e.propDecorators={form:[{type:H.z,args:["formControl"]}],model:[{type:H.z,args:["ngModel"]}],update:[{type:H.K,args:["ngModelChange"]}],isDisabled:[{type:H.z,args:["disabled"]}]},e}(ot),Ht={provide:G,useExisting:Object(H._8)(function(){return Bt})},Bt=function(t){function e(e,n){var r=t.call(this)||this;return r._validators=e,r._asyncValidators=n,r.submitted=!1,r.directives=[],r.form=null,r.ngSubmit=new H.t,r}return Object(V.b)(e,t),e.prototype.ngOnChanges=function(t){this._checkFormPresent(),t.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations())},Object.defineProperty(e.prototype,"formDirective",{get:function(){return this},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"control",{get:function(){return this.form},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"path",{get:function(){return[]},enumerable:!0,configurable:!0}),e.prototype.addControl=function(t){var e=this.form.get(t.path);return g(e,t),e.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),e},e.prototype.getControl=function(t){return this.form.get(t.path)},e.prototype.removeControl=function(t){I(this.directives,t)},e.prototype.addFormGroup=function(t){var e=this.form.get(t.path);x(e,t),e.updateValueAndValidity({emitEvent:!1})},e.prototype.removeFormGroup=function(t){},e.prototype.getFormGroup=function(t){return this.form.get(t.path)},e.prototype.addFormArray=function(t){var e=this.form.get(t.path);x(e,t),e.updateValueAndValidity({emitEvent:!1})},e.prototype.removeFormArray=function(t){},e.prototype.getFormArray=function(t){return this.form.get(t.path)},e.prototype.updateModel=function(t,e){this.form.get(t.path).setValue(e)},e.prototype.onSubmit=function(t){return this.submitted=!0,A(this.form,this.directives),this.ngSubmit.emit(t),!1},e.prototype.onReset=function(){this.resetForm()},e.prototype.resetForm=function(t){void 0===t&&(t=void 0),this.form.reset(t),this.submitted=!1},e.prototype._updateDomValue=function(){var t=this;this.directives.forEach(function(e){var n=t.form.get(e.path);e.control!==n&&(_(e.control,e),n&&g(n,e),e.control=n)}),this.form._updateTreeValidity({emitEvent:!1})},e.prototype._updateRegistrations=function(){var t=this;this.form._registerOnCollectionChange(function(){return t._updateDomValue()}),this._oldForm&&this._oldForm._registerOnCollectionChange(function(){}),this._oldForm=this.form},e.prototype._updateValidators=function(){var t=P(this._validators);this.form.validator=$.compose([this.form.validator,t]);var e=O(this._asyncValidators);this.form.asyncValidator=$.composeAsync([this.form.asyncValidator,e])},e.prototype._checkFormPresent=function(){this.form||Ft.missingFormException()},e.decorators=[{type:H.q,args:[{selector:"[formGroup]",providers:[Ht],host:{"(submit)":"onSubmit($event)","(reset)":"onReset()"},exportAs:"ngForm"}]}],e.ctorParameters=function(){return[{type:Array,decorators:[{type:H.J},{type:H.W},{type:H.v,args:[Z]}]},{type:Array,decorators:[{type:H.J},{type:H.W},{type:H.v,args:[K]}]}]},e.propDecorators={form:[{type:H.z,args:["formGroup"]}],ngSubmit:[{type:H.K}]},e}(G),Ut={provide:G,useExisting:Object(H._8)(function(){return zt})},zt=function(t){function e(e,n,r){var i=t.call(this)||this;return i._parent=e,i._validators=n,i._asyncValidators=r,i}return Object(V.b)(e,t),e.prototype._checkParentType=function(){L(this._parent)&&Ft.groupParentException()},e.decorators=[{type:H.q,args:[{selector:"[formGroupName]",providers:[Ut]}]}],e.ctorParameters=function(){return[{type:G,decorators:[{type:H.J},{type:H.u},{type:H.X}]},{type:Array,decorators:[{type:H.J},{type:H.W},{type:H.v,args:[Z]}]},{type:Array,decorators:[{type:H.J},{type:H.W},{type:H.v,args:[K]}]}]},e.propDecorators={name:[{type:H.z,args:["formGroupName"]}]},e}(gt),qt={provide:G,useExisting:Object(H._8)(function(){return Wt})},Wt=function(t){function e(e,n,r){var i=t.call(this)||this;return i._parent=e,i._validators=n,i._asyncValidators=r,i}return Object(V.b)(e,t),e.prototype.ngOnInit=function(){this._checkParentType(),this.formDirective.addFormArray(this)},e.prototype.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeFormArray(this)},Object.defineProperty(e.prototype,"control",{get:function(){return this.formDirective.getFormArray(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"formDirective",{get:function(){return this._parent?this._parent.formDirective:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"path",{get:function(){return m(this.name,this._parent)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"validator",{get:function(){return P(this._validators)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"asyncValidator",{get:function(){return O(this._asyncValidators)},enumerable:!0,configurable:!0}),e.prototype._checkParentType=function(){L(this._parent)&&Ft.arrayParentException()},e.decorators=[{type:H.q,args:[{selector:"[formArrayName]",providers:[qt]}]}],e.ctorParameters=function(){return[{type:G,decorators:[{type:H.J},{type:H.u},{type:H.X}]},{type:Array,decorators:[{type:H.J},{type:H.W},{type:H.v,args:[Z]}]},{type:Array,decorators:[{type:H.J},{type:H.W},{type:H.v,args:[K]}]}]},e.propDecorators={name:[{type:H.z,args:["formArrayName"]}]},e}(G),Gt={provide:ot,useExisting:Object(H._8)(function(){return Zt})},Zt=function(t){function e(e,n,r,i){var o=t.call(this)||this;return o._added=!1,o.update=new H.t,o._parent=e,o._rawValidators=n||[],o._rawAsyncValidators=r||[],o.valueAccessor=N(o,i),o}return Object(V.b)(e,t),Object.defineProperty(e.prototype,"isDisabled",{set:function(t){Ft.disabledAttrWarning()},enumerable:!0,configurable:!0}),e.prototype.ngOnChanges=function(t){this._added||this._setUpControl(),k(t,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))},e.prototype.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeControl(this)},e.prototype.viewToModelUpdate=function(t){this.viewModel=t,this.update.emit(t)},Object.defineProperty(e.prototype,"path",{get:function(){return m(this.name,this._parent)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"formDirective",{get:function(){return this._parent?this._parent.formDirective:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"validator",{get:function(){return P(this._rawValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"asyncValidator",{get:function(){return O(this._rawAsyncValidators)},enumerable:!0,configurable:!0}),e.prototype._checkParentType=function(){!(this._parent instanceof zt)&&this._parent instanceof gt?Ft.ngModelGroupException():this._parent instanceof zt||this._parent instanceof Bt||this._parent instanceof Wt||Ft.controlParentException()},e.prototype._setUpControl=function(){this._checkParentType(),this.control=this.formDirective.addControl(this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this._added=!0},e.decorators=[{type:H.q,args:[{selector:"[formControlName]",providers:[Gt]}]}],e.ctorParameters=function(){return[{type:G,decorators:[{type:H.J},{type:H.u},{type:H.X}]},{type:Array,decorators:[{type:H.J},{type:H.W},{type:H.v,args:[Z]}]},{type:Array,decorators:[{type:H.J},{type:H.W},{type:H.v,args:[K]}]},{type:Array,decorators:[{type:H.J},{type:H.W},{type:H.v,args:[X]}]}]},e.propDecorators={name:[{type:H.z,args:["formControlName"]}],model:[{type:H.z,args:["ngModel"]}],update:[{type:H.K,args:["ngModelChange"]}],isDisabled:[{type:H.z,args:["disabled"]}]},e}(ot),Kt={provide:Z,useExisting:Object(H._8)(function(){return $t}),multi:!0},Qt={provide:Z,useExisting:Object(H._8)(function(){return Xt}),multi:!0},$t=function(){function t(){}return Object.defineProperty(t.prototype,"required",{get:function(){return this._required},set:function(t){this._required=null!=t&&!1!==t&&""+t!="false",this._onChange&&this._onChange()},enumerable:!0,configurable:!0}),t.prototype.validate=function(t){return this.required?$.required(t):null},t.prototype.registerOnValidatorChange=function(t){this._onChange=t},t.decorators=[{type:H.q,args:[{selector:":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]",providers:[Kt],host:{"[attr.required]":'required ? "" : null'}}]}],t.ctorParameters=function(){return[]},t.propDecorators={required:[{type:H.z}]},t}(),Xt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(V.b)(e,t),e.prototype.validate=function(t){return this.required?$.requiredTrue(t):null},e.decorators=[{type:H.q,args:[{selector:"input[type=checkbox][required][formControlName],input[type=checkbox][required][formControl],input[type=checkbox][required][ngModel]",providers:[Qt],host:{"[attr.required]":'required ? "" : null'}}]}],e.ctorParameters=function(){return[]},e}($t),Jt={provide:Z,useExisting:Object(H._8)(function(){return Yt}),multi:!0},Yt=function(){function t(){}return Object.defineProperty(t.prototype,"email",{set:function(t){this._enabled=""===t||!0===t||"true"===t,this._onChange&&this._onChange()},enumerable:!0,configurable:!0}),t.prototype.validate=function(t){return this._enabled?$.email(t):null},t.prototype.registerOnValidatorChange=function(t){this._onChange=t},t.decorators=[{type:H.q,args:[{selector:"[email][formControlName],[email][formControl],[email][ngModel]",providers:[Jt]}]}],t.ctorParameters=function(){return[]},t.propDecorators={email:[{type:H.z}]},t}(),te={provide:Z,useExisting:Object(H._8)(function(){return ee}),multi:!0},ee=function(){function t(){}return t.prototype.ngOnChanges=function(t){"minlength"in t&&(this._createValidator(),this._onChange&&this._onChange())},t.prototype.validate=function(t){return null==this.minlength?null:this._validator(t)},t.prototype.registerOnValidatorChange=function(t){this._onChange=t},t.prototype._createValidator=function(){this._validator=$.minLength(parseInt(this.minlength,10))},t.decorators=[{type:H.q,args:[{selector:"[minlength][formControlName],[minlength][formControl],[minlength][ngModel]",providers:[te],host:{"[attr.minlength]":"minlength ? minlength : null"}}]}],t.ctorParameters=function(){return[]},t.propDecorators={minlength:[{type:H.z}]},t}(),ne={provide:Z,useExisting:Object(H._8)(function(){return re}),multi:!0},re=function(){function t(){}return t.prototype.ngOnChanges=function(t){"maxlength"in t&&(this._createValidator(),this._onChange&&this._onChange())},t.prototype.validate=function(t){return null!=this.maxlength?this._validator(t):null},t.prototype.registerOnValidatorChange=function(t){this._onChange=t},t.prototype._createValidator=function(){this._validator=$.maxLength(parseInt(this.maxlength,10))},t.decorators=[{type:H.q,args:[{selector:"[maxlength][formControlName],[maxlength][formControl],[maxlength][ngModel]",providers:[ne],host:{"[attr.maxlength]":"maxlength ? maxlength : null"}}]}],t.ctorParameters=function(){return[]},t.propDecorators={maxlength:[{type:H.z}]},t}(),ie={provide:Z,useExisting:Object(H._8)(function(){return oe}),multi:!0},oe=function(){function t(){}return t.prototype.ngOnChanges=function(t){"pattern"in t&&(this._createValidator(),this._onChange&&this._onChange())},t.prototype.validate=function(t){return this._validator(t)},t.prototype.registerOnValidatorChange=function(t){this._onChange=t},t.prototype._createValidator=function(){this._validator=$.pattern(this.pattern)},t.decorators=[{type:H.q,args:[{selector:"[pattern][formControlName],[pattern][formControl],[pattern][ngModel]",providers:[ie],host:{"[attr.pattern]":"pattern ? pattern : null"}}]}],t.ctorParameters=function(){return[]},t.propDecorators={pattern:[{type:H.z}]},t}(),se=function(){function t(){}return t.prototype.group=function(t,e){void 0===e&&(e=null);var n=this._reduceControls(t),r=null!=e?e.validator:null,i=null!=e?e.asyncValidator:null;return new St(n,r,i)},t.prototype.control=function(t,e,n){return new xt(t,e,n)},t.prototype.array=function(t,e,n){var r=this,i=t.map(function(t){return r._createControl(t)});return new Tt(i,e,n)},t.prototype._reduceControls=function(t){var e=this,n={};return Object.keys(t).forEach(function(r){n[r]=e._createControl(t[r])}),n},t.prototype._createControl=function(t){if(t instanceof xt||t instanceof St||t instanceof Tt)return t;if(Array.isArray(t)){var e=t[0],n=t.length>1?t[1]:null,r=t.length>2?t[2]:null;return this.control(e,n,r)}return this.control(t)},t.decorators=[{type:H.w}],t.ctorParameters=function(){return[]},t}(),ae=(new H._2("5.1.3"),function(){function t(){}return t.decorators=[{type:H.q,args:[{selector:"form:not([ngNoForm]):not([ngNativeValidate])",host:{novalidate:""}}]}],t.ctorParameters=function(){return[]},t}()),ue=[ae,ft,yt,nt,it,lt,Y,ht,vt,ut,wt,Et,$t,ee,re,oe,Xt,Yt],ce=[jt,It,kt],le=[Vt,Bt,Zt,zt,Wt],pe=function(){function t(){}return t.decorators=[{type:H.E,args:[{declarations:ue,exports:ue}]}],t.ctorParameters=function(){return[]},t}(),he=function(){function t(){}return t.decorators=[{type:H.E,args:[{declarations:ce,providers:[at],exports:[pe,ce]}]}],t.ctorParameters=function(){return[]},t}();!function(){function t(){}t.decorators=[{type:H.E,args:[{declarations:[le],providers:[se,at],exports:[pe,le]}]}],t.ctorParameters=function(){return[]}}()},function(t,e,n){"use strict";var r=n(317);e.forkJoin=r.ForkJoinObservable.create},function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n(20),o=n(125),s=n(120),a=n(127),u=n(128),c=function(t){function e(e,n){t.call(this),this.sources=e,this.resultSelector=n}return r(e,t),e.create=function(){for(var t=[],n=0;n=0;a--)(i=t[a])&&(s=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s}e.c=r,n.d(e,"a",function(){return s}),e.b=i;var o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},s=Object.assign||function(t){for(var e,n=1,r=arguments.length;n\n the source code of the demo\n
\n default:\n
\n \n
\n selected id: {{selectedId}}\n
\n checkbox:\n
\n \n
\n
\n draggable:\n
\n \n
\n
\n no dots:\n
\n \n
\n
\n large:\n
\n \n
\n
\n small:\n
\n \n
\n
\n dark theme:\n
\n \n
\n
\n node id:\n
\n \n
\n \n '}]}],t.ctorParameters=function(){return[]},t}()},function(t,e,n){"use strict";function r(t){void 0===t.state&&(t.state={}),void 0===t.state.opened&&(t.state.opened=!1),void 0===t.state.selected&&(t.state.selected=!1),void 0===t.state.disabled&&(t.state.disabled=!1),void 0===t.state.loading&&(t.state.loading=!1),void 0===t.state.highlighted&&(t.state.highlighted=!1),void 0===t.state.openable&&(t.state.openable=!1),void 0===t.state.dropPosition&&(t.state.dropPosition=0),void 0===t.state.dropAllowed&&(t.state.dropAllowed=!0),void 0===t.children&&(t.children=[]);for(var e=0,n=t.children;e0?i(r(t),9007199254740991):0}},function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},function(t,e,n){var r=n(0),i=n(2),o=n(31),s=/"/g,a=function(t,e,n,r){var i=String(o(t)),a="<"+e;return""!==n&&(a+=" "+n+'="'+String(r).replace(s,""")+'"'),a+">"+i+""};t.exports=function(t,e){var n={};n[t]=e(a),r(r.P+r.F*i(function(){var e=""[t]('"');return e!==e.toLowerCase()||e.split('"').length>3}),"String",n)}},function(t,e,n){var r=n(4),i=n(13),o=n(9),s=n(33)("src"),a=Function.toString,u=(""+a).split("toString");n(28).inspectSource=function(t){return a.call(t)},(t.exports=function(t,e,n,a){var c="function"==typeof n;c&&(o(n,"name")||i(n,"name",e)),t[e]!==n&&(c&&(o(n,s)||i(n,s,t[e]?""+t[e]:u.join(String(e)))),t===r?t[e]=n:a?t[e]?t[e]=n:i(t,e,n):(delete t[e],i(t,e,n)))})(Function.prototype,"toString",function(){return"function"==typeof this&&this[s]||a.call(this)})},function(t,e,n){var r=n(31);t.exports=function(t){return Object(r(t))}},function(t,e,n){var r=n(6),i=n(32);t.exports=n(7)?function(t,e,n){return r.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e,n){"use strict";var r=n(2);t.exports=function(t,e){return!!t&&r(function(){e?t.call(null,function(){},1):t.call(null)})}},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e,n){var r=n(46),i=n(31);t.exports=function(t){return r(i(t))}},function(t,e,n){var r=n(0),i=n(28),o=n(2);t.exports=function(t,e){var n=(i.Object||{})[t]||Object[t],s={};s[t]=e(n),r(r.S+r.F*o(function(){n(1)}),"Object",s)}},function(t,e,n){var r=n(9),i=n(12),o=n(63)("IE_PROTO"),s=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=i(t),r(t,o)?t[o]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?s:null}},function(t,e,n){var r=n(21),i=n(46),o=n(12),s=n(8),a=n(226);t.exports=function(t,e){var n=1==t,u=2==t,c=3==t,l=4==t,p=6==t,h=5==t||p,f=e||a;return function(e,a,d){for(var v,y,m=o(e),g=i(m),_=r(a,d,3),b=s(g.length),w=0,E=n?f(e,b):u?f(e,0):void 0;b>w;w++)if((h||w in g)&&(v=g[w],y=_(v,w,m),t))if(n)E[w]=y;else if(y)switch(t){case 3:return!0;case 5:return v;case 6:return w;case 2:E.push(v)}else if(l)return!1;return p?-1:c||l?l:E}}},function(t,e,n){"use strict";var r=n(44),i=n(293),o=n(124),s=n(296),a=function(){function t(t){this._isScalar=!1,t&&(this._subscribe=t)}return t.prototype.lift=function(e){var n=new t;return n.source=this,n.operator=e,n},t.prototype.subscribe=function(t,e,n){var r=this.operator,o=i.toSubscriber(t,e,n);if(r?r.call(o,this.source):o.add(this.source||!o.syncErrorThrowable?this._subscribe(o):this._trySubscribe(o)),o.syncErrorThrowable&&(o.syncErrorThrowable=!1,o.syncErrorThrown))throw o.syncErrorValue;return o},t.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){t.syncErrorThrown=!0,t.syncErrorValue=e,t.error(e)}},t.prototype.forEach=function(t,e){var n=this;if(e||(r.root.Rx&&r.root.Rx.config&&r.root.Rx.config.Promise?e=r.root.Rx.config.Promise:r.root.Promise&&(e=r.root.Promise)),!e)throw new Error("no Promise impl found");return new e(function(e,r){var i;i=n.subscribe(function(e){if(i)try{t(e)}catch(t){r(t),i.unsubscribe()}else t(e)},r,e)})},t.prototype._subscribe=function(t){return this.source.subscribe(t)},t.prototype[o.observable]=function(){return this},t.prototype.pipe=function(){for(var t=[],e=0;e0?r:n)(t)}},function(t,e,n){var r=n(53),i=n(32),o=n(16),s=n(29),a=n(9),u=n(88),c=Object.getOwnPropertyDescriptor;e.f=n(7)?c:function(t,e){if(t=o(t),e=s(e,!0),u)try{return c(t,e)}catch(t){}if(a(t,e))return i(!r.f.call(t,e),t[e])}},function(t,e,n){"use strict";if(n(7)){var r=n(39),i=n(4),o=n(2),s=n(0),a=n(59),u=n(81),c=n(21),l=n(41),p=n(32),h=n(13),f=n(42),d=n(23),v=n(8),y=n(118),m=n(34),g=n(29),_=n(9),b=n(54),w=n(3),E=n(12),C=n(76),x=n(35),S=n(18),T=n(36).f,P=n(77),O=n(33),M=n(5),k=n(19),A=n(62),N=n(80),I=n(108),D=n(47),R=n(56),j=n(40),F=n(78),L=n(107),V=n(6),H=n(24),B=V.f,U=H.f,z=i.RangeError,q=i.TypeError,W=i.Uint8Array,G=Array.prototype,Z=u.ArrayBuffer,K=u.DataView,Q=k(0),$=k(2),X=k(3),J=k(4),Y=k(5),tt=k(6),et=A(!0),nt=A(!1),rt=I.values,it=I.keys,ot=I.entries,st=G.lastIndexOf,at=G.reduce,ut=G.reduceRight,ct=G.join,lt=G.sort,pt=G.slice,ht=G.toString,ft=G.toLocaleString,dt=M("iterator"),vt=M("toStringTag"),yt=O("typed_constructor"),mt=O("def_constructor"),gt=a.CONSTR,_t=a.TYPED,bt=a.VIEW,wt=k(1,function(t,e){return Tt(N(t,t[mt]),e)}),Et=o(function(){return 1===new W(new Uint16Array([1]).buffer)[0]}),Ct=!!W&&!!W.prototype.set&&o(function(){new W(1).set({})}),xt=function(t,e){var n=d(t);if(n<0||n%e)throw z("Wrong offset!");return n},St=function(t){if(w(t)&&_t in t)return t;throw q(t+" is not a typed array!")},Tt=function(t,e){if(!(w(t)&&yt in t))throw q("It is not a typed array constructor!");return new t(e)},Pt=function(t,e){return Ot(N(t,t[mt]),e)},Ot=function(t,e){for(var n=0,r=e.length,i=Tt(t,r);r>n;)i[n]=e[n++];return i},Mt=function(t,e,n){B(t,e,{get:function(){return this._d[n]}})},kt=function(t){var e,n,r,i,o,s,a=E(t),u=arguments.length,l=u>1?arguments[1]:void 0,p=void 0!==l,h=P(a);if(void 0!=h&&!C(h)){for(s=h.call(a),r=[],e=0;!(o=s.next()).done;e++)r.push(o.value);a=r}for(p&&u>2&&(l=c(l,arguments[2],2)),e=0,n=v(a.length),i=Tt(this,n);n>e;e++)i[e]=p?l(a[e],e):a[e];return i},At=function(){for(var t=0,e=arguments.length,n=Tt(this,e);e>t;)n[t]=arguments[t++];return n},Nt=!!W&&o(function(){ft.call(new W(1))}),It=function(){return ft.apply(Nt?pt.call(St(this)):St(this),arguments)},Dt={copyWithin:function(t,e){return L.call(St(this),t,e,arguments.length>2?arguments[2]:void 0)},every:function(t){return J(St(this),t,arguments.length>1?arguments[1]:void 0)},fill:function(t){return F.apply(St(this),arguments)},filter:function(t){return Pt(this,$(St(this),t,arguments.length>1?arguments[1]:void 0))},find:function(t){return Y(St(this),t,arguments.length>1?arguments[1]:void 0)},findIndex:function(t){return tt(St(this),t,arguments.length>1?arguments[1]:void 0)},forEach:function(t){Q(St(this),t,arguments.length>1?arguments[1]:void 0)},indexOf:function(t){return nt(St(this),t,arguments.length>1?arguments[1]:void 0)},includes:function(t){return et(St(this),t,arguments.length>1?arguments[1]:void 0)},join:function(t){return ct.apply(St(this),arguments)},lastIndexOf:function(t){return st.apply(St(this),arguments)},map:function(t){return wt(St(this),t,arguments.length>1?arguments[1]:void 0)},reduce:function(t){return at.apply(St(this),arguments)},reduceRight:function(t){return ut.apply(St(this),arguments)},reverse:function(){for(var t,e=this,n=St(e).length,r=Math.floor(n/2),i=0;i1?arguments[1]:void 0)},sort:function(t){return lt.call(St(this),t)},subarray:function(t,e){var n=St(this),r=n.length,i=m(t,r);return new(N(n,n[mt]))(n.buffer,n.byteOffset+i*n.BYTES_PER_ELEMENT,v((void 0===e?r:m(e,r))-i))}},Rt=function(t,e){return Pt(this,pt.call(St(this),t,e))},jt=function(t){St(this);var e=xt(arguments[1],1),n=this.length,r=E(t),i=v(r.length),o=0;if(i+e>n)throw z("Wrong length!");for(;o255?255:255&r),i.v[f](n*e+i.o,r,Et)},M=function(t,e){B(t,e,{get:function(){return P(this,e)},set:function(t){return O(this,e,t)},enumerable:!0})};_?(d=n(function(t,n,r,i){l(t,d,c,"_d");var o,s,a,u,p=0,f=0;if(w(n)){if(!(n instanceof Z||"ArrayBuffer"==(u=b(n))||"SharedArrayBuffer"==u))return _t in n?Ot(d,n):kt.call(d,n);o=n,f=xt(r,e);var m=n.byteLength;if(void 0===i){if(m%e)throw z("Wrong length!");if((s=m-f)<0)throw z("Wrong length!")}else if((s=v(i)*e)+f>m)throw z("Wrong length!");a=s/e}else a=y(n),s=a*e,o=new Z(s);for(h(t,"_d",{b:o,o:f,l:s,e:a,v:new K(o)});p ");else if("object"==typeof e){var i=[];for(var o in e)if(e.hasOwnProperty(o)){var s=e[o];i.push(o+":"+("string"==typeof s?JSON.stringify(s):l(s)))}r="{"+i.join(", ")+"}"}return"StaticInjectorError"+(n?"("+n+")":"")+"["+r+"]: "+t.replace(Co,"\n ")}function b(t,e){return new Error(_(t,e))}function w(t){return t[To]}function E(t){return t[Po]}function C(t){return t[Oo]||x}function x(t){for(var e=[],n=1;n-1)return e.push(t[n]),e;e.push(t[n])}return e}function P(t){if(t.length>1){return" ("+T(t.slice().reverse()).map(function(t){return l(t.token)}).join(" -> ")+")"}return""}function O(t,e,n,r){var i=[e],o=n(i),s=r?S(o,r):Error(o);return s.addKey=M,s.keys=i,s.injectors=[t],s.constructResolvingMessage=n,s[Po]=r,s}function M(t,e){this.injectors.push(t),this.keys.push(e),this.message=this.constructResolvingMessage(this.keys)}function k(t,e){return O(t,e,function(t){return"No provider for "+l(t[0].token)+"!"+P(t)})}function A(t,e){return O(t,e,function(t){return"Cannot instantiate cyclic dependency!"+P(t)})}function N(t,e,n,r){return O(t,r,function(t){var n=l(t[0].token);return e.message+": Error during instantiation of "+n+"!"+P(t)+"."},e)}function I(t){return Error("Invalid provider - only instances of Provider and Type are allowed, got: "+t)}function D(t,e){for(var n=[],r=0,i=e.length;r-1&&t.splice(n,1)}function wt(t,e){var n=Ds.get(t);if(n)throw new Error("Duplicate module registered for "+t+" - "+n.moduleType.name+" vs "+e.moduleType.name);Ds.set(t,e)}function Et(t){return t.reduce(function(t,e){var n=Array.isArray(e)?Et(e):e;return t.concat(n)},[])}function Ct(t,e,n){if(!t)throw new Error("Cannot find '"+n+"' in '"+e+"'");return t}function xt(t,e,n){t.childNodes.forEach(function(t){t instanceof qs&&(e(t)&&n.push(t),xt(t,e,n))})}function St(t,e,n){t instanceof qs&&t.childNodes.forEach(function(t){e(t)&&n.push(t),t instanceof qs&&St(t,e,n)})}function Tt(t){return Ws.get(t)||null}function Pt(t){Ws.set(t.nativeNode,t)}function Ot(t){Ws.delete(t.nativeNode)}function Mt(t,e){var n=kt(t),r=kt(e);if(n&&r)return At(t,e,Mt);var i=t&&("object"==typeof t||"function"==typeof t),o=e&&("object"==typeof e||"function"==typeof e);return!(n||!i||r||!o)||c(t,e)}function kt(t){return!!It(t)&&(Array.isArray(t)||!(t instanceof Map)&&a()in t)}function At(t,e,n){for(var r=t[a()](),i=e[a()]();;){var o=r.next(),s=i.next();if(o.done&&s.done)return!0;if(o.done||s.done)return!1;if(!n(o.value,s.value))return!1}}function Nt(t,e){if(Array.isArray(t))for(var n=0;n0&&Fe(t,e,0,n)&&(f=!0),h>1&&Fe(t,e,1,r)&&(f=!0),h>2&&Fe(t,e,2,i)&&(f=!0),h>3&&Fe(t,e,3,o)&&(f=!0),h>4&&Fe(t,e,4,s)&&(f=!0),h>5&&Fe(t,e,5,a)&&(f=!0),h>6&&Fe(t,e,6,u)&&(f=!0),h>7&&Fe(t,e,7,c)&&(f=!0),h>8&&Fe(t,e,8,l)&&(f=!0),h>9&&Fe(t,e,9,p)&&(f=!0),f}function je(t,e,n){for(var r=!1,i=0;i0?i[n-1]:null,r)}function Xe(t,e){var n=ue(e);if(n&&n!==t&&!(16&e.state)){e.state|=16;var r=n.template._projectedViews;r||(r=n.template._projectedViews=[]),r.push(e),Je(e.parent.def,e.parentNodeDef)}}function Je(t,e){if(!(4&e.flags)){t.nodeFlags|=4,e.flags|=4;for(var n=e.parent;n;)n.childFlags|=4,n=n.parent}}function Ye(t,e){var n=t.viewContainer._embeddedViews;if((null==e||e>=n.length)&&(e=n.length-1),e<0)return null;var r=n[e];return r.viewContainerParent=null,sn(n,e),ga.dirtyParentQueries(r),rn(r),r}function tn(t){if(16&t.state){var e=ue(t);if(e){var n=e.template._projectedViews;n&&(sn(n,n.indexOf(t)),ga.dirtyParentQueries(t))}}}function en(t,e,n){var r=t.viewContainer._embeddedViews,i=r[e];return sn(r,e),null==n&&(n=r.length),on(r,n,i),ga.dirtyParentQueries(i),rn(i),nn(t,n>0?r[n-1]:null,i),i}function nn(t,e,n){var r=e?le(e,e.def.lastRenderRootNode):t.renderElement;be(n,2,n.renderer.parentNode(r),n.renderer.nextSibling(r),void 0)}function rn(t){be(t,3,null,null,void 0)}function on(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function sn(t,e){e>=t.length-1?t.pop():t.splice(e,1)}function an(t,e,n,r,i,o){return new Na(t,e,n,r,i,o)}function un(t){return t.viewDefFactory}function cn(t,e,n){return new Da(t,e,n)}function ln(t){return new Ra(t)}function pn(t,e){return new ja(t,e)}function hn(t,e){return new Fa(t,e)}function fn(t,e){var n=t.def.nodes[e];if(1&n.flags){var r=Ut(t,n.nodeIndex);return n.element.template?r.template:r.renderElement}if(2&n.flags)return Bt(t,n.nodeIndex).renderText;if(20240&n.flags)return zt(t,n.nodeIndex).instance;throw new Error("Illegal state: read nodeValue for node index "+e)}function dn(t){return new La(t.renderer)}function vn(t,e,n,r){return new Va(t,e,n,r)}function yn(t,e,n,r,i,o,s,a){var u=[];if(s)for(var c in s){var l=s[c],p=l[0],h=l[1];u[p]={flags:8,name:c,nonMinifiedName:h,ns:null,securityContext:null,suffix:null}}var f=[];if(a)for(var d in a)f.push({type:1,propName:d,target:null,eventName:a[d]});return e|=16384,_n(t,e,n,r,i,i,o,u,f)}function mn(t,e,n){return t|=16,_n(-1,t,null,0,e,e,n)}function gn(t,e,n,r,i){return _n(-1,t,e,0,n,r,i)}function _n(t,e,n,r,i,o,s,a,u){var c=ve(n),p=c.matchedQueries,f=c.references,d=c.matchedQueryIds;u||(u=[]),a||(a=[]),o=h(o);var v=ye(s,l(i));return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:t,flags:e,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:p,matchedQueryIds:d,references:f,ngContentIndex:-1,childCount:r,bindings:a,bindingFlags:Te(a),outputs:u,element:null,provider:{token:i,value:o,deps:v},text:null,query:null,ngContent:null}}function bn(t,e){return Tn(t,e)}function wn(t,e){for(var n=t;n.parent&&!he(n);)n=n.parent;return Pn(n.parent,ce(n),!0,e.provider.value,e.provider.deps)}function En(t,e){var n=(32768&e.flags)>0,r=Pn(t,e.parent,n,e.provider.value,e.provider.deps);if(e.outputs.length)for(var i=0;i0&&ne(t,e,0,n)&&(d=!0,v=An(t,h,e,0,n,v)),y>1&&ne(t,e,1,r)&&(d=!0,v=An(t,h,e,1,r,v)),y>2&&ne(t,e,2,i)&&(d=!0,v=An(t,h,e,2,i,v)),y>3&&ne(t,e,3,o)&&(d=!0,v=An(t,h,e,3,o,v)),y>4&&ne(t,e,4,s)&&(d=!0,v=An(t,h,e,4,s,v)),y>5&&ne(t,e,5,a)&&(d=!0,v=An(t,h,e,5,a,v)),y>6&&ne(t,e,6,u)&&(d=!0,v=An(t,h,e,6,u,v)),y>7&&ne(t,e,7,c)&&(d=!0,v=An(t,h,e,7,c,v)),y>8&&ne(t,e,8,l)&&(d=!0,v=An(t,h,e,8,l,v)),y>9&&ne(t,e,9,p)&&(d=!0,v=An(t,h,e,9,p,v)),v&&f.ngOnChanges(v),65536&e.flags&&Ht(t,256,e.nodeIndex)&&f.ngOnInit(),262144&e.flags&&f.ngDoCheck(),d}function Sn(t,e,n){for(var r=zt(t,e.nodeIndex),i=r.instance,o=!1,s=void 0,a=0;a0,r=e.provider;switch(201347067&e.flags){case 512:return Pn(t,e.parent,n,r.value,r.deps);case 1024:return On(t,e.parent,n,r.value,r.deps);case 2048:return Mn(t,e.parent,n,r.deps[0]);case 256:return r.value}}function Pn(t,e,n,r,i){var o=i.length;switch(o){case 0:return new r;case 1:return new r(Mn(t,e,n,i[0]));case 2:return new r(Mn(t,e,n,i[0]),Mn(t,e,n,i[1]));case 3:return new r(Mn(t,e,n,i[0]),Mn(t,e,n,i[1]),Mn(t,e,n,i[2]));default:for(var s=new Array(o),a=0;a0&&re(t,e,0,n)&&(f=!0),d>1&&re(t,e,1,r)&&(f=!0),d>2&&re(t,e,2,i)&&(f=!0),d>3&&re(t,e,3,o)&&(f=!0),d>4&&re(t,e,4,s)&&(f=!0),d>5&&re(t,e,5,a)&&(f=!0),d>6&&re(t,e,6,u)&&(f=!0),d>7&&re(t,e,7,c)&&(f=!0),d>8&&re(t,e,8,l)&&(f=!0),d>9&&re(t,e,9,p)&&(f=!0),f){var v=qt(t,e.nodeIndex),y=void 0;switch(201347067&e.flags){case 32:y=new Array(h.length),d>0&&(y[0]=n),d>1&&(y[1]=r),d>2&&(y[2]=i),d>3&&(y[3]=o),d>4&&(y[4]=s),d>5&&(y[5]=a),d>6&&(y[6]=u),d>7&&(y[7]=c),d>8&&(y[8]=l),d>9&&(y[9]=p);break;case 64:y={},d>0&&(y[h[0].name]=n),d>1&&(y[h[1].name]=r),d>2&&(y[h[2].name]=i),d>3&&(y[h[3].name]=o),d>4&&(y[h[4].name]=s),d>5&&(y[h[5].name]=a),d>6&&(y[h[6].name]=u),d>7&&(y[h[7].name]=c),d>8&&(y[h[8].name]=l),d>9&&(y[h[9].name]=p);break;case 128:var m=n;switch(d){case 1:y=m.transform(n);break;case 2:y=m.transform(r);break;case 3:y=m.transform(r,i);break;case 4:y=m.transform(r,i,o);break;case 5:y=m.transform(r,i,o,s);break;case 6:y=m.transform(r,i,o,s,a);break;case 7:y=m.transform(r,i,o,s,a,u);break;case 8:y=m.transform(r,i,o,s,a,u,c);break;case 9:y=m.transform(r,i,o,s,a,u,c,l);break;case 10:y=m.transform(r,i,o,s,a,u,c,l,p)}}v.value=y}return f}function Qn(t,e,n){for(var r=e.bindings,i=!1,o=0;o0&&re(t,e,0,n)&&(h=!0),d>1&&re(t,e,1,r)&&(h=!0),d>2&&re(t,e,2,i)&&(h=!0),d>3&&re(t,e,3,o)&&(h=!0),d>4&&re(t,e,4,s)&&(h=!0),d>5&&re(t,e,5,a)&&(h=!0),d>6&&re(t,e,6,u)&&(h=!0),d>7&&re(t,e,7,c)&&(h=!0),d>8&&re(t,e,8,l)&&(h=!0),d>9&&re(t,e,9,p)&&(h=!0),h){var v=e.text.prefix;d>0&&(v+=tr(n,f[0])),d>1&&(v+=tr(r,f[1])),d>2&&(v+=tr(i,f[2])),d>3&&(v+=tr(o,f[3])),d>4&&(v+=tr(s,f[4])),d>5&&(v+=tr(a,f[5])),d>6&&(v+=tr(u,f[6])),d>7&&(v+=tr(c,f[7])),d>8&&(v+=tr(l,f[8])),d>9&&(v+=tr(p,f[9]));var y=Bt(t,e.nodeIndex).renderText;t.renderer.setValue(y,v)}return h}function Yn(t,e,n){for(var r=e.bindings,i=!1,o=0;o0)c=v,nr(v)||(l=v);else for(;c&&d===c.nodeIndex+c.childCount;){var _=c.parent;_&&(_.childFlags|=c.childFlags,_.childMatchedQueries|=c.childMatchedQueries),c=_,l=c&&nr(c)?c.renderParent:c}}var b=function(t,n,r,i){return e[n].element.handleEvent(t,r,i)};return{factory:null,nodeFlags:s,rootNodeFlags:a,nodeMatchedQueries:u,flags:t,nodes:e,updateDirectives:n||_a,updateRenderer:r||_a,handleEvent:b,bindingCount:i,outputCount:o,lastRenderRootNode:f}}function nr(t){return 0!=(1&t.flags)&&null===t.element.name}function rr(t,e,n){var r=e.element&&e.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 "+e.nodeIndex+"!")}if(20224&e.flags){if(0==(1&(t?t.flags:0)))throw new Error("Illegal State: StaticProvider/Directive nodes need to be children of elements or anchors, at index "+e.nodeIndex+"!")}if(e.query){if(67108864&e.flags&&(!t||0==(16384&t.flags)))throw new Error("Illegal State: Content Query nodes need to be children of directives, at index "+e.nodeIndex+"!");if(134217728&e.flags&&t)throw new Error("Illegal State: View Query nodes have to be top level nodes, at index "+e.nodeIndex+"!")}if(e.childCount){var i=t?t.nodeIndex+t.childCount:n-1;if(e.nodeIndex<=i&&e.nodeIndex+e.childCount>i)throw new Error("Illegal State: childCount of node leads outside of parent, at index "+e.nodeIndex+"!")}}function ir(t,e,n,r){var i=ar(t.root,t.renderer,t,e,n);return ur(i,t.component,r),cr(i),i}function or(t,e,n){var r=ar(t,t.renderer,null,null,e);return ur(r,n,n),cr(r),r}function sr(t,e,n,r){var i,o=e.element.componentRendererType;return i=o?t.root.rendererFactory.createRenderer(r,o):t.root.renderer,ar(t.root,i,t,e.element.componentProvider,n)}function ar(t,e,n,r,i){var o=new Array(i.nodes.length),s=i.outputCount?new Array(i.outputCount):null;return{def:i,parent:n,viewContainerParent:null,parentNodeDef:r,context:null,component:null,nodes:o,state:13,root:t,renderer:e,oldValues:new Array(i.bindingCount),disposables:s,initIndex:-1}}function ur(t,e,n){t.component=e,t.context=n}function cr(t){var e;if(he(t)){var n=t.parentNodeDef;e=Ut(t.parent,n.parent.nodeIndex).renderElement}for(var r=t.def,i=t.nodes,o=0;o0&&ie(t,e,0,n),h>1&&ie(t,e,1,r),h>2&&ie(t,e,2,i),h>3&&ie(t,e,3,o),h>4&&ie(t,e,4,s),h>5&&ie(t,e,5,a),h>6&&ie(t,e,6,u),h>7&&ie(t,e,7,c),h>8&&ie(t,e,8,l),h>9&&ie(t,e,9,p)}function gr(t,e,n){for(var r=0;r")}function hi(t,e){fi(t,null,e)}function fi(t,e,n){t==e&&di(t,e,n,"!=")}function di(t,e,n,r,i){throw void 0===i&&(i=ci),new Error("ASSERT: expected "+n+" "+r+" "+i(e)+" but was "+i(t)+"!")}function vi(t,e,n){if(null!==e&&3==(3&t.flags)&&(t.view!==n||null===t.data)){var r=n.renderer;return r.listen?r.appendChild(t.native,e):t.native.appendChild(e),!0}return!1}function yi(t){return"function"==typeof t?t.name||t:"string"==typeof t?t:null==t?"":""+t}function mi(t,e,n){return{parent:hu,id:t,node:null,data:[],ngStaticData:n,cleanup:null,renderer:e,child:null,tail:null,next:null,bindingStartIndex:null,creationMode:!0,viewHookStartIndex:null}}function gi(t,e,n,r){var i=lu?cu:cu&&cu.parent,o=(lu?du:cu&&cu.query)||i&&i.query&&i.query.child(),s=null!=r,a={flags:e,native:n,view:hu,parent:i,child:null,next:null,nodeInjector:i?i.nodeInjector:null,data:s?r:null,query:o,staticData:null};return 2==(2&e)&&s&&(ngDevMode&&li(r.node,null,"viewState.node"),r.node=a),null!=t&&(ngDevMode&&li(vu.length,t,"data.length not in sequence"),vu[t]=a,t>=pu.length?pu[t]=null:a.staticData=pu[t],lu?(du=null,cu.view!==hu&&2!=(3&cu.flags)||(ngDevMode&&li(cu.child,null,"previousNode.child"),cu.child=a)):cu&&(ngDevMode&&li(cu.next,null,"previousNode.next"),cu.next=a)),cu=a,lu=!0,a}function _i(){lu=!1,cu=null}function bi(t){return t.ngStaticData||(t.ngStaticData=[])}function wi(t,e,n){var r=((4092&cu.flags)>>2)-1,i=n.initialInputs;(void 0===i||r>=i.length)&&(i=Ei(r,e,n));var o=i[r];if(o)for(var s=0;s=this._providers.length)throw R(t);return this._providers[t]},t.prototype._new=function(t){if(this._constructionCounter++>this._getMaxNumberOfObjects())throw A(this,t.key);return this._instantiateProvider(t)},t.prototype._getMaxNumberOfObjects=function(){return this.objs.length},t.prototype._instantiateProvider=function(t){if(t.multiProvider){for(var e=new Array(t.resolvedFactories.length),n=0;n0)t._bootstrapComponents.forEach(function(t){return e.bootstrap(t)});else{if(!t.instance.ngDoBootstrap)throw new Error("The module "+l(t.instance.constructor)+' was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.');t.instance.ngDoBootstrap(e)}this._modules.push(t)},t.prototype.onDestroy=function(t){this._destroyListeners.push(t)},Object.defineProperty(t.prototype,"injector",{get:function(){return this._injector},enumerable:!0,configurable:!0}),t.prototype.destroy=function(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(function(t){return t.destroy()}),this._destroyListeners.forEach(function(t){return t()}),this._destroyed=!0},Object.defineProperty(t.prototype,"destroyed",{get:function(){return this._destroyed},enumerable:!0,configurable:!0}),t.decorators=[{type:Yi}],t.ctorParameters=function(){return[{type:ho}]},t}(),Os=function(){function t(t,e,n,r,i,o){var s=this;this._zone=t,this._console=e,this._injector=n,this._exceptionHandler=r,this._componentFactoryResolver=i,this._initStatus=o,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=ht(),this._zone.onMicrotaskEmpty.subscribe({next:function(){s._zone.run(function(){s.tick()})}});var a=new Ti.Observable(function(t){s._stable=s._zone.isStable&&!s._zone.hasPendingMacrotasks&&!s._zone.hasPendingMicrotasks,s._zone.runOutsideAngular(function(){t.next(s._stable),t.complete()})}),c=new Ti.Observable(function(t){var e;s._zone.runOutsideAngular(function(){e=s._zone.onStable.subscribe(function(){ys.assertNotInAngularZone(),u(function(){s._stable||s._zone.hasPendingMacrotasks||s._zone.hasPendingMicrotasks||(s._stable=!0,t.next(!0))})})});var n=s._zone.onUnstable.subscribe(function(){ys.assertInAngularZone(),s._stable&&(s._stable=!1,s._zone.runOutsideAngular(function(){t.next(!1)}))});return function(){e.unsubscribe(),n.unsubscribe()}});this.isStable=Object(Pi.merge)(a,Oi.share.call(c))}return t.prototype.bootstrap=function(t,e){var n=this;if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.");var r;r=t instanceof is?t:this._componentFactoryResolver.resolveComponentFactory(t),this.componentTypes.push(r.componentType);var i=r instanceof cs?null:this._injector.get(ls),o=e||r.selector,s=r.create(ho.NULL,[],o,i);s.onDestroy(function(){n._unloadComponent(s)});var a=s.injector.get(_s,null);return a&&s.injector.get(bs).registerApplication(s.location.nativeElement,a),this._loadComponent(s),ht()&&this._console.log("Angular is running in the development mode. Call enableProdMode() to enable the production mode."),s},t.prototype.tick=function(){var e=this;if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");var n=t._tickScope();try{this._runningTick=!0,this._views.forEach(function(t){return t.detectChanges()}),this._enforceNoNewChanges&&this._views.forEach(function(t){return t.checkNoChanges()})}catch(t){this._zone.runOutsideAngular(function(){return e._exceptionHandler.handleError(t)})}finally{this._runningTick=!1,ds(n)}},t.prototype.attachView=function(t){var e=t;this._views.push(e),e.attachToAppRef(this)},t.prototype.detachView=function(t){var e=t;bt(this._views,e),e.detachFromAppRef()},t.prototype._loadComponent=function(t){this.attachView(t.hostView),this.tick(),this.components.push(t),this._injector.get(Xo,[]).concat(this._bootstrapListeners).forEach(function(e){return e(t)})},t.prototype._unloadComponent=function(t){this.detachView(t.hostView),bt(this.components,t)},t.prototype.ngOnDestroy=function(){this._views.slice().forEach(function(t){return t.destroy()})},Object.defineProperty(t.prototype,"viewCount",{get:function(){return this._views.length},enumerable:!0,configurable:!0}),t._tickScope=fs("ApplicationRef#tick()"),t.decorators=[{type:Yi}],t.ctorParameters=function(){return[{type:ys},{type:Yo},{type:ho},{type:Mo},{type:as},{type:Go}]},t}(),Ms=(function(){function t(t,e,n,r,i,o){this.id=t,this.templateUrl=e,this.slotCount=n,this.encapsulation=r,this.styles=i,this.animations=o}}(),function(){function t(){}}(),function(){function t(){}return t}()),ks=(new ki("Renderer2Interceptor"),function(){function t(){}}(),function(){function t(){}return t}()),As={Important:1,DashCase:2};As[As.Important]="Important",As[As.DashCase]="DashCase";var Ns=function(){function t(){}return t}(),Is=function(){function t(t){this.nativeElement=t}return t}(),Ds=(function(){function t(){}}(),new Map),Rs=function(){function t(){this.dirty=!0,this._results=[],this.changes=new vs}return t.prototype.map=function(t){return this._results.map(t)},t.prototype.filter=function(t){return this._results.filter(t)},t.prototype.find=function(t){return this._results.find(t)},t.prototype.reduce=function(t,e){return this._results.reduce(t,e)},t.prototype.forEach=function(t){this._results.forEach(t)},t.prototype.some=function(t){return this._results.some(t)},t.prototype.toArray=function(){return this._results.slice()},t.prototype[a()]=function(){return this._results[a()]()},t.prototype.toString=function(){return this._results.toString()},t.prototype.reset=function(t){this._results=Et(t),this.dirty=!1,this.length=this._results.length,this.last=this._results[this.length-1],this.first=this._results[0]},t.prototype.notifyOnChanges=function(){this.changes.emit(this)},t.prototype.setDirty=function(){this.dirty=!0},t.prototype.destroy=function(){this.changes.complete(),this.changes.unsubscribe()},t}(),js=function(){function t(){}return t}(),Fs={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"},Ls=(function(){function t(t,e){this._compiler=t,this._config=e||Fs}t.prototype.load=function(t){return this._compiler instanceof ts?this.loadFactory(t):this.loadAndCompile(t)},t.prototype.loadAndCompile=function(t){var e=this,r=t.split("#"),i=r[0],o=r[1];return void 0===o&&(o="default"),n(130)(i).then(function(t){return t[o]}).then(function(t){return Ct(t,i,o)}).then(function(t){return e._compiler.compileModuleAsync(t)})},t.prototype.loadFactory=function(t){var e=t.split("#"),r=e[0],i=e[1],o="NgFactory";return void 0===i&&(i="default",o=""),n(130)(this._config.factoryPathPrefix+r+this._config.factoryPathSuffix).then(function(t){return t[i+o]}).then(function(t){return Ct(t,r,i)})},t.decorators=[{type:Yi}],t.ctorParameters=function(){return[{type:ts},{type:js,decorators:[{type:Ji}]}]}}(),function(){function t(){}return t}()),Vs=function(){function t(){}return t}(),Hs=function(){function t(){}return t}(),Bs=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(Si.b)(e,t),e}(Hs),Us=(function(t){function e(){return null!==t&&t.apply(this,arguments)||this}Object(Si.b)(e,t)}(Bs),function(){function t(t,e){this.name=t,this.callback=e}return t}()),zs=function(){function t(t,e,n){this._debugContext=n,this.nativeNode=t,e&&e instanceof qs?e.addChild(this):this.parent=null,this.listeners=[]}return Object.defineProperty(t.prototype,"injector",{get:function(){return this._debugContext.injector},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"componentInstance",{get:function(){return this._debugContext.component},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"context",{get:function(){return this._debugContext.context},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"references",{get:function(){return this._debugContext.references},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"providerTokens",{get:function(){return this._debugContext.providerTokens},enumerable:!0,configurable:!0}),t}(),qs=function(t){function e(e,n,r){var i=t.call(this,e,n,r)||this;return i.properties={},i.attributes={},i.classes={},i.styles={},i.childNodes=[],i.nativeElement=e,i}return Object(Si.b)(e,t),e.prototype.addChild=function(t){t&&(this.childNodes.push(t),t.parent=this)},e.prototype.removeChild=function(t){var e=this.childNodes.indexOf(t);-1!==e&&(t.parent=null,this.childNodes.splice(e,1))},e.prototype.insertChildrenAfter=function(t,e){var n=this,r=this.childNodes.indexOf(t);-1!==r&&((i=this.childNodes).splice.apply(i,[r+1,0].concat(e)),e.forEach(function(t){t.parent&&t.parent.removeChild(t),t.parent=n}));var i},e.prototype.insertBefore=function(t,e){var n=this.childNodes.indexOf(t);-1===n?this.addChild(e):(e.parent&&e.parent.removeChild(e),e.parent=this,this.childNodes.splice(n,0,e))},e.prototype.query=function(t){return this.queryAll(t)[0]||null},e.prototype.queryAll=function(t){var e=[];return xt(this,t,e),e},e.prototype.queryAllNodes=function(t){var e=[];return St(this,t,e),e},Object.defineProperty(e.prototype,"children",{get:function(){return this.childNodes.filter(function(t){return t instanceof e})},enumerable:!0,configurable:!0}),e.prototype.triggerEventHandler=function(t,e){this.listeners.forEach(function(n){n.name==t&&n.callback(e)})},e}(zs),Ws=new Map,Gs=function(){function t(t){this.wrapped=t}return t.wrap=function(e){return new t(e)},t}(),Zs=(function(){function t(){this.hasWrappedValue=!1}t.prototype.unwrap=function(t){return t instanceof Gs?(this.hasWrappedValue=!0,t.wrapped):t},t.prototype.reset=function(){this.hasWrappedValue=!1}}(),function(){function t(t,e,n){this.previousValue=t,this.currentValue=e,this.firstChange=n}return t.prototype.isFirstChange=function(){return this.firstChange},t}()),Ks=function(){function t(){}return t.prototype.supports=function(t){return kt(t)},t.prototype.create=function(t){return new $s(t)},t}(),Qs=function(t,e){return e},$s=function(){function t(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||Qs}return t.prototype.forEachItem=function(t){var e;for(e=this._itHead;null!==e;e=e._next)t(e)},t.prototype.forEachOperation=function(t){for(var e=this._itHead,n=this._removalsHead,r=0,i=null;e||n;){var o=!n||e&&e.currentIndex=0;e--){var n=Ye(this._data,e);ga.destroyView(n)}},t.prototype.get=function(t){var e=this._embeddedViews[t];if(e){var n=new Ra(e);return n.attachToViewContainerRef(this),n}return null},Object.defineProperty(t.prototype,"length",{get:function(){return this._embeddedViews.length},enumerable:!0,configurable:!0}),t.prototype.createEmbeddedView=function(t,e,n){var r=t.createEmbeddedView(e||{});return this.insert(r,n),r},t.prototype.createComponent=function(t,e,n,r,i){var o=n||this.parentInjector;i||t instanceof cs||(i=o.get(ls));var s=t.create(o,r,void 0,i);return this.insert(s.hostView,e),s},t.prototype.insert=function(t,e){if(t.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");var n=t,r=n._view;return $e(this._view,this._data,e,r),n.attachToViewContainerRef(this),t},t.prototype.move=function(t,e){if(t.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");var n=this._embeddedViews.indexOf(t._view);return en(this._data,n,e),t},t.prototype.indexOf=function(t){return this._embeddedViews.indexOf(t._view)},t.prototype.remove=function(t){var e=Ye(this._data,t);e&&ga.destroyView(e)},t.prototype.detach=function(t){var e=Ye(this._data,t);return e?new Ra(e):null},t}(),Ra=function(){function t(t){this._view=t,this._viewContainerRef=null,this._appRef=null}return Object.defineProperty(t.prototype,"rootNodes",{get:function(){return _e(this._view)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"context",{get:function(){return this._view.context},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"destroyed",{get:function(){return 0!=(128&this._view.state)},enumerable:!0,configurable:!0}),t.prototype.markForCheck=function(){oe(this._view)},t.prototype.detach=function(){this._view.state&=-5},t.prototype.detectChanges=function(){var t=this._view.root.rendererFactory;t.begin&&t.begin();try{ga.checkAndUpdateView(this._view)}finally{t.end&&t.end()}},t.prototype.checkNoChanges=function(){ga.checkNoChangesView(this._view)},t.prototype.reattach=function(){this._view.state|=4},t.prototype.onDestroy=function(t){this._view.disposables||(this._view.disposables=[]),this._view.disposables.push(t)},t.prototype.destroy=function(){this._appRef?this._appRef.detachView(this):this._viewContainerRef&&this._viewContainerRef.detach(this._viewContainerRef.indexOf(this)),ga.destroyView(this._view)},t.prototype.detachFromAppRef=function(){this._appRef=null,rn(this._view),ga.dirtyParentQueries(this._view)},t.prototype.attachToAppRef=function(t){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=t},t.prototype.attachToViewContainerRef=function(t){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=t},t}(),ja=function(t){function e(e,n){var r=t.call(this)||this;return r._parentView=e,r._def=n,r}return Object(Si.b)(e,t),e.prototype.createEmbeddedView=function(t){return new Ra(ga.createEmbeddedView(this._parentView,this._def,this._def.element.template,t))},Object.defineProperty(e.prototype,"elementRef",{get:function(){return new Is(Ut(this._parentView,this._def.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),e}(Ls),Fa=function(){function t(t,e){this.view=t,this.elDef=e}return t.prototype.get=function(t,e){void 0===e&&(e=ho.THROW_IF_NOT_FOUND);var n=!!this.elDef&&0!=(33554432&this.elDef.flags);return ga.resolveDep(this.view,this.elDef,n,{flags:0,token:t,tokenKey:Jt(t)},e)},t}(),La=function(){function t(t){this.delegate=t}return t.prototype.selectRootElement=function(t){return this.delegate.selectRootElement(t)},t.prototype.createElement=function(t,e){var n=Se(e),r=n[0],i=n[1],o=this.delegate.createElement(i,r);return t&&this.delegate.appendChild(t,o),o},t.prototype.createViewRoot=function(t){return t},t.prototype.createTemplateAnchor=function(t){var e=this.delegate.createComment("");return t&&this.delegate.appendChild(t,e),e},t.prototype.createText=function(t,e){var n=this.delegate.createText(e);return t&&this.delegate.appendChild(t,n),n},t.prototype.projectNodes=function(t,e){for(var n=0;ndocument.F=Object<\/script>"),t.close(),u=t.F;r--;)delete u.prototype[o[r]];return u()};t.exports=Object.create||function(t,e){var n;return null!==t?(a.prototype=r(t),n=new a,a.prototype=null,n[s]=t):n=u(),void 0===e?n:i(n,e)}},function(t,e,n){var r=n(90),i=n(64).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,i)}},function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n(119),o=n(60),s=n(123),a=n(83),u=function(t){function e(n,r,i){switch(t.call(this),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=s.empty;break;case 1:if(!n){this.destination=s.empty;break}if("object"==typeof n){n instanceof e?(this.syncErrorThrowable=n.syncErrorThrowable,this.destination=n,this.destination.add(this)):(this.syncErrorThrowable=!0,this.destination=new c(this,n));break}default:this.syncErrorThrowable=!0,this.destination=new c(this,n,r,i)}}return r(e,t),e.prototype[a.rxSubscriber]=function(){return this},e.create=function(t,n,r){var i=new e(t,n,r);return i.syncErrorThrowable=!1,i},e.prototype.next=function(t){this.isStopped||this._next(t)},e.prototype.error=function(t){this.isStopped||(this.isStopped=!0,this._error(t))},e.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},e.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,t.prototype.unsubscribe.call(this))},e.prototype._next=function(t){this.destination.next(t)},e.prototype._error=function(t){this.destination.error(t),this.unsubscribe()},e.prototype._complete=function(){this.destination.complete(),this.unsubscribe()},e.prototype._unsubscribeAndRecycle=function(){var t=this,e=t._parent,n=t._parents;return this._parent=null,this._parents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parent=e,this._parents=n,this},e}(o.Subscription);e.Subscriber=u;var c=function(t){function e(e,n,r,o){t.call(this),this._parentSubscriber=e;var a,u=this;i.isFunction(n)?a=n:n&&(a=n.next,r=n.error,o=n.complete,n!==s.empty&&(u=Object.create(n),i.isFunction(u.unsubscribe)&&this.add(u.unsubscribe.bind(u)),u.unsubscribe=this.unsubscribe.bind(this))),this._context=u,this._next=a,this._error=r,this._complete=o}return r(e,t),e.prototype.next=function(t){if(!this.isStopped&&this._next){var e=this._parentSubscriber;e.syncErrorThrowable?this.__tryOrSetError(e,this._next,t)&&this.unsubscribe():this.__tryOrUnsub(this._next,t)}},e.prototype.error=function(t){if(!this.isStopped){var e=this._parentSubscriber;if(this._error)e.syncErrorThrowable?(this.__tryOrSetError(e,this._error,t),this.unsubscribe()):(this.__tryOrUnsub(this._error,t),this.unsubscribe());else{if(!e.syncErrorThrowable)throw this.unsubscribe(),t;e.syncErrorValue=t,e.syncErrorThrown=!0,this.unsubscribe()}}},e.prototype.complete=function(){var t=this;if(!this.isStopped){var e=this._parentSubscriber;if(this._complete){var n=function(){return t._complete.call(t._context)};e.syncErrorThrowable?(this.__tryOrSetError(e,n),this.unsubscribe()):(this.__tryOrUnsub(n),this.unsubscribe())}else this.unsubscribe()}},e.prototype.__tryOrUnsub=function(t,e){try{t.call(this._context,e)}catch(t){throw this.unsubscribe(),t}},e.prototype.__tryOrSetError=function(t,e,n){try{e.call(this._context,n)}catch(e){return t.syncErrorValue=e,t.syncErrorThrown=!0,!0}return!1},e.prototype._unsubscribe=function(){var t=this._parentSubscriber;this._context=null,this._parentSubscriber=null,t.unsubscribe()},e}(u)},function(t,e,n){var r=n(6).f,i=n(9),o=n(5)("toStringTag");t.exports=function(t,e,n){t&&!i(t=n?t:t.prototype,o)&&r(t,o,{configurable:!0,value:e})}},function(t,e){t.exports=!1},function(t,e,n){"use strict";var r=n(4),i=n(6),o=n(7),s=n(5)("species");t.exports=function(t){var e=r[t];o&&e&&!e[s]&&i.f(e,s,{configurable:!0,get:function(){return this}})}},function(t,e){t.exports=function(t,e,n,r){if(!(t instanceof e)||void 0!==r&&r in t)throw TypeError(n+": incorrect invocation!");return t}},function(t,e,n){var r=n(11);t.exports=function(t,e,n){for(var i in e)r(t,i,e[i],n);return t}},function(t,e,n){var r=n(3);t.exports=function(t,e){if(!r(t)||t._t!==e)throw TypeError("Incompatible receiver, "+e+" required!");return t}},function(t,e,n){"use strict";(function(t){var n="undefined"!=typeof window&&window,r="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,i=void 0!==t&&t,o=n||i||r;e.root=o,function(){if(!o)throw new Error("RxJS could not find any global context (window, self, global)")}()}).call(e,n(82))},function(t,e,n){var r=n(90),i=n(64);t.exports=Object.keys||function(t){return r(t,i)}},function(t,e,n){var r=n(22);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},function(t,e){t.exports={}},function(t,e,n){var r=n(5)("unscopables"),i=Array.prototype;void 0==i[r]&&n(13)(i,r,{}),t.exports=function(t){i[r][t]=!0}},function(t,e,n){var r=n(21),i=n(104),o=n(76),s=n(1),a=n(8),u=n(77),c={},l={},e=t.exports=function(t,e,n,p,h){var f,d,v,y,m=h?function(){return t}:u(t),g=r(n,p,e?2:1),_=0;if("function"!=typeof m)throw TypeError(t+" is not iterable!");if(o(m)){for(f=a(t.length);f>_;_++)if((y=e?g(s(d=t[_])[0],d[1]):g(t[_]))===c||y===l)return y}else for(v=m.call(t);!(d=v.next()).done;)if((y=i(v,g,d.value,e))===c||y===l)return y};e.BREAK=c,e.RETURN=l},function(t,e,n){"use strict";function r(t,e){function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}e.b=r,n.d(e,"a",function(){return o});var i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},o=Object.assign||function(t){for(var e,n=1,r=arguments.length;nl;)if((a=u[l++])!=a)return!0}else for(;c>l;l++)if((t||l in u)&&u[l]===n)return t||l||0;return!t&&-1}}},function(t,e,n){var r=n(51)("keys"),i=n(33);t.exports=function(t){return r[t]||(r[t]=i(t))}},function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,e,n){var r=n(22);t.exports=Array.isArray||function(t){return"Array"==r(t)}},function(t,e,n){var r=n(4).document;t.exports=r&&r.documentElement},function(t,e,n){var r=n(3),i=n(1),o=function(t,e){if(i(t),!r(e)&&null!==e)throw TypeError(e+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,e,r){try{r=n(21)(Function.call,n(24).f(Object.prototype,"__proto__").set,2),r(t,[]),e=!(t instanceof Array)}catch(t){e=!0}return function(t,n){return o(t,n),e?t.__proto__=n:r(t,n),t}}({},!1):void 0),check:o}},function(t,e){t.exports="\t\n\v\f\r   ᠎              \u2028\u2029\ufeff"},function(t,e,n){var r=n(3),i=n(67).set;t.exports=function(t,e,n){var o,s=e.constructor;return s!==n&&"function"==typeof s&&(o=s.prototype)!==n.prototype&&r(o)&&i&&i(t,o),t}},function(t,e){t.exports=Math.sign||function(t){return 0==(t=+t)||t!=t?t:t<0?-1:1}},function(t,e){var n=Math.expm1;t.exports=!n||n(10)>22025.465794806718||n(10)<22025.465794806718||-2e-17!=n(-2e-17)?function(t){return 0==(t=+t)?t:t>-1e-6&&t<1e-6?t+t*t/2:Math.exp(t)-1}:n},function(t,e,n){"use strict";var r=n(39),i=n(0),o=n(11),s=n(13),a=n(9),u=n(47),c=n(103),l=n(38),p=n(18),h=n(5)("iterator"),f=!([].keys&&"next"in[].keys()),d=function(){return this};t.exports=function(t,e,n,v,y,m,g){c(n,e,v);var _,b,w,E=function(t){if(!f&&t in T)return T[t];switch(t){case"keys":case"values":return function(){return new n(this,t)}}return function(){return new n(this,t)}},C=e+" Iterator",x="values"==y,S=!1,T=t.prototype,P=T[h]||T["@@iterator"]||y&&T[y],O=!f&&P||E(y),M=y?x?E("entries"):O:void 0,k="Array"==e?T.entries||P:P;if(k&&(w=p(k.call(new t)))!==Object.prototype&&w.next&&(l(w,C,!0),r||a(w,h)||s(w,h,d)),x&&P&&"values"!==P.name&&(S=!0,O=function(){return P.call(this)}),r&&!g||!f&&!S&&T[h]||s(T,h,O),u[e]=O,u[C]=d,y)if(_={values:x?O:E("values"),keys:m?O:E("keys"),entries:M},g)for(b in _)b in T||o(T,b,_[b]);else i(i.P+i.F*(f||S),e,_);return _}},function(t,e,n){var r=n(74),i=n(31);t.exports=function(t,e,n){if(r(e))throw TypeError("String#"+n+" doesn't accept regex!");return String(i(t))}},function(t,e,n){var r=n(3),i=n(22),o=n(5)("match");t.exports=function(t){var e;return r(t)&&(void 0!==(e=t[o])?!!e:"RegExp"==i(t))}},function(t,e,n){var r=n(5)("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(n){try{return e[r]=!1,!"/./"[t](e)}catch(t){}}return!0}},function(t,e,n){var r=n(47),i=n(5)("iterator"),o=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||o[i]===t)}},function(t,e,n){var r=n(54),i=n(5)("iterator"),o=n(47);t.exports=n(28).getIteratorMethod=function(t){if(void 0!=t)return t[i]||t["@@iterator"]||o[r(t)]}},function(t,e,n){"use strict";var r=n(12),i=n(34),o=n(8);t.exports=function(t){for(var e=r(this),n=o(e.length),s=arguments.length,a=i(s>1?arguments[1]:void 0,n),u=s>2?arguments[2]:void 0,c=void 0===u?n:i(u,n);c>a;)e[a++]=t;return e}},function(t,e,n){"use strict";var r=n(1);t.exports=function(){var t=r(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},function(t,e,n){var r=n(1),i=n(15),o=n(5)("species");t.exports=function(t,e){var n,s=r(t).constructor;return void 0===s||void 0==(n=r(s)[o])?e:i(n)}},function(t,e,n){"use strict";function r(t,e,n){var r,i,o,s=new Array(n),a=8*n-e-1,u=(1<>1,l=23===e?L(2,-24)-L(2,-77):0,p=0,h=t<0||0===t&&1/t<0?1:0;for(t=F(t),t!=t||t===R?(i=t!=t?1:0,r=u):(r=V(H(t)/B),t*(o=L(2,-r))<1&&(r--,o*=2),t+=r+c>=1?l/o:l*L(2,1-c),t*o>=2&&(r++,o/=2),r+c>=u?(i=0,r=u):r+c>=1?(i=(t*o-1)*L(2,e),r+=c):(i=t*L(2,c-1)*L(2,e),r=0));e>=8;s[p++]=255&i,i/=256,e-=8);for(r=r<0;s[p++]=255&r,r/=256,a-=8);return s[--p]|=128*h,s}function i(t,e,n){var r,i=8*n-e-1,o=(1<>1,a=i-7,u=n-1,c=t[u--],l=127&c;for(c>>=7;a>0;l=256*l+t[u],u--,a-=8);for(r=l&(1<<-a)-1,l>>=-a,a+=e;a>0;r=256*r+t[u],u--,a-=8);if(0===l)l=1-s;else{if(l===o)return r?NaN:c?-R:R;r+=L(2,e),l-=s}return(c?-1:1)*r*L(2,l-e)}function o(t){return t[3]<<24|t[2]<<16|t[1]<<8|t[0]}function s(t){return[255&t]}function a(t){return[255&t,t>>8&255]}function u(t){return[255&t,t>>8&255,t>>16&255,t>>24&255]}function c(t){return r(t,52,8)}function l(t){return r(t,23,4)}function p(t,e,n){T(t[M],e,{get:function(){return this[n]}})}function h(t,e,n,r){var i=+n,o=x(i);if(o+e>t[z])throw D(k);var s=t[U]._b,a=o+t[q],u=s.slice(a,a+e);return r?u:u.reverse()}function f(t,e,n,r,i,o){var s=+n,a=x(s);if(a+e>t[z])throw D(k);for(var u=t[U]._b,c=a+t[q],l=r(+i),p=0;pK;)(W=Z[K++])in A||g(A,W,j[W]);y||(G.constructor=A)}var Q=new N(new A(2)),$=N[M].setInt8;Q.setInt8(0,2147483648),Q.setInt8(1,2147483649),!Q.getInt8(0)&&Q.getInt8(1)||_(N[M],{setInt8:function(t,e){$.call(this,t,e<<24>>24)},setUint8:function(t,e){$.call(this,t,e<<24>>24)}},!0)}else A=function(t){w(this,A,"ArrayBuffer");var e=x(t);this._b=P.call(new Array(e),0),this[z]=e},N=function(t,e,n){w(this,N,"DataView"),w(t,A,"DataView");var r=t[z],i=E(e);if(i<0||i>r)throw D("Wrong offset!");if(n=void 0===n?r-i:C(n),i+n>r)throw D("Wrong length!");this[U]=t,this[q]=i,this[z]=n},v&&(p(A,"byteLength","_l"),p(N,"buffer","_b"),p(N,"byteLength","_l"),p(N,"byteOffset","_o")),_(N[M],{getInt8:function(t){return h(this,1,t)[0]<<24>>24},getUint8:function(t){return h(this,1,t)[0]},getInt16:function(t){var e=h(this,2,t,arguments[1]);return(e[1]<<8|e[0])<<16>>16},getUint16:function(t){var e=h(this,2,t,arguments[1]);return e[1]<<8|e[0]},getInt32:function(t){return o(h(this,4,t,arguments[1]))},getUint32:function(t){return o(h(this,4,t,arguments[1]))>>>0},getFloat32:function(t){return i(h(this,4,t,arguments[1]),23,4)},getFloat64:function(t){return i(h(this,8,t,arguments[1]),52,8)},setInt8:function(t,e){f(this,1,t,s,e)},setUint8:function(t,e){f(this,1,t,s,e)},setInt16:function(t,e){f(this,2,t,a,e,arguments[2])},setUint16:function(t,e){f(this,2,t,a,e,arguments[2])},setInt32:function(t,e){f(this,4,t,u,e,arguments[2])},setUint32:function(t,e){f(this,4,t,u,e,arguments[2])},setFloat32:function(t,e){f(this,4,t,l,e,arguments[2])},setFloat64:function(t,e){f(this,8,t,c,e,arguments[2])}});O(A,"ArrayBuffer"),O(N,"DataView"),g(N[M],m.VIEW,!0),e.ArrayBuffer=A,e.DataView=N},function(t,e){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(t){"object"==typeof window&&(n=window)}t.exports=n},function(t,e,n){"use strict";var r=n(44),i=r.root.Symbol;e.rxSubscriber="function"==typeof i&&"function"==typeof i.for?i.for("rxSubscriber"):"@@rxSubscriber",e.$$rxSubscriber=e.rxSubscriber},function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n(20),o=n(37),s=n(60),a=n(312),u=n(313),c=n(83),l=function(t){function e(e){t.call(this,e),this.destination=e}return r(e,t),e}(o.Subscriber);e.SubjectSubscriber=l;var p=function(t){function e(){t.call(this),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}return r(e,t),e.prototype[c.rxSubscriber]=function(){return new l(this)},e.prototype.lift=function(t){var e=new h(this,this);return e.operator=t,e},e.prototype.next=function(t){if(this.closed)throw new a.ObjectUnsubscribedError;if(!this.isStopped)for(var e=this.observers,n=e.length,r=e.slice(),i=0;i-1;n--)if(void 0!==t[n])return t[n];throw new Error("Locale data API: locale data undefined")}function w(t){var e=t.split(":");return{hours:+e[0],minutes:+e[1]}}function E(t){var e=t.toLowerCase().replace(/_/g,"-"),n=Et[e];if(n)return n;var r=e.split("-")[0];if(n=Et[r])return n;if("en"===r)return wt;throw new Error('Missing locale data for the locale "'+t+'".')}function C(t,e){var n=bt[t]||[],r=n[1];return"narrow"===e&&"string"==typeof r?r:n[0]||t}function x(t,e,n,r){var i="="+t;if(e.indexOf(i)>-1)return i;if(i=n.getPluralCategory(t,r),e.indexOf(i)>-1)return i;if(e.indexOf("other")>-1)return"other";throw new Error('No plural message found for value "'+t+'"')}function S(t,e){"string"==typeof e&&(e=parseInt(e,10));var n=e,r=n.toString().replace(/^[^.]*\.?/,""),i=Math.floor(Math.abs(n)),o=r.length,s=parseInt(r,10),a=parseInt(n.toString().replace(/^[^.]*\.?|0+$/g,""),10)||0;switch(t.split("-")[0].toLowerCase()){case"af":case"asa":case"az":case"bem":case"bez":case"bg":case"brx":case"ce":case"cgg":case"chr":case"ckb":case"ee":case"el":case"eo":case"es":case"eu":case"fo":case"fur":case"gsw":case"ha":case"haw":case"hu":case"jgo":case"jmc":case"ka":case"kk":case"kkj":case"kl":case"ks":case"ksb":case"ky":case"lb":case"lg":case"mas":case"mgo":case"ml":case"mn":case"nb":case"nd":case"ne":case"nn":case"nnh":case"nyn":case"om":case"or":case"os":case"ps":case"rm":case"rof":case"rwk":case"saq":case"seh":case"sn":case"so":case"sq":case"ta":case"te":case"teo":case"tk":case"tr":case"ug":case"uz":case"vo":case"vun":case"wae":case"xog":return 1===n?xt.One:xt.Other;case"ak":case"ln":case"mg":case"pa":case"ti":return n===Math.floor(n)&&n>=0&&n<=1?xt.One:xt.Other;case"am":case"as":case"bn":case"fa":case"gu":case"hi":case"kn":case"mr":case"zu":return 0===i||1===n?xt.One:xt.Other;case"ar":return 0===n?xt.Zero:1===n?xt.One:2===n?xt.Two:n%100===Math.floor(n%100)&&n%100>=3&&n%100<=10?xt.Few:n%100===Math.floor(n%100)&&n%100>=11&&n%100<=99?xt.Many:xt.Other;case"ast":case"ca":case"de":case"en":case"et":case"fi":case"fy":case"gl":case"it":case"nl":case"sv":case"sw":case"ur":case"yi":return 1===i&&0===o?xt.One:xt.Other;case"be":return n%10==1&&n%100!=11?xt.One:n%10===Math.floor(n%10)&&n%10>=2&&n%10<=4&&!(n%100>=12&&n%100<=14)?xt.Few:n%10==0||n%10===Math.floor(n%10)&&n%10>=5&&n%10<=9||n%100===Math.floor(n%100)&&n%100>=11&&n%100<=14?xt.Many:xt.Other;case"br":return n%10==1&&n%100!=11&&n%100!=71&&n%100!=91?xt.One:n%10==2&&n%100!=12&&n%100!=72&&n%100!=92?xt.Two:n%10===Math.floor(n%10)&&(n%10>=3&&n%10<=4||n%10==9)&&!(n%100>=10&&n%100<=19||n%100>=70&&n%100<=79||n%100>=90&&n%100<=99)?xt.Few:0!==n&&n%1e6==0?xt.Many:xt.Other;case"bs":case"hr":case"sr":return 0===o&&i%10==1&&i%100!=11||s%10==1&&s%100!=11?xt.One:0===o&&i%10===Math.floor(i%10)&&i%10>=2&&i%10<=4&&!(i%100>=12&&i%100<=14)||s%10===Math.floor(s%10)&&s%10>=2&&s%10<=4&&!(s%100>=12&&s%100<=14)?xt.Few:xt.Other;case"cs":case"sk":return 1===i&&0===o?xt.One:i===Math.floor(i)&&i>=2&&i<=4&&0===o?xt.Few:0!==o?xt.Many:xt.Other;case"cy":return 0===n?xt.Zero:1===n?xt.One:2===n?xt.Two:3===n?xt.Few:6===n?xt.Many:xt.Other;case"da":return 1===n||0!==a&&(0===i||1===i)?xt.One:xt.Other;case"dsb":case"hsb":return 0===o&&i%100==1||s%100==1?xt.One:0===o&&i%100==2||s%100==2?xt.Two:0===o&&i%100===Math.floor(i%100)&&i%100>=3&&i%100<=4||s%100===Math.floor(s%100)&&s%100>=3&&s%100<=4?xt.Few:xt.Other;case"ff":case"fr":case"hy":case"kab":return 0===i||1===i?xt.One:xt.Other;case"fil":return 0===o&&(1===i||2===i||3===i)||0===o&&i%10!=4&&i%10!=6&&i%10!=9||0!==o&&s%10!=4&&s%10!=6&&s%10!=9?xt.One:xt.Other;case"ga":return 1===n?xt.One:2===n?xt.Two:n===Math.floor(n)&&n>=3&&n<=6?xt.Few:n===Math.floor(n)&&n>=7&&n<=10?xt.Many:xt.Other;case"gd":return 1===n||11===n?xt.One:2===n||12===n?xt.Two:n===Math.floor(n)&&(n>=3&&n<=10||n>=13&&n<=19)?xt.Few:xt.Other;case"gv":return 0===o&&i%10==1?xt.One:0===o&&i%10==2?xt.Two:0!==o||i%100!=0&&i%100!=20&&i%100!=40&&i%100!=60&&i%100!=80?0!==o?xt.Many:xt.Other:xt.Few;case"he":return 1===i&&0===o?xt.One:2===i&&0===o?xt.Two:0!==o||n>=0&&n<=10||n%10!=0?xt.Other:xt.Many;case"is":return 0===a&&i%10==1&&i%100!=11||0!==a?xt.One:xt.Other;case"ksh":return 0===n?xt.Zero:1===n?xt.One:xt.Other;case"kw":case"naq":case"se":case"smn":return 1===n?xt.One:2===n?xt.Two:xt.Other;case"lag":return 0===n?xt.Zero:0!==i&&1!==i||0===n?xt.Other:xt.One;case"lt":return n%10!=1||n%100>=11&&n%100<=19?n%10===Math.floor(n%10)&&n%10>=2&&n%10<=9&&!(n%100>=11&&n%100<=19)?xt.Few:0!==s?xt.Many:xt.Other:xt.One;case"lv":case"prg":return n%10==0||n%100===Math.floor(n%100)&&n%100>=11&&n%100<=19||2===o&&s%100===Math.floor(s%100)&&s%100>=11&&s%100<=19?xt.Zero:n%10==1&&n%100!=11||2===o&&s%10==1&&s%100!=11||2!==o&&s%10==1?xt.One:xt.Other;case"mk":return 0===o&&i%10==1||s%10==1?xt.One:xt.Other;case"mt":return 1===n?xt.One:0===n||n%100===Math.floor(n%100)&&n%100>=2&&n%100<=10?xt.Few:n%100===Math.floor(n%100)&&n%100>=11&&n%100<=19?xt.Many:xt.Other;case"pl":return 1===i&&0===o?xt.One:0===o&&i%10===Math.floor(i%10)&&i%10>=2&&i%10<=4&&!(i%100>=12&&i%100<=14)?xt.Few:0===o&&1!==i&&i%10===Math.floor(i%10)&&i%10>=0&&i%10<=1||0===o&&i%10===Math.floor(i%10)&&i%10>=5&&i%10<=9||0===o&&i%100===Math.floor(i%100)&&i%100>=12&&i%100<=14?xt.Many:xt.Other;case"pt":return n===Math.floor(n)&&n>=0&&n<=2&&2!==n?xt.One:xt.Other;case"ro":return 1===i&&0===o?xt.One:0!==o||0===n||1!==n&&n%100===Math.floor(n%100)&&n%100>=1&&n%100<=19?xt.Few:xt.Other;case"ru":case"uk":return 0===o&&i%10==1&&i%100!=11?xt.One:0===o&&i%10===Math.floor(i%10)&&i%10>=2&&i%10<=4&&!(i%100>=12&&i%100<=14)?xt.Few:0===o&&i%10==0||0===o&&i%10===Math.floor(i%10)&&i%10>=5&&i%10<=9||0===o&&i%100===Math.floor(i%100)&&i%100>=11&&i%100<=14?xt.Many:xt.Other;case"shi":return 0===i||1===n?xt.One:n===Math.floor(n)&&n>=2&&n<=10?xt.Few:xt.Other;case"si":return 0===n||1===n||0===i&&1===s?xt.One:xt.Other;case"sl":return 0===o&&i%100==1?xt.One:0===o&&i%100==2?xt.Two:0===o&&i%100===Math.floor(i%100)&&i%100>=3&&i%100<=4||0!==o?xt.Few:xt.Other;case"tzm":return n===Math.floor(n)&&n>=0&&n<=1||n===Math.floor(n)&&n>=11&&n<=99?xt.One:xt.Other;default:return xt.Other}}function T(t,e){e=encodeURIComponent(e);for(var n=0,r=t.split(";");n0||a>-n)&&(a+=n),t===Jt.Hours&&0===a&&-12===n&&(a=12),A(a,e,d(s,Ot.MinusSign),r,i)}}function I(t,e,n){switch(t){case Jt.FullYear:return e.getFullYear();case Jt.Month:return e.getMonth();case Jt.Date:return e.getDate();case Jt.Hours:return e.getHours();case Jt.Minutes:return e.getMinutes();case Jt.Seconds:return e.getSeconds();case Jt.Milliseconds:var r=1===n?100:2===n?10:1;return Math.round(e.getMilliseconds()/r);case Jt.Day:return e.getDay();default:throw new Error('Unknown DateType value "'+t+'".')}}function D(t,e,n,r){return void 0===n&&(n=St.Format),void 0===r&&(r=!1),function(i,o){return R(i,o,t,e,n,r)}}function R(t,e,n,r,i,o){switch(n){case Yt.Months:return c(e,i,r)[t.getMonth()];case Yt.Days:return u(e,i,r)[t.getDay()];case Yt.DayPeriods:var s=t.getHours(),p=t.getMinutes();if(o){var h,f=g(e),d=_(e,i,r);if(f.forEach(function(t,e){if(Array.isArray(t)){var n=t[0],r=n.hours,i=n.minutes,o=t[1],a=o.hours,u=o.minutes;s>=r&&p>=i&&(s0?Math.floor(i/60):Math.ceil(i/60);switch(t){case Xt.Short:return(i>=0?"+":"")+A(s,2,o)+A(Math.abs(i%60),2,o);case Xt.ShortGMT:return"GMT"+(i>=0?"+":"")+A(s,1,o);case Xt.Long:return"GMT"+(i>=0?"+":"")+A(s,2,o)+":"+A(Math.abs(i%60),2,o);case Xt.Extended:return 0===r?"Z":(i>=0?"+":"")+A(s,2,o)+":"+A(Math.abs(i%60),2,o);default:throw new Error('Unknown zone width "'+t+'"')}}}function F(t){var e=new Date(t,te,1).getDay();return new Date(t,0,1+(e<=ee?ee:ee+7)-e)}function L(t){return new Date(t.getFullYear(),t.getMonth(),t.getDate()+(ee-t.getDay()))}function V(t,e){return void 0===e&&(e=!1),function(n,r){var i;if(e){var o=new Date(n.getFullYear(),n.getMonth(),1).getDay()-1,s=n.getDate();i=1+Math.floor((s+o)/7)}else{var a=F(n.getFullYear()),u=L(n),c=u.getTime()-a.getTime();i=1+Math.round(c/6048e5)}return A(i,t,d(r,Ot.MinusSign))}}function H(t){if(ne[t])return ne[t];var e;switch(t){case"G":case"GG":case"GGG":e=D(Yt.Eras,Tt.Abbreviated);break;case"GGGG":e=D(Yt.Eras,Tt.Wide);break;case"GGGGG":e=D(Yt.Eras,Tt.Narrow);break;case"y":e=N(Jt.FullYear,1,0,!1,!0);break;case"yy":e=N(Jt.FullYear,2,0,!0,!0);break;case"yyy":e=N(Jt.FullYear,3,0,!1,!0);break;case"yyyy":e=N(Jt.FullYear,4,0,!1,!0);break;case"M":case"L":e=N(Jt.Month,1,1);break;case"MM":case"LL":e=N(Jt.Month,2,1);break;case"MMM":e=D(Yt.Months,Tt.Abbreviated);break;case"MMMM":e=D(Yt.Months,Tt.Wide);break;case"MMMMM":e=D(Yt.Months,Tt.Narrow);break;case"LLL":e=D(Yt.Months,Tt.Abbreviated,St.Standalone);break;case"LLLL":e=D(Yt.Months,Tt.Wide,St.Standalone);break;case"LLLLL":e=D(Yt.Months,Tt.Narrow,St.Standalone);break;case"w":e=V(1);break;case"ww":e=V(2);break;case"W":e=V(1,!0);break;case"d":e=N(Jt.Date,1);break;case"dd":e=N(Jt.Date,2);break;case"E":case"EE":case"EEE":e=D(Yt.Days,Tt.Abbreviated);break;case"EEEE":e=D(Yt.Days,Tt.Wide);break;case"EEEEE":e=D(Yt.Days,Tt.Narrow);break;case"EEEEEE":e=D(Yt.Days,Tt.Short);break;case"a":case"aa":case"aaa":e=D(Yt.DayPeriods,Tt.Abbreviated);break;case"aaaa":e=D(Yt.DayPeriods,Tt.Wide);break;case"aaaaa":e=D(Yt.DayPeriods,Tt.Narrow);break;case"b":case"bb":case"bbb":e=D(Yt.DayPeriods,Tt.Abbreviated,St.Standalone,!0);break;case"bbbb":e=D(Yt.DayPeriods,Tt.Wide,St.Standalone,!0);break;case"bbbbb":e=D(Yt.DayPeriods,Tt.Narrow,St.Standalone,!0);break;case"B":case"BB":case"BBB":e=D(Yt.DayPeriods,Tt.Abbreviated,St.Format,!0);break;case"BBBB":e=D(Yt.DayPeriods,Tt.Wide,St.Format,!0);break;case"BBBBB":e=D(Yt.DayPeriods,Tt.Narrow,St.Format,!0);break;case"h":e=N(Jt.Hours,1,-12);break;case"hh":e=N(Jt.Hours,2,-12);break;case"H":e=N(Jt.Hours,1);break;case"HH":e=N(Jt.Hours,2);break;case"m":e=N(Jt.Minutes,1);break;case"mm":e=N(Jt.Minutes,2);break;case"s":e=N(Jt.Seconds,1);break;case"ss":e=N(Jt.Seconds,2);break;case"S":e=N(Jt.Milliseconds,1);break;case"SS":e=N(Jt.Milliseconds,2);break;case"SSS":e=N(Jt.Milliseconds,3);break;case"Z":case"ZZ":case"ZZZ":e=j(Xt.Short);break;case"ZZZZZ":e=j(Xt.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":e=j(Xt.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":e=j(Xt.Long);break;default:return null}return ne[t]=e,e}function B(t,e){t=t.replace(/:/g,"");var n=Date.parse("Jan 01, 1970 00:00:00 "+t)/6e4;return isNaN(n)?e:n}function U(t,e){return t=new Date(t.getTime()),t.setMinutes(t.getMinutes()+e),t}function z(t,e,n){var r=n?-1:1,i=t.getTimezoneOffset();return U(t,r*(B(e,i)-i))}function q(t,e){return Error("InvalidPipeArgument: '"+e+"' for pipe '"+Object(dt._42)(t)+"'")}function W(t){var e=new Date(0),n=0,r=0,i=t[8]?e.setUTCFullYear:e.setFullYear,o=t[8]?e.setUTCHours:e.setHours;t[9]&&(n=+(t[9]+t[10]),r=+(t[9]+t[11])),i.call(e,+t[1],+t[2]-1,+t[3]);var s=+(t[4]||"0")-n,a=+(t[5]||"0")-r,u=+(t[6]||"0"),c=Math.round(1e3*parseFloat("0."+(t[7]||0)));return o.call(e,s,a,u,c),e}function G(t){return t instanceof Date&&!isNaN(t.valueOf())}function Z(t){return function(e,n){var r=t(e,n);return 1==r.length?"0"+r:r}}function K(t){return function(e,n){return t(e,n).split(" ")[0]}}function Q(t,e,n){return new Intl.DateTimeFormat(e,n).format(t).replace(/[\u200e\u200f]/g,"")}function $(t){var e={hour:"2-digit",hour12:!1,timeZoneName:t};return function(t,n){var r=Q(t,n,e);return r?r.substring(3):""}}function X(t,e){return t.hour12=e,t}function J(t,e){var n={};return n[t]=2===e?"2-digit":"numeric",n}function Y(t,e){var n={};return n[t]=e<4?e>1?"short":"narrow":"long",n}function tt(t){return t.reduce(function(t,e){return Object(vt.a)({},t,e)},{})}function et(t){return function(e,n){return Q(e,n,t)}}function nt(t,e,n){var r=ae[t];if(r)return r(e,n);var i=t,o=ce.get(i);if(!o){o=[];var s=void 0;se.exec(t);for(var a=t;a;)s=se.exec(a),s?(o=o.concat(s.slice(1)),a=o.pop()):(o.push(a),a=null);ce.set(i,o)}return o.reduce(function(t,r){var i=ue[r];return t+(i?i(e,n):rt(r))},"")}function rt(t){return"''"===t?"'":t.replace(/(^'|'$)/g,"").replace(/''/g,"'")}function it(t){return t instanceof Date&&!isNaN(t.valueOf())}function ot(t,e,n,r,i){void 0===i&&(i=null);var o,s={str:null},a=v(e,n);if("string"!=typeof t||isNaN(+t-parseFloat(t))){if("number"!=typeof t)return s.error=t+" is not a number",s;o=t}else o=+t;var u=st(a,d(e,Ot.MinusSign)),c="",l=!1;if(isFinite(o)){var p=ut(o);n===Ct.Percent&&(p=at(p));var h=u.minInt,f=u.minFrac,y=u.maxFrac;if(r){var m=r.match(he);if(null===m)return s.error=r+" is not a valid digit info",s;var g=m[1],_=m[3],b=m[5];null!=g&&(h=lt(g)),null!=_&&(f=lt(_)),null!=b?y=lt(b):null!=_&&f>y&&(y=f)}ct(p,f,y);var w=p.digits,E=p.integerLen,C=p.exponent,x=[];for(l=w.every(function(t){return!t});E0?x=w.splice(E,w.length):(x=w,w=[0]);var S=[];for(w.length>=u.lgSize&&S.unshift(w.splice(-u.lgSize,w.length).join(""));w.length>u.gSize;)S.unshift(w.splice(-u.gSize,w.length).join(""));w.length&&S.unshift(w.join(""));var T=i?Ot.CurrencyGroup:Ot.Group;if(c=S.join(d(e,T)),x.length){c+=d(e,i?Ot.CurrencyDecimal:Ot.Decimal)+x.join("")}C&&(c+=d(e,Ot.Exponential)+"+"+C)}else c=d(e,Ot.Infinity);return c=o<0&&!l?u.negPre+c+u.negSuf:u.posPre+c+u.posSuf,n===Ct.Currency&&null!==i?(s.str=c.replace(_e,i).replace(_e,""),s):n===Ct.Percent?(s.str=c.replace(new RegExp(be,"g"),d(e,Ot.PercentSign)),s):(s.str=c,s)}function st(t,e){void 0===e&&(e="-");var n={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},r=t.split(ye),i=r[0],o=r[1],s=-1!==i.indexOf(de)?i.split(de):[i.substring(0,i.lastIndexOf(ve)+1),i.substring(i.lastIndexOf(ve)+1)],a=s[0],u=s[1]||"";n.posPre=a.substr(0,a.indexOf(ge));for(var c=0;c-1&&(s=s.replace(de,"")),(r=s.search(/e/i))>0?(n<0&&(n=r),n+=+s.slice(r+1),s=s.substring(0,r)):n<0&&(n=s.length),r=0;s.charAt(r)===ve;r++);if(r===(o=s.length))e=[0],n=1;else{for(o--;s.charAt(o)===ve;)o--;for(n-=r,e=[],i=0;r<=o;r++,i++)e[i]=+s.charAt(r)}return n>fe&&(e=e.splice(0,fe-1),a=n-1,n=1),{digits:e,exponent:a,integerLen:n}}function ct(t,e,n){if(e>n)throw new Error("The minimum number of digits after fraction ("+e+") is higher than the maximum ("+n+").");var r=t.digits,i=r.length-t.integerLen,o=Math.min(Math.max(e,i),n),s=o+t.integerLen,a=r[s];if(s>0){r.splice(Math.max(t.integerLen,s));for(var u=s;u=5)if(s-1<0){for(var l=0;l>s;l--)r.unshift(0),t.integerLen++;r.unshift(1),t.integerLen++}else r[s-1]++;for(;i=h?r.pop():p=!1),e>=10?1:0},0);f&&(r.unshift(f),t.integerLen++)}function lt(t){var e=parseInt(t);if(isNaN(e))throw new Error("Invalid integer literal when parsing "+t);return e}function pt(t,e,n,r,i,o,s){if(void 0===o&&(o=null),void 0===s&&(s=!1),null==n)return null;if("number"!=typeof(n="string"!=typeof n||isNaN(+n-parseFloat(n))?n:+n))throw q(t,n);var a,u,c;if(r!==Ct.Currency&&(a=1,u=0,c=3),i){var l=i.match(he);if(null===l)throw new Error(i+" is not a valid digit info for number pipes");null!=l[1]&&(a=lt(l[1])),null!=l[3]&&(u=lt(l[3])),null!=l[5]&&(c=lt(l[5]))}return oe.format(n,e,r,{minimumIntegerDigits:a,minimumFractionDigits:u,maximumFractionDigits:c,currency:o,currencyAsSymbol:s})}function ht(t){return t?t[0].toUpperCase()+t.substr(1).toLowerCase():t}function ft(t){return null==t||""===t||t!==t}n.d(e,"e",function(){return T}),n.d(e,"a",function(){return Ue}),n.d(e,"b",function(){return qe}),n.d(e,"d",function(){return We}),n.d(e,"c",function(){return yt});var dt=n(27),vt=n(50),yt=function(){function t(){}return t}(),mt=(new dt.x("Location Initialized"),function(){function t(){}return t}()),gt=new dt.x("appBaseHref"),_t=function(){function t(e){var n=this;this._subject=new dt.t,this._platformStrategy=e;var r=this._platformStrategy.getBaseHref();this._baseHref=t.stripTrailingSlash(i(r)),this._platformStrategy.onPopState(function(t){n._subject.emit({url:n.path(!0),pop:!0,type:t.type})})}return t.prototype.path=function(t){return void 0===t&&(t=!1),this.normalize(this._platformStrategy.path(t))},t.prototype.isCurrentPathEqualTo=function(e,n){return void 0===n&&(n=""),this.path()==this.normalize(e+t.normalizeQueryParams(n))},t.prototype.normalize=function(e){return t.stripTrailingSlash(r(this._baseHref,i(e)))},t.prototype.prepareExternalUrl=function(t){return t&&"/"!==t[0]&&(t="/"+t),this._platformStrategy.prepareExternalUrl(t)},t.prototype.go=function(t,e){void 0===e&&(e=""),this._platformStrategy.pushState(null,"",t,e)},t.prototype.replaceState=function(t,e){void 0===e&&(e=""),this._platformStrategy.replaceState(null,"",t,e)},t.prototype.forward=function(){this._platformStrategy.forward()},t.prototype.back=function(){this._platformStrategy.back()},t.prototype.subscribe=function(t,e,n){return this._subject.subscribe({next:t,error:e,complete:n})},t.normalizeQueryParams=function(t){return t&&"?"!==t[0]?"?"+t:t},t.joinWithSlash=function(t,e){if(0==t.length)return e;if(0==e.length)return t;var n=0;return t.endsWith("/")&&n++,e.startsWith("/")&&n++,2==n?t+e.substring(1):1==n?t+e:t+"/"+e},t.stripTrailingSlash=function(t){var e=t.match(/#|\?|$/),n=e&&e.index||t.length,r=n-("/"===t[n-1]?1:0);return t.slice(0,r)+t.slice(n)},t.decorators=[{type:dt.w}],t.ctorParameters=function(){return[{type:mt}]},t}(),bt=(function(t){function e(e,n){var r=t.call(this)||this;return r._platformLocation=e,r._baseHref="",null!=n&&(r._baseHref=n),r}Object(vt.b)(e,t),e.prototype.onPopState=function(t){this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t)},e.prototype.getBaseHref=function(){return this._baseHref},e.prototype.path=function(t){void 0===t&&(t=!1);var e=this._platformLocation.hash;return null==e&&(e="#"),e.length>0?e.substring(1):e},e.prototype.prepareExternalUrl=function(t){var e=_t.joinWithSlash(this._baseHref,t);return e.length>0?"#"+e:e},e.prototype.pushState=function(t,e,n,r){var i=this.prepareExternalUrl(n+_t.normalizeQueryParams(r));0==i.length&&(i=this._platformLocation.pathname),this._platformLocation.pushState(t,e,i)},e.prototype.replaceState=function(t,e,n,r){var i=this.prepareExternalUrl(n+_t.normalizeQueryParams(r));0==i.length&&(i=this._platformLocation.pathname),this._platformLocation.replaceState(t,e,i)},e.prototype.forward=function(){this._platformLocation.forward()},e.prototype.back=function(){this._platformLocation.back()},e.decorators=[{type:dt.w}],e.ctorParameters=function(){return[{type:yt},{type:void 0,decorators:[{type:dt.J},{type:dt.v,args:[gt]}]}]}}(mt),function(t){function e(e,n){var r=t.call(this)||this;if(r._platformLocation=e,null==n&&(n=r._platformLocation.getBaseHrefFromDOM()),null==n)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");return r._baseHref=n,r}Object(vt.b)(e,t),e.prototype.onPopState=function(t){this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t)},e.prototype.getBaseHref=function(){return this._baseHref},e.prototype.prepareExternalUrl=function(t){return _t.joinWithSlash(this._baseHref,t)},e.prototype.path=function(t){void 0===t&&(t=!1);var e=this._platformLocation.pathname+_t.normalizeQueryParams(this._platformLocation.search),n=this._platformLocation.hash;return n&&t?""+e+n:e},e.prototype.pushState=function(t,e,n,r){var i=this.prepareExternalUrl(n+_t.normalizeQueryParams(r));this._platformLocation.pushState(t,e,i)},e.prototype.replaceState=function(t,e,n,r){var i=this.prepareExternalUrl(n+_t.normalizeQueryParams(r));this._platformLocation.replaceState(t,e,i)},e.prototype.forward=function(){this._platformLocation.forward()},e.prototype.back=function(){this._platformLocation.back()},e.decorators=[{type:dt.w}],e.ctorParameters=function(){return[{type:yt},{type:void 0,decorators:[{type:dt.J},{type:dt.v,args:[gt]}]}]}}(mt),{AOA:[,"Kz"],ARS:[,"$"],AUD:["A$","$"],BAM:[,"KM"],BBD:[,"$"],BDT:[,"৳"],BMD:[,"$"],BND:[,"$"],BOB:[,"Bs"],BRL:["R$"],BSD:[,"$"],BWP:[,"P"],BYN:[,"р."],BZD:[,"$"],CAD:["CA$","$"],CLP:[,"$"],CNY:["CN¥","¥"],COP:[,"$"],CRC:[,"₡"],CUC:[,"$"],CUP:[,"$"],CZK:[,"Kč"],DKK:[,"kr"],DOP:[,"$"],EGP:[,"E£"],ESP:[,"₧"],EUR:["€"],FJD:[,"$"],FKP:[,"£"],GBP:["£"],GEL:[,"₾"],GIP:[,"£"],GNF:[,"FG"],GTQ:[,"Q"],GYD:[,"$"],HKD:["HK$","$"],HNL:[,"L"],HRK:[,"kn"],HUF:[,"Ft"],IDR:[,"Rp"],ILS:["₪"],INR:["₹"],ISK:[,"kr"],JMD:[,"$"],JPY:["¥"],KHR:[,"៛"],KMF:[,"CF"],KPW:[,"₩"],KRW:["₩"],KYD:[,"$"],KZT:[,"₸"],LAK:[,"₭"],LBP:[,"L£"],LKR:[,"Rs"],LRD:[,"$"],LTL:[,"Lt"],LVL:[,"Ls"],MGA:[,"Ar"],MMK:[,"K"],MNT:[,"₮"],MUR:[,"Rs"],MXN:["MX$","$"],MYR:[,"RM"],NAD:[,"$"],NGN:[,"₦"],NIO:[,"C$"],NOK:[,"kr"],NPR:[,"Rs"],NZD:["NZ$","$"],PHP:[,"₱"],PKR:[,"Rs"],PLN:[,"zł"],PYG:[,"₲"],RON:[,"lei"],RUB:[,"₽"],RUR:[,"р."],RWF:[,"RF"],SBD:[,"$"],SEK:[,"kr"],SGD:[,"$"],SHP:[,"£"],SRD:[,"$"],SSP:[,"£"],STD:[,"Db"],SYP:[,"£"],THB:[,"฿"],TOP:[,"T$"],TRY:[,"₺"],TTD:[,"$"],TWD:["NT$","$"],UAH:[,"₴"],USD:["$"],UYU:[,"$"],VEF:[,"Bs"],VND:["₫"],XAF:["FCFA"],XCD:["EC$","$"],XOF:["CFA"],XPF:["CFPF"],ZAR:[,"R"],ZMW:[,"ZK"]}),wt=["en",[["a","p"],["AM","PM"]],[["AM","PM"],,],[["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"]],,[["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"]],,[["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}",,"{1} 'at' {0}"],[".",",",";","%","+","-","E","×","‰","∞","NaN",":"],["#,##0.###","#,##0%","¤#,##0.00","#E0"],"$","US Dollar",o],Et={},Ct={Decimal:0,Percent:1,Currency:2,Scientific:3};Ct[Ct.Decimal]="Decimal",Ct[Ct.Percent]="Percent",Ct[Ct.Currency]="Currency",Ct[Ct.Scientific]="Scientific";var xt={Zero:0,One:1,Two:2,Few:3,Many:4,Other:5};xt[xt.Zero]="Zero",xt[xt.One]="One",xt[xt.Two]="Two",xt[xt.Few]="Few",xt[xt.Many]="Many",xt[xt.Other]="Other";var St={Format:0,Standalone:1};St[St.Format]="Format",St[St.Standalone]="Standalone";var Tt={Narrow:0,Abbreviated:1,Wide:2,Short:3};Tt[Tt.Narrow]="Narrow",Tt[Tt.Abbreviated]="Abbreviated",Tt[Tt.Wide]="Wide",Tt[Tt.Short]="Short";var Pt={Short:0,Medium:1,Long:2,Full:3};Pt[Pt.Short]="Short",Pt[Pt.Medium]="Medium",Pt[Pt.Long]="Long",Pt[Pt.Full]="Full";var Ot={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};Ot[Ot.Decimal]="Decimal",Ot[Ot.Group]="Group",Ot[Ot.List]="List",Ot[Ot.PercentSign]="PercentSign",Ot[Ot.PlusSign]="PlusSign",Ot[Ot.MinusSign]="MinusSign",Ot[Ot.Exponential]="Exponential",Ot[Ot.SuperscriptingExponent]="SuperscriptingExponent",Ot[Ot.PerMille]="PerMille",Ot[Ot.Infinity]="Infinity",Ot[Ot.NaN]="NaN",Ot[Ot.TimeSeparator]="TimeSeparator",Ot[Ot.CurrencyDecimal]="CurrencyDecimal",Ot[Ot.CurrencyGroup]="CurrencyGroup";var Mt={Sunday:0,Monday:1,Tuesday:2,Wednesday:3,Thursday:4,Friday:5,Saturday:6};Mt[Mt.Sunday]="Sunday",Mt[Mt.Monday]="Monday",Mt[Mt.Tuesday]="Tuesday",Mt[Mt.Wednesday]="Wednesday",Mt[Mt.Thursday]="Thursday",Mt[Mt.Friday]="Friday",Mt[Mt.Saturday]="Saturday";var kt=new dt.x("UseV4Plurals"),At=function(){function t(){}return t}(),Nt=function(t){function e(e,n){var r=t.call(this)||this;return r.locale=e,r.deprecatedPluralFn=n,r}return Object(vt.b)(e,t),e.prototype.getPluralCategory=function(t,e){switch(this.deprecatedPluralFn?this.deprecatedPluralFn(e||this.locale,t):y(e||this.locale)(t)){case xt.Zero:return"zero";case xt.One:return"one";case xt.Two:return"two";case xt.Few:return"few";case xt.Many:return"many";default:return"other"}},e.decorators=[{type:dt.w}],e.ctorParameters=function(){return[{type:void 0,decorators:[{type:dt.v,args:[dt.C]}]},{type:void 0,decorators:[{type:dt.J},{type:dt.v,args:[kt]}]}]},e}(At),It=function(){function t(t,e,n,r){this._iterableDiffers=t,this._keyValueDiffers=e,this._ngEl=n,this._renderer=r,this._initialClasses=[]}return Object.defineProperty(t.prototype,"klass",{set:function(t){this._applyInitialClasses(!0),this._initialClasses="string"==typeof t?t.split(/\s+/):[],this._applyInitialClasses(!1),this._applyClasses(this._rawClass,!1)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngClass",{set:function(t){this._cleanupClasses(this._rawClass),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof t?t.split(/\s+/):t,this._rawClass&&(Object(dt._27)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())},enumerable:!0,configurable:!0}),t.prototype.ngDoCheck=function(){if(this._iterableDiffer){var t=this._iterableDiffer.diff(this._rawClass);t&&this._applyIterableChanges(t)}else if(this._keyValueDiffer){var e=this._keyValueDiffer.diff(this._rawClass);e&&this._applyKeyValueChanges(e)}},t.prototype._cleanupClasses=function(t){this._applyClasses(t,!0),this._applyInitialClasses(!1)},t.prototype._applyKeyValueChanges=function(t){var e=this;t.forEachAddedItem(function(t){return e._toggleClass(t.key,t.currentValue)}),t.forEachChangedItem(function(t){return e._toggleClass(t.key,t.currentValue)}),t.forEachRemovedItem(function(t){t.previousValue&&e._toggleClass(t.key,!1)})},t.prototype._applyIterableChanges=function(t){var e=this;t.forEachAddedItem(function(t){if("string"!=typeof t.item)throw new Error("NgClass can only toggle CSS classes expressed as strings, got "+Object(dt._42)(t.item));e._toggleClass(t.item,!0)}),t.forEachRemovedItem(function(t){return e._toggleClass(t.item,!1)})},t.prototype._applyInitialClasses=function(t){var e=this;this._initialClasses.forEach(function(n){return e._toggleClass(n,!t)})},t.prototype._applyClasses=function(t,e){var n=this;t&&(Array.isArray(t)||t instanceof Set?t.forEach(function(t){return n._toggleClass(t,!e)}):Object.keys(t).forEach(function(r){null!=t[r]&&n._toggleClass(r,!e)}))},t.prototype._toggleClass=function(t,e){var n=this;(t=t.trim())&&t.split(/\s+/g).forEach(function(t){e?n._renderer.addClass(n._ngEl.nativeElement,t):n._renderer.removeClass(n._ngEl.nativeElement,t)})},t.decorators=[{type:dt.q,args:[{selector:"[ngClass]"}]}],t.ctorParameters=function(){return[{type:dt.A},{type:dt.B},{type:dt.r},{type:dt.R}]},t.propDecorators={klass:[{type:dt.z,args:["class"]}],ngClass:[{type:dt.z}]},t}(),Dt=function(){function t(t){this._viewContainerRef=t,this._componentRef=null,this._moduleRef=null}return t.prototype.ngOnChanges=function(t){if(this._viewContainerRef.clear(),this._componentRef=null,this.ngComponentOutlet){var e=this.ngComponentOutletInjector||this._viewContainerRef.parentInjector;if(t.ngComponentOutletNgModuleFactory)if(this._moduleRef&&this._moduleRef.destroy(),this.ngComponentOutletNgModuleFactory){var n=e.get(dt.G);this._moduleRef=this.ngComponentOutletNgModuleFactory.create(n.injector)}else this._moduleRef=null;var r=this._moduleRef?this._moduleRef.componentFactoryResolver:e.get(dt.o),i=r.resolveComponentFactory(this.ngComponentOutlet);this._componentRef=this._viewContainerRef.createComponent(i,this._viewContainerRef.length,e,this.ngComponentOutletContent)}},t.prototype.ngOnDestroy=function(){this._moduleRef&&this._moduleRef.destroy()},t.decorators=[{type:dt.q,args:[{selector:"[ngComponentOutlet]"}]}],t.ctorParameters=function(){return[{type:dt._3}]},t.propDecorators={ngComponentOutlet:[{type:dt.z}],ngComponentOutletInjector:[{type:dt.z}],ngComponentOutletContent:[{type:dt.z}],ngComponentOutletNgModuleFactory:[{type:dt.z}]},t}(),Rt=function(){function t(t,e,n,r){this.$implicit=t,this.ngForOf=e,this.index=n,this.count=r}return Object.defineProperty(t.prototype,"first",{get:function(){return 0===this.index},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"last",{get:function(){return this.index===this.count-1},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"even",{get:function(){return this.index%2==0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"odd",{get:function(){return!this.even},enumerable:!0,configurable:!0}),t}(),jt=function(){function t(t,e,n){this._viewContainer=t,this._template=e,this._differs=n,this._differ=null}return Object.defineProperty(t.prototype,"ngForTrackBy",{get:function(){return this._trackByFn},set:function(t){Object(dt._10)()&&null!=t&&"function"!=typeof t&&console&&console.warn&&console.warn("trackBy must be a function, but received "+JSON.stringify(t)+". See https://angular.io/docs/ts/latest/api/common/index/NgFor-directive.html#!#change-propagation for more information."),this._trackByFn=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngForTemplate",{set:function(t){t&&(this._template=t)},enumerable:!0,configurable:!0}),t.prototype.ngOnChanges=function(t){if("ngForOf"in t){var e=t.ngForOf.currentValue;if(!this._differ&&e)try{this._differ=this._differs.find(e).create(this.ngForTrackBy)}catch(t){throw new Error("Cannot find a differ supporting object '"+e+"' of type '"+P(e)+"'. NgFor only supports binding to Iterables such as Arrays.")}}},t.prototype.ngDoCheck=function(){if(this._differ){var t=this._differ.diff(this.ngForOf);t&&this._applyChanges(t)}},t.prototype._applyChanges=function(t){var e=this,n=[];t.forEachOperation(function(t,r,i){if(null==t.previousIndex){var o=e._viewContainer.createEmbeddedView(e._template,new Rt(null,e.ngForOf,-1,-1),i),s=new Ft(t,o);n.push(s)}else if(null==i)e._viewContainer.remove(r);else{var o=e._viewContainer.get(r);e._viewContainer.move(o,i);var s=new Ft(t,o);n.push(s)}});for(var r=0;r/g,">")}function S(t){zt.attributeMap(t).forEach(function(e,n){"xmlns:ns1"!==n&&0!==n.indexOf("ns1:")||zt.removeAttribute(t,n)});for(var e=0,n=zt.childNodesAsList(t);e"};return t.replace(/&[^;]+;/g,function(t){return e[t]})}function I(t,e){var n=t.getElementById(e+"-state"),r={};if(n&&n.textContent)try{r=JSON.parse(N(n.textContent))}catch(t){console.warn("Exception while restoring TransferState for app "+e,t)}return _e.init(r)}n.d(e,"a",function(){return ye}),n.d(e,"b",function(){return de}),n.d(e,"c",function(){return r});var D,R=n(85),j=n(27),F=n(50),L=null,V=function(){function t(){this.resourceLoaderType=null}return Object.defineProperty(t.prototype,"attrToPropMap",{get:function(){return this._attrToPropMap},set:function(t){this._attrToPropMap=t},enumerable:!0,configurable:!0}),t}(),H=function(t){function e(){var e=t.call(this)||this;e._animationPrefix=null,e._transitionEnd=null;try{var n=e.createElement("div",document);if(null!=e.getStyle(n,"animationName"))e._animationPrefix="";else for(var r=["Webkit","Moz","O","ms"],i=0;i0},e.prototype.tagName=function(t){return t.tagName},e.prototype.attributeMap=function(t){for(var e=new Map,n=t.attributes,r=0;r0;a||(a=t[s]=[]);var c=Tt(e)?Zone.root:Zone.current;if(0===a.length)a.push({zone:c,handler:o});else{for(var l=!1,p=0;p-1},e.decorators=[{type:j.w}],e.ctorParameters=function(){return[{type:void 0,decorators:[{type:j.v,args:[K]}]},{type:At,decorators:[{type:j.v,args:[kt]}]}]},e}(at),It=["alt","control","meta","shift"],Dt=function(t){return t.altKey},Rt=function(t){return t.ctrlKey},jt=function(t){return t.metaKey},Ft=function(t){return t.shiftKey},Lt={alt:Dt,control:Rt,meta:jt,shift:Ft},Vt=function(t){function e(e){return t.call(this,e)||this}return Object(F.b)(e,t),e.prototype.supports=function(t){return null!=e.parseEventName(t)},e.prototype.addEventListener=function(t,n,i){var o=e.parseEventName(n),s=e.eventCallback(o.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(function(){return r().onAndCancel(t,o.domEventName,s)})},e.parseEventName=function(t){var n=t.toLowerCase().split("."),r=n.shift();if(0===n.length||"keydown"!==r&&"keyup"!==r)return null;var i=e._normalizeKey(n.pop()),o="";if(It.forEach(function(t){var e=n.indexOf(t);e>-1&&(n.splice(e,1),o+=t+".")}),o+=i,0!=n.length||0===i.length)return null;var s={};return s.domEventName=r,s.fullKey=o,s},e.getEventFullKey=function(t){var e="",n=r().getEventKey(t);return n=n.toLowerCase()," "===n?n="space":"."===n&&(n="dot"),It.forEach(function(r){if(r!=n){(0,Lt[r])(t)&&(e+=r+".")}}),e+=n},e.eventCallback=function(t,n,r){return function(i){e.getEventFullKey(i)===t&&r.runGuarded(function(){return n(i)})}},e._normalizeKey=function(t){switch(t){case"esc":return"escape";default:return t}},e.decorators=[{type:j.w}],e.ctorParameters=function(){return[{type:void 0,decorators:[{type:j.v,args:[K]}]}]},e}(at),Ht=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:\/?#]*(?:[\/?#]|$))/gi,Bt=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\/]+=*$/i,Ut=null,zt=null,qt=w("area,br,col,hr,img,wbr"),Wt=w("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Gt=w("rp,rt"),Zt=E(Gt,Wt),Kt=E(Wt,w("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")),Qt=E(Gt,w("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")),$t=E(qt,Kt,Qt,Zt),Xt=w("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Jt=w("srcset"),Yt=w("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"),te=E(Xt,Jt,Yt),ee=function(){function t(){this.sanitizedSomething=!1,this.buf=[]}return t.prototype.sanitizeChildren=function(t){for(var e=t.firstChild;e;)if(zt.isElementNode(e)?this.startElement(e):zt.isTextNode(e)?this.chars(zt.nodeValue(e)):this.sanitizedSomething=!0,zt.firstChild(e))e=zt.firstChild(e);else for(;e;){zt.isElementNode(e)&&this.endElement(e);var n=C(e,zt.nextSibling(e));if(n){e=n;break}e=C(e,zt.parentElement(e))}return this.buf.join("")},t.prototype.startElement=function(t){var e=this,n=zt.nodeName(t).toLowerCase();if(!$t.hasOwnProperty(n))return void(this.sanitizedSomething=!0);this.buf.push("<"),this.buf.push(n),zt.attributeMap(t).forEach(function(t,n){var r=n.toLowerCase();if(!te.hasOwnProperty(r))return void(e.sanitizedSomething=!0);Xt[r]&&(t=g(t)),Jt[r]&&(t=_(t)),e.buf.push(" "),e.buf.push(n),e.buf.push('="'),e.buf.push(x(t)),e.buf.push('"')}),this.buf.push(">")},t.prototype.endElement=function(t){var e=zt.nodeName(t).toLowerCase();$t.hasOwnProperty(e)&&!qt.hasOwnProperty(e)&&(this.buf.push(""))},t.prototype.chars=function(t){this.buf.push(x(t))},t}(),ne=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,re=/([^\#-~ |!])/g,ie=new RegExp("^([-,.\"'%_!# a-zA-Z0-9]+|(?:(?:matrix|translate|scale|rotate|skew|perspective)(?:X|Y|3d)?|(?:rgb|hsl)a?|(?:repeating-)?(?:linear|radial)-gradient|(?:calc|attr))\\([-0-9.%, #a-zA-Z]+\\))$","g"),oe=/^url\(([^)]+)\)$/,se=function(){function t(){}return t}(),ae=function(t){function e(e){var n=t.call(this)||this;return n._doc=e,n}return Object(F.b)(e,t),e.prototype.sanitize=function(t,e){if(null==e)return null;switch(t){case j.V.NONE:return e;case j.V.HTML:return e instanceof ce?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"HTML"),T(this._doc,String(e)));case j.V.STYLE:return e instanceof le?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"Style"),O(e));case j.V.SCRIPT:if(e instanceof pe)return e.changingThisBreaksApplicationSecurity;throw this.checkNotSafeValue(e,"Script"),new Error("unsafe value used in a script context");case j.V.URL:return e instanceof fe||e instanceof he?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"URL"),g(String(e)));case j.V.RESOURCE_URL:if(e instanceof fe)return e.changingThisBreaksApplicationSecurity;throw this.checkNotSafeValue(e,"ResourceURL"),new Error("unsafe value used in a resource URL context (see http://g.co/ng/security#xss)");default:throw new Error("Unexpected SecurityContext "+t+" (see http://g.co/ng/security#xss)")}},e.prototype.checkNotSafeValue=function(t,e){if(t instanceof ue)throw new Error("Required a safe "+e+", got a "+t.getTypeName()+" (see http://g.co/ng/security#xss)")},e.prototype.bypassSecurityTrustHtml=function(t){return new ce(t)},e.prototype.bypassSecurityTrustStyle=function(t){return new le(t)},e.prototype.bypassSecurityTrustScript=function(t){return new pe(t)},e.prototype.bypassSecurityTrustUrl=function(t){return new he(t)},e.prototype.bypassSecurityTrustResourceUrl=function(t){return new fe(t)},e.decorators=[{type:j.w}],e.ctorParameters=function(){return[{type:void 0,decorators:[{type:j.v,args:[K]}]}]},e}(se),ue=function(){function t(t){this.changingThisBreaksApplicationSecurity=t}return t.prototype.toString=function(){return"SafeValue must use [property]=binding: "+this.changingThisBreaksApplicationSecurity+" (see http://g.co/ng/security#xss)"},t}(),ce=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(F.b)(e,t),e.prototype.getTypeName=function(){return"HTML"},e}(ue),le=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(F.b)(e,t),e.prototype.getTypeName=function(){return"Style"},e}(ue),pe=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(F.b)(e,t),e.prototype.getTypeName=function(){return"Script"},e}(ue),he=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(F.b)(e,t),e.prototype.getTypeName=function(){return"URL"},e}(ue),fe=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(F.b)(e,t),e.prototype.getTypeName=function(){return"ResourceURL"},e}(ue),de=[{provide:j.M,useValue:R.d},{provide:j.N,useValue:M,multi:!0},{provide:R.c,useClass:Q,deps:[K]},{provide:K,useFactory:A,deps:[]}],ve=[{provide:j.U,useExisting:se},{provide:se,useClass:ae,deps:[K]}],ye=(Object(j._6)(j._11,"browser",de),function(){function t(t){if(t)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}return t.withServerTransition=function(e){return{ngModule:t,providers:[{provide:j.b,useValue:e.appId},{provide:X,useExisting:j.b},J]}},t.decorators=[{type:j.E,args:[{providers:[ve,{provide:j.s,useFactory:k,deps:[]},{provide:ot,useClass:Ot,multi:!0},{provide:ot,useClass:Vt,multi:!0},{provide:ot,useClass:Nt,multi:!0},{provide:kt,useClass:At},dt,{provide:j.S,useExisting:dt},{provide:ut,useExisting:ct},ct,j._1,st,it,$,tt],exports:[R.a,j.e]}]}],t.ctorParameters=function(){return[{type:t,decorators:[{type:j.J},{type:j.X}]}]},t}()),me="undefined"!=typeof window&&window||{},ge=function(){function t(t,e){this.msPerTick=t,this.numTicks=e}return t}(),_e=(function(){function t(t){this.appRef=t.injector.get(j.f)}t.prototype.timeChangeDetection=function(t){var e=t&&t.record,n=null!=me.console.profile;e&&n&&me.console.profile("Change Detection");for(var i=r().performanceNow(),o=0;o<5||r().performanceNow()-i<500;)this.appRef.tick(),o++;var s=r().performanceNow();e&&n&&me.console.profileEnd("Change Detection");var a=(s-i)/o;return me.console.log("ran "+o+" change detection cycles"),me.console.log(a.toFixed(2)+" ms per check"),new ge(a,o)}}(),function(){function t(){this.store={},this.onSerializeCallbacks={}}return t.init=function(e){var n=new t;return n.store=e,n},t.prototype.get=function(t,e){return this.store[t]||e},t.prototype.set=function(t,e){this.store[t]=e},t.prototype.remove=function(t){delete this.store[t]},t.prototype.hasKey=function(t){return this.store.hasOwnProperty(t)},t.prototype.onSerialize=function(t,e){this.onSerializeCallbacks[t]=e},t.prototype.toJson=function(){for(var t in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(t))try{this.store[t]=this.onSerializeCallbacks[t]()}catch(t){console.warn("Exception in onSerialize callback: ",t)}return JSON.stringify(this.store)},t.decorators=[{type:j.w}],t.ctorParameters=function(){return[]},t}());(function(){function t(){}t.decorators=[{type:j.E,args:[{providers:[{provide:_e,useFactory:I,deps:[K,j.b]}]}]}],t.ctorParameters=function(){return[]}})(),function(){function t(){}t.all=function(){return function(t){return!0}},t.css=function(t){return function(e){return null!=e.nativeElement&&r().elementMatches(e.nativeElement,t)}},t.directive=function(t){return function(e){return-1!==e.providerTokens.indexOf(t)}}}(),new j._2("5.2.0")},function(t,e,n){"use strict";function r(t){var e=["tree-container-ul","tree-children"];return t&&e.push("tree-no-dots"),e.join(" ")}function i(t,e){var n=["tree-node"];return t.state.openable||t.children.length>0?(t.state.opened?n.push("tree-open"):n.push("tree-closed"),t.state.loading&&n.push("tree-loading")):n.push("tree-leaf"),e&&n.push("tree-last"),n.join(" ")}function o(t,e,n){var r=["tree-anchor","tree-relative","tree-anchor-"+n.join("-")];return t.state.selected&&r.push("tree-clicked"),t.state.disabled&&r.push("tree-disabled"),t.state.highlighted&&r.push("tree-search"),e&&r.push("tree-hovered"),r.join(" ")}function s(t,e){var n=["tree-icon","tree-checkbox","tree-checkbox-"+e.join("-")];return t.children&&t.children.some(function(t){return t.state.selected})&&t.children.some(function(t){return!t.state.selected})&&n.push("tree-undetermined"),n.join(" ")}function a(t,e,n){void 0===n&&(n="default");var r=["tree"];return e?r.push("tree-"+n+"-"+e):r.push("tree-"+n),t&&r.push("tree-checkbox-selection","tree-checkbox-no-clicked"),r.join(" ")}function u(t){var e=["tree-icon","tree-themeicon"];return t&&e.push(t,"tree-themeicon-custom"),e.join(" ")}function c(t){return["tree-icon","tree-ocl","tree-ocl-"+t.join("-")].join(" ")}function l(t){var e=["tree-marker-"+t.state.dropPosition];return t.state.dropAllowed?e.push("allowed"):e.push("not-allowed"),e.join(" ")}function p(t,e){for(var n=null,r=0,i=e;r2*n/3?3:2}function f(t){if(t.state.dropPosition&&(t.state.dropPosition=0),t.children)for(var e=0,n=t.children;eu;)r(a,n=e[u++])&&(~o(c,n)||c.push(n));return c}},function(t,e,n){var r=n(6),i=n(1),o=n(45);t.exports=n(7)?Object.defineProperties:function(t,e){i(t);for(var n,s=o(e),a=s.length,u=0;a>u;)r.f(t,n=s[u++],e[n]);return t}},function(t,e,n){var r=n(16),i=n(36).f,o={}.toString,s="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],a=function(t){try{return i(t)}catch(t){return s.slice()}};t.exports.f=function(t){return s&&"[object Window]"==o.call(t)?a(t):i(r(t))}},function(t,e,n){"use strict";var r=n(45),i=n(52),o=n(53),s=n(12),a=n(46),u=Object.assign;t.exports=!u||n(2)(function(){var t={},e={},n=Symbol(),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach(function(t){e[t]=t}),7!=u({},t)[n]||Object.keys(u({},e)).join("")!=r})?function(t,e){for(var n=s(t),u=arguments.length,c=1,l=i.f,p=o.f;u>c;)for(var h,f=a(arguments[c++]),d=l?r(f).concat(l(f)):r(f),v=d.length,y=0;v>y;)p.call(f,h=d[y++])&&(n[h]=f[h]);return n}:u},function(t,e,n){"use strict";var r=n(15),i=n(3),o=n(95),s=[].slice,a={},u=function(t,e,n){if(!(e in a)){for(var r=[],i=0;i>>0||(s.test(n)?16:10))}:r},function(t,e,n){var r=n(4).parseFloat,i=n(55).trim;t.exports=1/r(n(68)+"-0")!=-1/0?function(t){var e=i(String(t),3),n=r(e);return 0===n&&"-"==e.charAt(0)?-0:n}:r},function(t,e,n){var r=n(22);t.exports=function(t,e){if("number"!=typeof t&&"Number"!=r(t))throw TypeError(e);return+t}},function(t,e,n){"use strict";var r=n(23),i=n(31);t.exports=function(t){var e=String(i(this)),n="",o=r(t);if(o<0||o==1/0)throw RangeError("Count can't be negative");for(;o>0;(o>>>=1)&&(e+=e))1&o&&(n+=e);return n}},function(t,e,n){var r=n(3),i=Math.floor;t.exports=function(t){return!r(t)&&isFinite(t)&&i(t)===t}},function(t,e){t.exports=Math.log1p||function(t){return(t=+t)>-1e-8&&t<1e-8?t-t*t/2:Math.log(1+t)}},function(t,e,n){var r=n(23),i=n(31);t.exports=function(t){return function(e,n){var o,s,a=String(i(e)),u=r(n),c=a.length;return u<0||u>=c?t?"":void 0:(o=a.charCodeAt(u),o<55296||o>56319||u+1===c||(s=a.charCodeAt(u+1))<56320||s>57343?t?a.charAt(u):o:t?a.slice(u,u+2):s-56320+(o-55296<<10)+65536)}}},function(t,e,n){"use strict";var r=n(35),i=n(32),o=n(38),s={};n(13)(s,n(5)("iterator"),function(){return this}),t.exports=function(t,e,n){t.prototype=r(s,{next:i(1,n)}),o(t,e+" Iterator")}},function(t,e,n){var r=n(1);t.exports=function(t,e,n,i){try{return i?e(r(n)[0],n[1]):e(n)}catch(e){var o=t.return;throw void 0!==o&&r(o.call(t)),e}}},function(t,e,n){"use strict";var r=n(6),i=n(32);t.exports=function(t,e,n){e in t?r.f(t,e,i(0,n)):t[e]=n}},function(t,e,n){var r=n(15),i=n(12),o=n(46),s=n(8);t.exports=function(t,e,n,a,u){r(e);var c=i(t),l=o(c),p=s(c.length),h=u?p-1:0,f=u?-1:1;if(n<2)for(;;){if(h in l){a=l[h],h+=f;break}if(h+=f,u?h<0:p<=h)throw TypeError("Reduce of empty array with no initial value")}for(;u?h>=0:p>h;h+=f)h in l&&(a=e(a,l[h],h,c));return a}},function(t,e,n){"use strict";var r=n(12),i=n(34),o=n(8);t.exports=[].copyWithin||function(t,e){var n=r(this),s=o(n.length),a=i(t,s),u=i(e,s),c=arguments.length>2?arguments[2]:void 0,l=Math.min((void 0===c?s:i(c,s))-u,s-a),p=1;for(u0;)u in n?n[a]=n[u]:delete n[a],a+=p,u+=p;return n}},function(t,e,n){"use strict";var r=n(48),i=n(109),o=n(47),s=n(16);t.exports=n(72)(Array,"Array",function(t,e){this._t=s(t),this._i=0,this._k=e},function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,i(1)):"keys"==e?i(0,n):"values"==e?i(0,t[n]):i(0,[n,t[n]])},"values"),o.Arguments=o.Array,r("keys"),r("values"),r("entries")},function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},function(t,e,n){n(7)&&"g"!=/./g.flags&&n(6).f(RegExp.prototype,"flags",{configurable:!0,get:n(79)})},function(t,e,n){var r,i,o,s=n(21),a=n(95),u=n(66),c=n(61),l=n(4),p=l.process,h=l.setImmediate,f=l.clearImmediate,d=l.MessageChannel,v=l.Dispatch,y=0,m={},g=function(){var t=+this;if(m.hasOwnProperty(t)){var e=m[t];delete m[t],e()}},_=function(t){g.call(t.data)};h&&f||(h=function(t){for(var e=[],n=1;arguments.length>n;)e.push(arguments[n++]);return m[++y]=function(){a("function"==typeof t?t:Function(t),e)},r(y),y},f=function(t){delete m[t]},"process"==n(22)(p)?r=function(t){p.nextTick(s(g,t,1))}:v&&v.now?r=function(t){v.now(s(g,t,1))}:d?(i=new d,o=i.port2,i.port1.onmessage=_,r=s(o.postMessage,o,1)):l.addEventListener&&"function"==typeof postMessage&&!l.importScripts?(r=function(t){l.postMessage(t+"","*")},l.addEventListener("message",_,!1)):r="onreadystatechange"in c("script")?function(t){u.appendChild(c("script")).onreadystatechange=function(){u.removeChild(this),g.call(t)}}:function(t){setTimeout(s(g,t,1),0)}),t.exports={set:h,clear:f}},function(t,e,n){"use strict";function r(t){var e,n;this.promise=new t(function(t,r){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=r}),this.resolve=i(e),this.reject=i(n)}var i=n(15);t.exports.f=function(t){return new r(t)}},function(t,e,n){"use strict";var r=n(114),i=n(43);t.exports=n(58)("Map",function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},{get:function(t){var e=r.getEntry(i(this,"Map"),t);return e&&e.v},set:function(t,e){return r.def(i(this,"Map"),0===t?0:t,e)}},r,!0)},function(t,e,n){"use strict";var r=n(6).f,i=n(35),o=n(42),s=n(21),a=n(41),u=n(49),c=n(72),l=n(109),p=n(40),h=n(7),f=n(30).fastKey,d=n(43),v=h?"_s":"size",y=function(t,e){var n,r=f(e);if("F"!==r)return t._i[r];for(n=t._f;n;n=n.n)if(n.k==e)return n};t.exports={getConstructor:function(t,e,n,c){var l=t(function(t,r){a(t,l,e,"_i"),t._t=e,t._i=i(null),t._f=void 0,t._l=void 0,t[v]=0,void 0!=r&&u(r,n,t[c],t)});return o(l.prototype,{clear:function(){for(var t=d(this,e),n=t._i,r=t._f;r;r=r.n)r.r=!0,r.p&&(r.p=r.p.n=void 0),delete n[r.i];t._f=t._l=void 0,t[v]=0},delete:function(t){var n=d(this,e),r=y(n,t);if(r){var i=r.n,o=r.p;delete n._i[r.i],r.r=!0,o&&(o.n=i),i&&(i.p=o),n._f==r&&(n._f=i),n._l==r&&(n._l=o),n[v]--}return!!r},forEach:function(t){d(this,e);for(var n,r=s(t,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(t){return!!y(d(this,e),t)}}),h&&r(l.prototype,"size",{get:function(){return d(this,e)[v]}}),l},def:function(t,e,n){var r,i,o=y(t,e);return o?o.v=n:(t._l=o={i:i=f(e,!0),k:e,v:n,p:r=t._l,n:void 0,r:!1},t._f||(t._f=o),r&&(r.n=o),t[v]++,"F"!==i&&(t._i[i]=o)),t},getEntry:y,setStrong:function(t,e,n){c(t,e,function(t,n){this._t=d(t,e),this._k=n,this._l=void 0},function(){for(var t=this,e=t._k,n=t._l;n&&n.r;)n=n.p;return t._t&&(t._l=n=n?n.n:t._t._f)?"keys"==e?l(0,n.k):"values"==e?l(0,n.v):l(0,[n.k,n.v]):(t._t=void 0,l(1))},n?"entries":"values",!n,!0),p(e)}}},function(t,e,n){"use strict";var r=n(114),i=n(43);t.exports=n(58)("Set",function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},{add:function(t){return r.def(i(this,"Set"),t=0===t?0:t,t)}},r)},function(t,e,n){"use strict";var r,i=n(19)(0),o=n(11),s=n(30),a=n(93),u=n(117),c=n(3),l=n(2),p=n(43),h=s.getWeak,f=Object.isExtensible,d=u.ufstore,v={},y=function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},m={get:function(t){if(c(t)){var e=h(t);return!0===e?d(p(this,"WeakMap")).get(t):e?e[this._i]:void 0}},set:function(t,e){return u.def(p(this,"WeakMap"),t,e)}},g=t.exports=n(58)("WeakMap",y,m,u,!0,!0);l(function(){return 7!=(new g).set((Object.freeze||Object)(v),7).get(v)})&&(r=u.getConstructor(y,"WeakMap"),a(r.prototype,m),s.NEED=!0,i(["delete","has","get","set"],function(t){var e=g.prototype,n=e[t];o(e,t,function(e,i){if(c(e)&&!f(e)){this._f||(this._f=new r);var o=this._f[t](e,i);return"set"==t?this:o}return n.call(this,e,i)})}))},function(t,e,n){"use strict";var r=n(42),i=n(30).getWeak,o=n(1),s=n(3),a=n(41),u=n(49),c=n(19),l=n(9),p=n(43),h=c(5),f=c(6),d=0,v=function(t){return t._l||(t._l=new y)},y=function(){this.a=[]},m=function(t,e){return h(t.a,function(t){return t[0]===e})};y.prototype={get:function(t){var e=m(this,t);if(e)return e[1]},has:function(t){return!!m(this,t)},set:function(t,e){var n=m(this,t);n?n[1]=e:this.a.push([t,e])},delete:function(t){var e=f(this.a,function(e){return e[0]===t});return~e&&this.a.splice(e,1),!!~e}},t.exports={getConstructor:function(t,e,n,o){var c=t(function(t,r){a(t,c,e,"_i"),t._t=e,t._i=d++,t._l=void 0,void 0!=r&&u(r,n,t[o],t)});return r(c.prototype,{delete:function(t){if(!s(t))return!1;var n=i(t);return!0===n?v(p(this,e)).delete(t):n&&l(n,this._i)&&delete n[this._i]},has:function(t){if(!s(t))return!1;var n=i(t);return!0===n?v(p(this,e)).has(t):n&&l(n,this._i)}}),c},def:function(t,e,n){var r=i(o(e),!0);return!0===r?v(t).set(e,n):r[t._i]=n,t},ufstore:v}},function(t,e,n){var r=n(23),i=n(8);t.exports=function(t){if(void 0===t)return 0;var e=r(t),n=i(e);if(e!==n)throw RangeError("Wrong length!");return n}},function(t,e,n){"use strict";function r(t){return"function"==typeof t}e.isFunction=r},function(t,e,n){"use strict";e.isArray=Array.isArray||function(t){return t&&"number"==typeof t.length}},function(t,e,n){"use strict";function r(t){return null!=t&&"object"==typeof t}e.isObject=r},function(t,e,n){"use strict";e.errorObject={e:{}}},function(t,e,n){"use strict";e.empty={closed:!0,next:function(t){},error:function(t){throw t},complete:function(){}}},function(t,e,n){"use strict";function r(t){var e,n=t.Symbol;return"function"==typeof n?n.observable?e=n.observable:(e=n("observable"),n.observable=e):e="@@observable",e}var i=n(44);e.getSymbolObservable=r,e.observable=r(i.root),e.$$observable=e.observable},function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n(20),o=function(t){function e(e){t.call(this),this.scheduler=e}return r(e,t),e.create=function(t){return new e(t)},e.dispatch=function(t){t.subscriber.complete()},e.prototype._subscribe=function(t){var n=this.scheduler;if(n)return n.schedule(e.dispatch,0,{subscriber:t});t.complete()},e}(i.Observable);e.EmptyObservable=o},function(t,e,n){"use strict";function r(t){return t&&"function"==typeof t.schedule}e.isScheduler=r},function(t,e,n){"use strict";function r(t,e,n,r){var h=new l.InnerSubscriber(t,n,r);if(h.closed)return null;if(e instanceof u.Observable)return e._isScalar?(h.next(e.value),h.complete(),null):(h.syncErrorThrowable=!0,e.subscribe(h));if(o.isArrayLike(e)){for(var f=0,d=e.length;f1)return void(this.connection=null);var n=this.connection,r=t._connection;this.connection=null,!r||n&&r!==n||r.unsubscribe()},e}(o.Subscriber)},function(t,e){function n(t){return Promise.resolve().then(function(){throw new Error("Cannot find module '"+t+"'.")})}n.keys=function(){return[]},n.resolve=n,t.exports=n,n.id=130},function(t,e,n){"use strict";n.d(e,"a",function(){return s}),n.d(e,"b",function(){return a});var r=n(27),i=n(87),o=n(324),s=function(){function t(){this.toggle=new r.t,this.change=new r.t,this.hovered=!1,this.doubleClick=new i.a}return Object.defineProperty(t.prototype,"nodeClassName",{get:function(){return i.i(this.data,this.last)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"anchorClassName",{get:function(){return i.c(this.data,this.hovered,this.path)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"checkboxClassName",{get:function(){return i.d(this.data,this.path)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"iconClassName",{get:function(){return i.f(this.data.icon)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"oclClassName",{get:function(){return i.k(this.path)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pathString",{get:function(){return this.path.toString()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"hasMarker",{get:function(){return this.draggable&&0!==this.data.state.dropPosition},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"markerClassName",{get:function(){return i.h(this.data)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"eventData",{get:function(){return{data:this.data,path:this.path}},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"id",{get:function(){return i.g(this.path,this.preid)},enumerable:!0,configurable:!0}),t.prototype.geChildPath=function(t){return this.path.concat(t)},t.prototype.hover=function(t){this.hovered=t},t.prototype.ontoggle=function(t){t?this.toggle.emit(t):(this.data.state.openable||this.data.children.length>0)&&this.toggle.emit(this.eventData)},t.prototype.onchange=function(t){var e=this;if(t)this.change.emit(t);else{if(this.data.state.disabled)return;this.doubleClick.onclick(function(){e.change.emit(e.eventData)})}},t.prototype.trackBy=function(t,e){return e},t.decorators=[{type:r.m,args:[{selector:"node",template:o.a}]}],t.ctorParameters=function(){return[]},t.propDecorators={data:[{type:r.z}],last:[{type:r.z}],checkbox:[{type:r.z}],path:[{type:r.z}],draggable:[{type:r.z}],preid:[{type:r.z}],toggle:[{type:r.K}],change:[{type:r.K}]},t}(),a=function(){function t(){this.toggle=new r.t,this.change=new r.t,this.drop=new r.t,this.dragTarget=null,this.dropTarget=null}return Object.defineProperty(t.prototype,"rootClassName",{get:function(){return i.l(this.checkbox,this.size,this.theme)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"containerClassName",{get:function(){return i.e(this.nodots)},enumerable:!0,configurable:!0}),t.prototype.ontoggle=function(t){this.toggle.emit(t)},t.prototype.onchange=function(t){this.change.emit(t)},t.prototype.ondragstart=function(t){this.draggable&&(this.dragTarget=t.target,this.dropTarget=t.target)},t.prototype.ondragend=function(t){if(this.draggable){this.dragTarget=null;for(var e=0,n=this.data;ei;)Z(t,n=r[i++],e[n]);return t},Q=function(t,e){return void 0===e?C(t):K(C(t),e)},$=function(t){var e=j.call(this,t=w(t,!0));return!(this===H&&i(L,t)&&!i(V,t))&&(!(e||!i(this,t)||!i(L,t)||i(this,D)&&this[D][t])||e)},X=function(t,e){if(t=b(t),e=w(e,!0),t!==H||!i(L,e)||i(V,e)){var n=O(t,e);return!n||!i(L,e)||i(t,D)&&t[D][e]||(n.enumerable=!0),n}},J=function(t){for(var e,n=k(b(t)),r=[],o=0;n.length>o;)i(L,e=n[o++])||e==D||e==u||r.push(e);return r},Y=function(t){for(var e,n=t===H,r=k(n?V:b(t)),o=[],s=0;r.length>s;)!i(L,e=r[s++])||n&&!i(H,e)||o.push(L[e]);return o};B||(A=function(){if(this instanceof A)throw TypeError("Symbol is not a constructor!");var t=h(arguments.length>0?arguments[0]:void 0),e=function(n){this===H&&e.call(V,n),i(this,D)&&i(this[D],t)&&(this[D][t]=!1),q(this,t,E(1,n))};return o&&z&&q(H,t,{configurable:!0,set:e}),W(t)},a(A.prototype,"toString",function(){return this._k}),S.f=X,T.f=Z,n(36).f=x.f=J,n(53).f=$,n(52).f=Y,o&&!n(39)&&a(H,"propertyIsEnumerable",$,!0),d.f=function(t){return W(f(t))}),s(s.G+s.W+s.F*!B,{Symbol:A});for(var tt="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),et=0;tt.length>et;)f(tt[et++]);for(var nt=P(f.store),rt=0;nt.length>rt;)v(nt[rt++]);s(s.S+s.F*!B,"Symbol",{for:function(t){return i(F,t+="")?F[t]:F[t]=A(t)},keyFor:function(t){if(!G(t))throw TypeError(t+" is not a symbol!");for(var e in F)if(F[e]===t)return e},useSetter:function(){z=!0},useSimple:function(){z=!1}}),s(s.S+s.F*!B,"Object",{create:Q,defineProperty:Z,defineProperties:K,getOwnPropertyDescriptor:X,getOwnPropertyNames:J,getOwnPropertySymbols:Y}),N&&s(s.S+s.F*(!B||c(function(){var t=A();return"[null]"!=I([t])||"{}"!=I({a:t})||"{}"!=I(Object(t))})),"JSON",{stringify:function(t){for(var e,n,r=[t],i=1;arguments.length>i;)r.push(arguments[i++]);if(n=e=r[1],(_(e)||void 0!==t)&&!G(t))return m(e)||(e=function(t,e){if("function"==typeof n&&(e=n.call(this,t,e)),!G(e))return e}),r[1]=e,I.apply(N,r)}}),A.prototype[R]||n(13)(A.prototype,R,A.prototype.valueOf),p(A,"Symbol"),p(Math,"Math",!0),p(r.JSON,"JSON",!0)},function(t,e,n){var r=n(4),i=n(28),o=n(39),s=n(89),a=n(6).f;t.exports=function(t){var e=i.Symbol||(i.Symbol=o?{}:r.Symbol||{});"_"==t.charAt(0)||t in e||a(e,t,{value:s.f(t)})}},function(t,e,n){var r=n(45),i=n(52),o=n(53);t.exports=function(t){var e=r(t),n=i.f;if(n)for(var s,a=n(t),u=o.f,c=0;a.length>c;)u.call(t,s=a[c++])&&e.push(s);return e}},function(t,e,n){var r=n(0);r(r.S,"Object",{create:n(35)})},function(t,e,n){var r=n(0);r(r.S+r.F*!n(7),"Object",{defineProperty:n(6).f})},function(t,e,n){var r=n(0);r(r.S+r.F*!n(7),"Object",{defineProperties:n(91)})},function(t,e,n){var r=n(16),i=n(24).f;n(17)("getOwnPropertyDescriptor",function(){return function(t,e){return i(r(t),e)}})},function(t,e,n){var r=n(12),i=n(18);n(17)("getPrototypeOf",function(){return function(t){return i(r(t))}})},function(t,e,n){var r=n(12),i=n(45);n(17)("keys",function(){return function(t){return i(r(t))}})},function(t,e,n){n(17)("getOwnPropertyNames",function(){return n(92).f})},function(t,e,n){var r=n(3),i=n(30).onFreeze;n(17)("freeze",function(t){return function(e){return t&&r(e)?t(i(e)):e}})},function(t,e,n){var r=n(3),i=n(30).onFreeze;n(17)("seal",function(t){return function(e){return t&&r(e)?t(i(e)):e}})},function(t,e,n){var r=n(3),i=n(30).onFreeze;n(17)("preventExtensions",function(t){return function(e){return t&&r(e)?t(i(e)):e}})},function(t,e,n){var r=n(3);n(17)("isFrozen",function(t){return function(e){return!r(e)||!!t&&t(e)}})},function(t,e,n){var r=n(3);n(17)("isSealed",function(t){return function(e){return!r(e)||!!t&&t(e)}})},function(t,e,n){var r=n(3);n(17)("isExtensible",function(t){return function(e){return!!r(e)&&(!t||t(e))}})},function(t,e,n){var r=n(0);r(r.S+r.F,"Object",{assign:n(93)})},function(t,e,n){var r=n(0);r(r.S,"Object",{is:n(152)})},function(t,e){t.exports=Object.is||function(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}},function(t,e,n){var r=n(0);r(r.S,"Object",{setPrototypeOf:n(67).set})},function(t,e,n){"use strict";var r=n(54),i={};i[n(5)("toStringTag")]="z",i+""!="[object z]"&&n(11)(Object.prototype,"toString",function(){return"[object "+r(this)+"]"},!0)},function(t,e,n){var r=n(0);r(r.P,"Function",{bind:n(94)})},function(t,e,n){var r=n(6).f,i=Function.prototype,o=/^\s*function ([^ (]*)/;"name"in i||n(7)&&r(i,"name",{configurable:!0,get:function(){try{return(""+this).match(o)[1]}catch(t){return""}}})},function(t,e,n){"use strict";var r=n(3),i=n(18),o=n(5)("hasInstance"),s=Function.prototype;o in s||n(6).f(s,o,{value:function(t){if("function"!=typeof this||!r(t))return!1;if(!r(this.prototype))return t instanceof this;for(;t=i(t);)if(this.prototype===t)return!0;return!1}})},function(t,e,n){var r=n(0),i=n(96);r(r.G+r.F*(parseInt!=i),{parseInt:i})},function(t,e,n){var r=n(0),i=n(97);r(r.G+r.F*(parseFloat!=i),{parseFloat:i})},function(t,e,n){"use strict";var r=n(4),i=n(9),o=n(22),s=n(69),a=n(29),u=n(2),c=n(36).f,l=n(24).f,p=n(6).f,h=n(55).trim,f=r.Number,d=f,v=f.prototype,y="Number"==o(n(35)(v)),m="trim"in String.prototype,g=function(t){var e=a(t,!1);if("string"==typeof e&&e.length>2){e=m?e.trim():h(e,3);var n,r,i,o=e.charCodeAt(0);if(43===o||45===o){if(88===(n=e.charCodeAt(2))||120===n)return NaN}else if(48===o){switch(e.charCodeAt(1)){case 66:case 98:r=2,i=49;break;case 79:case 111:r=8,i=55;break;default:return+e}for(var s,u=e.slice(2),c=0,l=u.length;ci)return NaN;return parseInt(u,r)}}return+e};if(!f(" 0o1")||!f("0b1")||f("+0x1")){f=function(t){var e=arguments.length<1?0:t,n=this;return n instanceof f&&(y?u(function(){v.valueOf.call(n)}):"Number"!=o(n))?s(new d(g(e)),n,f):g(e)};for(var _,b=n(7)?c(d):"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++)i(d,_=b[w])&&!i(f,_)&&p(f,_,l(d,_));f.prototype=v,v.constructor=f,n(11)(r,"Number",f)}},function(t,e,n){"use strict";var r=n(0),i=n(23),o=n(98),s=n(99),a=1..toFixed,u=Math.floor,c=[0,0,0,0,0,0],l="Number.toFixed: incorrect invocation!",p=function(t,e){for(var n=-1,r=e;++n<6;)r+=t*c[n],c[n]=r%1e7,r=u(r/1e7)},h=function(t){for(var e=6,n=0;--e>=0;)n+=c[e],c[e]=u(n/t),n=n%t*1e7},f=function(){for(var t=6,e="";--t>=0;)if(""!==e||0===t||0!==c[t]){var n=String(c[t]);e=""===e?n:e+s.call("0",7-n.length)+n}return e},d=function(t,e,n){return 0===e?n:e%2==1?d(t,e-1,n*t):d(t*t,e/2,n)},v=function(t){for(var e=0,n=t;n>=4096;)e+=12,n/=4096;for(;n>=2;)e+=1,n/=2;return e};r(r.P+r.F*(!!a&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!n(2)(function(){a.call({})})),"Number",{toFixed:function(t){var e,n,r,a,u=o(this,l),c=i(t),y="",m="0";if(c<0||c>20)throw RangeError(l);if(u!=u)return"NaN";if(u<=-1e21||u>=1e21)return String(u);if(u<0&&(y="-",u=-u),u>1e-21)if(e=v(u*d(2,69,1))-69,n=e<0?u*d(2,-e,1):u/d(2,e,1),n*=4503599627370496,(e=52-e)>0){for(p(0,n),r=c;r>=7;)p(1e7,0),r-=7;for(p(d(10,r,1),0),r=e-1;r>=23;)h(1<<23),r-=23;h(1<0?(a=m.length,m=y+(a<=c?"0."+s.call("0",c-a)+m:m.slice(0,a-c)+"."+m.slice(a-c))):m=y+m,m}})},function(t,e,n){"use strict";var r=n(0),i=n(2),o=n(98),s=1..toPrecision;r(r.P+r.F*(i(function(){return"1"!==s.call(1,void 0)})||!i(function(){s.call({})})),"Number",{toPrecision:function(t){var e=o(this,"Number#toPrecision: incorrect invocation!");return void 0===t?s.call(e):s.call(e,t)}})},function(t,e,n){var r=n(0);r(r.S,"Number",{EPSILON:Math.pow(2,-52)})},function(t,e,n){var r=n(0),i=n(4).isFinite;r(r.S,"Number",{isFinite:function(t){return"number"==typeof t&&i(t)}})},function(t,e,n){var r=n(0);r(r.S,"Number",{isInteger:n(100)})},function(t,e,n){var r=n(0);r(r.S,"Number",{isNaN:function(t){return t!=t}})},function(t,e,n){var r=n(0),i=n(100),o=Math.abs;r(r.S,"Number",{isSafeInteger:function(t){return i(t)&&o(t)<=9007199254740991}})},function(t,e,n){var r=n(0);r(r.S,"Number",{MAX_SAFE_INTEGER:9007199254740991})},function(t,e,n){var r=n(0);r(r.S,"Number",{MIN_SAFE_INTEGER:-9007199254740991})},function(t,e,n){var r=n(0),i=n(97);r(r.S+r.F*(Number.parseFloat!=i),"Number",{parseFloat:i})},function(t,e,n){var r=n(0),i=n(96);r(r.S+r.F*(Number.parseInt!=i),"Number",{parseInt:i})},function(t,e,n){var r=n(0),i=n(101),o=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(t){return(t=+t)<1?NaN:t>94906265.62425156?Math.log(t)+Math.LN2:i(t-1+o(t-1)*o(t+1))}})},function(t,e,n){function r(t){return isFinite(t=+t)&&0!=t?t<0?-r(-t):Math.log(t+Math.sqrt(t*t+1)):t}var i=n(0),o=Math.asinh;i(i.S+i.F*!(o&&1/o(0)>0),"Math",{asinh:r})},function(t,e,n){var r=n(0),i=Math.atanh;r(r.S+r.F*!(i&&1/i(-0)<0),"Math",{atanh:function(t){return 0==(t=+t)?t:Math.log((1+t)/(1-t))/2}})},function(t,e,n){var r=n(0),i=n(70);r(r.S,"Math",{cbrt:function(t){return i(t=+t)*Math.pow(Math.abs(t),1/3)}})},function(t,e,n){var r=n(0);r(r.S,"Math",{clz32:function(t){return(t>>>=0)?31-Math.floor(Math.log(t+.5)*Math.LOG2E):32}})},function(t,e,n){var r=n(0),i=Math.exp;r(r.S,"Math",{cosh:function(t){return(i(t=+t)+i(-t))/2}})},function(t,e,n){var r=n(0),i=n(71);r(r.S+r.F*(i!=Math.expm1),"Math",{expm1:i})},function(t,e,n){var r=n(0);r(r.S,"Math",{fround:n(180)})},function(t,e,n){var r=n(70),i=Math.pow,o=i(2,-52),s=i(2,-23),a=i(2,127)*(2-s),u=i(2,-126),c=function(t){return t+1/o-1/o};t.exports=Math.fround||function(t){var e,n,i=Math.abs(t),l=r(t);return ia||n!=n?l*(1/0):l*n)}},function(t,e,n){var r=n(0),i=Math.abs;r(r.S,"Math",{hypot:function(t,e){for(var n,r,o=0,s=0,a=arguments.length,u=0;s0?(r=n/u,o+=r*r):o+=n;return u===1/0?1/0:u*Math.sqrt(o)}})},function(t,e,n){var r=n(0),i=Math.imul;r(r.S+r.F*n(2)(function(){return-5!=i(4294967295,5)||2!=i.length}),"Math",{imul:function(t,e){var n=+t,r=+e,i=65535&n,o=65535&r;return 0|i*o+((65535&n>>>16)*o+i*(65535&r>>>16)<<16>>>0)}})},function(t,e,n){var r=n(0);r(r.S,"Math",{log10:function(t){return Math.log(t)*Math.LOG10E}})},function(t,e,n){var r=n(0);r(r.S,"Math",{log1p:n(101)})},function(t,e,n){var r=n(0);r(r.S,"Math",{log2:function(t){return Math.log(t)/Math.LN2}})},function(t,e,n){var r=n(0);r(r.S,"Math",{sign:n(70)})},function(t,e,n){var r=n(0),i=n(71),o=Math.exp;r(r.S+r.F*n(2)(function(){return-2e-17!=!Math.sinh(-2e-17)}),"Math",{sinh:function(t){return Math.abs(t=+t)<1?(i(t)-i(-t))/2:(o(t-1)-o(-t-1))*(Math.E/2)}})},function(t,e,n){var r=n(0),i=n(71),o=Math.exp;r(r.S,"Math",{tanh:function(t){var e=i(t=+t),n=i(-t);return e==1/0?1:n==1/0?-1:(e-n)/(o(t)+o(-t))}})},function(t,e,n){var r=n(0);r(r.S,"Math",{trunc:function(t){return(t>0?Math.floor:Math.ceil)(t)}})},function(t,e,n){var r=n(0),i=n(34),o=String.fromCharCode,s=String.fromCodePoint;r(r.S+r.F*(!!s&&1!=s.length),"String",{fromCodePoint:function(t){for(var e,n=[],r=arguments.length,s=0;r>s;){if(e=+arguments[s++],i(e,1114111)!==e)throw RangeError(e+" is not a valid code point");n.push(e<65536?o(e):o(55296+((e-=65536)>>10),e%1024+56320))}return n.join("")}})},function(t,e,n){var r=n(0),i=n(16),o=n(8);r(r.S,"String",{raw:function(t){for(var e=i(t.raw),n=o(e.length),r=arguments.length,s=[],a=0;n>a;)s.push(String(e[a++])),a=e.length?{value:void 0,done:!0}:(t=r(e,n),this._i+=t.length,{value:t,done:!1})})},function(t,e,n){"use strict";var r=n(0),i=n(102)(!1);r(r.P,"String",{codePointAt:function(t){return i(this,t)}})},function(t,e,n){"use strict";var r=n(0),i=n(8),o=n(73),s="".endsWith;r(r.P+r.F*n(75)("endsWith"),"String",{endsWith:function(t){var e=o(this,t,"endsWith"),n=arguments.length>1?arguments[1]:void 0,r=i(e.length),a=void 0===n?r:Math.min(i(n),r),u=String(t);return s?s.call(e,u,a):e.slice(a-u.length,a)===u}})},function(t,e,n){"use strict";var r=n(0),i=n(73);r(r.P+r.F*n(75)("includes"),"String",{includes:function(t){return!!~i(this,t,"includes").indexOf(t,arguments.length>1?arguments[1]:void 0)}})},function(t,e,n){var r=n(0);r(r.P,"String",{repeat:n(99)})},function(t,e,n){"use strict";var r=n(0),i=n(8),o=n(73),s="".startsWith;r(r.P+r.F*n(75)("startsWith"),"String",{startsWith:function(t){var e=o(this,t,"startsWith"),n=i(Math.min(arguments.length>1?arguments[1]:void 0,e.length)),r=String(t);return s?s.call(e,r,n):e.slice(n,n+r.length)===r}})},function(t,e,n){"use strict";n(10)("anchor",function(t){return function(e){return t(this,"a","name",e)}})},function(t,e,n){"use strict";n(10)("big",function(t){return function(){return t(this,"big","","")}})},function(t,e,n){"use strict";n(10)("blink",function(t){return function(){return t(this,"blink","","")}})},function(t,e,n){"use strict";n(10)("bold",function(t){return function(){return t(this,"b","","")}})},function(t,e,n){"use strict";n(10)("fixed",function(t){return function(){return t(this,"tt","","")}})},function(t,e,n){"use strict";n(10)("fontcolor",function(t){return function(e){return t(this,"font","color",e)}})},function(t,e,n){"use strict";n(10)("fontsize",function(t){return function(e){return t(this,"font","size",e)}})},function(t,e,n){"use strict";n(10)("italics",function(t){return function(){return t(this,"i","","")}})},function(t,e,n){"use strict";n(10)("link",function(t){return function(e){return t(this,"a","href",e)}})},function(t,e,n){"use strict";n(10)("small",function(t){return function(){return t(this,"small","","")}})},function(t,e,n){"use strict";n(10)("strike",function(t){return function(){return t(this,"strike","","")}})},function(t,e,n){"use strict";n(10)("sub",function(t){return function(){return t(this,"sub","","")}})},function(t,e,n){"use strict";n(10)("sup",function(t){return function(){return t(this,"sup","","")}})},function(t,e,n){var r=n(0);r(r.S,"Date",{now:function(){return(new Date).getTime()}})},function(t,e,n){"use strict";var r=n(0),i=n(12),o=n(29);r(r.P+r.F*n(2)(function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})}),"Date",{toJSON:function(t){var e=i(this),n=o(e);return"number"!=typeof n||isFinite(n)?e.toISOString():null}})},function(t,e,n){var r=n(0),i=n(215);r(r.P+r.F*(Date.prototype.toISOString!==i),"Date",{toISOString:i})},function(t,e,n){"use strict";var r=n(2),i=Date.prototype.getTime,o=Date.prototype.toISOString,s=function(t){return t>9?t:"0"+t};t.exports=r(function(){return"0385-07-25T07:06:39.999Z"!=o.call(new Date(-5e13-1))})||!r(function(){o.call(new Date(NaN))})?function(){if(!isFinite(i.call(this)))throw RangeError("Invalid time value");var t=this,e=t.getUTCFullYear(),n=t.getUTCMilliseconds(),r=e<0?"-":e>9999?"+":"";return r+("00000"+Math.abs(e)).slice(r?-6:-4)+"-"+s(t.getUTCMonth()+1)+"-"+s(t.getUTCDate())+"T"+s(t.getUTCHours())+":"+s(t.getUTCMinutes())+":"+s(t.getUTCSeconds())+"."+(n>99?n:"0"+s(n))+"Z"}:o},function(t,e,n){var r=Date.prototype,i=r.toString,o=r.getTime;new Date(NaN)+""!="Invalid Date"&&n(11)(r,"toString",function(){var t=o.call(this);return t===t?i.call(this):"Invalid Date"})},function(t,e,n){var r=n(5)("toPrimitive"),i=Date.prototype;r in i||n(13)(i,r,n(218))},function(t,e,n){"use strict";var r=n(1),i=n(29);t.exports=function(t){if("string"!==t&&"number"!==t&&"default"!==t)throw TypeError("Incorrect hint");return i(r(this),"number"!=t)}},function(t,e,n){var r=n(0);r(r.S,"Array",{isArray:n(65)})},function(t,e,n){"use strict";var r=n(21),i=n(0),o=n(12),s=n(104),a=n(76),u=n(8),c=n(105),l=n(77);i(i.S+i.F*!n(56)(function(t){Array.from(t)}),"Array",{from:function(t){var e,n,i,p,h=o(t),f="function"==typeof this?this:Array,d=arguments.length,v=d>1?arguments[1]:void 0,y=void 0!==v,m=0,g=l(h);if(y&&(v=r(v,d>2?arguments[2]:void 0,2)),void 0==g||f==Array&&a(g))for(e=u(h.length),n=new f(e);e>m;m++)c(n,m,y?v(h[m],m):h[m]);else for(p=g.call(h),n=new f;!(i=p.next()).done;m++)c(n,m,y?s(p,v,[i.value,m],!0):i.value);return n.length=m,n}})},function(t,e,n){"use strict";var r=n(0),i=n(105);r(r.S+r.F*n(2)(function(){function t(){}return!(Array.of.call(t)instanceof t)}),"Array",{of:function(){for(var t=0,e=arguments.length,n=new("function"==typeof this?this:Array)(e);e>t;)i(n,t,arguments[t++]);return n.length=e,n}})},function(t,e,n){"use strict";var r=n(0),i=n(16),o=[].join;r(r.P+r.F*(n(46)!=Object||!n(14)(o)),"Array",{join:function(t){return o.call(i(this),void 0===t?",":t)}})},function(t,e,n){"use strict";var r=n(0),i=n(66),o=n(22),s=n(34),a=n(8),u=[].slice;r(r.P+r.F*n(2)(function(){i&&u.call(i)}),"Array",{slice:function(t,e){var n=a(this.length),r=o(this);if(e=void 0===e?n:e,"Array"==r)return u.call(this,t,e);for(var i=s(t,n),c=s(e,n),l=a(c-i),p=new Array(l),h=0;h1&&(r=Math.min(r,o(arguments[1]))),r<0&&(r=n+r);r>=0;r--)if(r in e&&e[r]===t)return r||0;return-1}})},function(t,e,n){var r=n(0);r(r.P,"Array",{copyWithin:n(107)}),n(48)("copyWithin")},function(t,e,n){var r=n(0);r(r.P,"Array",{fill:n(78)}),n(48)("fill")},function(t,e,n){"use strict";var r=n(0),i=n(19)(5),o=!0;"find"in[]&&Array(1).find(function(){o=!1}),r(r.P+r.F*o,"Array",{find:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),n(48)("find")},function(t,e,n){"use strict";var r=n(0),i=n(19)(6),o="findIndex",s=!0;o in[]&&Array(1)[o](function(){s=!1}),r(r.P+r.F*s,"Array",{findIndex:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),n(48)(o)},function(t,e,n){n(40)("Array")},function(t,e,n){var r=n(4),i=n(69),o=n(6).f,s=n(36).f,a=n(74),u=n(79),c=r.RegExp,l=c,p=c.prototype,h=/a/g,f=/a/g,d=new c(h)!==h;if(n(7)&&(!d||n(2)(function(){return f[n(5)("match")]=!1,c(h)!=h||c(f)==f||"/a/i"!=c(h,"i")}))){c=function(t,e){var n=this instanceof c,r=a(t),o=void 0===e;return!n&&r&&t.constructor===c&&o?t:i(d?new l(r&&!o?t.source:t,e):l((r=t instanceof c)?t.source:t,r&&o?u.call(t):e),n?this:p,c)};for(var v=s(l),y=0;v.length>y;)!function(t){t in c||o(c,t,{configurable:!0,get:function(){return l[t]},set:function(e){l[t]=e}})}(v[y++]);p.constructor=c,c.prototype=p,n(11)(r,"RegExp",c)}n(40)("RegExp")},function(t,e,n){"use strict";n(110);var r=n(1),i=n(79),o=n(7),s=/./.toString,a=function(t){n(11)(RegExp.prototype,"toString",t,!0)};n(2)(function(){return"/a/b"!=s.call({source:"a",flags:"b"})})?a(function(){var t=r(this);return"/".concat(t.source,"/","flags"in t?t.flags:!o&&t instanceof RegExp?i.call(t):void 0)}):"toString"!=s.name&&a(function(){return s.call(this)})},function(t,e,n){n(57)("match",1,function(t,e,n){return[function(n){"use strict";var r=t(this),i=void 0==n?void 0:n[e];return void 0!==i?i.call(n,r):new RegExp(n)[e](String(r))},n]})},function(t,e,n){n(57)("replace",2,function(t,e,n){return[function(r,i){"use strict";var o=t(this),s=void 0==r?void 0:r[e];return void 0!==s?s.call(r,o,i):n.call(String(o),r,i)},n]})},function(t,e,n){n(57)("search",1,function(t,e,n){return[function(n){"use strict";var r=t(this),i=void 0==n?void 0:n[e];return void 0!==i?i.call(n,r):new RegExp(n)[e](String(r))},n]})},function(t,e,n){n(57)("split",2,function(t,e,r){"use strict";var i=n(74),o=r,s=[].push,a="length";if("c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1)[a]||2!="ab".split(/(?:ab)*/)[a]||4!=".".split(/(.?)(.?)/)[a]||".".split(/()()/)[a]>1||"".split(/.?/)[a]){var u=void 0===/()??/.exec("")[1];r=function(t,e){var n=String(this);if(void 0===t&&0===e)return[];if(!i(t))return o.call(n,t,e);var r,c,l,p,h,f=[],d=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),v=0,y=void 0===e?4294967295:e>>>0,m=new RegExp(t.source,d+"g");for(u||(r=new RegExp("^"+m.source+"$(?!\\s)",d));(c=m.exec(n))&&!((l=c.index+c[0][a])>v&&(f.push(n.slice(v,c.index)),!u&&c[a]>1&&c[0].replace(r,function(){for(h=1;h1&&c.index=y));)m.lastIndex===c.index&&m.lastIndex++;return v===n[a]?!p&&m.test("")||f.push(""):f.push(n.slice(v)),f[a]>y?f.slice(0,y):f}}else"0".split(void 0,0)[a]&&(r=function(t,e){return void 0===t&&0===e?[]:o.call(this,t,e)});return[function(n,i){var o=t(this),s=void 0==n?void 0:n[e];return void 0!==s?s.call(n,o,i):r.call(String(o),n,i)},r]})},function(t,e,n){"use strict";var r,i,o,s,a=n(39),u=n(4),c=n(21),l=n(54),p=n(0),h=n(3),f=n(15),d=n(41),v=n(49),y=n(80),m=n(111).set,g=n(248)(),_=n(112),b=n(249),w=n(250),E=u.TypeError,C=u.process,x=u.Promise,S="process"==l(C),T=function(){},P=i=_.f,O=!!function(){try{var t=x.resolve(1),e=(t.constructor={})[n(5)("species")]=function(t){t(T,T)};return(S||"function"==typeof PromiseRejectionEvent)&&t.then(T)instanceof e}catch(t){}}(),M=function(t){var e;return!(!h(t)||"function"!=typeof(e=t.then))&&e},k=function(t,e){if(!t._n){t._n=!0;var n=t._c;g(function(){for(var r=t._v,i=1==t._s,o=0;n.length>o;)!function(e){var n,o,s=i?e.ok:e.fail,a=e.resolve,u=e.reject,c=e.domain;try{s?(i||(2==t._h&&I(t),t._h=1),!0===s?n=r:(c&&c.enter(),n=s(r),c&&c.exit()),n===e.promise?u(E("Promise-chain cycle")):(o=M(n))?o.call(n,a,u):a(n)):u(r)}catch(t){u(t)}}(n[o++]);t._c=[],t._n=!1,e&&!t._h&&A(t)})}},A=function(t){m.call(u,function(){var e,n,r,i=t._v,o=N(t);if(o&&(e=b(function(){S?C.emit("unhandledRejection",i,t):(n=u.onunhandledrejection)?n({promise:t,reason:i}):(r=u.console)&&r.error&&r.error("Unhandled promise rejection",i)}),t._h=S||N(t)?2:1),t._a=void 0,o&&e.e)throw e.v})},N=function(t){return 1!==t._h&&0===(t._a||t._c).length},I=function(t){m.call(u,function(){var e;S?C.emit("rejectionHandled",t):(e=u.onrejectionhandled)&&e({promise:t,reason:t._v})})},D=function(t){var e=this;e._d||(e._d=!0,e=e._w||e,e._v=t,e._s=2,e._a||(e._a=e._c.slice()),k(e,!0))},R=function(t){var e,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===t)throw E("Promise can't be resolved itself");(e=M(t))?g(function(){var r={_w:n,_d:!1};try{e.call(t,c(R,r,1),c(D,r,1))}catch(t){D.call(r,t)}}):(n._v=t,n._s=1,k(n,!1))}catch(t){D.call({_w:n,_d:!1},t)}}};O||(x=function(t){d(this,x,"Promise","_h"),f(t),r.call(this);try{t(c(R,this,1),c(D,this,1))}catch(t){D.call(this,t)}},r=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},r.prototype=n(42)(x.prototype,{then:function(t,e){var n=P(y(this,x));return n.ok="function"!=typeof t||t,n.fail="function"==typeof e&&e,n.domain=S?C.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&k(this,!1),n.promise},catch:function(t){return this.then(void 0,t)}}),o=function(){var t=new r;this.promise=t,this.resolve=c(R,t,1),this.reject=c(D,t,1)},_.f=P=function(t){return t===x||t===s?new o(t):i(t)}),p(p.G+p.W+p.F*!O,{Promise:x}),n(38)(x,"Promise"),n(40)("Promise"),s=n(28).Promise,p(p.S+p.F*!O,"Promise",{reject:function(t){var e=P(this);return(0,e.reject)(t),e.promise}}),p(p.S+p.F*(a||!O),"Promise",{resolve:function(t){return w(a&&this===s?x:this,t)}}),p(p.S+p.F*!(O&&n(56)(function(t){x.all(t).catch(T)})),"Promise",{all:function(t){var e=this,n=P(e),r=n.resolve,i=n.reject,o=b(function(){var n=[],o=0,s=1;v(t,!1,function(t){var a=o++,u=!1;n.push(void 0),s++,e.resolve(t).then(function(t){u||(u=!0,n[a]=t,--s||r(n))},i)}),--s||r(n)});return o.e&&i(o.v),n.promise},race:function(t){var e=this,n=P(e),r=n.reject,i=b(function(){v(t,!1,function(t){e.resolve(t).then(n.resolve,r)})});return i.e&&r(i.v),n.promise}})},function(t,e,n){var r=n(4),i=n(111).set,o=r.MutationObserver||r.WebKitMutationObserver,s=r.process,a=r.Promise,u="process"==n(22)(s);t.exports=function(){var t,e,n,c=function(){var r,i;for(u&&(r=s.domain)&&r.exit();t;){i=t.fn,t=t.next;try{i()}catch(r){throw t?n():e=void 0,r}}e=void 0,r&&r.enter()};if(u)n=function(){s.nextTick(c)};else if(!o||r.navigator&&r.navigator.standalone)if(a&&a.resolve){var l=a.resolve();n=function(){l.then(c)}}else n=function(){i.call(r,c)};else{var p=!0,h=document.createTextNode("");new o(c).observe(h,{characterData:!0}),n=function(){h.data=p=!p}}return function(r){var i={fn:r,next:void 0};e&&(e.next=i),t||(t=i,n()),e=i}}},function(t,e){t.exports=function(t){try{return{e:!1,v:t()}}catch(t){return{e:!0,v:t}}}},function(t,e,n){var r=n(1),i=n(3),o=n(112);t.exports=function(t,e){if(r(t),i(e)&&e.constructor===t)return e;var n=o.f(t);return(0,n.resolve)(e),n.promise}},function(t,e,n){"use strict";var r=n(117),i=n(43);n(58)("WeakSet",function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},{add:function(t){return r.def(i(this,"WeakSet"),t,!0)}},r,!1,!0)},function(t,e,n){"use strict";var r=n(0),i=n(59),o=n(81),s=n(1),a=n(34),u=n(8),c=n(3),l=n(4).ArrayBuffer,p=n(80),h=o.ArrayBuffer,f=o.DataView,d=i.ABV&&l.isView,v=h.prototype.slice,y=i.VIEW;r(r.G+r.W+r.F*(l!==h),{ArrayBuffer:h}),r(r.S+r.F*!i.CONSTR,"ArrayBuffer",{isView:function(t){return d&&d(t)||c(t)&&y in t}}),r(r.P+r.U+r.F*n(2)(function(){return!new h(2).slice(1,void 0).byteLength}),"ArrayBuffer",{slice:function(t,e){if(void 0!==v&&void 0===e)return v.call(s(this),t);for(var n=s(this).byteLength,r=a(t,n),i=a(void 0===e?n:e,n),o=new(p(this,h))(u(i-r)),c=new f(this),l=new f(o),d=0;r=n.length)return{value:void 0,done:!0}}while(!((t=n[e._i++])in e._t));return{value:t,done:!1}}),r(r.S,"Reflect",{enumerate:function(t){return new o(t)}})},function(t,e,n){function r(t,e){var n,a,l=arguments.length<3?t:arguments[2];return c(t)===l?t[e]:(n=i.f(t,e))?s(n,"value")?n.value:void 0!==n.get?n.get.call(l):void 0:u(a=o(t))?r(a,e,l):void 0}var i=n(24),o=n(18),s=n(9),a=n(0),u=n(3),c=n(1);a(a.S,"Reflect",{get:r})},function(t,e,n){var r=n(24),i=n(0),o=n(1);i(i.S,"Reflect",{getOwnPropertyDescriptor:function(t,e){return r.f(o(t),e)}})},function(t,e,n){var r=n(0),i=n(18),o=n(1);r(r.S,"Reflect",{getPrototypeOf:function(t){return i(o(t))}})},function(t,e,n){var r=n(0);r(r.S,"Reflect",{has:function(t,e){return e in t}})},function(t,e,n){var r=n(0),i=n(1),o=Object.isExtensible;r(r.S,"Reflect",{isExtensible:function(t){return i(t),!o||o(t)}})},function(t,e,n){var r=n(0);r(r.S,"Reflect",{ownKeys:n(274)})},function(t,e,n){var r=n(36),i=n(52),o=n(1),s=n(4).Reflect;t.exports=s&&s.ownKeys||function(t){var e=r.f(o(t)),n=i.f;return n?e.concat(n(t)):e}},function(t,e,n){var r=n(0),i=n(1),o=Object.preventExtensions;r(r.S,"Reflect",{preventExtensions:function(t){i(t);try{return o&&o(t),!0}catch(t){return!1}}})},function(t,e,n){function r(t,e,n){var u,h,f=arguments.length<4?t:arguments[3],d=o.f(l(t),e);if(!d){if(p(h=s(t)))return r(h,e,n,f);d=c(0)}return a(d,"value")?!(!1===d.writable||!p(f))&&(u=o.f(f,e)||c(0),u.value=n,i.f(f,e,u),!0):void 0!==d.set&&(d.set.call(f,n),!0)}var i=n(6),o=n(24),s=n(18),a=n(9),u=n(0),c=n(32),l=n(1),p=n(3);u(u.S,"Reflect",{set:r})},function(t,e,n){var r=n(0),i=n(67);i&&r(r.S,"Reflect",{setPrototypeOf:function(t,e){i.check(t,e);try{return i.set(t,e),!0}catch(t){return!1}}})},function(t,e,n){n(279),n(280),n(281),n(282),n(284),n(285),n(286),n(287),n(288),t.exports=n(28).Reflect},function(t,e,n){var r=n(26),i=n(1),o=r.key,s=r.set;r.exp({defineMetadata:function(t,e,n,r){s(t,e,i(n),o(r))}})},function(t,e,n){var r=n(26),i=n(1),o=r.key,s=r.map,a=r.store;r.exp({deleteMetadata:function(t,e){var n=arguments.length<3?void 0:o(arguments[2]),r=s(i(e),n,!1);if(void 0===r||!r.delete(t))return!1;if(r.size)return!0;var u=a.get(e);return u.delete(n),!!u.size||a.delete(e)}})},function(t,e,n){var r=n(26),i=n(1),o=n(18),s=r.has,a=r.get,u=r.key,c=function(t,e,n){if(s(t,e,n))return a(t,e,n);var r=o(e);return null!==r?c(t,r,n):void 0};r.exp({getMetadata:function(t,e){return c(t,i(e),arguments.length<3?void 0:u(arguments[2]))}})},function(t,e,n){var r=n(115),i=n(283),o=n(26),s=n(1),a=n(18),u=o.keys,c=o.key,l=function(t,e){var n=u(t,e),o=a(t);if(null===o)return n;var s=l(o,e);return s.length?n.length?i(new r(n.concat(s))):s:n};o.exp({getMetadataKeys:function(t){return l(s(t),arguments.length<2?void 0:c(arguments[1]))}})},function(t,e,n){var r=n(49);t.exports=function(t,e){var n=[];return r(t,!1,n.push,n,e),n}},function(t,e,n){var r=n(26),i=n(1),o=r.get,s=r.key;r.exp({getOwnMetadata:function(t,e){return o(t,i(e),arguments.length<3?void 0:s(arguments[2]))}})},function(t,e,n){var r=n(26),i=n(1),o=r.keys,s=r.key;r.exp({getOwnMetadataKeys:function(t){return o(i(t),arguments.length<2?void 0:s(arguments[1]))}})},function(t,e,n){var r=n(26),i=n(1),o=n(18),s=r.has,a=r.key,u=function(t,e,n){if(s(t,e,n))return!0;var r=o(e);return null!==r&&u(t,r,n)};r.exp({hasMetadata:function(t,e){return u(t,i(e),arguments.length<3?void 0:a(arguments[2]))}})},function(t,e,n){var r=n(26),i=n(1),o=r.has,s=r.key;r.exp({hasOwnMetadata:function(t,e){return o(t,i(e),arguments.length<3?void 0:s(arguments[2]))}})},function(t,e,n){var r=n(26),i=n(1),o=n(15),s=r.key,a=r.set;r.exp({metadata:function(t,e){return function(n,r){a(t,e,(void 0!==r?i:o)(n),s(r))}}})},function(t,e,n){(function(t){!function(t,e){e()}(0,function(){"use strict";function e(t,e){return Zone.current.wrap(t,e)}function n(t,e,n,r,i){return Zone.current.scheduleMacroTask(t,e,n,r,i)}function r(t,n){for(var r=t.length-1;r>=0;r--)"function"==typeof t[r]&&(t[r]=e(t[r],n+"_"+r));return t}function i(t,e){for(var n=t.constructor.name,i=0;i=0&&"function"==typeof o[s.cbIdx]?n(s.name,o[s.cbIdx],s,i,null):t.apply(e,o)}})}function p(t,e){t[z("OriginalDelegate")]=e}function h(){if(nt)return rt;nt=!0;try{var t=W.navigator.userAgent;return-1===t.indexOf("MSIE ")&&-1===t.indexOf("Trident/")&&-1===t.indexOf("Edge/")||(rt=!0),rt}catch(t){}}function f(t,e,n){for(var r=n&&n.add||j,i=n&&n.rm||F,o=n&&n.listeners||"eventListeners",s=n&&n.rmAll||"removeAllListeners",a=z(r),u="."+r+":",c="prependListener",l="."+c+":",h=function(t,e,n){if(!t.isRemoved){var r=t.callback;"object"==typeof r&&r.handleEvent&&(t.callback=function(t){return r.handleEvent(t)},t.originalDelegate=r),t.invoke(t,e,[n]);var o=t.options;if(o&&"object"==typeof o&&o.once){var s=t.originalDelegate?t.originalDelegate:t.callback;e[i].call(e,n.type,s,o)}}},f=function(e){if(e=e||t.event){var n=this||e.target||t,r=n[ot[e.type][B]];if(r)if(1===r.length)h(r[0],n,e);else for(var i=r.slice(),o=0;o1?new n(t,e):new n(t),s=A(o,"onmessage");return s&&!1===s.configurable?(r=D(o),i=o,[j,F,"send","close"].forEach(function(t){r[t]=function(){var e=R.call(arguments);if(t===j||t===F){var n=e.length>0?e[0]:void 0;if(n){var i=Zone.__symbol__("ON_PROPERTY"+n);o[i]=r[i]}}return o[t].apply(o,e)}})):r=o,a(r,["close","error","message","open"],i),r};var r=e.WebSocket;for(var i in n)r[i]=n[i]}function C(t,e,n){if(!n)return e;var r=n.filter(function(e){return e.target===t});if(!r||0===r.length)return e;var i=r[0].ignoreProperties;return e.filter(function(t){return-1===i.indexOf(t)})}function x(t,e,n,r){a(t,C(t,e,n),r)}function S(t,e){if(!$||J){var n="undefined"!=typeof WebSocket;if(T()){var r=e.__Zone_ignore_on_properties;if(X){var i=window;x(i,kt.concat(["messageerror"]),r,I(i)),x(Document.prototype,kt,r),void 0!==i.SVGElement&&x(i.SVGElement.prototype,kt,r),x(Element.prototype,kt,r),x(HTMLElement.prototype,kt,r),x(HTMLMediaElement.prototype,gt,r),x(HTMLFrameSetElement.prototype,yt.concat(xt),r),x(HTMLBodyElement.prototype,yt.concat(xt),r),x(HTMLFrameElement.prototype,Ct,r),x(HTMLIFrameElement.prototype,Ct,r);var o=i.HTMLMarqueeElement;o&&x(o.prototype,St,r);var s=i.Worker;s&&x(s.prototype,Mt,r)}x(XMLHttpRequest.prototype,Tt,r);var a=e.XMLHttpRequestEventTarget;a&&x(a&&a.prototype,Tt,r),"undefined"!=typeof IDBIndex&&(x(IDBIndex.prototype,Pt,r),x(IDBRequest.prototype,Pt,r),x(IDBOpenDBRequest.prototype,Pt,r),x(IDBDatabase.prototype,Pt,r),x(IDBTransaction.prototype,Pt,r),x(IDBCursor.prototype,Pt,r)),n&&x(WebSocket.prototype,Ot,r)}else P(),u("XMLHttpRequest"),n&&E(t,e)}}function T(){if((X||J)&&!A(HTMLElement.prototype,"onclick")&&"undefined"!=typeof Element){var t=A(Element.prototype,"onclick");if(t&&!t.configurable)return!1}var e=XMLHttpRequest.prototype,n=A(e,"onreadystatechange");if(n){N(e,"onreadystatechange",{enumerable:!0,configurable:!0,get:function(){return!0}});var r=new XMLHttpRequest,i=!!r.onreadystatechange;return N(e,"onreadystatechange",n||{}),i}var o=z("fake");N(e,"onreadystatechange",{enumerable:!0,configurable:!0,get:function(){return this[o]},set:function(t){this[o]=t}});var r=new XMLHttpRequest,s=function(){};r.onreadystatechange=s;var i=r[o]===s;return r.onreadystatechange=null,i}function P(){for(var t=0;t",this._properties=e&&e.properties||{},this._zoneDelegate=new p(this,this._parent&&this._parent._zoneDelegate,e)}return r.assertZonePatched=function(){if(t.Promise!==O.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.)")},Object.defineProperty(r,"root",{get:function(){for(var t=r.current;t.parent;)t=t.parent;return t},enumerable:!0,configurable:!0}),Object.defineProperty(r,"current",{get:function(){return k.zone},enumerable:!0,configurable:!0}),Object.defineProperty(r,"currentTask",{get:function(){return A},enumerable:!0,configurable:!0}),r.__load_patch=function(i,o){if(O.hasOwnProperty(i))throw Error("Already loaded patch: "+i);if(!t["__Zone_disable_"+i]){var s="Zone:"+i;e(s),O[i]=o(t,r,M),n(s,s)}},Object.defineProperty(r.prototype,"parent",{get:function(){return this._parent},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"name",{get:function(){return this._name},enumerable:!0,configurable:!0}),r.prototype.get=function(t){var e=this.getZoneWith(t);if(e)return e._properties[t]},r.prototype.getZoneWith=function(t){for(var e=this;e;){if(e._properties.hasOwnProperty(t))return e;e=e._parent}return null},r.prototype.fork=function(t){if(!t)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,t)},r.prototype.wrap=function(t,e){if("function"!=typeof t)throw new Error("Expecting function got: "+t);var n=this._zoneDelegate.intercept(this,t,e),r=this;return function(){return r.runGuarded(n,this,arguments,e)}},r.prototype.run=function(t,e,n,r){void 0===e&&(e=void 0),void 0===n&&(n=null),void 0===r&&(r=null),k={parent:k,zone:this};try{return this._zoneDelegate.invoke(this,t,e,n,r)}finally{k=k.parent}},r.prototype.runGuarded=function(t,e,n,r){void 0===e&&(e=null),void 0===n&&(n=null),void 0===r&&(r=null),k={parent:k,zone:this};try{try{return this._zoneDelegate.invoke(this,t,e,n,r)}catch(t){if(this._zoneDelegate.handleError(this,t))throw t}}finally{k=k.parent}},r.prototype.runTask=function(t,e,n){if(t.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(t.zone||g).name+"; Execution: "+this.name+")");if(t.state!==_||t.type!==P){var r=t.state!=E;r&&t._transitionTo(E,w),t.runCount++;var i=A;A=t,k={parent:k,zone:this};try{t.type==T&&t.data&&!t.data.isPeriodic&&(t.cancelFn=null);try{return this._zoneDelegate.invokeTask(this,t,e,n)}catch(t){if(this._zoneDelegate.handleError(this,t))throw t}}finally{t.state!==_&&t.state!==x&&(t.type==P||t.data&&t.data.isPeriodic?r&&t._transitionTo(w,E):(t.runCount=0,this._updateTaskCount(t,-1),r&&t._transitionTo(_,E,_))),k=k.parent,A=i}}},r.prototype.scheduleTask=function(t){if(t.zone&&t.zone!==this)for(var e=this;e;){if(e===t.zone)throw Error("can not reschedule task to "+this.name+" which is descendants of the original zone "+t.zone.name);e=e.parent}t._transitionTo(b,_);var n=[];t._zoneDelegates=n,t._zone=this;try{t=this._zoneDelegate.scheduleTask(this,t)}catch(e){throw t._transitionTo(x,b,_),this._zoneDelegate.handleError(this,e),e}return t._zoneDelegates===n&&this._updateTaskCount(t,1),t.state==b&&t._transitionTo(w,b),t},r.prototype.scheduleMicroTask=function(t,e,n,r){return this.scheduleTask(new h(S,t,e,n,r,null))},r.prototype.scheduleMacroTask=function(t,e,n,r,i){return this.scheduleTask(new h(T,t,e,n,r,i))},r.prototype.scheduleEventTask=function(t,e,n,r,i){return this.scheduleTask(new h(P,t,e,n,r,i))},r.prototype.cancelTask=function(t){if(t.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(t.zone||g).name+"; Execution: "+this.name+")");t._transitionTo(C,w,E);try{this._zoneDelegate.cancelTask(this,t)}catch(e){throw t._transitionTo(x,C),this._zoneDelegate.handleError(this,e),e}return this._updateTaskCount(t,-1),t._transitionTo(_,C),t.runCount=0,t},r.prototype._updateTaskCount=function(t,e){var n=t._zoneDelegates;-1==e&&(t._zoneDelegates=null);for(var r=0;r0,macroTask:n.macroTask>0,eventTask:n.eventTask>0,change:t};this.hasTask(this.zone,o)}},t}(),h=function(){function e(n,r,i,o,s,a){this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=n,this.source=r,this.data=o,this.scheduleFn=s,this.cancelFn=a,this.callback=i;var u=this;n===P&&o&&o.useG?this.invoke=e.invokeTask:this.invoke=function(){return e.invokeTask.call(t,u,this,arguments)}}return e.invokeTask=function(t,e,n){t||(t=this),N++;try{return t.runCount++,t.zone.runTask(t,e,n)}finally{1==N&&i(),N--}},Object.defineProperty(e.prototype,"zone",{get:function(){return this._zone},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"state",{get:function(){return this._state},enumerable:!0,configurable:!0}),e.prototype.cancelScheduleRequest=function(){this._transitionTo(_,b)},e.prototype._transitionTo=function(t,e,n){if(this._state!==e&&this._state!==n)throw new Error(this.type+" '"+this.source+"': can not transition to '"+t+"', expecting state '"+e+"'"+(n?" or '"+n+"'":"")+", was '"+this._state+"'.");this._state=t,t==_&&(this._zoneDelegates=null)},e.prototype.toString=function(){return this.data&&void 0!==this.data.handleId?this.data.handleId:Object.prototype.toString.call(this)},e.prototype.toJSON=function(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}},e}(),f=s("setTimeout"),d=s("Promise"),v=s("then"),y=[],m=!1,g={name:"NO ZONE"},_="notScheduled",b="scheduling",w="scheduled",E="running",C="canceling",x="unknown",S="microTask",T="macroTask",P="eventTask",O={},M={symbol:s,currentZoneFrame:function(){return k},onUnhandledError:o,microtaskDrainDone:o,scheduleMicroTask:r,showUncaughtError:function(){return!u[s("ignoreConsoleErrorUncaughtError")]},patchEventTarget:function(){return[]},patchOnProperties:o,patchMethod:function(){return o},bindArguments:function(){return null},setNativePromise:function(t){t&&"function"==typeof t.resolve&&(c=t.resolve(0))}},k={parent:null,zone:new u(null,null)},A=null,N=0;n("Zone","Zone"),t.Zone=u}("undefined"!=typeof window&&window||"undefined"!=typeof self&&self||t);Zone.__load_patch("ZoneAwarePromise",function(t,e,n){function r(t){if(t&&t.toString===Object.prototype.toString){var e=t.constructor&&t.constructor.name;return(e||"")+": "+JSON.stringify(t)}return t?t.toString():Object.prototype.toString.call(t)}function i(t){n.onUnhandledError(t);try{var r=e[b];r&&"function"==typeof r&&r.call(this,t)}catch(t){}}function o(t){return t&&t.then}function s(t){return t}function a(t){return N.reject(t)}function u(t,e){return function(n){try{c(t,e,n)}catch(e){c(t,!1,e)}}}function c(t,i,o){var s=O();if(t===o)throw new TypeError(M);if(t[w]===x){var a=null;try{"object"!=typeof o&&"function"!=typeof o||(a=o&&o.then)}catch(e){return s(function(){c(t,!1,e)})(),t}if(i!==T&&o instanceof N&&o.hasOwnProperty(w)&&o.hasOwnProperty(E)&&o[w]!==x)l(o),c(t,o[w],o[E]);else if(i!==T&&"function"==typeof a)try{a.call(o,s(u(t,i)),s(u(t,!1)))}catch(e){s(function(){c(t,!1,e)})()}else{t[w]=i;var h=t[E];if(t[E]=o,i===T&&o instanceof Error){var f=e.currentTask&&e.currentTask.data&&e.currentTask.data[_];f&&d(o,k,{configurable:!0,enumerable:!1,writable:!0,value:f})}for(var v=0;v=0;e--)if(void 0!==t[e])return t[e]}function o(t){var e=[];return t.forEach(function(t){return t&&e.push.apply(e,t)}),e}n.d(e,"a",function(){return x});var s=n(291),a=n(27),u=n(85),c=n(86),l=n(50),p=function(){var t=new Map;return t.set(s.j.ANALYZE_FOR_ENTRY_COMPONENTS,a.a),t.set(s.j.ElementRef,a.r),t.set(s.j.NgModuleRef,a.G),t.set(s.j.ViewContainerRef,a._3),t.set(s.j.ChangeDetectorRef,a.j),t.set(s.j.QueryList,a.P),t.set(s.j.TemplateRef,a._0),t.set(s.j.CodegenComponentFactoryResolver,a._13),t.set(s.j.ComponentFactoryResolver,a.o),t.set(s.j.ComponentFactory,a.n),t.set(s.j.ComponentRef,a.p),t.set(s.j.NgModuleFactory,a.F),t.set(s.j.createModuleFactory,a._20),t.set(s.j.moduleDef,a._31),t.set(s.j.moduleProviderDef,a._32),t.set(s.j.RegisterModuleFactoryFn,a._41),t.set(s.j.Injector,a.y),t.set(s.j.ViewEncapsulation,a._4),t.set(s.j.ChangeDetectionStrategy,a.i),t.set(s.j.SecurityContext,a.V),t.set(s.j.LOCALE_ID,a.C),t.set(s.j.TRANSLATIONS_FORMAT,a.Z),t.set(s.j.inlineInterpolate,a._25),t.set(s.j.interpolate,a._26),t.set(s.j.EMPTY_ARRAY,a._15),t.set(s.j.EMPTY_MAP,a._16),t.set(s.j.Renderer,a.Q),t.set(s.j.viewDef,a._45),t.set(s.j.elementDef,a._23),t.set(s.j.anchorDef,a._18),t.set(s.j.textDef,a._43),t.set(s.j.directiveDef,a._22),t.set(s.j.providerDef,a._39),t.set(s.j.queryDef,a._40),t.set(s.j.pureArrayDef,a._35),t.set(s.j.pureObjectDef,a._37),t.set(s.j.purePipeDef,a._38),t.set(s.j.pipeDef,a._36),t.set(s.j.nodeValue,a._34),t.set(s.j.ngContentDef,a._33),t.set(s.j.unwrapValue,a._44),t.set(s.j.createRendererType2,a._21),t.set(s.j.createComponentFactory,a._19),t}(),h=function(){function t(){this.builtinExternalReferences=new Map,this.reflectionCapabilities=new a._17}return t.prototype.componentModuleUrl=function(t,e){var n=e.moduleId;if("string"==typeof n){return Object(s.z)(n)?n:"package:"+n}if(null!==n&&void 0!==n)throw Object(s.A)('moduleId should be a string in "'+Object(a._42)(t)+"\". See https://goo.gl/wIDDiL for more information.\nIf you're using Webpack you should inline the template and the styles, see https://goo.gl/X2J8zc.");return"./"+Object(a._42)(t)},t.prototype.parameters=function(t){return this.reflectionCapabilities.parameters(t)},t.prototype.annotations=function(t){return this.reflectionCapabilities.annotations(t)},t.prototype.propMetadata=function(t){return this.reflectionCapabilities.propMetadata(t)},t.prototype.hasLifecycleHook=function(t,e){return this.reflectionCapabilities.hasLifecycleHook(t,e)},t.prototype.guards=function(t){return this.reflectionCapabilities.guards(t)},t.prototype.resolveExternalReference=function(t){return p.get(t)||t.runtime},t}(),f=new a.x("ErrorCollector"),d={provide:a.L,useValue:"/"},v={get:function(t){throw new Error("No ResourceLoader implementation has been provided. Can't read the url \""+t+'"')}},y=new a.x("HtmlParser"),m=function(){function t(t,e,n,r,i,o,a,u,c,l){this._metadataResolver=e,this._delegate=new s.k(e,n,r,i,o,a,u,c,l,this.getExtraNgModuleProviders.bind(this)),this.injector=t}return t.prototype.getExtraNgModuleProviders=function(){return[this._metadataResolver.getProviderMetadata(new s.r(a.k,{useValue:this}))]},t.prototype.compileModuleSync=function(t){return this._delegate.compileModuleSync(t)},t.prototype.compileModuleAsync=function(t){return this._delegate.compileModuleAsync(t)},t.prototype.compileModuleAndAllComponentsSync=function(t){var e=this._delegate.compileModuleAndAllComponentsSync(t);return{ngModuleFactory:e.ngModuleFactory,componentFactories:e.componentFactories}},t.prototype.compileModuleAndAllComponentsAsync=function(t){return this._delegate.compileModuleAndAllComponentsAsync(t).then(function(t){return{ngModuleFactory:t.ngModuleFactory,componentFactories:t.componentFactories}})},t.prototype.loadAotSummaries=function(t){this._delegate.loadAotSummaries(t)},t.prototype.hasAotSummary=function(t){return this._delegate.hasAotSummary(t)},t.prototype.getComponentFactory=function(t){return this._delegate.getComponentFactory(t)},t.prototype.clearCache=function(){this._delegate.clearCache()},t.prototype.clearCacheFor=function(t){this._delegate.clearCacheFor(t)},t}(),g=[{provide:s.b,useValue:new h},{provide:s.s,useValue:v},{provide:s.l,deps:[]},{provide:s.v,useExisting:s.l},{provide:a._14,deps:[]},{provide:s.m,deps:[]},{provide:s.p,deps:[s.m]},{provide:y,useClass:s.h,deps:[]},{provide:s.i,useFactory:function(t,e,n,r,i){e=e||"";var o=e?r.missingTranslation:a.D.Ignore;return new s.i(t,e,n,o,i)},deps:[y,[new a.J,new a.v(a.Y)],[new a.J,new a.v(a.Z)],[s.c],[a._14]]},{provide:s.h,useExisting:s.i},{provide:s.w,deps:[s.c,s.b,s.p,s.g,s.i,a._14]},{provide:s.d,deps:[s.s,s.x,s.h,s.c]},{provide:s.a,deps:[s.c,s.h,s.o,s.e,s.q,s.v,s.g,s.d,a._14,[a.J,s.t],s.b,[a.J,f]]},d,{provide:s.u,deps:[s.x]},{provide:s.y,deps:[s.b]},{provide:s.n,deps:[s.b]},{provide:s.c,useValue:new s.c},{provide:a.k,useClass:m,deps:[a.y,s.a,s.w,s.u,s.y,s.n,s.v,s.b,s.c,a._14]},{provide:s.f,deps:[]},{provide:s.g,useExisting:s.f},{provide:s.x,deps:[a.L]},{provide:s.e,deps:[s.b]},{provide:s.q,deps:[s.b]},{provide:s.o,deps:[s.b]}],_=function(){function t(t){var e={useJit:!0,defaultEncapsulation:a._4.Emulated,missingTranslation:a.D.Warning,enableLegacyTemplate:!1};this._defaultOptions=[e].concat(t)}return t.prototype.createCompiler=function(t){void 0===t&&(t=[]);var e=r(this._defaultOptions.concat(t));return a.y.create([g,{provide:s.c,useFactory:function(){return new s.c({useJit:e.useJit,jitDevMode:Object(a._10)(),defaultEncapsulation:e.defaultEncapsulation,missingTranslation:e.missingTranslation,enableLegacyTemplate:e.enableLegacyTemplate,preserveWhitespaces:e.preserveWhitespaces})},deps:[]},e.providers]).get(a.k)},t}(),b=Object(a._6)(a._11,"coreDynamic",[{provide:a.h,useValue:{},multi:!0},{provide:a.l,useClass:_,deps:[a.h]}]),w=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(l.b)(e,t),e.prototype.get=function(t){var e,n,r=new Promise(function(t,r){e=t,n=r}),i=new XMLHttpRequest;return i.open("GET",t,!0),i.responseType="text",i.onload=function(){var r=i.response||i.responseText,o=1223===i.status?204:i.status;0===o&&(o=r?200:0),200<=o&&o<=300?e(r):n("Failed to load "+t)},i.onerror=function(){n("Failed to load "+t)},i.send(),r},e.decorators=[{type:a.w}],e.ctorParameters=function(){return[]},e}(s.s),E=[c.b,{provide:a.h,useValue:{providers:[{provide:s.s,useClass:w,deps:[]}]},multi:!0},{provide:a.M,useValue:u.d}],C=function(t){function e(){var e=t.call(this)||this;if(e._cache=a._24.$templateCache,null==e._cache)throw new Error("CachedResourceLoader: Template cache was not found in $templateCache.");return e}return Object(l.b)(e,t),e.prototype.get=function(t){return this._cache.hasOwnProperty(t)?Promise.resolve(this._cache[t]):Promise.reject("CachedResourceLoader: Did not find cached template for "+t)},e}(s.s),x=(new a._2("5.2.0"),s.s,Object(a._6)(b,"browserDynamic",E))},function(t,e,n){"use strict";function r(){}function i(){}function o(){}function s(){}function a(){}function u(){}function c(){}function l(){}function p(){}function h(){}function f(){}function d(){}function v(){}function y(){}function m(t,e){var n=function(){for(var n=[],r=0;r=55296&&r<=56319&&t.length>n+1){var i=t.charCodeAt(n+1);i>=56320&&i<=57343&&(n++,r=(r-55296<<10)+i-56320+65536)}r<=127?e+=String.fromCharCode(r):r<=2047?e+=String.fromCharCode(r>>6&31|192,63&r|128):r<=65535?e+=String.fromCharCode(r>>12|224,r>>6&63|128,63&r|128):r<=2097151&&(e+=String.fromCharCode(r>>18&7|240,r>>12&63|128,r>>6&63|128,63&r|128))}return e}function k(t){if("string"==typeof t)return t;if(t instanceof Array)return"["+t.map(k).join(", ")+"]";if(null==t)return""+t;if(t.overriddenName)return""+t.overriddenName;if(t.name)return""+t.name;var e=t.toString();if(null==e)return""+e;var n=e.indexOf("\n");return-1===n?e:e.substring(0,n)}function A(t){return"function"==typeof t&&t.hasOwnProperty("__forward_ref__")?t():t}function N(t){return!!t&&"function"==typeof t.then}function I(t,e,n){void 0===n&&(n=null);var r=[],i=t.visit?function(e){return t.visit(e,n)||e.visit(t,n)}:function(e){return e.visit(t,n)};return e.forEach(function(t){var e=i(t);e&&r.push(e)}),r}function D(t,e){return void 0===e&&(e=!0),null===t?e:t}function R(t){return t.replace(/\W/g,"_")}function j(t){if(!t||!t.reference)return null;var e=t.reference;if(e instanceof Lo)return e.name;if(e.__anonymousType)return e.__anonymousType;var n=k(e);return n.indexOf("(")>=0?(n="anonymous_"+Bo++,e.__anonymousType=n):n=R(n),n}function F(t){var e=t.reference;return e instanceof Lo?e.filePath:"./"+k(e)}function L(t,e){return"View_"+j({reference:t})+"_"+e}function V(t){return"RenderType_"+j({reference:t})}function H(t){return"HostView_"+j({reference:t})}function B(t){return j({reference:t})+"NgFactory"}function U(t){return null!=t.value?R(t.value):j(t.identifier)}function z(t){return null!=t.identifier?t.identifier.reference:t.value}function q(t){return t||[]}function W(t){return t.reduce(function(t,e){var n=Array.isArray(e)?W(e):e;return t.concat(n)},[])}function G(t){return t.replace(/(\w+:\/\/[\w:-]+)?(\/+)?/,"ng:///")}function Z(t,e,n){var r;return r=n.isInline?e.type.reference instanceof Lo?e.type.reference.filePath+"."+e.type.reference.name+".html":j(t)+"/"+j(e.type)+".html":n.templateUrl,e.type.reference instanceof Lo?r:G(r)}function K(t,e){var n=t.moduleUrl.split(/\/\\/g);return G("css/"+e+n[n.length-1]+".ngstyle.js")}function Q(t){return G(j(t.type)+"/module.ngfactory.js")}function $(t,e){return G(j(t)+"/"+j(e.type)+".ngfactory.js")}function X(t,e,n){void 0===n&&(n=null);var r=[],i=t.visit?function(e){return t.visit(e,n)||e.visit(t,n)}:function(e){return e.visit(t,n)};return e.forEach(function(t){var e=i(t);e&&r.push(e)}),r}function J(t,e){if(null!=e){if(!Array.isArray(e))throw new Error("Expected '"+t+"' to be an array of strings.");for(var n=0;n0&&(o=t.value)}),e=ct(e);var s=t.name.toLowerCase(),a=ws.OTHER;return it(s)?a=ws.NG_CONTENT:s==ms?a=ws.STYLE:s==gs?a=ws.SCRIPT:s==fs&&r==ys&&(a=ws.STYLESHEET),new Es(a,e,n,i,o)}function ct(t){return null===t||0===t.length?"*":t}function lt(t){return Hi.isTypeOf(t)||zi.isTypeOf(t)}function pt(t,e){for(var n=t.length-1;n>=0;n--)if(e(t[n]))return t[n];return null}function ht(t){return t>=Os&&t<=Is||t==oa}function ft(t){return zs<=t&&t<=qs}function dt(t){return t>=$s&&t<=ra||t>=Ws&&t<=Ks}function vt(t){return t>=$s&&t<=Js||t>=Ws&&t<=Zs||ft(t)}function yt(t,e){return new la(t,aa.Character,e,String.fromCharCode(e))}function mt(t,e){return new la(t,aa.Identifier,0,e)}function gt(t,e){return new la(t,aa.Keyword,0,e)}function _t(t,e){return new la(t,aa.Operator,0,e)}function bt(t,e){return new la(t,aa.String,0,e)}function wt(t,e){return new la(t,aa.Number,e,"")}function Et(t,e){return new la(t,aa.Error,0,e)}function Ct(t){return $s<=t&&t<=ra||Ws<=t&&t<=Ks||t==Qs||t==Rs}function xt(t){if(0==t.length)return!1;var e=new ha(t);if(!Ct(e.peek))return!1;for(e.advance();e.peek!==Ps;){if(!St(e.peek))return!1;e.advance()}return!0}function St(t){return dt(t)||ft(t)||t==Qs||t==Rs}function Tt(t){return t==Xs||t==Gs}function Pt(t){return t==Ls||t==Fs}function Ot(t){return t===js||t===Ds||t===sa}function Mt(t){switch(t){case Ys:return Ms;case Js:return As;case ta:return Ns;case ea:return Os;case na:return ks;default:return t}}function kt(t){var e=parseInt(t);if(isNaN(e))throw new Error("Invalid integer literal when parsing "+t);return e}function At(t){var e=P(t.start)+"([\\s\\S]*?)"+P(t.end);return new RegExp(e,"g")}function Nt(t,e){var n=F(e),r=null!=n?"in "+t+" "+j(e)+" in "+n:"in "+t+" "+j(e),i=new Za("",r);return new Ka(new Ga(i,-1,-1,-1),new Ga(i,-1,-1,-1))}function It(t,e,n,r,i){return void 0===r&&(r=!1),void 0===i&&(i=is),new ru(new Za(t,e),n,r,i).tokenize()}function Dt(t){return'Unexpected character "'+(t===Ps?"EOF":String.fromCharCode(t))+'"'}function Rt(t){return'Unknown entity "'+t+'" - use the "&#;" or "&#x;" syntax'}function jt(t){return!ht(t)||t===Ps}function Ft(t){return ht(t)||t===Us||t===Vs||t===js||t===Ds||t===Bs}function Lt(t){return(t<$s||raqs)}function Vt(t){return t==Hs||t==Ps||!vt(t)}function Ht(t){return t==Hs||t==Ps||!dt(t)}function Bt(t,e,n){var r=!!n&&t.indexOf(n.start,e)==e;return t.charCodeAt(e)==ia&&!r}function Ut(t){return t===Bs||dt(t)||ft(t)}function zt(t,e){return qt(t)==qt(e)}function qt(t){return t>=$s&&t<=ra?t-$s+Ws:t}function Wt(t){for(var e=[],n=void 0,r=0;r0&&t[t.length-1]===e}function Zt(t){return t.id||$t(Qt(t.nodes).join("")+"["+t.meaning+"]")}function Kt(t){if(t.id)return t.id;var e=new lu;return Yt(t.nodes.map(function(t){return t.visit(e,null)}).join(""),t.meaning)}function Qt(t){return t.map(function(t){return t.visit(cu,null)})}function $t(t){var e=M(t),n=ue(e,pu.Big),r=8*e.length,i=new Array(80),o=[1732584193,4023233417,2562383102,271733878,3285377520],s=o[0],a=o[1],u=o[2],c=o[3],l=o[4];n[r>>5]|=128<<24-r%32,n[15+(r+64>>9<<4)]=r;for(var p=0;p>>13,n=oe(n,r),n=oe(n,e),n^=e<<8,r=oe(r,e),r=oe(r,n),r^=n>>>13,e=oe(e,n),e=oe(e,r),e^=r>>>12,n=oe(n,r),n=oe(n,e),n^=e<<16,r=oe(r,e),r=oe(r,n),r^=n>>>5,e=oe(e,n),e=oe(e,r),e^=r>>>3,n=oe(n,r),n=oe(n,e),n^=e<<10,r=oe(r,e),r=oe(r,n),r^=n>>>15,[e,n,r]}function ne(t,e){return re(t,e)[1]}function re(t,e){var n=(65535&t)+(65535&e),r=(t>>>16)+(e>>>16)+(n>>>16);return[r>>>16,r<<16|65535&n]}function ie(t,e){var n=t[0],r=t[1],i=e[0],o=e[1],s=re(r,o),a=s[0],u=s[1];return[ne(ne(n,i),a),u]}function oe(t,e){var n=(65535&t)-(65535&e);return(t>>16)-(e>>16)+(n>>16)<<16|65535&n}function se(t,e){return t<>>32-e}function ae(t,e){var n=t[0],r=t[1];return[n<>>32-e,r<>>32-e]}function ue(t,e){for(var n=Array(t.length+3>>>2),r=0;r=t.length?0:255&t.charCodeAt(e)}function le(t,e,n){var r=0;if(n===pu.Big)for(var i=0;i<4;i++)r+=ce(t,e+i)<<24-8*i;else for(var i=0;i<4;i++)r+=ce(t,e+i)<<8*i;return r}function pe(t){return t.reduce(function(t,e){return t+he(e)},"")}function he(t){for(var e="",n=0;n<4;n++)e+=String.fromCharCode(t>>>8*(3-n)&255);return e}function fe(t){for(var e="",n=0;n>>4).toString(16)+(15&r).toString(16)}return e.toLowerCase()}function de(t){for(var e="",n="1",r=t.length-1;r>=0;r--)e=ve(e,ye(ce(t,r),n)),n=ye(256,n);return e.split("").reverse().join("")}function ve(t,e){for(var n="",r=Math.max(t.length,e.length),i=0,o=0;i=10?(o=1,n+=s-10):(o=0,n+=s)}return n}function ye(t,e){for(var n="",r=e;0!==t;t>>>=1)1&t&&(n=ve(n,r)),r=ve(r,r);return n}function me(t){return Eu[t.toLowerCase()]||Cu}function ge(t){var e=new Pu(Tu,t);return function(t,n,r,i){return e.toI18nMessage(t,n,r,i)}}function _e(t){return t.split(Ou)[2]}function be(t,e,n,r){return new Fu(n,r).extract(t,e)}function we(t,e,n,r,i){return new Fu(r,i).merge(t,e,n)}function Ee(t){return!!(t instanceof es&&t.value&&t.value.startsWith("i18n"))}function Ce(t){return!!(t instanceof es&&t.value&&"/i18n"===t.value)}function xe(t){return t.attrs.find(function(t){return t.name===ku})||null}function Se(t){if(!t)return{meaning:"",description:"",id:""};var e=t.indexOf(Iu),n=t.indexOf(Nu),r=e>-1?[t.slice(0,e),t.slice(e+2)]:[t,""],i=r[0],o=r[1],s=n>-1?[i.slice(0,n),i.slice(n+1)]:["",i];return{meaning:s[0],description:s[1],id:o}}function Te(t){return Vu}function Pe(t){return t.map(function(t){return t.visit(qu)}).join("")}function Oe(t){return $u.reduce(function(t,e){return t.replace(e[0],e[1])},t)}function Me(t){switch(t.toLowerCase()){case"br":return"lb";case"img":return"image";default:return"x-"+t}}function ke(t){switch(t.toLowerCase()){case"br":case"b":case"i":case"u":return"fmt";case"img":return"image";case"a":return"link";default:return"other"}}function Ae(t){return Kt(t)}function Ne(t){return t.toUpperCase().replace(/[^A-Z0-9_]/g,"_")}function Ie(t,e,n){Object.defineProperty(t,e,{configurable:!0,enumerable:!0,get:function(){var r=n();return Object.defineProperty(t,e,{enumerable:!0,value:r}),r},set:function(t){throw new Error("Could not overwrite an XTB translation")}})}function De(t){switch(t=(t||"xlf").toLowerCase()){case"xmb":return new oc;case"xtb":return new uc;case"xliff2":case"xlf2":return new ec;case"xliff":case"xlf":default:return new Xu}}function Re(t,e){void 0===e&&(e=!1);var n=Le(t,e);return n[0]+".ngfactory"+Ve(n[1])}function je(t){return t.replace(yc,".")}function Fe(t){return yc.test(t)}function Le(t,e){if(void 0===e&&(e=!1),t.endsWith(".d.ts"))return[t.slice(0,-5),e?".ts":".d.ts"];var n=t.lastIndexOf(".");return-1!==n?[t.substring(0,n),t.substring(n)]:[t,""]}function Ve(t){return".tsx"===t?".ts":t}function He(t){return t.replace(vc,"")+".ngsummary.json"}function Be(t,e){void 0===e&&(e=!1);var n=Le(je(t),e);return n[0]+".ngsummary"+n[1]}function Ue(t){return t.replace(mc,".")}function ze(t){return t+"NgSummary"}function qe(t){return t.replace(gc,"")}function We(t){return _c.test(t)}function Ge(t){return{identifier:{reference:t}}}function Ze(t,e){return Ge(t.resolveExternalReference(e))}function Ke(t,e,n){return t.hasLifecycleHook(n,$e(e))}function Qe(t,e){return Cc.filter(function(n){return Ke(t,n,e)})}function $e(t){switch(t){case Ec.OnInit:return"ngOnInit";case Ec.OnDestroy:return"ngOnDestroy";case Ec.DoCheck:return"ngDoCheck";case Ec.OnChanges:return"ngOnChanges";case Ec.AfterContentInit:return"ngAfterContentInit";case Ec.AfterContentChecked:return"ngAfterContentChecked";case Ec.AfterViewInit:return"ngAfterViewInit";case Ec.AfterViewChecked:return"ngAfterViewChecked"}}function Xe(t,e){if(void 0===e&&(e=[]),t)for(var n=0;n>2),e+=Fn((3&r)<<4|(isNaN(i)?0:i>>4)),e+=isNaN(i)?"=":Fn((15&i)<<2|o>>6),e+=isNaN(i)||isNaN(o)?"=":Fn(63&o)}return e}function jn(t){t=t<0?1+(-t<<1):t<<1;var e="";do{var n=31&t;t>>=5,t>0&&(n|=32),e+=Fn(n)}while(t>0);return e}function Fn(t){if(t<0||t>=64)throw new Error("Can only encode value in the range [0, 63]");return ql[t]}function Ln(t,e,n){if(void 0===n&&(n=!0),null==t)return null;var r=t.replace(Wl,function(){for(var t=[],n=0;n0?o.push(a):(o.length>0&&(r.push(o.join("")),n.push(Dp),o=[]),n.push(a)),a==Np&&i++}return o.length>0&&(r.push(o.join("")),n.push(Dp)),new jp(n.join(""),r)}function Zn(t){var e="styles";return t&&(e+="_"+j(t.type)),e}function Kn(t){return t.some(function(t){return t.name===Hp})}function Qn(t){return t.replace(new RegExp(ps,"g")," ")}function $n(t){return new ou(X(new Wp,t.rootNodes),t.errors)}function Xn(t){var e=new Qp;return new Zp(X(e,t),e.isExpanded,e.errors)}function Jn(t,e){var n=t.cases.map(function(t){-1!=Gp.indexOf(t.value)||t.value.match(/^=\d+$/)||e.push(new Kp(t.valueSourceSpan,'Plural cases should be "=" or one of '+Gp.join(", ")));var n=Xn(t.expression);return e.push.apply(e,n.errors),new ts("ng-template",[new Yo("ngPluralCase",""+t.value,t.valueSourceSpan)],n.nodes,t.sourceSpan,t.sourceSpan,t.sourceSpan)}),r=new Yo("[ngPlural]",t.switchValue,t.switchValueSourceSpan);return new ts("ng-container",[r],n,t.sourceSpan,t.sourceSpan,t.sourceSpan)}function Yn(t,e){var n=t.cases.map(function(t){var n=Xn(t.expression);return e.push.apply(e,n.errors),"other"===t.value?new ts("ng-template",[new Yo("ngSwitchDefault","",t.valueSourceSpan)],n.nodes,t.sourceSpan,t.sourceSpan,t.sourceSpan):new ts("ng-template",[new Yo("ngSwitchCase",""+t.value,t.valueSourceSpan)],n.nodes,t.sourceSpan,t.sourceSpan,t.sourceSpan)}),r=new Yo("[ngSwitch]",t.switchValue,t.switchValueSourceSpan);return new ts("ng-container",[r],n,t.sourceSpan,t.sourceSpan,t.sourceSpan)}function tr(t){return"@"==t[0]}function er(t,e,n,r){var i=[];return Sc.parse(e).forEach(function(e){var o=e.element?[e.element]:t.allKnownElementNames(),s=new Set(e.notSelectors.filter(function(t){return t.isElementSelector()}).map(function(t){return t.element})),a=o.filter(function(t){return!s.has(t)});i.push.apply(i,a.map(function(e){return t.securityContext(e,n,r)}))}),0===i.length?[io.NONE]:Array.from(new Set(i)).sort()}function nr(t){return function(e){return-1===t.indexOf(e.msg)||(oh[e.msg]=(oh[e.msg]||0)+1,oh[e.msg]<=1)}}function rr(t){return t?t.split(",").map(function(t){return t.trim()}):[]}function ir(t){return t.trim().split(/\s+/g)}function or(t,e){var n=new Sc,r=nt(t)[1];n.setElement(r);for(var i=0;i=0){var c=s[a],l=Cr(c);l&&(u=Er(r),s[a]=u.set(l.cast(Vc).notIdentical(_n(!1))).toDeclStmt(null,[ml.Final]))}return new yh(s,u)}function pr(t,e){return fr(t,e)}function hr(t,e,n,r,i){t||(t=new Eh);var o=wr(r),s=[],a=new wh(t,e,r),u=n.visit(a,_h.Expression);if(a.temporaryCount)for(var c=0;c=0;r--)n.unshift(vr(e,r))}function mr(t,e){if(t!==_h.Statement)throw new Error("Expected a statement, but saw "+e)}function gr(t,e){if(t!==_h.Expression)throw new Error("Expected an expression, but saw "+e)}function _r(t,e){return t===_h.Statement?e.toStmt():e}function br(t,e){Array.isArray(t)?t.forEach(function(t){return br(t,e)}):e.push(t)}function wr(t){return ln("currVal_"+t)}function Er(t){return ln("pd_"+t)}function Cr(t){return t instanceof wl?t.expr:t instanceof El?t.value:null}function xr(t){var e=t[t.length-1];return e instanceof Mo?e.hasViewContainer:e instanceof Oo?rt(e.name)&&e.children.length?xr(e.children):e.hasViewContainer:e instanceof Do}function Sr(t,e){switch(t.type){case Ro.Attribute:return dn([_n(1),_n(t.name),_n(t.securityContext)]);case Ro.Property:return dn([_n(8),_n(t.name),_n(t.securityContext)]);case Ro.Animation:return dn([_n(8|(e&&e.directive.isComponent?32:16)),_n("@"+t.name),_n(t.securityContext)]);case Ro.Class:return dn([_n(2),_n(t.name),vl]);case Ro.Style:return dn([_n(4),_n(t.name),_n(t.unit)])}}function Tr(t){var e=Object.create(null);return t.attrs.forEach(function(t){e[t.name]=t.value}),t.directives.forEach(function(t){Object.keys(t.directive.hostAttributes).forEach(function(n){var r=t.directive.hostAttributes[n],i=e[n];e[n]=null!=i?Pr(n,i,r):r})}),dn(Object.keys(e).sort().map(function(t){return dn([_n(t),_n(e[t])])}))}function Pr(t,e,n){return t==Ph||t==Oh?e+" "+n:n}function Or(t,e){return e.length>10?Ih.callFn([Nh,_n(t),_n(1),dn(e)]):Ih.callFn([Nh,_n(t),_n(0)].concat(e))}function Mr(t,e,n){return pn(wc.unwrapValue).callFn([Nh,_n(t),_n(e),n])}function kr(t,e){return void 0===e&&(e=new Map),t.forEach(function(t){var n=new Set,r=new Set,i=void 0;t instanceof Oo?(kr(t.children,e),t.children.forEach(function(t){var i=e.get(t);i.staticQueryIds.forEach(function(t){return n.add(t)}),i.dynamicQueryIds.forEach(function(t){return r.add(t)})}),i=t.queryMatches):t instanceof Mo&&(kr(t.children,e),t.children.forEach(function(t){var n=e.get(t);n.staticQueryIds.forEach(function(t){return r.add(t)}),n.dynamicQueryIds.forEach(function(t){return r.add(t)})}),i=t.queryMatches),i&&i.forEach(function(t){return n.add(t.queryId)}),r.forEach(function(t){return n.delete(t)}),e.set(t,{staticQueryIds:n,dynamicQueryIds:r})}),e}function Ar(t){var e=new Set,n=new Set;return Array.from(t.values()).forEach(function(t){t.staticQueryIds.forEach(function(t){return e.add(t)}),t.dynamicQueryIds.forEach(function(t){return n.add(t)})}),n.forEach(function(t){return e.delete(t)}),{staticQueryIds:e,dynamicQueryIds:n}}function Nr(t,e){return t.isAnimation?{name:"@"+t.name+"."+t.phase,target:e&&e.directive.isComponent?"component":null}:t}function Ir(t,e,n){var r=0;return!n||!t.staticQueryIds.has(e)&&t.dynamicQueryIds.has(e)?r|=536870912:r|=268435456,r}function Dr(t,e){return t?t+":"+e:e}function Rr(t,e){for(var n=[],r=0,i=t.transitiveModule.providers;r0?i.pop():o++;break;default:i.push(a)}}if(""==e){for(;o-- >0;)i.unshift("..");0===i.length&&i.push(".")}return e+i.join("/")+n}function ki(t){var e=t[Pf.Path];return e=null==e?"":Mi(e),t[Pf.Path]=e,Pi(t[Pf.Scheme],t[Pf.UserInfo],t[Pf.Domain],t[Pf.Port],e,t[Pf.QueryData],t[Pf.Fragment])}function Ai(t,e){var n=Oi(encodeURI(e)),r=Oi(t);if(null!=n[Pf.Scheme])return ki(n);n[Pf.Scheme]=r[Pf.Scheme];for(var i=Pf.Scheme;i<=Pf.Port;i++)null==n[i]&&(n[i]=r[i]);if("/"==n[Pf.Path][0])return ki(n);var o=r[Pf.Path];null==o&&(o="/");var s=o.lastIndexOf("/");return o=o.substring(0,s+1)+n[Pf.Path],n[Pf.Path]=o,ki(n)}n.d(e,"c",function(){return Fo}),n.d(e,"j",function(){return wc}),n.d(e,"k",function(){return Ef}),n.d(e,"e",function(){return Ts}),n.d(e,"q",function(){return tp}),n.d(e,"o",function(){return Ul}),n.d(e,"n",function(){return Bl}),n.d(e,"y",function(){return kh}),n.d(e,"A",function(){return T}),n.d(e,"r",function(){return Qo}),n.d(e,"t",function(){return Vo}),n.d(e,"v",function(){return ff}),n.d(e,"l",function(){return df}),n.d(e,"b",function(){return xf}),n.d(e,"x",function(){return Sf}),n.d(e,"z",function(){return Ti}),n.d(e,"s",function(){return Of}),n.d(e,"g",function(){return np}),n.d(e,"i",function(){return dc}),n.d(e,"d",function(){return Cs}),n.d(e,"m",function(){return ca}),n.d(e,"p",function(){return za}),n.d(e,"a",function(){return kc}),n.d(e,"h",function(){return pc}),n.d(e,"f",function(){return cp}),n.d(e,"u",function(){return Vp}),n.d(e,"w",function(){return uh});var Ni=n(292),Ii=m("Inject",function(t){return{token:t}}),Di=m("InjectionToken",function(t){return{_desc:t}}),Ri=m("Attribute",function(t){return{attributeName:t}}),ji=m("ContentChildren",function(t,e){return void 0===e&&(e={}),Object(Ni.a)({selector:t,first:!1,isViewQuery:!1,descendants:!1},e)}),Fi=m("ContentChild",function(t,e){return void 0===e&&(e={}),Object(Ni.a)({selector:t,first:!0,isViewQuery:!1,descendants:!0},e)}),Li=m("ViewChildren",function(t,e){return void 0===e&&(e={}),Object(Ni.a)({selector:t,first:!1,isViewQuery:!0,descendants:!0},e)}),Vi=m("ViewChild",function(t,e){return Object(Ni.a)({selector:t,first:!0,isViewQuery:!0,descendants:!0},e)}),Hi=m("Directive",function(t){return void 0===t&&(t={}),t}),Bi={Emulated:0,Native:1,None:2};Bi[Bi.Emulated]="Emulated",Bi[Bi.Native]="Native",Bi[Bi.None]="None";var Ui={OnPush:0,Default:1};Ui[Ui.OnPush]="OnPush",Ui[Ui.Default]="Default";var zi=m("Component",function(t){return void 0===t&&(t={}),Object(Ni.a)({changeDetection:Ui.Default},t)}),qi=m("Pipe",function(t){return Object(Ni.a)({pure:!0},t)}),Wi=m("Input",function(t){return{bindingPropertyName:t}}),Gi=m("Output",function(t){return{bindingPropertyName:t}}),Zi=m("HostBinding",function(t){return{hostPropertyName:t}}),Ki=m("HostListener",function(t,e){return{eventName:t,args:e}}),Qi=m("NgModule",function(t){return t}),$i={name:"custom-elements"},Xi={name:"no-errors-schema"},Ji=m("Optional"),Yi=m("Injectable"),to=m("Self"),eo=m("SkipSelf"),no=m("Host"),ro=Function,io={NONE:0,HTML:1,STYLE:2,SCRIPT:3,URL:4,RESOURCE_URL:5};io[io.NONE]="NONE",io[io.HTML]="HTML",io[io.STYLE]="STYLE",io[io.SCRIPT]="SCRIPT",io[io.URL]="URL",io[io.RESOURCE_URL]="RESOURCE_URL";var oo={None:0,TypeElement:1,TypeText:2,ProjectedTemplate:4,CatRenderNode:3,TypeNgContent:8,TypePipe:16,TypePureArray:32,TypePureObject:64,TypePurePipe:128,CatPureExpression:224,TypeValueProvider:256,TypeClassProvider:512,TypeFactoryProvider:1024,TypeUseExistingProvider:2048,LazyProvider:4096,PrivateProvider:8192,TypeDirective:16384,Component:32768,CatProviderNoDirective:3840,CatProvider:20224,OnInit:65536,OnDestroy:131072,DoCheck:262144,OnChanges:524288,AfterContentInit:1048576,AfterContentChecked:2097152,AfterViewInit:4194304,AfterViewChecked:8388608,EmbeddedViews:16777216,ComponentView:33554432,TypeContentQuery:67108864,TypeViewQuery:134217728,StaticQuery:268435456,DynamicQuery:536870912,CatQuery:201326592,Types:201347067},so={None:0,SkipSelf:1,Optional:2,Value:8},ao={Inline:0,Dynamic:1},uo={TypeElementAttribute:1,TypeElementClass:2,TypeElementStyle:4,TypeProperty:8,SyntheticProperty:16,SyntheticHostProperty:32,CatSyntheticProperty:48,Types:15},co={First:0,All:1},lo={ElementRef:0,RenderElement:1,TemplateRef:2,ViewContainerRef:3,Provider:4},po={None:0,OnPush:2},ho={Error:0,Warning:1,Ignore:2};ho[ho.Error]="Error",ho[ho.Warning]="Warning",ho[ho.Ignore]="Ignore";var fo=(Object.freeze({Inject:r,createInject:Ii,createInjectionToken:Di,Attribute:i,createAttribute:Ri,Query:o,createContentChildren:ji,createContentChild:Fi,createViewChildren:Li,createViewChild:Vi,Directive:s,createDirective:Hi,Component:a,ViewEncapsulation:Bi,ChangeDetectionStrategy:Ui,createComponent:zi,Pipe:u,createPipe:qi,Input:c,createInput:Wi,Output:l,createOutput:Gi,HostBinding:p,createHostBinding:Zi,HostListener:h,createHostListener:Ki,NgModule:f,createNgModule:Qi,ModuleWithProviders:d,SchemaMetadata:v,CUSTOM_ELEMENTS_SCHEMA:$i,NO_ERRORS_SCHEMA:Xi,createOptional:Ji,createInjectable:Yi,createSelf:to,createSkipSelf:eo,createHost:no,Type:ro,SecurityContext:io,NodeFlags:oo,DepFlags:so,ArgumentType:ao,BindingFlags:uo,QueryBindingType:co,QueryValueType:lo,ViewFlags:po,MissingTranslationStrategy:ho,MetadataFactory:y,Route:g}),/-+([a-z0-9])/g),vo=function(){function t(){}return t.prototype.visitArray=function(t,e){var n=this;return t.map(function(t){return C(t,n,e)})},t.prototype.visitStringMap=function(t,e){var n=this,r={};return Object.keys(t).forEach(function(i){r[i]=C(t[i],n,e)}),r},t.prototype.visitPrimitive=function(t,e){return t},t.prototype.visitOther=function(t,e){return t},t}(),yo={assertSync:function(t){if(N(t))throw new Error("Illegal state: value cannot be a promise");return t},then:function(t,e){return N(t)?t.then(e):e(t)},all:function(t){return t.some(N)?Promise.all(t):t}},mo="ngSyntaxError",go="ngParseErrors",_o=Object.getPrototypeOf({}),bo=function(){function t(t){this.full=t;var e=t.split(".");this.major=e[0],this.minor=e[1],this.patch=e.slice(2).join(".")}return t}(),wo=(new bo("5.2.0"),function(){function t(t,e,n){this.value=t,this.ngContentIndex=e,this.sourceSpan=n}return t.prototype.visit=function(t,e){return t.visitText(this,e)},t}()),Eo=function(){function t(t,e,n){this.value=t,this.ngContentIndex=e,this.sourceSpan=n}return t.prototype.visit=function(t,e){return t.visitBoundText(this,e)},t}(),Co=function(){function t(t,e,n){this.name=t,this.value=e,this.sourceSpan=n}return t.prototype.visit=function(t,e){return t.visitAttr(this,e)},t}(),xo=function(){function t(t,e,n,r,i,o){this.name=t,this.type=e,this.securityContext=n,this.value=r,this.unit=i,this.sourceSpan=o,this.isAnimation=this.type===Ro.Animation}return t.prototype.visit=function(t,e){return t.visitElementProperty(this,e)},t}(),So=function(){function t(e,n,r,i,o){this.name=e,this.target=n,this.phase=r,this.handler=i,this.sourceSpan=o,this.fullName=t.calcFullName(this.name,this.target,this.phase),this.isAnimation=!!this.phase}return t.calcFullName=function(t,e,n){return e?e+":"+t:n?"@"+t+"."+n:t},t.prototype.visit=function(t,e){return t.visitEvent(this,e)},t}(),To=function(){function t(t,e,n){this.name=t,this.value=e,this.sourceSpan=n}return t.prototype.visit=function(t,e){return t.visitReference(this,e)},t}(),Po=function(){function t(t,e,n){this.name=t,this.value=e,this.sourceSpan=n}return t.prototype.visit=function(t,e){return t.visitVariable(this,e)},t}(),Oo=function(){function t(t,e,n,r,i,o,s,a,u,c,l,p,h){this.name=t,this.attrs=e,this.inputs=n,this.outputs=r,this.references=i,this.directives=o,this.providers=s,this.hasViewContainer=a,this.queryMatches=u,this.children=c,this.ngContentIndex=l,this.sourceSpan=p,this.endSourceSpan=h}return t.prototype.visit=function(t,e){return t.visitElement(this,e)},t}(),Mo=function(){function t(t,e,n,r,i,o,s,a,u,c,l){this.attrs=t,this.outputs=e,this.references=n,this.variables=r,this.directives=i,this.providers=o,this.hasViewContainer=s,this.queryMatches=a,this.children=u,this.ngContentIndex=c,this.sourceSpan=l}return t.prototype.visit=function(t,e){return t.visitEmbeddedTemplate(this,e)},t}(),ko=function(){function t(t,e,n,r){this.directiveName=t,this.templateName=e,this.value=n,this.sourceSpan=r}return t.prototype.visit=function(t,e){return t.visitDirectiveProperty(this,e)},t}(),Ao=function(){function t(t,e,n,r,i,o){this.directive=t,this.inputs=e,this.hostProperties=n,this.hostEvents=r,this.contentQueryStartId=i,this.sourceSpan=o}return t.prototype.visit=function(t,e){return t.visitDirective(this,e)},t}(),No=function(){function t(t,e,n,r,i,o,s){this.token=t,this.multiProvider=e,this.eager=n,this.providers=r,this.providerType=i,this.lifecycleHooks=o,this.sourceSpan=s}return t.prototype.visit=function(t,e){return null},t}(),Io={PublicService:0,PrivateService:1,Component:2,Directive:3,Builtin:4};Io[Io.PublicService]="PublicService",Io[Io.PrivateService]="PrivateService",Io[Io.Component]="Component",Io[Io.Directive]="Directive",Io[Io.Builtin]="Builtin";var Do=function(){function t(t,e,n){this.index=t,this.ngContentIndex=e,this.sourceSpan=n}return t.prototype.visit=function(t,e){return t.visitNgContent(this,e)},t}(),Ro={Property:0,Attribute:1,Class:2,Style:3,Animation:4};Ro[Ro.Property]="Property",Ro[Ro.Attribute]="Attribute",Ro[Ro.Class]="Class",Ro[Ro.Style]="Style",Ro[Ro.Animation]="Animation";var jo=function(){function t(){}return t.prototype.visitNgContent=function(t,e){},t.prototype.visitEmbeddedTemplate=function(t,e){},t.prototype.visitElement=function(t,e){},t.prototype.visitReference=function(t,e){},t.prototype.visitVariable=function(t,e){},t.prototype.visitEvent=function(t,e){},t.prototype.visitElementProperty=function(t,e){},t.prototype.visitAttr=function(t,e){},t.prototype.visitBoundText=function(t,e){},t.prototype.visitText=function(t,e){},t.prototype.visitDirective=function(t,e){},t.prototype.visitDirectiveProperty=function(t,e){},t}(),Fo=(function(t){function e(){return t.call(this)||this}Object(Ni.b)(e,t),e.prototype.visitEmbeddedTemplate=function(t,e){return this.visitChildren(e,function(e){e(t.attrs),e(t.references),e(t.variables),e(t.directives),e(t.providers),e(t.children)})},e.prototype.visitElement=function(t,e){return this.visitChildren(e,function(e){e(t.attrs),e(t.inputs),e(t.outputs),e(t.references),e(t.directives),e(t.providers),e(t.children)})},e.prototype.visitDirective=function(t,e){return this.visitChildren(e,function(e){e(t.inputs),e(t.hostProperties),e(t.hostEvents)})},e.prototype.visitChildren=function(t,e){function n(e){e&&e.length&&r.push(I(i,e,t))}var r=[],i=this;return e(n),[].concat.apply([],r)}}(jo),function(){function t(t){var e=void 0===t?{}:t,n=e.defaultEncapsulation,r=void 0===n?Bi.Emulated:n,i=e.useJit,o=void 0===i||i,s=e.jitDevMode,a=void 0!==s&&s,u=e.missingTranslation,c=void 0===u?null:u,l=e.enableLegacyTemplate,p=e.preserveWhitespaces,h=e.strictInjectionParameters;this.defaultEncapsulation=r,this.useJit=!!o,this.jitDevMode=!!a,this.missingTranslation=c,this.enableLegacyTemplate=!0===l,this.preserveWhitespaces=D(S(p)),this.strictInjectionParameters=!0===h}return t}()),Lo=function(){function t(t,e,n){this.filePath=t,this.name=e,this.members=n}return t.prototype.assertNoMembers=function(){if(this.members.length)throw new Error("Illegal state: symbol without members expected, but got "+JSON.stringify(this)+".")},t}(),Vo=function(){function t(){this.cache=new Map}return t.prototype.get=function(t,e,n){n=n||[];var r=n.length?"."+n.join("."):"",i='"'+t+'".'+e+r,o=this.cache.get(i);return o||(o=new Lo(t,e,n),this.cache.set(i,o)),o},t}(),Ho=/^(?:(?:\[([^\]]+)\])|(?:\(([^\)]+)\)))|(\@[-\w]+)$/,Bo=0,Uo={Pipe:0,Directive:1,NgModule:2,Injectable:3};Uo[Uo.Pipe]="Pipe",Uo[Uo.Directive]="Directive",Uo[Uo.NgModule]="NgModule",Uo[Uo.Injectable]="Injectable";var zo=function(){function t(t){var e=void 0===t?{}:t,n=e.moduleUrl,r=e.styles,i=e.styleUrls;this.moduleUrl=n||null,this.styles=q(r),this.styleUrls=q(i)}return t}(),qo=function(){function t(t){var e=t.encapsulation,n=t.template,r=t.templateUrl,i=t.htmlAst,o=t.styles,s=t.styleUrls,a=t.externalStylesheets,u=t.animations,c=t.ngContentSelectors,l=t.interpolation,p=t.isInline,h=t.preserveWhitespaces;if(this.encapsulation=e,this.template=n,this.templateUrl=r,this.htmlAst=i,this.styles=q(o),this.styleUrls=q(s),this.externalStylesheets=q(a),this.animations=u?W(u):[],this.ngContentSelectors=c||[],l&&2!=l.length)throw new Error("'interpolation' should have a start and an end symbol.");this.interpolation=l,this.isInline=p,this.preserveWhitespaces=h}return t.prototype.toSummary=function(){return{ngContentSelectors:this.ngContentSelectors,encapsulation:this.encapsulation}},t}(),Wo=function(){function t(t){var e=t.isHost,n=t.type,r=t.isComponent,i=t.selector,o=t.exportAs,s=t.changeDetection,a=t.inputs,u=t.outputs,c=t.hostListeners,l=t.hostProperties,p=t.hostAttributes,h=t.providers,f=t.viewProviders,d=t.queries,v=t.guards,y=t.viewQueries,m=t.entryComponents,g=t.template,_=t.componentViewType,b=t.rendererType,w=t.componentFactory;this.isHost=!!e,this.type=n,this.isComponent=r,this.selector=i,this.exportAs=o,this.changeDetection=s,this.inputs=a,this.outputs=u,this.hostListeners=c,this.hostProperties=l,this.hostAttributes=p,this.providers=q(h),this.viewProviders=q(f),this.queries=q(d),this.guards=v,this.viewQueries=q(y),this.entryComponents=q(m),this.template=g,this.componentViewType=_,this.rendererType=b,this.componentFactory=w}return t.create=function(e){var n=e.isHost,r=e.type,i=e.isComponent,o=e.selector,s=e.exportAs,a=e.changeDetection,u=e.inputs,c=e.outputs,l=e.host,p=e.providers,h=e.viewProviders,f=e.queries,d=e.guards,v=e.viewQueries,y=e.entryComponents,m=e.template,g=e.componentViewType,_=e.rendererType,w=e.componentFactory,E={},C={},x={};null!=l&&Object.keys(l).forEach(function(t){var e=l[t],n=t.match(Ho);null===n?x[t]=e:null!=n[1]?C[n[1]]=e:null!=n[2]&&(E[n[2]]=e)});var S={};null!=u&&u.forEach(function(t){var e=b(t,[t,t]);S[e[0]]=e[1]});var T={};return null!=c&&c.forEach(function(t){var e=b(t,[t,t]);T[e[0]]=e[1]}),new t({isHost:n,type:r,isComponent:!!i,selector:o,exportAs:s,changeDetection:a,inputs:S,outputs:T,hostListeners:E,hostProperties:C,hostAttributes:x,providers:p,viewProviders:h,queries:f,guards:d,viewQueries:v,entryComponents:y,template:m,componentViewType:g,rendererType:_,componentFactory:w})},t.prototype.toSummary=function(){return{summaryKind:Uo.Directive,type:this.type,isComponent:this.isComponent,selector:this.selector,exportAs:this.exportAs,inputs:this.inputs,outputs:this.outputs,hostListeners:this.hostListeners,hostProperties:this.hostProperties,hostAttributes:this.hostAttributes,providers:this.providers,viewProviders:this.viewProviders,queries:this.queries,guards:this.guards,viewQueries:this.viewQueries,entryComponents:this.entryComponents,changeDetection:this.changeDetection,template:this.template&&this.template.toSummary(),componentViewType:this.componentViewType,rendererType:this.rendererType,componentFactory:this.componentFactory}},t}(),Go=function(){function t(t){var e=t.type,n=t.name,r=t.pure;this.type=e,this.name=n,this.pure=!!r}return t.prototype.toSummary=function(){return{summaryKind:Uo.Pipe,type:this.type,name:this.name,pure:this.pure}},t}(),Zo=function(){function t(t){var e=t.type,n=t.providers,r=t.declaredDirectives,i=t.exportedDirectives,o=t.declaredPipes,s=t.exportedPipes,a=t.entryComponents,u=t.bootstrapComponents,c=t.importedModules,l=t.exportedModules,p=t.schemas,h=t.transitiveModule,f=t.id;this.type=e||null,this.declaredDirectives=q(r),this.exportedDirectives=q(i),this.declaredPipes=q(o),this.exportedPipes=q(s),this.providers=q(n),this.entryComponents=q(a),this.bootstrapComponents=q(u),this.importedModules=q(c),this.exportedModules=q(l),this.schemas=q(p),this.id=f||null,this.transitiveModule=h||null}return t.prototype.toSummary=function(){var t=this.transitiveModule;return{summaryKind:Uo.NgModule,type:this.type,entryComponents:t.entryComponents,providers:t.providers,modules:t.modules,exportedDirectives:t.exportedDirectives,exportedPipes:t.exportedPipes}},t}(),Ko=function(){function t(){this.directivesSet=new Set,this.directives=[],this.exportedDirectivesSet=new Set,this.exportedDirectives=[],this.pipesSet=new Set,this.pipes=[],this.exportedPipesSet=new Set,this.exportedPipes=[],this.modulesSet=new Set,this.modules=[],this.entryComponentsSet=new Set,this.entryComponents=[],this.providers=[]}return t.prototype.addProvider=function(t,e){this.providers.push({provider:t,module:e})},t.prototype.addDirective=function(t){this.directivesSet.has(t.reference)||(this.directivesSet.add(t.reference),this.directives.push(t))},t.prototype.addExportedDirective=function(t){this.exportedDirectivesSet.has(t.reference)||(this.exportedDirectivesSet.add(t.reference),this.exportedDirectives.push(t))},t.prototype.addPipe=function(t){this.pipesSet.has(t.reference)||(this.pipesSet.add(t.reference),this.pipes.push(t))},t.prototype.addExportedPipe=function(t){this.exportedPipesSet.has(t.reference)||(this.exportedPipesSet.add(t.reference),this.exportedPipes.push(t))},t.prototype.addModule=function(t){this.modulesSet.has(t.reference)||(this.modulesSet.add(t.reference),this.modules.push(t))},t.prototype.addEntryComponent=function(t){this.entryComponentsSet.has(t.componentType)||(this.entryComponentsSet.add(t.componentType),this.entryComponents.push(t))},t}(),Qo=function(){function t(t,e){var n=e.useClass,r=e.useValue,i=e.useExisting,o=e.useFactory,s=e.deps,a=e.multi;this.token=t,this.useClass=n||null,this.useValue=r,this.useExisting=i,this.useFactory=o||null,this.dependencies=s||null,this.multi=!!a}return t}(),$o=(function(){function t(t,e){void 0===e&&(e=-1),this.path=t,this.position=e}Object.defineProperty(t.prototype,"empty",{get:function(){return!this.path||!this.path.length},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"head",{get:function(){return this.path[0]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"tail",{get:function(){return this.path[this.path.length-1]},enumerable:!0,configurable:!0}),t.prototype.parentOf=function(t){return t&&this.path[this.path.indexOf(t)-1]},t.prototype.childOf=function(t){return this.path[this.path.indexOf(t)+1]},t.prototype.first=function(t){for(var e=this.path.length-1;e>=0;e--){var n=this.path[e];if(n instanceof t)return n}},t.prototype.push=function(t){this.path.push(t)},t.prototype.pop=function(){return this.path.pop()}}(),function(){function t(t,e){this.value=t,this.sourceSpan=e}return t.prototype.visit=function(t,e){return t.visitText(this,e)},t}()),Xo=function(){function t(t,e,n,r,i){this.switchValue=t,this.type=e,this.cases=n,this.sourceSpan=r,this.switchValueSourceSpan=i}return t.prototype.visit=function(t,e){return t.visitExpansion(this,e)},t}(),Jo=function(){function t(t,e,n,r,i){this.value=t,this.expression=e,this.sourceSpan=n,this.valueSourceSpan=r,this.expSourceSpan=i}return t.prototype.visit=function(t,e){return t.visitExpansionCase(this,e)},t}(),Yo=function(){function t(t,e,n,r){this.name=t,this.value=e,this.sourceSpan=n,this.valueSpan=r}return t.prototype.visit=function(t,e){return t.visitAttribute(this,e)},t}(),ts=function(){function t(t,e,n,r,i,o){void 0===i&&(i=null),void 0===o&&(o=null),this.name=t,this.attrs=e,this.children=n,this.sourceSpan=r,this.startSourceSpan=i,this.endSourceSpan=o}return t.prototype.visit=function(t,e){return t.visitElement(this,e)},t}(),es=function(){function t(t,e){this.value=t,this.sourceSpan=e}return t.prototype.visit=function(t,e){return t.visitComment(this,e)},t}(),ns=(function(){function t(){}t.prototype.visitElement=function(t,e){this.visitChildren(e,function(e){e(t.attrs),e(t.children)})},t.prototype.visitAttribute=function(t,e){},t.prototype.visitText=function(t,e){},t.prototype.visitComment=function(t,e){},t.prototype.visitExpansion=function(t,e){return this.visitChildren(e,function(e){e(t.cases)})},t.prototype.visitExpansionCase=function(t,e){},t.prototype.visitChildren=function(t,e){function n(e){e&&r.push(X(i,e,t))}var r=[],i=this;return e(n),[].concat.apply([],r)}}(),[/^\s*$/,/[<>]/,/^[{}]$/,/&(#|[a-z])/i,/^\/\//]),rs=function(){function t(t,e){this.start=t,this.end=e}return t.fromArray=function(e){return e?(Y("interpolation",e),new t(e[0],e[1])):is},t}(),is=new rs("{{","}}"),os=function(){function t(t,e){this.style=t,this.styleUrls=e}return t}(),ss=/@import\s+(?:url\()?\s*(?:(?:['"]([^'"]*))|([^;\)\s]*))[^;]*;?/g,as=/\/\*(?!#\s*(?:sourceURL|sourceMappingURL)=)[\s\S]+?\*\//g,us=/^([^:\/?#]+):/,cs={RAW_TEXT:0,ESCAPABLE_RAW_TEXT:1,PARSABLE_DATA:2};cs[cs.RAW_TEXT]="RAW_TEXT",cs[cs.ESCAPABLE_RAW_TEXT]="ESCAPABLE_RAW_TEXT",cs[cs.PARSABLE_DATA]="PARSABLE_DATA";var ls={Aacute:"Á",aacute:"á",Acirc:"Â",acirc:"â",acute:"´",AElig:"Æ",aelig:"æ",Agrave:"À",agrave:"à",alefsym:"ℵ",Alpha:"Α",alpha:"α",amp:"&",and:"∧",ang:"∠",apos:"'",Aring:"Å",aring:"å",asymp:"≈",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",bdquo:"„",Beta:"Β",beta:"β",brvbar:"¦",bull:"•",cap:"∩",Ccedil:"Ç",ccedil:"ç",cedil:"¸",cent:"¢",Chi:"Χ",chi:"χ",circ:"ˆ",clubs:"♣",cong:"≅",copy:"©",crarr:"↵",cup:"∪",curren:"¤",dagger:"†",Dagger:"‡",darr:"↓",dArr:"⇓",deg:"°",Delta:"Δ",delta:"δ",diams:"♦",divide:"÷",Eacute:"É",eacute:"é",Ecirc:"Ê",ecirc:"ê",Egrave:"È",egrave:"è",empty:"∅",emsp:" ",ensp:" ",Epsilon:"Ε",epsilon:"ε",equiv:"≡",Eta:"Η",eta:"η",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",euro:"€",exist:"∃",fnof:"ƒ",forall:"∀",frac12:"½",frac14:"¼",frac34:"¾",frasl:"⁄",Gamma:"Γ",gamma:"γ",ge:"≥",gt:">",harr:"↔",hArr:"⇔",hearts:"♥",hellip:"…",Iacute:"Í",iacute:"í",Icirc:"Î",icirc:"î",iexcl:"¡",Igrave:"Ì",igrave:"ì",image:"ℑ",infin:"∞",int:"∫",Iota:"Ι",iota:"ι",iquest:"¿",isin:"∈",Iuml:"Ï",iuml:"ï",Kappa:"Κ",kappa:"κ",Lambda:"Λ",lambda:"λ",lang:"⟨",laquo:"«",larr:"←",lArr:"⇐",lceil:"⌈",ldquo:"“",le:"≤",lfloor:"⌊",lowast:"∗",loz:"◊",lrm:"‎",lsaquo:"‹",lsquo:"‘",lt:"<",macr:"¯",mdash:"—",micro:"µ",middot:"·",minus:"−",Mu:"Μ",mu:"μ",nabla:"∇",nbsp:" ",ndash:"–",ne:"≠",ni:"∋",not:"¬",notin:"∉",nsub:"⊄",Ntilde:"Ñ",ntilde:"ñ",Nu:"Ν",nu:"ν",Oacute:"Ó",oacute:"ó",Ocirc:"Ô",ocirc:"ô",OElig:"Œ",oelig:"œ",Ograve:"Ò",ograve:"ò",oline:"‾",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",oplus:"⊕",or:"∨",ordf:"ª",ordm:"º",Oslash:"Ø",oslash:"ø",Otilde:"Õ",otilde:"õ",otimes:"⊗",Ouml:"Ö",ouml:"ö",para:"¶",permil:"‰",perp:"⊥",Phi:"Φ",phi:"φ",Pi:"Π",pi:"π",piv:"ϖ",plusmn:"±",pound:"£",prime:"′",Prime:"″",prod:"∏",prop:"∝",Psi:"Ψ",psi:"ψ",quot:'"',radic:"√",rang:"⟩",raquo:"»",rarr:"→",rArr:"⇒",rceil:"⌉",rdquo:"”",real:"ℜ",reg:"®",rfloor:"⌋",Rho:"Ρ",rho:"ρ",rlm:"‏",rsaquo:"›",rsquo:"’",sbquo:"‚",Scaron:"Š",scaron:"š",sdot:"⋅",sect:"§",shy:"­",Sigma:"Σ",sigma:"σ",sigmaf:"ς",sim:"∼",spades:"♠",sub:"⊂",sube:"⊆",sum:"∑",sup:"⊃",sup1:"¹",sup2:"²",sup3:"³",supe:"⊇",szlig:"ß",Tau:"Τ",tau:"τ",there4:"∴",Theta:"Θ",theta:"θ",thetasym:"ϑ",thinsp:" ",THORN:"Þ",thorn:"þ",tilde:"˜",times:"×",trade:"™",Uacute:"Ú",uacute:"ú",uarr:"↑",uArr:"⇑",Ucirc:"Û",ucirc:"û",Ugrave:"Ù",ugrave:"ù",uml:"¨",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",Uuml:"Ü",uuml:"ü",weierp:"℘",Xi:"Ξ",xi:"ξ",Yacute:"Ý",yacute:"ý",yen:"¥",yuml:"ÿ",Yuml:"Ÿ",Zeta:"Ζ",zeta:"ζ",zwj:"‍",zwnj:"‌"},ps="";ls.ngsp=ps;var hs="select",fs="link",ds="rel",vs="href",ys="stylesheet",ms="style",gs="script",_s="ngNonBindable",bs="ngProjectAs",ws={NG_CONTENT:0,STYLE:1,STYLESHEET:2,SCRIPT:3,OTHER:4};ws[ws.NG_CONTENT]="NG_CONTENT",ws[ws.STYLE]="STYLE",ws[ws.STYLESHEET]="STYLESHEET",ws[ws.SCRIPT]="SCRIPT",ws[ws.OTHER]="OTHER";var Es=function(){function t(t,e,n,r,i){this.type=t,this.selectAttr=e,this.hrefAttr=n,this.nonBindable=r,this.projectAs=i}return t}(),Cs=function(){function t(t,e,n,r){this._resourceLoader=t,this._urlResolver=e,this._htmlParser=n,this._config=r,this._resourceLoaderCache=new Map}return t.prototype.clearCache=function(){this._resourceLoaderCache.clear()},t.prototype.clearCacheFor=function(t){var e=this;if(t.isComponent){var n=t.template;this._resourceLoaderCache.delete(n.templateUrl),n.externalStylesheets.forEach(function(t){e._resourceLoaderCache.delete(t.moduleUrl)})}},t.prototype._fetch=function(t){var e=this._resourceLoaderCache.get(t);return e||(e=this._resourceLoader.get(t),this._resourceLoaderCache.set(t,e)),e},t.prototype.normalizeTemplate=function(t){var e=this;if(x(t.template)){if(x(t.templateUrl))throw T("'"+k(t.componentType)+"' component cannot define both template and templateUrl");if("string"!=typeof t.template)throw T("The template specified for component "+k(t.componentType)+" is not a string")}else{if(!x(t.templateUrl))throw T("No template specified for component "+k(t.componentType));if("string"!=typeof t.templateUrl)throw T("The templateUrl specified for component "+k(t.componentType)+" is not a string")}if(x(t.preserveWhitespaces)&&"boolean"!=typeof t.preserveWhitespaces)throw T("The preserveWhitespaces option for component "+k(t.componentType)+" must be a boolean");return yo.then(this._preParseTemplate(t),function(n){return e._normalizeTemplateMetadata(t,n)})},t.prototype._preParseTemplate=function(t){var e,n,r=this;return null!=t.template?(e=t.template,n=t.moduleUrl):(n=this._urlResolver.resolve(t.moduleUrl,t.templateUrl),e=this._fetch(n)),yo.then(e,function(e){return r._preparseLoadedTemplate(t,e,n)})},t.prototype._preparseLoadedTemplate=function(t,e,n){var r=!!t.template,i=rs.fromArray(t.interpolation),o=this._htmlParser.parse(e,Z({reference:t.ngModuleType},{type:{reference:t.componentType}},{isInline:r,templateUrl:n}),!0,i);if(o.errors.length>0){throw T("Template parse errors:\n"+o.errors.join("\n"))}var s=this._normalizeStylesheet(new zo({styles:t.styles,moduleUrl:t.moduleUrl})),a=new xs;X(a,o.rootNodes);var u=this._normalizeStylesheet(new zo({styles:a.styles,styleUrls:a.styleUrls,moduleUrl:n}));return{template:e,templateUrl:n,isInline:r,htmlAst:o,styles:s.styles.concat(u.styles),inlineStyleUrls:s.styleUrls.concat(u.styleUrls),styleUrls:this._normalizeStylesheet(new zo({styleUrls:t.styleUrls,moduleUrl:t.moduleUrl})).styleUrls,ngContentSelectors:a.ngContentSelectors}},t.prototype._normalizeTemplateMetadata=function(t,e){var n=this;return yo.then(this._loadMissingExternalStylesheets(e.styleUrls.concat(e.inlineStyleUrls)),function(r){return n._normalizeLoadedTemplateMetadata(t,e,r)})},t.prototype._normalizeLoadedTemplateMetadata=function(t,e,n){var r=this,i=e.styles.slice();this._inlineStyles(e.inlineStyleUrls,n,i);var o=e.styleUrls,s=o.map(function(t){var e=n.get(t),i=e.styles.slice();return r._inlineStyles(e.styleUrls,n,i),new zo({moduleUrl:t,styles:i})}),a=t.encapsulation;return null==a&&(a=this._config.defaultEncapsulation),a===Bi.Emulated&&0===i.length&&0===o.length&&(a=Bi.None),new qo({encapsulation:a,template:e.template,templateUrl:e.templateUrl,htmlAst:e.htmlAst,styles:i,styleUrls:o,ngContentSelectors:e.ngContentSelectors,animations:t.animations,interpolation:t.interpolation,isInline:e.isInline,externalStylesheets:s,preserveWhitespaces:D(t.preserveWhitespaces,this._config.preserveWhitespaces)})},t.prototype._inlineStyles=function(t,e,n){var r=this;t.forEach(function(t){var i=e.get(t);i.styles.forEach(function(t){return n.push(t)}),r._inlineStyles(i.styleUrls,e,n)})},t.prototype._loadMissingExternalStylesheets=function(t,e){var n=this;return void 0===e&&(e=new Map),yo.then(yo.all(t.filter(function(t){return!e.has(t)}).map(function(t){return yo.then(n._fetch(t),function(r){var i=n._normalizeStylesheet(new zo({styles:[r],moduleUrl:t}));return e.set(t,i),n._loadMissingExternalStylesheets(i.styleUrls,e)})})),function(t){return e})},t.prototype._normalizeStylesheet=function(t){var e=this,n=t.moduleUrl,r=t.styleUrls.filter(tt).map(function(t){return e._urlResolver.resolve(n,t)}),i=t.styles.map(function(t){var i=et(e._urlResolver,n,t);return r.push.apply(r,i.styleUrls),i.style});return new zo({styles:i,styleUrls:r,moduleUrl:n})},t}(),xs=function(){function t(){this.ngContentSelectors=[],this.styles=[],this.styleUrls=[],this.ngNonBindableStackCount=0}return t.prototype.visitElement=function(t,e){var n=ut(t);switch(n.type){case ws.NG_CONTENT:0===this.ngNonBindableStackCount&&this.ngContentSelectors.push(n.selectAttr);break;case ws.STYLE:var r="";t.children.forEach(function(t){t instanceof $o&&(r+=t.value)}),this.styles.push(r);break;case ws.STYLESHEET:this.styleUrls.push(n.hrefAttr)}return n.nonBindable&&this.ngNonBindableStackCount++,X(this,t.children),n.nonBindable&&this.ngNonBindableStackCount--,null},t.prototype.visitExpansion=function(t,e){X(this,t.cases)},t.prototype.visitExpansionCase=function(t,e){X(this,t.expression)},t.prototype.visitComment=function(t,e){return null},t.prototype.visitAttribute=function(t,e){return null},t.prototype.visitText=function(t,e){return null},t}(),Ss=[Vi,Li,Fi,ji],Ts=function(){function t(t){this._reflector=t}return t.prototype.isDirective=function(t){var e=this._reflector.annotations(A(t));return e&&e.some(lt)},t.prototype.resolve=function(t,e){void 0===e&&(e=!0);var n=this._reflector.annotations(A(t));if(n){var r=pt(n,lt);if(r){var i=this._reflector.propMetadata(t),o=this._reflector.guards(t);return this._mergeWithPropertyMetadata(r,i,o,t)}}if(e)throw new Error("No Directive annotation found on "+k(t));return null},t.prototype._mergeWithPropertyMetadata=function(t,e,n,r){var i=[],o=[],s={},a={};return Object.keys(e).forEach(function(t){var n=pt(e[t],function(t){return Wi.isTypeOf(t)});n&&(n.bindingPropertyName?i.push(t+": "+n.bindingPropertyName):i.push(t));var r=pt(e[t],function(t){return Gi.isTypeOf(t)});r&&(r.bindingPropertyName?o.push(t+": "+r.bindingPropertyName):o.push(t)),e[t].filter(function(t){return Zi.isTypeOf(t)}).forEach(function(e){if(e.hostPropertyName){var n=e.hostPropertyName[0];if("("===n)throw new Error("@HostBinding can not bind to events. Use @HostListener instead.");if("["===n)throw new Error("@HostBinding parameter should be a property name, 'class.', or 'attr.'.");s["["+e.hostPropertyName+"]"]=t}else s["["+t+"]"]=t}),e[t].filter(function(t){return Ki.isTypeOf(t)}).forEach(function(e){var n=e.args||[];s["("+e.eventName+")"]=t+"("+n.join(",")+")"});var u=pt(e[t],function(t){return Ss.some(function(e){return e.isTypeOf(t)})});u&&(a[t]=u)}),this._merge(t,i,o,s,a,n,r)},t.prototype._extractPublicName=function(t){return b(t,[null,t])[1].trim()},t.prototype._dedupeBindings=function(t){for(var e=new Set,n=new Set,r=[],i=t.length-1;i>=0;i--){var o=t[i],s=this._extractPublicName(o);n.add(s),e.has(s)||(e.add(s),r.push(o))}return r.reverse()},t.prototype._merge=function(t,e,n,r,i,o,s){var a=this._dedupeBindings(t.inputs?t.inputs.concat(e):e),u=this._dedupeBindings(t.outputs?t.outputs.concat(n):n),c=t.host?Object(Ni.a)({},t.host,r):r,l=t.queries?Object(Ni.a)({},t.queries,i):i;if(zi.isTypeOf(t)){var p=t;return zi({selector:p.selector,inputs:a,outputs:u,host:c,exportAs:p.exportAs,moduleId:p.moduleId,queries:l,changeDetection:p.changeDetection,providers:p.providers,viewProviders:p.viewProviders,entryComponents:p.entryComponents,template:p.template,templateUrl:p.templateUrl,styles:p.styles,styleUrls:p.styleUrls,encapsulation:p.encapsulation,animations:p.animations,interpolation:p.interpolation,preserveWhitespaces:t.preserveWhitespaces})}return Hi({selector:t.selector,inputs:a,outputs:u,host:c,exportAs:t.exportAs,queries:l,providers:t.providers,guards:o})},t}(),Ps=0,Os=9,Ms=10,ks=11,As=12,Ns=13,Is=32,Ds=34,Rs=36,js=39,Fs=43,Ls=45,Vs=47,Hs=59,Bs=61,Us=62,zs=48,qs=57,Ws=65,Gs=69,Zs=70,Ks=90,Qs=95,$s=97,Xs=101,Js=102,Ys=110,ta=114,ea=116,na=118,ra=122,ia=123,oa=160,sa=96,aa={Character:0,Identifier:1,Keyword:2,String:3,Operator:4,Number:5,Error:6};aa[aa.Character]="Character",aa[aa.Identifier]="Identifier",aa[aa.Keyword]="Keyword",aa[aa.String]="String",aa[aa.Operator]="Operator",aa[aa.Number]="Number",aa[aa.Error]="Error";var ua=["var","let","as","null","undefined","true","false","if","else","this"],ca=function(){function t(){}return t.prototype.tokenize=function(t){for(var e=new ha(t),n=[],r=e.scanToken();null!=r;)n.push(r),r=e.scanToken();return n},t}(),la=function(){function t(t,e,n,r){this.index=t,this.type=e,this.numValue=n,this.strValue=r}return t.prototype.isCharacter=function(t){return this.type==aa.Character&&this.numValue==t},t.prototype.isNumber=function(){return this.type==aa.Number},t.prototype.isString=function(){return this.type==aa.String},t.prototype.isOperator=function(t){return this.type==aa.Operator&&this.strValue==t},t.prototype.isIdentifier=function(){return this.type==aa.Identifier},t.prototype.isKeyword=function(){return this.type==aa.Keyword},t.prototype.isKeywordLet=function(){return this.type==aa.Keyword&&"let"==this.strValue},t.prototype.isKeywordAs=function(){return this.type==aa.Keyword&&"as"==this.strValue},t.prototype.isKeywordNull=function(){return this.type==aa.Keyword&&"null"==this.strValue},t.prototype.isKeywordUndefined=function(){return this.type==aa.Keyword&&"undefined"==this.strValue},t.prototype.isKeywordTrue=function(){return this.type==aa.Keyword&&"true"==this.strValue},t.prototype.isKeywordFalse=function(){return this.type==aa.Keyword&&"false"==this.strValue},t.prototype.isKeywordThis=function(){return this.type==aa.Keyword&&"this"==this.strValue},t.prototype.isError=function(){return this.type==aa.Error},t.prototype.toNumber=function(){return this.type==aa.Number?this.numValue:-1},t.prototype.toString=function(){switch(this.type){case aa.Character:case aa.Identifier:case aa.Keyword:case aa.Operator:case aa.String:case aa.Error:return this.strValue;case aa.Number:return this.numValue.toString();default:return null}},t}(),pa=new la(-1,aa.Character,0,""),ha=function(){function t(t){this.input=t,this.peek=0,this.index=-1,this.length=t.length,this.advance()}return t.prototype.advance=function(){this.peek=++this.index>=this.length?Ps:this.input.charCodeAt(this.index)},t.prototype.scanToken=function(){for(var t=this.input,e=this.length,n=this.peek,r=this.index;n<=Is;){if(++r>=e){n=Ps;break}n=t.charCodeAt(r)}if(this.peek=n,this.index=r,r>=e)return null;if(Ct(n))return this.scanIdentifier();if(ft(n))return this.scanNumber(r);var i=r;switch(n){case 46:return this.advance(),ft(this.peek)?this.scanNumber(i):yt(i,46);case 40:case 41:case ia:case 125:case 91:case 93:case 44:case 58:case Hs:return this.scanCharacter(i,n);case js:case Ds:return this.scanString();case 35:case Fs:case Ls:case 42:case Vs:case 37:case 94:return this.scanOperator(i,String.fromCharCode(n));case 63:return this.scanComplexOperator(i,"?",46,".");case 60:case Us:return this.scanComplexOperator(i,String.fromCharCode(n),Bs,"=");case 33:case Bs:return this.scanComplexOperator(i,String.fromCharCode(n),Bs,"=",Bs,"=");case 38:return this.scanComplexOperator(i,"&",38,"&");case 124:return this.scanComplexOperator(i,"|",124,"|");case oa:for(;ht(this.peek);)this.advance();return this.scanToken()}return this.advance(),this.error("Unexpected character ["+String.fromCharCode(n)+"]",0)},t.prototype.scanCharacter=function(t,e){return this.advance(),yt(t,e)},t.prototype.scanOperator=function(t,e){return this.advance(),_t(t,e)},t.prototype.scanComplexOperator=function(t,e,n,r,i,o){this.advance();var s=e;return this.peek==n&&(this.advance(),s+=r),null!=i&&this.peek==i&&(this.advance(),s+=o),_t(t,s)},t.prototype.scanIdentifier=function(){var t=this.index;for(this.advance();St(this.peek);)this.advance();var e=this.input.substring(t,this.index);return ua.indexOf(e)>-1?gt(t,e):mt(t,e)},t.prototype.scanNumber=function(t){var e=this.index===t;for(this.advance();;){if(ft(this.peek));else if(46==this.peek)e=!1;else{if(!Tt(this.peek))break;if(this.advance(),Pt(this.peek)&&this.advance(),!ft(this.peek))return this.error("Invalid exponent",-1);e=!1}this.advance()}var n=this.input.substring(t,this.index);return wt(t,e?kt(n):parseFloat(n))},t.prototype.scanString=function(){var t=this.index,e=this.peek;this.advance();for(var n="",r=this.index,i=this.input;this.peek!=e;)if(92==this.peek){n+=i.substring(r,this.index),this.advance();var o=void 0;if(this.peek=this.peek,117==this.peek){var s=i.substring(this.index+1,this.index+5);if(!/^[0-9a-f]+$/i.test(s))return this.error("Invalid unicode escape [\\u"+s+"]",0);o=parseInt(s,16);for(var a=0;a<5;a++)this.advance()}else o=Mt(this.peek),this.advance();n+=String.fromCharCode(o),r=this.index}else{if(this.peek==Ps)return this.error("Unterminated quote",0);this.advance()}var u=i.substring(r,this.index);return this.advance(),bt(t,n+u)},t.prototype.error=function(t,e){var n=this.index+e;return Et(n,"Lexer Error: "+t+" at column "+n+" in expression ["+this.input+"]")},t}(),fa=function(){function t(t,e,n,r){this.input=e,this.errLocation=n,this.ctxLocation=r,this.message="Parser Error: "+t+" "+n+" ["+e+"] in "+r}return t}(),da=function(){function t(t,e){this.start=t,this.end=e}return t}(),va=function(){function t(t){this.span=t}return t.prototype.visit=function(t,e){return void 0===e&&(e=null),null},t.prototype.toString=function(){return"AST"},t}(),ya=function(t){function e(e,n,r,i){var o=t.call(this,e)||this;return o.prefix=n,o.uninterpretedExpression=r,o.location=i,o}return Object(Ni.b)(e,t),e.prototype.visit=function(t,e){return void 0===e&&(e=null),t.visitQuote(this,e)},e.prototype.toString=function(){return"Quote"},e}(va),ma=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(Ni.b)(e,t),e.prototype.visit=function(t,e){void 0===e&&(e=null)},e}(va),ga=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(Ni.b)(e,t),e.prototype.visit=function(t,e){return void 0===e&&(e=null),t.visitImplicitReceiver(this,e)},e}(va),_a=function(t){function e(e,n){var r=t.call(this,e)||this;return r.expressions=n,r}return Object(Ni.b)(e,t),e.prototype.visit=function(t,e){return void 0===e&&(e=null),t.visitChain(this,e)},e}(va),ba=function(t){function e(e,n,r,i){var o=t.call(this,e)||this;return o.condition=n,o.trueExp=r,o.falseExp=i,o}return Object(Ni.b)(e,t),e.prototype.visit=function(t,e){return void 0===e&&(e=null),t.visitConditional(this,e)},e}(va),wa=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.receiver=n,i.name=r,i}return Object(Ni.b)(e,t),e.prototype.visit=function(t,e){return void 0===e&&(e=null),t.visitPropertyRead(this,e)},e}(va),Ea=function(t){function e(e,n,r,i){var o=t.call(this,e)||this;return o.receiver=n,o.name=r,o.value=i,o}return Object(Ni.b)(e,t),e.prototype.visit=function(t,e){return void 0===e&&(e=null),t.visitPropertyWrite(this,e)},e}(va),Ca=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.receiver=n,i.name=r,i}return Object(Ni.b)(e,t),e.prototype.visit=function(t,e){return void 0===e&&(e=null),t.visitSafePropertyRead(this,e)},e}(va),xa=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.obj=n,i.key=r,i}return Object(Ni.b)(e,t),e.prototype.visit=function(t,e){return void 0===e&&(e=null),t.visitKeyedRead(this,e)},e}(va),Sa=function(t){function e(e,n,r,i){var o=t.call(this,e)||this;return o.obj=n,o.key=r,o.value=i,o}return Object(Ni.b)(e,t),e.prototype.visit=function(t,e){return void 0===e&&(e=null),t.visitKeyedWrite(this,e)},e}(va),Ta=function(t){function e(e,n,r,i){var o=t.call(this,e)||this;return o.exp=n,o.name=r,o.args=i,o}return Object(Ni.b)(e,t),e.prototype.visit=function(t,e){return void 0===e&&(e=null),t.visitPipe(this,e)},e}(va),Pa=function(t){function e(e,n){var r=t.call(this,e)||this;return r.value=n,r}return Object(Ni.b)(e,t),e.prototype.visit=function(t,e){return void 0===e&&(e=null),t.visitLiteralPrimitive(this,e)},e}(va),Oa=function(t){function e(e,n){var r=t.call(this,e)||this;return r.expressions=n,r}return Object(Ni.b)(e,t),e.prototype.visit=function(t,e){return void 0===e&&(e=null),t.visitLiteralArray(this,e)},e}(va),Ma=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.keys=n,i.values=r,i}return Object(Ni.b)(e,t),e.prototype.visit=function(t,e){return void 0===e&&(e=null),t.visitLiteralMap(this,e)},e}(va),ka=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.strings=n,i.expressions=r,i}return Object(Ni.b)(e,t),e.prototype.visit=function(t,e){return void 0===e&&(e=null),t.visitInterpolation(this,e)},e}(va),Aa=function(t){function e(e,n,r,i){var o=t.call(this,e)||this;return o.operation=n,o.left=r,o.right=i,o}return Object(Ni.b)(e,t),e.prototype.visit=function(t,e){return void 0===e&&(e=null),t.visitBinary(this,e)},e}(va),Na=function(t){function e(e,n){var r=t.call(this,e)||this;return r.expression=n,r}return Object(Ni.b)(e,t),e.prototype.visit=function(t,e){return void 0===e&&(e=null),t.visitPrefixNot(this,e)},e}(va),Ia=function(t){function e(e,n){var r=t.call(this,e)||this;return r.expression=n,r}return Object(Ni.b)(e,t),e.prototype.visit=function(t,e){return void 0===e&&(e=null),t.visitNonNullAssert(this,e)},e}(va),Da=function(t){function e(e,n,r,i){var o=t.call(this,e)||this;return o.receiver=n,o.name=r,o.args=i,o}return Object(Ni.b)(e,t),e.prototype.visit=function(t,e){return void 0===e&&(e=null),t.visitMethodCall(this,e)},e}(va),Ra=function(t){function e(e,n,r,i){var o=t.call(this,e)||this;return o.receiver=n,o.name=r,o.args=i,o}return Object(Ni.b)(e,t),e.prototype.visit=function(t,e){return void 0===e&&(e=null),t.visitSafeMethodCall(this,e)},e}(va),ja=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.target=n,i.args=r,i}return Object(Ni.b)(e,t),e.prototype.visit=function(t,e){return void 0===e&&(e=null),t.visitFunctionCall(this,e)},e}(va),Fa=function(t){function e(e,n,r,i){var o=t.call(this,new da(0,null==n?0:n.length))||this;return o.ast=e,o.source=n,o.location=r,o.errors=i,o}return Object(Ni.b)(e,t),e.prototype.visit=function(t,e){return void 0===e&&(e=null),this.ast.visit(t,e)},e.prototype.toString=function(){return this.source+" in "+this.location},e}(va),La=function(){function t(t,e,n,r,i){this.span=t,this.key=e,this.keyIsVar=n,this.name=r,this.expression=i}return t}(),Va=(function(){function t(){}t.prototype.visitBinary=function(t,e){},t.prototype.visitChain=function(t,e){},t.prototype.visitConditional=function(t,e){},t.prototype.visitFunctionCall=function(t,e){},t.prototype.visitImplicitReceiver=function(t,e){},t.prototype.visitInterpolation=function(t,e){},t.prototype.visitKeyedRead=function(t,e){},t.prototype.visitKeyedWrite=function(t,e){},t.prototype.visitLiteralArray=function(t,e){},t.prototype.visitLiteralMap=function(t,e){},t.prototype.visitLiteralPrimitive=function(t,e){},t.prototype.visitMethodCall=function(t,e){},t.prototype.visitPipe=function(t,e){},t.prototype.visitPrefixNot=function(t,e){},t.prototype.visitNonNullAssert=function(t,e){},t.prototype.visitPropertyRead=function(t,e){},t.prototype.visitPropertyWrite=function(t,e){},t.prototype.visitQuote=function(t,e){},t.prototype.visitSafeMethodCall=function(t,e){},t.prototype.visitSafePropertyRead=function(t,e){}}(),function(){function t(){}return t.prototype.visitBinary=function(t,e){return t.left.visit(this),t.right.visit(this),null},t.prototype.visitChain=function(t,e){return this.visitAll(t.expressions,e)},t.prototype.visitConditional=function(t,e){return t.condition.visit(this),t.trueExp.visit(this),t.falseExp.visit(this),null},t.prototype.visitPipe=function(t,e){return t.exp.visit(this),this.visitAll(t.args,e),null},t.prototype.visitFunctionCall=function(t,e){return t.target.visit(this),this.visitAll(t.args,e),null},t.prototype.visitImplicitReceiver=function(t,e){return null},t.prototype.visitInterpolation=function(t,e){return this.visitAll(t.expressions,e)},t.prototype.visitKeyedRead=function(t,e){return t.obj.visit(this),t.key.visit(this),null},t.prototype.visitKeyedWrite=function(t,e){return t.obj.visit(this),t.key.visit(this),t.value.visit(this),null},t.prototype.visitLiteralArray=function(t,e){return this.visitAll(t.expressions,e)},t.prototype.visitLiteralMap=function(t,e){return this.visitAll(t.values,e)},t.prototype.visitLiteralPrimitive=function(t,e){return null},t.prototype.visitMethodCall=function(t,e){return t.receiver.visit(this),this.visitAll(t.args,e)},t.prototype.visitPrefixNot=function(t,e){return t.expression.visit(this),null},t.prototype.visitNonNullAssert=function(t,e){return t.expression.visit(this),null},t.prototype.visitPropertyRead=function(t,e){return t.receiver.visit(this),null},t.prototype.visitPropertyWrite=function(t,e){return t.receiver.visit(this),t.value.visit(this),null},t.prototype.visitSafePropertyRead=function(t,e){return t.receiver.visit(this),null},t.prototype.visitSafeMethodCall=function(t,e){return t.receiver.visit(this),this.visitAll(t.args,e)},t.prototype.visitAll=function(t,e){var n=this;return t.forEach(function(t){return t.visit(n,e)}),null},t.prototype.visitQuote=function(t,e){return null},t}()),Ha=function(){function t(){}return t.prototype.visitImplicitReceiver=function(t,e){return t},t.prototype.visitInterpolation=function(t,e){return new ka(t.span,t.strings,this.visitAll(t.expressions))},t.prototype.visitLiteralPrimitive=function(t,e){return new Pa(t.span,t.value)},t.prototype.visitPropertyRead=function(t,e){return new wa(t.span,t.receiver.visit(this),t.name)},t.prototype.visitPropertyWrite=function(t,e){return new Ea(t.span,t.receiver.visit(this),t.name,t.value.visit(this))},t.prototype.visitSafePropertyRead=function(t,e){return new Ca(t.span,t.receiver.visit(this),t.name)},t.prototype.visitMethodCall=function(t,e){return new Da(t.span,t.receiver.visit(this),t.name,this.visitAll(t.args))},t.prototype.visitSafeMethodCall=function(t,e){return new Ra(t.span,t.receiver.visit(this),t.name,this.visitAll(t.args))},t.prototype.visitFunctionCall=function(t,e){return new ja(t.span,t.target.visit(this),this.visitAll(t.args))},t.prototype.visitLiteralArray=function(t,e){return new Oa(t.span,this.visitAll(t.expressions))},t.prototype.visitLiteralMap=function(t,e){return new Ma(t.span,t.keys,this.visitAll(t.values))},t.prototype.visitBinary=function(t,e){return new Aa(t.span,t.operation,t.left.visit(this),t.right.visit(this))},t.prototype.visitPrefixNot=function(t,e){return new Na(t.span,t.expression.visit(this))},t.prototype.visitNonNullAssert=function(t,e){return new Ia(t.span,t.expression.visit(this))},t.prototype.visitConditional=function(t,e){return new ba(t.span,t.condition.visit(this),t.trueExp.visit(this),t.falseExp.visit(this))},t.prototype.visitPipe=function(t,e){return new Ta(t.span,t.exp.visit(this),t.name,this.visitAll(t.args))},t.prototype.visitKeyedRead=function(t,e){return new xa(t.span,t.obj.visit(this),t.key.visit(this))},t.prototype.visitKeyedWrite=function(t,e){return new Sa(t.span,t.obj.visit(this),t.key.visit(this),t.value.visit(this))},t.prototype.visitAll=function(t){for(var e=new Array(t.length),n=0;n0&&this._reportError("Host binding expression cannot contain "+i.join(" "),t,e),new Fa(r,t,e,this.errors)},t.prototype._reportError=function(t,e,n,r){this.errors.push(new fa(t,e,n,r))},t.prototype._parseBindingAst=function(t,e,n){var r=this._parseQuote(t,e);if(null!=r)return r;this._checkNoInterpolation(t,e,n);var i=this._stripComments(t),o=this._lexer.tokenize(i);return new qa(t,e,o,i.length,!1,this.errors,t.length-i.length).parseChain()},t.prototype._parseQuote=function(t,e){if(null==t)return null;var n=t.indexOf(":");if(-1==n)return null;var r=t.substring(0,n).trim();if(!xt(r))return null;var i=t.substring(n+1);return new ya(new da(0,t.length),r,i,e)},t.prototype.parseTemplateBindings=function(t,e,n){var r=this._lexer.tokenize(e);if(t){var i=this._lexer.tokenize(t).map(function(t){return t.index=0,t});r.unshift.apply(r,i)}return new qa(e,n,r,e.length,!1,this.errors,0).parseTemplateBindings()},t.prototype.parseInterpolation=function(t,e,n){void 0===n&&(n=is);var r=this.splitInterpolation(t,e,n);if(null==r)return null;for(var i=[],o=0;o0?(u+=n.start.length,s.push(l),a.push(u),u+=l.length+n.end.length):(this._reportError("Blank expressions are not allowed in interpolated strings",t,"at column "+this._findInterpolationErrorColumn(i,c,n)+" in",e),s.push("$implict"),a.push(u))}return new Ba(o,s,a)},t.prototype.wrapLiteralPrimitive=function(t,e){return new Fa(new Pa(new da(0,null==t?0:t.length),t),t,e,this.errors)},t.prototype._stripComments=function(t){var e=this._commentStart(t);return null!=e?t.substring(0,e).trim():t},t.prototype._commentStart=function(t){for(var e=null,n=0;n1&&this._reportError("Got interpolation ("+n.start+n.end+") where expression was expected",t,"at column "+this._findInterpolationErrorColumn(i,1,n)+" in",e)},t.prototype._findInterpolationErrorColumn=function(t,e,n){for(var r="",i=0;i":case"<=":case">=":this.advance();var n=this.parseAdditive();t=new Aa(this.span(t.span.start),e,t,n);continue}break}return t},t.prototype.parseAdditive=function(){for(var t=this.parseMultiplicative();this.next.type==aa.Operator;){var e=this.next.strValue;switch(e){case"+":case"-":this.advance();var n=this.parseMultiplicative();t=new Aa(this.span(t.span.start),e,t,n);continue}break}return t},t.prototype.parseMultiplicative=function(){for(var t=this.parsePrefix();this.next.type==aa.Operator;){var e=this.next.strValue;switch(e){case"*":case"%":case"/":this.advance();var n=this.parsePrefix();t=new Aa(this.span(t.span.start),e,t,n);continue}break}return t},t.prototype.parsePrefix=function(){if(this.next.type==aa.Operator){var t=this.inputIndex,e=this.next.strValue,n=void 0;switch(e){case"+":return this.advance(),this.parsePrefix();case"-":return this.advance(),n=this.parsePrefix(),new Aa(this.span(t),e,new Pa(new da(t,t),0),n);case"!":return this.advance(),n=this.parsePrefix(),new Na(this.span(t),n)}}return this.parseCallChain()},t.prototype.parseCallChain=function(){for(var t=this.parsePrimary();;)if(this.optionalCharacter(46))t=this.parseAccessMemberOrMethodCall(t,!1);else if(this.optionalOperator("?."))t=this.parseAccessMemberOrMethodCall(t,!0);else if(this.optionalCharacter(91)){this.rbracketsExpected++;var e=this.parsePipe();if(this.rbracketsExpected--,this.expectCharacter(93),this.optionalOperator("=")){var n=this.parseConditional();t=new Sa(this.span(t.span.start),t,e,n)}else t=new xa(this.span(t.span.start),t,e)}else if(this.optionalCharacter(40)){this.rparensExpected++;var r=this.parseCallArguments();this.rparensExpected--,this.expectCharacter(41),t=new ja(this.span(t.span.start),t,r)}else{if(!this.optionalOperator("!"))return t;t=new Ia(this.span(t.span.start),t)}},t.prototype.parsePrimary=function(){var t=this.inputIndex;if(this.optionalCharacter(40)){this.rparensExpected++;var e=this.parsePipe();return this.rparensExpected--,this.expectCharacter(41),e}if(this.next.isKeywordNull())return this.advance(),new Pa(this.span(t),null);if(this.next.isKeywordUndefined())return this.advance(),new Pa(this.span(t),void 0);if(this.next.isKeywordTrue())return this.advance(),new Pa(this.span(t),!0);if(this.next.isKeywordFalse())return this.advance(),new Pa(this.span(t),!1);if(this.next.isKeywordThis())return this.advance(),new ga(this.span(t));if(this.optionalCharacter(91)){this.rbracketsExpected++;var n=this.parseExpressionList(93);return this.rbracketsExpected--,this.expectCharacter(93),new Oa(this.span(t),n)}if(this.next.isCharacter(ia))return this.parseLiteralMap();if(this.next.isIdentifier())return this.parseAccessMemberOrMethodCall(new ga(this.span(t)),!1);if(this.next.isNumber()){var r=this.next.toNumber();return this.advance(),new Pa(this.span(t),r)}if(this.next.isString()){var i=this.next.toString();return this.advance(),new Pa(this.span(t),i)}return this.index>=this.tokens.length?(this.error("Unexpected end of expression: "+this.input),new ma(this.span(t))):(this.error("Unexpected token "+this.next),new ma(this.span(t)))},t.prototype.parseExpressionList=function(t){var e=[];if(!this.next.isCharacter(t))do{e.push(this.parsePipe())}while(this.optionalCharacter(44));return e},t.prototype.parseLiteralMap=function(){var t=[],e=[],n=this.inputIndex;if(this.expectCharacter(ia),!this.optionalCharacter(125)){this.rbracesExpected++;do{var r=this.next.isString(),i=this.expectIdentifierOrKeywordOrString();t.push({key:i,quoted:r}),this.expectCharacter(58),e.push(this.parsePipe())}while(this.optionalCharacter(44));this.rbracesExpected--,this.expectCharacter(125)}return new Ma(this.span(n),t,e)},t.prototype.parseAccessMemberOrMethodCall=function(t,e){void 0===e&&(e=!1);var n=t.span.start,r=this.expectIdentifierOrKeyword();if(this.optionalCharacter(40)){this.rparensExpected++;var i=this.parseCallArguments();this.expectCharacter(41),this.rparensExpected--;var o=this.span(n);return e?new Ra(o,t,r,i):new Da(o,t,r,i)}if(e)return this.optionalOperator("=")?(this.error("The '?.' operator cannot be used in the assignment"),new ma(this.span(n))):new Ca(this.span(n),t,r);if(this.optionalOperator("=")){if(!this.parseAction)return this.error("Bindings cannot contain assignments"),new ma(this.span(n));var s=this.parseConditional();return new Ea(this.span(n),t,r,s)}return new wa(this.span(n),t,r)},t.prototype.parseCallArguments=function(){if(this.next.isCharacter(41))return[];var t=[];do{t.push(this.parsePipe())}while(this.optionalCharacter(44));return t},t.prototype.expectTemplateBindingKey=function(){var t="",e=!1;do{t+=this.expectIdentifierOrKeywordOrString(),(e=this.optionalOperator("-"))&&(t+="-")}while(e);return t.toString()},t.prototype.parseTemplateBindings=function(){for(var t=[],e=null,n=[];this.index0&&e<0;){i--,e++;var a=n.charCodeAt(i);if(a==Ms){o--;var u=n.substr(0,i-1).lastIndexOf(String.fromCharCode(Ms));s=u>0?i-u:i}else s--}for(;i0;){var a=n.charCodeAt(i);i++,e--,a==Ms?(o++,s=0):s++}return new t(this.file,i,o,s)},t.prototype.getContext=function(t,e){var n=this.file.content,r=this.offset;if(null!=r){r>n.length-1&&(r=n.length-1);for(var i=r,o=0,s=0;o0&&(r--,o++,"\n"!=n[r]||++s!=e););for(o=0,s=0;o]"+t.after+'")':this.msg},t.prototype.toString=function(){var t=this.span.details?", "+this.span.details:"";return this.contextualMessage()+": "+this.span.start+t},t}(),Xa={TAG_OPEN_START:0,TAG_OPEN_END:1,TAG_OPEN_END_VOID:2,TAG_CLOSE:3,TEXT:4,ESCAPABLE_RAW_TEXT:5,RAW_TEXT:6,COMMENT_START:7,COMMENT_END:8,CDATA_START:9,CDATA_END:10,ATTR_NAME:11,ATTR_VALUE:12,DOC_TYPE:13,EXPANSION_FORM_START:14,EXPANSION_CASE_VALUE:15,EXPANSION_CASE_EXP_START:16,EXPANSION_CASE_EXP_END:17,EXPANSION_FORM_END:18,EOF:19};Xa[Xa.TAG_OPEN_START]="TAG_OPEN_START",Xa[Xa.TAG_OPEN_END]="TAG_OPEN_END",Xa[Xa.TAG_OPEN_END_VOID]="TAG_OPEN_END_VOID",Xa[Xa.TAG_CLOSE]="TAG_CLOSE",Xa[Xa.TEXT]="TEXT",Xa[Xa.ESCAPABLE_RAW_TEXT]="ESCAPABLE_RAW_TEXT",Xa[Xa.RAW_TEXT]="RAW_TEXT",Xa[Xa.COMMENT_START]="COMMENT_START",Xa[Xa.COMMENT_END]="COMMENT_END",Xa[Xa.CDATA_START]="CDATA_START",Xa[Xa.CDATA_END]="CDATA_END",Xa[Xa.ATTR_NAME]="ATTR_NAME",Xa[Xa.ATTR_VALUE]="ATTR_VALUE",Xa[Xa.DOC_TYPE]="DOC_TYPE",Xa[Xa.EXPANSION_FORM_START]="EXPANSION_FORM_START",Xa[Xa.EXPANSION_CASE_VALUE]="EXPANSION_CASE_VALUE",Xa[Xa.EXPANSION_CASE_EXP_START]="EXPANSION_CASE_EXP_START",Xa[Xa.EXPANSION_CASE_EXP_END]="EXPANSION_CASE_EXP_END",Xa[Xa.EXPANSION_FORM_END]="EXPANSION_FORM_END",Xa[Xa.EOF]="EOF";var Ja=function(){function t(t,e,n){this.type=t,this.parts=e,this.sourceSpan=n}return t}(),Ya=function(t){function e(e,n,r){var i=t.call(this,r,e)||this;return i.tokenType=n,i}return Object(Ni.b)(e,t),e}($a),tu=function(){function t(t,e){this.tokens=t,this.errors=e}return t}(),eu=/\r\n?/g,nu=function(){function t(t){this.error=t}return t}(),ru=function(){function t(t,e,n,r){void 0===r&&(r=is),this._file=t,this._getTagDefinition=e,this._tokenizeIcu=n,this._interpolationConfig=r,this._peek=-1,this._nextPeek=-1,this._index=-1,this._line=0,this._column=-1,this._expansionCaseStack=[],this._inInterpolation=!1,this.tokens=[],this.errors=[],this._input=t.content,this._length=t.content.length,this._advance()}return t.prototype._processCarriageReturns=function(t){return t.replace(eu,"\n")},t.prototype.tokenize=function(){for(;this._peek!==Ps;){var t=this._getLocation();try{this._attemptCharCode(60)?this._attemptCharCode(33)?this._attemptCharCode(91)?this._consumeCdata(t):this._attemptCharCode(Ls)?this._consumeComment(t):this._consumeDocType(t):this._attemptCharCode(Vs)?this._consumeTagClose(t):this._consumeTagOpen(t):this._tokenizeIcu&&this._tokenizeExpansionForm()||this._consumeText()}catch(t){if(!(t instanceof nu))throw t;this.errors.push(t.error)}}return this._beginToken(Xa.EOF),this._endToken([]),new tu(Wt(this.tokens),this.errors)},t.prototype._tokenizeExpansionForm=function(){if(Bt(this._input,this._index,this._interpolationConfig))return this._consumeExpansionFormStart(),!0;if(Ut(this._peek)&&this._isInExpansionForm())return this._consumeExpansionCaseStart(),!0;if(125===this._peek){if(this._isInExpansionCase())return this._consumeExpansionCaseEnd(),!0;if(this._isInExpansionForm())return this._consumeExpansionFormEnd(),!0}return!1},t.prototype._getLocation=function(){return new Ga(this._file,this._index,this._line,this._column)},t.prototype._getSpan=function(t,e){return void 0===t&&(t=this._getLocation()),void 0===e&&(e=this._getLocation()),new Ka(t,e)},t.prototype._beginToken=function(t,e){void 0===e&&(e=this._getLocation()),this._currentTokenStart=e,this._currentTokenType=t},t.prototype._endToken=function(t,e){void 0===e&&(e=this._getLocation());var n=new Ja(this._currentTokenType,t,new Ka(this._currentTokenStart,e));return this.tokens.push(n),this._currentTokenStart=null,this._currentTokenType=null,n},t.prototype._createError=function(t,e){this._isInExpansionForm()&&(t+=' (Do you have an unescaped "{" in your template? Use "{{ \'{\' }}") to escape it.)');var n=new Ya(t,this._currentTokenType,e);return this._currentTokenStart=null,this._currentTokenType=null,new nu(n)},t.prototype._advance=function(){if(this._index>=this._length)throw this._createError(Dt(Ps),this._getSpan());this._peek===Ms?(this._line++,this._column=0):this._peek!==Ms&&this._peek!==Ns&&this._column++,this._index++,this._peek=this._index>=this._length?Ps:this._input.charCodeAt(this._index),this._nextPeek=this._index+1>=this._length?Ps:this._input.charCodeAt(this._index+1)},t.prototype._attemptCharCode=function(t){return this._peek===t&&(this._advance(),!0)},t.prototype._attemptCharCodeCaseInsensitive=function(t){return!!zt(this._peek,t)&&(this._advance(),!0)},t.prototype._requireCharCode=function(t){var e=this._getLocation();if(!this._attemptCharCode(t))throw this._createError(Dt(this._peek),this._getSpan(e,e))},t.prototype._attemptStr=function(t){var e=t.length;if(this._index+e>this._length)return!1;for(var n=this._savePosition(),r=0;rr.offset&&o.push(this._input.substring(r.offset,this._index));this._peek!==e;)o.push(this._readChar(t))}return this._endToken([this._processCarriageReturns(o.join(""))],r)},t.prototype._consumeComment=function(t){var e=this;this._beginToken(Xa.COMMENT_START,t),this._requireCharCode(Ls),this._endToken([]);var n=this._consumeRawText(!1,Ls,function(){return e._attemptStr("->")});this._beginToken(Xa.COMMENT_END,n.sourceSpan.end),this._endToken([])},t.prototype._consumeCdata=function(t){var e=this;this._beginToken(Xa.CDATA_START,t),this._requireStr("CDATA["),this._endToken([]);var n=this._consumeRawText(!1,93,function(){return e._attemptStr("]>")});this._beginToken(Xa.CDATA_END,n.sourceSpan.end),this._endToken([])},t.prototype._consumeDocType=function(t){this._beginToken(Xa.DOC_TYPE,t),this._attemptUntilChar(Us),this._advance(),this._endToken([this._input.substring(t.offset+2,this._index-1)])},t.prototype._consumePrefixAndName=function(){for(var t=this._index,e=null;58!==this._peek&&!Lt(this._peek);)this._advance();var n;return 58===this._peek?(this._advance(),e=this._input.substring(t,this._index-1),n=this._index):n=t,this._requireCharCodeUntilFn(Ft,this._index===n?1:0),[e,this._input.substring(n,this._index)]},t.prototype._consumeTagOpen=function(t){var e,n,r=this._savePosition();try{if(!dt(this._peek))throw this._createError(Dt(this._peek),this._getSpan());var i=this._index;for(this._consumeTagOpenStart(t),e=this._input.substring(i,this._index),n=e.toLowerCase(),this._attemptCharCodeUntilFn(jt);this._peek!==Vs&&this._peek!==Us;)this._consumeAttributeName(),this._attemptCharCodeUntilFn(jt),this._attemptCharCode(Bs)&&(this._attemptCharCodeUntilFn(jt),this._consumeAttributeValue()),this._attemptCharCodeUntilFn(jt);this._consumeTagOpenEnd()}catch(e){if(e instanceof nu)return this._restorePosition(r),this._beginToken(Xa.TEXT,t),void this._endToken(["<"]);throw e}var o=this._getTagDefinition(e).contentType;o===cs.RAW_TEXT?this._consumeRawTextWithTagClose(n,!1):o===cs.ESCAPABLE_RAW_TEXT&&this._consumeRawTextWithTagClose(n,!0)},t.prototype._consumeRawTextWithTagClose=function(t,e){var n=this,r=this._consumeRawText(e,60,function(){return!!n._attemptCharCode(Vs)&&(n._attemptCharCodeUntilFn(jt),!!n._attemptStrCaseInsensitive(t)&&(n._attemptCharCodeUntilFn(jt),n._attemptCharCode(Us)))});this._beginToken(Xa.TAG_CLOSE,r.sourceSpan.end),this._endToken([null,t])},t.prototype._consumeTagOpenStart=function(t){this._beginToken(Xa.TAG_OPEN_START,t);var e=this._consumePrefixAndName();this._endToken(e)},t.prototype._consumeAttributeName=function(){this._beginToken(Xa.ATTR_NAME);var t=this._consumePrefixAndName();this._endToken(t)},t.prototype._consumeAttributeValue=function(){this._beginToken(Xa.ATTR_VALUE);var t;if(this._peek===js||this._peek===Ds){var e=this._peek;this._advance();for(var n=[];this._peek!==e;)n.push(this._readChar(!0));t=n.join(""),this._advance()}else{var r=this._index;this._requireCharCodeUntilFn(Ft,1),t=this._input.substring(r,this._index)}this._endToken([this._processCarriageReturns(t)])},t.prototype._consumeTagOpenEnd=function(){var t=this._attemptCharCode(Vs)?Xa.TAG_OPEN_END_VOID:Xa.TAG_OPEN_END;this._beginToken(t),this._requireCharCode(Us),this._endToken([])},t.prototype._consumeTagClose=function(t){this._beginToken(Xa.TAG_CLOSE,t),this._attemptCharCodeUntilFn(jt);var e=this._consumePrefixAndName();this._attemptCharCodeUntilFn(jt),this._requireCharCode(Us),this._endToken(e)},t.prototype._consumeExpansionFormStart=function(){this._beginToken(Xa.EXPANSION_FORM_START,this._getLocation()),this._requireCharCode(ia),this._endToken([]),this._expansionCaseStack.push(Xa.EXPANSION_FORM_START),this._beginToken(Xa.RAW_TEXT,this._getLocation());var t=this._readUntil(44);this._endToken([t],this._getLocation()),this._requireCharCode(44),this._attemptCharCodeUntilFn(jt),this._beginToken(Xa.RAW_TEXT,this._getLocation());var e=this._readUntil(44);this._endToken([e],this._getLocation()),this._requireCharCode(44),this._attemptCharCodeUntilFn(jt)},t.prototype._consumeExpansionCaseStart=function(){this._beginToken(Xa.EXPANSION_CASE_VALUE,this._getLocation());var t=this._readUntil(ia).trim();this._endToken([t],this._getLocation()),this._attemptCharCodeUntilFn(jt),this._beginToken(Xa.EXPANSION_CASE_EXP_START,this._getLocation()),this._requireCharCode(ia),this._endToken([],this._getLocation()),this._attemptCharCodeUntilFn(jt),this._expansionCaseStack.push(Xa.EXPANSION_CASE_EXP_START)},t.prototype._consumeExpansionCaseEnd=function(){this._beginToken(Xa.EXPANSION_CASE_EXP_END,this._getLocation()),this._requireCharCode(125),this._endToken([],this._getLocation()),this._attemptCharCodeUntilFn(jt),this._expansionCaseStack.pop()},t.prototype._consumeExpansionFormEnd=function(){this._beginToken(Xa.EXPANSION_FORM_END,this._getLocation()),this._requireCharCode(125),this._endToken([]),this._expansionCaseStack.pop()},t.prototype._consumeText=function(){var t=this._getLocation();this._beginToken(Xa.TEXT,t);var e=[];do{this._interpolationConfig&&this._attemptStr(this._interpolationConfig.start)?(e.push(this._interpolationConfig.start),this._inInterpolation=!0):this._interpolationConfig&&this._inInterpolation&&this._attemptStr(this._interpolationConfig.end)?(e.push(this._interpolationConfig.end),this._inInterpolation=!1):e.push(this._readChar(!0))}while(!this._isTextEnd());this._endToken([this._processCarriageReturns(e.join(""))])},t.prototype._isTextEnd=function(){if(60===this._peek||this._peek===Ps)return!0;if(this._tokenizeIcu&&!this._inInterpolation){if(Bt(this._input,this._index,this._interpolationConfig))return!0;if(125===this._peek&&this._isInExpansionCase())return!0}return!1},t.prototype._savePosition=function(){return[this._peek,this._index,this._column,this._line,this.tokens.length]},t.prototype._readUntil=function(t){var e=this._index;return this._attemptUntilChar(t),this._input.substring(e,this._index)},t.prototype._restorePosition=function(t){this._peek=t[0],this._index=t[1],this._column=t[2],this._line=t[3];var e=t[4];e0&&this._expansionCaseStack[this._expansionCaseStack.length-1]===Xa.EXPANSION_CASE_EXP_START},t.prototype._isInExpansionForm=function(){return this._expansionCaseStack.length>0&&this._expansionCaseStack[this._expansionCaseStack.length-1]===Xa.EXPANSION_FORM_START},t}(),iu=function(t){function e(e,n,r){var i=t.call(this,n,r)||this;return i.elementName=e,i}return Object(Ni.b)(e,t),e.create=function(t,n,r){return new e(t,n,r)},e}($a),ou=function(){function t(t,e){this.rootNodes=t,this.errors=e}return t}(),su=function(){function t(t){this.getTagDefinition=t}return t.prototype.parse=function(t,e,n,r){void 0===n&&(n=!1),void 0===r&&(r=is);var i=It(t,e,this.getTagDefinition,n,r),o=new au(i.tokens,this.getTagDefinition).build();return new ou(o.rootNodes,i.errors.concat(o.errors))},t}(),au=function(){function t(t,e){this.tokens=t,this.getTagDefinition=e,this._index=-1,this._rootNodes=[],this._errors=[],this._elementStack=[],this._advance()}return t.prototype.build=function(){for(;this._peek.type!==Xa.EOF;)this._peek.type===Xa.TAG_OPEN_START?this._consumeStartTag(this._advance()):this._peek.type===Xa.TAG_CLOSE?this._consumeEndTag(this._advance()):this._peek.type===Xa.CDATA_START?(this._closeVoidElement(),this._consumeCdata(this._advance())):this._peek.type===Xa.COMMENT_START?(this._closeVoidElement(),this._consumeComment(this._advance())):this._peek.type===Xa.TEXT||this._peek.type===Xa.RAW_TEXT||this._peek.type===Xa.ESCAPABLE_RAW_TEXT?(this._closeVoidElement(),this._consumeText(this._advance())):this._peek.type===Xa.EXPANSION_FORM_START?this._consumeExpansion(this._advance()):this._advance();return new ou(this._rootNodes,this._errors)},t.prototype._advance=function(){var t=this._peek;return this._index0)return this._errors=this._errors.concat(o.errors),null;var s=new Ka(e.sourceSpan.start,i.sourceSpan.end),a=new Ka(n.sourceSpan.start,i.sourceSpan.end);return new Jo(e.parts[0],o.rootNodes,s,e.sourceSpan,a)},t.prototype._collectExpansionExpTokens=function(t){for(var e=[],n=[Xa.EXPANSION_CASE_EXP_START];;){if(this._peek.type!==Xa.EXPANSION_FORM_START&&this._peek.type!==Xa.EXPANSION_CASE_EXP_START||n.push(this._peek.type),this._peek.type===Xa.EXPANSION_CASE_EXP_END){if(!Gt(n,Xa.EXPANSION_CASE_EXP_START))return this._errors.push(iu.create(null,t.sourceSpan,"Invalid ICU message. Missing '}'.")),null;if(n.pop(),0==n.length)return e}if(this._peek.type===Xa.EXPANSION_FORM_END){if(!Gt(n,Xa.EXPANSION_FORM_START))return this._errors.push(iu.create(null,t.sourceSpan,"Invalid ICU message. Missing '}'.")),null;n.pop()}if(this._peek.type===Xa.EOF)return this._errors.push(iu.create(null,t.sourceSpan,"Invalid ICU message. Missing '}'.")),null;e.push(this._advance())}},t.prototype._consumeText=function(t){var e=t.parts[0];if(e.length>0&&"\n"==e[0]){var n=this._getParentElement();null!=n&&0==n.children.length&&this.getTagDefinition(n.name).ignoreFirstLf&&(e=e.substring(1))}e.length>0&&this._addToParent(new $o(e,t.sourceSpan))},t.prototype._closeVoidElement=function(){var t=this._getParentElement();t&&this.getTagDefinition(t.name).isVoid&&this._elementStack.pop()},t.prototype._consumeStartTag=function(t){for(var e=t.parts[0],n=t.parts[1],r=[];this._peek.type===Xa.ATTR_NAME;)r.push(this._consumeAttr(this._advance()));var i=this._getElementFullName(e,n,this._getParentElement()),o=!1;if(this._peek.type===Xa.TAG_OPEN_END_VOID){this._advance(),o=!0;var s=this.getTagDefinition(i);s.canSelfClose||null!==st(i)||s.isVoid||this._errors.push(iu.create(i,t.sourceSpan,'Only void and foreign elements can be self closed "'+t.parts[1]+'"'))}else this._peek.type===Xa.TAG_OPEN_END&&(this._advance(),o=!1);var a=this._peek.sourceSpan.start,u=new Ka(t.sourceSpan.start,a),c=new ts(i,r,[],u,u,void 0);this._pushElement(c),o&&(this._popElement(i),c.endSourceSpan=u)},t.prototype._pushElement=function(t){var e=this._getParentElement();e&&this.getTagDefinition(e.name).isClosedByChild(t.name)&&this._elementStack.pop();var n=this.getTagDefinition(t.name),r=this._getParentElementSkippingContainers(),i=r.parent,o=r.container;if(i&&n.requireExtraParent(i.name)){var s=new ts(n.parentToAdd,[],[],t.sourceSpan,t.startSourceSpan,t.endSourceSpan);this._insertBeforeContainer(i,o,s)}this._addToParent(t),this._elementStack.push(t)},t.prototype._consumeEndTag=function(t){var e=this._getElementFullName(t.parts[0],t.parts[1],this._getParentElement());if(this._getParentElement()&&(this._getParentElement().endSourceSpan=t.sourceSpan),this.getTagDefinition(e).isVoid)this._errors.push(iu.create(e,t.sourceSpan,'Void elements do not have end tags "'+t.parts[1]+'"'));else if(!this._popElement(e)){var n='Unexpected closing tag "'+e+'". It may happen when the tag has already been closed by another tag. For more info see https://www.w3.org/TR/html5/syntax.html#closing-elements-that-have-implied-end-tags';this._errors.push(iu.create(e,t.sourceSpan,n))}},t.prototype._popElement=function(t){for(var e=this._elementStack.length-1;e>=0;e--){var n=this._elementStack[e];if(n.name==t)return this._elementStack.splice(e,this._elementStack.length-e),!0;if(!this.getTagDefinition(n.name).closedByParent)return!1}return!1},t.prototype._consumeAttr=function(t){var e=at(t.parts[0],t.parts[1]),n=t.sourceSpan.end,r="",i=void 0;if(this._peek.type===Xa.ATTR_VALUE){var o=this._advance();r=o.parts[0],n=o.sourceSpan.end,i=o.sourceSpan}return new Yo(e,r,new Ka(t.sourceSpan.start,n),i)},t.prototype._getParentElement=function(){return this._elementStack.length>0?this._elementStack[this._elementStack.length-1]:null},t.prototype._getParentElementSkippingContainers=function(){for(var t=null,e=this._elementStack.length-1;e>=0;e--){if(!rt(this._elementStack[e].name))return{parent:this._elementStack[e],container:t};t=this._elementStack[e]}return{parent:null,container:t}},t.prototype._addToParent=function(t){var e=this._getParentElement();null!=e?e.children.push(t):this._rootNodes.push(t)},t.prototype._insertBeforeContainer=function(t,e,n){if(e){if(t){var r=t.children.indexOf(e);t.children[r]=n}else this._rootNodes.push(n);n.children.push(e),this._elementStack.splice(this._elementStack.indexOf(e),0,n)}else this._addToParent(n),this._elementStack.push(n)},t.prototype._getElementFullName=function(t,e,n){return null==t&&null==(t=this.getTagDefinition(e).implicitNamespacePrefix)&&null!=n&&(t=st(n.name)),at(t,e)},t}(),uu=function(){function t(){}return t.prototype.visitText=function(t,e){return t.value},t.prototype.visitContainer=function(t,e){var n=this;return"["+t.children.map(function(t){return t.visit(n)}).join(", ")+"]"},t.prototype.visitIcu=function(t,e){var n=this,r=Object.keys(t.cases).map(function(e){return e+" {"+t.cases[e].visit(n)+"}"});return"{"+t.expression+", "+t.type+", "+r.join(", ")+"}"},t.prototype.visitTagPlaceholder=function(t,e){var n=this;return t.isVoid?'':''+t.children.map(function(t){return t.visit(n)}).join(", ")+''},t.prototype.visitPlaceholder=function(t,e){return t.value?''+t.value+"":''},t.prototype.visitIcuPlaceholder=function(t,e){return''+t.value.visit(this)+""},t}(),cu=new uu,lu=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(Ni.b)(e,t),e.prototype.visitIcu=function(t,e){var n=this,r=Object.keys(t.cases).map(function(e){return e+" {"+t.cases[e].visit(n)+"}"});return"{"+t.type+", "+r.join(", ")+"}"},e}(uu),pu={Little:0,Big:1};pu[pu.Little]="Little",pu[pu.Big]="Big";var hu=function(){function t(t,e,n,r,i,o){this.nodes=t,this.placeholders=e,this.placeholderToMessage=n,this.meaning=r,this.description=i,this.id=o,t.length?this.sources=[{filePath:t[0].sourceSpan.start.file.url,startLine:t[0].sourceSpan.start.line+1,startCol:t[0].sourceSpan.start.col+1,endLine:t[t.length-1].sourceSpan.end.line+1,endCol:t[0].sourceSpan.start.col+1}]:this.sources=[]}return t}(),fu=function(){function t(t,e){this.value=t,this.sourceSpan=e}return t.prototype.visit=function(t,e){return t.visitText(this,e)},t}(),du=function(){function t(t,e){this.children=t,this.sourceSpan=e}return t.prototype.visit=function(t,e){return t.visitContainer(this,e)},t}(),vu=function(){function t(t,e,n,r){this.expression=t,this.type=e,this.cases=n,this.sourceSpan=r}return t.prototype.visit=function(t,e){return t.visitIcu(this,e)},t}(),yu=function(){function t(t,e,n,r,i,o,s){this.tag=t,this.attrs=e,this.startName=n,this.closeName=r,this.children=i,this.isVoid=o,this.sourceSpan=s}return t.prototype.visit=function(t,e){return t.visitTagPlaceholder(this,e)},t}(),mu=function(){function t(t,e,n){this.value=t,this.name=e,this.sourceSpan=n}return t.prototype.visit=function(t,e){return t.visitPlaceholder(this,e)},t}(),gu=function(){function t(t,e,n){this.value=t,this.name=e,this.sourceSpan=n}return t.prototype.visit=function(t,e){return t.visitIcuPlaceholder(this,e)},t}(),_u=function(){function t(){}return t.prototype.visitText=function(t,e){return new fu(t.value,t.sourceSpan)},t.prototype.visitContainer=function(t,e){var n=this,r=t.children.map(function(t){return t.visit(n,e)});return new du(r,t.sourceSpan)},t.prototype.visitIcu=function(t,e){var n=this,r={};Object.keys(t.cases).forEach(function(i){return r[i]=t.cases[i].visit(n,e)});var i=new vu(t.expression,t.type,r,t.sourceSpan);return i.expressionPlaceholder=t.expressionPlaceholder,i},t.prototype.visitTagPlaceholder=function(t,e){var n=this,r=t.children.map(function(t){return t.visit(n,e)});return new yu(t.tag,t.attrs,t.startName,t.closeName,r,t.isVoid,t.sourceSpan)},t.prototype.visitPlaceholder=function(t,e){return new mu(t.value,t.name,t.sourceSpan)},t.prototype.visitIcuPlaceholder=function(t,e){return new gu(t.value,t.name,t.sourceSpan)},t}(),bu=function(){function t(){}return t.prototype.visitText=function(t,e){},t.prototype.visitContainer=function(t,e){var n=this;t.children.forEach(function(t){return t.visit(n)})},t.prototype.visitIcu=function(t,e){var n=this;Object.keys(t.cases).forEach(function(e){t.cases[e].visit(n)})},t.prototype.visitTagPlaceholder=function(t,e){var n=this;t.children.forEach(function(t){return t.visit(n)})},t.prototype.visitPlaceholder=function(t,e){},t.prototype.visitIcuPlaceholder=function(t,e){},t}(),wu=function(){function t(t){var e=void 0===t?{}:t,n=e.closedByChildren,r=e.requiredParents,i=e.implicitNamespacePrefix,o=e.contentType,s=void 0===o?cs.PARSABLE_DATA:o,a=e.closedByParent,u=void 0!==a&&a,c=e.isVoid,l=void 0!==c&&c,p=e.ignoreFirstLf,h=void 0!==p&&p,f=this;this.closedByChildren={},this.closedByParent=!1,this.canSelfClose=!1,n&&n.length>0&&n.forEach(function(t){return f.closedByChildren[t]=!0}),this.isVoid=l,this.closedByParent=u||l,r&&r.length>0&&(this.requiredParents={},this.parentToAdd=r[0],r.forEach(function(t){return f.requiredParents[t]=!0})),this.implicitNamespacePrefix=i||null,this.contentType=s,this.ignoreFirstLf=h}return t.prototype.requireExtraParent=function(t){if(!this.requiredParents)return!1;if(!t)return!0;var e=t.toLowerCase();return!("template"===e||"ng-template"===t)&&1!=this.requiredParents[e]},t.prototype.isClosedByChild=function(t){return this.isVoid||t.toLowerCase()in this.closedByChildren},t}(),Eu={base:new wu({isVoid:!0}),meta:new wu({isVoid:!0}),area:new wu({isVoid:!0}),embed:new wu({isVoid:!0}),link:new wu({isVoid:!0}),img:new wu({isVoid:!0}),input:new wu({isVoid:!0}),param:new wu({isVoid:!0}),hr:new wu({isVoid:!0}),br:new wu({isVoid:!0}),source:new wu({isVoid:!0}),track:new wu({isVoid:!0}),wbr:new wu({isVoid:!0}),p:new wu({closedByChildren:["address","article","aside","blockquote","div","dl","fieldset","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","main","nav","ol","p","pre","section","table","ul"],closedByParent:!0}),thead:new wu({closedByChildren:["tbody","tfoot"]}),tbody:new wu({closedByChildren:["tbody","tfoot"],closedByParent:!0}),tfoot:new wu({closedByChildren:["tbody"],closedByParent:!0}),tr:new wu({closedByChildren:["tr"],requiredParents:["tbody","tfoot","thead"],closedByParent:!0}),td:new wu({closedByChildren:["td","th"],closedByParent:!0}),th:new wu({closedByChildren:["td","th"],closedByParent:!0}),col:new wu({requiredParents:["colgroup"],isVoid:!0}),svg:new wu({implicitNamespacePrefix:"svg"}),math:new wu({implicitNamespacePrefix:"math"}),li:new wu({closedByChildren:["li"],closedByParent:!0}),dt:new wu({closedByChildren:["dt","dd"]}),dd:new wu({closedByChildren:["dt","dd"],closedByParent:!0}),rb:new wu({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),rt:new wu({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),rtc:new wu({closedByChildren:["rb","rtc","rp"],closedByParent:!0}),rp:new wu({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),optgroup:new wu({closedByChildren:["optgroup"],closedByParent:!0}),option:new wu({closedByChildren:["option","optgroup"],closedByParent:!0}),pre:new wu({ignoreFirstLf:!0}),listing:new wu({ignoreFirstLf:!0}),style:new wu({contentType:cs.RAW_TEXT}),script:new wu({contentType:cs.RAW_TEXT}),title:new wu({contentType:cs.ESCAPABLE_RAW_TEXT}),textarea:new wu({contentType:cs.ESCAPABLE_RAW_TEXT,ignoreFirstLf:!0})},Cu=new wu,xu={A:"LINK",B:"BOLD_TEXT",BR:"LINE_BREAK",EM:"EMPHASISED_TEXT",H1:"HEADING_LEVEL1",H2:"HEADING_LEVEL2",H3:"HEADING_LEVEL3",H4:"HEADING_LEVEL4",H5:"HEADING_LEVEL5",H6:"HEADING_LEVEL6",HR:"HORIZONTAL_RULE",I:"ITALIC_TEXT",LI:"LIST_ITEM",LINK:"MEDIA_LINK",OL:"ORDERED_LIST",P:"PARAGRAPH",Q:"QUOTATION",S:"STRIKETHROUGH_TEXT",SMALL:"SMALL_TEXT",SUB:"SUBSTRIPT",SUP:"SUPERSCRIPT",TBODY:"TABLE_BODY",TD:"TABLE_CELL",TFOOT:"TABLE_FOOTER",TH:"TABLE_HEADER_CELL",THEAD:"TABLE_HEADER",TR:"TABLE_ROW",TT:"MONOSPACED_TEXT",U:"UNDERLINED_TEXT",UL:"UNORDERED_LIST"},Su=function(){function t(){this._placeHolderNameCounts={},this._signatureToName={}}return t.prototype.getStartTagPlaceholderName=function(t,e,n){var r=this._hashTag(t,e,n);if(this._signatureToName[r])return this._signatureToName[r];var i=t.toUpperCase(),o=xu[i]||"TAG_"+i,s=this._generateUniqueName(n?o:"START_"+o);return this._signatureToName[r]=s,s},t.prototype.getCloseTagPlaceholderName=function(t){var e=this._hashClosingTag(t);if(this._signatureToName[e])return this._signatureToName[e];var n=t.toUpperCase(),r=xu[n]||"TAG_"+n,i=this._generateUniqueName("CLOSE_"+r);return this._signatureToName[e]=i,i},t.prototype.getPlaceholderName=function(t,e){var n=t.toUpperCase(),r="PH: "+n+"="+e;if(this._signatureToName[r])return this._signatureToName[r];var i=this._generateUniqueName(n);return this._signatureToName[r]=i,i},t.prototype.getUniquePlaceholder=function(t){return this._generateUniqueName(t.toUpperCase())},t.prototype._hashTag=function(t,e,n){return"<"+t+Object.keys(e).sort().map(function(t){return" "+t+"="+e[t]}).join("")+(n?"/>":">")},t.prototype._hashClosingTag=function(t){return this._hashTag("/"+t,{},!1)},t.prototype._generateUniqueName=function(t){if(!this._placeHolderNameCounts.hasOwnProperty(t))return this._placeHolderNameCounts[t]=1,t;var e=this._placeHolderNameCounts[t];return this._placeHolderNameCounts[t]=e+1,t+"_"+e},t}(),Tu=new za(new ca),Pu=function(){function t(t,e){this._expressionParser=t,this._interpolationConfig=e}return t.prototype.toI18nMessage=function(t,e,n,r){this._isIcu=1==t.length&&t[0]instanceof Xo,this._icuDepth=0,this._placeholderRegistry=new Su,this._placeholderToContent={},this._placeholderToMessage={};var i=X(this,t,{});return new hu(i,this._placeholderToContent,this._placeholderToMessage,e,n,r)},t.prototype.visitElement=function(t,e){var n=X(this,t.children),r={};t.attrs.forEach(function(t){r[t.name]=t.value});var i=me(t.name).isVoid,o=this._placeholderRegistry.getStartTagPlaceholderName(t.name,r,i);this._placeholderToContent[o]=t.sourceSpan.toString();var s="";return i||(s=this._placeholderRegistry.getCloseTagPlaceholderName(t.name),this._placeholderToContent[s]=""),new yu(t.name,r,o,s,n,i,t.sourceSpan)},t.prototype.visitAttribute=function(t,e){return this._visitTextWithInterpolation(t.value,t.sourceSpan)},t.prototype.visitText=function(t,e){return this._visitTextWithInterpolation(t.value,t.sourceSpan)},t.prototype.visitComment=function(t,e){return null},t.prototype.visitExpansion=function(e,n){var r=this;this._icuDepth++;var i={},o=new vu(e.switchValue,e.type,i,e.sourceSpan);if(e.cases.forEach(function(t){i[t.value]=new du(t.expression.map(function(t){return t.visit(r,{})}),t.expSourceSpan)}),this._icuDepth--,this._isIcu||this._icuDepth>0){var s=this._placeholderRegistry.getUniquePlaceholder("VAR_"+e.type);return o.expressionPlaceholder=s,this._placeholderToContent[s]=e.switchValue,o}var a=this._placeholderRegistry.getPlaceholderName("ICU",e.sourceSpan.toString()),u=new t(this._expressionParser,this._interpolationConfig);return this._placeholderToMessage[a]=u.toI18nMessage([e],"","",""),new gu(o,a,e.sourceSpan)},t.prototype.visitExpansionCase=function(t,e){throw new Error("Unreachable code")},t.prototype._visitTextWithInterpolation=function(t,e){var n=this._expressionParser.splitInterpolation(t,e.start.toString(),this._interpolationConfig);if(!n)return new fu(t,e);for(var r=[],i=new du(r,e),o=this._interpolationConfig,s=o.start,a=o.end,u=0;u element instead ("+t.sourceSpan.start+s+")")}this._inI18nBlock=!0,this._blockStartDepth=this._depth,this._blockChildren=[],this._blockMeaningAndDesc=t.value.replace(Au,"").trim(),this._openTranslatableSection(t)}},t.prototype.visitText=function(t,e){return this._isInTranslatableSection&&this._mayBeAddBlockChildren(t),t},t.prototype.visitElement=function(t,e){var n=this;this._mayBeAddBlockChildren(t),this._depth++;var r=this._inI18nNode,i=this._inImplicitNode,o=[],s=void 0,a=xe(t),u=a?a.value:"",c=this._implicitTags.some(function(e){return t.name===e})&&!this._inIcu&&!this._isInTranslatableSection,l=!i&&c;if(this._inImplicitNode=i||c,this._isInTranslatableSection||this._inIcu)(a||l)&&this._reportError(t,"Could not mark an element as translatable inside a translatable section"),this._mode==ju.Extract&&X(this,t.children);else{if(a||l){this._inI18nNode=!0;var p=this._addMessage(t.children,u);s=this._translateMessage(t,p)}if(this._mode==ju.Extract){var h=a||l;h&&this._openTranslatableSection(t),X(this,t.children),h&&this._closeTranslatableSection(t,t.children)}}if(this._mode===ju.Merge){(s||t.children).forEach(function(t){var r=t.visit(n,e);r&&!n._isInTranslatableSection&&(o=o.concat(r))})}if(this._visitAttributesOf(t),this._depth--,this._inI18nNode=r,this._inImplicitNode=i,this._mode===ju.Merge){var f=this._translateAttributes(t);return new ts(t.name,f,o,t.sourceSpan,t.startSourceSpan,t.endSourceSpan)}return null},t.prototype.visitAttribute=function(t,e){throw new Error("unreachable code")},t.prototype._init=function(t,e){this._mode=t,this._inI18nBlock=!1,this._inI18nNode=!1,this._depth=0,this._inIcu=!1,this._msgCountAtSectionStart=void 0,this._errors=[],this._messages=[],this._inImplicitNode=!1,this._createI18nMessage=ge(e)},t.prototype._visitAttributesOf=function(t){var e=this,n={},r=this._implicitAttrs[t.name]||[];t.attrs.filter(function(t){return t.name.startsWith("i18n-")}).forEach(function(t){return n[t.name.slice("i18n-".length)]=t.value}),t.attrs.forEach(function(t){t.name in n?e._addMessage([t],n[t.name]):r.some(function(e){return t.name===e})&&e._addMessage([t])})},t.prototype._addMessage=function(t,e){if(0==t.length||1==t.length&&t[0]instanceof Yo&&!t[0].value)return null;var n=Se(e),r=n.meaning,i=n.description,o=n.id,s=this._createI18nMessage(t,r,i,o);return this._messages.push(s),s},t.prototype._translateMessage=function(t,e){if(e&&this._mode===ju.Merge){var n=this._translations.get(e);if(n)return n;this._reportError(t,'Translation unavailable for message id="'+this._translations.digest(e)+'"')}return[]},t.prototype._translateAttributes=function(t){var e=this,n=t.attrs,r={};n.forEach(function(t){t.name.startsWith("i18n-")&&(r[t.name.slice("i18n-".length)]=Se(t.value))});var i=[];return n.forEach(function(n){if(n.name!==ku&&!n.name.startsWith("i18n-"))if(n.value&&""!=n.value&&r.hasOwnProperty(n.name)){var o=r[n.name],s=o.meaning,a=o.description,u=o.id,c=e._createI18nMessage([n],s,a,u),l=e._translations.get(c);if(l)if(0==l.length)i.push(new Yo(n.name,"",n.sourceSpan));else if(l[0]instanceof $o){var p=l[0].value;i.push(new Yo(n.name,p,n.sourceSpan))}else e._reportError(t,'Unexpected translation for attribute "'+n.name+'" (id="'+(u||e._translations.digest(c))+'")');else e._reportError(t,'Translation unavailable for attribute "'+n.name+'" (id="'+(u||e._translations.digest(c))+'")')}else i.push(n)}),i},t.prototype._mayBeAddBlockChildren=function(t){this._inI18nBlock&&!this._inIcu&&this._depth==this._blockStartDepth&&this._blockChildren.push(t)},t.prototype._openTranslatableSection=function(t){this._isInTranslatableSection?this._reportError(t,"Unexpected section start"):this._msgCountAtSectionStart=this._messages.length},Object.defineProperty(t.prototype,"_isInTranslatableSection",{get:function(){return void 0!==this._msgCountAtSectionStart},enumerable:!0,configurable:!0}),t.prototype._closeTranslatableSection=function(t,e){if(!this._isInTranslatableSection)return void this._reportError(t,"Unexpected section end");var n=this._msgCountAtSectionStart;if(1==e.reduce(function(t,e){return t+(e instanceof es?0:1)},0))for(var r=this._messages.length-1;r>=n;r--){var i=this._messages[r].nodes;if(!(1==i.length&&i[0]instanceof fu)){this._messages.splice(r,1);break}}this._msgCountAtSectionStart=void 0},t.prototype._reportError=function(t,e){this._errors.push(new Mu(t.sourceSpan,e))},t}(),Lu=function(){function t(){this.closedByParent=!1,this.contentType=cs.PARSABLE_DATA,this.isVoid=!1,this.ignoreFirstLf=!1,this.canSelfClose=!0}return t.prototype.requireExtraParent=function(t){return!1},t.prototype.isClosedByChild=function(t){return!1},t}(),Vu=new Lu,Hu=function(t){function e(){return t.call(this,Te)||this}return Object(Ni.b)(e,t),e.prototype.parse=function(e,n,r){return void 0===r&&(r=!1),t.prototype.parse.call(this,e,n,r)},e}(su),Bu=function(){function t(){}return t.prototype.createNameMapper=function(t){return null},t}(),Uu=function(t){function e(e,n){var r=t.call(this)||this;return r.mapName=n,r.internalToPublic={},r.publicToNextId={},r.publicToInternal={},e.nodes.forEach(function(t){return t.visit(r)}),r}return Object(Ni.b)(e,t),e.prototype.toPublicName=function(t){return this.internalToPublic.hasOwnProperty(t)?this.internalToPublic[t]:null},e.prototype.toInternalName=function(t){return this.publicToInternal.hasOwnProperty(t)?this.publicToInternal[t]:null},e.prototype.visitText=function(t,e){return null},e.prototype.visitTagPlaceholder=function(e,n){this.visitPlaceholderName(e.startName),t.prototype.visitTagPlaceholder.call(this,e,n),this.visitPlaceholderName(e.closeName)},e.prototype.visitPlaceholder=function(t,e){this.visitPlaceholderName(t.name)},e.prototype.visitIcuPlaceholder=function(t,e){this.visitPlaceholderName(t.name)},e.prototype.visitPlaceholderName=function(t){if(t&&!this.internalToPublic.hasOwnProperty(t)){var e=this.mapName(t);if(this.publicToInternal.hasOwnProperty(e)){var n=this.publicToNextId[e];this.publicToNextId[e]=n+1,e=e+"_"+n}else this.publicToNextId[e]=1;this.internalToPublic[t]=e,this.publicToInternal[e]=t}},e}(bu),zu=function(){function t(){}return t.prototype.visitTag=function(t){var e=this,n=this._serializeAttributes(t.attrs);if(0==t.children.length)return"<"+t.name+n+"/>";var r=t.children.map(function(t){return t.visit(e)});return"<"+t.name+n+">"+r.join("")+""},t.prototype.visitText=function(t){return t.value},t.prototype.visitDeclaration=function(t){return""},t.prototype._serializeAttributes=function(t){var e=Object.keys(t).map(function(e){return e+'="'+t[e]+'"'}).join(" ");return e.length>0?" "+e:""},t.prototype.visitDoctype=function(t){return""},t}(),qu=new zu,Wu=function(){function t(t){var e=this;this.attrs={},Object.keys(t).forEach(function(n){e.attrs[n]=Oe(t[n])})}return t.prototype.visit=function(t){return t.visitDeclaration(this)},t}(),Gu=function(){function t(t,e){this.rootTag=t,this.dtd=e}return t.prototype.visit=function(t){return t.visitDoctype(this)},t}(),Zu=function(){function t(t,e,n){void 0===e&&(e={}),void 0===n&&(n=[]);var r=this;this.name=t,this.children=n,this.attrs={},Object.keys(e).forEach(function(t){r.attrs[t]=Oe(e[t])})}return t.prototype.visit=function(t){return t.visitTag(this)},t}(),Ku=function(){function t(t){this.value=Oe(t)}return t.prototype.visit=function(t){return t.visitText(this)},t}(),Qu=function(t){function e(e){return void 0===e&&(e=0),t.call(this,"\n"+new Array(e+1).join(" "))||this}return Object(Ni.b)(e,t),e}(Ku),$u=[[/&/g,"&"],[/"/g,"""],[/'/g,"'"],[//g,">"]],Xu=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(Ni.b)(e,t),e.prototype.write=function(t,e){var n=new Ju,r=[];t.forEach(function(t){var e=[];t.sources.forEach(function(t){var n=new Zu("context-group",{purpose:"location"});n.children.push(new Qu(10),new Zu("context",{"context-type":"sourcefile"},[new Ku(t.filePath)]),new Qu(10),new Zu("context",{"context-type":"linenumber"},[new Ku(""+t.startLine)]),new Qu(8)),e.push(new Qu(8),n)});var i=new Zu("trans-unit",{id:t.id,datatype:"html"});(o=i.children).push.apply(o,[new Qu(8),new Zu("source",{},n.serialize(t.nodes))].concat(e)),t.description&&i.children.push(new Qu(8),new Zu("note",{priority:"1",from:"description"},[new Ku(t.description)])),t.meaning&&i.children.push(new Qu(8),new Zu("note",{priority:"1",from:"meaning"},[new Ku(t.meaning)])),i.children.push(new Qu(6)),r.push(new Qu(6),i);var o});var i=new Zu("body",{},r.concat([new Qu(4)])),o=new Zu("file",{"source-language":e||"en",datatype:"plaintext",original:"ng2.template"},[new Qu(4),i,new Qu(2)]),s=new Zu("xliff",{version:"1.2",xmlns:"urn:oasis:names:tc:xliff:document:1.2"},[new Qu(2),o,new Qu]);return Pe([new Wu({version:"1.0",encoding:"UTF-8"}),new Qu,s,new Qu])},e.prototype.load=function(t,e){var n=new Yu,r=n.parse(t,e),i=r.locale,o=r.msgIdToHtml,s=r.errors,a={},u=new tc;if(Object.keys(o).forEach(function(t){var n=u.convert(o[t],e),r=n.i18nNodes,i=n.errors;s.push.apply(s,i),a[t]=r}),s.length)throw new Error("xliff parse errors:\n"+s.join("\n"));return{locale:i,i18nNodesByMsgId:a}},e.prototype.digest=function(t){return Zt(t)},e}(Bu),Ju=function(){function t(){}return t.prototype.visitText=function(t,e){return[new Ku(t.value)]},t.prototype.visitContainer=function(t,e){var n=this,r=[];return t.children.forEach(function(t){return r.push.apply(r,t.visit(n))}),r},t.prototype.visitIcu=function(t,e){var n=this,r=[new Ku("{"+t.expressionPlaceholder+", "+t.type+", ")];return Object.keys(t.cases).forEach(function(e){r.push.apply(r,[new Ku(e+" {")].concat(t.cases[e].visit(n),[new Ku("} ")]))}),r.push(new Ku("}")),r},t.prototype.visitTagPlaceholder=function(t,e){var n=Me(t.tag);if(t.isVoid)return[new Zu("x",{id:t.startName,ctype:n,"equiv-text":"<"+t.tag+"/>"})];var r=new Zu("x",{id:t.startName,ctype:n,"equiv-text":"<"+t.tag+">"}),i=new Zu("x",{id:t.closeName,ctype:n,"equiv-text":""});return[r].concat(this.serialize(t.children),[i])},t.prototype.visitPlaceholder=function(t,e){return[new Zu("x",{id:t.name,"equiv-text":"{{"+t.value+"}}"})]},t.prototype.visitIcuPlaceholder=function(t,e){var n="{"+t.value.expression+", "+t.value.type+", "+Object.keys(t.value.cases).map(function(t){return t+" {...}"}).join(" ")+"}";return[new Zu("x",{id:t.name,"equiv-text":n})]},t.prototype.serialize=function(t){var e=this;return[].concat.apply([],t.map(function(t){return t.visit(e)}))},t}(),Yu=function(){function t(){this._locale=null}return t.prototype.parse=function(t,e){this._unitMlString=null,this._msgIdToHtml={};var n=(new Hu).parse(t,e,!1);return this._errors=n.errors,X(this,n.rootNodes,null),{msgIdToHtml:this._msgIdToHtml,errors:this._errors,locale:this._locale}},t.prototype.visitElement=function(t,e){switch(t.name){case"trans-unit":this._unitMlString=null;var n=t.attrs.find(function(t){return"id"===t.name});if(n){var r=n.value;this._msgIdToHtml.hasOwnProperty(r)?this._addError(t,"Duplicated translations for msg "+r):(X(this,t.children,null),"string"==typeof this._unitMlString?this._msgIdToHtml[r]=this._unitMlString:this._addError(t,"Message "+r+" misses a translation"))}else this._addError(t,' misses the "id" attribute');break;case"source":break;case"target":var i=t.startSourceSpan.end.offset,o=t.endSourceSpan.start.offset,s=t.startSourceSpan.start.file.content,a=s.slice(i,o);this._unitMlString=a;break;case"file":var u=t.attrs.find(function(t){return"target-language"===t.name});u&&(this._locale=u.value),X(this,t.children,null);break;default:X(this,t.children,null)}},t.prototype.visitAttribute=function(t,e){},t.prototype.visitText=function(t,e){},t.prototype.visitComment=function(t,e){},t.prototype.visitExpansion=function(t,e){},t.prototype.visitExpansionCase=function(t,e){},t.prototype._addError=function(t,e){this._errors.push(new Mu(t.sourceSpan,e))},t}(),tc=function(){function t(){}return t.prototype.convert=function(t,e){var n=(new Hu).parse(t,e,!0);return this._errors=n.errors,{i18nNodes:this._errors.length>0||0==n.rootNodes.length?[]:X(this,n.rootNodes),errors:this._errors}},t.prototype.visitText=function(t,e){return new fu(t.value,t.sourceSpan)},t.prototype.visitElement=function(t,e){if("x"===t.name){var n=t.attrs.find(function(t){return"id"===t.name});if(n)return new mu("",n.value,t.sourceSpan);this._addError(t,' misses the "id" attribute')}else this._addError(t,"Unexpected tag");return null},t.prototype.visitExpansion=function(t,e){var n={};return X(this,t.cases).forEach(function(e){n[e.value]=new du(e.nodes,t.sourceSpan)}),new vu(t.switchValue,t.type,n,t.sourceSpan)},t.prototype.visitExpansionCase=function(t,e){return{value:t.value,nodes:X(this,t.expression)}},t.prototype.visitComment=function(t,e){},t.prototype.visitAttribute=function(t,e){},t.prototype._addError=function(t,e){this._errors.push(new Mu(t.sourceSpan,e))},t}(),ec=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(Ni.b)(e,t),e.prototype.write=function(t,e){var n=new nc,r=[];t.forEach(function(t){var e=new Zu("unit",{id:t.id}),i=new Zu("notes");(t.description||t.meaning)&&(t.description&&i.children.push(new Qu(8),new Zu("note",{category:"description"},[new Ku(t.description)])),t.meaning&&i.children.push(new Qu(8),new Zu("note",{category:"meaning"},[new Ku(t.meaning)]))),t.sources.forEach(function(t){i.children.push(new Qu(8),new Zu("note",{category:"location"},[new Ku(t.filePath+":"+t.startLine+(t.endLine!==t.startLine?","+t.endLine:""))]))}),i.children.push(new Qu(6)),e.children.push(new Qu(6),i);var o=new Zu("segment");o.children.push(new Qu(8),new Zu("source",{},n.serialize(t.nodes)),new Qu(6)),e.children.push(new Qu(6),o,new Qu(4)),r.push(new Qu(4),e)});var i=new Zu("file",{original:"ng.template",id:"ngi18n"},r.concat([new Qu(2)])),o=new Zu("xliff",{version:"2.0",xmlns:"urn:oasis:names:tc:xliff:document:2.0",srcLang:e||"en"},[new Qu(2),i,new Qu]);return Pe([new Wu({version:"1.0",encoding:"UTF-8"}),new Qu,o,new Qu])},e.prototype.load=function(t,e){var n=new rc,r=n.parse(t,e),i=r.locale,o=r.msgIdToHtml,s=r.errors,a={},u=new ic;if(Object.keys(o).forEach(function(t){var n=u.convert(o[t],e),r=n.i18nNodes,i=n.errors;s.push.apply(s,i),a[t]=r}),s.length)throw new Error("xliff2 parse errors:\n"+s.join("\n"));return{locale:i,i18nNodesByMsgId:a}},e.prototype.digest=function(t){return Kt(t)},e}(Bu),nc=function(){function t(){}return t.prototype.visitText=function(t,e){return[new Ku(t.value)]},t.prototype.visitContainer=function(t,e){var n=this,r=[];return t.children.forEach(function(t){return r.push.apply(r,t.visit(n))}),r},t.prototype.visitIcu=function(t,e){var n=this,r=[new Ku("{"+t.expressionPlaceholder+", "+t.type+", ")];return Object.keys(t.cases).forEach(function(e){r.push.apply(r,[new Ku(e+" {")].concat(t.cases[e].visit(n),[new Ku("} ")]))}),r.push(new Ku("}")),r},t.prototype.visitTagPlaceholder=function(t,e){var n=this,r=ke(t.tag);if(t.isVoid){return[new Zu("ph",{id:(this._nextPlaceholderId++).toString(),equiv:t.startName,type:r,disp:"<"+t.tag+"/>"})]}var i=new Zu("pc",{id:(this._nextPlaceholderId++).toString(),equivStart:t.startName,equivEnd:t.closeName,type:r,dispStart:"<"+t.tag+">",dispEnd:""}),o=[].concat.apply([],t.children.map(function(t){return t.visit(n)}));return o.length?o.forEach(function(t){return i.children.push(t)}):i.children.push(new Ku("")),[i]},t.prototype.visitPlaceholder=function(t,e){var n=(this._nextPlaceholderId++).toString();return[new Zu("ph",{id:n,equiv:t.name,disp:"{{"+t.value+"}}"})]},t.prototype.visitIcuPlaceholder=function(t,e){var n=Object.keys(t.value.cases).map(function(t){return t+" {...}"}).join(" "),r=(this._nextPlaceholderId++).toString();return[new Zu("ph",{id:r,equiv:t.name,disp:"{"+t.value.expression+", "+t.value.type+", "+n+"}"})]},t.prototype.serialize=function(t){var e=this;return this._nextPlaceholderId=0,[].concat.apply([],t.map(function(t){return t.visit(e)}))},t}(),rc=function(){function t(){this._locale=null}return t.prototype.parse=function(t,e){this._unitMlString=null,this._msgIdToHtml={};var n=(new Hu).parse(t,e,!1);return this._errors=n.errors,X(this,n.rootNodes,null),{msgIdToHtml:this._msgIdToHtml,errors:this._errors,locale:this._locale}},t.prototype.visitElement=function(t,e){switch(t.name){case"unit":this._unitMlString=null;var n=t.attrs.find(function(t){return"id"===t.name});if(n){var r=n.value;this._msgIdToHtml.hasOwnProperty(r)?this._addError(t,"Duplicated translations for msg "+r):(X(this,t.children,null),"string"==typeof this._unitMlString?this._msgIdToHtml[r]=this._unitMlString:this._addError(t,"Message "+r+" misses a translation"))}else this._addError(t,' misses the "id" attribute');break;case"source":break;case"target":var i=t.startSourceSpan.end.offset,o=t.endSourceSpan.start.offset,s=t.startSourceSpan.start.file.content,a=s.slice(i,o);this._unitMlString=a;break;case"xliff":var u=t.attrs.find(function(t){return"trgLang"===t.name});u&&(this._locale=u.value);var c=t.attrs.find(function(t){return"version"===t.name});if(c){var l=c.value;"2.0"!==l?this._addError(t,"The XLIFF file version "+l+" is not compatible with XLIFF 2.0 serializer"):X(this,t.children,null)}break;default:X(this,t.children,null)}},t.prototype.visitAttribute=function(t,e){},t.prototype.visitText=function(t,e){},t.prototype.visitComment=function(t,e){},t.prototype.visitExpansion=function(t,e){},t.prototype.visitExpansionCase=function(t,e){},t.prototype._addError=function(t,e){this._errors.push(new Mu(t.sourceSpan,e))},t}(),ic=function(){function t(){}return t.prototype.convert=function(t,e){var n=(new Hu).parse(t,e,!0);return this._errors=n.errors,{i18nNodes:this._errors.length>0||0==n.rootNodes.length?[]:[].concat.apply([],X(this,n.rootNodes)),errors:this._errors}},t.prototype.visitText=function(t,e){return new fu(t.value,t.sourceSpan)},t.prototype.visitElement=function(t,e){var n=this;switch(t.name){case"ph":var r=t.attrs.find(function(t){return"equiv"===t.name});if(r)return[new mu("",r.value,t.sourceSpan)];this._addError(t,' misses the "equiv" attribute');break;case"pc":var i=t.attrs.find(function(t){return"equivStart"===t.name}),o=t.attrs.find(function(t){return"equivEnd"===t.name});if(i){if(o){var s=i.value,a=o.value,u=[];return u.concat.apply(u,[new mu("",s,t.sourceSpan)].concat(t.children.map(function(t){return t.visit(n,null)}),[new mu("",a,t.sourceSpan)]))}this._addError(t,' misses the "equivEnd" attribute')}else this._addError(t,' misses the "equivStart" attribute');break;default:this._addError(t,"Unexpected tag")}return null},t.prototype.visitExpansion=function(t,e){var n={};return X(this,t.cases).forEach(function(e){n[e.value]=new du(e.nodes,t.sourceSpan)}),new vu(t.switchValue,t.type,n,t.sourceSpan)},t.prototype.visitExpansionCase=function(t,e){return{value:t.value,nodes:[].concat.apply([],X(this,t.expression))}},t.prototype.visitComment=function(t,e){},t.prototype.visitAttribute=function(t,e){},t.prototype._addError=function(t,e){this._errors.push(new Mu(t.sourceSpan,e))},t}(),oc=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(Ni.b)(e,t),e.prototype.write=function(t,e){var n=new ac,r=new sc,i=new Zu("messagebundle");return t.forEach(function(t){var e={id:t.id};t.description&&(e.desc=t.description),t.meaning&&(e.meaning=t.meaning);var n=[];t.sources.forEach(function(t){n.push(new Zu("source",{},[new Ku(t.filePath+":"+t.startLine+(t.endLine!==t.startLine?","+t.endLine:""))]))}),i.children.push(new Qu(2),new Zu("msg",e,n.concat(r.serialize(t.nodes))))}),i.children.push(new Qu),Pe([new Wu({version:"1.0",encoding:"UTF-8"}),new Qu,new Gu("messagebundle",'\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n'),new Qu,n.addDefaultExamples(i),new Qu])},e.prototype.load=function(t,e){throw new Error("Unsupported")},e.prototype.digest=function(t){return Ae(t)},e.prototype.createNameMapper=function(t){return new Uu(t,Ne)},e}(Bu),sc=function(){function t(){}return t.prototype.visitText=function(t,e){return[new Ku(t.value)]},t.prototype.visitContainer=function(t,e){var n=this,r=[];return t.children.forEach(function(t){return r.push.apply(r,t.visit(n))}),r},t.prototype.visitIcu=function(t,e){var n=this,r=[new Ku("{"+t.expressionPlaceholder+", "+t.type+", ")];return Object.keys(t.cases).forEach(function(e){r.push.apply(r,[new Ku(e+" {")].concat(t.cases[e].visit(n),[new Ku("} ")]))}),r.push(new Ku("}")),r},t.prototype.visitTagPlaceholder=function(t,e){var n=new Zu("ex",{},[new Ku("<"+t.tag+">")]),r=new Zu("ph",{name:t.startName},[n]);if(t.isVoid)return[r];var i=new Zu("ex",{},[new Ku("")]),o=new Zu("ph",{name:t.closeName},[i]);return[r].concat(this.serialize(t.children),[o])},t.prototype.visitPlaceholder=function(t,e){var n=new Zu("ex",{},[new Ku("{{"+t.value+"}}")]);return[new Zu("ph",{name:t.name},[n])]},t.prototype.visitIcuPlaceholder=function(t,e){var n=new Zu("ex",{},[new Ku("{"+t.value.expression+", "+t.value.type+", "+Object.keys(t.value.cases).map(function(t){return t+" {...}"}).join(" ")+"}")]);return[new Zu("ph",{name:t.name},[n])]},t.prototype.serialize=function(t){var e=this;return[].concat.apply([],t.map(function(t){return t.visit(e)}))},t}(),ac=function(){function t(){}return t.prototype.addDefaultExamples=function(t){return t.visit(this),t},t.prototype.visitTag=function(t){var e=this;if("ph"===t.name){if(!t.children||0==t.children.length){var n=new Ku(t.attrs.name||"...");t.children=[new Zu("ex",{},[n])]}}else t.children&&t.children.forEach(function(t){return t.visit(e)})},t.prototype.visitText=function(t){},t.prototype.visitDeclaration=function(t){},t.prototype.visitDoctype=function(t){},t}(),uc=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(Ni.b)(e,t),e.prototype.write=function(t,e){throw new Error("Unsupported")},e.prototype.load=function(t,e){var n=new cc,r=n.parse(t,e),i=r.locale,o=r.msgIdToHtml,s=r.errors,a={},u=new lc;if(Object.keys(o).forEach(function(t){Ie(a,t,function(){var n=u.convert(o[t],e),r=n.i18nNodes,i=n.errors;if(i.length)throw new Error("xtb parse errors:\n"+i.join("\n"));return r})}),s.length)throw new Error("xtb parse errors:\n"+s.join("\n"));return{locale:i,i18nNodesByMsgId:a}},e.prototype.digest=function(t){return Ae(t)},e.prototype.createNameMapper=function(t){return new Uu(t,Ne)},e}(Bu),cc=function(){function t(){this._locale=null}return t.prototype.parse=function(t,e){this._bundleDepth=0,this._msgIdToHtml={};var n=(new Hu).parse(t,e,!1);return this._errors=n.errors,X(this,n.rootNodes),{msgIdToHtml:this._msgIdToHtml,errors:this._errors,locale:this._locale}},t.prototype.visitElement=function(t,e){switch(t.name){case"translationbundle":this._bundleDepth++,this._bundleDepth>1&&this._addError(t," elements can not be nested");var n=t.attrs.find(function(t){return"lang"===t.name});n&&(this._locale=n.value),X(this,t.children,null),this._bundleDepth--;break;case"translation":var r=t.attrs.find(function(t){return"id"===t.name});if(r){var i=r.value;if(this._msgIdToHtml.hasOwnProperty(i))this._addError(t,"Duplicated translations for msg "+i);else{var o=t.startSourceSpan.end.offset,s=t.endSourceSpan.start.offset,a=t.startSourceSpan.start.file.content,u=a.slice(o,s);this._msgIdToHtml[i]=u}}else this._addError(t,' misses the "id" attribute');break;default:this._addError(t,"Unexpected tag")}},t.prototype.visitAttribute=function(t,e){},t.prototype.visitText=function(t,e){},t.prototype.visitComment=function(t,e){},t.prototype.visitExpansion=function(t,e){},t.prototype.visitExpansionCase=function(t,e){},t.prototype._addError=function(t,e){this._errors.push(new Mu(t.sourceSpan,e))},t}(),lc=function(){function t(){}return t.prototype.convert=function(t,e){var n=(new Hu).parse(t,e,!0);return this._errors=n.errors,{i18nNodes:this._errors.length>0||0==n.rootNodes.length?[]:X(this,n.rootNodes),errors:this._errors}},t.prototype.visitText=function(t,e){return new fu(t.value,t.sourceSpan)},t.prototype.visitExpansion=function(t,e){var n={};return X(this,t.cases).forEach(function(e){n[e.value]=new du(e.nodes,t.sourceSpan)}),new vu(t.switchValue,t.type,n,t.sourceSpan)},t.prototype.visitExpansionCase=function(t,e){return{value:t.value,nodes:X(this,t.expression)}},t.prototype.visitElement=function(t,e){if("ph"===t.name){var n=t.attrs.find(function(t){return"name"===t.name});if(n)return new mu("",n.value,t.sourceSpan);this._addError(t,' misses the "name" attribute')}else this._addError(t,"Unexpected tag");return null},t.prototype.visitComment=function(t,e){},t.prototype.visitAttribute=function(t,e){},t.prototype._addError=function(t,e){this._errors.push(new Mu(t.sourceSpan,e))},t}(),pc=function(t){function e(){return t.call(this,me)||this}return Object(Ni.b)(e,t),e.prototype.parse=function(e,n,r,i){return void 0===r&&(r=!1),void 0===i&&(i=is),t.prototype.parse.call(this,e,n,r,i)},e}(su),hc=function(){function t(t,e,n,r,i,o){void 0===t&&(t={}),void 0===i&&(i=ho.Warning),this._i18nNodesByMsgId=t,this.digest=n,this.mapperFactory=r,this._i18nToHtml=new fc(t,e,n,r,i,o)}return t.load=function(e,n,r,i,o){var s=r.load(e,n),a=s.locale;return new t(s.i18nNodesByMsgId,a,function(t){return r.digest(t)},function(t){return r.createNameMapper(t)},i,o)},t.prototype.get=function(t){var e=this._i18nToHtml.convert(t);if(e.errors.length)throw new Error(e.errors.join("\n"));return e.nodes},t.prototype.has=function(t){return this.digest(t)in this._i18nNodesByMsgId},t}(),fc=function(){function t(t,e,n,r,i,o){void 0===t&&(t={}),this._i18nNodesByMsgId=t,this._locale=e,this._digest=n,this._mapperFactory=r,this._missingTranslationStrategy=i,this._console=o,this._contextStack=[],this._errors=[]}return t.prototype.convert=function(t){this._contextStack.length=0,this._errors.length=0;var e=this._convertToText(t),n=t.nodes[0].sourceSpan.start.file.url,r=(new pc).parse(e,n,!0);return{nodes:r.rootNodes,errors:this._errors.concat(r.errors)}},t.prototype.visitText=function(t,e){return t.value},t.prototype.visitContainer=function(t,e){var n=this;return t.children.map(function(t){return t.visit(n)}).join("")},t.prototype.visitIcu=function(t,e){var n=this,r=Object.keys(t.cases).map(function(e){return e+" {"+t.cases[e].visit(n)+"}"});return"{"+(this._srcMsg.placeholders.hasOwnProperty(t.expression)?this._srcMsg.placeholders[t.expression]:t.expression)+", "+t.type+", "+r.join(" ")+"}"},t.prototype.visitPlaceholder=function(t,e){var n=this._mapper(t.name);return this._srcMsg.placeholders.hasOwnProperty(n)?this._srcMsg.placeholders[n]:this._srcMsg.placeholderToMessage.hasOwnProperty(n)?this._convertToText(this._srcMsg.placeholderToMessage[n]):(this._addError(t,'Unknown placeholder "'+t.name+'"'),"")},t.prototype.visitTagPlaceholder=function(t,e){var n=this,r=""+t.tag,i=Object.keys(t.attrs).map(function(e){return e+'="'+t.attrs[e]+'"'}).join(" ");return t.isVoid?"<"+r+" "+i+"/>":"<"+r+" "+i+">"+t.children.map(function(t){return t.visit(n)}).join("")+""},t.prototype.visitIcuPlaceholder=function(t,e){return this._convertToText(this._srcMsg.placeholderToMessage[t.name])},t.prototype._convertToText=function(t){var e,n=this,r=this._digest(t),i=this._mapperFactory?this._mapperFactory(t):null;if(this._contextStack.push({msg:this._srcMsg,mapper:this._mapper}),this._srcMsg=t,this._i18nNodesByMsgId.hasOwnProperty(r))e=this._i18nNodesByMsgId[r],this._mapper=function(t){return i?i.toInternalName(t):t};else{if(this._missingTranslationStrategy===ho.Error){var o=this._locale?' for locale "'+this._locale+'"':"";this._addError(t.nodes[0],'Missing translation for message "'+r+'"'+o)}else if(this._console&&this._missingTranslationStrategy===ho.Warning){var o=this._locale?' for locale "'+this._locale+'"':"";this._console.warn('Missing translation for message "'+r+'"'+o)}e=t.nodes,this._mapper=function(t){return t}}var s=e.map(function(t){return t.visit(n)}).join(""),a=this._contextStack.pop();return this._srcMsg=a.msg,this._mapper=a.mapper,s},t.prototype._addError=function(t,e){this._errors.push(new Mu(t.sourceSpan,e))},t}(),dc=function(){function t(t,e,n,r,i){if(void 0===r&&(r=ho.Warning),this._htmlParser=t,e){var o=De(n);this._translationBundle=hc.load(e,"i18n",o,r,i)}else this._translationBundle=new hc({},null,Zt,void 0,r,i)}return t.prototype.parse=function(t,e,n,r){void 0===n&&(n=!1),void 0===r&&(r=is);var i=this._htmlParser.parse(t,e,n,r);return i.errors.length?new ou(i.rootNodes,i.errors):we(i.rootNodes,this._translationBundle,r,[],{})},t}(),vc=/(\.ts|\.d\.ts|\.js|\.jsx|\.tsx)$/,yc=/\.ngfactory\.|\.ngsummary\./,mc=/\.ngsummary\./,gc=/NgSummary$/,_c=/\u0275\d+/,bc="@angular/core",wc=function(){function t(){}return t.ANALYZE_FOR_ENTRY_COMPONENTS={name:"ANALYZE_FOR_ENTRY_COMPONENTS",moduleName:bc},t.ElementRef={name:"ElementRef",moduleName:bc},t.NgModuleRef={name:"NgModuleRef",moduleName:bc},t.ViewContainerRef={name:"ViewContainerRef",moduleName:bc},t.ChangeDetectorRef={name:"ChangeDetectorRef",moduleName:bc},t.QueryList={name:"QueryList",moduleName:bc},t.TemplateRef={name:"TemplateRef",moduleName:bc},t.CodegenComponentFactoryResolver={name:"ɵCodegenComponentFactoryResolver",moduleName:bc},t.ComponentFactoryResolver={name:"ComponentFactoryResolver",moduleName:bc},t.ComponentFactory={name:"ComponentFactory",moduleName:bc},t.ComponentRef={name:"ComponentRef",moduleName:bc},t.NgModuleFactory={name:"NgModuleFactory",moduleName:bc},t.createModuleFactory={name:"ɵcmf",moduleName:bc},t.moduleDef={name:"ɵmod",moduleName:bc},t.moduleProviderDef={name:"ɵmpd",moduleName:bc},t.RegisterModuleFactoryFn={name:"ɵregisterModuleFactory",moduleName:bc},t.Injector={name:"Injector",moduleName:bc},t.ViewEncapsulation={name:"ViewEncapsulation",moduleName:bc},t.ChangeDetectionStrategy={name:"ChangeDetectionStrategy",moduleName:bc},t.SecurityContext={name:"SecurityContext",moduleName:bc},t.LOCALE_ID={name:"LOCALE_ID",moduleName:bc},t.TRANSLATIONS_FORMAT={name:"TRANSLATIONS_FORMAT",moduleName:bc},t.inlineInterpolate={name:"ɵinlineInterpolate",moduleName:bc},t.interpolate={name:"ɵinterpolate",moduleName:bc},t.EMPTY_ARRAY={name:"ɵEMPTY_ARRAY",moduleName:bc},t.EMPTY_MAP={name:"ɵEMPTY_MAP",moduleName:bc},t.Renderer={name:"Renderer",moduleName:bc},t.viewDef={name:"ɵvid",moduleName:bc},t.elementDef={name:"ɵeld",moduleName:bc},t.anchorDef={name:"ɵand",moduleName:bc},t.textDef={name:"ɵted",moduleName:bc},t.directiveDef={name:"ɵdid",moduleName:bc},t.providerDef={name:"ɵprd",moduleName:bc},t.queryDef={name:"ɵqud",moduleName:bc},t.pureArrayDef={name:"ɵpad",moduleName:bc},t.pureObjectDef={name:"ɵpod",moduleName:bc},t.purePipeDef={name:"ɵppd",moduleName:bc},t.pipeDef={name:"ɵpid",moduleName:bc},t.nodeValue={name:"ɵnov",moduleName:bc},t.ngContentDef={name:"ɵncd",moduleName:bc},t.unwrapValue={name:"ɵunv",moduleName:bc},t.createRendererType2={name:"ɵcrt",moduleName:bc},t.RendererType2={name:"RendererType2",moduleName:bc},t.ViewDefinition={name:"ɵViewDefinition",moduleName:bc},t.createComponentFactory={name:"ɵccf",moduleName:bc},t}(),Ec={OnInit:0,OnDestroy:1,DoCheck:2,OnChanges:3,AfterContentInit:4,AfterContentChecked:5,AfterViewInit:6,AfterViewChecked:7};Ec[Ec.OnInit]="OnInit",Ec[Ec.OnDestroy]="OnDestroy",Ec[Ec.DoCheck]="DoCheck",Ec[Ec.OnChanges]="OnChanges",Ec[Ec.AfterContentInit]="AfterContentInit",Ec[Ec.AfterContentChecked]="AfterContentChecked",Ec[Ec.AfterViewInit]="AfterViewInit",Ec[Ec.AfterViewChecked]="AfterViewChecked";var Cc=[Ec.OnInit,Ec.OnDestroy,Ec.DoCheck,Ec.OnChanges,Ec.AfterContentInit,Ec.AfterContentChecked,Ec.AfterViewInit,Ec.AfterViewChecked],xc=new RegExp("(\\:not\\()|([-\\w]+)|(?:\\.([-\\w]+))|(?:\\[([-.\\w*]+)(?:=([\"']?)([^\\]\"']*)\\5)?\\])|(\\))|(\\s*,\\s*)","g"),Sc=function(){function t(){this.element=null,this.classNames=[],this.attrs=[],this.notSelectors=[]}return t.parse=function(e){var n,r=[],i=function(t,e){e.notSelectors.length>0&&!e.element&&0==e.classNames.length&&0==e.attrs.length&&(e.element="*"),t.push(e)},o=new t,s=o,a=!1;for(xc.lastIndex=0;n=xc.exec(e);){if(n[1]){if(a)throw new Error("Nesting :not is not allowed in a selector");a=!0,s=new t,o.notSelectors.push(s)}if(n[2]&&s.setElement(n[2]),n[3]&&s.addClassName(n[3]),n[4]&&s.addAttribute(n[4],n[6]),n[7]&&(a=!1,s=o),n[8]){if(a)throw new Error("Multiple selectors in :not are not supported");i(r,o),o=s=new t}}return i(r,o),r},t.prototype.isElementSelector=function(){return this.hasElementSelector()&&0==this.classNames.length&&0==this.attrs.length&&0===this.notSelectors.length},t.prototype.hasElementSelector=function(){return!!this.element},t.prototype.setElement=function(t){void 0===t&&(t=null),this.element=t},t.prototype.getMatchingElementTemplate=function(){for(var t=this.element||"div",e=this.classNames.length>0?' class="'+this.classNames.join(" ")+'"':"",n="",r=0;r":"<"+t+e+n+">"},t.prototype.addAttribute=function(t,e){void 0===e&&(e=""),this.attrs.push(t,e&&e.toLowerCase()||"")},t.prototype.addClassName=function(t){this.classNames.push(t.toLowerCase())},t.prototype.toString=function(){var t=this.element||"";if(this.classNames&&this.classNames.forEach(function(e){return t+="."+e}),this.attrs)for(var e=0;e1&&(n=new Pc(t),this._listContexts.push(n));for(var r=0;r0&&(!this.listContext||!this.listContext.alreadyMatched)){n=!Tc.createNotMatcher(this.notSelectors).match(t,null)}return!n||!e||this.listContext&&this.listContext.alreadyMatched||(this.listContext&&(this.listContext.alreadyMatched=!0),e(this.selector,this.cbContext)),n},t}(),Mc="ngComponentType",kc=function(){function t(t,e,n,r,i,o,s,a,u,c,l,p){this._config=t,this._htmlParser=e,this._ngModuleResolver=n,this._directiveResolver=r,this._pipeResolver=i,this._summaryResolver=o,this._schemaRegistry=s,this._directiveNormalizer=a,this._console=u,this._staticSymbolCache=c,this._reflector=l,this._errorCollector=p,this._nonNormalizedDirectiveCache=new Map,this._directiveCache=new Map,this._summaryCache=new Map,this._pipeCache=new Map,this._ngModuleCache=new Map,this._ngModuleOfTypes=new Map}return t.prototype.getReflector=function(){return this._reflector},t.prototype.clearCacheFor=function(t){var e=this._directiveCache.get(t);this._directiveCache.delete(t),this._nonNormalizedDirectiveCache.delete(t),this._summaryCache.delete(t),this._pipeCache.delete(t),this._ngModuleOfTypes.delete(t),this._ngModuleCache.clear(),e&&this._directiveNormalizer.clearCacheFor(e)},t.prototype.clearCache=function(){this._directiveCache.clear(),this._nonNormalizedDirectiveCache.clear(),this._summaryCache.clear(),this._pipeCache.clear(),this._ngModuleCache.clear(),this._ngModuleOfTypes.clear(),this._directiveNormalizer.clearCache()},t.prototype._createProxyClass=function(t,e){var n=null,r=function(){if(!n)throw new Error("Illegal state: Class "+e+" for type "+k(t)+" is not compiled yet!");return n.apply(this,arguments)};return r.setDelegate=function(t){n=t,r.prototype=t.prototype},r.overriddenName=e,r},t.prototype.getGeneratedClass=function(t,e){return t instanceof Lo?this._staticSymbolCache.get(Re(t.filePath),e):this._createProxyClass(t,e)},t.prototype.getComponentViewClass=function(t){return this.getGeneratedClass(t,L(t,0))},t.prototype.getHostComponentViewClass=function(t){return this.getGeneratedClass(t,H(t))},t.prototype.getHostComponentType=function(t){var e=j({reference:t})+"_Host";if(t instanceof Lo)return this._staticSymbolCache.get(t.filePath,e);var n=function(){};return n.overriddenName=e,n},t.prototype.getRendererType=function(t){return t instanceof Lo?this._staticSymbolCache.get(Re(t.filePath),V(t)):{}},t.prototype.getComponentFactory=function(t,e,n,r){if(e instanceof Lo)return this._staticSymbolCache.get(Re(e.filePath),B(e));var i=this.getHostComponentViewClass(e);return this._reflector.resolveExternalReference(wc.createComponentFactory)(t,e,i,n,r,[])},t.prototype.initComponentFactory=function(t,e){t instanceof Lo||(n=t.ngContentSelectors).push.apply(n,e);var n},t.prototype._loadSummary=function(t,e){var n=this._summaryCache.get(t);if(!n){var r=this._summaryResolver.resolveSummary(t);n=r?r.type:null,this._summaryCache.set(t,n||null)}return n&&n.summaryKind===e?n:null},t.prototype.getHostComponentMetadata=function(t,e){var n=this.getHostComponentType(t.type.reference);e||(e=this.getHostComponentViewClass(n));var r=Sc.parse(t.selector)[0].getMatchingElementTemplate(),i=this._htmlParser.parse(r,"");return Wo.create({isHost:!0,type:{reference:n,diDeps:[],lifecycleHooks:[]},template:new qo({encapsulation:Bi.None,template:r,templateUrl:"",htmlAst:i,styles:[],styleUrls:[],ngContentSelectors:[],animations:[],isInline:!0,externalStylesheets:[],interpolation:null,preserveWhitespaces:!1}),exportAs:null,changeDetection:Ui.Default,inputs:[],outputs:[],host:{},isComponent:!0,selector:"*",providers:[],viewProviders:[],queries:[],guards:{},viewQueries:[],componentViewType:e,rendererType:{id:"__Host__",encapsulation:Bi.None,styles:[],data:{}},entryComponents:[],componentFactory:null})},t.prototype.loadDirectiveMetadata=function(t,e,n){var r=this;if(this._directiveCache.has(e))return null;e=A(e);var i=this.getNonNormalizedDirectiveMetadata(e),o=i.annotation,s=i.metadata,a=function(t){var n=new Wo({isHost:!1,type:s.type,isComponent:s.isComponent,selector:s.selector,exportAs:s.exportAs,changeDetection:s.changeDetection,inputs:s.inputs,outputs:s.outputs,hostListeners:s.hostListeners,hostProperties:s.hostProperties,hostAttributes:s.hostAttributes,providers:s.providers,viewProviders:s.viewProviders,queries:s.queries,guards:s.guards,viewQueries:s.viewQueries,entryComponents:s.entryComponents,componentViewType:s.componentViewType,rendererType:s.rendererType,componentFactory:s.componentFactory,template:t});return t&&r.initComponentFactory(s.componentFactory,t.ngContentSelectors),r._directiveCache.set(e,n),r._summaryCache.set(e,n.toSummary()),null};if(s.isComponent){var u=s.template,c=this._directiveNormalizer.normalizeTemplate({ngModuleType:t,componentType:e,moduleUrl:this._reflector.componentModuleUrl(e,o),encapsulation:u.encapsulation,template:u.template,templateUrl:u.templateUrl,styles:u.styles,styleUrls:u.styleUrls,animations:u.animations,interpolation:u.interpolation,preserveWhitespaces:u.preserveWhitespaces});return N(c)&&n?(this._reportError(rn(e),e),null):yo.then(c,a)}return a(null),null},t.prototype.getNonNormalizedDirectiveMetadata=function(t){var e=this;if(!(t=A(t)))return null;var n=this._nonNormalizedDirectiveCache.get(t);if(n)return n;var r=this._directiveResolver.resolve(t,!1);if(!r)return null;var i=void 0;if(zi.isTypeOf(r)){var o=r;J("styles",o.styles),J("styleUrls",o.styleUrls),Y("interpolation",o.interpolation);var s=o.animations;i=new qo({encapsulation:S(o.encapsulation),template:S(o.template),templateUrl:S(o.templateUrl),htmlAst:null,styles:o.styles||[],styleUrls:o.styleUrls||[],animations:s||[],interpolation:S(o.interpolation),isInline:!!o.template,externalStylesheets:[],ngContentSelectors:[],preserveWhitespaces:S(r.preserveWhitespaces)})}var a=null,u=[],c=[],l=r.selector;if(zi.isTypeOf(r)){var o=r;a=o.changeDetection,o.viewProviders&&(u=this._getProvidersMetadata(o.viewProviders,c,'viewProviders for "'+nn(t)+'"',[],t)),o.entryComponents&&(c=Ye(o.entryComponents).map(function(t){return e._getEntryComponentMetadata(t)}).concat(c)),l||(l=this._schemaRegistry.getDefaultComponentElementName())}else l||(this._reportError(T("Directive "+nn(t)+" has no selector, please add it!"),t),l="error");var p=[];null!=r.providers&&(p=this._getProvidersMetadata(r.providers,c,'providers for "'+nn(t)+'"',[],t));var h=[],f=[];null!=r.queries&&(h=this._getQueriesMetadata(r.queries,!1,t),f=this._getQueriesMetadata(r.queries,!0,t));var d=Wo.create({isHost:!1,selector:l,exportAs:S(r.exportAs),isComponent:!!i,type:this._getTypeMetadata(t),template:i,changeDetection:a,inputs:r.inputs||[],outputs:r.outputs||[],host:r.host||{},providers:p||[],viewProviders:u||[],queries:h||[],guards:r.guards||{},viewQueries:f||[],entryComponents:c,componentViewType:i?this.getComponentViewClass(t):null,rendererType:i?this.getRendererType(t):null,componentFactory:null});return i&&(d.componentFactory=this.getComponentFactory(l,t,d.inputs,d.outputs)),n={metadata:d,annotation:r},this._nonNormalizedDirectiveCache.set(t,n),n},t.prototype.getDirectiveMetadata=function(t){var e=this._directiveCache.get(t);return e||this._reportError(T("Illegal state: getDirectiveMetadata can only be called after loadNgModuleDirectiveAndPipeMetadata for a module that declares it. Directive "+nn(t)+"."),t),e},t.prototype.getDirectiveSummary=function(t){var e=this._loadSummary(t,Uo.Directive);return e||this._reportError(T("Illegal state: Could not load the summary for directive "+nn(t)+"."),t),e},t.prototype.isDirective=function(t){return!!this._loadSummary(t,Uo.Directive)||this._directiveResolver.isDirective(t)},t.prototype.isPipe=function(t){return!!this._loadSummary(t,Uo.Pipe)||this._pipeResolver.isPipe(t)},t.prototype.isNgModule=function(t){return!!this._loadSummary(t,Uo.NgModule)||this._ngModuleResolver.isNgModule(t)},t.prototype.getNgModuleSummary=function(t,e){void 0===e&&(e=null);var n=this._loadSummary(t,Uo.NgModule);if(!n){var r=this.getNgModuleMetadata(t,!1,e);n=r?r.toSummary():null,n&&this._summaryCache.set(t,n)}return n},t.prototype.loadNgModuleDirectiveAndPipeMetadata=function(t,e,n){var r=this;void 0===n&&(n=!0);var i=this.getNgModuleMetadata(t,n),o=[];return i&&(i.declaredDirectives.forEach(function(n){var i=r.loadDirectiveMetadata(t,n.reference,e);i&&o.push(i)}),i.declaredPipes.forEach(function(t){return r._loadPipeMetadata(t.reference)})),Promise.all(o)},t.prototype.getNgModuleMetadata=function(t,e,n){var r=this;void 0===e&&(e=!0),void 0===n&&(n=null),t=A(t);var i=this._ngModuleCache.get(t);if(i)return i;var o=this._ngModuleResolver.resolve(t,e);if(!o)return null;var s=[],a=[],u=[],c=[],l=[],p=[],h=[],f=[],d=[];o.imports&&Ye(o.imports).forEach(function(e){var i=void 0;if(tn(e))i=e;else if(e&&e.ngModule){var o=e;i=o.ngModule,o.providers&&p.push.apply(p,r._getProvidersMetadata(o.providers,h,"provider for the NgModule '"+nn(i)+"'",[],e))}if(!i)return void r._reportError(T("Unexpected value '"+nn(e)+"' imported by the module '"+nn(t)+"'"),t);if(!r._checkSelfImport(t,i)){if(n||(n=new Set),n.has(i))return void r._reportError(T(r._getTypeDescriptor(i)+" '"+nn(e)+"' is imported recursively by the module '"+nn(t)+"'."),t);n.add(i);var s=r.getNgModuleSummary(i,n);if(n.delete(i),!s)return void r._reportError(T("Unexpected "+r._getTypeDescriptor(e)+" '"+nn(e)+"' imported by the module '"+nn(t)+"'. Please add a @NgModule annotation."),t);c.push(s)}}),o.exports&&Ye(o.exports).forEach(function(e){if(!tn(e))return void r._reportError(T("Unexpected value '"+nn(e)+"' exported by the module '"+nn(t)+"'"),t);if(n||(n=new Set),n.has(e))return void r._reportError(T(r._getTypeDescriptor(e)+" '"+k(e)+"' is exported recursively by the module '"+nn(t)+"'"),t);n.add(e);var i=r.getNgModuleSummary(e,n);n.delete(e),i?l.push(i):a.push(r._getIdentifierMetadata(e))});var v=this._getTransitiveNgModuleMetadata(c,l);o.declarations&&Ye(o.declarations).forEach(function(e){if(!tn(e))return void r._reportError(T("Unexpected value '"+nn(e)+"' declared by the module '"+nn(t)+"'"),t);var n=r._getIdentifierMetadata(e);if(r.isDirective(e))v.addDirective(n),s.push(n),r._addTypeToModule(e,t);else{if(!r.isPipe(e))return void r._reportError(T("Unexpected "+r._getTypeDescriptor(e)+" '"+nn(e)+"' declared by the module '"+nn(t)+"'. Please add a @Pipe/@Directive/@Component annotation."),t);v.addPipe(n),v.pipes.push(n),u.push(n),r._addTypeToModule(e,t)}});var y=[],m=[];return a.forEach(function(e){if(v.directivesSet.has(e.reference))y.push(e),v.addExportedDirective(e);else{if(!v.pipesSet.has(e.reference))return void r._reportError(T("Can't export "+r._getTypeDescriptor(e.reference)+" "+nn(e.reference)+" from "+nn(t)+" as it was neither declared nor imported!"),t);m.push(e),v.addExportedPipe(e)}}),o.providers&&p.push.apply(p,this._getProvidersMetadata(o.providers,h,"provider for the NgModule '"+nn(t)+"'",[],t)),o.entryComponents&&h.push.apply(h,Ye(o.entryComponents).map(function(t){return r._getEntryComponentMetadata(t)})),o.bootstrap&&Ye(o.bootstrap).forEach(function(e){if(!tn(e))return void r._reportError(T("Unexpected value '"+nn(e)+"' used in the bootstrap property of module '"+nn(t)+"'"),t);f.push(r._getIdentifierMetadata(e))}),h.push.apply(h,f.map(function(t){return r._getEntryComponentMetadata(t.reference)})),o.schemas&&d.push.apply(d,Ye(o.schemas)),i=new Zo({type:this._getTypeMetadata(t),providers:p,entryComponents:h,bootstrapComponents:f,schemas:d,declaredDirectives:s,exportedDirectives:y,declaredPipes:u,exportedPipes:m,importedModules:c,exportedModules:l,transitiveModule:v,id:o.id||null}),h.forEach(function(t){return v.addEntryComponent(t)}),p.forEach(function(t){return v.addProvider(t,i.type)}),v.addModule(i.type),this._ngModuleCache.set(t,i),i},t.prototype._checkSelfImport=function(t,e){return t===e&&(this._reportError(T("'"+nn(t)+"' module can't import itself"),t),!0)},t.prototype._getTypeDescriptor=function(t){if(tn(t)){if(this.isDirective(t))return"directive";if(this.isPipe(t))return"pipe";if(this.isNgModule(t))return"module"}return t.provide?"provider":"value"},t.prototype._addTypeToModule=function(t,e){var n=this._ngModuleOfTypes.get(t);if(n&&n!==e)return void this._reportError(T("Type "+nn(t)+" is part of the declarations of 2 modules: "+nn(n)+" and "+nn(e)+"! Please consider moving "+nn(t)+" to a higher module that imports "+nn(n)+" and "+nn(e)+". You can also create a new NgModule that exports and includes "+nn(t)+" then import that NgModule in "+nn(n)+" and "+nn(e)+"."),e);this._ngModuleOfTypes.set(t,e)},t.prototype._getTransitiveNgModuleMetadata=function(t,e){var n=new Ko,r=new Map;return t.concat(e).forEach(function(t){t.modules.forEach(function(t){return n.addModule(t)}),t.entryComponents.forEach(function(t){return n.addEntryComponent(t)});var e=new Set;t.providers.forEach(function(t){var i=z(t.provider.token),o=r.get(i);o||(o=new Set,r.set(i,o));var s=t.module.reference;!e.has(i)&&o.has(s)||(o.add(s),e.add(i),n.addProvider(t.provider,t.module))})}),e.forEach(function(t){t.exportedDirectives.forEach(function(t){return n.addExportedDirective(t)}),t.exportedPipes.forEach(function(t){return n.addExportedPipe(t)})}),t.forEach(function(t){t.exportedDirectives.forEach(function(t){return n.addDirective(t)}),t.exportedPipes.forEach(function(t){return n.addPipe(t)})}),n},t.prototype._getIdentifierMetadata=function(t){return t=A(t),{reference:t}},t.prototype.isInjectable=function(t){return this._reflector.annotations(t).some(function(t){return Yi.isTypeOf(t)})},t.prototype.getInjectableSummary=function(t){return{summaryKind:Uo.Injectable,type:this._getTypeMetadata(t,null,!1)}},t.prototype._getInjectableMetadata=function(t,e){void 0===e&&(e=null);var n=this._loadSummary(t,Uo.Injectable);return n?n.type:this._getTypeMetadata(t,e)},t.prototype._getTypeMetadata=function(t,e,n){void 0===e&&(e=null),void 0===n&&(n=!0);var r=this._getIdentifierMetadata(t);return{reference:r.reference,diDeps:this._getDependenciesMetadata(r.reference,e,n),lifecycleHooks:Qe(this._reflector,r.reference)}},t.prototype._getFactoryMetadata=function(t,e){return void 0===e&&(e=null),t=A(t),{reference:t,diDeps:this._getDependenciesMetadata(t,e)}},t.prototype.getPipeMetadata=function(t){var e=this._pipeCache.get(t);return e||this._reportError(T("Illegal state: getPipeMetadata can only be called after loadNgModuleDirectiveAndPipeMetadata for a module that declares it. Pipe "+nn(t)+"."),t),e||null},t.prototype.getPipeSummary=function(t){var e=this._loadSummary(t,Uo.Pipe);return e||this._reportError(T("Illegal state: Could not load the summary for pipe "+nn(t)+"."),t),e},t.prototype.getOrLoadPipeMetadata=function(t){var e=this._pipeCache.get(t);return e||(e=this._loadPipeMetadata(t)),e},t.prototype._loadPipeMetadata=function(t){t=A(t);var e=this._pipeResolver.resolve(t),n=new Go({type:this._getTypeMetadata(t),name:e.name,pure:!!e.pure});return this._pipeCache.set(t,n),this._summaryCache.set(t,n.toSummary()),n},t.prototype._getDependenciesMetadata=function(t,e,n){var r=this;void 0===n&&(n=!0);var i=!1,o=e||this._reflector.parameters(t)||[],s=o.map(function(t){var e=!1,n=!1,o=!1,s=!1,a=!1,u=null;return Array.isArray(t)?t.forEach(function(t){no.isTypeOf(t)?n=!0:to.isTypeOf(t)?o=!0:eo.isTypeOf(t)?s=!0:Ji.isTypeOf(t)?a=!0:Ri.isTypeOf(t)?(e=!0,u=t.attributeName):Ii.isTypeOf(t)?u=t.token:Di.isTypeOf(t)||t instanceof Lo?u=t:tn(t)&&null==u&&(u=t)}):u=t,null==u?(i=!0,null):{isAttribute:e,isHost:n,isSelf:o,isSkipSelf:s,isOptional:a,token:r._getTokenMetadata(u)}});if(i){var a=s.map(function(t){return t?nn(t.token):"?"}).join(", "),u="Can't resolve all parameters for "+nn(t)+": ("+a+").";n||this._config.strictInjectionParameters?this._reportError(T(u),t):this._console.warn("Warning: "+u+" This will become an error in Angular v6.x")}return s},t.prototype._getTokenMetadata=function(t){t=A(t);return"string"==typeof t?{value:t}:{identifier:{reference:t}}},t.prototype._getProvidersMetadata=function(t,e,n,r,i){var o=this;return void 0===r&&(r=[]),t.forEach(function(s,a){if(Array.isArray(s))o._getProvidersMetadata(s,e,n,r);else{s=A(s);var u=void 0;if(s&&"object"==typeof s&&s.hasOwnProperty("provide"))o._validateProvider(s),u=new Qo(s.provide,s);else{if(!tn(s)){if(void 0===s)return void o._reportError(T("Encountered undefined provider! Usually this means you have a circular dependencies (might be caused by using 'barrel' index.ts files."));var c=t.reduce(function(t,e,n){return n0&&i++,r=r._parent;return e=this.viewContext.viewQueries.get(z(t)),e&&n.push.apply(n,e),n},t.prototype._getOrCreateLocalProvider=function(t,e,n){var r=this,i=this._allProviders.get(z(e));if(!i||(t===Io.Directive||t===Io.PublicService)&&i.providerType===Io.PrivateService||(t===Io.PrivateService||t===Io.PublicService)&&i.providerType===Io.Builtin)return null;var o=this._transformedProviders.get(z(e));if(o)return o;if(null!=this._seenProviders.get(z(e)))return this.viewContext.errors.push(new Dl("Cannot instantiate cyclic dependency! "+U(e),this._sourceSpan)),null;this._seenProviders.set(z(e),!0);var s=i.providers.map(function(t){var e=t.useValue,o=t.useExisting,s=void 0;if(null!=t.useExisting){var a=r._getDependency(i.providerType,{token:t.useExisting},n);null!=a.token?o=a.token:(o=null,e=a.value)}else if(t.useFactory){var u=t.deps||t.useFactory.diDeps;s=u.map(function(t){return r._getDependency(i.providerType,t,n)})}else if(t.useClass){var u=t.deps||t.useClass.diDeps;s=u.map(function(t){return r._getDependency(i.providerType,t,n)})}return bn(t,{useExisting:o,useValue:e,deps:s})});return o=wn(i,{eager:n,providers:s}),this._transformedProviders.set(z(e),o),o},t.prototype._getLocalDependency=function(t,e,n){if(void 0===n&&(n=!1),e.isAttribute){var r=this._attrs[e.token.value];return{isValue:!0,value:null==r?null:r}}if(null!=e.token){if(t===Io.Directive||t===Io.Component){if(z(e.token)===this.viewContext.reflector.resolveExternalReference(wc.Renderer)||z(e.token)===this.viewContext.reflector.resolveExternalReference(wc.ElementRef)||z(e.token)===this.viewContext.reflector.resolveExternalReference(wc.ChangeDetectorRef)||z(e.token)===this.viewContext.reflector.resolveExternalReference(wc.TemplateRef))return e;z(e.token)===this.viewContext.reflector.resolveExternalReference(wc.ViewContainerRef)&&(this.transformedHasViewContainer=!0)}if(z(e.token)===this.viewContext.reflector.resolveExternalReference(wc.Injector))return e;if(null!=this._getOrCreateLocalProvider(t,e.token,n))return e}return null},t.prototype._getDependency=function(t,e,n){void 0===n&&(n=!1);var r=this,i=n,o=null;if(e.isSkipSelf||(o=this._getLocalDependency(t,e,n)),e.isSelf)!o&&e.isOptional&&(o={isValue:!0,value:null});else{for(;!o&&r._parent;){var s=r;r=r._parent,s._isViewRoot&&(i=!1),o=r._getLocalDependency(Io.PublicService,e,i)}o||(o=!e.isHost||this.viewContext.component.isHost||this.viewContext.component.type.reference===z(e.token)||null!=this.viewContext.viewProviders.get(z(e.token))?e:e.isOptional?o={isValue:!0,value:null}:null)}return o||this.viewContext.errors.push(new Dl("No provider for "+U(e.token),this._sourceSpan)),o},t}(),Fl=function(){function t(t,e,n,r){var i=this;this.reflector=t,this._transformedProviders=new Map,this._seenProviders=new Map,this._errors=[],this._allProviders=new Map,e.transitiveModule.modules.forEach(function(t){Cn([{token:{identifier:t},useClass:t}],Io.PublicService,!0,r,i._errors,i._allProviders)}),Cn(e.transitiveModule.providers.map(function(t){return t.provider}).concat(n),Io.PublicService,!1,r,this._errors,this._allProviders)}return t.prototype.parse=function(){var t=this;if(Array.from(this._allProviders.values()).forEach(function(e){t._getOrCreateLocalProvider(e.token,e.eager)}),this._errors.length>0){var e=this._errors.join("\n");throw new Error("Provider parse errors:\n"+e)}var n=[],r=[];return this._transformedProviders.forEach(function(t){t.eager?r.push(t):n.push(t)}),n.concat(r)},t.prototype._getOrCreateLocalProvider=function(t,e){var n=this,r=this._allProviders.get(z(t));if(!r)return null;var i=this._transformedProviders.get(z(t));if(i)return i;if(null!=this._seenProviders.get(z(t)))return this._errors.push(new Dl("Cannot instantiate cyclic dependency! "+U(t),r.sourceSpan)),null;this._seenProviders.set(z(t),!0);var o=r.providers.map(function(t){var i=t.useValue,o=t.useExisting,s=void 0;if(null!=t.useExisting){var a=n._getDependency({token:t.useExisting},e,r.sourceSpan);null!=a.token?o=a.token:(o=null,i=a.value)}else if(t.useFactory){var u=t.deps||t.useFactory.diDeps;s=u.map(function(t){return n._getDependency(t,e,r.sourceSpan)})}else if(t.useClass){var u=t.deps||t.useClass.diDeps;s=u.map(function(t){return n._getDependency(t,e,r.sourceSpan)})}return bn(t,{useExisting:o,useValue:i,deps:s})});return i=wn(r,{eager:e,providers:o}),this._transformedProviders.set(z(t),i),i},t.prototype._getDependency=function(t,e,n){void 0===e&&(e=!1);var r=!1;t.isSkipSelf||null==t.token||(z(t.token)===this.reflector.resolveExternalReference(wc.Injector)||z(t.token)===this.reflector.resolveExternalReference(wc.ComponentFactoryResolver)?r=!0:null!=this._getOrCreateLocalProvider(t.token,e)&&(r=!0));var i=t;return t.isSelf&&!r&&(t.isOptional?i={isValue:!0,value:null}:this._errors.push(new Dl("No provider for "+U(t.token),n))),i},t}(),Ll=function(){function t(t){this.ctx=t}return t.prototype.visitArray=function(t,e){var n=this;return dn(t.map(function(t){return C(t,n,null)}),e)},t.prototype.visitStringMap=function(t,e){var n=this,r=[],i=new Set(t&&t.$quoted$);return Object.keys(t).forEach(function(e){r.push(new hl(e,C(t[e],n,null),i.has(e)))}),new fl(r,e)},t.prototype.visitPrimitive=function(t,e){return _n(t,e)},t.prototype.visitOther=function(t,e){return t instanceof zc?t:this.ctx.importExpr(t)},t}(),Vl=function(){function t(t){this.ngModuleFactoryVar=t}return t}(),Hl=ln("_l"),Bl=function(){function t(t){this.reflector=t}return t.prototype.compile=function(t,e,n){var r=Nt("NgModule",e.type),i=e.transitiveModule.entryComponents,o=e.bootstrapComponents,s=new Fl(this.reflector,e,n,r),a=[Dn(this.reflector,t,0,i)].concat(s.parse().map(function(e){return On(t,e)})).map(function(t){var e=t.providerExpr,n=t.depsExpr,r=t.flags,i=t.tokenExpr;return pn(wc.moduleProviderDef).callFn([_n(r),i,e,n])}),u=pn(wc.moduleDef).callFn([dn(a)]),c=gn([new sl(Hl.name)],[new El(u)],Hc),l=j(e.type)+"NgFactory";if(this._createNgModuleFactory(t,e.type.reference,pn(wc.createModuleFactory).callFn([t.importExpr(e.type.reference),dn(o.map(function(e){return t.importExpr(e.reference)})),c])),e.id){var p=pn(wc.RegisterModuleFactoryFn).callFn([_n(e.id),ln(l)]).toStmt();t.statements.push(p)}return new Vl(l)},t.prototype.createStub=function(t,e){this._createNgModuleFactory(t,e,vl)},t.prototype._createNgModuleFactory=function(t,e,n){var r=j({reference:e})+"NgFactory",i=ln(r).set(n).toDeclStmt(hn(wc.NgModuleFactory,[fn(t.importExpr(e))],[Nc.Const]),[ml.Final,ml.Exported]);t.statements.push(i)},t}(),Ul=function(){function t(t){this._reflector=t}return t.prototype.isNgModule=function(t){return this._reflector.annotations(t).some(Qi.isTypeOf)},t.prototype.resolve=function(t,e){void 0===e&&(e=!0);var n=pt(this._reflector.annotations(t),Qi.isTypeOf);if(n)return n;if(e)throw new Error("No NgModule metadata found for '"+k(t)+"'.");return null},t}(),zl=function(){function t(t){void 0===t&&(t=null),this.file=t,this.sourcesContent=new Map,this.lines=[],this.lastCol0=0,this.hasMappings=!1}return t.prototype.addSource=function(t,e){return void 0===e&&(e=null),this.sourcesContent.has(t)||this.sourcesContent.set(t,e),this},t.prototype.addLine=function(){return this.lines.push([]),this.lastCol0=0,this},t.prototype.addMapping=function(t,e,n,r){if(!this.currentLine)throw new Error("A line must be added before mappings can be added");if(null!=e&&!this.sourcesContent.has(e))throw new Error('Unknown source file "'+e+'"');if(null==t)throw new Error("The column in the generated code must be provided");if(t0&&(this._currentLine.parts.push(e),this._currentLine.partsLength+=e.length,this._currentLine.srcSpans.push(t&&t.sourceSpan||null)),n&&this._lines.push(new $l(this._indent))},t.prototype.removeEmptyLastLine=function(){this.lineIsEmpty()&&this._lines.pop()},t.prototype.incIndent=function(){this._indent++,this.lineIsEmpty()&&(this._currentLine.indent=this._indent)},t.prototype.decIndent=function(){this._indent--,this.lineIsEmpty()&&(this._currentLine.indent=this._indent)},t.prototype.pushClass=function(t){this._classes.push(t)},t.prototype.popClass=function(){return this._classes.pop()},Object.defineProperty(t.prototype,"currentClass",{get:function(){return this._classes.length>0?this._classes[this._classes.length-1]:null},enumerable:!0,configurable:!0}),t.prototype.toSource=function(){return this.sourceLines.map(function(t){return t.parts.length>0?Vn(t.indent)+t.parts.join(""):""}).join("\n")},t.prototype.toSourceMapGenerator=function(t,e){void 0===e&&(e=0);for(var n=new zl(t),r=!1,i=function(){r||(n.addSource(t," ").addMapping(0,t,0,0),r=!0)},o=0;or)return n.srcSpans[i];r-=o.length}return null},Object.defineProperty(t.prototype,"sourceLines",{get:function(){return this._lines.length&&0===this._lines[this._lines.length-1].parts.length?this._lines.slice(0,-1):this._lines},enumerable:!0,configurable:!0}),t}(),Jl=function(){function t(t){this._escapeDollarInStrings=t}return t.prototype.visitExpressionStmt=function(t,e){return t.expr.visitExpression(this,e),e.println(t,";"),null},t.prototype.visitReturnStmt=function(t,e){return e.print(t,"return "),t.value.visitExpression(this,e),e.println(t,";"),null},t.prototype.visitIfStmt=function(t,e){e.print(t,"if ("),t.condition.visitExpression(this,e),e.print(t,") {");var n=null!=t.falseCase&&t.falseCase.length>0;return t.trueCase.length<=1&&!n?(e.print(t," "),this.visitAllStatements(t.trueCase,e),e.removeEmptyLastLine(),e.print(t," ")):(e.println(),e.incIndent(),this.visitAllStatements(t.trueCase,e),e.decIndent(),n&&(e.println(t,"} else {"),e.incIndent(),this.visitAllStatements(t.falseCase,e),e.decIndent())),e.println(t,"}"),null},t.prototype.visitThrowStmt=function(t,e){return e.print(t,"throw "),t.error.visitExpression(this,e),e.println(t,";"),null},t.prototype.visitCommentStmt=function(t,e){return t.comment.split("\n").forEach(function(n){e.println(t,"// "+n)}),null},t.prototype.visitWriteVarExpr=function(t,e){var n=e.lineIsEmpty();return n||e.print(t,"("),e.print(t,t.name+" = "),t.value.visitExpression(this,e),n||e.print(t,")"),null},t.prototype.visitWriteKeyExpr=function(t,e){var n=e.lineIsEmpty();return n||e.print(t,"("),t.receiver.visitExpression(this,e),e.print(t,"["),t.index.visitExpression(this,e),e.print(t,"] = "),t.value.visitExpression(this,e),n||e.print(t,")"),null},t.prototype.visitWritePropExpr=function(t,e){var n=e.lineIsEmpty();return n||e.print(t,"("),t.receiver.visitExpression(this,e),e.print(t,"."+t.name+" = "),t.value.visitExpression(this,e),n||e.print(t,")"),null},t.prototype.visitInvokeMethodExpr=function(t,e){t.receiver.visitExpression(this,e);var n=t.name;return null!=t.builtin&&null==(n=this.getBuiltinMethodName(t.builtin))?null:(e.print(t,"."+n+"("),this.visitAllExpressions(t.args,e,","),e.print(t,")"),null)},t.prototype.visitInvokeFunctionExpr=function(t,e){return t.fn.visitExpression(this,e),e.print(t,"("),this.visitAllExpressions(t.args,e,","),e.print(t,")"),null},t.prototype.visitReadVarExpr=function(t,e){var n=t.name;if(null!=t.builtin)switch(t.builtin){case qc.Super:n="super";break;case qc.This:n="this";break;case qc.CatchError:n=Kl.name;break;case qc.CatchStack:n=Ql.name;break;default:throw new Error("Unknown builtin variable "+t.builtin)}return e.print(t,n),null},t.prototype.visitInstantiateExpr=function(t,e){return e.print(t,"new "),t.classExpr.visitExpression(this,e),e.print(t,"("),this.visitAllExpressions(t.args,e,","),e.print(t,")"),null},t.prototype.visitLiteralExpr=function(t,e){var n=t.value;return"string"==typeof n?e.print(t,Ln(n,this._escapeDollarInStrings)):e.print(t,""+n),null},t.prototype.visitConditionalExpr=function(t,e){return e.print(t,"("),t.condition.visitExpression(this,e),e.print(t,"? "),t.trueCase.visitExpression(this,e),e.print(t,": "),t.falseCase.visitExpression(this,e),e.print(t,")"),null},t.prototype.visitNotExpr=function(t,e){return e.print(t,"!"),t.condition.visitExpression(this,e),null},t.prototype.visitAssertNotNullExpr=function(t,e){return t.condition.visitExpression(this,e),null},t.prototype.visitBinaryOperatorExpr=function(t,e){var n;switch(t.operator){case Uc.Equals:n="==";break;case Uc.Identical:n="===";break;case Uc.NotEquals:n="!=";break;case Uc.NotIdentical:n="!==";break;case Uc.And:n="&&";break;case Uc.Or:n="||";break;case Uc.Plus:n="+";break;case Uc.Minus:n="-";break;case Uc.Divide:n="/";break;case Uc.Multiply:n="*";break;case Uc.Modulo:n="%";break;case Uc.Lower:n="<";break;case Uc.LowerEquals:n="<=";break;case Uc.Bigger:n=">";break;case Uc.BiggerEquals:n=">=";break;default:throw new Error("Unknown operator "+t.operator)}return e.print(t,"("),t.lhs.visitExpression(this,e),e.print(t," "+n+" "),t.rhs.visitExpression(this,e),e.print(t,")"),null},t.prototype.visitReadPropExpr=function(t,e){return t.receiver.visitExpression(this,e),e.print(t,"."),e.print(t,t.name),null},t.prototype.visitReadKeyExpr=function(t,e){return t.receiver.visitExpression(this,e),e.print(t,"["),t.index.visitExpression(this,e),e.print(t,"]"),null},t.prototype.visitLiteralArrayExpr=function(t,e){return e.print(t,"["),this.visitAllExpressions(t.entries,e,","),e.print(t,"]"),null},t.prototype.visitLiteralMapExpr=function(t,e){var n=this;return e.print(t,"{"),this.visitAllObjects(function(r){e.print(t,Ln(r.key,n._escapeDollarInStrings,r.quoted)+":"),r.value.visitExpression(n,e)},t.entries,e,","),e.print(t,"}"),null},t.prototype.visitCommaExpr=function(t,e){return e.print(t,"("),this.visitAllExpressions(t.parts,e,","),e.print(t,")"),null},t.prototype.visitAllExpressions=function(t,e,n){var r=this;this.visitAllObjects(function(t){return t.visitExpression(r,e)},t,e,n)},t.prototype.visitAllObjects=function(t,e,n,r){for(var i=!1,o=0;o0&&(n.lineLength()>80?(n.print(null,r,!0),i||(n.incIndent(),n.incIndent(),i=!0)):n.print(null,r,!1)),t(e[o]);i&&(n.decIndent(),n.decIndent())},t.prototype.visitAllStatements=function(t,e){var n=this;t.forEach(function(t){return t.visitStatement(n,e)})},t}(),Yl=(function(){function t(){}t.prototype.emitStatementsAndContext=function(t,e,n,r,i){void 0===n&&(n=""),void 0===r&&(r=!0);var o=new Yl(i),s=Xl.createRoot();o.visitAllStatements(e,s);var a=n?n.split("\n"):[];o.reexports.forEach(function(t,e){var n=t.map(function(t){return t.name+" as "+t.as}).join(",");a.push("export {"+n+"} from '"+e+"';")}),o.importsWithPrefixes.forEach(function(t,e){a.push("import * as "+t+" from '"+e+"';")});var u=r?s.toSourceMapGenerator(t,a.length).toJsComment():"",c=a.concat([s.toSource(),u]);return u&&c.push(""),s.setPreambleLineCount(a.length),{sourceText:c.join("\n"),context:s}},t.prototype.emitStatements=function(t,e,n){return void 0===n&&(n=""),this.emitStatementsAndContext(t,e,n).sourceText}}(),function(t){function e(e){var n=t.call(this,!1)||this;return n.referenceFilter=e,n.typeExpression=0,n.importsWithPrefixes=new Map,n.reexports=new Map,n}return Object(Ni.b)(e,t),e.prototype.visitType=function(t,e,n){void 0===n&&(n="any"),t?(this.typeExpression++,t.visitType(this,e),this.typeExpression--):e.print(null,n)},e.prototype.visitLiteralExpr=function(e,n){var r=e.value;return null==r&&e.type!=Hc?(n.print(e,"("+r+" as any)"),null):t.prototype.visitLiteralExpr.call(this,e,n)},e.prototype.visitLiteralArrayExpr=function(e,n){0===e.entries.length&&n.print(e,"(");var r=t.prototype.visitLiteralArrayExpr.call(this,e,n);return 0===e.entries.length&&n.print(e," as any[])"),r},e.prototype.visitExternalExpr=function(t,e){return this._visitIdentifier(t.value,t.typeParams,e),null},e.prototype.visitAssertNotNullExpr=function(e,n){var r=t.prototype.visitAssertNotNullExpr.call(this,e,n);return n.print(e,"!"),r},e.prototype.visitDeclareVarStmt=function(t,e){if(t.hasModifier(ml.Exported)&&t.value instanceof tl&&!t.type){var n=t.value.value,r=n.name,i=n.moduleName;if(i){var o=this.reexports.get(i);return o||(o=[],this.reexports.set(i,o)),o.push({name:r,as:t.name}),null}}return t.hasModifier(ml.Exported)&&e.print(t,"export "),t.hasModifier(ml.Final)?e.print(t,"const"):e.print(t,"var"),e.print(t," "+t.name),this._printColonType(t.type,e),e.print(t," = "),t.value.visitExpression(this,e),e.println(t,";"),null},e.prototype.visitCastExpr=function(t,e){return e.print(t,"(<"),t.type.visitType(this,e),e.print(t,">"),t.value.visitExpression(this,e),e.print(t,")"),null},e.prototype.visitInstantiateExpr=function(t,e){return e.print(t,"new "),this.typeExpression++,t.classExpr.visitExpression(this,e),this.typeExpression--,e.print(t,"("),this.visitAllExpressions(t.args,e,","),e.print(t,")"),null},e.prototype.visitDeclareClassStmt=function(t,e){var n=this;return e.pushClass(t),t.hasModifier(ml.Exported)&&e.print(t,"export "),e.print(t,"class "+t.name),null!=t.parent&&(e.print(t," extends "),this.typeExpression++,t.parent.visitExpression(this,e),this.typeExpression--),e.println(t," {"),e.incIndent(),t.fields.forEach(function(t){return n._visitClassField(t,e)}),null!=t.constructorMethod&&this._visitClassConstructor(t,e),t.getters.forEach(function(t){return n._visitClassGetter(t,e)}),t.methods.forEach(function(t){return n._visitClassMethod(t,e)}),e.decIndent(),e.println(t,"}"),e.popClass(),null},e.prototype._visitClassField=function(t,e){t.hasModifier(ml.Private)&&e.print(null,"/*private*/ "),e.print(null,t.name),this._printColonType(t.type,e),e.println(null,";")},e.prototype._visitClassGetter=function(t,e){t.hasModifier(ml.Private)&&e.print(null,"private "),e.print(null,"get "+t.name+"()"),this._printColonType(t.type,e),e.println(null," {"),e.incIndent(),this.visitAllStatements(t.body,e),e.decIndent(),e.println(null,"}")},e.prototype._visitClassConstructor=function(t,e){e.print(t,"constructor("),this._visitParams(t.constructorMethod.params,e),e.println(t,") {"),e.incIndent(),this.visitAllStatements(t.constructorMethod.body,e),e.decIndent(),e.println(t,"}")},e.prototype._visitClassMethod=function(t,e){t.hasModifier(ml.Private)&&e.print(null,"private "),e.print(null,t.name+"("),this._visitParams(t.params,e),e.print(null,")"),this._printColonType(t.type,e,"void"),e.println(null," {"),e.incIndent(),this.visitAllStatements(t.body,e),e.decIndent(),e.println(null,"}")},e.prototype.visitFunctionExpr=function(t,e){return e.print(t,"("),this._visitParams(t.params,e),e.print(t,")"),this._printColonType(t.type,e,"void"),e.println(t," => {"),e.incIndent(),this.visitAllStatements(t.statements,e),e.decIndent(),e.print(t,"}"),null},e.prototype.visitDeclareFunctionStmt=function(t,e){return t.hasModifier(ml.Exported)&&e.print(t,"export "),e.print(t,"function "+t.name+"("),this._visitParams(t.params,e),e.print(t,")"),this._printColonType(t.type,e,"void"),e.println(t," {"),e.incIndent(),this.visitAllStatements(t.statements,e),e.decIndent(),e.println(t,"}"),null},e.prototype.visitTryCatchStmt=function(t,e){e.println(t,"try {"),e.incIndent(),this.visitAllStatements(t.bodyStmts,e),e.decIndent(),e.println(t,"} catch ("+Kl.name+") {"),e.incIndent();var n=[Ql.set(Kl.prop("stack",null)).toDeclStmt(null,[ml.Final])].concat(t.catchStmts);return this.visitAllStatements(n,e),e.decIndent(),e.println(t,"}"),null},e.prototype.visitBuiltintType=function(t,e){var n;switch(t.name){case Dc.Bool:n="boolean";break;case Dc.Dynamic:n="any";break;case Dc.Function:n="Function";break;case Dc.Number:case Dc.Int:n="number";break;case Dc.String:n="string";break;default:throw new Error("Unsupported builtin type "+t.name)}return e.print(null,n),null},e.prototype.visitExpressionType=function(t,e){return t.value.visitExpression(this,e),null},e.prototype.visitArrayType=function(t,e){return this.visitType(t.of,e),e.print(null,"[]"),null},e.prototype.visitMapType=function(t,e){return e.print(null,"{[key: string]:"),this.visitType(t.valueType,e),e.print(null,"}"),null},e.prototype.getBuiltinMethodName=function(t){var e;switch(t){case Qc.ConcatArray:e="concat";break;case Qc.SubscribeObservable:e="subscribe";break;case Qc.Bind:e="bind";break;default:throw new Error("Unknown builtin method: "+t)}return e},e.prototype._visitParams=function(t,e){var n=this;this.visitAllObjects(function(t){e.print(null,t.name),n._printColonType(t.type,e)},t,e,",")},e.prototype._visitIdentifier=function(t,e,n){var r=this,i=t.name,o=t.moduleName;if(this.referenceFilter&&this.referenceFilter(t))return void n.print(null,"(null as any)");if(o){var s=this.importsWithPrefixes.get(o);null==s&&(s="i"+this.importsWithPrefixes.size,this.importsWithPrefixes.set(o,s)),n.print(null,s+".")}if(n.print(null,i),this.typeExpression>0){(e||[]).length>0&&(n.print(null,"<"),this.visitAllObjects(function(t){return t.visitType(r,n)},e,n,","),n.print(null,">"))}},e.prototype._printColonType=function(t,e,n){t!==Hc&&(e.print(null,":"),this.visitType(t,e,n))},e}(Jl)),tp=function(){function t(t){this._reflector=t}return t.prototype.isPipe=function(t){var e=this._reflector.annotations(A(t));return e&&e.some(qi.isTypeOf)},t.prototype.resolve=function(t,e){void 0===e&&(e=!0);var n=this._reflector.annotations(A(t));if(n){var r=pt(n,qi.isTypeOf);if(r)return r}if(e)throw new Error("No Pipe decorator found on "+k(t));return null},t}(),ep={};Bn(io.HTML,["iframe|srcdoc","*|innerHTML","*|outerHTML"]),Bn(io.STYLE,["*|style"]),Bn(io.URL,["*|formAction","area|href","area|ping","audio|src","a|href","a|ping","blockquote|cite","body|background","del|cite","form|action","img|src","img|srcset","input|src","ins|cite","q|cite","source|src","source|srcset","track|src","video|poster","video|src"]),Bn(io.RESOURCE_URL,["applet|code","applet|codebase","base|href","embed|src","frame|src","head|profile","html|manifest","iframe|src","link|href","media|src","object|codebase","object|data","script|src"]);var np=function(){function t(){}return t}(),rp="boolean",ip="number",op="string",sp="object",ap=["[Element]|textContent,%classList,className,id,innerHTML,*beforecopy,*beforecut,*beforepaste,*copy,*cut,*paste,*search,*selectstart,*webkitfullscreenchange,*webkitfullscreenerror,*wheel,outerHTML,#scrollLeft,#scrollTop,slot,*message,*mozfullscreenchange,*mozfullscreenerror,*mozpointerlockchange,*mozpointerlockerror,*webglcontextcreationerror,*webglcontextlost,*webglcontextrestored","[HTMLElement]^[Element]|accessKey,contentEditable,dir,!draggable,!hidden,innerText,lang,*abort,*auxclick,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*cuechange,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*seeked,*seeking,*select,*show,*stalled,*submit,*suspend,*timeupdate,*toggle,*volumechange,*waiting,outerText,!spellcheck,%style,#tabIndex,title,!translate","abbr,address,article,aside,b,bdi,bdo,cite,code,dd,dfn,dt,em,figcaption,figure,footer,header,i,kbd,main,mark,nav,noscript,rb,rp,rt,rtc,ruby,s,samp,section,small,strong,sub,sup,u,var,wbr^[HTMLElement]|accessKey,contentEditable,dir,!draggable,!hidden,innerText,lang,*abort,*auxclick,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*cuechange,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*seeked,*seeking,*select,*show,*stalled,*submit,*suspend,*timeupdate,*toggle,*volumechange,*waiting,outerText,!spellcheck,%style,#tabIndex,title,!translate","media^[HTMLElement]|!autoplay,!controls,%controlsList,%crossOrigin,#currentTime,!defaultMuted,#defaultPlaybackRate,!disableRemotePlayback,!loop,!muted,*encrypted,*waitingforkey,#playbackRate,preload,src,%srcObject,#volume",":svg:^[HTMLElement]|*abort,*auxclick,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*cuechange,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*seeked,*seeking,*select,*show,*stalled,*submit,*suspend,*timeupdate,*toggle,*volumechange,*waiting,%style,#tabIndex",":svg:graphics^:svg:|",":svg:animation^:svg:|*begin,*end,*repeat",":svg:geometry^:svg:|",":svg:componentTransferFunction^:svg:|",":svg:gradient^:svg:|",":svg:textContent^:svg:graphics|",":svg:textPositioning^:svg:textContent|","a^[HTMLElement]|charset,coords,download,hash,host,hostname,href,hreflang,name,password,pathname,ping,port,protocol,referrerPolicy,rel,rev,search,shape,target,text,type,username","area^[HTMLElement]|alt,coords,download,hash,host,hostname,href,!noHref,password,pathname,ping,port,protocol,referrerPolicy,rel,search,shape,target,username","audio^media|","br^[HTMLElement]|clear","base^[HTMLElement]|href,target","body^[HTMLElement]|aLink,background,bgColor,link,*beforeunload,*blur,*error,*focus,*hashchange,*languagechange,*load,*message,*offline,*online,*pagehide,*pageshow,*popstate,*rejectionhandled,*resize,*scroll,*storage,*unhandledrejection,*unload,text,vLink","button^[HTMLElement]|!autofocus,!disabled,formAction,formEnctype,formMethod,!formNoValidate,formTarget,name,type,value","canvas^[HTMLElement]|#height,#width","content^[HTMLElement]|select","dl^[HTMLElement]|!compact","datalist^[HTMLElement]|","details^[HTMLElement]|!open","dialog^[HTMLElement]|!open,returnValue","dir^[HTMLElement]|!compact","div^[HTMLElement]|align","embed^[HTMLElement]|align,height,name,src,type,width","fieldset^[HTMLElement]|!disabled,name","font^[HTMLElement]|color,face,size","form^[HTMLElement]|acceptCharset,action,autocomplete,encoding,enctype,method,name,!noValidate,target","frame^[HTMLElement]|frameBorder,longDesc,marginHeight,marginWidth,name,!noResize,scrolling,src","frameset^[HTMLElement]|cols,*beforeunload,*blur,*error,*focus,*hashchange,*languagechange,*load,*message,*offline,*online,*pagehide,*pageshow,*popstate,*rejectionhandled,*resize,*scroll,*storage,*unhandledrejection,*unload,rows","hr^[HTMLElement]|align,color,!noShade,size,width","head^[HTMLElement]|","h1,h2,h3,h4,h5,h6^[HTMLElement]|align","html^[HTMLElement]|version","iframe^[HTMLElement]|align,!allowFullscreen,frameBorder,height,longDesc,marginHeight,marginWidth,name,referrerPolicy,%sandbox,scrolling,src,srcdoc,width","img^[HTMLElement]|align,alt,border,%crossOrigin,#height,#hspace,!isMap,longDesc,lowsrc,name,referrerPolicy,sizes,src,srcset,useMap,#vspace,#width","input^[HTMLElement]|accept,align,alt,autocapitalize,autocomplete,!autofocus,!checked,!defaultChecked,defaultValue,dirName,!disabled,%files,formAction,formEnctype,formMethod,!formNoValidate,formTarget,#height,!incremental,!indeterminate,max,#maxLength,min,#minLength,!multiple,name,pattern,placeholder,!readOnly,!required,selectionDirection,#selectionEnd,#selectionStart,#size,src,step,type,useMap,value,%valueAsDate,#valueAsNumber,#width","li^[HTMLElement]|type,#value","label^[HTMLElement]|htmlFor","legend^[HTMLElement]|align","link^[HTMLElement]|as,charset,%crossOrigin,!disabled,href,hreflang,integrity,media,referrerPolicy,rel,%relList,rev,%sizes,target,type","map^[HTMLElement]|name","marquee^[HTMLElement]|behavior,bgColor,direction,height,#hspace,#loop,#scrollAmount,#scrollDelay,!trueSpeed,#vspace,width","menu^[HTMLElement]|!compact","meta^[HTMLElement]|content,httpEquiv,name,scheme","meter^[HTMLElement]|#high,#low,#max,#min,#optimum,#value","ins,del^[HTMLElement]|cite,dateTime","ol^[HTMLElement]|!compact,!reversed,#start,type","object^[HTMLElement]|align,archive,border,code,codeBase,codeType,data,!declare,height,#hspace,name,standby,type,useMap,#vspace,width","optgroup^[HTMLElement]|!disabled,label","option^[HTMLElement]|!defaultSelected,!disabled,label,!selected,text,value","output^[HTMLElement]|defaultValue,%htmlFor,name,value","p^[HTMLElement]|align","param^[HTMLElement]|name,type,value,valueType","picture^[HTMLElement]|","pre^[HTMLElement]|#width","progress^[HTMLElement]|#max,#value","q,blockquote,cite^[HTMLElement]|","script^[HTMLElement]|!async,charset,%crossOrigin,!defer,event,htmlFor,integrity,src,text,type","select^[HTMLElement]|!autofocus,!disabled,#length,!multiple,name,!required,#selectedIndex,#size,value","shadow^[HTMLElement]|","slot^[HTMLElement]|name","source^[HTMLElement]|media,sizes,src,srcset,type","span^[HTMLElement]|","style^[HTMLElement]|!disabled,media,type","caption^[HTMLElement]|align","th,td^[HTMLElement]|abbr,align,axis,bgColor,ch,chOff,#colSpan,headers,height,!noWrap,#rowSpan,scope,vAlign,width","col,colgroup^[HTMLElement]|align,ch,chOff,#span,vAlign,width","table^[HTMLElement]|align,bgColor,border,%caption,cellPadding,cellSpacing,frame,rules,summary,%tFoot,%tHead,width","tr^[HTMLElement]|align,bgColor,ch,chOff,vAlign","tfoot,thead,tbody^[HTMLElement]|align,ch,chOff,vAlign","template^[HTMLElement]|","textarea^[HTMLElement]|autocapitalize,!autofocus,#cols,defaultValue,dirName,!disabled,#maxLength,#minLength,name,placeholder,!readOnly,!required,#rows,selectionDirection,#selectionEnd,#selectionStart,value,wrap","title^[HTMLElement]|text","track^[HTMLElement]|!default,kind,label,src,srclang","ul^[HTMLElement]|!compact,type","unknown^[HTMLElement]|","video^media|#height,poster,#width",":svg:a^:svg:graphics|",":svg:animate^:svg:animation|",":svg:animateMotion^:svg:animation|",":svg:animateTransform^:svg:animation|",":svg:circle^:svg:geometry|",":svg:clipPath^:svg:graphics|",":svg:defs^:svg:graphics|",":svg:desc^:svg:|",":svg:discard^:svg:|",":svg:ellipse^:svg:geometry|",":svg:feBlend^:svg:|",":svg:feColorMatrix^:svg:|",":svg:feComponentTransfer^:svg:|",":svg:feComposite^:svg:|",":svg:feConvolveMatrix^:svg:|",":svg:feDiffuseLighting^:svg:|",":svg:feDisplacementMap^:svg:|",":svg:feDistantLight^:svg:|",":svg:feDropShadow^:svg:|",":svg:feFlood^:svg:|",":svg:feFuncA^:svg:componentTransferFunction|",":svg:feFuncB^:svg:componentTransferFunction|",":svg:feFuncG^:svg:componentTransferFunction|",":svg:feFuncR^:svg:componentTransferFunction|",":svg:feGaussianBlur^:svg:|",":svg:feImage^:svg:|",":svg:feMerge^:svg:|",":svg:feMergeNode^:svg:|",":svg:feMorphology^:svg:|",":svg:feOffset^:svg:|",":svg:fePointLight^:svg:|",":svg:feSpecularLighting^:svg:|",":svg:feSpotLight^:svg:|",":svg:feTile^:svg:|",":svg:feTurbulence^:svg:|",":svg:filter^:svg:|",":svg:foreignObject^:svg:graphics|",":svg:g^:svg:graphics|",":svg:image^:svg:graphics|",":svg:line^:svg:geometry|",":svg:linearGradient^:svg:gradient|",":svg:mpath^:svg:|",":svg:marker^:svg:|",":svg:mask^:svg:|",":svg:metadata^:svg:|",":svg:path^:svg:geometry|",":svg:pattern^:svg:|",":svg:polygon^:svg:geometry|",":svg:polyline^:svg:geometry|",":svg:radialGradient^:svg:gradient|",":svg:rect^:svg:geometry|",":svg:svg^:svg:graphics|#currentScale,#zoomAndPan",":svg:script^:svg:|type",":svg:set^:svg:animation|",":svg:stop^:svg:|",":svg:style^:svg:|!disabled,media,title,type",":svg:switch^:svg:graphics|",":svg:symbol^:svg:|",":svg:tspan^:svg:textPositioning|",":svg:text^:svg:textPositioning|",":svg:textPath^:svg:textContent|",":svg:title^:svg:|",":svg:use^:svg:graphics|",":svg:view^:svg:|#zoomAndPan","data^[HTMLElement]|value","keygen^[HTMLElement]|!autofocus,challenge,!disabled,form,keytype,name","menuitem^[HTMLElement]|type,label,icon,!disabled,!checked,radiogroup,!default","summary^[HTMLElement]|","time^[HTMLElement]|dateTime",":svg:cursor^:svg:|"],up={class:"className",for:"htmlFor",formaction:"formAction",innerHtml:"innerHTML",readonly:"readOnly",tabindex:"tabIndex"},cp=function(t){function e(){var e=t.call(this)||this;return e._schema={},ap.forEach(function(t){var n={},r=t.split("|"),i=r[0],o=r[1],s=o.split(","),a=i.split("^"),u=a[0],c=a[1];u.split(",").forEach(function(t){return e._schema[t.toLowerCase()]=n});var l=c&&e._schema[c.toLowerCase()];l&&Object.keys(l).forEach(function(t){n[t]=l[t]}),s.forEach(function(t){if(t.length>0)switch(t[0]){case"*":break;case"!":n[t.substring(1)]=rp;break;case"#":n[t.substring(1)]=ip;break;case"%":n[t.substring(1)]=sp;break;default:n[t]=op}})}),e}return Object(Ni.b)(e,t),e.prototype.hasProperty=function(t,e,n){if(n.some(function(t){return t.name===Xi.name}))return!0;if(t.indexOf("-")>-1){if(rt(t)||it(t))return!1;if(n.some(function(t){return t.name===$i.name}))return!0}return!!(this._schema[t.toLowerCase()]||this._schema.unknown)[e]},e.prototype.hasElement=function(t,e){if(e.some(function(t){return t.name===Xi.name}))return!0;if(t.indexOf("-")>-1){if(rt(t)||it(t))return!0;if(e.some(function(t){return t.name===$i.name}))return!0}return!!this._schema[t.toLowerCase()]},e.prototype.securityContext=function(t,e,n){n&&(e=this.getMappedPropName(e)),t=t.toLowerCase(),e=e.toLowerCase();var r=ep[t+"|"+e];return r||((r=ep["*|"+e])||io.NONE)},e.prototype.getMappedPropName=function(t){return up[t]||t},e.prototype.getDefaultComponentElementName=function(){return"ng-component"},e.prototype.validateProperty=function(t){if(t.toLowerCase().startsWith("on")){return{error:!0,msg:"Binding to event property '"+t+"' is disallowed for security reasons, please use ("+t.slice(2)+")=...\nIf '"+t+"' is a directive input, make sure the directive is imported by the current module."}}return{error:!1}},e.prototype.validateAttribute=function(t){if(t.toLowerCase().startsWith("on")){return{error:!0,msg:"Binding to event attribute '"+t+"' is disallowed for security reasons, please use ("+t.slice(2)+")=..."}}return{error:!1}},e.prototype.allKnownElementNames=function(){return Object.keys(this._schema)},e.prototype.normalizeAnimationStyleProperty=function(t){return _(t)},e.prototype.normalizeAnimationStyleValue=function(t,e,n){var r="",i=n.toString().trim(),o=null;if(Un(t)&&0!==n&&"0"!==n)if("number"==typeof n)r="px";else{var s=n.match(/^[+-]?[\d\.]+([a-z]*)$/);s&&0==s[1].length&&(o="Please provide a CSS unit value for "+e+":"+n)}return{error:o,value:i+r}},e}(np),lp=function(){function t(){this.strictStyling=!0}return t.prototype.shimCssText=function(t,e,n){void 0===n&&(n="");var r=qn(t);return t=zn(t),t=this._insertDirectives(t),this._scopeCssText(t,e,n)+r},t.prototype._insertDirectives=function(t){return t=this._insertPolyfillDirectivesInCssText(t),this._insertPolyfillRulesInCssText(t)},t.prototype._insertPolyfillDirectivesInCssText=function(t){return t.replace(hp,function(){for(var t=[],e=0;e-1?this._colonHostPartReplacer(t,e,n):t+e+n+", "+e+" "+t+n},t.prototype._colonHostPartReplacer=function(t,e,n){return t+e.replace(vp,"")+n},t.prototype._convertShadowDOMSelectors=function(t){return Ep.reduce(function(t,e){return t.replace(e," ")},t)},t.prototype._scopeSelectors=function(t,e,n){var r=this;return Wn(t,function(t){var i=t.selector,o=t.content;return"@"!=t.selector[0]?i=r._scopeSelector(t.selector,e,n,r.strictStyling):(t.selector.startsWith("@media")||t.selector.startsWith("@supports")||t.selector.startsWith("@page")||t.selector.startsWith("@document"))&&(o=r._scopeSelectors(t.content,e,n)),new Rp(i,o)})},t.prototype._scopeSelector=function(t,e,n,r){var i=this;return t.split(",").map(function(t){return t.trim().split(Cp)}).map(function(t){var o=t[0],s=t.slice(1);return[function(t){return i._selectorNeedsScoping(t,e)?r?i._applyStrictSelectorScope(t,e,n):i._applySelectorScope(t,e,n):t}(o)].concat(s).join(" ")}).join(", ")},t.prototype._selectorNeedsScoping=function(t,e){return!this._makeScopeMatcher(e).test(t)},t.prototype._makeScopeMatcher=function(t){var e=/\[/g,n=/\]/g;return t=t.replace(e,"\\[").replace(n,"\\]"),new RegExp("^("+t+")"+xp,"m")},t.prototype._applySelectorScope=function(t,e,n){return this._applySimpleSelectorScope(t,e,n)},t.prototype._applySimpleSelectorScope=function(t,e,n){if(Sp.lastIndex=0,Sp.test(t)){var r=this.strictStyling?"["+n+"]":e;return t.replace(wp,function(t,e){return e.replace(/([^:]*)(:*)(.*)/,function(t,e,n,i){return e+r+n+i})}).replace(Sp,r+" ")}return e+" "+t},t.prototype._applyStrictSelectorScope=function(t,e,n){var r=this,i=/\[is=([^\]]*)\]/g;e=e.replace(i,function(t){for(var e=[],n=1;n-1)i=r._applySimpleSelectorScope(t,e,n);else{var s=t.replace(Sp,"");if(s.length>0){var a=s.match(/([^:]*)(:*)(.*)/);a&&(i=a[1]+o+a[2]+a[3])}}return i},a=new pp(t);t=a.content();for(var u,c="",l=0,p=/( |>|\+|~(?!=))\s*/g,h=t.indexOf(bp)>-1,f=!h;null!==(u=p.exec(t));){var d=u[1],v=t.slice(l,u.index).trim();f=f||v.indexOf(bp)>-1;c+=(f?s(v):v)+" "+d+" ",l=p.lastIndex}var y=t.substring(l);return f=f||y.indexOf(bp)>-1,c+=f?s(y):y,a.restore(c)},t.prototype._insertPolyfillHostInCssText=function(t){return t.replace(Pp,yp).replace(Tp,vp)},t}(),pp=function(){function t(t){var e=this;this.placeholders=[],this.index=0,t=t.replace(/(\[[^\]]*\])/g,function(t,n){var r="__ph-"+e.index+"__";return e.placeholders.push(n),e.index++,r}),this._content=t.replace(/(:nth-[-\w]+)(\([^)]+\))/g,function(t,n,r){var i="__ph-"+e.index+"__";return e.placeholders.push(r),e.index++,n+i})}return t.prototype.restore=function(t){var e=this;return t.replace(/__ph-(\d+)__/g,function(t,n){return e.placeholders[+n]})},t.prototype.content=function(){return this._content},t}(),hp=/polyfill-next-selector[^}]*content:[\s]*?(['"])(.*?)\1[;\s]*}([^{]*?){/gim,fp=/(polyfill-rule)[^}]*(content:[\s]*(['"])(.*?)\3)[;\s]*[^}]*}/gim,dp=/(polyfill-unscoped-rule)[^}]*(content:[\s]*(['"])(.*?)\3)[;\s]*[^}]*}/gim,vp="-shadowcsshost",yp="-shadowcsscontext",mp=")(?:\\(((?:\\([^)(]*\\)|[^)(]*)+?)\\))?([^,{]*)",gp=new RegExp("("+vp+mp,"gim"),_p=new RegExp("("+yp+mp,"gim"),bp=vp+"-no-combinator",wp=/-shadowcsshost-no-combinator([^\s]*)/,Ep=[/::shadow/g,/::content/g,/\/shadow-deep\//g,/\/shadow\//g],Cp=/(?:>>>)|(?:\/deep\/)|(?:::ng-deep)/g,xp="([>\\s~+[.,{:][\\s\\S]*)?$",Sp=/-shadowcsshost/gim,Tp=/:host/gim,Pp=/:host-context/gim,Op=/\/\*\s*[\s\S]*?\*\//g,Mp=/\/\*\s*#\s*sourceMappingURL=[\s\S]+?\*\//,kp=/(\s*)([^;\{\}]+?)(\s*)((?:{%BLOCK%}?\s*;?)|(?:\s*;))/g,Ap=/([{}])/g,Np="{",Ip="}",Dp="%BLOCK%",Rp=function(){function t(t,e){this.selector=t,this.content=e}return t}(),jp=function(){function t(t,e){this.escapedString=t,this.blocks=e}return t}(),Fp=function(){function t(t,e,n){this.name=t,this.moduleUrl=e,this.setValue=n}return t}(),Lp=function(){function t(t,e,n,r,i){this.outputCtx=t,this.stylesVar=e,this.dependencies=n,this.isShimmed=r,this.meta=i}return t}(),Vp=function(){function t(t){this._urlResolver=t,this._shadowCss=new lp}return t.prototype.compileComponent=function(t,e){var n=e.template;return this._compileStyles(t,e,new zo({styles:n.styles,styleUrls:n.styleUrls,moduleUrl:F(e.type)}),this.needsStyleShim(e),!0)},t.prototype.compileStyles=function(t,e,n,r){return void 0===r&&(r=this.needsStyleShim(e)),this._compileStyles(t,e,n,r,!1)},t.prototype.needsStyleShim=function(t){return t.template.encapsulation===Bi.Emulated},t.prototype._compileStyles=function(t,e,n,r,i){var o=this,s=n.styles.map(function(t){return _n(o._shimIfNeeded(t,r))}),a=[];n.styleUrls.forEach(function(e){var n=s.length;s.push(null),a.push(new Fp(Zn(null),e,function(e){return s[n]=t.importExpr(e)}))});var u=Zn(i?e:null),c=ln(u).set(dn(s,new Fc(Vc,[Nc.Const]))).toDeclStmt(null,i?[ml.Final]:[ml.Final,ml.Exported]);return t.statements.push(c),new Lp(t,u,a,r,n)},t.prototype._shimIfNeeded=function(t,e){return e?this._shadowCss.shimCssText(t,"_ngcontent-%COMP%","_nghost-%COMP%"):t},t}(),Hp="ngPreserveWhitespaces",Bp=new Set(["pre","template","textarea","script","style"]),Up=" \f\n\r\t\v ᠎ - \u2028\u2029   \ufeff",zp=new RegExp("[^"+Up+"]"),qp=new RegExp("["+Up+"]{2,}","g"),Wp=function(){function t(){}return t.prototype.visitElement=function(t,e){return Bp.has(t.name)||Kn(t.attrs)?new ts(t.name,X(this,t.attrs),t.children,t.sourceSpan,t.startSourceSpan,t.endSourceSpan):new ts(t.name,t.attrs,X(this,t.children),t.sourceSpan,t.startSourceSpan,t.endSourceSpan)},t.prototype.visitAttribute=function(t,e){return t.name!==Hp?t:null},t.prototype.visitText=function(t,e){return t.value.match(zp)?new $o(Qn(t.value).replace(qp," "),t.sourceSpan):null},t.prototype.visitComment=function(t,e){return t},t.prototype.visitExpansion=function(t,e){return t},t.prototype.visitExpansionCase=function(t,e){return t},t}(),Gp=["zero","one","two","few","many","other"],Zp=function(){function t(t,e,n){this.nodes=t,this.expanded=e,this.errors=n}return t}(),Kp=function(t){function e(e,n){return t.call(this,e,n)||this}return Object(Ni.b)(e,t),e}($a),Qp=function(){function t(){this.isExpanded=!1,this.errors=[]}return t.prototype.visitElement=function(t,e){return new ts(t.name,t.attrs,X(this,t.children),t.sourceSpan,t.startSourceSpan,t.endSourceSpan)},t.prototype.visitAttribute=function(t,e){return t},t.prototype.visitText=function(t,e){return t},t.prototype.visitComment=function(t,e){return t},t.prototype.visitExpansion=function(t,e){return this.isExpanded=!0,"plural"==t.type?Jn(t,this.errors):Yn(t,this.errors)},t.prototype.visitExpansionCase=function(t,e){throw new Error("Should not be reached")},t}(),$p={DEFAULT:0,LITERAL_ATTR:1,ANIMATION:2};$p[$p.DEFAULT]="DEFAULT",$p[$p.LITERAL_ATTR]="LITERAL_ATTR",$p[$p.ANIMATION]="ANIMATION";var Xp=function(){function t(t,e,n,r){this.name=t,this.expression=e,this.type=n,this.sourceSpan=r,this.isLiteral=this.type===$p.LITERAL_ATTR,this.isAnimation=this.type===$p.ANIMATION}return t}(),Jp=function(){function t(t,e,n,r,i){var o=this;this._exprParser=t,this._interpolationConfig=e,this._schemaRegistry=n,this._targetErrors=i,this.pipesByName=new Map,this._usedPipes=new Map,r.forEach(function(t){return o.pipesByName.set(t.name,t)})}return t.prototype.getUsedPipes=function(){return Array.from(this._usedPipes.values())},t.prototype.createDirectiveHostPropertyAsts=function(t,e,n){var r=this;if(t.hostProperties){var i=[];return Object.keys(t.hostProperties).forEach(function(e){var o=t.hostProperties[e];"string"==typeof o?r.parsePropertyBinding(e,o,!0,n,[],i):r._reportError('Value of the host property binding "'+e+'" needs to be a string representing an expression but got "'+o+'" ('+typeof o+")",n)}),i.map(function(t){return r.createElementPropertyAst(e,t)})}return null},t.prototype.createDirectiveHostEventAsts=function(t,e){var n=this;if(t.hostListeners){var r=[];return Object.keys(t.hostListeners).forEach(function(i){var o=t.hostListeners[i];"string"==typeof o?n.parseEvent(i,o,e,[],r):n._reportError('Value of the host listener "'+i+'" needs to be a string representing an expression but got "'+o+'" ('+typeof o+")",e)}),r}return null},t.prototype.parseInterpolation=function(t,e){var n=e.start.toString();try{var r=this._exprParser.parseInterpolation(t,n,this._interpolationConfig);return r&&this._reportExpressionParserErrors(r.errors,e),this._checkPipes(r,e),r}catch(t){return this._reportError(""+t,e),this._exprParser.wrapLiteralPrimitive("ERROR",n)}},t.prototype.parseInlineTemplateBinding=function(t,e,n,r,i,o){for(var s=this._parseTemplateBindings(t,e,n),a=0;a1)if("attr"==o[0]){i=o[1],this._validatePropertyOrAttributeName(i,e.sourceSpan,!0),s=er(this._schemaRegistry,t,i,!0);var a=i.indexOf(":");if(a>-1){var u=i.substring(0,a),c=i.substring(a+1);i=at(u,c)}r=Ro.Attribute}else"class"==o[0]?(i=o[1],r=Ro.Class,s=[io.NONE]):"style"==o[0]&&(n=o.length>2?o[2]:null,i=o[1],r=Ro.Style,s=[io.STYLE]);return null===i&&(i=this._schemaRegistry.getMappedPropName(e.name),s=er(this._schemaRegistry,t,i,!1),r=Ro.Property,this._validatePropertyOrAttributeName(i,e.sourceSpan,!1)),new xo(i,r,s[0],e.expression,n,e.sourceSpan)},t.prototype.parseEvent=function(t,e,n,r,i){tr(t)?(t=t.substr(1),this._parseAnimationEvent(t,e,n,i)):this._parseEvent(t,e,n,r,i)},t.prototype._parseAnimationEvent=function(t,e,n,r){var i=w(t,[t,""]),o=i[0],s=i[1].toLowerCase();if(s)switch(s){case"start":case"done":var a=this._parseAction(e,n);r.push(new So(o,null,s,a,n));break;default:this._reportError('The provided animation output phase value "'+s+'" for "@'+o+'" is not supported (use start or done)',n)}else this._reportError("The animation trigger output event (@"+o+") is missing its phase value name (start or done are currently supported)",n)},t.prototype._parseEvent=function(t,e,n,r,i){var o=b(t,[null,t]),s=o[0],a=o[1],u=this._parseAction(e,n);r.push([t,u.source]),i.push(new So(a,s,null,u,n))},t.prototype._parseAction=function(t,e){var n=e.start.toString();try{var r=this._exprParser.parseAction(t,n,this._interpolationConfig);return r&&this._reportExpressionParserErrors(r.errors,e),!r||r.ast instanceof ma?(this._reportError("Empty expressions are not allowed",e),this._exprParser.wrapLiteralPrimitive("ERROR",n)):(this._checkPipes(r,e),r)}catch(t){return this._reportError(""+t,e),this._exprParser.wrapLiteralPrimitive("ERROR",n)}},t.prototype._reportError=function(t,e,n){void 0===n&&(n=Qa.ERROR),this._targetErrors.push(new $a(e,t,n))},t.prototype._reportExpressionParserErrors=function(t,e){for(var n=0,r=t;n element is deprecated. Use instead",oh={},sh=function(t){function e(e,n,r){return t.call(this,n,e,r)||this}return Object(Ni.b)(e,t),e}($a),ah=function(){function t(t,e,n){this.templateAst=t,this.usedPipes=e,this.errors=n}return t}(),uh=function(){function t(t,e,n,r,i,o,s){this._config=t,this._reflector=e,this._exprParser=n,this._schemaRegistry=r,this._htmlParser=i,this._console=o,this.transforms=s}return t.prototype.parse=function(t,e,n,r,i,o,s){var a=this.tryParse(t,e,n,r,i,o,s),u=a.errors.filter(function(t){return t.level===Qa.WARNING}).filter(nr(["The template attribute is deprecated. Use an ng-template element instead.",ih])),c=a.errors.filter(function(t){return t.level===Qa.ERROR});if(u.length>0&&this._console.warn("Template parse warnings:\n"+u.join("\n")),c.length>0){throw T("Template parse errors:\n"+c.join("\n"),c)}return{template:a.templateAst,pipes:a.usedPipes}},t.prototype.tryParse=function(t,e,n,r,i,o,s){var a="string"==typeof e?this._htmlParser.parse(e,o,!0,this.getInterpolationConfig(t)):e;return s||(a=$n(a)),this.tryParseHtml(this.expandHtml(a),t,n,r,i)},t.prototype.tryParseHtml=function(t,e,n,r,i){var o,s=t.errors,a=[];if(t.rootNodes.length>0){var u=ar(n),c=ar(r),l=new Rl(this._reflector,e),p=void 0;e.template&&e.template.interpolation&&(p={start:e.template.interpolation[0],end:e.template.interpolation[1]});var h=new Jp(this._exprParser,p,this._schemaRegistry,c,s),f=new ch(this._reflector,this._config,l,u,h,this._schemaRegistry,i,s);o=X(f,t.rootNodes,fh),s.push.apply(s,l.errors),a.push.apply(a,h.getUsedPipes())}else o=[];return this._assertNoReferenceDuplicationOnTemplate(o,s),s.length>0?new ah(o,a,s):(this.transforms&&this.transforms.forEach(function(t){o=I(t,o)}),new ah(o,a,s))},t.prototype.expandHtml=function(t,e){void 0===e&&(e=!1);var n=t.errors;if(0==n.length||e){var r=Xn(t.rootNodes);n.push.apply(n,r.errors),t=new ou(r.nodes,n)}return t},t.prototype.getInterpolationConfig=function(t){if(t.template)return rs.fromArray(t.template.interpolation)},t.prototype._assertNoReferenceDuplicationOnTemplate=function(t,e){var n=[];t.filter(function(t){return!!t.references}).forEach(function(t){return t.references.forEach(function(t){var r=t.name;if(n.indexOf(r)<0)n.push(r);else{var i=new sh('Reference "#'+r+'" is defined several times',t.sourceSpan,Qa.ERROR);e.push(i)}})})},t}(),ch=function(){function t(t,e,n,r,i,o,s,a){var u=this;this.reflector=t,this.config=e,this.providerViewContext=n,this._bindingParser=i,this._schemaRegistry=o,this._schemas=s,this._targetErrors=a,this.selectorMatcher=new Tc,this.directivesIndex=new Map,this.ngContentCount=0,this.contentQueryStartId=n.component.viewQueries.length+1,r.forEach(function(t,e){var n=Sc.parse(t.selector);u.selectorMatcher.addSelectables(n,t),u.directivesIndex.set(t,e)})}return t.prototype.visitExpansion=function(t,e){return null},t.prototype.visitExpansionCase=function(t,e){return null},t.prototype.visitText=function(t,e){var n=e.findNgContentIndex(rh),r=Qn(t.value),i=this._bindingParser.parseInterpolation(r,t.sourceSpan);return i?new Eo(i,n,t.sourceSpan):new wo(r,n,t.sourceSpan)},t.prototype.visitAttribute=function(t,e){return new Co(t.name,t.value,t.sourceSpan)},t.prototype.visitComment=function(t,e){return null},t.prototype.visitElement=function(t,e){var n=this,r=this.contentQueryStartId,i=t.name,o=ut(t);if(o.type===ws.SCRIPT||o.type===ws.STYLE)return null;if(o.type===ws.STYLESHEET&&tt(o.hrefAttr))return null;var s=[],a=[],u=[],c=[],l=[],p=[],h=[],f=[],d=!1,v=[],y=cr(t,this.config.enableLegacyTemplate,function(t,e){return n._reportError(t,e,Qa.WARNING)});t.attrs.forEach(function(t){var e,r,i=n._parseAttr(y,t,s,a,l,u,c),o=n._normalizeAttributeName(t.name);n.config.enableLegacyTemplate&&"template"==o?(n._reportError("The template attribute is deprecated. Use an ng-template element instead.",t.sourceSpan,Qa.WARNING),e=t.value):o.startsWith("*")&&(e=t.value,r=o.substring("*".length)+":");var m=null!=e;m&&(d&&n._reportError("Can't have multiple template bindings on one element. Use only one attribute named 'template' or prefixed with *",t.sourceSpan),d=!0,n._bindingParser.parseInlineTemplateBinding(r,e,t.sourceSpan,h,p,f)),i||m||(v.push(n.visitAttribute(t,null)),s.push([t.name,t.value]))});var m=or(i,s),g=this._parseDirectives(this.selectorMatcher,m),_=g.directives,b=g.matchElement,w=[],E=new Set,C=this._createDirectiveAsts(y,t.name,_,a,u,t.sourceSpan,w,E),x=this._createElementPropertyAsts(t.name,a,E),S=e.isTemplateElement||d,T=new jl(this.providerViewContext,e.providerContext,S,C,v,w,y,r,t.sourceSpan),P=X(o.nonBindable?dh:this,t.children,hh.create(y,C,y?e.providerContext:T));T.afterElement();var O,M=null!=o.projectAs?Sc.parse(o.projectAs)[0]:m,k=e.findNgContentIndex(M);if(o.type===ws.NG_CONTENT)t.children&&!t.children.every(sr)&&this._reportError(" element cannot have content.",t.sourceSpan),O=new Do(this.ngContentCount++,d?null:k,t.sourceSpan);else if(y)this._assertAllEventsPublishedByDirectives(C,l),this._assertNoComponentsNorElementBindingsOnTemplate(C,x,t.sourceSpan),O=new Mo(v,l,w,c,T.transformedDirectiveAsts,T.transformProviders,T.transformedHasViewContainer,T.queryMatches,P,d?null:k,t.sourceSpan);else{this._assertElementExists(b,t),this._assertOnlyOneComponent(C,t.sourceSpan);var A=d?null:e.findNgContentIndex(M);O=new Oo(i,v,x,l,w,T.transformedDirectiveAsts,T.transformProviders,T.transformedHasViewContainer,T.queryMatches,P,d?null:A,t.sourceSpan,t.endSourceSpan||null)}if(d){var N=this.contentQueryStartId,I=or(eh,h),D=this._parseDirectives(this.selectorMatcher,I).directives,R=new Set,j=this._createDirectiveAsts(!0,t.name,D,p,[],t.sourceSpan,[],R),F=this._createElementPropertyAsts(t.name,p,R);this._assertNoComponentsNorElementBindingsOnTemplate(j,F,t.sourceSpan);var L=new jl(this.providerViewContext,e.providerContext,e.isTemplateElement,j,[],[],!0,N,t.sourceSpan);L.afterElement(),O=new Mo([],[],[],f,L.transformedDirectiveAsts,L.transformProviders,L.transformedHasViewContainer,L.queryMatches,[O],k,t.sourceSpan)}return O},t.prototype._parseAttr=function(t,e,n,r,i,o,s){var a=this._normalizeAttributeName(e.name),u=e.value,c=e.sourceSpan,l=a.match(th),p=!1;if(null!==l)if(p=!0,null!=l[1])this._bindingParser.parsePropertyBinding(l[7],u,!1,c,n,r);else if(l[2])if(t){var h=l[7];this._parseVariable(h,u,c,s)}else this._reportError('"let-" is only supported on ng-template elements.',c);else if(l[3]){var h=l[7];this._parseReference(h,u,c,o)}else l[4]?this._bindingParser.parseEvent(l[7],u,c,n,i):l[5]?(this._bindingParser.parsePropertyBinding(l[7],u,!1,c,n,r),this._parseAssignmentEvent(l[7],u,c,n,i)):l[6]?this._bindingParser.parseLiteralAttr(a,u,c,n,r):l[8]?(this._bindingParser.parsePropertyBinding(l[8],u,!1,c,n,r),this._parseAssignmentEvent(l[8],u,c,n,i)):l[9]?this._bindingParser.parsePropertyBinding(l[9],u,!1,c,n,r):l[10]&&this._bindingParser.parseEvent(l[10],u,c,n,i);else p=this._bindingParser.parsePropertyInterpolation(a,u,c,n,r);return p||this._bindingParser.parseLiteralAttr(a,u,c,n,r),p},t.prototype._normalizeAttributeName=function(t){return/^data-/i.test(t)?t.substring(5):t},t.prototype._parseVariable=function(t,e,n,r){t.indexOf("-")>-1&&this._reportError('"-" is not allowed in variable names',n),r.push(new Po(t,e,n))},t.prototype._parseReference=function(t,e,n,r){t.indexOf("-")>-1&&this._reportError('"-" is not allowed in reference names',n),r.push(new ph(t,e,n))},t.prototype._parseAssignmentEvent=function(t,e,n,r,i){this._bindingParser.parseEvent(t+"Change",e+"=$event",n,r,i)},t.prototype._parseDirectives=function(t,e){var n=this,r=new Array(this.directivesIndex.size),i=!1;return t.match(e,function(t,e){r[n.directivesIndex.get(e)]=e,i=i||t.hasElementSelector()}),{directives:r.filter(function(t){return!!t}),matchElement:i}},t.prototype._createDirectiveAsts=function(t,e,n,r,i,o,s,a){var u=this,c=new Set,l=null,p=n.map(function(t){var n=new Ka(o.start,o.end,"Directive "+j(t.type));t.isComponent&&(l=t);var p=[],h=u._bindingParser.createDirectiveHostPropertyAsts(t,e,n);h=u._checkPropertiesInSchema(e,h);var f=u._bindingParser.createDirectiveHostEventAsts(t,n);u._createDirectivePropertyAsts(t.inputs,r,p,a),i.forEach(function(e){(0===e.value.length&&t.isComponent||e.isReferenceToDirective(t))&&(s.push(new To(e.name,Ge(t.type.reference),e.sourceSpan)),c.add(e.name))});var d=u.contentQueryStartId;return u.contentQueryStartId+=t.queries.length,new Ao(t,p,h,f,d,n)});return i.forEach(function(e){if(e.value.length>0)c.has(e.name)||u._reportError('There is no directive with "exportAs" set to "'+e.value+'"',e.sourceSpan);else if(!l){var n=null;t&&(n=Ze(u.reflector,wc.TemplateRef)),s.push(new To(e.name,n,e.sourceSpan))}}),p},t.prototype._createDirectivePropertyAsts=function(t,e,n,r){if(t){var i=new Map;e.forEach(function(t){var e=i.get(t.name);e&&!e.isLiteral||i.set(t.name,t)}),Object.keys(t).forEach(function(e){var o=t[e],s=i.get(o);s&&(r.add(s.name),ur(s.expression)||n.push(new ko(e,s.name,s.expression,s.sourceSpan)))})}},t.prototype._createElementPropertyAsts=function(t,e,n){var r=this,i=[];return e.forEach(function(e){e.isLiteral||n.has(e.name)||i.push(r._bindingParser.createElementPropertyAst(t,e))}),this._checkPropertiesInSchema(t,i)},t.prototype._findComponentDirectives=function(t){return t.filter(function(t){return t.directive.isComponent})},t.prototype._findComponentDirectiveNames=function(t){return this._findComponentDirectives(t).map(function(t){return j(t.directive.type)})},t.prototype._assertOnlyOneComponent=function(t,e){var n=this._findComponentDirectiveNames(t);n.length>1&&this._reportError("More than one component matched on this element.\nMake sure that only one component's selector can match a given element.\nConflicting components: "+n.join(","),e)},t.prototype._assertElementExists=function(t,e){var n=e.name.replace(/^:xhtml:/,"");if(!t&&!this._schemaRegistry.hasElement(n,this._schemas)){var r="'"+n+"' is not a known element:\n";r+="1. If '"+n+"' is an Angular component, then verify that it is part of this module.\n",n.indexOf("-")>-1?r+="2. If '"+n+"' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message.":r+="2. To allow any element add 'NO_ERRORS_SCHEMA' to the '@NgModule.schemas' of this component.",this._reportError(r,e.sourceSpan)}},t.prototype._assertNoComponentsNorElementBindingsOnTemplate=function(t,e,n){var r=this,i=this._findComponentDirectiveNames(t);i.length>0&&this._reportError("Components on an embedded template: "+i.join(","),n),e.forEach(function(t){r._reportError("Property binding "+t.name+' not used by any directive on an embedded template. Make sure that the property name is spelled correctly and all directives are listed in the "@NgModule.declarations".',n)})},t.prototype._assertAllEventsPublishedByDirectives=function(t,e){var n=this,r=new Set;t.forEach(function(t){Object.keys(t.directive.outputs).forEach(function(e){var n=t.directive.outputs[e];r.add(n)})}),e.forEach(function(t){null==t.target&&r.has(t.name)||n._reportError("Event binding "+t.fullName+' not emitted by any directive on an embedded template. Make sure that the event name is spelled correctly and all directives are listed in the "@NgModule.declarations".',t.sourceSpan)})},t.prototype._checkPropertiesInSchema=function(t,e){var n=this;return e.filter(function(e){if(e.type===Ro.Property&&!n._schemaRegistry.hasProperty(t,e.name,n._schemas)){var r="Can't bind to '"+e.name+"' since it isn't a known property of '"+t+"'.";t.startsWith("ng-")?r+="\n1. If '"+e.name+"' is an Angular directive, then add 'CommonModule' to the '@NgModule.imports' of this component.\n2. To allow any property add 'NO_ERRORS_SCHEMA' to the '@NgModule.schemas' of this component.":t.indexOf("-")>-1&&(r+="\n1. If '"+t+"' is an Angular component and it has '"+e.name+"' input, then verify that it is part of this module.\n2. If '"+t+"' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message.\n3. To allow any property add 'NO_ERRORS_SCHEMA' to the '@NgModule.schemas' of this component."),n._reportError(r,e.sourceSpan)}return!ur(e.value)})},t.prototype._reportError=function(t,e,n){void 0===n&&(n=Qa.ERROR),this._targetErrors.push(new $a(e,t,n))},t}(),lh=function(){function t(){}return t.prototype.visitElement=function(t,e){var n=ut(t);if(n.type===ws.SCRIPT||n.type===ws.STYLE||n.type===ws.STYLESHEET)return null;var r=t.attrs.map(function(t){return[t.name,t.value]}),i=or(t.name,r),o=e.findNgContentIndex(i),s=X(this,t.children,fh);return new Oo(t.name,X(this,t.attrs),[],[],[],[],[],!1,[],s,o,t.sourceSpan,t.endSourceSpan)},t.prototype.visitComment=function(t,e){return null},t.prototype.visitAttribute=function(t,e){return new Co(t.name,t.value,t.sourceSpan)},t.prototype.visitText=function(t,e){var n=e.findNgContentIndex(rh);return new wo(t.value,n,t.sourceSpan)},t.prototype.visitExpansion=function(t,e){return t},t.prototype.visitExpansionCase=function(t,e){return t},t}(),ph=function(){function t(t,e,n){this.name=t,this.value=e,this.sourceSpan=n}return t.prototype.isReferenceToDirective=function(t){return-1!==rr(t.exportAs).indexOf(this.value)},t}(),hh=function(){function t(t,e,n,r){this.isTemplateElement=t,this._ngContentIndexMatcher=e,this._wildcardNgContentIndex=n,this.providerContext=r}return t.create=function(e,n,r){var i=new Tc,o=null,s=n.find(function(t){return t.directive.isComponent});if(s)for(var a=s.directive.template.ngContentSelectors,u=0;u0?e[0]:null},t}(),fh=new hh(!0,new Tc,null,null),dh=new lh,vh=function(){function t(){}return t.event=ln("$event"),t}(),yh=function(){function t(t,e){this.stmts=t,this.allowDefault=e}return t}(),mh=function(){function t(t,e){this.stmts=t,this.currValExpr=e}return t}(),gh={General:0,TrySimple:1};gh[gh.General]="General",gh[gh.TrySimple]="TrySimple";var _h={Statement:0,Expression:1};_h[_h.Statement]="Statement",_h[_h.Expression]="Expression";var bh=function(t){function e(e){var n=t.call(this)||this;return n._converterFactory=e,n}return Object(Ni.b)(e,t),e.prototype.visitPipe=function(t,e){var n=this,r=[t.exp].concat(t.args).map(function(t){return t.visit(n,e)});return new Ch(t.span,r,this._converterFactory.createPipeConverter(t.name,r.length))},e.prototype.visitLiteralArray=function(t,e){var n=this,r=t.expressions.map(function(t){return t.visit(n,e)});return new Ch(t.span,r,this._converterFactory.createLiteralArrayConverter(t.expressions.length))},e.prototype.visitLiteralMap=function(t,e){var n=this,r=t.values.map(function(t){return t.visit(n,e)});return new Ch(t.span,r,this._converterFactory.createLiteralMapConverter(t.keys))},e}(Ha),wh=function(){function t(t,e,n){this._localResolver=t,this._implicitReceiver=e,this.bindingId=n,this._nodeMap=new Map,this._resultMap=new Map,this._currentTemporary=0,this.temporaryCount=0}return t.prototype.visitBinary=function(t,e){var n;switch(t.operation){case"+":n=Uc.Plus;break;case"-":n=Uc.Minus;break;case"*":n=Uc.Multiply;break;case"/":n=Uc.Divide;break;case"%":n=Uc.Modulo;break;case"&&":n=Uc.And;break;case"||":n=Uc.Or;break;case"==":n=Uc.Equals;break;case"!=":n=Uc.NotEquals;break;case"===":n=Uc.Identical;break;case"!==":n=Uc.NotIdentical;break;case"<":n=Uc.Lower;break;case">":n=Uc.Bigger;break;case"<=":n=Uc.LowerEquals;break;case">=":n=Uc.BiggerEquals;break;default:throw new Error("Unsupported operation "+t.operation)}return _r(e,new ul(n,this._visit(t.left,_h.Expression),this._visit(t.right,_h.Expression)))},t.prototype.visitChain=function(t,e){return mr(e,t),this.visitAll(t.expressions,e)},t.prototype.visitConditional=function(t,e){return _r(e,this._visit(t.condition,_h.Expression).conditional(this._visit(t.trueExp,_h.Expression),this._visit(t.falseExp,_h.Expression)))},t.prototype.visitPipe=function(t,e){throw new Error("Illegal state: Pipes should have been converted into functions. Pipe: "+t.name)},t.prototype.visitFunctionCall=function(t,e){var n,r=this.visitAll(t.args,_h.Expression);return n=t instanceof Ch?t.converter(r):this._visit(t.target,_h.Expression).callFn(r),_r(e,n)},t.prototype.visitImplicitReceiver=function(t,e){return gr(e,t),this._implicitReceiver},t.prototype.visitInterpolation=function(t,e){gr(e,t);for(var n=[_n(t.expressions.length)],r=0;r0?Vc:fn(e.importExpr(this.component.type.reference)),this.viewName=L(this.component.type.reference,this.embeddedViewIndex)}return t.prototype.visitAll=function(t,e){var n=this;if(this.variables=t,this.parent||this.usedPipes.forEach(function(t){t.pure&&(n.purePipeNodeIndices[t.name]=n._createPipe(null,t))}),!this.parent){var r=Ar(this.staticQueryIds);this.component.viewQueries.forEach(function(t,e){var i=e+1,o=t.first?0:1,s=134217728|Ir(r,i,t.first);n.nodes.push(function(){return{sourceSpan:null,nodeFlags:s,nodeDef:pn(wc.queryDef).callFn([_n(s),_n(i),new fl([new hl(t.propertyName,_n(o),!1)])])}})})}I(this,e),this.parent&&(0===e.length||xr(e))&&this.nodes.push(function(){return{sourceSpan:null,nodeFlags:1,nodeDef:pn(wc.anchorDef).callFn([_n(0),vl,vl,_n(0)])}})},t.prototype.build=function(t){void 0===t&&(t=[]),this.children.forEach(function(e){return e.build(t)});var e=this._createNodeExpressions(),n=e.updateRendererStmts,r=e.updateDirectivesStmts,i=e.nodeDefExprs,o=this._createUpdateFn(n),s=this._createUpdateFn(r),a=0;this.parent||this.component.changeDetection!==Ui.OnPush||(a|=2);var u=new bl(this.viewName,[new sl(Ah.name)],[new El(pn(wc.viewDef).callFn([_n(a),dn(i),s,o]))],hn(wc.ViewDefinition),0===this.embeddedViewIndex?[ml.Exported]:[]);return t.push(u),t},t.prototype._createUpdateFn=function(t){var e;if(t.length>0){var n=[];!this.component.isHost&&an(t).has(Dh.name)&&n.push(Dh.set(Nh.prop("component")).toDeclStmt(this.compType)),e=gn([new sl(Ih.name,Hc),new sl(Nh.name,Hc)],n.concat(t),Hc)}else e=vl;return e},t.prototype.visitNgContent=function(t,e){this.nodes.push(function(){return{sourceSpan:t.sourceSpan,nodeFlags:8,nodeDef:pn(wc.ngContentDef).callFn([_n(t.ngContentIndex),_n(t.index)])}})},t.prototype.visitText=function(t,e){this.nodes.push(function(){return{sourceSpan:t.sourceSpan,nodeFlags:2,nodeDef:pn(wc.textDef).callFn([_n(-1),_n(t.ngContentIndex),dn([_n(t.value)])])}})},t.prototype.visitBoundText=function(t,e){var n=this,r=this.nodes.length;this.nodes.push(null);var i=t.value,o=i.ast,s=o.expressions.map(function(e,i){return n._preprocessUpdateExpression({nodeIndex:r,bindingIndex:i,sourceSpan:t.sourceSpan,context:Dh,value:e})}),a=r;this.nodes[r]=function(){return{sourceSpan:t.sourceSpan,nodeFlags:2,nodeDef:pn(wc.textDef).callFn([_n(a),_n(t.ngContentIndex),dn(o.strings.map(function(t){return _n(t)}))]),updateRenderer:s}}},t.prototype.visitEmbeddedTemplate=function(t,e){var n=this,r=this.nodes.length;this.nodes.push(null);var i=this._visitElementOrTemplate(r,t),o=i.flags,s=i.queryMatchesExpr,a=i.hostEvents,u=this.viewBuilderFactory(this);this.children.push(u),u.visitAll(t.variables,t.children);var c=this.nodes.length-r-1;this.nodes[r]=function(){return{sourceSpan:t.sourceSpan,nodeFlags:1|o,nodeDef:pn(wc.anchorDef).callFn([_n(o),s,_n(t.ngContentIndex),_n(c),n._createElementHandleEventFn(r,a),ln(u.viewName)])}}},t.prototype.visitElement=function(t,e){var n=this,r=this.nodes.length;this.nodes.push(null);var i=rt(t.name)?null:t.name,o=this._visitElementOrTemplate(r,t),s=o.flags,a=o.usedEvents,u=o.queryMatchesExpr,c=o.hostBindings,l=o.hostEvents,p=[],h=[],f=[];if(i){var d=t.inputs.map(function(t){return{context:Dh,inputAst:t,dirAst:null}}).concat(c);d.length&&(h=d.map(function(t,e){return n._preprocessUpdateExpression({context:t.context,nodeIndex:r,bindingIndex:e,sourceSpan:t.inputAst.sourceSpan,value:t.inputAst.value})}),p=d.map(function(t){return Sr(t.inputAst,t.dirAst)})),f=a.map(function(t){var e=t[0],n=t[1];return dn([_n(e),_n(n)])})}I(this,t.children);var v=this.nodes.length-r-1,y=t.directives.find(function(t){return t.directive.isComponent}),m=vl,g=vl;y&&(g=this.outputCtx.importExpr(y.directive.componentViewType),m=this.outputCtx.importExpr(y.directive.rendererType));var _=r;this.nodes[r]=function(){return{sourceSpan:t.sourceSpan,nodeFlags:1|s,nodeDef:pn(wc.elementDef).callFn([_n(_),_n(s),u,_n(t.ngContentIndex),_n(v),_n(i),i?Tr(t):vl,p.length?dn(p):vl,f.length?dn(f):vl,n._createElementHandleEventFn(r,l),g,m]),updateRenderer:h}}},t.prototype._visitElementOrTemplate=function(t,e){var n=this,r=0;e.hasViewContainer&&(r|=16777216);var i=new Map;e.outputs.forEach(function(t){var e=Nr(t,null),n=e.name,r=e.target;i.set(Dr(r,n),[r,n])}),e.directives.forEach(function(t){t.hostEvents.forEach(function(e){var n=Nr(e,t),r=n.name,o=n.target;i.set(Dr(o,r),[o,r])})});var o=[],s=[];this._visitComponentFactoryResolverProvider(e.directives),e.providers.forEach(function(r,a){var u=void 0,c=void 0;if(e.directives.forEach(function(t,e){t.directive.type.reference===z(r.token)&&(u=t,c=e)}),u){var l=n._visitDirective(r,u,c,t,e.references,e.queryMatches,i,n.staticQueryIds.get(e)),p=l.hostBindings,h=l.hostEvents;o.push.apply(o,p),s.push.apply(s,h)}else n._visitProvider(r,e.queryMatches)});var a=[];return e.queryMatches.forEach(function(t){var e=void 0;z(t.value)===n.reflector.resolveExternalReference(wc.ElementRef)?e=0:z(t.value)===n.reflector.resolveExternalReference(wc.ViewContainerRef)?e=3:z(t.value)===n.reflector.resolveExternalReference(wc.TemplateRef)&&(e=2),null!=e&&a.push(dn([_n(t.queryId),_n(e)]))}),e.references.forEach(function(e){var r=void 0;e.value?z(e.value)===n.reflector.resolveExternalReference(wc.TemplateRef)&&(r=2):r=1,null!=r&&(n.refNodeIndices[e.name]=t,a.push(dn([_n(e.name),_n(r)])))}),e.outputs.forEach(function(t){s.push({context:Dh,eventAst:t,dirAst:null})}),{flags:r,usedEvents:Array.from(i.values()),queryMatchesExpr:a.length?dn(a):vl,hostBindings:o,hostEvents:s}},t.prototype._visitDirective=function(t,e,n,r,i,o,s,a){var u=this,c=this.nodes.length;this.nodes.push(null),e.directive.queries.forEach(function(t,n){var r=e.contentQueryStartId+n,i=67108864|Ir(a,r,t.first),o=t.first?0:1;u.nodes.push(function(){return{sourceSpan:e.sourceSpan,nodeFlags:i,nodeDef:pn(wc.queryDef).callFn([_n(i),_n(r),new fl([new hl(t.propertyName,_n(o),!1)])])}})});var l=this.nodes.length-c-1,p=this._visitProviderOrDirective(t,o),h=p.flags,f=p.queryMatchExprs,d=p.providerExpr,v=p.depsExpr;i.forEach(function(e){e.value&&z(e.value)===z(t.token)&&(u.refNodeIndices[e.name]=c,f.push(dn([_n(e.name),_n(4)])))}),e.directive.isComponent&&(h|=32768);var y=e.inputs.map(function(t,e){var n=dn([_n(e),_n(t.directiveName)]);return new hl(t.directiveName,n,!1)}),m=[],g=e.directive;Object.keys(g.outputs).forEach(function(t){var e=g.outputs[t];s.has(e)&&m.push(new hl(t,_n(e),!1))});var _=[];(e.inputs.length||(327680&h)>0)&&(_=e.inputs.map(function(t,e){return u._preprocessUpdateExpression({nodeIndex:c,bindingIndex:e,sourceSpan:t.sourceSpan,context:Dh,value:t.value})}));var b=pn(wc.nodeValue).callFn([Nh,_n(c)]),w=e.hostProperties.map(function(t){return{context:b,dirAst:e,inputAst:t}}),E=e.hostEvents.map(function(t){return{context:b,eventAst:t,dirAst:e}}),C=c;return this.nodes[c]=function(){return{sourceSpan:e.sourceSpan,nodeFlags:16384|h,nodeDef:pn(wc.directiveDef).callFn([_n(C),_n(h),f.length?dn(f):vl,_n(l),d,v,y.length?new fl(y):vl,m.length?new fl(m):vl]),updateDirectives:_,directive:e.directive.type}},{hostBindings:w,hostEvents:E}},t.prototype._visitProvider=function(t,e){this._addProviderNode(this._visitProviderOrDirective(t,e))},t.prototype._visitComponentFactoryResolverProvider=function(t){var e=t.find(function(t){return t.directive.isComponent});if(e&&e.directive.entryComponents.length){var n=Dn(this.reflector,this.outputCtx,8192,e.directive.entryComponents),r=n.providerExpr,i=n.depsExpr,o=n.flags,s=n.tokenExpr;this._addProviderNode({providerExpr:r,depsExpr:i,flags:o,tokenExpr:s,queryMatchExprs:[],sourceSpan:e.sourceSpan})}},t.prototype._addProviderNode=function(t){this.nodes.length;this.nodes.push(function(){return{sourceSpan:t.sourceSpan,nodeFlags:t.flags,nodeDef:pn(wc.providerDef).callFn([_n(t.flags),t.queryMatchExprs.length?dn(t.queryMatchExprs):vl,t.tokenExpr,t.providerExpr,t.depsExpr])}})},t.prototype._visitProviderOrDirective=function(t,e){var n=[];e.forEach(function(e){z(e.value)===z(t.token)&&n.push(dn([_n(e.queryId),_n(4)]))});var r=On(this.outputCtx,t),i=r.providerExpr,o=r.depsExpr,s=r.flags,a=r.tokenExpr;return{flags:0|s,queryMatchExprs:n,providerExpr:i,depsExpr:o,tokenExpr:a,sourceSpan:t.sourceSpan}},t.prototype.getLocal=function(t){if(t==vh.event.name)return vh.event;for(var e=Nh,n=this;n;n=n.parent,e=e.prop("parent").cast(Vc)){var r=n.refNodeIndices[t];if(null!=r)return pn(wc.nodeValue).callFn([e,_n(r)]);var i=n.variables.find(function(e){return e.name===t});if(i){var o=i.value||"$implicit";return e.prop("context").prop(o)}}return null},t.prototype._createLiteralArrayConverter=function(t,e){if(0===e){var n=pn(wc.EMPTY_ARRAY);return function(){return n}}var r=this.nodes.length;return this.nodes.push(function(){return{sourceSpan:t,nodeFlags:32,nodeDef:pn(wc.pureArrayDef).callFn([_n(r),_n(e)])}}),function(t){return Or(r,t)}},t.prototype._createLiteralMapConverter=function(t,e){if(0===e.length){var n=pn(wc.EMPTY_MAP);return function(){return n}}var r=vn(e.map(function(t,e){return Object(Ni.a)({},t,{value:_n(e)})})),i=this.nodes.length;return this.nodes.push(function(){return{sourceSpan:t,nodeFlags:64,nodeDef:pn(wc.pureObjectDef).callFn([_n(i),r])}}),function(t){return Or(i,t)}},t.prototype._createPipeConverter=function(t,e,n){var r=this.usedPipes.find(function(t){return t.name===e});if(r.pure){var i=this.nodes.length;this.nodes.push(function(){return{sourceSpan:t.sourceSpan,nodeFlags:128,nodeDef:pn(wc.purePipeDef).callFn([_n(i),_n(n)])}});for(var o=Nh,s=this;s.parent;)s=s.parent,o=o.prop("parent").cast(Vc);var a=s.purePipeNodeIndices[e],u=pn(wc.nodeValue).callFn([o,_n(a)]);return function(e){return Mr(t.nodeIndex,t.bindingIndex,Or(i,[u].concat(e)))}}var c=this._createPipe(t.sourceSpan,r),l=pn(wc.nodeValue).callFn([Nh,_n(c)]);return function(e){return Mr(t.nodeIndex,t.bindingIndex,l.callMethod("transform",e))}},t.prototype._createPipe=function(t,e){var n=this,r=this.nodes.length,i=0;e.type.lifecycleHooks.forEach(function(t){t===Ec.OnDestroy&&(i|=In(t))});var o=e.type.diDeps.map(function(t){return Nn(n.outputCtx,t)});return this.nodes.push(function(){return{sourceSpan:t,nodeFlags:16,nodeDef:pn(wc.pipeDef).callFn([_n(i),n.outputCtx.importExpr(e.type.reference),dn(o)])}}),r},t.prototype._preprocessUpdateExpression=function(t){var e=this;return{nodeIndex:t.nodeIndex,bindingIndex:t.bindingIndex,sourceSpan:t.sourceSpan,context:t.context,value:pr({createLiteralArrayConverter:function(n){return e._createLiteralArrayConverter(t.sourceSpan,n)},createLiteralMapConverter:function(n){return e._createLiteralMapConverter(t.sourceSpan,n)},createPipeConverter:function(n,r){return e._createPipeConverter(t,n,r)}},t.value)}},t.prototype._createNodeExpressions=function(){function t(t,r,i,o){var s=[],a=i.map(function(t){var r=t.sourceSpan,i=t.context,o=t.value,a=""+n++,u=i===Dh?e:null,c=hr(u,i,o,a,gh.General),l=c.stmts,p=c.currValExpr;return s.push.apply(s,l.map(function(t){return un(t,r)})),cn(p,r)});return(i.length||o)&&s.push(un(Or(t,a).toStmt(),r)),s}var e=this,n=0,r=[],i=[],o=this.nodes.map(function(e,n){var o=e(),s=o.nodeDef,a=o.nodeFlags,u=o.updateDirectives,c=o.updateRenderer,l=o.sourceSpan;return c&&r.push.apply(r,t(n,l,c,!1)),u&&i.push.apply(i,t(n,l,u,(327680&a)>0)),cn(3&a?new dl([Ah.callFn([]).callFn([]),s]):s,l)});return{updateRendererStmts:r,updateDirectivesStmts:i,nodeDefExprs:o}},t.prototype._createElementHandleEventFn=function(t,e){var n=this,r=[],i=0;e.forEach(function(t){var e=t.context,o=t.eventAst,s=t.dirAst,a=""+i++,u=e===Dh?n:null,c=lr(u,e,o.handler,a),l=c.stmts,p=c.allowDefault,h=l;p&&h.push(jh.set(p.and(jh)).toStmt());var f=Nr(o,s),d=f.target,v=f.name,y=Dr(d,v);r.push(un(new Pl(_n(y).identical(Rh),h),o.sourceSpan))});var o;if(r.length>0){var s=[jh.set(_n(!0)).toDeclStmt(Bc)];!this.component.isHost&&an(r).has(Dh.name)&&s.push(Dh.set(Nh.prop("component")).toDeclStmt(this.compType)),o=gn([new sl(Nh.name,Hc),new sl(Rh.name,Hc),new sl(vh.event.name,Hc)],s.concat(r,[new El(jh)]),Hc)}else o=vl;return o},t.prototype.visitDirective=function(t,e){},t.prototype.visitDirectiveProperty=function(t,e){},t.prototype.visitReference=function(t,e){},t.prototype.visitVariable=function(t,e){},t.prototype.visitEvent=function(t,e){},t.prototype.visitElementProperty=function(t,e){},t.prototype.visitAttr=function(t,e){},t}(),Lh=function(){function t(t,e,n,r){void 0===r&&(r=null),this._htmlParser=t,this._implicitTags=e,this._implicitAttrs=n,this._locale=r,this._messages=[]}return t.prototype.updateFromTemplate=function(t,e,n){var r=this._htmlParser.parse(t,e,!0,n);if(r.errors.length)return r.errors;var i=be(r.rootNodes,n,this._implicitTags,this._implicitAttrs);return i.errors.length?i.errors:((o=this._messages).push.apply(o,i.messages),[]);var o},t.prototype.getMessages=function(){return this._messages},t.prototype.write=function(t,e){var n={},r=new Vh;this._messages.forEach(function(e){var r=t.digest(e);n.hasOwnProperty(r)?(i=n[r].sources).push.apply(i,e.sources):n[r]=e;var i});var i=Object.keys(n).map(function(i){var o=t.createNameMapper(n[i]),s=n[i],a=o?r.convert(s.nodes,o):s.nodes,u=new hu(a,{},{},s.meaning,s.description,i);return u.sources=s.sources,e&&u.sources.forEach(function(t){return t.filePath=e(t.filePath)}),u});return t.write(i,this._locale)},t}(),Vh=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(Ni.b)(e,t),e.prototype.convert=function(t,e){var n=this;return e?t.map(function(t){return t.visit(n,e)}):t},e.prototype.visitTagPlaceholder=function(t,e){var n=this,r=e.toPublicName(t.startName),i=t.closeName?e.toPublicName(t.closeName):t.closeName,o=t.children.map(function(t){return t.visit(n,e)});return new yu(t.tag,t.attrs,r,i,o,t.isVoid,t.sourceSpan)},e.prototype.visitPlaceholder=function(t,e){return new mu(t.value,e.toPublicName(t.name),t.sourceSpan)},e.prototype.visitIcuPlaceholder=function(t,e){return new gu(t.value,e.toPublicName(t.name),t.sourceSpan)},e}(_u),Hh=function(){function t(t,e,n){this.srcFileUrl=t,this.genFileUrl=e,"string"==typeof n?(this.source=n,this.stmts=null):(this.source=null,this.stmts=n)}return t.prototype.isEquivalent=function(t){return this.genFileUrl===t.genFileUrl&&(this.source?this.source===t.source:null!=t.stmts&&sn(this.stmts,t.stmts))},t}(),Bh=function(){function t(t,e){this.symbol=t,this.metadata=e}return t}(),Uh=function(){function t(t,e,n,r){this.host=t,this.staticSymbolCache=e,this.summaryResolver=n,this.errorRecorder=r,this.metadataCache=new Map,this.resolvedSymbols=new Map,this.resolvedFilePaths=new Set,this.importAs=new Map,this.symbolResourcePaths=new Map,this.symbolFromFile=new Map,this.knownFileNameToModuleNames=new Map}return t.prototype.resolveSymbol=function(t){if(t.members.length>0)return this._resolveSymbolMembers(t);var e=this._resolveSymbolFromSummary(t);if(e)return e;var n=this.resolvedSymbols.get(t);return n||(this._createSymbolsOf(t.filePath),this.resolvedSymbols.get(t))},t.prototype.getImportAs=function(t,e){if(void 0===e&&(e=!0),t.members.length){var n=this.getStaticSymbol(t.filePath,t.name),r=this.getImportAs(n,e);return r?this.getStaticSymbol(r.filePath,r.name,t.members):null}var i=Ue(t.filePath);if(i!==t.filePath){var o=qe(t.name),n=this.getStaticSymbol(i,o,t.members),r=this.getImportAs(n,e);return r?this.getStaticSymbol(Be(r.filePath),ze(r.name),n.members):null}var s=e&&this.summaryResolver.getImportAs(t)||null;return s||(s=this.importAs.get(t)),s},t.prototype.getResourcePath=function(t){return this.symbolResourcePaths.get(t)||t.filePath},t.prototype.getTypeArity=function(t){if(Fe(t.filePath))return null;for(var e=Vr(this.resolveSymbol(t));e&&e.metadata instanceof Lo;)e=Vr(this.resolveSymbol(e.metadata));return e&&e.metadata&&e.metadata.arity||null},t.prototype.getKnownModuleName=function(t){return this.knownFileNameToModuleNames.get(t)||null},t.prototype.recordImportAs=function(t,e){t.assertNoMembers(),e.assertNoMembers(),this.importAs.set(t,e)},t.prototype.recordModuleNameForFileName=function(t,e){this.knownFileNameToModuleNames.set(t,e)},t.prototype.invalidateFile=function(t){this.metadataCache.delete(t),this.resolvedFilePaths.delete(t);var e=this.symbolFromFile.get(t);if(e){this.symbolFromFile.delete(t);for(var n=0,r=e;n=0?{__symbolic:"reference",name:h}:n.has(h)?a.getStaticSymbol(e,h):void 0},i}(vo),c=C(r,new u,[]),l=Vr(c);return l instanceof Lo?this.createExport(t,l):new Bh(t,c)},t.prototype.createExport=function(t,e){return t.assertNoMembers(),e.assertNoMembers(),this.summaryResolver.isLibraryFile(t.filePath)&&this.summaryResolver.isLibraryFile(e.filePath)&&this.importAs.set(e,this.getImportAs(t)||t),new Bh(t,e)},t.prototype.reportError=function(t,e,n){if(!this.errorRecorder)throw t;this.errorRecorder(t,e&&e.filePath||n)},t.prototype.getModuleMetadata=function(t){var e=this.metadataCache.get(t);if(!e){var n=this.host.getMetadataFor(t);if(n){var r=-1;n.forEach(function(t){t&&t.version>r&&(r=t.version,e=t)})}if(e||(e={__symbolic:"module",version:4,module:t,metadata:{}}),4!=e.version){var i=2==e.version?"Unsupported metadata version "+e.version+" for module "+t+". This module should be compiled with a newer version of ngc":"Metadata version mismatch for module "+t+", found version "+e.version+", expected 4";this.reportError(new Error(i))}this.metadataCache.set(t,e)}return e},t.prototype.getSymbolByModule=function(t,e,n){var r=this.resolveModule(t,n);return r?this.getStaticSymbol(r,e):(this.reportError(new Error("Could not resolve module "+t+(n?" relative to "+n:""))),this.getStaticSymbol("ERROR:"+t,e))},t.prototype.resolveModule=function(t,e){try{return this.host.moduleNameToFileName(t,e)}catch(n){console.error("Could not resolve module '"+t+"' relative to file "+e),this.reportError(n,void 0,e)}return null},t}(),zh=function(t){function e(e,n,r){var i=t.call(this)||this;return i.symbolResolver=e,i.summaryResolver=n,i.srcFileName=r,i.symbols=[],i.indexBySymbol=new Map,i.reexportedBy=new Map,i.processedSummaryBySymbol=new Map,i.processedSummaries=[],i.unprocessedSymbolSummariesBySymbol=new Map,i.moduleName=e.getKnownModuleName(r),i}return Object(Ni.b)(e,t),e.prototype.addSummary=function(t){var e=this,n=this.unprocessedSymbolSummariesBySymbol.get(t.symbol),r=this.processedSummaryBySymbol.get(t.symbol);if(n||(n={symbol:t.symbol,metadata:void 0},this.unprocessedSymbolSummariesBySymbol.set(t.symbol,n),r={symbol:this.processValue(t.symbol,0)},this.processedSummaries.push(r),this.processedSummaryBySymbol.set(t.symbol,r)),!n.metadata&&t.metadata){var i=t.metadata||{};if("class"===i.__symbolic){var o={};Object.keys(i).forEach(function(t){"decorators"!==t&&(o[t]=i[t])}),i=o}else qr(i)&&(Wr(i)||Gr(i)||(i={__symbolic:"error",message:"Complex function calls are not supported."}));if(n.metadata=i,r.metadata=this.processValue(i,1),i instanceof Lo&&this.summaryResolver.isLibraryFile(i.filePath)){var s=this.symbols[this.indexBySymbol.get(i)];We(s.name)||this.reexportedBy.set(s,t.symbol)}}if(!n.type&&t.type&&(n.type=t.type,r.type=this.processValue(t.type,0),t.type.summaryKind===Uo.NgModule)){var a=t.type;a.exportedDirectives.concat(a.exportedPipes).forEach(function(t){var n=t.reference;if(e.summaryResolver.isLibraryFile(n.filePath)&&!e.unprocessedSymbolSummariesBySymbol.has(n)){var r=e.summaryResolver.resolveSummary(n);r&&e.addSummary(r)}})}},e.prototype.serialize=function(){var t=this,e=[];return{json:JSON.stringify({moduleName:this.moduleName,summaries:this.processedSummaries,symbols:this.symbols.map(function(n,r){n.assertNoMembers();var i=void 0;if(t.summaryResolver.isLibraryFile(n.filePath)){var o=t.reexportedBy.get(n);if(o)i=t.indexBySymbol.get(o);else{var s=t.unprocessedSymbolSummariesBySymbol.get(n);s&&s.metadata&&"interface"===s.metadata.__symbolic||(i=n.name+"_"+r,e.push({symbol:n,exportAs:i}))}}return{__symbol:r,name:n.name,filePath:t.summaryResolver.toSummaryFileName(n.filePath,t.srcFileName),importAs:i}})}),exportAs:e}},e.prototype.processValue=function(t,e){return C(t,this,e)},e.prototype.visitOther=function(t,e){if(t instanceof Lo){var n=this.symbolResolver.getStaticSymbol(t.filePath,t.name);return{__symbol:this.visitStaticSymbol(n,e),members:t.members}}},e.prototype.visitStaticSymbol=function(t,e){var n=this.indexBySymbol.get(t),r=null;if(1&e&&this.summaryResolver.isLibraryFile(t.filePath)){if(this.unprocessedSymbolSummariesBySymbol.has(t))return n;r=this.loadSummary(t),r&&r.metadata instanceof Lo&&(n=this.visitStaticSymbol(r.metadata,e),r=null)}else if(null!=n)return n;return null==n&&(n=this.symbols.length,this.symbols.push(t)),this.indexBySymbol.set(t,n),r&&this.addSummary(r),n},e.prototype.loadSummary=function(t){var e=this.summaryResolver.resolveSummary(t);if(!e){var n=this.symbolResolver.resolveSymbol(t);n&&(e={symbol:n.symbol,metadata:n.metadata})}return e},e}(vo),qh=function(){function t(t,e,n){this.outputCtx=t,this.symbolResolver=e,this.summaryResolver=n,this.data=[]}return t.prototype.addSourceType=function(t,e){this.data.push({summary:t,metadata:e,isLibrary:!1})},t.prototype.addLibType=function(t){this.data.push({summary:t,metadata:null,isLibrary:!0})},t.prototype.serialize=function(t){for(var e=this,n=new Map,r=0,i=t;r0?this._codegenSourceModule(n.fileName,r):null},t.prototype.loadFilesAsync=function(t){var e=this,n=t.map(function(t){return e._analyzeFile(t)}),r=[];return n.forEach(function(t){return t.ngModules.forEach(function(t){return r.push(e._metadataResolver.loadNgModuleDirectiveAndPipeMetadata(t.type.reference,!1))})}),Promise.all(r).then(function(t){return ri(n)})},t.prototype.loadFilesSync=function(t){var e=this,n=t.map(function(t){return e._analyzeFile(t)});return n.forEach(function(t){return t.ngModules.forEach(function(t){return e._metadataResolver.loadNgModuleDirectiveAndPipeMetadata(t.type.reference,!0)})}),ri(n)},t.prototype._createNgFactoryStub=function(t,e,n){var r=this,i=0;e.ngModules.forEach(function(e,o){r._ngModuleCompiler.createStub(t,e.type.reference);var s=e.transitiveModule.directives.map(function(t){return t.reference}).concat(e.transitiveModule.pipes.map(function(t){return t.reference}),e.importedModules.map(function(t){return t.type.reference}),e.exportedModules.map(function(t){return t.type.reference}),r._externalIdentifierReferences([wc.TemplateRef,wc.ElementRef])),a=new Map;s.forEach(function(t,e){a.set(t,"_decl"+o+"_"+e)}),a.forEach(function(e,n){t.statements.push(ln(e).set(vl.cast(Vc)).toDeclStmt(fn(t.importExpr(n,null,!1))))}),n&Gh.TypeCheck&&e.declaredDirectives.forEach(function(n){var o=r._metadataResolver.getDirectiveMetadata(n.reference);o.isComponent&&(i++,r._createTypeCheckBlock(t,o.type.reference.name+"_Host_"+i,e,r._metadataResolver.getHostComponentMetadata(o),[o.type],a),r._createTypeCheckBlock(t,o.type.reference.name+"_"+i,e,o,e.transitiveModule.directives,a))})}),0===t.statements.length&&Zr(t)},t.prototype._externalIdentifierReferences=function(t){for(var e=[],n=0,r=t;n0||this._options.allowEmptyCodegenFiles){var l=this._codegenSourceModule(t,c);u.unshift(l)}return u},t.prototype._createSummary=function(t,e,n,r,i,o){var s=this,a=this._symbolResolver.getSymbolsOf(t).map(function(t){return s._symbolResolver.resolveSymbol(t)}),u=r.map(function(t){return{summary:s._metadataResolver.getNgModuleSummary(t.type.reference),metadata:s._metadataResolver.getNgModuleMetadata(t.type.reference)}}).concat(e.map(function(t){return{summary:s._metadataResolver.getDirectiveSummary(t),metadata:s._metadataResolver.getDirectiveMetadata(t)}}),n.map(function(t){return{summary:s._metadataResolver.getPipeSummary(t),metadata:s._metadataResolver.getPipeMetadata(t)}}),i.map(function(t){return{summary:s._metadataResolver.getInjectableSummary(t),metadata:s._metadataResolver.getInjectableSummary(t).type}})),c=this._options.enableSummariesForJit?this._createOutputContext(Be(t,!0)):null,l=Hr(t,c,this._summaryResolver,this._symbolResolver,a,u),p=l.json;l.exportAs.forEach(function(t){o.statements.push(ln(t.exportAs).set(o.importExpr(t.symbol)).toDeclStmt(null,[ml.Exported]))});var h=new Hh(t,He(t),p),f=[h];return c&&f.push(this._codegenSourceModule(t,c)),f},t.prototype._compileModule=function(t,e){var n=[];if(this._options.locale){var r=this._options.locale.replace(/_/g,"-");n.push({token:Ze(this._reflector,wc.LOCALE_ID),useValue:r})}this._options.i18nFormat&&n.push({token:Ze(this._reflector,wc.TRANSLATIONS_FORMAT),useValue:this._options.i18nFormat}),this._ngModuleCompiler.compile(t,e,n)},t.prototype._compileComponentFactory=function(t,e,n,r){var i=this._metadataResolver.getHostComponentMetadata(e),o=this._compileComponent(t,i,n,[e.type],null,r).viewClassVar,s=B(e.type.reference),a=[];for(var u in e.inputs){var c=e.inputs[u];a.push(new hl(u,_n(c),!1))}var l=[];for(var u in e.outputs){var c=e.outputs[u];l.push(new hl(u,_n(c),!1))}t.statements.push(ln(s).set(pn(wc.createComponentFactory).callFn([_n(e.selector),t.importExpr(e.type.reference),ln(o),new fl(a),new fl(l),dn(e.template.ngContentSelectors.map(function(t){return _n(t)}))])).toDeclStmt(hn(wc.ComponentFactory,[fn(t.importExpr(e.type.reference))],[Nc.Const]),[ml.Final,ml.Exported]))},t.prototype._compileComponent=function(t,e,n,r,i,o){var s=this._parseTemplate(e,n,r),a=s.template,u=s.pipes,c=i?ln(i.stylesVar):dn([]),l=this._viewCompiler.compileComponent(t,e,a,c,u);return i&&Kr(this._symbolResolver,i,this._styleCompiler.needsStyleShim(e),o),l},t.prototype._parseTemplate=function(t,e,n){var r=this;if(this._templateAstCache.has(t.type.reference))return this._templateAstCache.get(t.type.reference);var i=t.template.preserveWhitespaces,o=n.map(function(t){return r._metadataResolver.getDirectiveSummary(t.reference)}),s=e.transitiveModule.pipes.map(function(t){return r._metadataResolver.getPipeSummary(t.reference)}),a=this._templateParser.parse(t,t.template.htmlAst,o,s,e.schemas,Z(e.type,t,t.template),i);return this._templateAstCache.set(t.type.reference,a),a},t.prototype._createOutputContext=function(t){var e=this;return{statements:[],genFilePath:t,importExpr:function(n,r,i){if(void 0===r&&(r=null),void 0===i&&(i=!0),!(n instanceof Lo))throw new Error("Internal error: unknown identifier "+JSON.stringify(n));var o=e._symbolResolver.getTypeArity(n)||0,s=e._symbolResolver.getImportAs(n,i)||n,a=s.filePath,u=s.name,c=s.members,l=e._fileNameToModuleName(a,t),p=e._fileNameToModuleName(t,t),h=l===p?null:l,f=r||[],d=o-f.length,v=f.concat(new Array(d).fill(Vc));return c.reduce(function(t,e){return t.prop(e)},pn(new el(h,u,null),v))}}},t.prototype._fileNameToModuleName=function(t,e){return this._summaryResolver.getKnownModuleName(t)||this._symbolResolver.getKnownModuleName(t)||this._host.fileNameToModuleName(t,e)},t.prototype._codegenStyles=function(t,e,n,r,i){var o=this._createOutputContext(Qr(n.moduleUrl,r,i)),s=this._styleCompiler.compileStyles(o,e,n,r);return Kr(this._symbolResolver,s,r,i),this._codegenSourceModule(t,o)},t.prototype._codegenSourceModule=function(t,e){return new Hh(t,e.genFilePath,e.statements)},t.prototype.listLazyRoutes=function(t,e){function n(t,e,i){if(void 0===e&&(e=new Set),void 0===i&&(i=[]),e.has(t)||!t.name)return i;e.add(t);for(var o=Rr(r._metadataResolver.getNgModuleMetadata(t,!0),r._reflector),s=0,a=o;sa.length&&a.push.apply(a,h.slice(a.length).map(function(t){return f(t)})),s.set(e,!0);for(var d=lf.build(),v=0;v0&&!e.members.length)return e;var E=e,C=u(E);return null!=C?p(E,C):E}if(e){if(e.__symbolic){var E=void 0;switch(e.__symbolic){case"binop":var x=f(e.left);if(ai(x))return x;var S=f(e.right);if(ai(S))return S;switch(e.operator){case"&&":return x&&S;case"||":return x||S;case"|":return x|S;case"^":return x^S;case"&":return x&S;case"==":return x==S;case"!=":return x!=S;case"===":return x===S;case"!==":return x!==S;case"<":return x":return x>S;case"<=":return x<=S;case">=":return x>=S;case"<<":return x<>":return x>>S;case"+":return x+S;case"-":return x-S;case"*":return x*S;case"/":return x/S;case"%":return x%S}return null;case"if":return f(f(e.condition)?e.thenExpression:e.elseExpression);case"pre":var T=f(e.operand);if(ai(T))return T;switch(e.operator){case"+":return T;case"-":return-T;case"!":return!T;case"~":return~T}return null;case"index":var P=c(e.expression),O=c(e.index);return P&&di(O)?P[O]:null;case"select":var M=e.member,k=t,A=f(e.expression);if(A instanceof Lo){var N=A.members.concat(M);k=i.getStaticSymbol(A.filePath,A.name,N);var C=u(k);return null!=C?p(k,C):k}return A&&di(M)?p(k,A[M]):null;case"reference":var I=e.name,D=o.resolve(I);if(D!=lf.missing)return D;break;case"resolved":try{return f(e.symbol)}catch(t){throw ci(t)&&null!=e.fileName&&null!=e.line&&null!=e.character&&(t.position={fileName:e.fileName,line:e.line,column:e.character}),t}case"class":case"function":return t;case"new":case"call":if((E=n(t,e.expression,r+1,0))instanceof Lo){if(E===i.injectionToken||E===i.opaqueToken)return t;var R=e.arguments||[],j=i.conversionMap.get(E);if(j){var F=R.map(function(e){return p(t,e)}).map(function(t){return ai(t)?void 0:t});return j(t,F)}return h(E,u(E),R,e.expression)}return $h;case"error":var L=e.message;return null!=e.line?i.error({message:L,context:e.context,value:e,position:{fileName:e.fileName,line:e.line,column:e.character}},t):i.error({message:L,context:e.context},t),$h;case"ignore":return e}return null}return fi(e,function(t,n){if(Yh.has(n)){if(n===Xh&&Jh in e){var r=f(e.provide);if(r===i.ROUTES||r==i.ANALYZE_FOR_ENTRY_COMPONENTS)return f(t)}return l(t)}return f(t)})}return $h}return f(e)}var r,i=this,o=lf.empty,s=new Map;try{r=n(t,e,0,0)}catch(e){if(!this.errorRecorder)throw yi(e,t);this.reportError(e,t)}if(!ai(r))return r},t.prototype.getTypeMetadata=function(t){var e=this.symbolResolver.resolveSymbol(t);return e&&e.metadata?e.metadata:{__symbolic:"class"}},t.prototype.reportError=function(t,e,n){if(!this.errorRecorder)throw t;this.errorRecorder(yi(t,e),e&&e.filePath||n)},t.prototype.error=function(t,e){var n=t.message,r=t.summary,i=t.advise,o=t.position,s=t.context,a=(t.value,t.symbol),u=t.chain;this.reportError(ui(n,r,i,o,a,s,u),e)},t}(),ef="ngMetadataError",nf="Reference to non-exported class",rf="Variable not initialized",of="Destructuring not supported",sf="Could not resolve type",af="Function call not supported",uf="Reference to a local symbol",cf="Lambda not supported",lf=function(){function t(){}return t.build=function(){var e=new Map;return{define:function(t,n){return e.set(t,n),this},done:function(){return e.size>0?new pf(e):t.empty}}},t.missing={},t.empty={resolve:function(e){return t.missing}},t}(),pf=function(t){function e(e){var n=t.call(this)||this;return n.bindings=e,n}return Object(Ni.b)(e,t),e.prototype.resolve=function(t){return this.bindings.has(t)?this.bindings.get(t):lf.missing},e}(lf),hf=function(){function t(t,e){this.host=t,this.staticSymbolCache=e,this.summaryCache=new Map,this.loadedFilePaths=new Map,this.importAs=new Map,this.knownFileNameToModuleNames=new Map}return t.prototype.isLibraryFile=function(t){return!this.host.isSourceFile(je(t))},t.prototype.toSummaryFileName=function(t,e){return this.host.toSummaryFileName(t,e)},t.prototype.fromSummaryFileName=function(t,e){return this.host.fromSummaryFileName(t,e)},t.prototype.resolveSummary=function(t){var e=t.members.length?this.staticSymbolCache.get(t.filePath,t.name):t,n=this.summaryCache.get(e);return n||(this._loadSummaryFile(t.filePath),n=this.summaryCache.get(t)),e===t&&n||null},t.prototype.getSymbolsOf=function(t){return this._loadSummaryFile(t)?Array.from(this.summaryCache.keys()).filter(function(e){return e.filePath===t}):null},t.prototype.getImportAs=function(t){return t.assertNoMembers(),this.importAs.get(t)},t.prototype.getKnownModuleName=function(t){return this.knownFileNameToModuleNames.get(t)||null},t.prototype.addSummary=function(t){this.summaryCache.set(t.symbol,t)},t.prototype._loadSummaryFile=function(t){var e=this,n=this.loadedFilePaths.get(t);if(null!=n)return n;var r=null;if(this.isLibraryFile(t)){var i=He(t);try{r=this.host.loadSummary(i)}catch(t){throw console.error("Error loading summary file "+i),t}}if(n=null!=r,this.loadedFilePaths.set(t,n),r){var o=Br(this.staticSymbolCache,this,t,r),s=o.moduleName,a=o.summaries,u=o.importAs;a.forEach(function(t){return e.summaryCache.set(t.symbol,t)}),s&&this.knownFileNameToModuleNames.set(t,s),u.forEach(function(t){e.importAs.set(t.symbol,t.importAs)})}return n},t}(),ff=function(){function t(){}return t}(),df=function(){function t(){this._summaries=new Map}return t.prototype.isLibraryFile=function(){return!1},t.prototype.toSummaryFileName=function(t){return t},t.prototype.fromSummaryFileName=function(t){return t},t.prototype.resolveSummary=function(t){return this._summaries.get(t)||null},t.prototype.getSymbolsOf=function(){return[]},t.prototype.getImportAs=function(t){return t},t.prototype.getKnownModuleName=function(t){return null},t.prototype.addSummary=function(t){this._summaries.set(t.symbol,t)},t}(),vf=function(){function t(t,e,n,r){this.parent=t,this.instance=e,this.className=n,this.vars=r,this.exports=[]}return t.prototype.createChildWihtLocalVars=function(){return new t(this,this.instance,this.className,new Map)},t}(),yf=function(){function t(t){this.value=t}return t}(),mf=function(){function t(t){this.reflector=t}return t.prototype.debugAst=function(t){return Hn(t)},t.prototype.visitDeclareVarStmt=function(t,e){return e.vars.set(t.name,t.value.visitExpression(this,e)),t.hasModifier(ml.Exported)&&e.exports.push(t.name),null},t.prototype.visitWriteVarExpr=function(t,e){for(var n=t.value.visitExpression(this,e),r=e;null!=r;){if(r.vars.has(t.name))return r.vars.set(t.name,n),n;r=r.parent}throw new Error("Not declared variable "+t.name)},t.prototype.visitReadVarExpr=function(t,e){var n=t.name;if(null!=t.builtin)switch(t.builtin){case qc.Super:return e.instance.__proto__;case qc.This:return e.instance;case qc.CatchError:n=gf;break;case qc.CatchStack:n=_f;break;default:throw new Error("Unknown builtin variable "+t.builtin)}for(var r=e;null!=r;){if(r.vars.has(n))return r.vars.get(n);r=r.parent}throw new Error("Not declared variable "+n)},t.prototype.visitWriteKeyExpr=function(t,e){var n=t.receiver.visitExpression(this,e),r=t.index.visitExpression(this,e),i=t.value.visitExpression(this,e);return n[r]=i,i},t.prototype.visitWritePropExpr=function(t,e){var n=t.receiver.visitExpression(this,e),r=t.value.visitExpression(this,e);return n[t.name]=r,r},t.prototype.visitInvokeMethodExpr=function(t,e){var n,r=t.receiver.visitExpression(this,e),i=this.visitAllExpressions(t.args,e);if(null!=t.builtin)switch(t.builtin){case Qc.ConcatArray:n=r.concat.apply(r,i);break;case Qc.SubscribeObservable:n=r.subscribe({next:i[0]});break;case Qc.Bind:n=r.bind.apply(r,i);break;default:throw new Error("Unknown builtin method "+t.builtin)}else n=r[t.name].apply(r,i);return n},t.prototype.visitInvokeFunctionExpr=function(t,e){var n=this.visitAllExpressions(t.args,e),r=t.fn;return r instanceof Wc&&r.builtin===qc.Super?(e.instance.constructor.prototype.constructor.apply(e.instance,n),null):t.fn.visitExpression(this,e).apply(null,n)},t.prototype.visitReturnStmt=function(t,e){return new yf(t.value.visitExpression(this,e))},t.prototype.visitDeclareClassStmt=function(t,e){var n=bi(t,e,this);return e.vars.set(t.name,n),t.hasModifier(ml.Exported)&&e.exports.push(t.name),null},t.prototype.visitExpressionStmt=function(t,e){return t.expr.visitExpression(this,e)},t.prototype.visitIfStmt=function(t,e){return t.condition.visitExpression(this,e)?this.visitAllStatements(t.trueCase,e):null!=t.falseCase?this.visitAllStatements(t.falseCase,e):null},t.prototype.visitTryCatchStmt=function(t,e){try{return this.visitAllStatements(t.bodyStmts,e)}catch(r){var n=e.createChildWihtLocalVars();return n.vars.set(gf,r),n.vars.set(_f,r.stack),this.visitAllStatements(t.catchStmts,n)}},t.prototype.visitThrowStmt=function(t,e){throw t.error.visitExpression(this,e)},t.prototype.visitCommentStmt=function(t,e){return null},t.prototype.visitInstantiateExpr=function(t,e){var n=this.visitAllExpressions(t.args,e),r=t.classExpr.visitExpression(this,e);return new(r.bind.apply(r,[void 0].concat(n)))},t.prototype.visitLiteralExpr=function(t,e){return t.value},t.prototype.visitExternalExpr=function(t,e){return this.reflector.resolveExternalReference(t.value)},t.prototype.visitConditionalExpr=function(t,e){return t.condition.visitExpression(this,e)?t.trueCase.visitExpression(this,e):null!=t.falseCase?t.falseCase.visitExpression(this,e):null},t.prototype.visitNotExpr=function(t,e){return!t.condition.visitExpression(this,e)},t.prototype.visitAssertNotNullExpr=function(t,e){return t.condition.visitExpression(this,e)},t.prototype.visitCastExpr=function(t,e){return t.value.visitExpression(this,e)},t.prototype.visitFunctionExpr=function(t,e){return wi(t.params.map(function(t){return t.name}),t.statements,e,this)},t.prototype.visitDeclareFunctionStmt=function(t,e){var n=t.params.map(function(t){return t.name});return e.vars.set(t.name,wi(n,t.statements,e,this)),t.hasModifier(ml.Exported)&&e.exports.push(t.name),null},t.prototype.visitBinaryOperatorExpr=function(t,e){var n=this,r=function(){return t.lhs.visitExpression(n,e)},i=function(){return t.rhs.visitExpression(n,e)};switch(t.operator){case Uc.Equals:return r()==i();case Uc.Identical:return r()===i();case Uc.NotEquals:return r()!=i();case Uc.NotIdentical:return r()!==i();case Uc.And:return r()&&i();case Uc.Or:return r()||i();case Uc.Plus:return r()+i();case Uc.Minus:return r()-i();case Uc.Divide:return r()/i();case Uc.Multiply:return r()*i();case Uc.Modulo:return r()%i();case Uc.Lower:return r()i();case Uc.BiggerEquals:return r()>=i();default:throw new Error("Unknown operator "+t.operator)}},t.prototype.visitReadPropExpr=function(t,e){return t.receiver.visitExpression(this,e)[t.name]},t.prototype.visitReadKeyExpr=function(t,e){return t.receiver.visitExpression(this,e)[t.index.visitExpression(this,e)]},t.prototype.visitLiteralArrayExpr=function(t,e){return this.visitAllExpressions(t.entries,e)},t.prototype.visitLiteralMapExpr=function(t,e){var n=this,r={};return t.entries.forEach(function(t){return r[t.key]=t.value.visitExpression(n,e)}),r},t.prototype.visitCommaExpr=function(t,e){var n=this.visitAllExpressions(t.parts,e);return n[n.length-1]},t.prototype.visitAllExpressions=function(t,e){var n=this;return t.map(function(t){return t.visitExpression(n,e)})},t.prototype.visitAllStatements=function(t,e){for(var n=0;n0&&(e.println(t,"var self = this;"),this.visitAllStatements(t.constructorMethod.body,e)),e.decIndent(),e.println(t,"}")},e.prototype._visitClassGetter=function(t,e,n){n.println(t,"Object.defineProperty("+t.name+".prototype, '"+e.name+"', { get: function() {"),n.incIndent(),e.body.length>0&&(n.println(t,"var self = this;"),this.visitAllStatements(e.body,n)),n.decIndent(),n.println(t,"}});")},e.prototype._visitClassMethod=function(t,e,n){n.print(t,t.name+".prototype."+e.name+" = function("),this._visitParams(e.params,n),n.println(t,") {"),n.incIndent(),e.body.length>0&&(n.println(t,"var self = this;"),this.visitAllStatements(e.body,n)),n.decIndent(),n.println(t,"};")},e.prototype.visitReadVarExpr=function(e,n){if(e.builtin===qc.This)n.print(e,"self");else{if(e.builtin===qc.Super)throw new Error("'super' needs to be handled at a parent ast node, not at the variable level!");t.prototype.visitReadVarExpr.call(this,e,n)}return null},e.prototype.visitDeclareVarStmt=function(t,e){return e.print(t,"var "+t.name+" = "),t.value.visitExpression(this,e),e.println(t,";"),null},e.prototype.visitCastExpr=function(t,e){return t.value.visitExpression(this,e),null},e.prototype.visitInvokeFunctionExpr=function(e,n){var r=e.fn;return r instanceof Wc&&r.builtin===qc.Super?(n.currentClass.parent.visitExpression(this,n),n.print(e,".call(this"),e.args.length>0&&(n.print(e,", "),this.visitAllExpressions(e.args,n,",")),n.print(e,")")):t.prototype.visitInvokeFunctionExpr.call(this,e,n),null},e.prototype.visitFunctionExpr=function(t,e){return e.print(t,"function("),this._visitParams(t.params,e),e.println(t,") {"),e.incIndent(),this.visitAllStatements(t.statements,e),e.decIndent(),e.print(t,"}"),null},e.prototype.visitDeclareFunctionStmt=function(t,e){return e.print(t,"function "+t.name+"("),this._visitParams(t.params,e),e.println(t,") {"),e.incIndent(),this.visitAllStatements(t.statements,e),e.decIndent(),e.println(t,"}"),null},e.prototype.visitTryCatchStmt=function(t,e){e.println(t,"try {"),e.incIndent(),this.visitAllStatements(t.bodyStmts,e),e.decIndent(),e.println(t,"} catch ("+Kl.name+") {"),e.incIndent();var n=[Ql.set(Kl.prop("stack")).toDeclStmt(null,[ml.Final])].concat(t.catchStmts);return this.visitAllStatements(n,e),e.decIndent(),e.println(t,"}"),null},e.prototype._visitParams=function(t,e){this.visitAllObjects(function(t){return e.print(null,t.name)},t,e,",")},e.prototype.getBuiltinMethodName=function(t){var e;switch(t){case Qc.ConcatArray:e="concat";break;case Qc.SubscribeObservable:e="subscribe";break;case Qc.Bind:e="bind";break;default:throw new Error("Unknown builtin method: "+t)}return e},e}(Jl),wf=function(t){function e(e){var n=t.call(this)||this;return n.reflector=e,n._evalArgNames=[],n._evalArgValues=[],n._evalExportedVars=[],n}return Object(Ni.b)(e,t),e.prototype.createReturnStmt=function(t){new El(new fl(this._evalExportedVars.map(function(t){return new hl(t,ln(t),!1)}))).visitStatement(this,t)},e.prototype.getArgs=function(){for(var t={},e=0;e0&&(n=Ai(t,n));var r=Oi(n),i=this._packagePrefix;if(null!=i&&null!=r&&"package"==r[Pf.Scheme]){var o=r[Pf.Path];return i=i.replace(/\/+$/,""),o=o.replace(/^\/+/,""),i+"/"+o}return n},t}(),Tf=new RegExp("^(?:([^:/?#.]+):)?(?://(?:([^/?#]*)@)?([\\w\\d\\-\\u0100-\\uffff.%]*)(?::([0-9]+))?)?([^?#]+)?(?:\\?([^#]*))?(?:#(.*))?$"),Pf={Scheme:1,UserInfo:2,Domain:3,Port:4,Path:5,QueryData:6,Fragment:7};Pf[Pf.Scheme]="Scheme",Pf[Pf.UserInfo]="UserInfo",Pf[Pf.Domain]="Domain",Pf[Pf.Port]="Port",Pf[Pf.Path]="Path",Pf[Pf.QueryData]="QueryData",Pf[Pf.Fragment]="Fragment";var Of=function(){function t(){}return t.prototype.get=function(t){return""},t}();!function(){function t(t,e,n,r){this.host=t,this.staticSymbolResolver=e,this.messageBundle=n,this.metadataResolver=r}t.prototype.extract=function(t){var e=this,n=Xr(t,this.host,this.staticSymbolResolver,this.metadataResolver),r=n.files,i=n.ngModules;return Promise.all(i.map(function(t){return e.metadataResolver.loadNgModuleDirectiveAndPipeMetadata(t.type.reference,!1)})).then(function(){var t=[];if(r.forEach(function(n){var r=[];n.directives.forEach(function(t){var n=e.metadataResolver.getDirectiveMetadata(t);n&&n.isComponent&&r.push(n)}),r.forEach(function(r){var i=r.template.template,o=rs.fromArray(r.template.interpolation);t.push.apply(t,e.messageBundle.updateFromTemplate(i,n.fileName,o))})}),t.length)throw new Error(t.map(function(t){return t.toString()}).join("\n"));return e.messageBundle})},t.create=function(e,n){var r=new pc,i=mi(e),o=new Vo,s=new hf(e,o),a=new Uh(e,o,s),u=new tf(s,a),c=new Fo({defaultEncapsulation:Bi.Emulated,useJit:!1}),l=new Cs({get:function(t){return e.loadResource(t)}},i,r,c),p=new cp,h=new kc(c,r,new Ul(u),new Ts(u),new tp(u),s,p,l,console,o,u),f=new Lh(r,[],{},n);return{extractor:new t(e,a,f,h),staticReflector:u}}}()},function(t,e,n){"use strict";function r(t,e){function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}e.b=r,n.d(e,"a",function(){return o});var i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},o=Object.assign||function(t){for(var e,n=1,r=arguments.length;n1&&"number"==typeof t[t.length-1]&&(n=t.pop())):"number"==typeof u&&(n=t.pop()),null===r&&1===t.length&&t[0]instanceof i.Observable?t[0]:a.mergeAll(n)(new o.ArrayObservable(t,r))}var i=n(20),o=n(299),s=n(126),a=n(301);e.merge=r},function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n(20),o=n(300),s=n(125),a=n(126),u=function(t){function e(e,n){t.call(this),this.array=e,this.scheduler=n,n||1!==e.length||(this._isScalar=!0,this.value=e[0])}return r(e,t),e.create=function(t,n){return new e(t,n)},e.of=function(){for(var t=[],n=0;n1?new e(t,r):1===i?new o.ScalarObservable(t[0],r):new s.EmptyObservable(r)},e.dispatch=function(t){var e=t.array,n=t.index,r=t.count,i=t.subscriber;if(n>=r)return void i.complete();i.next(e[n]),i.closed||(t.index=n+1,this.schedule(t))},e.prototype._subscribe=function(t){var n=this.array,r=n.length,i=this.scheduler;if(i)return i.schedule(e.dispatch,0,{array:n,index:0,count:r,subscriber:t});for(var o=0;o0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()},e}(s.OuterSubscriber);e.MergeMapSubscriber=u},function(t,e,n){"use strict";e.isArrayLike=function(t){return t&&"number"==typeof t.length}},function(t,e,n){"use strict";function r(t){return t&&"function"!=typeof t.subscribe&&"function"==typeof t.then}e.isPromise=r},function(t,e,n){"use strict";function r(t){var e=t.Symbol;if("function"==typeof e)return e.iterator||(e.iterator=e("iterator polyfill")),e.iterator;var n=t.Set;if(n&&"function"==typeof(new n)["@@iterator"])return"@@iterator";var r=t.Map;if(r)for(var i=Object.getOwnPropertyNames(r.prototype),o=0;o1)return void(this.connection=null);var n=this.connection,r=t._connection;this.connection=null,!r||n&&r!==n||r.unsubscribe()},e}(s.Subscriber))},function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=function(t){function e(){var e=t.call(this,"object unsubscribed");this.name=e.name="ObjectUnsubscribedError",this.stack=e.stack,this.message=e.message}return r(e,t),e}(Error);e.ObjectUnsubscribedError=i},function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n(60),o=function(t){function e(e,n){t.call(this),this.subject=e,this.subscriber=n,this.closed=!1}return r(e,t),e.prototype.unsubscribe=function(){if(!this.closed){this.closed=!0;var t=this.subject,e=t.observers;if(this.subject=null,e&&0!==e.length&&!t.isStopped&&!t.closed){var n=e.indexOf(this.subscriber);-1!==n&&e.splice(n,1)}}},e}(i.Subscription);e.SubjectSubscription=o},function(t,e,n){"use strict";n.d(e,"a",function(){return u});var r=n(27),i=n(86),o=n(315),s=n(322),a=n(325),u=function(){function t(){}return t.decorators=[{type:r.E,args:[{imports:[i.a,o.a,s.a],declarations:[a.a],bootstrap:[a.a]}]}],t.ctorParameters=function(){return[]},t}()},function(t,e,n){"use strict";function r(t){return null==t||0===t.length}function i(t){return null!=t}function o(t){var e=Object(H._29)(t)?Object(U.fromPromise)(t):t;if(!Object(H._28)(e))throw new Error("Expected validator to return Promise or Observable.");return e}function s(t,e){return e.map(function(e){return e(t)})}function a(t,e){return e.map(function(e){return e(t)})}function u(t){var e=t.reduce(function(t,e){return null!=e?Object(V.a)({},t,e):t},{});return 0===Object.keys(e).length?null:e}function c(){return/android (\d+)/.test((Object(q.c)()?Object(q.c)().getUserAgent():"").toLowerCase())}function l(t){return t.validate?function(e){return t.validate(e)}:t}function p(t){return t.validate?function(e){return t.validate(e)}:t}function h(){throw new Error("unimplemented")}function f(t,e){return null==t?""+e:(e&&"object"==typeof e&&(e="Object"),(t+": "+e).slice(0,50))}function d(t){return t.split(":")[0]}function v(t,e){return null==t?""+e:("string"==typeof e&&(e="'"+e+"'"),e&&"object"==typeof e&&(e="Object"),(t+": "+e).slice(0,50))}function y(t){return t.split(":")[0]}function m(t,e){return e.path.concat([t])}function g(t,e){t||T(e,"Cannot find control with"),e.valueAccessor||T(e,"No value accessor for form control with"),t.validator=$.compose([t.validator,e.validator]),t.asyncValidator=$.composeAsync([t.asyncValidator,e.asyncValidator]),e.valueAccessor.writeValue(t.value),b(t,e),C(t,e),w(t,e),e.valueAccessor.setDisabledState&&t.registerOnDisabledChange(function(t){e.valueAccessor.setDisabledState(t)}),e._rawValidators.forEach(function(e){e.registerOnValidatorChange&&e.registerOnValidatorChange(function(){return t.updateValueAndValidity()})}),e._rawAsyncValidators.forEach(function(e){e.registerOnValidatorChange&&e.registerOnValidatorChange(function(){return t.updateValueAndValidity()})})}function _(t,e){e.valueAccessor.registerOnChange(function(){return S(e)}),e.valueAccessor.registerOnTouched(function(){return S(e)}),e._rawValidators.forEach(function(t){t.registerOnValidatorChange&&t.registerOnValidatorChange(null)}),e._rawAsyncValidators.forEach(function(t){t.registerOnValidatorChange&&t.registerOnValidatorChange(null)}),t&&t._clearChangeFns()}function b(t,e){e.valueAccessor.registerOnChange(function(n){t._pendingValue=n,t._pendingChange=!0,t._pendingDirty=!0,"change"===t.updateOn&&E(t,e)})}function w(t,e){e.valueAccessor.registerOnTouched(function(){t._pendingTouched=!0,"blur"===t.updateOn&&t._pendingChange&&E(t,e),"submit"!==t.updateOn&&t.markAsTouched()})}function E(t,e){e.viewToModelUpdate(t._pendingValue),t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),t._pendingChange=!1}function C(t,e){t.registerOnChange(function(t,n){e.valueAccessor.writeValue(t),n&&e.viewToModelUpdate(t)})}function x(t,e){null==t&&T(e,"Cannot find control with"),t.validator=$.compose([t.validator,e.validator]),t.asyncValidator=$.composeAsync([t.asyncValidator,e.asyncValidator])}function S(t){return T(t,"There is no FormControl instance attached to form control element with")}function T(t,e){var n;throw n=t.path.length>1?"path: '"+t.path.join(" -> ")+"'":t.path[0]?"name: '"+t.path+"'":"unspecified name attribute",new Error(e+" "+n)}function P(t){return null!=t?$.compose(t.map(l)):null}function O(t){return null!=t?$.composeAsync(t.map(p)):null}function M(t,e){if(!t.hasOwnProperty("model"))return!1;var n=t.model;return!!n.isFirstChange()||!Object(H._30)(e,n.currentValue)}function k(t){return mt.some(function(e){return t.constructor===e})}function A(t,e){t._syncPendingControls(),e.forEach(function(t){var e=t.control;"submit"===e.updateOn&&e._pendingChange&&(t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1)})}function N(t,e){if(!e)return null;var n=void 0,r=void 0,i=void 0;return e.forEach(function(e){e.constructor===nt?n=e:k(e)?(r&&T(t,"More than one built-in value accessor matches form control with"),r=e):(i&&T(t,"More than one custom value accessor matches form control with"),i=e)}),i||(r||(n||(T(t,"No valid value accessor for form control with"),null)))}function I(t,e){var n=t.indexOf(e);n>-1&&t.splice(n,1)}function D(t,e,n){return null==e?null:(e instanceof Array||(e=e.split(n)),e instanceof Array&&0===e.length?null:e.reduce(function(t,e){return t instanceof St?t.controls[e]||null:t instanceof Tt?t.at(e)||null:null},t))}function R(t){var e=F(t)?t.validators:t;return Array.isArray(e)?P(e):e||null}function j(t,e){var n=F(e)?e.asyncValidators:t;return Array.isArray(n)?O(n):n||null}function F(t){return null!=t&&!Array.isArray(t)&&"object"==typeof t}function L(t){return!(t instanceof zt||t instanceof Bt||t instanceof Wt)}n.d(e,"a",function(){return he});var V=n(50),H=n(27),B=n(316),U=(n.n(B),n(318)),z=(n.n(U),n(320)),q=(n.n(z),n(86)),W=function(){function t(){}return Object.defineProperty(t.prototype,"value",{get:function(){return this.control?this.control.value:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"valid",{get:function(){return this.control?this.control.valid:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"invalid",{get:function(){return this.control?this.control.invalid:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pending",{get:function(){return this.control?this.control.pending:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"disabled",{get:function(){return this.control?this.control.disabled:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"enabled",{get:function(){return this.control?this.control.enabled:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"errors",{get:function(){return this.control?this.control.errors:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pristine",{get:function(){return this.control?this.control.pristine:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"dirty",{get:function(){return this.control?this.control.dirty:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"touched",{get:function(){return this.control?this.control.touched:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"status",{get:function(){return this.control?this.control.status:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"untouched",{get:function(){return this.control?this.control.untouched:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"statusChanges",{get:function(){return this.control?this.control.statusChanges:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"valueChanges",{get:function(){return this.control?this.control.valueChanges:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"path",{get:function(){return null},enumerable:!0,configurable:!0}),t.prototype.reset=function(t){void 0===t&&(t=void 0),this.control&&this.control.reset(t)},t.prototype.hasError=function(t,e){return!!this.control&&this.control.hasError(t,e)},t.prototype.getError=function(t,e){return this.control?this.control.getError(t,e):null},t}(),G=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(V.b)(e,t),Object.defineProperty(e.prototype,"formDirective",{get:function(){return null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"path",{get:function(){return null},enumerable:!0,configurable:!0}),e}(W),Z=new H.x("NgValidators"),K=new H.x("NgAsyncValidators"),Q=/^(?=.{1,254}$)(?=.{1,64}@)[-!#$%&'*+\/0-9=?A-Z^_`a-z{|}~]+(\.[-!#$%&'*+\/0-9=?A-Z^_`a-z{|}~]+)*@[A-Za-z0-9]([A-Za-z0-9-]{0,61}[A-Za-z0-9])?(\.[A-Za-z0-9]([A-Za-z0-9-]{0,61}[A-Za-z0-9])?)*$/,$=function(){function t(){}return t.min=function(t){return function(e){if(r(e.value)||r(t))return null;var n=parseFloat(e.value);return!isNaN(n)&&nt?{max:{max:t,actual:e.value}}:null}},t.required=function(t){return r(t.value)?{required:!0}:null},t.requiredTrue=function(t){return!0===t.value?null:{required:!0}},t.email=function(t){return Q.test(t.value)?null:{email:!0}},t.minLength=function(t){return function(e){if(r(e.value))return null;var n=e.value?e.value.length:0;return nt?{maxlength:{requiredLength:t,actualLength:n}}:null}},t.pattern=function(e){if(!e)return t.nullValidator;var n,i;return"string"==typeof e?(i="^"+e+"$",n=new RegExp(i)):(i=e.toString(),n=e),function(t){if(r(t.value))return null;var e=t.value;return n.test(e)?null:{pattern:{requiredPattern:i,actualValue:e}}}},t.nullValidator=function(t){return null},t.compose=function(t){if(!t)return null;var e=t.filter(i);return 0==e.length?null:function(t){return u(s(t,e))}},t.composeAsync=function(t){if(!t)return null;var e=t.filter(i);return 0==e.length?null:function(t){var n=a(t,e).map(o);return z.map.call(Object(B.forkJoin)(n),u)}},t}(),X=new H.x("NgValueAccessor"),J={provide:X,useExisting:Object(H._8)(function(){return Y}),multi:!0},Y=function(){function t(t,e){this._renderer=t,this._elementRef=e,this.onChange=function(t){},this.onTouched=function(){}}return t.prototype.writeValue=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"checked",t)},t.prototype.registerOnChange=function(t){this.onChange=t},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t.decorators=[{type:H.q,args:[{selector:"input[type=checkbox][formControlName],input[type=checkbox][formControl],input[type=checkbox][ngModel]",host:{"(change)":"onChange($event.target.checked)","(blur)":"onTouched()"},providers:[J]}]}],t.ctorParameters=function(){return[{type:H.R},{type:H.r}]},t}(),tt={provide:X,useExisting:Object(H._8)(function(){return nt}),multi:!0},et=new H.x("CompositionEventMode"),nt=function(){function t(t,e,n){this._renderer=t,this._elementRef=e,this._compositionMode=n,this.onChange=function(t){},this.onTouched=function(){},this._composing=!1,null==this._compositionMode&&(this._compositionMode=!c())}return t.prototype.writeValue=function(t){var e=null==t?"":t;this._renderer.setProperty(this._elementRef.nativeElement,"value",e)},t.prototype.registerOnChange=function(t){this.onChange=t},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t.prototype._handleInput=function(t){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(t)},t.prototype._compositionStart=function(){this._composing=!0},t.prototype._compositionEnd=function(t){this._composing=!1,this._compositionMode&&this.onChange(t)},t.decorators=[{type:H.q,args:[{selector:"input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]",host:{"(input)":"$any(this)._handleInput($event.target.value)","(blur)":"onTouched()","(compositionstart)":"$any(this)._compositionStart()","(compositionend)":"$any(this)._compositionEnd($event.target.value)"},providers:[tt]}]}],t.ctorParameters=function(){return[{type:H.R},{type:H.r},{type:void 0,decorators:[{type:H.J},{type:H.v,args:[et]}]}]},t}(),rt={provide:X,useExisting:Object(H._8)(function(){return it}),multi:!0},it=function(){function t(t,e){this._renderer=t,this._elementRef=e,this.onChange=function(t){},this.onTouched=function(){}}return t.prototype.writeValue=function(t){var e=null==t?"":t;this._renderer.setProperty(this._elementRef.nativeElement,"value",e)},t.prototype.registerOnChange=function(t){this.onChange=function(e){t(""==e?null:parseFloat(e))}},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t.decorators=[{type:H.q,args:[{selector:"input[type=number][formControlName],input[type=number][formControl],input[type=number][ngModel]",host:{"(change)":"onChange($event.target.value)","(input)":"onChange($event.target.value)","(blur)":"onTouched()"},providers:[rt]}]}],t.ctorParameters=function(){return[{type:H.R},{type:H.r}]},t}(),ot=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._parent=null,e.name=null,e.valueAccessor=null,e._rawValidators=[],e._rawAsyncValidators=[],e}return Object(V.b)(e,t),Object.defineProperty(e.prototype,"validator",{get:function(){return h()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"asyncValidator",{get:function(){return h()},enumerable:!0,configurable:!0}),e}(W),st={provide:X,useExisting:Object(H._8)(function(){return ut}),multi:!0},at=function(){function t(){this._accessors=[]}return t.prototype.add=function(t,e){this._accessors.push([t,e])},t.prototype.remove=function(t){for(var e=this._accessors.length-1;e>=0;--e)if(this._accessors[e][1]===t)return void this._accessors.splice(e,1)},t.prototype.select=function(t){var e=this;this._accessors.forEach(function(n){e._isSameGroup(n,t)&&n[1]!==t&&n[1].fireUncheck(t.value)})},t.prototype._isSameGroup=function(t,e){return!!t[0].control&&(t[0]._parent===e._control._parent&&t[1].name===e.name)},t.decorators=[{type:H.w}],t.ctorParameters=function(){return[]},t}(),ut=function(){function t(t,e,n,r){this._renderer=t,this._elementRef=e,this._registry=n,this._injector=r,this.onChange=function(){},this.onTouched=function(){}}return t.prototype.ngOnInit=function(){this._control=this._injector.get(ot),this._checkName(),this._registry.add(this._control,this)},t.prototype.ngOnDestroy=function(){this._registry.remove(this)},t.prototype.writeValue=function(t){this._state=t===this.value,this._renderer.setProperty(this._elementRef.nativeElement,"checked",this._state)},t.prototype.registerOnChange=function(t){var e=this;this._fn=t,this.onChange=function(){t(e.value),e._registry.select(e)}},t.prototype.fireUncheck=function(t){this.writeValue(t)},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t.prototype._checkName=function(){this.name&&this.formControlName&&this.name!==this.formControlName&&this._throwNameError(),!this.name&&this.formControlName&&(this.name=this.formControlName)},t.prototype._throwNameError=function(){throw new Error('\n If you define both a name and a formControlName attribute on your radio button, their values\n must match. Ex: \n ')},t.decorators=[{type:H.q,args:[{selector:"input[type=radio][formControlName],input[type=radio][formControl],input[type=radio][ngModel]",host:{"(change)":"onChange()","(blur)":"onTouched()"},providers:[st]}]}],t.ctorParameters=function(){return[{type:H.R},{type:H.r},{type:at},{type:H.y}]},t.propDecorators={name:[{type:H.z}],formControlName:[{type:H.z}],value:[{type:H.z}]},t}(),ct={provide:X,useExisting:Object(H._8)(function(){return lt}),multi:!0},lt=function(){function t(t,e){this._renderer=t,this._elementRef=e,this.onChange=function(t){},this.onTouched=function(){}}return t.prototype.writeValue=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"value",parseFloat(t))},t.prototype.registerOnChange=function(t){this.onChange=function(e){t(""==e?null:parseFloat(e))}},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t.decorators=[{type:H.q,args:[{selector:"input[type=range][formControlName],input[type=range][formControl],input[type=range][ngModel]",host:{"(change)":"onChange($event.target.value)","(input)":"onChange($event.target.value)","(blur)":"onTouched()"},providers:[ct]}]}],t.ctorParameters=function(){return[{type:H.R},{type:H.r}]},t}(),pt={provide:X,useExisting:Object(H._8)(function(){return ht}),multi:!0},ht=function(){function t(t,e){this._renderer=t,this._elementRef=e,this._optionMap=new Map,this._idCounter=0,this.onChange=function(t){},this.onTouched=function(){},this._compareWith=H._30}return Object.defineProperty(t.prototype,"compareWith",{set:function(t){if("function"!=typeof t)throw new Error("compareWith must be a function, but received "+JSON.stringify(t));this._compareWith=t},enumerable:!0,configurable:!0}),t.prototype.writeValue=function(t){this.value=t;var e=this._getOptionId(t);null==e&&this._renderer.setProperty(this._elementRef.nativeElement,"selectedIndex",-1);var n=f(e,t);this._renderer.setProperty(this._elementRef.nativeElement,"value",n)},t.prototype.registerOnChange=function(t){var e=this;this.onChange=function(n){e.value=e._getOptionValue(n),t(e.value)}},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t.prototype._registerOption=function(){return(this._idCounter++).toString()},t.prototype._getOptionId=function(t){for(var e=0,n=Array.from(this._optionMap.keys());e-1)}}else n=function(t,e){t._setSelected(!1)};this._optionMap.forEach(n)},t.prototype.registerOnChange=function(t){var e=this;this.onChange=function(n){var r=[];if(n.hasOwnProperty("selectedOptions"))for(var i=n.selectedOptions,o=0;o0||this.disabled},e.prototype._checkAllValuesPresent=function(t){this._forEachChild(function(e,n){if(void 0===t[n])throw new Error("Must supply a value for form control with name: '"+n+"'.")})},e}(Ct),Tt=function(t){function e(e,n,r){var i=t.call(this,R(n),j(r,n))||this;return i.controls=e,i._initObservables(),i._setUpdateStrategy(n),i._setUpControls(),i.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),i}return Object(V.b)(e,t),e.prototype.at=function(t){return this.controls[t]},e.prototype.push=function(t){this.controls.push(t),this._registerControl(t),this.updateValueAndValidity(),this._onCollectionChange()},e.prototype.insert=function(t,e){this.controls.splice(t,0,e),this._registerControl(e),this.updateValueAndValidity(),this._onCollectionChange()},e.prototype.removeAt=function(t){this.controls[t]&&this.controls[t]._registerOnCollectionChange(function(){}),this.controls.splice(t,1),this.updateValueAndValidity(),this._onCollectionChange()},e.prototype.setControl=function(t,e){this.controls[t]&&this.controls[t]._registerOnCollectionChange(function(){}),this.controls.splice(t,1),e&&(this.controls.splice(t,0,e),this._registerControl(e)),this.updateValueAndValidity(),this._onCollectionChange()},Object.defineProperty(e.prototype,"length",{get:function(){return this.controls.length},enumerable:!0,configurable:!0}),e.prototype.setValue=function(t,e){var n=this;void 0===e&&(e={}),this._checkAllValuesPresent(t),t.forEach(function(t,r){n._throwIfControlMissing(r),n.at(r).setValue(t,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)},e.prototype.patchValue=function(t,e){var n=this;void 0===e&&(e={}),t.forEach(function(t,r){n.at(r)&&n.at(r).patchValue(t,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)},e.prototype.reset=function(t,e){void 0===t&&(t=[]),void 0===e&&(e={}),this._forEachChild(function(n,r){n.reset(t[r],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e),this._updatePristine(e),this._updateTouched(e)},e.prototype.getRawValue=function(){return this.controls.map(function(t){return t instanceof xt?t.value:t.getRawValue()})},e.prototype._syncPendingControls=function(){var t=this.controls.reduce(function(t,e){return!!e._syncPendingControls()||t},!1);return t&&this.updateValueAndValidity({onlySelf:!0}),t},e.prototype._throwIfControlMissing=function(t){if(!this.controls.length)throw new Error("\n There are no form controls registered with this array yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.at(t))throw new Error("Cannot find form control at index "+t)},e.prototype._forEachChild=function(t){this.controls.forEach(function(e,n){t(e,n)})},e.prototype._updateValue=function(){var t=this;this.value=this.controls.filter(function(e){return e.enabled||t.disabled}).map(function(t){return t.value})},e.prototype._anyControls=function(t){return this.controls.some(function(e){return e.enabled&&t(e)})},e.prototype._setUpControls=function(){var t=this;this._forEachChild(function(e){return t._registerControl(e)})},e.prototype._checkAllValuesPresent=function(t){this._forEachChild(function(e,n){if(void 0===t[n])throw new Error("Must supply a value for form control at index: "+n+".")})},e.prototype._allControlsDisabled=function(){for(var t=0,e=this.controls;t0||this.disabled},e.prototype._registerControl=function(t){t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)},e}(Ct),Pt={provide:G,useExisting:Object(H._8)(function(){return Mt})},Ot=Promise.resolve(null),Mt=function(t){function e(e,n){var r=t.call(this)||this;return r.submitted=!1,r._directives=[],r.ngSubmit=new H.t,r.form=new St({},P(e),O(n)),r}return Object(V.b)(e,t),e.prototype.ngAfterViewInit=function(){this._setUpdateStrategy()},Object.defineProperty(e.prototype,"formDirective",{get:function(){return this},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"control",{get:function(){return this.form},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"path",{get:function(){return[]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"controls",{get:function(){return this.form.controls},enumerable:!0,configurable:!0}),e.prototype.addControl=function(t){var e=this;Ot.then(function(){var n=e._findContainer(t.path);t.control=n.registerControl(t.name,t.control),g(t.control,t),t.control.updateValueAndValidity({emitEvent:!1}),e._directives.push(t)})},e.prototype.getControl=function(t){return this.form.get(t.path)},e.prototype.removeControl=function(t){var e=this;Ot.then(function(){var n=e._findContainer(t.path);n&&n.removeControl(t.name),I(e._directives,t)})},e.prototype.addFormGroup=function(t){var e=this;Ot.then(function(){var n=e._findContainer(t.path),r=new St({});x(r,t),n.registerControl(t.name,r),r.updateValueAndValidity({emitEvent:!1})})},e.prototype.removeFormGroup=function(t){var e=this;Ot.then(function(){var n=e._findContainer(t.path);n&&n.removeControl(t.name)})},e.prototype.getFormGroup=function(t){return this.form.get(t.path)},e.prototype.updateModel=function(t,e){var n=this;Ot.then(function(){n.form.get(t.path).setValue(e)})},e.prototype.setValue=function(t){this.control.setValue(t)},e.prototype.onSubmit=function(t){return this.submitted=!0,A(this.form,this._directives),this.ngSubmit.emit(t),!1},e.prototype.onReset=function(){this.resetForm()},e.prototype.resetForm=function(t){void 0===t&&(t=void 0),this.form.reset(t),this.submitted=!1},e.prototype._setUpdateStrategy=function(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)},e.prototype._findContainer=function(t){return t.pop(),t.length?this.form.get(t):this.form},e.decorators=[{type:H.q,args:[{selector:"form:not([ngNoForm]):not([formGroup]),ngForm,[ngForm]",providers:[Pt],host:{"(submit)":"onSubmit($event)","(reset)":"onReset()"},outputs:["ngSubmit"],exportAs:"ngForm"}]}],e.ctorParameters=function(){return[{type:Array,decorators:[{type:H.J},{type:H.W},{type:H.v,args:[Z]}]},{type:Array,decorators:[{type:H.J},{type:H.W},{type:H.v,args:[K]}]}]},e.propDecorators={options:[{type:H.z,args:["ngFormOptions"]}]},e}(G),kt={formControlName:'\n
\n \n
\n\n In your class:\n\n this.myGroup = new FormGroup({\n firstName: new FormControl()\n });',formGroupName:'\n
\n
\n \n
\n
\n\n In your class:\n\n this.myGroup = new FormGroup({\n person: new FormGroup({ firstName: new FormControl() })\n });',formArrayName:'\n
\n
\n
\n \n
\n
\n
\n\n In your class:\n\n this.cityArray = new FormArray([new FormControl(\'SF\')]);\n this.myGroup = new FormGroup({\n cities: this.cityArray\n });',ngModelGroup:'\n
\n
\n \n
\n
',ngModelWithFormGroup:'\n
\n \n \n
\n '},At=function(){function t(){}return t.modelParentException=function(){throw new Error('\n ngModel cannot be used to register form controls with a parent formGroup directive. Try using\n formGroup\'s partner directive "formControlName" instead. Example:\n\n '+kt.formControlName+"\n\n Or, if you'd like to avoid registering this form control, indicate that it's standalone in ngModelOptions:\n\n Example:\n\n "+kt.ngModelWithFormGroup)},t.formGroupNameException=function(){throw new Error("\n ngModel cannot be used to register form controls with a parent formGroupName or formArrayName directive.\n\n Option 1: Use formControlName instead of ngModel (reactive strategy):\n\n "+kt.formGroupName+"\n\n Option 2: Update ngModel's parent be ngModelGroup (template-driven strategy):\n\n "+kt.ngModelGroup)},t.missingNameException=function(){throw new Error('If ngModel is used within a form tag, either the name attribute must be set or the form\n control must be defined as \'standalone\' in ngModelOptions.\n\n Example 1: \n Example 2: ')},t.modelGroupParentException=function(){throw new Error("\n ngModelGroup cannot be used with a parent formGroup directive.\n\n Option 1: Use formGroupName instead of ngModelGroup (reactive strategy):\n\n "+kt.formGroupName+"\n\n Option 2: Use a regular form tag instead of the formGroup directive (template-driven strategy):\n\n "+kt.ngModelGroup)},t}(),Nt={provide:G,useExisting:Object(H._8)(function(){return It})},It=function(t){function e(e,n,r){var i=t.call(this)||this;return i._parent=e,i._validators=n,i._asyncValidators=r,i}return Object(V.b)(e,t),e.prototype._checkParentType=function(){this._parent instanceof e||this._parent instanceof Mt||At.modelGroupParentException()},e.decorators=[{type:H.q,args:[{selector:"[ngModelGroup]",providers:[Nt],exportAs:"ngModelGroup"}]}],e.ctorParameters=function(){return[{type:G,decorators:[{type:H.u},{type:H.X}]},{type:Array,decorators:[{type:H.J},{type:H.W},{type:H.v,args:[Z]}]},{type:Array,decorators:[{type:H.J},{type:H.W},{type:H.v,args:[K]}]}]},e.propDecorators={name:[{type:H.z,args:["ngModelGroup"]}]},e}(gt),Dt={provide:ot,useExisting:Object(H._8)(function(){return jt})},Rt=Promise.resolve(null),jt=function(t){function e(e,n,r,i){var o=t.call(this)||this;return o.control=new xt,o._registered=!1,o.update=new H.t,o._parent=e,o._rawValidators=n||[],o._rawAsyncValidators=r||[],o.valueAccessor=N(o,i),o}return Object(V.b)(e,t),e.prototype.ngOnChanges=function(t){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in t&&this._updateDisabled(t),M(t,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)},e.prototype.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeControl(this)},Object.defineProperty(e.prototype,"path",{get:function(){return this._parent?m(this.name,this._parent):[this.name]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"formDirective",{get:function(){return this._parent?this._parent.formDirective:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"validator",{get:function(){return P(this._rawValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"asyncValidator",{get:function(){return O(this._rawAsyncValidators)},enumerable:!0,configurable:!0}),e.prototype.viewToModelUpdate=function(t){this.viewModel=t,this.update.emit(t)},e.prototype._setUpControl=function(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0},e.prototype._setUpdateStrategy=function(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)},e.prototype._isStandalone=function(){return!this._parent||!(!this.options||!this.options.standalone)},e.prototype._setUpStandalone=function(){g(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})},e.prototype._checkForErrors=function(){this._isStandalone()||this._checkParentType(),this._checkName()},e.prototype._checkParentType=function(){!(this._parent instanceof It)&&this._parent instanceof gt?At.formGroupNameException():this._parent instanceof It||this._parent instanceof Mt||At.modelParentException()},e.prototype._checkName=function(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()||this.name||At.missingNameException()},e.prototype._updateValue=function(t){var e=this;Rt.then(function(){e.control.setValue(t,{emitViewToModelChange:!1})})},e.prototype._updateDisabled=function(t){var e=this,n=t.isDisabled.currentValue,r=""===n||n&&"false"!==n;Rt.then(function(){r&&!e.control.disabled?e.control.disable():!r&&e.control.disabled&&e.control.enable()})},e.decorators=[{type:H.q,args:[{selector:"[ngModel]:not([formControlName]):not([formControl])",providers:[Dt],exportAs:"ngModel"}]}],e.ctorParameters=function(){return[{type:G,decorators:[{type:H.J},{type:H.u}]},{type:Array,decorators:[{type:H.J},{type:H.W},{type:H.v,args:[Z]}]},{type:Array,decorators:[{type:H.J},{type:H.W},{type:H.v,args:[K]}]},{type:Array,decorators:[{type:H.J},{type:H.W},{type:H.v,args:[X]}]}]},e.propDecorators={name:[{type:H.z}],isDisabled:[{type:H.z,args:["disabled"]}],model:[{type:H.z,args:["ngModel"]}],options:[{type:H.z,args:["ngModelOptions"]}],update:[{type:H.K,args:["ngModelChange"]}]},e}(ot),Ft=function(){function t(){}return t.controlParentException=function(){throw new Error("formControlName must be used with a parent formGroup directive. You'll want to add a formGroup\n directive and pass it an existing FormGroup instance (you can create one in your class).\n\n Example:\n\n "+kt.formControlName)},t.ngModelGroupException=function(){throw new Error('formControlName cannot be used with an ngModelGroup parent. It is only compatible with parents\n that also have a "form" prefix: formGroupName, formArrayName, or formGroup.\n\n Option 1: Update the parent to be formGroupName (reactive form strategy)\n\n '+kt.formGroupName+"\n\n Option 2: Use ngModel instead of formControlName (template-driven strategy)\n\n "+kt.ngModelGroup)},t.missingFormException=function(){throw new Error("formGroup expects a FormGroup instance. Please pass one in.\n\n Example:\n\n "+kt.formControlName)},t.groupParentException=function(){throw new Error("formGroupName must be used with a parent formGroup directive. You'll want to add a formGroup\n directive and pass it an existing FormGroup instance (you can create one in your class).\n\n Example:\n\n "+kt.formGroupName)},t.arrayParentException=function(){throw new Error("formArrayName must be used with a parent formGroup directive. You'll want to add a formGroup\n directive and pass it an existing FormGroup instance (you can create one in your class).\n\n Example:\n\n "+kt.formArrayName)},t.disabledAttrWarning=function(){console.warn("\n It looks like you're using the disabled attribute with a reactive form directive. If you set disabled to true\n when you set up this control in your component class, the disabled attribute will actually be set in the DOM for\n you. We recommend using this approach to avoid 'changed after checked' errors.\n \n Example: \n form = new FormGroup({\n first: new FormControl({value: 'Nancy', disabled: true}, Validators.required),\n last: new FormControl('Drew', Validators.required)\n });\n ")},t}(),Lt={provide:ot,useExisting:Object(H._8)(function(){return Vt})},Vt=function(t){function e(e,n,r){var i=t.call(this)||this;return i.update=new H.t,i._rawValidators=e||[],i._rawAsyncValidators=n||[],i.valueAccessor=N(i,r),i}return Object(V.b)(e,t),Object.defineProperty(e.prototype,"isDisabled",{set:function(t){Ft.disabledAttrWarning()},enumerable:!0,configurable:!0}),e.prototype.ngOnChanges=function(t){this._isControlChanged(t)&&(g(this.form,this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this.form.updateValueAndValidity({emitEvent:!1})),M(t,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)},Object.defineProperty(e.prototype,"path",{get:function(){return[]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"validator",{get:function(){return P(this._rawValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"asyncValidator",{get:function(){return O(this._rawAsyncValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"control",{get:function(){return this.form},enumerable:!0,configurable:!0}),e.prototype.viewToModelUpdate=function(t){this.viewModel=t,this.update.emit(t)},e.prototype._isControlChanged=function(t){return t.hasOwnProperty("form")},e.decorators=[{type:H.q,args:[{selector:"[formControl]",providers:[Lt],exportAs:"ngForm"}]}],e.ctorParameters=function(){return[{type:Array,decorators:[{type:H.J},{type:H.W},{type:H.v,args:[Z]}]},{type:Array,decorators:[{type:H.J},{type:H.W},{type:H.v,args:[K]}]},{type:Array,decorators:[{type:H.J},{type:H.W},{type:H.v,args:[X]}]}]},e.propDecorators={form:[{type:H.z,args:["formControl"]}],model:[{type:H.z,args:["ngModel"]}],update:[{type:H.K,args:["ngModelChange"]}],isDisabled:[{type:H.z,args:["disabled"]}]},e}(ot),Ht={provide:G,useExisting:Object(H._8)(function(){return Bt})},Bt=function(t){function e(e,n){var r=t.call(this)||this;return r._validators=e,r._asyncValidators=n,r.submitted=!1,r.directives=[],r.form=null,r.ngSubmit=new H.t,r}return Object(V.b)(e,t),e.prototype.ngOnChanges=function(t){this._checkFormPresent(),t.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations())},Object.defineProperty(e.prototype,"formDirective",{get:function(){return this},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"control",{get:function(){return this.form},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"path",{get:function(){return[]},enumerable:!0,configurable:!0}),e.prototype.addControl=function(t){var e=this.form.get(t.path);return g(e,t),e.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),e},e.prototype.getControl=function(t){return this.form.get(t.path)},e.prototype.removeControl=function(t){I(this.directives,t)},e.prototype.addFormGroup=function(t){var e=this.form.get(t.path);x(e,t),e.updateValueAndValidity({emitEvent:!1})},e.prototype.removeFormGroup=function(t){},e.prototype.getFormGroup=function(t){return this.form.get(t.path)},e.prototype.addFormArray=function(t){var e=this.form.get(t.path);x(e,t),e.updateValueAndValidity({emitEvent:!1})},e.prototype.removeFormArray=function(t){},e.prototype.getFormArray=function(t){return this.form.get(t.path)},e.prototype.updateModel=function(t,e){this.form.get(t.path).setValue(e)},e.prototype.onSubmit=function(t){return this.submitted=!0,A(this.form,this.directives),this.ngSubmit.emit(t),!1},e.prototype.onReset=function(){this.resetForm()},e.prototype.resetForm=function(t){void 0===t&&(t=void 0),this.form.reset(t),this.submitted=!1},e.prototype._updateDomValue=function(){var t=this;this.directives.forEach(function(e){var n=t.form.get(e.path);e.control!==n&&(_(e.control,e),n&&g(n,e),e.control=n)}),this.form._updateTreeValidity({emitEvent:!1})},e.prototype._updateRegistrations=function(){var t=this;this.form._registerOnCollectionChange(function(){return t._updateDomValue()}),this._oldForm&&this._oldForm._registerOnCollectionChange(function(){}),this._oldForm=this.form},e.prototype._updateValidators=function(){var t=P(this._validators);this.form.validator=$.compose([this.form.validator,t]);var e=O(this._asyncValidators);this.form.asyncValidator=$.composeAsync([this.form.asyncValidator,e])},e.prototype._checkFormPresent=function(){this.form||Ft.missingFormException()},e.decorators=[{type:H.q,args:[{selector:"[formGroup]",providers:[Ht],host:{"(submit)":"onSubmit($event)","(reset)":"onReset()"},exportAs:"ngForm"}]}],e.ctorParameters=function(){return[{type:Array,decorators:[{type:H.J},{type:H.W},{type:H.v,args:[Z]}]},{type:Array,decorators:[{type:H.J},{type:H.W},{type:H.v,args:[K]}]}]},e.propDecorators={form:[{type:H.z,args:["formGroup"]}],ngSubmit:[{type:H.K}]},e}(G),Ut={provide:G,useExisting:Object(H._8)(function(){return zt})},zt=function(t){function e(e,n,r){var i=t.call(this)||this;return i._parent=e,i._validators=n,i._asyncValidators=r,i}return Object(V.b)(e,t),e.prototype._checkParentType=function(){L(this._parent)&&Ft.groupParentException()},e.decorators=[{type:H.q,args:[{selector:"[formGroupName]",providers:[Ut]}]}],e.ctorParameters=function(){return[{type:G,decorators:[{type:H.J},{type:H.u},{type:H.X}]},{type:Array,decorators:[{type:H.J},{type:H.W},{type:H.v,args:[Z]}]},{type:Array,decorators:[{type:H.J},{type:H.W},{type:H.v,args:[K]}]}]},e.propDecorators={name:[{type:H.z,args:["formGroupName"]}]},e}(gt),qt={provide:G,useExisting:Object(H._8)(function(){return Wt})},Wt=function(t){function e(e,n,r){var i=t.call(this)||this;return i._parent=e,i._validators=n,i._asyncValidators=r,i}return Object(V.b)(e,t),e.prototype.ngOnInit=function(){this._checkParentType(),this.formDirective.addFormArray(this)},e.prototype.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeFormArray(this)},Object.defineProperty(e.prototype,"control",{get:function(){return this.formDirective.getFormArray(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"formDirective",{get:function(){return this._parent?this._parent.formDirective:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"path",{get:function(){return m(this.name,this._parent)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"validator",{get:function(){return P(this._validators)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"asyncValidator",{get:function(){return O(this._asyncValidators)},enumerable:!0,configurable:!0}),e.prototype._checkParentType=function(){L(this._parent)&&Ft.arrayParentException()},e.decorators=[{type:H.q,args:[{selector:"[formArrayName]",providers:[qt]}]}],e.ctorParameters=function(){return[{type:G,decorators:[{type:H.J},{type:H.u},{type:H.X}]},{type:Array,decorators:[{type:H.J},{type:H.W},{type:H.v,args:[Z]}]},{type:Array,decorators:[{type:H.J},{type:H.W},{type:H.v,args:[K]}]}]},e.propDecorators={name:[{type:H.z,args:["formArrayName"]}]},e}(G),Gt={provide:ot,useExisting:Object(H._8)(function(){return Zt})},Zt=function(t){function e(e,n,r,i){var o=t.call(this)||this;return o._added=!1,o.update=new H.t,o._parent=e,o._rawValidators=n||[],o._rawAsyncValidators=r||[],o.valueAccessor=N(o,i),o}return Object(V.b)(e,t),Object.defineProperty(e.prototype,"isDisabled",{set:function(t){Ft.disabledAttrWarning()},enumerable:!0,configurable:!0}),e.prototype.ngOnChanges=function(t){this._added||this._setUpControl(),M(t,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))},e.prototype.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeControl(this)},e.prototype.viewToModelUpdate=function(t){this.viewModel=t,this.update.emit(t)},Object.defineProperty(e.prototype,"path",{get:function(){return m(this.name,this._parent)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"formDirective",{get:function(){return this._parent?this._parent.formDirective:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"validator",{get:function(){return P(this._rawValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"asyncValidator",{get:function(){return O(this._rawAsyncValidators)},enumerable:!0,configurable:!0}),e.prototype._checkParentType=function(){!(this._parent instanceof zt)&&this._parent instanceof gt?Ft.ngModelGroupException():this._parent instanceof zt||this._parent instanceof Bt||this._parent instanceof Wt||Ft.controlParentException()},e.prototype._setUpControl=function(){this._checkParentType(),this.control=this.formDirective.addControl(this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this._added=!0},e.decorators=[{type:H.q,args:[{selector:"[formControlName]",providers:[Gt]}]}],e.ctorParameters=function(){return[{type:G,decorators:[{type:H.J},{type:H.u},{type:H.X}]},{type:Array,decorators:[{type:H.J},{type:H.W},{type:H.v,args:[Z]}]},{type:Array,decorators:[{type:H.J},{type:H.W},{type:H.v,args:[K]}]},{type:Array,decorators:[{type:H.J},{type:H.W},{type:H.v,args:[X]}]}]},e.propDecorators={name:[{type:H.z,args:["formControlName"]}],model:[{type:H.z,args:["ngModel"]}],update:[{type:H.K,args:["ngModelChange"]}],isDisabled:[{type:H.z,args:["disabled"]}]},e}(ot),Kt={provide:Z,useExisting:Object(H._8)(function(){return $t}),multi:!0},Qt={provide:Z,useExisting:Object(H._8)(function(){return Xt}),multi:!0},$t=function(){function t(){}return Object.defineProperty(t.prototype,"required",{get:function(){return this._required},set:function(t){this._required=null!=t&&!1!==t&&""+t!="false",this._onChange&&this._onChange()},enumerable:!0,configurable:!0}),t.prototype.validate=function(t){return this.required?$.required(t):null},t.prototype.registerOnValidatorChange=function(t){this._onChange=t},t.decorators=[{type:H.q,args:[{selector:":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]",providers:[Kt],host:{"[attr.required]":'required ? "" : null'}}]}],t.ctorParameters=function(){return[]},t.propDecorators={required:[{type:H.z}]},t}(),Xt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(V.b)(e,t),e.prototype.validate=function(t){return this.required?$.requiredTrue(t):null},e.decorators=[{type:H.q,args:[{selector:"input[type=checkbox][required][formControlName],input[type=checkbox][required][formControl],input[type=checkbox][required][ngModel]",providers:[Qt],host:{"[attr.required]":'required ? "" : null'}}]}],e.ctorParameters=function(){return[]},e}($t),Jt={provide:Z,useExisting:Object(H._8)(function(){return Yt}),multi:!0},Yt=function(){function t(){}return Object.defineProperty(t.prototype,"email",{set:function(t){this._enabled=""===t||!0===t||"true"===t,this._onChange&&this._onChange()},enumerable:!0,configurable:!0}),t.prototype.validate=function(t){return this._enabled?$.email(t):null},t.prototype.registerOnValidatorChange=function(t){this._onChange=t},t.decorators=[{type:H.q,args:[{selector:"[email][formControlName],[email][formControl],[email][ngModel]",providers:[Jt]}]}],t.ctorParameters=function(){return[]},t.propDecorators={email:[{type:H.z}]},t}(),te={provide:Z,useExisting:Object(H._8)(function(){return ee}),multi:!0},ee=function(){function t(){}return t.prototype.ngOnChanges=function(t){"minlength"in t&&(this._createValidator(),this._onChange&&this._onChange())},t.prototype.validate=function(t){return null==this.minlength?null:this._validator(t)},t.prototype.registerOnValidatorChange=function(t){this._onChange=t},t.prototype._createValidator=function(){this._validator=$.minLength(parseInt(this.minlength,10))},t.decorators=[{type:H.q,args:[{selector:"[minlength][formControlName],[minlength][formControl],[minlength][ngModel]",providers:[te],host:{"[attr.minlength]":"minlength ? minlength : null"}}]}],t.ctorParameters=function(){return[]},t.propDecorators={minlength:[{type:H.z}]},t}(),ne={provide:Z,useExisting:Object(H._8)(function(){return re}),multi:!0},re=function(){function t(){}return t.prototype.ngOnChanges=function(t){"maxlength"in t&&(this._createValidator(),this._onChange&&this._onChange())},t.prototype.validate=function(t){return null!=this.maxlength?this._validator(t):null},t.prototype.registerOnValidatorChange=function(t){this._onChange=t},t.prototype._createValidator=function(){this._validator=$.maxLength(parseInt(this.maxlength,10))},t.decorators=[{type:H.q,args:[{selector:"[maxlength][formControlName],[maxlength][formControl],[maxlength][ngModel]",providers:[ne],host:{"[attr.maxlength]":"maxlength ? maxlength : null"}}]}],t.ctorParameters=function(){return[]},t.propDecorators={maxlength:[{type:H.z}]},t}(),ie={provide:Z,useExisting:Object(H._8)(function(){return oe}),multi:!0},oe=function(){function t(){}return t.prototype.ngOnChanges=function(t){"pattern"in t&&(this._createValidator(),this._onChange&&this._onChange())},t.prototype.validate=function(t){return this._validator(t)},t.prototype.registerOnValidatorChange=function(t){this._onChange=t},t.prototype._createValidator=function(){this._validator=$.pattern(this.pattern)},t.decorators=[{type:H.q,args:[{selector:"[pattern][formControlName],[pattern][formControl],[pattern][ngModel]",providers:[ie],host:{"[attr.pattern]":"pattern ? pattern : null"}}]}],t.ctorParameters=function(){return[]},t.propDecorators={pattern:[{type:H.z}]},t}(),se=function(){function t(){}return t.prototype.group=function(t,e){void 0===e&&(e=null);var n=this._reduceControls(t),r=null!=e?e.validator:null,i=null!=e?e.asyncValidator:null;return new St(n,r,i)},t.prototype.control=function(t,e,n){return new xt(t,e,n)},t.prototype.array=function(t,e,n){var r=this,i=t.map(function(t){return r._createControl(t)});return new Tt(i,e,n)},t.prototype._reduceControls=function(t){var e=this,n={};return Object.keys(t).forEach(function(r){n[r]=e._createControl(t[r])}),n},t.prototype._createControl=function(t){if(t instanceof xt||t instanceof St||t instanceof Tt)return t;if(Array.isArray(t)){var e=t[0],n=t.length>1?t[1]:null,r=t.length>2?t[2]:null;return this.control(e,n,r)}return this.control(t)},t.decorators=[{type:H.w}],t.ctorParameters=function(){return[]},t}(),ae=(new H._2("5.2.0"),function(){function t(){}return t.decorators=[{type:H.q,args:[{selector:"form:not([ngNoForm]):not([ngNativeValidate])",host:{novalidate:""}}]}],t.ctorParameters=function(){return[]},t}()),ue=[ae,ft,yt,nt,it,lt,Y,ht,vt,ut,wt,Et,$t,ee,re,oe,Xt,Yt],ce=[jt,It,Mt],le=[Vt,Bt,Zt,zt,Wt],pe=function(){function t(){}return t.decorators=[{type:H.E,args:[{declarations:ue,exports:ue}]}],t.ctorParameters=function(){return[]},t}(),he=function(){function t(){}return t.decorators=[{type:H.E,args:[{declarations:ce,providers:[at],exports:[pe,ce]}]}],t.ctorParameters=function(){return[]},t}();!function(){function t(){}t.decorators=[{type:H.E,args:[{declarations:[le],providers:[se,at],exports:[pe,le]}]}],t.ctorParameters=function(){return[]}}()},function(t,e,n){"use strict";var r=n(317);e.forkJoin=r.ForkJoinObservable.create},function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n(20),o=n(125),s=n(120),a=n(127),u=n(128),c=function(t){function e(e,n){t.call(this),this.sources=e,this.resultSelector=n}return r(e,t),e.create=function(){for(var t=[],n=0;n=0;a--)(i=t[a])&&(s=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s}e.c=r,n.d(e,"a",function(){return s}),e.b=i;var o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},s=Object.assign||function(t){for(var e,n=1,r=arguments.length;n\n the source code of the demo\n
\n default:\n
\n \n
\n selected id: {{selectedId}}\n
\n checkbox:\n
\n \n
\n
\n draggable:\n
\n \n
\n
\n no dots:\n
\n \n
\n
\n large:\n
\n \n
\n
\n small:\n
\n \n
\n
\n dark theme:\n
\n \n
\n
\n node id:\n
\n \n
\n \n '}]}],t.ctorParameters=function(){return[]},t}()},function(t,e,n){"use strict";function r(t){void 0===t.state&&(t.state={}),void 0===t.state.opened&&(t.state.opened=!1),void 0===t.state.selected&&(t.state.selected=!1),void 0===t.state.disabled&&(t.state.disabled=!1),void 0===t.state.loading&&(t.state.loading=!1),void 0===t.state.highlighted&&(t.state.highlighted=!1),void 0===t.state.openable&&(t.state.openable=!1),void 0===t.state.dropPosition&&(t.state.dropPosition=0),void 0===t.state.dropAllowed&&(t.state.dropAllowed=!0),void 0===t.children&&(t.children=[]);for(var e=0,n=t.children;e - + \ No newline at end of file diff --git a/packages/angular/package.json b/packages/angular/package.json index 9ca2ef2..3275497 100644 --- a/packages/angular/package.json +++ b/packages/angular/package.json @@ -24,11 +24,11 @@ "tree-component": "^5.1.1" }, "devDependencies": { - "@angular/platform-browser": "5.1.3", - "@angular/platform-browser-dynamic": "5.1.3", + "@angular/platform-browser": "5.2.0", + "@angular/platform-browser-dynamic": "5.2.0", "core-js": "2.5.3", "rxjs": "5.5.6", - "zone.js": "0.8.19" + "zone.js": "0.8.20" }, "peerDependencies": { "@angular/common": "5", diff --git a/packages/angular/yarn.lock b/packages/angular/yarn.lock index 107e943..711ca71 100644 --- a/packages/angular/yarn.lock +++ b/packages/angular/yarn.lock @@ -3,32 +3,32 @@ "@angular/common@5": - version "5.1.3" - resolved "https://registry.yarnpkg.com/@angular/common/-/common-5.1.3.tgz#db517c00a95f72885eb2091098eaed4f95494a63" + version "5.2.0" + resolved "https://registry.yarnpkg.com/@angular/common/-/common-5.2.0.tgz#d184fb90763da1d1bab1f6c4f41dd80c79e47506" dependencies: tslib "^1.7.1" "@angular/core@5": - version "5.1.3" - resolved "https://registry.yarnpkg.com/@angular/core/-/core-5.1.3.tgz#b739f69834c344285250a384d0c203dd36778a37" + version "5.2.0" + resolved "https://registry.yarnpkg.com/@angular/core/-/core-5.2.0.tgz#f91bf83de3e0defd621adcc007c25d7cd5a85af1" dependencies: tslib "^1.7.1" "@angular/forms@5": - version "5.1.3" - resolved "https://registry.yarnpkg.com/@angular/forms/-/forms-5.1.3.tgz#fe4c0c37c504e78c85f8e50db6e098705fa72f4c" + version "5.2.0" + resolved "https://registry.yarnpkg.com/@angular/forms/-/forms-5.2.0.tgz#b5fb6b9ba97334bca0e3202d7fee6b9162cbc824" dependencies: tslib "^1.7.1" -"@angular/platform-browser-dynamic@5.1.3": - version "5.1.3" - resolved "https://registry.yarnpkg.com/@angular/platform-browser-dynamic/-/platform-browser-dynamic-5.1.3.tgz#ad37e4dbd5251e7ea256ad9323fe11c848d04050" +"@angular/platform-browser-dynamic@5.2.0": + version "5.2.0" + resolved "https://registry.yarnpkg.com/@angular/platform-browser-dynamic/-/platform-browser-dynamic-5.2.0.tgz#6d3e074363606b559c3319d2433d1c08ccaefbad" dependencies: tslib "^1.7.1" -"@angular/platform-browser@5.1.3": - version "5.1.3" - resolved "https://registry.yarnpkg.com/@angular/platform-browser/-/platform-browser-5.1.3.tgz#5abe7809009eff6bff3bf89faba96fe066fb2036" +"@angular/platform-browser@5.2.0": + version "5.2.0" + resolved "https://registry.yarnpkg.com/@angular/platform-browser/-/platform-browser-5.2.0.tgz#89cbc8abf54171ecf3dd9a40970b4982eecc9f73" dependencies: tslib "^1.7.1" @@ -50,6 +50,6 @@ tslib@^1.7.1: version "1.8.1" resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.8.1.tgz#6946af2d1d651a7b1863b531d6e5afa41aa44eac" -zone.js@0.8.19: - version "0.8.19" - resolved "https://registry.yarnpkg.com/zone.js/-/zone.js-0.8.19.tgz#a4b522cd9e8b7b616a638c297d720d4c7f292f71" +zone.js@0.8.20: + version "0.8.20" + resolved "https://registry.yarnpkg.com/zone.js/-/zone.js-0.8.20.tgz#a218c48db09464b19ff6fc8f0d4bb5b1046e185d" diff --git a/packages/core/yarn.lock b/packages/core/yarn.lock index 555c794..6b39af8 100644 --- a/packages/core/yarn.lock +++ b/packages/core/yarn.lock @@ -3,8 +3,8 @@ "@types/node@*": - version "8.5.7" - resolved "https://registry.yarnpkg.com/@types/node/-/node-8.5.7.tgz#9c498c35af354dcfbca3790fb2e81129e93cf0e2" + version "9.3.0" + resolved "https://registry.yarnpkg.com/@types/node/-/node-9.3.0.tgz#3a129cda7c4e5df2409702626892cb4b96546dd5" tslib@1: version "1.8.1" diff --git a/packages/react/yarn.lock b/packages/react/yarn.lock index e859ace..60c991e 100644 --- a/packages/react/yarn.lock +++ b/packages/react/yarn.lock @@ -3,8 +3,8 @@ "@types/node@*": - version "8.5.7" - resolved "https://registry.yarnpkg.com/@types/node/-/node-8.5.7.tgz#9c498c35af354dcfbca3790fb2e81129e93cf0e2" + version "9.3.0" + resolved "https://registry.yarnpkg.com/@types/node/-/node-9.3.0.tgz#3a129cda7c4e5df2409702626892cb4b96546dd5" "@types/react-dom@16.0.3": version "16.0.3" diff --git a/packages/vue/package.json b/packages/vue/package.json index f4fab67..cef3b9c 100644 --- a/packages/vue/package.json +++ b/packages/vue/package.json @@ -8,9 +8,6 @@ "type": "git", "url": "git+https://github.com/plantain-00/tree-component.git" }, - "scripts": { - "tsc": "tsc -p src" - }, "author": "York Yao", "license": "MIT", "bugs": { @@ -25,9 +22,6 @@ "vue": "2", "vue-class-component": "6" }, - "devDependencies": { - "typescript": "2.6.2" - }, "peerDependencies": { "tree-component": "^5.1.1", "vue": "2", diff --git a/packages/vue/yarn.lock b/packages/vue/yarn.lock index 8eb311d..e0241d1 100644 --- a/packages/vue/yarn.lock +++ b/packages/vue/yarn.lock @@ -2,10 +2,6 @@ # yarn lockfile v1 -typescript@2.6.2: - version "2.6.2" - resolved "https://registry.yarnpkg.com/typescript/-/typescript-2.6.2.tgz#3c5b6fd7f6de0914269027f03c0946758f7673a4" - vue-class-component@6: version "6.1.2" resolved "https://registry.yarnpkg.com/vue-class-component/-/vue-class-component-6.1.2.tgz#87ac0265b0db71a3f49f10d90e4f69f9be9c2fbd" diff --git a/yarn.lock b/yarn.lock index ea96c0e..51124e2 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2,32 +2,32 @@ # yarn lockfile v1 -"@angular/compiler-cli@5.1.3": - version "5.1.3" - resolved "https://registry.yarnpkg.com/@angular/compiler-cli/-/compiler-cli-5.1.3.tgz#e9cfd183a8a12fddad0188d2b7e4e9a45f302d82" +"@angular/compiler-cli@5.2.0": + version "5.2.0" + resolved "https://registry.yarnpkg.com/@angular/compiler-cli/-/compiler-cli-5.2.0.tgz#336b6d0127c69f25637cbcd82a4b76de6f3a2cce" dependencies: chokidar "^1.4.2" minimist "^1.2.0" reflect-metadata "^0.1.2" - tsickle "^0.25.5" + tsickle "^0.26.0" -"@angular/compiler@5.1.3": - version "5.1.3" - resolved "https://registry.yarnpkg.com/@angular/compiler/-/compiler-5.1.3.tgz#125008477895aee1bf71294bf981a4ba184c1e59" +"@angular/compiler@5.2.0": + version "5.2.0" + resolved "https://registry.yarnpkg.com/@angular/compiler/-/compiler-5.2.0.tgz#3798795b97e60b47fdc0a150e062dedb4ac39467" dependencies: tslib "^1.7.1" -"@angular/core@5.1.3": - version "5.1.3" - resolved "https://registry.yarnpkg.com/@angular/core/-/core-5.1.3.tgz#b739f69834c344285250a384d0c203dd36778a37" +"@angular/core@5.2.0": + version "5.2.0" + resolved "https://registry.yarnpkg.com/@angular/core/-/core-5.2.0.tgz#f91bf83de3e0defd621adcc007c25d7cd5a85af1" dependencies: tslib "^1.7.1" -"@commitlint/cli@5.2.8": - version "5.2.8" - resolved "https://registry.yarnpkg.com/@commitlint/cli/-/cli-5.2.8.tgz#593e0d16d1d6ebba9994893a4cc933d1b212ae0c" +"@commitlint/cli@6.0.1": + version "6.0.1" + resolved "https://registry.yarnpkg.com/@commitlint/cli/-/cli-6.0.1.tgz#6a78d91dbfbb1330f42a3c1373f79e0c69a6dc9d" dependencies: - "@commitlint/core" "^5.2.8" + "@commitlint/core" "^6.0.1" babel-polyfill "6.26.0" chalk "2.3.0" get-stdin "5.0.1" @@ -45,16 +45,16 @@ dependencies: "@commitlint/config-angular-type-enum" "^5.1.1" -"@commitlint/core@^5.2.8": - version "5.2.8" - resolved "https://registry.yarnpkg.com/@commitlint/core/-/core-5.2.8.tgz#a04a1beb2d25c8b70b19d4c309af50902d4f1057" +"@commitlint/core@^6.0.1": + version "6.0.1" + resolved "https://registry.yarnpkg.com/@commitlint/core/-/core-6.0.1.tgz#bad9735076ccdfa319b47acba977a3f3aa58eb29" dependencies: - "@commitlint/execute-rule" "^5.2.8" - "@commitlint/is-ignored" "^5.2.8" - "@commitlint/parse" "^5.2.8" - "@commitlint/resolve-extends" "^5.2.8" - "@commitlint/rules" "^5.2.8" - "@commitlint/top-level" "^5.2.8" + "@commitlint/execute-rule" "^6.0.0" + "@commitlint/is-ignored" "^6.0.0" + "@commitlint/parse" "^6.0.0" + "@commitlint/resolve-extends" "^6.0.0" + "@commitlint/rules" "^6.0.1" + "@commitlint/top-level" "^6.0.0" "@marionebl/sander" "^0.6.0" babel-runtime "^6.23.0" chalk "^2.0.1" @@ -66,9 +66,9 @@ lodash.topairs "4.3.0" resolve-from "4.0.0" -"@commitlint/ensure@^5.2.8": - version "5.2.8" - resolved "https://registry.yarnpkg.com/@commitlint/ensure/-/ensure-5.2.8.tgz#15a01ca825db4b0e9a79d792a832727396f349b3" +"@commitlint/ensure@^6.0.0": + version "6.0.0" + resolved "https://registry.yarnpkg.com/@commitlint/ensure/-/ensure-6.0.0.tgz#5ed29b53601fd6dc6be3ac98d0131e19bd64ca6c" dependencies: lodash.camelcase "4.3.0" lodash.kebabcase "4.1.1" @@ -76,32 +76,32 @@ lodash.startcase "4.4.0" lodash.upperfirst "4.3.1" -"@commitlint/execute-rule@^5.2.8": - version "5.2.8" - resolved "https://registry.yarnpkg.com/@commitlint/execute-rule/-/execute-rule-5.2.8.tgz#d6422f14e9acf39ab5f520dc810fe727b679d30f" +"@commitlint/execute-rule@^6.0.0": + version "6.0.0" + resolved "https://registry.yarnpkg.com/@commitlint/execute-rule/-/execute-rule-6.0.0.tgz#531a3df771174ffcace4477328bc3195947a4acd" dependencies: babel-runtime "6.26.0" -"@commitlint/is-ignored@^5.2.8": - version "5.2.8" - resolved "https://registry.yarnpkg.com/@commitlint/is-ignored/-/is-ignored-5.2.8.tgz#c2b12e86eab7d02e0e3a576eddab993dd3cd55d2" +"@commitlint/is-ignored@^6.0.0": + version "6.0.0" + resolved "https://registry.yarnpkg.com/@commitlint/is-ignored/-/is-ignored-6.0.0.tgz#e18a90fb16f628c1855cf1c2b2047548f95cae19" dependencies: semver "5.4.1" -"@commitlint/message@^5.2.8": - version "5.2.8" - resolved "https://registry.yarnpkg.com/@commitlint/message/-/message-5.2.8.tgz#189e054d108c3dd3f0a4da20c3695e3b3e682d86" +"@commitlint/message@^6.0.0": + version "6.0.0" + resolved "https://registry.yarnpkg.com/@commitlint/message/-/message-6.0.0.tgz#f2f78b06d7e872d73c6908eb61c281eeec55f0f3" -"@commitlint/parse@^5.2.8": - version "5.2.8" - resolved "https://registry.yarnpkg.com/@commitlint/parse/-/parse-5.2.8.tgz#2424ebde2c2925f3119cfafb6d605494f25beaed" +"@commitlint/parse@^6.0.0": + version "6.0.0" + resolved "https://registry.yarnpkg.com/@commitlint/parse/-/parse-6.0.0.tgz#fc510b0391bd3613d5aa7c5b271c61a34bc09973" dependencies: conventional-changelog-angular "^1.3.3" conventional-commits-parser "^2.1.0" -"@commitlint/resolve-extends@^5.2.8": - version "5.2.8" - resolved "https://registry.yarnpkg.com/@commitlint/resolve-extends/-/resolve-extends-5.2.8.tgz#a8a2a6b6ee45261ce04572eea3af6bd479205ff1" +"@commitlint/resolve-extends@^6.0.0": + version "6.0.0" + resolved "https://registry.yarnpkg.com/@commitlint/resolve-extends/-/resolve-extends-6.0.0.tgz#aacdc53ac21bbe309a4a04382af05da8dcb57ca9" dependencies: babel-runtime "6.26.0" lodash.merge "4.6.0" @@ -110,22 +110,22 @@ resolve-from "^4.0.0" resolve-global "^0.1.0" -"@commitlint/rules@^5.2.8": - version "5.2.8" - resolved "https://registry.yarnpkg.com/@commitlint/rules/-/rules-5.2.8.tgz#a2519163bffc1b85cd06c3ca584f8c5956e8c8e6" +"@commitlint/rules@^6.0.1": + version "6.0.1" + resolved "https://registry.yarnpkg.com/@commitlint/rules/-/rules-6.0.1.tgz#1ea57927593f4a9efd87e6cead322c51feb4bd0b" dependencies: - "@commitlint/ensure" "^5.2.8" - "@commitlint/message" "^5.2.8" - "@commitlint/to-lines" "^5.2.8" + "@commitlint/ensure" "^6.0.0" + "@commitlint/message" "^6.0.0" + "@commitlint/to-lines" "^6.0.0" babel-runtime "^6.23.0" -"@commitlint/to-lines@^5.2.8": - version "5.2.8" - resolved "https://registry.yarnpkg.com/@commitlint/to-lines/-/to-lines-5.2.8.tgz#2008a7e3913e70c370b814138d09441d33db33ee" +"@commitlint/to-lines@^6.0.0": + version "6.0.0" + resolved "https://registry.yarnpkg.com/@commitlint/to-lines/-/to-lines-6.0.0.tgz#445cf024da4c6dd9a9da540482fdb12f5b639e6b" -"@commitlint/top-level@^5.2.8": - version "5.2.8" - resolved "https://registry.yarnpkg.com/@commitlint/top-level/-/top-level-5.2.8.tgz#ccd31c5496695e0ee128085d45a6c7cd84bb60c8" +"@commitlint/top-level@^6.0.0": + version "6.0.0" + resolved "https://registry.yarnpkg.com/@commitlint/top-level/-/top-level-6.0.0.tgz#6ec0c03e495c14e7ac7f273f7001f69f854bbdee" dependencies: find-up "^2.1.0" @@ -192,9 +192,13 @@ version "3.0.32" resolved "https://registry.yarnpkg.com/@types/long/-/long-3.0.32.tgz#f4e5af31e9e9b196d8e5fca8a5e2e20aa3d60b69" -"@types/node@*", "@types/node@^8.0.53": - version "8.5.7" - resolved "https://registry.yarnpkg.com/@types/node/-/node-8.5.7.tgz#9c498c35af354dcfbca3790fb2e81129e93cf0e2" +"@types/node@*": + version "9.3.0" + resolved "https://registry.yarnpkg.com/@types/node/-/node-9.3.0.tgz#3a129cda7c4e5df2409702626892cb4b96546dd5" + +"@types/node@^8.0.53": + version "8.5.8" + resolved "https://registry.yarnpkg.com/@types/node/-/node-8.5.8.tgz#92509422653f10e9c0ac18d87e0610b39f9821c7" "@types/puppeteer@0.13.9": version "0.13.9" @@ -794,10 +798,10 @@ browserify@^14.5.0: xtend "^4.0.0" browserslist@^2.10.2: - version "2.11.0" - resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-2.11.0.tgz#50350d6873a82ebe0f3ae5483658c571ae5f9d7d" + version "2.11.1" + resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-2.11.1.tgz#02fda29d9a2164b879100126e7b0d0b57e43a7bb" dependencies: - caniuse-lite "^1.0.30000784" + caniuse-lite "^1.0.30000789" electron-to-chromium "^1.3.30" buffer-xor@^1.0.3: @@ -899,13 +903,13 @@ camelcase@^2.0.0: version "2.1.1" resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-2.1.1.tgz#7c1d16d679a1bbe59ca02cacecfb011e201f5a1f" -caniuse-lite@^1.0.30000784: - version "1.0.30000789" - resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30000789.tgz#2e3d937b267133f63635ef7f441fac66360fc889" +caniuse-lite@^1.0.30000784, caniuse-lite@^1.0.30000789: + version "1.0.30000790" + resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30000790.tgz#c954cca780046f34c4b433d324ef419e1db51a53" capture-stack-trace@^1.0.0: version "1.0.0" - resolved "http://registry.npmjs.org/capture-stack-trace/-/capture-stack-trace-1.0.0.tgz#4a6fa07399c26bba47f0b2496b4d0fb408c5550d" + resolved "https://registry.yarnpkg.com/capture-stack-trace/-/capture-stack-trace-1.0.0.tgz#4a6fa07399c26bba47f0b2496b4d0fb408c5550d" caseless@~0.11.0: version "0.11.0" @@ -1139,10 +1143,14 @@ command-join@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/command-join/-/command-join-2.0.0.tgz#52e8b984f4872d952ff1bdc8b98397d27c7144cf" -commander@2.12.x, commander@2.x, commander@^2.9.0, commander@~2.12.1: +commander@2.12.x, commander@~2.12.1: version "2.12.2" resolved "https://registry.yarnpkg.com/commander/-/commander-2.12.2.tgz#0f5946c427ed9ec0d91a46bb9def53e54650e555" +commander@2.x, commander@^2.12.1, commander@^2.9.0: + version "2.13.0" + resolved "https://registry.yarnpkg.com/commander/-/commander-2.13.0.tgz#6964bca67685df7c1f1430c584f07d7597885b9c" + commander@~2.9.0: version "2.9.0" resolved "https://registry.yarnpkg.com/commander/-/commander-2.9.0.tgz#9c99094176e12240cb22d6c5146098400fe0f7d4" @@ -1414,7 +1422,7 @@ create-ecdh@^4.0.0: create-error-class@^3.0.0: version "3.0.2" - resolved "http://registry.npmjs.org/create-error-class/-/create-error-class-3.0.2.tgz#06be7abef947a3f14a30fd610671d401bca8b7b6" + resolved "https://registry.yarnpkg.com/create-error-class/-/create-error-class-3.0.2.tgz#06be7abef947a3f14a30fd610671d401bca8b7b6" dependencies: capture-stack-trace "^1.0.0" @@ -1778,12 +1786,12 @@ ecc-jsbn@~0.1.1: dependencies: jsbn "~0.1.0" -ecstatic@^2.0.0: - version "2.2.1" - resolved "https://registry.yarnpkg.com/ecstatic/-/ecstatic-2.2.1.tgz#b5087fad439dd9dd49d31e18131454817fe87769" +ecstatic@^3.0.0: + version "3.1.1" + resolved "https://registry.yarnpkg.com/ecstatic/-/ecstatic-3.1.1.tgz#2564aa9dde84179dcaf926a9e6d12df13a0b666d" dependencies: he "^1.1.1" - mime "^1.2.11" + mime "^1.4.1" minimist "^1.1.0" url-join "^2.0.2" @@ -2911,13 +2919,13 @@ http-proxy@^1.13.0, http-proxy@^1.8.1: eventemitter3 "1.x.x" requires-port "1.x.x" -http-server@0.10.0: - version "0.10.0" - resolved "https://registry.yarnpkg.com/http-server/-/http-server-0.10.0.tgz#b2a446b16a9db87ed3c622ba9beb1b085b1234a7" +http-server@0.11.1: + version "0.11.1" + resolved "https://registry.yarnpkg.com/http-server/-/http-server-0.11.1.tgz#2302a56a6ffef7f9abea0147d838a5e9b6b6a79b" dependencies: colors "1.0.3" corser "~2.0.0" - ecstatic "^2.0.0" + ecstatic "^3.0.0" http-proxy "^1.8.1" opener "~1.4.0" optimist "0.6.x" @@ -3411,7 +3419,7 @@ js-tokens@^3.0.2: version "3.0.2" resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-3.0.2.tgz#9866df395102130e38f7f996bceb65443209c25b" -js-yaml@^3.4.3, js-yaml@^3.5.1, js-yaml@^3.9.0: +js-yaml@^3.4.3, js-yaml@^3.5.1, js-yaml@^3.7.0, js-yaml@^3.9.0: version "3.10.0" resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-3.10.0.tgz#2e78441646bd4682e963f22b6e92823c309c62dc" dependencies: @@ -3581,9 +3589,9 @@ lcid@^1.0.0: dependencies: invert-kv "^1.0.0" -lerna@^2.5.1: - version "2.5.1" - resolved "https://registry.yarnpkg.com/lerna/-/lerna-2.5.1.tgz#d07099bd3051ee799f98c753328bd69e96c6fab8" +lerna@2.6.0: + version "2.6.0" + resolved "https://registry.yarnpkg.com/lerna/-/lerna-2.6.0.tgz#865377717ca9e0daa5a2fbb00e364968d533650a" dependencies: async "^1.5.0" chalk "^2.1.0" @@ -3617,6 +3625,7 @@ lerna@^2.5.1: safe-buffer "^5.1.1" semver "^5.4.1" signal-exit "^3.0.2" + slash "^1.0.0" strong-log-transformer "^1.0.6" temp-write "^3.3.0" write-file-atomic "^2.3.0" @@ -4076,7 +4085,7 @@ mime-types@^2.1.11, mime-types@^2.1.12, mime-types@~2.1.11, mime-types@~2.1.15, dependencies: mime-db "~1.30.0" -mime@^1.2.11, mime@^1.3.4, mime@^1.5.0: +mime@^1.2.11, mime@^1.3.4, mime@^1.4.1, mime@^1.5.0: version "1.6.0" resolved "https://registry.yarnpkg.com/mime/-/mime-1.6.0.tgz#32cd9e5c64553bd58d19a568af452acff04981b1" @@ -5080,8 +5089,8 @@ randomatic@^1.1.3: kind-of "^4.0.0" randombytes@^2.0.0, randombytes@^2.0.1, randombytes@^2.0.5: - version "2.0.5" - resolved "https://registry.yarnpkg.com/randombytes/-/randombytes-2.0.5.tgz#dc009a246b8d09a177b4b7a0ae77bc570f4b1b79" + version "2.0.6" + resolved "https://registry.yarnpkg.com/randombytes/-/randombytes-2.0.6.tgz#d302c522948588848a8d300c932b44c24231da80" dependencies: safe-buffer "^5.1.0" @@ -5106,8 +5115,8 @@ raw-body@2, raw-body@2.3.2: unpipe "1.0.0" rc@^1.0.1, rc@^1.1.6, rc@^1.1.7: - version "1.2.2" - resolved "https://registry.yarnpkg.com/rc/-/rc-1.2.2.tgz#d8ce9cb57e8d64d9c7badd9876c7c34cbe3c7077" + version "1.2.3" + resolved "https://registry.yarnpkg.com/rc/-/rc-1.2.3.tgz#51575a900f8dd68381c710b4712c2154c3e2035b" dependencies: deep-extend "~0.4.0" ini "~1.3.0" @@ -6281,33 +6290,34 @@ trough@^1.0.0: version "1.0.1" resolved "https://registry.yarnpkg.com/trough/-/trough-1.0.1.tgz#a9fd8b0394b0ae8fff82e0633a0a36ccad5b5f86" -tsickle@^0.25.5: - version "0.25.6" - resolved "https://registry.yarnpkg.com/tsickle/-/tsickle-0.25.6.tgz#b595db16b236721824eeeda8bb262365b47ef334" +tsickle@^0.26.0: + version "0.26.0" + resolved "https://registry.yarnpkg.com/tsickle/-/tsickle-0.26.0.tgz#40b30a2dd6abcb33b182e37596674bd1cfe4039c" dependencies: minimist "^1.2.0" mkdirp "^0.5.1" source-map "^0.5.6" source-map-support "^0.4.2" -tslib@^1.7.1, tslib@^1.8.1: +tslib@^1.7.1, tslib@^1.8.0, tslib@^1.8.1: version "1.8.1" resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.8.1.tgz#6946af2d1d651a7b1863b531d6e5afa41aa44eac" -tslint@5.8.0: - version "5.8.0" - resolved "https://registry.yarnpkg.com/tslint/-/tslint-5.8.0.tgz#1f49ad5b2e77c76c3af4ddcae552ae4e3612eb13" +tslint@5.9.1: + version "5.9.1" + resolved "https://registry.yarnpkg.com/tslint/-/tslint-5.9.1.tgz#1255f87a3ff57eb0b0e1f0e610a8b4748046c9ae" dependencies: babel-code-frame "^6.22.0" builtin-modules "^1.1.1" - chalk "^2.1.0" - commander "^2.9.0" + chalk "^2.3.0" + commander "^2.12.1" diff "^3.2.0" glob "^7.1.1" + js-yaml "^3.7.0" minimatch "^3.0.4" resolve "^1.3.2" semver "^5.3.0" - tslib "^1.7.1" + tslib "^1.8.0" tsutils "^2.12.1" tsscmp@~1.0.0: @@ -6355,14 +6365,14 @@ typedarray@^0.0.6, typedarray@~0.0.5: version "0.0.6" resolved "https://registry.yarnpkg.com/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777" -typescript@2.4.2: - version "2.4.2" - resolved "https://registry.yarnpkg.com/typescript/-/typescript-2.4.2.tgz#f8395f85d459276067c988aa41837a8f82870844" - typescript@2.6.1: version "2.6.1" resolved "https://registry.yarnpkg.com/typescript/-/typescript-2.6.1.tgz#ef39cdea27abac0b500242d6726ab90e0c846631" +typescript@2.6.2: + version "2.6.2" + resolved "https://registry.yarnpkg.com/typescript/-/typescript-2.6.2.tgz#3c5b6fd7f6de0914269027f03c0946758f7673a4" + uc.micro@^1.0.1, uc.micro@^1.0.3: version "1.0.3" resolved "https://registry.yarnpkg.com/uc.micro/-/uc.micro-1.0.3.tgz#7ed50d5e0f9a9fb0a573379259f2a77458d50192" @@ -6489,8 +6499,8 @@ upper-case@^1.1.1: resolved "https://registry.yarnpkg.com/upper-case/-/upper-case-1.1.3.tgz#f6b4501c2ec4cdd26ba78be7222961de77621598" url-join@^2.0.2: - version "2.0.2" - resolved "https://registry.yarnpkg.com/url-join/-/url-join-2.0.2.tgz#c072756967ad24b8b59e5741551caac78f50b8b7" + version "2.0.5" + resolved "https://registry.yarnpkg.com/url-join/-/url-join-2.0.5.tgz#5af22f18c052a000a48d7b82c5e9c2e2feeda728" url-parse-lax@^1.0.0: version "1.0.0" @@ -6769,8 +6779,8 @@ xml-char-classes@^1.0.0: resolved "https://registry.yarnpkg.com/xml-char-classes/-/xml-char-classes-1.0.0.tgz#64657848a20ffc5df583a42ad8a277b4512bbc4d" xmlhttprequest-ssl@~1.5.4: - version "1.5.4" - resolved "https://registry.yarnpkg.com/xmlhttprequest-ssl/-/xmlhttprequest-ssl-1.5.4.tgz#04f560915724b389088715cc0ed7813e9677bf57" + version "1.5.5" + resolved "https://registry.yarnpkg.com/xmlhttprequest-ssl/-/xmlhttprequest-ssl-1.5.5.tgz#c2876b06168aadc40e57d97e81191ac8f4398b3e" xregexp@2.0.0: version "2.0.0"