UNPKG

ionic-angular

Version:

A powerful framework for building mobile and progressive web apps with JavaScript and Angular 2

3 lines (2 loc) 47.1 kB
!function(t){"use strict";function e(t,e){return e={exports:{}},t(e,e.exports),e.exports}var n=function(t){return"object"==typeof t?null!==t:"function"==typeof t},r=n,o=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t},i=function(t){try{return!!t()}catch(t){return!0}},a=!i(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}),u="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},c=e(function(t){var e=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=e)}),s=n,f=c.document,l=s(f)&&s(f.createElement),h=function(t){return l?f.createElement(t):{}},p=!a&&!i(function(){return 7!=Object.defineProperty(h("div"),"a",{get:function(){return 7}}).a}),d=n,v=function(t,e){if(!d(t))return t;var n,r;if(e&&"function"==typeof(n=t.toString)&&!d(r=n.call(t)))return r;if("function"==typeof(n=t.valueOf)&&!d(r=n.call(t)))return r;if(!e&&"function"==typeof(n=t.toString)&&!d(r=n.call(t)))return r;throw TypeError("Can't convert object to primitive value")},y=o,g=p,k=v,_=Object.defineProperty,m=a?Object.defineProperty:function(t,e,n){if(y(t),e=k(e,!0),y(n),g)try{return _(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t},b={f:m},T={}.hasOwnProperty,w=function(t,e){return T.call(t,e)},E={}.toString,O=function(t){return E.call(t).slice(8,-1)},S=O,j=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==S(t)?t.split(""):Object(t)},P=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t},z=j,D=P,C=function(t){return z(D(t))},Z=Math.ceil,M=Math.floor,I=function(t){return isNaN(t=+t)?0:(t>0?M:Z)(t)},F=I,x=Math.min,L=function(t){return t>0?x(F(t),9007199254740991):0},R=I,H=Math.max,A=Math.min,q=function(t,e){return t=R(t),t<0?H(t+e,0):A(t,e)},N=C,B=L,W=q,X=c,G=X["__core-js_shared__"]||(X["__core-js_shared__"]={}),U=function(t){return G[t]||(G[t]={})},K=0,V=Math.random(),J=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++K+V).toString(36))},Q=U("keys"),Y=J,$=function(t){return Q[t]||(Q[t]=Y(t))},tt=w,et=C,nt=function(t){return function(e,n,r){var o,i=N(e),a=B(i.length),u=W(r,a);if(t&&n!=n){for(;a>u;)if((o=i[u++])!=o)return!0}else for(;a>u;u++)if((t||u in i)&&i[u]===n)return t||u||0;return!t&&-1}}(!1),rt=$("IE_PROTO"),ot=function(t,e){var n,r=et(t),o=0,i=[];for(n in r)n!=rt&&tt(r,n)&&i.push(n);for(;e.length>o;)tt(r,n=e[o++])&&(~nt(i,n)||i.push(n));return i},it="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(","),at=ot,ut=it,ct=Object.keys||function(t){return at(t,ut)},st=b,ft=o,lt=ct,ht=a?Object.defineProperties:function(t,e){ft(t);for(var n,r=lt(e),o=r.length,i=0;o>i;)st.f(t,n=r[i++],e[n]);return t},pt=c.document&&document.documentElement,dt=o,vt=ht,yt=it,gt=$("IE_PROTO"),kt=function(){},_t=function(){var t,e=h("iframe"),n=yt.length;for(e.style.display="none",pt.appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write("<script>document.F=Object</script>"),t.close(),_t=t.F;n--;)delete _t.prototype[yt[n]];return _t()},mt=Object.create||function(t,e){var n;return null!==t?(kt.prototype=dt(t),n=new kt,kt.prototype=null,n[gt]=t):n=_t(),void 0===e?n:vt(n,e)},bt=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},Tt=b,wt=bt,Et=a?function(t,e,n){return Tt.f(t,e,wt(1,n))}:function(t,e,n){return t[e]=n,t},Ot=e(function(t){var e=t.exports={version:"2.4.0"};"number"==typeof __e&&(__e=e)}),St=e(function(t){var e=c,n=Et,r=w,o=J("src"),i=Function.toString,a=(""+i).split("toString");Ot.inspectSource=function(t){return i.call(t)},(t.exports=function(t,i,u,c){var s="function"==typeof u;s&&(r(u,"name")||n(u,"name",i)),t[i]!==u&&(s&&(r(u,o)||n(u,o,t[i]?""+t[i]:a.join(String(i)))),t===e?t[i]=u:c?t[i]?t[i]=u:n(t,i,u):(delete t[i],n(t,i,u)))})(Function.prototype,"toString",function(){return"function"==typeof this&&this[o]||i.call(this)})}),jt=St,Pt=function(t,e,n){for(var r in e)jt(t,r,e[r],n);return t},zt=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t},Dt=zt,Ct=function(t,e,n){if(Dt(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,o){return t.call(e,n,r,o)}}return function(){return t.apply(e,arguments)}},Zt=function(t,e,n,r){if(!(t instanceof e)||void 0!==r&&r in t)throw TypeError(n+": incorrect invocation!");return t},Mt=o,It=function(t,e,n,r){try{return r?e(Mt(n)[0],n[1]):e(n)}catch(e){var o=t.return;throw void 0!==o&&Mt(o.call(t)),e}},Ft={},xt=e(function(t){var e=U("wks"),n=J,r=c.Symbol,o="function"==typeof r;(t.exports=function(t){return e[t]||(e[t]=o&&r[t]||(o?r:n)("Symbol."+t))}).store=e}),Lt=Ft,Rt=xt("iterator"),Ht=Array.prototype,At=function(t){return void 0!==t&&(Lt.Array===t||Ht[Rt]===t)},qt=O,Nt=xt("toStringTag"),Bt="Arguments"==qt(function(){return arguments}()),Wt=function(t,e){try{return t[e]}catch(t){}},Xt=function(t){var e,n,r;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=Wt(e=Object(t),Nt))?n:Bt?qt(e):"Object"==(r=qt(e))&&"function"==typeof e.callee?"Arguments":r},Gt=Xt,Ut=xt("iterator"),Kt=Ft,Vt=Ot.getIteratorMethod=function(t){if(void 0!=t)return t[Ut]||t["@@iterator"]||Kt[Gt(t)]},Jt=e(function(t){var e=Ct,n=It,r=At,i=o,a=L,u=Vt,c={},s={},f=t.exports=function(t,o,f,l,h){var p,d,v,y,g=h?function(){return t}:u(t),k=e(f,l,o?2:1),_=0;if("function"!=typeof g)throw TypeError(t+" is not iterable!");if(r(g)){for(p=a(t.length);p>_;_++)if((y=o?k(i(d=t[_])[0],d[1]):k(t[_]))===c||y===s)return y}else for(v=g.call(t);!(d=v.next()).done;)if((y=n(v,k,d.value,o))===c||y===s)return y};f.BREAK=c,f.RETURN=s}),Qt=c,Yt=Ot,$t=Et,te=St,ee=Ct,ne=function(t,e,n){var r,o,i,a,u=t&ne.F,c=t&ne.G,s=t&ne.S,f=t&ne.P,l=t&ne.B,h=c?Qt:s?Qt[e]||(Qt[e]={}):(Qt[e]||{}).prototype,p=c?Yt:Yt[e]||(Yt[e]={}),d=p.prototype||(p.prototype={});c&&(n=e);for(r in n)o=!u&&h&&void 0!==h[r],i=(o?h:n)[r],a=l&&o?ee(i,Qt):f&&"function"==typeof i?ee(Function.call,i):i,h&&te(h,r,i,t&ne.U),p[r]!=i&&$t(p,r,a),f&&d[r]!=i&&(d[r]=i)};Qt.core=Yt,ne.F=1,ne.G=2,ne.S=4,ne.P=8,ne.B=16,ne.W=32,ne.U=64,ne.R=128;var re=ne,oe=b.f,ie=w,ae=xt("toStringTag"),ue=function(t,e,n){t&&!ie(t=n?t:t.prototype,ae)&&oe(t,ae,{configurable:!0,value:e})},ce=mt,se=bt,fe=ue,le={};Et(le,xt("iterator"),function(){return this});var he=function(t,e,n){t.prototype=ce(le,{next:se(1,n)}),fe(t,e+" Iterator")},pe=P,de=function(t){return Object(pe(t))},ve=w,ye=de,ge=$("IE_PROTO"),ke=Object.prototype,_e=Object.getPrototypeOf||function(t){return t=ye(t),ve(t,ge)?t[ge]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?ke:null},me=re,be=St,Te=Et,we=w,Ee=Ft,Oe=he,Se=ue,je=_e,Pe=xt("iterator"),ze=!([].keys&&"next"in[].keys()),De=function(){return this},Ce=function(t,e,n,r,o,i,a){Oe(n,e,r);var u,c,s,f=function(t){if(!ze&&t in d)return d[t];switch(t){case"keys":return function(){return new n(this,t)};case"values":return function(){return new n(this,t)}}return function(){return new n(this,t)}},l=e+" Iterator",h="values"==o,p=!1,d=t.prototype,v=d[Pe]||d["@@iterator"]||o&&d[o],y=v||f(o),g=o?h?f("entries"):y:void 0,k="Array"==e?d.entries||v:v;if(k&&(s=je(k.call(new t)))!==Object.prototype&&(Se(s,l,!0),we(s,Pe)||Te(s,Pe,De)),h&&v&&"values"!==v.name&&(p=!0,y=function(){return v.call(this)}),(ze||p||!d[Pe])&&Te(d,Pe,y),Ee[e]=y,Ee[l]=De,o)if(u={values:h?y:f("values"),keys:i?y:f("keys"),entries:g},a)for(c in u)c in d||be(d,c,u[c]);else me(me.P+me.F*(ze||p),e,u);return u},Ze=function(t,e){return{value:e,done:!!t}},Me=c,Ie=b,Fe=a,xe=xt("species"),Le=function(t){var e=Me[t];Fe&&e&&!e[xe]&&Ie.f(e,xe,{configurable:!0,get:function(){return this}})},Re=e(function(t){var e=J("meta"),r=n,o=w,a=b.f,u=0,c=Object.isExtensible||function(){return!0},s=!i(function(){return c(Object.preventExtensions({}))}),f=function(t){a(t,e,{value:{i:"O"+ ++u,w:{}}})},l=function(t,n){if(!r(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!o(t,e)){if(!c(t))return"F";if(!n)return"E";f(t)}return t[e].i},h=function(t,n){if(!o(t,e)){if(!c(t))return!0;if(!n)return!1;f(t)}return t[e].w},p=function(t){return s&&d.NEED&&c(t)&&!o(t,e)&&f(t),t},d=t.exports={KEY:e,NEED:!1,fastKey:l,getWeak:h,onFreeze:p}}),He=b.f,Ae=mt,qe=Pt,Ne=Ct,Be=Zt,We=P,Xe=Jt,Ge=Ce,Ue=Ze,Ke=Le,Ve=a,Je=Re.fastKey,Qe=Ve?"_s":"size",Ye=function(t,e){var n,r=Je(e);if("F"!==r)return t._i[r];for(n=t._f;n;n=n.n)if(n.k==e)return n},$e={getConstructor:function(t,e,n,r){var o=t(function(t,i){Be(t,o,e,"_i"),t._i=Ae(null),t._f=void 0,t._l=void 0,t[Qe]=0,void 0!=i&&Xe(i,n,t[r],t)});return qe(o.prototype,{clear:function(){for(var t=this,e=t._i,n=t._f;n;n=n.n)n.r=!0,n.p&&(n.p=n.p.n=void 0),delete e[n.i];t._f=t._l=void 0,t[Qe]=0},delete:function(t){var e=this,n=Ye(e,t);if(n){var r=n.n,o=n.p;delete e._i[n.i],n.r=!0,o&&(o.n=r),r&&(r.p=o),e._f==n&&(e._f=r),e._l==n&&(e._l=o),e[Qe]--}return!!n},forEach:function(t){Be(this,o,"forEach");for(var e,n=Ne(t,arguments.length>1?arguments[1]:void 0,3);e=e?e.n:this._f;)for(n(e.v,e.k,this);e&&e.r;)e=e.p},has:function(t){return!!Ye(this,t)}}),Ve&&He(o.prototype,"size",{get:function(){return We(this[Qe])}}),o},def:function(t,e,n){var r,o,i=Ye(t,e);return i?i.v=n:(t._l=i={i:o=Je(e,!0),k:e,v:n,p:r=t._l,n:void 0,r:!1},t._f||(t._f=i),r&&(r.n=i),t[Qe]++,"F"!==o&&(t._i[o]=i)),t},getEntry:Ye,setStrong:function(t,e,n){Ge(t,e,function(t,e){this._t=t,this._k=e,this._l=void 0},function(){for(var t=this,e=t._k,n=t._l;n&&n.r;)n=n.p;return t._t&&(t._l=n=n?n.n:t._t._f)?"keys"==e?Ue(0,n.k):"values"==e?Ue(0,n.v):Ue(0,[n.k,n.v]):(t._t=void 0,Ue(1))},n?"entries":"values",!n,!0),Ke(e)}},tn=xt("iterator"),en=!1;try{var nn=[7][tn]();nn.return=function(){en=!0},Array.from(nn,function(){throw 2})}catch(t){}var rn=function(t,e){if(!e&&!en)return!1;var n=!1;try{var r=[7],o=r[tn]();o.next=function(){return{done:n=!0}},r[tn]=function(){return o},t(r)}catch(t){}return n},on={}.propertyIsEnumerable,an={f:on},un=an,cn=bt,sn=C,fn=v,ln=w,hn=p,pn=Object.getOwnPropertyDescriptor,dn=a?pn:function(t,e){if(t=sn(t),e=fn(e,!0),hn)try{return pn(t,e)}catch(t){}if(ln(t,e))return cn(!un.f.call(t,e),t[e])},vn={f:dn},yn=n,gn=o,kn=function(t,e){if(gn(t),!yn(e)&&null!==e)throw TypeError(e+": can't set as prototype!")},_n={set:Object.setPrototypeOf||("__proto__"in{}?function(t,e,n){try{n=Ct(Function.call,vn.f(Object.prototype,"__proto__").set,2),n(t,[]),e=!(t instanceof Array)}catch(t){e=!0}return function(t,r){return kn(t,r),e?t.__proto__=r:n(t,r),t}}({},!1):void 0),check:kn},mn=n,bn=_n.set,Tn=function(t,e,n){var r,o=e.constructor;return o!==n&&"function"==typeof o&&(r=o.prototype)!==n.prototype&&mn(r)&&bn&&bn(t,r),t},wn=c,En=re,On=St,Sn=Pt,jn=Re,Pn=Jt,zn=Zt,Dn=n,Cn=i,Zn=rn,Mn=ue,In=Tn,Fn=function(t,e,n,r,o,i){var a=wn[t],u=a,c=o?"set":"add",s=u&&u.prototype,f={},l=function(t){var e=s[t];On(s,t,"delete"==t?function(t){return!(i&&!Dn(t))&&e.call(this,0===t?0:t)}:"has"==t?function(t){return!(i&&!Dn(t))&&e.call(this,0===t?0:t)}:"get"==t?function(t){return i&&!Dn(t)?void 0:e.call(this,0===t?0:t)}:"add"==t?function(t){return e.call(this,0===t?0:t),this}:function(t,n){return e.call(this,0===t?0:t,n),this})};if("function"==typeof u&&(i||s.forEach&&!Cn(function(){(new u).entries().next()}))){var h=new u,p=h[c](i?{}:-0,1)!=h,d=Cn(function(){h.has(1)}),v=Zn(function(t){new u(t)}),y=!i&&Cn(function(){for(var t=new u,e=5;e--;)t[c](e,e);return!t.has(-0)});v||(u=e(function(e,n){zn(e,u,t);var r=In(new a,e,u);return void 0!=n&&Pn(n,o,r[c],r),r}),u.prototype=s,s.constructor=u),(d||y)&&(l("delete"),l("has"),o&&l("get")),(y||p)&&l(c),i&&s.clear&&delete s.clear}else u=r.getConstructor(e,t,o,c),Sn(u.prototype,n),jn.NEED=!0;return Mn(u,t),f[t]=u,En(En.G+En.W+En.F*(u!=a),f),i||r.setStrong(u,t,o),u},xn=$e,Ln=Fn("Map",function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},{get:function(t){var e=xn.getEntry(this,t);return e&&e.v},set:function(t,e){return xn.def(this,0===t?0:t,e)}},xn,!0),Rn=O,Hn=Array.isArray||function(t){return"Array"==Rn(t)},An=n,qn=Hn,Nn=xt("species"),Bn=function(t){var e;return qn(t)&&(e=t.constructor,"function"!=typeof e||e!==Array&&!qn(e.prototype)||(e=void 0),An(e)&&null===(e=e[Nn])&&(e=void 0)),void 0===e?Array:e},Wn=Bn,Xn=function(t,e){return new(Wn(t))(e)},Gn=Ct,Un=j,Kn=de,Vn=L,Jn=Xn,Qn=function(t,e){var n=1==t,r=2==t,o=3==t,i=4==t,a=6==t,u=5==t||a,c=e||Jn;return function(e,s,f){for(var l,h,p=Kn(e),d=Un(p),v=Gn(s,f,3),y=Vn(d.length),g=0,k=n?c(e,y):r?c(e,0):void 0;y>g;g++)if((u||g in d)&&(l=d[g],h=v(l,g,p),t))if(n)k[g]=h;else if(h)switch(t){case 3:return!0;case 5:return l;case 6:return g;case 2:k.push(l)}else if(i)return!1;return a?-1:o||i?i:k}},Yn=Object.getOwnPropertySymbols,$n={f:Yn},tr=ct,er=$n,nr=an,rr=de,or=j,ir=Object.assign,ar=!ir||i(function(){var t={},e={},n=Symbol(),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach(function(t){e[t]=t}),7!=ir({},t)[n]||Object.keys(ir({},e)).join("")!=r})?function(t,e){for(var n=rr(t),r=arguments.length,o=1,i=er.f,a=nr.f;r>o;)for(var u,c=or(arguments[o++]),s=i?tr(c).concat(i(c)):tr(c),f=s.length,l=0;f>l;)a.call(c,u=s[l++])&&(n[u]=c[u]);return n}:ir,ur=Pt,cr=Re.getWeak,sr=o,fr=n,lr=Zt,hr=Jt,pr=Qn,dr=w,vr=pr(5),yr=pr(6),gr=0,kr=function(t){return t._l||(t._l=new _r)},_r=function(){this.a=[]},mr=function(t,e){return vr(t.a,function(t){return t[0]===e})};_r.prototype={get:function(t){var e=mr(this,t);if(e)return e[1]},has:function(t){return!!mr(this,t)},set:function(t,e){var n=mr(this,t);n?n[1]=e:this.a.push([t,e])},delete:function(t){var e=yr(this.a,function(e){return e[0]===t});return~e&&this.a.splice(e,1),!!~e}};var br={getConstructor:function(t,e,n,r){var o=t(function(t,i){lr(t,o,e,"_i"),t._i=gr++,t._l=void 0,void 0!=i&&hr(i,n,t[r],t)});return ur(o.prototype,{delete:function(t){if(!fr(t))return!1;var e=cr(t);return e===!0?kr(this).delete(t):e&&dr(e,this._i)&&delete e[this._i]},has:function(t){if(!fr(t))return!1;var e=cr(t);return e===!0?kr(this).has(t):e&&dr(e,this._i)}}),o},def:function(t,e,n){var r=cr(sr(e),!0);return r===!0?kr(t).set(e,n):r[t._i]=n,t},ufstore:kr},Tr=e(function(t){var e,r=Qn(0),o=St,i=Re,a=ar,u=br,c=n,s=i.getWeak,f=Object.isExtensible,l=u.ufstore,h={},p=function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},d={get:function(t){if(c(t)){var e=s(t);return e===!0?l(this).get(t):e?e[this._i]:void 0}},set:function(t,e){return u.def(this,t,e)}},v=t.exports=Fn("WeakMap",p,d,u,!0,!0);7!=(new v).set((Object.freeze||Object)(h),7).get(h)&&(e=u.getConstructor(p),a(e.prototype,d),i.NEED=!0,r(["delete","has","get","set"],function(t){var n=v.prototype,r=n[t];o(n,t,function(n,o){if(c(n)&&!f(n)){this._f||(this._f=new e);var i=this._f[t](n,o);return"set"==t?this:i}return r.call(this,n,o)})}))}),wr=Ln,Er=re,Or=U("metadata"),Sr=Or.store||(Or.store=new Tr),jr=function(t,e,n){var r=Sr.get(t);if(!r){if(!n)return;Sr.set(t,r=new wr)}var o=r.get(e);if(!o){if(!n)return;r.set(e,o=new wr)}return o},Pr=function(t,e,n){var r=jr(e,n,!1);return void 0!==r&&r.has(t)},zr=function(t,e,n){var r=jr(e,n,!1);return void 0===r?void 0:r.get(t)},Dr=function(t,e,n,r){jr(n,r,!0).set(t,e)},Cr=function(t,e){var n=jr(t,e,!1),r=[];return n&&n.forEach(function(t,e){r.push(e)}),r},Zr=function(t){return void 0===t||"symbol"==typeof t?t:String(t)},Mr=function(t){Er(Er.S,"Reflect",t)},Ir={store:Sr,map:jr,has:Pr,get:zr,set:Dr,keys:Cr,key:Zr,exp:Mr},Fr=Ir,xr=o,Lr=Fr.key,Rr=Fr.set;Fr.exp({defineMetadata:function(t,e,n,r){Rr(t,e,xr(n),Lr(r))}});var Hr=Ir,Ar=o,qr=Hr.key,Nr=Hr.map,Br=Hr.store;Hr.exp({deleteMetadata:function(t,e){var n=arguments.length<3?void 0:qr(arguments[2]),r=Nr(Ar(e),n,!1);if(void 0===r||!r.delete(t))return!1;if(r.size)return!0;var o=Br.get(e);return o.delete(n),!!o.size||Br.delete(e)}});var Wr=Ir,Xr=o,Gr=_e,Ur=Wr.has,Kr=Wr.get,Vr=Wr.key,Jr=function(t,e,n){if(Ur(t,e,n))return Kr(t,e,n);var r=Gr(e);return null!==r?Jr(t,r,n):void 0};Wr.exp({getMetadata:function(t,e){return Jr(t,Xr(e),arguments.length<3?void 0:Vr(arguments[2]))}});var Qr=$e,Yr=Fn("Set",function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},{add:function(t){return Qr.def(this,t=0===t?0:t,t)}},Qr),$r=Jt,to=function(t,e){var n=[];return $r(t,!1,n.push,n,e),n},eo=Yr,no=to,ro=Ir,oo=o,io=_e,ao=ro.keys,uo=ro.key,co=function(t,e){var n=ao(t,e),r=io(t);if(null===r)return n;var o=co(r,e);return o.length?n.length?no(new eo(n.concat(o))):o:n};ro.exp({getMetadataKeys:function(t){return co(oo(t),arguments.length<2?void 0:uo(arguments[1]))}});var so=Ir,fo=o,lo=so.get,ho=so.key;so.exp({getOwnMetadata:function(t,e){return lo(t,fo(e),arguments.length<3?void 0:ho(arguments[2]))}});var po=Ir,vo=o,yo=po.keys,go=po.key;po.exp({getOwnMetadataKeys:function(t){return yo(vo(t),arguments.length<2?void 0:go(arguments[1]))}});var ko=Ir,_o=o,mo=_e,bo=ko.has,To=ko.key,wo=function(t,e,n){if(bo(t,e,n))return!0;var r=mo(e);return null!==r&&wo(t,r,n)};ko.exp({hasMetadata:function(t,e){return wo(t,_o(e),arguments.length<3?void 0:To(arguments[2]))}});var Eo=Ir,Oo=o,So=Eo.has,jo=Eo.key;Eo.exp({hasOwnMetadata:function(t,e){return So(t,Oo(e),arguments.length<3?void 0:jo(arguments[2]))}});var Po=Ir,zo=o,Do=zt,Co=Po.key,Zo=Po.set;Po.exp({metadata:function(t,e){return function(n,r){Zo(t,e,(void 0!==r?zo:Do)(n),Co(r))}}});var Mo=Ot.Reflect;e(function(t,e){!function(n,r){"object"==typeof e&&void 0!==t?r():"function"==typeof define&&define.amd?define(r):r()}(0,function(){function t(t,e){for(var n=t.length-1;n>=0;n--)"function"==typeof t[n]&&(t[n]=Zone.current.wrap(t[n],e+"_"+n));return t}function e(t,e){var n=Object.getOwnPropertyDescriptor(t,e)||{enumerable:!0,configurable:!0},r=Object.getOwnPropertyDescriptor(t,"original"+e);!r&&n.get&&Object.defineProperty(t,"original"+e,{enumerable:!1,configurable:!0,get:n.get}),delete n.writable,delete n.value;var o=e.substr(2),i=T("_"+e);n.set=function(t){if(this[i]&&this.removeEventListener(o,this[i]),"function"==typeof t){var e=function(e){var n;return n=t.apply(this,arguments),void 0==n||n||e.preventDefault(),n};this[i]=e,this.addEventListener(o,e,!1)}else this[i]=null},n.get=function(){var t=this[i]||null;return null===t&&r&&r.get&&(t=r.get.apply(this,arguments))&&(n.set.apply(this,[t]),"function"==typeof this.removeAttribute&&this.removeAttribute(e)),this[i]||null},Object.defineProperty(t,e,n)}function n(t,n){var r=[];for(var o in t)"on"==o.substr(0,2)&&r.push(o);for(var i=0;i<r.length;i++)e(t,r[i]);if(n)for(var a=0;a<n.length;a++)e(t,"on"+n[a])}function r(t,e,n,r,o){var i=t[P];if(i)for(var a=0;a<i.length;a++){var u=i[a],c=u.data,s=c.handler;if((c.handler===e||s.listener===e)&&c.useCapturing===r&&c.eventName===n)return o&&i.splice(a,1),u}return null}function o(t,e,n){var r=t[P];r||(r=t[P]=[]),n?r.unshift(e):r.push(e)}function i(t,e,n,i,a,u){function c(t){var e=t.data;return o(e.target,t,a),e.invokeAddFunc(f,t)}function s(t){var e=t.data;return r(e.target,t.invoke,e.eventName,e.useCapturing,!0),e.invokeRemoveFunc(l,t)}void 0===n&&(n=!0),void 0===i&&(i=!1),void 0===a&&(a=!1),void 0===u&&(u=C);var f=T(t),l=T(e),h=!n&&void 0;return function(e,n){var o=u(e,n);o.useCapturing=o.useCapturing||h;var a=null;"function"==typeof o.handler?a=o.handler:o.handler&&o.handler.handleEvent&&(a=function(t){return o.handler.handleEvent(t)});var l=!1;try{l=o.handler&&"[object FunctionWrapper]"===o.handler.toString()}catch(t){return}if(!a||l)return o.invokeAddFunc(f,o.handler);if(!i){var p=r(o.target,o.handler,o.eventName,o.useCapturing,!1);if(p)return o.invokeAddFunc(f,p)}var d=Zone.current,v=o.target.constructor.name+"."+t+":"+o.eventName;d.scheduleEventTask(v,a,o,c,s)}}function a(t,e,n){void 0===e&&(e=!0),void 0===n&&(n=C);var o=T(t),i=!e&&void 0;return function(t,e){var a=n(t,e);a.useCapturing=a.useCapturing||i;var u=r(a.target,a.handler,a.eventName,a.useCapturing,!0);u?u.zone.cancelTask(u):a.invokeRemoveFunc(o,a.handler)}}function c(t,e,n,r){return void 0===e&&(e=z),void 0===n&&(n=D),void 0===r&&(r=C),!(!t||!t[e])&&(l(t,e,function(){return i(e,n,!0,!1,!1,r)}),l(t,n,function(){return a(n,!0,r)}),!0)}function s(e){var n=w[e];if(n){w[e]=function(){var r=t(arguments,e);switch(r.length){case 0:this[Z]=new n;break;case 1:this[Z]=new n(r[0]);break;case 2:this[Z]=new n(r[0],r[1]);break;case 3:this[Z]=new n(r[0],r[1],r[2]);break;case 4:this[Z]=new n(r[0],r[1],r[2],r[3]);break;default:throw new Error("Arg list too long.")}};var r,o=new n(function(){});for(r in o)"XMLHttpRequest"===e&&"responseBlob"===r||function(t){"function"==typeof o[t]?w[e].prototype[t]=function(){return this[Z][t].apply(this[Z],arguments)}:Object.defineProperty(w[e].prototype,t,{set:function(n){this[Z][t]="function"==typeof n?Zone.current.wrap(n,e+"."+t):n},get:function(){return this[Z][t]}})}(r);for(r in n)"prototype"!==r&&n.hasOwnProperty(r)&&(w[e][r]=n[r])}}function f(t,e){try{return Function("f","return function "+t+"(){return f(this, arguments)}")(e)}catch(t){return function(){return e(this,arguments)}}}function l(t,e,n){for(var r=t;r&&Object.getOwnPropertyNames(r).indexOf(e)===-1;)r=Object.getPrototypeOf(r);!r&&t[e]&&(r=t);var o,i=T(e);return r&&!(o=r[i])&&(o=r[i]=r[e],r[e]=f(e,n(o,i,e))),o}function h(t,e){var n=t[T("eventTasks")],r=[];if(n)for(var o=0;o<n.length;o++){var i=n[o],a=i.data,u=a&&a.eventName;u===e&&r.push(i)}return r}function p(t,e,n,r){function o(e){function n(){try{e.invoke.apply(this,arguments)}finally{delete c[r.handleId]}}var r=e.data;return r.args[0]=n,r.handleId=a.apply(t,r.args),c[r.handleId]=e,e}function i(t){return delete c[t.data.handleId],u(t.data.handleId)}var a=null,u=null;e+=r,n+=r;var c={};a=l(t,e,function(n){return function(a,u){if("function"==typeof u[0]){var c=Zone.current,s={handleId:null,isPeriodic:"Interval"===r,delay:"Timeout"===r||"Interval"===r?u[1]||0:null,args:u},f=c.scheduleMacroTask(e,u[0],s,o,i);if(!f)return f;var l=f.data.handleId;return l&&l.ref&&l.unref&&"function"==typeof l.ref&&"function"==typeof l.unref&&(f.ref=l.ref.bind(l),f.unref=l.unref.bind(l)),f}return n.apply(t,u)}}),u=l(t,n,function(e){return function(n,r){var o="number"==typeof r[0]?c[r[0]]:r[0];o&&"string"==typeof o.type?"notScheduled"!==o.state&&(o.cancelFn&&o.data.isPeriodic||0===o.runCount)&&o.zone.cancelTask(o):e.apply(t,r)}})}function d(t,e,n){var r=n.configurable;return n=y(t,e,n),g(t,e,n,r)}function v(t,e){return t&&t[x]&&t[x][e]}function y(t,e,n){return n.configurable=!0,n.configurable||(t[x]||M(t,x,{writable:!0,value:{}}),t[x][e]=!0),n}function g(t,e,n,r){try{return M(t,e,n)}catch(i){if(!n.configurable)throw i;void 0===r?delete n.configurable:n.configurable=r;try{return M(t,e,n)}catch(r){var o=null;try{o=JSON.stringify(n)}catch(t){o=o.toString()}console.log("Attempting to configure '"+e+"' with descriptor '"+o+"' on object '"+t+"' and got error, giving up: "+r)}}}function k(t){var e=t.WebSocket;t.EventTarget||c(e.prototype),t.WebSocket=function(t,r){var o,i=arguments.length>1?new e(t,r):new e(t),a=Object.getOwnPropertyDescriptor(i,"onmessage");return a&&a.configurable===!1?(o=Object.create(i),["addEventListener","removeEventListener","send","close"].forEach(function(t){o[t]=function(){return i[t].apply(i,arguments)}})):o=i,n(o,["close","error","message","open"]),o};for(var r in e)t.WebSocket[r]=e[r]}function _(){if((S||j)&&!Object.getOwnPropertyDescriptor(HTMLElement.prototype,"onclick")&&"undefined"!=typeof Element){var t=Object.getOwnPropertyDescriptor(Element.prototype,"onclick");if(t&&!t.configurable)return!1}var e=Object.getOwnPropertyDescriptor(XMLHttpRequest.prototype,"onreadystatechange");Object.defineProperty(XMLHttpRequest.prototype,"onreadystatechange",{enumerable:!0,configurable:!0,get:function(){return!0}});var n=new XMLHttpRequest,r=!!n.onreadystatechange;return Object.defineProperty(XMLHttpRequest.prototype,"onreadystatechange",e||{}),r}function m(){for(var t=0;t<A.length;t++)!function(t){var e=A[t],n="on"+e;self.addEventListener(e,function(t){var e,r,o=t.target;for(r=o?o.constructor.name+"."+n:"unknown."+n;o;)o[n]&&!o[n][q]&&(e=Zone.current.wrap(o[n],r),e[q]=o[n],o[n]=e),o=o.parentElement},!0)}(t)}function b(t){return function(e){h(B,t).forEach(function(n){var r=B.PromiseRejectionEvent;if(r){var o=new r(t,{promise:e.promise,reason:e.rejection});n.invoke(o)}})}}var T=(function(t){function e(t){return"__zone_symbol__"+t}function n(){0===D&&0===j.length&&(t[w]?t[w].resolve(0)[E](a):t[T](a,0))}function r(t){n(),j.push(t)}function o(t){if(!g[e("ignoreConsoleErrorUncaughtError")]){var n=t&&t.rejection;n&&console.error("Unhandled Promise rejection:",n instanceof Error?n.message:n,"; Zone:",t.zone.name,"; Task:",t.task&&t.task.source,"; Value:",n,n instanceof Error?n.stack:void 0),console.error(t)}}function i(t){o(t);try{var n=g[e("unhandledPromiseRejectionHandler")];n&&"function"==typeof n&&n.apply(this,[t])}catch(t){}}function a(){if(!P){for(P=!0;j.length;){var t=j;j=[];for(var e=0;e<t.length;e++){var n=t[e];try{n.zone.runTask(n,null,null)}catch(t){o(t)}}}for(;z.length;)for(;z.length;)!function(){var t=z.shift();try{t.zone.runGuarded(function(){throw t})}catch(t){i(t)}}();P=!1}}function u(t){return t&&t.then}function c(t){return t}function s(t){return H.reject(t)}function f(t,e){return function(n){try{l(t,e,n)}catch(e){l(t,!1,e)}}}function l(t,r,o){var i=R();if(t===o)throw new TypeError("Promise resolved with itself");if(t[C]===I){var a=null;try{"object"!=typeof o&&"function"!=typeof o||(a=o&&o.then)}catch(e){return i(function(){l(t,!1,e)})(),t}if(r!==x&&o instanceof H&&o.hasOwnProperty(C)&&o.hasOwnProperty(Z)&&o[C]!==I)h(o),l(t,o[C],o[Z]);else if(r!==x&&"function"==typeof a)try{a.apply(o,[i(f(t,r)),i(f(t,!1))])}catch(e){i(function(){l(t,!1,e)})()}else{t[C]=r;var u=t[Z];t[Z]=o,r===x&&o instanceof Error&&(o[e("currentTask")]=g.currentTask);for(var c=0;c<u.length;)p(t,u[c++],u[c++],u[c++],u[c++]);if(0==u.length&&r==x){t[C]=L;try{throw new Error("Uncaught (in promise): "+o+(o&&o.stack?"\n"+o.stack:""))}catch(e){var s=e;s.rejection=o,s.promise=t,s.zone=g.current,s.task=g.currentTask,z.push(s),n()}}}}return t}function h(t){if(t[C]===L){try{var n=g[e("rejectionHandledHandler")];n&&"function"==typeof n&&n.apply(this,[{rejection:t[Z],promise:t}])}catch(t){}t[C]=x;for(var r=0;r<z.length;r++)t===z[r].promise&&z.splice(r,1)}}function p(t,e,n,r,o){h(t);var i=t[C]?"function"==typeof r?r:c:"function"==typeof o?o:s;e.scheduleMicroTask(M,function(){try{l(n,!0,e.run(i,void 0,[t[Z]]))}catch(t){l(n,!1,t)}})}function d(t){var e=t.prototype,n=e.then;e[E]=n,t.prototype.then=function(t,e){var r=this;return new H(function(t,e){n.call(r,t,e)}).then(t,e)},t[q]=!0}function v(){var t=this,e=G.apply(this,arguments);if(!e.stack)try{throw e}catch(t){e=t}var n=e.originalStack=e.stack;if(v[K]&&n){for(var r=n.split("\n"),o=O,i=0;r[i]!==B&&r[i]!==W&&i<r.length;)i++;for(;i<r.length&&o;i++){var a=r[i];if(a.trim())switch(U[a]){case 0:r.splice(i,1),i--;break;case 1:o.parent?(r[i]+=" ["+o.parent.zone.name+" => "+o.zone.name+"]",o=o.parent):o=null;break;default:r[i]+=" ["+o.zone.name+"]"}}try{e.stack=e.zoneAwareStack=r.join("\n")}catch(t){}}return this instanceof G&&this.constructor!=G?(Object.keys(e).concat("stack","message").forEach(function(n){if(void 0!==e[n])try{t[n]=e[n]}catch(t){}}),this):e}if(t.Zone)throw new Error("Zone already loaded.");var y={name:"NO ZONE"},g=function(){function e(t,e){this._properties=null,this._parent=t,this._name=e?e.name||"unnamed":"<root>",this._properties=e&&e.properties||{},this._zoneDelegate=new _(this,this._parent&&this._parent._zoneDelegate,e)}return e.assertZonePatched=function(){if(t.Promise!==H)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(e,"root",{get:function(){for(var t=e.current;t.parent;)t=t.parent;return t},enumerable:!0,configurable:!0}),Object.defineProperty(e,"current",{get:function(){return O.zone},enumerable:!0,configurable:!0}),Object.defineProperty(e,"currentTask",{get:function(){return S},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"parent",{get:function(){return this._parent},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"name",{get:function(){return this._name},enumerable:!0,configurable:!0}),e.prototype.get=function(t){var e=this.getZoneWith(t);if(e)return e._properties[t]},e.prototype.getZoneWith=function(t){for(var e=this;e;){if(e._properties.hasOwnProperty(t))return e;e=e._parent}return null},e.prototype.fork=function(t){if(!t)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,t)},e.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)}},e.prototype.run=function(t,e,n,r){void 0===e&&(e=void 0),void 0===n&&(n=null),void 0===r&&(r=null),O=new b(O,this);try{return this._zoneDelegate.invoke(this,t,e,n,r)}finally{O=O.parent}},e.prototype.runGuarded=function(t,e,n,r){void 0===e&&(e=null),void 0===n&&(n=null),void 0===r&&(r=null),O=new b(O,this);try{try{return this._zoneDelegate.invoke(this,t,e,n,r)}catch(t){if(this._zoneDelegate.handleError(this,t))throw t}}finally{O=O.parent}},e.prototype.runTask=function(t,e,n){if(t.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(t.zone||y).name+"; Execution: "+this.name+")");var r="running"!=t.state;r&&t._transitionTo("running","scheduled"),t.runCount++;var o=S;S=t,O=new b(O,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{"notScheduled"!==t.state&&"unknown"!==t.state&&("eventTask"==t.type||t.data&&t.data.isPeriodic?r&&t._transitionTo("scheduled","running"):(t.runCount=0,this._updateTaskCount(t,-1),r&&t._transitionTo("notScheduled","running","notScheduled"))),O=O.parent,S=o}},e.prototype.scheduleTask=function(t){if(t.zone&&t.zone!==this)for(var e=this;e;){if(e===t.zone)throw Error("can not reschedule task to "+this.name+" which is descendants of the original zone "+t.zone.name);e=e.parent}t._transitionTo("scheduling","notScheduled");var n=[];t._zoneDelegates=n,t._zone=this;try{t=this._zoneDelegate.scheduleTask(this,t)}catch(e){throw t._transitionTo("unknown","scheduling","notScheduled"),this._zoneDelegate.handleError(this,e),e}return t._zoneDelegates===n&&this._updateTaskCount(t,1),"scheduling"==t.state&&t._transitionTo("scheduled","scheduling"),t},e.prototype.scheduleMicroTask=function(t,e,n,r){return this.scheduleTask(new m("microTask",t,e,n,r,null))},e.prototype.scheduleMacroTask=function(t,e,n,r,o){return this.scheduleTask(new m("macroTask",t,e,n,r,o))},e.prototype.scheduleEventTask=function(t,e,n,r,o){return this.scheduleTask(new m("eventTask",t,e,n,r,o))},e.prototype.cancelTask=function(t){if(t.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(t.zone||y).name+"; Execution: "+this.name+")");t._transitionTo("canceling","scheduled","running");try{this._zoneDelegate.cancelTask(this,t)}catch(e){throw t._transitionTo("unknown","canceling"),this._zoneDelegate.handleError(this,e),e}return this._updateTaskCount(t,-1),t._transitionTo("notScheduled","canceling"),t.runCount=0,t},e.prototype._updateTaskCount=function(t,e){var n=t._zoneDelegates;e==-1&&(t._zoneDelegates=null);for(var r=0;r<n.length;r++)n[r]._updateTaskCount(t.type,e)},e}();g.__symbol__=e;var k={name:"",onHasTask:function(t,e,n,r){return t.hasTask(n,r)},onScheduleTask:function(t,e,n,r){return t.scheduleTask(n,r)},onInvokeTask:function(t,e,n,r,o,i){return t.invokeTask(n,r,o,i)},onCancelTask:function(t,e,n,r){return t.cancelTask(n,r)}},_=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._forkCurrZone=n&&(n.onFork?this.zone:e.zone),this._interceptZS=n&&(n.onIntercept?n:e._interceptZS),this._interceptDlgt=n&&(n.onIntercept?e:e._interceptDlgt),this._interceptCurrZone=n&&(n.onIntercept?this.zone:e.zone),this._invokeZS=n&&(n.onInvoke?n:e._invokeZS),this._invokeDlgt=n&&(n.onInvoke?e:e._invokeDlgt),this._invokeCurrZone=n&&(n.onInvoke?this.zone:e.zone),this._handleErrorZS=n&&(n.onHandleError?n:e._handleErrorZS),this._handleErrorDlgt=n&&(n.onHandleError?e:e._handleErrorDlgt),this._handleErrorCurrZone=n&&(n.onHandleError?this.zone:e.zone),this._scheduleTaskZS=n&&(n.onScheduleTask?n:e._scheduleTaskZS),this._scheduleTaskDlgt=n&&(n.onScheduleTask?e:e._scheduleTaskDlgt),this._scheduleTaskCurrZone=n&&(n.onScheduleTask?this.zone:e.zone),this._invokeTaskZS=n&&(n.onInvokeTask?n:e._invokeTaskZS),this._invokeTaskDlgt=n&&(n.onInvokeTask?e:e._invokeTaskDlgt),this._invokeTaskCurrZone=n&&(n.onInvokeTask?this.zone:e.zone),this._cancelTaskZS=n&&(n.onCancelTask?n:e._cancelTaskZS),this._cancelTaskDlgt=n&&(n.onCancelTask?e:e._cancelTaskDlgt),this._cancelTaskCurrZone=n&&(n.onCancelTask?this.zone:e.zone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;var r=n&&n.onHasTask,o=e&&e._hasTaskZS;(r||o)&&(this._hasTaskZS=r?n:k,this._hasTaskDlgt=e,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=t,n.onScheduleTask||(this._scheduleTaskZS=k,this._scheduleTaskDlgt=e,this._scheduleTaskCurrZone=this.zone),n.onInvokeTask||(this._invokeTaskZS=k,this._invokeTaskDlgt=e,this._invokeTaskCurrZone=this.zone),n.onCancelTask||(this._cancelTaskZS=k,this._cancelTaskDlgt=e,this._cancelTaskCurrZone=this.zone))}return t.prototype.fork=function(t,e){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,t,e):new g(t,e)},t.prototype.intercept=function(t,e,n){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,t,e,n):e},t.prototype.invoke=function(t,e,n,r,o){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,t,e,n,r,o):e.apply(n,r)},t.prototype.handleError=function(t,e){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,t,e)},t.prototype.scheduleTask=function(t,e){var n=e;if(this._scheduleTaskZS)this._hasTaskZS&&n._zoneDelegates.push(this._hasTaskDlgtOwner),(n=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,t,e))||(n=e);else if(e.scheduleFn)e.scheduleFn(e);else{if("microTask"!=e.type)throw new Error("Task is missing scheduleFn.");r(e)}return n},t.prototype.invokeTask=function(t,e,n,r){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,t,e,n,r):e.callback.apply(n,r)},t.prototype.cancelTask=function(t,e){var n;if(this._cancelTaskZS)n=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,t,e);else{if(!e.cancelFn)throw Error("Task is not cancelable");n=e.cancelFn(e)}return n},t.prototype.hasTask=function(t,e){try{return this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,t,e)}catch(t){}},t.prototype._updateTaskCount=function(t,e){var n=this._taskCounts,r=n[t],o=n[t]=r+e;if(o<0)throw new Error("More tasks executed then were scheduled.");if(0==r||0==o){var i={microTask:n.microTask>0,macroTask:n.macroTask>0,eventTask:n.eventTask>0,change:t};this.hasTask(this.zone,i)}},t}(),m=function(){function t(t,e,n,r,o,i){this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=t,this.source=e,this.data=r,this.scheduleFn=o,this.cancelFn=i,this.callback=n;var u=this;this.invoke=function(){D++;try{return u.runCount++,u.zone.runTask(u,this,arguments)}finally{1==D&&a(),D--}}}return Object.defineProperty(t.prototype,"zone",{get:function(){return this._zone},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"state",{get:function(){return this._state},enumerable:!0,configurable:!0}),t.prototype.cancelScheduleRequest=function(){this._transitionTo("notScheduled","scheduling")},t.prototype._transitionTo=function(t,e,n){if(this._state!==e&&this._state!==n)throw new Error(this.type+" '"+this.source+"': can not transition to '"+t+"', expecting state '"+e+"'"+(n?" or '"+n+"'":"")+", was '"+this._state+"'.");this._state=t,"notScheduled"==t&&(this._zoneDelegates=null)},t.prototype.toString=function(){return this.data&&void 0!==this.data.handleId?this.data.handleId:Object.prototype.toString.call(this)},t.prototype.toJSON=function(){return{type:this.type,state:this.state,source:this.source,data:this.data,zone:this.zone.name,invoke:this.invoke,scheduleFn:this.scheduleFn,cancelFn:this.cancelFn,runCount:this.runCount,callback:this.callback}},t}(),b=function(){function t(t,e){this.parent=t,this.zone=e}return t}(),T=e("setTimeout"),w=e("Promise"),E=e("then"),O=new b(null,new g(null,null)),S=null,j=[],P=!1,z=[],D=0,C=e("state"),Z=e("value"),M="Promise.then",I=null,F=!0,x=!1,L=0,R=function(){var t=!1;return function(e){return function(){t||(t=!0,e.apply(null,arguments))}}},H=function(){function t(e){var n=this;if(!(n instanceof t))throw new Error("Must be an instanceof Promise.");n[C]=I,n[Z]=[];try{e&&e(f(n,F),f(n,x))}catch(t){l(n,!1,t)}}return t.toString=function(){return"function ZoneAwarePromise() { [native code] }"},t.resolve=function(t){return l(new this(null),F,t)},t.reject=function(t){return l(new this(null),x,t)},t.race=function(t){function e(t){i&&(i=r(t))}function n(t){i&&(i=o(t))}for(var r,o,i=new this(function(t,e){n=[t,e],r=n[0],o=n[1];var n}),a=0,c=t;a<c.length;a++){var s=c[a];u(s)||(s=this.resolve(s)),s.then(e,n)}return i},t.all=function(t){for(var e,n,r=new this(function(t,r){e=t,n=r}),o=0,i=[],a=0,c=t;a<c.length;a++){var s=c[a];u(s)||(s=this.resolve(s)),s.then(function(t){return function(n){i[t]=n,--o||e(i)}}(o),n),o++}return o||e(i),r},t.prototype.then=function(t,e){var n=new this.constructor(null),r=g.current;return this[C]==I?this[Z].push(r,n,t,e):p(this,r,n,t,e),n},t.prototype.catch=function(t){return this.then(null,t)},t}();H.resolve=H.resolve,H.reject=H.reject,H.race=H.race,H.all=H.all;var A=t[w]=t.Promise;t.Promise=H;var q=e("thenPatched");if(A){d(A);var N=t.fetch;"function"==typeof N&&(t.fetch=function(t){return function(){var e=t.apply(this,arguments);if(e instanceof H)return e;var n=e.constructor;return n[q]||d(n),e}}(N))}Promise[g.__symbol__("uncaughtPromiseErrors")]=z;var B,W,X=g.__symbol__("blacklistedStackFrames"),G=t[e("Error")]=t.Error,U={};t.Error=v;var K="stackRewrite";v.prototype=G.prototype,v[X]=U,v[K]=!1;var V=["stackTraceLimit","captureStackTrace","prepareStackTrace"],J=Object.keys(G);J&&J.forEach(function(t){0===V.filter(function(e){return e===t}).length&&Object.defineProperty(v,t,{get:function(){return G[t]},set:function(e){G[t]=e}})}),G.hasOwnProperty("stackTraceLimit")&&(G.stackTraceLimit=Math.max(G.stackTraceLimit,15),Object.defineProperty(v,"stackTraceLimit",{get:function(){return G.stackTraceLimit},set:function(t){return G.stackTraceLimit=t}})),G.hasOwnProperty("captureStackTrace")&&Object.defineProperty(v,"captureStackTrace",{value:function(t,e){G.captureStackTrace(t,e)}}),Object.defineProperty(v,"prepareStackTrace",{get:function(){return G.prepareStackTrace},set:function(t){return G.prepareStackTrace=t&&"function"==typeof t?function(e,n){if(n)for(var r=0;r<n.length;r++){var o=n[r];if("zoneCaptureStackTrace"===o.getFunctionName()){n.splice(r,1);break}}return t.apply(this,[e,n])}:t}});var Q=g.current.fork({name:"detect",onInvoke:function(t,e,n,r,o,i,a){return t.invoke(n,r,o,i,a)},onHandleError:function(t,e,n,r){if(r.originalStack&&Error===v)for(var o=r.originalStack.split(/\n/),i=!1,a=!1,u=!1;o.length;){var c=o.shift();if(/:\d+:\d+/.test(c)){var s=c.split("(")[0].split("@")[0],f=1;if(s.indexOf("ZoneAwareError")!==-1&&(B=c,W=c.replace("Error.",""),U[W]=0),s.indexOf("runGuarded")!==-1?a=!0:s.indexOf("runTask")!==-1?u=!0:s.indexOf("run")!==-1?i=!0:f=0,U[c]=f,i&&a&&u){v[K]=!0;break}}}return!1}}),Y=function(){Q.run(function(){Q.runGuarded(function(){throw new v(v,G)})})};Q.runTask(Q.scheduleMacroTask("detect",Y,null,function(){return null},null)),t.Zone=g}("undefined"!=typeof window&&window||"undefined"!=typeof self&&self||u),function(t){return"__zone_symbol__"+t}),w="object"==typeof window&&window||"object"==typeof self&&self||u,E="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope,O=!("nw"in w)&&"undefined"!=typeof process&&"[object process]"==={}.toString.call(process),S=!O&&!E&&!("undefined"==typeof window||!window.HTMLElement),j="undefined"!=typeof process&&"[object process]"==={}.toString.call(process)&&!E&&!("undefined"==typeof window||!window.HTMLElement),P=T("eventTasks"),z="addEventListener",D="removeEventListener",C=function(t,e){return{useCapturing:e[2],eventName:e[0],handler:e[1],target:t||w,name:e[0],invokeAddFunc:function(t,e){return e&&e.invoke?this.target[t](this.eventName,e.invoke,this.useCapturing):this.target[t](this.eventName,e,this.useCapturing)},invokeRemoveFunc:function(t,e){return e&&e.invoke?this.target[t](this.eventName,e.invoke,this.useCapturing):this.target[t](this.eventName,e,this.useCapturing)}}},Z=(i(z,D),a(D),T("originalInstance"));Zone[T("patchEventTargetMethods")]=c,Zone[T("patchOnProperties")]=n;var M=Object[T("defineProperty")]=Object.defineProperty,I=Object[T("getOwnPropertyDescriptor")]=Object.getOwnPropertyDescriptor,F=Object.create,x=T("unconfigurables"),L="Anchor,Area,Audio,BR,Base,BaseFont,Body,Button,Canvas,Content,DList,Directory,Div,Embed,FieldSet,Font,Form,Frame,FrameSet,HR,Head,Heading,Html,IFrame,Image,Input,Keygen,LI,Label,Legend,Link,Map,Marquee,Media,Menu,Meta,Meter,Mod,OList,Object,OptGroup,Option,Output,Paragraph,Pre,Progress,Quote,Script,Select,Source,Span,Style,TableCaption,TableCell,TableCol,Table,TableRow,TableSection,TextArea,Title,Track,UList,Unknown,Video",R="ApplicationCache,EventSource,FileReader,InputMethodContext,MediaController,MessagePort,Node,Performance,SVGElementInstance,SharedWorker,TextTrack,TextTrackCue,TextTrackList,WebKitNamedFlow,Window,Worker,WorkerGlobalScope,XMLHttpRequest,XMLHttpRequestEventTarget,XMLHttpRequestUpload,IDBRequest,IDBOpenDBRequest,IDBDatabase,IDBTransaction,IDBCursor,DBIndex,WebSocket".split(","),H="EventTarget",A="copy cut paste abort blur focus canplay canplaythrough change click contextmenu dblclick drag dragend dragenter dragleave dragover dragstart drop durationchange emptied ended input invalid keydown keypress keyup load loadeddata loadedmetadata loadstart message mousedown mouseenter mouseleave mousemove mouseout mouseover mouseup pause play playing progress ratechange reset scroll seeked seeking select show stalled submit suspend timeupdate volumechange waiting mozfullscreenchange mozfullscreenerror mozpointerlockchange mozpointerlockerror error webglcontextrestored webglcontextlost webglcontextcreationerror".split(" "),q=T("unbound"),N=["alert","prompt","confirm"],B="undefined"!=typeof window&&window||"undefined"!=typeof self&&self||u;p(B,"set","clear","Timeout"),p(B,"set","clear","Interval"),p(B,"set","clear","Immediate"),p(B,"request","cancel","AnimationFrame"),p(B,"mozRequest","mozCancel","AnimationFrame"),p(B,"webkitRequest","webkitCancel","AnimationFrame");for(var W=0;W<N.length;W++){var X=N[W];l(B,X,function(t,e,n){return function(e,r){return Zone.current.run(t,B,r,n)}})}!function(t){var e=[];t.wtf?e=L.split(",").map(function(t){return"HTML"+t+"Element"}).concat(R):t[H]?e.push(H):e=R;for(var n=0;n<e.length;n++){var r=t[e[n]];c(r&&r.prototype)}}(B);var G=B.XMLHttpRequestEventTarget;G&&G.prototype&&c(G.prototype),function(t){if(!O||j){var e="undefined"!=typeof WebSocket;_()?(S&&(n(window,A),n(Document.prototype,A),"undefined"!=typeof SVGElement&&n(SVGElement.prototype,A),n(HTMLElement.prototype,A)),n(XMLHttpRequest.prototype,null),"undefined"!=typeof IDBIndex&&(n(IDBIndex.prototype,null),n(IDBRequest.prototype,null),n(IDBOpenDBRequest.prototype,null),n(IDBDatabase.prototype,null),n(IDBTransaction.prototype,null),n(IDBCursor.prototype,null)),e&&n(WebSocket.prototype,null)):(m(),s("XMLHttpRequest"),e&&k(t))}}(B),s("MutationObserver"),s("WebKitMutationObserver"),s("FileReader"),function(){Object.defineProperty=function(t,e,n){if(v(t,e))throw new TypeError("Cannot assign to read only property '"+e+"' of "+t);var r=n.configurable;return"prototype"!==e&&(n=y(t,e,n)),g(t,e,n,r)},Object.defineProperties=function(t,e){return Object.keys(e).forEach(function(n){Object.defineProperty(t,n,e[n])}),t},Object.create=function(t,e){return"object"!=typeof e||Object.isFrozen(e)||Object.keys(e).forEach(function(n){e[n]=y(t,n,e[n])}),F(t,e)},Object.getOwnPropertyDescriptor=function(t,e){var n=I(t,e);return v(t,e)&&(n.configurable=!1),n}}(),function(t){if((S||j)&&"registerElement"in t.document){var e=document.registerElement,n=["createdCallback","attachedCallback","detachedCallback","attributeChangedCallback"];document.registerElement=function(t,r){return r&&r.prototype&&n.forEach(function(t){var e="Document.registerElement::"+t;if(r.prototype.hasOwnProperty(t)){var n=Object.getOwnPropertyDescriptor(r.prototype,t);n&&n.value?(n.value=Zone.current.wrap(n.value,e),d(r.prototype,t,n)):r.prototype[t]=Zone.current.wrap(r.prototype[t],e)}else r.prototype[t]&&(r.prototype[t]=Zone.current.wrap(r.prototype[t],e))}),e.apply(document,[t,r])}}}(B),function(t){function e(t){return t[U]}function n(t){XMLHttpRequest[J]=!1;var e=t.data,n=e.target[V];n&&e.target.removeEventListener("readystatechange",n);var r=e.target[V]=function(){e.target.readyState===e.target.DONE&&!e.aborted&&XMLHttpRequest[J]&&"scheduled"===t.state&&t.invoke()};return e.target.addEventListener("readystatechange",r),e.target[U]||(e.target[U]=t),a.apply(e.target,e.args),XMLHttpRequest[J]=!0,t}function r(){}function o(t){var e=t.data;return e.aborted=!0,u.apply(e.target,e.args)}var i=l(t.XMLHttpRequest.prototype,"open",function(){return function(t,e){return t[K]=0==e[2],i.apply(t,e)}}),a=l(t.XMLHttpRequest.prototype,"send",function(){return function(t,e){var i=Zone.current;if(t[K])return a.apply(t,e);var u={target:t,isPeriodic:!1,delay:null,args:e,aborted:!1};return i.scheduleMacroTask("XMLHttpRequest.send",r,u,n,o)}}),u=l(t.XMLHttpRequest.prototype,"abort",function(t){return function(t,n){var r=e(t);if(r&&"string"==typeof r.type){if(null==r.cancelFn||r.data&&r.data.aborted)return;r.zone.cancelTask(r)}}})}(B);var U=T("xhrTask"),K=T("xhrSync"),V=T("xhrListener"),J=T("xhrScheduled");B.navigator&&B.navigator.geolocation&&function(e,n){for(var r=e.constructor.name,o=0;o<n.length;o++)!function(o){var i=n[o],a=e[i];a&&(e[i]=function(e){return function(){return e.apply(this,t(arguments,r+"."+i))}}(a))}(o)}(B.navigator.geolocation,["getCurrentPosition","watchPosition"]),B.PromiseRejectionEvent&&(Zone[T("unhandledPromiseRejectionHandler")]=b("unhandledrejection"),Zone[T("rejectionHandledHandler")]=b("rejectionhandled"))})});t.__moduleExports=Mo}(this.MyBundle=this.MyBundle||{});