@datagouv/components-next 1.0.2-dev.100 → 1.0.2-dev.101

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,5 +1,5 @@
1
1
  import * as v_ from "vue";
2
- import { inject as gt, defineComponent as g, reactive as o6, computed as W, h as it, unref as z, getCurrentInstance as l6, watchEffect as rt, onMounted as ke, nextTick as C2, getCurrentScope as FS, onScopeDispose as qp, watch as ye, hasInjectionContext as FO, toValue as Ae, customRef as Je1, ref as o1, createElementBlock as P, openBlock as T, normalizeClass as E1, createVNode as U, isVNode as M5, createBlock as s1, createElementVNode as D, createCommentVNode as r1, renderSlot as U1, useTemplateRef as w2, withModifiers as Qi, toDisplayString as $, Fragment as N1, renderList as we, withAsyncContext as V2, withCtx as e1, mergeProps as Br, createTextVNode as c1, resolveDynamicComponent as dt, provide as u2, useSlots as PS, Comment as et1, Text as tt1, useAttrs as it1, normalizeStyle as Ct, onBeforeUnmount as rt1, normalizeProps as w_, shallowRef as fn, shallowReadonly as Gl, useId as qa, triggerRef as y_, onUnmounted as c2, cloneVNode as PO, toRaw as X2, Teleport as u6, withDirectives as Es, vShow as $S, createSlots as $O, readonly as UO, isRef as ci, resolveComponent as GO, toRef as x_, defineAsyncComponent as nn, vModelText as T7, useModel as It, mergeModels as R0, shallowReactive as nt1, vModelSelect as WO, Transition as st1 } from "vue";
2
+ import { inject as gt, defineComponent as g, reactive as o6, computed as W, h as it, unref as z, getCurrentInstance as l6, watchEffect as rt, onMounted as ke, nextTick as C2, getCurrentScope as FS, onScopeDispose as qp, watch as ye, hasInjectionContext as FO, toValue as Ae, customRef as Je1, ref as o1, createElementBlock as P, openBlock as T, normalizeClass as z1, createVNode as U, isVNode as M5, createBlock as s1, createElementVNode as D, createCommentVNode as r1, renderSlot as U1, useTemplateRef as w2, withModifiers as Qi, toDisplayString as $, Fragment as N1, renderList as we, withAsyncContext as V2, withCtx as e1, mergeProps as Br, createTextVNode as c1, resolveDynamicComponent as dt, provide as u2, useSlots as PS, Comment as et1, Text as tt1, useAttrs as it1, normalizeStyle as Ct, onBeforeUnmount as rt1, normalizeProps as w_, shallowRef as fn, shallowReadonly as Gl, useId as qa, triggerRef as y_, onUnmounted as c2, cloneVNode as PO, toRaw as X2, Teleport as u6, withDirectives as Es, vShow as $S, createSlots as $O, readonly as UO, isRef as ci, resolveComponent as GO, toRef as x_, defineAsyncComponent as nn, vModelText as T7, useModel as It, mergeModels as R0, shallowReactive as nt1, vModelSelect as WO, Transition as st1 } from "vue";
3
3
  const at1 = [
4
4
  { value: "-created", label: "Date de création" },
5
5
  { value: "-last_update", label: "Dernière mise à jour" },
@@ -981,7 +981,7 @@ const P21 = ["src", "width", "height"], c6 = /* @__PURE__ */ g({
981
981
  setup(e) {
982
982
  const t = e, i = F21(), r = W(() => i(t.user, t.size));
983
983
  return (n, s) => (T(), P("img", {
984
- class: E1({ "rounded-full border border-gray-default": e.rounded }),
984
+ class: z1({ "rounded-full border border-gray-default": e.rounded }),
985
985
  src: r.value,
986
986
  width: e.size,
987
987
  height: e.size,
@@ -10174,7 +10174,7 @@ const Qp = /* @__PURE__ */ g({
10174
10174
  },
10175
10175
  setup(e) {
10176
10176
  return (t, i) => (T(), s1(z(hi1), {
10177
- class: E1(["text-7xl animate-spin", {
10177
+ class: z1(["text-7xl animate-spin", {
10178
10178
  "text-new-primary": e.color === "primary",
10179
10179
  "text-white": e.color === "white"
10180
10180
  }])
@@ -10193,7 +10193,7 @@ const Qp = /* @__PURE__ */ g({
10193
10193
  const t = e, i = W(() => t.status === "idle" || t.status === "pending"), r = W(() => t.status === "error");
10194
10194
  return (n, s) => (T(), P("div", xi1, [
10195
10195
  D("div", {
10196
- class: E1({ "opacity-50 min-h-64": i.value })
10196
+ class: z1({ "opacity-50 min-h-64": i.value })
10197
10197
  }, [
10198
10198
  !i.value && !r.value && e.data ? U1(n.$slots, "default", {
10199
10199
  key: 0,
@@ -10298,7 +10298,7 @@ const Qp = /* @__PURE__ */ g({
10298
10298
  D("a", {
10299
10299
  "aria-current": e.page === 1 ? "page" : void 0,
10300
10300
  href: y(1),
10301
- class: E1(["fr-pagination__link", { "fr-hidden fr-unhidden-sm": e.page > 1 }]),
10301
+ class: z1(["fr-pagination__link", { "fr-hidden fr-unhidden-sm": e.page > 1 }]),
10302
10302
  title: z(c)("Page {nb}", { nb: 1 }),
10303
10303
  "data-testid": 1,
10304
10304
  onClick: L[1] || (L[1] = Qi((V) => m(1), ["prevent", "stop"]))
@@ -10307,7 +10307,7 @@ const Qp = /* @__PURE__ */ g({
10307
10307
  (T(!0), P(N1, null, we(p.value, (V, S) => (T(), P("li", { key: S }, [
10308
10308
  V ? (T(), P("a", {
10309
10309
  key: 0,
10310
- class: E1(["fr-pagination__link", { "fr-hidden fr-unhidden-lg": V < e.page - 1 || V > e.page + 1 }]),
10310
+ class: z1(["fr-pagination__link", { "fr-hidden fr-unhidden-lg": V < e.page - 1 || V > e.page + 1 }]),
10311
10311
  "aria-current": e.page === V ? "page" : void 0,
10312
10312
  href: y(V),
10313
10313
  title: z(c)("Page {nb}", { nb: V }),
@@ -10360,7 +10360,7 @@ const Qp = /* @__PURE__ */ g({
10360
10360
  }
10361
10361
  });
10362
10362
  return (r, n) => (T(), P("div", {
10363
- class: E1(["!p-6", i.value])
10363
+ class: z1(["!p-6", i.value])
10364
10364
  }, [
10365
10365
  U1(r.$slots, "default")
10366
10366
  ], 2));
@@ -10419,7 +10419,7 @@ const Qp = /* @__PURE__ */ g({
10419
10419
  class: "relative flex"
10420
10420
  }, [
10421
10421
  D("div", {
10422
- class: E1([y === m.length - 1 ? "h-6" : "-bottom-6", "absolute left-0 top-0 flex w-6 justify-center"])
10422
+ class: z1([y === m.length - 1 ? "h-6" : "-bottom-6", "absolute left-0 top-0 flex w-6 justify-center"])
10423
10423
  }, [...f[1] || (f[1] = [
10424
10424
  D("div", { class: "w-px bg-gray-silver" }, null, -1)
10425
10425
  ])], 2),
@@ -10524,7 +10524,7 @@ const Qp = /* @__PURE__ */ g({
10524
10524
  c1($(z(py)(n)) + " ", 1),
10525
10525
  U1(t.$slots, "default", { activity: n }, () => [
10526
10526
  D("div", {
10527
- class: E1(r)
10527
+ class: z1(r)
10528
10528
  }, [
10529
10529
  U(vr, {
10530
10530
  to: n.related_to_url,
@@ -10558,7 +10558,7 @@ const Qp = /* @__PURE__ */ g({
10558
10558
  }), null, 16, ["user", "size"]),
10559
10559
  (T(), s1(dt(e.withLink ? vr : "span"), {
10560
10560
  to: e.withLink ? e.user.page : void 0,
10561
- class: E1(["truncate", { "font-bold": e.withLink }])
10561
+ class: z1(["truncate", { "font-bold": e.withLink }])
10562
10562
  }, {
10563
10563
  default: e1(() => [
10564
10564
  c1($(e.user.first_name) + " " + $(e.user.last_name), 1)
@@ -10578,7 +10578,7 @@ const Qp = /* @__PURE__ */ g({
10578
10578
  },
10579
10579
  setup(e) {
10580
10580
  return u2(uF, e.type), (i, r) => (T(), P("div", {
10581
- class: E1(["group flex items-center justify-between gap-2 rounded border p-2.5", {
10581
+ class: z1(["group flex items-center justify-between gap-2 rounded border p-2.5", {
10582
10582
  "!border-new-info bg-new-info-light text-new-info": e.type === "primary",
10583
10583
  "!border-new-error bg-new-error-light text-new-error": e.type === "danger",
10584
10584
  "!border-new-warning bg-new-warning-light text-new-warning": e.type === "warning"
@@ -10655,7 +10655,7 @@ const Qp = /* @__PURE__ */ g({
10655
10655
  return m ? m(v).some((w) => w.type === et1 || Array.isArray(w.children) && !w.children.length ? !1 : w.type !== tt1 || typeof w.children == "string" && w.children.trim() !== "") : !1;
10656
10656
  }
10657
10657
  return (m, v) => (T(), s1(dt(e.href ? vr : "button"), {
10658
- class: E1(["inline-flex items-center justify-center font-marianne font-medium border !bg-none !no-underline after:content-none outline-none focus-visible:ring-2 focus-visible:ring-new-focus focus-visible:ring-offset-2", [c.value, h.value, p.value, l.value && s.value !== "primary" && s.value !== "secondary" ? "!opacity-50" : "", e.iconRight && !e.newTab ? "flex-row-reverse space-x-reverse" : ""]]),
10658
+ class: z1(["inline-flex items-center justify-center font-marianne font-medium border !bg-none !no-underline after:content-none outline-none focus-visible:ring-2 focus-visible:ring-new-focus focus-visible:ring-offset-2", [c.value, h.value, p.value, l.value && s.value !== "primary" && s.value !== "secondary" ? "!opacity-50" : "", e.iconRight && !e.newTab ? "flex-row-reverse space-x-reverse" : ""]]),
10659
10659
  disabled: l.value,
10660
10660
  "aria-disabled": l.value,
10661
10661
  role: e.href ? "link" : "",
@@ -10674,14 +10674,14 @@ const Qp = /* @__PURE__ */ g({
10674
10674
  }, e.iconAttrs, { "aria-hidden": "true" }), null, 16, ["class"])) : r1("", !0),
10675
10675
  a.value ? (T(), P("span", {
10676
10676
  key: 2,
10677
- class: E1(["whitespace-nowrap", { "sr-only": e.iconOnly, "sr-only sm:not-sr-only": e.iconOnlyOnMobile }])
10677
+ class: z1(["whitespace-nowrap", { "sr-only": e.iconOnly, "sr-only sm:not-sr-only": e.iconOnlyOnMobile }])
10678
10678
  }, [
10679
10679
  U1(m.$slots, "default")
10680
10680
  ], 2)) : r1("", !0),
10681
10681
  e.newTab ? (T(), s1(z(ni1), {
10682
10682
  key: 3,
10683
10683
  "aria-hidden": "true",
10684
- class: E1(f.value)
10684
+ class: z1(f.value)
10685
10685
  }, null, 8, ["class"])) : r1("", !0)
10686
10686
  ]),
10687
10687
  _: 3
@@ -11101,7 +11101,7 @@ var yr1 = /* @__PURE__ */ g({
11101
11101
  tabindex: "0",
11102
11102
  ref_key: "toastRef",
11103
11103
  ref: m,
11104
- class: E1(z(ea)(i.class, L.value, h1.classes?.toast, h1.toast.classes?.toast, h1.classes?.[y.value], h1.toast?.classes?.[y.value])),
11104
+ class: z1(z(ea)(i.class, L.value, h1.classes?.toast, h1.toast.classes?.toast, h1.classes?.[y.value], h1.toast?.classes?.[y.value])),
11105
11105
  "data-sonner-toast": "",
11106
11106
  "data-rich-colors": h1.toast.richColors ?? h1.defaultRichColors,
11107
11107
  "data-styled": !(h1.toast.component || h1.toast?.unstyled || h1.unstyled),
@@ -11141,7 +11141,7 @@ var yr1 = /* @__PURE__ */ g({
11141
11141
  "data-disabled": F.value,
11142
11142
  "data-close-button": "true",
11143
11143
  "data-close-button-position": h1.closeButtonPosition,
11144
- class: E1(z(ea)(h1.classes?.closeButton, h1.toast?.classes?.closeButton)),
11144
+ class: z1(z(ea)(h1.classes?.closeButton, h1.toast?.classes?.closeButton)),
11145
11145
  onClick: t1
11146
11146
  }, [h1.icons?.close ? (T(), s1(dt(h1.icons?.close), { key: 0 })) : U1(h1.$slots, "close-icon", { key: 1 })], 10, wr1)) : r1("v-if", !0), h1.toast.component ? (T(), s1(dt(h1.toast.component), Br({ key: 1 }, h1.toast.componentProps, {
11147
11147
  onCloseToast: t1,
@@ -11150,23 +11150,23 @@ var yr1 = /* @__PURE__ */ g({
11150
11150
  y.value !== "default" || h1.toast.icon || h1.toast.promise ? (T(), P("div", {
11151
11151
  key: 0,
11152
11152
  "data-icon": "",
11153
- class: E1(z(ea)(h1.classes?.icon, h1.toast?.classes?.icon))
11153
+ class: z1(z(ea)(h1.classes?.icon, h1.toast?.classes?.icon))
11154
11154
  }, [h1.toast.icon ? (T(), s1(dt(h1.toast.icon), { key: 0 })) : (T(), P(N1, { key: 1 }, [y.value === "loading" ? U1(h1.$slots, "loading-icon", { key: 0 }) : y.value === "success" ? U1(h1.$slots, "success-icon", { key: 1 }) : y.value === "error" ? U1(h1.$slots, "error-icon", { key: 2 }) : y.value === "warning" ? U1(h1.$slots, "warning-icon", { key: 3 }) : y.value === "info" ? U1(h1.$slots, "info-icon", { key: 4 }) : r1("v-if", !0)], 64))], 2)) : r1("v-if", !0),
11155
11155
  D("div", {
11156
11156
  "data-content": "",
11157
- class: E1(z(ea)(h1.classes?.content, h1.toast?.classes?.content))
11157
+ class: z1(z(ea)(h1.classes?.content, h1.toast?.classes?.content))
11158
11158
  }, [D("div", {
11159
11159
  "data-title": "",
11160
- class: E1(z(ea)(h1.classes?.title, h1.toast.classes?.title))
11160
+ class: z1(z(ea)(h1.classes?.title, h1.toast.classes?.title))
11161
11161
  }, [q.value ? (T(), s1(dt(h1.toast.title), w_(Br({ key: 0 }, h1.toast.componentProps)), null, 16)) : (T(), P(N1, { key: 1 }, [c1($(h1.toast.title), 1)], 64))], 2), h1.toast.description ? (T(), P("div", {
11162
11162
  key: 0,
11163
11163
  "data-description": "",
11164
- class: E1(z(ea)(h1.descriptionClass, V.value, h1.classes?.description, h1.toast.classes?.description))
11164
+ class: z1(z(ea)(h1.descriptionClass, V.value, h1.classes?.description, h1.toast.classes?.description))
11165
11165
  }, [Y.value ? (T(), s1(dt(h1.toast.description), w_(Br({ key: 0 }, h1.toast.componentProps)), null, 16)) : (T(), P(N1, { key: 1 }, [c1($(h1.toast.description), 1)], 64))], 2)) : r1("v-if", !0)], 2),
11166
11166
  h1.toast.cancel ? (T(), P("button", {
11167
11167
  key: 1,
11168
11168
  style: Ct(h1.toast.cancelButtonStyle || h1.cancelButtonStyle),
11169
- class: E1(z(ea)(h1.classes?.cancelButton, h1.toast.classes?.cancelButton)),
11169
+ class: z1(z(ea)(h1.classes?.cancelButton, h1.toast.classes?.cancelButton)),
11170
11170
  "data-button": "",
11171
11171
  "data-cancel": "",
11172
11172
  onClick: x1[0] || (x1[0] = (f1) => {
@@ -11176,7 +11176,7 @@ var yr1 = /* @__PURE__ */ g({
11176
11176
  h1.toast.action ? (T(), P("button", {
11177
11177
  key: 2,
11178
11178
  style: Ct(h1.toast.actionButtonStyle || h1.actionButtonStyle),
11179
- class: E1(z(ea)(h1.classes?.actionButton, h1.toast.classes?.actionButton)),
11179
+ class: z1(z(ea)(h1.classes?.actionButton, h1.toast.classes?.actionButton)),
11180
11180
  "data-button": "",
11181
11181
  "data-action": "",
11182
11182
  onClick: x1[1] || (x1[1] = (f1) => {
@@ -11520,7 +11520,7 @@ var Kr1 = /* @__PURE__ */ g({
11520
11520
  toast: k,
11521
11521
  defaultRichColors: b.richColors,
11522
11522
  duration: b.toastOptions?.duration ?? b.duration,
11523
- class: E1(b.toastOptions?.class ?? ""),
11523
+ class: z1(b.toastOptions?.class ?? ""),
11524
11524
  descriptionClass: b.toastOptions?.descriptionClass,
11525
11525
  invert: b.invert,
11526
11526
  visibleToasts: b.visibleToasts,
@@ -11598,12 +11598,12 @@ const Xr1 = /* @__PURE__ */ g({
11598
11598
  };
11599
11599
  return (s, a) => (T(), P("button", {
11600
11600
  type: "button",
11601
- class: E1(["text-sm mb-0 md:whitespace-nowrap relative p-1 text-gray-medium leading-none text-left", { "border bg-white rounded-sm text-gray-title": e.hideLabel }]),
11601
+ class: z1(["text-sm mb-0 md:whitespace-nowrap relative p-1 text-gray-medium leading-none text-left", { "border bg-white rounded-sm text-gray-title": e.hideLabel }]),
11602
11602
  onClick: n
11603
11603
  }, [
11604
11604
  r.value ? (T(), P("span", {
11605
11605
  key: 0,
11606
- class: E1(["flex items-center gap-1", { "flex-row-reverse": e.reverse }]),
11606
+ class: z1(["flex items-center gap-1", { "flex-row-reverse": e.reverse }]),
11607
11607
  style: { color: "#3558a2" }
11608
11608
  }, [
11609
11609
  U(z(T9), {
@@ -11611,19 +11611,19 @@ const Xr1 = /* @__PURE__ */ g({
11611
11611
  "aria-hidden": "true"
11612
11612
  }),
11613
11613
  D("span", {
11614
- class: E1(["copy-label", { "sr-only": e.hideLabel }])
11614
+ class: z1(["copy-label", { "sr-only": e.hideLabel }])
11615
11615
  }, $(e.copiedLabel), 3)
11616
11616
  ], 2)) : r1("", !0),
11617
11617
  r.value ? r1("", !0) : (T(), P("span", {
11618
11618
  key: 1,
11619
- class: E1(["flex items-center gap-1", { "flex-row-reverse": e.reverse }])
11619
+ class: z1(["flex items-center gap-1", { "flex-row-reverse": e.reverse }])
11620
11620
  }, [
11621
11621
  (T(), s1(dt(e.hideLabel ? z(Q21) : z(Kp)), {
11622
11622
  class: "size-4 flex-none inline",
11623
11623
  "aria-hidden": "true"
11624
11624
  })),
11625
11625
  D("span", {
11626
- class: E1(["copy-link copy-label", { "sr-only": e.hideLabel }])
11626
+ class: z1(["copy-link copy-label", { "sr-only": e.hideLabel }])
11627
11627
  }, $(e.label), 3)
11628
11628
  ], 2))
11629
11629
  ], 2));
@@ -11694,7 +11694,7 @@ const Jr1 = { class: "bg-gray-lower flex items-center justify-center" }, pl = /*
11694
11694
  setup(e) {
11695
11695
  const t = e, i = W(() => "logo_thumbnail" in t.organization ? t.organization.logo_thumbnail : "image_url" in t.organization ? t.organization.image_url : Qr1(t.organization, "Organization is neither an Organization or an OrganizationSuggest"));
11696
11696
  return (r, n) => (T(), P("div", {
11697
- class: E1(e.sizeClass)
11697
+ class: z1(e.sizeClass)
11698
11698
  }, [
11699
11699
  i.value ? (T(), P("img", {
11700
11700
  key: 0,
@@ -11719,13 +11719,13 @@ const Jr1 = { class: "bg-gray-lower flex items-center justify-center" }, pl = /*
11719
11719
  setup(e) {
11720
11720
  const t = e, i = W(() => t.mediaSize === "lg" ? "w-[225px] h-[120px]" : "p-2");
11721
11721
  return (r, n) => (T(), P("article", {
11722
- class: E1(["p-4 border bg-white border-gray-default relative hover:bg-gray-some fr-enlarge-link", e.articleClass])
11722
+ class: z1(["p-4 border bg-white border-gray-default relative hover:bg-gray-some fr-enlarge-link", e.articleClass])
11723
11723
  }, [
11724
11724
  U1(r.$slots, "badge"),
11725
11725
  D("div", tn1, [
11726
11726
  r.$slots.media ? (T(), P("div", in1, [
11727
11727
  D("div", {
11728
- class: E1(["flex justify-center items-center border border-gray-lower bg-[#fff] rounded-md overflow-hidden", i.value])
11728
+ class: z1(["flex justify-center items-center border border-gray-lower bg-[#fff] rounded-md overflow-hidden", i.value])
11729
11729
  }, [
11730
11730
  U1(r.$slots, "media")
11731
11731
  ], 2)
@@ -11774,7 +11774,7 @@ const Jr1 = { class: "bg-gray-lower flex items-center justify-center" }, pl = /*
11774
11774
  class: "size-4 flex-none"
11775
11775
  })),
11776
11776
  D("span", {
11777
- class: E1(["block truncate", t.$slots.extra ? "flex-initial" : "flex-1"])
11777
+ class: z1(["block truncate", t.$slots.extra ? "flex-initial" : "flex-1"])
11778
11778
  }, [
11779
11779
  U1(t.$slots, "default")
11780
11780
  ], 2),
@@ -12969,7 +12969,7 @@ const Gn1 = ["aria-describedby"], Wn1 = ["id"], Yn1 = { class: "drop-shadow bg-w
12969
12969
  ref: "floating",
12970
12970
  role: "tooltip",
12971
12971
  "aria-hidden": "true",
12972
- class: E1(["z-10 pt-2", e.tooltipClass]),
12972
+ class: z1(["z-10 pt-2", e.tooltipClass]),
12973
12973
  style: Ct(r.value ? z(a) : "")
12974
12974
  }, [
12975
12975
  D("div", Yn1, [
@@ -12999,7 +12999,7 @@ const Gn1 = ["aria-describedby"], Wn1 = ["id"], Yn1 = { class: "drop-shadow bg-w
12999
12999
  type: z(JS)(e.organization)
13000
13000
  }, null, 8, ["type"])) : r1("", !0),
13001
13001
  (T(), s1(dt(e.as), {
13002
- class: E1(["mb-0 truncate flex-initial", [e.colorClass, { "text-xs": e.size === "xs", "text-sm": e.size === "sm", "text-base": e.size === "base", "text-xl sm:text-2xl": e.size === "xl" }]])
13002
+ class: z1(["mb-0 truncate flex-initial", [e.colorClass, { "text-xs": e.size === "xs", "text-sm": e.size === "sm", "text-base": e.size === "base", "text-xl sm:text-2xl": e.size === "xl" }]])
13003
13003
  }, {
13004
13004
  default: e1(() => [
13005
13005
  c1($(e.organization.name) + " ", 1),
@@ -13013,7 +13013,7 @@ const Gn1 = ["aria-describedby"], Wn1 = ["id"], Yn1 = { class: "drop-shadow bg-w
13013
13013
  ]),
13014
13014
  default: e1(() => [
13015
13015
  U(z(oF), {
13016
- class: E1(["flex-none", {
13016
+ class: z1(["flex-none", {
13017
13017
  "size-3": e.size === "xs",
13018
13018
  "size-4": e.size === "sm",
13019
13019
  "size-5": e.size === "base",
@@ -36971,10 +36971,10 @@ function B91(e, t, i, r) {
36971
36971
  }
36972
36972
  return -1;
36973
36973
  }
36974
- var z1;
36974
+ var Z1;
36975
36975
  (function(e) {
36976
36976
  e.HTML = "http://www.w3.org/1999/xhtml", e.MATHML = "http://www.w3.org/1998/Math/MathML", e.SVG = "http://www.w3.org/2000/svg", e.XLINK = "http://www.w3.org/1999/xlink", e.XML = "http://www.w3.org/XML/1998/namespace", e.XMLNS = "http://www.w3.org/2000/xmlns/";
36977
- })(z1 || (z1 = {}));
36977
+ })(Z1 || (Z1 = {}));
36978
36978
  var A4;
36979
36979
  (function(e) {
36980
36980
  e.TYPE = "type", e.ACTION = "action", e.ENCODING = "encoding", e.PROMPT = "prompt", e.NAME = "name", e.COLOR = "color", e.FACE = "face", e.SIZE = "size";
@@ -37121,7 +37121,7 @@ function F9(e) {
37121
37121
  return (t = k91.get(e)) !== null && t !== void 0 ? t : _.UNKNOWN;
37122
37122
  }
37123
37123
  const I1 = _, I91 = {
37124
- [z1.HTML]: /* @__PURE__ */ new Set([
37124
+ [Z1.HTML]: /* @__PURE__ */ new Set([
37125
37125
  I1.ADDRESS,
37126
37126
  I1.APPLET,
37127
37127
  I1.AREA,
@@ -37204,11 +37204,11 @@ const I1 = _, I91 = {
37204
37204
  I1.WBR,
37205
37205
  I1.XMP
37206
37206
  ]),
37207
- [z1.MATHML]: /* @__PURE__ */ new Set([I1.MI, I1.MO, I1.MN, I1.MS, I1.MTEXT, I1.ANNOTATION_XML]),
37208
- [z1.SVG]: /* @__PURE__ */ new Set([I1.TITLE, I1.FOREIGN_OBJECT, I1.DESC]),
37209
- [z1.XLINK]: /* @__PURE__ */ new Set(),
37210
- [z1.XML]: /* @__PURE__ */ new Set(),
37211
- [z1.XMLNS]: /* @__PURE__ */ new Set()
37207
+ [Z1.MATHML]: /* @__PURE__ */ new Set([I1.MI, I1.MO, I1.MN, I1.MS, I1.MTEXT, I1.ANNOTATION_XML]),
37208
+ [Z1.SVG]: /* @__PURE__ */ new Set([I1.TITLE, I1.FOREIGN_OBJECT, I1.DESC]),
37209
+ [Z1.XLINK]: /* @__PURE__ */ new Set(),
37210
+ [Z1.XML]: /* @__PURE__ */ new Set(),
37211
+ [Z1.XMLNS]: /* @__PURE__ */ new Set()
37212
37212
  }, Ty = /* @__PURE__ */ new Set([I1.H1, I1.H2, I1.H3, I1.H4, I1.H5, I1.H6]);
37213
37213
  p1.STYLE, p1.SCRIPT, p1.XMP, p1.IFRAME, p1.NOEMBED, p1.NOFRAMES, p1.PLAINTEXT;
37214
37214
  var Q;
@@ -39174,7 +39174,7 @@ class K91 {
39174
39174
  }
39175
39175
  //Update current element
39176
39176
  _isInTemplate() {
39177
- return this.currentTagId === _.TEMPLATE && this.treeAdapter.getNamespaceURI(this.current) === z1.HTML;
39177
+ return this.currentTagId === _.TEMPLATE && this.treeAdapter.getNamespaceURI(this.current) === Z1.HTML;
39178
39178
  }
39179
39179
  _updateCurrentElement() {
39180
39180
  this.current = this.items[this.stackTop], this.currentTagId = this.tagIDs[this.stackTop];
@@ -39199,7 +39199,7 @@ class K91 {
39199
39199
  let i = this.stackTop + 1;
39200
39200
  do
39201
39201
  i = this.tagIDs.lastIndexOf(t, i - 1);
39202
- while (i > 0 && this.treeAdapter.getNamespaceURI(this.items[i]) !== z1.HTML);
39202
+ while (i > 0 && this.treeAdapter.getNamespaceURI(this.items[i]) !== Z1.HTML);
39203
39203
  this.shortenToLength(Math.max(i, 0));
39204
39204
  }
39205
39205
  shortenToLength(t) {
@@ -39217,10 +39217,10 @@ class K91 {
39217
39217
  this.shortenToLength(Math.max(r, 0));
39218
39218
  }
39219
39219
  popUntilNumberedHeaderPopped() {
39220
- this.popUntilPopped(Ty, z1.HTML);
39220
+ this.popUntilPopped(Ty, Z1.HTML);
39221
39221
  }
39222
39222
  popUntilTableCellPopped() {
39223
- this.popUntilPopped(j91, z1.HTML);
39223
+ this.popUntilPopped(j91, Z1.HTML);
39224
39224
  }
39225
39225
  popAllUpToHtmlElement() {
39226
39226
  this.tmplCount = 0, this.shortenToLength(1);
@@ -39236,13 +39236,13 @@ class K91 {
39236
39236
  this.shortenToLength(r + 1);
39237
39237
  }
39238
39238
  clearBackToTableContext() {
39239
- this.clearBackTo(q91, z1.HTML);
39239
+ this.clearBackTo(q91, Z1.HTML);
39240
39240
  }
39241
39241
  clearBackToTableBodyContext() {
39242
- this.clearBackTo(Y91, z1.HTML);
39242
+ this.clearBackTo(Y91, Z1.HTML);
39243
39243
  }
39244
39244
  clearBackToTableRowContext() {
39245
- this.clearBackTo(W91, z1.HTML);
39245
+ this.clearBackTo(W91, Z1.HTML);
39246
39246
  }
39247
39247
  remove(t) {
39248
39248
  const i = this._indexOf(t);
@@ -39267,19 +39267,19 @@ class K91 {
39267
39267
  for (let r = this.stackTop; r >= 0; r--) {
39268
39268
  const n = this.tagIDs[r];
39269
39269
  switch (this.treeAdapter.getNamespaceURI(this.items[r])) {
39270
- case z1.HTML: {
39270
+ case Z1.HTML: {
39271
39271
  if (n === t)
39272
39272
  return !0;
39273
39273
  if (i.has(n))
39274
39274
  return !1;
39275
39275
  break;
39276
39276
  }
39277
- case z1.SVG: {
39277
+ case Z1.SVG: {
39278
39278
  if (rz.has(n))
39279
39279
  return !1;
39280
39280
  break;
39281
39281
  }
39282
- case z1.MATHML: {
39282
+ case Z1.MATHML: {
39283
39283
  if (iz.has(n))
39284
39284
  return !1;
39285
39285
  break;
@@ -39301,19 +39301,19 @@ class K91 {
39301
39301
  for (let t = this.stackTop; t >= 0; t--) {
39302
39302
  const i = this.tagIDs[t];
39303
39303
  switch (this.treeAdapter.getNamespaceURI(this.items[t])) {
39304
- case z1.HTML: {
39304
+ case Z1.HTML: {
39305
39305
  if (Ty.has(i))
39306
39306
  return !0;
39307
39307
  if (vd.has(i))
39308
39308
  return !1;
39309
39309
  break;
39310
39310
  }
39311
- case z1.SVG: {
39311
+ case Z1.SVG: {
39312
39312
  if (rz.has(i))
39313
39313
  return !1;
39314
39314
  break;
39315
39315
  }
39316
- case z1.MATHML: {
39316
+ case Z1.MATHML: {
39317
39317
  if (iz.has(i))
39318
39318
  return !1;
39319
39319
  break;
@@ -39324,7 +39324,7 @@ class K91 {
39324
39324
  }
39325
39325
  hasInTableScope(t) {
39326
39326
  for (let i = this.stackTop; i >= 0; i--)
39327
- if (this.treeAdapter.getNamespaceURI(this.items[i]) === z1.HTML)
39327
+ if (this.treeAdapter.getNamespaceURI(this.items[i]) === Z1.HTML)
39328
39328
  switch (this.tagIDs[i]) {
39329
39329
  case t:
39330
39330
  return !0;
@@ -39336,7 +39336,7 @@ class K91 {
39336
39336
  }
39337
39337
  hasTableBodyContextInTableScope() {
39338
39338
  for (let t = this.stackTop; t >= 0; t--)
39339
- if (this.treeAdapter.getNamespaceURI(this.items[t]) === z1.HTML)
39339
+ if (this.treeAdapter.getNamespaceURI(this.items[t]) === Z1.HTML)
39340
39340
  switch (this.tagIDs[t]) {
39341
39341
  case _.TBODY:
39342
39342
  case _.THEAD:
@@ -39350,7 +39350,7 @@ class K91 {
39350
39350
  }
39351
39351
  hasInSelectScope(t) {
39352
39352
  for (let i = this.stackTop; i >= 0; i--)
39353
- if (this.treeAdapter.getNamespaceURI(this.items[i]) === z1.HTML)
39353
+ if (this.treeAdapter.getNamespaceURI(this.items[i]) === Z1.HTML)
39354
39354
  switch (this.tagIDs[i]) {
39355
39355
  case t:
39356
39356
  return !0;
@@ -39770,17 +39770,17 @@ const az = {
39770
39770
  "yChannelSelector",
39771
39771
  "zoomAndPan"
39772
39772
  ].map((e) => [e.toLowerCase(), e])), l31 = /* @__PURE__ */ new Map([
39773
- ["xlink:actuate", { prefix: "xlink", name: "actuate", namespace: z1.XLINK }],
39774
- ["xlink:arcrole", { prefix: "xlink", name: "arcrole", namespace: z1.XLINK }],
39775
- ["xlink:href", { prefix: "xlink", name: "href", namespace: z1.XLINK }],
39776
- ["xlink:role", { prefix: "xlink", name: "role", namespace: z1.XLINK }],
39777
- ["xlink:show", { prefix: "xlink", name: "show", namespace: z1.XLINK }],
39778
- ["xlink:title", { prefix: "xlink", name: "title", namespace: z1.XLINK }],
39779
- ["xlink:type", { prefix: "xlink", name: "type", namespace: z1.XLINK }],
39780
- ["xml:lang", { prefix: "xml", name: "lang", namespace: z1.XML }],
39781
- ["xml:space", { prefix: "xml", name: "space", namespace: z1.XML }],
39782
- ["xmlns", { prefix: "", name: "xmlns", namespace: z1.XMLNS }],
39783
- ["xmlns:xlink", { prefix: "xmlns", name: "xlink", namespace: z1.XMLNS }]
39773
+ ["xlink:actuate", { prefix: "xlink", name: "actuate", namespace: Z1.XLINK }],
39774
+ ["xlink:arcrole", { prefix: "xlink", name: "arcrole", namespace: Z1.XLINK }],
39775
+ ["xlink:href", { prefix: "xlink", name: "href", namespace: Z1.XLINK }],
39776
+ ["xlink:role", { prefix: "xlink", name: "role", namespace: Z1.XLINK }],
39777
+ ["xlink:show", { prefix: "xlink", name: "show", namespace: Z1.XLINK }],
39778
+ ["xlink:title", { prefix: "xlink", name: "title", namespace: Z1.XLINK }],
39779
+ ["xlink:type", { prefix: "xlink", name: "type", namespace: Z1.XLINK }],
39780
+ ["xml:lang", { prefix: "xml", name: "lang", namespace: Z1.XML }],
39781
+ ["xml:space", { prefix: "xml", name: "space", namespace: Z1.XML }],
39782
+ ["xmlns", { prefix: "", name: "xmlns", namespace: Z1.XMLNS }],
39783
+ ["xmlns:xlink", { prefix: "xmlns", name: "xlink", namespace: Z1.XMLNS }]
39784
39784
  ]), u31 = new Map([
39785
39785
  "altGlyph",
39786
39786
  "altGlyphDef",
@@ -39892,20 +39892,20 @@ function d31(e) {
39892
39892
  t != null && (e.tagName = t, e.tagID = F9(e.tagName));
39893
39893
  }
39894
39894
  function p31(e, t) {
39895
- return t === z1.MATHML && (e === _.MI || e === _.MO || e === _.MN || e === _.MS || e === _.MTEXT);
39895
+ return t === Z1.MATHML && (e === _.MI || e === _.MO || e === _.MN || e === _.MS || e === _.MTEXT);
39896
39896
  }
39897
39897
  function f31(e, t, i) {
39898
- if (t === z1.MATHML && e === _.ANNOTATION_XML) {
39898
+ if (t === Z1.MATHML && e === _.ANNOTATION_XML) {
39899
39899
  for (let r = 0; r < i.length; r++)
39900
39900
  if (i[r].name === A4.ENCODING) {
39901
39901
  const n = i[r].value.toLowerCase();
39902
39902
  return n === az.TEXT_HTML || n === az.APPLICATION_XML;
39903
39903
  }
39904
39904
  }
39905
- return t === z1.SVG && (e === _.FOREIGN_OBJECT || e === _.DESC || e === _.TITLE);
39905
+ return t === Z1.SVG && (e === _.FOREIGN_OBJECT || e === _.DESC || e === _.TITLE);
39906
39906
  }
39907
39907
  function g31(e, t, i, r) {
39908
- return (!r || r === z1.HTML) && f31(e, t, i) || (!r || r === z1.MATHML) && p31(e, t);
39908
+ return (!r || r === Z1.HTML) && f31(e, t, i) || (!r || r === Z1.MATHML) && p31(e, t);
39909
39909
  }
39910
39910
  const C31 = "hidden", m31 = 8, v31 = 3;
39911
39911
  var i1;
@@ -39942,8 +39942,8 @@ let lz = class {
39942
39942
  ...oz,
39943
39943
  ...i
39944
39944
  };
39945
- t ?? (t = r.treeAdapter.createElement(p1.TEMPLATE, z1.HTML, []));
39946
- const n = r.treeAdapter.createElement("documentmock", z1.HTML, []), s = new this(r, n, t);
39945
+ t ?? (t = r.treeAdapter.createElement(p1.TEMPLATE, Z1.HTML, []));
39946
+ const n = r.treeAdapter.createElement("documentmock", Z1.HTML, []), s = new this(r, n, t);
39947
39947
  return s.fragmentContextID === _.TEMPLATE && s.tmplInsertionModeStack.unshift(i1.IN_TEMPLATE), s._initTokenizerForFragmentParsing(), s._insertFakeRootElement(), s._resetInsertionMode(), s._findFormInFragmentContext(), s;
39948
39948
  }
39949
39949
  getFragment() {
@@ -39982,12 +39982,12 @@ let lz = class {
39982
39982
  }
39983
39983
  }
39984
39984
  _setContextModes(t, i) {
39985
- const r = t === this.document || t && this.treeAdapter.getNamespaceURI(t) === z1.HTML;
39985
+ const r = t === this.document || t && this.treeAdapter.getNamespaceURI(t) === Z1.HTML;
39986
39986
  this.currentNotInHTML = !r, this.tokenizer.inForeignNode = !r && t !== void 0 && i !== void 0 && !this._isIntegrationPoint(i, t);
39987
39987
  }
39988
39988
  /** @protected */
39989
39989
  _switchToTextParsing(t, i) {
39990
- this._insertElement(t, z1.HTML), this.tokenizer.state = i, this.originalInsertionMode = this.insertionMode, this.insertionMode = i1.TEXT;
39990
+ this._insertElement(t, Z1.HTML), this.tokenizer.state = i, this.originalInsertionMode = this.insertionMode, this.insertionMode = i1.TEXT;
39991
39991
  }
39992
39992
  switchToPlaintextParsing() {
39993
39993
  this.insertionMode = i1.TEXT, this.originalInsertionMode = i1.IN_BODY, this.tokenizer.state = M2.PLAINTEXT;
@@ -40009,7 +40009,7 @@ let lz = class {
40009
40009
  }
40010
40010
  }
40011
40011
  _initTokenizerForFragmentParsing() {
40012
- if (!(!this.fragmentContext || this.treeAdapter.getNamespaceURI(this.fragmentContext) !== z1.HTML))
40012
+ if (!(!this.fragmentContext || this.treeAdapter.getNamespaceURI(this.fragmentContext) !== Z1.HTML))
40013
40013
  switch (this.fragmentContextID) {
40014
40014
  case _.TITLE:
40015
40015
  case _.TEXTAREA: {
@@ -40076,17 +40076,17 @@ let lz = class {
40076
40076
  }
40077
40077
  /** @protected */
40078
40078
  _insertFakeElement(t, i) {
40079
- const r = this.treeAdapter.createElement(t, z1.HTML, []);
40079
+ const r = this.treeAdapter.createElement(t, Z1.HTML, []);
40080
40080
  this._attachElementToTree(r, null), this.openElements.push(r, i);
40081
40081
  }
40082
40082
  /** @protected */
40083
40083
  _insertTemplate(t) {
40084
- const i = this.treeAdapter.createElement(t.tagName, z1.HTML, t.attrs), r = this.treeAdapter.createDocumentFragment();
40084
+ const i = this.treeAdapter.createElement(t.tagName, Z1.HTML, t.attrs), r = this.treeAdapter.createDocumentFragment();
40085
40085
  this.treeAdapter.setTemplateContent(i, r), this._attachElementToTree(i, t.location), this.openElements.push(i, t.tagID), this.options.sourceCodeLocationInfo && this.treeAdapter.setNodeSourceCodeLocation(r, null);
40086
40086
  }
40087
40087
  /** @protected */
40088
40088
  _insertFakeRootElement() {
40089
- const t = this.treeAdapter.createElement(p1.HTML, z1.HTML, []);
40089
+ const t = this.treeAdapter.createElement(p1.HTML, Z1.HTML, []);
40090
40090
  this.options.sourceCodeLocationInfo && this.treeAdapter.setNodeSourceCodeLocation(t, null), this.treeAdapter.appendChild(this.openElements.current, t), this.openElements.push(t, _.HTML);
40091
40091
  }
40092
40092
  /** @protected */
@@ -40135,11 +40135,11 @@ let lz = class {
40135
40135
  if (!this.currentNotInHTML)
40136
40136
  return !1;
40137
40137
  let i, r;
40138
- return this.openElements.stackTop === 0 && this.fragmentContext ? (i = this.fragmentContext, r = this.fragmentContextID) : { current: i, currentTagId: r } = this.openElements, t.tagID === _.SVG && this.treeAdapter.getTagName(i) === p1.ANNOTATION_XML && this.treeAdapter.getNamespaceURI(i) === z1.MATHML ? !1 : (
40138
+ return this.openElements.stackTop === 0 && this.fragmentContext ? (i = this.fragmentContext, r = this.fragmentContextID) : { current: i, currentTagId: r } = this.openElements, t.tagID === _.SVG && this.treeAdapter.getTagName(i) === p1.ANNOTATION_XML && this.treeAdapter.getNamespaceURI(i) === Z1.MATHML ? !1 : (
40139
40139
  // Check that `current` is not an integration point for HTML or MathML elements.
40140
40140
  this.tokenizer.inForeignNode || // If it _is_ an integration point, then we might have to check that it is not an HTML
40141
40141
  // integration point.
40142
- (t.tagID === _.MGLYPH || t.tagID === _.MALIGNMARK) && r !== void 0 && !this._isIntegrationPoint(r, i, z1.HTML)
40142
+ (t.tagID === _.MGLYPH || t.tagID === _.MALIGNMARK) && r !== void 0 && !this._isIntegrationPoint(r, i, Z1.HTML)
40143
40143
  );
40144
40144
  }
40145
40145
  /** @protected */
@@ -40300,7 +40300,7 @@ let lz = class {
40300
40300
  const i = this.openElements.items[t];
40301
40301
  switch (this.openElements.tagIDs[t]) {
40302
40302
  case _.TEMPLATE: {
40303
- if (this.treeAdapter.getNamespaceURI(i) === z1.HTML)
40303
+ if (this.treeAdapter.getNamespaceURI(i) === Z1.HTML)
40304
40304
  return { parent: this.treeAdapter.getTemplateContent(i), beforeElement: null };
40305
40305
  break;
40306
40306
  }
@@ -40858,7 +40858,7 @@ function V31(e, t, i) {
40858
40858
  e._fosterParentElement(i);
40859
40859
  else {
40860
40860
  const s = e.treeAdapter.getNamespaceURI(t);
40861
- n === _.TEMPLATE && s === z1.HTML && (t = e.treeAdapter.getTemplateContent(t)), e.treeAdapter.appendChild(t, i);
40861
+ n === _.TEMPLATE && s === Z1.HTML && (t = e.treeAdapter.getTemplateContent(t)), e.treeAdapter.appendChild(t, i);
40862
40862
  }
40863
40863
  }
40864
40864
  function H31(e, t, i) {
@@ -40910,7 +40910,7 @@ function y3(e, t) {
40910
40910
  e._err(t, y1.missingDoctype, !0), e.treeAdapter.setDocumentMode(e.document, an.QUIRKS), e.insertionMode = i1.BEFORE_HTML, e._processToken(t);
40911
40911
  }
40912
40912
  function N31(e, t) {
40913
- t.tagID === _.HTML ? (e._insertElement(t, z1.HTML), e.insertionMode = i1.BEFORE_HEAD) : B7(e, t);
40913
+ t.tagID === _.HTML ? (e._insertElement(t, Z1.HTML), e.insertionMode = i1.BEFORE_HEAD) : B7(e, t);
40914
40914
  }
40915
40915
  function z31(e, t) {
40916
40916
  const i = t.tagID;
@@ -40926,7 +40926,7 @@ function Z31(e, t) {
40926
40926
  break;
40927
40927
  }
40928
40928
  case _.HEAD: {
40929
- e._insertElement(t, z1.HTML), e.headElement = e.openElements.current, e.insertionMode = i1.IN_HEAD;
40929
+ e._insertElement(t, Z1.HTML), e.headElement = e.openElements.current, e.insertionMode = i1.IN_HEAD;
40930
40930
  break;
40931
40931
  }
40932
40932
  default:
@@ -40951,7 +40951,7 @@ function jn(e, t) {
40951
40951
  case _.BGSOUND:
40952
40952
  case _.LINK:
40953
40953
  case _.META: {
40954
- e._appendElement(t, z1.HTML), t.ackSelfClosing = !0;
40954
+ e._appendElement(t, Z1.HTML), t.ackSelfClosing = !0;
40955
40955
  break;
40956
40956
  }
40957
40957
  case _.TITLE: {
@@ -40959,7 +40959,7 @@ function jn(e, t) {
40959
40959
  break;
40960
40960
  }
40961
40961
  case _.NOSCRIPT: {
40962
- e.options.scriptingEnabled ? e._switchToTextParsing(t, M2.RAWTEXT) : (e._insertElement(t, z1.HTML), e.insertionMode = i1.IN_HEAD_NO_SCRIPT);
40962
+ e.options.scriptingEnabled ? e._switchToTextParsing(t, M2.RAWTEXT) : (e._insertElement(t, Z1.HTML), e.insertionMode = i1.IN_HEAD_NO_SCRIPT);
40963
40963
  break;
40964
40964
  }
40965
40965
  case _.NOFRAMES:
@@ -41058,11 +41058,11 @@ function D31(e, t) {
41058
41058
  break;
41059
41059
  }
41060
41060
  case _.BODY: {
41061
- e._insertElement(t, z1.HTML), e.framesetOk = !1, e.insertionMode = i1.IN_BODY;
41061
+ e._insertElement(t, Z1.HTML), e.framesetOk = !1, e.insertionMode = i1.IN_BODY;
41062
41062
  break;
41063
41063
  }
41064
41064
  case _.FRAMESET: {
41065
- e._insertElement(t, z1.HTML), e.insertionMode = i1.IN_FRAMESET;
41065
+ e._insertElement(t, Z1.HTML), e.insertionMode = i1.IN_FRAMESET;
41066
41066
  break;
41067
41067
  }
41068
41068
  case _.BASE:
@@ -41148,20 +41148,20 @@ function I31(e, t) {
41148
41148
  }
41149
41149
  function O31(e, t) {
41150
41150
  const i = e.openElements.tryPeekProperlyNestedBodyElement();
41151
- e.framesetOk && i && (e.treeAdapter.detachNode(i), e.openElements.popAllUpToHtmlElement(), e._insertElement(t, z1.HTML), e.insertionMode = i1.IN_FRAMESET);
41151
+ e.framesetOk && i && (e.treeAdapter.detachNode(i), e.openElements.popAllUpToHtmlElement(), e._insertElement(t, Z1.HTML), e.insertionMode = i1.IN_FRAMESET);
41152
41152
  }
41153
41153
  function F31(e, t) {
41154
- e.openElements.hasInButtonScope(_.P) && e._closePElement(), e._insertElement(t, z1.HTML);
41154
+ e.openElements.hasInButtonScope(_.P) && e._closePElement(), e._insertElement(t, Z1.HTML);
41155
41155
  }
41156
41156
  function P31(e, t) {
41157
- e.openElements.hasInButtonScope(_.P) && e._closePElement(), e.openElements.currentTagId !== void 0 && Ty.has(e.openElements.currentTagId) && e.openElements.pop(), e._insertElement(t, z1.HTML);
41157
+ e.openElements.hasInButtonScope(_.P) && e._closePElement(), e.openElements.currentTagId !== void 0 && Ty.has(e.openElements.currentTagId) && e.openElements.pop(), e._insertElement(t, Z1.HTML);
41158
41158
  }
41159
41159
  function $31(e, t) {
41160
- e.openElements.hasInButtonScope(_.P) && e._closePElement(), e._insertElement(t, z1.HTML), e.skipNextNewLine = !0, e.framesetOk = !1;
41160
+ e.openElements.hasInButtonScope(_.P) && e._closePElement(), e._insertElement(t, Z1.HTML), e.skipNextNewLine = !0, e.framesetOk = !1;
41161
41161
  }
41162
41162
  function U31(e, t) {
41163
41163
  const i = e.openElements.tmplCount > 0;
41164
- (!e.formElement || i) && (e.openElements.hasInButtonScope(_.P) && e._closePElement(), e._insertElement(t, z1.HTML), i || (e.formElement = e.openElements.current));
41164
+ (!e.formElement || i) && (e.openElements.hasInButtonScope(_.P) && e._closePElement(), e._insertElement(t, Z1.HTML), i || (e.formElement = e.openElements.current));
41165
41165
  }
41166
41166
  function G31(e, t) {
41167
41167
  e.framesetOk = !1;
@@ -41175,51 +41175,51 @@ function G31(e, t) {
41175
41175
  if (n !== _.ADDRESS && n !== _.DIV && n !== _.P && e._isSpecialElement(e.openElements.items[r], n))
41176
41176
  break;
41177
41177
  }
41178
- e.openElements.hasInButtonScope(_.P) && e._closePElement(), e._insertElement(t, z1.HTML);
41178
+ e.openElements.hasInButtonScope(_.P) && e._closePElement(), e._insertElement(t, Z1.HTML);
41179
41179
  }
41180
41180
  function W31(e, t) {
41181
- e.openElements.hasInButtonScope(_.P) && e._closePElement(), e._insertElement(t, z1.HTML), e.tokenizer.state = M2.PLAINTEXT;
41181
+ e.openElements.hasInButtonScope(_.P) && e._closePElement(), e._insertElement(t, Z1.HTML), e.tokenizer.state = M2.PLAINTEXT;
41182
41182
  }
41183
41183
  function Y31(e, t) {
41184
- e.openElements.hasInScope(_.BUTTON) && (e.openElements.generateImpliedEndTags(), e.openElements.popUntilTagNamePopped(_.BUTTON)), e._reconstructActiveFormattingElements(), e._insertElement(t, z1.HTML), e.framesetOk = !1;
41184
+ e.openElements.hasInScope(_.BUTTON) && (e.openElements.generateImpliedEndTags(), e.openElements.popUntilTagNamePopped(_.BUTTON)), e._reconstructActiveFormattingElements(), e._insertElement(t, Z1.HTML), e.framesetOk = !1;
41185
41185
  }
41186
41186
  function q31(e, t) {
41187
41187
  const i = e.activeFormattingElements.getElementEntryInScopeWithTagName(p1.A);
41188
- i && (HV(e, t), e.openElements.remove(i.element), e.activeFormattingElements.removeEntry(i)), e._reconstructActiveFormattingElements(), e._insertElement(t, z1.HTML), e.activeFormattingElements.pushElement(e.openElements.current, t);
41188
+ i && (HV(e, t), e.openElements.remove(i.element), e.activeFormattingElements.removeEntry(i)), e._reconstructActiveFormattingElements(), e._insertElement(t, Z1.HTML), e.activeFormattingElements.pushElement(e.openElements.current, t);
41189
41189
  }
41190
41190
  function j31(e, t) {
41191
- e._reconstructActiveFormattingElements(), e._insertElement(t, z1.HTML), e.activeFormattingElements.pushElement(e.openElements.current, t);
41191
+ e._reconstructActiveFormattingElements(), e._insertElement(t, Z1.HTML), e.activeFormattingElements.pushElement(e.openElements.current, t);
41192
41192
  }
41193
41193
  function K31(e, t) {
41194
- e._reconstructActiveFormattingElements(), e.openElements.hasInScope(_.NOBR) && (HV(e, t), e._reconstructActiveFormattingElements()), e._insertElement(t, z1.HTML), e.activeFormattingElements.pushElement(e.openElements.current, t);
41194
+ e._reconstructActiveFormattingElements(), e.openElements.hasInScope(_.NOBR) && (HV(e, t), e._reconstructActiveFormattingElements()), e._insertElement(t, Z1.HTML), e.activeFormattingElements.pushElement(e.openElements.current, t);
41195
41195
  }
41196
41196
  function X31(e, t) {
41197
- e._reconstructActiveFormattingElements(), e._insertElement(t, z1.HTML), e.activeFormattingElements.insertMarker(), e.framesetOk = !1;
41197
+ e._reconstructActiveFormattingElements(), e._insertElement(t, Z1.HTML), e.activeFormattingElements.insertMarker(), e.framesetOk = !1;
41198
41198
  }
41199
41199
  function Q31(e, t) {
41200
- e.treeAdapter.getDocumentMode(e.document) !== an.QUIRKS && e.openElements.hasInButtonScope(_.P) && e._closePElement(), e._insertElement(t, z1.HTML), e.framesetOk = !1, e.insertionMode = i1.IN_TABLE;
41200
+ e.treeAdapter.getDocumentMode(e.document) !== an.QUIRKS && e.openElements.hasInButtonScope(_.P) && e._closePElement(), e._insertElement(t, Z1.HTML), e.framesetOk = !1, e.insertionMode = i1.IN_TABLE;
41201
41201
  }
41202
41202
  function _$(e, t) {
41203
- e._reconstructActiveFormattingElements(), e._appendElement(t, z1.HTML), e.framesetOk = !1, t.ackSelfClosing = !0;
41203
+ e._reconstructActiveFormattingElements(), e._appendElement(t, Z1.HTML), e.framesetOk = !1, t.ackSelfClosing = !0;
41204
41204
  }
41205
41205
  function N$(e) {
41206
41206
  const t = m$(e, A4.TYPE);
41207
41207
  return t != null && t.toLowerCase() === C31;
41208
41208
  }
41209
41209
  function J31(e, t) {
41210
- e._reconstructActiveFormattingElements(), e._appendElement(t, z1.HTML), N$(t) || (e.framesetOk = !1), t.ackSelfClosing = !0;
41210
+ e._reconstructActiveFormattingElements(), e._appendElement(t, Z1.HTML), N$(t) || (e.framesetOk = !1), t.ackSelfClosing = !0;
41211
41211
  }
41212
41212
  function e71(e, t) {
41213
- e._appendElement(t, z1.HTML), t.ackSelfClosing = !0;
41213
+ e._appendElement(t, Z1.HTML), t.ackSelfClosing = !0;
41214
41214
  }
41215
41215
  function t71(e, t) {
41216
- e.openElements.hasInButtonScope(_.P) && e._closePElement(), e._appendElement(t, z1.HTML), e.framesetOk = !1, t.ackSelfClosing = !0;
41216
+ e.openElements.hasInButtonScope(_.P) && e._closePElement(), e._appendElement(t, Z1.HTML), e.framesetOk = !1, t.ackSelfClosing = !0;
41217
41217
  }
41218
41218
  function i71(e, t) {
41219
41219
  t.tagName = p1.IMG, t.tagID = _.IMG, _$(e, t);
41220
41220
  }
41221
41221
  function r71(e, t) {
41222
- e._insertElement(t, z1.HTML), e.skipNextNewLine = !0, e.tokenizer.state = M2.RCDATA, e.originalInsertionMode = e.insertionMode, e.framesetOk = !1, e.insertionMode = i1.TEXT;
41222
+ e._insertElement(t, Z1.HTML), e.skipNextNewLine = !0, e.tokenizer.state = M2.RCDATA, e.originalInsertionMode = e.insertionMode, e.framesetOk = !1, e.insertionMode = i1.TEXT;
41223
41223
  }
41224
41224
  function n71(e, t) {
41225
41225
  e.openElements.hasInButtonScope(_.P) && e._closePElement(), e._reconstructActiveFormattingElements(), e.framesetOk = !1, e._switchToTextParsing(t, M2.RAWTEXT);
@@ -41231,25 +41231,25 @@ function uz(e, t) {
41231
41231
  e._switchToTextParsing(t, M2.RAWTEXT);
41232
41232
  }
41233
41233
  function a71(e, t) {
41234
- e._reconstructActiveFormattingElements(), e._insertElement(t, z1.HTML), e.framesetOk = !1, e.insertionMode = e.insertionMode === i1.IN_TABLE || e.insertionMode === i1.IN_CAPTION || e.insertionMode === i1.IN_TABLE_BODY || e.insertionMode === i1.IN_ROW || e.insertionMode === i1.IN_CELL ? i1.IN_SELECT_IN_TABLE : i1.IN_SELECT;
41234
+ e._reconstructActiveFormattingElements(), e._insertElement(t, Z1.HTML), e.framesetOk = !1, e.insertionMode = e.insertionMode === i1.IN_TABLE || e.insertionMode === i1.IN_CAPTION || e.insertionMode === i1.IN_TABLE_BODY || e.insertionMode === i1.IN_ROW || e.insertionMode === i1.IN_CELL ? i1.IN_SELECT_IN_TABLE : i1.IN_SELECT;
41235
41235
  }
41236
41236
  function o71(e, t) {
41237
- e.openElements.currentTagId === _.OPTION && e.openElements.pop(), e._reconstructActiveFormattingElements(), e._insertElement(t, z1.HTML);
41237
+ e.openElements.currentTagId === _.OPTION && e.openElements.pop(), e._reconstructActiveFormattingElements(), e._insertElement(t, Z1.HTML);
41238
41238
  }
41239
41239
  function l71(e, t) {
41240
- e.openElements.hasInScope(_.RUBY) && e.openElements.generateImpliedEndTags(), e._insertElement(t, z1.HTML);
41240
+ e.openElements.hasInScope(_.RUBY) && e.openElements.generateImpliedEndTags(), e._insertElement(t, Z1.HTML);
41241
41241
  }
41242
41242
  function u71(e, t) {
41243
- e.openElements.hasInScope(_.RUBY) && e.openElements.generateImpliedEndTagsWithExclusion(_.RTC), e._insertElement(t, z1.HTML);
41243
+ e.openElements.hasInScope(_.RUBY) && e.openElements.generateImpliedEndTagsWithExclusion(_.RTC), e._insertElement(t, Z1.HTML);
41244
41244
  }
41245
41245
  function c71(e, t) {
41246
- e._reconstructActiveFormattingElements(), S$(t), VV(t), t.selfClosing ? e._appendElement(t, z1.MATHML) : e._insertElement(t, z1.MATHML), t.ackSelfClosing = !0;
41246
+ e._reconstructActiveFormattingElements(), S$(t), VV(t), t.selfClosing ? e._appendElement(t, Z1.MATHML) : e._insertElement(t, Z1.MATHML), t.ackSelfClosing = !0;
41247
41247
  }
41248
41248
  function h71(e, t) {
41249
- e._reconstructActiveFormattingElements(), V$(t), VV(t), t.selfClosing ? e._appendElement(t, z1.SVG) : e._insertElement(t, z1.SVG), t.ackSelfClosing = !0;
41249
+ e._reconstructActiveFormattingElements(), V$(t), VV(t), t.selfClosing ? e._appendElement(t, Z1.SVG) : e._insertElement(t, Z1.SVG), t.ackSelfClosing = !0;
41250
41250
  }
41251
41251
  function cz(e, t) {
41252
- e._reconstructActiveFormattingElements(), e._insertElement(t, z1.HTML);
41252
+ e._reconstructActiveFormattingElements(), e._insertElement(t, Z1.HTML);
41253
41253
  }
41254
41254
  function Ui(e, t) {
41255
41255
  switch (t.tagID) {
@@ -41637,16 +41637,16 @@ function PC(e, t) {
41637
41637
  w6(e, t);
41638
41638
  }
41639
41639
  function V71(e, t) {
41640
- e.openElements.clearBackToTableContext(), e.activeFormattingElements.insertMarker(), e._insertElement(t, z1.HTML), e.insertionMode = i1.IN_CAPTION;
41640
+ e.openElements.clearBackToTableContext(), e.activeFormattingElements.insertMarker(), e._insertElement(t, Z1.HTML), e.insertionMode = i1.IN_CAPTION;
41641
41641
  }
41642
41642
  function H71(e, t) {
41643
- e.openElements.clearBackToTableContext(), e._insertElement(t, z1.HTML), e.insertionMode = i1.IN_COLUMN_GROUP;
41643
+ e.openElements.clearBackToTableContext(), e._insertElement(t, Z1.HTML), e.insertionMode = i1.IN_COLUMN_GROUP;
41644
41644
  }
41645
41645
  function M71(e, t) {
41646
41646
  e.openElements.clearBackToTableContext(), e._insertFakeElement(p1.COLGROUP, _.COLGROUP), e.insertionMode = i1.IN_COLUMN_GROUP, bV(e, t);
41647
41647
  }
41648
41648
  function b71(e, t) {
41649
- e.openElements.clearBackToTableContext(), e._insertElement(t, z1.HTML), e.insertionMode = i1.IN_TABLE_BODY;
41649
+ e.openElements.clearBackToTableContext(), e._insertElement(t, Z1.HTML), e.insertionMode = i1.IN_TABLE_BODY;
41650
41650
  }
41651
41651
  function _71(e, t) {
41652
41652
  e.openElements.clearBackToTableContext(), e._insertFakeElement(p1.TBODY, _.TBODY), e.insertionMode = i1.IN_TABLE_BODY, Lf(e, t);
@@ -41655,10 +41655,10 @@ function N71(e, t) {
41655
41655
  e.openElements.hasInTableScope(_.TABLE) && (e.openElements.popUntilTagNamePopped(_.TABLE), e._resetInsertionMode(), e._processStartTag(t));
41656
41656
  }
41657
41657
  function z71(e, t) {
41658
- N$(t) ? e._appendElement(t, z1.HTML) : w6(e, t), t.ackSelfClosing = !0;
41658
+ N$(t) ? e._appendElement(t, Z1.HTML) : w6(e, t), t.ackSelfClosing = !0;
41659
41659
  }
41660
41660
  function Z71(e, t) {
41661
- !e.formElement && e.openElements.tmplCount === 0 && (e._insertElement(t, z1.HTML), e.formElement = e.openElements.current, e.openElements.pop());
41661
+ !e.formElement && e.openElements.tmplCount === 0 && (e._insertElement(t, Z1.HTML), e.formElement = e.openElements.current, e.openElements.pop());
41662
41662
  }
41663
41663
  function h9(e, t) {
41664
41664
  switch (t.tagID) {
@@ -41789,7 +41789,7 @@ function bV(e, t) {
41789
41789
  break;
41790
41790
  }
41791
41791
  case _.COL: {
41792
- e._appendElement(t, z1.HTML), t.ackSelfClosing = !0;
41792
+ e._appendElement(t, Z1.HTML), t.ackSelfClosing = !0;
41793
41793
  break;
41794
41794
  }
41795
41795
  case _.TEMPLATE: {
@@ -41822,7 +41822,7 @@ function wd(e, t) {
41822
41822
  function Lf(e, t) {
41823
41823
  switch (t.tagID) {
41824
41824
  case _.TR: {
41825
- e.openElements.clearBackToTableBodyContext(), e._insertElement(t, z1.HTML), e.insertionMode = i1.IN_ROW;
41825
+ e.openElements.clearBackToTableBodyContext(), e._insertElement(t, Z1.HTML), e.insertionMode = i1.IN_ROW;
41826
41826
  break;
41827
41827
  }
41828
41828
  case _.TH:
@@ -41873,7 +41873,7 @@ function Sf(e, t) {
41873
41873
  switch (t.tagID) {
41874
41874
  case _.TH:
41875
41875
  case _.TD: {
41876
- e.openElements.clearBackToTableRowContext(), e._insertElement(t, z1.HTML), e.insertionMode = i1.IN_CELL, e.activeFormattingElements.insertMarker();
41876
+ e.openElements.clearBackToTableRowContext(), e._insertElement(t, Z1.HTML), e.insertionMode = i1.IN_CELL, e.activeFormattingElements.insertMarker();
41877
41877
  break;
41878
41878
  }
41879
41879
  case _.CAPTION:
@@ -41955,15 +41955,15 @@ function D$(e, t) {
41955
41955
  break;
41956
41956
  }
41957
41957
  case _.OPTION: {
41958
- e.openElements.currentTagId === _.OPTION && e.openElements.pop(), e._insertElement(t, z1.HTML);
41958
+ e.openElements.currentTagId === _.OPTION && e.openElements.pop(), e._insertElement(t, Z1.HTML);
41959
41959
  break;
41960
41960
  }
41961
41961
  case _.OPTGROUP: {
41962
- e.openElements.currentTagId === _.OPTION && e.openElements.pop(), e.openElements.currentTagId === _.OPTGROUP && e.openElements.pop(), e._insertElement(t, z1.HTML);
41962
+ e.openElements.currentTagId === _.OPTION && e.openElements.pop(), e.openElements.currentTagId === _.OPTGROUP && e.openElements.pop(), e._insertElement(t, Z1.HTML);
41963
41963
  break;
41964
41964
  }
41965
41965
  case _.HR: {
41966
- e.openElements.currentTagId === _.OPTION && e.openElements.pop(), e.openElements.currentTagId === _.OPTGROUP && e.openElements.pop(), e._appendElement(t, z1.HTML), t.ackSelfClosing = !0;
41966
+ e.openElements.currentTagId === _.OPTION && e.openElements.pop(), e.openElements.currentTagId === _.OPTGROUP && e.openElements.pop(), e._appendElement(t, Z1.HTML), t.ackSelfClosing = !0;
41967
41967
  break;
41968
41968
  }
41969
41969
  case _.INPUT:
@@ -42080,11 +42080,11 @@ function P71(e, t) {
42080
42080
  break;
42081
42081
  }
42082
42082
  case _.FRAMESET: {
42083
- e._insertElement(t, z1.HTML);
42083
+ e._insertElement(t, Z1.HTML);
42084
42084
  break;
42085
42085
  }
42086
42086
  case _.FRAME: {
42087
- e._appendElement(t, z1.HTML), t.ackSelfClosing = !0;
42087
+ e._appendElement(t, Z1.HTML), t.ackSelfClosing = !0;
42088
42088
  break;
42089
42089
  }
42090
42090
  case _.NOFRAMES: {
@@ -42136,7 +42136,7 @@ function j71(e, t) {
42136
42136
  e._insertCharacters(t), e.framesetOk = !1;
42137
42137
  }
42138
42138
  function O$(e) {
42139
- for (; e.treeAdapter.getNamespaceURI(e.openElements.current) !== z1.HTML && e.openElements.currentTagId !== void 0 && !e._isIntegrationPoint(e.openElements.currentTagId, e.openElements.current); )
42139
+ for (; e.treeAdapter.getNamespaceURI(e.openElements.current) !== Z1.HTML && e.openElements.currentTagId !== void 0 && !e._isIntegrationPoint(e.openElements.currentTagId, e.openElements.current); )
42140
42140
  e.openElements.pop();
42141
42141
  }
42142
42142
  function K71(e, t) {
@@ -42144,7 +42144,7 @@ function K71(e, t) {
42144
42144
  O$(e), e._startTagOutsideForeignContent(t);
42145
42145
  else {
42146
42146
  const i = e._getAdjustedCurrentElement(), r = e.treeAdapter.getNamespaceURI(i);
42147
- r === z1.MATHML ? S$(t) : r === z1.SVG && (d31(t), V$(t)), VV(t), t.selfClosing ? e._appendElement(t, r) : e._insertElement(t, r), t.ackSelfClosing = !0;
42147
+ r === Z1.MATHML ? S$(t) : r === Z1.SVG && (d31(t), V$(t)), VV(t), t.selfClosing ? e._appendElement(t, r) : e._insertElement(t, r), t.ackSelfClosing = !0;
42148
42148
  }
42149
42149
  }
42150
42150
  function X71(e, t) {
@@ -42154,7 +42154,7 @@ function X71(e, t) {
42154
42154
  }
42155
42155
  for (let i = e.openElements.stackTop; i > 0; i--) {
42156
42156
  const r = e.openElements.items[i];
42157
- if (e.treeAdapter.getNamespaceURI(r) === z1.HTML) {
42157
+ if (e.treeAdapter.getNamespaceURI(r) === Z1.HTML) {
42158
42158
  e._endTagOutsideForeignContent(t);
42159
42159
  break;
42160
42160
  }
@@ -46875,7 +46875,7 @@ const Mh1 = ["aria-valuenow", "aria-valuemax"], xU = /* @__PURE__ */ g({
46875
46875
  class: "min-w-20 h-2.5 rounded-lg border border-gray-default bg-[#f5f5f5] overflow-hidden"
46876
46876
  }, [
46877
46877
  D("div", {
46878
- class: E1(["h-full rounded-lg", e.barClass]),
46878
+ class: z1(["h-full rounded-lg", e.barClass]),
46879
46879
  style: Ct({ width: i.value + "%" })
46880
46880
  }, null, 6),
46881
46881
  U1(r.$slots, "default")
@@ -46894,7 +46894,7 @@ const Mh1 = ["aria-valuenow", "aria-valuemax"], xU = /* @__PURE__ */ g({
46894
46894
  max: Bz,
46895
46895
  "aria-label": e.score >= i ? z(r)("Bon") : z(r)("À améliorer"),
46896
46896
  "bar-class": e.score >= i ? "bg-success-dark" : "bg-gray-low",
46897
- class: E1(t.class)
46897
+ class: z1(t.class)
46898
46898
  }, {
46899
46899
  default: e1(() => [
46900
46900
  D("span", bh1, [
@@ -49882,7 +49882,7 @@ let nG = vi.RenderStrategy, qy = g({ props: { as: { type: [Object, String], defa
49882
49882
  E(I), w.value = !1;
49883
49883
  }, { immediate: !0 });
49884
49884
  }), u2(UV, L), H6(W(() => ft(v.value, { visible: Ht.Open, hidden: Ht.Closed }) | s.value)), () => {
49885
- let { appear: R, show: k, enter: I, enterFrom: O, enterTo: q, entered: Y, leave: K, leaveFrom: F, leaveTo: J, ...t1 } = e, G = { ref: h }, v1 = { ...t1, ...f.value && p.value && S6.isServer ? { class: E1([i.class, t1.class, ...V, ...S]) } : {} };
49885
+ let { appear: R, show: k, enter: I, enterFrom: O, enterTo: q, entered: Y, leave: K, leaveFrom: F, leaveTo: J, ...t1 } = e, G = { ref: h }, v1 = { ...t1, ...f.value && p.value && S6.isServer ? { class: z1([i.class, t1.class, ...V, ...S]) } : {} };
49886
49886
  return ht({ theirProps: v1, ourProps: G, slot: {}, slots: r, attrs: i, features: nG, visible: v.value === "visible", name: "TransitionChild" });
49887
49887
  };
49888
49888
  } }), mp1 = qy, GV = g({ inheritAttrs: !1, props: { as: { type: [Object, String], default: "div" }, show: { type: [Boolean], default: null }, unmount: { type: [Boolean], default: !0 }, appear: { type: [Boolean], default: !1 }, enter: { type: [String], default: "" }, enterFrom: { type: [String], default: "" }, enterTo: { type: [String], default: "" }, entered: { type: [String], default: "" }, leave: { type: [String], default: "" }, leaveFrom: { type: [String], default: "" }, leaveTo: { type: [String], default: "" } }, emits: { beforeEnter: () => !0, afterEnter: () => !0, beforeLeave: () => !0, afterLeave: () => !0 }, setup(e, { emit: t, attrs: i, slots: r }) {
@@ -49968,7 +49968,7 @@ const Rf = /* @__PURE__ */ g({
49968
49968
  (T(), s1(u6, { to: "#tooltips" }, [
49969
49969
  Es(U(z(FV), {
49970
49970
  ref: "panel",
49971
- class: E1(["drop-shadow bg-white rounded-sm w-96 absolute z-[800]", {
49971
+ class: z1(["drop-shadow bg-white rounded-sm w-96 absolute z-[800]", {
49972
49972
  "p-0": e.noMargin,
49973
49973
  "p-3": !e.noMargin
49974
49974
  }]),
@@ -51627,7 +51627,7 @@ const qV = /* @__PURE__ */ Y2(Sg1, [["render", Hg1]]), Mg1 = {
51627
51627
  secondary: "text-gray-title bg-gray-lower"
51628
51628
  })[t.type]);
51629
51629
  return (r, n) => (T(), P("span", {
51630
- class: E1(["inline-flex items-center space-x-1 text-xs rounded-xl px-2 py-0.5", i.value])
51630
+ class: z1(["inline-flex items-center space-x-1 text-xs rounded-xl px-2 py-0.5", i.value])
51631
51631
  }, [
51632
51632
  e.icon ? (T(), s1(dt(e.icon), {
51633
51633
  key: 0,
@@ -52358,7 +52358,7 @@ const dC1 = ["src"], P2e = /* @__PURE__ */ g({
52358
52358
  });
52359
52359
  return (r, n) => (T(), s1(dt(e.url ? vr : "span"), {
52360
52360
  to: e.url,
52361
- class: E1(["text-xs leading-5 px-2 py-0.5 rounded-full uppercase inline-flex items-center", {
52361
+ class: z1(["text-xs leading-5 px-2 py-0.5 rounded-full uppercase inline-flex items-center", {
52362
52362
  "bg-none bg-datagouv hover:bg-datagouv-dark text-white gap-1": e.url,
52363
52363
  "bg-gray-lower gap-0.5": !e.url
52364
52364
  }])
@@ -52368,7 +52368,7 @@ const dC1 = ["src"], P2e = /* @__PURE__ */ g({
52368
52368
  key: 0,
52369
52369
  src: z(i),
52370
52370
  alt: "",
52371
- class: E1({ "bg-white rounded-full": e.url })
52371
+ class: z1({ "bg-white rounded-full": e.url })
52372
52372
  }, null, 10, dC1)) : r1("", !0),
52373
52373
  c1(" " + $(e.badge.label), 1)
52374
52374
  ]),
@@ -52385,7 +52385,7 @@ const dC1 = ["src"], P2e = /* @__PURE__ */ g({
52385
52385
  },
52386
52386
  setup(e) {
52387
52387
  return (t, i) => (T(), P("div", {
52388
- class: E1(e.size === "sm" ? z(Ch1) : z(yU)),
52388
+ class: z1(e.size === "sm" ? z(Ch1) : z(yU)),
52389
52389
  innerHTML: z(lh1)(e.content, { minDepth: e.minHeading, noHeadings: e.noHeadings })
52390
52390
  }, null, 10, pC1));
52391
52391
  }
@@ -52406,14 +52406,14 @@ const dC1 = ["src"], P2e = /* @__PURE__ */ g({
52406
52406
  xs: "text-xs"
52407
52407
  })[t.size]), n = W(() => mF(t.type).label);
52408
52408
  return (s, a) => (T(), P("div", {
52409
- class: E1(`${i.value} flex items-center gap-1`)
52409
+ class: z1(`${i.value} flex items-center gap-1`)
52410
52410
  }, [
52411
52411
  U(vF, {
52412
52412
  type: e.type,
52413
52413
  class: "size-4"
52414
52414
  }, null, 8, ["type"]),
52415
52415
  D("div", {
52416
- class: E1(r.value)
52416
+ class: z1(r.value)
52417
52417
  }, $(n.value), 3)
52418
52418
  ], 2));
52419
52419
  }
@@ -52626,7 +52626,7 @@ const zC1 = /* @__PURE__ */ Y2(bC1, [["render", NC1]]), ZC1 = ["name", "value",
52626
52626
  setup(e) {
52627
52627
  const t = e, i = gt(VG), { locale: r } = q1(), n = W(() => i?.modelValue.value === t.value), s = W(() => n.value ? t.highlighted ? "bg-blue-800 text-white" : "bg-gray-200" : "hover:bg-gray-100"), a = W(() => t.count === void 0 ? "" : new Intl.NumberFormat(r, { notation: "compact" }).format(t.count));
52628
52628
  return (o, l) => (T(), P("label", {
52629
- class: E1(["flex items-center gap-2 p-1 rounded cursor-pointer transition has-[:focus-visible]:ring-2 has-[:focus-visible]:ring-blue-500", s.value])
52629
+ class: z1(["flex items-center gap-2 p-1 rounded cursor-pointer transition has-[:focus-visible]:ring-2 has-[:focus-visible]:ring-blue-500", s.value])
52630
52630
  }, [
52631
52631
  D("input", {
52632
52632
  type: "radio",
@@ -52636,16 +52636,20 @@ const zC1 = /* @__PURE__ */ Y2(bC1, [["render", NC1]]), ZC1 = ["name", "value",
52636
52636
  class: "sr-only",
52637
52637
  onChange: l[0] || (l[0] = (c) => z(i)?.select(e.value))
52638
52638
  }, null, 40, ZC1),
52639
- e.icon ? (T(), s1(dt(e.icon), {
52639
+ e.icon && typeof e.icon != "string" ? (T(), s1(dt(e.icon), {
52640
52640
  key: 0,
52641
52641
  class: "w-4 h-4"
52642
- })) : r1("", !0),
52642
+ })) : e.icon ? (T(), P("span", {
52643
+ key: 1,
52644
+ class: z1(e.icon),
52645
+ "aria-hidden": "true"
52646
+ }, null, 2)) : r1("", !0),
52643
52647
  D("span", EC1, [
52644
52648
  U1(o.$slots, "default")
52645
52649
  ]),
52646
52650
  e.loading || e.count !== void 0 ? (T(), P("span", {
52647
- key: 1,
52648
- class: E1(["text-xs font-bold px-1 py-0.5 rounded", n.value && e.highlighted ? "bg-white/20 text-white" : "bg-gray-200 text-gray-600"])
52651
+ key: 2,
52652
+ class: z1(["text-xs font-bold px-1 py-0.5 rounded", n.value && e.highlighted ? "bg-white/20 text-white" : "bg-gray-200 text-gray-600"])
52649
52653
  }, [
52650
52654
  e.loading ? (T(), s1(zC1, { key: 0 })) : (T(), P(N1, { key: 1 }, [
52651
52655
  c1($(a.value), 1)
@@ -53706,7 +53710,7 @@ const yv1 = { class: "relative" }, G2e = /* @__PURE__ */ g({
53706
53710
  ], 4),
53707
53711
  n.value ? (T(), P("div", {
53708
53712
  key: 0,
53709
- class: E1(["bottom-0 w-full cursor-pointer text-center", {
53713
+ class: z1(["bottom-0 w-full cursor-pointer text-center", {
53710
53714
  "relative pt-2.5": r.value,
53711
53715
  "absolute pt-20 bg-linear-to-b from-white/0 via-70% via-white/100 to-white/100": !r.value
53712
53716
  }]),
@@ -53741,7 +53745,7 @@ const yv1 = { class: "relative" }, G2e = /* @__PURE__ */ g({
53741
53745
  };
53742
53746
  return (s, a) => (T(), s1(z(ap1), {
53743
53747
  as: "div",
53744
- class: E1({
53748
+ class: z1({
53745
53749
  "tabs-sm": e.size === "sm"
53746
53750
  }),
53747
53751
  "default-index": i.defaultIndex,
@@ -53769,7 +53773,7 @@ const yv1 = { class: "relative" }, G2e = /* @__PURE__ */ g({
53769
53773
  return (t, i) => (T(), s1(z(lp1), { as: "template" }, {
53770
53774
  default: e1(({ selected: r }) => [
53771
53775
  D("button", {
53772
- class: E1(["fr-segmented__element", { selected: r }])
53776
+ class: z1(["fr-segmented__element", { selected: r }])
53773
53777
  }, [
53774
53778
  D("div", Lv1, [
53775
53779
  U1(t.$slots, "default", {}, void 0, !0)
@@ -54382,7 +54386,7 @@ const Nw1 = { class: "relative shrink-0" }, zw1 = ["value"], Zw1 = ["value"], Ew
54382
54386
  onClick: (c) => n(l.name)
54383
54387
  }, [
54384
54388
  U(z(aF), {
54385
- class: E1(["size-3 text-gray-medium transition-transform", { "rotate-90": r.has(l.name) }])
54389
+ class: z1(["size-3 text-gray-medium transition-transform", { "rotate-90": r.has(l.name) }])
54386
54390
  }, null, 8, ["class"]),
54387
54391
  c1(" " + $(l.name) + " ", 1),
54388
54392
  l.required ? (T(), P("span", Dw1, "*")) : r1("", !0)
@@ -54421,12 +54425,12 @@ const Nw1 = { class: "relative shrink-0" }, zw1 = ["value"], Zw1 = ["value"], Ew
54421
54425
  D("div", $w1, [
54422
54426
  D("button", {
54423
54427
  type: "button",
54424
- class: E1(["text-xs font-medium px-2 py-0.5 rounded", r.value === "schema" ? "bg-gray-200 text-gray-title" : "text-gray-medium hover:text-gray-title"]),
54428
+ class: z1(["text-xs font-medium px-2 py-0.5 rounded", r.value === "schema" ? "bg-gray-200 text-gray-title" : "text-gray-medium hover:text-gray-title"]),
54425
54429
  onClick: a[0] || (a[0] = (o) => r.value = "schema")
54426
54430
  }, $(z(i)("Schéma")), 3),
54427
54431
  D("button", {
54428
54432
  type: "button",
54429
- class: E1(["text-xs font-medium px-2 py-0.5 rounded", r.value === "example" ? "bg-gray-200 text-gray-title" : "text-gray-medium hover:text-gray-title"]),
54433
+ class: z1(["text-xs font-medium px-2 py-0.5 rounded", r.value === "example" ? "bg-gray-200 text-gray-title" : "text-gray-medium hover:text-gray-title"]),
54430
54434
  onClick: a[1] || (a[1] = (o) => r.value = "example")
54431
54435
  }, $(z(i)("Exemple")), 3)
54432
54436
  ]),
@@ -54620,7 +54624,7 @@ const Nw1 = { class: "relative shrink-0" }, zw1 = ["value"], Zw1 = ["value"], Ew
54620
54624
  D("div", {
54621
54625
  ref_key: "tabListContainer",
54622
54626
  ref: r,
54623
- class: E1(["overflow-x-auto flex-1 min-w-0", { "scroll-fade": n.value }]),
54627
+ class: z1(["overflow-x-auto flex-1 min-w-0", { "scroll-fade": n.value }]),
54624
54628
  onScroll: a
54625
54629
  }, [
54626
54630
  U(Pf, null, {
@@ -54630,7 +54634,7 @@ const Nw1 = { class: "relative shrink-0" }, zw1 = ["value"], Zw1 = ["value"], Ew
54630
54634
  }, {
54631
54635
  default: e1(() => [
54632
54636
  D("span", {
54633
- class: E1(["inline-block w-2 h-2 rounded-full mr-1.5", f(v.code)])
54637
+ class: z1(["inline-block w-2 h-2 rounded-full mr-1.5", f(v.code)])
54634
54638
  }, null, 2),
54635
54639
  c1(" " + $(v.code), 1)
54636
54640
  ]),
@@ -59254,7 +59258,7 @@ const Mx1 = {
59254
59258
  D("span", kx1, $(w.endpoints.length), 1)
59255
59259
  ]),
59256
59260
  U(z(mr), {
59257
- class: E1(["size-5 text-gray-medium transition-transform", { "rotate-180": y }])
59261
+ class: z1(["size-5 text-gray-medium transition-transform", { "rotate-180": y }])
59258
59262
  }, null, 8, ["class"])
59259
59263
  ]),
59260
59264
  _: 2
@@ -59269,7 +59273,7 @@ const Mx1 = {
59269
59273
  U(z(k5), { class: "flex items-baseline gap-2 md:gap-3 py-3 px-1 w-full text-left" }, {
59270
59274
  default: e1(() => [
59271
59275
  D("span", {
59272
- class: E1(["shrink-0 w-12 md:w-16 inline-flex items-center justify-center rounded px-1.5 py-0.5 text-xs font-bold uppercase font-mono leading-none", C(x.method)])
59276
+ class: z1(["shrink-0 w-12 md:w-16 inline-flex items-center justify-center rounded px-1.5 py-0.5 text-xs font-bold uppercase font-mono leading-none", C(x.method)])
59273
59277
  }, $(x.method), 3),
59274
59278
  D("div", Ix1, [
59275
59279
  D("span", Ox1, [
@@ -59286,7 +59290,7 @@ const Mx1 = {
59286
59290
  x.summary ? (T(), P("p", Px1, $(x.summary), 1)) : r1("", !0)
59287
59291
  ]),
59288
59292
  U(z(mr), {
59289
- class: E1(["size-4 shrink-0 text-gray-medium transition-transform", { "rotate-180": L }])
59293
+ class: z1(["size-4 shrink-0 text-gray-medium transition-transform", { "rotate-180": L }])
59290
59294
  }, null, 8, ["class"])
59291
59295
  ]),
59292
59296
  _: 2
@@ -59326,7 +59330,7 @@ const Mx1 = {
59326
59330
  D("span", Wx1, $(p.value.length), 1)
59327
59331
  ]),
59328
59332
  U(z(mr), {
59329
- class: E1(["size-5 text-gray-medium transition-transform", { "rotate-180": w }])
59333
+ class: z1(["size-5 text-gray-medium transition-transform", { "rotate-180": w }])
59330
59334
  }, null, 8, ["class"])
59331
59335
  ]),
59332
59336
  _: 2
@@ -59341,7 +59345,7 @@ const Mx1 = {
59341
59345
  U(z(k5), { class: "flex items-center gap-2 py-3 px-1 w-full text-left" }, {
59342
59346
  default: e1(() => [
59343
59347
  U(z(mr), {
59344
- class: E1(["size-4 shrink-0 text-gray-medium transition-transform", { "rotate-180": x }])
59348
+ class: z1(["size-4 shrink-0 text-gray-medium transition-transform", { "rotate-180": x }])
59345
59349
  }, null, 8, ["class"]),
59346
59350
  D("span", Yx1, $(y.name), 1),
59347
59351
  y.schema.description ? (T(), P("span", qx1, $(y.schema.description), 1)) : r1("", !0)
@@ -59398,7 +59402,7 @@ const Mx1 = {
59398
59402
  canEdit: { type: Boolean, default: !1 }
59399
59403
  },
59400
59404
  setup(e) {
59401
- const t = ["url", "doi", "www:link", " www:link-1.0-http--link", "www:link-1.0-http--partners", "www:link-1.0-http--related", "www:link-1.0-http--samples"], i = e, r = vt(), n = nn(() => import("./MapContainer.client-CGrS2baS.js")), s = nn(() => import("./Pmtiles.client-DuTezcn5.js")), a = nn(() => import("./JsonPreview.client-PFfBR4J8.js")), o = nn(() => import("./PdfPreview.client-DU36UBGQ.js")), l = nn(() => import("./XmlPreview.client-Bcq2Ye14.js")), c = nn(() => import("./Datafair.client-C2j760M5.js")), { t: h } = q1(), { formatRelativeIfRecentDate: d } = yr(), p = fG(), f = W(() => {
59405
+ const t = ["url", "doi", "www:link", " www:link-1.0-http--link", "www:link-1.0-http--partners", "www:link-1.0-http--related", "www:link-1.0-http--samples"], i = e, r = vt(), n = nn(() => import("./MapContainer.client-DLueJ6cI.js")), s = nn(() => import("./Pmtiles.client-CSNW39JA.js")), a = nn(() => import("./JsonPreview.client-Dnw5AT0O.js")), o = nn(() => import("./PdfPreview.client-BqnobDUu.js")), l = nn(() => import("./XmlPreview.client-D3IKFPyo.js")), c = nn(() => import("./Datafair.client-DPUnHwTy.js")), { t: h } = q1(), { formatRelativeIfRecentDate: d } = yr(), p = fG(), f = W(() => {
59402
59406
  const J = i.resource.format?.toLowerCase();
59403
59407
  return J === "json" || J === "pdf" || J === "xml";
59404
59408
  }), C = W(() => p(i.resource)), m = W(() => i.resource.extras["analysis:parsing:pmtiles_url"] || i.resource.format === "pmtiles"), v = W(() => C8(i.dataset.organization) && i.resource.extras.datafairEmbed), w = W(() => C8(i.dataset.organization) && i.resource.extras.apidocUrl), y = W(() => YV(i.resource.format) ? i.resource.format : h("Fichier")), x = W(() => dG(i.resource)), L = W(() => x.value === "wms"), V = o1(i.expandedOnMount), S = () => {
@@ -59411,7 +59415,7 @@ const Mx1 = {
59411
59415
  t1 && (bi("View resource tab", i.resource.id, t1.label), t1.key === "data" && bi("Show preview", i.resource.id), t1.key === "data-structure" && bi("Show data structure", i.resource.id));
59412
59416
  }, N = W(() => i.isCommunityResource ? i.resource : null), b = W(() => N.value ? pF(N.value) : null), Z = i.resource.last_modified, E = i.resource.extras && "check:available" in i.resource.extras, R = W(() => Af(i.resource)), k = E && i.resource.extras["check:available"] === !1, I = k ? h("Le robot de {certifier} n'a pas pu accéder à ce fichier - Télécharger le fichier en {format}", { certifier: r.name, format: y.value }) : h("Télécharger le fichier en {format}", { format: y.value }), O = W(() => pG(i.dataset, i.resource)), q = "resource-" + i.resource.id, Y = "resource-" + i.resource.id + "-header", K = cG(i.resource), F = W(() => t.includes(i.resource.format));
59413
59417
  return (J, t1) => (T(), P("div", {
59414
- class: E1(["border border-gray-default overflow-auto", { "fr-pb-4v": V.value }])
59418
+ class: z1(["border border-gray-default overflow-auto", { "fr-pb-4v": V.value }])
59415
59419
  }, [
59416
59420
  D("header", {
59417
59421
  id: Y,
@@ -59567,7 +59571,7 @@ const Mx1 = {
59567
59571
  }, null, 8, ["dataset-id", "resource-id", "is-community-resource"])
59568
59572
  ])) : r1("", !0),
59569
59573
  D("div", {
59570
- class: E1(["fr-icon--sm fr-ml-4v", { "fr-icon-arrow-up-s-line": V.value, "fr-icon-arrow-down-s-line": !V.value }])
59574
+ class: z1(["fr-icon--sm fr-ml-4v", { "fr-icon-arrow-up-s-line": V.value, "fr-icon-arrow-down-s-line": !V.value }])
59571
59575
  }, null, 2)
59572
59576
  ])
59573
59577
  ]),
@@ -59715,7 +59719,7 @@ const Mx1 = {
59715
59719
  }, {
59716
59720
  default: e1(() => [
59717
59721
  U(z(mr), {
59718
- class: E1(["size-4", { "rotate-180": c }]),
59722
+ class: z1(["size-4", { "rotate-180": c }]),
59719
59723
  "aria-hidden": "true"
59720
59724
  }, null, 8, ["class"])
59721
59725
  ]),
@@ -59723,7 +59727,7 @@ const Mx1 = {
59723
59727
  }, 1032, ["aria-label"])
59724
59728
  ]),
59725
59729
  U(z(FV), {
59726
- class: E1(e.searchable ? "absolute left-0 top-full z-50 mt-2 w-96 max-w-[calc(100vw-2rem)] bg-white border border-gray-default rounded shadow-lg p-3 space-y-2" : "absolute left-0 top-full z-50 mt-1 w-80 max-h-96 overflow-auto bg-white border border-gray-default rounded shadow-lg p-1")
59730
+ class: z1(e.searchable ? "absolute left-0 top-full z-50 mt-2 w-96 max-w-[calc(100vw-2rem)] bg-white border border-gray-default rounded shadow-lg p-3 space-y-2" : "absolute left-0 top-full z-50 mt-1 w-80 max-h-96 overflow-auto bg-white border border-gray-default rounded shadow-lg p-1")
59727
59731
  }, {
59728
59732
  default: e1(() => [
59729
59733
  e.searchable ? Es((T(), P("input", {
@@ -59752,7 +59756,7 @@ const Mx1 = {
59752
59756
  ], 8, zL1)) : (T(), P("button", {
59753
59757
  key: 0,
59754
59758
  type: "button",
59755
- class: E1(["flex items-center gap-1.5 w-full text-left px-2 py-1.5 rounded text-sm hover:bg-gray-100 focus:outline-none focus-visible:bg-gray-100", { "font-bold bg-blue-50 text-new-primary": d.id === e.selectedId }]),
59759
+ class: z1(["flex items-center gap-1.5 w-full text-left px-2 py-1.5 rounded text-sm hover:bg-gray-100 focus:outline-none focus-visible:bg-gray-100", { "font-bold bg-blue-50 text-new-primary": d.id === e.selectedId }]),
59756
59760
  onClick: (p) => {
59757
59761
  r("select", d), h();
59758
59762
  }
@@ -59850,7 +59854,7 @@ const RL1 = {
59850
59854
  }, [
59851
59855
  D("button", {
59852
59856
  type: "button",
59853
- class: E1(["w-full text-left px-2 py-1.5 rounded text-sm flex items-center gap-1.5 hover:bg-gray-100", {
59857
+ class: z1(["w-full text-left px-2 py-1.5 rounded text-sm flex items-center gap-1.5 hover:bg-gray-100", {
59854
59858
  "font-bold bg-blue-50": a.id === e.selectedResourceId
59855
59859
  }]),
59856
59860
  onClick: (o) => r.$emit("select", a)
@@ -59923,7 +59927,7 @@ const JL1 = /* @__PURE__ */ g({
59923
59927
  gray: "bg-gray-some text-gray-plain"
59924
59928
  })[t.type]);
59925
59929
  return (r, n) => (T(), P("div", {
59926
- class: E1(["w-full rounded p-3", i.value])
59930
+ class: z1(["w-full rounded p-3", i.value])
59927
59931
  }, [
59928
59932
  U1(r.$slots, "default")
59929
59933
  ], 2));
@@ -59976,13 +59980,13 @@ const JL1 = /* @__PURE__ */ g({
59976
59980
  const { t } = q1(), { formatNumber: i, formatCellDate: r } = eY();
59977
59981
  return (n, s) => e.value == null || e.value === "" ? (T(), P("span", {
59978
59982
  key: 0,
59979
- class: E1(["font-[Inconsolata,monospace] text-gray-low italic", e.compact ? "text-xs" : "text-sm"])
59983
+ class: z1(["font-[Inconsolata,monospace] text-gray-low italic", e.compact ? "text-xs" : "text-sm"])
59980
59984
  }, "null", 2)) : e.columnType === "boolean" ? (T(), P("span", {
59981
59985
  key: 1,
59982
- class: E1(["inline-flex items-center gap-1.5 rounded-full px-2.5 py-0.5 text-xs", z(bh)(e.value) ? "bg-new-success-light text-new-success" : "bg-new-warning-light text-new-error"])
59986
+ class: z1(["inline-flex items-center gap-1.5 rounded-full px-2.5 py-0.5 text-xs", z(bh)(e.value) ? "bg-new-success-light text-new-success" : "bg-new-warning-light text-new-error"])
59983
59987
  }, [
59984
59988
  D("span", {
59985
- class: E1(["size-2 rounded-full", z(bh)(e.value) ? "bg-new-success" : "bg-new-error"])
59989
+ class: z1(["size-2 rounded-full", z(bh)(e.value) ? "bg-new-success" : "bg-new-error"])
59986
59990
  }, null, 2),
59987
59991
  c1(" " + $(z(bh)(e.value) ? z(t)("Vrai") : z(t)("Faux")), 1)
59988
59992
  ], 2)) : e.columnType === "categorical" ? (T(), P("span", {
@@ -59991,10 +59995,10 @@ const JL1 = /* @__PURE__ */ g({
59991
59995
  style: Ct(e.categoryBadgeStyle ? { backgroundColor: e.categoryBadgeStyle.backgroundColor, color: e.categoryBadgeStyle.color } : void 0)
59992
59996
  }, $(e.value), 5)) : e.columnType === "number" ? (T(), P("span", {
59993
59997
  key: 3,
59994
- class: E1(e.compact ? "font-mono tabular-nums text-xs text-gray-title" : "")
59998
+ class: z1(e.compact ? "font-mono tabular-nums text-xs text-gray-title" : "")
59995
59999
  }, $(z(i)(e.value)), 3)) : e.columnType === "date" ? (T(), P("span", {
59996
60000
  key: 4,
59997
- class: E1(e.compact ? "font-mono tabular-nums text-xs text-gray-title" : "")
60001
+ class: z1(e.compact ? "font-mono tabular-nums text-xs text-gray-title" : "")
59998
60002
  }, $(z(r)(e.value)), 3)) : (T(), P("span", nS1, $(typeof e.value == "object" ? JSON.stringify(e.value) : e.value), 1));
59999
60003
  }
60000
60004
  }), sS1 = { class: "px-3 pt-3 pb-2 border-b border-gray-default" }, aS1 = { class: "text-[10px] text-gray-plain mb-0" }, oS1 = { class: "text-xs text-gray-title mb-0" }, lS1 = { class: "flex items-center gap-2 px-3 py-2 border-b border-gray-default" }, uS1 = { class: "text-[10px] text-gray-plain" }, cS1 = { class: "inline-flex items-center gap-1 bg-gray-some rounded px-1.5 py-0.5 text-xs text-gray-plain" }, hS1 = { class: "text-[10px] text-gray-plain truncate min-w-0" }, dS1 = { class: "p-1" }, pS1 = /* @__PURE__ */ g({
@@ -60280,11 +60284,11 @@ const JL1 = /* @__PURE__ */ g({
60280
60284
  e.columnType === "categorical" && e.columnProfile?.tops && h.value.length ? (T(), P("div", VS1, [
60281
60285
  (T(!0), P(N1, null, we(h.value, (M) => (T(), P("button", {
60282
60286
  key: M.value,
60283
- class: E1(["flex w-full items-center gap-2 px-2 py-1.5 rounded-md hover:bg-gray-50 cursor-pointer text-xs select-none", d(M.value) && "bg-gray-50"]),
60287
+ class: z1(["flex w-full items-center gap-2 px-2 py-1.5 rounded-md hover:bg-gray-50 cursor-pointer text-xs select-none", d(M.value) && "bg-gray-50"]),
60284
60288
  onClick: (N) => p(M.value)
60285
60289
  }, [
60286
60290
  D("span", {
60287
- class: E1(["flex size-4 shrink-0 items-center justify-center rounded border", d(M.value) ? "border-new-primary bg-new-primary text-white" : "border-gray-low"])
60291
+ class: z1(["flex size-4 shrink-0 items-center justify-center rounded border", d(M.value) ? "border-new-primary bg-new-primary text-white" : "border-gray-low"])
60288
60292
  }, [
60289
60293
  d(M.value) ? (T(), s1(z(T9), {
60290
60294
  key: 0,
@@ -60306,29 +60310,29 @@ const JL1 = /* @__PURE__ */ g({
60306
60310
  ])) : r1("", !0),
60307
60311
  e.columnType === "boolean" ? (T(), P("div", _S1, [
60308
60312
  D("button", {
60309
- class: E1(["flex w-full items-center gap-2.5 rounded-md px-3 py-2 text-xs transition-colors", x.value === !0 ? "bg-new-primary text-white" : "bg-gray-some text-gray-title hover:bg-gray-default"]),
60313
+ class: z1(["flex w-full items-center gap-2.5 rounded-md px-3 py-2 text-xs transition-colors", x.value === !0 ? "bg-new-primary text-white" : "bg-gray-some text-gray-title hover:bg-gray-default"]),
60310
60314
  onClick: H[5] || (H[5] = (M) => L(!0))
60311
60315
  }, [
60312
60316
  D("span", {
60313
- class: E1(["size-2.5 rounded-full shrink-0", x.value === !0 ? "bg-new-success-light" : "bg-new-success"])
60317
+ class: z1(["size-2.5 rounded-full shrink-0", x.value === !0 ? "bg-new-success-light" : "bg-new-success"])
60314
60318
  }, null, 2),
60315
60319
  D("span", NS1, $(z(n)("Vrai")), 1),
60316
60320
  e.booleanCounts ? (T(), P("span", {
60317
60321
  key: 0,
60318
- class: E1(["font-mono tabular-nums text-xs", x.value === !0 ? "text-white/70" : "text-gray-low"])
60322
+ class: z1(["font-mono tabular-nums text-xs", x.value === !0 ? "text-white/70" : "text-gray-low"])
60319
60323
  }, $(e.booleanCounts.trueCount), 3)) : r1("", !0)
60320
60324
  ], 2),
60321
60325
  D("button", {
60322
- class: E1(["flex w-full items-center gap-2.5 rounded-md px-3 py-2 text-xs transition-colors", x.value === !1 ? "bg-new-primary text-white" : "bg-gray-some text-gray-title hover:bg-gray-default"]),
60326
+ class: z1(["flex w-full items-center gap-2.5 rounded-md px-3 py-2 text-xs transition-colors", x.value === !1 ? "bg-new-primary text-white" : "bg-gray-some text-gray-title hover:bg-gray-default"]),
60323
60327
  onClick: H[6] || (H[6] = (M) => L(!1))
60324
60328
  }, [
60325
60329
  D("span", {
60326
- class: E1(["size-2.5 rounded-full shrink-0", x.value === !1 ? "bg-new-warning-light" : "bg-new-error"])
60330
+ class: z1(["size-2.5 rounded-full shrink-0", x.value === !1 ? "bg-new-warning-light" : "bg-new-error"])
60327
60331
  }, null, 2),
60328
60332
  D("span", zS1, $(z(n)("Faux")), 1),
60329
60333
  e.booleanCounts ? (T(), P("span", {
60330
60334
  key: 0,
60331
- class: E1(["font-mono tabular-nums text-xs", x.value === !1 ? "text-white/70" : "text-gray-low"])
60335
+ class: z1(["font-mono tabular-nums text-xs", x.value === !1 ? "text-white/70" : "text-gray-low"])
60332
60336
  }, $(e.booleanCounts.falseCount), 3)) : r1("", !0)
60333
60337
  ], 2)
60334
60338
  ])) : r1("", !0),
@@ -60445,7 +60449,7 @@ const JL1 = /* @__PURE__ */ g({
60445
60449
  });
60446
60450
  return (p, f) => (T(), P("div", kS1, [
60447
60451
  D("button", {
60448
- class: E1(["p-0.5 rounded focus:outline-none", c.value ? "bg-primary text-white" : "hover:bg-gray-100"]),
60452
+ class: z1(["p-0.5 rounded focus:outline-none", c.value ? "bg-primary text-white" : "hover:bg-gray-100"]),
60449
60453
  onClick: Qi(a, ["stop"])
60450
60454
  }, [
60451
60455
  U(z(id), {
@@ -60978,11 +60982,11 @@ const JL1 = /* @__PURE__ */ g({
60978
60982
  D("span", HV1, $(l1(C1).label), 1)
60979
60983
  ]),
60980
60984
  D("div", {
60981
- class: E1(["absolute top-0 bottom-0 w-3 z-20 cursor-col-resize group/resize", C1 === q.value[q.value.length - 1] ? "right-3" : "-right-1.5"]),
60985
+ class: z1(["absolute top-0 bottom-0 w-3 z-20 cursor-col-resize group/resize", C1 === q.value[q.value.length - 1] ? "right-3" : "-right-1.5"]),
60982
60986
  onMousedown: Qi((ie) => v1(C1, ie), ["prevent"])
60983
60987
  }, [
60984
60988
  D("div", {
60985
- class: E1(["absolute inset-y-0 left-1/2 w-1 -translate-x-1/2 rounded-full bg-primary/40 opacity-0 group-hover/resize:opacity-100", { "!opacity-100": t1.value?.column === C1 }])
60989
+ class: z1(["absolute inset-y-0 left-1/2 w-1 -translate-x-1/2 rounded-full bg-primary/40 opacity-0 group-hover/resize:opacity-100", { "!opacity-100": t1.value?.column === C1 }])
60986
60990
  }, null, 2)
60987
60991
  ], 42, MV1)
60988
60992
  ], 4))), 128))
@@ -61010,7 +61014,7 @@ const JL1 = /* @__PURE__ */ g({
61010
61014
  (T(!0), P(N1, null, we(q.value, (Ee) => (T(), P("td", {
61011
61015
  key: Ee,
61012
61016
  "data-cell": "",
61013
- class: E1(["p-2 align-middle whitespace-nowrap border-r border-gray-default last:border-r-0 overflow-hidden cursor-pointer hover:bg-gray-200/50", { "text-right font-mono tabular-nums text-sm": Rt(Ee) === "number" || Rt(Ee) === "date" }]),
61017
+ class: z1(["p-2 align-middle whitespace-nowrap border-r border-gray-default last:border-r-0 overflow-hidden cursor-pointer hover:bg-gray-200/50", { "text-right font-mono tabular-nums text-sm": Rt(Ee) === "number" || Rt(Ee) === "date" }]),
61014
61018
  style: Ct(J.value[Ee] ? { maxWidth: J.value[Ee] + "px" } : { maxWidth: "300px" }),
61015
61019
  onClick: (e2) => x1(Ee, C1[Ee], e2)
61016
61020
  }, [
@@ -61047,7 +61051,7 @@ const JL1 = /* @__PURE__ */ g({
61047
61051
  ])) : r1("", !0),
61048
61052
  (T(!0), P(N1, null, we(H.value, (C1, ie) => (T(), P("div", {
61049
61053
  key: C1.__id ?? ie,
61050
- class: E1(["border border-gray-default rounded-lg p-3 space-y-2", ie % 2 === 1 ? "bg-gray-lowest-2" : "bg-white"])
61054
+ class: z1(["border border-gray-default rounded-lg p-3 space-y-2", ie % 2 === 1 ? "bg-gray-lowest-2" : "bg-white"])
61051
61055
  }, [
61052
61056
  (T(!0), P(N1, null, we(Q1(ie), (Ee) => (T(), P("div", {
61053
61057
  key: Ee,
@@ -61082,7 +61086,7 @@ const JL1 = /* @__PURE__ */ g({
61082
61086
  onClick: (Ee) => je(ie)
61083
61087
  }, [
61084
61088
  U(z(mr), {
61085
- class: E1(["size-3 transition-transform", { "rotate-180": W1.value.has(ie) }]),
61089
+ class: z1(["size-3 transition-transform", { "rotate-180": W1.value.has(ie) }]),
61086
61090
  "aria-hidden": "true"
61087
61091
  }, null, 8, ["class"]),
61088
61092
  c1(" " + $(W1.value.has(ie) ? z(n)("Moins") : `+${q.value.length - 4} ${z(n)("champs")}`), 1)
@@ -61141,7 +61145,7 @@ const JL1 = /* @__PURE__ */ g({
61141
61145
  class: "border-b border-gray-default last:border-b-0"
61142
61146
  }, [
61143
61147
  D("button", {
61144
- class: E1(["flex items-center gap-2 w-full px-3 py-2.5 text-left", k1(C1) ? "bg-new-primary/5" : ""]),
61148
+ class: z1(["flex items-center gap-2 w-full px-3 py-2.5 text-left", k1(C1) ? "bg-new-primary/5" : ""]),
61145
61149
  onClick: (ie) => Lt(C1)
61146
61150
  }, [
61147
61151
  (T(), s1(dt(l1(C1).icon), {
@@ -61161,7 +61165,7 @@ const JL1 = /* @__PURE__ */ g({
61161
61165
  })) : r1("", !0),
61162
61166
  k1(C1) ? (T(), P("span", WV1)) : r1("", !0),
61163
61167
  U(z(mr), {
61164
- class: E1(["size-3.5 text-gray-low shrink-0 transition-transform", { "rotate-180": de.value === C1 }]),
61168
+ class: z1(["size-3.5 text-gray-low shrink-0 transition-transform", { "rotate-180": de.value === C1 }]),
61165
61169
  "aria-hidden": "true"
61166
61170
  }, null, 8, ["class"])
61167
61171
  ], 10, UV1),
@@ -61224,17 +61228,17 @@ const JL1 = /* @__PURE__ */ g({
61224
61228
  async setup(e, { emit: t }) {
61225
61229
  let i, r;
61226
61230
  const n = nn(
61227
- () => import("./JsonPreview.client-PFfBR4J8.js")
61231
+ () => import("./JsonPreview.client-Dnw5AT0O.js")
61228
61232
  ), s = nn(
61229
- () => import("./PdfPreview.client-DU36UBGQ.js")
61233
+ () => import("./PdfPreview.client-BqnobDUu.js")
61230
61234
  ), a = nn(
61231
- () => import("./XmlPreview.client-Bcq2Ye14.js")
61235
+ () => import("./XmlPreview.client-D3IKFPyo.js")
61232
61236
  ), o = nn(
61233
- () => import("./Datafair.client-C2j760M5.js")
61237
+ () => import("./Datafair.client-DPUnHwTy.js")
61234
61238
  ), l = nn(
61235
- () => import("./MapContainer.client-CGrS2baS.js")
61239
+ () => import("./MapContainer.client-DLueJ6cI.js")
61236
61240
  ), c = nn(
61237
- () => import("./Pmtiles.client-DuTezcn5.js")
61241
+ () => import("./Pmtiles.client-CSNW39JA.js")
61238
61242
  ), h = e, d = t, { t: p } = q1(), f = vt(), { formatRelativeIfRecentDate: C } = yr(), {
61239
61243
  hasTabularData: m,
61240
61244
  hasPmtiles: v,
@@ -61844,7 +61848,7 @@ const ZH1 = { class: "flex flex-wrap items-center gap-1" }, EH1 = { class: "text
61844
61848
  setup(e) {
61845
61849
  const { t } = q1(), i = vt(), r = lW();
61846
61850
  return (n, s) => (T(), P("div", {
61847
- class: E1(["p-4 relative border bg-white hover:bg-gray-some", { "border-gray-default": !e.selected, "border-datagouv": e.selected }]),
61851
+ class: z1(["p-4 relative border bg-white hover:bg-gray-some", { "border-gray-default": !e.selected, "border-datagouv": e.selected }]),
61848
61852
  role: e.selectable ? "option" : void 0,
61849
61853
  "aria-selected": e.selectable && e.selected
61850
61854
  }, [
@@ -75052,7 +75056,7 @@ function ot(e, t, i, r) {
75052
75056
  }
75053
75057
  return (e - n) / l * c + a;
75054
75058
  }
75055
- var Z1 = vT1;
75059
+ var E1 = vT1;
75056
75060
  function vT1(e, t, i) {
75057
75061
  switch (e) {
75058
75062
  case "center":
@@ -79670,7 +79674,7 @@ function oD1(e, t) {
79670
79674
  });
79671
79675
  else {
79672
79676
  var a = e.get("center"), o = m1(a) ? a : [a, a];
79673
- n = Ut(r, i.refContainer), s = i.boxCoordFrom === wL.coord2 ? i.refPoint : [Z1(o[0], n.width) + n.x, Z1(o[1], n.height) + n.y];
79677
+ n = Ut(r, i.refContainer), s = i.boxCoordFrom === wL.coord2 ? i.refPoint : [E1(o[0], n.width) + n.x, E1(o[1], n.height) + n.y];
79674
79678
  }
79675
79679
  return {
79676
79680
  viewRect: n,
@@ -79680,7 +79684,7 @@ function oD1(e, t) {
79680
79684
  function eK(e, t) {
79681
79685
  var i = oD1(e, t), r = i.viewRect, n = i.center, s = e.get("radius");
79682
79686
  m1(s) || (s = [0, s]);
79683
- var a = Z1(r.width, t.getWidth()), o = Z1(r.height, t.getHeight()), l = Math.min(a, o), c = Z1(s[0], l / 2), h = Z1(s[1], l / 2);
79687
+ var a = E1(r.width, t.getWidth()), o = E1(r.height, t.getHeight()), l = Math.min(a, o), c = E1(s[0], l / 2), h = E1(s[1], l / 2);
79684
79688
  return {
79685
79689
  cx: n[0],
79686
79690
  cy: n[1],
@@ -79691,7 +79695,7 @@ function eK(e, t) {
79691
79695
  }
79692
79696
  function Ut(e, t, i) {
79693
79697
  i = G6(i || 0);
79694
- var r = t.width, n = t.height, s = Z1(e.left, r), a = Z1(e.top, n), o = Z1(e.right, r), l = Z1(e.bottom, n), c = Z1(e.width, r), h = Z1(e.height, n), d = i[2] + i[0], p = i[1] + i[3], f = e.aspect;
79698
+ var r = t.width, n = t.height, s = E1(e.left, r), a = E1(e.top, n), o = E1(e.right, r), l = E1(e.bottom, n), c = E1(e.width, r), h = E1(e.height, n), d = i[2] + i[0], p = i[1] + i[3], f = e.aspect;
79695
79699
  switch (isNaN(c) && (c = r - o - p - s), isNaN(h) && (h = n - l - d - a), f != null && (isNaN(c) && isNaN(h) && (f > r / n ? c = r * 0.8 : h = n * 0.8), isNaN(c) && (c = f * h), isNaN(h) && (h = c / f)), isNaN(s) && (s = r - o - c - p), isNaN(a) && (a = n - l - h - d), e.left || e.right) {
79696
79700
  case "center":
79697
79701
  s = r / 2 - c / 2 - i[3];
@@ -83815,7 +83819,7 @@ function s3(e) {
83815
83819
  }
83816
83820
  function Tl(e, t) {
83817
83821
  if (e != null)
83818
- return m1(e) || (e = [e, e]), [Z1(e[0], t[0]) || 0, Z1(Y1(e[1], e[0]), t[1]) || 0];
83822
+ return m1(e) || (e = [e, e]), [E1(e[0], t[0]) || 0, E1(Y1(e[1], e[0]), t[1]) || 0];
83819
83823
  }
83820
83824
  function E4(e) {
83821
83825
  return isFinite(e);
@@ -86475,7 +86479,7 @@ function LX(e) {
86475
86479
  var f = r.getData();
86476
86480
  o = Math.abs(a[1] - a[0]) / f.count();
86477
86481
  }
86478
- var C = Z1(r.get("barWidth"), o), m = Z1(r.get("barMaxWidth"), o), v = Z1(
86482
+ var C = E1(r.get("barWidth"), o), m = E1(r.get("barMaxWidth"), o), v = E1(
86479
86483
  // barMinWidth by default is 0.5 / 1 in cartesian. Because in value axis,
86480
86484
  // the auto-calculated bar width might be less than 0.5 / 1.
86481
86485
  r.get("barMinWidth") || (bX(r) ? 0.5 : 1),
@@ -86530,7 +86534,7 @@ function SX(e) {
86530
86534
  var l = Be(s).length;
86531
86535
  o = Math.max(35 - l * 4, 15) + "%";
86532
86536
  }
86533
- var c = Z1(o, a), h = Z1(r.gap, 1), d = r.remainedWidth, p = r.autoWidthCount, f = (d - c) / (p + (p - 1) * h);
86537
+ var c = E1(o, a), h = E1(r.gap, 1), d = r.remainedWidth, p = r.autoWidthCount, f = (d - c) / (p + (p - 1) * h);
86534
86538
  f = Math.max(f, 0), A(s, function(w) {
86535
86539
  var y = w.maxWidth, x = w.minWidth;
86536
86540
  if (w.width) {
@@ -88238,7 +88242,7 @@ var Ic = ["x", "y", "rotation"], HO1 = (
88238
88242
  offset: [h.dx || 0, h.dy || 0]
88239
88243
  });
88240
88244
  var p = !1;
88241
- if (h.x != null ? (o.x = Z1(h.x, i), o.setStyle("x", 0), p = !0) : (o.x = c.x, o.setStyle("x", c.style.x)), h.y != null ? (o.y = Z1(h.y, r), o.setStyle("y", 0), p = !0) : (o.y = c.y, o.setStyle("y", c.style.y)), h.labelLinePoints) {
88245
+ if (h.x != null ? (o.x = E1(h.x, i), o.setStyle("x", 0), p = !0) : (o.x = c.x, o.setStyle("x", c.style.x)), h.y != null ? (o.y = E1(h.y, r), o.setStyle("y", 0), p = !0) : (o.y = c.y, o.setStyle("y", c.style.y)), h.labelLinePoints) {
88242
88246
  var f = l.getTextGuideLine();
88243
88247
  f && (f.setShape({
88244
88248
  points: h.labelLinePoints
@@ -91758,12 +91762,12 @@ function qF1(e) {
91758
91762
  return !1;
91759
91763
  }
91760
91764
  t.each(function(S) {
91761
- var H = t.getItemGraphicEl(S), M = H.shape, N = H.getTextContent(), b = H.getTextGuideLine(), Z = t.getItemModel(S), E = Z.getModel("label"), R = E.get("position") || Z.get(["emphasis", "label", "position"]), k = E.get("distanceToLabelLine"), I = E.get("alignTo"), O = Z1(E.get("edgeDistance"), c), q = E.get("bleedMargin");
91765
+ var H = t.getItemGraphicEl(S), M = H.shape, N = H.getTextContent(), b = H.getTextGuideLine(), Z = t.getItemModel(S), E = Z.getModel("label"), R = E.get("position") || Z.get(["emphasis", "label", "position"]), k = E.get("distanceToLabelLine"), I = E.get("alignTo"), O = E1(E.get("edgeDistance"), c), q = E.get("bleedMargin");
91762
91766
  q == null && (q = Math.min(c, p) > 200 ? 10 : 2);
91763
91767
  var Y = Z.getModel("labelLine"), K = Y.get("length");
91764
- K = Z1(K, c);
91768
+ K = E1(K, c);
91765
91769
  var F = Y.get("length2");
91766
- if (F = Z1(F, c), Math.abs(M.endAngle - M.startAngle) < a) {
91770
+ if (F = E1(F, c), Math.abs(M.endAngle - M.startAngle) < a) {
91767
91771
  A(N.states, f), N.ignore = !0, b && (A(b.states, f), b.ignore = !0);
91768
91772
  return;
91769
91773
  }
@@ -94636,9 +94640,9 @@ var l$1 = (
94636
94640
  return [l, +(o && o.coordToData(n))];
94637
94641
  }, e.prototype.resize = function(t, i) {
94638
94642
  var r = q2(t, i).refContainer, n = t.get("center"), s = Math.min(r.width, r.height) / 2;
94639
- this.cx = Z1(n[0], r.width) + r.x, this.cy = Z1(n[1], r.height) + r.y, this.startAngle = t.get("startAngle") * Math.PI / 180;
94643
+ this.cx = E1(n[0], r.width) + r.x, this.cy = E1(n[1], r.height) + r.y, this.startAngle = t.get("startAngle") * Math.PI / 180;
94640
94644
  var a = t.get("radius");
94641
- (R1(a) || qe(a)) && (a = [0, a]), this.r0 = Z1(a[0], s), this.r = Z1(a[1], s), A(this._indicatorAxes, function(o, l) {
94645
+ (R1(a) || qe(a)) && (a = [0, a]), this.r0 = E1(a[0], s), this.r = E1(a[1], s), A(this._indicatorAxes, function(o, l) {
94642
94646
  o.setExtent(this.r0, this.r);
94643
94647
  var c = this.startAngle + l * Math.PI * 2 / this._indicatorAxes.length;
94644
94648
  c = Math.atan2(Math.sin(c), Math.cos(c)), o.angle = c;
@@ -96202,7 +96206,7 @@ var lB = x2, Bl = (
96202
96206
  o.parent = null, o.decomposeTransform(), o.parent = l, this._updateTransform();
96203
96207
  }, t.prototype.setCenter = function(i) {
96204
96208
  var r = this._opt;
96205
- r && r.api && r.ecModel && r.ecModel.getShallow("legacyViewCoordSysCenterBase") && i && (i = [Z1(i[0], r.api.getWidth()), Z1(i[1], r.api.getWidth())]), this._centerOption = se(i), this._updateCenterAndZoom();
96209
+ r && r.api && r.ecModel && r.ecModel.getShallow("legacyViewCoordSysCenterBase") && i && (i = [E1(i[0], r.api.getWidth()), E1(i[1], r.api.getWidth())]), this._centerOption = se(i), this._updateCenterAndZoom();
96206
96210
  }, t.prototype.setZoom = function(i) {
96207
96211
  this._zoom = ub(i || 1, this.zoomLimit), this._updateCenterAndZoom();
96208
96212
  }, t.prototype.getDefaultCenter = function() {
@@ -96216,7 +96220,7 @@ var lB = x2, Bl = (
96216
96220
  return this._roamTransformable.getLocalTransform();
96217
96221
  }, t.prototype._updateCenterAndZoom = function() {
96218
96222
  var i = this._centerOption, r = this._rect;
96219
- i && r && (this._center = [Z1(i[0], r.width, r.x), Z1(i[1], r.height, r.y)]);
96223
+ i && r && (this._center = [E1(i[0], r.width, r.x), E1(i[1], r.height, r.y)]);
96220
96224
  var n = this._rawTransformable.getLocalTransform(), s = this._roamTransformable, a = this.getDefaultCenter(), o = this.getCenter(), l = this.getZoom();
96221
96225
  o = x2([], o, n), a = x2([], a, n), s.originX = o[0], s.originY = o[1], s.x = a[0] - o[0], s.y = a[1] - o[1], s.scaleX = s.scaleY = l, this._updateTransform();
96222
96226
  }, t.prototype._updateTransform = function() {
@@ -96365,7 +96369,7 @@ function hB(e, t) {
96365
96369
  }
96366
96370
  }
96367
96371
  var d = this.getBoundingRect(), p = e.get("layoutCenter"), f = e.get("layoutSize"), C = q2(e, t).refContainer, m = d.width / d.height * this.aspectScale, v = !1, w, y;
96368
- p && f && (w = [Z1(p[0], C.width) + C.x, Z1(p[1], C.height) + C.y], y = Z1(f, Math.min(C.width, C.height)), !isNaN(w[0]) && !isNaN(w[1]) && !isNaN(y) ? v = !0 : process.env.NODE_ENV !== "production" && console.warn("Given layoutCenter or layoutSize data are invalid. Use left/top/width/height instead."));
96372
+ p && f && (w = [E1(p[0], C.width) + C.x, E1(p[1], C.height) + C.y], y = E1(f, Math.min(C.width, C.height)), !isNaN(w[0]) && !isNaN(w[1]) && !isNaN(y) ? v = !0 : process.env.NODE_ENV !== "production" && console.warn("Given layoutCenter or layoutSize data are invalid. Use left/top/width/height instead."));
96369
96373
  var x;
96370
96374
  if (v)
96371
96375
  x = {}, m > 1 ? (x.width = y, x.height = y / m) : (x.height = y, x.width = y * m), x.y = w[1] - x.height / 2, x.x = w[0] - x.width / 2;
@@ -96778,7 +96782,7 @@ var hU1 = (
96778
96782
  i.moveTo(a[0], a[1]), i.lineTo(o[0], o[1]);
96779
96783
  return;
96780
96784
  }
96781
- var c = r.orient, h = c === "TB" || c === "BT" ? 0 : 1, d = 1 - h, p = Z1(r.forkPosition, 1), f = [];
96785
+ var c = r.orient, h = c === "TB" || c === "BT" ? 0 : 1, d = 1 - h, p = E1(r.forkPosition, 1), f = [];
96782
96786
  f[h] = a[h], f[d] = a[d] + (l[d] - a[d]) * p, i.moveTo(a[0], a[1]), i.lineTo(f[0], f[1]), i.moveTo(o[0], o[1]), f[h] = o[h], i.lineTo(f[0], f[1]), f[h] = l[h], i.lineTo(f[0], f[1]), i.lineTo(l[0], l[1]);
96783
96787
  for (var C = 1; C < s - 1; C++) {
96784
96788
  var m = n[C];
@@ -98618,7 +98622,7 @@ var t6 = Math.max, Np = Math.min, MB = $2, fb = A, mJ = ["itemStyle", "borderWid
98618
98622
  const nG1 = {
98619
98623
  seriesType: "treemap",
98620
98624
  reset: function(e, t, i, r) {
98621
- var n = e.option, s = q2(e, i).refContainer, a = Ut(e.getBoxLayoutParams(), s), o = n.size || [], l = Z1(MB(a.width, o[0]), s.width), c = Z1(MB(a.height, o[1]), s.height), h = r && r.type, d = ["treemapZoomToNode", "treemapRootToNode"], p = J8(r, d, e), f = h === "treemapRender" || h === "treemapMove" ? r.rootRect : null, C = e.getViewRoot(), m = hJ(C);
98625
+ var n = e.option, s = q2(e, i).refContainer, a = Ut(e.getBoxLayoutParams(), s), o = n.size || [], l = E1(MB(a.width, o[0]), s.width), c = E1(MB(a.height, o[1]), s.height), h = r && r.type, d = ["treemapZoomToNode", "treemapRootToNode"], p = J8(r, d, e), f = h === "treemapRender" || h === "treemapMove" ? r.rootRect : null, C = e.getViewRoot(), m = hJ(C);
98622
98626
  if (h !== "treemapMove") {
98623
98627
  var v = h === "treemapZoomToNode" ? cG1(e, p, C, l, c) : f ? [f.width, f.height] : [l, c], w = n.sort;
98624
98628
  w && w !== "asc" && w !== "desc" && (w = "desc");
@@ -100362,7 +100366,7 @@ var AG1 = Math.PI / 180, DG1 = (
100362
100366
  d && N0(d, i, h);
100363
100367
  }).execute(), !a) {
100364
100368
  var c = i.get("center");
100365
- this.group.scaleX = 0.01, this.group.scaleY = 0.01, this.group.originX = Z1(c[0], n.getWidth()), this.group.originY = Z1(c[1], n.getHeight()), kt(this.group, {
100369
+ this.group.scaleX = 0.01, this.group.scaleY = 0.01, this.group.originX = E1(c[0], n.getWidth()), this.group.originY = E1(c[1], n.getHeight()), kt(this.group, {
100366
100370
  scaleX: 1,
100367
100371
  scaleY: 1
100368
100372
  }, i);
@@ -100616,7 +100620,7 @@ var FG1 = (
100616
100620
  })(Re)
100617
100621
  );
100618
100622
  function $G1(e, t) {
100619
- var i = e.get("center"), r = t.getWidth(), n = t.getHeight(), s = Math.min(r, n), a = Z1(i[0], t.getWidth()), o = Z1(i[1], t.getHeight()), l = Z1(e.get("radius"), s / 2);
100623
+ var i = e.get("center"), r = t.getWidth(), n = t.getHeight(), s = Math.min(r, n), a = E1(i[0], t.getWidth()), o = E1(i[1], t.getHeight()), l = E1(e.get("radius"), s / 2);
100620
100624
  return {
100621
100625
  cx: a,
100622
100626
  cy: o,
@@ -100680,7 +100684,7 @@ var UG1 = (
100680
100684
  };
100681
100685
  this._renderTicks(i, r, n, M, a, c, h, l, v), this._renderTitleAndDetail(i, r, n, M, a), this._renderAnchor(i, a), this._renderPointer(i, r, n, M, a, c, h, l, v);
100682
100686
  }, t.prototype._renderTicks = function(i, r, n, s, a, o, l, c, h) {
100683
- for (var d = this.group, p = a.cx, f = a.cy, C = a.r, m = +i.get("min"), v = +i.get("max"), w = i.getModel("splitLine"), y = i.getModel("axisTick"), x = i.getModel("axisLabel"), L = i.get("splitNumber"), V = y.get("splitNumber"), S = Z1(w.get("length"), C), H = Z1(y.get("length"), C), M = o, N = (l - o) / L, b = N / V, Z = w.getModel("lineStyle").getLineStyle(), E = y.getModel("lineStyle").getLineStyle(), R = w.get("distance"), k, I, O = 0; O <= L; O++) {
100687
+ for (var d = this.group, p = a.cx, f = a.cy, C = a.r, m = +i.get("min"), v = +i.get("max"), w = i.getModel("splitLine"), y = i.getModel("axisTick"), x = i.getModel("axisLabel"), L = i.get("splitNumber"), V = y.get("splitNumber"), S = E1(w.get("length"), C), H = E1(y.get("length"), C), M = o, N = (l - o) / L, b = N / V, Z = w.getModel("lineStyle").getLineStyle(), E = y.getModel("lineStyle").getLineStyle(), R = w.get("distance"), k, I, O = 0; O <= L; O++) {
100684
100688
  if (k = Math.cos(M), I = Math.sin(M), w.get("show")) {
100685
100689
  var q = R ? R + h : h, Y = new z2({
100686
100690
  shape: {
@@ -100751,7 +100755,7 @@ var UG1 = (
100751
100755
  }, t.prototype._renderPointer = function(i, r, n, s, a, o, l, c, h) {
100752
100756
  var d = this.group, p = this._data, f = this._progressEls, C = [], m = i.get(["pointer", "show"]), v = i.getModel("progress"), w = v.get("show"), y = i.getData(), x = y.mapDimension("value"), L = +i.get("min"), V = +i.get("max"), S = [L, V], H = [o, l];
100753
100757
  function M(b, Z) {
100754
- var E = y.getItemModel(b), R = E.getModel("pointer"), k = Z1(R.get("width"), a.r), I = Z1(R.get("length"), a.r), O = i.get(["pointer", "icon"]), q = R.get("offsetCenter"), Y = Z1(q[0], a.r), K = Z1(q[1], a.r), F = R.get("keepAspect"), J;
100758
+ var E = y.getItemModel(b), R = E.getModel("pointer"), k = E1(R.get("width"), a.r), I = E1(R.get("length"), a.r), O = i.get(["pointer", "icon"]), q = R.get("offsetCenter"), Y = E1(q[0], a.r), K = E1(q[1], a.r), F = R.get("keepAspect"), J;
100755
100759
  return O ? J = D2(O, Y - k / 2, K - I, k, I, null, F) : J = new PG1({
100756
100760
  shape: {
100757
100761
  angle: -Math.PI / 2,
@@ -100833,7 +100837,7 @@ var UG1 = (
100833
100837
  }, t.prototype._renderAnchor = function(i, r) {
100834
100838
  var n = i.getModel("anchor"), s = n.get("show");
100835
100839
  if (s) {
100836
- var a = n.get("size"), o = n.get("icon"), l = n.get("offsetCenter"), c = n.get("keepAspect"), h = D2(o, r.cx - a / 2 + Z1(l[0], r.r), r.cy - a / 2 + Z1(l[1], r.r), a, a, null, c);
100840
+ var a = n.get("size"), o = n.get("icon"), l = n.get("offsetCenter"), c = n.get("keepAspect"), h = D2(o, r.cx - a / 2 + E1(l[0], r.r), r.cy - a / 2 + E1(l[1], r.r), a, a, null, c);
100837
100841
  h.z2 = n.get("showAbove") ? 1 : 0, h.setStyle(n.getModel("itemStyle").getItemStyle()), this.group.add(h);
100838
100842
  }
100839
100843
  }, t.prototype._renderTitleAndDetail = function(i, r, n, s, a) {
@@ -100849,7 +100853,7 @@ var UG1 = (
100849
100853
  }).execute(), l.each(function(w) {
100850
100854
  var y = l.getItemModel(w), x = l.get(c, w), L = new ne(), V = s(ot(x, [h, d], [0, 1], !0)), S = y.getModel("title");
100851
100855
  if (S.get("show")) {
100852
- var H = S.get("offsetCenter"), M = a.cx + Z1(H[0], a.r), N = a.cy + Z1(H[1], a.r), b = f[w];
100856
+ var H = S.get("offsetCenter"), M = a.cx + E1(H[0], a.r), N = a.cy + E1(H[1], a.r), b = f[w];
100853
100857
  b.attr({
100854
100858
  z2: v ? 0 : 2,
100855
100859
  style: _t(S, {
@@ -100865,7 +100869,7 @@ var UG1 = (
100865
100869
  }
100866
100870
  var Z = y.getModel("detail");
100867
100871
  if (Z.get("show")) {
100868
- var E = Z.get("offsetCenter"), R = a.cx + Z1(E[0], a.r), k = a.cy + Z1(E[1], a.r), I = Z1(Z.get("width"), a.r), O = Z1(Z.get("height"), a.r), q = i.get(["progress", "show"]) ? l.getItemVisual(w, "style").fill : V, b = C[w], Y = Z.get("formatter");
100872
+ var E = Z.get("offsetCenter"), R = a.cx + E1(E[0], a.r), k = a.cy + E1(E[1], a.r), I = E1(Z.get("width"), a.r), O = E1(Z.get("height"), a.r), q = i.get(["progress", "show"]) ? l.getItemVisual(w, "style").fill : V, b = C[w], Y = Z.get("formatter");
100869
100873
  b.attr({
100870
100874
  z2: v ? 0 : 2,
100871
100875
  style: _t(Z, {
@@ -101233,7 +101237,7 @@ function QG1(e) {
101233
101237
  }
101234
101238
  function JG1(e, t) {
101235
101239
  e.eachSeriesByType("funnel", function(i) {
101236
- var r = i.getData(), n = r.mapDimension("value"), s = i.get("sort"), a = q2(i, t), o = Ut(i.getBoxLayoutParams(), a.refContainer), l = i.get("orient"), c = o.width, h = o.height, d = XG1(r, s), p = o.x, f = o.y, C = l === "horizontal" ? [Z1(i.get("minSize"), h), Z1(i.get("maxSize"), h)] : [Z1(i.get("minSize"), c), Z1(i.get("maxSize"), c)], m = r.getDataExtent(n), v = i.get("min"), w = i.get("max");
101240
+ var r = i.getData(), n = r.mapDimension("value"), s = i.get("sort"), a = q2(i, t), o = Ut(i.getBoxLayoutParams(), a.refContainer), l = i.get("orient"), c = o.width, h = o.height, d = XG1(r, s), p = o.x, f = o.y, C = l === "horizontal" ? [E1(i.get("minSize"), h), E1(i.get("maxSize"), h)] : [E1(i.get("minSize"), c), E1(i.get("maxSize"), c)], m = r.getDataExtent(n), v = i.get("min"), w = i.get("max");
101237
101241
  v == null && (v = Math.min(m[0], 0)), w == null && (w = m[1]);
101238
101242
  var y = i.get("funnelAlign"), x = i.get("gap"), L = l === "horizontal" ? c : h, V = (L - x * (r.count() - 1)) / r.count(), S = function(I, O) {
101239
101243
  if (l === "horizontal") {
@@ -101270,14 +101274,14 @@ function JG1(e, t) {
101270
101274
  var M = d[H], N = d[H + 1], b = r.getItemModel(M);
101271
101275
  if (l === "horizontal") {
101272
101276
  var Z = b.get(["itemStyle", "width"]);
101273
- Z == null ? Z = V : (Z = Z1(Z, c), s === "ascending" && (Z = -Z));
101277
+ Z == null ? Z = V : (Z = E1(Z, c), s === "ascending" && (Z = -Z));
101274
101278
  var E = S(M, p), R = S(N, p + Z);
101275
101279
  p += Z + x, r.setItemLayout(M, {
101276
101280
  points: E.concat(R.slice().reverse())
101277
101281
  });
101278
101282
  } else {
101279
101283
  var k = b.get(["itemStyle", "height"]);
101280
- k == null ? k = V : (k = Z1(k, h), s === "ascending" && (k = -k));
101284
+ k == null ? k = V : (k = E1(k, h), s === "ascending" && (k = -k));
101281
101285
  var E = S(M, f), R = S(N, f + k);
101282
101286
  f += k + x, r.setItemLayout(M, {
101283
101287
  points: E.concat(R.slice().reverse())
@@ -103281,7 +103285,7 @@ function VY1(e) {
103281
103285
  }
103282
103286
  d8(i, function(C) {
103283
103287
  var m = C.get("boxWidth");
103284
- m1(m) || (m = [m, m]), a.push([Z1(m[0], o) || 0, Z1(m[1], o) || 0]);
103288
+ m1(m) || (m = [m, m]), a.push([E1(m[0], o) || 0, E1(m[1], o) || 0]);
103285
103289
  });
103286
103290
  var h = o * 0.8 - 2, d = h / r * 0.3, p = (h - d * (r - 1)) / r, f = p / 2 - h / 2;
103287
103291
  d8(i, function(C, m) {
@@ -103697,8 +103701,8 @@ function tk(e, t, i, r, n, s) {
103697
103701
  return i > r ? a = -1 : i < r ? a = 1 : a = s ? 0 : t > 0 ? e.get(n, t - 1) <= r ? 1 : -1 : 1, a;
103698
103702
  }
103699
103703
  function $Y1(e, t) {
103700
- var i = e.getBaseAxis(), r, n = i.type === "category" ? i.getBandWidth() : (r = i.getExtent(), Math.abs(r[1] - r[0]) / t.count()), s = Z1(Y1(e.get("barMaxWidth"), n), n), a = Z1(Y1(e.get("barMinWidth"), 1), n), o = e.get("barWidth");
103701
- return o != null ? Z1(o, n) : Math.max(Math.min(n / 2, s), a);
103704
+ var i = e.getBaseAxis(), r, n = i.type === "category" ? i.getBandWidth() : (r = i.getExtent(), Math.abs(r[1] - r[0]) / t.count()), s = E1(Y1(e.get("barMaxWidth"), n), n), a = E1(Y1(e.get("barMinWidth"), 1), n), o = e.get("barWidth");
103705
+ return o != null ? E1(o, n) : Math.max(Math.min(n / 2, s), a);
103702
103706
  }
103703
103707
  function UY1(e) {
103704
103708
  e.registerChartView(DY1), e.registerSeriesModel(QJ), e.registerPreprocessor(FY1), e.registerVisual(RY1), e.registerLayout(PY1);
@@ -104743,7 +104747,7 @@ function Bw(e, t) {
104743
104747
  }
104744
104748
  function gq1(e, t, i, r, n, s, a, o, l, c) {
104745
104749
  var h = l.valueDim, d = l.categoryDim, p = Math.abs(i[d.wh]), f = e.getItemVisual(t, "symbolSize"), C;
104746
- m1(f) ? C = f.slice() : f == null ? C = ["100%", "100%"] : C = [f, f], C[d.index] = Z1(C[d.index], p), C[h.index] = Z1(C[h.index], r ? p : Math.abs(s)), c.symbolSize = C;
104750
+ m1(f) ? C = f.slice() : f == null ? C = ["100%", "100%"] : C = [f, f], C[d.index] = E1(C[d.index], p), C[h.index] = E1(C[h.index], r ? p : Math.abs(s)), c.symbolSize = C;
104747
104751
  var m = c.symbolScale = [C[0] / o, C[1] / o];
104748
104752
  m[h.index] *= (l.isHorizontal ? -1 : 1) * a;
104749
104753
  }
@@ -104760,7 +104764,7 @@ function mq1(e, t, i, r, n, s, a, o, l, c, h, d) {
104760
104764
  if (r) {
104761
104765
  var w = Math.abs(l), y = $2(e.get("symbolMargin"), "15%") + "", x = !1;
104762
104766
  y.lastIndexOf("!") === y.length - 1 && (x = !0, y = y.slice(0, y.length - 1));
104763
- var L = Z1(y, t[f.index]), V = Math.max(m + L * 2, 0), S = x ? 0 : L * 2, H = JH(r), M = H ? r : hk((w + S) / V), N = w - M * m;
104767
+ var L = E1(y, t[f.index]), V = Math.max(m + L * 2, 0), S = x ? 0 : L * 2, H = JH(r), M = H ? r : hk((w + S) / V), N = w - M * m;
104764
104768
  L = N / 2 / (x ? M : Math.max(M - 1, 1)), V = m + L * 2, S = x ? 0 : L * 2, !H && r !== "fixed" && (M = c ? hk((Math.abs(c) + S) / V) : 0), v = M * V - S, d.repeatTimes = M, d.symbolMargin = L;
104765
104769
  }
104766
104770
  var b = C * (v / 2), Z = d.pathPosition = [];
@@ -105204,11 +105208,11 @@ function Mq1(e, t) {
105204
105208
  s.rect = a;
105205
105209
  var o = i.get("boundaryGap"), l = n.getAxis();
105206
105210
  if (s.boundaryGap = o, l.orient === "horizontal") {
105207
- o[0] = Z1(o[0], a.height), o[1] = Z1(o[1], a.height);
105211
+ o[0] = E1(o[0], a.height), o[1] = E1(o[1], a.height);
105208
105212
  var c = a.height - o[0] - o[1];
105209
105213
  dk(r, i, c);
105210
105214
  } else {
105211
- o[0] = Z1(o[0], a.width), o[1] = Z1(o[1], a.width);
105215
+ o[0] = E1(o[0], a.width), o[1] = E1(o[1], a.width);
105212
105216
  var h = a.width - o[0] - o[1];
105213
105217
  dk(r, i, h);
105214
105218
  }
@@ -105573,7 +105577,7 @@ function Aq1(e, t, i) {
105573
105577
  t.eachSeriesByType(e, function(r) {
105574
105578
  var n = r.get("center"), s = r.get("radius");
105575
105579
  m1(s) || (s = [0, s]), m1(n) || (n = [n, n]);
105576
- var a = i.getWidth(), o = i.getHeight(), l = Math.min(a, o), c = Z1(n[0], a), h = Z1(n[1], o), d = Z1(s[0], l / 2), p = Z1(s[1], l / 2), f = -r.get("startAngle") * gk, C = r.get("minAngle") * gk, m = r.getData().tree.root, v = r.getViewRoot(), w = v.depth, y = r.get("sort");
105580
+ var a = i.getWidth(), o = i.getHeight(), l = Math.min(a, o), c = E1(n[0], a), h = E1(n[1], o), d = E1(s[0], l / 2), p = E1(s[1], l / 2), f = -r.get("startAngle") * gk, C = r.get("minAngle") * gk, m = r.getData().tree.root, v = r.getViewRoot(), w = v.depth, y = r.get("sort");
105577
105581
  y != null && u11(v, y);
105578
105582
  var x = 0;
105579
105583
  A(v.children, function(O) {
@@ -105588,7 +105592,7 @@ function Aq1(e, t, i) {
105588
105592
  var J = O.depth - w - (S ? -1 : 1), t1 = d + M * J, G = d + M * (J + 1), v1 = r.getLevelModel(O);
105589
105593
  if (v1) {
105590
105594
  var b1 = v1.get("r0", !0), A1 = v1.get("r", !0), h1 = v1.get("radius", !0);
105591
- h1 != null && (b1 = h1[0], A1 = h1[1]), b1 != null && (t1 = Z1(b1, l / 2)), A1 != null && (G = Z1(A1, l / 2));
105595
+ h1 != null && (b1 = h1[0], A1 = h1[1]), b1 != null && (t1 = E1(b1, l / 2)), A1 != null && (G = E1(A1, l / 2));
105592
105596
  }
105593
105597
  O.setLayout({
105594
105598
  angle: F,
@@ -107608,10 +107612,10 @@ function Fk(e) {
107608
107612
  }
107609
107613
  function qj1(e, t, i) {
107610
107614
  var r = t.get("center"), n = q2(t, i).refContainer;
107611
- e.cx = Z1(r[0], n.width) + n.x, e.cy = Z1(r[1], n.height) + n.y;
107615
+ e.cx = E1(r[0], n.width) + n.x, e.cy = E1(r[1], n.height) + n.y;
107612
107616
  var s = e.getRadiusAxis(), a = Math.min(n.width, n.height) / 2, o = t.get("radius");
107613
107617
  o == null ? o = [0, "100%"] : m1(o) || (o = [0, o]);
107614
- var l = [Z1(o[0], a), Z1(o[1], a)];
107618
+ var l = [E1(o[0], a), E1(o[1], a)];
107615
107619
  s.inverse ? s.setExtent(l[1], l[0]) : s.setExtent(l[0], l[1]);
107616
107620
  }
107617
107621
  function jj1(e, t) {
@@ -108027,13 +108031,13 @@ function aK1(e) {
108027
108031
  width: 0,
108028
108032
  maxWidth: 0
108029
108033
  };
108030
- var C = Z1(r.get("barWidth"), h), m = Z1(r.get("barMaxWidth"), h), v = r.get("barGap"), w = r.get("barCategoryGap");
108034
+ var C = E1(r.get("barWidth"), h), m = E1(r.get("barMaxWidth"), h), v = r.get("barGap"), w = r.get("barCategoryGap");
108031
108035
  C && !p[f].width && (C = Math.min(d.remainedWidth, C), p[f].width = C, d.remainedWidth -= C), m && (p[f].maxWidth = m), v != null && (d.gap = v), w != null && (d.categoryGap = w);
108032
108036
  });
108033
108037
  var i = {};
108034
108038
  return A(t, function(r, n) {
108035
108039
  i[n] = {};
108036
- var s = r.stacks, a = r.bandWidth, o = Z1(r.categoryGap, a), l = Z1(r.gap, 1), c = r.remainedWidth, h = r.autoWidthCount, d = (c - o) / (h + (h - 1) * l);
108040
+ var s = r.stacks, a = r.bandWidth, o = E1(r.categoryGap, a), l = E1(r.gap, 1), c = r.remainedWidth, h = r.autoWidthCount, d = (c - o) / (h + (h - 1) * l);
108037
108041
  d = Math.max(d, 0), A(s, function(m, v) {
108038
108042
  var w = m.maxWidth;
108039
108043
  w && w < d && (w = Math.min(w, c), m.width && (w = Math.min(w, m.width)), c -= w, m.width = w, h--);
@@ -108650,7 +108654,7 @@ var VK1 = (
108650
108654
  });
108651
108655
  }
108652
108656
  var C = l.getNextNDay(n.end.time, 7 - n.lweek).time, m = [l.getCellWidth(), l.getCellHeight()];
108653
- d = Z1(d, Math.min(m[1], m[0])), c === "start" && (C = l.getNextNDay(n.start.time, -(7 + n.fweek)).time, d = -d);
108657
+ d = E1(d, Math.min(m[1], m[0])), c === "start" && (C = l.getNextNDay(n.start.time, -(7 + n.fweek)).time, d = -d);
108654
108658
  for (var v = o.get("silent"), w = 0; w < 7; w++) {
108655
108659
  var y = l.getNextNDay(C, w), x = l.dataToCalendarLayout([y.time], !1).center, L = w;
108656
108660
  L = Math.abs((w + p) % 7);
@@ -109779,7 +109783,7 @@ var XK1 = (
109779
109783
  var d = n[h], p = U2(d.id, null), f = p != null ? a.get(p) : null;
109780
109784
  if (!(!f || !f.isGroup)) {
109781
109785
  var C = f.parent, m = C === s, v = rn(f), w = rn(C);
109782
- v.width = Z1(v.option.width, m ? o : w.width) || 0, v.height = Z1(v.option.height, m ? l : w.height) || 0;
109786
+ v.width = E1(v.option.width, m ? o : w.width) || 0, v.height = E1(v.option.height, m ? l : w.height) || 0;
109783
109787
  }
109784
109788
  }
109785
109789
  for (var h = n.length - 1; h >= 0; h--) {
@@ -111990,7 +111994,7 @@ var eQ1 = new Ne({
111990
111994
  viewSize: [c, h],
111991
111995
  contentSize: d.slice()
111992
111996
  })), m1(r))
111993
- n = Z1(r[0], c), s = Z1(r[1], h);
111997
+ n = E1(r[0], c), s = E1(r[1], h);
111994
111998
  else if (ae(r)) {
111995
111999
  var m = r;
111996
112000
  m.width = d[0], m.height = d[1];
@@ -113515,7 +113519,7 @@ function kQ1(e, t, i) {
113515
113519
  function qI(e, t, i) {
113516
113520
  var r = t.coordinateSystem, n = i.getWidth(), s = i.getHeight(), a = r && r.getArea && r.getArea();
113517
113521
  e.each(function(o) {
113518
- var l = e.getItemModel(o), c = l.get("relativeTo") === "coordinate", h = c ? a ? a.width : 0 : n, d = c ? a ? a.height : 0 : s, p = c && a ? a.x : 0, f = c && a ? a.y : 0, C, m = Z1(l.get("x"), h) + p, v = Z1(l.get("y"), d) + f;
113522
+ var l = e.getItemModel(o), c = l.get("relativeTo") === "coordinate", h = c ? a ? a.width : 0 : n, d = c ? a ? a.height : 0 : s, p = c && a ? a.x : 0, f = c && a ? a.y : 0, C, m = E1(l.get("x"), h) + p, v = E1(l.get("y"), d) + f;
113519
113523
  if (!isNaN(m) && !isNaN(v))
113520
113524
  C = [m, v];
113521
113525
  else if (t.getMarkerPosition)
@@ -113678,7 +113682,7 @@ function UQ1(e, t) {
113678
113682
  return a6(e, t[0]) && a6(e, t[1]);
113679
113683
  }
113680
113684
  function iy(e, t, i, r, n) {
113681
- var s = r.coordinateSystem, a = e.getItemModel(t), o, l = Z1(a.get("x"), n.getWidth()), c = Z1(a.get("y"), n.getHeight());
113685
+ var s = r.coordinateSystem, a = e.getItemModel(t), o, l = E1(a.get("x"), n.getWidth()), c = E1(a.get("y"), n.getHeight());
113682
113686
  if (!isNaN(l) && !isNaN(c))
113683
113687
  o = [l, c];
113684
113688
  else {
@@ -113865,7 +113869,7 @@ function KQ1(e, t) {
113865
113869
  return so(e, "cartesian2d") ? i && r && (KI(1, i, r) || KI(0, i, r)) ? !0 : BQ1(e, n, s) : a6(e, n) || a6(e, s);
113866
113870
  }
113867
113871
  function XI(e, t, i, r, n) {
113868
- var s = r.coordinateSystem, a = e.getItemModel(t), o, l = Z1(a.get(i[0]), n.getWidth()), c = Z1(a.get(i[1]), n.getHeight());
113872
+ var s = r.coordinateSystem, a = e.getItemModel(t), o, l = E1(a.get(i[0]), n.getWidth()), c = E1(a.get(i[1]), n.getHeight());
113869
113873
  if (!isNaN(l) && !isNaN(c))
113870
113874
  o = [l, c];
113871
113875
  else {
@@ -115224,7 +115228,7 @@ var vJ1 = (
115224
115228
  z2: 5
115225
115229
  });
115226
115230
  var S = V.getBoundingRect(), H = l.get("handleSize");
115227
- this._handleHeight = Z1(H, this._size[1]), this._handleWidth = S.width / S.height * this._handleHeight, V.setStyle(l.getModel("handleStyle").getItemStyle()), V.style.strokeNoScale = !0, V.rectHover = !0, V.ensureState("emphasis").style = l.getModel(["emphasis", "handleStyle"]).getItemStyle(), $4(V);
115231
+ this._handleHeight = E1(H, this._size[1]), this._handleWidth = S.width / S.height * this._handleHeight, V.setStyle(l.getModel("handleStyle").getItemStyle()), V.style.strokeNoScale = !0, V.rectHover = !0, V.ensureState("emphasis").style = l.getModel(["emphasis", "handleStyle"]).getItemStyle(), $4(V);
115228
115232
  var M = l.get("handleColor");
115229
115233
  M != null && (V.style.fill = M), a.add(n[x] = V);
115230
115234
  var N = l.getModel("textStyle"), b = l.get("handleLabel") || {}, Z = b.show || !1;
@@ -115245,7 +115249,7 @@ var vJ1 = (
115245
115249
  }, this);
115246
115250
  var f = p;
115247
115251
  if (d) {
115248
- var C = Z1(l.get("moveHandleSize"), o[1]), m = r.moveHandle = new Ne({
115252
+ var C = E1(l.get("moveHandleSize"), o[1]), m = r.moveHandle = new Ne({
115249
115253
  style: l.getModel("moveHandleStyle").getItemStyle(),
115250
115254
  silent: !0,
115251
115255
  shape: {
@@ -119122,7 +119126,7 @@ const fee = /* @__PURE__ */ g({
119122
119126
  ], 64)) : r1("", !0)
119123
119127
  ])) : (T(), P("div", {
119124
119128
  key: 1,
119125
- class: E1({
119129
+ class: z1({
119126
119130
  "text-gray-medium": !c.value && !h.value
119127
119131
  })
119128
119132
  }, [
@@ -119389,7 +119393,7 @@ const kee = { class: "fr-search-bar fr-search-bar--lg w-full" }, Iee = ["for"],
119389
119393
  }, [
119390
119394
  c1($(e.buttonText) + " ", 1),
119391
119395
  U(z(mr), {
119392
- class: E1(["size-4 transition-transform", { "rotate-180": r.value }])
119396
+ class: z1(["size-4 transition-transform", { "rotate-180": r.value }])
119393
119397
  }, null, 8, ["class"])
119394
119398
  ], 8, $ee),
119395
119399
  r.value || !z(i) ? (T(), P("div", Uee, [
@@ -119428,7 +119432,7 @@ const kee = { class: "fr-search-bar fr-search-bar--lg w-full" }, Iee = ["for"],
119428
119432
  default: e1(() => [
119429
119433
  c1($(z(i)("Filtres avancés")) + " ", 1),
119430
119434
  U(z(mr), {
119431
- class: E1(["size-4 transition-transform", { "rotate-180": c }])
119435
+ class: z1(["size-4 transition-transform", { "rotate-180": c }])
119432
119436
  }, null, 8, ["class"])
119433
119437
  ]),
119434
119438
  _: 2
@@ -119605,12 +119609,12 @@ const qee = ["for", "title"], jee = {
119605
119609
  whileElementsMounted: ml
119606
119610
  });
119607
119611
  return (S, H) => (T(), P("div", {
119608
- class: E1(["fr-input-group", { "fr-input-group--error": e.errorText, "fr-input-group--warning": !e.errorText && e.warningText, "fr-input-group--valid": e.validText }])
119612
+ class: z1(["fr-input-group", { "fr-input-group--error": e.errorText, "fr-input-group--warning": !e.errorText && e.warningText, "fr-input-group--valid": e.validText }])
119609
119613
  }, [
119610
119614
  D("label", {
119611
119615
  for: z(s),
119612
119616
  title: e.explanation,
119613
- class: E1(["fr-label", { "sr-only": e.hideLabel }])
119617
+ class: z1(["fr-label", { "sr-only": e.hideLabel }])
119614
119618
  }, [
119615
119619
  c1($(e.label) + " ", 1),
119616
119620
  S.$props.required ? (T(), P("span", jee, "*")) : r1("", !0),
@@ -119631,7 +119635,7 @@ const qee = ["for", "title"], jee = {
119631
119635
  D("div", Jee, [
119632
119636
  U(z(gd1), {
119633
119637
  id: z(s),
119634
- class: E1(["input shadow-input group-data-[input-color=blue]/form:shadow-input-blue !pr-10", l.value ? "!pr-[4.5rem]" : "!pr-10"]),
119638
+ class: z1(["input shadow-input group-data-[input-color=blue]/form:shadow-input-blue !pr-10", l.value ? "!pr-[4.5rem]" : "!pr-10"]),
119635
119639
  "display-value": (b) => b ? e.displayValue(b) : "",
119636
119640
  placeholder: e.placeholder,
119637
119641
  onChange: H[0] || (H[0] = (b) => c.value = b.target.value)
@@ -119641,7 +119645,7 @@ const qee = ["for", "title"], jee = {
119641
119645
  class: "absolute text-lg top-2 right-3 flex items-center justify-end hover:!bg-transparent"
119642
119646
  })) : (T(), P("div", {
119643
119647
  key: 1,
119644
- class: E1(["absolute inset-y-0 flex items-center justify-end pr-2", {
119648
+ class: z1(["absolute inset-y-0 flex items-center justify-end pr-2", {
119645
119649
  "right-0": M,
119646
119650
  "inset-x-0": !M
119647
119651
  }])
@@ -119691,7 +119695,7 @@ const qee = ["for", "title"], jee = {
119691
119695
  }, {
119692
119696
  default: e1((R) => [
119693
119697
  D("li", {
119694
- class: E1(["relative cursor-default select-none py-2 pr-4 list-none flex items-center gap-2 text-gray-900", {
119698
+ class: z1(["relative cursor-default select-none py-2 pr-4 list-none flex items-center gap-2 text-gray-900", {
119695
119699
  "bg-gray-lower": w(N, E),
119696
119700
  "pl-2": R.selected,
119697
119701
  "pl-6": !R.selected
@@ -120467,7 +120471,7 @@ const qee = ["for", "title"], jee = {
120467
120471
  value: z(hs)(l1),
120468
120472
  count: V1[z(hs)(l1)]?.data.value?.total,
120469
120473
  loading: V1[z(hs)(l1)]?.status.value === "pending" || V1[z(hs)(l1)]?.status.value === "idle",
120470
- icon: M1[l1.class].icon
120474
+ icon: l1.icon ?? M1[l1.class].icon
120471
120475
  }, {
120472
120476
  default: e1(() => [
120473
120477
  c1($(l1.name || M1[l1.class].name), 1)
@@ -120627,7 +120631,7 @@ const qee = ["for", "title"], jee = {
120627
120631
  ])) : r1("", !0),
120628
120632
  D("section", {
120629
120633
  ref: "results",
120630
- class: E1(["col-span-12 mt-4 md:mt-0 search-results", V.value ? "md:col-span-8 lg:col-span-9 md:pl-8" : ""])
120634
+ class: z1(["col-span-12 mt-4 md:mt-0 search-results", V.value ? "md:col-span-8 lg:col-span-9 md:pl-8" : ""])
120631
120635
  }, [
120632
120636
  Q1.value?.total ? (T(), P("div", Ete, [
120633
120637
  D("p", Tte, $(z(o)("{count} résultats | {count} résultat | {count} résultats", Q1.value.total)), 1),
@@ -120823,7 +120827,7 @@ const qee = ["for", "title"], jee = {
120823
120827
  "fr-select-group--valid": i.isValid
120824
120828
  }));
120825
120829
  return (c, h) => (T(), P("div", {
120826
- class: E1(["fr-select-group", l.value])
120830
+ class: z1(["fr-select-group", l.value])
120827
120831
  }, [
120828
120832
  e.hideLabel ? r1("", !0) : (T(), P("label", {
120829
120833
  key: 0,
@@ -120837,7 +120841,7 @@ const qee = ["for", "title"], jee = {
120837
120841
  Es(D("select", {
120838
120842
  id: z(n),
120839
120843
  "onUpdate:modelValue": h[0] || (h[0] = (d) => t.value = d),
120840
- class: E1(["fr-select group-data-[input-color=blue]/form:!shadow-input-blue", { "fr-select--error": e.hasError, "fr-select--valid": e.isValid }]),
120844
+ class: z1(["fr-select group-data-[input-color=blue]/form:!shadow-input-blue", { "fr-select--error": e.hasError, "fr-select--valid": e.isValid }]),
120841
120845
  "aria-describedby": o.value,
120842
120846
  "aria-label": e.hideLabel ? e.label : void 0,
120843
120847
  required: e.required,
@@ -120903,7 +120907,7 @@ const qee = ["for", "title"], jee = {
120903
120907
  U1(s.$slots, "button", {}, () => [
120904
120908
  D("div", a2e, [
120905
120909
  D("div", {
120906
- class: E1(["truncate", { "text-new-disabled-text": e.isDisabled(t.value) }])
120910
+ class: z1(["truncate", { "text-new-disabled-text": e.isDisabled(t.value) }])
120907
120911
  }, $(e.displayValue(t.value)), 3),
120908
120912
  U(z(mr), { class: "flex-none size-4 justify-self-end" })
120909
120913
  ])
@@ -120925,7 +120929,7 @@ const qee = ["for", "title"], jee = {
120925
120929
  }, {
120926
120930
  default: e1(({ active: l, selected: c }) => [
120927
120931
  D("li", {
120928
- class: E1(["relative cursor-default select-none py-2 pr-4 list-none flex items-center gap-2 text-gray-900", {
120932
+ class: z1(["relative cursor-default select-none py-2 pr-4 list-none flex items-center gap-2 text-gray-900", {
120929
120933
  "bg-gray-lower": l && !e.isDisabled(Ae(o)),
120930
120934
  "text-new-disabled-text": e.isDisabled(Ae(o)),
120931
120935
  "pl-2": c,
@@ -120935,7 +120939,7 @@ const qee = ["for", "title"], jee = {
120935
120939
  D("div", o2e, [
120936
120940
  c ? (T(), s1(z(T9), {
120937
120941
  key: 0,
120938
- class: E1(["size-4", e.isDisabled(Ae(o)) ? " text-new-disabled-text" : "text-new-primary"])
120942
+ class: z1(["size-4", e.isDisabled(Ae(o)) ? " text-new-disabled-text" : "text-new-primary"])
120939
120943
  }, null, 8, ["class"])) : r1("", !0)
120940
120944
  ]),
120941
120945
  U1(s.$slots, "option", Br({ ref_for: !0 }, { option: o, active: l }), () => [