├── README.md ├── angular.json ├── browserslist ├── native-demo ├── index.html ├── main-theme.css ├── main.js ├── my-badge.js ├── my-button.js ├── my-input.js ├── style.css └── zone.min.js ├── package-lock.json ├── package.json ├── projects ├── angular-components-library │ ├── ng-package.json │ ├── package.json │ ├── src │ │ ├── components │ │ │ ├── button │ │ │ │ ├── button.component.html │ │ │ │ ├── button.component.less │ │ │ │ ├── button.component.ts │ │ │ │ └── button.module.ts │ │ │ └── input │ │ │ │ ├── input.component.html │ │ │ │ ├── input.component.less │ │ │ │ ├── input.component.ts │ │ │ │ └── input.module.ts │ │ ├── global-vars.less │ │ └── public-api.ts │ ├── tsconfig.lib.json │ └── tslint.json ├── another-angular-components-library │ ├── ng-package.json │ ├── package.json │ ├── src │ │ ├── components │ │ │ └── badge │ │ │ │ ├── badge.component.html │ │ │ │ ├── badge.component.less │ │ │ │ ├── badge.component.ts │ │ │ │ └── badge.module.ts │ │ ├── enums │ │ │ └── badgeColors.ts │ │ └── public-api.ts │ ├── tsconfig.lib.json │ └── tslint.json └── elements │ ├── buildElements.sh │ ├── compileElements.js │ ├── compileHelpers.js │ ├── dist │ ├── components │ │ └── my-button.js │ └── tmp │ │ ├── 3rdpartylicenses.txt │ │ ├── main-es5.js │ │ ├── polyfills-es5.js │ │ ├── runtime-es5.js │ │ └── styles.css │ ├── elements-webpack.config.js │ ├── src │ ├── abstract │ │ └── element.module.ts │ ├── angular-components-library │ │ ├── button │ │ │ ├── button.module.ts │ │ │ └── compile.ts │ │ └── input │ │ │ ├── compile.ts │ │ │ └── input.module.ts │ ├── another-angular-components-library │ │ └── badge │ │ │ ├── badge.module.ts │ │ │ └── compile.ts │ ├── index.html │ ├── main.ts │ ├── polyfills.ts │ ├── prefix.ts │ └── styles.less │ ├── tsconfig.app.json │ └── tslint.json ├── src ├── app │ ├── app.component.html │ ├── app.component.less │ ├── app.component.ts │ └── app.module.ts ├── assets │ └── .gitkeep ├── environments │ ├── environment.prod.ts │ └── environment.ts ├── favicon.ico ├── index.html ├── main.ts ├── polyfills.ts └── styles.less ├── tsconfig.app.json ├── tsconfig.json └── tslint.json /README.md: -------------------------------------------------------------------------------- 1 | # AngularLibraryToWebComponentsDemo 2 | 3 | This is an Angular workspace that contains: 4 | 5 | - Two sample libraries with three Angular components 6 | - Angular demo application with one component showing the three Angular components exchanging data 7 | - The same native page with Web Components compiled from Angular components 8 | - Project "elements" with compilation from Angular to Web components 9 | 10 | --- 11 | 12 | ## Commands 13 | 14 | - `ng serve` — start an Angular demo app with Angular components 15 | - `npm run build:elements` — build single JS file Web Components from Angular components 16 | 17 | --- 18 | 19 | ## Key points 20 | 21 | - [angular.json](angular.json) contains configuration of application for Angular Elements compilation 22 | - [package.json](package.json) contains: 23 | 24 | - `document-register-element@v1.8.1` 25 | - `@angular/elements` added using `ng add @angular/elements --project=elements` command 26 | - `@angular-builders/custom-webpack` added using `ng add @angular-builders/custom-webpack --project=elements` command 27 | - `build:elements` script 28 | 29 | - ['elements' project](projects/elements) contains several scripts for easy building proccess 30 | - [ElementModule](projects/elements/src/abstract/element.module.ts) — abstract class implementing the whole Angular Element adding process 31 | - [native-demo page](native-demo/index.html) — an example with three bundled Web Components exchanging data 32 | -------------------------------------------------------------------------------- /angular.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "./node_modules/@angular/cli/lib/config/schema.json", 3 | "version": 1, 4 | "newProjectRoot": "projects", 5 | "projects": { 6 | "angular-library-to-web-components-demo": { 7 | "projectType": "application", 8 | "schematics": { 9 | "@schematics/angular:component": { 10 | "style": "less", 11 | "skipTests": true 12 | }, 13 | "@schematics/angular:class": { 14 | "skipTests": true 15 | }, 16 | "@schematics/angular:directive": { 17 | "skipTests": true 18 | }, 19 | "@schematics/angular:guard": { 20 | "skipTests": true 21 | }, 22 | "@schematics/angular:module": { 23 | "skipTests": true 24 | }, 25 | "@schematics/angular:pipe": { 26 | "skipTests": true 27 | }, 28 | "@schematics/angular:service": { 29 | "skipTests": true 30 | } 31 | }, 32 | "root": "", 33 | "sourceRoot": "src", 34 | "prefix": "app", 35 | "architect": { 36 | "build": { 37 | "builder": "@angular-devkit/build-angular:browser", 38 | "options": { 39 | "outputPath": "dist/angular-library-to-web-components-demo", 40 | "index": "src/index.html", 41 | "main": "src/main.ts", 42 | "polyfills": "src/polyfills.ts", 43 | "tsConfig": "tsconfig.app.json", 44 | "assets": ["src/favicon.ico", "src/assets"], 45 | "styles": ["src/styles.less"], 46 | "scripts": [ 47 | { 48 | "input": "node_modules/document-register-element/build/document-register-element.js" 49 | } 50 | ] 51 | }, 52 | "configurations": { 53 | "production": { 54 | "fileReplacements": [ 55 | { 56 | "replace": "src/environments/environment.ts", 57 | "with": "src/environments/environment.prod.ts" 58 | } 59 | ], 60 | "optimization": true, 61 | "outputHashing": "all", 62 | "sourceMap": false, 63 | "extractCss": true, 64 | "namedChunks": false, 65 | "aot": true, 66 | "extractLicenses": true, 67 | "vendorChunk": false, 68 | "buildOptimizer": true, 69 | "budgets": [ 70 | { 71 | "type": "initial", 72 | "maximumWarning": "2mb", 73 | "maximumError": "5mb" 74 | } 75 | ] 76 | } 77 | } 78 | }, 79 | "serve": { 80 | "builder": "@angular-devkit/build-angular:dev-server", 81 | "options": { 82 | "browserTarget": "angular-library-to-web-components-demo:build" 83 | }, 84 | "configurations": { 85 | "production": { 86 | "browserTarget": "angular-library-to-web-components-demo:build:production" 87 | } 88 | } 89 | }, 90 | "extract-i18n": { 91 | "builder": "@angular-devkit/build-angular:extract-i18n", 92 | "options": { 93 | "browserTarget": "angular-library-to-web-components-demo:build" 94 | } 95 | }, 96 | "lint": { 97 | "builder": "@angular-devkit/build-angular:tslint", 98 | "options": { 99 | "tsConfig": ["tsconfig.app.json"], 100 | "exclude": ["**/node_modules/**"] 101 | } 102 | } 103 | } 104 | }, 105 | "elements": { 106 | "projectType": "application", 107 | "schematics": {}, 108 | "root": "projects/elements", 109 | "sourceRoot": "projects/elements/src", 110 | "prefix": "app", 111 | "architect": { 112 | "build": { 113 | "builder": "@angular-builders/custom-webpack:browser", 114 | "options": { 115 | "customWebpackConfig": { 116 | "path": "./projects/elements/elements-webpack.config.js" 117 | }, 118 | "outputPath": "projects/elements/dist/tmp", 119 | "index": "projects/elements/src/index.html", 120 | "main": "projects/elements/src/main.ts", 121 | "polyfills": "projects/elements/src/polyfills.ts", 122 | "tsConfig": "projects/elements/tsconfig.app.json", 123 | "styles": ["projects/elements/src/styles.less"], 124 | "scripts": [] 125 | }, 126 | "configurations": { 127 | "production": { 128 | "optimization": true, 129 | "outputHashing": "none", 130 | "sourceMap": false, 131 | "extractCss": true, 132 | "namedChunks": false, 133 | "aot": true, 134 | "extractLicenses": true, 135 | "vendorChunk": false, 136 | "buildOptimizer": true, 137 | "budgets": [ 138 | { 139 | "type": "initial", 140 | "maximumWarning": "2mb", 141 | "maximumError": "5mb" 142 | } 143 | ] 144 | } 145 | } 146 | }, 147 | "serve": { 148 | "builder": "@angular-devkit/build-angular:dev-server", 149 | "options": { 150 | "browserTarget": "elements:build" 151 | }, 152 | "configurations": { 153 | "production": { 154 | "browserTarget": "elements:build:production" 155 | } 156 | } 157 | }, 158 | "extract-i18n": { 159 | "builder": "@angular-devkit/build-angular:extract-i18n", 160 | "options": { 161 | "browserTarget": "elements:build" 162 | } 163 | }, 164 | "lint": { 165 | "builder": "@angular-devkit/build-angular:tslint", 166 | "options": { 167 | "tsConfig": ["projects/elements/tsconfig.app.json"], 168 | "exclude": ["**/node_modules/**"] 169 | } 170 | } 171 | } 172 | }, 173 | "angular-components-library": { 174 | "projectType": "library", 175 | "root": "projects/angular-components-library", 176 | "sourceRoot": "projects/angular-components-library/src", 177 | "prefix": "lib", 178 | "architect": { 179 | "build": { 180 | "builder": "@angular-devkit/build-ng-packagr:build", 181 | "options": { 182 | "tsConfig": "projects/angular-components-library/tsconfig.lib.json", 183 | "project": "projects/angular-components-library/ng-package.json" 184 | } 185 | }, 186 | "lint": { 187 | "builder": "@angular-devkit/build-angular:tslint", 188 | "options": { 189 | "tsConfig": ["projects/angular-components-library/tsconfig.lib.json"], 190 | "exclude": ["**/node_modules/**"] 191 | } 192 | } 193 | } 194 | }, 195 | "another-angular-components-library": { 196 | "projectType": "library", 197 | "root": "projects/another-angular-components-library", 198 | "sourceRoot": "projects/another-angular-components-library/src", 199 | "prefix": "lib", 200 | "architect": { 201 | "build": { 202 | "builder": "@angular-devkit/build-ng-packagr:build", 203 | "options": { 204 | "tsConfig": "projects/another-angular-components-library/tsconfig.lib.json", 205 | "project": "projects/another-angular-components-library/ng-package.json" 206 | } 207 | }, 208 | "lint": { 209 | "builder": "@angular-devkit/build-angular:tslint", 210 | "options": { 211 | "tsConfig": ["projects/another-angular-components-library/tsconfig.lib.json"], 212 | "exclude": ["**/node_modules/**"] 213 | } 214 | } 215 | } 216 | } 217 | }, 218 | "defaultProject": "angular-library-to-web-components-demo" 219 | } 220 | -------------------------------------------------------------------------------- /browserslist: -------------------------------------------------------------------------------- 1 | # This file is used by the build system to adjust CSS and JS output to support the specified browsers below. 2 | # For additional information regarding the format and rule options, please see: 3 | # https://github.com/browserslist/browserslist#queries 4 | 5 | # You can see what browsers were selected by your queries by running: 6 | # npx browserslist 7 | 8 | > 0.5% 9 | last 2 versions 10 | Firefox ESR 11 | not dead 12 | not IE 9-11 # For IE 9-11 support, remove 'not'. -------------------------------------------------------------------------------- /native-demo/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Angular Library in web components demo 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 |
14 | There are three simple components from two component libraries on the card 15 | 16 | 17 | 18 | 19 | 20 | 21 | toggle badge color 22 | 23 |
24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | -------------------------------------------------------------------------------- /native-demo/main-theme.css: -------------------------------------------------------------------------------- 1 | :root { 2 | --color-blank: #fff; 3 | --color-border: #64b5f6; 4 | --color-background-hover: #e3f2fd; 5 | --color-badge-primary: #b3e5fc; 6 | --color-badge-secondary: #cfd8dc; 7 | } 8 | -------------------------------------------------------------------------------- /native-demo/main.js: -------------------------------------------------------------------------------- 1 | const badgeElement = document.getElementById('badge'); 2 | const inputElement = document.getElementById('input'); 3 | const buttonElement = document.getElementById('button'); 4 | 5 | initBadge(); 6 | initInputListener(); 7 | 8 | function onButtonClick() { 9 | badgeElement.color = badgeElement.color === '#b3e5fc' ? '#cfd8dc' : '#b3e5fc'; 10 | } 11 | 12 | function initBadge() { 13 | badgeElement.fallbackValue = 'Web components are cool'; 14 | } 15 | 16 | function initInputListener() { 17 | inputElement.addEventListener('valueChange', ({detail}) => { 18 | badgeElement.value = detail; 19 | }); 20 | } 21 | -------------------------------------------------------------------------------- /native-demo/style.css: -------------------------------------------------------------------------------- 1 | body { 2 | margin: 0; 3 | font-family: sans-serif; 4 | height: 100vh; 5 | display: flex; 6 | flex-direction: column; 7 | justify-content: center; 8 | align-items: center; 9 | overflow: hidden; 10 | background-color: #fafbfc; 11 | } 12 | 13 | .card { 14 | background-color: #fff; 15 | border: 1px #ccc solid; 16 | border-radius: 4px; 17 | padding: 32px; 18 | } 19 | 20 | .component { 21 | margin-top: 20px; 22 | } -------------------------------------------------------------------------------- /native-demo/zone.min.js: -------------------------------------------------------------------------------- 1 | !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t():"function"==typeof define&&define.amd?define(t):t()}(this,function(){"use strict";function e(e,t){return Zone.current.wrap(e,t)}function t(e,t,n,r,o){return Zone.current.scheduleMacroTask(e,t,n,r,o)}function n(t,n){for(var r=t.length-1;r>=0;r--)"function"==typeof t[r]&&(t[r]=e(t[r],n+"_"+r));return t}function r(e,t){for(var r=e.constructor.name,a=function(a){var i=t[a],s=e[i];if(s){var c=L(e,i);if(!o(c))return"continue";e[i]=function(e){var t=function(){return e.apply(this,n(arguments,r+"."+i))};return f(t,e),t}(s)}},i=0;i=0&&"function"==typeof a[i.cbIdx]?t(i.name,a[i.cbIdx],i,o):e.apply(n,a)}})}function f(e,t){e[U("OriginalDelegate")]=t}function p(){try{var e=K.navigator.userAgent;if(e.indexOf("MSIE ")!==-1||e.indexOf("Trident/")!==-1)return!0}catch(t){}return!1}function h(){if(se)return ce;se=!0;try{var e=K.navigator.userAgent;return e.indexOf("MSIE ")===-1&&e.indexOf("Trident/")===-1&&e.indexOf("Edge/")===-1||(ce=!0),ce}catch(t){}}function d(e,t,n){function r(t,n){function r(e){ue||"boolean"==typeof w.options||"undefined"==typeof w.options||null===w.options||(e.options=!!w.options.capture,w.options=e.options)}if(!t)return!1;var h=!0;n&&void 0!==n.useG&&(h=n.useG);var y=n&&n.vh,m=!0;n&&void 0!==n.chkDup&&(m=n.chkDup);var k=!1;n&&void 0!==n.rt&&(k=n.rt);for(var _=t;_&&!_.hasOwnProperty(o);)_=R(_);if(!_&&t[o]&&(_=t),!_)return!1;if(_[c])return!1;var b,T=n&&n.eventNameToString,w={},E=_[c]=_[o],S=_[U(a)]=_[a],D=_[U(i)]=_[i],Z=_[U(s)]=_[s];n&&n.prepend&&(b=_[U(n.prepend)]=_[n.prepend]);var z=function(e){if(!w.isExisting)return r(e),E.call(w.target,w.eventName,w.capture?g:d,w.options)},O=function(e){if(!e.isRemoved){var t=he[e.eventName],n=void 0;t&&(n=t[e.capture?W:X]);var r=n&&e.target[n];if(r)for(var o=0;o1?new n(e,t):new n(e),s=L(a,"onmessage");return s&&s.configurable===!1?(r=H(a),o=a,[A,B,"send","close"].forEach(function(e){r[e]=function(){var t=F.call(arguments);if(e===A||e===B){var n=t.length>0?t[0]:void 0;if(n){var o=Zone.__symbol__("ON_PROPERTY"+n);a[o]=r[o]}}return a[e].apply(a,t)}})):r=a,i(r,["close","error","message","open"],o),r};var r=t.WebSocket;for(var o in n)r[o]=n[o]}function E(e,t,n){if(!n||0===n.length)return t;var r=n.filter(function(t){return t.target===e});if(!r||0===r.length)return t;var o=r[0].ignoreProperties;return t.filter(function(e){return o.indexOf(e)===-1})}function S(e,t,n,r){if(e){var o=E(e,t,n);i(e,o,r)}}function D(e,t){if(!ee||ne){var n="undefined"!=typeof WebSocket;if(Z()){var r=t.__Zone_ignore_on_properties;if(te){var o=window,a=p?[{target:o,ignoreProperties:["error"]}]:[];S(o,He.concat(["messageerror"]),r?r.concat(a):r,R(o)),S(Document.prototype,He,r),"undefined"!=typeof o.SVGElement&&S(o.SVGElement.prototype,He,r),S(Element.prototype,He,r),S(HTMLElement.prototype,He,r),S(HTMLMediaElement.prototype,De,r),S(HTMLFrameSetElement.prototype,Ee.concat(je),r),S(HTMLBodyElement.prototype,Ee.concat(je),r),S(HTMLFrameElement.prototype,Ce,r),S(HTMLIFrameElement.prototype,Ce,r);var i=o.HTMLMarqueeElement;i&&S(i.prototype,Ie,r);var c=o.Worker;c&&S(c.prototype,Re,r)}S(XMLHttpRequest.prototype,Me,r);var u=t.XMLHttpRequestEventTarget;u&&S(u&&u.prototype,Me,r),"undefined"!=typeof IDBIndex&&(S(IDBIndex.prototype,Le,r),S(IDBRequest.prototype,Le,r),S(IDBOpenDBRequest.prototype,Le,r),S(IDBDatabase.prototype,Le,r),S(IDBTransaction.prototype,Le,r),S(IDBCursor.prototype,Le,r)),n&&S(WebSocket.prototype,xe,r)}else z(),s("XMLHttpRequest"),n&&w(e,t)}}function Z(){if((te||ne)&&!L(HTMLElement.prototype,"onclick")&&"undefined"!=typeof Element){var e=L(Element.prototype,"onclick");if(e&&!e.configurable)return!1}var t="onreadystatechange",n=XMLHttpRequest.prototype,r=L(n,t);if(r){x(n,t,{enumerable:!0,configurable:!0,get:function(){return!0}});var o=new XMLHttpRequest,a=!!o.onreadystatechange;return x(n,t,r||{}),a}var i=U("fake");x(n,t,{enumerable:!0,configurable:!0,get:function(){return this[i]},set:function(e){this[i]=e}});var o=new XMLHttpRequest,s=function(){};o.onreadystatechange=s;var a=o[i]===s;return o.onreadystatechange=null,a}function z(){for(var t=function(t){var n=He[t],r="on"+n;self.addEventListener(n,function(t){var n,o,a=t.target;for(o=a?a.constructor.name+"."+r:"unknown."+r;a;)a[r]&&!a[r][Fe]&&(n=e(a[r],o),n[Fe]=a[r],a[r]=n),a=a.parentElement},!0)},n=0;n",this._properties=t&&t.properties||{},this._zoneDelegate=new p(this,this._parent&&this._parent._zoneDelegate,t)}return r.assertZonePatched=function(){if(e.Promise!==O.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")},Object.defineProperty(r,"root",{get:function(){for(var e=r.current;e.parent;)e=e.parent;return e},enumerable:!0,configurable:!0}),Object.defineProperty(r,"current",{get:function(){return C.zone},enumerable:!0,configurable:!0}),Object.defineProperty(r,"currentTask",{get:function(){return j},enumerable:!0,configurable:!0}),r.__load_patch=function(o,a){if(O.hasOwnProperty(o)){if(c)throw Error("Already loaded patch: "+o)}else if(!e["__Zone_disable_"+o]){var i="Zone:"+o;t(i),O[o]=a(e,r,P),n(i,i)}},Object.defineProperty(r.prototype,"parent",{get:function(){return this._parent},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"name",{get:function(){return this._name},enumerable:!0,configurable:!0}),r.prototype.get=function(e){var t=this.getZoneWith(e);if(t)return t._properties[e]},r.prototype.getZoneWith=function(e){for(var t=this;t;){if(t._properties.hasOwnProperty(e))return t;t=t._parent}return null},r.prototype.fork=function(e){if(!e)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,e)},r.prototype.wrap=function(e,t){if("function"!=typeof e)throw new Error("Expecting function got: "+e);var n=this._zoneDelegate.intercept(this,e,t),r=this;return function(){return r.runGuarded(n,this,arguments,t)}},r.prototype.run=function(e,t,n,r){C={parent:C,zone:this};try{return this._zoneDelegate.invoke(this,e,t,n,r)}finally{C=C.parent}},r.prototype.runGuarded=function(e,t,n,r){void 0===t&&(t=null),C={parent:C,zone:this};try{try{return this._zoneDelegate.invoke(this,e,t,n,r)}catch(o){if(this._zoneDelegate.handleError(this,o))throw o}}finally{C=C.parent}},r.prototype.runTask=function(e,t,n){if(e.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(e.zone||k).name+"; Execution: "+this.name+")");if(e.state!==_||e.type!==z&&e.type!==Z){var r=e.state!=w;r&&e._transitionTo(w,T),e.runCount++;var o=j;j=e,C={parent:C,zone:this};try{e.type==Z&&e.data&&!e.data.isPeriodic&&(e.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,e,t,n)}catch(a){if(this._zoneDelegate.handleError(this,a))throw a}}finally{e.state!==_&&e.state!==S&&(e.type==z||e.data&&e.data.isPeriodic?r&&e._transitionTo(T,w):(e.runCount=0,this._updateTaskCount(e,-1),r&&e._transitionTo(_,w,_))),C=C.parent,j=o}}},r.prototype.scheduleTask=function(e){if(e.zone&&e.zone!==this)for(var t=this;t;){if(t===e.zone)throw Error("can not reschedule task to "+this.name+" which is descendants of the original zone "+e.zone.name);t=t.parent}e._transitionTo(b,_);var n=[];e._zoneDelegates=n,e._zone=this;try{e=this._zoneDelegate.scheduleTask(this,e)}catch(r){throw e._transitionTo(S,b,_),this._zoneDelegate.handleError(this,r),r}return e._zoneDelegates===n&&this._updateTaskCount(e,1),e.state==b&&e._transitionTo(T,b),e},r.prototype.scheduleMicroTask=function(e,t,n,r){return this.scheduleTask(new h(D,e,t,n,r,(void 0)))},r.prototype.scheduleMacroTask=function(e,t,n,r,o){return this.scheduleTask(new h(Z,e,t,n,r,o))},r.prototype.scheduleEventTask=function(e,t,n,r,o){return this.scheduleTask(new h(z,e,t,n,r,o))},r.prototype.cancelTask=function(e){if(e.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(e.zone||k).name+"; Execution: "+this.name+")");e._transitionTo(E,T,w);try{this._zoneDelegate.cancelTask(this,e)}catch(t){throw e._transitionTo(S,E),this._zoneDelegate.handleError(this,t),t}return this._updateTaskCount(e,-1),e._transitionTo(_,E),e.runCount=0,e},r.prototype._updateTaskCount=function(e,t){var n=e._zoneDelegates;t==-1&&(e._zoneDelegates=null);for(var r=0;r0,macroTask:n.macroTask>0,eventTask:n.eventTask>0,change:e};this.hasTask(this.zone,a)}},e}(),h=function(){function t(n,r,o,a,i,s){this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=n,this.source=r,this.data=a,this.scheduleFn=i,this.cancelFn=s,this.callback=o;var c=this;n===z&&a&&a.useG?this.invoke=t.invokeTask:this.invoke=function(){return t.invokeTask.call(e,c,this,arguments)}}return t.invokeTask=function(e,t,n){e||(e=this),I++;try{return e.runCount++,e.zone.runTask(e,t,n)}finally{1==I&&o(),I--}},Object.defineProperty(t.prototype,"zone",{get:function(){return this._zone},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"state",{get:function(){return this._state},enumerable:!0,configurable:!0}),t.prototype.cancelScheduleRequest=function(){this._transitionTo(_,b)},t.prototype._transitionTo=function(e,t,n){if(this._state!==t&&this._state!==n)throw new Error(this.type+" '"+this.source+"': can not transition to '"+e+"', expecting state '"+t+"'"+(n?" or '"+n+"'":"")+", was '"+this._state+"'.");this._state=e,e==_&&(this._zoneDelegates=null)},t.prototype.toString=function(){return this.data&&"undefined"!=typeof this.data.handleId?this.data.handleId.toString():Object.prototype.toString.call(this)},t.prototype.toJSON=function(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}},t}(),d=i("setTimeout"),v=i("Promise"),g=i("then"),y=[],m=!1,k={name:"NO ZONE"},_="notScheduled",b="scheduling",T="scheduled",w="running",E="canceling",S="unknown",D="microTask",Z="macroTask",z="eventTask",O={},P={symbol:i,currentZoneFrame:function(){return C},onUnhandledError:a,microtaskDrainDone:a,scheduleMicroTask:r,showUncaughtError:function(){return!l[i("ignoreConsoleErrorUncaughtError")]},patchEventTarget:function(){return[]},patchOnProperties:a,patchMethod:function(){return a},bindArguments:function(){return[]},patchThen:function(){return a},setNativePromise:function(e){e&&"function"==typeof e.resolve&&(u=e.resolve(0))}},C={parent:null,zone:new l(null,null)},j=null,I=0;return n("Zone","Zone"),e.Zone=l}("undefined"!=typeof window&&window||"undefined"!=typeof self&&self||global),function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],n=0;return t?t.call(e):{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}});Zone.__load_patch("ZoneAwarePromise",function(e,t,n){function r(e){if(e&&e.toString===Object.prototype.toString){var t=e.constructor&&e.constructor.name;return(t?t:"")+": "+JSON.stringify(e)}return e?e.toString():Object.prototype.toString.call(e)}function o(e){n.onUnhandledError(e);try{var r=t[_];r&&"function"==typeof r&&r.call(this,e)}catch(o){}}function a(e){return e&&e.then}function i(e){return e}function s(e){return R.reject(e)}function c(e,t){return function(n){try{u(e,t,n)}catch(r){u(e,!1,r)}}}function u(e,o,a){var i=C();if(e===a)throw new TypeError(j);if(e[b]===Z){var s=null;try{"object"!=typeof a&&"function"!=typeof a||(s=a&&a.then)}catch(p){return i(function(){u(e,!1,p)})(),e}if(o!==O&&a instanceof R&&a.hasOwnProperty(b)&&a.hasOwnProperty(T)&&a[b]!==Z)l(a),u(e,a[b],a[T]);else if(o!==O&&"function"==typeof s)try{s.call(a,i(c(e,o)),i(c(e,!1)))}catch(p){i(function(){u(e,!1,p)})()}else{e[b]=o;var h=e[T];if(e[T]=a,e[w]===w&&o===z&&(e[b]=e[S],e[T]=e[E]),o===O&&a instanceof Error){var v=t.currentTask&&t.currentTask.data&&t.currentTask.data[k];v&&d(a,I,{configurable:!0,enumerable:!1,writable:!0,value:v})}for(var y=0;y1?c[1]:null,h=p&&p.signal;return new Promise(function(p,d){var v=t.current.scheduleMacroTask("fetch",f,c,function(){var s,u=t.current;try{u[i]=!0,s=r.apply(e,c)}catch(l){return void d(l)}finally{u[i]=!1}if(!(s instanceof o)){var f=s.constructor;f[a]||n.patchThen(f)}s.then(function(e){"notScheduled"!==v.state&&v.invoke(),p(e)},function(e){"notScheduled"!==v.state&&v.invoke(),d(e)})},function(){if(!u)return void d("No AbortController supported, can not cancel fetch");if(h&&h.abortController&&!h.aborted&&"function"==typeof h.abortController.abort&&l)try{t.current[s]=!0,l.call(h.abortController)}finally{t.current[s]=!1}else d("cancel fetch need a AbortController.signal")});h&&h.abortController&&(h.abortController.task=v)})}}});var L=Object.getOwnPropertyDescriptor,x=Object.defineProperty,R=Object.getPrototypeOf,H=Object.create,F=Array.prototype.slice,A="addEventListener",B="removeEventListener",q=Zone.__symbol__(A),N=Zone.__symbol__(B),W="true",X="false",G="__zone_symbol__",U=Zone.__symbol__,V="undefined"!=typeof window,K=V?window:void 0,J=V&&K||"object"==typeof self&&self||global,Y="removeAttribute",Q=[null],$="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope,ee=!("nw"in J)&&"undefined"!=typeof J.process&&"[object process]"==={}.toString.call(J.process),te=!ee&&!$&&!(!V||!K.HTMLElement),ne="undefined"!=typeof J.process&&"[object process]"==={}.toString.call(J.process)&&!$&&!(!V||!K.HTMLElement),re={},oe=function(e){if(e=e||J.event){var t=re[e.type];t||(t=re[e.type]=U("ON_PROPERTY"+e.type));var n,r=this||e.target||J,o=r[t];if(te&&r===K&&"error"===e.type){var a=e;n=o&&o.call(this,a.message,a.filename,a.lineno,a.colno,a.error),n===!0&&e.preventDefault()}else n=o&&o.apply(this,arguments),void 0==n||n||e.preventDefault();return n}},ae=U("originalInstance"),ie=!1,se=!1,ce=!1;Zone.__load_patch("toString",function(e){var t=Function.prototype.toString,n=U("OriginalDelegate"),r=U("Promise"),o=U("Error"),a=function(){if("function"==typeof this){var a=this[n];if(a)return"function"==typeof a?t.apply(this[n],arguments):Object.prototype.toString.call(a);if(this===Promise){var i=e[r];if(i)return t.apply(i,arguments)}if(this===Error){var s=e[o];if(s)return t.apply(s,arguments)}}return t.apply(this,arguments)};a[n]=t,Function.prototype.toString=a;var i=Object.prototype.toString,s="[object Promise]";Object.prototype.toString=function(){return this instanceof Promise?s:i.apply(this,arguments)}});var ue=!1;if("undefined"!=typeof window)try{var le=Object.defineProperty({},"passive",{get:function(){ue=!0}});window.addEventListener("test",le,le),window.removeEventListener("test",le,le)}catch(fe){ue=!1}var pe={useG:!0},he={},de={},ve=/^__zone_symbol__(\w+)(true|false)$/,ge="__zone_symbol__propagationStopped",ye=U("zoneTask"),me=Object[U("defineProperty")]=Object.defineProperty,ke=Object[U("getOwnPropertyDescriptor")]=Object.getOwnPropertyDescriptor,_e=Object.create,be=U("unconfigurables"),Te=["abort","animationcancel","animationend","animationiteration","auxclick","beforeinput","blur","cancel","canplay","canplaythrough","change","compositionstart","compositionupdate","compositionend","cuechange","click","close","contextmenu","curechange","dblclick","drag","dragend","dragenter","dragexit","dragleave","dragover","drop","durationchange","emptied","ended","error","focus","focusin","focusout","gotpointercapture","input","invalid","keydown","keypress","keyup","load","loadstart","loadeddata","loadedmetadata","lostpointercapture","mousedown","mouseenter","mouseleave","mousemove","mouseout","mouseover","mouseup","mousewheel","orientationchange","pause","play","playing","pointercancel","pointerdown","pointerenter","pointerleave","pointerlockchange","mozpointerlockchange","webkitpointerlockerchange","pointerlockerror","mozpointerlockerror","webkitpointerlockerror","pointermove","pointout","pointerover","pointerup","progress","ratechange","reset","resize","scroll","seeked","seeking","select","selectionchange","selectstart","show","sort","stalled","submit","suspend","timeupdate","volumechange","touchcancel","touchmove","touchstart","touchend","transitioncancel","transitionend","waiting","wheel"],we=["afterscriptexecute","beforescriptexecute","DOMContentLoaded","freeze","fullscreenchange","mozfullscreenchange","webkitfullscreenchange","msfullscreenchange","fullscreenerror","mozfullscreenerror","webkitfullscreenerror","msfullscreenerror","readystatechange","visibilitychange","resume"],Ee=["absolutedeviceorientation","afterinput","afterprint","appinstalled","beforeinstallprompt","beforeprint","beforeunload","devicelight","devicemotion","deviceorientation","deviceorientationabsolute","deviceproximity","hashchange","languagechange","message","mozbeforepaint","offline","online","paint","pageshow","pagehide","popstate","rejectionhandled","storage","unhandledrejection","unload","userproximity","vrdisplyconnected","vrdisplaydisconnected","vrdisplaypresentchange"],Se=["beforecopy","beforecut","beforepaste","copy","cut","paste","dragstart","loadend","animationstart","search","transitionrun","transitionstart","webkitanimationend","webkitanimationiteration","webkitanimationstart","webkittransitionend"],De=["encrypted","waitingforkey","msneedkey","mozinterruptbegin","mozinterruptend"],Ze=["activate","afterupdate","ariarequest","beforeactivate","beforedeactivate","beforeeditfocus","beforeupdate","cellchange","controlselect","dataavailable","datasetchanged","datasetcomplete","errorupdate","filterchange","layoutcomplete","losecapture","move","moveend","movestart","propertychange","resizeend","resizestart","rowenter","rowexit","rowsdelete","rowsinserted","command","compassneedscalibration","deactivate","help","mscontentzoom","msmanipulationstatechanged","msgesturechange","msgesturedoubletap","msgestureend","msgesturehold","msgesturestart","msgesturetap","msgotpointercapture","msinertiastart","mslostpointercapture","mspointercancel","mspointerdown","mspointerenter","mspointerhover","mspointerleave","mspointermove","mspointerout","mspointerover","mspointerup","pointerout","mssitemodejumplistitemremoved","msthumbnailclick","stop","storagecommit"],ze=["webglcontextrestored","webglcontextlost","webglcontextcreationerror"],Oe=["autocomplete","autocompleteerror"],Pe=["toggle"],Ce=["load"],je=["blur","error","focus","load","resize","scroll","messageerror"],Ie=["bounce","finish","start"],Me=["loadstart","progress","abort","error","load","progress","timeout","loadend","readystatechange"],Le=["upgradeneeded","complete","abort","success","error","blocked","versionchange","close"],xe=["close","error","open","message"],Re=["error","message"],He=Te.concat(ze,Oe,Pe,we,Ee,Se,Ze),Fe=U("unbound");Zone.__load_patch("util",function(e,t,r){r.patchOnProperties=i,r.patchMethod=u,r.bindArguments=n}),Zone.__load_patch("timers",function(e){var t="set",n="clear";y(e,t,n,"Timeout"),y(e,t,n,"Interval"),y(e,t,n,"Immediate")}),Zone.__load_patch("requestAnimationFrame",function(e){y(e,"request","cancel","AnimationFrame"),y(e,"mozRequest","mozCancel","AnimationFrame"),y(e,"webkitRequest","webkitCancel","AnimationFrame")}),Zone.__load_patch("blocking",function(e,t){for(var n=["alert","prompt","confirm"],r=0;r0){var o=e.invoke;e.invoke=function(){for(var r=n.__zone_symbol__loadfalse,a=0;a", 5 | "keywords": [ 6 | "angular", 7 | "angular-elements", 8 | "web-components" 9 | ], 10 | "scripts": { 11 | "ng": "ng", 12 | "start": "ng serve", 13 | "build": "ng build", 14 | "build:elements": "cd projects/elements && sh buildElements.sh", 15 | "test": "ng test", 16 | "lint": "ng lint", 17 | "e2e": "ng e2e" 18 | }, 19 | "dependencies": { 20 | "@angular-builders/custom-webpack": "^8.0.2", 21 | "@angular/animations": "~8.0.0", 22 | "@angular/common": "~8.0.0", 23 | "@angular/compiler": "~8.0.0", 24 | "@angular/core": "~8.0.0", 25 | "@angular/elements": "^8.0.0", 26 | "@angular/forms": "~8.0.0", 27 | "@angular/platform-browser": "~8.0.0", 28 | "@angular/platform-browser-dynamic": "~8.0.0", 29 | "@angular/router": "~8.0.0", 30 | "document-register-element": "^1.8.1", 31 | "rxjs": "~6.4.0", 32 | "tslib": "^1.9.0", 33 | "zone.js": "~0.9.1" 34 | }, 35 | "devDependencies": { 36 | "@angular-devkit/build-angular": "~0.800.0", 37 | "@angular-devkit/build-ng-packagr": "~0.800.0", 38 | "@angular/cli": "~8.0.1", 39 | "@angular/compiler-cli": "~8.0.0", 40 | "@angular/language-service": "~8.0.0", 41 | "@types/node": "~8.9.4", 42 | "codelyzer": "^5.0.0", 43 | "ng-packagr": "^5.1.0", 44 | "protractor": "~5.4.0", 45 | "ts-node": "~7.0.0", 46 | "tsickle": "^0.35.0", 47 | "tslint": "~5.15.0", 48 | "typescript": "~3.4.3", 49 | "uuid": "^3.3.2" 50 | } 51 | } 52 | -------------------------------------------------------------------------------- /projects/angular-components-library/ng-package.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "../../node_modules/ng-packagr/ng-package.schema.json", 3 | "dest": "../../dist/angular-components-library", 4 | "lib": { 5 | "entryFile": "src/public-api.ts" 6 | } 7 | } -------------------------------------------------------------------------------- /projects/angular-components-library/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "angular-components-library", 3 | "version": "0.0.1", 4 | "peerDependencies": { 5 | "@angular/common": "^8.0.0", 6 | "@angular/core": "^8.0.0" 7 | } 8 | } -------------------------------------------------------------------------------- /projects/angular-components-library/src/components/button/button.component.html: -------------------------------------------------------------------------------- 1 | 4 | -------------------------------------------------------------------------------- /projects/angular-components-library/src/components/button/button.component.less: -------------------------------------------------------------------------------- 1 | :host { 2 | display: block; 3 | width: max-content; 4 | } 5 | 6 | .native-button { 7 | padding: 16px 24px; 8 | background-color: var(--color-blank); 9 | border: solid 1px var(--color-border); 10 | border-radius: 4px; 11 | 12 | &:hover { 13 | cursor: pointer; 14 | background-color: var(--color-background-hover); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /projects/angular-components-library/src/components/button/button.component.ts: -------------------------------------------------------------------------------- 1 | import {Component, OnInit, ChangeDetectionStrategy} from '@angular/core'; 2 | 3 | @Component({ 4 | selector: 'lib-button', 5 | templateUrl: './button.component.html', 6 | styleUrls: ['./button.component.less'], 7 | changeDetection: ChangeDetectionStrategy.OnPush, 8 | }) 9 | export class ButtonComponent {} 10 | -------------------------------------------------------------------------------- /projects/angular-components-library/src/components/button/button.module.ts: -------------------------------------------------------------------------------- 1 | import {NgModule} from '@angular/core'; 2 | import {CommonModule} from '@angular/common'; 3 | import {ButtonComponent} from './button.component'; 4 | 5 | @NgModule({ 6 | declarations: [ButtonComponent], 7 | imports: [CommonModule], 8 | exports: [ButtonComponent], 9 | }) 10 | export class ButtonModule {} 11 | -------------------------------------------------------------------------------- /projects/angular-components-library/src/components/input/input.component.html: -------------------------------------------------------------------------------- 1 | 7 | -------------------------------------------------------------------------------- /projects/angular-components-library/src/components/input/input.component.less: -------------------------------------------------------------------------------- 1 | :host { 2 | display: block; 3 | width: max-content; 4 | } 5 | 6 | .native-input { 7 | padding: 16px; 8 | background-color: var(--color-blank); 9 | border: solid 1px var(--color-border); 10 | border-radius: 4px; 11 | } 12 | -------------------------------------------------------------------------------- /projects/angular-components-library/src/components/input/input.component.ts: -------------------------------------------------------------------------------- 1 | import {Component, OnInit, Input, ChangeDetectionStrategy, Output, EventEmitter} from '@angular/core'; 2 | 3 | @Component({ 4 | selector: 'lib-input', 5 | templateUrl: './input.component.html', 6 | styleUrls: ['./input.component.less'], 7 | changeDetection: ChangeDetectionStrategy.OnPush, 8 | }) 9 | export class InputComponent { 10 | @Input() 11 | value = ''; 12 | 13 | @Input() 14 | placeholder = ''; 15 | 16 | @Output() 17 | readonly valueChange = new EventEmitter(); 18 | 19 | onInputValueChange(value: string) { 20 | this.valueChange.emit(value); 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /projects/angular-components-library/src/components/input/input.module.ts: -------------------------------------------------------------------------------- 1 | import {NgModule} from '@angular/core'; 2 | import {FormsModule} from '@angular/forms'; 3 | import {CommonModule} from '@angular/common'; 4 | import {InputComponent} from './input.component'; 5 | 6 | @NgModule({ 7 | declarations: [InputComponent], 8 | imports: [CommonModule, FormsModule], 9 | exports: [InputComponent], 10 | }) 11 | export class InputModule {} 12 | -------------------------------------------------------------------------------- /projects/angular-components-library/src/global-vars.less: -------------------------------------------------------------------------------- 1 | :root { 2 | --color-blank: #fff; 3 | --color-border: #64b5f6; 4 | --color-background-hover: #e3f2fd; 5 | --color-badge-primary: #b3e5fc; 6 | --color-badge-secondary: #cfd8dc; 7 | } 8 | -------------------------------------------------------------------------------- /projects/angular-components-library/src/public-api.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Public API Surface of angular-components-library 3 | */ 4 | 5 | export * from './components/button/button.component'; 6 | export * from './components/button/button.module'; 7 | 8 | export * from './components/input/input.component'; 9 | export * from './components/input/input.module'; 10 | -------------------------------------------------------------------------------- /projects/angular-components-library/tsconfig.lib.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "../../out-tsc/lib", 5 | "target": "es2015", 6 | "declaration": true, 7 | "inlineSources": true, 8 | "types": [], 9 | "lib": [ 10 | "dom", 11 | "es2018" 12 | ] 13 | }, 14 | "angularCompilerOptions": { 15 | "annotateForClosureCompiler": true, 16 | "skipTemplateCodegen": true, 17 | "strictMetadataEmit": true, 18 | "fullTemplateTypeCheck": true, 19 | "strictInjectionParameters": true, 20 | "enableResourceInlining": true 21 | }, 22 | "exclude": [ 23 | "src/test.ts", 24 | "**/*.spec.ts" 25 | ] 26 | } 27 | -------------------------------------------------------------------------------- /projects/angular-components-library/tslint.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../tslint.json", 3 | "rules": { 4 | "directive-selector": [ 5 | true, 6 | "attribute", 7 | "lib", 8 | "camelCase" 9 | ], 10 | "component-selector": [ 11 | true, 12 | "element", 13 | "lib", 14 | "kebab-case" 15 | ] 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /projects/another-angular-components-library/ng-package.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "../../node_modules/ng-packagr/ng-package.schema.json", 3 | "dest": "../../dist/another-angular-components-library", 4 | "lib": { 5 | "entryFile": "src/public-api.ts" 6 | } 7 | } -------------------------------------------------------------------------------- /projects/another-angular-components-library/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "another-angular-components-library", 3 | "version": "0.0.1", 4 | "peerDependencies": { 5 | "@angular/common": "^8.0.0", 6 | "@angular/core": "^8.0.0" 7 | } 8 | } -------------------------------------------------------------------------------- /projects/another-angular-components-library/src/components/badge/badge.component.html: -------------------------------------------------------------------------------- 1 | 4 | -------------------------------------------------------------------------------- /projects/another-angular-components-library/src/components/badge/badge.component.less: -------------------------------------------------------------------------------- 1 | :host { 2 | display: block; 3 | padding: 8px 12px; 4 | width: max-content; 5 | border-radius: 4px; 6 | } 7 | -------------------------------------------------------------------------------- /projects/another-angular-components-library/src/components/badge/badge.component.ts: -------------------------------------------------------------------------------- 1 | import {Component, Input, ChangeDetectionStrategy, HostBinding} from '@angular/core'; 2 | import {BadgeColors} from '../../enums/badgeColors'; 3 | 4 | @Component({ 5 | selector: 'lib-badge', 6 | templateUrl: './badge.component.html', 7 | styleUrls: ['./badge.component.less'], 8 | }) 9 | export class BadgeComponent { 10 | @Input() 11 | value: string | null = null; 12 | 13 | @Input() 14 | fallbackValue: string | null = null; 15 | 16 | @Input() 17 | @HostBinding('style.backgroundColor') 18 | color: BadgeColors = BadgeColors.PRIMARY; 19 | } 20 | -------------------------------------------------------------------------------- /projects/another-angular-components-library/src/components/badge/badge.module.ts: -------------------------------------------------------------------------------- 1 | import {NgModule} from '@angular/core'; 2 | import {CommonModule} from '@angular/common'; 3 | import {BadgeComponent} from './badge.component'; 4 | 5 | @NgModule({ 6 | declarations: [BadgeComponent], 7 | imports: [CommonModule], 8 | exports: [BadgeComponent], 9 | }) 10 | export class BadgeModule {} 11 | -------------------------------------------------------------------------------- /projects/another-angular-components-library/src/enums/badgeColors.ts: -------------------------------------------------------------------------------- 1 | export enum BadgeColors { 2 | PRIMARY = '#b3e5fc', 3 | SECONDARY = '#cfd8dc', 4 | } 5 | -------------------------------------------------------------------------------- /projects/another-angular-components-library/src/public-api.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Public API Surface of angular-components-library 3 | */ 4 | 5 | export * from './components/badge/badge.component'; 6 | export * from './components/badge/badge.module'; 7 | -------------------------------------------------------------------------------- /projects/another-angular-components-library/tsconfig.lib.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "../../out-tsc/lib", 5 | "target": "es2015", 6 | "declaration": true, 7 | "inlineSources": true, 8 | "types": [], 9 | "lib": [ 10 | "dom", 11 | "es2018" 12 | ] 13 | }, 14 | "angularCompilerOptions": { 15 | "annotateForClosureCompiler": true, 16 | "skipTemplateCodegen": true, 17 | "strictMetadataEmit": true, 18 | "fullTemplateTypeCheck": true, 19 | "strictInjectionParameters": true, 20 | "enableResourceInlining": true 21 | }, 22 | "exclude": [ 23 | "src/test.ts", 24 | "**/*.spec.ts" 25 | ] 26 | } 27 | -------------------------------------------------------------------------------- /projects/another-angular-components-library/tslint.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../tslint.json", 3 | "rules": { 4 | "directive-selector": [ 5 | true, 6 | "attribute", 7 | "lib", 8 | "camelCase" 9 | ], 10 | "component-selector": [ 11 | true, 12 | "element", 13 | "lib", 14 | "kebab-case" 15 | ] 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /projects/elements/buildElements.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | rm -r -f dist/ && 4 | mkdir -p dist/components && 5 | node compileElements.js && 6 | node compileHelpers.js && 7 | rm -r -f dist/tmp -------------------------------------------------------------------------------- /projects/elements/compileElements.js: -------------------------------------------------------------------------------- 1 | const fs = require('fs'); 2 | const {execSync} = require('child_process'); 3 | 4 | const projects = ['angular-components-library', 'another-angular-components-library']; 5 | 6 | projects.forEach(project => { 7 | const components = fs.readdirSync(`src/${project}`); 8 | 9 | console.log(`\nCompiling "${project}":\n`); 10 | 11 | components.forEach(component => compileComponent(project, component)); 12 | }); 13 | 14 | function compileComponent(project, component) { 15 | console.log(`\t- ${component}`); 16 | 17 | const buildJsFiles = `ng run elements:build:production --aot --main=projects/elements/src/${project}/${component}/compile.ts`; 18 | const bundleIntoSingleFile = `cat dist/tmp/runtime-es2015.js dist/tmp/main-es2015.js > dist/tmp/my-${component}.js`; 19 | const copyBundledComponent = `cp dist/tmp/my-${component}.js dist/components/`; 20 | 21 | execSync(`${buildJsFiles} && ${bundleIntoSingleFile} && ${copyBundledComponent}`); 22 | } 23 | -------------------------------------------------------------------------------- /projects/elements/compileHelpers.js: -------------------------------------------------------------------------------- 1 | const {execSync} = require('child_process'); 2 | 3 | compileMainTheme(); 4 | 5 | function compileMainTheme() { 6 | const pathFrom = `../angular-components-library/src`; 7 | const pathTo = `dist/helpers`; 8 | 9 | execSync(`lessc ${pathFrom}/global-vars.less ${pathTo}/main-theme.css`); 10 | } 11 | -------------------------------------------------------------------------------- /projects/elements/dist/tmp/3rdpartylicenses.txt: -------------------------------------------------------------------------------- 1 | @angular-devkit/build-angular 2 | MIT 3 | The MIT License 4 | 5 | Copyright (c) 2017 Google, Inc. 6 | 7 | Permission is hereby granted, free of charge, to any person obtaining a copy 8 | of this software and associated documentation files (the "Software"), to deal 9 | in the Software without restriction, including without limitation the rights 10 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 11 | copies of the Software, and to permit persons to whom the Software is 12 | furnished to do so, subject to the following conditions: 13 | 14 | The above copyright notice and this permission notice shall be included in all 15 | copies or substantial portions of the Software. 16 | 17 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 18 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 19 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 20 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 21 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 22 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 23 | SOFTWARE. 24 | 25 | 26 | @angular/common 27 | MIT 28 | 29 | @angular/core 30 | MIT 31 | 32 | @angular/elements 33 | MIT 34 | 35 | @angular/forms 36 | MIT 37 | 38 | @angular/platform-browser 39 | MIT 40 | 41 | @tinkoff/angular-library-to-web-components-demo 42 | 43 | angular-components-library 44 | 45 | another-angular-components-library 46 | 47 | core-js 48 | MIT 49 | Copyright (c) 2014-2019 Denis Pushkarev 50 | 51 | Permission is hereby granted, free of charge, to any person obtaining a copy 52 | of this software and associated documentation files (the "Software"), to deal 53 | in the Software without restriction, including without limitation the rights 54 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 55 | copies of the Software, and to permit persons to whom the Software is 56 | furnished to do so, subject to the following conditions: 57 | 58 | The above copyright notice and this permission notice shall be included in 59 | all copies or substantial portions of the Software. 60 | 61 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 62 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 63 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 64 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 65 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 66 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 67 | THE SOFTWARE. 68 | 69 | 70 | rxjs 71 | Apache-2.0 72 | Apache License 73 | Version 2.0, January 2004 74 | http://www.apache.org/licenses/ 75 | 76 | TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 77 | 78 | 1. Definitions. 79 | 80 | "License" shall mean the terms and conditions for use, reproduction, 81 | and distribution as defined by Sections 1 through 9 of this document. 82 | 83 | "Licensor" shall mean the copyright owner or entity authorized by 84 | the copyright owner that is granting the License. 85 | 86 | "Legal Entity" shall mean the union of the acting entity and all 87 | other entities that control, are controlled by, or are under common 88 | control with that entity. For the purposes of this definition, 89 | "control" means (i) the power, direct or indirect, to cause the 90 | direction or management of such entity, whether by contract or 91 | otherwise, or (ii) ownership of fifty percent (50%) or more of the 92 | outstanding shares, or (iii) beneficial ownership of such entity. 93 | 94 | "You" (or "Your") shall mean an individual or Legal Entity 95 | exercising permissions granted by this License. 96 | 97 | "Source" form shall mean the preferred form for making modifications, 98 | including but not limited to software source code, documentation 99 | source, and configuration files. 100 | 101 | "Object" form shall mean any form resulting from mechanical 102 | transformation or translation of a Source form, including but 103 | not limited to compiled object code, generated documentation, 104 | and conversions to other media types. 105 | 106 | "Work" shall mean the work of authorship, whether in Source or 107 | Object form, made available under the License, as indicated by a 108 | copyright notice that is included in or attached to the work 109 | (an example is provided in the Appendix below). 110 | 111 | "Derivative Works" shall mean any work, whether in Source or Object 112 | form, that is based on (or derived from) the Work and for which the 113 | editorial revisions, annotations, elaborations, or other modifications 114 | represent, as a whole, an original work of authorship. For the purposes 115 | of this License, Derivative Works shall not include works that remain 116 | separable from, or merely link (or bind by name) to the interfaces of, 117 | the Work and Derivative Works thereof. 118 | 119 | "Contribution" shall mean any work of authorship, including 120 | the original version of the Work and any modifications or additions 121 | to that Work or Derivative Works thereof, that is intentionally 122 | submitted to Licensor for inclusion in the Work by the copyright owner 123 | or by an individual or Legal Entity authorized to submit on behalf of 124 | the copyright owner. For the purposes of this definition, "submitted" 125 | means any form of electronic, verbal, or written communication sent 126 | to the Licensor or its representatives, including but not limited to 127 | communication on electronic mailing lists, source code control systems, 128 | and issue tracking systems that are managed by, or on behalf of, the 129 | Licensor for the purpose of discussing and improving the Work, but 130 | excluding communication that is conspicuously marked or otherwise 131 | designated in writing by the copyright owner as "Not a Contribution." 132 | 133 | "Contributor" shall mean Licensor and any individual or Legal Entity 134 | on behalf of whom a Contribution has been received by Licensor and 135 | subsequently incorporated within the Work. 136 | 137 | 2. Grant of Copyright License. Subject to the terms and conditions of 138 | this License, each Contributor hereby grants to You a perpetual, 139 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 140 | copyright license to reproduce, prepare Derivative Works of, 141 | publicly display, publicly perform, sublicense, and distribute the 142 | Work and such Derivative Works in Source or Object form. 143 | 144 | 3. Grant of Patent License. Subject to the terms and conditions of 145 | this License, each Contributor hereby grants to You a perpetual, 146 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 147 | (except as stated in this section) patent license to make, have made, 148 | use, offer to sell, sell, import, and otherwise transfer the Work, 149 | where such license applies only to those patent claims licensable 150 | by such Contributor that are necessarily infringed by their 151 | Contribution(s) alone or by combination of their Contribution(s) 152 | with the Work to which such Contribution(s) was submitted. If You 153 | institute patent litigation against any entity (including a 154 | cross-claim or counterclaim in a lawsuit) alleging that the Work 155 | or a Contribution incorporated within the Work constitutes direct 156 | or contributory patent infringement, then any patent licenses 157 | granted to You under this License for that Work shall terminate 158 | as of the date such litigation is filed. 159 | 160 | 4. Redistribution. You may reproduce and distribute copies of the 161 | Work or Derivative Works thereof in any medium, with or without 162 | modifications, and in Source or Object form, provided that You 163 | meet the following conditions: 164 | 165 | (a) You must give any other recipients of the Work or 166 | Derivative Works a copy of this License; and 167 | 168 | (b) You must cause any modified files to carry prominent notices 169 | stating that You changed the files; and 170 | 171 | (c) You must retain, in the Source form of any Derivative Works 172 | that You distribute, all copyright, patent, trademark, and 173 | attribution notices from the Source form of the Work, 174 | excluding those notices that do not pertain to any part of 175 | the Derivative Works; and 176 | 177 | (d) If the Work includes a "NOTICE" text file as part of its 178 | distribution, then any Derivative Works that You distribute must 179 | include a readable copy of the attribution notices contained 180 | within such NOTICE file, excluding those notices that do not 181 | pertain to any part of the Derivative Works, in at least one 182 | of the following places: within a NOTICE text file distributed 183 | as part of the Derivative Works; within the Source form or 184 | documentation, if provided along with the Derivative Works; or, 185 | within a display generated by the Derivative Works, if and 186 | wherever such third-party notices normally appear. The contents 187 | of the NOTICE file are for informational purposes only and 188 | do not modify the License. You may add Your own attribution 189 | notices within Derivative Works that You distribute, alongside 190 | or as an addendum to the NOTICE text from the Work, provided 191 | that such additional attribution notices cannot be construed 192 | as modifying the License. 193 | 194 | You may add Your own copyright statement to Your modifications and 195 | may provide additional or different license terms and conditions 196 | for use, reproduction, or distribution of Your modifications, or 197 | for any such Derivative Works as a whole, provided Your use, 198 | reproduction, and distribution of the Work otherwise complies with 199 | the conditions stated in this License. 200 | 201 | 5. Submission of Contributions. Unless You explicitly state otherwise, 202 | any Contribution intentionally submitted for inclusion in the Work 203 | by You to the Licensor shall be under the terms and conditions of 204 | this License, without any additional terms or conditions. 205 | Notwithstanding the above, nothing herein shall supersede or modify 206 | the terms of any separate license agreement you may have executed 207 | with Licensor regarding such Contributions. 208 | 209 | 6. Trademarks. This License does not grant permission to use the trade 210 | names, trademarks, service marks, or product names of the Licensor, 211 | except as required for reasonable and customary use in describing the 212 | origin of the Work and reproducing the content of the NOTICE file. 213 | 214 | 7. Disclaimer of Warranty. Unless required by applicable law or 215 | agreed to in writing, Licensor provides the Work (and each 216 | Contributor provides its Contributions) on an "AS IS" BASIS, 217 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or 218 | implied, including, without limitation, any warranties or conditions 219 | of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A 220 | PARTICULAR PURPOSE. You are solely responsible for determining the 221 | appropriateness of using or redistributing the Work and assume any 222 | risks associated with Your exercise of permissions under this License. 223 | 224 | 8. Limitation of Liability. In no event and under no legal theory, 225 | whether in tort (including negligence), contract, or otherwise, 226 | unless required by applicable law (such as deliberate and grossly 227 | negligent acts) or agreed to in writing, shall any Contributor be 228 | liable to You for damages, including any direct, indirect, special, 229 | incidental, or consequential damages of any character arising as a 230 | result of this License or out of the use or inability to use the 231 | Work (including but not limited to damages for loss of goodwill, 232 | work stoppage, computer failure or malfunction, or any and all 233 | other commercial damages or losses), even if such Contributor 234 | has been advised of the possibility of such damages. 235 | 236 | 9. Accepting Warranty or Additional Liability. While redistributing 237 | the Work or Derivative Works thereof, You may choose to offer, 238 | and charge a fee for, acceptance of support, warranty, indemnity, 239 | or other liability obligations and/or rights consistent with this 240 | License. However, in accepting such obligations, You may act only 241 | on Your own behalf and on Your sole responsibility, not on behalf 242 | of any other Contributor, and only if You agree to indemnify, 243 | defend, and hold each Contributor harmless for any liability 244 | incurred by, or claims asserted against, such Contributor by reason 245 | of your accepting any such warranty or additional liability. 246 | 247 | END OF TERMS AND CONDITIONS 248 | 249 | APPENDIX: How to apply the Apache License to your work. 250 | 251 | To apply the Apache License to your work, attach the following 252 | boilerplate notice, with the fields enclosed by brackets "[]" 253 | replaced with your own identifying information. (Don't include 254 | the brackets!) The text should be enclosed in the appropriate 255 | comment syntax for the file format. We also recommend that a 256 | file or class name and description of purpose be included on the 257 | same "printed page" as the copyright notice for easier 258 | identification within third-party archives. 259 | 260 | Copyright (c) 2015-2018 Google, Inc., Netflix, Inc., Microsoft Corp. and contributors 261 | 262 | Licensed under the Apache License, Version 2.0 (the "License"); 263 | you may not use this file except in compliance with the License. 264 | You may obtain a copy of the License at 265 | 266 | http://www.apache.org/licenses/LICENSE-2.0 267 | 268 | Unless required by applicable law or agreed to in writing, software 269 | distributed under the License is distributed on an "AS IS" BASIS, 270 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 271 | See the License for the specific language governing permissions and 272 | limitations under the License. 273 | 274 | 275 | 276 | tslib 277 | Apache-2.0 278 | Apache License 279 | 280 | Version 2.0, January 2004 281 | 282 | http://www.apache.org/licenses/ 283 | 284 | TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 285 | 286 | 1. Definitions. 287 | 288 | "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. 289 | 290 | "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. 291 | 292 | "Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. 293 | 294 | "You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. 295 | 296 | "Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. 297 | 298 | "Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. 299 | 300 | "Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). 301 | 302 | "Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. 303 | 304 | "Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." 305 | 306 | "Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. 307 | 308 | 2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. 309 | 310 | 3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. 311 | 312 | 4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: 313 | 314 | You must give any other recipients of the Work or Derivative Works a copy of this License; and 315 | 316 | You must cause any modified files to carry prominent notices stating that You changed the files; and 317 | 318 | You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and 319 | 320 | If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. 321 | 322 | 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. 323 | 324 | 6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. 325 | 326 | 7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. 327 | 328 | 8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. 329 | 330 | 9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. 331 | 332 | END OF TERMS AND CONDITIONS 333 | 334 | 335 | zone.js 336 | MIT 337 | The MIT License 338 | 339 | Copyright (c) 2016-2018 Google, Inc. 340 | 341 | Permission is hereby granted, free of charge, to any person obtaining a copy 342 | of this software and associated documentation files (the "Software"), to deal 343 | in the Software without restriction, including without limitation the rights 344 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 345 | copies of the Software, and to permit persons to whom the Software is 346 | furnished to do so, subject to the following conditions: 347 | 348 | The above copyright notice and this permission notice shall be included in 349 | all copies or substantial portions of the Software. 350 | 351 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 352 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 353 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 354 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 355 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 356 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 357 | THE SOFTWARE. 358 | -------------------------------------------------------------------------------- /projects/elements/dist/tmp/polyfills-es5.js: -------------------------------------------------------------------------------- 1 | var elements=(window["myElements-b253a6f0-8862-11e9-a525-57a984539a23"]=window["myElements-b253a6f0-8862-11e9-a525-57a984539a23"]||[]).push([[2],{"+/OB":function(t,e,n){n("ax0f")({target:"Date",stat:!0},{now:function(){return(new Date).getTime()}})},"+/eK":function(t,e){t.exports="\t\n\v\f\r \xa0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029\ufeff"},"+2jK":function(t,e,n){n("ax0f")({target:"Object",stat:!0},{is:n("FNAH")})},"+CnW":function(t,e,n){n("ax0f")({target:"Math",stat:!0},{sign:n("lJrM")})},"+E13":function(t,e,n){n("ax0f")({target:"Number",stat:!0},{isFinite:n("p25+")})},"+KXO":function(t,e,n){var r=n("N9G2"),o=n("DEeE"),i=n("ct80")(function(){o(1)});n("ax0f")({target:"Object",stat:!0,forced:i},{keys:function(t){return o(r(t))}})},"+kY7":function(t,e,n){var r=n("q9+l").f,o=n("8aeu"),i=n("fVMg")("toStringTag");t.exports=function(t,e,n){t&&!o(t=n?t:t.prototype,i)&&r(t,i,{configurable:!0,value:e})}},"+s95":function(t,e,n){var r=n("i7Kn"),o=n("cww3");t.exports=function(t,e,n){var i,a,c=String(o(t)),u=r(e),s=c.length;return u<0||u>=s?n?"":void 0:(i=c.charCodeAt(u))<55296||i>56319||u+1===s||(a=c.charCodeAt(u+1))<56320||a>57343?n?c.charAt(u):i:n?c.slice(u,u+2):a-56320+(i-55296<<10)+65536}},"/4m8":function(t,e,n){"use strict";var r,o,i,a=n("DjlN"),c=n("0HP5"),u=n("8aeu"),s=n("DpO5"),f=n("fVMg")("iterator"),l=!1;[].keys&&("next"in(i=[].keys())?(o=a(a(i)))!==Object.prototype&&(r=o):l=!0),null==r&&(r={}),s||u(r,f)||c(r,f,function(){return this}),t.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:l}},"034l":function(t,e,n){"use strict";var r=n("FXyv"),o=n("CD8Q");t.exports=function(t){if("string"!==t&&"number"!==t&&"default"!==t)throw TypeError("Incorrect hint");return o(r(this),"number"!==t)}},"0HP5":function(t,e,n){var r=n("q9+l"),o=n("lhjL");t.exports=n("1Mu/")?function(t,e,n){return r.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},"0fIf":function(t,e,n){var r=n("QsAM");n("ax0f")({target:"Array",proto:!0,forced:r!==[].lastIndexOf},{lastIndexOf:r})},1:function(t,e,n){n("l/Py"),t.exports=n("hN/g")},"1Iuc":function(t,e,n){"use strict";var r=n("gIHd"),o=n("qtoS")("bold");n("ax0f")({target:"String",proto:!0,forced:o},{bold:function(){return r(this,"b","","")}})},"1Mu/":function(t,e,n){t.exports=!n("ct80")(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},"1odi":function(t,e){t.exports={}},"1t7P":function(t,e,n){"use strict";var r=n("9JhN"),o=n("8aeu"),i=n("1Mu/"),a=n("DpO5"),c=n("ax0f"),u=n("uLp7"),s=n("1odi"),f=n("ct80"),l=n("TN3B"),p=n("+kY7"),h=n("HYrn"),v=n("fVMg"),d=n("RlvI"),g=n("aokA"),y=n("2BBN"),m=n("xt6W"),b=n("FXyv"),x=n("dSaG"),k=n("N4z3"),S=n("CD8Q"),_=n("lhjL"),w=n("guiJ"),E=n("7lg/"),T=n("GFpt"),O=n("q9+l"),j=n("4Sk5"),M=n("0HP5"),P=n("DEeE"),I=n("MyxS")("hidden"),N=n("zc29"),D=N.set,z=N.getterFor("Symbol"),C=T.f,Z=O.f,R=E.f,L=r.Symbol,A=r.JSON,F=A&&A.stringify,G=v("toPrimitive"),H=j.f,J=l("symbol-registry"),X=l("symbols"),B=l("op-symbols"),q=l("wks"),V=Object.prototype,W=r.QObject,U=n("56Cj"),Y=!W||!W.prototype||!W.prototype.findChild,K=i&&f(function(){return 7!=w(Z({},"a",{get:function(){return Z(this,"a",{value:7}).a}})).a})?function(t,e,n){var r=C(V,e);r&&delete V[e],Z(t,e,n),r&&t!==V&&Z(V,e,r)}:Z,Q=function(t,e){var n=X[t]=w(L.prototype);return D(n,{type:"Symbol",tag:t,description:e}),i||(n.description=e),n},$=U&&"symbol"==typeof L.iterator?function(t){return"symbol"==typeof t}:function(t){return Object(t)instanceof L},tt=function(t,e,n){return t===V&&tt(B,e,n),b(t),e=S(e,!0),b(n),o(X,e)?(n.enumerable?(o(t,I)&&t[I][e]&&(t[I][e]=!1),n=w(n,{enumerable:_(0,!1)})):(o(t,I)||Z(t,I,_(1,{})),t[I][e]=!0),K(t,e,n)):Z(t,e,n)},et=function(t,e){b(t);for(var n,r=y(e=k(e)),o=0,i=r.length;i>o;)tt(t,n=r[o++],e[n]);return t},nt=function(t){var e=H.call(this,t=S(t,!0));return!(this===V&&o(X,t)&&!o(B,t))&&(!(e||!o(this,t)||!o(X,t)||o(this,I)&&this[I][t])||e)},rt=function(t,e){if(t=k(t),e=S(e,!0),t!==V||!o(X,e)||o(B,e)){var n=C(t,e);return!n||!o(X,e)||o(t,I)&&t[I][e]||(n.enumerable=!0),n}},ot=function(t){for(var e,n=R(k(t)),r=[],i=0;n.length>i;)o(X,e=n[i++])||o(s,e)||r.push(e);return r},it=function(t){for(var e,n=t===V,r=R(n?B:k(t)),i=[],a=0;r.length>a;)!o(X,e=r[a++])||n&&!o(V,e)||i.push(X[e]);return i};U||(u((L=function(){if(this instanceof L)throw TypeError("Symbol is not a constructor");var t=void 0===arguments[0]?void 0:String(arguments[0]),e=h(t),n=function(t){this===V&&n.call(B,t),o(this,I)&&o(this[I],e)&&(this[I][e]=!1),K(this,e,_(1,t))};return i&&Y&&K(V,e,{configurable:!0,set:n}),Q(e,t)}).prototype,"toString",function(){return z(this).tag}),j.f=nt,O.f=tt,T.f=rt,n("ZdBB").f=E.f=ot,n("JAL5").f=it,i&&(Z(L.prototype,"description",{configurable:!0,get:function(){return z(this).description}}),a||u(V,"propertyIsEnumerable",nt,{unsafe:!0})),d.f=function(t){return Q(v(t),t)}),c({global:!0,wrap:!0,forced:!U,sham:!U},{Symbol:L});for(var at=P(q),ct=0;at.length>ct;)g(at[ct++]);c({target:"Symbol",stat:!0,forced:!U},{for:function(t){return o(J,t+="")?J[t]:J[t]=L(t)},keyFor:function(t){if(!$(t))throw TypeError(t+" is not a symbol");for(var e in J)if(J[e]===t)return e},useSetter:function(){Y=!0},useSimple:function(){Y=!1}}),c({target:"Object",stat:!0,forced:!U,sham:!i},{create:function(t,e){return void 0===e?w(t):et(w(t),e)},defineProperty:tt,defineProperties:et,getOwnPropertyDescriptor:rt}),c({target:"Object",stat:!0,forced:!U},{getOwnPropertyNames:ot,getOwnPropertySymbols:it}),A&&c({target:"JSON",stat:!0,forced:!U||f(function(){var t=L();return"[null]"!=F([t])||"{}"!=F({a:t})||"{}"!=F(Object(t))})},{stringify:function(t){for(var e,n,r=[t],o=1;arguments.length>o;)r.push(arguments[o++]);if(n=e=r[1],(x(e)||void 0!==t)&&!$(t))return m(e)||(e=function(t,e){if("function"==typeof n&&(e=n.call(this,t,e)),!$(e))return e}),r[1]=e,F.apply(A,r)}}),L.prototype[G]||M(L.prototype,G,L.prototype.valueOf),p(L,"Symbol"),s[I]=!0},"24wF":function(t,e,n){var r=n("dSaG"),o=n("4CM2").onFreeze,i=Object.preventExtensions,a=n("la3R"),c=n("ct80")(function(){i(1)});n("ax0f")({target:"Object",stat:!0,forced:c,sham:!a},{preventExtensions:function(t){return i&&r(t)?i(o(t)):t}})},"2BBN":function(t,e,n){var r=n("DEeE"),o=n("JAL5"),i=n("4Sk5");t.exports=function(t){var e=r(t),n=o.f;if(n)for(var a,c=n(t),u=i.f,s=0;c.length>s;)u.call(t,a=c[s++])&&e.push(a);return e}},"2gZs":function(t,e,n){var r=n("amH4"),o=n("fVMg")("toStringTag"),i="Arguments"==r(function(){return arguments}());t.exports=function(t){var e,n,a;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(n){}}(e=Object(t),o))?n:i?r(e):"Object"==(a=r(e))&&"function"==typeof e.callee?"Arguments":a}},"2pmP":function(t,e,n){var r=n("dSaG"),o=Object.isFrozen,i=n("ct80")(function(){o(1)});n("ax0f")({target:"Object",stat:!0,forced:i},{isFrozen:function(t){return!r(t)||!!o&&o(t)}})},"2sZ7":function(t,e,n){"use strict";var r=n("CD8Q"),o=n("q9+l"),i=n("lhjL");t.exports=function(t,e,n){var a=r(e);a in t?o.f(t,a,i(0,n)):t[a]=n}},"34wW":function(t,e,n){var r=n("amH4"),o=n("QsUS");t.exports=function(t,e){var n=t.exec;if("function"==typeof n){var i=n.call(t,e);if("object"!=typeof i)throw TypeError("RegExp exec method returned something other than an Object or null");return i}if("RegExp"!==r(t))throw TypeError("RegExp#exec called on incompatible receiver");return o.call(t,e)}},"3tQW":function(t,e,n){var r=Math.atanh,o=Math.log;n("ax0f")({target:"Math",stat:!0,forced:!(r&&1/r(-0)<0)},{atanh:function(t){return 0==(t=+t)?t:o((1+t)/(1-t))/2}})},"3voH":function(t,e,n){"use strict";var r=n("tJVe"),o=n("XrK5"),i=n("PjJO")("startsWith"),a="".startsWith;n("ax0f")({target:"String",proto:!0,forced:!i},{startsWith:function(t){var e=o(this,t,"startsWith"),n=r(Math.min(arguments.length>1?arguments[1]:void 0,e.length)),i=String(t);return a?a.call(e,i,n):e.slice(n,n+i.length)===i}})},"4/YM":function(t,e,n){"use strict";var r=n("+s95");t.exports=function(t,e,n){return e+(n?r(t,e,!0).length:1)}},"4CM2":function(t,e,n){var r=n("HYrn")("meta"),o=n("la3R"),i=n("dSaG"),a=n("8aeu"),c=n("q9+l").f,u=0,s=Object.isExtensible||function(){return!0},f=function(t){c(t,r,{value:{objectID:"O"+ ++u,weakData:{}}})},l=t.exports={REQUIRED:!1,fastKey:function(t,e){if(!i(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!a(t,r)){if(!s(t))return"F";if(!e)return"E";f(t)}return t[r].objectID},getWeakData:function(t,e){if(!a(t,r)){if(!s(t))return!0;if(!e)return!1;f(t)}return t[r].weakData},onFreeze:function(t){return o&&l.REQUIRED&&s(t)&&!a(t,r)&&f(t),t}};n("1odi")[r]=!0},"4Sk5":function(t,e,n){"use strict";var r={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,i=o&&!r.call({1:2},1);e.f=i?function(t){var e=o(this,t);return!!e&&e.enumerable}:r},"4fHd":function(t,e,n){var r=n("EE2Y"),o=Math.acosh,i=Math.log,a=Math.sqrt,c=Math.LN2,u=!o||710!=Math.floor(o(Number.MAX_VALUE))||o(1/0)!=1/0;n("ax0f")({target:"Math",stat:!0,forced:u},{acosh:function(t){return(t=+t)<1?NaN:t>94906265.62425156?i(t)+c:r(t-1+a(t-1)*a(t+1))}})},"56Cj":function(t,e,n){t.exports=!n("ct80")(function(){return!String(Symbol())})},5878:function(t,e,n){n("ax0f")({target:"Function",proto:!0},{bind:n("zh11")})},"5BYb":function(t,e,n){"use strict";var r=n("Ca29")(3),o=n("NVHP")("some");n("ax0f")({target:"Array",proto:!0,forced:o},{some:function(t){return r(this,t,arguments[1])}})},"5cZK":function(t,e,n){var r=Math.imul,o=n("ct80")(function(){return-5!=r(4294967295,5)||2!=r.length});n("ax0f")({target:"Math",stat:!0,forced:o},{imul:function(t,e){var n=+t,r=+e,o=65535&n,i=65535&r;return 0|o*i+((65535&n>>>16)*i+o*(65535&r>>>16)<<16>>>0)}})},"5o43":function(t,e,n){var r=n("N9G2"),o=n("DjlN"),i=n("gC6d"),a=n("ct80")(function(){o(1)});n("ax0f")({target:"Object",stat:!0,forced:a,sham:!i},{getPrototypeOf:function(t){return o(r(t))}})},"66wQ":function(t,e,n){var r=n("ct80"),o=/#|\.prototype\./,i=function(t,e){var n=c[a(t)];return n==s||n!=u&&("function"==typeof e?r(e):!!e)},a=i.normalize=function(t){return String(t).replace(o,".").toLowerCase()},c=i.data={},u=i.NATIVE="N",s=i.POLYFILL="P";t.exports=i},"6OVi":function(t,e,n){"use strict";var r=[].forEach,o=n("Ca29")(0),i=n("NVHP")("forEach");t.exports=i?function(t){return o(this,t,arguments[1])}:r},"6U7i":function(t,e,n){"use strict";var r=n("9JhN"),o=n("66wQ"),i=n("8aeu"),a=n("amH4"),c=n("j6nH"),u=n("CD8Q"),s=n("ct80"),f=n("ZdBB").f,l=n("GFpt").f,p=n("q9+l").f,h=n("Ya2h"),v=r.Number,d=v.prototype,g="Number"==a(n("guiJ")(d)),y="trim"in String.prototype,m=function(t){var e,n,r,o,i,a,c,s,f=u(t,!1);if("string"==typeof f&&f.length>2)if(43===(e=(f=y?f.trim():h(f,3)).charCodeAt(0))||45===e){if(88===(n=f.charCodeAt(2))||120===n)return NaN}else if(48===e){switch(f.charCodeAt(1)){case 66:case 98:r=2,o=49;break;case 79:case 111:r=8,o=55;break;default:return+f}for(a=(i=f.slice(2)).length,c=0;co)return NaN;return parseInt(i,r)}return+f};if(o("Number",!v(" 0o1")||!v("0b1")||v("+0x1"))){for(var b,x=function(t){var e=arguments.length<1?0:t,n=this;return n instanceof x&&(g?s(function(){d.valueOf.call(n)}):"Number"!=a(n))?c(new v(m(e)),n,x):m(e)},k=n("1Mu/")?f(v):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),S=0;k.length>S;S++)i(v,b=k[S])&&!i(x,b)&&p(x,b,l(v,b));x.prototype=d,d.constructor=x,n("uLp7")(r,"Number",x)}},"7St7":function(t,e,n){var r=n("fVMg")("unscopables"),o=n("guiJ"),i=n("0HP5"),a=Array.prototype;null==a[r]&&i(a,r,o(null)),t.exports=function(t){a[r][t]=!0}},"7lg/":function(t,e,n){var r=n("N4z3"),o=n("ZdBB").f,i={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return a&&"[object Window]"==i.call(t)?function(t){try{return o(t)}catch(e){return a.slice()}}(t):o(r(t))}},"7x/C":function(t,e,n){var r=n("UmhL"),o=Object.prototype;r!==o.toString&&n("uLp7")(o,"toString",r,{unsafe:!0})},"7xRU":function(t,e,n){"use strict";var r=n("N4z3"),o=[].join,i=n("g6a+")!=Object,a=n("NVHP")("join",",");n("ax0f")({target:"Array",proto:!0,forced:i||a},{join:function(t){return o.call(r(this),void 0===t?",":t)}})},"87if":function(t,e,n){"use strict";var r=n("+s95"),o=n("zc29"),i=n("LfQM"),a=o.set,c=o.getterFor("String Iterator");i(String,"String",function(t){a(this,{type:"String Iterator",string:String(t),index:0})},function(){var t,e=c(this),n=e.string,o=e.index;return o>=n.length?{value:void 0,done:!0}:(t=r(n,o,!0),e.index+=t.length,{value:t,done:!1})})},"8IZr":function(t,e,n){n("4fHd"),n("RMhz"),n("3tQW"),n("ErEn"),n("fiaI"),n("Kqro"),n("8y+d"),n("lyf0"),n("ct5l"),n("5cZK"),n("90N4"),n("HJtI"),n("Rqga"),n("+CnW"),n("oGRQ"),n("GPM0"),n("I45R"),n("Wd/2"),t.exports=n("PjZX").Math},"8aeu":function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},"8r/q":function(t,e,n){var r=n("dSaG"),o=n("9JhN").document,i=r(o)&&r(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},"8y+d":function(t,e,n){var r=n("BEGZ");n("ax0f")({target:"Math",stat:!0,forced:r!=Math.expm1},{expm1:r})},"90N4":function(t,e,n){var r=Math.log,o=Math.LOG10E;n("ax0f")({target:"Math",stat:!0},{log10:function(t){return r(t)*o}})},"9JhN":function(t,e){t.exports="object"==typeof window&&window&&window.Math==Math?window:"object"==typeof self&&self&&self.Math==Math?self:Function("return this")()},"9mBq":function(t,e,n){var r=n("lJrM"),o=Math.pow,i=o(2,-52),a=o(2,-23),c=o(2,127)*(2-a),u=o(2,-126);t.exports=Math.fround||function(t){var e,n,o=Math.abs(t),s=r(t);return oc||n!=n?s*(1/0):s*n}},AL8b:function(t,e,n){var r=n("dSaG"),o=n("FXyv");t.exports=function(t,e){if(o(t),!r(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype")}},AYLx:function(t,e,n){var r=n("9JhN").parseInt,o=n("Ya2h"),i=n("+/eK"),a=/^[-+]?0[xX]/,c=8!==r(i+"08")||22!==r(i+"0x16");t.exports=c?function(t,e){var n=o(String(t),3);return r(n,e>>>0||(a.test(n)?16:10))}:r},BEGZ:function(t,e){var n=Math.expm1;t.exports=!n||n(10)>22025.465794806718||n(10)<22025.465794806718||-2e-17!=n(-2e-17)?function(t){return 0==(t=+t)?t:t>-1e-6&&t<1e-6?t+t*t/2:Math.exp(t)-1}:n},BEbc:function(t,e,n){var r=n("2gZs"),o=n("fVMg")("iterator"),i=n("W7cG");t.exports=function(t){if(null!=t)return t[o]||t["@@iterator"]||i[r(t)]}},BfUN:function(t,e,n){var r=n("om6x");n("ax0f")({target:"Number",stat:!0,forced:Number.parseFloat!=r},{parseFloat:r})},Blm6:function(t,e,n){var r=n("AYLx");n("ax0f")({global:!0,forced:parseInt!=r},{parseInt:r})},CD8Q:function(t,e,n){var r=n("dSaG");t.exports=function(t,e){if(!r(t))return t;var n,o;if(e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;if("function"==typeof(n=t.valueOf)&&!r(o=n.call(t)))return o;if(!e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},Ca29:function(t,e,n){var r=n("X7ib"),o=n("g6a+"),i=n("N9G2"),a=n("tJVe"),c=n("aoZ+");t.exports=function(t,e){var n=1==t,u=2==t,s=3==t,f=4==t,l=6==t,p=5==t||l,h=e||c;return function(e,c,v){for(var d,g,y=i(e),m=o(y),b=r(c,v,3),x=a(m.length),k=0,S=n?h(e,x):u?h(e,0):void 0;x>k;k++)if((p||k in m)&&(g=b(d=m[k],k,y),t))if(n)S[k]=g;else if(g)switch(t){case 3:return!0;case 5:return d;case 6:return k;case 2:S.push(d)}else if(f)return!1;return l?-1:s||f?f:S}}},Ch6y:function(t,e,n){"use strict";var r=n("VCi3"),o=n("q9+l"),i=n("1Mu/"),a=n("fVMg")("species");t.exports=function(t){var e=r(t);i&&e&&!e[a]&&(0,o.f)(e,a,{configurable:!0,get:function(){return this}})}},DEeE:function(t,e,n){var r=n("yRya"),o=n("sX5C");t.exports=Object.keys||function(t){return r(t,o)}},"DZ+c":function(t,e,n){"use strict";var r=n("FXyv"),o=n("ct80"),i=n("q/0V"),a=n("1Mu/"),c=/./.toString;(o(function(){return"/a/b"!=c.call({source:"a",flags:"b"})})||"toString"!=c.name)&&n("uLp7")(RegExp.prototype,"toString",function(){var t=r(this);return"/".concat(t.source,"/","flags"in t?t.flags:!a&&t instanceof RegExp?i.call(t):void 0)},{unsafe:!0})},DfhM:function(t,e,n){"use strict";var r=n("Ca29")(4),o=n("NVHP")("every");n("ax0f")({target:"Array",proto:!0,forced:o},{every:function(t){return r(this,t,arguments[1])}})},DjlN:function(t,e,n){var r=n("8aeu"),o=n("N9G2"),i=n("MyxS")("IE_PROTO"),a=n("gC6d"),c=Object.prototype;t.exports=a?Object.getPrototypeOf:function(t){return t=o(t),r(t,i)?t[i]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?c:null}},DpO5:function(t,e){t.exports=!1},EE2Y:function(t,e){t.exports=Math.log1p||function(t){return(t=+t)>-1e-8&&t<1e-8?t-t*t/2:Math.log(1+t)}},Ef13:function(t,e,n){"use strict";var r=n("i7Kn"),o=n("W6AI"),i=n("ovzZ"),a=1..toFixed,c=Math.floor,u=[0,0,0,0,0,0],s=function(t,e){for(var n=-1,r=e;++n<6;)u[n]=(r+=t*u[n])%1e7,r=c(r/1e7)},f=function(t){for(var e=6,n=0;--e>=0;)u[e]=c((n+=u[e])/t),n=n%t*1e7},l=function(){for(var t=6,e="";--t>=0;)if(""!==e||0===t||0!==u[t]){var n=String(u[t]);e=""===e?n:e+i.call("0",7-n.length)+n}return e},p=function(t,e,n){return 0===e?n:e%2==1?p(t,e-1,n*t):p(t*t,e/2,n)};n("ax0f")({target:"Number",proto:!0,forced:a&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!n("ct80")(function(){a.call({})})},{toFixed:function(t){var e,n,a,c,u=o(this),h=r(t),v="",d="0";if(h<0||h>20)throw RangeError("Incorrect fraction digits");if(u!=u)return"NaN";if(u<=-1e21||u>=1e21)return String(u);if(u<0&&(v="-",u=-u),u>1e-21)if(n=(e=function(t){for(var e=0,n=t;n>=4096;)e+=12,n/=4096;for(;n>=2;)e+=1,n/=2;return e}(u*p(2,69,1))-69)<0?u*p(2,-e,1):u/p(2,e,1),n*=4503599627370496,(e=52-e)>0){for(s(0,n),a=h;a>=7;)s(1e7,0),a-=7;for(s(p(10,a,1),0),a=e-1;a>=23;)f(1<<23),a-=23;f(1<0?v+((c=d.length)<=h?"0."+i.call("0",h-c)+d:d.slice(0,c-h)+"."+d.slice(c-h)):v+d}})},EgRP:function(t,e,n){var r=n("1Mu/");n("ax0f")({target:"Object",stat:!0,forced:!r,sham:!r},{defineProperties:n("uZvN")})},ErEn:function(t,e,n){var r=n("lJrM"),o=Math.abs,i=Math.pow;n("ax0f")({target:"Math",stat:!0},{cbrt:function(t){return r(t=+t)*i(o(t),1/3)}})},Ew2P:function(t,e){t.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},F01M:function(t,e,n){"use strict";var r=n("DEeE"),o=n("JAL5"),i=n("4Sk5"),a=n("N9G2"),c=n("g6a+"),u=Object.assign;t.exports=!u||n("ct80")(function(){var t={},e={},n=Symbol();return t[n]=7,"abcdefghijklmnopqrst".split("").forEach(function(t){e[t]=t}),7!=u({},t)[n]||"abcdefghijklmnopqrst"!=r(u({},e)).join("")})?function(t,e){for(var n=a(t),u=arguments.length,s=1,f=o.f,l=i.f;u>s;)for(var p,h=c(arguments[s++]),v=f?r(h).concat(f(h)):r(h),d=v.length,g=0;d>g;)l.call(h,p=v[g++])&&(n[p]=h[p]);return n}:u},FNAH:function(t,e){t.exports=Object.is||function(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}},FXyv:function(t,e,n){var r=n("dSaG");t.exports=function(t){if(!r(t))throw TypeError(String(t)+" is not an object");return t}},FtFR:function(t,e,n){n("1Mu/")&&"g"!=/./g.flags&&n("q9+l").f(RegExp.prototype,"flags",{configurable:!0,get:n("q/0V")})},FwaZ:function(t,e,n){n("ax0f")({target:"String",proto:!0},{repeat:n("ovzZ")})},"G+zT":function(t,e,n){var r=n("dSaG"),o=Object.isExtensible,i=n("ct80")(function(){o(1)});n("ax0f")({target:"Object",stat:!0,forced:i},{isExtensible:function(t){return!!r(t)&&(!o||o(t))}})},GFpt:function(t,e,n){var r=n("1Mu/"),o=n("4Sk5"),i=n("lhjL"),a=n("N4z3"),c=n("CD8Q"),u=n("8aeu"),s=n("fD9S"),f=Object.getOwnPropertyDescriptor;e.f=r?f:function(t,e){if(t=a(t),e=c(e,!0),s)try{return f(t,e)}catch(n){}if(u(t,e))return i(!o.f.call(t,e),t[e])}},GJtw:function(t,e,n){var r=n("ct80"),o=n("fVMg")("species");t.exports=function(t){return!r(function(){var e=[];return(e.constructor={})[o]=function(){return{foo:1}},1!==e[t](Boolean).foo})}},GPM0:function(t,e,n){var r=n("BEGZ"),o=Math.exp;n("ax0f")({target:"Math",stat:!0},{tanh:function(t){var e=r(t=+t),n=r(-t);return e==1/0?1:n==1/0?-1:(e-n)/(o(t)+o(-t))}})},Gzlc:function(t,e,n){n("6U7i"),n("YUzY"),n("+E13"),n("VqLN"),n("ssvU"),n("rYyC"),n("kH1Z"),n("e1jL"),n("BfUN"),n("dLd+"),n("Ef13"),n("nQKF"),t.exports=n("PjZX").Number},H17f:function(t,e,n){var r=n("N4z3"),o=n("tJVe"),i=n("mg+6");t.exports=function(t){return function(e,n,a){var c,u=r(e),s=o(u.length),f=i(a,s);if(t&&n!=n){for(;s>f;)if((c=u[f++])!=c)return!0}else for(;s>f;f++)if((t||f in u)&&u[f]===n)return t||f||0;return!t&&-1}}},HJtI:function(t,e,n){n("ax0f")({target:"Math",stat:!0},{log1p:n("EE2Y")})},HUPx:function(t,e,n){var r=n("0HP5"),o=n("fVMg")("toPrimitive"),i=n("034l"),a=Date.prototype;o in a||r(a,o,i)},HYrn:function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},I45R:function(t,e,n){n("+kY7")(Math,"Math",!0)},IAdD:function(t,e,n){var r=n("F01M");n("ax0f")({target:"Object",stat:!0,forced:Object.assign!==r},{assign:r})},IDJp:function(t,e,n){"use strict";var r=n("gIHd"),o=n("qtoS")("blink");n("ax0f")({target:"String",proto:!0,forced:o},{blink:function(){return r(this,"blink","","")}})},JAL5:function(t,e){e.f=Object.getOwnPropertySymbols},JDXi:function(t,e,n){var r,o,i,a=n("9JhN"),c=n("amH4"),u=n("X7ib"),s=n("kySU"),f=n("8r/q"),l=a.setImmediate,p=a.clearImmediate,h=a.process,v=a.MessageChannel,d=a.Dispatch,g=0,y={},m=function(){var t=+this;if(y.hasOwnProperty(t)){var e=y[t];delete y[t],e()}},b=function(t){m.call(t.data)};l&&p||(l=function(t){for(var e=[],n=1;arguments.length>n;)e.push(arguments[n++]);return y[++g]=function(){("function"==typeof t?t:Function(t)).apply(void 0,e)},r(g),g},p=function(t){delete y[t]},"process"==c(h)?r=function(t){h.nextTick(u(m,t,1))}:d&&d.now?r=function(t){d.now(u(m,t,1))}:v?(i=(o=new v).port2,o.port1.onmessage=b,r=u(i.postMessage,i,1)):a.addEventListener&&"function"==typeof postMessage&&!a.importScripts?(r=function(t){a.postMessage(t+"","*")},a.addEventListener("message",b,!1)):r="onreadystatechange"in f("script")?function(t){s.appendChild(f("script")).onreadystatechange=function(){s.removeChild(this),m.call(t)}}:function(t){setTimeout(u(m,t,1),0)}),t.exports={set:l,clear:p}},JRTy:function(t,e,n){var r=n("FXyv");t.exports=function(t,e,n,o){try{return o?e(r(n)[0],n[1]):e(n)}catch(a){var i=t.return;throw void 0!==i&&r(i.call(t)),a}}},JYr1:function(t,e,n){var r=n("dSaG"),o=Math.floor;t.exports=function(t){return!r(t)&&isFinite(t)&&o(t)===t}},JtPf:function(t,e,n){"use strict";var r,o,i,a=n("DpO5"),c=n("9JhN"),u=n("ax0f"),s=n("dSaG"),f=n("hpdy"),l=n("TM4o"),p=n("amH4"),h=n("tXjT"),v=n("MhFt"),d=n("Qzre"),g=n("JDXi").set,y=n("hXPa"),m=n("nDYR"),b=n("Qi22"),x=n("iByj"),k=n("QroT"),S=n("XeX2"),_=n("fVMg")("species"),w=n("zc29"),E=n("66wQ"),T=w.get,O=w.set,j=w.getterFor("Promise"),M=c.Promise,P=c.TypeError,I=c.document,N=c.process,D=c.fetch,z=N&&N.versions,C=z&&z.v8||"",Z=x.f,R=Z,L="process"==p(N),A=!!(I&&I.createEvent&&c.dispatchEvent),F=E("Promise",function(){var t=M.resolve(1),e=function(){},n=(t.constructor={})[_]=function(t){t(e,e)};return!((L||"function"==typeof PromiseRejectionEvent)&&(!a||t.finally)&&t.then(e)instanceof n&&0!==C.indexOf("6.6")&&-1===S.indexOf("Chrome/66"))}),G=F||!v(function(t){M.all(t).catch(function(){})}),H=function(t){var e;return!(!s(t)||"function"!=typeof(e=t.then))&&e},J=function(t,e,n){if(!e.notified){e.notified=!0;var r=e.reactions;y(function(){for(var o=e.value,i=1==e.state,a=0,c=function(n){var r,a,c,u=i?n.ok:n.fail,s=n.resolve,f=n.reject,l=n.domain;try{u?(i||(2===e.rejection&&V(t,e),e.rejection=1),!0===u?r=o:(l&&l.enter(),r=u(o),l&&(l.exit(),c=!0)),r===n.promise?f(P("Promise-chain cycle")):(a=H(r))?a.call(r,s,f):s(r)):f(o)}catch(p){l&&!c&&l.exit(),f(p)}};r.length>a;)c(r[a++]);e.reactions=[],e.notified=!1,n&&!e.rejection&&B(t,e)})}},X=function(t,e,n){var r,o;A?((r=I.createEvent("Event")).promise=e,r.reason=n,r.initEvent(t,!1,!0),c.dispatchEvent(r)):r={promise:e,reason:n},(o=c["on"+t])?o(r):"unhandledrejection"===t&&b("Unhandled promise rejection",n)},B=function(t,e){g.call(c,function(){var n,r=e.value;if(q(e)&&(n=k(function(){L?N.emit("unhandledRejection",r,t):X("unhandledrejection",t,r)}),e.rejection=L||q(e)?2:1,n.error))throw n.value})},q=function(t){return 1!==t.rejection&&!t.parent},V=function(t,e){g.call(c,function(){L?N.emit("rejectionHandled",t):X("rejectionhandled",t,e.value)})},W=function(t,e,n,r){return function(o){t(e,n,o,r)}},U=function(t,e,n,r){e.done||(e.done=!0,r&&(e=r),e.value=n,e.state=2,J(t,e,!0))},Y=function(t,e,n,r){if(!e.done){e.done=!0,r&&(e=r);try{if(t===n)throw P("Promise can't be resolved itself");var o=H(n);o?y(function(){var r={done:!1};try{o.call(n,W(Y,t,r,e),W(U,t,r,e))}catch(i){U(t,r,i,e)}}):(e.value=n,e.state=1,J(t,e,!1))}catch(i){U(t,{done:!1},i,e)}}};F&&(M=function(t){l(this,M,"Promise"),f(t),r.call(this);var e=T(this);try{t(W(Y,this,e),W(U,this,e))}catch(n){U(this,e,n)}},(r=function(t){O(this,{type:"Promise",done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=n("sgPY")(M.prototype,{then:function(t,e){var n=j(this),r=Z(d(this,M));return r.ok="function"!=typeof t||t,r.fail="function"==typeof e&&e,r.domain=L?N.domain:void 0,n.parent=!0,n.reactions.push(r),0!=n.state&&J(this,n,!1),r.promise},catch:function(t){return this.then(void 0,t)}}),o=function(){var t=new r,e=T(t);this.promise=t,this.resolve=W(Y,t,e),this.reject=W(U,t,e)},x.f=Z=function(t){return t===M||t===i?new o(t):R(t)},a||"function"!=typeof D||u({global:!0,enumerable:!0,forced:!0},{fetch:function(t){return m(M,D.apply(c,arguments))}})),u({global:!0,wrap:!0,forced:F},{Promise:M}),n("+kY7")(M,"Promise",!1,!0),n("Ch6y")("Promise"),i=n("PjZX").Promise,u({target:"Promise",stat:!0,forced:F},{reject:function(t){var e=Z(this);return e.reject.call(void 0,t),e.promise}}),u({target:"Promise",stat:!0,forced:a||F},{resolve:function(t){return m(a&&this===i?M:this,t)}}),u({target:"Promise",stat:!0,forced:G},{all:function(t){var e=this,n=Z(e),r=n.resolve,o=n.reject,i=k(function(){var n=[],i=0,a=1;h(t,function(t){var c=i++,u=!1;n.push(void 0),a++,e.resolve(t).then(function(t){u||(u=!0,n[c]=t,--a||r(n))},o)}),--a||r(n)});return i.error&&o(i.value),n.promise},race:function(t){var e=this,n=Z(e),r=n.reject,o=k(function(){h(t,function(t){e.resolve(t).then(n.resolve,r)})});return o.error&&r(o.value),n.promise}})},KB94:function(t,e,n){t.exports=n("TN3B")("native-function-to-string",Function.toString)},KOtZ:function(t,e,n){"use strict";var r=n("mPOS"),o=n("NVHP")("reduce");n("ax0f")({target:"Array",proto:!0,forced:o},{reduce:function(t){return r(this,t,arguments.length,arguments[1],!1)}})},Kc2x:function(t,e,n){"use strict";var r=n("N9G2"),o=n("mg+6"),i=n("tJVe");t.exports=function(t){for(var e=r(this),n=i(e.length),a=arguments.length,c=o(a>1?arguments[1]:void 0,n),u=a>2?arguments[2]:void 0,s=void 0===u?n:o(u,n);s>c;)e[c++]=t;return e}},KqXw:function(t,e,n){"use strict";var r=n("QsUS");n("ax0f")({target:"RegExp",proto:!0,forced:/./.exec!==r},{exec:r})},Kqro:function(t,e,n){var r=n("BEGZ"),o=Math.cosh,i=Math.abs,a=Math.E;n("ax0f")({target:"Math",stat:!0,forced:!o||o(710)===1/0},{cosh:function(t){var e=r(i(t)-1)+1;return(e+1/(e*a*a))*(a/2)}})},LJOr:function(t,e,n){"use strict";var r=n("FXyv"),o=n("cww3"),i=n("FNAH"),a=n("34wW");n("lbJE")("search",1,function(t,e,n){return[function(e){var n=o(this),r=null==e?void 0:e[t];return void 0!==r?r.call(e,n):new RegExp(e)[t](String(n))},function(t){var o=n(e,t,this);if(o.done)return o.value;var c=r(t),u=String(this),s=c.lastIndex;i(s,0)||(c.lastIndex=0);var f=a(c,u);return i(c.lastIndex,s)||(c.lastIndex=s),null===f?-1:f.index}]})},LUwd:function(t,e,n){n("ax0f")({target:"Object",stat:!0},{setPrototypeOf:n("waID")})},LW0h:function(t,e,n){"use strict";var r=n("Ca29")(2),o=n("GJtw")("filter");n("ax0f")({target:"Array",proto:!0,forced:!o},{filter:function(t){return r(this,t,arguments[1])}})},LfQM:function(t,e,n){"use strict";var r=n("ax0f"),o=n("Lj86"),i=n("DjlN"),a=n("waID"),c=n("+kY7"),u=n("0HP5"),s=n("uLp7"),f=n("DpO5"),l=n("fVMg")("iterator"),p=n("W7cG"),h=n("/4m8"),v=h.IteratorPrototype,d=h.BUGGY_SAFARI_ITERATORS,g=function(){return this};t.exports=function(t,e,n,h,y,m,b){o(n,e,h);var x,k,S,_=function(t){if(t===y&&j)return j;if(!d&&t in T)return T[t];switch(t){case"keys":case"values":case"entries":return function(){return new n(this,t)}}return function(){return new n(this)}},w=e+" Iterator",E=!1,T=t.prototype,O=T[l]||T["@@iterator"]||y&&T[y],j=!d&&O||_(y),M="Array"==e&&T.entries||O;if(M&&(x=i(M.call(new t)),v!==Object.prototype&&x.next&&(f||i(x)===v||(a?a(x,v):"function"!=typeof x[l]&&u(x,l,g)),c(x,w,!0,!0),f&&(p[w]=g))),"values"==y&&O&&"values"!==O.name&&(E=!0,j=function(){return O.call(this)}),f&&!b||T[l]===j||u(T,l,j),p[e]=j,y)if(k={values:_("values"),keys:m?j:_("keys"),entries:_("entries")},b)for(S in k)!d&&!E&&S in T||s(T,S,k[S]);else r({target:e,proto:!0,forced:d||E},k);return k}},Lj86:function(t,e,n){"use strict";var r=n("/4m8").IteratorPrototype,o=n("guiJ"),i=n("lhjL"),a=n("+kY7"),c=n("W7cG"),u=function(){return this};t.exports=function(t,e,n){var s=e+" Iterator";return t.prototype=o(r,{next:i(1,n)}),a(t,s,!1,!0),c[s]=u,t}},LqLs:function(t,e,n){"use strict";t.exports=n("iu90")("Set",function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},n("OtWY"))},"M+/F":function(t,e,n){"use strict";var r=n("dSaG"),o=n("xt6W"),i=n("mg+6"),a=n("tJVe"),c=n("N4z3"),u=n("2sZ7"),s=n("fVMg")("species"),f=[].slice,l=Math.max,p=n("GJtw")("slice");n("ax0f")({target:"Array",proto:!0,forced:!p},{slice:function(t,e){var n,p,h,v=c(this),d=a(v.length),g=i(t,d),y=i(void 0===e?d:e,d);if(o(v)&&("function"!=typeof(n=v.constructor)||n!==Array&&!o(n.prototype)?r(n)&&null===(n=n[s])&&(n=void 0):n=void 0,n===Array||void 0===n))return f.call(v,g,y);for(p=new(void 0===n?Array:n)(l(y-g,0)),h=0;g]*>)/g,v=/\$([$&`']|\d\d?)/g;n("lbJE")("replace",2,function(t,e,n){return[function(n,r){var o=c(this),i=null==n?void 0:n[t];return void 0!==i?i.call(n,o,r):e.call(String(o),n,r)},function(t,o){var c=n(e,t,this,o);if(c.done)return c.value;var p=r(t),h=String(this),v="function"==typeof o;v||(o=String(o));var g=p.global;if(g){var y=p.unicode;p.lastIndex=0}for(var m=[];;){var b=s(p,h);if(null===b)break;if(m.push(b),!g)break;""===String(b[0])&&(p.lastIndex=u(h,i(p.lastIndex),y))}for(var x,k="",S=0,_=0;_=S&&(k+=h.slice(S,E)+P,S=E+w.length)}return k+h.slice(S)}];function d(t,n,r,i,a,c){var u=r+t.length,s=i.length,f=v;return void 0!==a&&(a=o(a),f=h),e.call(c,f,function(e,o){var c;switch(o.charAt(0)){case"$":return"$";case"&":return t;case"`":return n.slice(0,r);case"'":return n.slice(u);case"<":c=a[o.slice(1,-1)];break;default:var f=+o;if(0===f)return e;if(f>s){var l=p(f/10);return 0===l?e:l<=s?void 0===i[l-1]?o.charAt(1):i[l-1]+o.charAt(1):e}c=i[f-1]}return void 0===c?"":c})}})},MyxS:function(t,e,n){var r=n("TN3B")("keys"),o=n("HYrn");t.exports=function(t){return r[t]||(r[t]=o(t))}},N4z3:function(t,e,n){var r=n("g6a+"),o=n("cww3");t.exports=function(t){return r(o(t))}},N9G2:function(t,e,n){var r=n("cww3");t.exports=function(t){return Object(r(t))}},NVHP:function(t,e,n){"use strict";var r=n("ct80");t.exports=function(t,e){var n=[][t];return!n||!r(function(){n.call(null,e||function(){throw 1},1)})}},OtWY:function(t,e,n){"use strict";var r=n("q9+l").f,o=n("guiJ"),i=n("sgPY"),a=n("X7ib"),c=n("TM4o"),u=n("tXjT"),s=n("LfQM"),f=n("Ch6y"),l=n("1Mu/"),p=n("4CM2").fastKey,h=n("zc29"),v=h.set,d=h.getterFor;t.exports={getConstructor:function(t,e,n,s){var f=t(function(t,r){c(t,f,e),v(t,{type:e,index:o(null),first:void 0,last:void 0,size:0}),l||(t.size=0),null!=r&&u(r,t[s],t,n)}),h=d(e),g=function(t,e,n){var r,o,i=h(t),a=y(t,e);return a?a.value=n:(i.last=a={index:o=p(e,!0),key:e,value:n,previous:r=i.last,next:void 0,removed:!1},i.first||(i.first=a),r&&(r.next=a),l?i.size++:t.size++,"F"!==o&&(i.index[o]=a)),t},y=function(t,e){var n,r=h(t),o=p(e);if("F"!==o)return r.index[o];for(n=r.first;n;n=n.next)if(n.key==e)return n};return i(f.prototype,{clear:function(){for(var t=h(this),e=t.index,n=t.first;n;)n.removed=!0,n.previous&&(n.previous=n.previous.next=void 0),delete e[n.index],n=n.next;t.first=t.last=void 0,l?t.size=0:this.size=0},delete:function(t){var e=h(this),n=y(this,t);if(n){var r=n.next,o=n.previous;delete e.index[n.index],n.removed=!0,o&&(o.next=r),r&&(r.previous=o),e.first==n&&(e.first=r),e.last==n&&(e.last=o),l?e.size--:this.size--}return!!n},forEach:function(t){for(var e,n=h(this),r=a(t,arguments.length>1?arguments[1]:void 0,3);e=e?e.next:n.first;)for(r(e.value,e.key,this);e&&e.removed;)e=e.previous},has:function(t){return!!y(this,t)}}),i(f.prototype,n?{get:function(t){var e=y(this,t);return e&&e.value},set:function(t,e){return g(this,0===t?0:t,e)}}:{add:function(t){return g(this,t=0===t?0:t,t)}}),l&&r(f.prototype,"size",{get:function(){return h(this).size}}),f},setStrong:function(t,e,n){var r=e+" Iterator",o=d(e),i=d(r);s(t,e,function(t,e){v(this,{type:r,target:t,state:o(t),kind:e,last:void 0})},function(){for(var t=i(this),e=t.kind,n=t.last;n&&n.removed;)n=n.previous;return t.target&&(t.last=n=n?n.next:t.state.first)?"keys"==e?{value:n.key,done:!1}:"values"==e?{value:n.value,done:!1}:{value:[n.key,n.value],done:!1}:(t.target=void 0,{value:void 0,done:!0})},n?"entries":"values",!n,!0),f(e)}}},PjJO:function(t,e,n){var r=n("fVMg")("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(n){try{return e[r]=!1,"/./"[t](e)}catch(o){}}return!1}},PjRa:function(t,e,n){var r=n("9JhN"),o=n("0HP5");t.exports=function(t,e){try{o(r,t,e)}catch(n){r[t]=e}return e}},PjZX:function(t,e,n){t.exports=n("9JhN")},Qi22:function(t,e,n){var r=n("9JhN");t.exports=function(t,e){var n=r.console;n&&n.error&&(1===arguments.length?n.error(t):n.error(t,e))}},QroT:function(t,e){t.exports=function(t){try{return{error:!1,value:t()}}catch(e){return{error:!0,value:e}}}},QsAM:function(t,e,n){"use strict";var r=n("N4z3"),o=n("i7Kn"),i=n("tJVe"),a=[].lastIndexOf,c=!!a&&1/[1].lastIndexOf(1,-0)<0,u=n("NVHP")("lastIndexOf");t.exports=c||u?function(t){if(c)return a.apply(this,arguments)||0;var e=r(this),n=i(e.length),u=n-1;for(arguments.length>1&&(u=Math.min(u,o(arguments[1]))),u<0&&(u=n+u);u>=0;u--)if(u in e&&e[u]===t)return u||0;return-1}:a},QsUS:function(t,e,n){"use strict";var r,o,i=n("q/0V"),a=RegExp.prototype.exec,c=String.prototype.replace,u=a,s=(o=/b*/g,a.call(r=/a/,"a"),a.call(o,"a"),0!==r.lastIndex||0!==o.lastIndex),f=void 0!==/()??/.exec("")[1];(s||f)&&(u=function(t){var e,n,r,o,u=this;return f&&(n=new RegExp("^"+u.source+"$(?!\\s)",i.call(u))),s&&(e=u.lastIndex),r=a.call(u,t),s&&r&&(u.lastIndex=u.global?r.index+r[0].length:e),f&&r&&r.length>1&&c.call(r[0],n,function(){for(o=1;o0)},{asinh:function t(e){return isFinite(e=+e)&&0!=e?e<0?-t(-e):o(e+i(e*e+1)):e}})},RlvI:function(t,e,n){e.f=n("fVMg")},Rqga:function(t,e,n){var r=Math.log,o=Math.LN2;n("ax0f")({target:"Math",stat:!0},{log2:function(t){return r(t)/o}})},Rt4R:function(t,e,n){"use strict";var r=n("gIHd"),o=n("qtoS")("big");n("ax0f")({target:"String",proto:!0,forced:o},{big:function(){return r(this,"big","","")}})},T24r:function(t,e,n){var r=n("dSaG"),o=n("4CM2").onFreeze,i=Object.seal,a=n("la3R"),c=n("ct80")(function(){i(1)});n("ax0f")({target:"Object",stat:!0,forced:c,sham:!a},{seal:function(t){return i&&r(t)?i(o(t)):t}})},TBIO:function(t,e,n){n("+/OB"),n("e5Ep"),n("ly4k"),n("cARO"),n("HUPx"),t.exports=n("PjZX").Date},TM4o:function(t,e){t.exports=function(t,e,n){if(!(t instanceof e))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return t}},TN3B:function(t,e,n){var r=n("9JhN"),o=n("PjRa"),i=r["__core-js_shared__"]||o("__core-js_shared__",{});(t.exports=function(t,e){return i[t]||(i[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.0.1",mode:n("DpO5")?"pure":"global",copyright:"\xa9 2019 Denis Pushkarev (zloirock.ru)"})},UmYz:function(t,e,n){"use strict";var r=n("+s95");n("ax0f")({target:"String",proto:!0},{codePointAt:function(t){return r(this,t)}})},UmhL:function(t,e,n){"use strict";var r=n("2gZs"),o={};o[n("fVMg")("toStringTag")]="z",t.exports="[object z]"!==String(o)?function(){return"[object "+r(this)+"]"}:o.toString},UvmB:function(t,e,n){var r=n("1Mu/");n("ax0f")({target:"Object",stat:!0,forced:!r,sham:!r},{defineProperty:n("q9+l").f})},VCi3:function(t,e,n){var r=n("PjZX"),o=n("9JhN"),i=function(t){return"function"==typeof t?t:void 0};t.exports=function(t,e){return arguments.length<2?i(r[t])||i(o[t]):r[t]&&r[t][e]||o[t]&&o[t][e]}},VqLN:function(t,e,n){n("ax0f")({target:"Number",stat:!0},{isInteger:n("JYr1")})},W6AI:function(t,e,n){var r=n("amH4");t.exports=function(t){if("number"!=typeof t&&"Number"!=r(t))throw TypeError("Incorrect invocation");return+t}},W7cG:function(t,e){t.exports={}},WNMA:function(t,e,n){"use strict";var r=n("FXyv"),o=n("tJVe"),i=n("cww3"),a=n("4/YM"),c=n("34wW");n("lbJE")("match",1,function(t,e,n){return[function(e){var n=i(this),r=null==e?void 0:e[t];return void 0!==r?r.call(e,n):new RegExp(e)[t](String(n))},function(t){var i=n(e,t,this);if(i.done)return i.value;var u=r(t),s=String(this);if(!u.global)return c(u,s);var f=u.unicode;u.lastIndex=0;for(var l,p=[],h=0;null!==(l=c(u,s));){var v=String(l[0]);p[h]=v,""===v&&(u.lastIndex=a(s,o(u.lastIndex),f)),h++}return 0===h?null:p}]})},"Wd/2":function(t,e,n){var r=Math.ceil,o=Math.floor;n("ax0f")({target:"Math",stat:!0},{trunc:function(t){return(t>0?o:r)(t)}})},X7ib:function(t,e,n){var r=n("hpdy");t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 0:return function(){return t.call(e)};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)}}},XZ6v:function(t,e,n){var r=n("mg+6"),o=String.fromCharCode,i=String.fromCodePoint,a=!!i&&1!=i.length;n("ax0f")({target:"String",stat:!0,forced:a},{fromCodePoint:function(t){for(var e,n=[],i=arguments.length,a=0;i>a;){if(e=+arguments[a++],r(e,1114111)!==e)throw RangeError(e+" is not a valid code point");n.push(e<65536?o(e):o(55296+((e-=65536)>>10),e%1024+56320))}return n.join("")}})},XeX2:function(t,e,n){var r=n("9JhN").navigator;t.exports=r&&r.userAgent||""},XrK5:function(t,e,n){var r=n("jl0/"),o=n("cww3");t.exports=function(t,e,n){if(r(e))throw TypeError("String.prototype."+n+" doesn't accept regex");return String(o(t))}},XygZ:function(t,e,n){"use strict";var r=n("gIHd"),o=n("qtoS")("anchor");n("ax0f")({target:"String",proto:!0,forced:o},{anchor:function(t){return r(this,"a","name",t)}})},YUzY:function(t,e,n){n("ax0f")({target:"Number",stat:!0},{EPSILON:Math.pow(2,-52)})},Ya2h:function(t,e,n){var r=n("cww3"),o="["+n("+/eK")+"]",i=RegExp("^"+o+o+"*"),a=RegExp(o+o+"*$");t.exports=function(t,e){return t=String(r(t)),1&e&&(t=t.replace(i,"")),2&e&&(t=t.replace(a,"")),t}},Ysgh:function(t,e,n){"use strict";var r=n("jl0/"),o=n("FXyv"),i=n("cww3"),a=n("Qzre"),c=n("4/YM"),u=n("tJVe"),s=n("34wW"),f=n("QsUS"),l=n("ct80"),p=[].push,h=Math.min,v=!l(function(){return!RegExp(4294967295,"y")});n("lbJE")("split",2,function(t,e,n){var l;return l="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(t,n){var o=String(i(this)),a=void 0===n?4294967295:n>>>0;if(0===a)return[];if(void 0===t)return[o];if(!r(t))return e.call(o,t,a);for(var c,u,s,l=[],h=0,v=new RegExp(t.source,(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":"")+"g");(c=f.call(v,o))&&!((u=v.lastIndex)>h&&(l.push(o.slice(h,c.index)),c.length>1&&c.index=a));)v.lastIndex===c.index&&v.lastIndex++;return h===o.length?!s&&v.test("")||l.push(""):l.push(o.slice(h)),l.length>a?l.slice(0,a):l}:"0".split(void 0,0).length?function(t,n){return void 0===t&&0===n?[]:e.call(this,t,n)}:e,[function(e,n){var r=i(this),o=null==e?void 0:e[t];return void 0!==o?o.call(e,r,n):l.call(String(r),e,n)},function(t,r){var i=n(l,t,this,r,l!==e);if(i.done)return i.value;var f=o(t),p=String(this),d=a(f,RegExp),g=f.unicode,y=new d(v?f:"^(?:"+f.source+")",(f.ignoreCase?"i":"")+(f.multiline?"m":"")+(f.unicode?"u":"")+(v?"y":"g")),m=void 0===r?4294967295:r>>>0;if(0===m)return[];if(0===p.length)return null===s(y,p)?[p]:[];for(var b=0,x=0,k=[];x9?t:"0"+t};t.exports=r(function(){return"0385-07-25T07:06:39.999Z"!=a.call(new Date(-5e13-1))})||!r(function(){a.call(new Date(NaN))})?function(){if(!isFinite(i.call(this)))throw RangeError("Invalid time value");var t=this.getUTCFullYear(),e=this.getUTCMilliseconds(),n=t<0?"-":t>9999?"+":"";return n+("00000"+Math.abs(t)).slice(n?-6:-4)+"-"+c(this.getUTCMonth()+1)+"-"+c(this.getUTCDate())+"T"+c(this.getUTCHours())+":"+c(this.getUTCMinutes())+":"+c(this.getUTCSeconds())+"."+(e>99?e:"0"+c(e))+"Z"}:a},ZUdG:function(t,e,n){"use strict";var r,o=n("9JhN"),i=n("sgPY"),a=n("4CM2"),c=n("tTPa"),u=n("dSaG"),s=n("zc29").enforce,f=n("cpcO"),l=!o.ActiveXObject&&"ActiveXObject"in o,p=Object.isExtensible,h=function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},v=t.exports=n("iu90")("WeakMap",h,c,!0,!0);if(f&&l){r=c.getConstructor(h,"WeakMap",!0),a.REQUIRED=!0;var d=v.prototype,g=d.delete,y=d.has,m=d.get,b=d.set;i(d,{delete:function(t){if(u(t)&&!p(t)){var e=s(this);return e.frozen||(e.frozen=new r),g.call(this,t)||e.frozen.delete(t)}return g.call(this,t)},has:function(t){if(u(t)&&!p(t)){var e=s(this);return e.frozen||(e.frozen=new r),y.call(this,t)||e.frozen.has(t)}return y.call(this,t)},get:function(t){if(u(t)&&!p(t)){var e=s(this);return e.frozen||(e.frozen=new r),y.call(this,t)?m.call(this,t):e.frozen.get(t)}return m.call(this,t)},set:function(t,e){if(u(t)&&!p(t)){var n=s(this);n.frozen||(n.frozen=new r),y.call(this,t)?b.call(this,t,e):n.frozen.set(t,e)}else b.call(this,t,e);return this}})}},Zd32:function(t,e,n){"use strict";var r=n("gIHd"),o=n("qtoS")("italics");n("ax0f")({target:"String",proto:!0,forced:o},{italics:function(){return r(this,"i","","")}})},ZdBB:function(t,e,n){var r=n("yRya"),o=n("sX5C").concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},amH4:function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},"aoZ+":function(t,e,n){var r=n("dSaG"),o=n("xt6W"),i=n("fVMg")("species");t.exports=function(t,e){var n;return o(t)&&("function"!=typeof(n=t.constructor)||n!==Array&&!o(n.prototype)?r(n)&&null===(n=n[i])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===e?0:e)}},aokA:function(t,e,n){var r=n("PjZX"),o=n("8aeu"),i=n("RlvI"),a=n("q9+l").f;t.exports=function(t){var e=r.Symbol||(r.Symbol={});o(e,t)||a(e,t,{value:i.f(t)})}},ax0f:function(t,e,n){var r=n("9JhN"),o=n("GFpt").f,i=n("0HP5"),a=n("uLp7"),c=n("PjRa"),u=n("tjTa"),s=n("66wQ");t.exports=function(t,e){var n,f,l,p,h,v=t.target,d=t.global,g=t.stat;if(n=d?r:g?r[v]||c(v,{}):(r[v]||{}).prototype)for(f in e){if(p=e[f],l=t.noTargetGet?(h=o(n,f))&&h.value:n[f],!s(d?f:v+(g?".":"#")+f,t.forced)&&void 0!==l){if(typeof p==typeof l)continue;u(p,l)}(t.sham||l&&l.sham)&&i(p,"sham",!0),a(n,f,p,t)}}},cARO:function(t,e,n){var r=Date.prototype,o=r.toString,i=r.getTime;new Date(NaN)+""!="Invalid Date"&&n("uLp7")(r,"toString",function(){var t=i.call(this);return t==t?o.call(this):"Invalid Date"})},cpcO:function(t,e,n){var r=n("KB94"),o=n("9JhN").WeakMap;t.exports="function"==typeof o&&/native code/.test(r.call(o))},ct5l:function(t,e,n){var r=Math.abs,o=Math.sqrt;n("ax0f")({target:"Math",stat:!0},{hypot:function(t,e){for(var n,i,a=0,c=0,u=arguments.length,s=0;c0?(i=n/s)*i:n;return s===1/0?1/0:s*o(a)}})},ct80:function(t,e){t.exports=function(t){try{return!!t()}catch(e){return!0}}},cww3:function(t,e){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},d3mY:function(t,e,n){var r=n("dSaG"),o=Object.isSealed,i=n("ct80")(function(){o(1)});n("ax0f")({target:"Object",stat:!0,forced:i},{isSealed:function(t){return!r(t)||!!o&&o(t)}})},"dLd+":function(t,e,n){var r=n("AYLx");n("ax0f")({target:"Number",stat:!0,forced:Number.parseInt!=r},{parseInt:r})},dSaG:function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},daRM:function(t,e,n){var r=n("N4z3"),o=n("GFpt").f,i=n("1Mu/"),a=n("ct80")(function(){o(1)}),c=!i||a;n("ax0f")({target:"Object",stat:!0,forced:c,sham:!i},{getOwnPropertyDescriptor:function(t,e){return o(r(t),e)}})},dgoK:function(t,e,n){n("iKE+"),n("DZ+c"),n("KqXw"),n("FtFR"),n("WNMA"),n("MvUL"),n("LJOr"),n("Ysgh")},dlmX:function(t,e,n){"use strict";var r=n("mPOS"),o=n("NVHP")("reduceRight");n("ax0f")({target:"Array",proto:!0,forced:o},{reduceRight:function(t){return r(this,t,arguments.length,arguments[1],!0)}})},e1jL:function(t,e,n){n("ax0f")({target:"Number",stat:!0},{MIN_SAFE_INTEGER:-9007199254740991})},e5Ep:function(t,e,n){"use strict";var r=n("N9G2"),o=n("CD8Q"),i=n("ct80")(function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})});n("ax0f")({target:"Date",proto:!0,forced:i},{toJSON:function(t){var e=r(this),n=o(e);return"number"!=typeof n||isFinite(n)?e.toISOString():null}})},fD9S:function(t,e,n){t.exports=!n("1Mu/")&&!n("ct80")(function(){return 7!=Object.defineProperty(n("8r/q")("div"),"a",{get:function(){return 7}}).a})},fQTQ:function(t,e,n){var r=n("N4z3"),o=n("tJVe");n("ax0f")({target:"String",stat:!0},{raw:function(t){for(var e=r(t.raw),n=o(e.length),i=arguments.length,a=[],c=0;n>c;)a.push(String(e[c++])),c>>=0)?31-r(o(t+.5)*i):32}})},"g6a+":function(t,e,n){var r=n("ct80"),o=n("amH4"),i="".split;t.exports=r(function(){return!Object("z").propertyIsEnumerable(0)})?function(t){return"String"==o(t)?i.call(t,""):Object(t)}:Object},gC6d:function(t,e,n){t.exports=!n("ct80")(function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})},gIHd:function(t,e,n){var r=n("cww3"),o=/"/g;t.exports=function(t,e,n,i){var a=String(r(t)),c="<"+e;return""!==n&&(c+=" "+n+'="'+String(i).replace(o,""")+'"'),c+">"+a+""}},guiJ:function(t,e,n){var r=n("FXyv"),o=n("uZvN"),i=n("sX5C"),a=n("kySU"),c=n("8r/q"),u=n("MyxS")("IE_PROTO"),s=function(){},f=function(){var t,e=c("iframe"),n=i.length;for(e.style.display="none",a.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write("