1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 |
|
9 |
|
10 |
|
11 |
|
12 |
|
13 |
|
14 |
|
15 |
|
16 | var __extends;
|
17 | var __assign;
|
18 | var __decorate;
|
19 | var __param;
|
20 | var __metadata;
|
21 | var __awaiter;
|
22 | (function (factory) {
|
23 | var root = typeof global === "object" ? global : typeof self === "object" ? self : typeof this === "object" ? this : {};
|
24 | if (typeof System === "object" && typeof System.register === "function") {
|
25 | System.register("tslib", [], function (exporter) {
|
26 | factory(createExporter(root, exporter));
|
27 | return { setters: [], execute: function() { } };
|
28 | });
|
29 | }
|
30 | else if (typeof define === "function" && define.amd) {
|
31 | define("tslib", ["exports"], function (exports) { factory(createExporter(root, createExporter(exports))); });
|
32 | }
|
33 | else if (typeof module === "object" && typeof module.exports === "object") {
|
34 | factory(createExporter(root, createExporter(module.exports)));
|
35 | }
|
36 | else {
|
37 | factory(createExporter(root));
|
38 | }
|
39 |
|
40 | function createExporter(exports, previous) {
|
41 | return function (id, v) { return exports[id] = previous ? previous(id, v) : v; };
|
42 | }
|
43 | })
|
44 | (function (exporter) {
|
45 | __extends = function (d, b) {
|
46 | for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
|
47 | function __() { this.constructor = d; }
|
48 | d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
49 | };
|
50 |
|
51 | __assign = Object.assign || function (t) {
|
52 | for (var s, i = 1, n = arguments.length; i < n; i++) {
|
53 | s = arguments[i];
|
54 | for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
55 | }
|
56 | return t;
|
57 | };
|
58 |
|
59 | __decorate = function (decorators, target, key, desc) {
|
60 | var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
61 | if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
62 | else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
63 | return c > 3 && r && Object.defineProperty(target, key, r), r;
|
64 | };
|
65 |
|
66 | __param = function (paramIndex, decorator) {
|
67 | return function (target, key) { decorator(target, key, paramIndex); }
|
68 | };
|
69 |
|
70 | __metadata = function (metadataKey, metadataValue) {
|
71 | if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(metadataKey, metadataValue);
|
72 | };
|
73 |
|
74 | __awaiter = function (thisArg, _arguments, P, generator) {
|
75 | return new (P || (P = Promise))(function (resolve, reject) {
|
76 | function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
77 | function rejected(value) { try { step(generator.throw(value)); } catch (e) { reject(e); } }
|
78 | function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }
|
79 | step((generator = generator.apply(thisArg, _arguments)).next());
|
80 | });
|
81 | };
|
82 |
|
83 | exporter("__extends", __extends);
|
84 | exporter("__assign", __assign);
|
85 | exporter("__decorate", __decorate);
|
86 | exporter("__param", __param);
|
87 | exporter("__metadata", __metadata);
|
88 | exporter("__awaiter", __awaiter);
|
89 | }); |
\ | No newline at end of file |