@jfdevelops/react-layout 0.22.0 → 0.23.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 (119) hide show
  1. package/dist/create-config/create-resource-links.cjs +42 -22
  2. package/dist/create-config/create-resource-links.cjs.map +1 -1
  3. package/dist/create-config/create-resource-links.d.cts +25 -2
  4. package/dist/create-config/create-resource-links.d.cts.map +1 -1
  5. package/dist/create-config/create-resource-links.d.mts +25 -2
  6. package/dist/create-config/create-resource-links.d.mts.map +1 -1
  7. package/dist/create-config/create-resource-links.mjs +43 -22
  8. package/dist/create-config/create-resource-links.mjs.map +1 -1
  9. package/dist/create-config/define-layout.cjs +29 -9
  10. package/dist/create-config/define-layout.cjs.map +1 -1
  11. package/dist/create-config/define-layout.d.cts +13 -1
  12. package/dist/create-config/define-layout.d.cts.map +1 -1
  13. package/dist/create-config/define-layout.d.mts +13 -1
  14. package/dist/create-config/define-layout.d.mts.map +1 -1
  15. package/dist/create-config/define-layout.mjs +30 -10
  16. package/dist/create-config/define-layout.mjs.map +1 -1
  17. package/dist/create-config/for-paths/builder.cjs +6 -6
  18. package/dist/create-config/for-paths/builder.cjs.map +1 -1
  19. package/dist/create-config/for-paths/builder.mjs +6 -6
  20. package/dist/create-config/for-paths/builder.mjs.map +1 -1
  21. package/dist/create-config/for-resource.cjs +2 -1
  22. package/dist/create-config/for-resource.cjs.map +1 -1
  23. package/dist/create-config/for-resource.d.cts.map +1 -1
  24. package/dist/create-config/for-resource.d.mts.map +1 -1
  25. package/dist/create-config/for-resource.mjs +2 -1
  26. package/dist/create-config/for-resource.mjs.map +1 -1
  27. package/dist/create-config/for-resources/create-for-resources.cjs +15 -14
  28. package/dist/create-config/for-resources/create-for-resources.cjs.map +1 -1
  29. package/dist/create-config/for-resources/create-for-resources.mjs +15 -14
  30. package/dist/create-config/for-resources/create-for-resources.mjs.map +1 -1
  31. package/dist/create-config/index.d.cts +2 -2
  32. package/dist/create-config/index.d.mts +2 -2
  33. package/dist/errors/invalid-component.cjs +15 -7
  34. package/dist/errors/invalid-component.cjs.map +1 -1
  35. package/dist/errors/invalid-component.d.cts +106 -10
  36. package/dist/errors/invalid-component.d.cts.map +1 -1
  37. package/dist/errors/invalid-component.d.mts +106 -10
  38. package/dist/errors/invalid-component.d.mts.map +1 -1
  39. package/dist/errors/invalid-component.mjs +15 -7
  40. package/dist/errors/invalid-component.mjs.map +1 -1
  41. package/dist/errors/invalid-config.cjs +8 -3
  42. package/dist/errors/invalid-config.cjs.map +1 -1
  43. package/dist/errors/invalid-config.d.cts +96 -6
  44. package/dist/errors/invalid-config.d.cts.map +1 -1
  45. package/dist/errors/invalid-config.d.mts +96 -6
  46. package/dist/errors/invalid-config.d.mts.map +1 -1
  47. package/dist/errors/invalid-config.mjs +8 -3
  48. package/dist/errors/invalid-config.mjs.map +1 -1
  49. package/dist/errors/invalid-path.cjs +11 -5
  50. package/dist/errors/invalid-path.cjs.map +1 -1
  51. package/dist/errors/invalid-path.d.cts +100 -8
  52. package/dist/errors/invalid-path.d.cts.map +1 -1
  53. package/dist/errors/invalid-path.d.mts +100 -8
  54. package/dist/errors/invalid-path.d.mts.map +1 -1
  55. package/dist/errors/invalid-path.mjs +11 -5
  56. package/dist/errors/invalid-path.mjs.map +1 -1
  57. package/dist/errors/invalid-resource.cjs +11 -5
  58. package/dist/errors/invalid-resource.cjs.map +1 -1
  59. package/dist/errors/invalid-resource.d.cts +100 -8
  60. package/dist/errors/invalid-resource.d.cts.map +1 -1
  61. package/dist/errors/invalid-resource.d.mts +100 -8
  62. package/dist/errors/invalid-resource.d.mts.map +1 -1
  63. package/dist/errors/invalid-resource.mjs +11 -5
  64. package/dist/errors/invalid-resource.mjs.map +1 -1
  65. package/dist/errors/invalid-sub-resource.cjs +12 -5
  66. package/dist/errors/invalid-sub-resource.cjs.map +1 -1
  67. package/dist/errors/invalid-sub-resource.d.cts +103 -9
  68. package/dist/errors/invalid-sub-resource.d.cts.map +1 -1
  69. package/dist/errors/invalid-sub-resource.d.mts +103 -9
  70. package/dist/errors/invalid-sub-resource.d.mts.map +1 -1
  71. package/dist/errors/invalid-sub-resource.mjs +12 -5
  72. package/dist/errors/invalid-sub-resource.mjs.map +1 -1
  73. package/dist/errors/layout-configuration-error.cjs +17 -0
  74. package/dist/errors/layout-configuration-error.cjs.map +1 -0
  75. package/dist/errors/layout-configuration-error.d.cts +99 -0
  76. package/dist/errors/layout-configuration-error.d.cts.map +1 -0
  77. package/dist/errors/layout-configuration-error.d.mts +99 -0
  78. package/dist/errors/layout-configuration-error.d.mts.map +1 -0
  79. package/dist/errors/layout-configuration-error.mjs +17 -0
  80. package/dist/errors/layout-configuration-error.mjs.map +1 -0
  81. package/dist/errors/missing-path-variable.cjs +12 -5
  82. package/dist/errors/missing-path-variable.cjs.map +1 -1
  83. package/dist/errors/missing-path-variable.d.cts +99 -7
  84. package/dist/errors/missing-path-variable.d.cts.map +1 -1
  85. package/dist/errors/missing-path-variable.d.mts +99 -7
  86. package/dist/errors/missing-path-variable.d.mts.map +1 -1
  87. package/dist/errors/missing-path-variable.mjs +12 -5
  88. package/dist/errors/missing-path-variable.mjs.map +1 -1
  89. package/dist/errors/missing-resource-provider.cjs +12 -0
  90. package/dist/errors/missing-resource-provider.cjs.map +1 -0
  91. package/dist/errors/missing-resource-provider.d.cts +91 -0
  92. package/dist/errors/missing-resource-provider.d.cts.map +1 -0
  93. package/dist/errors/missing-resource-provider.d.mts +91 -0
  94. package/dist/errors/missing-resource-provider.d.mts.map +1 -0
  95. package/dist/errors/missing-resource-provider.mjs +12 -0
  96. package/dist/errors/missing-resource-provider.mjs.map +1 -0
  97. package/dist/errors/react-layout-error.cjs +38 -43
  98. package/dist/errors/react-layout-error.cjs.map +1 -1
  99. package/dist/errors/react-layout-error.d.cts +81 -38
  100. package/dist/errors/react-layout-error.d.cts.map +1 -1
  101. package/dist/errors/react-layout-error.d.mts +81 -38
  102. package/dist/errors/react-layout-error.d.mts.map +1 -1
  103. package/dist/errors/react-layout-error.mjs +39 -43
  104. package/dist/errors/react-layout-error.mjs.map +1 -1
  105. package/dist/index.cjs +6 -3
  106. package/dist/index.d.cts +6 -3
  107. package/dist/index.d.mts +6 -3
  108. package/dist/index.mjs +6 -4
  109. package/dist/node_modules/.pnpm/@jfdevelops_create-error@0.2.0_patch_hash_afc71b16c3f866f54416d30f467784ddc31736feb04f281a5fc4772ea422f4a9/node_modules/@jfdevelops/create-error/dist/types.d.cts +107 -0
  110. package/dist/node_modules/.pnpm/@jfdevelops_create-error@0.2.0_patch_hash_afc71b16c3f866f54416d30f467784ddc31736feb04f281a5fc4772ea422f4a9/node_modules/@jfdevelops/create-error/dist/types.d.cts.map +1 -0
  111. package/dist/node_modules/.pnpm/@jfdevelops_create-error@0.2.0_patch_hash_afc71b16c3f866f54416d30f467784ddc31736feb04f281a5fc4772ea422f4a9/node_modules/@jfdevelops/create-error/dist/types.d.mts +107 -0
  112. package/dist/node_modules/.pnpm/@jfdevelops_create-error@0.2.0_patch_hash_afc71b16c3f866f54416d30f467784ddc31736feb04f281a5fc4772ea422f4a9/node_modules/@jfdevelops/create-error/dist/types.d.mts.map +1 -0
  113. package/dist/resource.cjs +2 -1
  114. package/dist/resource.cjs.map +1 -1
  115. package/dist/resource.d.cts.map +1 -1
  116. package/dist/resource.d.mts.map +1 -1
  117. package/dist/resource.mjs +3 -1
  118. package/dist/resource.mjs.map +1 -1
  119. package/package.json +8 -6
