@uipath/solution-sdk 1.198.0-preview.85 → 1.198.0-preview.86

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 (2) hide show
  1. package/dist/index.js +1564 -1190
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -2535,7 +2535,7 @@ class TextApiResponse {
2535
2535
  var package_default = {
2536
2536
  name: "@uipath/solution-sdk",
2537
2537
  license: "MIT",
2538
- version: "1.198.0-preview.85",
2538
+ version: "1.198.0-preview.86",
2539
2539
  repository: {
2540
2540
  type: "git",
2541
2541
  url: "https://github.com/UiPath/cli.git",
@@ -7494,31 +7494,17 @@ function search(data, expression, options) {
7494
7494
  }
7495
7495
 
7496
7496
  // ../../node_modules/js-yaml/dist/js-yaml.mjs
7497
- /*! js-yaml 4.2.0 https://github.com/nodeca/js-yaml @license MIT */
7498
- var __create2 = Object.create;
7499
- var __defProp2 = Object.defineProperty;
7500
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
7501
- var __getOwnPropNames2 = Object.getOwnPropertyNames;
7502
- var __getProtoOf2 = Object.getPrototypeOf;
7503
- var __hasOwnProp2 = Object.prototype.hasOwnProperty;
7504
- var __commonJSMin = (cb, mod2) => () => (mod2 || (cb((mod2 = { exports: {} }).exports, mod2), cb = null), mod2.exports);
7505
- var __copyProps = (to, from, except, desc) => {
7506
- if (from && typeof from === "object" || typeof from === "function")
7507
- for (var keys = __getOwnPropNames2(from), i = 0, n = keys.length, key;i < n; i++) {
7508
- key = keys[i];
7509
- if (!__hasOwnProp2.call(to, key) && key !== except)
7510
- __defProp2(to, key, {
7511
- get: ((k) => from[k]).bind(null, key),
7512
- enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
7513
- });
7514
- }
7515
- return to;
7516
- };
7517
- var __toESM2 = (mod2, isNodeMode, target) => (target = mod2 != null ? __create2(__getProtoOf2(mod2)) : {}, __copyProps(isNodeMode || !mod2 || !mod2.__esModule ? __defProp2(target, "default", {
7518
- value: mod2,
7519
- enumerable: true
7520
- }) : target, mod2));
7521
- var require_common = /* @__PURE__ */ __commonJSMin((exports, module) => {
7497
+ function getDefaultExportFromCjs(x) {
7498
+ return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, "default") ? x["default"] : x;
7499
+ }
7500
+ var jsYaml = {};
7501
+ var loader = {};
7502
+ var common = {};
7503
+ var hasRequiredCommon;
7504
+ function requireCommon() {
7505
+ if (hasRequiredCommon)
7506
+ return common;
7507
+ hasRequiredCommon = 1;
7522
7508
  function isNothing(subject) {
7523
7509
  return typeof subject === "undefined" || subject === null;
7524
7510
  }
@@ -7544,55 +7530,71 @@ var require_common = /* @__PURE__ */ __commonJSMin((exports, module) => {
7544
7530
  }
7545
7531
  function repeat(string, count) {
7546
7532
  let result = "";
7547
- for (let cycle = 0;cycle < count; cycle += 1)
7533
+ for (let cycle = 0;cycle < count; cycle += 1) {
7548
7534
  result += string;
7535
+ }
7549
7536
  return result;
7550
7537
  }
7551
7538
  function isNegativeZero(number) {
7552
7539
  return number === 0 && Number.NEGATIVE_INFINITY === 1 / number;
7553
7540
  }
7554
- module.exports.isNothing = isNothing;
7555
- module.exports.isObject = isObject2;
7556
- module.exports.toArray = toArray;
7557
- module.exports.repeat = repeat;
7558
- module.exports.isNegativeZero = isNegativeZero;
7559
- module.exports.extend = extend;
7560
- });
7561
- var require_exception = /* @__PURE__ */ __commonJSMin((exports, module) => {
7562
- function formatError(exception, compact) {
7541
+ common.isNothing = isNothing;
7542
+ common.isObject = isObject2;
7543
+ common.toArray = toArray;
7544
+ common.repeat = repeat;
7545
+ common.isNegativeZero = isNegativeZero;
7546
+ common.extend = extend;
7547
+ return common;
7548
+ }
7549
+ var exception;
7550
+ var hasRequiredException;
7551
+ function requireException() {
7552
+ if (hasRequiredException)
7553
+ return exception;
7554
+ hasRequiredException = 1;
7555
+ function formatError(exception2, compact) {
7563
7556
  let where = "";
7564
- const message = exception.reason || "(unknown reason)";
7565
- if (!exception.mark)
7557
+ const message = exception2.reason || "(unknown reason)";
7558
+ if (!exception2.mark)
7566
7559
  return message;
7567
- if (exception.mark.name)
7568
- where += 'in "' + exception.mark.name + '" ';
7569
- where += "(" + (exception.mark.line + 1) + ":" + (exception.mark.column + 1) + ")";
7570
- if (!compact && exception.mark.snippet)
7560
+ if (exception2.mark.name) {
7561
+ where += 'in "' + exception2.mark.name + '" ';
7562
+ }
7563
+ where += "(" + (exception2.mark.line + 1) + ":" + (exception2.mark.column + 1) + ")";
7564
+ if (!compact && exception2.mark.snippet) {
7571
7565
  where += `
7572
7566
 
7573
- ` + exception.mark.snippet;
7567
+ ` + exception2.mark.snippet;
7568
+ }
7574
7569
  return message + " " + where;
7575
7570
  }
7576
- function YAMLException(reason, mark) {
7571
+ function YAMLException2(reason, mark) {
7577
7572
  Error.call(this);
7578
7573
  this.name = "YAMLException";
7579
7574
  this.reason = reason;
7580
7575
  this.mark = mark;
7581
7576
  this.message = formatError(this, false);
7582
- if (Error.captureStackTrace)
7577
+ if (Error.captureStackTrace) {
7583
7578
  Error.captureStackTrace(this, this.constructor);
7584
- else
7585
- this.stack = (/* @__PURE__ */ new Error()).stack || "";
7579
+ } else {
7580
+ this.stack = new Error().stack || "";
7581
+ }
7586
7582
  }
7587
- YAMLException.prototype = Object.create(Error.prototype);
7588
- YAMLException.prototype.constructor = YAMLException;
7589
- YAMLException.prototype.toString = function toString(compact) {
7583
+ YAMLException2.prototype = Object.create(Error.prototype);
7584
+ YAMLException2.prototype.constructor = YAMLException2;
7585
+ YAMLException2.prototype.toString = function toString(compact) {
7590
7586
  return this.name + ": " + formatError(this, compact);
7591
7587
  };
7592
- module.exports = YAMLException;
7593
- });
7594
- var require_snippet = /* @__PURE__ */ __commonJSMin((exports, module) => {
7595
- var common = require_common();
7588
+ exception = YAMLException2;
7589
+ return exception;
7590
+ }
7591
+ var snippet;
7592
+ var hasRequiredSnippet;
7593
+ function requireSnippet() {
7594
+ if (hasRequiredSnippet)
7595
+ return snippet;
7596
+ hasRequiredSnippet = 1;
7597
+ const common2 = requireCommon();
7596
7598
  function getLine(buffer, lineStart, lineEnd, position, maxLineLength) {
7597
7599
  let head = "";
7598
7600
  let tail = "";
@@ -7611,7 +7613,7 @@ var require_snippet = /* @__PURE__ */ __commonJSMin((exports, module) => {
7611
7613
  };
7612
7614
  }
7613
7615
  function padStart(string, max) {
7614
- return common.repeat(" ", max - string.length) + string;
7616
+ return common2.repeat(" ", max - string.length) + string;
7615
7617
  }
7616
7618
  function makeSnippet(mark, options) {
7617
7619
  options = Object.create(options || null);
@@ -7633,8 +7635,9 @@ var require_snippet = /* @__PURE__ */ __commonJSMin((exports, module) => {
7633
7635
  while (match = re.exec(mark.buffer)) {
7634
7636
  lineEnds.push(match.index);
7635
7637
  lineStarts.push(match.index + match[0].length);
7636
- if (mark.position <= match.index && foundLineNo < 0)
7638
+ if (mark.position <= match.index && foundLineNo < 0) {
7637
7639
  foundLineNo = lineStarts.length - 2;
7640
+ }
7638
7641
  }
7639
7642
  if (foundLineNo < 0)
7640
7643
  foundLineNo = lineStarts.length - 1;
@@ -7645,28 +7648,34 @@ var require_snippet = /* @__PURE__ */ __commonJSMin((exports, module) => {
7645
7648
  if (foundLineNo - i < 0)
7646
7649
  break;
7647
7650
  const line2 = getLine(mark.buffer, lineStarts[foundLineNo - i], lineEnds[foundLineNo - i], mark.position - (lineStarts[foundLineNo] - lineStarts[foundLineNo - i]), maxLineLength);
7648
- result = common.repeat(" ", options.indent) + padStart((mark.line - i + 1).toString(), lineNoLength) + " | " + line2.str + `
7651
+ result = common2.repeat(" ", options.indent) + padStart((mark.line - i + 1).toString(), lineNoLength) + " | " + line2.str + `
7649
7652
  ` + result;
7650
7653
  }
7651
7654
  const line = getLine(mark.buffer, lineStarts[foundLineNo], lineEnds[foundLineNo], mark.position, maxLineLength);
7652
- result += common.repeat(" ", options.indent) + padStart((mark.line + 1).toString(), lineNoLength) + " | " + line.str + `
7655
+ result += common2.repeat(" ", options.indent) + padStart((mark.line + 1).toString(), lineNoLength) + " | " + line.str + `
7653
7656
  `;
7654
- result += common.repeat("-", options.indent + lineNoLength + 3 + line.pos) + `^
7657
+ result += common2.repeat("-", options.indent + lineNoLength + 3 + line.pos) + `^
7655
7658
  `;
7656
7659
  for (let i = 1;i <= options.linesAfter; i++) {
7657
7660
  if (foundLineNo + i >= lineEnds.length)
7658
7661
  break;
7659
7662
  const line2 = getLine(mark.buffer, lineStarts[foundLineNo + i], lineEnds[foundLineNo + i], mark.position - (lineStarts[foundLineNo] - lineStarts[foundLineNo + i]), maxLineLength);
7660
- result += common.repeat(" ", options.indent) + padStart((mark.line + i + 1).toString(), lineNoLength) + " | " + line2.str + `
7663
+ result += common2.repeat(" ", options.indent) + padStart((mark.line + i + 1).toString(), lineNoLength) + " | " + line2.str + `
7661
7664
  `;
7662
7665
  }
7663
7666
  return result.replace(/\n$/, "");
7664
7667
  }
7665
- module.exports = makeSnippet;
7666
- });
7667
- var require_type = /* @__PURE__ */ __commonJSMin((exports, module) => {
7668
- var YAMLException = require_exception();
7669
- var TYPE_CONSTRUCTOR_OPTIONS = [
7668
+ snippet = makeSnippet;
7669
+ return snippet;
7670
+ }
7671
+ var type;
7672
+ var hasRequiredType;
7673
+ function requireType() {
7674
+ if (hasRequiredType)
7675
+ return type;
7676
+ hasRequiredType = 1;
7677
+ const YAMLException2 = requireException();
7678
+ const TYPE_CONSTRUCTOR_OPTIONS = [
7670
7679
  "kind",
7671
7680
  "multi",
7672
7681
  "resolve",
@@ -7678,26 +7687,28 @@ var require_type = /* @__PURE__ */ __commonJSMin((exports, module) => {
7678
7687
  "defaultStyle",
7679
7688
  "styleAliases"
7680
7689
  ];
7681
- var YAML_NODE_KINDS = [
7690
+ const YAML_NODE_KINDS = [
7682
7691
  "scalar",
7683
7692
  "sequence",
7684
7693
  "mapping"
7685
7694
  ];
7686
- function compileStyleAliases(map) {
7695
+ function compileStyleAliases(map2) {
7687
7696
  const result = {};
7688
- if (map !== null)
7689
- Object.keys(map).forEach(function(style) {
7690
- map[style].forEach(function(alias) {
7697
+ if (map2 !== null) {
7698
+ Object.keys(map2).forEach(function(style) {
7699
+ map2[style].forEach(function(alias) {
7691
7700
  result[String(alias)] = style;
7692
7701
  });
7693
7702
  });
7703
+ }
7694
7704
  return result;
7695
7705
  }
7696
- function Type(tag, options) {
7706
+ function Type2(tag, options) {
7697
7707
  options = options || {};
7698
7708
  Object.keys(options).forEach(function(name) {
7699
- if (TYPE_CONSTRUCTOR_OPTIONS.indexOf(name) === -1)
7700
- throw new YAMLException('Unknown option "' + name + '" is met in definition of "' + tag + '" YAML type.');
7709
+ if (TYPE_CONSTRUCTOR_OPTIONS.indexOf(name) === -1) {
7710
+ throw new YAMLException2('Unknown option "' + name + '" is met in definition of "' + tag + '" YAML type.');
7711
+ }
7701
7712
  });
7702
7713
  this.options = options;
7703
7714
  this.tag = tag;
@@ -7715,21 +7726,29 @@ var require_type = /* @__PURE__ */ __commonJSMin((exports, module) => {
7715
7726
  this.defaultStyle = options["defaultStyle"] || null;
7716
7727
  this.multi = options["multi"] || false;
7717
7728
  this.styleAliases = compileStyleAliases(options["styleAliases"] || null);
7718
- if (YAML_NODE_KINDS.indexOf(this.kind) === -1)
7719
- throw new YAMLException('Unknown kind "' + this.kind + '" is specified for "' + tag + '" YAML type.');
7720
- }
7721
- module.exports = Type;
7722
- });
7723
- var require_schema = /* @__PURE__ */ __commonJSMin((exports, module) => {
7724
- var YAMLException = require_exception();
7725
- var Type = require_type();
7726
- function compileList(schema, name) {
7729
+ if (YAML_NODE_KINDS.indexOf(this.kind) === -1) {
7730
+ throw new YAMLException2('Unknown kind "' + this.kind + '" is specified for "' + tag + '" YAML type.');
7731
+ }
7732
+ }
7733
+ type = Type2;
7734
+ return type;
7735
+ }
7736
+ var schema;
7737
+ var hasRequiredSchema;
7738
+ function requireSchema() {
7739
+ if (hasRequiredSchema)
7740
+ return schema;
7741
+ hasRequiredSchema = 1;
7742
+ const YAMLException2 = requireException();
7743
+ const Type2 = requireType();
7744
+ function compileList(schema2, name) {
7727
7745
  const result = [];
7728
- schema[name].forEach(function(currentType) {
7746
+ schema2[name].forEach(function(currentType) {
7729
7747
  let newIndex = result.length;
7730
7748
  result.forEach(function(previousType, previousIndex) {
7731
- if (previousType.tag === currentType.tag && previousType.kind === currentType.kind && previousType.multi === currentType.multi)
7749
+ if (previousType.tag === currentType.tag && previousType.kind === currentType.kind && previousType.multi === currentType.multi) {
7732
7750
  newIndex = previousIndex;
7751
+ }
7733
7752
  });
7734
7753
  result[newIndex] = currentType;
7735
7754
  });
@@ -7748,47 +7767,54 @@ var require_schema = /* @__PURE__ */ __commonJSMin((exports, module) => {
7748
7767
  fallback: []
7749
7768
  }
7750
7769
  };
7751
- function collectType(type) {
7752
- if (type.multi) {
7753
- result.multi[type.kind].push(type);
7754
- result.multi["fallback"].push(type);
7755
- } else
7756
- result[type.kind][type.tag] = result["fallback"][type.tag] = type;
7770
+ function collectType(type2) {
7771
+ if (type2.multi) {
7772
+ result.multi[type2.kind].push(type2);
7773
+ result.multi["fallback"].push(type2);
7774
+ } else {
7775
+ result[type2.kind][type2.tag] = result["fallback"][type2.tag] = type2;
7776
+ }
7757
7777
  }
7758
- for (let index = 0, length = arguments.length;index < length; index += 1)
7778
+ for (let index = 0, length = arguments.length;index < length; index += 1) {
7759
7779
  arguments[index].forEach(collectType);
7780
+ }
7760
7781
  return result;
7761
7782
  }
7762
- function Schema(definition) {
7783
+ function Schema2(definition) {
7763
7784
  return this.extend(definition);
7764
7785
  }
7765
- Schema.prototype.extend = function extend(definition) {
7786
+ Schema2.prototype.extend = function extend(definition) {
7766
7787
  let implicit = [];
7767
7788
  let explicit = [];
7768
- if (definition instanceof Type)
7789
+ if (definition instanceof Type2) {
7769
7790
  explicit.push(definition);
7770
- else if (Array.isArray(definition))
7791
+ } else if (Array.isArray(definition)) {
7771
7792
  explicit = explicit.concat(definition);
7772
- else if (definition && (Array.isArray(definition.implicit) || Array.isArray(definition.explicit))) {
7793
+ } else if (definition && (Array.isArray(definition.implicit) || Array.isArray(definition.explicit))) {
7773
7794
  if (definition.implicit)
7774
7795
  implicit = implicit.concat(definition.implicit);
7775
7796
  if (definition.explicit)
7776
7797
  explicit = explicit.concat(definition.explicit);
7777
- } else
7778
- throw new YAMLException("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");
7779
- implicit.forEach(function(type) {
7780
- if (!(type instanceof Type))
7781
- throw new YAMLException("Specified list of YAML types (or a single Type object) contains a non-Type object.");
7782
- if (type.loadKind && type.loadKind !== "scalar")
7783
- throw new YAMLException("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.");
7784
- if (type.multi)
7785
- throw new YAMLException("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.");
7798
+ } else {
7799
+ throw new YAMLException2("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");
7800
+ }
7801
+ implicit.forEach(function(type2) {
7802
+ if (!(type2 instanceof Type2)) {
7803
+ throw new YAMLException2("Specified list of YAML types (or a single Type object) contains a non-Type object.");
7804
+ }
7805
+ if (type2.loadKind && type2.loadKind !== "scalar") {
7806
+ throw new YAMLException2("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.");
7807
+ }
7808
+ if (type2.multi) {
7809
+ throw new YAMLException2("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.");
7810
+ }
7786
7811
  });
7787
- explicit.forEach(function(type) {
7788
- if (!(type instanceof Type))
7789
- throw new YAMLException("Specified list of YAML types (or a single Type object) contains a non-Type object.");
7812
+ explicit.forEach(function(type2) {
7813
+ if (!(type2 instanceof Type2)) {
7814
+ throw new YAMLException2("Specified list of YAML types (or a single Type object) contains a non-Type object.");
7815
+ }
7790
7816
  });
7791
- const result = Object.create(Schema.prototype);
7817
+ const result = Object.create(Schema2.prototype);
7792
7818
  result.implicit = (this.implicit || []).concat(implicit);
7793
7819
  result.explicit = (this.explicit || []).concat(explicit);
7794
7820
  result.compiledImplicit = compileList(result, "implicit");
@@ -7796,41 +7822,77 @@ var require_schema = /* @__PURE__ */ __commonJSMin((exports, module) => {
7796
7822
  result.compiledTypeMap = compileMap(result.compiledImplicit, result.compiledExplicit);
7797
7823
  return result;
7798
7824
  };
7799
- module.exports = Schema;
7800
- });
7801
- var require_str = /* @__PURE__ */ __commonJSMin((exports, module) => {
7802
- module.exports = new (require_type())("tag:yaml.org,2002:str", {
7825
+ schema = Schema2;
7826
+ return schema;
7827
+ }
7828
+ var str;
7829
+ var hasRequiredStr;
7830
+ function requireStr() {
7831
+ if (hasRequiredStr)
7832
+ return str;
7833
+ hasRequiredStr = 1;
7834
+ const Type2 = requireType();
7835
+ str = new Type2("tag:yaml.org,2002:str", {
7803
7836
  kind: "scalar",
7804
7837
  construct: function(data) {
7805
7838
  return data !== null ? data : "";
7806
7839
  }
7807
7840
  });
7808
- });
7809
- var require_seq = /* @__PURE__ */ __commonJSMin((exports, module) => {
7810
- module.exports = new (require_type())("tag:yaml.org,2002:seq", {
7841
+ return str;
7842
+ }
7843
+ var seq;
7844
+ var hasRequiredSeq;
7845
+ function requireSeq() {
7846
+ if (hasRequiredSeq)
7847
+ return seq;
7848
+ hasRequiredSeq = 1;
7849
+ const Type2 = requireType();
7850
+ seq = new Type2("tag:yaml.org,2002:seq", {
7811
7851
  kind: "sequence",
7812
7852
  construct: function(data) {
7813
7853
  return data !== null ? data : [];
7814
7854
  }
7815
7855
  });
7816
- });
7817
- var require_map = /* @__PURE__ */ __commonJSMin((exports, module) => {
7818
- module.exports = new (require_type())("tag:yaml.org,2002:map", {
7856
+ return seq;
7857
+ }
7858
+ var map;
7859
+ var hasRequiredMap;
7860
+ function requireMap() {
7861
+ if (hasRequiredMap)
7862
+ return map;
7863
+ hasRequiredMap = 1;
7864
+ const Type2 = requireType();
7865
+ map = new Type2("tag:yaml.org,2002:map", {
7819
7866
  kind: "mapping",
7820
7867
  construct: function(data) {
7821
7868
  return data !== null ? data : {};
7822
7869
  }
7823
7870
  });
7824
- });
7825
- var require_failsafe = /* @__PURE__ */ __commonJSMin((exports, module) => {
7826
- module.exports = new (require_schema())({ explicit: [
7827
- require_str(),
7828
- require_seq(),
7829
- require_map()
7830
- ] });
7831
- });
7832
- var require_null = /* @__PURE__ */ __commonJSMin((exports, module) => {
7833
- var Type = require_type();
7871
+ return map;
7872
+ }
7873
+ var failsafe;
7874
+ var hasRequiredFailsafe;
7875
+ function requireFailsafe() {
7876
+ if (hasRequiredFailsafe)
7877
+ return failsafe;
7878
+ hasRequiredFailsafe = 1;
7879
+ const Schema2 = requireSchema();
7880
+ failsafe = new Schema2({
7881
+ explicit: [
7882
+ requireStr(),
7883
+ requireSeq(),
7884
+ requireMap()
7885
+ ]
7886
+ });
7887
+ return failsafe;
7888
+ }
7889
+ var _null;
7890
+ var hasRequired_null;
7891
+ function require_null() {
7892
+ if (hasRequired_null)
7893
+ return _null;
7894
+ hasRequired_null = 1;
7895
+ const Type2 = requireType();
7834
7896
  function resolveYamlNull(data) {
7835
7897
  if (data === null)
7836
7898
  return true;
@@ -7843,7 +7905,7 @@ var require_null = /* @__PURE__ */ __commonJSMin((exports, module) => {
7843
7905
  function isNull(object) {
7844
7906
  return object === null;
7845
7907
  }
7846
- module.exports = new Type("tag:yaml.org,2002:null", {
7908
+ _null = new Type2("tag:yaml.org,2002:null", {
7847
7909
  kind: "scalar",
7848
7910
  resolve: resolveYamlNull,
7849
7911
  construct: constructYamlNull,
@@ -7867,9 +7929,15 @@ var require_null = /* @__PURE__ */ __commonJSMin((exports, module) => {
7867
7929
  },
7868
7930
  defaultStyle: "lowercase"
7869
7931
  });
7870
- });
7871
- var require_bool = /* @__PURE__ */ __commonJSMin((exports, module) => {
7872
- var Type = require_type();
7932
+ return _null;
7933
+ }
7934
+ var bool;
7935
+ var hasRequiredBool;
7936
+ function requireBool() {
7937
+ if (hasRequiredBool)
7938
+ return bool;
7939
+ hasRequiredBool = 1;
7940
+ const Type2 = requireType();
7873
7941
  function resolveYamlBoolean(data) {
7874
7942
  if (data === null)
7875
7943
  return false;
@@ -7882,7 +7950,7 @@ var require_bool = /* @__PURE__ */ __commonJSMin((exports, module) => {
7882
7950
  function isBoolean(object) {
7883
7951
  return Object.prototype.toString.call(object) === "[object Boolean]";
7884
7952
  }
7885
- module.exports = new Type("tag:yaml.org,2002:bool", {
7953
+ bool = new Type2("tag:yaml.org,2002:bool", {
7886
7954
  kind: "scalar",
7887
7955
  resolve: resolveYamlBoolean,
7888
7956
  construct: constructYamlBoolean,
@@ -7900,10 +7968,16 @@ var require_bool = /* @__PURE__ */ __commonJSMin((exports, module) => {
7900
7968
  },
7901
7969
  defaultStyle: "lowercase"
7902
7970
  });
7903
- });
7904
- var require_int = /* @__PURE__ */ __commonJSMin((exports, module) => {
7905
- var common = require_common();
7906
- var Type = require_type();
7971
+ return bool;
7972
+ }
7973
+ var int;
7974
+ var hasRequiredInt;
7975
+ function requireInt() {
7976
+ if (hasRequiredInt)
7977
+ return int;
7978
+ hasRequiredInt = 1;
7979
+ const common2 = requireCommon();
7980
+ const Type2 = requireType();
7907
7981
  function isHexCode(c) {
7908
7982
  return c >= 48 && c <= 57 || c >= 65 && c <= 70 || c >= 97 && c <= 102;
7909
7983
  }
@@ -7922,8 +7996,9 @@ var require_int = /* @__PURE__ */ __commonJSMin((exports, module) => {
7922
7996
  if (!max)
7923
7997
  return false;
7924
7998
  let ch = data[index];
7925
- if (ch === "-" || ch === "+")
7999
+ if (ch === "-" || ch === "+") {
7926
8000
  ch = data[++index];
8001
+ }
7927
8002
  if (ch === "0") {
7928
8003
  if (index + 1 === max)
7929
8004
  return true;
@@ -7936,7 +8011,7 @@ var require_int = /* @__PURE__ */ __commonJSMin((exports, module) => {
7936
8011
  return false;
7937
8012
  hasDigits = true;
7938
8013
  }
7939
- return hasDigits && Number.isFinite(parseYamlInteger(data));
8014
+ return hasDigits && isFinite(parseYamlInteger(data));
7940
8015
  }
7941
8016
  if (ch === "x") {
7942
8017
  index++;
@@ -7945,7 +8020,7 @@ var require_int = /* @__PURE__ */ __commonJSMin((exports, module) => {
7945
8020
  return false;
7946
8021
  hasDigits = true;
7947
8022
  }
7948
- return hasDigits && Number.isFinite(parseYamlInteger(data));
8023
+ return hasDigits && isFinite(parseYamlInteger(data));
7949
8024
  }
7950
8025
  if (ch === "o") {
7951
8026
  index++;
@@ -7954,17 +8029,18 @@ var require_int = /* @__PURE__ */ __commonJSMin((exports, module) => {
7954
8029
  return false;
7955
8030
  hasDigits = true;
7956
8031
  }
7957
- return hasDigits && Number.isFinite(parseYamlInteger(data));
8032
+ return hasDigits && isFinite(parseYamlInteger(data));
7958
8033
  }
7959
8034
  }
7960
8035
  for (;index < max; index++) {
7961
- if (!isDecCode(data.charCodeAt(index)))
8036
+ if (!isDecCode(data.charCodeAt(index))) {
7962
8037
  return false;
8038
+ }
7963
8039
  hasDigits = true;
7964
8040
  }
7965
8041
  if (!hasDigits)
7966
8042
  return false;
7967
- return Number.isFinite(parseYamlInteger(data));
8043
+ return isFinite(parseYamlInteger(data));
7968
8044
  }
7969
8045
  function parseYamlInteger(data) {
7970
8046
  let value = data;
@@ -7992,9 +8068,9 @@ var require_int = /* @__PURE__ */ __commonJSMin((exports, module) => {
7992
8068
  return parseYamlInteger(data);
7993
8069
  }
7994
8070
  function isInteger(object) {
7995
- return Object.prototype.toString.call(object) === "[object Number]" && object % 1 === 0 && !common.isNegativeZero(object);
8071
+ return Object.prototype.toString.call(object) === "[object Number]" && (object % 1 === 0 && !common2.isNegativeZero(object));
7996
8072
  }
7997
- module.exports = new Type("tag:yaml.org,2002:int", {
8073
+ int = new Type2("tag:yaml.org,2002:int", {
7998
8074
  kind: "scalar",
7999
8075
  resolve: resolveYamlInteger,
8000
8076
  construct: constructYamlInteger,
@@ -8021,35 +8097,45 @@ var require_int = /* @__PURE__ */ __commonJSMin((exports, module) => {
8021
8097
  hexadecimal: [16, "hex"]
8022
8098
  }
8023
8099
  });
8024
- });
8025
- var require_float = /* @__PURE__ */ __commonJSMin((exports, module) => {
8026
- var common = require_common();
8027
- var Type = require_type();
8028
- var YAML_FLOAT_PATTERN = /* @__PURE__ */ new RegExp("^(?:[-+]?(?:[0-9]+)(?:\\.[0-9]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");
8029
- var YAML_FLOAT_SPECIAL_PATTERN = /* @__PURE__ */ new RegExp("^(?:[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");
8100
+ return int;
8101
+ }
8102
+ var float;
8103
+ var hasRequiredFloat;
8104
+ function requireFloat() {
8105
+ if (hasRequiredFloat)
8106
+ return float;
8107
+ hasRequiredFloat = 1;
8108
+ const common2 = requireCommon();
8109
+ const Type2 = requireType();
8110
+ const YAML_FLOAT_PATTERN = new RegExp("^(?:[-+]?(?:[0-9]+)(?:\\.[0-9]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");
8111
+ const YAML_FLOAT_SPECIAL_PATTERN = new RegExp("^(?:[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");
8030
8112
  function resolveYamlFloat(data) {
8031
8113
  if (data === null)
8032
8114
  return false;
8033
- if (!YAML_FLOAT_PATTERN.test(data))
8115
+ if (!YAML_FLOAT_PATTERN.test(data)) {
8034
8116
  return false;
8035
- if (Number.isFinite(parseFloat(data, 10)))
8117
+ }
8118
+ if (isFinite(parseFloat(data, 10))) {
8036
8119
  return true;
8120
+ }
8037
8121
  return YAML_FLOAT_SPECIAL_PATTERN.test(data);
8038
8122
  }
8039
8123
  function constructYamlFloat(data) {
8040
8124
  let value = data.toLowerCase();
8041
8125
  const sign = value[0] === "-" ? -1 : 1;
8042
- if ("+-".indexOf(value[0]) >= 0)
8126
+ if ("+-".indexOf(value[0]) >= 0) {
8043
8127
  value = value.slice(1);
8044
- if (value === ".inf")
8128
+ }
8129
+ if (value === ".inf") {
8045
8130
  return sign === 1 ? Number.POSITIVE_INFINITY : Number.NEGATIVE_INFINITY;
8046
- else if (value === ".nan")
8131
+ } else if (value === ".nan") {
8047
8132
  return NaN;
8133
+ }
8048
8134
  return sign * parseFloat(value, 10);
8049
8135
  }
8050
- var SCIENTIFIC_WITHOUT_DOT = /^[-+]?[0-9]+e/;
8136
+ const SCIENTIFIC_WITHOUT_DOT = /^[-+]?[0-9]+e/;
8051
8137
  function representYamlFloat(object, style) {
8052
- if (isNaN(object))
8138
+ if (isNaN(object)) {
8053
8139
  switch (style) {
8054
8140
  case "lowercase":
8055
8141
  return ".nan";
@@ -8058,7 +8144,7 @@ var require_float = /* @__PURE__ */ __commonJSMin((exports, module) => {
8058
8144
  case "camelcase":
8059
8145
  return ".NaN";
8060
8146
  }
8061
- else if (Number.POSITIVE_INFINITY === object)
8147
+ } else if (Number.POSITIVE_INFINITY === object) {
8062
8148
  switch (style) {
8063
8149
  case "lowercase":
8064
8150
  return ".inf";
@@ -8067,7 +8153,7 @@ var require_float = /* @__PURE__ */ __commonJSMin((exports, module) => {
8067
8153
  case "camelcase":
8068
8154
  return ".Inf";
8069
8155
  }
8070
- else if (Number.NEGATIVE_INFINITY === object)
8156
+ } else if (Number.NEGATIVE_INFINITY === object) {
8071
8157
  switch (style) {
8072
8158
  case "lowercase":
8073
8159
  return "-.inf";
@@ -8076,15 +8162,16 @@ var require_float = /* @__PURE__ */ __commonJSMin((exports, module) => {
8076
8162
  case "camelcase":
8077
8163
  return "-.Inf";
8078
8164
  }
8079
- else if (common.isNegativeZero(object))
8165
+ } else if (common2.isNegativeZero(object)) {
8080
8166
  return "-0.0";
8167
+ }
8081
8168
  const res = object.toString(10);
8082
8169
  return SCIENTIFIC_WITHOUT_DOT.test(res) ? res.replace("e", ".e") : res;
8083
8170
  }
8084
8171
  function isFloat(object) {
8085
- return Object.prototype.toString.call(object) === "[object Number]" && (object % 1 !== 0 || common.isNegativeZero(object));
8172
+ return Object.prototype.toString.call(object) === "[object Number]" && (object % 1 !== 0 || common2.isNegativeZero(object));
8086
8173
  }
8087
- module.exports = new Type("tag:yaml.org,2002:float", {
8174
+ float = new Type2("tag:yaml.org,2002:float", {
8088
8175
  kind: "scalar",
8089
8176
  resolve: resolveYamlFloat,
8090
8177
  construct: constructYamlFloat,
@@ -8092,22 +8179,42 @@ var require_float = /* @__PURE__ */ __commonJSMin((exports, module) => {
8092
8179
  represent: representYamlFloat,
8093
8180
  defaultStyle: "lowercase"
8094
8181
  });
8095
- });
8096
- var require_json = /* @__PURE__ */ __commonJSMin((exports, module) => {
8097
- module.exports = require_failsafe().extend({ implicit: [
8098
- require_null(),
8099
- require_bool(),
8100
- require_int(),
8101
- require_float()
8102
- ] });
8103
- });
8104
- var require_core = /* @__PURE__ */ __commonJSMin((exports, module) => {
8105
- module.exports = require_json();
8106
- });
8107
- var require_timestamp = /* @__PURE__ */ __commonJSMin((exports, module) => {
8108
- var Type = require_type();
8109
- var YAML_DATE_REGEXP = /* @__PURE__ */ new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$");
8110
- var YAML_TIMESTAMP_REGEXP = /* @__PURE__ */ new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");
8182
+ return float;
8183
+ }
8184
+ var json;
8185
+ var hasRequiredJson;
8186
+ function requireJson() {
8187
+ if (hasRequiredJson)
8188
+ return json;
8189
+ hasRequiredJson = 1;
8190
+ json = requireFailsafe().extend({
8191
+ implicit: [
8192
+ require_null(),
8193
+ requireBool(),
8194
+ requireInt(),
8195
+ requireFloat()
8196
+ ]
8197
+ });
8198
+ return json;
8199
+ }
8200
+ var core;
8201
+ var hasRequiredCore;
8202
+ function requireCore() {
8203
+ if (hasRequiredCore)
8204
+ return core;
8205
+ hasRequiredCore = 1;
8206
+ core = requireJson();
8207
+ return core;
8208
+ }
8209
+ var timestamp;
8210
+ var hasRequiredTimestamp;
8211
+ function requireTimestamp() {
8212
+ if (hasRequiredTimestamp)
8213
+ return timestamp;
8214
+ hasRequiredTimestamp = 1;
8215
+ const Type2 = requireType();
8216
+ const YAML_DATE_REGEXP = new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$");
8217
+ const YAML_TIMESTAMP_REGEXP = new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");
8111
8218
  function resolveYamlTimestamp(data) {
8112
8219
  if (data === null)
8113
8220
  return false;
@@ -8128,15 +8235,17 @@ var require_timestamp = /* @__PURE__ */ __commonJSMin((exports, module) => {
8128
8235
  const year = +match[1];
8129
8236
  const month = +match[2] - 1;
8130
8237
  const day = +match[3];
8131
- if (!match[4])
8238
+ if (!match[4]) {
8132
8239
  return new Date(Date.UTC(year, month, day));
8240
+ }
8133
8241
  const hour = +match[4];
8134
8242
  const minute = +match[5];
8135
8243
  const second = +match[6];
8136
8244
  if (match[7]) {
8137
8245
  fraction = match[7].slice(0, 3);
8138
- while (fraction.length < 3)
8246
+ while (fraction.length < 3) {
8139
8247
  fraction += "0";
8248
+ }
8140
8249
  fraction = +fraction;
8141
8250
  }
8142
8251
  if (match[9]) {
@@ -8154,36 +8263,48 @@ var require_timestamp = /* @__PURE__ */ __commonJSMin((exports, module) => {
8154
8263
  function representYamlTimestamp(object) {
8155
8264
  return object.toISOString();
8156
8265
  }
8157
- module.exports = new Type("tag:yaml.org,2002:timestamp", {
8266
+ timestamp = new Type2("tag:yaml.org,2002:timestamp", {
8158
8267
  kind: "scalar",
8159
8268
  resolve: resolveYamlTimestamp,
8160
8269
  construct: constructYamlTimestamp,
8161
8270
  instanceOf: Date,
8162
8271
  represent: representYamlTimestamp
8163
8272
  });
8164
- });
8165
- var require_merge = /* @__PURE__ */ __commonJSMin((exports, module) => {
8166
- var Type = require_type();
8273
+ return timestamp;
8274
+ }
8275
+ var merge;
8276
+ var hasRequiredMerge;
8277
+ function requireMerge() {
8278
+ if (hasRequiredMerge)
8279
+ return merge;
8280
+ hasRequiredMerge = 1;
8281
+ const Type2 = requireType();
8167
8282
  function resolveYamlMerge(data) {
8168
8283
  return data === "<<" || data === null;
8169
8284
  }
8170
- module.exports = new Type("tag:yaml.org,2002:merge", {
8285
+ merge = new Type2("tag:yaml.org,2002:merge", {
8171
8286
  kind: "scalar",
8172
8287
  resolve: resolveYamlMerge
8173
8288
  });
8174
- });
8175
- var require_binary = /* @__PURE__ */ __commonJSMin((exports, module) => {
8176
- var Type = require_type();
8177
- var BASE64_MAP = `ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
8289
+ return merge;
8290
+ }
8291
+ var binary;
8292
+ var hasRequiredBinary;
8293
+ function requireBinary() {
8294
+ if (hasRequiredBinary)
8295
+ return binary;
8296
+ hasRequiredBinary = 1;
8297
+ const Type2 = requireType();
8298
+ const BASE64_MAP = `ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
8178
8299
  \r`;
8179
8300
  function resolveYamlBinary(data) {
8180
8301
  if (data === null)
8181
8302
  return false;
8182
8303
  let bitlen = 0;
8183
8304
  const max = data.length;
8184
- const map = BASE64_MAP;
8305
+ const map2 = BASE64_MAP;
8185
8306
  for (let idx = 0;idx < max; idx++) {
8186
- const code = map.indexOf(data.charAt(idx));
8307
+ const code = map2.indexOf(data.charAt(idx));
8187
8308
  if (code > 64)
8188
8309
  continue;
8189
8310
  if (code < 0)
@@ -8195,7 +8316,7 @@ var require_binary = /* @__PURE__ */ __commonJSMin((exports, module) => {
8195
8316
  function constructYamlBinary(data) {
8196
8317
  const input = data.replace(/[\r\n=]/g, "");
8197
8318
  const max = input.length;
8198
- const map = BASE64_MAP;
8319
+ const map2 = BASE64_MAP;
8199
8320
  let bits = 0;
8200
8321
  const result = [];
8201
8322
  for (let idx = 0;idx < max; idx++) {
@@ -8204,7 +8325,7 @@ var require_binary = /* @__PURE__ */ __commonJSMin((exports, module) => {
8204
8325
  result.push(bits >> 8 & 255);
8205
8326
  result.push(bits & 255);
8206
8327
  }
8207
- bits = bits << 6 | map.indexOf(input.charAt(idx));
8328
+ bits = bits << 6 | map2.indexOf(input.charAt(idx));
8208
8329
  }
8209
8330
  const tailbits = max % 4 * 6;
8210
8331
  if (tailbits === 0) {
@@ -8214,58 +8335,65 @@ var require_binary = /* @__PURE__ */ __commonJSMin((exports, module) => {
8214
8335
  } else if (tailbits === 18) {
8215
8336
  result.push(bits >> 10 & 255);
8216
8337
  result.push(bits >> 2 & 255);
8217
- } else if (tailbits === 12)
8338
+ } else if (tailbits === 12) {
8218
8339
  result.push(bits >> 4 & 255);
8340
+ }
8219
8341
  return new Uint8Array(result);
8220
8342
  }
8221
8343
  function representYamlBinary(object) {
8222
8344
  let result = "";
8223
8345
  let bits = 0;
8224
8346
  const max = object.length;
8225
- const map = BASE64_MAP;
8347
+ const map2 = BASE64_MAP;
8226
8348
  for (let idx = 0;idx < max; idx++) {
8227
8349
  if (idx % 3 === 0 && idx) {
8228
- result += map[bits >> 18 & 63];
8229
- result += map[bits >> 12 & 63];
8230
- result += map[bits >> 6 & 63];
8231
- result += map[bits & 63];
8350
+ result += map2[bits >> 18 & 63];
8351
+ result += map2[bits >> 12 & 63];
8352
+ result += map2[bits >> 6 & 63];
8353
+ result += map2[bits & 63];
8232
8354
  }
8233
8355
  bits = (bits << 8) + object[idx];
8234
8356
  }
8235
8357
  const tail = max % 3;
8236
8358
  if (tail === 0) {
8237
- result += map[bits >> 18 & 63];
8238
- result += map[bits >> 12 & 63];
8239
- result += map[bits >> 6 & 63];
8240
- result += map[bits & 63];
8359
+ result += map2[bits >> 18 & 63];
8360
+ result += map2[bits >> 12 & 63];
8361
+ result += map2[bits >> 6 & 63];
8362
+ result += map2[bits & 63];
8241
8363
  } else if (tail === 2) {
8242
- result += map[bits >> 10 & 63];
8243
- result += map[bits >> 4 & 63];
8244
- result += map[bits << 2 & 63];
8245
- result += map[64];
8364
+ result += map2[bits >> 10 & 63];
8365
+ result += map2[bits >> 4 & 63];
8366
+ result += map2[bits << 2 & 63];
8367
+ result += map2[64];
8246
8368
  } else if (tail === 1) {
8247
- result += map[bits >> 2 & 63];
8248
- result += map[bits << 4 & 63];
8249
- result += map[64];
8250
- result += map[64];
8369
+ result += map2[bits >> 2 & 63];
8370
+ result += map2[bits << 4 & 63];
8371
+ result += map2[64];
8372
+ result += map2[64];
8251
8373
  }
8252
8374
  return result;
8253
8375
  }
8254
8376
  function isBinary(obj) {
8255
8377
  return Object.prototype.toString.call(obj) === "[object Uint8Array]";
8256
8378
  }
8257
- module.exports = new Type("tag:yaml.org,2002:binary", {
8379
+ binary = new Type2("tag:yaml.org,2002:binary", {
8258
8380
  kind: "scalar",
8259
8381
  resolve: resolveYamlBinary,
8260
8382
  construct: constructYamlBinary,
8261
8383
  predicate: isBinary,
8262
8384
  represent: representYamlBinary
8263
8385
  });
8264
- });
8265
- var require_omap = /* @__PURE__ */ __commonJSMin((exports, module) => {
8266
- var Type = require_type();
8267
- var _hasOwnProperty = Object.prototype.hasOwnProperty;
8268
- var _toString = Object.prototype.toString;
8386
+ return binary;
8387
+ }
8388
+ var omap;
8389
+ var hasRequiredOmap;
8390
+ function requireOmap() {
8391
+ if (hasRequiredOmap)
8392
+ return omap;
8393
+ hasRequiredOmap = 1;
8394
+ const Type2 = requireType();
8395
+ const _hasOwnProperty = Object.prototype.hasOwnProperty;
8396
+ const _toString = Object.prototype.toString;
8269
8397
  function resolveYamlOmap(data) {
8270
8398
  if (data === null)
8271
8399
  return true;
@@ -8277,12 +8405,14 @@ var require_omap = /* @__PURE__ */ __commonJSMin((exports, module) => {
8277
8405
  if (_toString.call(pair) !== "[object Object]")
8278
8406
  return false;
8279
8407
  let pairKey;
8280
- for (pairKey in pair)
8281
- if (_hasOwnProperty.call(pair, pairKey))
8408
+ for (pairKey in pair) {
8409
+ if (_hasOwnProperty.call(pair, pairKey)) {
8282
8410
  if (!pairHasKey)
8283
8411
  pairHasKey = true;
8284
8412
  else
8285
8413
  return false;
8414
+ }
8415
+ }
8286
8416
  if (!pairHasKey)
8287
8417
  return false;
8288
8418
  if (objectKeys.indexOf(pairKey) === -1)
@@ -8295,15 +8425,21 @@ var require_omap = /* @__PURE__ */ __commonJSMin((exports, module) => {
8295
8425
  function constructYamlOmap(data) {
8296
8426
  return data !== null ? data : [];
8297
8427
  }
8298
- module.exports = new Type("tag:yaml.org,2002:omap", {
8428
+ omap = new Type2("tag:yaml.org,2002:omap", {
8299
8429
  kind: "sequence",
8300
8430
  resolve: resolveYamlOmap,
8301
8431
  construct: constructYamlOmap
8302
8432
  });
8303
- });
8304
- var require_pairs = /* @__PURE__ */ __commonJSMin((exports, module) => {
8305
- var Type = require_type();
8306
- var _toString = Object.prototype.toString;
8433
+ return omap;
8434
+ }
8435
+ var pairs;
8436
+ var hasRequiredPairs;
8437
+ function requirePairs() {
8438
+ if (hasRequiredPairs)
8439
+ return pairs;
8440
+ hasRequiredPairs = 1;
8441
+ const Type2 = requireType();
8442
+ const _toString = Object.prototype.toString;
8307
8443
  function resolveYamlPairs(data) {
8308
8444
  if (data === null)
8309
8445
  return true;
@@ -8332,64 +8468,85 @@ var require_pairs = /* @__PURE__ */ __commonJSMin((exports, module) => {
8332
8468
  }
8333
8469
  return result;
8334
8470
  }
8335
- module.exports = new Type("tag:yaml.org,2002:pairs", {
8471
+ pairs = new Type2("tag:yaml.org,2002:pairs", {
8336
8472
  kind: "sequence",
8337
8473
  resolve: resolveYamlPairs,
8338
8474
  construct: constructYamlPairs
8339
8475
  });
8340
- });
8341
- var require_set = /* @__PURE__ */ __commonJSMin((exports, module) => {
8342
- var Type = require_type();
8343
- var _hasOwnProperty = Object.prototype.hasOwnProperty;
8476
+ return pairs;
8477
+ }
8478
+ var set;
8479
+ var hasRequiredSet;
8480
+ function requireSet() {
8481
+ if (hasRequiredSet)
8482
+ return set;
8483
+ hasRequiredSet = 1;
8484
+ const Type2 = requireType();
8485
+ const _hasOwnProperty = Object.prototype.hasOwnProperty;
8344
8486
  function resolveYamlSet(data) {
8345
8487
  if (data === null)
8346
8488
  return true;
8347
8489
  const object = data;
8348
- for (const key in object)
8490
+ for (const key in object) {
8349
8491
  if (_hasOwnProperty.call(object, key)) {
8350
8492
  if (object[key] !== null)
8351
8493
  return false;
8352
8494
  }
8495
+ }
8353
8496
  return true;
8354
8497
  }
8355
8498
  function constructYamlSet(data) {
8356
8499
  return data !== null ? data : {};
8357
8500
  }
8358
- module.exports = new Type("tag:yaml.org,2002:set", {
8501
+ set = new Type2("tag:yaml.org,2002:set", {
8359
8502
  kind: "mapping",
8360
8503
  resolve: resolveYamlSet,
8361
8504
  construct: constructYamlSet
8362
8505
  });
8363
- });
8364
- var require_default = /* @__PURE__ */ __commonJSMin((exports, module) => {
8365
- module.exports = require_core().extend({
8366
- implicit: [require_timestamp(), require_merge()],
8506
+ return set;
8507
+ }
8508
+ var _default;
8509
+ var hasRequired_default;
8510
+ function require_default() {
8511
+ if (hasRequired_default)
8512
+ return _default;
8513
+ hasRequired_default = 1;
8514
+ _default = requireCore().extend({
8515
+ implicit: [
8516
+ requireTimestamp(),
8517
+ requireMerge()
8518
+ ],
8367
8519
  explicit: [
8368
- require_binary(),
8369
- require_omap(),
8370
- require_pairs(),
8371
- require_set()
8520
+ requireBinary(),
8521
+ requireOmap(),
8522
+ requirePairs(),
8523
+ requireSet()
8372
8524
  ]
8373
8525
  });
8374
- });
8375
- var require_loader = /* @__PURE__ */ __commonJSMin((exports, module) => {
8376
- var common = require_common();
8377
- var YAMLException = require_exception();
8378
- var makeSnippet = require_snippet();
8379
- var DEFAULT_SCHEMA = require_default();
8380
- var _hasOwnProperty = Object.prototype.hasOwnProperty;
8381
- var CONTEXT_FLOW_IN = 1;
8382
- var CONTEXT_FLOW_OUT = 2;
8383
- var CONTEXT_BLOCK_IN = 3;
8384
- var CONTEXT_BLOCK_OUT = 4;
8385
- var CHOMPING_CLIP = 1;
8386
- var CHOMPING_STRIP = 2;
8387
- var CHOMPING_KEEP = 3;
8388
- var PATTERN_NON_PRINTABLE = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/;
8389
- var PATTERN_NON_ASCII_LINE_BREAKS = /[\x85\u2028\u2029]/;
8390
- var PATTERN_FLOW_INDICATORS = /[,\[\]{}]/;
8391
- var PATTERN_TAG_HANDLE = /^(?:!|!!|![0-9A-Za-z-]+!)$/;
8392
- var PATTERN_TAG_URI = /^(?:!|[^,\[\]{}])(?:%[0-9a-f]{2}|[0-9a-z\-#;/?:@&=+$,_.!~*'()\[\]])*$/i;
8526
+ return _default;
8527
+ }
8528
+ var hasRequiredLoader;
8529
+ function requireLoader() {
8530
+ if (hasRequiredLoader)
8531
+ return loader;
8532
+ hasRequiredLoader = 1;
8533
+ const common2 = requireCommon();
8534
+ const YAMLException2 = requireException();
8535
+ const makeSnippet = requireSnippet();
8536
+ const DEFAULT_SCHEMA2 = require_default();
8537
+ const _hasOwnProperty = Object.prototype.hasOwnProperty;
8538
+ const CONTEXT_FLOW_IN = 1;
8539
+ const CONTEXT_FLOW_OUT = 2;
8540
+ const CONTEXT_BLOCK_IN = 3;
8541
+ const CONTEXT_BLOCK_OUT = 4;
8542
+ const CHOMPING_CLIP = 1;
8543
+ const CHOMPING_STRIP = 2;
8544
+ const CHOMPING_KEEP = 3;
8545
+ const PATTERN_NON_PRINTABLE = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/;
8546
+ const PATTERN_NON_ASCII_LINE_BREAKS = /[\x85\u2028\u2029]/;
8547
+ const PATTERN_FLOW_INDICATORS = /[,\[\]{}]/;
8548
+ const PATTERN_TAG_HANDLE = /^(?:!|!!|![0-9A-Za-z-]+!)$/;
8549
+ const PATTERN_TAG_URI = /^(?:!|[^,\[\]{}])(?:%[0-9a-f]{2}|[0-9a-z\-#;/?:@&=+$,_.!~*'()\[\]])*$/i;
8393
8550
  function _class(obj) {
8394
8551
  return Object.prototype.toString.call(obj);
8395
8552
  }
@@ -8406,25 +8563,31 @@ var require_loader = /* @__PURE__ */ __commonJSMin((exports, module) => {
8406
8563
  return c === 44 || c === 91 || c === 93 || c === 123 || c === 125;
8407
8564
  }
8408
8565
  function fromHexCode(c) {
8409
- if (c >= 48 && c <= 57)
8566
+ if (c >= 48 && c <= 57) {
8410
8567
  return c - 48;
8568
+ }
8411
8569
  const lc = c | 32;
8412
- if (lc >= 97 && lc <= 102)
8570
+ if (lc >= 97 && lc <= 102) {
8413
8571
  return lc - 97 + 10;
8572
+ }
8414
8573
  return -1;
8415
8574
  }
8416
8575
  function escapedHexLen(c) {
8417
- if (c === 120)
8576
+ if (c === 120) {
8418
8577
  return 2;
8419
- if (c === 117)
8578
+ }
8579
+ if (c === 117) {
8420
8580
  return 4;
8421
- if (c === 85)
8581
+ }
8582
+ if (c === 85) {
8422
8583
  return 8;
8584
+ }
8423
8585
  return 0;
8424
8586
  }
8425
8587
  function fromDecimalCode(c) {
8426
- if (c >= 48 && c <= 57)
8588
+ if (c >= 48 && c <= 57) {
8427
8589
  return c - 48;
8590
+ }
8428
8591
  return -1;
8429
8592
  }
8430
8593
  function simpleEscapeSequence(c) {
@@ -8471,23 +8634,25 @@ var require_loader = /* @__PURE__ */ __commonJSMin((exports, module) => {
8471
8634
  }
8472
8635
  }
8473
8636
  function charFromCodepoint(c) {
8474
- if (c <= 65535)
8637
+ if (c <= 65535) {
8475
8638
  return String.fromCharCode(c);
8639
+ }
8476
8640
  return String.fromCharCode((c - 65536 >> 10) + 55296, (c - 65536 & 1023) + 56320);
8477
8641
  }
8478
8642
  function setProperty(object, key, value) {
8479
- if (key === "__proto__")
8643
+ if (key === "__proto__") {
8480
8644
  Object.defineProperty(object, key, {
8481
8645
  configurable: true,
8482
8646
  enumerable: true,
8483
8647
  writable: true,
8484
8648
  value
8485
8649
  });
8486
- else
8650
+ } else {
8487
8651
  object[key] = value;
8652
+ }
8488
8653
  }
8489
- var simpleEscapeCheck = new Array(256);
8490
- var simpleEscapeMap = new Array(256);
8654
+ const simpleEscapeCheck = new Array(256);
8655
+ const simpleEscapeMap = new Array(256);
8491
8656
  for (let i = 0;i < 256; i++) {
8492
8657
  simpleEscapeCheck[i] = simpleEscapeSequence(i) ? 1 : 0;
8493
8658
  simpleEscapeMap[i] = simpleEscapeSequence(i);
@@ -8495,13 +8660,13 @@ var require_loader = /* @__PURE__ */ __commonJSMin((exports, module) => {
8495
8660
  function State(input, options) {
8496
8661
  this.input = input;
8497
8662
  this.filename = options["filename"] || null;
8498
- this.schema = options["schema"] || DEFAULT_SCHEMA;
8663
+ this.schema = options["schema"] || DEFAULT_SCHEMA2;
8499
8664
  this.onWarning = options["onWarning"] || null;
8500
8665
  this.legacy = options["legacy"] || false;
8501
8666
  this.json = options["json"] || false;
8502
8667
  this.listener = options["listener"] || null;
8503
8668
  this.maxDepth = typeof options["maxDepth"] === "number" ? options["maxDepth"] : 100;
8504
- this.maxMergeSeqLength = typeof options["maxMergeSeqLength"] === "number" ? options["maxMergeSeqLength"] : 20;
8669
+ this.maxTotalMergeKeys = typeof options["maxTotalMergeKeys"] === "number" ? options["maxTotalMergeKeys"] : 1e4;
8505
8670
  this.implicitTypes = this.schema.compiledImplicit;
8506
8671
  this.typeMap = this.schema.compiledTypeMap;
8507
8672
  this.length = input.length;
@@ -8510,6 +8675,7 @@ var require_loader = /* @__PURE__ */ __commonJSMin((exports, module) => {
8510
8675
  this.lineStart = 0;
8511
8676
  this.lineIndent = 0;
8512
8677
  this.depth = 0;
8678
+ this.totalMergeKeys = 0;
8513
8679
  this.firstTabInLine = -1;
8514
8680
  this.documents = [];
8515
8681
  this.anchorMapTransactions = [];
@@ -8523,29 +8689,31 @@ var require_loader = /* @__PURE__ */ __commonJSMin((exports, module) => {
8523
8689
  column: state.position - state.lineStart
8524
8690
  };
8525
8691
  mark.snippet = makeSnippet(mark);
8526
- return new YAMLException(message, mark);
8692
+ return new YAMLException2(message, mark);
8527
8693
  }
8528
8694
  function throwError(state, message) {
8529
8695
  throw generateError(state, message);
8530
8696
  }
8531
8697
  function throwWarning(state, message) {
8532
- if (state.onWarning)
8698
+ if (state.onWarning) {
8533
8699
  state.onWarning.call(null, generateError(state, message));
8700
+ }
8534
8701
  }
8535
8702
  function storeAnchor(state, name, value) {
8536
8703
  const transactions = state.anchorMapTransactions;
8537
8704
  if (transactions.length !== 0) {
8538
8705
  const transaction = transactions[transactions.length - 1];
8539
- if (!_hasOwnProperty.call(transaction, name))
8706
+ if (!_hasOwnProperty.call(transaction, name)) {
8540
8707
  transaction[name] = {
8541
8708
  existed: _hasOwnProperty.call(state.anchorMap, name),
8542
8709
  value: state.anchorMap[name]
8543
8710
  };
8711
+ }
8544
8712
  }
8545
8713
  state.anchorMap[name] = value;
8546
8714
  }
8547
8715
  function beginAnchorTransaction(state) {
8548
- state.anchorMapTransactions.push(Object.create(null));
8716
+ state.anchorMapTransactions.push(/* @__PURE__ */ Object.create(null));
8549
8717
  }
8550
8718
  function commitAnchorTransaction(state) {
8551
8719
  const transaction = state.anchorMapTransactions.pop();
@@ -8556,8 +8724,9 @@ var require_loader = /* @__PURE__ */ __commonJSMin((exports, module) => {
8556
8724
  const names = Object.keys(transaction);
8557
8725
  for (let index = 0, length = names.length;index < length; index += 1) {
8558
8726
  const name = names[index];
8559
- if (!_hasOwnProperty.call(parent, name))
8727
+ if (!_hasOwnProperty.call(parent, name)) {
8560
8728
  parent[name] = transaction[name];
8729
+ }
8561
8730
  }
8562
8731
  }
8563
8732
  function rollbackAnchorTransaction(state) {
@@ -8565,10 +8734,11 @@ var require_loader = /* @__PURE__ */ __commonJSMin((exports, module) => {
8565
8734
  const names = Object.keys(transaction);
8566
8735
  for (let index = names.length - 1;index >= 0; index -= 1) {
8567
8736
  const entry = transaction[names[index]];
8568
- if (entry.existed)
8737
+ if (entry.existed) {
8569
8738
  state.anchorMap[names[index]] = entry.value;
8570
- else
8739
+ } else {
8571
8740
  delete state.anchorMap[names[index]];
8741
+ }
8572
8742
  }
8573
8743
  }
8574
8744
  function snapshotState(state) {
@@ -8595,36 +8765,45 @@ var require_loader = /* @__PURE__ */ __commonJSMin((exports, module) => {
8595
8765
  state.kind = snapshot.kind;
8596
8766
  state.result = snapshot.result;
8597
8767
  }
8598
- var directiveHandlers = {
8768
+ const directiveHandlers = {
8599
8769
  YAML: function handleYamlDirective(state, name, args) {
8600
- if (state.version !== null)
8770
+ if (state.version !== null) {
8601
8771
  throwError(state, "duplication of %YAML directive");
8602
- if (args.length !== 1)
8772
+ }
8773
+ if (args.length !== 1) {
8603
8774
  throwError(state, "YAML directive accepts exactly one argument");
8775
+ }
8604
8776
  const match = /^([0-9]+)\.([0-9]+)$/.exec(args[0]);
8605
- if (match === null)
8777
+ if (match === null) {
8606
8778
  throwError(state, "ill-formed argument of the YAML directive");
8779
+ }
8607
8780
  const major = parseInt(match[1], 10);
8608
8781
  const minor = parseInt(match[2], 10);
8609
- if (major !== 1)
8782
+ if (major !== 1) {
8610
8783
  throwError(state, "unacceptable YAML version of the document");
8784
+ }
8611
8785
  state.version = args[0];
8612
8786
  state.checkLineBreaks = minor < 2;
8613
- if (minor !== 1 && minor !== 2)
8787
+ if (minor !== 1 && minor !== 2) {
8614
8788
  throwWarning(state, "unsupported YAML version of the document");
8789
+ }
8615
8790
  },
8616
8791
  TAG: function handleTagDirective(state, name, args) {
8617
8792
  let prefix;
8618
- if (args.length !== 2)
8793
+ if (args.length !== 2) {
8619
8794
  throwError(state, "TAG directive accepts exactly two arguments");
8795
+ }
8620
8796
  const handle = args[0];
8621
8797
  prefix = args[1];
8622
- if (!PATTERN_TAG_HANDLE.test(handle))
8798
+ if (!PATTERN_TAG_HANDLE.test(handle)) {
8623
8799
  throwError(state, "ill-formed tag handle (first argument) of the TAG directive");
8624
- if (_hasOwnProperty.call(state.tagMap, handle))
8800
+ }
8801
+ if (_hasOwnProperty.call(state.tagMap, handle)) {
8625
8802
  throwError(state, 'there is a previously declared suffix for "' + handle + '" tag handle');
8626
- if (!PATTERN_TAG_URI.test(prefix))
8803
+ }
8804
+ if (!PATTERN_TAG_URI.test(prefix)) {
8627
8805
  throwError(state, "ill-formed tag prefix (second argument) of the TAG directive");
8806
+ }
8628
8807
  try {
8629
8808
  prefix = decodeURIComponent(prefix);
8630
8809
  } catch (err) {
@@ -8636,23 +8815,29 @@ var require_loader = /* @__PURE__ */ __commonJSMin((exports, module) => {
8636
8815
  function captureSegment(state, start, end, checkJson) {
8637
8816
  if (start < end) {
8638
8817
  const _result = state.input.slice(start, end);
8639
- if (checkJson)
8818
+ if (checkJson) {
8640
8819
  for (let _position = 0, _length = _result.length;_position < _length; _position += 1) {
8641
8820
  const _character = _result.charCodeAt(_position);
8642
- if (!(_character === 9 || _character >= 32 && _character <= 1114111))
8821
+ if (!(_character === 9 || _character >= 32 && _character <= 1114111)) {
8643
8822
  throwError(state, "expected valid JSON character");
8823
+ }
8644
8824
  }
8645
- else if (PATTERN_NON_PRINTABLE.test(_result))
8825
+ } else if (PATTERN_NON_PRINTABLE.test(_result)) {
8646
8826
  throwError(state, "the stream contains non-printable characters");
8827
+ }
8647
8828
  state.result += _result;
8648
8829
  }
8649
8830
  }
8650
8831
  function mergeMappings(state, destination, source, overridableKeys) {
8651
- if (!common.isObject(source))
8832
+ if (!common2.isObject(source)) {
8652
8833
  throwError(state, "cannot merge mappings; the provided source object is unacceptable");
8834
+ }
8653
8835
  const sourceKeys = Object.keys(source);
8654
8836
  for (let index = 0, quantity = sourceKeys.length;index < quantity; index += 1) {
8655
8837
  const key = sourceKeys[index];
8838
+ if (state.maxTotalMergeKeys !== -1 && ++state.totalMergeKeys > state.maxTotalMergeKeys) {
8839
+ throwError(state, "merge keys exceeded maxTotalMergeKeys (" + state.maxTotalMergeKeys + ")");
8840
+ }
8656
8841
  if (!_hasOwnProperty.call(destination, key)) {
8657
8842
  setProperty(destination, key, source[key]);
8658
8843
  overridableKeys[key] = true;
@@ -8663,32 +8848,30 @@ var require_loader = /* @__PURE__ */ __commonJSMin((exports, module) => {
8663
8848
  if (Array.isArray(keyNode)) {
8664
8849
  keyNode = Array.prototype.slice.call(keyNode);
8665
8850
  for (let index = 0, quantity = keyNode.length;index < quantity; index += 1) {
8666
- if (Array.isArray(keyNode[index]))
8851
+ if (Array.isArray(keyNode[index])) {
8667
8852
  throwError(state, "nested arrays are not supported inside keys");
8668
- if (typeof keyNode === "object" && _class(keyNode[index]) === "[object Object]")
8853
+ }
8854
+ if (typeof keyNode === "object" && _class(keyNode[index]) === "[object Object]") {
8669
8855
  keyNode[index] = "[object Object]";
8856
+ }
8670
8857
  }
8671
8858
  }
8672
- if (typeof keyNode === "object" && _class(keyNode) === "[object Object]")
8859
+ if (typeof keyNode === "object" && _class(keyNode) === "[object Object]") {
8673
8860
  keyNode = "[object Object]";
8861
+ }
8674
8862
  keyNode = String(keyNode);
8675
- if (_result === null)
8863
+ if (_result === null) {
8676
8864
  _result = {};
8677
- if (keyTag === "tag:yaml.org,2002:merge")
8865
+ }
8866
+ if (keyTag === "tag:yaml.org,2002:merge") {
8678
8867
  if (Array.isArray(valueNode)) {
8679
- if (valueNode.length > state.maxMergeSeqLength)
8680
- throwError(state, "merge sequence length exceeded maxMergeSeqLength (" + state.maxMergeSeqLength + ")");
8681
- const seen = /* @__PURE__ */ new Set;
8682
8868
  for (let index = 0, quantity = valueNode.length;index < quantity; index += 1) {
8683
- const src = valueNode[index];
8684
- if (seen.has(src))
8685
- continue;
8686
- seen.add(src);
8687
- mergeMappings(state, _result, src, overridableKeys);
8869
+ mergeMappings(state, _result, valueNode[index], overridableKeys);
8688
8870
  }
8689
- } else
8871
+ } else {
8690
8872
  mergeMappings(state, _result, valueNode, overridableKeys);
8691
- else {
8873
+ }
8874
+ } else {
8692
8875
  if (!state.json && !_hasOwnProperty.call(overridableKeys, keyNode) && _hasOwnProperty.call(_result, keyNode)) {
8693
8876
  state.line = startLine || state.line;
8694
8877
  state.lineStart = startLineStart || state.lineStart;
@@ -8702,14 +8885,16 @@ var require_loader = /* @__PURE__ */ __commonJSMin((exports, module) => {
8702
8885
  }
8703
8886
  function readLineBreak(state) {
8704
8887
  const ch = state.input.charCodeAt(state.position);
8705
- if (ch === 10)
8888
+ if (ch === 10) {
8706
8889
  state.position++;
8707
- else if (ch === 13) {
8890
+ } else if (ch === 13) {
8708
8891
  state.position++;
8709
- if (state.input.charCodeAt(state.position) === 10)
8892
+ if (state.input.charCodeAt(state.position) === 10) {
8710
8893
  state.position++;
8711
- } else
8894
+ }
8895
+ } else {
8712
8896
  throwError(state, "a line break is expected");
8897
+ }
8713
8898
  state.line += 1;
8714
8899
  state.lineStart = state.position;
8715
8900
  state.firstTabInLine = -1;
@@ -8719,14 +8904,16 @@ var require_loader = /* @__PURE__ */ __commonJSMin((exports, module) => {
8719
8904
  let ch = state.input.charCodeAt(state.position);
8720
8905
  while (ch !== 0) {
8721
8906
  while (isWhiteSpace(ch)) {
8722
- if (ch === 9 && state.firstTabInLine === -1)
8907
+ if (ch === 9 && state.firstTabInLine === -1) {
8723
8908
  state.firstTabInLine = state.position;
8909
+ }
8724
8910
  ch = state.input.charCodeAt(++state.position);
8725
8911
  }
8726
- if (allowComments && ch === 35)
8727
- do
8912
+ if (allowComments && ch === 35) {
8913
+ do {
8728
8914
  ch = state.input.charCodeAt(++state.position);
8729
- while (ch !== 10 && ch !== 13 && ch !== 0);
8915
+ } while (ch !== 10 && ch !== 13 && ch !== 0);
8916
+ }
8730
8917
  if (isEol(ch)) {
8731
8918
  readLineBreak(state);
8732
8919
  ch = state.input.charCodeAt(state.position);
@@ -8736,11 +8923,13 @@ var require_loader = /* @__PURE__ */ __commonJSMin((exports, module) => {
8736
8923
  state.lineIndent++;
8737
8924
  ch = state.input.charCodeAt(++state.position);
8738
8925
  }
8739
- } else
8926
+ } else {
8740
8927
  break;
8928
+ }
8741
8929
  }
8742
- if (checkIndent !== -1 && lineBreaks !== 0 && state.lineIndent < checkIndent)
8930
+ if (checkIndent !== -1 && lineBreaks !== 0 && state.lineIndent < checkIndent) {
8743
8931
  throwWarning(state, "deficient indentation");
8932
+ }
8744
8933
  return lineBreaks;
8745
8934
  }
8746
8935
  function testDocumentSeparator(state) {
@@ -8749,17 +8938,19 @@ var require_loader = /* @__PURE__ */ __commonJSMin((exports, module) => {
8749
8938
  if ((ch === 45 || ch === 46) && ch === state.input.charCodeAt(_position + 1) && ch === state.input.charCodeAt(_position + 2)) {
8750
8939
  _position += 3;
8751
8940
  ch = state.input.charCodeAt(_position);
8752
- if (ch === 0 || isWsOrEol(ch))
8941
+ if (ch === 0 || isWsOrEol(ch)) {
8753
8942
  return true;
8943
+ }
8754
8944
  }
8755
8945
  return false;
8756
8946
  }
8757
8947
  function writeFoldedLines(state, count) {
8758
- if (count === 1)
8948
+ if (count === 1) {
8759
8949
  state.result += " ";
8760
- else if (count > 1)
8761
- state.result += common.repeat(`
8950
+ } else if (count > 1) {
8951
+ state.result += common2.repeat(`
8762
8952
  `, count - 1);
8953
+ }
8763
8954
  }
8764
8955
  function readPlainScalar(state, nodeIndent, withinFlowCollection) {
8765
8956
  let captureStart;
@@ -8771,12 +8962,14 @@ var require_loader = /* @__PURE__ */ __commonJSMin((exports, module) => {
8771
8962
  const _kind = state.kind;
8772
8963
  const _result = state.result;
8773
8964
  let ch = state.input.charCodeAt(state.position);
8774
- if (isWsOrEol(ch) || isFlowIndicator(ch) || ch === 35 || ch === 38 || ch === 42 || ch === 33 || ch === 124 || ch === 62 || ch === 39 || ch === 34 || ch === 37 || ch === 64 || ch === 96)
8965
+ if (isWsOrEol(ch) || isFlowIndicator(ch) || ch === 35 || ch === 38 || ch === 42 || ch === 33 || ch === 124 || ch === 62 || ch === 39 || ch === 34 || ch === 37 || ch === 64 || ch === 96) {
8775
8966
  return false;
8967
+ }
8776
8968
  if (ch === 63 || ch === 45) {
8777
8969
  const following = state.input.charCodeAt(state.position + 1);
8778
- if (isWsOrEol(following) || withinFlowCollection && isFlowIndicator(following))
8970
+ if (isWsOrEol(following) || withinFlowCollection && isFlowIndicator(following)) {
8779
8971
  return false;
8972
+ }
8780
8973
  }
8781
8974
  state.kind = "scalar";
8782
8975
  state.result = "";
@@ -8785,14 +8978,17 @@ var require_loader = /* @__PURE__ */ __commonJSMin((exports, module) => {
8785
8978
  while (ch !== 0) {
8786
8979
  if (ch === 58) {
8787
8980
  const following = state.input.charCodeAt(state.position + 1);
8788
- if (isWsOrEol(following) || withinFlowCollection && isFlowIndicator(following))
8981
+ if (isWsOrEol(following) || withinFlowCollection && isFlowIndicator(following)) {
8789
8982
  break;
8983
+ }
8790
8984
  } else if (ch === 35) {
8791
- if (isWsOrEol(state.input.charCodeAt(state.position - 1)))
8985
+ const preceding = state.input.charCodeAt(state.position - 1);
8986
+ if (isWsOrEol(preceding)) {
8792
8987
  break;
8793
- } else if (state.position === state.lineStart && testDocumentSeparator(state) || withinFlowCollection && isFlowIndicator(ch))
8988
+ }
8989
+ } else if (state.position === state.lineStart && testDocumentSeparator(state) || withinFlowCollection && isFlowIndicator(ch)) {
8794
8990
  break;
8795
- else if (isEol(ch)) {
8991
+ } else if (isEol(ch)) {
8796
8992
  _line = state.line;
8797
8993
  _lineStart = state.lineStart;
8798
8994
  _lineIndent = state.lineIndent;
@@ -8815,13 +9011,15 @@ var require_loader = /* @__PURE__ */ __commonJSMin((exports, module) => {
8815
9011
  captureStart = captureEnd = state.position;
8816
9012
  hasPendingContent = false;
8817
9013
  }
8818
- if (!isWhiteSpace(ch))
9014
+ if (!isWhiteSpace(ch)) {
8819
9015
  captureEnd = state.position + 1;
9016
+ }
8820
9017
  ch = state.input.charCodeAt(++state.position);
8821
9018
  }
8822
9019
  captureSegment(state, captureStart, captureEnd, false);
8823
- if (state.result)
9020
+ if (state.result) {
8824
9021
  return true;
9022
+ }
8825
9023
  state.kind = _kind;
8826
9024
  state.result = _result;
8827
9025
  return false;
@@ -8830,13 +9028,14 @@ var require_loader = /* @__PURE__ */ __commonJSMin((exports, module) => {
8830
9028
  let captureStart;
8831
9029
  let captureEnd;
8832
9030
  let ch = state.input.charCodeAt(state.position);
8833
- if (ch !== 39)
9031
+ if (ch !== 39) {
8834
9032
  return false;
9033
+ }
8835
9034
  state.kind = "scalar";
8836
9035
  state.result = "";
8837
9036
  state.position++;
8838
9037
  captureStart = captureEnd = state.position;
8839
- while ((ch = state.input.charCodeAt(state.position)) !== 0)
9038
+ while ((ch = state.input.charCodeAt(state.position)) !== 0) {
8840
9039
  if (ch === 39) {
8841
9040
  captureSegment(state, captureStart, state.position, true);
8842
9041
  ch = state.input.charCodeAt(++state.position);
@@ -8844,19 +9043,22 @@ var require_loader = /* @__PURE__ */ __commonJSMin((exports, module) => {
8844
9043
  captureStart = state.position;
8845
9044
  state.position++;
8846
9045
  captureEnd = state.position;
8847
- } else
9046
+ } else {
8848
9047
  return true;
9048
+ }
8849
9049
  } else if (isEol(ch)) {
8850
9050
  captureSegment(state, captureStart, captureEnd, true);
8851
9051
  writeFoldedLines(state, skipSeparationSpace(state, false, nodeIndent));
8852
9052
  captureStart = captureEnd = state.position;
8853
- } else if (state.position === state.lineStart && testDocumentSeparator(state))
9053
+ } else if (state.position === state.lineStart && testDocumentSeparator(state)) {
8854
9054
  throwError(state, "unexpected end of the document within a single quoted scalar");
8855
- else {
9055
+ } else {
8856
9056
  state.position++;
8857
- if (!isWhiteSpace(ch))
9057
+ if (!isWhiteSpace(ch)) {
8858
9058
  captureEnd = state.position;
9059
+ }
8859
9060
  }
9061
+ }
8860
9062
  throwError(state, "unexpected end of the stream within a single quoted scalar");
8861
9063
  }
8862
9064
  function readDoubleQuotedScalar(state, nodeIndent) {
@@ -8864,13 +9066,14 @@ var require_loader = /* @__PURE__ */ __commonJSMin((exports, module) => {
8864
9066
  let captureEnd;
8865
9067
  let tmp;
8866
9068
  let ch = state.input.charCodeAt(state.position);
8867
- if (ch !== 34)
9069
+ if (ch !== 34) {
8868
9070
  return false;
9071
+ }
8869
9072
  state.kind = "scalar";
8870
9073
  state.result = "";
8871
9074
  state.position++;
8872
9075
  captureStart = captureEnd = state.position;
8873
- while ((ch = state.input.charCodeAt(state.position)) !== 0)
9076
+ while ((ch = state.input.charCodeAt(state.position)) !== 0) {
8874
9077
  if (ch === 34) {
8875
9078
  captureSegment(state, captureStart, state.position, true);
8876
9079
  state.position++;
@@ -8878,9 +9081,9 @@ var require_loader = /* @__PURE__ */ __commonJSMin((exports, module) => {
8878
9081
  } else if (ch === 92) {
8879
9082
  captureSegment(state, captureStart, state.position, true);
8880
9083
  ch = state.input.charCodeAt(++state.position);
8881
- if (isEol(ch))
9084
+ if (isEol(ch)) {
8882
9085
  skipSeparationSpace(state, false, nodeIndent);
8883
- else if (ch < 256 && simpleEscapeCheck[ch]) {
9086
+ } else if (ch < 256 && simpleEscapeCheck[ch]) {
8884
9087
  state.result += simpleEscapeMap[ch];
8885
9088
  state.position++;
8886
9089
  } else if ((tmp = escapedHexLen(ch)) > 0) {
@@ -8888,27 +9091,31 @@ var require_loader = /* @__PURE__ */ __commonJSMin((exports, module) => {
8888
9091
  let hexResult = 0;
8889
9092
  for (;hexLength > 0; hexLength--) {
8890
9093
  ch = state.input.charCodeAt(++state.position);
8891
- if ((tmp = fromHexCode(ch)) >= 0)
9094
+ if ((tmp = fromHexCode(ch)) >= 0) {
8892
9095
  hexResult = (hexResult << 4) + tmp;
8893
- else
9096
+ } else {
8894
9097
  throwError(state, "expected hexadecimal character");
9098
+ }
8895
9099
  }
8896
9100
  state.result += charFromCodepoint(hexResult);
8897
9101
  state.position++;
8898
- } else
9102
+ } else {
8899
9103
  throwError(state, "unknown escape sequence");
9104
+ }
8900
9105
  captureStart = captureEnd = state.position;
8901
9106
  } else if (isEol(ch)) {
8902
9107
  captureSegment(state, captureStart, captureEnd, true);
8903
9108
  writeFoldedLines(state, skipSeparationSpace(state, false, nodeIndent));
8904
9109
  captureStart = captureEnd = state.position;
8905
- } else if (state.position === state.lineStart && testDocumentSeparator(state))
9110
+ } else if (state.position === state.lineStart && testDocumentSeparator(state)) {
8906
9111
  throwError(state, "unexpected end of the document within a double quoted scalar");
8907
- else {
9112
+ } else {
8908
9113
  state.position++;
8909
- if (!isWhiteSpace(ch))
9114
+ if (!isWhiteSpace(ch)) {
8910
9115
  captureEnd = state.position;
9116
+ }
8911
9117
  }
9118
+ }
8912
9119
  throwError(state, "unexpected end of the stream within a double quoted scalar");
8913
9120
  }
8914
9121
  function readFlowCollection(state, nodeIndent) {
@@ -8923,7 +9130,7 @@ var require_loader = /* @__PURE__ */ __commonJSMin((exports, module) => {
8923
9130
  let isPair;
8924
9131
  let isExplicitPair;
8925
9132
  let isMapping;
8926
- const overridableKeys = Object.create(null);
9133
+ const overridableKeys = /* @__PURE__ */ Object.create(null);
8927
9134
  let keyNode;
8928
9135
  let keyTag;
8929
9136
  let valueNode;
@@ -8936,10 +9143,12 @@ var require_loader = /* @__PURE__ */ __commonJSMin((exports, module) => {
8936
9143
  terminator = 125;
8937
9144
  isMapping = true;
8938
9145
  _result = {};
8939
- } else
9146
+ } else {
8940
9147
  return false;
8941
- if (state.anchor !== null)
9148
+ }
9149
+ if (state.anchor !== null) {
8942
9150
  storeAnchor(state, state.anchor, _result);
9151
+ }
8943
9152
  ch = state.input.charCodeAt(++state.position);
8944
9153
  while (ch !== 0) {
8945
9154
  skipSeparationSpace(state, true, nodeIndent);
@@ -8951,14 +9160,16 @@ var require_loader = /* @__PURE__ */ __commonJSMin((exports, module) => {
8951
9160
  state.kind = isMapping ? "mapping" : "sequence";
8952
9161
  state.result = _result;
8953
9162
  return true;
8954
- } else if (!readNext)
9163
+ } else if (!readNext) {
8955
9164
  throwError(state, "missed comma between flow collection entries");
8956
- else if (ch === 44)
9165
+ } else if (ch === 44) {
8957
9166
  throwError(state, "expected the node content, but found ','");
9167
+ }
8958
9168
  keyTag = keyNode = valueNode = null;
8959
9169
  isPair = isExplicitPair = false;
8960
9170
  if (ch === 63) {
8961
- if (isWsOrEol(state.input.charCodeAt(state.position + 1))) {
9171
+ const following = state.input.charCodeAt(state.position + 1);
9172
+ if (isWsOrEol(following)) {
8962
9173
  isPair = isExplicitPair = true;
8963
9174
  state.position++;
8964
9175
  skipSeparationSpace(state, true, nodeIndent);
@@ -8979,19 +9190,21 @@ var require_loader = /* @__PURE__ */ __commonJSMin((exports, module) => {
8979
9190
  composeNode(state, nodeIndent, CONTEXT_FLOW_IN, false, true);
8980
9191
  valueNode = state.result;
8981
9192
  }
8982
- if (isMapping)
9193
+ if (isMapping) {
8983
9194
  storeMappingPair(state, _result, overridableKeys, keyTag, keyNode, valueNode, _line, _lineStart, _pos);
8984
- else if (isPair)
9195
+ } else if (isPair) {
8985
9196
  _result.push(storeMappingPair(state, null, overridableKeys, keyTag, keyNode, valueNode, _line, _lineStart, _pos));
8986
- else
9197
+ } else {
8987
9198
  _result.push(keyNode);
9199
+ }
8988
9200
  skipSeparationSpace(state, true, nodeIndent);
8989
9201
  ch = state.input.charCodeAt(state.position);
8990
9202
  if (ch === 44) {
8991
9203
  readNext = true;
8992
9204
  ch = state.input.charCodeAt(++state.position);
8993
- } else
9205
+ } else {
8994
9206
  readNext = false;
9207
+ }
8995
9208
  }
8996
9209
  throwError(state, "unexpected end of the stream within a flow collection");
8997
9210
  }
@@ -9005,40 +9218,45 @@ var require_loader = /* @__PURE__ */ __commonJSMin((exports, module) => {
9005
9218
  let atMoreIndented = false;
9006
9219
  let tmp;
9007
9220
  let ch = state.input.charCodeAt(state.position);
9008
- if (ch === 124)
9221
+ if (ch === 124) {
9009
9222
  folding = false;
9010
- else if (ch === 62)
9223
+ } else if (ch === 62) {
9011
9224
  folding = true;
9012
- else
9225
+ } else {
9013
9226
  return false;
9227
+ }
9014
9228
  state.kind = "scalar";
9015
9229
  state.result = "";
9016
9230
  while (ch !== 0) {
9017
9231
  ch = state.input.charCodeAt(++state.position);
9018
- if (ch === 43 || ch === 45)
9019
- if (CHOMPING_CLIP === chomping)
9232
+ if (ch === 43 || ch === 45) {
9233
+ if (CHOMPING_CLIP === chomping) {
9020
9234
  chomping = ch === 43 ? CHOMPING_KEEP : CHOMPING_STRIP;
9021
- else
9235
+ } else {
9022
9236
  throwError(state, "repeat of a chomping mode identifier");
9023
- else if ((tmp = fromDecimalCode(ch)) >= 0)
9024
- if (tmp === 0)
9237
+ }
9238
+ } else if ((tmp = fromDecimalCode(ch)) >= 0) {
9239
+ if (tmp === 0) {
9025
9240
  throwError(state, "bad explicit indentation width of a block scalar; it cannot be less than one");
9026
- else if (!detectedIndent) {
9241
+ } else if (!detectedIndent) {
9027
9242
  textIndent = nodeIndent + tmp - 1;
9028
9243
  detectedIndent = true;
9029
- } else
9244
+ } else {
9030
9245
  throwError(state, "repeat of an indentation width identifier");
9031
- else
9246
+ }
9247
+ } else {
9032
9248
  break;
9249
+ }
9033
9250
  }
9034
9251
  if (isWhiteSpace(ch)) {
9035
- do
9252
+ do {
9036
9253
  ch = state.input.charCodeAt(++state.position);
9037
- while (isWhiteSpace(ch));
9038
- if (ch === 35)
9039
- do
9254
+ } while (isWhiteSpace(ch));
9255
+ if (ch === 35) {
9256
+ do {
9040
9257
  ch = state.input.charCodeAt(++state.position);
9041
- while (!isEol(ch) && ch !== 0);
9258
+ } while (!isEol(ch) && ch !== 0);
9259
+ }
9042
9260
  }
9043
9261
  while (ch !== 0) {
9044
9262
  readLineBreak(state);
@@ -9048,49 +9266,56 @@ var require_loader = /* @__PURE__ */ __commonJSMin((exports, module) => {
9048
9266
  state.lineIndent++;
9049
9267
  ch = state.input.charCodeAt(++state.position);
9050
9268
  }
9051
- if (!detectedIndent && state.lineIndent > textIndent)
9269
+ if (!detectedIndent && state.lineIndent > textIndent) {
9052
9270
  textIndent = state.lineIndent;
9271
+ }
9053
9272
  if (isEol(ch)) {
9054
9273
  emptyLines++;
9055
9274
  continue;
9056
9275
  }
9057
- if (!detectedIndent && textIndent === 0)
9276
+ if (!detectedIndent && textIndent === 0) {
9058
9277
  throwError(state, "missing indentation for block scalar");
9278
+ }
9059
9279
  if (state.lineIndent < textIndent) {
9060
- if (chomping === CHOMPING_KEEP)
9061
- state.result += common.repeat(`
9280
+ if (chomping === CHOMPING_KEEP) {
9281
+ state.result += common2.repeat(`
9062
9282
  `, didReadContent ? 1 + emptyLines : emptyLines);
9063
- else if (chomping === CHOMPING_CLIP) {
9064
- if (didReadContent)
9283
+ } else if (chomping === CHOMPING_CLIP) {
9284
+ if (didReadContent) {
9065
9285
  state.result += `
9066
9286
  `;
9287
+ }
9067
9288
  }
9068
9289
  break;
9069
9290
  }
9070
- if (folding)
9291
+ if (folding) {
9071
9292
  if (isWhiteSpace(ch)) {
9072
9293
  atMoreIndented = true;
9073
- state.result += common.repeat(`
9294
+ state.result += common2.repeat(`
9074
9295
  `, didReadContent ? 1 + emptyLines : emptyLines);
9075
9296
  } else if (atMoreIndented) {
9076
9297
  atMoreIndented = false;
9077
- state.result += common.repeat(`
9298
+ state.result += common2.repeat(`
9078
9299
  `, emptyLines + 1);
9079
9300
  } else if (emptyLines === 0) {
9080
- if (didReadContent)
9301
+ if (didReadContent) {
9081
9302
  state.result += " ";
9082
- } else
9083
- state.result += common.repeat(`
9303
+ }
9304
+ } else {
9305
+ state.result += common2.repeat(`
9084
9306
  `, emptyLines);
9085
- else
9086
- state.result += common.repeat(`
9307
+ }
9308
+ } else {
9309
+ state.result += common2.repeat(`
9087
9310
  `, didReadContent ? 1 + emptyLines : emptyLines);
9311
+ }
9088
9312
  didReadContent = true;
9089
9313
  detectedIndent = true;
9090
9314
  emptyLines = 0;
9091
9315
  const captureStart = state.position;
9092
- while (!isEol(ch) && ch !== 0)
9316
+ while (!isEol(ch) && ch !== 0) {
9093
9317
  ch = state.input.charCodeAt(++state.position);
9318
+ }
9094
9319
  captureSegment(state, captureStart, state.position, false);
9095
9320
  }
9096
9321
  return true;
@@ -9102,18 +9327,22 @@ var require_loader = /* @__PURE__ */ __commonJSMin((exports, module) => {
9102
9327
  let detected = false;
9103
9328
  if (state.firstTabInLine !== -1)
9104
9329
  return false;
9105
- if (state.anchor !== null)
9330
+ if (state.anchor !== null) {
9106
9331
  storeAnchor(state, state.anchor, _result);
9332
+ }
9107
9333
  let ch = state.input.charCodeAt(state.position);
9108
9334
  while (ch !== 0) {
9109
9335
  if (state.firstTabInLine !== -1) {
9110
9336
  state.position = state.firstTabInLine;
9111
9337
  throwError(state, "tab characters must not be used in indentation");
9112
9338
  }
9113
- if (ch !== 45)
9339
+ if (ch !== 45) {
9114
9340
  break;
9115
- if (!isWsOrEol(state.input.charCodeAt(state.position + 1)))
9341
+ }
9342
+ const following = state.input.charCodeAt(state.position + 1);
9343
+ if (!isWsOrEol(following)) {
9116
9344
  break;
9345
+ }
9117
9346
  detected = true;
9118
9347
  state.position++;
9119
9348
  if (skipSeparationSpace(state, true, -1)) {
@@ -9128,10 +9357,11 @@ var require_loader = /* @__PURE__ */ __commonJSMin((exports, module) => {
9128
9357
  _result.push(state.result);
9129
9358
  skipSeparationSpace(state, true, -1);
9130
9359
  ch = state.input.charCodeAt(state.position);
9131
- if ((state.line === _line || state.lineIndent > nodeIndent) && ch !== 0)
9360
+ if ((state.line === _line || state.lineIndent > nodeIndent) && ch !== 0) {
9132
9361
  throwError(state, "bad indentation of a sequence entry");
9133
- else if (state.lineIndent < nodeIndent)
9362
+ } else if (state.lineIndent < nodeIndent) {
9134
9363
  break;
9364
+ }
9135
9365
  }
9136
9366
  if (detected) {
9137
9367
  state.tag = _tag;
@@ -9150,7 +9380,7 @@ var require_loader = /* @__PURE__ */ __commonJSMin((exports, module) => {
9150
9380
  const _tag = state.tag;
9151
9381
  const _anchor = state.anchor;
9152
9382
  const _result = {};
9153
- const overridableKeys = Object.create(null);
9383
+ const overridableKeys = /* @__PURE__ */ Object.create(null);
9154
9384
  let keyTag = null;
9155
9385
  let keyNode = null;
9156
9386
  let valueNode = null;
@@ -9158,8 +9388,9 @@ var require_loader = /* @__PURE__ */ __commonJSMin((exports, module) => {
9158
9388
  let detected = false;
9159
9389
  if (state.firstTabInLine !== -1)
9160
9390
  return false;
9161
- if (state.anchor !== null)
9391
+ if (state.anchor !== null) {
9162
9392
  storeAnchor(state, state.anchor, _result);
9393
+ }
9163
9394
  let ch = state.input.charCodeAt(state.position);
9164
9395
  while (ch !== 0) {
9165
9396
  if (!atExplicitKey && state.firstTabInLine !== -1) {
@@ -9180,24 +9411,28 @@ var require_loader = /* @__PURE__ */ __commonJSMin((exports, module) => {
9180
9411
  } else if (atExplicitKey) {
9181
9412
  atExplicitKey = false;
9182
9413
  allowCompact = true;
9183
- } else
9414
+ } else {
9184
9415
  throwError(state, "incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line");
9416
+ }
9185
9417
  state.position += 1;
9186
9418
  ch = following;
9187
9419
  } else {
9188
9420
  _keyLine = state.line;
9189
9421
  _keyLineStart = state.lineStart;
9190
9422
  _keyPos = state.position;
9191
- if (!composeNode(state, flowIndent, CONTEXT_FLOW_OUT, false, true))
9423
+ if (!composeNode(state, flowIndent, CONTEXT_FLOW_OUT, false, true)) {
9192
9424
  break;
9425
+ }
9193
9426
  if (state.line === _line) {
9194
9427
  ch = state.input.charCodeAt(state.position);
9195
- while (isWhiteSpace(ch))
9428
+ while (isWhiteSpace(ch)) {
9196
9429
  ch = state.input.charCodeAt(++state.position);
9430
+ }
9197
9431
  if (ch === 58) {
9198
9432
  ch = state.input.charCodeAt(++state.position);
9199
- if (!isWsOrEol(ch))
9433
+ if (!isWsOrEol(ch)) {
9200
9434
  throwError(state, "a whitespace character is expected after the key-value separator within a block mapping");
9435
+ }
9201
9436
  if (atExplicitKey) {
9202
9437
  storeMappingPair(state, _result, overridableKeys, keyTag, keyNode, null, _keyLine, _keyLineStart, _keyPos);
9203
9438
  keyTag = keyNode = valueNode = null;
@@ -9207,16 +9442,16 @@ var require_loader = /* @__PURE__ */ __commonJSMin((exports, module) => {
9207
9442
  allowCompact = false;
9208
9443
  keyTag = state.tag;
9209
9444
  keyNode = state.result;
9210
- } else if (detected)
9445
+ } else if (detected) {
9211
9446
  throwError(state, "can not read an implicit mapping pair; a colon is missed");
9212
- else {
9447
+ } else {
9213
9448
  state.tag = _tag;
9214
9449
  state.anchor = _anchor;
9215
9450
  return true;
9216
9451
  }
9217
- } else if (detected)
9452
+ } else if (detected) {
9218
9453
  throwError(state, "can not read a block mapping entry; a multiline key may not be an implicit key");
9219
- else {
9454
+ } else {
9220
9455
  state.tag = _tag;
9221
9456
  state.anchor = _anchor;
9222
9457
  return true;
@@ -9228,11 +9463,13 @@ var require_loader = /* @__PURE__ */ __commonJSMin((exports, module) => {
9228
9463
  _keyLineStart = state.lineStart;
9229
9464
  _keyPos = state.position;
9230
9465
  }
9231
- if (composeNode(state, nodeIndent, CONTEXT_BLOCK_OUT, true, allowCompact))
9232
- if (atExplicitKey)
9466
+ if (composeNode(state, nodeIndent, CONTEXT_BLOCK_OUT, true, allowCompact)) {
9467
+ if (atExplicitKey) {
9233
9468
  keyNode = state.result;
9234
- else
9469
+ } else {
9235
9470
  valueNode = state.result;
9471
+ }
9472
+ }
9236
9473
  if (!atExplicitKey) {
9237
9474
  storeMappingPair(state, _result, overridableKeys, keyTag, keyNode, valueNode, _keyLine, _keyLineStart, _keyPos);
9238
9475
  keyTag = keyNode = valueNode = null;
@@ -9240,13 +9477,15 @@ var require_loader = /* @__PURE__ */ __commonJSMin((exports, module) => {
9240
9477
  skipSeparationSpace(state, true, -1);
9241
9478
  ch = state.input.charCodeAt(state.position);
9242
9479
  }
9243
- if ((state.line === _line || state.lineIndent > nodeIndent) && ch !== 0)
9480
+ if ((state.line === _line || state.lineIndent > nodeIndent) && ch !== 0) {
9244
9481
  throwError(state, "bad indentation of a mapping entry");
9245
- else if (state.lineIndent < nodeIndent)
9482
+ } else if (state.lineIndent < nodeIndent) {
9246
9483
  break;
9484
+ }
9247
9485
  }
9248
- if (atExplicitKey)
9486
+ if (atExplicitKey) {
9249
9487
  storeMappingPair(state, _result, overridableKeys, keyTag, keyNode, null, _keyLine, _keyLineStart, _keyPos);
9488
+ }
9250
9489
  if (detected) {
9251
9490
  state.tag = _tag;
9252
9491
  state.anchor = _anchor;
@@ -9263,8 +9502,9 @@ var require_loader = /* @__PURE__ */ __commonJSMin((exports, module) => {
9263
9502
  let ch = state.input.charCodeAt(state.position);
9264
9503
  if (ch !== 33)
9265
9504
  return false;
9266
- if (state.tag !== null)
9505
+ if (state.tag !== null) {
9267
9506
  throwError(state, "duplication of a tag property");
9507
+ }
9268
9508
  ch = state.input.charCodeAt(++state.position);
9269
9509
  if (ch === 60) {
9270
9510
  isVerbatim = true;
@@ -9273,66 +9513,77 @@ var require_loader = /* @__PURE__ */ __commonJSMin((exports, module) => {
9273
9513
  isNamed = true;
9274
9514
  tagHandle = "!!";
9275
9515
  ch = state.input.charCodeAt(++state.position);
9276
- } else
9516
+ } else {
9277
9517
  tagHandle = "!";
9518
+ }
9278
9519
  let _position = state.position;
9279
9520
  if (isVerbatim) {
9280
- do
9521
+ do {
9281
9522
  ch = state.input.charCodeAt(++state.position);
9282
- while (ch !== 0 && ch !== 62);
9523
+ } while (ch !== 0 && ch !== 62);
9283
9524
  if (state.position < state.length) {
9284
9525
  tagName = state.input.slice(_position, state.position);
9285
9526
  ch = state.input.charCodeAt(++state.position);
9286
- } else
9527
+ } else {
9287
9528
  throwError(state, "unexpected end of the stream within a verbatim tag");
9529
+ }
9288
9530
  } else {
9289
9531
  while (ch !== 0 && !isWsOrEol(ch)) {
9290
- if (ch === 33)
9532
+ if (ch === 33) {
9291
9533
  if (!isNamed) {
9292
9534
  tagHandle = state.input.slice(_position - 1, state.position + 1);
9293
- if (!PATTERN_TAG_HANDLE.test(tagHandle))
9535
+ if (!PATTERN_TAG_HANDLE.test(tagHandle)) {
9294
9536
  throwError(state, "named tag handle cannot contain such characters");
9537
+ }
9295
9538
  isNamed = true;
9296
9539
  _position = state.position + 1;
9297
- } else
9540
+ } else {
9298
9541
  throwError(state, "tag suffix cannot contain exclamation marks");
9542
+ }
9543
+ }
9299
9544
  ch = state.input.charCodeAt(++state.position);
9300
9545
  }
9301
9546
  tagName = state.input.slice(_position, state.position);
9302
- if (PATTERN_FLOW_INDICATORS.test(tagName))
9547
+ if (PATTERN_FLOW_INDICATORS.test(tagName)) {
9303
9548
  throwError(state, "tag suffix cannot contain flow indicator characters");
9549
+ }
9304
9550
  }
9305
- if (tagName && !PATTERN_TAG_URI.test(tagName))
9551
+ if (tagName && !PATTERN_TAG_URI.test(tagName)) {
9306
9552
  throwError(state, "tag name cannot contain such characters: " + tagName);
9553
+ }
9307
9554
  try {
9308
9555
  tagName = decodeURIComponent(tagName);
9309
9556
  } catch (err) {
9310
9557
  throwError(state, "tag name is malformed: " + tagName);
9311
9558
  }
9312
- if (isVerbatim)
9559
+ if (isVerbatim) {
9313
9560
  state.tag = tagName;
9314
- else if (_hasOwnProperty.call(state.tagMap, tagHandle))
9561
+ } else if (_hasOwnProperty.call(state.tagMap, tagHandle)) {
9315
9562
  state.tag = state.tagMap[tagHandle] + tagName;
9316
- else if (tagHandle === "!")
9563
+ } else if (tagHandle === "!") {
9317
9564
  state.tag = "!" + tagName;
9318
- else if (tagHandle === "!!")
9565
+ } else if (tagHandle === "!!") {
9319
9566
  state.tag = "tag:yaml.org,2002:" + tagName;
9320
- else
9567
+ } else {
9321
9568
  throwError(state, 'undeclared tag handle "' + tagHandle + '"');
9569
+ }
9322
9570
  return true;
9323
9571
  }
9324
9572
  function readAnchorProperty(state) {
9325
9573
  let ch = state.input.charCodeAt(state.position);
9326
9574
  if (ch !== 38)
9327
9575
  return false;
9328
- if (state.anchor !== null)
9576
+ if (state.anchor !== null) {
9329
9577
  throwError(state, "duplication of an anchor property");
9578
+ }
9330
9579
  ch = state.input.charCodeAt(++state.position);
9331
9580
  const _position = state.position;
9332
- while (ch !== 0 && !isWsOrEol(ch) && !isFlowIndicator(ch))
9581
+ while (ch !== 0 && !isWsOrEol(ch) && !isFlowIndicator(ch)) {
9333
9582
  ch = state.input.charCodeAt(++state.position);
9334
- if (state.position === _position)
9583
+ }
9584
+ if (state.position === _position) {
9335
9585
  throwError(state, "name of an anchor node must contain at least one character");
9586
+ }
9336
9587
  state.anchor = state.input.slice(_position, state.position);
9337
9588
  return true;
9338
9589
  }
@@ -9342,13 +9593,16 @@ var require_loader = /* @__PURE__ */ __commonJSMin((exports, module) => {
9342
9593
  return false;
9343
9594
  ch = state.input.charCodeAt(++state.position);
9344
9595
  const _position = state.position;
9345
- while (ch !== 0 && !isWsOrEol(ch) && !isFlowIndicator(ch))
9596
+ while (ch !== 0 && !isWsOrEol(ch) && !isFlowIndicator(ch)) {
9346
9597
  ch = state.input.charCodeAt(++state.position);
9347
- if (state.position === _position)
9598
+ }
9599
+ if (state.position === _position) {
9348
9600
  throwError(state, "name of an alias node must contain at least one character");
9601
+ }
9349
9602
  const alias = state.input.slice(_position, state.position);
9350
- if (!_hasOwnProperty.call(state.anchorMap, alias))
9603
+ if (!_hasOwnProperty.call(state.anchorMap, alias)) {
9351
9604
  throwError(state, 'unidentified alias "' + alias + '"');
9605
+ }
9352
9606
  state.result = state.anchorMap[alias];
9353
9607
  skipSeparationSpace(state, true, -1);
9354
9608
  return true;
@@ -9376,14 +9630,16 @@ var require_loader = /* @__PURE__ */ __commonJSMin((exports, module) => {
9376
9630
  let atNewLine = false;
9377
9631
  let hasContent = false;
9378
9632
  let propertyStart = null;
9379
- let type;
9633
+ let type2;
9380
9634
  let flowIndent;
9381
9635
  let blockIndent;
9382
- if (state.depth >= state.maxDepth)
9636
+ if (state.depth >= state.maxDepth) {
9383
9637
  throwError(state, "nesting exceeded maxDepth (" + state.maxDepth + ")");
9638
+ }
9384
9639
  state.depth += 1;
9385
- if (state.listener !== null)
9640
+ if (state.listener !== null) {
9386
9641
  state.listener("open", state);
9642
+ }
9387
9643
  state.tag = null;
9388
9644
  state.anchor = null;
9389
9645
  state.kind = null;
@@ -9392,110 +9648,131 @@ var require_loader = /* @__PURE__ */ __commonJSMin((exports, module) => {
9392
9648
  if (allowToSeek) {
9393
9649
  if (skipSeparationSpace(state, true, -1)) {
9394
9650
  atNewLine = true;
9395
- if (state.lineIndent > parentIndent)
9651
+ if (state.lineIndent > parentIndent) {
9396
9652
  indentStatus = 1;
9397
- else if (state.lineIndent === parentIndent)
9653
+ } else if (state.lineIndent === parentIndent) {
9398
9654
  indentStatus = 0;
9399
- else if (state.lineIndent < parentIndent)
9655
+ } else if (state.lineIndent < parentIndent) {
9400
9656
  indentStatus = -1;
9657
+ }
9401
9658
  }
9402
9659
  }
9403
- if (indentStatus === 1)
9660
+ if (indentStatus === 1) {
9404
9661
  while (true) {
9405
9662
  const ch = state.input.charCodeAt(state.position);
9406
9663
  const propertyState = snapshotState(state);
9407
- if (atNewLine && (ch === 33 && state.tag !== null || ch === 38 && state.anchor !== null))
9664
+ if (atNewLine && (ch === 33 && state.tag !== null || ch === 38 && state.anchor !== null)) {
9408
9665
  break;
9409
- if (!readTagProperty(state) && !readAnchorProperty(state))
9666
+ }
9667
+ if (!readTagProperty(state) && !readAnchorProperty(state)) {
9410
9668
  break;
9411
- if (propertyStart === null)
9669
+ }
9670
+ if (propertyStart === null) {
9412
9671
  propertyStart = propertyState;
9672
+ }
9413
9673
  if (skipSeparationSpace(state, true, -1)) {
9414
9674
  atNewLine = true;
9415
9675
  allowBlockCollections = allowBlockStyles;
9416
- if (state.lineIndent > parentIndent)
9676
+ if (state.lineIndent > parentIndent) {
9417
9677
  indentStatus = 1;
9418
- else if (state.lineIndent === parentIndent)
9678
+ } else if (state.lineIndent === parentIndent) {
9419
9679
  indentStatus = 0;
9420
- else if (state.lineIndent < parentIndent)
9680
+ } else if (state.lineIndent < parentIndent) {
9421
9681
  indentStatus = -1;
9422
- } else
9682
+ }
9683
+ } else {
9423
9684
  allowBlockCollections = false;
9685
+ }
9424
9686
  }
9425
- if (allowBlockCollections)
9687
+ }
9688
+ if (allowBlockCollections) {
9426
9689
  allowBlockCollections = atNewLine || allowCompact;
9690
+ }
9427
9691
  if (indentStatus === 1 || CONTEXT_BLOCK_OUT === nodeContext) {
9428
- if (CONTEXT_FLOW_IN === nodeContext || CONTEXT_FLOW_OUT === nodeContext)
9692
+ if (CONTEXT_FLOW_IN === nodeContext || CONTEXT_FLOW_OUT === nodeContext) {
9429
9693
  flowIndent = parentIndent;
9430
- else
9694
+ } else {
9431
9695
  flowIndent = parentIndent + 1;
9696
+ }
9432
9697
  blockIndent = state.position - state.lineStart;
9433
- if (indentStatus === 1)
9434
- if (allowBlockCollections && (readBlockSequence(state, blockIndent) || readBlockMapping(state, blockIndent, flowIndent)) || readFlowCollection(state, flowIndent))
9698
+ if (indentStatus === 1) {
9699
+ if (allowBlockCollections && (readBlockSequence(state, blockIndent) || readBlockMapping(state, blockIndent, flowIndent)) || readFlowCollection(state, flowIndent)) {
9435
9700
  hasContent = true;
9436
- else {
9701
+ } else {
9437
9702
  const ch = state.input.charCodeAt(state.position);
9438
- if (propertyStart !== null && allowBlockStyles && !allowBlockCollections && ch !== 124 && ch !== 62 && tryReadBlockMappingFromProperty(state, propertyStart, propertyStart.position - propertyStart.lineStart, flowIndent))
9703
+ if (propertyStart !== null && allowBlockStyles && !allowBlockCollections && ch !== 124 && ch !== 62 && tryReadBlockMappingFromProperty(state, propertyStart, propertyStart.position - propertyStart.lineStart, flowIndent)) {
9439
9704
  hasContent = true;
9440
- else if (allowBlockScalars && readBlockScalar(state, flowIndent) || readSingleQuotedScalar(state, flowIndent) || readDoubleQuotedScalar(state, flowIndent))
9705
+ } else if (allowBlockScalars && readBlockScalar(state, flowIndent) || readSingleQuotedScalar(state, flowIndent) || readDoubleQuotedScalar(state, flowIndent)) {
9441
9706
  hasContent = true;
9442
- else if (readAlias(state)) {
9707
+ } else if (readAlias(state)) {
9443
9708
  hasContent = true;
9444
- if (state.tag !== null || state.anchor !== null)
9709
+ if (state.tag !== null || state.anchor !== null) {
9445
9710
  throwError(state, "alias node should not have any properties");
9711
+ }
9446
9712
  } else if (readPlainScalar(state, flowIndent, CONTEXT_FLOW_IN === nodeContext)) {
9447
9713
  hasContent = true;
9448
- if (state.tag === null)
9714
+ if (state.tag === null) {
9449
9715
  state.tag = "?";
9716
+ }
9450
9717
  }
9451
- if (state.anchor !== null)
9718
+ if (state.anchor !== null) {
9452
9719
  storeAnchor(state, state.anchor, state.result);
9720
+ }
9453
9721
  }
9454
- else if (indentStatus === 0)
9722
+ } else if (indentStatus === 0) {
9455
9723
  hasContent = allowBlockCollections && readBlockSequence(state, blockIndent);
9724
+ }
9456
9725
  }
9457
9726
  if (state.tag === null) {
9458
- if (state.anchor !== null)
9727
+ if (state.anchor !== null) {
9459
9728
  storeAnchor(state, state.anchor, state.result);
9729
+ }
9460
9730
  } else if (state.tag === "?") {
9461
- if (state.result !== null && state.kind !== "scalar")
9731
+ if (state.result !== null && state.kind !== "scalar") {
9462
9732
  throwError(state, 'unacceptable node kind for !<?> tag; it should be "scalar", not "' + state.kind + '"');
9733
+ }
9463
9734
  for (let typeIndex = 0, typeQuantity = state.implicitTypes.length;typeIndex < typeQuantity; typeIndex += 1) {
9464
- type = state.implicitTypes[typeIndex];
9465
- if (type.resolve(state.result)) {
9466
- state.result = type.construct(state.result);
9467
- state.tag = type.tag;
9468
- if (state.anchor !== null)
9735
+ type2 = state.implicitTypes[typeIndex];
9736
+ if (type2.resolve(state.result)) {
9737
+ state.result = type2.construct(state.result);
9738
+ state.tag = type2.tag;
9739
+ if (state.anchor !== null) {
9469
9740
  storeAnchor(state, state.anchor, state.result);
9741
+ }
9470
9742
  break;
9471
9743
  }
9472
9744
  }
9473
9745
  } else if (state.tag !== "!") {
9474
- if (_hasOwnProperty.call(state.typeMap[state.kind || "fallback"], state.tag))
9475
- type = state.typeMap[state.kind || "fallback"][state.tag];
9476
- else {
9477
- type = null;
9746
+ if (_hasOwnProperty.call(state.typeMap[state.kind || "fallback"], state.tag)) {
9747
+ type2 = state.typeMap[state.kind || "fallback"][state.tag];
9748
+ } else {
9749
+ type2 = null;
9478
9750
  const typeList = state.typeMap.multi[state.kind || "fallback"];
9479
- for (let typeIndex = 0, typeQuantity = typeList.length;typeIndex < typeQuantity; typeIndex += 1)
9751
+ for (let typeIndex = 0, typeQuantity = typeList.length;typeIndex < typeQuantity; typeIndex += 1) {
9480
9752
  if (state.tag.slice(0, typeList[typeIndex].tag.length) === typeList[typeIndex].tag) {
9481
- type = typeList[typeIndex];
9753
+ type2 = typeList[typeIndex];
9482
9754
  break;
9483
9755
  }
9756
+ }
9484
9757
  }
9485
- if (!type)
9758
+ if (!type2) {
9486
9759
  throwError(state, "unknown tag !<" + state.tag + ">");
9487
- if (state.result !== null && type.kind !== state.kind)
9488
- throwError(state, "unacceptable node kind for !<" + state.tag + '> tag; it should be "' + type.kind + '", not "' + state.kind + '"');
9489
- if (!type.resolve(state.result, state.tag))
9760
+ }
9761
+ if (state.result !== null && type2.kind !== state.kind) {
9762
+ throwError(state, "unacceptable node kind for !<" + state.tag + '> tag; it should be "' + type2.kind + '", not "' + state.kind + '"');
9763
+ }
9764
+ if (!type2.resolve(state.result, state.tag)) {
9490
9765
  throwError(state, "cannot resolve a node with !<" + state.tag + "> explicit tag");
9491
- else {
9492
- state.result = type.construct(state.result, state.tag);
9493
- if (state.anchor !== null)
9766
+ } else {
9767
+ state.result = type2.construct(state.result, state.tag);
9768
+ if (state.anchor !== null) {
9494
9769
  storeAnchor(state, state.anchor, state.result);
9770
+ }
9495
9771
  }
9496
9772
  }
9497
- if (state.listener !== null)
9773
+ if (state.listener !== null) {
9498
9774
  state.listener("close", state);
9775
+ }
9499
9776
  state.depth -= 1;
9500
9777
  return state.tag !== null || state.anchor !== null || hasContent;
9501
9778
  }
@@ -9505,55 +9782,63 @@ var require_loader = /* @__PURE__ */ __commonJSMin((exports, module) => {
9505
9782
  let ch;
9506
9783
  state.version = null;
9507
9784
  state.checkLineBreaks = state.legacy;
9508
- state.tagMap = Object.create(null);
9509
- state.anchorMap = Object.create(null);
9785
+ state.tagMap = /* @__PURE__ */ Object.create(null);
9786
+ state.anchorMap = /* @__PURE__ */ Object.create(null);
9510
9787
  while ((ch = state.input.charCodeAt(state.position)) !== 0) {
9511
9788
  skipSeparationSpace(state, true, -1);
9512
9789
  ch = state.input.charCodeAt(state.position);
9513
- if (state.lineIndent > 0 || ch !== 37)
9790
+ if (state.lineIndent > 0 || ch !== 37) {
9514
9791
  break;
9792
+ }
9515
9793
  hasDirectives = true;
9516
9794
  ch = state.input.charCodeAt(++state.position);
9517
9795
  let _position = state.position;
9518
- while (ch !== 0 && !isWsOrEol(ch))
9796
+ while (ch !== 0 && !isWsOrEol(ch)) {
9519
9797
  ch = state.input.charCodeAt(++state.position);
9798
+ }
9520
9799
  const directiveName = state.input.slice(_position, state.position);
9521
9800
  const directiveArgs = [];
9522
- if (directiveName.length < 1)
9801
+ if (directiveName.length < 1) {
9523
9802
  throwError(state, "directive name must not be less than one character in length");
9803
+ }
9524
9804
  while (ch !== 0) {
9525
- while (isWhiteSpace(ch))
9805
+ while (isWhiteSpace(ch)) {
9526
9806
  ch = state.input.charCodeAt(++state.position);
9807
+ }
9527
9808
  if (ch === 35) {
9528
- do
9809
+ do {
9529
9810
  ch = state.input.charCodeAt(++state.position);
9530
- while (ch !== 0 && !isEol(ch));
9811
+ } while (ch !== 0 && !isEol(ch));
9531
9812
  break;
9532
9813
  }
9533
9814
  if (isEol(ch))
9534
9815
  break;
9535
9816
  _position = state.position;
9536
- while (ch !== 0 && !isWsOrEol(ch))
9817
+ while (ch !== 0 && !isWsOrEol(ch)) {
9537
9818
  ch = state.input.charCodeAt(++state.position);
9819
+ }
9538
9820
  directiveArgs.push(state.input.slice(_position, state.position));
9539
9821
  }
9540
9822
  if (ch !== 0)
9541
9823
  readLineBreak(state);
9542
- if (_hasOwnProperty.call(directiveHandlers, directiveName))
9824
+ if (_hasOwnProperty.call(directiveHandlers, directiveName)) {
9543
9825
  directiveHandlers[directiveName](state, directiveName, directiveArgs);
9544
- else
9826
+ } else {
9545
9827
  throwWarning(state, 'unknown document directive "' + directiveName + '"');
9828
+ }
9546
9829
  }
9547
9830
  skipSeparationSpace(state, true, -1);
9548
9831
  if (state.lineIndent === 0 && state.input.charCodeAt(state.position) === 45 && state.input.charCodeAt(state.position + 1) === 45 && state.input.charCodeAt(state.position + 2) === 45) {
9549
9832
  state.position += 3;
9550
9833
  skipSeparationSpace(state, true, -1);
9551
- } else if (hasDirectives)
9834
+ } else if (hasDirectives) {
9552
9835
  throwError(state, "directives end mark is expected");
9836
+ }
9553
9837
  composeNode(state, state.lineIndent - 1, CONTEXT_BLOCK_OUT, false, true);
9554
9838
  skipSeparationSpace(state, true, -1);
9555
- if (state.checkLineBreaks && PATTERN_NON_ASCII_LINE_BREAKS.test(state.input.slice(documentStart, state.position)))
9839
+ if (state.checkLineBreaks && PATTERN_NON_ASCII_LINE_BREAKS.test(state.input.slice(documentStart, state.position))) {
9556
9840
  throwWarning(state, "non-ASCII line breaks are interpreted as content");
9841
+ }
9557
9842
  state.documents.push(state.result);
9558
9843
  if (state.position === state.lineStart && testDocumentSeparator(state)) {
9559
9844
  if (state.input.charCodeAt(state.position) === 46) {
@@ -9562,18 +9847,21 @@ var require_loader = /* @__PURE__ */ __commonJSMin((exports, module) => {
9562
9847
  }
9563
9848
  return;
9564
9849
  }
9565
- if (state.position < state.length - 1)
9850
+ if (state.position < state.length - 1) {
9566
9851
  throwError(state, "end of the stream or a document separator is expected");
9852
+ }
9567
9853
  }
9568
9854
  function loadDocuments(input, options) {
9569
9855
  input = String(input);
9570
9856
  options = options || {};
9571
9857
  if (input.length !== 0) {
9572
- if (input.charCodeAt(input.length - 1) !== 10 && input.charCodeAt(input.length - 1) !== 13)
9858
+ if (input.charCodeAt(input.length - 1) !== 10 && input.charCodeAt(input.length - 1) !== 13) {
9573
9859
  input += `
9574
9860
  `;
9575
- if (input.charCodeAt(0) === 65279)
9861
+ }
9862
+ if (input.charCodeAt(0) === 65279) {
9576
9863
  input = input.slice(1);
9864
+ }
9577
9865
  }
9578
9866
  const state = new State(input, options);
9579
9867
  const nullpos = input.indexOf("\x00");
@@ -9586,64 +9874,74 @@ var require_loader = /* @__PURE__ */ __commonJSMin((exports, module) => {
9586
9874
  state.lineIndent += 1;
9587
9875
  state.position += 1;
9588
9876
  }
9589
- while (state.position < state.length - 1)
9877
+ while (state.position < state.length - 1) {
9590
9878
  readDocument(state);
9879
+ }
9591
9880
  return state.documents;
9592
9881
  }
9593
- function loadAll(input, iterator, options) {
9882
+ function loadAll2(input, iterator, options) {
9594
9883
  if (iterator !== null && typeof iterator === "object" && typeof options === "undefined") {
9595
9884
  options = iterator;
9596
9885
  iterator = null;
9597
9886
  }
9598
9887
  const documents = loadDocuments(input, options);
9599
- if (typeof iterator !== "function")
9888
+ if (typeof iterator !== "function") {
9600
9889
  return documents;
9601
- for (let index = 0, length = documents.length;index < length; index += 1)
9890
+ }
9891
+ for (let index = 0, length = documents.length;index < length; index += 1) {
9602
9892
  iterator(documents[index]);
9893
+ }
9603
9894
  }
9604
- function load(input, options) {
9895
+ function load2(input, options) {
9605
9896
  const documents = loadDocuments(input, options);
9606
- if (documents.length === 0)
9897
+ if (documents.length === 0) {
9607
9898
  return;
9608
- else if (documents.length === 1)
9899
+ } else if (documents.length === 1) {
9609
9900
  return documents[0];
9610
- throw new YAMLException("expected a single document in the stream, but found more");
9611
- }
9612
- module.exports.loadAll = loadAll;
9613
- module.exports.load = load;
9614
- });
9615
- var require_dumper = /* @__PURE__ */ __commonJSMin((exports, module) => {
9616
- var common = require_common();
9617
- var YAMLException = require_exception();
9618
- var DEFAULT_SCHEMA = require_default();
9619
- var _toString = Object.prototype.toString;
9620
- var _hasOwnProperty = Object.prototype.hasOwnProperty;
9621
- var CHAR_BOM = 65279;
9622
- var CHAR_TAB = 9;
9623
- var CHAR_LINE_FEED = 10;
9624
- var CHAR_CARRIAGE_RETURN = 13;
9625
- var CHAR_SPACE = 32;
9626
- var CHAR_EXCLAMATION = 33;
9627
- var CHAR_DOUBLE_QUOTE = 34;
9628
- var CHAR_SHARP = 35;
9629
- var CHAR_PERCENT = 37;
9630
- var CHAR_AMPERSAND = 38;
9631
- var CHAR_SINGLE_QUOTE = 39;
9632
- var CHAR_ASTERISK = 42;
9633
- var CHAR_COMMA = 44;
9634
- var CHAR_MINUS = 45;
9635
- var CHAR_COLON = 58;
9636
- var CHAR_EQUALS = 61;
9637
- var CHAR_GREATER_THAN = 62;
9638
- var CHAR_QUESTION = 63;
9639
- var CHAR_COMMERCIAL_AT = 64;
9640
- var CHAR_LEFT_SQUARE_BRACKET = 91;
9641
- var CHAR_RIGHT_SQUARE_BRACKET = 93;
9642
- var CHAR_GRAVE_ACCENT = 96;
9643
- var CHAR_LEFT_CURLY_BRACKET = 123;
9644
- var CHAR_VERTICAL_LINE = 124;
9645
- var CHAR_RIGHT_CURLY_BRACKET = 125;
9646
- var ESCAPE_SEQUENCES = {};
9901
+ }
9902
+ throw new YAMLException2("expected a single document in the stream, but found more");
9903
+ }
9904
+ loader.loadAll = loadAll2;
9905
+ loader.load = load2;
9906
+ return loader;
9907
+ }
9908
+ var dumper = {};
9909
+ var hasRequiredDumper;
9910
+ function requireDumper() {
9911
+ if (hasRequiredDumper)
9912
+ return dumper;
9913
+ hasRequiredDumper = 1;
9914
+ const common2 = requireCommon();
9915
+ const YAMLException2 = requireException();
9916
+ const DEFAULT_SCHEMA2 = require_default();
9917
+ const _toString = Object.prototype.toString;
9918
+ const _hasOwnProperty = Object.prototype.hasOwnProperty;
9919
+ const CHAR_BOM = 65279;
9920
+ const CHAR_TAB = 9;
9921
+ const CHAR_LINE_FEED = 10;
9922
+ const CHAR_CARRIAGE_RETURN = 13;
9923
+ const CHAR_SPACE = 32;
9924
+ const CHAR_EXCLAMATION = 33;
9925
+ const CHAR_DOUBLE_QUOTE = 34;
9926
+ const CHAR_SHARP = 35;
9927
+ const CHAR_PERCENT = 37;
9928
+ const CHAR_AMPERSAND = 38;
9929
+ const CHAR_SINGLE_QUOTE = 39;
9930
+ const CHAR_ASTERISK = 42;
9931
+ const CHAR_COMMA = 44;
9932
+ const CHAR_MINUS = 45;
9933
+ const CHAR_COLON = 58;
9934
+ const CHAR_EQUALS = 61;
9935
+ const CHAR_GREATER_THAN = 62;
9936
+ const CHAR_QUESTION = 63;
9937
+ const CHAR_COMMERCIAL_AT = 64;
9938
+ const CHAR_LEFT_SQUARE_BRACKET = 91;
9939
+ const CHAR_RIGHT_SQUARE_BRACKET = 93;
9940
+ const CHAR_GRAVE_ACCENT = 96;
9941
+ const CHAR_LEFT_CURLY_BRACKET = 123;
9942
+ const CHAR_VERTICAL_LINE = 124;
9943
+ const CHAR_RIGHT_CURLY_BRACKET = 125;
9944
+ const ESCAPE_SEQUENCES = {};
9647
9945
  ESCAPE_SEQUENCES[0] = "\\0";
9648
9946
  ESCAPE_SEQUENCES[7] = "\\a";
9649
9947
  ESCAPE_SEQUENCES[8] = "\\b";
@@ -9659,7 +9957,7 @@ var require_dumper = /* @__PURE__ */ __commonJSMin((exports, module) => {
9659
9957
  ESCAPE_SEQUENCES[160] = "\\_";
9660
9958
  ESCAPE_SEQUENCES[8232] = "\\L";
9661
9959
  ESCAPE_SEQUENCES[8233] = "\\P";
9662
- var DEPRECATED_BOOLEANS_SYNTAX = [
9960
+ const DEPRECATED_BOOLEANS_SYNTAX = [
9663
9961
  "y",
9664
9962
  "Y",
9665
9963
  "yes",
@@ -9677,20 +9975,22 @@ var require_dumper = /* @__PURE__ */ __commonJSMin((exports, module) => {
9677
9975
  "Off",
9678
9976
  "OFF"
9679
9977
  ];
9680
- var DEPRECATED_BASE60_SYNTAX = /^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;
9681
- function compileStyleMap(schema, map) {
9682
- if (map === null)
9978
+ const DEPRECATED_BASE60_SYNTAX = /^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;
9979
+ function compileStyleMap(schema2, map2) {
9980
+ if (map2 === null)
9683
9981
  return {};
9684
9982
  const result = {};
9685
- const keys = Object.keys(map);
9983
+ const keys = Object.keys(map2);
9686
9984
  for (let index = 0, length = keys.length;index < length; index += 1) {
9687
9985
  let tag = keys[index];
9688
- let style = String(map[tag]);
9689
- if (tag.slice(0, 2) === "!!")
9986
+ let style = String(map2[tag]);
9987
+ if (tag.slice(0, 2) === "!!") {
9690
9988
  tag = "tag:yaml.org,2002:" + tag.slice(2);
9691
- const type = schema.compiledTypeMap["fallback"][tag];
9692
- if (type && _hasOwnProperty.call(type.styleAliases, style))
9693
- style = type.styleAliases[style];
9989
+ }
9990
+ const type2 = schema2.compiledTypeMap["fallback"][tag];
9991
+ if (type2 && _hasOwnProperty.call(type2.styleAliases, style)) {
9992
+ style = type2.styleAliases[style];
9993
+ }
9694
9994
  result[tag] = style;
9695
9995
  }
9696
9996
  return result;
@@ -9708,18 +10008,19 @@ var require_dumper = /* @__PURE__ */ __commonJSMin((exports, module) => {
9708
10008
  } else if (character <= 4294967295) {
9709
10009
  handle = "U";
9710
10010
  length = 8;
9711
- } else
9712
- throw new YAMLException("code point within a string may not be greater than 0xFFFFFFFF");
9713
- return "\\" + handle + common.repeat("0", length - string.length) + string;
10011
+ } else {
10012
+ throw new YAMLException2("code point within a string may not be greater than 0xFFFFFFFF");
10013
+ }
10014
+ return "\\" + handle + common2.repeat("0", length - string.length) + string;
9714
10015
  }
9715
- var QUOTING_TYPE_SINGLE = 1;
9716
- var QUOTING_TYPE_DOUBLE = 2;
10016
+ const QUOTING_TYPE_SINGLE = 1;
10017
+ const QUOTING_TYPE_DOUBLE = 2;
9717
10018
  function State(options) {
9718
- this.schema = options["schema"] || DEFAULT_SCHEMA;
10019
+ this.schema = options["schema"] || DEFAULT_SCHEMA2;
9719
10020
  this.indent = Math.max(1, options["indent"] || 2);
9720
10021
  this.noArrayIndent = options["noArrayIndent"] || false;
9721
10022
  this.skipInvalid = options["skipInvalid"] || false;
9722
- this.flowLevel = common.isNothing(options["flowLevel"]) ? -1 : options["flowLevel"];
10023
+ this.flowLevel = common2.isNothing(options["flowLevel"]) ? -1 : options["flowLevel"];
9723
10024
  this.styleMap = compileStyleMap(this.schema, options["styles"] || null);
9724
10025
  this.sortKeys = options["sortKeys"] || false;
9725
10026
  this.lineWidth = options["lineWidth"] || 80;
@@ -9737,7 +10038,7 @@ var require_dumper = /* @__PURE__ */ __commonJSMin((exports, module) => {
9737
10038
  this.usedDuplicates = null;
9738
10039
  }
9739
10040
  function indentString(string, spaces) {
9740
- const ind = common.repeat(" ", spaces);
10041
+ const ind = common2.repeat(" ", spaces);
9741
10042
  let position = 0;
9742
10043
  let result = "";
9743
10044
  const length = string.length;
@@ -9761,12 +10062,15 @@ var require_dumper = /* @__PURE__ */ __commonJSMin((exports, module) => {
9761
10062
  }
9762
10063
  function generateNextLine(state, level) {
9763
10064
  return `
9764
- ` + common.repeat(" ", state.indent * level);
10065
+ ` + common2.repeat(" ", state.indent * level);
9765
10066
  }
9766
- function testImplicitResolving(state, str) {
9767
- for (let index = 0, length = state.implicitTypes.length;index < length; index += 1)
9768
- if (state.implicitTypes[index].resolve(str))
10067
+ function testImplicitResolving(state, str2) {
10068
+ for (let index = 0, length = state.implicitTypes.length;index < length; index += 1) {
10069
+ const type2 = state.implicitTypes[index];
10070
+ if (type2.resolve(str2)) {
9769
10071
  return true;
10072
+ }
10073
+ }
9770
10074
  return false;
9771
10075
  }
9772
10076
  function isWhitespace(c) {
@@ -9794,19 +10098,21 @@ var require_dumper = /* @__PURE__ */ __commonJSMin((exports, module) => {
9794
10098
  let second;
9795
10099
  if (first >= 55296 && first <= 56319 && pos + 1 < string.length) {
9796
10100
  second = string.charCodeAt(pos + 1);
9797
- if (second >= 56320 && second <= 57343)
10101
+ if (second >= 56320 && second <= 57343) {
9798
10102
  return (first - 55296) * 1024 + second - 56320 + 65536;
10103
+ }
9799
10104
  }
9800
10105
  return first;
9801
10106
  }
9802
10107
  function needIndentIndicator(string) {
9803
- return /^\n* /.test(string);
9804
- }
9805
- var STYLE_PLAIN = 1;
9806
- var STYLE_SINGLE = 2;
9807
- var STYLE_LITERAL = 3;
9808
- var STYLE_FOLDED = 4;
9809
- var STYLE_DOUBLE = 5;
10108
+ const leadingSpaceRe = /^\n* /;
10109
+ return leadingSpaceRe.test(string);
10110
+ }
10111
+ const STYLE_PLAIN = 1;
10112
+ const STYLE_SINGLE = 2;
10113
+ const STYLE_LITERAL = 3;
10114
+ const STYLE_FOLDED = 4;
10115
+ const STYLE_DOUBLE = 5;
9810
10116
  function chooseScalarStyle(string, singleLineOnly, indentPerLevel, lineWidth, testAmbiguousType, quotingType, forceQuotes, inblock) {
9811
10117
  let i;
9812
10118
  let char = 0;
@@ -9816,15 +10122,16 @@ var require_dumper = /* @__PURE__ */ __commonJSMin((exports, module) => {
9816
10122
  const shouldTrackWidth = lineWidth !== -1;
9817
10123
  let previousLineBreak = -1;
9818
10124
  let plain = isPlainSafeFirst(codePointAt(string, 0)) && isPlainSafeLast(codePointAt(string, string.length - 1));
9819
- if (singleLineOnly || forceQuotes)
10125
+ if (singleLineOnly || forceQuotes) {
9820
10126
  for (i = 0;i < string.length; char >= 65536 ? i += 2 : i++) {
9821
10127
  char = codePointAt(string, i);
9822
- if (!isPrintable(char))
10128
+ if (!isPrintable(char)) {
9823
10129
  return STYLE_DOUBLE;
10130
+ }
9824
10131
  plain = plain && isPlainSafe(char, prevChar, inblock);
9825
10132
  prevChar = char;
9826
10133
  }
9827
- else {
10134
+ } else {
9828
10135
  for (i = 0;i < string.length; char >= 65536 ? i += 2 : i++) {
9829
10136
  char = codePointAt(string, i);
9830
10137
  if (char === CHAR_LINE_FEED) {
@@ -9833,31 +10140,37 @@ var require_dumper = /* @__PURE__ */ __commonJSMin((exports, module) => {
9833
10140
  hasFoldableLine = hasFoldableLine || i - previousLineBreak - 1 > lineWidth && string[previousLineBreak + 1] !== " ";
9834
10141
  previousLineBreak = i;
9835
10142
  }
9836
- } else if (!isPrintable(char))
10143
+ } else if (!isPrintable(char)) {
9837
10144
  return STYLE_DOUBLE;
10145
+ }
9838
10146
  plain = plain && isPlainSafe(char, prevChar, inblock);
9839
10147
  prevChar = char;
9840
10148
  }
9841
- hasFoldableLine = hasFoldableLine || shouldTrackWidth && i - previousLineBreak - 1 > lineWidth && string[previousLineBreak + 1] !== " ";
10149
+ hasFoldableLine = hasFoldableLine || shouldTrackWidth && (i - previousLineBreak - 1 > lineWidth && string[previousLineBreak + 1] !== " ");
9842
10150
  }
9843
10151
  if (!hasLineBreak && !hasFoldableLine) {
9844
- if (plain && !forceQuotes && !testAmbiguousType(string))
10152
+ if (plain && !forceQuotes && !testAmbiguousType(string)) {
9845
10153
  return STYLE_PLAIN;
10154
+ }
9846
10155
  return quotingType === QUOTING_TYPE_DOUBLE ? STYLE_DOUBLE : STYLE_SINGLE;
9847
10156
  }
9848
- if (indentPerLevel > 9 && needIndentIndicator(string))
10157
+ if (indentPerLevel > 9 && needIndentIndicator(string)) {
9849
10158
  return STYLE_DOUBLE;
9850
- if (!forceQuotes)
10159
+ }
10160
+ if (!forceQuotes) {
9851
10161
  return hasFoldableLine ? STYLE_FOLDED : STYLE_LITERAL;
10162
+ }
9852
10163
  return quotingType === QUOTING_TYPE_DOUBLE ? STYLE_DOUBLE : STYLE_SINGLE;
9853
10164
  }
9854
10165
  function writeScalar(state, string, level, iskey, inblock) {
9855
10166
  state.dump = function() {
9856
- if (string.length === 0)
10167
+ if (string.length === 0) {
9857
10168
  return state.quotingType === QUOTING_TYPE_DOUBLE ? '""' : "''";
10169
+ }
9858
10170
  if (!state.noCompatMode) {
9859
- if (DEPRECATED_BOOLEANS_SYNTAX.indexOf(string) !== -1 || DEPRECATED_BASE60_SYNTAX.test(string))
10171
+ if (DEPRECATED_BOOLEANS_SYNTAX.indexOf(string) !== -1 || DEPRECATED_BASE60_SYNTAX.test(string)) {
9860
10172
  return state.quotingType === QUOTING_TYPE_DOUBLE ? '"' + string + '"' : "'" + string + "'";
10173
+ }
9861
10174
  }
9862
10175
  const indent = state.indent * Math.max(1, level);
9863
10176
  const lineWidth = state.lineWidth === -1 ? -1 : Math.max(Math.min(state.lineWidth, 40), state.lineWidth - indent);
@@ -9875,9 +10188,9 @@ var require_dumper = /* @__PURE__ */ __commonJSMin((exports, module) => {
9875
10188
  case STYLE_FOLDED:
9876
10189
  return ">" + blockHeader(string, state.indent) + dropEndingNewline(indentString(foldString(string, lineWidth), indent));
9877
10190
  case STYLE_DOUBLE:
9878
- return '"' + escapeString(string, lineWidth) + '"';
10191
+ return '"' + escapeString(string) + '"';
9879
10192
  default:
9880
- throw new YAMLException("impossible error: invalid scalar style");
10193
+ throw new YAMLException2("impossible error: invalid scalar style");
9881
10194
  }
9882
10195
  }();
9883
10196
  }
@@ -9885,9 +10198,11 @@ var require_dumper = /* @__PURE__ */ __commonJSMin((exports, module) => {
9885
10198
  const indentIndicator = needIndentIndicator(string) ? String(indentPerLevel) : "";
9886
10199
  const clip = string[string.length - 1] === `
9887
10200
  `;
9888
- return indentIndicator + (clip && (string[string.length - 2] === `
10201
+ const keep = clip && (string[string.length - 2] === `
9889
10202
  ` || string === `
9890
- `) ? "+" : clip ? "" : "-") + `
10203
+ `);
10204
+ const chomp = keep ? "+" : clip ? "" : "-";
10205
+ return indentIndicator + chomp + `
9891
10206
  `;
9892
10207
  }
9893
10208
  function dropEndingNewline(string) {
@@ -9939,11 +10254,12 @@ var require_dumper = /* @__PURE__ */ __commonJSMin((exports, module) => {
9939
10254
  }
9940
10255
  result += `
9941
10256
  `;
9942
- if (line.length - start > width && curr > start)
10257
+ if (line.length - start > width && curr > start) {
9943
10258
  result += line.slice(start, curr) + `
9944
10259
  ` + line.slice(curr + 1);
9945
- else
10260
+ } else {
9946
10261
  result += line.slice(start);
10262
+ }
9947
10263
  return result.slice(1);
9948
10264
  }
9949
10265
  function escapeString(string) {
@@ -9956,8 +10272,9 @@ var require_dumper = /* @__PURE__ */ __commonJSMin((exports, module) => {
9956
10272
  result += string[i];
9957
10273
  if (char >= 65536)
9958
10274
  result += string[i + 1];
9959
- } else
10275
+ } else {
9960
10276
  result += escapeSeq || encodeHex(char);
10277
+ }
9961
10278
  }
9962
10279
  return result;
9963
10280
  }
@@ -9966,8 +10283,9 @@ var require_dumper = /* @__PURE__ */ __commonJSMin((exports, module) => {
9966
10283
  const _tag = state.tag;
9967
10284
  for (let index = 0, length = object.length;index < length; index += 1) {
9968
10285
  let value = object[index];
9969
- if (state.replacer)
10286
+ if (state.replacer) {
9970
10287
  value = state.replacer.call(object, String(index), value);
10288
+ }
9971
10289
  if (writeNode(state, level, value, false, false) || typeof value === "undefined" && writeNode(state, level, null, false, false)) {
9972
10290
  if (_result !== "")
9973
10291
  _result += "," + (!state.condenseFlow ? " " : "");
@@ -9982,15 +10300,18 @@ var require_dumper = /* @__PURE__ */ __commonJSMin((exports, module) => {
9982
10300
  const _tag = state.tag;
9983
10301
  for (let index = 0, length = object.length;index < length; index += 1) {
9984
10302
  let value = object[index];
9985
- if (state.replacer)
10303
+ if (state.replacer) {
9986
10304
  value = state.replacer.call(object, String(index), value);
10305
+ }
9987
10306
  if (writeNode(state, level + 1, value, true, true, false, true) || typeof value === "undefined" && writeNode(state, level + 1, null, true, true, false, true)) {
9988
- if (!compact || _result !== "")
10307
+ if (!compact || _result !== "") {
9989
10308
  _result += generateNextLine(state, level);
9990
- if (state.dump && CHAR_LINE_FEED === state.dump.charCodeAt(0))
10309
+ }
10310
+ if (state.dump && CHAR_LINE_FEED === state.dump.charCodeAt(0)) {
9991
10311
  _result += "-";
9992
- else
10312
+ } else {
9993
10313
  _result += "- ";
10314
+ }
9994
10315
  _result += state.dump;
9995
10316
  }
9996
10317
  }
@@ -10009,15 +10330,18 @@ var require_dumper = /* @__PURE__ */ __commonJSMin((exports, module) => {
10009
10330
  pairBuffer += '"';
10010
10331
  const objectKey = objectKeyList[index];
10011
10332
  let objectValue = object[objectKey];
10012
- if (state.replacer)
10333
+ if (state.replacer) {
10013
10334
  objectValue = state.replacer.call(object, objectKey, objectValue);
10014
- if (!writeNode(state, level, objectKey, false, false))
10335
+ }
10336
+ if (!writeNode(state, level, objectKey, false, false)) {
10015
10337
  continue;
10338
+ }
10016
10339
  if (state.dump.length > 1024)
10017
10340
  pairBuffer += "? ";
10018
10341
  pairBuffer += state.dump + (state.condenseFlow ? '"' : "") + ":" + (state.condenseFlow ? "" : " ");
10019
- if (!writeNode(state, level, objectValue, false, false))
10342
+ if (!writeNode(state, level, objectValue, false, false)) {
10020
10343
  continue;
10344
+ }
10021
10345
  pairBuffer += state.dump;
10022
10346
  _result += pairBuffer;
10023
10347
  }
@@ -10028,37 +10352,46 @@ var require_dumper = /* @__PURE__ */ __commonJSMin((exports, module) => {
10028
10352
  let _result = "";
10029
10353
  const _tag = state.tag;
10030
10354
  const objectKeyList = Object.keys(object);
10031
- if (state.sortKeys === true)
10355
+ if (state.sortKeys === true) {
10032
10356
  objectKeyList.sort();
10033
- else if (typeof state.sortKeys === "function")
10357
+ } else if (typeof state.sortKeys === "function") {
10034
10358
  objectKeyList.sort(state.sortKeys);
10035
- else if (state.sortKeys)
10036
- throw new YAMLException("sortKeys must be a boolean or a function");
10359
+ } else if (state.sortKeys) {
10360
+ throw new YAMLException2("sortKeys must be a boolean or a function");
10361
+ }
10037
10362
  for (let index = 0, length = objectKeyList.length;index < length; index += 1) {
10038
10363
  let pairBuffer = "";
10039
- if (!compact || _result !== "")
10364
+ if (!compact || _result !== "") {
10040
10365
  pairBuffer += generateNextLine(state, level);
10366
+ }
10041
10367
  const objectKey = objectKeyList[index];
10042
10368
  let objectValue = object[objectKey];
10043
- if (state.replacer)
10369
+ if (state.replacer) {
10044
10370
  objectValue = state.replacer.call(object, objectKey, objectValue);
10045
- if (!writeNode(state, level + 1, objectKey, true, true, true))
10371
+ }
10372
+ if (!writeNode(state, level + 1, objectKey, true, true, true)) {
10046
10373
  continue;
10374
+ }
10047
10375
  const explicitPair = state.tag !== null && state.tag !== "?" || state.dump && state.dump.length > 1024;
10048
- if (explicitPair)
10049
- if (state.dump && CHAR_LINE_FEED === state.dump.charCodeAt(0))
10376
+ if (explicitPair) {
10377
+ if (state.dump && CHAR_LINE_FEED === state.dump.charCodeAt(0)) {
10050
10378
  pairBuffer += "?";
10051
- else
10379
+ } else {
10052
10380
  pairBuffer += "? ";
10381
+ }
10382
+ }
10053
10383
  pairBuffer += state.dump;
10054
- if (explicitPair)
10384
+ if (explicitPair) {
10055
10385
  pairBuffer += generateNextLine(state, level);
10056
- if (!writeNode(state, level + 1, objectValue, true, explicitPair))
10386
+ }
10387
+ if (!writeNode(state, level + 1, objectValue, true, explicitPair)) {
10057
10388
  continue;
10058
- if (state.dump && CHAR_LINE_FEED === state.dump.charCodeAt(0))
10389
+ }
10390
+ if (state.dump && CHAR_LINE_FEED === state.dump.charCodeAt(0)) {
10059
10391
  pairBuffer += ":";
10060
- else
10392
+ } else {
10061
10393
  pairBuffer += ": ";
10394
+ }
10062
10395
  pairBuffer += state.dump;
10063
10396
  _result += pairBuffer;
10064
10397
  }
@@ -10068,24 +10401,27 @@ var require_dumper = /* @__PURE__ */ __commonJSMin((exports, module) => {
10068
10401
  function detectType(state, object, explicit) {
10069
10402
  const typeList = explicit ? state.explicitTypes : state.implicitTypes;
10070
10403
  for (let index = 0, length = typeList.length;index < length; index += 1) {
10071
- const type = typeList[index];
10072
- if ((type.instanceOf || type.predicate) && (!type.instanceOf || typeof object === "object" && object instanceof type.instanceOf) && (!type.predicate || type.predicate(object))) {
10073
- if (explicit)
10074
- if (type.multi && type.representName)
10075
- state.tag = type.representName(object);
10076
- else
10077
- state.tag = type.tag;
10078
- else
10404
+ const type2 = typeList[index];
10405
+ if ((type2.instanceOf || type2.predicate) && (!type2.instanceOf || typeof object === "object" && object instanceof type2.instanceOf) && (!type2.predicate || type2.predicate(object))) {
10406
+ if (explicit) {
10407
+ if (type2.multi && type2.representName) {
10408
+ state.tag = type2.representName(object);
10409
+ } else {
10410
+ state.tag = type2.tag;
10411
+ }
10412
+ } else {
10079
10413
  state.tag = "?";
10080
- if (type.represent) {
10081
- const style = state.styleMap[type.tag] || type.defaultStyle;
10414
+ }
10415
+ if (type2.represent) {
10416
+ const style = state.styleMap[type2.tag] || type2.defaultStyle;
10082
10417
  let _result;
10083
- if (_toString.call(type.represent) === "[object Function]")
10084
- _result = type.represent(object, style);
10085
- else if (_hasOwnProperty.call(type.represent, style))
10086
- _result = type.represent[style](object, style);
10087
- else
10088
- throw new YAMLException("!<" + type.tag + '> tag resolver accepts not "' + style + '" style');
10418
+ if (_toString.call(type2.represent) === "[object Function]") {
10419
+ _result = type2.represent(object, style);
10420
+ } else if (_hasOwnProperty.call(type2.represent, style)) {
10421
+ _result = type2.represent[style](object, style);
10422
+ } else {
10423
+ throw new YAMLException2("!<" + type2.tag + '> tag resolver accepts not "' + style + '" style');
10424
+ }
10089
10425
  state.dump = _result;
10090
10426
  }
10091
10427
  return true;
@@ -10096,67 +10432,78 @@ var require_dumper = /* @__PURE__ */ __commonJSMin((exports, module) => {
10096
10432
  function writeNode(state, level, object, block, compact, iskey, isblockseq) {
10097
10433
  state.tag = null;
10098
10434
  state.dump = object;
10099
- if (!detectType(state, object, false))
10435
+ if (!detectType(state, object, false)) {
10100
10436
  detectType(state, object, true);
10101
- const type = _toString.call(state.dump);
10437
+ }
10438
+ const type2 = _toString.call(state.dump);
10102
10439
  const inblock = block;
10103
- if (block)
10440
+ if (block) {
10104
10441
  block = state.flowLevel < 0 || state.flowLevel > level;
10105
- const objectOrArray = type === "[object Object]" || type === "[object Array]";
10442
+ }
10443
+ const objectOrArray = type2 === "[object Object]" || type2 === "[object Array]";
10106
10444
  let duplicateIndex;
10107
10445
  let duplicate;
10108
10446
  if (objectOrArray) {
10109
10447
  duplicateIndex = state.duplicates.indexOf(object);
10110
10448
  duplicate = duplicateIndex !== -1;
10111
10449
  }
10112
- if (state.tag !== null && state.tag !== "?" || duplicate || state.indent !== 2 && level > 0)
10450
+ if (state.tag !== null && state.tag !== "?" || duplicate || state.indent !== 2 && level > 0) {
10113
10451
  compact = false;
10114
- if (duplicate && state.usedDuplicates[duplicateIndex])
10452
+ }
10453
+ if (duplicate && state.usedDuplicates[duplicateIndex]) {
10115
10454
  state.dump = "*ref_" + duplicateIndex;
10116
- else {
10117
- if (objectOrArray && duplicate && !state.usedDuplicates[duplicateIndex])
10455
+ } else {
10456
+ if (objectOrArray && duplicate && !state.usedDuplicates[duplicateIndex]) {
10118
10457
  state.usedDuplicates[duplicateIndex] = true;
10119
- if (type === "[object Object]")
10458
+ }
10459
+ if (type2 === "[object Object]") {
10120
10460
  if (block && Object.keys(state.dump).length !== 0) {
10121
10461
  writeBlockMapping(state, level, state.dump, compact);
10122
- if (duplicate)
10462
+ if (duplicate) {
10123
10463
  state.dump = "&ref_" + duplicateIndex + state.dump;
10464
+ }
10124
10465
  } else {
10125
10466
  writeFlowMapping(state, level, state.dump);
10126
- if (duplicate)
10467
+ if (duplicate) {
10127
10468
  state.dump = "&ref_" + duplicateIndex + " " + state.dump;
10469
+ }
10128
10470
  }
10129
- else if (type === "[object Array]")
10471
+ } else if (type2 === "[object Array]") {
10130
10472
  if (block && state.dump.length !== 0) {
10131
- if (state.noArrayIndent && !isblockseq && level > 0)
10473
+ if (state.noArrayIndent && !isblockseq && level > 0) {
10132
10474
  writeBlockSequence(state, level - 1, state.dump, compact);
10133
- else
10475
+ } else {
10134
10476
  writeBlockSequence(state, level, state.dump, compact);
10135
- if (duplicate)
10477
+ }
10478
+ if (duplicate) {
10136
10479
  state.dump = "&ref_" + duplicateIndex + state.dump;
10480
+ }
10137
10481
  } else {
10138
10482
  writeFlowSequence(state, level, state.dump);
10139
- if (duplicate)
10483
+ if (duplicate) {
10140
10484
  state.dump = "&ref_" + duplicateIndex + " " + state.dump;
10485
+ }
10141
10486
  }
10142
- else if (type === "[object String]") {
10143
- if (state.tag !== "?")
10487
+ } else if (type2 === "[object String]") {
10488
+ if (state.tag !== "?") {
10144
10489
  writeScalar(state, state.dump, level, iskey, inblock);
10145
- } else if (type === "[object Undefined]")
10490
+ }
10491
+ } else if (type2 === "[object Undefined]") {
10146
10492
  return false;
10147
- else {
10493
+ } else {
10148
10494
  if (state.skipInvalid)
10149
10495
  return false;
10150
- throw new YAMLException("unacceptable kind of an object to dump " + type);
10496
+ throw new YAMLException2("unacceptable kind of an object to dump " + type2);
10151
10497
  }
10152
10498
  if (state.tag !== null && state.tag !== "?") {
10153
10499
  let tagStr = encodeURI(state.tag[0] === "!" ? state.tag.slice(1) : state.tag).replace(/!/g, "%21");
10154
- if (state.tag[0] === "!")
10500
+ if (state.tag[0] === "!") {
10155
10501
  tagStr = "!" + tagStr;
10156
- else if (tagStr.slice(0, 18) === "tag:yaml.org,2002:")
10502
+ } else if (tagStr.slice(0, 18) === "tag:yaml.org,2002:") {
10157
10503
  tagStr = "!!" + tagStr.slice(18);
10158
- else
10504
+ } else {
10159
10505
  tagStr = "!<" + tagStr + ">";
10506
+ }
10160
10507
  state.dump = tagStr + " " + state.dump;
10161
10508
  }
10162
10509
  }
@@ -10167,83 +10514,110 @@ var require_dumper = /* @__PURE__ */ __commonJSMin((exports, module) => {
10167
10514
  const duplicatesIndexes = [];
10168
10515
  inspectNode(object, objects, duplicatesIndexes);
10169
10516
  const length = duplicatesIndexes.length;
10170
- for (let index = 0;index < length; index += 1)
10517
+ for (let index = 0;index < length; index += 1) {
10171
10518
  state.duplicates.push(objects[duplicatesIndexes[index]]);
10519
+ }
10172
10520
  state.usedDuplicates = new Array(length);
10173
10521
  }
10174
10522
  function inspectNode(object, objects, duplicatesIndexes) {
10175
10523
  if (object !== null && typeof object === "object") {
10176
10524
  const index = objects.indexOf(object);
10177
10525
  if (index !== -1) {
10178
- if (duplicatesIndexes.indexOf(index) === -1)
10526
+ if (duplicatesIndexes.indexOf(index) === -1) {
10179
10527
  duplicatesIndexes.push(index);
10528
+ }
10180
10529
  } else {
10181
10530
  objects.push(object);
10182
- if (Array.isArray(object))
10183
- for (let i = 0, length = object.length;i < length; i += 1)
10531
+ if (Array.isArray(object)) {
10532
+ for (let i = 0, length = object.length;i < length; i += 1) {
10184
10533
  inspectNode(object[i], objects, duplicatesIndexes);
10185
- else {
10534
+ }
10535
+ } else {
10186
10536
  const objectKeyList = Object.keys(object);
10187
- for (let i = 0, length = objectKeyList.length;i < length; i += 1)
10537
+ for (let i = 0, length = objectKeyList.length;i < length; i += 1) {
10188
10538
  inspectNode(object[objectKeyList[i]], objects, duplicatesIndexes);
10539
+ }
10189
10540
  }
10190
10541
  }
10191
10542
  }
10192
10543
  }
10193
- function dump(input, options) {
10544
+ function dump2(input, options) {
10194
10545
  options = options || {};
10195
10546
  const state = new State(options);
10196
10547
  if (!state.noRefs)
10197
10548
  getDuplicateReferences(input, state);
10198
10549
  let value = input;
10199
- if (state.replacer)
10550
+ if (state.replacer) {
10200
10551
  value = state.replacer.call({ "": value }, "", value);
10552
+ }
10201
10553
  if (writeNode(state, 0, value, true, true))
10202
10554
  return state.dump + `
10203
10555
  `;
10204
10556
  return "";
10205
10557
  }
10206
- module.exports.dump = dump;
10207
- });
10208
- var import_js_yaml = /* @__PURE__ */ __toESM2((/* @__PURE__ */ __commonJSMin((exports, module) => {
10209
- var loader = require_loader();
10210
- var dumper = require_dumper();
10558
+ dumper.dump = dump2;
10559
+ return dumper;
10560
+ }
10561
+ var hasRequiredJsYaml;
10562
+ function requireJsYaml() {
10563
+ if (hasRequiredJsYaml)
10564
+ return jsYaml;
10565
+ hasRequiredJsYaml = 1;
10566
+ const loader2 = requireLoader();
10567
+ const dumper2 = requireDumper();
10211
10568
  function renamed(from, to) {
10212
10569
  return function() {
10213
10570
  throw new Error("Function yaml." + from + " is removed in js-yaml 4. Use yaml." + to + " instead, which is now safe by default.");
10214
10571
  };
10215
10572
  }
10216
- module.exports.Type = require_type();
10217
- module.exports.Schema = require_schema();
10218
- module.exports.FAILSAFE_SCHEMA = require_failsafe();
10219
- module.exports.JSON_SCHEMA = require_json();
10220
- module.exports.CORE_SCHEMA = require_core();
10221
- module.exports.DEFAULT_SCHEMA = require_default();
10222
- module.exports.load = loader.load;
10223
- module.exports.loadAll = loader.loadAll;
10224
- module.exports.dump = dumper.dump;
10225
- module.exports.YAMLException = require_exception();
10226
- module.exports.types = {
10227
- binary: require_binary(),
10228
- float: require_float(),
10229
- map: require_map(),
10573
+ jsYaml.Type = requireType();
10574
+ jsYaml.Schema = requireSchema();
10575
+ jsYaml.FAILSAFE_SCHEMA = requireFailsafe();
10576
+ jsYaml.JSON_SCHEMA = requireJson();
10577
+ jsYaml.CORE_SCHEMA = requireCore();
10578
+ jsYaml.DEFAULT_SCHEMA = require_default();
10579
+ jsYaml.load = loader2.load;
10580
+ jsYaml.loadAll = loader2.loadAll;
10581
+ jsYaml.dump = dumper2.dump;
10582
+ jsYaml.YAMLException = requireException();
10583
+ jsYaml.types = {
10584
+ binary: requireBinary(),
10585
+ float: requireFloat(),
10586
+ map: requireMap(),
10230
10587
  null: require_null(),
10231
- pairs: require_pairs(),
10232
- set: require_set(),
10233
- timestamp: require_timestamp(),
10234
- bool: require_bool(),
10235
- int: require_int(),
10236
- merge: require_merge(),
10237
- omap: require_omap(),
10238
- seq: require_seq(),
10239
- str: require_str()
10240
- };
10241
- module.exports.safeLoad = renamed("safeLoad", "load");
10242
- module.exports.safeLoadAll = renamed("safeLoadAll", "loadAll");
10243
- module.exports.safeDump = renamed("safeDump", "dump");
10244
- }))(), 1);
10245
- var { Type, Schema, FAILSAFE_SCHEMA, JSON_SCHEMA, CORE_SCHEMA, DEFAULT_SCHEMA, load, loadAll, dump, YAMLException, types, safeLoad, safeLoadAll, safeDump } = import_js_yaml.default;
10246
- var index_vite_proxy_tmp_default = import_js_yaml.default;
10588
+ pairs: requirePairs(),
10589
+ set: requireSet(),
10590
+ timestamp: requireTimestamp(),
10591
+ bool: requireBool(),
10592
+ int: requireInt(),
10593
+ merge: requireMerge(),
10594
+ omap: requireOmap(),
10595
+ seq: requireSeq(),
10596
+ str: requireStr()
10597
+ };
10598
+ jsYaml.safeLoad = renamed("safeLoad", "load");
10599
+ jsYaml.safeLoadAll = renamed("safeLoadAll", "loadAll");
10600
+ jsYaml.safeDump = renamed("safeDump", "dump");
10601
+ return jsYaml;
10602
+ }
10603
+ var jsYamlExports = requireJsYaml();
10604
+ var yaml = /* @__PURE__ */ getDefaultExportFromCjs(jsYamlExports);
10605
+ var {
10606
+ Type,
10607
+ Schema,
10608
+ FAILSAFE_SCHEMA,
10609
+ JSON_SCHEMA,
10610
+ CORE_SCHEMA,
10611
+ DEFAULT_SCHEMA,
10612
+ load,
10613
+ loadAll,
10614
+ dump,
10615
+ YAMLException,
10616
+ types,
10617
+ safeLoad,
10618
+ safeLoadAll,
10619
+ safeDump
10620
+ } = yaml;
10247
10621
 
10248
10622
  // ../common/src/logger.ts
10249
10623
  var logFilePathSlot = singleton("logFilePath");
@@ -10319,11 +10693,11 @@ class SimpleLogger {
10319
10693
  const path3 = this.logFilePath || getGlobalLogFilePath();
10320
10694
  if (!path3)
10321
10695
  return;
10322
- const timestamp = new Date().toISOString();
10696
+ const timestamp2 = new Date().toISOString();
10323
10697
  this.pendingWrites = Promise.all([
10324
10698
  this.pendingWrites,
10325
10699
  this.pendingInit
10326
- ]).then(() => getFileSystem().appendFile(path3, `${timestamp} ${formatted}`).catch(() => {}));
10700
+ ]).then(() => getFileSystem().appendFile(path3, `${timestamp2} ${formatted}`).catch(() => {}));
10327
10701
  }
10328
10702
  debug(message, ...args) {
10329
10703
  if (this.level > 0 /* DEBUG */)
@@ -10717,10 +11091,10 @@ class LoggerTelemetryProvider {
10717
11091
  success
10718
11092
  })));
10719
11093
  }
10720
- async trackDependency(name, type, duration, success, properties) {
11094
+ async trackDependency(name, type2, duration, success, properties) {
10721
11095
  logger.debug(formatMessage("Dependency", name, this.enrich({
10722
11096
  ...properties,
10723
- type,
11097
+ type: type2,
10724
11098
  duration: `${duration}ms`,
10725
11099
  success
10726
11100
  })));
@@ -10947,7 +11321,7 @@ class TelemetryService {
10947
11321
  throw error;
10948
11322
  }
10949
11323
  }
10950
- async trackDependencyOperation(name, type, fn, properties) {
11324
+ async trackDependencyOperation(name, type2, fn, properties) {
10951
11325
  const parentContext = this.getCurrentContext();
10952
11326
  if (!parentContext) {
10953
11327
  throw new Error("trackDependencyOperation must be called within a trackRequest block.");
@@ -10962,13 +11336,13 @@ class TelemetryService {
10962
11336
  const result = await this.contextStorage.run(childContext, fn);
10963
11337
  const durationMs = performance.now() - startTime;
10964
11338
  const enrichedProperties = this.enrichPropertiesWithContext(properties, childContext);
10965
- await this.telemetryProvider.trackDependency(name, type, durationMs, true, enrichedProperties);
11339
+ await this.telemetryProvider.trackDependency(name, type2, durationMs, true, enrichedProperties);
10966
11340
  return result;
10967
11341
  } catch (error) {
10968
11342
  const durationMs = performance.now() - startTime;
10969
11343
  const err = error instanceof Error ? error : new Error(String(error));
10970
11344
  const enrichedProperties = this.enrichPropertiesWithContext({ ...properties, errorMessage: err.message }, childContext);
10971
- await this.telemetryProvider.trackDependency(name, type, durationMs, false, enrichedProperties);
11345
+ await this.telemetryProvider.trackDependency(name, type2, durationMs, false, enrichedProperties);
10972
11346
  throw error;
10973
11347
  }
10974
11348
  }
@@ -11175,8 +11549,8 @@ function printOutput(data, format = "json", logFn, asciiSafe = false) {
11175
11549
  }
11176
11550
  switch (format) {
11177
11551
  case "json": {
11178
- const json = JSON.stringify(data, null, 2);
11179
- logFn(asciiSafe ? escapeNonAscii(json) : json);
11552
+ const json2 = JSON.stringify(data, null, 2);
11553
+ logFn(asciiSafe ? escapeNonAscii(json2) : json2);
11180
11554
  break;
11181
11555
  }
11182
11556
  case "yaml":
@@ -11512,8 +11886,8 @@ var OutputFormatter;
11512
11886
  const sink = getOutputSink();
11513
11887
  const normalized = toPascalCaseData(data);
11514
11888
  if (format === "json") {
11515
- const json = JSON.stringify(normalized);
11516
- const safe = needsAsciiSafeJson(sink) ? escapeNonAscii(json) : json;
11889
+ const json2 = JSON.stringify(normalized);
11890
+ const safe = needsAsciiSafeJson(sink) ? escapeNonAscii(json2) : json2;
11517
11891
  sink.writeErr(`${safe}
11518
11892
  `);
11519
11893
  } else {
@@ -11763,8 +12137,8 @@ function redactValueDetectors(value) {
11763
12137
  out = out.replace(JWT_PATTERN, () => REDACTED);
11764
12138
  out = out.replace(URL_PATTERN, (match) => {
11765
12139
  const trailing = match.match(URL_TRAILING_PUNCT)?.[0] ?? "";
11766
- const core = trailing ? match.slice(0, -trailing.length) : match;
11767
- return `${redactUrl(core)}${trailing}`;
12140
+ const core2 = trailing ? match.slice(0, -trailing.length) : match;
12141
+ return `${redactUrl(core2)}${trailing}`;
11768
12142
  });
11769
12143
  out = out.replace(USER_HOME_PATTERN, (_match, sep1, folder, sep2) => `${sep1}${folder}${sep2}<user>`);
11770
12144
  out = out.replace(EMAIL_PATTERN, (match) => `email#${shortHash(match)}`);
@@ -12948,17 +13322,17 @@ try {
12948
13322
  td.decode(et, { stream: true });
12949
13323
  tds = 1;
12950
13324
  } catch (e) {}
12951
- function strToU8(str, latin1) {
13325
+ function strToU8(str2, latin1) {
12952
13326
  if (latin1) {
12953
- var ar_1 = new u8(str.length);
12954
- for (var i2 = 0;i2 < str.length; ++i2)
12955
- ar_1[i2] = str.charCodeAt(i2);
13327
+ var ar_1 = new u8(str2.length);
13328
+ for (var i2 = 0;i2 < str2.length; ++i2)
13329
+ ar_1[i2] = str2.charCodeAt(i2);
12956
13330
  return ar_1;
12957
13331
  }
12958
13332
  if (te)
12959
- return te.encode(str);
12960
- var l = str.length;
12961
- var ar = new u8(str.length + (str.length >> 1));
13333
+ return te.encode(str2);
13334
+ var l = str2.length;
13335
+ var ar = new u8(str2.length + (str2.length >> 1));
12962
13336
  var ai = 0;
12963
13337
  var w = function(v) {
12964
13338
  ar[ai++] = v;
@@ -12969,13 +13343,13 @@ function strToU8(str, latin1) {
12969
13343
  n.set(ar);
12970
13344
  ar = n;
12971
13345
  }
12972
- var c = str.charCodeAt(i2);
13346
+ var c = str2.charCodeAt(i2);
12973
13347
  if (c < 128 || latin1)
12974
13348
  w(c);
12975
13349
  else if (c < 2048)
12976
13350
  w(192 | c >> 6), w(128 | c & 63);
12977
13351
  else if (c > 55295 && c < 57344)
12978
- c = 65536 + (c & 1023 << 10) | str.charCodeAt(++i2) & 1023, w(240 | c >> 18), w(128 | c >> 12 & 63), w(128 | c >> 6 & 63), w(128 | c & 63);
13352
+ c = 65536 + (c & 1023 << 10) | str2.charCodeAt(++i2) & 1023, w(240 | c >> 18), w(128 | c >> 12 & 63), w(128 | c >> 6 & 63), w(128 | c & 63);
12979
13353
  else
12980
13354
  w(224 | c >> 12), w(128 | c >> 6 & 63), w(128 | c & 63);
12981
13355
  }
@@ -13631,731 +14005,731 @@ class JSONApiResponse2 {
13631
14005
  }
13632
14006
  }
13633
14007
  // ../studioweb-sdk/generated/src/models/AccessStatus.ts
13634
- function AccessStatusFromJSON(json) {
13635
- return AccessStatusFromJSONTyped(json, false);
14008
+ function AccessStatusFromJSON(json2) {
14009
+ return AccessStatusFromJSONTyped(json2, false);
13636
14010
  }
13637
- function AccessStatusFromJSONTyped(json, ignoreDiscriminator) {
13638
- return json;
14011
+ function AccessStatusFromJSONTyped(json2, ignoreDiscriminator) {
14012
+ return json2;
13639
14013
  }
13640
14014
  // ../studioweb-sdk/generated/src/models/PinnedProject.ts
13641
- function PinnedProjectFromJSON(json) {
13642
- return PinnedProjectFromJSONTyped(json, false);
14015
+ function PinnedProjectFromJSON(json2) {
14016
+ return PinnedProjectFromJSONTyped(json2, false);
13643
14017
  }
13644
- function PinnedProjectFromJSONTyped(json, ignoreDiscriminator) {
13645
- if (json == null) {
13646
- return json;
14018
+ function PinnedProjectFromJSONTyped(json2, ignoreDiscriminator) {
14019
+ if (json2 == null) {
14020
+ return json2;
13647
14021
  }
13648
14022
  return {
13649
- id: json["id"] == null ? undefined : json["id"],
13650
- projectDbModelId: json["projectDbModelId"] == null ? undefined : json["projectDbModelId"],
13651
- userId: json["userId"] == null ? undefined : json["userId"],
13652
- creationTime: json["creationTime"] == null ? undefined : new Date(json["creationTime"]),
13653
- project: json["project"] == null ? undefined : ProjectDbModelFromJSON(json["project"])
14023
+ id: json2["id"] == null ? undefined : json2["id"],
14024
+ projectDbModelId: json2["projectDbModelId"] == null ? undefined : json2["projectDbModelId"],
14025
+ userId: json2["userId"] == null ? undefined : json2["userId"],
14026
+ creationTime: json2["creationTime"] == null ? undefined : new Date(json2["creationTime"]),
14027
+ project: json2["project"] == null ? undefined : ProjectDbModelFromJSON(json2["project"])
13654
14028
  };
13655
14029
  }
13656
14030
 
13657
14031
  // ../studioweb-sdk/generated/src/models/ProjectStructure.ts
13658
- function ProjectStructureFromJSON(json) {
13659
- return ProjectStructureFromJSONTyped(json, false);
14032
+ function ProjectStructureFromJSON(json2) {
14033
+ return ProjectStructureFromJSONTyped(json2, false);
13660
14034
  }
13661
- function ProjectStructureFromJSONTyped(json, ignoreDiscriminator) {
13662
- return json;
14035
+ function ProjectStructureFromJSONTyped(json2, ignoreDiscriminator) {
14036
+ return json2;
13663
14037
  }
13664
14038
 
13665
14039
  // ../studioweb-sdk/generated/src/models/ProjectAppliedProfileModel.ts
13666
- function ProjectAppliedProfileModelFromJSON(json) {
13667
- return ProjectAppliedProfileModelFromJSONTyped(json, false);
14040
+ function ProjectAppliedProfileModelFromJSON(json2) {
14041
+ return ProjectAppliedProfileModelFromJSONTyped(json2, false);
13668
14042
  }
13669
- function ProjectAppliedProfileModelFromJSONTyped(json, ignoreDiscriminator) {
13670
- if (json == null) {
13671
- return json;
14043
+ function ProjectAppliedProfileModelFromJSONTyped(json2, ignoreDiscriminator) {
14044
+ if (json2 == null) {
14045
+ return json2;
13672
14046
  }
13673
14047
  return {
13674
- projectId: json["projectId"] == null ? undefined : json["projectId"],
13675
- workflowId: json["workflowId"] == null ? undefined : json["workflowId"],
13676
- userProfileId: json["userProfileId"] == null ? undefined : json["userProfileId"],
13677
- project: json["project"] == null ? undefined : ProjectDbModelFromJSON(json["project"]),
13678
- profile: json["profile"] == null ? undefined : UserBindingProfileModelFromJSON(json["profile"])
14048
+ projectId: json2["projectId"] == null ? undefined : json2["projectId"],
14049
+ workflowId: json2["workflowId"] == null ? undefined : json2["workflowId"],
14050
+ userProfileId: json2["userProfileId"] == null ? undefined : json2["userProfileId"],
14051
+ project: json2["project"] == null ? undefined : ProjectDbModelFromJSON(json2["project"]),
14052
+ profile: json2["profile"] == null ? undefined : UserBindingProfileModelFromJSON(json2["profile"])
13679
14053
  };
13680
14054
  }
13681
14055
 
13682
14056
  // ../studioweb-sdk/generated/src/models/PropertyBindingModel.ts
13683
- function PropertyBindingModelFromJSON(json) {
13684
- return PropertyBindingModelFromJSONTyped(json, false);
14057
+ function PropertyBindingModelFromJSON(json2) {
14058
+ return PropertyBindingModelFromJSONTyped(json2, false);
13685
14059
  }
13686
- function PropertyBindingModelFromJSONTyped(json, ignoreDiscriminator) {
13687
- if (json == null) {
13688
- return json;
14060
+ function PropertyBindingModelFromJSONTyped(json2, ignoreDiscriminator) {
14061
+ if (json2 == null) {
14062
+ return json2;
13689
14063
  }
13690
14064
  return {
13691
- id: json["id"] == null ? undefined : json["id"],
13692
- profileId: json["profileId"] == null ? undefined : json["profileId"],
13693
- workflowId: json["workflowId"] == null ? undefined : json["workflowId"],
13694
- activityIdRef: json["activityIdRef"] == null ? undefined : json["activityIdRef"],
13695
- propertyName: json["propertyName"] == null ? undefined : json["propertyName"],
13696
- contractName: json["contractName"] == null ? undefined : json["contractName"],
13697
- resourceKey: json["resourceKey"] == null ? undefined : json["resourceKey"],
13698
- propertyValue: json["propertyValue"] == null ? undefined : json["propertyValue"],
13699
- profile: json["profile"] == null ? undefined : UserBindingProfileModelFromJSON(json["profile"])
14065
+ id: json2["id"] == null ? undefined : json2["id"],
14066
+ profileId: json2["profileId"] == null ? undefined : json2["profileId"],
14067
+ workflowId: json2["workflowId"] == null ? undefined : json2["workflowId"],
14068
+ activityIdRef: json2["activityIdRef"] == null ? undefined : json2["activityIdRef"],
14069
+ propertyName: json2["propertyName"] == null ? undefined : json2["propertyName"],
14070
+ contractName: json2["contractName"] == null ? undefined : json2["contractName"],
14071
+ resourceKey: json2["resourceKey"] == null ? undefined : json2["resourceKey"],
14072
+ propertyValue: json2["propertyValue"] == null ? undefined : json2["propertyValue"],
14073
+ profile: json2["profile"] == null ? undefined : UserBindingProfileModelFromJSON(json2["profile"])
13700
14074
  };
13701
14075
  }
13702
14076
 
13703
14077
  // ../studioweb-sdk/generated/src/models/UserBindingProfileModel.ts
13704
- function UserBindingProfileModelFromJSON(json) {
13705
- return UserBindingProfileModelFromJSONTyped3(json, false);
14078
+ function UserBindingProfileModelFromJSON(json2) {
14079
+ return UserBindingProfileModelFromJSONTyped3(json2, false);
13706
14080
  }
13707
- function UserBindingProfileModelFromJSONTyped3(json, ignoreDiscriminator) {
13708
- if (json == null) {
13709
- return json;
14081
+ function UserBindingProfileModelFromJSONTyped3(json2, ignoreDiscriminator) {
14082
+ if (json2 == null) {
14083
+ return json2;
13710
14084
  }
13711
14085
  return {
13712
- id: json["id"] == null ? undefined : json["id"],
13713
- userId: json["userId"] == null ? undefined : json["userId"],
13714
- tenantId: json["tenantId"] == null ? undefined : json["tenantId"],
13715
- projectId: json["projectId"] == null ? undefined : json["projectId"],
13716
- workflowId: json["workflowId"] == null ? undefined : json["workflowId"],
13717
- bindingsJson: json["bindingsJson"] == null ? undefined : json["bindingsJson"],
13718
- userPropertyBindings: json["userPropertyBindings"] == null ? undefined : json["userPropertyBindings"].map(PropertyBindingModelFromJSON),
13719
- project: json["project"] == null ? undefined : ProjectDbModelFromJSON(json["project"]),
13720
- appliedTo: json["appliedTo"] == null ? undefined : ProjectAppliedProfileModelFromJSON(json["appliedTo"])
14086
+ id: json2["id"] == null ? undefined : json2["id"],
14087
+ userId: json2["userId"] == null ? undefined : json2["userId"],
14088
+ tenantId: json2["tenantId"] == null ? undefined : json2["tenantId"],
14089
+ projectId: json2["projectId"] == null ? undefined : json2["projectId"],
14090
+ workflowId: json2["workflowId"] == null ? undefined : json2["workflowId"],
14091
+ bindingsJson: json2["bindingsJson"] == null ? undefined : json2["bindingsJson"],
14092
+ userPropertyBindings: json2["userPropertyBindings"] == null ? undefined : json2["userPropertyBindings"].map(PropertyBindingModelFromJSON),
14093
+ project: json2["project"] == null ? undefined : ProjectDbModelFromJSON(json2["project"]),
14094
+ appliedTo: json2["appliedTo"] == null ? undefined : ProjectAppliedProfileModelFromJSON(json2["appliedTo"])
13721
14095
  };
13722
14096
  }
13723
14097
 
13724
14098
  // ../studioweb-sdk/generated/src/models/ProjectAppModel.ts
13725
- function ProjectAppModelFromJSON(json) {
13726
- return ProjectAppModelFromJSONTyped(json, false);
14099
+ function ProjectAppModelFromJSON(json2) {
14100
+ return ProjectAppModelFromJSONTyped(json2, false);
13727
14101
  }
13728
- function ProjectAppModelFromJSONTyped(json, ignoreDiscriminator) {
13729
- if (json == null) {
13730
- return json;
14102
+ function ProjectAppModelFromJSONTyped(json2, ignoreDiscriminator) {
14103
+ if (json2 == null) {
14104
+ return json2;
13731
14105
  }
13732
14106
  return {
13733
- id: json["id"] == null ? undefined : json["id"],
13734
- projectId: json["projectId"] == null ? undefined : json["projectId"],
13735
- appId: json["appId"] == null ? undefined : json["appId"],
13736
- isFileSystemEnabled: json["isFileSystemEnabled"] == null ? undefined : json["isFileSystemEnabled"],
13737
- project: json["project"] == null ? undefined : ProjectDbModelFromJSON(json["project"])
14107
+ id: json2["id"] == null ? undefined : json2["id"],
14108
+ projectId: json2["projectId"] == null ? undefined : json2["projectId"],
14109
+ appId: json2["appId"] == null ? undefined : json2["appId"],
14110
+ isFileSystemEnabled: json2["isFileSystemEnabled"] == null ? undefined : json2["isFileSystemEnabled"],
14111
+ project: json2["project"] == null ? undefined : ProjectDbModelFromJSON(json2["project"])
13738
14112
  };
13739
14113
  }
13740
14114
 
13741
14115
  // ../studioweb-sdk/generated/src/models/ProjectLockModel.ts
13742
- function ProjectLockModelFromJSON(json) {
13743
- return ProjectLockModelFromJSONTyped(json, false);
14116
+ function ProjectLockModelFromJSON(json2) {
14117
+ return ProjectLockModelFromJSONTyped(json2, false);
13744
14118
  }
13745
- function ProjectLockModelFromJSONTyped(json, ignoreDiscriminator) {
13746
- if (json == null) {
13747
- return json;
14119
+ function ProjectLockModelFromJSONTyped(json2, ignoreDiscriminator) {
14120
+ if (json2 == null) {
14121
+ return json2;
13748
14122
  }
13749
14123
  return {
13750
- projectId: json["projectId"] == null ? undefined : json["projectId"],
13751
- key: json["key"] == null ? undefined : json["key"],
13752
- userId: json["userId"] == null ? undefined : json["userId"],
13753
- expirationDate: json["expirationDate"] == null ? undefined : new Date(json["expirationDate"]),
13754
- rowVersion: json["rowVersion"] == null ? undefined : json["rowVersion"],
13755
- project: json["project"] == null ? undefined : ProjectDbModelFromJSON(json["project"]),
13756
- solutionId: json["solutionId"] == null ? undefined : json["solutionId"]
14124
+ projectId: json2["projectId"] == null ? undefined : json2["projectId"],
14125
+ key: json2["key"] == null ? undefined : json2["key"],
14126
+ userId: json2["userId"] == null ? undefined : json2["userId"],
14127
+ expirationDate: json2["expirationDate"] == null ? undefined : new Date(json2["expirationDate"]),
14128
+ rowVersion: json2["rowVersion"] == null ? undefined : json2["rowVersion"],
14129
+ project: json2["project"] == null ? undefined : ProjectDbModelFromJSON(json2["project"]),
14130
+ solutionId: json2["solutionId"] == null ? undefined : json2["solutionId"]
13757
14131
  };
13758
14132
  }
13759
14133
 
13760
14134
  // ../studioweb-sdk/generated/src/models/TestManagerMetadataModel.ts
13761
- function TestManagerMetadataModelFromJSON(json) {
13762
- return TestManagerMetadataModelFromJSONTyped(json, false);
14135
+ function TestManagerMetadataModelFromJSON(json2) {
14136
+ return TestManagerMetadataModelFromJSONTyped(json2, false);
13763
14137
  }
13764
- function TestManagerMetadataModelFromJSONTyped(json, ignoreDiscriminator) {
13765
- if (json == null) {
13766
- return json;
14138
+ function TestManagerMetadataModelFromJSONTyped(json2, ignoreDiscriminator) {
14139
+ if (json2 == null) {
14140
+ return json2;
13767
14141
  }
13768
14142
  return {
13769
- id: json["id"] == null ? undefined : json["id"],
13770
- studioWebProjectId: json["studioWebProjectId"] == null ? undefined : json["studioWebProjectId"],
13771
- project: json["project"] == null ? undefined : ProjectDbModelFromJSON(json["project"]),
13772
- testManagerProjectId: json["testManagerProjectId"] == null ? undefined : json["testManagerProjectId"],
13773
- creationTime: json["creationTime"] == null ? undefined : new Date(json["creationTime"])
14143
+ id: json2["id"] == null ? undefined : json2["id"],
14144
+ studioWebProjectId: json2["studioWebProjectId"] == null ? undefined : json2["studioWebProjectId"],
14145
+ project: json2["project"] == null ? undefined : ProjectDbModelFromJSON(json2["project"]),
14146
+ testManagerProjectId: json2["testManagerProjectId"] == null ? undefined : json2["testManagerProjectId"],
14147
+ creationTime: json2["creationTime"] == null ? undefined : new Date(json2["creationTime"])
13774
14148
  };
13775
14149
  }
13776
14150
 
13777
14151
  // ../studioweb-sdk/generated/src/models/TargetFramework.ts
13778
- function TargetFrameworkFromJSON(json) {
13779
- return TargetFrameworkFromJSONTyped(json, false);
14152
+ function TargetFrameworkFromJSON(json2) {
14153
+ return TargetFrameworkFromJSONTyped(json2, false);
13780
14154
  }
13781
- function TargetFrameworkFromJSONTyped(json, ignoreDiscriminator) {
13782
- return json;
14155
+ function TargetFrameworkFromJSONTyped(json2, ignoreDiscriminator) {
14156
+ return json2;
13783
14157
  }
13784
14158
 
13785
14159
  // ../studioweb-sdk/generated/src/models/ProjectStatus.ts
13786
- function ProjectStatusFromJSON(json) {
13787
- return ProjectStatusFromJSONTyped(json, false);
14160
+ function ProjectStatusFromJSON(json2) {
14161
+ return ProjectStatusFromJSONTyped(json2, false);
13788
14162
  }
13789
- function ProjectStatusFromJSONTyped(json, ignoreDiscriminator) {
13790
- return json;
14163
+ function ProjectStatusFromJSONTyped(json2, ignoreDiscriminator) {
14164
+ return json2;
13791
14165
  }
13792
14166
 
13793
14167
  // ../studioweb-sdk/generated/src/models/SharingPermissions.ts
13794
- function SharingPermissionsFromJSON(json) {
13795
- return SharingPermissionsFromJSONTyped(json, false);
14168
+ function SharingPermissionsFromJSON(json2) {
14169
+ return SharingPermissionsFromJSONTyped(json2, false);
13796
14170
  }
13797
- function SharingPermissionsFromJSONTyped(json, ignoreDiscriminator) {
13798
- return json;
14171
+ function SharingPermissionsFromJSONTyped(json2, ignoreDiscriminator) {
14172
+ return json2;
13799
14173
  }
13800
14174
 
13801
14175
  // ../studioweb-sdk/generated/src/models/SharedProject.ts
13802
- function SharedProjectFromJSON(json) {
13803
- return SharedProjectFromJSONTyped(json, false);
14176
+ function SharedProjectFromJSON(json2) {
14177
+ return SharedProjectFromJSONTyped(json2, false);
13804
14178
  }
13805
- function SharedProjectFromJSONTyped(json, ignoreDiscriminator) {
13806
- if (json == null) {
13807
- return json;
14179
+ function SharedProjectFromJSONTyped(json2, ignoreDiscriminator) {
14180
+ if (json2 == null) {
14181
+ return json2;
13808
14182
  }
13809
14183
  return {
13810
- id: json["id"] == null ? undefined : json["id"],
13811
- projectId: json["projectId"] == null ? undefined : json["projectId"],
13812
- entityId: json["entityId"] == null ? undefined : json["entityId"],
13813
- organizationId: json["organizationId"] == null ? undefined : json["organizationId"],
13814
- isHidden: json["isHidden"] == null ? undefined : json["isHidden"],
13815
- creationTime: json["creationTime"] == null ? undefined : new Date(json["creationTime"]),
13816
- isGroup: json["isGroup"] == null ? undefined : json["isGroup"],
13817
- permissions: json["permissions"] == null ? undefined : SharingPermissionsFromJSON(json["permissions"]),
13818
- project: json["project"] == null ? undefined : ProjectDbModelFromJSON(json["project"])
14184
+ id: json2["id"] == null ? undefined : json2["id"],
14185
+ projectId: json2["projectId"] == null ? undefined : json2["projectId"],
14186
+ entityId: json2["entityId"] == null ? undefined : json2["entityId"],
14187
+ organizationId: json2["organizationId"] == null ? undefined : json2["organizationId"],
14188
+ isHidden: json2["isHidden"] == null ? undefined : json2["isHidden"],
14189
+ creationTime: json2["creationTime"] == null ? undefined : new Date(json2["creationTime"]),
14190
+ isGroup: json2["isGroup"] == null ? undefined : json2["isGroup"],
14191
+ permissions: json2["permissions"] == null ? undefined : SharingPermissionsFromJSON(json2["permissions"]),
14192
+ project: json2["project"] == null ? undefined : ProjectDbModelFromJSON(json2["project"])
13819
14193
  };
13820
14194
  }
13821
14195
 
13822
14196
  // ../studioweb-sdk/generated/src/models/UserMessageDbModel.ts
13823
- function UserMessageDbModelFromJSON(json) {
13824
- return UserMessageDbModelFromJSONTyped(json, false);
14197
+ function UserMessageDbModelFromJSON(json2) {
14198
+ return UserMessageDbModelFromJSONTyped(json2, false);
13825
14199
  }
13826
- function UserMessageDbModelFromJSONTyped(json, ignoreDiscriminator) {
13827
- if (json == null) {
13828
- return json;
14200
+ function UserMessageDbModelFromJSONTyped(json2, ignoreDiscriminator) {
14201
+ if (json2 == null) {
14202
+ return json2;
13829
14203
  }
13830
14204
  return {
13831
- id: json["id"] == null ? undefined : json["id"],
13832
- message: json["message"] == null ? undefined : json["message"],
13833
- creationTime: json["creationTime"] == null ? undefined : new Date(json["creationTime"]),
13834
- projectDbModelId: json["projectDbModelId"] == null ? undefined : json["projectDbModelId"],
13835
- project: json["project"] == null ? undefined : ProjectDbModelFromJSON(json["project"])
14205
+ id: json2["id"] == null ? undefined : json2["id"],
14206
+ message: json2["message"] == null ? undefined : json2["message"],
14207
+ creationTime: json2["creationTime"] == null ? undefined : new Date(json2["creationTime"]),
14208
+ projectDbModelId: json2["projectDbModelId"] == null ? undefined : json2["projectDbModelId"],
14209
+ project: json2["project"] == null ? undefined : ProjectDbModelFromJSON(json2["project"])
13836
14210
  };
13837
14211
  }
13838
14212
 
13839
14213
  // ../studioweb-sdk/generated/src/models/ProjectConnectionModel.ts
13840
- function ProjectConnectionModelFromJSON(json) {
13841
- return ProjectConnectionModelFromJSONTyped(json, false);
14214
+ function ProjectConnectionModelFromJSON(json2) {
14215
+ return ProjectConnectionModelFromJSONTyped(json2, false);
13842
14216
  }
13843
- function ProjectConnectionModelFromJSONTyped(json, ignoreDiscriminator) {
13844
- if (json == null) {
13845
- return json;
14217
+ function ProjectConnectionModelFromJSONTyped(json2, ignoreDiscriminator) {
14218
+ if (json2 == null) {
14219
+ return json2;
13846
14220
  }
13847
14221
  return {
13848
- connectionId: json["connectionId"] == null ? undefined : json["connectionId"],
13849
- connector: json["connector"] == null ? undefined : json["connector"],
13850
- projectId: json["projectId"] == null ? undefined : json["projectId"],
13851
- project: json["project"] == null ? undefined : ProjectDbModelFromJSON(json["project"]),
13852
- usedInWorkflow: json["usedInWorkflow"] == null ? undefined : json["usedInWorkflow"],
13853
- usedInTrigger: json["usedInTrigger"] == null ? undefined : json["usedInTrigger"],
13854
- workflowFileId: json["workflowFileId"] == null ? undefined : json["workflowFileId"]
14222
+ connectionId: json2["connectionId"] == null ? undefined : json2["connectionId"],
14223
+ connector: json2["connector"] == null ? undefined : json2["connector"],
14224
+ projectId: json2["projectId"] == null ? undefined : json2["projectId"],
14225
+ project: json2["project"] == null ? undefined : ProjectDbModelFromJSON(json2["project"]),
14226
+ usedInWorkflow: json2["usedInWorkflow"] == null ? undefined : json2["usedInWorkflow"],
14227
+ usedInTrigger: json2["usedInTrigger"] == null ? undefined : json2["usedInTrigger"],
14228
+ workflowFileId: json2["workflowFileId"] == null ? undefined : json2["workflowFileId"]
13855
14229
  };
13856
14230
  }
13857
14231
 
13858
14232
  // ../studioweb-sdk/generated/src/models/TriggerMetadataModel.ts
13859
- function TriggerMetadataModelFromJSON(json) {
13860
- return TriggerMetadataModelFromJSONTyped(json, false);
14233
+ function TriggerMetadataModelFromJSON(json2) {
14234
+ return TriggerMetadataModelFromJSONTyped(json2, false);
13861
14235
  }
13862
- function TriggerMetadataModelFromJSONTyped(json, ignoreDiscriminator) {
13863
- if (json == null) {
13864
- return json;
14236
+ function TriggerMetadataModelFromJSONTyped(json2, ignoreDiscriminator) {
14237
+ if (json2 == null) {
14238
+ return json2;
13865
14239
  }
13866
14240
  return {
13867
- projectId: json["projectId"] == null ? undefined : json["projectId"],
13868
- connectionId: json["connectionId"] == null ? undefined : json["connectionId"],
13869
- connection: json["connection"] == null ? undefined : ConnectionMetadataModelFromJSON(json["connection"]),
13870
- projectConnection: json["projectConnection"] == null ? undefined : ProjectConnectionModelFromJSON(json["projectConnection"]),
13871
- operation: json["operation"] == null ? undefined : json["operation"],
13872
- triggerId: json["triggerId"] == null ? undefined : json["triggerId"],
13873
- defaultDisplayName: json["defaultDisplayName"] == null ? undefined : json["defaultDisplayName"],
13874
- displayName: json["displayName"] == null ? undefined : json["displayName"],
13875
- project: json["project"] == null ? undefined : ProjectDbModelFromJSON(json["project"])
14241
+ projectId: json2["projectId"] == null ? undefined : json2["projectId"],
14242
+ connectionId: json2["connectionId"] == null ? undefined : json2["connectionId"],
14243
+ connection: json2["connection"] == null ? undefined : ConnectionMetadataModelFromJSON(json2["connection"]),
14244
+ projectConnection: json2["projectConnection"] == null ? undefined : ProjectConnectionModelFromJSON(json2["projectConnection"]),
14245
+ operation: json2["operation"] == null ? undefined : json2["operation"],
14246
+ triggerId: json2["triggerId"] == null ? undefined : json2["triggerId"],
14247
+ defaultDisplayName: json2["defaultDisplayName"] == null ? undefined : json2["defaultDisplayName"],
14248
+ displayName: json2["displayName"] == null ? undefined : json2["displayName"],
14249
+ project: json2["project"] == null ? undefined : ProjectDbModelFromJSON(json2["project"])
13876
14250
  };
13877
14251
  }
13878
14252
 
13879
14253
  // ../studioweb-sdk/generated/src/models/ConnectionMetadataModel.ts
13880
- function ConnectionMetadataModelFromJSON(json) {
13881
- return ConnectionMetadataModelFromJSONTyped2(json, false);
14254
+ function ConnectionMetadataModelFromJSON(json2) {
14255
+ return ConnectionMetadataModelFromJSONTyped2(json2, false);
13882
14256
  }
13883
- function ConnectionMetadataModelFromJSONTyped2(json, ignoreDiscriminator) {
13884
- if (json == null) {
13885
- return json;
14257
+ function ConnectionMetadataModelFromJSONTyped2(json2, ignoreDiscriminator) {
14258
+ if (json2 == null) {
14259
+ return json2;
13886
14260
  }
13887
14261
  return {
13888
- connectionId: json["connectionId"] == null ? undefined : json["connectionId"],
13889
- connector: json["connector"] == null ? undefined : json["connector"],
13890
- projects: json["projects"] == null ? undefined : json["projects"].map(ProjectDbModelFromJSON),
13891
- triggers: json["triggers"] == null ? undefined : json["triggers"].map(TriggerMetadataModelFromJSON)
14262
+ connectionId: json2["connectionId"] == null ? undefined : json2["connectionId"],
14263
+ connector: json2["connector"] == null ? undefined : json2["connector"],
14264
+ projects: json2["projects"] == null ? undefined : json2["projects"].map(ProjectDbModelFromJSON),
14265
+ triggers: json2["triggers"] == null ? undefined : json2["triggers"].map(TriggerMetadataModelFromJSON)
13892
14266
  };
13893
14267
  }
13894
14268
 
13895
14269
  // ../studioweb-sdk/generated/src/models/ProjectMetadataModel.ts
13896
- function ProjectMetadataModelFromJSON(json) {
13897
- return ProjectMetadataModelFromJSONTyped(json, false);
14270
+ function ProjectMetadataModelFromJSON(json2) {
14271
+ return ProjectMetadataModelFromJSONTyped(json2, false);
13898
14272
  }
13899
- function ProjectMetadataModelFromJSONTyped(json, ignoreDiscriminator) {
13900
- if (json == null) {
13901
- return json;
14273
+ function ProjectMetadataModelFromJSONTyped(json2, ignoreDiscriminator) {
14274
+ if (json2 == null) {
14275
+ return json2;
13902
14276
  }
13903
14277
  return {
13904
- projectId: json["projectId"] == null ? undefined : json["projectId"],
13905
- hasTestCases: json["hasTestCases"] == null ? undefined : json["hasTestCases"],
13906
- mcIgnorableApplied: json["mcIgnorableApplied"] == null ? undefined : new Date(json["mcIgnorableApplied"]),
13907
- lastScanDate: json["lastScanDate"] == null ? undefined : new Date(json["lastScanDate"]),
13908
- project: json["project"] == null ? undefined : ProjectDbModelFromJSON(json["project"])
14278
+ projectId: json2["projectId"] == null ? undefined : json2["projectId"],
14279
+ hasTestCases: json2["hasTestCases"] == null ? undefined : json2["hasTestCases"],
14280
+ mcIgnorableApplied: json2["mcIgnorableApplied"] == null ? undefined : new Date(json2["mcIgnorableApplied"]),
14281
+ lastScanDate: json2["lastScanDate"] == null ? undefined : new Date(json2["lastScanDate"]),
14282
+ project: json2["project"] == null ? undefined : ProjectDbModelFromJSON(json2["project"])
13909
14283
  };
13910
14284
  }
13911
14285
 
13912
14286
  // ../studioweb-sdk/generated/src/models/PublishStatus.ts
13913
- function PublishStatusFromJSON(json) {
13914
- return PublishStatusFromJSONTyped(json, false);
14287
+ function PublishStatusFromJSON(json2) {
14288
+ return PublishStatusFromJSONTyped(json2, false);
13915
14289
  }
13916
- function PublishStatusFromJSONTyped(json, ignoreDiscriminator) {
13917
- return json;
14290
+ function PublishStatusFromJSONTyped(json2, ignoreDiscriminator) {
14291
+ return json2;
13918
14292
  }
13919
14293
 
13920
14294
  // ../studioweb-sdk/generated/src/models/PublishResultModel.ts
13921
- function PublishResultModelFromJSON(json) {
13922
- return PublishResultModelFromJSONTyped(json, false);
14295
+ function PublishResultModelFromJSON(json2) {
14296
+ return PublishResultModelFromJSONTyped(json2, false);
13923
14297
  }
13924
- function PublishResultModelFromJSONTyped(json, ignoreDiscriminator) {
13925
- if (json == null) {
13926
- return json;
14298
+ function PublishResultModelFromJSONTyped(json2, ignoreDiscriminator) {
14299
+ if (json2 == null) {
14300
+ return json2;
13927
14301
  }
13928
14302
  return {
13929
- id: json["id"] == null ? undefined : json["id"],
13930
- projectId: json["projectId"] == null ? undefined : json["projectId"],
13931
- creationTime: json["creationTime"] == null ? undefined : new Date(json["creationTime"]),
13932
- status: json["status"] == null ? undefined : PublishStatusFromJSON(json["status"]),
13933
- message: json["message"] == null ? undefined : json["message"],
13934
- tenantId: json["tenantId"] == null ? undefined : json["tenantId"],
13935
- feedId: json["feedId"] == null ? undefined : json["feedId"],
13936
- version: json["version"] == null ? undefined : json["version"],
13937
- userId: json["userId"] == null ? undefined : json["userId"],
13938
- project: json["project"] == null ? undefined : ProjectDbModelFromJSON(json["project"]),
13939
- iconUrl: json["iconUrl"] == null ? undefined : json["iconUrl"]
14303
+ id: json2["id"] == null ? undefined : json2["id"],
14304
+ projectId: json2["projectId"] == null ? undefined : json2["projectId"],
14305
+ creationTime: json2["creationTime"] == null ? undefined : new Date(json2["creationTime"]),
14306
+ status: json2["status"] == null ? undefined : PublishStatusFromJSON(json2["status"]),
14307
+ message: json2["message"] == null ? undefined : json2["message"],
14308
+ tenantId: json2["tenantId"] == null ? undefined : json2["tenantId"],
14309
+ feedId: json2["feedId"] == null ? undefined : json2["feedId"],
14310
+ version: json2["version"] == null ? undefined : json2["version"],
14311
+ userId: json2["userId"] == null ? undefined : json2["userId"],
14312
+ project: json2["project"] == null ? undefined : ProjectDbModelFromJSON(json2["project"]),
14313
+ iconUrl: json2["iconUrl"] == null ? undefined : json2["iconUrl"]
13940
14314
  };
13941
14315
  }
13942
14316
 
13943
14317
  // ../studioweb-sdk/generated/src/models/SapContext.ts
13944
- function SapContextFromJSON(json) {
13945
- return SapContextFromJSONTyped(json, false);
14318
+ function SapContextFromJSON(json2) {
14319
+ return SapContextFromJSONTyped(json2, false);
13946
14320
  }
13947
- function SapContextFromJSONTyped(json, ignoreDiscriminator) {
13948
- if (json == null) {
13949
- return json;
14321
+ function SapContextFromJSONTyped(json2, ignoreDiscriminator) {
14322
+ if (json2 == null) {
14323
+ return json2;
13950
14324
  }
13951
14325
  return {
13952
- id: json["id"] == null ? undefined : json["id"],
13953
- projectId: json["projectId"] == null ? undefined : json["projectId"],
13954
- tenantId: json["tenantId"] == null ? undefined : json["tenantId"],
13955
- isPrimaryProject: json["isPrimaryProject"] == null ? undefined : json["isPrimaryProject"],
13956
- externalProjectId: json["externalProjectId"] == null ? undefined : json["externalProjectId"],
13957
- baseCallbackPath: json["baseCallbackPath"] == null ? undefined : json["baseCallbackPath"],
13958
- project: json["project"] == null ? undefined : ProjectDbModelFromJSON(json["project"])
14326
+ id: json2["id"] == null ? undefined : json2["id"],
14327
+ projectId: json2["projectId"] == null ? undefined : json2["projectId"],
14328
+ tenantId: json2["tenantId"] == null ? undefined : json2["tenantId"],
14329
+ isPrimaryProject: json2["isPrimaryProject"] == null ? undefined : json2["isPrimaryProject"],
14330
+ externalProjectId: json2["externalProjectId"] == null ? undefined : json2["externalProjectId"],
14331
+ baseCallbackPath: json2["baseCallbackPath"] == null ? undefined : json2["baseCallbackPath"],
14332
+ project: json2["project"] == null ? undefined : ProjectDbModelFromJSON(json2["project"])
13959
14333
  };
13960
14334
  }
13961
14335
 
13962
14336
  // ../studioweb-sdk/generated/src/models/ProjectPackageModel.ts
13963
- function ProjectPackageModelFromJSON(json) {
13964
- return ProjectPackageModelFromJSONTyped(json, false);
14337
+ function ProjectPackageModelFromJSON(json2) {
14338
+ return ProjectPackageModelFromJSONTyped(json2, false);
13965
14339
  }
13966
- function ProjectPackageModelFromJSONTyped(json, ignoreDiscriminator) {
13967
- if (json == null) {
13968
- return json;
14340
+ function ProjectPackageModelFromJSONTyped(json2, ignoreDiscriminator) {
14341
+ if (json2 == null) {
14342
+ return json2;
13969
14343
  }
13970
14344
  return {
13971
- id: json["id"] == null ? undefined : json["id"],
13972
- name: json["name"] == null ? undefined : json["name"],
13973
- version: json["version"] == null ? undefined : json["version"],
13974
- project: json["project"] == null ? undefined : ProjectDbModelFromJSON(json["project"])
14345
+ id: json2["id"] == null ? undefined : json2["id"],
14346
+ name: json2["name"] == null ? undefined : json2["name"],
14347
+ version: json2["version"] == null ? undefined : json2["version"],
14348
+ project: json2["project"] == null ? undefined : ProjectDbModelFromJSON(json2["project"])
13975
14349
  };
13976
14350
  }
13977
14351
 
13978
14352
  // ../studioweb-sdk/generated/src/models/ProjectDbModel.ts
13979
- function ProjectDbModelFromJSON(json) {
13980
- return ProjectDbModelFromJSONTyped16(json, false);
14353
+ function ProjectDbModelFromJSON(json2) {
14354
+ return ProjectDbModelFromJSONTyped16(json2, false);
13981
14355
  }
13982
- function ProjectDbModelFromJSONTyped16(json, ignoreDiscriminator) {
13983
- if (json == null) {
13984
- return json;
14356
+ function ProjectDbModelFromJSONTyped16(json2, ignoreDiscriminator) {
14357
+ if (json2 == null) {
14358
+ return json2;
13985
14359
  }
13986
14360
  return {
13987
- id: json["id"] == null ? undefined : json["id"],
13988
- designId: json["designId"] == null ? undefined : json["designId"],
13989
- previousProjectId: json["previousProjectId"] == null ? undefined : json["previousProjectId"],
13990
- userId: json["userId"] == null ? undefined : json["userId"],
13991
- organisationId: json["organisationId"] == null ? undefined : json["organisationId"],
13992
- name: json["name"] == null ? undefined : json["name"],
13993
- solutionId: json["solutionId"] == null ? undefined : json["solutionId"],
13994
- deletionDate: json["deletionDate"] == null ? undefined : new Date(json["deletionDate"]),
13995
- status: json["status"] == null ? undefined : ProjectStatusFromJSON(json["status"]),
13996
- fakeProjectTemplateEdit: json["fakeProjectTemplateEdit"] == null ? undefined : json["fakeProjectTemplateEdit"],
13997
- isHidden: json["isHidden"] == null ? undefined : json["isHidden"],
13998
- targetFramework: json["targetFramework"] == null ? undefined : TargetFrameworkFromJSON(json["targetFramework"]),
13999
- projectType: json["projectType"] == null ? undefined : json["projectType"],
14000
- creationTime: json["creationTime"] == null ? undefined : new Date(json["creationTime"]),
14001
- lastModifiedTime: json["lastModifiedTime"] == null ? undefined : new Date(json["lastModifiedTime"]),
14002
- expressionLanguage: json["expressionLanguage"] == null ? undefined : json["expressionLanguage"],
14003
- nameLower: json["nameLower"] == null ? undefined : json["nameLower"],
14004
- description: json["description"] == null ? undefined : json["description"],
14005
- descriptionLower: json["descriptionLower"] == null ? undefined : json["descriptionLower"],
14006
- jitVersion: json["jitVersion"] == null ? undefined : json["jitVersion"],
14007
- dependencies: json["dependencies"] == null ? undefined : json["dependencies"].map(ProjectPackageModelFromJSON),
14008
- pinDate: json["pinDate"] == null ? undefined : new Date(json["pinDate"]),
14009
- lock: json["lock"] == null ? undefined : ProjectLockModelFromJSON(json["lock"]),
14010
- hasTrigger: json["hasTrigger"] == null ? undefined : json["hasTrigger"],
14011
- tenantId: json["tenantId"] == null ? undefined : json["tenantId"],
14012
- sapContext: json["sapContext"] == null ? undefined : SapContextFromJSON(json["sapContext"]),
14013
- rowVersion: json["rowVersion"] == null ? undefined : json["rowVersion"],
14014
- disableAutoUpdateUntilDate: json["disableAutoUpdateUntilDate"] == null ? undefined : new Date(json["disableAutoUpdateUntilDate"]),
14015
- structure: json["structure"] == null ? undefined : ProjectStructureFromJSON(json["structure"]),
14016
- userMessage: json["userMessage"] == null ? undefined : UserMessageDbModelFromJSON(json["userMessage"]),
14017
- triggerType: json["triggerType"] == null ? undefined : json["triggerType"],
14018
- trigger: json["trigger"] == null ? undefined : TriggerMetadataModelFromJSON(json["trigger"]),
14019
- connections: json["connections"] == null ? undefined : json["connections"].map(ConnectionMetadataModelFromJSON),
14020
- pins: json["pins"] == null ? undefined : json["pins"].map(PinnedProjectFromJSON),
14021
- bindingProfiles: json["bindingProfiles"] == null ? undefined : json["bindingProfiles"].map(UserBindingProfileModelFromJSON),
14022
- lastAppliedProfileId: json["lastAppliedProfileId"] == null ? undefined : json["lastAppliedProfileId"],
14023
- lastAppliedProfile: json["lastAppliedProfile"] == null ? undefined : UserBindingProfileModelFromJSON(json["lastAppliedProfile"]),
14024
- hasDefaultName: json["hasDefaultName"] == null ? undefined : json["hasDefaultName"],
14025
- projectAppliedProfiles: json["projectAppliedProfiles"] == null ? undefined : json["projectAppliedProfiles"].map(ProjectAppliedProfileModelFromJSON),
14026
- projectConnections: json["projectConnections"] == null ? undefined : json["projectConnections"].map(ProjectConnectionModelFromJSON),
14027
- additionalBindingProperties: json["additionalBindingProperties"] == null ? undefined : json["additionalBindingProperties"].map(AdditionalBindingPropertiesFromJSON),
14028
- publishHistory: json["publishHistory"] == null ? undefined : json["publishHistory"].map(PublishResultModelFromJSON),
14029
- projectAppMetadata: json["projectAppMetadata"] == null ? undefined : ProjectAppModelFromJSON(json["projectAppMetadata"]),
14030
- testManagerMetadata: json["testManagerMetadata"] == null ? undefined : TestManagerMetadataModelFromJSON(json["testManagerMetadata"]),
14031
- shares: json["shares"] == null ? undefined : json["shares"].map(SharedProjectFromJSON),
14032
- metadata: json["metadata"] == null ? undefined : ProjectMetadataModelFromJSON(json["metadata"]),
14033
- isPreview: json["isPreview"] == null ? undefined : json["isPreview"],
14034
- errorList: json["errorList"] == null ? undefined : json["errorList"],
14035
- requirePreprocessing: json["requirePreprocessing"] == null ? undefined : json["requirePreprocessing"],
14036
- relativePath: json["relativePath"] == null ? undefined : json["relativePath"]
14361
+ id: json2["id"] == null ? undefined : json2["id"],
14362
+ designId: json2["designId"] == null ? undefined : json2["designId"],
14363
+ previousProjectId: json2["previousProjectId"] == null ? undefined : json2["previousProjectId"],
14364
+ userId: json2["userId"] == null ? undefined : json2["userId"],
14365
+ organisationId: json2["organisationId"] == null ? undefined : json2["organisationId"],
14366
+ name: json2["name"] == null ? undefined : json2["name"],
14367
+ solutionId: json2["solutionId"] == null ? undefined : json2["solutionId"],
14368
+ deletionDate: json2["deletionDate"] == null ? undefined : new Date(json2["deletionDate"]),
14369
+ status: json2["status"] == null ? undefined : ProjectStatusFromJSON(json2["status"]),
14370
+ fakeProjectTemplateEdit: json2["fakeProjectTemplateEdit"] == null ? undefined : json2["fakeProjectTemplateEdit"],
14371
+ isHidden: json2["isHidden"] == null ? undefined : json2["isHidden"],
14372
+ targetFramework: json2["targetFramework"] == null ? undefined : TargetFrameworkFromJSON(json2["targetFramework"]),
14373
+ projectType: json2["projectType"] == null ? undefined : json2["projectType"],
14374
+ creationTime: json2["creationTime"] == null ? undefined : new Date(json2["creationTime"]),
14375
+ lastModifiedTime: json2["lastModifiedTime"] == null ? undefined : new Date(json2["lastModifiedTime"]),
14376
+ expressionLanguage: json2["expressionLanguage"] == null ? undefined : json2["expressionLanguage"],
14377
+ nameLower: json2["nameLower"] == null ? undefined : json2["nameLower"],
14378
+ description: json2["description"] == null ? undefined : json2["description"],
14379
+ descriptionLower: json2["descriptionLower"] == null ? undefined : json2["descriptionLower"],
14380
+ jitVersion: json2["jitVersion"] == null ? undefined : json2["jitVersion"],
14381
+ dependencies: json2["dependencies"] == null ? undefined : json2["dependencies"].map(ProjectPackageModelFromJSON),
14382
+ pinDate: json2["pinDate"] == null ? undefined : new Date(json2["pinDate"]),
14383
+ lock: json2["lock"] == null ? undefined : ProjectLockModelFromJSON(json2["lock"]),
14384
+ hasTrigger: json2["hasTrigger"] == null ? undefined : json2["hasTrigger"],
14385
+ tenantId: json2["tenantId"] == null ? undefined : json2["tenantId"],
14386
+ sapContext: json2["sapContext"] == null ? undefined : SapContextFromJSON(json2["sapContext"]),
14387
+ rowVersion: json2["rowVersion"] == null ? undefined : json2["rowVersion"],
14388
+ disableAutoUpdateUntilDate: json2["disableAutoUpdateUntilDate"] == null ? undefined : new Date(json2["disableAutoUpdateUntilDate"]),
14389
+ structure: json2["structure"] == null ? undefined : ProjectStructureFromJSON(json2["structure"]),
14390
+ userMessage: json2["userMessage"] == null ? undefined : UserMessageDbModelFromJSON(json2["userMessage"]),
14391
+ triggerType: json2["triggerType"] == null ? undefined : json2["triggerType"],
14392
+ trigger: json2["trigger"] == null ? undefined : TriggerMetadataModelFromJSON(json2["trigger"]),
14393
+ connections: json2["connections"] == null ? undefined : json2["connections"].map(ConnectionMetadataModelFromJSON),
14394
+ pins: json2["pins"] == null ? undefined : json2["pins"].map(PinnedProjectFromJSON),
14395
+ bindingProfiles: json2["bindingProfiles"] == null ? undefined : json2["bindingProfiles"].map(UserBindingProfileModelFromJSON),
14396
+ lastAppliedProfileId: json2["lastAppliedProfileId"] == null ? undefined : json2["lastAppliedProfileId"],
14397
+ lastAppliedProfile: json2["lastAppliedProfile"] == null ? undefined : UserBindingProfileModelFromJSON(json2["lastAppliedProfile"]),
14398
+ hasDefaultName: json2["hasDefaultName"] == null ? undefined : json2["hasDefaultName"],
14399
+ projectAppliedProfiles: json2["projectAppliedProfiles"] == null ? undefined : json2["projectAppliedProfiles"].map(ProjectAppliedProfileModelFromJSON),
14400
+ projectConnections: json2["projectConnections"] == null ? undefined : json2["projectConnections"].map(ProjectConnectionModelFromJSON),
14401
+ additionalBindingProperties: json2["additionalBindingProperties"] == null ? undefined : json2["additionalBindingProperties"].map(AdditionalBindingPropertiesFromJSON),
14402
+ publishHistory: json2["publishHistory"] == null ? undefined : json2["publishHistory"].map(PublishResultModelFromJSON),
14403
+ projectAppMetadata: json2["projectAppMetadata"] == null ? undefined : ProjectAppModelFromJSON(json2["projectAppMetadata"]),
14404
+ testManagerMetadata: json2["testManagerMetadata"] == null ? undefined : TestManagerMetadataModelFromJSON(json2["testManagerMetadata"]),
14405
+ shares: json2["shares"] == null ? undefined : json2["shares"].map(SharedProjectFromJSON),
14406
+ metadata: json2["metadata"] == null ? undefined : ProjectMetadataModelFromJSON(json2["metadata"]),
14407
+ isPreview: json2["isPreview"] == null ? undefined : json2["isPreview"],
14408
+ errorList: json2["errorList"] == null ? undefined : json2["errorList"],
14409
+ requirePreprocessing: json2["requirePreprocessing"] == null ? undefined : json2["requirePreprocessing"],
14410
+ relativePath: json2["relativePath"] == null ? undefined : json2["relativePath"]
14037
14411
  };
14038
14412
  }
14039
14413
 
14040
14414
  // ../studioweb-sdk/generated/src/models/AdditionalBindingProperties.ts
14041
- function AdditionalBindingPropertiesFromJSON(json) {
14042
- return AdditionalBindingPropertiesFromJSONTyped2(json, false);
14415
+ function AdditionalBindingPropertiesFromJSON(json2) {
14416
+ return AdditionalBindingPropertiesFromJSONTyped2(json2, false);
14043
14417
  }
14044
- function AdditionalBindingPropertiesFromJSONTyped2(json, ignoreDiscriminator) {
14045
- if (json == null) {
14046
- return json;
14418
+ function AdditionalBindingPropertiesFromJSONTyped2(json2, ignoreDiscriminator) {
14419
+ if (json2 == null) {
14420
+ return json2;
14047
14421
  }
14048
14422
  return {
14049
- projectId: json["projectId"] == null ? undefined : json["projectId"],
14050
- project: json["project"] == null ? undefined : ProjectDbModelFromJSON(json["project"]),
14051
- workflowFileId: json["workflowFileId"] == null ? undefined : json["workflowFileId"],
14052
- resourceType: json["resourceType"] == null ? undefined : json["resourceType"],
14053
- resourceKey: json["resourceKey"] == null ? undefined : json["resourceKey"],
14054
- purpose: json["purpose"] == null ? undefined : json["purpose"]
14423
+ projectId: json2["projectId"] == null ? undefined : json2["projectId"],
14424
+ project: json2["project"] == null ? undefined : ProjectDbModelFromJSON(json2["project"]),
14425
+ workflowFileId: json2["workflowFileId"] == null ? undefined : json2["workflowFileId"],
14426
+ resourceType: json2["resourceType"] == null ? undefined : json2["resourceType"],
14427
+ resourceKey: json2["resourceKey"] == null ? undefined : json2["resourceKey"],
14428
+ purpose: json2["purpose"] == null ? undefined : json2["purpose"]
14055
14429
  };
14056
14430
  }
14057
14431
  // ../studioweb-sdk/generated/src/models/AdditionalBindingPropertiesDto.ts
14058
- function AdditionalBindingPropertiesDtoFromJSON(json) {
14059
- return AdditionalBindingPropertiesDtoFromJSONTyped(json, false);
14432
+ function AdditionalBindingPropertiesDtoFromJSON(json2) {
14433
+ return AdditionalBindingPropertiesDtoFromJSONTyped(json2, false);
14060
14434
  }
14061
- function AdditionalBindingPropertiesDtoFromJSONTyped(json, ignoreDiscriminator) {
14062
- if (json == null) {
14063
- return json;
14435
+ function AdditionalBindingPropertiesDtoFromJSONTyped(json2, ignoreDiscriminator) {
14436
+ if (json2 == null) {
14437
+ return json2;
14064
14438
  }
14065
14439
  return {
14066
- resourceType: json["resourceType"] == null ? undefined : json["resourceType"],
14067
- resourceKey: json["resourceKey"] == null ? undefined : json["resourceKey"],
14068
- purpose: json["purpose"] == null ? undefined : json["purpose"],
14069
- workflowFileId: json["workflowFileId"] == null ? undefined : json["workflowFileId"]
14440
+ resourceType: json2["resourceType"] == null ? undefined : json2["resourceType"],
14441
+ resourceKey: json2["resourceKey"] == null ? undefined : json2["resourceKey"],
14442
+ purpose: json2["purpose"] == null ? undefined : json2["purpose"],
14443
+ workflowFileId: json2["workflowFileId"] == null ? undefined : json2["workflowFileId"]
14070
14444
  };
14071
14445
  }
14072
14446
  // ../studioweb-sdk/generated/src/models/AppUsageType.ts
14073
- function AppUsageTypeFromJSON(json) {
14074
- return AppUsageTypeFromJSONTyped(json, false);
14447
+ function AppUsageTypeFromJSON(json2) {
14448
+ return AppUsageTypeFromJSONTyped(json2, false);
14075
14449
  }
14076
- function AppUsageTypeFromJSONTyped(json, ignoreDiscriminator) {
14077
- return json;
14450
+ function AppUsageTypeFromJSONTyped(json2, ignoreDiscriminator) {
14451
+ return json2;
14078
14452
  }
14079
14453
  // ../studioweb-sdk/generated/src/models/FileType.ts
14080
- function FileTypeFromJSON(json) {
14081
- return FileTypeFromJSONTyped(json, false);
14454
+ function FileTypeFromJSON(json2) {
14455
+ return FileTypeFromJSONTyped(json2, false);
14082
14456
  }
14083
- function FileTypeFromJSONTyped(json, ignoreDiscriminator) {
14084
- return json;
14457
+ function FileTypeFromJSONTyped(json2, ignoreDiscriminator) {
14458
+ return json2;
14085
14459
  }
14086
14460
 
14087
14461
  // ../studioweb-sdk/generated/src/models/FileDto.ts
14088
- function FileDtoFromJSON(json) {
14089
- return FileDtoFromJSONTyped(json, false);
14462
+ function FileDtoFromJSON(json2) {
14463
+ return FileDtoFromJSONTyped(json2, false);
14090
14464
  }
14091
- function FileDtoFromJSONTyped(json, ignoreDiscriminator) {
14092
- if (json == null) {
14093
- return json;
14465
+ function FileDtoFromJSONTyped(json2, ignoreDiscriminator) {
14466
+ if (json2 == null) {
14467
+ return json2;
14094
14468
  }
14095
14469
  return {
14096
- id: json["id"] == null ? undefined : json["id"],
14097
- name: json["name"] == null ? undefined : json["name"],
14098
- isMain: json["isMain"] == null ? undefined : json["isMain"],
14099
- fileType: json["fileType"] == null ? undefined : FileTypeFromJSON(json["fileType"]),
14100
- isEntryPoint: json["isEntryPoint"] == null ? undefined : json["isEntryPoint"],
14101
- ignoredFromPublish: json["ignoredFromPublish"] == null ? undefined : json["ignoredFromPublish"],
14102
- appFormId: json["appFormId"] == null ? undefined : json["appFormId"],
14103
- externalAutomationId: json["externalAutomationId"] == null ? undefined : json["externalAutomationId"],
14104
- testCaseId: json["testCaseId"] == null ? undefined : json["testCaseId"],
14105
- contentSignature: json["contentSignature"] == null ? undefined : json["contentSignature"]
14470
+ id: json2["id"] == null ? undefined : json2["id"],
14471
+ name: json2["name"] == null ? undefined : json2["name"],
14472
+ isMain: json2["isMain"] == null ? undefined : json2["isMain"],
14473
+ fileType: json2["fileType"] == null ? undefined : FileTypeFromJSON(json2["fileType"]),
14474
+ isEntryPoint: json2["isEntryPoint"] == null ? undefined : json2["isEntryPoint"],
14475
+ ignoredFromPublish: json2["ignoredFromPublish"] == null ? undefined : json2["ignoredFromPublish"],
14476
+ appFormId: json2["appFormId"] == null ? undefined : json2["appFormId"],
14477
+ externalAutomationId: json2["externalAutomationId"] == null ? undefined : json2["externalAutomationId"],
14478
+ testCaseId: json2["testCaseId"] == null ? undefined : json2["testCaseId"],
14479
+ contentSignature: json2["contentSignature"] == null ? undefined : json2["contentSignature"]
14106
14480
  };
14107
14481
  }
14108
14482
  // ../studioweb-sdk/generated/src/models/SpecialFolderType.ts
14109
- function SpecialFolderTypeFromJSON(json) {
14110
- return SpecialFolderTypeFromJSONTyped(json, false);
14483
+ function SpecialFolderTypeFromJSON(json2) {
14484
+ return SpecialFolderTypeFromJSONTyped(json2, false);
14111
14485
  }
14112
- function SpecialFolderTypeFromJSONTyped(json, ignoreDiscriminator) {
14113
- return json;
14486
+ function SpecialFolderTypeFromJSONTyped(json2, ignoreDiscriminator) {
14487
+ return json2;
14114
14488
  }
14115
14489
 
14116
14490
  // ../studioweb-sdk/generated/src/models/FolderDto.ts
14117
- function FolderDtoFromJSON(json) {
14118
- return FolderDtoFromJSONTyped(json, false);
14491
+ function FolderDtoFromJSON(json2) {
14492
+ return FolderDtoFromJSONTyped(json2, false);
14119
14493
  }
14120
- function FolderDtoFromJSONTyped(json, ignoreDiscriminator) {
14121
- if (json == null) {
14122
- return json;
14494
+ function FolderDtoFromJSONTyped(json2, ignoreDiscriminator) {
14495
+ if (json2 == null) {
14496
+ return json2;
14123
14497
  }
14124
14498
  return {
14125
- id: json["id"] == null ? undefined : json["id"],
14126
- name: json["name"] == null ? undefined : json["name"],
14127
- folders: json["folders"] == null ? undefined : json["folders"].map(FolderDtoFromJSON),
14128
- files: json["files"] == null ? undefined : json["files"].map(FileDtoFromJSON),
14129
- folderType: json["folderType"] == null ? undefined : SpecialFolderTypeFromJSON(json["folderType"])
14499
+ id: json2["id"] == null ? undefined : json2["id"],
14500
+ name: json2["name"] == null ? undefined : json2["name"],
14501
+ folders: json2["folders"] == null ? undefined : json2["folders"].map(FolderDtoFromJSON),
14502
+ files: json2["files"] == null ? undefined : json2["files"].map(FileDtoFromJSON),
14503
+ folderType: json2["folderType"] == null ? undefined : SpecialFolderTypeFromJSON(json2["folderType"])
14130
14504
  };
14131
14505
  }
14132
14506
  // ../studioweb-sdk/generated/src/models/MetadataConnectionDto.ts
14133
- function MetadataConnectionDtoFromJSON(json) {
14134
- return MetadataConnectionDtoFromJSONTyped(json, false);
14507
+ function MetadataConnectionDtoFromJSON(json2) {
14508
+ return MetadataConnectionDtoFromJSONTyped(json2, false);
14135
14509
  }
14136
- function MetadataConnectionDtoFromJSONTyped(json, ignoreDiscriminator) {
14137
- if (json == null) {
14138
- return json;
14510
+ function MetadataConnectionDtoFromJSONTyped(json2, ignoreDiscriminator) {
14511
+ if (json2 == null) {
14512
+ return json2;
14139
14513
  }
14140
14514
  return {
14141
- connectionId: json["connectionId"] == null ? undefined : json["connectionId"],
14142
- connector: json["connector"] == null ? undefined : json["connector"],
14143
- purpose: json["purpose"] == null ? undefined : json["purpose"],
14144
- workflowFileId: json["workflowFileId"] == null ? undefined : json["workflowFileId"]
14515
+ connectionId: json2["connectionId"] == null ? undefined : json2["connectionId"],
14516
+ connector: json2["connector"] == null ? undefined : json2["connector"],
14517
+ purpose: json2["purpose"] == null ? undefined : json2["purpose"],
14518
+ workflowFileId: json2["workflowFileId"] == null ? undefined : json2["workflowFileId"]
14145
14519
  };
14146
14520
  }
14147
14521
  // ../studioweb-sdk/generated/src/models/MetadataTriggerDto.ts
14148
- function MetadataTriggerDtoFromJSON(json) {
14149
- return MetadataTriggerDtoFromJSONTyped(json, false);
14522
+ function MetadataTriggerDtoFromJSON(json2) {
14523
+ return MetadataTriggerDtoFromJSONTyped(json2, false);
14150
14524
  }
14151
- function MetadataTriggerDtoFromJSONTyped(json, ignoreDiscriminator) {
14152
- if (json == null) {
14153
- return json;
14525
+ function MetadataTriggerDtoFromJSONTyped(json2, ignoreDiscriminator) {
14526
+ if (json2 == null) {
14527
+ return json2;
14154
14528
  }
14155
14529
  return {
14156
- connection: json["connection"] == null ? undefined : MetadataConnectionDtoFromJSON(json["connection"]),
14157
- operation: json["operation"] == null ? undefined : json["operation"],
14158
- triggerId: json["triggerId"] == null ? undefined : json["triggerId"],
14159
- defaultDisplayName: json["defaultDisplayName"] == null ? undefined : json["defaultDisplayName"],
14160
- displayName: json["displayName"] == null ? undefined : json["displayName"]
14530
+ connection: json2["connection"] == null ? undefined : MetadataConnectionDtoFromJSON(json2["connection"]),
14531
+ operation: json2["operation"] == null ? undefined : json2["operation"],
14532
+ triggerId: json2["triggerId"] == null ? undefined : json2["triggerId"],
14533
+ defaultDisplayName: json2["defaultDisplayName"] == null ? undefined : json2["defaultDisplayName"],
14534
+ displayName: json2["displayName"] == null ? undefined : json2["displayName"]
14161
14535
  };
14162
14536
  }
14163
14537
  // ../studioweb-sdk/generated/src/models/PackageDto.ts
14164
- function PackageDtoFromJSON(json) {
14165
- return PackageDtoFromJSONTyped(json, false);
14538
+ function PackageDtoFromJSON(json2) {
14539
+ return PackageDtoFromJSONTyped(json2, false);
14166
14540
  }
14167
- function PackageDtoFromJSONTyped(json, ignoreDiscriminator) {
14168
- if (json == null) {
14169
- return json;
14541
+ function PackageDtoFromJSONTyped(json2, ignoreDiscriminator) {
14542
+ if (json2 == null) {
14543
+ return json2;
14170
14544
  }
14171
14545
  return {
14172
- name: json["name"],
14173
- version: json["version"],
14174
- isRestricted: json["isRestricted"] == null ? undefined : json["isRestricted"]
14546
+ name: json2["name"],
14547
+ version: json2["version"],
14548
+ isRestricted: json2["isRestricted"] == null ? undefined : json2["isRestricted"]
14175
14549
  };
14176
14550
  }
14177
14551
  // ../studioweb-sdk/generated/src/models/TestManagerMetadataDto.ts
14178
- function TestManagerMetadataDtoFromJSON(json) {
14179
- return TestManagerMetadataDtoFromJSONTyped(json, false);
14552
+ function TestManagerMetadataDtoFromJSON(json2) {
14553
+ return TestManagerMetadataDtoFromJSONTyped(json2, false);
14180
14554
  }
14181
- function TestManagerMetadataDtoFromJSONTyped(json, ignoreDiscriminator) {
14182
- if (json == null) {
14183
- return json;
14555
+ function TestManagerMetadataDtoFromJSONTyped(json2, ignoreDiscriminator) {
14556
+ if (json2 == null) {
14557
+ return json2;
14184
14558
  }
14185
14559
  return {
14186
- testManagerProjectId: json["testManagerProjectId"] == null ? undefined : json["testManagerProjectId"],
14187
- creationTime: json["creationTime"] == null ? undefined : new Date(json["creationTime"])
14560
+ testManagerProjectId: json2["testManagerProjectId"] == null ? undefined : json2["testManagerProjectId"],
14561
+ creationTime: json2["creationTime"] == null ? undefined : new Date(json2["creationTime"])
14188
14562
  };
14189
14563
  }
14190
14564
 
14191
14565
  // ../studioweb-sdk/generated/src/models/ProjectErrorCode.ts
14192
- function ProjectErrorCodeFromJSON(json) {
14193
- return ProjectErrorCodeFromJSONTyped(json, false);
14566
+ function ProjectErrorCodeFromJSON(json2) {
14567
+ return ProjectErrorCodeFromJSONTyped(json2, false);
14194
14568
  }
14195
- function ProjectErrorCodeFromJSONTyped(json, ignoreDiscriminator) {
14196
- return json;
14569
+ function ProjectErrorCodeFromJSONTyped(json2, ignoreDiscriminator) {
14570
+ return json2;
14197
14571
  }
14198
14572
 
14199
14573
  // ../studioweb-sdk/generated/src/models/ProjectErrorInformation.ts
14200
- function ProjectErrorInformationFromJSON(json) {
14201
- return ProjectErrorInformationFromJSONTyped(json, false);
14574
+ function ProjectErrorInformationFromJSON(json2) {
14575
+ return ProjectErrorInformationFromJSONTyped(json2, false);
14202
14576
  }
14203
- function ProjectErrorInformationFromJSONTyped(json, ignoreDiscriminator) {
14204
- if (json == null) {
14205
- return json;
14577
+ function ProjectErrorInformationFromJSONTyped(json2, ignoreDiscriminator) {
14578
+ if (json2 == null) {
14579
+ return json2;
14206
14580
  }
14207
14581
  return {
14208
- errorCode: json["errorCode"] == null ? undefined : ProjectErrorCodeFromJSON(json["errorCode"]),
14209
- metadata: json["metadata"] == null ? undefined : json["metadata"],
14210
- errorMessage: json["errorMessage"] == null ? undefined : json["errorMessage"],
14211
- locationId: json["locationId"] == null ? undefined : json["locationId"],
14212
- isSpecialLocation: json["isSpecialLocation"] == null ? undefined : json["isSpecialLocation"]
14582
+ errorCode: json2["errorCode"] == null ? undefined : ProjectErrorCodeFromJSON(json2["errorCode"]),
14583
+ metadata: json2["metadata"] == null ? undefined : json2["metadata"],
14584
+ errorMessage: json2["errorMessage"] == null ? undefined : json2["errorMessage"],
14585
+ locationId: json2["locationId"] == null ? undefined : json2["locationId"],
14586
+ isSpecialLocation: json2["isSpecialLocation"] == null ? undefined : json2["isSpecialLocation"]
14213
14587
  };
14214
14588
  }
14215
14589
 
14216
14590
  // ../studioweb-sdk/generated/src/models/SapContextDto.ts
14217
- function SapContextDtoFromJSON(json) {
14218
- return SapContextDtoFromJSONTyped(json, false);
14591
+ function SapContextDtoFromJSON(json2) {
14592
+ return SapContextDtoFromJSONTyped(json2, false);
14219
14593
  }
14220
- function SapContextDtoFromJSONTyped(json, ignoreDiscriminator) {
14221
- if (json == null) {
14222
- return json;
14594
+ function SapContextDtoFromJSONTyped(json2, ignoreDiscriminator) {
14595
+ if (json2 == null) {
14596
+ return json2;
14223
14597
  }
14224
14598
  return {
14225
- tenantId: json["tenantId"] == null ? undefined : json["tenantId"],
14226
- isPrimaryProject: json["isPrimaryProject"] == null ? undefined : json["isPrimaryProject"],
14227
- externalProjectId: json["externalProjectId"] == null ? undefined : json["externalProjectId"]
14599
+ tenantId: json2["tenantId"] == null ? undefined : json2["tenantId"],
14600
+ isPrimaryProject: json2["isPrimaryProject"] == null ? undefined : json2["isPrimaryProject"],
14601
+ externalProjectId: json2["externalProjectId"] == null ? undefined : json2["externalProjectId"]
14228
14602
  };
14229
14603
  }
14230
14604
 
14231
14605
  // ../studioweb-sdk/generated/src/models/WorkflowUiState.ts
14232
- function WorkflowUiStateFromJSON(json) {
14233
- return WorkflowUiStateFromJSONTyped(json, false);
14606
+ function WorkflowUiStateFromJSON(json2) {
14607
+ return WorkflowUiStateFromJSONTyped(json2, false);
14234
14608
  }
14235
- function WorkflowUiStateFromJSONTyped(json, ignoreDiscriminator) {
14236
- if (json == null) {
14237
- return json;
14609
+ function WorkflowUiStateFromJSONTyped(json2, ignoreDiscriminator) {
14610
+ if (json2 == null) {
14611
+ return json2;
14238
14612
  }
14239
14613
  return {
14240
- id: json["id"] == null ? undefined : json["id"],
14241
- workflowId: json["workflowId"] == null ? undefined : json["workflowId"],
14242
- json: json["json"] == null ? undefined : json["json"],
14243
- projectId: json["projectId"] == null ? undefined : json["projectId"]
14614
+ id: json2["id"] == null ? undefined : json2["id"],
14615
+ workflowId: json2["workflowId"] == null ? undefined : json2["workflowId"],
14616
+ json: json2["json"] == null ? undefined : json2["json"],
14617
+ projectId: json2["projectId"] == null ? undefined : json2["projectId"]
14244
14618
  };
14245
14619
  }
14246
14620
 
14247
14621
  // ../studioweb-sdk/generated/src/models/TargetPlatform.ts
14248
- function TargetPlatformFromJSON(json) {
14249
- return TargetPlatformFromJSONTyped(json, false);
14622
+ function TargetPlatformFromJSON(json2) {
14623
+ return TargetPlatformFromJSONTyped(json2, false);
14250
14624
  }
14251
- function TargetPlatformFromJSONTyped(json, ignoreDiscriminator) {
14252
- return json;
14625
+ function TargetPlatformFromJSONTyped(json2, ignoreDiscriminator) {
14626
+ return json2;
14253
14627
  }
14254
14628
 
14255
14629
  // ../studioweb-sdk/generated/src/models/ProjectDto.ts
14256
- function ProjectDtoFromJSON2(json) {
14257
- return ProjectDtoFromJSONTyped2(json, false);
14630
+ function ProjectDtoFromJSON2(json2) {
14631
+ return ProjectDtoFromJSONTyped2(json2, false);
14258
14632
  }
14259
- function ProjectDtoFromJSONTyped2(json, ignoreDiscriminator) {
14260
- if (json == null) {
14261
- return json;
14633
+ function ProjectDtoFromJSONTyped2(json2, ignoreDiscriminator) {
14634
+ if (json2 == null) {
14635
+ return json2;
14262
14636
  }
14263
14637
  return {
14264
- id: json["id"] == null ? undefined : json["id"],
14265
- designId: json["designId"] == null ? undefined : json["designId"],
14266
- expressionLanguage: json["expressionLanguage"] == null ? undefined : json["expressionLanguage"],
14267
- projectType: json["projectType"] == null ? undefined : json["projectType"],
14268
- name: json["name"] == null ? undefined : json["name"],
14269
- description: json["description"] == null ? undefined : json["description"],
14270
- tenantId: json["tenantId"] == null ? undefined : json["tenantId"],
14271
- status: json["status"] == null ? undefined : ProjectStatusFromJSON(json["status"]),
14272
- message: json["message"] == null ? undefined : json["message"],
14273
- lastModifiedTime: json["lastModifiedTime"] == null ? undefined : new Date(json["lastModifiedTime"]),
14274
- pinDate: json["pinDate"] == null ? undefined : new Date(json["pinDate"]),
14275
- triggerType: json["triggerType"] == null ? undefined : json["triggerType"],
14276
- trigger: json["trigger"] == null ? undefined : MetadataTriggerDtoFromJSON(json["trigger"]),
14277
- connections: json["connections"] == null ? undefined : json["connections"].map(MetadataConnectionDtoFromJSON),
14278
- lockedBy: json["lockedBy"] == null ? undefined : json["lockedBy"],
14279
- isSharedByMe: json["isSharedByMe"] == null ? undefined : json["isSharedByMe"],
14280
- isSharedWithMe: json["isSharedWithMe"] == null ? undefined : json["isSharedWithMe"],
14281
- projectAppId: json["projectAppId"] == null ? undefined : json["projectAppId"],
14282
- isSwFileSystemEnabledForApps: json["isSwFileSystemEnabledForApps"] == null ? undefined : json["isSwFileSystemEnabledForApps"],
14283
- ownerId: json["ownerId"] == null ? undefined : json["ownerId"],
14284
- sapContext: json["sapContext"] == null ? undefined : SapContextDtoFromJSON(json["sapContext"]),
14285
- hasDefaultName: json["hasDefaultName"] == null ? undefined : json["hasDefaultName"],
14286
- errorList: json["errorList"] == null ? undefined : json["errorList"].map(ProjectErrorInformationFromJSON),
14287
- solutionId: json["solutionId"] == null ? undefined : json["solutionId"],
14288
- testManagerMetadata: json["testManagerMetadata"] == null ? undefined : TestManagerMetadataDtoFromJSON(json["testManagerMetadata"]),
14289
- isPreview: json["isPreview"] == null ? undefined : json["isPreview"],
14290
- lastPublishedVersion: json["lastPublishedVersion"] == null ? undefined : PublishResultModelFromJSON(json["lastPublishedVersion"]),
14291
- publishedToFeeds: json["publishedToFeeds"] == null ? undefined : json["publishedToFeeds"],
14292
- sortIndex: json["sortIndex"] == null ? undefined : json["sortIndex"],
14293
- hasTestCases: json["hasTestCases"] == null ? undefined : json["hasTestCases"],
14294
- isApp: json["isApp"] == null ? undefined : json["isApp"],
14295
- targetPlatform: json["targetPlatform"] == null ? undefined : TargetPlatformFromJSON(json["targetPlatform"]),
14296
- creationTime: json["creationTime"] == null ? undefined : new Date(json["creationTime"]),
14297
- userId: json["userId"] == null ? undefined : json["userId"],
14298
- rootFolder: json["rootFolder"] == null ? undefined : FolderDtoFromJSON(json["rootFolder"]),
14299
- dependencies: json["dependencies"] == null ? undefined : json["dependencies"].map(PackageDtoFromJSON),
14300
- uiStateWorkflows: json["uiStateWorkflows"] == null ? undefined : json["uiStateWorkflows"].map(WorkflowUiStateFromJSON),
14301
- hasTrigger: json["hasTrigger"] == null ? undefined : json["hasTrigger"],
14302
- disableAutoUpdate: json["disableAutoUpdate"] == null ? undefined : json["disableAutoUpdate"],
14303
- userAccessStatus: json["userAccessStatus"] == null ? undefined : AccessStatusFromJSON(json["userAccessStatus"]),
14304
- hasUnsavedEdits: json["hasUnsavedEdits"] == null ? undefined : json["hasUnsavedEdits"],
14305
- projectJson: json["projectJson"] == null ? undefined : json["projectJson"],
14306
- isReadOnly: json["isReadOnly"] == null ? undefined : json["isReadOnly"],
14307
- version: json["version"] == null ? undefined : json["version"],
14308
- additionalBindingProperties: json["additionalBindingProperties"] == null ? undefined : json["additionalBindingProperties"].map(AdditionalBindingPropertiesDtoFromJSON),
14309
- workflowsWithErrors: json["workflowsWithErrors"] == null ? undefined : json["workflowsWithErrors"],
14310
- requirePreprocessing: json["requirePreprocessing"] == null ? undefined : json["requirePreprocessing"],
14311
- permissions: json["permissions"] == null ? undefined : SharingPermissionsFromJSON(json["permissions"]),
14312
- projectSubType: json["projectSubType"] == null ? undefined : json["projectSubType"],
14313
- appUsageType: json["appUsageType"] == null ? undefined : AppUsageTypeFromJSON(json["appUsageType"]),
14314
- parentProjectId: json["parentProjectId"] == null ? undefined : json["parentProjectId"],
14315
- jitVersion: json["jitVersion"] == null ? undefined : json["jitVersion"]
14638
+ id: json2["id"] == null ? undefined : json2["id"],
14639
+ designId: json2["designId"] == null ? undefined : json2["designId"],
14640
+ expressionLanguage: json2["expressionLanguage"] == null ? undefined : json2["expressionLanguage"],
14641
+ projectType: json2["projectType"] == null ? undefined : json2["projectType"],
14642
+ name: json2["name"] == null ? undefined : json2["name"],
14643
+ description: json2["description"] == null ? undefined : json2["description"],
14644
+ tenantId: json2["tenantId"] == null ? undefined : json2["tenantId"],
14645
+ status: json2["status"] == null ? undefined : ProjectStatusFromJSON(json2["status"]),
14646
+ message: json2["message"] == null ? undefined : json2["message"],
14647
+ lastModifiedTime: json2["lastModifiedTime"] == null ? undefined : new Date(json2["lastModifiedTime"]),
14648
+ pinDate: json2["pinDate"] == null ? undefined : new Date(json2["pinDate"]),
14649
+ triggerType: json2["triggerType"] == null ? undefined : json2["triggerType"],
14650
+ trigger: json2["trigger"] == null ? undefined : MetadataTriggerDtoFromJSON(json2["trigger"]),
14651
+ connections: json2["connections"] == null ? undefined : json2["connections"].map(MetadataConnectionDtoFromJSON),
14652
+ lockedBy: json2["lockedBy"] == null ? undefined : json2["lockedBy"],
14653
+ isSharedByMe: json2["isSharedByMe"] == null ? undefined : json2["isSharedByMe"],
14654
+ isSharedWithMe: json2["isSharedWithMe"] == null ? undefined : json2["isSharedWithMe"],
14655
+ projectAppId: json2["projectAppId"] == null ? undefined : json2["projectAppId"],
14656
+ isSwFileSystemEnabledForApps: json2["isSwFileSystemEnabledForApps"] == null ? undefined : json2["isSwFileSystemEnabledForApps"],
14657
+ ownerId: json2["ownerId"] == null ? undefined : json2["ownerId"],
14658
+ sapContext: json2["sapContext"] == null ? undefined : SapContextDtoFromJSON(json2["sapContext"]),
14659
+ hasDefaultName: json2["hasDefaultName"] == null ? undefined : json2["hasDefaultName"],
14660
+ errorList: json2["errorList"] == null ? undefined : json2["errorList"].map(ProjectErrorInformationFromJSON),
14661
+ solutionId: json2["solutionId"] == null ? undefined : json2["solutionId"],
14662
+ testManagerMetadata: json2["testManagerMetadata"] == null ? undefined : TestManagerMetadataDtoFromJSON(json2["testManagerMetadata"]),
14663
+ isPreview: json2["isPreview"] == null ? undefined : json2["isPreview"],
14664
+ lastPublishedVersion: json2["lastPublishedVersion"] == null ? undefined : PublishResultModelFromJSON(json2["lastPublishedVersion"]),
14665
+ publishedToFeeds: json2["publishedToFeeds"] == null ? undefined : json2["publishedToFeeds"],
14666
+ sortIndex: json2["sortIndex"] == null ? undefined : json2["sortIndex"],
14667
+ hasTestCases: json2["hasTestCases"] == null ? undefined : json2["hasTestCases"],
14668
+ isApp: json2["isApp"] == null ? undefined : json2["isApp"],
14669
+ targetPlatform: json2["targetPlatform"] == null ? undefined : TargetPlatformFromJSON(json2["targetPlatform"]),
14670
+ creationTime: json2["creationTime"] == null ? undefined : new Date(json2["creationTime"]),
14671
+ userId: json2["userId"] == null ? undefined : json2["userId"],
14672
+ rootFolder: json2["rootFolder"] == null ? undefined : FolderDtoFromJSON(json2["rootFolder"]),
14673
+ dependencies: json2["dependencies"] == null ? undefined : json2["dependencies"].map(PackageDtoFromJSON),
14674
+ uiStateWorkflows: json2["uiStateWorkflows"] == null ? undefined : json2["uiStateWorkflows"].map(WorkflowUiStateFromJSON),
14675
+ hasTrigger: json2["hasTrigger"] == null ? undefined : json2["hasTrigger"],
14676
+ disableAutoUpdate: json2["disableAutoUpdate"] == null ? undefined : json2["disableAutoUpdate"],
14677
+ userAccessStatus: json2["userAccessStatus"] == null ? undefined : AccessStatusFromJSON(json2["userAccessStatus"]),
14678
+ hasUnsavedEdits: json2["hasUnsavedEdits"] == null ? undefined : json2["hasUnsavedEdits"],
14679
+ projectJson: json2["projectJson"] == null ? undefined : json2["projectJson"],
14680
+ isReadOnly: json2["isReadOnly"] == null ? undefined : json2["isReadOnly"],
14681
+ version: json2["version"] == null ? undefined : json2["version"],
14682
+ additionalBindingProperties: json2["additionalBindingProperties"] == null ? undefined : json2["additionalBindingProperties"].map(AdditionalBindingPropertiesDtoFromJSON),
14683
+ workflowsWithErrors: json2["workflowsWithErrors"] == null ? undefined : json2["workflowsWithErrors"],
14684
+ requirePreprocessing: json2["requirePreprocessing"] == null ? undefined : json2["requirePreprocessing"],
14685
+ permissions: json2["permissions"] == null ? undefined : SharingPermissionsFromJSON(json2["permissions"]),
14686
+ projectSubType: json2["projectSubType"] == null ? undefined : json2["projectSubType"],
14687
+ appUsageType: json2["appUsageType"] == null ? undefined : AppUsageTypeFromJSON(json2["appUsageType"]),
14688
+ parentProjectId: json2["parentProjectId"] == null ? undefined : json2["parentProjectId"],
14689
+ jitVersion: json2["jitVersion"] == null ? undefined : json2["jitVersion"]
14316
14690
  };
14317
14691
  }
14318
14692
  // ../studioweb-sdk/generated/src/models/SolutionStatus.ts
14319
- function SolutionStatusFromJSON(json) {
14320
- return SolutionStatusFromJSONTyped(json, false);
14693
+ function SolutionStatusFromJSON(json2) {
14694
+ return SolutionStatusFromJSONTyped(json2, false);
14321
14695
  }
14322
- function SolutionStatusFromJSONTyped(json, ignoreDiscriminator) {
14323
- return json;
14696
+ function SolutionStatusFromJSONTyped(json2, ignoreDiscriminator) {
14697
+ return json2;
14324
14698
  }
14325
14699
 
14326
14700
  // ../studioweb-sdk/generated/src/models/SolutionPublishStatus.ts
14327
- function SolutionPublishStatusFromJSON(json) {
14328
- return SolutionPublishStatusFromJSONTyped(json, false);
14701
+ function SolutionPublishStatusFromJSON(json2) {
14702
+ return SolutionPublishStatusFromJSONTyped(json2, false);
14329
14703
  }
14330
- function SolutionPublishStatusFromJSONTyped(json, ignoreDiscriminator) {
14331
- return json;
14704
+ function SolutionPublishStatusFromJSONTyped(json2, ignoreDiscriminator) {
14705
+ return json2;
14332
14706
  }
14333
14707
 
14334
14708
  // ../studioweb-sdk/generated/src/models/SolutionDto.ts
14335
- function SolutionDtoFromJSON(json) {
14336
- return SolutionDtoFromJSONTyped(json, false);
14709
+ function SolutionDtoFromJSON(json2) {
14710
+ return SolutionDtoFromJSONTyped(json2, false);
14337
14711
  }
14338
- function SolutionDtoFromJSONTyped(json, ignoreDiscriminator) {
14339
- if (json == null) {
14340
- return json;
14712
+ function SolutionDtoFromJSONTyped(json2, ignoreDiscriminator) {
14713
+ if (json2 == null) {
14714
+ return json2;
14341
14715
  }
14342
14716
  return {
14343
- id: json["id"] == null ? undefined : json["id"],
14344
- name: json["name"] == null ? undefined : json["name"],
14345
- description: json["description"] == null ? undefined : json["description"],
14346
- userId: json["userId"] == null ? undefined : json["userId"],
14347
- organizationId: json["organizationId"] == null ? undefined : json["organizationId"],
14348
- status: json["status"] == null ? undefined : SolutionStatusFromJSON(json["status"]),
14349
- projects: json["projects"] == null ? undefined : json["projects"].map(ProjectDtoFromJSON2),
14350
- isSharedWithMe: json["isSharedWithMe"] == null ? undefined : json["isSharedWithMe"],
14351
- isSharedByMe: json["isSharedByMe"] == null ? undefined : json["isSharedByMe"],
14352
- permissions: json["permissions"] == null ? undefined : SharingPermissionsFromJSON(json["permissions"]),
14353
- lastModifiedTime: json["lastModifiedTime"] == null ? undefined : new Date(json["lastModifiedTime"]),
14354
- resourcesLastModifiedTime: json["resourcesLastModifiedTime"] == null ? undefined : new Date(json["resourcesLastModifiedTime"]),
14355
- hasDraftEdits: json["hasDraftEdits"] == null ? undefined : json["hasDraftEdits"],
14356
- publishStatus: json["publishStatus"] == null ? undefined : SolutionPublishStatusFromJSON(json["publishStatus"]),
14357
- lastAccessedTenantId: json["lastAccessedTenantId"] == null ? undefined : json["lastAccessedTenantId"],
14358
- automationHubIdeaUrl: json["automationHubIdeaUrl"] == null ? undefined : json["automationHubIdeaUrl"]
14717
+ id: json2["id"] == null ? undefined : json2["id"],
14718
+ name: json2["name"] == null ? undefined : json2["name"],
14719
+ description: json2["description"] == null ? undefined : json2["description"],
14720
+ userId: json2["userId"] == null ? undefined : json2["userId"],
14721
+ organizationId: json2["organizationId"] == null ? undefined : json2["organizationId"],
14722
+ status: json2["status"] == null ? undefined : SolutionStatusFromJSON(json2["status"]),
14723
+ projects: json2["projects"] == null ? undefined : json2["projects"].map(ProjectDtoFromJSON2),
14724
+ isSharedWithMe: json2["isSharedWithMe"] == null ? undefined : json2["isSharedWithMe"],
14725
+ isSharedByMe: json2["isSharedByMe"] == null ? undefined : json2["isSharedByMe"],
14726
+ permissions: json2["permissions"] == null ? undefined : SharingPermissionsFromJSON(json2["permissions"]),
14727
+ lastModifiedTime: json2["lastModifiedTime"] == null ? undefined : new Date(json2["lastModifiedTime"]),
14728
+ resourcesLastModifiedTime: json2["resourcesLastModifiedTime"] == null ? undefined : new Date(json2["resourcesLastModifiedTime"]),
14729
+ hasDraftEdits: json2["hasDraftEdits"] == null ? undefined : json2["hasDraftEdits"],
14730
+ publishStatus: json2["publishStatus"] == null ? undefined : SolutionPublishStatusFromJSON(json2["publishStatus"]),
14731
+ lastAccessedTenantId: json2["lastAccessedTenantId"] == null ? undefined : json2["lastAccessedTenantId"],
14732
+ automationHubIdeaUrl: json2["automationHubIdeaUrl"] == null ? undefined : json2["automationHubIdeaUrl"]
14359
14733
  };
14360
14734
  }
14361
14735
  // ../studioweb-sdk/generated/src/apis/SolutionApi.ts
@@ -14894,4 +15268,4 @@ export {
14894
15268
  BASE_PATH
14895
15269
  };
14896
15270
 
14897
- //# debugId=906208377B2D134864756E2164756E21
15271
+ //# debugId=8F0D255CDD938BB064756E2164756E21