@qtalo/qt-ui-library 0.1.20 → 0.1.22
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.cjs +16 -16
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +12 -0
- package/dist/index.js +294 -200
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
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,
|
|
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");
|
|
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:
|
|
335
|
-
t.isSupported = typeof entries == "function" && typeof
|
|
336
|
-
let { MUSTACHE_EXPR:
|
|
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({}, [
|
|
337
337
|
...html$1,
|
|
338
338
|
...svg$1,
|
|
339
339
|
...svgFilters,
|
|
340
340
|
...mathMl$1,
|
|
341
341
|
...text
|
|
342
|
-
]),
|
|
342
|
+
]), ms = null, hs = 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
|
-
})),
|
|
366
|
+
})), gs = null, _s = null, vs = 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
|
-
})),
|
|
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({}, [
|
|
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
|
-
]),
|
|
405
|
+
]), Rs = null, zs = addToSet({}, [
|
|
406
406
|
"audio",
|
|
407
407
|
"video",
|
|
408
408
|
"img",
|
|
409
409
|
"source",
|
|
410
410
|
"image",
|
|
411
411
|
"track"
|
|
412
|
-
]),
|
|
412
|
+
]), Bs = null, Vs = 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
|
-
]),
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
], stringToString),
|
|
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({}, [
|
|
432
432
|
"mi",
|
|
433
433
|
"mo",
|
|
434
434
|
"mn",
|
|
435
435
|
"ms",
|
|
436
436
|
"mtext"
|
|
437
|
-
]),
|
|
437
|
+
]), Xs = addToSet({}, ["annotation-xml"]), Zs = addToSet({}, [
|
|
438
438
|
"title",
|
|
439
439
|
"style",
|
|
440
440
|
"font",
|
|
441
441
|
"a",
|
|
442
442
|
"script"
|
|
443
|
-
]),
|
|
443
|
+
]), Qs = null, $s = ["application/xhtml+xml", "text/html"], Y = null, ec = null, tc = n.createElement("form"), nc = function(e) {
|
|
444
444
|
return e instanceof RegExp || e instanceof Function;
|
|
445
|
-
},
|
|
445
|
+
}, rc = function() {
|
|
446
446
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
447
|
-
if (!(
|
|
448
|
-
if ((!e || typeof e != "object") && (e = {}), e = clone(e),
|
|
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, [
|
|
449
449
|
"html",
|
|
450
450
|
"head",
|
|
451
451
|
"body"
|
|
452
|
-
]), V.table && (addToSet(V, ["tbody"]), delete
|
|
452
|
+
]), V.table && (addToSet(V, ["tbody"]), delete gs.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),
|
|
457
|
+
freeze && freeze(e), ec = e;
|
|
458
458
|
}
|
|
459
|
-
},
|
|
459
|
+
}, ic = addToSet({}, [
|
|
460
460
|
...svg$1,
|
|
461
461
|
...svgFilters,
|
|
462
462
|
...svgDisallowed
|
|
463
|
-
]),
|
|
464
|
-
let t =
|
|
463
|
+
]), ac = addToSet({}, [...mathMl$1, ...mathMlDisallowed]), oc = function(e) {
|
|
464
|
+
let t = Qo(e);
|
|
465
465
|
(!t || !t.tagName) && (t = {
|
|
466
|
-
namespaceURI:
|
|
466
|
+
namespaceURI: Gs,
|
|
467
467
|
tagName: "template"
|
|
468
468
|
});
|
|
469
469
|
let n = stringToLowerCase(e.tagName), r = stringToLowerCase(t.tagName);
|
|
470
|
-
return
|
|
471
|
-
},
|
|
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) {
|
|
472
472
|
arrayPush(t.removed, { element: e });
|
|
473
473
|
try {
|
|
474
|
-
|
|
474
|
+
Qo(e).removeChild(e);
|
|
475
475
|
} catch {
|
|
476
476
|
O(e);
|
|
477
477
|
}
|
|
478
|
-
},
|
|
478
|
+
}, cc = 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 (
|
|
491
|
-
|
|
490
|
+
if (n.removeAttribute(e), e === "is") if (Os || ks) try {
|
|
491
|
+
sc(n);
|
|
492
492
|
} catch {}
|
|
493
493
|
else try {
|
|
494
494
|
n.setAttribute(e, "");
|
|
495
495
|
} catch {}
|
|
496
|
-
},
|
|
496
|
+
}, lc = function(e) {
|
|
497
497
|
let t = null, r = null;
|
|
498
|
-
if (
|
|
498
|
+
if (Ds) 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
|
-
|
|
503
|
+
Qs === "application/xhtml+xml" && Gs === Ws && (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 (
|
|
506
|
-
t = new p().parseFromString(i,
|
|
505
|
+
if (Gs === Ws) try {
|
|
506
|
+
t = new p().parseFromString(i, Qs);
|
|
507
507
|
} catch {}
|
|
508
508
|
if (!t || !t.documentElement) {
|
|
509
|
-
t =
|
|
509
|
+
t = $o.createDocument(Gs, "template", null);
|
|
510
510
|
try {
|
|
511
|
-
t.documentElement.innerHTML =
|
|
511
|
+
t.documentElement.innerHTML = Ks ? 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),
|
|
516
|
-
},
|
|
517
|
-
return
|
|
518
|
-
},
|
|
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
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
|
-
},
|
|
520
|
+
}, fc = function(e) {
|
|
521
521
|
return typeof s == "function" && e instanceof s;
|
|
522
522
|
};
|
|
523
|
-
function
|
|
523
|
+
function pc(e, n, r) {
|
|
524
524
|
arrayForEach(e, (e) => {
|
|
525
|
-
e.call(t, n, r,
|
|
525
|
+
e.call(t, n, r, ec);
|
|
526
526
|
});
|
|
527
527
|
}
|
|
528
|
-
let
|
|
528
|
+
let mc = function(e) {
|
|
529
529
|
let n = null;
|
|
530
|
-
if (
|
|
530
|
+
if (pc(B.beforeSanitizeElements, e, null), dc(e)) return sc(e), !0;
|
|
531
531
|
let r = Y(e.nodeName);
|
|
532
|
-
if (
|
|
532
|
+
if (pc(B.uponSanitizeElement, e, {
|
|
533
533
|
tagName: r,
|
|
534
534
|
allowedTags: V
|
|
535
|
-
}),
|
|
536
|
-
if (!(
|
|
537
|
-
if (!
|
|
538
|
-
if (
|
|
539
|
-
let t =
|
|
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;
|
|
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,
|
|
544
|
+
r.__removalCount = (e.__removalCount || 0) + 1, t.insertBefore(r, Xo(e));
|
|
545
545
|
}
|
|
546
546
|
}
|
|
547
547
|
}
|
|
548
|
-
return
|
|
548
|
+
return sc(e), !0;
|
|
549
549
|
}
|
|
550
|
-
return e instanceof c && !
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
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
|
|
554
554
|
], (e) => {
|
|
555
555
|
n = stringReplace(n, e, " ");
|
|
556
|
-
}), e.textContent !== n && (arrayPush(t.removed, { element: e.cloneNode() }), e.textContent = n)),
|
|
557
|
-
},
|
|
558
|
-
if (
|
|
559
|
-
if (!(
|
|
560
|
-
if (!
|
|
561
|
-
if (!(
|
|
562
|
-
} else if (!
|
|
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;
|
|
563
563
|
}
|
|
564
564
|
return !0;
|
|
565
|
-
},
|
|
566
|
-
return e !== "annotation-xml" && stringMatch(e,
|
|
567
|
-
},
|
|
568
|
-
|
|
565
|
+
}, gc = function(e) {
|
|
566
|
+
return e !== "annotation-xml" && stringMatch(e, ds);
|
|
567
|
+
}, _c = function(e) {
|
|
568
|
+
pc(B.beforeSanitizeAttributes, e, null);
|
|
569
569
|
let { attributes: n } = e;
|
|
570
|
-
if (!n ||
|
|
570
|
+
if (!n || dc(e)) return;
|
|
571
571
|
let r = {
|
|
572
572
|
attrName: "",
|
|
573
573
|
attrValue: "",
|
|
574
574
|
keepAttr: !0,
|
|
575
|
-
allowedAttributes:
|
|
575
|
+
allowedAttributes: ms,
|
|
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,
|
|
581
|
-
|
|
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);
|
|
582
582
|
continue;
|
|
583
583
|
}
|
|
584
584
|
if (c === "attributename" && stringMatch(u, "href")) {
|
|
585
|
-
|
|
585
|
+
cc(a, e);
|
|
586
586
|
continue;
|
|
587
587
|
}
|
|
588
588
|
if (r.forceKeepAttr) continue;
|
|
589
589
|
if (!r.keepAttr) {
|
|
590
|
-
|
|
590
|
+
cc(a, e);
|
|
591
591
|
continue;
|
|
592
592
|
}
|
|
593
|
-
if (!
|
|
594
|
-
|
|
593
|
+
if (!Ss && regExpTest(/\/>/i, u)) {
|
|
594
|
+
cc(a, e);
|
|
595
595
|
continue;
|
|
596
596
|
}
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
597
|
+
Cs && arrayForEach([
|
|
598
|
+
is,
|
|
599
|
+
as,
|
|
600
|
+
os
|
|
601
601
|
], (e) => {
|
|
602
602
|
u = stringReplace(u, e, " ");
|
|
603
603
|
});
|
|
604
604
|
let f = Y(e.nodeName);
|
|
605
|
-
if (!
|
|
606
|
-
|
|
605
|
+
if (!hc(f, c, u)) {
|
|
606
|
+
cc(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),
|
|
618
|
+
o ? e.setAttributeNS(o, a, u) : e.setAttribute(a, u), dc(e) ? sc(e) : arrayPop(t.removed);
|
|
619
619
|
} catch {
|
|
620
|
-
|
|
620
|
+
cc(a, e);
|
|
621
621
|
}
|
|
622
622
|
}
|
|
623
|
-
|
|
624
|
-
},
|
|
625
|
-
let n = null, r =
|
|
626
|
-
for (
|
|
627
|
-
|
|
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);
|
|
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 (
|
|
631
|
+
if (Ks = !e, Ks && (e = "<!-->"), typeof e != "string" && !fc(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 (
|
|
635
|
+
if (Es || rc(n), t.removed = [], typeof e == "string" && (Ps = !1), Ps) {
|
|
636
636
|
if (e.nodeName) {
|
|
637
637
|
let t = Y(e.nodeName);
|
|
638
|
-
if (!V[t] ||
|
|
638
|
+
if (!V[t] || gs[t]) throw typeErrorCreate("root node is forbidden and cannot be sanitized in-place");
|
|
639
639
|
}
|
|
640
|
-
} else if (e instanceof s) i =
|
|
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);
|
|
641
641
|
else {
|
|
642
|
-
if (!
|
|
643
|
-
if (i =
|
|
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 : "";
|
|
644
644
|
}
|
|
645
|
-
i &&
|
|
646
|
-
let u =
|
|
647
|
-
for (; c = u.nextNode();)
|
|
648
|
-
if (
|
|
649
|
-
if (
|
|
650
|
-
if (
|
|
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);
|
|
651
651
|
else l = i;
|
|
652
|
-
return (
|
|
652
|
+
return (ms.shadowroot || ms.shadowrootmode) && (l = rs.call(r, l, !0)), l;
|
|
653
653
|
}
|
|
654
|
-
let f =
|
|
655
|
-
return
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
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
|
|
659
659
|
], (e) => {
|
|
660
660
|
f = stringReplace(f, e, " ");
|
|
661
|
-
}), A &&
|
|
661
|
+
}), A && As ? A.createHTML(f) : f;
|
|
662
662
|
}, t.setConfig = function() {
|
|
663
|
-
|
|
663
|
+
rc(arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}), Es = !0;
|
|
664
664
|
}, t.clearConfig = function() {
|
|
665
|
-
|
|
665
|
+
ec = null, Es = !1;
|
|
666
666
|
}, t.isValidAttribute = function(e, t, n) {
|
|
667
|
-
return
|
|
667
|
+
return ec || rc({}), hc(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,
|
|
21375
|
+
let g = u !== void 0, [O, A] = useState(!1), R = g ? u : O, $o = useCallback((e) => {
|
|
21376
21376
|
e !== R && (g || A(e), p?.(e));
|
|
21377
21377
|
}, [
|
|
21378
21378
|
R,
|
|
21379
21379
|
g,
|
|
21380
21380
|
p
|
|
21381
|
-
]),
|
|
21382
|
-
if (!
|
|
21383
|
-
let e =
|
|
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;
|
|
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 &&
|
|
21398
|
-
}, [R,
|
|
21397
|
+
R && is();
|
|
21398
|
+
}, [R, is]), useEffect(() => {
|
|
21399
21399
|
if (!R) return;
|
|
21400
|
-
let e = () =>
|
|
21400
|
+
let e = () => is();
|
|
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,
|
|
21405
|
-
let
|
|
21406
|
-
|
|
21407
|
-
}, [
|
|
21408
|
-
|
|
21409
|
-
|
|
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);
|
|
21410
21410
|
}, 120);
|
|
21411
|
-
}, [
|
|
21411
|
+
}, [$o]);
|
|
21412
21412
|
return useEffect(() => {
|
|
21413
21413
|
function e(e) {
|
|
21414
21414
|
let t = e.target;
|
|
21415
|
-
|
|
21415
|
+
es.current?.contains(t) || ts.current?.contains(t) || $o(!1);
|
|
21416
21416
|
}
|
|
21417
21417
|
return document.addEventListener("mousedown", e), () => document.removeEventListener("mousedown", e);
|
|
21418
|
-
}, [
|
|
21419
|
-
|
|
21418
|
+
}, [$o]), useEffect(() => () => {
|
|
21419
|
+
ns.current && clearTimeout(ns.current);
|
|
21420
21420
|
}, []), /* @__PURE__ */ jsxs(DropdownContext.Provider, {
|
|
21421
21421
|
value: {
|
|
21422
|
-
close: () =>
|
|
21423
|
-
open:
|
|
21422
|
+
close: () => $o(!1),
|
|
21423
|
+
open: as
|
|
21424
21424
|
},
|
|
21425
21425
|
children: [/* @__PURE__ */ jsx("div", {
|
|
21426
|
-
ref:
|
|
21426
|
+
ref: es,
|
|
21427
21427
|
className: "inline-flex",
|
|
21428
|
-
onMouseEnter: c ?
|
|
21429
|
-
onMouseLeave: c ?
|
|
21430
|
-
onClick: () =>
|
|
21428
|
+
onMouseEnter: c ? as : void 0,
|
|
21429
|
+
onMouseLeave: c ? os : void 0,
|
|
21430
|
+
onClick: () => $o(!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:
|
|
21436
|
-
onMouseEnter: c ?
|
|
21437
|
-
onMouseLeave: c ?
|
|
21435
|
+
ref: ts,
|
|
21436
|
+
onMouseEnter: c ? as : void 0,
|
|
21437
|
+
onMouseLeave: c ? os : void 0,
|
|
21438
21438
|
style: {
|
|
21439
21439
|
position: "fixed",
|
|
21440
|
-
top:
|
|
21441
|
-
left:
|
|
21442
|
-
visibility:
|
|
21440
|
+
top: rs?.top ?? 0,
|
|
21441
|
+
left: rs?.left ?? 0,
|
|
21442
|
+
visibility: rs ? "visible" : "hidden",
|
|
21443
21443
|
zIndex: 1e3
|
|
21444
21444
|
},
|
|
21445
21445
|
children: t
|
|
@@ -22204,6 +22204,19 @@ function OutlookIcon(e) {
|
|
|
22204
22204
|
})]
|
|
22205
22205
|
});
|
|
22206
22206
|
}
|
|
22207
|
+
function ReplyIoIcon(e) {
|
|
22208
|
+
return /* @__PURE__ */ jsxs(Icon, {
|
|
22209
|
+
viewBox: "0 0 18 18",
|
|
22210
|
+
...e,
|
|
22211
|
+
children: [/* @__PURE__ */ jsx("path", {
|
|
22212
|
+
d: "M16.81,9.54c0,1.39-.16,2.63-.47,4.02-.47,2.01-1.87,3.4-3.9,3.87-2.65.62-5.46.62-8.12,0-1.87-.46-3.44-2.01-3.75-3.87-.31-1.39-.47-2.79-.47-4.02,0-1.39.16-2.63.47-4.02.47-2.01,1.87-3.4,3.9-3.87,1.25-.31,2.65-.46,4.06-.46s2.65.15,4.06.46c2.03.46,3.44,1.86,3.9,3.87.16,1.24.31,2.63.31,4.02Z",
|
|
22213
|
+
fill: "#8aaad9"
|
|
22214
|
+
}), /* @__PURE__ */ jsx("path", {
|
|
22215
|
+
d: "M13.64,8.61c2.35,0,4.25-1.91,4.25-4.26S15.99.1,13.64.1s-4.25,1.91-4.25,4.26,1.9,4.26,4.25,4.26Z",
|
|
22216
|
+
fill: "#4063ae"
|
|
22217
|
+
})]
|
|
22218
|
+
});
|
|
22219
|
+
}
|
|
22207
22220
|
function SlackIcon(e) {
|
|
22208
22221
|
return /* @__PURE__ */ jsxs(Icon, {
|
|
22209
22222
|
viewBox: "0 0 18 18",
|
|
@@ -22643,6 +22656,29 @@ function ExternalLinkIcon({ pathProps: e, ...t }) {
|
|
|
22643
22656
|
})
|
|
22644
22657
|
});
|
|
22645
22658
|
}
|
|
22659
|
+
function EyeIcon({ pathProps: e, ...t }) {
|
|
22660
|
+
return /* @__PURE__ */ jsxs(Icon, {
|
|
22661
|
+
viewBox: "0 0 20 20",
|
|
22662
|
+
...t,
|
|
22663
|
+
children: [/* @__PURE__ */ jsx("path", {
|
|
22664
|
+
d: "M3.08,10.22c-.05-.14-.05-.3,0-.44.96-2.9,3.7-4.99,6.92-4.99s5.95,2.09,6.92,4.98c.05.14.05.3,0,.44-.96,2.9-3.7,4.99-6.92,4.99s-5.95-2.09-6.92-4.98h0Z",
|
|
22665
|
+
fill: "none",
|
|
22666
|
+
stroke: "currentColor",
|
|
22667
|
+
strokeLinecap: "round",
|
|
22668
|
+
strokeLinejoin: "round",
|
|
22669
|
+
strokeWidth: "1.25px",
|
|
22670
|
+
...e
|
|
22671
|
+
}), /* @__PURE__ */ jsx("path", {
|
|
22672
|
+
d: "M12.08,10c0,1.15-.93,2.08-2.08,2.08s-2.08-.93-2.08-2.08.93-2.08,2.08-2.08,2.08.93,2.08,2.08Z",
|
|
22673
|
+
fill: "none",
|
|
22674
|
+
stroke: "currentColor",
|
|
22675
|
+
strokeLinecap: "round",
|
|
22676
|
+
strokeLinejoin: "round",
|
|
22677
|
+
strokeWidth: "1.25px",
|
|
22678
|
+
...e
|
|
22679
|
+
})]
|
|
22680
|
+
});
|
|
22681
|
+
}
|
|
22646
22682
|
function HomeIcon({ pathProps: e, ...t }) {
|
|
22647
22683
|
return /* @__PURE__ */ jsx(Icon, {
|
|
22648
22684
|
viewBox: "0 0 20 20",
|
|
@@ -22711,6 +22747,21 @@ function MoreIcon({ pathProps: e, ...t }) {
|
|
|
22711
22747
|
})
|
|
22712
22748
|
});
|
|
22713
22749
|
}
|
|
22750
|
+
function NoEyeIcon({ pathProps: e, ...t }) {
|
|
22751
|
+
return /* @__PURE__ */ jsx(Icon, {
|
|
22752
|
+
viewBox: "0 0 20 20",
|
|
22753
|
+
...t,
|
|
22754
|
+
children: /* @__PURE__ */ jsx("path", {
|
|
22755
|
+
d: "M4.43,7.38c-.65.77-1.13,1.66-1.42,2.62.9,3.01,3.69,5.21,6.99,5.21.69,0,1.36-.1,1.99-.27M5.99,5.99c1.19-.78,2.58-1.2,4.01-1.2,3.3,0,6.09,2.2,6.99,5.21-.49,1.65-1.55,3.06-2.98,4.01M5.99,5.99l-2.24-2.24M5.99,5.99l2.53,2.53M14.01,14.01l2.24,2.24M14.01,14.01l-2.53-2.53M11.47,11.47c.81-.81.81-2.13,0-2.95s-2.13-.81-2.95,0M11.47,11.47l-2.95-2.95",
|
|
22756
|
+
fill: "none",
|
|
22757
|
+
stroke: "currentColor",
|
|
22758
|
+
strokeLinecap: "round",
|
|
22759
|
+
strokeLinejoin: "round",
|
|
22760
|
+
strokeWidth: "1.25px",
|
|
22761
|
+
...e
|
|
22762
|
+
})
|
|
22763
|
+
});
|
|
22764
|
+
}
|
|
22714
22765
|
function NormalDensityIcon({ pathProps: e, ...t }) {
|
|
22715
22766
|
return /* @__PURE__ */ jsx(Icon, {
|
|
22716
22767
|
viewBox: "0 0 24 24",
|
|
@@ -22954,13 +23005,13 @@ function OnboardingEngine({ steps: e, context: t, storageKey: n, isEnabled: r =
|
|
|
22954
23005
|
e,
|
|
22955
23006
|
o,
|
|
22956
23007
|
t
|
|
22957
|
-
]), h = u?.step ?? null, g = u?.index ?? null,
|
|
23008
|
+
]), h = u?.step ?? null, g = u?.index ?? null, Zo = useCallback((e) => {
|
|
22958
23009
|
c((t) => {
|
|
22959
23010
|
if (t.has(e)) return t;
|
|
22960
23011
|
let n = new Set(t);
|
|
22961
23012
|
return n.add(e), n;
|
|
22962
23013
|
});
|
|
22963
|
-
}, []),
|
|
23014
|
+
}, []), Qo = useCallback(() => {
|
|
22964
23015
|
c((n) => {
|
|
22965
23016
|
let r = findActiveStep(e, n, t);
|
|
22966
23017
|
if (r == null || n.has(r.step.id)) return n;
|
|
@@ -22976,13 +23027,13 @@ function OnboardingEngine({ steps: e, context: t, storageKey: n, isEnabled: r =
|
|
|
22976
23027
|
currentStepIndex: g,
|
|
22977
23028
|
dismissedStepIds: o,
|
|
22978
23029
|
actions: useMemo(() => ({
|
|
22979
|
-
dismissCurrentStep:
|
|
22980
|
-
dismissStep:
|
|
23030
|
+
dismissCurrentStep: Qo,
|
|
23031
|
+
dismissStep: Zo,
|
|
22981
23032
|
skipAll: A,
|
|
22982
23033
|
close: A
|
|
22983
23034
|
}), [
|
|
22984
|
-
|
|
22985
|
-
|
|
23035
|
+
Qo,
|
|
23036
|
+
Zo,
|
|
22986
23037
|
A
|
|
22987
23038
|
])
|
|
22988
23039
|
}) });
|
|
@@ -23196,13 +23247,13 @@ function Toaster() {
|
|
|
23196
23247
|
useEffect(() => toastStore.subscribe(t), []);
|
|
23197
23248
|
let A = useSyncExternalStore(subscribeNoop$1, getClientSnapshot$1, getServerSnapshot$1), R = useCallback((e) => {
|
|
23198
23249
|
e.callbacks?.onOpen?.();
|
|
23199
|
-
}, []),
|
|
23250
|
+
}, []), $o = useCallback((e, t) => {
|
|
23200
23251
|
t === "manual" ? e.callbacks?.onClose?.() : (t === "timeout" || t === "replaced") && e.callbacks?.onAutoClose?.(), e.callbacks?.onDismiss?.(t);
|
|
23201
23252
|
}, []);
|
|
23202
23253
|
useEffect(() => {
|
|
23203
23254
|
let t = new Set(e.map((e) => e.id)), n = new Map(e.map((e) => [e.id, e])), s = i.current;
|
|
23204
23255
|
o.current.filter((e) => !t.has(e.id) && e.animationState !== "exiting").forEach((e) => {
|
|
23205
|
-
|
|
23256
|
+
$o(e, a.current.get(e.id) ?? toastStore.consumePendingDismissReason(e.id) ?? "timeout"), a.current.delete(e.id);
|
|
23206
23257
|
}), r((r) => {
|
|
23207
23258
|
let i = r.map((e) => {
|
|
23208
23259
|
let t = n.get(e.id);
|
|
@@ -23220,19 +23271,19 @@ function Toaster() {
|
|
|
23220
23271
|
}, [
|
|
23221
23272
|
e,
|
|
23222
23273
|
R,
|
|
23223
|
-
|
|
23274
|
+
$o
|
|
23224
23275
|
]);
|
|
23225
|
-
let
|
|
23276
|
+
let es = useCallback((e) => {
|
|
23226
23277
|
r((t) => {
|
|
23227
23278
|
let n = t.filter((t) => t.id !== e);
|
|
23228
23279
|
return o.current = n, n;
|
|
23229
23280
|
}), p(e), toastStore.cleanup(e);
|
|
23230
|
-
}, [p]),
|
|
23281
|
+
}, [p]), ts = useCallback((e) => {
|
|
23231
23282
|
a.current.set(e, "manual"), toastStore.remove(e);
|
|
23232
23283
|
}, []);
|
|
23233
23284
|
if (!A) return null;
|
|
23234
|
-
let
|
|
23235
|
-
return createPortal(/* @__PURE__ */ jsx(Fragment$1, { children: Object.entries(
|
|
23285
|
+
let ns = groupByPosition(n);
|
|
23286
|
+
return createPortal(/* @__PURE__ */ jsx(Fragment$1, { children: Object.entries(ns).map(([e, t]) => {
|
|
23236
23287
|
let n = t.filter((e) => e.singleSlot), r = t.filter((e) => !e.singleSlot), i = n.length > 0 ? /* @__PURE__ */ jsx("div", {
|
|
23237
23288
|
className: cn("isolate inline-grid max-w-[min(100vw,100%)] grid-cols-1 grid-rows-1", SINGLE_SLOT_PLACE[e]),
|
|
23238
23289
|
children: n.map((e, t) => /* @__PURE__ */ jsx("div", {
|
|
@@ -23241,8 +23292,8 @@ function Toaster() {
|
|
|
23241
23292
|
children: /* @__PURE__ */ jsx(ToastWrapper, {
|
|
23242
23293
|
toast: e,
|
|
23243
23294
|
remainingTime: c.get(e.id) ?? e.duration,
|
|
23244
|
-
onExitComplete:
|
|
23245
|
-
onClose:
|
|
23295
|
+
onExitComplete: es,
|
|
23296
|
+
onClose: ts,
|
|
23246
23297
|
onHoverStart: u,
|
|
23247
23298
|
onHoverEnd: f
|
|
23248
23299
|
})
|
|
@@ -23250,8 +23301,8 @@ function Toaster() {
|
|
|
23250
23301
|
}) : null, a = r.map((e) => /* @__PURE__ */ jsx(ToastWrapper, {
|
|
23251
23302
|
toast: e,
|
|
23252
23303
|
remainingTime: c.get(e.id) ?? e.duration,
|
|
23253
|
-
onExitComplete:
|
|
23254
|
-
onClose:
|
|
23304
|
+
onExitComplete: es,
|
|
23305
|
+
onClose: ts,
|
|
23255
23306
|
onHoverStart: u,
|
|
23256
23307
|
onHoverEnd: f
|
|
23257
23308
|
}, e.id));
|
|
@@ -23469,7 +23520,7 @@ function BulkActions({ totalItems: e = 0, selectedItems: t = 0, onSelectAll: n,
|
|
|
23469
23520
|
function g(e) {
|
|
23470
23521
|
p(e), a?.(e);
|
|
23471
23522
|
}
|
|
23472
|
-
let
|
|
23523
|
+
let Qo = {
|
|
23473
23524
|
fire: [{
|
|
23474
23525
|
id: "fire",
|
|
23475
23526
|
tooltip: "Mark as fire",
|
|
@@ -23550,7 +23601,7 @@ function BulkActions({ totalItems: e = 0, selectedItems: t = 0, onSelectAll: n,
|
|
|
23550
23601
|
}),
|
|
23551
23602
|
/* @__PURE__ */ jsx("div", {
|
|
23552
23603
|
className: "flex items-center divide-x divide-neutral-400-variant-1",
|
|
23553
|
-
children: t > 0 && /* @__PURE__ */ jsx(Fragment$1, { children: Object.entries(
|
|
23604
|
+
children: t > 0 && /* @__PURE__ */ jsx(Fragment$1, { children: Object.entries(Qo).map(([e, t]) => /* @__PURE__ */ jsx("div", {
|
|
23554
23605
|
className: "gap-2 px-1 flex items-center",
|
|
23555
23606
|
children: t.map((e) => /* @__PURE__ */ jsx(InfoTooltip, {
|
|
23556
23607
|
content: e.tooltip,
|
|
@@ -23827,14 +23878,14 @@ function IconCountButton({ icon: e, label: t, count: n, variant: r = "primary",
|
|
|
23827
23878
|
variant: r,
|
|
23828
23879
|
orientation: i,
|
|
23829
23880
|
status: a
|
|
23830
|
-
}),
|
|
23831
|
-
function
|
|
23832
|
-
c === void 0 &&
|
|
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);
|
|
23833
23884
|
}
|
|
23834
23885
|
return useLayoutEffect(() => {
|
|
23835
|
-
if (!
|
|
23886
|
+
if (!as || !Qo.current) return;
|
|
23836
23887
|
function e() {
|
|
23837
|
-
let e =
|
|
23888
|
+
let e = Qo.current?.getBoundingClientRect();
|
|
23838
23889
|
e && B({
|
|
23839
23890
|
top: e.top - 8,
|
|
23840
23891
|
left: e.right - 12
|
|
@@ -23843,7 +23894,7 @@ function IconCountButton({ icon: e, label: t, count: n, variant: r = "primary",
|
|
|
23843
23894
|
return e(), window.addEventListener("resize", e), window.addEventListener("scroll", e, !0), () => {
|
|
23844
23895
|
window.removeEventListener("resize", e), window.removeEventListener("scroll", e, !0);
|
|
23845
23896
|
};
|
|
23846
|
-
}, [
|
|
23897
|
+
}, [as]), /* @__PURE__ */ jsxs(Button, {
|
|
23847
23898
|
...g,
|
|
23848
23899
|
className: cn(O.root(), p?.root),
|
|
23849
23900
|
onMouseEnter: () => R(!0),
|
|
@@ -23851,20 +23902,20 @@ function IconCountButton({ icon: e, label: t, count: n, variant: r = "primary",
|
|
|
23851
23902
|
children: [/* @__PURE__ */ jsxs("div", {
|
|
23852
23903
|
className: "relative",
|
|
23853
23904
|
children: [/* @__PURE__ */ jsx("div", {
|
|
23854
|
-
ref:
|
|
23905
|
+
ref: Qo,
|
|
23855
23906
|
className: cn(O.bubble(), p?.bubble),
|
|
23856
23907
|
children: renderIcon(e, O.icon())
|
|
23857
|
-
}),
|
|
23858
|
-
isPressed:
|
|
23859
|
-
isPortalHovered:
|
|
23860
|
-
portalPosition:
|
|
23861
|
-
onMouseEnter: () =>
|
|
23862
|
-
onMouseLeave: () =>
|
|
23863
|
-
onToggle: () =>
|
|
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)
|
|
23864
23915
|
})]
|
|
23865
23916
|
}), /* @__PURE__ */ jsxs("div", {
|
|
23866
23917
|
className: cn(O.label(), p?.label),
|
|
23867
|
-
children: [/* @__PURE__ */ jsx("span", { children: t }),
|
|
23918
|
+
children: [/* @__PURE__ */ jsx("span", { children: t }), os && /* @__PURE__ */ jsxs("span", {
|
|
23868
23919
|
"aria-label": `${n} items`,
|
|
23869
23920
|
className: cn(O.count(), p?.count),
|
|
23870
23921
|
children: [
|
|
@@ -23924,7 +23975,7 @@ function CalendarPanel({ mode: e, selectedDate: t, selectedRange: n, onDateSelec
|
|
|
23924
23975
|
t,
|
|
23925
23976
|
n
|
|
23926
23977
|
]);
|
|
23927
|
-
let
|
|
23978
|
+
let Qo = useMemo(() => generateCalendarDays(g.year, g.month), [g.year, g.month]);
|
|
23928
23979
|
function A(t) {
|
|
23929
23980
|
let o = t.getMonth(), s = t.getFullYear();
|
|
23930
23981
|
if ((o !== g.month || s !== g.year) && O({
|
|
@@ -23951,7 +24002,7 @@ function CalendarPanel({ mode: e, selectedDate: t, selectedRange: n, onDateSelec
|
|
|
23951
24002
|
month: e.month - 1
|
|
23952
24003
|
});
|
|
23953
24004
|
}
|
|
23954
|
-
function
|
|
24005
|
+
function $o() {
|
|
23955
24006
|
O((e) => e.month === 11 ? {
|
|
23956
24007
|
year: e.year + 1,
|
|
23957
24008
|
month: 0
|
|
@@ -23960,7 +24011,7 @@ function CalendarPanel({ mode: e, selectedDate: t, selectedRange: n, onDateSelec
|
|
|
23960
24011
|
month: e.month + 1
|
|
23961
24012
|
});
|
|
23962
24013
|
}
|
|
23963
|
-
let
|
|
24014
|
+
let es = getWeekdays();
|
|
23964
24015
|
return /* @__PURE__ */ jsxs("div", {
|
|
23965
24016
|
className: "mt-1 rounded-lg p-2 shadow-lg w-fit border border-neutral-400 bg-white",
|
|
23966
24017
|
children: [
|
|
@@ -23989,7 +24040,7 @@ function CalendarPanel({ mode: e, selectedDate: t, selectedRange: n, onDateSelec
|
|
|
23989
24040
|
direction: "right",
|
|
23990
24041
|
size: 20
|
|
23991
24042
|
}),
|
|
23992
|
-
onClick:
|
|
24043
|
+
onClick: $o,
|
|
23993
24044
|
className: "hover:opacity-60",
|
|
23994
24045
|
"aria-label": "Next month"
|
|
23995
24046
|
})
|
|
@@ -23997,17 +24048,17 @@ function CalendarPanel({ mode: e, selectedDate: t, selectedRange: n, onDateSelec
|
|
|
23997
24048
|
}),
|
|
23998
24049
|
/* @__PURE__ */ jsx("div", {
|
|
23999
24050
|
className: "mb-2 grid grid-cols-7",
|
|
24000
|
-
children:
|
|
24051
|
+
children: es.map((e) => /* @__PURE__ */ jsx("div", {
|
|
24001
24052
|
className: "p-0.5 font-bold flex items-center justify-center text-[9px] text-neutral-900",
|
|
24002
24053
|
children: e
|
|
24003
24054
|
}, e))
|
|
24004
24055
|
}),
|
|
24005
24056
|
/* @__PURE__ */ jsx("div", {
|
|
24006
24057
|
className: "grid grid-cols-7",
|
|
24007
|
-
children:
|
|
24008
|
-
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),
|
|
24009
|
-
e === "range" && u && !f && s && !isDateBefore(s, u) ? (
|
|
24010
|
-
let O = e === "range" && (isDateInRange(i, u, f) || isDateInRange(i,
|
|
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;
|
|
24011
24062
|
return /* @__PURE__ */ jsx(Button, {
|
|
24012
24063
|
type: "button",
|
|
24013
24064
|
onClick: () => A(i),
|
|
@@ -24019,9 +24070,9 @@ function CalendarPanel({ mode: e, selectedDate: t, selectedRange: n, onDateSelec
|
|
|
24019
24070
|
},
|
|
24020
24071
|
className: "p-0.5",
|
|
24021
24072
|
"aria-label": `Select ${formatDate(i)}`,
|
|
24022
|
-
"aria-selected":
|
|
24073
|
+
"aria-selected": Zo || void 0,
|
|
24023
24074
|
children: /* @__PURE__ */ jsx("div", {
|
|
24024
|
-
className: cn("rounded flex h-[26px] w-[26px] items-center justify-center text-[9px] transition-colors",
|
|
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")),
|
|
24025
24076
|
children: r
|
|
24026
24077
|
})
|
|
24027
24078
|
}, `${i.getFullYear()}-${i.getMonth()}-${r}`);
|
|
@@ -24089,7 +24140,7 @@ function DatePicker({ mode: e = "single", value: t, defaultValue: n, onChange: r
|
|
|
24089
24140
|
function g(t) {
|
|
24090
24141
|
e === "range" && (u || l(t), r?.(t));
|
|
24091
24142
|
}
|
|
24092
|
-
function
|
|
24143
|
+
function Zo() {
|
|
24093
24144
|
e === "single" ? h(null) : g({
|
|
24094
24145
|
startDate: null,
|
|
24095
24146
|
endDate: null
|
|
@@ -24100,7 +24151,7 @@ function DatePicker({ mode: e = "single", value: t, defaultValue: n, onChange: r
|
|
|
24100
24151
|
displayText: e === "single" ? formatDate(f) : formatDateRange(p.startDate, p.endDate),
|
|
24101
24152
|
disabled: i,
|
|
24102
24153
|
className: a,
|
|
24103
|
-
onClear:
|
|
24154
|
+
onClear: Zo
|
|
24104
24155
|
}),
|
|
24105
24156
|
disabled: i,
|
|
24106
24157
|
children: /* @__PURE__ */ jsx(CalendarPanel, {
|
|
@@ -24314,7 +24365,7 @@ function EventActionsList({ actions: e, className: t }) {
|
|
|
24314
24365
|
}) })
|
|
24315
24366
|
});
|
|
24316
24367
|
}
|
|
24317
|
-
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:
|
|
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 }) {
|
|
24318
24369
|
return /* @__PURE__ */ jsx(Card, {
|
|
24319
24370
|
as: Pressable,
|
|
24320
24371
|
onPress: u,
|
|
@@ -24323,7 +24374,7 @@ function EventCard({ icon: e, service: t, sender: n, title: r, content: i, times
|
|
|
24323
24374
|
state: l ? "selected" : c ? "read" : "unread",
|
|
24324
24375
|
density: g
|
|
24325
24376
|
}), O),
|
|
24326
|
-
style:
|
|
24377
|
+
style: Qo,
|
|
24327
24378
|
"data-service": t,
|
|
24328
24379
|
children: g === "normal" ? /* @__PURE__ */ jsxs(CardLayout, {
|
|
24329
24380
|
className: "gap-x-2 gap-y-1",
|
|
@@ -24361,7 +24412,7 @@ function EventCard({ icon: e, service: t, sender: n, title: r, content: i, times
|
|
|
24361
24412
|
/* @__PURE__ */ jsxs(CardFooter, {
|
|
24362
24413
|
className: "mt-3 gap-1 grid grid-cols-[minmax(0,1fr)_auto] items-center",
|
|
24363
24414
|
children: [/* @__PURE__ */ jsx(EventStatusesList, { statusBadges: h }), /* @__PURE__ */ jsx(EventActionsList, {
|
|
24364
|
-
actions:
|
|
24415
|
+
actions: Yo,
|
|
24365
24416
|
className: "col-start-2 justify-self-end"
|
|
24366
24417
|
})]
|
|
24367
24418
|
})
|
|
@@ -24400,7 +24451,7 @@ function EventCard({ icon: e, service: t, sender: n, title: r, content: i, times
|
|
|
24400
24451
|
]
|
|
24401
24452
|
}),
|
|
24402
24453
|
/* @__PURE__ */ jsx("div", { className: "flex-1" }),
|
|
24403
|
-
/* @__PURE__ */ jsx(EventActionsList, { actions:
|
|
24454
|
+
/* @__PURE__ */ jsx(EventActionsList, { actions: Yo }),
|
|
24404
24455
|
/* @__PURE__ */ jsx(InfoTooltip, {
|
|
24405
24456
|
content: o,
|
|
24406
24457
|
children: /* @__PURE__ */ jsx("span", {
|
|
@@ -24869,11 +24920,11 @@ function EventDetailContentTicketDetails({ issue: e, notification: t, project: n
|
|
|
24869
24920
|
]
|
|
24870
24921
|
})] });
|
|
24871
24922
|
}
|
|
24872
|
-
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:
|
|
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 }) {
|
|
24873
24924
|
return /* @__PURE__ */ jsxs(EventDetailContentHeader, {
|
|
24874
24925
|
summary: e,
|
|
24875
24926
|
priorityText: n,
|
|
24876
|
-
className:
|
|
24927
|
+
className: Yo,
|
|
24877
24928
|
children: [
|
|
24878
24929
|
/* @__PURE__ */ jsx(EventDetailContentTicketDetails, {
|
|
24879
24930
|
issue: r,
|
|
@@ -24971,7 +25022,7 @@ function EventSummaryFireButton({ active: e, onClick: t }) {
|
|
|
24971
25022
|
}) });
|
|
24972
25023
|
}
|
|
24973
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 }) {
|
|
24974
|
-
let { fire: f, insight: p, link: h } = l,
|
|
25025
|
+
let { fire: f, insight: p, link: h } = l, Yo = p?.label ?? null;
|
|
24975
25026
|
return /* @__PURE__ */ jsxs(Pressable, {
|
|
24976
25027
|
onPress: c,
|
|
24977
25028
|
className: cn(eventSummaryCardStyles({
|
|
@@ -24999,7 +25050,7 @@ function EventSummaryCard({ icon: e, service: t, sender: n, title: r, content: i
|
|
|
24999
25050
|
className: "text-xs leading-tight font-semibold tracking-wide flex-1 text-right whitespace-nowrap text-neutral-800",
|
|
25000
25051
|
children: a
|
|
25001
25052
|
}),
|
|
25002
|
-
insightLabelVisible(
|
|
25053
|
+
insightLabelVisible(Yo) && /* @__PURE__ */ jsx(EventSummaryInsightChip, { label: Yo }),
|
|
25003
25054
|
/* @__PURE__ */ jsx(EventSummaryFireButton, {
|
|
25004
25055
|
active: f.active,
|
|
25005
25056
|
onClick: f.onClick
|
|
@@ -25533,10 +25584,10 @@ function OnboardingCard({ stepLabel: e, title: t, description: n, titleAccessory
|
|
|
25533
25584
|
children: [i, a]
|
|
25534
25585
|
})
|
|
25535
25586
|
]
|
|
25536
|
-
}),
|
|
25587
|
+
}), Yo = wrapArrow(/* @__PURE__ */ jsx(OnboardingCardArrow, {
|
|
25537
25588
|
layout: o,
|
|
25538
25589
|
placement: s
|
|
25539
|
-
}), c, l), g = s === "before" ? /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
25590
|
+
}), c, l), g = s === "before" ? /* @__PURE__ */ jsxs(Fragment$1, { children: [Yo, h] }) : /* @__PURE__ */ jsxs(Fragment$1, { children: [h, Yo] });
|
|
25540
25591
|
return o === "horizontal" ? /* @__PURE__ */ jsx("div", {
|
|
25541
25592
|
className: cn("flex items-center", u),
|
|
25542
25593
|
children: g
|
|
@@ -25863,6 +25914,49 @@ function QtaloImage({ size: e = 40, className: t, ...n }) {
|
|
|
25863
25914
|
}) })]
|
|
25864
25915
|
});
|
|
25865
25916
|
}
|
|
25866
|
-
|
|
25917
|
+
function QtaloBlueImage({ size: e = 40, className: t, ...n }) {
|
|
25918
|
+
return /* @__PURE__ */ jsxs("svg", {
|
|
25919
|
+
width: 144 / 40 * e,
|
|
25920
|
+
height: e,
|
|
25921
|
+
viewBox: "0 0 144 40",
|
|
25922
|
+
fill: "none",
|
|
25923
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
25924
|
+
className: t,
|
|
25925
|
+
...n,
|
|
25926
|
+
children: [/* @__PURE__ */ jsxs("g", {
|
|
25927
|
+
clipPath: "url(#clip0_5796_4580)",
|
|
25928
|
+
children: [
|
|
25929
|
+
/* @__PURE__ */ jsx("path", {
|
|
25930
|
+
d: "M65.1904 0.776112C66.9609 0.776112 68.4651 2.20751 68.4651 4.08969C68.4651 5.97188 66.9749 7.34751 65.1904 7.34751H57.3189V35.8778C57.3189 38.0342 55.6045 39.7909 53.6098 39.7909C51.6151 39.7909 49.8305 38.0295 49.8305 35.8778V7.34751H42.0105C40.24 7.34751 38.6797 5.91611 38.6797 4.08969C38.6797 2.26327 40.24 0.776112 42.0105 0.776112H65.2091H65.1904ZM88.0387 10.5403C89.982 10.5403 91.7479 12.1947 91.7479 14.128V36.152C91.7479 38.1364 89.9774 39.7397 88.0387 39.7397C86.1 39.7397 84.3809 38.1364 84.3809 36.152V35.1017C83.9324 36.8072 80.9987 39.7909 76.1637 39.7909C70.0628 39.7909 62.7425 35.1017 62.7425 25.0633C62.7425 15.025 70.1282 10.3869 76.1637 10.3869C80.0971 10.3869 83.2738 12.4922 84.3809 15.0761V14.1466C84.3809 12.2133 86.044 10.5588 88.0387 10.5588V10.5403ZM77.4998 33.5494C80.6017 33.5494 84.7126 31.2908 84.7126 25.0447C84.7126 18.7987 80.6017 16.54 77.4998 16.54C73.842 16.54 70.0114 19.4028 70.0114 25.0447C70.0114 30.6866 73.842 33.5494 77.4998 33.5494ZM105.309 36.0823C105.309 38.0667 103.646 39.67 101.703 39.67C99.7595 39.67 98.045 38.0667 98.045 36.0823V3.58778C98.045 1.65447 99.7081 0 101.703 0C103.698 0 105.309 1.65447 105.309 3.58778V36.1008V36.0823Z",
|
|
25931
|
+
fill: "#6663FF"
|
|
25932
|
+
}),
|
|
25933
|
+
/* @__PURE__ */ jsx("path", {
|
|
25934
|
+
fillRule: "evenodd",
|
|
25935
|
+
clipRule: "evenodd",
|
|
25936
|
+
d: "M125.262 10.0894C117.129 10.0894 110.523 16.6608 110.523 24.7518C110.523 32.8429 117.129 39.4143 125.262 39.4143C133.395 39.4143 140.001 32.8429 140.001 24.7518C140.001 16.6608 133.395 10.0894 125.262 10.0894ZM130.415 32.2341L130.405 32.2248C128.952 33.2194 127.168 33.8049 125.267 33.8049C120.24 33.8049 116.167 29.7524 116.167 24.7518C116.167 20.3368 119.339 16.6608 123.534 15.8707V24.0966C123.534 24.5288 123.688 24.9424 123.982 25.2677L130.405 32.2248C130.405 32.2248 130.415 32.2248 130.415 32.2202V32.2388V32.2341Z",
|
|
25937
|
+
fill: "#6663FF"
|
|
25938
|
+
}),
|
|
25939
|
+
/* @__PURE__ */ jsx("path", {
|
|
25940
|
+
d: "M33.3918 33.5632C36.6152 30.1473 38.6613 25.5092 38.6613 20.0904C38.6613 8.45336 29.0754 0.380859 19.312 0.380859C9.54853 0.380859 0 8.45336 0 20.095C0 31.7367 9.60459 39.7906 19.312 39.7906C22.5353 39.7906 25.6932 38.9123 28.5195 37.3601L30.2339 39.1214C30.7898 39.6745 31.57 39.9998 32.4015 39.9998C34.1159 39.9998 35.5034 38.6195 35.5034 36.9139C35.5034 36.1378 35.1717 35.4314 34.6718 34.8087L33.3872 33.5306V33.5632H33.3918ZM28.1738 28.3209L24.5674 24.6309C24.0629 24.0267 23.2313 23.7014 22.3998 23.7014C20.6854 23.7014 19.2979 25.1328 19.2979 26.7873C19.2979 27.6145 19.681 28.3395 20.2322 28.8925L23.2827 32.0295C21.9981 32.4757 20.6807 32.7545 19.2933 32.7545C13.1923 32.7545 7.81541 27.6842 7.81541 20.1136C7.81541 12.5431 13.1923 7.47276 19.2933 7.47276C25.3942 7.47276 30.8412 12.5431 30.8412 20.1136C30.8412 23.3714 29.8368 26.1831 28.1691 28.3395V28.3209H28.1738Z",
|
|
25941
|
+
fill: "#6663FF"
|
|
25942
|
+
}),
|
|
25943
|
+
/* @__PURE__ */ jsx("path", {
|
|
25944
|
+
fillRule: "evenodd",
|
|
25945
|
+
clipRule: "evenodd",
|
|
25946
|
+
d: "M130.428 32.2433L130.418 32.234C128.966 33.2286 127.181 33.8141 125.28 33.8141C120.253 33.8141 116.18 29.7616 116.18 24.761C116.18 20.346 119.352 16.6699 123.547 15.8799V24.1057C123.547 24.538 123.701 24.9516 123.995 25.2769L130.418 32.234C130.418 32.234 130.428 32.234 130.428 32.2294V32.248V32.2433Z",
|
|
25947
|
+
fill: "#CEFF1A"
|
|
25948
|
+
})
|
|
25949
|
+
]
|
|
25950
|
+
}), /* @__PURE__ */ jsx("defs", { children: /* @__PURE__ */ jsx("clipPath", {
|
|
25951
|
+
id: "clip0_5796_4580",
|
|
25952
|
+
children: /* @__PURE__ */ jsx("rect", {
|
|
25953
|
+
width: "140",
|
|
25954
|
+
height: "40",
|
|
25955
|
+
fill: "white"
|
|
25956
|
+
})
|
|
25957
|
+
}) })]
|
|
25958
|
+
});
|
|
25959
|
+
}
|
|
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 };
|
|
25867
25961
|
|
|
25868
25962
|
//# sourceMappingURL=index.js.map
|