@nsshunt/stsuxvue 1.0.124 → 1.0.125

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.
package/dist/stsuxvue.cjs CHANGED
@@ -6036,7 +6036,7 @@ var import_ansi_to_html = /* @__PURE__ */ __toESM((/* @__PURE__ */ __commonJSMin
6036
6036
  return Filter;
6037
6037
  }();
6038
6038
  })))(), 1);
6039
- /*! @license DOMPurify 3.4.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.4.5/LICENSE */
6039
+ /*! @license DOMPurify 3.4.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.4.8/LICENSE */
6040
6040
  function _arrayLikeToArray(r, a) {
6041
6041
  (null == a || a > r.length) && (a = r.length);
6042
6042
  for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
@@ -6906,10 +6906,17 @@ var DOCTYPE_NAME = seal(/^html$/i);
6906
6906
  var CUSTOM_ELEMENT = seal(/^[a-z][.\w]*(-[.\w]+)+$/i);
6907
6907
  var NODE_TYPE = {
6908
6908
  element: 1,
6909
+ attribute: 2,
6909
6910
  text: 3,
6911
+ cdataSection: 4,
6912
+ entityReference: 5,
6913
+ entityNode: 6,
6910
6914
  progressingInstruction: 7,
6911
6915
  comment: 8,
6912
- document: 9
6916
+ document: 9,
6917
+ documentType: 10,
6918
+ documentFragment: 11,
6919
+ notation: 12
6913
6920
  };
6914
6921
  var getGlobal$1 = function getGlobal() {
6915
6922
  return typeof window === "undefined" ? null : window;
@@ -6958,7 +6965,7 @@ var _createHooksMap = function _createHooksMap() {
6958
6965
  function createDOMPurify() {
6959
6966
  let window = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : getGlobal$1();
6960
6967
  const DOMPurify = (root) => createDOMPurify(root);
6961
- DOMPurify.version = "3.4.5";
6968
+ DOMPurify.version = "3.4.8";
6962
6969
  DOMPurify.removed = [];
6963
6970
  if (!window || !window.document || window.document.nodeType !== NODE_TYPE.document || !window.Element) {
6964
6971
  DOMPurify.isSupported = false;
@@ -6967,20 +6974,37 @@ function createDOMPurify() {
6967
6974
  let document = window.document;
6968
6975
  const originalDocument = document;
6969
6976
  const currentScript = originalDocument.currentScript;
6970
- const DocumentFragment = window.DocumentFragment, HTMLTemplateElement = window.HTMLTemplateElement, Node = window.Node, Element = window.Element, NodeFilter = window.NodeFilter, _window$NamedNodeMap = window.NamedNodeMap, NamedNodeMap = _window$NamedNodeMap === void 0 ? window.NamedNodeMap || window.MozNamedAttrMap : _window$NamedNodeMap, HTMLFormElement = window.HTMLFormElement, DOMParser = window.DOMParser, trustedTypes = window.trustedTypes;
6977
+ window.DocumentFragment;
6978
+ const HTMLTemplateElement = window.HTMLTemplateElement, Node = window.Node, Element = window.Element, NodeFilter = window.NodeFilter;
6979
+ window.NamedNodeMap === void 0 && (window.NamedNodeMap || window.MozNamedAttrMap);
6980
+ window.HTMLFormElement;
6981
+ const DOMParser = window.DOMParser, trustedTypes = window.trustedTypes;
6971
6982
  const ElementPrototype = Element.prototype;
6972
6983
  const cloneNode = lookupGetter(ElementPrototype, "cloneNode");
6973
6984
  const remove = lookupGetter(ElementPrototype, "remove");
6974
6985
  const getNextSibling = lookupGetter(ElementPrototype, "nextSibling");
6975
6986
  const getChildNodes = lookupGetter(ElementPrototype, "childNodes");
6976
6987
  const getParentNode = lookupGetter(ElementPrototype, "parentNode");
6988
+ const getShadowRoot = lookupGetter(ElementPrototype, "shadowRoot");
6989
+ const getAttributes = lookupGetter(ElementPrototype, "attributes");
6977
6990
  const getNodeType = Node && Node.prototype ? lookupGetter(Node.prototype, "nodeType") : null;
6991
+ const getNodeName = Node && Node.prototype ? lookupGetter(Node.prototype, "nodeName") : null;
6978
6992
  if (typeof HTMLTemplateElement === "function") {
6979
6993
  const template = document.createElement("template");
6980
6994
  if (template.content && template.content.ownerDocument) document = template.content.ownerDocument;
6981
6995
  }
6982
6996
  let trustedTypesPolicy;
6983
6997
  let emptyHTML = "";
6998
+ let IN_POLICY_CREATE_HTML = 0;
6999
+ const _createTrustedHTML = function _createTrustedHTML(html) {
7000
+ if (IN_POLICY_CREATE_HTML > 0) throw typeErrorCreate("The configured TRUSTED_TYPES_POLICY.createHTML must not call DOMPurify.sanitize, as that causes infinite recursion. Do not pass a policy whose createHTML wraps DOMPurify as TRUSTED_TYPES_POLICY; see the \"DOMPurify and Trusted Types\" section of the README.");
7001
+ IN_POLICY_CREATE_HTML++;
7002
+ try {
7003
+ return trustedTypesPolicy.createHTML(html);
7004
+ } finally {
7005
+ IN_POLICY_CREATE_HTML--;
7006
+ }
7007
+ };
6984
7008
  const _document = document, implementation = _document.implementation, createNodeIterator = _document.createNodeIterator, createDocumentFragment = _document.createDocumentFragment, getElementsByTagName = _document.getElementsByTagName;
6985
7009
  const importNode = originalDocument.importNode;
6986
7010
  let hooks = _createHooksMap();
@@ -7266,12 +7290,20 @@ function createDOMPurify() {
7266
7290
  if (cfg.TRUSTED_TYPES_POLICY) {
7267
7291
  if (typeof cfg.TRUSTED_TYPES_POLICY.createHTML !== "function") throw typeErrorCreate("TRUSTED_TYPES_POLICY configuration option must provide a \"createHTML\" hook.");
7268
7292
  if (typeof cfg.TRUSTED_TYPES_POLICY.createScriptURL !== "function") throw typeErrorCreate("TRUSTED_TYPES_POLICY configuration option must provide a \"createScriptURL\" hook.");
7293
+ const previousTrustedTypesPolicy = trustedTypesPolicy;
7269
7294
  trustedTypesPolicy = cfg.TRUSTED_TYPES_POLICY;
7270
- emptyHTML = trustedTypesPolicy.createHTML("");
7295
+ try {
7296
+ emptyHTML = _createTrustedHTML("");
7297
+ } catch (error) {
7298
+ trustedTypesPolicy = previousTrustedTypesPolicy;
7299
+ throw error;
7300
+ }
7271
7301
  } else {
7272
- if (trustedTypesPolicy === void 0) trustedTypesPolicy = _createTrustedTypesPolicy(trustedTypes, currentScript);
7273
- if (trustedTypesPolicy !== null && typeof emptyHTML === "string") emptyHTML = trustedTypesPolicy.createHTML("");
7302
+ if (trustedTypesPolicy === void 0 && cfg.TRUSTED_TYPES_POLICY !== null) trustedTypesPolicy = _createTrustedTypesPolicy(trustedTypes, currentScript);
7303
+ if (trustedTypesPolicy && typeof emptyHTML === "string") emptyHTML = _createTrustedHTML("");
7274
7304
  }
7305
+ if ((hooks.uponSanitizeElement.length > 0 || hooks.uponSanitizeAttribute.length > 0) && ALLOWED_TAGS === DEFAULT_ALLOWED_TAGS) ALLOWED_TAGS = clone(ALLOWED_TAGS);
7306
+ if (hooks.uponSanitizeAttribute.length > 0 && ALLOWED_ATTR === DEFAULT_ALLOWED_ATTR) ALLOWED_ATTR = clone(ALLOWED_ATTR);
7275
7307
  if (freeze) freeze(cfg);
7276
7308
  CONFIG = cfg;
7277
7309
  };
@@ -7368,7 +7400,7 @@ function createDOMPurify() {
7368
7400
  leadingWhitespace = matches && matches[0];
7369
7401
  }
7370
7402
  if (PARSER_MEDIA_TYPE === "application/xhtml+xml" && NAMESPACE === HTML_NAMESPACE) dirty = "<html xmlns=\"http://www.w3.org/1999/xhtml\"><head></head><body>" + dirty + "</body></html>";
7371
- const dirtyPayload = trustedTypesPolicy ? trustedTypesPolicy.createHTML(dirty) : dirty;
7403
+ const dirtyPayload = trustedTypesPolicy ? _createTrustedHTML(dirty) : dirty;
7372
7404
  if (NAMESPACE === HTML_NAMESPACE) try {
7373
7405
  doc = new DOMParser().parseFromString(dirtyPayload, PARSER_MEDIA_TYPE);
7374
7406
  } catch (_) {}
@@ -7411,7 +7443,8 @@ function createDOMPurify() {
7411
7443
  *
7412
7444
  * @param node The root element whose character data should be scrubbed.
7413
7445
  */
7414
- const _scrubTemplateExpressions = function _scrubTemplateExpressions(node) {
7446
+ const _scrubTemplateExpressions2 = function _scrubTemplateExpressions(node) {
7447
+ var _node$querySelectorAl, _node$querySelectorAl2;
7415
7448
  node.normalize();
7416
7449
  const walker = createNodeIterator.call(node.ownerDocument || node, node, NodeFilter.SHOW_TEXT | NodeFilter.SHOW_COMMENT | NodeFilter.SHOW_CDATA_SECTION | NodeFilter.SHOW_PROCESSING_INSTRUCTION, null);
7417
7450
  let currentNode = walker.nextNode();
@@ -7427,15 +7460,47 @@ function createDOMPurify() {
7427
7460
  currentNode.data = data;
7428
7461
  currentNode = walker.nextNode();
7429
7462
  }
7463
+ const templates = (_node$querySelectorAl = (_node$querySelectorAl2 = node.querySelectorAll) === null || _node$querySelectorAl2 === void 0 ? void 0 : _node$querySelectorAl2.call(node, "template")) !== null && _node$querySelectorAl !== void 0 ? _node$querySelectorAl : [];
7464
+ arrayForEach(Array.from(templates), (tmpl) => {
7465
+ if (_isDocumentFragment(tmpl.content)) _scrubTemplateExpressions2(tmpl.content);
7466
+ });
7430
7467
  };
7431
7468
  /**
7432
7469
  * _isClobbered
7433
7470
  *
7471
+ * Detect DOM-clobbering on HTMLFormElement nodes. Form is the only HTML
7472
+ * interface with [LegacyOverrideBuiltIns]; a descendant element with a
7473
+ * `name` attribute matching a prototype property shadows that property
7474
+ * on direct reads. We use this check at the IN_PLACE entry-point and
7475
+ * during attribute sanitization to refuse clobbered forms.
7476
+ *
7434
7477
  * @param element element to check for clobbering attacks
7435
7478
  * @return true if clobbered, false if safe
7436
7479
  */
7437
7480
  const _isClobbered = function _isClobbered(element) {
7438
- return element instanceof HTMLFormElement && (typeof element.nodeName !== "string" || typeof element.textContent !== "string" || typeof element.removeChild !== "function" || !(element.attributes instanceof NamedNodeMap) || typeof element.removeAttribute !== "function" || typeof element.setAttribute !== "function" || typeof element.namespaceURI !== "string" || typeof element.insertBefore !== "function" || typeof element.hasChildNodes !== "function");
7481
+ const realTagName = getNodeName ? getNodeName(element) : null;
7482
+ if (typeof realTagName !== "string") return false;
7483
+ if (transformCaseFunc(realTagName) !== "form") return false;
7484
+ return typeof element.nodeName !== "string" || typeof element.textContent !== "string" || typeof element.removeChild !== "function" || element.attributes !== getAttributes(element) || typeof element.removeAttribute !== "function" || typeof element.setAttribute !== "function" || typeof element.namespaceURI !== "string" || typeof element.insertBefore !== "function" || typeof element.hasChildNodes !== "function" || element.nodeType !== getNodeType(element) || element.childNodes !== getChildNodes(element);
7485
+ };
7486
+ /**
7487
+ * Checks whether the given value is a DocumentFragment from any realm.
7488
+ *
7489
+ * The realm-independent replacement reads `nodeType` through the cached
7490
+ * Node.prototype getter and compares to the DOCUMENT_FRAGMENT_NODE
7491
+ * constant (11). nodeType is a numeric value resolved from the node's
7492
+ * internal slot, identical across realms for the same kind of node.
7493
+ *
7494
+ * @param value object to check
7495
+ * @return true if value is a DocumentFragment-shaped node from any realm
7496
+ */
7497
+ const _isDocumentFragment = function _isDocumentFragment(value) {
7498
+ if (!getNodeType || typeof value !== "object" || value === null) return false;
7499
+ try {
7500
+ return getNodeType(value) === NODE_TYPE.documentFragment;
7501
+ } catch (_) {
7502
+ return false;
7503
+ }
7439
7504
  };
7440
7505
  /**
7441
7506
  * Checks whether the given object is a DOM node, including nodes that
@@ -7445,12 +7510,6 @@ function createDOMPurify() {
7445
7510
  * sanitize() to silently stringify them and reset IN_PLACE to false,
7446
7511
  * returning the original node unsanitized. See GHSA-4w3q-35jp-p934.
7447
7512
  *
7448
- * Implementation: call the cached `nodeType` getter from Node.prototype
7449
- * directly on the value. This bypasses any clobbered instance property
7450
- * (e.g. a child element named "nodeType") and works across realms
7451
- * because the WebIDL `nodeType` getter reads an internal slot that
7452
- * every real Node has, regardless of which window minted it.
7453
- *
7454
7513
  * @param value object to check whether it's a DOM node
7455
7514
  * @return true if value is a DOM node from any realm
7456
7515
  */
@@ -7483,7 +7542,7 @@ function createDOMPurify() {
7483
7542
  _forceRemove(currentNode);
7484
7543
  return true;
7485
7544
  }
7486
- const tagName = transformCaseFunc(currentNode.nodeName);
7545
+ const tagName = transformCaseFunc(getNodeName ? getNodeName(currentNode) : currentNode.nodeName);
7487
7546
  _executeHooks(hooks.uponSanitizeElement, currentNode, {
7488
7547
  tagName,
7489
7548
  allowedTags: ALLOWED_TAGS
@@ -7510,8 +7569,8 @@ function createDOMPurify() {
7510
7569
  if (CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof Function && CUSTOM_ELEMENT_HANDLING.tagNameCheck(tagName)) return false;
7511
7570
  }
7512
7571
  if (KEEP_CONTENT && !FORBID_CONTENTS[tagName]) {
7513
- const parentNode = getParentNode(currentNode) || currentNode.parentNode;
7514
- const childNodes = getChildNodes(currentNode) || currentNode.childNodes;
7572
+ const parentNode = getParentNode(currentNode);
7573
+ const childNodes = getChildNodes(currentNode);
7515
7574
  if (childNodes && parentNode) {
7516
7575
  const childCount = childNodes.length;
7517
7576
  for (let i = childCount - 1; i >= 0; --i) {
@@ -7523,7 +7582,7 @@ function createDOMPurify() {
7523
7582
  _forceRemove(currentNode);
7524
7583
  return true;
7525
7584
  }
7526
- if (currentNode instanceof Element && !_checkValidNamespace(currentNode)) {
7585
+ if ((getNodeType ? getNodeType(currentNode) : currentNode.nodeType) === NODE_TYPE.element && !_checkValidNamespace(currentNode)) {
7527
7586
  _forceRemove(currentNode);
7528
7587
  return true;
7529
7588
  }
@@ -7662,7 +7721,7 @@ function createDOMPurify() {
7662
7721
  if (trustedTypesPolicy && typeof trustedTypes === "object" && typeof trustedTypes.getAttributeType === "function") if (namespaceURI);
7663
7722
  else switch (trustedTypes.getAttributeType(lcTag, lcName)) {
7664
7723
  case "TrustedHTML":
7665
- value = trustedTypesPolicy.createHTML(value);
7724
+ value = _createTrustedHTML(value);
7666
7725
  break;
7667
7726
  case "TrustedScriptURL":
7668
7727
  value = trustedTypesPolicy.createScriptURL(value);
@@ -7692,7 +7751,14 @@ function createDOMPurify() {
7692
7751
  _executeHooks(hooks.uponSanitizeShadowNode, shadowNode, null);
7693
7752
  _sanitizeElements(shadowNode);
7694
7753
  _sanitizeAttributes(shadowNode);
7695
- if (shadowNode.content instanceof DocumentFragment) _sanitizeShadowDOM2(shadowNode.content);
7754
+ if (_isDocumentFragment(shadowNode.content)) _sanitizeShadowDOM2(shadowNode.content);
7755
+ if ((getNodeType ? getNodeType(shadowNode) : shadowNode.nodeType) === NODE_TYPE.element) {
7756
+ const innerSr = getShadowRoot ? getShadowRoot(shadowNode) : shadowNode.shadowRoot;
7757
+ if (_isDocumentFragment(innerSr)) {
7758
+ _sanitizeAttachedShadowRoots2(innerSr);
7759
+ _sanitizeShadowDOM2(innerSr);
7760
+ }
7761
+ }
7696
7762
  }
7697
7763
  _executeHooks(hooks.afterSanitizeShadowDOM, fragment, null);
7698
7764
  };
@@ -7716,18 +7782,28 @@ function createDOMPurify() {
7716
7782
  * @param root the subtree root to walk for attached shadow roots
7717
7783
  */
7718
7784
  const _sanitizeAttachedShadowRoots2 = function _sanitizeAttachedShadowRoots(root) {
7719
- if (root.nodeType === NODE_TYPE.element && root.shadowRoot instanceof DocumentFragment) {
7720
- const sr = root.shadowRoot;
7721
- _sanitizeAttachedShadowRoots2(sr);
7722
- _sanitizeShadowDOM2(sr);
7785
+ const nodeType = getNodeType ? getNodeType(root) : root.nodeType;
7786
+ if (nodeType === NODE_TYPE.element) {
7787
+ const sr = getShadowRoot ? getShadowRoot(root) : root.shadowRoot;
7788
+ if (_isDocumentFragment(sr)) {
7789
+ _sanitizeAttachedShadowRoots2(sr);
7790
+ _sanitizeShadowDOM2(sr);
7791
+ }
7723
7792
  }
7724
- const childNodes = root.childNodes;
7793
+ const childNodes = getChildNodes ? getChildNodes(root) : root.childNodes;
7725
7794
  if (!childNodes) return;
7726
7795
  const snapshot = [];
7727
7796
  arrayForEach(childNodes, (child) => {
7728
7797
  arrayPush(snapshot, child);
7729
7798
  });
7730
7799
  for (const child of snapshot) _sanitizeAttachedShadowRoots2(child);
7800
+ if (nodeType === NODE_TYPE.element) {
7801
+ const rootName = getNodeName ? getNodeName(root) : null;
7802
+ if (typeof rootName === "string" && transformCaseFunc(rootName) === "template") {
7803
+ const content = root.content;
7804
+ if (_isDocumentFragment(content)) _sanitizeAttachedShadowRoots2(content);
7805
+ }
7806
+ }
7731
7807
  };
7732
7808
  DOMPurify.sanitize = function(dirty) {
7733
7809
  let cfg = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
@@ -7746,11 +7822,12 @@ function createDOMPurify() {
7746
7822
  DOMPurify.removed = [];
7747
7823
  if (typeof dirty === "string") IN_PLACE = false;
7748
7824
  if (IN_PLACE) {
7749
- const nn = dirty.nodeName;
7825
+ const nn = getNodeName ? getNodeName(dirty) : dirty.nodeName;
7750
7826
  if (typeof nn === "string") {
7751
7827
  const tagName = transformCaseFunc(nn);
7752
7828
  if (!ALLOWED_TAGS[tagName] || FORBID_TAGS[tagName]) throw typeErrorCreate("root node is forbidden and cannot be sanitized in-place");
7753
7829
  }
7830
+ if (_isClobbered(dirty)) throw typeErrorCreate("root node is clobbered and cannot be sanitized in-place");
7754
7831
  _sanitizeAttachedShadowRoots2(dirty);
7755
7832
  } else if (_isNode(dirty)) {
7756
7833
  body = _initDocument("<!---->");
@@ -7760,7 +7837,7 @@ function createDOMPurify() {
7760
7837
  else body.appendChild(importedNode);
7761
7838
  _sanitizeAttachedShadowRoots2(importedNode);
7762
7839
  } else {
7763
- if (!RETURN_DOM && !SAFE_FOR_TEMPLATES && !WHOLE_DOCUMENT && dirty.indexOf("<") === -1) return trustedTypesPolicy && RETURN_TRUSTED_TYPE ? trustedTypesPolicy.createHTML(dirty) : dirty;
7840
+ if (!RETURN_DOM && !SAFE_FOR_TEMPLATES && !WHOLE_DOCUMENT && dirty.indexOf("<") === -1) return trustedTypesPolicy && RETURN_TRUSTED_TYPE ? _createTrustedHTML(dirty) : dirty;
7764
7841
  body = _initDocument(dirty);
7765
7842
  if (!body) return RETURN_DOM ? null : RETURN_TRUSTED_TYPE ? emptyHTML : "";
7766
7843
  }
@@ -7769,14 +7846,14 @@ function createDOMPurify() {
7769
7846
  while (currentNode = nodeIterator.nextNode()) {
7770
7847
  _sanitizeElements(currentNode);
7771
7848
  _sanitizeAttributes(currentNode);
7772
- if (currentNode.content instanceof DocumentFragment) _sanitizeShadowDOM2(currentNode.content);
7849
+ if (_isDocumentFragment(currentNode.content)) _sanitizeShadowDOM2(currentNode.content);
7773
7850
  }
7774
7851
  if (IN_PLACE) {
7775
- if (SAFE_FOR_TEMPLATES) _scrubTemplateExpressions(dirty);
7852
+ if (SAFE_FOR_TEMPLATES) _scrubTemplateExpressions2(dirty);
7776
7853
  return dirty;
7777
7854
  }
7778
7855
  if (RETURN_DOM) {
7779
- if (SAFE_FOR_TEMPLATES) _scrubTemplateExpressions(body);
7856
+ if (SAFE_FOR_TEMPLATES) _scrubTemplateExpressions2(body);
7780
7857
  if (RETURN_DOM_FRAGMENT) {
7781
7858
  returnNode = createDocumentFragment.call(body.ownerDocument);
7782
7859
  while (body.firstChild) returnNode.appendChild(body.firstChild);
@@ -7793,7 +7870,7 @@ function createDOMPurify() {
7793
7870
  ], (expr) => {
7794
7871
  serializedHTML = stringReplace(serializedHTML, expr, " ");
7795
7872
  });
7796
- return trustedTypesPolicy && RETURN_TRUSTED_TYPE ? trustedTypesPolicy.createHTML(serializedHTML) : serializedHTML;
7873
+ return trustedTypesPolicy && RETURN_TRUSTED_TYPE ? _createTrustedHTML(serializedHTML) : serializedHTML;
7797
7874
  };
7798
7875
  DOMPurify.setConfig = function() {
7799
7876
  _parseConfig(arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {});
@@ -7870,7 +7947,7 @@ var _hoisted_26$1 = { key: 0 };
7870
7947
  var _hoisted_27$1 = ["innerHTML"];
7871
7948
  var _hoisted_28$1 = { key: 1 };
7872
7949
  var _hoisted_29$1 = ["innerHTML"];
7873
- var UXModelInstrumentAgentCommon_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ (0, vue.defineComponent)({
7950
+ var UXModelInstrumentAgentCommon_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ (0, vue.defineComponent)({
7874
7951
  __name: "UXModelInstrumentAgentCommon",
7875
7952
  props: {
7876
7953
  modelId: {},
@@ -8157,7 +8234,7 @@ var _plugin_vue_export_helper_default = (sfc, props) => {
8157
8234
  };
8158
8235
  //#endregion
8159
8236
  //#region src/components/UXModelInstrumentAgentCommon.vue
8160
- var UXModelInstrumentAgentCommon_default = /* @__PURE__ */ _plugin_vue_export_helper_default(UXModelInstrumentAgentCommon_vue_vue_type_script_setup_true_lang_default, [["__scopeId", "data-v-6a76d4ff"]]);
8237
+ var UXModelInstrumentAgentCommon_default = /*#__PURE__*/ _plugin_vue_export_helper_default(UXModelInstrumentAgentCommon_vue_vue_type_script_setup_true_lang_default, [["__scopeId", "data-v-6a76d4ff"]]);
8161
8238
  //#endregion
8162
8239
  //#region node_modules/chalk/source/vendor/ansi-styles/index.js
8163
8240
  var ANSI_BACKGROUND_OFFSET$1 = 10;
@@ -8552,7 +8629,7 @@ var _hoisted_42 = { key: 1 };
8552
8629
  var _hoisted_43 = ["innerHTML"];
8553
8630
  //#endregion
8554
8631
  //#region src/components/UXModelInstrumentServiceCommon.vue
8555
- var UXModelInstrumentServiceCommon_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/* @__PURE__ */ (0, vue.defineComponent)({
8632
+ var UXModelInstrumentServiceCommon_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE__ */ (0, vue.defineComponent)({
8556
8633
  __name: "UXModelInstrumentServiceCommon",
8557
8634
  props: {
8558
8635
  modelId: {},
@@ -9038,7 +9115,7 @@ var _hoisted_15 = {
9038
9115
  };
9039
9116
  //#endregion
9040
9117
  //#region src/components/UXModelInstrumentServiceSmall.vue
9041
- var UXModelInstrumentServiceSmall_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/* @__PURE__ */ (0, vue.defineComponent)({
9118
+ var UXModelInstrumentServiceSmall_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE__ */ (0, vue.defineComponent)({
9042
9119
  __name: "UXModelInstrumentServiceSmall",
9043
9120
  props: {
9044
9121
  modelId: {},
@@ -9966,14 +10043,24 @@ function merge(...objs) {
9966
10043
  const result = {};
9967
10044
  const assignValue = (val, key) => {
9968
10045
  if (key === "__proto__" || key === "constructor" || key === "prototype") return;
9969
- const targetKey = caseless && findKey(result, key) || key;
10046
+ const targetKey = caseless && typeof key === "string" && findKey(result, key) || key;
9970
10047
  const existing = hasOwnProperty(result, targetKey) ? result[targetKey] : void 0;
9971
10048
  if (isPlainObject(existing) && isPlainObject(val)) result[targetKey] = merge(existing, val);
9972
10049
  else if (isPlainObject(val)) result[targetKey] = merge({}, val);
9973
10050
  else if (isArray(val)) result[targetKey] = val.slice();
9974
10051
  else if (!skipUndefined || !isUndefined(val)) result[targetKey] = val;
9975
10052
  };
9976
- for (let i = 0, l = objs.length; i < l; i++) objs[i] && forEach(objs[i], assignValue);
10053
+ for (let i = 0, l = objs.length; i < l; i++) {
10054
+ const source = objs[i];
10055
+ if (!source || isBuffer(source)) continue;
10056
+ forEach(source, assignValue);
10057
+ if (typeof source !== "object" || isArray(source)) continue;
10058
+ const symbols = Object.getOwnPropertySymbols(source);
10059
+ for (let j = 0; j < symbols.length; j++) {
10060
+ const symbol = symbols[j];
10061
+ if (propertyIsEnumerable.call(source, symbol)) assignValue(source[symbol], symbol);
10062
+ }
10063
+ }
9977
10064
  return result;
9978
10065
  }
9979
10066
  /**
@@ -10153,6 +10240,7 @@ var toCamelCase = (str) => {
10153
10240
  });
10154
10241
  };
10155
10242
  var hasOwnProperty = (({ hasOwnProperty }) => (obj, prop) => hasOwnProperty.call(obj, prop))(Object.prototype);
10243
+ var { propertyIsEnumerable } = Object.prototype;
10156
10244
  /**
10157
10245
  * Determine if a value is a RegExp object
10158
10246
  *
@@ -10492,7 +10580,7 @@ var AxiosHeaders = class {
10492
10580
  const self = this;
10493
10581
  function setHeader(_value, _header, _rewrite) {
10494
10582
  const lHeader = normalizeHeader(_header);
10495
- if (!lHeader) throw new Error("header name must be a non-empty string");
10583
+ if (!lHeader) return;
10496
10584
  const key = utils_default.findKey(self, lHeader);
10497
10585
  if (!key || self[key] === void 0 || _rewrite === true || _rewrite === void 0 && self[key] !== false) self[key || _header] = normalizeValue(_value);
10498
10586
  }
@@ -10502,7 +10590,7 @@ var AxiosHeaders = class {
10502
10590
  else if (utils_default.isObject(header) && utils_default.isIterable(header)) {
10503
10591
  let obj = {}, dest, key;
10504
10592
  for (const entry of header) {
10505
- if (!utils_default.isArray(entry)) throw TypeError("Object iterator must return a key-value pair");
10593
+ if (!utils_default.isArray(entry)) throw new TypeError("Object iterator must return a key-value pair");
10506
10594
  obj[key = entry[0]] = (dest = obj[key]) ? utils_default.isArray(dest) ? [...dest, entry[1]] : [dest, entry[1]] : entry[1];
10507
10595
  }
10508
10596
  setHeaders(obj, valueOrRewrite);
@@ -10896,7 +10984,7 @@ function toFormData(obj, formData, options) {
10896
10984
  function build(value, path, depth = 0) {
10897
10985
  if (utils_default.isUndefined(value)) return;
10898
10986
  if (depth > maxDepth) throw new AxiosError("Object is too deeply nested (" + depth + " levels). Max depth: " + maxDepth, AxiosError.ERR_FORM_DATA_DEPTH_EXCEEDED);
10899
- if (stack.indexOf(value) !== -1) throw Error("Circular reference detected in " + path.join("."));
10987
+ if (stack.indexOf(value) !== -1) throw new Error("Circular reference detected in " + path.join("."));
10900
10988
  stack.push(value);
10901
10989
  utils_default.forEach(value, function each(el, key) {
10902
10990
  if ((!(utils_default.isUndefined(el) || el === null) && visitor.call(formData, el, utils_default.isString(key) ? key.trim() : key, path, exposedHelpers)) === true) build(el, path ? path.concat(key) : [key], depth + 1);
@@ -11055,7 +11143,8 @@ var transitional_default = {
11055
11143
  silentJSONParsing: true,
11056
11144
  forcedJSONParsing: true,
11057
11145
  clarifyTimeoutError: false,
11058
- legacyInterceptorReqResOrdering: true
11146
+ legacyInterceptorReqResOrdering: true,
11147
+ advertiseZstdAcceptEncoding: false
11059
11148
  };
11060
11149
  //#endregion
11061
11150
  //#region node_modules/axios/lib/platform/browser/index.js
@@ -11117,7 +11206,9 @@ var hasStandardBrowserEnv = hasBrowserEnv && (!_navigator || [
11117
11206
  * `typeof window !== 'undefined' && typeof document !== 'undefined'`.
11118
11207
  * This leads to a problem when axios post `FormData` in webWorker
11119
11208
  */
11120
- var hasStandardBrowserWebWorkerEnv = typeof WorkerGlobalScope !== "undefined" && self instanceof WorkerGlobalScope && typeof self.importScripts === "function";
11209
+ var hasStandardBrowserWebWorkerEnv = (() => {
11210
+ return typeof WorkerGlobalScope !== "undefined" && self instanceof WorkerGlobalScope && typeof self.importScripts === "function";
11211
+ })();
11121
11212
  var origin = hasBrowserEnv && window.location.href || "http://localhost";
11122
11213
  //#endregion
11123
11214
  //#region node_modules/axios/lib/platform/index.js
@@ -11673,8 +11764,8 @@ function setFormDataHeaders(headers, formHeaders, policy) {
11673
11764
  *
11674
11765
  * @returns {string} UTF-8 bytes as a Latin-1 string
11675
11766
  */
11676
- var encodeUTF8 = (str) => encodeURIComponent(str).replace(/%([0-9A-F]{2})/gi, (_, hex) => String.fromCharCode(parseInt(hex, 16)));
11677
- var resolveConfig_default = (config) => {
11767
+ var encodeUTF8$1 = (str) => encodeURIComponent(str).replace(/%([0-9A-F]{2})/gi, (_, hex) => String.fromCharCode(parseInt(hex, 16)));
11768
+ function resolveConfig(config) {
11678
11769
  const newConfig = mergeConfig({}, config);
11679
11770
  const own = (key) => utils_default.hasOwnProp(newConfig, key) ? newConfig[key] : void 0;
11680
11771
  const data = own("data");
@@ -11687,10 +11778,10 @@ var resolveConfig_default = (config) => {
11687
11778
  const allowAbsoluteUrls = own("allowAbsoluteUrls");
11688
11779
  const url = own("url");
11689
11780
  newConfig.headers = headers = AxiosHeaders.from(headers);
11690
- newConfig.url = buildURL(buildFullPath(baseURL, url, allowAbsoluteUrls), config.params, config.paramsSerializer);
11691
- if (auth) headers.set("Authorization", "Basic " + btoa((auth.username || "") + ":" + (auth.password ? encodeUTF8(auth.password) : "")));
11781
+ newConfig.url = buildURL(buildFullPath(baseURL, url, allowAbsoluteUrls), own("params"), own("paramsSerializer"));
11782
+ if (auth) headers.set("Authorization", "Basic " + btoa((auth.username || "") + ":" + (auth.password ? encodeUTF8$1(auth.password) : "")));
11692
11783
  if (utils_default.isFormData(data)) {
11693
- if (platform_default.hasStandardBrowserEnv || platform_default.hasStandardBrowserWebWorkerEnv) headers.setContentType(void 0);
11784
+ if (platform_default.hasStandardBrowserEnv || platform_default.hasStandardBrowserWebWorkerEnv || utils_default.isReactNative(data)) headers.setContentType(void 0);
11694
11785
  else if (utils_default.isFunction(data.getHeaders)) setFormDataHeaders(headers, data.getHeaders(), own("formDataHeaderPolicy"));
11695
11786
  }
11696
11787
  if (platform_default.hasStandardBrowserEnv) {
@@ -11701,10 +11792,10 @@ var resolveConfig_default = (config) => {
11701
11792
  }
11702
11793
  }
11703
11794
  return newConfig;
11704
- };
11795
+ }
11705
11796
  var xhr_default = typeof XMLHttpRequest !== "undefined" && function(config) {
11706
11797
  return new Promise(function dispatchXhrRequest(resolve, reject) {
11707
- const _config = resolveConfig_default(config);
11798
+ const _config = resolveConfig(config);
11708
11799
  let requestData = _config.data;
11709
11800
  const requestHeaders = AxiosHeaders.from(_config.headers).normalize();
11710
11801
  let { responseType, onUploadProgress, onDownloadProgress } = _config;
@@ -11967,11 +12058,28 @@ function estimateDataURLDecodedBytes(url) {
11967
12058
  }
11968
12059
  //#endregion
11969
12060
  //#region node_modules/axios/lib/env/data.js
11970
- var VERSION = "1.16.1";
12061
+ var VERSION = "1.17.0";
11971
12062
  //#endregion
11972
12063
  //#region node_modules/axios/lib/adapters/fetch.js
11973
12064
  var DEFAULT_CHUNK_SIZE = 64 * 1024;
11974
12065
  var { isFunction } = utils_default;
12066
+ /**
12067
+ * Encode a UTF-8 string to a Latin-1 byte string for use with btoa().
12068
+ * This is a modern replacement for the deprecated unescape(encodeURIComponent(str)) pattern.
12069
+ *
12070
+ * @param {string} str The string to encode
12071
+ *
12072
+ * @returns {string} UTF-8 bytes as a Latin-1 string
12073
+ */
12074
+ var encodeUTF8 = (str) => encodeURIComponent(str).replace(/%([0-9A-F]{2})/gi, (_, hex) => String.fromCharCode(parseInt(hex, 16)));
12075
+ var decodeURIComponentSafe = (value) => {
12076
+ if (!utils_default.isString(value)) return value;
12077
+ try {
12078
+ return decodeURIComponent(value);
12079
+ } catch (error) {
12080
+ return value;
12081
+ }
12082
+ };
11975
12083
  var test = (fn, ...args) => {
11976
12084
  try {
11977
12085
  return !!fn(...args);
@@ -11979,6 +12087,12 @@ var test = (fn, ...args) => {
11979
12087
  return false;
11980
12088
  }
11981
12089
  };
12090
+ var maybeWithAuthCredentials = (url) => {
12091
+ const protocolIndex = url.indexOf("://");
12092
+ let urlToCheck = url;
12093
+ if (protocolIndex !== -1) urlToCheck = urlToCheck.slice(protocolIndex + 3);
12094
+ return urlToCheck.includes("@") || urlToCheck.includes(":");
12095
+ };
11982
12096
  var factory = (env) => {
11983
12097
  const globalObject = utils_default.global !== void 0 && utils_default.global !== null ? utils_default.global : globalThis;
11984
12098
  const { ReadableStream, TextEncoder } = globalObject;
@@ -12009,19 +12123,21 @@ var factory = (env) => {
12009
12123
  });
12010
12124
  const supportsResponseStream = isResponseSupported && isReadableStreamSupported && test(() => utils_default.isReadableStream(new Response("").body));
12011
12125
  const resolvers = { stream: supportsResponseStream && ((res) => res.body) };
12012
- isFetchSupported && [
12013
- "text",
12014
- "arrayBuffer",
12015
- "blob",
12016
- "formData",
12017
- "stream"
12018
- ].forEach((type) => {
12019
- !resolvers[type] && (resolvers[type] = (res, config) => {
12020
- let method = res && res[type];
12021
- if (method) return method.call(res);
12022
- throw new AxiosError(`Response type '${type}' is not supported`, AxiosError.ERR_NOT_SUPPORT, config);
12126
+ isFetchSupported && (() => {
12127
+ [
12128
+ "text",
12129
+ "arrayBuffer",
12130
+ "blob",
12131
+ "formData",
12132
+ "stream"
12133
+ ].forEach((type) => {
12134
+ !resolvers[type] && (resolvers[type] = (res, config) => {
12135
+ let method = res && res[type];
12136
+ if (method) return method.call(res);
12137
+ throw new AxiosError(`Response type '${type}' is not supported`, AxiosError.ERR_NOT_SUPPORT, config);
12138
+ });
12023
12139
  });
12024
- });
12140
+ })();
12025
12141
  const getBodyLength = async (body) => {
12026
12142
  if (body == null) return 0;
12027
12143
  if (utils_default.isBlob(body)) return body.size;
@@ -12038,9 +12154,10 @@ var factory = (env) => {
12038
12154
  return length == null ? getBodyLength(body) : length;
12039
12155
  };
12040
12156
  return async (config) => {
12041
- let { url, method, data, signal, cancelToken, timeout, onDownloadProgress, onUploadProgress, responseType, headers, withCredentials = "same-origin", fetchOptions, maxContentLength, maxBodyLength } = resolveConfig_default(config);
12157
+ let { url, method, data, signal, cancelToken, timeout, onDownloadProgress, onUploadProgress, responseType, headers, withCredentials = "same-origin", fetchOptions, maxContentLength, maxBodyLength } = resolveConfig(config);
12042
12158
  const hasMaxContentLength = utils_default.isNumber(maxContentLength) && maxContentLength > -1;
12043
12159
  const hasMaxBodyLength = utils_default.isNumber(maxBodyLength) && maxBodyLength > -1;
12160
+ const own = (key) => utils_default.hasOwnProp(config, key) ? config[key] : void 0;
12044
12161
  let _fetch = envFetch || fetch;
12045
12162
  responseType = responseType ? (responseType + "").toLowerCase() : "text";
12046
12163
  let composedSignal = composeSignals([signal, cancelToken && cancelToken.toAbortSignal()], timeout);
@@ -12050,6 +12167,28 @@ var factory = (env) => {
12050
12167
  });
12051
12168
  let requestContentLength;
12052
12169
  try {
12170
+ let auth = void 0;
12171
+ const configAuth = own("auth");
12172
+ if (configAuth) auth = {
12173
+ username: configAuth.username || "",
12174
+ password: configAuth.password || ""
12175
+ };
12176
+ if (maybeWithAuthCredentials(url)) {
12177
+ const parsedURL = new URL(url, platform_default.origin);
12178
+ if (!auth && (parsedURL.username || parsedURL.password)) auth = {
12179
+ username: decodeURIComponentSafe(parsedURL.username),
12180
+ password: decodeURIComponentSafe(parsedURL.password)
12181
+ };
12182
+ if (parsedURL.username || parsedURL.password) {
12183
+ parsedURL.username = "";
12184
+ parsedURL.password = "";
12185
+ url = parsedURL.href;
12186
+ }
12187
+ }
12188
+ if (auth) {
12189
+ headers.delete("authorization");
12190
+ headers.set("Authorization", "Basic " + btoa(encodeUTF8((auth.username || "") + ":" + (auth.password || ""))));
12191
+ }
12053
12192
  if (hasMaxContentLength && typeof url === "string" && url.startsWith("data:")) {
12054
12193
  if (estimateDataURLDecodedBytes(url) > maxContentLength) throw new AxiosError("maxContentLength size of " + maxContentLength + " exceeded", AxiosError.ERR_BAD_RESPONSE, config, request);
12055
12194
  }
@@ -12454,7 +12593,8 @@ var Axios = class {
12454
12593
  silentJSONParsing: validators.transitional(validators.boolean),
12455
12594
  forcedJSONParsing: validators.transitional(validators.boolean),
12456
12595
  clarifyTimeoutError: validators.transitional(validators.boolean),
12457
- legacyInterceptorReqResOrdering: validators.transitional(validators.boolean)
12596
+ legacyInterceptorReqResOrdering: validators.transitional(validators.boolean),
12597
+ advertiseZstdAcceptEncoding: validators.transitional(validators.boolean)
12458
12598
  }, false);
12459
12599
  if (paramsSerializer != null) if (utils_default.isFunction(paramsSerializer)) config.paramsSerializer = { serialize: paramsSerializer };
12460
12600
  else validator_default.assertOptions(paramsSerializer, {
@@ -12998,7 +13138,7 @@ var SocketIoClient = class extends import_tiny_emitter$1.TinyEmitter {
12998
13138
  } else {
12999
13139
  const errorMessage = "SocketIoClient:on(\"connect\"): Could not get socket object from socket.io, Address: [${socketDetail.address}]";
13000
13140
  this.LogErrorMessage(errorMessage);
13001
- this.SocketConnectError(new Error(errorMessage));
13141
+ this.SocketConnectError(/* @__PURE__ */ new Error(errorMessage));
13002
13142
  }
13003
13143
  });
13004
13144
  this.#socket.on("disconnect", (reason) => {