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