@appbaseio/reactivesearch-vue 3.3.5 → 3.3.6

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.
@@ -18288,7 +18288,7 @@
18288
18288
  }
18289
18289
 
18290
18290
  var purify = createCommonjsModule(function (module, exports) {
18291
- /*! @license DOMPurify 3.0.8 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.0.8/LICENSE */
18291
+ /*! @license DOMPurify 3.1.5 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.1.5/LICENSE */
18292
18292
 
18293
18293
  (function (global, factory) {
18294
18294
  module.exports = factory() ;
@@ -18334,6 +18334,7 @@
18334
18334
  var stringReplace = unapply(String.prototype.replace);
18335
18335
  var stringIndexOf = unapply(String.prototype.indexOf);
18336
18336
  var stringTrim = unapply(String.prototype.trim);
18337
+ var objectHasOwnProperty = unapply(Object.prototype.hasOwnProperty);
18337
18338
  var regExpTest = unapply(RegExp.prototype.test);
18338
18339
  var typeErrorCreate = unconstruct(TypeError);
18339
18340
 
@@ -18409,7 +18410,8 @@
18409
18410
  */
18410
18411
  function cleanArray(array) {
18411
18412
  for (var index = 0; index < array.length; index++) {
18412
- if (getOwnPropertyDescriptor(array, index) === undefined) {
18413
+ var isPropertyExist = objectHasOwnProperty(array, index);
18414
+ if (!isPropertyExist) {
18413
18415
  array[index] = null;
18414
18416
  }
18415
18417
  }
@@ -18428,7 +18430,8 @@
18428
18430
  var _step$value = _step.value,
18429
18431
  property = _step$value[0],
18430
18432
  value = _step$value[1];
18431
- if (getOwnPropertyDescriptor(object, property) !== undefined) {
18433
+ var isPropertyExist = objectHasOwnProperty(object, property);
18434
+ if (isPropertyExist) {
18432
18435
  if (Array.isArray(value)) {
18433
18436
  newObject[property] = cleanArray(value);
18434
18437
  } else if (value && typeof value === 'object' && value.constructor === Object) {
@@ -18461,8 +18464,7 @@
18461
18464
  }
18462
18465
  object = getPrototypeOf(object);
18463
18466
  }
18464
- function fallbackValue(element) {
18465
- console.warn('fallback value for', element);
18467
+ function fallbackValue() {
18466
18468
  return null;
18467
18469
  }
18468
18470
  return fallbackValue;
@@ -18484,7 +18486,7 @@
18484
18486
  // even those that we disallow by default.
18485
18487
  var mathMlDisallowed = freeze(['maction', 'maligngroup', 'malignmark', 'mlongdiv', 'mscarries', 'mscarry', 'msgroup', 'mstack', 'msline', 'msrow', 'semantics', 'annotation', 'annotation-xml', 'mprescripts', 'none']);
18486
18488
  var text = freeze(['#text']);
18487
- var html = freeze(['accept', 'action', 'align', 'alt', 'autocapitalize', 'autocomplete', 'autopictureinpicture', 'autoplay', 'background', 'bgcolor', 'border', 'capture', 'cellpadding', 'cellspacing', 'checked', 'cite', 'class', 'clear', 'color', 'cols', 'colspan', 'controls', 'controlslist', 'coords', 'crossorigin', 'datetime', 'decoding', 'default', 'dir', 'disabled', 'disablepictureinpicture', 'disableremoteplayback', 'download', 'draggable', 'enctype', 'enterkeyhint', 'face', 'for', 'headers', 'height', 'hidden', 'high', 'href', 'hreflang', 'id', 'inputmode', 'integrity', 'ismap', 'kind', 'label', 'lang', 'list', 'loading', 'loop', 'low', 'max', 'maxlength', 'media', 'method', 'min', 'minlength', 'multiple', 'muted', 'name', 'nonce', 'noshade', 'novalidate', 'nowrap', 'open', 'optimum', 'pattern', 'placeholder', 'playsinline', 'poster', 'preload', 'pubdate', 'radiogroup', 'readonly', 'rel', 'required', 'rev', 'reversed', 'role', 'rows', 'rowspan', 'spellcheck', 'scope', 'selected', 'shape', 'size', 'sizes', 'span', 'srclang', 'start', 'src', 'srcset', 'step', 'style', 'summary', 'tabindex', 'title', 'translate', 'type', 'usemap', 'valign', 'value', 'width', 'xmlns', 'slot']);
18489
+ var html = freeze(['accept', 'action', 'align', 'alt', 'autocapitalize', 'autocomplete', 'autopictureinpicture', 'autoplay', 'background', 'bgcolor', 'border', 'capture', 'cellpadding', 'cellspacing', 'checked', 'cite', 'class', 'clear', 'color', 'cols', 'colspan', 'controls', 'controlslist', 'coords', 'crossorigin', 'datetime', 'decoding', 'default', 'dir', 'disabled', 'disablepictureinpicture', 'disableremoteplayback', 'download', 'draggable', 'enctype', 'enterkeyhint', 'face', 'for', 'headers', 'height', 'hidden', 'high', 'href', 'hreflang', 'id', 'inputmode', 'integrity', 'ismap', 'kind', 'label', 'lang', 'list', 'loading', 'loop', 'low', 'max', 'maxlength', 'media', 'method', 'min', 'minlength', 'multiple', 'muted', 'name', 'nonce', 'noshade', 'novalidate', 'nowrap', 'open', 'optimum', 'pattern', 'placeholder', 'playsinline', 'popover', 'popovertarget', 'popovertargetaction', 'poster', 'preload', 'pubdate', 'radiogroup', 'readonly', 'rel', 'required', 'rev', 'reversed', 'role', 'rows', 'rowspan', 'spellcheck', 'scope', 'selected', 'shape', 'size', 'sizes', 'span', 'srclang', 'start', 'src', 'srcset', 'step', 'style', 'summary', 'tabindex', 'title', 'translate', 'type', 'usemap', 'valign', 'value', 'width', 'wrap', 'xmlns', 'slot']);
18488
18490
  var svg = freeze(['accent-height', 'accumulate', 'additive', 'alignment-baseline', 'ascent', 'attributename', 'attributetype', 'azimuth', 'basefrequency', 'baseline-shift', 'begin', 'bias', 'by', 'class', 'clip', 'clippathunits', 'clip-path', 'clip-rule', 'color', 'color-interpolation', 'color-interpolation-filters', 'color-profile', 'color-rendering', 'cx', 'cy', 'd', 'dx', 'dy', 'diffuseconstant', 'direction', 'display', 'divisor', 'dur', 'edgemode', 'elevation', 'end', 'fill', 'fill-opacity', 'fill-rule', 'filter', 'filterunits', 'flood-color', 'flood-opacity', 'font-family', 'font-size', 'font-size-adjust', 'font-stretch', 'font-style', 'font-variant', 'font-weight', 'fx', 'fy', 'g1', 'g2', 'glyph-name', 'glyphref', 'gradientunits', 'gradienttransform', 'height', 'href', 'id', 'image-rendering', 'in', 'in2', 'k', 'k1', 'k2', 'k3', 'k4', 'kerning', 'keypoints', 'keysplines', 'keytimes', 'lang', 'lengthadjust', 'letter-spacing', 'kernelmatrix', 'kernelunitlength', 'lighting-color', 'local', 'marker-end', 'marker-mid', 'marker-start', 'markerheight', 'markerunits', 'markerwidth', 'maskcontentunits', 'maskunits', 'max', 'mask', 'media', 'method', 'mode', 'min', 'name', 'numoctaves', 'offset', 'operator', 'opacity', 'order', 'orient', 'orientation', 'origin', 'overflow', 'paint-order', 'path', 'pathlength', 'patterncontentunits', 'patterntransform', 'patternunits', 'points', 'preservealpha', 'preserveaspectratio', 'primitiveunits', 'r', 'rx', 'ry', 'radius', 'refx', 'refy', 'repeatcount', 'repeatdur', 'restart', 'result', 'rotate', 'scale', 'seed', 'shape-rendering', 'specularconstant', 'specularexponent', 'spreadmethod', 'startoffset', 'stddeviation', 'stitchtiles', 'stop-color', 'stop-opacity', 'stroke-dasharray', 'stroke-dashoffset', 'stroke-linecap', 'stroke-linejoin', 'stroke-miterlimit', 'stroke-opacity', 'stroke', 'stroke-width', 'style', 'surfacescale', 'systemlanguage', 'tabindex', 'targetx', 'targety', 'transform', 'transform-origin', 'text-anchor', 'text-decoration', 'text-rendering', 'textlength', 'type', 'u1', 'u2', 'unicode', 'values', 'viewbox', 'visibility', 'version', 'vert-adv-y', 'vert-origin-x', 'vert-origin-y', 'width', 'word-spacing', 'wrap', 'writing-mode', 'xchannelselector', 'ychannelselector', 'x', 'x1', 'x2', 'xmlns', 'y', 'y1', 'y2', 'z', 'zoomandpan']);
18489
18491
  var mathMl = freeze(['accent', 'accentunder', 'align', 'bevelled', 'close', 'columnsalign', 'columnlines', 'columnspan', 'denomalign', 'depth', 'dir', 'display', 'displaystyle', 'encoding', 'fence', 'frame', 'height', 'href', 'id', 'largeop', 'length', 'linethickness', 'lspace', 'lquote', 'mathbackground', 'mathcolor', 'mathsize', 'mathvariant', 'maxsize', 'minsize', 'movablelimits', 'notation', 'numalign', 'open', 'rowalign', 'rowlines', 'rowspacing', 'rowspan', 'rspace', 'rquote', 'scriptlevel', 'scriptminsize', 'scriptsizemultiplier', 'selection', 'separator', 'separators', 'stretchy', 'subscriptshift', 'supscriptshift', 'symmetric', 'voffset', 'width', 'xmlns']);
18490
18492
  var xml = freeze(['xlink:href', 'xml:id', 'xlink:title', 'xml:space', 'xmlns:xlink']);
@@ -18501,6 +18503,7 @@
18501
18503
  var ATTR_WHITESPACE = seal(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g // eslint-disable-line no-control-regex
18502
18504
  );
18503
18505
  var DOCTYPE_NAME = seal(/^html$/i);
18506
+ var CUSTOM_ELEMENT = seal(/^[a-z][.\w]*(-[.\w]+)+$/i);
18504
18507
  var EXPRESSIONS = /*#__PURE__*/Object.freeze({
18505
18508
  __proto__: null,
18506
18509
  MUSTACHE_EXPR: MUSTACHE_EXPR,
@@ -18511,8 +18514,27 @@
18511
18514
  IS_ALLOWED_URI: IS_ALLOWED_URI,
18512
18515
  IS_SCRIPT_OR_DATA: IS_SCRIPT_OR_DATA,
18513
18516
  ATTR_WHITESPACE: ATTR_WHITESPACE,
18514
- DOCTYPE_NAME: DOCTYPE_NAME
18517
+ DOCTYPE_NAME: DOCTYPE_NAME,
18518
+ CUSTOM_ELEMENT: CUSTOM_ELEMENT
18515
18519
  });
18520
+
18521
+ // https://developer.mozilla.org/en-US/docs/Web/API/Node/nodeType
18522
+ var NODE_TYPE = {
18523
+ element: 1,
18524
+ attribute: 2,
18525
+ text: 3,
18526
+ cdataSection: 4,
18527
+ entityReference: 5,
18528
+ // Deprecated
18529
+ entityNode: 6,
18530
+ // Deprecated
18531
+ progressingInstruction: 7,
18532
+ comment: 8,
18533
+ document: 9,
18534
+ documentType: 10,
18535
+ documentFragment: 11,
18536
+ notation: 12 // Deprecated
18537
+ };
18516
18538
  var getGlobal = function getGlobal() {
18517
18539
  return typeof window === 'undefined' ? null : window;
18518
18540
  };
@@ -18566,14 +18588,14 @@
18566
18588
  * Version label, exposed for easier checks
18567
18589
  * if DOMPurify is up to date or not
18568
18590
  */
18569
- DOMPurify.version = '3.0.8';
18591
+ DOMPurify.version = '3.1.5';
18570
18592
 
18571
18593
  /**
18572
18594
  * Array of elements that DOMPurify removed during sanitation.
18573
18595
  * Empty if nothing was removed.
18574
18596
  */
18575
18597
  DOMPurify.removed = [];
18576
- if (!window || !window.document || window.document.nodeType !== 9) {
18598
+ if (!window || !window.document || window.document.nodeType !== NODE_TYPE.document) {
18577
18599
  // Not running in a browser, provide a factory function
18578
18600
  // so that you can pass your own Window
18579
18601
  DOMPurify.isSupported = false;
@@ -18630,7 +18652,8 @@
18630
18652
  DATA_ATTR = EXPRESSIONS.DATA_ATTR,
18631
18653
  ARIA_ATTR = EXPRESSIONS.ARIA_ATTR,
18632
18654
  IS_SCRIPT_OR_DATA = EXPRESSIONS.IS_SCRIPT_OR_DATA,
18633
- ATTR_WHITESPACE = EXPRESSIONS.ATTR_WHITESPACE;
18655
+ ATTR_WHITESPACE = EXPRESSIONS.ATTR_WHITESPACE,
18656
+ CUSTOM_ELEMENT = EXPRESSIONS.CUSTOM_ELEMENT;
18634
18657
  var IS_ALLOWED_URI$1 = EXPRESSIONS.IS_ALLOWED_URI;
18635
18658
 
18636
18659
  /**
@@ -18697,6 +18720,11 @@
18697
18720
  */
18698
18721
  var SAFE_FOR_TEMPLATES = false;
18699
18722
 
18723
+ /* Output should be safe even for XML used within HTML and alike.
18724
+ * This means, DOMPurify removes comments when containing risky content.
18725
+ */
18726
+ var SAFE_FOR_XML = true;
18727
+
18700
18728
  /* Decide if document with <html>... should be returned */
18701
18729
  var WHOLE_DOCUMENT = false;
18702
18730
 
@@ -18818,32 +18846,33 @@
18818
18846
  transformCaseFunc = PARSER_MEDIA_TYPE === 'application/xhtml+xml' ? stringToString : stringToLowerCase;
18819
18847
 
18820
18848
  /* Set configuration parameters */
18821
- ALLOWED_TAGS = 'ALLOWED_TAGS' in cfg ? addToSet({}, cfg.ALLOWED_TAGS, transformCaseFunc) : DEFAULT_ALLOWED_TAGS;
18822
- ALLOWED_ATTR = 'ALLOWED_ATTR' in cfg ? addToSet({}, cfg.ALLOWED_ATTR, transformCaseFunc) : DEFAULT_ALLOWED_ATTR;
18823
- ALLOWED_NAMESPACES = 'ALLOWED_NAMESPACES' in cfg ? addToSet({}, cfg.ALLOWED_NAMESPACES, stringToString) : DEFAULT_ALLOWED_NAMESPACES;
18824
- URI_SAFE_ATTRIBUTES = 'ADD_URI_SAFE_ATTR' in cfg ? addToSet(clone(DEFAULT_URI_SAFE_ATTRIBUTES),
18849
+ ALLOWED_TAGS = objectHasOwnProperty(cfg, 'ALLOWED_TAGS') ? addToSet({}, cfg.ALLOWED_TAGS, transformCaseFunc) : DEFAULT_ALLOWED_TAGS;
18850
+ ALLOWED_ATTR = objectHasOwnProperty(cfg, 'ALLOWED_ATTR') ? addToSet({}, cfg.ALLOWED_ATTR, transformCaseFunc) : DEFAULT_ALLOWED_ATTR;
18851
+ ALLOWED_NAMESPACES = objectHasOwnProperty(cfg, 'ALLOWED_NAMESPACES') ? addToSet({}, cfg.ALLOWED_NAMESPACES, stringToString) : DEFAULT_ALLOWED_NAMESPACES;
18852
+ URI_SAFE_ATTRIBUTES = objectHasOwnProperty(cfg, 'ADD_URI_SAFE_ATTR') ? addToSet(clone(DEFAULT_URI_SAFE_ATTRIBUTES),
18825
18853
  // eslint-disable-line indent
18826
18854
  cfg.ADD_URI_SAFE_ATTR,
18827
18855
  // eslint-disable-line indent
18828
18856
  transformCaseFunc // eslint-disable-line indent
18829
18857
  ) // eslint-disable-line indent
18830
18858
  : DEFAULT_URI_SAFE_ATTRIBUTES;
18831
- DATA_URI_TAGS = 'ADD_DATA_URI_TAGS' in cfg ? addToSet(clone(DEFAULT_DATA_URI_TAGS),
18859
+ DATA_URI_TAGS = objectHasOwnProperty(cfg, 'ADD_DATA_URI_TAGS') ? addToSet(clone(DEFAULT_DATA_URI_TAGS),
18832
18860
  // eslint-disable-line indent
18833
18861
  cfg.ADD_DATA_URI_TAGS,
18834
18862
  // eslint-disable-line indent
18835
18863
  transformCaseFunc // eslint-disable-line indent
18836
18864
  ) // eslint-disable-line indent
18837
18865
  : DEFAULT_DATA_URI_TAGS;
18838
- FORBID_CONTENTS = 'FORBID_CONTENTS' in cfg ? addToSet({}, cfg.FORBID_CONTENTS, transformCaseFunc) : DEFAULT_FORBID_CONTENTS;
18839
- FORBID_TAGS = 'FORBID_TAGS' in cfg ? addToSet({}, cfg.FORBID_TAGS, transformCaseFunc) : {};
18840
- FORBID_ATTR = 'FORBID_ATTR' in cfg ? addToSet({}, cfg.FORBID_ATTR, transformCaseFunc) : {};
18841
- USE_PROFILES = 'USE_PROFILES' in cfg ? cfg.USE_PROFILES : false;
18866
+ FORBID_CONTENTS = objectHasOwnProperty(cfg, 'FORBID_CONTENTS') ? addToSet({}, cfg.FORBID_CONTENTS, transformCaseFunc) : DEFAULT_FORBID_CONTENTS;
18867
+ FORBID_TAGS = objectHasOwnProperty(cfg, 'FORBID_TAGS') ? addToSet({}, cfg.FORBID_TAGS, transformCaseFunc) : {};
18868
+ FORBID_ATTR = objectHasOwnProperty(cfg, 'FORBID_ATTR') ? addToSet({}, cfg.FORBID_ATTR, transformCaseFunc) : {};
18869
+ USE_PROFILES = objectHasOwnProperty(cfg, 'USE_PROFILES') ? cfg.USE_PROFILES : false;
18842
18870
  ALLOW_ARIA_ATTR = cfg.ALLOW_ARIA_ATTR !== false; // Default true
18843
18871
  ALLOW_DATA_ATTR = cfg.ALLOW_DATA_ATTR !== false; // Default true
18844
18872
  ALLOW_UNKNOWN_PROTOCOLS = cfg.ALLOW_UNKNOWN_PROTOCOLS || false; // Default false
18845
18873
  ALLOW_SELF_CLOSE_IN_ATTR = cfg.ALLOW_SELF_CLOSE_IN_ATTR !== false; // Default true
18846
18874
  SAFE_FOR_TEMPLATES = cfg.SAFE_FOR_TEMPLATES || false; // Default false
18875
+ SAFE_FOR_XML = cfg.SAFE_FOR_XML !== false; // Default true
18847
18876
  WHOLE_DOCUMENT = cfg.WHOLE_DOCUMENT || false; // Default false
18848
18877
  RETURN_DOM = cfg.RETURN_DOM || false; // Default false
18849
18878
  RETURN_DOM_FRAGMENT = cfg.RETURN_DOM_FRAGMENT || false; // Default false
@@ -18968,7 +18997,7 @@
18968
18997
  CONFIG = cfg;
18969
18998
  };
18970
18999
  var MATHML_TEXT_INTEGRATION_POINTS = addToSet({}, ['mi', 'mo', 'mn', 'ms', 'mtext']);
18971
- var HTML_INTEGRATION_POINTS = addToSet({}, ['foreignobject', 'desc', 'title', 'annotation-xml']);
19000
+ var HTML_INTEGRATION_POINTS = addToSet({}, ['foreignobject', 'annotation-xml']);
18972
19001
 
18973
19002
  // Certain elements are allowed in both SVG and HTML
18974
19003
  // namespace. We need to specify them explicitly
@@ -19182,7 +19211,7 @@
19182
19211
  var _createNodeIterator = function _createNodeIterator(root) {
19183
19212
  return createNodeIterator.call(root.ownerDocument || root, root,
19184
19213
  // eslint-disable-next-line no-bitwise
19185
- NodeFilter.SHOW_ELEMENT | NodeFilter.SHOW_COMMENT | NodeFilter.SHOW_TEXT, null);
19214
+ NodeFilter.SHOW_ELEMENT | NodeFilter.SHOW_COMMENT | NodeFilter.SHOW_TEXT | NodeFilter.SHOW_PROCESSING_INSTRUCTION | NodeFilter.SHOW_CDATA_SECTION, null);
19186
19215
  };
19187
19216
 
19188
19217
  /**
@@ -19259,6 +19288,18 @@
19259
19288
  return true;
19260
19289
  }
19261
19290
 
19291
+ /* Remove any ocurrence of processing instructions */
19292
+ if (currentNode.nodeType === NODE_TYPE.progressingInstruction) {
19293
+ _forceRemove(currentNode);
19294
+ return true;
19295
+ }
19296
+
19297
+ /* Remove any kind of possibly harmful comments */
19298
+ if (SAFE_FOR_XML && currentNode.nodeType === NODE_TYPE.comment && regExpTest(/<[/\w]/g, currentNode.data)) {
19299
+ _forceRemove(currentNode);
19300
+ return true;
19301
+ }
19302
+
19262
19303
  /* Remove element if anything forbids its presence */
19263
19304
  if (!ALLOWED_TAGS[tagName] || FORBID_TAGS[tagName]) {
19264
19305
  /* Check if we have a custom element to handle */
@@ -19278,7 +19319,9 @@
19278
19319
  if (childNodes && parentNode) {
19279
19320
  var childCount = childNodes.length;
19280
19321
  for (var i = childCount - 1; i >= 0; --i) {
19281
- parentNode.insertBefore(cloneNode(childNodes[i], true), getNextSibling(currentNode));
19322
+ var childClone = cloneNode(childNodes[i], true);
19323
+ childClone.__removalCount = (currentNode.__removalCount || 0) + 1;
19324
+ parentNode.insertBefore(childClone, getNextSibling(currentNode));
19282
19325
  }
19283
19326
  }
19284
19327
  }
@@ -19299,7 +19342,7 @@
19299
19342
  }
19300
19343
 
19301
19344
  /* Sanitize element content to be template-safe */
19302
- if (SAFE_FOR_TEMPLATES && currentNode.nodeType === 3) {
19345
+ if (SAFE_FOR_TEMPLATES && currentNode.nodeType === NODE_TYPE.text) {
19303
19346
  /* Get the element's text content */
19304
19347
  content = currentNode.textContent;
19305
19348
  arrayForEach([MUSTACHE_EXPR, ERB_EXPR, TMPLIT_EXPR], function (expr) {
@@ -19364,7 +19407,7 @@
19364
19407
  * @returns {boolean} Returns true if the tag name meets the basic criteria for a custom element, otherwise false.
19365
19408
  */
19366
19409
  var _isBasicCustomElement = function _isBasicCustomElement(tagName) {
19367
- return tagName.indexOf('-') > 0;
19410
+ return tagName !== 'annotation-xml' && stringMatch(tagName, CUSTOM_ELEMENT);
19368
19411
  };
19369
19412
 
19370
19413
  /**
@@ -19429,6 +19472,12 @@
19429
19472
  return 0; // continue
19430
19473
  }
19431
19474
 
19475
+ /* Work around a security issue with comments inside attributes */
19476
+ if (SAFE_FOR_XML && regExpTest(/((--!?|])>)|<\/(style|title)/i, value)) {
19477
+ _removeAttribute(name, currentNode);
19478
+ return 0; // continue
19479
+ }
19480
+
19432
19481
  /* Sanitize attribute content to be template-safe */
19433
19482
  if (SAFE_FOR_TEMPLATES) {
19434
19483
  arrayForEach([MUSTACHE_EXPR, ERB_EXPR, TMPLIT_EXPR], function (expr) {
@@ -19479,7 +19528,11 @@
19479
19528
  /* Fallback to setAttribute() for browser-unrecognized namespaces e.g. "x-schema". */
19480
19529
  currentNode.setAttribute(name, value);
19481
19530
  }
19482
- arrayPop(DOMPurify.removed);
19531
+ if (_isClobbered(currentNode)) {
19532
+ _forceRemove(currentNode);
19533
+ } else {
19534
+ arrayPop(DOMPurify.removed);
19535
+ }
19483
19536
  } catch (_) {}
19484
19537
  },
19485
19538
  _ret;
@@ -19589,7 +19642,7 @@
19589
19642
  elements being stripped by the parser */
19590
19643
  body = _initDocument('<!---->');
19591
19644
  importedNode = body.ownerDocument.importNode(dirty, true);
19592
- if (importedNode.nodeType === 1 && importedNode.nodeName === 'BODY') {
19645
+ if (importedNode.nodeType === NODE_TYPE.element && importedNode.nodeName === 'BODY') {
19593
19646
  /* Node is already a body, use as is */
19594
19647
  body = importedNode;
19595
19648
  } else if (importedNode.nodeName === 'HTML') {
@@ -19782,6 +19835,12 @@
19782
19835
 
19783
19836
  var browser = window.DOMPurify || (window.DOMPurify = purify["default"] || purify);
19784
19837
 
19838
+ var DOMPurify = /*#__PURE__*/Object.freeze({
19839
+ __proto__: null,
19840
+ 'default': browser,
19841
+ __moduleExports: browser
19842
+ });
19843
+
19785
19844
  var textarea;
19786
19845
  function decodeEntity(name) {
19787
19846
  textarea = textarea || document.createElement('textarea');
@@ -26827,7 +26886,7 @@
26827
26886
  if (typeof renderItem === 'function') {
26828
26887
  var jsxEl = renderItem(newSuggestion);
26829
26888
  var innerValue = innerText(jsxEl);
26830
- newSuggestion.value = browser.sanitize(innerValue);
26889
+ newSuggestion.value = undefined(innerValue);
26831
26890
  }
26832
26891
  return newSuggestion;
26833
26892
  }
@@ -28167,7 +28226,7 @@
28167
28226
  "style": {
28168
28227
  display: 'flex'
28169
28228
  },
28170
- "innerHTML": browser.sanitize(item.icon)
28229
+ "innerHTML": undefined(item.icon)
28171
28230
  }, null);
28172
28231
  };
28173
28232
  }
@@ -28178,7 +28237,7 @@
28178
28237
  "style": {
28179
28238
  maxWidth: '30px'
28180
28239
  },
28181
- "src": browser.sanitize(item.iconURL),
28240
+ "src": undefined(item.iconURL),
28182
28241
  "alt": item.value
28183
28242
  }, null)
28184
28243
  );
@@ -28216,7 +28275,7 @@
28216
28275
  }), !_this19.showAIScreen && _this19.parsedSuggestions.map(function (item, itemIndex) {
28217
28276
  var index = indexOffset + itemIndex;
28218
28277
  if (Array.isArray(item)) {
28219
- var sectionHtml = browser.sanitize(item[0].sectionLabel);
28278
+ var sectionHtml = undefined(item[0].sectionLabel);
28220
28279
  indexOffset += item.length - 1;
28221
28280
  return vue.createVNode("div", {
28222
28281
  "key": "section-" + itemIndex,
@@ -47203,7 +47262,7 @@
47203
47262
  }, queryString, renderFunction);
47204
47263
  }
47205
47264
 
47206
- var version = "3.3.5";
47265
+ var version = "3.3.6";
47207
47266
 
47208
47267
  var components = [RLConnected, ResultCard, ResultList, ReactiveBase, SBConnected, ListConnected, ListConnected$1, RangeConnected$1, RangeConnected$2, RangeConnected$3, RangeConnected, RcConnected, RcConnected$1, RcConnected$2, TBConnected, ListConnected$2, ListConnected$3, StateProviderConnected, RangeConnected$4, TreeListConnected, AIConnected];
47209
47268
  function install$1 (Vue) {