mp-front-cli 0.0.72 → 0.0.74

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,28 +1,28 @@
1
- var $ = Object.defineProperty;
2
- var M = (s, r, t) => r in s ? $(s, r, { enumerable: !0, configurable: !0, writable: !0, value: t }) : s[r] = t;
3
- var h = (s, r, t) => (M(s, typeof r != "symbol" ? r + "" : r, t), t);
4
- import { C as P, f as R } from "./custom-header-596dcd13.js";
5
- import { S as ut } from "./custom-header-596dcd13.js";
6
- import { MessageHandler as O, LoadingHandler as p } from "./mp-front-cli-utils-rxjs.es.js";
7
- import { RxSubjectManager as pt } from "./mp-front-cli-utils-rxjs.es.js";
8
- import L, { t as E } from "i18next";
9
- import { t as T } from "./index-fccce407.js";
10
- import { CustomLogger as v } from "./mp-front-cli-logger.es.js";
11
- import { of as d, switchMap as m, forkJoin as A, catchError as b, EMPTY as D, filter as I } from "rxjs";
12
- import { CustomEncrypter as J } from "./mp-front-cli-encrypter.es.js";
13
- import { CustomEncoder as C } from "./mp-front-cli-encoder.es.js";
14
- import { u as H } from "./stringify-788d71a0.js";
1
+ var Q = Object.defineProperty;
2
+ var h = (l, t, e) => t in l ? Q(l, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : l[t] = e;
3
+ var L = (l, t, e) => (h(l, typeof t != "symbol" ? t + "" : t, e), e);
4
+ import { C as w, f as D } from "./custom-header-596dcd13.js";
5
+ import { S as me } from "./custom-header-596dcd13.js";
6
+ import { MessageHandler as u, LoadingHandler as U } from "./mp-front-cli-utils-rxjs.es.js";
7
+ import { RxSubjectManager as Ue } from "./mp-front-cli-utils-rxjs.es.js";
8
+ import v, { t as C } from "i18next";
9
+ import { t as x } from "./index-83f54780.js";
10
+ import { CustomLogger as G } from "./mp-front-cli-logger.es.js";
11
+ import { of as T, switchMap as c, forkJoin as I, catchError as B, EMPTY as p, filter as P } from "rxjs";
12
+ import { CustomEncrypter as M } from "./mp-front-cli-encrypter.es.js";
13
+ import { CustomEncoder as V } from "./mp-front-cli-encoder.es.js";
14
+ import { u as F } from "./stringify-788d71a0.js";
15
15
  import "node-jose";
16
16
  import "crypto";
17
- const j = {
17
+ const J = {
18
18
  es: {
19
19
  translation: {
20
- ...T
20
+ ...x
21
21
  }
22
22
  }
23
23
  };
24
- L.init({
25
- resources: j,
24
+ v.init({
25
+ resources: J,
26
26
  lng: "es",
27
27
  // language to use, more information here: https://www.i18next.com/overview/configuration-options#languages-namespaces-resources
28
28
  // you can use the i18n.changeLanguage function to change the language manually: https://www.i18next.com/overview/api#changelanguage
@@ -34,7 +34,7 @@ L.init({
34
34
  },
35
35
  debug: !1
36
36
  });
37
- const u = {
37
+ const m = {
38
38
  "MP-001": {
39
39
  code: 400,
40
40
  type: "modal",
@@ -70,295 +70,812 @@ const u = {
70
70
  title: "errors.default.title",
71
71
  level: "warning"
72
72
  },
73
+ // Biometric
74
+ "PF-BIOMETRIC-001": {
75
+ title: "errors.PF-BIOMETRIC-001.title",
76
+ message: "errors.PF-BIOMETRIC-001.message",
77
+ level: "warning",
78
+ code: 420,
79
+ type: "modal"
80
+ },
81
+ "PF-BIOMETRIC-002": {
82
+ title: "errors.PF-BIOMETRIC-002.title",
83
+ message: "errors.PF-BIOMETRIC-002.message",
84
+ level: "warning",
85
+ code: 420,
86
+ type: "modal"
87
+ },
88
+ "PF-BIOMETRIC-003": {
89
+ title: "errors.PF-BIOMETRIC-003.title",
90
+ message: "errors.PF-BIOMETRIC-003.message",
91
+ level: "warning",
92
+ code: 420,
93
+ type: "modal"
94
+ },
73
95
  "PF-BIOMETRIC-004": {
96
+ code: 521,
97
+ type: "modal",
74
98
  message: "errors.PF-BIOMETRIC-004.message",
75
99
  title: "errors.PF-BIOMETRIC-004.title",
76
- code: 521,
100
+ level: "warning"
101
+ },
102
+ "PF-VALIDATE-CLIENTTYPE-003": {
103
+ title: "errors.PF-VALIDATE-CLIENTTYPE-003.title",
104
+ message: "errors.PF-VALIDATE-CLIENTTYPE-003.message",
77
105
  level: "warning",
106
+ code: 420,
78
107
  type: "modal"
108
+ },
109
+ // Calculator
110
+ "SCORE-CLIENTREJECTED-01": {
111
+ title: "errors.calculator.SCORE-CLIENTREJECTED-01.title",
112
+ message: "errors.calculator.SCORE-CLIENTREJECTED-01.message",
113
+ code: 310,
114
+ type: "modal",
115
+ level: "warning"
116
+ },
117
+ "CALCULATOR-MAPPING-01": {
118
+ title: "errors.calculator.CALCULATOR-MAPPING-01.title",
119
+ message: "errors.calculator.CALCULATOR-MAPPING-01.message",
120
+ code: 420,
121
+ type: "modal",
122
+ level: "warning"
123
+ },
124
+ "CALCULATOR-MAPPING-02": {
125
+ title: "errors.calculator.CALCULATOR-MAPPING-02.title",
126
+ message: "errors.calculator.CALCULATOR-MAPPING-02.message",
127
+ code: 420,
128
+ type: "modal",
129
+ level: "warning"
130
+ },
131
+ "CALCULATOR-MAPPING-03": {
132
+ title: "errors.calculator.CALCULATOR-MAPPING-03.title",
133
+ message: "errors.calculator.CALCULATOR-MAPPING-03.message",
134
+ code: 420,
135
+ type: "modal",
136
+ level: "warning"
137
+ },
138
+ "CALCULATOR-MAPPING-04": {
139
+ title: "errors.calculator.CALCULATOR-MAPPING-04.title",
140
+ message: "errors.calculator.CALCULATOR-MAPPING-04.message",
141
+ code: 420,
142
+ type: "modal",
143
+ level: "warning"
144
+ },
145
+ "CALCULATOR-BAD-REQUEST-01": {
146
+ title: "errors.calculator.CALCULATOR-BAD-REQUEST-01.title",
147
+ message: "errors.calculator.CALCULATOR-BAD-REQUEST-01.message",
148
+ code: 420,
149
+ type: "modal",
150
+ level: "warning"
151
+ },
152
+ "CALCULATOR-BAD-REQUEST-02": {
153
+ title: "errors.calculator.CALCULATOR-BAD-REQUEST-02.title",
154
+ message: "errors.calculator.CALCULATOR-BAD-REQUEST-02.message",
155
+ code: 420,
156
+ type: "modal",
157
+ level: "warning"
158
+ },
159
+ "CALCULATOR-BAD-REQUEST-03": {
160
+ title: "errors.calculator.CALCULATOR-BAD-REQUEST-03.title",
161
+ message: "errors.calculator.CALCULATOR-BAD-REQUEST-03.message",
162
+ code: 420,
163
+ type: "modal",
164
+ level: "warning"
165
+ },
166
+ "CALCULATOR-BAD-REQUEST-04": {
167
+ title: "errors.calculator.CALCULATOR-BAD-REQUEST-04.title",
168
+ message: "errors.calculator.CALCULATOR-BAD-REQUEST-04.message",
169
+ code: 420,
170
+ type: "modal",
171
+ level: "warning"
172
+ },
173
+ "CALCULATOR-BAD-REQUEST-05": {
174
+ title: "errors.calculator.CALCULATOR-BAD-REQUEST-05.title",
175
+ message: "errors.calculator.CALCULATOR-BAD-REQUEST-05.message",
176
+ code: 420,
177
+ type: "modal",
178
+ level: "warning"
179
+ },
180
+ "CALCULATOR-BAD-REQUEST-06": {
181
+ title: "errors.calculator.CALCULATOR-BAD-REQUEST-06.title",
182
+ message: "errors.calculator.CALCULATOR-BAD-REQUEST-06.message",
183
+ code: 420,
184
+ type: "modal",
185
+ level: "warning"
186
+ },
187
+ "CALCULATOR-BAD-REQUEST-07": {
188
+ title: "errors.calculator.CALCULATOR-BAD-REQUEST-07.title",
189
+ message: "errors.calculator.CALCULATOR-BAD-REQUEST-07.message",
190
+ code: 420,
191
+ type: "modal",
192
+ level: "warning"
193
+ },
194
+ "CALCULATOR-BAD-REQUEST-08": {
195
+ title: "errors.calculator.CALCULATOR-BAD-REQUEST-08.title",
196
+ message: "errors.calculator.CALCULATOR-BAD-REQUEST-08.message",
197
+ code: 420,
198
+ type: "modal",
199
+ level: "warning"
200
+ },
201
+ "CALCULATOR-BAD-REQUEST-09": {
202
+ title: "errors.calculator.CALCULATOR-BAD-REQUEST-09.title",
203
+ message: "errors.calculator.CALCULATOR-BAD-REQUEST-09.message",
204
+ code: 420,
205
+ type: "modal",
206
+ level: "warning"
207
+ },
208
+ "CALCULATOR-BAD-REQUEST-10": {
209
+ title: "errors.calculator.CALCULATOR-BAD-REQUEST-10.title",
210
+ message: "errors.calculator.CALCULATOR-BAD-REQUEST-10.message",
211
+ code: 420,
212
+ type: "modal",
213
+ level: "warning"
214
+ },
215
+ "CALCULATOR-BAD-REQUEST-11": {
216
+ title: "errors.calculator.CALCULATOR-BAD-REQUEST-11.title",
217
+ message: "errors.calculator.CALCULATOR-BAD-REQUEST-11.message",
218
+ code: 420,
219
+ type: "modal",
220
+ level: "warning"
221
+ },
222
+ "CALCULATOR-BAD-REQUEST-12": {
223
+ title: "errors.calculator.CALCULATOR-BAD-REQUEST-12.title",
224
+ message: "errors.calculator.CALCULATOR-BAD-REQUEST-12.message",
225
+ code: 420,
226
+ type: "modal",
227
+ level: "warning"
228
+ },
229
+ "CALCULATOR-BAD-REQUEST-13": {
230
+ title: "errors.calculator.CALCULATOR-BAD-REQUEST-13.title",
231
+ message: "errors.calculator.CALCULATOR-BAD-REQUEST-13.message",
232
+ code: 420,
233
+ type: "modal",
234
+ level: "warning"
235
+ },
236
+ "CALCULATOR-BAD-REQUEST-14": {
237
+ title: "errors.calculator.CALCULATOR-BAD-REQUEST-14.title",
238
+ message: "errors.calculator.CALCULATOR-BAD-REQUEST-14.message",
239
+ code: 420,
240
+ type: "modal",
241
+ level: "warning"
242
+ },
243
+ "CALCULATOR-BAD-REQUEST-15": {
244
+ title: "errors.calculator.CALCULATOR-BAD-REQUEST-15.title",
245
+ message: "errors.calculator.CALCULATOR-BAD-REQUEST-15.message",
246
+ code: 420,
247
+ type: "modal",
248
+ level: "warning"
249
+ },
250
+ "CALCULATOR-BAD-REQUEST-16": {
251
+ title: "errors.calculator.CALCULATOR-BAD-REQUEST-16.title",
252
+ message: "errors.calculator.CALCULATOR-BAD-REQUEST-16.message",
253
+ code: 420,
254
+ type: "modal",
255
+ level: "warning"
256
+ },
257
+ "CALCULATOR-BAD-REQUEST-17": {
258
+ title: "errors.calculator.CALCULATOR-BAD-REQUEST-17.title",
259
+ message: "errors.calculator.CALCULATOR-BAD-REQUEST-17.message",
260
+ code: 420,
261
+ type: "modal",
262
+ level: "warning"
263
+ },
264
+ "CALCULATOR-BAD-REQUEST-18": {
265
+ title: "errors.calculator.CALCULATOR-BAD-REQUEST-18.title",
266
+ message: "errors.calculator.CALCULATOR-BAD-REQUEST-18.message",
267
+ code: 420,
268
+ type: "modal",
269
+ level: "warning"
270
+ },
271
+ "CALCULATOR-BAD-REQUEST-19": {
272
+ title: "errors.calculator.CALCULATOR-BAD-REQUEST-19.title",
273
+ message: "errors.calculator.CALCULATOR-BAD-REQUEST-19.message",
274
+ code: 420,
275
+ type: "modal",
276
+ level: "warning"
277
+ },
278
+ "CALCULATOR-BAD-REQUEST-20": {
279
+ title: "errors.calculator.CALCULATOR-BAD-REQUEST-20.title",
280
+ message: "errors.calculator.CALCULATOR-BAD-REQUEST-20.message",
281
+ code: 420,
282
+ type: "modal",
283
+ level: "warning"
284
+ },
285
+ "CALCULATOR-BAD-REQUEST-21": {
286
+ title: "errors.calculator.CALCULATOR-BAD-REQUEST-21.title",
287
+ message: "errors.calculator.CALCULATOR-BAD-REQUEST-21.message",
288
+ code: 420,
289
+ type: "modal",
290
+ level: "warning"
291
+ },
292
+ "CALCULATOR-BAD-REQUEST-22": {
293
+ title: "errors.calculator.CALCULATOR-BAD-REQUEST-22.title",
294
+ message: "errors.calculator.CALCULATOR-BAD-REQUEST-22.message",
295
+ code: 420,
296
+ type: "modal",
297
+ level: "warning"
298
+ },
299
+ "CALCULATOR-BAD-REQUEST-23": {
300
+ title: "errors.calculator.CALCULATOR-BAD-REQUEST-23.title",
301
+ message: "errors.calculator.CALCULATOR-BAD-REQUEST-23.message",
302
+ code: 420,
303
+ type: "modal",
304
+ level: "warning"
305
+ },
306
+ "CALCULATOR-BAD-REQUEST-24": {
307
+ title: "errors.calculator.CALCULATOR-BAD-REQUEST-24.title",
308
+ message: "errors.calculator.CALCULATOR-BAD-REQUEST-24.message",
309
+ code: 420,
310
+ type: "modal",
311
+ level: "warning"
312
+ },
313
+ "CALCULATOR-BAD-REQUEST-25": {
314
+ title: "errors.calculator.CALCULATOR-BAD-REQUEST-25.title",
315
+ message: "errors.calculator.CALCULATOR-BAD-REQUEST-25.message",
316
+ code: 420,
317
+ type: "modal",
318
+ level: "warning"
319
+ },
320
+ "CALCULATOR-UNAUTHORIZED-01": {
321
+ title: "errors.calculator.CALCULATOR-UNAUTHORIZED-01.title",
322
+ message: "errors.calculator.CALCULATOR-UNAUTHORIZED-01.message",
323
+ code: 420,
324
+ type: "modal",
325
+ level: "warning"
326
+ },
327
+ "CALCULATOR-UNAUTHORIZED-02": {
328
+ title: "errors.calculator.CALCULATOR-UNAUTHORIZED-02.title",
329
+ message: "errors.calculator.CALCULATOR-UNAUTHORIZED-02.message",
330
+ code: 420,
331
+ type: "modal",
332
+ level: "warning"
333
+ },
334
+ "CALCULATOR-SERVICE-UNAVAILABLE-01": {
335
+ title: "errors.calculator.CALCULATOR-SERVICE-UNAVAILABLE-01.title",
336
+ message: "errors.calculator.CALCULATOR-SERVICE-UNAVAILABLE-01.message",
337
+ code: 420,
338
+ type: "modal",
339
+ level: "warning"
340
+ },
341
+ "CALCULATOR-SERVICE-UNAVAILABLE-02": {
342
+ title: "errors.calculator.CALCULATOR-SERVICE-UNAVAILABLE-02.title",
343
+ message: "errors.calculator.CALCULATOR-SERVICE-UNAVAILABLE-02.message",
344
+ code: 420,
345
+ type: "modal",
346
+ level: "warning"
347
+ },
348
+ "CALCULATOR-NOT-FOUND-01": {
349
+ title: "errors.calculator.CALCULATOR-NOT-FOUND-01.title",
350
+ message: "errors.calculator.CALCULATOR-NOT-FOUND-01.message",
351
+ code: 420,
352
+ type: "modal",
353
+ level: "warning"
354
+ },
355
+ "CALCULATOR-NOT-FOUND-02": {
356
+ title: "errors.calculator.CALCULATOR-NOT-FOUND-02.title",
357
+ message: "errors.calculator.CALCULATOR-NOT-FOUND-02.message",
358
+ code: 420,
359
+ type: "modal",
360
+ level: "warning"
361
+ },
362
+ "CALCULATOR-SAP-ERROR-01": {
363
+ title: "errors.calculator.CALCULATOR-SAP-ERROR-01.title",
364
+ message: "errors.calculator.CALCULATOR-SAP-ERROR-01.message",
365
+ code: 420,
366
+ type: "modal",
367
+ level: "warning"
368
+ },
369
+ "CALCULATOR-SAP-ERROR-02": {
370
+ title: "errors.calculator.CALCULATOR-SAP-ERROR-02.title",
371
+ message: "errors.calculator.CALCULATOR-SAP-ERROR-02.message",
372
+ code: 420,
373
+ type: "modal",
374
+ level: "warning"
375
+ },
376
+ "CALCULATOR-SAP-ERROR-03": {
377
+ title: "errors.calculator.CALCULATOR-SAP-ERROR-03.title",
378
+ message: "errors.calculator.CALCULATOR-SAP-ERROR-03.message",
379
+ code: 420,
380
+ type: "modal",
381
+ level: "warning"
382
+ },
383
+ "CALCULATOR-SAP-ERROR-04": {
384
+ title: "errors.calculator.CALCULATOR-SAP-ERROR-04.title",
385
+ message: "errors.calculator.CALCULATOR-SAP-ERROR-04.message",
386
+ code: 420,
387
+ type: "modal",
388
+ level: "warning"
389
+ },
390
+ "CALCULATOR-GENERIC-001": {
391
+ title: "errors.calculator.CALCULATOR-GENERIC-001.title",
392
+ message: "errors.calculator.CALCULATOR-GENERIC-001.message",
393
+ code: 420,
394
+ type: "modal",
395
+ level: "warning"
396
+ },
397
+ //Apartadito
398
+ "SAVING_NOT_FOUND-01": {
399
+ title: "errors.calculator.SAVING_NOT_FOUND-01.title",
400
+ message: "errors.calculator.SAVING_NOT_FOUND-01.message",
401
+ code: 420,
402
+ type: "modal",
403
+ level: "warning"
404
+ },
405
+ "SAVING-BAD-REQUEST-01": {
406
+ title: "errors.calculator.SAVING-BAD-REQUEST-01.title",
407
+ message: "errors.calculator.SAVING-BAD-REQUEST-01.message",
408
+ code: 420,
409
+ type: "modal",
410
+ level: "warning"
411
+ },
412
+ "SAVING-BAD-REQUEST-02": {
413
+ title: "errors.calculator.SAVING-BAD-REQUEST-02.title",
414
+ message: "errors.calculator.SAVING-BAD-REQUEST-02.message",
415
+ code: 420,
416
+ type: "modal",
417
+ level: "warning"
418
+ },
419
+ "SAVING-BAD-REQUEST-03": {
420
+ title: "errors.calculator.SAVING-BAD-REQUEST-03.title",
421
+ message: "errors.calculator.SAVING-BAD-REQUEST-03.message",
422
+ code: 420,
423
+ type: "modal",
424
+ level: "warning"
425
+ },
426
+ "SAVING-GENERIC-01": {
427
+ title: "errors.calculator.SAVING-GENERIC-01.title",
428
+ message: "errors.calculator.SAVING-GENERIC-01.message",
429
+ code: 420,
430
+ type: "modal",
431
+ level: "warning"
432
+ },
433
+ //JORNADA
434
+ "JOURNEY-INVALIDATEDATA-01": {
435
+ title: "errors.JOURNEY-INVALIDATEDATA-01.title",
436
+ message: "errors.JOURNEY-INVALIDATEDATA-01.message",
437
+ code: 420,
438
+ type: "modal",
439
+ level: "warning"
440
+ },
441
+ "JOURNEY-DATANOTFOUND-02": {
442
+ title: "errors.JOURNEY-DATANOTFOUND-02.title",
443
+ message: "errors.JOURNEY-DATANOTFOUND-02.message",
444
+ code: 420,
445
+ type: "modal",
446
+ level: "warning"
447
+ },
448
+ "JOURNEY-FLOWEND-03": {
449
+ title: "errors.JOURNEY-FLOWEND-03.title",
450
+ message: "errors.JOURNEY-FLOWEND-03.message",
451
+ code: 420,
452
+ type: "modal",
453
+ level: "warning"
454
+ },
455
+ "PF-ERROR-GENERIC": {
456
+ title: "errors.PF-ERROR-GENERIC.title",
457
+ message: "errors.PF-ERROR-GENERIC.message",
458
+ code: 420,
459
+ type: "modal",
460
+ level: "warning"
461
+ },
462
+ "JOURNEY-IDSTATEINCORRECT-04": {
463
+ title: "errors.JOURNEY-IDSTATEINCORRECT-04.title",
464
+ message: "errors.JOURNEY-IDSTATEINCORRECT-04.message",
465
+ code: 420,
466
+ type: "modal",
467
+ level: "warning"
468
+ },
469
+ "JOURNEY-HEADERS-05": {
470
+ title: "errors.JOURNEY-HEADERS-05.title",
471
+ message: "errors.JOURNEY-HEADERS-05.message",
472
+ code: 420,
473
+ type: "modal",
474
+ level: "warning"
475
+ },
476
+ //INITIAL
477
+ "INITIAL-INVALIDATEDATA-01": {
478
+ title: "errors.INITIAL-INVALIDATEDATA-01.title",
479
+ message: "errors.INITIAL-INVALIDATEDATA-01.message",
480
+ code: 420,
481
+ type: "modal",
482
+ level: "warning"
483
+ },
484
+ "INITIAL-DATANOTFOUND-02": {
485
+ title: "errors.INITIAL-DATANOTFOUND-02.title",
486
+ message: "errors.INITIAL-DATANOTFOUND-02.message",
487
+ code: 420,
488
+ type: "modal",
489
+ level: "warning"
490
+ },
491
+ "INITIAL-HEADERS-03": {
492
+ title: "errors.INITIAL-HEADERS-03.title",
493
+ message: "errors.INITIAL-HEADERS-03.message",
494
+ code: 420,
495
+ type: "modal",
496
+ level: "warning"
497
+ },
498
+ //PERSONAL DATA
499
+ "PERSONALDATA-INVALID-MEDIA-TYPE": {
500
+ title: "errors.PERSONALDATA-INVALID-MEDIA-TYPE.title",
501
+ message: "errors.PERSONALDATA-INVALID-MEDIA-TYPE.message",
502
+ code: 420,
503
+ type: "modal",
504
+ level: "warning"
505
+ },
506
+ "PERSONALDATA-INVALID-CONTENT-TYPE": {
507
+ title: "errors.PERSONALDATA-INVALID-CONTENT-TYPE.title",
508
+ message: "errors.PERSONALDATA-INVALID-CONTENT-TYPE.message",
509
+ code: 420,
510
+ type: "modal",
511
+ level: "warning"
512
+ },
513
+ "PERSONALDATA-INVALID-DATA-TYPE": {
514
+ title: "errors.PERSONALDATA-INVALID-DATA-TYPE.title",
515
+ message: "errors.PERSONALDATA-INVALID-DATA-TYPE.message",
516
+ code: 420,
517
+ type: "modal",
518
+ level: "warning"
519
+ },
520
+ "PERSONALDATA-UNKNOWN-REGISTER-01": {
521
+ title: "errors.PERSONALDATA-UNKNOWN-REGISTER-01.title",
522
+ message: "errors.PERSONALDATA-UNKNOWN-REGISTER-01.message",
523
+ code: 420,
524
+ type: "modal",
525
+ level: "warning"
526
+ },
527
+ "PERSONALDATA-UNKNOWN-REGISTER-02": {
528
+ title: "errors.PERSONALDATA-UNKNOWN-REGISTER-02.title",
529
+ message: "errors.PERSONALDATA-UNKNOWN-REGISTER-02.message",
530
+ code: 420,
531
+ type: "modal",
532
+ level: "warning"
533
+ },
534
+ "PERSONALDATA-BAD-REQUEST-01": {
535
+ title: "errors.PERSONALDATA-BAD-REQUEST-01.title",
536
+ message: "errors.PERSONALDATA-BAD-REQUEST-01.message",
537
+ code: 420,
538
+ type: "modal",
539
+ level: "warning"
540
+ },
541
+ "PERSONALDATA-BAD-REQUEST-02": {
542
+ title: "errors.PERSONALDATA-BAD-REQUEST-02.title",
543
+ message: "errors.PERSONALDATA-BAD-REQUEST-02.message",
544
+ code: 420,
545
+ type: "modal",
546
+ level: "warning"
547
+ },
548
+ "PERSONALDATA-BAD-REQUEST-03": {
549
+ title: "errors.PERSONALDATA-BAD-REQUEST-03.title",
550
+ message: "errors.PERSONALDATA-BAD-REQUEST-03.message",
551
+ code: 420,
552
+ type: "modal",
553
+ level: "warning"
554
+ },
555
+ "PERSONALDATA-BAD-REQUEST-04": {
556
+ title: "errors.PERSONALDATA-BAD-REQUEST-04.title",
557
+ message: "errors.PERSONALDATA-BAD-REQUEST-04.message",
558
+ code: 420,
559
+ type: "modal",
560
+ level: "warning"
561
+ },
562
+ "PERSONALDATA-BAD-REQUEST-05": {
563
+ title: "errors.PERSONALDATA-BAD-REQUEST-05.title",
564
+ message: "errors.PERSONALDATA-BAD-REQUEST-05.message",
565
+ code: 420,
566
+ type: "modal",
567
+ level: "warning"
568
+ },
569
+ "PERSONALDATA-BAD-REQUEST-06": {
570
+ title: "errors.PERSONALDATA-BAD-REQUEST-06.title",
571
+ message: "errors.PERSONALDATA-BAD-REQUEST-06.message",
572
+ code: 420,
573
+ type: "modal",
574
+ level: "warning"
575
+ },
576
+ "PERSONALDATA-BAD-REQUEST-07": {
577
+ title: "errors.PERSONALDATA-BAD-REQUEST-07.title",
578
+ message: "errors.PERSONALDATA-BAD-REQUEST-07.message",
579
+ code: 420,
580
+ type: "modal",
581
+ level: "warning"
582
+ },
583
+ "PERSONALDATA-BAD-REQUEST-08": {
584
+ title: "errors.PERSONALDATA-BAD-REQUEST-08.title",
585
+ message: "errors.PERSONALDATA-BAD-REQUEST-08.message",
586
+ code: 420,
587
+ type: "modal",
588
+ level: "warning"
589
+ },
590
+ "PERSONALDATA-GENERIC-ERROR": {
591
+ title: "errors.PERSONALDATA-GENERIC-ERROR.title",
592
+ message: "errors.PERSONALDATA-GENERIC-ERROR.message",
593
+ code: 420,
594
+ type: "modal",
595
+ level: "warning"
79
596
  }
80
597
  };
81
- class S extends v {
82
- get(r = "default", t) {
83
- var o, n;
84
- if (r instanceof Error)
85
- return this.logError(r.message), {
86
- ...u.internalError,
87
- title: E(u.internalError.title),
88
- message: E(u.internalError.message),
89
- uuid: t
598
+ class O extends G {
599
+ get(t = "default", e) {
600
+ var A, a;
601
+ if (t instanceof Error)
602
+ return this.logError(t.message), {
603
+ ...m.internalError,
604
+ title: C(m.internalError.title),
605
+ message: C(m.internalError.message),
606
+ uuid: e
90
607
  };
91
- const e = typeof r == "string" ? r : r.code ?? r.errorType, i = typeof r == "string" ? {} : { ...r };
608
+ const r = typeof t == "string" ? t : t.code ?? t.errorType, s = typeof t == "string" ? {} : { ...t };
92
609
  return {
93
- ...u[e] ?? u.default,
94
- title: E(
95
- ((o = u[e]) == null ? void 0 : o.title) ?? u.default.title,
96
- i
610
+ ...m[r] ?? m.default,
611
+ title: C(
612
+ ((A = m[r]) == null ? void 0 : A.title) ?? m.default.title,
613
+ s
97
614
  ),
98
- message: E(
99
- ((n = u[e]) == null ? void 0 : n.message) ?? u.default.message,
100
- i
615
+ message: C(
616
+ ((a = m[r]) == null ? void 0 : a.message) ?? m.default.message,
617
+ s
101
618
  ),
102
- uuid: t
619
+ uuid: e
103
620
  };
104
621
  }
105
622
  }
106
- class ct extends J {
623
+ class Re extends M {
107
624
  constructor() {
108
625
  super(...arguments);
109
- h(this, "uuid", "");
110
- h(this, "session", null);
626
+ L(this, "uuid", "");
627
+ L(this, "session", null);
111
628
  }
112
- setSession(t) {
113
- this.session = t;
629
+ setSession(e) {
630
+ this.session = e;
114
631
  }
115
632
  getSession() {
116
633
  if (!this.session)
117
- throw new S().get("SESSION_NOT_FOUND");
634
+ throw new O().get("SESSION_NOT_FOUND");
118
635
  return this.session;
119
636
  }
120
- returnData(t, e, i) {
121
- const o = this.encode(e, i);
122
- t.status(200).json(o);
637
+ returnData(e, r, s) {
638
+ const A = this.encode(r, s);
639
+ e.status(200).json(A);
123
640
  }
124
- returnError(t, e) {
125
- return e != null && e.uuid ? t.status(520).json(e) : t.status(520).json(new S().get(e, this.uuid));
641
+ returnError(e, r) {
642
+ return r != null && r.uuid ? e.status(520).json(r) : e.status(520).json(new O().get(r, this.uuid));
126
643
  }
127
- get(t) {
128
- return this.logDebug("get ApiMiddleware"), (e, i) => {
129
- var o;
130
- this.logDebug("return ApiMiddleware"), this.uuid = (o = e == null ? void 0 : e.body) == null ? void 0 : o.uuid, d(e).pipe(
131
- m(
132
- (n) => A({
133
- params: d(this.decode(n.body)),
134
- headers: d(n.headers)
644
+ get(e) {
645
+ return this.logDebug("get ApiMiddleware"), (r, s) => {
646
+ var A;
647
+ this.logDebug("return ApiMiddleware"), this.uuid = (A = r == null ? void 0 : r.body) == null ? void 0 : A.uuid, T(r).pipe(
648
+ c(
649
+ (a) => I({
650
+ params: T(this.decode(a.body)),
651
+ headers: T(a.headers)
135
652
  })
136
653
  ),
137
- m(
138
- ({ params: n, headers: a }) => A({
139
- response: t(n, this.uuid, a),
140
- headers: d(a),
141
- params: d(n)
654
+ c(
655
+ ({ params: a, headers: o }) => I({
656
+ response: e(a, this.uuid, o),
657
+ headers: T(o),
658
+ params: T(a)
142
659
  })
143
660
  ),
144
- m(({ params: n, response: a, headers: f }) => (this.logDebug(
145
- `ApiMiddleware \x1B[37m <URL>: \x1B[33m ${e.url} \x1B[37m <HEADERS>: \x1B[33m ${JSON.stringify(f)} \x1B[37m <UUID> \x1B[33m ${e.body.uuid} \x1B[37m <PARAMS> \x1B[33m ${JSON.stringify(n)} \x1B[37m <RESPONSE>: \x1B[33m ${JSON.stringify(a)}`
146
- ), d(a))),
147
- b((n) => {
148
- var a;
661
+ c(({ params: a, response: o, headers: E }) => (this.logDebug(
662
+ `ApiMiddleware \x1B[37m <URL>: \x1B[33m ${r.url} \x1B[37m <HEADERS>: \x1B[33m ${JSON.stringify(E)} \x1B[37m <UUID> \x1B[33m ${r.body.uuid} \x1B[37m <PARAMS> \x1B[33m ${JSON.stringify(a)} \x1B[37m <RESPONSE>: \x1B[33m ${JSON.stringify(o)}`
663
+ ), T(o))),
664
+ B((a) => {
665
+ var o;
149
666
  return this.logError(
150
- `ApiMiddleware <URL>: ${e == null ? void 0 : e.url} <HEADERS>: ${JSON.stringify(e == null ? void 0 : e.headers)} <UUID> ${(a = e == null ? void 0 : e.body) == null ? void 0 : a.uuid} <PARAMS> ${JSON.stringify(e == null ? void 0 : e.body)} <ERROR>: ${JSON.stringify(n)}`
151
- ), this.returnError(i, n), D;
667
+ `ApiMiddleware <URL>: ${r == null ? void 0 : r.url} <HEADERS>: ${JSON.stringify(r == null ? void 0 : r.headers)} <UUID> ${(o = r == null ? void 0 : r.body) == null ? void 0 : o.uuid} <PARAMS> ${JSON.stringify(r == null ? void 0 : r.body)} <ERROR>: ${JSON.stringify(a)}`
668
+ ), this.returnError(s, a), p;
152
669
  })
153
670
  ).subscribe({
154
- next: (n) => {
155
- this.logDebug("ApiMiddleware subscribe next", JSON.stringify(n)), this.returnData(i, n, this.uuid);
671
+ next: (a) => {
672
+ this.logDebug("ApiMiddleware subscribe next", JSON.stringify(a)), this.returnData(s, a, this.uuid);
156
673
  }
157
674
  });
158
675
  };
159
676
  }
160
677
  }
161
- const F = process.env.ID_FRONT ?? "NOT_AVAILABLE";
162
- class dt extends P {
163
- constructor(t, e, i = {}) {
164
- super(i);
165
- h(this, "apiUrl");
166
- h(this, "method");
167
- this.apiUrl = t, this.method = e ?? "POST";
678
+ const b = process.env.ID_FRONT ?? "NOT_AVAILABLE";
679
+ class Te extends w {
680
+ constructor(e, r, s = {}) {
681
+ super(s);
682
+ L(this, "apiUrl");
683
+ L(this, "method");
684
+ this.apiUrl = e, this.method = r ?? "POST";
168
685
  }
169
- errorHandler(t, e) {
170
- if (t != null && t.errors)
171
- throw new S().get(t.errors[0], e);
172
- return !(t != null && t.errors);
686
+ errorHandler(e, r) {
687
+ if (e != null && e.errors)
688
+ throw new O().get(e.errors[0], r);
689
+ return !(e != null && e.errors);
173
690
  }
174
- formatParams(t) {
691
+ formatParams(e) {
175
692
  return JSON.stringify({
176
693
  data: {
177
- type: F,
178
- attributes: t
694
+ type: b,
695
+ attributes: e
179
696
  }
180
697
  });
181
698
  }
182
- fetchData(t = {}, e) {
699
+ fetchData(e = {}, r) {
183
700
  return this.getHeaders().pipe(
184
- m(
185
- (i) => R(
701
+ c(
702
+ (s) => D(
186
703
  this.apiUrl,
187
704
  {
188
705
  method: "POST",
189
- headers: i,
190
- body: this.formatParams(t),
191
- selector: (o) => o.json()
706
+ headers: s,
707
+ body: this.formatParams(e),
708
+ selector: (A) => A.json()
192
709
  }
193
710
  ).pipe(
194
- m((o) => (this.logDebug(
195
- `FetchServiceBE \x1B[37m <URL>: \x1B[33m ${this.apiUrl} \x1B[37m <UUID>: \x1B[33m ${e} \x1B[37m <HEADERS>: \x1B[33m ${JSON.stringify(
196
- i
711
+ c((A) => (this.logDebug(
712
+ `FetchServiceBE \x1B[37m <URL>: \x1B[33m ${this.apiUrl} \x1B[37m <UUID>: \x1B[33m ${r} \x1B[37m <HEADERS>: \x1B[33m ${JSON.stringify(
713
+ s
197
714
  )} \x1B[37m <BODY>: \x1B[33m ${JSON.stringify(
198
- this.formatParams(t)
199
- )} \x1B[37m <RESPONSE>: \x1B[33m ${JSON.stringify(o)} \x1B[33m`
200
- ), d(o)))
715
+ this.formatParams(e)
716
+ )} \x1B[37m <RESPONSE>: \x1B[33m ${JSON.stringify(A)} \x1B[33m`
717
+ ), T(A)))
201
718
  )
202
719
  ),
203
- I((i) => this.errorHandler(i, e))
720
+ P((s) => this.errorHandler(s, r))
204
721
  );
205
722
  }
206
- fetchCustomData(t = {}, e) {
723
+ fetchCustomData(e = {}, r) {
207
724
  return this.getHeaders().pipe(
208
- m(
209
- (i) => R(this.apiUrl, {
725
+ c(
726
+ (s) => D(this.apiUrl, {
210
727
  method: this.method,
211
- headers: i,
212
- body: this.method === "GET" ? null : JSON.stringify(t),
213
- selector: (o) => o.json()
728
+ headers: s,
729
+ body: this.method === "GET" ? null : JSON.stringify(e),
730
+ selector: (A) => A.json()
214
731
  }).pipe(
215
- m((o) => (this.logDebug(
216
- `FetchServiceBE \x1B[37m <URL>: \x1B[33m ${this.apiUrl} \x1B[37m \x1B[37m <METHOD>: \x1B[33m ${this.method} <UUID>: \x1B[33m ${e} \x1B[37m <HEADERS>: \x1B[33m ${JSON.stringify(
217
- i
732
+ c((A) => (this.logDebug(
733
+ `FetchServiceBE \x1B[37m <URL>: \x1B[33m ${this.apiUrl} \x1B[37m \x1B[37m <METHOD>: \x1B[33m ${this.method} <UUID>: \x1B[33m ${r} \x1B[37m <HEADERS>: \x1B[33m ${JSON.stringify(
734
+ s
218
735
  )} \x1B[37m <BODY>: \x1B[33m ${JSON.stringify(
219
- t
220
- )} \x1B[37m <RESPONSE>: \x1B[33m ${JSON.stringify(o)} \x1B[33m`
221
- ), d(o)))
736
+ e
737
+ )} \x1B[37m <RESPONSE>: \x1B[33m ${JSON.stringify(A)} \x1B[33m`
738
+ ), T(A)))
222
739
  )
223
740
  )
224
741
  );
225
742
  }
226
743
  }
227
- const G = /^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;
228
- function _(s) {
229
- return typeof s == "string" && G.test(s);
744
+ const Y = /^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;
745
+ function H(l) {
746
+ return typeof l == "string" && Y.test(l);
230
747
  }
231
- function Y(s) {
232
- if (!_(s))
748
+ function $(l) {
749
+ if (!H(l))
233
750
  throw TypeError("Invalid UUID");
234
- let r;
235
- const t = new Uint8Array(16);
236
- return t[0] = (r = parseInt(s.slice(0, 8), 16)) >>> 24, t[1] = r >>> 16 & 255, t[2] = r >>> 8 & 255, t[3] = r & 255, t[4] = (r = parseInt(s.slice(9, 13), 16)) >>> 8, t[5] = r & 255, t[6] = (r = parseInt(s.slice(14, 18), 16)) >>> 8, t[7] = r & 255, t[8] = (r = parseInt(s.slice(19, 23), 16)) >>> 8, t[9] = r & 255, t[10] = (r = parseInt(s.slice(24, 36), 16)) / 1099511627776 & 255, t[11] = r / 4294967296 & 255, t[12] = r >>> 24 & 255, t[13] = r >>> 16 & 255, t[14] = r >>> 8 & 255, t[15] = r & 255, t;
751
+ let t;
752
+ const e = new Uint8Array(16);
753
+ return e[0] = (t = parseInt(l.slice(0, 8), 16)) >>> 24, e[1] = t >>> 16 & 255, e[2] = t >>> 8 & 255, e[3] = t & 255, e[4] = (t = parseInt(l.slice(9, 13), 16)) >>> 8, e[5] = t & 255, e[6] = (t = parseInt(l.slice(14, 18), 16)) >>> 8, e[7] = t & 255, e[8] = (t = parseInt(l.slice(19, 23), 16)) >>> 8, e[9] = t & 255, e[10] = (t = parseInt(l.slice(24, 36), 16)) / 1099511627776 & 255, e[11] = t / 4294967296 & 255, e[12] = t >>> 24 & 255, e[13] = t >>> 16 & 255, e[14] = t >>> 8 & 255, e[15] = t & 255, e;
237
754
  }
238
- function k(s) {
239
- s = unescape(encodeURIComponent(s));
240
- const r = [];
241
- for (let t = 0; t < s.length; ++t)
242
- r.push(s.charCodeAt(t));
243
- return r;
755
+ function j(l) {
756
+ l = unescape(encodeURIComponent(l));
757
+ const t = [];
758
+ for (let e = 0; e < l.length; ++e)
759
+ t.push(l.charCodeAt(e));
760
+ return t;
244
761
  }
245
- const V = "6ba7b810-9dad-11d1-80b4-00c04fd430c8", K = "6ba7b811-9dad-11d1-80b4-00c04fd430c8";
246
- function W(s, r, t) {
247
- function e(i, o, n, a) {
248
- var f;
249
- if (typeof i == "string" && (i = k(i)), typeof o == "string" && (o = Y(o)), ((f = o) === null || f === void 0 ? void 0 : f.length) !== 16)
762
+ const _ = "6ba7b810-9dad-11d1-80b4-00c04fd430c8", W = "6ba7b811-9dad-11d1-80b4-00c04fd430c8";
763
+ function K(l, t, e) {
764
+ function r(s, A, a, o) {
765
+ var E;
766
+ if (typeof s == "string" && (s = j(s)), typeof A == "string" && (A = $(A)), ((E = A) === null || E === void 0 ? void 0 : E.length) !== 16)
250
767
  throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");
251
- let c = new Uint8Array(16 + i.length);
252
- if (c.set(o), c.set(i, o.length), c = t(c), c[6] = c[6] & 15 | r, c[8] = c[8] & 63 | 128, n) {
253
- a = a || 0;
254
- for (let g = 0; g < 16; ++g)
255
- n[a + g] = c[g];
256
- return n;
768
+ let R = new Uint8Array(16 + s.length);
769
+ if (R.set(A), R.set(s, A.length), R = e(R), R[6] = R[6] & 15 | t, R[8] = R[8] & 63 | 128, a) {
770
+ o = o || 0;
771
+ for (let n = 0; n < 16; ++n)
772
+ a[o + n] = R[n];
773
+ return a;
257
774
  }
258
- return H(c);
775
+ return F(R);
259
776
  }
260
777
  try {
261
- e.name = s;
778
+ r.name = l;
262
779
  } catch {
263
780
  }
264
- return e.DNS = V, e.URL = K, e;
781
+ return r.DNS = _, r.URL = W, r;
265
782
  }
266
- function X(s, r, t, e) {
267
- switch (s) {
783
+ function Z(l, t, e, r) {
784
+ switch (l) {
268
785
  case 0:
269
- return r & t ^ ~r & e;
786
+ return t & e ^ ~t & r;
270
787
  case 1:
271
- return r ^ t ^ e;
788
+ return t ^ e ^ r;
272
789
  case 2:
273
- return r & t ^ r & e ^ t & e;
790
+ return t & e ^ t & r ^ e & r;
274
791
  case 3:
275
- return r ^ t ^ e;
792
+ return t ^ e ^ r;
276
793
  }
277
794
  }
278
- function y(s, r) {
279
- return s << r | s >>> 32 - r;
795
+ function d(l, t) {
796
+ return l << t | l >>> 32 - t;
280
797
  }
281
- function Z(s) {
282
- const r = [1518500249, 1859775393, 2400959708, 3395469782], t = [1732584193, 4023233417, 2562383102, 271733878, 3285377520];
283
- if (typeof s == "string") {
284
- const n = unescape(encodeURIComponent(s));
285
- s = [];
286
- for (let a = 0; a < n.length; ++a)
287
- s.push(n.charCodeAt(a));
798
+ function k(l) {
799
+ const t = [1518500249, 1859775393, 2400959708, 3395469782], e = [1732584193, 4023233417, 2562383102, 271733878, 3285377520];
800
+ if (typeof l == "string") {
801
+ const a = unescape(encodeURIComponent(l));
802
+ l = [];
803
+ for (let o = 0; o < a.length; ++o)
804
+ l.push(a.charCodeAt(o));
288
805
  } else
289
- Array.isArray(s) || (s = Array.prototype.slice.call(s));
290
- s.push(128);
291
- const e = s.length / 4 + 2, i = Math.ceil(e / 16), o = new Array(i);
292
- for (let n = 0; n < i; ++n) {
293
- const a = new Uint32Array(16);
294
- for (let f = 0; f < 16; ++f)
295
- a[f] = s[n * 64 + f * 4] << 24 | s[n * 64 + f * 4 + 1] << 16 | s[n * 64 + f * 4 + 2] << 8 | s[n * 64 + f * 4 + 3];
296
- o[n] = a;
806
+ Array.isArray(l) || (l = Array.prototype.slice.call(l));
807
+ l.push(128);
808
+ const r = l.length / 4 + 2, s = Math.ceil(r / 16), A = new Array(s);
809
+ for (let a = 0; a < s; ++a) {
810
+ const o = new Uint32Array(16);
811
+ for (let E = 0; E < 16; ++E)
812
+ o[E] = l[a * 64 + E * 4] << 24 | l[a * 64 + E * 4 + 1] << 16 | l[a * 64 + E * 4 + 2] << 8 | l[a * 64 + E * 4 + 3];
813
+ A[a] = o;
297
814
  }
298
- o[i - 1][14] = (s.length - 1) * 8 / Math.pow(2, 32), o[i - 1][14] = Math.floor(o[i - 1][14]), o[i - 1][15] = (s.length - 1) * 8 & 4294967295;
299
- for (let n = 0; n < i; ++n) {
300
- const a = new Uint32Array(80);
301
- for (let l = 0; l < 16; ++l)
302
- a[l] = o[n][l];
303
- for (let l = 16; l < 80; ++l)
304
- a[l] = y(a[l - 3] ^ a[l - 8] ^ a[l - 14] ^ a[l - 16], 1);
305
- let f = t[0], c = t[1], g = t[2], x = t[3], B = t[4];
306
- for (let l = 0; l < 80; ++l) {
307
- const U = Math.floor(l / 20), w = y(f, 5) + X(U, c, g, x) + B + r[U] + a[l] >>> 0;
308
- B = x, x = g, g = y(c, 30) >>> 0, c = f, f = w;
815
+ A[s - 1][14] = (l.length - 1) * 8 / Math.pow(2, 32), A[s - 1][14] = Math.floor(A[s - 1][14]), A[s - 1][15] = (l.length - 1) * 8 & 4294967295;
816
+ for (let a = 0; a < s; ++a) {
817
+ const o = new Uint32Array(80);
818
+ for (let i = 0; i < 16; ++i)
819
+ o[i] = A[a][i];
820
+ for (let i = 16; i < 80; ++i)
821
+ o[i] = d(o[i - 3] ^ o[i - 8] ^ o[i - 14] ^ o[i - 16], 1);
822
+ let E = e[0], R = e[1], n = e[2], g = e[3], S = e[4];
823
+ for (let i = 0; i < 80; ++i) {
824
+ const N = Math.floor(i / 20), y = d(E, 5) + Z(N, R, n, g) + S + t[N] + o[i] >>> 0;
825
+ S = g, g = n, n = d(R, 30) >>> 0, R = E, E = y;
309
826
  }
310
- t[0] = t[0] + f >>> 0, t[1] = t[1] + c >>> 0, t[2] = t[2] + g >>> 0, t[3] = t[3] + x >>> 0, t[4] = t[4] + B >>> 0;
827
+ e[0] = e[0] + E >>> 0, e[1] = e[1] + R >>> 0, e[2] = e[2] + n >>> 0, e[3] = e[3] + g >>> 0, e[4] = e[4] + S >>> 0;
311
828
  }
312
- return [t[0] >> 24 & 255, t[0] >> 16 & 255, t[0] >> 8 & 255, t[0] & 255, t[1] >> 24 & 255, t[1] >> 16 & 255, t[1] >> 8 & 255, t[1] & 255, t[2] >> 24 & 255, t[2] >> 16 & 255, t[2] >> 8 & 255, t[2] & 255, t[3] >> 24 & 255, t[3] >> 16 & 255, t[3] >> 8 & 255, t[3] & 255, t[4] >> 24 & 255, t[4] >> 16 & 255, t[4] >> 8 & 255, t[4] & 255];
829
+ return [e[0] >> 24 & 255, e[0] >> 16 & 255, e[0] >> 8 & 255, e[0] & 255, e[1] >> 24 & 255, e[1] >> 16 & 255, e[1] >> 8 & 255, e[1] & 255, e[2] >> 24 & 255, e[2] >> 16 & 255, e[2] >> 8 & 255, e[2] & 255, e[3] >> 24 & 255, e[3] >> 16 & 255, e[3] >> 8 & 255, e[3] & 255, e[4] >> 24 & 255, e[4] >> 16 & 255, e[4] >> 8 & 255, e[4] & 255];
313
830
  }
314
- const Q = W("v5", 80, Z), N = Q;
315
- class mt extends C {
316
- constructor(t, e = "POST", i = {}) {
831
+ const X = K("v5", 80, k), f = X;
832
+ class ce extends V {
833
+ constructor(e, r = "POST", s = {}) {
317
834
  super();
318
- h(this, "apiUrl");
319
- h(this, "method");
320
- h(this, "headers");
321
- h(this, "isLoadingEnabled", !0);
322
- this.apiUrl = t, this.method = e, this.headers = {
835
+ L(this, "apiUrl");
836
+ L(this, "method");
837
+ L(this, "headers");
838
+ L(this, "isLoadingEnabled", !0);
839
+ this.apiUrl = e, this.method = r, this.headers = {
323
840
  "Content-Type": "application/json",
324
- ...i
841
+ ...s
325
842
  };
326
843
  }
327
- setIsLoadingEnabled(t) {
328
- this.isLoadingEnabled = t;
844
+ setIsLoadingEnabled(e) {
845
+ this.isLoadingEnabled = e;
329
846
  }
330
- errorHandler(t) {
331
- return t.code && (t.type === "modal" || t.type === "message") && (O.getInstance().setSubject(t), p.getInstance().setSubject(!1)), !t.code;
847
+ errorHandler(e) {
848
+ return e.code && (e.type === "modal" || e.type === "message") && (u.getInstance().setSubject(e), U.getInstance().setSubject(!1)), !e.code;
332
849
  }
333
- fetchData(t = {}) {
334
- const e = (/* @__PURE__ */ new Date()).toISOString(), i = N(e, N.URL), o = this.encode({ ...t }, i);
335
- p.getInstance().setSubject(this.isLoadingEnabled);
336
- const a = new URLSearchParams(window.location.search).get("flow") ?? "N/A";
337
- return R(this.apiUrl, {
850
+ fetchData(e = {}) {
851
+ const r = (/* @__PURE__ */ new Date()).toISOString(), s = f(r, f.URL), A = this.encode({ ...e }, s);
852
+ U.getInstance().setSubject(this.isLoadingEnabled);
853
+ const o = new URLSearchParams(window.location.search).get("flow") ?? "N/A";
854
+ return D(this.apiUrl, {
338
855
  method: this.method,
339
- headers: { ...this.headers, flow: a },
340
- body: o,
341
- selector: (f) => f.json()
856
+ headers: { ...this.headers, flow: o },
857
+ body: A,
858
+ selector: (E) => E.json()
342
859
  }).pipe(
343
- m((f) => d(this.decode(f))),
344
- m((f) => (this.logDebug(
345
- `FetchServiceFE <URL>: ${this.apiUrl} <HEADERS>: ${JSON.stringify(this.headers)} <PARAMS> ${JSON.stringify(t)} <BODY> ${o} <RESPONSE>: ${JSON.stringify(f)}`
346
- ), d(f))),
347
- I(this.errorHandler),
348
- m((f) => (p.getInstance().setSubject(!1), d(f))),
349
- b((f) => (p.getInstance().setSubject(!1), O.getInstance().setSubject(
350
- new S().get(f, i)
351
- ), D))
860
+ c((E) => T(this.decode(E))),
861
+ c((E) => (this.logDebug(
862
+ `FetchServiceFE <URL>: ${this.apiUrl} <HEADERS>: ${JSON.stringify(this.headers)} <PARAMS> ${JSON.stringify(e)} <BODY> ${A} <RESPONSE>: ${JSON.stringify(E)}`
863
+ ), T(E))),
864
+ P(this.errorHandler),
865
+ c((E) => (U.getInstance().setSubject(!1), T(E))),
866
+ B((E) => (U.getInstance().setSubject(!1), u.getInstance().setSubject(
867
+ new O().get(E, s)
868
+ ), p))
352
869
  );
353
870
  }
354
871
  }
355
872
  export {
356
- ct as ApiMiddleware,
357
- S as ErrorCatalog,
358
- dt as FetchServiceBE,
359
- mt as FetchServiceFE,
360
- p as LoadingHandler,
361
- O as MessageHandler,
362
- pt as RxSubjectManager,
363
- ut as ServiceToken
873
+ Re as ApiMiddleware,
874
+ O as ErrorCatalog,
875
+ Te as FetchServiceBE,
876
+ ce as FetchServiceFE,
877
+ U as LoadingHandler,
878
+ u as MessageHandler,
879
+ Ue as RxSubjectManager,
880
+ me as ServiceToken
364
881
  };