@superblocksteam/cli 2.0.3-next.104 → 2.0.3-next.106

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.
@@ -4293,6 +4293,18 @@ var init_baseToString = __esm({
4293
4293
  }
4294
4294
  });
4295
4295
 
4296
+ // ../../../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/identity.js
4297
+ function identity(value) {
4298
+ return value;
4299
+ }
4300
+ var identity_default;
4301
+ var init_identity = __esm({
4302
+ "../../../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/identity.js"() {
4303
+ init_cjs_shims();
4304
+ identity_default = identity;
4305
+ }
4306
+ });
4307
+
4296
4308
  // ../../../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isKey.js
4297
4309
  function isKey(value, object) {
4298
4310
  if (isArray_default(value)) {
@@ -4841,6 +4853,275 @@ var init_baseIsEqual = __esm({
4841
4853
  }
4842
4854
  });
4843
4855
 
4856
+ // ../../../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsMatch.js
4857
+ function baseIsMatch(object, source, matchData, customizer) {
4858
+ var index = matchData.length, length = index, noCustomizer = !customizer;
4859
+ if (object == null) {
4860
+ return !length;
4861
+ }
4862
+ object = Object(object);
4863
+ while (index--) {
4864
+ var data = matchData[index];
4865
+ if (noCustomizer && data[2] ? data[1] !== object[data[0]] : !(data[0] in object)) {
4866
+ return false;
4867
+ }
4868
+ }
4869
+ while (++index < length) {
4870
+ data = matchData[index];
4871
+ var key = data[0], objValue = object[key], srcValue = data[1];
4872
+ if (noCustomizer && data[2]) {
4873
+ if (objValue === void 0 && !(key in object)) {
4874
+ return false;
4875
+ }
4876
+ } else {
4877
+ var stack = new Stack_default();
4878
+ if (customizer) {
4879
+ var result = customizer(objValue, srcValue, key, object, source, stack);
4880
+ }
4881
+ if (!(result === void 0 ? baseIsEqual_default(srcValue, objValue, COMPARE_PARTIAL_FLAG5 | COMPARE_UNORDERED_FLAG3, customizer, stack) : result)) {
4882
+ return false;
4883
+ }
4884
+ }
4885
+ }
4886
+ return true;
4887
+ }
4888
+ var COMPARE_PARTIAL_FLAG5, COMPARE_UNORDERED_FLAG3, baseIsMatch_default;
4889
+ var init_baseIsMatch = __esm({
4890
+ "../../../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsMatch.js"() {
4891
+ init_cjs_shims();
4892
+ init_Stack();
4893
+ init_baseIsEqual();
4894
+ COMPARE_PARTIAL_FLAG5 = 1;
4895
+ COMPARE_UNORDERED_FLAG3 = 2;
4896
+ baseIsMatch_default = baseIsMatch;
4897
+ }
4898
+ });
4899
+
4900
+ // ../../../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isStrictComparable.js
4901
+ function isStrictComparable(value) {
4902
+ return value === value && !isObject_default(value);
4903
+ }
4904
+ var isStrictComparable_default;
4905
+ var init_isStrictComparable = __esm({
4906
+ "../../../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isStrictComparable.js"() {
4907
+ init_cjs_shims();
4908
+ init_isObject();
4909
+ isStrictComparable_default = isStrictComparable;
4910
+ }
4911
+ });
4912
+
4913
+ // ../../../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getMatchData.js
4914
+ function getMatchData(object) {
4915
+ var result = keys_default(object), length = result.length;
4916
+ while (length--) {
4917
+ var key = result[length], value = object[key];
4918
+ result[length] = [key, value, isStrictComparable_default(value)];
4919
+ }
4920
+ return result;
4921
+ }
4922
+ var getMatchData_default;
4923
+ var init_getMatchData = __esm({
4924
+ "../../../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getMatchData.js"() {
4925
+ init_cjs_shims();
4926
+ init_isStrictComparable();
4927
+ init_keys();
4928
+ getMatchData_default = getMatchData;
4929
+ }
4930
+ });
4931
+
4932
+ // ../../../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_matchesStrictComparable.js
4933
+ function matchesStrictComparable(key, srcValue) {
4934
+ return function(object) {
4935
+ if (object == null) {
4936
+ return false;
4937
+ }
4938
+ return object[key] === srcValue && (srcValue !== void 0 || key in Object(object));
4939
+ };
4940
+ }
4941
+ var matchesStrictComparable_default;
4942
+ var init_matchesStrictComparable = __esm({
4943
+ "../../../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_matchesStrictComparable.js"() {
4944
+ init_cjs_shims();
4945
+ matchesStrictComparable_default = matchesStrictComparable;
4946
+ }
4947
+ });
4948
+
4949
+ // ../../../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseMatches.js
4950
+ function baseMatches(source) {
4951
+ var matchData = getMatchData_default(source);
4952
+ if (matchData.length == 1 && matchData[0][2]) {
4953
+ return matchesStrictComparable_default(matchData[0][0], matchData[0][1]);
4954
+ }
4955
+ return function(object) {
4956
+ return object === source || baseIsMatch_default(object, source, matchData);
4957
+ };
4958
+ }
4959
+ var baseMatches_default;
4960
+ var init_baseMatches = __esm({
4961
+ "../../../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseMatches.js"() {
4962
+ init_cjs_shims();
4963
+ init_baseIsMatch();
4964
+ init_getMatchData();
4965
+ init_matchesStrictComparable();
4966
+ baseMatches_default = baseMatches;
4967
+ }
4968
+ });
4969
+
4970
+ // ../../../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseHasIn.js
4971
+ function baseHasIn(object, key) {
4972
+ return object != null && key in Object(object);
4973
+ }
4974
+ var baseHasIn_default;
4975
+ var init_baseHasIn = __esm({
4976
+ "../../../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseHasIn.js"() {
4977
+ init_cjs_shims();
4978
+ baseHasIn_default = baseHasIn;
4979
+ }
4980
+ });
4981
+
4982
+ // ../../../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hasPath.js
4983
+ function hasPath(object, path, hasFunc) {
4984
+ path = castPath_default(path, object);
4985
+ var index = -1, length = path.length, result = false;
4986
+ while (++index < length) {
4987
+ var key = toKey_default(path[index]);
4988
+ if (!(result = object != null && hasFunc(object, key))) {
4989
+ break;
4990
+ }
4991
+ object = object[key];
4992
+ }
4993
+ if (result || ++index != length) {
4994
+ return result;
4995
+ }
4996
+ length = object == null ? 0 : object.length;
4997
+ return !!length && isLength_default(length) && isIndex_default(key, length) && (isArray_default(object) || isArguments_default(object));
4998
+ }
4999
+ var hasPath_default;
5000
+ var init_hasPath = __esm({
5001
+ "../../../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hasPath.js"() {
5002
+ init_cjs_shims();
5003
+ init_castPath();
5004
+ init_isArguments();
5005
+ init_isArray();
5006
+ init_isIndex();
5007
+ init_isLength();
5008
+ init_toKey();
5009
+ hasPath_default = hasPath;
5010
+ }
5011
+ });
5012
+
5013
+ // ../../../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/hasIn.js
5014
+ function hasIn(object, path) {
5015
+ return object != null && hasPath_default(object, path, baseHasIn_default);
5016
+ }
5017
+ var hasIn_default;
5018
+ var init_hasIn = __esm({
5019
+ "../../../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/hasIn.js"() {
5020
+ init_cjs_shims();
5021
+ init_baseHasIn();
5022
+ init_hasPath();
5023
+ hasIn_default = hasIn;
5024
+ }
5025
+ });
5026
+
5027
+ // ../../../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseMatchesProperty.js
5028
+ function baseMatchesProperty(path, srcValue) {
5029
+ if (isKey_default(path) && isStrictComparable_default(srcValue)) {
5030
+ return matchesStrictComparable_default(toKey_default(path), srcValue);
5031
+ }
5032
+ return function(object) {
5033
+ var objValue = get_default(object, path);
5034
+ return objValue === void 0 && objValue === srcValue ? hasIn_default(object, path) : baseIsEqual_default(srcValue, objValue, COMPARE_PARTIAL_FLAG6 | COMPARE_UNORDERED_FLAG4);
5035
+ };
5036
+ }
5037
+ var COMPARE_PARTIAL_FLAG6, COMPARE_UNORDERED_FLAG4, baseMatchesProperty_default;
5038
+ var init_baseMatchesProperty = __esm({
5039
+ "../../../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseMatchesProperty.js"() {
5040
+ init_cjs_shims();
5041
+ init_baseIsEqual();
5042
+ init_get();
5043
+ init_hasIn();
5044
+ init_isKey();
5045
+ init_isStrictComparable();
5046
+ init_matchesStrictComparable();
5047
+ init_toKey();
5048
+ COMPARE_PARTIAL_FLAG6 = 1;
5049
+ COMPARE_UNORDERED_FLAG4 = 2;
5050
+ baseMatchesProperty_default = baseMatchesProperty;
5051
+ }
5052
+ });
5053
+
5054
+ // ../../../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseProperty.js
5055
+ function baseProperty(key) {
5056
+ return function(object) {
5057
+ return object == null ? void 0 : object[key];
5058
+ };
5059
+ }
5060
+ var baseProperty_default;
5061
+ var init_baseProperty = __esm({
5062
+ "../../../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseProperty.js"() {
5063
+ init_cjs_shims();
5064
+ baseProperty_default = baseProperty;
5065
+ }
5066
+ });
5067
+
5068
+ // ../../../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_basePropertyDeep.js
5069
+ function basePropertyDeep(path) {
5070
+ return function(object) {
5071
+ return baseGet_default(object, path);
5072
+ };
5073
+ }
5074
+ var basePropertyDeep_default;
5075
+ var init_basePropertyDeep = __esm({
5076
+ "../../../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_basePropertyDeep.js"() {
5077
+ init_cjs_shims();
5078
+ init_baseGet();
5079
+ basePropertyDeep_default = basePropertyDeep;
5080
+ }
5081
+ });
5082
+
5083
+ // ../../../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/property.js
5084
+ function property(path) {
5085
+ return isKey_default(path) ? baseProperty_default(toKey_default(path)) : basePropertyDeep_default(path);
5086
+ }
5087
+ var property_default;
5088
+ var init_property = __esm({
5089
+ "../../../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/property.js"() {
5090
+ init_cjs_shims();
5091
+ init_baseProperty();
5092
+ init_basePropertyDeep();
5093
+ init_isKey();
5094
+ init_toKey();
5095
+ property_default = property;
5096
+ }
5097
+ });
5098
+
5099
+ // ../../../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIteratee.js
5100
+ function baseIteratee(value) {
5101
+ if (typeof value == "function") {
5102
+ return value;
5103
+ }
5104
+ if (value == null) {
5105
+ return identity_default;
5106
+ }
5107
+ if (typeof value == "object") {
5108
+ return isArray_default(value) ? baseMatchesProperty_default(value[0], value[1]) : baseMatches_default(value);
5109
+ }
5110
+ return property_default(value);
5111
+ }
5112
+ var baseIteratee_default;
5113
+ var init_baseIteratee = __esm({
5114
+ "../../../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIteratee.js"() {
5115
+ init_cjs_shims();
5116
+ init_baseMatches();
5117
+ init_baseMatchesProperty();
5118
+ init_identity();
5119
+ init_isArray();
5120
+ init_property();
5121
+ baseIteratee_default = baseIteratee;
5122
+ }
5123
+ });
5124
+
4844
5125
  // ../../../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isString.js
4845
5126
  function isString(value) {
4846
5127
  return typeof value == "string" || !isArray_default(value) && isObjectLike_default(value) && baseGetTag_default(value) == stringTag5;
@@ -4912,6 +5193,90 @@ var init_isEqual = __esm({
4912
5193
  }
4913
5194
  });
4914
5195
 
5196
+ // ../../../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseSet.js
5197
+ function baseSet(object, path, value, customizer) {
5198
+ if (!isObject_default(object)) {
5199
+ return object;
5200
+ }
5201
+ path = castPath_default(path, object);
5202
+ var index = -1, length = path.length, lastIndex = length - 1, nested = object;
5203
+ while (nested != null && ++index < length) {
5204
+ var key = toKey_default(path[index]), newValue = value;
5205
+ if (key === "__proto__" || key === "constructor" || key === "prototype") {
5206
+ return object;
5207
+ }
5208
+ if (index != lastIndex) {
5209
+ var objValue = nested[key];
5210
+ newValue = customizer ? customizer(objValue, key, nested) : void 0;
5211
+ if (newValue === void 0) {
5212
+ newValue = isObject_default(objValue) ? objValue : isIndex_default(path[index + 1]) ? [] : {};
5213
+ }
5214
+ }
5215
+ assignValue_default(nested, key, newValue);
5216
+ nested = nested[key];
5217
+ }
5218
+ return object;
5219
+ }
5220
+ var baseSet_default;
5221
+ var init_baseSet = __esm({
5222
+ "../../../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseSet.js"() {
5223
+ init_cjs_shims();
5224
+ init_assignValue();
5225
+ init_castPath();
5226
+ init_isIndex();
5227
+ init_isObject();
5228
+ init_toKey();
5229
+ baseSet_default = baseSet;
5230
+ }
5231
+ });
5232
+
5233
+ // ../../../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_basePickBy.js
5234
+ function basePickBy(object, paths, predicate) {
5235
+ var index = -1, length = paths.length, result = {};
5236
+ while (++index < length) {
5237
+ var path = paths[index], value = baseGet_default(object, path);
5238
+ if (predicate(value, path)) {
5239
+ baseSet_default(result, castPath_default(path, object), value);
5240
+ }
5241
+ }
5242
+ return result;
5243
+ }
5244
+ var basePickBy_default;
5245
+ var init_basePickBy = __esm({
5246
+ "../../../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_basePickBy.js"() {
5247
+ init_cjs_shims();
5248
+ init_baseGet();
5249
+ init_baseSet();
5250
+ init_castPath();
5251
+ basePickBy_default = basePickBy;
5252
+ }
5253
+ });
5254
+
5255
+ // ../../../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/pickBy.js
5256
+ function pickBy(object, predicate) {
5257
+ if (object == null) {
5258
+ return {};
5259
+ }
5260
+ var props = arrayMap_default(getAllKeysIn_default(object), function(prop) {
5261
+ return [prop];
5262
+ });
5263
+ predicate = baseIteratee_default(predicate);
5264
+ return basePickBy_default(object, props, function(value, path) {
5265
+ return predicate(value, path[0]);
5266
+ });
5267
+ }
5268
+ var pickBy_default;
5269
+ var init_pickBy = __esm({
5270
+ "../../../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/pickBy.js"() {
5271
+ init_cjs_shims();
5272
+ init_arrayMap();
5273
+ init_baseIteratee();
5274
+ init_basePickBy();
5275
+ init_getAllKeysIn();
5276
+ pickBy_default = pickBy;
5277
+ }
5278
+ });
5279
+
4915
5280
  // ../../../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/lodash.js
4916
5281
  var init_lodash = __esm({
4917
5282
  "../../../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/lodash.js"() {
@@ -4923,6 +5288,7 @@ var init_lodash = __esm({
4923
5288
  init_isEqual();
4924
5289
  init_isObject();
4925
5290
  init_isString();
5291
+ init_pickBy();
4926
5292
  }
4927
5293
  });
4928
5294
 
@@ -4989,13 +5355,13 @@ var require_visit = __commonJS({
4989
5355
  "../../../../node_modules/.pnpm/yaml@2.7.1/node_modules/yaml/dist/visit.js"(exports2) {
4990
5356
  "use strict";
4991
5357
  init_cjs_shims();
4992
- var identity = require_identity();
5358
+ var identity2 = require_identity();
4993
5359
  var BREAK = Symbol("break visit");
4994
5360
  var SKIP = Symbol("skip children");
4995
5361
  var REMOVE = Symbol("remove node");
4996
5362
  function visit(node, visitor) {
4997
5363
  const visitor_ = initVisitor(visitor);
4998
- if (identity.isDocument(node)) {
5364
+ if (identity2.isDocument(node)) {
4999
5365
  const cd = visit_(null, node.contents, visitor_, Object.freeze([node]));
5000
5366
  if (cd === REMOVE)
5001
5367
  node.contents = null;
@@ -5007,12 +5373,12 @@ var require_visit = __commonJS({
5007
5373
  visit.REMOVE = REMOVE;
5008
5374
  function visit_(key, node, visitor, path) {
5009
5375
  const ctrl = callVisitor(key, node, visitor, path);
5010
- if (identity.isNode(ctrl) || identity.isPair(ctrl)) {
5376
+ if (identity2.isNode(ctrl) || identity2.isPair(ctrl)) {
5011
5377
  replaceNode(key, path, ctrl);
5012
5378
  return visit_(key, ctrl, visitor, path);
5013
5379
  }
5014
5380
  if (typeof ctrl !== "symbol") {
5015
- if (identity.isCollection(node)) {
5381
+ if (identity2.isCollection(node)) {
5016
5382
  path = Object.freeze(path.concat(node));
5017
5383
  for (let i = 0; i < node.items.length; ++i) {
5018
5384
  const ci = visit_(i, node.items[i], visitor, path);
@@ -5025,7 +5391,7 @@ var require_visit = __commonJS({
5025
5391
  i -= 1;
5026
5392
  }
5027
5393
  }
5028
- } else if (identity.isPair(node)) {
5394
+ } else if (identity2.isPair(node)) {
5029
5395
  path = Object.freeze(path.concat(node));
5030
5396
  const ck = visit_("key", node.key, visitor, path);
5031
5397
  if (ck === BREAK)
@@ -5043,7 +5409,7 @@ var require_visit = __commonJS({
5043
5409
  }
5044
5410
  async function visitAsync(node, visitor) {
5045
5411
  const visitor_ = initVisitor(visitor);
5046
- if (identity.isDocument(node)) {
5412
+ if (identity2.isDocument(node)) {
5047
5413
  const cd = await visitAsync_(null, node.contents, visitor_, Object.freeze([node]));
5048
5414
  if (cd === REMOVE)
5049
5415
  node.contents = null;
@@ -5055,12 +5421,12 @@ var require_visit = __commonJS({
5055
5421
  visitAsync.REMOVE = REMOVE;
5056
5422
  async function visitAsync_(key, node, visitor, path) {
5057
5423
  const ctrl = await callVisitor(key, node, visitor, path);
5058
- if (identity.isNode(ctrl) || identity.isPair(ctrl)) {
5424
+ if (identity2.isNode(ctrl) || identity2.isPair(ctrl)) {
5059
5425
  replaceNode(key, path, ctrl);
5060
5426
  return visitAsync_(key, ctrl, visitor, path);
5061
5427
  }
5062
5428
  if (typeof ctrl !== "symbol") {
5063
- if (identity.isCollection(node)) {
5429
+ if (identity2.isCollection(node)) {
5064
5430
  path = Object.freeze(path.concat(node));
5065
5431
  for (let i = 0; i < node.items.length; ++i) {
5066
5432
  const ci = await visitAsync_(i, node.items[i], visitor, path);
@@ -5073,7 +5439,7 @@ var require_visit = __commonJS({
5073
5439
  i -= 1;
5074
5440
  }
5075
5441
  }
5076
- } else if (identity.isPair(node)) {
5442
+ } else if (identity2.isPair(node)) {
5077
5443
  path = Object.freeze(path.concat(node));
5078
5444
  const ck = await visitAsync_("key", node.key, visitor, path);
5079
5445
  if (ck === BREAK)
@@ -5110,31 +5476,31 @@ var require_visit = __commonJS({
5110
5476
  function callVisitor(key, node, visitor, path) {
5111
5477
  if (typeof visitor === "function")
5112
5478
  return visitor(key, node, path);
5113
- if (identity.isMap(node))
5479
+ if (identity2.isMap(node))
5114
5480
  return visitor.Map?.(key, node, path);
5115
- if (identity.isSeq(node))
5481
+ if (identity2.isSeq(node))
5116
5482
  return visitor.Seq?.(key, node, path);
5117
- if (identity.isPair(node))
5483
+ if (identity2.isPair(node))
5118
5484
  return visitor.Pair?.(key, node, path);
5119
- if (identity.isScalar(node))
5485
+ if (identity2.isScalar(node))
5120
5486
  return visitor.Scalar?.(key, node, path);
5121
- if (identity.isAlias(node))
5487
+ if (identity2.isAlias(node))
5122
5488
  return visitor.Alias?.(key, node, path);
5123
5489
  return void 0;
5124
5490
  }
5125
5491
  function replaceNode(key, path, node) {
5126
5492
  const parent = path[path.length - 1];
5127
- if (identity.isCollection(parent)) {
5493
+ if (identity2.isCollection(parent)) {
5128
5494
  parent.items[key] = node;
5129
- } else if (identity.isPair(parent)) {
5495
+ } else if (identity2.isPair(parent)) {
5130
5496
  if (key === "key")
5131
5497
  parent.key = node;
5132
5498
  else
5133
5499
  parent.value = node;
5134
- } else if (identity.isDocument(parent)) {
5500
+ } else if (identity2.isDocument(parent)) {
5135
5501
  parent.contents = node;
5136
5502
  } else {
5137
- const pt = identity.isAlias(parent) ? "alias" : "scalar";
5503
+ const pt = identity2.isAlias(parent) ? "alias" : "scalar";
5138
5504
  throw new Error(`Cannot replace node with ${pt} parent`);
5139
5505
  }
5140
5506
  }
@@ -5148,7 +5514,7 @@ var require_directives = __commonJS({
5148
5514
  "../../../../node_modules/.pnpm/yaml@2.7.1/node_modules/yaml/dist/doc/directives.js"(exports2) {
5149
5515
  "use strict";
5150
5516
  init_cjs_shims();
5151
- var identity = require_identity();
5517
+ var identity2 = require_identity();
5152
5518
  var visit = require_visit();
5153
5519
  var escapeChars = {
5154
5520
  "!": "%21",
@@ -5291,10 +5657,10 @@ var require_directives = __commonJS({
5291
5657
  const lines = this.yaml.explicit ? [`%YAML ${this.yaml.version || "1.2"}`] : [];
5292
5658
  const tagEntries = Object.entries(this.tags);
5293
5659
  let tagNames;
5294
- if (doc && tagEntries.length > 0 && identity.isNode(doc.contents)) {
5660
+ if (doc && tagEntries.length > 0 && identity2.isNode(doc.contents)) {
5295
5661
  const tags = {};
5296
5662
  visit.visit(doc.contents, (_key, node) => {
5297
- if (identity.isNode(node) && node.tag)
5663
+ if (identity2.isNode(node) && node.tag)
5298
5664
  tags[node.tag] = true;
5299
5665
  });
5300
5666
  tagNames = Object.keys(tags);
@@ -5320,7 +5686,7 @@ var require_anchors = __commonJS({
5320
5686
  "../../../../node_modules/.pnpm/yaml@2.7.1/node_modules/yaml/dist/doc/anchors.js"(exports2) {
5321
5687
  "use strict";
5322
5688
  init_cjs_shims();
5323
- var identity = require_identity();
5689
+ var identity2 = require_identity();
5324
5690
  var visit = require_visit();
5325
5691
  function anchorIsValid(anchor) {
5326
5692
  if (/[\x00-\x19\s,[\]{}]/.test(anchor)) {
@@ -5368,7 +5734,7 @@ var require_anchors = __commonJS({
5368
5734
  setAnchors: () => {
5369
5735
  for (const source of aliasObjects) {
5370
5736
  const ref = sourceObjects.get(source);
5371
- if (typeof ref === "object" && ref.anchor && (identity.isScalar(ref.node) || identity.isCollection(ref.node))) {
5737
+ if (typeof ref === "object" && ref.anchor && (identity2.isScalar(ref.node) || identity2.isCollection(ref.node))) {
5372
5738
  ref.node.anchor = ref.anchor;
5373
5739
  } else {
5374
5740
  const error = new Error("Failed to resolve repeated object (this should not happen)");
@@ -5443,12 +5809,12 @@ var require_toJS = __commonJS({
5443
5809
  "../../../../node_modules/.pnpm/yaml@2.7.1/node_modules/yaml/dist/nodes/toJS.js"(exports2) {
5444
5810
  "use strict";
5445
5811
  init_cjs_shims();
5446
- var identity = require_identity();
5812
+ var identity2 = require_identity();
5447
5813
  function toJS(value, arg, ctx) {
5448
5814
  if (Array.isArray(value))
5449
5815
  return value.map((v, i) => toJS(v, String(i), ctx));
5450
5816
  if (value && typeof value.toJSON === "function") {
5451
- if (!ctx || !identity.hasAnchor(value))
5817
+ if (!ctx || !identity2.hasAnchor(value))
5452
5818
  return value.toJSON(arg, ctx);
5453
5819
  const data = { aliasCount: 0, count: 1, res: void 0 };
5454
5820
  ctx.anchors.set(value, data);
@@ -5475,11 +5841,11 @@ var require_Node = __commonJS({
5475
5841
  "use strict";
5476
5842
  init_cjs_shims();
5477
5843
  var applyReviver = require_applyReviver();
5478
- var identity = require_identity();
5844
+ var identity2 = require_identity();
5479
5845
  var toJS = require_toJS();
5480
5846
  var NodeBase = class {
5481
5847
  constructor(type) {
5482
- Object.defineProperty(this, identity.NODE_TYPE, { value: type });
5848
+ Object.defineProperty(this, identity2.NODE_TYPE, { value: type });
5483
5849
  }
5484
5850
  /** Create a copy of this node. */
5485
5851
  clone() {
@@ -5490,7 +5856,7 @@ var require_Node = __commonJS({
5490
5856
  }
5491
5857
  /** A plain JavaScript representation of this node. */
5492
5858
  toJS(doc, { mapAsMap, maxAliasCount, onAnchor, reviver } = {}) {
5493
- if (!identity.isDocument(doc))
5859
+ if (!identity2.isDocument(doc))
5494
5860
  throw new TypeError("A document argument is required");
5495
5861
  const ctx = {
5496
5862
  anchors: /* @__PURE__ */ new Map(),
@@ -5518,12 +5884,12 @@ var require_Alias = __commonJS({
5518
5884
  init_cjs_shims();
5519
5885
  var anchors = require_anchors();
5520
5886
  var visit = require_visit();
5521
- var identity = require_identity();
5887
+ var identity2 = require_identity();
5522
5888
  var Node = require_Node();
5523
5889
  var toJS = require_toJS();
5524
5890
  var Alias = class extends Node.NodeBase {
5525
5891
  constructor(source) {
5526
- super(identity.ALIAS);
5892
+ super(identity2.ALIAS);
5527
5893
  this.source = source;
5528
5894
  Object.defineProperty(this, "tag", {
5529
5895
  set() {
@@ -5591,11 +5957,11 @@ var require_Alias = __commonJS({
5591
5957
  }
5592
5958
  };
5593
5959
  function getAliasCount(doc, node, anchors2) {
5594
- if (identity.isAlias(node)) {
5960
+ if (identity2.isAlias(node)) {
5595
5961
  const source = node.resolve(doc);
5596
5962
  const anchor = anchors2 && source && anchors2.get(source);
5597
5963
  return anchor ? anchor.count * anchor.aliasCount : 0;
5598
- } else if (identity.isCollection(node)) {
5964
+ } else if (identity2.isCollection(node)) {
5599
5965
  let count = 0;
5600
5966
  for (const item of node.items) {
5601
5967
  const c = getAliasCount(doc, item, anchors2);
@@ -5603,7 +5969,7 @@ var require_Alias = __commonJS({
5603
5969
  count = c;
5604
5970
  }
5605
5971
  return count;
5606
- } else if (identity.isPair(node)) {
5972
+ } else if (identity2.isPair(node)) {
5607
5973
  const kc = getAliasCount(doc, node.key, anchors2);
5608
5974
  const vc = getAliasCount(doc, node.value, anchors2);
5609
5975
  return Math.max(kc, vc);
@@ -5619,13 +5985,13 @@ var require_Scalar = __commonJS({
5619
5985
  "../../../../node_modules/.pnpm/yaml@2.7.1/node_modules/yaml/dist/nodes/Scalar.js"(exports2) {
5620
5986
  "use strict";
5621
5987
  init_cjs_shims();
5622
- var identity = require_identity();
5988
+ var identity2 = require_identity();
5623
5989
  var Node = require_Node();
5624
5990
  var toJS = require_toJS();
5625
5991
  var isScalarValue = (value) => !value || typeof value !== "function" && typeof value !== "object";
5626
5992
  var Scalar = class extends Node.NodeBase {
5627
5993
  constructor(value) {
5628
- super(identity.SCALAR);
5994
+ super(identity2.SCALAR);
5629
5995
  this.value = value;
5630
5996
  }
5631
5997
  toJSON(arg, ctx) {
@@ -5651,7 +6017,7 @@ var require_createNode = __commonJS({
5651
6017
  "use strict";
5652
6018
  init_cjs_shims();
5653
6019
  var Alias = require_Alias();
5654
- var identity = require_identity();
6020
+ var identity2 = require_identity();
5655
6021
  var Scalar = require_Scalar();
5656
6022
  var defaultTagPrefix = "tag:yaml.org,2002:";
5657
6023
  function findTagObject(value, tagName, tags) {
@@ -5665,12 +6031,12 @@ var require_createNode = __commonJS({
5665
6031
  return tags.find((t) => t.identify?.(value) && !t.format);
5666
6032
  }
5667
6033
  function createNode(value, tagName, ctx) {
5668
- if (identity.isDocument(value))
6034
+ if (identity2.isDocument(value))
5669
6035
  value = value.contents;
5670
- if (identity.isNode(value))
6036
+ if (identity2.isNode(value))
5671
6037
  return value;
5672
- if (identity.isPair(value)) {
5673
- const map = ctx.schema[identity.MAP].createNode?.(ctx.schema, null, ctx);
6038
+ if (identity2.isPair(value)) {
6039
+ const map = ctx.schema[identity2.MAP].createNode?.(ctx.schema, null, ctx);
5674
6040
  map.items.push(value);
5675
6041
  return map;
5676
6042
  }
@@ -5703,7 +6069,7 @@ var require_createNode = __commonJS({
5703
6069
  ref.node = node2;
5704
6070
  return node2;
5705
6071
  }
5706
- tagObj = value instanceof Map ? schema[identity.MAP] : Symbol.iterator in Object(value) ? schema[identity.SEQ] : schema[identity.MAP];
6072
+ tagObj = value instanceof Map ? schema[identity2.MAP] : Symbol.iterator in Object(value) ? schema[identity2.SEQ] : schema[identity2.MAP];
5707
6073
  }
5708
6074
  if (onTagObj) {
5709
6075
  onTagObj(tagObj);
@@ -5728,7 +6094,7 @@ var require_Collection = __commonJS({
5728
6094
  "use strict";
5729
6095
  init_cjs_shims();
5730
6096
  var createNode = require_createNode();
5731
- var identity = require_identity();
6097
+ var identity2 = require_identity();
5732
6098
  var Node = require_Node();
5733
6099
  function collectionFromPath(schema, path, value) {
5734
6100
  let v = value;
@@ -5772,7 +6138,7 @@ var require_Collection = __commonJS({
5772
6138
  const copy = Object.create(Object.getPrototypeOf(this), Object.getOwnPropertyDescriptors(this));
5773
6139
  if (schema)
5774
6140
  copy.schema = schema;
5775
- copy.items = copy.items.map((it) => identity.isNode(it) || identity.isPair(it) ? it.clone(schema) : it);
6141
+ copy.items = copy.items.map((it) => identity2.isNode(it) || identity2.isPair(it) ? it.clone(schema) : it);
5776
6142
  if (this.range)
5777
6143
  copy.range = this.range.slice();
5778
6144
  return copy;
@@ -5788,7 +6154,7 @@ var require_Collection = __commonJS({
5788
6154
  else {
5789
6155
  const [key, ...rest] = path;
5790
6156
  const node = this.get(key, true);
5791
- if (identity.isCollection(node))
6157
+ if (identity2.isCollection(node))
5792
6158
  node.addIn(rest, value);
5793
6159
  else if (node === void 0 && this.schema)
5794
6160
  this.set(key, collectionFromPath(this.schema, rest, value));
@@ -5805,7 +6171,7 @@ var require_Collection = __commonJS({
5805
6171
  if (rest.length === 0)
5806
6172
  return this.delete(key);
5807
6173
  const node = this.get(key, true);
5808
- if (identity.isCollection(node))
6174
+ if (identity2.isCollection(node))
5809
6175
  return node.deleteIn(rest);
5810
6176
  else
5811
6177
  throw new Error(`Expected YAML collection at ${key}. Remaining path: ${rest}`);
@@ -5819,16 +6185,16 @@ var require_Collection = __commonJS({
5819
6185
  const [key, ...rest] = path;
5820
6186
  const node = this.get(key, true);
5821
6187
  if (rest.length === 0)
5822
- return !keepScalar && identity.isScalar(node) ? node.value : node;
6188
+ return !keepScalar && identity2.isScalar(node) ? node.value : node;
5823
6189
  else
5824
- return identity.isCollection(node) ? node.getIn(rest, keepScalar) : void 0;
6190
+ return identity2.isCollection(node) ? node.getIn(rest, keepScalar) : void 0;
5825
6191
  }
5826
6192
  hasAllNullValues(allowScalar) {
5827
6193
  return this.items.every((node) => {
5828
- if (!identity.isPair(node))
6194
+ if (!identity2.isPair(node))
5829
6195
  return false;
5830
6196
  const n = node.value;
5831
- return n == null || allowScalar && identity.isScalar(n) && n.value == null && !n.commentBefore && !n.comment && !n.tag;
6197
+ return n == null || allowScalar && identity2.isScalar(n) && n.value == null && !n.commentBefore && !n.comment && !n.tag;
5832
6198
  });
5833
6199
  }
5834
6200
  /**
@@ -5839,7 +6205,7 @@ var require_Collection = __commonJS({
5839
6205
  if (rest.length === 0)
5840
6206
  return this.has(key);
5841
6207
  const node = this.get(key, true);
5842
- return identity.isCollection(node) ? node.hasIn(rest) : false;
6208
+ return identity2.isCollection(node) ? node.hasIn(rest) : false;
5843
6209
  }
5844
6210
  /**
5845
6211
  * Sets a value in this collection. For `!!set`, `value` needs to be a
@@ -5851,7 +6217,7 @@ var require_Collection = __commonJS({
5851
6217
  this.set(key, value);
5852
6218
  } else {
5853
6219
  const node = this.get(key, true);
5854
- if (identity.isCollection(node))
6220
+ if (identity2.isCollection(node))
5855
6221
  node.setIn(rest, value);
5856
6222
  else if (node === void 0 && this.schema)
5857
6223
  this.set(key, collectionFromPath(this.schema, rest, value));
@@ -6311,7 +6677,7 @@ var require_stringify = __commonJS({
6311
6677
  "use strict";
6312
6678
  init_cjs_shims();
6313
6679
  var anchors = require_anchors();
6314
- var identity = require_identity();
6680
+ var identity2 = require_identity();
6315
6681
  var stringifyComment = require_stringifyComment();
6316
6682
  var stringifyString = require_stringifyString();
6317
6683
  function createStringifyContext(doc, options) {
@@ -6363,7 +6729,7 @@ var require_stringify = __commonJS({
6363
6729
  }
6364
6730
  let tagObj = void 0;
6365
6731
  let obj;
6366
- if (identity.isScalar(item)) {
6732
+ if (identity2.isScalar(item)) {
6367
6733
  obj = item.value;
6368
6734
  let match = tags.filter((t) => t.identify?.(obj));
6369
6735
  if (match.length > 1) {
@@ -6386,7 +6752,7 @@ var require_stringify = __commonJS({
6386
6752
  if (!doc.directives)
6387
6753
  return "";
6388
6754
  const props = [];
6389
- const anchor = (identity.isScalar(node) || identity.isCollection(node)) && node.anchor;
6755
+ const anchor = (identity2.isScalar(node) || identity2.isCollection(node)) && node.anchor;
6390
6756
  if (anchor && anchors.anchorIsValid(anchor)) {
6391
6757
  anchors$1.add(anchor);
6392
6758
  props.push(`&${anchor}`);
@@ -6397,9 +6763,9 @@ var require_stringify = __commonJS({
6397
6763
  return props.join(" ");
6398
6764
  }
6399
6765
  function stringify(item, ctx, onComment, onChompKeep) {
6400
- if (identity.isPair(item))
6766
+ if (identity2.isPair(item))
6401
6767
  return item.toString(ctx, onComment, onChompKeep);
6402
- if (identity.isAlias(item)) {
6768
+ if (identity2.isAlias(item)) {
6403
6769
  if (ctx.doc.directives)
6404
6770
  return item.toString(ctx);
6405
6771
  if (ctx.resolvedAliases?.has(item)) {
@@ -6413,16 +6779,16 @@ var require_stringify = __commonJS({
6413
6779
  }
6414
6780
  }
6415
6781
  let tagObj = void 0;
6416
- const node = identity.isNode(item) ? item : ctx.doc.createNode(item, { onTagObj: (o) => tagObj = o });
6782
+ const node = identity2.isNode(item) ? item : ctx.doc.createNode(item, { onTagObj: (o) => tagObj = o });
6417
6783
  if (!tagObj)
6418
6784
  tagObj = getTagObject(ctx.doc.schema.tags, node);
6419
6785
  const props = stringifyProps(node, tagObj, ctx);
6420
6786
  if (props.length > 0)
6421
6787
  ctx.indentAtStart = (ctx.indentAtStart ?? 0) + props.length + 1;
6422
- const str = typeof tagObj.stringify === "function" ? tagObj.stringify(node, ctx, onComment, onChompKeep) : identity.isScalar(node) ? stringifyString.stringifyString(node, ctx, onComment, onChompKeep) : node.toString(ctx, onComment, onChompKeep);
6788
+ const str = typeof tagObj.stringify === "function" ? tagObj.stringify(node, ctx, onComment, onChompKeep) : identity2.isScalar(node) ? stringifyString.stringifyString(node, ctx, onComment, onChompKeep) : node.toString(ctx, onComment, onChompKeep);
6423
6789
  if (!props)
6424
6790
  return str;
6425
- return identity.isScalar(node) || str[0] === "{" || str[0] === "[" ? `${props} ${str}` : `${props}
6791
+ return identity2.isScalar(node) || str[0] === "{" || str[0] === "[" ? `${props} ${str}` : `${props}
6426
6792
  ${ctx.indent}${str}`;
6427
6793
  }
6428
6794
  exports2.createStringifyContext = createStringifyContext;
@@ -6435,23 +6801,23 @@ var require_stringifyPair = __commonJS({
6435
6801
  "../../../../node_modules/.pnpm/yaml@2.7.1/node_modules/yaml/dist/stringify/stringifyPair.js"(exports2) {
6436
6802
  "use strict";
6437
6803
  init_cjs_shims();
6438
- var identity = require_identity();
6804
+ var identity2 = require_identity();
6439
6805
  var Scalar = require_Scalar();
6440
6806
  var stringify = require_stringify();
6441
6807
  var stringifyComment = require_stringifyComment();
6442
6808
  function stringifyPair({ key, value }, ctx, onComment, onChompKeep) {
6443
6809
  const { allNullValues, doc, indent, indentStep, options: { commentString, indentSeq, simpleKeys } } = ctx;
6444
- let keyComment = identity.isNode(key) && key.comment || null;
6810
+ let keyComment = identity2.isNode(key) && key.comment || null;
6445
6811
  if (simpleKeys) {
6446
6812
  if (keyComment) {
6447
6813
  throw new Error("With simple keys, key nodes cannot have comments");
6448
6814
  }
6449
- if (identity.isCollection(key) || !identity.isNode(key) && typeof key === "object") {
6815
+ if (identity2.isCollection(key) || !identity2.isNode(key) && typeof key === "object") {
6450
6816
  const msg = "With simple keys, collection cannot be used as a key value";
6451
6817
  throw new Error(msg);
6452
6818
  }
6453
6819
  }
6454
- let explicitKey = !simpleKeys && (!key || keyComment && value == null && !ctx.inFlow || identity.isCollection(key) || (identity.isScalar(key) ? key.type === Scalar.Scalar.BLOCK_FOLDED || key.type === Scalar.Scalar.BLOCK_LITERAL : typeof key === "object"));
6820
+ let explicitKey = !simpleKeys && (!key || keyComment && value == null && !ctx.inFlow || identity2.isCollection(key) || (identity2.isScalar(key) ? key.type === Scalar.Scalar.BLOCK_FOLDED || key.type === Scalar.Scalar.BLOCK_LITERAL : typeof key === "object"));
6455
6821
  ctx = Object.assign({}, ctx, {
6456
6822
  allNullValues: false,
6457
6823
  implicitKey: !explicitKey && (simpleKeys || !allNullValues),
@@ -6492,7 +6858,7 @@ ${indent}:`;
6492
6858
  str += stringifyComment.lineComment(str, ctx.indent, commentString(keyComment));
6493
6859
  }
6494
6860
  let vsb, vcb, valueComment;
6495
- if (identity.isNode(value)) {
6861
+ if (identity2.isNode(value)) {
6496
6862
  vsb = !!value.spaceBefore;
6497
6863
  vcb = value.commentBefore;
6498
6864
  valueComment = value.comment;
@@ -6504,10 +6870,10 @@ ${indent}:`;
6504
6870
  value = doc.createNode(value);
6505
6871
  }
6506
6872
  ctx.implicitKey = false;
6507
- if (!explicitKey && !keyComment && identity.isScalar(value))
6873
+ if (!explicitKey && !keyComment && identity2.isScalar(value))
6508
6874
  ctx.indentAtStart = str.length + 1;
6509
6875
  chompKeep = false;
6510
- if (!indentSeq && indentStep.length >= 2 && !ctx.inFlow && !explicitKey && identity.isSeq(value) && !value.flow && !value.tag && !value.anchor) {
6876
+ if (!indentSeq && indentStep.length >= 2 && !ctx.inFlow && !explicitKey && identity2.isSeq(value) && !value.flow && !value.tag && !value.anchor) {
6511
6877
  ctx.indent = ctx.indent.substring(2);
6512
6878
  }
6513
6879
  let valueCommentDone = false;
@@ -6527,7 +6893,7 @@ ${stringifyComment.indentComment(cs, ctx.indent)}`;
6527
6893
  ws += `
6528
6894
  ${ctx.indent}`;
6529
6895
  }
6530
- } else if (!explicitKey && identity.isCollection(value)) {
6896
+ } else if (!explicitKey && identity2.isCollection(value)) {
6531
6897
  const vs0 = valueStr[0];
6532
6898
  const nl0 = valueStr.indexOf("\n");
6533
6899
  const hasNewline = nl0 !== -1;
@@ -6592,7 +6958,7 @@ var require_merge = __commonJS({
6592
6958
  "../../../../node_modules/.pnpm/yaml@2.7.1/node_modules/yaml/dist/schema/yaml-1.1/merge.js"(exports2) {
6593
6959
  "use strict";
6594
6960
  init_cjs_shims();
6595
- var identity = require_identity();
6961
+ var identity2 = require_identity();
6596
6962
  var Scalar = require_Scalar();
6597
6963
  var MERGE_KEY = "<<";
6598
6964
  var merge = {
@@ -6605,10 +6971,10 @@ var require_merge = __commonJS({
6605
6971
  }),
6606
6972
  stringify: () => MERGE_KEY
6607
6973
  };
6608
- var isMergeKey = (ctx, key) => (merge.identify(key) || identity.isScalar(key) && (!key.type || key.type === Scalar.Scalar.PLAIN) && merge.identify(key.value)) && ctx?.doc.schema.tags.some((tag) => tag.tag === merge.tag && tag.default);
6974
+ var isMergeKey = (ctx, key) => (merge.identify(key) || identity2.isScalar(key) && (!key.type || key.type === Scalar.Scalar.PLAIN) && merge.identify(key.value)) && ctx?.doc.schema.tags.some((tag) => tag.tag === merge.tag && tag.default);
6609
6975
  function addMergeToJSMap(ctx, map, value) {
6610
- value = ctx && identity.isAlias(value) ? value.resolve(ctx.doc) : value;
6611
- if (identity.isSeq(value))
6976
+ value = ctx && identity2.isAlias(value) ? value.resolve(ctx.doc) : value;
6977
+ if (identity2.isSeq(value))
6612
6978
  for (const it of value.items)
6613
6979
  mergeValue(ctx, map, it);
6614
6980
  else if (Array.isArray(value))
@@ -6618,8 +6984,8 @@ var require_merge = __commonJS({
6618
6984
  mergeValue(ctx, map, value);
6619
6985
  }
6620
6986
  function mergeValue(ctx, map, value) {
6621
- const source = ctx && identity.isAlias(value) ? value.resolve(ctx.doc) : value;
6622
- if (!identity.isMap(source))
6987
+ const source = ctx && identity2.isAlias(value) ? value.resolve(ctx.doc) : value;
6988
+ if (!identity2.isMap(source))
6623
6989
  throw new Error("Merge sources must be maps or map aliases");
6624
6990
  const srcMap = source.toJSON(null, ctx, Map);
6625
6991
  for (const [key, value2] of srcMap) {
@@ -6653,10 +7019,10 @@ var require_addPairToJSMap = __commonJS({
6653
7019
  var log = require_log();
6654
7020
  var merge = require_merge();
6655
7021
  var stringify = require_stringify();
6656
- var identity = require_identity();
7022
+ var identity2 = require_identity();
6657
7023
  var toJS = require_toJS();
6658
7024
  function addPairToJSMap(ctx, map, { key, value }) {
6659
- if (identity.isNode(key) && key.addToJSMap)
7025
+ if (identity2.isNode(key) && key.addToJSMap)
6660
7026
  key.addToJSMap(ctx, map, value);
6661
7027
  else if (merge.isMergeKey(ctx, key))
6662
7028
  merge.addMergeToJSMap(ctx, map, value);
@@ -6687,7 +7053,7 @@ var require_addPairToJSMap = __commonJS({
6687
7053
  return "";
6688
7054
  if (typeof jsKey !== "object")
6689
7055
  return String(jsKey);
6690
- if (identity.isNode(key) && ctx?.doc) {
7056
+ if (identity2.isNode(key) && ctx?.doc) {
6691
7057
  const strCtx = stringify.createStringifyContext(ctx.doc, {});
6692
7058
  strCtx.anchors = /* @__PURE__ */ new Set();
6693
7059
  for (const node of ctx.anchors.keys())
@@ -6718,7 +7084,7 @@ var require_Pair = __commonJS({
6718
7084
  var createNode = require_createNode();
6719
7085
  var stringifyPair = require_stringifyPair();
6720
7086
  var addPairToJSMap = require_addPairToJSMap();
6721
- var identity = require_identity();
7087
+ var identity2 = require_identity();
6722
7088
  function createPair(key, value, ctx) {
6723
7089
  const k = createNode.createNode(key, void 0, ctx);
6724
7090
  const v = createNode.createNode(value, void 0, ctx);
@@ -6726,15 +7092,15 @@ var require_Pair = __commonJS({
6726
7092
  }
6727
7093
  var Pair = class _Pair {
6728
7094
  constructor(key, value = null) {
6729
- Object.defineProperty(this, identity.NODE_TYPE, { value: identity.PAIR });
7095
+ Object.defineProperty(this, identity2.NODE_TYPE, { value: identity2.PAIR });
6730
7096
  this.key = key;
6731
7097
  this.value = value;
6732
7098
  }
6733
7099
  clone(schema) {
6734
7100
  let { key, value } = this;
6735
- if (identity.isNode(key))
7101
+ if (identity2.isNode(key))
6736
7102
  key = key.clone(schema);
6737
- if (identity.isNode(value))
7103
+ if (identity2.isNode(value))
6738
7104
  value = value.clone(schema);
6739
7105
  return new _Pair(key, value);
6740
7106
  }
@@ -6756,7 +7122,7 @@ var require_stringifyCollection = __commonJS({
6756
7122
  "../../../../node_modules/.pnpm/yaml@2.7.1/node_modules/yaml/dist/stringify/stringifyCollection.js"(exports2) {
6757
7123
  "use strict";
6758
7124
  init_cjs_shims();
6759
- var identity = require_identity();
7125
+ var identity2 = require_identity();
6760
7126
  var stringify = require_stringify();
6761
7127
  var stringifyComment = require_stringifyComment();
6762
7128
  function stringifyCollection(collection, ctx, options) {
@@ -6772,14 +7138,14 @@ var require_stringifyCollection = __commonJS({
6772
7138
  for (let i = 0; i < items.length; ++i) {
6773
7139
  const item = items[i];
6774
7140
  let comment2 = null;
6775
- if (identity.isNode(item)) {
7141
+ if (identity2.isNode(item)) {
6776
7142
  if (!chompKeep && item.spaceBefore)
6777
7143
  lines.push("");
6778
7144
  addCommentBefore(ctx, lines, item.commentBefore, chompKeep);
6779
7145
  if (item.comment)
6780
7146
  comment2 = item.comment;
6781
- } else if (identity.isPair(item)) {
6782
- const ik = identity.isNode(item.key) ? item.key : null;
7147
+ } else if (identity2.isPair(item)) {
7148
+ const ik = identity2.isNode(item.key) ? item.key : null;
6783
7149
  if (ik) {
6784
7150
  if (!chompKeep && ik.spaceBefore)
6785
7151
  lines.push("");
@@ -6827,14 +7193,14 @@ ${indent}${line}` : "\n";
6827
7193
  for (let i = 0; i < items.length; ++i) {
6828
7194
  const item = items[i];
6829
7195
  let comment = null;
6830
- if (identity.isNode(item)) {
7196
+ if (identity2.isNode(item)) {
6831
7197
  if (item.spaceBefore)
6832
7198
  lines.push("");
6833
7199
  addCommentBefore(ctx, lines, item.commentBefore, false);
6834
7200
  if (item.comment)
6835
7201
  comment = item.comment;
6836
- } else if (identity.isPair(item)) {
6837
- const ik = identity.isNode(item.key) ? item.key : null;
7202
+ } else if (identity2.isPair(item)) {
7203
+ const ik = identity2.isNode(item.key) ? item.key : null;
6838
7204
  if (ik) {
6839
7205
  if (ik.spaceBefore)
6840
7206
  lines.push("");
@@ -6842,7 +7208,7 @@ ${indent}${line}` : "\n";
6842
7208
  if (ik.comment)
6843
7209
  reqNewline = true;
6844
7210
  }
6845
- const iv = identity.isNode(item.value) ? item.value : null;
7211
+ const iv = identity2.isNode(item.value) ? item.value : null;
6846
7212
  if (iv) {
6847
7213
  if (iv.comment)
6848
7214
  comment = iv.comment;
@@ -6904,16 +7270,16 @@ var require_YAMLMap = __commonJS({
6904
7270
  var stringifyCollection = require_stringifyCollection();
6905
7271
  var addPairToJSMap = require_addPairToJSMap();
6906
7272
  var Collection = require_Collection();
6907
- var identity = require_identity();
7273
+ var identity2 = require_identity();
6908
7274
  var Pair = require_Pair();
6909
7275
  var Scalar = require_Scalar();
6910
7276
  function findPair(items, key) {
6911
- const k = identity.isScalar(key) ? key.value : key;
7277
+ const k = identity2.isScalar(key) ? key.value : key;
6912
7278
  for (const it of items) {
6913
- if (identity.isPair(it)) {
7279
+ if (identity2.isPair(it)) {
6914
7280
  if (it.key === key || it.key === k)
6915
7281
  return it;
6916
- if (identity.isScalar(it.key) && it.key.value === k)
7282
+ if (identity2.isScalar(it.key) && it.key.value === k)
6917
7283
  return it;
6918
7284
  }
6919
7285
  }
@@ -6924,7 +7290,7 @@ var require_YAMLMap = __commonJS({
6924
7290
  return "tag:yaml.org,2002:map";
6925
7291
  }
6926
7292
  constructor(schema) {
6927
- super(identity.MAP, schema);
7293
+ super(identity2.MAP, schema);
6928
7294
  this.items = [];
6929
7295
  }
6930
7296
  /**
@@ -6962,7 +7328,7 @@ var require_YAMLMap = __commonJS({
6962
7328
  */
6963
7329
  add(pair, overwrite) {
6964
7330
  let _pair;
6965
- if (identity.isPair(pair))
7331
+ if (identity2.isPair(pair))
6966
7332
  _pair = pair;
6967
7333
  else if (!pair || typeof pair !== "object" || !("key" in pair)) {
6968
7334
  _pair = new Pair.Pair(pair, pair?.value);
@@ -6973,7 +7339,7 @@ var require_YAMLMap = __commonJS({
6973
7339
  if (prev) {
6974
7340
  if (!overwrite)
6975
7341
  throw new Error(`Key ${_pair.key} already set`);
6976
- if (identity.isScalar(prev.value) && Scalar.isScalarValue(_pair.value))
7342
+ if (identity2.isScalar(prev.value) && Scalar.isScalarValue(_pair.value))
6977
7343
  prev.value.value = _pair.value;
6978
7344
  else
6979
7345
  prev.value = _pair.value;
@@ -6997,7 +7363,7 @@ var require_YAMLMap = __commonJS({
6997
7363
  get(key, keepScalar) {
6998
7364
  const it = findPair(this.items, key);
6999
7365
  const node = it?.value;
7000
- return (!keepScalar && identity.isScalar(node) ? node.value : node) ?? void 0;
7366
+ return (!keepScalar && identity2.isScalar(node) ? node.value : node) ?? void 0;
7001
7367
  }
7002
7368
  has(key) {
7003
7369
  return !!findPair(this.items, key);
@@ -7022,7 +7388,7 @@ var require_YAMLMap = __commonJS({
7022
7388
  if (!ctx)
7023
7389
  return JSON.stringify(this);
7024
7390
  for (const item of this.items) {
7025
- if (!identity.isPair(item))
7391
+ if (!identity2.isPair(item))
7026
7392
  throw new Error(`Map items must all be pairs; found ${JSON.stringify(item)} instead`);
7027
7393
  }
7028
7394
  if (!ctx.allNullValues && this.hasAllNullValues(false))
@@ -7046,7 +7412,7 @@ var require_map = __commonJS({
7046
7412
  "../../../../node_modules/.pnpm/yaml@2.7.1/node_modules/yaml/dist/schema/common/map.js"(exports2) {
7047
7413
  "use strict";
7048
7414
  init_cjs_shims();
7049
- var identity = require_identity();
7415
+ var identity2 = require_identity();
7050
7416
  var YAMLMap = require_YAMLMap();
7051
7417
  var map = {
7052
7418
  collection: "map",
@@ -7054,7 +7420,7 @@ var require_map = __commonJS({
7054
7420
  nodeClass: YAMLMap.YAMLMap,
7055
7421
  tag: "tag:yaml.org,2002:map",
7056
7422
  resolve(map2, onError) {
7057
- if (!identity.isMap(map2))
7423
+ if (!identity2.isMap(map2))
7058
7424
  onError("Expected a mapping for this tag");
7059
7425
  return map2;
7060
7426
  },
@@ -7072,7 +7438,7 @@ var require_YAMLSeq = __commonJS({
7072
7438
  var createNode = require_createNode();
7073
7439
  var stringifyCollection = require_stringifyCollection();
7074
7440
  var Collection = require_Collection();
7075
- var identity = require_identity();
7441
+ var identity2 = require_identity();
7076
7442
  var Scalar = require_Scalar();
7077
7443
  var toJS = require_toJS();
7078
7444
  var YAMLSeq = class extends Collection.Collection {
@@ -7080,7 +7446,7 @@ var require_YAMLSeq = __commonJS({
7080
7446
  return "tag:yaml.org,2002:seq";
7081
7447
  }
7082
7448
  constructor(schema) {
7083
- super(identity.SEQ, schema);
7449
+ super(identity2.SEQ, schema);
7084
7450
  this.items = [];
7085
7451
  }
7086
7452
  add(value) {
@@ -7106,7 +7472,7 @@ var require_YAMLSeq = __commonJS({
7106
7472
  if (typeof idx !== "number")
7107
7473
  return void 0;
7108
7474
  const it = this.items[idx];
7109
- return !keepScalar && identity.isScalar(it) ? it.value : it;
7475
+ return !keepScalar && identity2.isScalar(it) ? it.value : it;
7110
7476
  }
7111
7477
  /**
7112
7478
  * Checks if the collection includes a value with the key `key`.
@@ -7130,7 +7496,7 @@ var require_YAMLSeq = __commonJS({
7130
7496
  if (typeof idx !== "number")
7131
7497
  throw new Error(`Expected a valid index, not ${key}.`);
7132
7498
  const prev = this.items[idx];
7133
- if (identity.isScalar(prev) && Scalar.isScalarValue(value))
7499
+ if (identity2.isScalar(prev) && Scalar.isScalarValue(value))
7134
7500
  prev.value = value;
7135
7501
  else
7136
7502
  this.items[idx] = value;
@@ -7172,7 +7538,7 @@ var require_YAMLSeq = __commonJS({
7172
7538
  }
7173
7539
  };
7174
7540
  function asItemIndex(key) {
7175
- let idx = identity.isScalar(key) ? key.value : key;
7541
+ let idx = identity2.isScalar(key) ? key.value : key;
7176
7542
  if (idx && typeof idx === "string")
7177
7543
  idx = Number(idx);
7178
7544
  return typeof idx === "number" && Number.isInteger(idx) && idx >= 0 ? idx : null;
@@ -7186,7 +7552,7 @@ var require_seq = __commonJS({
7186
7552
  "../../../../node_modules/.pnpm/yaml@2.7.1/node_modules/yaml/dist/schema/common/seq.js"(exports2) {
7187
7553
  "use strict";
7188
7554
  init_cjs_shims();
7189
- var identity = require_identity();
7555
+ var identity2 = require_identity();
7190
7556
  var YAMLSeq = require_YAMLSeq();
7191
7557
  var seq = {
7192
7558
  collection: "seq",
@@ -7194,7 +7560,7 @@ var require_seq = __commonJS({
7194
7560
  nodeClass: YAMLSeq.YAMLSeq,
7195
7561
  tag: "tag:yaml.org,2002:seq",
7196
7562
  resolve(seq2, onError) {
7197
- if (!identity.isSeq(seq2))
7563
+ if (!identity2.isSeq(seq2))
7198
7564
  onError("Expected a sequence for this tag");
7199
7565
  return seq2;
7200
7566
  },
@@ -7559,17 +7925,17 @@ var require_pairs = __commonJS({
7559
7925
  "../../../../node_modules/.pnpm/yaml@2.7.1/node_modules/yaml/dist/schema/yaml-1.1/pairs.js"(exports2) {
7560
7926
  "use strict";
7561
7927
  init_cjs_shims();
7562
- var identity = require_identity();
7928
+ var identity2 = require_identity();
7563
7929
  var Pair = require_Pair();
7564
7930
  var Scalar = require_Scalar();
7565
7931
  var YAMLSeq = require_YAMLSeq();
7566
7932
  function resolvePairs(seq, onError) {
7567
- if (identity.isSeq(seq)) {
7933
+ if (identity2.isSeq(seq)) {
7568
7934
  for (let i = 0; i < seq.items.length; ++i) {
7569
7935
  let item = seq.items[i];
7570
- if (identity.isPair(item))
7936
+ if (identity2.isPair(item))
7571
7937
  continue;
7572
- else if (identity.isMap(item)) {
7938
+ else if (identity2.isMap(item)) {
7573
7939
  if (item.items.length > 1)
7574
7940
  onError("Each pair must have its own sequence indicator");
7575
7941
  const pair = item.items[0] || new Pair.Pair(new Scalar.Scalar(null));
@@ -7583,7 +7949,7 @@ ${cn.comment}` : item.comment;
7583
7949
  }
7584
7950
  item = pair;
7585
7951
  }
7586
- seq.items[i] = identity.isPair(item) ? item : new Pair.Pair(item);
7952
+ seq.items[i] = identity2.isPair(item) ? item : new Pair.Pair(item);
7587
7953
  }
7588
7954
  } else
7589
7955
  onError("Expected a sequence for this tag");
@@ -7638,7 +8004,7 @@ var require_omap = __commonJS({
7638
8004
  "../../../../node_modules/.pnpm/yaml@2.7.1/node_modules/yaml/dist/schema/yaml-1.1/omap.js"(exports2) {
7639
8005
  "use strict";
7640
8006
  init_cjs_shims();
7641
- var identity = require_identity();
8007
+ var identity2 = require_identity();
7642
8008
  var toJS = require_toJS();
7643
8009
  var YAMLMap = require_YAMLMap();
7644
8010
  var YAMLSeq = require_YAMLSeq();
@@ -7665,7 +8031,7 @@ var require_omap = __commonJS({
7665
8031
  ctx.onCreate(map);
7666
8032
  for (const pair of this.items) {
7667
8033
  let key, value;
7668
- if (identity.isPair(pair)) {
8034
+ if (identity2.isPair(pair)) {
7669
8035
  key = toJS.toJS(pair.key, "", ctx);
7670
8036
  value = toJS.toJS(pair.value, key, ctx);
7671
8037
  } else {
@@ -7695,7 +8061,7 @@ var require_omap = __commonJS({
7695
8061
  const pairs$1 = pairs.resolvePairs(seq, onError);
7696
8062
  const seenKeys = [];
7697
8063
  for (const { key } of pairs$1.items) {
7698
- if (identity.isScalar(key)) {
8064
+ if (identity2.isScalar(key)) {
7699
8065
  if (seenKeys.includes(key.value)) {
7700
8066
  onError(`Ordered maps must not include duplicate keys: ${key.value}`);
7701
8067
  } else {
@@ -7880,7 +8246,7 @@ var require_set = __commonJS({
7880
8246
  "../../../../node_modules/.pnpm/yaml@2.7.1/node_modules/yaml/dist/schema/yaml-1.1/set.js"(exports2) {
7881
8247
  "use strict";
7882
8248
  init_cjs_shims();
7883
- var identity = require_identity();
8249
+ var identity2 = require_identity();
7884
8250
  var Pair = require_Pair();
7885
8251
  var YAMLMap = require_YAMLMap();
7886
8252
  var YAMLSet = class _YAMLSet extends YAMLMap.YAMLMap {
@@ -7890,7 +8256,7 @@ var require_set = __commonJS({
7890
8256
  }
7891
8257
  add(key) {
7892
8258
  let pair;
7893
- if (identity.isPair(key))
8259
+ if (identity2.isPair(key))
7894
8260
  pair = key;
7895
8261
  else if (key && typeof key === "object" && "key" in key && "value" in key && key.value === null)
7896
8262
  pair = new Pair.Pair(key.key, null);
@@ -7906,7 +8272,7 @@ var require_set = __commonJS({
7906
8272
  */
7907
8273
  get(key, keepPair) {
7908
8274
  const pair = YAMLMap.findPair(this.items, key);
7909
- return !keepPair && identity.isPair(pair) ? identity.isScalar(pair.key) ? pair.key.value : pair.key : pair;
8275
+ return !keepPair && identity2.isPair(pair) ? identity2.isScalar(pair.key) ? pair.key.value : pair.key : pair;
7910
8276
  }
7911
8277
  set(key, value) {
7912
8278
  if (typeof value !== "boolean")
@@ -7950,7 +8316,7 @@ var require_set = __commonJS({
7950
8316
  tag: "tag:yaml.org,2002:set",
7951
8317
  createNode: (schema, iterable, ctx) => YAMLSet.from(schema, iterable, ctx),
7952
8318
  resolve(map, onError) {
7953
- if (identity.isMap(map)) {
8319
+ if (identity2.isMap(map)) {
7954
8320
  if (map.hasAllNullValues(true))
7955
8321
  return Object.assign(new YAMLSet(), map);
7956
8322
  else
@@ -8199,7 +8565,7 @@ var require_Schema = __commonJS({
8199
8565
  "../../../../node_modules/.pnpm/yaml@2.7.1/node_modules/yaml/dist/schema/Schema.js"(exports2) {
8200
8566
  "use strict";
8201
8567
  init_cjs_shims();
8202
- var identity = require_identity();
8568
+ var identity2 = require_identity();
8203
8569
  var map = require_map();
8204
8570
  var seq = require_seq();
8205
8571
  var string = require_string();
@@ -8212,9 +8578,9 @@ var require_Schema = __commonJS({
8212
8578
  this.knownTags = resolveKnownTags ? tags.coreKnownTags : {};
8213
8579
  this.tags = tags.getTags(customTags, this.name, merge);
8214
8580
  this.toStringOptions = toStringDefaults ?? null;
8215
- Object.defineProperty(this, identity.MAP, { value: map.map });
8216
- Object.defineProperty(this, identity.SCALAR, { value: string.string });
8217
- Object.defineProperty(this, identity.SEQ, { value: seq.seq });
8581
+ Object.defineProperty(this, identity2.MAP, { value: map.map });
8582
+ Object.defineProperty(this, identity2.SCALAR, { value: string.string });
8583
+ Object.defineProperty(this, identity2.SEQ, { value: seq.seq });
8218
8584
  this.sortMapEntries = typeof sortMapEntries === "function" ? sortMapEntries : sortMapEntries === true ? sortMapEntriesByKey : null;
8219
8585
  }
8220
8586
  clone() {
@@ -8232,7 +8598,7 @@ var require_stringifyDocument = __commonJS({
8232
8598
  "../../../../node_modules/.pnpm/yaml@2.7.1/node_modules/yaml/dist/stringify/stringifyDocument.js"(exports2) {
8233
8599
  "use strict";
8234
8600
  init_cjs_shims();
8235
- var identity = require_identity();
8601
+ var identity2 = require_identity();
8236
8602
  var stringify = require_stringify();
8237
8603
  var stringifyComment = require_stringifyComment();
8238
8604
  function stringifyDocument(doc, options) {
@@ -8259,7 +8625,7 @@ var require_stringifyDocument = __commonJS({
8259
8625
  let chompKeep = false;
8260
8626
  let contentComment = null;
8261
8627
  if (doc.contents) {
8262
- if (identity.isNode(doc.contents)) {
8628
+ if (identity2.isNode(doc.contents)) {
8263
8629
  if (doc.contents.spaceBefore && hasDirectives)
8264
8630
  lines.push("");
8265
8631
  if (doc.contents.commentBefore) {
@@ -8315,7 +8681,7 @@ var require_Document = __commonJS({
8315
8681
  init_cjs_shims();
8316
8682
  var Alias = require_Alias();
8317
8683
  var Collection = require_Collection();
8318
- var identity = require_identity();
8684
+ var identity2 = require_identity();
8319
8685
  var Pair = require_Pair();
8320
8686
  var toJS = require_toJS();
8321
8687
  var Schema = require_Schema();
@@ -8330,7 +8696,7 @@ var require_Document = __commonJS({
8330
8696
  this.comment = null;
8331
8697
  this.errors = [];
8332
8698
  this.warnings = [];
8333
- Object.defineProperty(this, identity.NODE_TYPE, { value: identity.DOC });
8699
+ Object.defineProperty(this, identity2.NODE_TYPE, { value: identity2.DOC });
8334
8700
  let _replacer = null;
8335
8701
  if (typeof replacer === "function" || Array.isArray(replacer)) {
8336
8702
  _replacer = replacer;
@@ -8366,7 +8732,7 @@ var require_Document = __commonJS({
8366
8732
  */
8367
8733
  clone() {
8368
8734
  const copy = Object.create(_Document.prototype, {
8369
- [identity.NODE_TYPE]: { value: identity.DOC }
8735
+ [identity2.NODE_TYPE]: { value: identity2.DOC }
8370
8736
  });
8371
8737
  copy.commentBefore = this.commentBefore;
8372
8738
  copy.comment = this.comment;
@@ -8376,7 +8742,7 @@ var require_Document = __commonJS({
8376
8742
  if (this.directives)
8377
8743
  copy.directives = this.directives.clone();
8378
8744
  copy.schema = this.schema.clone();
8379
- copy.contents = identity.isNode(this.contents) ? this.contents.clone(copy.schema) : this.contents;
8745
+ copy.contents = identity2.isNode(this.contents) ? this.contents.clone(copy.schema) : this.contents;
8380
8746
  if (this.range)
8381
8747
  copy.range = this.range.slice();
8382
8748
  return copy;
@@ -8439,7 +8805,7 @@ var require_Document = __commonJS({
8439
8805
  sourceObjects
8440
8806
  };
8441
8807
  const node = createNode.createNode(value, tag, ctx);
8442
- if (flow && identity.isCollection(node))
8808
+ if (flow && identity2.isCollection(node))
8443
8809
  node.flow = true;
8444
8810
  setAnchors();
8445
8811
  return node;
@@ -8479,7 +8845,7 @@ var require_Document = __commonJS({
8479
8845
  * `true` (collections are always returned intact).
8480
8846
  */
8481
8847
  get(key, keepScalar) {
8482
- return identity.isCollection(this.contents) ? this.contents.get(key, keepScalar) : void 0;
8848
+ return identity2.isCollection(this.contents) ? this.contents.get(key, keepScalar) : void 0;
8483
8849
  }
8484
8850
  /**
8485
8851
  * Returns item at `path`, or `undefined` if not found. By default unwraps
@@ -8488,14 +8854,14 @@ var require_Document = __commonJS({
8488
8854
  */
8489
8855
  getIn(path, keepScalar) {
8490
8856
  if (Collection.isEmptyPath(path))
8491
- return !keepScalar && identity.isScalar(this.contents) ? this.contents.value : this.contents;
8492
- return identity.isCollection(this.contents) ? this.contents.getIn(path, keepScalar) : void 0;
8857
+ return !keepScalar && identity2.isScalar(this.contents) ? this.contents.value : this.contents;
8858
+ return identity2.isCollection(this.contents) ? this.contents.getIn(path, keepScalar) : void 0;
8493
8859
  }
8494
8860
  /**
8495
8861
  * Checks if the document includes a value with the key `key`.
8496
8862
  */
8497
8863
  has(key) {
8498
- return identity.isCollection(this.contents) ? this.contents.has(key) : false;
8864
+ return identity2.isCollection(this.contents) ? this.contents.has(key) : false;
8499
8865
  }
8500
8866
  /**
8501
8867
  * Checks if the document includes a value at `path`.
@@ -8503,7 +8869,7 @@ var require_Document = __commonJS({
8503
8869
  hasIn(path) {
8504
8870
  if (Collection.isEmptyPath(path))
8505
8871
  return this.contents !== void 0;
8506
- return identity.isCollection(this.contents) ? this.contents.hasIn(path) : false;
8872
+ return identity2.isCollection(this.contents) ? this.contents.hasIn(path) : false;
8507
8873
  }
8508
8874
  /**
8509
8875
  * Sets a value in this document. For `!!set`, `value` needs to be a
@@ -8610,7 +8976,7 @@ var require_Document = __commonJS({
8610
8976
  }
8611
8977
  };
8612
8978
  function assertCollection(contents) {
8613
- if (identity.isCollection(contents))
8979
+ if (identity2.isCollection(contents))
8614
8980
  return true;
8615
8981
  throw new Error("Expected a YAML collection as document contents");
8616
8982
  }
@@ -8888,12 +9254,12 @@ var require_util_map_includes = __commonJS({
8888
9254
  "../../../../node_modules/.pnpm/yaml@2.7.1/node_modules/yaml/dist/compose/util-map-includes.js"(exports2) {
8889
9255
  "use strict";
8890
9256
  init_cjs_shims();
8891
- var identity = require_identity();
9257
+ var identity2 = require_identity();
8892
9258
  function mapIncludes(ctx, items, search) {
8893
9259
  const { uniqueKeys } = ctx.options;
8894
9260
  if (uniqueKeys === false)
8895
9261
  return false;
8896
- const isEqual2 = typeof uniqueKeys === "function" ? uniqueKeys : (a, b) => a === b || identity.isScalar(a) && identity.isScalar(b) && a.value === b.value;
9262
+ const isEqual2 = typeof uniqueKeys === "function" ? uniqueKeys : (a, b) => a === b || identity2.isScalar(a) && identity2.isScalar(b) && a.value === b.value;
8897
9263
  return items.some((pair) => isEqual2(pair.key, search));
8898
9264
  }
8899
9265
  exports2.mapIncludes = mapIncludes;
@@ -9110,7 +9476,7 @@ var require_resolve_flow_collection = __commonJS({
9110
9476
  "../../../../node_modules/.pnpm/yaml@2.7.1/node_modules/yaml/dist/compose/resolve-flow-collection.js"(exports2) {
9111
9477
  "use strict";
9112
9478
  init_cjs_shims();
9113
- var identity = require_identity();
9479
+ var identity2 = require_identity();
9114
9480
  var Pair = require_Pair();
9115
9481
  var YAMLMap = require_YAMLMap();
9116
9482
  var YAMLSeq = require_YAMLSeq();
@@ -9189,7 +9555,7 @@ var require_resolve_flow_collection = __commonJS({
9189
9555
  }
9190
9556
  if (prevItemComment) {
9191
9557
  let prev = coll.items[coll.items.length - 1];
9192
- if (identity.isPair(prev))
9558
+ if (identity2.isPair(prev))
9193
9559
  prev = prev.value ?? prev.key;
9194
9560
  if (prev.comment)
9195
9561
  prev.comment += "\n" + prevItemComment;
@@ -9305,7 +9671,7 @@ var require_compose_collection = __commonJS({
9305
9671
  "../../../../node_modules/.pnpm/yaml@2.7.1/node_modules/yaml/dist/compose/compose-collection.js"(exports2) {
9306
9672
  "use strict";
9307
9673
  init_cjs_shims();
9308
- var identity = require_identity();
9674
+ var identity2 = require_identity();
9309
9675
  var Scalar = require_Scalar();
9310
9676
  var YAMLMap = require_YAMLMap();
9311
9677
  var YAMLSeq = require_YAMLSeq();
@@ -9355,7 +9721,7 @@ var require_compose_collection = __commonJS({
9355
9721
  }
9356
9722
  const coll = resolveCollection(CN, ctx, token, onError, tagName, tag);
9357
9723
  const res = tag.resolve?.(coll, (msg) => onError(tagToken, "TAG_RESOLVE_FAILED", msg), ctx.options) ?? coll;
9358
- const node = identity.isNode(res) ? res : new Scalar.Scalar(res);
9724
+ const node = identity2.isNode(res) ? res : new Scalar.Scalar(res);
9359
9725
  node.range = coll.range;
9360
9726
  node.tag = tagName;
9361
9727
  if (tag?.format)
@@ -9775,7 +10141,7 @@ var require_compose_scalar = __commonJS({
9775
10141
  "../../../../node_modules/.pnpm/yaml@2.7.1/node_modules/yaml/dist/compose/compose-scalar.js"(exports2) {
9776
10142
  "use strict";
9777
10143
  init_cjs_shims();
9778
- var identity = require_identity();
10144
+ var identity2 = require_identity();
9779
10145
  var Scalar = require_Scalar();
9780
10146
  var resolveBlockScalar = require_resolve_block_scalar();
9781
10147
  var resolveFlowScalar = require_resolve_flow_scalar();
@@ -9784,17 +10150,17 @@ var require_compose_scalar = __commonJS({
9784
10150
  const tagName = tagToken ? ctx.directives.tagName(tagToken.source, (msg) => onError(tagToken, "TAG_RESOLVE_FAILED", msg)) : null;
9785
10151
  let tag;
9786
10152
  if (ctx.options.stringKeys && ctx.atKey) {
9787
- tag = ctx.schema[identity.SCALAR];
10153
+ tag = ctx.schema[identity2.SCALAR];
9788
10154
  } else if (tagName)
9789
10155
  tag = findScalarTagByName(ctx.schema, value, tagName, tagToken, onError);
9790
10156
  else if (token.type === "scalar")
9791
10157
  tag = findScalarTagByTest(ctx, value, token, onError);
9792
10158
  else
9793
- tag = ctx.schema[identity.SCALAR];
10159
+ tag = ctx.schema[identity2.SCALAR];
9794
10160
  let scalar;
9795
10161
  try {
9796
10162
  const res = tag.resolve(value, (msg) => onError(tagToken ?? token, "TAG_RESOLVE_FAILED", msg), ctx.options);
9797
- scalar = identity.isScalar(res) ? res : new Scalar.Scalar(res);
10163
+ scalar = identity2.isScalar(res) ? res : new Scalar.Scalar(res);
9798
10164
  } catch (error) {
9799
10165
  const msg = error instanceof Error ? error.message : String(error);
9800
10166
  onError(tagToken ?? token, "TAG_RESOLVE_FAILED", msg);
@@ -9814,7 +10180,7 @@ var require_compose_scalar = __commonJS({
9814
10180
  }
9815
10181
  function findScalarTagByName(schema, value, tagName, tagToken, onError) {
9816
10182
  if (tagName === "!")
9817
- return schema[identity.SCALAR];
10183
+ return schema[identity2.SCALAR];
9818
10184
  const matchWithTest = [];
9819
10185
  for (const tag of schema.tags) {
9820
10186
  if (!tag.collection && tag.tag === tagName) {
@@ -9833,12 +10199,12 @@ var require_compose_scalar = __commonJS({
9833
10199
  return kt;
9834
10200
  }
9835
10201
  onError(tagToken, "TAG_RESOLVE_FAILED", `Unresolved tag: ${tagName}`, tagName !== "tag:yaml.org,2002:str");
9836
- return schema[identity.SCALAR];
10202
+ return schema[identity2.SCALAR];
9837
10203
  }
9838
10204
  function findScalarTagByTest({ atKey, directives, schema }, value, token, onError) {
9839
- const tag = schema.tags.find((tag2) => (tag2.default === true || atKey && tag2.default === "key") && tag2.test?.test(value)) || schema[identity.SCALAR];
10205
+ const tag = schema.tags.find((tag2) => (tag2.default === true || atKey && tag2.default === "key") && tag2.test?.test(value)) || schema[identity2.SCALAR];
9840
10206
  if (schema.compat) {
9841
- const compat = schema.compat.find((tag2) => tag2.default && tag2.test?.test(value)) ?? schema[identity.SCALAR];
10207
+ const compat = schema.compat.find((tag2) => tag2.default && tag2.test?.test(value)) ?? schema[identity2.SCALAR];
9842
10208
  if (tag.tag !== compat.tag) {
9843
10209
  const ts = directives.tagString(tag.tag);
9844
10210
  const cs = directives.tagString(compat.tag);
@@ -9890,7 +10256,7 @@ var require_compose_node = __commonJS({
9890
10256
  "use strict";
9891
10257
  init_cjs_shims();
9892
10258
  var Alias = require_Alias();
9893
- var identity = require_identity();
10259
+ var identity2 = require_identity();
9894
10260
  var composeCollection = require_compose_collection();
9895
10261
  var composeScalar = require_compose_scalar();
9896
10262
  var resolveEnd = require_resolve_end();
@@ -9931,7 +10297,7 @@ var require_compose_node = __commonJS({
9931
10297
  }
9932
10298
  if (anchor && node.anchor === "")
9933
10299
  onError(anchor, "BAD_ALIAS", "Anchor cannot be an empty string");
9934
- if (atKey && ctx.options.stringKeys && (!identity.isScalar(node) || typeof node.value !== "string" || node.tag && node.tag !== "tag:yaml.org,2002:str")) {
10300
+ if (atKey && ctx.options.stringKeys && (!identity2.isScalar(node) || typeof node.value !== "string" || node.tag && node.tag !== "tag:yaml.org,2002:str")) {
9935
10301
  const msg = "With stringKeys, all keys must be strings";
9936
10302
  onError(tag ?? token, "NON_STRING_KEY", msg);
9937
10303
  }
@@ -10039,7 +10405,7 @@ var require_composer = __commonJS({
10039
10405
  var directives = require_directives();
10040
10406
  var Document = require_Document();
10041
10407
  var errors = require_errors();
10042
- var identity = require_identity();
10408
+ var identity2 = require_identity();
10043
10409
  var composeDoc = require_compose_doc();
10044
10410
  var resolveEnd = require_resolve_end();
10045
10411
  function getErrorPos(src) {
@@ -10101,9 +10467,9 @@ var require_composer = __commonJS({
10101
10467
  ${comment}` : comment;
10102
10468
  } else if (afterEmptyLine || doc.directives.docStart || !dc) {
10103
10469
  doc.commentBefore = comment;
10104
- } else if (identity.isCollection(dc) && !dc.flow && dc.items.length > 0) {
10470
+ } else if (identity2.isCollection(dc) && !dc.flow && dc.items.length > 0) {
10105
10471
  let it = dc.items[0];
10106
- if (identity.isPair(it))
10472
+ if (identity2.isPair(it))
10107
10473
  it = it.key;
10108
10474
  const cb = it.commentBefore;
10109
10475
  it.commentBefore = cb ? `${comment}
@@ -12140,7 +12506,7 @@ var require_public_api = __commonJS({
12140
12506
  var Document = require_Document();
12141
12507
  var errors = require_errors();
12142
12508
  var log = require_log();
12143
- var identity = require_identity();
12509
+ var identity2 = require_identity();
12144
12510
  var lineCounter = require_line_counter();
12145
12511
  var parser = require_parser();
12146
12512
  function parseOptions(options) {
@@ -12218,7 +12584,7 @@ var require_public_api = __commonJS({
12218
12584
  if (!keepUndefined)
12219
12585
  return void 0;
12220
12586
  }
12221
- if (identity.isDocument(value) && !_replacer)
12587
+ if (identity2.isDocument(value) && !_replacer)
12222
12588
  return value.toString(options);
12223
12589
  return new Document.Document(value, _replacer, options).toString(options);
12224
12590
  }
@@ -12239,7 +12605,7 @@ var require_dist = __commonJS({
12239
12605
  var Schema = require_Schema();
12240
12606
  var errors = require_errors();
12241
12607
  var Alias = require_Alias();
12242
- var identity = require_identity();
12608
+ var identity2 = require_identity();
12243
12609
  var Pair = require_Pair();
12244
12610
  var Scalar = require_Scalar();
12245
12611
  var YAMLMap = require_YAMLMap();
@@ -12257,14 +12623,14 @@ var require_dist = __commonJS({
12257
12623
  exports2.YAMLParseError = errors.YAMLParseError;
12258
12624
  exports2.YAMLWarning = errors.YAMLWarning;
12259
12625
  exports2.Alias = Alias.Alias;
12260
- exports2.isAlias = identity.isAlias;
12261
- exports2.isCollection = identity.isCollection;
12262
- exports2.isDocument = identity.isDocument;
12263
- exports2.isMap = identity.isMap;
12264
- exports2.isNode = identity.isNode;
12265
- exports2.isPair = identity.isPair;
12266
- exports2.isScalar = identity.isScalar;
12267
- exports2.isSeq = identity.isSeq;
12626
+ exports2.isAlias = identity2.isAlias;
12627
+ exports2.isCollection = identity2.isCollection;
12628
+ exports2.isDocument = identity2.isDocument;
12629
+ exports2.isMap = identity2.isMap;
12630
+ exports2.isNode = identity2.isNode;
12631
+ exports2.isPair = identity2.isPair;
12632
+ exports2.isScalar = identity2.isScalar;
12633
+ exports2.isSeq = identity2.isSeq;
12268
12634
  exports2.Pair = Pair.Pair;
12269
12635
  exports2.Scalar = Scalar.Scalar;
12270
12636
  exports2.YAMLMap = YAMLMap.YAMLMap;
@@ -12307,6 +12673,7 @@ export {
12307
12673
  isString_default,
12308
12674
  isEmpty_default,
12309
12675
  isEqual_default,
12676
+ pickBy_default,
12310
12677
  init_lodash,
12311
12678
  require_dist,
12312
12679
  require_constants