@iobroker/js-controller-common 7.0.2 → 7.0.4-alpha.0-20241116-db3148f4f

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (31) hide show
  1. package/build/cjs/index.js +7 -1
  2. package/build/cjs/index.js.map +2 -2
  3. package/build/cjs/lib/common/notificationHandler.d.ts +0 -2
  4. package/build/cjs/lib/common/notificationHandler.js +57 -0
  5. package/build/cjs/lib/common/notificationHandler.js.map +1 -1
  6. package/build/cjs/lib/common/objects.d.ts +0 -1
  7. package/build/cjs/lib/common/objects.js +4 -0
  8. package/build/cjs/lib/common/objects.js.map +1 -1
  9. package/build/cjs/lib/common/states.d.ts +0 -1
  10. package/build/cjs/lib/common/states.js +4 -0
  11. package/build/cjs/lib/common/states.js.map +1 -1
  12. package/build/cjs/lib/common/tools.d.ts +0 -2
  13. package/build/cjs/lib/common/tools.js.map +1 -1
  14. package/build/cjs/lib/common/zipFiles.d.ts +0 -1
  15. package/build/cjs/lib/common/zipFiles.js +5 -1
  16. package/build/cjs/lib/common/zipFiles.js.map +1 -1
  17. package/build/esm/index.d.ts.map +1 -1
  18. package/build/esm/index.js +1 -0
  19. package/build/esm/index.js.map +1 -1
  20. package/build/esm/lib/common/notificationHandler.d.ts +0 -2
  21. package/build/esm/lib/common/notificationHandler.d.ts.map +1 -1
  22. package/build/esm/lib/common/objects.d.ts +0 -1
  23. package/build/esm/lib/common/objects.d.ts.map +1 -1
  24. package/build/esm/lib/common/states.d.ts +0 -1
  25. package/build/esm/lib/common/states.d.ts.map +1 -1
  26. package/build/esm/lib/common/tools.d.ts +0 -2
  27. package/build/esm/lib/common/tools.d.ts.map +1 -1
  28. package/build/esm/lib/common/zipFiles.d.ts +0 -1
  29. package/build/esm/lib/common/zipFiles.d.ts.map +1 -1
  30. package/build/tsconfig.build.tsbuildinfo +1 -1
  31. package/package.json +9 -9
@@ -19,6 +19,10 @@ var __copyProps = (to, from, except, desc) => {
19
19
  };
20
20
  var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
21
21
  var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
22
+ // If the importer is in node compatibility mode or this is not an ESM
23
+ // file that has been converted to a CommonJS file using a Babel-
24
+ // compatible transform (i.e. "__esModule" has not been set), then set
25
+ // "default" to the CommonJS "module.exports" for node compatibility.
22
26
  isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
23
27
  mod
24
28
  ));
@@ -57,6 +61,8 @@ const letsencrypt = true;
57
61
  performObjectsInterview,
58
62
  performStatesInterview,
59
63
  statesDbHasServer,
60
- zipFiles
64
+ zipFiles,
65
+ ...require("./lib/common/tools.js"),
66
+ ...require("@iobroker/js-controller-common-db")
61
67
  });
62
68
  //# sourceMappingURL=index.js.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/index.ts"],
4
- "sourcesContent": ["export {\n getStatesConstructor,\n statesDbHasServer,\n isLocalStatesDbServer,\n performStatesInterview,\n} from '@/lib/common/states.js';\nexport {\n getObjectsConstructor,\n objectsDbHasServer,\n isLocalObjectsDbServer,\n performObjectsInterview,\n} from '@/lib/common/objects.js';\nexport { NotificationHandler } from '@/lib/common/notificationHandler.js';\nexport * as zipFiles from '@/lib/common/zipFiles.js';\nexport * from '@/lib/common/tools.js';\nexport * from '@iobroker/js-controller-common-db';\n\n/** Shim until all adapters are using adapter-core 3.1.4 or higher */\nexport const letsencrypt = true;\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;;;;;;;;;;;;;;oBAKO;AACP,qBAKO;AACP,iCAAoC;AACpC,eAA0B;AAC1B,wBAAc,kCAdd;AAeA,wBAAc,8CAfd;AAkBO,MAAM,cAAc;",
4
+ "sourcesContent": ["/// <reference types=\"@iobroker/types-dev\" />\nexport {\n getStatesConstructor,\n statesDbHasServer,\n isLocalStatesDbServer,\n performStatesInterview,\n} from '@/lib/common/states.js';\nexport {\n getObjectsConstructor,\n objectsDbHasServer,\n isLocalObjectsDbServer,\n performObjectsInterview,\n} from '@/lib/common/objects.js';\nexport { NotificationHandler } from '@/lib/common/notificationHandler.js';\nexport * as zipFiles from '@/lib/common/zipFiles.js';\nexport * from '@/lib/common/tools.js';\nexport * from '@iobroker/js-controller-common-db';\n\n/** Shim until all adapters are using adapter-core 3.1.4 or higher */\nexport const letsencrypt = true;\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;;;;;;;;;;;;;;AACA,oBAKO;AACP,qBAKO;AACP,iCAAoC;AACpC,eAA0B;AAC1B,wBAAc,kCAfd;AAgBA,wBAAc,8CAhBd;AAmBO,MAAM,cAAc;",
6
6
  "names": []
7
7
  }
@@ -3,8 +3,6 @@
3
3
  *
4
4
  * 2021-2024 foxriver76 <moritz.heusinger@gmail.com>
5
5
  */
6
- /// <reference types="node" resolution-mode="require"/>
7
- /// <reference types="@iobroker/types-dev" />
8
6
  import type { Client as StatesInRedisClient } from '@iobroker/db-states-redis';
9
7
  import type { Client as ObjectsInRedisClient } from '@iobroker/db-objects-redis';
10
8
  import type Winston from 'winston';
@@ -18,6 +18,10 @@ var __copyProps = (to, from, except, desc) => {
18
18
  return to;
19
19
  };
20
20
  var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
21
+ // If the importer is in node compatibility mode or this is not an ESM
22
+ // file that has been converted to a CommonJS file using a Babel-
23
+ // compatible transform (i.e. "__esModule" has not been set), then set
24
+ // "default" to the CommonJS "module.exports" for node compatibility.
21
25
  isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
22
26
  mod
23
27
  ));