@@ -0,0 +1 @@
1
+ {"version":3,"file":"layout-configuration-error.mjs","names":[],"sources":["../../src/errors/layout-configuration-error.ts"],"sourcesContent":["import { type } from 'arktype';\nimport { createReactLayoutError } from './react-layout-error';\n\nconst context = type('string').pipe((message) => ({\n message,\n scope: 'configuration',\n}));\n\nexport type LayoutConfigurationErrorContext = typeof context.infer;\n\n/** Thrown when a layout or resource configuration cannot be used. */\nexport class LayoutConfigurationError extends createReactLayoutError({\n code: 'layoutConfiguration',\n scope: 'configuration',\n})\n .defineContext(context)\n .implement(({ context }) => context.message) {}\n"],"mappings":";;;;AAGA,MAAM,UAAU,KAAK,QAAQ,EAAE,MAAM,aAAa;CAChD;CACA,OAAO;AACT,EAAE;;AAKF,IAAa,2BAAb,cAA8C,uBAAuB;CACnE,MAAM;CACN,OAAO;AACT,CAAC,EACE,cAAc,OAAO,EACrB,WAAW,EAAE,cAAc,QAAQ,OAAO,EAAE,CAAC"}
@@ -1,16 +1,23 @@
1
1
  const require_react_layout_error = require('./react-layout-error.cjs');
2
+ let arktype = require("arktype");
2
3
 
3
4
  //#region src/errors/missing-path-variable.ts
4
- const scope = "pathVariable";
5
+ const context = (0, arktype.type)({
6
+ path: "string",
7
+ "providedVariables?": "string[]",
8
+ scope: "'pathVariable'",
9
+ variable: "string"
10
+ });
5
11
  /** Thrown when a required layout path variable was not provided. */
