Software zum Installieren eines Smart-Mirror Frameworks , zum Nutzen von hochschulrelevanten Informationen, auf einem Raspberry-Pi.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

tslib.js 13KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284
  1. /*! *****************************************************************************
  2. Copyright (c) Microsoft Corporation.
  3. Permission to use, copy, modify, and/or distribute this software for any
  4. purpose with or without fee is hereby granted.
  5. THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
  6. REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
  7. AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
  8. INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
  9. LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
  10. OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
  11. PERFORMANCE OF THIS SOFTWARE.
  12. ***************************************************************************** */
  13. /* global global, define, System, Reflect, Promise */
  14. var __extends;
  15. var __assign;
  16. var __rest;
  17. var __decorate;
  18. var __param;
  19. var __metadata;
  20. var __awaiter;
  21. var __generator;
  22. var __exportStar;
  23. var __values;
  24. var __read;
  25. var __spread;
  26. var __spreadArrays;
  27. var __await;
  28. var __asyncGenerator;
  29. var __asyncDelegator;
  30. var __asyncValues;
  31. var __makeTemplateObject;
  32. var __importStar;
  33. var __importDefault;
  34. var __classPrivateFieldGet;
  35. var __classPrivateFieldSet;
  36. var __createBinding;
  37. (function (factory) {
  38. var root = typeof global === "object" ? global : typeof self === "object" ? self : typeof this === "object" ? this : {};
  39. if (typeof define === "function" && define.amd) {
  40. define("tslib", ["exports"], function (exports) { factory(createExporter(root, createExporter(exports))); });
  41. }
  42. else if (typeof module === "object" && typeof module.exports === "object") {
  43. factory(createExporter(root, createExporter(module.exports)));
  44. }
  45. else {
  46. factory(createExporter(root));
  47. }
  48. function createExporter(exports, previous) {
  49. if (exports !== root) {
  50. if (typeof Object.create === "function") {
  51. Object.defineProperty(exports, "__esModule", { value: true });
  52. }
  53. else {
  54. exports.__esModule = true;
  55. }
  56. }
  57. return function (id, v) { return exports[id] = previous ? previous(id, v) : v; };
  58. }
  59. })
  60. (function (exporter) {
  61. var extendStatics = Object.setPrototypeOf ||
  62. ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
  63. function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
  64. __extends = function (d, b) {
  65. extendStatics(d, b);
  66. function __() { this.constructor = d; }
  67. d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
  68. };
  69. __assign = Object.assign || function (t) {
  70. for (var s, i = 1, n = arguments.length; i < n; i++) {
  71. s = arguments[i];
  72. for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
  73. }
  74. return t;
  75. };
  76. __rest = function (s, e) {
  77. var t = {};
  78. for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
  79. t[p] = s[p];
  80. if (s != null && typeof Object.getOwnPropertySymbols === "function")
  81. for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
  82. if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
  83. t[p[i]] = s[p[i]];
  84. }
  85. return t;
  86. };
  87. __decorate = function (decorators, target, key, desc) {
  88. var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
  89. if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
  90. 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;
  91. return c > 3 && r && Object.defineProperty(target, key, r), r;
  92. };
  93. __param = function (paramIndex, decorator) {
  94. return function (target, key) { decorator(target, key, paramIndex); }
  95. };
  96. __metadata = function (metadataKey, metadataValue) {
  97. if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(metadataKey, metadataValue);
  98. };
  99. __awaiter = function (thisArg, _arguments, P, generator) {
  100. function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
  101. return new (P || (P = Promise))(function (resolve, reject) {
  102. function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
  103. function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
  104. function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
  105. step((generator = generator.apply(thisArg, _arguments || [])).next());
  106. });
  107. };
  108. __generator = function (thisArg, body) {
  109. var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
  110. return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
  111. function verb(n) { return function (v) { return step([n, v]); }; }
  112. function step(op) {
  113. if (f) throw new TypeError("Generator is already executing.");
  114. while (_) try {
  115. if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
  116. if (y = 0, t) op = [op[0] & 2, t.value];
  117. switch (op[0]) {
  118. case 0: case 1: t = op; break;
  119. case 4: _.label++; return { value: op[1], done: false };
  120. case 5: _.label++; y = op[1]; op = [0]; continue;
  121. case 7: op = _.ops.pop(); _.trys.pop(); continue;
  122. default:
  123. if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
  124. if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
  125. if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
  126. if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
  127. if (t[2]) _.ops.pop();
  128. _.trys.pop(); continue;
  129. }
  130. op = body.call(thisArg, _);
  131. } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
  132. if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
  133. }
  134. };
  135. __createBinding = function(o, m, k, k2) {
  136. if (k2 === undefined) k2 = k;
  137. o[k2] = m[k];
  138. };
  139. __exportStar = function (m, exports) {
  140. for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) exports[p] = m[p];
  141. };
  142. __values = function (o) {
  143. var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
  144. if (m) return m.call(o);
  145. if (o && typeof o.length === "number") return {
  146. next: function () {
  147. if (o && i >= o.length) o = void 0;
  148. return { value: o && o[i++], done: !o };
  149. }
  150. };
  151. throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
  152. };
  153. __read = function (o, n) {
  154. var m = typeof Symbol === "function" && o[Symbol.iterator];
  155. if (!m) return o;
  156. var i = m.call(o), r, ar = [], e;
  157. try {
  158. while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
  159. }
  160. catch (error) { e = { error: error }; }
  161. finally {
  162. try {
  163. if (r && !r.done && (m = i["return"])) m.call(i);
  164. }
  165. finally { if (e) throw e.error; }
  166. }
  167. return ar;
  168. };
  169. __spread = function () {
  170. for (var ar = [], i = 0; i < arguments.length; i++)
  171. ar = ar.concat(__read(arguments[i]));
  172. return ar;
  173. };
  174. __spreadArrays = function () {
  175. for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;
  176. for (var r = Array(s), k = 0, i = 0; i < il; i++)
  177. for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
  178. r[k] = a[j];
  179. return r;
  180. };
  181. __await = function (v) {
  182. return this instanceof __await ? (this.v = v, this) : new __await(v);
  183. };
  184. __asyncGenerator = function (thisArg, _arguments, generator) {
  185. if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
  186. var g = generator.apply(thisArg, _arguments || []), i, q = [];
  187. return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
  188. function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
  189. function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }
  190. function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
  191. function fulfill(value) { resume("next", value); }
  192. function reject(value) { resume("throw", value); }
  193. function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }
  194. };
  195. __asyncDelegator = function (o) {
  196. var i, p;
  197. return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
  198. function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === "return" } : f ? f(v) : v; } : f; }
  199. };
  200. __asyncValues = function (o) {
  201. if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
  202. var m = o[Symbol.asyncIterator], i;
  203. return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i);
  204. function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }
  205. function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }
  206. };
  207. __makeTemplateObject = function (cooked, raw) {
  208. if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
  209. return cooked;
  210. };
  211. __importStar = function (mod) {
  212. if (mod && mod.__esModule) return mod;
  213. var result = {};
  214. if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];
  215. result["default"] = mod;
  216. return result;
  217. };
  218. __importDefault = function (mod) {
  219. return (mod && mod.__esModule) ? mod : { "default": mod };
  220. };
  221. __classPrivateFieldGet = function (receiver, privateMap) {
  222. if (!privateMap.has(receiver)) {
  223. throw new TypeError("attempted to get private field on non-instance");
  224. }
  225. return privateMap.get(receiver);
  226. };
  227. __classPrivateFieldSet = function (receiver, privateMap, value) {
  228. if (!privateMap.has(receiver)) {
  229. throw new TypeError("attempted to set private field on non-instance");
  230. }
  231. privateMap.set(receiver, value);
  232. return value;
  233. };
  234. exporter("__extends", __extends);
  235. exporter("__assign", __assign);
  236. exporter("__rest", __rest);
  237. exporter("__decorate", __decorate);
  238. exporter("__param", __param);
  239. exporter("__metadata", __metadata);
  240. exporter("__awaiter", __awaiter);
  241. exporter("__generator", __generator);
  242. exporter("__exportStar", __exportStar);
  243. exporter("__createBinding", __createBinding);
  244. exporter("__values", __values);
  245. exporter("__read", __read);
  246. exporter("__spread", __spread);
  247. exporter("__spreadArrays", __spreadArrays);
  248. exporter("__await", __await);
  249. exporter("__asyncGenerator", __asyncGenerator);
  250. exporter("__asyncDelegator", __asyncDelegator);
  251. exporter("__asyncValues", __asyncValues);
  252. exporter("__makeTemplateObject", __makeTemplateObject);
  253. exporter("__importStar", __importStar);
  254. exporter("__importDefault", __importDefault);
  255. exporter("__classPrivateFieldGet", __classPrivateFieldGet);
  256. exporter("__classPrivateFieldSet", __classPrivateFieldSet);
  257. });