@@ -35,10 +39,16 @@ class NotificationHandler {
35
39
  objects;
36
40
  log;
37
41
  currentNotifications = {};
42
+ // default data dir is relative to controllerDir
38
43
  dataDir = import_node_path.default.join(import_js_controller_common_db.tools.getControllerDir(), import_js_controller_common_db.tools.getDefaultDataDir());
39
44
  setup = {};
40
45
  logPrefix;
41
46
  host;
47
+ /**
48
+ * Creates a new instance of the notification handler class
49
+ *
50
+ * @param settings settings to configure the handler instance
51
+ */
42
52
  constructor(settings) {
43
53
  this.states = settings.states;
44
54
  this.objects = settings.objects;
@@ -47,6 +57,9 @@ class NotificationHandler {
47
57
  this.host = settings.host;
48
58
  this._loadNotifications();
49
59
  }
60
+ /**
61
+ * Get all adapter instances on this host and store their notifications config - and clears up removed instances notifications - should be called once after init
62
+ */
50
63
  async getSetupOfAllAdaptersFromHost() {
51
64
  let obj;
52
65
  try {
@@ -107,6 +120,11 @@ class NotificationHandler {
107
120
  }
108
121
  await this._updateScopeStates();
109
122
  }
123
+ /**
124
+ * Add a new category to the given scope with a provided optional list of regex
125
+ *
126
+ * @param notifications - Array with notifications
127
+ */
110
128
  async addConfig(notifications) {
111
129
  if (Array.isArray(notifications)) {
112
130
  for (const scopeObj of notifications) {
@@ -167,6 +185,11 @@ class NotificationHandler {
167
185
  }
168
186
  }
169
187
  }
188
+ /**
189
+ * Add a message to the scope and category
190
+ *
191
+ * @param options The scope, category, message, instance and contextData information
192
+ */
170
193
  async addMessage(options) {
171
194
  const { message, scope, category, contextData } = options;
172
195
  let { instance } = options;
@@ -223,6 +246,9 @@ class NotificationHandler {
223
246
  this.log.error(`${this.logPrefix} Could not set notifications state for scope "${scope}": ${e.message}`);
224
247
  }
225
248
  }
249
+ /**
250
+ * Updates all scope states by current notifications in RAM
251
+ */
226
252
  async _updateScopeStates() {
227
253
  for (const [scope, scopeObj] of Object.entries(this.currentNotifications)) {
228
254
  const stateVal = {};
@@ -240,6 +266,12 @@ class NotificationHandler {
240
266
  }
241
267
  }
242
268
  }
269
+ /**
270
+ * Check the given message against all regular expressions of the given scope
271
+ *
272
+ * @param scope - scope of the message
273
+ * @param message - message to check
274
+ */
243
275
  _parseText(scope, message) {
244
276
  const categories = [];
245
277
  const scopeObj = this.setup[scope];
@@ -256,6 +288,9 @@ class NotificationHandler {
256
288
  }
257
289
  return categories;
258
290
  }
291
+ /**
292
+ * Load notifications from a file
293
+ */
259
294
  _loadNotifications() {
260
295
  try {
261
296
  this.currentNotifications = import_fs_extra.default.readJSONSync(import_node_path.default.join(this.dataDir, "notifications.json"));
@@ -263,6 +298,9 @@ class NotificationHandler {
263
298
  this.log.debug(`${this.logPrefix} Could not read notifications.json: ${e.message}`);
264
299
  }
265
300
  }
301
+ /**
302
+ * Save current notifications to file
303
+ */
266
304
  storeNotifications() {
267
305
  try {
268
306
  import_fs_extra.default.writeJSONSync(import_node_path.default.join(this.dataDir, "notifications.json"), this.currentNotifications);
@@ -270,6 +308,13 @@ class NotificationHandler {
270
308
  this.log.error(`${this.logPrefix} Could not write notifications.json: ${e.message}`);
271
309
  }
272
310
  }
311
+ /**
312
+ * Returns the stored notifications matching the filters with description and name
313
+ *
314
+ * @param scopeFilter - scope of notifications
315
+ * @param categoryFilter - category of notifications
316
+ * @param instanceFilter - instance of notifications
317
+ */
273
318
  getFilteredInformation(scopeFilter, categoryFilter, instanceFilter) {
274
319
  const res = {};
275
320
  for (const [scope, currentNotification] of Object.entries(this.currentNotifications)) {
@@ -313,6 +358,13 @@ class NotificationHandler {
313
358
  }
314
359
  return res;
315
360
  }
361
+ /**
362
+ * Clears the stored notifications matching the filters
363
+ *
364
+ * @param scopeFilter - scope of notifications
365
+ * @param categoryFilter - category of notifications
366
+ * @param instanceFilter - instance of notifications
367
+ */
316
368
  async clearNotifications(scopeFilter, categoryFilter, instanceFilter) {
317
369
  for (const scope of Object.keys(this.currentNotifications)) {
318
370
  const currentNotificationScope = this.currentNotifications[scope];
@@ -361,6 +413,11 @@ class NotificationHandler {
361
413
  }
362
414
  }
363
415
  }
416
+ /**
417
+ * Check if given scope exists in config
418
+ *
419
+ * @param scope - scope to be checked for
420
+ */
364
421
  scopeExists(scope) {
365
422
  return !!this.setup[scope];
366
423
  }
@@ -2,6 +2,6 @@
2
2
  "version": 3,
3
3
  "sources": ["../../../../src/lib/common/notificationHandler.ts"],
4
4
  "sourcesContent": ["/**\n * Notification handler class\n *\n * 2021-2024 foxriver76 <moritz.heusinger@gmail.com>\n */\n\nimport fs from 'fs-extra';\nimport { tools } from '@iobroker/js-controller-common-db';\nimport path from 'node:path';\nimport type { Client as StatesInRedisClient } from '@iobroker/db-states-redis';\nimport type { Client as ObjectsInRedisClient } from '@iobroker/db-objects-redis';\nimport type Winston from 'winston';\n\ntype MultilingualObject = Exclude<ioBroker.StringOrTranslated, string>;\n\n/** Settings to configure an instance of NotificationHandler */\nexport interface NotificationHandlerSettings {\n /** Name of the host (not id - hence, without `system.host.` prefix) */\n host: string;\n /** States DB instance */\n states: StatesInRedisClient;\n /** Objects DB instance */\n objects: ObjectsInRedisClient;\n /** Logger instance */\n log: Winston.Logger | Console;\n /** Prefix for the log messages */\n logPrefix: string;\n}\n\n/** A notification config entry represents the top level of the notification structure */\nexport interface NotificationsConfigEntry {\n /** e.g. system */\n scope: string;\n /** multilingual name */\n name: MultilingualObject;\n /** multilingual description */\n description: MultilingualObject;\n /** The notification categories inside this scope */\n categories: CategoryConfigEntry[];\n}\n\nexport type Severity = 'info' | 'notify' | 'alert';\n\n/** A notification category entry represents one of the categories of a scope */\nexport interface CategoryConfigEntry {\n /** Id of the category */\n category: string;\n /** Name of the category */\n name: MultilingualObject;\n /** Allows defining the severity of the notification with `info` being the lowest, `notify` representing middle priority, `alert` representing high priority and often containing critical information */\n severity: Severity;\n /** Description of the category */\n description: MultilingualObject;\n /** Regex where `console.error` output is parsed against to check if a notification of this category should be generated */\n regex: string[];\n /** Restrict the maximum number of messages for this category */\n limit: number;\n}\n\ninterface NotificationMessageObject {\n message: string;\n ts: number;\n contextData?: ioBroker.NotificationContextData;\n}\n\ninterface NotificationsCategory {\n [category: string]: {\n [instance: string]: NotificationMessageObject[];\n };\n}\n\ninterface NotificationsObject {\n [scope: string]: NotificationsCategory;\n}\n\ninterface FilteredNotificationCategory {\n description: MultilingualObject;\n name: MultilingualObject;\n severity: Severity;\n instances: {\n [instance: string]: {\n messages: NotificationMessageObject[];\n };\n };\n}\n\ninterface FilteredNotificationScope {\n description: MultilingualObject;\n name: MultilingualObject;\n categories: {\n [category: string]: FilteredNotificationCategory;\n };\n}\n\n/** The filtered information as a response for `getFilteredInformation` */\nexport interface FilteredNotificationInformation {\n [scope: string]: FilteredNotificationScope;\n}\n\ninterface NotificationSetupCategory {\n regex: RegExp[];\n limit: number;\n name: MultilingualObject;\n severity: Severity;\n description: MultilingualObject;\n}\n\ninterface NotificationSetupObject {\n [scope: string]: {\n name: MultilingualObject;\n description: MultilingualObject;\n categories: {\n [category: string]: NotificationSetupCategory;\n };\n };\n}\n\ninterface ScopeStateValue {\n [category: string]: {\n count: number;\n };\n}\n\ninterface AddMessageOptions {\n /** Scope of the message */\n scope: string;\n /** Category of the message, if non we check against regex of scope */\n category?: string | null;\n /** Message to add */\n message: string;\n /** Instance e.g., hm-rpc.1 or hostname, if hostname it needs to be prefixed like system.host.rpi */\n instance: string;\n /** Additional context for the notification which can be used by notification processing adapters */\n contextData?: ioBroker.NotificationContextData;\n}\n\n/**\n * The Notification handler class provides an interface to manage the ioBroker notification system\n */\nexport class NotificationHandler {\n private states: StatesInRedisClient;\n private objects: ObjectsInRedisClient;\n private log: Winston.Logger | Console;\n private currentNotifications: NotificationsObject = {};\n // default data dir is relative to controllerDir\n private readonly dataDir = path.join(tools.getControllerDir(), tools.getDefaultDataDir());\n private readonly setup: NotificationSetupObject = {};\n private readonly logPrefix: string;\n private readonly host: string;\n\n /**\n * Creates a new instance of the notification handler class\n *\n * @param settings settings to configure the handler instance\n */\n constructor(settings: NotificationHandlerSettings) {\n this.states = settings.states;\n this.objects = settings.objects;\n this.log = settings.log;\n this.logPrefix = settings.logPrefix;\n this.host = settings.host;\n\n // load notifications file\n this._loadNotifications();\n }\n\n /**\n * Get all adapter instances on this host and store their notifications config - and clears up removed instances notifications - should be called once after init\n */\n async getSetupOfAllAdaptersFromHost(): Promise<void> {\n // create the initial notifications object\n let obj;\n try {\n obj = await this.objects.getObject(`system.host.${this.host}.notifications`);\n } catch {\n // ignore\n }\n\n if (!obj) {\n try {\n await this.objects.setObject(`system.host.${this.host}.notifications`, {\n type: 'folder',\n common: {\n name: {\n en: 'Notifications',\n de: 'Benachrichtigungen',\n ru: '\u0423\u0432\u0435\u0434\u043E\u043C\u043B\u0435\u043D\u0438\u044F',\n pt: 'Notifica\u00E7\u00F5es',\n nl: 'Meldingen',\n fr: 'Notifications',\n it: 'Notifiche',\n es: 'Notificaciones',\n pl: 'Powiadomienia',\n uk: '\u0421\u043F\u043E\u0432\u0456\u0449\u0435\u043D\u043D\u044F',\n 'zh-cn': '\u901A\u77E5\u4E8B\u9879',\n },\n },\n native: {},\n });\n } catch (e) {\n this.log.error(`${this.logPrefix} Could not create notifications object: ${e.message}`);\n }\n }\n\n const instancesOnHost = [];\n // get all instances\n try {\n const res = await this.objects.getObjectViewAsync('system', 'instance', {\n startkey: 'system.adapter.',\n endkey: 'system.adapter.\\u9999',\n });\n\n for (const entry of res.rows) {\n // check that instance has notification settings\n if (entry.value.notifications) {\n await this.addConfig(entry.value.notifications);\n }\n\n if (entry.value.common && entry.value.common.host === this.host) {\n // if it's on our current host\n instancesOnHost.push(entry.id);\n }\n }\n } catch (e) {\n throw new Error(`Could not get notifications setup from instances: ${e.message}`);\n }\n\n // now clear up all notifications that do not belong to our host anymore\n for (const notificationsCategory of Object.values(this.currentNotifications)) {\n for (const instancesInfo of Object.values(notificationsCategory)) {\n for (const instance of Object.keys(instancesInfo)) {\n if (!instancesOnHost.includes(instance) && instance !== `system.host.${this.host}`) {\n // instance no longer on host\n this.log.info(`${this.logPrefix} Instance ${instance} removed from host, clear notifications`);\n await this.clearNotifications(null, null, instance);\n }\n }\n }\n }\n\n // now sync RAM with state\n await this._updateScopeStates();\n }\n\n /**\n * Add a new category to the given scope with a provided optional list of regex\n *\n * @param notifications - Array with notifications\n */\n async addConfig(notifications: NotificationsConfigEntry[]): Promise<void> {\n // if valid attributes, store it\n if (Array.isArray(notifications)) {\n for (const scopeObj of notifications) {\n // create the state object for each scope if non-existing\n let obj;\n try {\n obj = await this.objects.getObject(`system.host.${this.host}.notifications.${scopeObj.scope}`);\n } catch {\n // ignore\n }\n\n if (!obj) {\n try {\n await this.objects.setObject(`system.host.${this.host}.notifications.${scopeObj.scope}`, {\n type: 'state',\n common: {\n type: 'object',\n role: 'value',\n read: true,\n write: false,\n name: scopeObj.name,\n desc: scopeObj.description,\n },\n native: {},\n });\n } catch (e) {\n this.log.error(\n `${this.logPrefix} Could not create notifications object for scope \"${scopeObj.scope}\": ${e.message}`,\n );\n }\n }\n\n if (Array.isArray(scopeObj.categories) && scopeObj.categories.length) {\n const setupScope = this.setup[scopeObj.scope] || {\n name: scopeObj.name,\n description: scopeObj.description,\n categories: {},\n };\n\n // only if scope has at least one category\n this.setup[scopeObj.scope] = setupScope;\n\n for (const categoryObj of scopeObj.categories) {\n const setupCategory = setupScope.categories[categoryObj.category] || {\n regex: [],\n limit: categoryObj.limit,\n name: categoryObj.name,\n severity: categoryObj.severity,\n description: categoryObj.description,\n };\n setupScope.categories[categoryObj.category] = setupCategory;\n\n try {\n let regex: RegExp[] = [];\n if (Array.isArray(categoryObj.regex)) {\n for (const regexString of categoryObj.regex) {\n regex.push(new RegExp(regexString));\n }\n } else if (typeof categoryObj.regex === 'string') {\n // if someone passes a string, convert to a single entry array\n regex = [new RegExp(categoryObj.regex)];\n }\n\n setupCategory.regex = regex;\n } catch (e) {\n this.log.error(\n `${this.logPrefix} Cannot store regex \"${JSON.stringify(categoryObj.regex)}\" for scope \"${\n scopeObj.scope\n }\", category \"${categoryObj.category}\": ${e.message}`,\n );\n }\n }\n }\n }\n }\n }\n\n /**\n * Add a message to the scope and category\n *\n * @param options The scope, category, message, instance and contextData information\n */\n async addMessage(options: AddMessageOptions): Promise<void> {\n const { message, scope, category, contextData } = options;\n let { instance } = options;\n\n if (typeof instance !== 'string') {\n this.log.error(\n `${this.logPrefix} [addMessage] Instance has to be of type \"string\", got \"${typeof instance}\"`,\n );\n return;\n }\n\n if (!instance.startsWith('system.adapter.') && !instance.startsWith('system.host.')) {\n instance = `system.adapter.${instance}`;\n }\n\n // get state of the scope\n let stateVal: ScopeStateValue = {};\n try {\n const state = await this.states.getStateAsync(`system.host.${this.host}.notifications.${scope}`);\n stateVal = state?.val ? JSON.parse(state.val as string) : {};\n } catch (e) {\n this.log.error(`${this.logPrefix} Could not get state for scope \"${scope}\": ${e.message}`);\n }\n\n let categories = [category];\n\n if (!category) {\n // check regex - in parse text we can have multiple matches\n categories = this._parseText(scope, message);\n }\n\n const currentScopeObj = this.currentNotifications[scope] || {};\n this.currentNotifications[scope] = currentScopeObj;\n\n for (const _category of categories) {\n if (!_category) {\n continue;\n }\n\n const currentCategoryObj = currentScopeObj[_category] || {};\n currentScopeObj[_category] = currentCategoryObj;\n\n // array of all messages for instance/category\n const currentInstances = currentCategoryObj[instance] || [];\n currentCategoryObj[instance] = currentInstances;\n\n const setupCategory = this.setup[scope]?.categories[_category];\n\n if (!setupCategory) {\n // no setup for this instance/category combination found - so we have nothing to add\n this.log.warn(\n `${this.logPrefix} No configuration found for scope \"${scope}\" and category \"${_category}\"`,\n );\n continue;\n }\n\n // if limit exceeded, remove last element - use while if it somehow grew too big\n while (setupCategory.limit < currentInstances.length + 1) {\n currentInstances.pop();\n }\n\n // add a new element at the beginning\n currentInstances.unshift({ message, ts: Date.now(), contextData });\n }\n\n // now count all messages of this scope - if nothing matched it can be undefined, and we can skip\n if (tools.isObject(this.currentNotifications[scope])) {\n for (const [categoryName, category] of Object.entries(currentScopeObj)) {\n const categoryCounter = Object.keys(category).length;\n\n stateVal[categoryName] = { count: categoryCounter };\n }\n }\n\n // set updated scope state\n try {\n await this.states.setState(`system.host.${this.host}.notifications.${scope}`, {\n val: JSON.stringify(stateVal),\n ack: true,\n });\n } catch (e) {\n this.log.error(`${this.logPrefix} Could not set notifications state for scope \"${scope}\": ${e.message}`);\n }\n }\n\n /**\n * Updates all scope states by current notifications in RAM\n */\n private async _updateScopeStates(): Promise<void> {\n for (const [scope, scopeObj] of Object.entries(this.currentNotifications)) {\n const stateVal: ScopeStateValue = {};\n\n for (const [category, categoryObj] of Object.entries(scopeObj)) {\n // count the number of instances with this error\n const catCounter = Object.keys(categoryObj).length;\n stateVal[category] = { count: catCounter };\n }\n\n // set updated scope state\n try {\n await this.states.setState(`system.host.${this.host}.notifications.${scope}`, {\n val: JSON.stringify(stateVal),\n ack: true,\n });\n } catch (e) {\n this.log.error(\n `${this.logPrefix} Could not set notifications state for scope \"${scope}\": ${e.message}`,\n );\n }\n }\n }\n\n /**\n * Check the given message against all regular expressions of the given scope\n *\n * @param scope - scope of the message\n * @param message - message to check\n */\n private _parseText(scope: string, message: string): string[] {\n const categories: string[] = [];\n\n const scopeObj = this.setup[scope];\n\n if (!scopeObj) {\n return categories;\n }\n\n for (const [categoryId, categoryObj] of Object.entries(scopeObj.categories)) {\n // check all regular expressions for this category\n for (const regex of categoryObj.regex) {\n if (regex.test(message)) {\n // matching category\n categories.push(categoryId);\n // no further testing needed for this category\n break;\n }\n }\n }\n\n return categories;\n }\n\n /**\n * Load notifications from a file\n */\n private _loadNotifications(): void {\n try {\n this.currentNotifications = fs.readJSONSync(path.join(this.dataDir, 'notifications.json'));\n } catch (e) {\n // at first start its normal, that we cannot read notifications, so just info\n this.log.debug(`${this.logPrefix} Could not read notifications.json: ${e.message}`);\n }\n }\n\n /**\n * Save current notifications to file\n */\n storeNotifications(): void {\n try {\n fs.writeJSONSync(path.join(this.dataDir, 'notifications.json'), this.currentNotifications);\n } catch (e) {\n this.log.error(`${this.logPrefix} Could not write notifications.json: ${e.message}`);\n }\n }\n\n /**\n * Returns the stored notifications matching the filters with description and name\n *\n * @param scopeFilter - scope of notifications\n * @param categoryFilter - category of notifications\n * @param instanceFilter - instance of notifications\n */\n getFilteredInformation(\n scopeFilter: string | null | undefined,\n categoryFilter: string | null | undefined,\n instanceFilter: string | null | undefined,\n ): FilteredNotificationInformation {\n const res: FilteredNotificationInformation = {};\n for (const [scope, currentNotification] of Object.entries(this.currentNotifications)) {\n if (scopeFilter && scopeFilter !== scope) {\n // scope filtered out\n continue;\n }\n\n const scopeObj = this.setup[scope];\n\n if (!scopeObj) {\n // no scope set up\n continue;\n }\n\n const scopeResult: FilteredNotificationScope = {\n categories: {},\n description: scopeObj.description,\n name: scopeObj.name,\n };\n\n res[scope] = scopeResult;\n\n for (const [category, currentCategoryObj] of Object.entries(currentNotification)) {\n if (categoryFilter && categoryFilter !== category) {\n // category filtered out\n continue;\n }\n\n const categoryObj = scopeObj.categories[category];\n\n if (!categoryObj) {\n // no category set up\n continue;\n }\n\n const resultCategories: FilteredNotificationCategory = {\n instances: {},\n description: categoryObj.description,\n name: categoryObj.name,\n severity: categoryObj.severity,\n };\n\n scopeResult.categories[category] = resultCategories;\n\n for (const [instance, instanceObj] of Object.entries(currentCategoryObj)) {\n if (instanceFilter && instanceFilter !== instance) {\n // instance filtered out\n continue;\n }\n\n resultCategories.instances[instance] = {\n messages: instanceObj,\n };\n }\n }\n }\n return res;\n }\n\n /**\n * Clears the stored notifications matching the filters\n *\n * @param scopeFilter - scope of notifications\n * @param categoryFilter - category of notifications\n * @param instanceFilter - instance of notifications\n */\n async clearNotifications(\n scopeFilter: string | null | undefined,\n categoryFilter: string | null | undefined,\n instanceFilter: string | null | undefined,\n ): Promise<void> {\n for (const scope of Object.keys(this.currentNotifications)) {\n const currentNotificationScope = this.currentNotifications[scope];\n\n if (!currentNotificationScope) {\n delete this.currentNotifications[scope];\n continue;\n }\n if (scopeFilter && scopeFilter !== scope) {\n // skip this, because not desired to be deleted\n continue;\n }\n\n let stateVal: ScopeStateValue = {};\n try {\n const state = await this.states.getStateAsync(`system.host.${this.host}.notifications.${scope}`);\n stateVal = state && state.val ? JSON.parse(state.val as string) : {};\n } catch (e) {\n this.log.error(`${this.logPrefix} Could not get state for scope \"${scope}\": ${e.message}`);\n }\n\n for (const [category, categoryObj] of Object.entries(currentNotificationScope)) {\n if (categoryFilter && categoryFilter !== category) {\n // category filtered out\n continue;\n }\n\n let categoryCounter = 0;\n for (const instance of Object.keys(categoryObj)) {\n if (instanceFilter && instanceFilter !== instance) {\n // instance filtered out - message counter remains\n categoryCounter += 1;\n continue;\n }\n\n // not filtered out -> remove\n delete categoryObj[instance];\n }\n\n stateVal[category] = { count: categoryCounter };\n\n // check if all instances of this category deleted\n if (!Object.keys(categoryObj).length) {\n delete currentNotificationScope[category];\n delete stateVal[category];\n }\n }\n\n // check if all categories of this scope deleted\n if (!Object.keys(currentNotificationScope).length) {\n delete this.currentNotifications[scope];\n }\n\n // set updated state\n try {\n await this.states.setState(`system.host.${this.host}.notifications.${scope}`, {\n val: JSON.stringify(stateVal),\n ack: true,\n });\n } catch (e) {\n this.log.error(\n `${this.logPrefix} Could not set notifications state for scope \"${scope}\": ${e.message}`,\n );\n }\n }\n }\n\n /**\n * Check if given scope exists in config\n *\n * @param scope - scope to be checked for\n */\n scopeExists(scope: string): boolean {\n return !!this.setup[scope];\n }\n}\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;AAAA;;;;;AAMA,sBAAe;AACf,qCAAsB;AACtB,uBAAiB;AAmIX,MAAO,oBAAmB;EACpB;EACA;EACA;EACA,uBAA4C,CAAA;EAEnC,UAAU,iBAAAA,QAAK,KAAK,qCAAM,iBAAgB,GAAI,qCAAM,kBAAiB,CAAE;EACvE,QAAiC,CAAA;EACjC;EACA;EAOjB,YAAY,UAAqC;AAC7C,SAAK,SAAS,SAAS;AACvB,SAAK,UAAU,SAAS;AACxB,SAAK,MAAM,SAAS;AACpB,SAAK,YAAY,SAAS;AAC1B,SAAK,OAAO,SAAS;AAGrB,SAAK,mBAAkB;EAC3B;EAKA,MAAM,gCAA6B;AAE/B,QAAI;AACJ,QAAI;AACA,YAAM,MAAM,KAAK,QAAQ,UA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,KAAK,SAAS,iDAAiD,KAAK,MAAM,EAAE,OAAO,EAAE;MAEhG;IACJ;EACJ;;;;;;EAOA,YAAY,OAAa;AACrB,WAAO,CAAC,CAAC,KAAK,MAAM,KAAK;EAC7B;;",
6
6
  "names": ["path", "category", "fs"]
7
7
  }
@@ -1,4 +1,3 @@
1
- /// <reference types="@iobroker/types-dev" />
2
1
  import type { Client as ObjectsClient } from '@iobroker/db-objects-redis';
3
2
  export declare function getObjectsConstructor(): Promise<typeof ObjectsClient>;
4
3
  /**
@@ -18,6 +18,10 @@ var __copyProps = (to, from, except, desc) => {
18
18
  return to;
19
19
  };
20
20
  var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
21
+ // If the importer is in node compatibility mode or this is not an ESM
22
+ // file that has been converted to a CommonJS file using a Babel-
23
+ // compatible transform (i.e. "__esModule" has not been set), then set
24
+ // "default" to the CommonJS "module.exports" for node compatibility.
21
25
  isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
22
26
  mod
23
27
  ));
@@ -2,6 +2,6 @@
2
2
  "version": 3,
3
3
  "sources": ["../../../../src/lib/common/objects.ts"],
4
4
  "sourcesContent": ["import fs from 'fs-extra';\nimport { tools } from '@iobroker/js-controller-common';\nimport type { Client as ObjectsClient, interview } from '@iobroker/db-objects-redis';\n\nexport async function getObjectsConstructor(): Promise<typeof ObjectsClient> {\n const config = fs.readJSONSync(tools.getConfigFileName());\n if (!config.objects) {\n config.objects = { type: 'jsonl' };\n }\n\n try {\n const Client = (await import(`@iobroker/db-objects-${config.objects.type}`)).Client;\n return Client;\n } catch (e) {\n console.error(e.stack);\n console.error(`Installation broken or unknown objects type: ${config.objects.type} configured`);\n process.exit(101);\n }\n}\n\n/**\n * Allows to find out if a given objects dbType offers a server which runs on this host and listens (locally or globally/by IP)\n *\n * @param dbType database type\n * @param host configured db host - multihost (array) will always return false\n * @param checkIfLocalOnly if true the method checks if the server listens to local connections only; else also external connection options are checked\n * @returns true if a server listens on this host (locally or globally/by IP)\n */\nexport async function isLocalObjectsDbServer(\n dbType: string,\n host: string | string[],\n checkIfLocalOnly: boolean = false,\n): Promise<boolean> {\n const hasServer = await objectsDbHasServer(dbType);\n if (!hasServer) {\n return false; // if no server it can not be a local server\n }\n\n if (Array.isArray(host)) {\n return false;\n }\n\n let result = host === 'localhost' || tools.isLocalAddress(host); // reachable locally only\n if (!checkIfLocalOnly) {\n const ownIps = tools.findIPs();\n result = result || tools.isListenAllAddress(host) || ownIps.includes(host);\n }\n\n return result;\n}\n\n/**\n * Allows to find out if a given objects dbType offers a server or not\n *\n * @param dbType database type\n * @returns true if a server class is available\n */\nexport async function objectsDbHasServer(dbType: string): Promise<boolean> {\n try {\n const objects = await import(`@iobroker/db-objects-${dbType}`);\n return !!objects.Server;\n } catch (e) {\n console.error(e);\n throw new Error(`Installation error or unknown objects database type: ${dbType}`);\n }\n}\n\ninterface PerformObjectsInterviewOptions {\n /** The partial states db options */\n config: ioBroker.ObjectsDatabaseOptions;\n /** Db type, like redis */\n dbType: string;\n}\n\n/**\n * Perform the objects interview if one has been provided\n *\n * @param options dbtype and the partial config\n * @returns the database options obtained by the answered questionnaire\n */\nexport async function performObjectsInterview(\n options: PerformObjectsInterviewOptions,\n): Promise<ioBroker.ObjectsDatabaseOptions> {\n const { dbType, config } = options;\n\n const objects = await import(`@iobroker/db-objects-${dbType}`);\n if (!objects.interview) {\n return config;\n }\n\n return objects.interview(config satisfies Parameters<typeof interview>[0]);\n}\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;AAAA;;;;;;;;sBAAe;AACf,kCAAsB;AAGtB,eAAsB,wBAAqB;AACvC,QAAM,SAAS,gBAAAA,QAAG,aAAa,kCAAM,kBAAiB,CAAE;AACxD,MAAI,CAAC,OAAO,SAAS;AACjB,WAAO,UAAU,EAAE,MAAM,QAAO;EACpC;AAEA,MAAI;AACA,UAAM,UAAU,MAAM,OAAO,wBA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AwB,OAAO,QAAQ,IAAI,KAAK;AAC7E,WAAO;EACX,SAAS,GAAG;AACR,YAAQ,MAAM,EAAE,KAAK;AACrB,YAAQ,MAAM,gDAAgD,OAAO,QAAQ,IAAI,aAAa;AAC9F,YAAQ,KAAK,GAAG;EACpB;AACJ;AAUA,eAAsB,uBAClB,QACA,MACA,mBAA4B,OAAK;AAEjC,QAAM,YAAY,MAAM,mBAAmB,MAAM;AACjD,MAAI,CAAC,WAAW;AACZ,WAAO;EACX;AAEA,MAAI,MAAM,QAAQ,IAAI,GAAG;AACrB,WAAO;EACX;AAEA,MAAI,SAAS,SAAS,eAAe,kCAAM,eAAe,IAAI;AAC9D,MAAI,CAAC,kBAAkB;AACnB,UAAM,SAAS,kCAAM,QAAO;AAC5B,aAAS,UAAU,kCAAM,mBAAmB,IAAI,KAAK,OAAO,SAAS,IAAI;EAC7E;AAEA,SAAO;AACX;AAQA,eAAsB,mBAAmB,QAAc;AACnD,MAAI;AACA,UAAM,UAAU,MAAM,OAAO,wBAAwB,MAAM;AAC3D,WAAO,CAAC,CAAC,QAAQ;EACrB,SAAS,GAAG;AACR,YAAQ,MAAM,CAAC;AACf,UAAM,IAAI,MAAM,wDAAwD,MAAM,EAAE;EACpF;AACJ;AAeA,eAAsB,wBAClB,SAAuC;AAEvC,QAAM,EAAE,QAAQ,OAAM,IAAK;AAE3B,QAAM,UAAU,MAAM,OAAO,wBAAwB,MAAM;AAC3D,MAAI,CAAC,QAAQ,WAAW;AACpB,WAAO;EACX;AAEA,SAAO,QAAQ,UAAU,MAAgD;AAC7E;",
6
6
  "names": ["fs"]
7
7
  }
@@ -1,4 +1,3 @@
1
- /// <reference types="@iobroker/types-dev" />
2
1
  import type { Client as StatesClient } from '@iobroker/db-states-redis';
3
2
  export declare function getStatesConstructor(): Promise<typeof StatesClient>;
4
3
  /**
@@ -18,6 +18,10 @@ var __copyProps = (to, from, except, desc) => {
18
18
  return to;
19
19
  };
20
20
  var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
21
+ // If the importer is in node compatibility mode or this is not an ESM
22
+ // file that has been converted to a CommonJS file using a Babel-
23
+ // compatible transform (i.e. "__esModule" has not been set), then set
24
+ // "default" to the CommonJS "module.exports" for node compatibility.
21
25
  isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
22
26
  mod
23
27
  ));
@@ -2,6 +2,6 @@
2
2
  "version": 3,
3
3
  "sources": ["../../../../src/lib/common/states.ts"],
4
4
  "sourcesContent": ["import fs from 'fs-extra';\nimport { tools } from '@iobroker/js-controller-common';\nimport type { Client as StatesClient, interview } from '@iobroker/db-states-redis';\n\nexport async function getStatesConstructor(): Promise<typeof StatesClient> {\n const config = fs.readJSONSync(tools.getConfigFileName());\n if (!config.states) {\n config.states = { type: 'jsonl' };\n }\n\n try {\n const Client = (await import(`@iobroker/db-states-${config.states.type}`)).Client;\n return Client;\n } catch (e) {\n console.error(e.stack);\n console.error(`Installation broken or unknown states type: ${config.states.type} configured.`);\n process.exit(101);\n }\n}\n\n/**\n * Allows to find out if a given states dbType offers a server or not\n *\n * @param dbType database type\n * @returns true if a server class is available\n */\nexport async function statesDbHasServer(dbType: string): Promise<boolean> {\n try {\n const states = await import(`@iobroker/db-states-${dbType}`);\n return !!states.Server;\n } catch {\n throw new Error(`Installation error or unknown states database type: ${dbType}`);\n }\n}\n\n/**\n * Allows to find out if a given states dbType offers a server which runs on this host and listens (locally or globally/by IP)\n *\n * @param dbType database type\n * @param host configured db host - multihost (array) will always return false\n * @param checkIfLocalOnly if true the method checks if the server listens to local connections only; else also external connection options are checked\n * @returns true if a server listens on this host (locally or globally/by IP)\n */\nexport async function isLocalStatesDbServer(\n dbType: string,\n host: string | string[],\n checkIfLocalOnly = false,\n): Promise<boolean> {\n const hasServer = await statesDbHasServer(dbType);\n if (!hasServer) {\n return false; // if no server it can not be a local server\n }\n\n if (Array.isArray(host)) {\n return false;\n }\n\n let result = host === 'localhost' || tools.isLocalAddress(host); // reachable locally only\n if (!checkIfLocalOnly && !Array.isArray(host)) {\n const ownIps = tools.findIPs();\n result = result || tools.isListenAllAddress(host) || ownIps.includes(host);\n }\n\n return result;\n}\n\ninterface PerformStatesInterviewOptions {\n /** The partial states db options */\n config: ioBroker.StatesDatabaseOptions;\n /** Db type, like redis */\n dbType: string;\n}\n\n/**\n * Perform the states interview if one has been provided\n *\n * @param options db type and partial config\n * @returns the database options obtained by the answered questionnaire\n */\nexport async function performStatesInterview(\n options: PerformStatesInterviewOptions,\n): Promise<ioBroker.StatesDatabaseOptions> {\n const { dbType, config } = options;\n\n const states = await import(`@iobroker/db-states-${dbType}`);\n if (!states.interview) {\n return config;\n }\n\n return states.interview(config satisfies Parameters<typeof interview>[0]);\n}\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;AAAA;;;;;;;;sBAAe;AACf,kCAAsB;AAGtB,eAAsB,uBAAoB;AACtC,QAAM,SAAS,gBAAAA,QAAG,aAAa,kCAAM,kBAAiB,CAAE;AACxD,MAAI,CAAC,OAAO,QAAQ;AAChB,WAAO,SAAS,EAAE,MAAM,QAAO;EACnC;AAEA,MAAI;AACA,UAAM,UAAU,MAAM,OAAO,uBAAuB,OAAO,OAAO,SAAS;AAC3E,WAAO;EACX,SAAS,GAAP;AACE,YAAQ,MAAM,EAAE,KAAK;AACrB,YAAQ,MAAM,+CAA+C,OAAO,OAAO,kBAAkB;AAC7F,YAAQ,KAAK,GAAG;EACpB;AACJ;AAQA,eAAsB,kBAAkB,QAAc;AAClD,MAAI;AACA,UAAM,SAAS,MAAM,OAAO,uBAAuB;AACnD,WAAO,CAAC,CAAC,OAAO;EACpB,QAAE;AACE,UAAM,IAAI,MAAM,uDAAuD,QAAQ;EACnF;AACJ;AAUA,eAAsB,sBAClB,QACA,MACA,mBAAmB,OAAK;AAExB,QAAM,YAAY,MAAM,kBAAkB,MAAM;AAChD,MAAI,CAAC,WAAW;AACZ,WAAO;EACX;AAE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ACZ,WAAO;EACX;AAEA,MAAI,MAAM,QAAQ,IAAI,GAAG;AACrB,WAAO;EACX;AAEA,MAAI,SAAS,SAAS,eAAe,kCAAM,eAAe,IAAI;AAC9D,MAAI,CAAC,oBAAoB,CAAC,MAAM,QAAQ,IAAI,GAAG;AAC3C,UAAM,SAAS,kCAAM,QAAO;AAC5B,aAAS,UAAU,kCAAM,mBAAmB,IAAI,KAAK,OAAO,SAAS,IAAI;EAC7E;AAEA,SAAO;AACX;AAeA,eAAsB,uBAClB,SAAsC;AAEtC,QAAM,EAAE,QAAQ,OAAM,IAAK;AAE3B,QAAM,SAAS,MAAM,OAAO,uBAAuB,MAAM;AACzD,MAAI,CAAC,OAAO,WAAW;AACnB,WAAO;EACX;AAEA,SAAO,OAAO,UAAU,MAAgD;AAC5E;",
6
6
  "names": ["fs"]
7
7
  }
@@ -1,5 +1,3 @@
1
- /// <reference types="node" resolution-mode="require"/>
2
- /// <reference types="node" resolution-mode="require"/>
3
1
  import type { Client as ObjectsClient } from '@iobroker/db-objects-redis';
4
2
  import type { InternalLogger } from '@iobroker/js-controller-common-db/tools';
5
3
  export interface OrderedInstancesObject {
@@ -2,6 +2,6 @@
2
2
  "version": 3,
3
3
  "sources": ["../../../../src/lib/common/tools.ts"],
4
4
  "sourcesContent": ["import type { Client as ObjectsClient } from '@iobroker/db-objects-redis';\nimport { appName } from '@iobroker/js-controller-common-db/tools';\nimport type { InternalLogger } from '@iobroker/js-controller-common-db/tools';\n\nexport interface OrderedInstancesObject {\n 1: ioBroker.InstanceObject[];\n 2: ioBroker.InstanceObject[];\n 3: ioBroker.InstanceObject[];\n admin: ioBroker.InstanceObject[];\n}\n\n/**\n * Get ordered instances according to tier level\n *\n * @param objects - Objects DB\n * @param logger - logger object\n * @param logPrefix prefix for logging\n */\nexport async function getInstancesOrderedByStartPrio(\n objects: ObjectsClient,\n logger: InternalLogger | typeof console,\n logPrefix = '',\n): Promise<ioBroker.InstanceObject[]> {\n const instances: OrderedInstancesObject = { 1: [], 2: [], 3: [], admin: [] };\n const allowedTiers = [1, 2, 3];\n\n if (logPrefix) {\n // append space if we have a prefix\n logPrefix += ' ';\n }\n\n let doc: Awaited<ioBroker.GetObjectViewPromise<ioBroker.InstanceObject>> = { rows: [] };\n try {\n doc = await objects.getObjectViewAsync('system', 'instance', {\n startkey: 'system.adapter.',\n endkey: 'system.adapter.\\u9999',\n });\n } catch (e) {\n if (e.message?.startsWith('Cannot find ')) {\n logger.error(`${logPrefix} _design/system missing - call node ${appName}.js setup`);\n } else {\n logger.error(`${logPrefix} Can not get instances: ${e.message}`);\n }\n }\n\n if (!doc.rows || doc.rows.length === 0) {\n logger.info(`${logPrefix} no instances found`);\n } else {\n for (const row of doc.rows) {\n if (row?.value) {\n if (row.value._id.startsWith('system.adapter.admin')) {\n instances.admin.push(row.value);\n } else if (\n row.value.common?.tier !== undefined &&\n allowedTiers.includes(Math.round(row.value.common.tier))\n ) {\n instances[row.value.common.tier].push(row.value);\n } else {\n // no valid tier, so put it in the last one\n instances['3'].push(row.value);\n }\n }\n }\n }\n\n return [...instances.admin, ...instances['1'], ...instances['2'], ...instances['3']];\n}\n\ninterface IsInstalledFromNpmOptions {\n /** Installed from attribute of instance/adapter object */\n installedFrom?: ioBroker.InstalledFrom;\n /** Name of the adapter */\n adapterName: string;\n}\n\n/**\n * Check if the adapter has been installed from NPM\n *\n * @param options installedFrom and name information\n */\nexport function isInstalledFromNpm(options: IsInstalledFromNpmOptions): boolean {\n const { adapterName, installedFrom } = options;\n\n if (installedFrom === undefined) {\n return true;\n }\n\n return installedFrom.startsWith(`${appName.toLowerCase()}.${adapterName}`);\n}\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;AACA;;;;;;mBAAwB;AAiBxB,eAAsB,+BAClB,SACA,QACA,YAAY,IAAE;AAEd,QAAM,YAAoC,EAAE,GAAG,CAAA,GAAI,GAAG,CAAA,GAAI,GAAG,CAAA,GAAI,OAAO,CAAA,EAAE;AAC1E,QAAM,eAAe,C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IAAI,WAAW,EAAE;AAC7E;",
6
6
  "names": []
7
7
  }
@@ -1,4 +1,3 @@
1
- /// <reference types="node" resolution-mode="require"/>
2
1
  import type { Client as ObjectsClient } from '@iobroker/db-objects-redis';
3
2
  export declare function readDirAsZip(objects: ObjectsClient, id: string, name: string, options: any, callback: (err?: Error | null, base64?: string) => void): Promise<void>;
4
3
  export declare function writeDirAsZip(objects: ObjectsClient, id: string, name: string, data: Buffer, options: any): Promise<void>;
@@ -18,6 +18,10 @@ var __copyProps = (to, from, except, desc) => {
18
18
  return to;
19
19
  };
20
20
  var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
21
+ // If the importer is in node compatibility mode or this is not an ESM
22
+ // file that has been converted to a CommonJS file using a Babel-
23
+ // compatible transform (i.e. "__esModule" has not been set), then set
24
+ // "default" to the CommonJS "module.exports" for node compatibility.
21
25
  isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
22
26
  mod
23
27
  ));
@@ -241,7 +245,7 @@ async function _writeOneObject(objects, zip, rootId, filename, options) {
241
245
  }
242
246
  }
243
247
  if (data && data.id && data.data) {
244
- options.ts = new Date().getTime();
248
+ options.ts = (/* @__PURE__ */ new Date()).getTime();
245
249
  options.from = `system.host.${import_js_controller_common.tools.getHostName()}.cli`;
246
250
  await objects.setObject(data.id, data.data, options);
247
251
  return;
@@ -2,6 +2,6 @@
2
2
  "version": 3,
3
3
  "sources": ["../../../../src/lib/common/zipFiles.ts"],
4
4
  "sourcesContent": ["import { tools } from '@iobroker/js-controller-common';\nimport JSZip from 'jszip';\nimport type { Client as ObjectsClient } from '@iobroker/db-objects-redis';\n\nfunction _getAllFilesInDir(\n objects: ObjectsClient,\n id: string,\n name: string,\n options: any,\n callback: (errs: null | string[], res: string[]) => void,\n result?: string[],\n): void {\n objects.readDir(id, name, options, (err, files) => {\n result = result || [];\n\n let count = 0;\n const errors: string[] = [];\n if (files) {\n for (const file of files) {\n if (file.isDir) {\n count++;\n _getAllFilesInDir(\n objects,\n id,\n `${name}/${file.file}`,\n options,\n (errs, _result) => {\n errs && errors.push(...errs);\n if (!--count) {\n callback(errors.length ? errors : null, _result);\n }\n },\n result,\n );\n } else {\n result.push(`${name}/${file.file}`);\n }\n }\n }\n\n if (!count) {\n callback(null, result);\n }\n });\n}\n\nfunction _addFile(\n objects: ObjectsClient,\n id: string,\n name: string,\n options: any,\n zip: JSZip,\n callback: (err: Error | null | undefined) => void,\n): void {\n objects.readFile(id, name, options, (err, data, _mime) => {\n if (err) {\n console.log(err);\n callback(new Error(`Cannot read file \"${name}\": ${err.message}`));\n } else {\n // if handler installed\n if (options.stringify) {\n try {\n data = options.stringify(name, data, options ? options.settings : null);\n } catch (e) {\n console.error(`Cannot stringify file \"${name}\": ${e.message}`);\n if (!err) {\n err = new Error(`Cannot stringify file \"${name}\": ${e.message}`);\n }\n }\n }\n const parts = name.split('/');\n if (parts.length > 1) {\n parts.shift();\n name = parts.join('/');\n }\n\n zip.file(name, data!);\n setImmediate(() => callback(err));\n }\n });\n}\n\n// pack all files as zip and send it back\nexport async function readDirAsZip(\n objects: ObjectsClient,\n id: string,\n name: string,\n options: any,\n callback: (err?: Error | null, base64?: string) => void,\n): Promise<void> {\n if (typeof options === 'function') {\n callback = options;\n options = null;\n }\n if (name[0] === '/') {\n name = name.substring(1);\n }\n options = options || {};\n let adapter = id;\n if (adapter.includes('.')) {\n adapter = id.split('.')[0]!;\n }\n\n // try to load processor of adapter\n try {\n options.stringify = (await import(`${tools.appName.toLowerCase()}.${adapter}/lib/convert.js`)).stringify;\n } catch {\n // OK\n }\n\n _getAllFilesInDir(objects, id, name, options, (errs, files) => {\n let count = 0;\n if (files) {\n const zip = new JSZip();\n for (const file of files) {\n count++;\n _addFile(objects, id, file, options, zip, async err => {\n if (!--count) {\n try {\n const base64 = await zip.generateAsync({ type: 'base64' });\n callback(err, base64);\n } catch (e) {\n callback(e.message);\n }\n }\n });\n }\n }\n\n if (!count) {\n callback(errs?.length ? new Error(errs.join(', ')) : null);\n }\n });\n}\n\ninterface CheckDirOptions {\n objects: ObjectsClient;\n id: string;\n root: string;\n parts: string[];\n options: any;\n}\n\n/**\n * Check that directory exists recursive\n *\n * @param _options directory information and objects db\n */\nasync function _checkDir(_options: CheckDirOptions): Promise<void> {\n const { parts, id, options, objects } = _options;\n let { root } = _options;\n\n if (!parts?.length) {\n return;\n }\n\n root += `/${parts.shift()}`;\n\n try {\n await objects.readDirAsync(id, root, options);\n } catch (e) {\n if (e.message === tools.ERRORS.ERROR_NOT_FOUND) {\n await objects.mkdirAsync(id, root, options);\n }\n }\n\n return _checkDir({ id, objects, options, root, parts });\n}\n\nasync function _writeOneFile(\n objects: ObjectsClient,\n zip: JSZip,\n id: string,\n name: string,\n filename: string,\n options: any,\n): Promise<void> {\n const zipFile = zip.files[filename];\n\n if (!zipFile) {\n throw new Error(`Cannot write file \"${filename}\", because JSZip instance is incomplete`);\n }\n\n let data = await zipFile.async('nodebuffer');\n\n if (options.parse) {\n data = options.parse(name, filename, data, options ? options.settings : null);\n }\n const fName = name + filename;\n const parts = fName.split('/');\n parts.pop();\n\n await _checkDir({ objects, id, root: '', parts, options });\n return objects.writeFileAsync(id, name + filename, data, options);\n}\n\nexport async function writeDirAsZip(\n objects: ObjectsClient,\n id: string,\n name: string,\n data: Buffer,\n options: any,\n): Promise<void> {\n const zip = new JSZip();\n\n options = options || {};\n\n let adapter = id;\n if (adapter.includes('.')) {\n adapter = id.split('.')[0]!;\n }\n\n // try to load processor of adapter\n try {\n options.parse = (await import(`${tools.appName.toLowerCase()}.${adapter}/lib/convert.js`)).parse;\n } catch {\n // OK\n }\n\n await zip.loadAsync(data);\n const errors = [];\n if (name[name.length - 1] !== '/') {\n name += '/';\n }\n for (const filename of Object.keys(zip.files)) {\n if (!filename || filename[filename.length - 1] === '/') {\n continue;\n }\n try {\n await _writeOneFile(objects, zip, id, name, filename, options);\n } catch (e) {\n errors.push(`Cannot write file \"${filename}\": ${e.toString()}`);\n }\n }\n if (errors.length) {\n throw new Error(errors.join(', '));\n }\n}\n\n// pack all files as zip and send it back\nexport async function readObjectsAsZip(\n objects: ObjectsClient,\n rootId: string,\n adapter: string,\n options: any = {},\n): Promise<string> {\n if (adapter) {\n // try to load processor of adapter\n try {\n options.stringify = (await import(`${tools.appName.toLowerCase()}.${adapter}/lib/convert.js`)).stringify;\n } catch {\n // OK\n }\n }\n\n const keys = await objects.getKeysAsync(`${rootId}.*`, options);\n if (!keys) {\n throw new Error('No matching keys found');\n }\n\n const objs = await objects.getObjectsAsync(keys, options);\n const zip = new JSZip();\n\n for (const obj of objs) {\n const id = obj._id;\n\n let data: Record<string, any> = { id, data: obj };\n\n if (options.stringify) {\n try {\n data = options.stringify(data, options ? options.settings : null);\n } catch {\n data.id = `${id.replace(/\\./g, '/').substring(rootId.length + 1)}.json`;\n }\n } else {\n data.id = `${id.replace(/\\./g, '/').substring(rootId.length + 1)}.json`;\n }\n if (typeof data.data === 'object') {\n data.data = JSON.stringify(data.data, null, 2);\n }\n\n zip.file(data.id, data.data);\n }\n\n const base64 = await zip.generateAsync({ type: 'base64' });\n return base64;\n}\n\nasync function _writeOneObject(\n objects: ObjectsClient,\n zip: JSZip,\n rootId: string,\n filename: string,\n options: any,\n): Promise<void> {\n const zipFile = zip.files[filename];\n\n if (!zipFile) {\n throw new Error(`Cannot write file \"${filename}\", because JSZip instance is incomplete`);\n }\n\n const bufferData = await zipFile.async('nodebuffer');\n let data: Record<string, any> = { data: bufferData.toString(), id: filename };\n if (options.parse) {\n try {\n data = options.parse(data, options ? options.settings : null);\n } catch (e) {\n throw new Error(`Cannot custom parse \"${data.id}\": ${e}`);\n }\n } else {\n data.id = (rootId ? `${rootId}.` : '') + data.id.replace(/\\//g, '.').replace(/\\.json$/, '');\n }\n if (data && typeof data.data !== 'object') {\n try {\n data.data = JSON.parse(data.data);\n } catch (e) {\n throw new Error(`Cannot parse \"${data.id}\": ${e.message}`);\n }\n }\n if (data && data.id && data.data) {\n options.ts = new Date().getTime();\n options.from = `system.host.${tools.getHostName()}.cli`;\n await objects.setObject(data.id, data.data, options);\n return;\n }\n\n if (data?.error) {\n throw data.error;\n }\n}\n\nexport async function writeObjectsAsZip(\n objects: ObjectsClient,\n rootId: string,\n adapter: string,\n data: Buffer,\n options: any,\n callback: (err?: Error | null) => void,\n): Promise<void> {\n options = options || {};\n\n if (adapter) {\n // try to load processor of adapter\n try {\n options.parse = (await import(`${tools.appName.toLowerCase()}.${adapter}/lib/convert.js`)).parse;\n } catch {\n // OK\n }\n }\n\n const zip = new JSZip();\n const error: string[] = [];\n\n try {\n await zip.loadAsync(data);\n for (const filename of Object.keys(zip.files)) {\n if (filename[filename.length - 1] === '/') {\n continue;\n }\n\n try {\n await _writeOneObject(objects, zip, rootId, filename, options);\n } catch (e) {\n error.push(e.toString());\n }\n }\n } catch (e) {\n callback(e.toString());\n return;\n }\n\n callback(error.length ? new Error(error.join(', ')) : null);\n}\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;AAAA;;;;;;;;kCAAsB;AACtB,mBAAkB;AAGlB,SAAS,kBACL,SACA,IACA,MACA,SACA,UACA,QAAiB;AAEjB,UAAQ,QAAQ,IAAI,MAAM,SAAS,CAAC,KAAK,UAAS;AAC9C,aAAS,UAAU,CAAA;AAEnB,QAAI,QAAQ;AACZ,UAAM,SAAmB,CAAA;AACzB,QAAI,OAAO;AACP,iBAAW,QAAQ,OAAO;AACtB,YAAI,KAAK,OAAO;AACZ;AACA,4BACI,SACA,IACA,GAAG,QAAQ,KAAK,QAChB,SACA,CAAC,MAAM,YAAW;AACd,oBAAQ,OAAO,KAAK,GAAG,IAAI;AAC3B,gBAAI,CAAC,EAAE,OAAO;AACV,uBAAS,OAAO,SAAS,SAAS,MAAM,OAAO;YACnD;UACJ,GACA,MAAM;QAEd,OAAO;AACH,iBAAO,KAAK,GAAG,QAAQ,KAAK,MAAM;QACtC;MACJ;IACJ;AAEA,QAAI,C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O,GAAG,kCAAM,QAAQ,YAAW,CAAE,IAAI,OAAO,oBAAoB;IAC/F,QAAQ;IAER;EACJ;AAEA,QAAM,MAAM,IAAI,aAAAA,QAAK;AACrB,QAAM,QAAkB,CAAA;AAExB,MAAI;AACA,UAAM,IAAI,UAAU,IAAI;AACxB,eAAW,YAAY,OAAO,KAAK,IAAI,KAAK,GAAG;AAC3C,UAAI,SAAS,SAAS,SAAS,CAAC,MAAM,KAAK;AACvC;MACJ;AAEA,UAAI;AACA,cAAM,gBAAgB,SAAS,KAAK,QAAQ,UAAU,OAAO;MACjE,SAAS,GAAG;AACR,cAAM,KAAK,EAAE,SAAQ,CAAE;MAC3B;IACJ;EACJ,SAAS,GAAG;AACR,aAAS,EAAE,SAAQ,CAAE;AACrB;EACJ;AAEA,WAAS,MAAM,SAAS,IAAI,MAAM,MAAM,KAAK,IAAI,CAAC,IAAI,IAAI;AAC9D;",
6
6
  "names": ["JSZip"]
7
7
  }
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,oBAAoB,EACpB,iBAAiB,EACjB,qBAAqB,EACrB,sBAAsB,GACzB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACH,qBAAqB,EACrB,kBAAkB,EAClB,sBAAsB,EACtB,uBAAuB,GAC1B,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,mBAAmB,EAAE,MAAM,qCAAqC,CAAC;AAC1E,OAAO,KAAK,QAAQ,MAAM,0BAA0B,CAAC;AACrD,cAAc,uBAAuB,CAAC;AACtC,cAAc,mCAAmC,CAAC;AAElD,qEAAqE;AACrE,eAAO,MAAM,WAAW,OAAO,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EACH,oBAAoB,EACpB,iBAAiB,EACjB,qBAAqB,EACrB,sBAAsB,GACzB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACH,qBAAqB,EACrB,kBAAkB,EAClB,sBAAsB,EACtB,uBAAuB,GAC1B,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,mBAAmB,EAAE,MAAM,qCAAqC,CAAC;AAC1E,OAAO,KAAK,QAAQ,MAAM,0BAA0B,CAAC;AACrD,cAAc,uBAAuB,CAAC;AACtC,cAAc,mCAAmC,CAAC;AAElD,qEAAqE;AACrE,eAAO,MAAM,WAAW,OAAO,CAAC"}
@@ -1,3 +1,4 @@
1
+ /// <reference types="@iobroker/types-dev" />
1
2
  export { getStatesConstructor, statesDbHasServer, isLocalStatesDbServer, performStatesInterview, } from './lib/common/states.js';
2
3
  export { getObjectsConstructor, objectsDbHasServer, isLocalObjectsDbServer, performObjectsInterview, } from './lib/common/objects.js';
3
4
  export { NotificationHandler } from './lib/common/notificationHandler.js';
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,oBAAoB,EACpB,iBAAiB,EACjB,qBAAqB,EACrB,sBAAsB,GACzB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACH,qBAAqB,EACrB,kBAAkB,EAClB,sBAAsB,EACtB,uBAAuB,GAC1B,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,mBAAmB,EAAE,MAAM,qCAAqC,CAAC;AAC1E,OAAO,KAAK,QAAQ,MAAM,0BAA0B,CAAC;AACrD,cAAc,uBAAuB,CAAC;AACtC,cAAc,mCAAmC,CAAC;AAElD,qEAAqE;AACrE,MAAM,CAAC,MAAM,WAAW,GAAG,IAAI,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,6CAA6C;AAC7C,OAAO,EACH,oBAAoB,EACpB,iBAAiB,EACjB,qBAAqB,EACrB,sBAAsB,GACzB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACH,qBAAqB,EACrB,kBAAkB,EAClB,sBAAsB,EACtB,uBAAuB,GAC1B,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,mBAAmB,EAAE,MAAM,qCAAqC,CAAC;AAC1E,OAAO,KAAK,QAAQ,MAAM,0BAA0B,CAAC;AACrD,cAAc,uBAAuB,CAAC;AACtC,cAAc,mCAAmC,CAAC;AAElD,qEAAqE;AACrE,MAAM,CAAC,MAAM,WAAW,GAAG,IAAI,CAAC"}
@@ -3,8 +3,6 @@
3
3
  *
4
4
  * 2021-2024 foxriver76 <moritz.heusinger@gmail.com>
5
5
  */
6
- /// <reference types="node" resolution-mode="require"/>
7
- /// <reference types="@iobroker/types-dev" />
8
6
  import type { Client as StatesInRedisClient } from '@iobroker/db-states-redis';
9
7
  import type { Client as ObjectsInRedisClient } from '@iobroker/db-objects-redis';
10
8
  import type Winston from 'winston';
@@ -1 +1 @@
1
- {"version":3,"file":"notificationHandler.d.ts","sourceRoot":"","sources":["../../../../src/lib/common/notificationHandler.ts"],"names":[],"mappings":"AAAA;;;;GAIG;;;AAKH,OAAO,KAAK,EAAE,MAAM,IAAI,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAC/E,OAAO,KAAK,EAAE,MAAM,IAAI,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AACjF,OAAO,KAAK,OAAO,MAAM,SAAS,CAAC;AAEnC,KAAK,kBAAkB,GAAG,OAAO,CAAC,QAAQ,CAAC,kBAAkB,EAAE,MAAM,CAAC,CAAC;AAEvE,+DAA+D;AAC/D,MAAM,WAAW,2BAA2B;IACxC,uEAAuE;IACvE,IAAI,EAAE,MAAM,CAAC;IACb,yBAAyB;IACzB,MAAM,EAAE,mBAAmB,CAAC;IAC5B,0BAA0B;IAC1B,OAAO,EAAE,oBAAoB,CAAC;IAC9B,sBAAsB;IACtB,GAAG,EAAE,OAAO,CAAC,MAAM,GAAG,OAAO,CAAC;IAC9B,kCAAkC;IAClC,SAAS,EAAE,MAAM,CAAC;CACrB;AAED,yFAAyF;AACz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,cAAc,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,GAC1C,+BAA+B;IA4DlC;;;;;;OAMG;IACG,kBAAkB,CACpB,WAAW,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,EACtC,cAAc,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,EACzC,cAAc,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,GAC1C,OAAO,CAAC,IAAI,CAAC;IAmEhB;;;;OAIG;IACH,WAAW,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO;CAGtC"}
1
+ {"version":3,"file":"notificationHandler.d.ts","sourceRoot":"","sources":["../../../../src/lib/common/notificationHandler.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAKH,OAAO,KAAK,EAAE,MAAM,IAAI,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAC/E,OAAO,KAAK,EAAE,MAAM,IAAI,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AACjF,OAAO,KAAK,OAAO,MAAM,SAAS,CAAC;AAEnC,KAAK,kBAAkB,GAAG,OAAO,CAAC,QAAQ,CAAC,kBAAkB,EAAE,MAAM,CAAC,CAAC;AAEvE,+DAA+D;AAC/D,MAAM,WAAW,2BAA2B;IACxC,uEAAuE;IACvE,IAAI,EAAE,MAAM,CAAC;IACb,yBAAyB;IACzB,MAAM,EAAE,mBAAmB,CAAC;IAC5B,0BAA0B;IAC1B,OAAO,EAAE,oBAAoB,CAAC;IAC9B,sBAAsB;IACtB,GAAG,EAAE,OAAO,CAAC,MAAM,GAAG,OAAO,CAAC;IAC9B,kCAAkC;IAClC,SAAS,EAAE,MAAM,CAAC;CACrB;AAED,yFAAyF;AACzF,MAAM,WAAW,wBAAwB;IACrC,kBAAkB;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,wBAAwB;IACxB,IAAI,EAAE,kBAAkB,CAAC;IACzB,+BAA+B;IAC/B,WAAW,EAAE,kBAAkB,CAAC;IAChC,oDAAoD;IACpD,UAAU,EAAE,m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cAAc,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,GAC1C,OAAO,CAAC,IAAI,CAAC;IAmEhB;;;;OAIG;IACH,WAAW,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO;CAGtC"}
@@ -1,4 +1,3 @@
1
- /// <reference types="@iobroker/types-dev" />
2
1
  import type { Client as ObjectsClient } from '@iobroker/db-objects-redis';
3
2
  export declare function getObjectsConstructor(): Promise<typeof ObjectsClient>;
4
3
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"objects.d.ts","sourceRoot":"","sources":["../../../../src/lib/common/objects.ts"],"names":[],"mappings":";AAEA,OAAO,KAAK,EAAE,MAAM,IAAI,aAAa,EAAa,MAAM,4BAA4B,CAAC;AAErF,wBAAsB,qBAAqB,IAAI,OAAO,CAAC,OAAO,aAAa,CAAC,CAc3E;AAED;;;;;;;GAOG;AACH,wBAAsB,sBAAsB,CACxC,MAAM,EAAE,MAAM,EACd,IAAI,EAAE,MAAM,GAAG,MAAM,EAAE,EACvB,gBAAgB,GAAE,OAAe,GAClC,OAAO,CAAC,OAAO,CAAC,CAiBlB;AAED;;;;;GAKG;AACH,wBAAsB,kBAAkB,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC,CAQzE;AAED,UAAU,8BAA8B;IACpC,oCAAoC;IACpC,MAAM,EAAE,QAAQ,CAAC,sBAAsB,CAAC;IACxC,0BAA0B;IAC1B,MAAM,EAAE,MAAM,CAAC;CAClB;AAED;;;;;GAKG;AACH,wBAAsB,uBAAuB,CACzC,OAAO,EAAE,8BAA8B,GACxC,OAAO,CAAC,QAAQ,CAAC,sBAAsB,CAAC,CAS1C"}
1
+ {"version":3,"file":"objects.d.ts","sourceRoot":"","sources":["../../../../src/lib/common/objects.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,IAAI,aAAa,EAAa,MAAM,4BAA4B,CAAC;AAErF,wBAAsB,qBAAqB,IAAI,OAAO,CAAC,OAAO,aAAa,CAAC,CAc3E;AAED;;;;;;;GAOG;AACH,wBAAsB,sBAAsB,CACxC,MAAM,EAAE,MAAM,EACd,IAAI,EAAE,MAAM,GAAG,MAAM,EAAE,EACvB,gBAAgB,GAAE,OAAe,GAClC,OAAO,CAAC,OAAO,CAAC,CAiBlB;AAED;;;;;GAKG;AACH,wBAAsB,kBAAkB,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC,CAQzE;AAED,UAAU,8BAA8B;IACpC,oCAAoC;IACpC,MAAM,EAAE,QAAQ,CAAC,sBAAsB,CAAC;IACxC,0BAA0B;IAC1B,MAAM,EAAE,MAAM,CAAC;CAClB;AAED;;;;;GAKG;AACH,wBAAsB,uBAAuB,CACzC,OAAO,EAAE,8BAA8B,GACxC,OAAO,CAAC,QAAQ,CAAC,sBAAsB,CAAC,CAS1C"}
@@ -1,4 +1,3 @@
1
- /// <reference types="@iobroker/types-dev" />
2
1
  import type { Client as StatesClient } from '@iobroker/db-states-redis';
3
2
  export declare function getStatesConstructor(): Promise<typeof StatesClient>;
4
3
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"states.d.ts","sourceRoot":"","sources":["../../../../src/lib/common/states.ts"],"names":[],"mappings":";AAEA,OAAO,KAAK,EAAE,MAAM,IAAI,YAAY,EAAa,MAAM,2BAA2B,CAAC;AAEnF,wBAAsB,oBAAoB,IAAI,OAAO,CAAC,OAAO,YAAY,CAAC,CAczE;AAED;;;;;GAKG;AACH,wBAAsB,iBAAiB,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC,CAOxE;AAED;;;;;;;GAOG;AACH,wBAAsB,qBAAqB,CACvC,MAAM,EAAE,MAAM,EACd,IAAI,EAAE,MAAM,GAAG,MAAM,EAAE,EACvB,gBAAgB,UAAQ,GACzB,OAAO,CAAC,OAAO,CAAC,CAiBlB;AAED,UAAU,6BAA6B;IACnC,oCAAoC;IACpC,MAAM,EAAE,QAAQ,CAAC,qBAAqB,CAAC;IACvC,0BAA0B;IAC1B,MAAM,EAAE,MAAM,CAAC;CAClB;AAED;;;;;GAKG;AACH,wBAAsB,sBAAsB,CACxC,OAAO,EAAE,6BAA6B,GACvC,OAAO,CAAC,QAAQ,CAAC,qBAAqB,CAAC,CASzC"}
1
+ {"version":3,"file":"states.d.ts","sourceRoot":"","sources":["../../../../src/lib/common/states.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,IAAI,YAAY,EAAa,MAAM,2BAA2B,CAAC;AAEnF,wBAAsB,oBAAoB,IAAI,OAAO,CAAC,OAAO,YAAY,CAAC,CAczE;AAED;;;;;GAKG;AACH,wBAAsB,iBAAiB,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC,CAOxE;AAED;;;;;;;GAOG;AACH,wBAAsB,qBAAqB,CACvC,MAAM,EAAE,MAAM,EACd,IAAI,EAAE,MAAM,GAAG,MAAM,EAAE,EACvB,gBAAgB,UAAQ,GACzB,OAAO,CAAC,OAAO,CAAC,CAiBlB;AAED,UAAU,6BAA6B;IACnC,oCAAoC;IACpC,MAAM,EAAE,QAAQ,CAAC,qBAAqB,CAAC;IACvC,0BAA0B;IAC1B,MAAM,EAAE,MAAM,CAAC;CAClB;AAED;;;;;GAKG;AACH,wBAAsB,sBAAsB,CACxC,OAAO,EAAE,6BAA6B,GACvC,OAAO,CAAC,QAAQ,CAAC,qBAAqB,CAAC,CASzC"}
@@ -1,5 +1,3 @@
1
- /// <reference types="node" resolution-mode="require"/>
2
- /// <reference types="node" resolution-mode="require"/>
3
1
  import type { Client as ObjectsClient } from '@iobroker/db-objects-redis';
4
2
  import type { InternalLogger } from '@iobroker/js-controller-common-db/tools';
5
3
  export interface OrderedInstancesObject {
@@ -1 +1 @@
1
- {"version":3,"file":"tools.d.ts","sourceRoot":"","sources":["../../../../src/lib/common/tools.ts"],"names":[],"mappings":";;AAAA,OAAO,KAAK,EAAE,MAAM,IAAI,aAAa,EAAE,MAAM,4B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AAG,OAAO,OAAO,EACvC,SAAS,SAAK,GACf,OAAO,CAAC,QAAQ,CAAC,cAAc,EAAE,CAAC,CA4CpC;AAED,UAAU,yBAAyB;IAC/B,0DAA0D;IAC1D,aAAa,CAAC,EAAE,QAAQ,CAAC,aAAa,CAAC;IACvC,0BAA0B;IAC1B,WAAW,EAAE,MAAM,CAAC;CACvB;AAED;;;;GAIG;AACH,wBAAgB,kBAAkB,CAAC,OAAO,EAAE,yBAAyB,GAAG,OAAO,CAQ9E"}
@@ -1,4 +1,3 @@
1
- /// <reference types="node" resolution-mode="require"/>
2
1
  import type { Client as ObjectsClient } from '@iobroker/db-objects-redis';
3
2
  export declare function readDirAsZip(objects: ObjectsClient, id: string, name: string, options: any, callback: (err?: Error | null, base64?: string) => void): Promise<void>;
4
3
  export declare function writeDirAsZip(objects: ObjectsClient, id: string, name: string, data: Buffer, options: any): Promise<void>;
@@ -1 +1 @@
1
- {"version":3,"file":"zipFiles.d.ts","sourceRoot":"","sources":["../../../../src/lib/common/zipFiles.ts"],"names":[],"mappings":";AAEA,OAAO,KAAK,EAAE,MAAM,IAAI,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAiF1E,wBAAsB,YAAY,CAC9B,OAAO,EAAE,aAAa,EACtB,EAAE,EAAE,MAAM,EACV,IAAI,EAAE,MAAM,EACZ,OAAO,EAAE,GAAG,EACZ,QAAQ,EAAE,CAAC,GAAG,CAAC,EAAE,KAAK,GAAG,IAAI,EAAE,MAAM,CAAC,EAAE,MAAM,KAAK,IAAI,GACxD,OAAO,CAAC,IAAI,CAAC,CA4Cf;AA+DD,wBAAsB,aAAa,CAC/B,OAAO,EAAE,aAAa,EACtB,EAAE,EAAE,MAAM,EACV,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,MAAM,EACZ,OAAO,EAAE,GAAG,GACb,OAAO,CAAC,IAAI,CAAC,CAmCf;AAGD,wBAAsB,gBAAgB,CAClC,OAAO,EAAE,aAAa,EACtB,MAAM,EAAE,MAAM,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ACZ,QAAQ,EAAE,CAAC,GAAG,CAAC,EAAE,KAAK,GAAG,IAAI,KAAK,IAAI,GACvC,OAAO,CAAC,IAAI,CAAC,CAkCf"}
@@ -1 +1 @@
1
- {"program":{"fileNames":["../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.es2015.d.ts","../../../node_modules/typescript/lib/lib.es2016.d.ts","../../../node_modules/typescript/lib/lib.es2017.d.ts","../../../node_modules/typescript/lib/lib.es2018.d.ts","../../../node_modules/typescript/lib/lib.es2019.d.ts","../../../node_modules/typescript/lib/lib.es2020.d.ts","../../../node_modules/typescript/lib/lib.es2021.d.ts","../../../node_modules/typescript/lib/lib.es2022.d.ts","../../../node_modules/typescript/lib/lib.es2023.d.ts","../../../node_modules/typescript/lib/lib.es2015.core.d.ts","../../../node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../node_modules/typescript/lib/lib.es2016.intl.d.ts","../../../node_modules/typescript/lib/lib.es2017.date.d.ts","../../../node_modules/typescript/lib/lib.es2017.object.d.ts","../../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../node_modules/typescript/lib/lib.es2017.string.d.ts","../../../node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../node_modules/typescript/lib/lib.es2019.array.d.ts","../../../node_modules/typescript/lib/lib.es2019.object.d.ts","../../../node_modules/typescript/lib/lib.es2019.string.d.ts","../../../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../node_modules/typescript/lib/lib.es2020.date.d.ts","../../../node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../node_modules/typescript/lib/lib.es2020.string.d.ts","../../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../node_modules/typescript/lib/lib.es2020.number.d.ts","../../../node_modules/typescript/lib/lib.es2021.promise.d.ts","../../../node_modules/typescript/lib/lib.es2021.string.d.ts","../../../node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../../node_modules/typescript/lib/lib.es2021.intl.d.ts","../../../node_modules/typescript/lib/lib.es2022.array.d.ts","../../../node_modules/typescript/lib/lib.es2022.error.d.ts","../../../node_modules/typescript/lib/lib.es2022.intl.d.ts","../../../node_modules/typescript/lib/lib.es2022.object.d.ts","../../../node_modules/typescript/lib/lib.es2022.sharedmemory.d.ts","../../../node_modules/typescript/lib/lib.es2022.string.d.ts","../../../node_modules/typescript/lib/lib.es2022.regexp.d.ts","../../../node_modules/typescript/lib/lib.es2023.array.d.ts","../../../node_modules/typescript/lib/lib.es2023.collection.d.ts","../../../node_modules/typescript/lib/lib.esnext.intl.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","../../../node_modules/@types/node/assert.d.ts","../../../node_modules/@types/node/assert/strict.d.ts","../../../node_modules/buffer/index.d.ts","../../../node_modules/undici-types/header.d.ts","../../../node_modules/undici-types/readable.d.ts","../../../node_modules/undici-types/file.d.ts","../../../node_modules/undici-types/fetch.d.ts","../../../node_modules/undici-types/formdata.d.ts","../../../node_modules/undici-types/connector.d.ts","../../../node_modules/undici-types/client.d.ts","../../../node_modules/undici-types/errors.d.ts","../../../node_modules/undici-types/dispatcher.d.ts","../../../node_modules/undici-types/global-dispatcher.d.ts","../../../node_modules/undici-types/global-origin.d.ts","../../../node_modules/undici-types/pool-stats.d.ts","../../../node_modules/undici-types/pool.d.ts","../../../node_modules/undici-types/handlers.d.ts","../../../node_modules/undici-types/balanced-pool.d.ts","../../../node_modules/undici-types/agent.d.ts","../../../node_modules/undici-types/mock-interceptor.d.ts","../../../node_modules/undici-types/mock-agent.d.ts","../../../node_modules/undici-types/mock-client.d.ts","../../../node_modules/undici-types/mock-pool.d.ts","../../../node_modules/undici-types/mock-errors.d.ts","../../../node_modules/undici-types/proxy-agent.d.ts","../../../node_modules/undici-types/api.d.ts","../../../node_modules/undici-types/cookies.d.ts","../../../node_modules/undici-types/patch.d.ts","../../../node_modules/undici-types/filereader.d.ts","../../../node_modules/undici-types/diagnostics-channel.d.ts","../../../node_modules/undici-types/websocket.d.ts","../../../node_modules/undici-types/content-type.d.ts","../../../node_modules/undici-types/cache.d.ts","../../../node_modules/undici-types/interceptors.d.ts","../../../node_modules/undici-types/index.d.ts","../../../node_modules/@types/node/globals.d.ts","../../../node_modules/@types/node/async_hooks.d.ts","../../../node_modules/@types/node/buffer.d.ts","../../../node_modules/@types/node/child_process.d.ts","../../../node_modules/@types/node/cluster.d.ts","../../../node_modules/@types/node/console.d.ts","../../../node_modules/@types/node/constants.d.ts","../../../node_modules/@types/node/crypto.d.ts","../../../node_modules/@types/node/dgram.d.ts","../../../node_modules/@types/node/diagnostics_channel.d.ts","../../../node_modules/@types/node/dns.d.ts","../../../node_modules/@types/node/dns/promises.d.ts","../../../node_modules/@types/node/domain.d.ts","../../../node_modules/@types/node/dom-events.d.ts","../../../node_modules/@types/node/events.d.ts","../../../node_modules/@types/node/fs.d.ts","../../../node_modules/@types/node/fs/promises.d.ts","../../../node_modules/@types/node/http.d.ts","../../../node_modules/@types/node/http2.d.ts","../../../node_modules/@types/node/https.d.ts","../../../node_modules/@types/node/inspector.d.ts","../../../node_modules/@types/node/module.d.ts","../../../node_modules/@types/node/net.d.ts","../../../node_modules/@types/node/os.d.ts","../../../node_modules/@types/node/path.d.ts","../../../node_modules/@types/node/perf_hooks.d.ts","../../../node_modules/@types/node/process.d.ts","../../../node_modules/@types/node/punycode.d.ts","../../../node_modules/@types/node/querystring.d.ts","../../../node_modules/@types/node/readline.d.ts","../../../node_modules/@types/node/readline/promises.d.ts","../../../node_modules/@types/node/repl.d.ts","../../../node_modules/@types/node/stream.d.ts","../../../node_modules/@types/node/stream/promises.d.ts","../../../node_modules/@types/node/stream/consumers.d.ts","../../../node_modules/@types/node/stream/web.d.ts","../../../node_modules/@types/node/string_decoder.d.ts","../../../node_modules/@types/node/test.d.ts","../../../node_modules/@types/node/timers.d.ts","../../../node_modules/@types/node/timers/promises.d.ts","../../../node_modules/@types/node/tls.d.ts","../../../node_modules/@types/node/trace_events.d.ts","../../../node_modules/@types/node/tty.d.ts","../../../node_modules/@types/node/url.d.ts","../../../node_modules/@types/node/util.d.ts","../../../node_modules/@types/node/v8.d.ts","../../../node_modules/@types/node/vm.d.ts","../../../node_modules/@types/node/wasi.d.ts","../../../node_modules/@types/node/worker_threads.d.ts","../../../node_modules/@types/node/zlib.d.ts","../../../node_modules/@types/node/globals.global.d.ts","../../../node_modules/@types/node/index.d.ts","../../../node_modules/@types/jsonfile/index.d.ts","../../../node_modules/@types/jsonfile/utils.d.ts","../../../node_modules/@types/fs-extra/index.d.ts","../../types-dev/utils.d.ts","../../types-dev/objects.d.ts","../../types-dev/config.d.ts","../../types-dev/index.d.ts","../../../node_modules/promisify-child-process/index.d.ts","../../../node_modules/execa/index.d.ts","../../common-db/node_modules/@alcalzone/pak/build/lib/package-managers/package-manager.d.ts","../../common-db/node_modules/@alcalzone/pak/build/lib/package-managers/npm/index.d.ts","../../common-db/node_modules/@alcalzone/pak/build/lib/package-managers/yarn-berry/index.d.ts","../../common-db/node_modules/@alcalzone/pak/build/lib/package-managers/yarn-classic/index.d.ts","../../common-db/node_modules/@alcalzone/pak/build/lib/pak.d.ts","../../common-db/node_modules/@alcalzone/pak/build/index.d.ts","../../common-db/build/esm/lib/common/maybeCallback.d.ts","../../common-db/build/esm/lib/common/tools.d.ts","../../db-base/build/esm/lib/inMemFileDB.d.ts","../../db-states-redis/build/esm/lib/states/statesInRedisClient.d.ts","../../db-states-redis/build/esm/lib/states/interview.d.ts","../../db-states-redis/build/esm/index.d.ts","../src/lib/common/states.ts","../../db-objects-redis/build/esm/lib/objects/constants.d.ts","../../db-objects-redis/build/esm/lib/objects/objectsUtils.d.ts","../../db-objects-redis/build/esm/lib/objects/objectsInRedisClient.d.ts","../../db-objects-redis/build/esm/lib/objects/interview.d.ts","../../db-objects-redis/build/esm/index.d.ts","../src/lib/common/objects.ts","../../common-db/build/esm/lib/common/exitCodes.d.ts","../../common-db/build/esm/lib/common/password.d.ts","../../../node_modules/@types/triple-beam/index.d.ts","../../../node_modules/logform/index.d.ts","../../../node_modules/winston-transport/index.d.ts","../../../node_modules/winston/lib/winston/config/index.d.ts","../../../node_modules/winston/lib/winston/transports/index.d.ts","../../../node_modules/winston/index.d.ts","../../common-db/build/esm/lib/common/logger.d.ts","../../common-db/build/esm/lib/common/interview.d.ts","../../common-db/build/esm/lib/common/session.d.ts","../../common-db/build/esm/lib/common/constants.d.ts","../../common-db/build/esm/index.d.ts","../src/lib/common/notificationHandler.ts","../../../node_modules/jszip/index.d.ts","../src/lib/common/zipFiles.ts","../src/lib/common/tools.ts","../src/index.ts","../../../node_modules/@types/argparse/index.d.ts","../../../node_modules/@types/chai/index.d.ts","../../../node_modules/@types/chai-as-promised/index.d.ts","../../../node_modules/@types/ms/index.d.ts","../../../node_modules/@types/debug/index.d.ts","../../../node_modules/@types/estree/index.d.ts","../../../node_modules/@types/json-schema/index.d.ts","../../../node_modules/@types/eslint/use-at-your-own-risk.d.ts","../../../node_modules/@types/eslint/index.d.ts","../../../node_modules/@types/event-stream/index.d.ts","../../../node_modules/@types/glossy/index.d.ts","../../../node_modules/@types/ioredis/index.d.ts","../../../node_modules/@types/jsonwebtoken/index.d.ts","../../../node_modules/@types/mime-types/index.d.ts","../../../node_modules/@types/minimatch/index.d.ts","../../../node_modules/@types/minimist/index.d.ts","../../../node_modules/@types/mocha/index.d.ts","../../../node_modules/@types/node-forge/index.d.ts","../../../node_modules/@types/node-schedule/index.d.ts","../../../node_modules/@types/normalize-package-data/index.d.ts","../../../node_modules/@types/pidusage/index.d.ts","../../../node_modules/@types/revalidator/index.d.ts","../../../node_modules/@types/prompt/index.d.ts","../../../node_modules/@types/readline-sync/index.d.ts","../../../node_modules/@types/semver/classes/semver.d.ts","../../../node_modules/@types/semver/functions/parse.d.ts","../../../node_modules/@types/semver/functions/valid.d.ts","../../../node_modules/@types/semver/functions/clean.d.ts","../../../node_modules/@types/semver/functions/inc.d.ts","../../../node_modules/@types/semver/functions/diff.d.ts","../../../node_modules/@types/semver/functions/major.d.ts","../../../node_modules/@types/semver/functions/minor.d.ts","../../../node_modules/@types/semver/functions/patch.d.ts","../../../node_modules/@types/semver/functions/prerelease.d.ts","../../../node_modules/@types/semver/functions/compare.d.ts","../../../node_modules/@types/semver/functions/rcompare.d.ts","../../../node_modules/@types/semver/functions/compare-loose.d.ts","../../../node_modules/@types/semver/functions/compare-build.d.ts","../../../node_modules/@types/semver/functions/sort.d.ts","../../../node_modules/@types/semver/functions/rsort.d.ts","../../../node_modules/@types/semver/functions/gt.d.ts","../../../node_modules/@types/semver/functions/lt.d.ts","../../../node_modules/@types/semver/functions/eq.d.ts","../../../node_modules/@types/semver/functions/neq.d.ts","../../../node_modules/@types/semver/functions/gte.d.ts","../../../node_modules/@types/semver/functions/lte.d.ts","../../../node_modules/@types/semver/functions/cmp.d.ts","../../../node_modules/@types/semver/functions/coerce.d.ts","../../../node_modules/@types/semver/classes/comparator.d.ts","../../../node_modules/@types/semver/classes/range.d.ts","../../../node_modules/@types/semver/functions/satisfies.d.ts","../../../node_modules/@types/semver/ranges/max-satisfying.d.ts","../../../node_modules/@types/semver/ranges/min-satisfying.d.ts","../../../node_modules/@types/semver/ranges/to-comparators.d.ts","../../../node_modules/@types/semver/ranges/min-version.d.ts","../../../node_modules/@types/semver/ranges/valid.d.ts","../../../node_modules/@types/semver/ranges/outside.d.ts","../../../node_modules/@types/semver/ranges/gtr.d.ts","../../../node_modules/@types/semver/ranges/ltr.d.ts","../../../node_modules/@types/semver/ranges/intersects.d.ts","../../../node_modules/@types/semver/ranges/simplify.d.ts","../../../node_modules/@types/semver/ranges/subset.d.ts","../../../node_modules/@types/semver/internals/identifiers.d.ts","../../../node_modules/@types/semver/index.d.ts","../../../node_modules/@types/sinonjs__fake-timers/index.d.ts","../../../node_modules/@types/sinon/index.d.ts","../../../node_modules/@types/sinon-chai/index.d.ts","../../../node_modules/minipass/index.d.ts","../../../node_modules/@types/tar/index.d.ts","../../../node_modules/@types/winston-syslog/index.d.ts","../../../node_modules/@types/yargs-parser/index.d.ts","../../../node_modules/@types/yargs/index.d.ts"],"fileInfos":[{"version":"824cb491a40f7e8fdeb56f1df5edf91b23f3e3ee6b4cde84d4a99be32338faee","affectsGlobalScope":true,"impliedFormat":1},{"version":"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","impliedFormat":1},{"version":"3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","impliedFormat":1},{"version":"9a68c0c07ae2fa71b44384a839b7b8d81662a236d4b9ac30916718f7510b1b2d","impliedFormat":1},{"version":"5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","impliedFormat":1},{"version":"68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","impliedFormat":1},{"version":"5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","impliedFormat":1},{"version":"feecb1be483ed332fad555aff858affd90a48ab19ba7272ee084704eb7167569","impliedFormat":1},{"version":"5514e54f17d6d74ecefedc73c504eadffdeda79c7ea205cf9febead32d45c4bc","impliedFormat":1},{"version":"1c0cdb8dc619bc549c3e5020643e7cf7ae7940058e8c7e5aefa5871b6d86f44b","impliedFormat":1},{"version":"138fb588d26538783b78d1e3b2c2cc12d55840b97bf5e08bca7f7a174fbe2f17","affectsGlobalScope":true,"impliedFormat":1},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true,"impliedFormat":1},{"version":"4443e68b35f3332f753eacc66a04ac1d2053b8b035a0e0ac1d455392b5e243b3","affectsGlobalScope":true,"impliedFormat":1},{"version":"bc47685641087c015972a3f072480889f0d6c65515f12bd85222f49a98952ed7","affectsGlobalScope":true,"impliedFormat":1},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true,"impliedFormat":1},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true,"impliedFormat":1},{"version":"93495ff27b8746f55d19fcbcdbaccc99fd95f19d057aed1bd2c0cafe1335fbf0","affectsGlobalScope":true,"impliedFormat":1},{"version":"6fc23bb8c3965964be8c597310a2878b53a0306edb71d4b5a4dfe760186bcc01","affectsGlobalScope":true,"impliedFormat":1},{"version":"ea011c76963fb15ef1cdd7ce6a6808b46322c527de2077b6cfdf23ae6f5f9ec7","affectsGlobalScope":true,"impliedFormat":1},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true,"impliedFormat":1},{"version":"bb42a7797d996412ecdc5b2787720de477103a0b2e53058569069a0e2bae6c7e","affectsGlobalScope":true,"impliedFormat":1},{"version":"4738f2420687fd85629c9efb470793bb753709c2379e5f85bc1815d875ceadcd","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true,"impliedFormat":1},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true,"impliedFormat":1},{"version":"9fc46429fbe091ac5ad2608c657201eb68b6f1b8341bd6d670047d32ed0a88fa","affectsGlobalScope":true,"impliedFormat":1},{"version":"61c37c1de663cf4171e1192466e52c7a382afa58da01b1dc75058f032ddf0839","affectsGlobalScope":true,"impliedFormat":1},{"version":"b541a838a13f9234aba650a825393ffc2292dc0fc87681a5d81ef0c96d281e7a","affectsGlobalScope":true,"impliedFormat":1},{"version":"b20fe0eca9a4e405f1a5ae24a2b3290b37cf7f21eba6cbe4fc3fab979237d4f3","affectsGlobalScope":true,"impliedFormat":1},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true,"impliedFormat":1},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true,"impliedFormat":1},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true,"impliedFormat":1},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true,"impliedFormat":1},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true,"impliedFormat":1},{"version":"49ed889be54031e1044af0ad2c603d627b8bda8b50c1a68435fe85583901d072","affectsGlobalScope":true,"impliedFormat":1},{"version":"e93d098658ce4f0c8a0779e6cab91d0259efb88a318137f686ad76f8410ca270","affectsGlobalScope":true,"impliedFormat":1},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true,"impliedFormat":1},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true,"impliedFormat":1},{"version":"bf14a426dbbf1022d11bd08d6b8e709a2e9d246f0c6c1032f3b2edb9a902adbe","affectsGlobalScope":true,"impliedFormat":1},{"version":"5e07ed3809d48205d5b985642a59f2eba47c402374a7cf8006b686f79efadcbd","affectsGlobalScope":true,"impliedFormat":1},{"version":"2b72d528b2e2fe3c57889ca7baef5e13a56c957b946906d03767c642f386bbc3","affectsGlobalScope":true,"impliedFormat":1},{"version":"8073890e29d2f46fdbc19b8d6d2eb9ea58db9a2052f8640af20baff9afbc8640","affectsGlobalScope":true,"impliedFormat":1},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true,"impliedFormat":1},{"version":"af3dd424cf267428f30ccfc376f47a2c0114546b55c44d8c0f1d57d841e28d74","affectsGlobalScope":true,"impliedFormat":1},{"version":"995c005ab91a498455ea8dfb63aa9f83fa2ea793c3d8aa344be4a1678d06d399","affectsGlobalScope":true,"impliedFormat":1},{"version":"51e547984877a62227042850456de71a5c45e7fe86b7c975c6e68896c86fa23b","affectsGlobalScope":true,"impliedFormat":1},{"version":"956d27abdea9652e8368ce029bb1e0b9174e9678a273529f426df4b3d90abd60","affectsGlobalScope":true,"impliedFormat":1},{"version":"4fa6ed14e98aa80b91f61b9805c653ee82af3502dc21c9da5268d3857772ca05","affectsGlobalScope":true,"impliedFormat":1},{"version":"e6633e05da3ff36e6da2ec170d0d03ccf33de50ca4dc6f5aeecb572cedd162fb","affectsGlobalScope":true,"impliedFormat":1},{"version":"d8670852241d4c6e03f2b89d67497a4bbefe29ecaa5a444e2c11a9b05e6fccc6","affectsGlobalScope":true,"impliedFormat":1},{"version":"8444af78980e3b20b49324f4a16ba35024fef3ee069a0eb67616ea6ca821c47a","affectsGlobalScope":true,"impliedFormat":1},{"version":"caccc56c72713969e1cfe5c3d44e5bab151544d9d2b373d7dbe5a1e4166652be","affectsGlobalScope":true,"impliedFormat":1},{"version":"3287d9d085fbd618c3971944b65b4be57859f5415f495b33a6adc994edd2f004","affectsGlobalScope":true,"impliedFormat":1},{"version":"50d53ccd31f6667aff66e3d62adf948879a3a16f05d89882d1188084ee415bbc","affectsGlobalScope":true,"impliedFormat":1},{"version":"08a58483392df5fcc1db57d782e87734f77ae9eab42516028acbfe46f29a3ef7","affectsGlobalScope":true,"impliedFormat":1},{"version":"436aaf437562f276ec2ddbee2f2cdedac7664c1e4c1d2c36839ddd582eeb3d0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"13f6e6380c78e15e140243dc4be2fa546c287c6d61f4729bc2dd7cf449605471","affectsGlobalScope":true,"impliedFormat":1},{"version":"33358442698bb565130f52ba79bfd3d4d484ac85fe33f3cb1759c54d18201393","affectsGlobalScope":true,"impliedFormat":1},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true,"impliedFormat":1},{"version":"0b4bc32128fda7bb0752cf284730dd3a817aae04a3d7f92e3b2d54bd61362fe1","impliedFormat":1},{"version":"7394959e5a741b185456e1ef5d64599c36c60a323207450991e7a42e08911419","impliedFormat":1},{"version":"8e9c23ba78aabc2e0a27033f18737a6df754067731e69dc5f52823957d60a4b6","impliedFormat":1},{"version":"5929864ce17fba74232584d90cb721a89b7ad277220627cc97054ba15a98ea8f","impliedFormat":1},{"version":"7180c03fd3cb6e22f911ce9ba0f8a7008b1a6ddbe88ccf16a9c8140ef9ac1686","impliedFormat":1},{"version":"25c8056edf4314820382a5fdb4bb7816999acdcb929c8f75e3f39473b87e85bc","impliedFormat":1},{"version":"54cb85a47d760da1c13c00add10d26b5118280d44d58e6908d8e89abbd9d7725","impliedFormat":1},{"version":"3e4825171442666d31c845aeb47fcd34b62e14041bb353ae2b874285d78482aa","impliedFormat":1},{"version":"c6fd2c5a395f2432786c9cb8deb870b9b0e8ff7e22c029954fabdd692bff6195","impliedFormat":1},{"version":"a967bfe3ad4e62243eb604bf956101e4c740f5921277c60debaf325c1320bf88","impliedFormat":1},{"version":"e9775e97ac4877aebf963a0289c81abe76d1ec9a2a7778dbe637e5151f25c5f3","impliedFormat":1},{"version":"471e1da5a78350bc55ef8cef24eb3aca6174143c281b8b214ca2beda51f5e04a","impliedFormat":1},{"version":"cadc8aced301244057c4e7e73fbcae534b0f5b12a37b150d80e5a45aa4bebcbd","impliedFormat":1},{"version":"385aab901643aa54e1c36f5ef3107913b10d1b5bb8cbcd933d4263b80a0d7f20","impliedFormat":1},{"version":"9670d44354bab9d9982eca21945686b5c24a3f893db73c0dae0fd74217a4c219","impliedFormat":1},{"version":"db3435f3525cd785bf21ec6769bf8da7e8a776be1a99e2e7efb5f244a2ef5fee","impliedFormat":1},{"version":"c3b170c45fc031db31f782e612adf7314b167e60439d304b49e704010e7bafe5","impliedFormat":1},{"version":"40383ebef22b943d503c6ce2cb2e060282936b952a01bea5f9f493d5fb487cc7","impliedFormat":1},{"version":"4893a895ea92c85345017a04ed427cbd6a1710453338df26881a6019432febdd","impliedFormat":1},{"version":"3a84b7cb891141824bd00ef8a50b6a44596aded4075da937f180c90e362fe5f6","impliedFormat":1},{"version":"13f6f39e12b1518c6650bbb220c8985999020fe0f21d818e28f512b7771d00f9","impliedFormat":1},{"version":"9b5369969f6e7175740bf51223112ff209f94ba43ecd3bb09eefff9fd675624a","impliedFormat":1},{"version":"4fe9e626e7164748e8769bbf74b538e09607f07ed17c2f20af8d680ee49fc1da","impliedFormat":1},{"version":"24515859bc0b836719105bb6cc3d68255042a9f02a6022b3187948b204946bd2","impliedFormat":1},{"version":"33203609eba548914dc83ddf6cadbc0bcb6e8ef89f6d648ca0908ae887f9fcc5","impliedFormat":1},{"version":"0db18c6e78ea846316c012478888f33c11ffadab9efd1cc8bcc12daded7a60b6","impliedFormat":1},{"version":"89167d696a849fce5ca508032aabfe901c0868f833a8625d5a9c6e861ef935d2","impliedFormat":1},{"version":"e53a3c2a9f624d90f24bf4588aacd223e7bec1b9d0d479b68d2f4a9e6011147f","impliedFormat":1},{"version":"339dc5265ee5ed92e536a93a04c4ebbc2128f45eeec6ed29f379e0085283542c","impliedFormat":1},{"version":"9f0a92164925aa37d4a5d9dd3e0134cff8177208dba55fd2310cd74beea40ee2","impliedFormat":1},{"version":"8bfdb79bf1a9d435ec48d9372dc93291161f152c0865b81fc0b2694aedb4578d","impliedFormat":1},{"version":"2e85db9e6fd73cfa3d7f28e0ab6b55417ea18931423bd47b409a96e4a169e8e6","impliedFormat":1},{"version":"c46e079fe54c76f95c67fb89081b3e399da2c7d109e7dca8e4b58d83e332e605","impliedFormat":1},{"version":"d32275be3546f252e3ad33976caf8c5e842c09cb87d468cb40d5f4cf092d1acc","impliedFormat":1},{"version":"4a0c3504813a3289f7fb1115db13967c8e004aa8e4f8a9021b95285502221bd1","impliedFormat":1},{"version":"e0ff8536ee3551be5d7df3658e5718a1e4452429420bf13619e5bb7033d28cce","affectsGlobalScope":true,"impliedFormat":1},{"version":"39b1a50d543770780b0409a4caacb87f3ff1d510aedfeb7dc06ed44188256f89","impliedFormat":1},{"version":"dbb0130f7a98777a15befd9ae95a1608feb5223f9576067c80a4f0740708db5a","affectsGlobalScope":true,"impliedFormat":1},{"version":"e4b50850c2a62c7750428e452ee24b167180104d514d5e5c0ca691753365f610","impliedFormat":1},{"version":"304504c854c47a55ab4a89111a27a2daf8a3614740bd787cc1f2c51e5574239c","impliedFormat":1},{"version":"95f9129a37dcace36e17b061a8484952586ecfe928c9c8ce526de1a2f4aaefa7","affectsGlobalScope":true,"impliedFormat":1},{"version":"a40826e8476694e90da94aa008283a7de50d1dafd37beada623863f1901cb7fb","impliedFormat":1},{"version":"c89152f87c874fe56754bd7b3df048f70b7af710dcf114b8ec5a8215e69c288d","impliedFormat":1},{"version":"e46fa644658c2d6e5c85e954ea76b92c97d63f0851d3ccdab8c2a80d5962aaa9","impliedFormat":1},{"version":"1c611ff373ce1958aafc40b328048ac2540ba5c7f373cf2897e0d9aeaabe90a0","impliedFormat":1},{"version":"a307d22a0130ac94c1a17fffa6d57ac272deb5838cb966a9420911d259cdf1be","impliedFormat":1},{"version":"d2e415abf6cb81ac9e2700b4db5ea7be76b997e812285b8e5e1e414eb2750b6e","impliedFormat":1},{"version":"09d6cebdced6aa1181ac1523c8f22a133f5ed80589678b64051f0602f0518374","impliedFormat":1},{"version":"ee1ee365d88c4c6c0c0a5a5701d66ebc27ccd0bcfcfaa482c6e2e7fe7b98edf7","affectsGlobalScope":true,"impliedFormat":1},{"version":"7c35691dc3972ff1507d8dd279d833f540973d0917bde22e191cf7a8feaac29f","affectsGlobalScope":true,"impliedFormat":1},{"version":"62662d7a886e5cfa870685720fd27b763743ca4d2cf29326f75d76606a64eadd","impliedFormat":1},{"version":"b8c670688bd228d3cc9c169690b09b687188c50ff263a94df63b207701105ad9","impliedFormat":1},{"version":"d8e16905907111390d5a943816306ae997dfe56476f14142166f8b13ee322eea","impliedFormat":1},{"version":"8068c911a1c40bc6c5ffc58c625b21d807778f6aa6d63a73e6f04f88bcac5b79","impliedFormat":1},{"version":"a1dbce56ad5f3a37caafb9033c9d190a199217d673f5fa099c8968d471a2fdaa","impliedFormat":1},{"version":"aef4bbfdf2111725ba8f3e7c0057a14b6ec94fa51b3b29720dc20c634d63c880","impliedFormat":1},{"version":"0c9f257fcf9e9c360c8dea63d509e30aa8fc3f5cad152b557dc7e597ceb6d605","affectsGlobalScope":true,"impliedFormat":1},{"version":"269d0ea3202820c29a32c1f2a357837a4f1918426844f7e7c90af15ec40d1dc1","impliedFormat":1},{"version":"66432f885e30cf471573de22a5af5eca9ab46b37b122aec98beadf77e9b7df24","impliedFormat":1},{"version":"323506ce173f7f865f42f493885ee3dacd18db6359ea1141d57676d3781ce10c","impliedFormat":1},{"version":"dfa61793c07f6842459ca472c00320e78b19590a2b278f73e07436ffc034e47d","affectsGlobalScope":true,"impliedFormat":1},{"version":"e9e2e0c6e5e9ba4aff4d22b7eab4a4b4e7df9612b7e13f28001913dd5cba73ab","affectsGlobalScope":true,"impliedFormat":1},{"version":"ea3ab3727cd6c222d94003ecafa30e8550c61eadcdabbf59514aee76e86211a5","impliedFormat":1},{"version":"d3cdd41693c5ed6bec4f1a1c399d9501372b14bd341bc46eedacf2854c5df5a7","impliedFormat":1},{"version":"2de7a21c92226fb8abbeed7a0a9bd8aa6d37e4c68a8c7ff7938c644267e9fcc1","impliedFormat":1},{"version":"6d6070c5c81ba0bfe58988c69e3ba3149fc86421fd383f253aeb071cbf29cd41","impliedFormat":1},{"version":"da618f0ea09d95c3b51514de43bf97dab008c85bede58aa57cf95e4984c7c957","impliedFormat":1},{"version":"48a35b181ecf47dbbc0a7ab4b5ba778d91eaa838ba42bf4aaaead42be77ef39a","impliedFormat":1},{"version":"269929a24b2816343a178008ac9ae9248304d92a8ba8e233055e0ed6dbe6ef71","impliedFormat":1},{"version":"93452d394fdd1dc551ec62f5042366f011a00d342d36d50793b3529bfc9bd633","impliedFormat":1},{"version":"cbc9e04afd604f1c5a0cf8ae0270df36418384b9e8dc9429ba28f9929aeb38dc","affectsGlobalScope":true,"impliedFormat":1},{"version":"c5dbf0003bc9f0f643e54cd00a3868d1afe85497fecb56be6f2373dc85102924","impliedFormat":1},{"version":"5d8cd11d44a41a6966a04e627d38efce8d214edb36daf494153ec15b2b95eee2","affectsGlobalScope":true,"impliedFormat":1},{"version":"300f8e9de0b0c3482be3e749462b6ebc3dab8a316801f1da0def94aed0cd2018","affectsGlobalScope":true,"impliedFormat":1},{"version":"4e228e78c1e9b0a75c70588d59288f63a6258e8b1fe4a67b0c53fe03461421d9","impliedFormat":1},{"version":"962f105729d5b888c8b70e193f6020ee92c6c8144c827de40f80d65dd188ad7f","impliedFormat":1},{"version":"ac74e2b754fba690036f8221d978f6debb867462b87af254f24e924b677395d0","impliedFormat":1},{"version":"80858f6de9af22e53aff221fe3590215ea544c2aeb2cc60cf8e08a9c785c8fef","impliedFormat":1},{"version":"068b8ee5c2cd90d7a50f2efadbbe353cb10196a41189a48bf4b2a867363012b4","affectsGlobalScope":true,"impliedFormat":1},{"version":"340659b96782f5813aad6c1f89ea1b83b2f3fa993115c7b30366375d9bae5a4e","affectsGlobalScope":true,"impliedFormat":1},{"version":"6f44a190351ab5e1811abebe007cf60518044772ccc08244f9f241706afa767f","impliedFormat":1},{"version":"fecdf44bec4ee9c5188e5f2f58c292c9689c02520900dceaaa6e76594de6da90","impliedFormat":1},{"version":"cf45d0510b661f1da461479851ff902f188edb111777c37055eff12fa986a23a","impliedFormat":1},{"version":"895ca532c15c77cbb6a871af1870b57bcd0ca4f38a1bd69669dd0e95bb58565a","affectsGlobalScope":true,"impliedFormat":1},{"version":"f2b9440f98d6f94c8105883a2b65aee2fce0248f71f41beafd0a80636f3a565d","impliedFormat":1},{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true,"impliedFormat":1},{"version":"b510d0a18e3db42ac9765d26711083ec1e8b4e21caaca6dc4d25ae6e8623f447","impliedFormat":1},{"version":"211440ce81e87b3491cdf07155881344b0a61566df6e749acff0be7e8b9d1a07","impliedFormat":1},{"version":"5d9a0b6e6be8dbb259f64037bce02f34692e8c1519f5cd5d467d7fa4490dced4","impliedFormat":1},{"version":"880da0e0f3ebca42f9bd1bc2d3e5e7df33f2619d85f18ee0ed4bd16d1800bc32","impliedFormat":1},{"version":"e12a40ba307d38757b6f0637958d945de7442dbd0986fd3e4f7a61cc65b3bc61","impliedFormat":1},{"version":"6ddef487afd7e6961dfa77102d7bd61a8e44146e5028cbcac524efaa4cdff735","affectsGlobalScope":true,"impliedFormat":1},{"version":"7f6f50154127d4da065cdc1ec3b1419b571b4864ca27921af5bb7d4e58244756","impliedFormat":1},{"version":"af3a8ef6308b1d0cce775bf40602311d8dd4ba534d37c92a1b2879467f820c5b","affectsGlobalScope":true,"impliedFormat":1},{"version":"45e2f08258e671e67a177bd9057e785956c23b2542308f9559db037fe1114105","impliedFormat":1},{"version":"da51964a650a3b8d775267a55e8a590b1eb6bb605cc3f6d10830370d77135557","impliedFormat":1},{"version":"6cf45d4fd013b7c4ba1cd422555a3170946dc1d3804e135b5c4a971dbe4c1aa7","impliedFormat":1},{"version":"2fd34e1921bb7e6706b8d9fcb5d4d9f2f3e23e742e38bdb3094c83668ca09070","impliedFormat":1},{"version":"be2ab41bbfa1db74d67df1a5cb0c00b5f6d4badc0bc35cff2984880e2698bc1b","impliedFormat":1},{"version":"746b7007f5959dc155f54964ce3d1f8289e914ad480f1f7ff64f54515415a637","impliedFormat":1},{"version":"41e1718c5738cd9261acc61439f2156ed3b8a3267de9805e55b3cf7d839f5063","impliedFormat":1},{"version":"4e20f9be439bf149c8f336a7d9efb1dcc785a29d8cbb73efa279f8bf883a7058","impliedFormat":1},{"version":"07e25f754a8435121d3ba0012458e3e10ae6f3fddeffebb2b1054a0579fad3ea","impliedFormat":99},{"version":"c5f9c9c704d6466e771886e28018d2fe877f347d36fd1e99ddb8d36a99ff6dc3","impliedFormat":99},{"version":"099b997612cf9d0bdb69222aeda9018094a3b18df31d294581b66eafb170087e","impliedFormat":99},{"version":"49c29ec99063ee31b71ea795915f541c6a3bc387c193af080e46739c34ee85e0","impliedFormat":99},{"version":"320fe0b288e48a0f6f84ea9df38d89195c33b7766e01ff80a1bcea657fb28bf7","impliedFormat":99},{"version":"853e4278fc54030c46d89f94bf961231c9f348e19963b2546a8fe960b1e6f360","impliedFormat":99},{"version":"935d217f42d6fd1aa7afbe8f384c77cfbdaa9ccc21924f41d45454f795123ccf","signature":"4cb86a340f1cc016d9167ed9eb106431dd19208cca03543f0be43ac2a1764816","impliedFormat":99},{"version":"ba56e7c11bd24eca78daa7147a870697ab31f3f14a9c56158ab9c26080019ab7","impliedFormat":99},{"version":"e659b13059a9648ee111b73bb107d78761cf4aa446b29f9a898f6aea7cce8a30","impliedFormat":99},{"version":"b75172c603b477837d916ee73d9fa7951bf90e0635f5c8ac99424a42d91e8bd0","impliedFormat":99},{"version":"36e85619f30581305cb707f60af9882474e802abed2d03125e04c07e763f7c4a","impliedFormat":99},{"version":"f0009b8cd0609df584a4c73a302e8839f6c6dc79807feac2b5f2831d12721964","impliedFormat":99},{"version":"ad1b5aa67b347fef45fa04565631e4ea24a498951ba3f360332e0c94f8e34f05","signature":"88ff2b73bf76ed941ba16aca2508da3b66c3ea44509590469dcd742fab99d029","impliedFormat":99},{"version":"da77aa3d854b204e47ef742c4ecd71cd0b020f802e13b6a7e719367e8b9ccd18","impliedFormat":99},{"version":"e67f962c7c3216ba02cc4563ff44063b36135e0fcdf92b11b0578228f6a007e4","impliedFormat":99},{"version":"908217c4f2244ec402b73533ebfcc46d6dcd34fc1c807ff403d7f98702abb3bc","impliedFormat":1},{"version":"201ced2ca97d71fe47afdaebc656c2fa63ef2784256e4dfc9eb83930f7aac2c2","impliedFormat":1},{"version":"d8b8a5a6bf623239d5374ad4a7ff6f3b195ab5ee61293f59f1957e90d2a22809","impliedFormat":1},{"version":"35d283eca7dc0a0c7b099f5fbbf0678b87f3d837572cd5e539ba297ad9837e68","impliedFormat":1},{"version":"1c8384a195a2d931cf6e2b8f656acf558ca649a3f74922d86b95889f49a7f7c5","impliedFormat":1},{"version":"26ec2c615ee349154b9cdb180a9bbd2d3e28a2646242e936cf79c1a44847ade7","impliedFormat":1},{"version":"56471ec726edfb50d4bc87b83e52f97de74f5d385db3db214f6e3ec2d02a3fb6","impliedFormat":99},{"version":"86a6eee8858453e02abc1196b611b348f9b157d19dcd47660246ede5b6a82676","impliedFormat":99},{"version":"129c10790c7de83509b3d852a79189b475a40b128e0726bd469f96b3d5749811","impliedFormat":99},{"version":"98763329166c62fa0ca9cfc0042bf924605c78bab880dc8b06ec83a445d3d67a","impliedFormat":99},{"version":"54cb16297ded2864aa5a752ac9ff205a85931492c3bdbe8a2ec9e584acb10048","impliedFormat":99},{"version":"102acef1436f0853a04ecdcc563ef67457cfbfaad83663f987b82bdac7aa79bf","signature":"90ff2cbb62804647c1ddc4548adff317488b371769ed39e19fe1f8061f157d5c","impliedFormat":99},{"version":"522cb15ff9bef5a65c2f3dbd10dbba9e7ecae4de32f90f5c0b4198132be63ae4","impliedFormat":1},{"version":"13846ff602b606f34b7653ca433bd147130138bd65f0a2584b4512ee2eac9d37","signature":"2b3348395aa974afac8e4455f0c54ac307aadb0da06e6cf8b95b861a7d4b4211","impliedFormat":99},{"version":"fff6158ce7bb3886160bc48e0cfac17004444c1777eb321034029c01b5d31c77","signature":"e0d9bcbe8d3bb8f712fd77a5c7944838fcc005e3323272f566c6f126708379e3","impliedFormat":99},{"version":"d337eed336ac1377e4a64316cb7b41727b9e35b200bbe01dd8ae9983c20c5ed1","signature":"26077456aeef250560a56816e920f0b1b88891879848ff0282e8992db39bd836","impliedFormat":99},{"version":"dc3b172ee27054dbcedcf5007b78c256021db936f6313a9ce9a3ecbb503fd646","impliedFormat":1},{"version":"6a9eb9c5d3f7474937973fe4b0a9e53025634c2e39118eda436d89f3e9df976f","affectsGlobalScope":true,"impliedFormat":1},{"version":"86e56d97b13ef0a58bc9c59aee782ae7d47d63802b5b32129ec5e5d62c20dbfa","affectsGlobalScope":true,"impliedFormat":1},{"version":"68cc8d6fcc2f270d7108f02f3ebc59480a54615be3e09a47e14527f349e9d53e","impliedFormat":1},{"version":"3eb11dbf3489064a47a2e1cf9d261b1f100ef0b3b50ffca6c44dd99d6dd81ac1","impliedFormat":1},{"version":"785b9d575b49124ce01b46f5b9402157c7611e6532effa562ac6aebec0074dfc","impliedFormat":1},{"version":"f3d8c757e148ad968f0d98697987db363070abada5f503da3c06aefd9d4248c1","impliedFormat":1},{"version":"a4a39b5714adfcadd3bbea6698ca2e942606d833bde62ad5fb6ec55f5e438ff8","impliedFormat":1},{"version":"bbc1d029093135d7d9bfa4b38cbf8761db505026cc458b5e9c8b74f4000e5e75","impliedFormat":1},{"version":"c3ae6bb11d6666d56efb16b56903895ba5320c2c2b0fecaf27784ef4599ac632","impliedFormat":1},{"version":"3b43f7224c99344262753af8fc1bb66cf0dc36fb15de92a190af88502c6256f6","impliedFormat":1},{"version":"be00321090ed100e3bd1e566c0408004137e73feb19d6380eba57d68519ff6c5","impliedFormat":1},{"version":"bb4ed283cfb3db7ec1d4bb79c37f5e96d39b340f1f4de995c4b0b836c8d5fa05","impliedFormat":1},{"version":"169cc96316cacf8b489aaab4ac6bcef7b33e8779a8902bce57c737b4aa372d16","impliedFormat":1},{"version":"8841e2aa774b89bd23302dede20663306dc1b9902431ac64b24be8b8d0e3f649","impliedFormat":1},{"version":"fbca5ffaebf282ec3cdac47b0d1d4a138a8b0bb32105251a38acb235087d3318","impliedFormat":1},{"version":"c67a7b7eec0175ea53343429d32897fcad406c663ba4b775eab8be8164bff91c","affectsGlobalScope":true,"impliedFormat":1},{"version":"8b5402ae709d042c3530ed3506c135a967159f42aed3221267e70c5b7240b577","impliedFormat":1},{"version":"4f5269c28ed792a21efe3e2733a3398cb83f84384ccd9c5cd5a0950fdb211342","impliedFormat":1},{"version":"22293bd6fa12747929f8dfca3ec1684a3fe08638aa18023dd286ab337e88a592","impliedFormat":1},{"version":"327fddc7dd391f1e62262dafe41fc9cabedb4a5758a5cfce979cebab1456abb8","impliedFormat":1},{"version":"ec596fa2357df1b2702e42bcba645422eb727ab5c81136f78590f21a100286e1","affectsGlobalScope":true,"impliedFormat":1},{"version":"08d95e4bdb24b6e9215c10437a848b54148bc028e00c8809b5c2bb22d2411090","impliedFormat":1},{"version":"a016d2f6c0a2c15069ec69661ad37c86a450deb629ce96a592f15f01d3a5746e","impliedFormat":1},{"version":"cf3d384d082b933d987c4e2fe7bfb8710adfd9dc8155190056ed6695a25a559e","impliedFormat":1},{"version":"9871b7ee672bc16c78833bdab3052615834b08375cb144e4d2cba74473f4a589","impliedFormat":1},{"version":"c863198dae89420f3c552b5a03da6ed6d0acfa3807a64772b895db624b0de707","impliedFormat":1},{"version":"8b03a5e327d7db67112ebbc93b4f744133eda2c1743dbb0a990c61a8007823ef","impliedFormat":1},{"version":"86c73f2ee1752bac8eeeece234fd05dfcf0637a4fbd8032e4f5f43102faa8eec","impliedFormat":1},{"version":"42fad1f540271e35ca37cecda12c4ce2eef27f0f5cf0f8dd761d723c744d3159","impliedFormat":1},{"version":"ff3743a5de32bee10906aff63d1de726f6a7fd6ee2da4b8229054dfa69de2c34","impliedFormat":1},{"version":"83acd370f7f84f203e71ebba33ba61b7f1291ca027d7f9a662c6307d74e4ac22","impliedFormat":1},{"version":"1445cec898f90bdd18b2949b9590b3c012f5b7e1804e6e329fb0fe053946d5ec","impliedFormat":1},{"version":"0e5318ec2275d8da858b541920d9306650ae6ac8012f0e872fe66eb50321a669","impliedFormat":1},{"version":"cf530297c3fb3a92ec9591dd4fa229d58b5981e45fe6702a0bd2bea53a5e59be","impliedFormat":1},{"version":"c1f6f7d08d42148ddfe164d36d7aba91f467dbcb3caa715966ff95f55048b3a4","impliedFormat":1},{"version":"f4e9bf9103191ef3b3612d3ec0044ca4044ca5be27711fe648ada06fad4bcc85","impliedFormat":1},{"version":"0c1ee27b8f6a00097c2d6d91a21ee4d096ab52c1e28350f6362542b55380059a","impliedFormat":1},{"version":"7677d5b0db9e020d3017720f853ba18f415219fb3a9597343b1b1012cfd699f7","impliedFormat":1},{"version":"bc1c6bc119c1784b1a2be6d9c47addec0d83ef0d52c8fbe1f14a51b4dfffc675","impliedFormat":1},{"version":"52cf2ce99c2a23de70225e252e9822a22b4e0adb82643ab0b710858810e00bf1","impliedFormat":1},{"version":"770625067bb27a20b9826255a8d47b6b5b0a2d3dfcbd21f89904c731f671ba77","impliedFormat":1},{"version":"d1ed6765f4d7906a05968fb5cd6d1db8afa14dbe512a4884e8ea5c0f5e142c80","impliedFormat":1},{"version":"799c0f1b07c092626cf1efd71d459997635911bb5f7fc1196efe449bba87e965","impliedFormat":1},{"version":"2a184e4462b9914a30b1b5c41cf80c6d3428f17b20d3afb711fff3f0644001fd","impliedFormat":1},{"version":"9eabde32a3aa5d80de34af2c2206cdc3ee094c6504a8d0c2d6d20c7c179503cc","impliedFormat":1},{"version":"397c8051b6cfcb48aa22656f0faca2553c5f56187262135162ee79d2b2f6c966","impliedFormat":1},{"version":"a8ead142e0c87dcd5dc130eba1f8eeed506b08952d905c47621dc2f583b1bff9","impliedFormat":1},{"version":"a02f10ea5f73130efca046429254a4e3c06b5475baecc8f7b99a0014731be8b3","impliedFormat":1},{"version":"c2576a4083232b0e2d9bd06875dd43d371dee2e090325a9eac0133fd5650c1cb","impliedFormat":1},{"version":"4c9a0564bb317349de6a24eb4efea8bb79898fa72ad63a1809165f5bd42970dd","impliedFormat":1},{"version":"f40ac11d8859092d20f953aae14ba967282c3bb056431a37fced1866ec7a2681","impliedFormat":1},{"version":"cc11e9e79d4746cc59e0e17473a59d6f104692fd0eeea1bdb2e206eabed83b03","impliedFormat":1},{"version":"b444a410d34fb5e98aa5ee2b381362044f4884652e8bc8a11c8fe14bbd85518e","impliedFormat":1},{"version":"c35808c1f5e16d2c571aa65067e3cb95afeff843b259ecfa2fc107a9519b5392","impliedFormat":1},{"version":"14d5dc055143e941c8743c6a21fa459f961cbc3deedf1bfe47b11587ca4b3ef5","impliedFormat":1},{"version":"a3ad4e1fc542751005267d50a6298e6765928c0c3a8dce1572f2ba6ca518661c","impliedFormat":1},{"version":"f237e7c97a3a89f4591afd49ecb3bd8d14f51a1c4adc8fcae3430febedff5eb6","impliedFormat":1},{"version":"3ffdfbec93b7aed71082af62b8c3e0cc71261cc68d796665faa1e91604fbae8f","impliedFormat":1},{"version":"662201f943ed45b1ad600d03a90dffe20841e725203ced8b708c91fcd7f9379a","impliedFormat":1},{"version":"c9ef74c64ed051ea5b958621e7fb853fe3b56e8787c1587aefc6ea988b3c7e79","impliedFormat":1},{"version":"2462ccfac5f3375794b861abaa81da380f1bbd9401de59ffa43119a0b644253d","impliedFormat":1},{"version":"34baf65cfee92f110d6653322e2120c2d368ee64b3c7981dff08ed105c4f19b0","impliedFormat":1},{"version":"7d8ddf0f021c53099e34ee831a06c394d50371816caa98684812f089b4c6b3d4","impliedFormat":1},{"version":"7d2a0ba1297be385a89b5515b88cd31b4a1eeef5236f710166dc1b36b1741e1b","impliedFormat":1},{"version":"5adc55aaebfb20914e274a1202b5c78638260364997d724dec52d7b2704b461c","impliedFormat":1},{"version":"525b52b38b44420fb1758c0917e7b67cf379f7f9477d2ba7343f3d5f50a44258","affectsGlobalScope":true,"impliedFormat":1},{"version":"58b63c0f3bfac04d639c31a9fe094089c0bdcc8cda7bc35f1f23828677aa7926","impliedFormat":1},{"version":"d51d662a37aa1f1b97ed4caf4f1c25832047b9bfffcc707b53aedd07cd245303","impliedFormat":1},{"version":"b9d02ff98f8c5da182f415c7152b0da746346b0a15e6a93d772eff0c72165b9d","impliedFormat":1},{"version":"bae8d023ef6b23df7da26f51cea44321f95817c190342a36882e93b80d07a960","impliedFormat":1},{"version":"26a770cec4bd2e7dbba95c6e536390fffe83c6268b78974a93727903b515c4e7","impliedFormat":1}],"root":[170,176,190,[192,194]],"options":{"allowJs":false,"checkJs":false,"composite":true,"declaration":true,"declarationMap":true,"esModuleInterop":true,"inlineSourceMap":false,"module":199,"noUncheckedIndexedAccess":true,"outDir":"./esm","rootDir":"../src","skipLibCheck":true,"sourceMap":true,"strict":true,"target":9,"useUnknownInCatchVariables":false},"fileIdsList":[[196],[198],[200,201,202],[203],[129,148],[112,148,149,150],[148],[111,129,137,148],[112,140,148],[111,148],[62],[98],[99,104,132],[100,111,112,119,129,140],[100,101,111,119],[102,141],[103,104,112,120],[104,129,137],[105,107,111,119],[98,106],[107,108],[111],[109,111],[98,111],[111,112,113,129,140],[111,112,113,126,129,132],[96,145],[107,111,114,119,129,140],[111,112,114,115,119,129,137,140],[114,116,129,137,140],[62,63,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147],[111,117],[118,140,145],[107,111,119,129],[120],[121],[98,122],[123,139,145],[124],[125],[111,126,127],[126,128,141,143],[99,111,129,130,131,132],[99,129,131],[129,130],[132],[133],[129],[111,135,136],[135,136],[104,119,129,137],[138],[119,139],[99,114,125,140],[104,141],[129,142],[118,143],[144],[99,104,111,113,122,129,140,143,145],[129,146],[111,139,148,216],[219,258],[219,243,258],[258],[219],[219,244,258],[219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257],[244,258],[196,260],[259],[112,129,146,148,262],[105,119,148,181,205],[265],[100,129,148],[179],[111,129,148],[100],[73,77,140],[73,129,140],[68],[70,73,137,140],[119,137],[68,148],[70,73,119,140],[65,66,69,72,99,111,129,140],[65,71],[69,73,99,132,140,148],[99,148],[89,99,148],[67,68,148],[73],[67,68,69,70,71,72,73,74,75,77,78,79,80,81,82,83,84,85,86,87,88,90,91,92,93,94,95],[73,80,81],[71,73,81,82],[72],[65,68,73],[73,77,81,82],[77],[71,73,76,140],[65,70,71,73,77,80],[99,129],[68,73,89,99,145,148],[129,148,180],[129,148,180,181,182,183],[114,148,181],[165,177,178,185,186,187,188],[155],[184],[100,148,155,156,163,164],[158,162],[158],[129,148,157],[158,159,160,161],[170,176,189,190,192,193],[121,151,169,175,184,189],[151,175,194],[151,169,194],[165,175],[175,191,194],[165],[172,173,174],[155,165,166,172],[155,171],[167,168],[155,165,166],[112,152,153,154],[120,152],[169,175,184],[175],[169]],"referencedMap":[[197,1],[199,2],[203,3],[202,4],[204,5],[151,6],[205,7],[206,8],[149,9],[207,7],[212,7],[213,10],[62,11],[63,11],[98,12],[99,13],[100,14],[101,15],[102,16],[103,17],[104,18],[105,19],[106,20],[107,21],[108,21],[110,22],[109,23],[111,24],[112,25],[113,26],[97,27],[114,28],[115,29],[116,30],[148,31],[117,32],[118,33],[119,34],[120,35],[121,36],[122,37],[123,38],[124,39],[125,40],[126,41],[127,41],[128,42],[129,43],[131,44],[130,45],[132,46],[133,47],[134,48],[135,49],[136,50],[137,51],[138,52],[139,53],[140,54],[141,55],[142,56],[143,57],[144,58],[145,59],[146,60],[217,61],[243,62],[244,63],[219,64],[222,64],[241,62],[242,62],[232,62],[231,65],[229,62],[224,62],[237,62],[235,62],[239,62],[223,62],[236,62],[240,62],[225,62],[226,62],[238,62],[220,62],[227,62],[228,62],[230,62],[234,62],[245,66],[233,62],[221,62],[258,67],[252,66],[254,68],[253,66],[246,66],[247,66],[249,66],[251,66],[255,68],[256,68],[248,68],[250,68],[261,69],[260,70],[263,71],[264,72],[266,73],[157,74],[191,7],[180,75],[262,76],[156,77],[80,78],[87,79],[79,78],[94,80],[71,81],[70,82],[93,7],[88,83],[91,84],[73,85],[72,86],[68,87],[67,88],[90,89],[69,90],[74,91],[78,91],[96,92],[95,91],[82,93],[83,94],[85,95],[81,96],[84,97],[89,7],[76,98],[77,99],[86,100],[66,101],[92,102],[181,103],[184,104],[182,7],[183,105],[189,106],[186,107],[185,108],[165,109],[163,110],[159,111],[158,112],[160,111],[161,111],[162,113],[194,114],[190,115],[176,116],[170,117],[193,118],[192,119],[166,120],[175,121],[174,107],[173,122],[172,123],[169,124],[168,107],[167,125],[155,126],[153,127]],"exportedModulesMap":[[197,1],[199,2],[203,3],[202,4],[204,5],[151,6],[205,7],[206,8],[149,9],[207,7],[212,7],[213,10],[62,11],[63,11],[98,12],[99,13],[100,14],[101,15],[102,16],[103,17],[104,18],[105,19],[106,20],[107,21],[108,21],[110,22],[109,23],[111,24],[112,25],[113,26],[97,27],[114,28],[115,29],[116,30],[148,31],[117,32],[118,33],[119,34],[120,35],[121,36],[122,37],[123,38],[124,39],[125,40],[126,41],[127,41],[128,42],[129,43],[131,44],[130,45],[132,46],[133,47],[134,48],[135,49],[136,50],[137,51],[138,52],[139,53],[140,54],[141,55],[142,56],[143,57],[144,58],[145,59],[146,60],[217,61],[243,62],[244,63],[219,64],[222,64],[241,62],[242,62],[232,62],[231,65],[229,62],[224,62],[237,62],[235,62],[239,62],[223,62],[236,62],[240,62],[225,62],[226,62],[238,62],[220,62],[227,62],[228,62],[230,62],[234,62],[245,66],[233,62],[221,62],[258,67],[252,66],[254,68],[253,66],[246,66],[247,66],[249,66],[251,66],[255,68],[256,68],[248,68],[250,68],[261,69],[260,70],[263,71],[264,72],[266,73],[157,74],[191,7],[180,75],[262,76],[156,77],[80,78],[87,79],[79,78],[94,80],[71,81],[70,82],[93,7],[88,83],[91,84],[73,85],[72,86],[68,87],[67,88],[90,89],[69,90],[74,91],[78,91],[96,92],[95,91],[82,93],[83,94],[85,95],[81,96],[84,97],[89,7],[76,98],[77,99],[86,100],[66,101],[92,102],[181,103],[184,104],[182,7],[183,105],[189,106],[186,107],[185,108],[165,109],[163,110],[159,111],[158,112],[160,111],[161,111],[162,113],[194,114],[190,128],[176,129],[170,130],[193,118],[192,129],[166,120],[175,121],[174,107],[173,122],[172,123],[169,124],[168,107],[167,125],[155,126],[153,127]],"semanticDiagnosticsPerFile":[195,197,196,199,203,202,200,204,151,205,206,201,149,150,207,208,209,210,211,198,212,213,62,63,98,99,100,101,102,103,104,105,106,107,108,110,109,111,112,113,97,147,114,115,116,148,117,118,119,120,121,122,123,124,125,126,127,128,129,131,130,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,214,215,217,218,216,243,244,219,222,241,242,232,231,229,224,237,235,239,223,236,240,225,226,238,220,227,228,230,234,245,233,221,258,257,252,254,253,246,247,249,251,255,256,248,250,261,260,259,263,179,264,265,266,64,157,191,180,262,156,60,61,12,11,2,13,14,15,16,17,18,19,20,3,21,4,22,26,23,24,25,27,28,29,5,30,31,32,33,6,37,34,35,36,38,7,39,44,45,40,41,42,43,8,49,46,47,48,50,9,51,52,53,56,54,55,57,58,10,1,59,80,87,79,94,71,70,93,88,91,73,72,68,67,90,69,74,75,78,65,96,95,82,83,85,81,84,89,76,77,86,66,92,181,184,182,183,189,188,177,186,185,164,178,187,165,163,159,158,160,161,162,194,190,176,170,193,192,166,175,171,174,173,172,169,168,167,154,155,153,152],"latestChangedDtsFile":"./esm/index.d.ts"},"version":"5.4.5"}
1
+ {"fileNames":["../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.es2015.d.ts","../../../node_modules/typescript/lib/lib.es2016.d.ts","../../../node_modules/typescript/lib/lib.es2017.d.ts","../../../node_modules/typescript/lib/lib.es2018.d.ts","../../../node_modules/typescript/lib/lib.es2019.d.ts","../../../node_modules/typescript/lib/lib.es2020.d.ts","../../../node_modules/typescript/lib/lib.es2021.d.ts","../../../node_modules/typescript/lib/lib.es2022.d.ts","../../../node_modules/typescript/lib/lib.es2023.d.ts","../../../node_modules/typescript/lib/lib.es2015.core.d.ts","../../../node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../node_modules/typescript/lib/lib.es2016.intl.d.ts","../../../node_modules/typescript/lib/lib.es2017.date.d.ts","../../../node_modules/typescript/lib/lib.es2017.object.d.ts","../../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../node_modules/typescript/lib/lib.es2017.string.d.ts","../../../node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../node_modules/typescript/lib/lib.es2019.array.d.ts","../../../node_modules/typescript/lib/lib.es2019.object.d.ts","../../../node_modules/typescript/lib/lib.es2019.string.d.ts","../../../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../node_modules/typescript/lib/lib.es2020.date.d.ts","../../../node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../node_modules/typescript/lib/lib.es2020.string.d.ts","../../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../node_modules/typescript/lib/lib.es2020.number.d.ts","../../../node_modules/typescript/lib/lib.es2021.promise.d.ts","../../../node_modules/typescript/lib/lib.es2021.string.d.ts","../../../node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../../node_modules/typescript/lib/lib.es2021.intl.d.ts","../../../node_modules/typescript/lib/lib.es2022.array.d.ts","../../../node_modules/typescript/lib/lib.es2022.error.d.ts","../../../node_modules/typescript/lib/lib.es2022.intl.d.ts","../../../node_modules/typescript/lib/lib.es2022.object.d.ts","../../../node_modules/typescript/lib/lib.es2022.sharedmemory.d.ts","../../../node_modules/typescript/lib/lib.es2022.string.d.ts","../../../node_modules/typescript/lib/lib.es2022.regexp.d.ts","../../../node_modules/typescript/lib/lib.es2023.array.d.ts","../../../node_modules/typescript/lib/lib.es2023.collection.d.ts","../../../node_modules/typescript/lib/lib.es2023.intl.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","../../types-dev/utils.d.ts","../../types-dev/objects.d.ts","../../types-dev/config.d.ts","../../types-dev/index.d.ts","../../../node_modules/@types/node/compatibility/disposable.d.ts","../../../node_modules/@types/node/compatibility/indexable.d.ts","../../../node_modules/@types/node/compatibility/iterators.d.ts","../../../node_modules/@types/node/compatibility/index.d.ts","../../../node_modules/@types/node/ts5.6/globals.typedarray.d.ts","../../../node_modules/@types/node/ts5.6/buffer.buffer.d.ts","../../../node_modules/buffer/index.d.ts","../../../node_modules/undici-types/header.d.ts","../../../node_modules/undici-types/readable.d.ts","../../../node_modules/undici-types/file.d.ts","../../../node_modules/undici-types/fetch.d.ts","../../../node_modules/undici-types/formdata.d.ts","../../../node_modules/undici-types/connector.d.ts","../../../node_modules/undici-types/client.d.ts","../../../node_modules/undici-types/errors.d.ts","../../../node_modules/undici-types/dispatcher.d.ts","../../../node_modules/undici-types/global-dispatcher.d.ts","../../../node_modules/undici-types/global-origin.d.ts","../../../node_modules/undici-types/pool-stats.d.ts","../../../node_modules/undici-types/pool.d.ts","../../../node_modules/undici-types/handlers.d.ts","../../../node_modules/undici-types/balanced-pool.d.ts","../../../node_modules/undici-types/agent.d.ts","../../../node_modules/undici-types/mock-interceptor.d.ts","../../../node_modules/undici-types/mock-agent.d.ts","../../../node_modules/undici-types/mock-client.d.ts","../../../node_modules/undici-types/mock-pool.d.ts","../../../node_modules/undici-types/mock-errors.d.ts","../../../node_modules/undici-types/proxy-agent.d.ts","../../../node_modules/undici-types/env-http-proxy-agent.d.ts","../../../node_modules/undici-types/retry-handler.d.ts","../../../node_modules/undici-types/retry-agent.d.ts","../../../node_modules/undici-types/api.d.ts","../../../node_modules/undici-types/interceptors.d.ts","../../../node_modules/undici-types/util.d.ts","../../../node_modules/undici-types/cookies.d.ts","../../../node_modules/undici-types/patch.d.ts","../../../node_modules/undici-types/websocket.d.ts","../../../node_modules/undici-types/eventsource.d.ts","../../../node_modules/undici-types/filereader.d.ts","../../../node_modules/undici-types/diagnostics-channel.d.ts","../../../node_modules/undici-types/content-type.d.ts","../../../node_modules/undici-types/cache.d.ts","../../../node_modules/undici-types/index.d.ts","../../../node_modules/@types/node/globals.d.ts","../../../node_modules/@types/node/assert.d.ts","../../../node_modules/@types/node/assert/strict.d.ts","../../../node_modules/@types/node/async_hooks.d.ts","../../../node_modules/@types/node/buffer.d.ts","../../../node_modules/@types/node/child_process.d.ts","../../../node_modules/@types/node/cluster.d.ts","../../../node_modules/@types/node/console.d.ts","../../../node_modules/@types/node/constants.d.ts","../../../node_modules/@types/node/crypto.d.ts","../../../node_modules/@types/node/dgram.d.ts","../../../node_modules/@types/node/diagnostics_channel.d.ts","../../../node_modules/@types/node/dns.d.ts","../../../node_modules/@types/node/dns/promises.d.ts","../../../node_modules/@types/node/domain.d.ts","../../../node_modules/@types/node/dom-events.d.ts","../../../node_modules/@types/node/events.d.ts","../../../node_modules/@types/node/fs.d.ts","../../../node_modules/@types/node/fs/promises.d.ts","../../../node_modules/@types/node/http.d.ts","../../../node_modules/@types/node/http2.d.ts","../../../node_modules/@types/node/https.d.ts","../../../node_modules/@types/node/inspector.d.ts","../../../node_modules/@types/node/module.d.ts","../../../node_modules/@types/node/net.d.ts","../../../node_modules/@types/node/os.d.ts","../../../node_modules/@types/node/path.d.ts","../../../node_modules/@types/node/perf_hooks.d.ts","../../../node_modules/@types/node/process.d.ts","../../../node_modules/@types/node/punycode.d.ts","../../../node_modules/@types/node/querystring.d.ts","../../../node_modules/@types/node/readline.d.ts","../../../node_modules/@types/node/readline/promises.d.ts","../../../node_modules/@types/node/repl.d.ts","../../../node_modules/@types/node/sea.d.ts","../../../node_modules/@types/node/stream.d.ts","../../../node_modules/@types/node/stream/promises.d.ts","../../../node_modules/@types/node/stream/consumers.d.ts","../../../node_modules/@types/node/stream/web.d.ts","../../../node_modules/@types/node/string_decoder.d.ts","../../../node_modules/@types/node/test.d.ts","../../../node_modules/@types/node/timers.d.ts","../../../node_modules/@types/node/timers/promises.d.ts","../../../node_modules/@types/node/tls.d.ts","../../../node_modules/@types/node/trace_events.d.ts","../../../node_modules/@types/node/tty.d.ts","../../../node_modules/@types/node/url.d.ts","../../../node_modules/@types/node/util.d.ts","../../../node_modules/@types/node/v8.d.ts","../../../node_modules/@types/node/vm.d.ts","../../../node_modules/@types/node/wasi.d.ts","../../../node_modules/@types/node/worker_threads.d.ts","../../../node_modules/@types/node/zlib.d.ts","../../../node_modules/@types/node/ts5.6/index.d.ts","../../../node_modules/@types/jsonfile/index.d.ts","../../../node_modules/@types/jsonfile/utils.d.ts","../../../node_modules/@types/fs-extra/index.d.ts","../../../node_modules/promisify-child-process/index.d.ts","../../../node_modules/execa/index.d.ts","../../common-db/node_modules/@alcalzone/pak/build/lib/package-managers/package-manager.d.ts","../../common-db/node_modules/@alcalzone/pak/build/lib/package-managers/npm/index.d.ts","../../common-db/node_modules/@alcalzone/pak/build/lib/package-managers/yarn-berry/index.d.ts","../../common-db/node_modules/@alcalzone/pak/build/lib/package-managers/yarn-classic/index.d.ts","../../common-db/node_modules/@alcalzone/pak/build/lib/pak.d.ts","../../common-db/node_modules/@alcalzone/pak/build/index.d.ts","../../common-db/build/esm/lib/common/maybeCallback.d.ts","../../common-db/build/esm/lib/common/tools.d.ts","../../db-base/build/esm/lib/inMemFileDB.d.ts","../../db-states-redis/build/esm/lib/states/statesInRedisClient.d.ts","../../db-states-redis/build/esm/lib/states/interview.d.ts","../../db-states-redis/build/esm/index.d.ts","../src/lib/common/states.ts","../../db-objects-redis/build/esm/lib/objects/constants.d.ts","../../db-objects-redis/build/esm/lib/objects/objectsUtils.d.ts","../../db-objects-redis/build/esm/lib/objects/objectsInRedisClient.d.ts","../../db-objects-redis/build/esm/lib/objects/interview.d.ts","../../db-objects-redis/build/esm/index.d.ts","../src/lib/common/objects.ts","../../common-db/build/esm/lib/common/exitCodes.d.ts","../../common-db/build/esm/lib/common/password.d.ts","../../../node_modules/@types/triple-beam/index.d.ts","../../../node_modules/logform/index.d.ts","../../../node_modules/winston-transport/index.d.ts","../../../node_modules/winston/lib/winston/config/index.d.ts","../../../node_modules/winston/lib/winston/transports/index.d.ts","../../../node_modules/winston/index.d.ts","../../common-db/build/esm/lib/common/logger.d.ts","../../common-db/build/esm/lib/common/interview.d.ts","../../common-db/build/esm/lib/common/session.d.ts","../../common-db/build/esm/lib/common/constants.d.ts","../../common-db/build/esm/index.d.ts","../src/lib/common/notificationHandler.ts","../../../node_modules/jszip/index.d.ts","../src/lib/common/zipFiles.ts","../src/lib/common/tools.ts","../src/index.ts","../../../node_modules/@types/argparse/index.d.ts","../../../node_modules/@types/chai/index.d.ts","../../../node_modules/@types/chai-as-promised/index.d.ts","../../../node_modules/@types/ms/index.d.ts","../../../node_modules/@types/debug/index.d.ts","../../../node_modules/@types/estree/index.d.ts","../../../node_modules/@types/json-schema/index.d.ts","../../../node_modules/@types/eslint/use-at-your-own-risk.d.ts","../../../node_modules/@types/eslint/index.d.ts","../../../node_modules/@types/event-stream/index.d.ts","../../../node_modules/@types/glossy/index.d.ts","../../../node_modules/@types/unist/index.d.ts","../../../node_modules/@types/hast/index.d.ts","../../../node_modules/@types/ioredis/index.d.ts","../../../node_modules/@types/jsonwebtoken/index.d.ts","../../../node_modules/@types/mdast/index.d.ts","../../../node_modules/@types/mime-types/index.d.ts","../../../node_modules/@types/minimatch/index.d.ts","../../../node_modules/@types/minimist/index.d.ts","../../../node_modules/@types/mocha/index.d.ts","../../../node_modules/@types/node-forge/index.d.ts","../../../node_modules/@types/node-schedule/index.d.ts","../../../node_modules/@types/normalize-package-data/index.d.ts","../../../node_modules/@types/pidusage/index.d.ts","../../../node_modules/@types/revalidator/index.d.ts","../../../node_modules/@types/prompt/index.d.ts","../../../node_modules/@types/readline-sync/index.d.ts","../../../node_modules/@types/semver/classes/semver.d.ts","../../../node_modules/@types/semver/functions/parse.d.ts","../../../node_modules/@types/semver/functions/valid.d.ts","../../../node_modules/@types/semver/functions/clean.d.ts","../../../node_modules/@types/semver/functions/inc.d.ts","../../../node_modules/@types/semver/functions/diff.d.ts","../../../node_modules/@types/semver/functions/major.d.ts","../../../node_modules/@types/semver/functions/minor.d.ts","../../../node_modules/@types/semver/functions/patch.d.ts","../../../node_modules/@types/semver/functions/prerelease.d.ts","../../../node_modules/@types/semver/functions/compare.d.ts","../../../node_modules/@types/semver/functions/rcompare.d.ts","../../../node_modules/@types/semver/functions/compare-loose.d.ts","../../../node_modules/@types/semver/functions/compare-build.d.ts","../../../node_modules/@types/semver/functions/sort.d.ts","../../../node_modules/@types/semver/functions/rsort.d.ts","../../../node_modules/@types/semver/functions/gt.d.ts","../../../node_modules/@types/semver/functions/lt.d.ts","../../../node_modules/@types/semver/functions/eq.d.ts","../../../node_modules/@types/semver/functions/neq.d.ts","../../../node_modules/@types/semver/functions/gte.d.ts","../../../node_modules/@types/semver/functions/lte.d.ts","../../../node_modules/@types/semver/functions/cmp.d.ts","../../../node_modules/@types/semver/functions/coerce.d.ts","../../../node_modules/@types/semver/classes/comparator.d.ts","../../../node_modules/@types/semver/classes/range.d.ts","../../../node_modules/@types/semver/functions/satisfies.d.ts","../../../node_modules/@types/semver/ranges/max-satisfying.d.ts","../../../node_modules/@types/semver/ranges/min-satisfying.d.ts","../../../node_modules/@types/semver/ranges/to-comparators.d.ts","../../../node_modules/@types/semver/ranges/min-version.d.ts","../../../node_modules/@types/semver/ranges/valid.d.ts","../../../node_modules/@types/semver/ranges/outside.d.ts","../../../node_modules/@types/semver/ranges/gtr.d.ts","../../../node_modules/@types/semver/ranges/ltr.d.ts","../../../node_modules/@types/semver/ranges/intersects.d.ts","../../../node_modules/@types/semver/ranges/simplify.d.ts","../../../node_modules/@types/semver/ranges/subset.d.ts","../../../node_modules/@types/semver/internals/identifiers.d.ts","../../../node_modules/@types/semver/index.d.ts","../../../node_modules/@types/sinonjs__fake-timers/index.d.ts","../../../node_modules/@types/sinon/index.d.ts","../../../node_modules/@types/sinon-chai/index.d.ts","../../../node_modules/minipass/index.d.ts","../../../node_modules/@types/tar/index.d.ts","../../../node_modules/@types/winston-syslog/index.d.ts","../../../node_modules/@types/yargs-parser/index.d.ts","../../../node_modules/@types/yargs/index.d.ts"],"fileIdsList":[[71,114],[71,114,207],[71,114,209],[71,114,211,212,213],[71,114,214],[71,114,145,163],[71,114,127,163,164,165],[71,114,163],[71,114,217],[71,114,126,145,153,163],[71,114,127,156,163],[71,114,126,163],[71,111,114],[71,113,114],[71,114,119,148],[71,114,115,120,126,127,134,145,156],[71,114,115,116,126,134],[66,67,68,71,114],[71,114,117,157],[71,114,118,119,127,135],[71,114,119,145,153],[71,114,120,122,126,134],[71,113,114,121],[71,114,122,123],[71,114,126],[71,114,124,126],[71,113,114,126],[71,114,126,127,128,145,156],[71,114,126,127,128,141,145,148],[71,109,114,161],[71,114,122,126,129,134,145,156],[71,114,126,127,129,130,134,145,153,156],[71,114,129,131,145,153,156],[71,114,126,132],[71,114,133,156,161],[71,114,122,126,134,145],[71,114,135],[71,114,136],[71,113,114,137],[71,111,112,113,114,115,116,117,118,119,120,121,122,123,124,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162],[71,114,139],[71,114,140],[71,114,126,141,142],[71,114,141,143,157,159],[71,114,126,145,146,147,148],[71,114,145,147],[71,114,145,146],[71,114,148],[71,114,149],[71,111,114,145],[71,114,126,151,152],[71,114,151,152],[71,114,119,134,145,153],[71,114,154],[114],[69,70,71,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162],[71,114,134,155],[71,114,129,140,156],[71,114,119,157],[71,114,145,158],[71,114,133,159],[71,114,160],[71,114,119,126,128,137,145,156,159,161],[71,114,145,162],[71,114,126,155,163,230],[71,114,233,272],[71,114,233,257,272],[71,114,272],[71,114,233],[71,114,233,258,272],[71,114,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271],[71,114,258,272],[71,114,207,274],[71,114,273],[71,114,127,145,162,163,276],[71,114,120,134,163,192,216],[71,114,279],[71,114,115,145,163],[71,114,190],[71,114,126,145,163],[71,114,115],[71,81,85,114,156],[71,81,114,145,156],[71,76,114],[71,78,81,114,153,156],[71,114,134,153],[71,76,114,163],[71,78,81,114,134,156],[71,73,74,77,80,114,126,145,156],[71,81,88,114],[71,73,79,114],[71,81,102,103,114],[71,77,81,114,148,156,163],[71,102,114,163],[71,75,76,114,163],[71,81,114],[71,75,76,77,78,79,80,81,82,83,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,103,104,105,106,107,108,114],[71,81,96,114],[71,81,88,89,114],[71,79,81,89,90,114],[71,80,114],[71,73,76,81,114],[71,81,85,89,90,114],[71,85,114],[71,79,81,84,114,156],[71,73,78,81,88,114],[71,114,145],[71,76,81,102,114,161,163],[71,114,145,163,191],[71,114,145,163,191,192,193,194],[71,114,129,163,192],[71,114,176,188,189,196,197,198,199],[71,114,195],[71,114,115,167,174,175],[71,114,169,173],[71,114,169],[71,114,145,163,168],[71,114,169,170,171,172],[65,71,114,181,187,200,201,203,204],[71,114,136,166,180,186,195,200],[71,114,166,186,205],[71,114,166,180,205],[71,114,176,186],[71,114,186,202,205],[71,114,176],[71,114,183,184,185],[71,114,176,177,183],[71,114,182],[71,114,178,179],[71,114,176,177],[62,63,64,71,114,127],[62,71,114,135]],"fileInfos":[{"version":"44e584d4f6444f58791784f1d530875970993129442a847597db702a073ca68c","affectsGlobalScope":true,"impliedFormat":1},{"version":"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","impliedFormat":1},{"version":"3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","impliedFormat":1},{"version":"9a68c0c07ae2fa71b44384a839b7b8d81662a236d4b9ac30916718f7510b1b2d","impliedFormat":1},{"version":"5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","impliedFormat":1},{"version":"68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","impliedFormat":1},{"version":"5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","impliedFormat":1},{"version":"feecb1be483ed332fad555aff858affd90a48ab19ba7272ee084704eb7167569","impliedFormat":1},{"version":"5514e54f17d6d74ecefedc73c504eadffdeda79c7ea205cf9febead32d45c4bc","impliedFormat":1},{"version":"27bdc30a0e32783366a5abeda841bc22757c1797de8681bbe81fbc735eeb1c10","impliedFormat":1},{"version":"6920e1448680767498a0b77c6a00a8e77d14d62c3da8967b171f1ddffa3c18e4","affectsGlobalScope":true,"impliedFormat":1},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true,"impliedFormat":1},{"version":"515d0b7b9bea2e31ea4ec968e9edd2c39d3eebf4a2d5cbd04e88639819ae3b71","affectsGlobalScope":true,"impliedFormat":1},{"version":"45d8ccb3dfd57355eb29749919142d4321a0aa4df6acdfc54e30433d7176600a","affectsGlobalScope":true,"impliedFormat":1},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true,"impliedFormat":1},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true,"impliedFormat":1},{"version":"93495ff27b8746f55d19fcbcdbaccc99fd95f19d057aed1bd2c0cafe1335fbf0","affectsGlobalScope":true,"impliedFormat":1},{"version":"6fc23bb8c3965964be8c597310a2878b53a0306edb71d4b5a4dfe760186bcc01","affectsGlobalScope":true,"impliedFormat":1},{"version":"ea011c76963fb15ef1cdd7ce6a6808b46322c527de2077b6cfdf23ae6f5f9ec7","affectsGlobalScope":true,"impliedFormat":1},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true,"impliedFormat":1},{"version":"69ab18c3b76cd9b1be3d188eaf8bba06112ebbe2f47f6c322b5105a6fbc45a2e","affectsGlobalScope":true,"impliedFormat":1},{"version":"4738f2420687fd85629c9efb470793bb753709c2379e5f85bc1815d875ceadcd","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true,"impliedFormat":1},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true,"impliedFormat":1},{"version":"9fc46429fbe091ac5ad2608c657201eb68b6f1b8341bd6d670047d32ed0a88fa","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac9538681b19688c8eae65811b329d3744af679e0bdfa5d842d0e32524c73e1c","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a969edff4bd52585473d24995c5ef223f6652d6ef46193309b3921d65dd4376","affectsGlobalScope":true,"impliedFormat":1},{"version":"9e9fbd7030c440b33d021da145d3232984c8bb7916f277e8ffd3dc2e3eae2bdb","affectsGlobalScope":true,"impliedFormat":1},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true,"impliedFormat":1},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true,"impliedFormat":1},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true,"impliedFormat":1},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true,"impliedFormat":1},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true,"impliedFormat":1},{"version":"74f7fa2d027d5b33eb0471c8e82a6c87216223181ec31247c357a3e8e2fddc5b","affectsGlobalScope":true,"impliedFormat":1},{"version":"1a94697425a99354df73d9c8291e2ecd4dddd370aed4023c2d6dee6cccb32666","affectsGlobalScope":true,"impliedFormat":1},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true,"impliedFormat":1},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true,"impliedFormat":1},{"version":"bf14a426dbbf1022d11bd08d6b8e709a2e9d246f0c6c1032f3b2edb9a902adbe","affectsGlobalScope":true,"impliedFormat":1},{"version":"e3f9fc0ec0b96a9e642f11eda09c0be83a61c7b336977f8b9fdb1e9788e925fe","affectsGlobalScope":true,"impliedFormat":1},{"version":"59fb2c069260b4ba00b5643b907ef5d5341b167e7d1dbf58dfd895658bda2867","affectsGlobalScope":true,"impliedFormat":1},{"version":"479553e3779be7d4f68e9f40cdb82d038e5ef7592010100410723ceced22a0f7","affectsGlobalScope":true,"impliedFormat":1},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true,"impliedFormat":1},{"version":"af3dd424cf267428f30ccfc376f47a2c0114546b55c44d8c0f1d57d841e28d74","affectsGlobalScope":true,"impliedFormat":1},{"version":"995c005ab91a498455ea8dfb63aa9f83fa2ea793c3d8aa344be4a1678d06d399","affectsGlobalScope":true,"impliedFormat":1},{"version":"d3d7b04b45033f57351c8434f60b6be1ea71a2dfec2d0a0c3c83badbb0e3e693","affectsGlobalScope":true,"impliedFormat":1},{"version":"956d27abdea9652e8368ce029bb1e0b9174e9678a273529f426df4b3d90abd60","affectsGlobalScope":true,"impliedFormat":1},{"version":"4fa6ed14e98aa80b91f61b9805c653ee82af3502dc21c9da5268d3857772ca05","affectsGlobalScope":true,"impliedFormat":1},{"version":"e6633e05da3ff36e6da2ec170d0d03ccf33de50ca4dc6f5aeecb572cedd162fb","affectsGlobalScope":true,"impliedFormat":1},{"version":"15c1c3d7b2e46e0025417ed6d5f03f419e57e6751f87925ca19dc88297053fe6","affectsGlobalScope":true,"impliedFormat":1},{"version":"8444af78980e3b20b49324f4a16ba35024fef3ee069a0eb67616ea6ca821c47a","affectsGlobalScope":true,"impliedFormat":1},{"version":"caccc56c72713969e1cfe5c3d44e5bab151544d9d2b373d7dbe5a1e4166652be","affectsGlobalScope":true,"impliedFormat":1},{"version":"3287d9d085fbd618c3971944b65b4be57859f5415f495b33a6adc994edd2f004","affectsGlobalScope":true,"impliedFormat":1},{"version":"b4b67b1a91182421f5df999988c690f14d813b9850b40acd06ed44691f6727ad","affectsGlobalScope":true,"impliedFormat":1},{"version":"9d540251809289a05349b70ab5f4b7b99f922af66ab3c39ba56a475dcf95d5ff","affectsGlobalScope":true,"impliedFormat":1},{"version":"436aaf437562f276ec2ddbee2f2cdedac7664c1e4c1d2c36839ddd582eeb3d0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e3c06ea092138bf9fa5e874a1fdbc9d54805d074bee1de31b99a11e2fec239d","affectsGlobalScope":true,"impliedFormat":1},{"version":"33358442698bb565130f52ba79bfd3d4d484ac85fe33f3cb1759c54d18201393","affectsGlobalScope":true,"impliedFormat":1},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true,"impliedFormat":1},{"version":"e12a40ba307d38757b6f0637958d945de7442dbd0986fd3e4f7a61cc65b3bc61","impliedFormat":1},{"version":"073901472c138abaffccee608cc7aac7b6a51f96fe6d55e083775b173ce0dc1e","affectsGlobalScope":true,"impliedFormat":1},{"version":"7f6f50154127d4da065cdc1ec3b1419b571b4864ca27921af5bb7d4e58244756","impliedFormat":1},{"version":"85e6423ea02d42618a9d9e2713b5c1538807beff69394273be9698ce2d45929a","affectsGlobalScope":true,"impliedFormat":1},{"version":"70521b6ab0dcba37539e5303104f29b721bfb2940b2776da4cc818c07e1fefc1","affectsGlobalScope":true,"impliedFormat":1},{"version":"ab41ef1f2cdafb8df48be20cd969d875602483859dc194e9c97c8a576892c052","affectsGlobalScope":true,"impliedFormat":1},{"version":"d153a11543fd884b596587ccd97aebbeed950b26933ee000f94009f1ab142848","affectsGlobalScope":true,"impliedFormat":1},{"version":"21d819c173c0cf7cc3ce57c3276e77fd9a8a01d35a06ad87158781515c9a438a","impliedFormat":1},{"version":"613b21ccdf3be6329d56e6caa13b258c842edf8377be7bc9f014ed14cdcfc308","affectsGlobalScope":true,"impliedFormat":1},{"version":"2d1319e6b5d0efd8c5eae07eb864a00102151e8b9afddd2d45db52e9aae002c4","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e9c23ba78aabc2e0a27033f18737a6df754067731e69dc5f52823957d60a4b6","impliedFormat":1},{"version":"5929864ce17fba74232584d90cb721a89b7ad277220627cc97054ba15a98ea8f","impliedFormat":1},{"version":"24bd580b5743dc56402c440dc7f9a4f5d592ad7a419f25414d37a7bfe11e342b","impliedFormat":1},{"version":"25c8056edf4314820382a5fdb4bb7816999acdcb929c8f75e3f39473b87e85bc","impliedFormat":1},{"version":"c464d66b20788266e5353b48dc4aa6bc0dc4a707276df1e7152ab0c9ae21fad8","impliedFormat":1},{"version":"78d0d27c130d35c60b5e5566c9f1e5be77caf39804636bc1a40133919a949f21","impliedFormat":1},{"version":"c6fd2c5a395f2432786c9cb8deb870b9b0e8ff7e22c029954fabdd692bff6195","impliedFormat":1},{"version":"1d6e127068ea8e104a912e42fc0a110e2aa5a66a356a917a163e8cf9a65e4a75","impliedFormat":1},{"version":"5ded6427296cdf3b9542de4471d2aa8d3983671d4cac0f4bf9c637208d1ced43","impliedFormat":1},{"version":"6bdc71028db658243775263e93a7db2fd2abfce3ca569c3cca5aee6ed5eb186d","impliedFormat":1},{"version":"cadc8aced301244057c4e7e73fbcae534b0f5b12a37b150d80e5a45aa4bebcbd","impliedFormat":1},{"version":"385aab901643aa54e1c36f5ef3107913b10d1b5bb8cbcd933d4263b80a0d7f20","impliedFormat":1},{"version":"9670d44354bab9d9982eca21945686b5c24a3f893db73c0dae0fd74217a4c219","impliedFormat":1},{"version":"0b8a9268adaf4da35e7fa830c8981cfa22adbbe5b3f6f5ab91f6658899e657a7","impliedFormat":1},{"version":"11396ed8a44c02ab9798b7dca436009f866e8dae3c9c25e8c1fbc396880bf1bb","impliedFormat":1},{"version":"ba7bc87d01492633cb5a0e5da8a4a42a1c86270e7b3d2dea5d156828a84e4882","impliedFormat":1},{"version":"4893a895ea92c85345017a04ed427cbd6a1710453338df26881a6019432febdd","impliedFormat":1},{"version":"c21dc52e277bcfc75fac0436ccb75c204f9e1b3fa5e12729670910639f27343e","impliedFormat":1},{"version":"13f6f39e12b1518c6650bbb220c8985999020fe0f21d818e28f512b7771d00f9","impliedFormat":1},{"version":"9b5369969f6e7175740bf51223112ff209f94ba43ecd3bb09eefff9fd675624a","impliedFormat":1},{"version":"4fe9e626e7164748e8769bbf74b538e09607f07ed17c2f20af8d680ee49fc1da","impliedFormat":1},{"version":"24515859bc0b836719105bb6cc3d68255042a9f02a6022b3187948b204946bd2","impliedFormat":1},{"version":"ea0148f897b45a76544ae179784c95af1bd6721b8610af9ffa467a518a086a43","impliedFormat":1},{"version":"24c6a117721e606c9984335f71711877293a9651e44f59f3d21c1ea0856f9cc9","impliedFormat":1},{"version":"dd3273ead9fbde62a72949c97dbec2247ea08e0c6952e701a483d74ef92d6a17","impliedFormat":1},{"version":"405822be75ad3e4d162e07439bac80c6bcc6dbae1929e179cf467ec0b9ee4e2e","impliedFormat":1},{"version":"0db18c6e78ea846316c012478888f33c11ffadab9efd1cc8bcc12daded7a60b6","impliedFormat":1},{"version":"4d2b0eb911816f66abe4970898f97a2cfc902bcd743cbfa5017fad79f7ef90d8","impliedFormat":1},{"version":"bd0532fd6556073727d28da0edfd1736417a3f9f394877b6d5ef6ad88fba1d1a","impliedFormat":1},{"version":"89167d696a849fce5ca508032aabfe901c0868f833a8625d5a9c6e861ef935d2","impliedFormat":1},{"version":"e53a3c2a9f624d90f24bf4588aacd223e7bec1b9d0d479b68d2f4a9e6011147f","impliedFormat":1},{"version":"24b8685c62562f5d98615c5a0c1d05f297cf5065f15246edfe99e81ec4c0e011","impliedFormat":1},{"version":"93507c745e8f29090efb99399c3f77bec07db17acd75634249dc92f961573387","impliedFormat":1},{"version":"339dc5265ee5ed92e536a93a04c4ebbc2128f45eeec6ed29f379e0085283542c","impliedFormat":1},{"version":"4732aec92b20fb28c5fe9ad99521fb59974289ed1e45aecb282616202184064f","impliedFormat":1},{"version":"2e85db9e6fd73cfa3d7f28e0ab6b55417ea18931423bd47b409a96e4a169e8e6","impliedFormat":1},{"version":"c46e079fe54c76f95c67fb89081b3e399da2c7d109e7dca8e4b58d83e332e605","impliedFormat":1},{"version":"bf67d53d168abc1298888693338cb82854bdb2e69ef83f8a0092093c2d562107","impliedFormat":1},{"version":"ca6d304b929748ea15c33f28c1f159df18a94470b424ab78c52d68d40a41e1e9","affectsGlobalScope":true,"impliedFormat":1},{"version":"a72ffc815104fb5c075106ebca459b2d55d07862a773768fce89efc621b3964b","impliedFormat":1},{"version":"7394959e5a741b185456e1ef5d64599c36c60a323207450991e7a42e08911419","impliedFormat":1},{"version":"3d77c73be94570813f8cadd1f05ebc3dc5e2e4fdefe4d340ca20cd018724ee36","impliedFormat":1},{"version":"d674383111e06b6741c4ad2db962131b5b0fa4d0294b998566c635e86195a453","affectsGlobalScope":true,"impliedFormat":1},{"version":"f3e58c4c18a031cbb17abec7a4ad0bd5ae9fc70c1f4ba1e7fb921ad87c504aca","impliedFormat":1},{"version":"a3e8bafb2af8e850c644f4be7f5156cf7d23b7bfdc3b786bd4d10ed40329649c","impliedFormat":1},{"version":"35ec8b6760fd7138bbf5809b84551e31028fb2ba7b6dc91d95d098bf212ca8b4","affectsGlobalScope":true,"impliedFormat":1},{"version":"a40826e8476694e90da94aa008283a7de50d1dafd37beada623863f1901cb7fb","impliedFormat":1},{"version":"f77d9188e41291acf14f476e931972460a303e1952538f9546e7b370cb8d0d20","affectsGlobalScope":true,"impliedFormat":1},{"version":"b0c0d1d13be149f790a75b381b413490f98558649428bb916fd2d71a3f47a134","impliedFormat":1},{"version":"3c884d9d9ec454bdf0d5a0b8465bf8297d2caa4d853851d92cc417ac6f30b969","impliedFormat":1},{"version":"5a369483ac4cfbdf0331c248deeb36140e6907db5e1daed241546b4a2055f82c","impliedFormat":1},{"version":"e8f5b5cc36615c17d330eaf8eebbc0d6bdd942c25991f96ef122f246f4ff722f","impliedFormat":1},{"version":"f0bd7e6d931657b59605c44112eaf8b980ba7f957a5051ed21cb93d978cf2f45","impliedFormat":1},{"version":"ee1ee365d88c4c6c0c0a5a5701d66ebc27ccd0bcfcfaa482c6e2e7fe7b98edf7","affectsGlobalScope":true,"impliedFormat":1},{"version":"4d7da7075068195f8f127f41c61e304cdca5aafb1be2d0f4fb67c6b4c3e98d50","affectsGlobalScope":true,"impliedFormat":1},{"version":"a4bdde4e601e9554a844e1e0d0ccfa05e183ef9d82ab3ac25f17c1709033d360","impliedFormat":1},{"version":"ad23fd126ff06e72728dd7bfc84326a8ca8cec2b9d2dac0193d42a777df0e7d8","impliedFormat":1},{"version":"9dd9f50652a176469e85fb65aa081d2e7eb807e2c476f378233de4f1f6604962","impliedFormat":1},{"version":"93bd413918fa921c8729cef45302b24d8b6c7855d72d5bf82d3972595ae8dcbf","impliedFormat":1},{"version":"4ff41188773cbf465807dd2f7059c7494cbee5115608efc297383832a1150c43","impliedFormat":1},{"version":"dccdf1677e531e33f8ac961a68bc537418c9a414797c1ea7e91307501cdc3f5e","impliedFormat":1},{"version":"7edec695cdb707c7146ac34c44ca364469c7ea504344b3206c686e79f61b61a2","affectsGlobalScope":true,"impliedFormat":1},{"version":"d206b4baf4ddcc15d9d69a9a2f4999a72a2c6adeaa8af20fa7a9960816287555","impliedFormat":1},{"version":"93f437e1398a4f06a984f441f7fa7a9f0535c04399619b5c22e0b87bdee182cb","impliedFormat":1},{"version":"afbe24ab0d74694372baa632ecb28bb375be53f3be53f9b07ecd7fc994907de5","impliedFormat":1},{"version":"70731d10d5311bd4cf710ef7f6539b62660f4b0bfdbb3f9fbe1d25fe6366a7fa","affectsGlobalScope":true,"impliedFormat":1},{"version":"a20f1e119615bf7632729fd89b6c0b5ffdc2df3b512d6304146294528e3ebe19","affectsGlobalScope":true,"impliedFormat":1},{"version":"9e043a1bc8fbf2a255bccf9bf27e0f1caf916c3b0518ea34aa72357c0afd42ec","impliedFormat":1},{"version":"137c2894e8f3e9672d401cc0a305dc7b1db7c69511cf6d3970fb53302f9eae09","impliedFormat":1},{"version":"3bc2f1e2c95c04048212c569ed38e338873f6a8593930cf5a7ef24ffb38fc3b6","impliedFormat":1},{"version":"8145e07aad6da5f23f2fcd8c8e4c5c13fb26ee986a79d03b0829b8fce152d8b2","impliedFormat":1},{"version":"f9d9d753d430ed050dc1bf2667a1bab711ccbb1c1507183d794cc195a5b085cc","impliedFormat":1},{"version":"9eece5e586312581ccd106d4853e861aaaa1a39f8e3ea672b8c3847eedd12f6e","impliedFormat":1},{"version":"235bfb54b4869c26f7e98e3d1f68dbfc85acf4cf5c38a4444a006fbf74a8a43d","impliedFormat":1},{"version":"37ba7b45141a45ce6e80e66f2a96c8a5ab1bcef0fc2d0f56bb58df96ec67e972","impliedFormat":1},{"version":"93452d394fdd1dc551ec62f5042366f011a00d342d36d50793b3529bfc9bd633","impliedFormat":1},{"version":"bb715efb4857eb94539eafb420352105a0cff40746837c5140bf6b035dd220ba","affectsGlobalScope":true,"impliedFormat":1},{"version":"1851a3b4db78664f83901bb9cac9e45e03a37bb5933cc5bf37e10bb7e91ab4eb","impliedFormat":1},{"version":"fdedf82878e4c744bc2a1c1e802ae407d63474da51f14a54babe039018e53d8f","affectsGlobalScope":true,"impliedFormat":1},{"version":"08353b04a3501d84fc8d7b49de99f6c1cc26026e6d9d697a18315f3bfe92ed03","affectsGlobalScope":true,"impliedFormat":1},{"version":"578d8bb6dcb2a1c03c4c3f8eb71abc9677e1a5c788b7f24848e3138ce17f3400","impliedFormat":1},{"version":"4f029899f9bae07e225c43aef893590541b2b43267383bf5e32e3a884d219ed5","impliedFormat":1},{"version":"ae56f65caf3be91108707bd8dfbccc2a57a91feb5daabf7165a06a945545ed26","impliedFormat":1},{"version":"a136d5de521da20f31631a0a96bf712370779d1c05b7015d7019a9b2a0446ca9","impliedFormat":1},{"version":"5b566927cad2ed2139655d55d690ffa87df378b956e7fe1c96024c4d9f75c4cf","affectsGlobalScope":true,"impliedFormat":1},{"version":"bce947017cb7a2deebcc4f5ba04cead891ce6ad1602a4438ae45ed9aa1f39104","affectsGlobalScope":true,"impliedFormat":1},{"version":"efeedd8bbc5c0d53e760d8b120a010470722982e6ae14de8d1bcff66ebc2ae71","impliedFormat":1},{"version":"e2c72c065a36bc9ab2a00ac6a6f51e71501619a72c0609defd304d46610487a4","impliedFormat":1},{"version":"d91a7d8b5655c42986f1bdfe2105c4408f472831c8f20cf11a8c3345b6b56c8c","impliedFormat":1},{"version":"616075a6ac578cf5a013ee12964188b4412823796ce0b202c6f1d2e4ca8480d7","affectsGlobalScope":true,"impliedFormat":1},{"version":"e8a979b8af001c9fc2e774e7809d233c8ca955a28756f52ee5dee88ccb0611d2","impliedFormat":1},{"version":"9091e564b81e7b4c382a33c62de704a699e10508190547d4f7c1c3e039d2db2b","impliedFormat":1},{"version":"211440ce81e87b3491cdf07155881344b0a61566df6e749acff0be7e8b9d1a07","impliedFormat":1},{"version":"5d9a0b6e6be8dbb259f64037bce02f34692e8c1519f5cd5d467d7fa4490dced4","impliedFormat":1},{"version":"880da0e0f3ebca42f9bd1bc2d3e5e7df33f2619d85f18ee0ed4bd16d1800bc32","impliedFormat":1},{"version":"45e2f08258e671e67a177bd9057e785956c23b2542308f9559db037fe1114105","impliedFormat":1},{"version":"da51964a650a3b8d775267a55e8a590b1eb6bb605cc3f6d10830370d77135557","impliedFormat":1},{"version":"6cf45d4fd013b7c4ba1cd422555a3170946dc1d3804e135b5c4a971dbe4c1aa7","impliedFormat":1},{"version":"2fd34e1921bb7e6706b8d9fcb5d4d9f2f3e23e742e38bdb3094c83668ca09070","impliedFormat":1},{"version":"be2ab41bbfa1db74d67df1a5cb0c00b5f6d4badc0bc35cff2984880e2698bc1b","impliedFormat":1},{"version":"746b7007f5959dc155f54964ce3d1f8289e914ad480f1f7ff64f54515415a637","impliedFormat":1},{"version":"41e1718c5738cd9261acc61439f2156ed3b8a3267de9805e55b3cf7d839f5063","impliedFormat":1},{"version":"4e20f9be439bf149c8f336a7d9efb1dcc785a29d8cbb73efa279f8bf883a7058","impliedFormat":1},{"version":"07e25f754a8435121d3ba0012458e3e10ae6f3fddeffebb2b1054a0579fad3ea","impliedFormat":99},{"version":"d3c501890d6db716eec78e3ac65a39916e9d80c23c8b286a531ba777ddf107cf","impliedFormat":99},{"version":"099b997612cf9d0bdb69222aeda9018094a3b18df31d294581b66eafb170087e","impliedFormat":99},{"version":"dad8fae10ac74ae77baab2405ffb61a2c6bca275b1dd8b4346cfd628c464654a","impliedFormat":99},{"version":"a54557a87b49cf50256a8abd40559b6cdf3ccd3b7bcdb4f281d1776a3ae8f01c","impliedFormat":99},{"version":"853e4278fc54030c46d89f94bf961231c9f348e19963b2546a8fe960b1e6f360","impliedFormat":99},{"version":"935d217f42d6fd1aa7afbe8f384c77cfbdaa9ccc21924f41d45454f795123ccf","signature":"44ce2db0aa4c1b1ea9262d06d1c991f52ab69af30e309ed0c056ddc0bc4fc384","impliedFormat":99},{"version":"ba56e7c11bd24eca78daa7147a870697ab31f3f14a9c56158ab9c26080019ab7","impliedFormat":99},{"version":"72f8901bb928702b4cc5126b4808e204730a88c6cf71b0130e693681b45b5d86","impliedFormat":99},{"version":"ff8792c0434357afacd3d708f3ff9223fa3f8e5aa9bfc995f69db6e3e37aae1e","impliedFormat":99},{"version":"24ae70199a01f1bb6004791cc18d28a90e2198a53388af111bbec1b19161f693","impliedFormat":99},{"version":"f0009b8cd0609df584a4c73a302e8839f6c6dc79807feac2b5f2831d12721964","impliedFormat":99},{"version":"ad1b5aa67b347fef45fa04565631e4ea24a498951ba3f360332e0c94f8e34f05","signature":"4bfff36d8adb9fd4a4b6e3535d63ea898174e6c08c2075c1e5f212c4850d44c2","impliedFormat":99},{"version":"da77aa3d854b204e47ef742c4ecd71cd0b020f802e13b6a7e719367e8b9ccd18","impliedFormat":99},{"version":"e67f962c7c3216ba02cc4563ff44063b36135e0fcdf92b11b0578228f6a007e4","impliedFormat":99},{"version":"908217c4f2244ec402b73533ebfcc46d6dcd34fc1c807ff403d7f98702abb3bc","impliedFormat":1},{"version":"201ced2ca97d71fe47afdaebc656c2fa63ef2784256e4dfc9eb83930f7aac2c2","impliedFormat":1},{"version":"d8b8a5a6bf623239d5374ad4a7ff6f3b195ab5ee61293f59f1957e90d2a22809","impliedFormat":1},{"version":"35d283eca7dc0a0c7b099f5fbbf0678b87f3d837572cd5e539ba297ad9837e68","impliedFormat":1},{"version":"1c8384a195a2d931cf6e2b8f656acf558ca649a3f74922d86b95889f49a7f7c5","impliedFormat":1},{"version":"26ec2c615ee349154b9cdb180a9bbd2d3e28a2646242e936cf79c1a44847ade7","impliedFormat":1},{"version":"56471ec726edfb50d4bc87b83e52f97de74f5d385db3db214f6e3ec2d02a3fb6","impliedFormat":99},{"version":"65f1948d68440bf5caee2365014713e739945e04927fbb56c84549736b69ac53","impliedFormat":99},{"version":"129c10790c7de83509b3d852a79189b475a40b128e0726bd469f96b3d5749811","impliedFormat":99},{"version":"98763329166c62fa0ca9cfc0042bf924605c78bab880dc8b06ec83a445d3d67a","impliedFormat":99},{"version":"54cb16297ded2864aa5a752ac9ff205a85931492c3bdbe8a2ec9e584acb10048","impliedFormat":99},{"version":"102acef1436f0853a04ecdcc563ef67457cfbfaad83663f987b82bdac7aa79bf","signature":"58d82bc9a074316892f01e29122cd1fa0eb0797dc821ba77e094a1bb43546ca3","impliedFormat":99},{"version":"522cb15ff9bef5a65c2f3dbd10dbba9e7ecae4de32f90f5c0b4198132be63ae4","impliedFormat":1},{"version":"13846ff602b606f34b7653ca433bd147130138bd65f0a2584b4512ee2eac9d37","signature":"b4a62bd7142a56b6b066f39851a1c11f14726e471609332326e523b19c4766e9","impliedFormat":99},{"version":"fff6158ce7bb3886160bc48e0cfac17004444c1777eb321034029c01b5d31c77","signature":"39ed6150eeaa879697e524a252989e02ac9ecb810a3013835ce4e6a05ff9074c","impliedFormat":99},{"version":"eb5d30b19edc364ea0978ad9a7435aa39d624816c593301d649ae2f8af007f98","signature":"26077456aeef250560a56816e920f0b1b88891879848ff0282e8992db39bd836","impliedFormat":99},{"version":"dc3b172ee27054dbcedcf5007b78c256021db936f6313a9ce9a3ecbb503fd646","impliedFormat":1},{"version":"6a9eb9c5d3f7474937973fe4b0a9e53025634c2e39118eda436d89f3e9df976f","affectsGlobalScope":true,"impliedFormat":1},{"version":"86e56d97b13ef0a58bc9c59aee782ae7d47d63802b5b32129ec5e5d62c20dbfa","affectsGlobalScope":true,"impliedFormat":1},{"version":"68cc8d6fcc2f270d7108f02f3ebc59480a54615be3e09a47e14527f349e9d53e","impliedFormat":1},{"version":"3eb11dbf3489064a47a2e1cf9d261b1f100ef0b3b50ffca6c44dd99d6dd81ac1","impliedFormat":1},{"version":"785b9d575b49124ce01b46f5b9402157c7611e6532effa562ac6aebec0074dfc","impliedFormat":1},{"version":"f3d8c757e148ad968f0d98697987db363070abada5f503da3c06aefd9d4248c1","impliedFormat":1},{"version":"a4a39b5714adfcadd3bbea6698ca2e942606d833bde62ad5fb6ec55f5e438ff8","impliedFormat":1},{"version":"bbc1d029093135d7d9bfa4b38cbf8761db505026cc458b5e9c8b74f4000e5e75","impliedFormat":1},{"version":"c3ae6bb11d6666d56efb16b56903895ba5320c2c2b0fecaf27784ef4599ac632","impliedFormat":1},{"version":"3b43f7224c99344262753af8fc1bb66cf0dc36fb15de92a190af88502c6256f6","impliedFormat":1},{"version":"89121c1bf2990f5219bfd802a3e7fc557de447c62058d6af68d6b6348d64499a","impliedFormat":1},{"version":"79b4369233a12c6fa4a07301ecb7085802c98f3a77cf9ab97eee27e1656f82e6","impliedFormat":1},{"version":"be00321090ed100e3bd1e566c0408004137e73feb19d6380eba57d68519ff6c5","impliedFormat":1},{"version":"bb4ed283cfb3db7ec1d4bb79c37f5e96d39b340f1f4de995c4b0b836c8d5fa05","impliedFormat":1},{"version":"d4a22007b481fe2a2e6bfd3a42c00cd62d41edb36d30fc4697df2692e9891fc8","impliedFormat":1},{"version":"169cc96316cacf8b489aaab4ac6bcef7b33e8779a8902bce57c737b4aa372d16","impliedFormat":1},{"version":"8841e2aa774b89bd23302dede20663306dc1b9902431ac64b24be8b8d0e3f649","impliedFormat":1},{"version":"fbca5ffaebf282ec3cdac47b0d1d4a138a8b0bb32105251a38acb235087d3318","impliedFormat":1},{"version":"c67a7b7eec0175ea53343429d32897fcad406c663ba4b775eab8be8164bff91c","affectsGlobalScope":true,"impliedFormat":1},{"version":"8b5402ae709d042c3530ed3506c135a967159f42aed3221267e70c5b7240b577","impliedFormat":1},{"version":"4f5269c28ed792a21efe3e2733a3398cb83f84384ccd9c5cd5a0950fdb211342","impliedFormat":1},{"version":"22293bd6fa12747929f8dfca3ec1684a3fe08638aa18023dd286ab337e88a592","impliedFormat":1},{"version":"327fddc7dd391f1e62262dafe41fc9cabedb4a5758a5cfce979cebab1456abb8","impliedFormat":1},{"version":"ec596fa2357df1b2702e42bcba645422eb727ab5c81136f78590f21a100286e1","affectsGlobalScope":true,"impliedFormat":1},{"version":"08d95e4bdb24b6e9215c10437a848b54148bc028e00c8809b5c2bb22d2411090","impliedFormat":1},{"version":"a016d2f6c0a2c15069ec69661ad37c86a450deb629ce96a592f15f01d3a5746e","impliedFormat":1},{"version":"cf3d384d082b933d987c4e2fe7bfb8710adfd9dc8155190056ed6695a25a559e","impliedFormat":1},{"version":"9871b7ee672bc16c78833bdab3052615834b08375cb144e4d2cba74473f4a589","impliedFormat":1},{"version":"c863198dae89420f3c552b5a03da6ed6d0acfa3807a64772b895db624b0de707","impliedFormat":1},{"version":"8b03a5e327d7db67112ebbc93b4f744133eda2c1743dbb0a990c61a8007823ef","impliedFormat":1},{"version":"86c73f2ee1752bac8eeeece234fd05dfcf0637a4fbd8032e4f5f43102faa8eec","impliedFormat":1},{"version":"42fad1f540271e35ca37cecda12c4ce2eef27f0f5cf0f8dd761d723c744d3159","impliedFormat":1},{"version":"ff3743a5de32bee10906aff63d1de726f6a7fd6ee2da4b8229054dfa69de2c34","impliedFormat":1},{"version":"83acd370f7f84f203e71ebba33ba61b7f1291ca027d7f9a662c6307d74e4ac22","impliedFormat":1},{"version":"1445cec898f90bdd18b2949b9590b3c012f5b7e1804e6e329fb0fe053946d5ec","impliedFormat":1},{"version":"0e5318ec2275d8da858b541920d9306650ae6ac8012f0e872fe66eb50321a669","impliedFormat":1},{"version":"cf530297c3fb3a92ec9591dd4fa229d58b5981e45fe6702a0bd2bea53a5e59be","impliedFormat":1},{"version":"c1f6f7d08d42148ddfe164d36d7aba91f467dbcb3caa715966ff95f55048b3a4","impliedFormat":1},{"version":"f4e9bf9103191ef3b3612d3ec0044ca4044ca5be27711fe648ada06fad4bcc85","impliedFormat":1},{"version":"0c1ee27b8f6a00097c2d6d91a21ee4d096ab52c1e28350f6362542b55380059a","impliedFormat":1},{"version":"7677d5b0db9e020d3017720f853ba18f415219fb3a9597343b1b1012cfd699f7","impliedFormat":1},{"version":"bc1c6bc119c1784b1a2be6d9c47addec0d83ef0d52c8fbe1f14a51b4dfffc675","impliedFormat":1},{"version":"52cf2ce99c2a23de70225e252e9822a22b4e0adb82643ab0b710858810e00bf1","impliedFormat":1},{"version":"770625067bb27a20b9826255a8d47b6b5b0a2d3dfcbd21f89904c731f671ba77","impliedFormat":1},{"version":"d1ed6765f4d7906a05968fb5cd6d1db8afa14dbe512a4884e8ea5c0f5e142c80","impliedFormat":1},{"version":"799c0f1b07c092626cf1efd71d459997635911bb5f7fc1196efe449bba87e965","impliedFormat":1},{"version":"2a184e4462b9914a30b1b5c41cf80c6d3428f17b20d3afb711fff3f0644001fd","impliedFormat":1},{"version":"9eabde32a3aa5d80de34af2c2206cdc3ee094c6504a8d0c2d6d20c7c179503cc","impliedFormat":1},{"version":"397c8051b6cfcb48aa22656f0faca2553c5f56187262135162ee79d2b2f6c966","impliedFormat":1},{"version":"a8ead142e0c87dcd5dc130eba1f8eeed506b08952d905c47621dc2f583b1bff9","impliedFormat":1},{"version":"a02f10ea5f73130efca046429254a4e3c06b5475baecc8f7b99a0014731be8b3","impliedFormat":1},{"version":"c2576a4083232b0e2d9bd06875dd43d371dee2e090325a9eac0133fd5650c1cb","impliedFormat":1},{"version":"4c9a0564bb317349de6a24eb4efea8bb79898fa72ad63a1809165f5bd42970dd","impliedFormat":1},{"version":"f40ac11d8859092d20f953aae14ba967282c3bb056431a37fced1866ec7a2681","impliedFormat":1},{"version":"cc11e9e79d4746cc59e0e17473a59d6f104692fd0eeea1bdb2e206eabed83b03","impliedFormat":1},{"version":"b444a410d34fb5e98aa5ee2b381362044f4884652e8bc8a11c8fe14bbd85518e","impliedFormat":1},{"version":"c35808c1f5e16d2c571aa65067e3cb95afeff843b259ecfa2fc107a9519b5392","impliedFormat":1},{"version":"14d5dc055143e941c8743c6a21fa459f961cbc3deedf1bfe47b11587ca4b3ef5","impliedFormat":1},{"version":"a3ad4e1fc542751005267d50a6298e6765928c0c3a8dce1572f2ba6ca518661c","impliedFormat":1},{"version":"f237e7c97a3a89f4591afd49ecb3bd8d14f51a1c4adc8fcae3430febedff5eb6","impliedFormat":1},{"version":"3ffdfbec93b7aed71082af62b8c3e0cc71261cc68d796665faa1e91604fbae8f","impliedFormat":1},{"version":"662201f943ed45b1ad600d03a90dffe20841e725203ced8b708c91fcd7f9379a","impliedFormat":1},{"version":"c9ef74c64ed051ea5b958621e7fb853fe3b56e8787c1587aefc6ea988b3c7e79","impliedFormat":1},{"version":"2462ccfac5f3375794b861abaa81da380f1bbd9401de59ffa43119a0b644253d","impliedFormat":1},{"version":"34baf65cfee92f110d6653322e2120c2d368ee64b3c7981dff08ed105c4f19b0","impliedFormat":1},{"version":"7d8ddf0f021c53099e34ee831a06c394d50371816caa98684812f089b4c6b3d4","impliedFormat":1},{"version":"7d2a0ba1297be385a89b5515b88cd31b4a1eeef5236f710166dc1b36b1741e1b","impliedFormat":1},{"version":"5adc55aaebfb20914e274a1202b5c78638260364997d724dec52d7b2704b461c","impliedFormat":1},{"version":"525b52b38b44420fb1758c0917e7b67cf379f7f9477d2ba7343f3d5f50a44258","affectsGlobalScope":true,"impliedFormat":1},{"version":"58b63c0f3bfac04d639c31a9fe094089c0bdcc8cda7bc35f1f23828677aa7926","impliedFormat":1},{"version":"d51d662a37aa1f1b97ed4caf4f1c25832047b9bfffcc707b53aedd07cd245303","impliedFormat":1},{"version":"b9d02ff98f8c5da182f415c7152b0da746346b0a15e6a93d772eff0c72165b9d","impliedFormat":1},{"version":"bae8d023ef6b23df7da26f51cea44321f95817c190342a36882e93b80d07a960","impliedFormat":1},{"version":"26a770cec4bd2e7dbba95c6e536390fffe83c6268b78974a93727903b515c4e7","impliedFormat":1}],"root":[181,187,201,[203,205]],"options":{"allowJs":false,"checkJs":false,"composite":true,"declaration":true,"declarationMap":true,"esModuleInterop":true,"inlineSourceMap":false,"module":199,"noUncheckedIndexedAccess":true,"outDir":"./esm","rootDir":"../src","skipLibCheck":true,"sourceMap":true,"strict":true,"target":9,"useUnknownInCatchVariables":false},"referencedMap":[[206,1],[208,2],[207,1],[210,3],[214,4],[213,5],[211,1],[215,6],[166,7],[216,8],[218,9],[219,10],[212,1],[164,11],[165,1],[220,8],[221,9],[222,1],[223,1],[224,1],[225,1],[209,1],[226,8],[227,12],[111,13],[112,13],[113,14],[114,15],[115,16],[116,17],[66,1],[69,18],[67,1],[68,1],[117,19],[118,20],[119,21],[120,22],[121,23],[122,24],[123,24],[125,25],[124,26],[126,27],[127,28],[128,29],[110,30],[129,31],[130,32],[131,33],[132,34],[133,35],[134,36],[135,37],[136,38],[137,39],[138,40],[139,41],[140,42],[141,43],[142,43],[143,44],[144,1],[145,45],[147,46],[146,47],[148,48],[149,49],[150,50],[151,51],[152,52],[153,53],[154,54],[71,55],[70,1],[163,56],[155,57],[156,58],[157,59],[158,60],[159,61],[160,62],[161,63],[162,64],[228,1],[229,1],[231,65],[232,1],[230,1],[257,66],[258,67],[233,68],[236,68],[255,66],[256,66],[246,66],[245,69],[243,66],[238,66],[251,66],[249,66],[253,66],[237,66],[250,66],[254,66],[239,66],[240,66],[252,66],[234,66],[241,66],[242,66],[244,66],[248,66],[259,70],[247,66],[235,66],[272,71],[271,1],[266,70],[268,72],[267,70],[260,70],[261,70],[263,70],[265,70],[269,72],[270,72],[262,72],[264,72],[275,73],[274,74],[273,1],[277,75],[190,1],[217,1],[278,76],[279,1],[280,77],[72,1],[168,78],[202,8],[191,79],[276,80],[167,81],[60,1],[61,1],[12,1],[11,1],[2,1],[13,1],[14,1],[15,1],[16,1],[17,1],[18,1],[19,1],[20,1],[3,1],[21,1],[4,1],[22,1],[26,1],[23,1],[24,1],[25,1],[27,1],[28,1],[29,1],[5,1],[30,1],[31,1],[32,1],[33,1],[6,1],[37,1],[34,1],[35,1],[36,1],[38,1],[7,1],[39,1],[44,1],[45,1],[40,1],[41,1],[42,1],[43,1],[8,1],[49,1],[46,1],[47,1],[48,1],[50,1],[9,1],[51,1],[52,1],[53,1],[56,1],[54,1],[55,1],[57,1],[58,1],[10,1],[59,1],[1,1],[88,82],[98,83],[87,82],[108,84],[79,85],[78,86],[107,8],[101,87],[106,88],[81,89],[95,90],[80,91],[104,92],[76,93],[75,8],[105,94],[77,95],[82,96],[83,1],[86,96],[73,1],[109,97],[99,98],[90,99],[91,100],[93,101],[89,102],[92,103],[102,8],[84,104],[85,105],[94,106],[74,107],[97,98],[96,96],[100,1],[103,108],[192,109],[195,110],[193,8],[194,111],[200,112],[199,1],[188,1],[197,1],[196,113],[175,1],[189,1],[198,1],[176,114],[174,115],[170,116],[169,117],[171,116],[172,116],[173,118],[205,119],[201,120],[187,121],[181,122],[204,123],[203,124],[177,125],[186,126],[182,1],[185,1],[184,127],[183,128],[180,129],[179,1],[178,130],[64,1],[65,131],[63,132],[62,1]],"latestChangedDtsFile":"./esm/index.d.ts","version":"5.6.3"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@iobroker/js-controller-common",
3
3
  "type": "module",
4
- "version": "7.0.2",
4
+ "version": "7.0.4-alpha.0-20241116-db3148f4f",
5
5
  "engines": {
6
6
  "node": ">=12.0.0"
7
7
  },
@@ -10,13 +10,13 @@
10
10
  "winston-syslog": "^2.6.0"
11
11
  },
12
12
  "dependencies": {
13
- "@iobroker/db-objects-file": "7.0.2",
14
- "@iobroker/db-objects-jsonl": "7.0.2",
15
- "@iobroker/db-objects-redis": "7.0.2",
16
- "@iobroker/db-states-file": "7.0.2",
17
- "@iobroker/db-states-jsonl": "7.0.2",
18
- "@iobroker/db-states-redis": "7.0.2",
19
- "@iobroker/js-controller-common-db": "7.0.2",
13
+ "@iobroker/db-objects-file": "7.0.4-alpha.0-20241116-db3148f4f",
14
+ "@iobroker/db-objects-jsonl": "7.0.4-alpha.0-20241116-db3148f4f",
15
+ "@iobroker/db-objects-redis": "7.0.4-alpha.0-20241116-db3148f4f",
16
+ "@iobroker/db-states-file": "7.0.4-alpha.0-20241116-db3148f4f",
17
+ "@iobroker/db-states-jsonl": "7.0.4-alpha.0-20241116-db3148f4f",
18
+ "@iobroker/db-states-redis": "7.0.4-alpha.0-20241116-db3148f4f",
19
+ "@iobroker/js-controller-common-db": "7.0.4-alpha.0-20241116-db3148f4f",
20
20
  "fs-extra": "^11.1.0",
21
21
  "jszip": "^3.10.1"
22
22
  },
@@ -55,5 +55,5 @@
55
55
  "files": [
56
56
  "build/"
57
57
  ],
58
- "gitHead": "06427179951aa037bdf485c0ea2483142c10d903"
58
+ "gitHead": "55ff47d48ea22e3b8e6dae0f7ecda51344da0a09"
59
59
  }