@tricoteuses/assemblee 3.8.5 → 3.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- import { W as e } from "./amendements-DfZse75q.js";
1
+ import { W as e } from "./amendements-RAabukws.js";
2
2
  import t from "node:assert";
3
3
  //#region src/cleaners/xml.ts
4
4
  var n = {
@@ -1,6 +1,6 @@
1
1
  import { t as e } from "./zod_errors-qS8sQ67W.js";
2
2
  import { z as t } from "zod";
3
- //#region node_modules/date-fns/locale/en-US/_lib/formatDistance.js
3
+ //#region ../../../node_modules/date-fns/locale/en-US/_lib/formatDistance.js
4
4
  var n = {
5
5
  lessThanXSeconds: {
6
6
  one: "less than a second",
@@ -68,7 +68,7 @@ var n = {
68
68
  return i = typeof a == "string" ? a : t === 1 ? a.one : a.other.replace("{{count}}", t.toString()), r?.addSuffix ? r.comparison && r.comparison > 0 ? "in " + i : i + " ago" : i;
69
69
  };
70
70
  //#endregion
71
- //#region node_modules/date-fns/locale/_lib/buildFormatLongFn.js
71
+ //#region ../../../node_modules/date-fns/locale/_lib/buildFormatLongFn.js
72
72
  function i(e) {
73
73
  return (t = {}) => {
74
74
  let n = t.width ? String(t.width) : e.defaultWidth;
@@ -112,7 +112,7 @@ var a = {
112
112
  other: "P"
113
113
  }, s = (e, t, n, r) => o[e];
114
114
  //#endregion
115
- //#region node_modules/date-fns/locale/_lib/buildLocalizeFn.js
115
+ //#region ../../../node_modules/date-fns/locale/_lib/buildLocalizeFn.js
116
116
  function c(e) {
117
117
  return (t, n) => {
118
118
  let r = n?.context ? String(n.context) : "standalone", i;
@@ -327,7 +327,7 @@ var l = {
327
327
  })
328
328
  };
329
329
  //#endregion
330
- //#region node_modules/date-fns/locale/_lib/buildMatchFn.js
330
+ //#region ../../../node_modules/date-fns/locale/_lib/buildMatchFn.js
331
331
  function u(e) {
332
332
  return (t, n = {}) => {
333
333
  let r = n.width, i = r && e.matchPatterns[r] || e.matchPatterns[e.defaultMatchWidth], a = t.match(i);
@@ -348,7 +348,7 @@ function d(e, t) {
348
348
  for (let n = 0; n < e.length; n++) if (t(e[n])) return n;
349
349
  }
350
350
  //#endregion
351
- //#region node_modules/date-fns/locale/_lib/buildMatchPatternFn.js
351
+ //#region ../../../node_modules/date-fns/locale/_lib/buildMatchPatternFn.js
352
352
  function f(e) {
353
353
  return (t, n = {}) => {
354
354
  let r = t.match(e.matchPattern);
@@ -365,7 +365,7 @@ function f(e) {
365
365
  };
366
366
  }
367
367
  //#endregion
368
- //#region node_modules/date-fns/locale/en-US.js
368
+ //#region ../../../node_modules/date-fns/locale/en-US.js
369
369
  var te = {
370
370
  code: "en-US",
371
371
  formatDistance: r,
@@ -501,64 +501,64 @@ function m() {
501
501
  return p;
502
502
  }
503
503
  //#endregion
504
- //#region node_modules/date-fns/constants.js
504
+ //#region ../../../node_modules/date-fns/constants.js
505
505
  var ne = 365.2425, re = 6048e5, ie = 864e5, h = 6e4, ae = 36e5, oe = 1e3, se = 86400;
506
506
  se * 7, se * ne / 12 * 3;
507
507
  var ce = Symbol.for("constructDateFrom");
508
508
  //#endregion
509
- //#region node_modules/date-fns/constructFrom.js
509
+ //#region ../../../node_modules/date-fns/constructFrom.js
510
510
  function g(e, t) {
511
511
  return typeof e == "function" ? e(t) : e && typeof e == "object" && ce in e ? e[ce](t) : e instanceof Date ? new e.constructor(t) : new Date(t);
512
512
  }
513
513
  //#endregion
514
- //#region node_modules/date-fns/toDate.js
514
+ //#region ../../../node_modules/date-fns/toDate.js
515
515
  function _(e, t) {
516
516
  return g(t || e, e);
517
517
  }
518
518
  //#endregion
519
- //#region node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.js
519
+ //#region ../../../node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.js
520
520
  function v(e) {
521
521
  let t = _(e), n = new Date(Date.UTC(t.getFullYear(), t.getMonth(), t.getDate(), t.getHours(), t.getMinutes(), t.getSeconds(), t.getMilliseconds()));
522
522
  return n.setUTCFullYear(t.getFullYear()), +e - n;
523
523
  }
524
524
  //#endregion
525
- //#region node_modules/date-fns/_lib/normalizeDates.js
525
+ //#region ../../../node_modules/date-fns/_lib/normalizeDates.js
526
526
  function le(e, ...t) {
527
527
  let n = g.bind(null, e || t.find((e) => typeof e == "object"));
528
528
  return t.map(n);
529
529
  }
530
530
  //#endregion
531
- //#region node_modules/date-fns/startOfDay.js
531
+ //#region ../../../node_modules/date-fns/startOfDay.js
532
532
  function ue(e, t) {
533
533
  let n = _(e, t?.in);
534
534
  return n.setHours(0, 0, 0, 0), n;
535
535
  }
536
536
  //#endregion
537
- //#region node_modules/date-fns/differenceInCalendarDays.js
537
+ //#region ../../../node_modules/date-fns/differenceInCalendarDays.js
538
538
  function de(e, t, n) {
539
539
  let [r, i] = le(n?.in, e, t), a = ue(r), o = ue(i), s = +a - v(a), c = +o - v(o);
540
540
  return Math.round((s - c) / ie);
541
541
  }
542
542
  //#endregion
543
- //#region node_modules/date-fns/startOfYear.js
543
+ //#region ../../../node_modules/date-fns/startOfYear.js
544
544
  function fe(e, t) {
545
545
  let n = _(e, t?.in);
546
546
  return n.setFullYear(n.getFullYear(), 0, 1), n.setHours(0, 0, 0, 0), n;
547
547
  }
548
548
  //#endregion
549
- //#region node_modules/date-fns/getDayOfYear.js
549
+ //#region ../../../node_modules/date-fns/getDayOfYear.js
550
550
  function pe(e, t) {
551
551
  let n = _(e, t?.in);
552
552
  return de(n, fe(n)) + 1;
553
553
  }
554
554
  //#endregion
555
- //#region node_modules/date-fns/startOfWeek.js
555
+ //#region ../../../node_modules/date-fns/startOfWeek.js
556
556
  function y(e, t) {
557
557
  let n = m(), r = t?.weekStartsOn ?? t?.locale?.options?.weekStartsOn ?? n.weekStartsOn ?? n.locale?.options?.weekStartsOn ?? 0, i = _(e, t?.in), a = i.getDay(), o = (a < r ? 7 : 0) + a - r;
558
558
  return i.setDate(i.getDate() - o), i.setHours(0, 0, 0, 0), i;
559
559
  }
560
560
  //#endregion
561
- //#region node_modules/date-fns/startOfISOWeek.js
561
+ //#region ../../../node_modules/date-fns/startOfISOWeek.js
562
562
  function b(e, t) {
563
563
  return y(e, {
564
564
  ...t,
@@ -566,7 +566,7 @@ function b(e, t) {
566
566
  });
567
567
  }
568
568
  //#endregion
569
- //#region node_modules/date-fns/getISOWeekYear.js
569
+ //#region ../../../node_modules/date-fns/getISOWeekYear.js
570
570
  function me(e, t) {
571
571
  let n = _(e, t?.in), r = n.getFullYear(), i = g(n, 0);
572
572
  i.setFullYear(r + 1, 0, 4), i.setHours(0, 0, 0, 0);
@@ -576,19 +576,19 @@ function me(e, t) {
576
576
  return n.getTime() >= a.getTime() ? r + 1 : n.getTime() >= s.getTime() ? r : r - 1;
577
577
  }
578
578
  //#endregion
579
- //#region node_modules/date-fns/startOfISOWeekYear.js
579
+ //#region ../../../node_modules/date-fns/startOfISOWeekYear.js
580
580
  function he(e, t) {
581
581
  let n = me(e, t), r = g(t?.in || e, 0);
582
582
  return r.setFullYear(n, 0, 4), r.setHours(0, 0, 0, 0), b(r);
583
583
  }
584
584
  //#endregion
585
- //#region node_modules/date-fns/getISOWeek.js
585
+ //#region ../../../node_modules/date-fns/getISOWeek.js
586
586
  function ge(e, t) {
587
587
  let n = _(e, t?.in), r = +b(n) - he(n);
588
588
  return Math.round(r / re) + 1;
589
589
  }
590
590
  //#endregion
591
- //#region node_modules/date-fns/getWeekYear.js
591
+ //#region ../../../node_modules/date-fns/getWeekYear.js
592
592
  function _e(e, t) {
593
593
  let n = _(e, t?.in), r = n.getFullYear(), i = m(), a = t?.firstWeekContainsDate ?? t?.locale?.options?.firstWeekContainsDate ?? i.firstWeekContainsDate ?? i.locale?.options?.firstWeekContainsDate ?? 1, o = g(t?.in || e, 0);
594
594
  o.setFullYear(r + 1, 0, a), o.setHours(0, 0, 0, 0);
@@ -598,24 +598,24 @@ function _e(e, t) {
598
598
  return +n >= +s ? r + 1 : +n >= +l ? r : r - 1;
599
599
  }
600
600
  //#endregion
601
- //#region node_modules/date-fns/startOfWeekYear.js
601
+ //#region ../../../node_modules/date-fns/startOfWeekYear.js
602
602
  function ve(e, t) {
603
603
  let n = m(), r = t?.firstWeekContainsDate ?? t?.locale?.options?.firstWeekContainsDate ?? n.firstWeekContainsDate ?? n.locale?.options?.firstWeekContainsDate ?? 1, i = _e(e, t), a = g(t?.in || e, 0);
604
604
  return a.setFullYear(i, 0, r), a.setHours(0, 0, 0, 0), y(a, t);
605
605
  }
606
606
  //#endregion
607
- //#region node_modules/date-fns/getWeek.js
607
+ //#region ../../../node_modules/date-fns/getWeek.js
608
608
  function ye(e, t) {
609
609
  let n = _(e, t?.in), r = +y(n, t) - ve(n, t);
610
610
  return Math.round(r / re) + 1;
611
611
  }
612
612
  //#endregion
613
- //#region node_modules/date-fns/_lib/addLeadingZeros.js
613
+ //#region ../../../node_modules/date-fns/_lib/addLeadingZeros.js
614
614
  function x(e, t) {
615
615
  return (e < 0 ? "-" : "") + Math.abs(e).toString().padStart(t, "0");
616
616
  }
617
617
  //#endregion
618
- //#region node_modules/date-fns/_lib/format/lightFormatters.js
618
+ //#region ../../../node_modules/date-fns/_lib/format/lightFormatters.js
619
619
  var S = {
620
620
  y(e, t) {
621
621
  let n = e.getFullYear(), r = n > 0 ? n : 1 - n;
@@ -1027,7 +1027,7 @@ function w(e, t = "") {
1027
1027
  return n + i + t + a;
1028
1028
  }
1029
1029
  //#endregion
1030
- //#region node_modules/date-fns/_lib/format/longFormatters.js
1030
+ //#region ../../../node_modules/date-fns/_lib/format/longFormatters.js
1031
1031
  var Ce = (e, t) => {
1032
1032
  switch (e) {
1033
1033
  case "P": return t.date({ width: "short" });
@@ -1083,17 +1083,17 @@ function je(e, t, n) {
1083
1083
  return `Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${t}\`) for formatting ${r} to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`;
1084
1084
  }
1085
1085
  //#endregion
1086
- //#region node_modules/date-fns/isDate.js
1086
+ //#region ../../../node_modules/date-fns/isDate.js
1087
1087
  function Me(e) {
1088
1088
  return e instanceof Date || typeof e == "object" && Object.prototype.toString.call(e) === "[object Date]";
1089
1089
  }
1090
1090
  //#endregion
1091
- //#region node_modules/date-fns/isValid.js
1091
+ //#region ../../../node_modules/date-fns/isValid.js
1092
1092
  function Ne(e) {
1093
1093
  return !(!Me(e) && typeof e != "number" || isNaN(+_(e)));
1094
1094
  }
1095
1095
  //#endregion
1096
- //#region node_modules/date-fns/format.js
1096
+ //#region ../../../node_modules/date-fns/format.js
1097
1097
  var Pe = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, Fe = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, Ie = /^'([^]*?)'?$/, Le = /''/g, Re = /[a-zA-Z]/;
1098
1098
  function ze(e, t, n) {
1099
1099
  let r = m(), i = n?.locale ?? r.locale ?? te, a = n?.firstWeekContainsDate ?? n?.locale?.options?.firstWeekContainsDate ?? r.firstWeekContainsDate ?? r.locale?.options?.firstWeekContainsDate ?? 1, o = n?.weekStartsOn ?? n?.locale?.options?.weekStartsOn ?? r.weekStartsOn ?? r.locale?.options?.weekStartsOn ?? 0, s = _(e, n?.in);
@@ -1144,7 +1144,7 @@ function Be(e) {
1144
1144
  return t ? t[1].replace(Le, "'") : e;
1145
1145
  }
1146
1146
  //#endregion
1147
- //#region node_modules/date-fns/locale/fr/_lib/formatDistance.js
1147
+ //#region ../../../node_modules/date-fns/locale/fr/_lib/formatDistance.js
1148
1148
  var Ve = {
1149
1149
  lessThanXSeconds: {
1150
1150
  one: "moins d’une seconde",
@@ -1549,12 +1549,12 @@ var Ve = {
1549
1549
  }
1550
1550
  };
1551
1551
  //#endregion
1552
- //#region node_modules/date-fns/getDefaultOptions.js
1552
+ //#region ../../../node_modules/date-fns/getDefaultOptions.js
1553
1553
  function $e() {
1554
1554
  return Object.assign({}, m());
1555
1555
  }
1556
1556
  //#endregion
1557
- //#region node_modules/date-fns/transpose.js
1557
+ //#region ../../../node_modules/date-fns/transpose.js
1558
1558
  function et(e, t) {
1559
1559
  let n = tt(t) ? new t(0) : g(t, 0);
1560
1560
  return n.setFullYear(e.getFullYear(), e.getMonth(), e.getDate()), n.setHours(e.getHours(), e.getMinutes(), e.getSeconds(), e.getMilliseconds()), n;
@@ -1601,7 +1601,7 @@ function O(e, t, n) {
1601
1601
  }) : e[t] = n, e;
1602
1602
  }
1603
1603
  //#endregion
1604
- //#region node_modules/date-fns/parse/_lib/Setter.js
1604
+ //#region ../../../node_modules/date-fns/parse/_lib/Setter.js
1605
1605
  var it = 10, at = class {
1606
1606
  constructor() {
1607
1607
  O(this, "subPriority", 0);
@@ -1686,7 +1686,7 @@ var it = 10, at = class {
1686
1686
  extendedOptionalSeconds: /^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/
1687
1687
  };
1688
1688
  //#endregion
1689
- //#region node_modules/date-fns/parse/_lib/utils.js
1689
+ //#region ../../../node_modules/date-fns/parse/_lib/utils.js
1690
1690
  function M(e, t) {
1691
1691
  return e && {
1692
1692
  value: t(e.value),
@@ -1757,7 +1757,7 @@ function ft(e) {
1757
1757
  return e % 400 == 0 || e % 4 == 0 && e % 100 != 0;
1758
1758
  }
1759
1759
  //#endregion
1760
- //#region node_modules/date-fns/parse/_lib/parsers/YearParser.js
1760
+ //#region ../../../node_modules/date-fns/parse/_lib/parsers/YearParser.js
1761
1761
  var pt = class extends k {
1762
1762
  constructor(...e) {
1763
1763
  super(...e), O(this, "priority", 130), O(this, "incompatibleTokens", [
@@ -2100,13 +2100,13 @@ var pt = class extends k {
2100
2100
  }
2101
2101
  };
2102
2102
  //#endregion
2103
- //#region node_modules/date-fns/setWeek.js
2103
+ //#region ../../../node_modules/date-fns/setWeek.js
2104
2104
  function xt(e, t, n) {
2105
2105
  let r = _(e, n?.in), i = ye(r, n) - t;
2106
2106
  return r.setDate(r.getDate() - i * 7), _(r, n?.in);
2107
2107
  }
2108
2108
  //#endregion
2109
- //#region node_modules/date-fns/parse/_lib/parsers/LocalWeekParser.js
2109
+ //#region ../../../node_modules/date-fns/parse/_lib/parsers/LocalWeekParser.js
2110
2110
  var St = class extends k {
2111
2111
  constructor(...e) {
2112
2112
  super(...e), O(this, "priority", 100), O(this, "incompatibleTokens", [
@@ -2140,13 +2140,13 @@ var St = class extends k {
2140
2140
  }
2141
2141
  };
2142
2142
  //#endregion
2143
- //#region node_modules/date-fns/setISOWeek.js
2143
+ //#region ../../../node_modules/date-fns/setISOWeek.js
2144
2144
  function Ct(e, t, n) {
2145
2145
  let r = _(e, n?.in), i = ge(r, n) - t;
2146
2146
  return r.setDate(r.getDate() - i * 7), r;
2147
2147
  }
2148
2148
  //#endregion
2149
- //#region node_modules/date-fns/parse/_lib/parsers/ISOWeekParser.js
2149
+ //#region ../../../node_modules/date-fns/parse/_lib/parsers/ISOWeekParser.js
2150
2150
  var wt = class extends k {
2151
2151
  constructor(...e) {
2152
2152
  super(...e), O(this, "priority", 100), O(this, "incompatibleTokens", [
@@ -2272,19 +2272,19 @@ var wt = class extends k {
2272
2272
  }
2273
2273
  };
2274
2274
  //#endregion
2275
- //#region node_modules/date-fns/addDays.js
2275
+ //#region ../../../node_modules/date-fns/addDays.js
2276
2276
  function kt(e, t, n) {
2277
2277
  let r = _(e, n?.in);
2278
2278
  return isNaN(t) ? g(n?.in || e, NaN) : (t && r.setDate(r.getDate() + t), r);
2279
2279
  }
2280
2280
  //#endregion
2281
- //#region node_modules/date-fns/setDay.js
2281
+ //#region ../../../node_modules/date-fns/setDay.js
2282
2282
  function At(e, t, n) {
2283
2283
  let r = m(), i = n?.weekStartsOn ?? n?.locale?.options?.weekStartsOn ?? r.weekStartsOn ?? r.locale?.options?.weekStartsOn ?? 0, a = _(e, n?.in), o = a.getDay(), s = (t % 7 + 7) % 7, c = 7 - i;
2284
2284
  return kt(a, t < 0 || t > 6 ? t - (o + c) % 7 : (s + c) % 7 - (o + c) % 7, n);
2285
2285
  }
2286
2286
  //#endregion
2287
- //#region node_modules/date-fns/parse/_lib/parsers/DayParser.js
2287
+ //#region ../../../node_modules/date-fns/parse/_lib/parsers/DayParser.js
2288
2288
  var jt = class extends k {
2289
2289
  constructor(...e) {
2290
2290
  super(...e), O(this, "priority", 90), O(this, "incompatibleTokens", [
@@ -2486,19 +2486,19 @@ var jt = class extends k {
2486
2486
  }
2487
2487
  };
2488
2488
  //#endregion
2489
- //#region node_modules/date-fns/getISODay.js
2489
+ //#region ../../../node_modules/date-fns/getISODay.js
2490
2490
  function Pt(e, t) {
2491
2491
  let n = _(e, t?.in).getDay();
2492
2492
  return n === 0 ? 7 : n;
2493
2493
  }
2494
2494
  //#endregion
2495
- //#region node_modules/date-fns/setISODay.js
2495
+ //#region ../../../node_modules/date-fns/setISODay.js
2496
2496
  function Ft(e, t, n) {
2497
2497
  let r = _(e, n?.in);
2498
2498
  return kt(r, t - Pt(r, n), n);
2499
2499
  }
2500
2500
  //#endregion
2501
- //#region node_modules/date-fns/parse/_lib/parsers/ISODayParser.js
2501
+ //#region ../../../node_modules/date-fns/parse/_lib/parsers/ISODayParser.js
2502
2502
  var It = class extends k {
2503
2503
  constructor(...e) {
2504
2504
  super(...e), O(this, "priority", 90), O(this, "incompatibleTokens", [
@@ -2975,7 +2975,7 @@ function on(e) {
2975
2975
  return e.match(en)[1].replace(tn, "'");
2976
2976
  }
2977
2977
  //#endregion
2978
- //#region node_modules/date-fns/parseISO.js
2978
+ //#region ../../../node_modules/date-fns/parseISO.js
2979
2979
  function L(e, t) {
2980
2980
  let n = () => g(t?.in, NaN), r = t?.additionalDigits ?? 2, i = un(e), a;
2981
2981
  if (i.date) {