document-model 1.0.34 → 1.0.35

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,14 +1,171 @@
1
- var ut = Object.defineProperty;
2
- var mt = (t, e, r) => e in t ? ut(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r;
3
- var ce = (t, e, r) => (mt(t, typeof e != "symbol" ? e + "" : e, r), r);
4
- import { c as Et, i as ht, a as Ot, b as gt, s as St, d as bt, l as ft, e as _t, f as s, B as l, g as It, h as Tt } from "./object-B-Aw8ilC.js";
1
+ var Rt = Object.defineProperty;
2
+ var xt = (t, e, r) => e in t ? Rt(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r;
3
+ var Ee = (t, e, r) => (xt(t, typeof e != "symbol" ? e + "" : e, r), r);
4
+ import { c as At, i as Mt, a as Dt, b as Nt, s as Lt, d as Pt, l as Ct, e as jt, f as a, B as c, g as yt, h as wt } from "./object-B-Aw8ilC.js";
5
5
  import "immer";
6
6
  import "json-stringify-deterministic";
7
7
  import "jszip";
8
8
  import { z as o } from "zod";
9
- const Rt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
10
- __proto__: null
11
- }, Symbol.toStringTag, { value: "Module" })), de = {
9
+ const kt = new RegExp("([\\p{Ll}\\d])(\\p{Lu})", "gu"), Ut = new RegExp("(\\p{Lu})([\\p{Lu}][\\p{Ll}])", "gu"), vt = new RegExp("(\\d)\\p{Ll}|(\\p{L})\\d", "u"), Ft = /[^\p{L}\d]+/giu, he = "$1\0$2", Oe = "";
10
+ function Se(t) {
11
+ let e = t.trim();
12
+ e = e.replace(kt, he).replace(Ut, he), e = e.replace(Ft, "\0");
13
+ let r = 0, n = e.length;
14
+ for (; e.charAt(r) === "\0"; )
15
+ r++;
16
+ if (r === n)
17
+ return [];
18
+ for (; e.charAt(n - 1) === "\0"; )
19
+ n--;
20
+ return e.slice(r, n).split(/\0/g);
21
+ }
22
+ function $t(t) {
23
+ const e = Se(t);
24
+ for (let r = 0; r < e.length; r++) {
25
+ const n = e[r], i = vt.exec(n);
26
+ if (i) {
27
+ const s = i.index + (i[1] ?? i[2]).length;
28
+ e.splice(r, 1, n.slice(0, s), n.slice(s));
29
+ }
30
+ }
31
+ return e;
32
+ }
33
+ function ge(t, e) {
34
+ const [r, n, i] = Wt(t, e), s = Vt(e == null ? void 0 : e.locale), l = Xt(e == null ? void 0 : e.locale), u = e != null && e.mergeAmbiguousCharacters ? Ht(s, l) : Gt(s, l);
35
+ return r + n.map(u).join((e == null ? void 0 : e.delimiter) ?? "") + i;
36
+ }
37
+ function Vt(t) {
38
+ return t === !1 ? (e) => e.toLowerCase() : (e) => e.toLocaleLowerCase(t);
39
+ }
40
+ function Xt(t) {
41
+ return t === !1 ? (e) => e.toUpperCase() : (e) => e.toLocaleUpperCase(t);
42
+ }
43
+ function Ht(t, e) {
44
+ return (r) => `${e(r[0])}${t(r.slice(1))}`;
45
+ }
46
+ function Gt(t, e) {
47
+ return (r, n) => {
48
+ const i = r[0];
49
+ return (n > 0 && i >= "0" && i <= "9" ? "_" + i : e(i)) + t(r.slice(1));
50
+ };
51
+ }
52
+ function Wt(t, e = {}) {
53
+ const r = e.split ?? (e.separateNumbers ? $t : Se), n = e.prefixCharacters ?? Oe, i = e.suffixCharacters ?? Oe;
54
+ let s = 0, l = t.length;
55
+ for (; s < t.length; ) {
56
+ const u = t.charAt(s);
57
+ if (!n.includes(u))
58
+ break;
59
+ s++;
60
+ }
61
+ for (; l > s; ) {
62
+ const u = l - 1, Tt = t.charAt(u);
63
+ if (!i.includes(Tt))
64
+ break;
65
+ l = u;
66
+ }
67
+ return [
68
+ t.slice(0, s),
69
+ r(t.slice(s, l)),
70
+ t.slice(l)
71
+ ];
72
+ }
73
+ function fe(t, e = !1) {
74
+ const r = [];
75
+ if (e && t === "")
76
+ return r;
77
+ try {
78
+ const n = JSON.parse(t);
79
+ !e && !Object.keys(n).length && r.push({
80
+ message: "Initial state cannot be empty",
81
+ details: {
82
+ initialState: t
83
+ }
84
+ });
85
+ } catch {
86
+ r.push({
87
+ message: "Invalid initial state",
88
+ details: {
89
+ initialState: t
90
+ }
91
+ });
92
+ }
93
+ return r;
94
+ }
95
+ function be(t, e, r = "", n = !0) {
96
+ const i = [];
97
+ if (!n && !t)
98
+ return i.push({
99
+ message: "State schema is required",
100
+ details: {
101
+ schema: t
102
+ }
103
+ }), i;
104
+ if (n && !t)
105
+ return i;
106
+ const s = `type ${ge(e)}${ge(r)}State`;
107
+ return t.includes(s) || i.push({
108
+ message: `Invalid state schema name. Expected ${s}`,
109
+ details: {
110
+ schema: t
111
+ }
112
+ }), i;
113
+ }
114
+ function _e(t) {
115
+ const e = [];
116
+ t.length || e.push({
117
+ message: "Modules are required",
118
+ details: {
119
+ modules: t
120
+ }
121
+ });
122
+ const r = t.reduce(
123
+ (n, i) => [...n, ...T(i)],
124
+ []
125
+ );
126
+ return [...e, ...r];
127
+ }
128
+ function T(t) {
129
+ const e = [];
130
+ t.name || e.push({
131
+ message: "Module name is required",
132
+ details: {
133
+ module: t
134
+ }
135
+ }), t.operations.length || e.push({
136
+ message: "Module operations are required",
137
+ details: {
138
+ module: t
139
+ }
140
+ });
141
+ const r = t.operations.reduce(
142
+ (n, i) => [...n, ...R(i)],
143
+ []
144
+ );
145
+ return [...e, ...r];
146
+ }
147
+ function R(t) {
148
+ const e = [];
149
+ return t.name || e.push({
150
+ message: "Operation name is required",
151
+ details: {
152
+ operation: t
153
+ }
154
+ }), t.schema || e.push({
155
+ message: "Operation schema is required",
156
+ details: {
157
+ operation: t
158
+ }
159
+ }), e;
160
+ }
161
+ const Bt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
162
+ __proto__: null,
163
+ validateInitialState: fe,
164
+ validateModule: T,
165
+ validateModuleOperation: R,
166
+ validateModules: _e,
167
+ validateStateSchemaName: be
168
+ }, Symbol.toStringTag, { value: "Module" })), Ie = {
12
169
  id: "powerhouse/document-model",
13
170
  name: "DocumentModel",
14
171
  extension: "phdm",
@@ -569,8 +726,8 @@ const Rt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
569
726
  }
570
727
  }
571
728
  ]