6
12
  var MissingPathVariableError = class extends require_react_layout_error.createReactLayoutError({
7
13
  code: "missingPathVariable",
8
- scope
9
- })((scope, { variable, path, providedVariables }) => {
10
- return `[${scope}]: Path "${path}" requires $${variable}.${providedVariables && providedVariables.length > 0 ? ` Provided variables were ${new Intl.ListFormat("en", {
14
+ scope: "pathVariable"
15
+ }).defineContext(context).implement(({ context, scope }) => {
16
+ const providedMessage = context.providedVariables && context.providedVariables.length > 0 ? ` Provided variables were ${new Intl.ListFormat("en", {
11
17
  style: "long",
12
18
  type: "disjunction"
13
- }).format(providedVariables.map((provided) => `$${provided}`))}.` : " No path variables were provided."}`;
19
+ }).format(context.providedVariables.map((provided) => `$${provided}`))}.` : " No path variables were provided.";
20
+ return `[${scope}]: Path "${context.path}" requires $${context.variable}.${providedMessage}`;
14
21
  }) {};
15
22
 
16
23
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"missing-path-variable.cjs","names":["createReactLayoutError"],"sources":["../../src/errors/missing-path-variable.ts"],"sourcesContent":["import {\n createReactLayoutError,\n type ReactLayoutErrorContext,\n} from './react-layout-error';\n\nconst scope = 'pathVariable' as const;\n\n/** Context describing a variable required to resolve a layout path. */\nexport interface MissingPathVariableContext\n extends ReactLayoutErrorContext<typeof scope> {\n variable: string;\n path: string;\n providedVariables?: readonly string[];\n}\n\n/** Thrown when a required layout path variable was not provided. */\nexport class MissingPathVariableError extends createReactLayoutError(\n { code: 'missingPathVariable', scope },\n)(\n (\n scope,\n { variable, path, providedVariables }: MissingPathVariableContext,\n ) => {\n const providedMessage =\n providedVariables && providedVariables.length > 0\n ? ` Provided variables were ${new Intl.ListFormat('en', {\n style: 'long',\n type: 'disjunction',\n }).format(providedVariables.map((provided) => `$${provided}`))}.`\n : ' No path variables were provided.';\n\n return `[${scope}]: Path \"${path}\" requires $${variable}.${providedMessage}`;\n },\n) {}\n"],"mappings":";;;AAKA,MAAM,QAAQ;;AAWd,IAAa,2BAAb,cAA8CA,kDAC5C;CAAE,MAAM;CAAuB;AAAM,CACvC,GAEI,OACA,EAAE,UAAU,MAAM,wBACf;CASH,OAAO,IAAI,MAAM,WAAW,KAAK,cAAc,SAAS,GAPtD,qBAAqB,kBAAkB,SAAS,IAC5C,4BAA4B,IAAI,KAAK,WAAW,MAAM;EACpD,OAAO;EACP,MAAM;CACR,CAAC,EAAE,OAAO,kBAAkB,KAAK,aAAa,IAAI,UAAU,CAAC,EAAE,KAC/D;AAGR,CACF,EAAE,CAAC"}
1
+ {"version":3,"file":"missing-path-variable.cjs","names":["createReactLayoutError"],"sources":["../../src/errors/missing-path-variable.ts"],"sourcesContent":["import { type } from 'arktype';\nimport { createReactLayoutError } from './react-layout-error';\n\nconst context = type({\n path: 'string',\n 'providedVariables?': 'string[]',\n scope: \"'pathVariable'\",\n variable: 'string',\n});\n\nexport type MissingPathVariableContext = typeof context.infer;\n\n/** Thrown when a required layout path variable was not provided. */\nexport class MissingPathVariableError extends createReactLayoutError({\n code: 'missingPathVariable',\n scope: 'pathVariable',\n})\n .defineContext(context)\n .implement(({ context, scope }) => {\n const providedMessage =\n context.providedVariables && context.providedVariables.length > 0\n ? ` Provided variables were ${new Intl.ListFormat('en', {\n style: 'long',\n type: 'disjunction',\n }).format(context.providedVariables.map((provided) => `$${provided}`))}.`\n : ' No path variables were provided.';\n\n return `[${scope}]: Path \"${context.path}\" requires $${context.variable}.${providedMessage}`;\n }) {}\n"],"mappings":";;;;AAGA,MAAM,4BAAe;CACnB,MAAM;CACN,sBAAsB;CACtB,OAAO;CACP,UAAU;AACZ,CAAC;;AAKD,IAAa,2BAAb,cAA8CA,kDAAuB;CACnE,MAAM;CACN,OAAO;AACT,CAAC,EACE,cAAc,OAAO,EACrB,WAAW,EAAE,SAAS,YAAY;CACjC,MAAM,kBACJ,QAAQ,qBAAqB,QAAQ,kBAAkB,SAAS,IAC5D,4BAA4B,IAAI,KAAK,WAAW,MAAM;EACpD,OAAO;EACP,MAAM;CACR,CAAC,EAAE,OAAO,QAAQ,kBAAkB,KAAK,aAAa,IAAI,UAAU,CAAC,EAAE,KACvE;CAEN,OAAO,IAAI,MAAM,WAAW,QAAQ,KAAK,cAAc,QAAQ,SAAS,GAAG;AAC7E,CAAC,EAAE,CAAC"}
@@ -1,14 +1,106 @@
1
- import { CreatedReactLayoutError, ReactLayoutErrorContext } from "./react-layout-error.cjs";
1
+ import { ImplementedErrorClass } from "../node_modules/.pnpm/@jfdevelops_create-error@0.2.0_patch_hash_afc71b16c3f866f54416d30f467784ddc31736feb04f281a5fc4772ea422f4a9/node_modules/@jfdevelops/create-error/dist/types.cjs";
2
2
 
3
3
  //#region src/errors/missing-path-variable.d.ts
4
- declare const scope: "pathVariable";
5
- /** Context describing a variable required to resolve a layout path. */
6
- interface MissingPathVariableContext extends ReactLayoutErrorContext<typeof scope> {
4
+ declare const context: import("arktype/internal/variants/object.ts").ObjectType<{
5
+ path: string;
6
+ scope: "pathVariable";
7
+ variable: string;
8
+ providedVariables?: string[] | undefined;
9
+ }, {}>;
10
+ type MissingPathVariableContext = typeof context.infer;
11
+ declare const MissingPathVariableError_base: ImplementedErrorClass<{
12
+ definition: import("arktype/internal/variants/object.ts").ObjectType<{
13
+ code: string;
14
+ scope: string;
15
+ }, {}>;
16
+ } & {
17
+ data: {
18
+ readonly property: "context";
19
+ readonly resolve: ({
20
+ definition,
21
+ input
22
+ }: import("@jfdevelops/create-error/types").ResolveContext<import("arktype/internal/variants/object.ts").ObjectType<{
23
+ code: string;
24
+ scope: string;
25
+ }, {}>>) => {
26
+ scope: string & import("@jfdevelops/create-error/types").TypeSlot<"definition", "scope">;
27
+ };
28
+ };
29
+ message: ({
30
+ definition,
31
+ data,
32
+ implementation
33
+ }: import("@jfdevelops/create-error/types").BlueprintContext<import("arktype/internal/variants/object.ts").ObjectType<{
34
+ code: string;
35
+ scope: string;
36
+ }, {}>>) => string & import("@jfdevelops/create-error/types").TypeSlot<"implementationArgument", {
37
+ readonly context: import("@jfdevelops/create-error/types").DataSlot;
38
+ readonly scope: string & import("@jfdevelops/create-error/types").TypeSlot<"definition", "scope">;
39
+ }>;
40
+ } & {
41
+ properties(context: import("@jfdevelops/create-error/types").BlueprintContext<import("arktype/internal/variants/object.ts").ObjectType<{
42
+ code: string;
43
+ scope: string;
44
+ }, {}>>): {
45
+ readonly code: string & import("@jfdevelops/create-error/types").TypeSlot<"definition", "code">;
46
+ readonly scope: string & import("@jfdevelops/create-error/types").TypeSlot<"definition", "scope">;
47
+ readonly renderMessage: (renderer?: (scope: string & import("@jfdevelops/create-error/types").TypeSlot<"definition", "scope">, context: import("@jfdevelops/create-error/types").DataSlot) => string) => string;
48
+ };
49
+ } & {
50
+ toJSON(error: import("@jfdevelops/create-error/types").BlueprintErrorTemplate<NoInfer<{
51
+ data: {
52
+ readonly property: "context";
53
+ readonly resolve: ({
54
+ definition,
55
+ input
56
+ }: import("@jfdevelops/create-error/types").ResolveContext<import("arktype/internal/variants/object.ts").ObjectType<{
57
+ code: string;
58
+ scope: string;
59
+ }, {}>>) => {
60
+ scope: string & import("@jfdevelops/create-error/types").TypeSlot<"definition", "scope">;
61
+ };
62
+ };
63
+ message: ({
64
+ definition,
65
+ data,
66
+ implementation
67
+ }: import("@jfdevelops/create-error/types").BlueprintContext<import("arktype/internal/variants/object.ts").ObjectType<{
68
+ code: string;
69
+ scope: string;
70
+ }, {}>>) => string & import("@jfdevelops/create-error/types").TypeSlot<"implementationArgument", {
71
+ readonly context: import("@jfdevelops/create-error/types").DataSlot;
72
+ readonly scope: string & import("@jfdevelops/create-error/types").TypeSlot<"definition", "scope">;
73
+ }>;
74
+ } & {
75
+ properties(context: import("@jfdevelops/create-error/types").BlueprintContext<import("arktype/internal/variants/object.ts").ObjectType<{
76
+ code: string;
77
+ scope: string;
78
+ }, {}>>): {
79
+ readonly code: string & import("@jfdevelops/create-error/types").TypeSlot<"definition", "code">;
80
+ readonly scope: string & import("@jfdevelops/create-error/types").TypeSlot<"definition", "scope">;
81
+ readonly renderMessage: (renderer?: (scope: string & import("@jfdevelops/create-error/types").TypeSlot<"definition", "scope">, context: import("@jfdevelops/create-error/types").DataSlot) => string) => string;
82
+ };
83
+ }>>): {
84
+ name: string;
85
+ code: string & import("@jfdevelops/create-error/types").TypeSlot<"definition", "code">;
86
+ scope: string & import("@jfdevelops/create-error/types").TypeSlot<"definition", "scope">;
87
+ message: string;
88
+ context: unknown;
89
+ };
90
+ }, {
91
+ readonly code: string;
92
+ readonly scope: string;
93
+ }, {
94
+ path: string;
95
+ scope: "pathVariable";
7
96
  variable: string;
97
+ providedVariables?: string[] | undefined;
98
+ }, {
8
99
  path: string;
9
- providedVariables?: readonly string[];
10
- }
11
- declare const MissingPathVariableError_base: CreatedReactLayoutError<"missingPathVariable", "pathVariable", MissingPathVariableContext>;
100
+ scope: "pathVariable";
101
+ variable: string;
102
+ providedVariables?: string[] | undefined;
103
+ }>;
12
104
  /** Thrown when a required layout path variable was not provided. */
13
105
  declare class MissingPathVariableError extends MissingPathVariableError_base {}
14
106
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"missing-path-variable.d.cts","names":[],"sources":["../../src/errors/missing-path-variable.ts"],"mappings":";;;cAKM,KAAA;;UAGW,0BAAA,SACP,uBAAuB,QAAQ,KAAA;EACvC,QAAA;EACA,IAAA;EACA,iBAAA;AAAA;AAAA,cACD,6BAAA;;cAGY,wBAAA,SAAiC,6BAiB7C"}
1
+ {"version":3,"file":"missing-path-variable.d.cts","names":[],"sources":["../../src/errors/missing-path-variable.ts"],"mappings":";;;cAGM,OAAA,gDAAO,UAAA;;;;;;KAOD,0BAAA,UAAoC,OAAA,CAAQ,KAAK;AAAA,cAAC,6BAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAGjD,wBAAA,SAAiC,6BAe1C"}
@@ -1,14 +1,106 @@
1
- import { CreatedReactLayoutError, ReactLayoutErrorContext } from "./react-layout-error.mjs";
1
+ import { ImplementedErrorClass } from "../node_modules/.pnpm/@jfdevelops_create-error@0.2.0_patch_hash_afc71b16c3f866f54416d30f467784ddc31736feb04f281a5fc4772ea422f4a9/node_modules/@jfdevelops/create-error/dist/types.mjs";
2
2
 
