@qtalo/qt-ui-library 0.1.11 → 0.1.12

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/index.js CHANGED
@@ -326,20 +326,20 @@ var html$1 = freeze(/* @__PURE__ */ "a.abbr.acronym.address.area.article.aside.a
326
326
  function createDOMPurify() {
327
327
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : getGlobal(), t = (e) => createDOMPurify(e);
328
328
  if (t.version = "3.3.1", t.removed = [], !e || !e.document || e.document.nodeType !== NODE_TYPE.document || !e.Element) return t.isSupported = !1, t;
329
- let { document: n } = e, r = n, i = r.currentScript, { DocumentFragment: a, HTMLTemplateElement: o, Node: s, Element: c, NodeFilter: l, NamedNodeMap: u = e.NamedNodeMap || e.MozNamedAttrMap, HTMLFormElement: f, DOMParser: p, trustedTypes: eo } = e, h = c.prototype, g = lookupGetter(h, "cloneNode"), to = lookupGetter(h, "remove"), no = lookupGetter(h, "nextSibling"), O = lookupGetter(h, "childNodes"), ro = lookupGetter(h, "parentNode");
329
+ let { document: n } = e, r = n, i = r.currentScript, { DocumentFragment: a, HTMLTemplateElement: o, Node: s, Element: c, NodeFilter: l, NamedNodeMap: u = e.NamedNodeMap || e.MozNamedAttrMap, HTMLFormElement: f, DOMParser: p, trustedTypes: to } = e, h = c.prototype, g = lookupGetter(h, "cloneNode"), no = lookupGetter(h, "remove"), ro = lookupGetter(h, "nextSibling"), O = lookupGetter(h, "childNodes"), io = lookupGetter(h, "parentNode");
330
330
  if (typeof o == "function") {
331
331
  let e = n.createElement("template");
332
332
  e.content && e.content.ownerDocument && (n = e.content.ownerDocument);
333
333
  }
334
- let A, io = "", { implementation: ao, createNodeIterator: oo, createDocumentFragment: so, getElementsByTagName: co } = n, { importNode: lo } = r, R = _createHooksMap();
335
- t.isSupported = typeof entries == "function" && typeof ro == "function" && ao && ao.createHTMLDocument !== void 0;
336
- let { MUSTACHE_EXPR: uo, ERB_EXPR: fo, TMPLIT_EXPR: po, DATA_ATTR: mo, ARIA_ATTR: ho, IS_SCRIPT_OR_DATA: go, ATTR_WHITESPACE: _o, CUSTOM_ELEMENT: vo } = EXPRESSIONS, { IS_ALLOWED_URI: yo } = EXPRESSIONS, B = null, bo = addToSet({}, [
334
+ let A, ao = "", { implementation: oo, createNodeIterator: so, createDocumentFragment: co, getElementsByTagName: lo } = n, { importNode: uo } = r, R = _createHooksMap();
335
+ t.isSupported = typeof entries == "function" && typeof io == "function" && oo && oo.createHTMLDocument !== void 0;
336
+ let { MUSTACHE_EXPR: fo, ERB_EXPR: po, TMPLIT_EXPR: mo, DATA_ATTR: ho, ARIA_ATTR: go, IS_SCRIPT_OR_DATA: _o, ATTR_WHITESPACE: vo, CUSTOM_ELEMENT: yo } = EXPRESSIONS, { IS_ALLOWED_URI: bo } = EXPRESSIONS, B = null, xo = addToSet({}, [
337
337
  ...html$1,
338
338
  ...svg$1,
339
339
  ...svgFilters,
340
340
  ...mathMl$1,
341
341
  ...text
342
- ]), V = null, xo = addToSet({}, [
342
+ ]), V = null, So = addToSet({}, [
343
343
  ...html,
344
344
  ...svg,
345
345
  ...mathMl,
@@ -363,7 +363,7 @@ function createDOMPurify() {
363
363
  enumerable: !0,
364
364
  value: !1
365
365
  }
366
- })), So = null, Co = null, wo = Object.seal(create(null, {
366
+ })), Co = null, wo = null, To = Object.seal(create(null, {
367
367
  tagCheck: {
368
368
  writable: !0,
369
369
  configurable: !1,
@@ -376,7 +376,7 @@ function createDOMPurify() {
376
376
  enumerable: !0,
377
377
  value: null
378
378
  }
379
- })), To = !0, Eo = !0, Do = !1, Oo = !0, ko = !1, Ao = !0, jo = !1, Mo = !1, No = !1, Po = !1, Fo = !1, Io = !1, Lo = !0, Ro = !1, zo = !0, Bo = !1, Vo = {}, Ho = null, Uo = addToSet({}, [
379
+ })), Eo = !0, Do = !0, Oo = !1, ko = !0, Ao = !1, jo = !0, Mo = !1, No = !1, Po = !1, Fo = !1, Io = !1, Lo = !1, Ro = !0, zo = !1, Bo = !0, Vo = !1, Ho = {}, Uo = null, Wo = addToSet({}, [
380
380
  "annotation-xml",
381
381
  "audio",
382
382
  "colgroup",
@@ -402,14 +402,14 @@ function createDOMPurify() {
402
402
  "title",
403
403
  "video",
404
404
  "xmp"
405
- ]), Wo = null, Go = addToSet({}, [
405
+ ]), Go = null, Ko = addToSet({}, [
406
406
  "audio",
407
407
  "video",
408
408
  "img",
409
409
  "source",
410
410
  "image",
411
411
  "track"
412
- ]), Ko = null, qo = addToSet({}, [
412
+ ]), qo = null, Jo = addToSet({}, [
413
413
  "alt",
414
414
  "class",
415
415
  "for",
@@ -424,58 +424,58 @@ function createDOMPurify() {
424
424
  "value",
425
425
  "style",
426
426
  "xmlns"
427
- ]), Jo = "http://www.w3.org/1998/Math/MathML", Yo = "http://www.w3.org/2000/svg", Xo = "http://www.w3.org/1999/xhtml", Zo = Xo, Qo = !1, $o = null, es = addToSet({}, [
428
- Jo,
427
+ ]), Yo = "http://www.w3.org/1998/Math/MathML", Xo = "http://www.w3.org/2000/svg", Zo = "http://www.w3.org/1999/xhtml", Qo = Zo, $o = !1, es = null, ts = addToSet({}, [
429
428
  Yo,
430
- Xo
431
- ], stringToString), ts = addToSet({}, [
429
+ Xo,
430
+ Zo
431
+ ], stringToString), ns = addToSet({}, [
432
432
  "mi",
433
433
  "mo",
434
434
  "mn",
435
435
  "ms",
436
436
  "mtext"
437
- ]), ns = addToSet({}, ["annotation-xml"]), rs = addToSet({}, [
437
+ ]), rs = addToSet({}, ["annotation-xml"]), is = addToSet({}, [
438
438
  "title",
439
439
  "style",
440
440
  "font",
441
441
  "a",
442
442
  "script"
443
- ]), is = null, as = ["application/xhtml+xml", "text/html"], Y = null, os = null, ss = n.createElement("form"), cs = function(e) {
443
+ ]), as = null, os = ["application/xhtml+xml", "text/html"], Y = null, ss = null, cs = n.createElement("form"), ls = function(e) {
444
444
  return e instanceof RegExp || e instanceof Function;
445
- }, ls = function() {
445
+ }, us = function() {
446
446
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
447
- if (!(os && os === e)) {
448
- if ((!e || typeof e != "object") && (e = {}), e = clone(e), is = as.indexOf(e.PARSER_MEDIA_TYPE) === -1 ? "text/html" : e.PARSER_MEDIA_TYPE, Y = is === "application/xhtml+xml" ? stringToString : stringToLowerCase, B = objectHasOwnProperty(e, "ALLOWED_TAGS") ? addToSet({}, e.ALLOWED_TAGS, Y) : bo, V = objectHasOwnProperty(e, "ALLOWED_ATTR") ? addToSet({}, e.ALLOWED_ATTR, Y) : xo, $o = objectHasOwnProperty(e, "ALLOWED_NAMESPACES") ? addToSet({}, e.ALLOWED_NAMESPACES, stringToString) : es, Ko = objectHasOwnProperty(e, "ADD_URI_SAFE_ATTR") ? addToSet(clone(qo), e.ADD_URI_SAFE_ATTR, Y) : qo, Wo = objectHasOwnProperty(e, "ADD_DATA_URI_TAGS") ? addToSet(clone(Go), e.ADD_DATA_URI_TAGS, Y) : Go, Ho = objectHasOwnProperty(e, "FORBID_CONTENTS") ? addToSet({}, e.FORBID_CONTENTS, Y) : Uo, So = objectHasOwnProperty(e, "FORBID_TAGS") ? addToSet({}, e.FORBID_TAGS, Y) : clone({}), Co = objectHasOwnProperty(e, "FORBID_ATTR") ? addToSet({}, e.FORBID_ATTR, Y) : clone({}), Vo = objectHasOwnProperty(e, "USE_PROFILES") ? e.USE_PROFILES : !1, To = e.ALLOW_ARIA_ATTR !== !1, Eo = e.ALLOW_DATA_ATTR !== !1, Do = e.ALLOW_UNKNOWN_PROTOCOLS || !1, Oo = e.ALLOW_SELF_CLOSE_IN_ATTR !== !1, ko = e.SAFE_FOR_TEMPLATES || !1, Ao = e.SAFE_FOR_XML !== !1, jo = e.WHOLE_DOCUMENT || !1, Po = e.RETURN_DOM || !1, Fo = e.RETURN_DOM_FRAGMENT || !1, Io = e.RETURN_TRUSTED_TYPE || !1, No = e.FORCE_BODY || !1, Lo = e.SANITIZE_DOM !== !1, Ro = e.SANITIZE_NAMED_PROPS || !1, zo = e.KEEP_CONTENT !== !1, Bo = e.IN_PLACE || !1, yo = e.ALLOWED_URI_REGEXP || IS_ALLOWED_URI, Zo = e.NAMESPACE || Xo, ts = e.MATHML_TEXT_INTEGRATION_POINTS || ts, ns = e.HTML_INTEGRATION_POINTS || ns, H = e.CUSTOM_ELEMENT_HANDLING || {}, e.CUSTOM_ELEMENT_HANDLING && cs(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (H.tagNameCheck = e.CUSTOM_ELEMENT_HANDLING.tagNameCheck), e.CUSTOM_ELEMENT_HANDLING && cs(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (H.attributeNameCheck = e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), e.CUSTOM_ELEMENT_HANDLING && typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (H.allowCustomizedBuiltInElements = e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), ko && (Eo = !1), Fo && (Po = !0), Vo && (B = addToSet({}, text), V = [], Vo.html === !0 && (addToSet(B, html$1), addToSet(V, html)), Vo.svg === !0 && (addToSet(B, svg$1), addToSet(V, svg), addToSet(V, xml)), Vo.svgFilters === !0 && (addToSet(B, svgFilters), addToSet(V, svg), addToSet(V, xml)), Vo.mathMl === !0 && (addToSet(B, mathMl$1), addToSet(V, mathMl), addToSet(V, xml))), e.ADD_TAGS && (typeof e.ADD_TAGS == "function" ? wo.tagCheck = e.ADD_TAGS : (B === bo && (B = clone(B)), addToSet(B, e.ADD_TAGS, Y))), e.ADD_ATTR && (typeof e.ADD_ATTR == "function" ? wo.attributeCheck = e.ADD_ATTR : (V === xo && (V = clone(V)), addToSet(V, e.ADD_ATTR, Y))), e.ADD_URI_SAFE_ATTR && addToSet(Ko, e.ADD_URI_SAFE_ATTR, Y), e.FORBID_CONTENTS && (Ho === Uo && (Ho = clone(Ho)), addToSet(Ho, e.FORBID_CONTENTS, Y)), e.ADD_FORBID_CONTENTS && (Ho === Uo && (Ho = clone(Ho)), addToSet(Ho, e.ADD_FORBID_CONTENTS, Y)), zo && (B["#text"] = !0), jo && addToSet(B, [
447
+ if (!(ss && ss === e)) {
448
+ if ((!e || typeof e != "object") && (e = {}), e = clone(e), as = os.indexOf(e.PARSER_MEDIA_TYPE) === -1 ? "text/html" : e.PARSER_MEDIA_TYPE, Y = as === "application/xhtml+xml" ? stringToString : stringToLowerCase, B = objectHasOwnProperty(e, "ALLOWED_TAGS") ? addToSet({}, e.ALLOWED_TAGS, Y) : xo, V = objectHasOwnProperty(e, "ALLOWED_ATTR") ? addToSet({}, e.ALLOWED_ATTR, Y) : So, es = objectHasOwnProperty(e, "ALLOWED_NAMESPACES") ? addToSet({}, e.ALLOWED_NAMESPACES, stringToString) : ts, qo = objectHasOwnProperty(e, "ADD_URI_SAFE_ATTR") ? addToSet(clone(Jo), e.ADD_URI_SAFE_ATTR, Y) : Jo, Go = objectHasOwnProperty(e, "ADD_DATA_URI_TAGS") ? addToSet(clone(Ko), e.ADD_DATA_URI_TAGS, Y) : Ko, Uo = objectHasOwnProperty(e, "FORBID_CONTENTS") ? addToSet({}, e.FORBID_CONTENTS, Y) : Wo, Co = objectHasOwnProperty(e, "FORBID_TAGS") ? addToSet({}, e.FORBID_TAGS, Y) : clone({}), wo = objectHasOwnProperty(e, "FORBID_ATTR") ? addToSet({}, e.FORBID_ATTR, Y) : clone({}), Ho = objectHasOwnProperty(e, "USE_PROFILES") ? e.USE_PROFILES : !1, Eo = e.ALLOW_ARIA_ATTR !== !1, Do = e.ALLOW_DATA_ATTR !== !1, Oo = e.ALLOW_UNKNOWN_PROTOCOLS || !1, ko = e.ALLOW_SELF_CLOSE_IN_ATTR !== !1, Ao = e.SAFE_FOR_TEMPLATES || !1, jo = e.SAFE_FOR_XML !== !1, Mo = e.WHOLE_DOCUMENT || !1, Fo = e.RETURN_DOM || !1, Io = e.RETURN_DOM_FRAGMENT || !1, Lo = e.RETURN_TRUSTED_TYPE || !1, Po = e.FORCE_BODY || !1, Ro = e.SANITIZE_DOM !== !1, zo = e.SANITIZE_NAMED_PROPS || !1, Bo = e.KEEP_CONTENT !== !1, Vo = e.IN_PLACE || !1, bo = e.ALLOWED_URI_REGEXP || IS_ALLOWED_URI, Qo = e.NAMESPACE || Zo, ns = e.MATHML_TEXT_INTEGRATION_POINTS || ns, rs = e.HTML_INTEGRATION_POINTS || rs, H = e.CUSTOM_ELEMENT_HANDLING || {}, e.CUSTOM_ELEMENT_HANDLING && ls(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (H.tagNameCheck = e.CUSTOM_ELEMENT_HANDLING.tagNameCheck), e.CUSTOM_ELEMENT_HANDLING && ls(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (H.attributeNameCheck = e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), e.CUSTOM_ELEMENT_HANDLING && typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (H.allowCustomizedBuiltInElements = e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), Ao && (Do = !1), Io && (Fo = !0), Ho && (B = addToSet({}, text), V = [], Ho.html === !0 && (addToSet(B, html$1), addToSet(V, html)), Ho.svg === !0 && (addToSet(B, svg$1), addToSet(V, svg), addToSet(V, xml)), Ho.svgFilters === !0 && (addToSet(B, svgFilters), addToSet(V, svg), addToSet(V, xml)), Ho.mathMl === !0 && (addToSet(B, mathMl$1), addToSet(V, mathMl), addToSet(V, xml))), e.ADD_TAGS && (typeof e.ADD_TAGS == "function" ? To.tagCheck = e.ADD_TAGS : (B === xo && (B = clone(B)), addToSet(B, e.ADD_TAGS, Y))), e.ADD_ATTR && (typeof e.ADD_ATTR == "function" ? To.attributeCheck = e.ADD_ATTR : (V === So && (V = clone(V)), addToSet(V, e.ADD_ATTR, Y))), e.ADD_URI_SAFE_ATTR && addToSet(qo, e.ADD_URI_SAFE_ATTR, Y), e.FORBID_CONTENTS && (Uo === Wo && (Uo = clone(Uo)), addToSet(Uo, e.FORBID_CONTENTS, Y)), e.ADD_FORBID_CONTENTS && (Uo === Wo && (Uo = clone(Uo)), addToSet(Uo, e.ADD_FORBID_CONTENTS, Y)), Bo && (B["#text"] = !0), Mo && addToSet(B, [
449
449
  "html",
450
450
  "head",
451
451
  "body"
452
- ]), B.table && (addToSet(B, ["tbody"]), delete So.tbody), e.TRUSTED_TYPES_POLICY) {
452
+ ]), B.table && (addToSet(B, ["tbody"]), delete Co.tbody), e.TRUSTED_TYPES_POLICY) {
453
453
  if (typeof e.TRUSTED_TYPES_POLICY.createHTML != "function") throw typeErrorCreate("TRUSTED_TYPES_POLICY configuration option must provide a \"createHTML\" hook.");
454
454
  if (typeof e.TRUSTED_TYPES_POLICY.createScriptURL != "function") throw typeErrorCreate("TRUSTED_TYPES_POLICY configuration option must provide a \"createScriptURL\" hook.");
455
- A = e.TRUSTED_TYPES_POLICY, io = A.createHTML("");
456
- } else A === void 0 && (A = _createTrustedTypesPolicy(eo, i)), A !== null && typeof io == "string" && (io = A.createHTML(""));
457
- freeze && freeze(e), os = e;
455
+ A = e.TRUSTED_TYPES_POLICY, ao = A.createHTML("");
456
+ } else A === void 0 && (A = _createTrustedTypesPolicy(to, i)), A !== null && typeof ao == "string" && (ao = A.createHTML(""));
457
+ freeze && freeze(e), ss = e;
458
458
  }
459
- }, us = addToSet({}, [
459
+ }, ds = addToSet({}, [
460
460
  ...svg$1,
461
461
  ...svgFilters,
462
462
  ...svgDisallowed
463
- ]), ds = addToSet({}, [...mathMl$1, ...mathMlDisallowed]), fs = function(e) {
464
- let t = ro(e);
463
+ ]), fs = addToSet({}, [...mathMl$1, ...mathMlDisallowed]), ps = function(e) {
464
+ let t = io(e);
465
465
  (!t || !t.tagName) && (t = {
466
- namespaceURI: Zo,
466
+ namespaceURI: Qo,
467
467
  tagName: "template"
468
468
  });
469
469
  let n = stringToLowerCase(e.tagName), r = stringToLowerCase(t.tagName);
470
- return $o[e.namespaceURI] ? e.namespaceURI === Yo ? t.namespaceURI === Xo ? n === "svg" : t.namespaceURI === Jo ? n === "svg" && (r === "annotation-xml" || ts[r]) : !!us[n] : e.namespaceURI === Jo ? t.namespaceURI === Xo ? n === "math" : t.namespaceURI === Yo ? n === "math" && ns[r] : !!ds[n] : e.namespaceURI === Xo ? t.namespaceURI === Yo && !ns[r] || t.namespaceURI === Jo && !ts[r] ? !1 : !ds[n] && (rs[n] || !us[n]) : !!(is === "application/xhtml+xml" && $o[e.namespaceURI]) : !1;
471
- }, ps = function(e) {
470
+ return es[e.namespaceURI] ? e.namespaceURI === Xo ? t.namespaceURI === Zo ? n === "svg" : t.namespaceURI === Yo ? n === "svg" && (r === "annotation-xml" || ns[r]) : !!ds[n] : e.namespaceURI === Yo ? t.namespaceURI === Zo ? n === "math" : t.namespaceURI === Xo ? n === "math" && rs[r] : !!fs[n] : e.namespaceURI === Zo ? t.namespaceURI === Xo && !rs[r] || t.namespaceURI === Yo && !ns[r] ? !1 : !fs[n] && (is[n] || !ds[n]) : !!(as === "application/xhtml+xml" && es[e.namespaceURI]) : !1;
471
+ }, ms = function(e) {
472
472
  arrayPush(t.removed, { element: e });
473
473
  try {
474
- ro(e).removeChild(e);
474
+ io(e).removeChild(e);
475
475
  } catch {
476
- to(e);
476
+ no(e);
477
477
  }
478
- }, ms = function(e, n) {
478
+ }, hs = function(e, n) {
479
479
  try {
480
480
  arrayPush(t.removed, {
481
481
  attribute: n.getAttributeNode(e),
@@ -487,87 +487,87 @@ function createDOMPurify() {
487
487
  from: n
488
488
  });
489
489
  }
490
- if (n.removeAttribute(e), e === "is") if (Po || Fo) try {
491
- ps(n);
490
+ if (n.removeAttribute(e), e === "is") if (Fo || Io) try {
491
+ ms(n);
492
492
  } catch {}
493
493
  else try {
494
494
  n.setAttribute(e, "");
495
495
  } catch {}
496
- }, hs = function(e) {
496
+ }, gs = function(e) {
497
497
  let t = null, r = null;
498
- if (No) e = "<remove></remove>" + e;
498
+ if (Po) e = "<remove></remove>" + e;
499
499
  else {
500
500
  let t = stringMatch(e, /^[\r\n\t ]+/);
501
501
  r = t && t[0];
502
502
  }
503
- is === "application/xhtml+xml" && Zo === Xo && (e = "<html xmlns=\"http://www.w3.org/1999/xhtml\"><head></head><body>" + e + "</body></html>");
503
+ as === "application/xhtml+xml" && Qo === Zo && (e = "<html xmlns=\"http://www.w3.org/1999/xhtml\"><head></head><body>" + e + "</body></html>");
504
504
  let i = A ? A.createHTML(e) : e;
505
- if (Zo === Xo) try {
506
- t = new p().parseFromString(i, is);
505
+ if (Qo === Zo) try {
506
+ t = new p().parseFromString(i, as);
507
507
  } catch {}
508
508
  if (!t || !t.documentElement) {
509
- t = ao.createDocument(Zo, "template", null);
509
+ t = oo.createDocument(Qo, "template", null);
510
510
  try {
511
- t.documentElement.innerHTML = Qo ? io : i;
511
+ t.documentElement.innerHTML = $o ? ao : i;
512
512
  } catch {}
513
513
  }
514
514
  let a = t.body || t.documentElement;
515
- return e && r && a.insertBefore(n.createTextNode(r), a.childNodes[0] || null), Zo === Xo ? co.call(t, jo ? "html" : "body")[0] : jo ? t.documentElement : a;
516
- }, gs = function(e) {
517
- return oo.call(e.ownerDocument || e, e, l.SHOW_ELEMENT | l.SHOW_COMMENT | l.SHOW_TEXT | l.SHOW_PROCESSING_INSTRUCTION | l.SHOW_CDATA_SECTION, null);
515
+ return e && r && a.insertBefore(n.createTextNode(r), a.childNodes[0] || null), Qo === Zo ? lo.call(t, Mo ? "html" : "body")[0] : Mo ? t.documentElement : a;
518
516
  }, _s = function(e) {
519
- return e instanceof f && (typeof e.nodeName != "string" || typeof e.textContent != "string" || typeof e.removeChild != "function" || !(e.attributes instanceof u) || typeof e.removeAttribute != "function" || typeof e.setAttribute != "function" || typeof e.namespaceURI != "string" || typeof e.insertBefore != "function" || typeof e.hasChildNodes != "function");
517
+ return so.call(e.ownerDocument || e, e, l.SHOW_ELEMENT | l.SHOW_COMMENT | l.SHOW_TEXT | l.SHOW_PROCESSING_INSTRUCTION | l.SHOW_CDATA_SECTION, null);
520
518
  }, vs = function(e) {
519
+ return e instanceof f && (typeof e.nodeName != "string" || typeof e.textContent != "string" || typeof e.removeChild != "function" || !(e.attributes instanceof u) || typeof e.removeAttribute != "function" || typeof e.setAttribute != "function" || typeof e.namespaceURI != "string" || typeof e.insertBefore != "function" || typeof e.hasChildNodes != "function");
520
+ }, ys = function(e) {
521
521
  return typeof s == "function" && e instanceof s;
522
522
  };
523
- function ys(e, n, r) {
523
+ function bs(e, n, r) {
524
524
  arrayForEach(e, (e) => {
525
- e.call(t, n, r, os);
525
+ e.call(t, n, r, ss);
526
526
  });
527
527
  }
528
- let bs = function(e) {
528
+ let xs = function(e) {
529
529
  let n = null;
530
- if (ys(R.beforeSanitizeElements, e, null), _s(e)) return ps(e), !0;
530
+ if (bs(R.beforeSanitizeElements, e, null), vs(e)) return ms(e), !0;
531
531
  let r = Y(e.nodeName);
532
- if (ys(R.uponSanitizeElement, e, {
532
+ if (bs(R.uponSanitizeElement, e, {
533
533
  tagName: r,
534
534
  allowedTags: B
535
- }), Ao && e.hasChildNodes() && !vs(e.firstElementChild) && regExpTest(/<[/\w!]/g, e.innerHTML) && regExpTest(/<[/\w!]/g, e.textContent) || e.nodeType === NODE_TYPE.progressingInstruction || Ao && e.nodeType === NODE_TYPE.comment && regExpTest(/<[/\w]/g, e.data)) return ps(e), !0;
536
- if (!(wo.tagCheck instanceof Function && wo.tagCheck(r)) && (!B[r] || So[r])) {
537
- if (!So[r] && Ss(r) && (H.tagNameCheck instanceof RegExp && regExpTest(H.tagNameCheck, r) || H.tagNameCheck instanceof Function && H.tagNameCheck(r))) return !1;
538
- if (zo && !Ho[r]) {
539
- let t = ro(e) || e.parentNode, n = O(e) || e.childNodes;
535
+ }), jo && e.hasChildNodes() && !ys(e.firstElementChild) && regExpTest(/<[/\w!]/g, e.innerHTML) && regExpTest(/<[/\w!]/g, e.textContent) || e.nodeType === NODE_TYPE.progressingInstruction || jo && e.nodeType === NODE_TYPE.comment && regExpTest(/<[/\w]/g, e.data)) return ms(e), !0;
536
+ if (!(To.tagCheck instanceof Function && To.tagCheck(r)) && (!B[r] || Co[r])) {
537
+ if (!Co[r] && Cs(r) && (H.tagNameCheck instanceof RegExp && regExpTest(H.tagNameCheck, r) || H.tagNameCheck instanceof Function && H.tagNameCheck(r))) return !1;
538
+ if (Bo && !Uo[r]) {
539
+ let t = io(e) || e.parentNode, n = O(e) || e.childNodes;
540
540
  if (n && t) {
541
541
  let r = n.length;
542
542
  for (let i = r - 1; i >= 0; --i) {
543
543
  let r = g(n[i], !0);
544
- r.__removalCount = (e.__removalCount || 0) + 1, t.insertBefore(r, no(e));
544
+ r.__removalCount = (e.__removalCount || 0) + 1, t.insertBefore(r, ro(e));
545
545
  }
546
546
  }
547
547
  }
548
- return ps(e), !0;
548
+ return ms(e), !0;
549
549
  }
550
- return e instanceof c && !fs(e) || (r === "noscript" || r === "noembed" || r === "noframes") && regExpTest(/<\/no(script|embed|frames)/i, e.innerHTML) ? (ps(e), !0) : (ko && e.nodeType === NODE_TYPE.text && (n = e.textContent, arrayForEach([
551
- uo,
550
+ return e instanceof c && !ps(e) || (r === "noscript" || r === "noembed" || r === "noframes") && regExpTest(/<\/no(script|embed|frames)/i, e.innerHTML) ? (ms(e), !0) : (Ao && e.nodeType === NODE_TYPE.text && (n = e.textContent, arrayForEach([
552
551
  fo,
553
- po
552
+ po,
553
+ mo
554
554
  ], (e) => {
555
555
  n = stringReplace(n, e, " ");
556
- }), e.textContent !== n && (arrayPush(t.removed, { element: e.cloneNode() }), e.textContent = n)), ys(R.afterSanitizeElements, e, null), !1);
557
- }, xs = function(e, t, r) {
558
- if (Lo && (t === "id" || t === "name") && (r in n || r in ss)) return !1;
559
- if (!(Eo && !Co[t] && regExpTest(mo, t)) && !(To && regExpTest(ho, t)) && !(wo.attributeCheck instanceof Function && wo.attributeCheck(t, e))) {
560
- if (!V[t] || Co[t]) {
561
- if (!(Ss(e) && (H.tagNameCheck instanceof RegExp && regExpTest(H.tagNameCheck, e) || H.tagNameCheck instanceof Function && H.tagNameCheck(e)) && (H.attributeNameCheck instanceof RegExp && regExpTest(H.attributeNameCheck, t) || H.attributeNameCheck instanceof Function && H.attributeNameCheck(t, e)) || t === "is" && H.allowCustomizedBuiltInElements && (H.tagNameCheck instanceof RegExp && regExpTest(H.tagNameCheck, r) || H.tagNameCheck instanceof Function && H.tagNameCheck(r)))) return !1;
562
- } else if (!Ko[t] && !regExpTest(yo, stringReplace(r, _o, "")) && !((t === "src" || t === "xlink:href" || t === "href") && e !== "script" && stringIndexOf(r, "data:") === 0 && Wo[e]) && !(Do && !regExpTest(go, stringReplace(r, _o, ""))) && r) return !1;
556
+ }), e.textContent !== n && (arrayPush(t.removed, { element: e.cloneNode() }), e.textContent = n)), bs(R.afterSanitizeElements, e, null), !1);
557
+ }, Ss = function(e, t, r) {
558
+ if (Ro && (t === "id" || t === "name") && (r in n || r in cs)) return !1;
559
+ if (!(Do && !wo[t] && regExpTest(ho, t)) && !(Eo && regExpTest(go, t)) && !(To.attributeCheck instanceof Function && To.attributeCheck(t, e))) {
560
+ if (!V[t] || wo[t]) {
561
+ if (!(Cs(e) && (H.tagNameCheck instanceof RegExp && regExpTest(H.tagNameCheck, e) || H.tagNameCheck instanceof Function && H.tagNameCheck(e)) && (H.attributeNameCheck instanceof RegExp && regExpTest(H.attributeNameCheck, t) || H.attributeNameCheck instanceof Function && H.attributeNameCheck(t, e)) || t === "is" && H.allowCustomizedBuiltInElements && (H.tagNameCheck instanceof RegExp && regExpTest(H.tagNameCheck, r) || H.tagNameCheck instanceof Function && H.tagNameCheck(r)))) return !1;
562
+ } else if (!qo[t] && !regExpTest(bo, stringReplace(r, vo, "")) && !((t === "src" || t === "xlink:href" || t === "href") && e !== "script" && stringIndexOf(r, "data:") === 0 && Go[e]) && !(Oo && !regExpTest(_o, stringReplace(r, vo, ""))) && r) return !1;
563
563
  }
564
564
  return !0;
565
- }, Ss = function(e) {
566
- return e !== "annotation-xml" && stringMatch(e, vo);
567
565
  }, Cs = function(e) {
568
- ys(R.beforeSanitizeAttributes, e, null);
566
+ return e !== "annotation-xml" && stringMatch(e, yo);
567
+ }, ws = function(e) {
568
+ bs(R.beforeSanitizeAttributes, e, null);
569
569
  let { attributes: n } = e;
570
- if (!n || _s(e)) return;
570
+ if (!n || vs(e)) return;
571
571
  let r = {
572
572
  attrName: "",
573
573
  attrValue: "",
@@ -577,36 +577,36 @@ function createDOMPurify() {
577
577
  }, i = n.length;
578
578
  for (; i--;) {
579
579
  let { name: a, namespaceURI: o, value: s } = n[i], c = Y(a), l = s, u = a === "value" ? l : stringTrim(l);
580
- if (r.attrName = c, r.attrValue = u, r.keepAttr = !0, r.forceKeepAttr = void 0, ys(R.uponSanitizeAttribute, e, r), u = r.attrValue, Ro && (c === "id" || c === "name") && (ms(a, e), u = "user-content-" + u), Ao && regExpTest(/((--!?|])>)|<\/(style|title|textarea)/i, u)) {
581
- ms(a, e);
580
+ if (r.attrName = c, r.attrValue = u, r.keepAttr = !0, r.forceKeepAttr = void 0, bs(R.uponSanitizeAttribute, e, r), u = r.attrValue, zo && (c === "id" || c === "name") && (hs(a, e), u = "user-content-" + u), jo && regExpTest(/((--!?|])>)|<\/(style|title|textarea)/i, u)) {
581
+ hs(a, e);
582
582
  continue;
583
583
  }
584
584
  if (c === "attributename" && stringMatch(u, "href")) {
585
- ms(a, e);
585
+ hs(a, e);
586
586
  continue;
587
587
  }
588
588
  if (r.forceKeepAttr) continue;
589
589
  if (!r.keepAttr) {
590
- ms(a, e);
590
+ hs(a, e);
591
591
  continue;
592
592
  }
593
- if (!Oo && regExpTest(/\/>/i, u)) {
594
- ms(a, e);
593
+ if (!ko && regExpTest(/\/>/i, u)) {
594
+ hs(a, e);
595
595
  continue;
596
596
  }
597
- ko && arrayForEach([
598
- uo,
597
+ Ao && arrayForEach([
599
598
  fo,
600
- po
599
+ po,
600
+ mo
601
601
  ], (e) => {
602
602
  u = stringReplace(u, e, " ");
603
603
  });
604
604
  let f = Y(e.nodeName);
605
- if (!xs(f, c, u)) {
606
- ms(a, e);
605
+ if (!Ss(f, c, u)) {
606
+ hs(a, e);
607
607
  continue;
608
608
  }
609
- if (A && typeof eo == "object" && typeof eo.getAttributeType == "function" && !o) switch (eo.getAttributeType(f, c)) {
609
+ if (A && typeof to == "object" && typeof to.getAttributeType == "function" && !o) switch (to.getAttributeType(f, c)) {
610
610
  case "TrustedHTML":
611
611
  u = A.createHTML(u);
612
612
  break;
@@ -615,56 +615,56 @@ function createDOMPurify() {
615
615
  break;
616
616
  }
617
617
  if (u !== l) try {
618
- o ? e.setAttributeNS(o, a, u) : e.setAttribute(a, u), _s(e) ? ps(e) : arrayPop(t.removed);
618
+ o ? e.setAttributeNS(o, a, u) : e.setAttribute(a, u), vs(e) ? ms(e) : arrayPop(t.removed);
619
619
  } catch {
620
- ms(a, e);
620
+ hs(a, e);
621
621
  }
622
622
  }
623
- ys(R.afterSanitizeAttributes, e, null);
624
- }, ws = function e(t) {
625
- let n = null, r = gs(t);
626
- for (ys(R.beforeSanitizeShadowDOM, t, null); n = r.nextNode();) ys(R.uponSanitizeShadowNode, n, null), bs(n), Cs(n), n.content instanceof a && e(n.content);
627
- ys(R.afterSanitizeShadowDOM, t, null);
623
+ bs(R.afterSanitizeAttributes, e, null);
624
+ }, Ts = function e(t) {
625
+ let n = null, r = _s(t);
626
+ for (bs(R.beforeSanitizeShadowDOM, t, null); n = r.nextNode();) bs(R.uponSanitizeShadowNode, n, null), xs(n), ws(n), n.content instanceof a && e(n.content);
627
+ bs(R.afterSanitizeShadowDOM, t, null);
628
628
  };
629
629
  return t.sanitize = function(e) {
630
630
  let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, i = null, o = null, c = null, l = null;
631
- if (Qo = !e, Qo && (e = "<!-->"), typeof e != "string" && !vs(e)) if (typeof e.toString == "function") {
631
+ if ($o = !e, $o && (e = "<!-->"), typeof e != "string" && !ys(e)) if (typeof e.toString == "function") {
632
632
  if (e = e.toString(), typeof e != "string") throw typeErrorCreate("dirty is not a string, aborting");
633
633
  } else throw typeErrorCreate("toString is not a function");
634
634
  if (!t.isSupported) return e;
635
- if (Mo || ls(n), t.removed = [], typeof e == "string" && (Bo = !1), Bo) {
635
+ if (No || us(n), t.removed = [], typeof e == "string" && (Vo = !1), Vo) {
636
636
  if (e.nodeName) {
637
637
  let t = Y(e.nodeName);
638
- if (!B[t] || So[t]) throw typeErrorCreate("root node is forbidden and cannot be sanitized in-place");
638
+ if (!B[t] || Co[t]) throw typeErrorCreate("root node is forbidden and cannot be sanitized in-place");
639
639
  }
640
- } else if (e instanceof s) i = hs("<!---->"), o = i.ownerDocument.importNode(e, !0), o.nodeType === NODE_TYPE.element && o.nodeName === "BODY" || o.nodeName === "HTML" ? i = o : i.appendChild(o);
640
+ } else if (e instanceof s) i = gs("<!---->"), o = i.ownerDocument.importNode(e, !0), o.nodeType === NODE_TYPE.element && o.nodeName === "BODY" || o.nodeName === "HTML" ? i = o : i.appendChild(o);
641
641
  else {
642
- if (!Po && !ko && !jo && e.indexOf("<") === -1) return A && Io ? A.createHTML(e) : e;
643
- if (i = hs(e), !i) return Po ? null : Io ? io : "";
642
+ if (!Fo && !Ao && !Mo && e.indexOf("<") === -1) return A && Lo ? A.createHTML(e) : e;
643
+ if (i = gs(e), !i) return Fo ? null : Lo ? ao : "";
644
644
  }
645
- i && No && ps(i.firstChild);
646
- let u = gs(Bo ? e : i);
647
- for (; c = u.nextNode();) bs(c), Cs(c), c.content instanceof a && ws(c.content);
648
- if (Bo) return e;
649
- if (Po) {
650
- if (Fo) for (l = so.call(i.ownerDocument); i.firstChild;) l.appendChild(i.firstChild);
645
+ i && Po && ms(i.firstChild);
646
+ let u = _s(Vo ? e : i);
647
+ for (; c = u.nextNode();) xs(c), ws(c), c.content instanceof a && Ts(c.content);
648
+ if (Vo) return e;
649
+ if (Fo) {
650
+ if (Io) for (l = co.call(i.ownerDocument); i.firstChild;) l.appendChild(i.firstChild);
651
651
  else l = i;
652
- return (V.shadowroot || V.shadowrootmode) && (l = lo.call(r, l, !0)), l;
652
+ return (V.shadowroot || V.shadowrootmode) && (l = uo.call(r, l, !0)), l;
653
653
  }
654
- let f = jo ? i.outerHTML : i.innerHTML;
655
- return jo && B["!doctype"] && i.ownerDocument && i.ownerDocument.doctype && i.ownerDocument.doctype.name && regExpTest(DOCTYPE_NAME, i.ownerDocument.doctype.name) && (f = "<!DOCTYPE " + i.ownerDocument.doctype.name + ">\n" + f), ko && arrayForEach([
656
- uo,
654
+ let f = Mo ? i.outerHTML : i.innerHTML;
655
+ return Mo && B["!doctype"] && i.ownerDocument && i.ownerDocument.doctype && i.ownerDocument.doctype.name && regExpTest(DOCTYPE_NAME, i.ownerDocument.doctype.name) && (f = "<!DOCTYPE " + i.ownerDocument.doctype.name + ">\n" + f), Ao && arrayForEach([
657
656
  fo,
658
- po
657
+ po,
658
+ mo
659
659
  ], (e) => {
660
660
  f = stringReplace(f, e, " ");
661
- }), A && Io ? A.createHTML(f) : f;
661
+ }), A && Lo ? A.createHTML(f) : f;
662
662
  }, t.setConfig = function() {
663
- ls(arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}), Mo = !0;
663
+ us(arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}), No = !0;
664
664
  }, t.clearConfig = function() {
665
- os = null, Mo = !1;
665
+ ss = null, No = !1;
666
666
  }, t.isValidAttribute = function(e, t, n) {
667
- return os || ls({}), xs(Y(e), Y(t), n);
667
+ return ss || us({}), Ss(Y(e), Y(t), n);
668
668
  }, t.addHook = function(e, t) {
669
669
  typeof t == "function" && arrayPush(R[e], t);
670
670
  }, t.removeHook = function(e, t) {
@@ -20157,14 +20157,14 @@ ${c}` : c;
20157
20157
  if (this.options.pedantic ? (f = 2, s = c.trimStart()) : u ? f = t[1].length + 1 : (f = t[2].search(this.rules.other.nonSpaceChar), f = f > 4 ? 1 : f, s = c.slice(f), f += t[1].length), u && this.rules.other.blankLine.test(l) && (r += l + "\n", e = e.substring(l.length + 1), n = !0), !n) {
20158
20158
  let t = this.rules.other.nextBulletRegex(f), n = this.rules.other.hrRegex(f), i = this.rules.other.fencesBeginRegex(f), a = this.rules.other.headingBeginRegex(f), o = this.rules.other.htmlBeginRegex(f);
20159
20159
  for (; e;) {
20160
- let p = e.split("\n", 1)[0], eo;
20161
- if (l = p, this.options.pedantic ? (l = l.replace(this.rules.other.listReplaceNesting, " "), eo = l) : eo = l.replace(this.rules.other.tabCharGlobal, " "), i.test(l) || a.test(l) || o.test(l) || t.test(l) || n.test(l)) break;
20162
- if (eo.search(this.rules.other.nonSpaceChar) >= f || !l.trim()) s += "\n" + eo.slice(f);
20160
+ let p = e.split("\n", 1)[0], to;
20161
+ if (l = p, this.options.pedantic ? (l = l.replace(this.rules.other.listReplaceNesting, " "), to = l) : to = l.replace(this.rules.other.tabCharGlobal, " "), i.test(l) || a.test(l) || o.test(l) || t.test(l) || n.test(l)) break;
20162
+ if (to.search(this.rules.other.nonSpaceChar) >= f || !l.trim()) s += "\n" + to.slice(f);
20163
20163
  else {
20164
20164
  if (u || c.replace(this.rules.other.tabCharGlobal, " ").search(this.rules.other.nonSpaceChar) >= 4 || i.test(c) || a.test(c) || n.test(c)) break;
20165
20165
  s += "\n" + l;
20166
20166
  }
20167
- !u && !l.trim() && (u = !0), r += p + "\n", e = e.substring(p.length + 1), c = eo.slice(f);
20167
+ !u && !l.trim() && (u = !0), r += p + "\n", e = e.substring(p.length + 1), c = to.slice(f);
20168
20168
  }
20169
20169
  }
20170
20170
  i.loose || (o ? i.loose = !0 : this.rules.other.doubleBlankLine.test(r) && (o = !0)), i.items.push({
@@ -21372,7 +21372,7 @@ function useDropdown() {
21372
21372
  return e;
21373
21373
  }
21374
21374
  function Dropdown({ trigger: e, children: t, align: n = "start", side: r = "bottom", offsetX: i = 0, offsetY: a = 0, disabled: o = !1 }) {
21375
- let [s, c] = useState(!1), f = useRef(null), h = useRef(null), g = useRef(null), [ro, A] = useState(null);
21375
+ let [s, c] = useState(!1), f = useRef(null), h = useRef(null), g = useRef(null), [io, A] = useState(null);
21376
21376
  useLayoutEffect(() => {
21377
21377
  if (!s || !f.current || !h.current) return;
21378
21378
  let e = f.current.getBoundingClientRect(), t = h.current.getBoundingClientRect(), o = e.left;
@@ -21389,10 +21389,10 @@ function Dropdown({ trigger: e, children: t, align: n = "start", side: r = "bott
21389
21389
  i,
21390
21390
  a
21391
21391
  ]);
21392
- function io() {
21392
+ function ao() {
21393
21393
  g.current &&= (clearTimeout(g.current), null), c(!0);
21394
21394
  }
21395
- function ao() {
21395
+ function oo() {
21396
21396
  g.current = window.setTimeout(() => {
21397
21397
  c(!1);
21398
21398
  }, 120);
@@ -21410,21 +21410,21 @@ function Dropdown({ trigger: e, children: t, align: n = "start", side: r = "bott
21410
21410
  children: [/* @__PURE__ */ jsx("div", {
21411
21411
  ref: f,
21412
21412
  className: "inline-flex",
21413
- onMouseEnter: io,
21414
- onMouseLeave: ao,
21413
+ onMouseEnter: ao,
21414
+ onMouseLeave: oo,
21415
21415
  onClick: () => c((e) => !e),
21416
21416
  "aria-haspopup": "menu",
21417
21417
  "aria-expanded": s,
21418
21418
  children: e
21419
21419
  }), s && !o && createPortal(/* @__PURE__ */ jsx("div", {
21420
21420
  ref: h,
21421
- onMouseEnter: io,
21422
- onMouseLeave: ao,
21421
+ onMouseEnter: ao,
21422
+ onMouseLeave: oo,
21423
21423
  style: {
21424
21424
  position: "fixed",
21425
- top: ro?.top ?? 0,
21426
- left: ro?.left ?? 0,
21427
- visibility: ro ? "visible" : "hidden",
21425
+ top: io?.top ?? 0,
21426
+ left: io?.left ?? 0,
21427
+ visibility: io ? "visible" : "hidden",
21428
21428
  zIndex: 1e3
21429
21429
  },
21430
21430
  children: t
@@ -21486,17 +21486,17 @@ function getVerticalAlign(e, t, n) {
21486
21486
  return n === "start" ? e.top : n === "end" ? e.bottom - t.height : e.top + e.height / 2 - t.height / 2;
21487
21487
  }
21488
21488
  function Tooltip({ children: e, content: t, position: n = "top", delay: r = 120, className: i }) {
21489
- let a = useRef(null), o = useRef(null), s = useRef(null), [c, f] = useState(!1), [h, ro] = useState(null), A = () => {
21489
+ let a = useRef(null), o = useRef(null), s = useRef(null), [c, f] = useState(!1), [h, io] = useState(null), A = () => {
21490
21490
  s.current &&= (clearTimeout(s.current), null), s.current = window.setTimeout(() => {
21491
21491
  f(!0);
21492
21492
  }, r);
21493
- }, io = () => {
21493
+ }, ao = () => {
21494
21494
  s.current &&= (clearTimeout(s.current), null), f(!1);
21495
21495
  };
21496
21496
  return useLayoutEffect(() => {
21497
21497
  if (!c || !a.current || !o.current) return;
21498
21498
  let e = a.current.getBoundingClientRect(), t = o.current.getBoundingClientRect(), [r, i] = n.split("-"), s = i ?? "center", l = 0, u = 0;
21499
- r === "top" || r === "bottom" ? (l = r === "top" ? e.top - t.height - 4 : e.bottom + 4, u = getHorizontalAlign(e, t, s)) : (u = r === "left" ? e.left - t.width - 4 : e.right + 4, l = getVerticalAlign(e, t, s)), ro((e) => e && e.top === l && e.left === u ? e : {
21499
+ r === "top" || r === "bottom" ? (l = r === "top" ? e.top - t.height - 4 : e.bottom + 4, u = getHorizontalAlign(e, t, s)) : (u = r === "left" ? e.left - t.width - 4 : e.right + 4, l = getVerticalAlign(e, t, s)), io((e) => e && e.top === l && e.left === u ? e : {
21500
21500
  top: l,
21501
21501
  left: u
21502
21502
  });
@@ -21506,9 +21506,9 @@ function Tooltip({ children: e, content: t, position: n = "top", delay: r = 120,
21506
21506
  ref: a,
21507
21507
  className: "inline-flex",
21508
21508
  onMouseEnter: A,
21509
- onMouseLeave: io,
21509
+ onMouseLeave: ao,
21510
21510
  onFocus: A,
21511
- onBlur: io,
21511
+ onBlur: ao,
21512
21512
  children: e
21513
21513
  }), c && createPortal(/* @__PURE__ */ jsx("div", {
21514
21514
  ref: o,
@@ -22835,7 +22835,7 @@ function useToastTimers(e, t) {
22835
22835
  e,
22836
22836
  u,
22837
22837
  f
22838
- ]), to = useCallback((e) => {
22838
+ ]), no = useCallback((e) => {
22839
22839
  i.current.delete(e), r((t) => {
22840
22840
  let n = new Map(t);
22841
22841
  return n.delete(e), n;
@@ -22857,21 +22857,21 @@ function useToastTimers(e, t) {
22857
22857
  remainingTimes: n,
22858
22858
  pauseAll: h,
22859
22859
  resumeAll: g,
22860
- cleanupTimer: to
22860
+ cleanupTimer: no
22861
22861
  };
22862
22862
  }
22863
22863
  function Toaster() {
22864
- let [e, t] = useState([]), [n, r] = useState([]), i = useRef(/* @__PURE__ */ new Set()), a = useRef(/* @__PURE__ */ new Map()), o = useRef([]), { remainingTimes: c, pauseAll: u, resumeAll: f, cleanupTimer: no } = useToastTimers(e, a);
22864
+ let [e, t] = useState([]), [n, r] = useState([]), i = useRef(/* @__PURE__ */ new Set()), a = useRef(/* @__PURE__ */ new Map()), o = useRef([]), { remainingTimes: c, pauseAll: u, resumeAll: f, cleanupTimer: ro } = useToastTimers(e, a);
22865
22865
  useEffect(() => toastStore.subscribe(t), []);
22866
- let ro = useSyncExternalStore(subscribeNoop, getClientSnapshot, getServerSnapshot), A = useCallback((e) => {
22866
+ let io = useSyncExternalStore(subscribeNoop, getClientSnapshot, getServerSnapshot), A = useCallback((e) => {
22867
22867
  e.callbacks?.onOpen?.();
22868
- }, []), io = useCallback((e, t) => {
22868
+ }, []), ao = useCallback((e, t) => {
22869
22869
  t === "manual" ? e.callbacks?.onClose?.() : e.callbacks?.onAutoClose?.(), e.callbacks?.onDismiss?.(t);
22870
22870
  }, []);
22871
22871
  useEffect(() => {
22872
22872
  let t = new Set(e.map((e) => e.id)), n = new Map(e.map((e) => [e.id, e])), s = i.current;
22873
22873
  o.current.filter((e) => !t.has(e.id) && e.animationState !== "exiting").forEach((e) => {
22874
- io(e, a.current.get(e.id) ?? "timeout"), a.current.delete(e.id);
22874
+ ao(e, a.current.get(e.id) ?? "timeout"), a.current.delete(e.id);
22875
22875
  }), r((r) => {
22876
22876
  let i = r.map((e) => {
22877
22877
  let t = n.get(e.id);
@@ -22889,25 +22889,25 @@ function Toaster() {
22889
22889
  }, [
22890
22890
  e,
22891
22891
  A,
22892
- io
22892
+ ao
22893
22893
  ]);
22894
- let ao = useCallback((e) => {
22894
+ let oo = useCallback((e) => {
22895
22895
  r((t) => {
22896
22896
  let n = t.filter((t) => t.id !== e);
22897
22897
  return o.current = n, n;
22898
- }), no(e), toastStore.cleanup(e);
22899
- }, [no]), oo = useCallback((e) => {
22898
+ }), ro(e), toastStore.cleanup(e);
22899
+ }, [ro]), so = useCallback((e) => {
22900
22900
  a.current.set(e, "manual"), toastStore.remove(e);
22901
22901
  }, []);
22902
- if (!ro) return null;
22903
- let so = groupByPosition(n);
22904
- return createPortal(/* @__PURE__ */ jsx(Fragment$1, { children: Object.entries(so).map(([e, t]) => /* @__PURE__ */ jsx("div", {
22902
+ if (!io) return null;
22903
+ let co = groupByPosition(n);
22904
+ return createPortal(/* @__PURE__ */ jsx(Fragment$1, { children: Object.entries(co).map(([e, t]) => /* @__PURE__ */ jsx("div", {
22905
22905
  className: cn("pointer-events-none fixed z-1000 flex flex-col items-end gap-2 p-4", POSITION_CLASSES[e]),
22906
22906
  children: t.map((e) => /* @__PURE__ */ jsx(ToastWrapper, {
22907
22907
  toast: e,
22908
22908
  remainingTime: c.get(e.id) ?? e.duration,
22909
- onExitComplete: ao,
22910
- onClose: oo,
22909
+ onExitComplete: oo,
22910
+ onClose: so,
22911
22911
  onHoverStart: u,
22912
22912
  onHoverEnd: f
22913
22913
  }, e.id))
@@ -23121,7 +23121,7 @@ function BulkActions({ totalItems: e = 0, selectedItems: t = 0, onSelectAll: n,
23121
23121
  function O(e) {
23122
23122
  p(e), a?.(e);
23123
23123
  }
23124
- let ro = {
23124
+ let io = {
23125
23125
  fire: [{
23126
23126
  id: "fire",
23127
23127
  tooltip: "Mark as fire",
@@ -23202,7 +23202,7 @@ function BulkActions({ totalItems: e = 0, selectedItems: t = 0, onSelectAll: n,
23202
23202
  }),
23203
23203
  /* @__PURE__ */ jsx("div", {
23204
23204
  className: "flex items-center divide-x divide-neutral-400-variant-1",
23205
- children: t > 0 && /* @__PURE__ */ jsx(Fragment$1, { children: Object.entries(ro).map(([e, t]) => /* @__PURE__ */ jsx("div", {
23205
+ children: t > 0 && /* @__PURE__ */ jsx(Fragment$1, { children: Object.entries(io).map(([e, t]) => /* @__PURE__ */ jsx("div", {
23206
23206
  className: "flex items-center gap-2 px-1",
23207
23207
  children: t.map((e) => /* @__PURE__ */ jsx(InfoTooltip, {
23208
23208
  content: e.tooltip,
@@ -23323,7 +23323,7 @@ function FilterButton({ variant: e = "custom", label: t, count: n, selected: r =
23323
23323
  let c = !!o, l = filterButtonStyles({
23324
23324
  variant: e,
23325
23325
  selected: !c && r
23326
- }), u = e === "custom" ? void 0 : FILTER_BUTTON_META[e], f = i ?? u?.icon, p = t ?? u?.label, eo = c ? "text-neutral-400" : r && u?.iconColor ? u.iconColor : "text-neutral-900 opacity-60 group-hover:opacity-80";
23326
+ }), u = e === "custom" ? void 0 : FILTER_BUTTON_META[e], f = i ?? u?.icon, p = t ?? u?.label, to = c ? "text-neutral-400" : r && u?.iconColor ? u.iconColor : "text-neutral-900 opacity-60 group-hover:opacity-80";
23327
23327
  return /* @__PURE__ */ jsxs(Button, {
23328
23328
  ...s,
23329
23329
  disabled: o,
@@ -23331,7 +23331,7 @@ function FilterButton({ variant: e = "custom", label: t, count: n, selected: r =
23331
23331
  className: cn("group", l.root(), c && "border-neutral-300 bg-white hover:border-neutral-300", a?.root),
23332
23332
  children: [f && /* @__PURE__ */ jsx("span", {
23333
23333
  className: cn("flex items-center", a?.icon),
23334
- children: renderIcon$1(f, cn("shrink-0", eo))
23334
+ children: renderIcon$1(f, cn("shrink-0", to))
23335
23335
  }), p && /* @__PURE__ */ jsxs("span", {
23336
23336
  className: cn(l.label(), c && "font-medium text-neutral-400", a?.label),
23337
23337
  children: [/* @__PURE__ */ jsx("span", { children: p }), typeof n == "number" && n > 0 && /* @__PURE__ */ jsxs("span", {
@@ -23477,44 +23477,44 @@ function IconCountButton({ icon: e, label: t, count: n, variant: r = "primary",
23477
23477
  variant: r,
23478
23478
  orientation: i,
23479
23479
  status: a
23480
- }), ro = useRef(null), [A, io] = useState(!1), [ao, oo] = useState(!1), [so, co] = useState(l), [lo, R] = useState(null), uo = c ?? so, fo = s && (A || ao || uo), po = typeof n == "number" && n > 0 && (o || a === "active");
23481
- function mo(e) {
23482
- c === void 0 && co(e), f?.(e);
23480
+ }), io = useRef(null), [A, ao] = useState(!1), [oo, so] = useState(!1), [co, lo] = useState(l), [uo, R] = useState(null), fo = c ?? co, po = s && (A || oo || fo), mo = typeof n == "number" && n > 0 && (o || a === "active");
23481
+ function ho(e) {
23482
+ c === void 0 && lo(e), f?.(e);
23483
23483
  }
23484
23484
  return useLayoutEffect(() => {
23485
- if (!fo || !ro.current) return;
23485
+ if (!po || !io.current) return;
23486
23486
  function e() {
23487
- let e = ro.current?.getBoundingClientRect();
23487
+ let e = io.current?.getBoundingClientRect();
23488
23488
  e && R({
23489
- top: e.top - 6,
23490
- left: e.right - 14
23489
+ top: e.top - 8,
23490
+ left: e.right - 12
23491
23491
  });
23492
23492
  }
23493
23493
  return e(), window.addEventListener("resize", e), window.addEventListener("scroll", e, !0), () => {
23494
23494
  window.removeEventListener("resize", e), window.removeEventListener("scroll", e, !0);
23495
23495
  };
23496
- }, [fo]), /* @__PURE__ */ jsxs(Button, {
23496
+ }, [po]), /* @__PURE__ */ jsxs(Button, {
23497
23497
  ...g,
23498
23498
  className: cn(O.root(), h?.root),
23499
- onMouseEnter: () => io(!0),
23500
- onMouseLeave: () => io(!1),
23499
+ onMouseEnter: () => ao(!0),
23500
+ onMouseLeave: () => ao(!1),
23501
23501
  children: [/* @__PURE__ */ jsxs("div", {
23502
23502
  className: "relative",
23503
23503
  children: [/* @__PURE__ */ jsx("div", {
23504
- ref: ro,
23504
+ ref: io,
23505
23505
  className: cn(O.bubble(), h?.bubble),
23506
23506
  children: renderIcon(e, O.icon())
23507
- }), fo && lo && typeof document < "u" && ToggleControlPortal({
23508
- isPressed: uo,
23509
- isPortalHovered: ao,
23510
- portalPosition: lo,
23511
- onMouseEnter: () => oo(!0),
23512
- onMouseLeave: () => oo(!1),
23513
- onToggle: () => mo(!uo)
23507
+ }), po && uo && typeof document < "u" && ToggleControlPortal({
23508
+ isPressed: fo,
23509
+ isPortalHovered: oo,
23510
+ portalPosition: uo,
23511
+ onMouseEnter: () => so(!0),
23512
+ onMouseLeave: () => so(!1),
23513
+ onToggle: () => ho(!fo)
23514
23514
  })]
23515
23515
  }), /* @__PURE__ */ jsxs("div", {
23516
23516
  className: cn(O.label(), h?.label),
23517
- children: [/* @__PURE__ */ jsx("span", { children: t }), po && /* @__PURE__ */ jsxs("span", {
23517
+ children: [/* @__PURE__ */ jsx("span", { children: t }), mo && /* @__PURE__ */ jsxs("span", {
23518
23518
  "aria-label": `${n} items`,
23519
23519
  className: cn(O.count(), h?.count),
23520
23520
  children: [
@@ -23574,7 +23574,7 @@ function CalendarPanel({ mode: e, selectedDate: t, selectedRange: n, onDateSelec
23574
23574
  t,
23575
23575
  n
23576
23576
  ]);
23577
- let ro = useMemo(() => generateCalendarDays(g.year, g.month), [g.year, g.month]);
23577
+ let io = useMemo(() => generateCalendarDays(g.year, g.month), [g.year, g.month]);
23578
23578
  function A(t) {
23579
23579
  let o = t.getMonth(), s = t.getFullYear();
23580
23580
  if ((o !== g.month || s !== g.year) && O({
@@ -23592,7 +23592,7 @@ function CalendarPanel({ mode: e, selectedDate: t, selectedRange: n, onDateSelec
23592
23592
  }), a());
23593
23593
  }
23594
23594
  }
23595
- function io() {
23595
+ function ao() {
23596
23596
  O((e) => e.month === 0 ? {
23597
23597
  year: e.year - 1,
23598
23598
  month: 11
@@ -23601,7 +23601,7 @@ function CalendarPanel({ mode: e, selectedDate: t, selectedRange: n, onDateSelec
23601
23601
  month: e.month - 1
23602
23602
  });
23603
23603
  }
23604
- function ao() {
23604
+ function oo() {
23605
23605
  O((e) => e.month === 11 ? {
23606
23606
  year: e.year + 1,
23607
23607
  month: 0
@@ -23610,7 +23610,7 @@ function CalendarPanel({ mode: e, selectedDate: t, selectedRange: n, onDateSelec
23610
23610
  month: e.month + 1
23611
23611
  });
23612
23612
  }
23613
- let oo = getWeekdays();
23613
+ let so = getWeekdays();
23614
23614
  return /* @__PURE__ */ jsxs("div", {
23615
23615
  className: "mt-1 w-fit rounded-lg border border-neutral-400 bg-white p-2 shadow-lg",
23616
23616
  children: [
@@ -23622,7 +23622,7 @@ function CalendarPanel({ mode: e, selectedDate: t, selectedRange: n, onDateSelec
23622
23622
  direction: "left",
23623
23623
  size: 20
23624
23624
  }),
23625
- onClick: io,
23625
+ onClick: ao,
23626
23626
  className: "hover:opacity-60",
23627
23627
  "aria-label": "Previous month"
23628
23628
  }),
@@ -23639,7 +23639,7 @@ function CalendarPanel({ mode: e, selectedDate: t, selectedRange: n, onDateSelec
23639
23639
  direction: "right",
23640
23640
  size: 20
23641
23641
  }),
23642
- onClick: ao,
23642
+ onClick: oo,
23643
23643
  className: "hover:opacity-60",
23644
23644
  "aria-label": "Next month"
23645
23645
  })
@@ -23647,17 +23647,17 @@ function CalendarPanel({ mode: e, selectedDate: t, selectedRange: n, onDateSelec
23647
23647
  }),
23648
23648
  /* @__PURE__ */ jsx("div", {
23649
23649
  className: "mb-2 grid grid-cols-7",
23650
- children: oo.map((e) => /* @__PURE__ */ jsx("div", {
23650
+ children: so.map((e) => /* @__PURE__ */ jsx("div", {
23651
23651
  className: "flex items-center justify-center p-0.5 text-[9px] font-bold text-neutral-900",
23652
23652
  children: e
23653
23653
  }, e))
23654
23654
  }),
23655
23655
  /* @__PURE__ */ jsx("div", {
23656
23656
  className: "grid grid-cols-7",
23657
- children: ro.map(({ day: r, date: i, isCurrentMonth: a }) => {
23658
- let o = isToday(i), l = e === "single" && t && isSameDay(i, t), { startDate: u, endDate: f } = n, p = u && isSameDay(i, u), eo = f && isSameDay(i, f), h = u, g = s;
23657
+ children: io.map(({ day: r, date: i, isCurrentMonth: a }) => {
23658
+ let o = isToday(i), l = e === "single" && t && isSameDay(i, t), { startDate: u, endDate: f } = n, p = u && isSameDay(i, u), to = f && isSameDay(i, f), h = u, g = s;
23659
23659
  e === "range" && u && !f && s && !isDateBefore(s, u) ? (h = u, g = s) : (h = null, g = null);
23660
- let no = e === "range" && (isDateInRange(i, u, f) || isDateInRange(i, h, g)), O = l || p || eo;
23660
+ let ro = e === "range" && (isDateInRange(i, u, f) || isDateInRange(i, h, g)), O = l || p || to;
23661
23661
  return /* @__PURE__ */ jsx(Button, {
23662
23662
  type: "button",
23663
23663
  onClick: () => A(i),
@@ -23671,7 +23671,7 @@ function CalendarPanel({ mode: e, selectedDate: t, selectedRange: n, onDateSelec
23671
23671
  "aria-label": `Select ${formatDate(i)}`,
23672
23672
  "aria-selected": O || void 0,
23673
23673
  children: /* @__PURE__ */ jsx("div", {
23674
- className: cn("flex h-[26px] w-[26px] items-center justify-center rounded text-[9px] transition-colors", O && "bg-primary-500 font-semibold text-white-variant-1 hover:bg-primary-500", no && !O && "bg-primary-500/20 font-normal text-neutral-900 hover:bg-primary-500/30", o && !O && !no && "border border-primary-500 bg-primary-500/15 font-bold hover:bg-primary-500 hover:text-white", !O && !no && (a ? "text-neutral-900 hover:bg-neutral-300" : "text-neutral-600 hover:bg-neutral-200")),
23674
+ className: cn("flex h-[26px] w-[26px] items-center justify-center rounded text-[9px] transition-colors", O && "bg-primary-500 font-semibold text-white-variant-1 hover:bg-primary-500", ro && !O && "bg-primary-500/20 font-normal text-neutral-900 hover:bg-primary-500/30", o && !O && !ro && "border border-primary-500 bg-primary-500/15 font-bold hover:bg-primary-500 hover:text-white", !O && !ro && (a ? "text-neutral-900 hover:bg-neutral-300" : "text-neutral-600 hover:bg-neutral-200")),
23675
23675
  children: r
23676
23676
  })
23677
23677
  }, `${i.getFullYear()}-${i.getMonth()}-${r}`);
@@ -23736,11 +23736,11 @@ function DatePicker({ mode: e = "single", value: t, defaultValue: n, onChange: r
23736
23736
  function h(t) {
23737
23737
  e === "single" && (u || s(t), r?.(t));
23738
23738
  }
23739
- function no(t) {
23739
+ function ro(t) {
23740
23740
  e === "range" && (u || l(t), r?.(t));
23741
23741
  }
23742
23742
  function O() {
23743
- e === "single" ? h(null) : no({
23743
+ e === "single" ? h(null) : ro({
23744
23744
  startDate: null,
23745
23745
  endDate: null
23746
23746
  });
@@ -23758,7 +23758,7 @@ function DatePicker({ mode: e = "single", value: t, defaultValue: n, onChange: r
23758
23758
  selectedDate: f,
23759
23759
  selectedRange: p,
23760
23760
  onDateSelect: h,
23761
- onRangeSelect: no
23761
+ onRangeSelect: ro
23762
23762
  })
23763
23763
  }) });
23764
23764
  }
@@ -23858,7 +23858,72 @@ var EVENT_ACTION_CONFIG = {
23858
23858
  className: "text-primary-500"
23859
23859
  })
23860
23860
  }
23861
- };
23861
+ }, eventCardStyles = tv({
23862
+ base: "w-full rounded-lg border-[1.5px] bg-white-variant-5 p-4",
23863
+ variants: {
23864
+ tone: {
23865
+ default: "hover:bg-primary-light",
23866
+ done: "hover:bg-success-base-variant-1",
23867
+ priority: "hover:bg-tertiary-500-variant-4"
23868
+ },
23869
+ state: {
23870
+ unread: "",
23871
+ read: "",
23872
+ selected: ""
23873
+ },
23874
+ density: {
23875
+ normal: EVENT_CARD_HEIGHT_SIZE.normal.style,
23876
+ compact: EVENT_CARD_HEIGHT_SIZE.compact.style
23877
+ }
23878
+ },
23879
+ compoundVariants: [
23880
+ {
23881
+ tone: "default",
23882
+ state: "unread",
23883
+ class: "border-primary-400"
23884
+ },
23885
+ {
23886
+ tone: "default",
23887
+ state: "read",
23888
+ class: "border-neutral-400"
23889
+ },
23890
+ {
23891
+ tone: "default",
23892
+ state: "selected",
23893
+ class: "border-primary-500 bg-primary-light"
23894
+ },
23895
+ {
23896
+ tone: "done",
23897
+ state: "unread",
23898
+ class: "border-primary-400"
23899
+ },
23900
+ {
23901
+ tone: "done",
23902
+ state: "read",
23903
+ class: "border-success-base-variant-2"
23904
+ },
23905
+ {
23906
+ tone: "done",
23907
+ state: "selected",
23908
+ class: "border-success-base bg-success-base-variant-1"
23909
+ },
23910
+ {
23911
+ tone: "priority",
23912
+ state: "unread",
23913
+ class: "border-tertiary-500-variant-2"
23914
+ },
23915
+ {
23916
+ tone: "priority",
23917
+ state: "read",
23918
+ class: "border-tertiary-500-variant-3"
23919
+ },
23920
+ {
23921
+ tone: "priority",
23922
+ state: "selected",
23923
+ class: "border-tertiary-500-variant-2 bg-tertiary-500-variant-4"
23924
+ }
23925
+ ]
23926
+ });
23862
23927
  function EventCheckbox({ checked: e, onCheckedChange: t }) {
23863
23928
  return /* @__PURE__ */ jsx(StopPropagation, { children: /* @__PURE__ */ jsx(Checkbox, {
23864
23929
  checked: e,
@@ -23896,12 +23961,16 @@ function EventActionsList({ actions: e, className: t }) {
23896
23961
  }) })
23897
23962
  });
23898
23963
  }
23899
- function EventCard({ icon: e, service: t, sender: n, title: r, content: i, timestamp: a, timestampTooltip: o, workspace: s, read: c = !1, selected: l = !1, onSelect: u, checked: f = !1, onCheckedChange: p, statusBadges: eo = {}, actions: h = {}, density: g = "normal", className: O, style: ro, isPriority: A = !1 }) {
23964
+ function EventCard({ icon: e, service: t, sender: n, title: r, content: i, timestamp: a, timestampTooltip: o, workspace: s, read: c = !1, selected: l = !1, onSelect: u, checked: f = !1, onCheckedChange: p, statusBadges: to = {}, actions: h = {}, density: g = "normal", className: O, style: io, isPriority: A, isDone: ao }) {
23900
23965
  return /* @__PURE__ */ jsx(Card, {
23901
23966
  as: Pressable,
23902
23967
  onPress: u,
23903
- className: cn("w-full rounded-lg border-[1.5px] bg-white-variant-5 p-4", A ? "hover:bg-tertiary-500-variant-4" : "hover:bg-primary-light", !c && !A && "border-primary-400", !c && A && "border-tertiary-500-variant-2", c && !A && "border-neutral-400", c && A && "border-tertiary-500-variant-3", l && !A && "border-primary-500 bg-primary-light", l && A && "border-tertiary-500-variant-2 bg-tertiary-500-variant-4", g === "normal" ? `${EVENT_CARD_HEIGHT_SIZE.normal.style}` : `${EVENT_CARD_HEIGHT_SIZE.compact.style}`, O),
23904
- style: ro,
23968
+ className: cn(eventCardStyles({
23969
+ tone: A ? "priority" : ao ? "done" : "default",
23970
+ state: l ? "selected" : c ? "read" : "unread",
23971
+ density: g
23972
+ }), O),
23973
+ style: io,
23905
23974
  "data-service": t,
23906
23975
  children: g === "normal" ? /* @__PURE__ */ jsxs(CardLayout, {
23907
23976
  className: "gap-x-2 gap-y-1",
@@ -23938,7 +24007,7 @@ function EventCard({ icon: e, service: t, sender: n, title: r, content: i, times
23938
24007
  }),
23939
24008
  /* @__PURE__ */ jsxs(CardFooter, {
23940
24009
  className: "mt-3 grid grid-cols-[minmax(0,1fr)_auto] items-center gap-1",
23941
- children: [/* @__PURE__ */ jsx(EventStatusesList, { statusBadges: eo }), /* @__PURE__ */ jsx(EventActionsList, {
24010
+ children: [/* @__PURE__ */ jsx(EventStatusesList, { statusBadges: to }), /* @__PURE__ */ jsx(EventActionsList, {
23942
24011
  actions: h,
23943
24012
  className: "col-start-2 justify-self-end"
23944
24013
  })]
@@ -23957,7 +24026,7 @@ function EventCard({ icon: e, service: t, sender: n, title: r, content: i, times
23957
24026
  children: [
23958
24027
  e,
23959
24028
  /* @__PURE__ */ jsx(EventStatusesList, {
23960
- statusBadges: eo,
24029
+ statusBadges: to,
23961
24030
  density: g
23962
24031
  }),
23963
24032
  /* @__PURE__ */ jsxs("div", {
@@ -24455,7 +24524,7 @@ function EventDetailContentTicketDetails({ issue: e, notification: t, project: n
24455
24524
  ]
24456
24525
  })] });
24457
24526
  }
24458
- function EventDetailContentTicket({ detail: { summary: e, body: t, priorityText: n, issue: r, notification: i, project: a, task: o, dueDate: s, startDate: c, assignees: l, reporter: u, team: f, location: p, related: eo }, className: h }) {
24527
+ function EventDetailContentTicket({ detail: { summary: e, body: t, priorityText: n, issue: r, notification: i, project: a, task: o, dueDate: s, startDate: c, assignees: l, reporter: u, team: f, location: p, related: to }, className: h }) {
24459
24528
  return /* @__PURE__ */ jsxs(EventDetailContentHeader, {
24460
24529
  summary: e,
24461
24530
  priorityText: n,
@@ -24473,7 +24542,7 @@ function EventDetailContentTicket({ detail: { summary: e, body: t, priorityText:
24473
24542
  reporter: u,
24474
24543
  team: f,
24475
24544
  location: p,
24476
- related: eo
24545
+ related: to
24477
24546
  }),
24478
24547
  /* @__PURE__ */ jsx("h2", {
24479
24548
  className: "px-4 text-sm font-bold text-neutral-900",
@@ -24781,22 +24850,23 @@ function IntegrationBarSkeleton({ orientation: e = "vertical", itemCount: t = 3,
24781
24850
  });
24782
24851
  }
24783
24852
  function IntegrationBar({ orientation: e = "vertical", children: t, onAddMore: n, className: r }) {
24784
- return /* @__PURE__ */ jsx("div", {
24785
- className: cn("size-full", e === "vertical" ? "overflow-x-hidden" : "overflow-y-hidden"),
24786
- children: /* @__PURE__ */ jsxs("div", {
24787
- className: cn("grid h-full w-full place-items-center gap-4", e === "vertical" ? "grid-cols-1" : "auto-cols-max grid-flow-col", r),
24788
- children: [
24789
- t.map((e) => cloneElement(e, {})),
24790
- /* @__PURE__ */ jsx(Divider, { orientation: e === "vertical" ? "horizontal" : "vertical" }),
24791
- /* @__PURE__ */ jsx(IconCountButton, {
24792
- icon: /* @__PURE__ */ jsx(AddIcon, { size: 24 }),
24793
- label: "Add",
24794
- onClick: n,
24795
- variant: "minimal",
24796
- orientation: e
24797
- })
24798
- ]
24799
- })
24853
+ return /* @__PURE__ */ jsxs("div", {
24854
+ className: cn("flex size-full min-h-0 min-w-0", e === "vertical" ? "flex-col items-center" : "flex-row items-center", r),
24855
+ children: [
24856
+ /* @__PURE__ */ jsx("div", {
24857
+ className: cn("grid min-h-0 min-w-0 place-items-center", e === "vertical" ? "w-full flex-1 grid-cols-1 overflow-x-hidden overflow-y-auto" : "h-full flex-1 auto-cols-max grid-flow-col overflow-x-auto overflow-y-hidden"),
24858
+ children: t.map((t) => cloneElement(t, { classNames: { root: e === "vertical" ? "py-2" : "px-2" } }))
24859
+ }),
24860
+ /* @__PURE__ */ jsx(Divider, { orientation: e === "vertical" ? "horizontal" : "vertical" }),
24861
+ /* @__PURE__ */ jsx(IconCountButton, {
24862
+ icon: /* @__PURE__ */ jsx(AddIcon, { size: 24 }),
24863
+ label: "Add",
24864
+ onClick: n,
24865
+ variant: "minimal",
24866
+ orientation: e,
24867
+ classNames: { root: e === "vertical" ? "py-2" : "px-2" }
24868
+ })
24869
+ ]
24800
24870
  });
24801
24871
  }
24802
24872
  function IntegrationItemSkeleton() {