@tricoteuses/assemblee 3.0.5 → 3.0.7

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 f from "node:assert";
2
- import { u as m } from "./amendements-BKxlNgbH.js";
2
+ import { u as m } from "./amendements-CusGbzsz.js";
3
3
  const b = {
4
4
  false: !1,
5
5
  true: !0
@@ -437,7 +437,7 @@ let Ht = {};
437
437
  function W() {
438
438
  return Ht;
439
439
  }
440
- const Me = 6048e5, $t = 864e5, te = 6e4, ne = 36e5, Qt = 1e3, fe = Symbol.for("constructDateFrom");
440
+ const Me = 6048e5, $t = 864e5, te = 6e4, ne = 36e5, Qt = 1e3, fe = /* @__PURE__ */ Symbol.for("constructDateFrom");
441
441
  function T(t, i) {
442
442
  return typeof t == "function" ? t(i) : t && typeof t == "object" && fe in t ? t[fe](i) : t instanceof Date ? new t.constructor(i) : new Date(i);
443
443
  }
@@ -554,7 +554,6 @@ const A = {
554
554
  return e;
555
555
  case "aaaaa":
556
556
  return e[0];
557
- case "aaaa":
558
557
  default:
559
558
  return e === "am" ? "a.m." : "p.m.";
560
559
  }
@@ -602,8 +601,6 @@ const A = {
602
601
  // A, B
603
602
  case "GGGGG":
604
603
  return e.era(n, { width: "narrow" });
605
- // Anno Domini, Before Christ
606
- case "GGGG":
607
604
  default:
608
605
  return e.era(n, { width: "wide" });
609
606
  }
@@ -668,8 +665,6 @@ const A = {
668
665
  width: "narrow",
669
666
  context: "formatting"
670
667
  });
671
- // 1st quarter, 2nd quarter, ...
672
- case "QQQQ":
673
668
  default:
674
669
  return e.quarter(n, {
675
670
  width: "wide",
@@ -702,8 +697,6 @@ const A = {
702
697
  width: "narrow",
703
698
  context: "standalone"
704
699
  });
705
- // 1st quarter, 2nd quarter, ...
706
- case "qqqq":
707
700
  default:
708
701
  return e.quarter(n, {
709
702
  width: "wide",
@@ -733,8 +726,6 @@ const A = {
733
726
  width: "narrow",
734
727
  context: "formatting"
735
728
  });
736
- // January, February, ..., December
737
- case "MMMM":
738
729
  default:
739
730
  return e.month(n, { width: "wide", context: "formatting" });
740
731
  }
@@ -764,8 +755,6 @@ const A = {
764
755
  width: "narrow",
765
756
  context: "standalone"
766
757
  });
767
- // January, February, ..., December
768
- case "LLLL":
769
758
  default:
770
759
  return e.month(n, { width: "wide", context: "standalone" });
771
760
  }
@@ -813,8 +802,6 @@ const A = {
813
802
  width: "short",
814
803
  context: "formatting"
815
804
  });
816
- // Tuesday
817
- case "EEEE":
818
805
  default:
819
806
  return e.day(n, {
820
807
  width: "wide",
@@ -852,8 +839,6 @@ const A = {
852
839
  width: "short",
853
840
  context: "formatting"
854
841
  });
855
- // Tuesday
856
- case "eeee":
857
842
  default:
858
843
  return e.day(r, {
859
844
  width: "wide",
@@ -891,8 +876,6 @@ const A = {
891
876
  width: "short",
892
877
  context: "standalone"
893
878
  });
894
- // Tuesday
895
- case "cccc":
896
879
  default:
897
880
  return e.day(r, {
898
881
  width: "wide",
@@ -931,8 +914,6 @@ const A = {
931
914
  width: "short",
932
915
  context: "formatting"
933
916
  });
934
- // Tuesday
935
- case "iiii":
936
917
  default:
937
918
  return e.day(n, {
938
919
  width: "wide",
@@ -960,7 +941,6 @@ const A = {
960
941
  width: "narrow",
961
942
  context: "formatting"
962
943
  });
963
- case "aaaa":
964
944
  default:
965
945
  return e.dayPeriod(r, {
966
946
  width: "wide",
@@ -989,7 +969,6 @@ const A = {
989
969
  width: "narrow",
990
970
  context: "formatting"
991
971
  });
992
- case "bbbb":
993
972
  default:
994
973
  return e.dayPeriod(r, {
995
974
  width: "wide",
@@ -1014,7 +993,6 @@ const A = {
1014
993
  width: "narrow",
1015
994
  context: "formatting"
1016
995
  });
1017
- case "BBBB":
1018
996
  default:
1019
997
  return e.dayPeriod(r, {
1020
998
  width: "wide",
@@ -1071,11 +1049,6 @@ const A = {
1071
1049
  case "XXXX":
1072
1050
  case "XX":
1073
1051
  return j(n);
1074
- // Hours, minutes and optional seconds with `:` delimiter
1075
- // Note: neither ISO-8601 nor JavaScript supports seconds in timezone offsets
1076
- // so this token always has the same output as `XXX`
1077
- case "XXXXX":
1078
- case "XXX":
1079
1052
  // Hours and minutes with `:` delimiter
1080
1053
  default:
1081
1054
  return j(n, ":");
@@ -1094,11 +1067,6 @@ const A = {
1094
1067
  case "xxxx":
1095
1068
  case "xx":
1096
1069
  return j(n);
1097
- // Hours, minutes and optional seconds with `:` delimiter
1098
- // Note: neither ISO-8601 nor JavaScript supports seconds in timezone offsets
1099
- // so this token always has the same output as `xxx`
1100
- case "xxxxx":
1101
- case "xxx":
1102
1070
  // Hours and minutes with `:` delimiter
1103
1071
  default:
1104
1072
  return j(n, ":");
@@ -1113,8 +1081,6 @@ const A = {
1113
1081
  case "OO":
1114
1082
  case "OOO":
1115
1083
  return "GMT" + ge(n, ":");
1116
- // Long
1117
- case "OOOO":
1118
1084
  default:
1119
1085
  return "GMT" + j(n, ":");
1120
1086
  }
@@ -1128,8 +1094,6 @@ const A = {
1128
1094
  case "zz":
1129
1095
  case "zzz":
1130
1096
  return "GMT" + ge(n, ":");
1131
- // Long
1132
- case "zzzz":
1133
1097
  default:
1134
1098
  return "GMT" + j(n, ":");
1135
1099
  }
@@ -1163,7 +1127,6 @@ const be = (t, i) => {
1163
1127
  return i.date({ width: "medium" });
1164
1128
  case "PPP":
1165
1129
  return i.date({ width: "long" });
1166
- case "PPPP":
1167
1130
  default:
1168
1131
  return i.date({ width: "full" });
1169
1132
  }
@@ -1175,7 +1138,6 @@ const be = (t, i) => {
1175
1138
  return i.time({ width: "medium" });
1176
1139
  case "ppp":
1177
1140
  return i.time({ width: "long" });
1178
- case "pppp":
1179
1141
  default:
1180
1142
  return i.time({ width: "full" });
1181
1143
  }
@@ -1194,7 +1156,6 @@ const be = (t, i) => {
1194
1156
  case "PPP":
1195
1157
  o = i.dateTime({ width: "long" });
1196
1158
  break;
1197
- case "PPPP":
1198
1159
  default:
1199
1160
  o = i.dateTime({ width: "full" });
1200
1161
  break;
@@ -1681,8 +1642,6 @@ class Gn extends f {
1681
1642
  // A, B
1682
1643
  case "GGGGG":
1683
1644
  return r.era(e, { width: "narrow" });
1684
- // Anno Domini, Before Christ
1685
- case "GGGG":
1686
1645
  default:
1687
1646
  return r.era(e, { width: "wide" }) || r.era(e, { width: "abbreviated" }) || r.era(e, { width: "narrow" });
1688
1647
  }
@@ -1805,9 +1764,6 @@ function oe(t) {
1805
1764
  case "noon":
1806
1765
  case "afternoon":
1807
1766
  return 12;
1808
- case "am":
1809
- case "midnight":
1810
- case "night":
1811
1767
  default:
1812
1768
  return 0;
1813
1769
  }
@@ -2014,8 +1970,6 @@ class Un extends f {
2014
1970
  width: "narrow",
2015
1971
  context: "formatting"
2016
1972
  });
2017
- // 1st quarter, 2nd quarter, ...
2018
- case "QQQQ":
2019
1973
  default:
2020
1974
  return r.quarter(e, {
2021
1975
  width: "wide",
@@ -2081,8 +2035,6 @@ class Zn extends f {
2081
2035
  width: "narrow",
2082
2036
  context: "standalone"
2083
2037
  });
2084
- // 1st quarter, 2nd quarter, ...
2085
- case "qqqq":
2086
2038
  default:
2087
2039
  return r.quarter(e, {
2088
2040
  width: "wide",
@@ -2155,8 +2107,6 @@ class Kn extends f {
2155
2107
  width: "narrow",
2156
2108
  context: "formatting"
2157
2109
  });
2158
- // January, February, ..., December
2159
- case "MMMM":
2160
2110
  default:
2161
2111
  return r.month(e, { width: "wide", context: "formatting" }) || r.month(e, {
2162
2112
  width: "abbreviated",
@@ -2223,8 +2173,6 @@ class ei extends f {
2223
2173
  width: "narrow",
2224
2174
  context: "standalone"
2225
2175
  });
2226
- // January, February, ..., December
2227
- case "LLLL":
2228
2176
  default:
2229
2177
  return r.month(e, { width: "wide", context: "standalone" }) || r.month(e, {
2230
2178
  width: "abbreviated",
@@ -2449,8 +2397,6 @@ class ui extends f {
2449
2397
  // Tu
2450
2398
  case "EEEEEE":
2451
2399
  return r.day(e, { width: "short", context: "formatting" }) || r.day(e, { width: "narrow", context: "formatting" });
2452
- // Tuesday
2453
- case "EEEE":
2454
2400
  default:
2455
2401
  return r.day(e, { width: "wide", context: "formatting" }) || r.day(e, {
2456
2402
  width: "abbreviated",
@@ -2520,8 +2466,6 @@ class di extends f {
2520
2466
  // Tu
2521
2467
  case "eeeeee":
2522
2468
  return r.day(e, { width: "short", context: "formatting" }) || r.day(e, { width: "narrow", context: "formatting" });
2523
- // Tuesday
2524
- case "eeee":
2525
2469
  default:
2526
2470
  return r.day(e, { width: "wide", context: "formatting" }) || r.day(e, {
2527
2471
  width: "abbreviated",
@@ -2591,8 +2535,6 @@ class li extends f {
2591
2535
  // Tu
2592
2536
  case "cccccc":
2593
2537
  return r.day(e, { width: "short", context: "standalone" }) || r.day(e, { width: "narrow", context: "standalone" });
2594
- // Tuesday
2595
- case "cccc":
2596
2538
  default:
2597
2539
  return r.day(e, { width: "wide", context: "standalone" }) || r.day(e, {
2598
2540
  width: "abbreviated",
@@ -2683,8 +2625,6 @@ class pi extends f {
2683
2625
  }),
2684
2626
  o
2685
2627
  );
2686
- // Tuesday
2687
- case "iiii":
2688
2628
  default:
2689
2629
  return v(
2690
2630
  r.day(e, {
@@ -2734,7 +2674,6 @@ class hi extends f {
2734
2674
  width: "narrow",
2735
2675
  context: "formatting"
2736
2676
  });
2737
- case "aaaa":
2738
2677
  default:
2739
2678
  return r.dayPeriod(e, {
2740
2679
  width: "wide",
@@ -2775,7 +2714,6 @@ class gi extends f {
2775
2714
  width: "narrow",
2776
2715
  context: "formatting"
2777
2716
  });
2778
- case "bbbb":
2779
2717
  default:
2780
2718
  return r.dayPeriod(e, {
2781
2719
  width: "wide",
@@ -2816,7 +2754,6 @@ class wi extends f {
2816
2754
  width: "narrow",
2817
2755
  context: "formatting"
2818
2756
  });
2819
- case "BBBB":
2820
2757
  default:
2821
2758
  return r.dayPeriod(e, {
2822
2759
  width: "wide",
@@ -3013,7 +2950,6 @@ class Ri extends f {
3013
2950
  k.extendedOptionalSeconds,
3014
2951
  e
3015
2952
  );
3016
- case "XXX":
3017
2953
  default:
3018
2954
  return O(k.extended, e);
3019
2955
  }
@@ -3050,7 +2986,6 @@ class Mi extends f {
3050
2986
  k.extendedOptionalSeconds,
3051
2987
  e
3052
2988
  );
3053
- case "xxx":
3054
2989
  default:
3055
2990
  return O(k.extended, e);
3056
2991
  }
package/lib/cleaners.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import t from "node:assert";
2
- import { c, a as b, b as _ } from "./amendements-BUdzERgg.js";
3
- import { d as ee } from "./amendements-BUdzERgg.js";
4
- import { a as H, C as Q } from "./questions-DhG4JHWF.js";
2
+ import { c, a as b, b as _ } from "./amendements-Cd3JcAtS.js";
3
+ import { d as ee } from "./amendements-Cd3JcAtS.js";
4
+ import { a as H, C as Q } from "./questions-BwsFy7G_.js";
5
5
  function W(e) {
6
6
  c(e), t.strictEqual(e.uid["@xsi:type"], "IdActeur_type"), e.uid = e.uid["#text"], t(e.uid);
7
7
  const s = e.etatCivil;
package/lib/index.js CHANGED
@@ -1,6 +1,6 @@
1
- import { A as k, n as Q, B as J, C as z, D as H, T as W, s as Y, k as K, m as Z, u as ee, o as ie, d as te, a as oe, b as ne, q as re, v as se, w as ae, e as ce, f as ue, c as fe, g as pe, h as de, i as le, j as me, l as ye, p as ge, x as Re, t as Se, y as ve, z as Ae, r as he } from "./amendements-BKxlNgbH.js";
2
- import { W as Te, C as xe, S as _e, b as Pe, Y as Ce, e as Ee, _ as Ue, D as Be, E as De, F as be, q as Ie, L as Le, h as Ne, a0 as Me, a2 as je, a4 as $e, M as Ve, a6 as Xe, N as we, O as qe, aj as Fe, u as Ge, a8 as ke, P as Qe, w as Je, y as ze, Q as He, R as We, j as Ye, B as Ke, aa as Ze, T as ei, I as ii, U as ti, ak as oi, V as ni, c as ri, K as si, a as ai, X as ci, d as ui, Z as fi, ab as pi, ao as di, f as li, ac as mi, al as yi, am as gi, ad as Ri, ah as Si, k as vi, g as Ai, n as hi, l as Oi, $ as Ti, a1 as xi, a3 as _i, m as Pi, a5 as Ci, s as Ei, o as Ui, ai as Bi, t as Di, a7 as bi, p as Ii, v as Li, x as Ni, z as Mi, ae as ji, r as $i, i as Vi, af as Xi, A as wi, ag as qi, an as Fi, a9 as Gi, G as ki, H as Qi, J as Ji } from "./loaders-Ch211Vc0.js";
3
- import { D as Hi, Q as Wi, T as Yi, d as Ki, q as Zi, t as et } from "./questions-DhG4JHWF.js";
1
+ import { A as k, n as Q, B as J, C as z, D as H, T as W, s as Y, k as K, m as Z, u as ee, o as ie, d as te, a as oe, b as ne, q as re, v as se, w as ae, e as ce, f as ue, c as fe, g as pe, h as de, i as le, j as me, l as ye, p as ge, x as Re, t as Se, y as ve, z as Ae, r as he } from "./amendements-CusGbzsz.js";
2
+ import { W as Te, C as xe, S as _e, b as Pe, Y as Ce, e as Ee, _ as Ue, D as Be, E as De, F as be, q as Ie, L as Le, h as Ne, a0 as Me, a2 as je, a4 as $e, M as Ve, a6 as Xe, N as we, O as qe, aj as Fe, u as Ge, a8 as ke, P as Qe, w as Je, y as ze, Q as He, R as We, j as Ye, B as Ke, aa as Ze, T as ei, I as ii, U as ti, ak as oi, V as ni, c as ri, K as si, a as ai, X as ci, d as ui, Z as fi, ab as pi, ao as di, f as li, ac as mi, al as yi, am as gi, ad as Ri, ah as Si, k as vi, g as Ai, n as hi, l as Oi, $ as Ti, a1 as xi, a3 as _i, m as Pi, a5 as Ci, s as Ei, o as Ui, ai as Bi, t as Di, a7 as bi, p as Ii, v as Li, x as Ni, z as Mi, ae as ji, r as $i, i as Vi, af as Xi, A as wi, ag as qi, an as Fi, a9 as Gi, G as ki, H as Qi, J as Ji } from "./loaders-BnP5p7N2.js";
3
+ import { D as Hi, Q as Wi, T as Yi, d as Ki, q as Zi, t as et } from "./questions-BwsFy7G_.js";
4
4
  var R = /* @__PURE__ */ ((e) => (e.Amendements = "amendements", e))(R || {});
5
5
  const I = Object.values(R);
6
6
  var S = /* @__PURE__ */ ((e) => (e.Acte_organe = "acte.organe", e.Acte_provenance = "acte.provenance", e.Acte_rapporteurs_acteur = "acte.rapporteurs.acteur", e.Acte_reunion = "acte.reunion", e.Acte_texteAdopte = "acte.texteAdopte", e.Acte_texteAssocie = "acte.texteAssocie", e.Acte_textesAssocies_texteAssocie = "acte.textesAssocies.texteAssocie", e.Acte_votes = "acte.votes", e.Acteur_mandats_organes = "acteur.mandats.organes", e.Amendement_signataires_auteur_acteur = "amendement.signataires.auteur.acteur", e.Amendement_signataires_auteur_auteurRapporteurOrgane = "amendement.signataires.auteur.auteurRapporteurOrgane", e.Amendement_signataires_auteur_gouvernement = "amendement.signataires.auteur.gouvernement", e.Amendement_signataires_auteur_groupePolitique = "amendement.signataires.auteur.groupePolitique", e.Amendement_signataires_cosignataires = "amendement.signataires.cosignataires", e.Amendement_texteLegislatif = "amendement.texteLegislatif", e.Document_auteurs_acteur_acteur = "document.auteurs.acteur.acteur", e.Document_auteurs_organe = "document.auteurs.organe", e.Document_dossier = "document.dossier", e.Dossier_initiateur_acteurs_acteur = "dossier.initiateur.acteurs.acteur", e.Dossier_initiateur_organe = "dossier.initiateur.organe", e.Organe_organeParent = "organe.organeParent", e.Organe_organePrecedent = "organe.organePrecedent", e.Reunion_demandeurs_acteurs_acteur = "reunion.demandeurs.acteurs.acteur", e.Reunion_demandeurs_organe_organe = "reunion.demandeurs.organe.organe", e.Reunion_organeReuni = "reunion.organeReuni", e.Reunion_participants_participantsInternes_acteur = "reunion.participants.participantsInternes.acteur", e.Scrutin_miseAuPoint = "scrutin.miseAuPoint", e.Scrutin_organe = "scrutin.organe", e.Scrutin_ventilationVotes_groupes_organe = "scrutin.ventilationVotes.groupes.organe", e))(S || {});