@digipair/skill-web-chatbot 0.3.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.
Files changed (100) hide show
  1. package/SAP-icons.cjs.js +2489 -0
  2. package/SAP-icons.cjs2.js +2489 -0
  3. package/SAP-icons.esm.js +2482 -0
  4. package/SAP-icons.esm2.js +2482 -0
  5. package/arc-da8fd8d8.cjs.js +88 -0
  6. package/arc-da8fd8d8.esm.js +86 -0
  7. package/array-2ff2c7a6.cjs.js +7 -0
  8. package/array-2ff2c7a6.esm.js +5 -0
  9. package/c4Diagram-1bdb45a8.cjs.js +4613 -0
  10. package/c4Diagram-1bdb45a8.esm.js +4611 -0
  11. package/classDiagram-185c1a10.cjs.js +96 -0
  12. package/classDiagram-185c1a10.esm.js +94 -0
  13. package/classDiagram-v2-6dc3b9c3.cjs.js +403 -0
  14. package/classDiagram-v2-6dc3b9c3.esm.js +401 -0
  15. package/constant-2fe7eae5.cjs.js +58 -0
  16. package/constant-2fe7eae5.esm.js +55 -0
  17. package/createText-94e3ebbf.cjs.js +2775 -0
  18. package/createText-94e3ebbf.esm.js +2773 -0
  19. package/debug.html +18 -0
  20. package/edges-558884ee.cjs.js +1450 -0
  21. package/edges-558884ee.esm.js +1436 -0
  22. package/erDiagram-97139f44.cjs.js +1949 -0
  23. package/erDiagram-97139f44.esm.js +1947 -0
  24. package/flowDb-a4faf166.cjs.js +6918 -0
  25. package/flowDb-a4faf166.esm.js +6914 -0
  26. package/flowDiagram-ccbbb58d.cjs.js +999 -0
  27. package/flowDiagram-ccbbb58d.esm.js +997 -0
  28. package/flowDiagram-v2-79ccd6da.cjs.js +29 -0
  29. package/flowDiagram-v2-79ccd6da.esm.js +27 -0
  30. package/flowchart-elk-definition-7863a61f.cjs.js +48577 -0
  31. package/flowchart-elk-definition-7863a61f.esm.js +48575 -0
  32. package/ganttDiagram-3eff0dd8.cjs.js +3855 -0
  33. package/ganttDiagram-3eff0dd8.esm.js +3853 -0
  34. package/gitGraphDiagram-c3fe571f.cjs.js +3863 -0
  35. package/gitGraphDiagram-c3fe571f.esm.js +3861 -0
  36. package/index-d0b453e2.cjs.js +609 -0
  37. package/index-d0b453e2.esm.js +607 -0
  38. package/index.cjs.d.ts +1 -0
  39. package/index.cjs.js +17 -0
  40. package/index.cjs2.js +43619 -0
  41. package/index.d.ts +1 -0
  42. package/index.esm.js +1 -0
  43. package/index.esm2.js +43493 -0
  44. package/infoDiagram-9c10eab1.cjs.js +467 -0
  45. package/infoDiagram-9c10eab1.esm.js +465 -0
  46. package/init-f9637058.cjs.js +17 -0
  47. package/init-f9637058.esm.js +15 -0
  48. package/journeyDiagram-b6904cec.cjs.js +1292 -0
  49. package/journeyDiagram-b6904cec.esm.js +1290 -0
  50. package/layout-c5a37d74.cjs.js +2808 -0
  51. package/layout-c5a37d74.esm.js +2795 -0
  52. package/libs/engine/src/index.d.ts +2 -0
  53. package/libs/engine/src/lib/engine.d.ts +27 -0
  54. package/libs/engine/src/lib/pins-settings.interface.d.ts +20 -0
  55. package/libs/skill-web-chatbot/src/index.d.ts +3 -0
  56. package/libs/skill-web-chatbot/src/lib/chat.element.d.ts +23 -0
  57. package/libs/skill-web-chatbot/src/lib/common.data.d.ts +1 -0
  58. package/libs/skill-web-chatbot/src/lib/config.d.ts +9 -0
  59. package/libs/skill-web-chatbot/src/lib/digipair-full.data.d.ts +1 -0
  60. package/libs/skill-web-chatbot/src/lib/digipair-full.element.d.ts +32 -0
  61. package/libs/skill-web-chatbot/src/lib/digipair.data.d.ts +1 -0
  62. package/libs/skill-web-chatbot/src/lib/digipair.element.d.ts +39 -0
  63. package/libs/skill-web-chatbot/src/lib/inputs.element.d.ts +9 -0
  64. package/libs/skill-web-chatbot/src/lib/pins/chatbot.actions.d.ts +5 -0
  65. package/libs/skill-web-chatbot/src/lib/tools/css-selector.d.ts +1 -0
  66. package/line-ce5d1152.cjs.js +34 -0
  67. package/line-ce5d1152.esm.js +32 -0
  68. package/linear-db016d0c.cjs.js +485 -0
  69. package/linear-db016d0c.esm.js +479 -0
  70. package/mindmap-definition-a9d0f378.cjs.js +20225 -0
  71. package/mindmap-definition-a9d0f378.esm.js +20223 -0
  72. package/ordinal-5695958c.cjs.js +331 -0
  73. package/ordinal-5695958c.esm.js +329 -0
  74. package/package.json +8 -0
  75. package/pieDiagram-fd367f1f.cjs.js +1157 -0
  76. package/pieDiagram-fd367f1f.esm.js +1155 -0
  77. package/quadrantDiagram-1763608a.cjs.js +2633 -0
  78. package/quadrantDiagram-1763608a.esm.js +2631 -0
  79. package/requirementDiagram-779d93b3.cjs.js +2451 -0
  80. package/requirementDiagram-779d93b3.esm.js +2449 -0
  81. package/sankeyDiagram-86a66bae.cjs.js +1850 -0
  82. package/sankeyDiagram-86a66bae.esm.js +1848 -0
  83. package/sequenceDiagram-169f11ec.cjs.js +4805 -0
  84. package/sequenceDiagram-169f11ec.esm.js +4803 -0
  85. package/stateDiagram-6f4bb19d.cjs.js +282 -0
  86. package/stateDiagram-6f4bb19d.esm.js +280 -0
  87. package/stateDiagram-v2-d72c79bd.cjs.js +377 -0
  88. package/stateDiagram-v2-d72c79bd.esm.js +375 -0
  89. package/styles-3814544c.cjs.js +534 -0
  90. package/styles-3814544c.esm.js +524 -0
  91. package/styles-3fb7b9cf.cjs.js +2377 -0
  92. package/styles-3fb7b9cf.esm.js +2368 -0
  93. package/styles-659d7242.cjs.js +3919 -0
  94. package/styles-659d7242.esm.js +3915 -0
  95. package/svgDraw-af99a425.cjs.js +144 -0
  96. package/svgDraw-af99a425.esm.js +141 -0
  97. package/svgDrawCommon-ebe6c236.cjs.js +70 -0
  98. package/svgDrawCommon-ebe6c236.esm.js +62 -0
  99. package/timeline-definition-65183566.cjs.js +1394 -0
  100. package/timeline-definition-65183566.esm.js +1392 -0