3
3
  //#region src/errors/missing-path-variable.d.ts
4
- declare const scope: "pathVariable";
5
- /** Context describing a variable required to resolve a layout path. */
6
- interface MissingPathVariableContext extends ReactLayoutErrorContext<typeof scope> {
4
+ declare const context: import("arktype/internal/variants/object.ts").ObjectType<{
5
+ path: string;
6
+ scope: "pathVariable";
7
+ variable: string;
8
+ providedVariables?: string[] | undefined;
9
+ }, {}>;
10
+ type MissingPathVariableContext = typeof context.infer;
11
+ declare const MissingPathVariableError_base: ImplementedErrorClass<{
12
+ definition: import("arktype/internal/variants/object.ts").ObjectType<{
13
+ code: string;
14
+ scope: string;
15
+ }, {}>;
16
+ } & {
17
+ data: {
18
+ readonly property: "context";
19
+ readonly resolve: ({
20
+ definition,
21
+ input
22
+ }: import("@jfdevelops/create-error/types").ResolveContext<import("arktype/internal/variants/object.ts").ObjectType<{
23
+ code: string;
24
+ scope: string;
25
+ }, {}>>) => {
26
+ scope: string & import("@jfdevelops/create-error/types").TypeSlot<"definition", "scope">;
27
+ };
28
+ };
29
+ message: ({
30
+ definition,
31
+ data,
32
+ implementation
33
+ }: import("@jfdevelops/create-error/types").BlueprintContext<import("arktype/internal/variants/object.ts").ObjectType<{
34
+ code: string;
35
+ scope: string;
36
+ }, {}>>) => string & import("@jfdevelops/create-error/types").TypeSlot<"implementationArgument", {
37
+ readonly context: import("@jfdevelops/create-error/types").DataSlot;
38
+ readonly scope: string & import("@jfdevelops/create-error/types").TypeSlot<"definition", "scope">;
39
+ }>;
40
+ } & {
41
+ properties(context: import("@jfdevelops/create-error/types").BlueprintContext<import("arktype/internal/variants/object.ts").ObjectType<{
42
+ code: string;
43
+ scope: string;
44
+ }, {}>>): {
45
+ readonly code: string & import("@jfdevelops/create-error/types").TypeSlot<"definition", "code">;
46
+ readonly scope: string & import("@jfdevelops/create-error/types").TypeSlot<"definition", "scope">;
47
+ readonly renderMessage: (renderer?: (scope: string & import("@jfdevelops/create-error/types").TypeSlot<"definition", "scope">, context: import("@jfdevelops/create-error/types").DataSlot) => string) => string;
48
+ };
49
+ } & {
50
+ toJSON(error: import("@jfdevelops/create-error/types").BlueprintErrorTemplate<NoInfer<{
51
+ data: {
52
+ readonly property: "context";
53
+ readonly resolve: ({
54
+ definition,
55
+ input
56
+ }: import("@jfdevelops/create-error/types").ResolveContext<import("arktype/internal/variants/object.ts").ObjectType<{
57
+ code: string;
58
+ scope: string;
59
+ }, {}>>) => {
60
+ scope: string & import("@jfdevelops/create-error/types").TypeSlot<"definition", "scope">;
61
+ };
62
+ };
63
+ message: ({
64
+ definition,
65
+ data,
66
+ implementation
67
+ }: import("@jfdevelops/create-error/types").BlueprintContext<import("arktype/internal/variants/object.ts").ObjectType<{
68
+ code: string;
69
+ scope: string;
70
+ }, {}>>) => string & import("@jfdevelops/create-error/types").TypeSlot<"implementationArgument", {
71
+ readonly context: import("@jfdevelops/create-error/types").DataSlot;
72
+ readonly scope: string & import("@jfdevelops/create-error/types").TypeSlot<"definition", "scope">;
73
+ }>;
74
+ } & {
75
+ properties(context: import("@jfdevelops/create-error/types").BlueprintContext<import("arktype/internal/variants/object.ts").ObjectType<{
76
+ code: string;
77
+ scope: string;
78
+ }, {}>>): {
79
+ readonly code: string & import("@jfdevelops/create-error/types").TypeSlot<"definition", "code">;
80
+ readonly scope: string & import("@jfdevelops/create-error/types").TypeSlot<"definition", "scope">;
81
+ readonly renderMessage: (renderer?: (scope: string & import("@jfdevelops/create-error/types").TypeSlot<"definition", "scope">, context: import("@jfdevelops/create-error/types").DataSlot) => string) => string;
82
+ };
83
+ }>>): {
84
+ name: string;
85
+ code: string & import("@jfdevelops/create-error/types").TypeSlot<"definition", "code">;
86
+ scope: string & import("@jfdevelops/create-error/types").TypeSlot<"definition", "scope">;
87
+ message: string;
88
+ context: unknown;
89
+ };
90
+ }, {
91
+ readonly code: string;
92
+ readonly scope: string;
93
+ }, {
94
+ path: string;
95
+ scope: "pathVariable";
7
96
  variable: string;
97
+ providedVariables?: string[] | undefined;
98
+ }, {
8
99
  path: string;
9
- providedVariables?: readonly string[];
10
- }
11
- declare const MissingPathVariableError_base: CreatedReactLayoutError<"missingPathVariable", "pathVariable", MissingPathVariableContext>;
100
+ scope: "pathVariable";
101
+ variable: string;
102
+ providedVariables?: string[] | undefined;
103
+ }>;
12
104
  /** Thrown when a required layout path variable was not provided. */
