@carlonicora/nextjs-jsonapi 1.141.2 → 1.142.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/dist/{AssistantMessageInterface-DH1QwtC_.d.mts → AssistantMessageInterface-Ce8FcllX.d.mts} +1 -1
- package/dist/{AssistantMessageInterface-giWvsOrX.d.ts → AssistantMessageInterface-Dh0BpbP2.d.ts} +1 -1
- package/dist/{BlockNoteEditor-3V7LHCFY.mjs → BlockNoteEditor-35DDJH3M.mjs} +4 -4
- package/dist/{BlockNoteEditor-S6LWQDMF.js → BlockNoteEditor-XXTBZ7DD.js} +19 -19
- package/dist/{BlockNoteEditor-S6LWQDMF.js.map → BlockNoteEditor-XXTBZ7DD.js.map} +1 -1
- package/dist/{auth.interface-yivTb46w.d.ts → auth.interface-COmBjh89.d.ts} +1 -1
- package/dist/{auth.interface-r3XKYOrQ.d.mts → auth.interface-CkmZqat3.d.mts} +1 -1
- package/dist/billing/index.js +357 -357
- package/dist/billing/index.mjs +3 -3
- package/dist/{chunk-AGKZCRG2.js → chunk-5SFFHIEE.js} +18 -18
- package/dist/{chunk-AGKZCRG2.js.map → chunk-5SFFHIEE.js.map} +1 -1
- package/dist/{chunk-S4G7IXZZ.js → chunk-7CR4YB7Y.js} +753 -753
- package/dist/chunk-7CR4YB7Y.js.map +1 -0
- package/dist/{chunk-SE2YSAER.js → chunk-C6UXEPNY.js} +7 -7
- package/dist/{chunk-SE2YSAER.js.map → chunk-C6UXEPNY.js.map} +1 -1
- package/dist/{chunk-7ZEETAQV.mjs → chunk-FZ5SPJEU.mjs} +29 -29
- package/dist/chunk-FZ5SPJEU.mjs.map +1 -0
- package/dist/{chunk-5GVY2M5X.mjs → chunk-KZHHKPQZ.mjs} +18 -18
- package/dist/chunk-KZHHKPQZ.mjs.map +1 -0
- package/dist/{chunk-KXTTYXJ6.mjs → chunk-ZV2GZKFR.mjs} +2 -2
- package/dist/client/index.d.mts +2 -2
- package/dist/client/index.d.ts +2 -2
- package/dist/client/index.js +4 -4
- package/dist/client/index.mjs +3 -3
- package/dist/components/index.d.mts +3 -3
- package/dist/components/index.d.ts +3 -3
- package/dist/components/index.js +4 -4
- package/dist/components/index.mjs +3 -3
- package/dist/contexts/index.d.mts +3 -3
- package/dist/contexts/index.d.ts +3 -3
- package/dist/contexts/index.js +4 -4
- package/dist/contexts/index.mjs +3 -3
- package/dist/core/index.d.mts +13 -13
- package/dist/core/index.d.ts +13 -13
- package/dist/core/index.js +2 -2
- package/dist/core/index.mjs +1 -1
- package/dist/features/help/index.js +38 -37
- package/dist/features/help/index.js.map +1 -1
- package/dist/features/help/index.mjs +5 -4
- package/dist/features/help/index.mjs.map +1 -1
- package/dist/index.d.mts +5 -5
- package/dist/index.d.ts +5 -5
- package/dist/index.js +3 -3
- package/dist/index.mjs +2 -2
- package/dist/{notification.interface-LKFmZndR.d.ts → notification.interface--27exGde.d.ts} +6 -6
- package/dist/{notification.interface-B3kNUTZs.d.mts → notification.interface-CG1vqoxg.d.mts} +6 -6
- package/dist/{s3.service-CXKV_OT-.d.mts → s3.service-DYflLXCt.d.mts} +2 -2
- package/dist/{s3.service-BrmeMjtk.d.ts → s3.service-Dmfxpn-k.d.ts} +2 -2
- package/dist/server/index.d.mts +3 -3
- package/dist/server/index.d.ts +3 -3
- package/dist/server/index.js +3 -3
- package/dist/server/index.mjs +1 -1
- package/dist/{useSocket-BsbaGPqE.d.ts → useSocket-DgGAQW6h.d.ts} +1 -1
- package/dist/{useSocket-BSjn1Rlb.d.mts → useSocket-M3YY0aTS.d.mts} +1 -1
- package/package.json +1 -1
- package/src/features/company/components/details/TokenStatusIndicator.tsx +9 -9
- package/src/features/company/components/forms/CompanyEditor.tsx +1 -1
- package/src/features/company/data/company.interface.ts +6 -6
- package/src/features/company/data/company.ts +17 -17
- package/src/features/help/components/HelpHeader.tsx +10 -5
- package/src/features/help/components/__tests__/HelpHeader.spec.tsx +59 -0
- package/src/features/user/contexts/CurrentUserContext.tsx +18 -18
- package/src/features/user/contexts/__tests__/CurrentUserContext.spec.tsx +21 -21
- package/dist/chunk-5GVY2M5X.mjs.map +0 -1
- package/dist/chunk-7ZEETAQV.mjs.map +0 -1
- package/dist/chunk-S4G7IXZZ.js.map +0 -1
- /package/dist/{BlockNoteEditor-3V7LHCFY.mjs.map → BlockNoteEditor-35DDJH3M.mjs.map} +0 -0
- /package/dist/{chunk-KXTTYXJ6.mjs.map → chunk-ZV2GZKFR.mjs.map} +0 -0
|
@@ -8,9 +8,9 @@ export type CompanyInput = {
|
|
|
8
8
|
logo?: string;
|
|
9
9
|
configurations?: any;
|
|
10
10
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
11
|
+
monthlyCredits?: number;
|
|
12
|
+
availableMonthlyCredits?: number;
|
|
13
|
+
availableExtraCredits?: number;
|
|
14
14
|
|
|
15
15
|
featureIds?: string[];
|
|
16
16
|
moduleIds?: string[];
|
|
@@ -34,9 +34,9 @@ export interface CompanyInterface extends ApiDataInterface {
|
|
|
34
34
|
|
|
35
35
|
get isActiveSubscription(): boolean;
|
|
36
36
|
|
|
37
|
-
get
|
|
38
|
-
get
|
|
39
|
-
get
|
|
37
|
+
get monthlyCredits(): number;
|
|
38
|
+
get availableMonthlyCredits(): number;
|
|
39
|
+
get availableExtraCredits(): number;
|
|
40
40
|
|
|
41
41
|
get features(): FeatureInterface[];
|
|
42
42
|
get modules(): ModuleInterface[];
|
|
@@ -11,9 +11,9 @@ export class Company extends AbstractApiData implements CompanyInterface {
|
|
|
11
11
|
|
|
12
12
|
private _isActiveSubscription: boolean = false;
|
|
13
13
|
|
|
14
|
-
private
|
|
15
|
-
private
|
|
16
|
-
private
|
|
14
|
+
private _monthlyCredits: number = 0;
|
|
15
|
+
private _availableMonthlyCredits: number = 0;
|
|
16
|
+
private _availableExtraCredits: number = 0;
|
|
17
17
|
|
|
18
18
|
private _features?: FeatureInterface[];
|
|
19
19
|
private _modules?: ModuleInterface[];
|
|
@@ -46,16 +46,16 @@ export class Company extends AbstractApiData implements CompanyInterface {
|
|
|
46
46
|
return this._isActiveSubscription ?? false;
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
get
|
|
50
|
-
return this.
|
|
49
|
+
get monthlyCredits(): number {
|
|
50
|
+
return this._monthlyCredits ?? 0;
|
|
51
51
|
}
|
|
52
52
|
|
|
53
|
-
get
|
|
54
|
-
return this.
|
|
53
|
+
get availableMonthlyCredits(): number {
|
|
54
|
+
return this._availableMonthlyCredits ?? 0;
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
-
get
|
|
58
|
-
return this.
|
|
57
|
+
get availableExtraCredits(): number {
|
|
58
|
+
return this._availableExtraCredits ?? 0;
|
|
59
59
|
}
|
|
60
60
|
|
|
61
61
|
get features(): FeatureInterface[] {
|
|
@@ -120,9 +120,9 @@ export class Company extends AbstractApiData implements CompanyInterface {
|
|
|
120
120
|
this._logo = data.jsonApi.attributes.logo;
|
|
121
121
|
this._logoUrl = data.jsonApi.attributes.logoUrl;
|
|
122
122
|
this._isActiveSubscription = data.jsonApi.attributes.isActiveSubscription ?? false;
|
|
123
|
-
this.
|
|
124
|
-
this.
|
|
125
|
-
this.
|
|
123
|
+
this._monthlyCredits = data.jsonApi.attributes.monthlyCredits ?? 0;
|
|
124
|
+
this._availableMonthlyCredits = data.jsonApi.attributes.availableMonthlyCredits ?? 0;
|
|
125
|
+
this._availableExtraCredits = data.jsonApi.attributes.availableExtraCredits ?? 0;
|
|
126
126
|
|
|
127
127
|
this._legal_address = data.jsonApi.attributes.legal_address;
|
|
128
128
|
this._street_number = data.jsonApi.attributes.street_number;
|
|
@@ -156,11 +156,11 @@ export class Company extends AbstractApiData implements CompanyInterface {
|
|
|
156
156
|
if (data.name) response.data.attributes.name = data.name;
|
|
157
157
|
if (data.configurations) response.data.attributes.configurations = JSON.stringify(data.configurations);
|
|
158
158
|
if (data.logo) response.data.attributes.logo = data.logo;
|
|
159
|
-
if (data.
|
|
160
|
-
if (data.
|
|
161
|
-
response.data.attributes.
|
|
162
|
-
if (data.
|
|
163
|
-
response.data.attributes.
|
|
159
|
+
if (data.monthlyCredits !== undefined) response.data.attributes.monthlyCredits = data.monthlyCredits;
|
|
160
|
+
if (data.availableMonthlyCredits !== undefined)
|
|
161
|
+
response.data.attributes.availableMonthlyCredits = data.availableMonthlyCredits;
|
|
162
|
+
if (data.availableExtraCredits !== undefined)
|
|
163
|
+
response.data.attributes.availableExtraCredits = data.availableExtraCredits;
|
|
164
164
|
|
|
165
165
|
if (data.legal_address !== undefined) response.data.attributes.legal_address = data.legal_address;
|
|
166
166
|
if (data.street_number !== undefined) response.data.attributes.street_number = data.street_number;
|
|
@@ -3,7 +3,7 @@ import Link from "next/link";
|
|
|
3
3
|
import Image from "next/image";
|
|
4
4
|
import { useTranslations } from "next-intl";
|
|
5
5
|
import { useCurrentUserContext } from "../../user/contexts/CurrentUserContext";
|
|
6
|
-
import {
|
|
6
|
+
import { buttonVariants } from "../../../shadcnui";
|
|
7
7
|
import { useHelp } from "../contexts/HelpContext";
|
|
8
8
|
import { HelpAskAi } from "./HelpAskAi";
|
|
9
9
|
|
|
@@ -25,14 +25,19 @@ export function HelpHeader() {
|
|
|
25
25
|
</Link>
|
|
26
26
|
<div className="flex items-center gap-2">
|
|
27
27
|
<HelpAskAi />
|
|
28
|
+
{/* Styled Links, not <Button render={<Link/>} nativeButton={false}>. Base UI's
|
|
29
|
+
Button primitive warns when rendered as a non-button, and nativeButton={false}
|
|
30
|
+
silences that by stamping role="button" onto the anchor — so a control that
|
|
31
|
+
navigates would announce as a button. Both of these navigate, so they stay
|
|
32
|
+
real links and only borrow the button styling. */}
|
|
28
33
|
{currentUser ? (
|
|
29
|
-
<
|
|
34
|
+
<Link href={appHref} className={buttonVariants({ variant: "outline", size: "sm" })}>
|
|
30
35
|
{t("help.header.openApp")}
|
|
31
|
-
</
|
|
36
|
+
</Link>
|
|
32
37
|
) : (
|
|
33
|
-
<
|
|
38
|
+
<Link href="/login" className={buttonVariants({ variant: "outline", size: "sm" })}>
|
|
34
39
|
{t("help.header.login")}
|
|
35
|
-
</
|
|
40
|
+
</Link>
|
|
36
41
|
)}
|
|
37
42
|
</div>
|
|
38
43
|
</header>
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { describe, it, expect, beforeEach, vi } from "vitest";
|
|
2
|
+
import { render, screen } from "@testing-library/react";
|
|
3
|
+
import { configureJsonApi } from "../../../../client/config";
|
|
4
|
+
import { HelpProvider } from "../../contexts/HelpContext";
|
|
5
|
+
import { HelpHeader } from "../HelpHeader";
|
|
6
|
+
|
|
7
|
+
// Not under test here, and it pulls in its own data context.
|
|
8
|
+
vi.mock("../HelpAskAi", () => ({ HelpAskAi: () => null }));
|
|
9
|
+
|
|
10
|
+
const currentUserContext = vi.fn();
|
|
11
|
+
vi.mock("../../../user/contexts/CurrentUserContext", () => ({
|
|
12
|
+
useCurrentUserContext: () => currentUserContext(),
|
|
13
|
+
}));
|
|
14
|
+
|
|
15
|
+
beforeEach(() => {
|
|
16
|
+
vi.clearAllMocks();
|
|
17
|
+
currentUserContext.mockReturnValue({ currentUser: null });
|
|
18
|
+
configureJsonApi({
|
|
19
|
+
apiUrl: "http://localhost",
|
|
20
|
+
helpContent: { brand: { label: "narr8", appHref: "/app" } },
|
|
21
|
+
} as any);
|
|
22
|
+
});
|
|
23
|
+
|
|
24
|
+
const renderHeader = () =>
|
|
25
|
+
render(
|
|
26
|
+
<HelpProvider>
|
|
27
|
+
<HelpHeader />
|
|
28
|
+
</HelpProvider>,
|
|
29
|
+
);
|
|
30
|
+
|
|
31
|
+
describe("HelpHeader", () => {
|
|
32
|
+
// Both controls navigate. Rendering them as Base UI Buttons required
|
|
33
|
+
// nativeButton={false} to silence the primitive's warning, which stamps
|
|
34
|
+
// role="button" onto the anchor — so a navigating control announced as a
|
|
35
|
+
// button. They must stay plain links that only borrow the button styling.
|
|
36
|
+
it("renders the login control as a link, with no button role", () => {
|
|
37
|
+
renderHeader();
|
|
38
|
+
|
|
39
|
+
const link = screen.getByRole("link", { name: "help.header.login" });
|
|
40
|
+
expect(link).toHaveAttribute("href", "/login");
|
|
41
|
+
expect(link).not.toHaveAttribute("role");
|
|
42
|
+
});
|
|
43
|
+
|
|
44
|
+
it("renders the open-app control as a link, with no button role", () => {
|
|
45
|
+
currentUserContext.mockReturnValue({ currentUser: { id: "u1" } });
|
|
46
|
+
|
|
47
|
+
renderHeader();
|
|
48
|
+
|
|
49
|
+
const link = screen.getByRole("link", { name: "help.header.openApp" });
|
|
50
|
+
expect(link).toHaveAttribute("href", "/app");
|
|
51
|
+
expect(link).not.toHaveAttribute("role");
|
|
52
|
+
});
|
|
53
|
+
|
|
54
|
+
it("renders no button element among the header actions", () => {
|
|
55
|
+
renderHeader();
|
|
56
|
+
|
|
57
|
+
expect(screen.queryByRole("button")).toBeNull();
|
|
58
|
+
});
|
|
59
|
+
});
|
|
@@ -71,26 +71,26 @@ export const CurrentUserProvider = ({ children }: { children: React.ReactNode })
|
|
|
71
71
|
[dehydratedUser],
|
|
72
72
|
);
|
|
73
73
|
|
|
74
|
-
// Balances pushed by company:
|
|
74
|
+
// Balances pushed by company:credits_updated. Transient: a real user refresh is
|
|
75
75
|
// authoritative and clears this.
|
|
76
|
-
const [
|
|
77
|
-
|
|
78
|
-
|
|
76
|
+
const [creditOverride, setCreditOverride] = useState<{
|
|
77
|
+
availableMonthlyCredits: number;
|
|
78
|
+
availableExtraCredits: number;
|
|
79
79
|
} | null>(null);
|
|
80
80
|
|
|
81
81
|
const company = useMemo<CompanyInterface | null>(() => {
|
|
82
82
|
const c = currentUser?.company ?? null;
|
|
83
|
-
if (!c || !
|
|
83
|
+
if (!c || !creditOverride) return c;
|
|
84
84
|
return Object.assign(Object.create(Object.getPrototypeOf(c)), c, {
|
|
85
|
-
|
|
86
|
-
|
|
85
|
+
_availableMonthlyCredits: creditOverride.availableMonthlyCredits,
|
|
86
|
+
_availableExtraCredits: creditOverride.availableExtraCredits,
|
|
87
87
|
});
|
|
88
|
-
}, [currentUser,
|
|
88
|
+
}, [currentUser, creditOverride]);
|
|
89
89
|
|
|
90
90
|
const setUser = (user?: UserInterface): void => {
|
|
91
91
|
if (user) setDehydratedUser(user.dehydrate() as any);
|
|
92
92
|
else setDehydratedUser(null);
|
|
93
|
-
|
|
93
|
+
setCreditOverride(null);
|
|
94
94
|
};
|
|
95
95
|
|
|
96
96
|
const hasRole = (roleId: string): boolean => {
|
|
@@ -177,7 +177,7 @@ export const CurrentUserProvider = ({ children }: { children: React.ReactNode })
|
|
|
177
177
|
}
|
|
178
178
|
|
|
179
179
|
setDehydratedUser(fullUser.dehydrate() as any);
|
|
180
|
-
|
|
180
|
+
setCreditOverride(null);
|
|
181
181
|
}
|
|
182
182
|
} catch (error) {
|
|
183
183
|
console.error("Failed to refresh user data:", error);
|
|
@@ -206,15 +206,15 @@ export const CurrentUserProvider = ({ children }: { children: React.ReactNode })
|
|
|
206
206
|
|
|
207
207
|
// Hot path: fires once per LLM call. Fully described by its payload — must
|
|
208
208
|
// never trigger an HTTP request.
|
|
209
|
-
const
|
|
209
|
+
const handleCreditsUpdated = (data: {
|
|
210
210
|
companyId: string;
|
|
211
|
-
|
|
212
|
-
|
|
211
|
+
availableMonthlyCredits: number;
|
|
212
|
+
availableExtraCredits: number;
|
|
213
213
|
}) => {
|
|
214
214
|
if (data.companyId !== currentUser.company?.id) return;
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
215
|
+
setCreditOverride({
|
|
216
|
+
availableMonthlyCredits: data.availableMonthlyCredits,
|
|
217
|
+
availableExtraCredits: data.availableExtraCredits,
|
|
218
218
|
});
|
|
219
219
|
};
|
|
220
220
|
|
|
@@ -230,11 +230,11 @@ export const CurrentUserProvider = ({ children }: { children: React.ReactNode })
|
|
|
230
230
|
}
|
|
231
231
|
};
|
|
232
232
|
|
|
233
|
-
socket.on("company:
|
|
233
|
+
socket.on("company:credits_updated", handleCreditsUpdated);
|
|
234
234
|
socket.on("company:subscription_updated", handleSubscriptionUpdated);
|
|
235
235
|
|
|
236
236
|
return () => {
|
|
237
|
-
socket.off("company:
|
|
237
|
+
socket.off("company:credits_updated", handleCreditsUpdated);
|
|
238
238
|
socket.off("company:subscription_updated", handleSubscriptionUpdated);
|
|
239
239
|
};
|
|
240
240
|
}, [socket, isConnected, currentUser?.company?.id]);
|
|
@@ -39,14 +39,14 @@ vi.mock("../../../../core", () => {
|
|
|
39
39
|
// exercise it.
|
|
40
40
|
class FakeCompany {
|
|
41
41
|
id = "";
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
get
|
|
46
|
-
return this.
|
|
42
|
+
monthlyCredits = 0;
|
|
43
|
+
_availableMonthlyCredits = 0;
|
|
44
|
+
_availableExtraCredits = 0;
|
|
45
|
+
get availableMonthlyCredits() {
|
|
46
|
+
return this._availableMonthlyCredits ?? 0;
|
|
47
47
|
}
|
|
48
|
-
get
|
|
49
|
-
return this.
|
|
48
|
+
get availableExtraCredits() {
|
|
49
|
+
return this._availableExtraCredits ?? 0;
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
52
|
return {
|
|
@@ -187,9 +187,9 @@ describe("CurrentUserProvider token updates", () => {
|
|
|
187
187
|
modules: [],
|
|
188
188
|
company: {
|
|
189
189
|
id: "company-1",
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
190
|
+
monthlyCredits: 1000,
|
|
191
|
+
_availableMonthlyCredits: 900,
|
|
192
|
+
_availableExtraCredits: 50,
|
|
193
193
|
},
|
|
194
194
|
};
|
|
195
195
|
|
|
@@ -197,7 +197,7 @@ describe("CurrentUserProvider token updates", () => {
|
|
|
197
197
|
const { company } = useCurrentUserContext();
|
|
198
198
|
return (
|
|
199
199
|
<div data-testid="balances">
|
|
200
|
-
{company ? `${(company as any).
|
|
200
|
+
{company ? `${(company as any).availableMonthlyCredits}/${(company as any).availableExtraCredits}` : "null"}
|
|
201
201
|
</div>
|
|
202
202
|
);
|
|
203
203
|
}
|
|
@@ -208,7 +208,7 @@ describe("CurrentUserProvider token updates", () => {
|
|
|
208
208
|
vi.clearAllMocks();
|
|
209
209
|
});
|
|
210
210
|
|
|
211
|
-
it("patches balances from company:
|
|
211
|
+
it("patches balances from company:credits_updated without refetching the user", async () => {
|
|
212
212
|
localStorage.setItem("user", JSON.stringify(STORED_USER));
|
|
213
213
|
|
|
214
214
|
const { getByTestId } = render(
|
|
@@ -221,11 +221,11 @@ describe("CurrentUserProvider token updates", () => {
|
|
|
221
221
|
expect(getByTestId("balances").textContent).toBe("900/50");
|
|
222
222
|
|
|
223
223
|
await act(async () => {
|
|
224
|
-
socketMock.emit("company:
|
|
225
|
-
type: "company:
|
|
224
|
+
socketMock.emit("company:credits_updated", {
|
|
225
|
+
type: "company:credits_updated",
|
|
226
226
|
companyId: "company-1",
|
|
227
|
-
|
|
228
|
-
|
|
227
|
+
availableMonthlyCredits: 750,
|
|
228
|
+
availableExtraCredits: 40,
|
|
229
229
|
});
|
|
230
230
|
});
|
|
231
231
|
|
|
@@ -233,7 +233,7 @@ describe("CurrentUserProvider token updates", () => {
|
|
|
233
233
|
expect(UserService.findFullUser).not.toHaveBeenCalled();
|
|
234
234
|
});
|
|
235
235
|
|
|
236
|
-
it("ignores company:
|
|
236
|
+
it("ignores company:credits_updated for a different company", async () => {
|
|
237
237
|
localStorage.setItem("user", JSON.stringify(STORED_USER));
|
|
238
238
|
|
|
239
239
|
const { getByTestId } = render(
|
|
@@ -245,11 +245,11 @@ describe("CurrentUserProvider token updates", () => {
|
|
|
245
245
|
await new Promise((resolve) => setTimeout(resolve, 50));
|
|
246
246
|
|
|
247
247
|
await act(async () => {
|
|
248
|
-
socketMock.emit("company:
|
|
249
|
-
type: "company:
|
|
248
|
+
socketMock.emit("company:credits_updated", {
|
|
249
|
+
type: "company:credits_updated",
|
|
250
250
|
companyId: "someone-else",
|
|
251
|
-
|
|
252
|
-
|
|
251
|
+
availableMonthlyCredits: 1,
|
|
252
|
+
availableExtraCredits: 1,
|
|
253
253
|
});
|
|
254
254
|
});
|
|
255
255
|
|