@cartbot/plate-search 3.1.11 → 3.2.0

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.
@@ -1,141 +1,141 @@
1
- import * as a from "react";
2
- import Gt, { createContext as xa, useState as q, useRef as Me, useEffect as V, forwardRef as ya, useImperativeHandle as Ea } from "react";
3
- import { createRoot as Yt } from "react-dom/client";
4
- const _a = "/css/plate-search.css";
1
+ import * as o from "react";
2
+ import r, { createContext as ka, useState as J, useRef as Ie, useEffect as $, forwardRef as Aa, useImperativeHandle as Ta } from "react";
3
+ import { createRoot as Xt } from "react-dom/client";
4
+ const Sa = "/css/plate-search.css";
5
5
  /*! @license DOMPurify 3.2.6 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.2.6/LICENSE */
6
6
  const {
7
- entries: qt,
8
- setPrototypeOf: Ot,
9
- isFrozen: Aa,
10
- getPrototypeOf: Ra,
11
- getOwnPropertyDescriptor: Ta
7
+ entries: Jt,
8
+ setPrototypeOf: Pt,
9
+ isFrozen: La,
10
+ getPrototypeOf: Ma,
11
+ getOwnPropertyDescriptor: Ca
12
12
  } = Object;
13
13
  let {
14
- freeze: z,
15
- seal: B,
16
- create: Xt
14
+ freeze: j,
15
+ seal: G,
16
+ create: Qt
17
17
  } = Object, {
18
- apply: dt,
19
- construct: mt
18
+ apply: ut,
19
+ construct: ft
20
20
  } = typeof Reflect < "u" && Reflect;