13
105
  declare class MissingPathVariableError extends MissingPathVariableError_base {}
14
106
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"missing-path-variable.d.mts","names":[],"sources":["../../src/errors/missing-path-variable.ts"],"mappings":";;;cAKM,KAAA;;UAGW,0BAAA,SACP,uBAAuB,QAAQ,KAAA;EACvC,QAAA;EACA,IAAA;EACA,iBAAA;AAAA;AAAA,cACD,6BAAA;;cAGY,wBAAA,SAAiC,6BAiB7C"}
1
+ {"version":3,"file":"missing-path-variable.d.mts","names":[],"sources":["../../src/errors/missing-path-variable.ts"],"mappings":";;;cAGM,OAAA,gDAAO,UAAA;;;;;;KAOD,0BAAA,UAAoC,OAAA,CAAQ,KAAK;AAAA,cAAC,6BAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAGjD,wBAAA,SAAiC,6BAe1C"}
@@ -1,16 +1,23 @@
1
1
  import { createReactLayoutError } from "./react-layout-error.mjs";
2
+ import { type } from "arktype";
2
3
 
3
4
  //#region src/errors/missing-path-variable.ts
4
- const scope = "pathVariable";
5
+ const context = type({
6
+ path: "string",
7
+ "providedVariables?": "string[]",
8
+ scope: "'pathVariable'",
9
+ variable: "string"
10
+ });
5
11
  /** Thrown when a required layout path variable was not provided. */
