@uiwwsw/next-test-mode 0.6.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.
- package/CHANGELOG.md +70 -0
- package/LICENSE +21 -0
- package/README.md +170 -0
- package/bin/test-mode.mjs +164 -0
- package/dist/browser.d.ts +7 -0
- package/dist/browser.d.ts.map +1 -0
- package/dist/browser.js +455 -0
- package/dist/browser.js.map +1 -0
- package/dist/client.d.ts +14 -0
- package/dist/client.d.ts.map +1 -0
- package/dist/client.js +92 -0
- package/dist/client.js.map +1 -0
- package/dist/core.d.ts +160 -0
- package/dist/core.d.ts.map +1 -0
- package/dist/core.js +741 -0
- package/dist/core.js.map +1 -0
- package/dist/fetch.d.ts +16 -0
- package/dist/fetch.d.ts.map +1 -0
- package/dist/fetch.js +212 -0
- package/dist/fetch.js.map +1 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +6 -0
- package/dist/index.js.map +1 -0
- package/dist/internal/draft-handler.d.ts +30 -0
- package/dist/internal/draft-handler.d.ts.map +1 -0
- package/dist/internal/draft-handler.js +80 -0
- package/dist/internal/draft-handler.js.map +1 -0
- package/dist/internal/lifecycle.d.ts +7 -0
- package/dist/internal/lifecycle.d.ts.map +1 -0
- package/dist/internal/lifecycle.js +65 -0
- package/dist/internal/lifecycle.js.map +1 -0
- package/dist/internal/next-request.d.ts +11 -0
- package/dist/internal/next-request.d.ts.map +1 -0
- package/dist/internal/next-request.js +22 -0
- package/dist/internal/next-request.js.map +1 -0
- package/dist/internal/overrides.d.ts +25 -0
- package/dist/internal/overrides.d.ts.map +1 -0
- package/dist/internal/overrides.js +111 -0
- package/dist/internal/overrides.js.map +1 -0
- package/dist/internal/paths.d.ts +3 -0
- package/dist/internal/paths.d.ts.map +1 -0
- package/dist/internal/paths.js +22 -0
- package/dist/internal/paths.js.map +1 -0
- package/dist/internal/server-context.d.ts +4 -0
- package/dist/internal/server-context.d.ts.map +1 -0
- package/dist/internal/server-context.js +6 -0
- package/dist/internal/server-context.js.map +1 -0
- package/dist/internal/ssr-state.d.ts +8 -0
- package/dist/internal/ssr-state.d.ts.map +1 -0
- package/dist/internal/ssr-state.js +48 -0
- package/dist/internal/ssr-state.js.map +1 -0
- package/dist/internal/storage.d.ts +6 -0
- package/dist/internal/storage.d.ts.map +1 -0
- package/dist/internal/storage.js +70 -0
- package/dist/internal/storage.js.map +1 -0
- package/dist/internal/symbols.d.ts +3 -0
- package/dist/internal/symbols.d.ts.map +1 -0
- package/dist/internal/symbols.js +3 -0
- package/dist/internal/symbols.js.map +1 -0
- package/dist/next.d.ts +9 -0
- package/dist/next.d.ts.map +1 -0
- package/dist/next.js +32 -0
- package/dist/next.js.map +1 -0
- package/dist/node.d.ts +27 -0
- package/dist/node.d.ts.map +1 -0
- package/dist/node.js +144 -0
- package/dist/node.js.map +1 -0
- package/dist/server.d.ts +20 -0
- package/dist/server.d.ts.map +1 -0
- package/dist/server.js +36 -0
- package/dist/server.js.map +1 -0
- package/dist/setup.d.ts +14 -0
- package/dist/setup.d.ts.map +1 -0
- package/dist/setup.js +66 -0
- package/dist/setup.js.map +1 -0
- package/dist/types.d.ts +179 -0
- package/dist/types.d.ts.map +1 -0
- package/dist/types.js +2 -0
- package/dist/types.js.map +1 -0
- package/docs/architecture.md +116 -0
- package/docs/guide.md +171 -0
- package/docs/migration.md +26 -0
- package/docs/releasing.md +41 -0
- package/docs/server-rendering.md +136 -0
- package/docs/story-test-design.md +252 -0
- package/package.json +136 -0
- package/src/browser.ts +593 -0
- package/src/client.ts +114 -0
- package/src/core.ts +1161 -0
- package/src/fetch.ts +271 -0
- package/src/index.ts +5 -0
- package/src/internal/draft-handler.ts +113 -0
- package/src/internal/lifecycle.ts +81 -0
- package/src/internal/next-request.ts +31 -0
- package/src/internal/overrides.ts +141 -0
- package/src/internal/paths.ts +27 -0
- package/src/internal/server-context.ts +6 -0
- package/src/internal/ssr-state.ts +48 -0
- package/src/internal/storage.ts +75 -0
- package/src/internal/symbols.ts +2 -0
- package/src/next.ts +49 -0
- package/src/node.ts +213 -0
- package/src/server.ts +52 -0
- package/src/setup.ts +69 -0
- package/src/types.ts +240 -0
- package/templates/test-mode/README.md +30 -0
- package/templates/test-mode/config.ts +25 -0
- package/templates/test-mode/features/auth.ts +23 -0
- package/templates/test-mode/index.ts +11 -0
- package/templates/test-mode/install.ts +13 -0
- package/templates/test-mode/stories/auth.stories.ts +10 -0
package/src/types.ts
ADDED
|
@@ -0,0 +1,240 @@
|
|
|
1
|
+
import type { TestMode } from "./core.js";
|
|
2
|
+
import type { MOCK_RESULT, MOCK_PASS_THROUGH } from "./internal/symbols.js";
|
|
3
|
+
|
|
4
|
+
export type TestModeLogger = Partial<
|
|
5
|
+
Record<
|
|
6
|
+
"debug" | "error" | "info" | "warning",
|
|
7
|
+
(message: string, data?: unknown) => void
|
|
8
|
+
>
|
|
9
|
+
>;
|
|
10
|
+
|
|
11
|
+
export type MockResult = Readonly<{
|
|
12
|
+
data: unknown;
|
|
13
|
+
/** Explicit JSON encoding, including string payloads. Otherwise BodyInit values stay raw. */
|
|
14
|
+
bodyFormat?: "json";
|
|
15
|
+
headers?: HeadersInit;
|
|
16
|
+
status: number;
|
|
17
|
+
statusText: string;
|
|
18
|
+
}>;
|
|
19
|
+
|
|
20
|
+
export type MockHttpResult = MockResult &
|
|
21
|
+
Readonly<{
|
|
22
|
+
[MOCK_RESULT]: true;
|
|
23
|
+
}>;
|
|
24
|
+
|
|
25
|
+
export type MockPassThrough = Readonly<{
|
|
26
|
+
[MOCK_PASS_THROUGH]: true;
|
|
27
|
+
}>;
|
|
28
|
+
|
|
29
|
+
export type MockContext<TRequest = unknown> = Readonly<{
|
|
30
|
+
activeKey: string;
|
|
31
|
+
body: TRequest | undefined;
|
|
32
|
+
headers: unknown;
|
|
33
|
+
method: string;
|
|
34
|
+
params: unknown;
|
|
35
|
+
path: string;
|
|
36
|
+
request: TRequest | undefined;
|
|
37
|
+
requestCount: number;
|
|
38
|
+
url: string;
|
|
39
|
+
}>;
|
|
40
|
+
|
|
41
|
+
export type MockHandler<TRequest = unknown, TResponse = unknown> = (
|
|
42
|
+
context: MockContext<TRequest>,
|
|
43
|
+
) =>
|
|
44
|
+
| MockHttpResult
|
|
45
|
+
| MockPassThrough
|
|
46
|
+
| Promise<TResponse | MockHttpResult | MockPassThrough>
|
|
47
|
+
| TResponse;
|
|
48
|
+
|
|
49
|
+
export type PatchHandler<TRequest = unknown, TResponse = unknown> = (
|
|
50
|
+
response: TResponse,
|
|
51
|
+
context: MockContext<TRequest>,
|
|
52
|
+
) => Promise<TResponse> | TResponse;
|
|
53
|
+
|
|
54
|
+
export type RouteMatcher =
|
|
55
|
+
| RegExp
|
|
56
|
+
| string
|
|
57
|
+
| ((
|
|
58
|
+
context: Pick<
|
|
59
|
+
MockContext,
|
|
60
|
+
"headers" | "method" | "params" | "path" | "url"
|
|
61
|
+
>,
|
|
62
|
+
) => boolean);
|
|
63
|
+
|
|
64
|
+
export type MockDefinition<TRequest = unknown, TResponse = unknown> = Readonly<{
|
|
65
|
+
caseKey?: string;
|
|
66
|
+
description?: string;
|
|
67
|
+
handler: MockHandler<TRequest, TResponse>;
|
|
68
|
+
match?: RouteMatcher;
|
|
69
|
+
method?: readonly string[] | string;
|
|
70
|
+
pages?: readonly string[];
|
|
71
|
+
path: string;
|
|
72
|
+
}>;
|
|
73
|
+
|
|
74
|
+
export type PatchDefinition<
|
|
75
|
+
TRequest = unknown,
|
|
76
|
+
TResponse = unknown,
|
|
77
|
+
> = Readonly<{
|
|
78
|
+
caseKey?: string;
|
|
79
|
+
description?: string;
|
|
80
|
+
handler: PatchHandler<TRequest, TResponse>;
|
|
81
|
+
match?: RouteMatcher;
|
|
82
|
+
method?: readonly string[] | string;
|
|
83
|
+
pages?: readonly string[];
|
|
84
|
+
path: string;
|
|
85
|
+
}>;
|
|
86
|
+
|
|
87
|
+
// A registry contains heterogeneous routes. Erase types only at this boundary;
|
|
88
|
+
// defineMock/definePatch still type-check each handler's request and response.
|
|
89
|
+
export type RegisteredMockDefinition = MockDefinition<any, any>;
|
|
90
|
+
export type RegisteredPatchDefinition = PatchDefinition<any, any>;
|
|
91
|
+
|
|
92
|
+
export type TestModeRequest = Readonly<{
|
|
93
|
+
body?: unknown | undefined;
|
|
94
|
+
cookieHeader?: string | null | undefined;
|
|
95
|
+
headers?: unknown | undefined;
|
|
96
|
+
method: string;
|
|
97
|
+
params?: unknown | undefined;
|
|
98
|
+
path: string;
|
|
99
|
+
url?: string | undefined;
|
|
100
|
+
}>;
|
|
101
|
+
|
|
102
|
+
export type TestModePatchRequest = TestModeRequest &
|
|
103
|
+
Readonly<{
|
|
104
|
+
data: unknown;
|
|
105
|
+
}>;
|
|
106
|
+
|
|
107
|
+
export type FeatureCatalogItem = Readonly<{
|
|
108
|
+
active: boolean;
|
|
109
|
+
caseKey?: string;
|
|
110
|
+
description: string;
|
|
111
|
+
key: string;
|
|
112
|
+
mode: "extension" | "mock" | "patch";
|
|
113
|
+
pages: readonly string[];
|
|
114
|
+
path: string;
|
|
115
|
+
}>;
|
|
116
|
+
|
|
117
|
+
export type CatalogItem = FeatureCatalogItem;
|
|
118
|
+
|
|
119
|
+
export type StoryDefinition = Readonly<{
|
|
120
|
+
description: string;
|
|
121
|
+
entries: readonly string[];
|
|
122
|
+
key: string;
|
|
123
|
+
pages: readonly string[];
|
|
124
|
+
title: string;
|
|
125
|
+
}>;
|
|
126
|
+
|
|
127
|
+
export type StoryListOptions = Readonly<{
|
|
128
|
+
active?: boolean;
|
|
129
|
+
page?: string;
|
|
130
|
+
query?: string;
|
|
131
|
+
storyKey?: string;
|
|
132
|
+
}>;
|
|
133
|
+
|
|
134
|
+
export type StoryListInput = StoryListOptions | string;
|
|
135
|
+
|
|
136
|
+
export type StoryCatalogItem = StoryDefinition &
|
|
137
|
+
Readonly<{
|
|
138
|
+
active: boolean;
|
|
139
|
+
activeEntries: readonly string[];
|
|
140
|
+
unavailableEntries: readonly string[];
|
|
141
|
+
}>;
|
|
142
|
+
|
|
143
|
+
export type TestModeSearchOptions = Readonly<{
|
|
144
|
+
active?: boolean;
|
|
145
|
+
page?: string;
|
|
146
|
+
query?: string;
|
|
147
|
+
}>;
|
|
148
|
+
|
|
149
|
+
export type TestModeSearchInput = TestModeSearchOptions | string;
|
|
150
|
+
|
|
151
|
+
export type TestModeSearchResult = Readonly<{
|
|
152
|
+
features: readonly FeatureCatalogItem[];
|
|
153
|
+
stories: readonly StoryCatalogItem[];
|
|
154
|
+
}>;
|
|
155
|
+
|
|
156
|
+
export type TestModeExtensionContext = Readonly<{
|
|
157
|
+
refresh: () => void;
|
|
158
|
+
testMode: TestMode;
|
|
159
|
+
}>;
|
|
160
|
+
|
|
161
|
+
export type TestModeExtension = Readonly<{
|
|
162
|
+
aliases?: readonly string[];
|
|
163
|
+
disable: () => void;
|
|
164
|
+
enable: () => void;
|
|
165
|
+
install?: (context: TestModeExtensionContext) => (() => void) | void;
|
|
166
|
+
isActive: () => boolean;
|
|
167
|
+
key: string;
|
|
168
|
+
label: string;
|
|
169
|
+
subscribe?: (listener: () => void) => () => void;
|
|
170
|
+
toggle?: () => void;
|
|
171
|
+
}>;
|
|
172
|
+
|
|
173
|
+
export type ToggleExtensionOptions = Readonly<{
|
|
174
|
+
aliases?: readonly string[];
|
|
175
|
+
key: string;
|
|
176
|
+
label: string;
|
|
177
|
+
onDisable?: () => void;
|
|
178
|
+
onEnable?: () => void;
|
|
179
|
+
setup?: (context: TestModeExtensionContext) => (() => void) | void;
|
|
180
|
+
storageKey?: string;
|
|
181
|
+
}>;
|
|
182
|
+
|
|
183
|
+
export type TestModeOptions = Readonly<{
|
|
184
|
+
/** Validate or synchronize a detached state snapshot before a local change commits. Throw to reject it. */
|
|
185
|
+
beforeChange?: (state: TestModeState) => void;
|
|
186
|
+
cookieKey?: string;
|
|
187
|
+
definitions?: readonly RegisteredMockDefinition[];
|
|
188
|
+
enabled?: boolean | (() => boolean);
|
|
189
|
+
eventName?: string;
|
|
190
|
+
logger?: false | TestModeLogger;
|
|
191
|
+
patchDefinitions?: readonly RegisteredPatchDefinition[];
|
|
192
|
+
stories?: readonly StoryDefinition[];
|
|
193
|
+
storageKey?: string;
|
|
194
|
+
}>;
|
|
195
|
+
|
|
196
|
+
export type TestModeOverlayOptions = Readonly<{
|
|
197
|
+
/** Set false when installing before React hydration to avoid changing app-owned attributes. */
|
|
198
|
+
datasetName?: string | false;
|
|
199
|
+
document?: Document;
|
|
200
|
+
extensions?: readonly TestModeExtension[];
|
|
201
|
+
globalName?: string;
|
|
202
|
+
installConsole?: boolean;
|
|
203
|
+
namespace?: string;
|
|
204
|
+
watermarkText?: string;
|
|
205
|
+
zIndex?: number;
|
|
206
|
+
}>;
|
|
207
|
+
|
|
208
|
+
export type TestModeConsoleOptions = Readonly<{
|
|
209
|
+
extensions?: readonly TestModeExtension[];
|
|
210
|
+
globalName?: string;
|
|
211
|
+
installExtensions?: boolean;
|
|
212
|
+
namespace?: string;
|
|
213
|
+
}>;
|
|
214
|
+
|
|
215
|
+
export type TestModeConsoleHelp = Readonly<{
|
|
216
|
+
commands: Readonly<Record<string, string>>;
|
|
217
|
+
examples: readonly string[];
|
|
218
|
+
summary: string;
|
|
219
|
+
}>;
|
|
220
|
+
|
|
221
|
+
/** One in-memory, exact-path response experiment. Default method: GET. */
|
|
222
|
+
export type ResponseOverrideOptions = Readonly<{
|
|
223
|
+
method?: string;
|
|
224
|
+
status?: number;
|
|
225
|
+
statusText?: string;
|
|
226
|
+
}>;
|
|
227
|
+
|
|
228
|
+
export type ResponseOverride = Readonly<{
|
|
229
|
+
path: string;
|
|
230
|
+
method: string;
|
|
231
|
+
mode: "mock" | "patch";
|
|
232
|
+
data: unknown;
|
|
233
|
+
status?: number;
|
|
234
|
+
statusText?: string;
|
|
235
|
+
}>;
|
|
236
|
+
|
|
237
|
+
export type TestModeState = Readonly<{
|
|
238
|
+
entries: readonly string[];
|
|
239
|
+
overrides: readonly ResponseOverride[];
|
|
240
|
+
}>;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# 앱 소유의 테스트 폴더
|
|
2
|
+
|
|
3
|
+
API 호출부는 그대로 두고, 반복할 mock·patch·story를 이 폴더에서 수정하세요. 임시 값은 Console의 `test.mock()` / `test.patch()`로 확인한 뒤 `test.clear()`하면 됩니다.
|
|
4
|
+
|
|
5
|
+
```bash
|
|
6
|
+
cp -R node_modules/@uiwwsw/next-test-mode/templates/test-mode src/test-mode
|
|
7
|
+
```
|
|
8
|
+
|
|
9
|
+
## Next App Router
|
|
10
|
+
|
|
11
|
+
먼저 패키지의 `init`으로 서버·브라우저·Draft 경로를 생성하세요. 이 폴더에서 브라우저용 runtime을 만들거나 `install.ts`를 중복 실행하지 않고, 서버와 브라우저가 공유할 순수 등록 목록을 만듭니다.
|
|
12
|
+
|
|
13
|
+
```ts
|
|
14
|
+
// src/test-mode/catalog.ts
|
|
15
|
+
import { authFeatures } from './features/auth';
|
|
16
|
+
import { authStories } from './stories/auth.stories';
|
|
17
|
+
|
|
18
|
+
export const catalog = {
|
|
19
|
+
definitions: [...authFeatures],
|
|
20
|
+
stories: [...authStories],
|
|
21
|
+
};
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
생성된 서버 hook의 `setupNextTestMode({ ...catalog, enabled: true })`, 클라이언트 hook의 `setupNextTestModeClient({ ...catalog, enabled: 기존환경조건 })`에 같은 목록을 전달하세요. `/src` 구조의 hook에서는 `./test-mode/catalog`로 import합니다. 서버에서도 실행하는 정의에는 DOM이나 브라우저 전용 라이브러리를 넣지 마세요. `config.ts`의 범용 환경 감지 대신 생성된 Next 환경 조건을 유지합니다.
|
|
25
|
+
|
|
26
|
+
등록 후 Console에서 `test.search()`로 목록을 보고 `test.story('auth.locked')`처럼 선택합니다. 정확한 story key는 `stories/auth.stories.ts`를 확인하세요. 전체 응답은 파일에 두고 선택 key만 쿠키로 보내면 큰 데이터도 JSON 쿠키 제한을 피할 수 있습니다.
|
|
27
|
+
|
|
28
|
+
## 범용 브라우저 앱
|
|
29
|
+
|
|
30
|
+
`index.ts` / `config.ts` / `install.ts`는 Next 자동 연결이 없는 앱의 수동 설치 예시입니다. `config.ts`의 enabled 조건을 앱의 환경 변수에 맞추고 시작 시 `installAppTestMode()`를 한 번 호출하세요. 반환된 cleanup은 종료/HMR에 실행합니다. Next의 생성된 설치와 함께 실행하지 마세요.
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import type { TestModeOptions, TestModeOverlayOptions } from "@uiwwsw/next-test-mode";
|
|
2
|
+
|
|
3
|
+
const readNodeEnv = () =>
|
|
4
|
+
(globalThis as { process?: { env?: Record<string, string | undefined> } })
|
|
5
|
+
.process?.env?.NODE_ENV;
|
|
6
|
+
|
|
7
|
+
export const runtimeConfig = {
|
|
8
|
+
cookieKey: "app.test.mode.entries",
|
|
9
|
+
enabled: () => ["development", "test"].includes(readNodeEnv() ?? ""),
|
|
10
|
+
eventName: "app-test-mode:change",
|
|
11
|
+
storageKey: "app.test.mode.entries",
|
|
12
|
+
} satisfies Pick<
|
|
13
|
+
TestModeOptions,
|
|
14
|
+
"cookieKey" | "enabled" | "eventName" | "storageKey"
|
|
15
|
+
>;
|
|
16
|
+
|
|
17
|
+
export const testOverlayConfig = {
|
|
18
|
+
datasetName: "test",
|
|
19
|
+
globalName: "test",
|
|
20
|
+
namespace: "__appTestMode",
|
|
21
|
+
watermarkText: "TEST MODE",
|
|
22
|
+
} satisfies Pick<
|
|
23
|
+
TestModeOverlayOptions,
|
|
24
|
+
"datasetName" | "globalName" | "namespace" | "watermarkText"
|
|
25
|
+
>;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { defineMock, httpResult } from "@uiwwsw/next-test-mode";
|
|
2
|
+
|
|
3
|
+
export const authFeatures = [
|
|
4
|
+
defineMock(
|
|
5
|
+
"/api/session/signin",
|
|
6
|
+
() =>
|
|
7
|
+
httpResult({
|
|
8
|
+
data: {
|
|
9
|
+
code: "AU-105",
|
|
10
|
+
data: null,
|
|
11
|
+
message: "Password is locked",
|
|
12
|
+
status: 400,
|
|
13
|
+
},
|
|
14
|
+
status: 200,
|
|
15
|
+
statusText: "OK",
|
|
16
|
+
}),
|
|
17
|
+
{
|
|
18
|
+
caseKey: "locked",
|
|
19
|
+
description: "Login locked account branch",
|
|
20
|
+
pages: ["/login"],
|
|
21
|
+
},
|
|
22
|
+
),
|
|
23
|
+
];
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { createTestMode } from "@uiwwsw/next-test-mode";
|
|
2
|
+
import { runtimeConfig } from "./config";
|
|
3
|
+
import { authFeatures } from "./features/auth";
|
|
4
|
+
import { authStories } from "./stories/auth.stories";
|
|
5
|
+
|
|
6
|
+
export const runtime = createTestMode({
|
|
7
|
+
...runtimeConfig,
|
|
8
|
+
definitions: [...authFeatures],
|
|
9
|
+
patchDefinitions: [],
|
|
10
|
+
stories: [...authStories],
|
|
11
|
+
});
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { installMockFetch, installTestModeOverlay } from "@uiwwsw/next-test-mode";
|
|
2
|
+
import { testOverlayConfig } from "./config";
|
|
3
|
+
import { runtime } from "./index";
|
|
4
|
+
|
|
5
|
+
export const installAppTestMode = () => {
|
|
6
|
+
const uninstallOverlay = installTestModeOverlay(runtime, testOverlayConfig);
|
|
7
|
+
const uninstallFetch = installMockFetch(runtime);
|
|
8
|
+
|
|
9
|
+
return () => {
|
|
10
|
+
uninstallFetch();
|
|
11
|
+
uninstallOverlay();
|
|
12
|
+
};
|
|
13
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { defineStory, entry } from "@uiwwsw/next-test-mode";
|
|
2
|
+
|
|
3
|
+
export const authStories = [
|
|
4
|
+
defineStory({
|
|
5
|
+
key: "auth.login.locked",
|
|
6
|
+
title: "Login - locked account",
|
|
7
|
+
description: "Shows the locked password branch on the login screen.",
|
|
8
|
+
entries: [entry("/api/session/signin", "locked")],
|
|
9
|
+
}),
|
|
10
|
+
];
|