@player-ui/markdown-plugin 0.15.3-next.0 → 0.15.3-next.2

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.
@@ -118,6 +118,7 @@ function _inherits(subClass, superClass) {
118
118
  if (superClass) _set_prototype_of(subClass, superClass);
119
119
  }
120
120
  function _instanceof(left, right) {
121
+ "@swc/helpers - instanceof";
121
122
  if (right != null && typeof Symbol !== "undefined" && right[Symbol.hasInstance]) {
122
123
  return !!right[Symbol.hasInstance](left);
123
124
  } else {
@@ -201,12 +202,22 @@ function _object_spread_props(target, source) {
201
202
  }
202
203
  function _object_without_properties(source, excluded) {
203
204
  if (source == null) return {};
204
- var target = _object_without_properties_loose(source, excluded);
205
- var key, i;
205
+ var target = {}, sourceKeys, key, i;
206
+ if (typeof Reflect !== "undefined" && Reflect.ownKeys) {
207
+ sourceKeys = Reflect.ownKeys(Object(source));
208
+ for(i = 0; i < sourceKeys.length; i++){
209
+ key = sourceKeys[i];
210
+ if (excluded.indexOf(key) >= 0) continue;
211
+ if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
212
+ target[key] = source[key];
213
+ }
214
+ return target;
215
+ }
216
+ target = _object_without_properties_loose(source, excluded);
206
217
  if (Object.getOwnPropertySymbols) {
207
- var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
208
- for(i = 0; i < sourceSymbolKeys.length; i++){
209
- key = sourceSymbolKeys[i];
218
+ sourceKeys = Object.getOwnPropertySymbols(source);
219
+ for(i = 0; i < sourceKeys.length; i++){
220
+ key = sourceKeys[i];
210
221
  if (excluded.indexOf(key) >= 0) continue;
211
222
  if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
212
223
  target[key] = source[key];
@@ -216,12 +227,11 @@ function _object_without_properties(source, excluded) {
216
227
  }
217
228
  function _object_without_properties_loose(source, excluded) {
218
229
  if (source == null) return {};
219
- var target = {};
220
- var sourceKeys = Object.keys(source);
221
- var key, i;
230
+ var target = {}, sourceKeys = Object.getOwnPropertyNames(source), key, i;
222
231
  for(i = 0; i < sourceKeys.length; i++){
223
232
  key = sourceKeys[i];
224
233
  if (excluded.indexOf(key) >= 0) continue;
234
+ if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
225
235
  target[key] = source[key];
226
236
  }
227
237
  return target;
@@ -303,9 +313,17 @@ function _ts_generator(thisArg, body) {
303
313
  },
304
314
  trys: [],
305
315
  ops: []
306
- }, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
307
- return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() {
308
- return this;
316
+ }, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype), d = Object.defineProperty;
317
+ return d(g, "next", {
318
+ value: verb(0)
319
+ }), d(g, "throw", {
320
+ value: verb(1)
321
+ }), d(g, "return", {
322
+ value: verb(2)
323
+ }), typeof Symbol === "function" && d(g, Symbol.iterator, {
324
+ value: function() {
325
+ return this;
326
+ }
309
327
  }), g;
310
328
  function verb(n) {
311
329
  return function(v) {
@@ -432,7 +450,7 @@ var MarkdownPlugin = function() {
432
450
  };
433
451
  var createObjectMatcher = function createObjectMatcher(partialObj) {
434
452
  var pairs = traverseObj(partialObj);
435
- var matchFunction = function(searchObj) {
453
+ var matchFunction = function matchFunction(searchObj) {
436
454
  var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = undefined;
437
455
  try {
438
456
  for(var _iterator = Array.from(pairs)[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true){
@@ -462,7 +480,7 @@ var MarkdownPlugin = function() {
462
480
  return matchFunction;
463
481
  };
464
482
  var createBasicMatcher = function createBasicMatcher(seed) {
465
- var matcher = function(match) {
483
+ var matcher = function matcher(match) {
466
484
  return seed === match;
467
485
  };
468
486
  matcher.count = 1;
@@ -530,21 +548,21 @@ var MarkdownPlugin = function() {
530
548
  return middleware;
531
549
  }
532
550
  return {
533
- get: function(binding, options) {
551
+ get: function get(binding, options) {
534
552
  var resolvedOptions = options !== null && options !== void 0 ? options : defaultOptions;
535
553
  if (middleware.get) {
536
554
  return middleware.get(binding, resolvedOptions, next);
537
555
  }
538
556
  return next === null || next === void 0 ? void 0 : next.get(binding, resolvedOptions);
539
557
  },
540
- set: function(transaction, options) {
558
+ set: function set(transaction, options) {
541
559
  var resolvedOptions = options !== null && options !== void 0 ? options : defaultOptions;
542
560
  if (middleware.set) {
543
561
  return middleware.set(transaction, resolvedOptions, next);
544
562
  }
545
563
  return next === null || next === void 0 ? void 0 : next.set(transaction, resolvedOptions);
546
564
  },
547
- delete: function(binding, options) {
565
+ delete: function _delete(binding, options) {
548
566
  var resolvedOptions = options !== null && options !== void 0 ? options : defaultOptions;
549
567
  if (middleware.delete) {
550
568
  return middleware.delete(binding, resolvedOptions, next);
@@ -568,15 +586,15 @@ var MarkdownPlugin = function() {
568
586
  return model;
569
587
  }
570
588
  return {
571
- get: function(binding, options) {
589
+ get: function get(binding, options) {
572
590
  var _createModelWithOptions;
573
591
  return (_createModelWithOptions = createModelWithOptions(options)) === null || _createModelWithOptions === void 0 ? void 0 : _createModelWithOptions.get(binding, options);
574
592
  },
575
- set: function(transaction, options) {
593
+ set: function set(transaction, options) {
576
594
  var _createModelWithOptions;
577
595
  return (_createModelWithOptions = createModelWithOptions(options)) === null || _createModelWithOptions === void 0 ? void 0 : _createModelWithOptions.set(transaction, options);
578
596
  },
579
- delete: function(binding, options) {
597
+ delete: function _delete(binding, options) {
580
598
  var _createModelWithOptions;
581
599
  return (_createModelWithOptions = createModelWithOptions(options)) === null || _createModelWithOptions === void 0 ? void 0 : _createModelWithOptions.delete(binding, options);
582
600
  }
@@ -650,13 +668,13 @@ var MarkdownPlugin = function() {
650
668
  return ch0 === OCURL_CODE && ch1 === OCURL_CODE;
651
669
  };
652
670
  var parseExpression = function parseExpression(expr, options) {
653
- var _options_strict;
654
- var strictMode = (_options_strict = options === null || options === void 0 ? void 0 : options.strict) !== null && _options_strict !== void 0 ? _options_strict : true;
671
+ var _ref;
672
+ var strictMode = (_ref = options === null || options === void 0 ? void 0 : options.strict) !== null && _ref !== void 0 ? _ref : true;
655
673
  var charAtFunc = expr.charAt;
656
674
  var charCodeAtFunc = expr.charCodeAt;
657
675
  var length = expr.length;
658
676
  var index2 = 0;
659
- var getLocation = function(startChar) {
677
+ var getLocation = function getLocation(startChar) {
660
678
  return {
661
679
  start: {
662
680
  character: startChar
@@ -1423,17 +1441,17 @@ var MarkdownPlugin = function() {
1423
1441
  return _object_spread_props(_object_spread({}, resolverOptions), {
1424
1442
  data: {
1425
1443
  model: resolverOptions.model,
1426
- formatValue: function(ref, value) {
1444
+ formatValue: function formatValue(ref, value) {
1427
1445
  if (resolverOptions.formatValue) {
1428
1446
  return resolverOptions.formatValue(ref, value);
1429
1447
  }
1430
1448
  return value;
1431
1449
  },
1432
- format: function(bindingLike, value) {
1450
+ format: function format(bindingLike, value) {
1433
1451
  return resolverOptions.format ? resolverOptions.format(isBinding(bindingLike) ? bindingLike : resolverOptions.parseBinding(bindingLike), value) : value;
1434
1452
  }
1435
1453
  },
1436
- evaluate: function(exp) {
1454
+ evaluate: function evaluate(exp) {
1437
1455
  return resolverOptions.evaluator.evaluate(exp, resolverOptions);
1438
1456
  }
1439
1457
  });
@@ -5854,27 +5872,27 @@ var MarkdownPlugin = function() {
5854
5872
  var __getOwnPropNames = Object.getOwnPropertyNames;
5855
5873
  var __getProtoOf = Object.getPrototypeOf;
5856
5874
  var __hasOwnProp = Object.prototype.hasOwnProperty;
5857
- var __commonJS = function(cb, mod) {
5875
+ var __commonJS = function __commonJS(cb, mod) {
5858
5876
  return function __require() {
5859
5877
  return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = {
5860
5878
  exports: {}
5861
5879
  }).exports, mod), mod.exports;
5862
5880
  };
5863
5881
  };
5864
- var __export = function(target, all2) {
5882
+ var __export = function __export(target, all2) {
5865
5883
  for(var name in all2)__defProp(target, name, {
5866
5884
  get: all2[name],
5867
5885
  enumerable: true
5868
5886
  });
5869
5887
  };
5870
- var __copyProps = function(to, from, except, desc) {
5888
+ var __copyProps = function __copyProps(to, from, except, desc) {
5871
5889
  if (from && (typeof from === "undefined" ? "undefined" : _type_of(from)) === "object" || typeof from === "function") {
5872
5890
  var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = undefined;
5873
5891
  try {
5874
5892
  var _loop = function() {
5875
5893
  var key = _step.value;
5876
5894
  if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
5877
- get: function() {
5895
+ get: function get() {
5878
5896
  return from[key];
5879
5897
  },
5880
5898
  enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
@@ -5898,7 +5916,7 @@ var MarkdownPlugin = function() {
5898
5916
  }
5899
5917
  return to;
5900
5918
  };
5901
- var __toESM = function(mod, isNodeMode, target) {
5919
+ var __toESM = function __toESM(mod, isNodeMode, target) {
5902
5920
  return target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(// If the importer is in node compatibility mode or this is not an ESM
5903
5921
  // file that has been converted to a CommonJS file using a Babel-
5904
5922
  // compatible transform (i.e. "__esModule" has not been set), then set
@@ -5908,7 +5926,7 @@ var MarkdownPlugin = function() {
5908
5926
  enumerable: true
5909
5927
  }) : target, mod);
5910
5928
  };
5911
- var __toCommonJS = function(mod) {
5929
+ var __toCommonJS = function __toCommonJS(mod) {
5912
5930
  return __copyProps(__defProp({}, "__esModule", {
5913
5931
  value: true
5914
5932
  }), mod);
@@ -6010,7 +6028,7 @@ var MarkdownPlugin = function() {
6010
6028
  function toError(err) {
6011
6029
  try {
6012
6030
  return _instanceof(err, Error) ? err : new Error("Value that is not an instance of Error was thrown: ".concat(err));
6013
- } catch (e) {
6031
+ } catch (unused) {
6014
6032
  return new Error("Failed to stringify non-instance of Error that was thrown.This is possibly due to the fact that toString() method of the valuedoesn't return a primitive value.");
6015
6033
  }
6016
6034
  }
@@ -6311,7 +6329,7 @@ var MarkdownPlugin = function() {
6311
6329
  var require_p_defer = __commonJS({
6312
6330
  "../../../../../../../../../../../execroot/_main/bazel-out/k8-fastbuild/bin/node_modules/.aspect_rules_js/p-defer@3.0.0/node_modules/p-defer/index.js": function(exports, module) {
6313
6331
  "use strict";
6314
- var pDefer = function() {
6332
+ var pDefer = function pDefer() {
6315
6333
  var deferred2 = {};
6316
6334
  deferred2.promise = new Promise(function(resolve, reject) {
6317
6335
  deferred2.resolve = resolve;
@@ -6420,7 +6438,7 @@ var MarkdownPlugin = function() {
6420
6438
  // ../../../../../../../../../../../execroot/_main/bazel-out/k8-fastbuild/bin/plugins/markdown/core/src/index.ts
6421
6439
  var src_exports = {};
6422
6440
  __export(src_exports, {
6423
- MarkdownPlugin: function() {
6441
+ MarkdownPlugin: function MarkdownPlugin1() {
6424
6442
  return MarkdownPlugin;
6425
6443
  }
6426
6444
  });
@@ -6866,7 +6884,7 @@ var MarkdownPlugin = function() {
6866
6884
  }
6867
6885
  return pairs;
6868
6886
  }
6869
- var createSortedArray = function() {
6887
+ var createSortedArray = function createSortedArray() {
6870
6888
  return new import_sorted_array.default([], function(c) {
6871
6889
  return c.matcher.count;
6872
6890
  });
@@ -6962,38 +6980,38 @@ var MarkdownPlugin = function() {
6962
6980
  }();
6963
6981
  // ../../../../../../../../../../../execroot/_main/bazel-out/k8-fastbuild/bin/node_modules/.aspect_rules_js/@player-ui+player@0.0.0/node_modules/@player-ui/player/dist/index.mjs
6964
6982
  var __defProp2 = Object.defineProperty;
6965
- var __export2 = function(target, all2) {
6983
+ var __export2 = function __export2(target, all2) {
6966
6984
  for(var name in all2)__defProp2(target, name, {
6967
6985
  get: all2[name],
6968
6986
  enumerable: true
6969
6987
  });
6970
6988
  };
6971
- var toValue = function(value) {
6989
+ var toValue = function toValue(value) {
6972
6990
  return {
6973
6991
  name: "Value",
6974
6992
  value: value
6975
6993
  };
6976
6994
  };
6977
- var toExpression = function(value) {
6995
+ var toExpression = function toExpression(value) {
6978
6996
  return {
6979
6997
  name: "Expression",
6980
6998
  value: value
6981
6999
  };
6982
7000
  };
6983
- var toPath = function(path) {
7001
+ var toPath = function toPath(path) {
6984
7002
  return {
6985
7003
  name: "PathNode",
6986
7004
  path: path
6987
7005
  };
6988
7006
  };
6989
- var toQuery = function(key, value) {
7007
+ var toQuery = function toQuery(key, value) {
6990
7008
  return {
6991
7009
  name: "Query",
6992
7010
  key: key,
6993
7011
  value: value
6994
7012
  };
6995
7013
  };
6996
- var toConcatenatedNode = function(values) {
7014
+ var toConcatenatedNode = function toConcatenatedNode(values) {
6997
7015
  if (values.length === 1) {
6998
7016
  return values[0];
6999
7017
  }
@@ -7011,7 +7029,7 @@ var MarkdownPlugin = function() {
7011
7029
  var SINGLE_QUOTE = "'";
7012
7030
  var DOUBLE_QUOTE = '"';
7013
7031
  var BACK_TICK = "`";
7014
- var isIdentifierChar = function(char) {
7032
+ var isIdentifierChar = function isIdentifierChar(char) {
7015
7033
  if (!char) {
7016
7034
  return false;
7017
7035
  }
@@ -7031,10 +7049,10 @@ var MarkdownPlugin = function() {
7031
7049
  charCode === 125;
7032
7050
  return !matches;
7033
7051
  };
7034
- var parse = function(path) {
7052
+ var parse = function parse(path) {
7035
7053
  var index2 = 1;
7036
7054
  var ch = path.charAt(0);
7037
- var next = function(expected) {
7055
+ var next = function next(expected) {
7038
7056
  if (expected && ch !== expected) {
7039
7057
  throw new Error("Expected char: ".concat(expected, " but got: ").concat(ch));
7040
7058
  }
@@ -7042,12 +7060,12 @@ var MarkdownPlugin = function() {
7042
7060
  index2 += 1;
7043
7061
  return ch;
7044
7062
  };
7045
- var whitespace = function() {
7063
+ var whitespace = function whitespace() {
7046
7064
  while(ch === " "){
7047
7065
  next();
7048
7066
  }
7049
7067
  };
7050
- var identifier = function() {
7068
+ var identifier = function identifier() {
7051
7069
  var allowBoolValue = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : false;
7052
7070
  if (!isIdentifierChar(ch)) {
7053
7071
  return;
@@ -7073,7 +7091,7 @@ var MarkdownPlugin = function() {
7073
7091
  return toValue(value);
7074
7092
  }
7075
7093
  };
7076
- var expression = function() {
7094
+ var expression = function expression() {
7077
7095
  if (ch === BACK_TICK) {
7078
7096
  next(BACK_TICK);
7079
7097
  var exp = ch;
@@ -7089,7 +7107,7 @@ var MarkdownPlugin = function() {
7089
7107
  }
7090
7108
  }
7091
7109
  };
7092
- var regex = function(match) {
7110
+ var regex = function regex(match) {
7093
7111
  if (!(ch === null || ch === void 0 ? void 0 : ch.match(match))) {
7094
7112
  return;
7095
7113
  }
@@ -7104,7 +7122,7 @@ var MarkdownPlugin = function() {
7104
7122
  return toValue(value);
7105
7123
  }
7106
7124
  };
7107
- var nestedPath = function() {
7125
+ var nestedPath = function nestedPath() {
7108
7126
  if (ch === OPEN_CURL) {
7109
7127
  next(OPEN_CURL);
7110
7128
  next(OPEN_CURL);
@@ -7114,12 +7132,12 @@ var MarkdownPlugin = function() {
7114
7132
  return modelRef;
7115
7133
  }
7116
7134
  };
7117
- var simpleSegment = function() {
7135
+ var simpleSegment = function simpleSegment() {
7118
7136
  var allowBoolValue = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : false;
7119
- var _nestedPath, _ref;
7137
+ var _ref, _nestedPath;
7120
7138
  return (_ref = (_nestedPath = nestedPath()) !== null && _nestedPath !== void 0 ? _nestedPath : expression()) !== null && _ref !== void 0 ? _ref : identifier(allowBoolValue);
7121
7139
  };
7122
- var segment = function() {
7140
+ var segment = function segment() {
7123
7141
  var segments = [];
7124
7142
  var nextSegment = simpleSegment();
7125
7143
  while(nextSegment !== void 0){
@@ -7131,7 +7149,7 @@ var MarkdownPlugin = function() {
7131
7149
  }
7132
7150
  return toConcatenatedNode(segments);
7133
7151
  };
7134
- var optionallyQuotedSegment = function() {
7152
+ var optionallyQuotedSegment = function optionallyQuotedSegment() {
7135
7153
  var allowBoolValue = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : false;
7136
7154
  whitespace();
7137
7155
  if (ch === SINGLE_QUOTE || ch === DOUBLE_QUOTE) {
@@ -7143,7 +7161,7 @@ var MarkdownPlugin = function() {
7143
7161
  }
7144
7162
  return simpleSegment(allowBoolValue);
7145
7163
  };
7146
- var equals = function() {
7164
+ var equals = function equals() {
7147
7165
  if (ch !== EQUALS) {
7148
7166
  return false;
7149
7167
  }
@@ -7152,7 +7170,7 @@ var MarkdownPlugin = function() {
7152
7170
  }
7153
7171
  return true;
7154
7172
  };
7155
- var parseBracket = function() {
7173
+ var parseBracket = function parseBracket() {
7156
7174
  if (ch === OPEN_BRACKET) {
7157
7175
  next(OPEN_BRACKET);
7158
7176
  whitespace();
@@ -7174,7 +7192,7 @@ var MarkdownPlugin = function() {
7174
7192
  return value;
7175
7193
  }
7176
7194
  };
7177
- var parseSegmentAndBrackets = function() {
7195
+ var parseSegmentAndBrackets = function parseSegmentAndBrackets() {
7178
7196
  var parsed = [];
7179
7197
  var firstSegment = segment();
7180
7198
  if (firstSegment) {
@@ -7191,7 +7209,7 @@ var MarkdownPlugin = function() {
7191
7209
  }
7192
7210
  return parsed;
7193
7211
  };
7194
- var parsePath = function() {
7212
+ var parsePath = function parsePath() {
7195
7213
  var parts = [];
7196
7214
  var nextSegment = parseSegmentAndBrackets();
7197
7215
  while(nextSegment !== void 0){
@@ -7302,6 +7320,7 @@ var MarkdownPlugin = function() {
7302
7320
  return _BindingInstance;
7303
7321
  }();
7304
7322
  function resolveBindingAST(bindingPathNode, options, hooks) {
7323
+ var _context_updates;
7305
7324
  var context = {
7306
7325
  updates: {},
7307
7326
  path: []
@@ -7341,8 +7360,8 @@ var MarkdownPlugin = function() {
7341
7360
  }
7342
7361
  }
7343
7362
  function resolveNode(_node) {
7344
- var _hooks_beforeResolveNode_call;
7345
- var resolvedNode = (_hooks_beforeResolveNode_call = hooks === null || hooks === void 0 ? void 0 : hooks.beforeResolveNode.call(_node, _object_spread({}, context, options))) !== null && _hooks_beforeResolveNode_call !== void 0 ? _hooks_beforeResolveNode_call : _node;
7363
+ var _ref;
7364
+ var resolvedNode = (_ref = hooks === null || hooks === void 0 ? void 0 : hooks.beforeResolveNode.call(_node, _object_spread({}, context, options))) !== null && _ref !== void 0 ? _ref : _node;
7346
7365
  switch(resolvedNode.name){
7347
7366
  case "Expression":
7348
7367
  case "PathNode":
@@ -7378,7 +7397,6 @@ var MarkdownPlugin = function() {
7378
7397
  }
7379
7398
  }
7380
7399
  bindingPathNode.path.forEach(resolveNode);
7381
- var _context_updates;
7382
7400
  return {
7383
7401
  path: context.path,
7384
7402
  updates: Object.keys((_context_updates = context.updates) !== null && _context_updates !== void 0 ? _context_updates : {}).length > 0 ? context.updates : void 0
@@ -7387,13 +7405,13 @@ var MarkdownPlugin = function() {
7387
7405
  var BINDING_BRACKETS_REGEX = /[\s()*=`{}'"[\]]/;
7388
7406
  var LAZY_BINDING_REGEX = /^[^.]+(\..+)*$/;
7389
7407
  var DEFAULT_OPTIONS = {
7390
- get: function() {
7408
+ get: function get() {
7391
7409
  throw new Error("Not Implemented");
7392
7410
  },
7393
- set: function() {
7411
+ set: function set() {
7394
7412
  throw new Error("Not Implemented");
7395
7413
  },
7396
- evaluate: function() {
7414
+ evaluate: function evaluate() {
7397
7415
  throw new Error("Not Implemented");
7398
7416
  }
7399
7417
  };
@@ -7416,18 +7434,18 @@ var MarkdownPlugin = function() {
7416
7434
  * representation of that path.
7417
7435
  */ key: "normalizePath",
7418
7436
  value: function normalizePath(path, resolveOptions) {
7437
+ var _this_parseCache_path;
7419
7438
  if (!BINDING_BRACKETS_REGEX.test(path) && LAZY_BINDING_REGEX.test(path) && this.hooks.skipOptimization.call(path) !== true) {
7420
7439
  return {
7421
7440
  path: path.split("."),
7422
7441
  updates: void 0
7423
7442
  };
7424
7443
  }
7425
- var _this_parseCache_path;
7426
7444
  var ast = (_this_parseCache_path = this.parseCache[path]) !== null && _this_parseCache_path !== void 0 ? _this_parseCache_path : parse(path);
7427
7445
  this.parseCache[path] = ast;
7428
7446
  if ((typeof ast === "undefined" ? "undefined" : _type_of(ast)) !== "object" || !(ast === null || ast === void 0 ? void 0 : ast.status)) {
7429
- var _ast_error;
7430
- throw new TypeError('Cannot normalize path "'.concat(path, '": ').concat((_ast_error = ast === null || ast === void 0 ? void 0 : ast.error) !== null && _ast_error !== void 0 ? _ast_error : "Unknown Error."));
7447
+ var _ref;
7448
+ throw new TypeError('Cannot normalize path "'.concat(path, '": ').concat((_ref = ast === null || ast === void 0 ? void 0 : ast.error) !== null && _ref !== void 0 ? _ref : "Unknown Error."));
7431
7449
  }
7432
7450
  try {
7433
7451
  return resolveBindingAST(ast.path, resolveOptions, this.hooks);
@@ -7460,14 +7478,14 @@ var MarkdownPlugin = function() {
7460
7478
  var updates = {};
7461
7479
  var joined = Array.isArray(rawBinding) ? rawBinding.join(".") : String(rawBinding);
7462
7480
  var normalizeConfig = {
7463
- getValue: function(path) {
7481
+ getValue: function getValue(path) {
7464
7482
  var normalized2 = _this.normalizePath(path.join("."), normalizeConfig);
7465
7483
  return options.get(_this.getBindingForNormalizedResult(normalized2));
7466
7484
  },
7467
- evaluate: function(exp) {
7485
+ evaluate: function evaluate(exp) {
7468
7486
  return options.evaluate(exp);
7469
7487
  },
7470
- convertToPath: function(path) {
7488
+ convertToPath: function convertToPath(path) {
7471
7489
  if (path === void 0) {
7472
7490
  throw new Error("Attempted to convert undefined value to binding path");
7473
7491
  }
@@ -7532,9 +7550,9 @@ var MarkdownPlugin = function() {
7532
7550
  /** Grab all of the bindings that this depended on */ key: "getDependencies",
7533
7551
  value: function getDependencies(name) {
7534
7552
  if (name !== void 0) {
7553
+ var _ref;
7535
7554
  var _this_namedDependencySets_name, _this_namedDependencySets;
7536
- var _this_namedDependencySets_name_readDeps;
7537
- return (_this_namedDependencySets_name_readDeps = (_this_namedDependencySets = this.namedDependencySets) === null || _this_namedDependencySets === void 0 ? void 0 : (_this_namedDependencySets_name = _this_namedDependencySets[name]) === null || _this_namedDependencySets_name === void 0 ? void 0 : _this_namedDependencySets_name.readDeps) !== null && _this_namedDependencySets_name_readDeps !== void 0 ? _this_namedDependencySets_name_readDeps : /* @__PURE__ */ new Set();
7555
+ return (_ref = (_this_namedDependencySets = this.namedDependencySets) === null || _this_namedDependencySets === void 0 ? void 0 : (_this_namedDependencySets_name = _this_namedDependencySets[name]) === null || _this_namedDependencySets_name === void 0 ? void 0 : _this_namedDependencySets_name.readDeps) !== null && _ref !== void 0 ? _ref : /* @__PURE__ */ new Set();
7538
7556
  }
7539
7557
  return this.readDeps;
7540
7558
  }
@@ -7556,9 +7574,9 @@ var MarkdownPlugin = function() {
7556
7574
  /** Grab all of the bindings this wrote to */ key: "getModified",
7557
7575
  value: function getModified(name) {
7558
7576
  if (name !== void 0) {
7577
+ var _ref;
7559
7578
  var _this_namedDependencySets_name, _this_namedDependencySets;
7560
- var _this_namedDependencySets_name_writeDeps;
7561
- return (_this_namedDependencySets_name_writeDeps = (_this_namedDependencySets = this.namedDependencySets) === null || _this_namedDependencySets === void 0 ? void 0 : (_this_namedDependencySets_name = _this_namedDependencySets[name]) === null || _this_namedDependencySets_name === void 0 ? void 0 : _this_namedDependencySets_name.writeDeps) !== null && _this_namedDependencySets_name_writeDeps !== void 0 ? _this_namedDependencySets_name_writeDeps : /* @__PURE__ */ new Set();
7579
+ return (_ref = (_this_namedDependencySets = this.namedDependencySets) === null || _this_namedDependencySets === void 0 ? void 0 : (_this_namedDependencySets_name = _this_namedDependencySets[name]) === null || _this_namedDependencySets_name === void 0 ? void 0 : _this_namedDependencySets_name.writeDeps) !== null && _ref !== void 0 ? _ref : /* @__PURE__ */ new Set();
7562
7580
  }
7563
7581
  return this.writeDeps;
7564
7582
  }
@@ -7880,19 +7898,19 @@ var MarkdownPlugin = function() {
7880
7898
  var thisStr = "this";
7881
7899
  var evaluator_functions_exports = {};
7882
7900
  __export2(evaluator_functions_exports, {
7883
- conditional: function() {
7901
+ conditional: function conditional1() {
7884
7902
  return conditional;
7885
7903
  },
7886
- deleteDataVal: function() {
7904
+ deleteDataVal: function deleteDataVal1() {
7887
7905
  return deleteDataVal;
7888
7906
  },
7889
- getDataVal: function() {
7907
+ getDataVal: function getDataVal1() {
7890
7908
  return getDataVal;
7891
7909
  },
7892
- setDataVal: function() {
7910
+ setDataVal: function setDataVal1() {
7893
7911
  return setDataVal;
7894
7912
  },
7895
- waitFor: function() {
7913
+ waitFor: function waitFor1() {
7896
7914
  return waitFor;
7897
7915
  }
7898
7916
  });
@@ -7904,7 +7922,7 @@ var MarkdownPlugin = function() {
7904
7922
  };
7905
7923
  return promise;
7906
7924
  }
7907
- var setDataVal = function(_context, binding, value) {
7925
+ var setDataVal = function setDataVal(_context, binding, value) {
7908
7926
  _context.model.set([
7909
7927
  [
7910
7928
  binding,
@@ -7912,13 +7930,13 @@ var MarkdownPlugin = function() {
7912
7930
  ]
7913
7931
  ]);
7914
7932
  };
7915
- var getDataVal = function(_context, binding) {
7933
+ var getDataVal = function getDataVal(_context, binding) {
7916
7934
  return _context.model.get(binding);
7917
7935
  };
7918
- var deleteDataVal = function(_context, binding) {
7936
+ var deleteDataVal = function deleteDataVal(_context, binding) {
7919
7937
  return _context.model.delete(binding);
7920
7938
  };
7921
- var conditional = function(ctx, condition, ifTrue, ifFalse) {
7939
+ var conditional = function conditional(ctx, condition, ifTrue, ifFalse) {
7922
7940
  var testResult = ctx.evaluate(condition);
7923
7941
  if (isAwaitable(testResult)) {
7924
7942
  return testResult.awaitableThen(function(resolvedTest) {
@@ -7940,14 +7958,14 @@ var MarkdownPlugin = function() {
7940
7958
  return null;
7941
7959
  };
7942
7960
  conditional.resolveParams = false;
7943
- var waitFor = function(ctx, promise) {
7961
+ var waitFor = function waitFor(ctx, promise) {
7944
7962
  return makeAwaitable(promise);
7945
7963
  };
7946
- var andandOperator = function(ctx, a, b, async) {
7964
+ var andandOperator = function andandOperator(ctx, a, b, async) {
7947
7965
  return LogicalOperators.and(ctx, a, b, async);
7948
7966
  };
7949
7967
  andandOperator.resolveParams = false;
7950
- var ororOperator = function(ctx, a, b, async) {
7968
+ var ororOperator = function ororOperator(ctx, a, b, async) {
7951
7969
  return LogicalOperators.or(ctx, a, b, async);
7952
7970
  };
7953
7971
  ororOperator.resolveParams = false;
@@ -8073,7 +8091,7 @@ var MarkdownPlugin = function() {
8073
8091
  }
8074
8092
  };
8075
8093
  var LogicalOperators = {
8076
- and: function(ctx, leftNode, rightNode, async) {
8094
+ and: function and(ctx, leftNode, rightNode, async) {
8077
8095
  var leftResult = ctx.evaluate(leftNode);
8078
8096
  if (async && isAwaitable(leftResult)) {
8079
8097
  return leftResult.awaitableThen(function(awaitedLeft) {
@@ -8084,7 +8102,7 @@ var MarkdownPlugin = function() {
8084
8102
  }
8085
8103
  return leftResult && ctx.evaluate(rightNode);
8086
8104
  },
8087
- or: function(ctx, leftNode, rightNode, async) {
8105
+ or: function or(ctx, leftNode, rightNode, async) {
8088
8106
  var leftResult = ctx.evaluate(leftNode);
8089
8107
  if (async && isAwaitable(leftResult)) {
8090
8108
  return leftResult.awaitableThen(function(awaitedLeft) {
@@ -8122,10 +8140,10 @@ var MarkdownPlugin = function() {
8122
8140
  ]))
8123
8141
  };
8124
8142
  this.defaultHookOptions = _object_spread_props(_object_spread({}, defaultOptions), {
8125
- evaluate: function(expr) {
8143
+ evaluate: function evaluate(expr) {
8126
8144
  return _this.evaluate(expr, _this.defaultHookOptions);
8127
8145
  },
8128
- resolveNode: function(node2) {
8146
+ resolveNode: function resolveNode(node2) {
8129
8147
  return _this._execAST(node2, _this.defaultHookOptions);
8130
8148
  }
8131
8149
  });
@@ -8145,12 +8163,12 @@ var MarkdownPlugin = function() {
8145
8163
  key: "evaluate",
8146
8164
  value: function evaluate(expr, options) {
8147
8165
  var _this = this;
8166
+ var _this_hooks_beforeEvaluate_call;
8148
8167
  var resolvedOpts = this.hooks.resolveOptions.call(_object_spread_props(_object_spread({}, this.defaultHookOptions, options), {
8149
- resolveNode: function(node2) {
8168
+ resolveNode: function resolveNode(node2) {
8150
8169
  return _this._execAST(node2, resolvedOpts);
8151
8170
  }
8152
8171
  }));
8153
- var _this_hooks_beforeEvaluate_call;
8154
8172
  var expression = (_this_hooks_beforeEvaluate_call = this.hooks.beforeEvaluate.call(expr, resolvedOpts)) !== null && _this_hooks_beforeEvaluate_call !== void 0 ? _this_hooks_beforeEvaluate_call : expr;
8155
8173
  while(isObjectExpression(expression)){
8156
8174
  expression = expression.value;
@@ -8274,11 +8292,11 @@ var MarkdownPlugin = function() {
8274
8292
  key: "_resolveNode",
8275
8293
  value: function _resolveNode(_currentValue, node2, options) {
8276
8294
  var _this = this;
8277
- var resolveNode = options.resolveNode, model = options.model;
8278
8295
  var _options_async;
8296
+ var resolveNode = options.resolveNode, model = options.model;
8279
8297
  var isAsync = (_options_async = options.async) !== null && _options_async !== void 0 ? _options_async : false;
8280
8298
  var expressionContext = _object_spread_props(_object_spread({}, options), {
8281
- evaluate: function(expr) {
8299
+ evaluate: function evaluate(expr) {
8282
8300
  return _this.evaluate(expr, options);
8283
8301
  }
8284
8302
  });
@@ -8612,7 +8630,7 @@ var MarkdownPlugin = function() {
8612
8630
  ]);
8613
8631
  return ProxyLogger;
8614
8632
  }();
8615
- var identify = function(val) {
8633
+ var identify = function identify(val) {
8616
8634
  return val;
8617
8635
  };
8618
8636
  var SchemaController = /*#__PURE__*/ function() {
@@ -8700,6 +8718,7 @@ var MarkdownPlugin = function() {
8700
8718
  {
8701
8719
  key: "getApparentType",
8702
8720
  value: function getApparentType(binding) {
8721
+ var _schemaType_validation, _baseType_validation;
8703
8722
  var schemaType = this.getType(binding);
8704
8723
  if (schemaType === void 0) {
8705
8724
  return void 0;
@@ -8708,7 +8727,6 @@ var MarkdownPlugin = function() {
8708
8727
  if (baseType === void 0) {
8709
8728
  return schemaType;
8710
8729
  }
8711
- var _schemaType_validation, _baseType_validation;
8712
8730
  return _object_spread_props(_object_spread({}, baseType, schemaType), {
8713
8731
  validation: _to_consumable_array((_schemaType_validation = schemaType.validation) !== null && _schemaType_validation !== void 0 ? _schemaType_validation : []).concat(_to_consumable_array((_baseType_validation = baseType.validation) !== null && _baseType_validation !== void 0 ? _baseType_validation : []))
8714
8732
  });
@@ -8857,10 +8875,10 @@ var MarkdownPlugin = function() {
8857
8875
  {
8858
8876
  key: "get",
8859
8877
  value: function get(binding, options, next) {
8878
+ var _ref;
8860
8879
  var _this_shouldIncludeInvalid, _this;
8861
8880
  var val = next === null || next === void 0 ? void 0 : next.get(binding, options);
8862
- var _this_shouldIncludeInvalid1;
8863
- if ((_this_shouldIncludeInvalid1 = (_this_shouldIncludeInvalid = (_this = this).shouldIncludeInvalid) === null || _this_shouldIncludeInvalid === void 0 ? void 0 : _this_shouldIncludeInvalid.call(_this, options)) !== null && _this_shouldIncludeInvalid1 !== void 0 ? _this_shouldIncludeInvalid1 : (options === null || options === void 0 ? void 0 : options.includeInvalid) === true) {
8881
+ if ((_ref = (_this_shouldIncludeInvalid = (_this = this).shouldIncludeInvalid) === null || _this_shouldIncludeInvalid === void 0 ? void 0 : _this_shouldIncludeInvalid.call(_this, options)) !== null && _ref !== void 0 ? _ref : (options === null || options === void 0 ? void 0 : options.includeInvalid) === true) {
8864
8882
  this.shadowModelPaths.forEach(function(shadowValue, shadowBinding) {
8865
8883
  if (shadowBinding === binding) {
8866
8884
  val = shadowValue;
@@ -8958,11 +8976,12 @@ var MarkdownPlugin = function() {
8958
8976
  templateDepth: 0
8959
8977
  };
8960
8978
  var _this = this;
8979
+ var _this_hooks_onCreateASTNode_call;
8961
8980
  var parsedNode = this.hooks.parseNode.call(obj, type, options);
8962
8981
  if (parsedNode || parsedNode === null) {
8963
8982
  return parsedNode;
8964
8983
  }
8965
- var parseLocalObject = function(currentValue, objToParse) {
8984
+ var parseLocalObject = function parseLocalObject1(currentValue, objToParse) {
8966
8985
  var path = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : [];
8967
8986
  if ((typeof objToParse === "undefined" ? "undefined" : _type_of(objToParse)) !== "object" || objToParse === null) {
8968
8987
  return {
@@ -9032,30 +9051,29 @@ var MarkdownPlugin = function() {
9032
9051
  child.value.parent = parent;
9033
9052
  });
9034
9053
  }
9035
- var _this_hooks_onCreateASTNode_call;
9036
9054
  return (_this_hooks_onCreateASTNode_call = this.hooks.onCreateASTNode.call(baseAst, obj)) !== null && _this_hooks_onCreateASTNode_call !== void 0 ? _this_hooks_onCreateASTNode_call : null;
9037
9055
  }
9038
9056
  }
9039
9057
  ]);
9040
9058
  return Parser;
9041
9059
  }();
9042
- var withContext = function(model) {
9060
+ var withContext = function withContext(model) {
9043
9061
  return {
9044
- get: function(binding, options) {
9062
+ get: function get(binding, options) {
9045
9063
  return model.get(binding, _object_spread({
9046
9064
  context: {
9047
9065
  model: model
9048
9066
  }
9049
9067
  }, options));
9050
9068
  },
9051
- set: function(transaction, options) {
9069
+ set: function set(transaction, options) {
9052
9070
  return model.set(transaction, _object_spread({
9053
9071
  context: {
9054
9072
  model: model
9055
9073
  }
9056
9074
  }, options));
9057
9075
  },
9058
- delete: function(binding, options) {
9076
+ delete: function _delete(binding, options) {
9059
9077
  return model.delete(binding, _object_spread({
9060
9078
  context: {
9061
9079
  model: model
@@ -9094,16 +9112,16 @@ var MarkdownPlugin = function() {
9094
9112
  {
9095
9113
  key: "update",
9096
9114
  value: function update(dataChanges, nodeChanges) {
9115
+ var _ref;
9097
9116
  this.hooks.beforeUpdate.call(dataChanges);
9098
9117
  var resolveCache = /* @__PURE__ */ new Map();
9099
9118
  this.idCache.clear();
9100
9119
  var prevASTMap = new Map(this.ASTMap);
9101
9120
  this.ASTMap.clear();
9102
9121
  var realNodeChanges = /* @__PURE__ */ new Set();
9103
- var _nodeChanges_values;
9104
9122
  var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = undefined;
9105
9123
  try {
9106
- for(var _iterator = ((_nodeChanges_values = nodeChanges === null || nodeChanges === void 0 ? void 0 : nodeChanges.values()) !== null && _nodeChanges_values !== void 0 ? _nodeChanges_values : [])[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true){
9124
+ for(var _iterator = ((_ref = nodeChanges === null || nodeChanges === void 0 ? void 0 : nodeChanges.values()) !== null && _ref !== void 0 ? _ref : [])[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true){
9107
9125
  var node2 = _step.value;
9108
9126
  var current = node2;
9109
9127
  while(current){
@@ -9186,6 +9204,7 @@ var MarkdownPlugin = function() {
9186
9204
  key: "computeTree",
9187
9205
  value: function computeTree(node2, rawParent, dataChanges, cacheUpdate, options, partiallyResolvedParent, prevASTMap, nodeChanges) {
9188
9206
  var _this = this;
9207
+ var _this_hooks_beforeResolve_call;
9189
9208
  var dependencyModel = new DependencyModel(options.data.model);
9190
9209
  dependencyModel.trackSubset("core");
9191
9210
  var depModelWithParser = withContext(withParser(dependencyModel, this.options.parseBinding));
@@ -9193,7 +9212,7 @@ var MarkdownPlugin = function() {
9193
9212
  data: _object_spread_props(_object_spread({}, options.data), {
9194
9213
  model: depModelWithParser
9195
9214
  }),
9196
- evaluate: function(exp) {
9215
+ evaluate: function evaluate(exp) {
9197
9216
  return _this.options.evaluator.evaluate(exp, {
9198
9217
  model: depModelWithParser
9199
9218
  });
@@ -9209,14 +9228,14 @@ var MarkdownPlugin = function() {
9209
9228
  var update2 = _object_spread_props(_object_spread({}, previousResult), {
9210
9229
  updated: false
9211
9230
  });
9212
- var repopulateASTMapFromCache = function(resolvedNode, AST, ASTParent) {
9231
+ var repopulateASTMapFromCache = function repopulateASTMapFromCache1(resolvedNode, AST, ASTParent) {
9213
9232
  var resolvedASTLocal = resolvedNode.node;
9214
9233
  _this.ASTMap.set(resolvedASTLocal, AST);
9215
9234
  var resolvedUpdate = _object_spread_props(_object_spread({}, resolvedNode), {
9216
9235
  updated: false
9217
9236
  });
9218
9237
  cacheUpdate.set(AST, resolvedUpdate);
9219
- var handleChildNode = function(childNode) {
9238
+ var handleChildNode = function handleChildNode(childNode) {
9220
9239
  var _prevASTMap_get;
9221
9240
  var originalChildNode = (_prevASTMap_get = prevASTMap.get(childNode)) !== null && _prevASTMap_get !== void 0 ? _prevASTMap_get : childNode;
9222
9241
  var previousChildResult = _this.getPreviousResult(originalChildNode);
@@ -9241,7 +9260,6 @@ var MarkdownPlugin = function() {
9241
9260
  var clonedNode = _object_spread_props(_object_spread({}, this.cloneNode(node2)), {
9242
9261
  parent: partiallyResolvedParent
9243
9262
  });
9244
- var _this_hooks_beforeResolve_call;
9245
9263
  var resolvedAST = (_this_hooks_beforeResolve_call = this.hooks.beforeResolve.call(clonedNode, resolveOptions)) !== null && _this_hooks_beforeResolve_call !== void 0 ? _this_hooks_beforeResolve_call : {
9246
9264
  type: "empty"
9247
9265
  };
@@ -9301,7 +9319,7 @@ var MarkdownPlugin = function() {
9301
9319
  resolved = previousResult === null || previousResult === void 0 ? void 0 : previousResult.value;
9302
9320
  }
9303
9321
  resolved = this.hooks.afterResolve.call(resolved, resolvedAST, _object_spread_props(_object_spread({}, resolveOptions), {
9304
- getDependencies: function(scope) {
9322
+ getDependencies: function getDependencies(scope) {
9305
9323
  return dependencyModel.getDependencies(scope);
9306
9324
  }
9307
9325
  }));
@@ -9611,7 +9629,7 @@ var MarkdownPlugin = function() {
9611
9629
  ]);
9612
9630
  return TemplatePlugin;
9613
9631
  }();
9614
- var createPatternMatcher = function(start, end) {
9632
+ var createPatternMatcher = function createPatternMatcher(start, end) {
9615
9633
  return function(testStr) {
9616
9634
  var startLocation = testStr.indexOf(start);
9617
9635
  if (startLocation === -1) {
@@ -9651,18 +9669,18 @@ var MarkdownPlugin = function() {
9651
9669
  });
9652
9670
  return newNode;
9653
9671
  }
9654
- var findBasePath = function(node2, resolver2) {
9672
+ var findBasePath = function findBasePath1(node2, resolver2) {
9655
9673
  var parentNode = node2.parent;
9656
9674
  if (!parentNode) {
9657
9675
  return [];
9658
9676
  }
9659
9677
  if ("children" in parentNode) {
9678
+ var _ref;
9660
9679
  var _parentNode_children_find, _parentNode_children;
9661
9680
  var original = resolver2.getSourceNode(node2);
9662
- var _parentNode_children_find_path;
9663
- return (_parentNode_children_find_path = (_parentNode_children = parentNode.children) === null || _parentNode_children === void 0 ? void 0 : (_parentNode_children_find = _parentNode_children.find(function(child) {
9681
+ return (_ref = (_parentNode_children = parentNode.children) === null || _parentNode_children === void 0 ? void 0 : (_parentNode_children_find = _parentNode_children.find(function(child) {
9664
9682
  return child.value === original;
9665
- })) === null || _parentNode_children_find === void 0 ? void 0 : _parentNode_children_find.path) !== null && _parentNode_children_find_path !== void 0 ? _parentNode_children_find_path : [];
9683
+ })) === null || _parentNode_children_find === void 0 ? void 0 : _parentNode_children_find.path) !== null && _ref !== void 0 ? _ref : [];
9666
9684
  }
9667
9685
  if (parentNode.type !== "multi-node") {
9668
9686
  return [];
@@ -9687,9 +9705,9 @@ var MarkdownPlugin = function() {
9687
9705
  var _node2_parent, _node2_parent_parent, _node2_parent1, _node2_parent_parent1, _node2_parent2, _node2_parent_parent_value;
9688
9706
  var propsToSkip;
9689
9707
  if (node2.type === "asset" || node2.type === "view") {
9708
+ var _ref;
9690
9709
  var _node2_plugins_stringResolver, _node2_plugins, _node2_value;
9691
- var _node2_plugins_stringResolver_propertiesToSkip;
9692
- propsToSkip = new Set((_node2_plugins_stringResolver_propertiesToSkip = (_node2_plugins = node2.plugins) === null || _node2_plugins === void 0 ? void 0 : (_node2_plugins_stringResolver = _node2_plugins.stringResolver) === null || _node2_plugins_stringResolver === void 0 ? void 0 : _node2_plugins_stringResolver.propertiesToSkip) !== null && _node2_plugins_stringResolver_propertiesToSkip !== void 0 ? _node2_plugins_stringResolver_propertiesToSkip : [
9710
+ propsToSkip = new Set((_ref = (_node2_plugins = node2.plugins) === null || _node2_plugins === void 0 ? void 0 : (_node2_plugins_stringResolver = _node2_plugins.stringResolver) === null || _node2_plugins_stringResolver === void 0 ? void 0 : _node2_plugins_stringResolver.propertiesToSkip) !== null && _ref !== void 0 ? _ref : [
9693
9711
  "exp"
9694
9712
  ]);
9695
9713
  if ((_node2_value = node2.value) === null || _node2_value === void 0 ? void 0 : _node2_value.id) {
@@ -10110,11 +10128,11 @@ var MarkdownPlugin = function() {
10110
10128
  this.stateStore.clear();
10111
10129
  view.hooks.resolver.tap("asset-transform", function(resolver2) {
10112
10130
  var lastUpdatedNode;
10113
- var updateState = function(node2) {
10131
+ var updateState = function updateState(node2) {
10114
10132
  lastUpdatedNode = node2;
10115
10133
  view.update(/* @__PURE__ */ new Set());
10116
10134
  };
10117
- var getStore = function(node2, stepKey) {
10135
+ var getStore = function getStore(node2, stepKey) {
10118
10136
  var store;
10119
10137
  var countKey = stepKey === _this.resolveSymbol ? _this.resolveCountSymbol : _this.beforeResolveCountSymbol;
10120
10138
  var storedState = _this.stateStore.get(node2);
@@ -10128,10 +10146,10 @@ var MarkdownPlugin = function() {
10128
10146
  _this.stateStore.set(node2, store);
10129
10147
  }
10130
10148
  return {
10131
- useSharedState: function(key) {
10149
+ useSharedState: function useSharedState(key) {
10132
10150
  return store.useSharedState(key);
10133
10151
  },
10134
- useLocalState: function(initialState) {
10152
+ useLocalState: function useLocalState(initialState) {
10135
10153
  return store.getLocalStateFunction(stepKey, countKey)(initialState);
10136
10154
  }
10137
10155
  };
@@ -10493,7 +10511,7 @@ var MarkdownPlugin = function() {
10493
10511
  return options;
10494
10512
  }
10495
10513
  tracked.delete(node2);
10496
- var track = function(binding) {
10514
+ var track = function track(binding) {
10497
10515
  var _this_options_callbacks_onAdd, _this_options_callbacks;
10498
10516
  var parsed = isBinding(binding) ? binding : _this.options.parseBinding(binding);
10499
10517
  if (tracked.has(node2)) {
@@ -10519,7 +10537,7 @@ var MarkdownPlugin = function() {
10519
10537
  };
10520
10538
  return _object_spread_props(_object_spread({}, options), {
10521
10539
  validation: _object_spread_props(_object_spread({}, options.validation), {
10522
- get: function(binding, getOptions) {
10540
+ get: function get(binding, getOptions) {
10523
10541
  var _options_validation__getValidationForBinding, _options_validation;
10524
10542
  if (getOptions === null || getOptions === void 0 ? void 0 : getOptions.track) {
10525
10543
  track(binding);
@@ -10531,14 +10549,14 @@ var MarkdownPlugin = function() {
10531
10549
  return firstFieldEOW;
10532
10550
  },
10533
10551
  getValidationsForBinding: function getValidationsForBinding(binding, getOptions) {
10552
+ var _ref;
10534
10553
  var _options_validation__getValidationForBinding, _options_validation;
10535
10554
  if (getOptions === null || getOptions === void 0 ? void 0 : getOptions.track) {
10536
10555
  track(binding);
10537
10556
  }
10538
- var _options_validation__getValidationForBinding_getAll;
10539
- return (_options_validation__getValidationForBinding_getAll = (_options_validation = options.validation) === null || _options_validation === void 0 ? void 0 : (_options_validation__getValidationForBinding = _options_validation._getValidationForBinding(binding)) === null || _options_validation__getValidationForBinding === void 0 ? void 0 : _options_validation__getValidationForBinding.getAll(getOptions)) !== null && _options_validation__getValidationForBinding_getAll !== void 0 ? _options_validation__getValidationForBinding_getAll : [];
10557
+ return (_ref = (_options_validation = options.validation) === null || _options_validation === void 0 ? void 0 : (_options_validation__getValidationForBinding = _options_validation._getValidationForBinding(binding)) === null || _options_validation__getValidationForBinding === void 0 ? void 0 : _options_validation__getValidationForBinding.getAll(getOptions)) !== null && _ref !== void 0 ? _ref : [];
10540
10558
  },
10541
- getChildren: function(type) {
10559
+ getChildren: function getChildren(type) {
10542
10560
  var _lastComputedBindingTree_get;
10543
10561
  var validations = new Array();
10544
10562
  (_lastComputedBindingTree_get = lastComputedBindingTree.get(node2)) === null || _lastComputedBindingTree_get === void 0 ? void 0 : _lastComputedBindingTree_get.forEach(function(binding) {
@@ -10550,7 +10568,7 @@ var MarkdownPlugin = function() {
10550
10568
  });
10551
10569
  return validations;
10552
10570
  },
10553
- getValidationsForSection: function() {
10571
+ getValidationsForSection: function getValidationsForSection() {
10554
10572
  var _lastSectionBindingTree_get;
10555
10573
  var validations = new Array();
10556
10574
  (_lastSectionBindingTree_get = lastSectionBindingTree.get(node2)) === null || _lastSectionBindingTree_get === void 0 ? void 0 : _lastSectionBindingTree_get.forEach(function(binding) {
@@ -10562,7 +10580,7 @@ var MarkdownPlugin = function() {
10562
10580
  });
10563
10581
  return validations;
10564
10582
  },
10565
- register: function(registerOptions) {
10583
+ register: function register(registerOptions) {
10566
10584
  if ((registerOptions === null || registerOptions === void 0 ? void 0 : registerOptions.type) === "section") {
10567
10585
  if (!sections.has(node2)) {
10568
10586
  sections.set(node2, /* @__PURE__ */ new Set());
@@ -10707,10 +10725,10 @@ var MarkdownPlugin = function() {
10707
10725
  value: function runApplicableValidations(runner, canDismiss, phase) {
10708
10726
  var _this = this;
10709
10727
  this.applicableValidations = this.applicableValidations.map(function(originalValue) {
10728
+ var _originalValue_value_blocking, _response_message, _obj_value_displayTarget;
10710
10729
  if (originalValue.state === "dismissed") {
10711
10730
  return originalValue;
10712
10731
  }
10713
- var _originalValue_value_blocking;
10714
10732
  var blocking = (_originalValue_value_blocking = originalValue.value.blocking) !== null && _originalValue_value_blocking !== void 0 ? _originalValue_value_blocking : originalValue.value.severity === "warning" && "once" || true;
10715
10733
  var obj = (0, import_timm9.setIn)(originalValue, [
10716
10734
  "value",
@@ -10732,7 +10750,6 @@ var MarkdownPlugin = function() {
10732
10750
  }
10733
10751
  }
10734
10752
  var response = runner(obj.value);
10735
- var _response_message, _obj_value_displayTarget;
10736
10753
  var newState = {
10737
10754
  type: obj.type,
10738
10755
  value: obj.value,
@@ -10817,14 +10834,14 @@ var MarkdownPlugin = function() {
10817
10834
  var _this = this;
10818
10835
  return [
10819
10836
  {
10820
- set: function(transaction, options, next) {
10821
- var _next_set;
10822
- return (_next_set = next === null || next === void 0 ? void 0 : next.set(transaction, options)) !== null && _next_set !== void 0 ? _next_set : [];
10837
+ set: function set(transaction, options, next) {
10838
+ var _ref;
10839
+ return (_ref = next === null || next === void 0 ? void 0 : next.set(transaction, options)) !== null && _ref !== void 0 ? _ref : [];
10823
10840
  },
10824
- get: function(binding, options, next) {
10841
+ get: function get(binding, options, next) {
10825
10842
  return next === null || next === void 0 ? void 0 : next.get(binding, options);
10826
10843
  },
10827
- delete: function(binding, options, next) {
10844
+ delete: function _delete(binding, options, next) {
10828
10845
  _this.validations = removeBindingAndChildrenFromMap(_this.validations, binding);
10829
10846
  return next === null || next === void 0 ? void 0 : next.delete(binding, options);
10830
10847
  }
@@ -10887,11 +10904,11 @@ var MarkdownPlugin = function() {
10887
10904
  {
10888
10905
  source: VIEW_VALIDATION_PROVIDER_NAME,
10889
10906
  provider: {
10890
- getValidationsForBinding: function(binding) {
10907
+ getValidationsForBinding: function getValidationsForBinding(binding) {
10891
10908
  var _this_viewValidationProvider_getValidationsForBinding, _this_viewValidationProvider;
10892
10909
  return (_this_viewValidationProvider = _this.viewValidationProvider) === null || _this_viewValidationProvider === void 0 ? void 0 : (_this_viewValidationProvider_getValidationsForBinding = _this_viewValidationProvider.getValidationsForBinding) === null || _this_viewValidationProvider_getValidationsForBinding === void 0 ? void 0 : _this_viewValidationProvider_getValidationsForBinding.call(_this_viewValidationProvider, binding);
10893
10910
  },
10894
- getValidationsForView: function() {
10911
+ getValidationsForView: function getValidationsForView() {
10895
10912
  var _this_viewValidationProvider_getValidationsForView, _this_viewValidationProvider;
10896
10913
  return (_this_viewValidationProvider = _this.viewValidationProvider) === null || _this_viewValidationProvider === void 0 ? void 0 : (_this_viewValidationProvider_getValidationsForView = _this_viewValidationProvider.getValidationsForView) === null || _this_viewValidationProvider_getValidationsForView === void 0 ? void 0 : _this_viewValidationProvider_getValidationsForView.call(_this_viewValidationProvider);
10897
10914
  }
@@ -10918,7 +10935,7 @@ var MarkdownPlugin = function() {
10918
10935
  }
10919
10936
  var bindingTrackerPlugin = new ValidationBindingTrackerViewPlugin(_object_spread_props(_object_spread({}, this.options), {
10920
10937
  callbacks: {
10921
- onAdd: function(binding) {
10938
+ onAdd: function onAdd(binding) {
10922
10939
  if (!_this.options || _this.getValidationForBinding(binding) !== void 0) {
10923
10940
  return;
10924
10941
  }
@@ -10962,11 +10979,11 @@ var MarkdownPlugin = function() {
10962
10979
  var _this_options;
10963
10980
  var possibleValidations = this.getValidationProviders().reduce(function(vals, provider) {
10964
10981
  var _vals;
10982
+ var _ref;
10965
10983
  var _provider_provider_getValidationsForBinding, _provider_provider_getValidationsForBinding1, _provider_provider;
10966
- var _provider_provider_getValidationsForBinding_map;
10967
- (_vals = vals).push.apply(_vals, _to_consumable_array((_provider_provider_getValidationsForBinding_map = (_provider_provider_getValidationsForBinding1 = (_provider_provider = provider.provider).getValidationsForBinding) === null || _provider_provider_getValidationsForBinding1 === void 0 ? void 0 : (_provider_provider_getValidationsForBinding = _provider_provider_getValidationsForBinding1.call(_provider_provider, binding)) === null || _provider_provider_getValidationsForBinding === void 0 ? void 0 : _provider_provider_getValidationsForBinding.map(function(valObj) {
10984
+ (_vals = vals).push.apply(_vals, _to_consumable_array((_ref = (_provider_provider_getValidationsForBinding1 = (_provider_provider = provider.provider).getValidationsForBinding) === null || _provider_provider_getValidationsForBinding1 === void 0 ? void 0 : (_provider_provider_getValidationsForBinding = _provider_provider_getValidationsForBinding1.call(_provider_provider, binding)) === null || _provider_provider_getValidationsForBinding === void 0 ? void 0 : _provider_provider_getValidationsForBinding.map(function(valObj) {
10968
10985
  return _object_spread_props(_object_spread({}, valObj), _define_property({}, VALIDATION_PROVIDER_NAME_SYMBOL, provider.source));
10969
- })) !== null && _provider_provider_getValidationsForBinding_map !== void 0 ? _provider_provider_getValidationsForBinding_map : []));
10986
+ })) !== null && _ref !== void 0 ? _ref : []));
10970
10987
  return vals;
10971
10988
  }, []);
10972
10989
  if (possibleValidations.length === 0) {
@@ -11007,10 +11024,10 @@ var MarkdownPlugin = function() {
11007
11024
  key: "validationRunner",
11008
11025
  value: function validationRunner(validationObj, binding) {
11009
11026
  var context = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : this.options;
11027
+ var _validationObj_handler;
11010
11028
  if (!context) {
11011
11029
  throw new Error("No context provided to validation runner");
11012
11030
  }
11013
- var _validationObj_handler;
11014
11031
  var handler = (_validationObj_handler = validationObj.handler) !== null && _validationObj_handler !== void 0 ? _validationObj_handler : this.getValidator(validationObj.type);
11015
11032
  var weakBindings = /* @__PURE__ */ new Set();
11016
11033
  var model = {
@@ -11024,7 +11041,7 @@ var MarkdownPlugin = function() {
11024
11041
  delete: context.model.delete
11025
11042
  };
11026
11043
  var result = handler === null || handler === void 0 ? void 0 : handler(_object_spread_props(_object_spread({}, context), {
11027
- evaluate: function(exp) {
11044
+ evaluate: function evaluate(exp) {
11028
11045
  var options = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {
11029
11046
  model: model
11030
11047
  };
@@ -11062,7 +11079,7 @@ var MarkdownPlugin = function() {
11062
11079
  var _this = this;
11063
11080
  var isNavigationTrigger = trigger === "navigation";
11064
11081
  var lastActiveBindings = this.activeBindings;
11065
- var updateValidations = function(dismissValidations) {
11082
+ var updateValidations = function updateValidations(dismissValidations) {
11066
11083
  _this.getBindings().forEach(function(binding) {
11067
11084
  var _this_validations_get;
11068
11085
  (_this_validations_get = _this.validations.get(binding)) === null || _this_validations_get === void 0 ? void 0 : _this_validations_get.update(trigger, dismissValidations, function(obj) {
@@ -11107,9 +11124,9 @@ var MarkdownPlugin = function() {
11107
11124
  {
11108
11125
  key: "getBindings",
11109
11126
  value: function getBindings() {
11127
+ var _ref;
11110
11128
  var _this_tracker;
11111
- var _this_tracker_getBindings;
11112
- return (_this_tracker_getBindings = (_this_tracker = this.tracker) === null || _this_tracker === void 0 ? void 0 : _this_tracker.getBindings()) !== null && _this_tracker_getBindings !== void 0 ? _this_tracker_getBindings : /* @__PURE__ */ new Set();
11129
+ return (_ref = (_this_tracker = this.tracker) === null || _this_tracker === void 0 ? void 0 : _this_tracker.getBindings()) !== null && _ref !== void 0 ? _ref : /* @__PURE__ */ new Set();
11113
11130
  }
11114
11131
  },
11115
11132
  {
@@ -11158,10 +11175,10 @@ var MarkdownPlugin = function() {
11158
11175
  value: function forView(parser) {
11159
11176
  var _this = this;
11160
11177
  return {
11161
- _getValidationForBinding: function(binding) {
11178
+ _getValidationForBinding: function _getValidationForBinding(binding) {
11162
11179
  return _this.getValidationForBinding(isBinding(binding) ? binding : parser(binding));
11163
11180
  },
11164
- getAll: function() {
11181
+ getAll: function getAll() {
11165
11182
  var bindings = _this.getBindings();
11166
11183
  if (bindings.size === 0) {
11167
11184
  return void 0;
@@ -11188,13 +11205,13 @@ var MarkdownPlugin = function() {
11188
11205
  getValidationsForSection: function getValidationsForSection() {
11189
11206
  throw new Error("Error rollup should be provided by the view plugin");
11190
11207
  },
11191
- track: function() {
11208
+ track: function track() {
11192
11209
  throw new Error("Tracking should be provided by the view plugin");
11193
11210
  },
11194
- register: function() {
11211
+ register: function register() {
11195
11212
  throw new Error("Section functionality should be provided by the view plugin");
11196
11213
  },
11197
- type: function(binding) {
11214
+ type: function type(binding) {
11198
11215
  return _this.schema.getType(isBinding(binding) ? binding : parser(binding));
11199
11216
  }
11200
11217
  };
@@ -11203,9 +11220,9 @@ var MarkdownPlugin = function() {
11203
11220
  ]);
11204
11221
  return ValidationController;
11205
11222
  }();
11206
- var mergeSets = function(setA, setB) {
11207
- var _setA_values, _setB_values;
11208
- return /* @__PURE__ */ new Set(_to_consumable_array((_setA_values = setA === null || setA === void 0 ? void 0 : setA.values()) !== null && _setA_values !== void 0 ? _setA_values : []).concat(_to_consumable_array((_setB_values = setB === null || setB === void 0 ? void 0 : setB.values()) !== null && _setB_values !== void 0 ? _setB_values : [])));
11223
+ var mergeSets = function mergeSets(setA, setB) {
11224
+ var _ref, _ref1;
11225
+ return /* @__PURE__ */ new Set(_to_consumable_array((_ref = setA === null || setA === void 0 ? void 0 : setA.values()) !== null && _ref !== void 0 ? _ref : []).concat(_to_consumable_array((_ref1 = setB === null || setB === void 0 ? void 0 : setB.values()) !== null && _ref1 !== void 0 ? _ref1 : [])));
11209
11226
  };
11210
11227
  var ViewController = /*#__PURE__*/ function() {
11211
11228
  function ViewController(initialViews, options) {
@@ -11232,7 +11249,7 @@ var MarkdownPlugin = function() {
11232
11249
  }
11233
11250
  });
11234
11251
  });
11235
- var update = function(updates) {
11252
+ var update = function update(updates) {
11236
11253
  var silent = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : false;
11237
11254
  if (_this1.currentView) {
11238
11255
  if (_this1.optimizeUpdates) {
@@ -11243,10 +11260,10 @@ var MarkdownPlugin = function() {
11243
11260
  }
11244
11261
  };
11245
11262
  options.model.hooks.onUpdate.tap("viewController", function(updates, updateOptions) {
11246
- var _updateOptions_silent;
11263
+ var _ref;
11247
11264
  update(new Set(updates.map(function(t2) {
11248
11265
  return t2.binding;
11249
- })), (_updateOptions_silent = updateOptions === null || updateOptions === void 0 ? void 0 : updateOptions.silent) !== null && _updateOptions_silent !== void 0 ? _updateOptions_silent : false);
11266
+ })), (_ref = updateOptions === null || updateOptions === void 0 ? void 0 : updateOptions.silent) !== null && _ref !== void 0 ? _ref : false);
11250
11267
  });
11251
11268
  options.model.hooks.onDelete.tap("viewController", function(binding) {
11252
11269
  var parentBinding = binding.parent();
@@ -11281,8 +11298,8 @@ var MarkdownPlugin = function() {
11281
11298
  if (!this.pendingUpdate.scheduled && !silent) {
11282
11299
  this.pendingUpdate.scheduled = true;
11283
11300
  (0, import_queue_microtask2.default)(function() {
11284
- var _this_currentView;
11285
11301
  var _this_pendingUpdate;
11302
+ var _this_currentView;
11286
11303
  var _ref = (_this_pendingUpdate = _this.pendingUpdate) !== null && _this_pendingUpdate !== void 0 ? _this_pendingUpdate : {}, changedBindings = _ref.changedBindings, changedNodes = _ref.changedNodes;
11287
11304
  _this.pendingUpdate = void 0;
11288
11305
  (_this_currentView = _this.currentView) === null || _this_currentView === void 0 ? void 0 : _this_currentView.update(changedBindings, changedNodes);
@@ -11607,10 +11624,10 @@ var MarkdownPlugin = function() {
11607
11624
  {
11608
11625
  key: "getConstants",
11609
11626
  value: function getConstants(key, namespace, fallback) {
11627
+ var _ref, _ref1;
11610
11628
  var _this_tempStore_get, _this_store_get;
11611
11629
  var path = new BindingInstance(key);
11612
- var _this_tempStore_get_get, _ref;
11613
- return (_ref = (_this_tempStore_get_get = (_this_tempStore_get = this.tempStore.get(namespace)) === null || _this_tempStore_get === void 0 ? void 0 : _this_tempStore_get.get(path)) !== null && _this_tempStore_get_get !== void 0 ? _this_tempStore_get_get : (_this_store_get = this.store.get(namespace)) === null || _this_store_get === void 0 ? void 0 : _this_store_get.get(path)) !== null && _ref !== void 0 ? _ref : fallback;
11630
+ return (_ref = (_ref1 = (_this_tempStore_get = this.tempStore.get(namespace)) === null || _this_tempStore_get === void 0 ? void 0 : _this_tempStore_get.get(path)) !== null && _ref1 !== void 0 ? _ref1 : (_this_store_get = this.store.get(namespace)) === null || _this_store_get === void 0 ? void 0 : _this_store_get.get(path)) !== null && _ref !== void 0 ? _ref : fallback;
11614
11631
  }
11615
11632
  },
11616
11633
  {
@@ -11651,7 +11668,7 @@ var MarkdownPlugin = function() {
11651
11668
  value: function apply(player) {
11652
11669
  var _this = this;
11653
11670
  var expressionEvaluator;
11654
- var handleEval = function(exp) {
11671
+ var handleEval = function handleEval(exp) {
11655
11672
  if (exp) {
11656
11673
  if ((typeof exp === "undefined" ? "undefined" : _type_of(exp)) === "object" && "exp" in exp) {
11657
11674
  expressionEvaluator === null || expressionEvaluator === void 0 ? void 0 : expressionEvaluator.evaluate(exp.exp);
@@ -11672,7 +11689,7 @@ var MarkdownPlugin = function() {
11672
11689
  return handleEval(exp);
11673
11690
  });
11674
11691
  flow3.hooks.resolveTransitionNode.intercept({
11675
- call: function(nextState) {
11692
+ call: function call(nextState) {
11676
11693
  if (nextState === null || nextState === void 0 ? void 0 : nextState.onStart) {
11677
11694
  handleEval(nextState.onStart);
11678
11695
  }
@@ -11685,13 +11702,13 @@ var MarkdownPlugin = function() {
11685
11702
  ]);
11686
11703
  return FlowExpPlugin;
11687
11704
  }();
11688
- var createFormatFunction = function(schema) {
11689
- var handler = function(ctx, value, formatName) {
11705
+ var createFormatFunction = function createFormatFunction(schema) {
11706
+ var handler = function handler(ctx, value, formatName) {
11707
+ var _ref;
11690
11708
  var _schema_getFormatterForType;
11691
- var _schema_getFormatterForType_format;
11692
- return (_schema_getFormatterForType_format = (_schema_getFormatterForType = schema.getFormatterForType({
11709
+ return (_ref = (_schema_getFormatterForType = schema.getFormatterForType({
11693
11710
  type: formatName
11694
- })) === null || _schema_getFormatterForType === void 0 ? void 0 : _schema_getFormatterForType.format(value)) !== null && _schema_getFormatterForType_format !== void 0 ? _schema_getFormatterForType_format : value;
11711
+ })) === null || _schema_getFormatterForType === void 0 ? void 0 : _schema_getFormatterForType.format(value)) !== null && _ref !== void 0 ? _ref : value;
11695
11712
  };
11696
11713
  return handler;
11697
11714
  };
@@ -11743,8 +11760,8 @@ var MarkdownPlugin = function() {
11743
11760
  ref: Symbol("not-started"),
11744
11761
  status: "not-started"
11745
11762
  };
11746
- var PLAYER_VERSION = true ? "0.15.3-next.0" : "unknown";
11747
- var COMMIT = true ? "3257038135eb01f515fece8d266bbc088229b920" : "unknown";
11763
+ var PLAYER_VERSION = true ? "0.15.3-next.2" : "unknown";
11764
+ var COMMIT = true ? "21f4b09d55c325c5fe951d2fd08caaebb81db483" : "unknown";
11748
11765
  var _Player = /*#__PURE__*/ function() {
11749
11766
  function _Player2(config) {
11750
11767
  var _this = this;
@@ -11859,13 +11876,13 @@ var MarkdownPlugin = function() {
11859
11876
  var expressionEvaluator;
11860
11877
  var dataController;
11861
11878
  var pathResolver = new BindingParser({
11862
- get: function(binding) {
11879
+ get: function get(binding) {
11863
11880
  return dataController.get(binding);
11864
11881
  },
11865
- set: function(transaction) {
11882
+ set: function set(transaction) {
11866
11883
  return dataController.set(transaction);
11867
11884
  },
11868
- evaluate: function(expression) {
11885
+ evaluate: function evaluate(expression) {
11869
11886
  return expressionEvaluator.evaluate(expression);
11870
11887
  }
11871
11888
  });
@@ -12009,23 +12026,23 @@ var MarkdownPlugin = function() {
12009
12026
  transition: flowController.transition,
12010
12027
  model: dataController,
12011
12028
  utils: {
12012
- findPlugin: function(pluginSymbol) {
12029
+ findPlugin: function findPlugin(pluginSymbol) {
12013
12030
  return _this.findPlugin(pluginSymbol);
12014
12031
  }
12015
12032
  },
12016
12033
  logger: this.logger,
12017
12034
  flowController: flowController,
12018
12035
  schema: schema,
12019
- format: function(binding, value) {
12036
+ format: function format(binding, value) {
12020
12037
  var formatter = schema.getFormatter(binding);
12021
12038
  return (formatter === null || formatter === void 0 ? void 0 : formatter.format) ? formatter.format(value) : value;
12022
12039
  },
12023
- formatValue: function(ref, value) {
12040
+ formatValue: function formatValue(ref, value) {
12024
12041
  var formatter = schema.getFormatterForType(ref);
12025
12042
  return (formatter === null || formatter === void 0 ? void 0 : formatter.format) ? formatter.format(value) : value;
12026
12043
  },
12027
12044
  validation: _object_spread_props(_object_spread({}, validationController.forView(parseBinding)), {
12028
- type: function(b) {
12045
+ type: function type(b) {
12029
12046
  return schema.getType(parseBinding(b));
12030
12047
  }
12031
12048
  }),
@@ -12037,7 +12054,7 @@ var MarkdownPlugin = function() {
12037
12054
  });
12038
12055
  this.hooks.viewController.call(viewController);
12039
12056
  return {
12040
- start: function() {
12057
+ start: function start() {
12041
12058
  flowController.start().then(function(endState) {
12042
12059
  var flowResult = {
12043
12060
  endState: resolveStrings(endState, false),
@@ -12074,13 +12091,13 @@ var MarkdownPlugin = function() {
12074
12091
  key: "start",
12075
12092
  value: function start(payload) {
12076
12093
  return _async_to_generator(function() {
12077
- var _this, _payload_id, ref, maybeUpdateState, _this_setupFlow, state, start, endProps, _tmp, error, errorState;
12094
+ var _this, _ref, ref, maybeUpdateState, _this_setupFlow, state, start, endProps, _tmp, error, errorState;
12078
12095
  return _ts_generator(this, function(_state) {
12079
12096
  switch(_state.label){
12080
12097
  case 0:
12081
12098
  _this = this;
12082
- ref = Symbol((_payload_id = payload === null || payload === void 0 ? void 0 : payload.id) !== null && _payload_id !== void 0 ? _payload_id : "payload");
12083
- maybeUpdateState = function(newState) {
12099
+ ref = Symbol((_ref = payload === null || payload === void 0 ? void 0 : payload.id) !== null && _ref !== void 0 ? _ref : "payload");
12100
+ maybeUpdateState = function maybeUpdateState(newState) {
12084
12101
  if (_this.state.ref !== ref) {
12085
12102
  _this.logger.warn("Received update for a flow that's not the current one");
12086
12103
  return newState;
@@ -14286,7 +14303,7 @@ var MarkdownPlugin = function() {
14286
14303
  zwj: "\u200D",
14287
14304
  zwnj: "\u200C"
14288
14305
  };
14289
- // ../../../../../../../../../../../execroot/_main/bazel-out/k8-fastbuild/bin/node_modules/.aspect_rules_js/decode-named-character-reference@1.2.0/node_modules/decode-named-character-reference/index.js
14306
+ // ../../../../../../../../../../../execroot/_main/bazel-out/k8-fastbuild/bin/node_modules/.aspect_rules_js/decode-named-character-reference@1.3.0/node_modules/decode-named-character-reference/index.js
14290
14307
  var own = {}.hasOwnProperty;
14291
14308
  // ../../../../../../../../../../../execroot/_main/bazel-out/k8-fastbuild/bin/node_modules/.aspect_rules_js/micromark-util-combine-extensions@2.0.1/node_modules/micromark-util-combine-extensions/index.js
14292
14309
  var hasOwnProperty = {}.hasOwnProperty;
@@ -14297,7 +14314,7 @@ var MarkdownPlugin = function() {
14297
14314
  var asciiDigit = regexCheck(/\d/);
14298
14315
  var asciiHexDigit = regexCheck(/[\dA-Fa-f]/);
14299
14316
  var asciiPunctuation = regexCheck(/[!-/:-@[-`{-~]/);
14300
- var unicodePunctuation = regexCheck(RegExp("\\p{P}|\\p{S}", "u"));
14317
+ var unicodePunctuation = regexCheck(RegExp("[\\u0021-\\u0023\\u0025-\\u002A\\u002C-\\u002F\\u003A-\\u003B\\u003F-\\u0040\\u005B-\\u005D\\u005F\\u007B\\u007D\\u00A1\\u00A7\\u00AB\\u00B6-\\u00B7\\u00BB\\u00BF\\u037E\\u0387\\u055A-\\u055F\\u0589-\\u058A\\u05BE\\u05C0\\u05C3\\u05C6\\u05F3-\\u05F4\\u0609-\\u060A\\u060C-\\u060D\\u061B\\u061D-\\u061F\\u066A-\\u066D\\u06D4\\u0700-\\u070D\\u07F7-\\u07F9\\u0830-\\u083E\\u085E\\u0964-\\u0965\\u0970\\u09FD\\u0A76\\u0AF0\\u0C77\\u0C84\\u0DF4\\u0E4F\\u0E5A-\\u0E5B\\u0F04-\\u0F12\\u0F14\\u0F3A-\\u0F3D\\u0F85\\u0FD0-\\u0FD4\\u0FD9-\\u0FDA\\u104A-\\u104F\\u10FB\\u1360-\\u1368\\u1400\\u166E\\u169B-\\u169C\\u16EB-\\u16ED\\u1735-\\u1736\\u17D4-\\u17D6\\u17D8-\\u17DA\\u1800-\\u180A\\u1944-\\u1945\\u1A1E-\\u1A1F\\u1AA0-\\u1AA6\\u1AA8-\\u1AAD\\u1B4E-\\u1B4F\\u1B5A-\\u1B60\\u1B7D-\\u1B7F\\u1BFC-\\u1BFF\\u1C3B-\\u1C3F\\u1C7E-\\u1C7F\\u1CC0-\\u1CC7\\u1CD3\\u2010-\\u2027\\u2030-\\u2043\\u2045-\\u2051\\u2053-\\u205E\\u207D-\\u207E\\u208D-\\u208E\\u2308-\\u230B\\u2329-\\u232A\\u2768-\\u2775\\u27C5-\\u27C6\\u27E6-\\u27EF\\u2983-\\u2998\\u29D8-\\u29DB\\u29FC-\\u29FD\\u2CF9-\\u2CFC\\u2CFE-\\u2CFF\\u2D70\\u2E00-\\u2E2E\\u2E30-\\u2E4F\\u2E52-\\u2E5D\\u3001-\\u3003\\u3008-\\u3011\\u3014-\\u301F\\u3030\\u303D\\u30A0\\u30FB\\uA4FE-\\uA4FF\\uA60D-\\uA60F\\uA673\\uA67E\\uA6F2-\\uA6F7\\uA874-\\uA877\\uA8CE-\\uA8CF\\uA8F8-\\uA8FA\\uA8FC\\uA92E-\\uA92F\\uA95F\\uA9C1-\\uA9CD\\uA9DE-\\uA9DF\\uAA5C-\\uAA5F\\uAADE-\\uAADF\\uAAF0-\\uAAF1\\uABEB\\uFD3E-\\uFD3F\\uFE10-\\uFE19\\uFE30-\\uFE52\\uFE54-\\uFE61\\uFE63\\uFE68\\uFE6A-\\uFE6B\\uFF01-\\uFF03\\uFF05-\\uFF0A\\uFF0C-\\uFF0F\\uFF1A-\\uFF1B\\uFF1F-\\uFF20\\uFF3B-\\uFF3D\\uFF3F\\uFF5B\\uFF5D\\uFF5F-\\uFF65\\u{10100}-\\u{10102}\\u{1039F}\\u{103D0}\\u{1056F}\\u{10857}\\u{1091F}\\u{1093F}\\u{10A50}-\\u{10A58}\\u{10A7F}\\u{10AF0}-\\u{10AF6}\\u{10B39}-\\u{10B3F}\\u{10B99}-\\u{10B9C}\\u{10D6E}\\u{10EAD}\\u{10ED0}\\u{10F55}-\\u{10F59}\\u{10F86}-\\u{10F89}\\u{11047}-\\u{1104D}\\u{110BB}-\\u{110BC}\\u{110BE}-\\u{110C1}\\u{11140}-\\u{11143}\\u{11174}-\\u{11175}\\u{111C5}-\\u{111C8}\\u{111CD}\\u{111DB}\\u{111DD}-\\u{111DF}\\u{11238}-\\u{1123D}\\u{112A9}\\u{113D4}-\\u{113D5}\\u{113D7}-\\u{113D8}\\u{1144B}-\\u{1144F}\\u{1145A}-\\u{1145B}\\u{1145D}\\u{114C6}\\u{115C1}-\\u{115D7}\\u{11641}-\\u{11643}\\u{11660}-\\u{1166C}\\u{116B9}\\u{1173C}-\\u{1173E}\\u{1183B}\\u{11944}-\\u{11946}\\u{119E2}\\u{11A3F}-\\u{11A46}\\u{11A9A}-\\u{11A9C}\\u{11A9E}-\\u{11AA2}\\u{11B00}-\\u{11B09}\\u{11BE1}\\u{11C41}-\\u{11C45}\\u{11C70}-\\u{11C71}\\u{11EF7}-\\u{11EF8}\\u{11F43}-\\u{11F4F}\\u{11FFF}\\u{12470}-\\u{12474}\\u{12FF1}-\\u{12FF2}\\u{16A6E}-\\u{16A6F}\\u{16AF5}\\u{16B37}-\\u{16B3B}\\u{16B44}\\u{16D6D}-\\u{16D6F}\\u{16E97}-\\u{16E9A}\\u{16FE2}\\u{1BC9F}\\u{1DA87}-\\u{1DA8B}\\u{1E5FF}\\u{1E95E}-\\u{1E95F}]|[\\u0024\\u002B\\u003C-\\u003E\\u005E\\u0060\\u007C\\u007E\\u00A2-\\u00A6\\u00A8-\\u00A9\\u00AC\\u00AE-\\u00B1\\u00B4\\u00B8\\u00D7\\u00F7\\u02C2-\\u02C5\\u02D2-\\u02DF\\u02E5-\\u02EB\\u02ED\\u02EF-\\u02FF\\u0375\\u0384-\\u0385\\u03F6\\u0482\\u058D-\\u058F\\u0606-\\u0608\\u060B\\u060E-\\u060F\\u06DE\\u06E9\\u06FD-\\u06FE\\u07F6\\u07FE-\\u07FF\\u0888\\u09F2-\\u09F3\\u09FA-\\u09FB\\u0AF1\\u0B70\\u0BF3-\\u0BFA\\u0C7F\\u0D4F\\u0D79\\u0E3F\\u0F01-\\u0F03\\u0F13\\u0F15-\\u0F17\\u0F1A-\\u0F1F\\u0F34\\u0F36\\u0F38\\u0FBE-\\u0FC5\\u0FC7-\\u0FCC\\u0FCE-\\u0FCF\\u0FD5-\\u0FD8\\u109E-\\u109F\\u1390-\\u1399\\u166D\\u17DB\\u1940\\u19DE-\\u19FF\\u1B61-\\u1B6A\\u1B74-\\u1B7C\\u1FBD\\u1FBF-\\u1FC1\\u1FCD-\\u1FCF\\u1FDD-\\u1FDF\\u1FED-\\u1FEF\\u1FFD-\\u1FFE\\u2044\\u2052\\u207A-\\u207C\\u208A-\\u208C\\u20A0-\\u20C1\\u2100-\\u2101\\u2103-\\u2106\\u2108-\\u2109\\u2114\\u2116-\\u2118\\u211E-\\u2123\\u2125\\u2127\\u2129\\u212E\\u213A-\\u213B\\u2140-\\u2144\\u214A-\\u214D\\u214F\\u218A-\\u218B\\u2190-\\u2307\\u230C-\\u2328\\u232B-\\u2429\\u2440-\\u244A\\u249C-\\u24E9\\u2500-\\u2767\\u2794-\\u27C4\\u27C7-\\u27E5\\u27F0-\\u2982\\u2999-\\u29D7\\u29DC-\\u29FB\\u29FE-\\u2B73\\u2B76-\\u2BFF\\u2CE5-\\u2CEA\\u2E50-\\u2E51\\u2E80-\\u2E99\\u2E9B-\\u2EF3\\u2F00-\\u2FD5\\u2FF0-\\u2FFF\\u3004\\u3012-\\u3013\\u3020\\u3036-\\u3037\\u303E-\\u303F\\u309B-\\u309C\\u3190-\\u3191\\u3196-\\u319F\\u31C0-\\u31E5\\u31EF\\u3200-\\u321E\\u322A-\\u3247\\u3250\\u3260-\\u327F\\u328A-\\u32B0\\u32C0-\\u33FF\\u4DC0-\\u4DFF\\uA490-\\uA4C6\\uA700-\\uA716\\uA720-\\uA721\\uA789-\\uA78A\\uA828-\\uA82B\\uA836-\\uA839\\uAA77-\\uAA79\\uAB5B\\uAB6A-\\uAB6B\\uFB29\\uFBB2-\\uFBD2\\uFD40-\\uFD4F\\uFD90-\\uFD91\\uFDC8-\\uFDCF\\uFDFC-\\uFDFF\\uFE62\\uFE64-\\uFE66\\uFE69\\uFF04\\uFF0B\\uFF1C-\\uFF1E\\uFF3E\\uFF40\\uFF5C\\uFF5E\\uFFE0-\\uFFE6\\uFFE8-\\uFFEE\\uFFFC-\\uFFFD\\u{10137}-\\u{1013F}\\u{10179}-\\u{10189}\\u{1018C}-\\u{1018E}\\u{10190}-\\u{1019C}\\u{101A0}\\u{101D0}-\\u{101FC}\\u{10877}-\\u{10878}\\u{10AC8}\\u{10D8E}-\\u{10D8F}\\u{10ED1}-\\u{10ED8}\\u{1173F}\\u{11FD5}-\\u{11FF1}\\u{16B3C}-\\u{16B3F}\\u{16B45}\\u{1BC9C}\\u{1CC00}-\\u{1CCEF}\\u{1CCFA}-\\u{1CCFC}\\u{1CD00}-\\u{1CEB3}\\u{1CEBA}-\\u{1CED0}\\u{1CEE0}-\\u{1CEF0}\\u{1CF50}-\\u{1CFC3}\\u{1D000}-\\u{1D0F5}\\u{1D100}-\\u{1D126}\\u{1D129}-\\u{1D164}\\u{1D16A}-\\u{1D16C}\\u{1D183}-\\u{1D184}\\u{1D18C}-\\u{1D1A9}\\u{1D1AE}-\\u{1D1EA}\\u{1D200}-\\u{1D241}\\u{1D245}\\u{1D300}-\\u{1D356}\\u{1D6C1}\\u{1D6DB}\\u{1D6FB}\\u{1D715}\\u{1D735}\\u{1D74F}\\u{1D76F}\\u{1D789}\\u{1D7A9}\\u{1D7C3}\\u{1D800}-\\u{1D9FF}\\u{1DA37}-\\u{1DA3A}\\u{1DA6D}-\\u{1DA74}\\u{1DA76}-\\u{1DA83}\\u{1DA85}-\\u{1DA86}\\u{1E14F}\\u{1E2FF}\\u{1ECAC}\\u{1ECB0}\\u{1ED2E}\\u{1EEF0}-\\u{1EEF1}\\u{1F000}-\\u{1F02B}\\u{1F030}-\\u{1F093}\\u{1F0A0}-\\u{1F0AE}\\u{1F0B1}-\\u{1F0BF}\\u{1F0C1}-\\u{1F0CF}\\u{1F0D1}-\\u{1F0F5}\\u{1F10D}-\\u{1F1AD}\\u{1F1E6}-\\u{1F202}\\u{1F210}-\\u{1F23B}\\u{1F240}-\\u{1F248}\\u{1F250}-\\u{1F251}\\u{1F260}-\\u{1F265}\\u{1F300}-\\u{1F6D8}\\u{1F6DC}-\\u{1F6EC}\\u{1F6F0}-\\u{1F6FC}\\u{1F700}-\\u{1F7D9}\\u{1F7E0}-\\u{1F7EB}\\u{1F7F0}\\u{1F800}-\\u{1F80B}\\u{1F810}-\\u{1F847}\\u{1F850}-\\u{1F859}\\u{1F860}-\\u{1F887}\\u{1F890}-\\u{1F8AD}\\u{1F8B0}-\\u{1F8BB}\\u{1F8C0}-\\u{1F8C1}\\u{1F8D0}-\\u{1F8D8}\\u{1F900}-\\u{1FA57}\\u{1FA60}-\\u{1FA6D}\\u{1FA70}-\\u{1FA7C}\\u{1FA80}-\\u{1FA8A}\\u{1FA8E}-\\u{1FAC6}\\u{1FAC8}\\u{1FACD}-\\u{1FADC}\\u{1FADF}-\\u{1FAEA}\\u{1FAEF}-\\u{1FAF8}\\u{1FB00}-\\u{1FB92}\\u{1FB94}-\\u{1FBEF}\\u{1FBFA}]", "u"));
14301
14318
  var unicodeWhitespace = regexCheck(/\s/);
14302
14319
  // ../../../../../../../../../../../execroot/_main/bazel-out/k8-fastbuild/bin/node_modules/.aspect_rules_js/micromark@4.0.2/node_modules/micromark/lib/initialize/content.js
14303
14320
  var content = {
@@ -14766,31 +14783,31 @@ var MarkdownPlugin = function() {
14766
14783
  // ../../../../../../../../../../../execroot/_main/bazel-out/k8-fastbuild/bin/node_modules/.aspect_rules_js/micromark@4.0.2/node_modules/micromark/lib/constructs.js
14767
14784
  var constructs_exports = {};
14768
14785
  __export(constructs_exports, {
14769
- attentionMarkers: function() {
14786
+ attentionMarkers: function attentionMarkers1() {
14770
14787
  return attentionMarkers;
14771
14788
  },
14772
- contentInitial: function() {
14789
+ contentInitial: function contentInitial1() {
14773
14790
  return contentInitial;
14774
14791
  },
14775
- disable: function() {
14792
+ disable: function disable1() {
14776
14793
  return disable;
14777
14794
  },
14778
- document: function() {
14795
+ document: function document() {
14779
14796
  return document2;
14780
14797
  },
14781
- flow: function() {
14798
+ flow: function flow() {
14782
14799
  return flow2;
14783
14800
  },
14784
- flowInitial: function() {
14801
+ flowInitial: function flowInitial1() {
14785
14802
  return flowInitial;
14786
14803
  },
14787
- insideSpan: function() {
14804
+ insideSpan: function insideSpan1() {
14788
14805
  return insideSpan;
14789
14806
  },
14790
- string: function() {
14807
+ string: function string() {
14791
14808
  return string2;
14792
14809
  },
14793
- text: function() {
14810
+ text: function text() {
14794
14811
  return text2;
14795
14812
  }
14796
14813
  });
@@ -14846,7 +14863,7 @@ var MarkdownPlugin = function() {
14846
14863
  }
14847
14864
  }
14848
14865
  }
14849
- var textTransformer = function(param) {
14866
+ var textTransformer = function textTransformer(param) {
14850
14867
  var astNode = param.astNode, asset = param.asset, mappers = param.mappers;
14851
14868
  var value = astNode.value;
14852
14869
  return mappers.text({
@@ -14854,7 +14871,7 @@ var MarkdownPlugin = function() {
14854
14871
  value: value
14855
14872
  });
14856
14873
  };
14857
- var emphasisTransformer = function(param) {
14874
+ var emphasisTransformer = function emphasisTransformer(param) {
14858
14875
  var astNode = param.astNode, asset = param.asset, mappers = param.mappers, transformers2 = param.transformers;
14859
14876
  if (mappers.emphasis) {
14860
14877
  var children = astNode.children;
@@ -14873,7 +14890,7 @@ var MarkdownPlugin = function() {
14873
14890
  }
14874
14891
  return swapMarkdownType(asset);
14875
14892
  };
14876
- var strongTransformer = function(param) {
14893
+ var strongTransformer = function strongTransformer(param) {
14877
14894
  var astNode = param.astNode, asset = param.asset, mappers = param.mappers, transformers2 = param.transformers;
14878
14895
  if (mappers.strong) {
14879
14896
  var children = astNode.children;
@@ -14892,7 +14909,7 @@ var MarkdownPlugin = function() {
14892
14909
  }
14893
14910
  return swapMarkdownType(asset);
14894
14911
  };
14895
- var paragraphTransformer = function(param) {
14912
+ var paragraphTransformer = function paragraphTransformer(param) {
14896
14913
  var astNode = param.astNode, asset = param.asset, mappers = param.mappers, transformers2 = param.transformers;
14897
14914
  var children = astNode.children;
14898
14915
  if (children.every(function(param) {
@@ -14914,7 +14931,7 @@ var MarkdownPlugin = function() {
14914
14931
  }
14915
14932
  return swapMarkdownType(asset);
14916
14933
  };
14917
- var listTransformer = function(param) {
14934
+ var listTransformer = function listTransformer(param) {
14918
14935
  var astNode = param.astNode, asset = param.asset, mappers = param.mappers, transformers2 = param.transformers;
14919
14936
  if (mappers.list) {
14920
14937
  var children = astNode.children, ordered = astNode.ordered, start = astNode.start;
@@ -14935,7 +14952,7 @@ var MarkdownPlugin = function() {
14935
14952
  }
14936
14953
  return swapMarkdownType(asset);
14937
14954
  };
14938
- var listItemTransformer = function(param) {
14955
+ var listItemTransformer = function listItemTransformer(param) {
14939
14956
  var astNode = param.astNode, asset = param.asset, mappers = param.mappers, transformers2 = param.transformers;
14940
14957
  var children = astNode.children;
14941
14958
  var value = children.map(function(node2) {
@@ -14952,7 +14969,7 @@ var MarkdownPlugin = function() {
14952
14969
  value: value
14953
14970
  });
14954
14971
  };
14955
- var linkTransformer = function(param) {
14972
+ var linkTransformer = function linkTransformer(param) {
14956
14973
  var astNode = param.astNode, asset = param.asset, mappers = param.mappers, transformers2 = param.transformers;
14957
14974
  if (mappers.link) {
14958
14975
  var children = astNode.children, url = astNode.url;
@@ -14972,7 +14989,7 @@ var MarkdownPlugin = function() {
14972
14989
  }
14973
14990
  return swapMarkdownType(asset);
14974
14991
  };
14975
- var imageTransformer = function(param) {
14992
+ var imageTransformer = function imageTransformer(param) {
14976
14993
  var astNode = param.astNode, asset = param.asset, mappers = param.mappers;
14977
14994
  if (mappers.image) {
14978
14995
  var title = astNode.title, url = astNode.url, alt = astNode.alt;
@@ -14984,7 +15001,7 @@ var MarkdownPlugin = function() {
14984
15001
  }
14985
15002
  return swapMarkdownType(asset);
14986
15003
  };
14987
- var blockquoteTransformer = function(param) {
15004
+ var blockquoteTransformer = function blockquoteTransformer(param) {
14988
15005
  var astNode = param.astNode, asset = param.asset, mappers = param.mappers, transformers2 = param.transformers;
14989
15006
  if (mappers.blockquote) {
14990
15007
  var children = astNode.children;
@@ -15003,7 +15020,7 @@ var MarkdownPlugin = function() {
15003
15020
  }
15004
15021
  return swapMarkdownType(asset);
15005
15022
  };
15006
- var inlineCodeTransformer = function(param) {
15023
+ var inlineCodeTransformer = function inlineCodeTransformer(param) {
15007
15024
  var astNode = param.astNode, asset = param.asset, mappers = param.mappers;
15008
15025
  if (mappers.inlineCode) {
15009
15026
  var value = astNode.value;
@@ -15014,7 +15031,7 @@ var MarkdownPlugin = function() {
15014
15031
  }
15015
15032
  return swapMarkdownType(asset);
15016
15033
  };
15017
- var codeTransformer = function(param) {
15034
+ var codeTransformer = function codeTransformer(param) {
15018
15035
  var astNode = param.astNode, asset = param.asset, mappers = param.mappers;
15019
15036
  if (mappers.code) {
15020
15037
  var value = astNode.value, lang = astNode.lang;
@@ -15026,7 +15043,7 @@ var MarkdownPlugin = function() {
15026
15043
  }
15027
15044
  return swapMarkdownType(asset);
15028
15045
  };
15029
- var horizontalRuleTransformer = function(param) {
15046
+ var horizontalRuleTransformer = function horizontalRuleTransformer(param) {
15030
15047
  var asset = param.asset, mappers = param.mappers;
15031
15048
  if (mappers.horizontalRule) {
15032
15049
  return mappers.horizontalRule({
@@ -15036,7 +15053,7 @@ var MarkdownPlugin = function() {
15036
15053
  }
15037
15054
  return swapMarkdownType(asset);
15038
15055
  };
15039
- var headingTransformer = function(param) {
15056
+ var headingTransformer = function headingTransformer(param) {
15040
15057
  var astNode = param.astNode, asset = param.asset, mappers = param.mappers, transformers2 = param.transformers;
15041
15058
  if (mappers.heading) {
15042
15059
  var children = astNode.children, depth = astNode.depth;