572
- }, ue = (t) => t != null, At = o.any().refine((t) => ue(t));
573
- function _() {
729
+ }, Te = (t) => t != null, zt = o.any().refine((t) => Te(t));
730
+ function x() {
574
731
  return o.object({
575
732
  __typename: o.literal("AddChangeLogItemInput").optional(),
576
733
  content: o.string(),
@@ -578,14 +735,14 @@ function _() {
578
735
  insertBefore: o.string().nullable()
579
736
  });
580
737
  }
581
- function I() {
738
+ function A() {
582
739
  return o.object({
583
740
  description: o.string().nullish(),
584
741
  id: o.string(),
585
742
  name: o.string()
586
743
  });
587
744
  }
588
- function T() {
745
+ function M() {
589
746
  return o.object({
590
747
  errorCode: o.string().nullish(),
591
748
  errorDescription: o.string().nullish(),
@@ -595,14 +752,14 @@ function T() {
595
752
  operationId: o.string()
596
753
  });
597
754
  }
598
- function R() {
755
+ function D() {
599
756
  return o.object({
600
757
  example: o.string(),
601
758
  id: o.string(),
602
759
  operationId: o.string()
603
760
  });
604
761
  }
605
- function A() {
762
+ function N() {
606
763
  return o.object({
607
764
  description: o.string().nullish(),
608
765
  id: o.string(),
@@ -611,10 +768,10 @@ function A() {
611
768
  reducer: o.string().nullish(),
612
769
  schema: o.string().nullish(),
613
770
  template: o.string().nullish(),
614
- scope: b().nullish()
771
+ scope: _().nullish()
615
772
  });
616
773
  }
617
- function x() {
774
+ function L() {
618
775
  return o.object({
619
776
  scope: o.string(),
620
777
  example: o.string(),
@@ -622,83 +779,79 @@ function x() {
622
779
  insertBefore: o.string().nullish()
623
780
  });
624
781
  }
625
- function me() {
782
+ function Re() {
626
783
  return o.object({
627
784
  __typename: o.literal("Author").optional(),
628
785
  name: o.string(),
629
786
  website: o.string().nullable()
630
787
  });
631
788
  }
632
- function D() {
789
+ function P() {
633
790
  return o.object({
634
791
  __typename: o.literal("CodeExample").optional(),
635
792
  id: o.string(),
636
793
  value: o.string()
637
794
  });
638
795
  }
639
- function M() {
796
+ function C() {
640
797
  return o.object({
641
798
  __typename: o.literal("DeleteChangeLogItemInput").optional(),
642
799
  id: o.string()
643
800
  });
644
801
  }
645
- function N() {
802
+ function j() {
646
803
  return o.object({
647
804
  id: o.string()
648
805
  });
649
806
  }
650
- function L() {
807
+ function y() {
651
808
  return o.object({
652
809
  id: o.string()
653
810
  });
654
811
  }
655
- function P() {
812
+ function w() {
656
813
  return o.object({
657
814
  id: o.string()
658
815
  });
659
816
  }
660
- function j() {
817
+ function k() {
661
818
  return o.object({
662
819
  id: o.string()
663
820
  });
664
821
  }
665
- function C() {
822
+ function U() {
666
823
  return o.object({
667
824
  scope: o.string(),
668
825
  id: o.string()
669
826
  });
670
827
  }
671
- function b() {
828
+ function _() {
672
829
  return o.literal("global").or(o.literal("local"));
673
830
  }
674
- function xt() {
831
+ function qt() {
675
832
  return o.union([
676
- _(),
677
- I(),
678
- T(),
679
- R(),
680
- A(),
681
833
  x(),
834
+ A(),
682
835
  M(),
836
+ D(),
683
837
  N(),
684
838
  L(),
685
- P(),
686
- j(),
687
839
  C(),
688
- k(),
840
+ j(),
689
841
  y(),
690
842
  w(),
691
- v(),
843
+ k(),
692
844
  U(),
693
- V(),
845
+ v(),
694
846
  F(),
695
- H(),
847
+ $(),
848
+ V(),
696
849
  X(),
850
+ H(),
697
851
  G(),
698
- $(),
699
852
  W(),
700
- z(),
701
853
  B(),
854
+ z(),
702
855
  q(),
703
856
  J(),
704
857
  K(),
@@ -713,59 +866,63 @@ function xt() {
713
866
  ie(),
714
867
  se(),
715
868
  ae(),
716
- pe()
869
+ pe(),
870
+ le(),
871
+ ce(),
872
+ de(),
873
+ ue()
717
874
  ]);
718
875
  }
719
- function Dt() {
876
+ function Jt() {
720
877
  return o.object({
721
878
  __typename: o.literal("DocumentModelState").optional(),
722
- author: me(),
879
+ author: Re(),
723
880
  description: o.string(),
724
881
  extension: o.string(),
725
882
  id: o.string(),
726
883
  name: o.string(),
727
- specifications: o.array(Ee())
884
+ specifications: o.array(xe())
728
885
  });
729
886
  }
730
- function Ee() {
887
+ function xe() {
731
888
  return o.object({
732
889
  __typename: o.literal("DocumentSpecification").optional(),
733
890
  changeLog: o.array(o.string()),
734
- modules: o.array(he()),
735
- state: be(),
891
+ modules: o.array(Ae()),
892
+ state: Le(),
736
893
  version: o.number()
737
894
  });
738
895
  }
739
- function he() {
896
+ function Ae() {
740
897
  return o.object({
741
898
  __typename: o.literal("Module").optional(),
742
899
  description: o.string().nullable(),
743
900
  id: o.string(),
744
901
  name: o.string(),
745
- operations: o.array(Oe())
902
+ operations: o.array(Me())
746
903
  });
747
904
  }
748
- function k() {
905
+ function v() {
749
906
  return o.object({
750
907
  newModuleId: o.string(),
751
908
  operationId: o.string()
752
909
  });
753
910
  }
754
- function Oe() {
911
+ function Me() {
755
912
  return o.object({
756
913
  __typename: o.literal("Operation").optional(),
757
914
  description: o.string().nullable(),
758
- errors: o.array(ge()),
759
- examples: o.array(D()),
915
+ errors: o.array(De()),
916
+ examples: o.array(P()),
760
917
  id: o.string(),
761
918
  name: o.string().nullable(),
762
919
  reducer: o.string().nullable(),
763
920
  schema: o.string().nullable(),
764
921
  template: o.string().nullable(),
765
- scope: b()
922
+ scope: _()
766
923
  });
767
924
  }
768
- function ge() {
925
+ function De() {
769
926
  return o.object({
770
927
  __typename: o.literal("OperationError").optional(),
771
928
  code: o.string().nullable(),
@@ -775,247 +932,247 @@ function ge() {
775
932
  template: o.string().nullable()
776
933
  });
777
934
  }
778
- function y() {
935
+ function F() {
779
936
  return o.object({
780
937
  __typename: o.literal("ReorderChangeLogItemsInput").optional(),
781
938
  order: o.array(o.string())
782
939
  });
783
940
  }
784
- function w() {
941
+ function $() {
785
942
  return o.object({
786
943
  moduleId: o.string(),
787
944
  order: o.array(o.string())
788
945
  });
789
946
  }
790
- function v() {
947
+ function V() {
791
948
  return o.object({
792
949
  order: o.array(o.string())
793
950
  });
794
951
  }
795
- function U() {
952
+ function X() {
796
953
  return o.object({
797
954
  operationId: o.string(),
798
955
  order: o.array(o.string())
799
956
  });
800
957
  }
801
- function V() {
958
+ function H() {
802
959
  return o.object({
803
960
  operationId: o.string(),
804
961
  order: o.array(o.string())
805
962
  });
806
963
  }
807
- function F() {
964
+ function G() {
808
965
  return o.object({
809
966
  scope: o.string(),
810
967
  order: o.array(o.string())
811
968
  });
812
969
  }
813
- function H() {
970
+ function W() {
814
971
  return o.object({
815
972
  authorName: o.string()
816
973
  });
817
974
  }
818
- function X() {
975
+ function B() {
819
976
  return o.object({
820
977
  authorWebsite: o.string()
821
978
  });
822
979
  }
823
- function G() {
980
+ function z() {
824
981
  return o.object({
825
982
  scope: o.string(),
826
983
  initialValue: o.string()
827
984
  });
828
985
  }
829
- function $() {
986
+ function q() {
830
987
  return o.object({
831
988
  description: o.string()
832
989
  });
833
990
  }
834
- function W() {
991
+ function J() {
835
992
  return o.object({
836
993
  extension: o.string()
837
994
  });
838
995
  }
839
- function z() {
996
+ function K() {
840
997
  return o.object({
841
998
  id: o.string()
842
999
  });
843
1000
  }
844
- function B() {
1001
+ function Q() {
845
1002
  return o.object({
846
1003
  name: o.string()
847
1004
  });
848
1005
  }
849
- function q() {
1006
+ function Y() {
850
1007
  return o.object({
851
1008
  description: o.string().nullish(),
852
1009
  id: o.string()
853
1010
  });
854
1011
  }
855
- function J() {
1012
+ function Z() {
856
1013
  return o.object({
857
1014
  id: o.string(),
858
1015
  name: o.string().nullish()
859
1016
  });
860
1017
  }
861
- function K() {
1018
+ function ee() {
862
1019
  return o.object({
863
1020
  description: o.string().nullish(),
864
1021
  id: o.string()
865
1022
  });
866
1023
  }
867
- function Q() {
1024
+ function te() {
868
1025
  return o.object({
869
1026
  errorCode: o.string().nullish(),
870
1027
  id: o.string()
871
1028
  });
872
1029
  }
873
- function Y() {
1030
+ function re() {
874
1031
  return o.object({
875
1032
  errorDescription: o.string().nullish(),
876
1033
  id: o.string()
877
1034
  });
878
1035
  }
879
- function Z() {
1036
+ function oe() {
880
1037
  return o.object({
881
1038
  errorName: o.string().nullish(),
882
1039
  id: o.string()
883
1040
  });
884
1041
  }
885
- function ee() {
1042
+ function ne() {
886
1043
  return o.object({
887
1044
  errorTemplate: o.string().nullish(),
888
1045
  id: o.string()
889
1046
  });
890
1047
  }
891
- function te() {
1048
+ function ie() {
892
1049
  return o.object({
893
1050
  id: o.string(),
894
1051
  name: o.string().nullish()
895
1052
  });
896
1053
  }
897
- function Se() {
1054
+ function Ne() {
898
1055
  return o.object({
899
1056
  id: o.string(),
900
- scope: b()
1057
+ scope: _()
901
1058
  });
902
1059
  }
903
- function re() {
1060
+ function se() {
904
1061
  return o.object({
905
1062
  id: o.string(),
906
1063
  reducer: o.string().nullish()
907
1064
  });
908
1065
  }
909
- function oe() {
1066
+ function ae() {
910
1067
  return o.object({
911
1068
  id: o.string(),
912
1069
  schema: o.string().nullish()
913
1070
  });
914
1071
  }
915
- function ne() {
1072
+ function pe() {
916
1073
  return o.object({
917
1074
  id: o.string(),
918
1075
  template: o.string().nullish()
919
1076
  });
920
1077
  }
921
- function ie() {
1078
+ function le() {
922
1079
  return o.object({
923
1080
  scope: o.string(),
924
1081
  schema: o.string()
925
1082
  });
926
1083
  }
927
- function f() {
1084
+ function I() {
928
1085
  return o.object({
929
1086
  __typename: o.literal("State").optional(),
930
- examples: o.array(D()),
1087
+ examples: o.array(P()),
931
1088
  initialValue: o.string(),
932
1089
  schema: o.string()
933
1090
  });
934
1091
  }
935
- function be() {
1092
+ function Le() {
936
1093
  return o.object({
937
- global: f(),
938
- local: f()
1094
+ global: I(),
1095
+ local: I()
939
1096
  });
940
1097
  }
941
- function se() {
1098
+ function ce() {
942
1099
  return o.object({
943
1100
  __typename: o.literal("UpdateChangeLogItemInput").optional(),
944
1101
  id: o.string(),
945
1102
  newContent: o.string()
946
1103
  });
947
1104
  }
948
- function ae() {
1105
+ function de() {
949
1106
  return o.object({
950
1107
  example: o.string(),
951
1108
  id: o.string()
952
1109
  });
953
1110
  }
954
- function pe() {
1111
+ function ue() {
955
1112
  return o.object({
956
1113
  scope: o.string(),
957
1114
  id: o.string(),
958
1115
  newExample: o.string()
959
1116
  });
960
1117
  }
961
- const Mt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1118
+ const Kt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
962
1119
  __proto__: null,
963
- AddChangeLogItemInputSchema: _,
964
- AddModuleInputSchema: I,
965
- AddOperationErrorInputSchema: T,
966
- AddOperationExampleInputSchema: R,
967
- AddOperationInputSchema: A,
968
- AddStateExampleInputSchema: x,
969
- AuthorSchema: me,
970
- CodeExampleSchema: D,
971
- DeleteChangeLogItemInputSchema: M,
972
- DeleteModuleInputSchema: N,
973
- DeleteOperationErrorInputSchema: L,
974
- DeleteOperationExampleInputSchema: P,
975
- DeleteOperationInputSchema: j,
976
- DeleteStateExampleInputSchema: C,
977
- DocumentModelInputSchema: xt,
978
- DocumentModelStateSchema: Dt,
979
- DocumentSpecificationSchema: Ee,
980
- ModuleSchema: he,
981
- MoveOperationInputSchema: k,
982
- OperationErrorSchema: ge,
983
- OperationSchema: Oe,
984
- OperationScopeSchema: b,
985
- ReorderChangeLogItemsInputSchema: y,
986
- ReorderModuleOperationsInputSchema: w,
987
- ReorderModulesInputSchema: v,
988
- ReorderOperationErrorsInputSchema: U,
989
- ReorderOperationExamplesInputSchema: V,
990
- ReorderStateExamplesInputSchema: F,
991
- ScopeStateSchema: be,
992
- SetAuthorNameInputSchema: H,
993
- SetAuthorWebsiteInputSchema: X,
994
- SetInitialStateInputSchema: G,
995
- SetModelDescriptionInputSchema: $,
996
- SetModelExtensionInputSchema: W,
997
- SetModelIdInputSchema: z,
998
- SetModelNameInputSchema: B,
999
- SetModuleDescriptionInputSchema: q,
1000
- SetModuleNameInputSchema: J,
1001
- SetOperationDescriptionInputSchema: K,
1002
- SetOperationErrorCodeInputSchema: Q,
1003
- SetOperationErrorDescriptionInputSchema: Y,
1004
- SetOperationErrorNameInputSchema: Z,
1005
- SetOperationErrorTemplateInputSchema: ee,
1006
- SetOperationNameInputSchema: te,
1007
- SetOperationReducerInputSchema: re,
1008
- SetOperationSchemaInputSchema: oe,
1009
- SetOperationScopeInputSchema: Se,
1010
- SetOperationTemplateInputSchema: ne,
1011
- SetStateSchemaInputSchema: ie,
1012
- StateSchema: f,
1013
- UpdateChangeLogItemInputSchema: se,
1014
- UpdateOperationExampleInputSchema: ae,
1015
- UpdateStateExampleInputSchema: pe,
1016
- definedNonNullAnySchema: At,
1017
- isDefinedNonNullAny: ue
1018
- }, Symbol.toStringTag, { value: "Module" })), d = {
1120
+ AddChangeLogItemInputSchema: x,
1121
+ AddModuleInputSchema: A,
1122
+ AddOperationErrorInputSchema: M,
1123
+ AddOperationExampleInputSchema: D,
1124
+ AddOperationInputSchema: N,
1125
+ AddStateExampleInputSchema: L,
1126
+ AuthorSchema: Re,
1127
+ CodeExampleSchema: P,
1128
+ DeleteChangeLogItemInputSchema: C,
1129
+ DeleteModuleInputSchema: j,
1130
+ DeleteOperationErrorInputSchema: y,
1131
+ DeleteOperationExampleInputSchema: w,
1132
+ DeleteOperationInputSchema: k,
1133
+ DeleteStateExampleInputSchema: U,
1134
+ DocumentModelInputSchema: qt,
1135
+ DocumentModelStateSchema: Jt,
1136
+ DocumentSpecificationSchema: xe,
1137
+ ModuleSchema: Ae,
1138
+ MoveOperationInputSchema: v,
1139
+ OperationErrorSchema: De,
1140
+ OperationSchema: Me,
1141
+ OperationScopeSchema: _,
1142
+ ReorderChangeLogItemsInputSchema: F,
1143
+ ReorderModuleOperationsInputSchema: $,
1144
+ ReorderModulesInputSchema: V,
1145
+ ReorderOperationErrorsInputSchema: X,
1146
+ ReorderOperationExamplesInputSchema: H,
1147
+ ReorderStateExamplesInputSchema: G,
1148
+ ScopeStateSchema: Le,
1149
+ SetAuthorNameInputSchema: W,
1150
+ SetAuthorWebsiteInputSchema: B,
1151
+ SetInitialStateInputSchema: z,
1152
+ SetModelDescriptionInputSchema: q,
1153
+ SetModelExtensionInputSchema: J,
1154
+ SetModelIdInputSchema: K,
1155
+ SetModelNameInputSchema: Q,
1156
+ SetModuleDescriptionInputSchema: Y,
1157
+ SetModuleNameInputSchema: Z,
1158
+ SetOperationDescriptionInputSchema: ee,
1159
+ SetOperationErrorCodeInputSchema: te,
1160
+ SetOperationErrorDescriptionInputSchema: re,
1161
+ SetOperationErrorNameInputSchema: oe,
1162
+ SetOperationErrorTemplateInputSchema: ne,
1163
+ SetOperationNameInputSchema: ie,
1164
+ SetOperationReducerInputSchema: se,
1165
+ SetOperationSchemaInputSchema: ae,
1166
+ SetOperationScopeInputSchema: Ne,
1167
+ SetOperationTemplateInputSchema: pe,
1168
+ SetStateSchemaInputSchema: le,
1169
+ StateSchema: I,
1170
+ UpdateChangeLogItemInputSchema: ce,
1171
+ UpdateOperationExampleInputSchema: de,
1172
+ UpdateStateExampleInputSchema: ue,
1173
+ definedNonNullAnySchema: zt,
1174
+ isDefinedNonNullAny: Te
1175
+ }, Symbol.toStringTag, { value: "Module" })), m = {
1019
1176
  setModelNameOperation(t, e) {
1020
1177
  t.name = e.input.name;
1021
1178
  },
@@ -1034,7 +1191,7 @@ const Mt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1034
1191
  setAuthorWebsiteOperation(t, e) {
1035
1192
  t.author = t.author || { name: "", website: null }, t.author.website = e.input.authorWebsite;
1036
1193
  }
1037
- }, E = {
1194
+ }, O = {
1038
1195
  addChangeLogItemOperation(t, e) {
1039
1196
  throw new Error(
1040
1197
  'Reducer "addChangeLogItemOperation" not yet implemented'
@@ -1060,10 +1217,10 @@ const Mt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1060
1217
  'Reducer "releaseNewVersionOperation" not yet implemented'
1061
1218
  );
1062
1219
  }
1063
- }, Nt = (t) => {
1220
+ }, Qt = (t) => {
1064
1221
  const e = {};
1065
1222
  return t.forEach((r, n) => e[r] = n), (r, n) => (e[n.id] || 999999) - (e[r.id] || 999999);
1066
- }, h = {
1223
+ }, g = {
1067
1224
  addModuleOperation(t, e) {
1068
1225
  t.specifications[t.specifications.length - 1].modules.push({
1069
1226
  id: e.input.id,
@@ -1089,12 +1246,12 @@ const Mt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1089
1246
  );
1090
1247
  },
1091
1248
  reorderModulesOperation(t, e) {
1092
- t.specifications[t.specifications.length - 1].modules.sort(Nt(e.input.order));
1249
+ t.specifications[t.specifications.length - 1].modules.sort(Qt(e.input.order));
1093
1250
  }
1094
- }, Lt = (t) => {
1251
+ }, Yt = (t) => {
1095
1252
  const e = {};
1096
1253
  return t.forEach((r, n) => e[r] = n), (r, n) => (e[n.id] || 999999) - (e[r.id] || 999999);
1097
- }, c = {
1254
+ }, d = {
1098
1255
  addOperationErrorOperation(t, e) {
1099
1256
  const r = t.specifications[t.specifications.length - 1];
1100
1257
  for (let n = 0; n < r.modules.length; n++)
@@ -1111,48 +1268,48 @@ const Mt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1111
1268
  const r = t.specifications[t.specifications.length - 1];
1112
1269
  for (let n = 0; n < r.modules.length; n++)
1113
1270
  for (let i = 0; i < r.modules[n].operations.length; i++)
1114
- for (let a = 0; a < r.modules[n].operations[i].errors.length; a++)
1115
- r.modules[n].operations[i].errors[a].id == e.input.id && (r.modules[n].operations[i].errors[a].code = e.input.errorCode || "");
1271
+ for (let s = 0; s < r.modules[n].operations[i].errors.length; s++)
1272
+ r.modules[n].operations[i].errors[s].id == e.input.id && (r.modules[n].operations[i].errors[s].code = e.input.errorCode || "");
1116
1273
  },
1117
1274
  setOperationErrorNameOperation(t, e) {
1118
1275
  const r = t.specifications[t.specifications.length - 1];
1119
1276
  for (let n = 0; n < r.modules.length; n++)
1120
1277
  for (let i = 0; i < r.modules[n].operations.length; i++)
1121
- for (let a = 0; a < r.modules[n].operations[i].errors.length; a++)
1122
- r.modules[n].operations[i].errors[a].id == e.input.id && (r.modules[n].operations[i].errors[a].name = e.input.errorName || "");
1278
+ for (let s = 0; s < r.modules[n].operations[i].errors.length; s++)
1279
+ r.modules[n].operations[i].errors[s].id == e.input.id && (r.modules[n].operations[i].errors[s].name = e.input.errorName || "");
1123
1280
  },
1124
1281
  setOperationErrorDescriptionOperation(t, e) {
1125
1282
  const r = t.specifications[t.specifications.length - 1];
1126
1283
  for (let n = 0; n < r.modules.length; n++)
1127
1284
  for (let i = 0; i < r.modules[n].operations.length; i++)
1128
- for (let a = 0; a < r.modules[n].operations[i].errors.length; a++)
1129
- r.modules[n].operations[i].errors[a].id == e.input.id && (r.modules[n].operations[i].errors[a].description = e.input.errorDescription || "");
1285
+ for (let s = 0; s < r.modules[n].operations[i].errors.length; s++)
1286
+ r.modules[n].operations[i].errors[s].id == e.input.id && (r.modules[n].operations[i].errors[s].description = e.input.errorDescription || "");
1130
1287
  },
1131
1288
  setOperationErrorTemplateOperation(t, e) {
1132
1289
  const r = t.specifications[t.specifications.length - 1];
1133
1290
  for (let n = 0; n < r.modules.length; n++)
1134
1291
  for (let i = 0; i < r.modules[n].operations.length; i++)
1135
- for (let a = 0; a < r.modules[n].operations[i].errors.length; a++)
1136
- r.modules[n].operations[i].errors[a].id == e.input.id && (r.modules[n].operations[i].errors[a].template = e.input.errorTemplate || "");
1292
+ for (let s = 0; s < r.modules[n].operations[i].errors.length; s++)
1293
+ r.modules[n].operations[i].errors[s].id == e.input.id && (r.modules[n].operations[i].errors[s].template = e.input.errorTemplate || "");
1137
1294
  },
1138
1295
  deleteOperationErrorOperation(t, e) {
1139
1296
  const r = t.specifications[t.specifications.length - 1];
1140
1297
  for (let n = 0; n < r.modules.length; n++)
1141
1298
  for (let i = 0; i < r.modules[n].operations.length; i++)
1142
- r.modules[n].operations[i].errors = r.modules[n].operations[i].errors.filter((a) => a.id != e.input.id);
1299
+ r.modules[n].operations[i].errors = r.modules[n].operations[i].errors.filter((s) => s.id != e.input.id);
1143
1300
  },
1144
1301
  reorderOperationErrorsOperation(t, e) {
1145
1302
  const r = t.specifications[t.specifications.length - 1];
1146
1303
  for (let n = 0; n < r.modules.length; n++)
1147
1304
  for (let i = 0; i < r.modules[n].operations.length; i++)
1148
1305
  r.modules[n].operations[i].id == e.input.operationId && r.modules[n].operations[i].errors.sort(
1149
- Lt(e.input.order)
1306
+ Yt(e.input.order)
1150
1307
  );
1151
1308
  }
1152
- }, Pt = (t) => {
1309
+ }, Zt = (t) => {
1153
1310
  const e = {};
1154
1311
  return t.forEach((r, n) => e[r] = n), (r, n) => (e[n.id] || 999999) - (e[r.id] || 999999);
1155
- }, S = {
1312
+ }, b = {
1156
1313
  addOperationExampleOperation(t, e) {
1157
1314
  const r = t.specifications[t.specifications.length - 1];
1158
1315
  for (let n = 0; n < r.modules.length; n++)
@@ -1166,15 +1323,15 @@ const Mt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1166
1323
  const r = t.specifications[t.specifications.length - 1];
1167
1324
  for (let n = 0; n < r.modules.length; n++)
1168
1325
  for (let i = 0; i < r.modules[n].operations.length; i++)
1169
- for (let a = 0; a < r.modules[n].operations[i].examples.length; a++)
1170
- r.modules[n].operations[i].examples[a].id == e.input.id && (r.modules[n].operations[i].examples[a].value = e.input.example);
1326
+ for (let s = 0; s < r.modules[n].operations[i].examples.length; s++)
1327
+ r.modules[n].operations[i].examples[s].id == e.input.id && (r.modules[n].operations[i].examples[s].value = e.input.example);
1171
1328
  },
1172
1329
  deleteOperationExampleOperation(t, e) {
1173
1330
  const r = t.specifications[t.specifications.length - 1];
1174
1331
  for (let n = 0; n < r.modules.length; n++)
1175
1332
  for (let i = 0; i < r.modules[n].operations.length; i++)
1176
1333
  r.modules[n].operations[i].examples = r.modules[n].operations[i].examples.filter(
1177
- (a) => a.id != e.input.id
1334
+ (s) => s.id != e.input.id
1178
1335
  );
1179
1336
  },
1180
1337
  reorderOperationExamplesOperation(t, e) {
@@ -1182,10 +1339,10 @@ const Mt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1182
1339
  for (let n = 0; n < r.modules.length; n++)
1183
1340
  for (let i = 0; i < r.modules[n].operations.length; i++)
1184
1341
  r.modules[n].operations[i].id == e.input.operationId && r.modules[n].operations[i].examples.sort(
1185
- Pt(e.input.order)
1342
+ Zt(e.input.order)
1186
1343
  );
1187
1344
  }
1188
- }, jt = (t) => {
1345
+ }, er = (t) => {
1189
1346
  const e = {};
1190
1347
  return t.forEach((r, n) => e[r] = n), (r, n) => (e[n.id] || 999999) - (e[r.id] || 999999);
1191
1348
  }, p = {
@@ -1243,7 +1400,7 @@ const Mt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1243
1400
  moveOperationOperation(t, e) {
1244
1401
  const r = [], n = t.specifications[t.specifications.length - 1];
1245
1402
  for (let i = 0; i < n.modules.length; i++)
1246
- n.modules[i].operations = n.modules[i].operations.filter((a) => a.id == e.input.operationId ? (r.push(a), !1) : !0);
1403
+ n.modules[i].operations = n.modules[i].operations.filter((s) => s.id == e.input.operationId ? (r.push(s), !1) : !0);
1247
1404
  for (let i = 0; i < n.modules.length; i++)
1248
1405
  n.modules[i].id == e.input.newModuleId && n.modules[i].operations.push(...r);
1249
1406
  },
@@ -1256,13 +1413,13 @@ const Mt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1256
1413
  const r = t.specifications[t.specifications.length - 1];
1257
1414
  for (let n = 0; n < r.modules.length; n++)
1258
1415
  r.modules[n].id == e.input.moduleId && r.modules[n].operations.sort(
1259
- jt(e.input.order)
1416
+ er(e.input.order)
1260
1417
  );
1261
1418
  }
1262
- }, Ct = (t) => {
1419
+ }, tr = (t) => {
1263
1420
  const e = {};
1264
1421
  return t.forEach((r, n) => e[r] = n), (r, n) => (e[n.id] || 999999) - (e[r.id] || 999999);
1265
- }, u = {
1422
+ }, E = {
1266
1423
  setStateSchemaOperation(t, e) {
1267
1424
  const r = t.specifications[t.specifications.length - 1];
1268
1425
  if (Object.keys(r.state).includes(e.input.scope))
@@ -1305,49 +1462,49 @@ const Mt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1305
1462
  reorderStateExamplesOperation(t, e) {
1306
1463
  const r = t.specifications[t.specifications.length - 1];
1307
1464
  if (Object.keys(r.state).includes(e.input.scope))
1308
- r.state[e.input.scope].examples.sort(Ct(e.input.order));
1465
+ r.state[e.input.scope].examples.sort(tr(e.input.order));
1309
1466
  else
1310
1467
  throw new Error(`Invalid scope: ${e.input.scope}`);
1311
1468
  }
1312
- }, kt = (t, e) => {
1313
- if (ht(e))
1469
+ }, rr = (t, e) => {
1470
+ if (Mt(e))
1314
1471
  return t;
1315
1472
  switch (e.type) {
1316
1473
  case "SET_MODEL_NAME":
1317
- B().parse(e.input), d.setModelNameOperation(t.global, e);
1474
+ Q().parse(e.input), m.setModelNameOperation(t.global, e);
1318
1475
  break;
1319
1476
  case "SET_MODEL_ID":
1320
- z().parse(e.input), d.setModelIdOperation(t.global, e);
1477
+ K().parse(e.input), m.setModelIdOperation(t.global, e);
1321
1478
  break;
1322
1479
  case "SET_MODEL_EXTENSION":
1323
- W().parse(e.input), d.setModelExtensionOperation(t.global, e);
1480
+ J().parse(e.input), m.setModelExtensionOperation(t.global, e);
1324
1481
  break;
1325
1482
  case "SET_MODEL_DESCRIPTION":
1326
- $().parse(e.input), d.setModelDescriptionOperation(t.global, e);
1483
+ q().parse(e.input), m.setModelDescriptionOperation(t.global, e);
1327
1484
  break;
1328
1485
  case "SET_AUTHOR_NAME":
1329
- H().parse(e.input), d.setAuthorNameOperation(t.global, e);
1486
+ W().parse(e.input), m.setAuthorNameOperation(t.global, e);
1330
1487
  break;
1331
1488
  case "SET_AUTHOR_WEBSITE":
1332
- X().parse(e.input), d.setAuthorWebsiteOperation(t.global, e);
1489
+ B().parse(e.input), m.setAuthorWebsiteOperation(t.global, e);
1333
1490
  break;
1334
1491
  case "ADD_CHANGE_LOG_ITEM":
1335
- _().parse(e.input), E.addChangeLogItemOperation(t.global, e);
1492
+ x().parse(e.input), O.addChangeLogItemOperation(t.global, e);
1336
1493
  break;
1337
1494
  case "UPDATE_CHANGE_LOG_ITEM":
1338
- se().parse(e.input), E.updateChangeLogItemOperation(
1495
+ ce().parse(e.input), O.updateChangeLogItemOperation(
1339
1496
  t.global,
1340
1497
  e
1341
1498
  );
1342
1499
  break;
1343
1500
  case "DELETE_CHANGE_LOG_ITEM":
1344
- M().parse(e.input), E.deleteChangeLogItemOperation(
1501
+ C().parse(e.input), O.deleteChangeLogItemOperation(
1345
1502
  t.global,
1346
1503
  e
1347
1504
  );
1348
1505
  break;
1349
1506
  case "REORDER_CHANGE_LOG_ITEMS":
1350
- y().parse(e.input), E.reorderChangeLogItemsOperation(
1507
+ F().parse(e.input), O.reorderChangeLogItemsOperation(
1351
1508
  t.global,
1352
1509
  e
1353
1510
  );
@@ -1357,150 +1514,150 @@ const Mt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1357
1514
  throw new Error(
1358
1515
  "Expected empty input for action RELEASE_NEW_VERSION"
1359
1516
  );
1360
- E.releaseNewVersionOperation(t.global, e);
1517
+ O.releaseNewVersionOperation(t.global, e);
1361
1518
  break;
1362
1519
  case "ADD_MODULE":
1363
- I().parse(e.input), h.addModuleOperation(t.global, e);
1520
+ A().parse(e.input), g.addModuleOperation(t.global, e);
1364
1521
  break;
1365
1522
  case "SET_MODULE_NAME":
1366
- J().parse(e.input), h.setModuleNameOperation(t.global, e);
1523
+ Z().parse(e.input), g.setModuleNameOperation(t.global, e);
1367
1524
  break;
1368
1525
  case "SET_MODULE_DESCRIPTION":
1369
- q().parse(e.input), h.setModuleDescriptionOperation(t.global, e);
1526
+ Y().parse(e.input), g.setModuleDescriptionOperation(t.global, e);
1370
1527
  break;
1371
1528
  case "DELETE_MODULE":
1372
- N().parse(e.input), h.deleteModuleOperation(t.global, e);
1529
+ j().parse(e.input), g.deleteModuleOperation(t.global, e);
1373
1530
  break;
1374
1531
  case "REORDER_MODULES":
1375
- v().parse(e.input), h.reorderModulesOperation(t.global, e);
1532
+ V().parse(e.input), g.reorderModulesOperation(t.global, e);
1376
1533
  break;
1377
1534
  case "ADD_OPERATION_ERROR":
1378
- T().parse(e.input), c.addOperationErrorOperation(
1535
+ M().parse(e.input), d.addOperationErrorOperation(
1379
1536
  t.global,
1380
1537
  e
1381
1538
  );
1382
1539
  break;
1383
1540
  case "SET_OPERATION_ERROR_CODE":
1384
- Q().parse(e.input), c.setOperationErrorCodeOperation(
1541
+ te().parse(e.input), d.setOperationErrorCodeOperation(
1385
1542
  t.global,
1386
1543
  e
1387
1544
  );
1388
1545
  break;
1389
1546
  case "SET_OPERATION_ERROR_NAME":
1390
- Z().parse(e.input), c.setOperationErrorNameOperation(
1547
+ oe().parse(e.input), d.setOperationErrorNameOperation(
1391
1548
  t.global,
1392
1549
  e
1393
1550
  );
1394
1551
  break;
1395
1552
  case "SET_OPERATION_ERROR_DESCRIPTION":
1396
- Y().parse(e.input), c.setOperationErrorDescriptionOperation(
1553
+ re().parse(e.input), d.setOperationErrorDescriptionOperation(
1397
1554
  t.global,
1398
1555
  e
1399
1556
  );
1400
1557
  break;
1401
1558
  case "SET_OPERATION_ERROR_TEMPLATE":
1402
- ee().parse(e.input), c.setOperationErrorTemplateOperation(
1559
+ ne().parse(e.input), d.setOperationErrorTemplateOperation(
1403
1560
  t.global,
1404
1561
  e
1405
1562
  );
1406
1563
  break;
1407
1564
  case "DELETE_OPERATION_ERROR":
1408
- L().parse(e.input), c.deleteOperationErrorOperation(
1565
+ y().parse(e.input), d.deleteOperationErrorOperation(
1409
1566
  t.global,
1410
1567
  e
1411
1568
  );
1412
1569
  break;
1413
1570
  case "REORDER_OPERATION_ERRORS":
1414
- U().parse(e.input), c.reorderOperationErrorsOperation(
1571
+ X().parse(e.input), d.reorderOperationErrorsOperation(
1415
1572
  t.global,
1416
1573
  e
1417
1574
  );
1418
1575
  break;
1419
1576
  case "ADD_OPERATION_EXAMPLE":
1420
- R().parse(e.input), S.addOperationExampleOperation(
1577
+ D().parse(e.input), b.addOperationExampleOperation(
1421
1578
  t.global,
1422
1579
  e
1423
1580
  );
1424
1581
  break;
1425
1582
  case "UPDATE_OPERATION_EXAMPLE":
1426
- ae().parse(e.input), S.updateOperationExampleOperation(
1583
+ de().parse(e.input), b.updateOperationExampleOperation(
1427
1584
  t.global,
1428
1585
  e
1429
1586
  );
1430
1587
  break;
1431
1588
  case "DELETE_OPERATION_EXAMPLE":
1432
- P().parse(e.input), S.deleteOperationExampleOperation(
1589
+ w().parse(e.input), b.deleteOperationExampleOperation(
1433
1590
  t.global,
1434
1591
  e
1435
1592
  );
1436
1593
  break;
1437
1594
  case "REORDER_OPERATION_EXAMPLES":
1438
- V().parse(e.input), S.reorderOperationExamplesOperation(
1595
+ H().parse(e.input), b.reorderOperationExamplesOperation(
1439
1596
  t.global,
1440
1597
  e
1441
1598
  );
1442
1599
  break;
1443
1600
  case "ADD_OPERATION":
1444
- A().parse(e.input), p.addOperationOperation(t.global, e);
1601
+ N().parse(e.input), p.addOperationOperation(t.global, e);
1445
1602
  break;
1446
1603
  case "SET_OPERATION_NAME":
1447
- te().parse(e.input), p.setOperationNameOperation(t.global, e);
1604
+ ie().parse(e.input), p.setOperationNameOperation(t.global, e);
1448
1605
  break;
1449
1606
  case "SET_OPERATION_SCOPE":
1450
- Se().parse(e.input), p.setOperationScopeOperation(t.global, e);
1607
+ Ne().parse(e.input), p.setOperationScopeOperation(t.global, e);
1451
1608
  break;
1452
1609
  case "SET_OPERATION_SCHEMA":
1453
- oe().parse(e.input), p.setOperationSchemaOperation(t.global, e);
1610
+ ae().parse(e.input), p.setOperationSchemaOperation(t.global, e);
1454
1611
  break;
1455
1612
  case "SET_OPERATION_DESCRIPTION":
1456
- K().parse(e.input), p.setOperationDescriptionOperation(
1613
+ ee().parse(e.input), p.setOperationDescriptionOperation(
1457
1614
  t.global,
1458
1615
  e
1459
1616
  );
1460
1617
  break;
1461
1618
  case "SET_OPERATION_TEMPLATE":
1462
- ne().parse(e.input), p.setOperationTemplateOperation(
1619
+ pe().parse(e.input), p.setOperationTemplateOperation(
1463
1620
  t.global,
1464
1621
  e
1465
1622
  );
1466
1623
  break;
1467
1624
  case "SET_OPERATION_REDUCER":
1468
- re().parse(e.input), p.setOperationReducerOperation(t.global, e);
1625
+ se().parse(e.input), p.setOperationReducerOperation(t.global, e);
1469
1626
  break;
1470
1627
  case "MOVE_OPERATION":
1471
- k().parse(e.input), p.moveOperationOperation(t.global, e);
1628
+ v().parse(e.input), p.moveOperationOperation(t.global, e);
1472
1629
  break;
1473
1630
  case "DELETE_OPERATION":
1474
- j().parse(e.input), p.deleteOperationOperation(t.global, e);
1631
+ k().parse(e.input), p.deleteOperationOperation(t.global, e);
1475
1632
  break;
1476
1633
  case "REORDER_MODULE_OPERATIONS":
1477
- w().parse(e.input), p.reorderModuleOperationsOperation(
1634
+ $().parse(e.input), p.reorderModuleOperationsOperation(
1478
1635
  t.global,
1479
1636
  e
1480
1637
  );
1481
1638
  break;
1482
1639
  case "SET_STATE_SCHEMA":
1483
- ie().parse(e.input), u.setStateSchemaOperation(t.global, e);
1640
+ le().parse(e.input), E.setStateSchemaOperation(t.global, e);
1484
1641
  break;
1485
1642
  case "SET_INITIAL_STATE":
1486
- G().parse(e.input), u.setInitialStateOperation(t.global, e);
1643
+ z().parse(e.input), E.setInitialStateOperation(t.global, e);
1487
1644
  break;
1488
1645
  case "ADD_STATE_EXAMPLE":
1489
- x().parse(e.input), u.addStateExampleOperation(t.global, e);
1646
+ L().parse(e.input), E.addStateExampleOperation(t.global, e);
1490
1647
  break;
1491
1648
  case "UPDATE_STATE_EXAMPLE":
1492
- pe().parse(e.input), u.updateStateExampleOperation(t.global, e);
1649
+ ue().parse(e.input), E.updateStateExampleOperation(t.global, e);
1493
1650
  break;
1494
1651
  case "DELETE_STATE_EXAMPLE":
1495
- C().parse(e.input), u.deleteStateExampleOperation(t.global, e);
1652
+ U().parse(e.input), E.deleteStateExampleOperation(t.global, e);
1496
1653
  break;
1497
1654
  case "REORDER_STATE_EXAMPLES":
1498
- F().parse(e.input), u.reorderStateExamplesOperation(t.global, e);
1655
+ G().parse(e.input), E.reorderStateExamplesOperation(t.global, e);
1499
1656
  break;
1500
1657
  default:
1501
1658
  return t;
1502
1659
  }
1503
- }, g = Et(kt), yt = {
1660
+ }, f = At(rr), or = {
1504
1661
  id: "",
1505
1662
  name: "",
1506
1663
  extension: "",
@@ -1528,323 +1685,323 @@ const Mt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1528
1685
  modules: []
1529
1686
  }
1530
1687
  ]
1531
- }, wt = {}, O = {
1688
+ }, nr = {}, S = {
1532
1689
  fileExtension: "phdm",
1533
1690
  createState(t) {
1534
1691
  return {
1535
- global: { ...yt, ...t == null ? void 0 : t.global },
1536
- local: { ...wt, ...t == null ? void 0 : t.local }
1692
+ global: { ...or, ...t == null ? void 0 : t.global },
1693
+ local: { ...nr, ...t == null ? void 0 : t.local }
1537
1694
  };
1538
1695
  },
1539
1696
  createExtendedState(t) {
1540
- return Ot(
1697
+ return Dt(
1541
1698
  { ...t, documentType: "powerhouse/document-model" },
1542
- O.createState
1699
+ S.createState
1543
1700
  );
1544
1701
  },
1545
1702
  createDocument(t) {
1546
- return gt(
1547
- O.createExtendedState(t),
1548
- O.createState
1703
+ return Nt(
1704
+ S.createExtendedState(t),
1705
+ S.createState
1549
1706
  );
1550
1707
  },
1551
1708
  saveToFile(t, e, r) {
1552
- return St(t, e, "phdm", r);
1709
+ return Lt(t, e, "phdm", r);
1553
1710
  },
1554
1711
  saveToFileHandle(t, e) {
1555
- return bt(t, e);
1712
+ return Pt(t, e);
1556
1713
  },
1557
1714
  loadFromFile(t) {
1558
- return ft(t, g);
1715
+ return Ct(t, f);
1559
1716
  },
1560
1717
  loadFromInput(t) {
1561
- return _t(t, g);
1718
+ return jt(t, f);
1562
1719
  }
1563
- }, fe = (t) => s(
1720
+ }, Pe = (t) => a(
1564
1721
  "SET_MODEL_NAME",
1565
1722
  { ...t }
1566
- ), _e = (t) => s(
1723
+ ), Ce = (t) => a(
1567
1724
  "SET_MODEL_ID",
1568
1725
  { ...t }
1569
- ), Ie = (t) => s(
1726
+ ), je = (t) => a(
1570
1727
  "SET_MODEL_EXTENSION",
1571
1728
  { ...t }
1572
- ), Te = (t) => s(
1729
+ ), ye = (t) => a(
1573
1730
  "SET_MODEL_DESCRIPTION",
1574
1731
  { ...t }
1575
- ), Re = (t) => s(
1732
+ ), we = (t) => a(
1576
1733
  "SET_AUTHOR_NAME",
1577
1734
  { ...t }
1578
- ), Ae = (t) => s(
1735
+ ), ke = (t) => a(
1579
1736
  "SET_AUTHOR_WEBSITE",
1580
1737
  { ...t }
1581
1738
  );
1582
- class vt extends l {
1739
+ class ir extends c {
1583
1740
  setModelName(e, r) {
1584
- return this.dispatch(fe(e), r);
1741
+ return this.dispatch(Pe(e), r);
1585
1742
  }
1586
1743
  setModelId(e, r) {
1587
- return this.dispatch(_e(e), r);
1744
+ return this.dispatch(Ce(e), r);
1588
1745
  }
1589
1746
  setModelExtension(e, r) {
1590
- return this.dispatch(Ie(e), r);
1747
+ return this.dispatch(je(e), r);
1591
1748
  }
1592
1749
  setModelDescription(e, r) {
1593
- return this.dispatch(Te(e), r);
1750
+ return this.dispatch(ye(e), r);
1594
1751
  }
1595
1752
  setAuthorName(e, r) {
1596
- return this.dispatch(Re(e), r);
1753
+ return this.dispatch(we(e), r);
1597
1754
  }
1598
1755
  setAuthorWebsite(e, r) {
1599
- return this.dispatch(Ae(e), r);
1756
+ return this.dispatch(ke(e), r);
1600
1757
  }
1601
1758
  }
1602
- const xe = (t) => s(
1759
+ const Ue = (t) => a(
1603
1760
  "ADD_CHANGE_LOG_ITEM",
1604
1761
  { ...t }
1605
- ), De = (t) => s(
1762
+ ), ve = (t) => a(
1606
1763
  "UPDATE_CHANGE_LOG_ITEM",
1607
1764
  { ...t }
1608
- ), Me = (t) => s(
1765
+ ), Fe = (t) => a(
1609
1766
  "DELETE_CHANGE_LOG_ITEM",
1610
1767
  { ...t }
1611
- ), Ne = (t) => s(
1768
+ ), $e = (t) => a(
1612
1769
  "REORDER_CHANGE_LOG_ITEMS",
1613
1770
  { ...t }
1614
- ), Le = () => s(
1771
+ ), Ve = () => a(
1615
1772
  "RELEASE_NEW_VERSION"
1616
1773
  );
1617
- class Ut extends l {
1774
+ class sr extends c {
1618
1775
  addChangeLogItem(e, r) {
1619
- return this.dispatch(xe(e), r);
1776
+ return this.dispatch(Ue(e), r);
1620
1777
  }
1621
1778
  updateChangeLogItem(e, r) {
1622
- return this.dispatch(De(e), r);
1779
+ return this.dispatch(ve(e), r);
1623
1780
  }
1624
1781
  deleteChangeLogItem(e, r) {
1625
- return this.dispatch(Me(e), r);
1782
+ return this.dispatch(Fe(e), r);
1626
1783
  }
1627
1784
  reorderChangeLogItems(e, r) {
1628
- return this.dispatch(Ne(e), r);
1785
+ return this.dispatch($e(e), r);
1629
1786
  }
1630
1787
  releaseNewVersion(e) {
1631
- return this.dispatch(Le(), e);
1788
+ return this.dispatch(Ve(), e);
1632
1789
  }
1633
1790
  }
1634
- const Pe = (t) => s(
1791
+ const Xe = (t) => a(
1635
1792
  "ADD_MODULE",
1636
1793
  { ...t }
1637
- ), je = (t) => s(
1794
+ ), He = (t) => a(
1638
1795
  "SET_MODULE_NAME",
1639
1796
  { ...t }
1640
- ), Ce = (t) => s(
1797
+ ), Ge = (t) => a(
1641
1798
  "SET_MODULE_DESCRIPTION",
1642
1799
  { ...t }
1643
- ), ke = (t) => s(
1800
+ ), We = (t) => a(
1644
1801
  "DELETE_MODULE",
1645
1802
  { ...t }
1646
- ), ye = (t) => s(
1803
+ ), Be = (t) => a(
1647
1804
  "REORDER_MODULES",
1648
1805
  { ...t }
1649
1806
  );
1650
- class Vt extends l {
1807
+ class ar extends c {
1651
1808
  addModule(e, r) {
1652
- return this.dispatch(Pe(e), r);
1809
+ return this.dispatch(Xe(e), r);
1653
1810
  }
1654
1811
  setModuleName(e, r) {
1655
- return this.dispatch(je(e), r);
1812
+ return this.dispatch(He(e), r);
1656
1813
  }
1657
1814
  setModuleDescription(e, r) {
1658
- return this.dispatch(Ce(e), r);
1815
+ return this.dispatch(Ge(e), r);
1659
1816
  }
1660
1817
  deleteModule(e, r) {
1661
- return this.dispatch(ke(e), r);
1818
+ return this.dispatch(We(e), r);
1662
1819
  }
1663
1820
  reorderModules(e, r) {
1664
- return this.dispatch(ye(e), r);
1821
+ return this.dispatch(Be(e), r);
1665
1822
  }
1666
1823
  }
1667
- const we = (t) => s(
1824
+ const ze = (t) => a(
1668
1825
  "ADD_OPERATION_ERROR",
1669
1826
  { ...t }
1670
- ), ve = (t) => s(
1827
+ ), qe = (t) => a(
1671
1828
  "SET_OPERATION_ERROR_CODE",
1672
1829
  { ...t }
1673
- ), Ue = (t) => s(
1830
+ ), Je = (t) => a(
1674
1831
  "SET_OPERATION_ERROR_NAME",
1675
1832
  { ...t }
1676
- ), Ve = (t) => s(
1833
+ ), Ke = (t) => a(
1677
1834
  "SET_OPERATION_ERROR_DESCRIPTION",
1678
1835
  { ...t }
1679
- ), Fe = (t) => s(
1836
+ ), Qe = (t) => a(
1680
1837
  "SET_OPERATION_ERROR_TEMPLATE",
1681
1838
  { ...t }
1682
- ), He = (t) => s(
1839
+ ), Ye = (t) => a(
1683
1840
  "DELETE_OPERATION_ERROR",
1684
1841
  { ...t }
1685
- ), Xe = (t) => s(
1842
+ ), Ze = (t) => a(
1686
1843
  "REORDER_OPERATION_ERRORS",
1687
1844
  { ...t }
1688
1845
  );
1689
- class Ft extends l {
1846
+ class pr extends c {
1690
1847
  addOperationError(e, r) {
1691
- return this.dispatch(we(e), r);
1848
+ return this.dispatch(ze(e), r);
1692
1849
  }
1693
1850
  setOperationErrorCode(e, r) {
1694
- return this.dispatch(ve(e), r);
1851
+ return this.dispatch(qe(e), r);
1695
1852
  }
1696
1853
  setOperationErrorName(e, r) {
1697
- return this.dispatch(Ue(e), r);
1854
+ return this.dispatch(Je(e), r);
1698
1855
  }
1699
1856
  setOperationErrorDescription(e, r) {
1700
- return this.dispatch(Ve(e), r);
1857
+ return this.dispatch(Ke(e), r);
1701
1858
  }
1702
1859
  setOperationErrorTemplate(e, r) {
1703
- return this.dispatch(Fe(e), r);
1860
+ return this.dispatch(Qe(e), r);
1704
1861
  }
1705
1862
  deleteOperationError(e, r) {
1706
- return this.dispatch(He(e), r);
1863
+ return this.dispatch(Ye(e), r);
1707
1864
  }
1708
1865
  reorderOperationErrors(e, r) {
1709
- return this.dispatch(Xe(e), r);
1866
+ return this.dispatch(Ze(e), r);
1710
1867
  }
1711
1868
  }
1712
- const Ge = (t) => s(
1869
+ const et = (t) => a(
1713
1870
  "ADD_OPERATION_EXAMPLE",
1714
1871
  { ...t }
1715
- ), $e = (t) => s(
1872
+ ), tt = (t) => a(
1716
1873
  "UPDATE_OPERATION_EXAMPLE",
1717
1874
  { ...t }
1718
- ), We = (t) => s(
1875
+ ), rt = (t) => a(
1719
1876
  "DELETE_OPERATION_EXAMPLE",
1720
1877
  { ...t }
1721
- ), ze = (t) => s(
1878
+ ), ot = (t) => a(
1722
1879
  "REORDER_OPERATION_EXAMPLES",
1723
1880
  { ...t }
1724
1881
  );
1725
- class Ht extends l {
1882
+ class lr extends c {
1726
1883
  addOperationExample(e, r) {
1727
- return this.dispatch(Ge(e), r);
1884
+ return this.dispatch(et(e), r);
1728
1885
  }
1729
1886
  updateOperationExample(e, r) {
1730
- return this.dispatch($e(e), r);
1887
+ return this.dispatch(tt(e), r);
1731
1888
  }
1732
1889
  deleteOperationExample(e, r) {
1733
- return this.dispatch(We(e), r);
1890
+ return this.dispatch(rt(e), r);
1734
1891
  }
1735
1892
  reorderOperationExamples(e, r) {
1736
- return this.dispatch(ze(e), r);
1893
+ return this.dispatch(ot(e), r);
1737
1894
  }
1738
1895
  }
1739
- const Be = (t) => s(
1896
+ const nt = (t) => a(
1740
1897
  "ADD_OPERATION",
1741
1898
  { ...t }
1742
- ), qe = (t) => s(
1899
+ ), it = (t) => a(
1743
1900
  "SET_OPERATION_NAME",
1744
1901
  { ...t }
1745
- ), Je = (t) => s(
1902
+ ), st = (t) => a(
1746
1903
  "SET_OPERATION_SCOPE",
1747
1904
  { ...t }
1748
- ), Ke = (t) => s(
1905
+ ), at = (t) => a(
1749
1906
  "SET_OPERATION_SCHEMA",
1750
1907
  { ...t }
1751
- ), Qe = (t) => s(
1908
+ ), pt = (t) => a(
1752
1909
  "SET_OPERATION_DESCRIPTION",
1753
1910
  { ...t }
1754
- ), Ye = (t) => s(
1911
+ ), lt = (t) => a(
1755
1912
  "SET_OPERATION_TEMPLATE",
1756
1913
  { ...t }
1757
- ), Ze = (t) => s(
1914
+ ), ct = (t) => a(
1758
1915
  "SET_OPERATION_REDUCER",
1759
1916
  { ...t }
1760
- ), et = (t) => s(
1917
+ ), dt = (t) => a(
1761
1918
  "MOVE_OPERATION",
1762
1919
  { ...t }
1763
- ), tt = (t) => s(
1920
+ ), ut = (t) => a(
1764
1921
  "DELETE_OPERATION",
1765
1922
  { ...t }
1766
- ), rt = (t) => s(
1923
+ ), mt = (t) => a(
1767
1924
  "REORDER_MODULE_OPERATIONS",
1768
1925
  { ...t }
1769
1926
  );
1770
- class Xt extends l {
1927
+ class cr extends c {
1771
1928
  addOperation(e, r) {
1772
- return this.dispatch(Be(e), r);
1929
+ return this.dispatch(nt(e), r);
1773
1930
  }
1774
1931
  setOperationName(e, r) {
1775
- return this.dispatch(qe(e), r);
1932
+ return this.dispatch(it(e), r);
1776
1933
  }
1777
1934
  setOperationScope(e, r) {
1778
- return this.dispatch(Je(e), r);
1935
+ return this.dispatch(st(e), r);
1779
1936
  }
1780
1937
  setOperationSchema(e, r) {
1781
- return this.dispatch(Ke(e), r);
1938
+ return this.dispatch(at(e), r);
1782
1939
  }
1783
1940
  setOperationDescription(e, r) {
1784
- return this.dispatch(Qe(e), r);
1941
+ return this.dispatch(pt(e), r);
1785
1942
  }
1786
1943
  setOperationTemplate(e, r) {
1787
- return this.dispatch(Ye(e), r);
1944
+ return this.dispatch(lt(e), r);
1788
1945
  }
1789
1946
  setOperationReducer(e, r) {
1790
- return this.dispatch(Ze(e), r);
1947
+ return this.dispatch(ct(e), r);
1791
1948
  }
1792
1949
  moveOperation(e, r) {
1793
- return this.dispatch(et(e), r);
1950
+ return this.dispatch(dt(e), r);
1794
1951
  }
1795
1952
  deleteOperation(e, r) {
1796
- return this.dispatch(tt(e), r);
1953
+ return this.dispatch(ut(e), r);
1797
1954
  }
1798
1955
  reorderModuleOperations(e, r) {
1799
- return this.dispatch(rt(e), r);
1956
+ return this.dispatch(mt(e), r);
1800
1957
  }
1801
1958
  }
1802
- const ot = (t) => s(
1959
+ const Et = (t) => a(
1803
1960
  "SET_STATE_SCHEMA",
1804
1961
  { ...t }
1805
- ), nt = (t) => s(
1962
+ ), ht = (t) => a(
1806
1963
  "SET_INITIAL_STATE",
1807
1964
  { ...t }
1808
- ), it = (t) => s(
1965
+ ), Ot = (t) => a(
1809
1966
  "ADD_STATE_EXAMPLE",
1810
1967
  { ...t }
1811
- ), st = (t) => s(
1968
+ ), gt = (t) => a(
1812
1969
  "UPDATE_STATE_EXAMPLE",
1813
1970
  { ...t }
1814
- ), at = (t) => s(
1971
+ ), St = (t) => a(
1815
1972
  "DELETE_STATE_EXAMPLE",
1816
1973
  { ...t }
1817
- ), pt = (t) => s(
1974
+ ), ft = (t) => a(
1818
1975
  "REORDER_STATE_EXAMPLES",
1819
1976
  { ...t }
1820
1977
  );
1821
- class Gt extends l {
1978
+ class dr extends c {
1822
1979
  setStateSchema(e, r) {
1823
- return this.dispatch(ot(e), r);
1980
+ return this.dispatch(Et(e), r);
1824
1981
  }
1825
1982
  setInitialState(e, r) {
1826
- return this.dispatch(nt(e), r);
1983
+ return this.dispatch(ht(e), r);
1827
1984
  }
1828
1985
  addStateExample(e, r) {
1829
- return this.dispatch(it(e), r);
1986
+ return this.dispatch(Ot(e), r);
1830
1987
  }
1831
1988
  updateStateExample(e, r) {
1832
- return this.dispatch(st(e), r);
1989
+ return this.dispatch(gt(e), r);
1833
1990
  }
1834
1991
  deleteStateExample(e, r) {
1835
- return this.dispatch(at(e), r);
1992
+ return this.dispatch(St(e), r);
1836
1993
  }
1837
1994
  reorderStateExamples(e, r) {
1838
- return this.dispatch(pt(e), r);
1995
+ return this.dispatch(ft(e), r);
1839
1996
  }
1840
1997
  }
1841
- var m;
1842
- let le = (m = class extends l {
1998
+ var h;
1999
+ let me = (h = class extends c {
1843
2000
  constructor(e, r) {
1844
- super(g, O.createDocument(e), r);
2001
+ super(f, S.createDocument(e), r);
1845
2002
  }
1846
2003
  saveToFile(e, r) {
1847
- return super.saveToFile(e, m.fileExtension, r);
2004
+ return super.saveToFile(e, h.fileExtension, r);
1848
2005
  }
1849
2006
  loadFromFile(e) {
1850
2007
  return super.loadFromFile(e);
@@ -1853,86 +2010,96 @@ let le = (m = class extends l {
1853
2010
  const r = new this();
1854
2011
  return await r.loadFromFile(e), r;
1855
2012
  }
1856
- }, ce(m, "fileExtension", "phdm"), m);
1857
- It(le, [
1858
- vt,
1859
- Ut,
1860
- Vt,
1861
- Ft,
1862
- Ht,
1863
- Xt,
1864
- Gt
2013
+ }, Ee(h, "fileExtension", "phdm"), h);
2014
+ yt(me, [
2015
+ ir,
2016
+ sr,
2017
+ ar,
2018
+ pr,
2019
+ lr,
2020
+ cr,
2021
+ dr
1865
2022
  ]);
1866
- const $t = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2023
+ const ur = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1867
2024
  __proto__: null,
1868
- addChangeLogItem: xe,
1869
- addModule: Pe,
1870
- addOperation: Be,
1871
- addOperationError: we,
1872
- addOperationExample: Ge,
1873
- addStateExample: it,
1874
- deleteChangeLogItem: Me,
1875
- deleteModule: ke,
1876
- deleteOperation: tt,
1877
- deleteOperationError: He,
1878
- deleteOperationExample: We,
1879
- deleteStateExample: at,
1880
- moveOperation: et,
1881
- releaseNewVersion: Le,
1882
- reorderChangeLogItems: Ne,
1883
- reorderModuleOperations: rt,
1884
- reorderModules: ye,
1885
- reorderOperationErrors: Xe,
1886
- reorderOperationExamples: ze,
1887
- reorderStateExamples: pt,
1888
- setAuthorName: Re,
1889
- setAuthorWebsite: Ae,
1890
- setInitialState: nt,
1891
- setModelDescription: Te,
1892
- setModelExtension: Ie,
1893
- setModelId: _e,
1894
- setModelName: fe,
1895
- setModuleDescription: Ce,
1896
- setModuleName: je,
1897
- setOperationDescription: Qe,
1898
- setOperationErrorCode: ve,
1899
- setOperationErrorDescription: Ve,
1900
- setOperationErrorName: Ue,
1901
- setOperationErrorTemplate: Fe,
1902
- setOperationName: qe,
1903
- setOperationReducer: Ze,
1904
- setOperationSchema: Ke,
1905
- setOperationScope: Je,
1906
- setOperationTemplate: Ye,
1907
- setStateSchema: ot,
1908
- updateChangeLogItem: De,
1909
- updateOperationExample: $e,
1910
- updateStateExample: st
1911
- }, Symbol.toStringTag, { value: "Module" })), lt = le, ct = { ...O, ...Rt }, dt = { ...Tt, ...$t }, Wt = {
1912
- Document: lt,
1913
- reducer: g,
1914
- actions: dt,
1915
- utils: ct,
1916
- documentModel: de
1917
- }, Yt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2025
+ addChangeLogItem: Ue,
2026
+ addModule: Xe,
2027
+ addOperation: nt,
2028
+ addOperationError: ze,
2029
+ addOperationExample: et,
2030
+ addStateExample: Ot,
2031
+ deleteChangeLogItem: Fe,
2032
+ deleteModule: We,
2033
+ deleteOperation: ut,
2034
+ deleteOperationError: Ye,
2035
+ deleteOperationExample: rt,
2036
+ deleteStateExample: St,
2037
+ moveOperation: dt,
2038
+ releaseNewVersion: Ve,
2039
+ reorderChangeLogItems: $e,
2040
+ reorderModuleOperations: mt,
2041
+ reorderModules: Be,
2042
+ reorderOperationErrors: Ze,
2043
+ reorderOperationExamples: ot,
2044
+ reorderStateExamples: ft,
2045
+ setAuthorName: we,
2046
+ setAuthorWebsite: ke,
2047
+ setInitialState: ht,
2048
+ setModelDescription: ye,
2049
+ setModelExtension: je,
2050
+ setModelId: Ce,
2051
+ setModelName: Pe,
2052
+ setModuleDescription: Ge,
2053
+ setModuleName: He,
2054
+ setOperationDescription: pt,
2055
+ setOperationErrorCode: qe,
2056
+ setOperationErrorDescription: Ke,
2057
+ setOperationErrorName: Je,
2058
+ setOperationErrorTemplate: Qe,
2059
+ setOperationName: it,
2060
+ setOperationReducer: ct,
2061
+ setOperationSchema: at,
2062
+ setOperationScope: st,
2063
+ setOperationTemplate: lt,
2064
+ setStateSchema: Et,
2065
+ updateChangeLogItem: ve,
2066
+ updateOperationExample: tt,
2067
+ updateStateExample: gt
2068
+ }, Symbol.toStringTag, { value: "Module" })), bt = me, _t = { ...S, ...Bt }, It = { ...wt, ...ur }, mr = {
2069
+ Document: bt,
2070
+ reducer: f,
2071
+ actions: It,
2072
+ utils: _t,
2073
+ documentModel: Ie
2074
+ }, br = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1918
2075
  __proto__: null,
1919
- Document: lt,
1920
- DocumentModel: le,
1921
- actions: dt,
1922
- documentModel: de,
1923
- module: Wt,
1924
- reducer: g,
1925
- utils: ct,
1926
- z: Mt
2076
+ Document: bt,
2077
+ DocumentModel: me,
2078
+ actions: It,
2079
+ documentModel: Ie,
2080
+ module: mr,
2081
+ reducer: f,
2082
+ utils: _t,
2083
+ validateInitialState: fe,
2084
+ validateModule: T,
2085
+ validateModuleOperation: R,
2086
+ validateModules: _e,
2087
+ validateStateSchemaName: be,
2088
+ z: Kt
1927
2089
  }, Symbol.toStringTag, { value: "Module" }));
1928
2090
  export {
1929
- Yt as D,
1930
- le as a,
1931
- lt as b,
1932
- dt as c,
1933
- de as d,
1934
- Wt as m,
1935
- g as r,
1936
- ct as u,
1937
- Mt as z
2091
+ br as D,
2092
+ me as a,
2093
+ bt as b,
2094
+ It as c,
2095
+ Ie as d,
2096
+ be as e,
2097
+ _e as f,
2098
+ T as g,
2099
+ R as h,
2100
+ mr as m,
2101
+ f as r,
2102
+ _t as u,
2103
+ fe as v,
2104
+ Kt as z
1938
2105
  };