@qtalo/qt-ui-library 0.1.22 → 0.1.24

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: h } = e, Yo = c.prototype, g = lookupGetter(Yo, "cloneNode"), O = lookupGetter(Yo, "remove"), Xo = lookupGetter(Yo, "nextSibling"), Zo = lookupGetter(Yo, "childNodes"), Qo = lookupGetter(Yo, "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: h } = e, Zo = c.prototype, g = lookupGetter(Zo, "cloneNode"), O = lookupGetter(Zo, "remove"), Qo = lookupGetter(Zo, "nextSibling"), $o = lookupGetter(Zo, "childNodes"), es = lookupGetter(Zo, "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, R = "", { implementation: $o, createNodeIterator: es, createDocumentFragment: ts, getElementsByTagName: ns } = n, { importNode: rs } = r, B = _createHooksMap();
335
- t.isSupported = typeof entries == "function" && typeof Qo == "function" && $o && $o.createHTMLDocument !== void 0;
336
- let { MUSTACHE_EXPR: is, ERB_EXPR: as, TMPLIT_EXPR: os, DATA_ATTR: ss, ARIA_ATTR: cs, IS_SCRIPT_OR_DATA: ls, ATTR_WHITESPACE: us, CUSTOM_ELEMENT: ds } = EXPRESSIONS, { IS_ALLOWED_URI: fs } = EXPRESSIONS, V = null, ps = addToSet({}, [
334
+ let A, R = "", { implementation: ts, createNodeIterator: ns, createDocumentFragment: rs, getElementsByTagName: is } = n, { importNode: as } = r, B = _createHooksMap();
335
+ t.isSupported = typeof entries == "function" && typeof es == "function" && ts && ts.createHTMLDocument !== void 0;
336
+ let { MUSTACHE_EXPR: os, ERB_EXPR: ss, TMPLIT_EXPR: cs, DATA_ATTR: ls, ARIA_ATTR: us, IS_SCRIPT_OR_DATA: ds, ATTR_WHITESPACE: fs, CUSTOM_ELEMENT: ps } = EXPRESSIONS, { IS_ALLOWED_URI: ms } = EXPRESSIONS, V = null, hs = addToSet({}, [
337
337
  ...html$1,
338
338
  ...svg$1,
339
339
  ...svgFilters,
340
340
  ...mathMl$1,
341
341
  ...text
342
- ]), ms = null, hs = addToSet({}, [
342
+ ]), gs = null, _s = 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
- })), gs = null, _s = null, vs = Object.seal(create(null, {
366
+ })), vs = null, ys = null, bs = 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
- })), ys = !0, bs = !0, xs = !1, Ss = !0, Cs = !1, ws = !0, Ts = !1, Es = !1, Ds = !1, Os = !1, ks = !1, As = !1, js = !0, Ms = !1, Ns = !0, Ps = !1, Fs = {}, Is = null, Ls = addToSet({}, [
379
+ })), xs = !0, Ss = !0, Cs = !1, ws = !0, Ts = !1, Es = !0, Ds = !1, Os = !1, ks = !1, As = !1, js = !1, Ms = !1, Ns = !0, Ps = !1, Fs = !0, Is = !1, Ls = {}, Rs = null, zs = 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
- ]), Rs = null, zs = addToSet({}, [
405
+ ]), Bs = null, Vs = addToSet({}, [
406
406
  "audio",
407
407
  "video",
408
408
  "img",
409
409
  "source",
410
410
  "image",
411
411
  "track"
412
- ]), Bs = null, Vs = addToSet({}, [
412
+ ]), Hs = null, Us = 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
- ]), Hs = "http://www.w3.org/1998/Math/MathML", Us = "http://www.w3.org/2000/svg", Ws = "http://www.w3.org/1999/xhtml", Gs = Ws, Ks = !1, qs = null, Js = addToSet({}, [
428
- Hs,
429
- Us,
430
- Ws
431
- ], stringToString), Ys = addToSet({}, [
427
+ ]), Ws = "http://www.w3.org/1998/Math/MathML", Gs = "http://www.w3.org/2000/svg", Ks = "http://www.w3.org/1999/xhtml", qs = Ks, Js = !1, Ys = null, Xs = addToSet({}, [
428
+ Ws,
429
+ Gs,
430
+ Ks
431
+ ], stringToString), Zs = addToSet({}, [
432
432
  "mi",
433
433
  "mo",
434
434
  "mn",
435
435
  "ms",
436
436
  "mtext"
437
- ]), Xs = addToSet({}, ["annotation-xml"]), Zs = addToSet({}, [
437
+ ]), Qs = addToSet({}, ["annotation-xml"]), $s = addToSet({}, [
438
438
  "title",
439
439
  "style",
440
440
  "font",
441
441
  "a",
442
442
  "script"
443
- ]), Qs = null, $s = ["application/xhtml+xml", "text/html"], Y = null, ec = null, tc = n.createElement("form"), nc = function(e) {
443
+ ]), ec = null, tc = ["application/xhtml+xml", "text/html"], Y = null, nc = null, rc = n.createElement("form"), ic = function(e) {
444
444
  return e instanceof RegExp || e instanceof Function;
445
- }, rc = function() {
445
+ }, ac = function() {
446
446
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
447
- if (!(ec && ec === e)) {
448
- if ((!e || typeof e != "object") && (e = {}), e = clone(e), Qs = $s.indexOf(e.PARSER_MEDIA_TYPE) === -1 ? "text/html" : e.PARSER_MEDIA_TYPE, Y = Qs === "application/xhtml+xml" ? stringToString : stringToLowerCase, V = objectHasOwnProperty(e, "ALLOWED_TAGS") ? addToSet({}, e.ALLOWED_TAGS, Y) : ps, ms = objectHasOwnProperty(e, "ALLOWED_ATTR") ? addToSet({}, e.ALLOWED_ATTR, Y) : hs, qs = objectHasOwnProperty(e, "ALLOWED_NAMESPACES") ? addToSet({}, e.ALLOWED_NAMESPACES, stringToString) : Js, Bs = objectHasOwnProperty(e, "ADD_URI_SAFE_ATTR") ? addToSet(clone(Vs), e.ADD_URI_SAFE_ATTR, Y) : Vs, Rs = objectHasOwnProperty(e, "ADD_DATA_URI_TAGS") ? addToSet(clone(zs), e.ADD_DATA_URI_TAGS, Y) : zs, Is = objectHasOwnProperty(e, "FORBID_CONTENTS") ? addToSet({}, e.FORBID_CONTENTS, Y) : Ls, gs = objectHasOwnProperty(e, "FORBID_TAGS") ? addToSet({}, e.FORBID_TAGS, Y) : clone({}), _s = objectHasOwnProperty(e, "FORBID_ATTR") ? addToSet({}, e.FORBID_ATTR, Y) : clone({}), Fs = objectHasOwnProperty(e, "USE_PROFILES") ? e.USE_PROFILES : !1, ys = e.ALLOW_ARIA_ATTR !== !1, bs = e.ALLOW_DATA_ATTR !== !1, xs = e.ALLOW_UNKNOWN_PROTOCOLS || !1, Ss = e.ALLOW_SELF_CLOSE_IN_ATTR !== !1, Cs = e.SAFE_FOR_TEMPLATES || !1, ws = e.SAFE_FOR_XML !== !1, Ts = e.WHOLE_DOCUMENT || !1, Os = e.RETURN_DOM || !1, ks = e.RETURN_DOM_FRAGMENT || !1, As = e.RETURN_TRUSTED_TYPE || !1, Ds = e.FORCE_BODY || !1, js = e.SANITIZE_DOM !== !1, Ms = e.SANITIZE_NAMED_PROPS || !1, Ns = e.KEEP_CONTENT !== !1, Ps = e.IN_PLACE || !1, fs = e.ALLOWED_URI_REGEXP || IS_ALLOWED_URI, Gs = e.NAMESPACE || Ws, Ys = e.MATHML_TEXT_INTEGRATION_POINTS || Ys, Xs = e.HTML_INTEGRATION_POINTS || Xs, H = e.CUSTOM_ELEMENT_HANDLING || {}, e.CUSTOM_ELEMENT_HANDLING && nc(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (H.tagNameCheck = e.CUSTOM_ELEMENT_HANDLING.tagNameCheck), e.CUSTOM_ELEMENT_HANDLING && nc(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), Cs && (bs = !1), ks && (Os = !0), Fs && (V = addToSet({}, text), ms = [], Fs.html === !0 && (addToSet(V, html$1), addToSet(ms, html)), Fs.svg === !0 && (addToSet(V, svg$1), addToSet(ms, svg), addToSet(ms, xml)), Fs.svgFilters === !0 && (addToSet(V, svgFilters), addToSet(ms, svg), addToSet(ms, xml)), Fs.mathMl === !0 && (addToSet(V, mathMl$1), addToSet(ms, mathMl), addToSet(ms, xml))), e.ADD_TAGS && (typeof e.ADD_TAGS == "function" ? vs.tagCheck = e.ADD_TAGS : (V === ps && (V = clone(V)), addToSet(V, e.ADD_TAGS, Y))), e.ADD_ATTR && (typeof e.ADD_ATTR == "function" ? vs.attributeCheck = e.ADD_ATTR : (ms === hs && (ms = clone(ms)), addToSet(ms, e.ADD_ATTR, Y))), e.ADD_URI_SAFE_ATTR && addToSet(Bs, e.ADD_URI_SAFE_ATTR, Y), e.FORBID_CONTENTS && (Is === Ls && (Is = clone(Is)), addToSet(Is, e.FORBID_CONTENTS, Y)), e.ADD_FORBID_CONTENTS && (Is === Ls && (Is = clone(Is)), addToSet(Is, e.ADD_FORBID_CONTENTS, Y)), Ns && (V["#text"] = !0), Ts && addToSet(V, [
447
+ if (!(nc && nc === e)) {
448
+ if ((!e || typeof e != "object") && (e = {}), e = clone(e), ec = tc.indexOf(e.PARSER_MEDIA_TYPE) === -1 ? "text/html" : e.PARSER_MEDIA_TYPE, Y = ec === "application/xhtml+xml" ? stringToString : stringToLowerCase, V = objectHasOwnProperty(e, "ALLOWED_TAGS") ? addToSet({}, e.ALLOWED_TAGS, Y) : hs, gs = objectHasOwnProperty(e, "ALLOWED_ATTR") ? addToSet({}, e.ALLOWED_ATTR, Y) : _s, Ys = objectHasOwnProperty(e, "ALLOWED_NAMESPACES") ? addToSet({}, e.ALLOWED_NAMESPACES, stringToString) : Xs, Hs = objectHasOwnProperty(e, "ADD_URI_SAFE_ATTR") ? addToSet(clone(Us), e.ADD_URI_SAFE_ATTR, Y) : Us, Bs = objectHasOwnProperty(e, "ADD_DATA_URI_TAGS") ? addToSet(clone(Vs), e.ADD_DATA_URI_TAGS, Y) : Vs, Rs = objectHasOwnProperty(e, "FORBID_CONTENTS") ? addToSet({}, e.FORBID_CONTENTS, Y) : zs, vs = objectHasOwnProperty(e, "FORBID_TAGS") ? addToSet({}, e.FORBID_TAGS, Y) : clone({}), ys = objectHasOwnProperty(e, "FORBID_ATTR") ? addToSet({}, e.FORBID_ATTR, Y) : clone({}), Ls = objectHasOwnProperty(e, "USE_PROFILES") ? e.USE_PROFILES : !1, xs = e.ALLOW_ARIA_ATTR !== !1, Ss = e.ALLOW_DATA_ATTR !== !1, Cs = e.ALLOW_UNKNOWN_PROTOCOLS || !1, ws = e.ALLOW_SELF_CLOSE_IN_ATTR !== !1, Ts = e.SAFE_FOR_TEMPLATES || !1, Es = e.SAFE_FOR_XML !== !1, Ds = e.WHOLE_DOCUMENT || !1, As = e.RETURN_DOM || !1, js = e.RETURN_DOM_FRAGMENT || !1, Ms = e.RETURN_TRUSTED_TYPE || !1, ks = e.FORCE_BODY || !1, Ns = e.SANITIZE_DOM !== !1, Ps = e.SANITIZE_NAMED_PROPS || !1, Fs = e.KEEP_CONTENT !== !1, Is = e.IN_PLACE || !1, ms = e.ALLOWED_URI_REGEXP || IS_ALLOWED_URI, qs = e.NAMESPACE || Ks, Zs = e.MATHML_TEXT_INTEGRATION_POINTS || Zs, Qs = e.HTML_INTEGRATION_POINTS || Qs, H = e.CUSTOM_ELEMENT_HANDLING || {}, e.CUSTOM_ELEMENT_HANDLING && ic(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (H.tagNameCheck = e.CUSTOM_ELEMENT_HANDLING.tagNameCheck), e.CUSTOM_ELEMENT_HANDLING && ic(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), Ts && (Ss = !1), js && (As = !0), Ls && (V = addToSet({}, text), gs = [], Ls.html === !0 && (addToSet(V, html$1), addToSet(gs, html)), Ls.svg === !0 && (addToSet(V, svg$1), addToSet(gs, svg), addToSet(gs, xml)), Ls.svgFilters === !0 && (addToSet(V, svgFilters), addToSet(gs, svg), addToSet(gs, xml)), Ls.mathMl === !0 && (addToSet(V, mathMl$1), addToSet(gs, mathMl), addToSet(gs, xml))), e.ADD_TAGS && (typeof e.ADD_TAGS == "function" ? bs.tagCheck = e.ADD_TAGS : (V === hs && (V = clone(V)), addToSet(V, e.ADD_TAGS, Y))), e.ADD_ATTR && (typeof e.ADD_ATTR == "function" ? bs.attributeCheck = e.ADD_ATTR : (gs === _s && (gs = clone(gs)), addToSet(gs, e.ADD_ATTR, Y))), e.ADD_URI_SAFE_ATTR && addToSet(Hs, e.ADD_URI_SAFE_ATTR, Y), e.FORBID_CONTENTS && (Rs === zs && (Rs = clone(Rs)), addToSet(Rs, e.FORBID_CONTENTS, Y)), e.ADD_FORBID_CONTENTS && (Rs === zs && (Rs = clone(Rs)), addToSet(Rs, e.ADD_FORBID_CONTENTS, Y)), Fs && (V["#text"] = !0), Ds && addToSet(V, [
449
449
  "html",
450
450
  "head",
451
451
  "body"
452
- ]), V.table && (addToSet(V, ["tbody"]), delete gs.tbody), e.TRUSTED_TYPES_POLICY) {
452
+ ]), V.table && (addToSet(V, ["tbody"]), delete vs.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
455
  A = e.TRUSTED_TYPES_POLICY, R = A.createHTML("");
456
456
  } else A === void 0 && (A = _createTrustedTypesPolicy(h, i)), A !== null && typeof R == "string" && (R = A.createHTML(""));
457
- freeze && freeze(e), ec = e;
457
+ freeze && freeze(e), nc = e;
458
458
  }
459
- }, ic = addToSet({}, [
459
+ }, oc = addToSet({}, [
460
460
  ...svg$1,
461
461
  ...svgFilters,
462
462
  ...svgDisallowed
463
- ]), ac = addToSet({}, [...mathMl$1, ...mathMlDisallowed]), oc = function(e) {
464
- let t = Qo(e);
463
+ ]), sc = addToSet({}, [...mathMl$1, ...mathMlDisallowed]), cc = function(e) {
464
+ let t = es(e);
465
465
  (!t || !t.tagName) && (t = {
466
- namespaceURI: Gs,
466
+ namespaceURI: qs,
467
467
  tagName: "template"
468
468
  });
469
469
  let n = stringToLowerCase(e.tagName), r = stringToLowerCase(t.tagName);
470
- return qs[e.namespaceURI] ? e.namespaceURI === Us ? t.namespaceURI === Ws ? n === "svg" : t.namespaceURI === Hs ? n === "svg" && (r === "annotation-xml" || Ys[r]) : !!ic[n] : e.namespaceURI === Hs ? t.namespaceURI === Ws ? n === "math" : t.namespaceURI === Us ? n === "math" && Xs[r] : !!ac[n] : e.namespaceURI === Ws ? t.namespaceURI === Us && !Xs[r] || t.namespaceURI === Hs && !Ys[r] ? !1 : !ac[n] && (Zs[n] || !ic[n]) : !!(Qs === "application/xhtml+xml" && qs[e.namespaceURI]) : !1;
471
- }, sc = function(e) {
470
+ return Ys[e.namespaceURI] ? e.namespaceURI === Gs ? t.namespaceURI === Ks ? n === "svg" : t.namespaceURI === Ws ? n === "svg" && (r === "annotation-xml" || Zs[r]) : !!oc[n] : e.namespaceURI === Ws ? t.namespaceURI === Ks ? n === "math" : t.namespaceURI === Gs ? n === "math" && Qs[r] : !!sc[n] : e.namespaceURI === Ks ? t.namespaceURI === Gs && !Qs[r] || t.namespaceURI === Ws && !Zs[r] ? !1 : !sc[n] && ($s[n] || !oc[n]) : !!(ec === "application/xhtml+xml" && Ys[e.namespaceURI]) : !1;
471
+ }, lc = function(e) {
472
472
  arrayPush(t.removed, { element: e });
473
473
  try {
474
- Qo(e).removeChild(e);
474
+ es(e).removeChild(e);
475
475
  } catch {
476
476
  O(e);
477
477
  }
478
- }, cc = function(e, n) {
478
+ }, uc = function(e, n) {
479
479
  try {
480
480
  arrayPush(t.removed, {
481
481
  attribute: n.getAttributeNode(e),
@@ -487,123 +487,123 @@ function createDOMPurify() {
487
487
  from: n
488
488
  });
489
489
  }
490
- if (n.removeAttribute(e), e === "is") if (Os || ks) try {
491
- sc(n);
490
+ if (n.removeAttribute(e), e === "is") if (As || js) try {
491
+ lc(n);
492
492
  } catch {}
493
493
  else try {
494
494
  n.setAttribute(e, "");
495
495
  } catch {}
496
- }, lc = function(e) {
496
+ }, dc = function(e) {
497
497
  let t = null, r = null;
498
- if (Ds) e = "<remove></remove>" + e;
498
+ if (ks) 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
- Qs === "application/xhtml+xml" && Gs === Ws && (e = "<html xmlns=\"http://www.w3.org/1999/xhtml\"><head></head><body>" + e + "</body></html>");
503
+ ec === "application/xhtml+xml" && qs === Ks && (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 (Gs === Ws) try {
506
- t = new p().parseFromString(i, Qs);
505
+ if (qs === Ks) try {
506
+ t = new p().parseFromString(i, ec);
507
507
  } catch {}
508
508
  if (!t || !t.documentElement) {
509
- t = $o.createDocument(Gs, "template", null);
509
+ t = ts.createDocument(qs, "template", null);
510
510
  try {
511
- t.documentElement.innerHTML = Ks ? R : i;
511
+ t.documentElement.innerHTML = Js ? R : 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), Gs === Ws ? ns.call(t, Ts ? "html" : "body")[0] : Ts ? t.documentElement : a;
516
- }, uc = function(e) {
517
- return es.call(e.ownerDocument || e, e, l.SHOW_ELEMENT | l.SHOW_COMMENT | l.SHOW_TEXT | l.SHOW_PROCESSING_INSTRUCTION | l.SHOW_CDATA_SECTION, null);
518
- }, dc = 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");
515
+ return e && r && a.insertBefore(n.createTextNode(r), a.childNodes[0] || null), qs === Ks ? is.call(t, Ds ? "html" : "body")[0] : Ds ? t.documentElement : a;
520
516
  }, fc = function(e) {
517
+ return ns.call(e.ownerDocument || e, e, l.SHOW_ELEMENT | l.SHOW_COMMENT | l.SHOW_TEXT | l.SHOW_PROCESSING_INSTRUCTION | l.SHOW_CDATA_SECTION, null);
518
+ }, pc = 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
+ }, mc = function(e) {
521
521
  return typeof s == "function" && e instanceof s;
522
522
  };
523
- function pc(e, n, r) {
523
+ function hc(e, n, r) {
524
524
  arrayForEach(e, (e) => {
525
- e.call(t, n, r, ec);
525
+ e.call(t, n, r, nc);
526
526
  });
527
527
  }
528
- let mc = function(e) {
528
+ let gc = function(e) {
529
529
  let n = null;
530
- if (pc(B.beforeSanitizeElements, e, null), dc(e)) return sc(e), !0;
530
+ if (hc(B.beforeSanitizeElements, e, null), pc(e)) return lc(e), !0;
531
531
  let r = Y(e.nodeName);
532
- if (pc(B.uponSanitizeElement, e, {
532
+ if (hc(B.uponSanitizeElement, e, {
533
533
  tagName: r,
534
534
  allowedTags: V
535
- }), ws && e.hasChildNodes() && !fc(e.firstElementChild) && regExpTest(/<[/\w!]/g, e.innerHTML) && regExpTest(/<[/\w!]/g, e.textContent) || e.nodeType === NODE_TYPE.progressingInstruction || ws && e.nodeType === NODE_TYPE.comment && regExpTest(/<[/\w]/g, e.data)) return sc(e), !0;
536
- if (!(vs.tagCheck instanceof Function && vs.tagCheck(r)) && (!V[r] || gs[r])) {
537
- if (!gs[r] && gc(r) && (H.tagNameCheck instanceof RegExp && regExpTest(H.tagNameCheck, r) || H.tagNameCheck instanceof Function && H.tagNameCheck(r))) return !1;
538
- if (Ns && !Is[r]) {
539
- let t = Qo(e) || e.parentNode, n = Zo(e) || e.childNodes;
535
+ }), Es && e.hasChildNodes() && !mc(e.firstElementChild) && regExpTest(/<[/\w!]/g, e.innerHTML) && regExpTest(/<[/\w!]/g, e.textContent) || e.nodeType === NODE_TYPE.progressingInstruction || Es && e.nodeType === NODE_TYPE.comment && regExpTest(/<[/\w]/g, e.data)) return lc(e), !0;
536
+ if (!(bs.tagCheck instanceof Function && bs.tagCheck(r)) && (!V[r] || vs[r])) {
537
+ if (!vs[r] && vc(r) && (H.tagNameCheck instanceof RegExp && regExpTest(H.tagNameCheck, r) || H.tagNameCheck instanceof Function && H.tagNameCheck(r))) return !1;
538
+ if (Fs && !Rs[r]) {
539
+ let t = es(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, Xo(e));
544
+ r.__removalCount = (e.__removalCount || 0) + 1, t.insertBefore(r, Qo(e));
545
545
  }
546
546
  }
547
547
  }
548
- return sc(e), !0;
548
+ return lc(e), !0;
549
549
  }
550
- return e instanceof c && !oc(e) || (r === "noscript" || r === "noembed" || r === "noframes") && regExpTest(/<\/no(script|embed|frames)/i, e.innerHTML) ? (sc(e), !0) : (Cs && e.nodeType === NODE_TYPE.text && (n = e.textContent, arrayForEach([
551
- is,
552
- as,
553
- os
550
+ return e instanceof c && !cc(e) || (r === "noscript" || r === "noembed" || r === "noframes") && regExpTest(/<\/no(script|embed|frames)/i, e.innerHTML) ? (lc(e), !0) : (Ts && e.nodeType === NODE_TYPE.text && (n = e.textContent, arrayForEach([
551
+ os,
552
+ ss,
553
+ cs
554
554
  ], (e) => {
555
555
  n = stringReplace(n, e, " ");
556
- }), e.textContent !== n && (arrayPush(t.removed, { element: e.cloneNode() }), e.textContent = n)), pc(B.afterSanitizeElements, e, null), !1);
557
- }, hc = function(e, t, r) {
558
- if (js && (t === "id" || t === "name") && (r in n || r in tc)) return !1;
559
- if (!(bs && !_s[t] && regExpTest(ss, t)) && !(ys && regExpTest(cs, t)) && !(vs.attributeCheck instanceof Function && vs.attributeCheck(t, e))) {
560
- if (!ms[t] || _s[t]) {
561
- if (!(gc(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 (!Bs[t] && !regExpTest(fs, stringReplace(r, us, "")) && !((t === "src" || t === "xlink:href" || t === "href") && e !== "script" && stringIndexOf(r, "data:") === 0 && Rs[e]) && !(xs && !regExpTest(ls, stringReplace(r, us, ""))) && r) return !1;
556
+ }), e.textContent !== n && (arrayPush(t.removed, { element: e.cloneNode() }), e.textContent = n)), hc(B.afterSanitizeElements, e, null), !1);
557
+ }, _c = function(e, t, r) {
558
+ if (Ns && (t === "id" || t === "name") && (r in n || r in rc)) return !1;
559
+ if (!(Ss && !ys[t] && regExpTest(ls, t)) && !(xs && regExpTest(us, t)) && !(bs.attributeCheck instanceof Function && bs.attributeCheck(t, e))) {
560
+ if (!gs[t] || ys[t]) {
561
+ if (!(vc(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 (!Hs[t] && !regExpTest(ms, stringReplace(r, fs, "")) && !((t === "src" || t === "xlink:href" || t === "href") && e !== "script" && stringIndexOf(r, "data:") === 0 && Bs[e]) && !(Cs && !regExpTest(ds, stringReplace(r, fs, ""))) && r) return !1;
563
563
  }
564
564
  return !0;
565
- }, gc = function(e) {
566
- return e !== "annotation-xml" && stringMatch(e, ds);
567
- }, _c = function(e) {
568
- pc(B.beforeSanitizeAttributes, e, null);
565
+ }, vc = function(e) {
566
+ return e !== "annotation-xml" && stringMatch(e, ps);
567
+ }, yc = function(e) {
568
+ hc(B.beforeSanitizeAttributes, e, null);
569
569
  let { attributes: n } = e;
570
- if (!n || dc(e)) return;
570
+ if (!n || pc(e)) return;
571
571
  let r = {
572
572
  attrName: "",
573
573
  attrValue: "",
574
574
  keepAttr: !0,
575
- allowedAttributes: ms,
575
+ allowedAttributes: gs,
576
576
  forceKeepAttr: void 0
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, pc(B.uponSanitizeAttribute, e, r), u = r.attrValue, Ms && (c === "id" || c === "name") && (cc(a, e), u = "user-content-" + u), ws && regExpTest(/((--!?|])>)|<\/(style|title|textarea)/i, u)) {
581
- cc(a, e);
580
+ if (r.attrName = c, r.attrValue = u, r.keepAttr = !0, r.forceKeepAttr = void 0, hc(B.uponSanitizeAttribute, e, r), u = r.attrValue, Ps && (c === "id" || c === "name") && (uc(a, e), u = "user-content-" + u), Es && regExpTest(/((--!?|])>)|<\/(style|title|textarea)/i, u)) {
581
+ uc(a, e);
582
582
  continue;
583
583
  }
584
584
  if (c === "attributename" && stringMatch(u, "href")) {
585
- cc(a, e);
585
+ uc(a, e);
586
586
  continue;
587
587
  }
588
588
  if (r.forceKeepAttr) continue;
589
589
  if (!r.keepAttr) {
590
- cc(a, e);
590
+ uc(a, e);
591
591
  continue;
592
592
  }
593
- if (!Ss && regExpTest(/\/>/i, u)) {
594
- cc(a, e);
593
+ if (!ws && regExpTest(/\/>/i, u)) {
594
+ uc(a, e);
595
595
  continue;
596
596
  }
597
- Cs && arrayForEach([
598
- is,
599
- as,
600
- os
597
+ Ts && arrayForEach([
598
+ os,
599
+ ss,
600
+ cs
601
601
  ], (e) => {
602
602
  u = stringReplace(u, e, " ");
603
603
  });
604
604
  let f = Y(e.nodeName);
605
- if (!hc(f, c, u)) {
606
- cc(a, e);
605
+ if (!_c(f, c, u)) {
606
+ uc(a, e);
607
607
  continue;
608
608
  }
609
609
  if (A && typeof h == "object" && typeof h.getAttributeType == "function" && !o) switch (h.getAttributeType(f, c)) {
@@ -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), dc(e) ? sc(e) : arrayPop(t.removed);
618
+ o ? e.setAttributeNS(o, a, u) : e.setAttribute(a, u), pc(e) ? lc(e) : arrayPop(t.removed);
619
619
  } catch {
620
- cc(a, e);
620
+ uc(a, e);
621
621
  }
622
622
  }
623
- pc(B.afterSanitizeAttributes, e, null);
624
- }, vc = function e(t) {
625
- let n = null, r = uc(t);
626
- for (pc(B.beforeSanitizeShadowDOM, t, null); n = r.nextNode();) pc(B.uponSanitizeShadowNode, n, null), mc(n), _c(n), n.content instanceof a && e(n.content);
627
- pc(B.afterSanitizeShadowDOM, t, null);
623
+ hc(B.afterSanitizeAttributes, e, null);
624
+ }, bc = function e(t) {
625
+ let n = null, r = fc(t);
626
+ for (hc(B.beforeSanitizeShadowDOM, t, null); n = r.nextNode();) hc(B.uponSanitizeShadowNode, n, null), gc(n), yc(n), n.content instanceof a && e(n.content);
627
+ hc(B.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 (Ks = !e, Ks && (e = "<!-->"), typeof e != "string" && !fc(e)) if (typeof e.toString == "function") {
631
+ if (Js = !e, Js && (e = "<!-->"), typeof e != "string" && !mc(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 (Es || rc(n), t.removed = [], typeof e == "string" && (Ps = !1), Ps) {
635
+ if (Os || ac(n), t.removed = [], typeof e == "string" && (Is = !1), Is) {
636
636
  if (e.nodeName) {
637
637
  let t = Y(e.nodeName);
638
- if (!V[t] || gs[t]) throw typeErrorCreate("root node is forbidden and cannot be sanitized in-place");
638
+ if (!V[t] || vs[t]) throw typeErrorCreate("root node is forbidden and cannot be sanitized in-place");
639
639
  }
640
- } else if (e instanceof s) i = lc("<!---->"), 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 = dc("<!---->"), 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 (!Os && !Cs && !Ts && e.indexOf("<") === -1) return A && As ? A.createHTML(e) : e;
643
- if (i = lc(e), !i) return Os ? null : As ? R : "";
642
+ if (!As && !Ts && !Ds && e.indexOf("<") === -1) return A && Ms ? A.createHTML(e) : e;
643
+ if (i = dc(e), !i) return As ? null : Ms ? R : "";
644
644
  }
645
- i && Ds && sc(i.firstChild);
646
- let u = uc(Ps ? e : i);
647
- for (; c = u.nextNode();) mc(c), _c(c), c.content instanceof a && vc(c.content);
648
- if (Ps) return e;
649
- if (Os) {
650
- if (ks) for (l = ts.call(i.ownerDocument); i.firstChild;) l.appendChild(i.firstChild);
645
+ i && ks && lc(i.firstChild);
646
+ let u = fc(Is ? e : i);
647
+ for (; c = u.nextNode();) gc(c), yc(c), c.content instanceof a && bc(c.content);
648
+ if (Is) return e;
649
+ if (As) {
650
+ if (js) for (l = rs.call(i.ownerDocument); i.firstChild;) l.appendChild(i.firstChild);
651
651
  else l = i;
652
- return (ms.shadowroot || ms.shadowrootmode) && (l = rs.call(r, l, !0)), l;
652
+ return (gs.shadowroot || gs.shadowrootmode) && (l = as.call(r, l, !0)), l;
653
653
  }
654
- let f = Ts ? i.outerHTML : i.innerHTML;
655
- return Ts && V["!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), Cs && arrayForEach([
656
- is,
657
- as,
658
- os
654
+ let f = Ds ? i.outerHTML : i.innerHTML;
655
+ return Ds && V["!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), Ts && arrayForEach([
656
+ os,
657
+ ss,
658
+ cs
659
659
  ], (e) => {
660
660
  f = stringReplace(f, e, " ");
661
- }), A && As ? A.createHTML(f) : f;
661
+ }), A && Ms ? A.createHTML(f) : f;
662
662
  }, t.setConfig = function() {
663
- rc(arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}), Es = !0;
663
+ ac(arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}), Os = !0;
664
664
  }, t.clearConfig = function() {
665
- ec = null, Es = !1;
665
+ nc = null, Os = !1;
666
666
  }, t.isValidAttribute = function(e, t, n) {
667
- return ec || rc({}), hc(Y(e), Y(t), n);
667
+ return nc || ac({}), _c(Y(e), Y(t), n);
668
668
  }, t.addHook = function(e, t) {
669
669
  typeof t == "function" && arrayPush(B[e], t);
670
670
  }, t.removeHook = function(e, t) {
@@ -21372,15 +21372,15 @@ 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, openOnHover: c = !0, open: u, onOpenChange: p }) {
21375
- let g = u !== void 0, [O, A] = useState(!1), R = g ? u : O, $o = useCallback((e) => {
21375
+ let g = u !== void 0, [O, A] = useState(!1), R = g ? u : O, ts = useCallback((e) => {
21376
21376
  e !== R && (g || A(e), p?.(e));
21377
21377
  }, [
21378
21378
  R,
21379
21379
  g,
21380
21380
  p
21381
- ]), es = useRef(null), ts = useRef(null), ns = useRef(null), [rs, B] = useState(null), is = useCallback(() => {
21382
- if (!es.current || !ts.current) return;
21383
- let e = es.current.getBoundingClientRect(), t = ts.current.getBoundingClientRect(), o = e.left;
21381
+ ]), ns = useRef(null), rs = useRef(null), is = useRef(null), [as, B] = useState(null), os = useCallback(() => {
21382
+ if (!ns.current || !rs.current) return;
21383
+ let e = ns.current.getBoundingClientRect(), t = rs.current.getBoundingClientRect(), o = e.left;
21384
21384
  n === "end" ? o = e.right - t.width : n === "center" && (o = e.left + (e.width - t.width) / 2), o += i;
21385
21385
  let s;
21386
21386
  s = r === "bottom" ? e.bottom + a : e.top - t.height + a, queueMicrotask(() => B({
@@ -21394,52 +21394,52 @@ function Dropdown({ trigger: e, children: t, align: n = "start", side: r = "bott
21394
21394
  a
21395
21395
  ]);
21396
21396
  useLayoutEffect(() => {
21397
- R && is();
21398
- }, [R, is]), useEffect(() => {
21397
+ R && os();
21398
+ }, [R, os]), useEffect(() => {
21399
21399
  if (!R) return;
21400
- let e = () => is();
21400
+ let e = () => os();
21401
21401
  return window.addEventListener("resize", e), window.addEventListener("scroll", e, !0), () => {
21402
21402
  window.removeEventListener("resize", e), window.removeEventListener("scroll", e, !0);
21403
21403
  };
21404
- }, [R, is]);
21405
- let as = useCallback(() => {
21406
- ns.current &&= (clearTimeout(ns.current), null), $o(!0);
21407
- }, [$o]), os = useCallback(() => {
21408
- ns.current = window.setTimeout(() => {
21409
- $o(!1);
21404
+ }, [R, os]);
21405
+ let ss = useCallback(() => {
21406
+ is.current &&= (clearTimeout(is.current), null), ts(!0);
21407
+ }, [ts]), cs = useCallback(() => {
21408
+ is.current = window.setTimeout(() => {
21409
+ ts(!1);
21410
21410
  }, 120);
21411
- }, [$o]);
21411
+ }, [ts]);
21412
21412
  return useEffect(() => {
21413
21413
  function e(e) {
21414
21414
  let t = e.target;
21415
- es.current?.contains(t) || ts.current?.contains(t) || $o(!1);
21415
+ ns.current?.contains(t) || rs.current?.contains(t) || ts(!1);
21416
21416
  }
21417
21417
  return document.addEventListener("mousedown", e), () => document.removeEventListener("mousedown", e);
21418
- }, [$o]), useEffect(() => () => {
21419
- ns.current && clearTimeout(ns.current);
21418
+ }, [ts]), useEffect(() => () => {
21419
+ is.current && clearTimeout(is.current);
21420
21420
  }, []), /* @__PURE__ */ jsxs(DropdownContext.Provider, {
21421
21421
  value: {
21422
- close: () => $o(!1),
21423
- open: as
21422
+ close: () => ts(!1),
21423
+ open: ss
21424
21424
  },
21425
21425
  children: [/* @__PURE__ */ jsx("div", {
21426
- ref: es,
21426
+ ref: ns,
21427
21427
  className: "inline-flex",
21428
- onMouseEnter: c ? as : void 0,
21429
- onMouseLeave: c ? os : void 0,
21430
- onClick: () => $o(!R),
21428
+ onMouseEnter: c ? ss : void 0,
21429
+ onMouseLeave: c ? cs : void 0,
21430
+ onClick: () => ts(!R),
21431
21431
  "aria-haspopup": "menu",
21432
21432
  "aria-expanded": R,
21433
21433
  children: e
21434
21434
  }), R && !o && createPortal(/* @__PURE__ */ jsx("div", {
21435
- ref: ts,
21436
- onMouseEnter: c ? as : void 0,
21437
- onMouseLeave: c ? os : void 0,
21435
+ ref: rs,
21436
+ onMouseEnter: c ? ss : void 0,
21437
+ onMouseLeave: c ? cs : void 0,
21438
21438
  style: {
21439
21439
  position: "fixed",
21440
- top: rs?.top ?? 0,
21441
- left: rs?.left ?? 0,
21442
- visibility: rs ? "visible" : "hidden",
21440
+ top: as?.top ?? 0,
21441
+ left: as?.left ?? 0,
21442
+ visibility: as ? "visible" : "hidden",
21443
21443
  zIndex: 1e3
21444
21444
  },
21445
21445
  children: t
@@ -23005,13 +23005,13 @@ function OnboardingEngine({ steps: e, context: t, storageKey: n, isEnabled: r =
23005
23005
  e,
23006
23006
  o,
23007
23007
  t
23008
- ]), h = u?.step ?? null, g = u?.index ?? null, Zo = useCallback((e) => {
23008
+ ]), h = u?.step ?? null, g = u?.index ?? null, $o = useCallback((e) => {
23009
23009
  c((t) => {
23010
23010
  if (t.has(e)) return t;
23011
23011
  let n = new Set(t);
23012
23012
  return n.add(e), n;
23013
23013
  });
23014
- }, []), Qo = useCallback(() => {
23014
+ }, []), es = useCallback(() => {
23015
23015
  c((n) => {
23016
23016
  let r = findActiveStep(e, n, t);
23017
23017
  if (r == null || n.has(r.step.id)) return n;
@@ -23027,13 +23027,13 @@ function OnboardingEngine({ steps: e, context: t, storageKey: n, isEnabled: r =
23027
23027
  currentStepIndex: g,
23028
23028
  dismissedStepIds: o,
23029
23029
  actions: useMemo(() => ({
23030
- dismissCurrentStep: Qo,
23031
- dismissStep: Zo,
23030
+ dismissCurrentStep: es,
23031
+ dismissStep: $o,
23032
23032
  skipAll: A,
23033
23033
  close: A
23034
23034
  }), [
23035
- Qo,
23036
- Zo,
23035
+ es,
23036
+ $o,
23037
23037
  A
23038
23038
  ])
23039
23039
  }) });
@@ -23247,13 +23247,13 @@ function Toaster() {
23247
23247
  useEffect(() => toastStore.subscribe(t), []);
23248
23248
  let A = useSyncExternalStore(subscribeNoop$1, getClientSnapshot$1, getServerSnapshot$1), R = useCallback((e) => {
23249
23249
  e.callbacks?.onOpen?.();
23250
- }, []), $o = useCallback((e, t) => {
23250
+ }, []), ts = useCallback((e, t) => {
23251
23251
  t === "manual" ? e.callbacks?.onClose?.() : (t === "timeout" || t === "replaced") && e.callbacks?.onAutoClose?.(), e.callbacks?.onDismiss?.(t);
23252
23252
  }, []);
23253
23253
  useEffect(() => {
23254
23254
  let t = new Set(e.map((e) => e.id)), n = new Map(e.map((e) => [e.id, e])), s = i.current;
23255
23255
  o.current.filter((e) => !t.has(e.id) && e.animationState !== "exiting").forEach((e) => {
23256
- $o(e, a.current.get(e.id) ?? toastStore.consumePendingDismissReason(e.id) ?? "timeout"), a.current.delete(e.id);
23256
+ ts(e, a.current.get(e.id) ?? toastStore.consumePendingDismissReason(e.id) ?? "timeout"), a.current.delete(e.id);
23257
23257
  }), r((r) => {
23258
23258
  let i = r.map((e) => {
23259
23259
  let t = n.get(e.id);
@@ -23271,19 +23271,19 @@ function Toaster() {
23271
23271
  }, [
23272
23272
  e,
23273
23273
  R,
23274
- $o
23274
+ ts
23275
23275
  ]);
23276
- let es = useCallback((e) => {
23276
+ let ns = useCallback((e) => {
23277
23277
  r((t) => {
23278
23278
  let n = t.filter((t) => t.id !== e);
23279
23279
  return o.current = n, n;
23280
23280
  }), p(e), toastStore.cleanup(e);
23281
- }, [p]), ts = useCallback((e) => {
23281
+ }, [p]), rs = useCallback((e) => {
23282
23282
  a.current.set(e, "manual"), toastStore.remove(e);
23283
23283
  }, []);
23284
23284
  if (!A) return null;
23285
- let ns = groupByPosition(n);
23286
- return createPortal(/* @__PURE__ */ jsx(Fragment$1, { children: Object.entries(ns).map(([e, t]) => {
23285
+ let is = groupByPosition(n);
23286
+ return createPortal(/* @__PURE__ */ jsx(Fragment$1, { children: Object.entries(is).map(([e, t]) => {
23287
23287
  let n = t.filter((e) => e.singleSlot), r = t.filter((e) => !e.singleSlot), i = n.length > 0 ? /* @__PURE__ */ jsx("div", {
23288
23288
  className: cn("isolate inline-grid max-w-[min(100vw,100%)] grid-cols-1 grid-rows-1", SINGLE_SLOT_PLACE[e]),
23289
23289
  children: n.map((e, t) => /* @__PURE__ */ jsx("div", {
@@ -23292,8 +23292,8 @@ function Toaster() {
23292
23292
  children: /* @__PURE__ */ jsx(ToastWrapper, {
23293
23293
  toast: e,
23294
23294
  remainingTime: c.get(e.id) ?? e.duration,
23295
- onExitComplete: es,
23296
- onClose: ts,
23295
+ onExitComplete: ns,
23296
+ onClose: rs,
23297
23297
  onHoverStart: u,
23298
23298
  onHoverEnd: f
23299
23299
  })
@@ -23301,8 +23301,8 @@ function Toaster() {
23301
23301
  }) : null, a = r.map((e) => /* @__PURE__ */ jsx(ToastWrapper, {
23302
23302
  toast: e,
23303
23303
  remainingTime: c.get(e.id) ?? e.duration,
23304
- onExitComplete: es,
23305
- onClose: ts,
23304
+ onExitComplete: ns,
23305
+ onClose: rs,
23306
23306
  onHoverStart: u,
23307
23307
  onHoverEnd: f
23308
23308
  }, e.id));
@@ -23520,7 +23520,7 @@ function BulkActions({ totalItems: e = 0, selectedItems: t = 0, onSelectAll: n,
23520
23520
  function g(e) {
23521
23521
  p(e), a?.(e);
23522
23522
  }
23523
- let Qo = {
23523
+ let es = {
23524
23524
  fire: [{
23525
23525
  id: "fire",
23526
23526
  tooltip: "Mark as fire",
@@ -23601,7 +23601,7 @@ function BulkActions({ totalItems: e = 0, selectedItems: t = 0, onSelectAll: n,
23601
23601
  }),
23602
23602
  /* @__PURE__ */ jsx("div", {
23603
23603
  className: "flex items-center divide-x divide-neutral-400-variant-1",
23604
- children: t > 0 && /* @__PURE__ */ jsx(Fragment$1, { children: Object.entries(Qo).map(([e, t]) => /* @__PURE__ */ jsx("div", {
23604
+ children: t > 0 && /* @__PURE__ */ jsx(Fragment$1, { children: Object.entries(es).map(([e, t]) => /* @__PURE__ */ jsx("div", {
23605
23605
  className: "gap-2 px-1 flex items-center",
23606
23606
  children: t.map((e) => /* @__PURE__ */ jsx(InfoTooltip, {
23607
23607
  content: e.tooltip,
@@ -23878,14 +23878,14 @@ function IconCountButton({ icon: e, label: t, count: n, variant: r = "primary",
23878
23878
  variant: r,
23879
23879
  orientation: i,
23880
23880
  status: a
23881
- }), Qo = useRef(null), [A, R] = useState(!1), [$o, es] = useState(!1), [ts, ns] = useState(l), [rs, B] = useState(null), is = c ?? ts, as = s && (A || $o || is), os = typeof n == "number" && n > 0 && (o || a === "active");
23882
- function ss(e) {
23883
- c === void 0 && ns(e), u?.(e);
23881
+ }), es = useRef(null), [A, R] = useState(!1), [ts, ns] = useState(!1), [rs, is] = useState(l), [as, B] = useState(null), os = c ?? rs, ss = s && (A || ts || os), cs = typeof n == "number" && n > 0 && (o || a === "active");
23882
+ function ls(e) {
23883
+ c === void 0 && is(e), u?.(e);
23884
23884
  }
23885
23885
  return useLayoutEffect(() => {
23886
- if (!as || !Qo.current) return;
23886
+ if (!ss || !es.current) return;
23887
23887
  function e() {
23888
- let e = Qo.current?.getBoundingClientRect();
23888
+ let e = es.current?.getBoundingClientRect();
23889
23889
  e && B({
23890
23890
  top: e.top - 8,
23891
23891
  left: e.right - 12
@@ -23894,7 +23894,7 @@ function IconCountButton({ icon: e, label: t, count: n, variant: r = "primary",
23894
23894
  return e(), window.addEventListener("resize", e), window.addEventListener("scroll", e, !0), () => {
23895
23895
  window.removeEventListener("resize", e), window.removeEventListener("scroll", e, !0);
23896
23896
  };
23897
- }, [as]), /* @__PURE__ */ jsxs(Button, {
23897
+ }, [ss]), /* @__PURE__ */ jsxs(Button, {
23898
23898
  ...g,
23899
23899
  className: cn(O.root(), p?.root),
23900
23900
  onMouseEnter: () => R(!0),
@@ -23902,20 +23902,20 @@ function IconCountButton({ icon: e, label: t, count: n, variant: r = "primary",
23902
23902
  children: [/* @__PURE__ */ jsxs("div", {
23903
23903
  className: "relative",
23904
23904
  children: [/* @__PURE__ */ jsx("div", {
23905
- ref: Qo,
23905
+ ref: es,
23906
23906
  className: cn(O.bubble(), p?.bubble),
23907
23907
  children: renderIcon(e, O.icon())
23908
- }), as && rs && typeof document < "u" && ToggleControlPortal({
23909
- isPressed: is,
23910
- isPortalHovered: $o,
23911
- portalPosition: rs,
23912
- onMouseEnter: () => es(!0),
23913
- onMouseLeave: () => es(!1),
23914
- onToggle: () => ss(!is)
23908
+ }), ss && as && typeof document < "u" && ToggleControlPortal({
23909
+ isPressed: os,
23910
+ isPortalHovered: ts,
23911
+ portalPosition: as,
23912
+ onMouseEnter: () => ns(!0),
23913
+ onMouseLeave: () => ns(!1),
23914
+ onToggle: () => ls(!os)
23915
23915
  })]
23916
23916
  }), /* @__PURE__ */ jsxs("div", {
23917
23917
  className: cn(O.label(), p?.label),
23918
- children: [/* @__PURE__ */ jsx("span", { children: t }), os && /* @__PURE__ */ jsxs("span", {
23918
+ children: [/* @__PURE__ */ jsx("span", { children: t }), cs && /* @__PURE__ */ jsxs("span", {
23919
23919
  "aria-label": `${n} items`,
23920
23920
  className: cn(O.count(), p?.count),
23921
23921
  children: [
@@ -23975,7 +23975,7 @@ function CalendarPanel({ mode: e, selectedDate: t, selectedRange: n, onDateSelec
23975
23975
  t,
23976
23976
  n
23977
23977
  ]);
23978
- let Qo = useMemo(() => generateCalendarDays(g.year, g.month), [g.year, g.month]);
23978
+ let es = useMemo(() => generateCalendarDays(g.year, g.month), [g.year, g.month]);
23979
23979
  function A(t) {
23980
23980
  let o = t.getMonth(), s = t.getFullYear();
23981
23981
  if ((o !== g.month || s !== g.year) && O({
@@ -24002,7 +24002,7 @@ function CalendarPanel({ mode: e, selectedDate: t, selectedRange: n, onDateSelec
24002
24002
  month: e.month - 1
24003
24003
  });
24004
24004
  }
24005
- function $o() {
24005
+ function ts() {
24006
24006
  O((e) => e.month === 11 ? {
24007
24007
  year: e.year + 1,
24008
24008
  month: 0
@@ -24011,7 +24011,7 @@ function CalendarPanel({ mode: e, selectedDate: t, selectedRange: n, onDateSelec
24011
24011
  month: e.month + 1
24012
24012
  });
24013
24013
  }
24014
- let es = getWeekdays();
24014
+ let ns = getWeekdays();
24015
24015
  return /* @__PURE__ */ jsxs("div", {
24016
24016
  className: "mt-1 rounded-lg p-2 shadow-lg w-fit border border-neutral-400 bg-white",
24017
24017
  children: [
@@ -24040,7 +24040,7 @@ function CalendarPanel({ mode: e, selectedDate: t, selectedRange: n, onDateSelec
24040
24040
  direction: "right",
24041
24041
  size: 20
24042
24042
  }),
24043
- onClick: $o,
24043
+ onClick: ts,
24044
24044
  className: "hover:opacity-60",
24045
24045
  "aria-label": "Next month"
24046
24046
  })
@@ -24048,17 +24048,17 @@ function CalendarPanel({ mode: e, selectedDate: t, selectedRange: n, onDateSelec
24048
24048
  }),
24049
24049
  /* @__PURE__ */ jsx("div", {
24050
24050
  className: "mb-2 grid grid-cols-7",
24051
- children: es.map((e) => /* @__PURE__ */ jsx("div", {
24051
+ children: ns.map((e) => /* @__PURE__ */ jsx("div", {
24052
24052
  className: "p-0.5 font-bold flex items-center justify-center text-[9px] text-neutral-900",
24053
24053
  children: e
24054
24054
  }, e))
24055
24055
  }),
24056
24056
  /* @__PURE__ */ jsx("div", {
24057
24057
  className: "grid grid-cols-7",
24058
- children: Qo.map(({ day: r, date: i, isCurrentMonth: a }) => {
24059
- let o = isToday(i), l = e === "single" && t && isSameDay(i, t), { startDate: u, endDate: f } = n, p = u && isSameDay(i, u), h = f && isSameDay(i, f), Yo = u, g = s;
24060
- e === "range" && u && !f && s && !isDateBefore(s, u) ? (Yo = u, g = s) : (Yo = null, g = null);
24061
- let O = e === "range" && (isDateInRange(i, u, f) || isDateInRange(i, Yo, g)), Zo = l || p || h;
24058
+ children: es.map(({ day: r, date: i, isCurrentMonth: a }) => {
24059
+ let o = isToday(i), l = e === "single" && t && isSameDay(i, t), { startDate: u, endDate: f } = n, p = u && isSameDay(i, u), h = f && isSameDay(i, f), Zo = u, g = s;
24060
+ e === "range" && u && !f && s && !isDateBefore(s, u) ? (Zo = u, g = s) : (Zo = null, g = null);
24061
+ let O = e === "range" && (isDateInRange(i, u, f) || isDateInRange(i, Zo, g)), $o = l || p || h;
24062
24062
  return /* @__PURE__ */ jsx(Button, {
24063
24063
  type: "button",
24064
24064
  onClick: () => A(i),
@@ -24070,9 +24070,9 @@ function CalendarPanel({ mode: e, selectedDate: t, selectedRange: n, onDateSelec
24070
24070
  },
24071
24071
  className: "p-0.5",
24072
24072
  "aria-label": `Select ${formatDate(i)}`,
24073
- "aria-selected": Zo || void 0,
24073
+ "aria-selected": $o || void 0,
24074
24074
  children: /* @__PURE__ */ jsx("div", {
24075
- className: cn("rounded flex h-[26px] w-[26px] items-center justify-center text-[9px] transition-colors", Zo && "font-semibold bg-primary-500 text-white-variant-1 hover:bg-primary-500", O && !Zo && "font-normal bg-primary-500/20 text-neutral-900 hover:bg-primary-500/30", o && !Zo && !O && "font-bold border border-primary-500 bg-primary-500/15 hover:bg-primary-500 hover:text-white", !Zo && !O && (a ? "text-neutral-900 hover:bg-neutral-300" : "text-neutral-600 hover:bg-neutral-200")),
24075
+ className: cn("rounded flex h-[26px] w-[26px] items-center justify-center text-[9px] transition-colors", $o && "font-semibold bg-primary-500 text-white-variant-1 hover:bg-primary-500", O && !$o && "font-normal bg-primary-500/20 text-neutral-900 hover:bg-primary-500/30", o && !$o && !O && "font-bold border border-primary-500 bg-primary-500/15 hover:bg-primary-500 hover:text-white", !$o && !O && (a ? "text-neutral-900 hover:bg-neutral-300" : "text-neutral-600 hover:bg-neutral-200")),
24076
24076
  children: r
24077
24077
  })
24078
24078
  }, `${i.getFullYear()}-${i.getMonth()}-${r}`);
@@ -24140,7 +24140,7 @@ function DatePicker({ mode: e = "single", value: t, defaultValue: n, onChange: r
24140
24140
  function g(t) {
24141
24141
  e === "range" && (u || l(t), r?.(t));
24142
24142
  }
24143
- function Zo() {
24143
+ function $o() {
24144
24144
  e === "single" ? h(null) : g({
24145
24145
  startDate: null,
24146
24146
  endDate: null
@@ -24151,7 +24151,7 @@ function DatePicker({ mode: e = "single", value: t, defaultValue: n, onChange: r
24151
24151
  displayText: e === "single" ? formatDate(f) : formatDateRange(p.startDate, p.endDate),
24152
24152
  disabled: i,
24153
24153
  className: a,
24154
- onClear: Zo
24154
+ onClear: $o
24155
24155
  }),
24156
24156
  disabled: i,
24157
24157
  children: /* @__PURE__ */ jsx(CalendarPanel, {
@@ -24365,7 +24365,7 @@ function EventActionsList({ actions: e, className: t }) {
24365
24365
  }) })
24366
24366
  });
24367
24367
  }
24368
- 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: h = {}, actions: Yo = {}, density: g = "normal", className: O, style: Qo, isPriority: A, isDone: R }) {
24368
+ 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: h = {}, actions: Zo = {}, density: g = "normal", className: O, style: es, isPriority: A, isDone: R }) {
24369
24369
  return /* @__PURE__ */ jsx(Card, {
24370
24370
  as: Pressable,
24371
24371
  onPress: u,
@@ -24374,7 +24374,7 @@ function EventCard({ icon: e, service: t, sender: n, title: r, content: i, times
24374
24374
  state: l ? "selected" : c ? "read" : "unread",
24375
24375
  density: g
24376
24376
  }), O),
24377
- style: Qo,
24377
+ style: es,
24378
24378
  "data-service": t,
24379
24379
  children: g === "normal" ? /* @__PURE__ */ jsxs(CardLayout, {
24380
24380
  className: "gap-x-2 gap-y-1",
@@ -24412,7 +24412,7 @@ function EventCard({ icon: e, service: t, sender: n, title: r, content: i, times
24412
24412
  /* @__PURE__ */ jsxs(CardFooter, {
24413
24413
  className: "mt-3 gap-1 grid grid-cols-[minmax(0,1fr)_auto] items-center",
24414
24414
  children: [/* @__PURE__ */ jsx(EventStatusesList, { statusBadges: h }), /* @__PURE__ */ jsx(EventActionsList, {
24415
- actions: Yo,
24415
+ actions: Zo,
24416
24416
  className: "col-start-2 justify-self-end"
24417
24417
  })]
24418
24418
  })
@@ -24451,7 +24451,7 @@ function EventCard({ icon: e, service: t, sender: n, title: r, content: i, times
24451
24451
  ]
24452
24452
  }),
24453
24453
  /* @__PURE__ */ jsx("div", { className: "flex-1" }),
24454
- /* @__PURE__ */ jsx(EventActionsList, { actions: Yo }),
24454
+ /* @__PURE__ */ jsx(EventActionsList, { actions: Zo }),
24455
24455
  /* @__PURE__ */ jsx(InfoTooltip, {
24456
24456
  content: o,
24457
24457
  children: /* @__PURE__ */ jsx("span", {
@@ -24506,16 +24506,28 @@ function EventDetailContentCalendarDetails({ from: e, to: t, link: n, location:
24506
24506
  }
24507
24507
  ] });
24508
24508
  }
24509
- function EventDetailPriority({ priorityText: e }) {
24510
- return /* @__PURE__ */ jsx("div", {
24511
- className: "top-14 min-h-14 gap-4 px-4 py-3 sticky z-5 flex shrink-0 items-center bg-tertiary-50",
24512
- children: /* @__PURE__ */ jsxs("div", {
24513
- className: "py-1 text-xs font-normal leading-[1.2] text-neutral-800",
24509
+ function EventDetailFollowUp({ title: e, subtitle: t }) {
24510
+ return /* @__PURE__ */ jsxs("div", {
24511
+ className: "gap-1 min-h-14 px-4 py-3 flex flex-col justify-center bg-primary-light",
24512
+ children: [/* @__PURE__ */ jsxs("p", {
24513
+ className: "text-xs font-normal py-1 gap-1 flex items-center leading-[1.2] text-neutral-800",
24514
24514
  children: [/* @__PURE__ */ jsx("span", {
24515
- className: "font-bold text-tertiary-500",
24516
- children: "High Urgency:\xA0"
24515
+ className: "font-bold text-primary-500",
24516
+ children: "Follow-Up:\xA0"
24517
24517
  }), e]
24518
- })
24518
+ }), t != null && t !== "" && /* @__PURE__ */ jsx("p", {
24519
+ className: "font-normal leading-snug text-[11px] text-neutral-600",
24520
+ children: t
24521
+ })]
24522
+ });
24523
+ }
24524
+ function EventDetailPriority({ priorityText: e }) {
24525
+ return /* @__PURE__ */ jsxs("div", {
24526
+ className: "min-h-14 gap-1 px-4 py-3 text-xs font-normal flex items-center bg-tertiary-50 leading-[1.2] text-neutral-800",
24527
+ children: [/* @__PURE__ */ jsx("span", {
24528
+ className: "font-bold text-tertiary-500",
24529
+ children: "High Urgency:\xA0"
24530
+ }), e]
24519
24531
  });
24520
24532
  }
24521
24533
  function EventDetailSummary({ summary: e }) {
@@ -24530,25 +24542,33 @@ function EventDetailSummary({ summary: e }) {
24530
24542
  })]
24531
24543
  });
24532
24544
  }
24533
- function EventDetailContentHeader({ summary: e, priorityText: t, children: n, className: r }) {
24545
+ function EventDetailContentHeader({ summary: e, priorityText: t, followUpTitle: n, followUpSubtitle: r, children: i, className: a }) {
24534
24546
  return /* @__PURE__ */ jsxs("div", {
24535
- className: cn("flex flex-col", r),
24536
- children: [t != null && /* @__PURE__ */ jsx(EventDetailPriority, { priorityText: t }), /* @__PURE__ */ jsxs("div", {
24547
+ className: cn("flex flex-col", a),
24548
+ children: [/* @__PURE__ */ jsxs("div", {
24549
+ className: "top-14 sticky z-5 flex shrink-0 flex-col",
24550
+ children: [t != null && /* @__PURE__ */ jsx(EventDetailPriority, { priorityText: t }), n != null && /* @__PURE__ */ jsx(EventDetailFollowUp, {
24551
+ title: n,
24552
+ subtitle: r
24553
+ })]
24554
+ }), /* @__PURE__ */ jsxs("div", {
24537
24555
  className: "gap-4 p-4 flex flex-col",
24538
- children: [e != null && /* @__PURE__ */ jsx(EventDetailSummary, { summary: e }), n]
24556
+ children: [e != null && /* @__PURE__ */ jsx(EventDetailSummary, { summary: e }), i]
24539
24557
  })]
24540
24558
  });
24541
24559
  }
24542
- function EventDetailContentCalendar({ detail: { summary: e, body: t, priorityText: n, from: r, to: i, link: a, location: o }, className: s }) {
24560
+ function EventDetailContentCalendar({ detail: { summary: e, body: t, priorityText: n, followUpTitle: r, followUpSubtitle: i, from: a, to: o, link: s, location: c }, className: l }) {
24543
24561
  return /* @__PURE__ */ jsxs(EventDetailContentHeader, {
24544
24562
  summary: e,
24545
24563
  priorityText: n,
24546
- className: s,
24564
+ followUpTitle: r,
24565
+ followUpSubtitle: i,
24566
+ className: l,
24547
24567
  children: [/* @__PURE__ */ jsx(EventDetailContentCalendarDetails, {
24548
- from: r,
24549
- to: i,
24550
- link: a,
24551
- location: o
24568
+ from: a,
24569
+ to: o,
24570
+ link: s,
24571
+ location: c
24552
24572
  }), /* @__PURE__ */ jsx(RichContent, {
24553
24573
  className: "max-w-[1260px px-4",
24554
24574
  content: t
@@ -24575,22 +24595,156 @@ function EventDetailContentEmailDetails({ subject: e, to: t, date: n, from: r })
24575
24595
  }
24576
24596
  ] });
24577
24597
  }
24578
- function EventDetailContentEmail({ detail: { summary: e, body: t, priorityText: n, subject: r, to: i, date: a, from: o }, className: s }) {
24598
+ function EventDetailContentEmail({ detail: { summary: e, body: t, priorityText: n, followUpTitle: r, followUpSubtitle: i, subject: a, to: o, date: s, from: c }, className: l }) {
24579
24599
  return /* @__PURE__ */ jsxs(EventDetailContentHeader, {
24580
24600
  summary: e,
24581
24601
  priorityText: n,
24582
- className: s,
24602
+ followUpTitle: r,
24603
+ followUpSubtitle: i,
24604
+ className: l,
24583
24605
  children: [/* @__PURE__ */ jsx(EventDetailContentEmailDetails, {
24584
- subject: r,
24585
- to: i,
24586
- date: a,
24587
- from: o
24606
+ subject: a,
24607
+ to: o,
24608
+ date: s,
24609
+ from: c
24588
24610
  }), /* @__PURE__ */ jsx(RichContent, {
24589
24611
  className: "px-4 max-w-[1260px]",
24590
24612
  content: t
24591
24613
  })]
24592
24614
  });
24593
24615
  }
24616
+ var eventSummaryCardStyles = tv({
24617
+ base: "gap-1 rounded-lg p-4 flex w-full flex-col justify-between border-[1.5px] bg-white-variant-5",
24618
+ variants: {
24619
+ tone: {
24620
+ default: "hover:bg-primary-light",
24621
+ priority: "hover:bg-tertiary-500-variant-4"
24622
+ },
24623
+ state: {
24624
+ normal: "",
24625
+ selected: ""
24626
+ }
24627
+ },
24628
+ compoundVariants: [
24629
+ {
24630
+ tone: "default",
24631
+ state: "normal",
24632
+ class: "border-neutral-400"
24633
+ },
24634
+ {
24635
+ tone: "default",
24636
+ state: "selected",
24637
+ class: "border-primary-500 bg-primary-light"
24638
+ },
24639
+ {
24640
+ tone: "priority",
24641
+ state: "normal",
24642
+ class: "border-tertiary-500-variant-3"
24643
+ },
24644
+ {
24645
+ tone: "priority",
24646
+ state: "selected",
24647
+ class: "border-tertiary-500-variant-2 bg-tertiary-500-variant-4"
24648
+ }
24649
+ ]
24650
+ });
24651
+ function insightLabelVisible(e) {
24652
+ return e != null && e !== "";
24653
+ }
24654
+ function EventSummaryInsightChip({ label: e }) {
24655
+ return /* @__PURE__ */ jsxs("div", {
24656
+ className: "h-5 gap-1 px-1.5 inline-flex shrink-0 items-center rounded-full border border-primary-400 bg-primary-light",
24657
+ children: [/* @__PURE__ */ jsx(InsightIcon, {
24658
+ size: 13,
24659
+ className: "text-primary-500"
24660
+ }), /* @__PURE__ */ jsx("span", {
24661
+ className: "font-semibold text-[10px] leading-none whitespace-nowrap text-primary-500",
24662
+ children: e
24663
+ })]
24664
+ });
24665
+ }
24666
+ function EventSummaryFireButton({ active: e, onClick: t }) {
24667
+ return /* @__PURE__ */ jsx(StopPropagation, { children: /* @__PURE__ */ jsx(IconButton, {
24668
+ className: cn("group h-5 w-5 rounded-full border border-neutral-300 hover:border-tertiary-400 hover:bg-tertiary-50", e && "border-tertiary-400 bg-tertiary-50"),
24669
+ icon: e ? /* @__PURE__ */ jsxs("span", {
24670
+ className: "contents",
24671
+ children: [/* @__PURE__ */ jsx(FireFillIcon, {
24672
+ size: 16,
24673
+ className: "block text-tertiary-500-variant-2 opacity-100 group-hover:hidden group-hover:opacity-0"
24674
+ }), /* @__PURE__ */ jsx(CloseIcon, {
24675
+ size: 12,
24676
+ className: "hidden text-neutral-500 opacity-0 group-hover:block group-hover:text-tertiary-500-variant-2 group-hover:opacity-100",
24677
+ strokeWidth: 2
24678
+ })]
24679
+ }) : /* @__PURE__ */ jsx(FireIcon, {
24680
+ size: 16,
24681
+ className: "text-neutral-500 group-hover:text-tertiary-500-variant-2"
24682
+ }),
24683
+ onClick: t,
24684
+ "aria-pressed": e
24685
+ }) });
24686
+ }
24687
+ function EventSummaryCard({ icon: e, service: t, sender: n, title: r, content: i, timestamp: a, workspace: o, selected: s = !1, onSelect: c, actions: l, className: u }) {
24688
+ let { fire: f, insight: p, link: h } = l, Zo = p?.label ?? null;
24689
+ return /* @__PURE__ */ jsxs(Pressable, {
24690
+ onPress: c,
24691
+ className: cn(eventSummaryCardStyles({
24692
+ tone: f.active ? "priority" : "default",
24693
+ state: s ? "selected" : "normal"
24694
+ }), EVENT_SUMMARY_CARD_HEIGHT_SIZE.style, u),
24695
+ "data-service": t,
24696
+ children: [
24697
+ /* @__PURE__ */ jsxs("div", {
24698
+ className: "gap-1.5 flex items-center justify-between",
24699
+ children: [
24700
+ e,
24701
+ /* @__PURE__ */ jsx("span", {
24702
+ className: "min-w-0 -translate-x-0.5 text-sm font-medium truncate text-neutral-900",
24703
+ children: n
24704
+ }),
24705
+ /* @__PURE__ */ jsx(InfoTooltip, {
24706
+ content: o,
24707
+ children: /* @__PURE__ */ jsx(Avatar, {
24708
+ name: o,
24709
+ size: "xs"
24710
+ })
24711
+ }),
24712
+ /* @__PURE__ */ jsx("span", {
24713
+ className: "text-xs leading-tight font-semibold tracking-wide flex-1 text-right whitespace-nowrap text-neutral-800",
24714
+ children: a
24715
+ }),
24716
+ insightLabelVisible(Zo) && /* @__PURE__ */ jsx(EventSummaryInsightChip, { label: Zo }),
24717
+ /* @__PURE__ */ jsx(EventSummaryFireButton, {
24718
+ active: f.active,
24719
+ onClick: f.onClick
24720
+ })
24721
+ ]
24722
+ }),
24723
+ /* @__PURE__ */ jsx("div", {
24724
+ className: "text-sm font-medium line-clamp-1 text-neutral-900",
24725
+ children: r
24726
+ }),
24727
+ /* @__PURE__ */ jsxs("div", {
24728
+ className: "gap-2 flex",
24729
+ children: [/* @__PURE__ */ jsx("div", {
24730
+ className: "min-w-0 text-sm font-normal line-clamp-1 flex-1 text-neutral-700",
24731
+ children: i
24732
+ }), /* @__PURE__ */ jsx(InfoTooltip, {
24733
+ content: h.tooltip,
24734
+ children: /* @__PURE__ */ jsx(StopPropagation, { children: /* @__PURE__ */ jsx(IconButton, {
24735
+ type: "button",
24736
+ icon: /* @__PURE__ */ jsx(ExternalLinkIcon, {
24737
+ size: 16,
24738
+ className: "text-neutral-800"
24739
+ }),
24740
+ className: "text-primary-500",
24741
+ onClick: h.onClick
24742
+ }) })
24743
+ })]
24744
+ })
24745
+ ]
24746
+ });
24747
+ }
24594
24748
  function DateSeparator({ timestamp: e }) {
24595
24749
  return /* @__PURE__ */ jsxs("div", {
24596
24750
  className: "gap-4 flex items-center",
@@ -24770,13 +24924,8 @@ function PriorityGroupHeader({ title: e, onMarkAsNotFireClick: t }) {
24770
24924
  className: "pb-3 border-b border-neutral-200",
24771
24925
  children: /* @__PURE__ */ jsxs("div", {
24772
24926
  className: "gap-2 flex items-center",
24773
- children: [/* @__PURE__ */ jsx(IconButton, {
24774
- icon: /* @__PURE__ */ jsx(FireIcon, {
24775
- size: 16,
24776
- className: "text-tertiary-500"
24777
- }),
24778
- className: "h-6 w-6 relative flex shrink-0 items-center justify-center rounded-full border border-tertiary-400 bg-tertiary-50 transition-opacity hover:opacity-70",
24779
- "aria-label": "Priority",
24927
+ children: [/* @__PURE__ */ jsx(EventSummaryFireButton, {
24928
+ active: !0,
24780
24929
  onClick: t
24781
24930
  }), /* @__PURE__ */ jsx("h4", {
24782
24931
  className: "text-tertiary-700 text-xs font-semibold tracking-wide uppercase",
@@ -24818,51 +24967,53 @@ function MessageGroup({ group: e, onPreviousPriority: t, onNextPriority: n }) {
24818
24967
  })]
24819
24968
  });
24820
24969
  }
24821
- function EventDetailContentMessage({ detail: { groups: e, summary: t, priorityText: n }, className: r }) {
24822
- let i = e.filter((e) => e.isPriority).length, a = useRef(null), o = useRef(null);
24970
+ function EventDetailContentMessage({ detail: { groups: e, summary: t, priorityText: n, followUpTitle: r, followUpSubtitle: i }, className: a }) {
24971
+ let o = e.filter((e) => e.isPriority).length, c = useRef(null), u = useRef(null), f = useRef(!1);
24823
24972
  useEffect(() => {
24824
- e.length > 0 && o.current?.scrollIntoView({ behavior: "smooth" });
24973
+ e.length > 0 && !f.current && (f.current = !0, u.current?.scrollIntoView({ behavior: "smooth" }));
24825
24974
  }, [e]);
24826
- let c = i, u = useCallback((t) => {
24827
- if (!a.current) return;
24828
- let n = Array.from(a.current.querySelectorAll("[data-group-id][class*=\"scroll-mt\"]")).filter((t) => {
24975
+ let p = o, Zo = useCallback((t) => {
24976
+ if (!c.current) return;
24977
+ let n = Array.from(c.current.querySelectorAll("[data-group-id][class*=\"scroll-mt\"]")).filter((t) => {
24829
24978
  let n = t.getAttribute("data-group-id");
24830
24979
  return n ? e.find((e) => e.id === n)?.isPriority : !1;
24831
24980
  });
24832
- if (t >= 1 && t <= i && n.length === i) {
24833
- let e = n[i - t];
24981
+ if (t >= 1 && t <= o && n.length === o) {
24982
+ let e = n[o - t];
24834
24983
  e && e.scrollIntoView({
24835
24984
  behavior: "smooth",
24836
24985
  block: "start"
24837
24986
  });
24838
24987
  }
24839
- }, [e, i]);
24988
+ }, [e, o]);
24840
24989
  return /* @__PURE__ */ jsx(EventDetailContentHeader, {
24841
24990
  summary: t,
24842
24991
  priorityText: n,
24843
- className: r,
24992
+ followUpTitle: r,
24993
+ followUpSubtitle: i,
24994
+ className: a,
24844
24995
  children: /* @__PURE__ */ jsxs("div", {
24845
- ref: a,
24996
+ ref: c,
24846
24997
  className: "gap-4 flex flex-col",
24847
24998
  children: [e.map((e) => {
24848
- let t = e.isPriority ? c-- : 0, n = t ? () => {
24999
+ let t = e.isPriority ? p-- : 0, n = t ? () => {
24849
25000
  let e = t + 1;
24850
- e <= i && u(e);
25001
+ e <= o && Zo(e);
24851
25002
  } : void 0, r = t ? () => {
24852
25003
  let e = t - 1;
24853
- e >= 1 && u(e);
25004
+ e >= 1 && Zo(e);
24854
25005
  } : void 0;
24855
25006
  return /* @__PURE__ */ jsx(MessageGroup, {
24856
25007
  group: {
24857
25008
  ...e,
24858
25009
  priorityIndex: t,
24859
- totalPriorityGroups: i
25010
+ totalPriorityGroups: o
24860
25011
  },
24861
25012
  onPreviousPriority: n,
24862
25013
  onNextPriority: r
24863
25014
  }, e.id);
24864
25015
  }), /* @__PURE__ */ jsx("div", {
24865
- ref: o,
25016
+ ref: u,
24866
25017
  "aria-hidden": "true"
24867
25018
  })]
24868
25019
  })
@@ -24920,24 +25071,26 @@ function EventDetailContentTicketDetails({ issue: e, notification: t, project: n
24920
25071
  ]
24921
25072
  })] });
24922
25073
  }
24923
- 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: h }, className: Yo }) {
25074
+ function EventDetailContentTicket({ detail: { summary: e, body: t, priorityText: n, followUpTitle: r, followUpSubtitle: i, issue: a, notification: o, project: s, task: c, dueDate: l, startDate: u, assignees: f, reporter: p, team: h, location: Zo, related: g }, className: O }) {
24924
25075
  return /* @__PURE__ */ jsxs(EventDetailContentHeader, {
24925
25076
  summary: e,
24926
25077
  priorityText: n,
24927
- className: Yo,
25078
+ followUpTitle: r,
25079
+ followUpSubtitle: i,
25080
+ className: O,
24928
25081
  children: [
24929
25082
  /* @__PURE__ */ jsx(EventDetailContentTicketDetails, {
24930
- issue: r,
24931
- notification: i,
24932
- project: a,
24933
- task: o,
24934
- dueDate: s,
24935
- startDate: c,
24936
- assignees: l,
24937
- reporter: u,
24938
- team: f,
24939
- location: p,
24940
- related: h
25083
+ issue: a,
25084
+ notification: o,
25085
+ project: s,
25086
+ task: c,
25087
+ dueDate: l,
25088
+ startDate: u,
25089
+ assignees: f,
25090
+ reporter: p,
25091
+ team: h,
25092
+ location: Zo,
25093
+ related: g
24941
25094
  }),
24942
25095
  /* @__PURE__ */ jsx("h2", {
24943
25096
  className: "px-4 text-sm font-bold text-neutral-900",
@@ -24950,138 +25103,6 @@ function EventDetailContentTicket({ detail: { summary: e, body: t, priorityText:
24950
25103
  ]
24951
25104
  });
24952
25105
  }
24953
- var eventSummaryCardStyles = tv({
24954
- base: "gap-1 rounded-lg p-4 flex w-full flex-col justify-between border-[1.5px] bg-white-variant-5",
24955
- variants: {
24956
- tone: {
24957
- default: "hover:bg-primary-light",
24958
- priority: "hover:bg-tertiary-500-variant-4"
24959
- },
24960
- state: {
24961
- normal: "",
24962
- selected: ""
24963
- }
24964
- },
24965
- compoundVariants: [
24966
- {
24967
- tone: "default",
24968
- state: "normal",
24969
- class: "border-neutral-400"
24970
- },
24971
- {
24972
- tone: "default",
24973
- state: "selected",
24974
- class: "border-primary-500 bg-primary-light"
24975
- },
24976
- {
24977
- tone: "priority",
24978
- state: "normal",
24979
- class: "border-tertiary-500-variant-3"
24980
- },
24981
- {
24982
- tone: "priority",
24983
- state: "selected",
24984
- class: "border-tertiary-500-variant-2 bg-tertiary-500-variant-4"
24985
- }
24986
- ]
24987
- });
24988
- function insightLabelVisible(e) {
24989
- return e != null && e !== "";
24990
- }
24991
- function EventSummaryInsightChip({ label: e }) {
24992
- return /* @__PURE__ */ jsxs("div", {
24993
- className: "h-5 gap-1 px-1.5 inline-flex shrink-0 items-center rounded-full border border-primary-400 bg-primary-light",
24994
- children: [/* @__PURE__ */ jsx(InsightIcon, {
24995
- size: 13,
24996
- className: "text-primary-500"
24997
- }), /* @__PURE__ */ jsx("span", {
24998
- className: "font-semibold text-[10px] leading-none whitespace-nowrap text-primary-500",
24999
- children: e
25000
- })]
25001
- });
25002
- }
25003
- function EventSummaryFireButton({ active: e, onClick: t }) {
25004
- return /* @__PURE__ */ jsx(StopPropagation, { children: /* @__PURE__ */ jsx(IconButton, {
25005
- className: cn("group h-5 w-5 rounded-full border border-neutral-300 hover:border-tertiary-400 hover:bg-tertiary-50", e && "border-tertiary-400 bg-tertiary-50"),
25006
- icon: e ? /* @__PURE__ */ jsxs("span", {
25007
- className: "contents",
25008
- children: [/* @__PURE__ */ jsx(FireFillIcon, {
25009
- size: 16,
25010
- className: "block text-tertiary-500-variant-2 opacity-100 group-hover:hidden group-hover:opacity-0"
25011
- }), /* @__PURE__ */ jsx(CloseIcon, {
25012
- size: 12,
25013
- className: "hidden text-neutral-500 opacity-0 group-hover:block group-hover:text-tertiary-500-variant-2 group-hover:opacity-100",
25014
- strokeWidth: 2
25015
- })]
25016
- }) : /* @__PURE__ */ jsx(FireIcon, {
25017
- size: 16,
25018
- className: "text-neutral-500 group-hover:text-tertiary-500-variant-2"
25019
- }),
25020
- onClick: t,
25021
- "aria-pressed": e
25022
- }) });
25023
- }
25024
- function EventSummaryCard({ icon: e, service: t, sender: n, title: r, content: i, timestamp: a, workspace: o, selected: s = !1, onSelect: c, actions: l, className: u }) {
25025
- let { fire: f, insight: p, link: h } = l, Yo = p?.label ?? null;
25026
- return /* @__PURE__ */ jsxs(Pressable, {
25027
- onPress: c,
25028
- className: cn(eventSummaryCardStyles({
25029
- tone: f.active ? "priority" : "default",
25030
- state: s ? "selected" : "normal"
25031
- }), EVENT_SUMMARY_CARD_HEIGHT_SIZE.style, u),
25032
- "data-service": t,
25033
- children: [
25034
- /* @__PURE__ */ jsxs("div", {
25035
- className: "gap-1.5 flex items-center justify-between",
25036
- children: [
25037
- e,
25038
- /* @__PURE__ */ jsx("span", {
25039
- className: "min-w-0 -translate-x-0.5 text-sm font-medium truncate text-neutral-900",
25040
- children: n
25041
- }),
25042
- /* @__PURE__ */ jsx(InfoTooltip, {
25043
- content: o,
25044
- children: /* @__PURE__ */ jsx(Avatar, {
25045
- name: o,
25046
- size: "xs"
25047
- })
25048
- }),
25049
- /* @__PURE__ */ jsx("span", {
25050
- className: "text-xs leading-tight font-semibold tracking-wide flex-1 text-right whitespace-nowrap text-neutral-800",
25051
- children: a
25052
- }),
25053
- insightLabelVisible(Yo) && /* @__PURE__ */ jsx(EventSummaryInsightChip, { label: Yo }),
25054
- /* @__PURE__ */ jsx(EventSummaryFireButton, {
25055
- active: f.active,
25056
- onClick: f.onClick
25057
- })
25058
- ]
25059
- }),
25060
- /* @__PURE__ */ jsx("div", {
25061
- className: "text-sm font-medium line-clamp-1 text-neutral-900",
25062
- children: r
25063
- }),
25064
- /* @__PURE__ */ jsxs("div", {
25065
- className: "gap-2 flex",
25066
- children: [/* @__PURE__ */ jsx("div", {
25067
- className: "min-w-0 text-sm font-normal line-clamp-1 flex-1 text-neutral-700",
25068
- children: i
25069
- }), /* @__PURE__ */ jsx(InfoTooltip, {
25070
- content: h.tooltip,
25071
- children: /* @__PURE__ */ jsx(StopPropagation, { children: /* @__PURE__ */ jsx(IconButton, {
25072
- type: "button",
25073
- icon: /* @__PURE__ */ jsx(ExternalLinkIcon, {
25074
- size: 16,
25075
- className: "text-neutral-800"
25076
- }),
25077
- className: "text-primary-500",
25078
- onClick: h.onClick
25079
- }) })
25080
- })]
25081
- })
25082
- ]
25083
- });
25084
- }
25085
25106
  function EventDetailHeader({ icon: e, subject: t, from: n, prefixTimestamp: r, timestamp: a, isPriority: o, isOpen: s, isFirstEvent: c, isSingleEvent: l, className: u, onFireClick: f }) {
25086
25107
  return /* @__PURE__ */ jsx("div", {
25087
25108
  className: cn("h-14 min-w-0 px-4 py-2 flex w-full items-center overflow-hidden bg-white", u),
@@ -25118,7 +25139,7 @@ function EventDetailHeader({ icon: e, subject: t, from: n, prefixTimestamp: r, t
25118
25139
  children: a
25119
25140
  })]
25120
25141
  }),
25121
- /* @__PURE__ */ jsx(EventSummaryFireButton, {
25142
+ f != null && /* @__PURE__ */ jsx(EventSummaryFireButton, {
25122
25143
  active: o,
25123
25144
  onClick: f
25124
25145
  }),
@@ -25221,7 +25242,10 @@ function renderEventContent(e) {
25221
25242
  function getEventValue(e, t) {
25222
25243
  return e.id ?? `${e.type}-${e.timestamp}-${t}`;
25223
25244
  }
25224
- function EventDetail({ events: e, expandedEventIndex: t, onFireClick: n }) {
25245
+ function headerOnFireClick(e) {
25246
+ return e.type === "message" ? void 0 : e.onFireClick;
25247
+ }
25248
+ function EventDetail({ events: e, expandedEventIndex: t }) {
25225
25249
  if (e.length === 0) return null;
25226
25250
  if (e.length === 1) {
25227
25251
  let t = e[0];
@@ -25238,39 +25262,39 @@ function EventDetail({ events: e, expandedEventIndex: t, onFireClick: n }) {
25238
25262
  isFirstEvent: !0,
25239
25263
  isSingleEvent: !0,
25240
25264
  className: "top-0 sticky z-10 border-b border-neutral-400",
25241
- onFireClick: n
25265
+ onFireClick: headerOnFireClick(t)
25242
25266
  }), renderEventContent(t)]
25243
25267
  });
25244
25268
  }
25245
25269
  return /* @__PURE__ */ jsx(Accordion, {
25246
25270
  className: "w-full",
25247
25271
  defaultValue: t === void 0 ? getEventValue(e[0], 0) : getEventValue(e[t], t),
25248
- children: ({ openItems: t }) => /* @__PURE__ */ jsx(Fragment$1, { children: e.map((r, i) => {
25249
- let a = getEventValue(r, i), o = t.has(a);
25272
+ children: ({ openItems: t }) => /* @__PURE__ */ jsx(Fragment$1, { children: e.map((n, r) => {
25273
+ let i = getEventValue(n, r), a = t.has(i);
25250
25274
  return /* @__PURE__ */ jsxs(AccordionItem, {
25251
- value: a,
25275
+ value: i,
25252
25276
  children: [/* @__PURE__ */ jsx(AccordionTrigger, {
25253
- value: a,
25277
+ value: i,
25254
25278
  className: "top-0 sticky z-10",
25255
25279
  children: /* @__PURE__ */ jsx(EventDetailHeader, {
25256
- icon: r.icon,
25257
- subject: r.subject,
25258
- from: r.from,
25259
- prefixTimestamp: r.prefixTimestamp,
25260
- timestamp: r.timestamp,
25261
- isPriority: r.isPriority,
25262
- isFirstEvent: i === 0,
25280
+ icon: n.icon,
25281
+ subject: n.subject,
25282
+ from: n.from,
25283
+ prefixTimestamp: n.prefixTimestamp,
25284
+ timestamp: n.timestamp,
25285
+ isPriority: n.isPriority,
25286
+ isFirstEvent: r === 0,
25263
25287
  isSingleEvent: !1,
25264
- isOpen: o,
25288
+ isOpen: a,
25265
25289
  className: "border-b border-neutral-400",
25266
- onFireClick: n
25290
+ onFireClick: headerOnFireClick(n)
25267
25291
  })
25268
25292
  }), /* @__PURE__ */ jsx(AccordionContent, {
25269
- value: a,
25270
- className: cn(i < e.length - 1 && o && "border-b border-neutral-400"),
25271
- children: renderEventContent(r)
25293
+ value: i,
25294
+ className: cn(r < e.length - 1 && a && "border-b border-neutral-400"),
25295
+ children: renderEventContent(n)
25272
25296
  })]
25273
- }, a);
25297
+ }, i);
25274
25298
  }) })
25275
25299
  });
25276
25300
  }
@@ -25584,10 +25608,10 @@ function OnboardingCard({ stepLabel: e, title: t, description: n, titleAccessory
25584
25608
  children: [i, a]
25585
25609
  })
25586
25610
  ]
25587
- }), Yo = wrapArrow(/* @__PURE__ */ jsx(OnboardingCardArrow, {
25611
+ }), Zo = wrapArrow(/* @__PURE__ */ jsx(OnboardingCardArrow, {
25588
25612
  layout: o,
25589
25613
  placement: s
25590
- }), c, l), g = s === "before" ? /* @__PURE__ */ jsxs(Fragment$1, { children: [Yo, h] }) : /* @__PURE__ */ jsxs(Fragment$1, { children: [h, Yo] });
25614
+ }), c, l), g = s === "before" ? /* @__PURE__ */ jsxs(Fragment$1, { children: [Zo, h] }) : /* @__PURE__ */ jsxs(Fragment$1, { children: [h, Zo] });
25591
25615
  return o === "horizontal" ? /* @__PURE__ */ jsx("div", {
25592
25616
  className: cn("flex items-center", u),
25593
25617
  children: g
@@ -25957,6 +25981,6 @@ function QtaloBlueImage({ size: e = 40, className: t, ...n }) {
25957
25981
  }) })]
25958
25982
  });
25959
25983
  }
25960
- export { AVATAR_COLOR, AVATAR_COLOR_KEYS, Accordion, AccordionContent, AccordionItem, AccordionTrigger, AccountIcon, AccountInfo, ActionMenu, ActionMenuItem, AddCircleIcon, AddIcon, ArrowIcon, AsanaIcon, Avatar, Badge, BulkActions, BulkActionsSkeleton, Button, CalendarIcon, Card, CardContent, CardFooter, CardHeader, CardLayout, CardSidebar, CardTitle, CheckCircleEmptyIcon, CheckCircleIcon, CheckSquareIcon, Checkbox, CheckboxIcon, ClickUpIcon, CloseIcon, CompactDensityIcon, CopyIcon, DarkIcon, DatePicker, Divider, Dropdown, DropdownContext, DropdownMenu, DropdownMenuItem, EVENT_CARD_HEIGHT_SIZE, EVENT_SUMMARY_CARD_HEIGHT_SIZE, EmptyBoxIcon, EventCard, EventCardSkeleton, EventDetail, EventDetailContentCalendar, EventDetailContentEmail, EventDetailContentHeader, EventDetailContentMessage, EventDetailContentTicket, EventDetailHeader, EventDetailPriority, EventDetailSkeleton, EventDetailSummary, EventEmptyState, EventSummaryCard, EventSummaryCardSkeleton, EventSummaryFireButton, ExternalLinkIcon, EyeIcon, FilterBar, FilterBarSkeleton, FilterButton, FireFillIcon, FireIcon, GmailIcon, GoogleCalendarIcon, HelpPanel, HelpPanelEngine, HomeIcon, Icon, IconButton, IconCountButton, IconCountButtonSkeleton, InboxIcon, InfoTooltip, Input, InsightFillIcon, InsightIcon, IntegrationBar, IntegrationBarSkeleton, IntegrationItem, IntegrationItemSkeleton, IntegrationsCard, JiraIcon, LightIcon, LogoIcon, MailIcon, MinusIcon, MoreIcon, NoEyeIcon, NormalDensityIcon, NotFireIcon, ONBOARDING_DISMISSED_STORAGE_KEY, Onboarding, OnboardingCard, OnboardingEngine, OutlookCalendarIcon, OutlookIcon, Pressable, QtaloBlueImage, QtaloImage, ReadIcon, ReplyIoIcon, RichContent, SearchIcon, SearchInput, SignOutIcon, Skeleton, SlackIcon, StatusBadge, StopPropagation, SummaryIcon, SystemIcon, TeamsIcon, Toaster, Tooltip, UnreadIcon, capitalize, cn, colors, formatDate, formatDateRange, formatTimestamp, generateCalendarDays, getDaysInMonth, getFirstDayOfMonth, getInitials, getMonthName, getWeekdays, isDateBefore, isDateInRange, isSameDay, isToday, normalizeContent, parseDate, pickColorFromPalette, stringHash, toMondayBased, toast, toastStore, useAccordion, useDropdown, useLongPress };
25984
+ export { AVATAR_COLOR, AVATAR_COLOR_KEYS, Accordion, AccordionContent, AccordionItem, AccordionTrigger, AccountIcon, AccountInfo, ActionMenu, ActionMenuItem, AddCircleIcon, AddIcon, ArrowIcon, AsanaIcon, Avatar, Badge, BulkActions, BulkActionsSkeleton, Button, CalendarIcon, Card, CardContent, CardFooter, CardHeader, CardLayout, CardSidebar, CardTitle, CheckCircleEmptyIcon, CheckCircleIcon, CheckSquareIcon, Checkbox, CheckboxIcon, ClickUpIcon, CloseIcon, CompactDensityIcon, CopyIcon, DarkIcon, DatePicker, Divider, Dropdown, DropdownContext, DropdownMenu, DropdownMenuItem, EVENT_CARD_HEIGHT_SIZE, EVENT_SUMMARY_CARD_HEIGHT_SIZE, EmptyBoxIcon, EventCard, EventCardSkeleton, EventDetail, EventDetailContentCalendar, EventDetailContentEmail, EventDetailContentHeader, EventDetailContentMessage, EventDetailContentTicket, EventDetailFollowUp, EventDetailHeader, EventDetailPriority, EventDetailSkeleton, EventDetailSummary, EventEmptyState, EventSummaryCard, EventSummaryCardSkeleton, EventSummaryFireButton, ExternalLinkIcon, EyeIcon, FilterBar, FilterBarSkeleton, FilterButton, FireFillIcon, FireIcon, GmailIcon, GoogleCalendarIcon, HelpPanel, HelpPanelEngine, HomeIcon, Icon, IconButton, IconCountButton, IconCountButtonSkeleton, InboxIcon, InfoTooltip, Input, InsightFillIcon, InsightIcon, IntegrationBar, IntegrationBarSkeleton, IntegrationItem, IntegrationItemSkeleton, IntegrationsCard, JiraIcon, LightIcon, LogoIcon, MailIcon, MinusIcon, MoreIcon, NoEyeIcon, NormalDensityIcon, NotFireIcon, ONBOARDING_DISMISSED_STORAGE_KEY, Onboarding, OnboardingCard, OnboardingEngine, OutlookCalendarIcon, OutlookIcon, Pressable, QtaloBlueImage, QtaloImage, ReadIcon, ReplyIoIcon, RichContent, SearchIcon, SearchInput, SignOutIcon, Skeleton, SlackIcon, StatusBadge, StopPropagation, SummaryIcon, SystemIcon, TeamsIcon, Toaster, Tooltip, UnreadIcon, capitalize, cn, colors, formatDate, formatDateRange, formatTimestamp, generateCalendarDays, getDaysInMonth, getFirstDayOfMonth, getInitials, getMonthName, getWeekdays, isDateBefore, isDateInRange, isSameDay, isToday, normalizeContent, parseDate, pickColorFromPalette, stringHash, toMondayBased, toast, toastStore, useAccordion, useDropdown, useLongPress };
25961
25985
 
25962
25986
  //# sourceMappingURL=index.js.map