0?(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(2),i=Math.imul;r(r.S+r.F*n(10)(function(){return i(4294967295,5)!=-5||2!=i.length}),"Math",{imul:function(t,e){var n=65535,r=+t,i=+e,o=n&r,s=n&i;return 0|o*s+((n&r>>>16)*s+o*(n&i>>>16)<<16>>>0)}})},function(t,e,n){var r=n(2);r(r.S,"Math",{log10:function(t){return Math.log(t)/Math.LN10}})},function(t,e,n){var r=n(2);r(r.S,"Math",{log1p:n(340)})},function(t,e,n){var r=n(2);r(r.S,"Math",{log2:function(t){return Math.log(t)/Math.LN2}})},function(t,e,n){var r=n(2);r(r.S,"Math",{sign:n(221)})},function(t,e,n){var r=n(2),i=n(220),o=Math.exp;r(r.S+r.F*n(10)(function(){return!Math.sinh(-2e-17)!=-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(2),i=n(220),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(2);r(r.S,"Math",{trunc:function(t){return(t>0?Math.floor:Math.ceil)(t)}})},function(t,e,n){"use strict";var r=n(16),i=n(27),o=n(69),s=n(215),a=n(71),u=n(10),c=n(100).f,p=n(60).f,l=n(18).f,h=n(144).trim,f="Number",d=r[f],v=d,y=d.prototype,m=o(n(80)(y))==f,b="trim"in String.prototype,g=function(t){var e=a(t,!1);if("string"==typeof e&&e.length>2){e=b?e.trim():h(e,3);var n,r,i,o=e.charCodeAt(0);if(43===o||45===o){if(n=e.charCodeAt(2),88===n||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,p=u.length;ci)return NaN;return parseInt(u,r)}}return+e};if(!d(" 0o1")||!d("0b1")||d("+0x1")){d=function(t){var e=arguments.length<1?0:t,n=this;return n instanceof d&&(m?u(function(){y.valueOf.call(n)}):o(n)!=f)?s(new v(g(e)),n,d):g(e)};for(var _,w=n(23)?c(v):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),E=0;w.length>E;E++)i(v,_=w[E])&&!i(d,_)&&l(d,_,p(v,_));d.prototype=y,y.constructor=d,n(28)(r,f,d)}},function(t,e,n){var r=n(2);r(r.S,"Number",{EPSILON:Math.pow(2,-52)})},function(t,e,n){var r=n(2),i=n(16).isFinite;r(r.S,"Number",{isFinite:function(t){return"number"==typeof t&&i(t)}})},function(t,e,n){var r=n(2);r(r.S,"Number",{isInteger:n(335)})},function(t,e,n){var r=n(2);r(r.S,"Number",{isNaN:function(t){return t!=t}})},function(t,e,n){var r=n(2),i=n(335),o=Math.abs;r(r.S,"Number",{isSafeInteger:function(t){return i(t)&&o(t)<=9007199254740991}})},function(t,e,n){var r=n(2);r(r.S,"Number",{MAX_SAFE_INTEGER:9007199254740991})},function(t,e,n){var r=n(2);r(r.S,"Number",{MIN_SAFE_INTEGER:-9007199254740991})},function(t,e,n){var r=n(2),i=n(345);r(r.S+r.F*(Number.parseFloat!=i),"Number",{parseFloat:i})},function(t,e,n){var r=n(2),i=n(346);r(r.S+r.F*(Number.parseInt!=i),"Number",{parseInt:i})},function(t,e,n){"use strict";var r=n(2),i=n(82),o=n(324),s=n(348),a=1..toFixed,u=Math.floor,c=[0,0,0,0,0,0],p="Number.toFixed: incorrect invocation!",l="0",h=function(t,e){for(var n=-1,r=e;++n<6;)r+=t*c[n],c[n]=r%1e7,r=u(r/1e7)},f=function(t){for(var e=6,n=0;--e>=0;)n+=c[e],c[e]=u(n/t),n=n%t*1e7},d=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(l,7-n.length)+n}return e},v=function(t,e,n){return 0===e?n:e%2===1?v(t,e-1,n*t):v(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*(!!a&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!n(10)(function(){a.call({})})),"Number",{toFixed:function(t){var e,n,r,a,u=o(this,p),c=i(t),m="",b=l;if(c<0||c>20)throw RangeError(p);if(u!=u)return"NaN";if(u<=-1e21||u>=1e21)return String(u);if(u<0&&(m="-",u=-u),u>1e-21)if(e=y(u*v(2,69,1))-69,n=e<0?u*v(2,-e,1):u/v(2,e,1),n*=4503599627370496,e=52-e,e>0){for(h(0,n),r=c;r>=7;)h(1e7,0),r-=7;for(h(v(10,r,1),0),r=e-1;r>=23;)f(1<<23),r-=23;f(1<0?(a=b.length,b=m+(a<=c?"0."+s.call(l,c-a)+b:b.slice(0,a-c)+"."+b.slice(a-c))):b=m+b,b}})},function(t,e,n){"use strict";var r=n(2),i=n(10),o=n(324),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(2);r(r.S+r.F,"Object",{assign:n(341)})},function(t,e,n){var r=n(2);r(r.S,"Object",{create:n(80)})},function(t,e,n){var r=n(2);r(r.S+r.F*!n(23),"Object",{defineProperties:n(342)})},function(t,e,n){var r=n(2);r(r.S+r.F*!n(23),"Object",{defineProperty:n(18).f})},function(t,e,n){var r=n(11),i=n(59).onFreeze;n(44)("freeze",function(t){return function(e){return t&&r(e)?t(i(e)):e}})},function(t,e,n){var r=n(37),i=n(60).f;n(44)("getOwnPropertyDescriptor",function(){return function(t,e){return i(r(t),e)}})},function(t,e,n){n(44)("getOwnPropertyNames",function(){return n(343).f})},function(t,e,n){var r=n(38),i=n(52);n(44)("getPrototypeOf",function(){return function(t){return i(r(t))}})},function(t,e,n){var r=n(11);n(44)("isExtensible",function(t){return function(e){return!!r(e)&&(!t||t(e))}})},function(t,e,n){var r=n(11);n(44)("isFrozen",function(t){return function(e){return!r(e)||!!t&&t(e)}})},function(t,e,n){var r=n(11);n(44)("isSealed",function(t){return function(e){return!r(e)||!!t&&t(e)}})},function(t,e,n){var r=n(2);r(r.S,"Object",{is:n(519)})},function(t,e,n){var r=n(38),i=n(81);n(44)("keys",function(){return function(t){return i(r(t))}})},function(t,e,n){var r=n(11),i=n(59).onFreeze;n(44)("preventExtensions",function(t){return function(e){return t&&r(e)?t(i(e)):e}})},function(t,e,n){var r=n(11),i=n(59).onFreeze;n(44)("seal",function(t){return function(e){return t&&r(e)?t(i(e)):e}})},function(t,e,n){var r=n(2);r(r.S,"Object",{setPrototypeOf:n(223).set})},function(t,e,n){var r=n(2),i=n(345);r(r.G+r.F*(parseFloat!=i),{parseFloat:i})},function(t,e,n){var r=n(2),i=n(346);r(r.G+r.F*(parseInt!=i),{parseInt:i})},function(t,e,n){var r=n(2),i=n(68),o=n(8),s=(n(16).Reflect||{}).apply,a=Function.apply;r(r.S+r.F*!n(10)(function(){s(function(){})}),"Reflect",{apply:function(t,e,n){var r=i(t),u=o(n);return s?s(r,e,u):a.call(r,e,u)}})},function(t,e,n){var r=n(2),i=n(80),o=n(68),s=n(8),a=n(11),u=n(10),c=n(327),p=(n(16).Reflect||{}).construct,l=u(function(){function t(){}return!(p(function(){},[],t)instanceof t)}),h=!u(function(){p(function(){})});r(r.S+r.F*(l||h),"Reflect",{construct:function(t,e){o(t),s(e);var n=arguments.length<3?t:o(arguments[2]);if(h&&!l)return p(t,e,n);if(t==n){switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3])}var r=[null];return r.push.apply(r,e),new(c.apply(t,r))}var u=n.prototype,f=i(a(u)?u:Object.prototype),d=Function.apply.call(t,f,e);return a(d)?d:f}})},function(t,e,n){var r=n(18),i=n(2),o=n(8),s=n(71);i(i.S+i.F*n(10)(function(){Reflect.defineProperty(r.f({},1,{value:1}),1,{value:2})}),"Reflect",{defineProperty:function(t,e,n){o(t),e=s(e,!0),o(n);try{return r.f(t,e,n),!0}catch(t){return!1}}})},function(t,e,n){var r=n(2),i=n(60).f,o=n(8);r(r.S,"Reflect",{deleteProperty:function(t,e){var n=i(o(t),e);return!(n&&!n.configurable)&&delete t[e]}})},function(t,e,n){"use strict";var r=n(2),i=n(8),o=function(t){this._t=i(t),this._i=0;var e,n=this._k=[];for(e in t)n.push(e)};n(337)(o,"Object",function(){var t,e=this,n=e._k;do if(e._i>=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){var r=n(60),i=n(2),o=n(8);i(i.S,"Reflect",{getOwnPropertyDescriptor:function(t,e){return r.f(o(t),e)}})},function(t,e,n){var r=n(2),i=n(52),o=n(8);r(r.S,"Reflect",{getPrototypeOf:function(t){return i(o(t))}})},function(t,e,n){function r(t,e){var n,a,p=arguments.length<3?t:arguments[2];return c(t)===p?t[e]:(n=i.f(t,e))?s(n,"value")?n.value:void 0!==n.get?n.get.call(p):void 0:u(a=o(t))?r(a,e,p):void 0}var i=n(60),o=n(52),s=n(27),a=n(2),u=n(11),c=n(8);a(a.S,"Reflect",{get:r})},function(t,e,n){var r=n(2);r(r.S,"Reflect",{has:function(t,e){return e in t}})},function(t,e,n){var r=n(2),i=n(8),o=Object.isExtensible;r(r.S,"Reflect",{isExtensible:function(t){return i(t),!o||o(t)}})},function(t,e,n){var r=n(2);r(r.S,"Reflect",{ownKeys:n(518)})},function(t,e,n){var r=n(2),i=n(8),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){var r=n(2),i=n(223);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){function r(t,e,n){var u,h,f=arguments.length<4?t:arguments[3],d=o.f(p(t),e);if(!d){if(l(h=s(t)))return r(h,e,n,f);d=c(0)}return a(d,"value")?!(d.writable===!1||!l(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(18),o=n(60),s=n(52),a=n(27),u=n(2),c=n(70),p=n(8),l=n(11);u(u.S,"Reflect",{set:r})},function(t,e,n){var r=n(16),i=n(215),o=n(18).f,s=n(100).f,a=n(217),u=n(214),c=r.RegExp,p=c,l=c.prototype,h=/a/g,f=/a/g,d=new c(h)!==h;if(n(23)&&(!d||n(10)(function(){return f[n(13)("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 p(r&&!o?t.source:t,e):p((r=t instanceof c)?t.source:t,r&&o?u.call(t):e),n?this:l,c)};for(var v=(function(t){t in c||o(c,t,{configurable:!0,get:function(){return p[t]},set:function(e){p[t]=e}})}),y=s(p),m=0;y.length>m;)v(y[m++]);l.constructor=c,c.prototype=l,n(28)(r,"RegExp",c)}n(224)("RegExp")},function(t,e,n){"use strict";n(353);var r=n(8),i=n(214),o=n(23),s="toString",a=/./[s],u=function(t){n(28)(RegExp.prototype,s,t,!0)};n(10)(function(){return"/a/b"!=a.call({source:"a",flags:"b"})})?u(function(){var t=r(this);return"/".concat(t.source,"/","flags"in t?t.flags:!o&&t instanceof RegExp?i.call(t):void 0)}):a.name!=s&&u(function(){return a.call(this)})},function(t,e,n){"use strict";n(29)("anchor",function(t){return function(e){return t(this,"a","name",e)}})},function(t,e,n){"use strict";n(29)("big",function(t){return function(){return t(this,"big","","")}})},function(t,e,n){"use strict";n(29)("blink",function(t){return function(){return t(this,"blink","","")}})},function(t,e,n){"use strict";n(29)("bold",function(t){return function(){return t(this,"b","","")}})},function(t,e,n){"use strict";var r=n(2),i=n(347)(!1);r(r.P,"String",{codePointAt:function(t){return i(this,t)}})},function(t,e,n){"use strict";var r=n(2),i=n(32),o=n(226),s="endsWith",a=""[s];r(r.P+r.F*n(213)(s),"String",{endsWith:function(t){var e=o(this,t,s),n=arguments.length>1?arguments[1]:void 0,r=i(e.length),u=void 0===n?r:Math.min(i(n),r),c=String(t);return a?a.call(e,c,u):e.slice(u-c.length,u)===c}})},function(t,e,n){"use strict";n(29)("fixed",function(t){return function(){return t(this,"tt","","")}})},function(t,e,n){"use strict";n(29)("fontcolor",function(t){return function(e){return t(this,"font","color",e)}})},function(t,e,n){"use strict";n(29)("fontsize",function(t){return function(e){return t(this,"font","size",e)}})},function(t,e,n){var r=n(2),i=n(101),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(((e-=65536)>>10)+55296,e%1024+56320))}return n.join("")}})},function(t,e,n){"use strict";var r=n(2),i=n(226),o="includes";r(r.P+r.F*n(213)(o),"String",{includes:function(t){return!!~i(this,t,o).indexOf(t,arguments.length>1?arguments[1]:void 0)}})},function(t,e,n){"use strict";n(29)("italics",function(t){return function(){return t(this,"i","","")}})},function(t,e,n){"use strict";n(29)("link",function(t){return function(e){return t(this,"a","href",e)}})},function(t,e,n){var r=n(2),i=n(37),o=n(32);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++])),a1?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(29)("strike",function(t){return function(){return t(this,"strike","","")}})},function(t,e,n){"use strict";n(29)("sub",function(t){return function(){return t(this,"sub","","")}})},function(t,e,n){"use strict";n(29)("sup",function(t){return function(){return t(this,"sup","","")}})},function(t,e,n){"use strict";n(144)("trim",function(t){return function(){return t(this,3)}})},function(t,e,n){"use strict";var r,i=n(48)(0),o=n(28),s=n(59),a=n(341),u=n(513),c=n(11),p=s.getWeak,l=Object.isExtensible,h=u.ufstore,f={},d=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 e===!0?h(this).get(t):e?e[this._i]:void 0}},set:function(t,e){return u.def(this,t,e)}},y=t.exports=n(211)("WeakMap",d,v,u,!0,!0);7!=(new y).set((Object.freeze||Object)(f),7).get(f)&&(r=u.getConstructor(d),a(r.prototype,v),s.NEED=!0,i(["delete","has","get","set"],function(t){var e=y.prototype,n=e[t];o(e,t,function(e,i){if(c(e)&&!l(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){var r=n(51),i=n(8),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(51),i=n(8),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(358),i=n(510),o=n(51),s=n(8),a=n(52),u=o.keys,c=o.key,p=function(t,e){var n=u(t,e),o=a(t);if(null===o)return n;var s=p(o,e);return s.length?n.length?i(new r(n.concat(s))):s:n};o.exp({getMetadataKeys:function(t){return p(s(t),arguments.length<2?void 0:c(arguments[1]))}})},function(t,e,n){var r=n(51),i=n(8),o=n(52),s=r.has,a=r.get,u=r.key,c=function(t,e,n){var r=s(t,e,n);if(r)return a(t,e,n);var i=o(e);return null!==i?c(t,i,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(51),i=n(8),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(51),i=n(8),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(51),i=n(8),o=n(52),s=r.has,a=r.key,u=function(t,e,n){var r=s(t,e,n);if(r)return!0;var i=o(e);return null!==i&&u(t,i,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(51),i=n(8),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(51),i=n(8),o=n(68),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){function n(){throw new Error("setTimeout has not been defined")}function r(){throw new Error("clearTimeout has not been defined")}function i(t){if(p===setTimeout)return setTimeout(t,0);if((p===n||!p)&&setTimeout)return p=setTimeout,setTimeout(t,0);try{return p(t,0)}catch(e){try{return p.call(null,t,0)}catch(e){return p.call(this,t,0)}}}function o(t){if(l===clearTimeout)return clearTimeout(t);if((l===r||!l)&&clearTimeout)return l=clearTimeout,clearTimeout(t);try{return l(t)}catch(e){try{return l.call(null,t)}catch(e){return l.call(this,t)}}}function s(){v&&f&&(v=!1,f.length?d=f.concat(d):y=-1,d.length&&a())}function a(){if(!v){var t=i(s);v=!0;for(var e=d.length;e;){for(f=d,d=[];++y1)for(var n=1;n\n \n\n\n\n\n\n\n
\n \n - Home
\n - {{selectedUser.login}}
\n
\n\n \n
\n Followers loading...Followers ({{selectedUser.followers.length}})\n
\n \n \n
\n\n
\n
![]()
\n
\n
{{follower.login}}
\n
\n \n
\n
\n
\n
\n
\n\n \n\n\n \n\n\n \n
\n\n
\n \n\n
\n
![]()
\n
\n
{{user.login}}
\n
\n \n
\n
\n
\n
\n \n\n\n
\n\n
\n\n
\n
\n';
+},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(3),o=function(t){function e(e,n,r){t.call(this),this.parent=e,this.outerValue=n,this.outerIndex=r,this.index=0}return r(e,t),e.prototype._next=function(t){this.parent.notifyNext(this.outerValue,t,this.outerIndex,this.index++,this)},e.prototype._error=function(t){this.parent.notifyError(t,this),this.unsubscribe()},e.prototype._complete=function(){this.parent.notifyComplete(this),this.unsubscribe()},e}(i.Subscriber);e.InnerSubscriber=o},function(t,e){"use strict";e.empty={closed:!0,next:function(t){},error:function(t){throw t},complete:function(){}}},function(t,e){"use strict";var n=function(){function t(e,n){void 0===n&&(n=t.now),this.SchedulerAction=e,this.now=n}return t.prototype.schedule=function(t,e,n){return void 0===e&&(e=0),new this.SchedulerAction(this,t).schedule(n,e)},t.now=Date.now?Date.now:function(){return+new Date},t}();e.Scheduler=n},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(19),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);n!==-1&&e.splice(n,1)}}},e}(i.Subscription);e.SubjectSubscription=o},function(t,e,n){"use strict";var r=n(0),i=n(797);r.Observable.bindCallback=i.bindCallback},function(t,e,n){"use strict";var r=n(0),i=n(798);r.Observable.bindNodeCallback=i.bindNodeCallback},function(t,e,n){"use strict";var r=n(0),i=n(799);r.Observable.combineLatest=i.combineLatest},function(t,e,n){"use strict";var r=n(0),i=n(800);r.Observable.concat=i.concat},function(t,e,n){"use strict";var r=n(0),i=n(801);r.Observable.defer=i.defer},function(t,e,n){"use strict";var r=n(0),i=n(803);r.Observable.ajax=i.ajax},function(t,e,n){"use strict";var r=n(0),i=n(804);r.Observable.webSocket=i.webSocket},function(t,e,n){"use strict";var r=n(0),i=n(805);r.Observable.empty=i.empty},function(t,e,n){"use strict";var r=n(0),i=n(806);r.Observable.forkJoin=i.forkJoin},function(t,e,n){"use strict";var r=n(0),i=n(807);r.Observable.from=i.from},function(t,e,n){"use strict";var r=n(0),i=n(808);r.Observable.fromEvent=i.fromEvent},function(t,e,n){"use strict";var r=n(0),i=n(809);r.Observable.fromEventPattern=i.fromEventPattern},function(t,e,n){"use strict";var r=n(0),i=n(367);r.Observable.fromPromise=i.fromPromise},function(t,e,n){"use strict";var r=n(0),i=n(787);r.Observable.generate=i.GenerateObservable.create},function(t,e,n){"use strict";var r=n(0),i=n(810);r.Observable.if=i._if},function(t,e,n){"use strict";var r=n(0),i=n(811);r.Observable.interval=i.interval},function(t,e,n){"use strict";var r=n(0),i=n(812);r.Observable.merge=i.merge},function(t,e,n){"use strict";var r=n(0),i=n(813);r.Observable.never=i.never},function(t,e,n){"use strict";var r=n(0),i=n(814);r.Observable.of=i.of},function(t,e,n){"use strict";var r=n(0),i=n(375);r.Observable.onErrorResumeNext=i.onErrorResumeNextStatic},function(t,e,n){"use strict";var r=n(0),i=n(815);r.Observable.pairs=i.pairs},function(t,e,n){"use strict";var r=n(0),i=n(376);r.Observable.race=i.raceStatic},function(t,e,n){"use strict";var r=n(0),i=n(816);r.Observable.range=i.range},function(t,e,n){"use strict";var r=n(0),i=n(817);r.Observable.throw=i._throw},function(t,e,n){"use strict";var r=n(0),i=n(818);r.Observable.timer=i.timer},function(t,e,n){"use strict";var r=n(0),i=n(819);r.Observable.using=i.using},function(t,e,n){"use strict";var r=n(0),i=n(820);r.Observable.zip=i.zip},function(t,e,n){"use strict";var r=n(0),i=n(821);r.Observable.prototype.audit=i.audit},function(t,e,n){"use strict";var r=n(0),i=n(822);r.Observable.prototype.auditTime=i.auditTime},function(t,e,n){"use strict";var r=n(0),i=n(823);r.Observable.prototype.buffer=i.buffer},function(t,e,n){"use strict";var r=n(0),i=n(824);r.Observable.prototype.bufferCount=i.bufferCount},function(t,e,n){"use strict";var r=n(0),i=n(825);r.Observable.prototype.bufferTime=i.bufferTime},function(t,e,n){"use strict";var r=n(0),i=n(826);r.Observable.prototype.bufferToggle=i.bufferToggle},function(t,e,n){"use strict";var r=n(0),i=n(827);r.Observable.prototype.bufferWhen=i.bufferWhen},function(t,e,n){"use strict";var r=n(0),i=n(828);r.Observable.prototype.cache=i.cache},function(t,e,n){"use strict";var r=n(0),i=n(829);r.Observable.prototype.catch=i._catch,r.Observable.prototype._catch=i._catch},function(t,e,n){"use strict";var r=n(0),i=n(830);r.Observable.prototype.combineAll=i.combineAll},function(t,e,n){"use strict";var r=n(0),i=n(230);r.Observable.prototype.combineLatest=i.combineLatest},function(t,e,n){"use strict";var r=n(0),i=n(231);r.Observable.prototype.concat=i.concat},function(t,e,n){"use strict";var r=n(0),i=n(831);r.Observable.prototype.concatAll=i.concatAll},function(t,e,n){"use strict";var r=n(0),i=n(832);r.Observable.prototype.concatMap=i.concatMap},function(t,e,n){"use strict";var r=n(0),i=n(833);r.Observable.prototype.concatMapTo=i.concatMapTo},function(t,e,n){"use strict";var r=n(0),i=n(834);r.Observable.prototype.count=i.count},function(t,e,n){"use strict";var r=n(0),i=n(835);r.Observable.prototype.debounce=i.debounce},function(t,e,n){"use strict";var r=n(0),i=n(836);r.Observable.prototype.debounceTime=i.debounceTime},function(t,e,n){"use strict";var r=n(0),i=n(837);r.Observable.prototype.defaultIfEmpty=i.defaultIfEmpty},function(t,e,n){"use strict";var r=n(0),i=n(838);r.Observable.prototype.delay=i.delay},function(t,e,n){"use strict";var r=n(0),i=n(839);r.Observable.prototype.delayWhen=i.delayWhen},function(t,e,n){"use strict";var r=n(0),i=n(840);r.Observable.prototype.dematerialize=i.dematerialize},function(t,e,n){"use strict";var r=n(0),i=n(368);r.Observable.prototype.distinct=i.distinct},function(t,e,n){"use strict";var r=n(0),i=n(841);r.Observable.prototype.distinctKey=i.distinctKey},function(t,e,n){"use strict";var r=n(0),i=n(369);r.Observable.prototype.distinctUntilChanged=i.distinctUntilChanged},function(t,e,n){"use strict";var r=n(0),i=n(842);r.Observable.prototype.distinctUntilKeyChanged=i.distinctUntilKeyChanged},function(t,e,n){"use strict";var r=n(0),i=n(843);r.Observable.prototype.do=i._do,r.Observable.prototype._do=i._do},function(t,e,n){"use strict";var r=n(0),i=n(844);r.Observable.prototype.elementAt=i.elementAt},function(t,e,n){"use strict";var r=n(0),i=n(845);r.Observable.prototype.every=i.every},function(t,e,n){"use strict";var r=n(0),i=n(846);r.Observable.prototype.exhaust=i.exhaust},function(t,e,n){"use strict";var r=n(0),i=n(847);r.Observable.prototype.exhaustMap=i.exhaustMap},function(t,e,n){"use strict";var r=n(0),i=n(848);r.Observable.prototype.expand=i.expand},function(t,e,n){"use strict";var r=n(0),i=n(370);r.Observable.prototype.filter=i.filter},function(t,e,n){"use strict";var r=n(0),i=n(849);r.Observable.prototype.finally=i._finally,r.Observable.prototype._finally=i._finally},function(t,e,n){"use strict";var r=n(0),i=n(371);r.Observable.prototype.find=i.find},function(t,e,n){"use strict";var r=n(0),i=n(850);r.Observable.prototype.findIndex=i.findIndex},function(t,e,n){"use strict";var r=n(0),i=n(851);r.Observable.prototype.first=i.first},function(t,e,n){"use strict";var r=n(0),i=n(852);r.Observable.prototype.groupBy=i.groupBy},function(t,e,n){"use strict";var r=n(0),i=n(853);r.Observable.prototype.ignoreElements=i.ignoreElements},function(t,e,n){"use strict";var r=n(0),i=n(854);r.Observable.prototype.isEmpty=i.isEmpty},function(t,e,n){"use strict";var r=n(0),i=n(855);r.Observable.prototype.last=i.last},function(t,e,n){"use strict";var r=n(0),i=n(856);r.Observable.prototype.let=i.letProto,r.Observable.prototype.letBind=i.letProto},function(t,e,n){"use strict";var r=n(0),i=n(232);r.Observable.prototype.map=i.map},function(t,e,n){"use strict";var r=n(0),i=n(857);r.Observable.prototype.mapTo=i.mapTo},function(t,e,n){"use strict";var r=n(0),i=n(858);r.Observable.prototype.materialize=i.materialize},function(t,e,n){"use strict";var r=n(0),i=n(859);r.Observable.prototype.max=i.max},function(t,e,n){"use strict";var r=n(0),i=n(372);r.Observable.prototype.merge=i.merge},function(t,e,n){"use strict";var r=n(0),i=n(149);r.Observable.prototype.mergeAll=i.mergeAll},function(t,e,n){"use strict";var r=n(0),i=n(373);r.Observable.prototype.mergeMap=i.mergeMap,r.Observable.prototype.flatMap=i.mergeMap},function(t,e,n){"use strict";var r=n(0),i=n(374);r.Observable.prototype.flatMapTo=i.mergeMapTo,r.Observable.prototype.mergeMapTo=i.mergeMapTo},function(t,e,n){"use strict";var r=n(0),i=n(860);r.Observable.prototype.mergeScan=i.mergeScan},function(t,e,n){"use strict";var r=n(0),i=n(861);r.Observable.prototype.min=i.min},function(t,e,n){"use strict";var r=n(0),i=n(83);r.Observable.prototype.multicast=i.multicast},function(t,e,n){"use strict";var r=n(0),i=n(233);r.Observable.prototype.observeOn=i.observeOn},function(t,e,n){"use strict";var r=n(0),i=n(375);r.Observable.prototype.onErrorResumeNext=i.onErrorResumeNext},function(t,e,n){"use strict";var r=n(0),i=n(862);r.Observable.prototype.pairwise=i.pairwise},function(t,e,n){"use strict";var r=n(0),i=n(863);r.Observable.prototype.partition=i.partition},function(t,e,n){"use strict";var r=n(0),i=n(864);r.Observable.prototype.pluck=i.pluck},function(t,e,n){"use strict";var r=n(0),i=n(865);r.Observable.prototype.publish=i.publish},function(t,e,n){"use strict";var r=n(0),i=n(866);r.Observable.prototype.publishBehavior=i.publishBehavior},function(t,e,n){"use strict";var r=n(0),i=n(867);r.Observable.prototype.publishLast=i.publishLast},function(t,e,n){"use strict";var r=n(0),i=n(868);r.Observable.prototype.publishReplay=i.publishReplay},function(t,e,n){"use strict";var r=n(0),i=n(376);r.Observable.prototype.race=i.race},function(t,e,n){"use strict";var r=n(0),i=n(234);r.Observable.prototype.reduce=i.reduce},function(t,e,n){"use strict";var r=n(0),i=n(869);r.Observable.prototype.repeat=i.repeat},function(t,e,n){"use strict";var r=n(0),i=n(870);r.Observable.prototype.repeatWhen=i.repeatWhen},function(t,e,n){"use strict";var r=n(0),i=n(871);r.Observable.prototype.retry=i.retry},function(t,e,n){"use strict";var r=n(0),i=n(872);r.Observable.prototype.retryWhen=i.retryWhen},function(t,e,n){"use strict";var r=n(0),i=n(873);r.Observable.prototype.sample=i.sample},function(t,e,n){"use strict";var r=n(0),i=n(874);r.Observable.prototype.sampleTime=i.sampleTime},function(t,e,n){"use strict";var r=n(0),i=n(875);r.Observable.prototype.scan=i.scan},function(t,e,n){"use strict";var r=n(0),i=n(876);r.Observable.prototype.sequenceEqual=i.sequenceEqual},function(t,e,n){"use strict";var r=n(0),i=n(877);r.Observable.prototype.share=i.share},function(t,e,n){"use strict";var r=n(0),i=n(878);r.Observable.prototype.single=i.single},function(t,e,n){"use strict";var r=n(0),i=n(879);r.Observable.prototype.skip=i.skip},function(t,e,n){"use strict";var r=n(0),i=n(880);r.Observable.prototype.skipUntil=i.skipUntil},function(t,e,n){"use strict";var r=n(0),i=n(881);r.Observable.prototype.skipWhile=i.skipWhile},function(t,e,n){"use strict";var r=n(0),i=n(882);r.Observable.prototype.startWith=i.startWith},function(t,e,n){"use strict";var r=n(0),i=n(883);r.Observable.prototype.subscribeOn=i.subscribeOn},function(t,e,n){"use strict";var r=n(0),i=n(884);r.Observable.prototype.switch=i._switch,r.Observable.prototype._switch=i._switch},function(t,e,n){"use strict";var r=n(0),i=n(885);r.Observable.prototype.switchMap=i.switchMap},function(t,e,n){"use strict";var r=n(0),i=n(886);r.Observable.prototype.switchMapTo=i.switchMapTo},function(t,e,n){"use strict";var r=n(0),i=n(887);r.Observable.prototype.take=i.take},function(t,e,n){"use strict";var r=n(0),i=n(888);r.Observable.prototype.takeLast=i.takeLast},function(t,e,n){"use strict";var r=n(0),i=n(889);r.Observable.prototype.takeUntil=i.takeUntil},function(t,e,n){"use strict";var r=n(0),i=n(890);r.Observable.prototype.takeWhile=i.takeWhile},function(t,e,n){"use strict";var r=n(0),i=n(891);r.Observable.prototype.throttle=i.throttle},function(t,e,n){"use strict";var r=n(0),i=n(892);r.Observable.prototype.throttleTime=i.throttleTime},function(t,e,n){"use strict";var r=n(0),i=n(377);r.Observable.prototype.timeInterval=i.timeInterval},function(t,e,n){"use strict";var r=n(0),i=n(893);r.Observable.prototype.timeout=i.timeout},function(t,e,n){"use strict";var r=n(0),i=n(894);r.Observable.prototype.timeoutWith=i.timeoutWith},function(t,e,n){"use strict";var r=n(0),i=n(378);r.Observable.prototype.timestamp=i.timestamp},function(t,e,n){"use strict";var r=n(0),i=n(895);r.Observable.prototype.toArray=i.toArray},function(t,e,n){"use strict";var r=n(0),i=n(379);r.Observable.prototype.toPromise=i.toPromise},function(t,e,n){"use strict";var r=n(0),i=n(896);r.Observable.prototype.window=i.window},function(t,e,n){"use strict";var r=n(0),i=n(897);r.Observable.prototype.windowCount=i.windowCount},function(t,e,n){"use strict";var r=n(0),i=n(898);r.Observable.prototype.windowTime=i.windowTime},function(t,e,n){"use strict";var r=n(0),i=n(899);r.Observable.prototype.windowToggle=i.windowToggle},function(t,e,n){"use strict";var r=n(0),i=n(900);r.Observable.prototype.windowWhen=i.windowWhen},function(t,e,n){"use strict";var r=n(0),i=n(901);r.Observable.prototype.withLatestFrom=i.withLatestFrom},function(t,e,n){"use strict";var r=n(0),i=n(235);r.Observable.prototype.zip=i.zipProto},function(t,e,n){"use strict";var r=n(0),i=n(902);r.Observable.prototype.zipAll=i.zipAll},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(0),o=n(229),s=n(61),a=function(t){function e(e,n){t.call(this),this.arrayLike=e,this.scheduler=n,n||1!==e.length||(this._isScalar=!0,this.value=e[0])}return r(e,t),e.create=function(t,n){var r=t.length;return 0===r?new s.EmptyObservable:1===r?new o.ScalarObservable(t[0],n):new e(t,n)},e.dispatch=function(t){var e=t.arrayLike,n=t.index,r=t.length,i=t.subscriber;if(!i.closed){if(n>=r)return void i.complete();i.next(e[n]),t.index=n+1,this.schedule(t)}},e.prototype._subscribe=function(t){var n=0,r=this,i=r.arrayLike,o=r.scheduler,s=i.length;if(o)return o.schedule(e.dispatch,0,{arrayLike:i,index:n,length:s,subscriber:t});for(var a=0;ad?d:e):e}function o(t){return"number"==typeof t&&u.root.isFinite(t)}function s(t){var e=+t;return 0===e?e:isNaN(e)?e:e<0?-1:1}var a=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)},u=n(24),c=n(0),p=n(106),l=function(t){function e(e,n){if(t.call(this),this.scheduler=n,null==e)throw new Error("iterator cannot be null.");this.iterator=r(e)}return a(e,t),e.create=function(t,n){return new e(t,n)},e.dispatch=function(t){var e=t.index,n=t.hasError,r=t.iterator,i=t.subscriber;if(n)return void i.error(t.error);var o=r.next();return o.done?void i.complete():(i.next(o.value),t.index=e+1,void(i.closed||this.schedule(t)))},e.prototype._subscribe=function(t){var n=0,r=this,i=r.iterator,o=r.scheduler;if(o)return o.schedule(e.dispatch,0,{index:n,iterator:i,subscriber:t});for(;;){var s=i.next();if(s.done){t.complete();break}if(t.next(s.value),t.closed)break}},e}(c.Observable);e.IteratorObservable=l;var h=function(){function t(t,e,n){void 0===e&&(e=0),void 0===n&&(n=t.length),this.str=t,this.idx=e,this.len=n}return t.prototype[p.$$iterator]=function(){return this},t.prototype.next=function(){return this.idx=r?void i.complete():(i.next(e),void(i.closed||(t.index=n+1,t.start=e+1,this.schedule(t))))},e.prototype._subscribe=function(t){var n=0,r=this.start,i=this._count,o=this.scheduler;if(o)return o.schedule(e.dispatch,0,{index:n,count:i,start:r,subscriber:t});for(;;){if(n++>=i){t.complete();break}if(t.next(r++),t.closed)break}},e}(i.Observable);e.RangeObservable=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)},i=n(0),o=n(381),s=n(238),a=function(t){function e(e,n,r){void 0===n&&(n=0),void 0===r&&(r=o.asap),t.call(this),this.source=e,this.delayTime=n,this.scheduler=r,(!s.isNumeric(n)||n<0)&&(this.delayTime=0),r&&"function"==typeof r.schedule||(this.scheduler=o.asap)}return r(e,t),e.create=function(t,n,r){return void 0===n&&(n=0),void 0===r&&(r=o.asap),new e(t,n,r)},e.dispatch=function(t){var e=t.source,n=t.subscriber;
+return e.subscribe(n)},e.prototype._subscribe=function(t){var n=this.delayTime,r=this.source,i=this.scheduler;return i.schedule(e.dispatch,n,{source:r,subscriber:t})},e}(i.Observable);e.SubscribeOnObservable=a},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(238),o=n(0),s=n(26),a=n(62),u=n(154),c=function(t){function e(e,n,r){void 0===e&&(e=0),t.call(this),this.period=-1,this.dueTime=0,i.isNumeric(n)?this.period=Number(n)<1&&1||Number(n):a.isScheduler(n)&&(r=n),a.isScheduler(r)||(r=s.async),this.scheduler=r,this.dueTime=u.isDate(e)?+e-this.scheduler.now():e}return r(e,t),e.create=function(t,n,r){return void 0===t&&(t=0),new e(t,n,r)},e.dispatch=function(t){var e=t.index,n=t.period,r=t.subscriber,i=this;if(r.next(e),!r.closed){if(n===-1)return r.complete();t.index=e+1,i.schedule(t,n)}},e.prototype._subscribe=function(t){var n=0,r=this,i=r.period,o=r.dueTime,s=r.scheduler;return s.schedule(e.dispatch,o,{index:n,period:i,subscriber:t})},e}(o.Observable);e.TimerObservable=c},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(0),o=n(6),s=n(5),a=function(t){function e(e,n){t.call(this),this.resourceFactory=e,this.observableFactory=n}return r(e,t),e.create=function(t,n){return new e(t,n)},e.prototype._subscribe=function(t){var e,n=this,r=n.resourceFactory,i=n.observableFactory;try{return e=r(),new u(t,e,i)}catch(e){t.error(e)}},e}(i.Observable);e.UsingObservable=a;var u=function(t){function e(e,n,r){t.call(this,e),this.resource=n,this.observableFactory=r,e.add(n),this.tryUse()}return r(e,t),e.prototype.tryUse=function(){try{var t=this.observableFactory.call(this,this.resource);t&&this.add(o.subscribeToResult(this,t))}catch(t){this._error(t)}},e}(s.OuterSubscriber)},function(t,e,n){"use strict";var r=n(780);e.bindCallback=r.BoundCallbackObservable.create},function(t,e,n){"use strict";var r=n(781);e.bindNodeCallback=r.BoundNodeCallbackObservable.create},function(t,e,n){"use strict";function r(){for(var t=[],e=0;e0;){var r=n.shift();r.length>0&&e.next(r)}t.prototype._complete.call(this)},e}(o.Subscriber)},function(t,e,n){"use strict";function r(t){var e=arguments.length,n=u.async;p.isScheduler(arguments[arguments.length-1])&&(n=arguments[arguments.length-1],e--);var r=null;e>=2&&(r=arguments[1]);var i=Number.POSITIVE_INFINITY;return e>=3&&(i=arguments[2]),this.lift(new l(t,r,i,n))}function i(t){var e=t.subscriber,n=t.context;n&&e.closeContext(n),e.closed||(t.context=e.openContext(),t.context.closeAction=this.schedule(t,t.bufferTimeSpan))}function o(t){var e=t.bufferCreationInterval,n=t.bufferTimeSpan,r=t.subscriber,i=t.scheduler,o=r.openContext(),a=this;r.closed||(r.add(o.closeAction=i.schedule(s,n,{subscriber:r,context:o})),a.schedule(t,e))}function s(t){var e=t.subscriber,n=t.context;e.closeContext(n)}var a=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)},u=n(26),c=n(3),p=n(62);e.bufferTime=r;var l=function(){function t(t,e,n,r){this.bufferTimeSpan=t,this.bufferCreationInterval=e,this.maxBufferSize=n,this.scheduler=r}return t.prototype.call=function(t,e){return e._subscribe(new f(t,this.bufferTimeSpan,this.bufferCreationInterval,this.maxBufferSize,this.scheduler))},t}(),h=function(){function t(){this.buffer=[]}return t}(),f=function(t){function e(e,n,r,a,u){t.call(this,e),this.bufferTimeSpan=n,this.bufferCreationInterval=r,this.maxBufferSize=a,this.scheduler=u,this.contexts=[];var c=this.openContext();if(this.timespanOnly=null==r||r<0,this.timespanOnly){var p={subscriber:this,context:c,bufferTimeSpan:n};this.add(c.closeAction=u.schedule(i,n,p))}else{var l={subscriber:this,context:c},h={bufferTimeSpan:n,bufferCreationInterval:r,subscriber:this,scheduler:u};this.add(c.closeAction=u.schedule(s,n,l)),this.add(u.schedule(o,r,h))}}return a(e,t),e.prototype._next=function(t){for(var e,n=this.contexts,r=n.length,i=0;i0;){var i=n.shift();r.next(i.buffer)}t.prototype._complete.call(this)},e.prototype._unsubscribe=function(){this.contexts=null},e.prototype.onBufferFull=function(t){this.closeContext(t);var e=t.closeAction;if(e.unsubscribe(),this.remove(e),this.timespanOnly){t=this.openContext();var n=this.bufferTimeSpan,r={subscriber:this,context:t,bufferTimeSpan:n};this.add(t.closeAction=this.scheduler.schedule(i,n,r))}},e.prototype.openContext=function(){var t=new h;return this.contexts.push(t),t},e.prototype.closeContext=function(t){this.destination.next(t.buffer);var e=this.contexts,n=e?e.indexOf(t):-1;n>=0&&e.splice(e.indexOf(t),1)},e}(c.Subscriber)},function(t,e,n){"use strict";function r(t,e){return this.lift(new u(t,e))}var i=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(19),s=n(6),a=n(5);e.bufferToggle=r;var u=function(){function t(t,e){this.openings=t,this.closingSelector=e}return t.prototype.call=function(t,e){return e._subscribe(new c(t,this.openings,this.closingSelector))},t}(),c=function(t){function e(e,n,r){t.call(this,e),this.openings=n,this.closingSelector=r,this.contexts=[],this.add(s.subscribeToResult(this,n))}return i(e,t),e.prototype._next=function(t){for(var e=this.contexts,n=e.length,r=0;r0;){var r=n.shift();r.subscription.unsubscribe(),r.buffer=null,r.subscription=null}this.contexts=null,t.prototype._error.call(this,e)},e.prototype._complete=function(){for(var e=this.contexts;e.length>0;){var n=e.shift();this.destination.next(n.buffer),n.subscription.unsubscribe(),n.buffer=null,n.subscription=null}this.contexts=null,t.prototype._complete.call(this)},e.prototype.notifyNext=function(t,e,n,r,i){t?this.closeBuffer(t):this.openBuffer(e)},e.prototype.notifyComplete=function(t){this.closeBuffer(t.context)},e.prototype.openBuffer=function(t){try{var e=this.closingSelector,n=e.call(this,t);n&&this.trySubscribe(n)}catch(t){this._error(t)}},e.prototype.closeBuffer=function(t){var e=this.contexts;if(e&&t){var n=t.buffer,r=t.subscription;this.destination.next(n),e.splice(e.indexOf(t),1),this.remove(r),r.unsubscribe()}},e.prototype.trySubscribe=function(t){var e=this.contexts,n=[],r=new o.Subscription,i={buffer:n,subscription:r};e.push(i);var a=s.subscribeToResult(this,t,i);!a||a.closed?this.closeBuffer(i):(a.context=i,this.add(a),r.add(a))},e}(a.OuterSubscriber)},function(t,e,n){"use strict";function r(t){return this.lift(new p(t))}var i=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(19),s=n(22),a=n(20),u=n(5),c=n(6);e.bufferWhen=r;var p=function(){function t(t){this.closingSelector=t}return t.prototype.call=function(t,e){return e._subscribe(new l(t,this.closingSelector))},t}(),l=function(t){function e(e,n){t.call(this,e),this.closingSelector=n,this.subscribing=!1,this.openBuffer()}return i(e,t),e.prototype._next=function(t){this.buffer.push(t)},e.prototype._complete=function(){var e=this.buffer;e&&this.destination.next(e),t.prototype._complete.call(this)},e.prototype._unsubscribe=function(){this.buffer=null,this.subscribing=!1},e.prototype.notifyNext=function(t,e,n,r,i){this.openBuffer()},e.prototype.notifyComplete=function(){this.subscribing?this.complete():this.openBuffer()},e.prototype.openBuffer=function(){var t=this.closingSubscription;t&&(this.remove(t),t.unsubscribe());var e=this.buffer;this.buffer&&this.destination.next(e),this.buffer=[];var n=s.tryCatch(this.closingSelector)();n===a.errorObject?this.error(a.errorObject.e):(t=new o.Subscription,this.closingSubscription=t,this.add(t),this.subscribing=!0,t.add(c.subscribeToResult(this,n)),this.subscribing=!1)},e}(u.OuterSubscriber)},function(t,e,n){"use strict";function r(t,e,n){void 0===t&&(t=Number.POSITIVE_INFINITY),void 0===e&&(e=Number.POSITIVE_INFINITY);var r,s,a=this,u=0,c=function(){return r=new o.ReplaySubject(t,e,n)};return new i.Observable(function(t){r||(r=c(),s=a.subscribe(function(t){return r.next(t)},function(t){var e=r;r=null,e.error(t)},function(){return r.complete()})),u++,r||(r=c());var e=r.subscribe(t);return function(){u--,e&&e.unsubscribe(),0===u&&s.unsubscribe()}})}var i=n(0),o=n(148);e.cache=r},function(t,e,n){"use strict";function r(t){var e=new a(t),n=this.lift(e);return e.caught=n}var i=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(5),s=n(6);e._catch=r;var a=function(){function t(t){this.selector=t}return t.prototype.call=function(t,e){return e._subscribe(new u(t,this.selector,this.caught))},t}(),u=function(t){function e(e,n,r){t.call(this,e),this.selector=n,this.caught=r}return i(e,t),e.prototype.error=function(t){if(!this.isStopped){var e=void 0;try{e=this.selector(t,this.caught)}catch(t){return void this.destination.error(t)}this.unsubscribe(),this.destination.remove(this),s.subscribeToResult(this,e)}},e}(o.OuterSubscriber)},function(t,e,n){"use strict";function r(t){return this.lift(new i.CombineLatestOperator(t))}var i=n(230);e.combineAll=r},function(t,e,n){"use strict";function r(){return this.lift(new i.MergeAllOperator(1))}var i=n(149);e.concatAll=r},function(t,e,n){"use strict";function r(t,e){return this.lift(new i.MergeMapOperator(t,e,1))}var i=n(373);e.concatMap=r},function(t,e,n){"use strict";function r(t,e){return this.lift(new i.MergeMapToOperator(t,e,1))}var i=n(374);e.concatMapTo=r},function(t,e,n){"use strict";function r(t){return this.lift(new s(t,this))}var i=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(3);e.count=r;var s=function(){function t(t,e){this.predicate=t,this.source=e}return t.prototype.call=function(t,e){return e._subscribe(new a(t,this.predicate,this.source))},t}(),a=function(t){function e(e,n,r){t.call(this,e),this.predicate=n,this.source=r,this.count=0,this.index=0}return i(e,t),e.prototype._next=function(t){this.predicate?this._tryPredicate(t):this.count++},e.prototype._tryPredicate=function(t){var e;try{e=this.predicate(t,this.index++,this.source)}catch(t){return void this.destination.error(t)}e&&this.count++},e.prototype._complete=function(){this.destination.next(this.count),this.destination.complete()},e}(o.Subscriber)},function(t,e,n){"use strict";function r(t){return this.lift(new a(t))}var i=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(5),s=n(6);e.debounce=r;var a=function(){function t(t){this.durationSelector=t}return t.prototype.call=function(t,e){return e._subscribe(new u(t,this.durationSelector))},t}(),u=function(t){function e(e,n){t.call(this,e),this.durationSelector=n,this.hasValue=!1,this.durationSubscription=null}return i(e,t),e.prototype._next=function(t){try{var e=this.durationSelector.call(this,t);e&&this._tryNext(t,e)}catch(t){this.destination.error(t)}},e.prototype._complete=function(){this.emitValue(),this.destination.complete()},e.prototype._tryNext=function(t,e){var n=this.durationSubscription;this.value=t,this.hasValue=!0,n&&(n.unsubscribe(),this.remove(n)),n=s.subscribeToResult(this,e),n.closed||this.add(this.durationSubscription=n)},e.prototype.notifyNext=function(t,e,n,r,i){this.emitValue()},e.prototype.notifyComplete=function(){this.emitValue()},e.prototype.emitValue=function(){if(this.hasValue){var e=this.value,n=this.durationSubscription;n&&(this.durationSubscription=null,n.unsubscribe(),this.remove(n)),this.value=null,this.hasValue=!1,t.prototype._next.call(this,e)}},e}(o.OuterSubscriber)},function(t,e,n){"use strict";function r(t,e){return void 0===e&&(e=a.async),this.lift(new u(t,e))}function i(t){t.debouncedNext()}var o=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)},s=n(3),a=n(26);e.debounceTime=r;var u=function(){function t(t,e){this.dueTime=t,this.scheduler=e}return t.prototype.call=function(t,e){return e._subscribe(new c(t,this.dueTime,this.scheduler))},t}(),c=function(t){function e(e,n,r){t.call(this,e),this.dueTime=n,this.scheduler=r,this.debouncedSubscription=null,this.lastValue=null,this.hasValue=!1}return o(e,t),e.prototype._next=function(t){this.clearDebounce(),this.lastValue=t,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(i,this.dueTime,this))},e.prototype._complete=function(){this.debouncedNext(),this.destination.complete()},e.prototype.debouncedNext=function(){this.clearDebounce(),this.hasValue&&(this.destination.next(this.lastValue),this.lastValue=null,this.hasValue=!1)},e.prototype.clearDebounce=function(){var t=this.debouncedSubscription;null!==t&&(this.remove(t),t.unsubscribe(),this.debouncedSubscription=null)},e}(s.Subscriber)},function(t,e,n){"use strict";function r(t){return void 0===t&&(t=null),this.lift(new s(t))}var i=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(3);e.defaultIfEmpty=r;var s=function(){function t(t){this.defaultValue=t}return t.prototype.call=function(t,e){return e._subscribe(new a(t,this.defaultValue))},t}(),a=function(t){function e(e,n){t.call(this,e),this.defaultValue=n,this.isEmpty=!0}return i(e,t),e.prototype._next=function(t){this.isEmpty=!1,this.destination.next(t)},e.prototype._complete=function(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()},e}(o.Subscriber)},function(t,e,n){"use strict";function r(t,e){void 0===e&&(e=o.async);var n=s.isDate(t),r=n?+t-e.now():Math.abs(t);return this.lift(new c(r,e))}var i=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(26),s=n(154),a=n(3),u=n(103);e.delay=r;var c=function(){function t(t,e){this.delay=t,this.scheduler=e}return t.prototype.call=function(t,e){return e._subscribe(new p(t,this.delay,this.scheduler))},t}(),p=function(t){function e(e,n,r){t.call(this,e),this.delay=n,this.scheduler=r,this.queue=[],this.active=!1,this.errored=!1}return i(e,t),e.dispatch=function(t){for(var e=t.source,n=e.queue,r=t.scheduler,i=t.destination;n.length>0&&n[0].time-r.now()<=0;)n.shift().notification.observe(i);if(n.length>0){var o=Math.max(0,n[0].time-r.now());this.schedule(t,o)}else e.active=!1},e.prototype._schedule=function(t){this.active=!0,this.add(t.schedule(e.dispatch,this.delay,{source:this,destination:this.destination,scheduler:t}))},e.prototype.scheduleNotification=function(t){if(this.errored!==!0){var e=this.scheduler,n=new l(e.now()+this.delay,t);this.queue.push(n),this.active===!1&&this._schedule(e)}},e.prototype._next=function(t){this.scheduleNotification(u.Notification.createNext(t))},e.prototype._error=function(t){this.errored=!0,this.queue=[],this.destination.error(t)},e.prototype._complete=function(){this.scheduleNotification(u.Notification.createComplete())},e}(a.Subscriber),l=function(){function t(t,e){this.time=t,this.notification=e}return t}()},function(t,e,n){"use strict";function r(t,e){return e?new l(this,e).lift(new c(t)):this.lift(new c(t))}var i=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(3),s=n(0),a=n(5),u=n(6);e.delayWhen=r;var c=function(){function t(t){this.delayDurationSelector=t}return t.prototype.call=function(t,e){return e._subscribe(new p(t,this.delayDurationSelector))},t}(),p=function(t){function e(e,n){t.call(this,e),this.delayDurationSelector=n,this.completed=!1,this.delayNotifierSubscriptions=[],this.values=[]}return i(e,t),e.prototype.notifyNext=function(t,e,n,r,i){this.destination.next(t),this.removeSubscription(i),this.tryComplete()},e.prototype.notifyError=function(t,e){this._error(t)},e.prototype.notifyComplete=function(t){var e=this.removeSubscription(t);e&&this.destination.next(e),this.tryComplete()},e.prototype._next=function(t){try{var e=this.delayDurationSelector(t);e&&this.tryDelay(e,t)}catch(t){this.destination.error(t)}},e.prototype._complete=function(){this.completed=!0,this.tryComplete()},e.prototype.removeSubscription=function(t){t.unsubscribe();var e=this.delayNotifierSubscriptions.indexOf(t),n=null;return e!==-1&&(n=this.values[e],this.delayNotifierSubscriptions.splice(e,1),this.values.splice(e,1)),n},e.prototype.tryDelay=function(t,e){var n=u.subscribeToResult(this,t,e);this.add(n),this.delayNotifierSubscriptions.push(n),this.values.push(e)},e.prototype.tryComplete=function(){this.completed&&0===this.delayNotifierSubscriptions.length&&this.destination.complete()},e}(a.OuterSubscriber),l=function(t){function e(e,n){t.call(this),this.source=e,this.subscriptionDelay=n}return i(e,t),e.prototype._subscribe=function(t){this.subscriptionDelay.subscribe(new h(t,this.source))},e}(s.Observable),h=function(t){function e(e,n){t.call(this),this.parent=e,this.source=n,this.sourceSubscribed=!1}return i(e,t),e.prototype._next=function(t){this.subscribeToSource()},e.prototype._error=function(t){this.unsubscribe(),this.parent.error(t)},e.prototype._complete=function(){this.subscribeToSource()},e.prototype.subscribeToSource=function(){this.sourceSubscribed||(this.sourceSubscribed=!0,this.unsubscribe(),this.source.subscribe(this.parent))},e}(o.Subscriber)},function(t,e,n){"use strict";function r(){return this.lift(new s)}var i=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(3);e.dematerialize=r;var s=function(){function t(){}return t.prototype.call=function(t,e){return e._subscribe(new a(t))},t}(),a=function(t){function e(e){t.call(this,e)}return i(e,t),e.prototype._next=function(t){t.observe(this.destination)},e}(o.Subscriber)},function(t,e,n){"use strict";function r(t,e,n){return i.distinct.call(this,function(n,r){return e?e(n[t],r[t]):n[t]===r[t]},n)}var i=n(368);e.distinctKey=r},function(t,e,n){"use strict";function r(t,e){return i.distinctUntilChanged.call(this,function(n,r){return e?e(n[t],r[t]):n[t]===r[t]})}var i=n(369);e.distinctUntilKeyChanged=r},function(t,e,n){"use strict";function r(t,e,n){return this.lift(new s(t,e,n))}var i=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(3);e._do=r;var s=function(){function t(t,e,n){this.nextOrObserver=t,this.error=e,this.complete=n}return t.prototype.call=function(t,e){return e._subscribe(new a(t,this.nextOrObserver,this.error,this.complete))},t}(),a=function(t){function e(e,n,r,i){t.call(this,e);var s=new o.Subscriber(n,r,i);s.syncErrorThrowable=!0,this.add(s),this.safeSubscriber=s}return i(e,t),e.prototype._next=function(t){var e=this.safeSubscriber;e.next(t),e.syncErrorThrown?this.destination.error(e.syncErrorValue):this.destination.next(t)},e.prototype._error=function(t){var e=this.safeSubscriber;e.error(t),e.syncErrorThrown?this.destination.error(e.syncErrorValue):this.destination.error(t)},e.prototype._complete=function(){var t=this.safeSubscriber;t.complete(),t.syncErrorThrown?this.destination.error(t.syncErrorValue):this.destination.complete()},e}(o.Subscriber)},function(t,e,n){"use strict";function r(t,e){return this.lift(new a(t,e))}var i=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(3),s=n(152);e.elementAt=r;var a=function(){function t(t,e){if(this.index=t,this.defaultValue=e,t<0)throw new s.ArgumentOutOfRangeError}return t.prototype.call=function(t,e){return e._subscribe(new u(t,this.index,this.defaultValue))},t}(),u=function(t){function e(e,n,r){t.call(this,e),this.index=n,this.defaultValue=r}return i(e,t),e.prototype._next=function(t){0===this.index--&&(this.destination.next(t),this.destination.complete())},e.prototype._complete=function(){var t=this.destination;this.index>=0&&("undefined"!=typeof this.defaultValue?t.next(this.defaultValue):t.error(new s.ArgumentOutOfRangeError)),t.complete()},e}(o.Subscriber)},function(t,e,n){"use strict";function r(t,e){return this.lift(new s(t,e,this))}var i=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(3);e.every=r;var s=function(){function t(t,e,n){this.predicate=t,this.thisArg=e,this.source=n}return t.prototype.call=function(t,e){return e._subscribe(new a(t,this.predicate,this.thisArg,this.source))},t}(),a=function(t){function e(e,n,r,i){t.call(this,e),this.predicate=n,this.thisArg=r,this.source=i,this.index=0,this.thisArg=r||this}return i(e,t),e.prototype.notifyComplete=function(t){this.destination.next(t),this.destination.complete()},e.prototype._next=function(t){var e=!1;try{e=this.predicate.call(this.thisArg,t,this.index++,this.source)}catch(t){return void this.destination.error(t)}e||this.notifyComplete(!1)},e.prototype._complete=function(){this.notifyComplete(!0)},e}(o.Subscriber)},function(t,e,n){"use strict";function r(){return this.lift(new a)}var i=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(5),s=n(6);e.exhaust=r;var a=function(){function t(){}return t.prototype.call=function(t,e){return e._subscribe(new u(t))},t}(),u=function(t){function e(e){t.call(this,e),this.hasCompleted=!1,this.hasSubscription=!1}return i(e,t),e.prototype._next=function(t){this.hasSubscription||(this.hasSubscription=!0,this.add(s.subscribeToResult(this,t)))},e.prototype._complete=function(){this.hasCompleted=!0,this.hasSubscription||this.destination.complete()},e.prototype.notifyComplete=function(t){this.remove(t),this.hasSubscription=!1,this.hasCompleted&&this.destination.complete()},e}(o.OuterSubscriber)},function(t,e,n){"use strict";function r(t,e){return this.lift(new a(t,e))}var i=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(5),s=n(6);e.exhaustMap=r;var a=function(){function t(t,e){this.project=t,this.resultSelector=e}return t.prototype.call=function(t,e){return e._subscribe(new u(t,this.project,this.resultSelector))},t}(),u=function(t){function e(e,n,r){t.call(this,e),this.project=n,this.resultSelector=r,this.hasSubscription=!1,this.hasCompleted=!1,this.index=0}return i(e,t),e.prototype._next=function(t){this.hasSubscription||this.tryNext(t)},e.prototype.tryNext=function(t){var e=this.index++,n=this.destination;try{var r=this.project(t,e);this.hasSubscription=!0,this.add(s.subscribeToResult(this,r,t,e))}catch(t){n.error(t)}},e.prototype._complete=function(){this.hasCompleted=!0,this.hasSubscription||this.destination.complete()},e.prototype.notifyNext=function(t,e,n,r,i){var o=this,s=o.resultSelector,a=o.destination;s?this.trySelectResult(t,e,n,r):a.next(e)},e.prototype.trySelectResult=function(t,e,n,r){var i=this,o=i.resultSelector,s=i.destination;try{var a=o(t,e,n,r);s.next(a)}catch(t){s.error(t)}},e.prototype.notifyError=function(t){this.destination.error(t)},e.prototype.notifyComplete=function(t){this.remove(t),this.hasSubscription=!1,this.hasCompleted&&this.destination.complete()},e}(o.OuterSubscriber)},function(t,e,n){"use strict";function r(t,e,n){return void 0===e&&(e=Number.POSITIVE_INFINITY),void 0===n&&(n=void 0),e=(e||0)<1?Number.POSITIVE_INFINITY:e,this.lift(new c(t,e,n))}var i=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(22),s=n(20),a=n(5),u=n(6);e.expand=r;var c=function(){function t(t,e,n){this.project=t,this.concurrent=e,this.scheduler=n}return t.prototype.call=function(t,e){return e._subscribe(new p(t,this.project,this.concurrent,this.scheduler))},t}();e.ExpandOperator=c;var p=function(t){function e(e,n,r,i){t.call(this,e),this.project=n,this.concurrent=r,this.scheduler=i,this.index=0,this.active=0,this.hasCompleted=!1,r0&&this._next(e.shift()),this.hasCompleted&&0===this.active&&this.destination.complete()},e}(a.OuterSubscriber);e.ExpandSubscriber=p},function(t,e,n){"use strict";function r(t){return this.lift(new a(t))}var i=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(3),s=n(19);e._finally=r;var a=function(){function t(t){this.callback=t}return t.prototype.call=function(t,e){return e._subscribe(new u(t,this.callback))},t}(),u=function(t){function e(e,n){t.call(this,e),this.add(new s.Subscription(n))}return i(e,t),e}(o.Subscriber)},function(t,e,n){"use strict";function r(t,e){return this.lift(new i.FindValueOperator(t,this,!0,e))}var i=n(371);e.findIndex=r},function(t,e,n){"use strict";function r(t,e,n){return this.lift(new a(t,e,n,this))}var i=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(3),s=n(153);e.first=r;var a=function(){function t(t,e,n,r){this.predicate=t,this.resultSelector=e,this.defaultValue=n,this.source=r}return t.prototype.call=function(t,e){return e._subscribe(new u(t,this.predicate,this.resultSelector,this.defaultValue,this.source))},t}(),u=function(t){function e(e,n,r,i,o){t.call(this,e),this.predicate=n,this.resultSelector=r,this.defaultValue=i,this.source=o,this.index=0,this.hasCompleted=!1}return i(e,t),e.prototype._next=function(t){var e=this.index++;this.predicate?this._tryPredicate(t,e):this._emit(t,e)},e.prototype._tryPredicate=function(t,e){var n;try{n=this.predicate(t,e,this.source)}catch(t){return void this.destination.error(t)}n&&this._emit(t,e)},e.prototype._emit=function(t,e){return this.resultSelector?void this._tryResultSelector(t,e):void this._emitFinal(t)},e.prototype._tryResultSelector=function(t,e){var n;try{n=this.resultSelector(t,e)}catch(t){return void this.destination.error(t)}this._emitFinal(n)},e.prototype._emitFinal=function(t){var e=this.destination;e.next(t),e.complete(),this.hasCompleted=!0},e.prototype._complete=function(){var t=this.destination;this.hasCompleted||"undefined"==typeof this.defaultValue?this.hasCompleted||t.error(new s.EmptyError):(t.next(this.defaultValue),t.complete())},e}(o.Subscriber)},function(t,e,n){"use strict";function r(t,e,n){return this.lift(new l(this,t,e,n))}var i=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(3),s=n(19),a=n(0),u=n(12),c=n(917),p=n(915);e.groupBy=r;var l=function(){function t(t,e,n,r){this.source=t,this.keySelector=e,this.elementSelector=n,this.durationSelector=r}return t.prototype.call=function(t,e){return e._subscribe(new h(t,this.keySelector,this.elementSelector,this.durationSelector))},t}(),h=function(t){function e(e,n,r,i){t.call(this,e),this.keySelector=n,this.elementSelector=r,this.durationSelector=i,this.groups=null,this.attemptedToUnsubscribe=!1,this.count=0}return i(e,t),e.prototype._next=function(t){var e;try{e=this.keySelector(t)}catch(t){return void this.error(t)}this._group(t,e)},e.prototype._group=function(t,e){var n=this.groups;n||(n=this.groups="string"==typeof e?new p.FastMap:new c.Map);var r,i=n.get(e);if(this.elementSelector)try{r=this.elementSelector(t)}catch(t){this.error(t)}else r=t;if(!i){n.set(e,i=new u.Subject);var o=new d(e,i,this);if(this.destination.next(o),this.durationSelector){var s=void 0;try{s=this.durationSelector(new d(e,i))}catch(t){return void this.error(t)}this.add(s.subscribe(new f(e,i,this)))}}i.closed||i.next(r)},e.prototype._error=function(t){var e=this.groups;e&&(e.forEach(function(e,n){e.error(t)}),e.clear()),this.destination.error(t)},e.prototype._complete=function(){var t=this.groups;t&&(t.forEach(function(t,e){t.complete()}),t.clear()),this.destination.complete()},e.prototype.removeGroup=function(t){this.groups.delete(t)},e.prototype.unsubscribe=function(){this.closed||this.attemptedToUnsubscribe||(this.attemptedToUnsubscribe=!0,0===this.count&&t.prototype.unsubscribe.call(this))},e}(o.Subscriber),f=function(t){function e(e,n,r){t.call(this),this.key=e,this.group=n,this.parent=r}return i(e,t),e.prototype._next=function(t){this._complete()},e.prototype._error=function(t){var e=this.group;e.closed||e.error(t),this.parent.removeGroup(this.key)},e.prototype._complete=function(){var t=this.group;t.closed||t.complete(),this.parent.removeGroup(this.key)},e}(o.Subscriber),d=function(t){function e(e,n,r){t.call(this),this.key=e,this.groupSubject=n,this.refCountSubscription=r}return i(e,t),e.prototype._subscribe=function(t){var e=new s.Subscription,n=this,r=n.refCountSubscription,i=n.groupSubject;return r&&!r.closed&&e.add(new v(r)),e.add(i.subscribe(t)),e},e}(a.Observable);e.GroupedObservable=d;var v=function(t){function e(e){t.call(this),this.parent=e,e.count++}return i(e,t),e.prototype.unsubscribe=function(){var e=this.parent;e.closed||this.closed||(t.prototype.unsubscribe.call(this),e.count-=1,0===e.count&&e.attemptedToUnsubscribe&&e.unsubscribe())},e}(s.Subscription)},function(t,e,n){"use strict";function r(){return this.lift(new a)}var i=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(3),s=n(388);e.ignoreElements=r;var a=function(){function t(){}return t.prototype.call=function(t,e){return e._subscribe(new u(t))},t}(),u=function(t){function e(){t.apply(this,arguments)}return i(e,t),e.prototype._next=function(t){s.noop()},e}(o.Subscriber)},function(t,e,n){"use strict";function r(){return this.lift(new s)}var i=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(3);e.isEmpty=r;var s=function(){function t(){}return t.prototype.call=function(t,e){return e._subscribe(new a(t))},t}(),a=function(t){function e(e){t.call(this,e)}return i(e,t),e.prototype.notifyComplete=function(t){var e=this.destination;e.next(t),e.complete()},e.prototype._next=function(t){this.notifyComplete(!1)},e.prototype._complete=function(){this.notifyComplete(!0)},e}(o.Subscriber)},function(t,e,n){"use strict";function r(t,e,n){return this.lift(new a(t,e,n,this))}var i=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(3),s=n(153);e.last=r;var a=function(){function t(t,e,n,r){this.predicate=t,this.resultSelector=e,this.defaultValue=n,this.source=r}return t.prototype.call=function(t,e){return e._subscribe(new u(t,this.predicate,this.resultSelector,this.defaultValue,this.source))},t}(),u=function(t){function e(e,n,r,i,o){t.call(this,e),this.predicate=n,this.resultSelector=r,this.defaultValue=i,this.source=o,this.hasValue=!1,this.index=0,"undefined"!=typeof i&&(this.lastValue=i,this.hasValue=!0)}return i(e,t),e.prototype._next=function(t){var e=this.index++;if(this.predicate)this._tryPredicate(t,e);else{if(this.resultSelector)return void this._tryResultSelector(t,e);this.lastValue=t,this.hasValue=!0}},e.prototype._tryPredicate=function(t,e){var n;try{n=this.predicate(t,e,this.source)}catch(t){return void this.destination.error(t)}if(n){if(this.resultSelector)return void this._tryResultSelector(t,e);this.lastValue=t,this.hasValue=!0}},e.prototype._tryResultSelector=function(t,e){var n;try{n=this.resultSelector(t,e)}catch(t){return void this.destination.error(t)}this.lastValue=n,this.hasValue=!0},e.prototype._complete=function(){var t=this.destination;this.hasValue?(t.next(this.lastValue),t.complete()):t.error(new s.EmptyError)},e}(o.Subscriber)},function(t,e){"use strict";function n(t){return t(this)}e.letProto=n},function(t,e,n){"use strict";function r(t){return this.lift(new s(t))}var i=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(3);e.mapTo=r;var s=function(){function t(t){this.value=t}return t.prototype.call=function(t,e){return e._subscribe(new a(t,this.value))},t}(),a=function(t){function e(e,n){t.call(this,e),this.value=n}return i(e,t),e.prototype._next=function(t){this.destination.next(this.value)},e}(o.Subscriber)},function(t,e,n){"use strict";function r(){return this.lift(new a)}var i=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(3),s=n(103);e.materialize=r;var a=function(){function t(){}return t.prototype.call=function(t,e){return e._subscribe(new u(t))},t}(),u=function(t){function e(e){t.call(this,e)}return i(e,t),e.prototype._next=function(t){this.destination.next(s.Notification.createNext(t))},e.prototype._error=function(t){var e=this.destination;e.next(s.Notification.createError(t)),e.complete()},e.prototype._complete=function(){var t=this.destination;t.next(s.Notification.createComplete()),t.complete()},e}(o.Subscriber)},function(t,e,n){"use strict";function r(t){var e="function"==typeof t?function(e,n){return t(e,n)>0?e:n}:function(t,e){return t>e?t:e};return this.lift(new i.ReduceOperator(e))}var i=n(234);e.max=r},function(t,e,n){"use strict";function r(t,e,n){return void 0===n&&(n=Number.POSITIVE_INFINITY),this.lift(new c(t,e,n))}var i=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(22),s=n(20),a=n(6),u=n(5);e.mergeScan=r;var c=function(){function t(t,e,n){this.project=t,this.seed=e,this.concurrent=n}return t.prototype.call=function(t,e){return e._subscribe(new p(t,this.project,this.seed,this.concurrent))},t}();e.MergeScanOperator=c;var p=function(t){function e(e,n,r,i){t.call(this,e),this.project=n,this.acc=r,this.concurrent=i,this.hasValue=!1,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}return i(e,t),e.prototype._next=function(t){if(this.active0?this._next(e.shift()):0===this.active&&this.hasCompleted&&(this.hasValue===!1&&this.destination.next(this.acc),this.destination.complete())},e}(u.OuterSubscriber);e.MergeScanSubscriber=p},function(t,e,n){"use strict";function r(t){var e="function"==typeof t?function(e,n){return t(e,n)<0?e:n}:function(t,e){return t-1&&(this.count=r-1),this.unsubscribe(),this.isStopped=!1,this.closed=!1,n.subscribe(this)}},e}(o.Subscriber)},function(t,e,n){"use strict";function r(t){return this.lift(new p(t,this))}var i=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(12),s=n(22),a=n(20),u=n(5),c=n(6);e.repeatWhen=r;var p=function(){function t(t,e){this.notifier=t,this.source=e}return t.prototype.call=function(t,e){return e._subscribe(new l(t,this.notifier,this.source))},t}(),l=function(t){function e(e,n,r){t.call(this,e),this.notifier=n,this.source=r}return i(e,t),e.prototype.complete=function(){if(!this.isStopped){var e=this.notifications,n=this.retries,r=this.retriesSubscription;if(n)this.notifications=null,this.retriesSubscription=null;else{if(e=new o.Subject,n=s.tryCatch(this.notifier)(e),n===a.errorObject)return t.prototype.complete.call(this);r=c.subscribeToResult(this,n)}this.unsubscribe(),this.closed=!1,this.notifications=e,this.retries=n,this.retriesSubscription=r,e.next()}},e.prototype._unsubscribe=function(){var t=this,e=t.notifications,n=t.retriesSubscription;e&&(e.unsubscribe(),this.notifications=null),n&&(n.unsubscribe(),this.retriesSubscription=null),this.retries=null},e.prototype.notifyNext=function(t,e,n,r,i){var o=this,s=o.notifications,a=o.retries,u=o.retriesSubscription;this.notifications=null,this.retries=null,this.retriesSubscription=null,this.unsubscribe(),this.isStopped=!1,this.closed=!1,this.notifications=s,this.retries=a,this.retriesSubscription=u,this.source.subscribe(this)},e}(u.OuterSubscriber)},function(t,e,n){"use strict";function r(t){return void 0===t&&(t=-1),this.lift(new s(t,this))}var i=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(3);e.retry=r;var s=function(){function t(t,e){this.count=t,this.source=e}return t.prototype.call=function(t,e){return e._subscribe(new a(t,this.count,this.source))},t}(),a=function(t){function e(e,n,r){t.call(this,e),this.count=n,this.source=r}return i(e,t),e.prototype.error=function(e){if(!this.isStopped){var n=this,r=n.source,i=n.count;if(0===i)return t.prototype.error.call(this,e);i>-1&&(this.count=i-1),this.unsubscribe(),this.isStopped=!1,this.closed=!1,r.subscribe(this)}},e}(o.Subscriber)},function(t,e,n){"use strict";function r(t){return this.lift(new p(t,this))}var i=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(12),s=n(22),a=n(20),u=n(5),c=n(6);e.retryWhen=r;var p=function(){function t(t,e){this.notifier=t,this.source=e}return t.prototype.call=function(t,e){return e._subscribe(new l(t,this.notifier,this.source))},t}(),l=function(t){function e(e,n,r){t.call(this,e),this.notifier=n,this.source=r}return i(e,t),e.prototype.error=function(e){if(!this.isStopped){var n=this.errors,r=this.retries,i=this.retriesSubscription;if(r)this.errors=null,this.retriesSubscription=null;else{if(n=new o.Subject,r=s.tryCatch(this.notifier)(n),r===a.errorObject)return t.prototype.error.call(this,a.errorObject.e);i=c.subscribeToResult(this,r)}this.unsubscribe(),this.closed=!1,this.errors=n,this.retries=r,this.retriesSubscription=i,n.next(e)}},e.prototype._unsubscribe=function(){var t=this,e=t.errors,n=t.retriesSubscription;e&&(e.unsubscribe(),this.errors=null),n&&(n.unsubscribe(),this.retriesSubscription=null),this.retries=null},e.prototype.notifyNext=function(t,e,n,r,i){var o=this,s=o.errors,a=o.retries,u=o.retriesSubscription;this.errors=null,this.retries=null,this.retriesSubscription=null,this.unsubscribe(),this.isStopped=!1,this.closed=!1,this.errors=s,this.retries=a,this.retriesSubscription=u,this.source.subscribe(this)},e}(u.OuterSubscriber)},function(t,e,n){"use strict";function r(t){return this.lift(new a(t))}var i=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(5),s=n(6);e.sample=r;var a=function(){function t(t){this.notifier=t}return t.prototype.call=function(t,e){return e._subscribe(new u(t,this.notifier))},t}(),u=function(t){function e(e,n){t.call(this,e),this.hasValue=!1,this.add(s.subscribeToResult(this,n))}return i(e,t),e.prototype._next=function(t){this.value=t,this.hasValue=!0},e.prototype.notifyNext=function(t,e,n,r,i){this.emitValue()},e.prototype.notifyComplete=function(){this.emitValue()},e.prototype.emitValue=function(){this.hasValue&&(this.hasValue=!1,this.destination.next(this.value))},e}(o.OuterSubscriber)},function(t,e,n){"use strict";function r(t,e){return void 0===e&&(e=a.async),this.lift(new u(t,e))}function i(t){var e=t.subscriber,n=t.period;e.notifyNext(),this.schedule(t,n)}var o=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)},s=n(3),a=n(26);e.sampleTime=r;var u=function(){function t(t,e){this.period=t,this.scheduler=e}return t.prototype.call=function(t,e){return e._subscribe(new c(t,this.period,this.scheduler))},t}(),c=function(t){function e(e,n,r){t.call(this,e),this.period=n,this.scheduler=r,this.hasValue=!1,this.add(r.schedule(i,n,{subscriber:this,period:n}))}return o(e,t),e.prototype._next=function(t){this.lastValue=t,this.hasValue=!0},e.prototype.notifyNext=function(){this.hasValue&&(this.hasValue=!1,this.destination.next(this.lastValue))},e}(s.Subscriber)},function(t,e,n){"use strict";function r(t,e){return this.lift(new s(t,e))}var i=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(3);e.scan=r;var s=function(){function t(t,e){this.accumulator=t,this.seed=e}return t.prototype.call=function(t,e){return e._subscribe(new a(t,this.accumulator,this.seed))},t}(),a=function(t){function e(e,n,r){t.call(this,e),this.accumulator=n,this.index=0,this.accumulatorSet=!1,this.seed=r,this.accumulatorSet="undefined"!=typeof r}return i(e,t),Object.defineProperty(e.prototype,"seed",{get:function(){return this._seed},set:function(t){this.accumulatorSet=!0,this._seed=t},enumerable:!0,configurable:!0}),e.prototype._next=function(t){return this.accumulatorSet?this._tryNext(t):(this.seed=t,void this.destination.next(t))},e.prototype._tryNext=function(t){var e,n=this.index++;try{e=this.accumulator(this.seed,t,n)}catch(t){this.destination.error(t)}this.seed=e,this.destination.next(e)},e}(o.Subscriber)},function(t,e,n){"use strict";function r(t,e){return this.lift(new u(t,e))}var i=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(3),s=n(22),a=n(20);e.sequenceEqual=r;var u=function(){function t(t,e){this.compareTo=t,this.comparor=e}return t.prototype.call=function(t,e){return e._subscribe(new c(t,this.compareTo,this.comparor))},t}();e.SequenceEqualOperator=u;var c=function(t){function e(e,n,r){t.call(this,e),this.compareTo=n,this.comparor=r,this._a=[],this._b=[],this._oneComplete=!1,this.add(n.subscribe(new p(e,this)))}return i(e,t),e.prototype._next=function(t){this._oneComplete&&0===this._b.length?this.emit(!1):(this._a.push(t),this.checkValues())},e.prototype._complete=function(){this._oneComplete?this.emit(0===this._a.length&&0===this._b.length):this._oneComplete=!0},e.prototype.checkValues=function(){for(var t=this,e=t._a,n=t._b,r=t.comparor;e.length>0&&n.length>0;){var i=e.shift(),o=n.shift(),u=!1;r?(u=s.tryCatch(r)(i,o),u===a.errorObject&&this.destination.error(a.errorObject.e)):u=i===o,u||this.emit(!1)}},e.prototype.emit=function(t){var e=this.destination;e.next(t),e.complete()},e.prototype.nextB=function(t){this._oneComplete&&0===this._a.length?this.emit(!1):(this._b.push(t),this.checkValues())},e}(o.Subscriber);e.SequenceEqualSubscriber=c;var p=function(t){function e(e,n){t.call(this,e),this.parent=n}return i(e,t),e.prototype._next=function(t){this.parent.nextB(t)},e.prototype._error=function(t){this.parent.error(t)},e.prototype._complete=function(){this.parent._complete()},e}(o.Subscriber)},function(t,e,n){"use strict";function r(){return new s.Subject}function i(){return o.multicast.call(this,r).refCount()}var o=n(83),s=n(12);e.share=i},function(t,e,n){"use strict";function r(t){return this.lift(new a(t,this))}var i=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(3),s=n(153);e.single=r;var a=function(){function t(t,e){this.predicate=t,this.source=e}return t.prototype.call=function(t,e){return e._subscribe(new u(t,this.predicate,this.source))},t}(),u=function(t){function e(e,n,r){t.call(this,e),this.predicate=n,this.source=r,this.seenValue=!1,this.index=0}return i(e,t),e.prototype.applySingleValue=function(t){this.seenValue?this.destination.error("Sequence contains more than one element"):(this.seenValue=!0,this.singleValue=t)},e.prototype._next=function(t){var e=this.predicate;this.index++,e?this.tryNext(t):this.applySingleValue(t)},e.prototype.tryNext=function(t){try{var e=this.predicate(t,this.index,this.source);e&&this.applySingleValue(t)}catch(t){this.destination.error(t)}},e.prototype._complete=function(){var t=this.destination;this.index>0?(t.next(this.seenValue?this.singleValue:void 0),t.complete()):t.error(new s.EmptyError)},e}(o.Subscriber)},function(t,e,n){"use strict";function r(t){return this.lift(new s(t))}var i=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(3);e.skip=r;var s=function(){function t(t){this.total=t}return t.prototype.call=function(t,e){return e._subscribe(new a(t,this.total))},t}(),a=function(t){function e(e,n){t.call(this,e),this.total=n,this.count=0}return i(e,t),e.prototype._next=function(t){++this.count>this.total&&this.destination.next(t)},e}(o.Subscriber)},function(t,e,n){"use strict";function r(t){return this.lift(new a(t))}var i=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(5),s=n(6);e.skipUntil=r;var a=function(){function t(t){this.notifier=t}return t.prototype.call=function(t,e){return e._subscribe(new u(t,this.notifier))},t}(),u=function(t){function e(e,n){t.call(this,e),this.hasValue=!1,this.isInnerStopped=!1,this.add(s.subscribeToResult(this,n))}return i(e,t),e.prototype._next=function(e){this.hasValue&&t.prototype._next.call(this,e)},e.prototype._complete=function(){this.isInnerStopped?t.prototype._complete.call(this):this.unsubscribe()},e.prototype.notifyNext=function(t,e,n,r,i){this.hasValue=!0},e.prototype.notifyComplete=function(){this.isInnerStopped=!0,this.isStopped&&t.prototype._complete.call(this)},e}(o.OuterSubscriber)},function(t,e,n){"use strict";function r(t){return this.lift(new s(t))}var i=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(3);e.skipWhile=r;var s=function(){function t(t){this.predicate=t}return t.prototype.call=function(t,e){return e._subscribe(new a(t,this.predicate))},t}(),a=function(t){function e(e,n){t.call(this,e),this.predicate=n,this.skipping=!0,this.index=0}return i(e,t),e.prototype._next=function(t){var e=this.destination;this.skipping&&this.tryCallPredicate(t),this.skipping||e.next(t)},e.prototype.tryCallPredicate=function(t){try{var e=this.predicate(t,this.index++);this.skipping=Boolean(e)}catch(t){this.destination.error(t)}},e}(o.Subscriber)},function(t,e,n){"use strict";function r(){for(var t=[],e=0;e1?a.concatStatic(new i.ArrayObservable(t,n),this):a.concatStatic(new s.EmptyObservable(n),this)}var i=n(53),o=n(229),s=n(61),a=n(231),u=n(62);e.startWith=r},function(t,e,n){"use strict";function r(t,e){return void 0===e&&(e=0),new i.SubscribeOnObservable(this,e,t)}var i=n(794);e.subscribeOn=r},function(t,e,n){"use strict";function r(){return this.lift(new a)}var i=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(5),s=n(6);e._switch=r;var a=function(){function t(){}return t.prototype.call=function(t,e){return e._subscribe(new u(t))},t}(),u=function(t){function e(e){t.call(this,e),this.active=0,this.hasCompleted=!1}return i(e,t),e.prototype._next=function(t){this.unsubscribeInner(),this.active++,this.add(this.innerSubscription=s.subscribeToResult(this,t))},e.prototype._complete=function(){this.hasCompleted=!0,0===this.active&&this.destination.complete()},e.prototype.unsubscribeInner=function(){this.active=this.active>0?this.active-1:0;var t=this.innerSubscription;t&&(t.unsubscribe(),this.remove(t))},e.prototype.notifyNext=function(t,e,n,r,i){this.destination.next(e)},e.prototype.notifyError=function(t){this.destination.error(t)},e.prototype.notifyComplete=function(){this.unsubscribeInner(),this.hasCompleted&&0===this.active&&this.destination.complete()},e}(o.OuterSubscriber)},function(t,e,n){"use strict";function r(t,e){return this.lift(new a(t,e))}var i=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(5),s=n(6);e.switchMap=r;var a=function(){function t(t,e){this.project=t,this.resultSelector=e}return t.prototype.call=function(t,e){return e._subscribe(new u(t,this.project,this.resultSelector))},t}(),u=function(t){function e(e,n,r){t.call(this,e),this.project=n,this.resultSelector=r,this.index=0}return i(e,t),e.prototype._next=function(t){var e,n=this.index++;try{e=this.project(t,n)}catch(t){return void this.destination.error(t)}this._innerSub(e,t,n)},e.prototype._innerSub=function(t,e,n){var r=this.innerSubscription;r&&r.unsubscribe(),this.add(this.innerSubscription=s.subscribeToResult(this,t,e,n))},e.prototype._complete=function(){var e=this.innerSubscription;e&&!e.closed||t.prototype._complete.call(this)},e.prototype._unsubscribe=function(){this.innerSubscription=null},e.prototype.notifyComplete=function(e){this.remove(e),this.innerSubscription=null,this.isStopped&&t.prototype._complete.call(this)},e.prototype.notifyNext=function(t,e,n,r,i){
+this.resultSelector?this._tryNotifyNext(t,e,n,r):this.destination.next(e)},e.prototype._tryNotifyNext=function(t,e,n,r){var i;try{i=this.resultSelector(t,e,n,r)}catch(t){return void this.destination.error(t)}this.destination.next(i)},e}(o.OuterSubscriber)},function(t,e,n){"use strict";function r(t,e){return this.lift(new a(t,e))}var i=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(5),s=n(6);e.switchMapTo=r;var a=function(){function t(t,e){this.observable=t,this.resultSelector=e}return t.prototype.call=function(t,e){return e._subscribe(new u(t,this.observable,this.resultSelector))},t}(),u=function(t){function e(e,n,r){t.call(this,e),this.inner=n,this.resultSelector=r,this.index=0}return i(e,t),e.prototype._next=function(t){var e=this.innerSubscription;e&&e.unsubscribe(),this.add(this.innerSubscription=s.subscribeToResult(this,this.inner,t,this.index++))},e.prototype._complete=function(){var e=this.innerSubscription;e&&!e.closed||t.prototype._complete.call(this)},e.prototype._unsubscribe=function(){this.innerSubscription=null},e.prototype.notifyComplete=function(e){this.remove(e),this.innerSubscription=null,this.isStopped&&t.prototype._complete.call(this)},e.prototype.notifyNext=function(t,e,n,r,i){var o=this,s=o.resultSelector,a=o.destination;s?this.tryResultSelector(t,e,n,r):a.next(e)},e.prototype.tryResultSelector=function(t,e,n,r){var i,o=this,s=o.resultSelector,a=o.destination;try{i=s(t,e,n,r)}catch(t){return void a.error(t)}a.next(i)},e}(o.OuterSubscriber)},function(t,e,n){"use strict";function r(t){return 0===t?new a.EmptyObservable:this.lift(new u(t))}var i=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(3),s=n(152),a=n(61);e.take=r;var u=function(){function t(t){if(this.total=t,this.total<0)throw new s.ArgumentOutOfRangeError}return t.prototype.call=function(t,e){return e._subscribe(new c(t,this.total))},t}(),c=function(t){function e(e,n){t.call(this,e),this.total=n,this.count=0}return i(e,t),e.prototype._next=function(t){var e=this.total;++this.count<=e&&(this.destination.next(t),this.count===e&&(this.destination.complete(),this.unsubscribe()))},e}(o.Subscriber)},function(t,e,n){"use strict";function r(t){return 0===t?new a.EmptyObservable:this.lift(new u(t))}var i=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(3),s=n(152),a=n(61);e.takeLast=r;var u=function(){function t(t){if(this.total=t,this.total<0)throw new s.ArgumentOutOfRangeError}return t.prototype.call=function(t,e){return e._subscribe(new c(t,this.total))},t}(),c=function(t){function e(e,n){t.call(this,e),this.total=n,this.ring=new Array,this.count=0}return i(e,t),e.prototype._next=function(t){var e=this.ring,n=this.total,r=this.count++;if(e.length0)for(var n=this.count>=this.total?this.total:this.count,r=this.ring,i=0;i0?this.startWindowEvery:this.windowSize,n=this.destination,r=this.windowSize,i=this.windows,o=i.length,a=0;a=0&&u%e===0&&!this.closed&&i.shift().complete(),++this.count%e===0&&!this.closed){var c=new s.Subject;i.push(c),n.next(c)}},e.prototype._error=function(t){var e=this.windows;if(e)for(;e.length>0&&!this.closed;)e.shift().error(t);this.destination.error(t)},e.prototype._complete=function(){var t=this.windows;if(t)for(;t.length>0&&!this.closed;)t.shift().complete();this.destination.complete()},e.prototype._unsubscribe=function(){this.count=0,this.windows=null},e}(o.Subscriber)},function(t,e,n){"use strict";function r(t,e,n){return void 0===e&&(e=null),void 0===n&&(n=c.async),this.lift(new l(t,e,n))}function i(t){var e=t.subscriber,n=t.windowTimeSpan,r=t.window;r&&r.complete(),t.window=e.openWindow(),this.schedule(t,n)}function o(t){var e=t.windowTimeSpan,n=t.subscriber,r=t.scheduler,i=t.windowCreationInterval,o=n.openWindow(),a=this,u={action:a,subscription:null},c={subscriber:n,window:o,context:u};u.subscription=r.schedule(s,e,c),a.add(u.subscription),a.schedule(t,i)}function s(t){var e=t.subscriber,n=t.window,r=t.context;r&&r.action&&r.subscription&&r.action.remove(r.subscription),e.closeWindow(n)}var a=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)},u=n(12),c=n(26),p=n(3);e.windowTime=r;var l=function(){function t(t,e,n){this.windowTimeSpan=t,this.windowCreationInterval=e,this.scheduler=n}return t.prototype.call=function(t,e){return e._subscribe(new h(t,this.windowTimeSpan,this.windowCreationInterval,this.scheduler))},t}(),h=function(t){function e(e,n,r,a){if(t.call(this,e),this.destination=e,this.windowTimeSpan=n,this.windowCreationInterval=r,this.scheduler=a,this.windows=[],null!==r&&r>=0){var u=this.openWindow(),c={subscriber:this,window:u,context:null},p={windowTimeSpan:n,windowCreationInterval:r,subscriber:this,scheduler:a};this.add(a.schedule(s,n,c)),this.add(a.schedule(o,r,p))}else{var l=this.openWindow(),h={subscriber:this,window:l,windowTimeSpan:n};this.add(a.schedule(i,n,h))}}return a(e,t),e.prototype._next=function(t){for(var e=this.windows,n=e.length,r=0;r0;)e.shift().error(t);this.destination.error(t)},e.prototype._complete=function(){for(var t=this.windows;t.length>0;){var e=t.shift();e.closed||e.complete()}this.destination.complete()},e.prototype.openWindow=function(){var t=new u.Subject;this.windows.push(t);var e=this.destination;return e.next(t),t},e.prototype.closeWindow=function(t){t.complete();var e=this.windows;e.splice(e.indexOf(t),1)},e}(p.Subscriber)},function(t,e,n){"use strict";function r(t,e){return this.lift(new l(t,e))}var i=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(12),s=n(19),a=n(22),u=n(20),c=n(5),p=n(6);e.windowToggle=r;var l=function(){function t(t,e){this.openings=t,this.closingSelector=e}return t.prototype.call=function(t,e){return e._subscribe(new h(t,this.openings,this.closingSelector))},t}(),h=function(t){function e(e,n,r){t.call(this,e),this.openings=n,this.closingSelector=r,this.contexts=[],this.add(this.openSubscription=p.subscribeToResult(this,n,n))}return i(e,t),e.prototype._next=function(t){var e=this.contexts;if(e)for(var n=e.length,r=0;r0){var s=o.indexOf(n);s!==-1&&o.splice(s,1)}},e.prototype.notifyComplete=function(){},e.prototype._next=function(t){if(0===this.toRespond.length){var e=[t].concat(this.values);this.project?this._tryProject(e):this.destination.next(e)}},e.prototype._tryProject=function(t){var e;try{e=this.project.apply(this,t)}catch(t){return void this.destination.error(t)}this.destination.next(e)},e}(o.OuterSubscriber)},function(t,e,n){"use strict";function r(t){return this.lift(new i.ZipOperator(t))}var i=n(235);e.zipAll=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(19),o=function(t){function e(e,n){t.call(this)}return r(e,t),e.prototype.schedule=function(t,e){return void 0===e&&(e=0),this},e}(i.Subscription);e.Action=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)},i=n(104),o=n(914),s=function(t){function e(e,n){t.call(this,e,n),this.scheduler=e,this.work=n}return r(e,t),e.prototype.requestAsyncId=function(e,n,r){return void 0===r&&(r=0),null!==r&&r>0?t.prototype.requestAsyncId.call(this,e,n,r):(e.actions.push(this),e.scheduled||(e.scheduled=o.AnimationFrame.requestAnimationFrame(e.flush.bind(e,null))))},e.prototype.recycleAsyncId=function(e,n,r){return void 0===r&&(r=0),null!==r&&r>0?t.prototype.recycleAsyncId.call(this,e,n,r):void(0===e.actions.length&&(o.AnimationFrame.cancelAnimationFrame(n),e.scheduled=void 0))},e}(i.AsyncAction);e.AnimationFrameAction=s},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(105),o=function(t){function e(){t.apply(this,arguments)}return r(e,t),e.prototype.flush=function(){this.active=!0,this.scheduled=void 0;var t,e=this.actions,n=-1,r=e.length,i=e.shift();do if(t=i.execute(i.state,i.delay))break;while(++n0?t.prototype.requestAsyncId.call(this,e,n,r):(e.actions.push(this),e.scheduled||(e.scheduled=i.Immediate.setImmediate(e.flush.bind(e,null))))},e.prototype.recycleAsyncId=function(e,n,r){return void 0===r&&(r=0),null!==r&&r>0?t.prototype.recycleAsyncId.call(this,e,n,r):void(0===e.actions.length&&(i.Immediate.clearImmediate(n),e.scheduled=void 0))},e}(o.AsyncAction);e.AsapAction=s},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(105),o=function(t){function e(){t.apply(this,arguments)}return r(e,t),e.prototype.flush=function(){this.active=!0,this.scheduled=void 0;var t,e=this.actions,n=-1,r=e.length,i=e.shift();do if(t=i.execute(i.state,i.delay))break;while(++n0?t.prototype.schedule.call(this,e,n):(this.delay=n,this.state=e,this.scheduler.flush(this),this)},e.prototype.execute=function(e,n){return n>0||this.closed?t.prototype.execute.call(this,e,n):this._execute(e,n)},e.prototype.requestAsyncId=function(e,n,r){return void 0===r&&(r=0),null!==r&&r>0?t.prototype.requestAsyncId.call(this,e,n,r):e.flush(this)},e}(i.AsyncAction);e.QueueAction=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)},i=n(105),o=function(t){function e(){t.apply(this,arguments)}return r(e,t),e}(i.AsyncScheduler);e.QueueScheduler=o},function(t,e,n){"use strict";var r=n(904),i=n(905);e.animationFrame=new i.AnimationFrameScheduler(r.AnimationFrameAction)},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(0),o=n(19),s=n(384),a=n(386),u=function(t){function e(e,n){t.call(this,function(t){var e=this,n=e.logSubscribedFrame();return t.add(new o.Subscription(function(){e.logUnsubscribedFrame(n)})),e.scheduleMessages(t),t}),this.messages=e,this.subscriptions=[],this.scheduler=n}return r(e,t),e.prototype.scheduleMessages=function(t){for(var e=this.messages.length,n=0;n0;)e.shift().setup();t.prototype.flush.call(this);for(var n=this.flushTests.filter(function(t){return t.ready});n.length>0;){var r=n.shift();this.assertDeepEqual(r.actual,r.expected)}},e.parseMarblesAsSubscriptions=function(t){if("string"!=typeof t)return new u.SubscriptionLog(Number.POSITIVE_INFINITY);for(var e=t.length,n=-1,r=Number.POSITIVE_INFINITY,i=Number.POSITIVE_INFINITY,o=0;o-1?n:s;break;case"!":if(i!==Number.POSITIVE_INFINITY)throw new Error("found a second subscription point '^' in a subscription marble diagram. There can only be one.");i=n>-1?n:s;break;default:throw new Error("there can only be '^' and '!' markers in a subscription marble diagram. Found instead '"+a+"'.")}}return i<0?new u.SubscriptionLog(r):new u.SubscriptionLog(r,i)},e.parseMarbles=function(t,e,n,r){if(void 0===r&&(r=!1),t.indexOf("!")!==-1)throw new Error('conventional marble diagrams cannot have the unsubscription marker "!"');for(var i=t.length,a=[],u=t.indexOf("^"),c=u===-1?0:u*-this.frameTimeFactor,p="object"!=typeof e?function(t){return t}:function(t){return r&&e[t]instanceof s.ColdObservable?e[t].messages:e[t]},l=-1,h=0;h-1?l:f,notification:d})}return a},e}(c.VirtualTimeScheduler);e.TestScheduler=l},function(t,e,n){"use strict";var r=n(24),i=function(){function t(t){t.requestAnimationFrame?(this.cancelAnimationFrame=t.cancelAnimationFrame.bind(t),this.requestAnimationFrame=t.requestAnimationFrame.bind(t)):t.mozRequestAnimationFrame?(this.cancelAnimationFrame=t.mozCancelAnimationFrame.bind(t),this.requestAnimationFrame=t.mozRequestAnimationFrame.bind(t)):t.webkitRequestAnimationFrame?(this.cancelAnimationFrame=t.webkitCancelAnimationFrame.bind(t),
+this.requestAnimationFrame=t.webkitRequestAnimationFrame.bind(t)):t.msRequestAnimationFrame?(this.cancelAnimationFrame=t.msCancelAnimationFrame.bind(t),this.requestAnimationFrame=t.msRequestAnimationFrame.bind(t)):t.oRequestAnimationFrame?(this.cancelAnimationFrame=t.oCancelAnimationFrame.bind(t),this.requestAnimationFrame=t.oRequestAnimationFrame.bind(t)):(this.cancelAnimationFrame=t.clearTimeout.bind(t),this.requestAnimationFrame=function(e){return t.setTimeout(e,1e3/60)})}return t}();e.RequestAnimationFrameDefinition=i,e.AnimationFrame=new i(r.root)},function(t,e){"use strict";var n=function(){function t(){this.values={}}return t.prototype.delete=function(t){return this.values[t]=null,!0},t.prototype.set=function(t,e){return this.values[t]=e,this},t.prototype.get=function(t){return this.values[t]},t.prototype.forEach=function(t,e){var n=this.values;for(var r in n)n.hasOwnProperty(r)&&null!==n[r]&&t.call(e,n[r],r)},t.prototype.clear=function(){this.values={}},t}();e.FastMap=n},function(t,e,n){"use strict";var r=n(24),i=function(){function t(t){if(this.root=t,t.setImmediate&&"function"==typeof t.setImmediate)this.setImmediate=t.setImmediate.bind(t),this.clearImmediate=t.clearImmediate.bind(t);else{this.nextHandle=1,this.tasksByHandle={},this.currentlyRunningATask=!1,this.canUseProcessNextTick()?this.setImmediate=this.createProcessNextTickSetImmediate():this.canUsePostMessage()?this.setImmediate=this.createPostMessageSetImmediate():this.canUseMessageChannel()?this.setImmediate=this.createMessageChannelSetImmediate():this.canUseReadyStateChange()?this.setImmediate=this.createReadyStateChangeSetImmediate():this.setImmediate=this.createSetTimeoutSetImmediate();var e=function t(e){delete t.instance.tasksByHandle[e]};e.instance=this,this.clearImmediate=e}}return t.prototype.identify=function(t){return this.root.Object.prototype.toString.call(t)},t.prototype.canUseProcessNextTick=function(){return"[object process]"===this.identify(this.root.process)},t.prototype.canUseMessageChannel=function(){return Boolean(this.root.MessageChannel)},t.prototype.canUseReadyStateChange=function(){var t=this.root.document;return Boolean(t&&"onreadystatechange"in t.createElement("script"))},t.prototype.canUsePostMessage=function(){var t=this.root;if(t.postMessage&&!t.importScripts){var e=!0,n=t.onmessage;return t.onmessage=function(){e=!1},t.postMessage("","*"),t.onmessage=n,e}return!1},t.prototype.partiallyApplied=function(t){for(var e=[],n=1;n=0;n--)"function"==typeof t[n]&&(t[n]=Zone.current.wrap(t[n],e+"_"+n));return t}function r(t,e){for(var r=t.constructor.name,i=function(i){var o=e[i],s=t[o];s&&(t[o]=function(t){return function(){return t.apply(this,n(arguments,r+"."+o))}}(s))},o=0;o1?new e(t,n):new e(t),s=Object.getOwnPropertyDescriptor(i,"onmessage");return s&&s.configurable===!1?(r=Object.create(i),["addEventListener","removeEventListener","send","close"].forEach(function(t){r[t]=function(){return i[t].apply(i,arguments)}})):r=i,o(r,["close","error","message","open"]),r};for(var n in e)t.WebSocket[n]=e[n]}function E(t){if(!A){var e="undefined"!=typeof WebSocket;x()?(M&&o(HTMLElement.prototype,W),o(XMLHttpRequest.prototype,null),"undefined"!=typeof IDBIndex&&(o(IDBIndex.prototype,null),o(IDBRequest.prototype,null),o(IDBOpenDBRequest.prototype,null),o(IDBDatabase.prototype,null),o(IDBTransaction.prototype,null),o(IDBCursor.prototype,null)),e&&o(WebSocket.prototype,null)):(S(),l("XMLHttpRequest"),e&&w(t))}}function x(){if(M&&!Object.getOwnPropertyDescriptor(HTMLElement.prototype,"onclick")&&"undefined"!=typeof Element){var t=Object.getOwnPropertyDescriptor(Element.prototype,"onclick");if(t&&!t.configurable)return!1}Object.defineProperty(XMLHttpRequest.prototype,"onreadystatechange",{get:function(){return!0}});var e=new XMLHttpRequest,n=!!e.onreadystatechange;return Object.defineProperty(XMLHttpRequest.prototype,"onreadystatechange",{}),n}function S(){for(var t=function(t){var e=W[t],n="on"+e;self.addEventListener(e,function(t){var e,r,i=t.target;for(r=i?i.constructor.name+"."+n:"unknown."+n;i;)i[n]&&!i[n][G]&&(e=Zone.current.wrap(i[n],r),e[G]=i[n],i[n]=e),i=i.parentElement},!0)},e=0;e",this._properties=e&&e.properties||{},this._zoneDelegate=new v(this,this._parent&&this._parent._zoneDelegate,e)}return n.assertZonePatched=function(){if(t.Promise!==I)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(n,"current",{get:function(){return _},enumerable:!0,configurable:!0}),Object.defineProperty(n,"currentTask",{get:function(){return w},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"parent",{get:function(){return this._parent},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"name",{get:function(){return this._name},enumerable:!0,configurable:!0}),n.prototype.get=function(t){var e=this.getZoneWith(t);if(e)return e._properties[t]},n.prototype.getZoneWith=function(t){for(var e=this;e;){if(e._properties.hasOwnProperty(t))return e;e=e._parent}return null},n.prototype.fork=function(t){if(!t)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,t)},n.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)}},n.prototype.run=function(t,e,n,r){void 0===e&&(e=null),void 0===n&&(n=null),void 0===r&&(r=null);var i=_;_=this;try{return this._zoneDelegate.invoke(this,t,e,n,r)}finally{_=i}},n.prototype.runGuarded=function(t,e,n,r){void 0===e&&(e=null),void 0===n&&(n=null),void 0===r&&(r=null);var i=_;_=this;try{try{return this._zoneDelegate.invoke(this,t,e,n,r)}catch(t){if(this._zoneDelegate.handleError(this,t))throw t}}finally{_=i}},n.prototype.runTask=function(t,e,n){if(t.runCount++,t.zone!=this)throw new Error("A task can only be run in the zone which created it! (Creation: "+t.zone.name+"; Execution: "+this.name+")");var r=w;w=t;var i=_;_=this;try{"macroTask"==t.type&&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{_=i,w=r}},n.prototype.scheduleMicroTask=function(t,e,n,r){return this._zoneDelegate.scheduleTask(this,new y("microTask",this,t,e,n,r,null))},n.prototype.scheduleMacroTask=function(t,e,n,r,i){return this._zoneDelegate.scheduleTask(this,new y("macroTask",this,t,e,n,r,i))},n.prototype.scheduleEventTask=function(t,e,n,r,i){return this._zoneDelegate.scheduleTask(this,new y("eventTask",this,t,e,n,r,i))},n.prototype.cancelTask=function(t){var e=this._zoneDelegate.cancelTask(this,t);return t.runCount=-1,t.cancelFn=null,e},n.__symbol__=e,n}(),v=function(){function t(t,e,n){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=t,this._parentDelegate=e,this._forkZS=n&&(n&&n.onFork?n:e._forkZS),this._forkDlgt=n&&(n.onFork?e:e._forkDlgt),this._interceptZS=n&&(n.onIntercept?n:e._interceptZS),this._interceptDlgt=n&&(n.onIntercept?e:e._interceptDlgt),this._invokeZS=n&&(n.onInvoke?n:e._invokeZS),this._invokeDlgt=n&&(n.onInvoke?e:e._invokeDlgt),this._handleErrorZS=n&&(n.onHandleError?n:e._handleErrorZS),this._handleErrorDlgt=n&&(n.onHandleError?e:e._handleErrorDlgt),this._scheduleTaskZS=n&&(n.onScheduleTask?n:e._scheduleTaskZS),this._scheduleTaskDlgt=n&&(n.onScheduleTask?e:e._scheduleTaskDlgt),this._invokeTaskZS=n&&(n.onInvokeTask?n:e._invokeTaskZS),this._invokeTaskDlgt=n&&(n.onInvokeTask?e:e._invokeTaskDlgt),this._cancelTaskZS=n&&(n.onCancelTask?n:e._cancelTaskZS),this._cancelTaskDlgt=n&&(n.onCancelTask?e:e._cancelTaskDlgt),this._hasTaskZS=n&&(n.onHasTask?n:e._hasTaskZS),this._hasTaskDlgt=n&&(n.onHasTask?e:e._hasTaskDlgt)}return t.prototype.fork=function(t,e){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,t,e):new d(t,e)},t.prototype.intercept=function(t,e,n){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this.zone,t,e,n):e},t.prototype.invoke=function(t,e,n,r,i){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this.zone,t,e,n,r,i):e.apply(n,r)},t.prototype.handleError=function(t,e){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this.zone,t,e)},t.prototype.scheduleTask=function(t,e){try{if(this._scheduleTaskZS)return this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this.zone,t,e);if(e.scheduleFn)e.scheduleFn(e);else{if("microTask"!=e.type)throw new Error("Task is missing scheduleFn.");r(e)}return e}finally{t==this.zone&&this._updateTaskCount(e.type,1)}},t.prototype.invokeTask=function(t,e,n,r){try{return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this.zone,t,e,n,r):e.callback.apply(n,r)}finally{t!=this.zone||"eventTask"==e.type||e.data&&e.data.isPeriodic||this._updateTaskCount(e.type,-1)}},t.prototype.cancelTask=function(t,e){var n;if(this._cancelTaskZS)n=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this.zone,t,e);else{if(!e.cancelFn)throw new Error("Task does not support cancellation, or is already canceled.");n=e.cancelFn(e)}return t==this.zone&&this._updateTaskCount(e.type,-1),n},t.prototype.hasTask=function(t,e){return this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this.zone,t,e)},t.prototype._updateTaskCount=function(t,e){var n=this._taskCounts,r=n[t],i=n[t]=r+e;if(i<0)throw new Error("More tasks executed then were scheduled.");if(0==r||0==i){var o={microTask:n.microTask>0,macroTask:n.macroTask>0,eventTask:n.eventTask>0,change:t};try{this.hasTask(this.zone,o)}finally{this._parentDelegate&&this._parentDelegate._updateTaskCount(t,e)}}},t}(),y=function(){function t(t,e,n,r,i,s,a){this.runCount=0,this.type=t,this.zone=e,this.source=n,this.data=i,this.scheduleFn=s,this.cancelFn=a,this.callback=r;var u=this;this.invoke=function(){C++;try{return e.runTask(u,this,arguments)}finally{1==C&&o(),C--}}}return t.prototype.toString=function(){return this.data&&"undefined"!=typeof this.data.handleId?this.data.handleId:Object.prototype.toString.call(this)},t}(),m=e("setTimeout"),b=e("Promise"),g=e("then"),_=new d(null,null),w=null,E=[],x=!1,S=[],C=0,O=e("state"),T=e("value"),P="Promise.then",k=null,A=!0,M=!1,N=0,I=function(){function t(e){var n=this;if(!(n instanceof t))throw new Error("Must be an instanceof Promise.");n[O]=k,n[T]=[];try{e&&e(c(n,A),c(n,M))}catch(t){p(n,!1,t)}}return t.resolve=function(t){return p(new this(null),A,t)},t.reject=function(t){return p(new this(null),M,t)},t.race=function(t){function e(t){o&&(o=r(t))}function n(t){o&&(o=i(t))}for(var r,i,o=new this(function(t,e){n=[t,e],r=n[0],i=n[1];var n}),a=0,u=t;a\n */\nvar Observable = (function () {\n /**\n * @constructor\n * @param {Function} subscribe the function that is called when the Observable is\n * initially subscribed to. This function is given a Subscriber, to which new values\n * can be `next`ed, or an `error` method can be called to raise an error, or\n * `complete` can be called to notify of a successful completion.\n */\n function Observable(subscribe) {\n this._isScalar = false;\n if (subscribe) {\n this._subscribe = subscribe;\n }\n }\n /**\n * Creates a new Observable, with this Observable as the source, and the passed\n * operator defined as the new observable's operator.\n * @method lift\n * @param {Operator} operator the operator defining the operation to take on the observable\n * @return {Observable} a new observable with the Operator applied\n */\n Observable.prototype.lift = function (operator) {\n var observable = new Observable();\n observable.source = this;\n observable.operator = operator;\n return observable;\n };\n /**\n * Registers handlers for handling emitted values, error and completions from the observable, and\n * executes the observable's subscriber function, which will take action to set up the underlying data stream\n * @method subscribe\n * @param {PartialObserver|Function} observerOrNext (optional) either an observer defining all functions to be called,\n * or the first of three possible handlers, which is the handler for each value emitted from the observable.\n * @param {Function} error (optional) a handler for a terminal event resulting from an error. If no error handler is provided,\n * the error will be thrown as unhandled\n * @param {Function} complete (optional) a handler for a terminal event resulting from successful completion.\n * @return {ISubscription} a subscription reference to the registered handlers\n */\n Observable.prototype.subscribe = function (observerOrNext, error, complete) {\n var operator = this.operator;\n var sink = toSubscriber_1.toSubscriber(observerOrNext, error, complete);\n if (operator) {\n operator.call(sink, this);\n }\n else {\n sink.add(this._subscribe(sink));\n }\n if (sink.syncErrorThrowable) {\n sink.syncErrorThrowable = false;\n if (sink.syncErrorThrown) {\n throw sink.syncErrorValue;\n }\n }\n return sink;\n };\n /**\n * @method forEach\n * @param {Function} next a handler for each value emitted by the observable\n * @param {PromiseConstructor} [PromiseCtor] a constructor function used to instantiate the Promise\n * @return {Promise} a promise that either resolves on observable completion or\n * rejects with the handled error\n */\n Observable.prototype.forEach = function (next, PromiseCtor) {\n var _this = this;\n if (!PromiseCtor) {\n if (root_1.root.Rx && root_1.root.Rx.config && root_1.root.Rx.config.Promise) {\n PromiseCtor = root_1.root.Rx.config.Promise;\n }\n else if (root_1.root.Promise) {\n PromiseCtor = root_1.root.Promise;\n }\n }\n if (!PromiseCtor) {\n throw new Error('no Promise impl found');\n }\n return new PromiseCtor(function (resolve, reject) {\n var subscription = _this.subscribe(function (value) {\n if (subscription) {\n // if there is a subscription, then we can surmise\n // the next handling is asynchronous. Any errors thrown\n // need to be rejected explicitly and unsubscribe must be\n // called manually\n try {\n next(value);\n }\n catch (err) {\n reject(err);\n subscription.unsubscribe();\n }\n }\n else {\n // if there is NO subscription, then we're getting a nexted\n // value synchronously during subscription. We can just call it.\n // If it errors, Observable's `subscribe` will ensure the\n // unsubscription logic is called, then synchronously rethrow the error.\n // After that, Promise will trap the error and send it\n // down the rejection path.\n next(value);\n }\n }, reject, resolve);\n });\n };\n Observable.prototype._subscribe = function (subscriber) {\n return this.source.subscribe(subscriber);\n };\n /**\n * An interop point defined by the es7-observable spec https://github.com/zenparsing/es-observable\n * @method Symbol.observable\n * @return {Observable} this instance of the observable\n */\n Observable.prototype[observable_1.$$observable] = function () {\n return this;\n };\n // HACK: Since TypeScript inherits static properties too, we have to\n // fight against TypeScript here so Subject can have a different static create signature\n /**\n * Creates a new cold Observable by calling the Observable constructor\n * @static true\n * @owner Observable\n * @method create\n * @param {Function} subscribe? the subscriber function to be passed to the Observable constructor\n * @return {Observable} a new cold observable\n */\n Observable.create = function (subscribe) {\n return new Observable(subscribe);\n };\n return Observable;\n}());\nexports.Observable = Observable;\n//# sourceMappingURL=Observable.js.map\n\n/***/ },\n/* 1 */\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__src_core__ = __webpack_require__(444);\n/* harmony namespace reexport (by used) */ __webpack_require__.d(exports, \"a\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"a\"]; });\n/* harmony namespace reexport (by used) */ __webpack_require__.d(exports, \"b\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"b\"]; });\n/* harmony namespace reexport (by used) */ __webpack_require__.d(exports, \"c\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"c\"]; });\n/* harmony namespace reexport (by used) */ __webpack_require__.d(exports, \"d\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"d\"]; });\n/* harmony namespace reexport (by used) */ __webpack_require__.d(exports, \"e\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"e\"]; });\n/* harmony namespace reexport (by used) */ __webpack_require__.d(exports, \"f\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"f\"]; });\n/* harmony namespace reexport (by used) */ __webpack_require__.d(exports, \"g\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"g\"]; });\n/* harmony namespace reexport (by used) */ __webpack_require__.d(exports, \"h\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"h\"]; });\n/* harmony namespace reexport (by used) */ __webpack_require__.d(exports, \"i\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"i\"]; });\n/* harmony namespace reexport (by used) */ __webpack_require__.d(exports, \"j\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"j\"]; });\n/* harmony namespace reexport (by used) */ __webpack_require__.d(exports, \"k\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"k\"]; });\n/* harmony namespace reexport (by used) */ __webpack_require__.d(exports, \"l\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"l\"]; });\n/* harmony namespace reexport (by used) */ __webpack_require__.d(exports, \"m\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"m\"]; });\n/* harmony namespace reexport (by used) */ __webpack_require__.d(exports, \"n\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"n\"]; });\n/* harmony namespace reexport (by used) */ __webpack_require__.d(exports, \"o\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"o\"]; });\n/* harmony namespace reexport (by used) */ __webpack_require__.d(exports, \"p\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"p\"]; });\n/* harmony namespace reexport (by used) */ __webpack_require__.d(exports, \"q\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"q\"]; });\n/* harmony namespace reexport (by used) */ __webpack_require__.d(exports, \"r\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"r\"]; });\n/* harmony namespace reexport (by used) */ __webpack_require__.d(exports, \"s\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"s\"]; });\n/* harmony namespace reexport (by used) */ __webpack_require__.d(exports, \"t\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"t\"]; });\n/* harmony namespace reexport (by used) */ __webpack_require__.d(exports, \"u\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"u\"]; });\n/* harmony namespace reexport (by used) */ __webpack_require__.d(exports, \"v\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"v\"]; });\n/* harmony namespace reexport (by used) */ __webpack_require__.d(exports, \"w\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"w\"]; });\n/* harmony namespace reexport (by used) */ __webpack_require__.d(exports, \"x\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"x\"]; });\n/* harmony namespace reexport (by used) */ __webpack_require__.d(exports, \"y\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"y\"]; });\n/* harmony namespace reexport (by used) */ __webpack_require__.d(exports, \"z\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"z\"]; });\n/* harmony namespace reexport (by used) */ __webpack_require__.d(exports, \"A\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"A\"]; });\n/* harmony namespace reexport (by used) */ __webpack_require__.d(exports, \"B\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"B\"]; });\n/* harmony namespace reexport (by used) */ __webpack_require__.d(exports, \"C\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"C\"]; });\n/* harmony namespace reexport (by used) */ __webpack_require__.d(exports, \"D\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"D\"]; });\n/* harmony namespace reexport (by used) */ __webpack_require__.d(exports, \"E\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"E\"]; });\n/* harmony namespace reexport (by used) */ __webpack_require__.d(exports, \"F\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"F\"]; });\n/* harmony namespace reexport (by used) */ __webpack_require__.d(exports, \"G\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"G\"]; });\n/* harmony namespace reexport (by used) */ __webpack_require__.d(exports, \"H\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"H\"]; });\n/* harmony namespace reexport (by used) */ __webpack_require__.d(exports, \"I\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"I\"]; });\n/* harmony namespace reexport (by used) */ __webpack_require__.d(exports, \"J\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"J\"]; });\n/* harmony namespace reexport (by used) */ __webpack_require__.d(exports, \"K\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"K\"]; });\n/* harmony namespace reexport (by used) */ __webpack_require__.d(exports, \"L\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"L\"]; });\n/* harmony namespace reexport (by used) */ __webpack_require__.d(exports, \"M\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"M\"]; });\n/* harmony namespace reexport (by used) */ __webpack_require__.d(exports, \"N\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"N\"]; });\n/* harmony namespace reexport (by used) */ __webpack_require__.d(exports, \"O\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"O\"]; });\n/* harmony namespace reexport (by used) */ __webpack_require__.d(exports, \"P\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"P\"]; });\n/* harmony namespace reexport (by used) */ __webpack_require__.d(exports, \"Q\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"Q\"]; });\n/* harmony namespace reexport (by used) */ __webpack_require__.d(exports, \"R\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"R\"]; });\n/* harmony namespace reexport (by used) */ __webpack_require__.d(exports, \"S\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"S\"]; });\n/* harmony namespace reexport (by used) */ __webpack_require__.d(exports, \"T\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"T\"]; });\n/* harmony namespace reexport (by used) */ __webpack_require__.d(exports, \"U\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"U\"]; });\n/* harmony namespace reexport (by used) */ __webpack_require__.d(exports, \"V\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"V\"]; });\n/* harmony namespace reexport (by used) */ __webpack_require__.d(exports, \"W\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"W\"]; });\n/* harmony namespace reexport (by used) */ __webpack_require__.d(exports, \"X\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"X\"]; });\n/* harmony namespace reexport (by used) */ __webpack_require__.d(exports, \"Y\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"Y\"]; });\n/* harmony namespace reexport (by used) */ __webpack_require__.d(exports, \"Z\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"Z\"]; });\n/* harmony namespace reexport (by used) */ __webpack_require__.d(exports, \"_0\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"_0\"]; });\n/* harmony namespace reexport (by used) */ __webpack_require__.d(exports, \"_1\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"_1\"]; });\n/* harmony namespace reexport (by used) */ __webpack_require__.d(exports, \"_2\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"_2\"]; });\n/* harmony namespace reexport (by used) */ __webpack_require__.d(exports, \"_3\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"_3\"]; });\n/* harmony namespace reexport (by used) */ __webpack_require__.d(exports, \"_4\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"_4\"]; });\n/* harmony namespace reexport (by used) */ __webpack_require__.d(exports, \"_5\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"_5\"]; });\n/* harmony namespace reexport (by used) */ __webpack_require__.d(exports, \"_6\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"_6\"]; });\n/* harmony namespace reexport (by used) */ __webpack_require__.d(exports, \"_7\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"_7\"]; });\n/* harmony namespace reexport (by used) */ __webpack_require__.d(exports, \"_8\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"_8\"]; });\n/* harmony namespace reexport (by used) */ __webpack_require__.d(exports, \"_9\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"_9\"]; });\n/* harmony namespace reexport (by used) */ __webpack_require__.d(exports, \"_10\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"_10\"]; });\n/* harmony namespace reexport (by used) */ __webpack_require__.d(exports, \"_11\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"_11\"]; });\n/* harmony namespace reexport (by used) */ __webpack_require__.d(exports, \"_12\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"_12\"]; });\n/* harmony namespace reexport (by used) */ __webpack_require__.d(exports, \"_13\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"_13\"]; });\n/* harmony namespace reexport (by used) */ __webpack_require__.d(exports, \"_14\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"_14\"]; });\n/* harmony namespace reexport (by used) */ __webpack_require__.d(exports, \"_15\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"_15\"]; });\n/* harmony namespace reexport (by used) */ __webpack_require__.d(exports, \"_16\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"_16\"]; });\n/* harmony namespace reexport (by used) */ __webpack_require__.d(exports, \"_17\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"_17\"]; });\n/* harmony namespace reexport (by used) */ __webpack_require__.d(exports, \"_18\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"_18\"]; });\n/* harmony namespace reexport (by used) */ __webpack_require__.d(exports, \"_19\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"_19\"]; });\n/* harmony namespace reexport (by used) */ __webpack_require__.d(exports, \"_20\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"_20\"]; });\n/* harmony namespace reexport (by used) */ __webpack_require__.d(exports, \"_21\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"_21\"]; });\n/* harmony namespace reexport (by used) */ __webpack_require__.d(exports, \"_22\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"_22\"]; });\n/* harmony namespace reexport (by used) */ __webpack_require__.d(exports, \"_23\", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__[\"_23\"]; });\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/**\n * @module\n * @description\n * Entry point for all public APIs of the core package.\n */\n\n//# sourceMappingURL=index.js.map\n\n/***/ },\n/* 2 */\n/***/ function(module, exports, __webpack_require__) {\n\nvar global = __webpack_require__(16)\n , core = __webpack_require__(15)\n , hide = __webpack_require__(50)\n , redefine = __webpack_require__(28)\n , ctx = __webpack_require__(79)\n , PROTOTYPE = 'prototype';\n\nvar $export = function(type, name, source){\n var IS_FORCED = type & $export.F\n , IS_GLOBAL = type & $export.G\n , IS_STATIC = type & $export.S\n , IS_PROTO = type & $export.P\n , IS_BIND = type & $export.B\n , target = IS_GLOBAL ? global : IS_STATIC ? global[name] || (global[name] = {}) : (global[name] || {})[PROTOTYPE]\n , exports = IS_GLOBAL ? core : core[name] || (core[name] = {})\n , expProto = exports[PROTOTYPE] || (exports[PROTOTYPE] = {})\n , key, own, out, exp;\n if(IS_GLOBAL)source = name;\n for(key in source){\n // contains in native\n own = !IS_FORCED && target && target[key] !== undefined;\n // export native or passed\n out = (own ? target : source)[key];\n // bind timers to global for call from export context\n exp = IS_BIND && own ? ctx(out, global) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out;\n // extend global\n if(target)redefine(target, key, out, type & $export.U);\n // export\n if(exports[key] != out)hide(exports, key, exp);\n if(IS_PROTO && expProto[key] != out)expProto[key] = out;\n }\n};\nglobal.core = core;\n// type bitmap\n$export.F = 1; // forced\n$export.G = 2; // global\n$export.S = 4; // static\n$export.P = 8; // proto\n$export.B = 16; // bind\n$export.W = 32; // wrap\n$export.U = 64; // safe\n$export.R = 128; // real proto method for `library` \nmodule.exports = $export;\n\n/***/ },\n/* 3 */\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\"use strict\";\nvar __extends = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\nvar isFunction_1 = __webpack_require__(237);\nvar Subscription_1 = __webpack_require__(19);\nvar Observer_1 = __webpack_require__(647);\nvar rxSubscriber_1 = __webpack_require__(151);\n/**\n * Implements the {@link Observer} interface and extends the\n * {@link Subscription} class. While the {@link Observer} is the public API for\n * consuming the values of an {@link Observable}, all Observers get converted to\n * a Subscriber, in order to provide Subscription-like capabilities such as\n * `unsubscribe`. Subscriber is a common type in RxJS, and crucial for\n * implementing operators, but it is rarely used as a public API.\n *\n * @class Subscriber\n */\nvar Subscriber = (function (_super) {\n __extends(Subscriber, _super);\n /**\n * @param {Observer|function(value: T): void} [destinationOrNext] A partially\n * defined Observer or a `next` callback function.\n * @param {function(e: ?any): void} [error] The `error` callback of an\n * Observer.\n * @param {function(): void} [complete] The `complete` callback of an\n * Observer.\n */\n function Subscriber(destinationOrNext, error, complete) {\n _super.call(this);\n this.syncErrorValue = null;\n this.syncErrorThrown = false;\n this.syncErrorThrowable = false;\n this.isStopped = false;\n switch (arguments.length) {\n case 0:\n this.destination = Observer_1.empty;\n break;\n case 1:\n if (!destinationOrNext) {\n this.destination = Observer_1.empty;\n break;\n }\n if (typeof destinationOrNext === 'object') {\n if (destinationOrNext instanceof Subscriber) {\n this.destination = destinationOrNext;\n this.destination.add(this);\n }\n else {\n this.syncErrorThrowable = true;\n this.destination = new SafeSubscriber(this, destinationOrNext);\n }\n break;\n }\n default:\n this.syncErrorThrowable = true;\n this.destination = new SafeSubscriber(this, destinationOrNext, error, complete);\n break;\n }\n }\n Subscriber.prototype[rxSubscriber_1.$$rxSubscriber] = function () { return this; };\n /**\n * A static factory for a Subscriber, given a (potentially partial) definition\n * of an Observer.\n * @param {function(x: ?T): void} [next] The `next` callback of an Observer.\n * @param {function(e: ?any): void} [error] The `error` callback of an\n * Observer.\n * @param {function(): void} [complete] The `complete` callback of an\n * Observer.\n * @return {Subscriber} A Subscriber wrapping the (partially defined)\n * Observer represented by the given arguments.\n */\n Subscriber.create = function (next, error, complete) {\n var subscriber = new Subscriber(next, error, complete);\n subscriber.syncErrorThrowable = false;\n return subscriber;\n };\n /**\n * The {@link Observer} callback to receive notifications of type `next` from\n * the Observable, with a value. The Observable may call this method 0 or more\n * times.\n * @param {T} [value] The `next` value.\n * @return {void}\n */\n Subscriber.prototype.next = function (value) {\n if (!this.isStopped) {\n this._next(value);\n }\n };\n /**\n * The {@link Observer} callback to receive notifications of type `error` from\n * the Observable, with an attached {@link Error}. Notifies the Observer that\n * the Observable has experienced an error condition.\n * @param {any} [err] The `error` exception.\n * @return {void}\n */\n Subscriber.prototype.error = function (err) {\n if (!this.isStopped) {\n this.isStopped = true;\n this._error(err);\n }\n };\n /**\n * The {@link Observer} callback to receive a valueless notification of type\n * `complete` from the Observable. Notifies the Observer that the Observable\n * has finished sending push-based notifications.\n * @return {void}\n */\n Subscriber.prototype.complete = function () {\n if (!this.isStopped) {\n this.isStopped = true;\n this._complete();\n }\n };\n Subscriber.prototype.unsubscribe = function () {\n if (this.closed) {\n return;\n }\n this.isStopped = true;\n _super.prototype.unsubscribe.call(this);\n };\n Subscriber.prototype._next = function (value) {\n this.destination.next(value);\n };\n Subscriber.prototype._error = function (err) {\n this.destination.error(err);\n this.unsubscribe();\n };\n Subscriber.prototype._complete = function () {\n this.destination.complete();\n this.unsubscribe();\n };\n return Subscriber;\n}(Subscription_1.Subscription));\nexports.Subscriber = Subscriber;\n/**\n * We need this JSDoc comment for affecting ESDoc.\n * @ignore\n * @extends {Ignored}\n */\nvar SafeSubscriber = (function (_super) {\n __extends(SafeSubscriber, _super);\n function SafeSubscriber(_parent, observerOrNext, error, complete) {\n _super.call(this);\n this._parent = _parent;\n var next;\n var context = this;\n if (isFunction_1.isFunction(observerOrNext)) {\n next = observerOrNext;\n }\n else if (observerOrNext) {\n context = observerOrNext;\n next = observerOrNext.next;\n error = observerOrNext.error;\n complete = observerOrNext.complete;\n if (isFunction_1.isFunction(context.unsubscribe)) {\n this.add(context.unsubscribe.bind(context));\n }\n context.unsubscribe = this.unsubscribe.bind(this);\n }\n this._context = context;\n this._next = next;\n this._error = error;\n this._complete = complete;\n }\n SafeSubscriber.prototype.next = function (value) {\n if (!this.isStopped && this._next) {\n var _parent = this._parent;\n if (!_parent.syncErrorThrowable) {\n this.__tryOrUnsub(this._next, value);\n }\n else if (this.__tryOrSetError(_parent, this._next, value)) {\n this.unsubscribe();\n }\n }\n };\n SafeSubscriber.prototype.error = function (err) {\n if (!this.isStopped) {\n var _parent = this._parent;\n if (this._error) {\n if (!_parent.syncErrorThrowable) {\n this.__tryOrUnsub(this._error, err);\n this.unsubscribe();\n }\n else {\n this.__tryOrSetError(_parent, this._error, err);\n this.unsubscribe();\n }\n }\n else if (!_parent.syncErrorThrowable) {\n this.unsubscribe();\n throw err;\n }\n else {\n _parent.syncErrorValue = err;\n _parent.syncErrorThrown = true;\n this.unsubscribe();\n }\n }\n };\n SafeSubscriber.prototype.complete = function () {\n if (!this.isStopped) {\n var _parent = this._parent;\n if (this._complete) {\n if (!_parent.syncErrorThrowable) {\n this.__tryOrUnsub(this._complete);\n this.unsubscribe();\n }\n else {\n this.__tryOrSetError(_parent, this._complete);\n this.unsubscribe();\n }\n }\n else {\n this.unsubscribe();\n }\n }\n };\n SafeSubscriber.prototype.__tryOrUnsub = function (fn, value) {\n try {\n fn.call(this._context, value);\n }\n catch (err) {\n this.unsubscribe();\n throw err;\n }\n };\n SafeSubscriber.prototype.__tryOrSetError = function (parent, fn, value) {\n try {\n fn.call(this._context, value);\n }\n catch (err) {\n parent.syncErrorValue = err;\n parent.syncErrorThrown = true;\n return true;\n }\n return false;\n };\n SafeSubscriber.prototype._unsubscribe = function () {\n var _parent = this._parent;\n this._context = null;\n this._parent = null;\n _parent.unsubscribe();\n };\n return SafeSubscriber;\n}(Subscriber));\n//# sourceMappingURL=Subscriber.js.map\n\n/***/ },\n/* 4 */\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* WEBPACK VAR INJECTION */(function(global) {/* unused harmony export scheduleMicroTask */\n/* unused harmony export global */\n/* unused harmony export getTypeNameForDebugging */\n/* harmony export (immutable) */ exports[\"b\"] = isPresent;\n/* harmony export (immutable) */ exports[\"a\"] = isBlank;\n/* harmony export (immutable) */ exports[\"g\"] = isStrictStringMap;\n/* unused harmony export isDate */\n/* harmony export (immutable) */ exports[\"i\"] = stringify;\n/* harmony export (binding) */ __webpack_require__.d(exports, \"c\", function() { return NumberWrapper; });\n/* unused harmony export looseIdentical */\n/* harmony export (immutable) */ exports[\"e\"] = isJsObject;\n/* unused harmony export print */\n/* unused harmony export warn */\n/* unused harmony export setValueOnPath */\n/* harmony export (immutable) */ exports[\"f\"] = getSymbolIterator;\n/* harmony export (immutable) */ exports[\"h\"] = isPrimitive;\n/* harmony export (immutable) */ exports[\"d\"] = escapeRegExp;\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nvar globalScope;\nif (typeof window === 'undefined') {\n if (typeof WorkerGlobalScope !== 'undefined' && self instanceof WorkerGlobalScope) {\n // TODO: Replace any with WorkerGlobalScope from lib.webworker.d.ts #3492\n globalScope = self;\n }\n else {\n globalScope = global;\n }\n}\nelse {\n globalScope = window;\n}\nfunction scheduleMicroTask(fn) {\n Zone.current.scheduleMicroTask('scheduleMicrotask', fn);\n}\n// Need to declare a new variable for global here since TypeScript\n// exports the original value of the symbol.\nvar _global = globalScope;\n\nfunction getTypeNameForDebugging(type) {\n return type['name'] || typeof type;\n}\n// TODO: remove calls to assert in production environment\n// Note: Can't just export this and import in in other files\n// as `assert` is a reserved keyword in Dart\n_global.assert = function assert(condition) {\n // TODO: to be fixed properly via #2830, noop for now\n};\nfunction isPresent(obj) {\n return obj != null;\n}\nfunction isBlank(obj) {\n return obj == null;\n}\nvar STRING_MAP_PROTO = Object.getPrototypeOf({});\nfunction isStrictStringMap(obj) {\n return typeof obj === 'object' && obj !== null && Object.getPrototypeOf(obj) === STRING_MAP_PROTO;\n}\nfunction isDate(obj) {\n return obj instanceof Date && !isNaN(obj.valueOf());\n}\nfunction stringify(token) {\n if (typeof token === 'string') {\n return token;\n }\n if (token == null) {\n return '' + token;\n }\n if (token.overriddenName) {\n return token.overriddenName;\n }\n if (token.name) {\n return token.name;\n }\n var res = token.toString();\n var newLineIndex = res.indexOf('\\n');\n return newLineIndex === -1 ? res : res.substring(0, newLineIndex);\n}\nvar NumberWrapper = (function () {\n function NumberWrapper() {\n }\n NumberWrapper.parseIntAutoRadix = function (text) {\n var result = parseInt(text);\n if (isNaN(result)) {\n throw new Error('Invalid integer literal when parsing ' + text);\n }\n return result;\n };\n NumberWrapper.isNumeric = function (value) { return !isNaN(value - parseFloat(value)); };\n return NumberWrapper;\n}());\n// JS has NaN !== NaN\nfunction looseIdentical(a, b) {\n return a === b || typeof a === 'number' && typeof b === 'number' && isNaN(a) && isNaN(b);\n}\nfunction isJsObject(o) {\n return o !== null && (typeof o === 'function' || typeof o === 'object');\n}\nfunction print(obj) {\n // tslint:disable-next-line:no-console\n console.log(obj);\n}\nfunction warn(obj) {\n console.warn(obj);\n}\nfunction setValueOnPath(global, path, value) {\n var parts = path.split('.');\n var obj = global;\n while (parts.length > 1) {\n var name_1 = parts.shift();\n if (obj.hasOwnProperty(name_1) && obj[name_1] != null) {\n obj = obj[name_1];\n }\n else {\n obj = obj[name_1] = {};\n }\n }\n if (obj === undefined || obj === null) {\n obj = {};\n }\n obj[parts.shift()] = value;\n}\nvar _symbolIterator = null;\nfunction getSymbolIterator() {\n if (!_symbolIterator) {\n if (globalScope.Symbol && Symbol.iterator) {\n _symbolIterator = Symbol.iterator;\n }\n else {\n // es6-shim specific logic\n var keys = Object.getOwnPropertyNames(Map.prototype);\n for (var i = 0; i < keys.length; ++i) {\n var key = keys[i];\n if (key !== 'entries' && key !== 'size' &&\n Map.prototype[key] === Map.prototype['entries']) {\n _symbolIterator = key;\n }\n }\n }\n }\n return _symbolIterator;\n}\nfunction isPrimitive(obj) {\n return !isJsObject(obj);\n}\nfunction escapeRegExp(s) {\n return s.replace(/([.*+?^=!:${}()|[\\]\\/\\\\])/g, '\\\\$1');\n}\n//# sourceMappingURL=lang.js.map\n/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(63)))\n\n/***/ },\n/* 5 */\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\"use strict\";\nvar __extends = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\nvar Subscriber_1 = __webpack_require__(3);\n/**\n * We need this JSDoc comment for affecting ESDoc.\n * @ignore\n * @extends {Ignored}\n */\nvar OuterSubscriber = (function (_super) {\n __extends(OuterSubscriber, _super);\n function OuterSubscriber() {\n _super.apply(this, arguments);\n }\n OuterSubscriber.prototype.notifyNext = function (outerValue, innerValue, outerIndex, innerIndex, innerSub) {\n this.destination.next(innerValue);\n };\n OuterSubscriber.prototype.notifyError = function (error, innerSub) {\n this.destination.error(error);\n };\n OuterSubscriber.prototype.notifyComplete = function (innerSub) {\n this.destination.complete();\n };\n return OuterSubscriber;\n}(Subscriber_1.Subscriber));\nexports.OuterSubscriber = OuterSubscriber;\n//# sourceMappingURL=OuterSubscriber.js.map\n\n/***/ },\n/* 6 */\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\"use strict\";\nvar root_1 = __webpack_require__(24);\nvar isArray_1 = __webpack_require__(45);\nvar isPromise_1 = __webpack_require__(387);\nvar Observable_1 = __webpack_require__(0);\nvar iterator_1 = __webpack_require__(106);\nvar InnerSubscriber_1 = __webpack_require__(646);\nvar observable_1 = __webpack_require__(150);\nfunction subscribeToResult(outerSubscriber, result, outerValue, outerIndex) {\n var destination = new InnerSubscriber_1.InnerSubscriber(outerSubscriber, outerValue, outerIndex);\n if (destination.closed) {\n return null;\n }\n if (result instanceof Observable_1.Observable) {\n if (result._isScalar) {\n destination.next(result.value);\n destination.complete();\n return null;\n }\n else {\n return result.subscribe(destination);\n }\n }\n if (isArray_1.isArray(result)) {\n for (var i = 0, len = result.length; i < len && !destination.closed; i++) {\n destination.next(result[i]);\n }\n if (!destination.closed) {\n destination.complete();\n }\n }\n else if (isPromise_1.isPromise(result)) {\n result.then(function (value) {\n if (!destination.closed) {\n destination.next(value);\n destination.complete();\n }\n }, function (err) { return destination.error(err); })\n .then(null, function (err) {\n // Escaping the Promise trap: globally throw unhandled errors\n root_1.root.setTimeout(function () { throw err; });\n });\n return destination;\n }\n else if (typeof result[iterator_1.$$iterator] === 'function') {\n var iterator = result[iterator_1.$$iterator]();\n do {\n var item = iterator.next();\n if (item.done) {\n destination.complete();\n break;\n }\n destination.next(item.value);\n if (destination.closed) {\n break;\n }\n } while (true);\n }\n else if (typeof result[observable_1.$$observable] === 'function') {\n var obs = result[observable_1.$$observable]();\n if (typeof obs.subscribe !== 'function') {\n destination.error(new Error('invalid observable'));\n }\n else {\n return obs.subscribe(new InnerSubscriber_1.InnerSubscriber(outerSubscriber, outerValue, outerIndex));\n }\n }\n else {\n destination.error(new TypeError('unknown type returned'));\n }\n return null;\n}\nexports.subscribeToResult = subscribeToResult;\n//# sourceMappingURL=subscribeToResult.js.map\n\n/***/ },\n/* 7 */\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* WEBPACK VAR INJECTION */(function(global) {/* harmony export (immutable) */ exports[\"l\"] = scheduleMicroTask;\n/* harmony export (binding) */ __webpack_require__.d(exports, \"a\", function() { return _global; });\n/* harmony export (immutable) */ exports[\"j\"] = getTypeNameForDebugging;\n/* harmony export (immutable) */ exports[\"d\"] = isPresent;\n/* harmony export (immutable) */ exports[\"c\"] = isBlank;\n/* unused harmony export isStrictStringMap */\n/* unused harmony export isDate */\n/* harmony export (immutable) */ exports[\"b\"] = stringify;\n/* unused harmony export NumberWrapper */\n/* harmony export (immutable) */ exports[\"i\"] = looseIdentical;\n/* harmony export (immutable) */ exports[\"e\"] = isJsObject;\n/* harmony export (immutable) */ exports[\"g\"] = print;\n/* harmony export (immutable) */ exports[\"h\"] = warn;\n/* unused harmony export setValueOnPath */\n/* harmony export (immutable) */ exports[\"f\"] = getSymbolIterator;\n/* harmony export (immutable) */ exports[\"k\"] = isPrimitive;\n/* unused harmony export escapeRegExp */\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nvar globalScope;\nif (typeof window === 'undefined') {\n if (typeof WorkerGlobalScope !== 'undefined' && self instanceof WorkerGlobalScope) {\n // TODO: Replace any with WorkerGlobalScope from lib.webworker.d.ts #3492\n globalScope = self;\n }\n else {\n globalScope = global;\n }\n}\nelse {\n globalScope = window;\n}\nfunction scheduleMicroTask(fn) {\n Zone.current.scheduleMicroTask('scheduleMicrotask', fn);\n}\n// Need to declare a new variable for global here since TypeScript\n// exports the original value of the symbol.\nvar _global = globalScope;\n\nfunction getTypeNameForDebugging(type) {\n return type['name'] || typeof type;\n}\n// TODO: remove calls to assert in production environment\n// Note: Can't just export this and import in in other files\n// as `assert` is a reserved keyword in Dart\n_global.assert = function assert(condition) {\n // TODO: to be fixed properly via #2830, noop for now\n};\nfunction isPresent(obj) {\n return obj != null;\n}\nfunction isBlank(obj) {\n return obj == null;\n}\nvar STRING_MAP_PROTO = Object.getPrototypeOf({});\nfunction isStrictStringMap(obj) {\n return typeof obj === 'object' && obj !== null && Object.getPrototypeOf(obj) === STRING_MAP_PROTO;\n}\nfunction isDate(obj) {\n return obj instanceof Date && !isNaN(obj.valueOf());\n}\nfunction stringify(token) {\n if (typeof token === 'string') {\n return token;\n }\n if (token == null) {\n return '' + token;\n }\n if (token.overriddenName) {\n return token.overriddenName;\n }\n if (token.name) {\n return token.name;\n }\n var res = token.toString();\n var newLineIndex = res.indexOf('\\n');\n return newLineIndex === -1 ? res : res.substring(0, newLineIndex);\n}\nvar NumberWrapper = (function () {\n function NumberWrapper() {\n }\n NumberWrapper.parseIntAutoRadix = function (text) {\n var result = parseInt(text);\n if (isNaN(result)) {\n throw new Error('Invalid integer literal when parsing ' + text);\n }\n return result;\n };\n NumberWrapper.isNumeric = function (value) { return !isNaN(value - parseFloat(value)); };\n return NumberWrapper;\n}());\n// JS has NaN !== NaN\nfunction looseIdentical(a, b) {\n return a === b || typeof a === 'number' && typeof b === 'number' && isNaN(a) && isNaN(b);\n}\nfunction isJsObject(o) {\n return o !== null && (typeof o === 'function' || typeof o === 'object');\n}\nfunction print(obj) {\n // tslint:disable-next-line:no-console\n console.log(obj);\n}\nfunction warn(obj) {\n console.warn(obj);\n}\nfunction setValueOnPath(global, path, value) {\n var parts = path.split('.');\n var obj = global;\n while (parts.length > 1) {\n var name_1 = parts.shift();\n if (obj.hasOwnProperty(name_1) && obj[name_1] != null) {\n obj = obj[name_1];\n }\n else {\n obj = obj[name_1] = {};\n }\n }\n if (obj === undefined || obj === null) {\n obj = {};\n }\n obj[parts.shift()] = value;\n}\nvar _symbolIterator = null;\nfunction getSymbolIterator() {\n if (!_symbolIterator) {\n if (globalScope.Symbol && Symbol.iterator) {\n _symbolIterator = Symbol.iterator;\n }\n else {\n // es6-shim specific logic\n var keys = Object.getOwnPropertyNames(Map.prototype);\n for (var i = 0; i < keys.length; ++i) {\n var key = keys[i];\n if (key !== 'entries' && key !== 'size' &&\n Map.prototype[key] === Map.prototype['entries']) {\n _symbolIterator = key;\n }\n }\n }\n }\n return _symbolIterator;\n}\nfunction isPrimitive(obj) {\n return !isJsObject(obj);\n}\nfunction escapeRegExp(s) {\n return s.replace(/([.*+?^=!:${}()|[\\]\\/\\\\])/g, '\\\\$1');\n}\n//# sourceMappingURL=lang.js.map\n/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(63)))\n\n/***/ },\n/* 8 */\n/***/ function(module, exports, __webpack_require__) {\n\nvar isObject = __webpack_require__(11);\nmodule.exports = function(it){\n if(!isObject(it))throw TypeError(it + ' is not an object!');\n return it;\n};\n\n/***/ },\n/* 9 */\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__facade_lang__ = __webpack_require__(4);\n/* harmony export (binding) */ __webpack_require__.d(exports, \"m\", function() { return TypeModifier; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"P\", function() { return Type; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"R\", function() { return BuiltinTypeName; });\n/* unused harmony export BuiltinType */\n/* harmony export (binding) */ __webpack_require__.d(exports, \"M\", function() { return ExternalType; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"w\", function() { return ArrayType; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"x\", function() { return MapType; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"l\", function() { return DYNAMIC_TYPE; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"E\", function() { return BOOL_TYPE; });\n/* unused harmony export INT_TYPE */\n/* harmony export (binding) */ __webpack_require__.d(exports, \"N\", function() { return NUMBER_TYPE; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"G\", function() { return STRING_TYPE; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"D\", function() { return FUNCTION_TYPE; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"Q\", function() { return NULL_TYPE; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"s\", function() { return BinaryOperator; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"H\", function() { return Expression; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"I\", function() { return BuiltinVar; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"v\", function() { return ReadVarExpr; });\n/* unused harmony export WriteVarExpr */\n/* unused harmony export WriteKeyExpr */\n/* unused harmony export WritePropExpr */\n/* harmony export (binding) */ __webpack_require__.d(exports, \"z\", function() { return BuiltinMethod; });\n/* unused harmony export InvokeMethodExpr */\n/* unused harmony export InvokeFunctionExpr */\n/* unused harmony export InstantiateExpr */\n/* harmony export (binding) */ __webpack_require__.d(exports, \"F\", function() { return LiteralExpr; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"S\", function() { return ExternalExpr; });\n/* unused harmony export ConditionalExpr */\n/* unused harmony export NotExpr */\n/* unused harmony export CastExpr */\n/* harmony export (binding) */ __webpack_require__.d(exports, \"j\", function() { return FnParam; });\n/* unused harmony export FunctionExpr */\n/* harmony export (binding) */ __webpack_require__.d(exports, \"t\", function() { return BinaryOperatorExpr; });\n/* unused harmony export ReadPropExpr */\n/* unused harmony export ReadKeyExpr */\n/* unused harmony export LiteralArrayExpr */\n/* unused harmony export LiteralMapExpr */\n/* harmony export (binding) */ __webpack_require__.d(exports, \"o\", function() { return THIS_EXPR; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"A\", function() { return SUPER_EXPR; });\n/* unused harmony export CATCH_ERROR_VAR */\n/* unused harmony export CATCH_STACK_VAR */\n/* harmony export (binding) */ __webpack_require__.d(exports, \"f\", function() { return NULL_EXPR; });\n/* unused harmony export TYPED_NULL_EXPR */\n/* harmony export (binding) */ __webpack_require__.d(exports, \"p\", function() { return StmtModifier; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"O\", function() { return Statement; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"r\", function() { return DeclareVarStmt; });\n/* unused harmony export DeclareFunctionStmt */\n/* harmony export (binding) */ __webpack_require__.d(exports, \"y\", function() { return ExpressionStatement; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"i\", function() { return ReturnStatement; });\n/* unused harmony export AbstractClassPart */\n/* harmony export (binding) */ __webpack_require__.d(exports, \"n\", function() { return ClassField; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"B\", function() { return ClassMethod; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"L\", function() { return ClassGetter; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"C\", function() { return ClassStmt; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"g\", function() { return IfStmt; });\n/* unused harmony export CommentStmt */\n/* unused harmony export TryCatchStmt */\n/* unused harmony export ThrowStmt */\n/* harmony export (binding) */ __webpack_require__.d(exports, \"J\", function() { return ExpressionTransformer; });\n/* unused harmony export RecursiveExpressionVisitor */\n/* harmony export (immutable) */ exports[\"K\"] = replaceVarInExpression;\n/* harmony export (immutable) */ exports[\"q\"] = findReadVarNames;\n/* harmony export (immutable) */ exports[\"a\"] = variable;\n/* harmony export (immutable) */ exports[\"e\"] = importExpr;\n/* harmony export (immutable) */ exports[\"k\"] = importType;\n/* harmony export (immutable) */ exports[\"c\"] = literalArr;\n/* harmony export (immutable) */ exports[\"b\"] = literalMap;\n/* harmony export (immutable) */ exports[\"u\"] = not;\n/* harmony export (immutable) */ exports[\"h\"] = fn;\n/* harmony export (immutable) */ exports[\"d\"] = literal;\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nvar __extends = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\n\n//// Types\nvar TypeModifier;\n(function (TypeModifier) {\n TypeModifier[TypeModifier[\"Const\"] = 0] = \"Const\";\n})(TypeModifier || (TypeModifier = {}));\nvar Type = (function () {\n function Type(modifiers) {\n if (modifiers === void 0) { modifiers = null; }\n this.modifiers = modifiers;\n if (!modifiers) {\n this.modifiers = [];\n }\n }\n Type.prototype.hasModifier = function (modifier) { return this.modifiers.indexOf(modifier) !== -1; };\n return Type;\n}());\nvar BuiltinTypeName;\n(function (BuiltinTypeName) {\n BuiltinTypeName[BuiltinTypeName[\"Dynamic\"] = 0] = \"Dynamic\";\n BuiltinTypeName[BuiltinTypeName[\"Bool\"] = 1] = \"Bool\";\n BuiltinTypeName[BuiltinTypeName[\"String\"] = 2] = \"String\";\n BuiltinTypeName[BuiltinTypeName[\"Int\"] = 3] = \"Int\";\n BuiltinTypeName[BuiltinTypeName[\"Number\"] = 4] = \"Number\";\n BuiltinTypeName[BuiltinTypeName[\"Function\"] = 5] = \"Function\";\n BuiltinTypeName[BuiltinTypeName[\"Null\"] = 6] = \"Null\";\n})(BuiltinTypeName || (BuiltinTypeName = {}));\nvar BuiltinType = (function (_super) {\n __extends(BuiltinType, _super);\n function BuiltinType(name, modifiers) {\n if (modifiers === void 0) { modifiers = null; }\n _super.call(this, modifiers);\n this.name = name;\n }\n BuiltinType.prototype.visitType = function (visitor, context) {\n return visitor.visitBuiltintType(this, context);\n };\n return BuiltinType;\n}(Type));\nvar ExternalType = (function (_super) {\n __extends(ExternalType, _super);\n function ExternalType(value, typeParams, modifiers) {\n if (typeParams === void 0) { typeParams = null; }\n if (modifiers === void 0) { modifiers = null; }\n _super.call(this, modifiers);\n this.value = value;\n this.typeParams = typeParams;\n }\n ExternalType.prototype.visitType = function (visitor, context) {\n return visitor.visitExternalType(this, context);\n };\n return ExternalType;\n}(Type));\nvar ArrayType = (function (_super) {\n __extends(ArrayType, _super);\n function ArrayType(of, modifiers) {\n if (modifiers === void 0) { modifiers = null; }\n _super.call(this, modifiers);\n this.of = of;\n }\n ArrayType.prototype.visitType = function (visitor, context) {\n return visitor.visitArrayType(this, context);\n };\n return ArrayType;\n}(Type));\nvar MapType = (function (_super) {\n __extends(MapType, _super);\n function MapType(valueType, modifiers) {\n if (modifiers === void 0) { modifiers = null; }\n _super.call(this, modifiers);\n this.valueType = valueType;\n }\n MapType.prototype.visitType = function (visitor, context) { return visitor.visitMapType(this, context); };\n return MapType;\n}(Type));\nvar DYNAMIC_TYPE = new BuiltinType(BuiltinTypeName.Dynamic);\nvar BOOL_TYPE = new BuiltinType(BuiltinTypeName.Bool);\nvar INT_TYPE = new BuiltinType(BuiltinTypeName.Int);\nvar NUMBER_TYPE = new BuiltinType(BuiltinTypeName.Number);\nvar STRING_TYPE = new BuiltinType(BuiltinTypeName.String);\nvar FUNCTION_TYPE = new BuiltinType(BuiltinTypeName.Function);\nvar NULL_TYPE = new BuiltinType(BuiltinTypeName.Null);\n///// Expressions\nvar BinaryOperator;\n(function (BinaryOperator) {\n BinaryOperator[BinaryOperator[\"Equals\"] = 0] = \"Equals\";\n BinaryOperator[BinaryOperator[\"NotEquals\"] = 1] = \"NotEquals\";\n BinaryOperator[BinaryOperator[\"Identical\"] = 2] = \"Identical\";\n BinaryOperator[BinaryOperator[\"NotIdentical\"] = 3] = \"NotIdentical\";\n BinaryOperator[BinaryOperator[\"Minus\"] = 4] = \"Minus\";\n BinaryOperator[BinaryOperator[\"Plus\"] = 5] = \"Plus\";\n BinaryOperator[BinaryOperator[\"Divide\"] = 6] = \"Divide\";\n BinaryOperator[BinaryOperator[\"Multiply\"] = 7] = \"Multiply\";\n BinaryOperator[BinaryOperator[\"Modulo\"] = 8] = \"Modulo\";\n BinaryOperator[BinaryOperator[\"And\"] = 9] = \"And\";\n BinaryOperator[BinaryOperator[\"Or\"] = 10] = \"Or\";\n BinaryOperator[BinaryOperator[\"Lower\"] = 11] = \"Lower\";\n BinaryOperator[BinaryOperator[\"LowerEquals\"] = 12] = \"LowerEquals\";\n BinaryOperator[BinaryOperator[\"Bigger\"] = 13] = \"Bigger\";\n BinaryOperator[BinaryOperator[\"BiggerEquals\"] = 14] = \"BiggerEquals\";\n})(BinaryOperator || (BinaryOperator = {}));\nvar Expression = (function () {\n function Expression(type) {\n this.type = type;\n }\n Expression.prototype.prop = function (name) { return new ReadPropExpr(this, name); };\n Expression.prototype.key = function (index, type) {\n if (type === void 0) { type = null; }\n return new ReadKeyExpr(this, index, type);\n };\n Expression.prototype.callMethod = function (name, params) {\n return new InvokeMethodExpr(this, name, params);\n };\n Expression.prototype.callFn = function (params) { return new InvokeFunctionExpr(this, params); };\n Expression.prototype.instantiate = function (params, type) {\n if (type === void 0) { type = null; }\n return new InstantiateExpr(this, params, type);\n };\n Expression.prototype.conditional = function (trueCase, falseCase) {\n if (falseCase === void 0) { falseCase = null; }\n return new ConditionalExpr(this, trueCase, falseCase);\n };\n Expression.prototype.equals = function (rhs) {\n return new BinaryOperatorExpr(BinaryOperator.Equals, this, rhs);\n };\n Expression.prototype.notEquals = function (rhs) {\n return new BinaryOperatorExpr(BinaryOperator.NotEquals, this, rhs);\n };\n Expression.prototype.identical = function (rhs) {\n return new BinaryOperatorExpr(BinaryOperator.Identical, this, rhs);\n };\n Expression.prototype.notIdentical = function (rhs) {\n return new BinaryOperatorExpr(BinaryOperator.NotIdentical, this, rhs);\n };\n Expression.prototype.minus = function (rhs) {\n return new BinaryOperatorExpr(BinaryOperator.Minus, this, rhs);\n };\n Expression.prototype.plus = function (rhs) {\n return new BinaryOperatorExpr(BinaryOperator.Plus, this, rhs);\n };\n Expression.prototype.divide = function (rhs) {\n return new BinaryOperatorExpr(BinaryOperator.Divide, this, rhs);\n };\n Expression.prototype.multiply = function (rhs) {\n return new BinaryOperatorExpr(BinaryOperator.Multiply, this, rhs);\n };\n Expression.prototype.modulo = function (rhs) {\n return new BinaryOperatorExpr(BinaryOperator.Modulo, this, rhs);\n };\n Expression.prototype.and = function (rhs) {\n return new BinaryOperatorExpr(BinaryOperator.And, this, rhs);\n };\n Expression.prototype.or = function (rhs) {\n return new BinaryOperatorExpr(BinaryOperator.Or, this, rhs);\n };\n Expression.prototype.lower = function (rhs) {\n return new BinaryOperatorExpr(BinaryOperator.Lower, this, rhs);\n };\n Expression.prototype.lowerEquals = function (rhs) {\n return new BinaryOperatorExpr(BinaryOperator.LowerEquals, this, rhs);\n };\n Expression.prototype.bigger = function (rhs) {\n return new BinaryOperatorExpr(BinaryOperator.Bigger, this, rhs);\n };\n Expression.prototype.biggerEquals = function (rhs) {\n return new BinaryOperatorExpr(BinaryOperator.BiggerEquals, this, rhs);\n };\n Expression.prototype.isBlank = function () {\n // Note: We use equals by purpose here to compare to null and undefined in JS.\n // We use the typed null to allow strictNullChecks to narrow types.\n return this.equals(TYPED_NULL_EXPR);\n };\n Expression.prototype.cast = function (type) { return new CastExpr(this, type); };\n Expression.prototype.toStmt = function () { return new ExpressionStatement(this); };\n return Expression;\n}());\nvar BuiltinVar;\n(function (BuiltinVar) {\n BuiltinVar[BuiltinVar[\"This\"] = 0] = \"This\";\n BuiltinVar[BuiltinVar[\"Super\"] = 1] = \"Super\";\n BuiltinVar[BuiltinVar[\"CatchError\"] = 2] = \"CatchError\";\n BuiltinVar[BuiltinVar[\"CatchStack\"] = 3] = \"CatchStack\";\n})(BuiltinVar || (BuiltinVar = {}));\nvar ReadVarExpr = (function (_super) {\n __extends(ReadVarExpr, _super);\n function ReadVarExpr(name, type) {\n if (type === void 0) { type = null; }\n _super.call(this, type);\n if (typeof name === 'string') {\n this.name = name;\n this.builtin = null;\n }\n else {\n this.name = null;\n this.builtin = name;\n }\n }\n ReadVarExpr.prototype.visitExpression = function (visitor, context) {\n return visitor.visitReadVarExpr(this, context);\n };\n ReadVarExpr.prototype.set = function (value) { return new WriteVarExpr(this.name, value); };\n return ReadVarExpr;\n}(Expression));\nvar WriteVarExpr = (function (_super) {\n __extends(WriteVarExpr, _super);\n function WriteVarExpr(name, value, type) {\n if (type === void 0) { type = null; }\n _super.call(this, type || value.type);\n this.name = name;\n this.value = value;\n }\n WriteVarExpr.prototype.visitExpression = function (visitor, context) {\n return visitor.visitWriteVarExpr(this, context);\n };\n WriteVarExpr.prototype.toDeclStmt = function (type, modifiers) {\n if (type === void 0) { type = null; }\n if (modifiers === void 0) { modifiers = null; }\n return new DeclareVarStmt(this.name, this.value, type, modifiers);\n };\n return WriteVarExpr;\n}(Expression));\nvar WriteKeyExpr = (function (_super) {\n __extends(WriteKeyExpr, _super);\n function WriteKeyExpr(receiver, index, value, type) {\n if (type === void 0) { type = null; }\n _super.call(this, type || value.type);\n this.receiver = receiver;\n this.index = index;\n this.value = value;\n }\n WriteKeyExpr.prototype.visitExpression = function (visitor, context) {\n return visitor.visitWriteKeyExpr(this, context);\n };\n return WriteKeyExpr;\n}(Expression));\nvar WritePropExpr = (function (_super) {\n __extends(WritePropExpr, _super);\n function WritePropExpr(receiver, name, value, type) {\n if (type === void 0) { type = null; }\n _super.call(this, type || value.type);\n this.receiver = receiver;\n this.name = name;\n this.value = value;\n }\n WritePropExpr.prototype.visitExpression = function (visitor, context) {\n return visitor.visitWritePropExpr(this, context);\n };\n return WritePropExpr;\n}(Expression));\nvar BuiltinMethod;\n(function (BuiltinMethod) {\n BuiltinMethod[BuiltinMethod[\"ConcatArray\"] = 0] = \"ConcatArray\";\n BuiltinMethod[BuiltinMethod[\"SubscribeObservable\"] = 1] = \"SubscribeObservable\";\n BuiltinMethod[BuiltinMethod[\"Bind\"] = 2] = \"Bind\";\n})(BuiltinMethod || (BuiltinMethod = {}));\nvar InvokeMethodExpr = (function (_super) {\n __extends(InvokeMethodExpr, _super);\n function InvokeMethodExpr(receiver, method, args, type) {\n if (type === void 0) { type = null; }\n _super.call(this, type);\n this.receiver = receiver;\n this.args = args;\n if (typeof method === 'string') {\n this.name = method;\n this.builtin = null;\n }\n else {\n this.name = null;\n this.builtin = method;\n }\n }\n InvokeMethodExpr.prototype.visitExpression = function (visitor, context) {\n return visitor.visitInvokeMethodExpr(this, context);\n };\n return InvokeMethodExpr;\n}(Expression));\nvar InvokeFunctionExpr = (function (_super) {\n __extends(InvokeFunctionExpr, _super);\n function InvokeFunctionExpr(fn, args, type) {\n if (type === void 0) { type = null; }\n _super.call(this, type);\n this.fn = fn;\n this.args = args;\n }\n InvokeFunctionExpr.prototype.visitExpression = function (visitor, context) {\n return visitor.visitInvokeFunctionExpr(this, context);\n };\n return InvokeFunctionExpr;\n}(Expression));\nvar InstantiateExpr = (function (_super) {\n __extends(InstantiateExpr, _super);\n function InstantiateExpr(classExpr, args, type) {\n _super.call(this, type);\n this.classExpr = classExpr;\n this.args = args;\n }\n InstantiateExpr.prototype.visitExpression = function (visitor, context) {\n return visitor.visitInstantiateExpr(this, context);\n };\n return InstantiateExpr;\n}(Expression));\nvar LiteralExpr = (function (_super) {\n __extends(LiteralExpr, _super);\n function LiteralExpr(value, type) {\n if (type === void 0) { type = null; }\n _super.call(this, type);\n this.value = value;\n }\n LiteralExpr.prototype.visitExpression = function (visitor, context) {\n return visitor.visitLiteralExpr(this, context);\n };\n return LiteralExpr;\n}(Expression));\nvar ExternalExpr = (function (_super) {\n __extends(ExternalExpr, _super);\n function ExternalExpr(value, type, typeParams) {\n if (type === void 0) { type = null; }\n if (typeParams === void 0) { typeParams = null; }\n _super.call(this, type);\n this.value = value;\n this.typeParams = typeParams;\n }\n ExternalExpr.prototype.visitExpression = function (visitor, context) {\n return visitor.visitExternalExpr(this, context);\n };\n return ExternalExpr;\n}(Expression));\nvar ConditionalExpr = (function (_super) {\n __extends(ConditionalExpr, _super);\n function ConditionalExpr(condition, trueCase, falseCase, type) {\n if (falseCase === void 0) { falseCase = null; }\n if (type === void 0) { type = null; }\n _super.call(this, type || trueCase.type);\n this.condition = condition;\n this.falseCase = falseCase;\n this.trueCase = trueCase;\n }\n ConditionalExpr.prototype.visitExpression = function (visitor, context) {\n return visitor.visitConditionalExpr(this, context);\n };\n return ConditionalExpr;\n}(Expression));\nvar NotExpr = (function (_super) {\n __extends(NotExpr, _super);\n function NotExpr(condition) {\n _super.call(this, BOOL_TYPE);\n this.condition = condition;\n }\n NotExpr.prototype.visitExpression = function (visitor, context) {\n return visitor.visitNotExpr(this, context);\n };\n return NotExpr;\n}(Expression));\nvar CastExpr = (function (_super) {\n __extends(CastExpr, _super);\n function CastExpr(value, type) {\n _super.call(this, type);\n this.value = value;\n }\n CastExpr.prototype.visitExpression = function (visitor, context) {\n return visitor.visitCastExpr(this, context);\n };\n return CastExpr;\n}(Expression));\nvar FnParam = (function () {\n function FnParam(name, type) {\n if (type === void 0) { type = null; }\n this.name = name;\n this.type = type;\n }\n return FnParam;\n}());\nvar FunctionExpr = (function (_super) {\n __extends(FunctionExpr, _super);\n function FunctionExpr(params, statements, type) {\n if (type === void 0) { type = null; }\n _super.call(this, type);\n this.params = params;\n this.statements = statements;\n }\n FunctionExpr.prototype.visitExpression = function (visitor, context) {\n return visitor.visitFunctionExpr(this, context);\n };\n FunctionExpr.prototype.toDeclStmt = function (name, modifiers) {\n if (modifiers === void 0) { modifiers = null; }\n return new DeclareFunctionStmt(name, this.params, this.statements, this.type, modifiers);\n };\n return FunctionExpr;\n}(Expression));\nvar BinaryOperatorExpr = (function (_super) {\n __extends(BinaryOperatorExpr, _super);\n function BinaryOperatorExpr(operator, lhs, rhs, type) {\n if (type === void 0) { type = null; }\n _super.call(this, type || lhs.type);\n this.operator = operator;\n this.rhs = rhs;\n this.lhs = lhs;\n }\n BinaryOperatorExpr.prototype.visitExpression = function (visitor, context) {\n return visitor.visitBinaryOperatorExpr(this, context);\n };\n return BinaryOperatorExpr;\n}(Expression));\nvar ReadPropExpr = (function (_super) {\n __extends(ReadPropExpr, _super);\n function ReadPropExpr(receiver, name, type) {\n if (type === void 0) { type = null; }\n _super.call(this, type);\n this.receiver = receiver;\n this.name = name;\n }\n ReadPropExpr.prototype.visitExpression = function (visitor, context) {\n return visitor.visitReadPropExpr(this, context);\n };\n ReadPropExpr.prototype.set = function (value) {\n return new WritePropExpr(this.receiver, this.name, value);\n };\n return ReadPropExpr;\n}(Expression));\nvar ReadKeyExpr = (function (_super) {\n __extends(ReadKeyExpr, _super);\n function ReadKeyExpr(receiver, index, type) {\n if (type === void 0) { type = null; }\n _super.call(this, type);\n this.receiver = receiver;\n this.index = index;\n }\n ReadKeyExpr.prototype.visitExpression = function (visitor, context) {\n return visitor.visitReadKeyExpr(this, context);\n };\n ReadKeyExpr.prototype.set = function (value) {\n return new WriteKeyExpr(this.receiver, this.index, value);\n };\n return ReadKeyExpr;\n}(Expression));\nvar LiteralArrayExpr = (function (_super) {\n __extends(LiteralArrayExpr, _super);\n function LiteralArrayExpr(entries, type) {\n if (type === void 0) { type = null; }\n _super.call(this, type);\n this.entries = entries;\n }\n LiteralArrayExpr.prototype.visitExpression = function (visitor, context) {\n return visitor.visitLiteralArrayExpr(this, context);\n };\n return LiteralArrayExpr;\n}(Expression));\nvar LiteralMapExpr = (function (_super) {\n __extends(LiteralMapExpr, _super);\n function LiteralMapExpr(entries, type) {\n if (type === void 0) { type = null; }\n _super.call(this, type);\n this.entries = entries;\n this.valueType = null;\n if (__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__facade_lang__[\"b\" /* isPresent */])(type)) {\n this.valueType = type.valueType;\n }\n }\n LiteralMapExpr.prototype.visitExpression = function (visitor, context) {\n return visitor.visitLiteralMapExpr(this, context);\n };\n return LiteralMapExpr;\n}(Expression));\nvar THIS_EXPR = new ReadVarExpr(BuiltinVar.This);\nvar SUPER_EXPR = new ReadVarExpr(BuiltinVar.Super);\nvar CATCH_ERROR_VAR = new ReadVarExpr(BuiltinVar.CatchError);\nvar CATCH_STACK_VAR = new ReadVarExpr(BuiltinVar.CatchStack);\nvar NULL_EXPR = new LiteralExpr(null, null);\nvar TYPED_NULL_EXPR = new LiteralExpr(null, NULL_TYPE);\n//// Statements\nvar StmtModifier;\n(function (StmtModifier) {\n StmtModifier[StmtModifier[\"Final\"] = 0] = \"Final\";\n StmtModifier[StmtModifier[\"Private\"] = 1] = \"Private\";\n})(StmtModifier || (StmtModifier = {}));\nvar Statement = (function () {\n function Statement(modifiers) {\n if (modifiers === void 0) { modifiers = null; }\n this.modifiers = modifiers;\n if (!modifiers) {\n this.modifiers = [];\n }\n }\n Statement.prototype.hasModifier = function (modifier) { return this.modifiers.indexOf(modifier) !== -1; };\n return Statement;\n}());\nvar DeclareVarStmt = (function (_super) {\n __extends(DeclareVarStmt, _super);\n function DeclareVarStmt(name, value, type, modifiers) {\n if (type === void 0) { type = null; }\n if (modifiers === void 0) { modifiers = null; }\n _super.call(this, modifiers);\n this.name = name;\n this.value = value;\n this.type = type || value.type;\n }\n DeclareVarStmt.prototype.visitStatement = function (visitor, context) {\n return visitor.visitDeclareVarStmt(this, context);\n };\n return DeclareVarStmt;\n}(Statement));\nvar DeclareFunctionStmt = (function (_super) {\n __extends(DeclareFunctionStmt, _super);\n function DeclareFunctionStmt(name, params, statements, type, modifiers) {\n if (type === void 0) { type = null; }\n if (modifiers === void 0) { modifiers = null; }\n _super.call(this, modifiers);\n this.name = name;\n this.params = params;\n this.statements = statements;\n this.type = type;\n }\n DeclareFunctionStmt.prototype.visitStatement = function (visitor, context) {\n return visitor.visitDeclareFunctionStmt(this, context);\n };\n return DeclareFunctionStmt;\n}(Statement));\nvar ExpressionStatement = (function (_super) {\n __extends(ExpressionStatement, _super);\n function ExpressionStatement(expr) {\n _super.call(this);\n this.expr = expr;\n }\n ExpressionStatement.prototype.visitStatement = function (visitor, context) {\n return visitor.visitExpressionStmt(this, context);\n };\n return ExpressionStatement;\n}(Statement));\nvar ReturnStatement = (function (_super) {\n __extends(ReturnStatement, _super);\n function ReturnStatement(value) {\n _super.call(this);\n this.value = value;\n }\n ReturnStatement.prototype.visitStatement = function (visitor, context) {\n return visitor.visitReturnStmt(this, context);\n };\n return ReturnStatement;\n}(Statement));\nvar AbstractClassPart = (function () {\n function AbstractClassPart(type, modifiers) {\n if (type === void 0) { type = null; }\n this.type = type;\n this.modifiers = modifiers;\n if (!modifiers) {\n this.modifiers = [];\n }\n }\n AbstractClassPart.prototype.hasModifier = function (modifier) { return this.modifiers.indexOf(modifier) !== -1; };\n return AbstractClassPart;\n}());\nvar ClassField = (function (_super) {\n __extends(ClassField, _super);\n function ClassField(name, type, modifiers) {\n if (type === void 0) { type = null; }\n if (modifiers === void 0) { modifiers = null; }\n _super.call(this, type, modifiers);\n this.name = name;\n }\n return ClassField;\n}(AbstractClassPart));\nvar ClassMethod = (function (_super) {\n __extends(ClassMethod, _super);\n function ClassMethod(name, params, body, type, modifiers) {\n if (type === void 0) { type = null; }\n if (modifiers === void 0) { modifiers = null; }\n _super.call(this, type, modifiers);\n this.name = name;\n this.params = params;\n this.body = body;\n }\n return ClassMethod;\n}(AbstractClassPart));\nvar ClassGetter = (function (_super) {\n __extends(ClassGetter, _super);\n function ClassGetter(name, body, type, modifiers) {\n if (type === void 0) { type = null; }\n if (modifiers === void 0) { modifiers = null; }\n _super.call(this, type, modifiers);\n this.name = name;\n this.body = body;\n }\n return ClassGetter;\n}(AbstractClassPart));\nvar ClassStmt = (function (_super) {\n __extends(ClassStmt, _super);\n function ClassStmt(name, parent, fields, getters, constructorMethod, methods, modifiers) {\n if (modifiers === void 0) { modifiers = null; }\n _super.call(this, modifiers);\n this.name = name;\n this.parent = parent;\n this.fields = fields;\n this.getters = getters;\n this.constructorMethod = constructorMethod;\n this.methods = methods;\n }\n ClassStmt.prototype.visitStatement = function (visitor, context) {\n return visitor.visitDeclareClassStmt(this, context);\n };\n return ClassStmt;\n}(Statement));\nvar IfStmt = (function (_super) {\n __extends(IfStmt, _super);\n function IfStmt(condition, trueCase, falseCase) {\n if (falseCase === void 0) { falseCase = []; }\n _super.call(this);\n this.condition = condition;\n this.trueCase = trueCase;\n this.falseCase = falseCase;\n }\n IfStmt.prototype.visitStatement = function (visitor, context) {\n return visitor.visitIfStmt(this, context);\n };\n return IfStmt;\n}(Statement));\nvar CommentStmt = (function (_super) {\n __extends(CommentStmt, _super);\n function CommentStmt(comment) {\n _super.call(this);\n this.comment = comment;\n }\n CommentStmt.prototype.visitStatement = function (visitor, context) {\n return visitor.visitCommentStmt(this, context);\n };\n return CommentStmt;\n}(Statement));\nvar TryCatchStmt = (function (_super) {\n __extends(TryCatchStmt, _super);\n function TryCatchStmt(bodyStmts, catchStmts) {\n _super.call(this);\n this.bodyStmts = bodyStmts;\n this.catchStmts = catchStmts;\n }\n TryCatchStmt.prototype.visitStatement = function (visitor, context) {\n return visitor.visitTryCatchStmt(this, context);\n };\n return TryCatchStmt;\n}(Statement));\nvar ThrowStmt = (function (_super) {\n __extends(ThrowStmt, _super);\n function ThrowStmt(error) {\n _super.call(this);\n this.error = error;\n }\n ThrowStmt.prototype.visitStatement = function (visitor, context) {\n return visitor.visitThrowStmt(this, context);\n };\n return ThrowStmt;\n}(Statement));\nvar ExpressionTransformer = (function () {\n function ExpressionTransformer() {\n }\n ExpressionTransformer.prototype.visitReadVarExpr = function (ast, context) { return ast; };\n ExpressionTransformer.prototype.visitWriteVarExpr = function (expr, context) {\n return new WriteVarExpr(expr.name, expr.value.visitExpression(this, context));\n };\n ExpressionTransformer.prototype.visitWriteKeyExpr = function (expr, context) {\n return new WriteKeyExpr(expr.receiver.visitExpression(this, context), expr.index.visitExpression(this, context), expr.value.visitExpression(this, context));\n };\n ExpressionTransformer.prototype.visitWritePropExpr = function (expr, context) {\n return new WritePropExpr(expr.receiver.visitExpression(this, context), expr.name, expr.value.visitExpression(this, context));\n };\n ExpressionTransformer.prototype.visitInvokeMethodExpr = function (ast, context) {\n var method = ast.builtin || ast.name;\n return new InvokeMethodExpr(ast.receiver.visitExpression(this, context), method, this.visitAllExpressions(ast.args, context), ast.type);\n };\n ExpressionTransformer.prototype.visitInvokeFunctionExpr = function (ast, context) {\n return new InvokeFunctionExpr(ast.fn.visitExpression(this, context), this.visitAllExpressions(ast.args, context), ast.type);\n };\n ExpressionTransformer.prototype.visitInstantiateExpr = function (ast, context) {\n return new InstantiateExpr(ast.classExpr.visitExpression(this, context), this.visitAllExpressions(ast.args, context), ast.type);\n };\n ExpressionTransformer.prototype.visitLiteralExpr = function (ast, context) { return ast; };\n ExpressionTransformer.prototype.visitExternalExpr = function (ast, context) { return ast; };\n ExpressionTransformer.prototype.visitConditionalExpr = function (ast, context) {\n return new ConditionalExpr(ast.condition.visitExpression(this, context), ast.trueCase.visitExpression(this, context), ast.falseCase.visitExpression(this, context));\n };\n ExpressionTransformer.prototype.visitNotExpr = function (ast, context) {\n return new NotExpr(ast.condition.visitExpression(this, context));\n };\n ExpressionTransformer.prototype.visitCastExpr = function (ast, context) {\n return new CastExpr(ast.value.visitExpression(this, context), context);\n };\n ExpressionTransformer.prototype.visitFunctionExpr = function (ast, context) {\n // Don't descend into nested functions\n return ast;\n };\n ExpressionTransformer.prototype.visitBinaryOperatorExpr = function (ast, context) {\n return new BinaryOperatorExpr(ast.operator, ast.lhs.visitExpression(this, context), ast.rhs.visitExpression(this, context), ast.type);\n };\n ExpressionTransformer.prototype.visitReadPropExpr = function (ast, context) {\n return new ReadPropExpr(ast.receiver.visitExpression(this, context), ast.name, ast.type);\n };\n ExpressionTransformer.prototype.visitReadKeyExpr = function (ast, context) {\n return new ReadKeyExpr(ast.receiver.visitExpression(this, context), ast.index.visitExpression(this, context), ast.type);\n };\n ExpressionTransformer.prototype.visitLiteralArrayExpr = function (ast, context) {\n return new LiteralArrayExpr(this.visitAllExpressions(ast.entries, context));\n };\n ExpressionTransformer.prototype.visitLiteralMapExpr = function (ast, context) {\n var _this = this;\n var entries = ast.entries.map(function (entry) { return [entry[0], entry[1].visitExpression(_this, context),]; });\n return new LiteralMapExpr(entries);\n };\n ExpressionTransformer.prototype.visitAllExpressions = function (exprs, context) {\n var _this = this;\n return exprs.map(function (expr) { return expr.visitExpression(_this, context); });\n };\n ExpressionTransformer.prototype.visitDeclareVarStmt = function (stmt, context) {\n return new DeclareVarStmt(stmt.name, stmt.value.visitExpression(this, context), stmt.type, stmt.modifiers);\n };\n ExpressionTransformer.prototype.visitDeclareFunctionStmt = function (stmt, context) {\n // Don't descend into nested functions\n return stmt;\n };\n ExpressionTransformer.prototype.visitExpressionStmt = function (stmt, context) {\n return new ExpressionStatement(stmt.expr.visitExpression(this, context));\n };\n ExpressionTransformer.prototype.visitReturnStmt = function (stmt, context) {\n return new ReturnStatement(stmt.value.visitExpression(this, context));\n };\n ExpressionTransformer.prototype.visitDeclareClassStmt = function (stmt, context) {\n // Don't descend into nested functions\n return stmt;\n };\n ExpressionTransformer.prototype.visitIfStmt = function (stmt, context) {\n return new IfStmt(stmt.condition.visitExpression(this, context), this.visitAllStatements(stmt.trueCase, context), this.visitAllStatements(stmt.falseCase, context));\n };\n ExpressionTransformer.prototype.visitTryCatchStmt = function (stmt, context) {\n return new TryCatchStmt(this.visitAllStatements(stmt.bodyStmts, context), this.visitAllStatements(stmt.catchStmts, context));\n };\n ExpressionTransformer.prototype.visitThrowStmt = function (stmt, context) {\n return new ThrowStmt(stmt.error.visitExpression(this, context));\n };\n ExpressionTransformer.prototype.visitCommentStmt = function (stmt, context) { return stmt; };\n ExpressionTransformer.prototype.visitAllStatements = function (stmts, context) {\n var _this = this;\n return stmts.map(function (stmt) { return stmt.visitStatement(_this, context); });\n };\n return ExpressionTransformer;\n}());\nvar RecursiveExpressionVisitor = (function () {\n function RecursiveExpressionVisitor() {\n }\n RecursiveExpressionVisitor.prototype.visitReadVarExpr = function (ast, context) { return ast; };\n RecursiveExpressionVisitor.prototype.visitWriteVarExpr = function (expr, context) {\n expr.value.visitExpression(this, context);\n return expr;\n };\n RecursiveExpressionVisitor.prototype.visitWriteKeyExpr = function (expr, context) {\n expr.receiver.visitExpression(this, context);\n expr.index.visitExpression(this, context);\n expr.value.visitExpression(this, context);\n return expr;\n };\n RecursiveExpressionVisitor.prototype.visitWritePropExpr = function (expr, context) {\n expr.receiver.visitExpression(this, context);\n expr.value.visitExpression(this, context);\n return expr;\n };\n RecursiveExpressionVisitor.prototype.visitInvokeMethodExpr = function (ast, context) {\n ast.receiver.visitExpression(this, context);\n this.visitAllExpressions(ast.args, context);\n return ast;\n };\n RecursiveExpressionVisitor.prototype.visitInvokeFunctionExpr = function (ast, context) {\n ast.fn.visitExpression(this, context);\n this.visitAllExpressions(ast.args, context);\n return ast;\n };\n RecursiveExpressionVisitor.prototype.visitInstantiateExpr = function (ast, context) {\n ast.classExpr.visitExpression(this, context);\n this.visitAllExpressions(ast.args, context);\n return ast;\n };\n RecursiveExpressionVisitor.prototype.visitLiteralExpr = function (ast, context) { return ast; };\n RecursiveExpressionVisitor.prototype.visitExternalExpr = function (ast, context) { return ast; };\n RecursiveExpressionVisitor.prototype.visitConditionalExpr = function (ast, context) {\n ast.condition.visitExpression(this, context);\n ast.trueCase.visitExpression(this, context);\n ast.falseCase.visitExpression(this, context);\n return ast;\n };\n RecursiveExpressionVisitor.prototype.visitNotExpr = function (ast, context) {\n ast.condition.visitExpression(this, context);\n return ast;\n };\n RecursiveExpressionVisitor.prototype.visitCastExpr = function (ast, context) {\n ast.value.visitExpression(this, context);\n return ast;\n };\n RecursiveExpressionVisitor.prototype.visitFunctionExpr = function (ast, context) { return ast; };\n RecursiveExpressionVisitor.prototype.visitBinaryOperatorExpr = function (ast, context) {\n ast.lhs.visitExpression(this, context);\n ast.rhs.visitExpression(this, context);\n return ast;\n };\n RecursiveExpressionVisitor.prototype.visitReadPropExpr = function (ast, context) {\n ast.receiver.visitExpression(this, context);\n return ast;\n };\n RecursiveExpressionVisitor.prototype.visitReadKeyExpr = function (ast, context) {\n ast.receiver.visitExpression(this, context);\n ast.index.visitExpression(this, context);\n return ast;\n };\n RecursiveExpressionVisitor.prototype.visitLiteralArrayExpr = function (ast, context) {\n this.visitAllExpressions(ast.entries, context);\n return ast;\n };\n RecursiveExpressionVisitor.prototype.visitLiteralMapExpr = function (ast, context) {\n var _this = this;\n ast.entries.forEach(function (entry) { return entry[1].visitExpression(_this, context); });\n return ast;\n };\n RecursiveExpressionVisitor.prototype.visitAllExpressions = function (exprs, context) {\n var _this = this;\n exprs.forEach(function (expr) { return expr.visitExpression(_this, context); });\n };\n RecursiveExpressionVisitor.prototype.visitDeclareVarStmt = function (stmt, context) {\n stmt.value.visitExpression(this, context);\n return stmt;\n };\n RecursiveExpressionVisitor.prototype.visitDeclareFunctionStmt = function (stmt, context) {\n // Don't descend into nested functions\n return stmt;\n };\n RecursiveExpressionVisitor.prototype.visitExpressionStmt = function (stmt, context) {\n stmt.expr.visitExpression(this, context);\n return stmt;\n };\n RecursiveExpressionVisitor.prototype.visitReturnStmt = function (stmt, context) {\n stmt.value.visitExpression(this, context);\n return stmt;\n };\n RecursiveExpressionVisitor.prototype.visitDeclareClassStmt = function (stmt, context) {\n // Don't descend into nested functions\n return stmt;\n };\n RecursiveExpressionVisitor.prototype.visitIfStmt = function (stmt, context) {\n stmt.condition.visitExpression(this, context);\n this.visitAllStatements(stmt.trueCase, context);\n this.visitAllStatements(stmt.falseCase, context);\n return stmt;\n };\n RecursiveExpressionVisitor.prototype.visitTryCatchStmt = function (stmt, context) {\n this.visitAllStatements(stmt.bodyStmts, context);\n this.visitAllStatements(stmt.catchStmts, context);\n return stmt;\n };\n RecursiveExpressionVisitor.prototype.visitThrowStmt = function (stmt, context) {\n stmt.error.visitExpression(this, context);\n return stmt;\n };\n RecursiveExpressionVisitor.prototype.visitCommentStmt = function (stmt, context) { return stmt; };\n RecursiveExpressionVisitor.prototype.visitAllStatements = function (stmts, context) {\n var _this = this;\n stmts.forEach(function (stmt) { return stmt.visitStatement(_this, context); });\n };\n return RecursiveExpressionVisitor;\n}());\nfunction replaceVarInExpression(varName, newValue, expression) {\n var transformer = new _ReplaceVariableTransformer(varName, newValue);\n return expression.visitExpression(transformer, null);\n}\nvar _ReplaceVariableTransformer = (function (_super) {\n __extends(_ReplaceVariableTransformer, _super);\n function _ReplaceVariableTransformer(_varName, _newValue) {\n _super.call(this);\n this._varName = _varName;\n this._newValue = _newValue;\n }\n _ReplaceVariableTransformer.prototype.visitReadVarExpr = function (ast, context) {\n return ast.name == this._varName ? this._newValue : ast;\n };\n return _ReplaceVariableTransformer;\n}(ExpressionTransformer));\nfunction findReadVarNames(stmts) {\n var finder = new _VariableFinder();\n finder.visitAllStatements(stmts, null);\n return finder.varNames;\n}\nvar _VariableFinder = (function (_super) {\n __extends(_VariableFinder, _super);\n function _VariableFinder() {\n _super.apply(this, arguments);\n this.varNames = new Set();\n }\n _VariableFinder.prototype.visitReadVarExpr = function (ast, context) {\n this.varNames.add(ast.name);\n return null;\n };\n return _VariableFinder;\n}(RecursiveExpressionVisitor));\nfunction variable(name, type) {\n if (type === void 0) { type = null; }\n return new ReadVarExpr(name, type);\n}\nfunction importExpr(id, typeParams) {\n if (typeParams === void 0) { typeParams = null; }\n return new ExternalExpr(id, null, typeParams);\n}\nfunction importType(id, typeParams, typeModifiers) {\n if (typeParams === void 0) { typeParams = null; }\n if (typeModifiers === void 0) { typeModifiers = null; }\n return __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__facade_lang__[\"b\" /* isPresent */])(id) ? new ExternalType(id, typeParams, typeModifiers) : null;\n}\nfunction literalArr(values, type) {\n if (type === void 0) { type = null; }\n return new LiteralArrayExpr(values, type);\n}\nfunction literalMap(values, type) {\n if (type === void 0) { type = null; }\n return new LiteralMapExpr(values, type);\n}\nfunction not(expr) {\n return new NotExpr(expr);\n}\nfunction fn(params, body, type) {\n if (type === void 0) { type = null; }\n return new FunctionExpr(params, body, type);\n}\nfunction literal(value, type) {\n if (type === void 0) { type = null; }\n return new LiteralExpr(value, type);\n}\n//# sourceMappingURL=output_ast.js.map\n\n/***/ },\n/* 10 */\n/***/ function(module, exports) {\n\nmodule.exports = function(exec){\n try {\n return !!exec();\n } catch(e){\n return true;\n }\n};\n\n/***/ },\n/* 11 */\n/***/ function(module, exports) {\n\nmodule.exports = function(it){\n return typeof it === 'object' ? it !== null : typeof it === 'function';\n};\n\n/***/ },\n/* 12 */\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\"use strict\";\nvar __extends = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\nvar Observable_1 = __webpack_require__(0);\nvar Subscriber_1 = __webpack_require__(3);\nvar Subscription_1 = __webpack_require__(19);\nvar ObjectUnsubscribedError_1 = __webpack_require__(236);\nvar SubjectSubscription_1 = __webpack_require__(649);\nvar rxSubscriber_1 = __webpack_require__(151);\n/**\n * @class SubjectSubscriber\n */\nvar SubjectSubscriber = (function (_super) {\n __extends(SubjectSubscriber, _super);\n function SubjectSubscriber(destination) {\n _super.call(this, destination);\n this.destination = destination;\n }\n return SubjectSubscriber;\n}(Subscriber_1.Subscriber));\nexports.SubjectSubscriber = SubjectSubscriber;\n/**\n * @class Subject\n */\nvar Subject = (function (_super) {\n __extends(Subject, _super);\n function Subject() {\n _super.call(this);\n this.observers = [];\n this.closed = false;\n this.isStopped = false;\n this.hasError = false;\n this.thrownError = null;\n }\n Subject.prototype[rxSubscriber_1.$$rxSubscriber] = function () {\n return new SubjectSubscriber(this);\n };\n Subject.prototype.lift = function (operator) {\n var subject = new AnonymousSubject(this, this);\n subject.operator = operator;\n return subject;\n };\n Subject.prototype.next = function (value) {\n if (this.closed) {\n throw new ObjectUnsubscribedError_1.ObjectUnsubscribedError();\n }\n if (!this.isStopped) {\n var observers = this.observers;\n var len = observers.length;\n var copy = observers.slice();\n for (var i = 0; i < len; i++) {\n copy[i].next(value);\n }\n }\n };\n Subject.prototype.error = function (err) {\n if (this.closed) {\n throw new ObjectUnsubscribedError_1.ObjectUnsubscribedError();\n }\n this.hasError = true;\n this.thrownError = err;\n this.isStopped = true;\n var observers = this.observers;\n var len = observers.length;\n var copy = observers.slice();\n for (var i = 0; i < len; i++) {\n copy[i].error(err);\n }\n this.observers.length = 0;\n };\n Subject.prototype.complete = function () {\n if (this.closed) {\n throw new ObjectUnsubscribedError_1.ObjectUnsubscribedError();\n }\n this.isStopped = true;\n var observers = this.observers;\n var len = observers.length;\n var copy = observers.slice();\n for (var i = 0; i < len; i++) {\n copy[i].complete();\n }\n this.observers.length = 0;\n };\n Subject.prototype.unsubscribe = function () {\n this.isStopped = true;\n this.closed = true;\n this.observers = null;\n };\n Subject.prototype._subscribe = function (subscriber) {\n if (this.closed) {\n throw new ObjectUnsubscribedError_1.ObjectUnsubscribedError();\n }\n else if (this.hasError) {\n subscriber.error(this.thrownError);\n return Subscription_1.Subscription.EMPTY;\n }\n else if (this.isStopped) {\n subscriber.complete();\n return Subscription_1.Subscription.EMPTY;\n }\n else {\n this.observers.push(subscriber);\n return new SubjectSubscription_1.SubjectSubscription(this, subscriber);\n }\n };\n Subject.prototype.asObservable = function () {\n var observable = new Observable_1.Observable();\n observable.source = this;\n return observable;\n };\n Subject.create = function (destination, source) {\n return new AnonymousSubject(destination, source);\n };\n return Subject;\n}(Observable_1.Observable));\nexports.Subject = Subject;\n/**\n * @class AnonymousSubject\n */\nvar AnonymousSubject = (function (_super) {\n __extends(AnonymousSubject, _super);\n function AnonymousSubject(destination, source) {\n _super.call(this);\n this.destination = destination;\n this.source = source;\n }\n AnonymousSubject.prototype.next = function (value) {\n var destination = this.destination;\n if (destination && destination.next) {\n destination.next(value);\n }\n };\n AnonymousSubject.prototype.error = function (err) {\n var destination = this.destination;\n if (destination && destination.error) {\n this.destination.error(err);\n }\n };\n AnonymousSubject.prototype.complete = function () {\n var destination = this.destination;\n if (destination && destination.complete) {\n this.destination.complete();\n }\n };\n AnonymousSubject.prototype._subscribe = function (subscriber) {\n var source = this.source;\n if (source) {\n return this.source.subscribe(subscriber);\n }\n else {\n return Subscription_1.Subscription.EMPTY;\n }\n };\n return AnonymousSubject;\n}(Subject));\nexports.AnonymousSubject = AnonymousSubject;\n//# sourceMappingURL=Subject.js.map\n\n/***/ },\n/* 13 */\n/***/ function(module, exports, __webpack_require__) {\n\nvar store = __webpack_require__(143)('wks')\n , uid = __webpack_require__(102)\n , Symbol = __webpack_require__(16).Symbol\n , USE_SYMBOL = typeof Symbol == 'function';\n\nvar $exports = module.exports = function(name){\n return store[name] || (store[name] =\n USE_SYMBOL && Symbol[name] || (USE_SYMBOL ? Symbol : uid)('Symbol.' + name));\n};\n\n$exports.store = store;\n\n/***/ },\n/* 14 */\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(1);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__compile_metadata__ = __webpack_require__(25);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__private_import_core__ = __webpack_require__(17);\n/* harmony export (binding) */ __webpack_require__.d(exports, \"b\", function() { return Identifiers; });\n/* unused harmony export assetUrl */\n/* harmony export (immutable) */ exports[\"d\"] = resolveIdentifier;\n/* harmony export (immutable) */ exports[\"c\"] = identifierToken;\n/* harmony export (immutable) */ exports[\"a\"] = resolveIdentifierToken;\n/* harmony export (immutable) */ exports[\"e\"] = resolveEnumIdentifier;\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\n\n\nvar APP_VIEW_MODULE_URL = assetUrl('core', 'linker/view');\nvar VIEW_UTILS_MODULE_URL = assetUrl('core', 'linker/view_utils');\nvar CD_MODULE_URL = assetUrl('core', 'change_detection/change_detection');\nvar ANIMATION_STYLE_UTIL_ASSET_URL = assetUrl('core', 'animation/animation_style_util');\nvar Identifiers = (function () {\n function Identifiers() {\n }\n Identifiers.ANALYZE_FOR_ENTRY_COMPONENTS = {\n name: 'ANALYZE_FOR_ENTRY_COMPONENTS',\n moduleUrl: assetUrl('core', 'metadata/di'),\n runtime: __WEBPACK_IMPORTED_MODULE_0__angular_core__[\"f\" /* ANALYZE_FOR_ENTRY_COMPONENTS */]\n };\n Identifiers.ViewUtils = {\n name: 'ViewUtils',\n moduleUrl: assetUrl('core', 'linker/view_utils'),\n runtime: __WEBPACK_IMPORTED_MODULE_2__private_import_core__[\"a\" /* view_utils */].ViewUtils\n };\n Identifiers.AppView = { name: 'AppView', moduleUrl: APP_VIEW_MODULE_URL, runtime: __WEBPACK_IMPORTED_MODULE_2__private_import_core__[\"b\" /* AppView */] };\n Identifiers.DebugAppView = {\n name: 'DebugAppView',\n moduleUrl: APP_VIEW_MODULE_URL,\n runtime: __WEBPACK_IMPORTED_MODULE_2__private_import_core__[\"c\" /* DebugAppView */]\n };\n Identifiers.ViewContainer = {\n name: 'ViewContainer',\n moduleUrl: assetUrl('core', 'linker/view_container'),\n runtime: __WEBPACK_IMPORTED_MODULE_2__private_import_core__[\"d\" /* ViewContainer */]\n };\n Identifiers.ElementRef = {\n name: 'ElementRef',\n moduleUrl: assetUrl('core', 'linker/element_ref'),\n runtime: __WEBPACK_IMPORTED_MODULE_0__angular_core__[\"g\" /* ElementRef */]\n };\n Identifiers.ViewContainerRef = {\n name: 'ViewContainerRef',\n moduleUrl: assetUrl('core', 'linker/view_container_ref'),\n runtime: __WEBPACK_IMPORTED_MODULE_0__angular_core__[\"h\" /* ViewContainerRef */]\n };\n Identifiers.ChangeDetectorRef = {\n name: 'ChangeDetectorRef',\n moduleUrl: assetUrl('core', 'change_detection/change_detector_ref'),\n runtime: __WEBPACK_IMPORTED_MODULE_0__angular_core__[\"i\" /* ChangeDetectorRef */]\n };\n Identifiers.RenderComponentType = {\n name: 'RenderComponentType',\n moduleUrl: assetUrl('core', 'render/api'),\n runtime: __WEBPACK_IMPORTED_MODULE_0__angular_core__[\"j\" /* RenderComponentType */]\n };\n Identifiers.QueryList = {\n name: 'QueryList',\n moduleUrl: assetUrl('core', 'linker/query_list'),\n runtime: __WEBPACK_IMPORTED_MODULE_0__angular_core__[\"k\" /* QueryList */]\n };\n Identifiers.TemplateRef = {\n name: 'TemplateRef',\n moduleUrl: assetUrl('core', 'linker/template_ref'),\n runtime: __WEBPACK_IMPORTED_MODULE_0__angular_core__[\"l\" /* TemplateRef */]\n };\n Identifiers.TemplateRef_ = {\n name: 'TemplateRef_',\n moduleUrl: assetUrl('core', 'linker/template_ref'),\n runtime: __WEBPACK_IMPORTED_MODULE_2__private_import_core__[\"e\" /* TemplateRef_ */]\n };\n Identifiers.CodegenComponentFactoryResolver = {\n name: 'CodegenComponentFactoryResolver',\n moduleUrl: assetUrl('core', 'linker/component_factory_resolver'),\n runtime: __WEBPACK_IMPORTED_MODULE_2__private_import_core__[\"f\" /* CodegenComponentFactoryResolver */]\n };\n Identifiers.ComponentFactoryResolver = {\n name: 'ComponentFactoryResolver',\n moduleUrl: assetUrl('core', 'linker/component_factory_resolver'),\n runtime: __WEBPACK_IMPORTED_MODULE_0__angular_core__[\"m\" /* ComponentFactoryResolver */]\n };\n Identifiers.ComponentFactory = {\n name: 'ComponentFactory',\n runtime: __WEBPACK_IMPORTED_MODULE_0__angular_core__[\"n\" /* ComponentFactory */],\n moduleUrl: assetUrl('core', 'linker/component_factory')\n };\n Identifiers.ComponentRef_ = {\n name: 'ComponentRef_',\n runtime: __WEBPACK_IMPORTED_MODULE_2__private_import_core__[\"g\" /* ComponentRef_ */],\n moduleUrl: assetUrl('core', 'linker/component_factory')\n };\n Identifiers.ComponentRef = {\n name: 'ComponentRef',\n runtime: __WEBPACK_IMPORTED_MODULE_0__angular_core__[\"o\" /* ComponentRef */],\n moduleUrl: assetUrl('core', 'linker/component_factory')\n };\n Identifiers.NgModuleFactory = {\n name: 'NgModuleFactory',\n runtime: __WEBPACK_IMPORTED_MODULE_0__angular_core__[\"p\" /* NgModuleFactory */],\n moduleUrl: assetUrl('core', 'linker/ng_module_factory')\n };\n Identifiers.NgModuleInjector = {\n name: 'NgModuleInjector',\n runtime: __WEBPACK_IMPORTED_MODULE_2__private_import_core__[\"h\" /* NgModuleInjector */],\n moduleUrl: assetUrl('core', 'linker/ng_module_factory')\n };\n Identifiers.RegisterModuleFactoryFn = {\n name: 'registerModuleFactory',\n runtime: __WEBPACK_IMPORTED_MODULE_2__private_import_core__[\"i\" /* registerModuleFactory */],\n moduleUrl: assetUrl('core', 'linker/ng_module_factory_loader')\n };\n Identifiers.ValueUnwrapper = { name: 'ValueUnwrapper', moduleUrl: CD_MODULE_URL, runtime: __WEBPACK_IMPORTED_MODULE_2__private_import_core__[\"j\" /* ValueUnwrapper */] };\n Identifiers.Injector = {\n name: 'Injector',\n moduleUrl: assetUrl('core', 'di/injector'),\n runtime: __WEBPACK_IMPORTED_MODULE_0__angular_core__[\"q\" /* Injector */]\n };\n Identifiers.ViewEncapsulation = {\n name: 'ViewEncapsulation',\n moduleUrl: assetUrl('core', 'metadata/view'),\n runtime: __WEBPACK_IMPORTED_MODULE_0__angular_core__[\"c\" /* ViewEncapsulation */]\n };\n Identifiers.ViewType = {\n name: 'ViewType',\n moduleUrl: assetUrl('core', 'linker/view_type'),\n runtime: __WEBPACK_IMPORTED_MODULE_2__private_import_core__[\"k\" /* ViewType */]\n };\n Identifiers.ChangeDetectionStrategy = {\n name: 'ChangeDetectionStrategy',\n moduleUrl: CD_MODULE_URL,\n runtime: __WEBPACK_IMPORTED_MODULE_0__angular_core__[\"d\" /* ChangeDetectionStrategy */]\n };\n Identifiers.StaticNodeDebugInfo = {\n name: 'StaticNodeDebugInfo',\n moduleUrl: assetUrl('core', 'linker/debug_context'),\n runtime: __WEBPACK_IMPORTED_MODULE_2__private_import_core__[\"l\" /* StaticNodeDebugInfo */]\n };\n Identifiers.DebugContext = {\n name: 'DebugContext',\n moduleUrl: assetUrl('core', 'linker/debug_context'),\n runtime: __WEBPACK_IMPORTED_MODULE_2__private_import_core__[\"m\" /* DebugContext */]\n };\n Identifiers.Renderer = {\n name: 'Renderer',\n moduleUrl: assetUrl('core', 'render/api'),\n runtime: __WEBPACK_IMPORTED_MODULE_0__angular_core__[\"r\" /* Renderer */]\n };\n Identifiers.SimpleChange = { name: 'SimpleChange', moduleUrl: CD_MODULE_URL, runtime: __WEBPACK_IMPORTED_MODULE_0__angular_core__[\"s\" /* SimpleChange */] };\n Identifiers.UNINITIALIZED = { name: 'UNINITIALIZED', moduleUrl: CD_MODULE_URL, runtime: __WEBPACK_IMPORTED_MODULE_2__private_import_core__[\"n\" /* UNINITIALIZED */] };\n Identifiers.ChangeDetectorStatus = {\n name: 'ChangeDetectorStatus',\n moduleUrl: CD_MODULE_URL,\n runtime: __WEBPACK_IMPORTED_MODULE_2__private_import_core__[\"o\" /* ChangeDetectorStatus */]\n };\n Identifiers.checkBinding = {\n name: 'checkBinding',\n moduleUrl: VIEW_UTILS_MODULE_URL,\n runtime: __WEBPACK_IMPORTED_MODULE_2__private_import_core__[\"a\" /* view_utils */].checkBinding\n };\n Identifiers.devModeEqual = { name: 'devModeEqual', moduleUrl: CD_MODULE_URL, runtime: __WEBPACK_IMPORTED_MODULE_2__private_import_core__[\"p\" /* devModeEqual */] };\n Identifiers.inlineInterpolate = {\n name: 'inlineInterpolate',\n moduleUrl: VIEW_UTILS_MODULE_URL,\n runtime: __WEBPACK_IMPORTED_MODULE_2__private_import_core__[\"a\" /* view_utils */].inlineInterpolate\n };\n Identifiers.interpolate = {\n name: 'interpolate',\n moduleUrl: VIEW_UTILS_MODULE_URL,\n runtime: __WEBPACK_IMPORTED_MODULE_2__private_import_core__[\"a\" /* view_utils */].interpolate\n };\n Identifiers.castByValue = {\n name: 'castByValue',\n moduleUrl: VIEW_UTILS_MODULE_URL,\n runtime: __WEBPACK_IMPORTED_MODULE_2__private_import_core__[\"a\" /* view_utils */].castByValue\n };\n Identifiers.EMPTY_ARRAY = {\n name: 'EMPTY_ARRAY',\n moduleUrl: VIEW_UTILS_MODULE_URL,\n runtime: __WEBPACK_IMPORTED_MODULE_2__private_import_core__[\"a\" /* view_utils */].EMPTY_ARRAY\n };\n Identifiers.EMPTY_MAP = {\n name: 'EMPTY_MAP',\n moduleUrl: VIEW_UTILS_MODULE_URL,\n runtime: __WEBPACK_IMPORTED_MODULE_2__private_import_core__[\"a\" /* view_utils */].EMPTY_MAP\n };\n Identifiers.createRenderElement = {\n name: 'createRenderElement',\n moduleUrl: VIEW_UTILS_MODULE_URL,\n runtime: __WEBPACK_IMPORTED_MODULE_2__private_import_core__[\"a\" /* view_utils */].createRenderElement\n };\n Identifiers.selectOrCreateRenderHostElement = {\n name: 'selectOrCreateRenderHostElement',\n moduleUrl: VIEW_UTILS_MODULE_URL,\n runtime: __WEBPACK_IMPORTED_MODULE_2__private_import_core__[\"a\" /* view_utils */].selectOrCreateRenderHostElement\n };\n Identifiers.pureProxies = [\n null,\n { name: 'pureProxy1', moduleUrl: VIEW_UTILS_MODULE_URL, runtime: __WEBPACK_IMPORTED_MODULE_2__private_import_core__[\"a\" /* view_utils */].pureProxy1 },\n { name: 'pureProxy2', moduleUrl: VIEW_UTILS_MODULE_URL, runtime: __WEBPACK_IMPORTED_MODULE_2__private_import_core__[\"a\" /* view_utils */].pureProxy2 },\n { name: 'pureProxy3', moduleUrl: VIEW_UTILS_MODULE_URL, runtime: __WEBPACK_IMPORTED_MODULE_2__private_import_core__[\"a\" /* view_utils */].pureProxy3 },\n { name: 'pureProxy4', moduleUrl: VIEW_UTILS_MODULE_URL, runtime: __WEBPACK_IMPORTED_MODULE_2__private_import_core__[\"a\" /* view_utils */].pureProxy4 },\n { name: 'pureProxy5', moduleUrl: VIEW_UTILS_MODULE_URL, runtime: __WEBPACK_IMPORTED_MODULE_2__private_import_core__[\"a\" /* view_utils */].pureProxy5 },\n { name: 'pureProxy6', moduleUrl: VIEW_UTILS_MODULE_URL, runtime: __WEBPACK_IMPORTED_MODULE_2__private_import_core__[\"a\" /* view_utils */].pureProxy6 },\n { name: 'pureProxy7', moduleUrl: VIEW_UTILS_MODULE_URL, runtime: __WEBPACK_IMPORTED_MODULE_2__private_import_core__[\"a\" /* view_utils */].pureProxy7 },\n { name: 'pureProxy8', moduleUrl: VIEW_UTILS_MODULE_URL, runtime: __WEBPACK_IMPORTED_MODULE_2__private_import_core__[\"a\" /* view_utils */].pureProxy8 },\n { name: 'pureProxy9', moduleUrl: VIEW_UTILS_MODULE_URL, runtime: __WEBPACK_IMPORTED_MODULE_2__private_import_core__[\"a\" /* view_utils */].pureProxy9 },\n { name: 'pureProxy10', moduleUrl: VIEW_UTILS_MODULE_URL, runtime: __WEBPACK_IMPORTED_MODULE_2__private_import_core__[\"a\" /* view_utils */].pureProxy10 },\n ];\n Identifiers.SecurityContext = {\n name: 'SecurityContext',\n moduleUrl: assetUrl('core', 'security'),\n runtime: __WEBPACK_IMPORTED_MODULE_0__angular_core__[\"t\" /* SecurityContext */],\n };\n Identifiers.AnimationKeyframe = {\n name: 'AnimationKeyframe',\n moduleUrl: assetUrl('core', 'animation/animation_keyframe'),\n runtime: __WEBPACK_IMPORTED_MODULE_2__private_import_core__[\"q\" /* AnimationKeyframe */]\n };\n Identifiers.AnimationStyles = {\n name: 'AnimationStyles',\n moduleUrl: assetUrl('core', 'animation/animation_styles'),\n runtime: __WEBPACK_IMPORTED_MODULE_2__private_import_core__[\"r\" /* AnimationStyles */]\n };\n Identifiers.NoOpAnimationPlayer = {\n name: 'NoOpAnimationPlayer',\n moduleUrl: assetUrl('core', 'animation/animation_player'),\n runtime: __WEBPACK_IMPORTED_MODULE_2__private_import_core__[\"s\" /* NoOpAnimationPlayer */]\n };\n Identifiers.AnimationGroupPlayer = {\n name: 'AnimationGroupPlayer',\n moduleUrl: assetUrl('core', 'animation/animation_group_player'),\n runtime: __WEBPACK_IMPORTED_MODULE_2__private_import_core__[\"t\" /* AnimationGroupPlayer */]\n };\n Identifiers.AnimationSequencePlayer = {\n name: 'AnimationSequencePlayer',\n moduleUrl: assetUrl('core', 'animation/animation_sequence_player'),\n runtime: __WEBPACK_IMPORTED_MODULE_2__private_import_core__[\"u\" /* AnimationSequencePlayer */]\n };\n Identifiers.prepareFinalAnimationStyles = {\n name: 'prepareFinalAnimationStyles',\n moduleUrl: ANIMATION_STYLE_UTIL_ASSET_URL,\n runtime: __WEBPACK_IMPORTED_MODULE_2__private_import_core__[\"v\" /* prepareFinalAnimationStyles */]\n };\n Identifiers.balanceAnimationKeyframes = {\n name: 'balanceAnimationKeyframes',\n moduleUrl: ANIMATION_STYLE_UTIL_ASSET_URL,\n runtime: __WEBPACK_IMPORTED_MODULE_2__private_import_core__[\"w\" /* balanceAnimationKeyframes */]\n };\n Identifiers.clearStyles = {\n name: 'clearStyles',\n moduleUrl: ANIMATION_STYLE_UTIL_ASSET_URL,\n runtime: __WEBPACK_IMPORTED_MODULE_2__private_import_core__[\"x\" /* clearStyles */]\n };\n Identifiers.renderStyles = {\n name: 'renderStyles',\n moduleUrl: ANIMATION_STYLE_UTIL_ASSET_URL,\n runtime: __WEBPACK_IMPORTED_MODULE_2__private_import_core__[\"y\" /* renderStyles */]\n };\n Identifiers.collectAndResolveStyles = {\n name: 'collectAndResolveStyles',\n moduleUrl: ANIMATION_STYLE_UTIL_ASSET_URL,\n runtime: __WEBPACK_IMPORTED_MODULE_2__private_import_core__[\"z\" /* collectAndResolveStyles */]\n };\n Identifiers.LOCALE_ID = {\n name: 'LOCALE_ID',\n moduleUrl: assetUrl('core', 'i18n/tokens'),\n runtime: __WEBPACK_IMPORTED_MODULE_0__angular_core__[\"u\" /* LOCALE_ID */]\n };\n Identifiers.TRANSLATIONS_FORMAT = {\n name: 'TRANSLATIONS_FORMAT',\n moduleUrl: assetUrl('core', 'i18n/tokens'),\n runtime: __WEBPACK_IMPORTED_MODULE_0__angular_core__[\"v\" /* TRANSLATIONS_FORMAT */]\n };\n Identifiers.setBindingDebugInfo = {\n name: 'setBindingDebugInfo',\n moduleUrl: VIEW_UTILS_MODULE_URL,\n runtime: __WEBPACK_IMPORTED_MODULE_2__private_import_core__[\"a\" /* view_utils */].setBindingDebugInfo\n };\n Identifiers.setBindingDebugInfoForChanges = {\n name: 'setBindingDebugInfoForChanges',\n moduleUrl: VIEW_UTILS_MODULE_URL,\n runtime: __WEBPACK_IMPORTED_MODULE_2__private_import_core__[\"a\" /* view_utils */].setBindingDebugInfoForChanges\n };\n Identifiers.AnimationTransition = {\n name: 'AnimationTransition',\n moduleUrl: assetUrl('core', 'animation/animation_transition'),\n runtime: __WEBPACK_IMPORTED_MODULE_2__private_import_core__[\"A\" /* AnimationTransition */]\n };\n // This is just the interface!\n Identifiers.InlineArray = { name: 'InlineArray', moduleUrl: VIEW_UTILS_MODULE_URL, runtime: null };\n Identifiers.inlineArrays = [\n { name: 'InlineArray2', moduleUrl: VIEW_UTILS_MODULE_URL, runtime: __WEBPACK_IMPORTED_MODULE_2__private_import_core__[\"a\" /* view_utils */].InlineArray2 },\n { name: 'InlineArray2', moduleUrl: VIEW_UTILS_MODULE_URL, runtime: __WEBPACK_IMPORTED_MODULE_2__private_import_core__[\"a\" /* view_utils */].InlineArray2 },\n { name: 'InlineArray4', moduleUrl: VIEW_UTILS_MODULE_URL, runtime: __WEBPACK_IMPORTED_MODULE_2__private_import_core__[\"a\" /* view_utils */].InlineArray4 },\n { name: 'InlineArray8', moduleUrl: VIEW_UTILS_MODULE_URL, runtime: __WEBPACK_IMPORTED_MODULE_2__private_import_core__[\"a\" /* view_utils */].InlineArray8 },\n { name: 'InlineArray16', moduleUrl: VIEW_UTILS_MODULE_URL, runtime: __WEBPACK_IMPORTED_MODULE_2__private_import_core__[\"a\" /* view_utils */].InlineArray16 },\n ];\n Identifiers.EMPTY_INLINE_ARRAY = {\n name: 'EMPTY_INLINE_ARRAY',\n moduleUrl: VIEW_UTILS_MODULE_URL,\n runtime: __WEBPACK_IMPORTED_MODULE_2__private_import_core__[\"a\" /* view_utils */].EMPTY_INLINE_ARRAY\n };\n Identifiers.InlineArrayDynamic = {\n name: 'InlineArrayDynamic',\n moduleUrl: VIEW_UTILS_MODULE_URL,\n runtime: __WEBPACK_IMPORTED_MODULE_2__private_import_core__[\"a\" /* view_utils */].InlineArrayDynamic\n };\n Identifiers.subscribeToRenderElement = {\n name: 'subscribeToRenderElement',\n moduleUrl: VIEW_UTILS_MODULE_URL,\n runtime: __WEBPACK_IMPORTED_MODULE_2__private_import_core__[\"a\" /* view_utils */].subscribeToRenderElement\n };\n Identifiers.createRenderComponentType = {\n name: 'createRenderComponentType',\n moduleUrl: VIEW_UTILS_MODULE_URL,\n runtime: __WEBPACK_IMPORTED_MODULE_2__private_import_core__[\"a\" /* view_utils */].createRenderComponentType\n };\n Identifiers.noop = { name: 'noop', moduleUrl: VIEW_UTILS_MODULE_URL, runtime: __WEBPACK_IMPORTED_MODULE_2__private_import_core__[\"a\" /* view_utils */].noop };\n return Identifiers;\n}());\nfunction assetUrl(pkg, path, type) {\n if (path === void 0) { path = null; }\n if (type === void 0) { type = 'src'; }\n if (path == null) {\n return \"asset:@angular/lib/\" + pkg + \"/index\";\n }\n else {\n return \"asset:@angular/lib/\" + pkg + \"/src/\" + path;\n }\n}\nfunction resolveIdentifier(identifier) {\n return new __WEBPACK_IMPORTED_MODULE_1__compile_metadata__[\"a\" /* CompileIdentifierMetadata */]({\n name: identifier.name,\n moduleUrl: identifier.moduleUrl,\n reference: __WEBPACK_IMPORTED_MODULE_2__private_import_core__[\"B\" /* reflector */].resolveIdentifier(identifier.name, identifier.moduleUrl, identifier.runtime)\n });\n}\nfunction identifierToken(identifier) {\n return new __WEBPACK_IMPORTED_MODULE_1__compile_metadata__[\"b\" /* CompileTokenMetadata */]({ identifier: identifier });\n}\nfunction resolveIdentifierToken(identifier) {\n return identifierToken(resolveIdentifier(identifier));\n}\nfunction resolveEnumIdentifier(enumType, name) {\n var resolvedEnum = __WEBPACK_IMPORTED_MODULE_2__private_import_core__[\"B\" /* reflector */].resolveEnum(enumType.reference, name);\n return new __WEBPACK_IMPORTED_MODULE_1__compile_metadata__[\"a\" /* CompileIdentifierMetadata */]({ name: enumType.name + \".\" + name, moduleUrl: enumType.moduleUrl, reference: resolvedEnum });\n}\n//# sourceMappingURL=identifiers.js.map\n\n/***/ },\n/* 15 */\n/***/ function(module, exports) {\n\nvar core = module.exports = {version: '2.4.0'};\nif(typeof __e == 'number')__e = core; // eslint-disable-line no-undef\n\n/***/ },\n/* 16 */\n/***/ function(module, exports) {\n\n// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028\nvar global = module.exports = typeof window != 'undefined' && window.Math == Math\n ? window : typeof self != 'undefined' && self.Math == Math ? self : Function('return this')();\nif(typeof __g == 'number')__g = global; // eslint-disable-line no-undef\n\n/***/ },\n/* 17 */\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(1);\n/* harmony export (binding) */ __webpack_require__.d(exports, \"H\", function() { return isDefaultChangeDetectionStrategy; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"o\", function() { return ChangeDetectorStatus; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"G\", function() { return LifecycleHooks; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"L\", function() { return LIFECYCLE_HOOKS_VALUES; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"J\", function() { return ReflectorReader; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"d\", function() { return ViewContainer; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"f\", function() { return CodegenComponentFactoryResolver; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"g\", function() { return ComponentRef_; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"b\", function() { return AppView; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"c\", function() { return DebugAppView; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"h\", function() { return NgModuleInjector; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"i\", function() { return registerModuleFactory; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"k\", function() { return ViewType; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"a\", function() { return view_utils; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"m\", function() { return DebugContext; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"l\", function() { return StaticNodeDebugInfo; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"p\", function() { return devModeEqual; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"n\", function() { return UNINITIALIZED; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"j\", function() { return ValueUnwrapper; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"e\", function() { return TemplateRef_; });\n/* unused harmony export RenderDebugInfo */\n/* harmony export (binding) */ __webpack_require__.d(exports, \"C\", function() { return Console; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"B\", function() { return reflector; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"M\", function() { return Reflector; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"N\", function() { return ReflectionCapabilities; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"s\", function() { return NoOpAnimationPlayer; });\n/* unused harmony export AnimationPlayer */\n/* harmony export (binding) */ __webpack_require__.d(exports, \"u\", function() { return AnimationSequencePlayer; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"t\", function() { return AnimationGroupPlayer; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"q\", function() { return AnimationKeyframe; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"r\", function() { return AnimationStyles; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"D\", function() { return ANY_STATE; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"E\", function() { return DEFAULT_STATE; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"F\", function() { return EMPTY_STATE; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"I\", function() { return FILL_STYLE_FLAG; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"v\", function() { return prepareFinalAnimationStyles; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"w\", function() { return balanceAnimationKeyframes; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"x\", function() { return clearStyles; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"z\", function() { return collectAndResolveStyles; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"y\", function() { return renderStyles; });\n/* unused harmony export ViewMetadata */\n/* harmony export (binding) */ __webpack_require__.d(exports, \"K\", function() { return ComponentStillLoadingError; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"A\", function() { return AnimationTransition; });\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nvar isDefaultChangeDetectionStrategy = __WEBPACK_IMPORTED_MODULE_0__angular_core__[\"e\" /* __core_private__ */].isDefaultChangeDetectionStrategy;\nvar ChangeDetectorStatus = __WEBPACK_IMPORTED_MODULE_0__angular_core__[\"e\" /* __core_private__ */].ChangeDetectorStatus;\nvar LifecycleHooks = __WEBPACK_IMPORTED_MODULE_0__angular_core__[\"e\" /* __core_private__ */].LifecycleHooks;\nvar LIFECYCLE_HOOKS_VALUES = __WEBPACK_IMPORTED_MODULE_0__angular_core__[\"e\" /* __core_private__ */].LIFECYCLE_HOOKS_VALUES;\nvar ReflectorReader = __WEBPACK_IMPORTED_MODULE_0__angular_core__[\"e\" /* __core_private__ */].ReflectorReader;\nvar ViewContainer = __WEBPACK_IMPORTED_MODULE_0__angular_core__[\"e\" /* __core_private__ */].ViewContainer;\nvar CodegenComponentFactoryResolver = __WEBPACK_IMPORTED_MODULE_0__angular_core__[\"e\" /* __core_private__ */].CodegenComponentFactoryResolver;\nvar ComponentRef_ = __WEBPACK_IMPORTED_MODULE_0__angular_core__[\"e\" /* __core_private__ */].ComponentRef_;\nvar AppView = __WEBPACK_IMPORTED_MODULE_0__angular_core__[\"e\" /* __core_private__ */].AppView;\nvar DebugAppView = __WEBPACK_IMPORTED_MODULE_0__angular_core__[\"e\" /* __core_private__ */].DebugAppView;\nvar NgModuleInjector = __WEBPACK_IMPORTED_MODULE_0__angular_core__[\"e\" /* __core_private__ */].NgModuleInjector;\nvar registerModuleFactory = __WEBPACK_IMPORTED_MODULE_0__angular_core__[\"e\" /* __core_private__ */].registerModuleFactory;\nvar ViewType = __WEBPACK_IMPORTED_MODULE_0__angular_core__[\"e\" /* __core_private__ */].ViewType;\nvar view_utils = __WEBPACK_IMPORTED_MODULE_0__angular_core__[\"e\" /* __core_private__ */].view_utils;\nvar DebugContext = __WEBPACK_IMPORTED_MODULE_0__angular_core__[\"e\" /* __core_private__ */].DebugContext;\nvar StaticNodeDebugInfo = __WEBPACK_IMPORTED_MODULE_0__angular_core__[\"e\" /* __core_private__ */].StaticNodeDebugInfo;\nvar devModeEqual = __WEBPACK_IMPORTED_MODULE_0__angular_core__[\"e\" /* __core_private__ */].devModeEqual;\nvar UNINITIALIZED = __WEBPACK_IMPORTED_MODULE_0__angular_core__[\"e\" /* __core_private__ */].UNINITIALIZED;\nvar ValueUnwrapper = __WEBPACK_IMPORTED_MODULE_0__angular_core__[\"e\" /* __core_private__ */].ValueUnwrapper;\nvar TemplateRef_ = __WEBPACK_IMPORTED_MODULE_0__angular_core__[\"e\" /* __core_private__ */].TemplateRef_;\nvar RenderDebugInfo = __WEBPACK_IMPORTED_MODULE_0__angular_core__[\"e\" /* __core_private__ */].RenderDebugInfo;\nvar Console = __WEBPACK_IMPORTED_MODULE_0__angular_core__[\"e\" /* __core_private__ */].Console;\nvar reflector = __WEBPACK_IMPORTED_MODULE_0__angular_core__[\"e\" /* __core_private__ */].reflector;\nvar Reflector = __WEBPACK_IMPORTED_MODULE_0__angular_core__[\"e\" /* __core_private__ */].Reflector;\nvar ReflectionCapabilities = __WEBPACK_IMPORTED_MODULE_0__angular_core__[\"e\" /* __core_private__ */].ReflectionCapabilities;\nvar NoOpAnimationPlayer = __WEBPACK_IMPORTED_MODULE_0__angular_core__[\"e\" /* __core_private__ */].NoOpAnimationPlayer;\nvar AnimationPlayer = __WEBPACK_IMPORTED_MODULE_0__angular_core__[\"e\" /* __core_private__ */].AnimationPlayer;\nvar AnimationSequencePlayer = __WEBPACK_IMPORTED_MODULE_0__angular_core__[\"e\" /* __core_private__ */].AnimationSequencePlayer;\nvar AnimationGroupPlayer = __WEBPACK_IMPORTED_MODULE_0__angular_core__[\"e\" /* __core_private__ */].AnimationGroupPlayer;\nvar AnimationKeyframe = __WEBPACK_IMPORTED_MODULE_0__angular_core__[\"e\" /* __core_private__ */].AnimationKeyframe;\nvar AnimationStyles = __WEBPACK_IMPORTED_MODULE_0__angular_core__[\"e\" /* __core_private__ */].AnimationStyles;\nvar ANY_STATE = __WEBPACK_IMPORTED_MODULE_0__angular_core__[\"e\" /* __core_private__ */].ANY_STATE;\nvar DEFAULT_STATE = __WEBPACK_IMPORTED_MODULE_0__angular_core__[\"e\" /* __core_private__ */].DEFAULT_STATE;\nvar EMPTY_STATE = __WEBPACK_IMPORTED_MODULE_0__angular_core__[\"e\" /* __core_private__ */].EMPTY_STATE;\nvar FILL_STYLE_FLAG = __WEBPACK_IMPORTED_MODULE_0__angular_core__[\"e\" /* __core_private__ */].FILL_STYLE_FLAG;\nvar prepareFinalAnimationStyles = __WEBPACK_IMPORTED_MODULE_0__angular_core__[\"e\" /* __core_private__ */].prepareFinalAnimationStyles;\nvar balanceAnimationKeyframes = __WEBPACK_IMPORTED_MODULE_0__angular_core__[\"e\" /* __core_private__ */].balanceAnimationKeyframes;\nvar clearStyles = __WEBPACK_IMPORTED_MODULE_0__angular_core__[\"e\" /* __core_private__ */].clearStyles;\nvar collectAndResolveStyles = __WEBPACK_IMPORTED_MODULE_0__angular_core__[\"e\" /* __core_private__ */].collectAndResolveStyles;\nvar renderStyles = __WEBPACK_IMPORTED_MODULE_0__angular_core__[\"e\" /* __core_private__ */].renderStyles;\nvar ViewMetadata = __WEBPACK_IMPORTED_MODULE_0__angular_core__[\"e\" /* __core_private__ */].ViewMetadata;\nvar ComponentStillLoadingError = __WEBPACK_IMPORTED_MODULE_0__angular_core__[\"e\" /* __core_private__ */].ComponentStillLoadingError;\nvar AnimationTransition = __WEBPACK_IMPORTED_MODULE_0__angular_core__[\"e\" /* __core_private__ */].AnimationTransition;\n//# sourceMappingURL=private_import_core.js.map\n\n/***/ },\n/* 18 */\n/***/ function(module, exports, __webpack_require__) {\n\nvar anObject = __webpack_require__(8)\n , IE8_DOM_DEFINE = __webpack_require__(333)\n , toPrimitive = __webpack_require__(71)\n , dP = Object.defineProperty;\n\nexports.f = __webpack_require__(23) ? Object.defineProperty : function defineProperty(O, P, Attributes){\n anObject(O);\n P = toPrimitive(P, true);\n anObject(Attributes);\n if(IE8_DOM_DEFINE)try {\n return dP(O, P, Attributes);\n } catch(e){ /* empty */ }\n if('get' in Attributes || 'set' in Attributes)throw TypeError('Accessors not supported!');\n if('value' in Attributes)O[P] = Attributes.value;\n return O;\n};\n\n/***/ },\n/* 19 */\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\"use strict\";\nvar isArray_1 = __webpack_require__(45);\nvar isObject_1 = __webpack_require__(920);\nvar isFunction_1 = __webpack_require__(237);\nvar tryCatch_1 = __webpack_require__(22);\nvar errorObject_1 = __webpack_require__(20);\nvar UnsubscriptionError_1 = __webpack_require__(385);\n/**\n * Represents a disposable resource, such as the execution of an Observable. A\n * Subscription has one important method, `unsubscribe`, that takes no argument\n * and just disposes the resource held by the subscription.\n *\n * Additionally, subscriptions may be grouped together through the `add()`\n * method, which will attach a child Subscription to the current Subscription.\n * When a Subscription is unsubscribed, all its children (and its grandchildren)\n * will be unsubscribed as well.\n *\n * @class Subscription\n */\nvar Subscription = (function () {\n /**\n * @param {function(): void} [unsubscribe] A function describing how to\n * perform the disposal of resources when the `unsubscribe` method is called.\n */\n function Subscription(unsubscribe) {\n /**\n * A flag to indicate whether this Subscription has already been unsubscribed.\n * @type {boolean}\n */\n this.closed = false;\n if (unsubscribe) {\n this._unsubscribe = unsubscribe;\n }\n }\n /**\n * Disposes the resources held by the subscription. May, for instance, cancel\n * an ongoing Observable execution or cancel any other type of work that\n * started when the Subscription was created.\n * @return {void}\n */\n Subscription.prototype.unsubscribe = function () {\n var hasErrors = false;\n var errors;\n if (this.closed) {\n return;\n }\n this.closed = true;\n var _a = this, _unsubscribe = _a._unsubscribe, _subscriptions = _a._subscriptions;\n this._subscriptions = null;\n if (isFunction_1.isFunction(_unsubscribe)) {\n var trial = tryCatch_1.tryCatch(_unsubscribe).call(this);\n if (trial === errorObject_1.errorObject) {\n hasErrors = true;\n (errors = errors || []).push(errorObject_1.errorObject.e);\n }\n }\n if (isArray_1.isArray(_subscriptions)) {\n var index = -1;\n var len = _subscriptions.length;\n while (++index < len) {\n var sub = _subscriptions[index];\n if (isObject_1.isObject(sub)) {\n var trial = tryCatch_1.tryCatch(sub.unsubscribe).call(sub);\n if (trial === errorObject_1.errorObject) {\n hasErrors = true;\n errors = errors || [];\n var err = errorObject_1.errorObject.e;\n if (err instanceof UnsubscriptionError_1.UnsubscriptionError) {\n errors = errors.concat(err.errors);\n }\n else {\n errors.push(err);\n }\n }\n }\n }\n }\n if (hasErrors) {\n throw new UnsubscriptionError_1.UnsubscriptionError(errors);\n }\n };\n /**\n * Adds a tear down to be called during the unsubscribe() of this\n * Subscription.\n *\n * If the tear down being added is a subscription that is already\n * unsubscribed, is the same reference `add` is being called on, or is\n * `Subscription.EMPTY`, it will not be added.\n *\n * If this subscription is already in an `closed` state, the passed\n * tear down logic will be executed immediately.\n *\n * @param {TeardownLogic} teardown The additional logic to execute on\n * teardown.\n * @return {Subscription} Returns the Subscription used or created to be\n * added to the inner subscriptions list. This Subscription can be used with\n * `remove()` to remove the passed teardown logic from the inner subscriptions\n * list.\n */\n Subscription.prototype.add = function (teardown) {\n if (!teardown || (teardown === Subscription.EMPTY)) {\n return Subscription.EMPTY;\n }\n if (teardown === this) {\n return this;\n }\n var sub = teardown;\n switch (typeof teardown) {\n case 'function':\n sub = new Subscription(teardown);\n case 'object':\n if (sub.closed || typeof sub.unsubscribe !== 'function') {\n break;\n }\n else if (this.closed) {\n sub.unsubscribe();\n }\n else {\n (this._subscriptions || (this._subscriptions = [])).push(sub);\n }\n break;\n default:\n throw new Error('unrecognized teardown ' + teardown + ' added to Subscription.');\n }\n return sub;\n };\n /**\n * Removes a Subscription from the internal list of subscriptions that will\n * unsubscribe during the unsubscribe process of this Subscription.\n * @param {Subscription} subscription The subscription to remove.\n * @return {void}\n */\n Subscription.prototype.remove = function (subscription) {\n // HACK: This might be redundant because of the logic in `add()`\n if (subscription == null || (subscription === this) || (subscription === Subscription.EMPTY)) {\n return;\n }\n var subscriptions = this._subscriptions;\n if (subscriptions) {\n var subscriptionIndex = subscriptions.indexOf(subscription);\n if (subscriptionIndex !== -1) {\n subscriptions.splice(subscriptionIndex, 1);\n }\n }\n };\n Subscription.EMPTY = (function (empty) {\n empty.closed = true;\n return empty;\n }(new Subscription()));\n return Subscription;\n}());\nexports.Subscription = Subscription;\n//# sourceMappingURL=Subscription.js.map\n\n/***/ },\n/* 20 */\n/***/ function(module, exports) {\n\n\"use strict\";\n\"use strict\";\n// typeof any so that it we don't have to cast when comparing a result to the error object\nexports.errorObject = { e: {} };\n//# sourceMappingURL=errorObject.js.map\n\n/***/ },\n/* 21 */\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* harmony export (immutable) */ exports[\"a\"] = getDOM;\n/* unused harmony export setDOM */\n/* harmony export (immutable) */ exports[\"c\"] = setRootDomAdapter;\n/* harmony export (binding) */ __webpack_require__.d(exports, \"b\", function() { return DomAdapter; });\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nvar _DOM = null;\nfunction getDOM() {\n return _DOM;\n}\nfunction setDOM(adapter) {\n _DOM = adapter;\n}\nfunction setRootDomAdapter(adapter) {\n if (!_DOM) {\n _DOM = adapter;\n }\n}\n/* tslint:disable:requireParameterType */\n/**\n * Provides DOM operations in an environment-agnostic way.\n *\n * @security Tread carefully! Interacting with the DOM directly is dangerous and\n * can introduce XSS risks.\n */\nvar DomAdapter = (function () {\n function DomAdapter() {\n this.resourceLoaderType = null;\n }\n Object.defineProperty(DomAdapter.prototype, \"attrToPropMap\", {\n /**\n * Maps attribute names to their corresponding property names for cases\n * where attribute name doesn't match property name.\n */\n get: function () { return this._attrToPropMap; },\n set: function (value) { this._attrToPropMap = value; },\n enumerable: true,\n configurable: true\n });\n ;\n ;\n return DomAdapter;\n}());\n//# sourceMappingURL=dom_adapter.js.map\n\n/***/ },\n/* 22 */\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\"use strict\";\nvar errorObject_1 = __webpack_require__(20);\nvar tryCatchTarget;\nfunction tryCatcher() {\n try {\n return tryCatchTarget.apply(this, arguments);\n }\n catch (e) {\n errorObject_1.errorObject.e = e;\n return errorObject_1.errorObject;\n }\n}\nfunction tryCatch(fn) {\n tryCatchTarget = fn;\n return tryCatcher;\n}\nexports.tryCatch = tryCatch;\n;\n//# sourceMappingURL=tryCatch.js.map\n\n/***/ },\n/* 23 */\n/***/ function(module, exports, __webpack_require__) {\n\n// Thank's IE8 for his funny defineProperty\nmodule.exports = !__webpack_require__(10)(function(){\n return Object.defineProperty({}, 'a', {get: function(){ return 7; }}).a != 7;\n});\n\n/***/ },\n/* 24 */\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* WEBPACK VAR INJECTION */(function(global) {\"use strict\";\nvar objectTypes = {\n 'boolean': false,\n 'function': true,\n 'object': true,\n 'number': false,\n 'string': false,\n 'undefined': false\n};\nexports.root = (objectTypes[typeof self] && self) || (objectTypes[typeof window] && window);\nvar freeGlobal = objectTypes[typeof global] && global;\nif (freeGlobal && (freeGlobal.global === freeGlobal || freeGlobal.window === freeGlobal)) {\n exports.root = freeGlobal;\n}\n//# sourceMappingURL=root.js.map\n/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(63)))\n\n/***/ },\n/* 25 */\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(1);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__facade_collection__ = __webpack_require__(73);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__facade_lang__ = __webpack_require__(4);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__selector__ = __webpack_require__(112);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__util__ = __webpack_require__(46);\n/* unused harmony export CompileMetadataWithIdentifier */\n/* harmony export (binding) */ __webpack_require__.d(exports, \"p\", function() { return CompileAnimationEntryMetadata; });\n/* unused harmony export CompileAnimationStateMetadata */\n/* harmony export (binding) */ __webpack_require__.d(exports, \"g\", function() { return CompileAnimationStateDeclarationMetadata; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"q\", function() { return CompileAnimationStateTransitionMetadata; });\n/* unused harmony export CompileAnimationMetadata */\n/* harmony export (binding) */ __webpack_require__.d(exports, \"m\", function() { return CompileAnimationKeyframesSequenceMetadata; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"k\", function() { return CompileAnimationStyleMetadata; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"l\", function() { return CompileAnimationAnimateMetadata; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"j\", function() { return CompileAnimationWithStepsMetadata; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"h\", function() { return CompileAnimationSequenceMetadata; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"i\", function() { return CompileAnimationGroupMetadata; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"a\", function() { return CompileIdentifierMetadata; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"c\", function() { return CompileDiDependencyMetadata; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"d\", function() { return CompileProviderMetadata; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"u\", function() { return CompileFactoryMetadata; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"b\", function() { return CompileTokenMetadata; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"e\", function() { return CompileTypeMetadata; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"x\", function() { return CompileQueryMetadata; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"n\", function() { return CompileStylesheetMetadata; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"o\", function() { return CompileTemplateMetadata; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"r\", function() { return CompileDirectiveMetadata; });\n/* harmony export (immutable) */ exports[\"f\"] = createHostComponentMeta;\n/* harmony export (binding) */ __webpack_require__.d(exports, \"v\", function() { return CompilePipeMetadata; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"s\", function() { return CompileNgModuleMetadata; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"t\", function() { return TransitiveCompileNgModuleMetadata; });\n/* unused harmony export removeIdentifierDuplicates */\n/* harmony export (immutable) */ exports[\"y\"] = isStaticSymbol;\n/* harmony export (binding) */ __webpack_require__.d(exports, \"w\", function() { return ProviderMeta; });\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nvar __extends = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\n\n\n\n\n\nfunction unimplemented() {\n throw new Error('unimplemented');\n}\n// group 0: \"[prop] or (event) or @trigger\"\n// group 1: \"prop\" from \"[prop]\"\n// group 2: \"event\" from \"(event)\"\n// group 3: \"@trigger\" from \"@trigger\"\nvar HOST_REG_EXP = /^(?:(?:\\[([^\\]]+)\\])|(?:\\(([^\\)]+)\\)))|(\\@[-\\w]+)$/;\nvar CompileMetadataWithIdentifier = (function () {\n function CompileMetadataWithIdentifier() {\n }\n Object.defineProperty(CompileMetadataWithIdentifier.prototype, \"identifier\", {\n get: function () { return unimplemented(); },\n enumerable: true,\n configurable: true\n });\n return CompileMetadataWithIdentifier;\n}());\nvar CompileAnimationEntryMetadata = (function () {\n function CompileAnimationEntryMetadata(name, definitions) {\n if (name === void 0) { name = null; }\n if (definitions === void 0) { definitions = null; }\n this.name = name;\n this.definitions = definitions;\n }\n return CompileAnimationEntryMetadata;\n}());\nvar CompileAnimationStateMetadata = (function () {\n function CompileAnimationStateMetadata() {\n }\n return CompileAnimationStateMetadata;\n}());\nvar CompileAnimationStateDeclarationMetadata = (function (_super) {\n __extends(CompileAnimationStateDeclarationMetadata, _super);\n function CompileAnimationStateDeclarationMetadata(stateNameExpr, styles) {\n _super.call(this);\n this.stateNameExpr = stateNameExpr;\n this.styles = styles;\n }\n return CompileAnimationStateDeclarationMetadata;\n}(CompileAnimationStateMetadata));\nvar CompileAnimationStateTransitionMetadata = (function (_super) {\n __extends(CompileAnimationStateTransitionMetadata, _super);\n function CompileAnimationStateTransitionMetadata(stateChangeExpr, steps) {\n _super.call(this);\n this.stateChangeExpr = stateChangeExpr;\n this.steps = steps;\n }\n return CompileAnimationStateTransitionMetadata;\n}(CompileAnimationStateMetadata));\nvar CompileAnimationMetadata = (function () {\n function CompileAnimationMetadata() {\n }\n return CompileAnimationMetadata;\n}());\nvar CompileAnimationKeyframesSequenceMetadata = (function (_super) {\n __extends(CompileAnimationKeyframesSequenceMetadata, _super);\n function CompileAnimationKeyframesSequenceMetadata(steps) {\n if (steps === void 0) { steps = []; }\n _super.call(this);\n this.steps = steps;\n }\n return CompileAnimationKeyframesSequenceMetadata;\n}(CompileAnimationMetadata));\nvar CompileAnimationStyleMetadata = (function (_super) {\n __extends(CompileAnimationStyleMetadata, _super);\n function CompileAnimationStyleMetadata(offset, styles) {\n if (styles === void 0) { styles = null; }\n _super.call(this);\n this.offset = offset;\n this.styles = styles;\n }\n return CompileAnimationStyleMetadata;\n}(CompileAnimationMetadata));\nvar CompileAnimationAnimateMetadata = (function (_super) {\n __extends(CompileAnimationAnimateMetadata, _super);\n function CompileAnimationAnimateMetadata(timings, styles) {\n if (timings === void 0) { timings = 0; }\n if (styles === void 0) { styles = null; }\n _super.call(this);\n this.timings = timings;\n this.styles = styles;\n }\n return CompileAnimationAnimateMetadata;\n}(CompileAnimationMetadata));\nvar CompileAnimationWithStepsMetadata = (function (_super) {\n __extends(CompileAnimationWithStepsMetadata, _super);\n function CompileAnimationWithStepsMetadata(steps) {\n if (steps === void 0) { steps = null; }\n _super.call(this);\n this.steps = steps;\n }\n return CompileAnimationWithStepsMetadata;\n}(CompileAnimationMetadata));\nvar CompileAnimationSequenceMetadata = (function (_super) {\n __extends(CompileAnimationSequenceMetadata, _super);\n function CompileAnimationSequenceMetadata(steps) {\n if (steps === void 0) { steps = null; }\n _super.call(this, steps);\n }\n return CompileAnimationSequenceMetadata;\n}(CompileAnimationWithStepsMetadata));\nvar CompileAnimationGroupMetadata = (function (_super) {\n __extends(CompileAnimationGroupMetadata, _super);\n function CompileAnimationGroupMetadata(steps) {\n if (steps === void 0) { steps = null; }\n _super.call(this, steps);\n }\n return CompileAnimationGroupMetadata;\n}(CompileAnimationWithStepsMetadata));\nvar CompileIdentifierMetadata = (function () {\n function CompileIdentifierMetadata(_a) {\n var _b = _a === void 0 ? {} : _a, reference = _b.reference, name = _b.name, moduleUrl = _b.moduleUrl, prefix = _b.prefix, value = _b.value;\n this.reference = reference;\n this.name = name;\n this.prefix = prefix;\n this.moduleUrl = moduleUrl;\n this.value = value;\n }\n Object.defineProperty(CompileIdentifierMetadata.prototype, \"identifier\", {\n get: function () { return this; },\n enumerable: true,\n configurable: true\n });\n return CompileIdentifierMetadata;\n}());\nvar CompileDiDependencyMetadata = (function () {\n function CompileDiDependencyMetadata(_a) {\n var _b = _a === void 0 ? {} : _a, isAttribute = _b.isAttribute, isSelf = _b.isSelf, isHost = _b.isHost, isSkipSelf = _b.isSkipSelf, isOptional = _b.isOptional, isValue = _b.isValue, token = _b.token, value = _b.value;\n this.isAttribute = !!isAttribute;\n this.isSelf = !!isSelf;\n this.isHost = !!isHost;\n this.isSkipSelf = !!isSkipSelf;\n this.isOptional = !!isOptional;\n this.isValue = !!isValue;\n this.token = token;\n this.value = value;\n }\n return CompileDiDependencyMetadata;\n}());\nvar CompileProviderMetadata = (function () {\n function CompileProviderMetadata(_a) {\n var token = _a.token, useClass = _a.useClass, useValue = _a.useValue, useExisting = _a.useExisting, useFactory = _a.useFactory, deps = _a.deps, multi = _a.multi;\n this.token = token;\n this.useClass = useClass;\n this.useValue = useValue;\n this.useExisting = useExisting;\n this.useFactory = useFactory;\n this.deps = deps || null;\n this.multi = !!multi;\n }\n return CompileProviderMetadata;\n}());\nvar CompileFactoryMetadata = (function (_super) {\n __extends(CompileFactoryMetadata, _super);\n function CompileFactoryMetadata(_a) {\n var reference = _a.reference, name = _a.name, moduleUrl = _a.moduleUrl, prefix = _a.prefix, diDeps = _a.diDeps, value = _a.value;\n _super.call(this, { reference: reference, name: name, prefix: prefix, moduleUrl: moduleUrl, value: value });\n this.diDeps = _normalizeArray(diDeps);\n }\n return CompileFactoryMetadata;\n}(CompileIdentifierMetadata));\nvar CompileTokenMetadata = (function () {\n function CompileTokenMetadata(_a) {\n var value = _a.value, identifier = _a.identifier, identifierIsInstance = _a.identifierIsInstance;\n this.value = value;\n this.identifier = identifier;\n this.identifierIsInstance = !!identifierIsInstance;\n }\n Object.defineProperty(CompileTokenMetadata.prototype, \"reference\", {\n get: function () {\n if (__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_2__facade_lang__[\"b\" /* isPresent */])(this.identifier)) {\n return this.identifier.reference;\n }\n else {\n return this.value;\n }\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(CompileTokenMetadata.prototype, \"name\", {\n get: function () {\n return __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_2__facade_lang__[\"b\" /* isPresent */])(this.value) ? __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_4__util__[\"a\" /* sanitizeIdentifier */])(this.value) : this.identifier.name;\n },\n enumerable: true,\n configurable: true\n });\n return CompileTokenMetadata;\n}());\n/**\n * Metadata regarding compilation of a type.\n */\nvar CompileTypeMetadata = (function (_super) {\n __extends(CompileTypeMetadata, _super);\n function CompileTypeMetadata(_a) {\n var _b = _a === void 0 ? {} : _a, reference = _b.reference, name = _b.name, moduleUrl = _b.moduleUrl, prefix = _b.prefix, isHost = _b.isHost, value = _b.value, diDeps = _b.diDeps, lifecycleHooks = _b.lifecycleHooks;\n _super.call(this, { reference: reference, name: name, moduleUrl: moduleUrl, prefix: prefix, value: value });\n this.isHost = !!isHost;\n this.diDeps = _normalizeArray(diDeps);\n this.lifecycleHooks = _normalizeArray(lifecycleHooks);\n }\n return CompileTypeMetadata;\n}(CompileIdentifierMetadata));\nvar CompileQueryMetadata = (function () {\n function CompileQueryMetadata(_a) {\n var _b = _a === void 0 ? {} : _a, selectors = _b.selectors, descendants = _b.descendants, first = _b.first, propertyName = _b.propertyName, read = _b.read;\n this.selectors = selectors;\n this.descendants = !!descendants;\n this.first = !!first;\n this.propertyName = propertyName;\n this.read = read;\n }\n return CompileQueryMetadata;\n}());\n/**\n * Metadata about a stylesheet\n */\nvar CompileStylesheetMetadata = (function () {\n function CompileStylesheetMetadata(_a) {\n var _b = _a === void 0 ? {} : _a, moduleUrl = _b.moduleUrl, styles = _b.styles, styleUrls = _b.styleUrls;\n this.moduleUrl = moduleUrl;\n this.styles = _normalizeArray(styles);\n this.styleUrls = _normalizeArray(styleUrls);\n }\n return CompileStylesheetMetadata;\n}());\n/**\n * Metadata regarding compilation of a template.\n */\nvar CompileTemplateMetadata = (function () {\n function CompileTemplateMetadata(_a) {\n var _b = _a === void 0 ? {} : _a, encapsulation = _b.encapsulation, template = _b.template, templateUrl = _b.templateUrl, styles = _b.styles, styleUrls = _b.styleUrls, externalStylesheets = _b.externalStylesheets, animations = _b.animations, ngContentSelectors = _b.ngContentSelectors, interpolation = _b.interpolation;\n this.encapsulation = encapsulation;\n this.template = template;\n this.templateUrl = templateUrl;\n this.styles = _normalizeArray(styles);\n this.styleUrls = _normalizeArray(styleUrls);\n this.externalStylesheets = _normalizeArray(externalStylesheets);\n this.animations = animations ? __WEBPACK_IMPORTED_MODULE_1__facade_collection__[\"a\" /* ListWrapper */].flatten(animations) : [];\n this.ngContentSelectors = ngContentSelectors || [];\n if (interpolation && interpolation.length != 2) {\n throw new Error(\"'interpolation' should have a start and an end symbol.\");\n }\n this.interpolation = interpolation;\n }\n CompileTemplateMetadata.prototype.toSummary = function () {\n return {\n isSummary: true,\n animations: this.animations.map(function (anim) { return anim.name; }),\n ngContentSelectors: this.ngContentSelectors,\n encapsulation: this.encapsulation\n };\n };\n return CompileTemplateMetadata;\n}());\n/**\n * Metadata regarding compilation of a directive.\n */\nvar CompileDirectiveMetadata = (function () {\n function CompileDirectiveMetadata(_a) {\n var _b = _a === void 0 ? {} : _a, type = _b.type, isComponent = _b.isComponent, selector = _b.selector, exportAs = _b.exportAs, changeDetection = _b.changeDetection, inputs = _b.inputs, outputs = _b.outputs, hostListeners = _b.hostListeners, hostProperties = _b.hostProperties, hostAttributes = _b.hostAttributes, providers = _b.providers, viewProviders = _b.viewProviders, queries = _b.queries, viewQueries = _b.viewQueries, entryComponents = _b.entryComponents, template = _b.template;\n this.type = type;\n this.isComponent = isComponent;\n this.selector = selector;\n this.exportAs = exportAs;\n this.changeDetection = changeDetection;\n this.inputs = inputs;\n this.outputs = outputs;\n this.hostListeners = hostListeners;\n this.hostProperties = hostProperties;\n this.hostAttributes = hostAttributes;\n this.providers = _normalizeArray(providers);\n this.viewProviders = _normalizeArray(viewProviders);\n this.queries = _normalizeArray(queries);\n this.viewQueries = _normalizeArray(viewQueries);\n this.entryComponents = _normalizeArray(entryComponents);\n this.template = template;\n }\n CompileDirectiveMetadata.create = function (_a) {\n var _b = _a === void 0 ? {} : _a, type = _b.type, isComponent = _b.isComponent, selector = _b.selector, exportAs = _b.exportAs, changeDetection = _b.changeDetection, inputs = _b.inputs, outputs = _b.outputs, host = _b.host, providers = _b.providers, viewProviders = _b.viewProviders, queries = _b.queries, viewQueries = _b.viewQueries, entryComponents = _b.entryComponents, template = _b.template;\n var hostListeners = {};\n var hostProperties = {};\n var hostAttributes = {};\n if (__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_2__facade_lang__[\"b\" /* isPresent */])(host)) {\n Object.keys(host).forEach(function (key) {\n var value = host[key];\n var matches = key.match(HOST_REG_EXP);\n if (matches === null) {\n hostAttributes[key] = value;\n }\n else if (__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_2__facade_lang__[\"b\" /* isPresent */])(matches[1])) {\n hostProperties[matches[1]] = value;\n }\n else if (__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_2__facade_lang__[\"b\" /* isPresent */])(matches[2])) {\n hostListeners[matches[2]] = value;\n }\n });\n }\n var inputsMap = {};\n if (__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_2__facade_lang__[\"b\" /* isPresent */])(inputs)) {\n inputs.forEach(function (bindConfig) {\n // canonical syntax: `dirProp: elProp`\n // if there is no `:`, use dirProp = elProp\n var parts = __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_4__util__[\"b\" /* splitAtColon */])(bindConfig, [bindConfig, bindConfig]);\n inputsMap[parts[0]] = parts[1];\n });\n }\n var outputsMap = {};\n if (__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_2__facade_lang__[\"b\" /* isPresent */])(outputs)) {\n outputs.forEach(function (bindConfig) {\n // canonical syntax: `dirProp: elProp`\n // if there is no `:`, use dirProp = elProp\n var parts = __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_4__util__[\"b\" /* splitAtColon */])(bindConfig, [bindConfig, bindConfig]);\n outputsMap[parts[0]] = parts[1];\n });\n }\n return new CompileDirectiveMetadata({\n type: type,\n isComponent: !!isComponent, selector: selector, exportAs: exportAs, changeDetection: changeDetection,\n inputs: inputsMap,\n outputs: outputsMap,\n hostListeners: hostListeners,\n hostProperties: hostProperties,\n hostAttributes: hostAttributes,\n providers: providers,\n viewProviders: viewProviders,\n queries: queries,\n viewQueries: viewQueries,\n entryComponents: entryComponents,\n template: template,\n });\n };\n Object.defineProperty(CompileDirectiveMetadata.prototype, \"identifier\", {\n get: function () { return this.type; },\n enumerable: true,\n configurable: true\n });\n CompileDirectiveMetadata.prototype.toSummary = function () {\n return {\n isSummary: true,\n type: this.type,\n isComponent: this.isComponent,\n selector: this.selector,\n exportAs: this.exportAs,\n inputs: this.inputs,\n outputs: this.outputs,\n hostListeners: this.hostListeners,\n hostProperties: this.hostProperties,\n hostAttributes: this.hostAttributes,\n providers: this.providers,\n viewProviders: this.viewProviders,\n queries: this.queries,\n entryComponents: this.entryComponents,\n changeDetection: this.changeDetection,\n template: this.template && this.template.toSummary()\n };\n };\n return CompileDirectiveMetadata;\n}());\n/**\n * Construct {@link CompileDirectiveMetadata} from {@link ComponentTypeMetadata} and a selector.\n */\nfunction createHostComponentMeta(compMeta) {\n var template = __WEBPACK_IMPORTED_MODULE_3__selector__[\"a\" /* CssSelector */].parse(compMeta.selector)[0].getMatchingElementTemplate();\n return CompileDirectiveMetadata.create({\n type: new CompileTypeMetadata({\n reference: Object,\n name: compMeta.type.name + \"_Host\",\n moduleUrl: compMeta.type.moduleUrl,\n isHost: true\n }),\n template: new CompileTemplateMetadata({\n encapsulation: __WEBPACK_IMPORTED_MODULE_0__angular_core__[\"c\" /* ViewEncapsulation */].None,\n template: template,\n templateUrl: '',\n styles: [],\n styleUrls: [],\n ngContentSelectors: [],\n animations: []\n }),\n changeDetection: __WEBPACK_IMPORTED_MODULE_0__angular_core__[\"d\" /* ChangeDetectionStrategy */].Default,\n inputs: [],\n outputs: [],\n host: {},\n isComponent: true,\n selector: '*',\n providers: [],\n viewProviders: [],\n queries: [],\n viewQueries: []\n });\n}\nvar CompilePipeMetadata = (function () {\n function CompilePipeMetadata(_a) {\n var _b = _a === void 0 ? {} : _a, type = _b.type, name = _b.name, pure = _b.pure;\n this.type = type;\n this.name = name;\n this.pure = !!pure;\n }\n Object.defineProperty(CompilePipeMetadata.prototype, \"identifier\", {\n get: function () { return this.type; },\n enumerable: true,\n configurable: true\n });\n CompilePipeMetadata.prototype.toSummary = function () {\n return { isSummary: true, type: this.type, name: this.name, pure: this.pure };\n };\n return CompilePipeMetadata;\n}());\n/**\n * Metadata regarding compilation of a module.\n */\nvar CompileNgModuleMetadata = (function () {\n function CompileNgModuleMetadata(_a) {\n var _b = _a === void 0 ? {} : _a, type = _b.type, providers = _b.providers, declaredDirectives = _b.declaredDirectives, exportedDirectives = _b.exportedDirectives, declaredPipes = _b.declaredPipes, exportedPipes = _b.exportedPipes, entryComponents = _b.entryComponents, bootstrapComponents = _b.bootstrapComponents, importedModules = _b.importedModules, exportedModules = _b.exportedModules, schemas = _b.schemas, transitiveModule = _b.transitiveModule, id = _b.id;\n this.type = type;\n this.declaredDirectives = _normalizeArray(declaredDirectives);\n this.exportedDirectives = _normalizeArray(exportedDirectives);\n this.declaredPipes = _normalizeArray(declaredPipes);\n this.exportedPipes = _normalizeArray(exportedPipes);\n this.providers = _normalizeArray(providers);\n this.entryComponents = _normalizeArray(entryComponents);\n this.bootstrapComponents = _normalizeArray(bootstrapComponents);\n this.importedModules = _normalizeArray(importedModules);\n this.exportedModules = _normalizeArray(exportedModules);\n this.schemas = _normalizeArray(schemas);\n this.id = id;\n this.transitiveModule = transitiveModule;\n }\n Object.defineProperty(CompileNgModuleMetadata.prototype, \"identifier\", {\n get: function () { return this.type; },\n enumerable: true,\n configurable: true\n });\n CompileNgModuleMetadata.prototype.toSummary = function () {\n return {\n isSummary: true,\n type: this.type,\n entryComponents: this.entryComponents,\n providers: this.providers,\n importedModules: this.importedModules,\n exportedModules: this.exportedModules,\n exportedDirectives: this.exportedDirectives,\n exportedPipes: this.exportedPipes,\n directiveLoaders: this.transitiveModule.directiveLoaders\n };\n };\n CompileNgModuleMetadata.prototype.toInjectorSummary = function () {\n return {\n isSummary: true,\n type: this.type,\n entryComponents: this.entryComponents,\n providers: this.providers,\n importedModules: this.importedModules,\n exportedModules: this.exportedModules\n };\n };\n CompileNgModuleMetadata.prototype.toDirectiveSummary = function () {\n return {\n isSummary: true,\n type: this.type,\n exportedDirectives: this.exportedDirectives,\n exportedPipes: this.exportedPipes,\n exportedModules: this.exportedModules,\n directiveLoaders: this.transitiveModule.directiveLoaders\n };\n };\n return CompileNgModuleMetadata;\n}());\nvar TransitiveCompileNgModuleMetadata = (function () {\n function TransitiveCompileNgModuleMetadata(modules, providers, entryComponents, directives, pipes, directiveLoaders) {\n var _this = this;\n this.modules = modules;\n this.providers = providers;\n this.entryComponents = entryComponents;\n this.directives = directives;\n this.pipes = pipes;\n this.directiveLoaders = directiveLoaders;\n this.directivesSet = new Set();\n this.pipesSet = new Set();\n directives.forEach(function (dir) { return _this.directivesSet.add(dir.reference); });\n pipes.forEach(function (pipe) { return _this.pipesSet.add(pipe.reference); });\n }\n return TransitiveCompileNgModuleMetadata;\n}());\nfunction removeIdentifierDuplicates(items) {\n var map = new Map();\n items.forEach(function (item) {\n if (!map.get(item.identifier.reference)) {\n map.set(item.identifier.reference, item);\n }\n });\n return Array.from(map.values());\n}\nfunction _normalizeArray(obj) {\n return obj || [];\n}\nfunction isStaticSymbol(value) {\n return typeof value === 'object' && value !== null && value['name'] && value['filePath'];\n}\nvar ProviderMeta = (function () {\n function ProviderMeta(token, _a) {\n var useClass = _a.useClass, useValue = _a.useValue, useExisting = _a.useExisting, useFactory = _a.useFactory, deps = _a.deps, multi = _a.multi;\n this.token = token;\n this.useClass = useClass;\n this.useValue = useValue;\n this.useExisting = useExisting;\n this.useFactory = useFactory;\n this.dependencies = deps;\n this.multi = !!multi;\n }\n return ProviderMeta;\n}());\n//# sourceMappingURL=compile_metadata.js.map\n\n/***/ },\n/* 26 */\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\"use strict\";\nvar AsyncAction_1 = __webpack_require__(104);\nvar AsyncScheduler_1 = __webpack_require__(105);\nexports.async = new AsyncScheduler_1.AsyncScheduler(AsyncAction_1.AsyncAction);\n//# sourceMappingURL=async.js.map\n\n/***/ },\n/* 27 */\n/***/ function(module, exports) {\n\nvar hasOwnProperty = {}.hasOwnProperty;\nmodule.exports = function(it, key){\n return hasOwnProperty.call(it, key);\n};\n\n/***/ },\n/* 28 */\n/***/ function(module, exports, __webpack_require__) {\n\nvar global = __webpack_require__(16)\n , hide = __webpack_require__(50)\n , has = __webpack_require__(27)\n , SRC = __webpack_require__(102)('src')\n , TO_STRING = 'toString'\n , $toString = Function[TO_STRING]\n , TPL = ('' + $toString).split(TO_STRING);\n\n__webpack_require__(15).inspectSource = function(it){\n return $toString.call(it);\n};\n\n(module.exports = function(O, key, val, safe){\n var isFunction = typeof val == 'function';\n if(isFunction)has(val, 'name') || hide(val, 'name', key);\n if(O[key] === val)return;\n if(isFunction)has(val, SRC) || hide(val, SRC, O[key] ? '' + O[key] : TPL.join(String(key)));\n if(O === global){\n O[key] = val;\n } else {\n if(!safe){\n delete O[key];\n hide(O, key, val);\n } else {\n if(O[key])O[key] = val;\n else hide(O, key, val);\n }\n }\n// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative\n})(Function.prototype, TO_STRING, function toString(){\n return typeof this == 'function' && this[SRC] || $toString.call(this);\n});\n\n/***/ },\n/* 29 */\n/***/ function(module, exports, __webpack_require__) {\n\nvar $export = __webpack_require__(2)\n , fails = __webpack_require__(10)\n , defined = __webpack_require__(49)\n , quot = /\"/g;\n// B.2.3.2.1 CreateHTML(string, tag, attribute, value)\nvar createHTML = function(string, tag, attribute, value) {\n var S = String(defined(string))\n , p1 = '<' + tag;\n if(attribute !== '')p1 += ' ' + attribute + '=\"' + String(value).replace(quot, '"') + '\"';\n return p1 + '>' + S + '' + tag + '>';\n};\nmodule.exports = function(NAME, exec){\n var O = {};\n O[NAME] = exec(createHTML);\n $export($export.P + $export.F * fails(function(){\n var test = ''[NAME]('\"');\n return test !== test.toLowerCase() || test.split('\"').length > 3;\n }), 'String', O);\n};\n\n/***/ },\n/* 30 */\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* WEBPACK VAR INJECTION */(function(global) {/* unused harmony export scheduleMicroTask */\n/* unused harmony export global */\n/* harmony export (immutable) */ exports[\"f\"] = getTypeNameForDebugging;\n/* harmony export (immutable) */ exports[\"a\"] = isPresent;\n/* harmony export (immutable) */ exports[\"b\"] = isBlank;\n/* unused harmony export isStrictStringMap */\n/* harmony export (immutable) */ exports[\"g\"] = isDate;\n/* harmony export (immutable) */ exports[\"e\"] = stringify;\n/* harmony export (binding) */ __webpack_require__.d(exports, \"h\", function() { return NumberWrapper; });\n/* unused harmony export looseIdentical */\n/* harmony export (immutable) */ exports[\"c\"] = isJsObject;\n/* unused harmony export print */\n/* unused harmony export warn */\n/* unused harmony export setValueOnPath */\n/* harmony export (immutable) */ exports[\"d\"] = getSymbolIterator;\n/* unused harmony export isPrimitive */\n/* unused harmony export escapeRegExp */\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nvar globalScope;\nif (typeof window === 'undefined') {\n if (typeof WorkerGlobalScope !== 'undefined' && self instanceof WorkerGlobalScope) {\n // TODO: Replace any with WorkerGlobalScope from lib.webworker.d.ts #3492\n globalScope = self;\n }\n else {\n globalScope = global;\n }\n}\nelse {\n globalScope = window;\n}\nfunction scheduleMicroTask(fn) {\n Zone.current.scheduleMicroTask('scheduleMicrotask', fn);\n}\n// Need to declare a new variable for global here since TypeScript\n// exports the original value of the symbol.\nvar _global = globalScope;\n\nfunction getTypeNameForDebugging(type) {\n return type['name'] || typeof type;\n}\n// TODO: remove calls to assert in production environment\n// Note: Can't just export this and import in in other files\n// as `assert` is a reserved keyword in Dart\n_global.assert = function assert(condition) {\n // TODO: to be fixed properly via #2830, noop for now\n};\nfunction isPresent(obj) {\n return obj != null;\n}\nfunction isBlank(obj) {\n return obj == null;\n}\nvar STRING_MAP_PROTO = Object.getPrototypeOf({});\nfunction isStrictStringMap(obj) {\n return typeof obj === 'object' && obj !== null && Object.getPrototypeOf(obj) === STRING_MAP_PROTO;\n}\nfunction isDate(obj) {\n return obj instanceof Date && !isNaN(obj.valueOf());\n}\nfunction stringify(token) {\n if (typeof token === 'string') {\n return token;\n }\n if (token == null) {\n return '' + token;\n }\n if (token.overriddenName) {\n return token.overriddenName;\n }\n if (token.name) {\n return token.name;\n }\n var res = token.toString();\n var newLineIndex = res.indexOf('\\n');\n return newLineIndex === -1 ? res : res.substring(0, newLineIndex);\n}\nvar NumberWrapper = (function () {\n function NumberWrapper() {\n }\n NumberWrapper.parseIntAutoRadix = function (text) {\n var result = parseInt(text);\n if (isNaN(result)) {\n throw new Error('Invalid integer literal when parsing ' + text);\n }\n return result;\n };\n NumberWrapper.isNumeric = function (value) { return !isNaN(value - parseFloat(value)); };\n return NumberWrapper;\n}());\n// JS has NaN !== NaN\nfunction looseIdentical(a, b) {\n return a === b || typeof a === 'number' && typeof b === 'number' && isNaN(a) && isNaN(b);\n}\nfunction isJsObject(o) {\n return o !== null && (typeof o === 'function' || typeof o === 'object');\n}\nfunction print(obj) {\n // tslint:disable-next-line:no-console\n console.log(obj);\n}\nfunction warn(obj) {\n console.warn(obj);\n}\nfunction setValueOnPath(global, path, value) {\n var parts = path.split('.');\n var obj = global;\n while (parts.length > 1) {\n var name_1 = parts.shift();\n if (obj.hasOwnProperty(name_1) && obj[name_1] != null) {\n obj = obj[name_1];\n }\n else {\n obj = obj[name_1] = {};\n }\n }\n if (obj === undefined || obj === null) {\n obj = {};\n }\n obj[parts.shift()] = value;\n}\nvar _symbolIterator = null;\nfunction getSymbolIterator() {\n if (!_symbolIterator) {\n if (globalScope.Symbol && Symbol.iterator) {\n _symbolIterator = Symbol.iterator;\n }\n else {\n // es6-shim specific logic\n var keys = Object.getOwnPropertyNames(Map.prototype);\n for (var i = 0; i < keys.length; ++i) {\n var key = keys[i];\n if (key !== 'entries' && key !== 'size' &&\n Map.prototype[key] === Map.prototype['entries']) {\n _symbolIterator = key;\n }\n }\n }\n }\n return _symbolIterator;\n}\nfunction isPrimitive(obj) {\n return !isJsObject(obj);\n}\nfunction escapeRegExp(s) {\n return s.replace(/([.*+?^=!:${}()|[\\]\\/\\\\])/g, '\\\\$1');\n}\n//# sourceMappingURL=lang.js.map\n/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(63)))\n\n/***/ },\n/* 31 */\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* harmony export (immutable) */ exports[\"a\"] = unimplemented;\n/* harmony export (binding) */ __webpack_require__.d(exports, \"b\", function() { return BaseError; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"c\", function() { return WrappedError; });\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nvar __extends = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\nfunction unimplemented() {\n throw new Error('unimplemented');\n}\n/**\n * @stable\n */\nvar BaseError = (function (_super) {\n __extends(BaseError, _super);\n function BaseError(message) {\n // Errors don't use current this, instead they create a new instance.\n // We have to do forward all of our api to the nativeInstance.\n var nativeError = _super.call(this, message);\n this._nativeError = nativeError;\n }\n Object.defineProperty(BaseError.prototype, \"message\", {\n get: function () { return this._nativeError.message; },\n set: function (message) { this._nativeError.message = message; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(BaseError.prototype, \"name\", {\n get: function () { return this._nativeError.name; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(BaseError.prototype, \"stack\", {\n get: function () { return this._nativeError.stack; },\n set: function (value) { this._nativeError.stack = value; },\n enumerable: true,\n configurable: true\n });\n BaseError.prototype.toString = function () { return this._nativeError.toString(); };\n return BaseError;\n}(Error));\n/**\n * @stable\n */\nvar WrappedError = (function (_super) {\n __extends(WrappedError, _super);\n function WrappedError(message, error) {\n _super.call(this, message + \" caused by: \" + (error instanceof Error ? error.message : error));\n this.originalError = error;\n }\n Object.defineProperty(WrappedError.prototype, \"stack\", {\n get: function () {\n return (this.originalError instanceof Error ? this.originalError : this._nativeError)\n .stack;\n },\n enumerable: true,\n configurable: true\n });\n return WrappedError;\n}(BaseError));\n//# sourceMappingURL=errors.js.map\n\n/***/ },\n/* 32 */\n/***/ function(module, exports, __webpack_require__) {\n\n// 7.1.15 ToLength\nvar toInteger = __webpack_require__(82)\n , min = Math.min;\nmodule.exports = function(it){\n return it > 0 ? min(toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991\n};\n\n/***/ },\n/* 33 */\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__facade_lang__ = __webpack_require__(4);\n/* harmony export (binding) */ __webpack_require__.d(exports, \"c\", function() { return ParseLocation; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"b\", function() { return ParseSourceFile; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"d\", function() { return ParseSourceSpan; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"e\", function() { return ParseErrorLevel; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"a\", function() { return ParseError; });\n\nvar ParseLocation = (function () {\n function ParseLocation(file, offset, line, col) {\n this.file = file;\n this.offset = offset;\n this.line = line;\n this.col = col;\n }\n ParseLocation.prototype.toString = function () {\n return __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__facade_lang__[\"b\" /* isPresent */])(this.offset) ? this.file.url + \"@\" + this.line + \":\" + this.col : this.file.url;\n };\n return ParseLocation;\n}());\nvar ParseSourceFile = (function () {\n function ParseSourceFile(content, url) {\n this.content = content;\n this.url = url;\n }\n return ParseSourceFile;\n}());\nvar ParseSourceSpan = (function () {\n function ParseSourceSpan(start, end, details) {\n if (details === void 0) { details = null; }\n this.start = start;\n this.end = end;\n this.details = details;\n }\n ParseSourceSpan.prototype.toString = function () {\n return this.start.file.content.substring(this.start.offset, this.end.offset);\n };\n return ParseSourceSpan;\n}());\nvar ParseErrorLevel;\n(function (ParseErrorLevel) {\n ParseErrorLevel[ParseErrorLevel[\"WARNING\"] = 0] = \"WARNING\";\n ParseErrorLevel[ParseErrorLevel[\"FATAL\"] = 1] = \"FATAL\";\n})(ParseErrorLevel || (ParseErrorLevel = {}));\nvar ParseError = (function () {\n function ParseError(span, msg, level) {\n if (level === void 0) { level = ParseErrorLevel.FATAL; }\n this.span = span;\n this.msg = msg;\n this.level = level;\n }\n ParseError.prototype.toString = function () {\n var source = this.span.start.file.content;\n var ctxStart = this.span.start.offset;\n var contextStr = '';\n var details = '';\n if (__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__facade_lang__[\"b\" /* isPresent */])(ctxStart)) {\n if (ctxStart > source.length - 1) {\n ctxStart = source.length - 1;\n }\n var ctxEnd = ctxStart;\n var ctxLen = 0;\n var ctxLines = 0;\n while (ctxLen < 100 && ctxStart > 0) {\n ctxStart--;\n ctxLen++;\n if (source[ctxStart] == '\\n') {\n if (++ctxLines == 3) {\n break;\n }\n }\n }\n ctxLen = 0;\n ctxLines = 0;\n while (ctxLen < 100 && ctxEnd < source.length - 1) {\n ctxEnd++;\n ctxLen++;\n if (source[ctxEnd] == '\\n') {\n if (++ctxLines == 3) {\n break;\n }\n }\n }\n var context = source.substring(ctxStart, this.span.start.offset) + '[ERROR ->]' +\n source.substring(this.span.start.offset, ctxEnd + 1);\n contextStr = \" (\\\"\" + context + \"\\\")\";\n }\n if (this.span.details) {\n details = \", \" + this.span.details;\n }\n return \"\" + this.msg + contextStr + \": \" + this.span.start + details;\n };\n return ParseError;\n}());\n//# sourceMappingURL=parse_util.js.map\n\n/***/ },\n/* 34 */\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__di_metadata__ = __webpack_require__(120);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__di_forward_ref__ = __webpack_require__(180);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__di_injector__ = __webpack_require__(87);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__di_reflective_injector__ = __webpack_require__(447);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__di_reflective_provider__ = __webpack_require__(183);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__di_reflective_key__ = __webpack_require__(182);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__di_opaque_token__ = __webpack_require__(181);\n/* harmony namespace reexport (by used) */ __webpack_require__.d(exports, \"b\", function() { return __WEBPACK_IMPORTED_MODULE_0__di_metadata__[\"a\"]; });\n/* harmony namespace reexport (by used) */ __webpack_require__.d(exports, \"c\", function() { return __WEBPACK_IMPORTED_MODULE_0__di_metadata__[\"b\"]; });\n/* harmony namespace reexport (by used) */ __webpack_require__.d(exports, \"d\", function() { return __WEBPACK_IMPORTED_MODULE_0__di_metadata__[\"c\"]; });\n/* harmony namespace reexport (by used) */ __webpack_require__.d(exports, \"e\", function() { return __WEBPACK_IMPORTED_MODULE_0__di_metadata__[\"f\"]; });\n/* harmony namespace reexport (by used) */ __webpack_require__.d(exports, \"i\", function() { return __WEBPACK_IMPORTED_MODULE_0__di_metadata__[\"e\"]; });\n/* harmony namespace reexport (by used) */ __webpack_require__.d(exports, \"j\", function() { return __WEBPACK_IMPORTED_MODULE_0__di_metadata__[\"d\"]; });\n/* harmony reexport (binding) */ __webpack_require__.d(exports, \"k\", function() { return __WEBPACK_IMPORTED_MODULE_1__di_forward_ref__[\"b\"]; });\n/* harmony reexport (binding) */ __webpack_require__.d(exports, \"h\", function() { return __WEBPACK_IMPORTED_MODULE_1__di_forward_ref__[\"a\"]; });\n/* harmony reexport (binding) */ __webpack_require__.d(exports, \"g\", function() { return __WEBPACK_IMPORTED_MODULE_2__di_injector__[\"b\"]; });\n/* harmony reexport (binding) */ __webpack_require__.d(exports, \"f\", function() { return __WEBPACK_IMPORTED_MODULE_3__di_reflective_injector__[\"a\"]; });\n/* unused harmony reexport ResolvedReflectiveFactory */\n/* unused harmony reexport ReflectiveKey */\n/* harmony reexport (binding) */ __webpack_require__.d(exports, \"a\", function() { return __WEBPACK_IMPORTED_MODULE_6__di_opaque_token__[\"a\"]; });\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/**\n * @module\n * @description\n * The `di` module provides dependency injection container services.\n */\n\n\n\n\n\n\n\n//# sourceMappingURL=di.js.map\n\n/***/ },\n/* 35 */\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(1);\n/* harmony export (binding) */ __webpack_require__.d(exports, \"a\", function() { return NG_VALUE_ACCESSOR; });\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\n/**\n * Used to provide a {@link ControlValueAccessor} for form controls.\n *\n * See {@link DefaultValueAccessor} for how to implement one.\n * @stable\n */\nvar NG_VALUE_ACCESSOR = new __WEBPACK_IMPORTED_MODULE_0__angular_core__[\"w\" /* OpaqueToken */]('NgValueAccessor');\n//# sourceMappingURL=control_value_accessor.js.map\n\n/***/ },\n/* 36 */\n/***/ function(module, exports, __webpack_require__) {\n\nvar fails = __webpack_require__(10);\n\nmodule.exports = function(method, arg){\n return !!method && fails(function(){\n arg ? method.call(null, function(){}, 1) : method.call(null);\n });\n};\n\n/***/ },\n/* 37 */\n/***/ function(module, exports, __webpack_require__) {\n\n// to indexed object, toObject with fallback for non-array-like ES3 strings\nvar IObject = __webpack_require__(98)\n , defined = __webpack_require__(49);\nmodule.exports = function(it){\n return IObject(defined(it));\n};\n\n/***/ },\n/* 38 */\n/***/ function(module, exports, __webpack_require__) {\n\n// 7.1.13 ToObject(argument)\nvar defined = __webpack_require__(49);\nmodule.exports = function(it){\n return Object(defined(it));\n};\n\n/***/ },\n/* 39 */\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__facade_lang__ = __webpack_require__(4);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__identifiers__ = __webpack_require__(14);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__output_output_ast__ = __webpack_require__(9);\n/* harmony export (immutable) */ exports[\"c\"] = createDiTokenExpression;\n/* harmony export (immutable) */ exports[\"d\"] = createInlineArray;\n/* harmony export (immutable) */ exports[\"a\"] = createPureProxy;\n/* harmony export (immutable) */ exports[\"b\"] = createEnumExpression;\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\n\n\nfunction createDiTokenExpression(token) {\n if (__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__facade_lang__[\"b\" /* isPresent */])(token.value)) {\n return __WEBPACK_IMPORTED_MODULE_2__output_output_ast__[\"d\" /* literal */](token.value);\n }\n else if (token.identifierIsInstance) {\n return __WEBPACK_IMPORTED_MODULE_2__output_output_ast__[\"e\" /* importExpr */](token.identifier)\n .instantiate([], __WEBPACK_IMPORTED_MODULE_2__output_output_ast__[\"k\" /* importType */](token.identifier, [], [__WEBPACK_IMPORTED_MODULE_2__output_output_ast__[\"m\" /* TypeModifier */].Const]));\n }\n else {\n return __WEBPACK_IMPORTED_MODULE_2__output_output_ast__[\"e\" /* importExpr */](token.identifier);\n }\n}\nfunction createInlineArray(values) {\n if (values.length === 0) {\n return __WEBPACK_IMPORTED_MODULE_2__output_output_ast__[\"e\" /* importExpr */](__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_1__identifiers__[\"d\" /* resolveIdentifier */])(__WEBPACK_IMPORTED_MODULE_1__identifiers__[\"b\" /* Identifiers */].EMPTY_INLINE_ARRAY));\n }\n var log2 = Math.log(values.length) / Math.log(2);\n var index = Math.ceil(log2);\n var identifierSpec = index < __WEBPACK_IMPORTED_MODULE_1__identifiers__[\"b\" /* Identifiers */].inlineArrays.length ? __WEBPACK_IMPORTED_MODULE_1__identifiers__[\"b\" /* Identifiers */].inlineArrays[index] :\n __WEBPACK_IMPORTED_MODULE_1__identifiers__[\"b\" /* Identifiers */].InlineArrayDynamic;\n var identifier = __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_1__identifiers__[\"d\" /* resolveIdentifier */])(identifierSpec);\n return __WEBPACK_IMPORTED_MODULE_2__output_output_ast__[\"e\" /* importExpr */](identifier).instantiate([\n __WEBPACK_IMPORTED_MODULE_2__output_output_ast__[\"d\" /* literal */](values.length)\n ].concat(values));\n}\nfunction createPureProxy(fn, argCount, pureProxyProp, builder) {\n builder.fields.push(new __WEBPACK_IMPORTED_MODULE_2__output_output_ast__[\"n\" /* ClassField */](pureProxyProp.name, null));\n var pureProxyId = argCount < __WEBPACK_IMPORTED_MODULE_1__identifiers__[\"b\" /* Identifiers */].pureProxies.length ? __WEBPACK_IMPORTED_MODULE_1__identifiers__[\"b\" /* Identifiers */].pureProxies[argCount] : null;\n if (!pureProxyId) {\n throw new Error(\"Unsupported number of argument for pure functions: \" + argCount);\n }\n builder.ctorStmts.push(__WEBPACK_IMPORTED_MODULE_2__output_output_ast__[\"o\" /* THIS_EXPR */].prop(pureProxyProp.name)\n .set(__WEBPACK_IMPORTED_MODULE_2__output_output_ast__[\"e\" /* importExpr */](__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_1__identifiers__[\"d\" /* resolveIdentifier */])(pureProxyId)).callFn([fn]))\n .toStmt());\n}\nfunction createEnumExpression(enumType, enumValue) {\n var enumName = Object.keys(enumType.runtime).find(function (propName) { return enumType.runtime[propName] === enumValue; });\n if (!enumName) {\n throw new Error(\"Unknown enum value \" + enumValue + \" in \" + enumType.name);\n }\n return __WEBPACK_IMPORTED_MODULE_2__output_output_ast__[\"e\" /* importExpr */](__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_1__identifiers__[\"e\" /* resolveEnumIdentifier */])(__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_1__identifiers__[\"d\" /* resolveIdentifier */])(enumType), enumName));\n}\n//# sourceMappingURL=identifier_util.js.map\n\n/***/ },\n/* 40 */\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__assertions__ = __webpack_require__(246);\n/* harmony export (binding) */ __webpack_require__.d(exports, \"b\", function() { return InterpolationConfig; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"a\", function() { return DEFAULT_INTERPOLATION_CONFIG; });\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nvar InterpolationConfig = (function () {\n function InterpolationConfig(start, end) {\n this.start = start;\n this.end = end;\n }\n InterpolationConfig.fromArray = function (markers) {\n if (!markers) {\n return DEFAULT_INTERPOLATION_CONFIG;\n }\n __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__assertions__[\"a\" /* assertInterpolationSymbols */])('interpolation', markers);\n return new InterpolationConfig(markers[0], markers[1]);\n };\n ;\n return InterpolationConfig;\n}());\nvar DEFAULT_INTERPOLATION_CONFIG = new InterpolationConfig('{{', '}}');\n//# sourceMappingURL=interpolation_config.js.map\n\n/***/ },\n/* 41 */\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* harmony export (binding) */ __webpack_require__.d(exports, \"i\", function() { return TextAst; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"h\", function() { return BoundTextAst; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"j\", function() { return AttrAst; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"d\", function() { return BoundElementPropertyAst; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"f\", function() { return BoundEventAst; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"n\", function() { return ReferenceAst; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"c\", function() { return VariableAst; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"m\", function() { return ElementAst; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"l\", function() { return EmbeddedTemplateAst; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"p\", function() { return BoundDirectivePropertyAst; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"o\", function() { return DirectiveAst; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"b\", function() { return ProviderAst; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"a\", function() { return ProviderAstType; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"k\", function() { return NgContentAst; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"e\", function() { return PropertyBindingType; });\n/* harmony export (immutable) */ exports[\"g\"] = templateVisitAll;\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/**\n * A segment of text within the template.\n */\nvar TextAst = (function () {\n function TextAst(value, ngContentIndex, sourceSpan) {\n this.value = value;\n this.ngContentIndex = ngContentIndex;\n this.sourceSpan = sourceSpan;\n }\n TextAst.prototype.visit = function (visitor, context) { return visitor.visitText(this, context); };\n return TextAst;\n}());\n/**\n * A bound expression within the text of a template.\n */\nvar BoundTextAst = (function () {\n function BoundTextAst(value, ngContentIndex, sourceSpan) {\n this.value = value;\n this.ngContentIndex = ngContentIndex;\n this.sourceSpan = sourceSpan;\n }\n BoundTextAst.prototype.visit = function (visitor, context) {\n return visitor.visitBoundText(this, context);\n };\n return BoundTextAst;\n}());\n/**\n * A plain attribute on an element.\n */\nvar AttrAst = (function () {\n function AttrAst(name, value, sourceSpan) {\n this.name = name;\n this.value = value;\n this.sourceSpan = sourceSpan;\n }\n AttrAst.prototype.visit = function (visitor, context) { return visitor.visitAttr(this, context); };\n return AttrAst;\n}());\n/**\n * A binding for an element property (e.g. `[property]=\"expression\"`) or an animation trigger (e.g.\n * `[@trigger]=\"stateExp\"`)\n */\nvar BoundElementPropertyAst = (function () {\n function BoundElementPropertyAst(name, type, securityContext, needsRuntimeSecurityContext, value, unit, sourceSpan) {\n this.name = name;\n this.type = type;\n this.securityContext = securityContext;\n this.needsRuntimeSecurityContext = needsRuntimeSecurityContext;\n this.value = value;\n this.unit = unit;\n this.sourceSpan = sourceSpan;\n }\n BoundElementPropertyAst.prototype.visit = function (visitor, context) {\n return visitor.visitElementProperty(this, context);\n };\n Object.defineProperty(BoundElementPropertyAst.prototype, \"isAnimation\", {\n get: function () { return this.type === PropertyBindingType.Animation; },\n enumerable: true,\n configurable: true\n });\n return BoundElementPropertyAst;\n}());\n/**\n * A binding for an element event (e.g. `(event)=\"handler()\"`) or an animation trigger event (e.g.\n * `(@trigger.phase)=\"callback($event)\"`).\n */\nvar BoundEventAst = (function () {\n function BoundEventAst(name, target, phase, handler, sourceSpan) {\n this.name = name;\n this.target = target;\n this.phase = phase;\n this.handler = handler;\n this.sourceSpan = sourceSpan;\n }\n BoundEventAst.calcFullName = function (name, target, phase) {\n if (target) {\n return target + \":\" + name;\n }\n else if (phase) {\n return \"@\" + name + \".\" + phase;\n }\n else {\n return name;\n }\n };\n BoundEventAst.prototype.visit = function (visitor, context) {\n return visitor.visitEvent(this, context);\n };\n Object.defineProperty(BoundEventAst.prototype, \"fullName\", {\n get: function () { return BoundEventAst.calcFullName(this.name, this.target, this.phase); },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(BoundEventAst.prototype, \"isAnimation\", {\n get: function () { return !!this.phase; },\n enumerable: true,\n configurable: true\n });\n return BoundEventAst;\n}());\n/**\n * A reference declaration on an element (e.g. `let someName=\"expression\"`).\n */\nvar ReferenceAst = (function () {\n function ReferenceAst(name, value, sourceSpan) {\n this.name = name;\n this.value = value;\n this.sourceSpan = sourceSpan;\n }\n ReferenceAst.prototype.visit = function (visitor, context) {\n return visitor.visitReference(this, context);\n };\n return ReferenceAst;\n}());\n/**\n * A variable declaration on a (e.g. `var-someName=\"someLocalName\"`).\n */\nvar VariableAst = (function () {\n function VariableAst(name, value, sourceSpan) {\n this.name = name;\n this.value = value;\n this.sourceSpan = sourceSpan;\n }\n VariableAst.prototype.visit = function (visitor, context) {\n return visitor.visitVariable(this, context);\n };\n return VariableAst;\n}());\n/**\n * An element declaration in a template.\n */\nvar ElementAst = (function () {\n function ElementAst(name, attrs, inputs, outputs, references, directives, providers, hasViewContainer, children, ngContentIndex, sourceSpan, endSourceSpan) {\n this.name = name;\n this.attrs = attrs;\n this.inputs = inputs;\n this.outputs = outputs;\n this.references = references;\n this.directives = directives;\n this.providers = providers;\n this.hasViewContainer = hasViewContainer;\n this.children = children;\n this.ngContentIndex = ngContentIndex;\n this.sourceSpan = sourceSpan;\n this.endSourceSpan = endSourceSpan;\n }\n ElementAst.prototype.visit = function (visitor, context) {\n return visitor.visitElement(this, context);\n };\n return ElementAst;\n}());\n/**\n * A `` element included in an Angular template.\n */\nvar EmbeddedTemplateAst = (function () {\n function EmbeddedTemplateAst(attrs, outputs, references, variables, directives, providers, hasViewContainer, children, ngContentIndex, sourceSpan) {\n this.attrs = attrs;\n this.outputs = outputs;\n this.references = references;\n this.variables = variables;\n this.directives = directives;\n this.providers = providers;\n this.hasViewContainer = hasViewContainer;\n this.children = children;\n this.ngContentIndex = ngContentIndex;\n this.sourceSpan = sourceSpan;\n }\n EmbeddedTemplateAst.prototype.visit = function (visitor, context) {\n return visitor.visitEmbeddedTemplate(this, context);\n };\n return EmbeddedTemplateAst;\n}());\n/**\n * A directive property with a bound value (e.g. `*ngIf=\"condition\").\n */\nvar BoundDirectivePropertyAst = (function () {\n function BoundDirectivePropertyAst(directiveName, templateName, value, sourceSpan) {\n this.directiveName = directiveName;\n this.templateName = templateName;\n this.value = value;\n this.sourceSpan = sourceSpan;\n }\n BoundDirectivePropertyAst.prototype.visit = function (visitor, context) {\n return visitor.visitDirectiveProperty(this, context);\n };\n return BoundDirectivePropertyAst;\n}());\n/**\n * A directive declared on an element.\n */\nvar DirectiveAst = (function () {\n function DirectiveAst(directive, inputs, hostProperties, hostEvents, sourceSpan) {\n this.directive = directive;\n this.inputs = inputs;\n this.hostProperties = hostProperties;\n this.hostEvents = hostEvents;\n this.sourceSpan = sourceSpan;\n }\n DirectiveAst.prototype.visit = function (visitor, context) {\n return visitor.visitDirective(this, context);\n };\n return DirectiveAst;\n}());\n/**\n * A provider declared on an element\n */\nvar ProviderAst = (function () {\n function ProviderAst(token, multiProvider, eager, providers, providerType, lifecycleHooks, sourceSpan) {\n this.token = token;\n this.multiProvider = multiProvider;\n this.eager = eager;\n this.providers = providers;\n this.providerType = providerType;\n this.lifecycleHooks = lifecycleHooks;\n this.sourceSpan = sourceSpan;\n }\n ProviderAst.prototype.visit = function (visitor, context) {\n // No visit method in the visitor for now...\n return null;\n };\n return ProviderAst;\n}());\nvar ProviderAstType;\n(function (ProviderAstType) {\n ProviderAstType[ProviderAstType[\"PublicService\"] = 0] = \"PublicService\";\n ProviderAstType[ProviderAstType[\"PrivateService\"] = 1] = \"PrivateService\";\n ProviderAstType[ProviderAstType[\"Component\"] = 2] = \"Component\";\n ProviderAstType[ProviderAstType[\"Directive\"] = 3] = \"Directive\";\n ProviderAstType[ProviderAstType[\"Builtin\"] = 4] = \"Builtin\";\n})(ProviderAstType || (ProviderAstType = {}));\n/**\n * Position where content is to be projected (instance of `` in a template).\n */\nvar NgContentAst = (function () {\n function NgContentAst(index, ngContentIndex, sourceSpan) {\n this.index = index;\n this.ngContentIndex = ngContentIndex;\n this.sourceSpan = sourceSpan;\n }\n NgContentAst.prototype.visit = function (visitor, context) {\n return visitor.visitNgContent(this, context);\n };\n return NgContentAst;\n}());\n/**\n * Enumeration of types of property bindings.\n */\nvar PropertyBindingType;\n(function (PropertyBindingType) {\n /**\n * A normal binding to a property (e.g. `[property]=\"expression\"`).\n */\n PropertyBindingType[PropertyBindingType[\"Property\"] = 0] = \"Property\";\n /**\n * A binding to an element attribute (e.g. `[attr.name]=\"expression\"`).\n */\n PropertyBindingType[PropertyBindingType[\"Attribute\"] = 1] = \"Attribute\";\n /**\n * A binding to a CSS class (e.g. `[class.name]=\"condition\"`).\n */\n PropertyBindingType[PropertyBindingType[\"Class\"] = 2] = \"Class\";\n /**\n * A binding to a style rule (e.g. `[style.rule]=\"expression\"`).\n */\n PropertyBindingType[PropertyBindingType[\"Style\"] = 3] = \"Style\";\n /**\n * A binding to an animation reference (e.g. `[animate.key]=\"expression\"`).\n */\n PropertyBindingType[PropertyBindingType[\"Animation\"] = 4] = \"Animation\";\n})(PropertyBindingType || (PropertyBindingType = {}));\n/**\n * Visit every node in a list of {@link TemplateAst}s with the given {@link TemplateAstVisitor}.\n */\nfunction templateVisitAll(visitor, asts, context) {\n if (context === void 0) { context = null; }\n var result = [];\n var visit = visitor.visit ?\n function (ast) { return visitor.visit(ast, context) || ast.visit(visitor, context); } :\n function (ast) { return ast.visit(visitor, context); };\n asts.forEach(function (ast) {\n var astResult = visit(ast);\n if (astResult) {\n result.push(astResult);\n }\n });\n return result;\n}\n//# sourceMappingURL=template_ast.js.map\n\n/***/ },\n/* 42 */\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(1);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_rxjs_operator_toPromise__ = __webpack_require__(379);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_rxjs_operator_toPromise___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_rxjs_operator_toPromise__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__facade_collection__ = __webpack_require__(299);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__facade_lang__ = __webpack_require__(77);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__private_import_core__ = __webpack_require__(301);\n/* harmony export (binding) */ __webpack_require__.d(exports, \"b\", function() { return NG_VALIDATORS; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"c\", function() { return NG_ASYNC_VALIDATORS; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"a\", function() { return Validators; });\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\n\n\n\n\nfunction isEmptyInputValue(value) {\n return value == null || typeof value === 'string' && value.length === 0;\n}\n/**\n * Providers for validators to be used for {@link FormControl}s in a form.\n *\n * Provide this using `multi: true` to add validators.\n *\n * ### Example\n *\n * {@example core/forms/ts/ng_validators/ng_validators.ts region='ng_validators'}\n * @stable\n */\nvar NG_VALIDATORS = new __WEBPACK_IMPORTED_MODULE_0__angular_core__[\"w\" /* OpaqueToken */]('NgValidators');\n/**\n * Providers for asynchronous validators to be used for {@link FormControl}s\n * in a form.\n *\n * Provide this using `multi: true` to add validators.\n *\n * See {@link NG_VALIDATORS} for more details.\n *\n * @stable\n */\nvar NG_ASYNC_VALIDATORS = new __WEBPACK_IMPORTED_MODULE_0__angular_core__[\"w\" /* OpaqueToken */]('NgAsyncValidators');\n/**\n * Provides a set of validators used by form controls.\n *\n * A validator is a function that processes a {@link FormControl} or collection of\n * controls and returns a map of errors. A null map means that validation has passed.\n *\n * ### Example\n *\n * ```typescript\n * var loginControl = new FormControl(\"\", Validators.required)\n * ```\n *\n * @stable\n */\nvar Validators = (function () {\n function Validators() {\n }\n /**\n * Validator that requires controls to have a non-empty value.\n */\n Validators.required = function (control) {\n return isEmptyInputValue(control.value) ? { 'required': true } : null;\n };\n /**\n * Validator that requires controls to have a value of a minimum length.\n */\n Validators.minLength = function (minLength) {\n return function (control) {\n if (isEmptyInputValue(control.value)) {\n return null; // don't validate empty values to allow optional controls\n }\n var length = typeof control.value === 'string' ? control.value.length : 0;\n return length < minLength ?\n { 'minlength': { 'requiredLength': minLength, 'actualLength': length } } :\n null;\n };\n };\n /**\n * Validator that requires controls to have a value of a maximum length.\n */\n Validators.maxLength = function (maxLength) {\n return function (control) {\n var length = typeof control.value === 'string' ? control.value.length : 0;\n return length > maxLength ?\n { 'maxlength': { 'requiredLength': maxLength, 'actualLength': length } } :\n null;\n };\n };\n /**\n * Validator that requires a control to match a regex to its value.\n */\n Validators.pattern = function (pattern) {\n if (!pattern)\n return Validators.nullValidator;\n var regex;\n var regexStr;\n if (typeof pattern === 'string') {\n regexStr = \"^\" + pattern + \"$\";\n regex = new RegExp(regexStr);\n }\n else {\n regexStr = pattern.toString();\n regex = pattern;\n }\n return function (control) {\n if (isEmptyInputValue(control.value)) {\n return null; // don't validate empty values to allow optional controls\n }\n var value = control.value;\n return regex.test(value) ? null :\n { 'pattern': { 'requiredPattern': regexStr, 'actualValue': value } };\n };\n };\n /**\n * No-op validator.\n */\n Validators.nullValidator = function (c) { return null; };\n /**\n * Compose multiple validators into a single function that returns the union\n * of the individual error maps.\n */\n Validators.compose = function (validators) {\n if (!validators)\n return null;\n var presentValidators = validators.filter(__WEBPACK_IMPORTED_MODULE_3__facade_lang__[\"c\" /* isPresent */]);\n if (presentValidators.length == 0)\n return null;\n return function (control) {\n return _mergeErrors(_executeValidators(control, presentValidators));\n };\n };\n Validators.composeAsync = function (validators) {\n if (!validators)\n return null;\n var presentValidators = validators.filter(__WEBPACK_IMPORTED_MODULE_3__facade_lang__[\"c\" /* isPresent */]);\n if (presentValidators.length == 0)\n return null;\n return function (control) {\n var promises = _executeAsyncValidators(control, presentValidators).map(_convertToPromise);\n return Promise.all(promises).then(_mergeErrors);\n };\n };\n return Validators;\n}());\nfunction _convertToPromise(obj) {\n return __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_4__private_import_core__[\"a\" /* isPromise */])(obj) ? obj : __WEBPACK_IMPORTED_MODULE_1_rxjs_operator_toPromise__[\"toPromise\"].call(obj);\n}\nfunction _executeValidators(control, validators) {\n return validators.map(function (v) { return v(control); });\n}\nfunction _executeAsyncValidators(control, validators) {\n return validators.map(function (v) { return v(control); });\n}\nfunction _mergeErrors(arrayOfErrors) {\n var res = arrayOfErrors.reduce(function (res, errors) {\n return __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_3__facade_lang__[\"c\" /* isPresent */])(errors) ? __WEBPACK_IMPORTED_MODULE_2__facade_collection__[\"a\" /* StringMapWrapper */].merge(res, errors) : res;\n }, {});\n return Object.keys(res).length === 0 ? null : res;\n}\n//# sourceMappingURL=validators.js.map\n\n/***/ },\n/* 43 */\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* WEBPACK VAR INJECTION */(function(global) {/* unused harmony export scheduleMicroTask */\n/* harmony export (binding) */ __webpack_require__.d(exports, \"d\", function() { return _global; });\n/* unused harmony export getTypeNameForDebugging */\n/* harmony export (immutable) */ exports[\"a\"] = isPresent;\n/* harmony export (immutable) */ exports[\"b\"] = isBlank;\n/* unused harmony export isStrictStringMap */\n/* unused harmony export isDate */\n/* harmony export (immutable) */ exports[\"g\"] = stringify;\n/* unused harmony export NumberWrapper */\n/* unused harmony export looseIdentical */\n/* harmony export (immutable) */ exports[\"e\"] = isJsObject;\n/* unused harmony export print */\n/* unused harmony export warn */\n/* harmony export (immutable) */ exports[\"c\"] = setValueOnPath;\n/* harmony export (immutable) */ exports[\"f\"] = getSymbolIterator;\n/* unused harmony export isPrimitive */\n/* unused harmony export escapeRegExp */\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nvar globalScope;\nif (typeof window === 'undefined') {\n if (typeof WorkerGlobalScope !== 'undefined' && self instanceof WorkerGlobalScope) {\n // TODO: Replace any with WorkerGlobalScope from lib.webworker.d.ts #3492\n globalScope = self;\n }\n else {\n globalScope = global;\n }\n}\nelse {\n globalScope = window;\n}\nfunction scheduleMicroTask(fn) {\n Zone.current.scheduleMicroTask('scheduleMicrotask', fn);\n}\n// Need to declare a new variable for global here since TypeScript\n// exports the original value of the symbol.\nvar _global = globalScope;\n\nfunction getTypeNameForDebugging(type) {\n return type['name'] || typeof type;\n}\n// TODO: remove calls to assert in production environment\n// Note: Can't just export this and import in in other files\n// as `assert` is a reserved keyword in Dart\n_global.assert = function assert(condition) {\n // TODO: to be fixed properly via #2830, noop for now\n};\nfunction isPresent(obj) {\n return obj != null;\n}\nfunction isBlank(obj) {\n return obj == null;\n}\nvar STRING_MAP_PROTO = Object.getPrototypeOf({});\nfunction isStrictStringMap(obj) {\n return typeof obj === 'object' && obj !== null && Object.getPrototypeOf(obj) === STRING_MAP_PROTO;\n}\nfunction isDate(obj) {\n return obj instanceof Date && !isNaN(obj.valueOf());\n}\nfunction stringify(token) {\n if (typeof token === 'string') {\n return token;\n }\n if (token == null) {\n return '' + token;\n }\n if (token.overriddenName) {\n return token.overriddenName;\n }\n if (token.name) {\n return token.name;\n }\n var res = token.toString();\n var newLineIndex = res.indexOf('\\n');\n return newLineIndex === -1 ? res : res.substring(0, newLineIndex);\n}\nvar NumberWrapper = (function () {\n function NumberWrapper() {\n }\n NumberWrapper.parseIntAutoRadix = function (text) {\n var result = parseInt(text);\n if (isNaN(result)) {\n throw new Error('Invalid integer literal when parsing ' + text);\n }\n return result;\n };\n NumberWrapper.isNumeric = function (value) { return !isNaN(value - parseFloat(value)); };\n return NumberWrapper;\n}());\n// JS has NaN !== NaN\nfunction looseIdentical(a, b) {\n return a === b || typeof a === 'number' && typeof b === 'number' && isNaN(a) && isNaN(b);\n}\nfunction isJsObject(o) {\n return o !== null && (typeof o === 'function' || typeof o === 'object');\n}\nfunction print(obj) {\n // tslint:disable-next-line:no-console\n console.log(obj);\n}\nfunction warn(obj) {\n console.warn(obj);\n}\nfunction setValueOnPath(global, path, value) {\n var parts = path.split('.');\n var obj = global;\n while (parts.length > 1) {\n var name_1 = parts.shift();\n if (obj.hasOwnProperty(name_1) && obj[name_1] != null) {\n obj = obj[name_1];\n }\n else {\n obj = obj[name_1] = {};\n }\n }\n if (obj === undefined || obj === null) {\n obj = {};\n }\n obj[parts.shift()] = value;\n}\nvar _symbolIterator = null;\nfunction getSymbolIterator() {\n if (!_symbolIterator) {\n if (globalScope.Symbol && Symbol.iterator) {\n _symbolIterator = Symbol.iterator;\n }\n else {\n // es6-shim specific logic\n var keys = Object.getOwnPropertyNames(Map.prototype);\n for (var i = 0; i < keys.length; ++i) {\n var key = keys[i];\n if (key !== 'entries' && key !== 'size' &&\n Map.prototype[key] === Map.prototype['entries']) {\n _symbolIterator = key;\n }\n }\n }\n }\n return _symbolIterator;\n}\nfunction isPrimitive(obj) {\n return !isJsObject(obj);\n}\nfunction escapeRegExp(s) {\n return s.replace(/([.*+?^=!:${}()|[\\]\\/\\\\])/g, '\\\\$1');\n}\n//# sourceMappingURL=lang.js.map\n/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(63)))\n\n/***/ },\n/* 44 */\n/***/ function(module, exports, __webpack_require__) {\n\n// most Object methods by ES6 should accept primitives\nvar $export = __webpack_require__(2)\n , core = __webpack_require__(15)\n , fails = __webpack_require__(10);\nmodule.exports = function(KEY, exec){\n var fn = (core.Object || {})[KEY] || Object[KEY]\n , exp = {};\n exp[KEY] = exec(fn);\n $export($export.S + $export.F * fails(function(){ fn(1); }), 'Object', exp);\n};\n\n/***/ },\n/* 45 */\n/***/ function(module, exports) {\n\n\"use strict\";\n\"use strict\";\nexports.isArray = Array.isArray || (function (x) { return x && typeof x.length === 'number'; });\n//# sourceMappingURL=isArray.js.map\n\n/***/ },\n/* 46 */\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__facade_lang__ = __webpack_require__(4);\n/* harmony export (binding) */ __webpack_require__.d(exports, \"f\", function() { return MODULE_SUFFIX; });\n/* unused harmony export camelCaseToDashCase */\n/* harmony export (immutable) */ exports[\"h\"] = dashCaseToCamelCase;\n/* harmony export (immutable) */ exports[\"b\"] = splitAtColon;\n/* harmony export (immutable) */ exports[\"c\"] = splitAtPeriod;\n/* harmony export (immutable) */ exports[\"a\"] = sanitizeIdentifier;\n/* harmony export (immutable) */ exports[\"d\"] = visitValue;\n/* harmony export (binding) */ __webpack_require__.d(exports, \"g\", function() { return ValueTransformer; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"e\", function() { return SyncAsyncResult; });\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nvar MODULE_SUFFIX = '';\nvar CAMEL_CASE_REGEXP = /([A-Z])/g;\nvar DASH_CASE_REGEXP = /-+([a-z0-9])/g;\nfunction camelCaseToDashCase(input) {\n return input.replace(CAMEL_CASE_REGEXP, function () {\n var m = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n m[_i - 0] = arguments[_i];\n }\n return '-' + m[1].toLowerCase();\n });\n}\nfunction dashCaseToCamelCase(input) {\n return input.replace(DASH_CASE_REGEXP, function () {\n var m = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n m[_i - 0] = arguments[_i];\n }\n return m[1].toUpperCase();\n });\n}\nfunction splitAtColon(input, defaultValues) {\n return _splitAt(input, ':', defaultValues);\n}\nfunction splitAtPeriod(input, defaultValues) {\n return _splitAt(input, '.', defaultValues);\n}\nfunction _splitAt(input, character, defaultValues) {\n var characterIndex = input.indexOf(character);\n if (characterIndex == -1)\n return defaultValues;\n return [input.slice(0, characterIndex).trim(), input.slice(characterIndex + 1).trim()];\n}\nfunction sanitizeIdentifier(name) {\n return name.replace(/\\W/g, '_');\n}\nfunction visitValue(value, visitor, context) {\n if (Array.isArray(value)) {\n return visitor.visitArray(value, context);\n }\n if (__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__facade_lang__[\"g\" /* isStrictStringMap */])(value)) {\n return visitor.visitStringMap(value, context);\n }\n if (__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__facade_lang__[\"a\" /* isBlank */])(value) || __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__facade_lang__[\"h\" /* isPrimitive */])(value)) {\n return visitor.visitPrimitive(value, context);\n }\n return visitor.visitOther(value, context);\n}\nvar ValueTransformer = (function () {\n function ValueTransformer() {\n }\n ValueTransformer.prototype.visitArray = function (arr, context) {\n var _this = this;\n return arr.map(function (value) { return visitValue(value, _this, context); });\n };\n ValueTransformer.prototype.visitStringMap = function (map, context) {\n var _this = this;\n var result = {};\n Object.keys(map).forEach(function (key) { result[key] = visitValue(map[key], _this, context); });\n return result;\n };\n ValueTransformer.prototype.visitPrimitive = function (value, context) { return value; };\n ValueTransformer.prototype.visitOther = function (value, context) { return value; };\n return ValueTransformer;\n}());\nvar SyncAsyncResult = (function () {\n function SyncAsyncResult(syncResult, asyncResult) {\n if (asyncResult === void 0) { asyncResult = null; }\n this.syncResult = syncResult;\n this.asyncResult = asyncResult;\n if (!asyncResult) {\n this.asyncResult = Promise.resolve(syncResult);\n }\n }\n return SyncAsyncResult;\n}());\n//# sourceMappingURL=util.js.map\n\n/***/ },\n/* 47 */\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__abstract_control_directive__ = __webpack_require__(193);\n/* harmony export (binding) */ __webpack_require__.d(exports, \"a\", function() { return ControlContainer; });\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nvar __extends = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\n\n/**\n * A directive that contains multiple {@link NgControl}s.\n *\n * Only used by the forms module.\n *\n * @stable\n */\nvar ControlContainer = (function (_super) {\n __extends(ControlContainer, _super);\n function ControlContainer() {\n _super.apply(this, arguments);\n }\n Object.defineProperty(ControlContainer.prototype, \"formDirective\", {\n /**\n * Get the form to which this container belongs.\n */\n get: function () { return null; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(ControlContainer.prototype, \"path\", {\n /**\n * Get the path to this container.\n */\n get: function () { return null; },\n enumerable: true,\n configurable: true\n });\n return ControlContainer;\n}(__WEBPACK_IMPORTED_MODULE_0__abstract_control_directive__[\"a\" /* AbstractControlDirective */]));\n//# sourceMappingURL=control_container.js.map\n\n/***/ },\n/* 48 */\n/***/ function(module, exports, __webpack_require__) {\n\n// 0 -> Array#forEach\n// 1 -> Array#map\n// 2 -> Array#filter\n// 3 -> Array#some\n// 4 -> Array#every\n// 5 -> Array#find\n// 6 -> Array#findIndex\nvar ctx = __webpack_require__(79)\n , IObject = __webpack_require__(98)\n , toObject = __webpack_require__(38)\n , toLength = __webpack_require__(32)\n , asc = __webpack_require__(512);\nmodule.exports = function(TYPE, $create){\n var IS_MAP = TYPE == 1\n , IS_FILTER = TYPE == 2\n , IS_SOME = TYPE == 3\n , IS_EVERY = TYPE == 4\n , IS_FIND_INDEX = TYPE == 6\n , NO_HOLES = TYPE == 5 || IS_FIND_INDEX\n , create = $create || asc;\n return function($this, callbackfn, that){\n var O = toObject($this)\n , self = IObject(O)\n , f = ctx(callbackfn, that, 3)\n , length = toLength(self.length)\n , index = 0\n , result = IS_MAP ? create($this, length) : IS_FILTER ? create($this, 0) : undefined\n , val, res;\n for(;length > index; index++)if(NO_HOLES || index in self){\n val = self[index];\n res = f(val, index, O);\n if(TYPE){\n if(IS_MAP)result[index] = res; // map\n else if(res)switch(TYPE){\n case 3: return true; // some\n case 5: return val; // find\n case 6: return index; // findIndex\n case 2: result.push(val); // filter\n } else if(IS_EVERY)return false; // every\n }\n }\n return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : result;\n };\n};\n\n/***/ },\n/* 49 */\n/***/ function(module, exports) {\n\n// 7.2.1 RequireObjectCoercible(argument)\nmodule.exports = function(it){\n if(it == undefined)throw TypeError(\"Can't call method on \" + it);\n return it;\n};\n\n/***/ },\n/* 50 */\n/***/ function(module, exports, __webpack_require__) {\n\nvar dP = __webpack_require__(18)\n , createDesc = __webpack_require__(70);\nmodule.exports = __webpack_require__(23) ? function(object, key, value){\n return dP.f(object, key, createDesc(1, value));\n} : function(object, key, value){\n object[key] = value;\n return object;\n};\n\n/***/ },\n/* 51 */\n/***/ function(module, exports, __webpack_require__) {\n\nvar Map = __webpack_require__(352)\n , $export = __webpack_require__(2)\n , shared = __webpack_require__(143)('metadata')\n , store = shared.store || (shared.store = new (__webpack_require__(633)));\n\nvar getOrCreateMetadataMap = function(target, targetKey, create){\n var targetMetadata = store.get(target);\n if(!targetMetadata){\n if(!create)return undefined;\n store.set(target, targetMetadata = new Map);\n }\n var keyMetadata = targetMetadata.get(targetKey);\n if(!keyMetadata){\n if(!create)return undefined;\n targetMetadata.set(targetKey, keyMetadata = new Map);\n } return keyMetadata;\n};\nvar ordinaryHasOwnMetadata = function(MetadataKey, O, P){\n var metadataMap = getOrCreateMetadataMap(O, P, false);\n return metadataMap === undefined ? false : metadataMap.has(MetadataKey);\n};\nvar ordinaryGetOwnMetadata = function(MetadataKey, O, P){\n var metadataMap = getOrCreateMetadataMap(O, P, false);\n return metadataMap === undefined ? undefined : metadataMap.get(MetadataKey);\n};\nvar ordinaryDefineOwnMetadata = function(MetadataKey, MetadataValue, O, P){\n getOrCreateMetadataMap(O, P, true).set(MetadataKey, MetadataValue);\n};\nvar ordinaryOwnMetadataKeys = function(target, targetKey){\n var metadataMap = getOrCreateMetadataMap(target, targetKey, false)\n , keys = [];\n if(metadataMap)metadataMap.forEach(function(_, key){ keys.push(key); });\n return keys;\n};\nvar toMetaKey = function(it){\n return it === undefined || typeof it == 'symbol' ? it : String(it);\n};\nvar exp = function(O){\n $export($export.S, 'Reflect', O);\n};\n\nmodule.exports = {\n store: store,\n map: getOrCreateMetadataMap,\n has: ordinaryHasOwnMetadata,\n get: ordinaryGetOwnMetadata,\n set: ordinaryDefineOwnMetadata,\n keys: ordinaryOwnMetadataKeys,\n key: toMetaKey,\n exp: exp\n};\n\n/***/ },\n/* 52 */\n/***/ function(module, exports, __webpack_require__) {\n\n// 19.1.2.9 / 15.2.3.2 Object.getPrototypeOf(O)\nvar has = __webpack_require__(27)\n , toObject = __webpack_require__(38)\n , IE_PROTO = __webpack_require__(225)('IE_PROTO')\n , ObjectProto = Object.prototype;\n\nmodule.exports = Object.getPrototypeOf || function(O){\n O = toObject(O);\n if(has(O, IE_PROTO))return O[IE_PROTO];\n if(typeof O.constructor == 'function' && O instanceof O.constructor){\n return O.constructor.prototype;\n } return O instanceof Object ? ObjectProto : null;\n};\n\n/***/ },\n/* 53 */\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\"use strict\";\nvar __extends = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\nvar Observable_1 = __webpack_require__(0);\nvar ScalarObservable_1 = __webpack_require__(229);\nvar EmptyObservable_1 = __webpack_require__(61);\nvar isScheduler_1 = __webpack_require__(62);\n/**\n * We need this JSDoc comment for affecting ESDoc.\n * @extends {Ignored}\n * @hide true\n */\nvar ArrayObservable = (function (_super) {\n __extends(ArrayObservable, _super);\n function ArrayObservable(array, scheduler) {\n _super.call(this);\n this.array = array;\n this.scheduler = scheduler;\n if (!scheduler && array.length === 1) {\n this._isScalar = true;\n this.value = array[0];\n }\n }\n ArrayObservable.create = function (array, scheduler) {\n return new ArrayObservable(array, scheduler);\n };\n /**\n * Creates an Observable that emits some values you specify as arguments,\n * immediately one after the other, and then emits a complete notification.\n *\n * Emits the arguments you provide, then completes.\n * \n *\n *
\n *\n * This static operator is useful for creating a simple Observable that only\n * emits the arguments given, and the complete notification thereafter. It can\n * be used for composing with other Observables, such as with {@link concat}.\n * By default, it uses a `null` Scheduler, which means the `next`\n * notifications are sent synchronously, although with a different Scheduler\n * it is possible to determine when those notifications will be delivered.\n *\n * @example Emit 10, 20, 30, then 'a', 'b', 'c', then start ticking every second.\n * var numbers = Rx.Observable.of(10, 20, 30);\n * var letters = Rx.Observable.of('a', 'b', 'c');\n * var interval = Rx.Observable.interval(1000);\n * var result = numbers.concat(letters).concat(interval);\n * result.subscribe(x => console.log(x));\n *\n * @see {@link create}\n * @see {@link empty}\n * @see {@link never}\n * @see {@link throw}\n *\n * @param {...T} values Arguments that represent `next` values to be emitted.\n * @param {Scheduler} [scheduler] A {@link Scheduler} to use for scheduling\n * the emissions of the `next` notifications.\n * @return {Observable} An Observable that emits each given input value.\n * @static true\n * @name of\n * @owner Observable\n */\n ArrayObservable.of = function () {\n var array = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n array[_i - 0] = arguments[_i];\n }\n var scheduler = array[array.length - 1];\n if (isScheduler_1.isScheduler(scheduler)) {\n array.pop();\n }\n else {\n scheduler = null;\n }\n var len = array.length;\n if (len > 1) {\n return new ArrayObservable(array, scheduler);\n }\n else if (len === 1) {\n return new ScalarObservable_1.ScalarObservable(array[0], scheduler);\n }\n else {\n return new EmptyObservable_1.EmptyObservable(scheduler);\n }\n };\n ArrayObservable.dispatch = function (state) {\n var array = state.array, index = state.index, count = state.count, subscriber = state.subscriber;\n if (index >= count) {\n subscriber.complete();\n return;\n }\n subscriber.next(array[index]);\n if (subscriber.closed) {\n return;\n }\n state.index = index + 1;\n this.schedule(state);\n };\n ArrayObservable.prototype._subscribe = function (subscriber) {\n var index = 0;\n var array = this.array;\n var count = array.length;\n var scheduler = this.scheduler;\n if (scheduler) {\n return scheduler.schedule(ArrayObservable.dispatch, 0, {\n array: array, index: index, count: count, subscriber: subscriber\n });\n }\n else {\n for (var i = 0; i < count && !subscriber.closed; i++) {\n subscriber.next(array[i]);\n }\n subscriber.complete();\n }\n };\n return ArrayObservable;\n}(Observable_1.Observable));\nexports.ArrayObservable = ArrayObservable;\n//# sourceMappingURL=ArrayObservable.js.map\n\n/***/ },\n/* 54 */\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__facade_errors__ = __webpack_require__(400);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__facade_lang__ = __webpack_require__(30);\n/* harmony export (binding) */ __webpack_require__.d(exports, \"a\", function() { return InvalidPipeArgumentError; });\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nvar __extends = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\n\n\nvar InvalidPipeArgumentError = (function (_super) {\n __extends(InvalidPipeArgumentError, _super);\n function InvalidPipeArgumentError(type, value) {\n _super.call(this, \"Invalid argument '\" + value + \"' for pipe '\" + __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_1__facade_lang__[\"e\" /* stringify */])(type) + \"'\");\n }\n return InvalidPipeArgumentError;\n}(__WEBPACK_IMPORTED_MODULE_0__facade_errors__[\"a\" /* BaseError */]));\n//# sourceMappingURL=invalid_pipe_argument_error.js.map\n\n/***/ },\n/* 55 */\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* harmony export (binding) */ __webpack_require__.d(exports, \"d\", function() { return Text; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"b\", function() { return Expansion; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"c\", function() { return ExpansionCase; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"f\", function() { return Attribute; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"e\", function() { return Element; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"a\", function() { return Comment; });\n/* harmony export (immutable) */ exports[\"g\"] = visitAll;\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nvar Text = (function () {\n function Text(value, sourceSpan) {\n this.value = value;\n this.sourceSpan = sourceSpan;\n }\n Text.prototype.visit = function (visitor, context) { return visitor.visitText(this, context); };\n return Text;\n}());\nvar Expansion = (function () {\n function Expansion(switchValue, type, cases, sourceSpan, switchValueSourceSpan) {\n this.switchValue = switchValue;\n this.type = type;\n this.cases = cases;\n this.sourceSpan = sourceSpan;\n this.switchValueSourceSpan = switchValueSourceSpan;\n }\n Expansion.prototype.visit = function (visitor, context) { return visitor.visitExpansion(this, context); };\n return Expansion;\n}());\nvar ExpansionCase = (function () {\n function ExpansionCase(value, expression, sourceSpan, valueSourceSpan, expSourceSpan) {\n this.value = value;\n this.expression = expression;\n this.sourceSpan = sourceSpan;\n this.valueSourceSpan = valueSourceSpan;\n this.expSourceSpan = expSourceSpan;\n }\n ExpansionCase.prototype.visit = function (visitor, context) { return visitor.visitExpansionCase(this, context); };\n return ExpansionCase;\n}());\nvar Attribute = (function () {\n function Attribute(name, value, sourceSpan, valueSpan) {\n this.name = name;\n this.value = value;\n this.sourceSpan = sourceSpan;\n this.valueSpan = valueSpan;\n }\n Attribute.prototype.visit = function (visitor, context) { return visitor.visitAttribute(this, context); };\n return Attribute;\n}());\nvar Element = (function () {\n function Element(name, attrs, children, sourceSpan, startSourceSpan, endSourceSpan) {\n this.name = name;\n this.attrs = attrs;\n this.children = children;\n this.sourceSpan = sourceSpan;\n this.startSourceSpan = startSourceSpan;\n this.endSourceSpan = endSourceSpan;\n }\n Element.prototype.visit = function (visitor, context) { return visitor.visitElement(this, context); };\n return Element;\n}());\nvar Comment = (function () {\n function Comment(value, sourceSpan) {\n this.value = value;\n this.sourceSpan = sourceSpan;\n }\n Comment.prototype.visit = function (visitor, context) { return visitor.visitComment(this, context); };\n return Comment;\n}());\nfunction visitAll(visitor, nodes, context) {\n if (context === void 0) { context = null; }\n var result = [];\n var visit = visitor.visit ?\n function (ast) { return visitor.visit(ast, context) || ast.visit(visitor, context); } :\n function (ast) { return ast.visit(visitor, context); };\n nodes.forEach(function (ast) {\n var astResult = visit(ast);\n if (astResult) {\n result.push(astResult);\n }\n });\n return result;\n}\n//# sourceMappingURL=ast.js.map\n\n/***/ },\n/* 56 */\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* harmony export (binding) */ __webpack_require__.d(exports, \"a\", function() { return ElementSchemaRegistry; });\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nvar ElementSchemaRegistry = (function () {\n function ElementSchemaRegistry() {\n }\n return ElementSchemaRegistry;\n}());\n//# sourceMappingURL=element_schema_registry.js.map\n\n/***/ },\n/* 57 */\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__facade_lang__ = __webpack_require__(77);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__validators__ = __webpack_require__(42);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__checkbox_value_accessor__ = __webpack_require__(126);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__default_value_accessor__ = __webpack_require__(127);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__normalize_validator__ = __webpack_require__(465);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__number_value_accessor__ = __webpack_require__(196);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__radio_control_value_accessor__ = __webpack_require__(92);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__range_value_accessor__ = __webpack_require__(197);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__select_control_value_accessor__ = __webpack_require__(130);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__select_multiple_control_value_accessor__ = __webpack_require__(131);\n/* harmony export (immutable) */ exports[\"a\"] = controlPath;\n/* harmony export (immutable) */ exports[\"d\"] = setUpControl;\n/* harmony export (immutable) */ exports[\"h\"] = cleanUpControl;\n/* harmony export (immutable) */ exports[\"e\"] = setUpFormContainer;\n/* harmony export (immutable) */ exports[\"b\"] = composeValidators;\n/* harmony export (immutable) */ exports[\"c\"] = composeAsyncValidators;\n/* harmony export (immutable) */ exports[\"g\"] = isPropertyUpdated;\n/* unused harmony export isBuiltInAccessor */\n/* harmony export (immutable) */ exports[\"f\"] = selectValueAccessor;\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\n\n\n\n\n\n\n\n\n\nfunction controlPath(name, parent) {\n return parent.path.concat([name]);\n}\nfunction setUpControl(control, dir) {\n if (!control)\n _throwError(dir, 'Cannot find control with');\n if (!dir.valueAccessor)\n _throwError(dir, 'No value accessor for form control with');\n control.validator = __WEBPACK_IMPORTED_MODULE_1__validators__[\"a\" /* Validators */].compose([control.validator, dir.validator]);\n control.asyncValidator = __WEBPACK_IMPORTED_MODULE_1__validators__[\"a\" /* Validators */].composeAsync([control.asyncValidator, dir.asyncValidator]);\n dir.valueAccessor.writeValue(control.value);\n // view -> model\n dir.valueAccessor.registerOnChange(function (newValue) {\n dir.viewToModelUpdate(newValue);\n control.markAsDirty();\n control.setValue(newValue, { emitModelToViewChange: false });\n });\n // touched\n dir.valueAccessor.registerOnTouched(function () { return control.markAsTouched(); });\n control.registerOnChange(function (newValue, emitModelEvent) {\n // control -> view\n dir.valueAccessor.writeValue(newValue);\n // control -> ngModel\n if (emitModelEvent)\n dir.viewToModelUpdate(newValue);\n });\n if (dir.valueAccessor.setDisabledState) {\n control.registerOnDisabledChange(function (isDisabled) { dir.valueAccessor.setDisabledState(isDisabled); });\n }\n // re-run validation when validator binding changes, e.g. minlength=3 -> minlength=4\n dir._rawValidators.forEach(function (validator) {\n if (validator.registerOnValidatorChange)\n validator.registerOnValidatorChange(function () { return control.updateValueAndValidity(); });\n });\n dir._rawAsyncValidators.forEach(function (validator) {\n if (validator.registerOnValidatorChange)\n validator.registerOnValidatorChange(function () { return control.updateValueAndValidity(); });\n });\n}\nfunction cleanUpControl(control, dir) {\n dir.valueAccessor.registerOnChange(function () { return _noControlError(dir); });\n dir.valueAccessor.registerOnTouched(function () { return _noControlError(dir); });\n dir._rawValidators.forEach(function (validator) {\n if (validator.registerOnValidatorChange) {\n validator.registerOnValidatorChange(null);\n }\n });\n dir._rawAsyncValidators.forEach(function (validator) {\n if (validator.registerOnValidatorChange) {\n validator.registerOnValidatorChange(null);\n }\n });\n if (control)\n control._clearChangeFns();\n}\nfunction setUpFormContainer(control, dir) {\n if (__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__facade_lang__[\"f\" /* isBlank */])(control))\n _throwError(dir, 'Cannot find control with');\n control.validator = __WEBPACK_IMPORTED_MODULE_1__validators__[\"a\" /* Validators */].compose([control.validator, dir.validator]);\n control.asyncValidator = __WEBPACK_IMPORTED_MODULE_1__validators__[\"a\" /* Validators */].composeAsync([control.asyncValidator, dir.asyncValidator]);\n}\nfunction _noControlError(dir) {\n return _throwError(dir, 'There is no FormControl instance attached to form control element with');\n}\nfunction _throwError(dir, message) {\n var messageEnd;\n if (dir.path.length > 1) {\n messageEnd = \"path: '\" + dir.path.join(' -> ') + \"'\";\n }\n else if (dir.path[0]) {\n messageEnd = \"name: '\" + dir.path + \"'\";\n }\n else {\n messageEnd = 'unspecified name attribute';\n }\n throw new Error(message + \" \" + messageEnd);\n}\nfunction composeValidators(validators) {\n return __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__facade_lang__[\"c\" /* isPresent */])(validators) ? __WEBPACK_IMPORTED_MODULE_1__validators__[\"a\" /* Validators */].compose(validators.map(__WEBPACK_IMPORTED_MODULE_4__normalize_validator__[\"a\" /* normalizeValidator */])) : null;\n}\nfunction composeAsyncValidators(validators) {\n return __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__facade_lang__[\"c\" /* isPresent */])(validators) ? __WEBPACK_IMPORTED_MODULE_1__validators__[\"a\" /* Validators */].composeAsync(validators.map(__WEBPACK_IMPORTED_MODULE_4__normalize_validator__[\"b\" /* normalizeAsyncValidator */])) :\n null;\n}\nfunction isPropertyUpdated(changes, viewModel) {\n if (!changes.hasOwnProperty('model'))\n return false;\n var change = changes['model'];\n if (change.isFirstChange())\n return true;\n return !__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__facade_lang__[\"e\" /* looseIdentical */])(viewModel, change.currentValue);\n}\nvar BUILTIN_ACCESSORS = [\n __WEBPACK_IMPORTED_MODULE_2__checkbox_value_accessor__[\"a\" /* CheckboxControlValueAccessor */],\n __WEBPACK_IMPORTED_MODULE_7__range_value_accessor__[\"a\" /* RangeValueAccessor */],\n __WEBPACK_IMPORTED_MODULE_5__number_value_accessor__[\"a\" /* NumberValueAccessor */],\n __WEBPACK_IMPORTED_MODULE_8__select_control_value_accessor__[\"a\" /* SelectControlValueAccessor */],\n __WEBPACK_IMPORTED_MODULE_9__select_multiple_control_value_accessor__[\"a\" /* SelectMultipleControlValueAccessor */],\n __WEBPACK_IMPORTED_MODULE_6__radio_control_value_accessor__[\"a\" /* RadioControlValueAccessor */],\n];\nfunction isBuiltInAccessor(valueAccessor) {\n return BUILTIN_ACCESSORS.some(function (a) { return valueAccessor.constructor === a; });\n}\n// TODO: vsavkin remove it once https://github.com/angular/angular/issues/3011 is implemented\nfunction selectValueAccessor(dir, valueAccessors) {\n if (!valueAccessors)\n return null;\n var defaultAccessor;\n var builtinAccessor;\n var customAccessor;\n valueAccessors.forEach(function (v) {\n if (v.constructor === __WEBPACK_IMPORTED_MODULE_3__default_value_accessor__[\"a\" /* DefaultValueAccessor */]) {\n defaultAccessor = v;\n }\n else if (isBuiltInAccessor(v)) {\n if (builtinAccessor)\n _throwError(dir, 'More than one built-in value accessor matches form control with');\n builtinAccessor = v;\n }\n else {\n if (customAccessor)\n _throwError(dir, 'More than one custom value accessor matches form control with');\n customAccessor = v;\n }\n });\n if (customAccessor)\n return customAccessor;\n if (builtinAccessor)\n return builtinAccessor;\n if (defaultAccessor)\n return defaultAccessor;\n _throwError(dir, 'No valid value accessor for form control with');\n return null;\n}\n//# sourceMappingURL=shared.js.map\n\n/***/ },\n/* 58 */\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* harmony export (binding) */ __webpack_require__.d(exports, \"b\", function() { return RequestMethod; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"c\", function() { return ReadyState; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"a\", function() { return ResponseType; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"e\", function() { return ContentType; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"d\", function() { return ResponseContentType; });\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/**\n * Supported http methods.\n * @experimental\n */\nvar RequestMethod;\n(function (RequestMethod) {\n RequestMethod[RequestMethod[\"Get\"] = 0] = \"Get\";\n RequestMethod[RequestMethod[\"Post\"] = 1] = \"Post\";\n RequestMethod[RequestMethod[\"Put\"] = 2] = \"Put\";\n RequestMethod[RequestMethod[\"Delete\"] = 3] = \"Delete\";\n RequestMethod[RequestMethod[\"Options\"] = 4] = \"Options\";\n RequestMethod[RequestMethod[\"Head\"] = 5] = \"Head\";\n RequestMethod[RequestMethod[\"Patch\"] = 6] = \"Patch\";\n})(RequestMethod || (RequestMethod = {}));\n/**\n * All possible states in which a connection can be, based on\n * [States](http://www.w3.org/TR/XMLHttpRequest/#states) from the `XMLHttpRequest` spec, but with an\n * additional \"CANCELLED\" state.\n * @experimental\n */\nvar ReadyState;\n(function (ReadyState) {\n ReadyState[ReadyState[\"Unsent\"] = 0] = \"Unsent\";\n ReadyState[ReadyState[\"Open\"] = 1] = \"Open\";\n ReadyState[ReadyState[\"HeadersReceived\"] = 2] = \"HeadersReceived\";\n ReadyState[ReadyState[\"Loading\"] = 3] = \"Loading\";\n ReadyState[ReadyState[\"Done\"] = 4] = \"Done\";\n ReadyState[ReadyState[\"Cancelled\"] = 5] = \"Cancelled\";\n})(ReadyState || (ReadyState = {}));\n/**\n * Acceptable response types to be associated with a {@link Response}, based on\n * [ResponseType](https://fetch.spec.whatwg.org/#responsetype) from the Fetch spec.\n * @experimental\n */\nvar ResponseType;\n(function (ResponseType) {\n ResponseType[ResponseType[\"Basic\"] = 0] = \"Basic\";\n ResponseType[ResponseType[\"Cors\"] = 1] = \"Cors\";\n ResponseType[ResponseType[\"Default\"] = 2] = \"Default\";\n ResponseType[ResponseType[\"Error\"] = 3] = \"Error\";\n ResponseType[ResponseType[\"Opaque\"] = 4] = \"Opaque\";\n})(ResponseType || (ResponseType = {}));\n/**\n * Supported content type to be automatically associated with a {@link Request}.\n * @experimental\n */\nvar ContentType;\n(function (ContentType) {\n ContentType[ContentType[\"NONE\"] = 0] = \"NONE\";\n ContentType[ContentType[\"JSON\"] = 1] = \"JSON\";\n ContentType[ContentType[\"FORM\"] = 2] = \"FORM\";\n ContentType[ContentType[\"FORM_DATA\"] = 3] = \"FORM_DATA\";\n ContentType[ContentType[\"TEXT\"] = 4] = \"TEXT\";\n ContentType[ContentType[\"BLOB\"] = 5] = \"BLOB\";\n ContentType[ContentType[\"ARRAY_BUFFER\"] = 6] = \"ARRAY_BUFFER\";\n})(ContentType || (ContentType = {}));\n/**\n * Define which buffer to use to store the response\n * @experimental\n */\nvar ResponseContentType;\n(function (ResponseContentType) {\n ResponseContentType[ResponseContentType[\"Text\"] = 0] = \"Text\";\n ResponseContentType[ResponseContentType[\"Json\"] = 1] = \"Json\";\n ResponseContentType[ResponseContentType[\"ArrayBuffer\"] = 2] = \"ArrayBuffer\";\n ResponseContentType[ResponseContentType[\"Blob\"] = 3] = \"Blob\";\n})(ResponseContentType || (ResponseContentType = {}));\n//# sourceMappingURL=enums.js.map\n\n/***/ },\n/* 59 */\n/***/ function(module, exports, __webpack_require__) {\n\nvar META = __webpack_require__(102)('meta')\n , isObject = __webpack_require__(11)\n , has = __webpack_require__(27)\n , setDesc = __webpack_require__(18).f\n , id = 0;\nvar isExtensible = Object.isExtensible || function(){\n return true;\n};\nvar FREEZE = !__webpack_require__(10)(function(){\n return isExtensible(Object.preventExtensions({}));\n});\nvar setMeta = function(it){\n setDesc(it, META, {value: {\n i: 'O' + ++id, // object ID\n w: {} // weak collections IDs\n }});\n};\nvar fastKey = function(it, create){\n // return primitive with prefix\n if(!isObject(it))return typeof it == 'symbol' ? it : (typeof it == 'string' ? 'S' : 'P') + it;\n if(!has(it, META)){\n // can't set metadata to uncaught frozen object\n if(!isExtensible(it))return 'F';\n // not necessary to add metadata\n if(!create)return 'E';\n // add missing metadata\n setMeta(it);\n // return object ID\n } return it[META].i;\n};\nvar getWeak = function(it, create){\n if(!has(it, META)){\n // can't set metadata to uncaught frozen object\n if(!isExtensible(it))return true;\n // not necessary to add metadata\n if(!create)return false;\n // add missing metadata\n setMeta(it);\n // return hash weak collections IDs\n } return it[META].w;\n};\n// add metadata on freeze-family methods calling\nvar onFreeze = function(it){\n if(FREEZE && meta.NEED && isExtensible(it) && !has(it, META))setMeta(it);\n return it;\n};\nvar meta = module.exports = {\n KEY: META,\n NEED: false,\n fastKey: fastKey,\n getWeak: getWeak,\n onFreeze: onFreeze\n};\n\n/***/ },\n/* 60 */\n/***/ function(module, exports, __webpack_require__) {\n\nvar pIE = __webpack_require__(141)\n , createDesc = __webpack_require__(70)\n , toIObject = __webpack_require__(37)\n , toPrimitive = __webpack_require__(71)\n , has = __webpack_require__(27)\n , IE8_DOM_DEFINE = __webpack_require__(333)\n , gOPD = Object.getOwnPropertyDescriptor;\n\nexports.f = __webpack_require__(23) ? gOPD : function getOwnPropertyDescriptor(O, P){\n O = toIObject(O);\n P = toPrimitive(P, true);\n if(IE8_DOM_DEFINE)try {\n return gOPD(O, P);\n } catch(e){ /* empty */ }\n if(has(O, P))return createDesc(!pIE.f.call(O, P), O[P]);\n};\n\n/***/ },\n/* 61 */\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\"use strict\";\nvar __extends = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\nvar Observable_1 = __webpack_require__(0);\n/**\n * We need this JSDoc comment for affecting ESDoc.\n * @extends {Ignored}\n * @hide true\n */\nvar EmptyObservable = (function (_super) {\n __extends(EmptyObservable, _super);\n function EmptyObservable(scheduler) {\n _super.call(this);\n this.scheduler = scheduler;\n }\n /**\n * Creates an Observable that emits no items to the Observer and immediately\n * emits a complete notification.\n *\n * Just emits 'complete', and nothing else.\n * \n *\n *
\n *\n * This static operator is useful for creating a simple Observable that only\n * emits the complete notification. It can be used for composing with other\n * Observables, such as in a {@link mergeMap}.\n *\n * @example Emit the number 7, then complete.\n * var result = Rx.Observable.empty().startWith(7);\n * result.subscribe(x => console.log(x));\n *\n * @example Map and flatten only odd numbers to the sequence 'a', 'b', 'c'\n * var interval = Rx.Observable.interval(1000);\n * var result = interval.mergeMap(x =>\n * x % 2 === 1 ? Rx.Observable.of('a', 'b', 'c') : Rx.Observable.empty()\n * );\n * result.subscribe(x => console.log(x));\n *\n * @see {@link create}\n * @see {@link never}\n * @see {@link of}\n * @see {@link throw}\n *\n * @param {Scheduler} [scheduler] A {@link Scheduler} to use for scheduling\n * the emission of the complete notification.\n * @return {Observable} An \"empty\" Observable: emits only the complete\n * notification.\n * @static true\n * @name empty\n * @owner Observable\n */\n EmptyObservable.create = function (scheduler) {\n return new EmptyObservable(scheduler);\n };\n EmptyObservable.dispatch = function (arg) {\n var subscriber = arg.subscriber;\n subscriber.complete();\n };\n EmptyObservable.prototype._subscribe = function (subscriber) {\n var scheduler = this.scheduler;\n if (scheduler) {\n return scheduler.schedule(EmptyObservable.dispatch, 0, { subscriber: subscriber });\n }\n else {\n subscriber.complete();\n }\n };\n return EmptyObservable;\n}(Observable_1.Observable));\nexports.EmptyObservable = EmptyObservable;\n//# sourceMappingURL=EmptyObservable.js.map\n\n/***/ },\n/* 62 */\n/***/ function(module, exports) {\n\n\"use strict\";\n\"use strict\";\nfunction isScheduler(value) {\n return value && typeof value.schedule === 'function';\n}\nexports.isScheduler = isScheduler;\n//# sourceMappingURL=isScheduler.js.map\n\n/***/ },\n/* 63 */\n/***/ function(module, exports) {\n\nvar g;\r\n\r\n// This works in non-strict mode\r\ng = (function() { return this; })();\r\n\r\ntry {\r\n\t// This works if eval is allowed (see CSP)\r\n\tg = g || Function(\"return this\")() || (1,eval)(\"this\");\r\n} catch(e) {\r\n\t// This works if the window reference is available\r\n\tif(typeof window === \"object\")\r\n\t\tg = window;\r\n}\r\n\r\n// g can still be undefined, but nothing to do about it...\r\n// We return undefined, instead of nothing here, so it's\r\n// easier to handle this case. if(!global) { ...}\r\n\r\nmodule.exports = g;\r\n\n\n/***/ },\n/* 64 */\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(1);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__compiler_util_binding_util__ = __webpack_require__(247);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__compiler_util_expression_converter__ = __webpack_require__(84);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__compiler_util_render_util__ = __webpack_require__(248);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__config__ = __webpack_require__(72);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__expression_parser_parser__ = __webpack_require__(85);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__identifiers__ = __webpack_require__(14);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__ml_parser_interpolation_config__ = __webpack_require__(40);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__output_class_builder__ = __webpack_require__(169);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__output_output_ast__ = __webpack_require__(9);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__parse_util__ = __webpack_require__(33);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_11__private_import_core__ = __webpack_require__(17);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_12__schema_element_schema_registry__ = __webpack_require__(56);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_13__template_parser_binding_parser__ = __webpack_require__(266);\n/* unused harmony export DirectiveWrapperCompileResult */\n/* harmony export (binding) */ __webpack_require__.d(exports, \"a\", function() { return DirectiveWrapperCompiler; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"b\", function() { return DirectiveWrapperExpressions; });\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nvar DirectiveWrapperCompileResult = (function () {\n function DirectiveWrapperCompileResult(statements, dirWrapperClassVar) {\n this.statements = statements;\n this.dirWrapperClassVar = dirWrapperClassVar;\n }\n return DirectiveWrapperCompileResult;\n}());\nvar CONTEXT_FIELD_NAME = 'context';\nvar CHANGES_FIELD_NAME = '_changes';\nvar CHANGED_FIELD_NAME = '_changed';\nvar EVENT_HANDLER_FIELD_NAME = '_eventHandler';\nvar CURR_VALUE_VAR = __WEBPACK_IMPORTED_MODULE_9__output_output_ast__[\"a\" /* variable */]('currValue');\nvar THROW_ON_CHANGE_VAR = __WEBPACK_IMPORTED_MODULE_9__output_output_ast__[\"a\" /* variable */]('throwOnChange');\nvar FORCE_UPDATE_VAR = __WEBPACK_IMPORTED_MODULE_9__output_output_ast__[\"a\" /* variable */]('forceUpdate');\nvar VIEW_VAR = __WEBPACK_IMPORTED_MODULE_9__output_output_ast__[\"a\" /* variable */]('view');\nvar COMPONENT_VIEW_VAR = __WEBPACK_IMPORTED_MODULE_9__output_output_ast__[\"a\" /* variable */]('componentView');\nvar RENDER_EL_VAR = __WEBPACK_IMPORTED_MODULE_9__output_output_ast__[\"a\" /* variable */]('el');\nvar EVENT_NAME_VAR = __WEBPACK_IMPORTED_MODULE_9__output_output_ast__[\"a\" /* variable */]('eventName');\nvar RESET_CHANGES_STMT = __WEBPACK_IMPORTED_MODULE_9__output_output_ast__[\"o\" /* THIS_EXPR */].prop(CHANGES_FIELD_NAME).set(__WEBPACK_IMPORTED_MODULE_9__output_output_ast__[\"b\" /* literalMap */]([])).toStmt();\n/**\n * We generate directive wrappers to prevent code bloat when a directive is used.\n * A directive wrapper encapsulates\n * the dirty checking for `@Input`, the handling of `@HostListener` / `@HostBinding`\n * and calling the lifecyclehooks `ngOnInit`, `ngOnChanges`, `ngDoCheck`.\n *\n * So far, only `@Input` and the lifecycle hooks have been implemented.\n */\nvar DirectiveWrapperCompiler = (function () {\n function DirectiveWrapperCompiler(compilerConfig, _exprParser, _schemaRegistry, _console) {\n this.compilerConfig = compilerConfig;\n this._exprParser = _exprParser;\n this._schemaRegistry = _schemaRegistry;\n this._console = _console;\n }\n DirectiveWrapperCompiler.dirWrapperClassName = function (id) { return \"Wrapper_\" + id.name; };\n DirectiveWrapperCompiler.prototype.compile = function (dirMeta) {\n var hostParseResult = parseHostBindings(dirMeta, this._exprParser, this._schemaRegistry);\n reportParseErrors(hostParseResult.errors, this._console);\n var builder = new DirectiveWrapperBuilder(this.compilerConfig, dirMeta);\n Object.keys(dirMeta.inputs).forEach(function (inputFieldName) {\n addCheckInputMethod(inputFieldName, builder);\n });\n addNgDoCheckMethod(builder);\n addCheckHostMethod(hostParseResult.hostProps, builder);\n addHandleEventMethod(hostParseResult.hostListeners, builder);\n addSubscribeMethod(dirMeta, builder);\n var classStmt = builder.build();\n return new DirectiveWrapperCompileResult([classStmt], classStmt.name);\n };\n DirectiveWrapperCompiler.decorators = [\n { type: __WEBPACK_IMPORTED_MODULE_0__angular_core__[\"b\" /* Injectable */] },\n ];\n /** @nocollapse */\n DirectiveWrapperCompiler.ctorParameters = [\n { type: __WEBPACK_IMPORTED_MODULE_4__config__[\"a\" /* CompilerConfig */], },\n { type: __WEBPACK_IMPORTED_MODULE_5__expression_parser_parser__[\"a\" /* Parser */], },\n { type: __WEBPACK_IMPORTED_MODULE_12__schema_element_schema_registry__[\"a\" /* ElementSchemaRegistry */], },\n { type: __WEBPACK_IMPORTED_MODULE_11__private_import_core__[\"C\" /* Console */], },\n ];\n return DirectiveWrapperCompiler;\n}());\nvar DirectiveWrapperBuilder = (function () {\n function DirectiveWrapperBuilder(compilerConfig, dirMeta) {\n this.compilerConfig = compilerConfig;\n this.dirMeta = dirMeta;\n this.fields = [];\n this.getters = [];\n this.methods = [];\n this.ctorStmts = [];\n this.detachStmts = [];\n this.destroyStmts = [];\n var dirLifecycleHooks = dirMeta.type.lifecycleHooks;\n this.genChanges = dirLifecycleHooks.indexOf(__WEBPACK_IMPORTED_MODULE_11__private_import_core__[\"G\" /* LifecycleHooks */].OnChanges) !== -1 ||\n this.compilerConfig.logBindingUpdate;\n this.ngOnChanges = dirLifecycleHooks.indexOf(__WEBPACK_IMPORTED_MODULE_11__private_import_core__[\"G\" /* LifecycleHooks */].OnChanges) !== -1;\n this.ngOnInit = dirLifecycleHooks.indexOf(__WEBPACK_IMPORTED_MODULE_11__private_import_core__[\"G\" /* LifecycleHooks */].OnInit) !== -1;\n this.ngDoCheck = dirLifecycleHooks.indexOf(__WEBPACK_IMPORTED_MODULE_11__private_import_core__[\"G\" /* LifecycleHooks */].DoCheck) !== -1;\n this.ngOnDestroy = dirLifecycleHooks.indexOf(__WEBPACK_IMPORTED_MODULE_11__private_import_core__[\"G\" /* LifecycleHooks */].OnDestroy) !== -1;\n if (this.ngOnDestroy) {\n this.destroyStmts.push(__WEBPACK_IMPORTED_MODULE_9__output_output_ast__[\"o\" /* THIS_EXPR */].prop(CONTEXT_FIELD_NAME).callMethod('ngOnDestroy', []).toStmt());\n }\n }\n DirectiveWrapperBuilder.prototype.build = function () {\n var dirDepParamNames = [];\n for (var i = 0; i < this.dirMeta.type.diDeps.length; i++) {\n dirDepParamNames.push(\"p\" + i);\n }\n var methods = [\n new __WEBPACK_IMPORTED_MODULE_9__output_output_ast__[\"B\" /* ClassMethod */]('ngOnDetach', [\n new __WEBPACK_IMPORTED_MODULE_9__output_output_ast__[\"j\" /* FnParam */](VIEW_VAR.name, __WEBPACK_IMPORTED_MODULE_9__output_output_ast__[\"k\" /* importType */](__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_6__identifiers__[\"d\" /* resolveIdentifier */])(__WEBPACK_IMPORTED_MODULE_6__identifiers__[\"b\" /* Identifiers */].AppView), [__WEBPACK_IMPORTED_MODULE_9__output_output_ast__[\"l\" /* DYNAMIC_TYPE */]])),\n new __WEBPACK_IMPORTED_MODULE_9__output_output_ast__[\"j\" /* FnParam */](COMPONENT_VIEW_VAR.name, __WEBPACK_IMPORTED_MODULE_9__output_output_ast__[\"k\" /* importType */](__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_6__identifiers__[\"d\" /* resolveIdentifier */])(__WEBPACK_IMPORTED_MODULE_6__identifiers__[\"b\" /* Identifiers */].AppView), [__WEBPACK_IMPORTED_MODULE_9__output_output_ast__[\"l\" /* DYNAMIC_TYPE */]])),\n new __WEBPACK_IMPORTED_MODULE_9__output_output_ast__[\"j\" /* FnParam */](RENDER_EL_VAR.name, __WEBPACK_IMPORTED_MODULE_9__output_output_ast__[\"l\" /* DYNAMIC_TYPE */]),\n ], this.detachStmts),\n new __WEBPACK_IMPORTED_MODULE_9__output_output_ast__[\"B\" /* ClassMethod */]('ngOnDestroy', [], this.destroyStmts),\n ];\n var fields = [\n new __WEBPACK_IMPORTED_MODULE_9__output_output_ast__[\"n\" /* ClassField */](EVENT_HANDLER_FIELD_NAME, __WEBPACK_IMPORTED_MODULE_9__output_output_ast__[\"D\" /* FUNCTION_TYPE */], [__WEBPACK_IMPORTED_MODULE_9__output_output_ast__[\"p\" /* StmtModifier */].Private]),\n new __WEBPACK_IMPORTED_MODULE_9__output_output_ast__[\"n\" /* ClassField */](CONTEXT_FIELD_NAME, __WEBPACK_IMPORTED_MODULE_9__output_output_ast__[\"k\" /* importType */](this.dirMeta.type)),\n new __WEBPACK_IMPORTED_MODULE_9__output_output_ast__[\"n\" /* ClassField */](CHANGED_FIELD_NAME, __WEBPACK_IMPORTED_MODULE_9__output_output_ast__[\"E\" /* BOOL_TYPE */], [__WEBPACK_IMPORTED_MODULE_9__output_output_ast__[\"p\" /* StmtModifier */].Private]),\n ];\n var ctorStmts = [__WEBPACK_IMPORTED_MODULE_9__output_output_ast__[\"o\" /* THIS_EXPR */].prop(CHANGED_FIELD_NAME).set(__WEBPACK_IMPORTED_MODULE_9__output_output_ast__[\"d\" /* literal */](false)).toStmt()];\n if (this.genChanges) {\n fields.push(new __WEBPACK_IMPORTED_MODULE_9__output_output_ast__[\"n\" /* ClassField */](CHANGES_FIELD_NAME, new __WEBPACK_IMPORTED_MODULE_9__output_output_ast__[\"x\" /* MapType */](__WEBPACK_IMPORTED_MODULE_9__output_output_ast__[\"l\" /* DYNAMIC_TYPE */]), [__WEBPACK_IMPORTED_MODULE_9__output_output_ast__[\"p\" /* StmtModifier */].Private]));\n ctorStmts.push(RESET_CHANGES_STMT);\n }\n ctorStmts.push(__WEBPACK_IMPORTED_MODULE_9__output_output_ast__[\"o\" /* THIS_EXPR */].prop(CONTEXT_FIELD_NAME)\n .set(__WEBPACK_IMPORTED_MODULE_9__output_output_ast__[\"e\" /* importExpr */](this.dirMeta.type)\n .instantiate(dirDepParamNames.map(function (paramName) { return __WEBPACK_IMPORTED_MODULE_9__output_output_ast__[\"a\" /* variable */](paramName); })))\n .toStmt());\n return __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_8__output_class_builder__[\"a\" /* createClassStmt */])({\n name: DirectiveWrapperCompiler.dirWrapperClassName(this.dirMeta.type),\n ctorParams: dirDepParamNames.map(function (paramName) { return new __WEBPACK_IMPORTED_MODULE_9__output_output_ast__[\"j\" /* FnParam */](paramName, __WEBPACK_IMPORTED_MODULE_9__output_output_ast__[\"l\" /* DYNAMIC_TYPE */]); }),\n builders: [{ fields: fields, ctorStmts: ctorStmts, methods: methods }, this]\n });\n };\n return DirectiveWrapperBuilder;\n}());\nfunction addNgDoCheckMethod(builder) {\n var changedVar = __WEBPACK_IMPORTED_MODULE_9__output_output_ast__[\"a\" /* variable */]('changed');\n var stmts = [\n changedVar.set(__WEBPACK_IMPORTED_MODULE_9__output_output_ast__[\"o\" /* THIS_EXPR */].prop(CHANGED_FIELD_NAME)).toDeclStmt(),\n __WEBPACK_IMPORTED_MODULE_9__output_output_ast__[\"o\" /* THIS_EXPR */].prop(CHANGED_FIELD_NAME).set(__WEBPACK_IMPORTED_MODULE_9__output_output_ast__[\"d\" /* literal */](false)).toStmt(),\n ];\n var lifecycleStmts = [];\n if (builder.genChanges) {\n var onChangesStmts = [];\n if (builder.ngOnChanges) {\n onChangesStmts.push(__WEBPACK_IMPORTED_MODULE_9__output_output_ast__[\"o\" /* THIS_EXPR */].prop(CONTEXT_FIELD_NAME)\n .callMethod('ngOnChanges', [__WEBPACK_IMPORTED_MODULE_9__output_output_ast__[\"o\" /* THIS_EXPR */].prop(CHANGES_FIELD_NAME)])\n .toStmt());\n }\n if (builder.compilerConfig.logBindingUpdate) {\n onChangesStmts.push(__WEBPACK_IMPORTED_MODULE_9__output_output_ast__[\"e\" /* importExpr */](__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_6__identifiers__[\"d\" /* resolveIdentifier */])(__WEBPACK_IMPORTED_MODULE_6__identifiers__[\"b\" /* Identifiers */].setBindingDebugInfoForChanges))\n .callFn([VIEW_VAR.prop('renderer'), RENDER_EL_VAR, __WEBPACK_IMPORTED_MODULE_9__output_output_ast__[\"o\" /* THIS_EXPR */].prop(CHANGES_FIELD_NAME)])\n .toStmt());\n }\n onChangesStmts.push(RESET_CHANGES_STMT);\n lifecycleStmts.push(new __WEBPACK_IMPORTED_MODULE_9__output_output_ast__[\"g\" /* IfStmt */](changedVar, onChangesStmts));\n }\n if (builder.ngOnInit) {\n lifecycleStmts.push(new __WEBPACK_IMPORTED_MODULE_9__output_output_ast__[\"g\" /* IfStmt */](VIEW_VAR.prop('numberOfChecks').identical(new __WEBPACK_IMPORTED_MODULE_9__output_output_ast__[\"F\" /* LiteralExpr */](0)), [__WEBPACK_IMPORTED_MODULE_9__output_output_ast__[\"o\" /* THIS_EXPR */].prop(CONTEXT_FIELD_NAME).callMethod('ngOnInit', []).toStmt()]));\n }\n if (builder.ngDoCheck) {\n lifecycleStmts.push(__WEBPACK_IMPORTED_MODULE_9__output_output_ast__[\"o\" /* THIS_EXPR */].prop(CONTEXT_FIELD_NAME).callMethod('ngDoCheck', []).toStmt());\n }\n if (lifecycleStmts.length > 0) {\n stmts.push(new __WEBPACK_IMPORTED_MODULE_9__output_output_ast__[\"g\" /* IfStmt */](__WEBPACK_IMPORTED_MODULE_9__output_output_ast__[\"u\" /* not */](THROW_ON_CHANGE_VAR), lifecycleStmts));\n }\n stmts.push(new __WEBPACK_IMPORTED_MODULE_9__output_output_ast__[\"i\" /* ReturnStatement */](changedVar));\n builder.methods.push(new __WEBPACK_IMPORTED_MODULE_9__output_output_ast__[\"B\" /* ClassMethod */]('ngDoCheck', [\n new __WEBPACK_IMPORTED_MODULE_9__output_output_ast__[\"j\" /* FnParam */](VIEW_VAR.name, __WEBPACK_IMPORTED_MODULE_9__output_output_ast__[\"k\" /* importType */](__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_6__identifiers__[\"d\" /* resolveIdentifier */])(__WEBPACK_IMPORTED_MODULE_6__identifiers__[\"b\" /* Identifiers */].AppView), [__WEBPACK_IMPORTED_MODULE_9__output_output_ast__[\"l\" /* DYNAMIC_TYPE */]])),\n new __WEBPACK_IMPORTED_MODULE_9__output_output_ast__[\"j\" /* FnParam */](RENDER_EL_VAR.name, __WEBPACK_IMPORTED_MODULE_9__output_output_ast__[\"l\" /* DYNAMIC_TYPE */]),\n new __WEBPACK_IMPORTED_MODULE_9__output_output_ast__[\"j\" /* FnParam */](THROW_ON_CHANGE_VAR.name, __WEBPACK_IMPORTED_MODULE_9__output_output_ast__[\"E\" /* BOOL_TYPE */]),\n ], stmts, __WEBPACK_IMPORTED_MODULE_9__output_output_ast__[\"E\" /* BOOL_TYPE */]));\n}\nfunction addCheckInputMethod(input, builder) {\n var field = __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_1__compiler_util_binding_util__[\"a\" /* createCheckBindingField */])(builder);\n var onChangeStatements = [\n __WEBPACK_IMPORTED_MODULE_9__output_output_ast__[\"o\" /* THIS_EXPR */].prop(CHANGED_FIELD_NAME).set(__WEBPACK_IMPORTED_MODULE_9__output_output_ast__[\"d\" /* literal */](true)).toStmt(),\n __WEBPACK_IMPORTED_MODULE_9__output_output_ast__[\"o\" /* THIS_EXPR */].prop(CONTEXT_FIELD_NAME).prop(input).set(CURR_VALUE_VAR).toStmt(),\n ];\n if (builder.genChanges) {\n onChangeStatements.push(__WEBPACK_IMPORTED_MODULE_9__output_output_ast__[\"o\" /* THIS_EXPR */].prop(CHANGES_FIELD_NAME)\n .key(__WEBPACK_IMPORTED_MODULE_9__output_output_ast__[\"d\" /* literal */](input))\n .set(__WEBPACK_IMPORTED_MODULE_9__output_output_ast__[\"e\" /* importExpr */](__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_6__identifiers__[\"d\" /* resolveIdentifier */])(__WEBPACK_IMPORTED_MODULE_6__identifiers__[\"b\" /* Identifiers */].SimpleChange))\n .instantiate([field.expression, CURR_VALUE_VAR]))\n .toStmt());\n }\n var methodBody = __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_1__compiler_util_binding_util__[\"b\" /* createCheckBindingStmt */])({ currValExpr: CURR_VALUE_VAR, forceUpdate: FORCE_UPDATE_VAR, stmts: [] }, field.expression, THROW_ON_CHANGE_VAR, onChangeStatements);\n builder.methods.push(new __WEBPACK_IMPORTED_MODULE_9__output_output_ast__[\"B\" /* ClassMethod */](\"check_\" + input, [\n new __WEBPACK_IMPORTED_MODULE_9__output_output_ast__[\"j\" /* FnParam */](CURR_VALUE_VAR.name, __WEBPACK_IMPORTED_MODULE_9__output_output_ast__[\"l\" /* DYNAMIC_TYPE */]),\n new __WEBPACK_IMPORTED_MODULE_9__output_output_ast__[\"j\" /* FnParam */](THROW_ON_CHANGE_VAR.name, __WEBPACK_IMPORTED_MODULE_9__output_output_ast__[\"E\" /* BOOL_TYPE */]),\n new __WEBPACK_IMPORTED_MODULE_9__output_output_ast__[\"j\" /* FnParam */](FORCE_UPDATE_VAR.name, __WEBPACK_IMPORTED_MODULE_9__output_output_ast__[\"E\" /* BOOL_TYPE */]),\n ], methodBody));\n}\nfunction addCheckHostMethod(hostProps, builder) {\n var stmts = [];\n var methodParams = [\n new __WEBPACK_IMPORTED_MODULE_9__output_output_ast__[\"j\" /* FnParam */](VIEW_VAR.name, __WEBPACK_IMPORTED_MODULE_9__output_output_ast__[\"k\" /* importType */](__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_6__identifiers__[\"d\" /* resolveIdentifier */])(__WEBPACK_IMPORTED_MODULE_6__identifiers__[\"b\" /* Identifiers */].AppView), [__WEBPACK_IMPORTED_MODULE_9__output_output_ast__[\"l\" /* DYNAMIC_TYPE */]])),\n new __WEBPACK_IMPORTED_MODULE_9__output_output_ast__[\"j\" /* FnParam */](COMPONENT_VIEW_VAR.name, __WEBPACK_IMPORTED_MODULE_9__output_output_ast__[\"k\" /* importType */](__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_6__identifiers__[\"d\" /* resolveIdentifier */])(__WEBPACK_IMPORTED_MODULE_6__identifiers__[\"b\" /* Identifiers */].AppView), [__WEBPACK_IMPORTED_MODULE_9__output_output_ast__[\"l\" /* DYNAMIC_TYPE */]])),\n new __WEBPACK_IMPORTED_MODULE_9__output_output_ast__[\"j\" /* FnParam */](RENDER_EL_VAR.name, __WEBPACK_IMPORTED_MODULE_9__output_output_ast__[\"l\" /* DYNAMIC_TYPE */]),\n new __WEBPACK_IMPORTED_MODULE_9__output_output_ast__[\"j\" /* FnParam */](THROW_ON_CHANGE_VAR.name, __WEBPACK_IMPORTED_MODULE_9__output_output_ast__[\"E\" /* BOOL_TYPE */]),\n ];\n hostProps.forEach(function (hostProp, hostPropIdx) {\n var field = __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_1__compiler_util_binding_util__[\"a\" /* createCheckBindingField */])(builder);\n var evalResult = __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_2__compiler_util_expression_converter__[\"a\" /* convertPropertyBinding */])(builder, null, __WEBPACK_IMPORTED_MODULE_9__output_output_ast__[\"o\" /* THIS_EXPR */].prop(CONTEXT_FIELD_NAME), hostProp.value, field.bindingId);\n if (!evalResult) {\n return;\n }\n var securityContextExpr;\n if (hostProp.needsRuntimeSecurityContext) {\n securityContextExpr = __WEBPACK_IMPORTED_MODULE_9__output_output_ast__[\"a\" /* variable */](\"secCtx_\" + methodParams.length);\n methodParams.push(new __WEBPACK_IMPORTED_MODULE_9__output_output_ast__[\"j\" /* FnParam */](securityContextExpr.name, __WEBPACK_IMPORTED_MODULE_9__output_output_ast__[\"k\" /* importType */](__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_6__identifiers__[\"d\" /* resolveIdentifier */])(__WEBPACK_IMPORTED_MODULE_6__identifiers__[\"b\" /* Identifiers */].SecurityContext))));\n }\n var checkBindingStmts;\n if (hostProp.isAnimation) {\n var _a = __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_3__compiler_util_render_util__[\"a\" /* triggerAnimation */])(VIEW_VAR, COMPONENT_VIEW_VAR, hostProp, __WEBPACK_IMPORTED_MODULE_9__output_output_ast__[\"o\" /* THIS_EXPR */].prop(EVENT_HANDLER_FIELD_NAME)\n .or(__WEBPACK_IMPORTED_MODULE_9__output_output_ast__[\"e\" /* importExpr */](__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_6__identifiers__[\"d\" /* resolveIdentifier */])(__WEBPACK_IMPORTED_MODULE_6__identifiers__[\"b\" /* Identifiers */].noop))), RENDER_EL_VAR, evalResult.currValExpr, field.expression), updateStmts = _a.updateStmts, detachStmts = _a.detachStmts;\n checkBindingStmts = updateStmts;\n (_b = builder.detachStmts).push.apply(_b, detachStmts);\n }\n else {\n checkBindingStmts = __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_3__compiler_util_render_util__[\"b\" /* writeToRenderer */])(VIEW_VAR, hostProp, RENDER_EL_VAR, evalResult.currValExpr, builder.compilerConfig.logBindingUpdate, securityContextExpr);\n }\n stmts.push.apply(stmts, __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_1__compiler_util_binding_util__[\"b\" /* createCheckBindingStmt */])(evalResult, field.expression, THROW_ON_CHANGE_VAR, checkBindingStmts));\n var _b;\n });\n builder.methods.push(new __WEBPACK_IMPORTED_MODULE_9__output_output_ast__[\"B\" /* ClassMethod */]('checkHost', methodParams, stmts));\n}\nfunction addHandleEventMethod(hostListeners, builder) {\n var resultVar = __WEBPACK_IMPORTED_MODULE_9__output_output_ast__[\"a\" /* variable */](\"result\");\n var actionStmts = [resultVar.set(__WEBPACK_IMPORTED_MODULE_9__output_output_ast__[\"d\" /* literal */](true)).toDeclStmt(__WEBPACK_IMPORTED_MODULE_9__output_output_ast__[\"E\" /* BOOL_TYPE */])];\n hostListeners.forEach(function (hostListener, eventIdx) {\n var evalResult = __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_2__compiler_util_expression_converter__[\"b\" /* convertActionBinding */])(builder, null, __WEBPACK_IMPORTED_MODULE_9__output_output_ast__[\"o\" /* THIS_EXPR */].prop(CONTEXT_FIELD_NAME), hostListener.handler, \"sub_\" + eventIdx);\n var trueStmts = evalResult.stmts;\n if (evalResult.preventDefault) {\n trueStmts.push(resultVar.set(evalResult.preventDefault.and(resultVar)).toStmt());\n }\n // TODO(tbosch): convert this into a `switch` once our OutputAst supports it.\n actionStmts.push(new __WEBPACK_IMPORTED_MODULE_9__output_output_ast__[\"g\" /* IfStmt */](EVENT_NAME_VAR.equals(__WEBPACK_IMPORTED_MODULE_9__output_output_ast__[\"d\" /* literal */](hostListener.fullName)), trueStmts));\n });\n actionStmts.push(new __WEBPACK_IMPORTED_MODULE_9__output_output_ast__[\"i\" /* ReturnStatement */](resultVar));\n builder.methods.push(new __WEBPACK_IMPORTED_MODULE_9__output_output_ast__[\"B\" /* ClassMethod */]('handleEvent', [\n new __WEBPACK_IMPORTED_MODULE_9__output_output_ast__[\"j\" /* FnParam */](EVENT_NAME_VAR.name, __WEBPACK_IMPORTED_MODULE_9__output_output_ast__[\"G\" /* STRING_TYPE */]),\n new __WEBPACK_IMPORTED_MODULE_9__output_output_ast__[\"j\" /* FnParam */](__WEBPACK_IMPORTED_MODULE_2__compiler_util_expression_converter__[\"c\" /* EventHandlerVars */].event.name, __WEBPACK_IMPORTED_MODULE_9__output_output_ast__[\"l\" /* DYNAMIC_TYPE */])\n ], actionStmts, __WEBPACK_IMPORTED_MODULE_9__output_output_ast__[\"E\" /* BOOL_TYPE */]));\n}\nfunction addSubscribeMethod(dirMeta, builder) {\n var methodParams = [\n new __WEBPACK_IMPORTED_MODULE_9__output_output_ast__[\"j\" /* FnParam */](VIEW_VAR.name, __WEBPACK_IMPORTED_MODULE_9__output_output_ast__[\"k\" /* importType */](__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_6__identifiers__[\"d\" /* resolveIdentifier */])(__WEBPACK_IMPORTED_MODULE_6__identifiers__[\"b\" /* Identifiers */].AppView), [__WEBPACK_IMPORTED_MODULE_9__output_output_ast__[\"l\" /* DYNAMIC_TYPE */]])),\n new __WEBPACK_IMPORTED_MODULE_9__output_output_ast__[\"j\" /* FnParam */](EVENT_HANDLER_FIELD_NAME, __WEBPACK_IMPORTED_MODULE_9__output_output_ast__[\"l\" /* DYNAMIC_TYPE */])\n ];\n var stmts = [\n __WEBPACK_IMPORTED_MODULE_9__output_output_ast__[\"o\" /* THIS_EXPR */].prop(EVENT_HANDLER_FIELD_NAME).set(__WEBPACK_IMPORTED_MODULE_9__output_output_ast__[\"a\" /* variable */](EVENT_HANDLER_FIELD_NAME)).toStmt()\n ];\n Object.keys(dirMeta.outputs).forEach(function (emitterPropName, emitterIdx) {\n var eventName = dirMeta.outputs[emitterPropName];\n var paramName = \"emit\" + emitterIdx;\n methodParams.push(new __WEBPACK_IMPORTED_MODULE_9__output_output_ast__[\"j\" /* FnParam */](paramName, __WEBPACK_IMPORTED_MODULE_9__output_output_ast__[\"E\" /* BOOL_TYPE */]));\n var subscriptionFieldName = \"subscription\" + emitterIdx;\n builder.fields.push(new __WEBPACK_IMPORTED_MODULE_9__output_output_ast__[\"n\" /* ClassField */](subscriptionFieldName, __WEBPACK_IMPORTED_MODULE_9__output_output_ast__[\"l\" /* DYNAMIC_TYPE */]));\n stmts.push(new __WEBPACK_IMPORTED_MODULE_9__output_output_ast__[\"g\" /* IfStmt */](__WEBPACK_IMPORTED_MODULE_9__output_output_ast__[\"a\" /* variable */](paramName), [\n __WEBPACK_IMPORTED_MODULE_9__output_output_ast__[\"o\" /* THIS_EXPR */].prop(subscriptionFieldName)\n .set(__WEBPACK_IMPORTED_MODULE_9__output_output_ast__[\"o\" /* THIS_EXPR */].prop(CONTEXT_FIELD_NAME)\n .prop(emitterPropName)\n .callMethod(__WEBPACK_IMPORTED_MODULE_9__output_output_ast__[\"z\" /* BuiltinMethod */].SubscribeObservable, [__WEBPACK_IMPORTED_MODULE_9__output_output_ast__[\"a\" /* variable */](EVENT_HANDLER_FIELD_NAME)\n .callMethod(__WEBPACK_IMPORTED_MODULE_9__output_output_ast__[\"z\" /* BuiltinMethod */].Bind, [VIEW_VAR, __WEBPACK_IMPORTED_MODULE_9__output_output_ast__[\"d\" /* literal */](eventName)])]))\n .toStmt()\n ]));\n builder.destroyStmts.push(__WEBPACK_IMPORTED_MODULE_9__output_output_ast__[\"o\" /* THIS_EXPR */].prop(subscriptionFieldName)\n .and(__WEBPACK_IMPORTED_MODULE_9__output_output_ast__[\"o\" /* THIS_EXPR */].prop(subscriptionFieldName).callMethod('unsubscribe', []))\n .toStmt());\n });\n builder.methods.push(new __WEBPACK_IMPORTED_MODULE_9__output_output_ast__[\"B\" /* ClassMethod */]('subscribe', methodParams, stmts));\n}\nvar ParseResult = (function () {\n function ParseResult(hostProps, hostListeners, errors) {\n this.hostProps = hostProps;\n this.hostListeners = hostListeners;\n this.errors = errors;\n }\n return ParseResult;\n}());\nfunction parseHostBindings(dirMeta, exprParser, schemaRegistry) {\n var errors = [];\n var parser = new __WEBPACK_IMPORTED_MODULE_13__template_parser_binding_parser__[\"a\" /* BindingParser */](exprParser, __WEBPACK_IMPORTED_MODULE_7__ml_parser_interpolation_config__[\"a\" /* DEFAULT_INTERPOLATION_CONFIG */], schemaRegistry, [], errors);\n var sourceFileName = dirMeta.type.moduleUrl ?\n \"in Directive \" + dirMeta.type.name + \" in \" + dirMeta.type.moduleUrl :\n \"in Directive \" + dirMeta.type.name;\n var sourceFile = new __WEBPACK_IMPORTED_MODULE_10__parse_util__[\"b\" /* ParseSourceFile */]('', sourceFileName);\n var sourceSpan = new __WEBPACK_IMPORTED_MODULE_10__parse_util__[\"d\" /* ParseSourceSpan */](new __WEBPACK_IMPORTED_MODULE_10__parse_util__[\"c\" /* ParseLocation */](sourceFile, null, null, null), new __WEBPACK_IMPORTED_MODULE_10__parse_util__[\"c\" /* ParseLocation */](sourceFile, null, null, null));\n var parsedHostProps = parser.createDirectiveHostPropertyAsts(dirMeta.toSummary(), sourceSpan);\n var parsedHostListeners = parser.createDirectiveHostEventAsts(dirMeta.toSummary(), sourceSpan);\n return new ParseResult(parsedHostProps, parsedHostListeners, errors);\n}\nfunction reportParseErrors(parseErrors, console) {\n var warnings = parseErrors.filter(function (error) { return error.level === __WEBPACK_IMPORTED_MODULE_10__parse_util__[\"e\" /* ParseErrorLevel */].WARNING; });\n var errors = parseErrors.filter(function (error) { return error.level === __WEBPACK_IMPORTED_MODULE_10__parse_util__[\"e\" /* ParseErrorLevel */].FATAL; });\n if (warnings.length > 0) {\n this._console.warn(\"Directive parse warnings:\\n\" + warnings.join('\\n'));\n }\n if (errors.length > 0) {\n throw new Error(\"Directive parse errors:\\n\" + errors.join('\\n'));\n }\n}\nvar DirectiveWrapperExpressions = (function () {\n function DirectiveWrapperExpressions() {\n }\n DirectiveWrapperExpressions.create = function (dir, depsExpr) {\n return __WEBPACK_IMPORTED_MODULE_9__output_output_ast__[\"e\" /* importExpr */](dir).instantiate(depsExpr, __WEBPACK_IMPORTED_MODULE_9__output_output_ast__[\"k\" /* importType */](dir));\n };\n DirectiveWrapperExpressions.context = function (dirWrapper) {\n return dirWrapper.prop(CONTEXT_FIELD_NAME);\n };\n DirectiveWrapperExpressions.ngDoCheck = function (dirWrapper, view, renderElement, throwOnChange) {\n return dirWrapper.callMethod('ngDoCheck', [view, renderElement, throwOnChange]);\n };\n DirectiveWrapperExpressions.checkHost = function (hostProps, dirWrapper, view, componentView, renderElement, throwOnChange, runtimeSecurityContexts) {\n if (hostProps.length) {\n return [dirWrapper\n .callMethod('checkHost', [view, componentView, renderElement, throwOnChange].concat(runtimeSecurityContexts))\n .toStmt()];\n }\n else {\n return [];\n }\n };\n DirectiveWrapperExpressions.ngOnDetach = function (hostProps, dirWrapper, view, componentView, renderEl) {\n if (hostProps.some(function (prop) { return prop.isAnimation; })) {\n return [dirWrapper\n .callMethod('ngOnDetach', [\n view,\n componentView,\n renderEl,\n ])\n .toStmt()];\n }\n else {\n return [];\n }\n };\n DirectiveWrapperExpressions.ngOnDestroy = function (dir, dirWrapper) {\n if (dir.type.lifecycleHooks.indexOf(__WEBPACK_IMPORTED_MODULE_11__private_import_core__[\"G\" /* LifecycleHooks */].OnDestroy) !== -1 ||\n Object.keys(dir.outputs).length > 0) {\n return [dirWrapper.callMethod('ngOnDestroy', []).toStmt()];\n }\n else {\n return [];\n }\n };\n DirectiveWrapperExpressions.subscribe = function (dirMeta, hostProps, usedEvents, dirWrapper, view, eventListener) {\n var needsSubscribe = false;\n var eventFlags = [];\n Object.keys(dirMeta.outputs).forEach(function (propName) {\n var eventName = dirMeta.outputs[propName];\n var eventUsed = usedEvents.indexOf(eventName) > -1;\n needsSubscribe = needsSubscribe || eventUsed;\n eventFlags.push(__WEBPACK_IMPORTED_MODULE_9__output_output_ast__[\"d\" /* literal */](eventUsed));\n });\n hostProps.forEach(function (hostProp) {\n if (hostProp.isAnimation && usedEvents.length > 0) {\n needsSubscribe = true;\n }\n });\n if (needsSubscribe) {\n return [\n dirWrapper.callMethod('subscribe', [view, eventListener].concat(eventFlags)).toStmt()\n ];\n }\n else {\n return [];\n }\n };\n DirectiveWrapperExpressions.handleEvent = function (hostEvents, dirWrapper, eventName, event) {\n return dirWrapper.callMethod('handleEvent', [eventName, event]);\n };\n return DirectiveWrapperExpressions;\n}());\n//# sourceMappingURL=directive_wrapper_compiler.js.map\n\n/***/ },\n/* 65 */\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* harmony export (binding) */ __webpack_require__.d(exports, \"b\", function() { return TagContentType; });\n/* harmony export (immutable) */ exports[\"e\"] = splitNsName;\n/* harmony export (immutable) */ exports[\"c\"] = getNsPrefix;\n/* harmony export (immutable) */ exports[\"d\"] = mergeNsAndName;\n/* harmony export (binding) */ __webpack_require__.d(exports, \"a\", function() { return NAMED_ENTITIES; });\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nvar TagContentType;\n(function (TagContentType) {\n TagContentType[TagContentType[\"RAW_TEXT\"] = 0] = \"RAW_TEXT\";\n TagContentType[TagContentType[\"ESCAPABLE_RAW_TEXT\"] = 1] = \"ESCAPABLE_RAW_TEXT\";\n TagContentType[TagContentType[\"PARSABLE_DATA\"] = 2] = \"PARSABLE_DATA\";\n})(TagContentType || (TagContentType = {}));\nfunction splitNsName(elementName) {\n if (elementName[0] != ':') {\n return [null, elementName];\n }\n var colonIndex = elementName.indexOf(':', 1);\n if (colonIndex == -1) {\n throw new Error(\"Unsupported format \\\"\" + elementName + \"\\\" expecting \\\":namespace:name\\\"\");\n }\n return [elementName.slice(1, colonIndex), elementName.slice(colonIndex + 1)];\n}\nfunction getNsPrefix(fullName) {\n return fullName === null ? null : splitNsName(fullName)[0];\n}\nfunction mergeNsAndName(prefix, localName) {\n return prefix ? \":\" + prefix + \":\" + localName : localName;\n}\n// see http://www.w3.org/TR/html51/syntax.html#named-character-references\n// see https://html.spec.whatwg.org/multipage/entities.json\n// This list is not exhaustive to keep the compiler footprint low.\n// The `{` / `ƫ` syntax should be used when the named character reference does not exist.\nvar NAMED_ENTITIES = {\n 'Aacute': '\\u00C1',\n 'aacute': '\\u00E1',\n 'Acirc': '\\u00C2',\n 'acirc': '\\u00E2',\n 'acute': '\\u00B4',\n 'AElig': '\\u00C6',\n 'aelig': '\\u00E6',\n 'Agrave': '\\u00C0',\n 'agrave': '\\u00E0',\n 'alefsym': '\\u2135',\n 'Alpha': '\\u0391',\n 'alpha': '\\u03B1',\n 'amp': '&',\n 'and': '\\u2227',\n 'ang': '\\u2220',\n 'apos': '\\u0027',\n 'Aring': '\\u00C5',\n 'aring': '\\u00E5',\n 'asymp': '\\u2248',\n 'Atilde': '\\u00C3',\n 'atilde': '\\u00E3',\n 'Auml': '\\u00C4',\n 'auml': '\\u00E4',\n 'bdquo': '\\u201E',\n 'Beta': '\\u0392',\n 'beta': '\\u03B2',\n 'brvbar': '\\u00A6',\n 'bull': '\\u2022',\n 'cap': '\\u2229',\n 'Ccedil': '\\u00C7',\n 'ccedil': '\\u00E7',\n 'cedil': '\\u00B8',\n 'cent': '\\u00A2',\n 'Chi': '\\u03A7',\n 'chi': '\\u03C7',\n 'circ': '\\u02C6',\n 'clubs': '\\u2663',\n 'cong': '\\u2245',\n 'copy': '\\u00A9',\n 'crarr': '\\u21B5',\n 'cup': '\\u222A',\n 'curren': '\\u00A4',\n 'dagger': '\\u2020',\n 'Dagger': '\\u2021',\n 'darr': '\\u2193',\n 'dArr': '\\u21D3',\n 'deg': '\\u00B0',\n 'Delta': '\\u0394',\n 'delta': '\\u03B4',\n 'diams': '\\u2666',\n 'divide': '\\u00F7',\n 'Eacute': '\\u00C9',\n 'eacute': '\\u00E9',\n 'Ecirc': '\\u00CA',\n 'ecirc': '\\u00EA',\n 'Egrave': '\\u00C8',\n 'egrave': '\\u00E8',\n 'empty': '\\u2205',\n 'emsp': '\\u2003',\n 'ensp': '\\u2002',\n 'Epsilon': '\\u0395',\n 'epsilon': '\\u03B5',\n 'equiv': '\\u2261',\n 'Eta': '\\u0397',\n 'eta': '\\u03B7',\n 'ETH': '\\u00D0',\n 'eth': '\\u00F0',\n 'Euml': '\\u00CB',\n 'euml': '\\u00EB',\n 'euro': '\\u20AC',\n 'exist': '\\u2203',\n 'fnof': '\\u0192',\n 'forall': '\\u2200',\n 'frac12': '\\u00BD',\n 'frac14': '\\u00BC',\n 'frac34': '\\u00BE',\n 'frasl': '\\u2044',\n 'Gamma': '\\u0393',\n 'gamma': '\\u03B3',\n 'ge': '\\u2265',\n 'gt': '>',\n 'harr': '\\u2194',\n 'hArr': '\\u21D4',\n 'hearts': '\\u2665',\n 'hellip': '\\u2026',\n 'Iacute': '\\u00CD',\n 'iacute': '\\u00ED',\n 'Icirc': '\\u00CE',\n 'icirc': '\\u00EE',\n 'iexcl': '\\u00A1',\n 'Igrave': '\\u00CC',\n 'igrave': '\\u00EC',\n 'image': '\\u2111',\n 'infin': '\\u221E',\n 'int': '\\u222B',\n 'Iota': '\\u0399',\n 'iota': '\\u03B9',\n 'iquest': '\\u00BF',\n 'isin': '\\u2208',\n 'Iuml': '\\u00CF',\n 'iuml': '\\u00EF',\n 'Kappa': '\\u039A',\n 'kappa': '\\u03BA',\n 'Lambda': '\\u039B',\n 'lambda': '\\u03BB',\n 'lang': '\\u27E8',\n 'laquo': '\\u00AB',\n 'larr': '\\u2190',\n 'lArr': '\\u21D0',\n 'lceil': '\\u2308',\n 'ldquo': '\\u201C',\n 'le': '\\u2264',\n 'lfloor': '\\u230A',\n 'lowast': '\\u2217',\n 'loz': '\\u25CA',\n 'lrm': '\\u200E',\n 'lsaquo': '\\u2039',\n 'lsquo': '\\u2018',\n 'lt': '<',\n 'macr': '\\u00AF',\n 'mdash': '\\u2014',\n 'micro': '\\u00B5',\n 'middot': '\\u00B7',\n 'minus': '\\u2212',\n 'Mu': '\\u039C',\n 'mu': '\\u03BC',\n 'nabla': '\\u2207',\n 'nbsp': '\\u00A0',\n 'ndash': '\\u2013',\n 'ne': '\\u2260',\n 'ni': '\\u220B',\n 'not': '\\u00AC',\n 'notin': '\\u2209',\n 'nsub': '\\u2284',\n 'Ntilde': '\\u00D1',\n 'ntilde': '\\u00F1',\n 'Nu': '\\u039D',\n 'nu': '\\u03BD',\n 'Oacute': '\\u00D3',\n 'oacute': '\\u00F3',\n 'Ocirc': '\\u00D4',\n 'ocirc': '\\u00F4',\n 'OElig': '\\u0152',\n 'oelig': '\\u0153',\n 'Ograve': '\\u00D2',\n 'ograve': '\\u00F2',\n 'oline': '\\u203E',\n 'Omega': '\\u03A9',\n 'omega': '\\u03C9',\n 'Omicron': '\\u039F',\n 'omicron': '\\u03BF',\n 'oplus': '\\u2295',\n 'or': '\\u2228',\n 'ordf': '\\u00AA',\n 'ordm': '\\u00BA',\n 'Oslash': '\\u00D8',\n 'oslash': '\\u00F8',\n 'Otilde': '\\u00D5',\n 'otilde': '\\u00F5',\n 'otimes': '\\u2297',\n 'Ouml': '\\u00D6',\n 'ouml': '\\u00F6',\n 'para': '\\u00B6',\n 'permil': '\\u2030',\n 'perp': '\\u22A5',\n 'Phi': '\\u03A6',\n 'phi': '\\u03C6',\n 'Pi': '\\u03A0',\n 'pi': '\\u03C0',\n 'piv': '\\u03D6',\n 'plusmn': '\\u00B1',\n 'pound': '\\u00A3',\n 'prime': '\\u2032',\n 'Prime': '\\u2033',\n 'prod': '\\u220F',\n 'prop': '\\u221D',\n 'Psi': '\\u03A8',\n 'psi': '\\u03C8',\n 'quot': '\\u0022',\n 'radic': '\\u221A',\n 'rang': '\\u27E9',\n 'raquo': '\\u00BB',\n 'rarr': '\\u2192',\n 'rArr': '\\u21D2',\n 'rceil': '\\u2309',\n 'rdquo': '\\u201D',\n 'real': '\\u211C',\n 'reg': '\\u00AE',\n 'rfloor': '\\u230B',\n 'Rho': '\\u03A1',\n 'rho': '\\u03C1',\n 'rlm': '\\u200F',\n 'rsaquo': '\\u203A',\n 'rsquo': '\\u2019',\n 'sbquo': '\\u201A',\n 'Scaron': '\\u0160',\n 'scaron': '\\u0161',\n 'sdot': '\\u22C5',\n 'sect': '\\u00A7',\n 'shy': '\\u00AD',\n 'Sigma': '\\u03A3',\n 'sigma': '\\u03C3',\n 'sigmaf': '\\u03C2',\n 'sim': '\\u223C',\n 'spades': '\\u2660',\n 'sub': '\\u2282',\n 'sube': '\\u2286',\n 'sum': '\\u2211',\n 'sup': '\\u2283',\n 'sup1': '\\u00B9',\n 'sup2': '\\u00B2',\n 'sup3': '\\u00B3',\n 'supe': '\\u2287',\n 'szlig': '\\u00DF',\n 'Tau': '\\u03A4',\n 'tau': '\\u03C4',\n 'there4': '\\u2234',\n 'Theta': '\\u0398',\n 'theta': '\\u03B8',\n 'thetasym': '\\u03D1',\n 'thinsp': '\\u2009',\n 'THORN': '\\u00DE',\n 'thorn': '\\u00FE',\n 'tilde': '\\u02DC',\n 'times': '\\u00D7',\n 'trade': '\\u2122',\n 'Uacute': '\\u00DA',\n 'uacute': '\\u00FA',\n 'uarr': '\\u2191',\n 'uArr': '\\u21D1',\n 'Ucirc': '\\u00DB',\n 'ucirc': '\\u00FB',\n 'Ugrave': '\\u00D9',\n 'ugrave': '\\u00F9',\n 'uml': '\\u00A8',\n 'upsih': '\\u03D2',\n 'Upsilon': '\\u03A5',\n 'upsilon': '\\u03C5',\n 'Uuml': '\\u00DC',\n 'uuml': '\\u00FC',\n 'weierp': '\\u2118',\n 'Xi': '\\u039E',\n 'xi': '\\u03BE',\n 'Yacute': '\\u00DD',\n 'yacute': '\\u00FD',\n 'yen': '\\u00A5',\n 'yuml': '\\u00FF',\n 'Yuml': '\\u0178',\n 'Zeta': '\\u0396',\n 'zeta': '\\u03B6',\n 'zwj': '\\u200D',\n 'zwnj': '\\u200C',\n};\n//# sourceMappingURL=tags.js.map\n\n/***/ },\n/* 66 */\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__compiler_util_identifier_util__ = __webpack_require__(39);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__facade_lang__ = __webpack_require__(4);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__output_output_ast__ = __webpack_require__(9);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__private_import_core__ = __webpack_require__(17);\n/* harmony export (immutable) */ exports[\"a\"] = getPropertyInView;\n/* harmony export (immutable) */ exports[\"b\"] = injectFromViewParentInjector;\n/* harmony export (immutable) */ exports[\"c\"] = getViewClassName;\n/* harmony export (immutable) */ exports[\"d\"] = getHandleEventMethodName;\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nvar __extends = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\n\n\n\n\nfunction getPropertyInView(property, callingView, definedView) {\n if (callingView === definedView) {\n return property;\n }\n else {\n var viewProp = __WEBPACK_IMPORTED_MODULE_2__output_output_ast__[\"o\" /* THIS_EXPR */];\n var currView = callingView;\n while (currView !== definedView && __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_1__facade_lang__[\"b\" /* isPresent */])(currView.declarationElement.view)) {\n currView = currView.declarationElement.view;\n viewProp = viewProp.prop('parentView');\n }\n if (currView !== definedView) {\n throw new Error(\"Internal error: Could not calculate a property in a parent view: \" + property);\n }\n return property.visitExpression(new _ReplaceViewTransformer(viewProp, definedView), null);\n }\n}\nvar _ReplaceViewTransformer = (function (_super) {\n __extends(_ReplaceViewTransformer, _super);\n function _ReplaceViewTransformer(_viewExpr, _view) {\n _super.call(this);\n this._viewExpr = _viewExpr;\n this._view = _view;\n }\n _ReplaceViewTransformer.prototype._isThis = function (expr) {\n return expr instanceof __WEBPACK_IMPORTED_MODULE_2__output_output_ast__[\"v\" /* ReadVarExpr */] && expr.builtin === __WEBPACK_IMPORTED_MODULE_2__output_output_ast__[\"I\" /* BuiltinVar */].This;\n };\n _ReplaceViewTransformer.prototype.visitReadVarExpr = function (ast, context) {\n return this._isThis(ast) ? this._viewExpr : ast;\n };\n _ReplaceViewTransformer.prototype.visitReadPropExpr = function (ast, context) {\n if (this._isThis(ast.receiver)) {\n // Note: Don't cast for members of the AppView base class...\n if (this._view.fields.some(function (field) { return field.name == ast.name; }) ||\n this._view.getters.some(function (field) { return field.name == ast.name; })) {\n return this._viewExpr.cast(this._view.classType).prop(ast.name);\n }\n }\n return _super.prototype.visitReadPropExpr.call(this, ast, context);\n };\n return _ReplaceViewTransformer;\n}(__WEBPACK_IMPORTED_MODULE_2__output_output_ast__[\"J\" /* ExpressionTransformer */]));\nfunction injectFromViewParentInjector(view, token, optional) {\n var viewExpr;\n if (view.viewType === __WEBPACK_IMPORTED_MODULE_3__private_import_core__[\"k\" /* ViewType */].HOST) {\n viewExpr = __WEBPACK_IMPORTED_MODULE_2__output_output_ast__[\"o\" /* THIS_EXPR */];\n }\n else {\n viewExpr = __WEBPACK_IMPORTED_MODULE_2__output_output_ast__[\"o\" /* THIS_EXPR */].prop('parentView');\n }\n var args = [__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__compiler_util_identifier_util__[\"c\" /* createDiTokenExpression */])(token), __WEBPACK_IMPORTED_MODULE_2__output_output_ast__[\"o\" /* THIS_EXPR */].prop('parentIndex')];\n if (optional) {\n args.push(__WEBPACK_IMPORTED_MODULE_2__output_output_ast__[\"f\" /* NULL_EXPR */]);\n }\n return viewExpr.callMethod('injectorGet', args);\n}\nfunction getViewClassName(component, embeddedTemplateIndex) {\n return \"View_\" + component.type.name + embeddedTemplateIndex;\n}\nfunction getHandleEventMethodName(elementIndex) {\n return \"handleEvent_\" + elementIndex;\n}\n//# sourceMappingURL=util.js.map\n\n/***/ },\n/* 67 */\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__abstract_control_directive__ = __webpack_require__(193);\n/* harmony export (binding) */ __webpack_require__.d(exports, \"a\", function() { return NgControl; });\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nvar __extends = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\n\nfunction unimplemented() {\n throw new Error('unimplemented');\n}\n/**\n * A base class that all control directive extend.\n * It binds a {@link FormControl} object to a DOM element.\n *\n * Used internally by Angular forms.\n *\n * @stable\n */\nvar NgControl = (function (_super) {\n __extends(NgControl, _super);\n function NgControl() {\n _super.apply(this, arguments);\n /** @internal */\n this._parent = null;\n this.name = null;\n this.valueAccessor = null;\n /** @internal */\n this._rawValidators = [];\n /** @internal */\n this._rawAsyncValidators = [];\n }\n Object.defineProperty(NgControl.prototype, \"validator\", {\n get: function () { return unimplemented(); },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(NgControl.prototype, \"asyncValidator\", {\n get: function () { return unimplemented(); },\n enumerable: true,\n configurable: true\n });\n return NgControl;\n}(__WEBPACK_IMPORTED_MODULE_0__abstract_control_directive__[\"a\" /* AbstractControlDirective */]));\n//# sourceMappingURL=ng_control.js.map\n\n/***/ },\n/* 68 */\n/***/ function(module, exports) {\n\nmodule.exports = function(it){\n if(typeof it != 'function')throw TypeError(it + ' is not a function!');\n return it;\n};\n\n/***/ },\n/* 69 */\n/***/ function(module, exports) {\n\nvar toString = {}.toString;\n\nmodule.exports = function(it){\n return toString.call(it).slice(8, -1);\n};\n\n/***/ },\n/* 70 */\n/***/ function(module, exports) {\n\nmodule.exports = function(bitmap, value){\n return {\n enumerable : !(bitmap & 1),\n configurable: !(bitmap & 2),\n writable : !(bitmap & 4),\n value : value\n };\n};\n\n/***/ },\n/* 71 */\n/***/ function(module, exports, __webpack_require__) {\n\n// 7.1.1 ToPrimitive(input [, PreferredType])\nvar isObject = __webpack_require__(11);\n// instead of the ES6 spec version, we didn't implement @@toPrimitive case\n// and the second argument - flag - preferred type is a string\nmodule.exports = function(it, S){\n if(!isObject(it))return it;\n var fn, val;\n if(S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it)))return val;\n if(typeof (fn = it.valueOf) == 'function' && !isObject(val = fn.call(it)))return val;\n if(!S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it)))return val;\n throw TypeError(\"Can't convert object to primitive value\");\n};\n\n/***/ },\n/* 72 */\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(1);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__identifiers__ = __webpack_require__(14);\n/* harmony export (binding) */ __webpack_require__.d(exports, \"a\", function() { return CompilerConfig; });\n/* unused harmony export RenderTypes */\n/* unused harmony export DefaultRenderTypes */\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\n\nfunction unimplemented() {\n throw new Error('unimplemented');\n}\nvar CompilerConfig = (function () {\n function CompilerConfig(_a) {\n var _b = _a === void 0 ? {} : _a, _c = _b.renderTypes, renderTypes = _c === void 0 ? new DefaultRenderTypes() : _c, _d = _b.defaultEncapsulation, defaultEncapsulation = _d === void 0 ? __WEBPACK_IMPORTED_MODULE_0__angular_core__[\"c\" /* ViewEncapsulation */].Emulated : _d, genDebugInfo = _b.genDebugInfo, logBindingUpdate = _b.logBindingUpdate, _e = _b.useJit, useJit = _e === void 0 ? true : _e;\n this.renderTypes = renderTypes;\n this.defaultEncapsulation = defaultEncapsulation;\n this._genDebugInfo = genDebugInfo;\n this._logBindingUpdate = logBindingUpdate;\n this.useJit = useJit;\n }\n Object.defineProperty(CompilerConfig.prototype, \"genDebugInfo\", {\n get: function () {\n return this._genDebugInfo === void 0 ? __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__angular_core__[\"a\" /* isDevMode */])() : this._genDebugInfo;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(CompilerConfig.prototype, \"logBindingUpdate\", {\n get: function () {\n return this._logBindingUpdate === void 0 ? __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__angular_core__[\"a\" /* isDevMode */])() : this._logBindingUpdate;\n },\n enumerable: true,\n configurable: true\n });\n return CompilerConfig;\n}());\n/**\n * Types used for the renderer.\n * Can be replaced to specialize the generated output to a specific renderer\n * to help tree shaking.\n */\nvar RenderTypes = (function () {\n function RenderTypes() {\n }\n Object.defineProperty(RenderTypes.prototype, \"renderer\", {\n get: function () { return unimplemented(); },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(RenderTypes.prototype, \"renderText\", {\n get: function () { return unimplemented(); },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(RenderTypes.prototype, \"renderElement\", {\n get: function () { return unimplemented(); },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(RenderTypes.prototype, \"renderComment\", {\n get: function () { return unimplemented(); },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(RenderTypes.prototype, \"renderNode\", {\n get: function () { return unimplemented(); },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(RenderTypes.prototype, \"renderEvent\", {\n get: function () { return unimplemented(); },\n enumerable: true,\n configurable: true\n });\n return RenderTypes;\n}());\nvar DefaultRenderTypes = (function () {\n function DefaultRenderTypes() {\n this.renderText = null;\n this.renderElement = null;\n this.renderComment = null;\n this.renderNode = null;\n this.renderEvent = null;\n }\n Object.defineProperty(DefaultRenderTypes.prototype, \"renderer\", {\n get: function () { return __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_1__identifiers__[\"d\" /* resolveIdentifier */])(__WEBPACK_IMPORTED_MODULE_1__identifiers__[\"b\" /* Identifiers */].Renderer); },\n enumerable: true,\n configurable: true\n });\n ;\n return DefaultRenderTypes;\n}());\n//# sourceMappingURL=config.js.map\n\n/***/ },\n/* 73 */\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__lang__ = __webpack_require__(4);\n/* harmony export (binding) */ __webpack_require__.d(exports, \"b\", function() { return StringMapWrapper; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"a\", function() { return ListWrapper; });\n/* unused harmony export isListLikeIterable */\n/* unused harmony export areIterablesEqual */\n/* unused harmony export iterateListLike */\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\n/**\n * Wraps Javascript Objects\n */\nvar StringMapWrapper = (function () {\n function StringMapWrapper() {\n }\n StringMapWrapper.merge = function (m1, m2) {\n var m = {};\n for (var _i = 0, _a = Object.keys(m1); _i < _a.length; _i++) {\n var k = _a[_i];\n m[k] = m1[k];\n }\n for (var _b = 0, _c = Object.keys(m2); _b < _c.length; _b++) {\n var k = _c[_b];\n m[k] = m2[k];\n }\n return m;\n };\n StringMapWrapper.equals = function (m1, m2) {\n var k1 = Object.keys(m1);\n var k2 = Object.keys(m2);\n if (k1.length != k2.length) {\n return false;\n }\n for (var i = 0; i < k1.length; i++) {\n var key = k1[i];\n if (m1[key] !== m2[key]) {\n return false;\n }\n }\n return true;\n };\n return StringMapWrapper;\n}());\nvar ListWrapper = (function () {\n function ListWrapper() {\n }\n ListWrapper.removeAll = function (list, items) {\n for (var i = 0; i < items.length; ++i) {\n var index = list.indexOf(items[i]);\n if (index > -1) {\n list.splice(index, 1);\n }\n }\n };\n ListWrapper.remove = function (list, el) {\n var index = list.indexOf(el);\n if (index > -1) {\n list.splice(index, 1);\n return true;\n }\n return false;\n };\n ListWrapper.equals = function (a, b) {\n if (a.length != b.length)\n return false;\n for (var i = 0; i < a.length; ++i) {\n if (a[i] !== b[i])\n return false;\n }\n return true;\n };\n ListWrapper.flatten = function (list) {\n return list.reduce(function (flat, item) {\n var flatItem = Array.isArray(item) ? ListWrapper.flatten(item) : item;\n return flat.concat(flatItem);\n }, []);\n };\n return ListWrapper;\n}());\nfunction isListLikeIterable(obj) {\n if (!__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__lang__[\"e\" /* isJsObject */])(obj))\n return false;\n return Array.isArray(obj) ||\n (!(obj instanceof Map) &&\n __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__lang__[\"f\" /* getSymbolIterator */])() in obj); // JS Iterable have a Symbol.iterator prop\n}\nfunction areIterablesEqual(a, b, comparator) {\n var iterator1 = a[__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__lang__[\"f\" /* getSymbolIterator */])()]();\n var iterator2 = b[__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__lang__[\"f\" /* getSymbolIterator */])()]();\n while (true) {\n var item1 = iterator1.next();\n var item2 = iterator2.next();\n if (item1.done && item2.done)\n return true;\n if (item1.done || item2.done)\n return false;\n if (!comparator(item1.value, item2.value))\n return false;\n }\n}\nfunction iterateListLike(obj, fn) {\n if (Array.isArray(obj)) {\n for (var i = 0; i < obj.length; i++) {\n fn(obj[i]);\n }\n }\n else {\n var iterator = obj[__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__lang__[\"f\" /* getSymbolIterator */])()]();\n var item = void 0;\n while (!((item = iterator.next()).done)) {\n fn(item.value);\n }\n }\n}\n//# sourceMappingURL=collection.js.map\n\n/***/ },\n/* 74 */\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__facade_lang__ = __webpack_require__(4);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__parse_util__ = __webpack_require__(33);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__ast__ = __webpack_require__(55);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__interpolation_config__ = __webpack_require__(40);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__lexer__ = __webpack_require__(421);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__tags__ = __webpack_require__(65);\n/* unused harmony export TreeError */\n/* harmony export (binding) */ __webpack_require__.d(exports, \"a\", function() { return ParseTreeResult; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"b\", function() { return Parser; });\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nvar __extends = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\n\n\n\n\n\n\nvar TreeError = (function (_super) {\n __extends(TreeError, _super);\n function TreeError(elementName, span, msg) {\n _super.call(this, span, msg);\n this.elementName = elementName;\n }\n TreeError.create = function (elementName, span, msg) {\n return new TreeError(elementName, span, msg);\n };\n return TreeError;\n}(__WEBPACK_IMPORTED_MODULE_1__parse_util__[\"a\" /* ParseError */]));\nvar ParseTreeResult = (function () {\n function ParseTreeResult(rootNodes, errors) {\n this.rootNodes = rootNodes;\n this.errors = errors;\n }\n return ParseTreeResult;\n}());\nvar Parser = (function () {\n function Parser(getTagDefinition) {\n this.getTagDefinition = getTagDefinition;\n }\n Parser.prototype.parse = function (source, url, parseExpansionForms, interpolationConfig) {\n if (parseExpansionForms === void 0) { parseExpansionForms = false; }\n if (interpolationConfig === void 0) { interpolationConfig = __WEBPACK_IMPORTED_MODULE_3__interpolation_config__[\"a\" /* DEFAULT_INTERPOLATION_CONFIG */]; }\n var tokensAndErrors = __WEBPACK_IMPORTED_MODULE_4__lexer__[\"a\" /* tokenize */](source, url, this.getTagDefinition, parseExpansionForms, interpolationConfig);\n var treeAndErrors = new _TreeBuilder(tokensAndErrors.tokens, this.getTagDefinition).build();\n return new ParseTreeResult(treeAndErrors.rootNodes, tokensAndErrors.errors.concat(treeAndErrors.errors));\n };\n return Parser;\n}());\nvar _TreeBuilder = (function () {\n function _TreeBuilder(tokens, getTagDefinition) {\n this.tokens = tokens;\n this.getTagDefinition = getTagDefinition;\n this._index = -1;\n this._rootNodes = [];\n this._errors = [];\n this._elementStack = [];\n this._advance();\n }\n _TreeBuilder.prototype.build = function () {\n while (this._peek.type !== __WEBPACK_IMPORTED_MODULE_4__lexer__[\"b\" /* TokenType */].EOF) {\n if (this._peek.type === __WEBPACK_IMPORTED_MODULE_4__lexer__[\"b\" /* TokenType */].TAG_OPEN_START) {\n this._consumeStartTag(this._advance());\n }\n else if (this._peek.type === __WEBPACK_IMPORTED_MODULE_4__lexer__[\"b\" /* TokenType */].TAG_CLOSE) {\n this._consumeEndTag(this._advance());\n }\n else if (this._peek.type === __WEBPACK_IMPORTED_MODULE_4__lexer__[\"b\" /* TokenType */].CDATA_START) {\n this._closeVoidElement();\n this._consumeCdata(this._advance());\n }\n else if (this._peek.type === __WEBPACK_IMPORTED_MODULE_4__lexer__[\"b\" /* TokenType */].COMMENT_START) {\n this._closeVoidElement();\n this._consumeComment(this._advance());\n }\n else if (this._peek.type === __WEBPACK_IMPORTED_MODULE_4__lexer__[\"b\" /* TokenType */].TEXT || this._peek.type === __WEBPACK_IMPORTED_MODULE_4__lexer__[\"b\" /* TokenType */].RAW_TEXT ||\n this._peek.type === __WEBPACK_IMPORTED_MODULE_4__lexer__[\"b\" /* TokenType */].ESCAPABLE_RAW_TEXT) {\n this._closeVoidElement();\n this._consumeText(this._advance());\n }\n else if (this._peek.type === __WEBPACK_IMPORTED_MODULE_4__lexer__[\"b\" /* TokenType */].EXPANSION_FORM_START) {\n this._consumeExpansion(this._advance());\n }\n else {\n // Skip all other tokens...\n this._advance();\n }\n }\n return new ParseTreeResult(this._rootNodes, this._errors);\n };\n _TreeBuilder.prototype._advance = function () {\n var prev = this._peek;\n if (this._index < this.tokens.length - 1) {\n // Note: there is always an EOF token at the end\n this._index++;\n }\n this._peek = this.tokens[this._index];\n return prev;\n };\n _TreeBuilder.prototype._advanceIf = function (type) {\n if (this._peek.type === type) {\n return this._advance();\n }\n return null;\n };\n _TreeBuilder.prototype._consumeCdata = function (startToken) {\n this._consumeText(this._advance());\n this._advanceIf(__WEBPACK_IMPORTED_MODULE_4__lexer__[\"b\" /* TokenType */].CDATA_END);\n };\n _TreeBuilder.prototype._consumeComment = function (token) {\n var text = this._advanceIf(__WEBPACK_IMPORTED_MODULE_4__lexer__[\"b\" /* TokenType */].RAW_TEXT);\n this._advanceIf(__WEBPACK_IMPORTED_MODULE_4__lexer__[\"b\" /* TokenType */].COMMENT_END);\n var value = __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__facade_lang__[\"b\" /* isPresent */])(text) ? text.parts[0].trim() : null;\n this._addToParent(new __WEBPACK_IMPORTED_MODULE_2__ast__[\"a\" /* Comment */](value, token.sourceSpan));\n };\n _TreeBuilder.prototype._consumeExpansion = function (token) {\n var switchValue = this._advance();\n var type = this._advance();\n var cases = [];\n // read =\n while (this._peek.type === __WEBPACK_IMPORTED_MODULE_4__lexer__[\"b\" /* TokenType */].EXPANSION_CASE_VALUE) {\n var expCase = this._parseExpansionCase();\n if (!expCase)\n return; // error\n cases.push(expCase);\n }\n // read the final }\n if (this._peek.type !== __WEBPACK_IMPORTED_MODULE_4__lexer__[\"b\" /* TokenType */].EXPANSION_FORM_END) {\n this._errors.push(TreeError.create(null, this._peek.sourceSpan, \"Invalid ICU message. Missing '}'.\"));\n return;\n }\n var sourceSpan = new __WEBPACK_IMPORTED_MODULE_1__parse_util__[\"d\" /* ParseSourceSpan */](token.sourceSpan.start, this._peek.sourceSpan.end);\n this._addToParent(new __WEBPACK_IMPORTED_MODULE_2__ast__[\"b\" /* Expansion */](switchValue.parts[0], type.parts[0], cases, sourceSpan, switchValue.sourceSpan));\n this._advance();\n };\n _TreeBuilder.prototype._parseExpansionCase = function () {\n var value = this._advance();\n // read {\n if (this._peek.type !== __WEBPACK_IMPORTED_MODULE_4__lexer__[\"b\" /* TokenType */].EXPANSION_CASE_EXP_START) {\n this._errors.push(TreeError.create(null, this._peek.sourceSpan, \"Invalid ICU message. Missing '{'.\"));\n return null;\n }\n // read until }\n var start = this._advance();\n var exp = this._collectExpansionExpTokens(start);\n if (!exp)\n return null;\n var end = this._advance();\n exp.push(new __WEBPACK_IMPORTED_MODULE_4__lexer__[\"c\" /* Token */](__WEBPACK_IMPORTED_MODULE_4__lexer__[\"b\" /* TokenType */].EOF, [], end.sourceSpan));\n // parse everything in between { and }\n var parsedExp = new _TreeBuilder(exp, this.getTagDefinition).build();\n if (parsedExp.errors.length > 0) {\n this._errors = this._errors.concat(parsedExp.errors);\n return null;\n }\n var sourceSpan = new __WEBPACK_IMPORTED_MODULE_1__parse_util__[\"d\" /* ParseSourceSpan */](value.sourceSpan.start, end.sourceSpan.end);\n var expSourceSpan = new __WEBPACK_IMPORTED_MODULE_1__parse_util__[\"d\" /* ParseSourceSpan */](start.sourceSpan.start, end.sourceSpan.end);\n return new __WEBPACK_IMPORTED_MODULE_2__ast__[\"c\" /* ExpansionCase */](value.parts[0], parsedExp.rootNodes, sourceSpan, value.sourceSpan, expSourceSpan);\n };\n _TreeBuilder.prototype._collectExpansionExpTokens = function (start) {\n var exp = [];\n var expansionFormStack = [__WEBPACK_IMPORTED_MODULE_4__lexer__[\"b\" /* TokenType */].EXPANSION_CASE_EXP_START];\n while (true) {\n if (this._peek.type === __WEBPACK_IMPORTED_MODULE_4__lexer__[\"b\" /* TokenType */].EXPANSION_FORM_START ||\n this._peek.type === __WEBPACK_IMPORTED_MODULE_4__lexer__[\"b\" /* TokenType */].EXPANSION_CASE_EXP_START) {\n expansionFormStack.push(this._peek.type);\n }\n if (this._peek.type === __WEBPACK_IMPORTED_MODULE_4__lexer__[\"b\" /* TokenType */].EXPANSION_CASE_EXP_END) {\n if (lastOnStack(expansionFormStack, __WEBPACK_IMPORTED_MODULE_4__lexer__[\"b\" /* TokenType */].EXPANSION_CASE_EXP_START)) {\n expansionFormStack.pop();\n if (expansionFormStack.length == 0)\n return exp;\n }\n else {\n this._errors.push(TreeError.create(null, start.sourceSpan, \"Invalid ICU message. Missing '}'.\"));\n return null;\n }\n }\n if (this._peek.type === __WEBPACK_IMPORTED_MODULE_4__lexer__[\"b\" /* TokenType */].EXPANSION_FORM_END) {\n if (lastOnStack(expansionFormStack, __WEBPACK_IMPORTED_MODULE_4__lexer__[\"b\" /* TokenType */].EXPANSION_FORM_START)) {\n expansionFormStack.pop();\n }\n else {\n this._errors.push(TreeError.create(null, start.sourceSpan, \"Invalid ICU message. Missing '}'.\"));\n return null;\n }\n }\n if (this._peek.type === __WEBPACK_IMPORTED_MODULE_4__lexer__[\"b\" /* TokenType */].EOF) {\n this._errors.push(TreeError.create(null, start.sourceSpan, \"Invalid ICU message. Missing '}'.\"));\n return null;\n }\n exp.push(this._advance());\n }\n };\n _TreeBuilder.prototype._consumeText = function (token) {\n var text = token.parts[0];\n if (text.length > 0 && text[0] == '\\n') {\n var parent_1 = this._getParentElement();\n if (__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__facade_lang__[\"b\" /* isPresent */])(parent_1) && parent_1.children.length == 0 &&\n this.getTagDefinition(parent_1.name).ignoreFirstLf) {\n text = text.substring(1);\n }\n }\n if (text.length > 0) {\n this._addToParent(new __WEBPACK_IMPORTED_MODULE_2__ast__[\"d\" /* Text */](text, token.sourceSpan));\n }\n };\n _TreeBuilder.prototype._closeVoidElement = function () {\n if (this._elementStack.length > 0) {\n var el = this._elementStack[this._elementStack.length - 1];\n if (this.getTagDefinition(el.name).isVoid) {\n this._elementStack.pop();\n }\n }\n };\n _TreeBuilder.prototype._consumeStartTag = function (startTagToken) {\n var prefix = startTagToken.parts[0];\n var name = startTagToken.parts[1];\n var attrs = [];\n while (this._peek.type === __WEBPACK_IMPORTED_MODULE_4__lexer__[\"b\" /* TokenType */].ATTR_NAME) {\n attrs.push(this._consumeAttr(this._advance()));\n }\n var fullName = this._getElementFullName(prefix, name, this._getParentElement());\n var selfClosing = false;\n // Note: There could have been a tokenizer error\n // so that we don't get a token for the end tag...\n if (this._peek.type === __WEBPACK_IMPORTED_MODULE_4__lexer__[\"b\" /* TokenType */].TAG_OPEN_END_VOID) {\n this._advance();\n selfClosing = true;\n var tagDef = this.getTagDefinition(fullName);\n if (!(tagDef.canSelfClose || __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_5__tags__[\"c\" /* getNsPrefix */])(fullName) !== null || tagDef.isVoid)) {\n this._errors.push(TreeError.create(fullName, startTagToken.sourceSpan, \"Only void and foreign elements can be self closed \\\"\" + startTagToken.parts[1] + \"\\\"\"));\n }\n }\n else if (this._peek.type === __WEBPACK_IMPORTED_MODULE_4__lexer__[\"b\" /* TokenType */].TAG_OPEN_END) {\n this._advance();\n selfClosing = false;\n }\n var end = this._peek.sourceSpan.start;\n var span = new __WEBPACK_IMPORTED_MODULE_1__parse_util__[\"d\" /* ParseSourceSpan */](startTagToken.sourceSpan.start, end);\n var el = new __WEBPACK_IMPORTED_MODULE_2__ast__[\"e\" /* Element */](fullName, attrs, [], span, span, null);\n this._pushElement(el);\n if (selfClosing) {\n this._popElement(fullName);\n el.endSourceSpan = span;\n }\n };\n _TreeBuilder.prototype._pushElement = function (el) {\n if (this._elementStack.length > 0) {\n var parentEl = this._elementStack[this._elementStack.length - 1];\n if (this.getTagDefinition(parentEl.name).isClosedByChild(el.name)) {\n this._elementStack.pop();\n }\n }\n var tagDef = this.getTagDefinition(el.name);\n var _a = this._getParentElementSkippingContainers(), parent = _a.parent, container = _a.container;\n if (__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__facade_lang__[\"b\" /* isPresent */])(parent) && tagDef.requireExtraParent(parent.name)) {\n var newParent = new __WEBPACK_IMPORTED_MODULE_2__ast__[\"e\" /* Element */](tagDef.parentToAdd, [], [], el.sourceSpan, el.startSourceSpan, el.endSourceSpan);\n this._insertBeforeContainer(parent, container, newParent);\n }\n this._addToParent(el);\n this._elementStack.push(el);\n };\n _TreeBuilder.prototype._consumeEndTag = function (endTagToken) {\n var fullName = this._getElementFullName(endTagToken.parts[0], endTagToken.parts[1], this._getParentElement());\n if (this._getParentElement()) {\n this._getParentElement().endSourceSpan = endTagToken.sourceSpan;\n }\n if (this.getTagDefinition(fullName).isVoid) {\n this._errors.push(TreeError.create(fullName, endTagToken.sourceSpan, \"Void elements do not have end tags \\\"\" + endTagToken.parts[1] + \"\\\"\"));\n }\n else if (!this._popElement(fullName)) {\n this._errors.push(TreeError.create(fullName, endTagToken.sourceSpan, \"Unexpected closing tag \\\"\" + endTagToken.parts[1] + \"\\\"\"));\n }\n };\n _TreeBuilder.prototype._popElement = function (fullName) {\n for (var stackIndex = this._elementStack.length - 1; stackIndex >= 0; stackIndex--) {\n var el = this._elementStack[stackIndex];\n if (el.name == fullName) {\n this._elementStack.splice(stackIndex, this._elementStack.length - stackIndex);\n return true;\n }\n if (!this.getTagDefinition(el.name).closedByParent) {\n return false;\n }\n }\n return false;\n };\n _TreeBuilder.prototype._consumeAttr = function (attrName) {\n var fullName = __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_5__tags__[\"d\" /* mergeNsAndName */])(attrName.parts[0], attrName.parts[1]);\n var end = attrName.sourceSpan.end;\n var value = '';\n var valueSpan;\n if (this._peek.type === __WEBPACK_IMPORTED_MODULE_4__lexer__[\"b\" /* TokenType */].ATTR_VALUE) {\n var valueToken = this._advance();\n value = valueToken.parts[0];\n end = valueToken.sourceSpan.end;\n valueSpan = valueToken.sourceSpan;\n }\n return new __WEBPACK_IMPORTED_MODULE_2__ast__[\"f\" /* Attribute */](fullName, value, new __WEBPACK_IMPORTED_MODULE_1__parse_util__[\"d\" /* ParseSourceSpan */](attrName.sourceSpan.start, end), valueSpan);\n };\n _TreeBuilder.prototype._getParentElement = function () {\n return this._elementStack.length > 0 ? this._elementStack[this._elementStack.length - 1] : null;\n };\n /**\n * Returns the parent in the DOM and the container.\n *\n * `` elements are skipped as they are not rendered as DOM element.\n */\n _TreeBuilder.prototype._getParentElementSkippingContainers = function () {\n var container = null;\n for (var i = this._elementStack.length - 1; i >= 0; i--) {\n if (this._elementStack[i].name !== 'ng-container') {\n return { parent: this._elementStack[i], container: container };\n }\n container = this._elementStack[i];\n }\n return { parent: this._elementStack[this._elementStack.length - 1], container: container };\n };\n _TreeBuilder.prototype._addToParent = function (node) {\n var parent = this._getParentElement();\n if (__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__facade_lang__[\"b\" /* isPresent */])(parent)) {\n parent.children.push(node);\n }\n else {\n this._rootNodes.push(node);\n }\n };\n /**\n * Insert a node between the parent and the container.\n * When no container is given, the node is appended as a child of the parent.\n * Also updates the element stack accordingly.\n *\n * @internal\n */\n _TreeBuilder.prototype._insertBeforeContainer = function (parent, container, node) {\n if (!container) {\n this._addToParent(node);\n this._elementStack.push(node);\n }\n else {\n if (parent) {\n // replace the container with the new node in the children\n var index = parent.children.indexOf(container);\n parent.children[index] = node;\n }\n else {\n this._rootNodes.push(node);\n }\n node.children.push(container);\n this._elementStack.splice(this._elementStack.indexOf(container), 0, node);\n }\n };\n _TreeBuilder.prototype._getElementFullName = function (prefix, localName, parentElement) {\n if (__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__facade_lang__[\"a\" /* isBlank */])(prefix)) {\n prefix = this.getTagDefinition(localName).implicitNamespacePrefix;\n if (__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__facade_lang__[\"a\" /* isBlank */])(prefix) && __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__facade_lang__[\"b\" /* isPresent */])(parentElement)) {\n prefix = __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_5__tags__[\"c\" /* getNsPrefix */])(parentElement.name);\n }\n }\n return __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_5__tags__[\"d\" /* mergeNsAndName */])(prefix, localName);\n };\n return _TreeBuilder;\n}());\nfunction lastOnStack(stack, element) {\n return stack.length > 0 && stack[stack.length - 1] === element;\n}\n//# sourceMappingURL=parser.js.map\n\n/***/ },\n/* 75 */\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__facade_lang__ = __webpack_require__(7);\n/* unused harmony export Class */\n/* harmony export (immutable) */ exports[\"c\"] = makeDecorator;\n/* harmony export (immutable) */ exports[\"a\"] = makeParamDecorator;\n/* harmony export (immutable) */ exports[\"b\"] = makePropDecorator;\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nvar _nextClassId = 0;\nvar Reflect = __WEBPACK_IMPORTED_MODULE_0__facade_lang__[\"a\" /* global */].Reflect;\nfunction extractAnnotation(annotation) {\n if (typeof annotation === 'function' && annotation.hasOwnProperty('annotation')) {\n // it is a decorator, extract annotation\n annotation = annotation.annotation;\n }\n return annotation;\n}\nfunction applyParams(fnOrArray, key) {\n if (fnOrArray === Object || fnOrArray === String || fnOrArray === Function ||\n fnOrArray === Number || fnOrArray === Array) {\n throw new Error(\"Can not use native \" + __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__facade_lang__[\"b\" /* stringify */])(fnOrArray) + \" as constructor\");\n }\n if (typeof fnOrArray === 'function') {\n return fnOrArray;\n }\n if (Array.isArray(fnOrArray)) {\n var annotations = fnOrArray;\n var annoLength = annotations.length - 1;\n var fn = fnOrArray[annoLength];\n if (typeof fn !== 'function') {\n throw new Error(\"Last position of Class method array must be Function in key \" + key + \" was '\" + __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__facade_lang__[\"b\" /* stringify */])(fn) + \"'\");\n }\n if (annoLength != fn.length) {\n throw new Error(\"Number of annotations (\" + annoLength + \") does not match number of arguments (\" + fn.length + \") in the function: \" + __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__facade_lang__[\"b\" /* stringify */])(fn));\n }\n var paramsAnnotations = [];\n for (var i = 0, ii = annotations.length - 1; i < ii; i++) {\n var paramAnnotations = [];\n paramsAnnotations.push(paramAnnotations);\n var annotation = annotations[i];\n if (Array.isArray(annotation)) {\n for (var j = 0; j < annotation.length; j++) {\n paramAnnotations.push(extractAnnotation(annotation[j]));\n }\n }\n else if (typeof annotation === 'function') {\n paramAnnotations.push(extractAnnotation(annotation));\n }\n else {\n paramAnnotations.push(annotation);\n }\n }\n Reflect.defineMetadata('parameters', paramsAnnotations, fn);\n return fn;\n }\n throw new Error(\"Only Function or Array is supported in Class definition for key '\" + key + \"' is '\" + __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__facade_lang__[\"b\" /* stringify */])(fnOrArray) + \"'\");\n}\n/**\n * Provides a way for expressing ES6 classes with parameter annotations in ES5.\n *\n * ## Basic Example\n *\n * ```\n * var Greeter = ng.Class({\n * constructor: function(name) {\n * this.name = name;\n * },\n *\n * greet: function() {\n * alert('Hello ' + this.name + '!');\n * }\n * });\n * ```\n *\n * is equivalent to ES6:\n *\n * ```\n * class Greeter {\n * constructor(name) {\n * this.name = name;\n * }\n *\n * greet() {\n * alert('Hello ' + this.name + '!');\n * }\n * }\n * ```\n *\n * or equivalent to ES5:\n *\n * ```\n * var Greeter = function (name) {\n * this.name = name;\n * }\n *\n * Greeter.prototype.greet = function () {\n * alert('Hello ' + this.name + '!');\n * }\n * ```\n *\n * ### Example with parameter annotations\n *\n * ```\n * var MyService = ng.Class({\n * constructor: [String, [new Optional(), Service], function(name, myService) {\n * ...\n * }]\n * });\n * ```\n *\n * is equivalent to ES6:\n *\n * ```\n * class MyService {\n * constructor(name: string, @Optional() myService: Service) {\n * ...\n * }\n * }\n * ```\n *\n * ### Example with inheritance\n *\n * ```\n * var Shape = ng.Class({\n * constructor: (color) {\n * this.color = color;\n * }\n * });\n *\n * var Square = ng.Class({\n * extends: Shape,\n * constructor: function(color, size) {\n * Shape.call(this, color);\n * this.size = size;\n * }\n * });\n * ```\n * @stable\n */\nfunction Class(clsDef) {\n var constructor = applyParams(clsDef.hasOwnProperty('constructor') ? clsDef.constructor : undefined, 'constructor');\n var proto = constructor.prototype;\n if (clsDef.hasOwnProperty('extends')) {\n if (typeof clsDef.extends === 'function') {\n constructor.prototype = proto =\n Object.create(clsDef.extends.prototype);\n }\n else {\n throw new Error(\"Class definition 'extends' property must be a constructor function was: \" + __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__facade_lang__[\"b\" /* stringify */])(clsDef.extends));\n }\n }\n for (var key in clsDef) {\n if (key !== 'extends' && key !== 'prototype' && clsDef.hasOwnProperty(key)) {\n proto[key] = applyParams(clsDef[key], key);\n }\n }\n if (this && this.annotations instanceof Array) {\n Reflect.defineMetadata('annotations', this.annotations, constructor);\n }\n var constructorName = constructor['name'];\n if (!constructorName || constructorName === 'constructor') {\n constructor['overriddenName'] = \"class\" + _nextClassId++;\n }\n return constructor;\n}\nfunction makeDecorator(name, props, parentClass, chainFn) {\n if (chainFn === void 0) { chainFn = null; }\n var metaCtor = makeMetadataCtor([props]);\n function DecoratorFactory(objOrType) {\n if (!(Reflect && Reflect.getMetadata)) {\n throw 'reflect-metadata shim is required when using class decorators';\n }\n if (this instanceof DecoratorFactory) {\n metaCtor.call(this, objOrType);\n return this;\n }\n var annotationInstance = new DecoratorFactory(objOrType);\n var chainAnnotation = typeof this === 'function' && Array.isArray(this.annotations) ? this.annotations : [];\n chainAnnotation.push(annotationInstance);\n var TypeDecorator = function TypeDecorator(cls) {\n var annotations = Reflect.getOwnMetadata('annotations', cls) || [];\n annotations.push(annotationInstance);\n Reflect.defineMetadata('annotations', annotations, cls);\n return cls;\n };\n TypeDecorator.annotations = chainAnnotation;\n TypeDecorator.Class = Class;\n if (chainFn)\n chainFn(TypeDecorator);\n return TypeDecorator;\n }\n if (parentClass) {\n DecoratorFactory.prototype = Object.create(parentClass.prototype);\n }\n DecoratorFactory.prototype.toString = function () { return (\"@\" + name); };\n DecoratorFactory.annotationCls = DecoratorFactory;\n return DecoratorFactory;\n}\nfunction makeMetadataCtor(props) {\n return function ctor() {\n var _this = this;\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i - 0] = arguments[_i];\n }\n props.forEach(function (prop, i) {\n var argVal = args[i];\n if (Array.isArray(prop)) {\n // plain parameter\n _this[prop[0]] = argVal === undefined ? prop[1] : argVal;\n }\n else {\n for (var propName in prop) {\n _this[propName] =\n argVal && argVal.hasOwnProperty(propName) ? argVal[propName] : prop[propName];\n }\n }\n });\n };\n}\nfunction makeParamDecorator(name, props, parentClass) {\n var metaCtor = makeMetadataCtor(props);\n function ParamDecoratorFactory() {\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i - 0] = arguments[_i];\n }\n if (this instanceof ParamDecoratorFactory) {\n metaCtor.apply(this, args);\n return this;\n }\n var annotationInstance = new ((_a = ParamDecoratorFactory).bind.apply(_a, [void 0].concat(args)))();\n ParamDecorator.annotation = annotationInstance;\n return ParamDecorator;\n function ParamDecorator(cls, unusedKey, index) {\n var parameters = Reflect.getMetadata('parameters', cls) || [];\n // there might be gaps if some in between parameters do not have annotations.\n // we pad with nulls.\n while (parameters.length <= index) {\n parameters.push(null);\n }\n parameters[index] = parameters[index] || [];\n parameters[index].push(annotationInstance);\n Reflect.defineMetadata('parameters', parameters, cls);\n return cls;\n }\n var _a;\n }\n if (parentClass) {\n ParamDecoratorFactory.prototype = Object.create(parentClass.prototype);\n }\n ParamDecoratorFactory.prototype.toString = function () { return (\"@\" + name); };\n ParamDecoratorFactory.annotationCls = ParamDecoratorFactory;\n return ParamDecoratorFactory;\n}\nfunction makePropDecorator(name, props, parentClass) {\n var metaCtor = makeMetadataCtor(props);\n function PropDecoratorFactory() {\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i - 0] = arguments[_i];\n }\n if (this instanceof PropDecoratorFactory) {\n metaCtor.apply(this, args);\n return this;\n }\n var decoratorInstance = new ((_a = PropDecoratorFactory).bind.apply(_a, [void 0].concat(args)))();\n return function PropDecorator(target, name) {\n var meta = Reflect.getOwnMetadata('propMetadata', target.constructor) || {};\n meta[name] = meta.hasOwnProperty(name) && meta[name] || [];\n meta[name].unshift(decoratorInstance);\n Reflect.defineMetadata('propMetadata', meta, target.constructor);\n };\n var _a;\n }\n if (parentClass) {\n PropDecoratorFactory.prototype = Object.create(parentClass.prototype);\n }\n PropDecoratorFactory.prototype.toString = function () { return (\"@\" + name); };\n PropDecoratorFactory.annotationCls = PropDecoratorFactory;\n return PropDecoratorFactory;\n}\n//# sourceMappingURL=decorators.js.map\n\n/***/ },\n/* 76 */\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_rxjs_Subject__ = __webpack_require__(12);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_rxjs_Subject___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_rxjs_Subject__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_rxjs_Observable__ = __webpack_require__(0);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_rxjs_Observable___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_rxjs_Observable__);\n/* harmony export (binding) */ __webpack_require__.d(exports, \"a\", function() { return EventEmitter; });\n/* unused harmony reexport Observable */\n/* unused harmony reexport Subject */\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nvar __extends = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\n\n\n\n/**\n * Use by directives and components to emit custom Events.\n *\n * ### Examples\n *\n * In the following example, `Zippy` alternatively emits `open` and `close` events when its\n * title gets clicked:\n *\n * ```\n * @Component({\n * selector: 'zippy',\n * template: `\n * \n *
Toggle
\n *
\n * \n *
\n *
`})\n * export class Zippy {\n * visible: boolean = true;\n * @Output() open: EventEmitter = new EventEmitter();\n * @Output() close: EventEmitter = new EventEmitter();\n *\n * toggle() {\n * this.visible = !this.visible;\n * if (this.visible) {\n * this.open.emit(null);\n * } else {\n * this.close.emit(null);\n * }\n * }\n * }\n * ```\n *\n * The events payload can be accessed by the parameter `$event` on the components output event\n * handler:\n *\n * ```\n * \n * ```\n *\n * Uses Rx.Observable but provides an adapter to make it work as specified here:\n * https://github.com/jhusain/observable-spec\n *\n * Once a reference implementation of the spec is available, switch to it.\n * @stable\n */\nvar EventEmitter = (function (_super) {\n __extends(EventEmitter, _super);\n /**\n * Creates an instance of [EventEmitter], which depending on [isAsync],\n * delivers events synchronously or asynchronously.\n */\n function EventEmitter(isAsync) {\n if (isAsync === void 0) { isAsync = false; }\n _super.call(this);\n this.__isAsync = isAsync;\n }\n EventEmitter.prototype.emit = function (value) { _super.prototype.next.call(this, value); };\n EventEmitter.prototype.subscribe = function (generatorOrNext, error, complete) {\n var schedulerFn;\n var errorFn = function (err) { return null; };\n var completeFn = function () { return null; };\n if (generatorOrNext && typeof generatorOrNext === 'object') {\n schedulerFn = this.__isAsync ? function (value) {\n setTimeout(function () { return generatorOrNext.next(value); });\n } : function (value) { generatorOrNext.next(value); };\n if (generatorOrNext.error) {\n errorFn = this.__isAsync ? function (err) { setTimeout(function () { return generatorOrNext.error(err); }); } :\n function (err) { generatorOrNext.error(err); };\n }\n if (generatorOrNext.complete) {\n completeFn = this.__isAsync ? function () { setTimeout(function () { return generatorOrNext.complete(); }); } :\n function () { generatorOrNext.complete(); };\n }\n }\n else {\n schedulerFn = this.__isAsync ? function (value) { setTimeout(function () { return generatorOrNext(value); }); } :\n function (value) { generatorOrNext(value); };\n if (error) {\n errorFn =\n this.__isAsync ? function (err) { setTimeout(function () { return error(err); }); } : function (err) { error(err); };\n }\n if (complete) {\n completeFn =\n this.__isAsync ? function () { setTimeout(function () { return complete(); }); } : function () { complete(); };\n }\n }\n return _super.prototype.subscribe.call(this, schedulerFn, errorFn, completeFn);\n };\n return EventEmitter;\n}(__WEBPACK_IMPORTED_MODULE_0_rxjs_Subject__[\"Subject\"]));\n//# sourceMappingURL=async.js.map\n\n/***/ },\n/* 77 */\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* WEBPACK VAR INJECTION */(function(global) {/* unused harmony export scheduleMicroTask */\n/* unused harmony export global */\n/* unused harmony export getTypeNameForDebugging */\n/* harmony export (immutable) */ exports[\"c\"] = isPresent;\n/* harmony export (immutable) */ exports[\"f\"] = isBlank;\n/* unused harmony export isStrictStringMap */\n/* unused harmony export isDate */\n/* unused harmony export stringify */\n/* unused harmony export NumberWrapper */\n/* harmony export (immutable) */ exports[\"e\"] = looseIdentical;\n/* harmony export (immutable) */ exports[\"a\"] = isJsObject;\n/* unused harmony export print */\n/* unused harmony export warn */\n/* unused harmony export setValueOnPath */\n/* harmony export (immutable) */ exports[\"b\"] = getSymbolIterator;\n/* harmony export (immutable) */ exports[\"d\"] = isPrimitive;\n/* unused harmony export escapeRegExp */\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nvar globalScope;\nif (typeof window === 'undefined') {\n if (typeof WorkerGlobalScope !== 'undefined' && self instanceof WorkerGlobalScope) {\n // TODO: Replace any with WorkerGlobalScope from lib.webworker.d.ts #3492\n globalScope = self;\n }\n else {\n globalScope = global;\n }\n}\nelse {\n globalScope = window;\n}\nfunction scheduleMicroTask(fn) {\n Zone.current.scheduleMicroTask('scheduleMicrotask', fn);\n}\n// Need to declare a new variable for global here since TypeScript\n// exports the original value of the symbol.\nvar _global = globalScope;\n\nfunction getTypeNameForDebugging(type) {\n return type['name'] || typeof type;\n}\n// TODO: remove calls to assert in production environment\n// Note: Can't just export this and import in in other files\n// as `assert` is a reserved keyword in Dart\n_global.assert = function assert(condition) {\n // TODO: to be fixed properly via #2830, noop for now\n};\nfunction isPresent(obj) {\n return obj != null;\n}\nfunction isBlank(obj) {\n return obj == null;\n}\nvar STRING_MAP_PROTO = Object.getPrototypeOf({});\nfunction isStrictStringMap(obj) {\n return typeof obj === 'object' && obj !== null && Object.getPrototypeOf(obj) === STRING_MAP_PROTO;\n}\nfunction isDate(obj) {\n return obj instanceof Date && !isNaN(obj.valueOf());\n}\nfunction stringify(token) {\n if (typeof token === 'string') {\n return token;\n }\n if (token == null) {\n return '' + token;\n }\n if (token.overriddenName) {\n return token.overriddenName;\n }\n if (token.name) {\n return token.name;\n }\n var res = token.toString();\n var newLineIndex = res.indexOf('\\n');\n return newLineIndex === -1 ? res : res.substring(0, newLineIndex);\n}\nvar NumberWrapper = (function () {\n function NumberWrapper() {\n }\n NumberWrapper.parseIntAutoRadix = function (text) {\n var result = parseInt(text);\n if (isNaN(result)) {\n throw new Error('Invalid integer literal when parsing ' + text);\n }\n return result;\n };\n NumberWrapper.isNumeric = function (value) { return !isNaN(value - parseFloat(value)); };\n return NumberWrapper;\n}());\n// JS has NaN !== NaN\nfunction looseIdentical(a, b) {\n return a === b || typeof a === 'number' && typeof b === 'number' && isNaN(a) && isNaN(b);\n}\nfunction isJsObject(o) {\n return o !== null && (typeof o === 'function' || typeof o === 'object');\n}\nfunction print(obj) {\n // tslint:disable-next-line:no-console\n console.log(obj);\n}\nfunction warn(obj) {\n console.warn(obj);\n}\nfunction setValueOnPath(global, path, value) {\n var parts = path.split('.');\n var obj = global;\n while (parts.length > 1) {\n var name_1 = parts.shift();\n if (obj.hasOwnProperty(name_1) && obj[name_1] != null) {\n obj = obj[name_1];\n }\n else {\n obj = obj[name_1] = {};\n }\n }\n if (obj === undefined || obj === null) {\n obj = {};\n }\n obj[parts.shift()] = value;\n}\nvar _symbolIterator = null;\nfunction getSymbolIterator() {\n if (!_symbolIterator) {\n if (globalScope.Symbol && Symbol.iterator) {\n _symbolIterator = Symbol.iterator;\n }\n else {\n // es6-shim specific logic\n var keys = Object.getOwnPropertyNames(Map.prototype);\n for (var i = 0; i < keys.length; ++i) {\n var key = keys[i];\n if (key !== 'entries' && key !== 'size' &&\n Map.prototype[key] === Map.prototype['entries']) {\n _symbolIterator = key;\n }\n }\n }\n }\n return _symbolIterator;\n}\nfunction isPrimitive(obj) {\n return !isJsObject(obj);\n}\nfunction escapeRegExp(s) {\n return s.replace(/([.*+?^=!:${}()|[\\]\\/\\\\])/g, '\\\\$1');\n}\n//# sourceMappingURL=lang.js.map\n/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(63)))\n\n/***/ },\n/* 78 */\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(1);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__dom_adapter__ = __webpack_require__(21);\n/* harmony export (binding) */ __webpack_require__.d(exports, \"c\", function() { return EVENT_MANAGER_PLUGINS; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"a\", function() { return EventManager; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"b\", function() { return EventManagerPlugin; });\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\n\n/**\n * @stable\n */\nvar EVENT_MANAGER_PLUGINS = new __WEBPACK_IMPORTED_MODULE_0__angular_core__[\"w\" /* OpaqueToken */]('EventManagerPlugins');\n/**\n * @stable\n */\nvar EventManager = (function () {\n function EventManager(plugins, _zone) {\n var _this = this;\n this._zone = _zone;\n this._eventNameToPlugin = new Map();\n plugins.forEach(function (p) { return p.manager = _this; });\n this._plugins = plugins.slice().reverse();\n }\n EventManager.prototype.addEventListener = function (element, eventName, handler) {\n var plugin = this._findPluginFor(eventName);\n return plugin.addEventListener(element, eventName, handler);\n };\n EventManager.prototype.addGlobalEventListener = function (target, eventName, handler) {\n var plugin = this._findPluginFor(eventName);\n return plugin.addGlobalEventListener(target, eventName, handler);\n };\n EventManager.prototype.getZone = function () { return this._zone; };\n /** @internal */\n EventManager.prototype._findPluginFor = function (eventName) {\n var plugin = this._eventNameToPlugin.get(eventName);\n if (plugin) {\n return plugin;\n }\n var plugins = this._plugins;\n for (var i = 0; i < plugins.length; i++) {\n var plugin_1 = plugins[i];\n if (plugin_1.supports(eventName)) {\n this._eventNameToPlugin.set(eventName, plugin_1);\n return plugin_1;\n }\n }\n throw new Error(\"No event manager plugin found for event \" + eventName);\n };\n EventManager.decorators = [\n { type: __WEBPACK_IMPORTED_MODULE_0__angular_core__[\"b\" /* Injectable */] },\n ];\n /** @nocollapse */\n EventManager.ctorParameters = [\n { type: Array, decorators: [{ type: __WEBPACK_IMPORTED_MODULE_0__angular_core__[\"y\" /* Inject */], args: [EVENT_MANAGER_PLUGINS,] },] },\n { type: __WEBPACK_IMPORTED_MODULE_0__angular_core__[\"_13\" /* NgZone */], },\n ];\n return EventManager;\n}());\nvar EventManagerPlugin = (function () {\n function EventManagerPlugin() {\n }\n EventManagerPlugin.prototype.addGlobalEventListener = function (element, eventName, handler) {\n var target = __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_1__dom_adapter__[\"a\" /* getDOM */])().getGlobalEventTarget(element);\n if (!target) {\n throw new Error(\"Unsupported event target \" + target + \" for event \" + eventName);\n }\n return this.addEventListener(target, eventName, handler);\n };\n ;\n return EventManagerPlugin;\n}());\n//# sourceMappingURL=event_manager.js.map\n\n/***/ },\n/* 79 */\n/***/ function(module, exports, __webpack_require__) {\n\n// optional / simple context binding\nvar aFunction = __webpack_require__(68);\nmodule.exports = function(fn, that, length){\n aFunction(fn);\n if(that === undefined)return fn;\n switch(length){\n case 1: return function(a){\n return fn.call(that, a);\n };\n case 2: return function(a, b){\n return fn.call(that, a, b);\n };\n case 3: return function(a, b, c){\n return fn.call(that, a, b, c);\n };\n }\n return function(/* ...args */){\n return fn.apply(that, arguments);\n };\n};\n\n/***/ },\n/* 80 */\n/***/ function(module, exports, __webpack_require__) {\n\n// 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties])\nvar anObject = __webpack_require__(8)\n , dPs = __webpack_require__(342)\n , enumBugKeys = __webpack_require__(212)\n , IE_PROTO = __webpack_require__(225)('IE_PROTO')\n , Empty = function(){ /* empty */ }\n , PROTOTYPE = 'prototype';\n\n// Create object with fake `null` prototype: use iframe Object with cleared prototype\nvar createDict = function(){\n // Thrash, waste and sodomy: IE GC bug\n var iframe = __webpack_require__(331)('iframe')\n , i = enumBugKeys.length\n , lt = '<'\n , gt = '>'\n , iframeDocument;\n iframe.style.display = 'none';\n __webpack_require__(332).appendChild(iframe);\n iframe.src = 'javascript:'; // eslint-disable-line no-script-url\n // createDict = iframe.contentWindow.Object;\n // html.removeChild(iframe);\n iframeDocument = iframe.contentWindow.document;\n iframeDocument.open();\n iframeDocument.write(lt + 'script' + gt + 'document.F=Object' + lt + '/script' + gt);\n iframeDocument.close();\n createDict = iframeDocument.F;\n while(i--)delete createDict[PROTOTYPE][enumBugKeys[i]];\n return createDict();\n};\n\nmodule.exports = Object.create || function create(O, Properties){\n var result;\n if(O !== null){\n Empty[PROTOTYPE] = anObject(O);\n result = new Empty;\n Empty[PROTOTYPE] = null;\n // add \"__proto__\" for Object.getPrototypeOf polyfill\n result[IE_PROTO] = O;\n } else result = createDict();\n return Properties === undefined ? result : dPs(result, Properties);\n};\n\n\n/***/ },\n/* 81 */\n/***/ function(module, exports, __webpack_require__) {\n\n// 19.1.2.14 / 15.2.3.14 Object.keys(O)\nvar $keys = __webpack_require__(344)\n , enumBugKeys = __webpack_require__(212);\n\nmodule.exports = Object.keys || function keys(O){\n return $keys(O, enumBugKeys);\n};\n\n/***/ },\n/* 82 */\n/***/ function(module, exports) {\n\n// 7.1.4 ToInteger\nvar ceil = Math.ceil\n , floor = Math.floor;\nmodule.exports = function(it){\n return isNaN(it = +it) ? 0 : (it > 0 ? floor : ceil)(it);\n};\n\n/***/ },\n/* 83 */\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\"use strict\";\nvar MulticastObservable_1 = __webpack_require__(364);\nvar ConnectableObservable_1 = __webpack_require__(228);\n/**\n * Returns an Observable that emits the results of invoking a specified selector on items\n * emitted by a ConnectableObservable that shares a single subscription to the underlying stream.\n *\n *
\n *\n * @param {Function|Subject} Factory function to create an intermediate subject through\n * which the source sequence's elements will be multicast to the selector function\n * or Subject to push source elements into.\n * @param {Function} Optional selector function that can use the multicasted source stream\n * as many times as needed, without causing multiple subscriptions to the source stream.\n * Subscribers to the given source will receive all notifications of the source from the\n * time of the subscription forward.\n * @return {Observable} an Observable that emits the results of invoking the selector\n * on the items emitted by a `ConnectableObservable` that shares a single subscription to\n * the underlying stream.\n * @method multicast\n * @owner Observable\n */\nfunction multicast(subjectOrSubjectFactory, selector) {\n var subjectFactory;\n if (typeof subjectOrSubjectFactory === 'function') {\n subjectFactory = subjectOrSubjectFactory;\n }\n else {\n subjectFactory = function subjectFactory() {\n return subjectOrSubjectFactory;\n };\n }\n return !selector ?\n new ConnectableObservable_1.ConnectableObservable(this, subjectFactory) :\n new MulticastObservable_1.MulticastObservable(this, subjectFactory, selector);\n}\nexports.multicast = multicast;\n//# sourceMappingURL=multicast.js.map\n\n/***/ },\n/* 84 */\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__expression_parser_ast__ = __webpack_require__(161);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__facade_lang__ = __webpack_require__(4);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__identifiers__ = __webpack_require__(14);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__output_output_ast__ = __webpack_require__(9);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__identifier_util__ = __webpack_require__(39);\n/* harmony export (binding) */ __webpack_require__.d(exports, \"c\", function() { return EventHandlerVars; });\n/* unused harmony export ConvertPropertyBindingResult */\n/* harmony export (immutable) */ exports[\"a\"] = convertPropertyBinding;\n/* unused harmony export ConvertActionBindingResult */\n/* harmony export (immutable) */ exports[\"b\"] = convertActionBinding;\n/* harmony export (immutable) */ exports[\"d\"] = createSharedBindingVariablesIfNeeded;\n/* unused harmony export temporaryDeclaration */\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\n\n\n\n\nvar VAL_UNWRAPPER_VAR = __WEBPACK_IMPORTED_MODULE_3__output_output_ast__[\"a\" /* variable */](\"valUnwrapper\");\nvar EventHandlerVars = (function () {\n function EventHandlerVars() {\n }\n EventHandlerVars.event = __WEBPACK_IMPORTED_MODULE_3__output_output_ast__[\"a\" /* variable */]('$event');\n return EventHandlerVars;\n}());\nvar ConvertPropertyBindingResult = (function () {\n function ConvertPropertyBindingResult(stmts, currValExpr, forceUpdate) {\n this.stmts = stmts;\n this.currValExpr = currValExpr;\n this.forceUpdate = forceUpdate;\n }\n return ConvertPropertyBindingResult;\n}());\n/**\n * Converts the given expression AST into an executable output AST, assuming the expression is\n * used in a property binding.\n */\nfunction convertPropertyBinding(builder, nameResolver, implicitReceiver, expression, bindingId) {\n var currValExpr = createCurrValueExpr(bindingId);\n var stmts = [];\n if (!nameResolver) {\n nameResolver = new DefaultNameResolver();\n }\n var visitor = new _AstToIrVisitor(builder, nameResolver, implicitReceiver, VAL_UNWRAPPER_VAR, bindingId, false);\n var outputExpr = expression.visit(visitor, _Mode.Expression);\n if (!outputExpr) {\n // e.g. an empty expression was given\n return null;\n }\n if (visitor.temporaryCount) {\n for (var i = 0; i < visitor.temporaryCount; i++) {\n stmts.push(temporaryDeclaration(bindingId, i));\n }\n }\n if (visitor.needsValueUnwrapper) {\n var initValueUnwrapperStmt = VAL_UNWRAPPER_VAR.callMethod('reset', []).toStmt();\n stmts.push(initValueUnwrapperStmt);\n }\n stmts.push(currValExpr.set(outputExpr).toDeclStmt(null, [__WEBPACK_IMPORTED_MODULE_3__output_output_ast__[\"p\" /* StmtModifier */].Final]));\n if (visitor.needsValueUnwrapper) {\n return new ConvertPropertyBindingResult(stmts, currValExpr, VAL_UNWRAPPER_VAR.prop('hasWrappedValue'));\n }\n else {\n return new ConvertPropertyBindingResult(stmts, currValExpr, null);\n }\n}\nvar ConvertActionBindingResult = (function () {\n function ConvertActionBindingResult(stmts, preventDefault) {\n this.stmts = stmts;\n this.preventDefault = preventDefault;\n }\n return ConvertActionBindingResult;\n}());\n/**\n * Converts the given expression AST into an executable output AST, assuming the expression is\n * used in an action binding (e.g. an event handler).\n */\nfunction convertActionBinding(builder, nameResolver, implicitReceiver, action, bindingId) {\n if (!nameResolver) {\n nameResolver = new DefaultNameResolver();\n }\n var visitor = new _AstToIrVisitor(builder, nameResolver, implicitReceiver, null, bindingId, true);\n var actionStmts = [];\n flattenStatements(action.visit(visitor, _Mode.Statement), actionStmts);\n prependTemporaryDecls(visitor.temporaryCount, bindingId, actionStmts);\n var lastIndex = actionStmts.length - 1;\n var preventDefaultVar = null;\n if (lastIndex >= 0) {\n var lastStatement = actionStmts[lastIndex];\n var returnExpr = convertStmtIntoExpression(lastStatement);\n if (returnExpr) {\n // Note: We need to cast the result of the method call to dynamic,\n // as it might be a void method!\n preventDefaultVar = createPreventDefaultVar(bindingId);\n actionStmts[lastIndex] =\n preventDefaultVar.set(returnExpr.cast(__WEBPACK_IMPORTED_MODULE_3__output_output_ast__[\"l\" /* DYNAMIC_TYPE */]).notIdentical(__WEBPACK_IMPORTED_MODULE_3__output_output_ast__[\"d\" /* literal */](false)))\n .toDeclStmt(null, [__WEBPACK_IMPORTED_MODULE_3__output_output_ast__[\"p\" /* StmtModifier */].Final]);\n }\n }\n return new ConvertActionBindingResult(actionStmts, preventDefaultVar);\n}\n/**\n * Creates variables that are shared by multiple calls to `convertActionBinding` /\n * `convertPropertyBinding`\n */\nfunction createSharedBindingVariablesIfNeeded(stmts) {\n var unwrapperStmts = [];\n var readVars = __WEBPACK_IMPORTED_MODULE_3__output_output_ast__[\"q\" /* findReadVarNames */](stmts);\n if (readVars.has(VAL_UNWRAPPER_VAR.name)) {\n unwrapperStmts.push(VAL_UNWRAPPER_VAR\n .set(__WEBPACK_IMPORTED_MODULE_3__output_output_ast__[\"e\" /* importExpr */](__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_2__identifiers__[\"d\" /* resolveIdentifier */])(__WEBPACK_IMPORTED_MODULE_2__identifiers__[\"b\" /* Identifiers */].ValueUnwrapper)).instantiate([]))\n .toDeclStmt(null, [__WEBPACK_IMPORTED_MODULE_3__output_output_ast__[\"p\" /* StmtModifier */].Final]));\n }\n return unwrapperStmts;\n}\nfunction temporaryName(bindingId, temporaryNumber) {\n return \"tmp_\" + bindingId + \"_\" + temporaryNumber;\n}\nfunction temporaryDeclaration(bindingId, temporaryNumber) {\n return new __WEBPACK_IMPORTED_MODULE_3__output_output_ast__[\"r\" /* DeclareVarStmt */](temporaryName(bindingId, temporaryNumber), __WEBPACK_IMPORTED_MODULE_3__output_output_ast__[\"f\" /* NULL_EXPR */]);\n}\nfunction prependTemporaryDecls(temporaryCount, bindingId, statements) {\n for (var i = temporaryCount - 1; i >= 0; i--) {\n statements.unshift(temporaryDeclaration(bindingId, i));\n }\n}\nvar _Mode;\n(function (_Mode) {\n _Mode[_Mode[\"Statement\"] = 0] = \"Statement\";\n _Mode[_Mode[\"Expression\"] = 1] = \"Expression\";\n})(_Mode || (_Mode = {}));\nfunction ensureStatementMode(mode, ast) {\n if (mode !== _Mode.Statement) {\n throw new Error(\"Expected a statement, but saw \" + ast);\n }\n}\nfunction ensureExpressionMode(mode, ast) {\n if (mode !== _Mode.Expression) {\n throw new Error(\"Expected an expression, but saw \" + ast);\n }\n}\nfunction convertToStatementIfNeeded(mode, expr) {\n if (mode === _Mode.Statement) {\n return expr.toStmt();\n }\n else {\n return expr;\n }\n}\nvar _AstToIrVisitor = (function () {\n function _AstToIrVisitor(_builder, _nameResolver, _implicitReceiver, _valueUnwrapper, bindingId, isAction) {\n this._builder = _builder;\n this._nameResolver = _nameResolver;\n this._implicitReceiver = _implicitReceiver;\n this._valueUnwrapper = _valueUnwrapper;\n this.bindingId = bindingId;\n this.isAction = isAction;\n this._nodeMap = new Map();\n this._resultMap = new Map();\n this._currentTemporary = 0;\n this.needsValueUnwrapper = false;\n this.temporaryCount = 0;\n }\n _AstToIrVisitor.prototype.visitBinary = function (ast, mode) {\n var op;\n switch (ast.operation) {\n case '+':\n op = __WEBPACK_IMPORTED_MODULE_3__output_output_ast__[\"s\" /* BinaryOperator */].Plus;\n break;\n case '-':\n op = __WEBPACK_IMPORTED_MODULE_3__output_output_ast__[\"s\" /* BinaryOperator */].Minus;\n break;\n case '*':\n op = __WEBPACK_IMPORTED_MODULE_3__output_output_ast__[\"s\" /* BinaryOperator */].Multiply;\n break;\n case '/':\n op = __WEBPACK_IMPORTED_MODULE_3__output_output_ast__[\"s\" /* BinaryOperator */].Divide;\n break;\n case '%':\n op = __WEBPACK_IMPORTED_MODULE_3__output_output_ast__[\"s\" /* BinaryOperator */].Modulo;\n break;\n case '&&':\n op = __WEBPACK_IMPORTED_MODULE_3__output_output_ast__[\"s\" /* BinaryOperator */].And;\n break;\n case '||':\n op = __WEBPACK_IMPORTED_MODULE_3__output_output_ast__[\"s\" /* BinaryOperator */].Or;\n break;\n case '==':\n op = __WEBPACK_IMPORTED_MODULE_3__output_output_ast__[\"s\" /* BinaryOperator */].Equals;\n break;\n case '!=':\n op = __WEBPACK_IMPORTED_MODULE_3__output_output_ast__[\"s\" /* BinaryOperator */].NotEquals;\n break;\n case '===':\n op = __WEBPACK_IMPORTED_MODULE_3__output_output_ast__[\"s\" /* BinaryOperator */].Identical;\n break;\n case '!==':\n op = __WEBPACK_IMPORTED_MODULE_3__output_output_ast__[\"s\" /* BinaryOperator */].NotIdentical;\n break;\n case '<':\n op = __WEBPACK_IMPORTED_MODULE_3__output_output_ast__[\"s\" /* BinaryOperator */].Lower;\n break;\n case '>':\n op = __WEBPACK_IMPORTED_MODULE_3__output_output_ast__[\"s\" /* BinaryOperator */].Bigger;\n break;\n case '<=':\n op = __WEBPACK_IMPORTED_MODULE_3__output_output_ast__[\"s\" /* BinaryOperator */].LowerEquals;\n break;\n case '>=':\n op = __WEBPACK_IMPORTED_MODULE_3__output_output_ast__[\"s\" /* BinaryOperator */].BiggerEquals;\n break;\n default:\n throw new Error(\"Unsupported operation \" + ast.operation);\n }\n return convertToStatementIfNeeded(mode, new __WEBPACK_IMPORTED_MODULE_3__output_output_ast__[\"t\" /* BinaryOperatorExpr */](op, this.visit(ast.left, _Mode.Expression), this.visit(ast.right, _Mode.Expression)));\n };\n _AstToIrVisitor.prototype.visitChain = function (ast, mode) {\n ensureStatementMode(mode, ast);\n return this.visitAll(ast.expressions, mode);\n };\n _AstToIrVisitor.prototype.visitConditional = function (ast, mode) {\n var value = this.visit(ast.condition, _Mode.Expression);\n return convertToStatementIfNeeded(mode, value.conditional(this.visit(ast.trueExp, _Mode.Expression), this.visit(ast.falseExp, _Mode.Expression)));\n };\n _AstToIrVisitor.prototype.visitPipe = function (ast, mode) {\n var input = this.visit(ast.exp, _Mode.Expression);\n var args = this.visitAll(ast.args, _Mode.Expression);\n var value = this._nameResolver.callPipe(ast.name, input, args);\n if (!value) {\n throw new Error(\"Illegal state: Pipe \" + ast.name + \" is not allowed here!\");\n }\n this.needsValueUnwrapper = true;\n return convertToStatementIfNeeded(mode, this._valueUnwrapper.callMethod('unwrap', [value]));\n };\n _AstToIrVisitor.prototype.visitFunctionCall = function (ast, mode) {\n return convertToStatementIfNeeded(mode, this.visit(ast.target, _Mode.Expression).callFn(this.visitAll(ast.args, _Mode.Expression)));\n };\n _AstToIrVisitor.prototype.visitImplicitReceiver = function (ast, mode) {\n ensureExpressionMode(mode, ast);\n return this._implicitReceiver;\n };\n _AstToIrVisitor.prototype.visitInterpolation = function (ast, mode) {\n ensureExpressionMode(mode, ast);\n var args = [__WEBPACK_IMPORTED_MODULE_3__output_output_ast__[\"d\" /* literal */](ast.expressions.length)];\n for (var i = 0; i < ast.strings.length - 1; i++) {\n args.push(__WEBPACK_IMPORTED_MODULE_3__output_output_ast__[\"d\" /* literal */](ast.strings[i]));\n args.push(this.visit(ast.expressions[i], _Mode.Expression));\n }\n args.push(__WEBPACK_IMPORTED_MODULE_3__output_output_ast__[\"d\" /* literal */](ast.strings[ast.strings.length - 1]));\n return ast.expressions.length <= 9 ?\n __WEBPACK_IMPORTED_MODULE_3__output_output_ast__[\"e\" /* importExpr */](__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_2__identifiers__[\"d\" /* resolveIdentifier */])(__WEBPACK_IMPORTED_MODULE_2__identifiers__[\"b\" /* Identifiers */].inlineInterpolate)).callFn(args) :\n __WEBPACK_IMPORTED_MODULE_3__output_output_ast__[\"e\" /* importExpr */](__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_2__identifiers__[\"d\" /* resolveIdentifier */])(__WEBPACK_IMPORTED_MODULE_2__identifiers__[\"b\" /* Identifiers */].interpolate)).callFn([\n args[0], __WEBPACK_IMPORTED_MODULE_3__output_output_ast__[\"c\" /* literalArr */](args.slice(1))\n ]);\n };\n _AstToIrVisitor.prototype.visitKeyedRead = function (ast, mode) {\n return convertToStatementIfNeeded(mode, this.visit(ast.obj, _Mode.Expression).key(this.visit(ast.key, _Mode.Expression)));\n };\n _AstToIrVisitor.prototype.visitKeyedWrite = function (ast, mode) {\n var obj = this.visit(ast.obj, _Mode.Expression);\n var key = this.visit(ast.key, _Mode.Expression);\n var value = this.visit(ast.value, _Mode.Expression);\n return convertToStatementIfNeeded(mode, obj.key(key).set(value));\n };\n _AstToIrVisitor.prototype.visitLiteralArray = function (ast, mode) {\n var parts = this.visitAll(ast.expressions, mode);\n var literalArr = this.isAction ? __WEBPACK_IMPORTED_MODULE_3__output_output_ast__[\"c\" /* literalArr */](parts) : createCachedLiteralArray(this._builder, parts);\n return convertToStatementIfNeeded(mode, literalArr);\n };\n _AstToIrVisitor.prototype.visitLiteralMap = function (ast, mode) {\n var parts = [];\n for (var i = 0; i < ast.keys.length; i++) {\n parts.push([ast.keys[i], this.visit(ast.values[i], _Mode.Expression)]);\n }\n var literalMap = this.isAction ? __WEBPACK_IMPORTED_MODULE_3__output_output_ast__[\"b\" /* literalMap */](parts) : createCachedLiteralMap(this._builder, parts);\n return convertToStatementIfNeeded(mode, literalMap);\n };\n _AstToIrVisitor.prototype.visitLiteralPrimitive = function (ast, mode) {\n return convertToStatementIfNeeded(mode, __WEBPACK_IMPORTED_MODULE_3__output_output_ast__[\"d\" /* literal */](ast.value));\n };\n _AstToIrVisitor.prototype._getLocal = function (name) {\n if (this.isAction && name == EventHandlerVars.event.name) {\n return EventHandlerVars.event;\n }\n return this._nameResolver.getLocal(name);\n };\n _AstToIrVisitor.prototype.visitMethodCall = function (ast, mode) {\n var leftMostSafe = this.leftMostSafeNode(ast);\n if (leftMostSafe) {\n return this.convertSafeAccess(ast, leftMostSafe, mode);\n }\n else {\n var args = this.visitAll(ast.args, _Mode.Expression);\n var result = null;\n var receiver = this.visit(ast.receiver, _Mode.Expression);\n if (receiver === this._implicitReceiver) {\n var varExpr = this._getLocal(ast.name);\n if (__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_1__facade_lang__[\"b\" /* isPresent */])(varExpr)) {\n result = varExpr.callFn(args);\n }\n }\n if (__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_1__facade_lang__[\"a\" /* isBlank */])(result)) {\n result = receiver.callMethod(ast.name, args);\n }\n return convertToStatementIfNeeded(mode, result);\n }\n };\n _AstToIrVisitor.prototype.visitPrefixNot = function (ast, mode) {\n return convertToStatementIfNeeded(mode, __WEBPACK_IMPORTED_MODULE_3__output_output_ast__[\"u\" /* not */](this.visit(ast.expression, _Mode.Expression)));\n };\n _AstToIrVisitor.prototype.visitPropertyRead = function (ast, mode) {\n var leftMostSafe = this.leftMostSafeNode(ast);\n if (leftMostSafe) {\n return this.convertSafeAccess(ast, leftMostSafe, mode);\n }\n else {\n var result = null;\n var receiver = this.visit(ast.receiver, _Mode.Expression);\n if (receiver === this._implicitReceiver) {\n result = this._getLocal(ast.name);\n }\n if (__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_1__facade_lang__[\"a\" /* isBlank */])(result)) {\n result = receiver.prop(ast.name);\n }\n return convertToStatementIfNeeded(mode, result);\n }\n };\n _AstToIrVisitor.prototype.visitPropertyWrite = function (ast, mode) {\n var receiver = this.visit(ast.receiver, _Mode.Expression);\n if (receiver === this._implicitReceiver) {\n var varExpr = this._getLocal(ast.name);\n if (__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_1__facade_lang__[\"b\" /* isPresent */])(varExpr)) {\n throw new Error('Cannot assign to a reference or variable!');\n }\n }\n return convertToStatementIfNeeded(mode, receiver.prop(ast.name).set(this.visit(ast.value, _Mode.Expression)));\n };\n _AstToIrVisitor.prototype.visitSafePropertyRead = function (ast, mode) {\n return this.convertSafeAccess(ast, this.leftMostSafeNode(ast), mode);\n };\n _AstToIrVisitor.prototype.visitSafeMethodCall = function (ast, mode) {\n return this.convertSafeAccess(ast, this.leftMostSafeNode(ast), mode);\n };\n _AstToIrVisitor.prototype.visitAll = function (asts, mode) {\n var _this = this;\n return asts.map(function (ast) { return _this.visit(ast, mode); });\n };\n _AstToIrVisitor.prototype.visitQuote = function (ast, mode) {\n throw new Error('Quotes are not supported for evaluation!');\n };\n _AstToIrVisitor.prototype.visit = function (ast, mode) {\n var result = this._resultMap.get(ast);\n if (result)\n return result;\n return (this._nodeMap.get(ast) || ast).visit(this, mode);\n };\n _AstToIrVisitor.prototype.convertSafeAccess = function (ast, leftMostSafe, mode) {\n // If the expression contains a safe access node on the left it needs to be converted to\n // an expression that guards the access to the member by checking the receiver for blank. As\n // execution proceeds from left to right, the left most part of the expression must be guarded\n // first but, because member access is left associative, the right side of the expression is at\n // the top of the AST. The desired result requires lifting a copy of the the left part of the\n // expression up to test it for blank before generating the unguarded version.\n // Consider, for example the following expression: a?.b.c?.d.e\n // This results in the ast:\n // .\n // / \\\n // ?. e\n // / \\\n // . d\n // / \\\n // ?. c\n // / \\\n // a b\n // The following tree should be generated:\n //\n // /---- ? ----\\\n // / | \\\n // a /--- ? ---\\ null\n // / | \\\n // . . null\n // / \\ / \\\n // . c . e\n // / \\ / \\\n // a b , d\n // / \\\n // . c\n // / \\\n // a b\n //\n // Notice that the first guard condition is the left hand of the left most safe access node\n // which comes in as leftMostSafe to this routine.\n var guardedExpression = this.visit(leftMostSafe.receiver, _Mode.Expression);\n var temporary;\n if (this.needsTemporary(leftMostSafe.receiver)) {\n // If the expression has method calls or pipes then we need to save the result into a\n // temporary variable to avoid calling stateful or impure code more than once.\n temporary = this.allocateTemporary();\n // Preserve the result in the temporary variable\n guardedExpression = temporary.set(guardedExpression);\n // Ensure all further references to the guarded expression refer to the temporary instead.\n this._resultMap.set(leftMostSafe.receiver, temporary);\n }\n var condition = guardedExpression.isBlank();\n // Convert the ast to an unguarded access to the receiver's member. The map will substitute\n // leftMostNode with its unguarded version in the call to `this.visit()`.\n if (leftMostSafe instanceof __WEBPACK_IMPORTED_MODULE_0__expression_parser_ast__[\"s\" /* SafeMethodCall */]) {\n this._nodeMap.set(leftMostSafe, new __WEBPACK_IMPORTED_MODULE_0__expression_parser_ast__[\"t\" /* MethodCall */](leftMostSafe.span, leftMostSafe.receiver, leftMostSafe.name, leftMostSafe.args));\n }\n else {\n this._nodeMap.set(leftMostSafe, new __WEBPACK_IMPORTED_MODULE_0__expression_parser_ast__[\"w\" /* PropertyRead */](leftMostSafe.span, leftMostSafe.receiver, leftMostSafe.name));\n }\n // Recursively convert the node now without the guarded member access.\n var access = this.visit(ast, _Mode.Expression);\n // Remove the mapping. This is not strictly required as the converter only traverses each node\n // once but is safer if the conversion is changed to traverse the nodes more than once.\n this._nodeMap.delete(leftMostSafe);\n // If we allcoated a temporary, release it.\n if (temporary) {\n this.releaseTemporary(temporary);\n }\n // Produce the conditional\n return convertToStatementIfNeeded(mode, condition.conditional(__WEBPACK_IMPORTED_MODULE_3__output_output_ast__[\"d\" /* literal */](null), access));\n };\n // Given a expression of the form a?.b.c?.d.e the the left most safe node is\n // the (a?.b). The . and ?. are left associative thus can be rewritten as:\n // ((((a?.c).b).c)?.d).e. This returns the most deeply nested safe read or\n // safe method call as this needs be transform initially to:\n // a == null ? null : a.c.b.c?.d.e\n // then to:\n // a == null ? null : a.b.c == null ? null : a.b.c.d.e\n _AstToIrVisitor.prototype.leftMostSafeNode = function (ast) {\n var _this = this;\n var visit = function (visitor, ast) {\n return (_this._nodeMap.get(ast) || ast).visit(visitor);\n };\n return ast.visit({\n visitBinary: function (ast) { return null; },\n visitChain: function (ast) { return null; },\n visitConditional: function (ast) { return null; },\n visitFunctionCall: function (ast) { return null; },\n visitImplicitReceiver: function (ast) { return null; },\n visitInterpolation: function (ast) { return null; },\n visitKeyedRead: function (ast) { return visit(this, ast.obj); },\n visitKeyedWrite: function (ast) { return null; },\n visitLiteralArray: function (ast) { return null; },\n visitLiteralMap: function (ast) { return null; },\n visitLiteralPrimitive: function (ast) { return null; },\n visitMethodCall: function (ast) { return visit(this, ast.receiver); },\n visitPipe: function (ast) { return null; },\n visitPrefixNot: function (ast) { return null; },\n visitPropertyRead: function (ast) { return visit(this, ast.receiver); },\n visitPropertyWrite: function (ast) { return null; },\n visitQuote: function (ast) { return null; },\n visitSafeMethodCall: function (ast) { return visit(this, ast.receiver) || ast; },\n visitSafePropertyRead: function (ast) {\n return visit(this, ast.receiver) || ast;\n }\n });\n };\n // Returns true of the AST includes a method or a pipe indicating that, if the\n // expression is used as the target of a safe property or method access then\n // the expression should be stored into a temporary variable.\n _AstToIrVisitor.prototype.needsTemporary = function (ast) {\n var _this = this;\n var visit = function (visitor, ast) {\n return ast && (_this._nodeMap.get(ast) || ast).visit(visitor);\n };\n var visitSome = function (visitor, ast) {\n return ast.some(function (ast) { return visit(visitor, ast); });\n };\n return ast.visit({\n visitBinary: function (ast) { return visit(this, ast.left) || visit(this, ast.right); },\n visitChain: function (ast) { return false; },\n visitConditional: function (ast) {\n return visit(this, ast.condition) || visit(this, ast.trueExp) ||\n visit(this, ast.falseExp);\n },\n visitFunctionCall: function (ast) { return true; },\n visitImplicitReceiver: function (ast) { return false; },\n visitInterpolation: function (ast) { return visitSome(this, ast.expressions); },\n visitKeyedRead: function (ast) { return false; },\n visitKeyedWrite: function (ast) { return false; },\n visitLiteralArray: function (ast) { return true; },\n visitLiteralMap: function (ast) { return true; },\n visitLiteralPrimitive: function (ast) { return false; },\n visitMethodCall: function (ast) { return true; },\n visitPipe: function (ast) { return true; },\n visitPrefixNot: function (ast) { return visit(this, ast.expression); },\n visitPropertyRead: function (ast) { return false; },\n visitPropertyWrite: function (ast) { return false; },\n visitQuote: function (ast) { return false; },\n visitSafeMethodCall: function (ast) { return true; },\n visitSafePropertyRead: function (ast) { return false; }\n });\n };\n _AstToIrVisitor.prototype.allocateTemporary = function () {\n var tempNumber = this._currentTemporary++;\n this.temporaryCount = Math.max(this._currentTemporary, this.temporaryCount);\n return new __WEBPACK_IMPORTED_MODULE_3__output_output_ast__[\"v\" /* ReadVarExpr */](temporaryName(this.bindingId, tempNumber));\n };\n _AstToIrVisitor.prototype.releaseTemporary = function (temporary) {\n this._currentTemporary--;\n if (temporary.name != temporaryName(this.bindingId, this._currentTemporary)) {\n throw new Error(\"Temporary \" + temporary.name + \" released out of order\");\n }\n };\n return _AstToIrVisitor;\n}());\nfunction flattenStatements(arg, output) {\n if (Array.isArray(arg)) {\n arg.forEach(function (entry) { return flattenStatements(entry, output); });\n }\n else {\n output.push(arg);\n }\n}\nfunction createCachedLiteralArray(builder, values) {\n if (values.length === 0) {\n return __WEBPACK_IMPORTED_MODULE_3__output_output_ast__[\"e\" /* importExpr */](__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_2__identifiers__[\"d\" /* resolveIdentifier */])(__WEBPACK_IMPORTED_MODULE_2__identifiers__[\"b\" /* Identifiers */].EMPTY_ARRAY));\n }\n var proxyExpr = __WEBPACK_IMPORTED_MODULE_3__output_output_ast__[\"o\" /* THIS_EXPR */].prop(\"_arr_\" + builder.fields.length);\n var proxyParams = [];\n var proxyReturnEntries = [];\n for (var i = 0; i < values.length; i++) {\n var paramName = \"p\" + i;\n proxyParams.push(new __WEBPACK_IMPORTED_MODULE_3__output_output_ast__[\"j\" /* FnParam */](paramName));\n proxyReturnEntries.push(__WEBPACK_IMPORTED_MODULE_3__output_output_ast__[\"a\" /* variable */](paramName));\n }\n __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_4__identifier_util__[\"a\" /* createPureProxy */])(__WEBPACK_IMPORTED_MODULE_3__output_output_ast__[\"h\" /* fn */](proxyParams, [new __WEBPACK_IMPORTED_MODULE_3__output_output_ast__[\"i\" /* ReturnStatement */](__WEBPACK_IMPORTED_MODULE_3__output_output_ast__[\"c\" /* literalArr */](proxyReturnEntries))], new __WEBPACK_IMPORTED_MODULE_3__output_output_ast__[\"w\" /* ArrayType */](__WEBPACK_IMPORTED_MODULE_3__output_output_ast__[\"l\" /* DYNAMIC_TYPE */])), values.length, proxyExpr, builder);\n return proxyExpr.callFn(values);\n}\nfunction createCachedLiteralMap(builder, entries) {\n if (entries.length === 0) {\n return __WEBPACK_IMPORTED_MODULE_3__output_output_ast__[\"e\" /* importExpr */](__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_2__identifiers__[\"d\" /* resolveIdentifier */])(__WEBPACK_IMPORTED_MODULE_2__identifiers__[\"b\" /* Identifiers */].EMPTY_MAP));\n }\n var proxyExpr = __WEBPACK_IMPORTED_MODULE_3__output_output_ast__[\"o\" /* THIS_EXPR */].prop(\"_map_\" + builder.fields.length);\n var proxyParams = [];\n var proxyReturnEntries = [];\n var values = [];\n for (var i = 0; i < entries.length; i++) {\n var paramName = \"p\" + i;\n proxyParams.push(new __WEBPACK_IMPORTED_MODULE_3__output_output_ast__[\"j\" /* FnParam */](paramName));\n proxyReturnEntries.push([entries[i][0], __WEBPACK_IMPORTED_MODULE_3__output_output_ast__[\"a\" /* variable */](paramName)]);\n values.push(entries[i][1]);\n }\n __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_4__identifier_util__[\"a\" /* createPureProxy */])(__WEBPACK_IMPORTED_MODULE_3__output_output_ast__[\"h\" /* fn */](proxyParams, [new __WEBPACK_IMPORTED_MODULE_3__output_output_ast__[\"i\" /* ReturnStatement */](__WEBPACK_IMPORTED_MODULE_3__output_output_ast__[\"b\" /* literalMap */](proxyReturnEntries))], new __WEBPACK_IMPORTED_MODULE_3__output_output_ast__[\"x\" /* MapType */](__WEBPACK_IMPORTED_MODULE_3__output_output_ast__[\"l\" /* DYNAMIC_TYPE */])), entries.length, proxyExpr, builder);\n return proxyExpr.callFn(values);\n}\nvar DefaultNameResolver = (function () {\n function DefaultNameResolver() {\n }\n DefaultNameResolver.prototype.callPipe = function (name, input, args) { return null; };\n DefaultNameResolver.prototype.getLocal = function (name) { return null; };\n return DefaultNameResolver;\n}());\nfunction createCurrValueExpr(bindingId) {\n return __WEBPACK_IMPORTED_MODULE_3__output_output_ast__[\"a\" /* variable */](\"currVal_\" + bindingId); // fix syntax highlighting: `\n}\nfunction createPreventDefaultVar(bindingId) {\n return __WEBPACK_IMPORTED_MODULE_3__output_output_ast__[\"a\" /* variable */](\"pd_\" + bindingId);\n}\nfunction convertStmtIntoExpression(stmt) {\n if (stmt instanceof __WEBPACK_IMPORTED_MODULE_3__output_output_ast__[\"y\" /* ExpressionStatement */]) {\n return stmt.expr;\n }\n else if (stmt instanceof __WEBPACK_IMPORTED_MODULE_3__output_output_ast__[\"i\" /* ReturnStatement */]) {\n return stmt.value;\n }\n return null;\n}\n//# sourceMappingURL=expression_converter.js.map\n\n/***/ },\n/* 85 */\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(1);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__chars__ = __webpack_require__(158);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__facade_lang__ = __webpack_require__(4);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__ml_parser_interpolation_config__ = __webpack_require__(40);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__ast__ = __webpack_require__(161);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__lexer__ = __webpack_require__(110);\n/* unused harmony export SplitInterpolation */\n/* unused harmony export TemplateBindingParseResult */\n/* harmony export (binding) */ __webpack_require__.d(exports, \"a\", function() { return Parser; });\n/* unused harmony export _ParseAST */\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\n\n\n\n\n\nvar SplitInterpolation = (function () {\n function SplitInterpolation(strings, expressions, offsets) {\n this.strings = strings;\n this.expressions = expressions;\n this.offsets = offsets;\n }\n return SplitInterpolation;\n}());\nvar TemplateBindingParseResult = (function () {\n function TemplateBindingParseResult(templateBindings, warnings, errors) {\n this.templateBindings = templateBindings;\n this.warnings = warnings;\n this.errors = errors;\n }\n return TemplateBindingParseResult;\n}());\nfunction _createInterpolateRegExp(config) {\n var pattern = __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_2__facade_lang__[\"d\" /* escapeRegExp */])(config.start) + '([\\\\s\\\\S]*?)' + __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_2__facade_lang__[\"d\" /* escapeRegExp */])(config.end);\n return new RegExp(pattern, 'g');\n}\nvar Parser = (function () {\n function Parser(_lexer) {\n this._lexer = _lexer;\n this.errors = [];\n }\n Parser.prototype.parseAction = function (input, location, interpolationConfig) {\n if (interpolationConfig === void 0) { interpolationConfig = __WEBPACK_IMPORTED_MODULE_3__ml_parser_interpolation_config__[\"a\" /* DEFAULT_INTERPOLATION_CONFIG */]; }\n this._checkNoInterpolation(input, location, interpolationConfig);\n var sourceToLex = this._stripComments(input);\n var tokens = this._lexer.tokenize(this._stripComments(input));\n var ast = new _ParseAST(input, location, tokens, sourceToLex.length, true, this.errors, input.length - sourceToLex.length)\n .parseChain();\n return new __WEBPACK_IMPORTED_MODULE_4__ast__[\"a\" /* ASTWithSource */](ast, input, location, this.errors);\n };\n Parser.prototype.parseBinding = function (input, location, interpolationConfig) {\n if (interpolationConfig === void 0) { interpolationConfig = __WEBPACK_IMPORTED_MODULE_3__ml_parser_interpolation_config__[\"a\" /* DEFAULT_INTERPOLATION_CONFIG */]; }\n var ast = this._parseBindingAst(input, location, interpolationConfig);\n return new __WEBPACK_IMPORTED_MODULE_4__ast__[\"a\" /* ASTWithSource */](ast, input, location, this.errors);\n };\n Parser.prototype.parseSimpleBinding = function (input, location, interpolationConfig) {\n if (interpolationConfig === void 0) { interpolationConfig = __WEBPACK_IMPORTED_MODULE_3__ml_parser_interpolation_config__[\"a\" /* DEFAULT_INTERPOLATION_CONFIG */]; }\n var ast = this._parseBindingAst(input, location, interpolationConfig);\n var errors = SimpleExpressionChecker.check(ast);\n if (errors.length > 0) {\n this._reportError(\"Host binding expression cannot contain \" + errors.join(' '), input, location);\n }\n return new __WEBPACK_IMPORTED_MODULE_4__ast__[\"a\" /* ASTWithSource */](ast, input, location, this.errors);\n };\n Parser.prototype._reportError = function (message, input, errLocation, ctxLocation) {\n this.errors.push(new __WEBPACK_IMPORTED_MODULE_4__ast__[\"b\" /* ParserError */](message, input, errLocation, ctxLocation));\n };\n Parser.prototype._parseBindingAst = function (input, location, interpolationConfig) {\n // Quotes expressions use 3rd-party expression language. We don't want to use\n // our lexer or parser for that, so we check for that ahead of time.\n var quote = this._parseQuote(input, location);\n if (__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_2__facade_lang__[\"b\" /* isPresent */])(quote)) {\n return quote;\n }\n this._checkNoInterpolation(input, location, interpolationConfig);\n var sourceToLex = this._stripComments(input);\n var tokens = this._lexer.tokenize(sourceToLex);\n return new _ParseAST(input, location, tokens, sourceToLex.length, false, this.errors, input.length - sourceToLex.length)\n .parseChain();\n };\n Parser.prototype._parseQuote = function (input, location) {\n if (__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_2__facade_lang__[\"a\" /* isBlank */])(input))\n return null;\n var prefixSeparatorIndex = input.indexOf(':');\n if (prefixSeparatorIndex == -1)\n return null;\n var prefix = input.substring(0, prefixSeparatorIndex).trim();\n if (!__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_5__lexer__[\"a\" /* isIdentifier */])(prefix))\n return null;\n var uninterpretedExpression = input.substring(prefixSeparatorIndex + 1);\n return new __WEBPACK_IMPORTED_MODULE_4__ast__[\"c\" /* Quote */](new __WEBPACK_IMPORTED_MODULE_4__ast__[\"d\" /* ParseSpan */](0, input.length), prefix, uninterpretedExpression, location);\n };\n Parser.prototype.parseTemplateBindings = function (prefixToken, input, location) {\n var tokens = this._lexer.tokenize(input);\n if (prefixToken) {\n // Prefix the tokens with the tokens from prefixToken but have them take no space (0 index).\n var prefixTokens = this._lexer.tokenize(prefixToken).map(function (t) {\n t.index = 0;\n return t;\n });\n tokens.unshift.apply(tokens, prefixTokens);\n }\n return new _ParseAST(input, location, tokens, input.length, false, this.errors, 0)\n .parseTemplateBindings();\n };\n Parser.prototype.parseInterpolation = function (input, location, interpolationConfig) {\n if (interpolationConfig === void 0) { interpolationConfig = __WEBPACK_IMPORTED_MODULE_3__ml_parser_interpolation_config__[\"a\" /* DEFAULT_INTERPOLATION_CONFIG */]; }\n var split = this.splitInterpolation(input, location, interpolationConfig);\n if (split == null)\n return null;\n var expressions = [];\n for (var i = 0; i < split.expressions.length; ++i) {\n var expressionText = split.expressions[i];\n var sourceToLex = this._stripComments(expressionText);\n var tokens = this._lexer.tokenize(this._stripComments(split.expressions[i]));\n var ast = new _ParseAST(input, location, tokens, sourceToLex.length, false, this.errors, split.offsets[i] + (expressionText.length - sourceToLex.length))\n .parseChain();\n expressions.push(ast);\n }\n return new __WEBPACK_IMPORTED_MODULE_4__ast__[\"a\" /* ASTWithSource */](new __WEBPACK_IMPORTED_MODULE_4__ast__[\"e\" /* Interpolation */](new __WEBPACK_IMPORTED_MODULE_4__ast__[\"d\" /* ParseSpan */](0, __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_2__facade_lang__[\"a\" /* isBlank */])(input) ? 0 : input.length), split.strings, expressions), input, location, this.errors);\n };\n Parser.prototype.splitInterpolation = function (input, location, interpolationConfig) {\n if (interpolationConfig === void 0) { interpolationConfig = __WEBPACK_IMPORTED_MODULE_3__ml_parser_interpolation_config__[\"a\" /* DEFAULT_INTERPOLATION_CONFIG */]; }\n var regexp = _createInterpolateRegExp(interpolationConfig);\n var parts = input.split(regexp);\n if (parts.length <= 1) {\n return null;\n }\n var strings = [];\n var expressions = [];\n var offsets = [];\n var offset = 0;\n for (var i = 0; i < parts.length; i++) {\n var part = parts[i];\n if (i % 2 === 0) {\n // fixed string\n strings.push(part);\n offset += part.length;\n }\n else if (part.trim().length > 0) {\n offset += interpolationConfig.start.length;\n expressions.push(part);\n offsets.push(offset);\n offset += part.length + interpolationConfig.end.length;\n }\n else {\n this._reportError('Blank expressions are not allowed in interpolated strings', input, \"at column \" + this._findInterpolationErrorColumn(parts, i, interpolationConfig) + \" in\", location);\n expressions.push('$implict');\n offsets.push(offset);\n }\n }\n return new SplitInterpolation(strings, expressions, offsets);\n };\n Parser.prototype.wrapLiteralPrimitive = function (input, location) {\n return new __WEBPACK_IMPORTED_MODULE_4__ast__[\"a\" /* ASTWithSource */](new __WEBPACK_IMPORTED_MODULE_4__ast__[\"f\" /* LiteralPrimitive */](new __WEBPACK_IMPORTED_MODULE_4__ast__[\"d\" /* ParseSpan */](0, __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_2__facade_lang__[\"a\" /* isBlank */])(input) ? 0 : input.length), input), input, location, this.errors);\n };\n Parser.prototype._stripComments = function (input) {\n var i = this._commentStart(input);\n return __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_2__facade_lang__[\"b\" /* isPresent */])(i) ? input.substring(0, i).trim() : input;\n };\n Parser.prototype._commentStart = function (input) {\n var outerQuote = null;\n for (var i = 0; i < input.length - 1; i++) {\n var char = input.charCodeAt(i);\n var nextChar = input.charCodeAt(i + 1);\n if (char === __WEBPACK_IMPORTED_MODULE_1__chars__[\"t\" /* $SLASH */] && nextChar == __WEBPACK_IMPORTED_MODULE_1__chars__[\"t\" /* $SLASH */] && __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_2__facade_lang__[\"a\" /* isBlank */])(outerQuote))\n return i;\n if (outerQuote === char) {\n outerQuote = null;\n }\n else if (__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_2__facade_lang__[\"a\" /* isBlank */])(outerQuote) && __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_5__lexer__[\"b\" /* isQuote */])(char)) {\n outerQuote = char;\n }\n }\n return null;\n };\n Parser.prototype._checkNoInterpolation = function (input, location, interpolationConfig) {\n var regexp = _createInterpolateRegExp(interpolationConfig);\n var parts = input.split(regexp);\n if (parts.length > 1) {\n this._reportError(\"Got interpolation (\" + interpolationConfig.start + interpolationConfig.end + \") where expression was expected\", input, \"at column \" + this._findInterpolationErrorColumn(parts, 1, interpolationConfig) + \" in\", location);\n }\n };\n Parser.prototype._findInterpolationErrorColumn = function (parts, partInErrIdx, interpolationConfig) {\n var errLocation = '';\n for (var j = 0; j < partInErrIdx; j++) {\n errLocation += j % 2 === 0 ?\n parts[j] :\n \"\" + interpolationConfig.start + parts[j] + interpolationConfig.end;\n }\n return errLocation.length;\n };\n Parser.decorators = [\n { type: __WEBPACK_IMPORTED_MODULE_0__angular_core__[\"b\" /* Injectable */] },\n ];\n /** @nocollapse */\n Parser.ctorParameters = [\n { type: __WEBPACK_IMPORTED_MODULE_5__lexer__[\"c\" /* Lexer */], },\n ];\n return Parser;\n}());\nvar _ParseAST = (function () {\n function _ParseAST(input, location, tokens, inputLength, parseAction, errors, offset) {\n this.input = input;\n this.location = location;\n this.tokens = tokens;\n this.inputLength = inputLength;\n this.parseAction = parseAction;\n this.errors = errors;\n this.offset = offset;\n this.rparensExpected = 0;\n this.rbracketsExpected = 0;\n this.rbracesExpected = 0;\n this.index = 0;\n }\n _ParseAST.prototype.peek = function (offset) {\n var i = this.index + offset;\n return i < this.tokens.length ? this.tokens[i] : __WEBPACK_IMPORTED_MODULE_5__lexer__[\"d\" /* EOF */];\n };\n Object.defineProperty(_ParseAST.prototype, \"next\", {\n get: function () { return this.peek(0); },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(_ParseAST.prototype, \"inputIndex\", {\n get: function () {\n return (this.index < this.tokens.length) ? this.next.index + this.offset :\n this.inputLength + this.offset;\n },\n enumerable: true,\n configurable: true\n });\n _ParseAST.prototype.span = function (start) { return new __WEBPACK_IMPORTED_MODULE_4__ast__[\"d\" /* ParseSpan */](start, this.inputIndex); };\n _ParseAST.prototype.advance = function () { this.index++; };\n _ParseAST.prototype.optionalCharacter = function (code) {\n if (this.next.isCharacter(code)) {\n this.advance();\n return true;\n }\n else {\n return false;\n }\n };\n _ParseAST.prototype.peekKeywordLet = function () { return this.next.isKeywordLet(); };\n _ParseAST.prototype.expectCharacter = function (code) {\n if (this.optionalCharacter(code))\n return;\n this.error(\"Missing expected \" + String.fromCharCode(code));\n };\n _ParseAST.prototype.optionalOperator = function (op) {\n if (this.next.isOperator(op)) {\n this.advance();\n return true;\n }\n else {\n return false;\n }\n };\n _ParseAST.prototype.expectOperator = function (operator) {\n if (this.optionalOperator(operator))\n return;\n this.error(\"Missing expected operator \" + operator);\n };\n _ParseAST.prototype.expectIdentifierOrKeyword = function () {\n var n = this.next;\n if (!n.isIdentifier() && !n.isKeyword()) {\n this.error(\"Unexpected token \" + n + \", expected identifier or keyword\");\n return '';\n }\n this.advance();\n return n.toString();\n };\n _ParseAST.prototype.expectIdentifierOrKeywordOrString = function () {\n var n = this.next;\n if (!n.isIdentifier() && !n.isKeyword() && !n.isString()) {\n this.error(\"Unexpected token \" + n + \", expected identifier, keyword, or string\");\n return '';\n }\n this.advance();\n return n.toString();\n };\n _ParseAST.prototype.parseChain = function () {\n var exprs = [];\n var start = this.inputIndex;\n while (this.index < this.tokens.length) {\n var expr = this.parsePipe();\n exprs.push(expr);\n if (this.optionalCharacter(__WEBPACK_IMPORTED_MODULE_1__chars__[\"m\" /* $SEMICOLON */])) {\n if (!this.parseAction) {\n this.error('Binding expression cannot contain chained expression');\n }\n while (this.optionalCharacter(__WEBPACK_IMPORTED_MODULE_1__chars__[\"m\" /* $SEMICOLON */])) {\n } // read all semicolons\n }\n else if (this.index < this.tokens.length) {\n this.error(\"Unexpected token '\" + this.next + \"'\");\n }\n }\n if (exprs.length == 0)\n return new __WEBPACK_IMPORTED_MODULE_4__ast__[\"g\" /* EmptyExpr */](this.span(start));\n if (exprs.length == 1)\n return exprs[0];\n return new __WEBPACK_IMPORTED_MODULE_4__ast__[\"h\" /* Chain */](this.span(start), exprs);\n };\n _ParseAST.prototype.parsePipe = function () {\n var result = this.parseExpression();\n if (this.optionalOperator('|')) {\n if (this.parseAction) {\n this.error('Cannot have a pipe in an action expression');\n }\n do {\n var name_1 = this.expectIdentifierOrKeyword();\n var args = [];\n while (this.optionalCharacter(__WEBPACK_IMPORTED_MODULE_1__chars__[\"l\" /* $COLON */])) {\n args.push(this.parseExpression());\n }\n result = new __WEBPACK_IMPORTED_MODULE_4__ast__[\"i\" /* BindingPipe */](this.span(result.span.start - this.offset), result, name_1, args);\n } while (this.optionalOperator('|'));\n }\n return result;\n };\n _ParseAST.prototype.parseExpression = function () { return this.parseConditional(); };\n _ParseAST.prototype.parseConditional = function () {\n var start = this.inputIndex;\n var result = this.parseLogicalOr();\n if (this.optionalOperator('?')) {\n var yes = this.parsePipe();\n var no = void 0;\n if (!this.optionalCharacter(__WEBPACK_IMPORTED_MODULE_1__chars__[\"l\" /* $COLON */])) {\n var end = this.inputIndex;\n var expression = this.input.substring(start, end);\n this.error(\"Conditional expression \" + expression + \" requires all 3 expressions\");\n no = new __WEBPACK_IMPORTED_MODULE_4__ast__[\"g\" /* EmptyExpr */](this.span(start));\n }\n else {\n no = this.parsePipe();\n }\n return new __WEBPACK_IMPORTED_MODULE_4__ast__[\"j\" /* Conditional */](this.span(start), result, yes, no);\n }\n else {\n return result;\n }\n };\n _ParseAST.prototype.parseLogicalOr = function () {\n // '||'\n var result = this.parseLogicalAnd();\n while (this.optionalOperator('||')) {\n var right = this.parseLogicalAnd();\n result = new __WEBPACK_IMPORTED_MODULE_4__ast__[\"k\" /* Binary */](this.span(result.span.start), '||', result, right);\n }\n return result;\n };\n _ParseAST.prototype.parseLogicalAnd = function () {\n // '&&'\n var result = this.parseEquality();\n while (this.optionalOperator('&&')) {\n var right = this.parseEquality();\n result = new __WEBPACK_IMPORTED_MODULE_4__ast__[\"k\" /* Binary */](this.span(result.span.start), '&&', result, right);\n }\n return result;\n };\n _ParseAST.prototype.parseEquality = function () {\n // '==','!=','===','!=='\n var result = this.parseRelational();\n while (this.next.type == __WEBPACK_IMPORTED_MODULE_5__lexer__[\"e\" /* TokenType */].Operator) {\n var operator = this.next.strValue;\n switch (operator) {\n case '==':\n case '===':\n case '!=':\n case '!==':\n this.advance();\n var right = this.parseRelational();\n result = new __WEBPACK_IMPORTED_MODULE_4__ast__[\"k\" /* Binary */](this.span(result.span.start), operator, result, right);\n continue;\n }\n break;\n }\n return result;\n };\n _ParseAST.prototype.parseRelational = function () {\n // '<', '>', '<=', '>='\n var result = this.parseAdditive();\n while (this.next.type == __WEBPACK_IMPORTED_MODULE_5__lexer__[\"e\" /* TokenType */].Operator) {\n var operator = this.next.strValue;\n switch (operator) {\n case '<':\n case '>':\n case '<=':\n case '>=':\n this.advance();\n var right = this.parseAdditive();\n result = new __WEBPACK_IMPORTED_MODULE_4__ast__[\"k\" /* Binary */](this.span(result.span.start), operator, result, right);\n continue;\n }\n break;\n }\n return result;\n };\n _ParseAST.prototype.parseAdditive = function () {\n // '+', '-'\n var result = this.parseMultiplicative();\n while (this.next.type == __WEBPACK_IMPORTED_MODULE_5__lexer__[\"e\" /* TokenType */].Operator) {\n var operator = this.next.strValue;\n switch (operator) {\n case '+':\n case '-':\n this.advance();\n var right = this.parseMultiplicative();\n result = new __WEBPACK_IMPORTED_MODULE_4__ast__[\"k\" /* Binary */](this.span(result.span.start), operator, result, right);\n continue;\n }\n break;\n }\n return result;\n };\n _ParseAST.prototype.parseMultiplicative = function () {\n // '*', '%', '/'\n var result = this.parsePrefix();\n while (this.next.type == __WEBPACK_IMPORTED_MODULE_5__lexer__[\"e\" /* TokenType */].Operator) {\n var operator = this.next.strValue;\n switch (operator) {\n case '*':\n case '%':\n case '/':\n this.advance();\n var right = this.parsePrefix();\n result = new __WEBPACK_IMPORTED_MODULE_4__ast__[\"k\" /* Binary */](this.span(result.span.start), operator, result, right);\n continue;\n }\n break;\n }\n return result;\n };\n _ParseAST.prototype.parsePrefix = function () {\n if (this.next.type == __WEBPACK_IMPORTED_MODULE_5__lexer__[\"e\" /* TokenType */].Operator) {\n var start = this.inputIndex;\n var operator = this.next.strValue;\n var result = void 0;\n switch (operator) {\n case '+':\n this.advance();\n return this.parsePrefix();\n case '-':\n this.advance();\n result = this.parsePrefix();\n return new __WEBPACK_IMPORTED_MODULE_4__ast__[\"k\" /* Binary */](this.span(start), operator, new __WEBPACK_IMPORTED_MODULE_4__ast__[\"f\" /* LiteralPrimitive */](new __WEBPACK_IMPORTED_MODULE_4__ast__[\"d\" /* ParseSpan */](start, start), 0), result);\n case '!':\n this.advance();\n result = this.parsePrefix();\n return new __WEBPACK_IMPORTED_MODULE_4__ast__[\"l\" /* PrefixNot */](this.span(start), result);\n }\n }\n return this.parseCallChain();\n };\n _ParseAST.prototype.parseCallChain = function () {\n var result = this.parsePrimary();\n while (true) {\n if (this.optionalCharacter(__WEBPACK_IMPORTED_MODULE_1__chars__[\"d\" /* $PERIOD */])) {\n result = this.parseAccessMemberOrMethodCall(result, false);\n }\n else if (this.optionalOperator('?.')) {\n result = this.parseAccessMemberOrMethodCall(result, true);\n }\n else if (this.optionalCharacter(__WEBPACK_IMPORTED_MODULE_1__chars__[\"i\" /* $LBRACKET */])) {\n this.rbracketsExpected++;\n var key = this.parsePipe();\n this.rbracketsExpected--;\n this.expectCharacter(__WEBPACK_IMPORTED_MODULE_1__chars__[\"j\" /* $RBRACKET */]);\n if (this.optionalOperator('=')) {\n var value = this.parseConditional();\n result = new __WEBPACK_IMPORTED_MODULE_4__ast__[\"m\" /* KeyedWrite */](this.span(result.span.start), result, key, value);\n }\n else {\n result = new __WEBPACK_IMPORTED_MODULE_4__ast__[\"n\" /* KeyedRead */](this.span(result.span.start), result, key);\n }\n }\n else if (this.optionalCharacter(__WEBPACK_IMPORTED_MODULE_1__chars__[\"e\" /* $LPAREN */])) {\n this.rparensExpected++;\n var args = this.parseCallArguments();\n this.rparensExpected--;\n this.expectCharacter(__WEBPACK_IMPORTED_MODULE_1__chars__[\"f\" /* $RPAREN */]);\n result = new __WEBPACK_IMPORTED_MODULE_4__ast__[\"o\" /* FunctionCall */](this.span(result.span.start), result, args);\n }\n else {\n return result;\n }\n }\n };\n _ParseAST.prototype.parsePrimary = function () {\n var start = this.inputIndex;\n if (this.optionalCharacter(__WEBPACK_IMPORTED_MODULE_1__chars__[\"e\" /* $LPAREN */])) {\n this.rparensExpected++;\n var result = this.parsePipe();\n this.rparensExpected--;\n this.expectCharacter(__WEBPACK_IMPORTED_MODULE_1__chars__[\"f\" /* $RPAREN */]);\n return result;\n }\n else if (this.next.isKeywordNull()) {\n this.advance();\n return new __WEBPACK_IMPORTED_MODULE_4__ast__[\"f\" /* LiteralPrimitive */](this.span(start), null);\n }\n else if (this.next.isKeywordUndefined()) {\n this.advance();\n return new __WEBPACK_IMPORTED_MODULE_4__ast__[\"f\" /* LiteralPrimitive */](this.span(start), void 0);\n }\n else if (this.next.isKeywordTrue()) {\n this.advance();\n return new __WEBPACK_IMPORTED_MODULE_4__ast__[\"f\" /* LiteralPrimitive */](this.span(start), true);\n }\n else if (this.next.isKeywordFalse()) {\n this.advance();\n return new __WEBPACK_IMPORTED_MODULE_4__ast__[\"f\" /* LiteralPrimitive */](this.span(start), false);\n }\n else if (this.next.isKeywordThis()) {\n this.advance();\n return new __WEBPACK_IMPORTED_MODULE_4__ast__[\"p\" /* ImplicitReceiver */](this.span(start));\n }\n else if (this.optionalCharacter(__WEBPACK_IMPORTED_MODULE_1__chars__[\"i\" /* $LBRACKET */])) {\n this.rbracketsExpected++;\n var elements = this.parseExpressionList(__WEBPACK_IMPORTED_MODULE_1__chars__[\"j\" /* $RBRACKET */]);\n this.rbracketsExpected--;\n this.expectCharacter(__WEBPACK_IMPORTED_MODULE_1__chars__[\"j\" /* $RBRACKET */]);\n return new __WEBPACK_IMPORTED_MODULE_4__ast__[\"q\" /* LiteralArray */](this.span(start), elements);\n }\n else if (this.next.isCharacter(__WEBPACK_IMPORTED_MODULE_1__chars__[\"g\" /* $LBRACE */])) {\n return this.parseLiteralMap();\n }\n else if (this.next.isIdentifier()) {\n return this.parseAccessMemberOrMethodCall(new __WEBPACK_IMPORTED_MODULE_4__ast__[\"p\" /* ImplicitReceiver */](this.span(start)), false);\n }\n else if (this.next.isNumber()) {\n var value = this.next.toNumber();\n this.advance();\n return new __WEBPACK_IMPORTED_MODULE_4__ast__[\"f\" /* LiteralPrimitive */](this.span(start), value);\n }\n else if (this.next.isString()) {\n var literalValue = this.next.toString();\n this.advance();\n return new __WEBPACK_IMPORTED_MODULE_4__ast__[\"f\" /* LiteralPrimitive */](this.span(start), literalValue);\n }\n else if (this.index >= this.tokens.length) {\n this.error(\"Unexpected end of expression: \" + this.input);\n return new __WEBPACK_IMPORTED_MODULE_4__ast__[\"g\" /* EmptyExpr */](this.span(start));\n }\n else {\n this.error(\"Unexpected token \" + this.next);\n return new __WEBPACK_IMPORTED_MODULE_4__ast__[\"g\" /* EmptyExpr */](this.span(start));\n }\n };\n _ParseAST.prototype.parseExpressionList = function (terminator) {\n var result = [];\n if (!this.next.isCharacter(terminator)) {\n do {\n result.push(this.parsePipe());\n } while (this.optionalCharacter(__WEBPACK_IMPORTED_MODULE_1__chars__[\"k\" /* $COMMA */]));\n }\n return result;\n };\n _ParseAST.prototype.parseLiteralMap = function () {\n var keys = [];\n var values = [];\n var start = this.inputIndex;\n this.expectCharacter(__WEBPACK_IMPORTED_MODULE_1__chars__[\"g\" /* $LBRACE */]);\n if (!this.optionalCharacter(__WEBPACK_IMPORTED_MODULE_1__chars__[\"h\" /* $RBRACE */])) {\n this.rbracesExpected++;\n do {\n var key = this.expectIdentifierOrKeywordOrString();\n keys.push(key);\n this.expectCharacter(__WEBPACK_IMPORTED_MODULE_1__chars__[\"l\" /* $COLON */]);\n values.push(this.parsePipe());\n } while (this.optionalCharacter(__WEBPACK_IMPORTED_MODULE_1__chars__[\"k\" /* $COMMA */]));\n this.rbracesExpected--;\n this.expectCharacter(__WEBPACK_IMPORTED_MODULE_1__chars__[\"h\" /* $RBRACE */]);\n }\n return new __WEBPACK_IMPORTED_MODULE_4__ast__[\"r\" /* LiteralMap */](this.span(start), keys, values);\n };\n _ParseAST.prototype.parseAccessMemberOrMethodCall = function (receiver, isSafe) {\n if (isSafe === void 0) { isSafe = false; }\n var start = receiver.span.start;\n var id = this.expectIdentifierOrKeyword();\n if (this.optionalCharacter(__WEBPACK_IMPORTED_MODULE_1__chars__[\"e\" /* $LPAREN */])) {\n this.rparensExpected++;\n var args = this.parseCallArguments();\n this.expectCharacter(__WEBPACK_IMPORTED_MODULE_1__chars__[\"f\" /* $RPAREN */]);\n this.rparensExpected--;\n var span = this.span(start);\n return isSafe ? new __WEBPACK_IMPORTED_MODULE_4__ast__[\"s\" /* SafeMethodCall */](span, receiver, id, args) :\n new __WEBPACK_IMPORTED_MODULE_4__ast__[\"t\" /* MethodCall */](span, receiver, id, args);\n }\n else {\n if (isSafe) {\n if (this.optionalOperator('=')) {\n this.error('The \\'?.\\' operator cannot be used in the assignment');\n return new __WEBPACK_IMPORTED_MODULE_4__ast__[\"g\" /* EmptyExpr */](this.span(start));\n }\n else {\n return new __WEBPACK_IMPORTED_MODULE_4__ast__[\"u\" /* SafePropertyRead */](this.span(start), receiver, id);\n }\n }\n else {\n if (this.optionalOperator('=')) {\n if (!this.parseAction) {\n this.error('Bindings cannot contain assignments');\n return new __WEBPACK_IMPORTED_MODULE_4__ast__[\"g\" /* EmptyExpr */](this.span(start));\n }\n var value = this.parseConditional();\n return new __WEBPACK_IMPORTED_MODULE_4__ast__[\"v\" /* PropertyWrite */](this.span(start), receiver, id, value);\n }\n else {\n return new __WEBPACK_IMPORTED_MODULE_4__ast__[\"w\" /* PropertyRead */](this.span(start), receiver, id);\n }\n }\n }\n };\n _ParseAST.prototype.parseCallArguments = function () {\n if (this.next.isCharacter(__WEBPACK_IMPORTED_MODULE_1__chars__[\"f\" /* $RPAREN */]))\n return [];\n var positionals = [];\n do {\n positionals.push(this.parsePipe());\n } while (this.optionalCharacter(__WEBPACK_IMPORTED_MODULE_1__chars__[\"k\" /* $COMMA */]));\n return positionals;\n };\n /**\n * An identifier, a keyword, a string with an optional `-` inbetween.\n */\n _ParseAST.prototype.expectTemplateBindingKey = function () {\n var result = '';\n var operatorFound = false;\n do {\n result += this.expectIdentifierOrKeywordOrString();\n operatorFound = this.optionalOperator('-');\n if (operatorFound) {\n result += '-';\n }\n } while (operatorFound);\n return result.toString();\n };\n _ParseAST.prototype.parseTemplateBindings = function () {\n var bindings = [];\n var prefix = null;\n var warnings = [];\n while (this.index < this.tokens.length) {\n var start = this.inputIndex;\n var keyIsVar = this.peekKeywordLet();\n if (keyIsVar) {\n this.advance();\n }\n var key = this.expectTemplateBindingKey();\n if (!keyIsVar) {\n if (prefix == null) {\n prefix = key;\n }\n else {\n key = prefix + key[0].toUpperCase() + key.substring(1);\n }\n }\n this.optionalCharacter(__WEBPACK_IMPORTED_MODULE_1__chars__[\"l\" /* $COLON */]);\n var name_2 = null;\n var expression = null;\n if (keyIsVar) {\n if (this.optionalOperator('=')) {\n name_2 = this.expectTemplateBindingKey();\n }\n else {\n name_2 = '\\$implicit';\n }\n }\n else if (this.next !== __WEBPACK_IMPORTED_MODULE_5__lexer__[\"d\" /* EOF */] && !this.peekKeywordLet()) {\n var start_1 = this.inputIndex;\n var ast = this.parsePipe();\n var source = this.input.substring(start_1 - this.offset, this.inputIndex - this.offset);\n expression = new __WEBPACK_IMPORTED_MODULE_4__ast__[\"a\" /* ASTWithSource */](ast, source, this.location, this.errors);\n }\n bindings.push(new __WEBPACK_IMPORTED_MODULE_4__ast__[\"x\" /* TemplateBinding */](this.span(start), key, keyIsVar, name_2, expression));\n if (!this.optionalCharacter(__WEBPACK_IMPORTED_MODULE_1__chars__[\"m\" /* $SEMICOLON */])) {\n this.optionalCharacter(__WEBPACK_IMPORTED_MODULE_1__chars__[\"k\" /* $COMMA */]);\n }\n }\n return new TemplateBindingParseResult(bindings, warnings, this.errors);\n };\n _ParseAST.prototype.error = function (message, index) {\n if (index === void 0) { index = null; }\n this.errors.push(new __WEBPACK_IMPORTED_MODULE_4__ast__[\"b\" /* ParserError */](message, this.input, this.locationText(index), this.location));\n this.skip();\n };\n _ParseAST.prototype.locationText = function (index) {\n if (index === void 0) { index = null; }\n if (__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_2__facade_lang__[\"a\" /* isBlank */])(index))\n index = this.index;\n return (index < this.tokens.length) ? \"at column \" + (this.tokens[index].index + 1) + \" in\" :\n \"at the end of the expression\";\n };\n // Error recovery should skip tokens until it encounters a recovery point. skip() treats\n // the end of input and a ';' as unconditionally a recovery point. It also treats ')',\n // '}' and ']' as conditional recovery points if one of calling productions is expecting\n // one of these symbols. This allows skip() to recover from errors such as '(a.) + 1' allowing\n // more of the AST to be retained (it doesn't skip any tokens as the ')' is retained because\n // of the '(' begins an '(' ')' production). The recovery points of grouping symbols\n // must be conditional as they must be skipped if none of the calling productions are not\n // expecting the closing token else we will never make progress in the case of an\n // extraneous group closing symbol (such as a stray ')'). This is not the case for ';' because\n // parseChain() is always the root production and it expects a ';'.\n // If a production expects one of these token it increments the corresponding nesting count,\n // and then decrements it just prior to checking if the token is in the input.\n _ParseAST.prototype.skip = function () {\n var n = this.next;\n while (this.index < this.tokens.length && !n.isCharacter(__WEBPACK_IMPORTED_MODULE_1__chars__[\"m\" /* $SEMICOLON */]) &&\n (this.rparensExpected <= 0 || !n.isCharacter(__WEBPACK_IMPORTED_MODULE_1__chars__[\"f\" /* $RPAREN */])) &&\n (this.rbracesExpected <= 0 || !n.isCharacter(__WEBPACK_IMPORTED_MODULE_1__chars__[\"h\" /* $RBRACE */])) &&\n (this.rbracketsExpected <= 0 || !n.isCharacter(__WEBPACK_IMPORTED_MODULE_1__chars__[\"j\" /* $RBRACKET */]))) {\n if (this.next.isError()) {\n this.errors.push(new __WEBPACK_IMPORTED_MODULE_4__ast__[\"b\" /* ParserError */](this.next.toString(), this.input, this.locationText(), this.location));\n }\n this.advance();\n n = this.next;\n }\n };\n return _ParseAST;\n}());\nvar SimpleExpressionChecker = (function () {\n function SimpleExpressionChecker() {\n this.errors = [];\n }\n SimpleExpressionChecker.check = function (ast) {\n var s = new SimpleExpressionChecker();\n ast.visit(s);\n return s.errors;\n };\n SimpleExpressionChecker.prototype.visitImplicitReceiver = function (ast, context) { };\n SimpleExpressionChecker.prototype.visitInterpolation = function (ast, context) { };\n SimpleExpressionChecker.prototype.visitLiteralPrimitive = function (ast, context) { };\n SimpleExpressionChecker.prototype.visitPropertyRead = function (ast, context) { };\n SimpleExpressionChecker.prototype.visitPropertyWrite = function (ast, context) { };\n SimpleExpressionChecker.prototype.visitSafePropertyRead = function (ast, context) { };\n SimpleExpressionChecker.prototype.visitMethodCall = function (ast, context) { };\n SimpleExpressionChecker.prototype.visitSafeMethodCall = function (ast, context) { };\n SimpleExpressionChecker.prototype.visitFunctionCall = function (ast, context) { };\n SimpleExpressionChecker.prototype.visitLiteralArray = function (ast, context) { this.visitAll(ast.expressions); };\n SimpleExpressionChecker.prototype.visitLiteralMap = function (ast, context) { this.visitAll(ast.values); };\n SimpleExpressionChecker.prototype.visitBinary = function (ast, context) { };\n SimpleExpressionChecker.prototype.visitPrefixNot = function (ast, context) { };\n SimpleExpressionChecker.prototype.visitConditional = function (ast, context) { };\n SimpleExpressionChecker.prototype.visitPipe = function (ast, context) { this.errors.push('pipes'); };\n SimpleExpressionChecker.prototype.visitKeyedRead = function (ast, context) { };\n SimpleExpressionChecker.prototype.visitKeyedWrite = function (ast, context) { };\n SimpleExpressionChecker.prototype.visitAll = function (asts) {\n var _this = this;\n return asts.map(function (node) { return node.visit(_this); });\n };\n SimpleExpressionChecker.prototype.visitChain = function (ast, context) { };\n SimpleExpressionChecker.prototype.visitQuote = function (ast, context) { };\n return SimpleExpressionChecker;\n}());\n//# sourceMappingURL=parser.js.map\n\n/***/ },\n/* 86 */\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(1);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__facade_lang__ = __webpack_require__(4);\n/* unused harmony export createUrlResolverWithoutPackagePrefix */\n/* unused harmony export createOfflineCompileUrlResolver */\n/* harmony export (binding) */ __webpack_require__.d(exports, \"c\", function() { return DEFAULT_PACKAGE_URL_PROVIDER; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"a\", function() { return UrlResolver; });\n/* harmony export (immutable) */ exports[\"b\"] = getUrlScheme;\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\n\nvar _ASSET_SCHEME = 'asset:';\n/**\n * Create a {@link UrlResolver} with no package prefix.\n */\nfunction createUrlResolverWithoutPackagePrefix() {\n return new UrlResolver();\n}\nfunction createOfflineCompileUrlResolver() {\n return new UrlResolver(_ASSET_SCHEME);\n}\n/**\n * A default provider for {@link PACKAGE_ROOT_URL} that maps to '/'.\n */\nvar DEFAULT_PACKAGE_URL_PROVIDER = {\n provide: __WEBPACK_IMPORTED_MODULE_0__angular_core__[\"z\" /* PACKAGE_ROOT_URL */],\n useValue: '/'\n};\n/**\n * Used by the {@link Compiler} when resolving HTML and CSS template URLs.\n *\n * This class can be overridden by the application developer to create custom behavior.\n *\n * See {@link Compiler}\n *\n * ## Example\n *\n * {@example compiler/ts/url_resolver/url_resolver.ts region='url_resolver'}\n *\n * @security When compiling templates at runtime, you must\n * ensure that the entire template comes from a trusted source.\n * Attacker-controlled data introduced by a template could expose your\n * application to XSS risks. For more detail, see the [Security Guide](http://g.co/ng/security).\n */\nvar UrlResolver = (function () {\n function UrlResolver(_packagePrefix) {\n if (_packagePrefix === void 0) { _packagePrefix = null; }\n this._packagePrefix = _packagePrefix;\n }\n /**\n * Resolves the `url` given the `baseUrl`:\n * - when the `url` is null, the `baseUrl` is returned,\n * - if `url` is relative ('path/to/here', './path/to/here'), the resolved url is a combination of\n * `baseUrl` and `url`,\n * - if `url` is absolute (it has a scheme: 'http://', 'https://' or start with '/'), the `url` is\n * returned as is (ignoring the `baseUrl`)\n */\n UrlResolver.prototype.resolve = function (baseUrl, url) {\n var resolvedUrl = url;\n if (__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_1__facade_lang__[\"b\" /* isPresent */])(baseUrl) && baseUrl.length > 0) {\n resolvedUrl = _resolveUrl(baseUrl, resolvedUrl);\n }\n var resolvedParts = _split(resolvedUrl);\n var prefix = this._packagePrefix;\n if (__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_1__facade_lang__[\"b\" /* isPresent */])(prefix) && __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_1__facade_lang__[\"b\" /* isPresent */])(resolvedParts) &&\n resolvedParts[_ComponentIndex.Scheme] == 'package') {\n var path = resolvedParts[_ComponentIndex.Path];\n if (this._packagePrefix === _ASSET_SCHEME) {\n var pathSegements = path.split(/\\//);\n resolvedUrl = \"asset:\" + pathSegements[0] + \"/lib/\" + pathSegements.slice(1).join('/');\n }\n else {\n prefix = prefix.replace(/\\/+$/, '');\n path = path.replace(/^\\/+/, '');\n return prefix + \"/\" + path;\n }\n }\n return resolvedUrl;\n };\n UrlResolver.decorators = [\n { type: __WEBPACK_IMPORTED_MODULE_0__angular_core__[\"b\" /* Injectable */] },\n ];\n /** @nocollapse */\n UrlResolver.ctorParameters = [\n { type: undefined, decorators: [{ type: __WEBPACK_IMPORTED_MODULE_0__angular_core__[\"y\" /* Inject */], args: [__WEBPACK_IMPORTED_MODULE_0__angular_core__[\"z\" /* PACKAGE_ROOT_URL */],] },] },\n ];\n return UrlResolver;\n}());\n/**\n * Extract the scheme of a URL.\n */\nfunction getUrlScheme(url) {\n var match = _split(url);\n return (match && match[_ComponentIndex.Scheme]) || '';\n}\n// The code below is adapted from Traceur:\n// https://github.com/google/traceur-compiler/blob/9511c1dafa972bf0de1202a8a863bad02f0f95a8/src/runtime/url.js\n/**\n * Builds a URI string from already-encoded parts.\n *\n * No encoding is performed. Any component may be omitted as either null or\n * undefined.\n *\n * @param opt_scheme The scheme such as 'http'.\n * @param opt_userInfo The user name before the '@'.\n * @param opt_domain The domain such as 'www.google.com', already\n * URI-encoded.\n * @param opt_port The port number.\n * @param opt_path The path, already URI-encoded. If it is not\n * empty, it must begin with a slash.\n * @param opt_queryData The URI-encoded query data.\n * @param opt_fragment The URI-encoded fragment identifier.\n * @return The fully combined URI.\n */\nfunction _buildFromEncodedParts(opt_scheme, opt_userInfo, opt_domain, opt_port, opt_path, opt_queryData, opt_fragment) {\n var out = [];\n if (__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_1__facade_lang__[\"b\" /* isPresent */])(opt_scheme)) {\n out.push(opt_scheme + ':');\n }\n if (__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_1__facade_lang__[\"b\" /* isPresent */])(opt_domain)) {\n out.push('//');\n if (__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_1__facade_lang__[\"b\" /* isPresent */])(opt_userInfo)) {\n out.push(opt_userInfo + '@');\n }\n out.push(opt_domain);\n if (__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_1__facade_lang__[\"b\" /* isPresent */])(opt_port)) {\n out.push(':' + opt_port);\n }\n }\n if (__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_1__facade_lang__[\"b\" /* isPresent */])(opt_path)) {\n out.push(opt_path);\n }\n if (__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_1__facade_lang__[\"b\" /* isPresent */])(opt_queryData)) {\n out.push('?' + opt_queryData);\n }\n if (__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_1__facade_lang__[\"b\" /* isPresent */])(opt_fragment)) {\n out.push('#' + opt_fragment);\n }\n return out.join('');\n}\n/**\n * A regular expression for breaking a URI into its component parts.\n *\n * {@link http://www.gbiv.com/protocols/uri/rfc/rfc3986.html#RFC2234} says\n * As the \"first-match-wins\" algorithm is identical to the \"greedy\"\n * disambiguation method used by POSIX regular expressions, it is natural and\n * commonplace to use a regular expression for parsing the potential five\n * components of a URI reference.\n *\n * The following line is the regular expression for breaking-down a\n * well-formed URI reference into its components.\n *\n * \n * ^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?\n * 12 3 4 5 6 7 8 9\n *
\n *\n * The numbers in the second line above are only to assist readability; they\n * indicate the reference points for each subexpression (i.e., each paired\n * parenthesis). We refer to the value matched for subexpression as $.\n * For example, matching the above expression to\n * \n * http://www.ics.uci.edu/pub/ietf/uri/#Related\n *
\n * results in the following subexpression matches:\n * \n * $1 = http:\n * $2 = http\n * $3 = //www.ics.uci.edu\n * $4 = www.ics.uci.edu\n * $5 = /pub/ietf/uri/\n * $6 = \n * $7 = \n * $8 = #Related\n * $9 = Related\n *
\n * where indicates that the component is not present, as is the\n * case for the query component in the above example. Therefore, we can\n * determine the value of the five components as\n * \n * scheme = $2\n * authority = $4\n * path = $5\n * query = $7\n * fragment = $9\n *
\n *\n * The regular expression has been modified slightly to expose the\n * userInfo, domain, and port separately from the authority.\n * The modified version yields\n * \n * $1 = http scheme\n * $2 = userInfo -\\\n * $3 = www.ics.uci.edu domain | authority\n * $4 = port -/\n * $5 = /pub/ietf/uri/ path\n * $6 = query without ?\n * $7 = Related fragment without #\n *
\n * @type {!RegExp}\n * @internal\n */\nvar _splitRe = new RegExp('^' +\n '(?:' +\n '([^:/?#.]+)' +\n // used by other URL parts such as :,\n // ?, /, #, and .\n ':)?' +\n '(?://' +\n '(?:([^/?#]*)@)?' +\n '([\\\\w\\\\d\\\\-\\\\u0100-\\\\uffff.%]*)' +\n // digits, dashes, dots, percent\n // escapes, and unicode characters.\n '(?::([0-9]+))?' +\n ')?' +\n '([^?#]+)?' +\n '(?:\\\\?([^#]*))?' +\n '(?:#(.*))?' +\n '$');\n/**\n * The index of each URI component in the return value of goog.uri.utils.split.\n * @enum {number}\n */\nvar _ComponentIndex;\n(function (_ComponentIndex) {\n _ComponentIndex[_ComponentIndex[\"Scheme\"] = 1] = \"Scheme\";\n _ComponentIndex[_ComponentIndex[\"UserInfo\"] = 2] = \"UserInfo\";\n _ComponentIndex[_ComponentIndex[\"Domain\"] = 3] = \"Domain\";\n _ComponentIndex[_ComponentIndex[\"Port\"] = 4] = \"Port\";\n _ComponentIndex[_ComponentIndex[\"Path\"] = 5] = \"Path\";\n _ComponentIndex[_ComponentIndex[\"QueryData\"] = 6] = \"QueryData\";\n _ComponentIndex[_ComponentIndex[\"Fragment\"] = 7] = \"Fragment\";\n})(_ComponentIndex || (_ComponentIndex = {}));\n/**\n * Splits a URI into its component parts.\n *\n * Each component can be accessed via the component indices; for example:\n * \n * goog.uri.utils.split(someStr)[goog.uri.utils.CompontentIndex.QUERY_DATA];\n *
\n *\n * @param uri The URI string to examine.\n * @return Each component still URI-encoded.\n * Each component that is present will contain the encoded value, whereas\n * components that are not present will be undefined or empty, depending\n * on the browser's regular expression implementation. Never null, since\n * arbitrary strings may still look like path names.\n */\nfunction _split(uri) {\n return uri.match(_splitRe);\n}\n/**\n * Removes dot segments in given path component, as described in\n * RFC 3986, section 5.2.4.\n *\n * @param path A non-empty path component.\n * @return Path component with removed dot segments.\n */\nfunction _removeDotSegments(path) {\n if (path == '/')\n return '/';\n var leadingSlash = path[0] == '/' ? '/' : '';\n var trailingSlash = path[path.length - 1] === '/' ? '/' : '';\n var segments = path.split('/');\n var out = [];\n var up = 0;\n for (var pos = 0; pos < segments.length; pos++) {\n var segment = segments[pos];\n switch (segment) {\n case '':\n case '.':\n break;\n case '..':\n if (out.length > 0) {\n out.pop();\n }\n else {\n up++;\n }\n break;\n default:\n out.push(segment);\n }\n }\n if (leadingSlash == '') {\n while (up-- > 0) {\n out.unshift('..');\n }\n if (out.length === 0)\n out.push('.');\n }\n return leadingSlash + out.join('/') + trailingSlash;\n}\n/**\n * Takes an array of the parts from split and canonicalizes the path part\n * and then joins all the parts.\n */\nfunction _joinAndCanonicalizePath(parts) {\n var path = parts[_ComponentIndex.Path];\n path = __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_1__facade_lang__[\"a\" /* isBlank */])(path) ? '' : _removeDotSegments(path);\n parts[_ComponentIndex.Path] = path;\n return _buildFromEncodedParts(parts[_ComponentIndex.Scheme], parts[_ComponentIndex.UserInfo], parts[_ComponentIndex.Domain], parts[_ComponentIndex.Port], path, parts[_ComponentIndex.QueryData], parts[_ComponentIndex.Fragment]);\n}\n/**\n * Resolves a URL.\n * @param base The URL acting as the base URL.\n * @param to The URL to resolve.\n */\nfunction _resolveUrl(base, url) {\n var parts = _split(encodeURI(url));\n var baseParts = _split(base);\n if (__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_1__facade_lang__[\"b\" /* isPresent */])(parts[_ComponentIndex.Scheme])) {\n return _joinAndCanonicalizePath(parts);\n }\n else {\n parts[_ComponentIndex.Scheme] = baseParts[_ComponentIndex.Scheme];\n }\n for (var i = _ComponentIndex.Scheme; i <= _ComponentIndex.Port; i++) {\n if (__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_1__facade_lang__[\"a\" /* isBlank */])(parts[i])) {\n parts[i] = baseParts[i];\n }\n }\n if (parts[_ComponentIndex.Path][0] == '/') {\n return _joinAndCanonicalizePath(parts);\n }\n var path = baseParts[_ComponentIndex.Path];\n if (__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_1__facade_lang__[\"a\" /* isBlank */])(path))\n path = '/';\n var index = path.lastIndexOf('/');\n path = path.substring(0, index + 1) + parts[_ComponentIndex.Path];\n parts[_ComponentIndex.Path] = path;\n return _joinAndCanonicalizePath(parts);\n}\n//# sourceMappingURL=url_resolver.js.map\n\n/***/ },\n/* 87 */\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__facade_errors__ = __webpack_require__(31);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__facade_lang__ = __webpack_require__(7);\n/* harmony export (binding) */ __webpack_require__.d(exports, \"a\", function() { return THROW_IF_NOT_FOUND; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"b\", function() { return Injector; });\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\n\nvar _THROW_IF_NOT_FOUND = new Object();\nvar THROW_IF_NOT_FOUND = _THROW_IF_NOT_FOUND;\nvar _NullInjector = (function () {\n function _NullInjector() {\n }\n _NullInjector.prototype.get = function (token, notFoundValue) {\n if (notFoundValue === void 0) { notFoundValue = _THROW_IF_NOT_FOUND; }\n if (notFoundValue === _THROW_IF_NOT_FOUND) {\n throw new Error(\"No provider for \" + __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_1__facade_lang__[\"b\" /* stringify */])(token) + \"!\");\n }\n return notFoundValue;\n };\n return _NullInjector;\n}());\n/**\n * @whatItDoes Injector interface\n * @howToUse\n * ```\n * const injector: Injector = ...;\n * injector.get(...);\n * ```\n *\n * @description\n * For more details, see the {@linkDocs guide/dependency-injection \"Dependency Injection Guide\"}.\n *\n * ### Example\n *\n * {@example core/di/ts/injector_spec.ts region='Injector'}\n *\n * `Injector` returns itself when given `Injector` as a token:\n * {@example core/di/ts/injector_spec.ts region='injectInjector'}\n *\n * @stable\n */\nvar Injector = (function () {\n function Injector() {\n }\n /**\n * Retrieves an instance from the injector based on the provided token.\n * If not found:\n * - Throws {@link NoProviderError} if no `notFoundValue` that is not equal to\n * Injector.THROW_IF_NOT_FOUND is given\n * - Returns the `notFoundValue` otherwise\n */\n Injector.prototype.get = function (token, notFoundValue) { return __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__facade_errors__[\"a\" /* unimplemented */])(); };\n Injector.THROW_IF_NOT_FOUND = _THROW_IF_NOT_FOUND;\n Injector.NULL = new _NullInjector();\n return Injector;\n}());\n//# sourceMappingURL=injector.js.map\n\n/***/ },\n/* 88 */\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__lang__ = __webpack_require__(7);\n/* harmony export (binding) */ __webpack_require__.d(exports, \"e\", function() { return StringMapWrapper; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"d\", function() { return ListWrapper; });\n/* harmony export (immutable) */ exports[\"a\"] = isListLikeIterable;\n/* harmony export (immutable) */ exports[\"c\"] = areIterablesEqual;\n/* harmony export (immutable) */ exports[\"b\"] = iterateListLike;\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\n/**\n * Wraps Javascript Objects\n */\nvar StringMapWrapper = (function () {\n function StringMapWrapper() {\n }\n StringMapWrapper.merge = function (m1, m2) {\n var m = {};\n for (var _i = 0, _a = Object.keys(m1); _i < _a.length; _i++) {\n var k = _a[_i];\n m[k] = m1[k];\n }\n for (var _b = 0, _c = Object.keys(m2); _b < _c.length; _b++) {\n var k = _c[_b];\n m[k] = m2[k];\n }\n return m;\n };\n StringMapWrapper.equals = function (m1, m2) {\n var k1 = Object.keys(m1);\n var k2 = Object.keys(m2);\n if (k1.length != k2.length) {\n return false;\n }\n for (var i = 0; i < k1.length; i++) {\n var key = k1[i];\n if (m1[key] !== m2[key]) {\n return false;\n }\n }\n return true;\n };\n return StringMapWrapper;\n}());\nvar ListWrapper = (function () {\n function ListWrapper() {\n }\n ListWrapper.removeAll = function (list, items) {\n for (var i = 0; i < items.length; ++i) {\n var index = list.indexOf(items[i]);\n if (index > -1) {\n list.splice(index, 1);\n }\n }\n };\n ListWrapper.remove = function (list, el) {\n var index = list.indexOf(el);\n if (index > -1) {\n list.splice(index, 1);\n return true;\n }\n return false;\n };\n ListWrapper.equals = function (a, b) {\n if (a.length != b.length)\n return false;\n for (var i = 0; i < a.length; ++i) {\n if (a[i] !== b[i])\n return false;\n }\n return true;\n };\n ListWrapper.flatten = function (list) {\n return list.reduce(function (flat, item) {\n var flatItem = Array.isArray(item) ? ListWrapper.flatten(item) : item;\n return flat.concat(flatItem);\n }, []);\n };\n return ListWrapper;\n}());\nfunction isListLikeIterable(obj) {\n if (!__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__lang__[\"e\" /* isJsObject */])(obj))\n return false;\n return Array.isArray(obj) ||\n (!(obj instanceof Map) &&\n __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__lang__[\"f\" /* getSymbolIterator */])() in obj); // JS Iterable have a Symbol.iterator prop\n}\nfunction areIterablesEqual(a, b, comparator) {\n var iterator1 = a[__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__lang__[\"f\" /* getSymbolIterator */])()]();\n var iterator2 = b[__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__lang__[\"f\" /* getSymbolIterator */])()]();\n while (true) {\n var item1 = iterator1.next();\n var item2 = iterator2.next();\n if (item1.done && item2.done)\n return true;\n if (item1.done || item2.done)\n return false;\n if (!comparator(item1.value, item2.value))\n return false;\n }\n}\nfunction iterateListLike(obj, fn) {\n if (Array.isArray(obj)) {\n for (var i = 0; i < obj.length; i++) {\n fn(obj[i]);\n }\n }\n else {\n var iterator = obj[__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__lang__[\"f\" /* getSymbolIterator */])()]();\n var item = void 0;\n while (!((item = iterator.next()).done)) {\n fn(item.value);\n }\n }\n}\n//# sourceMappingURL=collection.js.map\n\n/***/ },\n/* 89 */\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__di__ = __webpack_require__(34);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__facade_errors__ = __webpack_require__(31);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__facade_lang__ = __webpack_require__(7);\n/* harmony export (binding) */ __webpack_require__.d(exports, \"c\", function() { return ComponentStillLoadingError; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"d\", function() { return ModuleWithComponentFactories; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"b\", function() { return Compiler; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"e\", function() { return COMPILER_OPTIONS; });\n/* harmony export (binding) */ __webpack_require__.d(exports, \"a\", function() { return CompilerFactory; });\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nvar __extends = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\n\n\n\n/**\n * Indicates that a component is still being loaded in a synchronous compile.\n *\n * @stable\n */\nvar ComponentStillLoadingError = (function (_super) {\n __extends(ComponentStillLoadingError, _super);\n function ComponentStillLoadingError(compType) {\n _super.call(this, \"Can't compile synchronously as \" + __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_2__facade_lang__[\"b\" /* stringify */])(compType) + \" is still being loaded!\");\n this.compType = compType;\n }\n return ComponentStillLoadingError;\n}(__WEBPACK_IMPORTED_MODULE_1__facade_errors__[\"b\" /* BaseError */]));\n/**\n * Combination of NgModuleFactory and ComponentFactorys.\n *\n * @experimental\n */\nvar ModuleWithComponentFactories = (function () {\n function ModuleWithComponentFactories(ngModuleFactory, componentFactories) {\n this.ngModuleFactory = ngModuleFactory;\n this.componentFactories = componentFactories;\n }\n return ModuleWithComponentFactories;\n}());\nfunction _throwError() {\n throw new Error(\"Runtime compiler is not loaded\");\n}\n/**\n * Low-level service for running the angular compiler during runtime\n * to create {@link ComponentFactory}s, which\n * can later be used to create and render a Component instance.\n *\n * Each `@NgModule` provides an own `Compiler` to its injector,\n * that will use the directives/pipes of the ng module for compilation\n * of components.\n * @stable\n */\nvar Compiler = (function () {\n function Compiler() {\n }\n /**\n * Compiles the given NgModule and all of its components. All templates of the components listed\n * in `entryComponents`\n * have to be inlined. Otherwise throws a {@link ComponentStillLoadingError}.\n */\n Compiler.prototype.compileModuleSync = function (moduleType) { throw _throwError(); };\n /**\n * Compiles the given NgModule and all of its components\n */\n Compiler.prototype.compileModuleAsync = function (moduleType) { throw _throwError(); };\n /**\n * Same as {@link compileModuleSync} but also creates ComponentFactories for all components.\n */\n Compiler.prototype.compileModuleAndAllComponentsSync = function (moduleType) {\n throw _throwError();\n };\n /**\n * Same as {@link compileModuleAsync} but also creates ComponentFactories for all components.\n */\n Compiler.prototype.compileModuleAndAllComponentsAsync = function (moduleType) {\n throw _throwError();\n };\n /**\n * Clears all caches.\n */\n Compiler.prototype.clearCache = function () { };\n /**\n * Clears the cache for the given component/ngModule.\n */\n Compiler.prototype.clearCacheFor = function (type) { };\n return Compiler;\n}());\n/**\n * Token to provide CompilerOptions in the platform injector.\n *\n * @experimental\n */\nvar COMPILER_OPTIONS = new __WEBPACK_IMPORTED_MODULE_0__di__[\"a\" /* OpaqueToken */]('compilerOptions');\n/**\n * A factory for creating a Compiler\n *\n * @experimental\n */\nvar CompilerFactory = (function () {\n function CompilerFactory() {\n }\n return CompilerFactory;\n}());\n//# sourceMappingURL=compiler.js.map\n\n/***/ },\n/* 90 */\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__control_container__ = __webpack_require__(47);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__shared__ = __webpack_require__(57);\n/* harmony export (binding) */ __webpack_require__.d(exports, \"a\", function() { return AbstractFormGroupDirective; });\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nvar __extends = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\n\n\n/**\n * This is a base class for code shared between {@link NgModelGroup} and {@link FormGroupName}.\n *\n * @stable\n */\nvar AbstractFormGroupDirective = (function (_super) {\n __extends(AbstractFormGroupDirective, _super);\n function AbstractFormGroupDirective() {\n _super.apply(this, arguments);\n }\n AbstractFormGroupDirective.prototype.ngOnInit = function () {\n this._checkParentType();\n this.formDirective.addFormGroup(this);\n };\n AbstractFormGroupDirective.prototype.ngOnDestroy = function () {\n if (this.formDirective) {\n this.formDirective.removeFormGroup(this);\n }\n };\n Object.defineProperty(AbstractFormGroupDirective.prototype, \"control\", {\n /**\n * Get the {@link FormGroup} backing this binding.\n */\n get: function () { return this.formDirective.getFormGroup(this); },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(AbstractFormGroupDirective.prototype, \"path\", {\n /**\n * Get the path to this control group.\n */\n get: function () { return __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_1__shared__[\"a\" /* controlPath */])(this.name, this._parent); },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(AbstractFormGroupDirective.prototype, \"formDirective\", {\n /**\n * Get the {@link Form} to which this group belongs.\n */\n get: function () { return this._parent ? this._parent.formDirective : null; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(AbstractFormGroupDirective.prototype, \"validator\", {\n get: function () { return __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_1__shared__[\"b\" /* composeValidators */])(this._validators); },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(AbstractFormGroupDirective.prototype, \"asyncValidator\", {\n get: function () { return __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_1__shared__[\"c\" /* composeAsyncValidators */])(this._asyncValidators); },\n enumerable: true,\n configurable: true\n });\n /** @internal */\n AbstractFormGroupDirective.prototype._checkParentType = function () { };\n return AbstractFormGroupDirective;\n}(__WEBPACK_IMPORTED_MODULE_0__control_container__[\"a\" /* ControlContainer */]));\n//# sourceMappingURL=abstract_form_group_directive.js.map\n\n/***/ },\n/* 91 */\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(1);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__facade_async__ = __webpack_require__(76);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__model__ = __webpack_require__(132);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__validators__ = __webpack_require__(42);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__control_container__ = __webpack_require__(47);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__shared__ = __webpack_require__(57);\n/* unused harmony export formDirectiveProvider */\n/* harmony export (binding) */ __webpack_require__.d(exports, \"a\", function() { return NgForm; });\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nvar __extends = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\n\n\n\n\n\n\nvar formDirectiveProvider = {\n provide: __WEBPACK_IMPORTED_MODULE_4__control_container__[\"a\" /* ControlContainer */],\n useExisting: __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__angular_core__[\"_22\" /* forwardRef */])(function () { return NgForm; })\n};\nvar resolvedPromise = Promise.resolve(null);\n/**\n * @whatItDoes Creates a top-level {@link FormGroup} instance and binds it to a form\n * to track aggregate form value and validation status.\n *\n * @howToUse\n *\n * As soon as you import the `FormsModule`, this directive becomes active by default on\n * all `