6
12
  var MissingPathVariableError = class extends createReactLayoutError({
7
13
  code: "missingPathVariable",
8
- scope
9
- })((scope, { variable, path, providedVariables }) => {
10
- return `[${scope}]: Path "${path}" requires $${variable}.${providedVariables && providedVariables.length > 0 ? ` Provided variables were ${new Intl.ListFormat("en", {
14
+ scope: "pathVariable"
15
+ }).defineContext(context).implement(({ context, scope }) => {
16
+ const providedMessage = context.providedVariables && context.providedVariables.length > 0 ? ` Provided variables were ${new Intl.ListFormat("en", {
11
17
  style: "long",
12
18
  type: "disjunction"
13
- }).format(providedVariables.map((provided) => `$${provided}`))}.` : " No path variables were provided."}`;
19
+ }).format(context.providedVariables.map((provided) => `$${provided}`))}.` : " No path variables were provided.";
20
+ return `[${scope}]: Path "${context.path}" requires $${context.variable}.${providedMessage}`;
14
21
  }) {};
15
22
 
16
23
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"missing-path-variable.mjs","names":[],"sources":["../../src/errors/missing-path-variable.ts"],"sourcesContent":["import {\n createReactLayoutError,\n type ReactLayoutErrorContext,\n} from './react-layout-error';\n\nconst scope = 'pathVariable' as const;\n\n/** Context describing a variable required to resolve a layout path. */\nexport interface MissingPathVariableContext\n extends ReactLayoutErrorContext<typeof scope> {\n variable: string;\n path: string;\n providedVariables?: readonly string[];\n}\n\n/** Thrown when a required layout path variable was not provided. */\nexport class MissingPathVariableError extends createReactLayoutError(\n { code: 'missingPathVariable', scope },\n)(\n (\n scope,\n { variable, path, providedVariables }: MissingPathVariableContext,\n ) => {\n const providedMessage =\n providedVariables && providedVariables.length > 0\n ? ` Provided variables were ${new Intl.ListFormat('en', {\n style: 'long',\n type: 'disjunction',\n }).format(providedVariables.map((provided) => `$${provided}`))}.`\n : ' No path variables were provided.';\n\n return `[${scope}]: Path \"${path}\" requires $${variable}.${providedMessage}`;\n },\n) {}\n"],"mappings":";;;AAKA,MAAM,QAAQ;;AAWd,IAAa,2BAAb,cAA8C,uBAC5C;CAAE,MAAM;CAAuB;AAAM,CACvC,GAEI,OACA,EAAE,UAAU,MAAM,wBACf;CASH,OAAO,IAAI,MAAM,WAAW,KAAK,cAAc,SAAS,GAPtD,qBAAqB,kBAAkB,SAAS,IAC5C,4BAA4B,IAAI,KAAK,WAAW,MAAM;EACpD,OAAO;EACP,MAAM;CACR,CAAC,EAAE,OAAO,kBAAkB,KAAK,aAAa,IAAI,UAAU,CAAC,EAAE,KAC/D;AAGR,CACF,EAAE,CAAC"}
1
+ {"version":3,"file":"missing-path-variable.mjs","names":[],"sources":["../../src/errors/missing-path-variable.ts"],"sourcesContent":["import { type } from 'arktype';\nimport { createReactLayoutError } from './react-layout-error';\n\nconst context = type({\n path: 'string',\n 'providedVariables?': 'string[]',\n scope: \"'pathVariable'\",\n variable: 'string',\n});\n\nexport type MissingPathVariableContext = typeof context.infer;\n\n/** Thrown when a required layout path variable was not provided. */\nexport class MissingPathVariableError extends createReactLayoutError({\n code: 'missingPathVariable',\n scope: 'pathVariable',\n})\n .defineContext(context)\n .implement(({ context, scope }) => {\n const providedMessage =\n context.providedVariables && context.providedVariables.length > 0\n ? ` Provided variables were ${new Intl.ListFormat('en', {\n style: 'long',\n type: 'disjunction',\n }).format(context.providedVariables.map((provided) => `$${provided}`))}.`\n : ' No path variables were provided.';\n\n return `[${scope}]: Path \"${context.path}\" requires $${context.variable}.${providedMessage}`;\n }) {}\n"],"mappings":";;;;AAGA,MAAM,UAAU,KAAK;CACnB,MAAM;CACN,sBAAsB;CACtB,OAAO;CACP,UAAU;AACZ,CAAC;;AAKD,IAAa,2BAAb,cAA8C,uBAAuB;CACnE,MAAM;CACN,OAAO;AACT,CAAC,EACE,cAAc,OAAO,EACrB,WAAW,EAAE,SAAS,YAAY;CACjC,MAAM,kBACJ,QAAQ,qBAAqB,QAAQ,kBAAkB,SAAS,IAC5D,4BAA4B,IAAI,KAAK,WAAW,MAAM;EACpD,OAAO;EACP,MAAM;CACR,CAAC,EAAE,OAAO,QAAQ,kBAAkB,KAAK,aAAa,IAAI,UAAU,CAAC,EAAE,KACvE;CAEN,OAAO,IAAI,MAAM,WAAW,QAAQ,KAAK,cAAc,QAAQ,SAAS,GAAG;AAC7E,CAAC,EAAE,CAAC"}
@@ -0,0 +1,12 @@
1
+ const require_react_layout_error = require('./react-layout-error.cjs');
2
+
3
+ //#region src/errors/missing-resource-provider.ts
4
+ /** Thrown when `useResource` is called outside its resource provider. */
5
+ var MissingResourceProviderError = class extends require_react_layout_error.createReactLayoutError({
6
+ code: "missingResourceProvider",
7
+ scope: "resourceContext"
8
+ }).implement(({ scope }) => `[${scope}]: useResource must be called within its ResourceProvider.`) {};
9
+
10
+ //#endregion
11
+ exports.MissingResourceProviderError = MissingResourceProviderError;
12
+ //# sourceMappingURL=missing-resource-provider.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"missing-resource-provider.cjs","names":["createReactLayoutError"],"sources":["../../src/errors/missing-resource-provider.ts"],"sourcesContent":["import { createReactLayoutError } from './react-layout-error';\n\n/** Thrown when `useResource` is called outside its resource provider. */\nexport class MissingResourceProviderError extends createReactLayoutError({\n code: 'missingResourceProvider',\n scope: 'resourceContext',\n}).implement(\n ({ scope }) =>\n `[${scope}]: useResource must be called within its ResourceProvider.`,\n) {}\n"],"mappings":";;;;AAGA,IAAa,+BAAb,cAAkDA,kDAAuB;CACvE,MAAM;CACN,OAAO;AACT,CAAC,EAAE,WACA,EAAE,YACD,IAAI,MAAM,2DACd,EAAE,CAAC"}
@@ -0,0 +1,91 @@
1
+ import { ImplementedErrorClass } from "../node_modules/.pnpm/@jfdevelops_create-error@0.2.0_patch_hash_afc71b16c3f866f54416d30f467784ddc31736feb04f281a5fc4772ea422f4a9/node_modules/@jfdevelops/create-error/dist/types.cjs";
2
+
3
+ //#region src/errors/missing-resource-provider.d.ts
4
+ declare const MissingResourceProviderError_base: ImplementedErrorClass<{
5
+ definition: import("arktype/internal/variants/object.ts").ObjectType<{
6
+ code: string;
7
+ scope: string;
8
+ }, {}>;
9
+ } & {
10
+ data: {
11
+ readonly property: "context";
12
+ readonly resolve: ({
13
+ definition,
14
+ input
15
+ }: import("@jfdevelops/create-error/types").ResolveContext<import("arktype/internal/variants/object.ts").ObjectType<{
16
+ code: string;
17
+ scope: string;
18
+ }, {}>>) => {
19
+ scope: string & import("@jfdevelops/create-error/types").TypeSlot<"definition", "scope">;
20
+ };
21
+ };
22
+ message: ({
23
+ definition,
24
+ data,
25
+ implementation
26
+ }: import("@jfdevelops/create-error/types").BlueprintContext<import("arktype/internal/variants/object.ts").ObjectType<{
27
+ code: string;
28
+ scope: string;
29
+ }, {}>>) => string & import("@jfdevelops/create-error/types").TypeSlot<"implementationArgument", {
30
+ readonly context: import("@jfdevelops/create-error/types").DataSlot;
31
+ readonly scope: string & import("@jfdevelops/create-error/types").TypeSlot<"definition", "scope">;
32
+ }>;
33
+ } & {
34
+ properties(context: import("@jfdevelops/create-error/types").BlueprintContext<import("arktype/internal/variants/object.ts").ObjectType<{
35
+ code: string;
36
+ scope: string;
37
+ }, {}>>): {
38
+ readonly code: string & import("@jfdevelops/create-error/types").TypeSlot<"definition", "code">;
39
+ readonly scope: string & import("@jfdevelops/create-error/types").TypeSlot<"definition", "scope">;
40
+ readonly renderMessage: (renderer?: (scope: string & import("@jfdevelops/create-error/types").TypeSlot<"definition", "scope">, context: import("@jfdevelops/create-error/types").DataSlot) => string) => string;
41
+ };
42
+ } & {
43
+ toJSON(error: import("@jfdevelops/create-error/types").BlueprintErrorTemplate<NoInfer<{
44
+ data: {
45
+ readonly property: "context";
46
+ readonly resolve: ({
47
+ definition,
48
+ input
49
+ }: import("@jfdevelops/create-error/types").ResolveContext<import("arktype/internal/variants/object.ts").ObjectType<{
50
+ code: string;
51
+ scope: string;
52
+ }, {}>>) => {
53
+ scope: string & import("@jfdevelops/create-error/types").TypeSlot<"definition", "scope">;
54
+ };
55
+ };
56
+ message: ({
57
+ definition,
58
+ data,
59
+ implementation
60
+ }: import("@jfdevelops/create-error/types").BlueprintContext<import("arktype/internal/variants/object.ts").ObjectType<{
61
+ code: string;
62
+ scope: string;
63
+ }, {}>>) => string & import("@jfdevelops/create-error/types").TypeSlot<"implementationArgument", {
64
+ readonly context: import("@jfdevelops/create-error/types").DataSlot;
65
+ readonly scope: string & import("@jfdevelops/create-error/types").TypeSlot<"definition", "scope">;
66
+ }>;
67
+ } & {
68
+ properties(context: import("@jfdevelops/create-error/types").BlueprintContext<import("arktype/internal/variants/object.ts").ObjectType<{
69
+ code: string;
70
+ scope: string;
71
+ }, {}>>): {
72
+ readonly code: string & import("@jfdevelops/create-error/types").TypeSlot<"definition", "code">;
73
+ readonly scope: string & import("@jfdevelops/create-error/types").TypeSlot<"definition", "scope">;
74
+ readonly renderMessage: (renderer?: (scope: string & import("@jfdevelops/create-error/types").TypeSlot<"definition", "scope">, context: import("@jfdevelops/create-error/types").DataSlot) => string) => string;
75
+ };
76
+ }>>): {
77
+ name: string;
78
+ code: string & import("@jfdevelops/create-error/types").TypeSlot<"definition", "code">;
79
+ scope: string & import("@jfdevelops/create-error/types").TypeSlot<"definition", "scope">;
80
+ message: string;
81
+ context: unknown;
82
+ };
83
+ }, {
84
+ readonly code: string;
85
+ readonly scope: string;
86
+ }, unknown, unknown>;
87
+ /** Thrown when `useResource` is called outside its resource provider. */
88
+ declare class MissingResourceProviderError extends MissingResourceProviderError_base {}
89
+ //#endregion
90
+ export { MissingResourceProviderError };
91
+ //# sourceMappingURL=missing-resource-provider.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"missing-resource-provider.d.cts","names":[],"sources":["../../src/errors/missing-resource-provider.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAGa,4BAAA,SAAqC,iCAMjD"}
@@ -0,0 +1,91 @@
1
+ import { ImplementedErrorClass } from "../node_modules/.pnpm/@jfdevelops_create-error@0.2.0_patch_hash_afc71b16c3f866f54416d30f467784ddc31736feb04f281a5fc4772ea422f4a9/node_modules/@jfdevelops/create-error/dist/types.mjs";
2
+
3
+ //#region src/errors/missing-resource-provider.d.ts
4
+ declare const MissingResourceProviderError_base: ImplementedErrorClass<{
5
+ definition: import("arktype/internal/variants/object.ts").ObjectType<{
6
+ code: string;
7
+ scope: string;
8
+ }, {}>;
9
+ } & {
10
+ data: {
11
+ readonly property: "context";
12
+ readonly resolve: ({
13
+ definition,
14
+ input
15
+ }: import("@jfdevelops/create-error/types").ResolveContext<import("arktype/internal/variants/object.ts").ObjectType<{
16
+ code: string;
17
+ scope: string;
18
+ }, {}>>) => {
19
+ scope: string & import("@jfdevelops/create-error/types").TypeSlot<"definition", "scope">;
20
+ };
21
+ };
22
+ message: ({
23
+ definition,
24
+ data,
25
+ implementation
26
+ }: import("@jfdevelops/create-error/types").BlueprintContext<import("arktype/internal/variants/object.ts").ObjectType<{
27
+ code: string;
28
+ scope: string;
29
+ }, {}>>) => string & import("@jfdevelops/create-error/types").TypeSlot<"implementationArgument", {
30
+ readonly context: import("@jfdevelops/create-error/types").DataSlot;
31
+ readonly scope: string & import("@jfdevelops/create-error/types").TypeSlot<"definition", "scope">;
32
+ }>;
33
+ } & {
34
+ properties(context: import("@jfdevelops/create-error/types").BlueprintContext<import("arktype/internal/variants/object.ts").ObjectType<{
35
+ code: string;
36
+ scope: string;
37
+ }, {}>>): {
38
+ readonly code: string & import("@jfdevelops/create-error/types").TypeSlot<"definition", "code">;
39
+ readonly scope: string & import("@jfdevelops/create-error/types").TypeSlot<"definition", "scope">;
40
+ readonly renderMessage: (renderer?: (scope: string & import("@jfdevelops/create-error/types").TypeSlot<"definition", "scope">, context: import("@jfdevelops/create-error/types").DataSlot) => string) => string;
41
+ };
42
+ } & {
43
+ toJSON(error: import("@jfdevelops/create-error/types").BlueprintErrorTemplate<NoInfer<{
44
+ data: {
45
+ readonly property: "context";
46
+ readonly resolve: ({
47
+ definition,
48
+ input
49
+ }: import("@jfdevelops/create-error/types").ResolveContext<import("arktype/internal/variants/object.ts").ObjectType<{
50
+ code: string;
51
+ scope: string;
52
+ }, {}>>) => {
53
+ scope: string & import("@jfdevelops/create-error/types").TypeSlot<"definition", "scope">;
54
+ };
55
+ };
56
+ message: ({
57
+ definition,
58
+ data,
59
+ implementation
60
+ }: import("@jfdevelops/create-error/types").BlueprintContext<import("arktype/internal/variants/object.ts").ObjectType<{
61
+ code: string;
62
+ scope: string;
63
+ }, {}>>) => string & import("@jfdevelops/create-error/types").TypeSlot<"implementationArgument", {
64
+ readonly context: import("@jfdevelops/create-error/types").DataSlot;
65
+ readonly scope: string & import("@jfdevelops/create-error/types").TypeSlot<"definition", "scope">;
66
+ }>;
67
+ } & {
68
+ properties(context: import("@jfdevelops/create-error/types").BlueprintContext<import("arktype/internal/variants/object.ts").ObjectType<{
69
+ code: string;
70
+ scope: string;
71
+ }, {}>>): {
72
+ readonly code: string & import("@jfdevelops/create-error/types").TypeSlot<"definition", "code">;
73
+ readonly scope: string & import("@jfdevelops/create-error/types").TypeSlot<"definition", "scope">;
74
+ readonly renderMessage: (renderer?: (scope: string & import("@jfdevelops/create-error/types").TypeSlot<"definition", "scope">, context: import("@jfdevelops/create-error/types").DataSlot) => string) => string;
75
+ };
76
+ }>>): {
77
+ name: string;
78
+ code: string & import("@jfdevelops/create-error/types").TypeSlot<"definition", "code">;
79
+ scope: string & import("@jfdevelops/create-error/types").TypeSlot<"definition", "scope">;
80
+ message: string;
81
+ context: unknown;
82
+ };
83
+ }, {
84
+ readonly code: string;
85
+ readonly scope: string;
86
+ }, unknown, unknown>;
87
+ /** Thrown when `useResource` is called outside its resource provider. */
88
+ declare class MissingResourceProviderError extends MissingResourceProviderError_base {}
89
+ //#endregion
90
+ export { MissingResourceProviderError };
91
+ //# sourceMappingURL=missing-resource-provider.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"missing-resource-provider.d.mts","names":[],"sources":["../../src/errors/missing-resource-provider.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAGa,4BAAA,SAAqC,iCAMjD"}
@@ -0,0 +1,12 @@
1
+ import { createReactLayoutError } from "./react-layout-error.mjs";
2
+
3
+ //#region src/errors/missing-resource-provider.ts
4
+ /** Thrown when `useResource` is called outside its resource provider. */
5
+ var MissingResourceProviderError = class extends createReactLayoutError({
6
+ code: "missingResourceProvider",
7
+ scope: "resourceContext"
8
+ }).implement(({ scope }) => `[${scope}]: useResource must be called within its ResourceProvider.`) {};
9
+
10
+ //#endregion
11
+ export { MissingResourceProviderError };
12
+ //# sourceMappingURL=missing-resource-provider.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"missing-resource-provider.mjs","names":[],"sources":["../../src/errors/missing-resource-provider.ts"],"sourcesContent":["import { createReactLayoutError } from './react-layout-error';\n\n/** Thrown when `useResource` is called outside its resource provider. */\nexport class MissingResourceProviderError extends createReactLayoutError({\n code: 'missingResourceProvider',\n scope: 'resourceContext',\n}).implement(\n ({ scope }) =>\n `[${scope}]: useResource must be called within its ResourceProvider.`,\n) {}\n"],"mappings":";;;;AAGA,IAAa,+BAAb,cAAkD,uBAAuB;CACvE,MAAM;CACN,OAAO;AACT,CAAC,EAAE,WACA,EAAE,YACD,IAAI,MAAM,2DACd,EAAE,CAAC"}