@tricoteuses/assemblee 2.3.0 → 2.4.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.
- package/lib/{amendements-DcffXOt8.js → amendements-J6Sx61n8.js} +1 -1
- package/lib/cleaners.js +2 -2
- package/lib/index.d.ts +0 -1
- package/lib/index.js +16 -17
- package/lib/loaders.d.ts +1 -1
- package/lib/loaders.js +1424 -28
- package/lib/parsers/textes_lois.d.ts +1 -17
- package/lib/parsers.js +24 -19
- package/lib/schemas/agendas.json +3 -0
- package/lib/schemas/dossiers_legislatifs.json +3 -0
- package/lib/scrutins-DhX6h3KY.js +2819 -0
- package/lib/types/agendas.d.ts +1 -0
- package/package.json +1 -1
- package/lib/loaders-COCQTD-d.js +0 -4230
- package/lib/scripts/add_links_to_documents.d.ts +0 -1
package/lib/loaders-COCQTD-d.js
DELETED
|
@@ -1,4230 +0,0 @@
|
|
|
1
|
-
import Ne from "node:assert";
|
|
2
|
-
import p from "fs-extra";
|
|
3
|
-
import i from "node:path";
|
|
4
|
-
import "node:crypto";
|
|
5
|
-
import "glob";
|
|
6
|
-
import { C as Pe } from "./amendements-40Z7OJLT.js";
|
|
7
|
-
var Be = /* @__PURE__ */ ((e) => (e.Api = "API", e.Assemblee = "ASSEMBLEE", e.Bureau = "BUREAU", e.Circonscription = "CIRCONSCRIPTION", e.Cjr = "CJR", e.Cmp = "CMP", e.Cnpe = "CNPE", e.Cnps = "CNPS", e.Comnl = "COMNL", e.Comper = "COMPER", e.Comsenat = "COMSENAT", e.Comspsenat = "COMSPSENAT", e.Confpt = "CONFPT", e.Constitu = "CONSTITU", e.Deleg = "DELEG", e.Delegbureau = "DELEGBUREAU", e.Delegsenat = "DELEGSENAT", e.Ga = "GA", e.Ge = "GE", e.Gevi = "GEVI", e.Gouvernement = "GOUVERNEMENT", e.Gp = "GP", e.Groupesenat = "GROUPESENAT", e.Hcj = "HCJ", e.Ministere = "MINISTERE", e.Miseval = "MISEVAL", e.Misgrtr = "MISGRTR", e.Misinfo = "MISINFO", e.Misinfocom = "MISINFOCOM", e.Misinfopre = "MISINFOPRE", e.Offpar = "OFFPAR", e.Orgaint = "ORGAINT", e.Orgextparl = "ORGEXTPARL", e.Parpol = "PARPOL", e.Presrep = "PRESREP", e.Senat = "SENAT", e))(Be || {}), f = /* @__PURE__ */ ((e) => (e[e.Quatorze = 14] = "Quatorze", e[e.Quinze = 15] = "Quinze", e[e.Seize = 16] = "Seize", e[e.DixSept = 17] = "DixSept", e[e.DixHuit = 18] = "DixHuit", e[e.All = 0] = "All", e))(f || {}), w = /* @__PURE__ */ ((e) => (e[e.None = 0] = "None", e[e.ActeursEtOrganes = 1] = "ActeursEtOrganes", e[e.Agendas = 2] = "Agendas", e[e.Amendements = 4] = "Amendements", e[e.DossiersLegislatifs = 8] = "DossiersLegislatifs", e[e.Photos = 16] = "Photos", e[e.Scrutins = 32] = "Scrutins", e[e.Questions = 64] = "Questions", e[e.ComptesRendusSeances = 128] = "ComptesRendusSeances", e[e.All = 255] = "All", e))(w || {});
|
|
8
|
-
function J(e, n) {
|
|
9
|
-
const s = i.join(n, e.filename);
|
|
10
|
-
p.existsSync(s) && p.removeSync(s), p.existsSync(i.join(n, "json")) ? p.moveSync(i.join(n, "json"), s) : p.mkdirSync(s);
|
|
11
|
-
}
|
|
12
|
-
const Q = {
|
|
13
|
-
acteursEtOrganes: [
|
|
14
|
-
{
|
|
15
|
-
// AMO10 (XVII)
|
|
16
|
-
//
|
|
17
|
-
// Contient les députés actifs
|
|
18
|
-
// * avec tous les mandats en cours
|
|
19
|
-
// * y compris avec leur parti politique (typeOrgane: "PARPOL")
|
|
20
|
-
// * mais sans les mandats achevés (y compris dans cette législature)
|
|
21
|
-
//
|
|
22
|
-
// Organes :
|
|
23
|
-
// * Contient seulement les organes correspondants aux mandats en cours
|
|
24
|
-
// * avec le xsiType de l'organe
|
|
25
|
-
// * avec des commissions sénatoriales (permanentes et spéciales) en cours
|
|
26
|
-
// * avec des délégations sénatoriales en cours
|
|
27
|
-
// * avec des groupes sénatoriaux en cours
|
|
28
|
-
// * avec des ministères en cours
|
|
29
|
-
// * avec les Présidences de la République (y compris Sarkozy)
|
|
30
|
-
// * avec le Conseil constitutionnel
|
|
31
|
-
//
|
|
32
|
-
// Ce fichier est un sous-ensemble à tous les niveaux du fichier AMO20
|
|
33
|
-
// (qui est lui même un sous-ensemble de l'AMO30).
|
|
34
|
-
// Il n'apporte donc absolument rien par rapport à AMO20 ou l'AMO30.
|
|
35
|
-
filename: "AMO10_deputes_actifs_mandats_actifs_organes_XVII.json",
|
|
36
|
-
ignoreForWeb: !0,
|
|
37
|
-
legislature: f.DixSept,
|
|
38
|
-
repairZip: J,
|
|
39
|
-
structure: 1,
|
|
40
|
-
title: "Députés actifs et organes de la XVIIème législature",
|
|
41
|
-
url: "https://data.assemblee-nationale.fr/static/openData/repository/17/amo/deputes_actifs_mandats_actifs_organes/AMO10_deputes_actifs_mandats_actifs_organes.json.zip"
|
|
42
|
-
},
|
|
43
|
-
{
|
|
44
|
-
// AMO10 (XVI)
|
|
45
|
-
//
|
|
46
|
-
// Contient les députés actifs
|
|
47
|
-
// * avec tous les mandats en cours
|
|
48
|
-
// * y compris avec leur parti politique (typeOrgane: "PARPOL")
|
|
49
|
-
// * mais sans les mandats achevés (y compris dans cette législature)
|
|
50
|
-
//
|
|
51
|
-
// Organes :
|
|
52
|
-
// * Contient seulement les organes correspondants aux mandats en cours
|
|
53
|
-
// * avec le xsiType de l'organe
|
|
54
|
-
// * avec des commissions sénatoriales (permanentes et spéciales) en cours
|
|
55
|
-
// * avec des délégations sénatoriales en cours
|
|
56
|
-
// * avec des groupes sénatoriaux en cours
|
|
57
|
-
// * avec des ministères en cours
|
|
58
|
-
// * avec les Présidences de la République (y compris Sarkozy)
|
|
59
|
-
// * avec le Conseil constitutionnel
|
|
60
|
-
//
|
|
61
|
-
// Ce fichier est un sous-ensemble à tous les niveaux du fichier AMO20
|
|
62
|
-
// (qui est lui même un sous-ensemble de l'AMO30).
|
|
63
|
-
// Il n'apporte donc absolument rien par rapport à AMO20 ou l'AMO30.
|
|
64
|
-
filename: "AMO10_deputes_actifs_mandats_actifs_organes_XVI.json",
|
|
65
|
-
ignoreForWeb: !0,
|
|
66
|
-
legislature: f.Seize,
|
|
67
|
-
repairZip: J,
|
|
68
|
-
structure: 1,
|
|
69
|
-
title: "Députés actifs et organes de la XVIème législature",
|
|
70
|
-
url: "https://data.assemblee-nationale.fr/static/openData/repository/16/amo/deputes_actifs_mandats_actifs_organes/AMO10_deputes_actifs_mandats_actifs_organes.json.zip"
|
|
71
|
-
},
|
|
72
|
-
{
|
|
73
|
-
// AMO10 (XV)
|
|
74
|
-
//
|
|
75
|
-
// Contient les députés actifs
|
|
76
|
-
// * avec tous les mandats en cours
|
|
77
|
-
// * y compris avec leur parti politique (typeOrgane: "PARPOL")
|
|
78
|
-
// * mais sans les mandats achevés (y compris dans cette législature)
|
|
79
|
-
//
|
|
80
|
-
// Organes :
|
|
81
|
-
// * Contient seulement les organes correspondants aux mandats en cours
|
|
82
|
-
// * avec le xsiType de l'organe
|
|
83
|
-
// * avec des commissions sénatoriales (permanentes et spéciales) en cours
|
|
84
|
-
// * avec des délégations sénatoriales en cours
|
|
85
|
-
// * avec des groupes sénatoriaux en cours
|
|
86
|
-
// * avec des ministères en cours
|
|
87
|
-
// * avec les Présidences de la République (y compris Sarkozy)
|
|
88
|
-
// * avec le Conseil constitutionnel
|
|
89
|
-
//
|
|
90
|
-
// Ce fichier est un sous-ensemble à tous les niveaux du fichier AMO20
|
|
91
|
-
// (qui est lui même un sous-ensemble de l'AMO30).
|
|
92
|
-
// Il n'apporte donc absolument rien par rapport à AMO20 ou l'AMO30.
|
|
93
|
-
filename: "AMO10_deputes_actifs_mandats_actifs_organes_XV.json",
|
|
94
|
-
ignoreForWeb: !0,
|
|
95
|
-
legislature: f.Quinze,
|
|
96
|
-
repairZip: J,
|
|
97
|
-
structure: 1,
|
|
98
|
-
title: "Députés actifs et organes de la XVème législature",
|
|
99
|
-
url: "https://data.assemblee-nationale.fr/static/openData/repository/15/amo/deputes_actifs_mandats_actifs_organes/AMO10_deputes_actifs_mandats_actifs_organes_XV.json.zip"
|
|
100
|
-
},
|
|
101
|
-
{
|
|
102
|
-
// AMO20 (XVII)
|
|
103
|
-
//
|
|
104
|
-
// Contient les députés de la législature, actifs ou non (invalidés, etc), les sénateurs actuels
|
|
105
|
-
// Pour les députés :
|
|
106
|
-
// * avec tous leurs mandats de la législature
|
|
107
|
-
// * y compris les mandats achevés
|
|
108
|
-
// * y compris leurs partis politiques (typeOrgane: "PARPOL")
|
|
109
|
-
// * mais sans les mandats des législatures précédentes (qui sont dans AMO40)
|
|
110
|
-
//
|
|
111
|
-
// Contient tous les organes référencés par les mandats
|
|
112
|
-
// * avec le xsiType de l'organe
|
|
113
|
-
// * avec des commissions sénatoriales (permanentes et spéciales) en cours
|
|
114
|
-
// * avec des délégations sénatoriales en cours
|
|
115
|
-
// * avec des groupes sénatoriaux en cours
|
|
116
|
-
// * avec des ministères en cours
|
|
117
|
-
// * avec les Présidences de la République (y compris Sarkozy)
|
|
118
|
-
// * avec le Conseil constitutionnel
|
|
119
|
-
//
|
|
120
|
-
// Ce fichier est un sous-ensemble à tous les niveaux du fichier AMO30.
|
|
121
|
-
// Il n'apporte donc absolument rien par rapport à l'AMO30.
|
|
122
|
-
filename: "AMO20_dep_sen_min_tous_mandats_et_organes_XVII.json",
|
|
123
|
-
ignoreForWeb: !0,
|
|
124
|
-
legislature: f.DixSept,
|
|
125
|
-
repairZip: J,
|
|
126
|
-
structure: 1,
|
|
127
|
-
title: "Acteurs et organes de la XVIIème législature",
|
|
128
|
-
url: "https://data.assemblee-nationale.fr/static/openData/repository/17/amo/deputes_senateurs_ministres_legislature/AMO20_dep_sen_min_tous_mandats_et_organes.json.zip"
|
|
129
|
-
},
|
|
130
|
-
{
|
|
131
|
-
// AMO20 (XVI)
|
|
132
|
-
//
|
|
133
|
-
// Contient les députés de la législature, actifs ou non (invalidés, etc), les sénateurs actuels
|
|
134
|
-
// Pour les députés :
|
|
135
|
-
// * avec tous leurs mandats de la législature
|
|
136
|
-
// * y compris les mandats achevés
|
|
137
|
-
// * y compris leurs partis politiques (typeOrgane: "PARPOL")
|
|
138
|
-
// * mais sans les mandats des législatures précédentes (qui sont dans AMO40)
|
|
139
|
-
//
|
|
140
|
-
// Contient tous les organes référencés par les mandats
|
|
141
|
-
// * avec le xsiType de l'organe
|
|
142
|
-
// * avec des commissions sénatoriales (permanentes et spéciales) en cours
|
|
143
|
-
// * avec des délégations sénatoriales en cours
|
|
144
|
-
// * avec des groupes sénatoriaux en cours
|
|
145
|
-
// * avec des ministères en cours
|
|
146
|
-
// * avec les Présidences de la République (y compris Sarkozy)
|
|
147
|
-
// * avec le Conseil constitutionnel
|
|
148
|
-
//
|
|
149
|
-
// Ce fichier est un sous-ensemble à tous les niveaux du fichier AMO30.
|
|
150
|
-
// Il n'apporte donc absolument rien par rapport à l'AMO30.
|
|
151
|
-
filename: "AMO20_dep_sen_min_tous_mandats_et_organes_XVI.json",
|
|
152
|
-
ignoreForWeb: !0,
|
|
153
|
-
legislature: f.Seize,
|
|
154
|
-
repairZip: J,
|
|
155
|
-
structure: 1,
|
|
156
|
-
title: "Acteurs et organes de la XVIème législature",
|
|
157
|
-
url: "https://data.assemblee-nationale.fr/static/openData/repository/16/amo/deputes_senateurs_ministres_legislature/AMO20_dep_sen_min_tous_mandats_et_organes.json.zip"
|
|
158
|
-
},
|
|
159
|
-
{
|
|
160
|
-
// AMO20 (XV)
|
|
161
|
-
//
|
|
162
|
-
// Contient les députés de la législature, actifs ou non (invalidés, etc), les sénateurs actuels
|
|
163
|
-
// Pour les députés :
|
|
164
|
-
// * avec tous leurs mandats de la législature
|
|
165
|
-
// * y compris les mandats achevés
|
|
166
|
-
// * y compris leurs partis politiques (typeOrgane: "PARPOL")
|
|
167
|
-
// * mais sans les mandats des législatures précédentes (qui sont dans AMO40)
|
|
168
|
-
//
|
|
169
|
-
// Contient tous les organes référencés par les mandats
|
|
170
|
-
// * avec le xsiType de l'organe
|
|
171
|
-
// * avec des commissions sénatoriales (permanentes et spéciales) en cours
|
|
172
|
-
// * avec des délégations sénatoriales en cours
|
|
173
|
-
// * avec des groupes sénatoriaux en cours
|
|
174
|
-
// * avec des ministères en cours
|
|
175
|
-
// * avec les Présidences de la République (y compris Sarkozy)
|
|
176
|
-
// * avec le Conseil constitutionnel
|
|
177
|
-
//
|
|
178
|
-
// Ce fichier est un sous-ensemble à tous les niveaux du fichier AMO30.
|
|
179
|
-
// Il n'apporte donc absolument rien par rapport à l'AMO30.
|
|
180
|
-
filename: "AMO20_dep_sen_min_tous_mandats_et_organes_XV.json",
|
|
181
|
-
ignoreForWeb: !0,
|
|
182
|
-
legislature: f.Quinze,
|
|
183
|
-
repairZip: J,
|
|
184
|
-
structure: 1,
|
|
185
|
-
title: "Acteurs et organes de la XVème législature",
|
|
186
|
-
url: "https://data.assemblee-nationale.fr/static/openData/repository/15/amo/deputes_senateurs_ministres_legislature/AMO20_dep_sen_min_tous_mandats_et_organes_XV.json.zip"
|
|
187
|
-
},
|
|
188
|
-
{
|
|
189
|
-
// AMO20 (XIV)
|
|
190
|
-
//
|
|
191
|
-
// Comme AMO20 (XV) mais pour la XIVème législature
|
|
192
|
-
// Tous les acteurs sauf un (PA429892) sont présents en plus à jour dans AMO30.
|
|
193
|
-
// Cet acteur PA429892 (ancienne Sénatrice) n'est présent dans aucun des autres
|
|
194
|
-
// fichiers AMO.
|
|
195
|
-
// Tous les organes sont présents en plus complets dans AMO30.
|
|
196
|
-
//
|
|
197
|
-
// Ce fichier est donc à un détail prêt (PA429892) un sous-ensemble d'AMO30.
|
|
198
|
-
// Il n'apporte donc quasiment rien par rapport à l'AMO30.
|
|
199
|
-
filename: "AMO20_dep_sen_min_tous_mandats_et_organes_XIV.json",
|
|
200
|
-
ignoreForWeb: !0,
|
|
201
|
-
legislature: f.Quatorze,
|
|
202
|
-
structure: 0,
|
|
203
|
-
title: "Acteurs et organes de la XIVème législature",
|
|
204
|
-
url: "https://data.assemblee-nationale.fr/static/openData/repository/14/amo/deputes_senateurs_ministres_legislatures_XIV/AMO20_dep_sen_min_tous_mandats_et_organes_XIV.json.zip"
|
|
205
|
-
},
|
|
206
|
-
{
|
|
207
|
-
// AMO30 (XVII)
|
|
208
|
-
//
|
|
209
|
-
// Ce fichier contient tous les acteurs et organes.
|
|
210
|
-
// C'est un sur-ensemble des fichiers AMO20.
|
|
211
|
-
filename: "AMO30_tous_acteurs_tous_mandats_tous_organes_historique.json",
|
|
212
|
-
legislature: f.All,
|
|
213
|
-
repairZip: J,
|
|
214
|
-
structure: 1,
|
|
215
|
-
title: "Historique de tous les acteurs et organes depuis la XIème législature",
|
|
216
|
-
url: "https://data.assemblee-nationale.fr/static/openData/repository/17/amo/tous_acteurs_mandats_organes_xi_legislature/AMO30_tous_acteurs_tous_mandats_tous_organes_historique.json.zip"
|
|
217
|
-
},
|
|
218
|
-
// {
|
|
219
|
-
// // AMO30 (XVI)
|
|
220
|
-
// //
|
|
221
|
-
// // Ce fichier contient tous les acteurs et organes.
|
|
222
|
-
// // C'est un sur-ensemble des fichiers AMO20.
|
|
223
|
-
// filename: "AMO30_tous_acteurs_tous_mandats_tous_organes_historique.json",
|
|
224
|
-
// legislature: Legislature.All,
|
|
225
|
-
// repairZip: repairForJsonSubdirectory,
|
|
226
|
-
// structure: DatasetStructure.SegmentedFiles,
|
|
227
|
-
// title:
|
|
228
|
-
// "Historique de tous les acteurs et organes depuis la XIème législature",
|
|
229
|
-
// url: "https://data.assemblee-nationale.fr/static/openData/repository/16/amo/tous_acteurs_mandats_organes_xi_legislature/AMO30_tous_acteurs_tous_mandats_tous_organes_historique.json.zip",
|
|
230
|
-
// },
|
|
231
|
-
// {
|
|
232
|
-
// // AMO30 (XV)
|
|
233
|
-
// //
|
|
234
|
-
// // Ce fichier contient tous les acteurs et organes.
|
|
235
|
-
// // C'est un sur-ensemble des fichiers AMO20.
|
|
236
|
-
// filename: "AMO30_tous_acteurs_tous_mandats_tous_organes_historique.json",
|
|
237
|
-
// legislature: Legislature.All,
|
|
238
|
-
// repairZip: (dataset: Dataset, dataDir: string) => {
|
|
239
|
-
// const targetDir = path.join(dataDir, dataset.filename)
|
|
240
|
-
// if (fs.existsSync(targetDir)) {
|
|
241
|
-
// fs.removeSync(targetDir)
|
|
242
|
-
// }
|
|
243
|
-
// fs.moveSync(path.join(dataDir, "json"), targetDir)
|
|
244
|
-
// },
|
|
245
|
-
// structure: DatasetStructure.SegmentedFiles,
|
|
246
|
-
// title:
|
|
247
|
-
// "Historique de tous les acteurs et organes depuis la XIème législature",
|
|
248
|
-
// url: "https://data.assemblee-nationale.fr/static/openData/repository/15/amo/tous_acteurs_mandats_organes_xi_legislature/AMO30_tous_acteurs_tous_mandats_tous_organes_historique.json.zip",
|
|
249
|
-
// },
|
|
250
|
-
{
|
|
251
|
-
// AMO40 (XVII)
|
|
252
|
-
//
|
|
253
|
-
// Contient les députés actifs (les mêmes qu'AMO20)
|
|
254
|
-
// * avec presque tous leurs mandats
|
|
255
|
-
// * y compris les mandats achevés et ceux des législatures précédentes
|
|
256
|
-
// * y compris leurs partis politiques précédents
|
|
257
|
-
// * mais sans leur parti politique actuel (typeOrgane: "PARPOL")
|
|
258
|
-
//
|
|
259
|
-
// Contient beaucoup d'organes référencés, y compris ceux des législatures
|
|
260
|
-
// précédentes
|
|
261
|
-
// * mais il manque le xsiType des organes
|
|
262
|
-
// * ne contient pas les organes sénatoriaux
|
|
263
|
-
// * ne contient pas les ministères
|
|
264
|
-
// * ne contient pas la Présidence de la République
|
|
265
|
-
// * ne contient pas le Conseil constitutionnel
|
|
266
|
-
//
|
|
267
|
-
// Pour les acteurs, ce dépôt est un sous-ensemble strict de AMO30 :
|
|
268
|
-
// Il a moins d'acteurs et il sont moins complets.
|
|
269
|
-
//
|
|
270
|
-
// Pour les organes :
|
|
271
|
-
// Quand l'organe est aussi présent dans AMO30, il vaut mieux prendre celui
|
|
272
|
-
// d'AMO30, car il contient le xsiType (c'est la seule différence semble-t-i).
|
|
273
|
-
// Sinon, il faut le prendre seulement si on est intéressé par les législatures
|
|
274
|
-
// précédentes.
|
|
275
|
-
filename: "AMO40_deputes_actifs_mandats_actifs_organes_divises_XVII.json",
|
|
276
|
-
ignoreForWeb: !0,
|
|
277
|
-
legislature: f.DixSept,
|
|
278
|
-
repairZip: (e, n) => {
|
|
279
|
-
const s = i.join(n, e.filename);
|
|
280
|
-
p.existsSync(s) && p.removeSync(s), p.mkdirSync(s), p.pathExistsSync(i.join(n, "acteur")) && p.moveSync(
|
|
281
|
-
i.join(n, "acteur"),
|
|
282
|
-
i.join(s, "acteur")
|
|
283
|
-
), p.moveSync(
|
|
284
|
-
i.join(n, "organe"),
|
|
285
|
-
i.join(s, "organe")
|
|
286
|
-
);
|
|
287
|
-
},
|
|
288
|
-
structure: 1,
|
|
289
|
-
title: "Députés actifs et organes de la XVIIème législature",
|
|
290
|
-
url: "https://data.assemblee-nationale.fr/static/openData/repository/17/amo/deputes_actifs_mandats_actifs_organes_divises/AMO40_deputes_actifs_mandats_actifs_organes_divises.json.zip"
|
|
291
|
-
},
|
|
292
|
-
{
|
|
293
|
-
// AMO40 (XVI)
|
|
294
|
-
//
|
|
295
|
-
// Contient les députés actifs (les mêmes qu'AMO20)
|
|
296
|
-
// * avec presque tous leurs mandats
|
|
297
|
-
// * y compris les mandats achevés et ceux des législatures précédentes
|
|
298
|
-
// * y compris leurs partis politiques précédents
|
|
299
|
-
// * mais sans leur parti politique actuel (typeOrgane: "PARPOL")
|
|
300
|
-
//
|
|
301
|
-
// Contient beaucoup d'organes référencés, y compris ceux des législatures
|
|
302
|
-
// précédentes
|
|
303
|
-
// * mais il manque le xsiType des organes
|
|
304
|
-
// * ne contient pas les organes sénatoriaux
|
|
305
|
-
// * ne contient pas les ministères
|
|
306
|
-
// * ne contient pas la Présidence de la République
|
|
307
|
-
// * ne contient pas le Conseil constitutionnel
|
|
308
|
-
//
|
|
309
|
-
// Pour les acteurs, ce dépôt est un sous-ensemble strict de AMO30 :
|
|
310
|
-
// Il a moins d'acteurs et il sont moins complets.
|
|
311
|
-
//
|
|
312
|
-
// Pour les organes :
|
|
313
|
-
// Quand l'organe est aussi présent dans AMO30, il vaut mieux prendre celui
|
|
314
|
-
// d'AMO30, car il contient le xsiType (c'est la seule différence semble-t-i).
|
|
315
|
-
// Sinon, il faut le prendre seulement si on est intéressé par les législatures
|
|
316
|
-
// précédentes.
|
|
317
|
-
filename: "AMO40_deputes_actifs_mandats_actifs_organes_divises_XVI.json",
|
|
318
|
-
ignoreForWeb: !0,
|
|
319
|
-
legislature: f.Seize,
|
|
320
|
-
repairZip: (e, n) => {
|
|
321
|
-
const s = i.join(n, e.filename);
|
|
322
|
-
p.existsSync(s) && p.removeSync(s), p.mkdirSync(s), p.pathExistsSync(i.join(n, "acteur")) && p.moveSync(
|
|
323
|
-
i.join(n, "acteur"),
|
|
324
|
-
i.join(s, "acteur")
|
|
325
|
-
), p.moveSync(
|
|
326
|
-
i.join(n, "organe"),
|
|
327
|
-
i.join(s, "organe")
|
|
328
|
-
);
|
|
329
|
-
},
|
|
330
|
-
structure: 1,
|
|
331
|
-
title: "Députés actifs et organes de la XVIème législature",
|
|
332
|
-
url: "https://data.assemblee-nationale.fr/static/openData/repository/16/amo/deputes_actifs_mandats_actifs_organes_divises/AMO40_deputes_actifs_mandats_actifs_organes_divises.json.zip"
|
|
333
|
-
},
|
|
334
|
-
{
|
|
335
|
-
// AMO40 (XV)
|
|
336
|
-
//
|
|
337
|
-
// Contient les députés actifs (les mêmes qu'AMO20)
|
|
338
|
-
// * avec presque tous leurs mandats
|
|
339
|
-
// * y compris les mandats achevés et ceux des législatures précédentes
|
|
340
|
-
// * y compris leurs partis politiques précédents
|
|
341
|
-
// * mais sans leur parti politique actuel (typeOrgane: "PARPOL")
|
|
342
|
-
//
|
|
343
|
-
// Contient beaucoup d'organes référencés, y compris ceux des législatures
|
|
344
|
-
// précédentes
|
|
345
|
-
// * mais il manque le xsiType des organes
|
|
346
|
-
// * ne contient pas les organes sénatoriaux
|
|
347
|
-
// * ne contient pas les ministères
|
|
348
|
-
// * ne contient pas la Présidence de la République
|
|
349
|
-
// * ne contient pas le Conseil constitutionnel
|
|
350
|
-
//
|
|
351
|
-
// Pour les acteurs, ce dépôt est un sous-ensemble strict de AMO30 :
|
|
352
|
-
// Il a moins d'acteurs et il sont moins complets.
|
|
353
|
-
//
|
|
354
|
-
// Pour les organes :
|
|
355
|
-
// Quand l'organe est aussi présent dans AMO30, il vaut mieux prendre celui
|
|
356
|
-
// d'AMO30, car il contient le xsiType (c'est la seule différence semble-t-i).
|
|
357
|
-
// Sinon, il faut le prendre seulement si on est intéressé par les législatures
|
|
358
|
-
// précédentes.
|
|
359
|
-
filename: "AMO40_deputes_actifs_mandats_actifs_organes_divises_XV.json",
|
|
360
|
-
ignoreForWeb: !0,
|
|
361
|
-
legislature: f.Quinze,
|
|
362
|
-
repairZip: (e, n) => {
|
|
363
|
-
const s = i.join(n, e.filename);
|
|
364
|
-
p.existsSync(s) && p.removeSync(s), p.mkdirSync(s), p.moveSync(
|
|
365
|
-
i.join(n, "acteur"),
|
|
366
|
-
i.join(s, "acteur")
|
|
367
|
-
), p.moveSync(
|
|
368
|
-
i.join(n, "organe"),
|
|
369
|
-
i.join(s, "organe")
|
|
370
|
-
);
|
|
371
|
-
},
|
|
372
|
-
structure: 1,
|
|
373
|
-
title: "Députés actifs et organes de la XVème législature",
|
|
374
|
-
url: "https://data.assemblee-nationale.fr/static/openData/repository/15/amo/deputes_actifs_mandats_actifs_organes_divises/AMO40_deputes_actifs_mandats_actifs_organes_divises_XV.json.zip"
|
|
375
|
-
},
|
|
376
|
-
{
|
|
377
|
-
// AMO50 (XVII)
|
|
378
|
-
//
|
|
379
|
-
// Attention, ce fichier n'est pas mis à jour régulièrement !
|
|
380
|
-
//
|
|
381
|
-
// Pour les acteurs :
|
|
382
|
-
// * c'est un sous ensemble obsolète d'AMO30
|
|
383
|
-
// * il manque les xsiType aux mandats
|
|
384
|
-
//
|
|
385
|
-
// Pour les organes :
|
|
386
|
-
// * c'est un sous ensemble obsolète d'AMO30
|
|
387
|
-
// * il manque les xsiType
|
|
388
|
-
//
|
|
389
|
-
// Ce fichier n'apporte donc absolument rien par rapport à l'AMO30,
|
|
390
|
-
// dont il est un sous ensemble obsolète.
|
|
391
|
-
filename: "AMO50_acteurs_mandats_organes_divises_XVII.json",
|
|
392
|
-
ignoreForWeb: !0,
|
|
393
|
-
legislature: f.DixSept,
|
|
394
|
-
repairZip: (e, n) => {
|
|
395
|
-
const s = i.join(n, e.filename);
|
|
396
|
-
p.existsSync(s) && p.removeSync(s), p.mkdirSync(s), p.moveSync(
|
|
397
|
-
i.join(n, "mandat"),
|
|
398
|
-
i.join(s, "mandat")
|
|
399
|
-
), p.moveSync(
|
|
400
|
-
i.join(n, "acteur"),
|
|
401
|
-
i.join(s, "acteur")
|
|
402
|
-
), p.moveSync(
|
|
403
|
-
i.join(n, "organe"),
|
|
404
|
-
i.join(s, "organe")
|
|
405
|
-
);
|
|
406
|
-
},
|
|
407
|
-
structure: 1,
|
|
408
|
-
title: "Acteurs, mandats et organes de la XVIIème législature (fichiers séparés, y compris mandats)",
|
|
409
|
-
url: "https://data.assemblee-nationale.fr/static/openData/repository/17/amo/acteurs_mandats_organes_divises/AMO50_acteurs_mandats_organes_divises.json.zip"
|
|
410
|
-
},
|
|
411
|
-
{
|
|
412
|
-
// AMO50 (XVI)
|
|
413
|
-
//
|
|
414
|
-
// Attention, ce fichier n'est pas mis à jour régulièrement !
|
|
415
|
-
//
|
|
416
|
-
// Pour les acteurs :
|
|
417
|
-
// * c'est un sous ensemble obsolète d'AMO30
|
|
418
|
-
// * il manque les xsiType aux mandats
|
|
419
|
-
//
|
|
420
|
-
// Pour les organes :
|
|
421
|
-
// * c'est un sous ensemble obsolète d'AMO30
|
|
422
|
-
// * il manque les xsiType
|
|
423
|
-
//
|
|
424
|
-
// Ce fichier n'apporte donc absolument rien par rapport à l'AMO30,
|
|
425
|
-
// dont il est un sous ensemble obsolète.
|
|
426
|
-
filename: "AMO50_acteurs_mandats_organes_divises_XVI.json",
|
|
427
|
-
ignoreForWeb: !0,
|
|
428
|
-
legislature: f.Seize,
|
|
429
|
-
repairZip: (e, n) => {
|
|
430
|
-
const s = i.join(n, e.filename);
|
|
431
|
-
p.existsSync(s) && p.removeSync(s), p.mkdirSync(s), p.moveSync(
|
|
432
|
-
i.join(n, "mandat"),
|
|
433
|
-
i.join(s, "mandat")
|
|
434
|
-
), p.moveSync(
|
|
435
|
-
i.join(n, "acteur"),
|
|
436
|
-
i.join(s, "acteur")
|
|
437
|
-
), p.moveSync(
|
|
438
|
-
i.join(n, "organe"),
|
|
439
|
-
i.join(s, "organe")
|
|
440
|
-
);
|
|
441
|
-
},
|
|
442
|
-
structure: 1,
|
|
443
|
-
title: "Acteurs, mandats et organes de la XVIème législature (fichiers séparés, y compris mandats)",
|
|
444
|
-
url: "https://data.assemblee-nationale.fr/static/openData/repository/16/amo/acteurs_mandats_organes_divises/AMO50_acteurs_mandats_organes_divises.json.zip"
|
|
445
|
-
},
|
|
446
|
-
{
|
|
447
|
-
// AMO50 (XV)
|
|
448
|
-
//
|
|
449
|
-
// Attention, ce fichier n'est pas mis à jour régulièrement !
|
|
450
|
-
//
|
|
451
|
-
// Pour les acteurs :
|
|
452
|
-
// * c'est un sous ensemble obsolète d'AMO30
|
|
453
|
-
// * il manque les xsiType aux mandats
|
|
454
|
-
//
|
|
455
|
-
// Pour les organes :
|
|
456
|
-
// * c'est un sous ensemble obsolète d'AMO30
|
|
457
|
-
// * il manque les xsiType
|
|
458
|
-
//
|
|
459
|
-
// Ce fichier n'apporte donc absolument rien par rapport à l'AMO30,
|
|
460
|
-
// dont il est un sous ensemble obsolète.
|
|
461
|
-
filename: "AMO50_acteurs_mandats_organes_divises_XV.json",
|
|
462
|
-
ignoreForWeb: !0,
|
|
463
|
-
legislature: f.Quinze,
|
|
464
|
-
repairZip: (e, n) => {
|
|
465
|
-
const s = i.join(n, e.filename);
|
|
466
|
-
p.existsSync(s) && p.removeSync(s), p.mkdirSync(s), p.moveSync(
|
|
467
|
-
i.join(n, "mandat"),
|
|
468
|
-
i.join(s, "mandat")
|
|
469
|
-
), p.moveSync(
|
|
470
|
-
i.join(n, "acteur"),
|
|
471
|
-
i.join(s, "acteur")
|
|
472
|
-
), p.moveSync(
|
|
473
|
-
i.join(n, "organe"),
|
|
474
|
-
i.join(s, "organe")
|
|
475
|
-
);
|
|
476
|
-
},
|
|
477
|
-
structure: 1,
|
|
478
|
-
title: "Acteurs, mandats et organes de la XVème législature (fichiers séparés, y compris mandats)",
|
|
479
|
-
url: "https://data.assemblee-nationale.fr/static/openData/repository/15/amo/acteurs_mandats_organes_divises/AMO50_acteurs_mandats_organes_divises_XV.json.zip"
|
|
480
|
-
}
|
|
481
|
-
],
|
|
482
|
-
agendas: [
|
|
483
|
-
{
|
|
484
|
-
filename: "Agenda_XVII.json",
|
|
485
|
-
legislature: f.DixSept,
|
|
486
|
-
repairZip: J,
|
|
487
|
-
structure: 1,
|
|
488
|
-
title: "Agenda de la XVIIème législature",
|
|
489
|
-
url: "https://data.assemblee-nationale.fr/static/openData/repository/17/vp/reunions/Agenda.json.zip"
|
|
490
|
-
},
|
|
491
|
-
{
|
|
492
|
-
filename: "Agenda_XVI.json",
|
|
493
|
-
legislature: f.Seize,
|
|
494
|
-
repairZip: J,
|
|
495
|
-
structure: 1,
|
|
496
|
-
title: "Agenda de la XVIème législature",
|
|
497
|
-
url: "https://data.assemblee-nationale.fr/static/openData/repository/16/vp/reunions/Agenda.json.zip"
|
|
498
|
-
},
|
|
499
|
-
{
|
|
500
|
-
filename: "Agenda_XV.json",
|
|
501
|
-
legislature: f.Quinze,
|
|
502
|
-
repairZip: J,
|
|
503
|
-
structure: 1,
|
|
504
|
-
title: "Agenda de la XVème législature",
|
|
505
|
-
url: "https://data.assemblee-nationale.fr/static/openData/repository/15/vp/reunions/Agenda_XV.json.zip"
|
|
506
|
-
},
|
|
507
|
-
{
|
|
508
|
-
filename: "Agenda_XIV.json",
|
|
509
|
-
legislature: f.Quatorze,
|
|
510
|
-
structure: 0,
|
|
511
|
-
title: "Agenda de la XIVème législature",
|
|
512
|
-
url: "https://data.assemblee-nationale.fr/static/openData/repository/14/vp/reunions/Agenda_XIV.json.zip"
|
|
513
|
-
}
|
|
514
|
-
],
|
|
515
|
-
amendements: [
|
|
516
|
-
{
|
|
517
|
-
filename: "Amendements_XVII.json",
|
|
518
|
-
legislature: f.DixSept,
|
|
519
|
-
repairZip: J,
|
|
520
|
-
structure: 1,
|
|
521
|
-
title: "Amendements de la XVIIème législature",
|
|
522
|
-
url: "https://data.assemblee-nationale.fr/static/openData/repository/17/loi/amendements_div_legis/Amendements.json.zip"
|
|
523
|
-
},
|
|
524
|
-
{
|
|
525
|
-
filename: "Amendements_XVI.json",
|
|
526
|
-
legislature: f.Seize,
|
|
527
|
-
repairZip: J,
|
|
528
|
-
structure: 1,
|
|
529
|
-
title: "Amendements de la XVIème législature",
|
|
530
|
-
url: "https://data.assemblee-nationale.fr/static/openData/repository/16/loi/amendements_div_legis/Amendements.json.zip"
|
|
531
|
-
},
|
|
532
|
-
{
|
|
533
|
-
filename: "Amendements_XV.json",
|
|
534
|
-
legislature: f.Quinze,
|
|
535
|
-
repairZip: J,
|
|
536
|
-
structure: 1,
|
|
537
|
-
title: "Amendements de la XVème législature",
|
|
538
|
-
url: "https://data.assemblee-nationale.fr/static/openData/repository/15/loi/amendements_legis/Amendements_XV.json.zip"
|
|
539
|
-
}
|
|
540
|
-
// {
|
|
541
|
-
// filename: "Amendements_XIV.json",
|
|
542
|
-
// ignoreForWeb: true,
|
|
543
|
-
// legislature: Legislature.Quatorze,
|
|
544
|
-
// structure: DatasetStructure.SingleFile,
|
|
545
|
-
// title: "Amendements de la XIVème législature",
|
|
546
|
-
// url:
|
|
547
|
-
// "https://data.assemblee-nationale.fr/static/openData/repository/14/loi/amendements_legis_XIV/Amendements_XIV.json.zip",
|
|
548
|
-
// },
|
|
549
|
-
],
|
|
550
|
-
dossiersLegislatifs: [
|
|
551
|
-
{
|
|
552
|
-
filename: "Dossiers_Legislatifs_XVII.json",
|
|
553
|
-
legislature: f.DixSept,
|
|
554
|
-
repairZip: J,
|
|
555
|
-
structure: 1,
|
|
556
|
-
title: "Dossiers législatifs de la XVIIème législature",
|
|
557
|
-
url: "https://data.assemblee-nationale.fr/static/openData/repository/17/loi/dossiers_legislatifs/Dossiers_Legislatifs.json.zip"
|
|
558
|
-
},
|
|
559
|
-
{
|
|
560
|
-
filename: "Dossiers_Legislatifs_XVI.json",
|
|
561
|
-
legislature: f.Seize,
|
|
562
|
-
repairZip: J,
|
|
563
|
-
structure: 1,
|
|
564
|
-
title: "Dossiers législatifs de la XVIème législature",
|
|
565
|
-
url: "https://data.assemblee-nationale.fr/static/openData/repository/16/loi/dossiers_legislatifs/Dossiers_Legislatifs.json.zip"
|
|
566
|
-
},
|
|
567
|
-
{
|
|
568
|
-
filename: "Dossiers_Legislatifs_XV.json",
|
|
569
|
-
legislature: f.Quinze,
|
|
570
|
-
repairZip: J,
|
|
571
|
-
structure: 1,
|
|
572
|
-
title: "Dossiers législatifs de la XVème législature",
|
|
573
|
-
url: "https://data.assemblee-nationale.fr/static/openData/repository/15/loi/dossiers_legislatifs/Dossiers_Legislatifs_XV.json.zip"
|
|
574
|
-
},
|
|
575
|
-
{
|
|
576
|
-
filename: "Dossiers_Legislatifs_XIV.json",
|
|
577
|
-
legislature: f.Quatorze,
|
|
578
|
-
structure: 0,
|
|
579
|
-
title: "Dossiers législatifs de la XIVème législature",
|
|
580
|
-
url: "https://data.assemblee-nationale.fr/static/openData/repository/14/loi/dossiers_legislatifs/Dossiers_Legislatifs_XIV.json.zip"
|
|
581
|
-
}
|
|
582
|
-
],
|
|
583
|
-
scrutins: [
|
|
584
|
-
{
|
|
585
|
-
filename: "Scrutins_XVII.json",
|
|
586
|
-
legislature: f.DixSept,
|
|
587
|
-
repairZip: J,
|
|
588
|
-
structure: 1,
|
|
589
|
-
title: "Scrutins de la XVIIème législature",
|
|
590
|
-
url: "https://data.assemblee-nationale.fr/static/openData/repository/17/loi/scrutins/Scrutins.json.zip"
|
|
591
|
-
},
|
|
592
|
-
{
|
|
593
|
-
filename: "Scrutins_XVI.json",
|
|
594
|
-
legislature: f.Seize,
|
|
595
|
-
repairZip: J,
|
|
596
|
-
structure: 1,
|
|
597
|
-
title: "Scrutins de la XVIème législature",
|
|
598
|
-
url: "https://data.assemblee-nationale.fr/static/openData/repository/16/loi/scrutins/Scrutins.json.zip"
|
|
599
|
-
},
|
|
600
|
-
{
|
|
601
|
-
filename: "Scrutins_XV.json",
|
|
602
|
-
legislature: f.Quinze,
|
|
603
|
-
repairZip: J,
|
|
604
|
-
structure: 1,
|
|
605
|
-
title: "Scrutins de la XVème législature",
|
|
606
|
-
url: "https://data.assemblee-nationale.fr/static/openData/repository/15/loi/scrutins/Scrutins_XV.json.zip"
|
|
607
|
-
},
|
|
608
|
-
{
|
|
609
|
-
filename: "Scrutins_XIV.json",
|
|
610
|
-
legislature: f.Quatorze,
|
|
611
|
-
structure: 0,
|
|
612
|
-
title: "Scrutins de la XIVème législature",
|
|
613
|
-
url: "https://data.assemblee-nationale.fr/static/openData/repository/14/loi/scrutins/Scrutins_XIV.json.zip"
|
|
614
|
-
}
|
|
615
|
-
],
|
|
616
|
-
questions: [
|
|
617
|
-
{
|
|
618
|
-
filename: "Questions_ecrites_XVII.json",
|
|
619
|
-
legislature: f.DixSept,
|
|
620
|
-
repairZip: J,
|
|
621
|
-
structure: 1,
|
|
622
|
-
title: "Questions écrites de la XVIIème législature",
|
|
623
|
-
url: "https://data.assemblee-nationale.fr/static/openData/repository/17/questions/questions_ecrites/Questions_ecrites.json.zip"
|
|
624
|
-
},
|
|
625
|
-
{
|
|
626
|
-
filename: "Questions_ecrites_XVI.json",
|
|
627
|
-
legislature: f.Seize,
|
|
628
|
-
repairZip: J,
|
|
629
|
-
structure: 1,
|
|
630
|
-
title: "Questions écrites de la XVIème législature",
|
|
631
|
-
url: "https://data.assemblee-nationale.fr/static/openData/repository/16/questions/questions_ecrites/Questions_ecrites.json.zip"
|
|
632
|
-
},
|
|
633
|
-
{
|
|
634
|
-
filename: "Questions_gouvernement_XVII.json",
|
|
635
|
-
legislature: f.DixSept,
|
|
636
|
-
repairZip: J,
|
|
637
|
-
structure: 1,
|
|
638
|
-
title: "Questions au gouvernement de la XVIIème législature",
|
|
639
|
-
url: "https://data.assemblee-nationale.fr/static/openData/repository/17/questions/questions_gouvernement/Questions_gouvernement.json.zip"
|
|
640
|
-
},
|
|
641
|
-
{
|
|
642
|
-
filename: "Questions_gouvernement_XVI.json",
|
|
643
|
-
legislature: f.Seize,
|
|
644
|
-
repairZip: J,
|
|
645
|
-
structure: 1,
|
|
646
|
-
title: "Questions au gouvernement de la XVIème législature",
|
|
647
|
-
url: "https://data.assemblee-nationale.fr/static/openData/repository/16/questions/questions_gouvernement/Questions_gouvernement.json.zip"
|
|
648
|
-
},
|
|
649
|
-
{
|
|
650
|
-
filename: "Questions_orales_XVII.json",
|
|
651
|
-
legislature: f.DixSept,
|
|
652
|
-
repairZip: J,
|
|
653
|
-
structure: 1,
|
|
654
|
-
title: "Questions orales sans débats de la XVIIème législature",
|
|
655
|
-
url: "https://data.assemblee-nationale.fr/static/openData/repository/17/questions/questions_orales_sans_debat/Questions_orales_sans_debat.json.zip"
|
|
656
|
-
},
|
|
657
|
-
{
|
|
658
|
-
filename: "Questions_orales_XVI.json",
|
|
659
|
-
legislature: f.Seize,
|
|
660
|
-
repairZip: J,
|
|
661
|
-
structure: 1,
|
|
662
|
-
title: "Questions orales sans débats de la XVIème législature",
|
|
663
|
-
url: "https://data.assemblee-nationale.fr/static/openData/repository/16/questions/questions_orales_sans_debat/Questions_orales_sans_debat.json.zip"
|
|
664
|
-
}
|
|
665
|
-
],
|
|
666
|
-
comptesRendusSeances: [
|
|
667
|
-
{
|
|
668
|
-
filename: "Comptes_Rendus_Seances_XVII.xml",
|
|
669
|
-
legislature: f.DixSept,
|
|
670
|
-
repairZip: (e, n) => {
|
|
671
|
-
const s = i.join(n, e.filename);
|
|
672
|
-
p.existsSync(s) && p.removeSync(s), p.moveSync(i.join(n, "xml"), s);
|
|
673
|
-
},
|
|
674
|
-
structure: 1,
|
|
675
|
-
title: "Comptes rendus des séances publiques de la XVIIème législature",
|
|
676
|
-
url: "https://data.assemblee-nationale.fr/static/openData/repository/17/vp/syceronbrut/syseron.xml.zip"
|
|
677
|
-
},
|
|
678
|
-
{
|
|
679
|
-
filename: "Comptes_Rendus_Seances_XVI.xml",
|
|
680
|
-
legislature: f.Seize,
|
|
681
|
-
repairZip: (e, n) => {
|
|
682
|
-
const s = i.join(n, e.filename);
|
|
683
|
-
p.existsSync(s) && p.removeSync(s), p.moveSync(i.join(n, "xml"), s);
|
|
684
|
-
},
|
|
685
|
-
structure: 1,
|
|
686
|
-
title: "Comptes rendus des séances publiques de la XVIème législature",
|
|
687
|
-
url: "https://data.assemblee-nationale.fr/static/openData/repository/16/vp/syceronbrut/syseron.xml.zip"
|
|
688
|
-
}
|
|
689
|
-
]
|
|
690
|
-
};
|
|
691
|
-
function* k(e, n = []) {
|
|
692
|
-
const s = i.join(e, ...n);
|
|
693
|
-
if (p.existsSync(s))
|
|
694
|
-
for (const a of p.readdirSync(s)) {
|
|
695
|
-
if (a[0] === ".")
|
|
696
|
-
continue;
|
|
697
|
-
const y = i.join(s, a), _ = [...n, a];
|
|
698
|
-
p.statSync(y).isDirectory() ? yield* k(e, _) : yield _;
|
|
699
|
-
}
|
|
700
|
-
}
|
|
701
|
-
var ze = /* @__PURE__ */ ((e) => (e.M = "M.", e.Mme = "Mme", e))(ze || {}), We = /* @__PURE__ */ ((e) => (e.MandatAvecSuppleantType = "MandatAvecSuppleant_Type", e.MandatMissionType = "MandatMission_Type", e.MandatParlementaireType = "MandatParlementaire_type", e.MandatSimpleType = "MandatSimple_Type", e))(We || {}), Ze = /* @__PURE__ */ ((e) => (e.CollectivitésDOutreMerEtNouvelleCalédonie = "Collectivités d'outre-mer et Nouvelle-Calédonie", e.Dom = "Dom", e.FrançaisÉtablisHorsDeFrance = "Français établis hors de France", e.Métropolitain = "Métropolitain", e))(Ze || {}), He = /* @__PURE__ */ ((e) => (e.AgriculteursExploitants = "Agriculteurs exploitants", e.ArtisansCommerçantsChefsDEntreprises = "Artisans, commerçants, chefs d'entreprises", e.ArtisansCommerçantsEtChefsDEntrepriseAncien = "Artisans, commerçants et chefs d'entreprise", e.AutresPersonnesSansActivitéProfessionnelle = "Autres personnes sans activité professionnelle", e.CadresEtProfessionsIntellectuellesSupérieures = "Cadres et professions intellectuelles supérieures", e.Employés = "Employés", e.Ouvriers = "Ouvriers", e.ProfessionsIntermédiaires = "Professions intermédiaires", e.ProfessionsIntermédiairesAncien = "Professions Intermédiaires", e.Retraités = "Retraités", e.SansProfessionDéclarée = "Sans profession déclarée", e))(He || {}), Ke = /* @__PURE__ */ ((e) => (e.GroupePolitiqueType = "GroupePolitique_type", e.OrganeCirconscriptionType = "OrganeCirconscription_type", e.OrganeExterneType = "OrganeExterne_Type", e.OrganeExtraParlementaireType = "OrganeExtraParlementaire_type", e.OrganeParlementaireInternational = "OrganeParlementaireInternational", e.OrganeParlementaireType = "OrganeParlementaire_Type", e))(Ke || {}), Ye = /* @__PURE__ */ ((e) => (e.H = "H", e.M = "M", e.O = "O", e.T = "T", e))(Ye || {}), ke = /* @__PURE__ */ ((e) => (e.Majoritaire = "Majoritaire", e.Minoritaire = "Minoritaire", e.Opposition = "Opposition", e))(ke || {}), en = /* @__PURE__ */ ((e) => (e.AssembléeConsultativeProvisoire = "Assemblée consultative provisoire", e.AssembléesNationalesConstituantes = "Assemblées nationales constituantes", e.The3ÈmeRépublique = "3ème République", e.The4ÈmeRépublique = "4ème République", e.The5ÈmeRépublique = "5ème République", e))(en || {});
|
|
702
|
-
let ve = class {
|
|
703
|
-
static toActeursEtOrganes(n) {
|
|
704
|
-
return be(JSON.parse(n), O("ActeursEtOrganes"));
|
|
705
|
-
}
|
|
706
|
-
static acteursEtOrganesToJson(n) {
|
|
707
|
-
return JSON.stringify(Ee(n, O("ActeursEtOrganes")), null, 2);
|
|
708
|
-
}
|
|
709
|
-
static toActeur(n) {
|
|
710
|
-
return be(JSON.parse(n), O("Acteur"));
|
|
711
|
-
}
|
|
712
|
-
static acteurToJson(n) {
|
|
713
|
-
return JSON.stringify(Ee(n, O("Acteur")), null, 2);
|
|
714
|
-
}
|
|
715
|
-
static toOrgane(n) {
|
|
716
|
-
return be(JSON.parse(n), O("Organe"));
|
|
717
|
-
}
|
|
718
|
-
static organeToJson(n) {
|
|
719
|
-
return JSON.stringify(Ee(n, O("Organe")), null, 2);
|
|
720
|
-
}
|
|
721
|
-
};
|
|
722
|
-
function oe(e, n, s = "") {
|
|
723
|
-
throw Error(
|
|
724
|
-
s ? `Invalid value for key "${s}". Expected type ${JSON.stringify(
|
|
725
|
-
e
|
|
726
|
-
)} but got ${JSON.stringify(n)}` : `Invalid value ${JSON.stringify(n)} for type ${JSON.stringify(e)}`
|
|
727
|
-
);
|
|
728
|
-
}
|
|
729
|
-
function nn(e) {
|
|
730
|
-
if (e.jsonToJS === void 0) {
|
|
731
|
-
const n = {};
|
|
732
|
-
e.props.forEach((s) => n[s.json] = { key: s.js, typ: s.typ }), e.jsonToJS = n;
|
|
733
|
-
}
|
|
734
|
-
return e.jsonToJS;
|
|
735
|
-
}
|
|
736
|
-
function sn(e) {
|
|
737
|
-
if (e.jsToJSON === void 0) {
|
|
738
|
-
const n = {};
|
|
739
|
-
e.props.forEach((s) => n[s.js] = { key: s.json, typ: s.typ }), e.jsToJSON = n;
|
|
740
|
-
}
|
|
741
|
-
return e.jsToJSON;
|
|
742
|
-
}
|
|
743
|
-
function le(e, n, s, a = "") {
|
|
744
|
-
function y(t, o) {
|
|
745
|
-
return typeof t == typeof o ? o : oe(t, o, a);
|
|
746
|
-
}
|
|
747
|
-
function _(t, o) {
|
|
748
|
-
const u = t.length;
|
|
749
|
-
for (let S = 0; S < u; S++) {
|
|
750
|
-
const m = t[S];
|
|
751
|
-
try {
|
|
752
|
-
return le(o, m, s);
|
|
753
|
-
} catch {
|
|
754
|
-
}
|
|
755
|
-
}
|
|
756
|
-
return oe(t, o);
|
|
757
|
-
}
|
|
758
|
-
function R(t, o) {
|
|
759
|
-
return t.indexOf(o) !== -1 ? o : oe(t, o);
|
|
760
|
-
}
|
|
761
|
-
function I(t, o) {
|
|
762
|
-
return Array.isArray(o) ? o.map((u) => le(u, t, s)) : oe("array", o);
|
|
763
|
-
}
|
|
764
|
-
function T(t) {
|
|
765
|
-
if (t === null)
|
|
766
|
-
return null;
|
|
767
|
-
const o = new Date(t);
|
|
768
|
-
return isNaN(o.valueOf()) ? oe("Date", t) : o;
|
|
769
|
-
}
|
|
770
|
-
function h(t, o, u) {
|
|
771
|
-
if (u === null || typeof u != "object" || Array.isArray(u))
|
|
772
|
-
return oe("object", u);
|
|
773
|
-
const S = {};
|
|
774
|
-
return Object.getOwnPropertyNames(t).forEach((m) => {
|
|
775
|
-
const b = t[m], x = Object.prototype.hasOwnProperty.call(u, m) ? u[m] : void 0;
|
|
776
|
-
S[b.key] = le(x, b.typ, s, b.key);
|
|
777
|
-
}), Object.getOwnPropertyNames(u).forEach((m) => {
|
|
778
|
-
Object.prototype.hasOwnProperty.call(t, m) || (S[m] = le(u[m], o, s, m));
|
|
779
|
-
}), S;
|
|
780
|
-
}
|
|
781
|
-
if (n === "any") return e;
|
|
782
|
-
if (n === null)
|
|
783
|
-
return e === null ? e : oe(n, e);
|
|
784
|
-
for (; typeof n == "object" && n.ref !== void 0; )
|
|
785
|
-
n = tn[n.ref];
|
|
786
|
-
return Array.isArray(n) ? R(n, e) : typeof n == "object" ? n.hasOwnProperty("unionMembers") ? _(n.unionMembers, e) : n.hasOwnProperty("arrayItems") ? I(n.arrayItems, e) : n.hasOwnProperty("props") ? h(s(n), n.additional, e) : oe(n, e) : n === Date && typeof e != "number" ? T(e) : y(n, e);
|
|
787
|
-
}
|
|
788
|
-
function be(e, n) {
|
|
789
|
-
return le(e, n, nn);
|
|
790
|
-
}
|
|
791
|
-
function Ee(e, n) {
|
|
792
|
-
return le(e, n, sn);
|
|
793
|
-
}
|
|
794
|
-
function ie(e) {
|
|
795
|
-
return { arrayItems: e };
|
|
796
|
-
}
|
|
797
|
-
function j(...e) {
|
|
798
|
-
return { unionMembers: e };
|
|
799
|
-
}
|
|
800
|
-
function L(e, n) {
|
|
801
|
-
return { props: e, additional: n };
|
|
802
|
-
}
|
|
803
|
-
function O(e) {
|
|
804
|
-
return { ref: e };
|
|
805
|
-
}
|
|
806
|
-
const tn = {
|
|
807
|
-
ActeursEtOrganes: L(
|
|
808
|
-
[
|
|
809
|
-
{ json: "organes", js: "organes", typ: ie(O("Organe")) },
|
|
810
|
-
{ json: "acteurs", js: "acteurs", typ: ie(O("Acteur")) }
|
|
811
|
-
],
|
|
812
|
-
!1
|
|
813
|
-
),
|
|
814
|
-
Acteur: L(
|
|
815
|
-
[
|
|
816
|
-
{ json: "schemaVersion", js: "schemaVersion", typ: j(void 0, "") },
|
|
817
|
-
{ json: "uid", js: "uid", typ: "" },
|
|
818
|
-
{ json: "etatCivil", js: "etatCivil", typ: O("EtatCivil") },
|
|
819
|
-
{
|
|
820
|
-
json: "profession",
|
|
821
|
-
js: "profession",
|
|
822
|
-
typ: j(void 0, O("Profession"))
|
|
823
|
-
},
|
|
824
|
-
{ json: "uriHatvp", js: "uriHatvp", typ: j(void 0, "") },
|
|
825
|
-
{
|
|
826
|
-
json: "adresses",
|
|
827
|
-
js: "adresses",
|
|
828
|
-
typ: j(void 0, ie(j(O("AdresseElectronique"), O("AdressePostale"))))
|
|
829
|
-
},
|
|
830
|
-
{ json: "mandats", js: "mandats", typ: j(void 0, ie(O("Mandat"))) },
|
|
831
|
-
{ json: "photo", js: "photo", typ: j(void 0, O("Photo")) },
|
|
832
|
-
{ json: "deports", js: "deports", typ: j(void 0, ie(O("Deport"))) }
|
|
833
|
-
],
|
|
834
|
-
!1
|
|
835
|
-
),
|
|
836
|
-
AdresseElectronique: L(
|
|
837
|
-
[
|
|
838
|
-
{ json: "xsiType", js: "xsiType", typ: "" },
|
|
839
|
-
{ json: "uid", js: "uid", typ: "" },
|
|
840
|
-
{ json: "type", js: "type", typ: "" },
|
|
841
|
-
{ json: "typeLibelle", js: "typeLibelle", typ: "" },
|
|
842
|
-
{ json: "poids", js: "poids", typ: j(void 0, "") },
|
|
843
|
-
{
|
|
844
|
-
json: "adresseDeRattachement",
|
|
845
|
-
js: "adresseDeRattachement",
|
|
846
|
-
typ: j(void 0, "")
|
|
847
|
-
},
|
|
848
|
-
{ json: "valElec", js: "valElec", typ: j(void 0, "") }
|
|
849
|
-
],
|
|
850
|
-
!1
|
|
851
|
-
),
|
|
852
|
-
AdressePostale: L(
|
|
853
|
-
[
|
|
854
|
-
{ json: "xsiType", js: "xsiType", typ: "" },
|
|
855
|
-
{ json: "uid", js: "uid", typ: "" },
|
|
856
|
-
{ json: "type", js: "type", typ: "" },
|
|
857
|
-
{ json: "typeLibelle", js: "typeLibelle", typ: "" },
|
|
858
|
-
{ json: "poids", js: "poids", typ: j(void 0, "") },
|
|
859
|
-
{ json: "intitule", js: "intitule", typ: j(void 0, "") },
|
|
860
|
-
{ json: "numeroRue", js: "numeroRue", typ: j(void 0, "") },
|
|
861
|
-
{ json: "nomRue", js: "nomRue", typ: j(void 0, "") },
|
|
862
|
-
{
|
|
863
|
-
json: "complementAdresse",
|
|
864
|
-
js: "complementAdresse",
|
|
865
|
-
typ: j(void 0, "")
|
|
866
|
-
},
|
|
867
|
-
{ json: "codePostal", js: "codePostal", typ: j(void 0, "") },
|
|
868
|
-
{ json: "ville", js: "ville", typ: j(void 0, "") }
|
|
869
|
-
],
|
|
870
|
-
!1
|
|
871
|
-
),
|
|
872
|
-
EtatCivil: L(
|
|
873
|
-
[
|
|
874
|
-
{ json: "ident", js: "ident", typ: O("Ident") },
|
|
875
|
-
{ json: "infoNaissance", js: "infoNaissance", typ: O("InfoNaissance") },
|
|
876
|
-
{ json: "dateDeces", js: "dateDeces", typ: j(void 0, Date) }
|
|
877
|
-
],
|
|
878
|
-
!1
|
|
879
|
-
),
|
|
880
|
-
Ident: L(
|
|
881
|
-
[
|
|
882
|
-
{ json: "civ", js: "civ", typ: O("Civ") },
|
|
883
|
-
{ json: "prenom", js: "prenom", typ: "" },
|
|
884
|
-
{ json: "nom", js: "nom", typ: "" },
|
|
885
|
-
{ json: "alpha", js: "alpha", typ: "" },
|
|
886
|
-
{ json: "trigramme", js: "trigramme", typ: j(void 0, "") }
|
|
887
|
-
],
|
|
888
|
-
!1
|
|
889
|
-
),
|
|
890
|
-
InfoNaissance: L(
|
|
891
|
-
[
|
|
892
|
-
{ json: "dateNais", js: "dateNais", typ: j(void 0, Date) },
|
|
893
|
-
{ json: "villeNais", js: "villeNais", typ: j(void 0, "") },
|
|
894
|
-
{ json: "depNais", js: "depNais", typ: j(void 0, "") },
|
|
895
|
-
{ json: "paysNais", js: "paysNais", typ: j(void 0, "") }
|
|
896
|
-
],
|
|
897
|
-
!1
|
|
898
|
-
),
|
|
899
|
-
Mandat: L(
|
|
900
|
-
[
|
|
901
|
-
{ json: "xsiType", js: "xsiType", typ: j(void 0, O("TypeMandat")) },
|
|
902
|
-
{ json: "uid", js: "uid", typ: "" },
|
|
903
|
-
{ json: "acteurRef", js: "acteurRef", typ: "" },
|
|
904
|
-
{ json: "legislature", js: "legislature", typ: j(void 0, "") },
|
|
905
|
-
{ json: "typeOrgane", js: "typeOrgane", typ: O("CodeTypeOrgane") },
|
|
906
|
-
{ json: "dateDebut", js: "dateDebut", typ: Date },
|
|
907
|
-
{
|
|
908
|
-
json: "datePublication",
|
|
909
|
-
js: "datePublication",
|
|
910
|
-
typ: j(void 0, Date)
|
|
911
|
-
},
|
|
912
|
-
{ json: "dateFin", js: "dateFin", typ: j(void 0, Date) },
|
|
913
|
-
{ json: "preseance", js: "preseance", typ: j(void 0, "") },
|
|
914
|
-
{ json: "nominPrincipale", js: "nominPrincipale", typ: "" },
|
|
915
|
-
{ json: "infosQualite", js: "infosQualite", typ: O("InfosQualite") },
|
|
916
|
-
{ json: "organesRefs", js: "organesRefs", typ: ie("") },
|
|
917
|
-
{ json: "suppleant", js: "suppleant", typ: j(void 0, O("Suppleant")) },
|
|
918
|
-
{ json: "election", js: "election", typ: j(void 0, O("Election")) },
|
|
919
|
-
{ json: "mandature", js: "mandature", typ: j(void 0, O("Mandature")) },
|
|
920
|
-
{
|
|
921
|
-
json: "collaborateurs",
|
|
922
|
-
js: "collaborateurs",
|
|
923
|
-
typ: j(void 0, ie(O("Collaborateur")))
|
|
924
|
-
},
|
|
925
|
-
{ json: "libelle", js: "libelle", typ: j(void 0, "") },
|
|
926
|
-
{
|
|
927
|
-
json: "missionSuivanteRef",
|
|
928
|
-
js: "missionSuivanteRef",
|
|
929
|
-
typ: j(void 0, "")
|
|
930
|
-
},
|
|
931
|
-
{
|
|
932
|
-
json: "missionPrecedenteRef",
|
|
933
|
-
js: "missionPrecedenteRef",
|
|
934
|
-
typ: j(void 0, "")
|
|
935
|
-
}
|
|
936
|
-
],
|
|
937
|
-
!1
|
|
938
|
-
),
|
|
939
|
-
Collaborateur: L(
|
|
940
|
-
[
|
|
941
|
-
{ json: "qualite", js: "qualite", typ: j(void 0, O("Civ")) },
|
|
942
|
-
{ json: "prenom", js: "prenom", typ: "" },
|
|
943
|
-
{ json: "nom", js: "nom", typ: "" }
|
|
944
|
-
],
|
|
945
|
-
!1
|
|
946
|
-
),
|
|
947
|
-
Election: L(
|
|
948
|
-
[
|
|
949
|
-
{ json: "lieu", js: "lieu", typ: O("Lieu") },
|
|
950
|
-
{ json: "causeMandat", js: "causeMandat", typ: j(void 0, "") },
|
|
951
|
-
{
|
|
952
|
-
json: "refCirconscription",
|
|
953
|
-
js: "refCirconscription",
|
|
954
|
-
typ: j(void 0, "")
|
|
955
|
-
}
|
|
956
|
-
],
|
|
957
|
-
!1
|
|
958
|
-
),
|
|
959
|
-
Lieu: L(
|
|
960
|
-
[
|
|
961
|
-
{ json: "region", js: "region", typ: j(void 0, "") },
|
|
962
|
-
{
|
|
963
|
-
json: "regionType",
|
|
964
|
-
js: "regionType",
|
|
965
|
-
typ: j(void 0, O("RegionType"))
|
|
966
|
-
},
|
|
967
|
-
{ json: "departement", js: "departement", typ: j(void 0, "") },
|
|
968
|
-
{ json: "numDepartement", js: "numDepartement", typ: j(void 0, "") },
|
|
969
|
-
{ json: "numCirco", js: "numCirco", typ: j(void 0, "") }
|
|
970
|
-
],
|
|
971
|
-
!1
|
|
972
|
-
),
|
|
973
|
-
InfosQualite: L(
|
|
974
|
-
[
|
|
975
|
-
{ json: "codeQualite", js: "codeQualite", typ: j(void 0, "") },
|
|
976
|
-
{ json: "libQualite", js: "libQualite", typ: "" },
|
|
977
|
-
{ json: "libQualiteSex", js: "libQualiteSex", typ: j(void 0, "") }
|
|
978
|
-
],
|
|
979
|
-
!1
|
|
980
|
-
),
|
|
981
|
-
Mandature: L(
|
|
982
|
-
[
|
|
983
|
-
{
|
|
984
|
-
json: "datePriseFonction",
|
|
985
|
-
js: "datePriseFonction",
|
|
986
|
-
typ: j(void 0, Date)
|
|
987
|
-
},
|
|
988
|
-
{ json: "causeFin", js: "causeFin", typ: j(void 0, "") },
|
|
989
|
-
{
|
|
990
|
-
json: "premiereElection",
|
|
991
|
-
js: "premiereElection",
|
|
992
|
-
typ: j(void 0, "")
|
|
993
|
-
},
|
|
994
|
-
{ json: "placeHemicycle", js: "placeHemicycle", typ: j(void 0, "") },
|
|
995
|
-
{
|
|
996
|
-
json: "mandatRemplaceRef",
|
|
997
|
-
js: "mandatRemplaceRef",
|
|
998
|
-
typ: j(void 0, "")
|
|
999
|
-
},
|
|
1000
|
-
{ json: "matriculeVote", js: "matriculeVote", typ: j(void 0, "") }
|
|
1001
|
-
],
|
|
1002
|
-
!1
|
|
1003
|
-
),
|
|
1004
|
-
Suppleant: L(
|
|
1005
|
-
[
|
|
1006
|
-
{ json: "dateDebut", js: "dateDebut", typ: Date },
|
|
1007
|
-
{ json: "dateFin", js: "dateFin", typ: j(void 0, Date) },
|
|
1008
|
-
{ json: "suppleantRef", js: "suppleantRef", typ: "" }
|
|
1009
|
-
],
|
|
1010
|
-
!1
|
|
1011
|
-
),
|
|
1012
|
-
Profession: L(
|
|
1013
|
-
[
|
|
1014
|
-
{ json: "libelleCourant", js: "libelleCourant", typ: j(void 0, "") },
|
|
1015
|
-
{ json: "socProcInsee", js: "socProcInsee", typ: O("SocProcInsee") }
|
|
1016
|
-
],
|
|
1017
|
-
!1
|
|
1018
|
-
),
|
|
1019
|
-
SocProcInsee: L(
|
|
1020
|
-
[
|
|
1021
|
-
{ json: "catSocPro", js: "catSocPro", typ: j(void 0, "") },
|
|
1022
|
-
{ json: "famSocPro", js: "famSocPro", typ: j(void 0, O("FamSocPro")) }
|
|
1023
|
-
],
|
|
1024
|
-
!1
|
|
1025
|
-
),
|
|
1026
|
-
Deport: L(
|
|
1027
|
-
[
|
|
1028
|
-
{ json: "uid", js: "uid", typ: "" },
|
|
1029
|
-
{ json: "chronotag", js: "chronotag", typ: "" },
|
|
1030
|
-
{ json: "legislature", js: "legislature", typ: "" },
|
|
1031
|
-
{ json: "refActeur", js: "refActeur", typ: "" },
|
|
1032
|
-
{ json: "dateCreation", js: "dateCreation", typ: Date },
|
|
1033
|
-
{ json: "datePublication", js: "datePublication", typ: Date },
|
|
1034
|
-
{ json: "portee", js: "portee", typ: O("CodeEtLibelle") },
|
|
1035
|
-
{ json: "lecture", js: "lecture", typ: O("CodeEtLibelle") },
|
|
1036
|
-
{ json: "instance", js: "instance", typ: O("CodeEtLibelle") },
|
|
1037
|
-
{ json: "cible", js: "cible", typ: O("Cible") },
|
|
1038
|
-
{ json: "explication", js: "explication", typ: j(void 0, "") }
|
|
1039
|
-
],
|
|
1040
|
-
!1
|
|
1041
|
-
),
|
|
1042
|
-
Cible: L(
|
|
1043
|
-
[
|
|
1044
|
-
{ json: "type", js: "type", typ: O("CodeEtLibelle") },
|
|
1045
|
-
{ json: "referenceTextuelle", js: "referenceTextuelle", typ: "" }
|
|
1046
|
-
],
|
|
1047
|
-
!1
|
|
1048
|
-
),
|
|
1049
|
-
CodeEtLibelle: L(
|
|
1050
|
-
[
|
|
1051
|
-
{ json: "code", js: "code", typ: "" },
|
|
1052
|
-
{ json: "libelle", js: "libelle", typ: "" }
|
|
1053
|
-
],
|
|
1054
|
-
!1
|
|
1055
|
-
),
|
|
1056
|
-
Organe: L(
|
|
1057
|
-
[
|
|
1058
|
-
{ json: "schemaVersion", js: "schemaVersion", typ: j(void 0, "") },
|
|
1059
|
-
{ json: "xsiType", js: "xsiType", typ: j(void 0, O("TypeOrgane")) },
|
|
1060
|
-
{ json: "uid", js: "uid", typ: "" },
|
|
1061
|
-
{ json: "codeType", js: "codeType", typ: O("CodeTypeOrgane") },
|
|
1062
|
-
{ json: "libelle", js: "libelle", typ: "" },
|
|
1063
|
-
{ json: "libelleEdition", js: "libelleEdition", typ: j(void 0, "") },
|
|
1064
|
-
{ json: "libelleAbrege", js: "libelleAbrege", typ: "" },
|
|
1065
|
-
{ json: "libelleAbrev", js: "libelleAbrev", typ: "" },
|
|
1066
|
-
{ json: "viMoDe", js: "viMoDe", typ: O("ViMoDe") },
|
|
1067
|
-
{
|
|
1068
|
-
json: "organeParentRef",
|
|
1069
|
-
js: "organeParentRef",
|
|
1070
|
-
typ: j(void 0, "")
|
|
1071
|
-
},
|
|
1072
|
-
{
|
|
1073
|
-
json: "organePrecedentRef",
|
|
1074
|
-
js: "organePrecedentRef",
|
|
1075
|
-
typ: j(void 0, "")
|
|
1076
|
-
},
|
|
1077
|
-
{ json: "regime", js: "regime", typ: j(void 0, O("Regime")) },
|
|
1078
|
-
{
|
|
1079
|
-
json: "legislature",
|
|
1080
|
-
js: "legislature",
|
|
1081
|
-
typ: j(void 0, "")
|
|
1082
|
-
},
|
|
1083
|
-
{
|
|
1084
|
-
json: "secretariat",
|
|
1085
|
-
js: "secretariat",
|
|
1086
|
-
typ: j(void 0, O("Secretariat"))
|
|
1087
|
-
},
|
|
1088
|
-
{ json: "numero", js: "numero", typ: j(void 0, "") },
|
|
1089
|
-
{ json: "lieu", js: "lieu", typ: j(void 0, O("OrganeLieu")) },
|
|
1090
|
-
{
|
|
1091
|
-
json: "regimeJuridique",
|
|
1092
|
-
js: "regimeJuridique",
|
|
1093
|
-
typ: j(void 0, "")
|
|
1094
|
-
},
|
|
1095
|
-
{
|
|
1096
|
-
json: "siteInternet",
|
|
1097
|
-
js: "siteInternet",
|
|
1098
|
-
typ: j(void 0, "")
|
|
1099
|
-
},
|
|
1100
|
-
{
|
|
1101
|
-
json: "nombreReunionsAnnuelles",
|
|
1102
|
-
js: "nombreReunionsAnnuelles",
|
|
1103
|
-
typ: j(void 0, "")
|
|
1104
|
-
},
|
|
1105
|
-
{
|
|
1106
|
-
json: "positionPolitique",
|
|
1107
|
-
js: "positionPolitique",
|
|
1108
|
-
typ: j(void 0, O("PositionPolitique"))
|
|
1109
|
-
},
|
|
1110
|
-
{ json: "preseance", js: "preseance", typ: j(void 0, "") },
|
|
1111
|
-
{ json: "couleurAssociee", js: "couleurAssociee", typ: j(void 0, "") },
|
|
1112
|
-
{
|
|
1113
|
-
json: "listePays",
|
|
1114
|
-
js: "listePays",
|
|
1115
|
-
typ: j(void 0, ie(""))
|
|
1116
|
-
}
|
|
1117
|
-
],
|
|
1118
|
-
!1
|
|
1119
|
-
),
|
|
1120
|
-
OrganeLieu: L(
|
|
1121
|
-
[
|
|
1122
|
-
{ json: "region", js: "region", typ: O("Region") },
|
|
1123
|
-
{ json: "departement", js: "departement", typ: O("Departement") }
|
|
1124
|
-
],
|
|
1125
|
-
!1
|
|
1126
|
-
),
|
|
1127
|
-
Departement: L(
|
|
1128
|
-
[
|
|
1129
|
-
{
|
|
1130
|
-
json: "codeNatureDep",
|
|
1131
|
-
js: "codeNatureDep",
|
|
1132
|
-
typ: j(void 0, O("CodeNatureDep"))
|
|
1133
|
-
},
|
|
1134
|
-
{ json: "code", js: "code", typ: j(void 0, "") },
|
|
1135
|
-
{ json: "libelle", js: "libelle", typ: j(void 0, "") }
|
|
1136
|
-
],
|
|
1137
|
-
!1
|
|
1138
|
-
),
|
|
1139
|
-
Region: L(
|
|
1140
|
-
[
|
|
1141
|
-
{ json: "type", js: "type", typ: j(void 0, O("RegionType")) },
|
|
1142
|
-
{ json: "libelle", js: "libelle", typ: j(void 0, "") }
|
|
1143
|
-
],
|
|
1144
|
-
!1
|
|
1145
|
-
),
|
|
1146
|
-
Secretariat: L(
|
|
1147
|
-
[
|
|
1148
|
-
{ json: "secretaire01", js: "secretaire01", typ: j(void 0, "") },
|
|
1149
|
-
{ json: "secretaire02", js: "secretaire02", typ: j(void 0, "") }
|
|
1150
|
-
],
|
|
1151
|
-
!1
|
|
1152
|
-
),
|
|
1153
|
-
ViMoDe: L(
|
|
1154
|
-
[
|
|
1155
|
-
{ json: "dateDebut", js: "dateDebut", typ: j(void 0, Date) },
|
|
1156
|
-
{ json: "dateAgrement", js: "dateAgrement", typ: j(void 0, Date) },
|
|
1157
|
-
{ json: "dateFin", js: "dateFin", typ: j(void 0, Date) }
|
|
1158
|
-
],
|
|
1159
|
-
!1
|
|
1160
|
-
),
|
|
1161
|
-
Photo: L(
|
|
1162
|
-
[
|
|
1163
|
-
{ json: "chemin", js: "chemin", typ: "" },
|
|
1164
|
-
{ json: "cheminMosaique", js: "cheminMosaique", typ: "" },
|
|
1165
|
-
{ json: "hauteur", js: "hauteur", typ: 0 },
|
|
1166
|
-
{ json: "largeur", js: "largeur", typ: 0 },
|
|
1167
|
-
{ json: "xMosaique", js: "xMosaique", typ: 0 },
|
|
1168
|
-
{ json: "yMosaique", js: "yMosaique", typ: 0 }
|
|
1169
|
-
],
|
|
1170
|
-
!1
|
|
1171
|
-
),
|
|
1172
|
-
Civ: ["M.", "Mme"],
|
|
1173
|
-
TypeMandat: [
|
|
1174
|
-
"MandatAvecSuppleant_Type",
|
|
1175
|
-
"MandatMission_Type",
|
|
1176
|
-
"MandatParlementaire_type",
|
|
1177
|
-
"MandatSimple_Type"
|
|
1178
|
-
],
|
|
1179
|
-
RegionType: [
|
|
1180
|
-
"Collectivités d'outre-mer et Nouvelle-Calédonie",
|
|
1181
|
-
"Dom",
|
|
1182
|
-
"Français établis hors de France",
|
|
1183
|
-
"Métropolitain"
|
|
1184
|
-
],
|
|
1185
|
-
CodeTypeOrgane: Object.values(Be),
|
|
1186
|
-
FamSocPro: [
|
|
1187
|
-
"Agriculteurs exploitants",
|
|
1188
|
-
"Artisans, commerçants et chefs d'entreprise",
|
|
1189
|
-
"Artisans, commerçants, chefs d'entreprises",
|
|
1190
|
-
"Autres personnes sans activité professionnelle",
|
|
1191
|
-
"Cadres et professions intellectuelles supérieures",
|
|
1192
|
-
"Employés",
|
|
1193
|
-
"Ouvriers",
|
|
1194
|
-
"Professions Intermédiaires",
|
|
1195
|
-
"Professions intermédiaires",
|
|
1196
|
-
"Retraités",
|
|
1197
|
-
"Sans profession déclarée"
|
|
1198
|
-
],
|
|
1199
|
-
TypeOrgane: [
|
|
1200
|
-
"GroupePolitique_type",
|
|
1201
|
-
"OrganeCirconscription_type",
|
|
1202
|
-
"OrganeExterne_Type",
|
|
1203
|
-
"OrganeExtraParlementaire_type",
|
|
1204
|
-
"OrganeParlementaireInternational",
|
|
1205
|
-
"OrganeParlementaire_Type"
|
|
1206
|
-
],
|
|
1207
|
-
CodeNatureDep: ["H", "M", "O", "T"],
|
|
1208
|
-
PositionPolitique: ["Majoritaire", "Minoritaire", "Opposition"],
|
|
1209
|
-
Regime: [
|
|
1210
|
-
"Assemblée consultative provisoire",
|
|
1211
|
-
"Assemblées nationales constituantes",
|
|
1212
|
-
"3ème République",
|
|
1213
|
-
"4ème République",
|
|
1214
|
-
"5ème République"
|
|
1215
|
-
]
|
|
1216
|
-
};
|
|
1217
|
-
var on = /* @__PURE__ */ ((e) => (e.ReunionCommissionType = "reunionCommission_type", e.ReunionInitParlementaireType = "reunionInitParlementaire_type", e.SeanceType = "seance_type", e))(on || {}), rn = /* @__PURE__ */ ((e) => (e.PodjReunionType = "podjReunion_type", e.PodjSeanceConfPresType = "podjSeanceConfPres_type", e))(rn || {}), an = /* @__PURE__ */ ((e) => (e.Annulé = "Annulé", e.Confirmé = "Confirmé", e.Eventuel = "Eventuel", e.Supprimé = "Supprimé", e))(an || {}), un = /* @__PURE__ */ ((e) => (e.Odjpr = "ODJPR", e.Odjsn = "ODJSN", e))(un || {}), ln = /* @__PURE__ */ ((e) => (e.DiscussionGénéraleCommune = "discussion générale commune", e.ProcédureDExamenSimplifiéeArticle103 = "procédure d'examen simplifiée-Article 103", e.ProcédureDExamenSimplifiéeArticle106 = "procédure d'examen simplifiée-Article 106", e.ProcédureDExamenSimplifiéeArticle107 = "procédure d'examen simplifiée-Article 107", e.ProcédureDeLégislationEnCommissionArticle1071 = "procédure de législation en commission-Article 107-1", e))(ln || {}), pn = /* @__PURE__ */ ((e) => (e.AmendementsArt88 = "Amendements (Art. 88)", e.AmendementsArt91 = "Amendements (Art. 91)", e.Audition = "Audition", e.AuditionMinistre = "Audition ministre", e.AuditionMinistreOuverteÀLaPresse = "Audition ministre ouverte à la presse", e.AuditionOuverteÀLaPresse = "Audition ouverte à la presse", e.Communication = "Communication", e.ConstitutionDeMissionDInformation = "Constitution de mission d'information", e.Discussion = "Discussion", e.DébatDInitiativeParlementaire = "Débat d'initiative parlementaire", e.DéclarationDuGouvernementSuivieDUnDébat = "Déclaration du Gouvernement suivie d'un débat", e.EchangesDeVues = "Echanges de vues", e.Examen = "Examen", e.ExplicationsDeVoteDesGroupesEtVoteParScrutinPublic = "Explications de vote des groupes et vote par scrutin public", e.ExplicationsDeVoteEtVoteParScrutinPublic = "Explications de vote et vote par scrutin public", e.FixationDeLOrdreDuJour = "Fixation de l'ordre du jour", e.NominationBureau = "Nomination bureau", e.NominationCandidatsOrganismeExtraparlementaire = "Nomination candidats organisme extraparlementaire", e.NominationDUnMembreDUneMissionDInformation = "Nomination d'un membre d'une mission d'information", e.NominationRapporteur = "Nomination rapporteur", e.NominationRapporteurDApplication = "Nomination rapporteur d'application", e.NominationRapporteurDInformation = "Nomination rapporteur d'information", e.NominationRapporteurPourAvis = "Nomination rapporteur pour avis", e.OuvertureEtClôtureDeSession = "Ouverture et clôture de session", e.QuestionsAuGouvernement = "Questions au Gouvernement", e.QuestionsOralesSansDébat = "Questions orales sans débat", e.Rapport = "Rapport", e.RapportDInformation = "Rapport d'information", e.RapportPourAvis = "Rapport pour avis", e.SeancesReserveesGroupeOppositionOuMinoritaire = "Séances réservées à un groupe de l'opposition ou minoritaire", e.SuiteDeLaDiscussion = "Suite de la discussion", e.TableRonde = "Table ronde", e.VoteParScrutinPublic = "Vote par scrutin public", e.VoteSolennel = "Vote solennel", e))(pn || {}), cn = /* @__PURE__ */ ((e) => (e.AuditionExterne = "AuditionExterne", e.AuditionParPresidentCommission = "AuditionParPresidentCommission", e.AuditionParRapporteur = "AuditionParRapporteur", e.Ordinaire = "Ordinaire", e))(cn || {}), jn = /* @__PURE__ */ ((e) => (e.Deuxième = "Deuxième", e.Première = "Première", e.Troisième = "Troisième", e.Unique = "Unique", e))(jn || {}), mn = /* @__PURE__ */ ((e) => (e.Absent = "absent", e.Excusé = "excusé", e.Présent = "présent", e))(mn || {}), dn = /* @__PURE__ */ ((e) => (e.IdActeurType = "IdActeur_type", e.IdPersonneExterneType = "IdPersonneExterne_type", e))(dn || {}), fn = /* @__PURE__ */ ((e) => (e.Dep = "DEP", e.Ga = "GA", e.Ge = "GE", e.Gevi = "GEVI", e.Gp = "GP", e.HéAurélien = "HÉ Aurélien", e))(fn || {});
|
|
1218
|
-
let Ce = class {
|
|
1219
|
-
static toAgendas(n) {
|
|
1220
|
-
return Ve(JSON.parse(n), V("Agendas"));
|
|
1221
|
-
}
|
|
1222
|
-
static agendasToJson(n) {
|
|
1223
|
-
return JSON.stringify(Fe(n, V("Agendas")), null, 2);
|
|
1224
|
-
}
|
|
1225
|
-
static toReunion(n) {
|
|
1226
|
-
return Ve(JSON.parse(n), V("Reunion"));
|
|
1227
|
-
}
|
|
1228
|
-
static reunionToJson(n) {
|
|
1229
|
-
return JSON.stringify(Fe(n, V("Reunion")), null, 2);
|
|
1230
|
-
}
|
|
1231
|
-
};
|
|
1232
|
-
function re(e, n, s = "") {
|
|
1233
|
-
throw Error(
|
|
1234
|
-
s ? `Invalid value for key "${s}". Expected type ${JSON.stringify(
|
|
1235
|
-
e
|
|
1236
|
-
)} but got ${JSON.stringify(n)}` : `Invalid value ${JSON.stringify(n)} for type ${JSON.stringify(e)}`
|
|
1237
|
-
);
|
|
1238
|
-
}
|
|
1239
|
-
function yn(e) {
|
|
1240
|
-
if (e.jsonToJS === void 0) {
|
|
1241
|
-
var n = {};
|
|
1242
|
-
e.props.forEach((s) => n[s.json] = { key: s.js, typ: s.typ }), e.jsonToJS = n;
|
|
1243
|
-
}
|
|
1244
|
-
return e.jsonToJS;
|
|
1245
|
-
}
|
|
1246
|
-
function Sn(e) {
|
|
1247
|
-
if (e.jsToJSON === void 0) {
|
|
1248
|
-
var n = {};
|
|
1249
|
-
e.props.forEach((s) => n[s.js] = { key: s.json, typ: s.typ }), e.jsToJSON = n;
|
|
1250
|
-
}
|
|
1251
|
-
return e.jsToJSON;
|
|
1252
|
-
}
|
|
1253
|
-
function pe(e, n, s, a = "") {
|
|
1254
|
-
function y(t, o) {
|
|
1255
|
-
return typeof t == typeof o ? o : re(t, o, a);
|
|
1256
|
-
}
|
|
1257
|
-
function _(t, o) {
|
|
1258
|
-
const u = t.length;
|
|
1259
|
-
for (let S = 0; S < u; S++) {
|
|
1260
|
-
const m = t[S];
|
|
1261
|
-
try {
|
|
1262
|
-
return pe(o, m, s);
|
|
1263
|
-
} catch {
|
|
1264
|
-
}
|
|
1265
|
-
}
|
|
1266
|
-
return re(t, o);
|
|
1267
|
-
}
|
|
1268
|
-
function R(t, o) {
|
|
1269
|
-
return t.indexOf(o) !== -1 ? o : re(t, o);
|
|
1270
|
-
}
|
|
1271
|
-
function I(t, o) {
|
|
1272
|
-
return Array.isArray(o) ? o.map((u) => pe(u, t, s)) : re("array", o);
|
|
1273
|
-
}
|
|
1274
|
-
function T(t) {
|
|
1275
|
-
if (t === null)
|
|
1276
|
-
return null;
|
|
1277
|
-
const o = new Date(t);
|
|
1278
|
-
return isNaN(o.valueOf()) ? re("Date", t) : o;
|
|
1279
|
-
}
|
|
1280
|
-
function h(t, o, u) {
|
|
1281
|
-
if (u === null || typeof u != "object" || Array.isArray(u))
|
|
1282
|
-
return re("object", u);
|
|
1283
|
-
const S = {};
|
|
1284
|
-
return Object.getOwnPropertyNames(t).forEach((m) => {
|
|
1285
|
-
const b = t[m], x = Object.prototype.hasOwnProperty.call(u, m) ? u[m] : void 0;
|
|
1286
|
-
S[b.key] = pe(x, b.typ, s, b.key);
|
|
1287
|
-
}), Object.getOwnPropertyNames(u).forEach((m) => {
|
|
1288
|
-
Object.prototype.hasOwnProperty.call(t, m) || (S[m] = pe(u[m], o, s, m));
|
|
1289
|
-
}), S;
|
|
1290
|
-
}
|
|
1291
|
-
if (n === "any") return e;
|
|
1292
|
-
if (n === null)
|
|
1293
|
-
return e === null ? e : re(n, e);
|
|
1294
|
-
for (; typeof n == "object" && n.ref !== void 0; )
|
|
1295
|
-
n = An[n.ref];
|
|
1296
|
-
return Array.isArray(n) ? R(n, e) : typeof n == "object" ? n.hasOwnProperty("unionMembers") ? _(n.unionMembers, e) : n.hasOwnProperty("arrayItems") ? I(n.arrayItems, e) : n.hasOwnProperty("props") ? h(s(n), n.additional, e) : re(n, e) : n === Date && typeof e != "number" ? T(e) : y(n, e);
|
|
1297
|
-
}
|
|
1298
|
-
function Ve(e, n) {
|
|
1299
|
-
return pe(e, n, yn);
|
|
1300
|
-
}
|
|
1301
|
-
function Fe(e, n) {
|
|
1302
|
-
return pe(e, n, Sn);
|
|
1303
|
-
}
|
|
1304
|
-
function ee(e) {
|
|
1305
|
-
return { arrayItems: e };
|
|
1306
|
-
}
|
|
1307
|
-
function E(...e) {
|
|
1308
|
-
return { unionMembers: e };
|
|
1309
|
-
}
|
|
1310
|
-
function z(e, n) {
|
|
1311
|
-
return { props: e, additional: n };
|
|
1312
|
-
}
|
|
1313
|
-
function V(e) {
|
|
1314
|
-
return { ref: e };
|
|
1315
|
-
}
|
|
1316
|
-
const An = {
|
|
1317
|
-
Agendas: z(
|
|
1318
|
-
[{ json: "reunions", js: "reunions", typ: ee(V("Reunion")) }],
|
|
1319
|
-
!1
|
|
1320
|
-
),
|
|
1321
|
-
Reunion: z(
|
|
1322
|
-
[
|
|
1323
|
-
{ json: "schemaVersion", js: "schemaVersion", typ: E(void 0, "") },
|
|
1324
|
-
{
|
|
1325
|
-
json: "xsiType",
|
|
1326
|
-
js: "xsiType",
|
|
1327
|
-
typ: E(void 0, V("ReunionXsiType"))
|
|
1328
|
-
},
|
|
1329
|
-
{ json: "uid", js: "uid", typ: "" },
|
|
1330
|
-
{ json: "timestampDebut", js: "timestampDebut", typ: Date },
|
|
1331
|
-
{ json: "timestampFin", js: "timestampFin", typ: E(void 0, Date) },
|
|
1332
|
-
{ json: "lieu", js: "lieu", typ: E(void 0, V("LieuReunion")) },
|
|
1333
|
-
{ json: "cycleDeVie", js: "cycleDeVie", typ: V("CycleDeVieReunion") },
|
|
1334
|
-
{
|
|
1335
|
-
json: "demandeurs",
|
|
1336
|
-
js: "demandeurs",
|
|
1337
|
-
typ: E(void 0, V("Demandeurs"))
|
|
1338
|
-
},
|
|
1339
|
-
{ json: "organeReuniRef", js: "organeReuniRef", typ: E(void 0, "") },
|
|
1340
|
-
{
|
|
1341
|
-
json: "typeReunion",
|
|
1342
|
-
js: "typeReunion",
|
|
1343
|
-
typ: E(void 0, V("TypeReunion"))
|
|
1344
|
-
},
|
|
1345
|
-
{
|
|
1346
|
-
json: "participants",
|
|
1347
|
-
js: "participants",
|
|
1348
|
-
typ: E(void 0, V("Participants"))
|
|
1349
|
-
},
|
|
1350
|
-
{ json: "sessionRef", js: "sessionRef", typ: E(void 0, "") },
|
|
1351
|
-
{
|
|
1352
|
-
json: "ouverturePresse",
|
|
1353
|
-
js: "ouverturePresse",
|
|
1354
|
-
typ: E(void 0, !1)
|
|
1355
|
-
},
|
|
1356
|
-
{ json: "odj", js: "odj", typ: E(void 0, V("Odj")) },
|
|
1357
|
-
{ json: "compteRenduRef", js: "compteRenduRef", typ: E(void 0, "") },
|
|
1358
|
-
{
|
|
1359
|
-
json: "identifiants",
|
|
1360
|
-
js: "identifiants",
|
|
1361
|
-
typ: E(void 0, V("Identifiants"))
|
|
1362
|
-
},
|
|
1363
|
-
{
|
|
1364
|
-
json: "formatReunion",
|
|
1365
|
-
js: "formatReunion",
|
|
1366
|
-
typ: E(void 0, V("FormatReunion"))
|
|
1367
|
-
},
|
|
1368
|
-
{
|
|
1369
|
-
json: "infosReunionsInternationale",
|
|
1370
|
-
js: "infosReunionsInternationale",
|
|
1371
|
-
typ: E(void 0, V("InfosReunionsInternationale"))
|
|
1372
|
-
},
|
|
1373
|
-
{
|
|
1374
|
-
json: "captationVideo",
|
|
1375
|
-
js: "captationVideo",
|
|
1376
|
-
typ: E(void 0, !1)
|
|
1377
|
-
},
|
|
1378
|
-
{ json: "visioConference", js: "visioConference", typ: E(void 0, "") },
|
|
1379
|
-
{ json: "urlVideo", js: "urlVideo", typ: E(void 0, "") },
|
|
1380
|
-
{
|
|
1381
|
-
json: "timecodeDebutVideo",
|
|
1382
|
-
js: "timecodeDebutVideo",
|
|
1383
|
-
typ: E(void 0, 0)
|
|
1384
|
-
}
|
|
1385
|
-
],
|
|
1386
|
-
!1
|
|
1387
|
-
),
|
|
1388
|
-
Odj: z(
|
|
1389
|
-
[
|
|
1390
|
-
{
|
|
1391
|
-
json: "convocationOdj",
|
|
1392
|
-
js: "convocationOdj",
|
|
1393
|
-
typ: E(void 0, ee(""))
|
|
1394
|
-
},
|
|
1395
|
-
{ json: "resumeOdj", js: "resumeOdj", typ: E(void 0, ee("")) },
|
|
1396
|
-
{
|
|
1397
|
-
json: "pointsOdj",
|
|
1398
|
-
js: "pointsOdj",
|
|
1399
|
-
typ: E(void 0, ee(V("PointOdj")))
|
|
1400
|
-
}
|
|
1401
|
-
],
|
|
1402
|
-
!1
|
|
1403
|
-
),
|
|
1404
|
-
PointOdj: z(
|
|
1405
|
-
[
|
|
1406
|
-
{ json: "xsiType", js: "xsiType", typ: V("PointOdjXsiType") },
|
|
1407
|
-
{ json: "uid", js: "uid", typ: "" },
|
|
1408
|
-
{ json: "cycleDeVie", js: "cycleDeVie", typ: V("CycleDeVieReunion") },
|
|
1409
|
-
{ json: "objet", js: "objet", typ: "" },
|
|
1410
|
-
{ json: "procedure", js: "procedure", typ: E(void 0, V("Procedure")) },
|
|
1411
|
-
{
|
|
1412
|
-
json: "dossiersLegislatifsRefs",
|
|
1413
|
-
js: "dossiersLegislatifsRefs",
|
|
1414
|
-
typ: E(void 0, ee(""))
|
|
1415
|
-
},
|
|
1416
|
-
{ json: "typePointOdj", js: "typePointOdj", typ: V("TypePointOdj") },
|
|
1417
|
-
{ json: "comiteSecret", js: "comiteSecret", typ: !1 },
|
|
1418
|
-
{
|
|
1419
|
-
json: "natureTravauxOdj",
|
|
1420
|
-
js: "natureTravauxOdj",
|
|
1421
|
-
typ: E(void 0, V("NatureTravauxOdj"))
|
|
1422
|
-
},
|
|
1423
|
-
{ json: "dateConfPres", js: "dateConfPres", typ: E(void 0, Date) },
|
|
1424
|
-
{
|
|
1425
|
-
json: "dateLettreMinistre",
|
|
1426
|
-
js: "dateLettreMinistre",
|
|
1427
|
-
typ: E(void 0, Date)
|
|
1428
|
-
}
|
|
1429
|
-
],
|
|
1430
|
-
!1
|
|
1431
|
-
),
|
|
1432
|
-
CycleDeVieReunion: z(
|
|
1433
|
-
[
|
|
1434
|
-
{ json: "etat", js: "etat", typ: V("EtatCycleDeVie") },
|
|
1435
|
-
{ json: "chrono", js: "chrono", typ: V("Chrono") }
|
|
1436
|
-
],
|
|
1437
|
-
!1
|
|
1438
|
-
),
|
|
1439
|
-
Chrono: z(
|
|
1440
|
-
[
|
|
1441
|
-
{ json: "creation", js: "creation", typ: Date },
|
|
1442
|
-
{ json: "cloture", js: "cloture", typ: E(void 0, Date) }
|
|
1443
|
-
],
|
|
1444
|
-
!1
|
|
1445
|
-
),
|
|
1446
|
-
Demandeurs: z(
|
|
1447
|
-
[
|
|
1448
|
-
{
|
|
1449
|
-
json: "acteurs",
|
|
1450
|
-
js: "acteurs",
|
|
1451
|
-
typ: E(void 0, ee(V("DemandeurActeur")))
|
|
1452
|
-
},
|
|
1453
|
-
{ json: "organe", js: "organe", typ: E(void 0, V("DemandeurOrgane")) }
|
|
1454
|
-
],
|
|
1455
|
-
!1
|
|
1456
|
-
),
|
|
1457
|
-
DemandeurActeur: z(
|
|
1458
|
-
[
|
|
1459
|
-
{ json: "nom", js: "nom", typ: E(void 0, "") },
|
|
1460
|
-
{ json: "acteurRef", js: "acteurRef", typ: "" }
|
|
1461
|
-
],
|
|
1462
|
-
!1
|
|
1463
|
-
),
|
|
1464
|
-
DemandeurOrgane: z(
|
|
1465
|
-
[
|
|
1466
|
-
{ json: "nom", js: "nom", typ: "" },
|
|
1467
|
-
{ json: "organeRef", js: "organeRef", typ: "" }
|
|
1468
|
-
],
|
|
1469
|
-
!1
|
|
1470
|
-
),
|
|
1471
|
-
Identifiants: z(
|
|
1472
|
-
[
|
|
1473
|
-
{ json: "numSeanceJo", js: "numSeanceJo", typ: E(void 0, "") },
|
|
1474
|
-
{ json: "idJo", js: "idJo", typ: E(void 0, "") },
|
|
1475
|
-
{ json: "quantieme", js: "quantieme", typ: V("Quantieme") },
|
|
1476
|
-
{ json: "dateSeance", js: "dateSeance", typ: Date }
|
|
1477
|
-
],
|
|
1478
|
-
!1
|
|
1479
|
-
),
|
|
1480
|
-
InfosReunionsInternationale: z(
|
|
1481
|
-
[
|
|
1482
|
-
{
|
|
1483
|
-
json: "estReunionInternationale",
|
|
1484
|
-
js: "estReunionInternationale",
|
|
1485
|
-
typ: !1
|
|
1486
|
-
},
|
|
1487
|
-
{ json: "listePays", js: "listePays", typ: E(void 0, ee("")) },
|
|
1488
|
-
{
|
|
1489
|
-
json: "informationsComplementaires",
|
|
1490
|
-
js: "informationsComplementaires",
|
|
1491
|
-
typ: E(void 0, "")
|
|
1492
|
-
}
|
|
1493
|
-
],
|
|
1494
|
-
!1
|
|
1495
|
-
),
|
|
1496
|
-
LieuReunion: z(
|
|
1497
|
-
[
|
|
1498
|
-
{ json: "code", js: "code", typ: E(void 0, "") },
|
|
1499
|
-
{ json: "libelleCourt", js: "libelleCourt", typ: E(void 0, "") },
|
|
1500
|
-
{ json: "libelleLong", js: "libelleLong", typ: E(void 0, "") },
|
|
1501
|
-
{ json: "lieuRef", js: "lieuRef", typ: E(void 0, "") }
|
|
1502
|
-
],
|
|
1503
|
-
!1
|
|
1504
|
-
),
|
|
1505
|
-
Participants: z(
|
|
1506
|
-
[
|
|
1507
|
-
{
|
|
1508
|
-
json: "participantsInternes",
|
|
1509
|
-
js: "participantsInternes",
|
|
1510
|
-
typ: E(void 0, ee(V("ParticipantInterne")))
|
|
1511
|
-
},
|
|
1512
|
-
{
|
|
1513
|
-
json: "personnesAuditionnees",
|
|
1514
|
-
js: "personnesAuditionnees",
|
|
1515
|
-
typ: E(void 0, ee(V("PersonneAuditionnee")))
|
|
1516
|
-
}
|
|
1517
|
-
],
|
|
1518
|
-
!1
|
|
1519
|
-
),
|
|
1520
|
-
ParticipantInterne: z(
|
|
1521
|
-
[
|
|
1522
|
-
{ json: "acteurRef", js: "acteurRef", typ: "" },
|
|
1523
|
-
{ json: "presence", js: "presence", typ: V("Presence") }
|
|
1524
|
-
],
|
|
1525
|
-
!1
|
|
1526
|
-
),
|
|
1527
|
-
PersonneAuditionnee: z(
|
|
1528
|
-
[
|
|
1529
|
-
{ json: "xsiType", js: "xsiType", typ: V("PersonneAuditionneeXsiType") },
|
|
1530
|
-
{ json: "uid", js: "uid", typ: "" },
|
|
1531
|
-
{ json: "ident", js: "ident", typ: V("IdentPersonneAuditionnee") },
|
|
1532
|
-
{ json: "dateNais", js: "dateNais", typ: E(void 0, Date) }
|
|
1533
|
-
],
|
|
1534
|
-
!1
|
|
1535
|
-
),
|
|
1536
|
-
IdentPersonneAuditionnee: z(
|
|
1537
|
-
[
|
|
1538
|
-
{ json: "civ", js: "civ", typ: V("Civ") },
|
|
1539
|
-
{ json: "prenom", js: "prenom", typ: "" },
|
|
1540
|
-
{ json: "nom", js: "nom", typ: "" },
|
|
1541
|
-
{ json: "alpha", js: "alpha", typ: E(void 0, "") },
|
|
1542
|
-
{ json: "trigramme", js: "trigramme", typ: E(void 0, "") }
|
|
1543
|
-
],
|
|
1544
|
-
!1
|
|
1545
|
-
),
|
|
1546
|
-
ReunionXsiType: [
|
|
1547
|
-
"reunionCommission_type",
|
|
1548
|
-
"reunionInitParlementaire_type",
|
|
1549
|
-
"seance_type"
|
|
1550
|
-
],
|
|
1551
|
-
PointOdjXsiType: ["podjReunion_type", "podjSeanceConfPres_type"],
|
|
1552
|
-
EtatCycleDeVie: ["Annulé", "Confirmé", "Eventuel", "Supprimé"],
|
|
1553
|
-
NatureTravauxOdj: ["ODJPR", "ODJSN"],
|
|
1554
|
-
Procedure: [
|
|
1555
|
-
"discussion générale commune",
|
|
1556
|
-
"procédure d'examen simplifiée-Article 103",
|
|
1557
|
-
"procédure d'examen simplifiée-Article 106",
|
|
1558
|
-
"procédure d'examen simplifiée-Article 107",
|
|
1559
|
-
"procédure de législation en commission-Article 107-1"
|
|
1560
|
-
],
|
|
1561
|
-
TypePointOdj: [
|
|
1562
|
-
"Amendements (Art. 88)",
|
|
1563
|
-
"Amendements (Art. 91)",
|
|
1564
|
-
"Audition",
|
|
1565
|
-
"Audition ministre",
|
|
1566
|
-
"Audition ministre ouverte à la presse",
|
|
1567
|
-
"Audition ouverte à la presse",
|
|
1568
|
-
"Communication",
|
|
1569
|
-
"Constitution de mission d'information",
|
|
1570
|
-
"Discussion",
|
|
1571
|
-
"Débat d'initiative parlementaire",
|
|
1572
|
-
"Déclaration du Gouvernement suivie d'un débat",
|
|
1573
|
-
"Echanges de vues",
|
|
1574
|
-
"Examen",
|
|
1575
|
-
"Explications de vote des groupes et vote par scrutin public",
|
|
1576
|
-
"Explications de vote et vote par scrutin public",
|
|
1577
|
-
"Fixation de l'ordre du jour",
|
|
1578
|
-
"Nomination bureau",
|
|
1579
|
-
"Nomination candidats organisme extraparlementaire",
|
|
1580
|
-
"Nomination d'un membre d'une mission d'information",
|
|
1581
|
-
"Nomination rapporteur",
|
|
1582
|
-
"Nomination rapporteur d'application",
|
|
1583
|
-
"Nomination rapporteur d'information",
|
|
1584
|
-
"Nomination rapporteur pour avis",
|
|
1585
|
-
"Ouverture et clôture de session",
|
|
1586
|
-
"Questions au Gouvernement",
|
|
1587
|
-
"Questions orales sans débat",
|
|
1588
|
-
"Rapport",
|
|
1589
|
-
"Rapport d'information",
|
|
1590
|
-
"Rapport pour avis",
|
|
1591
|
-
"Séances réservées à un groupe de l'opposition ou minoritaire",
|
|
1592
|
-
"Suite de la discussion",
|
|
1593
|
-
"Table ronde",
|
|
1594
|
-
"Vote par scrutin public",
|
|
1595
|
-
"Vote solennel"
|
|
1596
|
-
],
|
|
1597
|
-
FormatReunion: [
|
|
1598
|
-
"AuditionExterne",
|
|
1599
|
-
"AuditionParPresidentCommission",
|
|
1600
|
-
"AuditionParRapporteur",
|
|
1601
|
-
"Ordinaire"
|
|
1602
|
-
],
|
|
1603
|
-
Quantieme: ["Deuxième", "Première", "Troisième", "Unique"],
|
|
1604
|
-
Presence: ["absent", "excusé", "présent"],
|
|
1605
|
-
Civ: ["M.", "Mme"],
|
|
1606
|
-
PersonneAuditionneeXsiType: ["IdActeur_type", "IdPersonneExterne_type"],
|
|
1607
|
-
TypeReunion: ["DEP", "GA", "GE", "GEVI", "GP", "HÉ Aurélien"]
|
|
1608
|
-
};
|
|
1609
|
-
var Xe = /* @__PURE__ */ ((e) => (e.An1 = "AN1", e.An1Acin = "AN1-ACIN", e.An1Avce = "AN1-AVCE", e.An1Com = "AN1-COM", e.An1ComAvis = "AN1-COM-AVIS", e.An1ComAvisNomin = "AN1-COM-AVIS-NOMIN", e.An1ComAvisRapport = "AN1-COM-AVIS-RAPPORT", e.An1ComAvisReunion = "AN1-COM-AVIS-REUNION", e.An1ComAvisSaisie = "AN1-COM-AVIS-SAISIE", e.An1ComFond = "AN1-COM-FOND", e.An1ComFondNomin = "AN1-COM-FOND-NOMIN", e.An1ComFondRapport = "AN1-COM-FOND-RAPPORT", e.An1ComFondReunion = "AN1-COM-FOND-REUNION", e.An1ComFondSaisie = "AN1-COM-FOND-SAISIE", e.An1Debats = "AN1-DEBATS", e.An1DebatsDec = "AN1-DEBATS-DEC", e.An1DebatsMotion = "AN1-DEBATS-MOTION", e.An1DebatsMotionVote = "AN1-DEBATS-MOTION-VOTE", e.An1DebatsSeance = "AN1-DEBATS-SEANCE", e.An1Depot = "AN1-DEPOT", e.An1Dgvt = "AN1-DGVT", e.An1Dptlettrect = "AN1-DPTLETTRECT", e.An1Eti = "AN1-ETI", e.An1Motion = "AN1-MOTION", e.An1MotionVote = "AN1-MOTION-VOTE", e.An1Procacc = "AN1-PROCACC", e.An1Recbureau = "AN1-RECBUREAU", e.An1Rtrini = "AN1-RTRINI", e.An2 = "AN2", e.An20 = "AN20", e.An20Comenq = "AN20-COMENQ", e.An20ComenqCrea = "AN20-COMENQ-CREA", e.An20ComenqNomin = "AN20-COMENQ-NOMIN", e.An20ComenqRapport = "AN20-COMENQ-RAPPORT", e.An20Misinf = "AN20-MISINF", e.An20MisinfCrea = "AN20-MISINF-CREA", e.An20MisinfNomin = "AN20-MISINF-NOMIN", e.An20MisinfRapport = "AN20-MISINF-RAPPORT", e.An20Rapport = "AN20-RAPPORT", e.An21 = "AN21", e.An21Apan = "AN21-APAN", e.An21Debats = "AN21-DEBATS", e.An21DebatsMotionVote = "AN21-DEBATS-MOTION-VOTE", e.An21DebatsSeance = "AN21-DEBATS-SEANCE", e.An21Dgvt = "AN21-DGVT", e.An21Motion = "AN21-MOTION", e.An21MotionVote = "AN21-MOTION-VOTE", e.An21Mpr = "AN21-MPR", e.An2Com = "AN2-COM", e.An2ComAvis = "AN2-COM-AVIS", e.An2ComAvisRapport = "AN2-COM-AVIS-RAPPORT", e.An2ComAvisReunion = "AN2-COM-AVIS-REUNION", e.An2ComAvisSaisie = "AN2-COM-AVIS-SAISIE", e.An2ComFond = "AN2-COM-FOND", e.An2ComFondNomin = "AN2-COM-FOND-NOMIN", e.An2ComFondRapport = "AN2-COM-FOND-RAPPORT", e.An2ComFondReunion = "AN2-COM-FOND-REUNION", e.An2ComFondSaisie = "AN2-COM-FOND-SAISIE", e.An2Debats = "AN2-DEBATS", e.An2DebatsDec = "AN2-DEBATS-DEC", e.An2DebatsSeance = "AN2-DEBATS-SEANCE", e.An2Depot = "AN2-DEPOT", e.An3 = "AN3", e.An3Com = "AN3-COM", e.An3ComFond = "AN3-COM-FOND", e.An3ComFondNomin = "AN3-COM-FOND-NOMIN", e.An3ComFondRapport = "AN3-COM-FOND-RAPPORT", e.An3ComFondReunion = "AN3-COM-FOND-REUNION", e.An3ComFondSaisie = "AN3-COM-FOND-SAISIE", e.An3Debats = "AN3-DEBATS", e.An3DebatsDec = "AN3-DEBATS-DEC", e.An3DebatsSeance = "AN3-DEBATS-SEANCE", e.An3Depot = "AN3-DEPOT", e.AnAppli = "AN-APPLI", e.AnAppliRapport = "AN-APPLI-RAPPORT", e.Anldef = "ANLDEF", e.AnldefCom = "ANLDEF-COM", e.AnldefComFond = "ANLDEF-COM-FOND", e.AnldefComFondRapport = "ANLDEF-COM-FOND-RAPPORT", e.AnldefComFondReunion = "ANLDEF-COM-FOND-REUNION", e.AnldefComFondSaisie = "ANLDEF-COM-FOND-SAISIE", e.AnldefDebats = "ANLDEF-DEBATS", e.AnldefDebatsDec = "ANLDEF-DEBATS-DEC", e.AnldefDebatsMotionVote = "ANLDEF-DEBATS-MOTION-VOTE", e.AnldefDebatsSeance = "ANLDEF-DEBATS-SEANCE", e.AnldefDepot = "ANLDEF-DEPOT", e.AnldefDgvt = "ANLDEF-DGVT", e.AnldefMotion = "ANLDEF-MOTION", e.AnldefMotionVote = "ANLDEF-MOTION-VOTE", e.Anluni = "ANLUNI", e.AnluniCom = "ANLUNI-COM", e.AnluniComCae = "ANLUNI-COM-CAE", e.AnluniComCaeDec = "ANLUNI-COM-CAE-DEC", e.AnluniComCaeNomin = "ANLUNI-COM-CAE-NOMIN", e.AnluniComCaeRapport = "ANLUNI-COM-CAE-RAPPORT", e.AnluniComCaeReunion = "ANLUNI-COM-CAE-REUNION", e.AnluniComCaeSaisie = "ANLUNI-COM-CAE-SAISIE", e.AnluniComFond = "ANLUNI-COM-FOND", e.AnluniComFondNomin = "ANLUNI-COM-FOND-NOMIN", e.AnluniComFondRapport = "ANLUNI-COM-FOND-RAPPORT", e.AnluniComFondReunion = "ANLUNI-COM-FOND-REUNION", e.AnluniComFondSaisie = "ANLUNI-COM-FOND-SAISIE", e.AnluniDebats = "ANLUNI-DEBATS", e.AnluniDebatsDec = "ANLUNI-DEBATS-DEC", e.AnluniDebatsSeance = "ANLUNI-DEBATS-SEANCE", e.AnluniDepot = "ANLUNI-DEPOT", e.AnluniRtrini = "ANLUNI-RTRINI", e.Annlec = "ANNLEC", e.AnnlecCom = "ANNLEC-COM", e.AnnlecComAvis = "ANNLEC-COM-AVIS", e.AnnlecComAvisNomin = "ANNLEC-COM-AVIS-NOMIN", e.AnnlecComAvisRapport = "ANNLEC-COM-AVIS-RAPPORT", e.AnnlecComAvisReunion = "ANNLEC-COM-AVIS-REUNION", e.AnnlecComAvisSaisie = "ANNLEC-COM-AVIS-SAISIE", e.AnnlecComFond = "ANNLEC-COM-FOND", e.AnnlecComFondNomin = "ANNLEC-COM-FOND-NOMIN", e.AnnlecComFondRapport = "ANNLEC-COM-FOND-RAPPORT", e.AnnlecComFondReunion = "ANNLEC-COM-FOND-REUNION", e.AnnlecComFondSaisie = "ANNLEC-COM-FOND-SAISIE", e.AnnlecDebats = "ANNLEC-DEBATS", e.AnnlecDebatsDec = "ANNLEC-DEBATS-DEC", e.AnnlecDebatsMotionVote = "ANNLEC-DEBATS-MOTION-VOTE", e.AnnlecDebatsSeance = "ANNLEC-DEBATS-SEANCE", e.AnnlecDepot = "ANNLEC-DEPOT", e.AnnlecDgvt = "ANNLEC-DGVT", e.AnnlecMotion = "ANNLEC-MOTION", e.AnnlecMotionVote = "ANNLEC-MOTION-VOTE", e.Cc = "CC", e.CcConclusion = "CC-CONCLUSION", e.CcSaisieAn = "CC-SAISIE-AN", e.CcSaisieDroit = "CC-SAISIE-DROIT", e.CcSaisiePan = "CC-SAISIE-PAN", e.CcSaisiePm = "CC-SAISIE-PM", e.CcSaisiePr = "CC-SAISIE-PR", e.CcSaisiePsn = "CC-SAISIE-PSN", e.CcSaisieSn = "CC-SAISIE-SN", e.Cg22 = "CG22", e.Cg22Conv = "CG22-CONV", e.Cg22Debats = "CG22-DEBATS", e.Cg22DebatsDec = "CG22-DEBATS-DEC", e.Cg22DebatsSeance = "CG22-DEBATS-SEANCE", e.Cmp = "CMP", e.CmpCom = "CMP-COM", e.CmpComNomin = "CMP-COM-NOMIN", e.CmpComRapportAn = "CMP-COM-RAPPORT-AN", e.CmpComRapportSn = "CMP-COM-RAPPORT-SN", e.CmpDebats = "CMP-DEBATS", e.CmpDebatsAn = "CMP-DEBATS-AN", e.CmpDebatsAnDec = "CMP-DEBATS-AN-DEC", e.CmpDebatsAnSeance = "CMP-DEBATS-AN-SEANCE", e.CmpDebatsDec = "CMP-DEBATS-DEC", e.CmpDebatsSn = "CMP-DEBATS-SN", e.CmpDebatsSnDec = "CMP-DEBATS-SN-DEC", e.CmpDebatsSnSeance = "CMP-DEBATS-SN-SEANCE", e.CmpDec = "CMP-DEC", e.CmpDepot = "CMP-DEPOT", e.CmpDgvt = "CMP-DGVT", e.CmpMotion = "CMP-MOTION", e.CmpMotionVote = "CMP-MOTION-VOTE", e.CmpSaisie = "CMP-SAISIE", e.Eu = "EU", e.EuDec = "EU-DEC", e.Motion = "MOTION", e.MotionVote = "MOTION-VOTE", e.Prom = "PROM", e.PromPub = "PROM-PUB", e.Sn1 = "SN1", e.Sn1Avce = "SN1-AVCE", e.Sn1Com = "SN1-COM", e.Sn1ComAvis = "SN1-COM-AVIS", e.Sn1ComAvisNomin = "SN1-COM-AVIS-NOMIN", e.Sn1ComAvisRapport = "SN1-COM-AVIS-RAPPORT", e.Sn1ComAvisSaisie = "SN1-COM-AVIS-SAISIE", e.Sn1ComFond = "SN1-COM-FOND", e.Sn1ComFondNomin = "SN1-COM-FOND-NOMIN", e.Sn1ComFondRapport = "SN1-COM-FOND-RAPPORT", e.Sn1ComFondSaisie = "SN1-COM-FOND-SAISIE", e.Sn1Debats = "SN1-DEBATS", e.Sn1DebatsDec = "SN1-DEBATS-DEC", e.Sn1DebatsMotion = "SN1-DEBATS-MOTION", e.Sn1DebatsMotionVote = "SN1-DEBATS-MOTION-VOTE", e.Sn1DebatsSeance = "SN1-DEBATS-SEANCE", e.Sn1Depot = "SN1-DEPOT", e.Sn1Dptlettrect = "SN1-DPTLETTRECT", e.Sn1Eti = "SN1-ETI", e.Sn1Procacc = "SN1-PROCACC", e.Sn1Rtrini = "SN1-RTRINI", e.Sn2 = "SN2", e.Sn2Com = "SN2-COM", e.Sn2ComAvis = "SN2-COM-AVIS", e.Sn2ComAvisNomin = "SN2-COM-AVIS-NOMIN", e.Sn2ComAvisRapport = "SN2-COM-AVIS-RAPPORT", e.Sn2ComAvisSaisie = "SN2-COM-AVIS-SAISIE", e.Sn2ComFond = "SN2-COM-FOND", e.Sn2ComFondNomin = "SN2-COM-FOND-NOMIN", e.Sn2ComFondRapport = "SN2-COM-FOND-RAPPORT", e.Sn2ComFondSaisie = "SN2-COM-FOND-SAISIE", e.Sn2Debats = "SN2-DEBATS", e.Sn2DebatsDec = "SN2-DEBATS-DEC", e.Sn2DebatsSeance = "SN2-DEBATS-SEANCE", e.Sn2Depot = "SN2-DEPOT", e.Sn3 = "SN3", e.Sn3Com = "SN3-COM", e.Sn3ComFond = "SN3-COM-FOND", e.Sn3ComFondRapport = "SN3-COM-FOND-RAPPORT", e.Sn3ComFondSaisie = "SN3-COM-FOND-SAISIE", e.Sn3Debats = "SN3-DEBATS", e.Sn3DebatsDec = "SN3-DEBATS-DEC", e.Sn3DebatsSeance = "SN3-DEBATS-SEANCE", e.Sn3Depot = "SN3-DEPOT", e.Snnlec = "SNNLEC", e.SnnlecCom = "SNNLEC-COM", e.SnnlecComFond = "SNNLEC-COM-FOND", e.SnnlecComFondNomin = "SNNLEC-COM-FOND-NOMIN", e.SnnlecComFondRapport = "SNNLEC-COM-FOND-RAPPORT", e.SnnlecComFondSaisie = "SNNLEC-COM-FOND-SAISIE", e.SnnlecDebats = "SNNLEC-DEBATS", e.SnnlecDebatsDec = "SNNLEC-DEBATS-DEC", e.SnnlecDebatsSeance = "SNNLEC-DEBATS-SEANCE", e.SnnlecDepot = "SNNLEC-DEPOT", e))(Xe || {}), vn = /* @__PURE__ */ ((e) => (e.DossierCommissionEnqueteType = "DossierCommissionEnquete_Type", e.DossierIniativeExecutifType = "DossierIniativeExecutif_Type", e.DossierLegislatifType = "DossierLegislatif_Type", e.DossierMissionControleType = "DossierMissionControle_Type", e.DossierMissionInformationType = "DossierMissionInformation_Type", e.DossierResolutionAn = "DossierResolutionAN", e))(vn || {}), Dn = /* @__PURE__ */ ((e) => (e.BudgetAnnexe = "Budget annexe", e.BudgetGénéral = "Budget général", e.CompteDeConcoursFinancier = "Compte de concours financier", e.CompteSpécial = "Compte spécial", e.PremièrePartie = "Première partie", e))(Dn || {}), Nn = /* @__PURE__ */ ((e) => (e.MissionPrincipale = "mission principale", e.MissionSecondaire = "mission secondaire", e.PartieDeMission = "partie de mission", e))(Nn || {}), gn = /* @__PURE__ */ ((e) => (e.Auteur = "auteur", e.Cosignataire = "cosignataire", e.Rapporteur = "rapporteur", e.RapporteurGénéral = "rapporteur général", e.RapporteurPourAvis = "rapporteur pour avis", e.RapporteurSpécial = "rapporteur spécial", e))(gn || {}), On = /* @__PURE__ */ ((e) => (e.AdoptionEuropeType = "Adoption_Europe_Type", e.ConclusionEtapeCcType = "ConclusionEtapeCC_Type", e.ConvocationCongresType = "ConvocationCongres_Type", e.CreationOrganeTemporaireType = "CreationOrganeTemporaire_Type", e.DecisionMotionCensureType = "DecisionMotionCensure_Type", e.DecisionRecevabiliteBureauType = "DecisionRecevabiliteBureau_Type", e.DecisionType = "Decision_Type", e.DeclarationGouvernementType = "DeclarationGouvernement_Type", e.DepotAccordInternationalType = "DepotAccordInternational_Type", e.DepotAvisConseilEtatType = "DepotAvisConseilEtat_Type", e.DepotInitiativeNavetteType = "DepotInitiativeNavette_Type", e.DepotInitiativeType = "DepotInitiative_Type", e.DepotLettreRectificativeType = "DepotLettreRectificative_Type", e.DepotMotionCensureType = "DepotMotionCensure_Type", e.DepotMotionReferendaireType = "DepotMotionReferendaire_Type", e.DepotRapportType = "DepotRapport_Type", e.DiscussionCommissionType = "DiscussionCommission_Type", e.DiscussionSeancePubliqueType = "DiscussionSeancePublique_Type", e.EtapeType = "Etape_Type", e.EtudeImpactType = "EtudeImpact_Type", e.MotionProcedureType = "MotionProcedure_Type", e.NominRapporteursType = "NominRapporteurs_Type", e.ProcedureAccelereType = "ProcedureAccelere_Type", e.PromulgationType = "Promulgation_Type", e.RenvoiCmpType = "RenvoiCMP_Type", e.RenvoiPrealableType = "RenvoiPrealable_Type", e.RetraitInitiativeType = "RetraitInitiative_Type", e.SaisieComAvisType = "SaisieComAvis_Type", e.SaisieComFondType = "SaisieComFond_Type", e.SaisineConseilConstitType = "SaisineConseilConstit_Type", e))(On || {}), bn = /* @__PURE__ */ ((e) => (e.Bta = "BTA", e.Tap = "TAP", e))(bn || {}), En = /* @__PURE__ */ ((e) => (e.EnApplicationDeLArticle612DeLaConstitution = "En application de l'article 61§2 de la Constitution", e))(En || {}), _n = /* @__PURE__ */ ((e) => (e.JoLoiDecret = "JO_LOI_DECRET", e))(_n || {}), Rn = /* @__PURE__ */ ((e) => (e.DossierAbsorbé = "Dossier absorbé", e.ExamenCommun = "Examen commun", e))(Rn || {}), In = /* @__PURE__ */ ((e) => (e.Decret = "Décret", e))(In || {}), Pn = /* @__PURE__ */ ((e) => (e.AccordInternationalType = "accordInternational_Type", e.AvisConseilEtatType = "avisConseilEtat_Type", e.DocumentEtudeImpactType = "documentEtudeImpact_Type", e.RapportParlementaireType = "rapportParlementaire_Type", e.TexteLoiType = "texteLoi_Type", e))(Pn || {}), Cn = /* @__PURE__ */ ((e) => (e.Adoptcom = "ADOPTCOM", e.Adoptseance = "ADOPTSEANCE", e.Rejetseance = "REJETSEANCE", e))(Cn || {}), Tn = /* @__PURE__ */ ((e) => (e.Rectifié = "Rectifié", e))(Tn || {}), Mn = /* @__PURE__ */ ((e) => (e.Allocution = "Allocution", e.Avis = "Avis", e.Déclaration = "Déclaration", e.Lettre = "Lettre", e.Message = "Message", e.Motion = "Motion", e.ProjetDeLoi = "Projet de loi", e.PropositionDeLoi = "Proposition de loi", e.PropositionDeRésolution = "Proposition de résolution", e.Rapport = "Rapport", e.RapportDInformation = "Rapport d'information", e.Résolution = "Résolution", e))(Mn || {}), hn = /* @__PURE__ */ ((e) => (e.Commission = "Commission", e.Séance = "Séance", e.TexteDéposé = "Texte Déposé", e))(hn || {});
|
|
1610
|
-
let De = class {
|
|
1611
|
-
static toDossiersLegislatifs(n) {
|
|
1612
|
-
return _e(JSON.parse(n), l("DossiersLegislatifs"));
|
|
1613
|
-
}
|
|
1614
|
-
static dossiersLegislatifsToJson(n) {
|
|
1615
|
-
return JSON.stringify(Re(n, l("DossiersLegislatifs")), null, 2);
|
|
1616
|
-
}
|
|
1617
|
-
static toDocument(n) {
|
|
1618
|
-
return _e(JSON.parse(n), l("Document"));
|
|
1619
|
-
}
|
|
1620
|
-
static documentToJson(n) {
|
|
1621
|
-
return JSON.stringify(Re(n, l("Document")), null, 2);
|
|
1622
|
-
}
|
|
1623
|
-
static toDossierParlementaire(n) {
|
|
1624
|
-
return _e(JSON.parse(n), l("DossierParlementaire"));
|
|
1625
|
-
}
|
|
1626
|
-
static dossierParlementaireToJson(n) {
|
|
1627
|
-
return JSON.stringify(Re(n, l("DossierParlementaire")), null, 2);
|
|
1628
|
-
}
|
|
1629
|
-
};
|
|
1630
|
-
function ae(e, n, s = "") {
|
|
1631
|
-
throw Error(
|
|
1632
|
-
s ? `Invalid value for key "${s}". Expected type ${JSON.stringify(
|
|
1633
|
-
e
|
|
1634
|
-
)} but got ${JSON.stringify(n)}` : `Invalid value ${JSON.stringify(n)} for type ${JSON.stringify(e)}`
|
|
1635
|
-
);
|
|
1636
|
-
}
|
|
1637
|
-
function xn(e) {
|
|
1638
|
-
if (e.jsonToJS === void 0) {
|
|
1639
|
-
const n = {};
|
|
1640
|
-
e.props.forEach((s) => n[s.json] = { key: s.js, typ: s.typ }), e.jsonToJS = n;
|
|
1641
|
-
}
|
|
1642
|
-
return e.jsonToJS;
|
|
1643
|
-
}
|
|
1644
|
-
function Vn(e) {
|
|
1645
|
-
if (e.jsToJSON === void 0) {
|
|
1646
|
-
const n = {};
|
|
1647
|
-
e.props.forEach((s) => n[s.js] = { key: s.json, typ: s.typ }), e.jsToJSON = n;
|
|
1648
|
-
}
|
|
1649
|
-
return e.jsToJSON;
|
|
1650
|
-
}
|
|
1651
|
-
function ce(e, n, s, a = "") {
|
|
1652
|
-
function y(t, o) {
|
|
1653
|
-
return typeof t == typeof o ? o : ae(t, o, a);
|
|
1654
|
-
}
|
|
1655
|
-
function _(t, o) {
|
|
1656
|
-
const u = t.length;
|
|
1657
|
-
for (let S = 0; S < u; S++) {
|
|
1658
|
-
const m = t[S];
|
|
1659
|
-
try {
|
|
1660
|
-
return ce(o, m, s);
|
|
1661
|
-
} catch {
|
|
1662
|
-
}
|
|
1663
|
-
}
|
|
1664
|
-
return ae(t, o);
|
|
1665
|
-
}
|
|
1666
|
-
function R(t, o) {
|
|
1667
|
-
return t.indexOf(o) !== -1 ? o : ae(t, o);
|
|
1668
|
-
}
|
|
1669
|
-
function I(t, o) {
|
|
1670
|
-
return Array.isArray(o) ? o.map((u) => ce(u, t, s)) : ae("array", o);
|
|
1671
|
-
}
|
|
1672
|
-
function T(t) {
|
|
1673
|
-
if (t === null)
|
|
1674
|
-
return null;
|
|
1675
|
-
const o = new Date(t);
|
|
1676
|
-
return isNaN(o.valueOf()) ? ae("Date", t) : o;
|
|
1677
|
-
}
|
|
1678
|
-
function h(t, o, u) {
|
|
1679
|
-
if (u === null || typeof u != "object" || Array.isArray(u))
|
|
1680
|
-
return ae("object", u);
|
|
1681
|
-
const S = {};
|
|
1682
|
-
return Object.getOwnPropertyNames(t).forEach((m) => {
|
|
1683
|
-
const b = t[m], x = Object.prototype.hasOwnProperty.call(u, m) ? u[m] : void 0;
|
|
1684
|
-
S[b.key] = ce(x, b.typ, s, b.key);
|
|
1685
|
-
}), Object.getOwnPropertyNames(u).forEach((m) => {
|
|
1686
|
-
Object.prototype.hasOwnProperty.call(t, m) || (S[m] = ce(u[m], o, s, m));
|
|
1687
|
-
}), S;
|
|
1688
|
-
}
|
|
1689
|
-
if (n === "any") return e;
|
|
1690
|
-
if (n === null)
|
|
1691
|
-
return e === null ? e : ae(n, e);
|
|
1692
|
-
for (; typeof n == "object" && n.ref !== void 0; )
|
|
1693
|
-
n = Fn[n.ref];
|
|
1694
|
-
return Array.isArray(n) ? R(n, e) : typeof n == "object" ? n.hasOwnProperty("unionMembers") ? _(n.unionMembers, e) : n.hasOwnProperty("arrayItems") ? I(n.arrayItems, e) : n.hasOwnProperty("props") ? h(s(n), n.additional, e) : ae(n, e) : n === Date && typeof e != "number" ? T(e) : y(n, e);
|
|
1695
|
-
}
|
|
1696
|
-
function _e(e, n) {
|
|
1697
|
-
return ce(e, n, xn);
|
|
1698
|
-
}
|
|
1699
|
-
function Re(e, n) {
|
|
1700
|
-
return ce(e, n, Vn);
|
|
1701
|
-
}
|
|
1702
|
-
function U(e) {
|
|
1703
|
-
return { arrayItems: e };
|
|
1704
|
-
}
|
|
1705
|
-
function r(...e) {
|
|
1706
|
-
return { unionMembers: e };
|
|
1707
|
-
}
|
|
1708
|
-
function P(e, n) {
|
|
1709
|
-
return { props: e, additional: n };
|
|
1710
|
-
}
|
|
1711
|
-
function l(e) {
|
|
1712
|
-
return { ref: e };
|
|
1713
|
-
}
|
|
1714
|
-
const Fn = {
|
|
1715
|
-
DossiersLegislatifs: P(
|
|
1716
|
-
[
|
|
1717
|
-
{
|
|
1718
|
-
json: "textesLegislatifs",
|
|
1719
|
-
js: "textesLegislatifs",
|
|
1720
|
-
typ: U(l("Document"))
|
|
1721
|
-
},
|
|
1722
|
-
{
|
|
1723
|
-
json: "dossiersParlementaires",
|
|
1724
|
-
js: "dossiersParlementaires",
|
|
1725
|
-
typ: U(l("DossierParlementaire"))
|
|
1726
|
-
}
|
|
1727
|
-
],
|
|
1728
|
-
!1
|
|
1729
|
-
),
|
|
1730
|
-
DossierParlementaire: P(
|
|
1731
|
-
[
|
|
1732
|
-
{ json: "schemaVersion", js: "schemaVersion", typ: r(void 0, "") },
|
|
1733
|
-
{
|
|
1734
|
-
json: "xsiType",
|
|
1735
|
-
js: "xsiType",
|
|
1736
|
-
typ: r(void 0, l("DossierParlementaireXsiType"))
|
|
1737
|
-
},
|
|
1738
|
-
{ json: "uid", js: "uid", typ: "" },
|
|
1739
|
-
{ json: "legislature", js: "legislature", typ: "" },
|
|
1740
|
-
{ json: "titreDossier", js: "titreDossier", typ: l("TitreDossier") },
|
|
1741
|
-
{
|
|
1742
|
-
json: "procedureParlementaire",
|
|
1743
|
-
js: "procedureParlementaire",
|
|
1744
|
-
typ: l("ProcedureParlementaire")
|
|
1745
|
-
},
|
|
1746
|
-
{
|
|
1747
|
-
json: "initiateur",
|
|
1748
|
-
js: "initiateur",
|
|
1749
|
-
typ: r(void 0, l("Initiateur"))
|
|
1750
|
-
},
|
|
1751
|
-
{
|
|
1752
|
-
json: "actesLegislatifs",
|
|
1753
|
-
js: "actesLegislatifs",
|
|
1754
|
-
typ: r(void 0, U(l("ActeLegislatif")))
|
|
1755
|
-
},
|
|
1756
|
-
{
|
|
1757
|
-
json: "fusionDossier",
|
|
1758
|
-
js: "fusionDossier",
|
|
1759
|
-
typ: r(void 0, l("FusionDossier"))
|
|
1760
|
-
},
|
|
1761
|
-
{
|
|
1762
|
-
json: "indexation",
|
|
1763
|
-
js: "indexation",
|
|
1764
|
-
typ: r(void 0, l("Indexation"))
|
|
1765
|
-
},
|
|
1766
|
-
{ json: "plf", js: "plf", typ: r(void 0, U(l("EtudePlf"))) }
|
|
1767
|
-
],
|
|
1768
|
-
!1
|
|
1769
|
-
),
|
|
1770
|
-
EtudePlf: P(
|
|
1771
|
-
[
|
|
1772
|
-
{ json: "uid", js: "uid", typ: "" },
|
|
1773
|
-
{ json: "organeRef", js: "organeRef", typ: "" },
|
|
1774
|
-
{ json: "texteAssocie", js: "texteAssocie", typ: r(void 0, "") },
|
|
1775
|
-
{
|
|
1776
|
-
json: "rapporteurs",
|
|
1777
|
-
js: "rapporteurs",
|
|
1778
|
-
typ: r(void 0, U(l("Rapporteur")))
|
|
1779
|
-
},
|
|
1780
|
-
{
|
|
1781
|
-
json: "missionMinefi",
|
|
1782
|
-
js: "missionMinefi",
|
|
1783
|
-
typ: r(void 0, l("MissionMinefi"))
|
|
1784
|
-
},
|
|
1785
|
-
{ json: "ordreDiqs", js: "ordreDiqs", typ: "" },
|
|
1786
|
-
{ json: "ordreCommission", js: "ordreCommission", typ: "" }
|
|
1787
|
-
],
|
|
1788
|
-
!1
|
|
1789
|
-
),
|
|
1790
|
-
MissionMinefi: P(
|
|
1791
|
-
[
|
|
1792
|
-
{ json: "typeMission", js: "typeMission", typ: l("TypeMission") },
|
|
1793
|
-
{ json: "codeMission", js: "codeMission", typ: r(void 0, "") },
|
|
1794
|
-
{ json: "libelleLong", js: "libelleLong", typ: "" },
|
|
1795
|
-
{ json: "libelleCourt", js: "libelleCourt", typ: "" },
|
|
1796
|
-
{ json: "typeBudget", js: "typeBudget", typ: l("TypeBudget") },
|
|
1797
|
-
{
|
|
1798
|
-
json: "missions",
|
|
1799
|
-
js: "missions",
|
|
1800
|
-
typ: r(void 0, U(l("MissionMinefi")))
|
|
1801
|
-
}
|
|
1802
|
-
],
|
|
1803
|
-
!1
|
|
1804
|
-
),
|
|
1805
|
-
ActeLegislatif: P(
|
|
1806
|
-
[
|
|
1807
|
-
{ json: "xsiType", js: "xsiType", typ: l("TypeActeLegislatif") },
|
|
1808
|
-
{ json: "uid", js: "uid", typ: "" },
|
|
1809
|
-
{
|
|
1810
|
-
json: "codeActe",
|
|
1811
|
-
js: "codeActe",
|
|
1812
|
-
typ: l("CodeActe")
|
|
1813
|
-
},
|
|
1814
|
-
{ json: "libelleActe", js: "libelleActe", typ: l("LibelleActe") },
|
|
1815
|
-
{ json: "organeRef", js: "organeRef", typ: r(void 0, "") },
|
|
1816
|
-
{ json: "dateActe", js: "dateActe", typ: r(void 0, Date) },
|
|
1817
|
-
{
|
|
1818
|
-
json: "actesLegislatifs",
|
|
1819
|
-
js: "actesLegislatifs",
|
|
1820
|
-
typ: r(void 0, U(l("ActeLegislatif")))
|
|
1821
|
-
},
|
|
1822
|
-
{ json: "anneeDecision", js: "anneeDecision", typ: r(void 0, "") },
|
|
1823
|
-
{
|
|
1824
|
-
json: "auteurMotion",
|
|
1825
|
-
js: "auteurMotion",
|
|
1826
|
-
typ: r(void 0, "")
|
|
1827
|
-
},
|
|
1828
|
-
{
|
|
1829
|
-
json: "auteursRefs",
|
|
1830
|
-
js: "auteursRefs",
|
|
1831
|
-
typ: r(void 0, U(""))
|
|
1832
|
-
},
|
|
1833
|
-
{
|
|
1834
|
-
json: "casSaisine",
|
|
1835
|
-
js: "casSaisine",
|
|
1836
|
-
typ: r(void 0, l("FamCodeEtLibelle"))
|
|
1837
|
-
},
|
|
1838
|
-
{ json: "codeLoi", js: "codeLoi", typ: r(void 0, "") },
|
|
1839
|
-
{
|
|
1840
|
-
json: "contributionInternaute",
|
|
1841
|
-
js: "contributionInternaute",
|
|
1842
|
-
typ: r(void 0, l("ContributionInternaute"))
|
|
1843
|
-
},
|
|
1844
|
-
{
|
|
1845
|
-
json: "decision",
|
|
1846
|
-
js: "decision",
|
|
1847
|
-
typ: r(void 0, l("FamCodeEtLibelle"))
|
|
1848
|
-
},
|
|
1849
|
-
{
|
|
1850
|
-
json: "depotInitialLectureDefinitiveRef",
|
|
1851
|
-
js: "depotInitialLectureDefinitiveRef",
|
|
1852
|
-
typ: r(void 0, "")
|
|
1853
|
-
},
|
|
1854
|
-
{ json: "formuleDecision", js: "formuleDecision", typ: r(void 0, "") },
|
|
1855
|
-
{ json: "infoJo", js: "infoJo", typ: r(void 0, l("InfoJo")) },
|
|
1856
|
-
{ json: "infoJoce", js: "infoJoce", typ: r(void 0, l("InfoJoce")) },
|
|
1857
|
-
{
|
|
1858
|
-
json: "infoJoRect",
|
|
1859
|
-
js: "infoJoRect",
|
|
1860
|
-
typ: r(void 0, U(l("InfoJo")))
|
|
1861
|
-
},
|
|
1862
|
-
{
|
|
1863
|
-
json: "initiateur",
|
|
1864
|
-
js: "initiateur",
|
|
1865
|
-
typ: r(void 0, l("Initiateur"))
|
|
1866
|
-
},
|
|
1867
|
-
{ json: "motif", js: "motif", typ: r(void 0, l("Motif")) },
|
|
1868
|
-
{ json: "numDecision", js: "numDecision", typ: r(void 0, "") },
|
|
1869
|
-
{ json: "odjRef", js: "odjRef", typ: r(void 0, "") },
|
|
1870
|
-
{ json: "provenanceRef", js: "provenanceRef", typ: r(void 0, "") },
|
|
1871
|
-
{
|
|
1872
|
-
json: "rapporteurs",
|
|
1873
|
-
js: "rapporteurs",
|
|
1874
|
-
typ: r(void 0, U(l("Rapporteur")))
|
|
1875
|
-
},
|
|
1876
|
-
{ json: "referenceNor", js: "referenceNor", typ: r(void 0, "") },
|
|
1877
|
-
{ json: "reunionRef", js: "reunionRef", typ: r(void 0, "") },
|
|
1878
|
-
{
|
|
1879
|
-
json: "statutAdoption",
|
|
1880
|
-
js: "statutAdoption",
|
|
1881
|
-
typ: r(void 0, l("FamCodeEtLibelle"))
|
|
1882
|
-
},
|
|
1883
|
-
{
|
|
1884
|
-
json: "statutConclusion",
|
|
1885
|
-
js: "statutConclusion",
|
|
1886
|
-
typ: r(void 0, l("FamCodeEtLibelle"))
|
|
1887
|
-
},
|
|
1888
|
-
{
|
|
1889
|
-
json: "texteAdopteRef",
|
|
1890
|
-
js: "texteAdopteRef",
|
|
1891
|
-
typ: r(void 0, "")
|
|
1892
|
-
},
|
|
1893
|
-
{ json: "texteAssocieRef", js: "texteAssocieRef", typ: r(void 0, "") },
|
|
1894
|
-
{
|
|
1895
|
-
json: "texteEuropeen",
|
|
1896
|
-
js: "texteEuropeen",
|
|
1897
|
-
typ: r(void 0, l("TexteEuropeen"))
|
|
1898
|
-
},
|
|
1899
|
-
{
|
|
1900
|
-
json: "texteExterneAssocie",
|
|
1901
|
-
js: "texteExterneAssocie",
|
|
1902
|
-
typ: r(void 0, l("TexteExterneAssocie"))
|
|
1903
|
-
},
|
|
1904
|
-
{ json: "texteLoiRef", js: "texteLoiRef", typ: r(void 0, "") },
|
|
1905
|
-
{
|
|
1906
|
-
json: "textesAssocies",
|
|
1907
|
-
js: "textesAssocies",
|
|
1908
|
-
typ: r(void 0, U(l("TexteAssocie")))
|
|
1909
|
-
},
|
|
1910
|
-
{ json: "titreLoi", js: "titreLoi", typ: r(void 0, "") },
|
|
1911
|
-
{
|
|
1912
|
-
json: "typeDeclaration",
|
|
1913
|
-
js: "typeDeclaration",
|
|
1914
|
-
typ: r(void 0, l("FamCodeEtLibelle"))
|
|
1915
|
-
},
|
|
1916
|
-
{
|
|
1917
|
-
json: "typeMotion",
|
|
1918
|
-
js: "typeMotion",
|
|
1919
|
-
typ: r(void 0, l("FamCodeEtLibelle"))
|
|
1920
|
-
},
|
|
1921
|
-
{
|
|
1922
|
-
json: "typeMotionCensure",
|
|
1923
|
-
js: "typeMotionCensure",
|
|
1924
|
-
typ: r(void 0, l("FamCodeEtLibelle"))
|
|
1925
|
-
},
|
|
1926
|
-
{ json: "urlConclusion", js: "urlConclusion", typ: r(void 0, "") },
|
|
1927
|
-
{
|
|
1928
|
-
json: "urlEcheancierLoi",
|
|
1929
|
-
js: "urlEcheancierLoi",
|
|
1930
|
-
typ: r(void 0, "")
|
|
1931
|
-
},
|
|
1932
|
-
{
|
|
1933
|
-
json: "urlLegifrance",
|
|
1934
|
-
js: "urlLegifrance",
|
|
1935
|
-
typ: r(void 0, "")
|
|
1936
|
-
},
|
|
1937
|
-
{
|
|
1938
|
-
json: "voteRefs",
|
|
1939
|
-
js: "voteRefs",
|
|
1940
|
-
typ: r(void 0, U(""))
|
|
1941
|
-
}
|
|
1942
|
-
],
|
|
1943
|
-
!1
|
|
1944
|
-
),
|
|
1945
|
-
LibelleActe: P(
|
|
1946
|
-
[
|
|
1947
|
-
{ json: "nomCanonique", js: "nomCanonique", typ: "" },
|
|
1948
|
-
{ json: "libelleCourt", js: "libelleCourt", typ: r(void 0, "") }
|
|
1949
|
-
],
|
|
1950
|
-
!1
|
|
1951
|
-
),
|
|
1952
|
-
Rapporteur: P(
|
|
1953
|
-
[
|
|
1954
|
-
{ json: "acteurRef", js: "acteurRef", typ: "" },
|
|
1955
|
-
{ json: "typeRapporteur", js: "typeRapporteur", typ: l("Qualite") },
|
|
1956
|
-
{ json: "etudePlfRef", js: "etudePlfRef", typ: r(void 0, "") }
|
|
1957
|
-
],
|
|
1958
|
-
!1
|
|
1959
|
-
),
|
|
1960
|
-
FamCodeEtLibelle: P(
|
|
1961
|
-
[
|
|
1962
|
-
{ json: "famCode", js: "famCode", typ: "" },
|
|
1963
|
-
{ json: "libelle", js: "libelle", typ: "" }
|
|
1964
|
-
],
|
|
1965
|
-
!1
|
|
1966
|
-
),
|
|
1967
|
-
TexteAssocie: P(
|
|
1968
|
-
[
|
|
1969
|
-
{ json: "typeTexte", js: "typeTexte", typ: l("TypeTexte") },
|
|
1970
|
-
{ json: "texteAssocieRef", js: "texteAssocieRef", typ: "" }
|
|
1971
|
-
],
|
|
1972
|
-
!1
|
|
1973
|
-
),
|
|
1974
|
-
ContributionInternaute: P(
|
|
1975
|
-
[
|
|
1976
|
-
{ json: "dateOuverture", js: "dateOuverture", typ: r(void 0, "") },
|
|
1977
|
-
{ json: "dateFermeture", js: "dateFermeture", typ: r(void 0, "") }
|
|
1978
|
-
],
|
|
1979
|
-
!1
|
|
1980
|
-
),
|
|
1981
|
-
InfoJoce: P(
|
|
1982
|
-
[
|
|
1983
|
-
{ json: "refJoce", js: "refJoce", typ: "" },
|
|
1984
|
-
{ json: "dateJoce", js: "dateJoce", typ: "" }
|
|
1985
|
-
],
|
|
1986
|
-
!1
|
|
1987
|
-
),
|
|
1988
|
-
InitiateurActeur: P(
|
|
1989
|
-
[
|
|
1990
|
-
{ json: "acteurRef", js: "acteurRef", typ: "" },
|
|
1991
|
-
{ json: "mandatRef", js: "mandatRef", typ: r(void 0, "") }
|
|
1992
|
-
],
|
|
1993
|
-
!1
|
|
1994
|
-
),
|
|
1995
|
-
TexteEuropeen: P(
|
|
1996
|
-
[
|
|
1997
|
-
{ json: "typeTexteEuropeen", js: "typeTexteEuropeen", typ: "" },
|
|
1998
|
-
{ json: "titreTexteEuropeen", js: "titreTexteEuropeen", typ: "" }
|
|
1999
|
-
],
|
|
2000
|
-
!1
|
|
2001
|
-
),
|
|
2002
|
-
InfoJo: P(
|
|
2003
|
-
[
|
|
2004
|
-
{ json: "typeJo", js: "typeJo", typ: l("TypeJo") },
|
|
2005
|
-
{ json: "dateJo", js: "dateJo", typ: "" },
|
|
2006
|
-
{ json: "numJo", js: "numJo", typ: "" },
|
|
2007
|
-
{ json: "urlLegifrance", js: "urlLegifrance", typ: r(void 0, "") },
|
|
2008
|
-
{ json: "referenceNor", js: "referenceNor", typ: r(void 0, "") }
|
|
2009
|
-
],
|
|
2010
|
-
!1
|
|
2011
|
-
),
|
|
2012
|
-
FusionDossier: P(
|
|
2013
|
-
[
|
|
2014
|
-
{ json: "cause", js: "cause", typ: l("Cause") },
|
|
2015
|
-
{ json: "dossierAbsorbantRef", js: "dossierAbsorbantRef", typ: "" }
|
|
2016
|
-
],
|
|
2017
|
-
!1
|
|
2018
|
-
),
|
|
2019
|
-
Indexation: P([{ json: "themes", js: "themes", typ: l("Themes") }], !1),
|
|
2020
|
-
Themes: P(
|
|
2021
|
-
[
|
|
2022
|
-
{ json: "@niveau", js: "@niveau", typ: "" },
|
|
2023
|
-
{ json: "theme", js: "theme", typ: l("Theme") }
|
|
2024
|
-
],
|
|
2025
|
-
!1
|
|
2026
|
-
),
|
|
2027
|
-
Theme: P([{ json: "libelleTheme", js: "libelleTheme", typ: "" }], !1),
|
|
2028
|
-
Initiateur: P(
|
|
2029
|
-
[
|
|
2030
|
-
{
|
|
2031
|
-
json: "acteurs",
|
|
2032
|
-
js: "acteurs",
|
|
2033
|
-
typ: r(void 0, U(l("InitiateurActeur")))
|
|
2034
|
-
},
|
|
2035
|
-
{ json: "organeRef", js: "organeRef", typ: r(void 0, "") }
|
|
2036
|
-
],
|
|
2037
|
-
!1
|
|
2038
|
-
),
|
|
2039
|
-
ProcedureParlementaire: P(
|
|
2040
|
-
[
|
|
2041
|
-
{ json: "code", js: "code", typ: "" },
|
|
2042
|
-
{ json: "libelle", js: "libelle", typ: "" }
|
|
2043
|
-
],
|
|
2044
|
-
!1
|
|
2045
|
-
),
|
|
2046
|
-
TitreDossier: P(
|
|
2047
|
-
[
|
|
2048
|
-
{ json: "titre", js: "titre", typ: "" },
|
|
2049
|
-
{ json: "titreChemin", js: "titreChemin", typ: r(void 0, "") },
|
|
2050
|
-
{ json: "senatChemin", js: "senatChemin", typ: r(void 0, "") }
|
|
2051
|
-
],
|
|
2052
|
-
!1
|
|
2053
|
-
),
|
|
2054
|
-
TexteExterneAssocie: P(
|
|
2055
|
-
[
|
|
2056
|
-
{ json: "typeDoc", js: "typeDoc", typ: l("TexteExterneAssocieTypeDoc") },
|
|
2057
|
-
{ json: "texteRef", js: "texteRef", typ: "" },
|
|
2058
|
-
{ json: "titreDoc", js: "titreDoc", typ: "" },
|
|
2059
|
-
{ json: "urlDoc", js: "urlDoc", typ: "" }
|
|
2060
|
-
],
|
|
2061
|
-
!1
|
|
2062
|
-
),
|
|
2063
|
-
Document: P(
|
|
2064
|
-
[
|
|
2065
|
-
{ json: "schemaVersion", js: "schemaVersion", typ: r(void 0, "") },
|
|
2066
|
-
{ json: "xsiType", js: "xsiType", typ: l("TypeDocument") },
|
|
2067
|
-
{ json: "uid", js: "uid", typ: "" },
|
|
2068
|
-
{ json: "legislature", js: "legislature", typ: r(void 0, "") },
|
|
2069
|
-
{ json: "cycleDeVie", js: "cycleDeVie", typ: l("CycleDeVieDocument") },
|
|
2070
|
-
{
|
|
2071
|
-
json: "denominationStructurelle",
|
|
2072
|
-
js: "denominationStructurelle",
|
|
2073
|
-
typ: l("DocumentDenominationStructurelle")
|
|
2074
|
-
},
|
|
2075
|
-
{
|
|
2076
|
-
json: "provenance",
|
|
2077
|
-
js: "provenance",
|
|
2078
|
-
typ: r(void 0, l("Provenance"))
|
|
2079
|
-
},
|
|
2080
|
-
{ json: "titres", js: "titres", typ: l("Titres") },
|
|
2081
|
-
{
|
|
2082
|
-
json: "divisions",
|
|
2083
|
-
js: "divisions",
|
|
2084
|
-
typ: r(void 0, U(l("Division")))
|
|
2085
|
-
},
|
|
2086
|
-
{ json: "dossierRef", js: "dossierRef", typ: "" },
|
|
2087
|
-
{
|
|
2088
|
-
json: "classification",
|
|
2089
|
-
js: "classification",
|
|
2090
|
-
typ: l("Classification")
|
|
2091
|
-
},
|
|
2092
|
-
{ json: "auteurs", js: "auteurs", typ: U(l("Auteur")) },
|
|
2093
|
-
{
|
|
2094
|
-
json: "correction",
|
|
2095
|
-
js: "correction",
|
|
2096
|
-
typ: r(void 0, l("Correction"))
|
|
2097
|
-
},
|
|
2098
|
-
{ json: "notice", js: "notice", typ: l("Notice") },
|
|
2099
|
-
{
|
|
2100
|
-
json: "indexation",
|
|
2101
|
-
js: "indexation",
|
|
2102
|
-
typ: r(void 0, l("Indexation"))
|
|
2103
|
-
},
|
|
2104
|
-
{
|
|
2105
|
-
json: "imprimerie",
|
|
2106
|
-
js: "imprimerie",
|
|
2107
|
-
typ: r(void 0, l("Imprimerie"))
|
|
2108
|
-
},
|
|
2109
|
-
{
|
|
2110
|
-
json: "coSignataires",
|
|
2111
|
-
js: "coSignataires",
|
|
2112
|
-
typ: r(void 0, U(l("CoSignataireElement")))
|
|
2113
|
-
},
|
|
2114
|
-
{
|
|
2115
|
-
json: "depotAmendements",
|
|
2116
|
-
js: "depotAmendements",
|
|
2117
|
-
typ: r(void 0, l("DepotAmendements"))
|
|
2118
|
-
},
|
|
2119
|
-
{
|
|
2120
|
-
json: "organesReferents",
|
|
2121
|
-
js: "organesReferents",
|
|
2122
|
-
typ: r(void 0, U(""))
|
|
2123
|
-
},
|
|
2124
|
-
{ json: "rapportPublie", js: "rapportPublie", typ: r(void 0, !1) },
|
|
2125
|
-
{
|
|
2126
|
-
json: "subdivisions",
|
|
2127
|
-
js: "subdivisions",
|
|
2128
|
-
typ: r(null, r(void 0, U(l("Subdivision"))))
|
|
2129
|
-
}
|
|
2130
|
-
],
|
|
2131
|
-
!1
|
|
2132
|
-
),
|
|
2133
|
-
Subdivision: P(
|
|
2134
|
-
[
|
|
2135
|
-
{ json: "id", js: "id", typ: "" },
|
|
2136
|
-
{ json: "type", js: "type", typ: r(void 0, "") },
|
|
2137
|
-
{ json: "niveau", js: "niveau", typ: 0 },
|
|
2138
|
-
{ json: "niveauRelatif", js: "niveauRelatif", typ: 0 },
|
|
2139
|
-
{
|
|
2140
|
-
json: "titres",
|
|
2141
|
-
js: "titres",
|
|
2142
|
-
typ: r(null, U(l("ContenuSubdivision")))
|
|
2143
|
-
},
|
|
2144
|
-
{
|
|
2145
|
-
json: "alineas",
|
|
2146
|
-
js: "alineas",
|
|
2147
|
-
typ: r(null, U(l("ContenuSubdivision")))
|
|
2148
|
-
}
|
|
2149
|
-
],
|
|
2150
|
-
!1
|
|
2151
|
-
),
|
|
2152
|
-
ContenuSubdivision: P(
|
|
2153
|
-
[
|
|
2154
|
-
{ json: "texte", js: "texte", typ: r(void 0, "") },
|
|
2155
|
-
{ json: "html", js: "html", typ: r(void 0, "") }
|
|
2156
|
-
],
|
|
2157
|
-
!1
|
|
2158
|
-
),
|
|
2159
|
-
Auteur: P(
|
|
2160
|
-
[
|
|
2161
|
-
{ json: "acteur", js: "acteur", typ: r(void 0, l("AuteurActeur")) },
|
|
2162
|
-
{
|
|
2163
|
-
json: "organeRef",
|
|
2164
|
-
js: "organeRef",
|
|
2165
|
-
typ: r(void 0, "")
|
|
2166
|
-
}
|
|
2167
|
-
],
|
|
2168
|
-
!1
|
|
2169
|
-
),
|
|
2170
|
-
AuteurActeur: P(
|
|
2171
|
-
[
|
|
2172
|
-
{ json: "acteurRef", js: "acteurRef", typ: "" },
|
|
2173
|
-
{ json: "qualite", js: "qualite", typ: l("Qualite") }
|
|
2174
|
-
],
|
|
2175
|
-
!1
|
|
2176
|
-
),
|
|
2177
|
-
Classification: P(
|
|
2178
|
-
[
|
|
2179
|
-
{ json: "famille", js: "famille", typ: r(void 0, l("Famille")) },
|
|
2180
|
-
{ json: "type", js: "type", typ: l("ProcedureParlementaire") },
|
|
2181
|
-
{ json: "sousType", js: "sousType", typ: r(void 0, l("SousType")) },
|
|
2182
|
-
{
|
|
2183
|
-
json: "statutAdoption",
|
|
2184
|
-
js: "statutAdoption",
|
|
2185
|
-
typ: r(void 0, l("StatutAdoption"))
|
|
2186
|
-
}
|
|
2187
|
-
],
|
|
2188
|
-
!1
|
|
2189
|
-
),
|
|
2190
|
-
Famille: P(
|
|
2191
|
-
[
|
|
2192
|
-
{ json: "depot", js: "depot", typ: l("ProcedureParlementaire") },
|
|
2193
|
-
{ json: "classe", js: "classe", typ: l("ProcedureParlementaire") },
|
|
2194
|
-
{
|
|
2195
|
-
json: "espece",
|
|
2196
|
-
js: "espece",
|
|
2197
|
-
typ: r(void 0, l("ProcedureParlementaire"))
|
|
2198
|
-
}
|
|
2199
|
-
],
|
|
2200
|
-
!1
|
|
2201
|
-
),
|
|
2202
|
-
SousType: P(
|
|
2203
|
-
[
|
|
2204
|
-
{ json: "code", js: "code", typ: "" },
|
|
2205
|
-
{ json: "libelle", js: "libelle", typ: r(void 0, "") },
|
|
2206
|
-
{ json: "libelleEdition", js: "libelleEdition", typ: r(void 0, "") }
|
|
2207
|
-
],
|
|
2208
|
-
!1
|
|
2209
|
-
),
|
|
2210
|
-
CoSignataireElement: P(
|
|
2211
|
-
[
|
|
2212
|
-
{
|
|
2213
|
-
json: "acteurRef",
|
|
2214
|
-
js: "acteurRef",
|
|
2215
|
-
typ: r(void 0, "")
|
|
2216
|
-
},
|
|
2217
|
-
{ json: "dateCosignature", js: "dateCosignature", typ: "" },
|
|
2218
|
-
{
|
|
2219
|
-
json: "dateRetraitCosignature",
|
|
2220
|
-
js: "dateRetraitCosignature",
|
|
2221
|
-
typ: r(void 0, "")
|
|
2222
|
-
},
|
|
2223
|
-
{ json: "edite", js: "edite", typ: !1 },
|
|
2224
|
-
{
|
|
2225
|
-
json: "organe",
|
|
2226
|
-
js: "organe",
|
|
2227
|
-
typ: r(void 0, l("CoSignataireOrgane"))
|
|
2228
|
-
}
|
|
2229
|
-
],
|
|
2230
|
-
!1
|
|
2231
|
-
),
|
|
2232
|
-
CoSignataireOrgane: P(
|
|
2233
|
-
[
|
|
2234
|
-
{ json: "organeRef", js: "organeRef", typ: "" },
|
|
2235
|
-
{ json: "etApparentes", js: "etApparentes", typ: !1 }
|
|
2236
|
-
],
|
|
2237
|
-
!1
|
|
2238
|
-
),
|
|
2239
|
-
Correction: P(
|
|
2240
|
-
[
|
|
2241
|
-
{
|
|
2242
|
-
json: "typeCorrection",
|
|
2243
|
-
js: "typeCorrection",
|
|
2244
|
-
typ: l("TypeCorrection")
|
|
2245
|
-
},
|
|
2246
|
-
{
|
|
2247
|
-
json: "niveauCorrection",
|
|
2248
|
-
js: "niveauCorrection",
|
|
2249
|
-
typ: r(void 0, "")
|
|
2250
|
-
}
|
|
2251
|
-
],
|
|
2252
|
-
!1
|
|
2253
|
-
),
|
|
2254
|
-
CycleDeVieDocument: P(
|
|
2255
|
-
[{ json: "chrono", js: "chrono", typ: l("ChronoDocument") }],
|
|
2256
|
-
!1
|
|
2257
|
-
),
|
|
2258
|
-
ChronoDocument: P(
|
|
2259
|
-
[
|
|
2260
|
-
{ json: "dateCreation", js: "dateCreation", typ: r(void 0, Date) },
|
|
2261
|
-
{ json: "dateDepot", js: "dateDepot", typ: r(void 0, Date) },
|
|
2262
|
-
{
|
|
2263
|
-
json: "datePublication",
|
|
2264
|
-
js: "datePublication",
|
|
2265
|
-
typ: r(void 0, Date)
|
|
2266
|
-
},
|
|
2267
|
-
{
|
|
2268
|
-
json: "datePublicationWeb",
|
|
2269
|
-
js: "datePublicationWeb",
|
|
2270
|
-
typ: r(void 0, Date)
|
|
2271
|
-
}
|
|
2272
|
-
],
|
|
2273
|
-
!1
|
|
2274
|
-
),
|
|
2275
|
-
DepotAmendements: P(
|
|
2276
|
-
[
|
|
2277
|
-
{
|
|
2278
|
-
json: "amendementsSeance",
|
|
2279
|
-
js: "amendementsSeance",
|
|
2280
|
-
typ: l("AmendementsSeance")
|
|
2281
|
-
},
|
|
2282
|
-
{
|
|
2283
|
-
json: "amendementsCommission",
|
|
2284
|
-
js: "amendementsCommission",
|
|
2285
|
-
typ: r(void 0, U(l("AmendementsCommission")))
|
|
2286
|
-
}
|
|
2287
|
-
],
|
|
2288
|
-
!1
|
|
2289
|
-
),
|
|
2290
|
-
AmendementsCommission: P(
|
|
2291
|
-
[
|
|
2292
|
-
{ json: "organeRef", js: "organeRef", typ: "" },
|
|
2293
|
-
{ json: "amendable", js: "amendable", typ: !1 }
|
|
2294
|
-
],
|
|
2295
|
-
!1
|
|
2296
|
-
),
|
|
2297
|
-
AmendementsSeance: P(
|
|
2298
|
-
[{ json: "amendable", js: "amendable", typ: !1 }],
|
|
2299
|
-
!1
|
|
2300
|
-
),
|
|
2301
|
-
Division: P(
|
|
2302
|
-
[
|
|
2303
|
-
{ json: "xsiType", js: "xsiType", typ: l("TypeDocument") },
|
|
2304
|
-
{ json: "uid", js: "uid", typ: "" },
|
|
2305
|
-
{ json: "legislature", js: "legislature", typ: r(void 0, "") },
|
|
2306
|
-
{ json: "cycleDeVie", js: "cycleDeVie", typ: l("CycleDeVieDocument") },
|
|
2307
|
-
{
|
|
2308
|
-
json: "denominationStructurelle",
|
|
2309
|
-
js: "denominationStructurelle",
|
|
2310
|
-
typ: ""
|
|
2311
|
-
},
|
|
2312
|
-
{ json: "titres", js: "titres", typ: l("Titres") },
|
|
2313
|
-
{
|
|
2314
|
-
json: "divisions",
|
|
2315
|
-
js: "divisions",
|
|
2316
|
-
typ: r(void 0, U(l("Division")))
|
|
2317
|
-
},
|
|
2318
|
-
{ json: "dossierRef", js: "dossierRef", typ: "" },
|
|
2319
|
-
{
|
|
2320
|
-
json: "classification",
|
|
2321
|
-
js: "classification",
|
|
2322
|
-
typ: l("Classification")
|
|
2323
|
-
},
|
|
2324
|
-
{ json: "auteurs", js: "auteurs", typ: U(l("Auteur")) },
|
|
2325
|
-
{
|
|
2326
|
-
json: "organesReferents",
|
|
2327
|
-
js: "organesReferents",
|
|
2328
|
-
typ: r(void 0, U(""))
|
|
2329
|
-
},
|
|
2330
|
-
{
|
|
2331
|
-
json: "correction",
|
|
2332
|
-
js: "correction",
|
|
2333
|
-
typ: r(void 0, l("Correction"))
|
|
2334
|
-
},
|
|
2335
|
-
{ json: "notice", js: "notice", typ: l("Notice") },
|
|
2336
|
-
{
|
|
2337
|
-
json: "indexation",
|
|
2338
|
-
js: "indexation",
|
|
2339
|
-
typ: r(void 0, l("Indexation"))
|
|
2340
|
-
},
|
|
2341
|
-
{
|
|
2342
|
-
json: "imprimerie",
|
|
2343
|
-
js: "imprimerie",
|
|
2344
|
-
typ: r(void 0, l("Imprimerie"))
|
|
2345
|
-
},
|
|
2346
|
-
{ json: "rapportPublie", js: "rapportPublie", typ: r(void 0, !1) }
|
|
2347
|
-
],
|
|
2348
|
-
!1
|
|
2349
|
-
),
|
|
2350
|
-
Imprimerie: P(
|
|
2351
|
-
[
|
|
2352
|
-
{ json: "dian", js: "dian", typ: r(void 0, "") },
|
|
2353
|
-
{ json: "isbn", js: "isbn", typ: r(void 0, "") },
|
|
2354
|
-
{ json: "issn", js: "issn", typ: r(void 0, "") },
|
|
2355
|
-
{ json: "nbPage", js: "nbPage", typ: r(void 0, "") },
|
|
2356
|
-
{ json: "prix", js: "prix", typ: r(void 0, "") }
|
|
2357
|
-
],
|
|
2358
|
-
!1
|
|
2359
|
-
),
|
|
2360
|
-
Notice: P(
|
|
2361
|
-
[
|
|
2362
|
-
{ json: "numNotice", js: "numNotice", typ: r(void 0, "") },
|
|
2363
|
-
{ json: "formule", js: "formule", typ: r(void 0, "") },
|
|
2364
|
-
{ json: "adoptionConforme", js: "adoptionConforme", typ: !1 }
|
|
2365
|
-
],
|
|
2366
|
-
!1
|
|
2367
|
-
),
|
|
2368
|
-
Titres: P(
|
|
2369
|
-
[
|
|
2370
|
-
{ json: "titrePrincipal", js: "titrePrincipal", typ: "" },
|
|
2371
|
-
{ json: "titrePrincipalCourt", js: "titrePrincipalCourt", typ: "" }
|
|
2372
|
-
],
|
|
2373
|
-
!1
|
|
2374
|
-
),
|
|
2375
|
-
DossierParlementaireXsiType: [
|
|
2376
|
-
"DossierCommissionEnquete_Type",
|
|
2377
|
-
"DossierIniativeExecutif_Type",
|
|
2378
|
-
"DossierLegislatif_Type",
|
|
2379
|
-
"DossierMissionControle_Type",
|
|
2380
|
-
"DossierMissionInformation_Type",
|
|
2381
|
-
"DossierResolutionAN"
|
|
2382
|
-
],
|
|
2383
|
-
TypeBudget: [
|
|
2384
|
-
"Budget annexe",
|
|
2385
|
-
"Budget général",
|
|
2386
|
-
"Compte de concours financier",
|
|
2387
|
-
"Compte spécial",
|
|
2388
|
-
"Première partie"
|
|
2389
|
-
],
|
|
2390
|
-
TypeMission: [
|
|
2391
|
-
"mission principale",
|
|
2392
|
-
"mission secondaire",
|
|
2393
|
-
"partie de mission"
|
|
2394
|
-
],
|
|
2395
|
-
Qualite: [
|
|
2396
|
-
"auteur",
|
|
2397
|
-
"cosignataire",
|
|
2398
|
-
"rapporteur",
|
|
2399
|
-
"rapporteur général",
|
|
2400
|
-
"rapporteur pour avis",
|
|
2401
|
-
"rapporteur spécial"
|
|
2402
|
-
],
|
|
2403
|
-
TypeActeLegislatif: [
|
|
2404
|
-
"Adoption_Europe_Type",
|
|
2405
|
-
"ConclusionEtapeCC_Type",
|
|
2406
|
-
"ConvocationCongres_Type",
|
|
2407
|
-
"CreationOrganeTemporaire_Type",
|
|
2408
|
-
"DecisionMotionCensure_Type",
|
|
2409
|
-
"DecisionRecevabiliteBureau_Type",
|
|
2410
|
-
"Decision_Type",
|
|
2411
|
-
"DeclarationGouvernement_Type",
|
|
2412
|
-
"DepotAccordInternational_Type",
|
|
2413
|
-
"DepotAvisConseilEtat_Type",
|
|
2414
|
-
"DepotInitiativeNavette_Type",
|
|
2415
|
-
"DepotInitiative_Type",
|
|
2416
|
-
"DepotLettreRectificative_Type",
|
|
2417
|
-
"DepotMotionCensure_Type",
|
|
2418
|
-
"DepotMotionReferendaire_Type",
|
|
2419
|
-
"DepotRapport_Type",
|
|
2420
|
-
"DiscussionCommission_Type",
|
|
2421
|
-
"DiscussionSeancePublique_Type",
|
|
2422
|
-
"Etape_Type",
|
|
2423
|
-
"EtudeImpact_Type",
|
|
2424
|
-
"MotionProcedure_Type",
|
|
2425
|
-
"NominRapporteurs_Type",
|
|
2426
|
-
"ProcedureAccelere_Type",
|
|
2427
|
-
"Promulgation_Type",
|
|
2428
|
-
"RenvoiCMP_Type",
|
|
2429
|
-
"RenvoiPrealable_Type",
|
|
2430
|
-
"RetraitInitiative_Type",
|
|
2431
|
-
"SaisieComAvis_Type",
|
|
2432
|
-
"SaisieComFond_Type",
|
|
2433
|
-
"SaisineConseilConstit_Type"
|
|
2434
|
-
],
|
|
2435
|
-
CodeActe: Object.values(Xe),
|
|
2436
|
-
TypeTexte: ["BTA", "TAP"],
|
|
2437
|
-
Motif: ["En application de l'article 61§2 de la Constitution"],
|
|
2438
|
-
TypeJo: ["JO_LOI_DECRET"],
|
|
2439
|
-
Cause: ["Dossier absorbé", "Examen commun"],
|
|
2440
|
-
TexteExterneAssocieTypeDoc: ["Décret"],
|
|
2441
|
-
TypeDocument: [
|
|
2442
|
-
"accordInternational_Type",
|
|
2443
|
-
"avisConseilEtat_Type",
|
|
2444
|
-
"documentEtudeImpact_Type",
|
|
2445
|
-
"rapportParlementaire_Type",
|
|
2446
|
-
"texteLoi_Type"
|
|
2447
|
-
],
|
|
2448
|
-
StatutAdoption: ["ADOPTCOM", "ADOPTSEANCE", "REJETSEANCE"],
|
|
2449
|
-
TypeCorrection: ["Rectifié"],
|
|
2450
|
-
DocumentDenominationStructurelle: [
|
|
2451
|
-
"Allocution",
|
|
2452
|
-
"Avis",
|
|
2453
|
-
"Déclaration",
|
|
2454
|
-
"Lettre",
|
|
2455
|
-
"Message",
|
|
2456
|
-
"Motion",
|
|
2457
|
-
"Projet de loi",
|
|
2458
|
-
"Proposition de loi",
|
|
2459
|
-
"Proposition de résolution",
|
|
2460
|
-
"Rapport",
|
|
2461
|
-
"Rapport d'information",
|
|
2462
|
-
"Résolution"
|
|
2463
|
-
],
|
|
2464
|
-
Provenance: ["Commission", "Séance", "Texte Déposé"]
|
|
2465
|
-
};
|
|
2466
|
-
var Ln = /* @__PURE__ */ ((e) => (e.DecompteDissidentsPositionGroupe = "DecompteDissidentsPositionGroupe", e.DecompteNominatif = "DecompteNominatif", e))(Ln || {}), Jn = /* @__PURE__ */ ((e) => (e.Adopté = "adopté", e.Rejeté = "rejeté", e))(Jn || {}), $n = /* @__PURE__ */ ((e) => (e.LAssembléeNationaleAAdopté = "l'Assemblée nationale a adopté", e.LAssembléeNationaleNAPasAdopté = "L'Assemblée nationale n'a pas adopté", e.LeCongrèsDuParlementAAdopté = "Le Congrès du Parlement a adopté", e.LeCongrèsDuParlementNAPasAdopté = "Le Congrès du Parlement n'a pas adopté", e))($n || {}), qn = /* @__PURE__ */ ((e) => (e.Moc = "MOC", e.Sat = "SAT", e.Spo = "SPO", e.Sps = "SPS", e.Ssg = "SSG", e))(qn || {}), Un = /* @__PURE__ */ ((e) => (e.MotionDeCensure = "motion de censure", e.ScrutinPublicOrdinaire = "scrutin public ordinaire", e.ScrutinPublicSolennel = "scrutin public solennel", e.ScrutinÀLaTribune = "scrutin à la tribune", e.ScrutinSolennelCongrès = "Scrutin solennel congrès", e))(Un || {}), Qn = /* @__PURE__ */ ((e) => (e.MajoritéAbsolueDesSuffragesExprimés = "Majorité absolue des suffrages exprimés", e.majoritéAbsolueDesSuffragesExprimés = "majorité absolue des suffrages exprimés", e.majoritéDesMembresComposantLAssembléeNationale = "majorité des membres composant l'Assemblée nationale", e.majoritéDesMembresComposantsComposantLAssemblée = "majorité des membres composants composant l'Assemblée", e.majoritéDesMembresComposantsComposantLAssembléeNationale = "majorité des membres composants composant l'Assemblée nationale", e.MajoritéRequisePourUnCongrès = "Majorité requise pour un Congrès", e.MajoritéRequisePourUneMotionDeCensure = "Majorité requise pour une motion de censure", e))(Qn || {}), Bn = /* @__PURE__ */ ((e) => (e.Mg = "MG", e.Pan = "PAN", e.Pse = "PSE", e))(Bn || {}), Xn = /* @__PURE__ */ ((e) => (e.Abstention = "abstention", e.Contre = "contre", e.Pour = "pour", e))(Xn || {}), Gn = /* @__PURE__ */ ((e) => (e.Congrès = "Congrès", e.Hémicycle = "Hémicycle", e.Salons = "Salons", e))(Gn || {});
|
|
2467
|
-
let Te = class {
|
|
2468
|
-
static toScrutins(n) {
|
|
2469
|
-
return Le(JSON.parse(n), C("Scrutins"));
|
|
2470
|
-
}
|
|
2471
|
-
static scrutinsToJson(n) {
|
|
2472
|
-
return JSON.stringify(Je(n, C("Scrutins")), null, 2);
|
|
2473
|
-
}
|
|
2474
|
-
static toScrutin(n) {
|
|
2475
|
-
return Le(JSON.parse(n), C("Scrutin"));
|
|
2476
|
-
}
|
|
2477
|
-
static scrutinToJson(n) {
|
|
2478
|
-
return JSON.stringify(Je(n, C("Scrutin")), null, 2);
|
|
2479
|
-
}
|
|
2480
|
-
};
|
|
2481
|
-
function ue(e, n, s = "") {
|
|
2482
|
-
throw Error(
|
|
2483
|
-
s ? `Invalid value for key "${s}". Expected type ${JSON.stringify(
|
|
2484
|
-
e
|
|
2485
|
-
)} but got ${JSON.stringify(n)}` : `Invalid value ${JSON.stringify(n)} for type ${JSON.stringify(e)}`
|
|
2486
|
-
);
|
|
2487
|
-
}
|
|
2488
|
-
function wn(e) {
|
|
2489
|
-
if (e.jsonToJS === void 0) {
|
|
2490
|
-
const n = {};
|
|
2491
|
-
e.props.forEach((s) => n[s.json] = { key: s.js, typ: s.typ }), e.jsonToJS = n;
|
|
2492
|
-
}
|
|
2493
|
-
return e.jsonToJS;
|
|
2494
|
-
}
|
|
2495
|
-
function zn(e) {
|
|
2496
|
-
if (e.jsToJSON === void 0) {
|
|
2497
|
-
const n = {};
|
|
2498
|
-
e.props.forEach((s) => n[s.js] = { key: s.json, typ: s.typ }), e.jsToJSON = n;
|
|
2499
|
-
}
|
|
2500
|
-
return e.jsToJSON;
|
|
2501
|
-
}
|
|
2502
|
-
function je(e, n, s, a = "") {
|
|
2503
|
-
function y(t, o) {
|
|
2504
|
-
return typeof t == typeof o ? o : ue(t, o, a);
|
|
2505
|
-
}
|
|
2506
|
-
function _(t, o) {
|
|
2507
|
-
const u = t.length;
|
|
2508
|
-
for (let S = 0; S < u; S++) {
|
|
2509
|
-
const m = t[S];
|
|
2510
|
-
try {
|
|
2511
|
-
return je(o, m, s);
|
|
2512
|
-
} catch {
|
|
2513
|
-
}
|
|
2514
|
-
}
|
|
2515
|
-
return ue(t, o);
|
|
2516
|
-
}
|
|
2517
|
-
function R(t, o) {
|
|
2518
|
-
return t.indexOf(o) !== -1 ? o : ue(t, o);
|
|
2519
|
-
}
|
|
2520
|
-
function I(t, o) {
|
|
2521
|
-
return Array.isArray(o) ? o.map((u) => je(u, t, s)) : ue("array", o);
|
|
2522
|
-
}
|
|
2523
|
-
function T(t) {
|
|
2524
|
-
if (t === null)
|
|
2525
|
-
return null;
|
|
2526
|
-
const o = new Date(t);
|
|
2527
|
-
return isNaN(o.valueOf()) ? ue("Date", t) : o;
|
|
2528
|
-
}
|
|
2529
|
-
function h(t, o, u) {
|
|
2530
|
-
if (u === null || typeof u != "object" || Array.isArray(u))
|
|
2531
|
-
return ue("object", u);
|
|
2532
|
-
const S = {};
|
|
2533
|
-
return Object.getOwnPropertyNames(t).forEach((m) => {
|
|
2534
|
-
const b = t[m], x = Object.prototype.hasOwnProperty.call(u, m) ? u[m] : void 0;
|
|
2535
|
-
S[b.key] = je(x, b.typ, s, b.key);
|
|
2536
|
-
}), Object.getOwnPropertyNames(u).forEach((m) => {
|
|
2537
|
-
Object.prototype.hasOwnProperty.call(t, m) || (S[m] = je(u[m], o, s, m));
|
|
2538
|
-
}), S;
|
|
2539
|
-
}
|
|
2540
|
-
if (n === "any") return e;
|
|
2541
|
-
if (n === null)
|
|
2542
|
-
return e === null ? e : ue(n, e);
|
|
2543
|
-
for (; typeof n == "object" && n.ref !== void 0; )
|
|
2544
|
-
n = Wn[n.ref];
|
|
2545
|
-
return Array.isArray(n) ? R(n, e) : typeof n == "object" ? n.hasOwnProperty("unionMembers") ? _(n.unionMembers, e) : n.hasOwnProperty("arrayItems") ? I(n.arrayItems, e) : n.hasOwnProperty("props") ? h(s(n), n.additional, e) : ue(n, e) : n === Date && typeof e != "number" ? T(e) : y(n, e);
|
|
2546
|
-
}
|
|
2547
|
-
function Le(e, n) {
|
|
2548
|
-
return je(e, n, wn);
|
|
2549
|
-
}
|
|
2550
|
-
function Je(e, n) {
|
|
2551
|
-
return je(e, n, zn);
|
|
2552
|
-
}
|
|
2553
|
-
function W(e) {
|
|
2554
|
-
return { arrayItems: e };
|
|
2555
|
-
}
|
|
2556
|
-
function $(...e) {
|
|
2557
|
-
return { unionMembers: e };
|
|
2558
|
-
}
|
|
2559
|
-
function Z(e, n) {
|
|
2560
|
-
return { props: e, additional: n };
|
|
2561
|
-
}
|
|
2562
|
-
function C(e) {
|
|
2563
|
-
return { ref: e };
|
|
2564
|
-
}
|
|
2565
|
-
const Wn = {
|
|
2566
|
-
Scrutins: Z(
|
|
2567
|
-
[{ json: "scrutins", js: "scrutins", typ: W(C("Scrutin")) }],
|
|
2568
|
-
!1
|
|
2569
|
-
),
|
|
2570
|
-
Scrutin: Z(
|
|
2571
|
-
[
|
|
2572
|
-
{ json: "schemaVersion", js: "schemaVersion", typ: $(void 0, "") },
|
|
2573
|
-
{ json: "uid", js: "uid", typ: "" },
|
|
2574
|
-
{ json: "numero", js: "numero", typ: "" },
|
|
2575
|
-
{ json: "organeRef", js: "organeRef", typ: "" },
|
|
2576
|
-
{ json: "legislature", js: "legislature", typ: "" },
|
|
2577
|
-
{ json: "sessionRef", js: "sessionRef", typ: "" },
|
|
2578
|
-
{ json: "seanceRef", js: "seanceRef", typ: "" },
|
|
2579
|
-
{ json: "dateScrutin", js: "dateScrutin", typ: Date },
|
|
2580
|
-
{ json: "quantiemeJourSeance", js: "quantiemeJourSeance", typ: "" },
|
|
2581
|
-
{ json: "typeVote", js: "typeVote", typ: C("TypeVote") },
|
|
2582
|
-
{ json: "sort", js: "sort", typ: C("SortScrutin") },
|
|
2583
|
-
{ json: "titre", js: "titre", typ: "" },
|
|
2584
|
-
{ json: "demandeur", js: "demandeur", typ: C("Demandeur") },
|
|
2585
|
-
{ json: "objet", js: "objet", typ: C("ObjetVote") },
|
|
2586
|
-
{
|
|
2587
|
-
json: "modePublicationDesVotes",
|
|
2588
|
-
js: "modePublicationDesVotes",
|
|
2589
|
-
typ: C("ModePublicationDesVotes")
|
|
2590
|
-
},
|
|
2591
|
-
{ json: "syntheseVote", js: "syntheseVote", typ: C("SyntheseVote") },
|
|
2592
|
-
{
|
|
2593
|
-
json: "ventilationVotes",
|
|
2594
|
-
js: "ventilationVotes",
|
|
2595
|
-
typ: C("VentilationVotes")
|
|
2596
|
-
},
|
|
2597
|
-
{
|
|
2598
|
-
json: "miseAuPoint",
|
|
2599
|
-
js: "miseAuPoint",
|
|
2600
|
-
typ: $(void 0, C("MiseAuPoint"))
|
|
2601
|
-
},
|
|
2602
|
-
{ json: "lieuVote", js: "lieuVote", typ: $(void 0, C("LieuVote")) }
|
|
2603
|
-
],
|
|
2604
|
-
!1
|
|
2605
|
-
),
|
|
2606
|
-
Demandeur: Z([{ json: "texte", js: "texte", typ: $(void 0, "") }], !1),
|
|
2607
|
-
MiseAuPoint: Z(
|
|
2608
|
-
[
|
|
2609
|
-
{
|
|
2610
|
-
json: "nonVotants",
|
|
2611
|
-
js: "nonVotants",
|
|
2612
|
-
typ: $(void 0, W(C("Votant")))
|
|
2613
|
-
},
|
|
2614
|
-
{
|
|
2615
|
-
json: "pour",
|
|
2616
|
-
js: "pour",
|
|
2617
|
-
typ: $(void 0, W(C("Votant")))
|
|
2618
|
-
},
|
|
2619
|
-
{
|
|
2620
|
-
json: "contre",
|
|
2621
|
-
js: "contre",
|
|
2622
|
-
typ: $(void 0, W(C("Votant")))
|
|
2623
|
-
},
|
|
2624
|
-
{
|
|
2625
|
-
json: "abstentions",
|
|
2626
|
-
js: "abstentions",
|
|
2627
|
-
typ: $(void 0, W(C("Votant")))
|
|
2628
|
-
},
|
|
2629
|
-
{
|
|
2630
|
-
json: "nonVotantsVolontaires",
|
|
2631
|
-
js: "nonVotantsVolontaires",
|
|
2632
|
-
typ: $(void 0, W(C("Votant")))
|
|
2633
|
-
},
|
|
2634
|
-
{
|
|
2635
|
-
json: "dysfonctionnement",
|
|
2636
|
-
js: "dysfonctionnement",
|
|
2637
|
-
typ: $(void 0, C("Dysfonctionnement"))
|
|
2638
|
-
}
|
|
2639
|
-
],
|
|
2640
|
-
!1
|
|
2641
|
-
),
|
|
2642
|
-
Dysfonctionnement: Z(
|
|
2643
|
-
[
|
|
2644
|
-
{
|
|
2645
|
-
json: "nonVotants",
|
|
2646
|
-
js: "nonVotants",
|
|
2647
|
-
typ: $(void 0, W(C("Votant")))
|
|
2648
|
-
},
|
|
2649
|
-
{
|
|
2650
|
-
json: "pour",
|
|
2651
|
-
js: "pour",
|
|
2652
|
-
typ: $(void 0, W(C("Votant")))
|
|
2653
|
-
},
|
|
2654
|
-
{
|
|
2655
|
-
json: "contre",
|
|
2656
|
-
js: "contre",
|
|
2657
|
-
typ: $(void 0, W(C("Votant")))
|
|
2658
|
-
},
|
|
2659
|
-
{
|
|
2660
|
-
json: "abstentions",
|
|
2661
|
-
js: "abstentions",
|
|
2662
|
-
typ: $(void 0, W(C("Votant")))
|
|
2663
|
-
},
|
|
2664
|
-
{
|
|
2665
|
-
json: "nonVotantsVolontaires",
|
|
2666
|
-
js: "nonVotantsVolontaires",
|
|
2667
|
-
typ: $(void 0, W(C("Votant")))
|
|
2668
|
-
}
|
|
2669
|
-
],
|
|
2670
|
-
!1
|
|
2671
|
-
),
|
|
2672
|
-
ObjetVote: Z([{ json: "libelle", js: "libelle", typ: "" }], !1),
|
|
2673
|
-
SortScrutin: Z(
|
|
2674
|
-
[
|
|
2675
|
-
{ json: "code", js: "code", typ: C("CodeSortScrutin") },
|
|
2676
|
-
{ json: "libelle", js: "libelle", typ: C("LibelleSortScrutin") }
|
|
2677
|
-
],
|
|
2678
|
-
!1
|
|
2679
|
-
),
|
|
2680
|
-
SyntheseVote: Z(
|
|
2681
|
-
[
|
|
2682
|
-
{ json: "nombreVotants", js: "nombreVotants", typ: "" },
|
|
2683
|
-
{ json: "suffragesExprimes", js: "suffragesExprimes", typ: "" },
|
|
2684
|
-
{ json: "nbrSuffragesRequis", js: "nbrSuffragesRequis", typ: "" },
|
|
2685
|
-
{ json: "annonce", js: "annonce", typ: C("LibelleSortScrutin") },
|
|
2686
|
-
{ json: "decompte", js: "decompte", typ: C("DecompteVoix") }
|
|
2687
|
-
],
|
|
2688
|
-
!1
|
|
2689
|
-
),
|
|
2690
|
-
TypeVote: Z(
|
|
2691
|
-
[
|
|
2692
|
-
{ json: "codeTypeVote", js: "codeTypeVote", typ: C("CodeTypeVote") },
|
|
2693
|
-
{
|
|
2694
|
-
json: "libelleTypeVote",
|
|
2695
|
-
js: "libelleTypeVote",
|
|
2696
|
-
typ: C("LibelleTypeVote")
|
|
2697
|
-
},
|
|
2698
|
-
{ json: "typeMajorite", js: "typeMajorite", typ: C("TypeMajorite") }
|
|
2699
|
-
],
|
|
2700
|
-
!1
|
|
2701
|
-
),
|
|
2702
|
-
VentilationVotes: Z(
|
|
2703
|
-
[
|
|
2704
|
-
{ json: "organeRef", js: "organeRef", typ: "" },
|
|
2705
|
-
{ json: "groupes", js: "groupes", typ: W(C("VentilationVotesGroupe")) }
|
|
2706
|
-
],
|
|
2707
|
-
!1
|
|
2708
|
-
),
|
|
2709
|
-
VentilationVotesGroupe: Z(
|
|
2710
|
-
[
|
|
2711
|
-
{ json: "organeRef", js: "organeRef", typ: "" },
|
|
2712
|
-
{ json: "nombreMembresGroupe", js: "nombreMembresGroupe", typ: "" },
|
|
2713
|
-
{ json: "vote", js: "vote", typ: C("Vote") }
|
|
2714
|
-
],
|
|
2715
|
-
!1
|
|
2716
|
-
),
|
|
2717
|
-
Vote: Z(
|
|
2718
|
-
[
|
|
2719
|
-
{
|
|
2720
|
-
json: "positionMajoritaire",
|
|
2721
|
-
js: "positionMajoritaire",
|
|
2722
|
-
typ: C("PositionMajoritaire")
|
|
2723
|
-
},
|
|
2724
|
-
{ json: "decompteVoix", js: "decompteVoix", typ: C("DecompteVoix") },
|
|
2725
|
-
{
|
|
2726
|
-
json: "decompteNominatif",
|
|
2727
|
-
js: "decompteNominatif",
|
|
2728
|
-
typ: C("DecompteNominatif")
|
|
2729
|
-
}
|
|
2730
|
-
],
|
|
2731
|
-
!1
|
|
2732
|
-
),
|
|
2733
|
-
DecompteNominatif: Z(
|
|
2734
|
-
[
|
|
2735
|
-
{
|
|
2736
|
-
json: "nonVotants",
|
|
2737
|
-
js: "nonVotants",
|
|
2738
|
-
typ: $(void 0, W(C("Votant")))
|
|
2739
|
-
},
|
|
2740
|
-
{
|
|
2741
|
-
json: "pour",
|
|
2742
|
-
js: "pour",
|
|
2743
|
-
typ: $(void 0, W(C("Votant")))
|
|
2744
|
-
},
|
|
2745
|
-
{
|
|
2746
|
-
json: "contre",
|
|
2747
|
-
js: "contre",
|
|
2748
|
-
typ: $(void 0, W(C("Votant")))
|
|
2749
|
-
},
|
|
2750
|
-
{
|
|
2751
|
-
json: "abstentions",
|
|
2752
|
-
js: "abstentions",
|
|
2753
|
-
typ: $(void 0, W(C("Votant")))
|
|
2754
|
-
}
|
|
2755
|
-
],
|
|
2756
|
-
!1
|
|
2757
|
-
),
|
|
2758
|
-
Votant: Z(
|
|
2759
|
-
[
|
|
2760
|
-
{ json: "acteurRef", js: "acteurRef", typ: "" },
|
|
2761
|
-
{ json: "mandatRef", js: "mandatRef", typ: "" },
|
|
2762
|
-
{ json: "parDelegation", js: "parDelegation", typ: $(void 0, !1) },
|
|
2763
|
-
{ json: "numPlace", js: "numPlace", typ: $(void 0, 0) },
|
|
2764
|
-
{
|
|
2765
|
-
json: "causePositionVote",
|
|
2766
|
-
js: "causePositionVote",
|
|
2767
|
-
typ: $(void 0, C("CausePositionVote"))
|
|
2768
|
-
}
|
|
2769
|
-
],
|
|
2770
|
-
!1
|
|
2771
|
-
),
|
|
2772
|
-
DecompteVoix: Z(
|
|
2773
|
-
[
|
|
2774
|
-
{ json: "pour", js: "pour", typ: "" },
|
|
2775
|
-
{ json: "contre", js: "contre", typ: "" },
|
|
2776
|
-
{ json: "nonVotants", js: "nonVotants", typ: $(void 0, "") },
|
|
2777
|
-
{ json: "abstentions", js: "abstentions", typ: $(void 0, "") },
|
|
2778
|
-
{
|
|
2779
|
-
json: "nonVotantsVolontaires",
|
|
2780
|
-
js: "nonVotantsVolontaires",
|
|
2781
|
-
typ: $(void 0, "")
|
|
2782
|
-
}
|
|
2783
|
-
],
|
|
2784
|
-
!1
|
|
2785
|
-
),
|
|
2786
|
-
ModePublicationDesVotes: [
|
|
2787
|
-
"DecompteDissidentsPositionGroupe",
|
|
2788
|
-
"DecompteNominatif"
|
|
2789
|
-
],
|
|
2790
|
-
CodeSortScrutin: ["adopté", "rejeté"],
|
|
2791
|
-
LibelleSortScrutin: [
|
|
2792
|
-
"l'Assemblée nationale a adopté",
|
|
2793
|
-
"L'Assemblée nationale n'a pas adopté",
|
|
2794
|
-
"Le Congrès du Parlement a adopté",
|
|
2795
|
-
"Le Congrès du Parlement n'a pas adopté"
|
|
2796
|
-
],
|
|
2797
|
-
CodeTypeVote: ["MOC", "SAT", "SPO", "SPS", "SSG"],
|
|
2798
|
-
LibelleTypeVote: [
|
|
2799
|
-
"motion de censure",
|
|
2800
|
-
"scrutin public ordinaire",
|
|
2801
|
-
"scrutin public solennel",
|
|
2802
|
-
"scrutin à la tribune",
|
|
2803
|
-
"Scrutin solennel congrès"
|
|
2804
|
-
],
|
|
2805
|
-
TypeMajorite: [
|
|
2806
|
-
"Majorité absolue des suffrages exprimés",
|
|
2807
|
-
"majorité absolue des suffrages exprimés",
|
|
2808
|
-
"majorité des membres composant l'Assemblée nationale",
|
|
2809
|
-
"majorité des membres composants composant l'Assemblée",
|
|
2810
|
-
"majorité des membres composants composant l'Assemblée nationale",
|
|
2811
|
-
"Majorité requise pour un Congrès",
|
|
2812
|
-
"Majorité requise pour une motion de censure"
|
|
2813
|
-
],
|
|
2814
|
-
CausePositionVote: ["MG", "PAN", "PSE"],
|
|
2815
|
-
PositionMajoritaire: ["abstention", "contre", "pour"],
|
|
2816
|
-
LieuVote: ["Congrès", "Hémicycle", "Salons"]
|
|
2817
|
-
};
|
|
2818
|
-
var Zn = /* @__PURE__ */ ((e) => (e.JoQuestion = "JO_QUESTION", e.JoLoiDecret = "JO_LOI_DECRET", e.JoDebate = "JO_DEBAT", e))(Zn || {}), Hn = /* @__PURE__ */ ((e) => (e.Qe = "QE", e.Qg = "QG", e.Qosd = "QOSD", e))(Hn || {});
|
|
2819
|
-
let Me = class {
|
|
2820
|
-
static toQuestions(n) {
|
|
2821
|
-
return $e(JSON.parse(n), M("Questions"));
|
|
2822
|
-
}
|
|
2823
|
-
static questionsToJson(n) {
|
|
2824
|
-
return JSON.stringify(qe(n, M("Questions")), null, 2);
|
|
2825
|
-
}
|
|
2826
|
-
static toQuestion(n) {
|
|
2827
|
-
return $e(JSON.parse(n), M("Question"));
|
|
2828
|
-
}
|
|
2829
|
-
static questionToJson(n) {
|
|
2830
|
-
return JSON.stringify(qe(n, M("Question")), null, 2);
|
|
2831
|
-
}
|
|
2832
|
-
};
|
|
2833
|
-
function ne(e, n, s = "") {
|
|
2834
|
-
throw Error(
|
|
2835
|
-
s ? `Invalid value for key "${s}". Expected type ${JSON.stringify(
|
|
2836
|
-
e
|
|
2837
|
-
)} but got ${JSON.stringify(n)}` : `Invalid value ${JSON.stringify(n)} for type ${JSON.stringify(e)}`
|
|
2838
|
-
);
|
|
2839
|
-
}
|
|
2840
|
-
function Kn(e) {
|
|
2841
|
-
if (e.jsonToJS === void 0) {
|
|
2842
|
-
const n = {};
|
|
2843
|
-
e.props.forEach((s) => n[s.json] = { key: s.js, typ: s.typ }), e.jsonToJS = n;
|
|
2844
|
-
}
|
|
2845
|
-
return e.jsonToJS;
|
|
2846
|
-
}
|
|
2847
|
-
function Yn(e) {
|
|
2848
|
-
if (e.jsToJSON === void 0) {
|
|
2849
|
-
const n = {};
|
|
2850
|
-
e.props.forEach((s) => n[s.js] = { key: s.json, typ: s.typ }), e.jsToJSON = n;
|
|
2851
|
-
}
|
|
2852
|
-
return e.jsToJSON;
|
|
2853
|
-
}
|
|
2854
|
-
function me(e, n, s, a = "") {
|
|
2855
|
-
function y(t, o) {
|
|
2856
|
-
return typeof t == typeof o ? o : ne(t, o, a);
|
|
2857
|
-
}
|
|
2858
|
-
function _(t, o) {
|
|
2859
|
-
const u = t.length;
|
|
2860
|
-
for (let S = 0; S < u; S++) {
|
|
2861
|
-
const m = t[S];
|
|
2862
|
-
try {
|
|
2863
|
-
return me(o, m, s);
|
|
2864
|
-
} catch {
|
|
2865
|
-
}
|
|
2866
|
-
}
|
|
2867
|
-
return ne(t, o);
|
|
2868
|
-
}
|
|
2869
|
-
function R(t, o) {
|
|
2870
|
-
return t.indexOf(o) !== -1 ? o : ne(t, o);
|
|
2871
|
-
}
|
|
2872
|
-
function I(t, o) {
|
|
2873
|
-
return Array.isArray(o) ? o.map((u) => me(u, t, s)) : ne("array", o);
|
|
2874
|
-
}
|
|
2875
|
-
function T(t) {
|
|
2876
|
-
if (t === null)
|
|
2877
|
-
return null;
|
|
2878
|
-
const o = new Date(t);
|
|
2879
|
-
return isNaN(o.valueOf()) ? ne("Date", t) : o;
|
|
2880
|
-
}
|
|
2881
|
-
function h(t, o, u) {
|
|
2882
|
-
if (u === null || typeof u != "object" || Array.isArray(u))
|
|
2883
|
-
return ne("object", u);
|
|
2884
|
-
const S = {};
|
|
2885
|
-
return Object.getOwnPropertyNames(t).forEach((m) => {
|
|
2886
|
-
const b = t[m], x = Object.prototype.hasOwnProperty.call(u, m) ? u[m] : void 0;
|
|
2887
|
-
S[b.key] = me(x, b.typ, s, b.key);
|
|
2888
|
-
}), Object.getOwnPropertyNames(u).forEach((m) => {
|
|
2889
|
-
Object.prototype.hasOwnProperty.call(t, m) || (S[m] = me(u[m], o, s, m));
|
|
2890
|
-
}), S;
|
|
2891
|
-
}
|
|
2892
|
-
if (n === "any") return e;
|
|
2893
|
-
if (n === null)
|
|
2894
|
-
return e === null ? e : ne(n, e);
|
|
2895
|
-
if (n === !1) return ne(n, e);
|
|
2896
|
-
for (; typeof n == "object" && n.ref !== void 0; )
|
|
2897
|
-
n = kn[n.ref];
|
|
2898
|
-
return Array.isArray(n) ? R(n, e) : typeof n == "object" ? n.hasOwnProperty("unionMembers") ? _(n.unionMembers, e) : n.hasOwnProperty("arrayItems") ? I(n.arrayItems, e) : n.hasOwnProperty("props") ? h(s(n), n.additional, e) : ne(n, e) : n === Date && typeof e != "number" ? T(e) : y(n, e);
|
|
2899
|
-
}
|
|
2900
|
-
function $e(e, n) {
|
|
2901
|
-
return me(e, n, Kn);
|
|
2902
|
-
}
|
|
2903
|
-
function qe(e, n) {
|
|
2904
|
-
return me(e, n, Yn);
|
|
2905
|
-
}
|
|
2906
|
-
function Ae(e) {
|
|
2907
|
-
return { arrayItems: e };
|
|
2908
|
-
}
|
|
2909
|
-
function B(...e) {
|
|
2910
|
-
return { unionMembers: e };
|
|
2911
|
-
}
|
|
2912
|
-
function X(e, n) {
|
|
2913
|
-
return { props: e, additional: n };
|
|
2914
|
-
}
|
|
2915
|
-
function M(e) {
|
|
2916
|
-
return { ref: e };
|
|
2917
|
-
}
|
|
2918
|
-
const kn = {
|
|
2919
|
-
Questions: X(
|
|
2920
|
-
[{ json: "questions", js: "questions", typ: Ae(M("Question")) }],
|
|
2921
|
-
!1
|
|
2922
|
-
),
|
|
2923
|
-
Question: X(
|
|
2924
|
-
[
|
|
2925
|
-
{ json: "schemaVersion", js: "schemaVersion", typ: B(void 0, "") },
|
|
2926
|
-
{ json: "@xsi:type", js: "@xsi:type", typ: M("QuestionXsiType") },
|
|
2927
|
-
{ json: "uid", js: "uid", typ: "" },
|
|
2928
|
-
{ json: "identifiant", js: "identifiant", typ: M("Identifiant") },
|
|
2929
|
-
{ json: "type", js: "type", typ: M("TypeQuestion") },
|
|
2930
|
-
{ json: "indexationAN", js: "indexationAN", typ: M("IndexationAn") },
|
|
2931
|
-
{ json: "auteur", js: "auteur", typ: M("AuteurQuestion") },
|
|
2932
|
-
{ json: "minInt", js: "minInt", typ: M("Groupe") },
|
|
2933
|
-
{ json: "minAttribs", js: "minAttribs", typ: M("MinAttribs") },
|
|
2934
|
-
{
|
|
2935
|
-
json: "textesQuestion",
|
|
2936
|
-
js: "textesQuestion",
|
|
2937
|
-
typ: B(M("TextesQuestion"), null, void 0)
|
|
2938
|
-
},
|
|
2939
|
-
{
|
|
2940
|
-
json: "textesReponse",
|
|
2941
|
-
js: "textesReponse",
|
|
2942
|
-
typ: B(M("TextesReponse"), null, void 0)
|
|
2943
|
-
},
|
|
2944
|
-
{ json: "cloture", js: "cloture", typ: B(M("Cloture"), null, void 0) },
|
|
2945
|
-
{
|
|
2946
|
-
json: "signalement",
|
|
2947
|
-
js: "signalement",
|
|
2948
|
-
typ: B(M("Signalement"), null, void 0)
|
|
2949
|
-
},
|
|
2950
|
-
{
|
|
2951
|
-
json: "renouvellements",
|
|
2952
|
-
js: "renouvellements",
|
|
2953
|
-
typ: B(M("Renouvellements"), null, void 0)
|
|
2954
|
-
}
|
|
2955
|
-
],
|
|
2956
|
-
!1
|
|
2957
|
-
),
|
|
2958
|
-
AuteurQuestion: X(
|
|
2959
|
-
[
|
|
2960
|
-
{ json: "identite", js: "identite", typ: M("IdentiteAuteurQuestion") },
|
|
2961
|
-
{ json: "groupe", js: "groupe", typ: M("Groupe") }
|
|
2962
|
-
],
|
|
2963
|
-
!1
|
|
2964
|
-
),
|
|
2965
|
-
Groupe: X(
|
|
2966
|
-
[
|
|
2967
|
-
{ json: "organeRef", js: "organeRef", typ: "" },
|
|
2968
|
-
{ json: "abrege", js: "abrege", typ: "" },
|
|
2969
|
-
{ json: "developpe", js: "developpe", typ: "" }
|
|
2970
|
-
],
|
|
2971
|
-
!1
|
|
2972
|
-
),
|
|
2973
|
-
IdentiteAuteurQuestion: X(
|
|
2974
|
-
[
|
|
2975
|
-
{ json: "acteurRef", js: "acteurRef", typ: "" },
|
|
2976
|
-
{ json: "mandatRef", js: "mandatRef", typ: "" }
|
|
2977
|
-
],
|
|
2978
|
-
!1
|
|
2979
|
-
),
|
|
2980
|
-
Cloture: X(
|
|
2981
|
-
[
|
|
2982
|
-
{ json: "codeCloture", js: "codeCloture", typ: "" },
|
|
2983
|
-
{
|
|
2984
|
-
json: "libelleCloture",
|
|
2985
|
-
js: "libelleCloture",
|
|
2986
|
-
typ: ""
|
|
2987
|
-
},
|
|
2988
|
-
{ json: "dateCloture", js: "dateCloture", typ: B(Date, null) },
|
|
2989
|
-
{ json: "infoJO", js: "infoJO", typ: B(M("InfoJoQuestion"), null) }
|
|
2990
|
-
],
|
|
2991
|
-
!1
|
|
2992
|
-
),
|
|
2993
|
-
Identifiant: X(
|
|
2994
|
-
[
|
|
2995
|
-
{ json: "numero", js: "numero", typ: "" },
|
|
2996
|
-
{ json: "regime", js: "regime", typ: "" },
|
|
2997
|
-
{ json: "legislature", js: "legislature", typ: "" }
|
|
2998
|
-
],
|
|
2999
|
-
!1
|
|
3000
|
-
),
|
|
3001
|
-
IndexationAn: X(
|
|
3002
|
-
[
|
|
3003
|
-
{ json: "rubrique", js: "rubrique", typ: B("", null) },
|
|
3004
|
-
{ json: "teteAnalyse", js: "teteAnalyse", typ: null },
|
|
3005
|
-
{ json: "analyses", js: "analyses", typ: M("Analyse") }
|
|
3006
|
-
],
|
|
3007
|
-
!1
|
|
3008
|
-
),
|
|
3009
|
-
Analyse: X([{ json: "analyse", js: "analyse", typ: B("", null) }], !1),
|
|
3010
|
-
MinAttribs: X(
|
|
3011
|
-
[
|
|
3012
|
-
{
|
|
3013
|
-
json: "minAttrib",
|
|
3014
|
-
js: "minAttrib",
|
|
3015
|
-
typ: B(Ae(M("MinAttribElement")), M("MinAttribElement"))
|
|
3016
|
-
}
|
|
3017
|
-
],
|
|
3018
|
-
!1
|
|
3019
|
-
),
|
|
3020
|
-
MinAttribElement: X(
|
|
3021
|
-
[
|
|
3022
|
-
{ json: "infoJO", js: "infoJO", typ: M("InfoJoQuestion") },
|
|
3023
|
-
{ json: "denomination", js: "denomination", typ: M("Groupe") }
|
|
3024
|
-
],
|
|
3025
|
-
!1
|
|
3026
|
-
),
|
|
3027
|
-
InfoJoQuestion: X(
|
|
3028
|
-
[
|
|
3029
|
-
{ json: "typeJO", js: "typeJO", typ: B(M("TypeJoQuestion"), null) },
|
|
3030
|
-
{ json: "dateJO", js: "dateJO", typ: "" },
|
|
3031
|
-
{ json: "pageJO", js: "pageJO", typ: B("", null) },
|
|
3032
|
-
{ json: "numJO", js: "numJO", typ: B("", null) },
|
|
3033
|
-
{ json: "urlLegifrance", js: "urlLegifrance", typ: B("", null) },
|
|
3034
|
-
{ json: "referenceNOR", js: "referenceNOR", typ: B("", null) }
|
|
3035
|
-
],
|
|
3036
|
-
!1
|
|
3037
|
-
),
|
|
3038
|
-
TextesQuestion: X(
|
|
3039
|
-
[
|
|
3040
|
-
{
|
|
3041
|
-
json: "texteQuestion",
|
|
3042
|
-
js: "texteQuestion",
|
|
3043
|
-
typ: B(Ae(M("TexteQuestion")), M("TexteQuestion"))
|
|
3044
|
-
}
|
|
3045
|
-
],
|
|
3046
|
-
!1
|
|
3047
|
-
),
|
|
3048
|
-
TexteQuestion: X(
|
|
3049
|
-
[
|
|
3050
|
-
{ json: "infoJO", js: "infoJO", typ: M("InfoJoQuestion") },
|
|
3051
|
-
{ json: "texte", js: "texte", typ: B("", null) },
|
|
3052
|
-
{ json: "erratum", js: "erratum", typ: B(void 0, "") }
|
|
3053
|
-
],
|
|
3054
|
-
!1
|
|
3055
|
-
),
|
|
3056
|
-
TextesReponse: X(
|
|
3057
|
-
[
|
|
3058
|
-
{
|
|
3059
|
-
json: "texteReponse",
|
|
3060
|
-
js: "texteReponse",
|
|
3061
|
-
typ: B(Ae(M("TexteQuestion")), M("TexteQuestion"))
|
|
3062
|
-
}
|
|
3063
|
-
],
|
|
3064
|
-
!1
|
|
3065
|
-
),
|
|
3066
|
-
Signalement: X(
|
|
3067
|
-
[
|
|
3068
|
-
{ json: "infoJO", js: "infoJO", typ: M("InfoJoQuestion") },
|
|
3069
|
-
{ json: "dateDepotSignal", js: "dateDepotSignal", typ: "" }
|
|
3070
|
-
],
|
|
3071
|
-
!1
|
|
3072
|
-
),
|
|
3073
|
-
Renouvellements: X(
|
|
3074
|
-
[
|
|
3075
|
-
{
|
|
3076
|
-
json: "renouvellement",
|
|
3077
|
-
js: "renouvellement",
|
|
3078
|
-
typ: B(Ae(M("Renouvellement")), M("Renouvellement"))
|
|
3079
|
-
}
|
|
3080
|
-
],
|
|
3081
|
-
!1
|
|
3082
|
-
),
|
|
3083
|
-
Renouvellement: X(
|
|
3084
|
-
[{ json: "infoJO", js: "infoJO", typ: M("InfoJoQuestion") }],
|
|
3085
|
-
!1
|
|
3086
|
-
),
|
|
3087
|
-
QuestionXsiType: [
|
|
3088
|
-
"QuestionEcrite_Type",
|
|
3089
|
-
"QuestionGouvernement_Type",
|
|
3090
|
-
"QuestionOrale_Type"
|
|
3091
|
-
],
|
|
3092
|
-
TypeJoQuestion: ["JO_QUESTION", "JO_LOI_DECRET", "JO_DEBAT"],
|
|
3093
|
-
TypeQuestion: ["QE", "QG", "QOSD"]
|
|
3094
|
-
};
|
|
3095
|
-
var es = /* @__PURE__ */ ((e) => (e.AdoptionAmendementMainLevéeAdt = "ADOPTION amendement (main levée) adt", e.AdoptionDUnArticleVoteÀMainLevée = "ADOPTION d’un article (vote à main levée)", e.AdoptionDUnSousAmendementMainLevéeSsAdt = "ADOPTION d’un sous-amendement (main levée) ss-adt", e.AdoptionDePlusieursAmendementsMainLevéeAdts = "ADOPTION de plusieurs amendements (main levée) adts", e.AdoptionDePlusieursSousAmendementsMainLevéeSsAdts = "ADOPTION de plusieurs sous-amendements (main levée) ss-adts", e.Empty = "", e.RejetDUnAmendementMainLevéeAdt = "REJET d’un amendement (main levée) adt", e.RejetDUnArticleVoteÀMainLevée = "REJET d’un article (vote à main levée)", e.RejetDUnSousAmendementMainLevéeSsAdt = "REJET d’un sous-amendement (main levée) ss-adt", e.RejetDePlusieursAmendementsMainLevéeAdts = "REJET de plusieurs amendements (main levée) adts", e.RejetDePlusieursSousAmendementsMainLevéeSsAdts = "REJET de plusieurs sous-amendements (main levée) ss-adts", e.RejetMotionDeRejetPréalableMainLevée = "REJET motion de rejet préalable (main levée)", e))(es || {});
|
|
3096
|
-
class he {
|
|
3097
|
-
static toComptesRendus(n) {
|
|
3098
|
-
return Ue(JSON.parse(n), N("ComptesRendus"));
|
|
3099
|
-
}
|
|
3100
|
-
static comptesRendusToJson(n) {
|
|
3101
|
-
return JSON.stringify(Qe(n, N("ComptesRendus")), null, 2);
|
|
3102
|
-
}
|
|
3103
|
-
static toCompteRendu(n) {
|
|
3104
|
-
return Ue(JSON.parse(n), N("CompteRendu"));
|
|
3105
|
-
}
|
|
3106
|
-
static compteRenduToJson(n) {
|
|
3107
|
-
return JSON.stringify(Qe(n, N("CompteRendu")), null, 2);
|
|
3108
|
-
}
|
|
3109
|
-
}
|
|
3110
|
-
function se(e, n, s, a = "") {
|
|
3111
|
-
const y = Ie(e), _ = a ? ` on ${a}` : "", R = s ? ` for key "${s}"` : "";
|
|
3112
|
-
throw Error(
|
|
3113
|
-
`Invalid value${R}${_}. Expected ${y} but got ${JSON.stringify(
|
|
3114
|
-
n
|
|
3115
|
-
)}`
|
|
3116
|
-
);
|
|
3117
|
-
}
|
|
3118
|
-
function Ie(e) {
|
|
3119
|
-
return Array.isArray(e) ? e.length === 2 && e[0] === void 0 ? `an optional ${Ie(e[1])}` : `one of [${e.map((n) => Ie(n)).join(", ")}]` : typeof e == "object" && e.literal !== void 0 ? e.literal : typeof e;
|
|
3120
|
-
}
|
|
3121
|
-
function ns(e) {
|
|
3122
|
-
if (e.jsonToJS === void 0) {
|
|
3123
|
-
const n = {};
|
|
3124
|
-
e.props.forEach((s) => n[s.json] = { key: s.js, typ: s.typ }), e.jsonToJS = n;
|
|
3125
|
-
}
|
|
3126
|
-
return e.jsonToJS;
|
|
3127
|
-
}
|
|
3128
|
-
function ss(e) {
|
|
3129
|
-
if (e.jsToJSON === void 0) {
|
|
3130
|
-
const n = {};
|
|
3131
|
-
e.props.forEach((s) => n[s.js] = { key: s.json, typ: s.typ }), e.jsToJSON = n;
|
|
3132
|
-
}
|
|
3133
|
-
return e.jsToJSON;
|
|
3134
|
-
}
|
|
3135
|
-
function de(e, n, s, a = "", y = "") {
|
|
3136
|
-
function _(u, S) {
|
|
3137
|
-
return typeof u == typeof S ? S : se(u, S, a, y);
|
|
3138
|
-
}
|
|
3139
|
-
function R(u, S) {
|
|
3140
|
-
const m = u.length;
|
|
3141
|
-
for (let b = 0; b < m; b++) {
|
|
3142
|
-
const x = u[b];
|
|
3143
|
-
try {
|
|
3144
|
-
return de(S, x, s);
|
|
3145
|
-
} catch {
|
|
3146
|
-
}
|
|
3147
|
-
}
|
|
3148
|
-
return se(u, S, a, y);
|
|
3149
|
-
}
|
|
3150
|
-
function I(u, S) {
|
|
3151
|
-
return u.indexOf(S) !== -1 ? S : se(
|
|
3152
|
-
u.map((m) => ge(m)),
|
|
3153
|
-
S,
|
|
3154
|
-
a,
|
|
3155
|
-
y
|
|
3156
|
-
);
|
|
3157
|
-
}
|
|
3158
|
-
function T(u, S) {
|
|
3159
|
-
return Array.isArray(S) ? S.map((m) => de(m, u, s)) : se(ge("array"), S, a, y);
|
|
3160
|
-
}
|
|
3161
|
-
function h(u) {
|
|
3162
|
-
if (u === null)
|
|
3163
|
-
return null;
|
|
3164
|
-
const S = new Date(u);
|
|
3165
|
-
return isNaN(S.valueOf()) ? se(ge("Date"), u, a, y) : S;
|
|
3166
|
-
}
|
|
3167
|
-
function t(u, S, m) {
|
|
3168
|
-
if (m === null || typeof m != "object" || Array.isArray(m))
|
|
3169
|
-
return se(ge(o || "object"), m, a, y);
|
|
3170
|
-
const b = {};
|
|
3171
|
-
return Object.getOwnPropertyNames(u).forEach((x) => {
|
|
3172
|
-
const Y = u[x], c = Object.prototype.hasOwnProperty.call(m, x) ? m[x] : void 0;
|
|
3173
|
-
b[Y.key] = de(c, Y.typ, s, x, o);
|
|
3174
|
-
}), Object.getOwnPropertyNames(m).forEach((x) => {
|
|
3175
|
-
Object.prototype.hasOwnProperty.call(u, x) || (b[x] = de(m[x], S, s, x, o));
|
|
3176
|
-
}), b;
|
|
3177
|
-
}
|
|
3178
|
-
if (n === "any") return e;
|
|
3179
|
-
if (n === null)
|
|
3180
|
-
return e === null ? e : se(n, e, a, y);
|
|
3181
|
-
if (n === !1) return se(n, e, a, y);
|
|
3182
|
-
let o;
|
|
3183
|
-
for (; typeof n == "object" && n.ref !== void 0; )
|
|
3184
|
-
o = n.ref, n = ts[n.ref];
|
|
3185
|
-
return Array.isArray(n) ? I(n, e) : typeof n == "object" ? n.hasOwnProperty("unionMembers") ? R(n.unionMembers, e) : n.hasOwnProperty("arrayItems") ? T(n.arrayItems, e) : n.hasOwnProperty("props") ? t(s(n), n.additional, e) : se(n, e, a, y) : n === Date && typeof e != "number" ? h(e) : _(n, e);
|
|
3186
|
-
}
|
|
3187
|
-
function Ue(e, n) {
|
|
3188
|
-
return de(e, n, ns);
|
|
3189
|
-
}
|
|
3190
|
-
function Qe(e, n) {
|
|
3191
|
-
return de(e, n, ss);
|
|
3192
|
-
}
|
|
3193
|
-
function ge(e) {
|
|
3194
|
-
return { literal: e };
|
|
3195
|
-
}
|
|
3196
|
-
function G(e) {
|
|
3197
|
-
return { arrayItems: e };
|
|
3198
|
-
}
|
|
3199
|
-
function d(...e) {
|
|
3200
|
-
return { unionMembers: e };
|
|
3201
|
-
}
|
|
3202
|
-
function H(e, n) {
|
|
3203
|
-
return { props: e, additional: n };
|
|
3204
|
-
}
|
|
3205
|
-
function N(e) {
|
|
3206
|
-
return { ref: e };
|
|
3207
|
-
}
|
|
3208
|
-
const ts = {
|
|
3209
|
-
ComptesRendus: H(
|
|
3210
|
-
[{ json: "comptesRendus", js: "comptesRendus", typ: G(N("CompteRendu")) }],
|
|
3211
|
-
!1
|
|
3212
|
-
),
|
|
3213
|
-
CompteRendu: H(
|
|
3214
|
-
[
|
|
3215
|
-
{ json: "schemaVersion", js: "schemaVersion", typ: d(void 0, "") },
|
|
3216
|
-
{ json: "uid", js: "uid", typ: d(void 0, "") },
|
|
3217
|
-
{ json: "seanceRef", js: "seanceRef", typ: "" },
|
|
3218
|
-
{ json: "sessionRef", js: "sessionRef", typ: "" },
|
|
3219
|
-
{ json: "metadonnees", js: "metadonnees", typ: N("Metadonnees") },
|
|
3220
|
-
{ json: "contenu", js: "contenu", typ: N("Contenu") }
|
|
3221
|
-
],
|
|
3222
|
-
!1
|
|
3223
|
-
),
|
|
3224
|
-
Contenu: H(
|
|
3225
|
-
[
|
|
3226
|
-
{ json: "quantiemes", js: "quantiemes", typ: N("Quantiemes") },
|
|
3227
|
-
{
|
|
3228
|
-
json: "ouvertureSeance",
|
|
3229
|
-
js: "ouvertureSeance",
|
|
3230
|
-
typ: d(void 0, d(G(N("Point")), N("Point")))
|
|
3231
|
-
},
|
|
3232
|
-
{ json: "point", js: "point", typ: d(G(N("Point")), N("Point")) },
|
|
3233
|
-
{ json: "finSeance", js: "finSeance", typ: d(void 0, N("FinSeance")) },
|
|
3234
|
-
{
|
|
3235
|
-
json: "paragraphe",
|
|
3236
|
-
js: "paragraphe",
|
|
3237
|
-
typ: d(void 0, G(N("Point")))
|
|
3238
|
-
}
|
|
3239
|
-
],
|
|
3240
|
-
!1
|
|
3241
|
-
),
|
|
3242
|
-
FinSeance: H([{ json: "point", js: "point", typ: N("Point") }], !1),
|
|
3243
|
-
Orateurs: H(
|
|
3244
|
-
[
|
|
3245
|
-
{
|
|
3246
|
-
json: "orateur",
|
|
3247
|
-
js: "orateur",
|
|
3248
|
-
typ: d(G(N("OrateurElement")), N("OrateurElement"))
|
|
3249
|
-
}
|
|
3250
|
-
],
|
|
3251
|
-
!1
|
|
3252
|
-
),
|
|
3253
|
-
OrateurElement: H(
|
|
3254
|
-
[
|
|
3255
|
-
{ json: "nom", js: "nom", typ: d(void 0, "") },
|
|
3256
|
-
{ json: "id", js: "id", typ: d(void 0, "") },
|
|
3257
|
-
{ json: "qualite", js: "qualite", typ: d(void 0, "") }
|
|
3258
|
-
],
|
|
3259
|
-
!1
|
|
3260
|
-
),
|
|
3261
|
-
Texte: H(
|
|
3262
|
-
[
|
|
3263
|
-
{ json: "_", js: "_", typ: d(void 0, "") },
|
|
3264
|
-
{ json: "id_syceron", js: "id_syceron", typ: d(void 0, "") },
|
|
3265
|
-
{ json: "stime", js: "stime", typ: d(void 0, "") },
|
|
3266
|
-
{ json: "sup", js: "sup", typ: d(void 0, "") },
|
|
3267
|
-
{
|
|
3268
|
-
json: "lienAdt",
|
|
3269
|
-
js: "lienAdt",
|
|
3270
|
-
typ: d(void 0, d(G(N("Texte")), N("Texte")))
|
|
3271
|
-
}
|
|
3272
|
-
],
|
|
3273
|
-
!1
|
|
3274
|
-
),
|
|
3275
|
-
Point: H(
|
|
3276
|
-
[
|
|
3277
|
-
{ json: "nivpoint", js: "nivpoint", typ: d(void 0, "") },
|
|
3278
|
-
{ json: "valeur_ptsodj", js: "valeur_ptsodj", typ: d(void 0, "") },
|
|
3279
|
-
{ json: "ordinal_prise", js: "ordinal_prise", typ: d(void 0, "") },
|
|
3280
|
-
{ json: "id_preparation", js: "id_preparation", typ: d(void 0, "") },
|
|
3281
|
-
{
|
|
3282
|
-
json: "ordre_absolu_seance",
|
|
3283
|
-
js: "ordre_absolu_seance",
|
|
3284
|
-
typ: d(void 0, "")
|
|
3285
|
-
},
|
|
3286
|
-
{ json: "code_grammaire", js: "code_grammaire", typ: d(void 0, "") },
|
|
3287
|
-
{ json: "code_style", js: "code_style", typ: d(void 0, "") },
|
|
3288
|
-
{ json: "code_parole", js: "code_parole", typ: d(void 0, "") },
|
|
3289
|
-
{ json: "sommaire", js: "sommaire", typ: d(void 0, "") },
|
|
3290
|
-
{ json: "id_syceron", js: "id_syceron", typ: d(void 0, "") },
|
|
3291
|
-
{ json: "valeur", js: "valeur", typ: d(void 0, "") },
|
|
3292
|
-
{
|
|
3293
|
-
json: "orateurs",
|
|
3294
|
-
js: "orateurs",
|
|
3295
|
-
typ: d(N("Orateurs"), d("", void 0))
|
|
3296
|
-
},
|
|
3297
|
-
{ json: "texte", js: "texte", typ: d(N("Texte"), d("", void 0)) },
|
|
3298
|
-
{
|
|
3299
|
-
json: "paragraphe",
|
|
3300
|
-
js: "paragraphe",
|
|
3301
|
-
typ: d(void 0, d(G(N("Point")), N("Point")))
|
|
3302
|
-
},
|
|
3303
|
-
{
|
|
3304
|
-
json: "interExtraction",
|
|
3305
|
-
js: "interExtraction",
|
|
3306
|
-
typ: d(void 0, d(G(N("Point")), N("Point")))
|
|
3307
|
-
},
|
|
3308
|
-
{
|
|
3309
|
-
json: "point",
|
|
3310
|
-
js: "point",
|
|
3311
|
-
typ: d(void 0, d(G(N("Point")), N("Point")))
|
|
3312
|
-
},
|
|
3313
|
-
{ json: "structure", js: "structure", typ: d(void 0, "") },
|
|
3314
|
-
{ json: "id_acteur", js: "id_acteur", typ: d(void 0, "") },
|
|
3315
|
-
{ json: "id_mandat", js: "id_mandat", typ: d(void 0, "") },
|
|
3316
|
-
{
|
|
3317
|
-
json: "id_nomination_oe",
|
|
3318
|
-
js: "id_nomination_oe",
|
|
3319
|
-
typ: d(void 0, "")
|
|
3320
|
-
},
|
|
3321
|
-
{
|
|
3322
|
-
json: "id_nomination_op",
|
|
3323
|
-
js: "id_nomination_op",
|
|
3324
|
-
typ: d(void 0, "")
|
|
3325
|
-
},
|
|
3326
|
-
{ json: "orateur", js: "orateur", typ: d(void 0, "") },
|
|
3327
|
-
{ json: "bibard", js: "bibard", typ: d(void 0, "") },
|
|
3328
|
-
{ json: "art", js: "art", typ: d(void 0, "") },
|
|
3329
|
-
{ json: "adt", js: "adt", typ: d(void 0, "") },
|
|
3330
|
-
{ json: "ssadt", js: "ssadt", typ: d(void 0, "") },
|
|
3331
|
-
{ json: "roledebat", js: "roledebat", typ: d(void 0, "") },
|
|
3332
|
-
{ json: "type_debat", js: "type_debat", typ: d(void 0, "") },
|
|
3333
|
-
{
|
|
3334
|
-
json: "changementPresidence",
|
|
3335
|
-
js: "changementPresidence",
|
|
3336
|
-
typ: d(void 0, d(G(N("Point")), N("Point")))
|
|
3337
|
-
},
|
|
3338
|
-
{ json: "decision", js: "decision", typ: d(void 0, N("Decision")) },
|
|
3339
|
-
{
|
|
3340
|
-
json: "ouvertureSeance",
|
|
3341
|
-
js: "ouvertureSeance",
|
|
3342
|
-
typ: d(void 0, N("Point"))
|
|
3343
|
-
},
|
|
3344
|
-
{ json: "nom_orateur", js: "nom_orateur", typ: d(void 0, "") },
|
|
3345
|
-
{ json: "qualite", js: "qualite", typ: d(void 0, "") }
|
|
3346
|
-
],
|
|
3347
|
-
!1
|
|
3348
|
-
),
|
|
3349
|
-
Quantiemes: H(
|
|
3350
|
-
[
|
|
3351
|
-
{ json: "journee", js: "journee", typ: "" },
|
|
3352
|
-
{ json: "session", js: "session", typ: "" }
|
|
3353
|
-
],
|
|
3354
|
-
!1
|
|
3355
|
-
),
|
|
3356
|
-
Metadonnees: H(
|
|
3357
|
-
[
|
|
3358
|
-
{ json: "dateSeance", js: "dateSeance", typ: "" },
|
|
3359
|
-
{ json: "dateSeanceJour", js: "dateSeanceJour", typ: "" },
|
|
3360
|
-
{ json: "numSeanceJour", js: "numSeanceJour", typ: "" },
|
|
3361
|
-
{ json: "numSeance", js: "numSeance", typ: "" },
|
|
3362
|
-
{ json: "typeAssemblee", js: "typeAssemblee", typ: "" },
|
|
3363
|
-
{ json: "legislature", js: "legislature", typ: "" },
|
|
3364
|
-
{ json: "session", js: "session", typ: "" },
|
|
3365
|
-
{ json: "nomFichierJo", js: "nomFichierJo", typ: "" },
|
|
3366
|
-
{ json: "validite", js: "validite", typ: "" },
|
|
3367
|
-
{ json: "etat", js: "etat", typ: "" },
|
|
3368
|
-
{ json: "diffusion", js: "diffusion", typ: "" },
|
|
3369
|
-
{ json: "version", js: "version", typ: "" },
|
|
3370
|
-
{ json: "environnement", js: "environnement", typ: "" },
|
|
3371
|
-
{ json: "heureGeneration", js: "heureGeneration", typ: Date },
|
|
3372
|
-
{ json: "sommaire", js: "sommaire", typ: N("Sommaire") }
|
|
3373
|
-
],
|
|
3374
|
-
!1
|
|
3375
|
-
),
|
|
3376
|
-
Sommaire: H(
|
|
3377
|
-
[
|
|
3378
|
-
{ json: "presidentSeance", js: "presidentSeance", typ: N("Texte") },
|
|
3379
|
-
{
|
|
3380
|
-
json: "sommaire1",
|
|
3381
|
-
js: "sommaire1",
|
|
3382
|
-
typ: d(G(N("SommaireElement")), N("SommaireElement"))
|
|
3383
|
-
},
|
|
3384
|
-
{
|
|
3385
|
-
json: "sommaire3",
|
|
3386
|
-
js: "sommaire3",
|
|
3387
|
-
typ: d(void 0, d(G(N("SommaireElement")), N("SommaireElement")))
|
|
3388
|
-
},
|
|
3389
|
-
{
|
|
3390
|
-
json: "sommaire2",
|
|
3391
|
-
js: "sommaire2",
|
|
3392
|
-
typ: d(void 0, d(G(N("SommaireElement")), N("SommaireElement")))
|
|
3393
|
-
},
|
|
3394
|
-
{
|
|
3395
|
-
json: "para",
|
|
3396
|
-
js: "para",
|
|
3397
|
-
typ: d(void 0, d(G(N("Texte")), N("Texte")))
|
|
3398
|
-
}
|
|
3399
|
-
],
|
|
3400
|
-
!1
|
|
3401
|
-
),
|
|
3402
|
-
SommaireElement: H(
|
|
3403
|
-
[
|
|
3404
|
-
{ json: "valeur_pts_odj", js: "valeur_pts_odj", typ: d(void 0, "") },
|
|
3405
|
-
{
|
|
3406
|
-
json: "titreStruct",
|
|
3407
|
-
js: "titreStruct",
|
|
3408
|
-
typ: d(void 0, N("TitreStruct"))
|
|
3409
|
-
},
|
|
3410
|
-
{
|
|
3411
|
-
json: "para",
|
|
3412
|
-
js: "para",
|
|
3413
|
-
typ: d(void 0, d(G(d(N("Texte"), "")), N("Texte")))
|
|
3414
|
-
},
|
|
3415
|
-
{
|
|
3416
|
-
json: "sommaire2",
|
|
3417
|
-
js: "sommaire2",
|
|
3418
|
-
typ: d(void 0, d(G(N("SommaireElement")), N("SommaireElement")))
|
|
3419
|
-
},
|
|
3420
|
-
{
|
|
3421
|
-
json: "sommaire3",
|
|
3422
|
-
js: "sommaire3",
|
|
3423
|
-
typ: d(void 0, d(G(N("SommaireElement")), N("SommaireElement")))
|
|
3424
|
-
},
|
|
3425
|
-
{
|
|
3426
|
-
json: "presidentSeance",
|
|
3427
|
-
js: "presidentSeance",
|
|
3428
|
-
typ: d(void 0, d(G(N("Texte")), N("Texte")))
|
|
3429
|
-
},
|
|
3430
|
-
{ json: "type_debat", js: "type_debat", typ: d(void 0, "") }
|
|
3431
|
-
],
|
|
3432
|
-
!1
|
|
3433
|
-
),
|
|
3434
|
-
TitreStruct: H(
|
|
3435
|
-
[
|
|
3436
|
-
{ json: "id_syceron", js: "id_syceron", typ: "" },
|
|
3437
|
-
{ json: "intitule", js: "intitule", typ: d(void 0, "") },
|
|
3438
|
-
{ json: "sousIntitule", js: "sousIntitule", typ: d(void 0, "") },
|
|
3439
|
-
{ json: "type_debat", js: "type_debat", typ: d(void 0, "") }
|
|
3440
|
-
],
|
|
3441
|
-
!1
|
|
3442
|
-
),
|
|
3443
|
-
Decision: [
|
|
3444
|
-
"ADOPTION amendement (main levée) adt",
|
|
3445
|
-
"ADOPTION d’un article (vote à main levée)",
|
|
3446
|
-
"ADOPTION d’un sous-amendement (main levée) ss-adt",
|
|
3447
|
-
"ADOPTION de plusieurs amendements (main levée) adts",
|
|
3448
|
-
"ADOPTION de plusieurs sous-amendements (main levée) ss-adts",
|
|
3449
|
-
"",
|
|
3450
|
-
"REJET d’un amendement (main levée) adt",
|
|
3451
|
-
"REJET d’un article (vote à main levée)",
|
|
3452
|
-
"REJET d’un sous-amendement (main levée) ss-adt",
|
|
3453
|
-
"REJET de plusieurs amendements (main levée) adts",
|
|
3454
|
-
"REJET de plusieurs sous-amendements (main levée) ss-adts",
|
|
3455
|
-
"REJET motion de rejet préalable (main levée)"
|
|
3456
|
-
]
|
|
3457
|
-
};
|
|
3458
|
-
function os(e) {
|
|
3459
|
-
const n = [
|
|
3460
|
-
"",
|
|
3461
|
-
"I",
|
|
3462
|
-
"II",
|
|
3463
|
-
"III",
|
|
3464
|
-
"IV",
|
|
3465
|
-
"V",
|
|
3466
|
-
"VI",
|
|
3467
|
-
"VII",
|
|
3468
|
-
"VIII",
|
|
3469
|
-
"IX",
|
|
3470
|
-
"X",
|
|
3471
|
-
"XI",
|
|
3472
|
-
"XII",
|
|
3473
|
-
"XIII",
|
|
3474
|
-
"XIV",
|
|
3475
|
-
"XV",
|
|
3476
|
-
"XVI",
|
|
3477
|
-
"XVII"
|
|
3478
|
-
];
|
|
3479
|
-
if (e < 1 || e >= n.length) throw new Error("Invalid legislature");
|
|
3480
|
-
return n[e];
|
|
3481
|
-
}
|
|
3482
|
-
const is = /^((?<documentType>ACIN|ALCN|AVCE|AVIS|DECL|ETDI|LETT|MESS|MION|PION|PNRE|PRJL|RAPP|RINF|RION)(?<chambre>AN|CG|SN)(?<republique>R\d+)[LS](?<legislature>\d+)(?<etat>B|BTA|BTC|TAP)(?<numero>\d+)(-.*)?)|((?<documentType2>MION)(?<chambre2>AN|SN)(?<republique2>R\d+)[LS](?<legislature2>\d+)-N(?<numero2>\d+))$/, rs = /^DL(R\d+)(L\d+)N(\d+)$/, as = /^RU(AN|CG|SN)(R\d+)(L\d+)([AS]\d{4})(IDC|IDFL?|IDS)(\d+)$/, us = /^VT(AN|CG)(R\d+)(L\d+)V(\d+)$/, ls = /^CR(S|C)(AN|CG)(R\d+)(L\d+)(S\d+)((?:O|E|D|PO)\d+)(N\d+)$/, ps = /^QAN(R\d+)(L\d+)Q(E|G|OSD)(\d+)$/;
|
|
3483
|
-
function* te(e, n, s, a, y, _ = "json", { noValidation: R = !1, log: I = !1 } = {}) {
|
|
3484
|
-
const T = /* @__PURE__ */ new Set();
|
|
3485
|
-
for (const h of s) {
|
|
3486
|
-
if (h.ignoreForWeb || !cs(n, h))
|
|
3487
|
-
continue;
|
|
3488
|
-
const t = new RegExp(`\\.${_}$`), o = i.join(
|
|
3489
|
-
e,
|
|
3490
|
-
h.filename.replace(t, "_nettoye")
|
|
3491
|
-
);
|
|
3492
|
-
for (const u of k(o, y)) {
|
|
3493
|
-
if (!u[u.length - 1].endsWith(".json"))
|
|
3494
|
-
continue;
|
|
3495
|
-
const m = i.join(o, ...u);
|
|
3496
|
-
I && console.log(`Loading file: ${m}…`);
|
|
3497
|
-
let b = p.readFileSync(m, { encoding: "utf8" });
|
|
3498
|
-
const x = R ? JSON.parse(b) : a(b);
|
|
3499
|
-
T.has(x.uid) || (T.add(x.uid), yield { item: x, datasetLegislature: h.legislature }, b = null);
|
|
3500
|
-
}
|
|
3501
|
-
}
|
|
3502
|
-
T.clear();
|
|
3503
|
-
}
|
|
3504
|
-
function cs(e, n) {
|
|
3505
|
-
const s = Array.isArray(e) ? e : e !== void 0 ? [e] : [];
|
|
3506
|
-
return e === void 0 || s.includes(0) || n.legislature === f.All ? !0 : s.includes(n.legislature);
|
|
3507
|
-
}
|
|
3508
|
-
function* bs(e, n, s = {}) {
|
|
3509
|
-
for (const {
|
|
3510
|
-
item: a,
|
|
3511
|
-
datasetLegislature: y
|
|
3512
|
-
} of te(
|
|
3513
|
-
e,
|
|
3514
|
-
n,
|
|
3515
|
-
Q.acteursEtOrganes,
|
|
3516
|
-
ve.toActeur,
|
|
3517
|
-
["acteurs"],
|
|
3518
|
-
"json",
|
|
3519
|
-
s
|
|
3520
|
-
))
|
|
3521
|
-
yield { acteur: a, datasetLegislature: y };
|
|
3522
|
-
}
|
|
3523
|
-
function* Es(e, n, s = {}) {
|
|
3524
|
-
for (const {
|
|
3525
|
-
item: a,
|
|
3526
|
-
datasetLegislature: y
|
|
3527
|
-
} of te(
|
|
3528
|
-
e,
|
|
3529
|
-
n,
|
|
3530
|
-
Q.acteursEtOrganes,
|
|
3531
|
-
ve.toOrgane,
|
|
3532
|
-
["organes"],
|
|
3533
|
-
"json",
|
|
3534
|
-
s
|
|
3535
|
-
))
|
|
3536
|
-
yield { organe: a, datasetLegislature: y };
|
|
3537
|
-
}
|
|
3538
|
-
function* _s(e, n, s = {}) {
|
|
3539
|
-
for (const {
|
|
3540
|
-
item: a,
|
|
3541
|
-
datasetLegislature: y
|
|
3542
|
-
} of te(
|
|
3543
|
-
e,
|
|
3544
|
-
n,
|
|
3545
|
-
Q.amendements,
|
|
3546
|
-
Pe.toAmendement,
|
|
3547
|
-
[],
|
|
3548
|
-
"json",
|
|
3549
|
-
s
|
|
3550
|
-
))
|
|
3551
|
-
yield { amendement: a, datasetLegislature: y };
|
|
3552
|
-
}
|
|
3553
|
-
function* Rs(e, n, s = {}) {
|
|
3554
|
-
for (const {
|
|
3555
|
-
item: a,
|
|
3556
|
-
datasetLegislature: y
|
|
3557
|
-
} of te(
|
|
3558
|
-
e,
|
|
3559
|
-
n,
|
|
3560
|
-
Q.dossiersLegislatifs,
|
|
3561
|
-
De.toDocument,
|
|
3562
|
-
["documents"],
|
|
3563
|
-
"json",
|
|
3564
|
-
s
|
|
3565
|
-
))
|
|
3566
|
-
yield { document: a, datasetLegislature: y };
|
|
3567
|
-
}
|
|
3568
|
-
function* Is(e, n, s = {}) {
|
|
3569
|
-
for (const {
|
|
3570
|
-
item: a,
|
|
3571
|
-
datasetLegislature: y
|
|
3572
|
-
} of te(
|
|
3573
|
-
e,
|
|
3574
|
-
n,
|
|
3575
|
-
Q.dossiersLegislatifs,
|
|
3576
|
-
De.toDossierParlementaire,
|
|
3577
|
-
["dossiers"],
|
|
3578
|
-
"json",
|
|
3579
|
-
s
|
|
3580
|
-
))
|
|
3581
|
-
yield { dossierParlementaire: a, datasetLegislature: y };
|
|
3582
|
-
}
|
|
3583
|
-
function* Ps(e, n, s = {}) {
|
|
3584
|
-
for (const {
|
|
3585
|
-
item: a,
|
|
3586
|
-
datasetLegislature: y
|
|
3587
|
-
} of te(
|
|
3588
|
-
e,
|
|
3589
|
-
n,
|
|
3590
|
-
Q.agendas,
|
|
3591
|
-
Ce.toReunion,
|
|
3592
|
-
[],
|
|
3593
|
-
"json",
|
|
3594
|
-
s
|
|
3595
|
-
))
|
|
3596
|
-
yield { reunion: a, datasetLegislature: y };
|
|
3597
|
-
}
|
|
3598
|
-
function* Cs(e, n, s = {}) {
|
|
3599
|
-
for (const {
|
|
3600
|
-
item: a,
|
|
3601
|
-
datasetLegislature: y
|
|
3602
|
-
} of te(
|
|
3603
|
-
e,
|
|
3604
|
-
n,
|
|
3605
|
-
Q.scrutins,
|
|
3606
|
-
Te.toScrutin,
|
|
3607
|
-
[],
|
|
3608
|
-
"json",
|
|
3609
|
-
s
|
|
3610
|
-
))
|
|
3611
|
-
yield { scrutin: a, datasetLegislature: y };
|
|
3612
|
-
}
|
|
3613
|
-
function* Ts(e, n, s = {}) {
|
|
3614
|
-
for (const {
|
|
3615
|
-
item: a,
|
|
3616
|
-
datasetLegislature: y
|
|
3617
|
-
} of te(
|
|
3618
|
-
e,
|
|
3619
|
-
n,
|
|
3620
|
-
Q.questions,
|
|
3621
|
-
Me.toQuestion,
|
|
3622
|
-
[],
|
|
3623
|
-
"json",
|
|
3624
|
-
s
|
|
3625
|
-
))
|
|
3626
|
-
yield { question: a, datasetLegislature: y };
|
|
3627
|
-
}
|
|
3628
|
-
function* Ms(e, n, s = {}) {
|
|
3629
|
-
for (const {
|
|
3630
|
-
item: a,
|
|
3631
|
-
datasetLegislature: y
|
|
3632
|
-
} of te(
|
|
3633
|
-
e,
|
|
3634
|
-
n,
|
|
3635
|
-
Q.comptesRendusSeances,
|
|
3636
|
-
he.toCompteRendu,
|
|
3637
|
-
[],
|
|
3638
|
-
"xml",
|
|
3639
|
-
s
|
|
3640
|
-
))
|
|
3641
|
-
yield { compteRendu: a, datasetLegislature: y };
|
|
3642
|
-
}
|
|
3643
|
-
function* hs(e, n) {
|
|
3644
|
-
const s = `Comptes_Rendus_Commissions_${os(n)}_nettoye`, a = i.join(e, s);
|
|
3645
|
-
if (p.existsSync(a))
|
|
3646
|
-
for (const y of Ge(a))
|
|
3647
|
-
try {
|
|
3648
|
-
const _ = p.readFileSync(y, "utf-8");
|
|
3649
|
-
yield {
|
|
3650
|
-
compteRendu: JSON.parse(_),
|
|
3651
|
-
datasetLegislature: n
|
|
3652
|
-
};
|
|
3653
|
-
} catch (_) {
|
|
3654
|
-
console.warn(`Erreur lors de la lecture du fichier ${y} :`, _);
|
|
3655
|
-
}
|
|
3656
|
-
}
|
|
3657
|
-
function* Ge(e) {
|
|
3658
|
-
if (p.existsSync(e))
|
|
3659
|
-
for (const n of p.readdirSync(e, { withFileTypes: !0 })) {
|
|
3660
|
-
const s = i.join(e, n.name);
|
|
3661
|
-
n.isDirectory() ? yield* Ge(s) : n.isFile() && s.endsWith(".json") && (yield s);
|
|
3662
|
-
}
|
|
3663
|
-
}
|
|
3664
|
-
function xs(e, n, s, { log: a = !1 } = {}) {
|
|
3665
|
-
const y = {}, _ = {};
|
|
3666
|
-
if (n & w.ActeursEtOrganes)
|
|
3667
|
-
for (const c of Q.acteursEtOrganes) {
|
|
3668
|
-
if (c.ignoreForWeb || s !== f.All && c.legislature !== f.All && s !== c.legislature)
|
|
3669
|
-
continue;
|
|
3670
|
-
const v = i.join(
|
|
3671
|
-
e,
|
|
3672
|
-
c.filename.replace(/\.json$/, "_nettoye")
|
|
3673
|
-
);
|
|
3674
|
-
for (const D of k(v, ["acteurs"])) {
|
|
3675
|
-
if (!D[D.length - 1].endsWith(".json"))
|
|
3676
|
-
continue;
|
|
3677
|
-
const A = i.join(v, ...D);
|
|
3678
|
-
a && console.log(`Loading file: ${A}…`);
|
|
3679
|
-
const F = p.readFileSync(A, {
|
|
3680
|
-
encoding: "utf8"
|
|
3681
|
-
}), g = ve.toActeur(F);
|
|
3682
|
-
y[g.uid] === void 0 && (y[g.uid] = g);
|
|
3683
|
-
}
|
|
3684
|
-
for (const D of k(v, ["organes"])) {
|
|
3685
|
-
if (!D[D.length - 1].endsWith(".json"))
|
|
3686
|
-
continue;
|
|
3687
|
-
const A = i.join(v, ...D);
|
|
3688
|
-
a && console.log(`Loading file: ${A}…`);
|
|
3689
|
-
const F = p.readFileSync(A, {
|
|
3690
|
-
encoding: "utf8"
|
|
3691
|
-
}), g = ve.toOrgane(F);
|
|
3692
|
-
_[g.uid] === void 0 && (_[g.uid] = g);
|
|
3693
|
-
}
|
|
3694
|
-
}
|
|
3695
|
-
const R = {}, I = {}, T = {};
|
|
3696
|
-
if (n & w.Agendas)
|
|
3697
|
-
for (const c of Q.agendas) {
|
|
3698
|
-
if (c.ignoreForWeb || s !== f.All && c.legislature !== f.All && s !== c.legislature)
|
|
3699
|
-
continue;
|
|
3700
|
-
const v = i.join(
|
|
3701
|
-
e,
|
|
3702
|
-
c.filename.replace(/\.json$/, "_nettoye")
|
|
3703
|
-
);
|
|
3704
|
-
for (const D of k(v)) {
|
|
3705
|
-
if (!D[D.length - 1].endsWith(".json"))
|
|
3706
|
-
continue;
|
|
3707
|
-
const A = i.join(v, ...D);
|
|
3708
|
-
a && console.log(`Loading file: ${A}…`);
|
|
3709
|
-
const F = p.readFileSync(A, {
|
|
3710
|
-
encoding: "utf8"
|
|
3711
|
-
}), g = Ce.toReunion(F);
|
|
3712
|
-
R[g.uid] === void 0 && (R[g.uid] = g);
|
|
3713
|
-
const K = g.timestampDebut.toISOString().split("T")[0];
|
|
3714
|
-
let fe = I[K];
|
|
3715
|
-
fe === void 0 && (fe = I[K] = []), fe.push(g);
|
|
3716
|
-
const ye = g.odj;
|
|
3717
|
-
if (ye !== void 0)
|
|
3718
|
-
for (const Se of ye.pointsOdj || [])
|
|
3719
|
-
for (const xe of Se.dossiersLegislatifsRefs || []) {
|
|
3720
|
-
let Oe = T[xe];
|
|
3721
|
-
Oe === void 0 && (Oe = T[xe] = []), Oe.push(g);
|
|
3722
|
-
}
|
|
3723
|
-
}
|
|
3724
|
-
}
|
|
3725
|
-
const h = {};
|
|
3726
|
-
if (n & w.Amendements)
|
|
3727
|
-
for (const c of Q.amendements) {
|
|
3728
|
-
if (c.ignoreForWeb || s !== f.All && c.legislature !== f.All && s !== c.legislature)
|
|
3729
|
-
continue;
|
|
3730
|
-
const v = i.join(
|
|
3731
|
-
e,
|
|
3732
|
-
c.filename.replace(/\.json$/, "_nettoye")
|
|
3733
|
-
);
|
|
3734
|
-
for (const D of k(v)) {
|
|
3735
|
-
if (!D[D.length - 1].endsWith(".json"))
|
|
3736
|
-
continue;
|
|
3737
|
-
const A = i.join(v, ...D);
|
|
3738
|
-
a && console.log(`Loading file: ${A}…`);
|
|
3739
|
-
const F = p.readFileSync(A, {
|
|
3740
|
-
encoding: "utf8"
|
|
3741
|
-
}), g = Pe.toAmendement(F);
|
|
3742
|
-
h[g.uid] === void 0 && (h[g.uid] = g);
|
|
3743
|
-
}
|
|
3744
|
-
}
|
|
3745
|
-
const t = {}, o = {}, u = {}, S = {};
|
|
3746
|
-
if (n & w.DossiersLegislatifs)
|
|
3747
|
-
for (const c of Q.dossiersLegislatifs) {
|
|
3748
|
-
if (c.ignoreForWeb || s !== f.All && c.legislature !== f.All && s !== c.legislature)
|
|
3749
|
-
continue;
|
|
3750
|
-
const v = i.join(
|
|
3751
|
-
e,
|
|
3752
|
-
c.filename.replace(/\.json$/, "_nettoye")
|
|
3753
|
-
);
|
|
3754
|
-
for (const D of k(v, ["documents"])) {
|
|
3755
|
-
if (!D[D.length - 1].endsWith(".json"))
|
|
3756
|
-
continue;
|
|
3757
|
-
const A = i.join(v, ...D);
|
|
3758
|
-
a && console.log(`Loading file: ${A}…`);
|
|
3759
|
-
const F = p.readFileSync(A, {
|
|
3760
|
-
encoding: "utf8"
|
|
3761
|
-
}), g = De.toDocument(F);
|
|
3762
|
-
t[g.uid] === void 0 && (t[g.uid] = g);
|
|
3763
|
-
}
|
|
3764
|
-
for (const D of k(v, ["dossiers"])) {
|
|
3765
|
-
if (!D[D.length - 1].endsWith(".json"))
|
|
3766
|
-
continue;
|
|
3767
|
-
const A = i.join(v, ...D);
|
|
3768
|
-
a && console.log(`Loading file: ${A}…`);
|
|
3769
|
-
const F = p.readFileSync(A, {
|
|
3770
|
-
encoding: "utf8"
|
|
3771
|
-
}), g = De.toDossierParlementaire(F), K = g.titreDossier;
|
|
3772
|
-
K.senatChemin && o[K.senatChemin] === void 0 && (o[K.senatChemin] = g), K.titreChemin && u[K.titreChemin] === void 0 && (u[K.titreChemin] = g), S[g.uid] === void 0 && (S[g.uid] = g);
|
|
3773
|
-
}
|
|
3774
|
-
}
|
|
3775
|
-
let m = {};
|
|
3776
|
-
if (n & w.Photos) {
|
|
3777
|
-
{
|
|
3778
|
-
const c = i.join(
|
|
3779
|
-
e,
|
|
3780
|
-
`photos_deputes_${// TODO: Handle Legislature.All.
|
|
3781
|
-
s === f.All ? f.DixSept : s}`,
|
|
3782
|
-
"deputes.json"
|
|
3783
|
-
);
|
|
3784
|
-
if (p.existsSync(c)) {
|
|
3785
|
-
a && console.log(`Loading file: ${c}`);
|
|
3786
|
-
const v = p.readFileSync(c, { encoding: "utf8" });
|
|
3787
|
-
Object.assign(m, JSON.parse(v));
|
|
3788
|
-
} else a && console.log(`Ignoring missing file: ${c}`);
|
|
3789
|
-
}
|
|
3790
|
-
{
|
|
3791
|
-
const c = i.join(
|
|
3792
|
-
e,
|
|
3793
|
-
"photos_senateurs",
|
|
3794
|
-
"senateurs.json"
|
|
3795
|
-
);
|
|
3796
|
-
if (p.existsSync(c)) {
|
|
3797
|
-
a && console.log(`Loading file: ${c}`);
|
|
3798
|
-
const v = p.readFileSync(c, { encoding: "utf8" });
|
|
3799
|
-
Object.assign(m, JSON.parse(v));
|
|
3800
|
-
} else a && console.log(`Ignoring missing file: ${c}`);
|
|
3801
|
-
}
|
|
3802
|
-
}
|
|
3803
|
-
const b = {};
|
|
3804
|
-
if (n & w.Scrutins)
|
|
3805
|
-
for (const c of Q.scrutins) {
|
|
3806
|
-
if (c.ignoreForWeb || s !== f.All && c.legislature !== f.All && s !== c.legislature)
|
|
3807
|
-
continue;
|
|
3808
|
-
const v = i.join(
|
|
3809
|
-
e,
|
|
3810
|
-
c.filename.replace(/\.json$/, "_nettoye")
|
|
3811
|
-
);
|
|
3812
|
-
for (const D of k(v)) {
|
|
3813
|
-
if (!D[D.length - 1].endsWith(".json"))
|
|
3814
|
-
continue;
|
|
3815
|
-
const A = i.join(v, ...D);
|
|
3816
|
-
a && console.log(`Loading file: ${A}…`);
|
|
3817
|
-
const F = p.readFileSync(A, {
|
|
3818
|
-
encoding: "utf8"
|
|
3819
|
-
}), g = Te.toScrutin(F);
|
|
3820
|
-
b[g.uid] === void 0 && (b[g.uid] = g);
|
|
3821
|
-
}
|
|
3822
|
-
}
|
|
3823
|
-
const x = {};
|
|
3824
|
-
if (n & w.Questions)
|
|
3825
|
-
for (const c of Q.questions) {
|
|
3826
|
-
if (c.ignoreForWeb || s !== f.All && c.legislature !== f.All && s !== c.legislature)
|
|
3827
|
-
continue;
|
|
3828
|
-
const v = i.join(
|
|
3829
|
-
e,
|
|
3830
|
-
c.filename.replace(/\.json$/, "_nettoye")
|
|
3831
|
-
);
|
|
3832
|
-
for (const D of k(v)) {
|
|
3833
|
-
if (!D[D.length - 1].endsWith(".json"))
|
|
3834
|
-
continue;
|
|
3835
|
-
const A = i.join(v, ...D);
|
|
3836
|
-
a && console.log(`Loading file: ${A}…`);
|
|
3837
|
-
const F = p.readFileSync(A, {
|
|
3838
|
-
encoding: "utf8"
|
|
3839
|
-
}), g = Me.toQuestion(F);
|
|
3840
|
-
x[g.uid] === void 0 && (x[g.uid] = g);
|
|
3841
|
-
}
|
|
3842
|
-
}
|
|
3843
|
-
const Y = {};
|
|
3844
|
-
if (n & w.ComptesRendusSeances)
|
|
3845
|
-
for (const c of Q.comptesRendusSeances) {
|
|
3846
|
-
if (c.ignoreForWeb || s !== f.All && c.legislature !== f.All && s !== c.legislature)
|
|
3847
|
-
continue;
|
|
3848
|
-
const v = i.join(
|
|
3849
|
-
e,
|
|
3850
|
-
c.filename.replace(/\.json$/, "_nettoye")
|
|
3851
|
-
);
|
|
3852
|
-
for (const D of k(v)) {
|
|
3853
|
-
if (!D[D.length - 1].endsWith(".json"))
|
|
3854
|
-
continue;
|
|
3855
|
-
const A = i.join(v, ...D);
|
|
3856
|
-
a && console.log(`Loading file: ${A}…`);
|
|
3857
|
-
const F = p.readFileSync(A, {
|
|
3858
|
-
encoding: "utf8"
|
|
3859
|
-
}), g = he.toCompteRendu(F);
|
|
3860
|
-
Y[g.uid] === void 0 && (Y[g.uid] = g);
|
|
3861
|
-
}
|
|
3862
|
-
}
|
|
3863
|
-
return {
|
|
3864
|
-
acteurByUid: y,
|
|
3865
|
-
amendementByUid: h,
|
|
3866
|
-
documentByUid: t,
|
|
3867
|
-
dossierParlementaireBySenatChemin: o,
|
|
3868
|
-
dossierParlementaireByTitreChemin: u,
|
|
3869
|
-
dossierParlementaireByUid: S,
|
|
3870
|
-
organeByUid: _,
|
|
3871
|
-
photoByUid: m,
|
|
3872
|
-
reunionByUid: R,
|
|
3873
|
-
reunionsByDay: I,
|
|
3874
|
-
reunionsByDossierUid: T,
|
|
3875
|
-
scrutinByUid: b,
|
|
3876
|
-
questionByUid: x,
|
|
3877
|
-
compteRenduByUid: Y
|
|
3878
|
-
};
|
|
3879
|
-
}
|
|
3880
|
-
function Vs(e, n, s, { log: a = !1 } = {}) {
|
|
3881
|
-
const y = {}, _ = {};
|
|
3882
|
-
if (n & w.ActeursEtOrganes)
|
|
3883
|
-
for (const c of Q.acteursEtOrganes) {
|
|
3884
|
-
if (c.ignoreForWeb || s !== f.All && c.legislature !== f.All && s !== c.legislature)
|
|
3885
|
-
continue;
|
|
3886
|
-
const v = i.join(
|
|
3887
|
-
e,
|
|
3888
|
-
c.filename.replace(/\.json$/, "_nettoye.json")
|
|
3889
|
-
);
|
|
3890
|
-
a && console.log(`Loading file: ${v}`);
|
|
3891
|
-
const D = p.readFileSync(v, { encoding: "utf8" }), q = ve.toActeursEtOrganes(D);
|
|
3892
|
-
for (const A of q.acteurs)
|
|
3893
|
-
y[A.uid] === void 0 && (y[A.uid] = A);
|
|
3894
|
-
for (const A of q.organes)
|
|
3895
|
-
_[A.uid] === void 0 && (_[A.uid] = A);
|
|
3896
|
-
}
|
|
3897
|
-
const R = {}, I = {}, T = {};
|
|
3898
|
-
if (n & w.Agendas)
|
|
3899
|
-
for (const c of Q.agendas) {
|
|
3900
|
-
if (c.ignoreForWeb || s !== f.All && c.legislature !== f.All && s !== c.legislature)
|
|
3901
|
-
continue;
|
|
3902
|
-
const v = i.join(
|
|
3903
|
-
e,
|
|
3904
|
-
c.filename.replace(/\.json$/, "_nettoye.json")
|
|
3905
|
-
);
|
|
3906
|
-
a && console.log(`Loading file: ${v}`);
|
|
3907
|
-
const D = p.readFileSync(v, { encoding: "utf8" }), q = Ce.toAgendas(D);
|
|
3908
|
-
for (const A of q.reunions) {
|
|
3909
|
-
R[A.uid] === void 0 && (R[A.uid] = A);
|
|
3910
|
-
const F = A.timestampDebut.toISOString().split("T")[0];
|
|
3911
|
-
let g = I[F];
|
|
3912
|
-
g === void 0 && (g = I[F] = []), g.push(A);
|
|
3913
|
-
const K = A.odj;
|
|
3914
|
-
if (K !== void 0)
|
|
3915
|
-
for (const fe of K.pointsOdj || [])
|
|
3916
|
-
for (const ye of fe.dossiersLegislatifsRefs || []) {
|
|
3917
|
-
let Se = T[ye];
|
|
3918
|
-
Se === void 0 && (Se = T[ye] = []), Se.push(A);
|
|
3919
|
-
}
|
|
3920
|
-
}
|
|
3921
|
-
}
|
|
3922
|
-
const h = {};
|
|
3923
|
-
if (n & w.Amendements)
|
|
3924
|
-
for (const c of Q.amendements) {
|
|
3925
|
-
if (c.ignoreForWeb || s !== f.All && c.legislature !== f.All && s !== c.legislature)
|
|
3926
|
-
continue;
|
|
3927
|
-
const v = i.join(
|
|
3928
|
-
e,
|
|
3929
|
-
c.filename.replace(/\.json$/, "_nettoye.json")
|
|
3930
|
-
);
|
|
3931
|
-
a && console.log(`Loading file: ${v}`);
|
|
3932
|
-
const D = p.readFileSync(v, { encoding: "utf8" }), q = Pe.toAmendements(D);
|
|
3933
|
-
for (const A of q.textesLegislatifs)
|
|
3934
|
-
for (const F of A.amendements)
|
|
3935
|
-
h[F.uid] === void 0 && (h[F.uid] = F);
|
|
3936
|
-
}
|
|
3937
|
-
const t = {}, o = {}, u = {}, S = {};
|
|
3938
|
-
if (n & w.DossiersLegislatifs)
|
|
3939
|
-
for (const c of Q.dossiersLegislatifs) {
|
|
3940
|
-
if (c.ignoreForWeb || s !== f.All && c.legislature !== f.All && s !== c.legislature)
|
|
3941
|
-
continue;
|
|
3942
|
-
const v = i.join(
|
|
3943
|
-
e,
|
|
3944
|
-
c.filename.replace(/\.json$/, "_nettoye.json")
|
|
3945
|
-
);
|
|
3946
|
-
a && console.log(`Loading file: ${v}`);
|
|
3947
|
-
const D = p.readFileSync(v, { encoding: "utf8" }), q = De.toDossiersLegislatifs(D);
|
|
3948
|
-
for (const A of q.textesLegislatifs)
|
|
3949
|
-
t[A.uid] === void 0 && (t[A.uid] = A);
|
|
3950
|
-
for (const A of q.dossiersParlementaires) {
|
|
3951
|
-
const F = A.titreDossier;
|
|
3952
|
-
F.senatChemin && o[F.senatChemin] === void 0 && (o[F.senatChemin] = A), F.titreChemin && u[F.titreChemin] === void 0 && (u[F.titreChemin] = A), S[A.uid] === void 0 && (S[A.uid] = A);
|
|
3953
|
-
}
|
|
3954
|
-
}
|
|
3955
|
-
const m = {};
|
|
3956
|
-
if (n & w.Photos) {
|
|
3957
|
-
const c = {};
|
|
3958
|
-
{
|
|
3959
|
-
const v = i.join(
|
|
3960
|
-
e,
|
|
3961
|
-
`photos_deputes_${// TODO: Handle Legislature.All.
|
|
3962
|
-
s === f.All ? f.DixSept : s}`,
|
|
3963
|
-
"deputes.json"
|
|
3964
|
-
);
|
|
3965
|
-
if (p.existsSync(v)) {
|
|
3966
|
-
a && console.log(`Loading file: ${v}`);
|
|
3967
|
-
const D = p.readFileSync(v, { encoding: "utf8" });
|
|
3968
|
-
Object.assign(c, JSON.parse(D));
|
|
3969
|
-
} else a && console.log(`Ignoring missing file: ${v}`);
|
|
3970
|
-
}
|
|
3971
|
-
{
|
|
3972
|
-
const v = i.join(
|
|
3973
|
-
e,
|
|
3974
|
-
"photos_senateurs",
|
|
3975
|
-
"senateurs.json"
|
|
3976
|
-
);
|
|
3977
|
-
if (p.existsSync(v)) {
|
|
3978
|
-
a && console.log(`Loading file: ${v}`);
|
|
3979
|
-
const D = p.readFileSync(v, { encoding: "utf8" });
|
|
3980
|
-
Object.assign(c, JSON.parse(D));
|
|
3981
|
-
} else a && console.log(`Ignoring missing file: ${v}`);
|
|
3982
|
-
}
|
|
3983
|
-
}
|
|
3984
|
-
const b = {};
|
|
3985
|
-
if (n & w.Scrutins)
|
|
3986
|
-
for (const c of Q.scrutins) {
|
|
3987
|
-
if (c.ignoreForWeb || s !== f.All && c.legislature !== f.All && s !== c.legislature)
|
|
3988
|
-
continue;
|
|
3989
|
-
const v = i.join(
|
|
3990
|
-
e,
|
|
3991
|
-
c.filename.replace(/\.json$/, "_nettoye.json")
|
|
3992
|
-
);
|
|
3993
|
-
a && console.log(`Loading file: ${v}`);
|
|
3994
|
-
const D = p.readFileSync(v, { encoding: "utf8" }), q = Te.toScrutins(D);
|
|
3995
|
-
for (const A of q.scrutins)
|
|
3996
|
-
b[A.uid] === void 0 && (b[A.uid] = A);
|
|
3997
|
-
}
|
|
3998
|
-
const x = {};
|
|
3999
|
-
if (n & w.Questions)
|
|
4000
|
-
for (const c of Q.questions) {
|
|
4001
|
-
if (c.ignoreForWeb || s !== f.All && c.legislature !== f.All && s !== c.legislature)
|
|
4002
|
-
continue;
|
|
4003
|
-
const v = i.join(
|
|
4004
|
-
e,
|
|
4005
|
-
c.filename.replace(/\.json$/, "_nettoye.json")
|
|
4006
|
-
);
|
|
4007
|
-
a && console.log(`Loading file: ${v}`);
|
|
4008
|
-
const D = p.readFileSync(v, { encoding: "utf8" }), q = Me.toQuestions(D);
|
|
4009
|
-
for (const A of q.questions)
|
|
4010
|
-
x[A.uid] === void 0 && (x[A.uid] = A);
|
|
4011
|
-
}
|
|
4012
|
-
const Y = {};
|
|
4013
|
-
if (n & w.ComptesRendusSeances)
|
|
4014
|
-
for (const c of Q.comptesRendusSeances) {
|
|
4015
|
-
if (c.ignoreForWeb || s !== f.All && c.legislature !== f.All && s !== c.legislature)
|
|
4016
|
-
continue;
|
|
4017
|
-
const v = i.join(
|
|
4018
|
-
e,
|
|
4019
|
-
c.filename.replace(/\.json$/, "_nettoye.json")
|
|
4020
|
-
);
|
|
4021
|
-
a && console.log(`Loading file: ${v}`);
|
|
4022
|
-
const D = p.readFileSync(v, { encoding: "utf8" }), q = he.toComptesRendus(D);
|
|
4023
|
-
for (const A of q.comptesRendus)
|
|
4024
|
-
Y[A.uid] === void 0 && (Y[A.uid] = A);
|
|
4025
|
-
}
|
|
4026
|
-
return {
|
|
4027
|
-
acteurByUid: y,
|
|
4028
|
-
amendementByUid: h,
|
|
4029
|
-
documentByUid: t,
|
|
4030
|
-
dossierParlementaireBySenatChemin: o,
|
|
4031
|
-
dossierParlementaireByTitreChemin: u,
|
|
4032
|
-
dossierParlementaireByUid: S,
|
|
4033
|
-
organeByUid: _,
|
|
4034
|
-
photoByUid: m,
|
|
4035
|
-
reunionByUid: R,
|
|
4036
|
-
reunionsByDay: I,
|
|
4037
|
-
reunionsByDossierUid: T,
|
|
4038
|
-
scrutinByUid: b,
|
|
4039
|
-
questionByUid: x,
|
|
4040
|
-
compteRenduByUid: Y
|
|
4041
|
-
};
|
|
4042
|
-
}
|
|
4043
|
-
function Fs(e, n, s) {
|
|
4044
|
-
const a = i.join(e, "Documents"), y = js(a, n), _ = i.join(y, "index.json");
|
|
4045
|
-
if (!p.pathExistsSync(_))
|
|
4046
|
-
return;
|
|
4047
|
-
const R = p.readJsonSync(_);
|
|
4048
|
-
for (const I of s)
|
|
4049
|
-
for (const { filename: T, url: h } of R[I] ?? [])
|
|
4050
|
-
if (T !== void 0)
|
|
4051
|
-
return { format: I, path: i.join(y, T), url: h };
|
|
4052
|
-
}
|
|
4053
|
-
function Ls(e, n, { log: s = !1 } = {}) {
|
|
4054
|
-
const a = i.join(
|
|
4055
|
-
e,
|
|
4056
|
-
`photos_deputes_${// TODO: Handle Legislature.All.
|
|
4057
|
-
n === f.All ? f.DixSept : n}`,
|
|
4058
|
-
"deputes.json"
|
|
4059
|
-
);
|
|
4060
|
-
s && console.log(`Loading file: ${a}`);
|
|
4061
|
-
const y = p.readFileSync(a, { encoding: "utf8" });
|
|
4062
|
-
return JSON.parse(y);
|
|
4063
|
-
}
|
|
4064
|
-
function Js(e, { log: n = !1 } = {}) {
|
|
4065
|
-
const s = i.join(
|
|
4066
|
-
e,
|
|
4067
|
-
"photos_senateurs",
|
|
4068
|
-
"senateurs.json"
|
|
4069
|
-
);
|
|
4070
|
-
n && console.log(`Loading file: ${s}`);
|
|
4071
|
-
const a = p.readFileSync(s, { encoding: "utf8" });
|
|
4072
|
-
return JSON.parse(a);
|
|
4073
|
-
}
|
|
4074
|
-
function js(e, n) {
|
|
4075
|
-
const s = n.match(is);
|
|
4076
|
-
Ne.notStrictEqual(
|
|
4077
|
-
s,
|
|
4078
|
-
null,
|
|
4079
|
-
`Unexpected structure for document UID: ${n}`
|
|
4080
|
-
);
|
|
4081
|
-
const a = s.groups, y = i.join(
|
|
4082
|
-
e,
|
|
4083
|
-
a.documentType ?? a.documentType2
|
|
4084
|
-
), _ = i.join(y, a.chambre ?? a.chambre2), R = i.join(
|
|
4085
|
-
_,
|
|
4086
|
-
a.republique ?? a.republique2
|
|
4087
|
-
), I = i.join(
|
|
4088
|
-
R,
|
|
4089
|
-
a.legislature ?? a.legislature2
|
|
4090
|
-
), T = a.etat;
|
|
4091
|
-
if (T === void 0)
|
|
4092
|
-
return p.ensureDirSync(I), i.join(I, n);
|
|
4093
|
-
const h = i.join(I, T);
|
|
4094
|
-
let t = "000000" + (a.numero ?? a.numero2);
|
|
4095
|
-
t = t.substring(t.length - 6);
|
|
4096
|
-
const o = i.join(h, t.substring(0, 3));
|
|
4097
|
-
return p.ensureDirSync(o), i.join(o, n);
|
|
4098
|
-
}
|
|
4099
|
-
function $s(e, n) {
|
|
4100
|
-
return we(e, n, rs);
|
|
4101
|
-
}
|
|
4102
|
-
function qs(e, n) {
|
|
4103
|
-
const s = as.exec(n);
|
|
4104
|
-
Ne.notStrictEqual(
|
|
4105
|
-
s,
|
|
4106
|
-
null,
|
|
4107
|
-
`Unexpected structure for reunion UID: ${n}`
|
|
4108
|
-
);
|
|
4109
|
-
const a = i.join(e, s[1]), y = i.join(a, s[2]), _ = i.join(y, s[3]), R = i.join(_, s[4]), I = i.join(R, s[5]);
|
|
4110
|
-
let T = "000000000" + s[6];
|
|
4111
|
-
T = T.substring(T.length - 9);
|
|
4112
|
-
const h = i.join(I, T.substring(0, 3)), t = i.join(h, T.substring(3, 3));
|
|
4113
|
-
return p.ensureDirSync(t), i.join(t, n);
|
|
4114
|
-
}
|
|
4115
|
-
function Us(e, n) {
|
|
4116
|
-
const s = us.exec(n);
|
|
4117
|
-
Ne.notStrictEqual(
|
|
4118
|
-
s,
|
|
4119
|
-
null,
|
|
4120
|
-
`Unexpected structure for scrutin UID: ${n}`
|
|
4121
|
-
);
|
|
4122
|
-
const a = i.join(e, s[1]), y = i.join(a, s[2]), _ = i.join(y, s[3]);
|
|
4123
|
-
let R = "000000" + s[4];
|
|
4124
|
-
R = R.substring(R.length - 6);
|
|
4125
|
-
const I = i.join(_, R.substring(0, 3));
|
|
4126
|
-
return p.ensureDirSync(I), i.join(I, n);
|
|
4127
|
-
}
|
|
4128
|
-
function Qs(e, n) {
|
|
4129
|
-
return we(e, n, ps);
|
|
4130
|
-
}
|
|
4131
|
-
function Bs(e, n) {
|
|
4132
|
-
const s = ls.exec(n);
|
|
4133
|
-
Ne.notStrictEqual(
|
|
4134
|
-
s,
|
|
4135
|
-
null,
|
|
4136
|
-
`Unexpected structure for object with UID: ${n}`
|
|
4137
|
-
);
|
|
4138
|
-
const a = i.join(e, s[2]), y = i.join(a, s[3]), _ = i.join(y, s[4]), R = i.join(_, s[5]);
|
|
4139
|
-
let I = "000000000" + s[7];
|
|
4140
|
-
I = I.substring(I.length - 9);
|
|
4141
|
-
const T = i.join(R, I.substring(0, 3)), h = i.join(T, I.substring(3, 3));
|
|
4142
|
-
return p.ensureDirSync(h), i.join(h, n);
|
|
4143
|
-
}
|
|
4144
|
-
function we(e, n, s) {
|
|
4145
|
-
const a = s.exec(n);
|
|
4146
|
-
Ne.notStrictEqual(
|
|
4147
|
-
a,
|
|
4148
|
-
null,
|
|
4149
|
-
`Unexpected structure for object with UID: ${n}`
|
|
4150
|
-
);
|
|
4151
|
-
const y = i.join(e, a[1]), _ = i.join(y, a[2]);
|
|
4152
|
-
let R = "000000" + a[3];
|
|
4153
|
-
R = R.substring(R.length - 6);
|
|
4154
|
-
const I = i.join(_, R.substring(0, 3));
|
|
4155
|
-
return p.ensureDirSync(I), i.join(I, n);
|
|
4156
|
-
}
|
|
4157
|
-
export {
|
|
4158
|
-
Rs as $,
|
|
4159
|
-
bn as A,
|
|
4160
|
-
Hn as B,
|
|
4161
|
-
Be as C,
|
|
4162
|
-
es as D,
|
|
4163
|
-
an as E,
|
|
4164
|
-
He as F,
|
|
4165
|
-
Zn as G,
|
|
4166
|
-
Bn as H,
|
|
4167
|
-
Jn as I,
|
|
4168
|
-
qn as J,
|
|
4169
|
-
$n as K,
|
|
4170
|
-
f as L,
|
|
4171
|
-
En as M,
|
|
4172
|
-
un as N,
|
|
4173
|
-
Un as O,
|
|
4174
|
-
ke as P,
|
|
4175
|
-
jn as Q,
|
|
4176
|
-
en as R,
|
|
4177
|
-
Cn as S,
|
|
4178
|
-
We as T,
|
|
4179
|
-
Gn as U,
|
|
4180
|
-
Ln as V,
|
|
4181
|
-
Xn as W,
|
|
4182
|
-
Qn as X,
|
|
4183
|
-
bs as Y,
|
|
4184
|
-
Es as Z,
|
|
4185
|
-
_s as _,
|
|
4186
|
-
Xe as a,
|
|
4187
|
-
Is as a0,
|
|
4188
|
-
Ps as a1,
|
|
4189
|
-
Cs as a2,
|
|
4190
|
-
Ts as a3,
|
|
4191
|
-
Ms as a4,
|
|
4192
|
-
hs as a5,
|
|
4193
|
-
xs as a6,
|
|
4194
|
-
Vs as a7,
|
|
4195
|
-
Fs as a8,
|
|
4196
|
-
Ls as a9,
|
|
4197
|
-
Js as aa,
|
|
4198
|
-
$s as ab,
|
|
4199
|
-
qs as ac,
|
|
4200
|
-
Us as ad,
|
|
4201
|
-
Qs as ae,
|
|
4202
|
-
Bs as af,
|
|
4203
|
-
w as ag,
|
|
4204
|
-
k as ah,
|
|
4205
|
-
ze as b,
|
|
4206
|
-
Ye as c,
|
|
4207
|
-
Ze as d,
|
|
4208
|
-
Ke as e,
|
|
4209
|
-
cn as f,
|
|
4210
|
-
dn as g,
|
|
4211
|
-
rn as h,
|
|
4212
|
-
mn as i,
|
|
4213
|
-
ln as j,
|
|
4214
|
-
on as k,
|
|
4215
|
-
pn as l,
|
|
4216
|
-
fn as m,
|
|
4217
|
-
Rn as n,
|
|
4218
|
-
Mn as o,
|
|
4219
|
-
js as p,
|
|
4220
|
-
vn as q,
|
|
4221
|
-
hn as r,
|
|
4222
|
-
gn as s,
|
|
4223
|
-
In as t,
|
|
4224
|
-
On as u,
|
|
4225
|
-
Dn as v,
|
|
4226
|
-
Tn as w,
|
|
4227
|
-
Pn as x,
|
|
4228
|
-
_n as y,
|
|
4229
|
-
Nn as z
|
|
4230
|
-
};
|