21
- z || (z = function(t) {
21
+ j || (j = function(t) {
22
22
  return t;
23
23
  });
24
- B || (B = function(t) {
24
+ G || (G = function(t) {
25
25
  return t;
26
26
  });
27
- dt || (dt = function(t, c, l) {
28
- return t.apply(c, l);
27
+ ut || (ut = function(t, d, l) {
28
+ return t.apply(d, l);
29
29
  });
30
- mt || (mt = function(t, c) {
31
- return new t(...c);
30
+ ft || (ft = function(t, d) {
31
+ return new t(...d);
32
32
  });
33
- const Ve = F(Array.prototype.forEach), ka = F(Array.prototype.lastIndexOf), It = F(Array.prototype.pop), Te = F(Array.prototype.push), Sa = F(Array.prototype.splice), Be = F(String.prototype.toLowerCase), nt = F(String.prototype.toString), Ht = F(String.prototype.match), ke = F(String.prototype.replace), Ca = F(String.prototype.indexOf), La = F(String.prototype.trim), $ = F(Object.prototype.hasOwnProperty), U = F(RegExp.prototype.test), Se = Ma(TypeError);
34
- function F(o) {
33
+ const Ge = V(Array.prototype.forEach), Ra = V(Array.prototype.lastIndexOf), Ut = V(Array.prototype.pop), Me = V(Array.prototype.push), Na = V(Array.prototype.splice), qe = V(String.prototype.toLowerCase), lt = V(String.prototype.toString), zt = V(String.prototype.match), Ce = V(String.prototype.replace), Oa = V(String.prototype.indexOf), Ia = V(String.prototype.trim), q = V(Object.prototype.hasOwnProperty), Z = V(RegExp.prototype.test), Re = Ha(TypeError);
34
+ function V(a) {
35
35
  return function(t) {
36
36
  t instanceof RegExp && (t.lastIndex = 0);
37
- for (var c = arguments.length, l = new Array(c > 1 ? c - 1 : 0), u = 1; u < c; u++)
38
- l[u - 1] = arguments[u];
39
- return dt(o, t, l);
37
+ for (var d = arguments.length, l = new Array(d > 1 ? d - 1 : 0), g = 1; g < d; g++)
38
+ l[g - 1] = arguments[g];
39
+ return ut(a, t, l);
40
40
  };
41
41
  }
42
- function Ma(o) {
42
+ function Ha(a) {
43
43
  return function() {
44
- for (var t = arguments.length, c = new Array(t), l = 0; l < t; l++)
45
- c[l] = arguments[l];
46
- return mt(o, c);
44
+ for (var t = arguments.length, d = new Array(t), l = 0; l < t; l++)
45
+ d[l] = arguments[l];
46
+ return ft(a, d);
47
47
  };
48
48
  }
49
- function g(o, t) {
50
- let c = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : Be;
51
- Ot && Ot(o, null);
49
+ function b(a, t) {
50
+ let d = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : qe;
51
+ Pt && Pt(a, null);
52
52
  let l = t.length;
53
53
  for (; l--; ) {
54
- let u = t[l];
55
- if (typeof u == "string") {
56
- const h = c(u);
57
- h !== u && (Aa(t) || (t[l] = h), u = h);
54
+ let g = t[l];
55
+ if (typeof g == "string") {
56
+ const u = d(g);
57
+ u !== g && (La(t) || (t[l] = u), g = u);
58
58
  }
59
- o[u] = !0;
59
+ a[g] = !0;
60
60
  }
61
- return o;
61
+ return a;
62
62
  }
63
- function Na(o) {
64
- for (let t = 0; t < o.length; t++)
65
- $(o, t) || (o[t] = null);
66
- return o;
63
+ function Da(a) {
64
+ for (let t = 0; t < a.length; t++)
65
+ q(a, t) || (a[t] = null);
66
+ return a;
67
67
  }
68
- function Q(o) {
69
- const t = Xt(null);
70
- for (const [c, l] of qt(o))
71
- $(o, c) && (Array.isArray(l) ? t[c] = Na(l) : l && typeof l == "object" && l.constructor === Object ? t[c] = Q(l) : t[c] = l);
68
+ function oe(a) {
69
+ const t = Qt(null);
70
+ for (const [d, l] of Jt(a))
71
+ q(a, d) && (Array.isArray(l) ? t[d] = Da(l) : l && typeof l == "object" && l.constructor === Object ? t[d] = oe(l) : t[d] = l);
72
72
  return t;
73
73
  }
74
- function Ce(o, t) {
75
- for (; o !== null; ) {
76
- const l = Ta(o, t);
74
+ function Ne(a, t) {
75
+ for (; a !== null; ) {
76
+ const l = Ca(a, t);
77
77
  if (l) {
78
78
  if (l.get)
79
- return F(l.get);
79
+ return V(l.get);
80
80
  if (typeof l.value == "function")
81
- return F(l.value);
81
+ return V(l.value);
82
82
  }
83
- o = Ra(o);
83
+ a = Ma(a);
84
84
  }
85
- function c() {
85
+ function d() {
86
86
  return null;
87
87
  }
88
- return c;
88
+ return d;
89
89
  }
90
- const Dt = z(["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"]), rt = z(["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"]), it = z(["feBlend", "feColorMatrix", "feComponentTransfer", "feComposite", "feConvolveMatrix", "feDiffuseLighting", "feDisplacementMap", "feDistantLight", "feDropShadow", "feFlood", "feFuncA", "feFuncB", "feFuncG", "feFuncR", "feGaussianBlur", "feImage", "feMerge", "feMergeNode", "feMorphology", "feOffset", "fePointLight", "feSpecularLighting", "feSpotLight", "feTile", "feTurbulence"]), Oa = z(["animate", "color-profile", "cursor", "discard", "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"]), lt = z(["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", "mprescripts"]), Ia = z(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), Pt = z(["#text"]), Ut = z(["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", "popover", "popovertarget", "popovertargetaction", "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", "wrap", "xmlns", "slot"]), st = z(["accent-height", "accumulate", "additive", "alignment-baseline", "amplitude", "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", "exponent", "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", "intercept", "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", "slope", "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", "tablevalues", "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"]), zt = z(["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"]), je = z(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), Ha = B(/\{\{[\w\W]*|[\w\W]*\}\}/gm), Da = B(/<%[\w\W]*|[\w\W]*%>/gm), Pa = B(/\$\{[\w\W]*/gm), Ua = B(/^data-[\-\w.\u00B7-\uFFFF]+$/), za = B(/^aria-[\-\w]+$/), Kt = B(
90
+ const Ft = j(["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"]), st = j(["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"]), ct = j(["feBlend", "feColorMatrix", "feComponentTransfer", "feComposite", "feConvolveMatrix", "feDiffuseLighting", "feDisplacementMap", "feDistantLight", "feDropShadow", "feFlood", "feFuncA", "feFuncB", "feFuncG", "feFuncR", "feGaussianBlur", "feImage", "feMerge", "feMergeNode", "feMorphology", "feOffset", "fePointLight", "feSpecularLighting", "feSpotLight", "feTile", "feTurbulence"]), Pa = j(["animate", "color-profile", "cursor", "discard", "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"]), dt = j(["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", "mprescripts"]), Ua = j(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), Zt = j(["#text"]), jt = j(["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", "popover", "popovertarget", "popovertargetaction", "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", "wrap", "xmlns", "slot"]), mt = j(["accent-height", "accumulate", "additive", "alignment-baseline", "amplitude", "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", "exponent", "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", "intercept", "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", "slope", "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", "tablevalues", "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"]), Vt = j(["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"]), Ye = j(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), za = G(/\{\{[\w\W]*|[\w\W]*\}\}/gm), Fa = G(/<%[\w\W]*|[\w\W]*%>/gm), Za = G(/\$\{[\w\W]*/gm), ja = G(/^data-[\-\w.\u00B7-\uFFFF]+$/), Va = G(/^aria-[\-\w]+$/), ea = G(
91
91
  /^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i
92
92
  // eslint-disable-line no-useless-escape
93
- ), Fa = B(/^(?:\w+script|data):/i), Za = B(
93
+ ), Ba = G(/^(?:\w+script|data):/i), Wa = G(
94
94
  /[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g
95
95
  // eslint-disable-line no-control-regex
96
- ), Jt = B(/^html$/i), Va = B(/^[a-z][.\w]*(-[.\w]+)+$/i);
97
- var Ft = /* @__PURE__ */ Object.freeze({
96
+ ), ta = G(/^html$/i), $a = G(/^[a-z][.\w]*(-[.\w]+)+$/i);
97
+ var Bt = /* @__PURE__ */ Object.freeze({
98
98
  __proto__: null,
99
- ARIA_ATTR: za,
100
- ATTR_WHITESPACE: Za,
101
- CUSTOM_ELEMENT: Va,
102
- DATA_ATTR: Ua,
103
- DOCTYPE_NAME: Jt,
104
- ERB_EXPR: Da,
105
- IS_ALLOWED_URI: Kt,
106
- IS_SCRIPT_OR_DATA: Fa,
107
- MUSTACHE_EXPR: Ha,
108
- TMPLIT_EXPR: Pa
99
+ ARIA_ATTR: Va,
100
+ ATTR_WHITESPACE: Wa,
101
+ CUSTOM_ELEMENT: $a,
102
+ DATA_ATTR: ja,
103
+ DOCTYPE_NAME: ta,
104
+ ERB_EXPR: Fa,
105
+ IS_ALLOWED_URI: ea,
106
+ IS_SCRIPT_OR_DATA: Ba,
107
+ MUSTACHE_EXPR: za,
108
+ TMPLIT_EXPR: Za
109
109
  });
110
- const Le = {
110
+ const Oe = {
111
111
  element: 1,
112
112
  text: 3,
113
113
  // Deprecated
114
114
  progressingInstruction: 7,
115
115
  comment: 8,
116
116
  document: 9
117
- }, ja = function() {
117
+ }, Ga = function() {
118
118
  return typeof window > "u" ? null : window;
119
- }, Ba = function(t, c) {
119
+ }, Ya = function(t, d) {
120
120
  if (typeof t != "object" || typeof t.createPolicy != "function")
121
121
  return null;
122
122
  let l = null;
123
- const u = "data-tt-policy-suffix";
124
- c && c.hasAttribute(u) && (l = c.getAttribute(u));
125
- const h = "dompurify" + (l ? "#" + l : "");
123
+ const g = "data-tt-policy-suffix";
124
+ d && d.hasAttribute(g) && (l = d.getAttribute(g));
125
+ const u = "dompurify" + (l ? "#" + l : "");
126
126
  try {
127
- return t.createPolicy(h, {
128
- createHTML(p) {
129
- return p;
127
+ return t.createPolicy(u, {
128
+ createHTML(c) {
129
+ return c;
130
130
  },
131
- createScriptURL(p) {
132
- return p;
131
+ createScriptURL(c) {
132
+ return c;
133
133
  }
134
134
  });
135
135
  } catch {
136
- return console.warn("TrustedTypes policy " + h + " could not be created."), null;
136
+ return console.warn("TrustedTypes policy " + u + " could not be created."), null;
137
137
  }
138
- }, Zt = function() {
138
+ }, Wt = function() {
139
139
  return {
140
140
  afterSanitizeAttributes: [],
141
141
  afterSanitizeElements: [],
@@ -148,57 +148,57 @@ const Le = {
148
148
  uponSanitizeShadowNode: []
149
149
  };
150
150
  };
151
- function Qt() {
152
- let o = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : ja();
153
- const t = (d) => Qt(d);
154
- if (t.version = "3.2.6", t.removed = [], !o || !o.document || o.document.nodeType !== Le.document || !o.Element)
151
+ function aa() {
152
+ let a = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : Ga();
153
+ const t = (h) => aa(h);
154
+ if (t.version = "3.2.6", t.removed = [], !a || !a.document || a.document.nodeType !== Oe.document || !a.Element)
155
155
  return t.isSupported = !1, t;
156
156
  let {
157
- document: c
158
- } = o;
159
- const l = c, u = l.currentScript, {
160
- DocumentFragment: h,
161
- HTMLTemplateElement: p,
162
- Node: m,
163
- Element: w,
164
- NodeFilter: r,
165
- NamedNodeMap: f = o.NamedNodeMap || o.MozNamedAttrMap,
166
- HTMLFormElement: b,
167
- DOMParser: N,
168
- trustedTypes: T
169
- } = o, y = w.prototype, O = Ce(y, "cloneNode"), I = Ce(y, "remove"), W = Ce(y, "nextSibling"), We = Ce(y, "childNodes"), ee = Ce(y, "parentNode");
170
- if (typeof p == "function") {
171
- const d = c.createElement("template");
172
- d.content && d.content.ownerDocument && (c = d.content.ownerDocument);
157
+ document: d
158
+ } = a;
159
+ const l = d, g = l.currentScript, {
160
+ DocumentFragment: u,
161
+ HTMLTemplateElement: c,
162
+ Node: p,
163
+ Element: v,
164
+ NodeFilter: i,
165
+ NamedNodeMap: f = a.NamedNodeMap || a.MozNamedAttrMap,
166
+ HTMLFormElement: x,
167
+ DOMParser: I,
168
+ trustedTypes: A
169
+ } = a, E = v.prototype, H = Ne(E, "cloneNode"), B = Ne(E, "remove"), Y = Ne(E, "nextSibling"), ne = Ne(E, "childNodes"), K = Ne(E, "parentNode");
170
+ if (typeof c == "function") {
171
+ const h = d.createElement("template");
172
+ h.content && h.content.ownerDocument && (d = h.content.ownerDocument);
173
173
  }
174
- let k, te = "";
174
+ let S, re = "";
175
175
  const {
176
- implementation: ce,
177
- createNodeIterator: $e,
178
- createDocumentFragment: be,
179
- getElementsByTagName: Ge
180
- } = c, {
181
- importNode: Ne
176
+ implementation: me,
177
+ createNodeIterator: Je,
178
+ createDocumentFragment: xe,
179
+ getElementsByTagName: Qe
180
+ } = d, {
181
+ importNode: He
182
182
  } = l;
183
- let L = Zt();
184
- t.isSupported = typeof qt == "function" && typeof ee == "function" && ce && ce.createHTMLDocument !== void 0;
183
+ let N = Wt();
184
+ t.isSupported = typeof Jt == "function" && typeof K == "function" && me && me.createHTMLDocument !== void 0;
185
185
  const {
186
- MUSTACHE_EXPR: ae,
187
- ERB_EXPR: re,
188
- TMPLIT_EXPR: de,
189
- DATA_ATTR: Ye,
190
- ARIA_ATTR: Oe,
191
- IS_SCRIPT_OR_DATA: qe,
192
- ATTR_WHITESPACE: Ie,
193
- CUSTOM_ELEMENT: j
194
- } = Ft;
186
+ MUSTACHE_EXPR: De,
187
+ ERB_EXPR: C,
188
+ TMPLIT_EXPR: ye,
189
+ DATA_ATTR: pe,
190
+ ARIA_ATTR: Ee,
191
+ IS_SCRIPT_OR_DATA: Pe,
192
+ ATTR_WHITESPACE: Ue,
193
+ CUSTOM_ELEMENT: ze
194
+ } = Bt;
195
195
  let {
196
- IS_ALLOWED_URI: ve
197
- } = Ft, _ = null;
198
- const xe = g({}, [...Dt, ...rt, ...it, ...lt, ...Pt]);
199
- let S = null;
200
- const He = g({}, [...Ut, ...st, ...zt, ...je]);
201
- let A = Object.seal(Xt(null, {
196
+ IS_ALLOWED_URI: Fe
197
+ } = Bt, L = null;
198
+ const U = b({}, [...Ft, ...st, ...ct, ...dt, ...Zt]);
199
+ let M = null;
200
+ const ie = b({}, [...jt, ...mt, ...Vt, ...Ye]);
201
+ let _ = Object.seal(Qt(null, {
202
202
  tagNameCheck: {
203
203
  writable: !0,
204
204
  configurable: !1,
@@ -217,70 +217,70 @@ function Qt() {
217
217
  enumerable: !0,
218
218
  value: !1
219
219
  }
220
- })), oe = null, ye = null, Ee = !0, i = !0, v = !1, x = !0, E = !1, ne = !0, G = !1, ie = !1, Xe = !1, me = !1, De = !1, Pe = !1, ft = !0, gt = !1;
221
- const ha = "user-content-";
222
- let Ke = !0, _e = !1, he = {}, pe = null;
223
- const wt = g({}, ["annotation-xml", "audio", "colgroup", "desc", "foreignobject", "head", "iframe", "math", "mi", "mn", "mo", "ms", "mtext", "noembed", "noframes", "noscript", "plaintext", "script", "style", "svg", "template", "thead", "title", "video", "xmp"]);
224
- let bt = null;
225
- const vt = g({}, ["audio", "video", "img", "source", "image", "track"]);
226
- let Je = null;
227
- const xt = g({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), Ue = "http://www.w3.org/1998/Math/MathML", ze = "http://www.w3.org/2000/svg", X = "http://www.w3.org/1999/xhtml";
228
- let ue = X, Qe = !1, et = null;
229
- const pa = g({}, [Ue, ze, X], nt);
230
- let Fe = g({}, ["mi", "mo", "mn", "ms", "mtext"]), Ze = g({}, ["annotation-xml"]);
231
- const ua = g({}, ["title", "style", "font", "a", "script"]);
232
- let Ae = null;
233
- const fa = ["application/xhtml+xml", "text/html"], ga = "text/html";
234
- let M = null, fe = null;
235
- const wa = c.createElement("form"), yt = function(e) {
220
+ })), se = null, _e = null, ke = !0, he = !0, Ze = !1, Ae = !0, s = !1, y = !0, w = !1, D = !1, P = !1, Q = !1, le = !1, je = !1, vt = !0, xt = !1;
221
+ const ga = "user-content-";
222
+ let et = !0, Te = !1, ue = {}, fe = null;
223
+ const yt = b({}, ["annotation-xml", "audio", "colgroup", "desc", "foreignobject", "head", "iframe", "math", "mi", "mn", "mo", "ms", "mtext", "noembed", "noframes", "noscript", "plaintext", "script", "style", "svg", "template", "thead", "title", "video", "xmp"]);
224
+ let Et = null;
225
+ const _t = b({}, ["audio", "video", "img", "source", "image", "track"]);
226
+ let tt = null;
227
+ const kt = b({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), Ve = "http://www.w3.org/1998/Math/MathML", Be = "http://www.w3.org/2000/svg", ee = "http://www.w3.org/1999/xhtml";
228
+ let ge = ee, at = !1, ot = null;
229
+ const wa = b({}, [Ve, Be, ee], lt);
230
+ let We = b({}, ["mi", "mo", "mn", "ms", "mtext"]), $e = b({}, ["annotation-xml"]);
231
+ const ba = b({}, ["title", "style", "font", "a", "script"]);
232
+ let Se = null;
233
+ const va = ["application/xhtml+xml", "text/html"], xa = "text/html";
234
+ let O = null, we = null;
235
+ const ya = d.createElement("form"), At = function(e) {
236
236
  return e instanceof RegExp || e instanceof Function;
237
- }, tt = function() {
237
+ }, nt = function() {
238
238
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
239
- if (!(fe && fe === e)) {
240
- if ((!e || typeof e != "object") && (e = {}), e = Q(e), Ae = // eslint-disable-next-line unicorn/prefer-includes
241
- fa.indexOf(e.PARSER_MEDIA_TYPE) === -1 ? ga : e.PARSER_MEDIA_TYPE, M = Ae === "application/xhtml+xml" ? nt : Be, _ = $(e, "ALLOWED_TAGS") ? g({}, e.ALLOWED_TAGS, M) : xe, S = $(e, "ALLOWED_ATTR") ? g({}, e.ALLOWED_ATTR, M) : He, et = $(e, "ALLOWED_NAMESPACES") ? g({}, e.ALLOWED_NAMESPACES, nt) : pa, Je = $(e, "ADD_URI_SAFE_ATTR") ? g(Q(xt), e.ADD_URI_SAFE_ATTR, M) : xt, bt = $(e, "ADD_DATA_URI_TAGS") ? g(Q(vt), e.ADD_DATA_URI_TAGS, M) : vt, pe = $(e, "FORBID_CONTENTS") ? g({}, e.FORBID_CONTENTS, M) : wt, oe = $(e, "FORBID_TAGS") ? g({}, e.FORBID_TAGS, M) : Q({}), ye = $(e, "FORBID_ATTR") ? g({}, e.FORBID_ATTR, M) : Q({}), he = $(e, "USE_PROFILES") ? e.USE_PROFILES : !1, Ee = e.ALLOW_ARIA_ATTR !== !1, i = e.ALLOW_DATA_ATTR !== !1, v = e.ALLOW_UNKNOWN_PROTOCOLS || !1, x = e.ALLOW_SELF_CLOSE_IN_ATTR !== !1, E = e.SAFE_FOR_TEMPLATES || !1, ne = e.SAFE_FOR_XML !== !1, G = e.WHOLE_DOCUMENT || !1, me = e.RETURN_DOM || !1, De = e.RETURN_DOM_FRAGMENT || !1, Pe = e.RETURN_TRUSTED_TYPE || !1, Xe = e.FORCE_BODY || !1, ft = e.SANITIZE_DOM !== !1, gt = e.SANITIZE_NAMED_PROPS || !1, Ke = e.KEEP_CONTENT !== !1, _e = e.IN_PLACE || !1, ve = e.ALLOWED_URI_REGEXP || Kt, ue = e.NAMESPACE || X, Fe = e.MATHML_TEXT_INTEGRATION_POINTS || Fe, Ze = e.HTML_INTEGRATION_POINTS || Ze, A = e.CUSTOM_ELEMENT_HANDLING || {}, e.CUSTOM_ELEMENT_HANDLING && yt(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (A.tagNameCheck = e.CUSTOM_ELEMENT_HANDLING.tagNameCheck), e.CUSTOM_ELEMENT_HANDLING && yt(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (A.attributeNameCheck = e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), e.CUSTOM_ELEMENT_HANDLING && typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (A.allowCustomizedBuiltInElements = e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), E && (i = !1), De && (me = !0), he && (_ = g({}, Pt), S = [], he.html === !0 && (g(_, Dt), g(S, Ut)), he.svg === !0 && (g(_, rt), g(S, st), g(S, je)), he.svgFilters === !0 && (g(_, it), g(S, st), g(S, je)), he.mathMl === !0 && (g(_, lt), g(S, zt), g(S, je))), e.ADD_TAGS && (_ === xe && (_ = Q(_)), g(_, e.ADD_TAGS, M)), e.ADD_ATTR && (S === He && (S = Q(S)), g(S, e.ADD_ATTR, M)), e.ADD_URI_SAFE_ATTR && g(Je, e.ADD_URI_SAFE_ATTR, M), e.FORBID_CONTENTS && (pe === wt && (pe = Q(pe)), g(pe, e.FORBID_CONTENTS, M)), Ke && (_["#text"] = !0), G && g(_, ["html", "head", "body"]), _.table && (g(_, ["tbody"]), delete oe.tbody), e.TRUSTED_TYPES_POLICY) {
239
+ if (!(we && we === e)) {
240
+ if ((!e || typeof e != "object") && (e = {}), e = oe(e), Se = // eslint-disable-next-line unicorn/prefer-includes
241
+ va.indexOf(e.PARSER_MEDIA_TYPE) === -1 ? xa : e.PARSER_MEDIA_TYPE, O = Se === "application/xhtml+xml" ? lt : qe, L = q(e, "ALLOWED_TAGS") ? b({}, e.ALLOWED_TAGS, O) : U, M = q(e, "ALLOWED_ATTR") ? b({}, e.ALLOWED_ATTR, O) : ie, ot = q(e, "ALLOWED_NAMESPACES") ? b({}, e.ALLOWED_NAMESPACES, lt) : wa, tt = q(e, "ADD_URI_SAFE_ATTR") ? b(oe(kt), e.ADD_URI_SAFE_ATTR, O) : kt, Et = q(e, "ADD_DATA_URI_TAGS") ? b(oe(_t), e.ADD_DATA_URI_TAGS, O) : _t, fe = q(e, "FORBID_CONTENTS") ? b({}, e.FORBID_CONTENTS, O) : yt, se = q(e, "FORBID_TAGS") ? b({}, e.FORBID_TAGS, O) : oe({}), _e = q(e, "FORBID_ATTR") ? b({}, e.FORBID_ATTR, O) : oe({}), ue = q(e, "USE_PROFILES") ? e.USE_PROFILES : !1, ke = e.ALLOW_ARIA_ATTR !== !1, he = e.ALLOW_DATA_ATTR !== !1, Ze = e.ALLOW_UNKNOWN_PROTOCOLS || !1, Ae = e.ALLOW_SELF_CLOSE_IN_ATTR !== !1, s = e.SAFE_FOR_TEMPLATES || !1, y = e.SAFE_FOR_XML !== !1, w = e.WHOLE_DOCUMENT || !1, Q = e.RETURN_DOM || !1, le = e.RETURN_DOM_FRAGMENT || !1, je = e.RETURN_TRUSTED_TYPE || !1, P = e.FORCE_BODY || !1, vt = e.SANITIZE_DOM !== !1, xt = e.SANITIZE_NAMED_PROPS || !1, et = e.KEEP_CONTENT !== !1, Te = e.IN_PLACE || !1, Fe = e.ALLOWED_URI_REGEXP || ea, ge = e.NAMESPACE || ee, We = e.MATHML_TEXT_INTEGRATION_POINTS || We, $e = e.HTML_INTEGRATION_POINTS || $e, _ = e.CUSTOM_ELEMENT_HANDLING || {}, e.CUSTOM_ELEMENT_HANDLING && At(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (_.tagNameCheck = e.CUSTOM_ELEMENT_HANDLING.tagNameCheck), e.CUSTOM_ELEMENT_HANDLING && At(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (_.attributeNameCheck = e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), e.CUSTOM_ELEMENT_HANDLING && typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (_.allowCustomizedBuiltInElements = e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), s && (he = !1), le && (Q = !0), ue && (L = b({}, Zt), M = [], ue.html === !0 && (b(L, Ft), b(M, jt)), ue.svg === !0 && (b(L, st), b(M, mt), b(M, Ye)), ue.svgFilters === !0 && (b(L, ct), b(M, mt), b(M, Ye)), ue.mathMl === !0 && (b(L, dt), b(M, Vt), b(M, Ye))), e.ADD_TAGS && (L === U && (L = oe(L)), b(L, e.ADD_TAGS, O)), e.ADD_ATTR && (M === ie && (M = oe(M)), b(M, e.ADD_ATTR, O)), e.ADD_URI_SAFE_ATTR && b(tt, e.ADD_URI_SAFE_ATTR, O), e.FORBID_CONTENTS && (fe === yt && (fe = oe(fe)), b(fe, e.FORBID_CONTENTS, O)), et && (L["#text"] = !0), w && b(L, ["html", "head", "body"]), L.table && (b(L, ["tbody"]), delete se.tbody), e.TRUSTED_TYPES_POLICY) {
242
242
  if (typeof e.TRUSTED_TYPES_POLICY.createHTML != "function")
243
- throw Se('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
243
+ throw Re('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
244
244
  if (typeof e.TRUSTED_TYPES_POLICY.createScriptURL != "function")
245
- throw Se('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');
246
- k = e.TRUSTED_TYPES_POLICY, te = k.createHTML("");
245
+ throw Re('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');
246
+ S = e.TRUSTED_TYPES_POLICY, re = S.createHTML("");
247
247
  } else
248
- k === void 0 && (k = Ba(T, u)), k !== null && typeof te == "string" && (te = k.createHTML(""));
249
- z && z(e), fe = e;
248
+ S === void 0 && (S = Ya(A, g)), S !== null && typeof re == "string" && (re = S.createHTML(""));
249
+ j && j(e), we = e;
250
250
  }
251
- }, Et = g({}, [...rt, ...it, ...Oa]), _t = g({}, [...lt, ...Ia]), ba = function(e) {
252
- let n = ee(e);
251
+ }, Tt = b({}, [...st, ...ct, ...Pa]), St = b({}, [...dt, ...Ua]), Ea = function(e) {
252
+ let n = K(e);
253
253
  (!n || !n.tagName) && (n = {
254
- namespaceURI: ue,
254
+ namespaceURI: ge,
255
255
  tagName: "template"
256
256
  });
257
- const s = Be(e.tagName), R = Be(n.tagName);
258
- return et[e.namespaceURI] ? e.namespaceURI === ze ? n.namespaceURI === X ? s === "svg" : n.namespaceURI === Ue ? s === "svg" && (R === "annotation-xml" || Fe[R]) : !!Et[s] : e.namespaceURI === Ue ? n.namespaceURI === X ? s === "math" : n.namespaceURI === ze ? s === "math" && Ze[R] : !!_t[s] : e.namespaceURI === X ? n.namespaceURI === ze && !Ze[R] || n.namespaceURI === Ue && !Fe[R] ? !1 : !_t[s] && (ua[s] || !Et[s]) : !!(Ae === "application/xhtml+xml" && et[e.namespaceURI]) : !1;
259
- }, Y = function(e) {
260
- Te(t.removed, {
257
+ const m = qe(e.tagName), k = qe(n.tagName);
258
+ return ot[e.namespaceURI] ? e.namespaceURI === Be ? n.namespaceURI === ee ? m === "svg" : n.namespaceURI === Ve ? m === "svg" && (k === "annotation-xml" || We[k]) : !!Tt[m] : e.namespaceURI === Ve ? n.namespaceURI === ee ? m === "math" : n.namespaceURI === Be ? m === "math" && $e[k] : !!St[m] : e.namespaceURI === ee ? n.namespaceURI === Be && !$e[k] || n.namespaceURI === Ve && !We[k] ? !1 : !St[m] && (ba[m] || !Tt[m]) : !!(Se === "application/xhtml+xml" && ot[e.namespaceURI]) : !1;
259
+ }, X = function(e) {
260
+ Me(t.removed, {
261
261
  element: e
262
262
  });
263
263
  try {
264
- ee(e).removeChild(e);
264
+ K(e).removeChild(e);
265
265
  } catch {
266
- I(e);
266
+ B(e);
267
267
  }
268
- }, ge = function(e, n) {
268
+ }, be = function(e, n) {
269
269
  try {
270
- Te(t.removed, {
270
+ Me(t.removed, {
271
271
  attribute: n.getAttributeNode(e),
272
272
  from: n
273
273
  });
274
274
  } catch {
275
- Te(t.removed, {
275
+ Me(t.removed, {
276
276
  attribute: null,
277
277
  from: n
278
278
  });
279
279
  }
280
280
  if (n.removeAttribute(e), e === "is")
281
- if (me || De)
281
+ if (Q || le)
282
282
  try {
283
- Y(n);
283
+ X(n);
284
284
  } catch {
285
285
  }
286
286
  else
@@ -288,97 +288,97 @@ function Qt() {
288
288
  n.setAttribute(e, "");
289
289
  } catch {
290
290
  }
291
- }, At = function(e) {
292
- let n = null, s = null;
293
- if (Xe)
291
+ }, Lt = function(e) {
292
+ let n = null, m = null;
293
+ if (P)
294
294
  e = "<remove></remove>" + e;
295
295
  else {
296
- const C = Ht(e, /^[\r\n\t ]+/);
297
- s = C && C[0];
296
+ const R = zt(e, /^[\r\n\t ]+/);
297
+ m = R && R[0];
298
298
  }
299
- Ae === "application/xhtml+xml" && ue === X && (e = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + e + "</body></html>");
300
- const R = k ? k.createHTML(e) : e;
301
- if (ue === X)
299
+ Se === "application/xhtml+xml" && ge === ee && (e = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + e + "</body></html>");
300
+ const k = S ? S.createHTML(e) : e;
301
+ if (ge === ee)
302
302
  try {
303
- n = new N().parseFromString(R, Ae);
303
+ n = new I().parseFromString(k, Se);
304
304
  } catch {
305
305
  }
306
306
  if (!n || !n.documentElement) {
307
- n = ce.createDocument(ue, "template", null);
307
+ n = me.createDocument(ge, "template", null);
308
308
  try {
309
- n.documentElement.innerHTML = Qe ? te : R;
309
+ n.documentElement.innerHTML = at ? re : k;
310
310
  } catch {
311
311
  }
312
312
  }
313
- const D = n.body || n.documentElement;
314
- return e && s && D.insertBefore(c.createTextNode(s), D.childNodes[0] || null), ue === X ? Ge.call(n, G ? "html" : "body")[0] : G ? n.documentElement : D;
315
- }, Rt = function(e) {
316
- return $e.call(
313
+ const z = n.body || n.documentElement;
314
+ return e && m && z.insertBefore(d.createTextNode(m), z.childNodes[0] || null), ge === ee ? Qe.call(n, w ? "html" : "body")[0] : w ? n.documentElement : z;
315
+ }, Mt = function(e) {
316
+ return Je.call(
317
317
  e.ownerDocument || e,
318
318
  e,
319
319
  // eslint-disable-next-line no-bitwise
320
- r.SHOW_ELEMENT | r.SHOW_COMMENT | r.SHOW_TEXT | r.SHOW_PROCESSING_INSTRUCTION | r.SHOW_CDATA_SECTION,
320
+ i.SHOW_ELEMENT | i.SHOW_COMMENT | i.SHOW_TEXT | i.SHOW_PROCESSING_INSTRUCTION | i.SHOW_CDATA_SECTION,
321
321
  null
322
322
  );
323
- }, at = function(e) {
324
- return e instanceof b && (typeof e.nodeName != "string" || typeof e.textContent != "string" || typeof e.removeChild != "function" || !(e.attributes instanceof f) || typeof e.removeAttribute != "function" || typeof e.setAttribute != "function" || typeof e.namespaceURI != "string" || typeof e.insertBefore != "function" || typeof e.hasChildNodes != "function");
325
- }, Tt = function(e) {
326
- return typeof m == "function" && e instanceof m;
323
+ }, rt = function(e) {
324
+ return e instanceof x && (typeof e.nodeName != "string" || typeof e.textContent != "string" || typeof e.removeChild != "function" || !(e.attributes instanceof f) || typeof e.removeAttribute != "function" || typeof e.setAttribute != "function" || typeof e.namespaceURI != "string" || typeof e.insertBefore != "function" || typeof e.hasChildNodes != "function");
325
+ }, Ct = function(e) {
326
+ return typeof p == "function" && e instanceof p;
327
327
  };
328
- function K(d, e, n) {
329
- Ve(d, (s) => {
330
- s.call(t, e, n, fe);
328
+ function te(h, e, n) {
329
+ Ge(h, (m) => {
330
+ m.call(t, e, n, we);
331
331
  });
332
332
  }
333
- const kt = function(e) {
333
+ const Rt = function(e) {
334
334
  let n = null;
335
- if (K(L.beforeSanitizeElements, e, null), at(e))
336
- return Y(e), !0;
337
- const s = M(e.nodeName);
338
- if (K(L.uponSanitizeElement, e, {
339
- tagName: s,
340
- allowedTags: _
341
- }), ne && e.hasChildNodes() && !Tt(e.firstElementChild) && U(/<[/\w!]/g, e.innerHTML) && U(/<[/\w!]/g, e.textContent) || e.nodeType === Le.progressingInstruction || ne && e.nodeType === Le.comment && U(/<[/\w]/g, e.data))
342
- return Y(e), !0;
343
- if (!_[s] || oe[s]) {
344
- if (!oe[s] && Ct(s) && (A.tagNameCheck instanceof RegExp && U(A.tagNameCheck, s) || A.tagNameCheck instanceof Function && A.tagNameCheck(s)))
335
+ if (te(N.beforeSanitizeElements, e, null), rt(e))
336
+ return X(e), !0;
337
+ const m = O(e.nodeName);
338
+ if (te(N.uponSanitizeElement, e, {
339
+ tagName: m,
340
+ allowedTags: L
341
+ }), y && e.hasChildNodes() && !Ct(e.firstElementChild) && Z(/<[/\w!]/g, e.innerHTML) && Z(/<[/\w!]/g, e.textContent) || e.nodeType === Oe.progressingInstruction || y && e.nodeType === Oe.comment && Z(/<[/\w]/g, e.data))
342
+ return X(e), !0;
343
+ if (!L[m] || se[m]) {
344
+ if (!se[m] && Ot(m) && (_.tagNameCheck instanceof RegExp && Z(_.tagNameCheck, m) || _.tagNameCheck instanceof Function && _.tagNameCheck(m)))
345
345
  return !1;
346
- if (Ke && !pe[s]) {
347
- const R = ee(e) || e.parentNode, D = We(e) || e.childNodes;
348
- if (D && R) {
349
- const C = D.length;
350
- for (let Z = C - 1; Z >= 0; --Z) {
351
- const J = O(D[Z], !0);
352
- J.__removalCount = (e.__removalCount || 0) + 1, R.insertBefore(J, W(e));
346
+ if (et && !fe[m]) {
347
+ const k = K(e) || e.parentNode, z = ne(e) || e.childNodes;
348
+ if (z && k) {
349
+ const R = z.length;
350
+ for (let W = R - 1; W >= 0; --W) {
351
+ const ae = H(z[W], !0);
352
+ ae.__removalCount = (e.__removalCount || 0) + 1, k.insertBefore(ae, Y(e));
353
353
  }
354
354
  }
355
355
  }
356
- return Y(e), !0;
356
+ return X(e), !0;
357
357
  }
358
- return e instanceof w && !ba(e) || (s === "noscript" || s === "noembed" || s === "noframes") && U(/<\/no(script|embed|frames)/i, e.innerHTML) ? (Y(e), !0) : (E && e.nodeType === Le.text && (n = e.textContent, Ve([ae, re, de], (R) => {
359
- n = ke(n, R, " ");
360
- }), e.textContent !== n && (Te(t.removed, {
358
+ return e instanceof v && !Ea(e) || (m === "noscript" || m === "noembed" || m === "noframes") && Z(/<\/no(script|embed|frames)/i, e.innerHTML) ? (X(e), !0) : (s && e.nodeType === Oe.text && (n = e.textContent, Ge([De, C, ye], (k) => {
359
+ n = Ce(n, k, " ");
360
+ }), e.textContent !== n && (Me(t.removed, {
361
361
  element: e.cloneNode()
362
- }), e.textContent = n)), K(L.afterSanitizeElements, e, null), !1);
363
- }, St = function(e, n, s) {
364
- if (ft && (n === "id" || n === "name") && (s in c || s in wa))
362
+ }), e.textContent = n)), te(N.afterSanitizeElements, e, null), !1);
363
+ }, Nt = function(e, n, m) {
364
+ if (vt && (n === "id" || n === "name") && (m in d || m in ya))
365
365
  return !1;
366
- if (!(i && !ye[n] && U(Ye, n))) {
367
- if (!(Ee && U(Oe, n))) {
368
- if (!S[n] || ye[n]) {
366
+ if (!(he && !_e[n] && Z(pe, n))) {
367
+ if (!(ke && Z(Ee, n))) {
368
+ if (!M[n] || _e[n]) {
369
369
  if (
370
370
  // First condition does a very basic check if a) it's basically a valid custom element tagname AND
371
371
  // b) if the tagName passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
372
372
  // and c) if the attribute name passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.attributeNameCheck
373
- !(Ct(e) && (A.tagNameCheck instanceof RegExp && U(A.tagNameCheck, e) || A.tagNameCheck instanceof Function && A.tagNameCheck(e)) && (A.attributeNameCheck instanceof RegExp && U(A.attributeNameCheck, n) || A.attributeNameCheck instanceof Function && A.attributeNameCheck(n)) || // Alternative, second condition checks if it's an `is`-attribute, AND
373
+ !(Ot(e) && (_.tagNameCheck instanceof RegExp && Z(_.tagNameCheck, e) || _.tagNameCheck instanceof Function && _.tagNameCheck(e)) && (_.attributeNameCheck instanceof RegExp && Z(_.attributeNameCheck, n) || _.attributeNameCheck instanceof Function && _.attributeNameCheck(n)) || // Alternative, second condition checks if it's an `is`-attribute, AND
374
374
  // the value passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
375
- n === "is" && A.allowCustomizedBuiltInElements && (A.tagNameCheck instanceof RegExp && U(A.tagNameCheck, s) || A.tagNameCheck instanceof Function && A.tagNameCheck(s)))
375
+ n === "is" && _.allowCustomizedBuiltInElements && (_.tagNameCheck instanceof RegExp && Z(_.tagNameCheck, m) || _.tagNameCheck instanceof Function && _.tagNameCheck(m)))
376
376
  ) return !1;
377
- } else if (!Je[n]) {
378
- if (!U(ve, ke(s, Ie, ""))) {
379
- if (!((n === "src" || n === "xlink:href" || n === "href") && e !== "script" && Ca(s, "data:") === 0 && bt[e])) {
380
- if (!(v && !U(qe, ke(s, Ie, "")))) {
381
- if (s)
377
+ } else if (!tt[n]) {
378
+ if (!Z(Fe, Ce(m, Ue, ""))) {
379
+ if (!((n === "src" || n === "xlink:href" || n === "href") && e !== "script" && Oa(m, "data:") === 0 && Et[e])) {
380
+ if (!(Ze && !Z(Pe, Ce(m, Ue, "")))) {
381
+ if (m)
382
382
  return !1;
383
383
  }
384
384
  }
@@ -387,367 +387,367 @@ function Qt() {
387
387
  }
388
388
  }
389
389
  return !0;
390
- }, Ct = function(e) {
391
- return e !== "annotation-xml" && Ht(e, j);
392
- }, Lt = function(e) {
393
- K(L.beforeSanitizeAttributes, e, null);
390
+ }, Ot = function(e) {
391
+ return e !== "annotation-xml" && zt(e, ze);
392
+ }, It = function(e) {
393
+ te(N.beforeSanitizeAttributes, e, null);
394
394
  const {
395
395
  attributes: n
396
396
  } = e;
397
- if (!n || at(e))
397
+ if (!n || rt(e))
398
398
  return;
399
- const s = {
399
+ const m = {
400
400
  attrName: "",
401
401
  attrValue: "",
402
402
  keepAttr: !0,
403
- allowedAttributes: S,
403
+ allowedAttributes: M,
404
404
  forceKeepAttr: void 0
405
405
  };
406
- let R = n.length;
407
- for (; R--; ) {
408
- const D = n[R], {
409
- name: C,
410
- namespaceURI: Z,
411
- value: J
412
- } = D, Re = M(C), ot = J;
413
- let P = C === "value" ? ot : La(ot);
414
- if (s.attrName = Re, s.attrValue = P, s.keepAttr = !0, s.forceKeepAttr = void 0, K(L.uponSanitizeAttribute, e, s), P = s.attrValue, gt && (Re === "id" || Re === "name") && (ge(C, e), P = ha + P), ne && U(/((--!?|])>)|<\/(style|title)/i, P)) {
415
- ge(C, e);
406
+ let k = n.length;
407
+ for (; k--; ) {
408
+ const z = n[k], {
409
+ name: R,
410
+ namespaceURI: W,
411
+ value: ae
412
+ } = z, Le = O(R), it = ae;
413
+ let F = R === "value" ? it : Ia(it);
414
+ if (m.attrName = Le, m.attrValue = F, m.keepAttr = !0, m.forceKeepAttr = void 0, te(N.uponSanitizeAttribute, e, m), F = m.attrValue, xt && (Le === "id" || Le === "name") && (be(R, e), F = ga + F), y && Z(/((--!?|])>)|<\/(style|title)/i, F)) {
415
+ be(R, e);
416
416
  continue;
417
417
  }
418
- if (s.forceKeepAttr)
418
+ if (m.forceKeepAttr)
419
419
  continue;
420
- if (!s.keepAttr) {
421
- ge(C, e);
420
+ if (!m.keepAttr) {
421
+ be(R, e);
422
422
  continue;
423
423
  }
424
- if (!x && U(/\/>/i, P)) {
425
- ge(C, e);
424
+ if (!Ae && Z(/\/>/i, F)) {
425
+ be(R, e);
426
426
  continue;
427
427
  }
428
- E && Ve([ae, re, de], (Nt) => {
429
- P = ke(P, Nt, " ");
428
+ s && Ge([De, C, ye], (Dt) => {
429
+ F = Ce(F, Dt, " ");
430
430
  });
431
- const Mt = M(e.nodeName);
432
- if (!St(Mt, Re, P)) {
433
- ge(C, e);
431
+ const Ht = O(e.nodeName);
432
+ if (!Nt(Ht, Le, F)) {
433
+ be(R, e);
434
434
  continue;
435
435
  }
436
- if (k && typeof T == "object" && typeof T.getAttributeType == "function" && !Z)
437
- switch (T.getAttributeType(Mt, Re)) {
436
+ if (S && typeof A == "object" && typeof A.getAttributeType == "function" && !W)
437
+ switch (A.getAttributeType(Ht, Le)) {
438
438
  case "TrustedHTML": {
439
- P = k.createHTML(P);
439
+ F = S.createHTML(F);
440
440
  break;
441
441
  }
442
442
  case "TrustedScriptURL": {
443
- P = k.createScriptURL(P);
443
+ F = S.createScriptURL(F);
444
444
  break;
445
445
  }
446
446
  }
447
- if (P !== ot)
447
+ if (F !== it)
448
448
  try {
449
- Z ? e.setAttributeNS(Z, C, P) : e.setAttribute(C, P), at(e) ? Y(e) : It(t.removed);
449
+ W ? e.setAttributeNS(W, R, F) : e.setAttribute(R, F), rt(e) ? X(e) : Ut(t.removed);
450
450
  } catch {
451
- ge(C, e);
451
+ be(R, e);
452
452
  }
453
453
  }
454
- K(L.afterSanitizeAttributes, e, null);
455
- }, va = function d(e) {
454
+ te(N.afterSanitizeAttributes, e, null);
455
+ }, _a = function h(e) {
456
456
  let n = null;
457
- const s = Rt(e);
458
- for (K(L.beforeSanitizeShadowDOM, e, null); n = s.nextNode(); )
459
- K(L.uponSanitizeShadowNode, n, null), kt(n), Lt(n), n.content instanceof h && d(n.content);
460
- K(L.afterSanitizeShadowDOM, e, null);
457
+ const m = Mt(e);
458
+ for (te(N.beforeSanitizeShadowDOM, e, null); n = m.nextNode(); )
459
+ te(N.uponSanitizeShadowNode, n, null), Rt(n), It(n), n.content instanceof u && h(n.content);
460
+ te(N.afterSanitizeShadowDOM, e, null);
461
461
  };
462
- return t.sanitize = function(d) {
463
- let e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = null, s = null, R = null, D = null;
464
- if (Qe = !d, Qe && (d = "<!-->"), typeof d != "string" && !Tt(d))
465
- if (typeof d.toString == "function") {
466
- if (d = d.toString(), typeof d != "string")
467
- throw Se("dirty is not a string, aborting");
462
+ return t.sanitize = function(h) {
463
+ let e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = null, m = null, k = null, z = null;
464
+ if (at = !h, at && (h = "<!-->"), typeof h != "string" && !Ct(h))
465
+ if (typeof h.toString == "function") {
466
+ if (h = h.toString(), typeof h != "string")
467
+ throw Re("dirty is not a string, aborting");
468
468
  } else
469
- throw Se("toString is not a function");
469
+ throw Re("toString is not a function");
470
470
  if (!t.isSupported)
471
- return d;
472
- if (ie || tt(e), t.removed = [], typeof d == "string" && (_e = !1), _e) {
473
- if (d.nodeName) {
474
- const J = M(d.nodeName);
475
- if (!_[J] || oe[J])
476
- throw Se("root node is forbidden and cannot be sanitized in-place");
471
+ return h;
472
+ if (D || nt(e), t.removed = [], typeof h == "string" && (Te = !1), Te) {
473
+ if (h.nodeName) {
474
+ const ae = O(h.nodeName);
475
+ if (!L[ae] || se[ae])
476
+ throw Re("root node is forbidden and cannot be sanitized in-place");
477
477
  }
478
- } else if (d instanceof m)
479
- n = At("<!---->"), s = n.ownerDocument.importNode(d, !0), s.nodeType === Le.element && s.nodeName === "BODY" || s.nodeName === "HTML" ? n = s : n.appendChild(s);
478
+ } else if (h instanceof p)
479
+ n = Lt("<!---->"), m = n.ownerDocument.importNode(h, !0), m.nodeType === Oe.element && m.nodeName === "BODY" || m.nodeName === "HTML" ? n = m : n.appendChild(m);
480
480
  else {
481
- if (!me && !E && !G && // eslint-disable-next-line unicorn/prefer-includes
482
- d.indexOf("<") === -1)
483
- return k && Pe ? k.createHTML(d) : d;
484
- if (n = At(d), !n)
485
- return me ? null : Pe ? te : "";
481
+ if (!Q && !s && !w && // eslint-disable-next-line unicorn/prefer-includes
482
+ h.indexOf("<") === -1)
483
+ return S && je ? S.createHTML(h) : h;
484
+ if (n = Lt(h), !n)
485
+ return Q ? null : je ? re : "";
486
486
  }
487
- n && Xe && Y(n.firstChild);
488
- const C = Rt(_e ? d : n);
489
- for (; R = C.nextNode(); )
490
- kt(R), Lt(R), R.content instanceof h && va(R.content);
491
- if (_e)
492
- return d;
493
- if (me) {
494
- if (De)
495
- for (D = be.call(n.ownerDocument); n.firstChild; )
496
- D.appendChild(n.firstChild);
487
+ n && P && X(n.firstChild);
488
+ const R = Mt(Te ? h : n);
489
+ for (; k = R.nextNode(); )
490
+ Rt(k), It(k), k.content instanceof u && _a(k.content);
491
+ if (Te)
492
+ return h;
493
+ if (Q) {
494
+ if (le)
495
+ for (z = xe.call(n.ownerDocument); n.firstChild; )
496
+ z.appendChild(n.firstChild);
497
497
  else
498
- D = n;
499
- return (S.shadowroot || S.shadowrootmode) && (D = Ne.call(l, D, !0)), D;
498
+ z = n;
499
+ return (M.shadowroot || M.shadowrootmode) && (z = He.call(l, z, !0)), z;
500
500
  }
501
- let Z = G ? n.outerHTML : n.innerHTML;
502
- return G && _["!doctype"] && n.ownerDocument && n.ownerDocument.doctype && n.ownerDocument.doctype.name && U(Jt, n.ownerDocument.doctype.name) && (Z = "<!DOCTYPE " + n.ownerDocument.doctype.name + `>
503
- ` + Z), E && Ve([ae, re, de], (J) => {
504
- Z = ke(Z, J, " ");
505
- }), k && Pe ? k.createHTML(Z) : Z;
501
+ let W = w ? n.outerHTML : n.innerHTML;
502
+ return w && L["!doctype"] && n.ownerDocument && n.ownerDocument.doctype && n.ownerDocument.doctype.name && Z(ta, n.ownerDocument.doctype.name) && (W = "<!DOCTYPE " + n.ownerDocument.doctype.name + `>
503
+ ` + W), s && Ge([De, C, ye], (ae) => {
504
+ W = Ce(W, ae, " ");
505
+ }), S && je ? S.createHTML(W) : W;
506
506
  }, t.setConfig = function() {
507
- let d = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
508
- tt(d), ie = !0;
507
+ let h = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
508
+ nt(h), D = !0;
509
509
  }, t.clearConfig = function() {
510
- fe = null, ie = !1;
511
- }, t.isValidAttribute = function(d, e, n) {
512
- fe || tt({});
513
- const s = M(d), R = M(e);
514
- return St(s, R, n);
515
- }, t.addHook = function(d, e) {
516
- typeof e == "function" && Te(L[d], e);
517
- }, t.removeHook = function(d, e) {
510
+ we = null, D = !1;
511
+ }, t.isValidAttribute = function(h, e, n) {
512
+ we || nt({});
513
+ const m = O(h), k = O(e);
514
+ return Nt(m, k, n);
515
+ }, t.addHook = function(h, e) {
516
+ typeof e == "function" && Me(N[h], e);
517
+ }, t.removeHook = function(h, e) {
518
518
  if (e !== void 0) {
519
- const n = ka(L[d], e);
520
- return n === -1 ? void 0 : Sa(L[d], n, 1)[0];
519
+ const n = Ra(N[h], e);
520
+ return n === -1 ? void 0 : Na(N[h], n, 1)[0];
521
521
  }
522
- return It(L[d]);
523
- }, t.removeHooks = function(d) {
524
- L[d] = [];
522
+ return Ut(N[h]);
523
+ }, t.removeHooks = function(h) {
524
+ N[h] = [];
525
525
  }, t.removeAllHooks = function() {
526
- L = Zt();
526
+ N = Wt();
527
527
  }, t;
528
528
  }
529
- var Vt = Qt();
530
- const Wa = /* @__PURE__ */ new Map([
529
+ var $t = aa();
530
+ const qa = /* @__PURE__ */ new Map([
531
531
  [
532
532
  "bold",
533
- /* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M228,128a12,12,0,0,1-12,12H69l51.52,51.51a12,12,0,0,1-17,17l-72-72a12,12,0,0,1,0-17l72-72a12,12,0,0,1,17,17L69,116H216A12,12,0,0,1,228,128Z" }))
533
+ /* @__PURE__ */ o.createElement(o.Fragment, null, /* @__PURE__ */ o.createElement("path", { d: "M228,128a12,12,0,0,1-12,12H69l51.52,51.51a12,12,0,0,1-17,17l-72-72a12,12,0,0,1,0-17l72-72a12,12,0,0,1,17,17L69,116H216A12,12,0,0,1,228,128Z" }))
534
534
  ],
535
535
  [
536
536
  "duotone",
537
- /* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M112,56V200L40,128Z", opacity: "0.2" }), /* @__PURE__ */ a.createElement("path", { d: "M216,120H120V56a8,8,0,0,0-13.66-5.66l-72,72a8,8,0,0,0,0,11.32l72,72A8,8,0,0,0,120,200V136h96a8,8,0,0,0,0-16ZM104,180.69,51.31,128,104,75.31Z" }))
537
+ /* @__PURE__ */ o.createElement(o.Fragment, null, /* @__PURE__ */ o.createElement("path", { d: "M112,56V200L40,128Z", opacity: "0.2" }), /* @__PURE__ */ o.createElement("path", { d: "M216,120H120V56a8,8,0,0,0-13.66-5.66l-72,72a8,8,0,0,0,0,11.32l72,72A8,8,0,0,0,120,200V136h96a8,8,0,0,0,0-16ZM104,180.69,51.31,128,104,75.31Z" }))
538
538
  ],
539
539
  [
540
540
  "fill",
541
- /* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M224,128a8,8,0,0,1-8,8H120v64a8,8,0,0,1-13.66,5.66l-72-72a8,8,0,0,1,0-11.32l72-72A8,8,0,0,1,120,56v64h96A8,8,0,0,1,224,128Z" }))
541
+ /* @__PURE__ */ o.createElement(o.Fragment, null, /* @__PURE__ */ o.createElement("path", { d: "M224,128a8,8,0,0,1-8,8H120v64a8,8,0,0,1-13.66,5.66l-72-72a8,8,0,0,1,0-11.32l72-72A8,8,0,0,1,120,56v64h96A8,8,0,0,1,224,128Z" }))
542
542
  ],
543
543
  [
544
544
  "light",
545
- /* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M222,128a6,6,0,0,1-6,6H54.49l61.75,61.76a6,6,0,1,1-8.48,8.48l-72-72a6,6,0,0,1,0-8.48l72-72a6,6,0,0,1,8.48,8.48L54.49,122H216A6,6,0,0,1,222,128Z" }))
545
+ /* @__PURE__ */ o.createElement(o.Fragment, null, /* @__PURE__ */ o.createElement("path", { d: "M222,128a6,6,0,0,1-6,6H54.49l61.75,61.76a6,6,0,1,1-8.48,8.48l-72-72a6,6,0,0,1,0-8.48l72-72a6,6,0,0,1,8.48,8.48L54.49,122H216A6,6,0,0,1,222,128Z" }))
546
546
  ],
547
547
  [
548
548
  "regular",
549
- /* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M224,128a8,8,0,0,1-8,8H59.31l58.35,58.34a8,8,0,0,1-11.32,11.32l-72-72a8,8,0,0,1,0-11.32l72-72a8,8,0,0,1,11.32,11.32L59.31,120H216A8,8,0,0,1,224,128Z" }))
549
+ /* @__PURE__ */ o.createElement(o.Fragment, null, /* @__PURE__ */ o.createElement("path", { d: "M224,128a8,8,0,0,1-8,8H59.31l58.35,58.34a8,8,0,0,1-11.32,11.32l-72-72a8,8,0,0,1,0-11.32l72-72a8,8,0,0,1,11.32,11.32L59.31,120H216A8,8,0,0,1,224,128Z" }))
550
550
  ],
551
551
  [
552
552
  "thin",
553
- /* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M220,128a4,4,0,0,1-4,4H49.66l65.17,65.17a4,4,0,0,1-5.66,5.66l-72-72a4,4,0,0,1,0-5.66l72-72a4,4,0,0,1,5.66,5.66L49.66,124H216A4,4,0,0,1,220,128Z" }))
553
+ /* @__PURE__ */ o.createElement(o.Fragment, null, /* @__PURE__ */ o.createElement("path", { d: "M220,128a4,4,0,0,1-4,4H49.66l65.17,65.17a4,4,0,0,1-5.66,5.66l-72-72a4,4,0,0,1,0-5.66l72-72a4,4,0,0,1,5.66,5.66L49.66,124H216A4,4,0,0,1,220,128Z" }))
554
554
  ]
555
- ]), $a = /* @__PURE__ */ new Map([
555
+ ]), Ka = /* @__PURE__ */ new Map([
556
556
  [
557
557
  "bold",
558
- /* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M228,48V96a12,12,0,0,1-12,12H168a12,12,0,0,1,0-24h19l-7.8-7.8a75.55,75.55,0,0,0-53.32-22.26h-.43A75.49,75.49,0,0,0,72.39,75.57,12,12,0,1,1,55.61,58.41a99.38,99.38,0,0,1,69.87-28.47H126A99.42,99.42,0,0,1,196.2,59.23L204,67V48a12,12,0,0,1,24,0ZM183.61,180.43a75.49,75.49,0,0,1-53.09,21.63h-.43A75.55,75.55,0,0,1,76.77,179.8L69,172H88a12,12,0,0,0,0-24H40a12,12,0,0,0-12,12v48a12,12,0,0,0,24,0V189l7.8,7.8A99.42,99.42,0,0,0,130,226.06h.56a99.38,99.38,0,0,0,69.87-28.47,12,12,0,0,0-16.78-17.16Z" }))
558
+ /* @__PURE__ */ o.createElement(o.Fragment, null, /* @__PURE__ */ o.createElement("path", { d: "M228,48V96a12,12,0,0,1-12,12H168a12,12,0,0,1,0-24h19l-7.8-7.8a75.55,75.55,0,0,0-53.32-22.26h-.43A75.49,75.49,0,0,0,72.39,75.57,12,12,0,1,1,55.61,58.41a99.38,99.38,0,0,1,69.87-28.47H126A99.42,99.42,0,0,1,196.2,59.23L204,67V48a12,12,0,0,1,24,0ZM183.61,180.43a75.49,75.49,0,0,1-53.09,21.63h-.43A75.55,75.55,0,0,1,76.77,179.8L69,172H88a12,12,0,0,0,0-24H40a12,12,0,0,0-12,12v48a12,12,0,0,0,24,0V189l7.8,7.8A99.42,99.42,0,0,0,130,226.06h.56a99.38,99.38,0,0,0,69.87-28.47,12,12,0,0,0-16.78-17.16Z" }))
559
559
  ],
560
560
  [
561
561
  "duotone",
562
- /* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M216,128a88,88,0,1,1-88-88A88,88,0,0,1,216,128Z", opacity: "0.2" }), /* @__PURE__ */ a.createElement("path", { d: "M224,48V96a8,8,0,0,1-8,8H168a8,8,0,0,1,0-16h28.69L182.06,73.37a79.56,79.56,0,0,0-56.13-23.43h-.45A79.52,79.52,0,0,0,69.59,72.71,8,8,0,0,1,58.41,61.27a96,96,0,0,1,135,.79L208,76.69V48a8,8,0,0,1,16,0ZM186.41,183.29a80,80,0,0,1-112.47-.66L59.31,168H88a8,8,0,0,0,0-16H40a8,8,0,0,0-8,8v48a8,8,0,0,0,16,0V179.31l14.63,14.63A95.43,95.43,0,0,0,130,222.06h.53a95.36,95.36,0,0,0,67.07-27.33,8,8,0,0,0-11.18-11.44Z" }))
562
+ /* @__PURE__ */ o.createElement(o.Fragment, null, /* @__PURE__ */ o.createElement("path", { d: "M216,128a88,88,0,1,1-88-88A88,88,0,0,1,216,128Z", opacity: "0.2" }), /* @__PURE__ */ o.createElement("path", { d: "M224,48V96a8,8,0,0,1-8,8H168a8,8,0,0,1,0-16h28.69L182.06,73.37a79.56,79.56,0,0,0-56.13-23.43h-.45A79.52,79.52,0,0,0,69.59,72.71,8,8,0,0,1,58.41,61.27a96,96,0,0,1,135,.79L208,76.69V48a8,8,0,0,1,16,0ZM186.41,183.29a80,80,0,0,1-112.47-.66L59.31,168H88a8,8,0,0,0,0-16H40a8,8,0,0,0-8,8v48a8,8,0,0,0,16,0V179.31l14.63,14.63A95.43,95.43,0,0,0,130,222.06h.53a95.36,95.36,0,0,0,67.07-27.33,8,8,0,0,0-11.18-11.44Z" }))
563
563
  ],
564
564
  [
565
565
  "fill",
566
- /* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M224,48V96a8,8,0,0,1-8,8H168a8,8,0,0,1-5.66-13.66L180.65,72a79.48,79.48,0,0,0-54.72-22.09h-.45A79.52,79.52,0,0,0,69.59,72.71,8,8,0,0,1,58.41,61.27,96,96,0,0,1,192,60.7l18.36-18.36A8,8,0,0,1,224,48ZM186.41,183.29A80,80,0,0,1,75.35,184l18.31-18.31A8,8,0,0,0,88,152H40a8,8,0,0,0-8,8v48a8,8,0,0,0,13.66,5.66L64,195.3a95.42,95.42,0,0,0,66,26.76h.53a95.36,95.36,0,0,0,67.07-27.33,8,8,0,0,0-11.18-11.44Z" }))
566
+ /* @__PURE__ */ o.createElement(o.Fragment, null, /* @__PURE__ */ o.createElement("path", { d: "M224,48V96a8,8,0,0,1-8,8H168a8,8,0,0,1-5.66-13.66L180.65,72a79.48,79.48,0,0,0-54.72-22.09h-.45A79.52,79.52,0,0,0,69.59,72.71,8,8,0,0,1,58.41,61.27,96,96,0,0,1,192,60.7l18.36-18.36A8,8,0,0,1,224,48ZM186.41,183.29A80,80,0,0,1,75.35,184l18.31-18.31A8,8,0,0,0,88,152H40a8,8,0,0,0-8,8v48a8,8,0,0,0,13.66,5.66L64,195.3a95.42,95.42,0,0,0,66,26.76h.53a95.36,95.36,0,0,0,67.07-27.33,8,8,0,0,0-11.18-11.44Z" }))
567
567
  ],
568
568
  [
569
569
  "light",
570
- /* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M222,48V96a6,6,0,0,1-6,6H168a6,6,0,0,1,0-12h33.52L183.47,72a81.51,81.51,0,0,0-57.53-24h-.46A81.5,81.5,0,0,0,68.19,71.28a6,6,0,1,1-8.38-8.58,93.38,93.38,0,0,1,65.67-26.76H126a93.45,93.45,0,0,1,66,27.53l18,18V48a6,6,0,0,1,12,0ZM187.81,184.72a81.5,81.5,0,0,1-57.29,23.34h-.46a81.51,81.51,0,0,1-57.53-24L54.48,166H88a6,6,0,0,0,0-12H40a6,6,0,0,0-6,6v48a6,6,0,0,0,12,0V174.48l18,18.05a93.45,93.45,0,0,0,66,27.53h.52a93.38,93.38,0,0,0,65.67-26.76,6,6,0,1,0-8.38-8.58Z" }))
570
+ /* @__PURE__ */ o.createElement(o.Fragment, null, /* @__PURE__ */ o.createElement("path", { d: "M222,48V96a6,6,0,0,1-6,6H168a6,6,0,0,1,0-12h33.52L183.47,72a81.51,81.51,0,0,0-57.53-24h-.46A81.5,81.5,0,0,0,68.19,71.28a6,6,0,1,1-8.38-8.58,93.38,93.38,0,0,1,65.67-26.76H126a93.45,93.45,0,0,1,66,27.53l18,18V48a6,6,0,0,1,12,0ZM187.81,184.72a81.5,81.5,0,0,1-57.29,23.34h-.46a81.51,81.51,0,0,1-57.53-24L54.48,166H88a6,6,0,0,0,0-12H40a6,6,0,0,0-6,6v48a6,6,0,0,0,12,0V174.48l18,18.05a93.45,93.45,0,0,0,66,27.53h.52a93.38,93.38,0,0,0,65.67-26.76,6,6,0,1,0-8.38-8.58Z" }))
571
571
  ],
572
572
  [
573
573
  "regular",
574
- /* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M224,48V96a8,8,0,0,1-8,8H168a8,8,0,0,1,0-16h28.69L182.06,73.37a79.56,79.56,0,0,0-56.13-23.43h-.45A79.52,79.52,0,0,0,69.59,72.71,8,8,0,0,1,58.41,61.27a96,96,0,0,1,135,.79L208,76.69V48a8,8,0,0,1,16,0ZM186.41,183.29a80,80,0,0,1-112.47-.66L59.31,168H88a8,8,0,0,0,0-16H40a8,8,0,0,0-8,8v48a8,8,0,0,0,16,0V179.31l14.63,14.63A95.43,95.43,0,0,0,130,222.06h.53a95.36,95.36,0,0,0,67.07-27.33,8,8,0,0,0-11.18-11.44Z" }))
574
+ /* @__PURE__ */ o.createElement(o.Fragment, null, /* @__PURE__ */ o.createElement("path", { d: "M224,48V96a8,8,0,0,1-8,8H168a8,8,0,0,1,0-16h28.69L182.06,73.37a79.56,79.56,0,0,0-56.13-23.43h-.45A79.52,79.52,0,0,0,69.59,72.71,8,8,0,0,1,58.41,61.27a96,96,0,0,1,135,.79L208,76.69V48a8,8,0,0,1,16,0ZM186.41,183.29a80,80,0,0,1-112.47-.66L59.31,168H88a8,8,0,0,0,0-16H40a8,8,0,0,0-8,8v48a8,8,0,0,0,16,0V179.31l14.63,14.63A95.43,95.43,0,0,0,130,222.06h.53a95.36,95.36,0,0,0,67.07-27.33,8,8,0,0,0-11.18-11.44Z" }))
575
575
  ],
576
576
  [
577
577
  "thin",
578
- /* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M220,48V96a4,4,0,0,1-4,4H168a4,4,0,0,1,0-8h38.34L184.89,70.54A84,84,0,0,0,66.8,69.85a4,4,0,1,1-5.6-5.72,92,92,0,0,1,129.34.76L212,86.34V48a4,4,0,0,1,8,0ZM189.2,186.15a83.44,83.44,0,0,1-58.68,23.91h-.47a83.52,83.52,0,0,1-58.94-24.6L49.66,164H88a4,4,0,0,0,0-8H40a4,4,0,0,0-4,4v48a4,4,0,0,0,8,0V169.66l21.46,21.45A91.43,91.43,0,0,0,130,218.06h.51a91.45,91.45,0,0,0,64.28-26.19,4,4,0,1,0-5.6-5.72Z" }))
578
+ /* @__PURE__ */ o.createElement(o.Fragment, null, /* @__PURE__ */ o.createElement("path", { d: "M220,48V96a4,4,0,0,1-4,4H168a4,4,0,0,1,0-8h38.34L184.89,70.54A84,84,0,0,0,66.8,69.85a4,4,0,1,1-5.6-5.72,92,92,0,0,1,129.34.76L212,86.34V48a4,4,0,0,1,8,0ZM189.2,186.15a83.44,83.44,0,0,1-58.68,23.91h-.47a83.52,83.52,0,0,1-58.94-24.6L49.66,164H88a4,4,0,0,0,0-8H40a4,4,0,0,0-4,4v48a4,4,0,0,0,8,0V169.66l21.46,21.45A91.43,91.43,0,0,0,130,218.06h.51a91.45,91.45,0,0,0,64.28-26.19,4,4,0,1,0-5.6-5.72Z" }))
579
579
  ]
580
- ]), Ga = /* @__PURE__ */ new Map([
580
+ ]), Xa = /* @__PURE__ */ new Map([
581
581
  [
582
582
  "bold",
583
- /* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M240,100h-8.2L205.08,39.88A20,20,0,0,0,186.8,28H69.2A20,20,0,0,0,50.92,39.88L24.2,100H16a12,12,0,0,0,0,24h4v76a20,20,0,0,0,20,20H68a20,20,0,0,0,20-20V180h80v20a20,20,0,0,0,20,20h28a20,20,0,0,0,20-20V124h4a12,12,0,0,0,0-24ZM71.8,52H184.2l21.33,48H50.47ZM64,196H44V180H64Zm128,0V180h20v16Zm20-40H44V124H212Z" }))
583
+ /* @__PURE__ */ o.createElement(o.Fragment, null, /* @__PURE__ */ o.createElement("path", { d: "M240,100h-8.2L205.08,39.88A20,20,0,0,0,186.8,28H69.2A20,20,0,0,0,50.92,39.88L24.2,100H16a12,12,0,0,0,0,24h4v76a20,20,0,0,0,20,20H68a20,20,0,0,0,20-20V180h80v20a20,20,0,0,0,20,20h28a20,20,0,0,0,20-20V124h4a12,12,0,0,0,0-24ZM71.8,52H184.2l21.33,48H50.47ZM64,196H44V180H64Zm128,0V180h20v16Zm20-40H44V124H212Z" }))
584
584
  ],
585
585
  [
586
586
  "duotone",
587
- /* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement(
587
+ /* @__PURE__ */ o.createElement(o.Fragment, null, /* @__PURE__ */ o.createElement(
588
588
  "path",
589
589
  {
590
590
  d: "M184,176h40v24a8,8,0,0,1-8,8H192a8,8,0,0,1-8-8ZM32,200a8,8,0,0,0,8,8H64a8,8,0,0,0,8-8V176H32ZM194.11,44.75A8,8,0,0,0,186.8,40H69.2a8,8,0,0,0-7.31,4.75L32,112H224Z",
591
591
  opacity: "0.2"
592
592
  }
593
- ), /* @__PURE__ */ a.createElement("path", { d: "M240,104H229.2L201.42,41.5A16,16,0,0,0,186.8,32H69.2a16,16,0,0,0-14.62,9.5L26.8,104H16a8,8,0,0,0,0,16h8v80a16,16,0,0,0,16,16H64a16,16,0,0,0,16-16V184h96v16a16,16,0,0,0,16,16h24a16,16,0,0,0,16-16V120h8a8,8,0,0,0,0-16ZM69.2,48H186.8l24.89,56H44.31ZM64,200H40V184H64Zm128,0V184h24v16Zm24-32H40V120H216ZM56,144a8,8,0,0,1,8-8H80a8,8,0,0,1,0,16H64A8,8,0,0,1,56,144Zm112,0a8,8,0,0,1,8-8h16a8,8,0,0,1,0,16H176A8,8,0,0,1,168,144Z" }))
593
+ ), /* @__PURE__ */ o.createElement("path", { d: "M240,104H229.2L201.42,41.5A16,16,0,0,0,186.8,32H69.2a16,16,0,0,0-14.62,9.5L26.8,104H16a8,8,0,0,0,0,16h8v80a16,16,0,0,0,16,16H64a16,16,0,0,0,16-16V184h96v16a16,16,0,0,0,16,16h24a16,16,0,0,0,16-16V120h8a8,8,0,0,0,0-16ZM69.2,48H186.8l24.89,56H44.31ZM64,200H40V184H64Zm128,0V184h24v16Zm24-32H40V120H216ZM56,144a8,8,0,0,1,8-8H80a8,8,0,0,1,0,16H64A8,8,0,0,1,56,144Zm112,0a8,8,0,0,1,8-8h16a8,8,0,0,1,0,16H176A8,8,0,0,1,168,144Z" }))
594
594
  ],
595
595
  [
596
596
  "fill",
597
- /* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M240,104H229.2L201.42,41.5A16,16,0,0,0,186.8,32H69.2a16,16,0,0,0-14.62,9.5L26.8,104H16a8,8,0,0,0,0,16h8v80a16,16,0,0,0,16,16H64a16,16,0,0,0,16-16v-8h96v8a16,16,0,0,0,16,16h24a16,16,0,0,0,16-16V120h8a8,8,0,0,0,0-16ZM80,152H56a8,8,0,0,1,0-16H80a8,8,0,0,1,0,16Zm120,0H176a8,8,0,0,1,0-16h24a8,8,0,0,1,0,16ZM44.31,104,69.2,48H186.8l24.89,56Z" }))
597
+ /* @__PURE__ */ o.createElement(o.Fragment, null, /* @__PURE__ */ o.createElement("path", { d: "M240,104H229.2L201.42,41.5A16,16,0,0,0,186.8,32H69.2a16,16,0,0,0-14.62,9.5L26.8,104H16a8,8,0,0,0,0,16h8v80a16,16,0,0,0,16,16H64a16,16,0,0,0,16-16v-8h96v8a16,16,0,0,0,16,16h24a16,16,0,0,0,16-16V120h8a8,8,0,0,0,0-16ZM80,152H56a8,8,0,0,1,0-16H80a8,8,0,0,1,0,16Zm120,0H176a8,8,0,0,1,0-16h24a8,8,0,0,1,0,16ZM44.31,104,69.2,48H186.8l24.89,56Z" }))
598
598
  ],
599
599
  [
600
600
  "light",
601
- /* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M240,106H227.9L199.59,42.31A14,14,0,0,0,186.8,34H69.2a14,14,0,0,0-12.79,8.31L28.1,106H16a6,6,0,0,0,0,12H26v82a14,14,0,0,0,14,14H64a14,14,0,0,0,14-14V182H178v18a14,14,0,0,0,14,14h24a14,14,0,0,0,14-14V118h10a6,6,0,0,0,0-12ZM67.37,47.19A2,2,0,0,1,69.2,46H186.8a2,2,0,0,1,1.83,1.19L214.77,106H41.23ZM66,200a2,2,0,0,1-2,2H40a2,2,0,0,1-2-2V182H66Zm150,2H192a2,2,0,0,1-2-2V182h28v18A2,2,0,0,1,216,202Zm2-32H38V118H218ZM58,144a6,6,0,0,1,6-6H80a6,6,0,0,1,0,12H64A6,6,0,0,1,58,144Zm112,0a6,6,0,0,1,6-6h16a6,6,0,0,1,0,12H176A6,6,0,0,1,170,144Z" }))
601
+ /* @__PURE__ */ o.createElement(o.Fragment, null, /* @__PURE__ */ o.createElement("path", { d: "M240,106H227.9L199.59,42.31A14,14,0,0,0,186.8,34H69.2a14,14,0,0,0-12.79,8.31L28.1,106H16a6,6,0,0,0,0,12H26v82a14,14,0,0,0,14,14H64a14,14,0,0,0,14-14V182H178v18a14,14,0,0,0,14,14h24a14,14,0,0,0,14-14V118h10a6,6,0,0,0,0-12ZM67.37,47.19A2,2,0,0,1,69.2,46H186.8a2,2,0,0,1,1.83,1.19L214.77,106H41.23ZM66,200a2,2,0,0,1-2,2H40a2,2,0,0,1-2-2V182H66Zm150,2H192a2,2,0,0,1-2-2V182h28v18A2,2,0,0,1,216,202Zm2-32H38V118H218ZM58,144a6,6,0,0,1,6-6H80a6,6,0,0,1,0,12H64A6,6,0,0,1,58,144Zm112,0a6,6,0,0,1,6-6h16a6,6,0,0,1,0,12H176A6,6,0,0,1,170,144Z" }))
602
602
  ],
603
603
  [
604
604
  "regular",
605
- /* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M240,104H229.2L201.42,41.5A16,16,0,0,0,186.8,32H69.2a16,16,0,0,0-14.62,9.5L26.8,104H16a8,8,0,0,0,0,16h8v80a16,16,0,0,0,16,16H64a16,16,0,0,0,16-16V184h96v16a16,16,0,0,0,16,16h24a16,16,0,0,0,16-16V120h8a8,8,0,0,0,0-16ZM69.2,48H186.8l24.89,56H44.31ZM64,200H40V184H64Zm128,0V184h24v16Zm24-32H40V120H216ZM56,144a8,8,0,0,1,8-8H80a8,8,0,0,1,0,16H64A8,8,0,0,1,56,144Zm112,0a8,8,0,0,1,8-8h16a8,8,0,0,1,0,16H176A8,8,0,0,1,168,144Z" }))
605
+ /* @__PURE__ */ o.createElement(o.Fragment, null, /* @__PURE__ */ o.createElement("path", { d: "M240,104H229.2L201.42,41.5A16,16,0,0,0,186.8,32H69.2a16,16,0,0,0-14.62,9.5L26.8,104H16a8,8,0,0,0,0,16h8v80a16,16,0,0,0,16,16H64a16,16,0,0,0,16-16V184h96v16a16,16,0,0,0,16,16h24a16,16,0,0,0,16-16V120h8a8,8,0,0,0,0-16ZM69.2,48H186.8l24.89,56H44.31ZM64,200H40V184H64Zm128,0V184h24v16Zm24-32H40V120H216ZM56,144a8,8,0,0,1,8-8H80a8,8,0,0,1,0,16H64A8,8,0,0,1,56,144Zm112,0a8,8,0,0,1,8-8h16a8,8,0,0,1,0,16H176A8,8,0,0,1,168,144Z" }))
606
606
  ],
607
607
  [
608
608
  "thin",
609
- /* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M240,108H226.6L197.77,43.13a12,12,0,0,0-11-7.13H69.2a12,12,0,0,0-11,7.13L29.4,108H16a4,4,0,0,0,0,8H28v84a12,12,0,0,0,12,12H64a12,12,0,0,0,12-12V180H180v20a12,12,0,0,0,12,12h24a12,12,0,0,0,12-12V116h12a4,4,0,0,0,0-8ZM65.54,46.38A4,4,0,0,1,69.2,44H186.8a4,4,0,0,1,3.66,2.38L217.84,108H38.16ZM68,200a4,4,0,0,1-4,4H40a4,4,0,0,1-4-4V180H68Zm148,4H192a4,4,0,0,1-4-4V180h32v20A4,4,0,0,1,216,204Zm4-32H36V116H220ZM60,144a4,4,0,0,1,4-4H80a4,4,0,0,1,0,8H64A4,4,0,0,1,60,144Zm112,0a4,4,0,0,1,4-4h16a4,4,0,0,1,0,8H176A4,4,0,0,1,172,144Z" }))
609
+ /* @__PURE__ */ o.createElement(o.Fragment, null, /* @__PURE__ */ o.createElement("path", { d: "M240,108H226.6L197.77,43.13a12,12,0,0,0-11-7.13H69.2a12,12,0,0,0-11,7.13L29.4,108H16a4,4,0,0,0,0,8H28v84a12,12,0,0,0,12,12H64a12,12,0,0,0,12-12V180H180v20a12,12,0,0,0,12,12h24a12,12,0,0,0,12-12V116h12a4,4,0,0,0,0-8ZM65.54,46.38A4,4,0,0,1,69.2,44H186.8a4,4,0,0,1,3.66,2.38L217.84,108H38.16ZM68,200a4,4,0,0,1-4,4H40a4,4,0,0,1-4-4V180H68Zm148,4H192a4,4,0,0,1-4-4V180h32v20A4,4,0,0,1,216,204Zm4-32H36V116H220ZM60,144a4,4,0,0,1,4-4H80a4,4,0,0,1,0,8H64A4,4,0,0,1,60,144Zm112,0a4,4,0,0,1,4-4h16a4,4,0,0,1,0,8H176A4,4,0,0,1,172,144Z" }))
610
610
  ]
611
- ]), Ya = /* @__PURE__ */ new Map([
611
+ ]), Ja = /* @__PURE__ */ new Map([
612
612
  [
613
613
  "bold",
614
- /* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M236,128a108,108,0,0,1-216,0c0-42.52,24.73-81.34,63-98.9A12,12,0,1,1,93,50.91C63.24,64.57,44,94.83,44,128a84,84,0,0,0,168,0c0-33.17-19.24-63.43-49-77.09A12,12,0,1,1,173,29.1C211.27,46.66,236,85.48,236,128Z" }))
614
+ /* @__PURE__ */ o.createElement(o.Fragment, null, /* @__PURE__ */ o.createElement("path", { d: "M236,128a108,108,0,0,1-216,0c0-42.52,24.73-81.34,63-98.9A12,12,0,1,1,93,50.91C63.24,64.57,44,94.83,44,128a84,84,0,0,0,168,0c0-33.17-19.24-63.43-49-77.09A12,12,0,1,1,173,29.1C211.27,46.66,236,85.48,236,128Z" }))
615
615
  ],
616
616
  [
617
617
  "duotone",
618
- /* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z", opacity: "0.2" }), /* @__PURE__ */ a.createElement("path", { d: "M232,128a104,104,0,0,1-208,0c0-41,23.81-78.36,60.66-95.27a8,8,0,0,1,6.68,14.54C60.15,61.59,40,93.27,40,128a88,88,0,0,0,176,0c0-34.73-20.15-66.41-51.34-80.73a8,8,0,0,1,6.68-14.54C208.19,49.64,232,87,232,128Z" }))
618
+ /* @__PURE__ */ o.createElement(o.Fragment, null, /* @__PURE__ */ o.createElement("path", { d: "M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z", opacity: "0.2" }), /* @__PURE__ */ o.createElement("path", { d: "M232,128a104,104,0,0,1-208,0c0-41,23.81-78.36,60.66-95.27a8,8,0,0,1,6.68,14.54C60.15,61.59,40,93.27,40,128a88,88,0,0,0,176,0c0-34.73-20.15-66.41-51.34-80.73a8,8,0,0,1,6.68-14.54C208.19,49.64,232,87,232,128Z" }))
619
619
  ],
620
620
  [
621
621
  "fill",
622
- /* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,176A72,72,0,0,1,92,65.64a8,8,0,0,1,8,13.85,56,56,0,1,0,56,0,8,8,0,0,1,8-13.85A72,72,0,0,1,128,200Z" }))
622
+ /* @__PURE__ */ o.createElement(o.Fragment, null, /* @__PURE__ */ o.createElement("path", { d: "M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,176A72,72,0,0,1,92,65.64a8,8,0,0,1,8,13.85,56,56,0,1,0,56,0,8,8,0,0,1,8-13.85A72,72,0,0,1,128,200Z" }))
623
623
  ],
624
624
  [
625
625
  "light",
626
- /* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M230,128a102,102,0,0,1-204,0c0-40.18,23.35-76.86,59.5-93.45a6,6,0,0,1,5,10.9C58.61,60.09,38,92.49,38,128a90,90,0,0,0,180,0c0-35.51-20.61-67.91-52.5-82.55a6,6,0,0,1,5-10.9C206.65,51.14,230,87.82,230,128Z" }))
626
+ /* @__PURE__ */ o.createElement(o.Fragment, null, /* @__PURE__ */ o.createElement("path", { d: "M230,128a102,102,0,0,1-204,0c0-40.18,23.35-76.86,59.5-93.45a6,6,0,0,1,5,10.9C58.61,60.09,38,92.49,38,128a90,90,0,0,0,180,0c0-35.51-20.61-67.91-52.5-82.55a6,6,0,0,1,5-10.9C206.65,51.14,230,87.82,230,128Z" }))
627
627
  ],
628
628
  [
629
629
  "regular",
630
- /* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M232,128a104,104,0,0,1-208,0c0-41,23.81-78.36,60.66-95.27a8,8,0,0,1,6.68,14.54C60.15,61.59,40,93.27,40,128a88,88,0,0,0,176,0c0-34.73-20.15-66.41-51.34-80.73a8,8,0,0,1,6.68-14.54C208.19,49.64,232,87,232,128Z" }))
630
+ /* @__PURE__ */ o.createElement(o.Fragment, null, /* @__PURE__ */ o.createElement("path", { d: "M232,128a104,104,0,0,1-208,0c0-41,23.81-78.36,60.66-95.27a8,8,0,0,1,6.68,14.54C60.15,61.59,40,93.27,40,128a88,88,0,0,0,176,0c0-34.73-20.15-66.41-51.34-80.73a8,8,0,0,1,6.68-14.54C208.19,49.64,232,87,232,128Z" }))
631
631
  ],
632
632
  [
633
633
  "thin",
634
- /* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M228,128a100,100,0,0,1-200,0c0-39.4,22.9-75.37,58.33-91.63a4,4,0,1,1,3.34,7.27C57.07,58.6,36,91.71,36,128a92,92,0,0,0,184,0c0-36.29-21.07-69.4-53.67-84.36a4,4,0,1,1,3.34-7.27C205.1,52.63,228,88.6,228,128Z" }))
634
+ /* @__PURE__ */ o.createElement(o.Fragment, null, /* @__PURE__ */ o.createElement("path", { d: "M228,128a100,100,0,0,1-200,0c0-39.4,22.9-75.37,58.33-91.63a4,4,0,1,1,3.34,7.27C57.07,58.6,36,91.71,36,128a92,92,0,0,0,184,0c0-36.29-21.07-69.4-53.67-84.36a4,4,0,1,1,3.34-7.27C205.1,52.63,228,88.6,228,128Z" }))
635
635
  ]
636
- ]), qa = /* @__PURE__ */ new Map([
636
+ ]), Qa = /* @__PURE__ */ new Map([
637
637
  [
638
638
  "bold",
639
- /* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M208.49,191.51a12,12,0,0,1-17,17L128,145,64.49,208.49a12,12,0,0,1-17-17L111,128,47.51,64.49a12,12,0,0,1,17-17L128,111l63.51-63.52a12,12,0,0,1,17,17L145,128Z" }))
639
+ /* @__PURE__ */ o.createElement(o.Fragment, null, /* @__PURE__ */ o.createElement("path", { d: "M208.49,191.51a12,12,0,0,1-17,17L128,145,64.49,208.49a12,12,0,0,1-17-17L111,128,47.51,64.49a12,12,0,0,1,17-17L128,111l63.51-63.52a12,12,0,0,1,17,17L145,128Z" }))
640
640
  ],
641
641
  [
642
642
  "duotone",
643
- /* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement(
643
+ /* @__PURE__ */ o.createElement(o.Fragment, null, /* @__PURE__ */ o.createElement(
644
644
  "path",
645
645
  {
646
646
  d: "M216,56V200a16,16,0,0,1-16,16H56a16,16,0,0,1-16-16V56A16,16,0,0,1,56,40H200A16,16,0,0,1,216,56Z",
647
647
  opacity: "0.2"
648
648
  }
649
- ), /* @__PURE__ */ a.createElement("path", { d: "M205.66,194.34a8,8,0,0,1-11.32,11.32L128,139.31,61.66,205.66a8,8,0,0,1-11.32-11.32L116.69,128,50.34,61.66A8,8,0,0,1,61.66,50.34L128,116.69l66.34-66.35a8,8,0,0,1,11.32,11.32L139.31,128Z" }))
649
+ ), /* @__PURE__ */ o.createElement("path", { d: "M205.66,194.34a8,8,0,0,1-11.32,11.32L128,139.31,61.66,205.66a8,8,0,0,1-11.32-11.32L116.69,128,50.34,61.66A8,8,0,0,1,61.66,50.34L128,116.69l66.34-66.35a8,8,0,0,1,11.32,11.32L139.31,128Z" }))
650
650
  ],
651
651
  [
652
652
  "fill",
653
- /* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M208,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM181.66,170.34a8,8,0,0,1-11.32,11.32L128,139.31,85.66,181.66a8,8,0,0,1-11.32-11.32L116.69,128,74.34,85.66A8,8,0,0,1,85.66,74.34L128,116.69l42.34-42.35a8,8,0,0,1,11.32,11.32L139.31,128Z" }))
653
+ /* @__PURE__ */ o.createElement(o.Fragment, null, /* @__PURE__ */ o.createElement("path", { d: "M208,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM181.66,170.34a8,8,0,0,1-11.32,11.32L128,139.31,85.66,181.66a8,8,0,0,1-11.32-11.32L116.69,128,74.34,85.66A8,8,0,0,1,85.66,74.34L128,116.69l42.34-42.35a8,8,0,0,1,11.32,11.32L139.31,128Z" }))
654
654
  ],
655
655
  [
656
656
  "light",
657
- /* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M204.24,195.76a6,6,0,1,1-8.48,8.48L128,136.49,60.24,204.24a6,6,0,0,1-8.48-8.48L119.51,128,51.76,60.24a6,6,0,0,1,8.48-8.48L128,119.51l67.76-67.75a6,6,0,0,1,8.48,8.48L136.49,128Z" }))
657
+ /* @__PURE__ */ o.createElement(o.Fragment, null, /* @__PURE__ */ o.createElement("path", { d: "M204.24,195.76a6,6,0,1,1-8.48,8.48L128,136.49,60.24,204.24a6,6,0,0,1-8.48-8.48L119.51,128,51.76,60.24a6,6,0,0,1,8.48-8.48L128,119.51l67.76-67.75a6,6,0,0,1,8.48,8.48L136.49,128Z" }))
658
658
  ],
659
659
  [
660
660
  "regular",
661
- /* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M205.66,194.34a8,8,0,0,1-11.32,11.32L128,139.31,61.66,205.66a8,8,0,0,1-11.32-11.32L116.69,128,50.34,61.66A8,8,0,0,1,61.66,50.34L128,116.69l66.34-66.35a8,8,0,0,1,11.32,11.32L139.31,128Z" }))
661
+ /* @__PURE__ */ o.createElement(o.Fragment, null, /* @__PURE__ */ o.createElement("path", { d: "M205.66,194.34a8,8,0,0,1-11.32,11.32L128,139.31,61.66,205.66a8,8,0,0,1-11.32-11.32L116.69,128,50.34,61.66A8,8,0,0,1,61.66,50.34L128,116.69l66.34-66.35a8,8,0,0,1,11.32,11.32L139.31,128Z" }))
662
662
  ],
663
663
  [
664
664
  "thin",
665
- /* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M202.83,197.17a4,4,0,0,1-5.66,5.66L128,133.66,58.83,202.83a4,4,0,0,1-5.66-5.66L122.34,128,53.17,58.83a4,4,0,0,1,5.66-5.66L128,122.34l69.17-69.17a4,4,0,1,1,5.66,5.66L133.66,128Z" }))
665
+ /* @__PURE__ */ o.createElement(o.Fragment, null, /* @__PURE__ */ o.createElement("path", { d: "M202.83,197.17a4,4,0,0,1-5.66,5.66L128,133.66,58.83,202.83a4,4,0,0,1-5.66-5.66L122.34,128,53.17,58.83a4,4,0,0,1,5.66-5.66L128,122.34l69.17-69.17a4,4,0,1,1,5.66,5.66L133.66,128Z" }))
666
666
  ]
667
- ]), Xa = /* @__PURE__ */ new Map([
667
+ ]), eo = /* @__PURE__ */ new Map([
668
668
  [
669
669
  "bold",
670
- /* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M168.49,104.49,145,128l23.52,23.51a12,12,0,0,1-17,17L128,145l-23.51,23.52a12,12,0,0,1-17-17L111,128,87.51,104.49a12,12,0,0,1,17-17L128,111l23.51-23.52a12,12,0,0,1,17,17ZM236,128A108,108,0,1,1,128,20,108.12,108.12,0,0,1,236,128Zm-24,0a84,84,0,1,0-84,84A84.09,84.09,0,0,0,212,128Z" }))
670
+ /* @__PURE__ */ o.createElement(o.Fragment, null, /* @__PURE__ */ o.createElement("path", { d: "M168.49,104.49,145,128l23.52,23.51a12,12,0,0,1-17,17L128,145l-23.51,23.52a12,12,0,0,1-17-17L111,128,87.51,104.49a12,12,0,0,1,17-17L128,111l23.51-23.52a12,12,0,0,1,17,17ZM236,128A108,108,0,1,1,128,20,108.12,108.12,0,0,1,236,128Zm-24,0a84,84,0,1,0-84,84A84.09,84.09,0,0,0,212,128Z" }))
671
671
  ],
672
672
  [
673
673
  "duotone",
674
- /* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z", opacity: "0.2" }), /* @__PURE__ */ a.createElement("path", { d: "M165.66,101.66,139.31,128l26.35,26.34a8,8,0,0,1-11.32,11.32L128,139.31l-26.34,26.35a8,8,0,0,1-11.32-11.32L116.69,128,90.34,101.66a8,8,0,0,1,11.32-11.32L128,116.69l26.34-26.35a8,8,0,0,1,11.32,11.32ZM232,128A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128Z" }))
674
+ /* @__PURE__ */ o.createElement(o.Fragment, null, /* @__PURE__ */ o.createElement("path", { d: "M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z", opacity: "0.2" }), /* @__PURE__ */ o.createElement("path", { d: "M165.66,101.66,139.31,128l26.35,26.34a8,8,0,0,1-11.32,11.32L128,139.31l-26.34,26.35a8,8,0,0,1-11.32-11.32L116.69,128,90.34,101.66a8,8,0,0,1,11.32-11.32L128,116.69l26.34-26.35a8,8,0,0,1,11.32,11.32ZM232,128A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128Z" }))
675
675
  ],
676
676
  [
677
677
  "fill",
678
- /* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm37.66,130.34a8,8,0,0,1-11.32,11.32L128,139.31l-26.34,26.35a8,8,0,0,1-11.32-11.32L116.69,128,90.34,101.66a8,8,0,0,1,11.32-11.32L128,116.69l26.34-26.35a8,8,0,0,1,11.32,11.32L139.31,128Z" }))
678
+ /* @__PURE__ */ o.createElement(o.Fragment, null, /* @__PURE__ */ o.createElement("path", { d: "M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm37.66,130.34a8,8,0,0,1-11.32,11.32L128,139.31l-26.34,26.35a8,8,0,0,1-11.32-11.32L116.69,128,90.34,101.66a8,8,0,0,1,11.32-11.32L128,116.69l26.34-26.35a8,8,0,0,1,11.32,11.32L139.31,128Z" }))
679
679
  ],
680
680
  [
681
681
  "light",
682
- /* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M164.24,100.24,136.48,128l27.76,27.76a6,6,0,1,1-8.48,8.48L128,136.48l-27.76,27.76a6,6,0,0,1-8.48-8.48L119.52,128,91.76,100.24a6,6,0,0,1,8.48-8.48L128,119.52l27.76-27.76a6,6,0,0,1,8.48,8.48ZM230,128A102,102,0,1,1,128,26,102.12,102.12,0,0,1,230,128Zm-12,0a90,90,0,1,0-90,90A90.1,90.1,0,0,0,218,128Z" }))
682
+ /* @__PURE__ */ o.createElement(o.Fragment, null, /* @__PURE__ */ o.createElement("path", { d: "M164.24,100.24,136.48,128l27.76,27.76a6,6,0,1,1-8.48,8.48L128,136.48l-27.76,27.76a6,6,0,0,1-8.48-8.48L119.52,128,91.76,100.24a6,6,0,0,1,8.48-8.48L128,119.52l27.76-27.76a6,6,0,0,1,8.48,8.48ZM230,128A102,102,0,1,1,128,26,102.12,102.12,0,0,1,230,128Zm-12,0a90,90,0,1,0-90,90A90.1,90.1,0,0,0,218,128Z" }))
683
683
  ],
684
684
  [
685
685
  "regular",
686
- /* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M165.66,101.66,139.31,128l26.35,26.34a8,8,0,0,1-11.32,11.32L128,139.31l-26.34,26.35a8,8,0,0,1-11.32-11.32L116.69,128,90.34,101.66a8,8,0,0,1,11.32-11.32L128,116.69l26.34-26.35a8,8,0,0,1,11.32,11.32ZM232,128A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128Z" }))
686
+ /* @__PURE__ */ o.createElement(o.Fragment, null, /* @__PURE__ */ o.createElement("path", { d: "M165.66,101.66,139.31,128l26.35,26.34a8,8,0,0,1-11.32,11.32L128,139.31l-26.34,26.35a8,8,0,0,1-11.32-11.32L116.69,128,90.34,101.66a8,8,0,0,1,11.32-11.32L128,116.69l26.34-26.35a8,8,0,0,1,11.32,11.32ZM232,128A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128Z" }))
687
687
  ],
688
688
  [
689
689
  "thin",
690
- /* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M162.83,98.83,133.66,128l29.17,29.17a4,4,0,0,1-5.66,5.66L128,133.66,98.83,162.83a4,4,0,0,1-5.66-5.66L122.34,128,93.17,98.83a4,4,0,0,1,5.66-5.66L128,122.34l29.17-29.17a4,4,0,1,1,5.66,5.66ZM228,128A100,100,0,1,1,128,28,100.11,100.11,0,0,1,228,128Zm-8,0a92,92,0,1,0-92,92A92.1,92.1,0,0,0,220,128Z" }))
690
+ /* @__PURE__ */ o.createElement(o.Fragment, null, /* @__PURE__ */ o.createElement("path", { d: "M162.83,98.83,133.66,128l29.17,29.17a4,4,0,0,1-5.66,5.66L128,133.66,98.83,162.83a4,4,0,0,1-5.66-5.66L122.34,128,93.17,98.83a4,4,0,0,1,5.66-5.66L128,122.34l29.17-29.17a4,4,0,1,1,5.66,5.66ZM228,128A100,100,0,1,1,128,28,100.11,100.11,0,0,1,228,128Zm-8,0a92,92,0,1,0-92,92A92.1,92.1,0,0,0,220,128Z" }))
691
691
  ]
692
- ]), Ka = xa({
692
+ ]), to = ka({
693
693
  color: "currentColor",
694
694
  size: "1em",
695
695
  weight: "regular",
696
696
  mirrored: !1
697
- }), se = a.forwardRef(
698
- (o, t) => {
697
+ }), de = o.forwardRef(
698
+ (a, t) => {
699
699
  const {
700
- alt: c,
700
+ alt: d,
701
701
  color: l,
702
- size: u,
703
- weight: h,
704
- mirrored: p,
705
- children: m,
706
- weights: w,
707
- ...r
708
- } = o, {
702
+ size: g,
703
+ weight: u,
704
+ mirrored: c,
705
+ children: p,
706
+ weights: v,
707
+ ...i
708
+ } = a, {
709
709
  color: f = "currentColor",
710
- size: b,
711
- weight: N = "regular",
712
- mirrored: T = !1,
713
- ...y
714
- } = a.useContext(Ka);
715
- return /* @__PURE__ */ a.createElement(
710
+ size: x,
711
+ weight: I = "regular",
712
+ mirrored: A = !1,
713
+ ...E
714
+ } = o.useContext(to);
715
+ return /* @__PURE__ */ o.createElement(
716
716
  "svg",
717
717
  {
718
718
  ref: t,
719
719
  xmlns: "http://www.w3.org/2000/svg",
720
- width: u ?? b,
721
- height: u ?? b,
720
+ width: g ?? x,
721
+ height: g ?? x,
722
722
  fill: l ?? f,
723
723
  viewBox: "0 0 256 256",
724
- transform: p || T ? "scale(-1, 1)" : void 0,
725
- ...y,
726
- ...r
724
+ transform: c || A ? "scale(-1, 1)" : void 0,
725
+ ...E,
726
+ ...i
727
727
  },
728
- !!c && /* @__PURE__ */ a.createElement("title", null, c),
729
- m,
730
- w.get(h ?? N)
728
+ !!d && /* @__PURE__ */ o.createElement("title", null, d),
729
+ p,
730
+ v.get(u ?? I)
731
731
  );
732
732
  }
733
733
  );
734
- se.displayName = "IconBase";
735
- const ea = a.forwardRef((o, t) => /* @__PURE__ */ a.createElement(se, { ref: t, ...o, weights: Wa }));
736
- ea.displayName = "ArrowLeftIcon";
737
- const ta = a.forwardRef((o, t) => /* @__PURE__ */ a.createElement(se, { ref: t, ...o, weights: $a }));
738
- ta.displayName = "ArrowsClockwiseIcon";
739
- const aa = a.forwardRef((o, t) => /* @__PURE__ */ a.createElement(se, { ref: t, ...o, weights: Ga }));
740
- aa.displayName = "CarIcon";
741
- const oa = a.forwardRef((o, t) => /* @__PURE__ */ a.createElement(se, { ref: t, ...o, weights: Ya }));
742
- oa.displayName = "CircleNotchIcon";
743
- const na = a.forwardRef((o, t) => /* @__PURE__ */ a.createElement(se, { ref: t, ...o, weights: qa }));
744
- na.displayName = "XIcon";
745
- const ra = a.forwardRef((o, t) => /* @__PURE__ */ a.createElement(se, { ref: t, ...o, weights: Xa }));
746
- ra.displayName = "XCircleIcon";
747
- function ia(o) {
748
- return o && o.__esModule && Object.prototype.hasOwnProperty.call(o, "default") ? o.default : o;
734
+ de.displayName = "IconBase";
735
+ const oa = o.forwardRef((a, t) => /* @__PURE__ */ o.createElement(de, { ref: t, ...a, weights: qa }));
736
+ oa.displayName = "ArrowLeftIcon";
737
+ const na = o.forwardRef((a, t) => /* @__PURE__ */ o.createElement(de, { ref: t, ...a, weights: Ka }));
738
+ na.displayName = "ArrowsClockwiseIcon";
739
+ const ra = o.forwardRef((a, t) => /* @__PURE__ */ o.createElement(de, { ref: t, ...a, weights: Xa }));
740
+ ra.displayName = "CarIcon";
741
+ const ia = o.forwardRef((a, t) => /* @__PURE__ */ o.createElement(de, { ref: t, ...a, weights: Ja }));
742
+ ia.displayName = "CircleNotchIcon";
743
+ const la = o.forwardRef((a, t) => /* @__PURE__ */ o.createElement(de, { ref: t, ...a, weights: Qa }));
744
+ la.displayName = "XIcon";
745
+ const sa = o.forwardRef((a, t) => /* @__PURE__ */ o.createElement(de, { ref: t, ...a, weights: eo }));
746
+ sa.displayName = "XCircleIcon";
747
+ function ca(a) {
748
+ return a && a.__esModule && Object.prototype.hasOwnProperty.call(a, "default") ? a.default : a;
749
749
  }
750
- var la = { exports: {} };
750
+ var da = { exports: {} };
751
751
  /*!
752
752
  * JavaScript Cookie v2.2.1
753
753
  * https://github.com/js-cookie/js-cookie
@@ -755,154 +755,154 @@ var la = { exports: {} };
755
755
  * Copyright 2006, 2015 Klaus Hartl & Fagner Brack
756
756
  * Released under the MIT license
757
757
  */
758
- (function(o, t) {
759
- (function(c) {
758
+ (function(a, t) {
759
+ (function(d) {
760
760
  var l;
761
- if (o.exports = c(), l = !0, !l) {
762
- var u = window.Cookies, h = window.Cookies = c();
763
- h.noConflict = function() {
764
- return window.Cookies = u, h;
761
+ if (a.exports = d(), l = !0, !l) {
762
+ var g = window.Cookies, u = window.Cookies = d();
763
+ u.noConflict = function() {
764
+ return window.Cookies = g, u;
765
765
  };
766
766
  }
767
767
  })(function() {
768
- function c() {
769
- for (var h = 0, p = {}; h < arguments.length; h++) {
770
- var m = arguments[h];
771
- for (var w in m)
772
- p[w] = m[w];
768
+ function d() {
769
+ for (var u = 0, c = {}; u < arguments.length; u++) {
770
+ var p = arguments[u];
771
+ for (var v in p)
772
+ c[v] = p[v];
773
773
  }
774
- return p;
774
+ return c;
775
775
  }
776
- function l(h) {
777
- return h.replace(/(%[0-9A-Z]{2})+/g, decodeURIComponent);
776
+ function l(u) {
777
+ return u.replace(/(%[0-9A-Z]{2})+/g, decodeURIComponent);
778
778
  }
779
- function u(h) {
780
- function p() {
779
+ function g(u) {
780
+ function c() {
781
781
  }
782
- function m(r, f, b) {
782
+ function p(i, f, x) {
783
783
  if (!(typeof document > "u")) {
784
- b = c({
784
+ x = d({
785
785
  path: "/"
786
- }, p.defaults, b), typeof b.expires == "number" && (b.expires = new Date(/* @__PURE__ */ new Date() * 1 + b.expires * 864e5)), b.expires = b.expires ? b.expires.toUTCString() : "";
786
+ }, c.defaults, x), typeof x.expires == "number" && (x.expires = new Date(/* @__PURE__ */ new Date() * 1 + x.expires * 864e5)), x.expires = x.expires ? x.expires.toUTCString() : "";
787
787
  try {
788
- var N = JSON.stringify(f);
789
- /^[\{\[]/.test(N) && (f = N);
788
+ var I = JSON.stringify(f);
789
+ /^[\{\[]/.test(I) && (f = I);
790
790
  } catch {
791
791
  }
792
- f = h.write ? h.write(f, r) : encodeURIComponent(String(f)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g, decodeURIComponent), r = encodeURIComponent(String(r)).replace(/%(23|24|26|2B|5E|60|7C)/g, decodeURIComponent).replace(/[\(\)]/g, escape);
793
- var T = "";
794
- for (var y in b)
795
- b[y] && (T += "; " + y, b[y] !== !0 && (T += "=" + b[y].split(";")[0]));
796
- return document.cookie = r + "=" + f + T;
792
+ f = u.write ? u.write(f, i) : encodeURIComponent(String(f)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g, decodeURIComponent), i = encodeURIComponent(String(i)).replace(/%(23|24|26|2B|5E|60|7C)/g, decodeURIComponent).replace(/[\(\)]/g, escape);
793
+ var A = "";
794
+ for (var E in x)
795
+ x[E] && (A += "; " + E, x[E] !== !0 && (A += "=" + x[E].split(";")[0]));
796
+ return document.cookie = i + "=" + f + A;
797
797
  }
798
798
  }
799
- function w(r, f) {
799
+ function v(i, f) {
800
800
  if (!(typeof document > "u")) {
801
- for (var b = {}, N = document.cookie ? document.cookie.split("; ") : [], T = 0; T < N.length; T++) {
802
- var y = N[T].split("="), O = y.slice(1).join("=");
803
- !f && O.charAt(0) === '"' && (O = O.slice(1, -1));
801
+ for (var x = {}, I = document.cookie ? document.cookie.split("; ") : [], A = 0; A < I.length; A++) {
802
+ var E = I[A].split("="), H = E.slice(1).join("=");
803
+ !f && H.charAt(0) === '"' && (H = H.slice(1, -1));
804
804
  try {
805
- var I = l(y[0]);
806
- if (O = (h.read || h)(O, I) || l(O), f)
805
+ var B = l(E[0]);
806
+ if (H = (u.read || u)(H, B) || l(H), f)
807
807
  try {
808
- O = JSON.parse(O);
808
+ H = JSON.parse(H);
809
809
  } catch {
810
810
  }
811
- if (b[I] = O, r === I)
811
+ if (x[B] = H, i === B)
812
812
  break;
813
813
  } catch {
814
814
  }
815
815
  }
816
- return r ? b[r] : b;
816
+ return i ? x[i] : x;
817
817
  }
818
818
  }
819
- return p.set = m, p.get = function(r) {
820
- return w(
821
- r,
819
+ return c.set = p, c.get = function(i) {
820
+ return v(
821
+ i,
822
822
  !1
823
823
  /* read as raw */
824
824
  );
825
- }, p.getJSON = function(r) {
826
- return w(
827
- r,
825
+ }, c.getJSON = function(i) {
826
+ return v(
827
+ i,
828
828
  !0
829
829
  /* read as json */
830
830
  );
831
- }, p.remove = function(r, f) {
832
- m(r, "", c(f, {
831
+ }, c.remove = function(i, f) {
832
+ p(i, "", d(f, {
833
833
  expires: -1
834
834
  }));
835
- }, p.defaults = {}, p.withConverter = u, p;
835
+ }, c.defaults = {}, c.withConverter = g, c;
836
836
  }
837
- return u(function() {
837
+ return g(function() {
838
838
  });
839
839
  });
840
- })(la);
841
- var Ja = la.exports;
842
- const ct = /* @__PURE__ */ ia(Ja);
843
- var sa = { exports: {} }, Qa = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED", eo = Qa, to = eo;
844
- function ca() {
840
+ })(da);
841
+ var ao = da.exports;
842
+ const pt = /* @__PURE__ */ ca(ao);
843
+ var ma = { exports: {} }, oo = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED", no = oo, ro = no;
844
+ function pa() {
845
845
  }
846
- function da() {
846
+ function ha() {
847
847
  }
848
- da.resetWarningCache = ca;
849
- var ao = function() {
850
- function o(l, u, h, p, m, w) {
851
- if (w !== to) {
852
- var r = new Error(
848
+ ha.resetWarningCache = pa;
849
+ var io = function() {
850
+ function a(l, g, u, c, p, v) {
851
+ if (v !== ro) {
852
+ var i = new Error(
853
853
  "Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types"
854
854
  );
855
- throw r.name = "Invariant Violation", r;
855
+ throw i.name = "Invariant Violation", i;
856
856
  }
857
857
  }
858
- o.isRequired = o;
858
+ a.isRequired = a;
859
859
  function t() {
860
- return o;
860
+ return a;
861
861
  }
862
- var c = {
863
- array: o,
864
- bigint: o,
865
- bool: o,
866
- func: o,
867
- number: o,
868
- object: o,
869
- string: o,
870
- symbol: o,
871
- any: o,
862
+ var d = {
863
+ array: a,
864
+ bigint: a,
865
+ bool: a,
866
+ func: a,
867
+ number: a,
868
+ object: a,
869
+ string: a,
870
+ symbol: a,
871
+ any: a,
872
872
  arrayOf: t,
873
- element: o,
874
- elementType: o,
873
+ element: a,
874
+ elementType: a,
875
875
  instanceOf: t,
876
- node: o,
876
+ node: a,
877
877
  objectOf: t,
878
878
  oneOf: t,
879
879
  oneOfType: t,
880
880
  shape: t,
881
881
  exact: t,
882
- checkPropTypes: da,
883
- resetWarningCache: ca
882
+ checkPropTypes: ha,
883
+ resetWarningCache: pa
884
884
  };
885
- return c.PropTypes = c, c;
885
+ return d.PropTypes = d, d;
886
886
  };
887
- sa.exports = ao();
888
- var oo = sa.exports;
889
- const H = /* @__PURE__ */ ia(oo);
890
- function ma({ error: o }) {
887
+ ma.exports = io();
888
+ var lo = ma.exports;
889
+ const T = /* @__PURE__ */ ca(lo);
890
+ function ua({ error: a }) {
891
891
  return /* @__PURE__ */ React.createElement("div", { className: "rounded-md bg-red-50 p-4" }, /* @__PURE__ */ React.createElement("div", { className: "flex justify-center items-center" }, /* @__PURE__ */ React.createElement("div", { className: "flex-shrink-0" }, /* @__PURE__ */ React.createElement(
892
- ra,
892
+ sa,
893
893
  {
894
894
  size: 20,
895
895
  weight: "bold",
896
896
  className: "text-red-400",
897
897
  "aria-hidden": "true"
898
898
  }
899
- )), /* @__PURE__ */ React.createElement("div", { className: "ml-3" }, /* @__PURE__ */ React.createElement("h3", { className: "text-sm font-medium text-red-800" }, o))));
899
+ )), /* @__PURE__ */ React.createElement("div", { className: "ml-3" }, /* @__PURE__ */ React.createElement("h3", { className: "text-sm font-medium text-red-800" }, a))));
900
900
  }
901
- ma.propTypes = {
902
- error: H.string.isRequired
901
+ ua.propTypes = {
902
+ error: T.string.isRequired
903
903
  };
904
- function no({ className: o, alt: t = "Partbot Logo" }) {
905
- return /* @__PURE__ */ React.createElement("span", { className: o, role: "img", "aria-label": t }, /* @__PURE__ */ React.createElement(
904
+ function so({ className: a, alt: t = "Partbot Logo" }) {
905
+ return /* @__PURE__ */ React.createElement("span", { className: a, role: "img", "aria-label": t }, /* @__PURE__ */ React.createElement(
906
906
  "svg",
907
907
  {
908
908
  xmlns: "http://www.w3.org/2000/svg",
@@ -981,109 +981,186 @@ function no({ className: o, alt: t = "Partbot Logo" }) {
981
981
  ))
982
982
  ));
983
983
  }
984
- const ro = "3.1.11", ht = {
985
- version: ro
986
- }, jt = ["ACT", "NSW", "NT", "QLD", "SA", "TAS", "VIC", "WA"], Bt = "https://api.partbot.io/v1/vehicles/plate-search", Wt = "https://api.partbot.io/v1/vehicles/plate-search-retry";
987
- function ut(o) {
988
- const [t, c] = q(!1), [l, u] = q(!1), [h, p] = q(""), [m, w] = q(""), [r, f] = q(null), [b, N] = q(!1), T = Me(null), [y, O] = q(Bt), [I, W] = q(null), We = o.apiKey, ee = o.callbackUrl, k = o.productsUrl, te = o.useGeolocation === "true", ce = o.themeColor || "#4f46e5", $e = o.buttonTheme || "light", be = o.responsive !== void 0 ? o.responsive : !0, Ge = o.intro || "Enter your Number&nbsp;Plate and select your State or Territory to find your vehicle.", Ne = o.placeholder || "PL8SRCH", L = o.supportMessage, ae = o.isOpen !== void 0, re = o.isOpen, de = o.onOpenChange, Ye = o.hideDefaultButton || !1, Oe = o.onModalClose, qe = o.autoCloseOnSelect || !1, Ie = o.actionButtonLabel || "Show Products", j = ae ? re : t;
989
- V(() => {
984
+ const co = "3.2.0", gt = {
985
+ version: co
986
+ }, Gt = ["ACT", "NSW", "NT", "QLD", "SA", "TAS", "VIC", "WA"], Yt = "https://api.partbot.io/v1/vehicles/plate-search", qt = "https://api.partbot.io/v1/vehicles/plate-search-retry", mo = 60 * 1e3, fa = "partbot_plate_search_session_limits_v1", po = 10, ho = 2, uo = () => ({
987
+ minuteLookups: {},
988
+ demoDay: "",
989
+ demoLookups: {}
990
+ });
991
+ let Ke = uo();
992
+ const Xe = (a) => a !== null && typeof a == "object" && !Array.isArray(a), fo = () => {
993
+ if (typeof window > "u")
994
+ return { ...Ke };
995
+ try {
996
+ const a = window.sessionStorage.getItem(fa);
997
+ if (!a)
998
+ return { ...Ke };
999
+ const t = JSON.parse(a);
1000
+ return {
1001
+ minuteLookups: Xe(t == null ? void 0 : t.minuteLookups) ? { ...t.minuteLookups } : {},
1002
+ demoDay: t && typeof t.demoDay == "string" ? t.demoDay : "",
1003
+ demoLookups: Xe(t == null ? void 0 : t.demoLookups) ? { ...t.demoLookups } : {}
1004
+ };
1005
+ } catch {
1006
+ return { ...Ke };
1007
+ }
1008
+ }, ht = (a) => {
1009
+ if (Ke = a, !(typeof window > "u"))
1010
+ try {
1011
+ window.sessionStorage.setItem(
1012
+ fa,
1013
+ JSON.stringify(a)
1014
+ );
1015
+ } catch {
1016
+ }
1017
+ }, go = (a, t) => {
1018
+ const d = a.toUpperCase().trim(), l = t.toUpperCase().trim();
1019
+ return !d || !l ? "" : `${d}|${l}`;
1020
+ }, wo = ({ plate: a, vehicleState: t, demoMode: d }) => {
1021
+ const l = go(a, t);
1022
+ if (!l)
1023
+ return { allowed: !0 };
1024
+ const g = Date.now(), u = g - mo, c = fo();
1025
+ Xe(c.minuteLookups) || (c.minuteLookups = {}), Xe(c.demoLookups) || (c.demoLookups = {}), Object.entries(c.minuteLookups).forEach(([i, f]) => {
1026
+ (typeof f != "number" || f < u) && delete c.minuteLookups[i];
1027
+ });
1028
+ const p = Object.prototype.hasOwnProperty.call(
1029
+ c.minuteLookups,
1030
+ l
1031
+ ), v = Object.keys(c.minuteLookups).length;
1032
+ if (!p && v >= po)
1033
+ return ht(c), {
1034
+ allowed: !1,
1035
+ message: "Too many unique plate searches. Please wait a minute before trying new plates."
1036
+ };
1037
+ if (d) {
1038
+ const i = (/* @__PURE__ */ new Date()).toISOString().slice(0, 10);
1039
+ c.demoDay !== i && (c.demoDay = i, c.demoLookups = {});
1040
+ const f = Object.prototype.hasOwnProperty.call(
1041
+ c.demoLookups,
1042
+ l
1043
+ ), x = Object.keys(c.demoLookups).length;
1044
+ if (!f && x >= ho)
1045
+ return ht(c), {
1046
+ allowed: !1,
1047
+ message: "Demo mode allows up to 2 unique plate searches per day in this browser session."
1048
+ };
1049
+ f || (c.demoLookups[l] = g);
1050
+ }
1051
+ return p || (c.minuteLookups[l] = g), ht(c), { allowed: !0 };
1052
+ };
1053
+ function bt(a) {
1054
+ const [t, d] = J(!1), [l, g] = J(!1), [u, c] = J(""), [p, v] = J(""), [i, f] = J(null), [x, I] = J(!1), A = Ie(null), [E, H] = J(Yt), [B, Y] = J(null), ne = a.apiKey, K = a.callbackUrl, S = a.productsUrl, re = a.useGeolocation === "true", me = a.themeColor || "#4f46e5", Je = a.buttonTheme || "light", xe = a.responsive !== void 0 ? a.responsive : !0, Qe = a.intro || "Enter your Number&nbsp;Plate and select your State or Territory to find your vehicle.", He = a.placeholder || "PL8SRCH", N = a.supportMessage, C = (a.displayMode === "inline" ? "inline" : "modal") === "inline", ye = a.demoMode === !0 || a.demoMode === "true", pe = a.isOpen !== void 0, Ee = a.isOpen, Pe = a.onOpenChange, Ue = a.hideDefaultButton || !1, ze = a.onModalClose, Fe = a.autoCloseOnSelect || !1, L = a.actionButtonLabel || "Show Products", U = C ? !0 : pe ? Ee : t;
1055
+ $(() => {
990
1056
  console.log(
991
1057
  "[PlateSearch] Controlled:",
992
- ae,
1058
+ pe,
993
1059
  "isOpenProp:",
994
- re,
1060
+ Ee,
995
1061
  "actualOpen:",
996
- j,
1062
+ U,
997
1063
  "internal open state:",
998
1064
  t
999
1065
  );
1000
- }, [ae, re, j, t]);
1001
- const ve = (i) => {
1002
- ae || c(i), de && de(i);
1003
- }, _ = () => {
1004
- ve(!1);
1005
- const i = new CustomEvent("plate-search-modal-close", {
1066
+ }, [pe, Ee, U, t]);
1067
+ const M = (s) => {
1068
+ pe || d(s), Pe && Pe(s);
1069
+ }, ie = () => {
1070
+ if (C)
1071
+ return;
1072
+ M(!1);
1073
+ const s = new CustomEvent("plate-search-modal-close", {
1006
1074
  detail: { timestamp: Date.now() }
1007
1075
  });
1008
- document.dispatchEvent(i), Oe && Oe();
1076
+ document.dispatchEvent(s), ze && ze();
1009
1077
  };
1010
- V(() => {
1078
+ $(() => {
1011
1079
  console.info(
1012
- `Vehicle Registration Search (v${ht.version}) powered by Partbot https://use.partbot.io`
1080
+ `Vehicle Registration Search (v${gt.version}) powered by Partbot https://use.partbot.io`
1013
1081
  );
1014
- }, []), V(() => {
1015
- const i = localStorage.getItem(
1082
+ }, []), $(() => {
1083
+ const s = localStorage.getItem(
1016
1084
  "partbot_selected_vehicle"
1017
1085
  );
1018
- if (i) {
1019
- const v = JSON.parse(i);
1020
- v.description && (v.vehicle_ids.length > 0 || Object.values(v.vehicle).every(
1021
- (x) => x !== null && x !== "" && (typeof x != "object" || Object.keys(x).length > 0)
1022
- )) && W(v);
1086
+ if (s) {
1087
+ const y = JSON.parse(s);
1088
+ y.description && (y.vehicle_ids.length > 0 || Object.values(y.vehicle).every(
1089
+ (w) => w !== null && w !== "" && (typeof w != "object" || Object.keys(w).length > 0)
1090
+ )) && Y(y);
1023
1091
  }
1024
- }, []), V(() => {
1025
- document.documentElement.style.setProperty("--partbot-theme", ce);
1026
- }, [ce]), V(() => {
1027
- t && te && "geolocation" in navigator && navigator.geolocation.getCurrentPosition(async function(i) {
1028
- const { latitude: v, longitude: x } = i.coords;
1092
+ }, []), $(() => {
1093
+ document.documentElement.style.setProperty("--partbot-theme", me);
1094
+ }, [me]), $(() => {
1095
+ U && re && "geolocation" in navigator && navigator.geolocation.getCurrentPosition(async function(s) {
1096
+ const { latitude: y, longitude: w } = s.coords;
1029
1097
  try {
1030
- const ne = await (await fetch(
1031
- `https://maps.googleapis.com/maps/api/geocode/json?latlng=${v},${x}&key=AIzaSyDAdDL5E8iWK_oc0FLqdW-QAhZo84xIX0k`
1098
+ const P = await (await fetch(
1099
+ `https://maps.googleapis.com/maps/api/geocode/json?latlng=${y},${w}&key=AIzaSyDAdDL5E8iWK_oc0FLqdW-QAhZo84xIX0k`
1032
1100
  )).json();
1033
- if (ne.results && ne.results[0]) {
1034
- const G = ne.results[0].address_components.find(
1035
- (ie) => ie.types.includes("administrative_area_level_1")
1101
+ if (P.results && P.results[0]) {
1102
+ const Q = P.results[0].address_components.find(
1103
+ (le) => le.types.includes("administrative_area_level_1")
1036
1104
  );
1037
- if (G) {
1038
- const ie = G.short_name;
1039
- w(ie);
1105
+ if (Q) {
1106
+ const le = Q.short_name;
1107
+ v(le);
1040
1108
  }
1041
1109
  }
1042
- } catch (E) {
1043
- console.error("Geocoding error:", E);
1110
+ } catch (D) {
1111
+ console.error("Geocoding error:", D);
1044
1112
  }
1045
1113
  });
1046
- }, [te, t]), V(() => {
1047
- let i = localStorage.getItem("partbot_plate_details");
1048
- i && (i = JSON.parse(i), i.plate ? p(i.plate.number) : localStorage.removeItem("partbot_plate_details"));
1049
- }, []), V(() => {
1050
- const i = (v) => {
1051
- var x;
1052
- (x = v.detail) != null && x.userSelected && (localStorage.removeItem("partbot_plate_details"), p(""), f(null), W(null));
1114
+ }, [re, U]), $(() => {
1115
+ let s = localStorage.getItem("partbot_plate_details");
1116
+ s && (s = JSON.parse(s), s.plate ? c(s.plate.number) : localStorage.removeItem("partbot_plate_details"));
1117
+ }, []), $(() => {
1118
+ const s = (y) => {
1119
+ var w;
1120
+ (w = y.detail) != null && w.userSelected && (localStorage.removeItem("partbot_plate_details"), c(""), f(null), Y(null));
1053
1121
  };
1054
- return window.addEventListener("vehicle-search-change", i), () => {
1122
+ return window.addEventListener("vehicle-search-change", s), () => {
1055
1123
  window.removeEventListener(
1056
1124
  "vehicle-search-change",
1057
- i
1125
+ s
1058
1126
  );
1059
1127
  };
1060
- }, []), V(() => {
1061
- const i = () => {
1062
- p(""), f(null), W(null);
1128
+ }, []), $(() => {
1129
+ const s = () => {
1130
+ c(""), f(null), Y(null);
1063
1131
  };
1064
- return document.addEventListener("partbot-clear-vehicle", i), () => {
1065
- document.removeEventListener("partbot-clear-vehicle", i);
1132
+ return document.addEventListener("partbot-clear-vehicle", s), () => {
1133
+ document.removeEventListener("partbot-clear-vehicle", s);
1066
1134
  };
1067
- }, []), V(() => {
1068
- j && !l && u(!0), j && T.current && T.current.focus();
1069
- }, [j, l]), V(() => {
1070
- if (j) {
1071
- const i = document.documentElement.style.overflow, v = document.documentElement.style.paddingRight, x = window.innerWidth - document.documentElement.clientWidth;
1072
- return x > 0 && (document.documentElement.style.paddingRight = `${x}px`), document.documentElement.style.overflow = "hidden", () => {
1073
- document.documentElement.style.overflow = i, document.documentElement.style.paddingRight = v;
1135
+ }, []), $(() => {
1136
+ U && !l && g(!0), U && A.current && A.current.focus();
1137
+ }, [U, l]), $(() => {
1138
+ if (!C && U) {
1139
+ const s = document.documentElement.style.overflow, y = document.documentElement.style.paddingRight, w = window.innerWidth - document.documentElement.clientWidth;
1140
+ return w > 0 && (document.documentElement.style.paddingRight = `${w}px`), document.documentElement.style.overflow = "hidden", () => {
1141
+ document.documentElement.style.overflow = s, document.documentElement.style.paddingRight = y;
1074
1142
  };
1075
1143
  }
1076
- }, [j]);
1077
- const xe = (i) => {
1078
- if (i && i.preventDefault(), !m || !h)
1144
+ }, [U, C]);
1145
+ const _ = (s) => {
1146
+ if (s && s.preventDefault(), !p || !u)
1147
+ return;
1148
+ const y = wo({
1149
+ plate: u,
1150
+ vehicleState: p,
1151
+ demoMode: ye
1152
+ });
1153
+ if (!y.allowed) {
1154
+ f({ error: y.message });
1079
1155
  return;
1080
- N(!0);
1081
- const v = {
1082
- plate: h,
1083
- state: m
1156
+ }
1157
+ I(!0);
1158
+ const w = {
1159
+ plate: u,
1160
+ state: p
1084
1161
  };
1085
- async function x() {
1086
- return (await fetch(y, {
1162
+ async function D() {
1163
+ return (await fetch(E, {
1087
1164
  method: "POST",
1088
1165
  mode: "cors",
1089
1166
  // no-cors, *cors, same-origin
@@ -1093,77 +1170,77 @@ function ut(o) {
1093
1170
  // include, *same-origin, omit
1094
1171
  headers: {
1095
1172
  "Content-Type": "application/json",
1096
- Authorization: `Basic ${We}`
1173
+ Authorization: `Basic ${ne}`
1097
1174
  },
1098
1175
  redirect: "follow",
1099
1176
  // manual, *follow, error
1100
1177
  referrerPolicy: "no-referrer",
1101
1178
  // no-referrer, *no-referrer-when-downgrade, origin, origin-when-cross-origin, same-origin, strict-origin, strict-origin-when-cross-origin, unsafe-url
1102
- body: JSON.stringify(v)
1179
+ body: JSON.stringify(w)
1103
1180
  })).json();
1104
1181
  }
1105
- x().then((E) => {
1106
- N(!1), E.plate ? (localStorage.setItem("partbot_plate_details", JSON.stringify(E)), f(E)) : E && E.indexOf("Invalid API Key") !== -1 ? f({ error: E }) : f({ error: "Could not find any matching vehicles." });
1107
- }).catch((E) => {
1108
- console.error("Error:", E), f({ error: "Could not find any matching vehicles." });
1182
+ D().then((P) => {
1183
+ I(!1), P.plate ? (localStorage.setItem("partbot_plate_details", JSON.stringify(P)), f(P)) : P && P.indexOf("Invalid API Key") !== -1 ? f({ error: P }) : f({ error: "Could not find any matching vehicles." });
1184
+ }).catch((P) => {
1185
+ console.error("Error:", P), f({ error: "Could not find any matching vehicles." });
1109
1186
  });
1110
1187
  };
1111
- V(() => {
1112
- xe();
1113
- }, [y]);
1114
- const S = (i) => {
1115
- localStorage.removeItem("partbot_plate_details"), localStorage.removeItem("partbot_selected_vehicle"), ct.remove("partbot_selected_vehicle"), f(null), O(Wt);
1116
- }, He = (i) => {
1188
+ $(() => {
1189
+ _();
1190
+ }, [E]);
1191
+ const se = (s) => {
1192
+ localStorage.removeItem("partbot_plate_details"), localStorage.removeItem("partbot_selected_vehicle"), pt.remove("partbot_selected_vehicle"), f(null), H(qt);
1193
+ }, _e = (s) => {
1117
1194
  window.open(
1118
1195
  `mailto:report@partbot.io?subject=${encodeURIComponent(
1119
1196
  "Registration Search Issue"
1120
1197
  )}&body=${encodeURIComponent(
1121
- `Incorrect vehicles were shown for ${m} number plate: ${h}, vehicle: ${r.factory_vehicle.make} ${r.factory_vehicle.model} ${r.factory_vehicle.year} ${r.factory_vehicle.body} ${r.factory_vehicle.series}. Please provide details of the correct vehicle below:`
1198
+ `Incorrect vehicles were shown for ${p} number plate: ${u}, vehicle: ${i.factory_vehicle.make} ${i.factory_vehicle.model} ${i.factory_vehicle.year} ${i.factory_vehicle.body} ${i.factory_vehicle.series}. Please provide details of the correct vehicle below:`
1122
1199
  )}`
1123
1200
  );
1124
- }, A = (i) => {
1125
- p(""), f(null), O(Bt), W(null), localStorage.removeItem("partbot_plate_details"), localStorage.removeItem("partbot_selected_vehicle"), ct.remove("partbot_selected_vehicle");
1126
- }, oe = (i) => {
1127
- var v = JSON.stringify({
1128
- description: i.description,
1129
- vehicle_ids: i.vehicle_ids,
1201
+ }, ke = (s) => {
1202
+ c(""), f(null), H(Yt), Y(null), localStorage.removeItem("partbot_plate_details"), localStorage.removeItem("partbot_selected_vehicle"), pt.remove("partbot_selected_vehicle");
1203
+ }, he = (s) => {
1204
+ var y = JSON.stringify({
1205
+ description: s.description,
1206
+ vehicle_ids: s.vehicle_ids,
1130
1207
  vehicle: {
1131
- ...i.vehicle,
1132
- year: r.factory_vehicle.year
1208
+ ...s.vehicle,
1209
+ year: i.factory_vehicle.year
1133
1210
  }
1134
1211
  });
1135
- localStorage.setItem("partbot_selected_vehicle", v), ct.set("partbot_selected_vehicle", v, {
1212
+ localStorage.setItem("partbot_selected_vehicle", y), pt.set("partbot_selected_vehicle", y, {
1136
1213
  secure: !0
1137
1214
  });
1138
- const x = {
1139
- vehicle_ids: i.vehicle_ids
1215
+ const w = {
1216
+ vehicle_ids: s.vehicle_ids
1140
1217
  };
1141
1218
  document.dispatchEvent(
1142
- new CustomEvent("plate-search-change", { detail: x })
1219
+ new CustomEvent("plate-search-change", { detail: w })
1143
1220
  ), window.dispatchEvent(
1144
- new CustomEvent("plate-search-change", { detail: x })
1145
- ), W(i), qe && _(), ee && ee !== window.location.href && (_(), window.location.href = ee + window.location.search);
1146
- }, ye = (i) => {
1147
- if (_(), k)
1221
+ new CustomEvent("plate-search-change", { detail: w })
1222
+ ), Y(s), Fe && !C && ie(), K && K !== window.location.href && (C || ie(), window.location.href = K + window.location.search);
1223
+ }, Ze = (s) => {
1224
+ if (ie(), S)
1148
1225
  try {
1149
- const v = new URL(k, window.location.origin);
1150
- if (v.origin !== window.location.origin) {
1226
+ const y = new URL(S, window.location.origin);
1227
+ if (y.origin !== window.location.origin) {
1151
1228
  console.warn(
1152
1229
  "Partbot: Blocked navigation to external productsUrl",
1153
- v.toString()
1230
+ y.toString()
1154
1231
  );
1155
1232
  return;
1156
1233
  }
1157
- window.location.assign(v.href);
1158
- } catch (v) {
1234
+ window.location.assign(y.href);
1235
+ } catch (y) {
1159
1236
  console.error(
1160
1237
  "Partbot: Invalid productsUrl provided",
1161
- k,
1162
- v
1238
+ S,
1239
+ y
1163
1240
  );
1164
1241
  }
1165
- }, Ee = (i) => {
1166
- const v = [
1242
+ }, Ae = (s) => {
1243
+ const y = [
1167
1244
  "series",
1168
1245
  "variant",
1169
1246
  "body",
@@ -1173,78 +1250,78 @@ function ut(o) {
1173
1250
  "engine_capacity",
1174
1251
  "cylinders"
1175
1252
  ];
1176
- return Object.entries(i).filter(([x, E]) => E !== null && v.includes(x) && typeof E != "object").map(([x, E]) => x === "cylinders" ? `${E}cyl` : E).join(" ");
1253
+ return Object.entries(s).filter(([w, D]) => D !== null && y.includes(w) && typeof D != "object").map(([w, D]) => w === "cylinders" ? `${D}cyl` : D).join(" ");
1177
1254
  };
1178
- return /* @__PURE__ */ React.createElement(React.Fragment, null, !Ye && /* @__PURE__ */ React.createElement(
1255
+ return /* @__PURE__ */ r.createElement(r.Fragment, null, !Ue && !C && /* @__PURE__ */ r.createElement(
1179
1256
  "button",
1180
1257
  {
1181
- onClick: (i) => ve(!j),
1258
+ onClick: (s) => M(!U),
1182
1259
  type: "button",
1183
- className: `${$e === "dark" ? "bg-transparent text-stone-100 hover:text-white" : "bg-white text-stone-700 hover:bg-stone-50"} inline-flex items-center ${be ? "px-2 md:px-3" : "px-3"} text-md focus:outline-none focus:ring-bg-theme-color h-[44px] rounded-md border-4 border-double border-stone-400 font-license text-base font-medium shadow-sm transition cursor-pointer leading-none`
1260
+ className: `${Je === "dark" ? "bg-transparent text-stone-100 hover:text-white" : "bg-white text-stone-700 hover:bg-stone-50"} inline-flex items-center ${xe ? "px-2 md:px-3" : "px-3"} text-md focus:outline-none focus:ring-bg-theme-color h-[44px] rounded-md border-4 border-double border-stone-400 font-license text-base font-medium shadow-sm transition cursor-pointer leading-none`
1184
1261
  },
1185
- /* @__PURE__ */ React.createElement(
1186
- aa,
1262
+ /* @__PURE__ */ r.createElement(
1263
+ ra,
1187
1264
  {
1188
1265
  weight: "fill",
1189
- className: be ? "h-5 w-5 md:-ml-1 md:mr-2" : "mr-2 -ml-1 h-5 w-5",
1266
+ className: xe ? "h-5 w-5 md:-ml-1 md:mr-2" : "mr-2 -ml-1 h-5 w-5",
1190
1267
  "aria-hidden": "true"
1191
1268
  }
1192
1269
  ),
1193
- /* @__PURE__ */ React.createElement(
1270
+ /* @__PURE__ */ r.createElement(
1194
1271
  "span",
1195
1272
  {
1196
- className: be ? "hidden md:inline mt-0.5" : "inline mt-0.5"
1273
+ className: xe ? "hidden md:inline mt-0.5" : "inline mt-0.5"
1197
1274
  },
1198
- h || Ne
1275
+ u || He
1199
1276
  )
1200
- ), /* @__PURE__ */ React.createElement(
1277
+ ), /* @__PURE__ */ r.createElement(
1201
1278
  "div",
1202
1279
  {
1203
- className: `${j ? "modal-container modal-container-open" : "modal-container modal-container-close"}`,
1204
- style: {
1280
+ className: C ? "inline-container" : `${U ? "modal-container modal-container-open" : "modal-container modal-container-close"}`,
1281
+ style: C ? void 0 : {
1205
1282
  zIndex: 2147483647,
1206
- ...!j && !l ? { display: "none" } : {}
1283
+ ...!U && !l ? { display: "none" } : {}
1207
1284
  },
1208
- onClick: (i) => {
1209
- i.target === i.currentTarget && _();
1285
+ onClick: (s) => {
1286
+ !C && s.target === s.currentTarget && ie();
1210
1287
  }
1211
1288
  },
1212
- /* @__PURE__ */ React.createElement(
1289
+ /* @__PURE__ */ r.createElement(
1213
1290
  "div",
1214
1291
  {
1215
- role: "dialog",
1216
- "aria-modal": "true",
1217
- "aria-label": "Number plate search dialog",
1218
- className: j ? "modal modal-open" : "modal modal-close"
1292
+ role: C ? "region" : "dialog",
1293
+ "aria-modal": C ? void 0 : "true",
1294
+ "aria-label": C ? "Number plate search" : "Number plate search dialog",
1295
+ className: C ? "inline-panel" : U ? "modal modal-open" : "modal modal-close"
1219
1296
  },
1220
- /* @__PURE__ */ React.createElement("div", { className: "absolute top-0 right-0 pt-4 pr-4" }, /* @__PURE__ */ React.createElement(
1297
+ !C && /* @__PURE__ */ r.createElement("div", { className: "absolute top-0 right-0 pt-4 pr-4" }, /* @__PURE__ */ r.createElement(
1221
1298
  "button",
1222
1299
  {
1223
1300
  type: "button",
1224
1301
  className: "focus:outline-none focus:ring-bg-theme-color rounded-md bg-white text-stone-400 hover:text-stone-500",
1225
- onClick: () => _()
1302
+ onClick: () => ie()
1226
1303
  },
1227
- /* @__PURE__ */ React.createElement("span", { className: "sr-only" }, "Close"),
1228
- /* @__PURE__ */ React.createElement(na, { size: 16, weight: "bold", "aria-hidden": "true" })
1304
+ /* @__PURE__ */ r.createElement("span", { className: "sr-only" }, "Close"),
1305
+ /* @__PURE__ */ r.createElement(la, { size: 16, weight: "bold", "aria-hidden": "true" })
1229
1306
  )),
1230
- r && !I && /* @__PURE__ */ React.createElement("div", { className: "modal-content" }, /* @__PURE__ */ React.createElement("div", { className: "mb-5 text-center" }, /* @__PURE__ */ React.createElement("div", { className: "inline-flex items-center text-center text-2xl font-extrabold tracking-tight text-black" }, /* @__PURE__ */ React.createElement("div", null, "Results for", " ", /* @__PURE__ */ React.createElement("span", { className: "text-theme-color" }, h, " (", m, ")"))), /* @__PURE__ */ React.createElement("div", { className: "mt-6" }, /* @__PURE__ */ React.createElement("div", { className: "modal-scroll-area" }, r.vehicles ? /* @__PURE__ */ React.createElement("div", { className: "grid gap-3 text-left" }, r.vehicles.map(function(i, v) {
1231
- return /* @__PURE__ */ React.createElement(
1307
+ i && !B && /* @__PURE__ */ r.createElement("div", { className: "modal-content" }, /* @__PURE__ */ r.createElement("div", { className: "mb-5 text-center" }, /* @__PURE__ */ r.createElement("div", { className: "inline-flex items-center text-center text-2xl font-extrabold tracking-tight text-black" }, /* @__PURE__ */ r.createElement("div", null, "Results for", " ", /* @__PURE__ */ r.createElement("span", { className: "text-theme-color" }, u, " (", p, ")"))), /* @__PURE__ */ r.createElement("div", { className: "mt-6" }, /* @__PURE__ */ r.createElement("div", { className: "modal-scroll-area" }, i.vehicles ? /* @__PURE__ */ r.createElement("div", { className: "grid gap-3 text-left" }, i.vehicles.map(function(s, y) {
1308
+ return /* @__PURE__ */ r.createElement(
1232
1309
  "div",
1233
1310
  {
1234
- key: v,
1311
+ key: y,
1235
1312
  className: "focus:outline-none relative grid cursor-pointer gap-4 rounded-lg border border-stone-300 bg-white px-4 py-4 shadow-sm hover:border-stone-400 sm:flex sm:justify-between"
1236
1313
  },
1237
- /* @__PURE__ */ React.createElement("div", { className: "pr-5 text-xs" }, /* @__PURE__ */ React.createElement("div", { className: "grid gap-2" }, /* @__PURE__ */ React.createElement("div", { className: "text-sm font-bold text-stone-900" }, i.description), /* @__PURE__ */ React.createElement("div", { className: "text-stone-600" }, Ee(i.vehicle)))),
1238
- /* @__PURE__ */ React.createElement("div", null, /* @__PURE__ */ React.createElement(
1314
+ /* @__PURE__ */ r.createElement("div", { className: "pr-5 text-xs" }, /* @__PURE__ */ r.createElement("div", { className: "grid gap-2" }, /* @__PURE__ */ r.createElement("div", { className: "text-sm font-bold text-stone-900" }, s.description), /* @__PURE__ */ r.createElement("div", { className: "text-stone-600" }, Ae(s.vehicle)))),
1315
+ /* @__PURE__ */ r.createElement("div", null, /* @__PURE__ */ r.createElement(
1239
1316
  "button",
1240
1317
  {
1241
1318
  className: "justify-center rounded-md border border-transparent bg-theme-color px-2 py-1.5 text-xs font-medium text-white shadow-sm",
1242
- onClick: () => oe(i)
1319
+ onClick: () => he(s)
1243
1320
  },
1244
1321
  "Select vehicle"
1245
1322
  ))
1246
1323
  );
1247
- }), r.differing_attributes && r.vehicle_breakdown && r.vehicle_breakdown.length > 0 && /* @__PURE__ */ React.createElement("div", null, /* @__PURE__ */ React.createElement("details", { className: "[&_summary::-webkit-details-marker]:hidden group rounded-lg border border-stone-300 bg-white" }, /* @__PURE__ */ React.createElement("summary", { className: "flex cursor-pointer items-center justify-between px-4 py-2 text-left text-sm font-medium text-stone-900" }, /* @__PURE__ */ React.createElement("span", null, "More options..."), /* @__PURE__ */ React.createElement(
1324
+ }), i.differing_attributes && i.vehicle_breakdown && i.vehicle_breakdown.length > 0 && /* @__PURE__ */ r.createElement("div", null, /* @__PURE__ */ r.createElement("details", { className: "[&_summary::-webkit-details-marker]:hidden group rounded-lg border border-stone-300 bg-white" }, /* @__PURE__ */ r.createElement("summary", { className: "flex cursor-pointer items-center justify-between px-4 py-2 text-left text-sm font-medium text-stone-900" }, /* @__PURE__ */ r.createElement("span", null, "More options..."), /* @__PURE__ */ r.createElement(
1248
1325
  "svg",
1249
1326
  {
1250
1327
  className: "!h-5 !w-5 text-stone-500 transition duration-300 group-open:rotate-180",
@@ -1252,7 +1329,7 @@ function ut(o) {
1252
1329
  viewBox: "0 0 20 20",
1253
1330
  fill: "currentColor"
1254
1331
  },
1255
- /* @__PURE__ */ React.createElement(
1332
+ /* @__PURE__ */ r.createElement(
1256
1333
  "path",
1257
1334
  {
1258
1335
  fillRule: "evenodd",
@@ -1260,53 +1337,53 @@ function ut(o) {
1260
1337
  clipRule: "evenodd"
1261
1338
  }
1262
1339
  )
1263
- )), /* @__PURE__ */ React.createElement("div", { className: "border-t border-stone-200 px-4 py-3" }, /* @__PURE__ */ React.createElement("div", { className: "grid gap-3" }, r.vehicle_breakdown && r.vehicle_breakdown.map(
1264
- (i, v) => /* @__PURE__ */ React.createElement(
1340
+ )), /* @__PURE__ */ r.createElement("div", { className: "border-t border-stone-200 px-4 py-3" }, /* @__PURE__ */ r.createElement("div", { className: "grid gap-3" }, i.vehicle_breakdown && i.vehicle_breakdown.map(
1341
+ (s, y) => /* @__PURE__ */ r.createElement(
1265
1342
  "div",
1266
1343
  {
1267
- key: v,
1344
+ key: y,
1268
1345
  className: "flex items-center justify-between rounded-md border border-stone-200 p-3 text-sm"
1269
1346
  },
1270
- /* @__PURE__ */ React.createElement("div", null, r.differing_attributes.map(
1271
- (x) => /* @__PURE__ */ React.createElement(
1347
+ /* @__PURE__ */ r.createElement("div", null, i.differing_attributes.map(
1348
+ (w) => /* @__PURE__ */ r.createElement(
1272
1349
  "div",
1273
1350
  {
1274
- key: x,
1351
+ key: w,
1275
1352
  className: "text-xs text-stone-600"
1276
1353
  },
1277
- /* @__PURE__ */ React.createElement("span", { className: "font-medium capitalize" }, x, ":"),
1354
+ /* @__PURE__ */ r.createElement("span", { className: "font-medium capitalize" }, w, ":"),
1278
1355
  " ",
1279
- i.vehicle[x]
1356
+ s.vehicle[w]
1280
1357
  )
1281
1358
  )),
1282
- /* @__PURE__ */ React.createElement(
1359
+ /* @__PURE__ */ r.createElement(
1283
1360
  "button",
1284
1361
  {
1285
- onClick: () => oe(i),
1362
+ onClick: () => he(s),
1286
1363
  className: "ml-4 rounded-md bg-theme-color px-3 py-1.5 text-xs font-medium text-white hover:bg-opacity-90"
1287
1364
  },
1288
1365
  "Select"
1289
1366
  )
1290
1367
  )
1291
- )))))) : /* @__PURE__ */ React.createElement("div", { className: "my-5" }, /* @__PURE__ */ React.createElement(ma, { error: r.error }))), r.vehicles && r.vehicles.length > 3 && /* @__PURE__ */ React.createElement("div", { className: "pb-4 text-center text-xs text-stone-500" }, "Scroll for more..."), L && /* @__PURE__ */ React.createElement(
1368
+ )))))) : /* @__PURE__ */ r.createElement("div", { className: "my-5" }, /* @__PURE__ */ r.createElement(ua, { error: i.error }))), i.vehicles && i.vehicles.length > 3 && /* @__PURE__ */ r.createElement("div", { className: "pb-4 text-center text-xs text-stone-500" }, "Scroll for more..."), N && /* @__PURE__ */ r.createElement(
1292
1369
  "div",
1293
1370
  {
1294
1371
  className: "pl8srch-text mx-auto my-6 w-full text-sm text-stone-500",
1295
1372
  dangerouslySetInnerHTML: {
1296
- __html: Vt.sanitize(L)
1373
+ __html: $t.sanitize(N)
1297
1374
  }
1298
1375
  }
1299
- ), y !== Wt && /* @__PURE__ */ React.createElement(
1376
+ ), E !== qt && /* @__PURE__ */ r.createElement(
1300
1377
  "button",
1301
1378
  {
1302
1379
  type: "button",
1303
1380
  className: "mb-5 hidden w-full items-center justify-center rounded-md border border-theme-color bg-transparent px-4 py-2 text-base font-medium text-theme-color shadow-sm hover:bg-theme-color hover:text-white",
1304
- onClick: S
1381
+ onClick: se
1305
1382
  },
1306
1383
  "Try Again",
1307
1384
  " ",
1308
- /* @__PURE__ */ React.createElement(
1309
- ta,
1385
+ /* @__PURE__ */ r.createElement(
1386
+ na,
1310
1387
  {
1311
1388
  size: 16,
1312
1389
  weight: "bold",
@@ -1314,21 +1391,21 @@ function ut(o) {
1314
1391
  "aria-hidden": "true"
1315
1392
  }
1316
1393
  )
1317
- ), /* @__PURE__ */ React.createElement("div", { className: "align-center flex justify-between" }, /* @__PURE__ */ React.createElement(
1394
+ ), /* @__PURE__ */ r.createElement("div", { className: "align-center flex justify-between" }, /* @__PURE__ */ r.createElement(
1318
1395
  "button",
1319
1396
  {
1320
- onClick: He,
1397
+ onClick: _e,
1321
1398
  className: "text-xs text-theme-color"
1322
1399
  },
1323
1400
  "Report incorrect search results"
1324
- ), /* @__PURE__ */ React.createElement(
1401
+ ), /* @__PURE__ */ r.createElement(
1325
1402
  "button",
1326
1403
  {
1327
- onClick: A,
1404
+ onClick: ke,
1328
1405
  className: "text-xs text-theme-color"
1329
1406
  },
1330
- /* @__PURE__ */ React.createElement(
1331
- ea,
1407
+ /* @__PURE__ */ r.createElement(
1408
+ oa,
1332
1409
  {
1333
1410
  size: 12,
1334
1411
  weight: "bold",
@@ -1338,87 +1415,87 @@ function ut(o) {
1338
1415
  " ",
1339
1416
  "Back to search"
1340
1417
  ))))),
1341
- I && /* @__PURE__ */ React.createElement("div", { className: "modal-content" }, /* @__PURE__ */ React.createElement("div", { className: "mb-5 text-center" }, /* @__PURE__ */ React.createElement("div", { className: "grid items-center" }, /* @__PURE__ */ React.createElement("div", { className: "inline-flex items-center justify-center gap-1 text-center text-2xl font-extrabold tracking-tight text-black" }, /* @__PURE__ */ React.createElement("span", null, "Selected Vehicle"), h && /* @__PURE__ */ React.createElement("span", { className: "text-theme-color" }, "(", h, ")")), /* @__PURE__ */ React.createElement("div", { className: "text-medium mt-5 text-sm text-stone-500" }, r && r.factory_vehicle ? `${r.factory_vehicle.make} ${r.factory_vehicle.model} ${r.factory_vehicle.year}` : I.description), I.vehicle && /* @__PURE__ */ React.createElement("div", { className: "mt-2 text-xs text-stone-600" }, Ee(I.vehicle))), /* @__PURE__ */ React.createElement("div", { className: "mt-6 flex gap-4" }, /* @__PURE__ */ React.createElement(
1418
+ B && /* @__PURE__ */ r.createElement("div", { className: "modal-content" }, /* @__PURE__ */ r.createElement("div", { className: "mb-5 text-center" }, /* @__PURE__ */ r.createElement("div", { className: "grid items-center" }, /* @__PURE__ */ r.createElement("div", { className: "inline-flex items-center justify-center gap-1 text-center text-2xl font-extrabold tracking-tight text-black" }, /* @__PURE__ */ r.createElement("span", null, "Selected Vehicle"), u && /* @__PURE__ */ r.createElement("span", { className: "text-theme-color" }, "(", u, ")")), /* @__PURE__ */ r.createElement("div", { className: "text-medium mt-5 text-sm text-stone-500" }, i && i.factory_vehicle ? `${i.factory_vehicle.make} ${i.factory_vehicle.model} ${i.factory_vehicle.year}` : B.description), B.vehicle && /* @__PURE__ */ r.createElement("div", { className: "mt-2 text-xs text-stone-600" }, Ae(B.vehicle))), /* @__PURE__ */ r.createElement("div", { className: "mt-6 flex gap-4" }, /* @__PURE__ */ r.createElement(
1342
1419
  "button",
1343
1420
  {
1344
1421
  className: "mb-5 flex w-full items-center justify-center rounded-md border border-theme-color bg-transparent px-4 py-2 text-sm font-medium text-theme-color shadow-sm hover:bg-theme-color hover:text-white",
1345
- onClick: A
1422
+ onClick: ke
1346
1423
  },
1347
1424
  "Clear Vehicle"
1348
- ), k && /* @__PURE__ */ React.createElement(
1425
+ ), S && /* @__PURE__ */ r.createElement(
1349
1426
  "button",
1350
1427
  {
1351
1428
  className: "mb-5 flex w-full items-center justify-center rounded-md border border-theme-color bg-transparent px-4 py-2 text-sm font-medium text-theme-color shadow-sm hover:bg-theme-color hover:text-white",
1352
- onClick: ye
1429
+ onClick: Ze
1353
1430
  },
1354
- Ie
1431
+ L
1355
1432
  )))),
1356
- !I && !r && /* @__PURE__ */ React.createElement("div", { className: "modal-content" }, /* @__PURE__ */ React.createElement("div", { className: "mb-5 text-center" }, /* @__PURE__ */ React.createElement("div", { className: "inline-flex items-center text-2xl font-extrabold tracking-tight text-black" }, /* @__PURE__ */ React.createElement("span", null, "Number Plate Search")), /* @__PURE__ */ React.createElement(
1433
+ !B && !i && /* @__PURE__ */ r.createElement("div", { className: "modal-content" }, /* @__PURE__ */ r.createElement("div", { className: "mb-5 text-center" }, /* @__PURE__ */ r.createElement("div", { className: "inline-flex items-center text-2xl font-extrabold tracking-tight text-black" }, /* @__PURE__ */ r.createElement("span", null, "Number Plate Search")), /* @__PURE__ */ r.createElement(
1357
1434
  "div",
1358
1435
  {
1359
1436
  className: "[&>a]:text-theme-color hover:[&>a]:text-theme-color pl8srch-text text-balance mx-auto mt-3 mb-4 max-w-sm text-sm text-stone-500 whitespace-normal!",
1360
1437
  dangerouslySetInnerHTML: {
1361
- __html: Vt.sanitize(Ge)
1438
+ __html: $t.sanitize(Qe)
1362
1439
  }
1363
1440
  }
1364
- )), /* @__PURE__ */ React.createElement(
1441
+ )), /* @__PURE__ */ r.createElement(
1365
1442
  "form",
1366
1443
  {
1367
- onSubmit: xe,
1444
+ onSubmit: _,
1368
1445
  className: "flex flex-col items-center text-black"
1369
1446
  },
1370
- /* @__PURE__ */ React.createElement(
1447
+ /* @__PURE__ */ r.createElement(
1371
1448
  "input",
1372
1449
  {
1373
1450
  type: "text",
1374
1451
  name: "plate",
1375
- ref: T,
1376
- className: `pl8srch-input h-[130px] w-full rounded-xl border-[6px] px-6 pt-5 pb-2 text-center font-license text-[60px] uppercase md:h-[150px] md:border-8 md:text-[75px] focus:outline-none focus:ring-bg-theme-color focus:border-theme-color transition-all duration-200 ${h ? "border-theme-color" : "border-stone-300"}`,
1377
- placeholder: Ne,
1378
- value: h,
1379
- onChange: (i) => p(i.target.value.toUpperCase())
1452
+ ref: A,
1453
+ className: `pl8srch-input h-[130px] w-full rounded-xl border-[6px] px-6 pt-5 pb-2 text-center font-license text-[60px] uppercase md:h-[150px] md:border-8 md:text-[75px] focus:outline-none focus:ring-bg-theme-color focus:border-theme-color transition-all duration-200 ${u ? "border-theme-color" : "border-stone-300"}`,
1454
+ placeholder: He,
1455
+ value: u,
1456
+ onChange: (s) => c(s.target.value.toUpperCase())
1380
1457
  }
1381
1458
  ),
1382
- /* @__PURE__ */ React.createElement("span", { className: "relative z-0 my-5 flex w-full rounded-md items-stretch shadow-sm" }, jt.map((i, v) => {
1383
- let x = "bg-white text-stone-700 hover:bg-stone-50 border-stone-300";
1384
- return i === m && (x = "bg-theme-color text-white hover:bg-theme-color border-theme-color"), v === 0 ? /* @__PURE__ */ React.createElement(
1459
+ /* @__PURE__ */ r.createElement("span", { className: "relative z-0 my-5 flex w-full rounded-md items-stretch shadow-sm" }, Gt.map((s, y) => {
1460
+ let w = "bg-white text-stone-700 hover:bg-stone-50 border-stone-300";
1461
+ return s === p && (w = "bg-theme-color text-white hover:bg-theme-color border-theme-color"), y === 0 ? /* @__PURE__ */ r.createElement(
1385
1462
  "button",
1386
1463
  {
1387
- key: i,
1388
- onClick: (E) => w(i),
1464
+ key: s,
1465
+ onClick: (D) => v(s),
1389
1466
  type: "button",
1390
- className: `focus:outline-none focus:ring-bg-theme-color text-center justify-center flex-grow focus:border-bg-theme-color relative inline-flex items-center cursor-pointer rounded-l-md border px-2 py-2 text-xs font-medium focus:z-10 focus:ring-1 sm:px-3 ${x}`
1467
+ className: `focus:outline-none focus:ring-bg-theme-color text-center justify-center flex-grow focus:border-bg-theme-color relative inline-flex items-center cursor-pointer rounded-l-md border px-2 py-2 text-xs font-medium focus:z-10 focus:ring-1 sm:px-3 ${w}`
1391
1468
  },
1392
- i
1393
- ) : jt.length === v + 1 ? /* @__PURE__ */ React.createElement(
1469
+ s
1470
+ ) : Gt.length === y + 1 ? /* @__PURE__ */ r.createElement(
1394
1471
  "button",
1395
1472
  {
1396
- key: i,
1397
- onClick: (E) => w(i),
1473
+ key: s,
1474
+ onClick: (D) => v(s),
1398
1475
  type: "button",
1399
- className: `focus:outline-none focus:ring-bg-theme-color text-center justify-center flex-grow focus:border-bg-theme-color relative -ml-px inline-flex items-center cursor-pointer rounded-r-md border px-2 py-2 text-xs font-medium focus:z-10 focus:ring-1 sm:px-3 ${x}`
1476
+ className: `focus:outline-none focus:ring-bg-theme-color text-center justify-center flex-grow focus:border-bg-theme-color relative -ml-px inline-flex items-center cursor-pointer rounded-r-md border px-2 py-2 text-xs font-medium focus:z-10 focus:ring-1 sm:px-3 ${w}`
1400
1477
  },
1401
- i
1402
- ) : /* @__PURE__ */ React.createElement(
1478
+ s
1479
+ ) : /* @__PURE__ */ r.createElement(
1403
1480
  "button",
1404
1481
  {
1405
- key: i,
1406
- onClick: (E) => w(i),
1482
+ key: s,
1483
+ onClick: (D) => v(s),
1407
1484
  type: "button",
1408
- className: `focus:outline-none focus:ring-bg-theme-color text-center justify-center flex-grow focus:border-bg-theme-color relative -ml-px inline-flex items-center cursor-pointer border px-2 py-2 text-xs font-medium focus:z-10 focus:ring-1 sm:px-3 ${x}`
1485
+ className: `focus:outline-none focus:ring-bg-theme-color text-center justify-center flex-grow focus:border-bg-theme-color relative -ml-px inline-flex items-center cursor-pointer border px-2 py-2 text-xs font-medium focus:z-10 focus:ring-1 sm:px-3 ${w}`
1409
1486
  },
1410
- i
1487
+ s
1411
1488
  );
1412
1489
  })),
1413
- /* @__PURE__ */ React.createElement(
1490
+ /* @__PURE__ */ r.createElement(
1414
1491
  "button",
1415
1492
  {
1416
1493
  type: "submit",
1417
1494
  className: "hover:bg-theme-color-800 flex w-full items-center justify-center rounded-md border border-transparent bg-theme-color px-4 py-2 text-base font-medium text-white shadow-sm"
1418
1495
  },
1419
1496
  "Find your vehicle",
1420
- b ? /* @__PURE__ */ React.createElement(
1421
- oa,
1497
+ x ? /* @__PURE__ */ r.createElement(
1498
+ ia,
1422
1499
  {
1423
1500
  weight: "bold",
1424
1501
  className: "ml-3 h-4 w-4 animate-spin",
@@ -1427,7 +1504,7 @@ function ut(o) {
1427
1504
  ) : ""
1428
1505
  )
1429
1506
  )),
1430
- /* @__PURE__ */ React.createElement("div", { className: "mt-8 text-center" }, /* @__PURE__ */ React.createElement(
1507
+ /* @__PURE__ */ r.createElement("div", { className: "mt-8 text-center" }, /* @__PURE__ */ r.createElement(
1431
1508
  "a",
1432
1509
  {
1433
1510
  href: `https://use.partbot.io/?ref=${window.location.hostname}`,
@@ -1435,81 +1512,85 @@ function ut(o) {
1435
1512
  rel: "noreferrer",
1436
1513
  className: "mx-auto inline-flex max-w-sm items-center text-center text-xs font-medium tracking-tight text-stone-500 transition gap-2"
1437
1514
  },
1438
- /* @__PURE__ */ React.createElement("span", null, "Powered by"),
1439
- /* @__PURE__ */ React.createElement(no, { className: "inline h-4" })
1515
+ /* @__PURE__ */ r.createElement("span", null, "Powered by"),
1516
+ /* @__PURE__ */ r.createElement(so, { className: "inline h-4" })
1440
1517
  ))
1441
1518
  )
1442
1519
  ));
1443
1520
  }
1444
- ut.propTypes = {
1445
- apiKey: H.string.isRequired,
1446
- callbackUrl: H.string,
1447
- productsUrl: H.string,
1448
- themeColor: H.string,
1449
- useGeolocation: H.bool,
1450
- buttonTheme: H.oneOf(["light", "dark"]),
1451
- responsive: H.bool,
1452
- placeholder: H.string,
1453
- intro: H.string,
1454
- supportMessage: H.string,
1455
- actionButtonLabel: H.string,
1456
- isOpen: H.bool,
1457
- onOpenChange: H.func,
1458
- hideDefaultButton: H.bool,
1459
- onModalClose: H.func,
1460
- autoCloseOnSelect: H.bool
1521
+ bt.propTypes = {
1522
+ apiKey: T.string.isRequired,
1523
+ callbackUrl: T.string,
1524
+ productsUrl: T.string,
1525
+ themeColor: T.string,
1526
+ useGeolocation: T.bool,
1527
+ buttonTheme: T.oneOf(["light", "dark"]),
1528
+ responsive: T.bool,
1529
+ placeholder: T.string,
1530
+ intro: T.string,
1531
+ supportMessage: T.string,
1532
+ actionButtonLabel: T.string,
1533
+ isOpen: T.bool,
1534
+ onOpenChange: T.func,
1535
+ hideDefaultButton: T.bool,
1536
+ onModalClose: T.func,
1537
+ autoCloseOnSelect: T.bool,
1538
+ displayMode: T.oneOf(["modal", "inline"]),
1539
+ demoMode: T.oneOfType([T.bool, T.string])
1461
1540
  };
1462
- const pt = '@import"https://fonts.googleapis.com/css2?family=Inter:wght@400..800&display=swap";/*! tailwindcss v4.1.11 | MIT License | https://tailwindcss.com */@layer properties{*,:before,:after,::backdrop{--tw-space-y-reverse:0;--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-duration:initial;--tw-ease:initial;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0}plate-search,plate-search *,plate-search:before,plate-search:after,plate-search::backdrop{--tw-space-y-reverse:0;--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-duration:initial;--tw-ease:initial;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0}:host,:host *,:host:before,:host:after,:host::backdrop{--tw-space-y-reverse:0;--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-duration:initial;--tw-ease:initial;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0}}@layer theme{:root,:host{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-red-50:oklch(97.1% .013 17.38);--color-red-400:oklch(70.4% .191 22.216);--color-red-800:oklch(44.4% .177 26.899);--color-emerald-100:oklch(95% .052 163.051);--color-emerald-300:oklch(84.5% .143 164.978);--color-emerald-400:oklch(76.5% .177 163.223);--color-emerald-500:oklch(69.6% .17 162.48);--color-emerald-600:oklch(59.6% .145 163.225);--color-emerald-700:oklch(50.8% .118 165.612);--color-stone-50:oklch(98.5% .001 106.423);--color-stone-100:oklch(97% .001 106.424);--color-stone-200:oklch(92.3% .003 48.717);--color-stone-300:oklch(86.9% .005 56.366);--color-stone-400:oklch(70.9% .01 56.259);--color-stone-500:oklch(55.3% .013 58.071);--color-stone-600:oklch(44.4% .011 73.639);--color-stone-700:oklch(37.4% .01 67.558);--color-stone-900:oklch(21.6% .006 56.043);--color-black:#000;--color-white:#fff;--spacing:.25rem;--container-sm:24rem;--container-lg:32rem;--container-2xl:42rem;--container-7xl:80rem;--text-xs:.75rem;--text-xs--line-height:calc(1/.75);--text-sm:.875rem;--text-sm--line-height:calc(1.25/.875);--text-base:1rem;--text-base--line-height: 1.5 ;--text-xl:1.25rem;--text-xl--line-height:calc(1.75/1.25);--text-2xl:1.5rem;--text-2xl--line-height:calc(2/1.5);--text-4xl:2.25rem;--text-4xl--line-height:calc(2.5/2.25);--text-5xl:3rem;--text-5xl--line-height:1;--text-7xl:4.5rem;--text-7xl--line-height:1;--text-8xl:6rem;--text-8xl--line-height:1;--font-weight-medium:500;--font-weight-bold:700;--font-weight-extrabold:800;--tracking-tight:-.025em;--tracking-wide:.025em;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--ease-in:cubic-bezier(.4,0,1,1);--ease-out:cubic-bezier(0,0,.2,1);--animate-spin:spin 1s linear infinite;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--font-license:"License Plate"}plate-search,:host{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-red-50:oklch(97.1% .013 17.38);--color-red-400:oklch(70.4% .191 22.216);--color-red-800:oklch(44.4% .177 26.899);--color-emerald-100:oklch(95% .052 163.051);--color-emerald-300:oklch(84.5% .143 164.978);--color-emerald-400:oklch(76.5% .177 163.223);--color-emerald-500:oklch(69.6% .17 162.48);--color-emerald-600:oklch(59.6% .145 163.225);--color-emerald-700:oklch(50.8% .118 165.612);--color-stone-50:oklch(98.5% .001 106.423);--color-stone-100:oklch(97% .001 106.424);--color-stone-200:oklch(92.3% .003 48.717);--color-stone-300:oklch(86.9% .005 56.366);--color-stone-400:oklch(70.9% .01 56.259);--color-stone-500:oklch(55.3% .013 58.071);--color-stone-600:oklch(44.4% .011 73.639);--color-stone-700:oklch(37.4% .01 67.558);--color-stone-900:oklch(21.6% .006 56.043);--color-black:#000;--color-white:#fff;--spacing:.25rem;--container-sm:24rem;--container-lg:32rem;--container-2xl:42rem;--container-7xl:80rem;--text-xs:.75rem;--text-xs--line-height:calc(1/.75);--text-sm:.875rem;--text-sm--line-height:calc(1.25/.875);--text-base:1rem;--text-base--line-height: 1.5 ;--text-xl:1.25rem;--text-xl--line-height:calc(1.75/1.25);--text-2xl:1.5rem;--text-2xl--line-height:calc(2/1.5);--text-4xl:2.25rem;--text-4xl--line-height:calc(2.5/2.25);--text-5xl:3rem;--text-5xl--line-height:1;--text-7xl:4.5rem;--text-7xl--line-height:1;--text-8xl:6rem;--text-8xl--line-height:1;--font-weight-medium:500;--font-weight-bold:700;--font-weight-extrabold:800;--tracking-tight:-.025em;--tracking-wide:.025em;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--ease-in:cubic-bezier(.4,0,1,1);--ease-out:cubic-bezier(0,0,.2,1);--animate-spin:spin 1s linear infinite;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--font-license:"License Plate"}:host{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-red-50:oklch(97.1% .013 17.38);--color-red-400:oklch(70.4% .191 22.216);--color-red-800:oklch(44.4% .177 26.899);--color-emerald-100:oklch(95% .052 163.051);--color-emerald-300:oklch(84.5% .143 164.978);--color-emerald-400:oklch(76.5% .177 163.223);--color-emerald-500:oklch(69.6% .17 162.48);--color-emerald-600:oklch(59.6% .145 163.225);--color-emerald-700:oklch(50.8% .118 165.612);--color-stone-50:oklch(98.5% .001 106.423);--color-stone-100:oklch(97% .001 106.424);--color-stone-200:oklch(92.3% .003 48.717);--color-stone-300:oklch(86.9% .005 56.366);--color-stone-400:oklch(70.9% .01 56.259);--color-stone-500:oklch(55.3% .013 58.071);--color-stone-600:oklch(44.4% .011 73.639);--color-stone-700:oklch(37.4% .01 67.558);--color-stone-900:oklch(21.6% .006 56.043);--color-black:#000;--color-white:#fff;--spacing:.25rem;--container-sm:24rem;--container-lg:32rem;--container-2xl:42rem;--container-7xl:80rem;--text-xs:.75rem;--text-xs--line-height:calc(1/.75);--text-sm:.875rem;--text-sm--line-height:calc(1.25/.875);--text-base:1rem;--text-base--line-height: 1.5 ;--text-xl:1.25rem;--text-xl--line-height:calc(1.75/1.25);--text-2xl:1.5rem;--text-2xl--line-height:calc(2/1.5);--text-4xl:2.25rem;--text-4xl--line-height:calc(2.5/2.25);--text-5xl:3rem;--text-5xl--line-height:1;--text-7xl:4.5rem;--text-7xl--line-height:1;--text-8xl:6rem;--text-8xl--line-height:1;--font-weight-medium:500;--font-weight-bold:700;--font-weight-extrabold:800;--tracking-tight:-.025em;--tracking-wide:.025em;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--ease-in:cubic-bezier(.4,0,1,1);--ease-out:cubic-bezier(0,0,.2,1);--animate-spin:spin 1s linear infinite;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--font-license:"License Plate"}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;-moz-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;-moz-appearance:button;appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components{.modal-container{inset:calc(var(--spacing)*0);top:calc(var(--spacing)*0);z-index:9999;background-color:#00000080;justify-content:center;align-items:flex-start;width:100vw;height:100vh;display:flex;position:fixed;overflow-y:auto}@supports (color:color-mix(in lab,red,red)){.modal-container{background-color:color-mix(in oklab,var(--color-black)50%,transparent)}}.modal-container{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}@media (min-width:48rem){.modal-container{align-items:center}}.modal-container-open{pointer-events:auto;opacity:1;--tw-duration:.2s;--tw-ease:var(--ease-out);transition-duration:.2s;transition-timing-function:var(--ease-out)}.modal-container-close{pointer-events:none;opacity:0;--tw-duration:.2s;--tw-ease:var(--ease-in);transition-duration:.2s;transition-timing-function:var(--ease-in)}.modal{width:100vw;height:100vh;transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,);overscroll-behavior:auto;background-color:var(--color-white);padding-inline:calc(var(--spacing)*6);padding-top:calc(var(--spacing)*8);padding-bottom:calc(var(--spacing)*8);text-align:left;vertical-align:bottom;font-family:var(--font-sans);--tw-shadow:0 20px 25px -5px var(--tw-shadow-color,#0000001a),0 8px 10px -6px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration));display:inline-block;overflow:hidden}@media (min-width:40rem){.modal{margin-block:calc(var(--spacing)*8);width:100%;max-width:var(--container-lg);vertical-align:middle}}@media (min-width:48rem){.modal{margin:calc(var(--spacing)*3);height:auto;max-width:var(--container-lg);border-radius:var(--radius-xl);padding-inline:calc(var(--spacing)*12)}}.modal-close{--tw-translate-y:calc(var(--spacing)*4);translate:var(--tw-translate-x)var(--tw-translate-y);opacity:0;--tw-duration:.2s;--tw-ease:var(--ease-in);transition-duration:.2s;transition-timing-function:var(--ease-in)}@media (min-width:40rem){.modal-close{--tw-translate-y:calc(var(--spacing)*0);translate:var(--tw-translate-x)var(--tw-translate-y)}}.modal-open{--tw-translate-y:calc(var(--spacing)*0);translate:var(--tw-translate-x)var(--tw-translate-y);opacity:1;--tw-duration:.3s;--tw-ease:var(--ease-out);transition-duration:.3s;transition-timing-function:var(--ease-out)}.modal-scroll-area{margin-top:calc(var(--spacing)*3);margin-bottom:calc(var(--spacing)*3);max-height:380px;overflow:auto}.pl8srch-text a{color:var(--partbot-theme);opacity:.8;transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration));--tw-duration:.2s;text-decoration-line:underline;transition-duration:.2s}@media (hover:hover){.pl8srch-text a:hover{color:var(--partbot-theme);opacity:1}}}@layer utilities{.visible{visibility:visible}.sr-only{clip:rect(0,0,0,0);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.inset-0{inset:calc(var(--spacing)*0)}.top-0{top:calc(var(--spacing)*0)}.right-0{right:calc(var(--spacing)*0)}.isolate{isolation:isolate}.z-0{z-index:0}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:48rem){.container{max-width:48rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:96rem){.container{max-width:96rem}}.mx-auto{margin-inline:auto}.my-4{margin-block:calc(var(--spacing)*4)}.my-5{margin-block:calc(var(--spacing)*5)}.my-6{margin-block:calc(var(--spacing)*6)}.mt-0\\.5{margin-top:calc(var(--spacing)*.5)}.mt-2{margin-top:calc(var(--spacing)*2)}.mt-3{margin-top:calc(var(--spacing)*3)}.mt-5{margin-top:calc(var(--spacing)*5)}.mt-6{margin-top:calc(var(--spacing)*6)}.mt-8{margin-top:calc(var(--spacing)*8)}.mt-12{margin-top:calc(var(--spacing)*12)}.mt-auto{margin-top:auto}.mr-1{margin-right:calc(var(--spacing)*1)}.mr-2{margin-right:calc(var(--spacing)*2)}.mb-4{margin-bottom:calc(var(--spacing)*4)}.mb-5{margin-bottom:calc(var(--spacing)*5)}.-ml-1{margin-left:calc(var(--spacing)*-1)}.-ml-px{margin-left:-1px}.ml-3{margin-left:calc(var(--spacing)*3)}.ml-4{margin-left:calc(var(--spacing)*4)}.block{display:block}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.inline-flex{display:inline-flex}.\\!h-5{height:calc(var(--spacing)*5)!important}.h-4{height:calc(var(--spacing)*4)}.h-5{height:calc(var(--spacing)*5)}.h-\\[44px\\]{height:44px}.h-\\[130px\\]{height:130px}.h-full{height:100%}.min-h-screen{min-height:100vh}.\\!w-5{width:calc(var(--spacing)*5)!important}.w-4{width:calc(var(--spacing)*4)}.w-5{width:calc(var(--spacing)*5)}.w-full{width:100%}.max-w-7xl{max-width:var(--container-7xl)}.max-w-prose{max-width:65ch}.max-w-sm{max-width:var(--container-sm)}.flex-shrink-0{flex-shrink:0}.flex-grow{flex-grow:1}.flex-grow-0{flex-grow:0}.animate-spin{animation:var(--animate-spin)}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.items-center{align-items:center}.items-stretch{align-items:stretch}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.gap-1{gap:calc(var(--spacing)*1)}.gap-2{gap:calc(var(--spacing)*2)}.gap-3{gap:calc(var(--spacing)*3)}.gap-4{gap:calc(var(--spacing)*4)}.gap-5{gap:calc(var(--spacing)*5)}:where(.space-y-8>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*8)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*8)*calc(1 - var(--tw-space-y-reverse)))}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-xl{border-radius:var(--radius-xl)}.rounded-l-md{border-top-left-radius:var(--radius-md);border-bottom-left-radius:var(--radius-md)}.rounded-r-md{border-top-right-radius:var(--radius-md);border-bottom-right-radius:var(--radius-md)}.border{border-style:var(--tw-border-style);border-width:1px}.border-4{border-style:var(--tw-border-style);border-width:4px}.border-\\[6px\\]{border-style:var(--tw-border-style);border-width:6px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-b-2{border-bottom-style:var(--tw-border-style);border-bottom-width:2px}.border-double{--tw-border-style:double;border-style:double}.border-stone-200{border-color:var(--color-stone-200)}.border-stone-300{border-color:var(--color-stone-300)}.border-stone-400{border-color:var(--color-stone-400)}.border-theme-color{border-color:var(--partbot-theme)}.border-transparent{border-color:#0000}.border-t-white\\/20{border-top-color:#fff3}@supports (color:color-mix(in lab,red,red)){.border-t-white\\/20{border-top-color:color-mix(in oklab,var(--color-white)20%,transparent)}}.border-b-emerald-600{border-bottom-color:var(--color-emerald-600)}.bg-emerald-500{background-color:var(--color-emerald-500)}.bg-red-50{background-color:var(--color-red-50)}.bg-stone-50{background-color:var(--color-stone-50)}.bg-theme-color{background-color:var(--partbot-theme)}.bg-transparent{background-color:#0000}.bg-white{background-color:var(--color-white)}.p-3{padding:calc(var(--spacing)*3)}.p-4{padding:calc(var(--spacing)*4)}.p-8{padding:calc(var(--spacing)*8)}.px-2{padding-inline:calc(var(--spacing)*2)}.px-3{padding-inline:calc(var(--spacing)*3)}.px-4{padding-inline:calc(var(--spacing)*4)}.px-6{padding-inline:calc(var(--spacing)*6)}.px-8{padding-inline:calc(var(--spacing)*8)}.py-1\\.5{padding-block:calc(var(--spacing)*1.5)}.py-2{padding-block:calc(var(--spacing)*2)}.py-3{padding-block:calc(var(--spacing)*3)}.py-4{padding-block:calc(var(--spacing)*4)}.py-5{padding-block:calc(var(--spacing)*5)}.py-8{padding-block:calc(var(--spacing)*8)}.pt-4{padding-top:calc(var(--spacing)*4)}.pt-5{padding-top:calc(var(--spacing)*5)}.pr-4{padding-right:calc(var(--spacing)*4)}.pr-5{padding-right:calc(var(--spacing)*5)}.pb-2{padding-bottom:calc(var(--spacing)*2)}.pb-4{padding-bottom:calc(var(--spacing)*4)}.text-center{text-align:center}.text-left{text-align:left}.text-2xl{font-size:var(--text-2xl);line-height:var(--tw-leading,var(--text-2xl--line-height))}.text-4xl{font-size:var(--text-4xl);line-height:var(--tw-leading,var(--text-4xl--line-height))}.text-5xl{font-size:var(--text-5xl);line-height:var(--tw-leading,var(--text-5xl--line-height))}.text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.text-\\[60px\\]{font-size:60px}.leading-none{--tw-leading:1;line-height:1}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-extrabold{--tw-font-weight:var(--font-weight-extrabold);font-weight:var(--font-weight-extrabold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.tracking-tight{--tw-tracking:var(--tracking-tight);letter-spacing:var(--tracking-tight)}.tracking-wide{--tw-tracking:var(--tracking-wide);letter-spacing:var(--tracking-wide)}.text-balance{text-wrap:balance}.whitespace-normal\\!{white-space:normal!important}.whitespace-nowrap{white-space:nowrap}.text-black{color:var(--color-black)}.text-emerald-100{color:var(--color-emerald-100)}.text-emerald-300{color:var(--color-emerald-300)}.text-emerald-400{color:var(--color-emerald-400)}.text-emerald-500{color:var(--color-emerald-500)}.text-emerald-700{color:var(--color-emerald-700)}.text-red-400{color:var(--color-red-400)}.text-red-800{color:var(--color-red-800)}.text-stone-100{color:var(--color-stone-100)}.text-stone-400{color:var(--color-stone-400)}.text-stone-500{color:var(--color-stone-500)}.text-stone-600{color:var(--color-stone-600)}.text-stone-700{color:var(--color-stone-700)}.text-stone-900{color:var(--color-stone-900)}.text-theme-color{color:var(--partbot-theme)}.text-white{color:var(--color-white)}.capitalize{text-transform:capitalize}.uppercase{text-transform:uppercase}.shadow,.shadow-sm{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-xl{--tw-shadow:0 20px 25px -5px var(--tw-shadow-color,#0000001a),0 8px 10px -6px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,visibility,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-200{--tw-duration:.2s;transition-duration:.2s}.duration-300{--tw-duration:.3s;transition-duration:.3s}.group-open\\:rotate-180:is(:where(.group):is([open],:popover-open,:open) *){rotate:180deg}@media (hover:hover){.hover\\:border-stone-400:hover{border-color:var(--color-stone-400)}.hover\\:bg-emerald-500:hover{background-color:var(--color-emerald-500)}.hover\\:bg-stone-50:hover{background-color:var(--color-stone-50)}.hover\\:bg-theme-color:hover{background-color:var(--partbot-theme)}.hover\\:text-stone-500:hover{color:var(--color-stone-500)}.hover\\:text-white:hover{color:var(--color-white)}}.focus\\:z-10:focus{z-index:10}.focus\\:border-bg-theme-color:focus,.focus\\:border-theme-color:focus{border-color:var(--partbot-theme)}.focus\\:ring-1:focus{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(1px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus\\:ring-bg-theme-color:focus{--tw-ring-color:var(--partbot-theme)}.focus\\:outline-none:focus{--tw-outline-style:none;outline-style:none}@media (min-width:40rem){.sm\\:flex{display:flex}.sm\\:max-w-prose{max-width:65ch}.sm\\:justify-between{justify-content:space-between}.sm\\:overflow-hidden{overflow:hidden}.sm\\:px-3{padding-inline:calc(var(--spacing)*3)}.sm\\:px-6{padding-inline:calc(var(--spacing)*6)}}@media (min-width:48rem){.md\\:mt-6{margin-top:calc(var(--spacing)*6)}.md\\:mt-12{margin-top:calc(var(--spacing)*12)}.md\\:mr-2{margin-right:calc(var(--spacing)*2)}.md\\:-ml-1{margin-left:calc(var(--spacing)*-1)}.md\\:inline{display:inline}.md\\:h-\\[150px\\]{height:150px}.md\\:max-w-2xl{max-width:var(--container-2xl)}.md\\:flex-row{flex-direction:row}.md\\:items-center{align-items:center}.md\\:justify-center{justify-content:center}.md\\:border-8{border-style:var(--tw-border-style);border-width:8px}.md\\:p-4{padding:calc(var(--spacing)*4)}.md\\:px-3{padding-inline:calc(var(--spacing)*3)}.md\\:py-12{padding-block:calc(var(--spacing)*12)}.md\\:text-center{text-align:center}.md\\:text-7xl{font-size:var(--text-7xl);line-height:var(--tw-leading,var(--text-7xl--line-height))}.md\\:text-xl{font-size:var(--text-xl);line-height:var(--tw-leading,var(--text-xl--line-height))}.md\\:text-\\[75px\\]{font-size:75px}}@media (min-width:64rem){.lg\\:px-8{padding-inline:calc(var(--spacing)*8)}.lg\\:py-12{padding-block:calc(var(--spacing)*12)}.lg\\:text-8xl{font-size:var(--text-8xl);line-height:var(--tw-leading,var(--text-8xl--line-height))}.lg\\:leading-20{--tw-leading:calc(var(--spacing)*20);line-height:calc(var(--spacing)*20)}}.\\[\\&_summary\\:\\:-webkit-details-marker\\]\\:hidden summary::-webkit-details-marker{display:none}.\\[\\&\\>a\\]\\:text-theme-color>a{color:var(--partbot-theme)}@media (hover:hover){.hover\\:\\[\\&\\>a\\]\\:text-theme-color:hover>a{color:var(--partbot-theme)}}.font-license{font-family:var(--font-license)}}@font-face{font-family:License Plate;src:url(https://res.cloudinary.com/proex/raw/upload/v1730709140/partbot/PartbotPlate.woff2)format("woff2");font-weight:400;font-style:normal}:host{overflow-wrap:break-word;white-space:normal;display:block;overflow:visible}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@keyframes spin{to{transform:rotate(360deg)}}';
1463
- function io({ domElement: o, webComponentInstance: t }) {
1464
- const c = o.getAttribute("data-api-key"), l = o.getAttribute("data-callback-url"), u = o.getAttribute("data-products-url"), h = o.getAttribute("data-theme-color"), p = o.getAttribute("data-use-geolocation") === "true", m = o.getAttribute("data-button"), w = o.getAttribute("data-responsive") ? o.getAttribute("data-responsive") === "true" : !0, r = o.getAttribute("data-placeholder"), f = o.getAttribute("data-intro"), b = o.getAttribute("data-support-message"), N = o.getAttribute("data-action-button-label"), T = o.getAttribute("data-hide-default-button") === "true", y = o.getAttribute("data-auto-close-on-select") === "true", [O, I] = q(!1);
1465
- return V(() => {
1541
+ const wt = '@import"https://fonts.googleapis.com/css2?family=Inter:wght@400..800&display=swap";/*! tailwindcss v4.1.11 | MIT License | https://tailwindcss.com */@layer properties{*,:before,:after,::backdrop{--tw-space-y-reverse:0;--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-duration:initial;--tw-ease:initial;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0}plate-search,plate-search *,plate-search:before,plate-search:after,plate-search::backdrop{--tw-space-y-reverse:0;--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-duration:initial;--tw-ease:initial;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0}:host,:host *,:host:before,:host:after,:host::backdrop{--tw-space-y-reverse:0;--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-duration:initial;--tw-ease:initial;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0}}@layer theme{:root,:host{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-red-50:oklch(97.1% .013 17.38);--color-red-400:oklch(70.4% .191 22.216);--color-red-800:oklch(44.4% .177 26.899);--color-emerald-100:oklch(95% .052 163.051);--color-emerald-300:oklch(84.5% .143 164.978);--color-emerald-400:oklch(76.5% .177 163.223);--color-emerald-500:oklch(69.6% .17 162.48);--color-emerald-600:oklch(59.6% .145 163.225);--color-emerald-700:oklch(50.8% .118 165.612);--color-stone-50:oklch(98.5% .001 106.423);--color-stone-100:oklch(97% .001 106.424);--color-stone-200:oklch(92.3% .003 48.717);--color-stone-300:oklch(86.9% .005 56.366);--color-stone-400:oklch(70.9% .01 56.259);--color-stone-500:oklch(55.3% .013 58.071);--color-stone-600:oklch(44.4% .011 73.639);--color-stone-700:oklch(37.4% .01 67.558);--color-stone-900:oklch(21.6% .006 56.043);--color-black:#000;--color-white:#fff;--spacing:.25rem;--container-sm:24rem;--container-lg:32rem;--container-2xl:42rem;--container-7xl:80rem;--text-xs:.75rem;--text-xs--line-height:calc(1/.75);--text-sm:.875rem;--text-sm--line-height:calc(1.25/.875);--text-base:1rem;--text-base--line-height: 1.5 ;--text-xl:1.25rem;--text-xl--line-height:calc(1.75/1.25);--text-2xl:1.5rem;--text-2xl--line-height:calc(2/1.5);--text-4xl:2.25rem;--text-4xl--line-height:calc(2.5/2.25);--text-5xl:3rem;--text-5xl--line-height:1;--text-7xl:4.5rem;--text-7xl--line-height:1;--text-8xl:6rem;--text-8xl--line-height:1;--font-weight-medium:500;--font-weight-bold:700;--font-weight-extrabold:800;--tracking-tight:-.025em;--tracking-wide:.025em;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--ease-in:cubic-bezier(.4,0,1,1);--ease-out:cubic-bezier(0,0,.2,1);--animate-spin:spin 1s linear infinite;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--font-license:"License Plate"}plate-search,:host{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-red-50:oklch(97.1% .013 17.38);--color-red-400:oklch(70.4% .191 22.216);--color-red-800:oklch(44.4% .177 26.899);--color-emerald-100:oklch(95% .052 163.051);--color-emerald-300:oklch(84.5% .143 164.978);--color-emerald-400:oklch(76.5% .177 163.223);--color-emerald-500:oklch(69.6% .17 162.48);--color-emerald-600:oklch(59.6% .145 163.225);--color-emerald-700:oklch(50.8% .118 165.612);--color-stone-50:oklch(98.5% .001 106.423);--color-stone-100:oklch(97% .001 106.424);--color-stone-200:oklch(92.3% .003 48.717);--color-stone-300:oklch(86.9% .005 56.366);--color-stone-400:oklch(70.9% .01 56.259);--color-stone-500:oklch(55.3% .013 58.071);--color-stone-600:oklch(44.4% .011 73.639);--color-stone-700:oklch(37.4% .01 67.558);--color-stone-900:oklch(21.6% .006 56.043);--color-black:#000;--color-white:#fff;--spacing:.25rem;--container-sm:24rem;--container-lg:32rem;--container-2xl:42rem;--container-7xl:80rem;--text-xs:.75rem;--text-xs--line-height:calc(1/.75);--text-sm:.875rem;--text-sm--line-height:calc(1.25/.875);--text-base:1rem;--text-base--line-height: 1.5 ;--text-xl:1.25rem;--text-xl--line-height:calc(1.75/1.25);--text-2xl:1.5rem;--text-2xl--line-height:calc(2/1.5);--text-4xl:2.25rem;--text-4xl--line-height:calc(2.5/2.25);--text-5xl:3rem;--text-5xl--line-height:1;--text-7xl:4.5rem;--text-7xl--line-height:1;--text-8xl:6rem;--text-8xl--line-height:1;--font-weight-medium:500;--font-weight-bold:700;--font-weight-extrabold:800;--tracking-tight:-.025em;--tracking-wide:.025em;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--ease-in:cubic-bezier(.4,0,1,1);--ease-out:cubic-bezier(0,0,.2,1);--animate-spin:spin 1s linear infinite;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--font-license:"License Plate"}:host{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-red-50:oklch(97.1% .013 17.38);--color-red-400:oklch(70.4% .191 22.216);--color-red-800:oklch(44.4% .177 26.899);--color-emerald-100:oklch(95% .052 163.051);--color-emerald-300:oklch(84.5% .143 164.978);--color-emerald-400:oklch(76.5% .177 163.223);--color-emerald-500:oklch(69.6% .17 162.48);--color-emerald-600:oklch(59.6% .145 163.225);--color-emerald-700:oklch(50.8% .118 165.612);--color-stone-50:oklch(98.5% .001 106.423);--color-stone-100:oklch(97% .001 106.424);--color-stone-200:oklch(92.3% .003 48.717);--color-stone-300:oklch(86.9% .005 56.366);--color-stone-400:oklch(70.9% .01 56.259);--color-stone-500:oklch(55.3% .013 58.071);--color-stone-600:oklch(44.4% .011 73.639);--color-stone-700:oklch(37.4% .01 67.558);--color-stone-900:oklch(21.6% .006 56.043);--color-black:#000;--color-white:#fff;--spacing:.25rem;--container-sm:24rem;--container-lg:32rem;--container-2xl:42rem;--container-7xl:80rem;--text-xs:.75rem;--text-xs--line-height:calc(1/.75);--text-sm:.875rem;--text-sm--line-height:calc(1.25/.875);--text-base:1rem;--text-base--line-height: 1.5 ;--text-xl:1.25rem;--text-xl--line-height:calc(1.75/1.25);--text-2xl:1.5rem;--text-2xl--line-height:calc(2/1.5);--text-4xl:2.25rem;--text-4xl--line-height:calc(2.5/2.25);--text-5xl:3rem;--text-5xl--line-height:1;--text-7xl:4.5rem;--text-7xl--line-height:1;--text-8xl:6rem;--text-8xl--line-height:1;--font-weight-medium:500;--font-weight-bold:700;--font-weight-extrabold:800;--tracking-tight:-.025em;--tracking-wide:.025em;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--ease-in:cubic-bezier(.4,0,1,1);--ease-out:cubic-bezier(0,0,.2,1);--animate-spin:spin 1s linear infinite;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--font-license:"License Plate"}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;-moz-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;-moz-appearance:button;appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components{.modal-container{inset:calc(var(--spacing)*0);top:calc(var(--spacing)*0);z-index:9999;background-color:#00000080;justify-content:center;align-items:flex-start;width:100vw;height:100vh;display:flex;position:fixed;overflow-y:auto}@supports (color:color-mix(in lab,red,red)){.modal-container{background-color:color-mix(in oklab,var(--color-black)50%,transparent)}}.modal-container{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}@media (min-width:48rem){.modal-container{align-items:center}}.modal-container-open{pointer-events:auto;opacity:1;--tw-duration:.2s;--tw-ease:var(--ease-out);transition-duration:.2s;transition-timing-function:var(--ease-out)}.modal-container-close{pointer-events:none;opacity:0;--tw-duration:.2s;--tw-ease:var(--ease-in);transition-duration:.2s;transition-timing-function:var(--ease-in)}.modal{width:100vw;height:100vh;transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,);overscroll-behavior:auto;background-color:var(--color-white);padding-inline:calc(var(--spacing)*6);padding-top:calc(var(--spacing)*8);padding-bottom:calc(var(--spacing)*8);text-align:left;vertical-align:bottom;font-family:var(--font-sans);--tw-shadow:0 20px 25px -5px var(--tw-shadow-color,#0000001a),0 8px 10px -6px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration));display:inline-block;overflow:hidden}@media (min-width:40rem){.modal{margin-block:calc(var(--spacing)*8);width:100%;max-width:var(--container-lg);vertical-align:middle}}@media (min-width:48rem){.modal{margin:calc(var(--spacing)*3);height:auto;max-width:var(--container-lg);border-radius:var(--radius-xl);padding-inline:calc(var(--spacing)*12)}}.modal-close{--tw-translate-y:calc(var(--spacing)*4);translate:var(--tw-translate-x)var(--tw-translate-y);opacity:0;--tw-duration:.2s;--tw-ease:var(--ease-in);transition-duration:.2s;transition-timing-function:var(--ease-in)}@media (min-width:40rem){.modal-close{--tw-translate-y:calc(var(--spacing)*0);translate:var(--tw-translate-x)var(--tw-translate-y)}}.modal-open{--tw-translate-y:calc(var(--spacing)*0);translate:var(--tw-translate-x)var(--tw-translate-y);opacity:1;--tw-duration:.3s;--tw-ease:var(--ease-out);transition-duration:.3s;transition-timing-function:var(--ease-out)}.modal-scroll-area{margin-top:calc(var(--spacing)*3);margin-bottom:calc(var(--spacing)*3);max-height:380px;overflow:auto}.inline-container{margin-top:calc(var(--spacing)*4);width:100%;position:relative}.inline-panel{width:100%;height:auto;max-width:var(--container-lg);transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,);border-radius:var(--radius-xl);background-color:var(--color-white);padding-inline:calc(var(--spacing)*6);padding-top:calc(var(--spacing)*8);padding-bottom:calc(var(--spacing)*8);text-align:left;font-family:var(--font-sans);--tw-shadow:0 20px 25px -5px var(--tw-shadow-color,#0000001a),0 8px 10px -6px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);display:inline-block;overflow:hidden}@media (min-width:48rem){.inline-panel{padding-inline:calc(var(--spacing)*12)}}.pl8srch-text a{color:var(--partbot-theme);opacity:.8;transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration));--tw-duration:.2s;text-decoration-line:underline;transition-duration:.2s}@media (hover:hover){.pl8srch-text a:hover{color:var(--partbot-theme);opacity:1}}}@layer utilities{.visible{visibility:visible}.sr-only{clip:rect(0,0,0,0);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.inset-0{inset:calc(var(--spacing)*0)}.top-0{top:calc(var(--spacing)*0)}.right-0{right:calc(var(--spacing)*0)}.isolate{isolation:isolate}.z-0{z-index:0}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:48rem){.container{max-width:48rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:96rem){.container{max-width:96rem}}.mx-auto{margin-inline:auto}.my-4{margin-block:calc(var(--spacing)*4)}.my-5{margin-block:calc(var(--spacing)*5)}.my-6{margin-block:calc(var(--spacing)*6)}.mt-0\\.5{margin-top:calc(var(--spacing)*.5)}.mt-2{margin-top:calc(var(--spacing)*2)}.mt-3{margin-top:calc(var(--spacing)*3)}.mt-5{margin-top:calc(var(--spacing)*5)}.mt-6{margin-top:calc(var(--spacing)*6)}.mt-8{margin-top:calc(var(--spacing)*8)}.mt-12{margin-top:calc(var(--spacing)*12)}.mt-auto{margin-top:auto}.mr-1{margin-right:calc(var(--spacing)*1)}.mr-2{margin-right:calc(var(--spacing)*2)}.mb-4{margin-bottom:calc(var(--spacing)*4)}.mb-5{margin-bottom:calc(var(--spacing)*5)}.-ml-1{margin-left:calc(var(--spacing)*-1)}.-ml-px{margin-left:-1px}.ml-3{margin-left:calc(var(--spacing)*3)}.ml-4{margin-left:calc(var(--spacing)*4)}.block{display:block}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.inline-flex{display:inline-flex}.\\!h-5{height:calc(var(--spacing)*5)!important}.h-4{height:calc(var(--spacing)*4)}.h-5{height:calc(var(--spacing)*5)}.h-\\[44px\\]{height:44px}.h-\\[130px\\]{height:130px}.h-full{height:100%}.min-h-screen{min-height:100vh}.\\!w-5{width:calc(var(--spacing)*5)!important}.w-4{width:calc(var(--spacing)*4)}.w-5{width:calc(var(--spacing)*5)}.w-full{width:100%}.max-w-7xl{max-width:var(--container-7xl)}.max-w-prose{max-width:65ch}.max-w-sm{max-width:var(--container-sm)}.flex-shrink-0{flex-shrink:0}.flex-grow{flex-grow:1}.flex-grow-0{flex-grow:0}.animate-spin{animation:var(--animate-spin)}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.items-center{align-items:center}.items-stretch{align-items:stretch}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.gap-1{gap:calc(var(--spacing)*1)}.gap-2{gap:calc(var(--spacing)*2)}.gap-3{gap:calc(var(--spacing)*3)}.gap-4{gap:calc(var(--spacing)*4)}.gap-5{gap:calc(var(--spacing)*5)}:where(.space-y-8>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*8)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*8)*calc(1 - var(--tw-space-y-reverse)))}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-xl{border-radius:var(--radius-xl)}.rounded-l-md{border-top-left-radius:var(--radius-md);border-bottom-left-radius:var(--radius-md)}.rounded-r-md{border-top-right-radius:var(--radius-md);border-bottom-right-radius:var(--radius-md)}.border{border-style:var(--tw-border-style);border-width:1px}.border-4{border-style:var(--tw-border-style);border-width:4px}.border-\\[6px\\]{border-style:var(--tw-border-style);border-width:6px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-b-2{border-bottom-style:var(--tw-border-style);border-bottom-width:2px}.border-double{--tw-border-style:double;border-style:double}.border-stone-200{border-color:var(--color-stone-200)}.border-stone-300{border-color:var(--color-stone-300)}.border-stone-400{border-color:var(--color-stone-400)}.border-theme-color{border-color:var(--partbot-theme)}.border-transparent{border-color:#0000}.border-t-white\\/20{border-top-color:#fff3}@supports (color:color-mix(in lab,red,red)){.border-t-white\\/20{border-top-color:color-mix(in oklab,var(--color-white)20%,transparent)}}.border-b-emerald-600{border-bottom-color:var(--color-emerald-600)}.bg-emerald-500{background-color:var(--color-emerald-500)}.bg-red-50{background-color:var(--color-red-50)}.bg-stone-50{background-color:var(--color-stone-50)}.bg-theme-color{background-color:var(--partbot-theme)}.bg-transparent{background-color:#0000}.bg-white{background-color:var(--color-white)}.p-3{padding:calc(var(--spacing)*3)}.p-4{padding:calc(var(--spacing)*4)}.p-8{padding:calc(var(--spacing)*8)}.px-2{padding-inline:calc(var(--spacing)*2)}.px-3{padding-inline:calc(var(--spacing)*3)}.px-4{padding-inline:calc(var(--spacing)*4)}.px-6{padding-inline:calc(var(--spacing)*6)}.px-8{padding-inline:calc(var(--spacing)*8)}.py-1\\.5{padding-block:calc(var(--spacing)*1.5)}.py-2{padding-block:calc(var(--spacing)*2)}.py-3{padding-block:calc(var(--spacing)*3)}.py-4{padding-block:calc(var(--spacing)*4)}.py-5{padding-block:calc(var(--spacing)*5)}.py-8{padding-block:calc(var(--spacing)*8)}.pt-4{padding-top:calc(var(--spacing)*4)}.pt-5{padding-top:calc(var(--spacing)*5)}.pr-4{padding-right:calc(var(--spacing)*4)}.pr-5{padding-right:calc(var(--spacing)*5)}.pb-2{padding-bottom:calc(var(--spacing)*2)}.pb-4{padding-bottom:calc(var(--spacing)*4)}.text-center{text-align:center}.text-left{text-align:left}.text-2xl{font-size:var(--text-2xl);line-height:var(--tw-leading,var(--text-2xl--line-height))}.text-4xl{font-size:var(--text-4xl);line-height:var(--tw-leading,var(--text-4xl--line-height))}.text-5xl{font-size:var(--text-5xl);line-height:var(--tw-leading,var(--text-5xl--line-height))}.text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.text-\\[60px\\]{font-size:60px}.leading-none{--tw-leading:1;line-height:1}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-extrabold{--tw-font-weight:var(--font-weight-extrabold);font-weight:var(--font-weight-extrabold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.tracking-tight{--tw-tracking:var(--tracking-tight);letter-spacing:var(--tracking-tight)}.tracking-wide{--tw-tracking:var(--tracking-wide);letter-spacing:var(--tracking-wide)}.text-balance{text-wrap:balance}.whitespace-normal\\!{white-space:normal!important}.whitespace-nowrap{white-space:nowrap}.text-black{color:var(--color-black)}.text-emerald-100{color:var(--color-emerald-100)}.text-emerald-300{color:var(--color-emerald-300)}.text-emerald-400{color:var(--color-emerald-400)}.text-emerald-500{color:var(--color-emerald-500)}.text-emerald-700{color:var(--color-emerald-700)}.text-red-400{color:var(--color-red-400)}.text-red-800{color:var(--color-red-800)}.text-stone-100{color:var(--color-stone-100)}.text-stone-400{color:var(--color-stone-400)}.text-stone-500{color:var(--color-stone-500)}.text-stone-600{color:var(--color-stone-600)}.text-stone-700{color:var(--color-stone-700)}.text-stone-900{color:var(--color-stone-900)}.text-theme-color{color:var(--partbot-theme)}.text-white{color:var(--color-white)}.capitalize{text-transform:capitalize}.uppercase{text-transform:uppercase}.shadow,.shadow-sm{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-xl{--tw-shadow:0 20px 25px -5px var(--tw-shadow-color,#0000001a),0 8px 10px -6px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,visibility,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-200{--tw-duration:.2s;transition-duration:.2s}.duration-300{--tw-duration:.3s;transition-duration:.3s}.group-open\\:rotate-180:is(:where(.group):is([open],:popover-open,:open) *){rotate:180deg}@media (hover:hover){.hover\\:border-stone-400:hover{border-color:var(--color-stone-400)}.hover\\:bg-emerald-500:hover{background-color:var(--color-emerald-500)}.hover\\:bg-stone-50:hover{background-color:var(--color-stone-50)}.hover\\:bg-theme-color:hover{background-color:var(--partbot-theme)}.hover\\:text-stone-500:hover{color:var(--color-stone-500)}.hover\\:text-white:hover{color:var(--color-white)}}.focus\\:z-10:focus{z-index:10}.focus\\:border-bg-theme-color:focus,.focus\\:border-theme-color:focus{border-color:var(--partbot-theme)}.focus\\:ring-1:focus{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(1px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus\\:ring-bg-theme-color:focus{--tw-ring-color:var(--partbot-theme)}.focus\\:outline-none:focus{--tw-outline-style:none;outline-style:none}@media (min-width:40rem){.sm\\:flex{display:flex}.sm\\:max-w-prose{max-width:65ch}.sm\\:justify-between{justify-content:space-between}.sm\\:overflow-hidden{overflow:hidden}.sm\\:px-3{padding-inline:calc(var(--spacing)*3)}.sm\\:px-6{padding-inline:calc(var(--spacing)*6)}}@media (min-width:48rem){.md\\:mt-6{margin-top:calc(var(--spacing)*6)}.md\\:mt-12{margin-top:calc(var(--spacing)*12)}.md\\:mr-2{margin-right:calc(var(--spacing)*2)}.md\\:-ml-1{margin-left:calc(var(--spacing)*-1)}.md\\:inline{display:inline}.md\\:h-\\[150px\\]{height:150px}.md\\:max-w-2xl{max-width:var(--container-2xl)}.md\\:flex-row{flex-direction:row}.md\\:items-center{align-items:center}.md\\:justify-center{justify-content:center}.md\\:border-8{border-style:var(--tw-border-style);border-width:8px}.md\\:p-4{padding:calc(var(--spacing)*4)}.md\\:px-3{padding-inline:calc(var(--spacing)*3)}.md\\:py-12{padding-block:calc(var(--spacing)*12)}.md\\:text-center{text-align:center}.md\\:text-7xl{font-size:var(--text-7xl);line-height:var(--tw-leading,var(--text-7xl--line-height))}.md\\:text-xl{font-size:var(--text-xl);line-height:var(--tw-leading,var(--text-xl--line-height))}.md\\:text-\\[75px\\]{font-size:75px}}@media (min-width:64rem){.lg\\:px-8{padding-inline:calc(var(--spacing)*8)}.lg\\:py-12{padding-block:calc(var(--spacing)*12)}.lg\\:text-8xl{font-size:var(--text-8xl);line-height:var(--tw-leading,var(--text-8xl--line-height))}.lg\\:leading-20{--tw-leading:calc(var(--spacing)*20);line-height:calc(var(--spacing)*20)}}.\\[\\&_summary\\:\\:-webkit-details-marker\\]\\:hidden summary::-webkit-details-marker{display:none}.\\[\\&\\>a\\]\\:text-theme-color>a{color:var(--partbot-theme)}@media (hover:hover){.hover\\:\\[\\&\\>a\\]\\:text-theme-color:hover>a{color:var(--partbot-theme)}}.font-license{font-family:var(--font-license)}}@font-face{font-family:License Plate;src:url(https://res.cloudinary.com/proex/raw/upload/v1730709140/partbot/PartbotPlate.woff2)format("woff2");font-weight:400;font-style:normal}:host{overflow-wrap:break-word;white-space:normal;display:block;overflow:visible}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@keyframes spin{to{transform:rotate(360deg)}}';
1542
+ function bo({ domElement: a, webComponentInstance: t }) {
1543
+ const d = a.getAttribute("data-api-key"), l = a.getAttribute("data-callback-url"), g = a.getAttribute("data-products-url"), u = a.getAttribute("data-theme-color"), c = a.getAttribute("data-use-geolocation") === "true", p = a.getAttribute("data-button"), v = a.getAttribute("data-responsive") ? a.getAttribute("data-responsive") === "true" : !0, i = a.getAttribute("data-placeholder"), f = a.getAttribute("data-intro"), x = a.getAttribute("data-support-message"), I = a.getAttribute("data-action-button-label"), A = a.getAttribute("data-display-mode") || "modal", E = a.getAttribute("data-hide-default-button") === "true", H = a.getAttribute("data-auto-close-on-select") === "true", B = a.getAttribute("data-demo-mode") === "true", [Y, ne] = J(!1);
1544
+ return $(() => {
1466
1545
  t && (t._modalControls = {
1467
- open: () => I(!0),
1468
- close: () => I(!1),
1469
- toggle: () => I((W) => !W)
1546
+ open: () => ne(!0),
1547
+ close: () => ne(!1),
1548
+ toggle: () => ne((K) => !K)
1470
1549
  });
1471
1550
  }, [t]), /* @__PURE__ */ React.createElement("div", { className: "App" }, /* @__PURE__ */ React.createElement(
1472
- ut,
1551
+ bt,
1473
1552
  {
1474
1553
  className: "partbot",
1475
- apiKey: c,
1554
+ apiKey: d,
1476
1555
  callbackUrl: l,
1477
- productsUrl: u,
1478
- themeColor: h,
1479
- useGeolocation: p,
1480
- buttonTheme: m,
1481
- responsive: w,
1482
- placeholder: r,
1556
+ productsUrl: g,
1557
+ themeColor: u,
1558
+ useGeolocation: c,
1559
+ buttonTheme: p,
1560
+ responsive: v,
1561
+ placeholder: i,
1483
1562
  intro: f,
1484
- supportMessage: b,
1485
- actionButtonLabel: N,
1486
- hideDefaultButton: T,
1487
- autoCloseOnSelect: y,
1488
- isOpen: O,
1489
- onOpenChange: I
1563
+ supportMessage: x,
1564
+ actionButtonLabel: I,
1565
+ displayMode: A,
1566
+ hideDefaultButton: E,
1567
+ autoCloseOnSelect: H,
1568
+ demoMode: B,
1569
+ isOpen: Y,
1570
+ onOpenChange: ne
1490
1571
  }
1491
1572
  ));
1492
1573
  }
1493
- class we extends HTMLElement {
1574
+ class ve extends HTMLElement {
1494
1575
  constructor() {
1495
- super(), this.apiKey = this.dataset.apiKey, this.callbackUrl = this.dataset.callbackUrl, this.productsUrl = this.dataset.productsUrl, this.themeColor = this.dataset.themeColor, this.useGeolocation = this.dataset.useGeolocation, this.debug = this.dataset.debug === "true", this.assetUrl = this.dataset.assetUrl, this.buttonTheme = this.dataset.button, this.responsive = this.dataset.responsive ? this.dataset.responsive === "true" : !0, this.placeholder = this.dataset.placeholder, this.intro = this.dataset.intro, this.supportMessage = this.dataset.supportMessage, this.actionButtonLabel = this.dataset.actionButtonLabel, this.hideDefaultButton = this.dataset.hideDefaultButton === "true", this.autoCloseOnSelect = this.dataset.autoCloseOnSelect === "true";
1576
+ super(), this.apiKey = this.dataset.apiKey, this.callbackUrl = this.dataset.callbackUrl, this.productsUrl = this.dataset.productsUrl, this.themeColor = this.dataset.themeColor, this.useGeolocation = this.dataset.useGeolocation, this.debug = this.dataset.debug === "true", this.assetUrl = this.dataset.assetUrl, this.buttonTheme = this.dataset.button, this.responsive = this.dataset.responsive ? this.dataset.responsive === "true" : !0, this.placeholder = this.dataset.placeholder, this.intro = this.dataset.intro, this.supportMessage = this.dataset.supportMessage, this.actionButtonLabel = this.dataset.actionButtonLabel, this.displayMode = this.dataset.displayMode || "modal", this.hideDefaultButton = this.dataset.hideDefaultButton === "true", this.autoCloseOnSelect = this.dataset.autoCloseOnSelect === "true", this.demoMode = this.dataset.demoMode === "true";
1496
1577
  }
1497
1578
  connectedCallback() {
1498
- var p;
1579
+ var c;
1499
1580
  this.style.position || (this.style.position = "relative"), this.style.zIndex = "2147483647", this.style.visibility = "hidden";
1500
1581
  let t;
1501
1582
  if (this.assetUrl && (t = new URL(
1502
1583
  this.assetUrl.replace(/\/$/, "") + "/css/plate-search.css",
1503
1584
  window.location.href
1504
1585
  )), !t) {
1505
- let m = "latest";
1586
+ let p = "latest";
1506
1587
  try {
1507
- const r = (((p = document.currentScript) == null ? void 0 : p.src) || "").match(/plate-search@([^/]+)/);
1508
- r && r[1] && (m = r[1]);
1588
+ const i = (((c = document.currentScript) == null ? void 0 : c.src) || "").match(/plate-search@([^/]+)/);
1589
+ i && i[1] && (p = i[1]);
1509
1590
  } catch {
1510
1591
  }
1511
- m === "latest" && ht.version && (m = ht.version), t = new URL(
1512
- `https://unpkg.com/@cartbot/plate-search@${m}/build/dist/css/plate-search.css`
1592
+ p === "latest" && gt.version && (p = gt.version), t = new URL(
1593
+ `https://unpkg.com/@cartbot/plate-search@${p}/build/dist/css/plate-search.css`
1513
1594
  );
1514
1595
  }
1515
1596
  const l = [
@@ -1524,47 +1605,49 @@ class we extends HTMLElement {
1524
1605
  ["data-intro", this.intro],
1525
1606
  ["data-support-message", this.supportMessage],
1526
1607
  ["data-action-button-label", this.actionButtonLabel],
1608
+ ["data-display-mode", this.displayMode],
1527
1609
  ["data-hide-default-button", this.hideDefaultButton],
1528
- ["data-auto-close-on-select", this.autoCloseOnSelect]
1529
- ].filter(([m, w]) => w != null).map(([m, w]) => `${m}="${w}"`).join(" "), u = (m, w) => {
1530
- if (!/@import/i.test(m) && "adoptedStyleSheets" in Document.prototype)
1610
+ ["data-auto-close-on-select", this.autoCloseOnSelect],
1611
+ ["data-demo-mode", this.demoMode]
1612
+ ].filter(([p, v]) => v != null).map(([p, v]) => `${p}="${v}"`).join(" "), g = (p, v) => {
1613
+ if (!/@import/i.test(p) && "adoptedStyleSheets" in Document.prototype)
1531
1614
  try {
1532
- const b = new CSSStyleSheet();
1533
- return b.replaceSync(m), console.info(`Partbot: using constructable stylesheet (${w})`), b;
1534
- } catch (b) {
1535
- console.warn("Partbot: constructable sheet failed, falling back", b);
1615
+ const x = new CSSStyleSheet();
1616
+ return x.replaceSync(p), console.info(`Partbot: using constructable stylesheet (${v})`), x;
1617
+ } catch (x) {
1618
+ console.warn("Partbot: constructable sheet failed, falling back", x);
1536
1619
  }
1537
1620
  const f = document.createElement("style");
1538
- return f.textContent = m, this.debug && console.info(
1539
- `Partbot: using <style> element fallback (${w})`,
1621
+ return f.textContent = p, this.debug && console.info(
1622
+ `Partbot: using <style> element fallback (${v})`,
1540
1623
  f.textContent
1541
1624
  ), f;
1542
1625
  };
1543
- we.__stylePromise || (t ? we.__stylePromise = fetch(t).then((m) => {
1544
- if (!m.ok) throw new Error(`HTTP ${m.status}`);
1545
- return m.text();
1546
- }).then((m) => u(m, t.href)).catch((m) => (console.warn(
1626
+ ve.__stylePromise || (t ? ve.__stylePromise = fetch(t).then((p) => {
1627
+ if (!p.ok) throw new Error(`HTTP ${p.status}`);
1628
+ return p.text();
1629
+ }).then((p) => g(p, t.href)).catch((p) => (console.warn(
1547
1630
  "Partbot: external stylesheet failed, falling back to inline",
1548
- m
1549
- ), u(pt, "inline-fallback"))) : we.__stylePromise = Promise.resolve(
1550
- u(pt, "inline")
1631
+ p
1632
+ ), g(wt, "inline-fallback"))) : ve.__stylePromise = Promise.resolve(
1633
+ g(wt, "inline")
1551
1634
  ));
1552
- const h = document.createElement("template");
1553
- if (h.innerHTML = `
1554
- <div class="partbot-plate-search isolate" ${l}></div>`, this.attachShadow({ mode: "open" }), we.__stylePromise.then((m) => {
1555
- var w, r;
1556
- if (m) {
1557
- if (m instanceof CSSStyleSheet ? this.shadowRoot.adoptedStyleSheets = [m] : m instanceof HTMLStyleElement && this.shadowRoot.prepend(m.cloneNode(!0)), this.debug)
1635
+ const u = document.createElement("template");
1636
+ if (u.innerHTML = `
1637
+ <div class="partbot-plate-search isolate" ${l}></div>`, this.attachShadow({ mode: "open" }), ve.__stylePromise.then((p) => {
1638
+ var v, i;
1639
+ if (p) {
1640
+ if (p instanceof CSSStyleSheet ? this.shadowRoot.adoptedStyleSheets = [p] : p instanceof HTMLStyleElement && this.shadowRoot.prepend(p.cloneNode(!0)), this.debug)
1558
1641
  try {
1559
- const f = (w = this.shadowRoot.adoptedStyleSheets) == null ? void 0 : w[0];
1642
+ const f = (v = this.shadowRoot.adoptedStyleSheets) == null ? void 0 : v[0];
1560
1643
  f && console.info(
1561
1644
  "Partbot debug: first rule in adopted sheet →",
1562
- (r = f.cssRules[0]) == null ? void 0 : r.cssText
1645
+ (i = f.cssRules[0]) == null ? void 0 : i.cssText
1563
1646
  );
1564
- const b = getComputedStyle(this).getPropertyValue("--tw-border-style");
1647
+ const x = getComputedStyle(this).getPropertyValue("--tw-border-style");
1565
1648
  console.info(
1566
1649
  "Partbot debug: --tw-border-style on :host →",
1567
- b
1650
+ x
1568
1651
  );
1569
1652
  } catch (f) {
1570
1653
  console.warn("Partbot debug: failed to inspect stylesheet", f);
@@ -1573,9 +1656,9 @@ class we extends HTMLElement {
1573
1656
  this.style.visibility = "visible";
1574
1657
  });
1575
1658
  }
1576
- }), this.shadowRoot.appendChild(h.content.cloneNode(!0)), !document.head.querySelector("style[data-partbot-license]")) {
1577
- const m = document.createElement("style");
1578
- m.setAttribute("data-partbot-license", ""), m.appendChild(
1659
+ }), this.shadowRoot.appendChild(u.content.cloneNode(!0)), !document.head.querySelector("style[data-partbot-license]")) {
1660
+ const p = document.createElement("style");
1661
+ p.setAttribute("data-partbot-license", ""), p.appendChild(
1579
1662
  document.createTextNode(`
1580
1663
  @font-face {
1581
1664
  font-family: "License Plate";
@@ -1584,7 +1667,7 @@ class we extends HTMLElement {
1584
1667
  font-weight: normal;
1585
1668
  font-style: normal;
1586
1669
  }`)
1587
- ), document.head.appendChild(m);
1670
+ ), document.head.appendChild(p);
1588
1671
  }
1589
1672
  }
1590
1673
  // Public API methods for controlling the modal
@@ -1598,12 +1681,12 @@ class we extends HTMLElement {
1598
1681
  this._modalControls && this._modalControls.toggle();
1599
1682
  }
1600
1683
  }
1601
- customElements.define("plate-search", we);
1602
- const co = ya(
1603
- function(t, c) {
1604
- const l = Me(null), u = Me(null), h = Me(null), p = Me(null), [m, w] = q(!1);
1605
- return Ea(
1606
- c,
1684
+ customElements.define("plate-search", ve);
1685
+ const yo = Aa(
1686
+ function(t, d) {
1687
+ const l = Ie(null), g = Ie(null), u = Ie(null), c = Ie(null), [p, v] = J(!1);
1688
+ return Ta(
1689
+ d,
1607
1690
  () => ({
1608
1691
  open: () => {
1609
1692
  t.onOpenChange && t.onOpenChange(!0);
@@ -1616,46 +1699,46 @@ const co = ya(
1616
1699
  }
1617
1700
  }),
1618
1701
  [t.onOpenChange, t.isOpen]
1619
- ), V(() => {
1620
- if (!l.current || u.current) return;
1621
- const r = l.current.attachShadow({ mode: "open" });
1622
- u.current = r;
1702
+ ), $(() => {
1703
+ if (!l.current || g.current) return;
1704
+ const i = l.current.attachShadow({ mode: "open" });
1705
+ g.current = i;
1623
1706
  const f = document.createElement("div");
1624
- if (h.current = f, r.appendChild(f), !document.head.querySelector('link[href*="fonts.googleapis.com"]')) {
1625
- const y = document.createElement("link");
1626
- y.rel = "stylesheet", y.href = "https://fonts.googleapis.com/css2?family=Inter:wght@400..800&display=swap", document.head.appendChild(y);
1707
+ if (u.current = f, i.appendChild(f), !document.head.querySelector('link[href*="fonts.googleapis.com"]')) {
1708
+ const E = document.createElement("link");
1709
+ E.rel = "stylesheet", E.href = "https://fonts.googleapis.com/css2?family=Inter:wght@400..800&display=swap", document.head.appendChild(E);
1627
1710
  }
1628
1711
  if (!document.head.querySelector("style[data-partbot-license]")) {
1629
- const y = document.createElement("style");
1630
- y.setAttribute("data-partbot-license", ""), y.textContent = `
1712
+ const E = document.createElement("style");
1713
+ E.setAttribute("data-partbot-license", ""), E.textContent = `
1631
1714
  @font-face {
1632
1715
  font-family: "License Plate";
1633
1716
  src: url(https://res.cloudinary.com/proex/raw/upload/v1730709140/partbot/PartbotPlate.woff2)
1634
1717
  format("woff2");
1635
1718
  font-weight: normal;
1636
1719
  font-style: normal;
1637
- }`, document.head.appendChild(y);
1720
+ }`, document.head.appendChild(E);
1638
1721
  }
1639
- const b = pt.replace(/@import\s+["']https:\/\/fonts\.googleapis\.com[^;]+;/g, "").replace(/@import\s+["']tailwindcss["'];/g, ""), N = document.createElement("style");
1640
- N.textContent = b, r.appendChild(N);
1641
- const T = Yt(f);
1642
- return p.current = T, w(!0), () => {
1643
- p.current && (setTimeout(() => {
1644
- var y;
1645
- (y = p.current) == null || y.unmount();
1646
- }, 0), p.current = null);
1722
+ const x = wt.replace(/@import\s+["']https:\/\/fonts\.googleapis\.com[^;]+;/g, "").replace(/@import\s+["']tailwindcss["'];/g, ""), I = document.createElement("style");
1723
+ I.textContent = x, i.appendChild(I);
1724
+ const A = Xt(f);
1725
+ return c.current = A, v(!0), () => {
1726
+ c.current && (setTimeout(() => {
1727
+ var E;
1728
+ (E = c.current) == null || E.unmount();
1729
+ }, 0), c.current = null);
1647
1730
  };
1648
- }, []), V(() => {
1649
- if (p.current && m) {
1731
+ }, []), $(() => {
1732
+ if (c.current && p) {
1650
1733
  console.log(
1651
1734
  "[PlateSearchShadowWrapper] Rendering with isOpen:",
1652
1735
  t.isOpen
1653
1736
  );
1654
- const r = t.isOpen !== void 0 ? `controlled-${t.isOpen}` : "uncontrolled";
1655
- p.current.render(/* @__PURE__ */ React.createElement(ut, { key: r, ...t }));
1737
+ const i = t.isOpen !== void 0 ? `controlled-${t.isOpen}` : "uncontrolled";
1738
+ c.current.render(/* @__PURE__ */ React.createElement(bt, { key: i, ...t }));
1656
1739
  }
1657
1740
  }, [
1658
- m,
1741
+ p,
1659
1742
  t.isOpen,
1660
1743
  t.apiKey,
1661
1744
  t.callbackUrl,
@@ -1668,10 +1751,12 @@ const co = ya(
1668
1751
  t.intro,
1669
1752
  t.supportMessage,
1670
1753
  t.actionButtonLabel,
1754
+ t.displayMode,
1671
1755
  t.onOpenChange,
1672
1756
  t.hideDefaultButton,
1673
1757
  t.onModalClose,
1674
- t.autoCloseOnSelect
1758
+ t.autoCloseOnSelect,
1759
+ t.demoMode
1675
1760
  ]), /* @__PURE__ */ React.createElement(
1676
1761
  "div",
1677
1762
  {
@@ -1684,44 +1769,44 @@ const co = ya(
1684
1769
  }
1685
1770
  );
1686
1771
  }
1687
- ), mo = _a;
1688
- typeof window < "u" && (window.React = window.React || Gt);
1689
- const le = document.querySelector("plate-search");
1690
- var $t;
1691
- if (le) {
1692
- const o = (($t = le.shadowRoot) == null ? void 0 : $t.querySelector(
1772
+ ), Eo = Sa;
1773
+ typeof window < "u" && (window.React = window.React || r);
1774
+ const ce = document.querySelector("plate-search");
1775
+ var Kt;
1776
+ if (ce) {
1777
+ const a = ((Kt = ce.shadowRoot) == null ? void 0 : Kt.querySelector(
1693
1778
  ".partbot-plate-search"
1694
- )) || le.querySelector(".partbot-plate-search");
1695
- if (!o)
1779
+ )) || ce.querySelector(".partbot-plate-search");
1780
+ if (!a)
1696
1781
  console.error("Partbot: failed to locate .partbot-plate-search container");
1697
1782
  else {
1698
1783
  let t;
1699
- const c = () => {
1700
- t || (t = Yt(o)), t.render(
1701
- Gt.createElement(io, {
1702
- domElement: o,
1703
- webComponentInstance: le
1784
+ const d = () => {
1785
+ t || (t = Xt(a)), t.render(
1786
+ r.createElement(bo, {
1787
+ domElement: a,
1788
+ webComponentInstance: ce
1704
1789
  })
1705
1790
  );
1706
1791
  }, l = [
1707
- ...le.shadowRoot ? le.shadowRoot.querySelectorAll("link") : le.querySelectorAll("link")
1792
+ ...ce.shadowRoot ? ce.shadowRoot.querySelectorAll("link") : ce.querySelectorAll("link")
1708
1793
  ];
1709
1794
  if (l.length === 0)
1710
- c();
1795
+ d();
1711
1796
  else {
1712
- let u = 0;
1713
- const h = () => {
1714
- ++u >= l.length && c();
1797
+ let g = 0;
1798
+ const u = () => {
1799
+ ++g >= l.length && d();
1715
1800
  };
1716
- l.forEach((p) => {
1717
- p.sheet || p.complete ? h() : (p.addEventListener("load", h, { once: !0 }), p.addEventListener("error", h, { once: !0 }));
1801
+ l.forEach((c) => {
1802
+ c.sheet || c.complete ? u() : (c.addEventListener("load", u, { once: !0 }), c.addEventListener("error", u, { once: !0 }));
1718
1803
  });
1719
1804
  }
1720
1805
  }
1721
1806
  }
1722
1807
  export {
1723
- co as PlateSearch,
1724
- ut as PlateSearchRaw,
1725
- co as default,
1726
- mo as plateSearchCssUrl
1808
+ yo as PlateSearch,
1809
+ bt as PlateSearchRaw,
1810
+ yo as default,
1811
+ Eo as plateSearchCssUrl
1727
1812
  };