From d9c3b19768906f0385b4b20b93058b79b08f430a Mon Sep 17 00:00:00 2001 From: Dan Bucholtz Date: Fri, 16 Sep 2016 17:39:20 -0500 Subject: [PATCH] chore(build): add main.html files add main.html files --- .gitignore | 4 +- demos/polyfills/README.md | 56 +++++++++++++++++ demos/polyfills/polyfills.js | 3 + demos/polyfills/polyfills.modern.js | 3 + demos/polyfills/polyfills.ng.js | 2 + demos/src/action-sheet/main.html | 16 +++++ demos/src/alert/main.html | 16 +++++ demos/src/app.core.scss | 0 demos/src/app.ios.scss | 1 - demos/src/app.md.scss | 1 - demos/src/app.variables.local.scss | 2 - demos/src/app.variables.production.scss | 2 - demos/src/app.variables.scss | 31 ---------- demos/src/app.wp.scss | 1 - demos/src/button/main.html | 16 +++++ demos/src/checkbox/main.html | 16 +++++ demos/src/chip/main.html | 16 +++++ demos/src/config/main.html | 16 +++++ demos/src/datetime/main.html | 16 +++++ demos/src/events/main.html | 16 +++++ demos/src/hide-when/main.html | 16 +++++ demos/src/icon/main.html | 16 +++++ demos/src/infinite-scroll/main.html | 16 +++++ demos/src/input/main.html | 16 +++++ demos/src/item-reorder/main.html | 16 +++++ demos/src/item-sliding/main.html | 16 +++++ demos/src/item/main.html | 16 +++++ demos/src/label/main.html | 16 +++++ demos/src/list/main.html | 16 +++++ demos/src/loading/main.html | 17 ++++++ demos/src/loading/{styles.css => style.css} | 0 demos/src/local-storage/main.html | 16 +++++ demos/src/menu/main.html | 16 +++++ demos/src/modal/main.html | 16 +++++ demos/src/nav-params/main.html | 16 +++++ demos/src/navbar/main.html | 16 +++++ demos/src/navigation/main.html | 16 +++++ demos/src/output.ios.scss | 36 ----------- demos/src/output.md.scss | 36 ----------- demos/src/output.wp.scss | 36 ----------- demos/src/platform/main.html | 16 +++++ demos/src/popover/main.html | 17 ++++++ demos/src/radio/main.html | 16 +++++ demos/src/range/main.html | 16 +++++ demos/src/refresher/main.html | 16 +++++ demos/src/scroll/main.html | 16 +++++ demos/src/scrollbar-fix.js | 45 -------------- demos/src/searchbar/main.html | 16 +++++ demos/src/segment/main.html | 16 +++++ demos/src/select/main.html | 16 +++++ demos/src/show-when/main.html | 16 +++++ demos/src/slides/main.html | 16 +++++ demos/src/tabs/main.html | 17 ++++++ demos/src/textarea/main.html | 16 +++++ demos/src/title/main.html | 16 +++++ demos/src/toast/main.html | 16 +++++ demos/src/toggle/main.html | 16 +++++ demos/src/toolbar/main.html | 16 +++++ demos/tsconfig.json | 2 +- scripts/gulp/declarations.d.ts | 1 + scripts/gulp/tasks/demos.ts | 67 ++++++++++++++++----- scripts/gulp/tasks/e2e.ts | 2 +- 62 files changed, 781 insertions(+), 209 deletions(-) create mode 100644 demos/polyfills/README.md create mode 100644 demos/polyfills/polyfills.js create mode 100644 demos/polyfills/polyfills.modern.js create mode 100644 demos/polyfills/polyfills.ng.js create mode 100644 demos/src/action-sheet/main.html create mode 100644 demos/src/alert/main.html delete mode 100644 demos/src/app.core.scss delete mode 100644 demos/src/app.ios.scss delete mode 100644 demos/src/app.md.scss delete mode 100644 demos/src/app.variables.local.scss delete mode 100644 demos/src/app.variables.production.scss delete mode 100644 demos/src/app.variables.scss delete mode 100644 demos/src/app.wp.scss create mode 100644 demos/src/button/main.html create mode 100644 demos/src/checkbox/main.html create mode 100644 demos/src/chip/main.html create mode 100644 demos/src/config/main.html create mode 100644 demos/src/datetime/main.html create mode 100644 demos/src/events/main.html create mode 100644 demos/src/hide-when/main.html create mode 100644 demos/src/icon/main.html create mode 100644 demos/src/infinite-scroll/main.html create mode 100644 demos/src/input/main.html create mode 100644 demos/src/item-reorder/main.html create mode 100644 demos/src/item-sliding/main.html create mode 100644 demos/src/item/main.html create mode 100644 demos/src/label/main.html create mode 100644 demos/src/list/main.html create mode 100644 demos/src/loading/main.html rename demos/src/loading/{styles.css => style.css} (100%) create mode 100644 demos/src/local-storage/main.html create mode 100644 demos/src/menu/main.html create mode 100644 demos/src/modal/main.html create mode 100644 demos/src/nav-params/main.html create mode 100644 demos/src/navbar/main.html create mode 100644 demos/src/navigation/main.html delete mode 100644 demos/src/output.ios.scss delete mode 100644 demos/src/output.md.scss delete mode 100644 demos/src/output.wp.scss create mode 100644 demos/src/platform/main.html create mode 100644 demos/src/popover/main.html create mode 100644 demos/src/radio/main.html create mode 100644 demos/src/range/main.html create mode 100644 demos/src/refresher/main.html create mode 100644 demos/src/scroll/main.html delete mode 100644 demos/src/scrollbar-fix.js create mode 100644 demos/src/searchbar/main.html create mode 100644 demos/src/segment/main.html create mode 100644 demos/src/select/main.html create mode 100644 demos/src/show-when/main.html create mode 100644 demos/src/slides/main.html create mode 100644 demos/src/tabs/main.html create mode 100644 demos/src/textarea/main.html create mode 100644 demos/src/title/main.html create mode 100644 demos/src/toast/main.html create mode 100644 demos/src/toggle/main.html create mode 100644 demos/src/toolbar/main.html diff --git a/.gitignore b/.gitignore index ed648b0dc7..f3ca8f3ca8 100644 --- a/.gitignore +++ b/.gitignore @@ -31,7 +31,9 @@ scripts/build/e2e-generated-tsconfig.json # demo stuff demos/node_modules -demos/src/**/*.js +demos/css +demos/fonts +demos/src/**/*.js* demos/src/**/*.ngfactory.ts demos/src/**/*.d.ts demos/src/**/*.metadata.json diff --git a/demos/polyfills/README.md b/demos/polyfills/README.md new file mode 100644 index 0000000000..0ecf45b8d6 --- /dev/null +++ b/demos/polyfills/README.md @@ -0,0 +1,56 @@ +## polyfills.js + +Contains all polyfills needed to work on the largest range of devices. This is the default polyfill. + +### Targets: + +- Android 4.4.2 and above +- iOS back to iOS 8 + +### Includes: + +- All ES6 features +- zone.js +- ES7 reflection + + +## polyfills.modern.js + +A limited of set of polyfills to work on more modern browsers. This file limits the number of ES6 polyfills which are already natively included in modern browsers. + +### Targets: + +- Android 5.0 and above +- iOS 9 and above + +### Includes: + +- zone.js +- ES7 reflection, +- ES6 polyfills, except for: + +new regexp features, +math features, +symbols, +typed arrays, +weak maps / weak sets + + +## polyfills.ng.js + +Only the required polyfill for Angular 2. This does not come with any ES6 polyfills. Note that all polyfill files listed here included the required polyfills for Angular 2 to work correctly. + +### Targets: + +- Android 5.0 and above +- iOS 10 and above + +### Includes: + +- zone.js +- ES7 reflection + + +## ECMAScript 6 Compatibility + +To easily judge which polyfill you may need you can check this [ES6 support table](https://kangax.github.io/compat-table/es6/). diff --git a/demos/polyfills/polyfills.js b/demos/polyfills/polyfills.js new file mode 100644 index 0000000000..294a5957b1 --- /dev/null +++ b/demos/polyfills/polyfills.js @@ -0,0 +1,3 @@ +!function(t){"use strict";function n(t,n){return n={exports:{}},t(n,n.exports),n.exports}var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},r=n(function(t){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)}),o=n(function(t){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}}),i=n(function(t){t.exports=function(t){try{return!!t()}catch(t){return!0}}}),u=n(function(t){t.exports=!i(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})}),c=n(function(t){var n=t.exports={version:"2.4.0"};"number"==typeof __e&&(__e=n)}),a=n(function(t){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}}),f=n(function(t){var n=a;t.exports=function(t){if(!n(t))throw TypeError(t+" is not an object!");return t}}),s=n(function(t){var n=a,e=r.document,o=n(e)&&n(e.createElement);t.exports=function(t){return o?e.createElement(t):{}}}),l=n(function(t){t.exports=!u&&!i(function(){return 7!=Object.defineProperty(s("div"),"a",{get:function(){return 7}}).a})}),h=n(function(t){var n=a;t.exports=function(t,e){if(!n(t))return t;var r,o;if(e&&"function"==typeof(r=t.toString)&&!n(o=r.call(t)))return o;if("function"==typeof(r=t.valueOf)&&!n(o=r.call(t)))return o;if(!e&&"function"==typeof(r=t.toString)&&!n(o=r.call(t)))return o;throw TypeError("Can't convert object to primitive value")}}),p=n(function(t,n){var e=f,r=l,o=h,i=Object.defineProperty;n.f=u?Object.defineProperty:function(t,n,u){if(e(t),n=o(n,!0),e(u),r)try{return i(t,n,u)}catch(t){}if("get"in u||"set"in u)throw TypeError("Accessors not supported!");return"value"in u&&(t[n]=u.value),t}}),v=n(function(t){t.exports=function(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}}}),d=n(function(t){var n=p,e=v;t.exports=u?function(t,r,o){return n.f(t,r,e(1,o))}:function(t,n,e){return t[n]=e,t}}),g=n(function(t){var n=0,e=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+e).toString(36))}}),y=n(function(t){var n=r,e=d,i=o,u=g("src"),a="toString",f=Function[a],s=(""+f).split(a);c.inspectSource=function(t){return f.call(t)},(t.exports=function(t,r,o,c){var a="function"==typeof o;a&&(i(o,"name")||e(o,"name",r)),t[r]!==o&&(a&&(i(o,u)||e(o,u,t[r]?""+t[r]:s.join(String(r)))),t===n?t[r]=o:c?t[r]?t[r]=o:e(t,r,o):(delete t[r],e(t,r,o)))})(Function.prototype,a,function(){return"function"==typeof this&&this[u]||f.call(this)})}),b=n(function(t){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}}),m=n(function(t){var n=b;t.exports=function(t,e,r){if(n(t),void 0===e)return t;switch(r){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)}}}),w=n(function(t){var n=r,e=c,o=d,i=y,u=m,a="prototype",f=function(t,r,c){var s,l,h,p,v=t&f.F,d=t&f.G,g=t&f.S,y=t&f.P,b=t&f.B,m=d?n:g?n[r]||(n[r]={}):(n[r]||{})[a],w=d?e:e[r]||(e[r]={}),_=w[a]||(w[a]={});d&&(c=r);for(s in c)l=!v&&m&&void 0!==m[s],h=(l?m:c)[s],p=b&&l?u(h,n):y&&"function"==typeof h?u(Function.call,h):h,m&&i(m,s,h,t&f.U),w[s]!=h&&o(w,s,p),y&&_[s]!=h&&(_[s]=h)};n.core=e,f.F=1,f.G=2,f.S=4,f.P=8,f.B=16,f.W=32,f.U=64,f.R=128,t.exports=f}),_=n(function(t){var n=g("meta"),e=a,r=o,u=p.f,c=0,f=Object.isExtensible||function(){return!0},s=!i(function(){return f(Object.preventExtensions({}))}),l=function(t){u(t,n,{value:{i:"O"+ ++c,w:{}}})},h=function(t,o){if(!e(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!r(t,n)){if(!f(t))return"F";if(!o)return"E";l(t)}return t[n].i},v=function(t,e){if(!r(t,n)){if(!f(t))return!0;if(!e)return!1;l(t)}return t[n].w},d=function(t){return s&&y.NEED&&f(t)&&!r(t,n)&&l(t),t},y=t.exports={KEY:n,NEED:!1,fastKey:h,getWeak:v,onFreeze:d}}),S=n(function(t){var n=r,e="__core-js_shared__",o=n[e]||(n[e]={});t.exports=function(t){return o[t]||(o[t]={})}}),k=n(function(t){var n=S("wks"),e=g,o=r.Symbol,i="function"==typeof o,u=t.exports=function(t){return n[t]||(n[t]=i&&o[t]||(i?o:e)("Symbol."+t))};u.store=n}),x=n(function(t){var n=p.f,e=o,r=k("toStringTag");t.exports=function(t,o,i){t&&!e(t=i?t:t.prototype,r)&&n(t,r,{configurable:!0,value:o})}}),E=n(function(t,n){n.f=k}),T=n(function(t){t.exports=!1}),O=n(function(t){var n=r,e=c,o=T,i=E,u=p.f;t.exports=function(t){var r=e.Symbol||(e.Symbol=o?{}:n.Symbol||{});"_"==t.charAt(0)||t in r||u(r,t,{value:i.f(t)})}}),F=n(function(t){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}}),P=n(function(t){var n=F;t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==n(t)?t.split(""):Object(t)}}),M=n(function(t){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}}),j=n(function(t){var n=P,e=M;t.exports=function(t){return n(e(t))}}),I=n(function(t){var n=Math.ceil,e=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?e:n)(t)}}),A=n(function(t){var n=I,e=Math.min;t.exports=function(t){return t>0?e(n(t),9007199254740991):0}}),D=n(function(t){var n=I,e=Math.max,r=Math.min;t.exports=function(t,o){return t=n(t),t<0?e(t+o,0):r(t,o)}}),N=n(function(t){var n=j,e=A,r=D;t.exports=function(t){return function(o,i,u){var c,a=n(o),f=e(a.length),s=r(u,f);if(t&&i!=i){for(;f>s;)if(c=a[s++],c!=c)return!0}else for(;f>s;s++)if((t||s in a)&&a[s]===i)return t||s||0;return!t&&-1}}}),R=n(function(t){var n=S("keys"),e=g;t.exports=function(t){return n[t]||(n[t]=e(t))}}),C=n(function(t){var n=o,e=j,r=N(!1),i=R("IE_PROTO");t.exports=function(t,o){var u,c=e(t),a=0,f=[];for(u in c)u!=i&&n(c,u)&&f.push(u);for(;o.length>a;)n(c,u=o[a++])&&(~r(f,u)||f.push(u));return f}}),z=n(function(t){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")}),L=n(function(t){var n=C,e=z;t.exports=Object.keys||function(t){return n(t,e)}}),Z=n(function(t){var n=L,e=j;t.exports=function(t,r){for(var o,i=e(t),u=n(i),c=u.length,a=0;c>a;)if(i[o=u[a++]]===r)return o}}),W=n(function(t,n){n.f=Object.getOwnPropertySymbols}),B=n(function(t,n){n.f={}.propertyIsEnumerable}),U=n(function(t){var n=L,e=W,r=B;t.exports=function(t){var o=n(t),i=e.f;if(i)for(var u,c=i(t),a=r.f,f=0;c.length>f;)a.call(t,u=c[f++])&&o.push(u);return o}}),H=n(function(t){var n=F;t.exports=Array.isArray||function(t){return"Array"==n(t)}}),q=n(function(t){var n=p,e=f,r=L;t.exports=u?Object.defineProperties:function(t,o){e(t);for(var i,u=r(o),c=u.length,a=0;c>a;)n.f(t,i=u[a++],o[i]);return t}}),V=n(function(t){t.exports=r.document&&document.documentElement}),G=n(function(t){var n=f,e=q,r=z,o=R("IE_PROTO"),i=function(){},u="prototype",c=function(){var t,n=s("iframe"),e=r.length,o="<",i=">";for(n.style.display="none",V.appendChild(n),n.src="javascript:",t=n.contentWindow.document,t.open(),t.write(o+"script"+i+"document.F=Object"+o+"/script"+i),t.close(),c=t.F;e--;)delete c[u][r[e]];return c()};t.exports=Object.create||function(t,r){var a;return null!==t?(i[u]=n(t),a=new i,i[u]=null,a[o]=t):a=c(),void 0===r?a:e(a,r)}}),X=n(function(t,n){var e=C,r=z.concat("length","prototype");n.f=Object.getOwnPropertyNames||function(t){return e(t,r)}}),K=n(function(t){var n=j,e=X.f,r={}.toString,o="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],i=function(t){try{return e(t)}catch(t){return o.slice()}};t.exports.f=function(t){return o&&"[object Window]"==r.call(t)?i(t):e(n(t))}}),Y=n(function(t,n){var e=B,r=v,i=j,c=h,a=o,f=l,s=Object.getOwnPropertyDescriptor;n.f=u?s:function(t,n){if(t=i(t),n=c(n,!0),f)try{return s(t,n)}catch(t){}if(a(t,n))return r(!e.f.call(t,n),t[n])}}),J=(n(function(t){var n=r,e=o,c=u,a=w,s=y,l=_.KEY,b=i,m=S,F=x,P=g,M=k,I=E,A=O,D=Z,N=U,R=H,C=f,z=j,q=h,V=v,J=G,Q=K,$=Y,tt=p,nt=L,et=$.f,rt=tt.f,ot=Q.f,it=n.Symbol,ut=n.JSON,ct=ut&&ut.stringify,at="prototype",ft=M("_hidden"),st=M("toPrimitive"),lt={}.propertyIsEnumerable,ht=m("symbol-registry"),pt=m("symbols"),vt=m("op-symbols"),dt=Object[at],gt="function"==typeof it,yt=n.QObject,bt=!yt||!yt[at]||!yt[at].findChild,mt=c&&b(function(){return 7!=J(rt({},"a",{get:function(){return rt(this,"a",{value:7}).a}})).a})?function(t,n,e){var r=et(dt,n);r&&delete dt[n],rt(t,n,e),r&&t!==dt&&rt(dt,n,r)}:rt,wt=function(t){var n=pt[t]=J(it[at]);return n._k=t,n},_t=gt&&"symbol"==typeof it.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof it},St=function(t,n,r){return t===dt&&St(vt,n,r),C(t),n=q(n,!0),C(r),e(pt,n)?(r.enumerable?(e(t,ft)&&t[ft][n]&&(t[ft][n]=!1),r=J(r,{enumerable:V(0,!1)})):(e(t,ft)||rt(t,ft,V(1,{})),t[ft][n]=!0),mt(t,n,r)):rt(t,n,r)},kt=function(t,n){C(t);for(var e,r=N(n=z(n)),o=0,i=r.length;i>o;)St(t,e=r[o++],n[e]);return t},xt=function(t,n){return void 0===n?J(t):kt(J(t),n)},Et=function(t){var n=lt.call(this,t=q(t,!0));return!(this===dt&&e(pt,t)&&!e(vt,t))&&(!(n||!e(this,t)||!e(pt,t)||e(this,ft)&&this[ft][t])||n)},Tt=function(t,n){if(t=z(t),n=q(n,!0),t!==dt||!e(pt,n)||e(vt,n)){var r=et(t,n);return!r||!e(pt,n)||e(t,ft)&&t[ft][n]||(r.enumerable=!0),r}},Ot=function(t){for(var n,r=ot(z(t)),o=[],i=0;r.length>i;)e(pt,n=r[i++])||n==ft||n==l||o.push(n);return o},Ft=function(t){for(var n,r=t===dt,o=ot(r?vt:z(t)),i=[],u=0;o.length>u;)!e(pt,n=o[u++])||r&&!e(dt,n)||i.push(pt[n]);return i};gt||(it=function(){if(this instanceof it)throw TypeError("Symbol is not a constructor!");var t=P(arguments.length>0?arguments[0]:void 0),n=function(r){this===dt&&n.call(vt,r),e(this,ft)&&e(this[ft],t)&&(this[ft][t]=!1),mt(this,t,V(1,r))};return c&&bt&&mt(dt,t,{configurable:!0,set:n}),wt(t)},s(it[at],"toString",function(){return this._k}),$.f=Tt,tt.f=St,X.f=Q.f=Ot,B.f=Et,W.f=Ft,c&&!T&&s(dt,"propertyIsEnumerable",Et,!0),I.f=function(t){return wt(M(t))}),a(a.G+a.W+a.F*!gt,{Symbol:it});for(var Pt="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),Mt=0;Pt.length>Mt;)M(Pt[Mt++]);for(var Pt=nt(M.store),Mt=0;Pt.length>Mt;)A(Pt[Mt++]);a(a.S+a.F*!gt,"Symbol",{for:function(t){return e(ht,t+="")?ht[t]:ht[t]=it(t)},keyFor:function(t){if(_t(t))return D(ht,t);throw TypeError(t+" is not a symbol!")},useSetter:function(){bt=!0},useSimple:function(){bt=!1}}),a(a.S+a.F*!gt,"Object",{create:xt,defineProperty:St,defineProperties:kt,getOwnPropertyDescriptor:Tt,getOwnPropertyNames:Ot,getOwnPropertySymbols:Ft}),ut&&a(a.S+a.F*(!gt||b(function(){var t=it();return"[null]"!=ct([t])||"{}"!=ct({a:t})||"{}"!=ct(Object(t))})),"JSON",{stringify:function(t){if(void 0!==t&&!_t(t)){for(var n,e,r=[t],o=1;arguments.length>o;)r.push(arguments[o++]);return n=r[1],"function"==typeof n&&(e=n),!e&&R(n)||(n=function(t,n){if(e&&(n=e.call(this,t,n)),!_t(n))return n}),r[1]=n,ct.apply(ut,r)}}}),it[at][st]||d(it[at],st,it[at].valueOf),F(it,"Symbol"),F(Math,"Math",!0),F(n.JSON,"JSON",!0)}),n(function(t){var n=w;n(n.S,"Object",{create:G})}),n(function(t){var n=w;n(n.S+n.F*!u,"Object",{defineProperty:p.f})}),n(function(t){var n=w;n(n.S+n.F*!u,"Object",{defineProperties:q})}),n(function(t){var n=w,e=c,r=i;t.exports=function(t,o){var i=(e.Object||{})[t]||Object[t],u={};u[t]=o(i),n(n.S+n.F*r(function(){i(1)}),"Object",u)}})),Q=(n(function(t){var n=j,e=Y.f;J("getOwnPropertyDescriptor",function(){return function(t,r){return e(n(t),r)}})}),n(function(t){var n=M;t.exports=function(t){return Object(n(t))}})),$=n(function(t){var n=o,e=Q,r=R("IE_PROTO"),i=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=e(t),n(t,r)?t[r]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?i:null}}),tt=(n(function(t){var n=Q,e=$;J("getPrototypeOf",function(){return function(t){return e(n(t))}})}),n(function(t){var n=Q,e=L;J("keys",function(){return function(t){return e(n(t))}})}),n(function(t){J("getOwnPropertyNames",function(){return K.f})}),n(function(t){var n=a,e=_.onFreeze;J("freeze",function(t){return function(r){return t&&n(r)?t(e(r)):r}})}),n(function(t){var n=a,e=_.onFreeze;J("seal",function(t){return function(r){return t&&n(r)?t(e(r)):r}})}),n(function(t){var n=a,e=_.onFreeze;J("preventExtensions",function(t){return function(r){return t&&n(r)?t(e(r)):r}})}),n(function(t){var n=a;J("isFrozen",function(t){return function(e){return!n(e)||!!t&&t(e)}})}),n(function(t){var n=a;J("isSealed",function(t){return function(e){return!n(e)||!!t&&t(e)}})}),n(function(t){var n=a;J("isExtensible",function(t){return function(e){return!!n(e)&&(!t||t(e))}})}),n(function(t){var n=L,e=W,r=B,o=Q,u=P,c=Object.assign;t.exports=!c||i(function(){var t={},n={},e=Symbol(),r="abcdefghijklmnopqrst";return t[e]=7,r.split("").forEach(function(t){n[t]=t}),7!=c({},t)[e]||Object.keys(c({},n)).join("")!=r})?function(t,i){for(var c=o(t),a=arguments.length,f=1,s=e.f,l=r.f;a>f;)for(var h,p=u(arguments[f++]),v=s?n(p).concat(s(p)):n(p),d=v.length,g=0;d>g;)l.call(p,h=v[g++])&&(c[h]=p[h]);return c}:c})),nt=(n(function(t){var n=w;n(n.S+n.F,"Object",{assign:tt})}),n(function(t){t.exports=Object.is||function(t,n){return t===n?0!==t||1/t===1/n:t!=t&&n!=n}})),et=(n(function(t){var n=w;n(n.S,"Object",{is:nt})}),n(function(t){var n=a,e=f,r=function(t,r){if(e(t),!n(r)&&null!==r)throw TypeError(r+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,n,e){try{e=m(Function.call,Y.f(Object.prototype,"__proto__").set,2),e(t,[]),n=!(t instanceof Array)}catch(t){n=!0}return function(t,o){return r(t,o),n?t.__proto__=o:e(t,o),t}}({},!1):void 0),check:r}})),rt=(n(function(t){var n=w;n(n.S,"Object",{setPrototypeOf:et.set})}),n(function(t){var n=F,e=k("toStringTag"),r="Arguments"==n(function(){return arguments}()),o=function(t,n){try{return t[n]}catch(t){}};t.exports=function(t){var i,u,c;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(u=o(i=Object(t),e))?u:r?n(i):"Object"==(c=n(i))&&"function"==typeof i.callee?"Arguments":c}})),ot=(n(function(t){var n=rt,e={};e[k("toStringTag")]="z",e+""!="[object z]"&&y(Object.prototype,"toString",function(){return"[object "+n(this)+"]"},!0)}),n(function(t){t.exports=function(t,n,e){var r=void 0===e;switch(n.length){case 0:return r?t():t.call(e);case 1:return r?t(n[0]):t.call(e,n[0]);case 2:return r?t(n[0],n[1]):t.call(e,n[0],n[1]);case 3:return r?t(n[0],n[1],n[2]):t.call(e,n[0],n[1],n[2]);case 4:return r?t(n[0],n[1],n[2],n[3]):t.call(e,n[0],n[1],n[2],n[3])}return t.apply(e,n)}})),it=n(function(t){var n=b,e=a,r=ot,o=[].slice,i={},u=function(t,n,e){if(!(n in i)){for(var r=[],o=0;o>>0||(i.test(o)?16:10))}:n}),ft=(n(function(t){var n=w,e=at;n(n.G+n.F*(parseInt!=e),{parseInt:e})}),n(function(t){var n=r.parseFloat,e=ct.trim;t.exports=1/n(ut+"-0")!==-(1/0)?function(t){var r=e(String(t),3),o=n(r);return 0===o&&"-"==r.charAt(0)?-0:o}:n})),st=(n(function(t){var n=w,e=ft;n(n.G+n.F*(parseFloat!=e),{parseFloat:e})}),n(function(t){var n=a,e=et.set;t.exports=function(t,r,o){var i,u=r.constructor;return u!==o&&"function"==typeof u&&(i=u.prototype)!==o.prototype&&n(i)&&e&&e(t,i),t}})),lt=(n(function(t){var n=r,e=o,c=F,a=st,f=h,s=i,l=X.f,v=Y.f,d=p.f,g=ct.trim,b="Number",m=n[b],w=m,_=m.prototype,S=c(G(_))==b,k="trim"in String.prototype,x=function(t){var n=f(t,!1);if("string"==typeof n&&n.length>2){n=k?n.trim():g(n,3);var e,r,o,i=n.charCodeAt(0);if(43===i||45===i){if(e=n.charCodeAt(2),88===e||120===e)return NaN}else if(48===i){switch(n.charCodeAt(1)){case 66:case 98:r=2,o=49;break;case 79:case 111:r=8,o=55;break;default:return+n}for(var u,c=n.slice(2),a=0,s=c.length;ao)return NaN;return parseInt(c,r)}}return+n};if(!m(" 0o1")||!m("0b1")||m("+0x1")){m=function(t){var n=arguments.length<1?0:t,e=this;return e instanceof m&&(S?s(function(){_.valueOf.call(e)}):c(e)!=b)?a(new w(x(n)),e,m):x(n)};for(var E,T=u?l(w):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),O=0;T.length>O;O++)e(w,E=T[O])&&!e(m,E)&&d(m,E,v(w,E));m.prototype=_,_.constructor=m,y(n,b,m)}}),n(function(t){var n=F;t.exports=function(t,e){if("number"!=typeof t&&"Number"!=n(t))throw TypeError(e);return+t}})),ht=n(function(t){var n=I,e=M;t.exports=function(t){var r=String(e(this)),o="",i=n(t);if(i<0||i==1/0)throw RangeError("Count can't be negative");for(;i>0;(i>>>=1)&&(r+=r))1&i&&(o+=r);return o}}),pt=(n(function(t){var n=w,e=I,r=lt,o=ht,u=1..toFixed,c=Math.floor,a=[0,0,0,0,0,0],f="Number.toFixed: incorrect invocation!",s="0",l=function(t,n){for(var e=-1,r=n;++e<6;)r+=t*a[e],a[e]=r%1e7,r=c(r/1e7)},h=function(t){for(var n=6,e=0;--n>=0;)e+=a[n],a[n]=c(e/t),e=e%t*1e7},p=function(){for(var t=6,n="";--t>=0;)if(""!==n||0===t||0!==a[t]){var e=String(a[t]);n=""===n?e:n+o.call(s,7-e.length)+e}return n},v=function(t,n,e){return 0===n?e:n%2===1?v(t,n-1,e*t):v(t*t,n/2,e)},d=function(t){for(var n=0,e=t;e>=4096;)n+=12,e/=4096;for(;e>=2;)n+=1,e/=2;return n};n(n.P+n.F*(!!u&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!i(function(){u.call({})})),"Number",{toFixed:function(t){var n,i,u,c,a=r(this,f),g=e(t),y="",b=s;if(g<0||g>20)throw RangeError(f);if(a!=a)return"NaN";if(a<=-1e21||a>=1e21)return String(a);if(a<0&&(y="-",a=-a),a>1e-21)if(n=d(a*v(2,69,1))-69,i=n<0?a*v(2,-n,1):a/v(2,n,1),i*=4503599627370496,n=52-n,n>0){for(l(0,i),u=g;u>=7;)l(1e7,0),u-=7;for(l(v(10,u,1),0),u=n-1;u>=23;)h(1<<23),u-=23;h(1<0?(c=b.length,b=y+(c<=g?"0."+o.call(s,g-c)+b:b.slice(0,c-g)+"."+b.slice(c-g))):b=y+b,b}})}),n(function(t){var n=w,e=i,r=lt,o=1..toPrecision;n(n.P+n.F*(e(function(){return"1"!==o.call(1,void 0)})||!e(function(){o.call({})})),"Number",{toPrecision:function(t){var n=r(this,"Number#toPrecision: incorrect invocation!");return void 0===t?o.call(n):o.call(n,t)}})}),n(function(t){var n=w;n(n.S,"Number",{EPSILON:Math.pow(2,-52)})}),n(function(t){var n=w,e=r.isFinite;n(n.S,"Number",{isFinite:function(t){return"number"==typeof t&&e(t)}})}),n(function(t){var n=a,e=Math.floor;t.exports=function(t){return!n(t)&&isFinite(t)&&e(t)===t}})),vt=(n(function(t){var n=w;n(n.S,"Number",{isInteger:pt})}),n(function(t){var n=w;n(n.S,"Number",{isNaN:function(t){return t!=t}})}),n(function(t){var n=w,e=pt,r=Math.abs;n(n.S,"Number",{isSafeInteger:function(t){return e(t)&&r(t)<=9007199254740991}})}),n(function(t){var n=w;n(n.S,"Number",{MAX_SAFE_INTEGER:9007199254740991})}),n(function(t){var n=w;n(n.S,"Number",{MIN_SAFE_INTEGER:-9007199254740991})}),n(function(t){var n=w,e=ft;n(n.S+n.F*(Number.parseFloat!=e),"Number",{parseFloat:e})}),n(function(t){var n=w,e=at;n(n.S+n.F*(Number.parseInt!=e),"Number",{parseInt:e})}),n(function(t){t.exports=Math.log1p||function(t){return(t=+t)>-1e-8&&t<1e-8?t-t*t/2:Math.log(1+t)}})),dt=(n(function(t){var n=w,e=vt,r=Math.sqrt,o=Math.acosh;n(n.S+n.F*!(o&&710==Math.floor(o(Number.MAX_VALUE))&&o(1/0)==1/0),"Math",{acosh:function(t){return(t=+t)<1?NaN:t>94906265.62425156?Math.log(t)+Math.LN2:e(t-1+r(t-1)*r(t+1))}})}),n(function(t){function n(t){return isFinite(t=+t)&&0!=t?t<0?-n(-t):Math.log(t+Math.sqrt(t*t+1)):t}var e=w,r=Math.asinh;e(e.S+e.F*!(r&&1/r(0)>0),"Math",{asinh:n})}),n(function(t){var n=w,e=Math.atanh;n(n.S+n.F*!(e&&1/e(-0)<0),"Math",{atanh:function(t){return 0==(t=+t)?t:Math.log((1+t)/(1-t))/2}})}),n(function(t){t.exports=Math.sign||function(t){return 0==(t=+t)||t!=t?t:t<0?-1:1}})),gt=(n(function(t){var n=w,e=dt;n(n.S,"Math",{cbrt:function(t){return e(t=+t)*Math.pow(Math.abs(t),1/3)}})}),n(function(t){var n=w;n(n.S,"Math",{clz32:function(t){return(t>>>=0)?31-Math.floor(Math.log(t+.5)*Math.LOG2E):32}})}),n(function(t){var n=w,e=Math.exp;n(n.S,"Math",{cosh:function(t){return(e(t=+t)+e(-t))/2}})}),n(function(t){var n=Math.expm1;t.exports=!n||n(10)>22025.465794806718||n(10)<22025.465794806718||n(-2e-17)!=-2e-17?function(t){return 0==(t=+t)?t:t>-1e-6&&t<1e-6?t+t*t/2:Math.exp(t)-1}:n})),yt=(n(function(t){var n=w,e=gt;n(n.S+n.F*(e!=Math.expm1),"Math",{expm1:e})}),n(function(t){var n=w,e=dt,r=Math.pow,o=r(2,-52),i=r(2,-23),u=r(2,127)*(2-i),c=r(2,-126),a=function(t){return t+1/o-1/o};n(n.S,"Math",{fround:function(t){var n,r,f=Math.abs(t),s=e(t);return fu||r!=r?s*(1/0):s*r)}})}),n(function(t){var n=w,e=Math.abs;n(n.S,"Math",{hypot:function(t,n){for(var r,o,i=0,u=0,c=arguments.length,a=0;u0?(o=r/a,i+=o*o):i+=r;return a===1/0?1/0:a*Math.sqrt(i)}})}),n(function(t){var n=w,e=Math.imul;n(n.S+n.F*i(function(){return e(4294967295,5)!=-5||2!=e.length}),"Math",{imul:function(t,n){var e=65535,r=+t,o=+n,i=e&r,u=e&o;return 0|i*u+((e&r>>>16)*u+i*(e&o>>>16)<<16>>>0)}})}),n(function(t){var n=w;n(n.S,"Math",{log10:function(t){return Math.log(t)/Math.LN10}})}),n(function(t){var n=w;n(n.S,"Math",{log1p:vt})}),n(function(t){var n=w;n(n.S,"Math",{log2:function(t){return Math.log(t)/Math.LN2}})}),n(function(t){var n=w;n(n.S,"Math",{sign:dt})}),n(function(t){var n=w,e=gt,r=Math.exp;n(n.S+n.F*i(function(){return!Math.sinh(-2e-17)!=-2e-17}),"Math",{sinh:function(t){return Math.abs(t=+t)<1?(e(t)-e(-t))/2:(r(t-1)-r(-t-1))*(Math.E/2)}})}),n(function(t){var n=w,e=gt,r=Math.exp;n(n.S,"Math",{tanh:function(t){var n=e(t=+t),o=e(-t);return n==1/0?1:o==1/0?-1:(n-o)/(r(t)+r(-t))}})}),n(function(t){var n=w;n(n.S,"Math",{trunc:function(t){return(t>0?Math.floor:Math.ceil)(t)}})}),n(function(t){var n=w,e=D,r=String.fromCharCode,o=String.fromCodePoint;n(n.S+n.F*(!!o&&1!=o.length),"String",{fromCodePoint:function(t){for(var n,o=[],i=arguments.length,u=0;i>u;){if(n=+arguments[u++],e(n,1114111)!==n)throw RangeError(n+" is not a valid code point");o.push(n<65536?r(n):r(((n-=65536)>>10)+55296,n%1024+56320))}return o.join("")}})}),n(function(t){var n=w,e=j,r=A;n(n.S,"String",{raw:function(t){for(var n=e(t.raw),o=r(n.length),i=arguments.length,u=[],c=0;o>c;)u.push(String(n[c++])),c=f?t?"":void 0:(i=c.charCodeAt(a),i<55296||i>56319||a+1===f||(u=c.charCodeAt(a+1))<56320||u>57343?t?c.charAt(a):i:t?c.slice(a,a+2):(i-55296<<10)+(u-56320)+65536)}}})),bt=n(function(t){t.exports={}}),mt=n(function(t){var n=G,e=v,r=x,o={};d(o,k("iterator"),function(){return this}),t.exports=function(t,i,u){t.prototype=n(o,{next:e(1,u)}),r(t,i+" Iterator")}}),wt=n(function(t){var n=T,e=w,r=y,i=d,u=o,c=bt,a=mt,f=x,s=$,l=k("iterator"),h=!([].keys&&"next"in[].keys()),p="@@iterator",v="keys",g="values",b=function(){return this};t.exports=function(t,o,d,y,m,w,_){a(d,o,y);var S,k,x,E=function(t){if(!h&&t in P)return P[t];switch(t){case v:return function(){return new d(this,t)};case g:return function(){return new d(this,t)}}return function(){return new d(this,t)}},T=o+" Iterator",O=m==g,F=!1,P=t.prototype,M=P[l]||P[p]||m&&P[m],j=M||E(m),I=m?O?E("entries"):j:void 0,A="Array"==o?P.entries||M:M;if(A&&(x=s(A.call(new t)),x!==Object.prototype&&(f(x,T,!0),n||u(x,l)||i(x,l,b))),O&&M&&M.name!==g&&(F=!0,j=function(){return M.call(this)}),n&&!_||!h&&!F&&P[l]||i(P,l,j),c[o]=j,c[T]=b,m)if(S={values:O?j:E(g),keys:w?j:E(v),entries:I},_)for(k in S)k in P||r(P,k,S[k]);else e(e.P+e.F*(h||F),o,S);return S}}),_t=(n(function(t){var n=yt(!0);wt(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,e=this._t,r=this._i;return r>=e.length?{value:void 0,done:!0}:(t=n(e,r),this._i+=t.length,{value:t,done:!1})})}),n(function(t){var n=w,e=yt(!1);n(n.P,"String",{codePointAt:function(t){return e(this,t)}})}),n(function(t){var n=a,e=F,r=k("match");t.exports=function(t){var o;return n(t)&&(void 0!==(o=t[r])?!!o:"RegExp"==e(t))}})),St=n(function(t){var n=_t,e=M;t.exports=function(t,r,o){if(n(r))throw TypeError("String#"+o+" doesn't accept regex!");return String(e(t))}}),kt=n(function(t){var n=k("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(r){try{return e[n]=!1,!"/./"[t](e)}catch(t){}}return!0}}),xt=(n(function(t){var n=w,e=A,r=St,o="endsWith",i=""[o];n(n.P+n.F*kt(o),"String",{endsWith:function(t){var n=r(this,t,o),u=arguments.length>1?arguments[1]:void 0,c=e(n.length),a=void 0===u?c:Math.min(e(u),c),f=String(t);return i?i.call(n,f,a):n.slice(a-f.length,a)===f}})}),n(function(t){var n=w,e=St,r="includes";n(n.P+n.F*kt(r),"String",{includes:function(t){return!!~e(this,t,r).indexOf(t,arguments.length>1?arguments[1]:void 0)}})}),n(function(t){var n=w;n(n.P,"String",{repeat:ht})}),n(function(t){var n=w,e=A,r=St,o="startsWith",i=""[o];n(n.P+n.F*kt(o),"String",{startsWith:function(t){var n=r(this,t,o),u=e(Math.min(arguments.length>1?arguments[1]:void 0,n.length)),c=String(t);return i?i.call(n,c,u):n.slice(u,u+c.length)===c}})}),n(function(t){var n=w,e=i,r=M,o=/"/g,u=function(t,n,e,i){var u=String(r(t)),c="<"+n;return""!==e&&(c+=" "+e+'="'+String(i).replace(o,""")+'"'),c+">"+u+""};t.exports=function(t,r){var o={};o[t]=r(u),n(n.P+n.F*e(function(){var n=""[t]('"');return n!==n.toLowerCase()||n.split('"').length>3}),"String",o)}})),Et=(n(function(t){xt("anchor",function(t){return function(n){return t(this,"a","name",n)}})}),n(function(t){xt("big",function(t){return function(){return t(this,"big","","")}})}),n(function(t){xt("blink",function(t){return function(){return t(this,"blink","","")}})}),n(function(t){xt("bold",function(t){return function(){return t(this,"b","","")}})}),n(function(t){xt("fixed",function(t){return function(){return t(this,"tt","","")}})}),n(function(t){xt("fontcolor",function(t){return function(n){return t(this,"font","color",n)}})}),n(function(t){xt("fontsize",function(t){return function(n){return t(this,"font","size",n)}})}),n(function(t){xt("italics",function(t){return function(){return t(this,"i","","")}})}),n(function(t){xt("link",function(t){return function(n){return t(this,"a","href",n)}})}),n(function(t){xt("small",function(t){return function(){return t(this,"small","","")}})}),n(function(t){xt("strike",function(t){return function(){return t(this,"strike","","")}})}),n(function(t){xt("sub",function(t){return function(){return t(this,"sub","","")}})}),n(function(t){xt("sup",function(t){return function(){return t(this,"sup","","")}})}),n(function(t){var n=w;n(n.S,"Date",{now:function(){return(new Date).getTime()}})}),n(function(t){var n=w,e=Q,r=h;n(n.P+n.F*i(function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})}),"Date",{toJSON:function(t){var n=e(this),o=r(n);return"number"!=typeof o||isFinite(o)?n.toISOString():null}})}),n(function(t){var n=w,e=i,r=Date.prototype.getTime,o=function(t){return t>9?t:"0"+t};n(n.P+n.F*(e(function(){return"0385-07-25T07:06:39.999Z"!=new Date(-5e13-1).toISOString()})||!e(function(){new Date(NaN).toISOString()})),"Date",{toISOString:function(){if(!isFinite(r.call(this)))throw RangeError("Invalid time value");var t=this,n=t.getUTCFullYear(),e=t.getUTCMilliseconds(),i=n<0?"-":n>9999?"+":"";return i+("00000"+Math.abs(n)).slice(i?-6:-4)+"-"+o(t.getUTCMonth()+1)+"-"+o(t.getUTCDate())+"T"+o(t.getUTCHours())+":"+o(t.getUTCMinutes())+":"+o(t.getUTCSeconds())+"."+(e>99?e:"0"+o(e))+"Z"}})}),n(function(t){var n=Date.prototype,e="Invalid Date",r="toString",o=n[r],i=n.getTime;new Date(NaN)+""!=e&&y(n,r,function(){var t=i.call(this);return t===t?o.call(this):e})}),n(function(t){var n=f,e=h,r="number";t.exports=function(t){if("string"!==t&&t!==r&&"default"!==t)throw TypeError("Incorrect hint");return e(n(this),t!=r)}})),Tt=(n(function(t){var n=k("toPrimitive"),e=Date.prototype;n in e||d(e,n,Et)}),n(function(t){var n=w;n(n.S,"Array",{isArray:H})}),n(function(t){var n=f;t.exports=function(t,e,r,o){try{return o?e(n(r)[0],r[1]):e(r)}catch(e){var i=t.return;throw void 0!==i&&n(i.call(t)),e}}})),Ot=n(function(t){var n=bt,e=k("iterator"),r=Array.prototype;t.exports=function(t){return void 0!==t&&(n.Array===t||r[e]===t)}}),Ft=n(function(t){var n=p,e=v;t.exports=function(t,r,o){r in t?n.f(t,r,e(0,o)):t[r]=o}}),Pt=n(function(t){var n=rt,e=k("iterator"),r=bt;t.exports=c.getIteratorMethod=function(t){if(void 0!=t)return t[e]||t["@@iterator"]||r[n(t)]}}),Mt=n(function(t){var n=k("iterator"),e=!1;try{var r=[7][n]();r.return=function(){e=!0},Array.from(r,function(){throw 2})}catch(t){}t.exports=function(t,r){if(!r&&!e)return!1;var o=!1;try{var i=[7],u=i[n]();u.next=function(){return{done:o=!0}},i[n]=function(){return u},t(i)}catch(t){}return o}}),jt=(n(function(t){var n=m,e=w,r=Q,o=Tt,i=Ot,u=A,c=Ft,a=Pt;e(e.S+e.F*!Mt(function(t){Array.from(t)}),"Array",{from:function(t){var e,f,s,l,h=r(t),p="function"==typeof this?this:Array,v=arguments.length,d=v>1?arguments[1]:void 0,g=void 0!==d,y=0,b=a(h);if(g&&(d=n(d,v>2?arguments[2]:void 0,2)),void 0==b||p==Array&&i(b))for(e=u(h.length),f=new p(e);e>y;y++)c(f,y,g?d(h[y],y):h[y]);else for(l=b.call(h),f=new p;!(s=l.next()).done;y++)c(f,y,g?o(l,d,[s.value,y],!0):s.value);return f.length=y,f}})}),n(function(t){var n=w,e=Ft;n(n.S+n.F*i(function(){function t(){}return!(Array.of.call(t)instanceof t)}),"Array",{of:function(){for(var t=0,n=arguments.length,r=new("function"==typeof this?this:Array)(n);n>t;)e(r,t,arguments[t++]);return r.length=n,r}})}),n(function(t){var n=i;t.exports=function(t,e){return!!t&&n(function(){e?t.call(null,function(){},1):t.call(null)})}})),It=(n(function(t){var n=w,e=j,r=[].join;n(n.P+n.F*(P!=Object||!jt(r)),"Array",{join:function(t){return r.call(e(this),void 0===t?",":t)}})}),n(function(t){var n=w,e=V,r=F,o=D,u=A,c=[].slice;n(n.P+n.F*i(function(){e&&c.call(e)}),"Array",{slice:function(t,n){var e=u(this.length),i=r(this);if(n=void 0===n?e:n,"Array"==i)return c.call(this,t,n);for(var a=o(t,e),f=o(n,e),s=u(f-a),l=Array(s),h=0;h_;_++)if((h||_ in b)&&(d=b[_],g=m(d,_,y),t))if(c)S[_]=g;else if(g)switch(t){case 3:return!0;case 5:return d;case 6:return _;case 2:S.push(d)}else if(s)return!1;return l?-1:f||s?s:S}}}),Nt=(n(function(t){var n=w,e=Dt(0),r=jt([].forEach,!0);n(n.P+n.F*!r,"Array",{forEach:function(t){return e(this,t,arguments[1])}})}),n(function(t){var n=w,e=Dt(1);n(n.P+n.F*!jt([].map,!0),"Array",{map:function(t){return e(this,t,arguments[1])}})}),n(function(t){var n=w,e=Dt(2);n(n.P+n.F*!jt([].filter,!0),"Array",{filter:function(t){return e(this,t,arguments[1])}})}),n(function(t){var n=w,e=Dt(3);n(n.P+n.F*!jt([].some,!0),"Array",{some:function(t){return e(this,t,arguments[1])}})}),n(function(t){var n=w,e=Dt(4);n(n.P+n.F*!jt([].every,!0),"Array",{every:function(t){return e(this,t,arguments[1])}})}),n(function(t){var n=b,e=Q,r=P,o=A;t.exports=function(t,i,u,c,a){n(i);var f=e(t),s=r(f),l=o(f.length),h=a?l-1:0,p=a?-1:1;if(u<2)for(;;){if(h in s){c=s[h],h+=p;break}if(h+=p,a?h<0:l<=h)throw TypeError("Reduce of empty array with no initial value")}for(;a?h>=0:l>h;h+=p)h in s&&(c=i(c,s[h],h,f));return c}})),Rt=(n(function(t){var n=w,e=Nt;n(n.P+n.F*!jt([].reduce,!0),"Array",{reduce:function(t){return e(this,t,arguments.length,arguments[1],!1)}})}),n(function(t){var n=w,e=Nt;n(n.P+n.F*!jt([].reduceRight,!0),"Array",{reduceRight:function(t){return e(this,t,arguments.length,arguments[1],!0)}})}),n(function(t){var n=w,e=N(!1),r=[].indexOf,o=!!r&&1/[1].indexOf(1,-0)<0;n(n.P+n.F*(o||!jt(r)),"Array",{indexOf:function(t){return o?r.apply(this,arguments)||0:e(this,t,arguments[1])}})}),n(function(t){var n=w,e=j,r=I,o=A,i=[].lastIndexOf,u=!!i&&1/[1].lastIndexOf(1,-0)<0;n(n.P+n.F*(u||!jt(i)),"Array",{lastIndexOf:function(t){if(u)return i.apply(this,arguments)||0;var n=e(this),c=o(n.length),a=c-1;for(arguments.length>1&&(a=Math.min(a,r(arguments[1]))),a<0&&(a=c+a);a>=0;a--)if(a in n&&n[a]===t)return a||0;return-1}})}),n(function(t){var n=Q,e=D,r=A;t.exports=[].copyWithin||function(t,o){var i=n(this),u=r(i.length),c=e(t,u),a=e(o,u),f=arguments.length>2?arguments[2]:void 0,s=Math.min((void 0===f?u:e(f,u))-a,u-c),l=1;for(a0;)a in i?i[c]=i[a]:delete i[c],c+=l,a+=l;return i}})),Ct=n(function(t){var n=k("unscopables"),e=Array.prototype;void 0==e[n]&&d(e,n,{}),t.exports=function(t){e[n][t]=!0}}),zt=(n(function(t){var n=w;n(n.P,"Array",{copyWithin:Rt}),Ct("copyWithin")}),n(function(t){var n=Q,e=D,r=A;t.exports=function(t){for(var o=n(this),i=r(o.length),u=arguments.length,c=e(u>1?arguments[1]:void 0,i),a=u>2?arguments[2]:void 0,f=void 0===a?i:e(a,i);f>c;)o[c++]=t;return o}})),Lt=(n(function(t){var n=w;n(n.P,"Array",{fill:zt}),Ct("fill")}),n(function(t){var n=w,e=Dt(5),r="find",o=!0;r in[]&&Array(1)[r](function(){o=!1}),n(n.P+n.F*o,"Array",{find:function(t){return e(this,t,arguments.length>1?arguments[1]:void 0)}}),Ct(r)}),n(function(t){var n=w,e=Dt(6),r="findIndex",o=!0;r in[]&&Array(1)[r](function(){o=!1}),n(n.P+n.F*o,"Array",{findIndex:function(t){return e(this,t,arguments.length>1?arguments[1]:void 0)}}),Ct(r)}),n(function(t){var n=r,e=p,o=u,i=k("species");t.exports=function(t){var r=n[t];o&&r&&!r[i]&&e.f(r,i,{configurable:!0,get:function(){return this}})}})),Zt=(n(function(t){Lt("Array")}),n(function(t){t.exports=function(t,n){return{value:n,done:!!t}}})),Wt=n(function(t){var n=Ct,e=Zt,r=bt,o=j;t.exports=wt(Array,"Array",function(t,n){this._t=o(t),this._i=0,this._k=n},function(){var t=this._t,n=this._k,r=this._i++;return!t||r>=t.length?(this._t=void 0,e(1)):"keys"==n?e(0,r):"values"==n?e(0,t[r]):e(0,[r,t[r]])},"values"),r.Arguments=r.Array,n("keys"),n("values"),n("entries")}),Bt=n(function(t){var n=f;t.exports=function(){var t=n(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}}),Ut=(n(function(t){var n=r,e=st,o=p.f,c=X.f,a=_t,f=Bt,s=n.RegExp,l=s,h=s.prototype,v=/a/g,d=/a/g,g=new s(v)!==v;if(u&&(!g||i(function(){return d[k("match")]=!1,s(v)!=v||s(d)==d||"/a/i"!=s(v,"i")}))){s=function(t,n){var r=this instanceof s,o=a(t),i=void 0===n;return!r&&o&&t.constructor===s&&i?t:e(g?new l(o&&!i?t.source:t,n):l((o=t instanceof s)?t.source:t,o&&i?f.call(t):n),r?this:h,s)};for(var b=(function(t){t in s||o(s,t,{configurable:!0,get:function(){return l[t]},set:function(n){l[t]=n}})}),m=c(l),w=0;m.length>w;)b(m[w++]);h.constructor=s,s.prototype=h,y(n,"RegExp",s)}Lt("RegExp")}),n(function(t){u&&"g"!=/./g.flags&&p.f(RegExp.prototype,"flags",{configurable:!0,get:Bt})}),n(function(t){var n=f,e=Bt,r=u,o="toString",c=/./[o],a=function(t){y(RegExp.prototype,o,t,!0)};i(function(){return"/a/b"!=c.call({source:"a",flags:"b"})})?a(function(){var t=n(this);return"/".concat(t.source,"/","flags"in t?t.flags:!r&&t instanceof RegExp?e.call(t):void 0)}):c.name!=o&&a(function(){return c.call(this)})}),n(function(t){var n=d,e=y,r=i,o=M,u=k;t.exports=function(t,i,c){var a=u(t),f=c(o,a,""[t]),s=f[0],l=f[1];r(function(){var n={};return n[a]=function(){return 7},7!=""[t](n)})&&(e(String.prototype,t,s),n(RegExp.prototype,a,2==i?function(t,n){return l.call(t,this,n)}:function(t){return l.call(t,this)}))}})),Ht=(n(function(t){Ut("match",1,function(t,n,e){return[function(e){var r=t(this),o=void 0==e?void 0:e[n];return void 0!==o?o.call(e,r):new RegExp(e)[n](String(r))},e]})}),n(function(t){Ut("replace",2,function(t,n,e){return[function(r,o){var i=t(this),u=void 0==r?void 0:r[n];return void 0!==u?u.call(r,i,o):e.call(String(i),r,o)},e]})}),n(function(t){Ut("search",1,function(t,n,e){return[function(e){var r=t(this),o=void 0==e?void 0:e[n];return void 0!==o?o.call(e,r):new RegExp(e)[n](String(r))},e]})}),n(function(t){Ut("split",2,function(t,n,e){var r=_t,o=e,i=[].push,u="split",c="length",a="lastIndex";if("c"=="abbc"[u](/(b)*/)[1]||4!="test"[u](/(?:)/,-1)[c]||2!="ab"[u](/(?:ab)*/)[c]||4!="."[u](/(.?)(.?)/)[c]||"."[u](/()()/)[c]>1||""[u](/.?/)[c]){var f=void 0===/()??/.exec("")[1];e=function(t,n){var e=String(this);if(void 0===t&&0===n)return[];if(!r(t))return o.call(e,t,n);var u,s,l,h,p,v=[],d=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),g=0,y=void 0===n?4294967295:n>>>0,b=new RegExp(t.source,d+"g");for(f||(u=new RegExp("^"+b.source+"$(?!\\s)",d));(s=b.exec(e))&&(l=s.index+s[0][c],!(l>g&&(v.push(e.slice(g,s.index)),!f&&s[c]>1&&s[0].replace(u,function(){for(p=1;p1&&s.index=y)));)b[a]===s.index&&b[a]++;return g===e[c]?!h&&b.test("")||v.push(""):v.push(e.slice(g)),v[c]>y?v.slice(0,y):v}}else"0"[u](void 0,0)[c]&&(e=function(t,n){return void 0===t&&0===n?[]:o.call(this,t,n)});return[function(r,o){var i=t(this),u=void 0==r?void 0:r[n];return void 0!==u?u.call(r,i,o):e.call(String(i),r,o)},e]})}),n(function(t){t.exports=function(t,n,e,r){if(!(t instanceof n)||void 0!==r&&r in t)throw TypeError(e+": incorrect invocation!");return t}})),qt=n(function(t){var n=m,e=Tt,r=Ot,o=f,i=A,u=Pt,c={},a={},s=t.exports=function(t,f,s,l,h){var p,v,d,g,y=h?function(){return t}:u(t),b=n(s,l,f?2:1),m=0;if("function"!=typeof y)throw TypeError(t+" is not iterable!");if(r(y)){for(p=i(t.length);p>m;m++)if(g=f?b(o(v=t[m])[0],v[1]):b(t[m]),g===c||g===a)return g}else for(d=y.call(t);!(v=d.next()).done;)if(g=e(d,b,v.value,f),g===c||g===a)return g};s.BREAK=c,s.RETURN=a}),Vt=n(function(t){var n=f,e=b,r=k("species");t.exports=function(t,o){var i,u=n(t).constructor;return void 0===u||void 0==(i=n(u)[r])?o:e(i)}}),Gt=n(function(t){var n,e,o,i=m,u=ot,c=V,a=s,f=r,l=f.process,h=f.setImmediate,p=f.clearImmediate,v=f.MessageChannel,d=0,g={},y="onreadystatechange",b=function(){var t=+this;if(g.hasOwnProperty(t)){var n=g[t];delete g[t],n()}},w=function(t){b.call(t.data)};h&&p||(h=function(t){for(var e=[],r=1;arguments.length>r;)e.push(arguments[r++]);return g[++d]=function(){u("function"==typeof t?t:Function(t),e)},n(d),d},p=function(t){delete g[t]},"process"==F(l)?n=function(t){l.nextTick(i(b,t,1))}:v?(e=new v,o=e.port2,e.port1.onmessage=w,n=i(o.postMessage,o,1)):f.addEventListener&&"function"==typeof postMessage&&!f.importScripts?(n=function(t){f.postMessage(t+"","*")},f.addEventListener("message",w,!1)):n=y in a("script")?function(t){c.appendChild(a("script"))[y]=function(){c.removeChild(this),b.call(t)}}:function(t){setTimeout(i(b,t,1),0)}),t.exports={set:h,clear:p}}),Xt=n(function(t){var n=r,e=Gt.set,o=n.MutationObserver||n.WebKitMutationObserver,i=n.process,u=n.Promise,c="process"==F(i);t.exports=function(){var t,r,a,f=function(){var n,e;for(c&&(n=i.domain)&&n.exit();t;){e=t.fn,t=t.next;try{e()}catch(n){throw t?a():r=void 0,n}}r=void 0,n&&n.enter()};if(c)a=function(){i.nextTick(f)};else if(o){var s=!0,l=document.createTextNode("");new o(f).observe(l,{characterData:!0}),a=function(){l.data=s=!s}}else if(u&&u.resolve){var h=u.resolve();a=function(){h.then(f)}}else a=function(){e.call(n,f)};return function(n){var e={fn:n,next:void 0};r&&(r.next=e),t||(t=e,a()),r=e}}}),Kt=n(function(t){var n=y;t.exports=function(t,e,r){for(var o in e)n(t,o,e[o],r);return t}}),Yt=(n(function(t){var n,e,o,i=T,u=r,f=m,s=rt,l=w,h=a,p=b,v=Ht,d=qt,g=Vt,y=Gt.set,_=Xt(),S="Promise",E=u.TypeError,O=u.process,F=u[S],O=u.process,P="process"==s(O),M=function(){},j=!!function(){try{var t=F.resolve(1),n=(t.constructor={})[k("species")]=function(t){t(M,M)};return(P||"function"==typeof PromiseRejectionEvent)&&t.then(M)instanceof n}catch(t){}}(),I=function(t,n){return t===n||t===F&&n===o},A=function(t){var n;return!(!h(t)||"function"!=typeof(n=t.then))&&n},D=function(t){return I(F,t)?new N(t):new e(t)},N=e=function(t){var n,e;this.promise=new t(function(t,r){if(void 0!==n||void 0!==e)throw E("Bad Promise constructor");n=t,e=r}),this.resolve=p(n),this.reject=p(e)},R=function(t){try{t()}catch(t){return{error:t}}},C=function(t,n){if(!t._n){t._n=!0;var e=t._c;_(function(){for(var r=t._v,o=1==t._s,i=0,u=function(n){var e,i,u=o?n.ok:n.fail,c=n.resolve,a=n.reject,f=n.domain;try{u?(o||(2==t._h&&Z(t),t._h=1),u===!0?e=r:(f&&f.enter(),e=u(r),f&&f.exit()),e===n.promise?a(E("Promise-chain cycle")):(i=A(e))?i.call(e,c,a):c(e)):a(r)}catch(t){a(t)}};e.length>i;)u(e[i++]);t._c=[],t._n=!1,n&&!t._h&&z(t)})}},z=function(t){y.call(u,function(){var n,e,r,o=t._v;if(L(t)&&(n=R(function(){P?O.emit("unhandledRejection",o,t):(e=u.onunhandledrejection)?e({promise:t,reason:o}):(r=u.console)&&r.error&&r.error("Unhandled promise rejection",o)}),t._h=P||L(t)?2:1),t._a=void 0,n)throw n.error})},L=function(t){if(1==t._h)return!1;for(var n,e=t._a||t._c,r=0;e.length>r;)if(n=e[r++],n.fail||!L(n.promise))return!1;return!0},Z=function(t){y.call(u,function(){var n;P?O.emit("rejectionHandled",t):(n=u.onrejectionhandled)&&n({promise:t,reason:t._v})})},W=function(t){var n=this;n._d||(n._d=!0,n=n._w||n,n._v=t,n._s=2,n._a||(n._a=n._c.slice()),C(n,!0))},B=function(t){var n,e=this;if(!e._d){e._d=!0,e=e._w||e;try{if(e===t)throw E("Promise can't be resolved itself");(n=A(t))?_(function(){var r={_w:e,_d:!1};try{n.call(t,f(B,r,1),f(W,r,1))}catch(t){W.call(r,t)}}):(e._v=t,e._s=1,C(e,!1))}catch(t){W.call({_w:e,_d:!1},t)}}};j||(F=function(t){v(this,F,S,"_h"),p(t),n.call(this);try{t(f(B,this,1),f(W,this,1))}catch(t){W.call(this,t)}},n=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},n.prototype=Kt(F.prototype,{then:function(t,n){var e=D(g(this,F));return e.ok="function"!=typeof t||t,e.fail="function"==typeof n&&n,e.domain=P?O.domain:void 0,this._c.push(e),this._a&&this._a.push(e),this._s&&C(this,!1),e.promise},catch:function(t){return this.then(void 0,t)}}),N=function(){var t=new n;this.promise=t,this.resolve=f(B,t,1),this.reject=f(W,t,1)}),l(l.G+l.W+l.F*!j,{Promise:F}),x(F,S),Lt(S),o=c[S],l(l.S+l.F*!j,S,{reject:function(t){var n=D(this),e=n.reject;return e(t),n.promise}}),l(l.S+l.F*(i||!j),S,{resolve:function(t){if(t instanceof F&&I(t.constructor,this))return t;var n=D(this),e=n.resolve;return e(t),n.promise}}),l(l.S+l.F*!(j&&Mt(function(t){F.all(t).catch(M)})),S,{all:function(t){var n=this,e=D(n),r=e.resolve,o=e.reject,i=R(function(){var e=[],i=0,u=1;d(t,!1,function(t){var c=i++,a=!1;e.push(void 0),u++,n.resolve(t).then(function(t){a||(a=!0,e[c]=t,--u||r(e))},o)}),--u||r(e)});return i&&o(i.error),e.promise},race:function(t){var n=this,e=D(n),r=e.reject,o=R(function(){d(t,!1,function(t){n.resolve(t).then(e.resolve,r)})});return o&&r(o.error),e.promise}})}),n(function(t){var n=p.f,e=G,r=Kt,o=m,i=Ht,c=M,a=qt,f=wt,s=Zt,l=Lt,h=u,v=_.fastKey,d=h?"_s":"size",g=function(t,n){var e,r=v(n);if("F"!==r)return t._i[r];for(e=t._f;e;e=e.n)if(e.k==n)return e};t.exports={getConstructor:function(t,u,f,s){var l=t(function(t,n){i(t,l,u,"_i"),t._i=e(null),t._f=void 0,t._l=void 0,t[d]=0,void 0!=n&&a(n,f,t[s],t)});return r(l.prototype,{clear:function(){for(var t=this,n=t._i,e=t._f;e;e=e.n)e.r=!0,e.p&&(e.p=e.p.n=void 0),delete n[e.i];t._f=t._l=void 0,t[d]=0},delete:function(t){var n=this,e=g(n,t);if(e){var r=e.n,o=e.p;delete n._i[e.i],e.r=!0,o&&(o.n=r),r&&(r.p=o),n._f==e&&(n._f=r),n._l==e&&(n._l=o),n[d]--}return!!e},forEach:function(t){i(this,l,"forEach");for(var n,e=o(t,arguments.length>1?arguments[1]:void 0,3);n=n?n.n:this._f;)for(e(n.v,n.k,this);n&&n.r;)n=n.p},has:function(t){return!!g(this,t)}}),h&&n(l.prototype,"size",{get:function(){return c(this[d])}}),l},def:function(t,n,e){var r,o,i=g(t,n);return i?i.v=e:(t._l=i={i:o=v(n,!0),k:n,v:e,p:r=t._l,n:void 0,r:!1},t._f||(t._f=i),r&&(r.n=i),t[d]++,"F"!==o&&(t._i[o]=i)),t},getEntry:g,setStrong:function(t,n,e){f(t,n,function(t,n){this._t=t,this._k=n,this._l=void 0},function(){for(var t=this,n=t._k,e=t._l;e&&e.r;)e=e.p;return t._t&&(t._l=e=e?e.n:t._t._f)?"keys"==n?s(0,e.k):"values"==n?s(0,e.v):s(0,[e.k,e.v]):(t._t=void 0,s(1))},e?"entries":"values",!e,!0),l(n)}}})),Jt=n(function(t){var n=r,e=w,o=y,u=Kt,c=_,f=qt,s=Ht,l=a,h=i,p=Mt,v=x,d=st;t.exports=function(t,r,i,a,g,y){var b=n[t],m=b,w=g?"set":"add",_=m&&m.prototype,S={},k=function(t){var n=_[t];o(_,t,"delete"==t?function(t){return!(y&&!l(t))&&n.call(this,0===t?0:t)}:"has"==t?function(t){return!(y&&!l(t))&&n.call(this,0===t?0:t)}:"get"==t?function(t){return y&&!l(t)?void 0:n.call(this,0===t?0:t)}:"add"==t?function(t){return n.call(this,0===t?0:t),this}:function(t,e){return n.call(this,0===t?0:t,e),this})};if("function"==typeof m&&(y||_.forEach&&!h(function(){(new m).entries().next()}))){var x=new m,E=x[w](y?{}:-0,1)!=x,T=h(function(){x.has(1)}),O=p(function(t){new m(t)}),F=!y&&h(function(){for(var t=new m,n=5;n--;)t[w](n,n);return!t.has(-0)});O||(m=r(function(n,e){s(n,m,t);var r=d(new b,n,m);return void 0!=e&&f(e,g,r[w],r),r}),m.prototype=_,_.constructor=m),(T||F)&&(k("delete"),k("has"),g&&k("get")),(F||E)&&k(w),y&&_.clear&&delete _.clear}else m=a.getConstructor(r,t,g,w),u(m.prototype,i),c.NEED=!0;return v(m,t),S[t]=m,e(e.G+e.W+e.F*(m!=b),S),y||a.setStrong(m,t,g),m}}),Qt=n(function(t){var n=Yt;t.exports=Jt("Map",function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},{get:function(t){var e=n.getEntry(this,t);return e&&e.v},set:function(t,e){return n.def(this,0===t?0:t,e)}},n,!0)}),$t=n(function(t){var n=Yt;t.exports=Jt("Set",function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},{add:function(t){return n.def(this,t=0===t?0:t,t)}},n)}),tn=n(function(t){var n=Kt,e=_.getWeak,r=f,i=a,u=Ht,c=qt,s=Dt,l=o,h=s(5),p=s(6),v=0,d=function(t){return t._l||(t._l=new g)},g=function(){this.a=[]},y=function(t,n){return h(t.a,function(t){return t[0]===n})};g.prototype={get:function(t){var n=y(this,t);if(n)return n[1]},has:function(t){return!!y(this,t)},set:function(t,n){var e=y(this,t);e?e[1]=n:this.a.push([t,n])},delete:function(t){var n=p(this.a,function(n){return n[0]===t});return~n&&this.a.splice(n,1),!!~n}},t.exports={getConstructor:function(t,r,o,a){var f=t(function(t,n){u(t,f,r,"_i"),t._i=v++,t._l=void 0,void 0!=n&&c(n,o,t[a],t)});return n(f.prototype,{delete:function(t){if(!i(t))return!1;var n=e(t);return n===!0?d(this).delete(t):n&&l(n,this._i)&&delete n[this._i]},has:function(t){if(!i(t))return!1;var n=e(t);return n===!0?d(this).has(t):n&&l(n,this._i)}}),f},def:function(t,n,o){var i=e(r(n),!0);return i===!0?d(t).set(n,o):i[t._i]=o,t},ufstore:d}}),nn=n(function(t){var n,e=Dt(0),r=y,o=_,i=tt,u=tn,c=a,f=o.getWeak,s=Object.isExtensible,l=u.ufstore,h={},p=function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},v={get:function(t){if(c(t)){var n=f(t);return n===!0?l(this).get(t):n?n[this._i]:void 0}},set:function(t,n){return u.def(this,t,n)}},d=t.exports=Jt("WeakMap",p,v,u,!0,!0);7!=(new d).set((Object.freeze||Object)(h),7).get(h)&&(n=u.getConstructor(p),i(n.prototype,v),o.NEED=!0,e(["delete","has","get","set"],function(t){var e=d.prototype,o=e[t];r(e,t,function(e,r){if(c(e)&&!s(e)){this._f||(this._f=new n);var i=this._f[t](e,r);return"set"==t?this:i}return o.call(this,e,r)})}))}),en=(n(function(t){var n=tn;Jt("WeakSet",function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},{add:function(t){return n.def(this,t,!0)}},n,!1,!0)}),n(function(t){for(var n,e=r,o=d,i=g,u=i("typed_array"),c=i("view"),a=!(!e.ArrayBuffer||!e.DataView),f=a,s=0,l=9,h="Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array".split(",");s>1,s=23===n?C(2,-24)-C(2,-77):0,l=0,h=t<0||0===t&&1/t<0?1:0;for(t=R(t),t!=t||t===D?(o=t!=t?1:0,r=a):(r=z(L(t)/Z),t*(i=C(2,-r))<1&&(r--,i*=2),t+=r+f>=1?s/i:s*C(2,1-f),t*i>=2&&(r++,i/=2),r+f>=a?(o=0,r=a):r+f>=1?(o=(t*i-1)*C(2,n),r+=f):(o=t*C(2,f-1)*C(2,n),r=0));n>=8;u[l++]=255&o,o/=256,n-=8);for(r=r<0;u[l++]=255&r,r/=256,c-=8);return u[--l]|=128*h,u},K=function(t,n,e){var r,o=8*e-n-1,i=(1<>1,c=o-7,a=e-1,f=t[a--],s=127&f;for(f>>=7;c>0;s=256*s+t[a],a--,c-=8);for(r=s&(1<<-c)-1,s>>=-c,c+=n;c>0;r=256*r+t[a],a--,c-=8);if(0===s)s=1-u;else{if(s===i)return r?NaN:f?-D:D;r+=C(2,n),s-=u}return(f?-1:1)*r*C(2,s-n)},Y=function(t){return t[3]<<24|t[2]<<16|t[1]<<8|t[0]},J=function(t){return[255&t]},Q=function(t){return[255&t,t>>8&255]},$=function(t){return[255&t,t>>8&255,t>>16&255,t>>24&255]},tt=function(t){return G(t,52,8)},nt=function(t){return G(t,23,4)},et=function(t,n,e){b(t[k],n,{get:function(){return this[e]}})},rt=function(t,n,e,r){var o=+e,i=v(o);if(o!=i||i<0||i+n>t[q])throw j(O);var u=t[H]._b,c=i+t[V],a=u.slice(c,c+n);return r?a:a.reverse()},ot=function(t,n,e,r,o,i){var u=+e,c=v(u);if(u!=c||c<0||c+n>t[q])throw j(O);for(var a=t[H]._b,f=c+t[V],s=r(+o),l=0;lft;)(ut=at[ft++])in F||f(F,ut,N[ut]);c||(ct.constructor=F)}var st=new P(new F(2)),lt=P[k].setInt8;st.setInt8(0,2147483648),st.setInt8(1,2147483649),!st.getInt8(0)&&st.getInt8(1)||s(P[k],{setInt8:function(t,n){lt.call(this,t,n<<24>>24)},setUint8:function(t,n){lt.call(this,t,n<<24>>24)}},!0)}else F=function(t){var n=it(this,t);this._b=m.call(Array(n),0),this[q]=n},P=function(t,n,e){h(this,P,S),h(t,F,S);var r=t[q],o=v(n);if(o<0||o>r)throw j("Wrong offset!");if(e=void 0===e?r-o:g(e),o+e>r)throw j(E);this[H]=t,this[V]=o,this[q]=e},o&&(et(F,B,"_l"),et(P,W,"_b"),et(P,B,"_l"),et(P,U,"_o")),s(P[k],{getInt8:function(t){return rt(this,1,t)[0]<<24>>24},getUint8:function(t){return rt(this,1,t)[0]},getInt16:function(t){var n=rt(this,2,t,arguments[1]);return(n[1]<<8|n[0])<<16>>16},getUint16:function(t){var n=rt(this,2,t,arguments[1]);return n[1]<<8|n[0]},getInt32:function(t){return Y(rt(this,4,t,arguments[1]))},getUint32:function(t){return Y(rt(this,4,t,arguments[1]))>>>0},getFloat32:function(t){return K(rt(this,4,t,arguments[1]),23,4)},getFloat64:function(t){return K(rt(this,8,t,arguments[1]),52,8)},setInt8:function(t,n){ot(this,1,t,J,n)},setUint8:function(t,n){ot(this,1,t,J,n)},setInt16:function(t,n){ot(this,2,t,Q,n,arguments[2])},setUint16:function(t,n){ot(this,2,t,Q,n,arguments[2])},setInt32:function(t,n){ot(this,4,t,$,n,arguments[2])},setUint32:function(t,n){ot(this,4,t,$,n,arguments[2])},setFloat32:function(t,n){ot(this,4,t,nt,n,arguments[2])},setFloat64:function(t,n){ot(this,8,t,tt,n,arguments[2])}});w(F,_),w(P,S),f(P[k],a.VIEW,!0),n[_]=F,n[S]=P}),on=(n(function(t){var n=w,e=en,o=rn,u=f,c=D,s=A,l=a,h=r.ArrayBuffer,p=Vt,v=o.ArrayBuffer,d=o.DataView,g=e.ABV&&h.isView,y=v.prototype.slice,b=e.VIEW,m="ArrayBuffer";n(n.G+n.W+n.F*(h!==v),{ArrayBuffer:v}),n(n.S+n.F*!e.CONSTR,m,{isView:function(t){return g&&g(t)||l(t)&&b in t}}),n(n.P+n.U+n.F*i(function(){return!new v(2).slice(1,void 0).byteLength}),m,{slice:function(t,n){if(void 0!==y&&void 0===n)return y.call(u(this),t);for(var e=u(this).byteLength,r=c(t,e),o=c(void 0===n?e:n,e),i=new(p(this,v))(s(o-r)),a=new d(this),f=new d(i),l=0;re;)o[e]=n[e++];return o},mn=function(t,n,e){st(t,n,{get:function(){return this._d[e]}})},wn=function(t){var n,e,r,o,i,u,c=z(t),a=arguments.length,f=a>1?arguments[1]:void 0,s=void 0!==f,l=U(c);if(void 0!=l&&!L(l)){for(u=l.call(c),r=[],n=0;!(i=u.next()).done;n++)r.push(i.value);c=r}for(s&&a>2&&(f=y(f,arguments[2],2)),n=0,e=O(c.length),o=gn(this,e);e>n;n++)o[n]=s?f(c[n],n):c[n];return o},_n=function(){for(var t=0,n=arguments.length,e=gn(this,n);n>t;)e[t]=arguments[t++];return e},Sn=!!vt&&c(function(){Qt.call(new vt(1))}),kn=function(){return Qt.apply(Sn?Yt.call(dn(this)):dn(this),arguments)},xn={copyWithin:function(t,n){return ct.call(dn(this),t,n,arguments.length>2?arguments[2]:void 0)},every:function(t){return Tt(dn(this),t,arguments.length>1?arguments[1]:void 0)},fill:function(t){return ut.apply(dn(this),arguments)},filter:function(t){return yn(this,xt(dn(this),t,arguments.length>1?arguments[1]:void 0))},find:function(t){return Ft(dn(this),t,arguments.length>1?arguments[1]:void 0)},findIndex:function(t){return jt(dn(this),t,arguments.length>1?arguments[1]:void 0)},forEach:function(t){kt(dn(this),t,arguments.length>1?arguments[1]:void 0)},indexOf:function(t){return At(dn(this),t,arguments.length>1?arguments[1]:void 0)},includes:function(t){return It(dn(this),t,arguments.length>1?arguments[1]:void 0)},join:function(t){return Gt.apply(dn(this),arguments)},lastIndexOf:function(t){return Bt.apply(dn(this),arguments)},map:function(t){return sn(dn(this),t,arguments.length>1?arguments[1]:void 0)},reduce:function(t){return Ut.apply(dn(this),arguments)},reduceRight:function(t){return qt.apply(dn(this),arguments)},reverse:function(){for(var t,n=this,e=dn(n).length,r=Math.floor(e/2),o=0;o1?arguments[1]:void 0)},sort:function(t){return Xt.call(dn(this),t)},subarray:function(t,n){var e=dn(this),r=e.length,o=F(t,r);return new(J(e,e[on]))(e.buffer,e.byteOffset+o*e.BYTES_PER_ELEMENT,O((void 0===n?r:F(n,r))-o))}},En=function(t,n){return yn(this,Yt.call(dn(this),t,n))},Tn=function(t){dn(this);var n=vn(arguments[1],1),e=this.length,r=z(t),o=O(r.length),i=0;if(o+n>e)throw ht(fn);for(;i255?255:255&e),o.v[h](n*r+o.o,e,ln)},k=function(t,n){st(t,n,{get:function(){return w(this,n)},set:function(t){return _(this,n,t)},enumerable:!0})};g?(p=o(function(t,n,e,o){b(t,p,u,"_d");var i,c,a,f,s=0,l=0;if(C(n)){if(!(n instanceof _t||(f=R(n))==dt||f==gt))return cn in n?bn(p,n):wn.call(p,n);i=n,l=vn(e,r);var h=n.byteLength;if(void 0===o){if(h%r)throw ht(fn);if(c=h-l,c<0)throw ht(fn)}else if(c=O(o)*r,c+l>h)throw ht(fn);a=c/r}else a=pn(n,!0),c=a*r,i=new _t(c);for(S(t,"_d",{b:i,o:l,l:c,e:a,v:new St(i)});s=e.length)return{value:void 0,done:!0};while(!((t=e[n._i++])in n._t));return{value:t,done:!1}}),n(n.S,"Reflect",{enumerate:function(t){return new r(t)}})}),n(function(t){function n(t,o){var u,a,f=arguments.length<3?t:arguments[2];return s(t)===f?t[o]:(u=e.f(t,o))?i(u,"value")?u.value:void 0!==u.get?u.get.call(f):void 0:c(a=r(t))?n(a,o,f):void 0}var e=Y,r=$,i=o,u=w,c=a,s=f;u(u.S,"Reflect",{get:n})}),n(function(t){var n=Y,e=w,r=f;e(e.S,"Reflect",{getOwnPropertyDescriptor:function(t,e){return n.f(r(t),e)}})}),n(function(t){var n=w,e=$,r=f;n(n.S,"Reflect",{getPrototypeOf:function(t){return e(r(t))}})}),n(function(t){var n=w;n(n.S,"Reflect",{has:function(t,n){return n in t}})}),n(function(t){var n=w,e=f,r=Object.isExtensible;n(n.S,"Reflect",{isExtensible:function(t){return e(t),!r||r(t)}})}),n(function(t){var n=X,e=W,o=f,i=r.Reflect;t.exports=i&&i.ownKeys||function(t){var r=n.f(o(t)),i=e.f;return i?r.concat(i(t)):r}})),cn=(n(function(t){var n=w;n(n.S,"Reflect",{ownKeys:un})}),n(function(t){var n=w,e=f,r=Object.preventExtensions;n(n.S,"Reflect",{preventExtensions:function(t){e(t);try{return r&&r(t),!0}catch(t){return!1}}})}),n(function(t){function n(t,o,c){var a,f,p=arguments.length<4?t:arguments[3],v=r.f(l(t),o);if(!v){if(h(f=i(t)))return n(f,o,c,p);v=s(0)}return u(v,"value")?!(v.writable===!1||!h(p))&&(a=r.f(p,o)||s(0),a.value=c,e.f(p,o,a),!0):void 0!==v.set&&(v.set.call(p,c),!0)}var e=p,r=Y,i=$,u=o,c=w,s=v,l=f,h=a;c(c.S,"Reflect",{set:n})}),n(function(t){var n=w,e=et;e&&n(n.S,"Reflect",{setPrototypeOf:function(t,n){e.check(t,n);try{return e.set(t,n),!0}catch(t){return!1}}})}),n(function(t){t.exports=c})),an=n(function(t){var n=Qt,e=w,r=S("metadata"),o=r.store||(r.store=new nn),i=function(t,e,r){var i=o.get(t);if(!i){if(!r)return;o.set(t,i=new n)}var u=i.get(e);if(!u){if(!r)return;i.set(e,u=new n)}return u},u=function(t,n,e){var r=i(n,e,!1);return void 0!==r&&r.has(t)},c=function(t,n,e){var r=i(n,e,!1); +return void 0===r?void 0:r.get(t)},a=function(t,n,e,r){i(e,r,!0).set(t,n)},f=function(t,n){var e=i(t,n,!1),r=[];return e&&e.forEach(function(t,n){r.push(n)}),r},s=function(t){return void 0===t||"symbol"==typeof t?t:String(t)},l=function(t){e(e.S,"Reflect",t)};t.exports={store:o,map:i,has:u,get:c,set:a,keys:f,key:s,exp:l}}),fn=(n(function(t){var n=an,e=f,r=n.key,o=n.set;n.exp({defineMetadata:function(t,n,i,u){o(t,n,e(i),r(u))}})}),n(function(t){var n=an,e=f,r=n.key,o=n.map,i=n.store;n.exp({deleteMetadata:function(t,n){var u=arguments.length<3?void 0:r(arguments[2]),c=o(e(n),u,!1);if(void 0===c||!c.delete(t))return!1;if(c.size)return!0;var a=i.get(n);return a.delete(u),!!a.size||i.delete(n)}})}),n(function(t){var n=an,e=f,r=$,o=n.has,i=n.get,u=n.key,c=function(t,n,e){var u=o(t,n,e);if(u)return i(t,n,e);var a=r(n);return null!==a?c(t,a,e):void 0};n.exp({getMetadata:function(t,n){return c(t,e(n),arguments.length<3?void 0:u(arguments[2]))}})}),n(function(t){var n=qt;t.exports=function(t,e){var r=[];return n(t,!1,r.push,r,e),r}}));n(function(t){var n=$t,e=fn,r=an,o=f,i=$,u=r.keys,c=r.key,a=function(t,r){var o=u(t,r),c=i(t);if(null===c)return o;var f=a(c,r);return f.length?o.length?e(new n(o.concat(f))):f:o};r.exp({getMetadataKeys:function(t){return a(o(t),arguments.length<2?void 0:c(arguments[1]))}})}),n(function(t){var n=an,e=f,r=n.get,o=n.key;n.exp({getOwnMetadata:function(t,n){return r(t,e(n),arguments.length<3?void 0:o(arguments[2]))}})}),n(function(t){var n=an,e=f,r=n.keys,o=n.key;n.exp({getOwnMetadataKeys:function(t){return r(e(t),arguments.length<2?void 0:o(arguments[1]))}})}),n(function(t){var n=an,e=f,r=$,o=n.has,i=n.key,u=function(t,n,e){var i=o(t,n,e);if(i)return!0;var c=r(n);return null!==c&&u(t,c,e)};n.exp({hasMetadata:function(t,n){return u(t,e(n),arguments.length<3?void 0:i(arguments[2]))}})}),n(function(t){var n=an,e=f,r=n.has,o=n.key;n.exp({hasOwnMetadata:function(t,n){return r(t,e(n),arguments.length<3?void 0:o(arguments[2]))}})}),n(function(t){var n=an,e=f,r=b,o=n.key,i=n.set;n.exp({metadata:function(t,n){return function(u,c){i(t,n,(void 0!==c?e:r)(u),o(c))}}})}),n(function(t){t.exports=c.Reflect}),n(function(t){function n(t,n){for(var e=t.length-1;e>=0;e--)"function"==typeof t[e]&&(t[e]=Zone.current.wrap(t[e],n+"_"+e));return t}function r(t,e){for(var r=t.constructor.name,o=function(o){var i=e[o],u=t[i];u&&(t[i]=function(t){return function(){return t.apply(this,n(arguments,r+"."+i))}}(u))},i=0;i1?new n(t,e):new n(t),u=Object.getOwnPropertyDescriptor(o,"onmessage");return u&&u.configurable===!1?(r=Object.create(o),["addEventListener","removeEventListener","send","close"].forEach(function(t){r[t]=function(){return o[t].apply(o,arguments)}})):r=o,i(r,["close","error","message","open"]),r};for(var e in n)t.WebSocket[e]=n[e]}function x(t){if(!I){var n="undefined"!=typeof WebSocket;E()?(A&&i(HTMLElement.prototype,G),i(XMLHttpRequest.prototype,null),"undefined"!=typeof IDBIndex&&(i(IDBIndex.prototype,null),i(IDBRequest.prototype,null),i(IDBOpenDBRequest.prototype,null),i(IDBDatabase.prototype,null),i(IDBTransaction.prototype,null),i(IDBCursor.prototype,null)),n&&i(WebSocket.prototype,null)):(T(),p("XMLHttpRequest"),n&&k(t))}}function E(){if(A&&!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 n=new XMLHttpRequest,e=!!n.onreadystatechange;return Object.defineProperty(XMLHttpRequest.prototype,"onreadystatechange",{}),e}function T(){for(var t=function(t){var n=G[t],e="on"+n;document.addEventListener(n,function(t){var n,r,o=t.target;for(r=o?o.constructor.name+"."+e:"unknown."+e;o;)o[e]&&!o[e][X]&&(n=Zone.current.wrap(o[e],r),n[X]=o[e],o[e]=n),o=o.parentElement},!0)},n=0;n",this._properties=n&&n.properties||{},this._zoneDelegate=new d(this,this._parent&&this._parent._zoneDelegate,n)}return e.assertZonePatched=function(){if(t.Promise!==A)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,"current",{get:function(){return w},enumerable:!0,configurable:!0}),Object.defineProperty(e,"currentTask",{get:function(){return _},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 n=this.getZoneWith(t);if(n)return n._properties[t]},e.prototype.getZoneWith=function(t){for(var n=this;n;){if(n._properties.hasOwnProperty(t))return n;n=n._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,n){if("function"!=typeof t)throw new Error("Expecting function got: "+t);var e=this._zoneDelegate.intercept(this,t,n),r=this;return function(){return r.runGuarded(e,this,arguments,n)}},e.prototype.run=function(t,n,e,r){void 0===n&&(n=null),void 0===e&&(e=null),void 0===r&&(r=null);var o=w;w=this;try{return this._zoneDelegate.invoke(this,t,n,e,r)}finally{w=o}},e.prototype.runGuarded=function(t,n,e,r){void 0===n&&(n=null),void 0===e&&(e=null),void 0===r&&(r=null);var o=w;w=this;try{try{return this._zoneDelegate.invoke(this,t,n,e,r)}catch(t){if(this._zoneDelegate.handleError(this,t))throw t}}finally{w=o}},e.prototype.runTask=function(t,n,e){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=_;_=t;var o=w;w=this;try{"macroTask"==t.type&&t.data&&!t.data.isPeriodic&&(t.cancelFn=null);try{return this._zoneDelegate.invokeTask(this,t,n,e)}catch(t){if(this._zoneDelegate.handleError(this,t))throw t}}finally{w=o,_=r}},e.prototype.scheduleMicroTask=function(t,n,e,r){return this._zoneDelegate.scheduleTask(this,new g("microTask",this,t,n,e,r,null))},e.prototype.scheduleMacroTask=function(t,n,e,r,o){return this._zoneDelegate.scheduleTask(this,new g("macroTask",this,t,n,e,r,o))},e.prototype.scheduleEventTask=function(t,n,e,r,o){return this._zoneDelegate.scheduleTask(this,new g("eventTask",this,t,n,e,r,o))},e.prototype.cancelTask=function(t){var n=this._zoneDelegate.cancelTask(this,t);return t.runCount=-1,t.cancelFn=null,n},e.__symbol__=n,e}(),d=function(){function t(t,n,e){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=t,this._parentDelegate=n,this._forkZS=e&&(e&&e.onFork?e:n._forkZS),this._forkDlgt=e&&(e.onFork?n:n._forkDlgt),this._interceptZS=e&&(e.onIntercept?e:n._interceptZS),this._interceptDlgt=e&&(e.onIntercept?n:n._interceptDlgt),this._invokeZS=e&&(e.onInvoke?e:n._invokeZS),this._invokeDlgt=e&&(e.onInvoke?n:n._invokeDlgt),this._handleErrorZS=e&&(e.onHandleError?e:n._handleErrorZS),this._handleErrorDlgt=e&&(e.onHandleError?n:n._handleErrorDlgt),this._scheduleTaskZS=e&&(e.onScheduleTask?e:n._scheduleTaskZS),this._scheduleTaskDlgt=e&&(e.onScheduleTask?n:n._scheduleTaskDlgt),this._invokeTaskZS=e&&(e.onInvokeTask?e:n._invokeTaskZS),this._invokeTaskDlgt=e&&(e.onInvokeTask?n:n._invokeTaskDlgt),this._cancelTaskZS=e&&(e.onCancelTask?e:n._cancelTaskZS),this._cancelTaskDlgt=e&&(e.onCancelTask?n:n._cancelTaskDlgt),this._hasTaskZS=e&&(e.onHasTask?e:n._hasTaskZS),this._hasTaskDlgt=e&&(e.onHasTask?n:n._hasTaskDlgt)}return t.prototype.fork=function(t,n){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,t,n):new v(t,n)},t.prototype.intercept=function(t,n,e){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this.zone,t,n,e):n},t.prototype.invoke=function(t,n,e,r,o){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this.zone,t,n,e,r,o):n.apply(e,r)},t.prototype.handleError=function(t,n){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this.zone,t,n)},t.prototype.scheduleTask=function(t,n){try{if(this._scheduleTaskZS)return this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this.zone,t,n);if(n.scheduleFn)n.scheduleFn(n);else{if("microTask"!=n.type)throw new Error("Task is missing scheduleFn.");r(n)}return n}finally{t==this.zone&&this._updateTaskCount(n.type,1)}},t.prototype.invokeTask=function(t,n,e,r){try{return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this.zone,t,n,e,r):n.callback.apply(e,r)}finally{t!=this.zone||"eventTask"==n.type||n.data&&n.data.isPeriodic||this._updateTaskCount(n.type,-1)}},t.prototype.cancelTask=function(t,n){var e;if(this._cancelTaskZS)e=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this.zone,t,n);else{if(!n.cancelFn)throw new Error("Task does not support cancellation, or is already canceled.");e=n.cancelFn(n)}return t==this.zone&&this._updateTaskCount(n.type,-1),e},t.prototype.hasTask=function(t,n){return this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this.zone,t,n)},t.prototype._updateTaskCount=function(t,n){var e=this._taskCounts,r=e[t],o=e[t]=r+n;if(o<0)throw new Error("More tasks executed then were scheduled.");if(0==r||0==o){var i={microTask:e.microTask>0,macroTask:e.macroTask>0,eventTask:e.eventTask>0,change:t};try{this.hasTask(this.zone,i)}finally{this._parentDelegate&&this._parentDelegate._updateTaskCount(t,n)}}},t}(),g=function(){function t(t,n,e,r,o,u,c){this.runCount=0,this.type=t,this.zone=n,this.source=e,this.data=o,this.scheduleFn=u,this.cancelFn=c,this.callback=r;var a=this;this.invoke=function(){E++;try{return n.runTask(a,this,arguments)}finally{1==E&&i(),E--}}}return t.prototype.toString=function(){return this.data&&"undefined"!=typeof this.data.handleId?this.data.handleId:this.toString()},t}(),y=n("setTimeout"),b=n("Promise"),m=n("then"),w=new v(null,null),_=null,S=[],k=!1,x=[],E=0,T=n("state"),O=n("value"),F="Promise.then",P=null,M=!0,j=!1,I=0,A=function(){function t(n){var e=this;if(!(e instanceof t))throw new Error("Must be an instanceof Promise.");e[T]=P,e[O]=[];try{n&&n(f(e,M),f(e,j))}catch(t){s(e,!1,t)}}return t.resolve=function(t){return s(new this(null),M,t)},t.reject=function(t){return s(new this(null),j,t)},t.race=function(t){function n(t){i&&(i=r(t))}function e(t){i&&(i=o(t))}for(var r,o,i=new this(function(t,n){r=t,o=n}),c=0,a=t;c0?e:n)(t)}}),o=n(function(t){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}}),i=n(function(t){var n=r,e=o;t.exports=function(t){return function(r,o){var i,u,c=String(e(r)),a=n(o),f=c.length;return a<0||a>=f?t?"":void 0:(i=c.charCodeAt(a),i<55296||i>56319||a+1===f||(u=c.charCodeAt(a+1))<56320||u>57343?t?c.charAt(a):i:t?c.slice(a,a+2):(i-55296<<10)+(u-56320)+65536)}}}),u=n(function(t){t.exports=!1}),c=n(function(t){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)}),a=n(function(t){var n=t.exports={version:"2.4.0"};"number"==typeof __e&&(__e=n)}),f=n(function(t){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}}),s=n(function(t){var n=f;t.exports=function(t){if(!n(t))throw TypeError(t+" is not an object!");return t}}),l=n(function(t){t.exports=function(t){try{return!!t()}catch(t){return!0}}}),p=n(function(t){t.exports=!l(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})}),h=n(function(t){var n=f,e=c.document,r=n(e)&&n(e.createElement);t.exports=function(t){return r?e.createElement(t):{}}}),v=n(function(t){t.exports=!p&&!l(function(){return 7!=Object.defineProperty(h("div"),"a",{get:function(){return 7}}).a})}),d=n(function(t){var n=f;t.exports=function(t,e){if(!n(t))return t;var r,o;if(e&&"function"==typeof(r=t.toString)&&!n(o=r.call(t)))return o;if("function"==typeof(r=t.valueOf)&&!n(o=r.call(t)))return o;if(!e&&"function"==typeof(r=t.toString)&&!n(o=r.call(t)))return o;throw TypeError("Can't convert object to primitive value")}}),y=n(function(t,n){var e=s,r=v,o=d,i=Object.defineProperty;n.f=p?Object.defineProperty:function(t,n,u){if(e(t),n=o(n,!0),e(u),r)try{return i(t,n,u)}catch(t){}if("get"in u||"set"in u)throw TypeError("Accessors not supported!");return"value"in u&&(t[n]=u.value),t}}),g=n(function(t){t.exports=function(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}}}),b=n(function(t){var n=y,e=g;t.exports=p?function(t,r,o){return n.f(t,r,e(1,o))}:function(t,n,e){return t[n]=e,t}}),m=n(function(t){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}}),_=n(function(t){var n=0,e=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+e).toString(36))}}),k=n(function(t){var n=c,e=b,r=m,o=_("src"),i="toString",u=Function[i],f=(""+u).split(i);a.inspectSource=function(t){return u.call(t)},(t.exports=function(t,i,u,c){var a="function"==typeof u;a&&(r(u,"name")||e(u,"name",i)),t[i]!==u&&(a&&(r(u,o)||e(u,o,t[i]?""+t[i]:f.join(String(i)))),t===n?t[i]=u:c?t[i]?t[i]=u:e(t,i,u):(delete t[i],e(t,i,u)))})(Function.prototype,i,function(){return"function"==typeof this&&this[o]||u.call(this)})}),w=n(function(t){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}}),S=n(function(t){var n=w;t.exports=function(t,e,r){if(n(t),void 0===e)return t;switch(r){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)}}}),x=n(function(t){var n=c,e=a,r=b,o=k,i=S,u="prototype",f=function(t,c,a){var s,l,p,h,v=t&f.F,d=t&f.G,y=t&f.S,g=t&f.P,b=t&f.B,m=d?n:y?n[c]||(n[c]={}):(n[c]||{})[u],_=d?e:e[c]||(e[c]={}),k=_[u]||(_[u]={});d&&(a=c);for(s in a)l=!v&&m&&void 0!==m[s],p=(l?m:a)[s],h=b&&l?i(p,n):g&&"function"==typeof p?i(Function.call,p):p,m&&o(m,s,p,t&f.U),_[s]!=p&&r(_,s,h),g&&k[s]!=p&&(k[s]=p)};n.core=e,f.F=1,f.G=2,f.S=4,f.P=8,f.B=16,f.W=32,f.U=64,f.R=128,t.exports=f}),T=n(function(t){t.exports={}}),O=n(function(t){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}}),E=n(function(t){var n=O;t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==n(t)?t.split(""):Object(t)}}),P=n(function(t){var n=E,e=o;t.exports=function(t){return n(e(t))}}),j=n(function(t){var n=r,e=Math.min;t.exports=function(t){return t>0?e(n(t),9007199254740991):0}}),F=n(function(t){var n=r,e=Math.max,o=Math.min;t.exports=function(t,r){return t=n(t),t<0?e(t+r,0):o(t,r)}}),I=n(function(t){var n=P,e=j,r=F;t.exports=function(t){return function(o,i,u){var c,a=n(o),f=e(a.length),s=r(u,f);if(t&&i!=i){for(;f>s;)if(c=a[s++],c!=c)return!0}else for(;f>s;s++)if((t||s in a)&&a[s]===i)return t||s||0;return!t&&-1}}}),D=n(function(t){var n=c,e="__core-js_shared__",r=n[e]||(n[e]={});t.exports=function(t){return r[t]||(r[t]={})}}),M=n(function(t){var n=D("keys"),e=_;t.exports=function(t){return n[t]||(n[t]=e(t))}}),A=n(function(t){var n=m,e=P,r=I(!1),o=M("IE_PROTO");t.exports=function(t,i){var u,c=e(t),a=0,f=[];for(u in c)u!=o&&n(c,u)&&f.push(u);for(;i.length>a;)n(c,u=i[a++])&&(~r(f,u)||f.push(u));return f}}),N=n(function(t){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")}),R=n(function(t){var n=A,e=N;t.exports=Object.keys||function(t){return n(t,e)}}),C=n(function(t){var n=y,e=s,r=R;t.exports=p?Object.defineProperties:function(t,o){e(t);for(var i,u=r(o),c=u.length,a=0;c>a;)n.f(t,i=u[a++],o[i]);return t}}),z=n(function(t){t.exports=c.document&&document.documentElement}),Z=n(function(t){var n=s,e=C,r=N,o=M("IE_PROTO"),i=function(){},u="prototype",c=function(){var t,n=h("iframe"),e=r.length,o="<",i=">";for(n.style.display="none",z.appendChild(n),n.src="javascript:",t=n.contentWindow.document,t.open(),t.write(o+"script"+i+"document.F=Object"+o+"/script"+i),t.close(),c=t.F;e--;)delete c[u][r[e]];return c()};t.exports=Object.create||function(t,r){var a;return null!==t?(i[u]=n(t),a=new i,i[u]=null,a[o]=t):a=c(),void 0===r?a:e(a,r)}}),L=n(function(t){var n=D("wks"),e=_,r=c.Symbol,o="function"==typeof r,i=t.exports=function(t){return n[t]||(n[t]=o&&r[t]||(o?r:e)("Symbol."+t))};i.store=n}),W=n(function(t){var n=y.f,e=m,r=L("toStringTag");t.exports=function(t,o,i){t&&!e(t=i?t:t.prototype,r)&&n(t,r,{configurable:!0,value:o})}}),H=n(function(t){var n=Z,e=g,r=W,o={};b(o,L("iterator"),function(){return this}),t.exports=function(t,i,u){t.prototype=n(o,{next:e(1,u)}),r(t,i+" Iterator")}}),B=n(function(t){var n=o;t.exports=function(t){return Object(n(t))}}),q=n(function(t){var n=m,e=B,r=M("IE_PROTO"),o=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=e(t),n(t,r)?t[r]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?o:null}}),G=n(function(t){var n=u,e=x,r=k,o=b,i=m,c=T,a=H,f=W,s=q,l=L("iterator"),p=!([].keys&&"next"in[].keys()),h="@@iterator",v="keys",d="values",y=function(){return this};t.exports=function(t,u,g,b,m,_,k){a(g,u,b);var w,S,x,T=function(t){if(!p&&t in j)return j[t];switch(t){case v:return function(){return new g(this,t)};case d:return function(){return new g(this,t)}}return function(){return new g(this,t)}},O=u+" Iterator",E=m==d,P=!1,j=t.prototype,F=j[l]||j[h]||m&&j[m],I=F||T(m),D=m?E?T("entries"):I:void 0,M="Array"==u?j.entries||F:F;if(M&&(x=s(M.call(new t)),x!==Object.prototype&&(f(x,O,!0),n||i(x,l)||o(x,l,y))),E&&F&&F.name!==d&&(P=!0,I=function(){return F.call(this)}),n&&!k||!p&&!P&&j[l]||o(j,l,I),c[u]=I,c[O]=y,m)if(w={values:E?I:T(d),keys:_?I:T(v),entries:D},k)for(S in w)S in j||r(j,S,w[S]);else e(e.P+e.F*(p||P),u,w);return w}}),U=(n(function(t){var n=i(!0);G(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,e=this._t,r=this._i;return r>=e.length?{value:void 0,done:!0}:(t=n(e,r),this._i+=t.length,{value:t,done:!1})})}),n(function(t){var n=O;t.exports=Array.isArray||function(t){return"Array"==n(t)}})),X=(n(function(t){var n=x;n(n.S,"Array",{isArray:U})}),n(function(t){var n=s;t.exports=function(t,e,r,o){try{return o?e(n(r)[0],r[1]):e(r)}catch(e){var i=t.return;throw void 0!==i&&n(i.call(t)),e}}})),K=n(function(t){var n=T,e=L("iterator"),r=Array.prototype;t.exports=function(t){return void 0!==t&&(n.Array===t||r[e]===t)}}),J=n(function(t){var n=y,e=g;t.exports=function(t,r,o){r in t?n.f(t,r,e(0,o)):t[r]=o}}),V=n(function(t){var n=O,e=L("toStringTag"),r="Arguments"==n(function(){return arguments}()),o=function(t,n){try{return t[n]}catch(t){}};t.exports=function(t){var i,u,c;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(u=o(i=Object(t),e))?u:r?n(i):"Object"==(c=n(i))&&"function"==typeof i.callee?"Arguments":c}}),Y=n(function(t){var n=V,e=L("iterator"),r=T;t.exports=a.getIteratorMethod=function(t){if(void 0!=t)return t[e]||t["@@iterator"]||r[n(t)]}}),Q=n(function(t){var n=L("iterator"),e=!1;try{var r=[7][n]();r.return=function(){e=!0},Array.from(r,function(){throw 2})}catch(t){}t.exports=function(t,r){if(!r&&!e)return!1;var o=!1;try{var i=[7],u=i[n]();u.next=function(){return{done:o=!0}},i[n]=function(){return u},t(i)}catch(t){}return o}}),$=(n(function(t){var n=S,e=x,r=B,o=X,i=K,u=j,c=J,a=Y;e(e.S+e.F*!Q(function(t){Array.from(t)}),"Array",{from:function(t){var e,f,s,l,p=r(t),h="function"==typeof this?this:Array,v=arguments.length,d=v>1?arguments[1]:void 0,y=void 0!==d,g=0,b=a(p);if(y&&(d=n(d,v>2?arguments[2]:void 0,2)),void 0==b||h==Array&&i(b))for(e=u(p.length),f=new h(e);e>g;g++)c(f,g,y?d(p[g],g):p[g]);else for(l=b.call(p),f=new h;!(s=l.next()).done;g++)c(f,g,y?o(l,d,[s.value,g],!0):s.value);return f.length=g,f}})}),n(function(t){var n=x,e=J;n(n.S+n.F*l(function(){function t(){}return!(Array.of.call(t)instanceof t)}),"Array",{of:function(){for(var t=0,n=arguments.length,r=new("function"==typeof this?this:Array)(n);n>t;)e(r,t,arguments[t++]);return r.length=n,r}})}),n(function(t){var n=l;t.exports=function(t,e){return!!t&&n(function(){e?t.call(null,function(){},1):t.call(null)})}})),tt=(n(function(t){var n=x,e=P,r=[].join;n(n.P+n.F*(E!=Object||!$(r)),"Array",{join:function(t){return r.call(e(this),void 0===t?",":t)}})}),n(function(t){var n=x,e=z,r=O,o=F,i=j,u=[].slice;n(n.P+n.F*l(function(){e&&u.call(e)}),"Array",{slice:function(t,n){var e=i(this.length),c=r(this);if(n=void 0===n?e:n,"Array"==c)return u.call(this,t,n);for(var a=o(t,e),f=o(n,e),s=i(f-a),l=Array(s),p=0;pk;k++)if((p||k in b)&&(d=b[k],y=m(d,k,g),t))if(c)w[k]=y;else if(y)switch(t){case 3:return!0;case 5:return d;case 6:return k;case 2:w.push(d)}else if(s)return!1;return l?-1:f||s?s:w}}}),rt=(n(function(t){var n=x,e=et(0),r=$([].forEach,!0);n(n.P+n.F*!r,"Array",{forEach:function(t){return e(this,t,arguments[1])}})}),n(function(t){var n=x,e=et(1);n(n.P+n.F*!$([].map,!0),"Array",{map:function(t){return e(this,t,arguments[1])}})}),n(function(t){var n=x,e=et(2);n(n.P+n.F*!$([].filter,!0),"Array",{filter:function(t){return e(this,t,arguments[1])}})}),n(function(t){var n=x,e=et(3);n(n.P+n.F*!$([].some,!0),"Array",{some:function(t){return e(this,t,arguments[1])}})}),n(function(t){var n=x,e=et(4);n(n.P+n.F*!$([].every,!0),"Array",{every:function(t){return e(this,t,arguments[1])}})}),n(function(t){var n=w,e=B,r=E,o=j;t.exports=function(t,i,u,c,a){n(i);var f=e(t),s=r(f),l=o(f.length),p=a?l-1:0,h=a?-1:1;if(u<2)for(;;){if(p in s){c=s[p],p+=h;break}if(p+=h,a?p<0:l<=p)throw TypeError("Reduce of empty array with no initial value")}for(;a?p>=0:l>p;p+=h)p in s&&(c=i(c,s[p],p,f));return c}})),ot=(n(function(t){var n=x,e=rt;n(n.P+n.F*!$([].reduce,!0),"Array",{reduce:function(t){return e(this,t,arguments.length,arguments[1],!1)}})}),n(function(t){var n=x,e=rt;n(n.P+n.F*!$([].reduceRight,!0),"Array",{reduceRight:function(t){return e(this,t,arguments.length,arguments[1],!0)}})}),n(function(t){var n=x,e=I(!1),r=[].indexOf,o=!!r&&1/[1].indexOf(1,-0)<0;n(n.P+n.F*(o||!$(r)),"Array",{indexOf:function(t){return o?r.apply(this,arguments)||0:e(this,t,arguments[1])}})}),n(function(t){var n=x,e=P,o=r,i=j,u=[].lastIndexOf,c=!!u&&1/[1].lastIndexOf(1,-0)<0;n(n.P+n.F*(c||!$(u)),"Array",{lastIndexOf:function(t){if(c)return u.apply(this,arguments)||0;var n=e(this),r=i(n.length),a=r-1;for(arguments.length>1&&(a=Math.min(a,o(arguments[1]))),a<0&&(a=r+a);a>=0;a--)if(a in n&&n[a]===t)return a||0;return-1}})}),n(function(t){var n=B,e=F,r=j;t.exports=[].copyWithin||function(t,o){var i=n(this),u=r(i.length),c=e(t,u),a=e(o,u),f=arguments.length>2?arguments[2]:void 0,s=Math.min((void 0===f?u:e(f,u))-a,u-c),l=1;for(a0;)a in i?i[c]=i[a]:delete i[c],c+=l,a+=l;return i}})),it=n(function(t){var n=L("unscopables"),e=Array.prototype;void 0==e[n]&&b(e,n,{}),t.exports=function(t){e[n][t]=!0}}),ut=(n(function(t){var n=x;n(n.P,"Array",{copyWithin:ot}),it("copyWithin")}),n(function(t){var n=B,e=F,r=j;t.exports=function(t){for(var o=n(this),i=r(o.length),u=arguments.length,c=e(u>1?arguments[1]:void 0,i),a=u>2?arguments[2]:void 0,f=void 0===a?i:e(a,i);f>c;)o[c++]=t;return o}})),ct=(n(function(t){var n=x;n(n.P,"Array",{fill:ut}),it("fill")}),n(function(t){var n=x,e=et(5),r="find",o=!0;r in[]&&Array(1)[r](function(){o=!1}),n(n.P+n.F*o,"Array",{find:function(t){return e(this,t,arguments.length>1?arguments[1]:void 0)}}),it(r)}),n(function(t){var n=x,e=et(6),r="findIndex",o=!0;r in[]&&Array(1)[r](function(){o=!1}),n(n.P+n.F*o,"Array",{findIndex:function(t){return e(this,t,arguments.length>1?arguments[1]:void 0)}}),it(r)}),n(function(t){var n=c,e=y,r=p,o=L("species");t.exports=function(t){var i=n[t];r&&i&&!i[o]&&e.f(i,o,{configurable:!0,get:function(){return this}})}})),at=(n(function(t){ct("Array")}),n(function(t){t.exports=function(t,n){return{value:n,done:!!t}}})),ft=n(function(t){var n=it,e=at,r=T,o=P;t.exports=G(Array,"Array",function(t,n){this._t=o(t),this._i=0,this._k=n},function(){var t=this._t,n=this._k,r=this._i++;return!t||r>=t.length?(this._t=void 0,e(1)):"keys"==n?e(0,r):"values"==n?e(0,t[r]):e(0,[r,t[r]])},"values"),r.Arguments=r.Array,n("keys"),n("values"),n("entries")}),st=n(function(t){t.exports=a.Array}),lt=(n(function(t){var n=x;n(n.S,"Date",{now:function(){return(new Date).getTime()}})}),n(function(t){var n=x,e=B,r=d;n(n.P+n.F*l(function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})}),"Date",{toJSON:function(t){var n=e(this),o=r(n);return"number"!=typeof o||isFinite(o)?n.toISOString():null}})}),n(function(t){var n=x,e=l,r=Date.prototype.getTime,o=function(t){return t>9?t:"0"+t};n(n.P+n.F*(e(function(){return"0385-07-25T07:06:39.999Z"!=new Date(-5e13-1).toISOString()})||!e(function(){new Date(NaN).toISOString()})),"Date",{toISOString:function(){if(!isFinite(r.call(this)))throw RangeError("Invalid time value");var t=this,n=t.getUTCFullYear(),e=t.getUTCMilliseconds(),i=n<0?"-":n>9999?"+":"";return i+("00000"+Math.abs(n)).slice(i?-6:-4)+"-"+o(t.getUTCMonth()+1)+"-"+o(t.getUTCDate())+"T"+o(t.getUTCHours())+":"+o(t.getUTCMinutes())+":"+o(t.getUTCSeconds())+"."+(e>99?e:"0"+o(e))+"Z"}})}),n(function(t){var n=Date.prototype,e="Invalid Date",r="toString",o=n[r],i=n.getTime;new Date(NaN)+""!=e&&k(n,r,function(){var t=i.call(this);return t===t?o.call(this):e})}),n(function(t){var n=s,e=d,r="number";t.exports=function(t){if("string"!==t&&t!==r&&"default"!==t)throw TypeError("Incorrect hint");return e(n(this),t!=r)}})),pt=(n(function(t){var n=L("toPrimitive"),e=Date.prototype;n in e||b(e,n,lt)}),n(function(t){t.exports=Date}),n(function(t){t.exports=function(t,n,e){var r=void 0===e;switch(n.length){case 0:return r?t():t.call(e);case 1:return r?t(n[0]):t.call(e,n[0]);case 2:return r?t(n[0],n[1]):t.call(e,n[0],n[1]);case 3:return r?t(n[0],n[1],n[2]):t.call(e,n[0],n[1],n[2]);case 4:return r?t(n[0],n[1],n[2],n[3]):t.call(e,n[0],n[1],n[2],n[3])}return t.apply(e,n)}})),ht=n(function(t){var n=w,e=f,r=pt,o=[].slice,i={},u=function(t,n,e){if(!(n in i)){for(var r=[],o=0;om;m++)if(y=f?b(o(v=t[m])[0],v[1]):b(t[m]),y===c||y===a)return y}else for(d=g.call(t);!(v=d.next()).done;)if(y=e(d,b,v.value,f),y===c||y===a)return y};f.BREAK=c,f.RETURN=a}),gt=n(function(t){var n=_("meta"),e=f,r=m,o=y.f,i=0,u=Object.isExtensible||function(){return!0},c=!l(function(){return u(Object.preventExtensions({}))}),a=function(t){o(t,n,{value:{i:"O"+ ++i,w:{}}})},s=function(t,o){if(!e(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!r(t,n)){if(!u(t))return"F";if(!o)return"E";a(t)}return t[n].i},p=function(t,e){if(!r(t,n)){if(!u(t))return!0;if(!e)return!1;a(t)}return t[n].w},h=function(t){return c&&v.NEED&&u(t)&&!r(t,n)&&a(t),t},v=t.exports={KEY:n,NEED:!1,fastKey:s,getWeak:p,onFreeze:h}}),bt=n(function(t){var n=y.f,e=Z,r=vt,i=S,u=dt,c=o,a=yt,f=G,s=at,l=ct,h=p,v=gt.fastKey,d=h?"_s":"size",g=function(t,n){var e,r=v(n);if("F"!==r)return t._i[r];for(e=t._f;e;e=e.n)if(e.k==n)return e};t.exports={getConstructor:function(t,o,f,s){var l=t(function(t,n){u(t,l,o,"_i"),t._i=e(null),t._f=void 0,t._l=void 0,t[d]=0,void 0!=n&&a(n,f,t[s],t)});return r(l.prototype,{clear:function(){for(var t=this,n=t._i,e=t._f;e;e=e.n)e.r=!0,e.p&&(e.p=e.p.n=void 0),delete n[e.i];t._f=t._l=void 0,t[d]=0},delete:function(t){var n=this,e=g(n,t);if(e){var r=e.n,o=e.p;delete n._i[e.i],e.r=!0,o&&(o.n=r),r&&(r.p=o),n._f==e&&(n._f=r),n._l==e&&(n._l=o),n[d]--}return!!e},forEach:function(t){u(this,l,"forEach");for(var n,e=i(t,arguments.length>1?arguments[1]:void 0,3);n=n?n.n:this._f;)for(e(n.v,n.k,this);n&&n.r;)n=n.p},has:function(t){return!!g(this,t)}}),h&&n(l.prototype,"size",{get:function(){return c(this[d])}}),l},def:function(t,n,e){var r,o,i=g(t,n);return i?i.v=e:(t._l=i={i:o=v(n,!0),k:n,v:e,p:r=t._l,n:void 0,r:!1},t._f||(t._f=i),r&&(r.n=i),t[d]++,"F"!==o&&(t._i[o]=i)),t},getEntry:g,setStrong:function(t,n,e){f(t,n,function(t,n){this._t=t,this._k=n,this._l=void 0},function(){for(var t=this,n=t._k,e=t._l;e&&e.r;)e=e.p;return t._t&&(t._l=e=e?e.n:t._t._f)?"keys"==n?s(0,e.k):"values"==n?s(0,e.v):s(0,[e.k,e.v]):(t._t=void 0,s(1))},e?"entries":"values",!e,!0),l(n)}}}),mt=n(function(t,n){n.f={}.propertyIsEnumerable}),_t=n(function(t,n){var e=mt,r=g,o=P,i=d,u=m,c=v,a=Object.getOwnPropertyDescriptor;n.f=p?a:function(t,n){if(t=o(t),n=i(n,!0),c)try{return a(t,n)}catch(t){}if(u(t,n))return r(!e.f.call(t,n),t[n])}}),kt=n(function(t){var n=f,e=s,r=function(t,r){if(e(t),!n(r)&&null!==r)throw TypeError(r+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,n,e){try{e=S(Function.call,_t.f(Object.prototype,"__proto__").set,2),e(t,[]),n=!(t instanceof Array)}catch(t){n=!0}return function(t,o){return r(t,o),n?t.__proto__=o:e(t,o),t}}({},!1):void 0),check:r}}),wt=n(function(t){var n=f,e=kt.set;t.exports=function(t,r,o){var i,u=r.constructor;return u!==o&&"function"==typeof u&&(i=u.prototype)!==o.prototype&&n(i)&&e&&e(t,i),t}}),St=n(function(t){var n=c,e=x,r=k,o=vt,i=gt,u=yt,a=dt,s=f,p=l,h=Q,v=W,d=wt;t.exports=function(t,c,f,l,y,g){var b=n[t],m=b,_=y?"set":"add",k=m&&m.prototype,w={},S=function(t){var n=k[t];r(k,t,"delete"==t?function(t){return!(g&&!s(t))&&n.call(this,0===t?0:t)}:"has"==t?function(t){return!(g&&!s(t))&&n.call(this,0===t?0:t)}:"get"==t?function(t){return g&&!s(t)?void 0:n.call(this,0===t?0:t)}:"add"==t?function(t){return n.call(this,0===t?0:t),this}:function(t,e){return n.call(this,0===t?0:t,e),this})};if("function"==typeof m&&(g||k.forEach&&!p(function(){(new m).entries().next()}))){var x=new m,T=x[_](g?{}:-0,1)!=x,O=p(function(){x.has(1)}),E=h(function(t){new m(t)}),P=!g&&p(function(){for(var t=new m,n=5;n--;)t[_](n,n);return!t.has(-0)});E||(m=c(function(n,e){a(n,m,t);var r=d(new b,n,m);return void 0!=e&&u(e,y,r[_],r),r}),m.prototype=k,k.constructor=m),(O||P)&&(S("delete"),S("has"),y&&S("get")),(P||T)&&S(_),g&&k.clear&&delete k.clear}else m=l.getConstructor(c,t,y,_),o(m.prototype,f),i.NEED=!0;return v(m,t),w[t]=m,e(e.G+e.W+e.F*(m!=b),w),g||l.setStrong(m,t,y),m}}),xt=n(function(t){var n=bt;t.exports=St("Map",function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},{get:function(t){var e=n.getEntry(this,t);return e&&e.v},set:function(t,e){return n.def(this,0===t?0:t,e)}},n,!0)}),Tt=(n(function(t){t.exports=a.Map}),n(function(t,n){var e=A,r=N.concat("length","prototype");n.f=Object.getOwnPropertyNames||function(t){return e(t,r)}})),Ot=n(function(t){t.exports="\t\n\v\f\r   ᠎              \u2028\u2029\ufeff"}),Et=n(function(t){var n=x,e=o,r=l,i=Ot,u="["+i+"]",c="​…",a=RegExp("^"+u+u+"*"),f=RegExp(u+u+"*$"),s=function(t,e,o){var u={},a=r(function(){return!!i[t]()||c[t]()!=c}),f=u[t]=a?e(p):i[t];o&&(u[o]=f),n(n.P+n.F*a,"String",u)},p=s.trim=function(t,n){return t=String(e(t)),1&n&&(t=t.replace(a,"")),2&n&&(t=t.replace(f,"")),t};t.exports=s}),Pt=(n(function(t){var n=c,e=m,r=O,o=wt,i=d,u=l,a=Tt.f,f=_t.f,s=y.f,h=Et.trim,v="Number",g=n[v],b=g,_=g.prototype,w=r(Z(_))==v,S="trim"in String.prototype,x=function(t){var n=i(t,!1);if("string"==typeof n&&n.length>2){n=S?n.trim():h(n,3);var e,r,o,u=n.charCodeAt(0);if(43===u||45===u){if(e=n.charCodeAt(2),88===e||120===e)return NaN}else if(48===u){switch(n.charCodeAt(1)){case 66:case 98:r=2,o=49;break;case 79:case 111:r=8,o=55;break;default:return+n}for(var c,a=n.slice(2),f=0,s=a.length;fo)return NaN;return parseInt(a,r)}}return+n};if(!g(" 0o1")||!g("0b1")||g("+0x1")){g=function(t){var n=arguments.length<1?0:t,e=this;return e instanceof g&&(w?u(function(){_.valueOf.call(e)}):r(e)!=v)?o(new b(x(n)),e,g):x(n)};for(var T,E=p?a(b):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),P=0;E.length>P;P++)e(b,T=E[P])&&!e(g,T)&&s(g,T,f(b,T));g.prototype=_,_.constructor=g,k(n,v,g)}}),n(function(t){var n=O;t.exports=function(t,e){if("number"!=typeof t&&"Number"!=n(t))throw TypeError(e);return+t}})),jt=n(function(t){var n=r,e=o;t.exports=function(t){var r=String(e(this)),o="",i=n(t);if(i<0||i==1/0)throw RangeError("Count can't be negative");for(;i>0;(i>>>=1)&&(r+=r))1&i&&(o+=r);return o}}),Ft=(n(function(t){var n=x,e=r,o=Pt,i=jt,u=1..toFixed,c=Math.floor,a=[0,0,0,0,0,0],f="Number.toFixed: incorrect invocation!",s="0",p=function(t,n){for(var e=-1,r=n;++e<6;)r+=t*a[e],a[e]=r%1e7,r=c(r/1e7)},h=function(t){for(var n=6,e=0;--n>=0;)e+=a[n],a[n]=c(e/t),e=e%t*1e7},v=function(){for(var t=6,n="";--t>=0;)if(""!==n||0===t||0!==a[t]){var e=String(a[t]);n=""===n?e:n+i.call(s,7-e.length)+e}return n},d=function(t,n,e){return 0===n?e:n%2===1?d(t,n-1,e*t):d(t*t,n/2,e)},y=function(t){for(var n=0,e=t;e>=4096;)n+=12,e/=4096;for(;e>=2;)n+=1,e/=2;return n};n(n.P+n.F*(!!u&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!l(function(){u.call({})})),"Number",{toFixed:function(t){var n,r,u,c,a=o(this,f),l=e(t),g="",b=s;if(l<0||l>20)throw RangeError(f);if(a!=a)return"NaN";if(a<=-1e21||a>=1e21)return String(a);if(a<0&&(g="-",a=-a),a>1e-21)if(n=y(a*d(2,69,1))-69,r=n<0?a*d(2,-n,1):a/d(2,n,1),r*=4503599627370496,n=52-n,n>0){for(p(0,r),u=l;u>=7;)p(1e7,0),u-=7;for(p(d(10,u,1),0),u=n-1;u>=23;)h(1<<23),u-=23;h(1<0?(c=b.length,b=g+(c<=l?"0."+i.call(s,l-c)+b:b.slice(0,c-l)+"."+b.slice(c-l))):b=g+b,b}})}),n(function(t){var n=x,e=l,r=Pt,o=1..toPrecision;n(n.P+n.F*(e(function(){return"1"!==o.call(1,void 0)})||!e(function(){o.call({})})),"Number",{toPrecision:function(t){var n=r(this,"Number#toPrecision: incorrect invocation!");return void 0===t?o.call(n):o.call(n,t)}})}),n(function(t){var n=x;n(n.S,"Number",{EPSILON:Math.pow(2,-52)})}),n(function(t){var n=x,e=c.isFinite;n(n.S,"Number",{isFinite:function(t){return"number"==typeof t&&e(t)}})}),n(function(t){var n=f,e=Math.floor;t.exports=function(t){return!n(t)&&isFinite(t)&&e(t)===t}})),It=(n(function(t){var n=x;n(n.S,"Number",{isInteger:Ft})}),n(function(t){var n=x;n(n.S,"Number",{isNaN:function(t){return t!=t}})}),n(function(t){var n=x,e=Ft,r=Math.abs;n(n.S,"Number",{isSafeInteger:function(t){return e(t)&&r(t)<=9007199254740991}})}),n(function(t){var n=x;n(n.S,"Number",{MAX_SAFE_INTEGER:9007199254740991})}),n(function(t){var n=x;n(n.S,"Number",{MIN_SAFE_INTEGER:-9007199254740991})}),n(function(t){var n=c.parseFloat,e=Et.trim;t.exports=1/n(Ot+"-0")!==-(1/0)?function(t){var r=e(String(t),3),o=n(r);return 0===o&&"-"==r.charAt(0)?-0:o}:n})),Dt=(n(function(t){var n=x,e=It;n(n.S+n.F*(Number.parseFloat!=e),"Number",{parseFloat:e})}),n(function(t){var n=c.parseInt,e=Et.trim,r=Ot,o=/^[\-+]?0[xX]/;t.exports=8!==n(r+"08")||22!==n(r+"0x16")?function(t,r){var i=e(String(t),3);return n(i,r>>>0||(o.test(i)?16:10))}:n})),Mt=(n(function(t){var n=x,e=Dt;n(n.S+n.F*(Number.parseInt!=e),"Number",{parseInt:e})}),n(function(t){t.exports=a.Number}),n(function(t,n){n.f=L})),At=n(function(t){var n=c,e=a,r=u,o=Mt,i=y.f;t.exports=function(t){var u=e.Symbol||(e.Symbol=r?{}:n.Symbol||{});"_"==t.charAt(0)||t in u||i(u,t,{value:o.f(t)})}}),Nt=n(function(t){var n=R,e=P;t.exports=function(t,r){for(var o,i=e(t),u=n(i),c=u.length,a=0;c>a;)if(i[o=u[a++]]===r)return o}}),Rt=n(function(t,n){n.f=Object.getOwnPropertySymbols}),Ct=n(function(t){var n=R,e=Rt,r=mt;t.exports=function(t){var o=n(t),i=e.f;if(i)for(var u,c=i(t),a=r.f,f=0;c.length>f;)a.call(t,u=c[f++])&&o.push(u);return o}}),zt=n(function(t){var n=P,e=Tt.f,r={}.toString,o="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],i=function(t){try{return e(t)}catch(t){return o.slice()}};t.exports.f=function(t){return o&&"[object Window]"==r.call(t)?i(t):e(n(t))}}),Zt=(n(function(t){var n=c,e=m,r=p,o=x,i=k,a=gt.KEY,f=l,h=D,v=W,w=_,S=L,T=Mt,O=At,E=Nt,j=Ct,F=U,I=s,M=P,A=d,N=g,C=Z,z=zt,H=_t,B=y,q=R,G=H.f,X=B.f,K=z.f,J=n.Symbol,V=n.JSON,Y=V&&V.stringify,Q="prototype",$=S("_hidden"),tt=S("toPrimitive"),nt={}.propertyIsEnumerable,et=h("symbol-registry"),rt=h("symbols"),ot=h("op-symbols"),it=Object[Q],ut="function"==typeof J,ct=n.QObject,at=!ct||!ct[Q]||!ct[Q].findChild,ft=r&&f(function(){return 7!=C(X({},"a",{get:function(){return X(this,"a",{value:7}).a}})).a})?function(t,n,e){var r=G(it,n);r&&delete it[n],X(t,n,e),r&&t!==it&&X(it,n,r)}:X,st=function(t){var n=rt[t]=C(J[Q]);return n._k=t,n},lt=ut&&"symbol"==typeof J.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof J},pt=function(t,n,r){return t===it&&pt(ot,n,r),I(t),n=A(n,!0),I(r),e(rt,n)?(r.enumerable?(e(t,$)&&t[$][n]&&(t[$][n]=!1),r=C(r,{enumerable:N(0,!1)})):(e(t,$)||X(t,$,N(1,{})),t[$][n]=!0),ft(t,n,r)):X(t,n,r)},ht=function(t,n){I(t);for(var e,r=j(n=M(n)),o=0,i=r.length;i>o;)pt(t,e=r[o++],n[e]);return t},vt=function(t,n){return void 0===n?C(t):ht(C(t),n)},dt=function(t){var n=nt.call(this,t=A(t,!0));return!(this===it&&e(rt,t)&&!e(ot,t))&&(!(n||!e(this,t)||!e(rt,t)||e(this,$)&&this[$][t])||n)},yt=function(t,n){if(t=M(t),n=A(n,!0),t!==it||!e(rt,n)||e(ot,n)){var r=G(t,n);return!r||!e(rt,n)||e(t,$)&&t[$][n]||(r.enumerable=!0),r}},bt=function(t){for(var n,r=K(M(t)),o=[],i=0;r.length>i;)e(rt,n=r[i++])||n==$||n==a||o.push(n);return o},kt=function(t){for(var n,r=t===it,o=K(r?ot:M(t)),i=[],u=0;o.length>u;)!e(rt,n=o[u++])||r&&!e(it,n)||i.push(rt[n]);return i};ut||(J=function(){if(this instanceof J)throw TypeError("Symbol is not a constructor!");var t=w(arguments.length>0?arguments[0]:void 0),n=function(r){this===it&&n.call(ot,r),e(this,$)&&e(this[$],t)&&(this[$][t]=!1),ft(this,t,N(1,r))};return r&&at&&ft(it,t,{configurable:!0,set:n}),st(t)},i(J[Q],"toString",function(){return this._k}),H.f=yt,B.f=pt,Tt.f=z.f=bt,mt.f=dt,Rt.f=kt,r&&!u&&i(it,"propertyIsEnumerable",dt,!0),T.f=function(t){return st(S(t))}),o(o.G+o.W+o.F*!ut,{Symbol:J});for(var wt="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),St=0;wt.length>St;)S(wt[St++]);for(var wt=q(S.store),St=0;wt.length>St;)O(wt[St++]);o(o.S+o.F*!ut,"Symbol",{for:function(t){return e(et,t+="")?et[t]:et[t]=J(t)},keyFor:function(t){if(lt(t))return E(et,t);throw TypeError(t+" is not a symbol!")},useSetter:function(){at=!0},useSimple:function(){at=!1}}),o(o.S+o.F*!ut,"Object",{create:vt,defineProperty:pt,defineProperties:ht,getOwnPropertyDescriptor:yt,getOwnPropertyNames:bt,getOwnPropertySymbols:kt}),V&&o(o.S+o.F*(!ut||f(function(){var t=J();return"[null]"!=Y([t])||"{}"!=Y({a:t})||"{}"!=Y(Object(t))})),"JSON",{stringify:function(t){if(void 0!==t&&!lt(t)){for(var n,e,r=[t],o=1;arguments.length>o;)r.push(arguments[o++]);return n=r[1],"function"==typeof n&&(e=n),!e&&F(n)||(n=function(t,n){if(e&&(n=e.call(this,t,n)),!lt(n))return n}),r[1]=n,Y.apply(V,r)}}}),J[Q][tt]||b(J[Q],tt,J[Q].valueOf),v(J,"Symbol"),v(Math,"Math",!0),v(n.JSON,"JSON",!0)}),n(function(t){var n=x;n(n.S,"Object",{create:Z})}),n(function(t){var n=x;n(n.S+n.F*!p,"Object",{defineProperty:y.f})}),n(function(t){var n=x;n(n.S+n.F*!p,"Object",{defineProperties:C})}),n(function(t){var n=x,e=a,r=l;t.exports=function(t,o){var i=(e.Object||{})[t]||Object[t],u={};u[t]=o(i),n(n.S+n.F*r(function(){i(1)}),"Object",u)}})),Lt=(n(function(t){var n=P,e=_t.f;Zt("getOwnPropertyDescriptor",function(){return function(t,r){return e(n(t),r)}})}),n(function(t){var n=B,e=q;Zt("getPrototypeOf",function(){return function(t){return e(n(t))}})}),n(function(t){var n=B,e=R;Zt("keys",function(){return function(t){return e(n(t))}})}),n(function(t){Zt("getOwnPropertyNames",function(){ +return zt.f})}),n(function(t){var n=f,e=gt.onFreeze;Zt("freeze",function(t){return function(r){return t&&n(r)?t(e(r)):r}})}),n(function(t){var n=f,e=gt.onFreeze;Zt("seal",function(t){return function(r){return t&&n(r)?t(e(r)):r}})}),n(function(t){var n=f,e=gt.onFreeze;Zt("preventExtensions",function(t){return function(r){return t&&n(r)?t(e(r)):r}})}),n(function(t){var n=f;Zt("isFrozen",function(t){return function(e){return!n(e)||!!t&&t(e)}})}),n(function(t){var n=f;Zt("isSealed",function(t){return function(e){return!n(e)||!!t&&t(e)}})}),n(function(t){var n=f;Zt("isExtensible",function(t){return function(e){return!!n(e)&&(!t||t(e))}})}),n(function(t){var n=R,e=Rt,r=mt,o=B,i=E,u=Object.assign;t.exports=!u||l(function(){var t={},n={},e=Symbol(),r="abcdefghijklmnopqrst";return t[e]=7,r.split("").forEach(function(t){n[t]=t}),7!=u({},t)[e]||Object.keys(u({},n)).join("")!=r})?function(t,u){for(var c=o(t),a=arguments.length,f=1,s=e.f,l=r.f;a>f;)for(var p,h=i(arguments[f++]),v=s?n(h).concat(s(h)):n(h),d=v.length,y=0;d>y;)l.call(h,p=v[y++])&&(c[p]=h[p]);return c}:u})),Wt=(n(function(t){var n=x;n(n.S+n.F,"Object",{assign:Lt})}),n(function(t){t.exports=Object.is||function(t,n){return t===n?0!==t||1/t===1/n:t!=t&&n!=n}})),Ht=(n(function(t){var n=x;n(n.S,"Object",{is:Wt})}),n(function(t){var n=x;n(n.S,"Object",{setPrototypeOf:kt.set})}),n(function(t){t.exports=a.Object}),n(function(t){var n=x,e=It;n(n.G+n.F*(parseFloat!=e),{parseFloat:e})}),n(function(t){t.exports=a.parseFloat}),n(function(t){var n=x,e=Dt;n(n.G+n.F*(parseInt!=e),{parseInt:e})}),n(function(t){t.exports=a.parseInt}),n(function(t){var n=s,e=w,r=L("species");t.exports=function(t,o){var i,u=n(t).constructor;return void 0===u||void 0==(i=n(u)[r])?o:e(i)}})),Bt=n(function(t){var n,e,r,o=S,i=pt,u=z,a=h,f=c,s=f.process,l=f.setImmediate,p=f.clearImmediate,v=f.MessageChannel,d=0,y={},g="onreadystatechange",b=function(){var t=+this;if(y.hasOwnProperty(t)){var n=y[t];delete y[t],n()}},m=function(t){b.call(t.data)};l&&p||(l=function(t){for(var e=[],r=1;arguments.length>r;)e.push(arguments[r++]);return y[++d]=function(){i("function"==typeof t?t:Function(t),e)},n(d),d},p=function(t){delete y[t]},"process"==O(s)?n=function(t){s.nextTick(o(b,t,1))}:v?(e=new v,r=e.port2,e.port1.onmessage=m,n=o(r.postMessage,r,1)):f.addEventListener&&"function"==typeof postMessage&&!f.importScripts?(n=function(t){f.postMessage(t+"","*")},f.addEventListener("message",m,!1)):n=g in a("script")?function(t){u.appendChild(a("script"))[g]=function(){u.removeChild(this),b.call(t)}}:function(t){setTimeout(o(b,t,1),0)}),t.exports={set:l,clear:p}}),qt=n(function(t){var n=c,e=Bt.set,r=n.MutationObserver||n.WebKitMutationObserver,o=n.process,i=n.Promise,u="process"==O(o);t.exports=function(){var t,c,a,f=function(){var n,e;for(u&&(n=o.domain)&&n.exit();t;){e=t.fn,t=t.next;try{e()}catch(n){throw t?a():c=void 0,n}}c=void 0,n&&n.enter()};if(u)a=function(){o.nextTick(f)};else if(r){var s=!0,l=document.createTextNode("");new r(f).observe(l,{characterData:!0}),a=function(){l.data=s=!s}}else if(i&&i.resolve){var p=i.resolve();a=function(){p.then(f)}}else a=function(){e.call(n,f)};return function(n){var e={fn:n,next:void 0};c&&(c.next=e),t||(t=e,a()),c=e}}}),Gt=(n(function(t){var n,e,r,o=u,i=c,s=S,l=V,p=x,h=f,v=w,d=dt,y=yt,g=Ht,b=Bt.set,m=qt(),_="Promise",k=i.TypeError,T=i.process,O=i[_],T=i.process,E="process"==l(T),P=function(){},j=!!function(){try{var t=O.resolve(1),n=(t.constructor={})[L("species")]=function(t){t(P,P)};return(E||"function"==typeof PromiseRejectionEvent)&&t.then(P)instanceof n}catch(t){}}(),F=function(t,n){return t===n||t===O&&n===r},I=function(t){var n;return!(!h(t)||"function"!=typeof(n=t.then))&&n},D=function(t){return F(O,t)?new M(t):new e(t)},M=e=function(t){var n,e;this.promise=new t(function(t,r){if(void 0!==n||void 0!==e)throw k("Bad Promise constructor");n=t,e=r}),this.resolve=v(n),this.reject=v(e)},A=function(t){try{t()}catch(t){return{error:t}}},N=function(t,n){if(!t._n){t._n=!0;var e=t._c;m(function(){for(var r=t._v,o=1==t._s,i=0,u=function(n){var e,i,u=o?n.ok:n.fail,c=n.resolve,a=n.reject,f=n.domain;try{u?(o||(2==t._h&&z(t),t._h=1),u===!0?e=r:(f&&f.enter(),e=u(r),f&&f.exit()),e===n.promise?a(k("Promise-chain cycle")):(i=I(e))?i.call(e,c,a):c(e)):a(r)}catch(t){a(t)}};e.length>i;)u(e[i++]);t._c=[],t._n=!1,n&&!t._h&&R(t)})}},R=function(t){b.call(i,function(){var n,e,r,o=t._v;if(C(t)&&(n=A(function(){E?T.emit("unhandledRejection",o,t):(e=i.onunhandledrejection)?e({promise:t,reason:o}):(r=i.console)&&r.error&&r.error("Unhandled promise rejection",o)}),t._h=E||C(t)?2:1),t._a=void 0,n)throw n.error})},C=function(t){if(1==t._h)return!1;for(var n,e=t._a||t._c,r=0;e.length>r;)if(n=e[r++],n.fail||!C(n.promise))return!1;return!0},z=function(t){b.call(i,function(){var n;E?T.emit("rejectionHandled",t):(n=i.onrejectionhandled)&&n({promise:t,reason:t._v})})},Z=function(t){var n=this;n._d||(n._d=!0,n=n._w||n,n._v=t,n._s=2,n._a||(n._a=n._c.slice()),N(n,!0))},H=function(t){var n,e=this;if(!e._d){e._d=!0,e=e._w||e;try{if(e===t)throw k("Promise can't be resolved itself");(n=I(t))?m(function(){var r={_w:e,_d:!1};try{n.call(t,s(H,r,1),s(Z,r,1))}catch(t){Z.call(r,t)}}):(e._v=t,e._s=1,N(e,!1))}catch(t){Z.call({_w:e,_d:!1},t)}}};j||(O=function(t){d(this,O,_,"_h"),v(t),n.call(this);try{t(s(H,this,1),s(Z,this,1))}catch(t){Z.call(this,t)}},n=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},n.prototype=vt(O.prototype,{then:function(t,n){var e=D(g(this,O));return e.ok="function"!=typeof t||t,e.fail="function"==typeof n&&n,e.domain=E?T.domain:void 0,this._c.push(e),this._a&&this._a.push(e),this._s&&N(this,!1),e.promise},catch:function(t){return this.then(void 0,t)}}),M=function(){var t=new n;this.promise=t,this.resolve=s(H,t,1),this.reject=s(Z,t,1)}),p(p.G+p.W+p.F*!j,{Promise:O}),W(O,_),ct(_),r=a[_],p(p.S+p.F*!j,_,{reject:function(t){var n=D(this),e=n.reject;return e(t),n.promise}}),p(p.S+p.F*(o||!j),_,{resolve:function(t){if(t instanceof O&&F(t.constructor,this))return t;var n=D(this),e=n.resolve;return e(t),n.promise}}),p(p.S+p.F*!(j&&Q(function(t){O.all(t).catch(P)})),_,{all:function(t){var n=this,e=D(n),r=e.resolve,o=e.reject,i=A(function(){var e=[],i=0,u=1;y(t,!1,function(t){var c=i++,a=!1;e.push(void 0),u++,n.resolve(t).then(function(t){a||(a=!0,e[c]=t,--u||r(e))},o)}),--u||r(e)});return i&&o(i.error),e.promise},race:function(t){var n=this,e=D(n),r=e.reject,o=A(function(){y(t,!1,function(t){n.resolve(t).then(e.resolve,r)})});return o&&r(o.error),e.promise}})}),n(function(t){t.exports=a.Promise}),n(function(t){var n=bt;t.exports=St("Set",function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},{add:function(t){return n.def(this,t=0===t?0:t,t)}},n)})),Ut=(n(function(t){t.exports=a.Set}),n(function(t){var n=x,e=F,r=String.fromCharCode,o=String.fromCodePoint;n(n.S+n.F*(!!o&&1!=o.length),"String",{fromCodePoint:function(t){for(var n,o=[],i=arguments.length,u=0;i>u;){if(n=+arguments[u++],e(n,1114111)!==n)throw RangeError(n+" is not a valid code point");o.push(n<65536?r(n):r(((n-=65536)>>10)+55296,n%1024+56320))}return o.join("")}})}),n(function(t){var n=x,e=P,r=j;n(n.S,"String",{raw:function(t){for(var n=e(t.raw),o=r(n.length),i=arguments.length,u=[],c=0;o>c;)u.push(String(n[c++])),c1?arguments[1]:void 0,c=e(n.length),a=void 0===u?c:Math.min(e(u),c),f=String(t);return i?i.call(n,f,a):n.slice(a-f.length,a)===f}})}),n(function(t){var n=x,e=Xt,r="includes";n(n.P+n.F*Kt(r),"String",{includes:function(t){return!!~e(this,t,r).indexOf(t,arguments.length>1?arguments[1]:void 0)}})}),n(function(t){var n=x;n(n.P,"String",{repeat:jt})}),n(function(t){var n=x,e=j,r=Xt,o="startsWith",i=""[o];n(n.P+n.F*Kt(o),"String",{startsWith:function(t){var n=r(this,t,o),u=e(Math.min(arguments.length>1?arguments[1]:void 0,n.length)),c=String(t);return i?i.call(n,c,u):n.slice(u,u+c.length)===c}})}),n(function(t){var n=x,e=l,r=o,i=/"/g,u=function(t,n,e,o){var u=String(r(t)),c="<"+n;return""!==e&&(c+=" "+e+'="'+String(o).replace(i,""")+'"'),c+">"+u+""};t.exports=function(t,r){var o={};o[t]=r(u),n(n.P+n.F*e(function(){var n=""[t]('"');return n!==n.toLowerCase()||n.split('"').length>3}),"String",o)}})),Vt=(n(function(t){Jt("anchor",function(t){return function(n){return t(this,"a","name",n)}})}),n(function(t){Jt("big",function(t){return function(){return t(this,"big","","")}})}),n(function(t){Jt("blink",function(t){return function(){return t(this,"blink","","")}})}),n(function(t){Jt("bold",function(t){return function(){return t(this,"b","","")}})}),n(function(t){Jt("fixed",function(t){return function(){return t(this,"tt","","")}})}),n(function(t){Jt("fontcolor",function(t){return function(n){return t(this,"font","color",n)}})}),n(function(t){Jt("fontsize",function(t){return function(n){return t(this,"font","size",n)}})}),n(function(t){Jt("italics",function(t){return function(){return t(this,"i","","")}})}),n(function(t){Jt("link",function(t){return function(n){return t(this,"a","href",n)}})}),n(function(t){Jt("small",function(t){return function(){return t(this,"small","","")}})}),n(function(t){Jt("strike",function(t){return function(){return t(this,"strike","","")}})}),n(function(t){Jt("sub",function(t){return function(){return t(this,"sub","","")}})}),n(function(t){Jt("sup",function(t){return function(){return t(this,"sup","","")}})}),n(function(t){var n=b,e=k,r=l,i=o,u=L;t.exports=function(t,o,c){var a=u(t),f=c(i,a,""[t]),s=f[0],l=f[1];r(function(){var n={};return n[a]=function(){return 7},7!=""[t](n)})&&(e(String.prototype,t,s),n(RegExp.prototype,a,2==o?function(t,n){return l.call(t,this,n)}:function(t){return l.call(t,this)}))}})),Yt=(n(function(t){Vt("match",1,function(t,n,e){return[function(e){var r=t(this),o=void 0==e?void 0:e[n];return void 0!==o?o.call(e,r):new RegExp(e)[n](String(r))},e]})}),n(function(t){Vt("replace",2,function(t,n,e){return[function(r,o){var i=t(this),u=void 0==r?void 0:r[n];return void 0!==u?u.call(r,i,o):e.call(String(i),r,o)},e]})}),n(function(t){Vt("search",1,function(t,n,e){return[function(e){var r=t(this),o=void 0==e?void 0:e[n];return void 0!==o?o.call(e,r):new RegExp(e)[n](String(r))},e]})}),n(function(t){Vt("split",2,function(t,n,e){var r=Ut,o=e,i=[].push,u="split",c="length",a="lastIndex";if("c"=="abbc"[u](/(b)*/)[1]||4!="test"[u](/(?:)/,-1)[c]||2!="ab"[u](/(?:ab)*/)[c]||4!="."[u](/(.?)(.?)/)[c]||"."[u](/()()/)[c]>1||""[u](/.?/)[c]){var f=void 0===/()??/.exec("")[1];e=function(t,n){var e=String(this);if(void 0===t&&0===n)return[];if(!r(t))return o.call(e,t,n);var u,s,l,p,h,v=[],d=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),y=0,g=void 0===n?4294967295:n>>>0,b=new RegExp(t.source,d+"g");for(f||(u=new RegExp("^"+b.source+"$(?!\\s)",d));(s=b.exec(e))&&(l=s.index+s[0][c],!(l>y&&(v.push(e.slice(y,s.index)),!f&&s[c]>1&&s[0].replace(u,function(){for(h=1;h1&&s.index=g)));)b[a]===s.index&&b[a]++;return y===e[c]?!p&&b.test("")||v.push(""):v.push(e.slice(y)),v[c]>g?v.slice(0,g):v}}else"0"[u](void 0,0)[c]&&(e=function(t,n){return void 0===t&&0===n?[]:o.call(this,t,n)});return[function(r,o){var i=t(this),u=void 0==r?void 0:r[n];return void 0!==u?u.call(r,i,o):e.call(String(i),r,o)},e]})}),n(function(t){t.exports=a.String}),n(function(t){var n=vt,e=gt.getWeak,r=s,o=f,i=dt,u=yt,c=et,a=m,l=c(5),p=c(6),h=0,v=function(t){return t._l||(t._l=new d)},d=function(){this.a=[]},y=function(t,n){return l(t.a,function(t){return t[0]===n})};d.prototype={get:function(t){var n=y(this,t);if(n)return n[1]},has:function(t){return!!y(this,t)},set:function(t,n){var e=y(this,t);e?e[1]=n:this.a.push([t,n])},delete:function(t){var n=p(this.a,function(n){return n[0]===t});return~n&&this.a.splice(n,1),!!~n}},t.exports={getConstructor:function(t,r,c,f){var s=t(function(t,n){i(t,s,r,"_i"),t._i=h++,t._l=void 0,void 0!=n&&u(n,c,t[f],t)});return n(s.prototype,{delete:function(t){if(!o(t))return!1;var n=e(t);return n===!0?v(this).delete(t):n&&a(n,this._i)&&delete n[this._i]},has:function(t){if(!o(t))return!1;var n=e(t);return n===!0?v(this).has(t):n&&a(n,this._i)}}),s},def:function(t,n,o){var i=e(r(n),!0);return i===!0?v(t).set(n,o):i[t._i]=o,t},ufstore:v}})),Qt=n(function(t){var n,e=et(0),r=k,o=gt,i=Lt,u=Yt,c=f,a=o.getWeak,s=Object.isExtensible,l=u.ufstore,p={},h=function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},v={get:function(t){if(c(t)){var n=a(t);return n===!0?l(this).get(t):n?n[this._i]:void 0}},set:function(t,n){return u.def(this,t,n)}},d=t.exports=St("WeakMap",h,v,u,!0,!0);7!=(new d).set((Object.freeze||Object)(p),7).get(p)&&(n=u.getConstructor(h),i(n.prototype,v),o.NEED=!0,e(["delete","has","get","set"],function(t){var e=d.prototype,o=e[t];r(e,t,function(e,r){if(c(e)&&!s(e)){this._f||(this._f=new n);var i=this._f[t](e,r);return"set"==t?this:i}return o.call(this,e,r)})}))}),$t=n(function(t){var n=xt,e=x,r=D("metadata"),o=r.store||(r.store=new Qt),i=function(t,e,r){var i=o.get(t);if(!i){if(!r)return;o.set(t,i=new n)}var u=i.get(e);if(!u){if(!r)return;i.set(e,u=new n)}return u},u=function(t,n,e){var r=i(n,e,!1);return void 0!==r&&r.has(t)},c=function(t,n,e){var r=i(n,e,!1);return void 0===r?void 0:r.get(t)},a=function(t,n,e,r){i(e,r,!0).set(t,n)},f=function(t,n){var e=i(t,n,!1),r=[];return e&&e.forEach(function(t,n){r.push(n)}),r},s=function(t){return void 0===t||"symbol"==typeof t?t:String(t)},l=function(t){e(e.S,"Reflect",t)};t.exports={store:o,map:i,has:u,get:c,set:a,keys:f,key:s,exp:l}}),tn=(n(function(t){var n=$t,e=s,r=n.key,o=n.set;n.exp({defineMetadata:function(t,n,i,u){o(t,n,e(i),r(u))}})}),n(function(t){var n=$t,e=s,r=n.key,o=n.map,i=n.store;n.exp({deleteMetadata:function(t,n){var u=arguments.length<3?void 0:r(arguments[2]),c=o(e(n),u,!1);if(void 0===c||!c.delete(t))return!1;if(c.size)return!0;var a=i.get(n);return a.delete(u),!!a.size||i.delete(n)}})}),n(function(t){var n=$t,e=s,r=q,o=n.has,i=n.get,u=n.key,c=function(t,n,e){var u=o(t,n,e);if(u)return i(t,n,e);var a=r(n);return null!==a?c(t,a,e):void 0};n.exp({getMetadata:function(t,n){return c(t,e(n),arguments.length<3?void 0:u(arguments[2]))}})}),n(function(t){var n=yt;t.exports=function(t,e){var r=[];return n(t,!1,r.push,r,e),r}})),nn=(n(function(t){var n=Gt,e=tn,r=$t,o=s,i=q,u=r.keys,c=r.key,a=function(t,r){var o=u(t,r),c=i(t);if(null===c)return o;var f=a(c,r);return f.length?o.length?e(new n(o.concat(f))):f:o};r.exp({getMetadataKeys:function(t){return a(o(t),arguments.length<2?void 0:c(arguments[1]))}})}),n(function(t){var n=$t,e=s,r=n.get,o=n.key;n.exp({getOwnMetadata:function(t,n){return r(t,e(n),arguments.length<3?void 0:o(arguments[2]))}})}),n(function(t){var n=$t,e=s,r=n.keys,o=n.key;n.exp({getOwnMetadataKeys:function(t){return r(e(t),arguments.length<2?void 0:o(arguments[1]))}})}),n(function(t){var n=$t,e=s,r=q,o=n.has,i=n.key,u=function(t,n,e){var i=o(t,n,e);if(i)return!0;var c=r(n);return null!==c&&u(t,c,e)};n.exp({hasMetadata:function(t,n){return u(t,e(n),arguments.length<3?void 0:i(arguments[2]))}})}),n(function(t){var n=$t,e=s,r=n.has,o=n.key;n.exp({hasOwnMetadata:function(t,n){return r(t,e(n),arguments.length<3?void 0:o(arguments[2]))}})}),n(function(t){var n=$t,e=s,r=w,o=n.key,i=n.set;n.exp({metadata:function(t,n){return function(u,c){i(t,n,(void 0!==c?e:r)(u),o(c))}}})}),n(function(t){t.exports=a.Reflect}),n(function(t){var n=x,e=w,r=s,o=(c.Reflect||{}).apply,i=Function.apply;n(n.S+n.F*!l(function(){o(function(){})}),"Reflect",{apply:function(t,n,u){var c=e(t),a=r(u);return o?o(c,n,a):i.call(c,n,a)}})}),n(function(t){var n=x,e=Z,r=w,o=s,i=f,u=l,a=ht,p=(c.Reflect||{}).construct,h=u(function(){function t(){}return!(p(function(){},[],t)instanceof t)}),v=!u(function(){p(function(){})});n(n.S+n.F*(h||v),"Reflect",{construct:function(t,n){r(t),o(n);var u=arguments.length<3?t:r(arguments[2]);if(v&&!h)return p(t,n,u);if(t==u){switch(n.length){case 0:return new t;case 1:return new t(n[0]);case 2:return new t(n[0],n[1]);case 3:return new t(n[0],n[1],n[2]);case 4:return new t(n[0],n[1],n[2],n[3])}var c=[null];return c.push.apply(c,n),new(a.apply(t,c))}var f=u.prototype,s=e(i(f)?f:Object.prototype),l=Function.apply.call(t,s,n);return i(l)?l:s}})}),n(function(t){var n=y,e=x,r=s,o=d;e(e.S+e.F*l(function(){Reflect.defineProperty(n.f({},1,{value:1}),1,{value:2})}),"Reflect",{defineProperty:function(t,e,i){r(t),e=o(e,!0),r(i);try{return n.f(t,e,i),!0}catch(t){return!1}}})}),n(function(t){var n=x,e=_t.f,r=s;n(n.S,"Reflect",{deleteProperty:function(t,n){var o=e(r(t),n);return!(o&&!o.configurable)&&delete t[n]}})}),n(function(t){var n=x,e=s,r=function(t){this._t=e(t),this._i=0;var n,r=this._k=[];for(n in t)r.push(n)};H(r,"Object",function(){var t,n=this,e=n._k;do if(n._i>=e.length)return{value:void 0,done:!0};while(!((t=e[n._i++])in n._t));return{value:t,done:!1}}),n(n.S,"Reflect",{enumerate:function(t){return new r(t)}})}),n(function(t){function n(t,i){var a,f,s=arguments.length<3?t:arguments[2];return c(t)===s?t[i]:(a=e.f(t,i))?o(a,"value")?a.value:void 0!==a.get?a.get.call(s):void 0:u(f=r(t))?n(f,i,s):void 0}var e=_t,r=q,o=m,i=x,u=f,c=s;i(i.S,"Reflect",{get:n})}),n(function(t){var n=_t,e=x,r=s;e(e.S,"Reflect",{getOwnPropertyDescriptor:function(t,e){return n.f(r(t),e)}})}),n(function(t){var n=x,e=q,r=s;n(n.S,"Reflect",{getPrototypeOf:function(t){return e(r(t))}})}),n(function(t){var n=x;n(n.S,"Reflect",{has:function(t,n){return n in t}})}),n(function(t){var n=x,e=s,r=Object.isExtensible;n(n.S,"Reflect",{isExtensible:function(t){return e(t),!r||r(t)}})}),n(function(t){var n=Tt,e=Rt,r=s,o=c.Reflect;t.exports=o&&o.ownKeys||function(t){var o=n.f(r(t)),i=e.f;return i?o.concat(i(t)):o}}));n(function(t){var n=x;n(n.S,"Reflect",{ownKeys:nn})}),n(function(t){var n=x,e=s,r=Object.preventExtensions;n(n.S,"Reflect",{preventExtensions:function(t){e(t);try{return r&&r(t),!0}catch(t){return!1}}})}),n(function(t){function n(t,u,f){var s,p,h=arguments.length<4?t:arguments[3],v=r.f(a(t),u);if(!v){if(l(p=o(t)))return n(p,u,f,h);v=c(0)}return i(v,"value")?!(v.writable===!1||!l(h))&&(s=r.f(h,u)||c(0),s.value=f,e.f(h,u,s),!0):void 0!==v.set&&(v.set.call(h,f),!0)}var e=y,r=_t,o=q,i=m,u=x,c=g,a=s,l=f;u(u.S,"Reflect",{set:n})}),n(function(t){var n=x,e=kt;e&&n(n.S,"Reflect",{setPrototypeOf:function(t,n){e.check(t,n);try{return e.set(t,n),!0}catch(t){return!1}}})}),n(function(t){t.exports=a.Reflect}),n(function(t){function n(t,n){for(var e=t.length-1;e>=0;e--)"function"==typeof t[e]&&(t[e]=Zone.current.wrap(t[e],n+"_"+e));return t}function r(t,e){for(var r=t.constructor.name,o=function(o){var i=e[o],u=t[i];u&&(t[i]=function(t){return function(){return t.apply(this,n(arguments,r+"."+i))}}(u))},i=0;i1?new n(t,e):new n(t),u=Object.getOwnPropertyDescriptor(o,"onmessage");return u&&u.configurable===!1?(r=Object.create(o),["addEventListener","removeEventListener","send","close"].forEach(function(t){r[t]=function(){return o[t].apply(o,arguments)}})):r=o,i(r,["close","error","message","open"]),r};for(var e in n)t.WebSocket[e]=n[e]}function x(t){if(!D){var n="undefined"!=typeof WebSocket;T()?(M&&i(HTMLElement.prototype,X),i(XMLHttpRequest.prototype,null),"undefined"!=typeof IDBIndex&&(i(IDBIndex.prototype,null),i(IDBRequest.prototype,null),i(IDBOpenDBRequest.prototype,null),i(IDBDatabase.prototype,null),i(IDBTransaction.prototype,null),i(IDBCursor.prototype,null)),n&&i(WebSocket.prototype,null)):(O(),h("XMLHttpRequest"),n&&S(t))}}function T(){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 n=new XMLHttpRequest,e=!!n.onreadystatechange;return Object.defineProperty(XMLHttpRequest.prototype,"onreadystatechange",{}),e}function O(){for(var t=function(t){var n=X[t],e="on"+n;document.addEventListener(n,function(t){var n,r,o=t.target;for(r=o?o.constructor.name+"."+e:"unknown."+e;o;)o[e]&&!o[e][K]&&(n=Zone.current.wrap(o[e],r),n[K]=o[e],o[e]=n),o=o.parentElement},!0)},n=0;n",this._properties=n&&n.properties||{},this._zoneDelegate=new d(this,this._parent&&this._parent._zoneDelegate,n)}return e.assertZonePatched=function(){if(t.Promise!==M)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,"current",{get:function(){return _},enumerable:!0,configurable:!0}),Object.defineProperty(e,"currentTask",{get:function(){return k},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 n=this.getZoneWith(t);if(n)return n._properties[t]},e.prototype.getZoneWith=function(t){for(var n=this;n;){if(n._properties.hasOwnProperty(t))return n;n=n._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,n){if("function"!=typeof t)throw new Error("Expecting function got: "+t);var e=this._zoneDelegate.intercept(this,t,n),r=this;return function(){return r.runGuarded(e,this,arguments,n)}},e.prototype.run=function(t,n,e,r){void 0===n&&(n=null),void 0===e&&(e=null),void 0===r&&(r=null);var o=_;_=this;try{return this._zoneDelegate.invoke(this,t,n,e,r)}finally{_=o}},e.prototype.runGuarded=function(t,n,e,r){void 0===n&&(n=null),void 0===e&&(e=null),void 0===r&&(r=null);var o=_;_=this;try{try{return this._zoneDelegate.invoke(this,t,n,e,r)}catch(t){if(this._zoneDelegate.handleError(this,t))throw t}}finally{_=o}},e.prototype.runTask=function(t,n,e){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=k;k=t;var o=_;_=this;try{"macroTask"==t.type&&t.data&&!t.data.isPeriodic&&(t.cancelFn=null);try{return this._zoneDelegate.invokeTask(this,t,n,e)}catch(t){if(this._zoneDelegate.handleError(this,t))throw t}}finally{_=o,k=r}},e.prototype.scheduleMicroTask=function(t,n,e,r){return this._zoneDelegate.scheduleTask(this,new y("microTask",this,t,n,e,r,null))},e.prototype.scheduleMacroTask=function(t,n,e,r,o){return this._zoneDelegate.scheduleTask(this,new y("macroTask",this,t,n,e,r,o))},e.prototype.scheduleEventTask=function(t,n,e,r,o){return this._zoneDelegate.scheduleTask(this,new y("eventTask",this,t,n,e,r,o))},e.prototype.cancelTask=function(t){var n=this._zoneDelegate.cancelTask(this,t);return t.runCount=-1,t.cancelFn=null,n},e.__symbol__=n,e}(),d=function(){function t(t,n,e){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=t,this._parentDelegate=n,this._forkZS=e&&(e&&e.onFork?e:n._forkZS),this._forkDlgt=e&&(e.onFork?n:n._forkDlgt), +this._interceptZS=e&&(e.onIntercept?e:n._interceptZS),this._interceptDlgt=e&&(e.onIntercept?n:n._interceptDlgt),this._invokeZS=e&&(e.onInvoke?e:n._invokeZS),this._invokeDlgt=e&&(e.onInvoke?n:n._invokeDlgt),this._handleErrorZS=e&&(e.onHandleError?e:n._handleErrorZS),this._handleErrorDlgt=e&&(e.onHandleError?n:n._handleErrorDlgt),this._scheduleTaskZS=e&&(e.onScheduleTask?e:n._scheduleTaskZS),this._scheduleTaskDlgt=e&&(e.onScheduleTask?n:n._scheduleTaskDlgt),this._invokeTaskZS=e&&(e.onInvokeTask?e:n._invokeTaskZS),this._invokeTaskDlgt=e&&(e.onInvokeTask?n:n._invokeTaskDlgt),this._cancelTaskZS=e&&(e.onCancelTask?e:n._cancelTaskZS),this._cancelTaskDlgt=e&&(e.onCancelTask?n:n._cancelTaskDlgt),this._hasTaskZS=e&&(e.onHasTask?e:n._hasTaskZS),this._hasTaskDlgt=e&&(e.onHasTask?n:n._hasTaskDlgt)}return t.prototype.fork=function(t,n){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,t,n):new v(t,n)},t.prototype.intercept=function(t,n,e){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this.zone,t,n,e):n},t.prototype.invoke=function(t,n,e,r,o){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this.zone,t,n,e,r,o):n.apply(e,r)},t.prototype.handleError=function(t,n){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this.zone,t,n)},t.prototype.scheduleTask=function(t,n){try{if(this._scheduleTaskZS)return this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this.zone,t,n);if(n.scheduleFn)n.scheduleFn(n);else{if("microTask"!=n.type)throw new Error("Task is missing scheduleFn.");r(n)}return n}finally{t==this.zone&&this._updateTaskCount(n.type,1)}},t.prototype.invokeTask=function(t,n,e,r){try{return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this.zone,t,n,e,r):n.callback.apply(e,r)}finally{t!=this.zone||"eventTask"==n.type||n.data&&n.data.isPeriodic||this._updateTaskCount(n.type,-1)}},t.prototype.cancelTask=function(t,n){var e;if(this._cancelTaskZS)e=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this.zone,t,n);else{if(!n.cancelFn)throw new Error("Task does not support cancellation, or is already canceled.");e=n.cancelFn(n)}return t==this.zone&&this._updateTaskCount(n.type,-1),e},t.prototype.hasTask=function(t,n){return this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this.zone,t,n)},t.prototype._updateTaskCount=function(t,n){var e=this._taskCounts,r=e[t],o=e[t]=r+n;if(o<0)throw new Error("More tasks executed then were scheduled.");if(0==r||0==o){var i={microTask:e.microTask>0,macroTask:e.macroTask>0,eventTask:e.eventTask>0,change:t};try{this.hasTask(this.zone,i)}finally{this._parentDelegate&&this._parentDelegate._updateTaskCount(t,n)}}},t}(),y=function(){function t(t,n,e,r,o,u,c){this.runCount=0,this.type=t,this.zone=n,this.source=e,this.data=o,this.scheduleFn=u,this.cancelFn=c,this.callback=r;var a=this;this.invoke=function(){T++;try{return n.runTask(a,this,arguments)}finally{1==T&&i(),T--}}}return t.prototype.toString=function(){return this.data&&"undefined"!=typeof this.data.handleId?this.data.handleId:this.toString()},t}(),g=n("setTimeout"),b=n("Promise"),m=n("then"),_=new v(null,null),k=null,w=[],S=!1,x=[],T=0,O=n("state"),E=n("value"),P="Promise.then",j=null,F=!0,I=!1,D=0,M=function(){function t(n){var e=this;if(!(e instanceof t))throw new Error("Must be an instanceof Promise.");e[O]=j,e[E]=[];try{n&&n(f(e,F),f(e,I))}catch(t){s(e,!1,t)}}return t.resolve=function(t){return s(new this(null),F,t)},t.reject=function(t){return s(new this(null),I,t)},t.race=function(t){function n(t){i&&(i=r(t))}function e(t){i&&(i=o(t))}for(var r,o,i=new this(function(t,n){r=t,o=n}),c=0,a=t;c0?n:e)(t)}}),k=e(function(t){var e=g,n=Math.min;t.exports=function(t){return t>0?n(e(t),9007199254740991):0}}),_=e(function(t){var e=g,n=Math.max,r=Math.min;t.exports=function(t,o){return t=e(t),t<0?n(t+o,0):r(t,o)}}),b=e(function(t){var e=y,n=k,r=_;t.exports=function(t){return function(o,i,u){var a,c=e(o),s=n(c.length),f=r(u,s);if(t&&i!=i){for(;s>f;)if(a=c[f++],a!=a)return!0}else for(;s>f;f++)if((t||f in c)&&c[f]===i)return t||f||0;return!t&&-1}}}),m=e(function(t){var e=a,n="__core-js_shared__",r=e[n]||(e[n]={});t.exports=function(t){return r[t]||(r[t]={})}}),w=e(function(t){var e=0,n=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++e+n).toString(36))}}),T=e(function(t){var e=m("keys"),n=w;t.exports=function(t){return e[t]||(e[t]=n(t))}}),x=e(function(t){var e=p,n=y,r=b(!1),o=T("IE_PROTO");t.exports=function(t,i){var u,a=n(t),c=0,s=[];for(u in a)u!=o&&e(a,u)&&s.push(u);for(;i.length>c;)e(a,u=i[c++])&&(~r(s,u)||s.push(u));return s}}),E=e(function(t){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")}),O=e(function(t){var e=x,n=E;t.exports=Object.keys||function(t){return e(t,n)}}),S=e(function(t){var e=l,n=o,r=O;t.exports=u?Object.defineProperties:function(t,o){n(t);for(var i,u=r(o),a=u.length,c=0;a>c;)e.f(t,i=u[c++],o[i]);return t}}),j=e(function(t){t.exports=a.document&&document.documentElement}),D=e(function(t){var e=o,n=S,r=E,i=T("IE_PROTO"),u=function(){},a="prototype",s=function(){var t,e=c("iframe"),n=r.length,o="<",i=">";for(e.style.display="none",j.appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write(o+"script"+i+"document.F=Object"+o+"/script"+i),t.close(),s=t.F;n--;)delete s[a][r[n]];return s()};t.exports=Object.create||function(t,r){var o;return null!==t?(u[a]=e(t),o=new u,u[a]=null,o[i]=t):o=s(),void 0===r?o:n(o,r)}}),P=e(function(t){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}}),M=e(function(t){var e=l,n=P;t.exports=u?function(t,r,o){return e.f(t,r,n(1,o))}:function(t,e,n){return t[e]=n,t}}),z=e(function(t){var e=t.exports={version:"2.4.0"};"number"==typeof __e&&(__e=e)}),Z=e(function(t){var e=a,n=M,r=p,o=w("src"),i="toString",u=Function[i],c=(""+u).split(i);z.inspectSource=function(t){return u.call(t)},(t.exports=function(t,i,u,a){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]:c.join(String(i)))),t===e?t[i]=u:a?t[i]?t[i]=u:n(t,i,u):(delete t[i],n(t,i,u)))})(Function.prototype,i,function(){return"function"==typeof this&&this[o]||u.call(this)})}),I=e(function(t){var e=Z;t.exports=function(t,n,r){for(var o in n)e(t,o,n[o],r);return t}}),C=e(function(t){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}}),F=e(function(t){var e=C;t.exports=function(t,n,r){if(e(t),void 0===n)return t;switch(r){case 1:return function(e){return t.call(n,e)};case 2:return function(e,r){return t.call(n,e,r)};case 3:return function(e,r,o){return t.call(n,e,r,o)}}return function(){return t.apply(n,arguments)}}}),L=e(function(t){t.exports=function(t,e,n,r){if(!(t instanceof e)||void 0!==r&&r in t)throw TypeError(n+": incorrect invocation!");return t}}),R=e(function(t){var e=o;t.exports=function(t,n,r,o){try{return o?n(e(r)[0],r[1]):n(r)}catch(n){var i=t.return;throw void 0!==i&&e(i.call(t)),n}}}),H=e(function(t){t.exports={}}),A=e(function(t){var e=m("wks"),n=w,r=a.Symbol,o="function"==typeof r,i=t.exports=function(t){return e[t]||(e[t]=o&&r[t]||(o?r:n)("Symbol."+t))};i.store=e}),B=e(function(t){var e=H,n=A("iterator"),r=Array.prototype;t.exports=function(t){return void 0!==t&&(e.Array===t||r[n]===t)}}),q=e(function(t){var e=h,n=A("toStringTag"),r="Arguments"==e(function(){return arguments}()),o=function(t,e){try{return t[e]}catch(t){}};t.exports=function(t){var i,u,a;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(u=o(i=Object(t),n))?u:r?e(i):"Object"==(a=e(i))&&"function"==typeof i.callee?"Arguments":a}}),W=e(function(t){var e=q,n=A("iterator"),r=H;t.exports=z.getIteratorMethod=function(t){if(void 0!=t)return t[n]||t["@@iterator"]||r[e(t)]}}),N=e(function(t){var e=F,n=R,r=B,i=o,u=k,a=W,c={},s={},f=t.exports=function(t,o,f,l,p){var h,v,d,y,g=p?function(){return t}:a(t),k=e(f,l,o?2:1),_=0;if("function"!=typeof g)throw TypeError(t+" is not iterable!");if(r(g)){for(h=u(t.length);h>_;_++)if(y=o?k(i(v=t[_])[0],v[1]):k(t[_]),y===c||y===s)return y}else for(d=g.call(t);!(v=d.next()).done;)if(y=n(d,k,v.value,o),y===c||y===s)return y};f.BREAK=c,f.RETURN=s}),X=e(function(t){t.exports=!1}),G=e(function(t){var e=a,n=z,r=M,o=Z,i=F,u="prototype",c=function(t,a,s){var f,l,p,h,v=t&c.F,d=t&c.G,y=t&c.S,g=t&c.P,k=t&c.B,_=d?e:y?e[a]||(e[a]={}):(e[a]||{})[u],b=d?n:n[a]||(n[a]={}),m=b[u]||(b[u]={});d&&(s=a);for(f in s)l=!v&&_&&void 0!==_[f],p=(l?_:s)[f],h=k&&l?i(p,e):g&&"function"==typeof p?i(Function.call,p):p,_&&o(_,f,p,t&c.U),b[f]!=p&&r(b,f,h),g&&m[f]!=p&&(m[f]=p)};e.core=n,c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,t.exports=c}),K=e(function(t){var e=l.f,n=p,r=A("toStringTag");t.exports=function(t,o,i){t&&!n(t=i?t:t.prototype,r)&&e(t,r,{configurable:!0,value:o})}}),U=e(function(t){var e=D,n=P,r=K,o={};M(o,A("iterator"),function(){return this}),t.exports=function(t,i,u){t.prototype=e(o,{next:n(1,u)}),r(t,i+" Iterator")}}),V=e(function(t){var e=d;t.exports=function(t){return Object(e(t))}}),J=e(function(t){var e=p,n=V,r=T("IE_PROTO"),o=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=n(t),e(t,r)?t[r]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?o:null}}),Q=e(function(t){var e=X,n=G,r=Z,o=M,i=p,u=H,a=U,c=K,s=J,f=A("iterator"),l=!([].keys&&"next"in[].keys()),h="@@iterator",v="keys",d="values",y=function(){return this};t.exports=function(t,p,g,k,_,b,m){a(g,p,k);var w,T,x,E=function(t){if(!l&&t in D)return D[t];switch(t){case v:return function(){return new g(this,t)};case d:return function(){return new g(this,t)}}return function(){return new g(this,t)}},O=p+" Iterator",S=_==d,j=!1,D=t.prototype,P=D[f]||D[h]||_&&D[_],M=P||E(_),z=_?S?E("entries"):M:void 0,Z="Array"==p?D.entries||P:P;if(Z&&(x=s(Z.call(new t)),x!==Object.prototype&&(c(x,O,!0),e||i(x,f)||o(x,f,y))),S&&P&&P.name!==d&&(j=!0,M=function(){return P.call(this)}),e&&!m||!l&&!j&&D[f]||o(D,f,M),u[p]=M,u[O]=y,_)if(w={values:S?M:E(d),keys:b?M:E(v),entries:z},m)for(T in w)T in D||r(D,T,w[T]);else n(n.P+n.F*(l||j),p,w);return w}}),Y=e(function(t){t.exports=function(t,e){return{value:e,done:!!t}}}),$=e(function(t){var e=a,n=l,r=u,o=A("species");t.exports=function(t){var i=e[t];r&&i&&!i[o]&&n.f(i,o,{configurable:!0,get:function(){return this}})}}),tt=e(function(t){var e=w("meta"),n=r,o=p,u=l.f,a=0,c=Object.isExtensible||function(){return!0},s=!i(function(){return c(Object.preventExtensions({}))}),f=function(t){u(t,e,{value:{i:"O"+ ++a,w:{}}})},h=function(t,r){if(!n(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!o(t,e)){if(!c(t))return"F";if(!r)return"E";f(t)}return t[e].i},v=function(t,n){if(!o(t,e)){if(!c(t))return!0;if(!n)return!1;f(t)}return t[e].w},d=function(t){return s&&y.NEED&&c(t)&&!o(t,e)&&f(t),t},y=t.exports={KEY:e,NEED:!1,fastKey:h,getWeak:v,onFreeze:d}}),et=e(function(t){var e=l.f,n=D,r=I,o=F,i=L,a=d,c=N,s=Q,f=Y,p=$,h=u,v=tt.fastKey,y=h?"_s":"size",g=function(t,e){var n,r=v(e);if("F"!==r)return t._i[r];for(n=t._f;n;n=n.n)if(n.k==e)return n};t.exports={getConstructor:function(t,u,s,f){var l=t(function(t,e){i(t,l,u,"_i"),t._i=n(null),t._f=void 0,t._l=void 0,t[y]=0,void 0!=e&&c(e,s,t[f],t)});return r(l.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[y]=0},delete:function(t){var e=this,n=g(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[y]--}return!!n},forEach:function(t){i(this,l,"forEach");for(var e,n=o(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!!g(this,t)}}),h&&e(l.prototype,"size",{get:function(){return a(this[y])}}),l},def:function(t,e,n){var r,o,i=g(t,e);return i?i.v=n:(t._l=i={i:o=v(e,!0),k:e,v:n,p:r=t._l,n:void 0,r:!1},t._f||(t._f=i),r&&(r.n=i),t[y]++,"F"!==o&&(t._i[o]=i)),t},getEntry:g,setStrong:function(t,e,n){s(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?f(0,n.k):"values"==e?f(0,n.v):f(0,[n.k,n.v]):(t._t=void 0,f(1))},n?"entries":"values",!n,!0),p(e)}}}),nt=e(function(t){var e=A("iterator"),n=!1;try{var r=[7][e]();r.return=function(){n=!0},Array.from(r,function(){throw 2})}catch(t){}t.exports=function(t,r){if(!r&&!n)return!1;var o=!1;try{var i=[7],u=i[e]();u.next=function(){return{done:o=!0}},i[e]=function(){return u},t(i)}catch(t){}return o}}),rt=e(function(t,e){e.f={}.propertyIsEnumerable}),ot=e(function(t,e){var n=rt,r=P,o=y,i=f,a=p,c=s,l=Object.getOwnPropertyDescriptor;e.f=u?l:function(t,e){if(t=o(t),e=i(e,!0),c)try{return l(t,e)}catch(t){}if(a(t,e))return r(!n.f.call(t,e),t[e])}}),it=e(function(t){var e=r,n=o,i=function(t,r){if(n(t),!e(r)&&null!==r)throw TypeError(r+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,e,n){try{n=F(Function.call,ot.f(Object.prototype,"__proto__").set,2),n(t,[]),e=!(t instanceof Array)}catch(t){e=!0}return function(t,r){return i(t,r),e?t.__proto__=r:n(t,r),t}}({},!1):void 0),check:i}}),ut=e(function(t){var e=r,n=it.set;t.exports=function(t,r,o){var i,u=r.constructor;return u!==o&&"function"==typeof u&&(i=u.prototype)!==o.prototype&&e(i)&&n&&n(t,i),t}}),at=e(function(t){var e=a,n=G,o=Z,u=I,c=tt,s=N,f=L,l=r,p=i,h=nt,v=K,d=ut;t.exports=function(t,r,i,a,y,g){var k=e[t],_=k,b=y?"set":"add",m=_&&_.prototype,w={},T=function(t){var e=m[t];o(m,t,"delete"==t?function(t){return!(g&&!l(t))&&e.call(this,0===t?0:t)}:"has"==t?function(t){return!(g&&!l(t))&&e.call(this,0===t?0:t)}:"get"==t?function(t){return g&&!l(t)?void 0:e.call(this,0===t?0:t)}:"add"==t?function(t){return e.call(this,0===t?0:t),this}:function(t,n){return e.call(this,0===t?0:t,n),this})};if("function"==typeof _&&(g||m.forEach&&!p(function(){(new _).entries().next()}))){var x=new _,E=x[b](g?{}:-0,1)!=x,O=p(function(){x.has(1)}),S=h(function(t){new _(t)}),j=!g&&p(function(){for(var t=new _,e=5;e--;)t[b](e,e);return!t.has(-0)});S||(_=r(function(e,n){f(e,_,t);var r=d(new k,e,_);return void 0!=n&&s(n,y,r[b],r),r}),_.prototype=m,m.constructor=_),(O||j)&&(T("delete"),T("has"),y&&T("get")),(j||E)&&T(b),g&&m.clear&&delete m.clear}else _=a.getConstructor(r,t,y,b),u(_.prototype,i),c.NEED=!0;return v(_,t),w[t]=_,n(n.G+n.W+n.F*(_!=k),w),g||a.setStrong(_,t,y),_}}),ct=e(function(t){var e=et;t.exports=at("Map",function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},{get:function(t){var n=e.getEntry(this,t);return n&&n.v},set:function(t,n){return e.def(this,0===t?0:t,n)}},e,!0)}),st=e(function(t){var e=h;t.exports=Array.isArray||function(t){return"Array"==e(t)}}),ft=e(function(t){var e=r,n=st,o=A("species");t.exports=function(t){var r;return n(t)&&(r=t.constructor,"function"!=typeof r||r!==Array&&!n(r.prototype)||(r=void 0),e(r)&&(r=r[o],null===r&&(r=void 0))),void 0===r?Array:r}}),lt=e(function(t){var e=ft;t.exports=function(t,n){return new(e(t))(n)}}),pt=e(function(t){var e=F,n=v,r=V,o=k,i=lt;t.exports=function(t,u){var a=1==t,c=2==t,s=3==t,f=4==t,l=6==t,p=5==t||l,h=u||i;return function(i,u,v){for(var d,y,g=r(i),k=n(g),_=e(u,v,3),b=o(k.length),m=0,w=a?h(i,b):c?h(i,0):void 0;b>m;m++)if((p||m in k)&&(d=k[m],y=_(d,m,g),t))if(a)w[m]=y;else if(y)switch(t){case 3:return!0;case 5:return d;case 6:return m;case 2:w.push(d)}else if(f)return!1;return l?-1:s||f?f:w}}}),ht=e(function(t,e){e.f=Object.getOwnPropertySymbols}),vt=e(function(t){var e=O,n=ht,r=rt,o=V,u=v,a=Object.assign;t.exports=!a||i(function(){var t={},e={},n=Symbol(),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach(function(t){e[t]=t}),7!=a({},t)[n]||Object.keys(a({},e)).join("")!=r})?function(t,i){for(var a=o(t),c=arguments.length,s=1,f=n.f,l=r.f;c>s;)for(var p,h=u(arguments[s++]),v=f?e(h).concat(f(h)):e(h),d=v.length,y=0;d>y;)l.call(h,p=v[y++])&&(a[p]=h[p]);return a}:a}),dt=e(function(t){var e=I,n=tt.getWeak,i=o,u=r,a=L,c=N,s=pt,f=p,l=s(5),h=s(6),v=0,d=function(t){return t._l||(t._l=new y)},y=function(){this.a=[]},g=function(t,e){return l(t.a,function(t){return t[0]===e})};y.prototype={get:function(t){var e=g(this,t);if(e)return e[1]},has:function(t){return!!g(this,t)},set:function(t,e){var n=g(this,t);n?n[1]=e:this.a.push([t,e])},delete:function(t){var e=h(this.a,function(e){return e[0]===t});return~e&&this.a.splice(e,1),!!~e}},t.exports={getConstructor:function(t,r,o,i){var s=t(function(t,e){a(t,s,r,"_i"),t._i=v++,t._l=void 0,void 0!=e&&c(e,o,t[i],t)});return e(s.prototype,{delete:function(t){if(!u(t))return!1;var e=n(t);return e===!0?d(this).delete(t):e&&f(e,this._i)&&delete e[this._i]},has:function(t){if(!u(t))return!1;var e=n(t);return e===!0?d(this).has(t):e&&f(e,this._i)}}),s},def:function(t,e,r){var o=n(i(e),!0);return o===!0?d(t).set(e,r):o[t._i]=r,t},ufstore:d}}),yt=e(function(t){var e,n=pt(0),o=Z,i=tt,u=vt,a=dt,c=r,s=i.getWeak,f=Object.isExtensible,l=a.ufstore,p={},h=function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},v={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 a.def(this,t,e)}},d=t.exports=at("WeakMap",h,v,a,!0,!0);7!=(new d).set((Object.freeze||Object)(p),7).get(p)&&(e=a.getConstructor(h),u(e.prototype,v),i.NEED=!0,n(["delete","has","get","set"],function(t){var n=d.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)})}))}),gt=e(function(t){var e=ct,n=G,r=m("metadata"),o=r.store||(r.store=new yt),i=function(t,n,r){var i=o.get(t);if(!i){if(!r)return;o.set(t,i=new e)}var u=i.get(n);if(!u){if(!r)return;i.set(n,u=new e)}return u},u=function(t,e,n){var r=i(e,n,!1);return void 0!==r&&r.has(t)},a=function(t,e,n){var r=i(e,n,!1);return void 0===r?void 0:r.get(t)},c=function(t,e,n,r){i(n,r,!0).set(t,e)},s=function(t,e){var n=i(t,e,!1),r=[];return n&&n.forEach(function(t,e){r.push(e)}),r},f=function(t){return void 0===t||"symbol"==typeof t?t:String(t)},l=function(t){n(n.S,"Reflect",t)};t.exports={store:o,map:i,has:u,get:a,set:c,keys:s,key:f,exp:l}}),kt=(e(function(t){var e=gt,n=o,r=e.key,i=e.set;e.exp({defineMetadata:function(t,e,o,u){i(t,e,n(o),r(u))}})}),e(function(t){var e=gt,n=o,r=e.key,i=e.map,u=e.store;e.exp({deleteMetadata:function(t,e){var o=arguments.length<3?void 0:r(arguments[2]),a=i(n(e),o,!1);if(void 0===a||!a.delete(t))return!1;if(a.size)return!0;var c=u.get(e);return c.delete(o),!!c.size||u.delete(e)}})}),e(function(t){var e=gt,n=o,r=J,i=e.has,u=e.get,a=e.key,c=function(t,e,n){var o=i(t,e,n);if(o)return u(t,e,n);var a=r(e);return null!==a?c(t,a,n):void 0};e.exp({getMetadata:function(t,e){return c(t,n(e),arguments.length<3?void 0:a(arguments[2]))}})}),e(function(t){var e=et;t.exports=at("Set",function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},{add:function(t){return e.def(this,t=0===t?0:t,t)}},e)})),_t=e(function(t){var e=N;t.exports=function(t,n){var r=[];return e(t,!1,r.push,r,n),r}}),bt=(e(function(t){var e=kt,n=_t,r=gt,i=o,u=J,a=r.keys,c=r.key,s=function(t,r){var o=a(t,r),i=u(t);if(null===i)return o;var c=s(i,r);return c.length?o.length?n(new e(o.concat(c))):c:o};r.exp({getMetadataKeys:function(t){return s(i(t),arguments.length<2?void 0:c(arguments[1]))}})}),e(function(t){var e=gt,n=o,r=e.get,i=e.key;e.exp({getOwnMetadata:function(t,e){return r(t,n(e),arguments.length<3?void 0:i(arguments[2]))}})}),e(function(t){var e=gt,n=o,r=e.keys,i=e.key;e.exp({getOwnMetadataKeys:function(t){return r(n(t),arguments.length<2?void 0:i(arguments[1]))}})}),e(function(t){var e=gt,n=o,r=J,i=e.has,u=e.key,a=function(t,e,n){var o=i(t,e,n);if(o)return!0;var u=r(e);return null!==u&&a(t,u,n)};e.exp({hasMetadata:function(t,e){return a(t,n(e),arguments.length<3?void 0:u(arguments[2]))}})}),e(function(t){var e=gt,n=o,r=e.has,i=e.key;e.exp({hasOwnMetadata:function(t,e){return r(t,n(e),arguments.length<3?void 0:i(arguments[2]))}})}),e(function(t){var e=gt,n=o,r=C,i=e.key,u=e.set;e.exp({metadata:function(t,e){return function(o,a){u(t,e,(void 0!==a?n:r)(o),i(a))}}})}),e(function(t){t.exports=z.Reflect}));e(function(t){function e(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 r(t,n){for(var r=t.constructor.name,o=function(o){var i=n[o],u=t[i];u&&(t[i]=function(t){return function(){return t.apply(this,e(arguments,r+"."+i))}}(u))},i=0;i1?new e(t,n):new e(t),u=Object.getOwnPropertyDescriptor(o,"onmessage");return u&&u.configurable===!1?(r=Object.create(o),["addEventListener","removeEventListener","send","close"].forEach(function(t){r[t]=function(){return o[t].apply(o,arguments)}})):r=o,i(r,["close","error","message","open"]),r};for(var n in e)t.WebSocket[n]=e[n]}function x(t){if(!z){var e="undefined"!=typeof WebSocket;E()?(Z&&i(HTMLElement.prototype,K),i(XMLHttpRequest.prototype,null),"undefined"!=typeof IDBIndex&&(i(IDBIndex.prototype,null),i(IDBRequest.prototype,null),i(IDBOpenDBRequest.prototype,null),i(IDBDatabase.prototype,null),i(IDBTransaction.prototype,null),i(IDBCursor.prototype,null)),e&&i(WebSocket.prototype,null)):(O(),h("XMLHttpRequest"),e&&T(t))}}function E(){if(Z&&!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 O(){for(var t=function(t){var e=K[t],n="on"+e;document.addEventListener(e,function(t){var e,r,o=t.target;for(r=o?o.constructor.name+"."+n:"unknown."+n;o;)o[n]&&!o[n][U]&&(e=Zone.current.wrap(o[n],r),e[U]=o[n],o[n]=e),o=o.parentElement},!0)},e=0;e",this._properties=e&&e.properties||{},this._zoneDelegate=new d(this,this._parent&&this._parent._zoneDelegate,e)}return n.assertZonePatched=function(){if(t.Promise!==Z)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 b},enumerable:!0,configurable:!0}),Object.defineProperty(n,"currentTask",{get:function(){return m},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 o=b;b=this;try{return this._zoneDelegate.invoke(this,t,e,n,r)}finally{b=o}},n.prototype.runGuarded=function(t,e,n,r){void 0===e&&(e=null),void 0===n&&(n=null),void 0===r&&(r=null);var o=b;b=this;try{try{return this._zoneDelegate.invoke(this,t,e,n,r)}catch(t){if(this._zoneDelegate.handleError(this,t))throw t}}finally{b=o}},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=m;m=t;var o=b;b=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{b=o,m=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,o){return this._zoneDelegate.scheduleTask(this,new y("macroTask",this,t,e,n,r,o))},n.prototype.scheduleEventTask=function(t,e,n,r,o){return this._zoneDelegate.scheduleTask(this,new y("eventTask",this,t,e,n,r,o))},n.prototype.cancelTask=function(t){var e=this._zoneDelegate.cancelTask(this,t);return t.runCount=-1,t.cancelFn=null,e},n.__symbol__=e,n}(),d=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 v(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,o){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this.zone,t,e,n,r,o):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],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};try{this.hasTask(this.zone,i)}finally{this._parentDelegate&&this._parentDelegate._updateTaskCount(t,e)}}},t}(),y=function(){function t(t,e,n,r,o,u,a){this.runCount=0,this.type=t,this.zone=e,this.source=n,this.data=o,this.scheduleFn=u,this.cancelFn=a,this.callback=r;var c=this;this.invoke=function(){E++;try{return e.runTask(c,this,arguments)}finally{1==E&&i(),E--}}}return t.prototype.toString=function(){return this.data&&"undefined"!=typeof this.data.handleId?this.data.handleId:this.toString()},t}(),g=e("setTimeout"),k=e("Promise"),_=e("then"),b=new v(null,null),m=null,w=[],T=!1,x=[],E=0,O=e("state"),S=e("value"),j="Promise.then",D=null,P=!0,M=!1,z=0,Z=function(){function t(e){var n=this;if(!(n instanceof t))throw new Error("Must be an instanceof Promise.");n[O]=D,n[S]=[];try{e&&e(s(n,P),s(n,M))}catch(t){f(n,!1,t)}}return t.resolve=function(t){return f(new this(null),P,t)},t.reject=function(t){return f(new this(null),M,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){r=t,o=e}),a=0,c=t;a + + + Demo + + + + + + + + + + + + diff --git a/demos/src/alert/main.html b/demos/src/alert/main.html new file mode 100644 index 0000000000..712272c23a --- /dev/null +++ b/demos/src/alert/main.html @@ -0,0 +1,16 @@ + + + + Demo + + + + + + + + + + + + diff --git a/demos/src/app.core.scss b/demos/src/app.core.scss deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/demos/src/app.ios.scss b/demos/src/app.ios.scss deleted file mode 100644 index 52acaea496..0000000000 --- a/demos/src/app.ios.scss +++ /dev/null @@ -1 +0,0 @@ -@import "../src/ionic.ios"; diff --git a/demos/src/app.md.scss b/demos/src/app.md.scss deleted file mode 100644 index 28e52b5d12..0000000000 --- a/demos/src/app.md.scss +++ /dev/null @@ -1 +0,0 @@ -@import "../src/ionic.md"; diff --git a/demos/src/app.variables.local.scss b/demos/src/app.variables.local.scss deleted file mode 100644 index 522342993f..0000000000 --- a/demos/src/app.variables.local.scss +++ /dev/null @@ -1,2 +0,0 @@ -$font-path: "../fonts"; -$roboto-font-path: "../fonts"; diff --git a/demos/src/app.variables.production.scss b/demos/src/app.variables.production.scss deleted file mode 100644 index bc97dada4d..0000000000 --- a/demos/src/app.variables.production.scss +++ /dev/null @@ -1,2 +0,0 @@ -$font-path: "/fonts"; -$roboto-font-path: "/fonts"; diff --git a/demos/src/app.variables.scss b/demos/src/app.variables.scss deleted file mode 100644 index 12b647616d..0000000000 --- a/demos/src/app.variables.scss +++ /dev/null @@ -1,31 +0,0 @@ -// http://ionicframework.com/docs/v2/theming/ - - -// App Shared Variables -// -------------------------------------------------- -// To customize the look and feel of this app, you can override -// the Sass variables found in Ionic's source scss files. Setting -// variables before Ionic's Sass will use these variables rather than -// Ionic's default Sass variable values. App Shared Sass imports belong -// in the app.core.scss file and not this file. Sass variables specific -// to the mode belong in either the app.ios.scss or app.md.scss files. - - -// App Shared Color Variables -// -------------------------------------------------- -// It's highly recommended to change the default colors -// to match your app's branding. Ionic uses a Sass map of -// colors so you can add, rename and remove colors as needed. -// The "primary" color is the only required color in the map. -// Both iOS and MD colors can be further customized if colors -// are different per mode. - -$colors: ( - primary: #387ef5, - secondary: #32db64, - danger: #f53d3d, - light: #f4f4f4, - dark: #222, - vibrant: rebeccapurple, - bright: #FFC125 -); diff --git a/demos/src/app.wp.scss b/demos/src/app.wp.scss deleted file mode 100644 index be0e452926..0000000000 --- a/demos/src/app.wp.scss +++ /dev/null @@ -1 +0,0 @@ -@import "../src/ionic.wp"; diff --git a/demos/src/button/main.html b/demos/src/button/main.html new file mode 100644 index 0000000000..712272c23a --- /dev/null +++ b/demos/src/button/main.html @@ -0,0 +1,16 @@ + + + + Demo + + + + + + + + + + + + diff --git a/demos/src/checkbox/main.html b/demos/src/checkbox/main.html new file mode 100644 index 0000000000..712272c23a --- /dev/null +++ b/demos/src/checkbox/main.html @@ -0,0 +1,16 @@ + + + + Demo + + + + + + + + + + + + diff --git a/demos/src/chip/main.html b/demos/src/chip/main.html new file mode 100644 index 0000000000..712272c23a --- /dev/null +++ b/demos/src/chip/main.html @@ -0,0 +1,16 @@ + + + + Demo + + + + + + + + + + + + diff --git a/demos/src/config/main.html b/demos/src/config/main.html new file mode 100644 index 0000000000..712272c23a --- /dev/null +++ b/demos/src/config/main.html @@ -0,0 +1,16 @@ + + + + Demo + + + + + + + + + + + + diff --git a/demos/src/datetime/main.html b/demos/src/datetime/main.html new file mode 100644 index 0000000000..712272c23a --- /dev/null +++ b/demos/src/datetime/main.html @@ -0,0 +1,16 @@ + + + + Demo + + + + + + + + + + + + diff --git a/demos/src/events/main.html b/demos/src/events/main.html new file mode 100644 index 0000000000..712272c23a --- /dev/null +++ b/demos/src/events/main.html @@ -0,0 +1,16 @@ + + + + Demo + + + + + + + + + + + + diff --git a/demos/src/hide-when/main.html b/demos/src/hide-when/main.html new file mode 100644 index 0000000000..712272c23a --- /dev/null +++ b/demos/src/hide-when/main.html @@ -0,0 +1,16 @@ + + + + Demo + + + + + + + + + + + + diff --git a/demos/src/icon/main.html b/demos/src/icon/main.html new file mode 100644 index 0000000000..712272c23a --- /dev/null +++ b/demos/src/icon/main.html @@ -0,0 +1,16 @@ + + + + Demo + + + + + + + + + + + + diff --git a/demos/src/infinite-scroll/main.html b/demos/src/infinite-scroll/main.html new file mode 100644 index 0000000000..712272c23a --- /dev/null +++ b/demos/src/infinite-scroll/main.html @@ -0,0 +1,16 @@ + + + + Demo + + + + + + + + + + + + diff --git a/demos/src/input/main.html b/demos/src/input/main.html new file mode 100644 index 0000000000..712272c23a --- /dev/null +++ b/demos/src/input/main.html @@ -0,0 +1,16 @@ + + + + Demo + + + + + + + + + + + + diff --git a/demos/src/item-reorder/main.html b/demos/src/item-reorder/main.html new file mode 100644 index 0000000000..712272c23a --- /dev/null +++ b/demos/src/item-reorder/main.html @@ -0,0 +1,16 @@ + + + + Demo + + + + + + + + + + + + diff --git a/demos/src/item-sliding/main.html b/demos/src/item-sliding/main.html new file mode 100644 index 0000000000..712272c23a --- /dev/null +++ b/demos/src/item-sliding/main.html @@ -0,0 +1,16 @@ + + + + Demo + + + + + + + + + + + + diff --git a/demos/src/item/main.html b/demos/src/item/main.html new file mode 100644 index 0000000000..712272c23a --- /dev/null +++ b/demos/src/item/main.html @@ -0,0 +1,16 @@ + + + + Demo + + + + + + + + + + + + diff --git a/demos/src/label/main.html b/demos/src/label/main.html new file mode 100644 index 0000000000..712272c23a --- /dev/null +++ b/demos/src/label/main.html @@ -0,0 +1,16 @@ + + + + Demo + + + + + + + + + + + + diff --git a/demos/src/list/main.html b/demos/src/list/main.html new file mode 100644 index 0000000000..712272c23a --- /dev/null +++ b/demos/src/list/main.html @@ -0,0 +1,16 @@ + + + + Demo + + + + + + + + + + + + diff --git a/demos/src/loading/main.html b/demos/src/loading/main.html new file mode 100644 index 0000000000..d6e3c64cf0 --- /dev/null +++ b/demos/src/loading/main.html @@ -0,0 +1,17 @@ + + + + Demo + + + + + + + + + + + + + diff --git a/demos/src/loading/styles.css b/demos/src/loading/style.css similarity index 100% rename from demos/src/loading/styles.css rename to demos/src/loading/style.css diff --git a/demos/src/local-storage/main.html b/demos/src/local-storage/main.html new file mode 100644 index 0000000000..712272c23a --- /dev/null +++ b/demos/src/local-storage/main.html @@ -0,0 +1,16 @@ + + + + Demo + + + + + + + + + + + + diff --git a/demos/src/menu/main.html b/demos/src/menu/main.html new file mode 100644 index 0000000000..712272c23a --- /dev/null +++ b/demos/src/menu/main.html @@ -0,0 +1,16 @@ + + + + Demo + + + + + + + + + + + + diff --git a/demos/src/modal/main.html b/demos/src/modal/main.html new file mode 100644 index 0000000000..712272c23a --- /dev/null +++ b/demos/src/modal/main.html @@ -0,0 +1,16 @@ + + + + Demo + + + + + + + + + + + + diff --git a/demos/src/nav-params/main.html b/demos/src/nav-params/main.html new file mode 100644 index 0000000000..712272c23a --- /dev/null +++ b/demos/src/nav-params/main.html @@ -0,0 +1,16 @@ + + + + Demo + + + + + + + + + + + + diff --git a/demos/src/navbar/main.html b/demos/src/navbar/main.html new file mode 100644 index 0000000000..712272c23a --- /dev/null +++ b/demos/src/navbar/main.html @@ -0,0 +1,16 @@ + + + + Demo + + + + + + + + + + + + diff --git a/demos/src/navigation/main.html b/demos/src/navigation/main.html new file mode 100644 index 0000000000..712272c23a --- /dev/null +++ b/demos/src/navigation/main.html @@ -0,0 +1,16 @@ + + + + Demo + + + + + + + + + + + + diff --git a/demos/src/output.ios.scss b/demos/src/output.ios.scss deleted file mode 100644 index 42a4990bf0..0000000000 --- a/demos/src/output.ios.scss +++ /dev/null @@ -1,36 +0,0 @@ -$font-path: "../fonts"; -$roboto-font-path: "../fonts"; - -// http://ionicframework.com/docs/v2/theming/ - - -// App Shared Variables -// -------------------------------------------------- -// To customize the look and feel of this app, you can override -// the Sass variables found in Ionic's source scss files. Setting -// variables before Ionic's Sass will use these variables rather than -// Ionic's default Sass variable values. App Shared Sass imports belong -// in the app.core.scss file and not this file. Sass variables specific -// to the mode belong in either the app.ios.scss or app.md.scss files. - - -// App Shared Color Variables -// -------------------------------------------------- -// It's highly recommended to change the default colors -// to match your app's branding. Ionic uses a Sass map of -// colors so you can add, rename and remove colors as needed. -// The "primary" color is the only required color in the map. -// Both iOS and MD colors can be further customized if colors -// are different per mode. - -$colors: ( - primary: #387ef5, - secondary: #32db64, - danger: #f53d3d, - light: #f4f4f4, - dark: #222, - vibrant: rebeccapurple, - bright: #FFC125 -); - -@import "../src/ionic.ios"; diff --git a/demos/src/output.md.scss b/demos/src/output.md.scss deleted file mode 100644 index 58b5fdff3c..0000000000 --- a/demos/src/output.md.scss +++ /dev/null @@ -1,36 +0,0 @@ -$font-path: "../fonts"; -$roboto-font-path: "../fonts"; - -// http://ionicframework.com/docs/v2/theming/ - - -// App Shared Variables -// -------------------------------------------------- -// To customize the look and feel of this app, you can override -// the Sass variables found in Ionic's source scss files. Setting -// variables before Ionic's Sass will use these variables rather than -// Ionic's default Sass variable values. App Shared Sass imports belong -// in the app.core.scss file and not this file. Sass variables specific -// to the mode belong in either the app.ios.scss or app.md.scss files. - - -// App Shared Color Variables -// -------------------------------------------------- -// It's highly recommended to change the default colors -// to match your app's branding. Ionic uses a Sass map of -// colors so you can add, rename and remove colors as needed. -// The "primary" color is the only required color in the map. -// Both iOS and MD colors can be further customized if colors -// are different per mode. - -$colors: ( - primary: #387ef5, - secondary: #32db64, - danger: #f53d3d, - light: #f4f4f4, - dark: #222, - vibrant: rebeccapurple, - bright: #FFC125 -); - -@import "../src/ionic.md"; diff --git a/demos/src/output.wp.scss b/demos/src/output.wp.scss deleted file mode 100644 index 09e22c5b88..0000000000 --- a/demos/src/output.wp.scss +++ /dev/null @@ -1,36 +0,0 @@ -$font-path: "../fonts"; -$roboto-font-path: "../fonts"; - -// http://ionicframework.com/docs/v2/theming/ - - -// App Shared Variables -// -------------------------------------------------- -// To customize the look and feel of this app, you can override -// the Sass variables found in Ionic's source scss files. Setting -// variables before Ionic's Sass will use these variables rather than -// Ionic's default Sass variable values. App Shared Sass imports belong -// in the app.core.scss file and not this file. Sass variables specific -// to the mode belong in either the app.ios.scss or app.md.scss files. - - -// App Shared Color Variables -// -------------------------------------------------- -// It's highly recommended to change the default colors -// to match your app's branding. Ionic uses a Sass map of -// colors so you can add, rename and remove colors as needed. -// The "primary" color is the only required color in the map. -// Both iOS and MD colors can be further customized if colors -// are different per mode. - -$colors: ( - primary: #387ef5, - secondary: #32db64, - danger: #f53d3d, - light: #f4f4f4, - dark: #222, - vibrant: rebeccapurple, - bright: #FFC125 -); - -@import "../src/ionic.wp"; diff --git a/demos/src/platform/main.html b/demos/src/platform/main.html new file mode 100644 index 0000000000..712272c23a --- /dev/null +++ b/demos/src/platform/main.html @@ -0,0 +1,16 @@ + + + + Demo + + + + + + + + + + + + diff --git a/demos/src/popover/main.html b/demos/src/popover/main.html new file mode 100644 index 0000000000..d6e3c64cf0 --- /dev/null +++ b/demos/src/popover/main.html @@ -0,0 +1,17 @@ + + + + Demo + + + + + + + + + + + + + diff --git a/demos/src/radio/main.html b/demos/src/radio/main.html new file mode 100644 index 0000000000..712272c23a --- /dev/null +++ b/demos/src/radio/main.html @@ -0,0 +1,16 @@ + + + + Demo + + + + + + + + + + + + diff --git a/demos/src/range/main.html b/demos/src/range/main.html new file mode 100644 index 0000000000..712272c23a --- /dev/null +++ b/demos/src/range/main.html @@ -0,0 +1,16 @@ + + + + Demo + + + + + + + + + + + + diff --git a/demos/src/refresher/main.html b/demos/src/refresher/main.html new file mode 100644 index 0000000000..712272c23a --- /dev/null +++ b/demos/src/refresher/main.html @@ -0,0 +1,16 @@ + + + + Demo + + + + + + + + + + + + diff --git a/demos/src/scroll/main.html b/demos/src/scroll/main.html new file mode 100644 index 0000000000..712272c23a --- /dev/null +++ b/demos/src/scroll/main.html @@ -0,0 +1,16 @@ + + + + Demo + + + + + + + + + + + + diff --git a/demos/src/scrollbar-fix.js b/demos/src/scrollbar-fix.js deleted file mode 100644 index 2d6944b680..0000000000 --- a/demos/src/scrollbar-fix.js +++ /dev/null @@ -1,45 +0,0 @@ -(function(){ - - function hasScrollbar() { - - if (typeof window.top.innerWidth === 'number') { - return window.top.innerWidth > window.top.document.documentElement.clientWidth; - } - - // rootElem for quirksmode - var rootElem = window.top.document.documentElement || window.top.document.body; - - // Check overflow style property on body for fauxscrollbars - var overflowStyle; - - if (typeof rootElem.currentStyle !== 'undefined') { - overflowStyle = rootElem.currentStyle.overflow; - } - - overflowStyle = overflowStyle || window.top.getComputedStyle(rootElem, '').overflow; - - // Also need to check the Y axis overflow - var overflowYStyle; - - if (typeof rootElem.currentStyle !== 'undefined') { - overflowYStyle = rootElem.currentStyle.overflowY; - } - - overflowYStyle = overflowYStyle || window.top.getComputedStyle(rootElem, '').overflowY; - - var contentOverflows = rootElem.scrollHeight > rootElem.clientHeight; - var overflowShown = /^(visible|auto)$/.test(overflowStyle) || /^(visible|auto)$/.test(overflowYStyle); - var alwaysShowScroll = overflowStyle === 'scroll' || overflowYStyle === 'scroll'; - - return (contentOverflows && overflowShown) || (alwaysShowScroll) - } - - - if (hasScrollbar() === true) { - setTimeout(function() { - var body = document.getElementsByTagName('body')[0]; - body.className = body.className + ' has-scrollbar'; - }, 500); - } - -})(); \ No newline at end of file diff --git a/demos/src/searchbar/main.html b/demos/src/searchbar/main.html new file mode 100644 index 0000000000..712272c23a --- /dev/null +++ b/demos/src/searchbar/main.html @@ -0,0 +1,16 @@ + + + + Demo + + + + + + + + + + + + diff --git a/demos/src/segment/main.html b/demos/src/segment/main.html new file mode 100644 index 0000000000..712272c23a --- /dev/null +++ b/demos/src/segment/main.html @@ -0,0 +1,16 @@ + + + + Demo + + + + + + + + + + + + diff --git a/demos/src/select/main.html b/demos/src/select/main.html new file mode 100644 index 0000000000..712272c23a --- /dev/null +++ b/demos/src/select/main.html @@ -0,0 +1,16 @@ + + + + Demo + + + + + + + + + + + + diff --git a/demos/src/show-when/main.html b/demos/src/show-when/main.html new file mode 100644 index 0000000000..712272c23a --- /dev/null +++ b/demos/src/show-when/main.html @@ -0,0 +1,16 @@ + + + + Demo + + + + + + + + + + + + diff --git a/demos/src/slides/main.html b/demos/src/slides/main.html new file mode 100644 index 0000000000..712272c23a --- /dev/null +++ b/demos/src/slides/main.html @@ -0,0 +1,16 @@ + + + + Demo + + + + + + + + + + + + diff --git a/demos/src/tabs/main.html b/demos/src/tabs/main.html new file mode 100644 index 0000000000..68e683fe2c --- /dev/null +++ b/demos/src/tabs/main.html @@ -0,0 +1,17 @@ + + + + Demo + + + + + + + + + + + + + diff --git a/demos/src/textarea/main.html b/demos/src/textarea/main.html new file mode 100644 index 0000000000..712272c23a --- /dev/null +++ b/demos/src/textarea/main.html @@ -0,0 +1,16 @@ + + + + Demo + + + + + + + + + + + + diff --git a/demos/src/title/main.html b/demos/src/title/main.html new file mode 100644 index 0000000000..712272c23a --- /dev/null +++ b/demos/src/title/main.html @@ -0,0 +1,16 @@ + + + + Demo + + + + + + + + + + + + diff --git a/demos/src/toast/main.html b/demos/src/toast/main.html new file mode 100644 index 0000000000..712272c23a --- /dev/null +++ b/demos/src/toast/main.html @@ -0,0 +1,16 @@ + + + + Demo + + + + + + + + + + + + diff --git a/demos/src/toggle/main.html b/demos/src/toggle/main.html new file mode 100644 index 0000000000..712272c23a --- /dev/null +++ b/demos/src/toggle/main.html @@ -0,0 +1,16 @@ + + + + Demo + + + + + + + + + + + + diff --git a/demos/src/toolbar/main.html b/demos/src/toolbar/main.html new file mode 100644 index 0000000000..712272c23a --- /dev/null +++ b/demos/src/toolbar/main.html @@ -0,0 +1,16 @@ + + + + Demo + + + + + + + + + + + + diff --git a/demos/tsconfig.json b/demos/tsconfig.json index d0bfe7ed6c..ab60e73f6e 100644 --- a/demos/tsconfig.json +++ b/demos/tsconfig.json @@ -9,7 +9,7 @@ "moduleResolution": "node", "noImplicitAny": false, "removeComments": true, - "target": "es6", + "target": "es5", "types": ["jasmine", "protractor"] }, "include": [ diff --git a/scripts/gulp/declarations.d.ts b/scripts/gulp/declarations.d.ts index ecd6422d8f..f30f90ebb9 100644 --- a/scripts/gulp/declarations.d.ts +++ b/scripts/gulp/declarations.d.ts @@ -1,2 +1,3 @@ +declare module 'google-closure-compiler-js'; declare module 'rollup'; declare module 'rollup-plugin-node-resolve'; \ No newline at end of file diff --git a/scripts/gulp/tasks/demos.ts b/scripts/gulp/tasks/demos.ts index 22b57d588f..c0dce0066d 100644 --- a/scripts/gulp/tasks/demos.ts +++ b/scripts/gulp/tasks/demos.ts @@ -6,7 +6,7 @@ import * as rollup from 'rollup'; import * as nodeResolve from 'rollup-plugin-node-resolve'; import { DEMOS_ROOT, DEMOS_SRC_ROOT} from '../constants'; -import { deleteFiles, runNgc } from '../util'; +import { compileSass, copyFonts, createTimestamp, deleteFiles, runNgc, setSassIonicVersion } from '../util'; function doNpmInstall() { return new Promise((resolve, reject) => { @@ -65,8 +65,8 @@ function recursiveRollupHelper(files: string[]) { } else if ( files.length === 0) { return Promise.resolve(); } else { - const outputFileName = join(dirname(files[0]), 'app.bundle.js'); - return runRollup(files[0], outputFileName).then(() => { + const outputFileName = join(dirname(files[0]), 'main.es6.js'); + return bundle(files[0], outputFileName).then(() => { const remainingFiles = files.concat(); remainingFiles.shift(); return recursiveRollupHelper(remainingFiles); @@ -76,19 +76,45 @@ function recursiveRollupHelper(files: string[]) { } } -function runRollup(inputFile: string, outputFile: string): Promise { +function bundle(inputFile: string, outputFile: string): Promise { console.log(`Starting rollup on ${inputFile} ... writing to ${outputFile}`); return rollup.rollup({ entry: inputFile, plugins: [ rollupNG2(), - nodeResolve() + nodeResolve({ + module: true, + jsnext: true, + main: true, + extensions: ['.js'] + }) ] - }).then(function(bundle){ - return bundle.write({ - format: 'iife', - dest: outputFile, - }); + }).then(bundle => { + return bundle.write({ + format: 'iife', + dest: outputFile, + }); + }).then(() => { + // transpile the file + console.log('Starting transpile to ES5 ...'); + const es5BundleName = join(dirname(outputFile), 'main.bundle.js'); + return transpile(outputFile, es5BundleName); + }); +} + +function transpile(inputFile: string, outputFile: string) { + console.log(`Transpiling ${inputFile}`); + return new Promise((resolve, reject) => { + const command = `./node_modules/.bin/tsc --out ${outputFile} --target es5 --allowJs --sourceMap ${inputFile}`; + exec(command, (err, stdout, stderr) => { + if (err) { + console.log(stdout); + console.log(stderr); + reject(err); + } else { + resolve(); + } + }); }); } @@ -105,17 +131,13 @@ function buildDemos(done: Function) { }); } -task('demos.build', (done: Function) => { - buildDemos(done); -}); - export function rollupNG2() { return { name: 'rollupNG2', resolveId(id: string) { if (id.startsWith('rxjs/')) { - return `${process.cwd()}/node_modules/rxjs-es/${id.split('rxjs/').pop()}.js`; + return `${process.cwd()}/demos/node_modules/rxjs-es/${id.split('rxjs/').pop()}.js`; } } }; @@ -125,6 +147,21 @@ function cleanDemos(done: Function) { deleteFiles([`${DEMOS_SRC_ROOT}/**/*.js`, `${DEMOS_SRC_ROOT}/**/*.d.ts`, `${DEMOS_SRC_ROOT}/**/*.ngfactory.ts`, `${DEMOS_SRC_ROOT}/**/*.metadata.json`], done); } +task('demos.build', ['demos.sass', 'demos.fonts'], (done: Function) => { + buildDemos(done); +}); + task('demos.clean', (done: Function) => { cleanDemos(done); }); + + +task('demos.sass', () => { + // ensure there is a version.scss file + setSassIonicVersion(`E2E-${createTimestamp()}`); + return compileSass(`${DEMOS_ROOT}/css`); +}); + +task('demos.fonts', () => { + return copyFonts(`${DEMOS_ROOT}/fonts`); +}); diff --git a/scripts/gulp/tasks/e2e.ts b/scripts/gulp/tasks/e2e.ts index a24fd27ad8..c4b5247a7e 100644 --- a/scripts/gulp/tasks/e2e.ts +++ b/scripts/gulp/tasks/e2e.ts @@ -3,7 +3,7 @@ import {dest, src, start, task} from 'gulp'; import * as path from 'path'; import * as fs from 'fs'; -import { compileSass, copyFonts, createTempTsConfig, deleteFiles, runNgc, runWebpack, setSassIonicVersion, createTimestamp } from '../util'; +import { compileSass, copyFonts, createTempTsConfig, createTimestamp, deleteFiles, runNgc, runWebpack, setSassIonicVersion } from '../util'; task('e2e', e2eBuild);