@altimateai/ui-components 0.0.10-beta.3 → 0.0.10-beta.4

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/CoachForm.js CHANGED
@@ -2782,7 +2782,7 @@ function ic(e, t, n) {
2782
2782
  return s && sd(u, s.prototype), u;
2783
2783
  }, ic.apply(null, arguments);
2784
2784
  }
2785
- function qr(e) {
2785
+ function Wr(e) {
2786
2786
  return vA(e) || AA(e) || SA(e) || wA();
2787
2787
  }
2788
2788
  function vA(e) {
@@ -2808,20 +2808,20 @@ function wA() {
2808
2808
  throw new TypeError(`Invalid attempt to spread non-iterable instance.
2809
2809
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
2810
2810
  }
2811
- var LA = Object.hasOwnProperty, hm = Object.setPrototypeOf, IA = Object.isFrozen, NA = Object.getPrototypeOf, DA = Object.getOwnPropertyDescriptor, er = Object.freeze, ni = Object.seal, RA = Object.create, Sb = typeof Reflect < "u" && Reflect, Hc = Sb.apply, ld = Sb.construct;
2811
+ var LA = Object.hasOwnProperty, hm = Object.setPrototypeOf, IA = Object.isFrozen, NA = Object.getPrototypeOf, DA = Object.getOwnPropertyDescriptor, er = Object.freeze, ti = Object.seal, RA = Object.create, Sb = typeof Reflect < "u" && Reflect, Hc = Sb.apply, ld = Sb.construct;
2812
2812
  Hc || (Hc = function(t, n, r) {
2813
2813
  return t.apply(n, r);
2814
2814
  });
2815
2815
  er || (er = function(t) {
2816
2816
  return t;
2817
2817
  });
2818
- ni || (ni = function(t) {
2818
+ ti || (ti = function(t) {
2819
2819
  return t;
2820
2820
  });
2821
2821
  ld || (ld = function(t, n) {
2822
- return ic(t, qr(n));
2822
+ return ic(t, Wr(n));
2823
2823
  });
2824
- var OA = Pr(Array.prototype.forEach), dm = Pr(Array.prototype.pop), jo = Pr(Array.prototype.push), ac = Pr(String.prototype.toLowerCase), Y0 = Pr(String.prototype.toString), MA = Pr(String.prototype.match), Wr = Pr(String.prototype.replace), BA = Pr(String.prototype.indexOf), FA = Pr(String.prototype.trim), Xn = Pr(RegExp.prototype.test), W0 = PA(TypeError);
2824
+ var OA = Pr(Array.prototype.forEach), dm = Pr(Array.prototype.pop), jo = Pr(Array.prototype.push), ac = Pr(String.prototype.toLowerCase), Y0 = Pr(String.prototype.toString), MA = Pr(String.prototype.match), Yr = Pr(String.prototype.replace), BA = Pr(String.prototype.indexOf), FA = Pr(String.prototype.trim), Xn = Pr(RegExp.prototype.test), W0 = PA(TypeError);
2825
2825
  function Pr(e) {
2826
2826
  return function(t) {
2827
2827
  for (var n = arguments.length, r = new Array(n > 1 ? n - 1 : 0), i = 1; i < n; i++)
@@ -2870,13 +2870,13 @@ function Bu(e, t) {
2870
2870
  }
2871
2871
  return r;
2872
2872
  }
2873
- var fm = er(["a", "abbr", "acronym", "address", "area", "article", "aside", "audio", "b", "bdi", "bdo", "big", "blink", "blockquote", "body", "br", "button", "canvas", "caption", "center", "cite", "code", "col", "colgroup", "content", "data", "datalist", "dd", "decorator", "del", "details", "dfn", "dialog", "dir", "div", "dl", "dt", "element", "em", "fieldset", "figcaption", "figure", "font", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "img", "input", "ins", "kbd", "label", "legend", "li", "main", "map", "mark", "marquee", "menu", "menuitem", "meter", "nav", "nobr", "ol", "optgroup", "option", "output", "p", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "section", "select", "shadow", "small", "source", "spacer", "span", "strike", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "tr", "track", "tt", "u", "ul", "var", "video", "wbr"]), q0 = er(["svg", "a", "altglyph", "altglyphdef", "altglyphitem", "animatecolor", "animatemotion", "animatetransform", "circle", "clippath", "defs", "desc", "ellipse", "filter", "font", "g", "glyph", "glyphref", "hkern", "image", "line", "lineargradient", "marker", "mask", "metadata", "mpath", "path", "pattern", "polygon", "polyline", "radialgradient", "rect", "stop", "style", "switch", "symbol", "text", "textpath", "title", "tref", "tspan", "view", "vkern"]), G0 = er(["feBlend", "feColorMatrix", "feComponentTransfer", "feComposite", "feConvolveMatrix", "feDiffuseLighting", "feDisplacementMap", "feDistantLight", "feFlood", "feFuncA", "feFuncB", "feFuncG", "feFuncR", "feGaussianBlur", "feImage", "feMerge", "feMergeNode", "feMorphology", "feOffset", "fePointLight", "feSpecularLighting", "feSpotLight", "feTile", "feTurbulence"]), UA = er(["animate", "color-profile", "cursor", "discard", "fedropshadow", "font-face", "font-face-format", "font-face-name", "font-face-src", "font-face-uri", "foreignobject", "hatch", "hatchpath", "mesh", "meshgradient", "meshpatch", "meshrow", "missing-glyph", "script", "set", "solidcolor", "unknown", "use"]), $0 = er(["math", "menclose", "merror", "mfenced", "mfrac", "mglyph", "mi", "mlabeledtr", "mmultiscripts", "mn", "mo", "mover", "mpadded", "mphantom", "mroot", "mrow", "ms", "mspace", "msqrt", "mstyle", "msub", "msup", "msubsup", "mtable", "mtd", "mtext", "mtr", "munder", "munderover"]), HA = er(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), pm = er(["#text"]), mm = er(["accept", "action", "align", "alt", "autocapitalize", "autocomplete", "autopictureinpicture", "autoplay", "background", "bgcolor", "border", "capture", "cellpadding", "cellspacing", "checked", "cite", "class", "clear", "color", "cols", "colspan", "controls", "controlslist", "coords", "crossorigin", "datetime", "decoding", "default", "dir", "disabled", "disablepictureinpicture", "disableremoteplayback", "download", "draggable", "enctype", "enterkeyhint", "face", "for", "headers", "height", "hidden", "high", "href", "hreflang", "id", "inputmode", "integrity", "ismap", "kind", "label", "lang", "list", "loading", "loop", "low", "max", "maxlength", "media", "method", "min", "minlength", "multiple", "muted", "name", "nonce", "noshade", "novalidate", "nowrap", "open", "optimum", "pattern", "placeholder", "playsinline", "poster", "preload", "pubdate", "radiogroup", "readonly", "rel", "required", "rev", "reversed", "role", "rows", "rowspan", "spellcheck", "scope", "selected", "shape", "size", "sizes", "span", "srclang", "start", "src", "srcset", "step", "style", "summary", "tabindex", "title", "translate", "type", "usemap", "valign", "value", "width", "xmlns", "slot"]), X0 = er(["accent-height", "accumulate", "additive", "alignment-baseline", "ascent", "attributename", "attributetype", "azimuth", "basefrequency", "baseline-shift", "begin", "bias", "by", "class", "clip", "clippathunits", "clip-path", "clip-rule", "color", "color-interpolation", "color-interpolation-filters", "color-profile", "color-rendering", "cx", "cy", "d", "dx", "dy", "diffuseconstant", "direction", "display", "divisor", "dur", "edgemode", "elevation", "end", "fill", "fill-opacity", "fill-rule", "filter", "filterunits", "flood-color", "flood-opacity", "font-family", "font-size", "font-size-adjust", "font-stretch", "font-style", "font-variant", "font-weight", "fx", "fy", "g1", "g2", "glyph-name", "glyphref", "gradientunits", "gradienttransform", "height", "href", "id", "image-rendering", "in", "in2", "k", "k1", "k2", "k3", "k4", "kerning", "keypoints", "keysplines", "keytimes", "lang", "lengthadjust", "letter-spacing", "kernelmatrix", "kernelunitlength", "lighting-color", "local", "marker-end", "marker-mid", "marker-start", "markerheight", "markerunits", "markerwidth", "maskcontentunits", "maskunits", "max", "mask", "media", "method", "mode", "min", "name", "numoctaves", "offset", "operator", "opacity", "order", "orient", "orientation", "origin", "overflow", "paint-order", "path", "pathlength", "patterncontentunits", "patterntransform", "patternunits", "points", "preservealpha", "preserveaspectratio", "primitiveunits", "r", "rx", "ry", "radius", "refx", "refy", "repeatcount", "repeatdur", "restart", "result", "rotate", "scale", "seed", "shape-rendering", "specularconstant", "specularexponent", "spreadmethod", "startoffset", "stddeviation", "stitchtiles", "stop-color", "stop-opacity", "stroke-dasharray", "stroke-dashoffset", "stroke-linecap", "stroke-linejoin", "stroke-miterlimit", "stroke-opacity", "stroke", "stroke-width", "style", "surfacescale", "systemlanguage", "tabindex", "targetx", "targety", "transform", "transform-origin", "text-anchor", "text-decoration", "text-rendering", "textlength", "type", "u1", "u2", "unicode", "values", "viewbox", "visibility", "version", "vert-adv-y", "vert-origin-x", "vert-origin-y", "width", "word-spacing", "wrap", "writing-mode", "xchannelselector", "ychannelselector", "x", "x1", "x2", "xmlns", "y", "y1", "y2", "z", "zoomandpan"]), gm = er(["accent", "accentunder", "align", "bevelled", "close", "columnsalign", "columnlines", "columnspan", "denomalign", "depth", "dir", "display", "displaystyle", "encoding", "fence", "frame", "height", "href", "id", "largeop", "length", "linethickness", "lspace", "lquote", "mathbackground", "mathcolor", "mathsize", "mathvariant", "maxsize", "minsize", "movablelimits", "notation", "numalign", "open", "rowalign", "rowlines", "rowspacing", "rowspan", "rspace", "rquote", "scriptlevel", "scriptminsize", "scriptsizemultiplier", "selection", "separator", "separators", "stretchy", "subscriptshift", "supscriptshift", "symmetric", "voffset", "width", "xmlns"]), Fu = er(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), zA = ni(/\{\{[\w\W]*|[\w\W]*\}\}/gm), jA = ni(/<%[\w\W]*|[\w\W]*%>/gm), VA = ni(/\${[\w\W]*}/gm), YA = ni(/^data-[\-\w.\u00B7-\uFFFF]/), WA = ni(/^aria-[\-\w]+$/), qA = ni(
2873
+ var fm = er(["a", "abbr", "acronym", "address", "area", "article", "aside", "audio", "b", "bdi", "bdo", "big", "blink", "blockquote", "body", "br", "button", "canvas", "caption", "center", "cite", "code", "col", "colgroup", "content", "data", "datalist", "dd", "decorator", "del", "details", "dfn", "dialog", "dir", "div", "dl", "dt", "element", "em", "fieldset", "figcaption", "figure", "font", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "img", "input", "ins", "kbd", "label", "legend", "li", "main", "map", "mark", "marquee", "menu", "menuitem", "meter", "nav", "nobr", "ol", "optgroup", "option", "output", "p", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "section", "select", "shadow", "small", "source", "spacer", "span", "strike", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "tr", "track", "tt", "u", "ul", "var", "video", "wbr"]), q0 = er(["svg", "a", "altglyph", "altglyphdef", "altglyphitem", "animatecolor", "animatemotion", "animatetransform", "circle", "clippath", "defs", "desc", "ellipse", "filter", "font", "g", "glyph", "glyphref", "hkern", "image", "line", "lineargradient", "marker", "mask", "metadata", "mpath", "path", "pattern", "polygon", "polyline", "radialgradient", "rect", "stop", "style", "switch", "symbol", "text", "textpath", "title", "tref", "tspan", "view", "vkern"]), G0 = er(["feBlend", "feColorMatrix", "feComponentTransfer", "feComposite", "feConvolveMatrix", "feDiffuseLighting", "feDisplacementMap", "feDistantLight", "feFlood", "feFuncA", "feFuncB", "feFuncG", "feFuncR", "feGaussianBlur", "feImage", "feMerge", "feMergeNode", "feMorphology", "feOffset", "fePointLight", "feSpecularLighting", "feSpotLight", "feTile", "feTurbulence"]), UA = er(["animate", "color-profile", "cursor", "discard", "fedropshadow", "font-face", "font-face-format", "font-face-name", "font-face-src", "font-face-uri", "foreignobject", "hatch", "hatchpath", "mesh", "meshgradient", "meshpatch", "meshrow", "missing-glyph", "script", "set", "solidcolor", "unknown", "use"]), $0 = er(["math", "menclose", "merror", "mfenced", "mfrac", "mglyph", "mi", "mlabeledtr", "mmultiscripts", "mn", "mo", "mover", "mpadded", "mphantom", "mroot", "mrow", "ms", "mspace", "msqrt", "mstyle", "msub", "msup", "msubsup", "mtable", "mtd", "mtext", "mtr", "munder", "munderover"]), HA = er(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), pm = er(["#text"]), mm = er(["accept", "action", "align", "alt", "autocapitalize", "autocomplete", "autopictureinpicture", "autoplay", "background", "bgcolor", "border", "capture", "cellpadding", "cellspacing", "checked", "cite", "class", "clear", "color", "cols", "colspan", "controls", "controlslist", "coords", "crossorigin", "datetime", "decoding", "default", "dir", "disabled", "disablepictureinpicture", "disableremoteplayback", "download", "draggable", "enctype", "enterkeyhint", "face", "for", "headers", "height", "hidden", "high", "href", "hreflang", "id", "inputmode", "integrity", "ismap", "kind", "label", "lang", "list", "loading", "loop", "low", "max", "maxlength", "media", "method", "min", "minlength", "multiple", "muted", "name", "nonce", "noshade", "novalidate", "nowrap", "open", "optimum", "pattern", "placeholder", "playsinline", "poster", "preload", "pubdate", "radiogroup", "readonly", "rel", "required", "rev", "reversed", "role", "rows", "rowspan", "spellcheck", "scope", "selected", "shape", "size", "sizes", "span", "srclang", "start", "src", "srcset", "step", "style", "summary", "tabindex", "title", "translate", "type", "usemap", "valign", "value", "width", "xmlns", "slot"]), X0 = er(["accent-height", "accumulate", "additive", "alignment-baseline", "ascent", "attributename", "attributetype", "azimuth", "basefrequency", "baseline-shift", "begin", "bias", "by", "class", "clip", "clippathunits", "clip-path", "clip-rule", "color", "color-interpolation", "color-interpolation-filters", "color-profile", "color-rendering", "cx", "cy", "d", "dx", "dy", "diffuseconstant", "direction", "display", "divisor", "dur", "edgemode", "elevation", "end", "fill", "fill-opacity", "fill-rule", "filter", "filterunits", "flood-color", "flood-opacity", "font-family", "font-size", "font-size-adjust", "font-stretch", "font-style", "font-variant", "font-weight", "fx", "fy", "g1", "g2", "glyph-name", "glyphref", "gradientunits", "gradienttransform", "height", "href", "id", "image-rendering", "in", "in2", "k", "k1", "k2", "k3", "k4", "kerning", "keypoints", "keysplines", "keytimes", "lang", "lengthadjust", "letter-spacing", "kernelmatrix", "kernelunitlength", "lighting-color", "local", "marker-end", "marker-mid", "marker-start", "markerheight", "markerunits", "markerwidth", "maskcontentunits", "maskunits", "max", "mask", "media", "method", "mode", "min", "name", "numoctaves", "offset", "operator", "opacity", "order", "orient", "orientation", "origin", "overflow", "paint-order", "path", "pathlength", "patterncontentunits", "patterntransform", "patternunits", "points", "preservealpha", "preserveaspectratio", "primitiveunits", "r", "rx", "ry", "radius", "refx", "refy", "repeatcount", "repeatdur", "restart", "result", "rotate", "scale", "seed", "shape-rendering", "specularconstant", "specularexponent", "spreadmethod", "startoffset", "stddeviation", "stitchtiles", "stop-color", "stop-opacity", "stroke-dasharray", "stroke-dashoffset", "stroke-linecap", "stroke-linejoin", "stroke-miterlimit", "stroke-opacity", "stroke", "stroke-width", "style", "surfacescale", "systemlanguage", "tabindex", "targetx", "targety", "transform", "transform-origin", "text-anchor", "text-decoration", "text-rendering", "textlength", "type", "u1", "u2", "unicode", "values", "viewbox", "visibility", "version", "vert-adv-y", "vert-origin-x", "vert-origin-y", "width", "word-spacing", "wrap", "writing-mode", "xchannelselector", "ychannelselector", "x", "x1", "x2", "xmlns", "y", "y1", "y2", "z", "zoomandpan"]), gm = er(["accent", "accentunder", "align", "bevelled", "close", "columnsalign", "columnlines", "columnspan", "denomalign", "depth", "dir", "display", "displaystyle", "encoding", "fence", "frame", "height", "href", "id", "largeop", "length", "linethickness", "lspace", "lquote", "mathbackground", "mathcolor", "mathsize", "mathvariant", "maxsize", "minsize", "movablelimits", "notation", "numalign", "open", "rowalign", "rowlines", "rowspacing", "rowspan", "rspace", "rquote", "scriptlevel", "scriptminsize", "scriptsizemultiplier", "selection", "separator", "separators", "stretchy", "subscriptshift", "supscriptshift", "symmetric", "voffset", "width", "xmlns"]), Fu = er(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), zA = ti(/\{\{[\w\W]*|[\w\W]*\}\}/gm), jA = ti(/<%[\w\W]*|[\w\W]*%>/gm), VA = ti(/\${[\w\W]*}/gm), YA = ti(/^data-[\-\w.\u00B7-\uFFFF]/), WA = ti(/^aria-[\-\w]+$/), qA = ti(
2874
2874
  /^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i
2875
2875
  // eslint-disable-line no-useless-escape
2876
- ), GA = ni(/^(?:\w+script|data):/i), $A = ni(
2876
+ ), GA = ti(/^(?:\w+script|data):/i), $A = ti(
2877
2877
  /[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g
2878
2878
  // eslint-disable-line no-control-regex
2879
- ), XA = ni(/^html$/i), KA = function() {
2879
+ ), XA = ti(/^html$/i), KA = function() {
2880
2880
  return typeof window > "u" ? null : window;
2881
2881
  }, QA = function(t, n) {
2882
2882
  if (ga(t) !== "object" || typeof t.createPolicy != "function")
@@ -2915,7 +2915,7 @@ function wb() {
2915
2915
  }
2916
2916
  var I = {};
2917
2917
  t.isSupported = typeof x == "function" && M && typeof M.createHTMLDocument < "u" && T !== 9;
2918
- var m = zA, S = jA, k = VA, H = YA, te = WA, $ = GA, B = $A, Y = qA, V = null, P = St({}, [].concat(qr(fm), qr(q0), qr(G0), qr($0), qr(pm))), ue = null, le = St({}, [].concat(qr(mm), qr(X0), qr(gm), qr(Fu))), ne = Object.seal(Object.create(null, {
2918
+ var m = zA, S = jA, k = VA, H = YA, te = WA, $ = GA, B = $A, Y = qA, V = null, P = St({}, [].concat(Wr(fm), Wr(q0), Wr(G0), Wr($0), Wr(pm))), ue = null, le = St({}, [].concat(Wr(mm), Wr(X0), Wr(gm), Wr(Fu))), ne = Object.seal(Object.create(null, {
2919
2919
  tagNameCheck: {
2920
2920
  writable: !0,
2921
2921
  configurable: !1,
@@ -2952,7 +2952,7 @@ function wb() {
2952
2952
  // eslint-disable-line indent
2953
2953
  xe
2954
2954
  // eslint-disable-line indent
2955
- ) : Le, de = "FORBID_CONTENTS" in pe ? St({}, pe.FORBID_CONTENTS, xe) : J, Re = "FORBID_TAGS" in pe ? St({}, pe.FORBID_TAGS, xe) : {}, ie = "FORBID_ATTR" in pe ? St({}, pe.FORBID_ATTR, xe) : {}, be = "USE_PROFILES" in pe ? pe.USE_PROFILES : !1, se = pe.ALLOW_ARIA_ATTR !== !1, ae = pe.ALLOW_DATA_ATTR !== !1, re = pe.ALLOW_UNKNOWN_PROTOCOLS || !1, W = pe.SAFE_FOR_TEMPLATES || !1, G = pe.WHOLE_DOCUMENT || !1, Z = pe.RETURN_DOM || !1, A = pe.RETURN_DOM_FRAGMENT || !1, q = pe.RETURN_TRUSTED_TYPE || !1, F = pe.FORCE_BODY || !1, j = pe.SANITIZE_DOM !== !1, ge = pe.SANITIZE_NAMED_PROPS || !1, ee = pe.KEEP_CONTENT !== !1, he = pe.IN_PLACE || !1, Y = pe.ALLOWED_URI_REGEXP || Y, Xe = pe.NAMESPACE || We, pe.CUSTOM_ELEMENT_HANDLING && lt(pe.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (ne.tagNameCheck = pe.CUSTOM_ELEMENT_HANDLING.tagNameCheck), pe.CUSTOM_ELEMENT_HANDLING && lt(pe.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (ne.attributeNameCheck = pe.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), pe.CUSTOM_ELEMENT_HANDLING && typeof pe.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (ne.allowCustomizedBuiltInElements = pe.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), W && (ae = !1), A && (Z = !0), be && (V = St({}, qr(pm)), ue = [], be.html === !0 && (St(V, fm), St(ue, mm)), be.svg === !0 && (St(V, q0), St(ue, X0), St(ue, Fu)), be.svgFilters === !0 && (St(V, G0), St(ue, X0), St(ue, Fu)), be.mathMl === !0 && (St(V, $0), St(ue, gm), St(ue, Fu))), pe.ADD_TAGS && (V === P && (V = Fa(V)), St(V, pe.ADD_TAGS, xe)), pe.ADD_ATTR && (ue === le && (ue = Fa(ue)), St(ue, pe.ADD_ATTR, xe)), pe.ADD_URI_SAFE_ATTR && St(De, pe.ADD_URI_SAFE_ATTR, xe), pe.FORBID_CONTENTS && (de === J && (de = Fa(de)), St(de, pe.FORBID_CONTENTS, xe)), ee && (V["#text"] = !0), G && St(V, ["html", "head", "body"]), V.table && (St(V, ["tbody"]), delete Re.tbody), er && er(pe), rt = pe);
2955
+ ) : Le, de = "FORBID_CONTENTS" in pe ? St({}, pe.FORBID_CONTENTS, xe) : J, Re = "FORBID_TAGS" in pe ? St({}, pe.FORBID_TAGS, xe) : {}, ie = "FORBID_ATTR" in pe ? St({}, pe.FORBID_ATTR, xe) : {}, be = "USE_PROFILES" in pe ? pe.USE_PROFILES : !1, se = pe.ALLOW_ARIA_ATTR !== !1, ae = pe.ALLOW_DATA_ATTR !== !1, re = pe.ALLOW_UNKNOWN_PROTOCOLS || !1, W = pe.SAFE_FOR_TEMPLATES || !1, G = pe.WHOLE_DOCUMENT || !1, Z = pe.RETURN_DOM || !1, A = pe.RETURN_DOM_FRAGMENT || !1, q = pe.RETURN_TRUSTED_TYPE || !1, F = pe.FORCE_BODY || !1, j = pe.SANITIZE_DOM !== !1, ge = pe.SANITIZE_NAMED_PROPS || !1, ee = pe.KEEP_CONTENT !== !1, he = pe.IN_PLACE || !1, Y = pe.ALLOWED_URI_REGEXP || Y, Xe = pe.NAMESPACE || We, pe.CUSTOM_ELEMENT_HANDLING && lt(pe.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (ne.tagNameCheck = pe.CUSTOM_ELEMENT_HANDLING.tagNameCheck), pe.CUSTOM_ELEMENT_HANDLING && lt(pe.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (ne.attributeNameCheck = pe.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), pe.CUSTOM_ELEMENT_HANDLING && typeof pe.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (ne.allowCustomizedBuiltInElements = pe.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), W && (ae = !1), A && (Z = !0), be && (V = St({}, Wr(pm)), ue = [], be.html === !0 && (St(V, fm), St(ue, mm)), be.svg === !0 && (St(V, q0), St(ue, X0), St(ue, Fu)), be.svgFilters === !0 && (St(V, G0), St(ue, X0), St(ue, Fu)), be.mathMl === !0 && (St(V, $0), St(ue, gm), St(ue, Fu))), pe.ADD_TAGS && (V === P && (V = Fa(V)), St(V, pe.ADD_TAGS, xe)), pe.ADD_ATTR && (ue === le && (ue = Fa(ue)), St(ue, pe.ADD_ATTR, xe)), pe.ADD_URI_SAFE_ATTR && St(De, pe.ADD_URI_SAFE_ATTR, xe), pe.FORBID_CONTENTS && (de === J && (de = Fa(de)), St(de, pe.FORBID_CONTENTS, xe)), ee && (V["#text"] = !0), G && St(V, ["html", "head", "body"]), V.table && (St(V, ["tbody"]), delete Re.tbody), er && er(pe), rt = pe);
2956
2956
  }, Ct = St({}, ["mi", "mo", "mn", "ms", "mtext"]), bt = St({}, ["foreignobject", "desc", "title", "annotation-xml"]), vt = St({}, ["title", "style", "font", "a", "script"]), Je = St({}, q0);
2957
2957
  St(Je, G0), St(Je, UA);
2958
2958
  var ot = St({}, $0);
@@ -3063,7 +3063,7 @@ function wb() {
3063
3063
  }
3064
3064
  return st(pe), !0;
3065
3065
  }
3066
- return pe instanceof o && !_t(pe) || (Ve === "noscript" || Ve === "noembed") && Xn(/<\/no(script|embed)/i, pe.innerHTML) ? (st(pe), !0) : (W && pe.nodeType === 3 && (Be = pe.textContent, Be = Wr(Be, m, " "), Be = Wr(Be, S, " "), Be = Wr(Be, k, " "), pe.textContent !== Be && (jo(t.removed, {
3066
+ return pe instanceof o && !_t(pe) || (Ve === "noscript" || Ve === "noembed") && Xn(/<\/no(script|embed)/i, pe.innerHTML) ? (st(pe), !0) : (W && pe.nodeType === 3 && (Be = pe.textContent, Be = Yr(Be, m, " "), Be = Yr(Be, S, " "), Be = Yr(Be, k, " "), pe.textContent !== Be && (jo(t.removed, {
3067
3067
  element: pe.cloneNode()
3068
3068
  }), pe.textContent = Be)), Un("afterSanitizeElements", pe, null), !1);
3069
3069
  }, bn = function(pe, Be, Ve) {
@@ -3081,9 +3081,9 @@ function wb() {
3081
3081
  Be === "is" && ne.allowCustomizedBuiltInElements && (ne.tagNameCheck instanceof RegExp && Xn(ne.tagNameCheck, Ve) || ne.tagNameCheck instanceof Function && ne.tagNameCheck(Ve)))
3082
3082
  ) return !1;
3083
3083
  } else if (!De[Be]) {
3084
- if (!Xn(Y, Wr(Ve, B, ""))) {
3084
+ if (!Xn(Y, Yr(Ve, B, ""))) {
3085
3085
  if (!((Be === "src" || Be === "xlink:href" || Be === "href") && pe !== "script" && BA(Ve, "data:") === 0 && ke[pe])) {
3086
- if (!(re && !Xn($, Wr(Ve, B, "")))) {
3086
+ if (!(re && !Xn($, Yr(Ve, B, "")))) {
3087
3087
  if (Ve) return !1;
3088
3088
  }
3089
3089
  }
@@ -3113,7 +3113,7 @@ function wb() {
3113
3113
  Ni(Xt, pe);
3114
3114
  continue;
3115
3115
  }
3116
- W && (Ve = Wr(Ve, m, " "), Ve = Wr(Ve, S, " "), Ve = Wr(Ve, k, " "));
3116
+ W && (Ve = Yr(Ve, m, " "), Ve = Yr(Ve, S, " "), Ve = Yr(Ve, k, " "));
3117
3117
  var Es = xe(pe.nodeName);
3118
3118
  if (bn(Es, gt, Ve)) {
3119
3119
  if (ge && (gt === "id" || gt === "name") && (Ni(Xt, pe), Ve = me + Ve), R && ga(f) === "object" && typeof f.getAttributeType == "function" && !Fo)
@@ -3187,7 +3187,7 @@ function wb() {
3187
3187
  }
3188
3188
  var Xt = G ? Be.outerHTML : Be.innerHTML;
3189
3189
  return G && V["!doctype"] && Be.ownerDocument && Be.ownerDocument.doctype && Be.ownerDocument.doctype.name && Xn(XA, Be.ownerDocument.doctype.name) && (Xt = "<!DOCTYPE " + Be.ownerDocument.doctype.name + `>
3190
- ` + Xt), W && (Xt = Wr(Xt, m, " "), Xt = Wr(Xt, S, " "), Xt = Wr(Xt, k, " ")), R && q ? R.createHTML(Xt) : Xt;
3190
+ ` + Xt), W && (Xt = Yr(Xt, m, " "), Xt = Yr(Xt, S, " "), Xt = Yr(Xt, k, " ")), R && q ? R.createHTML(Xt) : Xt;
3191
3191
  }, t.setConfig = function($e) {
3192
3192
  mt($e), C = !0;
3193
3193
  }, t.clearConfig = function() {
@@ -3929,7 +3929,7 @@ function iS() {
3929
3929
  function aS() {
3930
3930
  return hn = Hr > 0 ? zs(vo, --Hr) : 0, io--, hn === 10 && (io = 1, Ph--), hn;
3931
3931
  }
3932
- function Qr() {
3932
+ function Kr() {
3933
3933
  return hn = Hr < Pb ? zs(vo, Hr++) : 0, io++, hn === 10 && (io = 1, Ph++), hn;
3934
3934
  }
3935
3935
  function ba() {
@@ -3984,16 +3984,16 @@ function Q0(e) {
3984
3984
  }
3985
3985
  function lS(e) {
3986
3986
  for (; (hn = ba()) && hn < 33; )
3987
- Qr();
3987
+ Kr();
3988
3988
  return Rl(e) > 2 || Rl(hn) > 3 ? "" : " ";
3989
3989
  }
3990
3990
  function uS(e, t) {
3991
- for (; --t && Qr() && !(hn < 48 || hn > 102 || hn > 57 && hn < 65 || hn > 70 && hn < 97); )
3991
+ for (; --t && Kr() && !(hn < 48 || hn > 102 || hn > 57 && hn < 65 || hn > 70 && hn < 97); )
3992
3992
  ;
3993
- return Uh(e, lc() + (t < 6 && ba() == 32 && Qr() == 32));
3993
+ return Uh(e, lc() + (t < 6 && ba() == 32 && Kr() == 32));
3994
3994
  }
3995
3995
  function ud(e) {
3996
- for (; Qr(); )
3996
+ for (; Kr(); )
3997
3997
  switch (hn) {
3998
3998
  case e:
3999
3999
  return Hr;
@@ -4005,20 +4005,20 @@ function ud(e) {
4005
4005
  e === 41 && ud(e);
4006
4006
  break;
4007
4007
  case 92:
4008
- Qr();
4008
+ Kr();
4009
4009
  break;
4010
4010
  }
4011
4011
  return Hr;
4012
4012
  }
4013
4013
  function cS(e, t) {
4014
- for (; Qr() && e + hn !== 57; )
4014
+ for (; Kr() && e + hn !== 57; )
4015
4015
  if (e + hn === 84 && ba() === 47)
4016
4016
  break;
4017
- return "/*" + Uh(t, Hr - 1) + "*" + Hf(e === 47 ? e : Qr());
4017
+ return "/*" + Uh(t, Hr - 1) + "*" + Hf(e === 47 ? e : Kr());
4018
4018
  }
4019
4019
  function hS(e) {
4020
4020
  for (; !Rl(ba()); )
4021
- Qr();
4021
+ Kr();
4022
4022
  return Uh(e, Hr);
4023
4023
  }
4024
4024
  function dS(e) {
@@ -4026,7 +4026,7 @@ function dS(e) {
4026
4026
  }
4027
4027
  function uc(e, t, n, r, i, a, s, o, l) {
4028
4028
  for (var u = 0, h = 0, d = s, p = 0, f = 0, g = 0, y = 1, _ = 1, b = 1, x = 0, v = "", R = i, O = a, D = r, M = v; _; )
4029
- switch (g = x, x = Qr()) {
4029
+ switch (g = x, x = Kr()) {
4030
4030
  case 40:
4031
4031
  if (g != 108 && zs(M, d - 1) == 58) {
4032
4032
  nS(M += oc(Q0(x), "&", "&\f"), "&\f", Bb(u ? o[u - 1] : 0)) != -1 && (b = -1);
@@ -4050,7 +4050,7 @@ function uc(e, t, n, r, i, a, s, o, l) {
4050
4050
  switch (ba()) {
4051
4051
  case 42:
4052
4052
  case 47:
4053
- Pu(fS(cS(Qr(), lc()), t, n, l), l), (Rl(g || 1) == 5 || Rl(ba() || 1) == 5) && di(M) && ro(M, -1, void 0) !== " " && (M += " ");
4053
+ Pu(fS(cS(Kr(), lc()), t, n, l), l), (Rl(g || 1) == 5 || Rl(ba() || 1) == 5) && di(M) && ro(M, -1, void 0) !== " " && (M += " ");
4054
4054
  break;
4055
4055
  default:
4056
4056
  M += "/";
@@ -4108,7 +4108,7 @@ function uc(e, t, n, r, i, a, s, o, l) {
4108
4108
  o[u++] = (di(M) - 1) * b, b = 1;
4109
4109
  break;
4110
4110
  case 64:
4111
- ba() === 45 && (M += Q0(Qr())), p = ba(), h = d = di(v = M += hS(lc())), x++;
4111
+ ba() === 45 && (M += Q0(Kr())), p = ba(), h = d = di(v = M += hS(lc())), x++;
4112
4112
  break;
4113
4113
  case 45:
4114
4114
  g === 45 && di(M) == 2 && (y = 0);
@@ -4565,15 +4565,15 @@ function r9(e, t) {
4565
4565
  }
4566
4566
  return n.set(e, t), this.size = n.size, this;
4567
4567
  }
4568
- function Zr(e) {
4568
+ function Qr(e) {
4569
4569
  var t = this.__data__ = new sa(e);
4570
4570
  this.size = t.size;
4571
4571
  }
4572
- Zr.prototype.clear = Zw;
4573
- Zr.prototype.delete = Jw;
4574
- Zr.prototype.get = e9;
4575
- Zr.prototype.has = t9;
4576
- Zr.prototype.set = r9;
4572
+ Qr.prototype.clear = Zw;
4573
+ Qr.prototype.delete = Jw;
4574
+ Qr.prototype.get = e9;
4575
+ Qr.prototype.has = t9;
4576
+ Qr.prototype.set = r9;
4577
4577
  function i9(e, t) {
4578
4578
  return e && ou(t, yr(t), e);
4579
4579
  }
@@ -4739,7 +4739,7 @@ function ul(e, t, n, r, i, a) {
4739
4739
  s = W9(e, d, o);
4740
4740
  }
4741
4741
  }
4742
- a || (a = new Zr());
4742
+ a || (a = new Qr());
4743
4743
  var f = a.get(e);
4744
4744
  if (f)
4745
4745
  return f;
@@ -4909,15 +4909,15 @@ function nI(e, t, n, r, i, a) {
4909
4909
  s = !0, h = !1;
4910
4910
  }
4911
4911
  if (p && !h)
4912
- return a || (a = new Zr()), s || qh(e) ? d4(e, t, n, r, i, a) : XL(e, t, l, n, r, i, a);
4912
+ return a || (a = new Qr()), s || qh(e) ? d4(e, t, n, r, i, a) : XL(e, t, l, n, r, i, a);
4913
4913
  if (!(n & eI)) {
4914
4914
  var f = h && $m.call(e, "__wrapped__"), g = d && $m.call(t, "__wrapped__");
4915
4915
  if (f || g) {
4916
4916
  var y = f ? e.value() : e, _ = g ? t.value() : t;
4917
- return a || (a = new Zr()), i(y, _, n, r, a);
4917
+ return a || (a = new Qr()), i(y, _, n, r, a);
4918
4918
  }
4919
4919
  }
4920
- return p ? (a || (a = new Zr()), JL(e, t, n, r, i, a)) : !1;
4920
+ return p ? (a || (a = new Qr()), JL(e, t, n, r, i, a)) : !1;
4921
4921
  }
4922
4922
  function Kf(e, t, n, r, i) {
4923
4923
  return e === t ? !0 : e == null || t == null || !Ci(e) && !Ci(t) ? e !== e && t !== t : nI(e, t, n, r, Kf, i);
@@ -4939,7 +4939,7 @@ function aI(e, t, n, r) {
4939
4939
  if (l === void 0 && !(o in e))
4940
4940
  return !1;
4941
4941
  } else {
4942
- var h = new Zr(), d;
4942
+ var h = new Qr(), d;
4943
4943
  if (!(d === void 0 ? Kf(u, l, rI | iI, r, h) : d))
4944
4944
  return !1;
4945
4945
  }
@@ -5069,7 +5069,7 @@ function _I(e, t, n, r, i, a, s) {
5069
5069
  }
5070
5070
  function x4(e, t, n, r, i) {
5071
5071
  e !== t && Qf(t, function(a, s) {
5072
- if (i || (i = new Zr()), Tr(a))
5072
+ if (i || (i = new Qr()), Tr(a))
5073
5073
  _I(e, t, s, n, x4, r, i);
5074
5074
  else {
5075
5075
  var o = r ? r(gd(e, s), a, s + "", e, t, i) : void 0;
@@ -6983,7 +6983,7 @@ function Si(e, t) {
6983
6983
  function H4(e, t, n) {
6984
6984
  t && e.attr("class", t).attr("class", n + " " + e.attr("class"));
6985
6985
  }
6986
- function ri(e, t) {
6986
+ function ni(e, t) {
6987
6987
  var n = t.graph();
6988
6988
  if (Jb(n)) {
6989
6989
  var r = n.transition;
@@ -7079,7 +7079,7 @@ var xd = function(e, t) {
7079
7079
  }), r = e.selectAll("g.cluster").data(n, function(a) {
7080
7080
  return a;
7081
7081
  });
7082
- ri(r.exit(), t).style("opacity", 0).remove();
7082
+ ni(r.exit(), t).style("opacity", 0).remove();
7083
7083
  var i = r.enter().append("g").attr("class", "cluster").attr("id", function(a) {
7084
7084
  var s = t.node(a);
7085
7085
  return s.id;
@@ -7089,7 +7089,7 @@ var xd = function(e, t) {
7089
7089
  var l = o.append("g").attr("class", "label");
7090
7090
  a2(l, s, s.clusterLabelPos);
7091
7091
  });
7092
- return r = r.merge(i), r = ri(r, t).style("opacity", 1), r.selectAll("rect").each(function(a) {
7092
+ return r = r.merge(i), r = ni(r, t).style("opacity", 1), r.selectAll("rect").each(function(a) {
7093
7093
  var s = t.node(a), o = Oe(this);
7094
7094
  Si(o, s.style);
7095
7095
  }), r;
@@ -7108,7 +7108,7 @@ let Ed = function(e, t) {
7108
7108
  s.labelId && o.attr("id", s.labelId), ft(s, "width") || (s.width = l.width), ft(s, "height") || (s.height = l.height);
7109
7109
  });
7110
7110
  var r;
7111
- return n.exit ? r = n.exit() : r = n.selectAll(null), ri(r, t).style("opacity", 0).remove(), n;
7111
+ return n.exit ? r = n.exit() : r = n.selectAll(null), ni(r, t).style("opacity", 0).remove(), n;
7112
7112
  };
7113
7113
  function hR(e) {
7114
7114
  Ed = e;
@@ -7122,7 +7122,7 @@ var Td = function(e, t, n) {
7122
7122
  }).classed("update", !0), i = gR(r, t);
7123
7123
  yR(r, t);
7124
7124
  var a = r.merge !== void 0 ? r.merge(i) : r;
7125
- return ri(a, t).style("opacity", 1), a.each(function(s) {
7125
+ return ni(a, t).style("opacity", 1), a.each(function(s) {
7126
7126
  var o = Oe(this), l = t.edge(s);
7127
7127
  l.elem = this, l.id && o.attr("id", l.id), H4(
7128
7128
  o,
@@ -7135,7 +7135,7 @@ var Td = function(e, t, n) {
7135
7135
  var l = Oe(this).attr("marker-end", function() {
7136
7136
  return "url(" + fR(location.href, o.arrowheadId) + ")";
7137
7137
  }).style("fill", "none");
7138
- ri(l, t).attr("d", function(u) {
7138
+ ni(l, t).attr("d", function(u) {
7139
7139
  return pR(t, u);
7140
7140
  }), Si(l, o.style);
7141
7141
  }), a.selectAll("defs *").remove(), a.selectAll("defs").each(function(s) {
@@ -7177,7 +7177,7 @@ function gR(e, t) {
7177
7177
  }
7178
7178
  function yR(e, t) {
7179
7179
  var n = e.exit();
7180
- ri(n, t).style("opacity", 0).remove();
7180
+ ni(n, t).style("opacity", 0).remove();
7181
7181
  }
7182
7182
  var kd = function(e, t, n) {
7183
7183
  var r = t.nodes().filter(function(s) {
@@ -7205,7 +7205,7 @@ var kd = function(e, t, n) {
7205
7205
  o.width = y.width, o.height = y.height;
7206
7206
  });
7207
7207
  var a;
7208
- return i.exit ? a = i.exit() : a = i.selectAll(null), ri(a, t).style("opacity", 0).remove(), i;
7208
+ return i.exit ? a = i.exit() : a = i.selectAll(null), ni(a, t).style("opacity", 0).remove(), i;
7209
7209
  };
7210
7210
  function bR(e) {
7211
7211
  kd = e;
@@ -7218,7 +7218,7 @@ function _R(e, t) {
7218
7218
  var a = t.node(i);
7219
7219
  return "translate(" + a.x + "," + a.y + ")";
7220
7220
  }
7221
- n.attr("transform", r), ri(e, t).style("opacity", 1).attr("transform", r), ri(n.selectAll("rect"), t).attr("width", function(i) {
7221
+ n.attr("transform", r), ni(e, t).style("opacity", 1).attr("transform", r), ni(n.selectAll("rect"), t).attr("width", function(i) {
7222
7222
  return t.node(i).width;
7223
7223
  }).attr("height", function(i) {
7224
7224
  return t.node(i).height;
@@ -7238,7 +7238,7 @@ function xR(e, t) {
7238
7238
  var a = t.edge(i);
7239
7239
  return ft(a, "x") ? "translate(" + a.x + "," + a.y + ")" : "";
7240
7240
  }
7241
- n.attr("transform", r), ri(e, t).style("opacity", 1).attr("transform", r);
7241
+ n.attr("transform", r), ni(e, t).style("opacity", 1).attr("transform", r);
7242
7242
  }
7243
7243
  function ER(e, t) {
7244
7244
  var n = e.filter(function() {
@@ -7248,7 +7248,7 @@ function ER(e, t) {
7248
7248
  var a = t.node(i);
7249
7249
  return "translate(" + a.x + "," + a.y + ")";
7250
7250
  }
7251
- n.attr("transform", r), ri(e, t).style("opacity", 1).attr("transform", r);
7251
+ n.attr("transform", r), ni(e, t).style("opacity", 1).attr("transform", r);
7252
7252
  }
7253
7253
  function j4(e, t, n, r) {
7254
7254
  var i = e.x, a = e.y, s = i - r.x, o = a - r.y, l = Math.sqrt(t * t * o * o + n * n * s * s), u = Math.abs(t * n * s / l);
@@ -10852,7 +10852,7 @@ const $M = /%{2}{\s*(?:(\w+)\s*:|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(
10852
10852
  return n;
10853
10853
  return -1;
10854
10854
  };
10855
- function Jr(e, t) {
10855
+ function Zr(e, t) {
10856
10856
  if (!e)
10857
10857
  return t;
10858
10858
  const n = `curve${e.charAt(0).toUpperCase() + e.slice(1)}`;
@@ -11108,7 +11108,7 @@ const pB = (e, t, n, r) => {
11108
11108
  detectInit: JM,
11109
11109
  detectDirective: h_,
11110
11110
  isSubstringInArray: eB,
11111
- interpolateToCurve: Jr,
11111
+ interpolateToCurve: Zr,
11112
11112
  calcLabelPosition: iB,
11113
11113
  calcCardinalityPosition: aB,
11114
11114
  calcTerminalLabelPosition: sB,
@@ -11163,14 +11163,14 @@ const _g = {}, bB = (e) => {
11163
11163
  }, xB = function(e, t, n) {
11164
11164
  let r = /* @__PURE__ */ new Map();
11165
11165
  return n ? (r.set("width", "100%"), r.set("style", `max-width: ${t}px;`)) : (r.set("height", e), r.set("width", t)), r;
11166
- }, ai = function(e, t, n, r) {
11166
+ }, ii = function(e, t, n, r) {
11167
11167
  const i = xB(t, n, r);
11168
11168
  _B(e, i);
11169
11169
  }, i0 = function(e, t, n, r) {
11170
11170
  const i = t.node().getBBox(), a = i.width, s = i.height;
11171
11171
  K.info(`SVG bounds: ${a}x${s}`, i);
11172
11172
  let o = 0, l = 0;
11173
- K.info(`Graph bounds: ${o}x${l}`, e), o = a + n * 2, l = s + n * 2, K.info(`Calculated bounds: ${o}x${l}`), ai(t, l, o, r);
11173
+ K.info(`Graph bounds: ${o}x${l}`, e), o = a + n * 2, l = s + n * 2, K.info(`Calculated bounds: ${o}x${l}`), ii(t, l, o, r);
11174
11174
  const u = `${i.x - n} ${i.y - n} ${i.width + 2 * n} ${i.height + 2 * n}`;
11175
11175
  t.attr("viewBox", u);
11176
11176
  }, EB = (e) => `g.classGroup text {
@@ -12319,15 +12319,15 @@ const y2 = (e) => zr(e, fe()), Cr = function() {
12319
12319
  `);
12320
12320
  }, Sr = function() {
12321
12321
  return g2;
12322
- }, si = function(e) {
12322
+ }, ai = function(e) {
12323
12323
  a0 = y2(e);
12324
- }, oi = function() {
12324
+ }, si = function() {
12325
12325
  return a0;
12326
12326
  }, BB = {
12327
12327
  setAccTitle: cr,
12328
12328
  getAccTitle: vr,
12329
- setDiagramTitle: si,
12330
- getDiagramTitle: oi,
12329
+ setDiagramTitle: ai,
12330
+ getDiagramTitle: si,
12331
12331
  getAccDescription: Sr,
12332
12332
  setAccDescription: Ar,
12333
12333
  clear: Cr
@@ -12337,10 +12337,10 @@ const y2 = (e) => zr(e, fe()), Cr = function() {
12337
12337
  default: BB,
12338
12338
  getAccDescription: Sr,
12339
12339
  getAccTitle: vr,
12340
- getDiagramTitle: oi,
12340
+ getDiagramTitle: si,
12341
12341
  setAccDescription: Ar,
12342
12342
  setAccTitle: cr,
12343
- setDiagramTitle: si
12343
+ setDiagramTitle: ai
12344
12344
  }, Symbol.toStringTag, { value: "Module" }));
12345
12345
  let Ua = {};
12346
12346
  const L_ = function(e, t, n, r) {
@@ -13409,8 +13409,8 @@ const nF = function() {
13409
13409
  getAccTitle: vr,
13410
13410
  getAccDescription: Sr,
13411
13411
  setAccDescription: Ar,
13412
- setDiagramTitle: si,
13413
- getDiagramTitle: oi,
13412
+ setDiagramTitle: ai,
13413
+ getDiagramTitle: si,
13414
13414
  commitType: jl
13415
13415
  };
13416
13416
  let tl = {};
@@ -14281,7 +14281,7 @@ Expecting ` + Cn.join(", ") + ", got '" + (this.terminals_[jt] || jt) + "'" : $e
14281
14281
  }();
14282
14282
  rh.parser = rh;
14283
14283
  const EF = rh, TF = (e) => e.match(/^\s*C4Context|C4Container|C4Component|C4Dynamic|C4Deployment/) !== null;
14284
- let ii = [], ka = [""], Jn = "global", ei = "", vi = [
14284
+ let ri = [], ka = [""], Jn = "global", Jr = "", vi = [
14285
14285
  {
14286
14286
  alias: "global",
14287
14287
  label: { text: "global" },
@@ -14337,8 +14337,8 @@ const kF = function() {
14337
14337
  if (t === null || n === null)
14338
14338
  return;
14339
14339
  let o = {};
14340
- const l = ii.find((u) => u.alias === t);
14341
- if (l && t === l.alias ? o = l : (o.alias = t, ii.push(o)), n == null ? o.label = { text: "" } : o.label = { text: n }, r == null)
14340
+ const l = ri.find((u) => u.alias === t);
14341
+ if (l && t === l.alias ? o = l : (o.alias = t, ri.push(o)), n == null ? o.label = { text: "" } : o.label = { text: n }, r == null)
14342
14342
  o.descr = { text: "" };
14343
14343
  else if (typeof r == "object") {
14344
14344
  let [u, h] = Object.entries(r)[0];
@@ -14365,8 +14365,8 @@ const kF = function() {
14365
14365
  if (t === null || n === null)
14366
14366
  return;
14367
14367
  let l = {};
14368
- const u = ii.find((h) => h.alias === t);
14369
- if (u && t === u.alias ? l = u : (l.alias = t, ii.push(l)), n == null ? l.label = { text: "" } : l.label = { text: n }, r == null)
14368
+ const u = ri.find((h) => h.alias === t);
14369
+ if (u && t === u.alias ? l = u : (l.alias = t, ri.push(l)), n == null ? l.label = { text: "" } : l.label = { text: n }, r == null)
14370
14370
  l.techn = { text: "" };
14371
14371
  else if (typeof r == "object") {
14372
14372
  let [h, d] = Object.entries(r)[0];
@@ -14400,8 +14400,8 @@ const kF = function() {
14400
14400
  if (t === null || n === null)
14401
14401
  return;
14402
14402
  let l = {};
14403
- const u = ii.find((h) => h.alias === t);
14404
- if (u && t === u.alias ? l = u : (l.alias = t, ii.push(l)), n == null ? l.label = { text: "" } : l.label = { text: n }, r == null)
14403
+ const u = ri.find((h) => h.alias === t);
14404
+ if (u && t === u.alias ? l = u : (l.alias = t, ri.push(l)), n == null ? l.label = { text: "" } : l.label = { text: n }, r == null)
14405
14405
  l.techn = { text: "" };
14406
14406
  else if (typeof r == "object") {
14407
14407
  let [h, d] = Object.entries(r)[0];
@@ -14453,7 +14453,7 @@ const kF = function() {
14453
14453
  a[o] = l;
14454
14454
  } else
14455
14455
  a.link = i;
14456
- a.parentBoundary = Jn, a.wrap = Na(), ei = Jn, Jn = e, ka.push(ei);
14456
+ a.parentBoundary = Jn, a.wrap = Na(), Jr = Jn, Jn = e, ka.push(Jr);
14457
14457
  }, NF = function(e, t, n, r, i) {
14458
14458
  if (e === null || t === null)
14459
14459
  return;
@@ -14476,7 +14476,7 @@ const kF = function() {
14476
14476
  a[o] = l;
14477
14477
  } else
14478
14478
  a.link = i;
14479
- a.parentBoundary = Jn, a.wrap = Na(), ei = Jn, Jn = e, ka.push(ei);
14479
+ a.parentBoundary = Jn, a.wrap = Na(), Jr = Jn, Jn = e, ka.push(Jr);
14480
14480
  }, DF = function(e, t, n, r, i, a, s, o) {
14481
14481
  if (t === null || n === null)
14482
14482
  return;
@@ -14506,11 +14506,11 @@ const kF = function() {
14506
14506
  l[h] = d;
14507
14507
  } else
14508
14508
  l.link = o;
14509
- l.nodeType = e, l.parentBoundary = Jn, l.wrap = Na(), ei = Jn, Jn = t, ka.push(ei);
14509
+ l.nodeType = e, l.parentBoundary = Jn, l.wrap = Na(), Jr = Jn, Jn = t, ka.push(Jr);
14510
14510
  }, RF = function() {
14511
- Jn = ei, ka.pop(), ei = ka.pop(), ka.push(ei);
14511
+ Jn = Jr, ka.pop(), Jr = ka.pop(), ka.push(Jr);
14512
14512
  }, OF = function(e, t, n, r, i, a, s, o, l, u, h) {
14513
- let d = ii.find((p) => p.alias === t);
14513
+ let d = ri.find((p) => p.alias === t);
14514
14514
  if (!(d === void 0 && (d = vi.find((p) => p.alias === t), d === void 0))) {
14515
14515
  if (n != null)
14516
14516
  if (typeof n == "object") {
@@ -14615,11 +14615,11 @@ const kF = function() {
14615
14615
  }, UF = function() {
14616
14616
  return Jn;
14617
14617
  }, HF = function() {
14618
- return ei;
14618
+ return Jr;
14619
14619
  }, P_ = function(e) {
14620
- return e == null ? ii : ii.filter((t) => t.parentBoundary === e);
14620
+ return e == null ? ri : ri.filter((t) => t.parentBoundary === e);
14621
14621
  }, zF = function(e) {
14622
- return ii.find((t) => t.alias === e);
14622
+ return ri.find((t) => t.alias === e);
14623
14623
  }, jF = function(e) {
14624
14624
  return Object.keys(P_(e));
14625
14625
  }, VF = function(e) {
@@ -14633,7 +14633,7 @@ const kF = function() {
14633
14633
  }, Na = function() {
14634
14634
  return x2;
14635
14635
  }, GF = function() {
14636
- ii = [], vi = [
14636
+ ri = [], vi = [
14637
14637
  {
14638
14638
  alias: "global",
14639
14639
  label: { text: "global" },
@@ -14642,7 +14642,7 @@ const kF = function() {
14642
14642
  link: null,
14643
14643
  parentBoundary: ""
14644
14644
  }
14645
- ], ei = "", Jn = "global", ka = [""], Vl = [], ka = [""], _2 = "", x2 = !1, ih = 4, ah = 2;
14645
+ ], Jr = "", Jn = "global", ka = [""], Vl = [], ka = [""], _2 = "", x2 = !1, ih = 4, ah = 2;
14646
14646
  }, $F = {
14647
14647
  SOLID: 0,
14648
14648
  DOTTED: 1,
@@ -15050,7 +15050,7 @@ const Dd = function(e) {
15050
15050
  fontSize: e.messageFontSize,
15051
15051
  fontWeight: e.messageFontWeight
15052
15052
  });
15053
- function Xr(e, t, n, r, i) {
15053
+ function $r(e, t, n, r, i) {
15054
15054
  if (!t[e].width)
15055
15055
  if (n)
15056
15056
  t[e].text = p_(t[e].text, i, r), t[e].textLines = t[e].text.split(ht.lineBreakRegex).length, t[e].width = i, t[e].height = Sd(t[e].text, r);
@@ -15071,7 +15071,7 @@ const Y_ = function(e, t, n) {
15071
15071
  let r = t.wrap && et.wrap, i = fc(et);
15072
15072
  i.fontSize = i.fontSize + 2, i.fontWeight = "bold";
15073
15073
  let a = Ti(t.label.text, i);
15074
- Xr("label", t, r, i, a), fi.drawBoundary(e, t, et);
15074
+ $r("label", t, r, i, a), fi.drawBoundary(e, t, et);
15075
15075
  }, W_ = function(e, t, n, r) {
15076
15076
  let i = 0;
15077
15077
  for (const a of r) {
@@ -15089,19 +15089,19 @@ const Y_ = function(e, t, n) {
15089
15089
  }
15090
15090
  s.sprite && (s.image.width = 48, s.image.height = 48, s.image.Y = i, i = s.image.Y + s.image.height);
15091
15091
  let l = s.wrap && et.wrap, u = et.width - et.c4ShapePadding * 2, h = Wo(et, s.typeC4Shape.text);
15092
- if (h.fontSize = h.fontSize + 2, h.fontWeight = "bold", Xr("label", s, l, h, u), s.label.Y = i + 8, i = s.label.Y + s.label.height, s.type && s.type.text !== "") {
15092
+ if (h.fontSize = h.fontSize + 2, h.fontWeight = "bold", $r("label", s, l, h, u), s.label.Y = i + 8, i = s.label.Y + s.label.height, s.type && s.type.text !== "") {
15093
15093
  s.type.text = "[" + s.type.text + "]";
15094
15094
  let f = Wo(et, s.typeC4Shape.text);
15095
- Xr("type", s, l, f, u), s.type.Y = i + 5, i = s.type.Y + s.type.height;
15095
+ $r("type", s, l, f, u), s.type.Y = i + 5, i = s.type.Y + s.type.height;
15096
15096
  } else if (s.techn && s.techn.text !== "") {
15097
15097
  s.techn.text = "[" + s.techn.text + "]";
15098
15098
  let f = Wo(et, s.techn.text);
15099
- Xr("techn", s, l, f, u), s.techn.Y = i + 5, i = s.techn.Y + s.techn.height;
15099
+ $r("techn", s, l, f, u), s.techn.Y = i + 5, i = s.techn.Y + s.techn.height;
15100
15100
  }
15101
15101
  let d = i, p = s.label.width;
15102
15102
  if (s.descr && s.descr.text !== "") {
15103
15103
  let f = Wo(et, s.typeC4Shape.text);
15104
- Xr("descr", s, l, f, u), s.descr.Y = i + 20, i = s.descr.Y + s.descr.height, p = Math.max(s.label.width, s.descr.width), d = i - s.descr.textLines * 5;
15104
+ $r("descr", s, l, f, u), s.descr.Y = i + 20, i = s.descr.Y + s.descr.height, p = Math.max(s.label.width, s.descr.width), d = i - s.descr.textLines * 5;
15105
15105
  }
15106
15106
  p = p + et.c4ShapePadding, s.width = Math.max(s.width || et.width, p, et.width), s.height = Math.max(s.height || et.height, d, et.height), s.margin = s.margin || et.c4ShapeMargin, e.insert(s), fi.drawC4Shape(t, s, et);
15107
15107
  }
@@ -15136,7 +15136,7 @@ const dP = function(e, t, n, r) {
15136
15136
  let s = a.wrap && et.wrap, o = cP(et);
15137
15137
  r.db.getC4Type() === "C4Dynamic" && (a.label.text = i + ": " + a.label.text);
15138
15138
  let u = Ti(a.label.text, o);
15139
- Xr("label", a, s, o, u), a.techn && a.techn.text !== "" && (u = Ti(a.techn.text, o), Xr("techn", a, s, o, u)), a.descr && a.descr.text !== "" && (u = Ti(a.descr.text, o), Xr("descr", a, s, o, u));
15139
+ $r("label", a, s, o, u), a.techn && a.techn.text !== "" && (u = Ti(a.techn.text, o), $r("techn", a, s, o, u)), a.descr && a.descr.text !== "" && (u = Ti(a.descr.text, o), $r("descr", a, s, o, u));
15140
15140
  let h = n(a.from), d = n(a.to), p = hP(h, d);
15141
15141
  a.startPoint = p.startPoint, a.endPoint = p.endPoint;
15142
15142
  }
@@ -15149,7 +15149,7 @@ function q_(e, t, n, r, i) {
15149
15149
  let l = 0;
15150
15150
  o.image = { width: 0, height: 0, Y: 0 }, o.sprite && (o.image.width = 48, o.image.height = 48, o.image.Y = l, l = o.image.Y + o.image.height);
15151
15151
  let u = o.wrap && et.wrap, h = fc(et);
15152
- if (h.fontSize = h.fontSize + 2, h.fontWeight = "bold", Xr(
15152
+ if (h.fontSize = h.fontSize + 2, h.fontWeight = "bold", $r(
15153
15153
  "label",
15154
15154
  o,
15155
15155
  u,
@@ -15158,7 +15158,7 @@ function q_(e, t, n, r, i) {
15158
15158
  ), o.label.Y = l + 8, l = o.label.Y + o.label.height, o.type && o.type.text !== "") {
15159
15159
  o.type.text = "[" + o.type.text + "]";
15160
15160
  let g = fc(et);
15161
- Xr(
15161
+ $r(
15162
15162
  "type",
15163
15163
  o,
15164
15164
  u,
@@ -15168,7 +15168,7 @@ function q_(e, t, n, r, i) {
15168
15168
  }
15169
15169
  if (o.descr && o.descr.text !== "") {
15170
15170
  let g = fc(et);
15171
- g.fontSize = g.fontSize - 2, Xr(
15171
+ g.fontSize = g.fontSize - 2, $r(
15172
15172
  "descr",
15173
15173
  o,
15174
15174
  u,
@@ -15230,7 +15230,7 @@ const fP = function(e, t, n, r) {
15230
15230
  const p = u.data;
15231
15231
  let g = p.stopy - p.starty + 2 * et.diagramMarginY;
15232
15232
  const _ = p.stopx - p.startx + 2 * et.diagramMarginX;
15233
- h && l.append("text").text(h).attr("x", (p.stopx - p.startx) / 2 - 4 * et.diagramMarginX).attr("y", p.starty + et.diagramMarginY), ai(l, g, _, et.useMaxWidth);
15233
+ h && l.append("text").text(h).attr("x", (p.stopx - p.startx) / 2 - 4 * et.diagramMarginX).attr("y", p.starty + et.diagramMarginY), ii(l, g, _, et.useMaxWidth);
15234
15234
  const b = h ? 60 : 0;
15235
15235
  l.attr(
15236
15236
  "viewBox",
@@ -16036,8 +16036,8 @@ const MP = () => K_, BP = (e) => {
16036
16036
  getTooltip: wP,
16037
16037
  setTooltip: SP,
16038
16038
  lookUpDomId: G_,
16039
- setDiagramTitle: si,
16040
- getDiagramTitle: oi
16039
+ setDiagramTitle: ai,
16040
+ getDiagramTitle: si
16041
16041
  };
16042
16042
  let Ag = 0;
16043
16043
  const FP = function(e, t, n, r, i) {
@@ -16275,7 +16275,7 @@ const zu = 20, qo = function(e) {
16275
16275
  x !== void 0 && u.edge(x) !== void 0 && (K.debug("Edge " + x.v + " -> " + x.w + ": " + JSON.stringify(u.edge(x))), d1.drawEdge(l, u.edge(x), u.edge(x).relation, i, r));
16276
16276
  });
16277
16277
  const g = l.node().getBBox(), y = g.width + zu * 2, _ = g.height + zu * 2;
16278
- ai(l, _, y, i.useMaxWidth);
16278
+ ii(l, _, y, i.useMaxWidth);
16279
16279
  const b = `${g.x - zu} ${g.y - zu} ${y} ${_}`;
16280
16280
  K.debug(`viewBox ${b}`), l.attr("viewBox", b);
16281
16281
  }, WP = {
@@ -16379,10 +16379,10 @@ function la(e, t, n, r) {
16379
16379
  }).join(" ")
16380
16380
  ).attr("class", "label-container").attr("transform", "translate(" + -t / 2 + "," + n / 2 + ")");
16381
16381
  }
16382
- let It = {}, Kr = {}, Q_ = {};
16382
+ let It = {}, Xr = {}, Q_ = {};
16383
16383
  const oU = () => {
16384
- Kr = {}, Q_ = {}, It = {};
16385
- }, ch = (e, t) => (K.trace("In isDecendant", t, " ", e, " = ", Kr[t].includes(e)), !!Kr[t].includes(e)), lU = (e, t) => (K.info("Decendants of ", t, " is ", Kr[t]), K.info("Edge is ", e), e.v === t || e.w === t ? !1 : Kr[t] ? Kr[t].includes(e.v) || ch(e.v, t) || ch(e.w, t) || Kr[t].includes(e.w) : (K.debug("Tilt, ", t, ",not in decendants"), !1)), Z_ = (e, t, n, r) => {
16384
+ Xr = {}, Q_ = {}, It = {};
16385
+ }, ch = (e, t) => (K.trace("In isDecendant", t, " ", e, " = ", Xr[t].includes(e)), !!Xr[t].includes(e)), lU = (e, t) => (K.info("Decendants of ", t, " is ", Xr[t]), K.info("Edge is ", e), e.v === t || e.w === t ? !1 : Xr[t] ? Xr[t].includes(e.v) || ch(e.v, t) || ch(e.w, t) || Xr[t].includes(e.w) : (K.debug("Tilt, ", t, ",not in decendants"), !1)), Z_ = (e, t, n, r) => {
16386
16386
  K.warn(
16387
16387
  "Copying children of ",
16388
16388
  e,
@@ -16457,15 +16457,15 @@ const oU = () => {
16457
16457
  n,
16458
16458
  " Replacement id in edges: ",
16459
16459
  ql(n, e)
16460
- ), Kr[n] = J_(n, e), It[n] = { id: ql(n, e), clusterData: e.node(n) });
16460
+ ), Xr[n] = J_(n, e), It[n] = { id: ql(n, e), clusterData: e.node(n) });
16461
16461
  }), e.nodes().forEach(function(n) {
16462
16462
  const r = e.children(n), i = e.edges();
16463
- r.length > 0 ? (K.debug("Cluster identified", n, Kr), i.forEach((a) => {
16463
+ r.length > 0 ? (K.debug("Cluster identified", n, Xr), i.forEach((a) => {
16464
16464
  if (a.v !== n && a.w !== n) {
16465
16465
  const s = ch(a.v, n), o = ch(a.w, n);
16466
- s ^ o && (K.warn("Edge: ", a, " leaves cluster ", n), K.warn("Decendants of XXX ", n, ": ", Kr[n]), It[n].externalConnections = !0);
16466
+ s ^ o && (K.warn("Edge: ", a, " leaves cluster ", n), K.warn("Decendants of XXX ", n, ": ", Xr[n]), It[n].externalConnections = !0);
16467
16467
  }
16468
- })) : K.debug("Not a cluster ", n, Kr);
16468
+ })) : K.debug("Not a cluster ", n, Xr);
16469
16469
  }), e.edges().forEach(function(n) {
16470
16470
  const r = e.edge(n);
16471
16471
  K.warn("Edge " + n.v + " -> " + n.w + ": " + JSON.stringify(n)), K.warn("Edge " + n.v + " -> " + n.w + ": " + JSON.stringify(e.edge(n)));
@@ -17444,7 +17444,7 @@ const JU = function(e, t, n, r) {
17444
17444
  const p = n + a, f = {};
17445
17445
  f.classes = "relation", f.pattern = "dotted", f.id = `edgeNote${p}`, f.arrowhead = "none", K.info(`Note edge: ${JSON.stringify(f)}, ${JSON.stringify(s)}`), f.startLabelRight = "", f.endLabelLeft = "", f.arrowTypeStart = "none", f.arrowTypeEnd = "none";
17446
17446
  let g = "fill:none", y = "";
17447
- f.style = g, f.labelStyle = y, f.curve = Jr(o5.curve, xr), t.setEdge(s.id, s.class, f, p);
17447
+ f.style = g, f.labelStyle = y, f.curve = Zr(o5.curve, xr), t.setEdge(s.id, s.class, f, p);
17448
17448
  });
17449
17449
  }, tH = function(e, t) {
17450
17450
  const n = fe().flowchart;
@@ -17459,7 +17459,7 @@ const JU = function(e, t, n, r) {
17459
17459
  s = l.style, o = l.labelStyle;
17460
17460
  } else
17461
17461
  s = "fill:none";
17462
- a.style = s, a.labelStyle = o, i.interpolate !== void 0 ? a.curve = Jr(i.interpolate, xr) : e.defaultInterpolate !== void 0 ? a.curve = Jr(e.defaultInterpolate, xr) : a.curve = Jr(n.curve, xr), i.text = i.title, i.text === void 0 ? i.style !== void 0 && (a.arrowheadStyle = "fill: #333") : (a.arrowheadStyle = "fill: #333", a.labelpos = "c", fe().flowchart.htmlLabels ? (a.labelType = "html", a.label = '<span class="edgeLabel">' + i.text + "</span>") : (a.labelType = "text", a.label = i.text.replace(ht.lineBreakRegex, `
17462
+ a.style = s, a.labelStyle = o, i.interpolate !== void 0 ? a.curve = Zr(i.interpolate, xr) : e.defaultInterpolate !== void 0 ? a.curve = Zr(e.defaultInterpolate, xr) : a.curve = Zr(n.curve, xr), i.text = i.title, i.text === void 0 ? i.style !== void 0 && (a.arrowheadStyle = "fill: #333") : (a.arrowheadStyle = "fill: #333", a.labelpos = "c", fe().flowchart.htmlLabels ? (a.labelType = "html", a.label = '<span class="edgeLabel">' + i.text + "</span>") : (a.labelType = "text", a.label = i.text.replace(ht.lineBreakRegex, `
17463
17463
  `), i.style === void 0 && (a.style = a.style || "stroke: #333; stroke-width: 1.5px;fill:none"), a.labelStyle = a.labelStyle.replace("color:", "fill:"))), t.setEdge(i.id1, i.id2, a, r);
17464
17464
  });
17465
17465
  }, nH = function(e) {
@@ -18075,8 +18075,8 @@ const oH = {
18075
18075
  getAccTitle: vr,
18076
18076
  setAccDescription: Ar,
18077
18077
  getAccDescription: Sr,
18078
- setDiagramTitle: si,
18079
- getDiagramTitle: oi
18078
+ setDiagramTitle: ai,
18079
+ getDiagramTitle: si
18080
18080
  }, Ui = {
18081
18081
  ONLY_ONE_START: "ONLY_ONE_START",
18082
18082
  ONLY_ONE_END: "ONLY_ONE_END",
@@ -18292,7 +18292,7 @@ const kH = function(e, t, n, r, i) {
18292
18292
  const d = En.diagramPadding;
18293
18293
  ct.insertTitle(o, "entityTitleText", En.titleTopMargin, r.db.getDiagramTitle());
18294
18294
  const p = o.node().getBBox(), f = p.width + d * 2, g = p.height + d * 2;
18295
- ai(o, g, f, En.useMaxWidth), o.attr("viewBox", `${p.x - d} ${p.y - d} ${f} ${g}`);
18295
+ ii(o, g, f, En.useMaxWidth), o.attr("viewBox", `${p.x - d} ${p.y - d} ${f} ${g}`);
18296
18296
  }, vH = "28e9f9db-3c8d-5aa5-9faf-44286ae5937c";
18297
18297
  function AH(e = "", t = "") {
18298
18298
  const n = e.replace(yH, "");
@@ -19361,8 +19361,8 @@ const N5 = [], D5 = function(e, t) {
19361
19361
  lex: H5,
19362
19362
  exists: P5,
19363
19363
  makeUniq: U5,
19364
- setDiagramTitle: si,
19365
- getDiagramTitle: oi
19364
+ setDiagramTitle: ai,
19365
+ getDiagramTitle: si
19366
19366
  }, yie = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
19367
19367
  __proto__: null,
19368
19368
  addClass: g5,
@@ -19660,7 +19660,7 @@ const UH = {
19660
19660
  d = " stroke-width: 3.5px;fill:none";
19661
19661
  break;
19662
19662
  }
19663
- h.style = d, h.labelStyle = p, s.interpolate !== void 0 ? h.curve = Jr(s.interpolate, xr) : e.defaultInterpolate !== void 0 ? h.curve = Jr(e.defaultInterpolate, xr) : h.curve = Jr(Z5.curve, xr), s.text === void 0 ? s.style !== void 0 && (h.arrowheadStyle = "fill: #333") : (h.arrowheadStyle = "fill: #333", h.labelpos = "c", Nn(fe().flowchart.htmlLabels) ? (h.labelType = "html", h.label = `<span id="L-${o}" class="edgeLabel L-${l}' L-${u}" style="${h.labelStyle}">${s.text.replace(
19663
+ h.style = d, h.labelStyle = p, s.interpolate !== void 0 ? h.curve = Zr(s.interpolate, xr) : e.defaultInterpolate !== void 0 ? h.curve = Zr(e.defaultInterpolate, xr) : h.curve = Zr(Z5.curve, xr), s.text === void 0 ? s.style !== void 0 && (h.arrowheadStyle = "fill: #333") : (h.arrowheadStyle = "fill: #333", h.labelpos = "c", Nn(fe().flowchart.htmlLabels) ? (h.labelType = "html", h.label = `<span id="L-${o}" class="edgeLabel L-${l}' L-${u}" style="${h.labelStyle}">${s.text.replace(
19664
19664
  /fa[blrs]?:fa-[\w-]+/g,
19665
19665
  (f) => `<i class='${f.replace(":", " ")}'></i>`
19666
19666
  )}</span>`) : (h.labelType = "text", h.label = s.text.replace(ht.lineBreakRegex, `
@@ -19941,7 +19941,7 @@ const UH = {
19941
19941
  const y = wa(o.style);
19942
19942
  f = y.style, g = y.labelStyle;
19943
19943
  }
19944
- p.style = p.style += f, p.labelStyle = p.labelStyle += g, o.interpolate !== void 0 ? p.curve = Jr(o.interpolate, xr) : e.defaultInterpolate !== void 0 ? p.curve = Jr(e.defaultInterpolate, xr) : p.curve = Jr(t6.curve, xr), o.text === void 0 ? o.style !== void 0 && (p.arrowheadStyle = "fill: #333") : (p.arrowheadStyle = "fill: #333", p.labelpos = "c"), p.labelType = "text", p.label = o.text.replace(ht.lineBreakRegex, `
19944
+ p.style = p.style += f, p.labelStyle = p.labelStyle += g, o.interpolate !== void 0 ? p.curve = Zr(o.interpolate, xr) : e.defaultInterpolate !== void 0 ? p.curve = Zr(e.defaultInterpolate, xr) : p.curve = Zr(t6.curve, xr), o.text === void 0 ? o.style !== void 0 && (p.arrowheadStyle = "fill: #333") : (p.arrowheadStyle = "fill: #333", p.labelpos = "c"), p.labelType = "text", p.label = o.text.replace(ht.lineBreakRegex, `
19945
19945
  `), o.style === void 0 && (p.style = p.style || "stroke: #333; stroke-width: 1.5px;fill:none;"), p.labelStyle = p.labelStyle.replace("color:", "fill:"), p.id = u, p.classes = "flowchart-link " + h + " " + d, t.setEdge(o.start, o.end, p, r);
19946
19946
  });
19947
19947
  }, WH = function(e, t) {
@@ -20804,8 +20804,8 @@ const u6 = {}, xz = function(e, t) {
20804
20804
  getTodayMarker: nz,
20805
20805
  setAccTitle: cr,
20806
20806
  getAccTitle: vr,
20807
- setDiagramTitle: si,
20808
- getDiagramTitle: oi,
20807
+ setDiagramTitle: ai,
20808
+ getDiagramTitle: si,
20809
20809
  setAccDescription: Ar,
20810
20810
  getAccDescription: Sr,
20811
20811
  addSection: pz,
@@ -20863,7 +20863,7 @@ const Sz = function(e, t, n, r) {
20863
20863
  let m = 0;
20864
20864
  return T > I ? m = 1 : T < I && (m = -1), m;
20865
20865
  }
20866
- h.sort(_), b(h, Bi, d), ai(p, d, Bi, i.useMaxWidth), p.append("text").text(r.db.getDiagramTitle()).attr("x", Bi / 2).attr("y", i.titleTopMargin).attr("class", "titleText");
20866
+ h.sort(_), b(h, Bi, d), ii(p, d, Bi, i.useMaxWidth), p.append("text").text(r.db.getDiagramTitle()).attr("x", Bi / 2).attr("y", i.titleTopMargin).attr("class", "titleText");
20867
20867
  function b(L, N, T) {
20868
20868
  const I = i.barHeight, m = I + i.barGap, S = i.topPadding, k = i.leftPadding, H = sb().domain([0, g.length]).range(["#00B9FA", "#F95002"]).interpolate(eC);
20869
20869
  v(
@@ -21782,8 +21782,8 @@ const Hz = function(e, t, n) {
21782
21782
  clear: qz,
21783
21783
  setAccTitle: cr,
21784
21784
  getAccTitle: vr,
21785
- setDiagramTitle: si,
21786
- getDiagramTitle: oi,
21785
+ setDiagramTitle: ai,
21786
+ getDiagramTitle: si,
21787
21787
  setShowData: Vz,
21788
21788
  getShowData: Yz,
21789
21789
  getAccDescription: Sr,
@@ -21802,7 +21802,7 @@ const Go = 450, $z = (e, t, n, r) => {
21802
21802
  const D = O.getElementById(t);
21803
21803
  Pi = D.parentElement.offsetWidth, Pi === void 0 && (Pi = 1200), Fi.useWidth !== void 0 && (Pi = Fi.useWidth), Fi.pie.useWidth !== void 0 && (Pi = Fi.pie.useWidth);
21804
21804
  const M = R.select("#" + t);
21805
- ai(M, Go, Pi, Fi.pie.useMaxWidth), D.setAttribute("viewBox", "0 0 " + Pi + " " + Go);
21805
+ ii(M, Go, Pi, Fi.pie.useMaxWidth), D.setAttribute("viewBox", "0 0 " + Pi + " " + Go);
21806
21806
  var i = 40, a = 18, s = 4, o = Math.min(Pi, Go) / 2 - i, l = M.append("g").attr("transform", "translate(" + Pi / 2 + "," + Go / 2 + ")"), u = r.db.getSections(), h = 0;
21807
21807
  Object.keys(u).forEach(function(w) {
21808
21808
  h += u[w];
@@ -22585,7 +22585,7 @@ const g6 = (e, t) => e.insert("rect", "#" + t).attr("class", "req reqBox").attr(
22585
22585
  _j(o, _, l, t, r);
22586
22586
  });
22587
22587
  const p = Kt.rect_padding, f = o.node().getBBox(), g = f.width + p * 2, y = f.height + p * 2;
22588
- ai(o, y, g, Kt.useMaxWidth), o.attr("viewBox", `${f.x - p} ${f.y - p} ${g} ${y}`);
22588
+ ii(o, y, g, Kt.useMaxWidth), o.attr("viewBox", `${f.x - p} ${f.y - p} ${g} ${y}`);
22589
22589
  }, vj = {
22590
22590
  draw: Cj
22591
22591
  };
@@ -23190,7 +23190,7 @@ Expecting ` + we.join(", ") + ", got '" + (this.terminals_[De] || De) + "'" : Me
23190
23190
  }();
23191
23191
  qd.parser = qd;
23192
23192
  const Aj = qd, Sj = (e) => e.match(/^\s*sequenceDiagram/) !== null;
23193
- let $o, _a = {}, po = [], $r = [], c0 = !1, Gd, zi;
23193
+ let $o, _a = {}, po = [], Gr = [], c0 = !1, Gd, zi;
23194
23194
  const wj = function(e, t, n) {
23195
23195
  qt.parseDirective(this, e, t, n);
23196
23196
  }, Lj = function(e) {
@@ -23225,11 +23225,11 @@ const wj = function(e, t, n) {
23225
23225
  }, $o && _a[$o] && (_a[$o].nextActor = e), zi && zi.actorKeys.push(e), $o = e;
23226
23226
  }, Ij = (e) => {
23227
23227
  let t, n = 0;
23228
- for (t = 0; t < $r.length; t++)
23229
- $r[t].type === $l.ACTIVE_START && $r[t].from.actor === e && n++, $r[t].type === $l.ACTIVE_END && $r[t].from.actor === e && n--;
23228
+ for (t = 0; t < Gr.length; t++)
23229
+ Gr[t].type === $l.ACTIVE_START && Gr[t].from.actor === e && n++, Gr[t].type === $l.ACTIVE_END && Gr[t].from.actor === e && n--;
23230
23230
  return n;
23231
23231
  }, Nj = function(e, t, n, r) {
23232
- $r.push({
23232
+ Gr.push({
23233
23233
  from: e,
23234
23234
  to: t,
23235
23235
  message: n.text,
@@ -23247,7 +23247,7 @@ const wj = function(e, t, n) {
23247
23247
  expected: ["'ACTIVE_PARTICIPANT'"]
23248
23248
  }, a;
23249
23249
  }
23250
- return $r.push({
23250
+ return Gr.push({
23251
23251
  from: e,
23252
23252
  to: t,
23253
23253
  message: n.text,
@@ -23259,7 +23259,7 @@ const wj = function(e, t, n) {
23259
23259
  }, Rj = function() {
23260
23260
  return po.some((e) => e.name);
23261
23261
  }, Oj = function() {
23262
- return $r;
23262
+ return Gr;
23263
23263
  }, Mj = function() {
23264
23264
  return po;
23265
23265
  }, Bj = function() {
@@ -23275,7 +23275,7 @@ const wj = function(e, t, n) {
23275
23275
  }, Hj = () => c0, zj = function(e) {
23276
23276
  Gd = e;
23277
23277
  }, as = () => Gd !== void 0 ? Gd : fe().sequence.wrap, jj = function() {
23278
- _a = {}, po = [], $r = [], c0 = !1, Cr();
23278
+ _a = {}, po = [], Gr = [], c0 = !1, Cr();
23279
23279
  }, Vj = function(e) {
23280
23280
  const t = e.trim(), n = {
23281
23281
  text: t.replace(/^:?(?:no)?wrap:/, "").trim(),
@@ -23336,7 +23336,7 @@ const wj = function(e, t, n) {
23336
23336
  }, _6 = function(e, t, n) {
23337
23337
  n.text, n.wrap === void 0 && as() || n.wrap;
23338
23338
  const r = [].concat(e, e);
23339
- $r.push({
23339
+ Gr.push({
23340
23340
  from: r[0],
23341
23341
  to: r[1],
23342
23342
  message: n.text,
@@ -23413,7 +23413,7 @@ const k6 = function(e, t) {
23413
23413
  else
23414
23414
  switch (e.type) {
23415
23415
  case "sequenceIndex":
23416
- $r.push({
23416
+ Gr.push({
23417
23417
  from: void 0,
23418
23418
  to: void 0,
23419
23419
  message: {
@@ -23535,8 +23535,8 @@ const k6 = function(e, t) {
23535
23535
  getActorProperty: Xj,
23536
23536
  getAccTitle: vr,
23537
23537
  getBoxes: Mj,
23538
- getDiagramTitle: oi,
23539
- setDiagramTitle: si,
23538
+ getDiagramTitle: si,
23539
+ setDiagramTitle: ai,
23540
23540
  parseDirective: wj,
23541
23541
  getConfig: () => fe().sequence,
23542
23542
  clear: jj,
@@ -24333,7 +24333,7 @@ const xV = function(e, t, n, r) {
24333
24333
  let T = z.stopx - z.startx;
24334
24334
  T < M.maxWidth && (T = M.maxWidth);
24335
24335
  const I = T + 2 * _e.diagramMarginX;
24336
- g && u.append("text").text(g).attr("x", (z.stopx - z.startx) / 2 - 2 * _e.diagramMarginX).attr("y", -25), ai(u, N, I, _e.useMaxWidth);
24336
+ g && u.append("text").text(g).attr("x", (z.stopx - z.startx) / 2 - 2 * _e.diagramMarginX).attr("y", -25), ii(u, N, I, _e.useMaxWidth);
24337
24337
  const m = g ? 40 : 0;
24338
24338
  u.attr(
24339
24339
  "viewBox",
@@ -25336,8 +25336,8 @@ const j6 = function(e, t, n) {
25336
25336
  addStyleClass: V6,
25337
25337
  setCssClass: Y2,
25338
25338
  addDescription: nf,
25339
- setDiagramTitle: si,
25340
- getDiagramTitle: oi
25339
+ setDiagramTitle: ai,
25340
+ getDiagramTitle: si
25341
25341
  }, nY = (e) => e.append("circle").attr("class", "start-state").attr("r", fe().state.sizeUnit).attr("cx", fe().state.padding + fe().state.sizeUnit).attr("cy", fe().state.padding + fe().state.sizeUnit), rY = (e) => e.append("line").style("stroke", "grey").style("stroke-dasharray", "3").attr("x1", fe().state.textHeight).attr("class", "divider").attr("x2", fe().state.textHeight * 2).attr("y1", 0).attr("y2", 0), iY = (e, t) => {
25342
25342
  const n = e.append("text").attr("x", 2 * fe().state.padding).attr("y", fe().state.textHeight + 2 * fe().state.padding).attr("font-size", fe().state.fontSize).attr("class", "state-title").text(t.id), r = n.node().getBBox();
25343
25343
  return e.insert("rect", ":first-child").attr("x", fe().state.padding).attr("y", fe().state.padding).attr("width", r.width + 2 * fe().state.padding).attr("height", r.height + 2 * fe().state.padding).attr("rx", fe().state.radius), n;
@@ -25488,7 +25488,7 @@ const p1 = {}, dY = function() {
25488
25488
  const h = r.db.getRootDoc();
25489
25489
  Y6(h, l, void 0, !1, s, o, r);
25490
25490
  const d = gr.padding, p = l.node().getBBox(), f = p.width + d * 2, g = p.height + d * 2, y = f * 1.75;
25491
- ai(l, g, y, gr.useMaxWidth), l.attr(
25491
+ ii(l, g, y, gr.useMaxWidth), l.attr(
25492
25492
  "viewBox",
25493
25493
  `${p.x - gr.padding} ${p.y - gr.padding} ` + f + " " + g
25494
25494
  );
@@ -25754,7 +25754,7 @@ const rl = (e, t, n, r, i, a) => {
25754
25754
  const y = p.node().getBBox(), _ = y.width + g * 2, b = y.height + g * 2;
25755
25755
  p.attr("class", go);
25756
25756
  const x = p.node().getBBox();
25757
- ai(p, b, _, a.useMaxWidth);
25757
+ ii(p, b, _, a.useMaxWidth);
25758
25758
  const v = `${x.x - g} ${x.y - g} ${_} ${b}`;
25759
25759
  K.debug(`viewBox ${v}`), p.attr("viewBox", v);
25760
25760
  const R = document.querySelectorAll('[id="' + t + '"] .edgeLabel .label');
@@ -26195,8 +26195,8 @@ const q2 = [], Ql = [], Zl = [], VY = function(e, t, n) {
26195
26195
  parseDirective: VY,
26196
26196
  getConfig: () => fe().journey,
26197
26197
  clear: YY,
26198
- setDiagramTitle: si,
26199
- getDiagramTitle: oi,
26198
+ setDiagramTitle: ai,
26199
+ getDiagramTitle: si,
26200
26200
  setAccTitle: cr,
26201
26201
  getAccTitle: vr,
26202
26202
  setAccDescription: Ar,
@@ -26407,7 +26407,7 @@ const m0 = fe().journey, Va = m0.leftMargin, oW = function(e, t, n, r) {
26407
26407
  const f = Rr.getBounds();
26408
26408
  h && l.append("text").text(h).attr("x", Va).attr("font-size", "4ex").attr("font-weight", "bold").attr("y", 25);
26409
26409
  const g = f.stopy - f.starty + 2 * i.diagramMarginY, y = Va + f.stopx + 2 * i.diagramMarginX;
26410
- ai(l, g, y, i.useMaxWidth), l.append("line").attr("x1", Va).attr("y1", i.height * 4).attr("x2", y - Va - 4).attr("y2", i.height * 4).attr("stroke-width", 4).attr("stroke", "black").attr("marker-end", "url(#arrowhead)");
26410
+ ii(l, g, y, i.useMaxWidth), l.append("line").attr("x1", Va).attr("y1", i.height * 4).attr("x2", y - Va - 4).attr("y2", i.height * 4).attr("stroke-width", 4).attr("stroke", "black").attr("marker-end", "url(#arrowhead)");
26411
26411
  const _ = h ? 70 : 0;
26412
26412
  l.attr("viewBox", `${f.startx} -25 ${y} ${g + _}`), l.attr("preserveAspectRatio", "xMinYMin meet"), l.attr("height", g + _ + 25);
26413
26413
  }, Rr = {
@@ -29095,7 +29095,7 @@ function Hx(e, t) {
29095
29095
  n > 1114111 ? "�" : String.fromCodePoint(n)
29096
29096
  );
29097
29097
  }
29098
- function ti(e) {
29098
+ function ei(e) {
29099
29099
  return e.replace(/[\t\n\r ]+/g, " ").replace(/^ | $/g, "").toLowerCase().toUpperCase();
29100
29100
  }
29101
29101
  const Pn = Da(/[A-Za-z]/), Dn = Da(/[\dA-Za-z]/), tG = Da(/[#-'*+\--9=?A-Z^-~]/);
@@ -30060,7 +30060,7 @@ function FG(e, t, n) {
30060
30060
  )(f);
30061
30061
  }
30062
30062
  function o(f) {
30063
- return i = ti(r.sliceSerialize(r.events[r.events.length - 1][1]).slice(1, -1)), f === 58 ? (e.enter("definitionMarker"), e.consume(f), e.exit("definitionMarker"), l) : n(f);
30063
+ return i = ei(r.sliceSerialize(r.events[r.events.length - 1][1]).slice(1, -1)), f === 58 ? (e.enter("definitionMarker"), e.consume(f), e.exit("definitionMarker"), l) : n(f);
30064
30064
  }
30065
30065
  function l(f) {
30066
30066
  return Nt(f) ? Qi(e, u)(f) : u(f);
@@ -30528,7 +30528,7 @@ function a$(e, t, n) {
30528
30528
  }
30529
30529
  return o;
30530
30530
  function o(p) {
30531
- return a ? a._inactive ? d(p) : (s = r.parser.defined.includes(ti(r.sliceSerialize({
30531
+ return a ? a._inactive ? d(p) : (s = r.parser.defined.includes(ei(r.sliceSerialize({
30532
30532
  start: a.end,
30533
30533
  end: r.now()
30534
30534
  }))), e.enter("labelEnd"), e.enter("labelMarker"), e.consume(p), e.exit("labelMarker"), e.exit("labelEnd"), l) : n(p);
@@ -30580,7 +30580,7 @@ function o$(e, t, n) {
30580
30580
  return qx.call(r, e, a, s, "reference", "referenceMarker", "referenceString")(o);
30581
30581
  }
30582
30582
  function a(o) {
30583
- return r.parser.defined.includes(ti(r.sliceSerialize(r.events[r.events.length - 1][1]).slice(1, -1))) ? t(o) : n(o);
30583
+ return r.parser.defined.includes(ei(r.sliceSerialize(r.events[r.events.length - 1][1]).slice(1, -1))) ? t(o) : n(o);
30584
30584
  }
30585
30585
  function s(o) {
30586
30586
  return n(o);
@@ -31540,7 +31540,7 @@ function K$(e) {
31540
31540
  }
31541
31541
  function x(J) {
31542
31542
  const ke = this.resume(), Le = this.stack[this.stack.length - 1];
31543
- Le.label = ke, Le.identifier = ti(this.sliceSerialize(J)).toLowerCase();
31543
+ Le.label = ke, Le.identifier = ei(this.sliceSerialize(J)).toLowerCase();
31544
31544
  }
31545
31545
  function v() {
31546
31546
  const J = this.resume(), ke = this.stack[this.stack.length - 1];
@@ -31624,7 +31624,7 @@ function K$(e) {
31624
31624
  }
31625
31625
  function te(J) {
31626
31626
  const ke = this.sliceSerialize(J), Le = this.stack[this.stack.length - 2];
31627
- Le.label = G$(ke), Le.identifier = ti(ke).toLowerCase();
31627
+ Le.label = G$(ke), Le.identifier = ei(ke).toLowerCase();
31628
31628
  }
31629
31629
  function $() {
31630
31630
  const J = this.stack[this.stack.length - 1], ke = this.resume(), Le = this.stack[this.stack.length - 1];
@@ -31650,7 +31650,7 @@ function K$(e) {
31650
31650
  }
31651
31651
  function ue(J) {
31652
31652
  const ke = this.resume(), Le = this.stack[this.stack.length - 1];
31653
- Le.label = ke, Le.identifier = ti(this.sliceSerialize(J)).toLowerCase(), this.data.referenceType = "full";
31653
+ Le.label = ke, Le.identifier = ei(this.sliceSerialize(J)).toLowerCase(), this.data.referenceType = "full";
31654
31654
  }
31655
31655
  function le(J) {
31656
31656
  this.data.characterReferenceType = J.type;
@@ -34203,7 +34203,7 @@ function PK() {
34203
34203
  }
34204
34204
  function UK(e) {
34205
34205
  const t = this.resume(), n = this.stack[this.stack.length - 1];
34206
- n.type, n.label = t, n.identifier = ti(
34206
+ n.type, n.label = t, n.identifier = ei(
34207
34207
  this.sliceSerialize(e)
34208
34208
  ).toLowerCase();
34209
34209
  }
@@ -34218,7 +34218,7 @@ function jK() {
34218
34218
  }
34219
34219
  function VK(e) {
34220
34220
  const t = this.resume(), n = this.stack[this.stack.length - 1];
34221
- n.type, n.label = t, n.identifier = ti(
34221
+ n.type, n.label = t, n.identifier = ei(
34222
34222
  this.sliceSerialize(e)
34223
34223
  ).toLowerCase();
34224
34224
  }
@@ -35425,7 +35425,7 @@ function oZ(e, t, n) {
35425
35425
  function o(l) {
35426
35426
  if (!s || !s._balanced)
35427
35427
  return n(l);
35428
- const u = ti(r.sliceSerialize({
35428
+ const u = ei(r.sliceSerialize({
35429
35429
  start: s.end,
35430
35430
  end: r.now()
35431
35431
  }));
@@ -35504,7 +35504,7 @@ function uZ(e, t, n) {
35504
35504
  if (d === 93) {
35505
35505
  e.exit("chunkString");
35506
35506
  const p = e.exit("gfmFootnoteCallString");
35507
- return i.includes(ti(r.sliceSerialize(p))) ? (e.enter("gfmFootnoteCallLabelMarker"), e.consume(d), e.exit("gfmFootnoteCallLabelMarker"), e.exit("gfmFootnoteCall"), t) : n(d);
35507
+ return i.includes(ei(r.sliceSerialize(p))) ? (e.enter("gfmFootnoteCallLabelMarker"), e.consume(d), e.exit("gfmFootnoteCallLabelMarker"), e.exit("gfmFootnoteCall"), t) : n(d);
35508
35508
  }
35509
35509
  return Nt(d) || (s = !0), a++, e.consume(d), d === 92 ? h : u;
35510
35510
  }
@@ -35534,7 +35534,7 @@ function cZ(e, t, n) {
35534
35534
  if (g === 93) {
35535
35535
  e.exit("chunkString");
35536
35536
  const y = e.exit("gfmFootnoteDefinitionLabelString");
35537
- return a = ti(r.sliceSerialize(y)), e.enter("gfmFootnoteDefinitionLabelMarker"), e.consume(g), e.exit("gfmFootnoteDefinitionLabelMarker"), e.exit("gfmFootnoteDefinitionLabel"), p;
35537
+ return a = ei(r.sliceSerialize(y)), e.enter("gfmFootnoteDefinitionLabelMarker"), e.consume(g), e.exit("gfmFootnoteDefinitionLabelMarker"), e.exit("gfmFootnoteDefinitionLabel"), p;
35538
35538
  }
35539
35539
  return Nt(g) || (o = !0), s++, e.consume(g), g === 92 ? d : h;
35540
35540
  }
@@ -41647,11 +41647,11 @@ class jJ {
41647
41647
  }
41648
41648
  }
41649
41649
  const F1 = 3;
41650
- var Gr;
41650
+ var qr;
41651
41651
  (function(e) {
41652
41652
  e[e.Marker = 0] = "Marker", e[e.Element = 1] = "Element";
41653
- })(Gr = Gr || (Gr = {}));
41654
- const dy = { type: Gr.Marker };
41653
+ })(qr = qr || (qr = {}));
41654
+ const dy = { type: qr.Marker };
41655
41655
  class VJ {
41656
41656
  constructor(t) {
41657
41657
  this.treeAdapter = t, this.entries = [], this.bookmark = null;
@@ -41663,7 +41663,7 @@ class VJ {
41663
41663
  const r = [], i = n.length, a = this.treeAdapter.getTagName(t), s = this.treeAdapter.getNamespaceURI(t);
41664
41664
  for (let o = 0; o < this.entries.length; o++) {
41665
41665
  const l = this.entries[o];
41666
- if (l.type === Gr.Marker)
41666
+ if (l.type === qr.Marker)
41667
41667
  break;
41668
41668
  const { element: u } = l;
41669
41669
  if (this.treeAdapter.getTagName(u) === a && this.treeAdapter.getNamespaceURI(u) === s) {
@@ -41692,7 +41692,7 @@ class VJ {
41692
41692
  }
41693
41693
  pushElement(t, n) {
41694
41694
  this._ensureNoahArkCondition(t), this.entries.unshift({
41695
- type: Gr.Element,
41695
+ type: qr.Element,
41696
41696
  element: t,
41697
41697
  token: n
41698
41698
  });
@@ -41700,7 +41700,7 @@ class VJ {
41700
41700
  insertElementAfterBookmark(t, n) {
41701
41701
  const r = this.entries.indexOf(this.bookmark);
41702
41702
  this.entries.splice(r, 0, {
41703
- type: Gr.Element,
41703
+ type: qr.Element,
41704
41704
  element: t,
41705
41705
  token: n
41706
41706
  });
@@ -41720,11 +41720,11 @@ class VJ {
41720
41720
  }
41721
41721
  //Search
41722
41722
  getElementEntryInScopeWithTagName(t) {
41723
- const n = this.entries.find((r) => r.type === Gr.Marker || this.treeAdapter.getTagName(r.element) === t);
41724
- return n && n.type === Gr.Element ? n : null;
41723
+ const n = this.entries.find((r) => r.type === qr.Marker || this.treeAdapter.getTagName(r.element) === t);
41724
+ return n && n.type === qr.Element ? n : null;
41725
41725
  }
41726
41726
  getElementEntry(t) {
41727
- return this.entries.find((n) => n.type === Gr.Element && n.element === t);
41727
+ return this.entries.find((n) => n.type === qr.Element && n.element === t);
41728
41728
  }
41729
41729
  }
41730
41730
  function fy(e) {
@@ -42437,7 +42437,7 @@ class yy {
42437
42437
  _reconstructActiveFormattingElements() {
42438
42438
  const t = this.activeFormattingElements.entries.length;
42439
42439
  if (t) {
42440
- const n = this.activeFormattingElements.entries.findIndex((i) => i.type === Gr.Marker || this.openElements.contains(i.element)), r = n < 0 ? t - 1 : n - 1;
42440
+ const n = this.activeFormattingElements.entries.findIndex((i) => i.type === qr.Marker || this.openElements.contains(i.element)), r = n < 0 ? t - 1 : n - 1;
42441
42441
  for (let i = r; i >= 0; i--) {
42442
42442
  const a = this.activeFormattingElements.entries[i];
42443
42443
  this._insertElement(a.token, this.treeAdapter.getNamespaceURI(a.element)), a.element = this.openElements.current;
@@ -42774,7 +42774,7 @@ class yy {
42774
42774
  break;
42775
42775
  }
42776
42776
  case oe.IN_HEAD: {
42777
- li(this, t);
42777
+ oi(this, t);
42778
42778
  break;
42779
42779
  }
42780
42780
  case oe.IN_HEAD_NO_SCRIPT: {
@@ -43167,7 +43167,7 @@ function Cee(e, t) {
43167
43167
  function xl(e, t) {
43168
43168
  e._insertFakeElement(Ee.HEAD, E.HEAD), e.headElement = e.openElements.current, e.insertionMode = oe.IN_HEAD, e._processToken(t);
43169
43169
  }
43170
- function li(e, t) {
43170
+ function oi(e, t) {
43171
43171
  switch (t.tagID) {
43172
43172
  case E.HTML: {
43173
43173
  $n(e, t);
@@ -43249,7 +43249,7 @@ function Aee(e, t) {
43249
43249
  case E.META:
43250
43250
  case E.NOFRAMES:
43251
43251
  case E.STYLE: {
43252
- li(e, t);
43252
+ oi(e, t);
43253
43253
  break;
43254
43254
  }
43255
43255
  case E.NOSCRIPT: {
@@ -43302,7 +43302,7 @@ function wee(e, t) {
43302
43302
  case E.STYLE:
43303
43303
  case E.TEMPLATE:
43304
43304
  case E.TITLE: {
43305
- e._err(t, ve.abandonedHeadElementChild), e.openElements.push(e.headElement, E.HEAD), li(e, t), e.openElements.remove(e.headElement);
43305
+ e._err(t, ve.abandonedHeadElementChild), e.openElements.push(e.headElement, E.HEAD), oi(e, t), e.openElements.remove(e.headElement);
43306
43306
  break;
43307
43307
  }
43308
43308
  case E.HEAD: {
@@ -43590,7 +43590,7 @@ function $n(e, t) {
43590
43590
  case E.BGSOUND:
43591
43591
  case E.BASEFONT:
43592
43592
  case E.TEMPLATE: {
43593
- li(e, t);
43593
+ oi(e, t);
43594
43594
  break;
43595
43595
  }
43596
43596
  case E.BODY: {
@@ -43895,7 +43895,7 @@ function xo(e, t) {
43895
43895
  case E.STYLE:
43896
43896
  case E.SCRIPT:
43897
43897
  case E.TEMPLATE: {
43898
- li(e, t);
43898
+ oi(e, t);
43899
43899
  break;
43900
43900
  }
43901
43901
  case E.COL: {
@@ -44017,7 +44017,7 @@ function kp(e, t) {
44017
44017
  break;
44018
44018
  }
44019
44019
  case E.TEMPLATE: {
44020
- li(e, t);
44020
+ oi(e, t);
44021
44021
  break;
44022
44022
  }
44023
44023
  default:
@@ -44195,7 +44195,7 @@ function CT(e, t) {
44195
44195
  }
44196
44196
  case E.SCRIPT:
44197
44197
  case E.TEMPLATE: {
44198
- li(e, t);
44198
+ oi(e, t);
44199
44199
  break;
44200
44200
  }
44201
44201
  }
@@ -44240,7 +44240,7 @@ function Nte(e, t) {
44240
44240
  case E.STYLE:
44241
44241
  case E.TEMPLATE:
44242
44242
  case E.TITLE: {
44243
- li(e, t);
44243
+ oi(e, t);
44244
44244
  break;
44245
44245
  }
44246
44246
  case E.CAPTION:
@@ -44306,7 +44306,7 @@ function Ote(e, t) {
44306
44306
  break;
44307
44307
  }
44308
44308
  case E.NOFRAMES: {
44309
- li(e, t);
44309
+ oi(e, t);
44310
44310
  break;
44311
44311
  }
44312
44312
  }
@@ -44321,7 +44321,7 @@ function Bte(e, t) {
44321
44321
  break;
44322
44322
  }
44323
44323
  case E.NOFRAMES: {
44324
- li(e, t);
44324
+ oi(e, t);
44325
44325
  break;
44326
44326
  }
44327
44327
  }
@@ -44342,7 +44342,7 @@ function Ute(e, t) {
44342
44342
  break;
44343
44343
  }
44344
44344
  case E.NOFRAMES: {
44345
- li(e, t);
44345
+ oi(e, t);
44346
44346
  break;
44347
44347
  }
44348
44348
  }
@@ -46275,7 +46275,7 @@ const jT = (e, t) => {
46275
46275
  addAction: Ire,
46276
46276
  clearActions: YT,
46277
46277
  updateContext: Ih
46278
- } = vf.actions, WT = Fk(void 0), Yr = () => {
46278
+ } = vf.actions, WT = Fk(void 0), li = () => {
46279
46279
  const e = Pk(WT);
46280
46280
  if (!e)
46281
46281
  throw new Error("useChatContext must be used within a ChatProvider");
@@ -46326,7 +46326,7 @@ const jT = (e, t) => {
46326
46326
  }
46327
46327
  );
46328
46328
  }, Nre = () => {
46329
- const { dispatch: e, currentSessionId: t } = Yr();
46329
+ const { dispatch: e, currentSessionId: t } = li();
46330
46330
  return { submitFeedback: async (r, i) => {
46331
46331
  try {
46332
46332
  if (!(await fetch("/agent/feedback", {
@@ -46352,7 +46352,7 @@ const jT = (e, t) => {
46352
46352
  }
46353
46353
  } };
46354
46354
  }, Dre = ({ messageId: e }) => {
46355
- const { components: t } = Yr(), [n, r] = fn(!1), [i, a] = fn(""), [s, o] = fn(), [l, u] = fn(!1), { submitFeedback: h } = Nre(), d = async (f) => {
46355
+ const { components: t } = li(), [n, r] = fn(!1), [i, a] = fn(""), [s, o] = fn(), [l, u] = fn(!1), { submitFeedback: h } = Nre(), d = async (f) => {
46356
46356
  f === s ? (o(void 0), r(!1), await h(e, { rating: void 0 })) : (o(f), r(!0));
46357
46357
  }, p = async () => {
46358
46358
  if (s) {
@@ -48893,7 +48893,7 @@ const Ore = /* @__PURE__ */ Eo(Rre), $T = ({ artifacts: e }) => {
48893
48893
  urls: i,
48894
48894
  requestParams: a,
48895
48895
  isMarkdownResponse: s
48896
- } = Yr(), o = async (u, h) => {
48896
+ } = li(), o = async (u, h) => {
48897
48897
  e(
48898
48898
  Ih({
48899
48899
  sessionId: t,
@@ -49177,7 +49177,7 @@ const Ore = /* @__PURE__ */ Eo(Rre), $T = ({ artifacts: e }) => {
49177
49177
  ] })
49178
49178
  ] });
49179
49179
  }, Bre = ({ messageId: e }) => {
49180
- const { sendMessage: t } = Iu(), { dispatch: n, currentSessionId: r, sessions: i } = Yr(), a = async () => {
49180
+ const { sendMessage: t } = Iu(), { dispatch: n, currentSessionId: r, sessions: i } = li(), a = async () => {
49181
49181
  if (!r) return;
49182
49182
  const s = i[r];
49183
49183
  if (s)
@@ -49232,7 +49232,7 @@ const Ore = /* @__PURE__ */ Eo(Rre), $T = ({ artifacts: e }) => {
49232
49232
  ] })
49233
49233
  ] });
49234
49234
  }, Pre = () => {
49235
- const { taskLabel: e } = Yr(), [t, n] = fn(!1);
49235
+ const { taskLabel: e } = li(), [t, n] = fn(!1);
49236
49236
  return e ? /* @__PURE__ */ U.jsx(U.Fragment, { children: t ? /* @__PURE__ */ U.jsx(nie, { taskLabel: e, onClose: () => n(!1) }) : /* @__PURE__ */ U.jsxs(
49237
49237
  Dt,
49238
49238
  {
@@ -49251,24 +49251,18 @@ const Ore = /* @__PURE__ */ Eo(Rre), $T = ({ artifacts: e }) => {
49251
49251
  }, zre = ({
49252
49252
  citations: e,
49253
49253
  frontEndUrl: t
49254
- }) => {
49255
- const { urls: n } = Yr();
49256
- if (!(e != null && e.length) || !(n != null && n.frontendUrl || t))
49257
- return null;
49258
- const r = (n == null ? void 0 : n.frontendUrl) || t;
49259
- return /* @__PURE__ */ U.jsxs(ea, { className: Hre.citations, children: [
49260
- "Learnings applied:",
49261
- /* @__PURE__ */ U.jsx("ul", { style: { padding: 0, display: "flex", gap: 8, marginTop: -2 }, children: e.map((i, a) => /* @__PURE__ */ U.jsx("li", { style: { listStyle: "none" }, children: /* @__PURE__ */ U.jsx(
49262
- b8,
49263
- {
49264
- tag: "a",
49265
- href: `${r}/teammates/${i.taskLabel}?learning=${i.id}`,
49266
- tooltip: i.content,
49267
- children: a + 1
49268
- }
49269
- ) }, i.id)) })
49270
- ] });
49271
- }, jre = ({ text: e }) => {
49254
+ }) => !(e != null && e.length) || !t ? null : /* @__PURE__ */ U.jsxs(ea, { className: Hre.citations, children: [
49255
+ "Learnings applied:",
49256
+ /* @__PURE__ */ U.jsx("ul", { style: { padding: 0, display: "flex", gap: 8, marginTop: -2 }, children: e.map((n, r) => /* @__PURE__ */ U.jsx("li", { style: { listStyle: "none" }, children: /* @__PURE__ */ U.jsx(
49257
+ b8,
49258
+ {
49259
+ tag: "a",
49260
+ href: `${t}/teammates/${n.taskLabel}?learning=${n.id}`,
49261
+ tooltip: n.content,
49262
+ children: r + 1
49263
+ }
49264
+ ) }, n.id)) })
49265
+ ] }), jre = ({ text: e }) => {
49272
49266
  const { sendMessage: t } = Iu();
49273
49267
  return /* @__PURE__ */ U.jsx(
49274
49268
  Dt,
@@ -49284,7 +49278,7 @@ const Ore = /* @__PURE__ */ Eo(Rre), $T = ({ artifacts: e }) => {
49284
49278
  );
49285
49279
  }, Vre = () => {
49286
49280
  var i;
49287
- const { currentSessionId: e, urls: t } = Yr(), { data: n, refetch: r } = By({
49281
+ const { currentSessionId: e, urls: t } = li(), { data: n, refetch: r } = By({
49288
49282
  queryFn: () => ki.get(t == null ? void 0 : t.followupPath, { session_id: e }),
49289
49283
  enabled: !1
49290
49284
  });
@@ -49292,7 +49286,7 @@ const Ore = /* @__PURE__ */ Eo(Rre), $T = ({ artifacts: e }) => {
49292
49286
  e && r();
49293
49287
  }, [e]), !((i = n == null ? void 0 : n.questions) != null && i.length) || !(t != null && t.followupPath) || !e ? null : /* @__PURE__ */ U.jsx(ea, { direction: "column", children: n.questions.map((a) => /* @__PURE__ */ U.jsx(jre, { text: a }, a)) });
49294
49288
  }, Yre = ({ message: e, isLastMessage: t }) => {
49295
- const n = e.role === "assistant", { currentSessionId: r, loadingState: i } = Yr();
49289
+ const n = e.role === "assistant", { currentSessionId: r, loadingState: i, urls: a } = li();
49296
49290
  return /* @__PURE__ */ U.jsxs(U.Fragment, { children: [
49297
49291
  /* @__PURE__ */ U.jsx(
49298
49292
  mi,
@@ -49312,7 +49306,7 @@ const Ore = /* @__PURE__ */ Eo(Rre), $T = ({ artifacts: e }) => {
49312
49306
  /* @__PURE__ */ U.jsx(Lh, { content: e.content || "", id: e.id }),
49313
49307
  e.artifacts && /* @__PURE__ */ U.jsx($T, { artifacts: e.artifacts }),
49314
49308
  e.interaction && /* @__PURE__ */ U.jsx("div", { className: "al-mt-4", children: /* @__PURE__ */ U.jsx(Mre, { interaction: e.interaction }) }),
49315
- e.citations && e.citations.length > 0 && /* @__PURE__ */ U.jsx("div", { className: "al-mt-4", children: /* @__PURE__ */ U.jsx(zre, { citations: e.citations }) }),
49309
+ e.citations && e.citations.length > 0 && /* @__PURE__ */ U.jsx("div", { className: "al-mt-4", children: /* @__PURE__ */ U.jsx(zre, { citations: e.citations, frontEndUrl: (a == null ? void 0 : a.frontendUrl) || "" }) }),
49316
49310
  n && t && /* @__PURE__ */ U.jsxs("div", { className: "al-mt-2 al-flex al-gap-2 al-justify-between al-items-center", children: [
49317
49311
  /* @__PURE__ */ U.jsxs("div", { className: "al-flex al-gap-2", children: [
49318
49312
  /* @__PURE__ */ U.jsx(Dre, { messageId: e.id }),
@@ -49334,7 +49328,7 @@ const Ore = /* @__PURE__ */ Eo(Rre), $T = ({ artifacts: e }) => {
49334
49328
  t.id
49335
49329
  )) }), qre = ({ fileUploadProps: e, contextOptions: t }) => {
49336
49330
  var L;
49337
- const n = Sc(), r = Sc(), [i, a] = fn([]), [s, o] = fn({}), [l, u] = fn(!1), h = al(null), [d, p] = fn(null), [f, g] = fn(!1), { dispatch: y, currentSessionId: _, sessions: b, disableContext: x } = Yr(), v = _ ? (L = b[_]) == null ? void 0 : L.context : {};
49331
+ const n = Sc(), r = Sc(), [i, a] = fn([]), [s, o] = fn({}), [l, u] = fn(!1), h = al(null), [d, p] = fn(null), [f, g] = fn(!1), { dispatch: y, currentSessionId: _, sessions: b, disableContext: x } = li(), v = _ ? (L = b[_]) == null ? void 0 : L.context : {};
49338
49332
  Or(() => {
49339
49333
  _ && y(
49340
49334
  Ih({
@@ -49636,7 +49630,7 @@ const Ore = /* @__PURE__ */ Eo(Rre), $T = ({ artifacts: e }) => {
49636
49630
  }
49637
49631
  );
49638
49632
  }, Xre = () => {
49639
- const { dispatch: e, abortController: t } = Yr(), n = () => {
49633
+ const { dispatch: e, abortController: t } = li(), n = () => {
49640
49634
  t && (t.abort(), e(au(_r.LOADED)));
49641
49635
  };
49642
49636
  return /* @__PURE__ */ U.jsxs(
@@ -49670,7 +49664,7 @@ const Ore = /* @__PURE__ */ Eo(Rre), $T = ({ artifacts: e }) => {
49670
49664
  requestParams: d,
49671
49665
  urls: p,
49672
49666
  models: f
49673
- } = Yr(), { sendMessage: g } = Iu(), y = al(null), _ = al(null), b = al(!0);
49667
+ } = li(), { sendMessage: g } = Iu(), y = al(null), _ = al(null), b = al(!0);
49674
49668
  Or(() => {
49675
49669
  ki.get = async (D, M, z = {}) => {
49676
49670
  var I;
@@ -49832,7 +49826,7 @@ const Aie = Ot.object({
49832
49826
  var ma = /* @__PURE__ */ ((e) => (e.EXTENSION = "VSCode Extension", e.SAAS = "SaaS", e))(ma || {}), Qre = /* @__PURE__ */ ((e) => (e.SEE_IN_ACTION = "SEE_IN_ACTION", e.REQUEST_ACCESS = "REQUEST_ACCESS", e.VIEW_DETAILS = "VIEW_DETAILS", e))(Qre || {});
49833
49827
  const Zre = () => {
49834
49828
  var l;
49835
- const { sessions: e, currentSessionId: t, dispatch: n } = Yr(), { updateContextAndSendMessage: r } = Iu(), [i, a] = fn(""), s = async () => {
49829
+ const { sessions: e, currentSessionId: t, dispatch: n } = li(), { updateContextAndSendMessage: r } = Iu(), [i, a] = fn(""), s = async () => {
49836
49830
  n(
49837
49831
  vc({
49838
49832
  sessionId: t,
@@ -50112,7 +50106,7 @@ export {
50112
50106
  ht as D,
50113
50107
  FU as E,
50114
50108
  Dre as F,
50115
- Jr as G,
50109
+ Zr as G,
50116
50110
  xr as H,
50117
50111
  Mre as I,
50118
50112
  $U as J,
@@ -50162,7 +50156,7 @@ export {
50162
50156
  ad as r,
50163
50157
  i0 as s,
50164
50158
  Ju as t,
50165
- Yr as u,
50159
+ li as u,
50166
50160
  yie as v,
50167
50161
  Fg as w,
50168
50162
  rU as x,