@@ -0,0 +1,3861 @@
1
+ import { U as Ut, L as La, A as Aa, M as Ma, E as Ea, c as Oa, I as Ia, d as de, S as S$1, B as Bn, F as Fa, a9 as Da, a as At, f as Oi, aa as rm, ab as F0 } from './index.esm2.js';
2
+
3
+ function _define_property(obj, key, value) {
4
+ if (key in obj) {
5
+ Object.defineProperty(obj, key, {
6
+ value: value,
7
+ enumerable: true,
8
+ configurable: true,
9
+ writable: true
10
+ });
11
+ } else {
12
+ obj[key] = value;
13
+ }
14
+ return obj;
15
+ }
16
+ function _instanceof(left, right) {
17
+ if (right != null && typeof Symbol !== "undefined" && right[Symbol.hasInstance]) {
18
+ return !!right[Symbol.hasInstance](left);
19
+ } else {
20
+ return left instanceof right;
21
+ }
22
+ }
23
+ function _object_spread(target) {
24
+ for(var i = 1; i < arguments.length; i++){
25
+ var source = arguments[i] != null ? arguments[i] : {};
26
+ var ownKeys = Object.keys(source);
27
+ if (typeof Object.getOwnPropertySymbols === "function") {
28
+ ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) {
29
+ return Object.getOwnPropertyDescriptor(source, sym).enumerable;
30
+ }));
31
+ }
32
+ ownKeys.forEach(function(key) {
33
+ _define_property(target, key, source[key]);
34
+ });
35
+ }
36
+ return target;
37
+ }
38
+ function ownKeys(object, enumerableOnly) {
39
+ var keys = Object.keys(object);
40
+ if (Object.getOwnPropertySymbols) {
41
+ var symbols = Object.getOwnPropertySymbols(object);
42
+ if (enumerableOnly) {
43
+ symbols = symbols.filter(function(sym) {
44
+ return Object.getOwnPropertyDescriptor(object, sym).enumerable;
45
+ });
46
+ }
47
+ keys.push.apply(keys, symbols);
48
+ }
49
+ return keys;
50
+ }
51
+ function _object_spread_props(target, source) {
52
+ source = source != null ? source : {};
53
+ if (Object.getOwnPropertyDescriptors) {
54
+ Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
55
+ } else {
56
+ ownKeys(Object(source)).forEach(function(key) {
57
+ Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
58
+ });
59
+ }
60
+ return target;
61
+ }
62
+ function _type_of(obj) {
63
+ "@swc/helpers - typeof";
64
+ return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
65
+ }
66
+ var pe = function() {
67
+ var r = function r(q, m, b, k) {
68
+ for(b = b || {}, k = q.length; k--; b[q[k]] = m);
69
+ return b;
70
+ }, a = [
71
+ 1,
72
+ 4
73
+ ], o = [
74
+ 1,
75
+ 7
76
+ ], p = [
77
+ 1,
78
+ 5
79
+ ], n = [
80
+ 1,
81
+ 9
82
+ ], c = [
83
+ 1,
84
+ 6
85
+ ], u = [
86
+ 2,
87
+ 6
88
+ ], h = [
89
+ 1,
90
+ 16
91
+ ], w = [
92
+ 6,
93
+ 8,
94
+ 14,
95
+ 20,
96
+ 22,
97
+ 24,
98
+ 25,
99
+ 27,
100
+ 29,
101
+ 32,
102
+ 37,
103
+ 40,
104
+ 50,
105
+ 55
106
+ ], x = [
107
+ 8,
108
+ 14,
109
+ 20,
110
+ 22,
111
+ 24,
112
+ 25,
113
+ 27,
114
+ 29,
115
+ 32,
116
+ 37,
117
+ 40
118
+ ], l = [
119
+ 8,
120
+ 13,
121
+ 14,
122
+ 20,
123
+ 22,
124
+ 24,
125
+ 25,
126
+ 27,
127
+ 29,
128
+ 32,
129
+ 37,
130
+ 40
131
+ ], g = [
132
+ 1,
133
+ 26
134
+ ], f = [
135
+ 6,
136
+ 8,
137
+ 14,
138
+ 50,
139
+ 55
140
+ ], s = [
141
+ 8,
142
+ 14,
143
+ 55
144
+ ], _ = [
145
+ 1,
146
+ 53
147
+ ], T = [
148
+ 1,
149
+ 52
150
+ ], O = [
151
+ 8,
152
+ 14,
153
+ 30,
154
+ 33,
155
+ 35,
156
+ 38,
157
+ 55
158
+ ], E = [
159
+ 1,
160
+ 67
161
+ ], d = [
162
+ 1,
163
+ 68
164
+ ], y = [
165
+ 1,
166
+ 69
167
+ ], N = [
168
+ 8,
169
+ 14,
170
+ 33,
171
+ 35,
172
+ 42,
173
+ 55
174
+ ], ce = {
175
+ trace: function trace() {},
176
+ yy: {},
177
+ symbols_: {
178
+ error: 2,
179
+ start: 3,
180
+ eol: 4,
181
+ directive: 5,
182
+ GG: 6,
183
+ document: 7,
184
+ EOF: 8,
185
+ ":": 9,
186
+ DIR: 10,
187
+ options: 11,
188
+ body: 12,
189
+ OPT: 13,
190
+ NL: 14,
191
+ line: 15,
192
+ statement: 16,
193
+ commitStatement: 17,
194
+ mergeStatement: 18,
195
+ cherryPickStatement: 19,
196
+ acc_title: 20,
197
+ acc_title_value: 21,
198
+ acc_descr: 22,
199
+ acc_descr_value: 23,
200
+ acc_descr_multiline_value: 24,
201
+ section: 25,
202
+ branchStatement: 26,
203
+ CHECKOUT: 27,
204
+ ref: 28,
205
+ BRANCH: 29,
206
+ ORDER: 30,
207
+ NUM: 31,
208
+ CHERRY_PICK: 32,
209
+ COMMIT_ID: 33,
210
+ STR: 34,
211
+ COMMIT_TAG: 35,
212
+ EMPTYSTR: 36,
213
+ MERGE: 37,
214
+ COMMIT_TYPE: 38,
215
+ commitType: 39,
216
+ COMMIT: 40,
217
+ commit_arg: 41,
218
+ COMMIT_MSG: 42,
219
+ NORMAL: 43,
220
+ REVERSE: 44,
221
+ HIGHLIGHT: 45,
222
+ openDirective: 46,
223
+ typeDirective: 47,
224
+ closeDirective: 48,
225
+ argDirective: 49,
226
+ open_directive: 50,
227
+ type_directive: 51,
228
+ arg_directive: 52,
229
+ close_directive: 53,
230
+ ID: 54,
231
+ ";": 55,
232
+ $accept: 0,
233
+ $end: 1
234
+ },
235
+ terminals_: {
236
+ 2: "error",
237
+ 6: "GG",
238
+ 8: "EOF",
239
+ 9: ":",
240
+ 10: "DIR",
241
+ 13: "OPT",
242
+ 14: "NL",
243
+ 20: "acc_title",
244
+ 21: "acc_title_value",
245
+ 22: "acc_descr",
246
+ 23: "acc_descr_value",
247
+ 24: "acc_descr_multiline_value",
248
+ 25: "section",
249
+ 27: "CHECKOUT",
250
+ 29: "BRANCH",
251
+ 30: "ORDER",
252
+ 31: "NUM",
253
+ 32: "CHERRY_PICK",
254
+ 33: "COMMIT_ID",
255
+ 34: "STR",
256
+ 35: "COMMIT_TAG",
257
+ 36: "EMPTYSTR",
258
+ 37: "MERGE",
259
+ 38: "COMMIT_TYPE",
260
+ 40: "COMMIT",
261
+ 42: "COMMIT_MSG",
262
+ 43: "NORMAL",
263
+ 44: "REVERSE",
264
+ 45: "HIGHLIGHT",
265
+ 50: "open_directive",
266
+ 51: "type_directive",
267
+ 52: "arg_directive",
268
+ 53: "close_directive",
269
+ 54: "ID",
270
+ 55: ";"
271
+ },
272
+ productions_: [
273
+ 0,
274
+ [
275
+ 3,
276
+ 2
277
+ ],
278
+ [
279
+ 3,
280
+ 2
281
+ ],
282
+ [
283
+ 3,
284
+ 3
285
+ ],
286
+ [
287
+ 3,
288
+ 4
289
+ ],
290
+ [
291
+ 3,
292
+ 5
293
+ ],
294
+ [
295
+ 7,
296
+ 0
297
+ ],
298
+ [
299
+ 7,
300
+ 2
301
+ ],
302
+ [
303
+ 11,
304
+ 2
305
+ ],
306
+ [
307
+ 11,
308
+ 1
309
+ ],
310
+ [
311
+ 12,
312
+ 0
313
+ ],
314
+ [
315
+ 12,
316
+ 2
317
+ ],
318
+ [
319
+ 15,
320
+ 2
321
+ ],
322
+ [
323
+ 15,
324
+ 1
325
+ ],
326
+ [
327
+ 16,
328
+ 1
329
+ ],
330
+ [
331
+ 16,
332
+ 1
333
+ ],
334
+ [
335
+ 16,
336
+ 1
337
+ ],
338
+ [
339
+ 16,
340
+ 2
341
+ ],
342
+ [
343
+ 16,
344
+ 2
345
+ ],
346
+ [
347
+ 16,
348
+ 1
349
+ ],
350
+ [
351
+ 16,
352
+ 1
353
+ ],
354
+ [
355
+ 16,
356
+ 1
357
+ ],
358
+ [
359
+ 16,
360
+ 2
361
+ ],
362
+ [
363
+ 26,
364
+ 2
365
+ ],
366
+ [
367
+ 26,
368
+ 4
369
+ ],
370
+ [
371
+ 19,
372
+ 3
373
+ ],
374
+ [
375
+ 19,
376
+ 5
377
+ ],
378
+ [
379
+ 19,
380
+ 5
381
+ ],
382
+ [
383
+ 19,
384
+ 5
385
+ ],
386
+ [
387
+ 19,
388
+ 5
389
+ ],
390
+ [
391
+ 18,
392
+ 2
393
+ ],
394
+ [
395
+ 18,
396
+ 4
397
+ ],
398
+ [
399
+ 18,
400
+ 4
401
+ ],
402
+ [
403
+ 18,
404
+ 4
405
+ ],
406
+ [
407
+ 18,
408
+ 6
409
+ ],
410
+ [
411
+ 18,
412
+ 6
413
+ ],
414
+ [
415
+ 18,
416
+ 6
417
+ ],
418
+ [
419
+ 18,
420
+ 6
421
+ ],
422
+ [
423
+ 18,
424
+ 6
425
+ ],
426
+ [
427
+ 18,
428
+ 6
429
+ ],
430
+ [
431
+ 18,
432
+ 8
433
+ ],
434
+ [
435
+ 18,
436
+ 8
437
+ ],
438
+ [
439
+ 18,
440
+ 8
441
+ ],
442
+ [
443
+ 18,
444
+ 8
445
+ ],
446
+ [
447
+ 18,
448
+ 8
449
+ ],
450
+ [
451
+ 18,
452
+ 8
453
+ ],
454
+ [
455
+ 17,
456
+ 2
457
+ ],
458
+ [
459
+ 17,
460
+ 3
461
+ ],
462
+ [
463
+ 17,
464
+ 3
465
+ ],
466
+ [
467
+ 17,
468
+ 5
469
+ ],
470
+ [
471
+ 17,
472
+ 5
473
+ ],
474
+ [
475
+ 17,
476
+ 3
477
+ ],
478
+ [
479
+ 17,
480
+ 5
481
+ ],
482
+ [
483
+ 17,
484
+ 5
485
+ ],
486
+ [
487
+ 17,
488
+ 5
489
+ ],
490
+ [
491
+ 17,
492
+ 5
493
+ ],
494
+ [
495
+ 17,
496
+ 7
497
+ ],
498
+ [
499
+ 17,
500
+ 7
501
+ ],
502
+ [
503
+ 17,
504
+ 7
505
+ ],
506
+ [
507
+ 17,
508
+ 7
509
+ ],
510
+ [
511
+ 17,
512
+ 7
513
+ ],
514
+ [
515
+ 17,
516
+ 7
517
+ ],
518
+ [
519
+ 17,
520
+ 3
521
+ ],
522
+ [
523
+ 17,
524
+ 5
525
+ ],
526
+ [
527
+ 17,
528
+ 5
529
+ ],
530
+ [
531
+ 17,
532
+ 5
533
+ ],
534
+ [
535
+ 17,
536
+ 5
537
+ ],
538
+ [
539
+ 17,
540
+ 5
541
+ ],
542
+ [
543
+ 17,
544
+ 5
545
+ ],
546
+ [
547
+ 17,
548
+ 7
549
+ ],
550
+ [
551
+ 17,
552
+ 7
553
+ ],
554
+ [
555
+ 17,
556
+ 7
557
+ ],
558
+ [
559
+ 17,
560
+ 7
561
+ ],
562
+ [
563
+ 17,
564
+ 7
565
+ ],
566
+ [
567
+ 17,
568
+ 7
569
+ ],
570
+ [
571
+ 17,
572
+ 7
573
+ ],
574
+ [
575
+ 17,
576
+ 7
577
+ ],
578
+ [
579
+ 17,
580
+ 7
581
+ ],
582
+ [
583
+ 17,
584
+ 7
585
+ ],
586
+ [
587
+ 17,
588
+ 7
589
+ ],
590
+ [
591
+ 17,
592
+ 7
593
+ ],
594
+ [
595
+ 17,
596
+ 7
597
+ ],
598
+ [
599
+ 17,
600
+ 7
601
+ ],
602
+ [
603
+ 17,
604
+ 7
605
+ ],
606
+ [
607
+ 17,
608
+ 7
609
+ ],
610
+ [
611
+ 17,
612
+ 7
613
+ ],
614
+ [
615
+ 17,
616
+ 7
617
+ ],
618
+ [
619
+ 17,
620
+ 9
621
+ ],
622
+ [
623
+ 17,
624
+ 9
625
+ ],
626
+ [
627
+ 17,
628
+ 9
629
+ ],
630
+ [
631
+ 17,
632
+ 9
633
+ ],
634
+ [
635
+ 17,
636
+ 9
637
+ ],
638
+ [
639
+ 17,
640
+ 9
641
+ ],
642
+ [
643
+ 17,
644
+ 9
645
+ ],
646
+ [
647
+ 17,
648
+ 9
649
+ ],
650
+ [
651
+ 17,
652
+ 9
653
+ ],
654
+ [
655
+ 17,
656
+ 9
657
+ ],
658
+ [
659
+ 17,
660
+ 9
661
+ ],
662
+ [
663
+ 17,
664
+ 9
665
+ ],
666
+ [
667
+ 17,
668
+ 9
669
+ ],
670
+ [
671
+ 17,
672
+ 9
673
+ ],
674
+ [
675
+ 17,
676
+ 9
677
+ ],
678
+ [
679
+ 17,
680
+ 9
681
+ ],
682
+ [
683
+ 17,
684
+ 9
685
+ ],
686
+ [
687
+ 17,
688
+ 9
689
+ ],
690
+ [
691
+ 17,
692
+ 9
693
+ ],
694
+ [
695
+ 17,
696
+ 9
697
+ ],
698
+ [
699
+ 17,
700
+ 9
701
+ ],
702
+ [
703
+ 17,
704
+ 9
705
+ ],
706
+ [
707
+ 17,
708
+ 9
709
+ ],
710
+ [
711
+ 17,
712
+ 9
713
+ ],
714
+ [
715
+ 41,
716
+ 0
717
+ ],
718
+ [
719
+ 41,
720
+ 1
721
+ ],
722
+ [
723
+ 39,
724
+ 1
725
+ ],
726
+ [
727
+ 39,
728
+ 1
729
+ ],
730
+ [
731
+ 39,
732
+ 1
733
+ ],
734
+ [
735
+ 5,
736
+ 3
737
+ ],
738
+ [
739
+ 5,
740
+ 5
741
+ ],
742
+ [
743
+ 46,
744
+ 1
745
+ ],
746
+ [
747
+ 47,
748
+ 1
749
+ ],
750
+ [
751
+ 49,
752
+ 1
753
+ ],
754
+ [
755
+ 48,
756
+ 1
757
+ ],
758
+ [
759
+ 28,
760
+ 1
761
+ ],
762
+ [
763
+ 28,
764
+ 1
765
+ ],
766
+ [
767
+ 4,
768
+ 1
769
+ ],
770
+ [
771
+ 4,
772
+ 1
773
+ ],
774
+ [
775
+ 4,
776
+ 1
777
+ ]
778
+ ],
779
+ performAction: function performAction(m, b, k, i, v, e, W) {
780
+ var t = e.length - 1;
781
+ switch(v){
782
+ case 3:
783
+ return e[t];
784
+ case 4:
785
+ return e[t - 1];
786
+ case 5:
787
+ return i.setDirection(e[t - 3]), e[t - 1];
788
+ case 7:
789
+ i.setOptions(e[t - 1]), this.$ = e[t];
790
+ break;
791
+ case 8:
792
+ e[t - 1] += e[t], this.$ = e[t - 1];
793
+ break;
794
+ case 10:
795
+ this.$ = [];
796
+ break;
797
+ case 11:
798
+ e[t - 1].push(e[t]), this.$ = e[t - 1];
799
+ break;
800
+ case 12:
801
+ this.$ = e[t - 1];
802
+ break;
803
+ case 17:
804
+ this.$ = e[t].trim(), i.setAccTitle(this.$);
805
+ break;
806
+ case 18:
807
+ case 19:
808
+ this.$ = e[t].trim(), i.setAccDescription(this.$);
809
+ break;
810
+ case 20:
811
+ i.addSection(e[t].substr(8)), this.$ = e[t].substr(8);
812
+ break;
813
+ case 22:
814
+ i.checkout(e[t]);
815
+ break;
816
+ case 23:
817
+ i.branch(e[t]);
818
+ break;
819
+ case 24:
820
+ i.branch(e[t - 2], e[t]);
821
+ break;
822
+ case 25:
823
+ i.cherryPick(e[t], "", void 0);
824
+ break;
825
+ case 26:
826
+ i.cherryPick(e[t - 2], "", e[t]);
827
+ break;
828
+ case 27:
829
+ case 29:
830
+ i.cherryPick(e[t - 2], "", "");
831
+ break;
832
+ case 28:
833
+ i.cherryPick(e[t], "", e[t - 2]);
834
+ break;
835
+ case 30:
836
+ i.merge(e[t], "", "", "");
837
+ break;
838
+ case 31:
839
+ i.merge(e[t - 2], e[t], "", "");
840
+ break;
841
+ case 32:
842
+ i.merge(e[t - 2], "", e[t], "");
843
+ break;
844
+ case 33:
845
+ i.merge(e[t - 2], "", "", e[t]);
846
+ break;
847
+ case 34:
848
+ i.merge(e[t - 4], e[t], "", e[t - 2]);
849
+ break;
850
+ case 35:
851
+ i.merge(e[t - 4], "", e[t], e[t - 2]);
852
+ break;
853
+ case 36:
854
+ i.merge(e[t - 4], "", e[t - 2], e[t]);
855
+ break;
856
+ case 37:
857
+ i.merge(e[t - 4], e[t - 2], e[t], "");
858
+ break;
859
+ case 38:
860
+ i.merge(e[t - 4], e[t - 2], "", e[t]);
861
+ break;
862
+ case 39:
863
+ i.merge(e[t - 4], e[t], e[t - 2], "");
864
+ break;
865
+ case 40:
866
+ i.merge(e[t - 6], e[t - 4], e[t - 2], e[t]);
867
+ break;
868
+ case 41:
869
+ i.merge(e[t - 6], e[t], e[t - 4], e[t - 2]);
870
+ break;
871
+ case 42:
872
+ i.merge(e[t - 6], e[t - 4], e[t], e[t - 2]);
873
+ break;
874
+ case 43:
875
+ i.merge(e[t - 6], e[t - 2], e[t - 4], e[t]);
876
+ break;
877
+ case 44:
878
+ i.merge(e[t - 6], e[t], e[t - 2], e[t - 4]);
879
+ break;
880
+ case 45:
881
+ i.merge(e[t - 6], e[t - 2], e[t], e[t - 4]);
882
+ break;
883
+ case 46:
884
+ i.commit(e[t]);
885
+ break;
886
+ case 47:
887
+ i.commit("", "", i.commitType.NORMAL, e[t]);
888
+ break;
889
+ case 48:
890
+ i.commit("", "", e[t], "");
891
+ break;
892
+ case 49:
893
+ i.commit("", "", e[t], e[t - 2]);
894
+ break;
895
+ case 50:
896
+ i.commit("", "", e[t - 2], e[t]);
897
+ break;
898
+ case 51:
899
+ i.commit("", e[t], i.commitType.NORMAL, "");
900
+ break;
901
+ case 52:
902
+ i.commit("", e[t - 2], i.commitType.NORMAL, e[t]);
903
+ break;
904
+ case 53:
905
+ i.commit("", e[t], i.commitType.NORMAL, e[t - 2]);
906
+ break;
907
+ case 54:
908
+ i.commit("", e[t - 2], e[t], "");
909
+ break;
910
+ case 55:
911
+ i.commit("", e[t], e[t - 2], "");
912
+ break;
913
+ case 56:
914
+ i.commit("", e[t - 4], e[t - 2], e[t]);
915
+ break;
916
+ case 57:
917
+ i.commit("", e[t - 4], e[t], e[t - 2]);
918
+ break;
919
+ case 58:
920
+ i.commit("", e[t - 2], e[t - 4], e[t]);
921
+ break;
922
+ case 59:
923
+ i.commit("", e[t], e[t - 4], e[t - 2]);
924
+ break;
925
+ case 60:
926
+ i.commit("", e[t], e[t - 2], e[t - 4]);
927
+ break;
928
+ case 61:
929
+ i.commit("", e[t - 2], e[t], e[t - 4]);
930
+ break;
931
+ case 62:
932
+ i.commit(e[t], "", i.commitType.NORMAL, "");
933
+ break;
934
+ case 63:
935
+ i.commit(e[t], "", i.commitType.NORMAL, e[t - 2]);
936
+ break;
937
+ case 64:
938
+ i.commit(e[t - 2], "", i.commitType.NORMAL, e[t]);
939
+ break;
940
+ case 65:
941
+ i.commit(e[t - 2], "", e[t], "");
942
+ break;
943
+ case 66:
944
+ i.commit(e[t], "", e[t - 2], "");
945
+ break;
946
+ case 67:
947
+ i.commit(e[t], e[t - 2], i.commitType.NORMAL, "");
948
+ break;
949
+ case 68:
950
+ i.commit(e[t - 2], e[t], i.commitType.NORMAL, "");
951
+ break;
952
+ case 69:
953
+ i.commit(e[t - 4], "", e[t - 2], e[t]);
954
+ break;
955
+ case 70:
956
+ i.commit(e[t - 4], "", e[t], e[t - 2]);
957
+ break;
958
+ case 71:
959
+ i.commit(e[t - 2], "", e[t - 4], e[t]);
960
+ break;
961
+ case 72:
962
+ i.commit(e[t], "", e[t - 4], e[t - 2]);
963
+ break;
964
+ case 73:
965
+ i.commit(e[t], "", e[t - 2], e[t - 4]);
966
+ break;
967
+ case 74:
968
+ i.commit(e[t - 2], "", e[t], e[t - 4]);
969
+ break;
970
+ case 75:
971
+ i.commit(e[t - 4], e[t], e[t - 2], "");
972
+ break;
973
+ case 76:
974
+ i.commit(e[t - 4], e[t - 2], e[t], "");
975
+ break;
976
+ case 77:
977
+ i.commit(e[t - 2], e[t], e[t - 4], "");
978
+ break;
979
+ case 78:
980
+ i.commit(e[t], e[t - 2], e[t - 4], "");
981
+ break;
982
+ case 79:
983
+ i.commit(e[t], e[t - 4], e[t - 2], "");
984
+ break;
985
+ case 80:
986
+ i.commit(e[t - 2], e[t - 4], e[t], "");
987
+ break;
988
+ case 81:
989
+ i.commit(e[t - 4], e[t], i.commitType.NORMAL, e[t - 2]);
990
+ break;
991
+ case 82:
992
+ i.commit(e[t - 4], e[t - 2], i.commitType.NORMAL, e[t]);
993
+ break;
994
+ case 83:
995
+ i.commit(e[t - 2], e[t], i.commitType.NORMAL, e[t - 4]);
996
+ break;
997
+ case 84:
998
+ i.commit(e[t], e[t - 2], i.commitType.NORMAL, e[t - 4]);
999
+ break;
1000
+ case 85:
1001
+ i.commit(e[t], e[t - 4], i.commitType.NORMAL, e[t - 2]);
1002
+ break;
1003
+ case 86:
1004
+ i.commit(e[t - 2], e[t - 4], i.commitType.NORMAL, e[t]);
1005
+ break;
1006
+ case 87:
1007
+ i.commit(e[t - 6], e[t - 4], e[t - 2], e[t]);
1008
+ break;
1009
+ case 88:
1010
+ i.commit(e[t - 6], e[t - 4], e[t], e[t - 2]);
1011
+ break;
1012
+ case 89:
1013
+ i.commit(e[t - 6], e[t - 2], e[t - 4], e[t]);
1014
+ break;
1015
+ case 90:
1016
+ i.commit(e[t - 6], e[t], e[t - 4], e[t - 2]);
1017
+ break;
1018
+ case 91:
1019
+ i.commit(e[t - 6], e[t - 2], e[t], e[t - 4]);
1020
+ break;
1021
+ case 92:
1022
+ i.commit(e[t - 6], e[t], e[t - 2], e[t - 4]);
1023
+ break;
1024
+ case 93:
1025
+ i.commit(e[t - 4], e[t - 6], e[t - 2], e[t]);
1026
+ break;
1027
+ case 94:
1028
+ i.commit(e[t - 4], e[t - 6], e[t], e[t - 2]);
1029
+ break;
1030
+ case 95:
1031
+ i.commit(e[t - 2], e[t - 6], e[t - 4], e[t]);
1032
+ break;
1033
+ case 96:
1034
+ i.commit(e[t], e[t - 6], e[t - 4], e[t - 2]);
1035
+ break;
1036
+ case 97:
1037
+ i.commit(e[t - 2], e[t - 6], e[t], e[t - 4]);
1038
+ break;
1039
+ case 98:
1040
+ i.commit(e[t], e[t - 6], e[t - 2], e[t - 4]);
1041
+ break;
1042
+ case 99:
1043
+ i.commit(e[t], e[t - 4], e[t - 2], e[t - 6]);
1044
+ break;
1045
+ case 100:
1046
+ i.commit(e[t - 2], e[t - 4], e[t], e[t - 6]);
1047
+ break;
1048
+ case 101:
1049
+ i.commit(e[t], e[t - 2], e[t - 4], e[t - 6]);
1050
+ break;
1051
+ case 102:
1052
+ i.commit(e[t - 2], e[t], e[t - 4], e[t - 6]);
1053
+ break;
1054
+ case 103:
1055
+ i.commit(e[t - 4], e[t - 2], e[t], e[t - 6]);
1056
+ break;
1057
+ case 104:
1058
+ i.commit(e[t - 4], e[t], e[t - 2], e[t - 6]);
1059
+ break;
1060
+ case 105:
1061
+ i.commit(e[t - 2], e[t - 4], e[t - 6], e[t]);
1062
+ break;
1063
+ case 106:
1064
+ i.commit(e[t], e[t - 4], e[t - 6], e[t - 2]);
1065
+ break;
1066
+ case 107:
1067
+ i.commit(e[t - 2], e[t], e[t - 6], e[t - 4]);
1068
+ break;
1069
+ case 108:
1070
+ i.commit(e[t], e[t - 2], e[t - 6], e[t - 4]);
1071
+ break;
1072
+ case 109:
1073
+ i.commit(e[t - 4], e[t - 2], e[t - 6], e[t]);
1074
+ break;
1075
+ case 110:
1076
+ i.commit(e[t - 4], e[t], e[t - 6], e[t - 2]);
1077
+ break;
1078
+ case 111:
1079
+ this.$ = "";
1080
+ break;
1081
+ case 112:
1082
+ this.$ = e[t];
1083
+ break;
1084
+ case 113:
1085
+ this.$ = i.commitType.NORMAL;
1086
+ break;
1087
+ case 114:
1088
+ this.$ = i.commitType.REVERSE;
1089
+ break;
1090
+ case 115:
1091
+ this.$ = i.commitType.HIGHLIGHT;
1092
+ break;
1093
+ case 118:
1094
+ i.parseDirective("%%{", "open_directive");
1095
+ break;
1096
+ case 119:
1097
+ i.parseDirective(e[t], "type_directive");
1098
+ break;
1099
+ case 120:
1100
+ e[t] = e[t].trim().replace(/'/g, '"'), i.parseDirective(e[t], "arg_directive");
1101
+ break;
1102
+ case 121:
1103
+ i.parseDirective("}%%", "close_directive", "gitGraph");
1104
+ break;
1105
+ }
1106
+ },
1107
+ table: [
1108
+ {
1109
+ 3: 1,
1110
+ 4: 2,
1111
+ 5: 3,
1112
+ 6: a,
1113
+ 8: o,
1114
+ 14: p,
1115
+ 46: 8,
1116
+ 50: n,
1117
+ 55: c
1118
+ },
1119
+ {
1120
+ 1: [
1121
+ 3
1122
+ ]
1123
+ },
1124
+ {
1125
+ 3: 10,
1126
+ 4: 2,
1127
+ 5: 3,
1128
+ 6: a,
1129
+ 8: o,
1130
+ 14: p,
1131
+ 46: 8,
1132
+ 50: n,
1133
+ 55: c
1134
+ },
1135
+ {
1136
+ 3: 11,
1137
+ 4: 2,
1138
+ 5: 3,
1139
+ 6: a,
1140
+ 8: o,
1141
+ 14: p,
1142
+ 46: 8,
1143
+ 50: n,
1144
+ 55: c
1145
+ },
1146
+ {
1147
+ 7: 12,
1148
+ 8: u,
1149
+ 9: [
1150
+ 1,
1151
+ 13
1152
+ ],
1153
+ 10: [
1154
+ 1,
1155
+ 14
1156
+ ],
1157
+ 11: 15,
1158
+ 14: h
1159
+ },
1160
+ r(w, [
1161
+ 2,
1162
+ 124
1163
+ ]),
1164
+ r(w, [
1165
+ 2,
1166
+ 125
1167
+ ]),
1168
+ r(w, [
1169
+ 2,
1170
+ 126
1171
+ ]),
1172
+ {
1173
+ 47: 17,
1174
+ 51: [
1175
+ 1,
1176
+ 18
1177
+ ]
1178
+ },
1179
+ {
1180
+ 51: [
1181
+ 2,
1182
+ 118
1183
+ ]
1184
+ },
1185
+ {
1186
+ 1: [
1187
+ 2,
1188
+ 1
1189
+ ]
1190
+ },
1191
+ {
1192
+ 1: [
1193
+ 2,
1194
+ 2
1195
+ ]
1196
+ },
1197
+ {
1198
+ 8: [
1199
+ 1,
1200
+ 19
1201
+ ]
1202
+ },
1203
+ {
1204
+ 7: 20,
1205
+ 8: u,
1206
+ 11: 15,
1207
+ 14: h
1208
+ },
1209
+ {
1210
+ 9: [
1211
+ 1,
1212
+ 21
1213
+ ]
1214
+ },
1215
+ r(x, [
1216
+ 2,
1217
+ 10
1218
+ ], {
1219
+ 12: 22,
1220
+ 13: [
1221
+ 1,
1222
+ 23
1223
+ ]
1224
+ }),
1225
+ r(l, [
1226
+ 2,
1227
+ 9
1228
+ ]),
1229
+ {
1230
+ 9: [
1231
+ 1,
1232
+ 25
1233
+ ],
1234
+ 48: 24,
1235
+ 53: g
1236
+ },
1237
+ r([
1238
+ 9,
1239
+ 53
1240
+ ], [
1241
+ 2,
1242
+ 119
1243
+ ]),
1244
+ {
1245
+ 1: [
1246
+ 2,
1247
+ 3
1248
+ ]
1249
+ },
1250
+ {
1251
+ 8: [
1252
+ 1,
1253
+ 27
1254
+ ]
1255
+ },
1256
+ {
1257
+ 7: 28,
1258
+ 8: u,
1259
+ 11: 15,
1260
+ 14: h
1261
+ },
1262
+ {
1263
+ 8: [
1264
+ 2,
1265
+ 7
1266
+ ],
1267
+ 14: [
1268
+ 1,
1269
+ 31
1270
+ ],
1271
+ 15: 29,
1272
+ 16: 30,
1273
+ 17: 32,
1274
+ 18: 33,
1275
+ 19: 34,
1276
+ 20: [
1277
+ 1,
1278
+ 35
1279
+ ],
1280
+ 22: [
1281
+ 1,
1282
+ 36
1283
+ ],
1284
+ 24: [
1285
+ 1,
1286
+ 37
1287
+ ],
1288
+ 25: [
1289
+ 1,
1290
+ 38
1291
+ ],
1292
+ 26: 39,
1293
+ 27: [
1294
+ 1,
1295
+ 40
1296
+ ],
1297
+ 29: [
1298
+ 1,
1299
+ 44
1300
+ ],
1301
+ 32: [
1302
+ 1,
1303
+ 43
1304
+ ],
1305
+ 37: [
1306
+ 1,
1307
+ 42
1308
+ ],
1309
+ 40: [
1310
+ 1,
1311
+ 41
1312
+ ]
1313
+ },
1314
+ r(l, [
1315
+ 2,
1316
+ 8
1317
+ ]),
1318
+ r(f, [
1319
+ 2,
1320
+ 116
1321
+ ]),
1322
+ {
1323
+ 49: 45,
1324
+ 52: [
1325
+ 1,
1326
+ 46
1327
+ ]
1328
+ },
1329
+ r(f, [
1330
+ 2,
1331
+ 121
1332
+ ]),
1333
+ {
1334
+ 1: [
1335
+ 2,
1336
+ 4
1337
+ ]
1338
+ },
1339
+ {
1340
+ 8: [
1341
+ 1,
1342
+ 47
1343
+ ]
1344
+ },
1345
+ r(x, [
1346
+ 2,
1347
+ 11
1348
+ ]),
1349
+ {
1350
+ 4: 48,
1351
+ 8: o,
1352
+ 14: p,
1353
+ 55: c
1354
+ },
1355
+ r(x, [
1356
+ 2,
1357
+ 13
1358
+ ]),
1359
+ r(s, [
1360
+ 2,
1361
+ 14
1362
+ ]),
1363
+ r(s, [
1364
+ 2,
1365
+ 15
1366
+ ]),
1367
+ r(s, [
1368
+ 2,
1369
+ 16
1370
+ ]),
1371
+ {
1372
+ 21: [
1373
+ 1,
1374
+ 49
1375
+ ]
1376
+ },
1377
+ {
1378
+ 23: [
1379
+ 1,
1380
+ 50
1381
+ ]
1382
+ },
1383
+ r(s, [
1384
+ 2,
1385
+ 19
1386
+ ]),
1387
+ r(s, [
1388
+ 2,
1389
+ 20
1390
+ ]),
1391
+ r(s, [
1392
+ 2,
1393
+ 21
1394
+ ]),
1395
+ {
1396
+ 28: 51,
1397
+ 34: _,
1398
+ 54: T
1399
+ },
1400
+ r(s, [
1401
+ 2,
1402
+ 111
1403
+ ], {
1404
+ 41: 54,
1405
+ 33: [
1406
+ 1,
1407
+ 57
1408
+ ],
1409
+ 34: [
1410
+ 1,
1411
+ 59
1412
+ ],
1413
+ 35: [
1414
+ 1,
1415
+ 55
1416
+ ],
1417
+ 38: [
1418
+ 1,
1419
+ 56
1420
+ ],
1421
+ 42: [
1422
+ 1,
1423
+ 58
1424
+ ]
1425
+ }),
1426
+ {
1427
+ 28: 60,
1428
+ 34: _,
1429
+ 54: T
1430
+ },
1431
+ {
1432
+ 33: [
1433
+ 1,
1434
+ 61
1435
+ ],
1436
+ 35: [
1437
+ 1,
1438
+ 62
1439
+ ]
1440
+ },
1441
+ {
1442
+ 28: 63,
1443
+ 34: _,
1444
+ 54: T
1445
+ },
1446
+ {
1447
+ 48: 64,
1448
+ 53: g
1449
+ },
1450
+ {
1451
+ 53: [
1452
+ 2,
1453
+ 120
1454
+ ]
1455
+ },
1456
+ {
1457
+ 1: [
1458
+ 2,
1459
+ 5
1460
+ ]
1461
+ },
1462
+ r(x, [
1463
+ 2,
1464
+ 12
1465
+ ]),
1466
+ r(s, [
1467
+ 2,
1468
+ 17
1469
+ ]),
1470
+ r(s, [
1471
+ 2,
1472
+ 18
1473
+ ]),
1474
+ r(s, [
1475
+ 2,
1476
+ 22
1477
+ ]),
1478
+ r(O, [
1479
+ 2,
1480
+ 122
1481
+ ]),
1482
+ r(O, [
1483
+ 2,
1484
+ 123
1485
+ ]),
1486
+ r(s, [
1487
+ 2,
1488
+ 46
1489
+ ]),
1490
+ {
1491
+ 34: [
1492
+ 1,
1493
+ 65
1494
+ ]
1495
+ },
1496
+ {
1497
+ 39: 66,
1498
+ 43: E,
1499
+ 44: d,
1500
+ 45: y
1501
+ },
1502
+ {
1503
+ 34: [
1504
+ 1,
1505
+ 70
1506
+ ]
1507
+ },
1508
+ {
1509
+ 34: [
1510
+ 1,
1511
+ 71
1512
+ ]
1513
+ },
1514
+ r(s, [
1515
+ 2,
1516
+ 112
1517
+ ]),
1518
+ r(s, [
1519
+ 2,
1520
+ 30
1521
+ ], {
1522
+ 33: [
1523
+ 1,
1524
+ 72
1525
+ ],
1526
+ 35: [
1527
+ 1,
1528
+ 74
1529
+ ],
1530
+ 38: [
1531
+ 1,
1532
+ 73
1533
+ ]
1534
+ }),
1535
+ {
1536
+ 34: [
1537
+ 1,
1538
+ 75
1539
+ ]
1540
+ },
1541
+ {
1542
+ 34: [
1543
+ 1,
1544
+ 76
1545
+ ],
1546
+ 36: [
1547
+ 1,
1548
+ 77
1549
+ ]
1550
+ },
1551
+ r(s, [
1552
+ 2,
1553
+ 23
1554
+ ], {
1555
+ 30: [
1556
+ 1,
1557
+ 78
1558
+ ]
1559
+ }),
1560
+ r(f, [
1561
+ 2,
1562
+ 117
1563
+ ]),
1564
+ r(s, [
1565
+ 2,
1566
+ 47
1567
+ ], {
1568
+ 33: [
1569
+ 1,
1570
+ 80
1571
+ ],
1572
+ 38: [
1573
+ 1,
1574
+ 79
1575
+ ],
1576
+ 42: [
1577
+ 1,
1578
+ 81
1579
+ ]
1580
+ }),
1581
+ r(s, [
1582
+ 2,
1583
+ 48
1584
+ ], {
1585
+ 33: [
1586
+ 1,
1587
+ 83
1588
+ ],
1589
+ 35: [
1590
+ 1,
1591
+ 82
1592
+ ],
1593
+ 42: [
1594
+ 1,
1595
+ 84
1596
+ ]
1597
+ }),
1598
+ r(N, [
1599
+ 2,
1600
+ 113
1601
+ ]),
1602
+ r(N, [
1603
+ 2,
1604
+ 114
1605
+ ]),
1606
+ r(N, [
1607
+ 2,
1608
+ 115
1609
+ ]),
1610
+ r(s, [
1611
+ 2,
1612
+ 51
1613
+ ], {
1614
+ 35: [
1615
+ 1,
1616
+ 85
1617
+ ],
1618
+ 38: [
1619
+ 1,
1620
+ 86
1621
+ ],
1622
+ 42: [
1623
+ 1,
1624
+ 87
1625
+ ]
1626
+ }),
1627
+ r(s, [
1628
+ 2,
1629
+ 62
1630
+ ], {
1631
+ 33: [
1632
+ 1,
1633
+ 90
1634
+ ],
1635
+ 35: [
1636
+ 1,
1637
+ 88
1638
+ ],
1639
+ 38: [
1640
+ 1,
1641
+ 89
1642
+ ]
1643
+ }),
1644
+ {
1645
+ 34: [
1646
+ 1,
1647
+ 91
1648
+ ]
1649
+ },
1650
+ {
1651
+ 39: 92,
1652
+ 43: E,
1653
+ 44: d,
1654
+ 45: y
1655
+ },
1656
+ {
1657
+ 34: [
1658
+ 1,
1659
+ 93
1660
+ ]
1661
+ },
1662
+ r(s, [
1663
+ 2,
1664
+ 25
1665
+ ], {
1666
+ 35: [
1667
+ 1,
1668
+ 94
1669
+ ]
1670
+ }),
1671
+ {
1672
+ 33: [
1673
+ 1,
1674
+ 95
1675
+ ]
1676
+ },
1677
+ {
1678
+ 33: [
1679
+ 1,
1680
+ 96
1681
+ ]
1682
+ },
1683
+ {
1684
+ 31: [
1685
+ 1,
1686
+ 97
1687
+ ]
1688
+ },
1689
+ {
1690
+ 39: 98,
1691
+ 43: E,
1692
+ 44: d,
1693
+ 45: y
1694
+ },
1695
+ {
1696
+ 34: [
1697
+ 1,
1698
+ 99
1699
+ ]
1700
+ },
1701
+ {
1702
+ 34: [
1703
+ 1,
1704
+ 100
1705
+ ]
1706
+ },
1707
+ {
1708
+ 34: [
1709
+ 1,
1710
+ 101
1711
+ ]
1712
+ },
1713
+ {
1714
+ 34: [
1715
+ 1,
1716
+ 102
1717
+ ]
1718
+ },
1719
+ {
1720
+ 34: [
1721
+ 1,
1722
+ 103
1723
+ ]
1724
+ },
1725
+ {
1726
+ 34: [
1727
+ 1,
1728
+ 104
1729
+ ]
1730
+ },
1731
+ {
1732
+ 39: 105,
1733
+ 43: E,
1734
+ 44: d,
1735
+ 45: y
1736
+ },
1737
+ {
1738
+ 34: [
1739
+ 1,
1740
+ 106
1741
+ ]
1742
+ },
1743
+ {
1744
+ 34: [
1745
+ 1,
1746
+ 107
1747
+ ]
1748
+ },
1749
+ {
1750
+ 39: 108,
1751
+ 43: E,
1752
+ 44: d,
1753
+ 45: y
1754
+ },
1755
+ {
1756
+ 34: [
1757
+ 1,
1758
+ 109
1759
+ ]
1760
+ },
1761
+ r(s, [
1762
+ 2,
1763
+ 31
1764
+ ], {
1765
+ 35: [
1766
+ 1,
1767
+ 111
1768
+ ],
1769
+ 38: [
1770
+ 1,
1771
+ 110
1772
+ ]
1773
+ }),
1774
+ r(s, [
1775
+ 2,
1776
+ 32
1777
+ ], {
1778
+ 33: [
1779
+ 1,
1780
+ 113
1781
+ ],
1782
+ 35: [
1783
+ 1,
1784
+ 112
1785
+ ]
1786
+ }),
1787
+ r(s, [
1788
+ 2,
1789
+ 33
1790
+ ], {
1791
+ 33: [
1792
+ 1,
1793
+ 114
1794
+ ],
1795
+ 38: [
1796
+ 1,
1797
+ 115
1798
+ ]
1799
+ }),
1800
+ {
1801
+ 34: [
1802
+ 1,
1803
+ 116
1804
+ ],
1805
+ 36: [
1806
+ 1,
1807
+ 117
1808
+ ]
1809
+ },
1810
+ {
1811
+ 34: [
1812
+ 1,
1813
+ 118
1814
+ ]
1815
+ },
1816
+ {
1817
+ 34: [
1818
+ 1,
1819
+ 119
1820
+ ]
1821
+ },
1822
+ r(s, [
1823
+ 2,
1824
+ 24
1825
+ ]),
1826
+ r(s, [
1827
+ 2,
1828
+ 49
1829
+ ], {
1830
+ 33: [
1831
+ 1,
1832
+ 120
1833
+ ],
1834
+ 42: [
1835
+ 1,
1836
+ 121
1837
+ ]
1838
+ }),
1839
+ r(s, [
1840
+ 2,
1841
+ 53
1842
+ ], {
1843
+ 38: [
1844
+ 1,
1845
+ 122
1846
+ ],
1847
+ 42: [
1848
+ 1,
1849
+ 123
1850
+ ]
1851
+ }),
1852
+ r(s, [
1853
+ 2,
1854
+ 63
1855
+ ], {
1856
+ 33: [
1857
+ 1,
1858
+ 125
1859
+ ],
1860
+ 38: [
1861
+ 1,
1862
+ 124
1863
+ ]
1864
+ }),
1865
+ r(s, [
1866
+ 2,
1867
+ 50
1868
+ ], {
1869
+ 33: [
1870
+ 1,
1871
+ 126
1872
+ ],
1873
+ 42: [
1874
+ 1,
1875
+ 127
1876
+ ]
1877
+ }),
1878
+ r(s, [
1879
+ 2,
1880
+ 55
1881
+ ], {
1882
+ 35: [
1883
+ 1,
1884
+ 128
1885
+ ],
1886
+ 42: [
1887
+ 1,
1888
+ 129
1889
+ ]
1890
+ }),
1891
+ r(s, [
1892
+ 2,
1893
+ 66
1894
+ ], {
1895
+ 33: [
1896
+ 1,
1897
+ 131
1898
+ ],
1899
+ 35: [
1900
+ 1,
1901
+ 130
1902
+ ]
1903
+ }),
1904
+ r(s, [
1905
+ 2,
1906
+ 52
1907
+ ], {
1908
+ 38: [
1909
+ 1,
1910
+ 132
1911
+ ],
1912
+ 42: [
1913
+ 1,
1914
+ 133
1915
+ ]
1916
+ }),
1917
+ r(s, [
1918
+ 2,
1919
+ 54
1920
+ ], {
1921
+ 35: [
1922
+ 1,
1923
+ 134
1924
+ ],
1925
+ 42: [
1926
+ 1,
1927
+ 135
1928
+ ]
1929
+ }),
1930
+ r(s, [
1931
+ 2,
1932
+ 67
1933
+ ], {
1934
+ 35: [
1935
+ 1,
1936
+ 137
1937
+ ],
1938
+ 38: [
1939
+ 1,
1940
+ 136
1941
+ ]
1942
+ }),
1943
+ r(s, [
1944
+ 2,
1945
+ 64
1946
+ ], {
1947
+ 33: [
1948
+ 1,
1949
+ 139
1950
+ ],
1951
+ 38: [
1952
+ 1,
1953
+ 138
1954
+ ]
1955
+ }),
1956
+ r(s, [
1957
+ 2,
1958
+ 65
1959
+ ], {
1960
+ 33: [
1961
+ 1,
1962
+ 141
1963
+ ],
1964
+ 35: [
1965
+ 1,
1966
+ 140
1967
+ ]
1968
+ }),
1969
+ r(s, [
1970
+ 2,
1971
+ 68
1972
+ ], {
1973
+ 35: [
1974
+ 1,
1975
+ 143
1976
+ ],
1977
+ 38: [
1978
+ 1,
1979
+ 142
1980
+ ]
1981
+ }),
1982
+ {
1983
+ 39: 144,
1984
+ 43: E,
1985
+ 44: d,
1986
+ 45: y
1987
+ },
1988
+ {
1989
+ 34: [
1990
+ 1,
1991
+ 145
1992
+ ]
1993
+ },
1994
+ {
1995
+ 34: [
1996
+ 1,
1997
+ 146
1998
+ ]
1999
+ },
2000
+ {
2001
+ 34: [
2002
+ 1,
2003
+ 147
2004
+ ]
2005
+ },
2006
+ {
2007
+ 34: [
2008
+ 1,
2009
+ 148
2010
+ ]
2011
+ },
2012
+ {
2013
+ 39: 149,
2014
+ 43: E,
2015
+ 44: d,
2016
+ 45: y
2017
+ },
2018
+ r(s, [
2019
+ 2,
2020
+ 26
2021
+ ]),
2022
+ r(s, [
2023
+ 2,
2024
+ 27
2025
+ ]),
2026
+ r(s, [
2027
+ 2,
2028
+ 28
2029
+ ]),
2030
+ r(s, [
2031
+ 2,
2032
+ 29
2033
+ ]),
2034
+ {
2035
+ 34: [
2036
+ 1,
2037
+ 150
2038
+ ]
2039
+ },
2040
+ {
2041
+ 34: [
2042
+ 1,
2043
+ 151
2044
+ ]
2045
+ },
2046
+ {
2047
+ 39: 152,
2048
+ 43: E,
2049
+ 44: d,
2050
+ 45: y
2051
+ },
2052
+ {
2053
+ 34: [
2054
+ 1,
2055
+ 153
2056
+ ]
2057
+ },
2058
+ {
2059
+ 39: 154,
2060
+ 43: E,
2061
+ 44: d,
2062
+ 45: y
2063
+ },
2064
+ {
2065
+ 34: [
2066
+ 1,
2067
+ 155
2068
+ ]
2069
+ },
2070
+ {
2071
+ 34: [
2072
+ 1,
2073
+ 156
2074
+ ]
2075
+ },
2076
+ {
2077
+ 34: [
2078
+ 1,
2079
+ 157
2080
+ ]
2081
+ },
2082
+ {
2083
+ 34: [
2084
+ 1,
2085
+ 158
2086
+ ]
2087
+ },
2088
+ {
2089
+ 34: [
2090
+ 1,
2091
+ 159
2092
+ ]
2093
+ },
2094
+ {
2095
+ 34: [
2096
+ 1,
2097
+ 160
2098
+ ]
2099
+ },
2100
+ {
2101
+ 34: [
2102
+ 1,
2103
+ 161
2104
+ ]
2105
+ },
2106
+ {
2107
+ 39: 162,
2108
+ 43: E,
2109
+ 44: d,
2110
+ 45: y
2111
+ },
2112
+ {
2113
+ 34: [
2114
+ 1,
2115
+ 163
2116
+ ]
2117
+ },
2118
+ {
2119
+ 34: [
2120
+ 1,
2121
+ 164
2122
+ ]
2123
+ },
2124
+ {
2125
+ 34: [
2126
+ 1,
2127
+ 165
2128
+ ]
2129
+ },
2130
+ {
2131
+ 39: 166,
2132
+ 43: E,
2133
+ 44: d,
2134
+ 45: y
2135
+ },
2136
+ {
2137
+ 34: [
2138
+ 1,
2139
+ 167
2140
+ ]
2141
+ },
2142
+ {
2143
+ 39: 168,
2144
+ 43: E,
2145
+ 44: d,
2146
+ 45: y
2147
+ },
2148
+ {
2149
+ 34: [
2150
+ 1,
2151
+ 169
2152
+ ]
2153
+ },
2154
+ {
2155
+ 34: [
2156
+ 1,
2157
+ 170
2158
+ ]
2159
+ },
2160
+ {
2161
+ 34: [
2162
+ 1,
2163
+ 171
2164
+ ]
2165
+ },
2166
+ {
2167
+ 39: 172,
2168
+ 43: E,
2169
+ 44: d,
2170
+ 45: y
2171
+ },
2172
+ {
2173
+ 34: [
2174
+ 1,
2175
+ 173
2176
+ ]
2177
+ },
2178
+ r(s, [
2179
+ 2,
2180
+ 37
2181
+ ], {
2182
+ 35: [
2183
+ 1,
2184
+ 174
2185
+ ]
2186
+ }),
2187
+ r(s, [
2188
+ 2,
2189
+ 38
2190
+ ], {
2191
+ 38: [
2192
+ 1,
2193
+ 175
2194
+ ]
2195
+ }),
2196
+ r(s, [
2197
+ 2,
2198
+ 36
2199
+ ], {
2200
+ 33: [
2201
+ 1,
2202
+ 176
2203
+ ]
2204
+ }),
2205
+ r(s, [
2206
+ 2,
2207
+ 39
2208
+ ], {
2209
+ 35: [
2210
+ 1,
2211
+ 177
2212
+ ]
2213
+ }),
2214
+ r(s, [
2215
+ 2,
2216
+ 34
2217
+ ], {
2218
+ 38: [
2219
+ 1,
2220
+ 178
2221
+ ]
2222
+ }),
2223
+ r(s, [
2224
+ 2,
2225
+ 35
2226
+ ], {
2227
+ 33: [
2228
+ 1,
2229
+ 179
2230
+ ]
2231
+ }),
2232
+ r(s, [
2233
+ 2,
2234
+ 60
2235
+ ], {
2236
+ 42: [
2237
+ 1,
2238
+ 180
2239
+ ]
2240
+ }),
2241
+ r(s, [
2242
+ 2,
2243
+ 73
2244
+ ], {
2245
+ 33: [
2246
+ 1,
2247
+ 181
2248
+ ]
2249
+ }),
2250
+ r(s, [
2251
+ 2,
2252
+ 61
2253
+ ], {
2254
+ 42: [
2255
+ 1,
2256
+ 182
2257
+ ]
2258
+ }),
2259
+ r(s, [
2260
+ 2,
2261
+ 84
2262
+ ], {
2263
+ 38: [
2264
+ 1,
2265
+ 183
2266
+ ]
2267
+ }),
2268
+ r(s, [
2269
+ 2,
2270
+ 74
2271
+ ], {
2272
+ 33: [
2273
+ 1,
2274
+ 184
2275
+ ]
2276
+ }),
2277
+ r(s, [
2278
+ 2,
2279
+ 83
2280
+ ], {
2281
+ 38: [
2282
+ 1,
2283
+ 185
2284
+ ]
2285
+ }),
2286
+ r(s, [
2287
+ 2,
2288
+ 59
2289
+ ], {
2290
+ 42: [
2291
+ 1,
2292
+ 186
2293
+ ]
2294
+ }),
2295
+ r(s, [
2296
+ 2,
2297
+ 72
2298
+ ], {
2299
+ 33: [
2300
+ 1,
2301
+ 187
2302
+ ]
2303
+ }),
2304
+ r(s, [
2305
+ 2,
2306
+ 58
2307
+ ], {
2308
+ 42: [
2309
+ 1,
2310
+ 188
2311
+ ]
2312
+ }),
2313
+ r(s, [
2314
+ 2,
2315
+ 78
2316
+ ], {
2317
+ 35: [
2318
+ 1,
2319
+ 189
2320
+ ]
2321
+ }),
2322
+ r(s, [
2323
+ 2,
2324
+ 71
2325
+ ], {
2326
+ 33: [
2327
+ 1,
2328
+ 190
2329
+ ]
2330
+ }),
2331
+ r(s, [
2332
+ 2,
2333
+ 77
2334
+ ], {
2335
+ 35: [
2336
+ 1,
2337
+ 191
2338
+ ]
2339
+ }),
2340
+ r(s, [
2341
+ 2,
2342
+ 57
2343
+ ], {
2344
+ 42: [
2345
+ 1,
2346
+ 192
2347
+ ]
2348
+ }),
2349
+ r(s, [
2350
+ 2,
2351
+ 85
2352
+ ], {
2353
+ 38: [
2354
+ 1,
2355
+ 193
2356
+ ]
2357
+ }),
2358
+ r(s, [
2359
+ 2,
2360
+ 56
2361
+ ], {
2362
+ 42: [
2363
+ 1,
2364
+ 194
2365
+ ]
2366
+ }),
2367
+ r(s, [
2368
+ 2,
2369
+ 79
2370
+ ], {
2371
+ 35: [
2372
+ 1,
2373
+ 195
2374
+ ]
2375
+ }),
2376
+ r(s, [
2377
+ 2,
2378
+ 80
2379
+ ], {
2380
+ 35: [
2381
+ 1,
2382
+ 196
2383
+ ]
2384
+ }),
2385
+ r(s, [
2386
+ 2,
2387
+ 86
2388
+ ], {
2389
+ 38: [
2390
+ 1,
2391
+ 197
2392
+ ]
2393
+ }),
2394
+ r(s, [
2395
+ 2,
2396
+ 70
2397
+ ], {
2398
+ 33: [
2399
+ 1,
2400
+ 198
2401
+ ]
2402
+ }),
2403
+ r(s, [
2404
+ 2,
2405
+ 81
2406
+ ], {
2407
+ 38: [
2408
+ 1,
2409
+ 199
2410
+ ]
2411
+ }),
2412
+ r(s, [
2413
+ 2,
2414
+ 69
2415
+ ], {
2416
+ 33: [
2417
+ 1,
2418
+ 200
2419
+ ]
2420
+ }),
2421
+ r(s, [
2422
+ 2,
2423
+ 75
2424
+ ], {
2425
+ 35: [
2426
+ 1,
2427
+ 201
2428
+ ]
2429
+ }),
2430
+ r(s, [
2431
+ 2,
2432
+ 76
2433
+ ], {
2434
+ 35: [
2435
+ 1,
2436
+ 202
2437
+ ]
2438
+ }),
2439
+ r(s, [
2440
+ 2,
2441
+ 82
2442
+ ], {
2443
+ 38: [
2444
+ 1,
2445
+ 203
2446
+ ]
2447
+ }),
2448
+ {
2449
+ 34: [
2450
+ 1,
2451
+ 204
2452
+ ]
2453
+ },
2454
+ {
2455
+ 39: 205,
2456
+ 43: E,
2457
+ 44: d,
2458
+ 45: y
2459
+ },
2460
+ {
2461
+ 34: [
2462
+ 1,
2463
+ 206
2464
+ ]
2465
+ },
2466
+ {
2467
+ 34: [
2468
+ 1,
2469
+ 207
2470
+ ]
2471
+ },
2472
+ {
2473
+ 39: 208,
2474
+ 43: E,
2475
+ 44: d,
2476
+ 45: y
2477
+ },
2478
+ {
2479
+ 34: [
2480
+ 1,
2481
+ 209
2482
+ ]
2483
+ },
2484
+ {
2485
+ 34: [
2486
+ 1,
2487
+ 210
2488
+ ]
2489
+ },
2490
+ {
2491
+ 34: [
2492
+ 1,
2493
+ 211
2494
+ ]
2495
+ },
2496
+ {
2497
+ 34: [
2498
+ 1,
2499
+ 212
2500
+ ]
2501
+ },
2502
+ {
2503
+ 39: 213,
2504
+ 43: E,
2505
+ 44: d,
2506
+ 45: y
2507
+ },
2508
+ {
2509
+ 34: [
2510
+ 1,
2511
+ 214
2512
+ ]
2513
+ },
2514
+ {
2515
+ 39: 215,
2516
+ 43: E,
2517
+ 44: d,
2518
+ 45: y
2519
+ },
2520
+ {
2521
+ 34: [
2522
+ 1,
2523
+ 216
2524
+ ]
2525
+ },
2526
+ {
2527
+ 34: [
2528
+ 1,
2529
+ 217
2530
+ ]
2531
+ },
2532
+ {
2533
+ 34: [
2534
+ 1,
2535
+ 218
2536
+ ]
2537
+ },
2538
+ {
2539
+ 34: [
2540
+ 1,
2541
+ 219
2542
+ ]
2543
+ },
2544
+ {
2545
+ 34: [
2546
+ 1,
2547
+ 220
2548
+ ]
2549
+ },
2550
+ {
2551
+ 34: [
2552
+ 1,
2553
+ 221
2554
+ ]
2555
+ },
2556
+ {
2557
+ 34: [
2558
+ 1,
2559
+ 222
2560
+ ]
2561
+ },
2562
+ {
2563
+ 39: 223,
2564
+ 43: E,
2565
+ 44: d,
2566
+ 45: y
2567
+ },
2568
+ {
2569
+ 34: [
2570
+ 1,
2571
+ 224
2572
+ ]
2573
+ },
2574
+ {
2575
+ 34: [
2576
+ 1,
2577
+ 225
2578
+ ]
2579
+ },
2580
+ {
2581
+ 34: [
2582
+ 1,
2583
+ 226
2584
+ ]
2585
+ },
2586
+ {
2587
+ 39: 227,
2588
+ 43: E,
2589
+ 44: d,
2590
+ 45: y
2591
+ },
2592
+ {
2593
+ 34: [
2594
+ 1,
2595
+ 228
2596
+ ]
2597
+ },
2598
+ {
2599
+ 39: 229,
2600
+ 43: E,
2601
+ 44: d,
2602
+ 45: y
2603
+ },
2604
+ {
2605
+ 34: [
2606
+ 1,
2607
+ 230
2608
+ ]
2609
+ },
2610
+ {
2611
+ 34: [
2612
+ 1,
2613
+ 231
2614
+ ]
2615
+ },
2616
+ {
2617
+ 34: [
2618
+ 1,
2619
+ 232
2620
+ ]
2621
+ },
2622
+ {
2623
+ 39: 233,
2624
+ 43: E,
2625
+ 44: d,
2626
+ 45: y
2627
+ },
2628
+ r(s, [
2629
+ 2,
2630
+ 40
2631
+ ]),
2632
+ r(s, [
2633
+ 2,
2634
+ 42
2635
+ ]),
2636
+ r(s, [
2637
+ 2,
2638
+ 41
2639
+ ]),
2640
+ r(s, [
2641
+ 2,
2642
+ 43
2643
+ ]),
2644
+ r(s, [
2645
+ 2,
2646
+ 45
2647
+ ]),
2648
+ r(s, [
2649
+ 2,
2650
+ 44
2651
+ ]),
2652
+ r(s, [
2653
+ 2,
2654
+ 101
2655
+ ]),
2656
+ r(s, [
2657
+ 2,
2658
+ 102
2659
+ ]),
2660
+ r(s, [
2661
+ 2,
2662
+ 99
2663
+ ]),
2664
+ r(s, [
2665
+ 2,
2666
+ 100
2667
+ ]),
2668
+ r(s, [
2669
+ 2,
2670
+ 104
2671
+ ]),
2672
+ r(s, [
2673
+ 2,
2674
+ 103
2675
+ ]),
2676
+ r(s, [
2677
+ 2,
2678
+ 108
2679
+ ]),
2680
+ r(s, [
2681
+ 2,
2682
+ 107
2683
+ ]),
2684
+ r(s, [
2685
+ 2,
2686
+ 106
2687
+ ]),
2688
+ r(s, [
2689
+ 2,
2690
+ 105
2691
+ ]),
2692
+ r(s, [
2693
+ 2,
2694
+ 110
2695
+ ]),
2696
+ r(s, [
2697
+ 2,
2698
+ 109
2699
+ ]),
2700
+ r(s, [
2701
+ 2,
2702
+ 98
2703
+ ]),
2704
+ r(s, [
2705
+ 2,
2706
+ 97
2707
+ ]),
2708
+ r(s, [
2709
+ 2,
2710
+ 96
2711
+ ]),
2712
+ r(s, [
2713
+ 2,
2714
+ 95
2715
+ ]),
2716
+ r(s, [
2717
+ 2,
2718
+ 93
2719
+ ]),
2720
+ r(s, [
2721
+ 2,
2722
+ 94
2723
+ ]),
2724
+ r(s, [
2725
+ 2,
2726
+ 92
2727
+ ]),
2728
+ r(s, [
2729
+ 2,
2730
+ 91
2731
+ ]),
2732
+ r(s, [
2733
+ 2,
2734
+ 90
2735
+ ]),
2736
+ r(s, [
2737
+ 2,
2738
+ 89
2739
+ ]),
2740
+ r(s, [
2741
+ 2,
2742
+ 87
2743
+ ]),
2744
+ r(s, [
2745
+ 2,
2746
+ 88
2747
+ ])
2748
+ ],
2749
+ defaultActions: {
2750
+ 9: [
2751
+ 2,
2752
+ 118
2753
+ ],
2754
+ 10: [
2755
+ 2,
2756
+ 1
2757
+ ],
2758
+ 11: [
2759
+ 2,
2760
+ 2
2761
+ ],
2762
+ 19: [
2763
+ 2,
2764
+ 3
2765
+ ],
2766
+ 27: [
2767
+ 2,
2768
+ 4
2769
+ ],
2770
+ 46: [
2771
+ 2,
2772
+ 120
2773
+ ],
2774
+ 47: [
2775
+ 2,
2776
+ 5
2777
+ ]
2778
+ },
2779
+ parseError: function parseError(m, b) {
2780
+ if (b.recoverable) this.trace(m);
2781
+ else {
2782
+ var k = new Error(m);
2783
+ throw k.hash = b, k;
2784
+ }
2785
+ },
2786
+ parse: function parse(m) {
2787
+ var b = this, k = [
2788
+ 0
2789
+ ], i = [], v = [
2790
+ null
2791
+ ], e = [], W = this.table, t = "", re = 0, ge = 0, Me = 2, de = 1, Ce = e.slice.call(arguments, 1), M = Object.create(this.lexer), Y = {
2792
+ yy: {}
2793
+ };
2794
+ for(var le in this.yy)Object.prototype.hasOwnProperty.call(this.yy, le) && (Y.yy[le] = this.yy[le]);
2795
+ M.setInput(m, Y.yy), Y.yy.lexer = M, Y.yy.parser = this, _type_of(M.yylloc) > "u" && (M.yylloc = {});
2796
+ var he = M.yylloc;
2797
+ e.push(he);
2798
+ var Ae = M.options && M.options.ranges;
2799
+ typeof Y.yy.parseError == "function" ? this.parseError = Y.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
2800
+ function Se() {
2801
+ var j;
2802
+ return j = i.pop() || M.lex() || de, typeof j != "number" && (_instanceof(j, Array) && (i = j, j = i.pop()), j = b.symbols_[j] || j), j;
2803
+ }
2804
+ for(var P, K, D, me, J = {}, ie, z, ke, se;;){
2805
+ if (K = k[k.length - 1], this.defaultActions[K] ? D = this.defaultActions[K] : ((P === null || (typeof P === "undefined" ? "undefined" : _type_of(P)) > "u") && (P = Se()), D = W[K] && W[K][P]), (typeof D === "undefined" ? "undefined" : _type_of(D)) > "u" || !D.length || !D[0]) {
2806
+ var ue = "";
2807
+ se = [];
2808
+ for(ie in W[K])this.terminals_[ie] && ie > Me && se.push("'" + this.terminals_[ie] + "'");
2809
+ M.showPosition ? ue = "Parse error on line " + (re + 1) + ":\n" + M.showPosition() + "\nExpecting " + se.join(", ") + ", got '" + (this.terminals_[P] || P) + "'" : ue = "Parse error on line " + (re + 1) + ": Unexpected " + (P == de ? "end of input" : "'" + (this.terminals_[P] || P) + "'"), this.parseError(ue, {
2810
+ text: M.match,
2811
+ token: this.terminals_[P] || P,
2812
+ line: M.yylineno,
2813
+ loc: he,
2814
+ expected: se
2815
+ });
2816
+ }
2817
+ if (_instanceof(D[0], Array) && D.length > 1) throw new Error("Parse Error: multiple actions possible at state: " + K + ", token: " + P);
2818
+ switch(D[0]){
2819
+ case 1:
2820
+ k.push(P), v.push(M.yytext), e.push(M.yylloc), k.push(D[1]), P = null, ge = M.yyleng, t = M.yytext, re = M.yylineno, he = M.yylloc;
2821
+ break;
2822
+ case 2:
2823
+ if (z = this.productions_[D[1]][1], J.$ = v[v.length - z], J._$ = {
2824
+ first_line: e[e.length - (z || 1)].first_line,
2825
+ last_line: e[e.length - 1].last_line,
2826
+ first_column: e[e.length - (z || 1)].first_column,
2827
+ last_column: e[e.length - 1].last_column
2828
+ }, Ae && (J._$.range = [
2829
+ e[e.length - (z || 1)].range[0],
2830
+ e[e.length - 1].range[1]
2831
+ ]), me = this.performAction.apply(J, [
2832
+ t,
2833
+ ge,
2834
+ re,
2835
+ Y.yy,
2836
+ D[1],
2837
+ v,
2838
+ e
2839
+ ].concat(Ce)), (typeof me === "undefined" ? "undefined" : _type_of(me)) < "u") return me;
2840
+ z && (k = k.slice(0, -1 * z * 2), v = v.slice(0, -1 * z), e = e.slice(0, -1 * z)), k.push(this.productions_[D[1]][0]), v.push(J.$), e.push(J._$), ke = W[k[k.length - 2]][k[k.length - 1]], k.push(ke);
2841
+ break;
2842
+ case 3:
2843
+ return !0;
2844
+ }
2845
+ }
2846
+ return !0;
2847
+ }
2848
+ }, Re = function() {
2849
+ var q = {
2850
+ EOF: 1,
2851
+ parseError: function parseError(b, k) {
2852
+ if (this.yy.parser) this.yy.parser.parseError(b, k);
2853
+ else throw new Error(b);
2854
+ },
2855
+ // resets the lexer, sets new input
2856
+ setInput: function setInput(m, b) {
2857
+ return this.yy = b || this.yy || {}, this._input = m, this._more = this._backtrack = this.done = !1, this.yylineno = this.yyleng = 0, this.yytext = this.matched = this.match = "", this.conditionStack = [
2858
+ "INITIAL"
2859
+ ], this.yylloc = {
2860
+ first_line: 1,
2861
+ first_column: 0,
2862
+ last_line: 1,
2863
+ last_column: 0
2864
+ }, this.options.ranges && (this.yylloc.range = [
2865
+ 0,
2866
+ 0
2867
+ ]), this.offset = 0, this;
2868
+ },
2869
+ // consumes and returns one char from the input
2870
+ input: function input() {
2871
+ var m = this._input[0];
2872
+ this.yytext += m, this.yyleng++, this.offset++, this.match += m, this.matched += m;
2873
+ var b = m.match(/(?:\r\n?|\n).*/g);
2874
+ return b ? (this.yylineno++, this.yylloc.last_line++) : this.yylloc.last_column++, this.options.ranges && this.yylloc.range[1]++, this._input = this._input.slice(1), m;
2875
+ },
2876
+ // unshifts one char (or a string) into the input
2877
+ unput: function unput(m) {
2878
+ var b = m.length, k = m.split(/(?:\r\n?|\n)/g);
2879
+ this._input = m + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - b), this.offset -= b;
2880
+ var i = this.match.split(/(?:\r\n?|\n)/g);
2881
+ this.match = this.match.substr(0, this.match.length - 1), this.matched = this.matched.substr(0, this.matched.length - 1), k.length - 1 && (this.yylineno -= k.length - 1);
2882
+ var v = this.yylloc.range;
2883
+ return this.yylloc = {
2884
+ first_line: this.yylloc.first_line,
2885
+ last_line: this.yylineno + 1,
2886
+ first_column: this.yylloc.first_column,
2887
+ last_column: k ? (k.length === i.length ? this.yylloc.first_column : 0) + i[i.length - k.length].length - k[0].length : this.yylloc.first_column - b
2888
+ }, this.options.ranges && (this.yylloc.range = [
2889
+ v[0],
2890
+ v[0] + this.yyleng - b
2891
+ ]), this.yyleng = this.yytext.length, this;
2892
+ },
2893
+ // When called from action, caches matched text and appends it on next action
2894
+ more: function more() {
2895
+ return this._more = !0, this;
2896
+ },
2897
+ // When called from action, signals the lexer that this rule fails to match the input, so the next matching rule (regex) should be tested instead.
2898
+ reject: function reject() {
2899
+ if (this.options.backtrack_lexer) this._backtrack = !0;
2900
+ else return this.parseError("Lexical error on line " + (this.yylineno + 1) + ". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n" + this.showPosition(), {
2901
+ text: "",
2902
+ token: null,
2903
+ line: this.yylineno
2904
+ });
2905
+ return this;
2906
+ },
2907
+ // retain first n characters of the match
2908
+ less: function less(m) {
2909
+ this.unput(this.match.slice(m));
2910
+ },
2911
+ // displays already matched input, i.e. for error messages
2912
+ pastInput: function pastInput() {
2913
+ var m = this.matched.substr(0, this.matched.length - this.match.length);
2914
+ return (m.length > 20 ? "..." : "") + m.substr(-20).replace(/\n/g, "");
2915
+ },
2916
+ // displays upcoming input, i.e. for error messages
2917
+ upcomingInput: function upcomingInput() {
2918
+ var m = this.match;
2919
+ return m.length < 20 && (m += this._input.substr(0, 20 - m.length)), (m.substr(0, 20) + (m.length > 20 ? "..." : "")).replace(/\n/g, "");
2920
+ },
2921
+ // displays the character position where the lexing error occurred, i.e. for error messages
2922
+ showPosition: function showPosition() {
2923
+ var m = this.pastInput(), b = new Array(m.length + 1).join("-");
2924
+ return m + this.upcomingInput() + "\n" + b + "^";
2925
+ },
2926
+ // test the lexed token: return FALSE when not a match, otherwise return token
2927
+ test_match: function test_match(m, b) {
2928
+ var k, i, v;
2929
+ if (this.options.backtrack_lexer && (v = {
2930
+ yylineno: this.yylineno,
2931
+ yylloc: {
2932
+ first_line: this.yylloc.first_line,
2933
+ last_line: this.last_line,
2934
+ first_column: this.yylloc.first_column,
2935
+ last_column: this.yylloc.last_column
2936
+ },
2937
+ yytext: this.yytext,
2938
+ match: this.match,
2939
+ matches: this.matches,
2940
+ matched: this.matched,
2941
+ yyleng: this.yyleng,
2942
+ offset: this.offset,
2943
+ _more: this._more,
2944
+ _input: this._input,
2945
+ yy: this.yy,
2946
+ conditionStack: this.conditionStack.slice(0),
2947
+ done: this.done
2948
+ }, this.options.ranges && (v.yylloc.range = this.yylloc.range.slice(0))), i = m[0].match(/(?:\r\n?|\n).*/g), i && (this.yylineno += i.length), this.yylloc = {
2949
+ first_line: this.yylloc.last_line,
2950
+ last_line: this.yylineno + 1,
2951
+ first_column: this.yylloc.last_column,
2952
+ last_column: i ? i[i.length - 1].length - i[i.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + m[0].length
2953
+ }, this.yytext += m[0], this.match += m[0], this.matches = m, this.yyleng = this.yytext.length, this.options.ranges && (this.yylloc.range = [
2954
+ this.offset,
2955
+ this.offset += this.yyleng
2956
+ ]), this._more = !1, this._backtrack = !1, this._input = this._input.slice(m[0].length), this.matched += m[0], k = this.performAction.call(this, this.yy, this, b, this.conditionStack[this.conditionStack.length - 1]), this.done && this._input && (this.done = !1), k) return k;
2957
+ if (this._backtrack) {
2958
+ for(var e in v)this[e] = v[e];
2959
+ return !1;
2960
+ }
2961
+ return !1;
2962
+ },
2963
+ // return next match in input
2964
+ next: function next() {
2965
+ if (this.done) return this.EOF;
2966
+ this._input || (this.done = !0);
2967
+ var m, b, k, i;
2968
+ this._more || (this.yytext = "", this.match = "");
2969
+ for(var v = this._currentRules(), e = 0; e < v.length; e++)if (k = this._input.match(this.rules[v[e]]), k && (!b || k[0].length > b[0].length)) {
2970
+ if (b = k, i = e, this.options.backtrack_lexer) {
2971
+ if (m = this.test_match(k, v[e]), m !== !1) return m;
2972
+ if (this._backtrack) {
2973
+ b = !1;
2974
+ continue;
2975
+ } else return !1;
2976
+ } else if (!this.options.flex) break;
2977
+ }
2978
+ return b ? (m = this.test_match(b, v[i]), m !== !1 ? m : !1) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + ". Unrecognized text.\n" + this.showPosition(), {
2979
+ text: "",
2980
+ token: null,
2981
+ line: this.yylineno
2982
+ });
2983
+ },
2984
+ // return next match that has a token
2985
+ lex: function lex() {
2986
+ var b = this.next();
2987
+ return b || this.lex();
2988
+ },
2989
+ // activates a new lexer condition state (pushes the new lexer condition state onto the condition stack)
2990
+ begin: function begin(b) {
2991
+ this.conditionStack.push(b);
2992
+ },
2993
+ // pop the previously active lexer condition state off the condition stack
2994
+ popState: function popState() {
2995
+ var b = this.conditionStack.length - 1;
2996
+ return b > 0 ? this.conditionStack.pop() : this.conditionStack[0];
2997
+ },
2998
+ // produce the lexer rule set which is active for the currently active lexer condition state
2999
+ _currentRules: function _currentRules() {
3000
+ return this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1] ? this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules : this.conditions.INITIAL.rules;
3001
+ },
3002
+ // return the currently active lexer condition state; when an index argument is provided it produces the N-th previous condition state, if available
3003
+ topState: function topState(b) {
3004
+ return b = this.conditionStack.length - 1 - Math.abs(b || 0), b >= 0 ? this.conditionStack[b] : "INITIAL";
3005
+ },
3006
+ // alias for begin(condition)
3007
+ pushState: function pushState(b) {
3008
+ this.begin(b);
3009
+ },
3010
+ // return the number of states currently on the stack
3011
+ stateStackSize: function stateStackSize() {
3012
+ return this.conditionStack.length;
3013
+ },
3014
+ options: {
3015
+ "case-insensitive": !0
3016
+ },
3017
+ performAction: function performAction(b, k, i, v) {
3018
+ switch(i){
3019
+ case 0:
3020
+ return this.begin("open_directive"), 50;
3021
+ case 1:
3022
+ return this.begin("type_directive"), 51;
3023
+ case 2:
3024
+ return this.popState(), this.begin("arg_directive"), 9;
3025
+ case 3:
3026
+ return this.popState(), this.popState(), 53;
3027
+ case 4:
3028
+ return 52;
3029
+ case 5:
3030
+ return this.begin("acc_title"), 20;
3031
+ case 6:
3032
+ return this.popState(), "acc_title_value";
3033
+ case 7:
3034
+ return this.begin("acc_descr"), 22;
3035
+ case 8:
3036
+ return this.popState(), "acc_descr_value";
3037
+ case 9:
3038
+ this.begin("acc_descr_multiline");
3039
+ break;
3040
+ case 10:
3041
+ this.popState();
3042
+ break;
3043
+ case 11:
3044
+ return "acc_descr_multiline_value";
3045
+ case 12:
3046
+ return 14;
3047
+ case 13:
3048
+ break;
3049
+ case 14:
3050
+ break;
3051
+ case 15:
3052
+ return 6;
3053
+ case 16:
3054
+ return 40;
3055
+ case 17:
3056
+ return 33;
3057
+ case 18:
3058
+ return 38;
3059
+ case 19:
3060
+ return 42;
3061
+ case 20:
3062
+ return 43;
3063
+ case 21:
3064
+ return 44;
3065
+ case 22:
3066
+ return 45;
3067
+ case 23:
3068
+ return 35;
3069
+ case 24:
3070
+ return 29;
3071
+ case 25:
3072
+ return 30;
3073
+ case 26:
3074
+ return 37;
3075
+ case 27:
3076
+ return 32;
3077
+ case 28:
3078
+ return 27;
3079
+ case 29:
3080
+ return 10;
3081
+ case 30:
3082
+ return 10;
3083
+ case 31:
3084
+ return 9;
3085
+ case 32:
3086
+ return "CARET";
3087
+ case 33:
3088
+ this.begin("options");
3089
+ break;
3090
+ case 34:
3091
+ this.popState();
3092
+ break;
3093
+ case 35:
3094
+ return 13;
3095
+ case 36:
3096
+ return 36;
3097
+ case 37:
3098
+ this.begin("string");
3099
+ break;
3100
+ case 38:
3101
+ this.popState();
3102
+ break;
3103
+ case 39:
3104
+ return 34;
3105
+ case 40:
3106
+ return 31;
3107
+ case 41:
3108
+ return 54;
3109
+ case 42:
3110
+ return 8;
3111
+ }
3112
+ },
3113
+ rules: [
3114
+ /^(?:%%\{)/i,
3115
+ /^(?:((?:(?!\}%%)[^:.])*))/i,
3116
+ /^(?::)/i,
3117
+ /^(?:\}%%)/i,
3118
+ /^(?:((?:(?!\}%%).|\n)*))/i,
3119
+ /^(?:accTitle\s*:\s*)/i,
3120
+ /^(?:(?!\n||)*[^\n]*)/i,
3121
+ /^(?:accDescr\s*:\s*)/i,
3122
+ /^(?:(?!\n||)*[^\n]*)/i,
3123
+ /^(?:accDescr\s*\{\s*)/i,
3124
+ /^(?:[\}])/i,
3125
+ /^(?:[^\}]*)/i,
3126
+ /^(?:(\r?\n)+)/i,
3127
+ /^(?:#[^\n]*)/i,
3128
+ /^(?:%[^\n]*)/i,
3129
+ /^(?:gitGraph\b)/i,
3130
+ /^(?:commit(?=\s|$))/i,
3131
+ /^(?:id:)/i,
3132
+ /^(?:type:)/i,
3133
+ /^(?:msg:)/i,
3134
+ /^(?:NORMAL\b)/i,
3135
+ /^(?:REVERSE\b)/i,
3136
+ /^(?:HIGHLIGHT\b)/i,
3137
+ /^(?:tag:)/i,
3138
+ /^(?:branch(?=\s|$))/i,
3139
+ /^(?:order:)/i,
3140
+ /^(?:merge(?=\s|$))/i,
3141
+ /^(?:cherry-pick(?=\s|$))/i,
3142
+ /^(?:checkout(?=\s|$))/i,
3143
+ /^(?:LR\b)/i,
3144
+ /^(?:TB\b)/i,
3145
+ /^(?::)/i,
3146
+ /^(?:\^)/i,
3147
+ /^(?:options\r?\n)/i,
3148
+ /^(?:[ \r\n\t]+end\b)/i,
3149
+ /^(?:[\s\S]+(?=[ \r\n\t]+end))/i,
3150
+ /^(?:["]["])/i,
3151
+ /^(?:["])/i,
3152
+ /^(?:["])/i,
3153
+ /^(?:[^"]*)/i,
3154
+ /^(?:[0-9]+(?=\s|$))/i,
3155
+ /^(?:\w([-\./\w]*[-\w])?)/i,
3156
+ /^(?:$)/i,
3157
+ /^(?:\s+)/i
3158
+ ],
3159
+ conditions: {
3160
+ acc_descr_multiline: {
3161
+ rules: [
3162
+ 10,
3163
+ 11
3164
+ ],
3165
+ inclusive: !1
3166
+ },
3167
+ acc_descr: {
3168
+ rules: [
3169
+ 8
3170
+ ],
3171
+ inclusive: !1
3172
+ },
3173
+ acc_title: {
3174
+ rules: [
3175
+ 6
3176
+ ],
3177
+ inclusive: !1
3178
+ },
3179
+ close_directive: {
3180
+ rules: [],
3181
+ inclusive: !1
3182
+ },
3183
+ arg_directive: {
3184
+ rules: [
3185
+ 3,
3186
+ 4
3187
+ ],
3188
+ inclusive: !1
3189
+ },
3190
+ type_directive: {
3191
+ rules: [
3192
+ 2,
3193
+ 3
3194
+ ],
3195
+ inclusive: !1
3196
+ },
3197
+ open_directive: {
3198
+ rules: [
3199
+ 1
3200
+ ],
3201
+ inclusive: !1
3202
+ },
3203
+ options: {
3204
+ rules: [
3205
+ 34,
3206
+ 35
3207
+ ],
3208
+ inclusive: !1
3209
+ },
3210
+ string: {
3211
+ rules: [
3212
+ 38,
3213
+ 39
3214
+ ],
3215
+ inclusive: !1
3216
+ },
3217
+ INITIAL: {
3218
+ rules: [
3219
+ 0,
3220
+ 5,
3221
+ 7,
3222
+ 9,
3223
+ 12,
3224
+ 13,
3225
+ 14,
3226
+ 15,
3227
+ 16,
3228
+ 17,
3229
+ 18,
3230
+ 19,
3231
+ 20,
3232
+ 21,
3233
+ 22,
3234
+ 23,
3235
+ 24,
3236
+ 25,
3237
+ 26,
3238
+ 27,
3239
+ 28,
3240
+ 29,
3241
+ 30,
3242
+ 31,
3243
+ 32,
3244
+ 33,
3245
+ 36,
3246
+ 37,
3247
+ 40,
3248
+ 41,
3249
+ 42,
3250
+ 43
3251
+ ],
3252
+ inclusive: !0
3253
+ }
3254
+ }
3255
+ };
3256
+ return q;
3257
+ }();
3258
+ ce.lexer = Re;
3259
+ function oe() {
3260
+ this.yy = {};
3261
+ }
3262
+ return oe.prototype = ce, ce.Parser = oe, new oe();
3263
+ }();
3264
+ pe.parser = pe;
3265
+ var Ye = pe;
3266
+ var ae = Ut().gitGraph.mainBranchName, Ke = Ut().gitGraph.mainBranchOrder, R = {}, G = null, Z = {};
3267
+ Z[ae] = {
3268
+ name: ae,
3269
+ order: Ke
3270
+ };
3271
+ var L = {};
3272
+ L[ae] = G;
3273
+ var A = ae, ye = "LR", U = 0;
3274
+ function be() {
3275
+ return F0({
3276
+ length: 7
3277
+ });
3278
+ }
3279
+ var Fe = function Fe(r, a, o) {
3280
+ de.parseDirective(this, r, a, o);
3281
+ };
3282
+ function Ue(r, a) {
3283
+ var o = /* @__PURE__ */ Object.create(null);
3284
+ return r.reduce(function(p, n) {
3285
+ var c = a(n);
3286
+ return o[c] || (o[c] = !0, p.push(n)), p;
3287
+ }, []);
3288
+ }
3289
+ var Je = function Je(r) {
3290
+ ye = r;
3291
+ };
3292
+ var Ee = {};
3293
+ var We = function We(r) {
3294
+ S$1.debug("options str", r), r = r && r.trim(), r = r || "{}";
3295
+ try {
3296
+ Ee = JSON.parse(r);
3297
+ } catch (a) {
3298
+ S$1.error("error while parsing gitGraph options", a.message);
3299
+ }
3300
+ }, Xe = function Xe() {
3301
+ return Ee;
3302
+ }, Qe = function Qe(r, a, o, p) {
3303
+ S$1.debug("Entering commit:", r, a, o, p), a = Bn.sanitizeText(a, Ut()), r = Bn.sanitizeText(r, Ut()), p = Bn.sanitizeText(p, Ut());
3304
+ var n = {
3305
+ id: a || U + "-" + be(),
3306
+ message: r,
3307
+ seq: U++,
3308
+ type: o || $.NORMAL,
3309
+ tag: p || "",
3310
+ parents: G == null ? [] : [
3311
+ G.id
3312
+ ],
3313
+ branch: A
3314
+ };
3315
+ G = n, R[n.id] = n, L[A] = n.id, S$1.debug("in pushCommit " + n.id);
3316
+ }, Ze = function Ze(r, a) {
3317
+ if (r = Bn.sanitizeText(r, Ut()), L[r] === void 0) L[r] = G != null ? G.id : null, Z[r] = {
3318
+ name: r,
3319
+ order: a ? parseInt(a, 10) : null
3320
+ }, we(r), S$1.debug("in createBranch");
3321
+ else {
3322
+ var o = new Error('Trying to create an existing branch. (Help: Either use a new name if you want create a new branch or try using "checkout ' + r + '")');
3323
+ throw o.hash = {
3324
+ text: "branch " + r,
3325
+ token: "branch " + r,
3326
+ line: "1",
3327
+ loc: {
3328
+ first_line: 1,
3329
+ last_line: 1,
3330
+ first_column: 1,
3331
+ last_column: 1
3332
+ },
3333
+ expected: [
3334
+ '"checkout ' + r + '"'
3335
+ ]
3336
+ }, o;
3337
+ }
3338
+ }, $e = function $e(r, a, o, p) {
3339
+ r = Bn.sanitizeText(r, Ut()), a = Bn.sanitizeText(a, Ut());
3340
+ var n = R[L[A]], c = R[L[r]];
3341
+ if (A === r) {
3342
+ var h = new Error('Incorrect usage of "merge". Cannot merge a branch to itself');
3343
+ throw h.hash = {
3344
+ text: "merge " + r,
3345
+ token: "merge " + r,
3346
+ line: "1",
3347
+ loc: {
3348
+ first_line: 1,
3349
+ last_line: 1,
3350
+ first_column: 1,
3351
+ last_column: 1
3352
+ },
3353
+ expected: [
3354
+ "branch abc"
3355
+ ]
3356
+ }, h;
3357
+ } else if (n === void 0 || !n) {
3358
+ var h1 = new Error('Incorrect usage of "merge". Current branch (' + A + ")has no commits");
3359
+ throw h1.hash = {
3360
+ text: "merge " + r,
3361
+ token: "merge " + r,
3362
+ line: "1",
3363
+ loc: {
3364
+ first_line: 1,
3365
+ last_line: 1,
3366
+ first_column: 1,
3367
+ last_column: 1
3368
+ },
3369
+ expected: [
3370
+ "commit"
3371
+ ]
3372
+ }, h1;
3373
+ } else if (L[r] === void 0) {
3374
+ var h2 = new Error('Incorrect usage of "merge". Branch to be merged (' + r + ") does not exist");
3375
+ throw h2.hash = {
3376
+ text: "merge " + r,
3377
+ token: "merge " + r,
3378
+ line: "1",
3379
+ loc: {
3380
+ first_line: 1,
3381
+ last_line: 1,
3382
+ first_column: 1,
3383
+ last_column: 1
3384
+ },
3385
+ expected: [
3386
+ "branch " + r
3387
+ ]
3388
+ }, h2;
3389
+ } else if (c === void 0 || !c) {
3390
+ var h3 = new Error('Incorrect usage of "merge". Branch to be merged (' + r + ") has no commits");
3391
+ throw h3.hash = {
3392
+ text: "merge " + r,
3393
+ token: "merge " + r,
3394
+ line: "1",
3395
+ loc: {
3396
+ first_line: 1,
3397
+ last_line: 1,
3398
+ first_column: 1,
3399
+ last_column: 1
3400
+ },
3401
+ expected: [
3402
+ '"commit"'
3403
+ ]
3404
+ }, h3;
3405
+ } else if (n === c) {
3406
+ var h4 = new Error('Incorrect usage of "merge". Both branches have same head');
3407
+ throw h4.hash = {
3408
+ text: "merge " + r,
3409
+ token: "merge " + r,
3410
+ line: "1",
3411
+ loc: {
3412
+ first_line: 1,
3413
+ last_line: 1,
3414
+ first_column: 1,
3415
+ last_column: 1
3416
+ },
3417
+ expected: [
3418
+ "branch abc"
3419
+ ]
3420
+ }, h4;
3421
+ } else if (a && R[a] !== void 0) {
3422
+ var h5 = new Error('Incorrect usage of "merge". Commit with id:' + a + " already exists, use different custom Id");
3423
+ throw h5.hash = {
3424
+ text: "merge " + r + a + o + p,
3425
+ token: "merge " + r + a + o + p,
3426
+ line: "1",
3427
+ loc: {
3428
+ first_line: 1,
3429
+ last_line: 1,
3430
+ first_column: 1,
3431
+ last_column: 1
3432
+ },
3433
+ expected: [
3434
+ "merge " + r + " " + a + "_UNIQUE " + o + " " + p
3435
+ ]
3436
+ }, h5;
3437
+ }
3438
+ var u = {
3439
+ id: a || U + "-" + be(),
3440
+ message: "merged branch " + r + " into " + A,
3441
+ seq: U++,
3442
+ parents: [
3443
+ G == null ? null : G.id,
3444
+ L[r]
3445
+ ],
3446
+ branch: A,
3447
+ type: $.MERGE,
3448
+ customType: o,
3449
+ customId: !!a,
3450
+ tag: p || ""
3451
+ };
3452
+ G = u, R[u.id] = u, L[A] = u.id, S$1.debug(L), S$1.debug("in mergeBranch");
3453
+ }, et = function et(r, a, o) {
3454
+ if (S$1.debug("Entering cherryPick:", r, a, o), r = Bn.sanitizeText(r, Ut()), a = Bn.sanitizeText(a, Ut()), o = Bn.sanitizeText(o, Ut()), !r || R[r] === void 0) {
3455
+ var c = new Error('Incorrect usage of "cherryPick". Source commit id should exist and provided');
3456
+ throw c.hash = {
3457
+ text: "cherryPick " + r + " " + a,
3458
+ token: "cherryPick " + r + " " + a,
3459
+ line: "1",
3460
+ loc: {
3461
+ first_line: 1,
3462
+ last_line: 1,
3463
+ first_column: 1,
3464
+ last_column: 1
3465
+ },
3466
+ expected: [
3467
+ "cherry-pick abc"
3468
+ ]
3469
+ }, c;
3470
+ }
3471
+ var p = R[r], n = p.branch;
3472
+ if (p.type === $.MERGE) {
3473
+ var c1 = new Error('Incorrect usage of "cherryPick". Source commit should not be a merge commit');
3474
+ throw c1.hash = {
3475
+ text: "cherryPick " + r + " " + a,
3476
+ token: "cherryPick " + r + " " + a,
3477
+ line: "1",
3478
+ loc: {
3479
+ first_line: 1,
3480
+ last_line: 1,
3481
+ first_column: 1,
3482
+ last_column: 1
3483
+ },
3484
+ expected: [
3485
+ "cherry-pick abc"
3486
+ ]
3487
+ }, c1;
3488
+ }
3489
+ if (!a || R[a] === void 0) {
3490
+ if (n === A) {
3491
+ var h = new Error('Incorrect usage of "cherryPick". Source commit is already on current branch');
3492
+ throw h.hash = {
3493
+ text: "cherryPick " + r + " " + a,
3494
+ token: "cherryPick " + r + " " + a,
3495
+ line: "1",
3496
+ loc: {
3497
+ first_line: 1,
3498
+ last_line: 1,
3499
+ first_column: 1,
3500
+ last_column: 1
3501
+ },
3502
+ expected: [
3503
+ "cherry-pick abc"
3504
+ ]
3505
+ }, h;
3506
+ }
3507
+ var c2 = R[L[A]];
3508
+ if (c2 === void 0 || !c2) {
3509
+ var h1 = new Error('Incorrect usage of "cherry-pick". Current branch (' + A + ")has no commits");
3510
+ throw h1.hash = {
3511
+ text: "cherryPick " + r + " " + a,
3512
+ token: "cherryPick " + r + " " + a,
3513
+ line: "1",
3514
+ loc: {
3515
+ first_line: 1,
3516
+ last_line: 1,
3517
+ first_column: 1,
3518
+ last_column: 1
3519
+ },
3520
+ expected: [
3521
+ "cherry-pick abc"
3522
+ ]
3523
+ }, h1;
3524
+ }
3525
+ var u = {
3526
+ id: U + "-" + be(),
3527
+ message: "cherry-picked " + p + " into " + A,
3528
+ seq: U++,
3529
+ parents: [
3530
+ G == null ? null : G.id,
3531
+ p.id
3532
+ ],
3533
+ branch: A,
3534
+ type: $.CHERRY_PICK,
3535
+ tag: o !== null && o !== void 0 ? o : "cherry-pick:" + p.id
3536
+ };
3537
+ G = u, R[u.id] = u, L[A] = u.id, S$1.debug(L), S$1.debug("in cherryPick");
3538
+ }
3539
+ }, we = function we(r) {
3540
+ if (r = Bn.sanitizeText(r, Ut()), L[r] === void 0) {
3541
+ var a = new Error('Trying to checkout branch which is not yet created. (Help try using "branch ' + r + '")');
3542
+ throw a.hash = {
3543
+ text: "checkout " + r,
3544
+ token: "checkout " + r,
3545
+ line: "1",
3546
+ loc: {
3547
+ first_line: 1,
3548
+ last_line: 1,
3549
+ first_column: 1,
3550
+ last_column: 1
3551
+ },
3552
+ expected: [
3553
+ '"branch ' + r + '"'
3554
+ ]
3555
+ }, a;
3556
+ } else {
3557
+ A = r;
3558
+ var a1 = L[A];
3559
+ G = R[a1];
3560
+ }
3561
+ };
3562
+ function xe(r, a, o) {
3563
+ var p = r.indexOf(a);
3564
+ p === -1 ? r.push(o) : r.splice(p, 1, o);
3565
+ }
3566
+ function Te(r) {
3567
+ var a = r.reduce(function(n, c) {
3568
+ return n.seq > c.seq ? n : c;
3569
+ }, r[0]);
3570
+ var o = "";
3571
+ r.forEach(function(n) {
3572
+ n === a ? o += " *" : o += " |";
3573
+ });
3574
+ var p = [
3575
+ o,
3576
+ a.id,
3577
+ a.seq
3578
+ ];
3579
+ for(var n in L)L[n] === a.id && p.push(n);
3580
+ if (S$1.debug(p.join(" ")), a.parents && a.parents.length == 2) {
3581
+ var n1 = R[a.parents[0]];
3582
+ xe(r, a, n1), r.push(R[a.parents[1]]);
3583
+ } else {
3584
+ if (a.parents.length == 0) return;
3585
+ {
3586
+ var n2 = R[a.parents];
3587
+ xe(r, a, n2);
3588
+ }
3589
+ }
3590
+ r = Ue(r, function(n) {
3591
+ return n.id;
3592
+ }), Te(r);
3593
+ }
3594
+ var tt = function tt() {
3595
+ S$1.debug(R);
3596
+ var r = ve()[0];
3597
+ Te([
3598
+ r
3599
+ ]);
3600
+ }, rt = function rt() {
3601
+ R = {}, G = null;
3602
+ var r = Ut().gitGraph.mainBranchName, a = Ut().gitGraph.mainBranchOrder;
3603
+ L = {}, L[r] = null, Z = {}, Z[r] = {
3604
+ name: r,
3605
+ order: a
3606
+ }, A = r, U = 0, Fa();
3607
+ }, it = function it() {
3608
+ return Object.values(Z).map(function(a, o) {
3609
+ return a.order !== null ? a : _object_spread_props(_object_spread({}, a), {
3610
+ order: parseFloat("0.".concat(o), 10)
3611
+ });
3612
+ }).sort(function(a, o) {
3613
+ return a.order - o.order;
3614
+ }).map(function(param) {
3615
+ var a = param.name;
3616
+ return {
3617
+ name: a
3618
+ };
3619
+ });
3620
+ }, st = function st() {
3621
+ return L;
3622
+ }, at = function at() {
3623
+ return R;
3624
+ }, ve = function ve() {
3625
+ var r = Object.keys(R).map(function(a) {
3626
+ return R[a];
3627
+ });
3628
+ return r.forEach(function(a) {
3629
+ S$1.debug(a.id);
3630
+ }), r.sort(function(a, o) {
3631
+ return a.seq - o.seq;
3632
+ }), r;
3633
+ }, nt = function nt() {
3634
+ return A;
3635
+ }, ct = function ct() {
3636
+ return ye;
3637
+ }, ot = function ot() {
3638
+ return G;
3639
+ }, $ = {
3640
+ NORMAL: 0,
3641
+ REVERSE: 1,
3642
+ HIGHLIGHT: 2,
3643
+ MERGE: 3,
3644
+ CHERRY_PICK: 4
3645
+ }, lt = {
3646
+ parseDirective: Fe,
3647
+ getConfig: function() {
3648
+ return Ut().gitGraph;
3649
+ },
3650
+ setDirection: Je,
3651
+ setOptions: We,
3652
+ getOptions: Xe,
3653
+ commit: Qe,
3654
+ branch: Ze,
3655
+ merge: $e,
3656
+ cherryPick: et,
3657
+ checkout: we,
3658
+ //reset,
3659
+ prettyPrint: tt,
3660
+ clear: rt,
3661
+ getBranchesAsObjArray: it,
3662
+ getBranches: st,
3663
+ getCommits: at,
3664
+ getCommitsArray: ve,
3665
+ getCurrentBranch: nt,
3666
+ getDirection: ct,
3667
+ getHead: ot,
3668
+ setAccTitle: La,
3669
+ getAccTitle: Aa,
3670
+ getAccDescription: Ma,
3671
+ setAccDescription: Ea,
3672
+ setDiagramTitle: Oa,
3673
+ getDiagramTitle: Ia,
3674
+ commitType: $
3675
+ };
3676
+ var X = {};
3677
+ var B = {
3678
+ NORMAL: 0,
3679
+ REVERSE: 1,
3680
+ HIGHLIGHT: 2,
3681
+ MERGE: 3,
3682
+ CHERRY_PICK: 4
3683
+ }, F = 8;
3684
+ var C = {}, ee = {}, ne = [], te = 0, S = "LR";
3685
+ var ht = function() {
3686
+ C = {}, ee = {}, X = {}, te = 0, ne = [], S = "LR";
3687
+ }, Le = function(r) {
3688
+ var a = document.createElementNS("http://www.w3.org/2000/svg", "text");
3689
+ var o = [];
3690
+ typeof r == "string" ? o = r.split(/\\n|\n|<br\s*\/?>/gi) : Array.isArray(r) ? o = r : o = [];
3691
+ var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = undefined;
3692
+ try {
3693
+ for(var _iterator = o[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true){
3694
+ var p = _step.value;
3695
+ var n = document.createElementNS("http://www.w3.org/2000/svg", "tspan");
3696
+ n.setAttributeNS("http://www.w3.org/XML/1998/namespace", "xml:space", "preserve"), n.setAttribute("dy", "1em"), n.setAttribute("x", "0"), n.setAttribute("class", "row"), n.textContent = p.trim(), a.appendChild(n);
3697
+ }
3698
+ } catch (err) {
3699
+ _didIteratorError = true;
3700
+ _iteratorError = err;
3701
+ } finally{
3702
+ try {
3703
+ if (!_iteratorNormalCompletion && _iterator.return != null) {
3704
+ _iterator.return();
3705
+ }
3706
+ } finally{
3707
+ if (_didIteratorError) {
3708
+ throw _iteratorError;
3709
+ }
3710
+ }
3711
+ }
3712
+ return a;
3713
+ }, _e = function(r, a, o) {
3714
+ var p = Da().gitGraph, n = r.append("g").attr("class", "commit-bullets"), c = r.append("g").attr("class", "commit-labels");
3715
+ var u = 0;
3716
+ S === "TB" && (u = 30), Object.keys(a).sort(function(x, l) {
3717
+ return a[x].seq - a[l].seq;
3718
+ }).forEach(function(x) {
3719
+ var l = a[x], g = S === "TB" ? u + 10 : C[l.branch].pos, f = S === "TB" ? C[l.branch].pos : u + 10;
3720
+ if (o) {
3721
+ var s, _ = l.customType !== void 0 && l.customType !== "" ? l.customType : l.type;
3722
+ switch(_){
3723
+ case B.NORMAL:
3724
+ s = "commit-normal";
3725
+ break;
3726
+ case B.REVERSE:
3727
+ s = "commit-reverse";
3728
+ break;
3729
+ case B.HIGHLIGHT:
3730
+ s = "commit-highlight";
3731
+ break;
3732
+ case B.MERGE:
3733
+ s = "commit-merge";
3734
+ break;
3735
+ case B.CHERRY_PICK:
3736
+ s = "commit-cherry-pick";
3737
+ break;
3738
+ default:
3739
+ s = "commit-normal";
3740
+ }
3741
+ if (_ === B.HIGHLIGHT) {
3742
+ var T = n.append("rect");
3743
+ T.attr("x", f - 10), T.attr("y", g - 10), T.attr("height", 20), T.attr("width", 20), T.attr("class", "commit ".concat(l.id, " commit-highlight").concat(C[l.branch].index % F, " ").concat(s, "-outer")), n.append("rect").attr("x", f - 6).attr("y", g - 6).attr("height", 12).attr("width", 12).attr("class", "commit ".concat(l.id, " commit").concat(C[l.branch].index % F, " ").concat(s, "-inner"));
3744
+ } else if (_ === B.CHERRY_PICK) n.append("circle").attr("cx", f).attr("cy", g).attr("r", 10).attr("class", "commit ".concat(l.id, " ").concat(s)), n.append("circle").attr("cx", f - 3).attr("cy", g + 2).attr("r", 2.75).attr("fill", "#fff").attr("class", "commit ".concat(l.id, " ").concat(s)), n.append("circle").attr("cx", f + 3).attr("cy", g + 2).attr("r", 2.75).attr("fill", "#fff").attr("class", "commit ".concat(l.id, " ").concat(s)), n.append("line").attr("x1", f + 3).attr("y1", g + 1).attr("x2", f).attr("y2", g - 5).attr("stroke", "#fff").attr("class", "commit ".concat(l.id, " ").concat(s)), n.append("line").attr("x1", f - 3).attr("y1", g + 1).attr("x2", f).attr("y2", g - 5).attr("stroke", "#fff").attr("class", "commit ".concat(l.id, " ").concat(s));
3745
+ else {
3746
+ var T1 = n.append("circle");
3747
+ if (T1.attr("cx", f), T1.attr("cy", g), T1.attr("r", l.type === B.MERGE ? 9 : 10), T1.attr("class", "commit ".concat(l.id, " commit").concat(C[l.branch].index % F)), _ === B.MERGE) {
3748
+ var O = n.append("circle");
3749
+ O.attr("cx", f), O.attr("cy", g), O.attr("r", 6), O.attr("class", "commit ".concat(s, " ").concat(l.id, " commit").concat(C[l.branch].index % F));
3750
+ }
3751
+ _ === B.REVERSE && n.append("path").attr("d", "M ".concat(f - 5, ",").concat(g - 5, "L").concat(f + 5, ",").concat(g + 5, "M").concat(f - 5, ",").concat(g + 5, "L").concat(f + 5, ",").concat(g - 5)).attr("class", "commit ".concat(s, " ").concat(l.id, " commit").concat(C[l.branch].index % F));
3752
+ }
3753
+ }
3754
+ if (S === "TB" ? ee[l.id] = {
3755
+ x: f,
3756
+ y: u + 10
3757
+ } : ee[l.id] = {
3758
+ x: u + 10,
3759
+ y: g
3760
+ }, o) {
3761
+ if (l.type !== B.CHERRY_PICK && (l.customId && l.type === B.MERGE || l.type !== B.MERGE) && p.showCommitLabel) {
3762
+ var T2 = c.append("g"), O1 = T2.insert("rect").attr("class", "commit-label-bkg"), E = T2.append("text").attr("x", u).attr("y", g + 25).attr("class", "commit-label").text(l.id);
3763
+ var d = E.node().getBBox();
3764
+ if (O1.attr("x", u + 10 - d.width / 2 - 2).attr("y", g + 13.5).attr("width", d.width + 2 * 2).attr("height", d.height + 2 * 2), S === "TB" && (O1.attr("x", f - (d.width + 4 * 4 + 5)).attr("y", g - 12), E.attr("x", f - (d.width + 4 * 4)).attr("y", g + d.height - 12)), S !== "TB" && E.attr("x", u + 10 - d.width / 2), p.rotateCommitLabel) if (S === "TB") E.attr("transform", "rotate(-45, " + f + ", " + g + ")"), O1.attr("transform", "rotate(-45, " + f + ", " + g + ")");
3765
+ else {
3766
+ var y = -7.5 - (d.width + 10) / 25 * 9.5, N = 10 + d.width / 25 * 8.5;
3767
+ T2.attr("transform", "translate(" + y + ", " + N + ") rotate(-45, " + u + ", " + g + ")");
3768
+ }
3769
+ }
3770
+ if (l.tag) {
3771
+ var T3 = c.insert("polygon"), O2 = c.append("circle"), E1 = c.append("text").attr("y", g - 16).attr("class", "tag-label").text(l.tag);
3772
+ var d1 = E1.node().getBBox();
3773
+ E1.attr("x", u + 10 - d1.width / 2);
3774
+ var y1 = d1.height / 2, N1 = g - 19.2;
3775
+ T3.attr("class", "tag-label-bkg").attr("points", "\n ".concat(u - d1.width / 2 - 4 / 2, ",").concat(N1 + 2, "\n ").concat(u - d1.width / 2 - 4 / 2, ",").concat(N1 - 2, "\n ").concat(u + 10 - d1.width / 2 - 4, ",").concat(N1 - y1 - 2, "\n ").concat(u + 10 + d1.width / 2 + 4, ",").concat(N1 - y1 - 2, "\n ").concat(u + 10 + d1.width / 2 + 4, ",").concat(N1 + y1 + 2, "\n ").concat(u + 10 - d1.width / 2 - 4, ",").concat(N1 + y1 + 2)), O2.attr("cx", u - d1.width / 2 + 4 / 2).attr("cy", N1).attr("r", 1.5).attr("class", "tag-hole"), S === "TB" && (T3.attr("class", "tag-label-bkg").attr("points", "\n ".concat(f, ",").concat(u + 2, "\n ").concat(f, ",").concat(u - 2, "\n ").concat(f + 10, ",").concat(u - y1 - 2, "\n ").concat(f + 10 + d1.width + 4, ",").concat(u - y1 - 2, "\n ").concat(f + 10 + d1.width + 4, ",").concat(u + y1 + 2, "\n ").concat(f + 10, ",").concat(u + y1 + 2)).attr("transform", "translate(12,12) rotate(45, " + f + "," + u + ")"), O2.attr("cx", f + 4 / 2).attr("cy", u).attr("transform", "translate(12,12) rotate(45, " + f + "," + u + ")"), E1.attr("x", f + 5).attr("y", u + 3).attr("transform", "translate(14,14) rotate(45, " + f + "," + u + ")"));
3776
+ }
3777
+ }
3778
+ u += 50, u > te && (te = u);
3779
+ });
3780
+ }, mt = function(r, a, o) {
3781
+ return Object.keys(o).filter(function(c) {
3782
+ return o[c].branch === a.branch && o[c].seq > r.seq && o[c].seq < a.seq;
3783
+ }).length > 0;
3784
+ }, Q = function(r, a) {
3785
+ var o = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : 0;
3786
+ var p = r + Math.abs(r - a) / 2;
3787
+ if (o > 5) return p;
3788
+ if (ne.every(function(u) {
3789
+ return Math.abs(u - p) >= 10;
3790
+ })) return ne.push(p), p;
3791
+ var c = Math.abs(r - a);
3792
+ return Q(r, a - c / 5, o + 1);
3793
+ }, ut = function(r, a, o, p) {
3794
+ var n = ee[a.id], c = ee[o.id], u = mt(a, o, p);
3795
+ var h = "", w = "", x = 0, l = 0, g = C[o.branch].index, f;
3796
+ if (u) {
3797
+ h = "A 10 10, 0, 0, 0,", w = "A 10 10, 0, 0, 1,", x = 10, l = 10, g = C[o.branch].index;
3798
+ var s = n.y < c.y ? Q(n.y, c.y) : Q(c.y, n.y), _ = n.x < c.x ? Q(n.x, c.x) : Q(c.x, n.x);
3799
+ S === "TB" ? n.x < c.x ? f = "M ".concat(n.x, " ").concat(n.y, " L ").concat(_ - x, " ").concat(n.y, " ").concat(w, " ").concat(_, " ").concat(n.y + l, " L ").concat(_, " ").concat(c.y - x, " ").concat(h, " ").concat(_ + l, " ").concat(c.y, " L ").concat(c.x, " ").concat(c.y) : f = "M ".concat(n.x, " ").concat(n.y, " L ").concat(_ + x, " ").concat(n.y, " ").concat(h, " ").concat(_, " ").concat(n.y + l, " L ").concat(_, " ").concat(c.y - x, " ").concat(w, " ").concat(_ - l, " ").concat(c.y, " L ").concat(c.x, " ").concat(c.y) : n.y < c.y ? f = "M ".concat(n.x, " ").concat(n.y, " L ").concat(n.x, " ").concat(s - x, " ").concat(h, " ").concat(n.x + l, " ").concat(s, " L ").concat(c.x - x, " ").concat(s, " ").concat(w, " ").concat(c.x, " ").concat(s + l, " L ").concat(c.x, " ").concat(c.y) : f = "M ".concat(n.x, " ").concat(n.y, " L ").concat(n.x, " ").concat(s + x, " ").concat(w, " ").concat(n.x + l, " ").concat(s, " L ").concat(c.x - x, " ").concat(s, " ").concat(h, " ").concat(c.x, " ").concat(s - l, " L ").concat(c.x, " ").concat(c.y);
3800
+ } else S === "TB" ? (n.x < c.x && (h = "A 20 20, 0, 0, 0,", w = "A 20 20, 0, 0, 1,", x = 20, l = 20, g = C[o.branch].index, f = "M ".concat(n.x, " ").concat(n.y, " L ").concat(c.x - x, " ").concat(n.y, " ").concat(w, " ").concat(c.x, " ").concat(n.y + l, " L ").concat(c.x, " ").concat(c.y)), n.x > c.x && (h = "A 20 20, 0, 0, 0,", w = "A 20 20, 0, 0, 1,", x = 20, l = 20, g = C[a.branch].index, f = "M ".concat(n.x, " ").concat(n.y, " L ").concat(n.x, " ").concat(c.y - x, " ").concat(w, " ").concat(n.x - l, " ").concat(c.y, " L ").concat(c.x, " ").concat(c.y)), n.x === c.x && (g = C[a.branch].index, f = "M ".concat(n.x, " ").concat(n.y, " L ").concat(n.x + x, " ").concat(n.y, " ").concat(h, " ").concat(n.x + l, " ").concat(c.y + x, " L ").concat(c.x, " ").concat(c.y))) : (n.y < c.y && (h = "A 20 20, 0, 0, 0,", x = 20, l = 20, g = C[o.branch].index, f = "M ".concat(n.x, " ").concat(n.y, " L ").concat(n.x, " ").concat(c.y - x, " ").concat(h, " ").concat(n.x + l, " ").concat(c.y, " L ").concat(c.x, " ").concat(c.y)), n.y > c.y && (h = "A 20 20, 0, 0, 0,", x = 20, l = 20, g = C[a.branch].index, f = "M ".concat(n.x, " ").concat(n.y, " L ").concat(c.x - x, " ").concat(n.y, " ").concat(h, " ").concat(c.x, " ").concat(n.y - l, " L ").concat(c.x, " ").concat(c.y)), n.y === c.y && (g = C[a.branch].index, f = "M ".concat(n.x, " ").concat(n.y, " L ").concat(n.x, " ").concat(c.y - x, " ").concat(h, " ").concat(n.x + l, " ").concat(c.y, " L ").concat(c.x, " ").concat(c.y)));
3801
+ r.append("path").attr("d", f).attr("class", "arrow arrow" + g % F);
3802
+ }, pt = function(r, a) {
3803
+ var o = r.append("g").attr("class", "commit-arrows");
3804
+ Object.keys(a).forEach(function(p) {
3805
+ var n = a[p];
3806
+ n.parents && n.parents.length > 0 && n.parents.forEach(function(c) {
3807
+ ut(o, a[c], n, a);
3808
+ });
3809
+ });
3810
+ }, ft = function(r, a) {
3811
+ var o = Da().gitGraph, p = r.append("g");
3812
+ a.forEach(function(n, c) {
3813
+ var u = c % F, h = C[n.name].pos, w = p.append("line");
3814
+ w.attr("x1", 0), w.attr("y1", h), w.attr("x2", te), w.attr("y2", h), w.attr("class", "branch branch" + u), S === "TB" && (w.attr("y1", 30), w.attr("x1", h), w.attr("y2", te), w.attr("x2", h)), ne.push(h);
3815
+ var x = n.name;
3816
+ var l = Le(x), g = p.insert("rect"), s = p.insert("g").attr("class", "branchLabel").insert("g").attr("class", "label branch-label" + u);
3817
+ s.node().appendChild(l);
3818
+ var _ = l.getBBox();
3819
+ g.attr("class", "branchLabelBkg label" + u).attr("rx", 4).attr("ry", 4).attr("x", -_.width - 4 - (o.rotateCommitLabel === !0 ? 30 : 0)).attr("y", -_.height / 2 + 8).attr("width", _.width + 18).attr("height", _.height + 4), s.attr("transform", "translate(" + (-_.width - 14 - (o.rotateCommitLabel === !0 ? 30 : 0)) + ", " + (h - _.height / 2 - 1) + ")"), S === "TB" && (g.attr("x", h - _.width / 2 - 10).attr("y", 0), s.attr("transform", "translate(" + (h - _.width / 2 - 5) + ", 0)")), S !== "TB" && g.attr("transform", "translate(-19, " + (h - _.height / 2) + ")");
3820
+ });
3821
+ }, bt = function bt(r, a, o, p) {
3822
+ ht();
3823
+ var n = Da(), c = n.gitGraph;
3824
+ S$1.debug("in gitgraph renderer", r + "\n", "id:", a, o), X = p.db.getCommits();
3825
+ var u = p.db.getBranchesAsObjArray();
3826
+ S = p.db.getDirection();
3827
+ var h = At('[id="'.concat(a, '"]'));
3828
+ var w = 0;
3829
+ var _c_useMaxWidth;
3830
+ u.forEach(function(x, l) {
3831
+ var g = Le(x.name), f = h.append("g"), s = f.insert("g").attr("class", "branchLabel"), _ = s.insert("g").attr("class", "label branch-label");
3832
+ _.node().appendChild(g);
3833
+ var T = g.getBBox();
3834
+ C[x.name] = {
3835
+ pos: w,
3836
+ index: l
3837
+ }, w += 50 + (c.rotateCommitLabel ? 40 : 0) + (S === "TB" ? T.width / 2 : 0), _.remove(), s.remove(), f.remove();
3838
+ }), _e(h, X, !1), c.showBranches && ft(h, u), pt(h, X), _e(h, X, !0), Oi.insertTitle(h, "gitTitleText", c.titleTopMargin, p.db.getDiagramTitle()), rm(void 0, h, c.diagramPadding, (_c_useMaxWidth = c.useMaxWidth) !== null && _c_useMaxWidth !== void 0 ? _c_useMaxWidth : n.useMaxWidth);
3839
+ }, gt = {
3840
+ draw: bt
3841
+ }, dt = function(r) {
3842
+ return "\n .commit-id,\n .commit-msg,\n .branch-label {\n fill: lightgrey;\n color: lightgrey;\n font-family: 'trebuchet ms', verdana, arial, sans-serif;\n font-family: var(--mermaid-font-family);\n }\n ".concat([
3843
+ 0,
3844
+ 1,
3845
+ 2,
3846
+ 3,
3847
+ 4,
3848
+ 5,
3849
+ 6,
3850
+ 7
3851
+ ].map(function(a) {
3852
+ return "\n .branch-label".concat(a, " { fill: ").concat(r["gitBranchLabel" + a], "; }\n .commit").concat(a, " { stroke: ").concat(r["git" + a], "; fill: ").concat(r["git" + a], "; }\n .commit-highlight").concat(a, " { stroke: ").concat(r["gitInv" + a], "; fill: ").concat(r["gitInv" + a], "; }\n .label").concat(a, " { fill: ").concat(r["git" + a], "; }\n .arrow").concat(a, " { stroke: ").concat(r["git" + a], "; }\n ");
3853
+ }).join("\n"), "\n\n .branch {\n stroke-width: 1;\n stroke: ").concat(r.lineColor, ";\n stroke-dasharray: 2;\n }\n .commit-label { font-size: ").concat(r.commitLabelFontSize, "; fill: ").concat(r.commitLabelColor, ";}\n .commit-label-bkg { font-size: ").concat(r.commitLabelFontSize, "; fill: ").concat(r.commitLabelBackground, "; opacity: 0.5; }\n .tag-label { font-size: ").concat(r.tagLabelFontSize, "; fill: ").concat(r.tagLabelColor, ";}\n .tag-label-bkg { fill: ").concat(r.tagLabelBackground, "; stroke: ").concat(r.tagLabelBorder, "; }\n .tag-hole { fill: ").concat(r.textColor, "; }\n\n .commit-merge {\n stroke: ").concat(r.primaryColor, ";\n fill: ").concat(r.primaryColor, ";\n }\n .commit-reverse {\n stroke: ").concat(r.primaryColor, ";\n fill: ").concat(r.primaryColor, ";\n stroke-width: 3;\n }\n .commit-highlight-outer {\n }\n .commit-highlight-inner {\n stroke: ").concat(r.primaryColor, ";\n fill: ").concat(r.primaryColor, ";\n }\n\n .arrow { stroke-width: 8; stroke-linecap: round; fill: none}\n .gitTitleText {\n text-anchor: middle;\n font-size: 18px;\n fill: ").concat(r.textColor, ";\n }\n");
3854
+ }, kt = dt, _t = {
3855
+ parser: Ye,
3856
+ db: lt,
3857
+ renderer: gt,
3858
+ styles: kt
3859
+ };
3860
+
3861
+ export { _t as diagram };