@tangle-network/agent-app 0.50.29 → 0.50.31
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/agent-enrollment/application.d.ts +42 -0
- package/dist/agent-enrollment/index.d.ts +59 -0
- package/dist/agent-enrollment/index.js +208 -0
- package/dist/agent-enrollment/index.js.map +1 -0
- package/dist/assistant/index.js +9 -9
- package/dist/chat-react/index.js +2 -2
- package/dist/chat-routes/index.js +13 -13
- package/dist/chat-store/index.js +4 -4
- package/dist/{chunk-BPSRJTJG.js → chunk-42FA6YQH.js} +2 -2
- package/dist/{chunk-RACQDXJ7.js → chunk-4PZE7XAM.js} +6 -6
- package/dist/{chunk-QWYAR2CY.js → chunk-5KFRCVAO.js} +2 -2
- package/dist/{chunk-KTV5RQBQ.js → chunk-5TOV7EDF.js} +4 -4
- package/dist/chunk-6RWQ4VW5.js +124 -0
- package/dist/chunk-6RWQ4VW5.js.map +1 -0
- package/dist/{chunk-RFVTTZPG.js → chunk-CNI46COH.js} +2 -2
- package/dist/{chunk-RFVTTZPG.js.map → chunk-CNI46COH.js.map} +1 -1
- package/dist/{chunk-TJCTC5QI.js → chunk-LDCR7MRU.js} +2 -2
- package/dist/{chunk-OUK7JZDV.js → chunk-OSZBBLK5.js} +3 -3
- package/dist/{chunk-M2SAK7ZH.js → chunk-UNXMIWPK.js} +711 -518
- package/dist/chunk-UNXMIWPK.js.map +1 -0
- package/dist/{chunk-5BDSNHWW.js → chunk-XF6ZRY56.js} +6 -4
- package/dist/chunk-XF6ZRY56.js.map +1 -0
- package/dist/{chunk-XFCKMBOC.js → chunk-YFGG722I.js} +5 -5
- package/dist/{chunk-MX55JP7D.js → chunk-ZMMIQOFI.js} +5 -5
- package/dist/hosted-agent/application.js +5 -116
- package/dist/hosted-agent/application.js.map +1 -1
- package/dist/{mention-editor-BCLZUAF7.js → mention-editor-I7Q4LF2X.js} +2 -2
- package/dist/platform/hub-settings.d.ts +117 -0
- package/dist/platform/index.d.ts +1 -0
- package/dist/platform/index.js +225 -20
- package/dist/platform/index.js.map +1 -1
- package/dist/preset-cloudflare/index.js +2 -2
- package/dist/public-consultation/index.js +6 -6
- package/dist/sandbox/index.js +4 -4
- package/dist/stories/app-shell/shell.d.ts +5 -8
- package/dist/stream/index.js +2 -2
- package/dist/studio-react/index.js +2 -2
- package/dist/teams-react/index.js +3 -3
- package/dist/tools/index.js +4 -4
- package/dist/web-react/agent-profile-viewer.d.ts +8 -0
- package/dist/web-react/controls.d.ts +3 -1
- package/dist/web-react/index.d.ts +1 -0
- package/dist/web-react/index.js +13 -11
- package/dist/work-product/index.js +2 -2
- package/package.json +9 -4
- package/dist/chunk-5BDSNHWW.js.map +0 -1
- package/dist/chunk-M2SAK7ZH.js.map +0 -1
- /package/dist/{chunk-BPSRJTJG.js.map → chunk-42FA6YQH.js.map} +0 -0
- /package/dist/{chunk-RACQDXJ7.js.map → chunk-4PZE7XAM.js.map} +0 -0
- /package/dist/{chunk-QWYAR2CY.js.map → chunk-5KFRCVAO.js.map} +0 -0
- /package/dist/{chunk-KTV5RQBQ.js.map → chunk-5TOV7EDF.js.map} +0 -0
- /package/dist/{chunk-TJCTC5QI.js.map → chunk-LDCR7MRU.js.map} +0 -0
- /package/dist/{chunk-OUK7JZDV.js.map → chunk-OSZBBLK5.js.map} +0 -0
- /package/dist/{chunk-XFCKMBOC.js.map → chunk-YFGG722I.js.map} +0 -0
- /package/dist/{chunk-MX55JP7D.js.map → chunk-ZMMIQOFI.js.map} +0 -0
- /package/dist/{mention-editor-BCLZUAF7.js.map → mention-editor-I7Q4LF2X.js.map} +0 -0
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
import {
|
|
2
|
+
parseJsonObjectBody
|
|
3
|
+
} from "./chunk-3NCPXNBZ.js";
|
|
4
|
+
|
|
5
|
+
// src/hosted-agent/application.ts
|
|
6
|
+
import {
|
|
7
|
+
LINE_APPLICATION_REQUEST_MAX_BYTES,
|
|
8
|
+
parseLineApplicationRequest,
|
|
9
|
+
parseLineApplicationResult
|
|
10
|
+
} from "@tangle-network/sandbox/core";
|
|
11
|
+
|
|
12
|
+
// src/hosted-agent/workspace-line.ts
|
|
13
|
+
async function attachWorkspaceLine(input) {
|
|
14
|
+
if (!/^lsv_[A-Za-z0-9_-]+$/.test(input.senderVerificationId)) {
|
|
15
|
+
throw new TypeError("A valid sender verification id is required");
|
|
16
|
+
}
|
|
17
|
+
const verification = await input.ownerLines.getSenderVerification(input.lineId, input.senderVerificationId);
|
|
18
|
+
const expiresAt = new Date(verification.expiresAt).getTime();
|
|
19
|
+
if (verification.lineId !== input.lineId || verification.testId !== input.senderVerificationId || verification.state !== "verified" || !verification.proof.signedInboundTestAt || !verification.proof.providerReplyAcknowledgedAt || !verification.proof.signedInboundConfirmAt || !Number.isFinite(expiresAt) || expiresAt <= Date.now()) {
|
|
20
|
+
throw new TypeError("The selected line has no current verified sender proof");
|
|
21
|
+
}
|
|
22
|
+
const address = verification.approvedSender?.trim() ?? "";
|
|
23
|
+
const turnsPerDay = input.turnsPerDay ?? 20;
|
|
24
|
+
if (!/^\+[1-9]\d{6,14}$/.test(address)) {
|
|
25
|
+
throw new TypeError("The verified sender must be an E.164 phone number");
|
|
26
|
+
}
|
|
27
|
+
if (!Number.isSafeInteger(turnsPerDay) || turnsPerDay < 1 || turnsPerDay > 1e4) {
|
|
28
|
+
throw new TypeError("A daily turn limit between 1 and 10000 is required");
|
|
29
|
+
}
|
|
30
|
+
const url = new URL(input.application.url);
|
|
31
|
+
if (url.protocol !== "https:" || url.username || url.password || url.hash) {
|
|
32
|
+
throw new TypeError("The application callback must use HTTPS without URL credentials or a fragment");
|
|
33
|
+
}
|
|
34
|
+
if (!/^[\x21-\x7e]{1,1024}$/.test(input.application.binding) || !/^[\x21-\x7e]{16,512}$/.test(input.application.secret)) {
|
|
35
|
+
throw new TypeError("A binding and a header-safe callback credential are required");
|
|
36
|
+
}
|
|
37
|
+
const attachment = {
|
|
38
|
+
number: input.lineId,
|
|
39
|
+
senderVerificationId: input.senderVerificationId,
|
|
40
|
+
mode: "personal",
|
|
41
|
+
members: [{ address, role: "owner" }],
|
|
42
|
+
unknownSenders: "reject",
|
|
43
|
+
roles: { owner: { context: "own", tools: "act" } },
|
|
44
|
+
respond: { kind: "agent", application: { ...input.application } },
|
|
45
|
+
limits: { turnsPerMemberPerDay: turnsPerDay }
|
|
46
|
+
};
|
|
47
|
+
return input.box.lines.attach(attachment);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
// src/hosted-agent/application-verification.ts
|
|
51
|
+
function publicApplicationSenderVerification(result) {
|
|
52
|
+
return {
|
|
53
|
+
lineId: result.lineId,
|
|
54
|
+
testId: result.testId,
|
|
55
|
+
state: result.state,
|
|
56
|
+
expiresAt: result.expiresAt,
|
|
57
|
+
proof: {
|
|
58
|
+
signedInboundTestAt: result.proof.signedInboundTestAt,
|
|
59
|
+
providerReplyAcknowledgedAt: result.proof.providerReplyAcknowledgedAt,
|
|
60
|
+
signedInboundConfirmAt: result.proof.signedInboundConfirmAt
|
|
61
|
+
}
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
// src/hosted-agent/application.ts
|
|
66
|
+
function createApplicationLineHandler(options) {
|
|
67
|
+
return async (request) => {
|
|
68
|
+
if (request.method !== "POST") return failure(405, "method_not_allowed");
|
|
69
|
+
let authenticated;
|
|
70
|
+
try {
|
|
71
|
+
authenticated = await options.authenticate(request);
|
|
72
|
+
} catch (error) {
|
|
73
|
+
return error instanceof Response ? error : failure(503, "line_authentication_unavailable");
|
|
74
|
+
}
|
|
75
|
+
let input;
|
|
76
|
+
try {
|
|
77
|
+
if (request.headers.get("content-type")?.split(";")[0]?.trim().toLowerCase() !== "application/json")
|
|
78
|
+
return failure(415, "json_required");
|
|
79
|
+
const [body, error] = await parseJsonObjectBody(request, { maxBytes: LINE_APPLICATION_REQUEST_MAX_BYTES });
|
|
80
|
+
if (error) return error;
|
|
81
|
+
input = parseLineApplicationRequest(body);
|
|
82
|
+
if (input.binding !== authenticated.binding) return failure(403, "line_binding_mismatch");
|
|
83
|
+
if (request.headers.get("idempotency-key") !== `line-application:${input.messageId}`)
|
|
84
|
+
return failure(400, "idempotency_key_mismatch");
|
|
85
|
+
} catch {
|
|
86
|
+
return failure(400, "line_request_invalid");
|
|
87
|
+
}
|
|
88
|
+
const immutable = Object.freeze({ ...input, sender: Object.freeze({ ...input.sender }) });
|
|
89
|
+
try {
|
|
90
|
+
const { target } = authenticated;
|
|
91
|
+
await options.authorize(target, immutable);
|
|
92
|
+
let observed = await options.read(target, immutable);
|
|
93
|
+
if (observed.state === "missing") {
|
|
94
|
+
if (immutable.acceptedExecutionId !== void 0)
|
|
95
|
+
return failure(503, "accepted_execution_unavailable");
|
|
96
|
+
await options.authorize(target, immutable);
|
|
97
|
+
await options.admit(target, immutable);
|
|
98
|
+
observed = await options.read(target, immutable);
|
|
99
|
+
if (observed.state === "missing") observed = { state: "pending", admitted: false };
|
|
100
|
+
}
|
|
101
|
+
await options.authorize(target, immutable);
|
|
102
|
+
const result = parseLineApplicationResult({
|
|
103
|
+
...observed,
|
|
104
|
+
version: 1,
|
|
105
|
+
binding: input.binding,
|
|
106
|
+
messageId: input.messageId,
|
|
107
|
+
attachmentId: input.attachmentId
|
|
108
|
+
}, input);
|
|
109
|
+
return Response.json(result, { headers: { "cache-control": "no-store" } });
|
|
110
|
+
} catch (error) {
|
|
111
|
+
return error instanceof Response ? error : failure(503, "line_application_unavailable");
|
|
112
|
+
}
|
|
113
|
+
};
|
|
114
|
+
}
|
|
115
|
+
function failure(status, code) {
|
|
116
|
+
return Response.json({ error: { code } }, { status, headers: { "cache-control": "no-store" } });
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
export {
|
|
120
|
+
attachWorkspaceLine,
|
|
121
|
+
publicApplicationSenderVerification,
|
|
122
|
+
createApplicationLineHandler
|
|
123
|
+
};
|
|
124
|
+
//# sourceMappingURL=chunk-6RWQ4VW5.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/hosted-agent/application.ts","../src/hosted-agent/workspace-line.ts","../src/hosted-agent/application-verification.ts"],"sourcesContent":["import { parseJsonObjectBody } from '../web/core'\nimport {\n LINE_APPLICATION_REQUEST_MAX_BYTES,\n parseLineApplicationRequest,\n parseLineApplicationResult,\n type LineApplicationRequest,\n type LineApplicationResult,\n type LineApplicationState,\n} from '@tangle-network/sandbox/core'\n\nexport { attachWorkspaceLine } from './workspace-line'\nexport { publicApplicationSenderVerification } from './application-verification'\nexport type { ApplicationOwnerLines } from './workspace-line'\nexport type { ApplicationSenderVerification, ApplicationSenderVerificationStart, OwnerApplicationSenderVerification } from './application-verification'\n\n/** Missing is an affirmative storage observation, never an error fallback. */\nexport type ApplicationLineObservation = LineApplicationState | { state: 'missing' }\n\nexport interface ApplicationLineOptions<T> {\n /** Authenticate before consuming the body. It must not trust model-supplied identity. */\n authenticate(request: Request): Promise<{ binding: string; target: T }>\n /** Recheck live binding, membership, owner authority and exact retained message. */\n authorize(target: T, input: Readonly<LineApplicationRequest>): Promise<void>\n /** Observe the application's existing durable turn, transcript and outputs. */\n read(target: T, input: Readonly<LineApplicationRequest>): Promise<ApplicationLineObservation>\n /**\n * Enter the normal persisted chat route using input.messageId as its stable\n * client turn identity. That route owns admission, locks and completion.\n * This callback MUST deduplicate that identity across concurrent requests.\n */\n admit(target: T, input: Readonly<LineApplicationRequest>): Promise<void>\n}\n\n/** One bounded pass from the native Lines worker into the application's existing execution path. */\nexport function createApplicationLineHandler<T>(options: ApplicationLineOptions<T>) {\n return async (request: Request): Promise<Response> => {\n if (request.method !== 'POST') return failure(405, 'method_not_allowed')\n let authenticated: { binding: string; target: T }\n try {\n authenticated = await options.authenticate(request)\n } catch (error) {\n return error instanceof Response ? error : failure(503, 'line_authentication_unavailable')\n }\n let input: LineApplicationRequest\n try {\n if (request.headers.get('content-type')?.split(';')[0]?.trim().toLowerCase() !== 'application/json')\n return failure(415, 'json_required')\n const [body, error] = await parseJsonObjectBody(request, { maxBytes: LINE_APPLICATION_REQUEST_MAX_BYTES })\n if (error) return error\n input = parseLineApplicationRequest(body)\n if (input.binding !== authenticated.binding) return failure(403, 'line_binding_mismatch')\n if (request.headers.get('idempotency-key') !== `line-application:${input.messageId}`)\n return failure(400, 'idempotency_key_mismatch')\n } catch {\n return failure(400, 'line_request_invalid')\n }\n // A viewer's AbortSignal must not cancel the accepted application task.\n const immutable = Object.freeze({ ...input, sender: Object.freeze({ ...input.sender }) })\n try {\n const { target } = authenticated\n await options.authorize(target, immutable)\n let observed = await options.read(target, immutable)\n if (observed.state === 'missing') {\n if (immutable.acceptedExecutionId !== undefined)\n return failure(503, 'accepted_execution_unavailable')\n // The read may yield to revocation; check again before admitting work.\n await options.authorize(target, immutable)\n await options.admit(target, immutable)\n observed = await options.read(target, immutable)\n if (observed.state === 'missing') observed = { state: 'pending', admitted: false }\n }\n // Reading or admitting work may yield to a disconnect or member revocation.\n await options.authorize(target, immutable)\n const result: LineApplicationResult = parseLineApplicationResult({\n ...observed, version: 1, binding: input.binding,\n messageId: input.messageId, attachmentId: input.attachmentId,\n }, input)\n return Response.json(result, { headers: { 'cache-control': 'no-store' } })\n } catch (error) {\n // Unavailable authoritative state is not permission to start a new task.\n return error instanceof Response ? error : failure(503, 'line_application_unavailable')\n }\n }\n}\n\nfunction failure(status: number, code: string): Response {\n return Response.json({ error: { code } }, { status, headers: { 'cache-control': 'no-store' } })\n}\n","import type { LineApplication, LineAttachment, SandboxInstance } from '@tangle-network/sandbox/core'\nimport type { OwnerApplicationSenderVerification } from './application-verification'\n\nexport interface ApplicationOwnerLines {\n /** Read with the same owner API key that started TEST and will attach. */\n getSenderVerification(lineId: string, testId: string): Promise<OwnerApplicationSenderVerification>\n}\n\n/** Attach a proved handset to the application's normal chat path. Platform\n * atomically consumes the one-use proof and checks this owner key again. */\nexport async function attachWorkspaceLine(input: {\n box: Pick<SandboxInstance, 'lines'>\n ownerLines: ApplicationOwnerLines\n lineId: string\n senderVerificationId: string\n application: LineApplication\n turnsPerDay?: number\n}): Promise<LineAttachment> {\n if (!/^lsv_[A-Za-z0-9_-]+$/.test(input.senderVerificationId)) {\n throw new TypeError('A valid sender verification id is required')\n }\n const verification = await input.ownerLines.getSenderVerification(input.lineId, input.senderVerificationId)\n const expiresAt = new Date(verification.expiresAt).getTime()\n if (verification.lineId !== input.lineId || verification.testId !== input.senderVerificationId\n || verification.state !== 'verified' || !verification.proof.signedInboundTestAt\n || !verification.proof.providerReplyAcknowledgedAt || !verification.proof.signedInboundConfirmAt\n || !Number.isFinite(expiresAt) || expiresAt <= Date.now()) {\n throw new TypeError('The selected line has no current verified sender proof')\n }\n const address = verification.approvedSender?.trim() ?? ''\n const turnsPerDay = input.turnsPerDay ?? 20\n if (!/^\\+[1-9]\\d{6,14}$/.test(address)) {\n throw new TypeError('The verified sender must be an E.164 phone number')\n }\n if (!Number.isSafeInteger(turnsPerDay) || turnsPerDay < 1 || turnsPerDay > 10_000) {\n throw new TypeError('A daily turn limit between 1 and 10000 is required')\n }\n const url = new URL(input.application.url)\n if (url.protocol !== 'https:' || url.username || url.password || url.hash) {\n throw new TypeError('The application callback must use HTTPS without URL credentials or a fragment')\n }\n if (!/^[\\x21-\\x7e]{1,1024}$/.test(input.application.binding)\n || !/^[\\x21-\\x7e]{16,512}$/.test(input.application.secret)) {\n throw new TypeError('A binding and a header-safe callback credential are required')\n }\n const attachment = {\n number: input.lineId,\n senderVerificationId: input.senderVerificationId,\n mode: 'personal',\n members: [{ address, role: 'owner' }],\n unknownSenders: 'reject',\n roles: { owner: { context: 'own', tools: 'act' } },\n respond: { kind: 'agent', application: { ...input.application } },\n limits: { turnsPerMemberPerDay: turnsPerDay },\n } satisfies Parameters<SandboxInstance['lines']['attach']>[0] & { senderVerificationId: string }\n return input.box.lines.attach(attachment)\n}\n","/** Public TEST data. The private CONFIRM reply is never returned to a browser. */\nexport interface ApplicationSenderVerificationStart {\n lineId: string\n testId: string\n state: 'awaiting_test'\n testText: string\n expiresAt: string\n}\n\n/** Browser-safe status from the owner server. No sender address is present. */\nexport interface ApplicationSenderVerification {\n lineId: string\n testId: string\n state: 'awaiting_test' | 'sending' | 'challenge_sent' | 'verified'\n | 'consumed' | 'cancelled' | 'superseded' | 'failed' | 'expired'\n expiresAt: string\n proof: {\n signedInboundTestAt: string | null\n providerReplyAcknowledgedAt: string | null\n signedInboundConfirmAt: string | null\n }\n}\n\n/** The owner-key SDK read includes the confirmed sender for the attach helper. */\nexport interface OwnerApplicationSenderVerification extends ApplicationSenderVerification {\n approvedSender?: string\n}\n\n/** Use at the host response boundary so approvedSender cannot enter page state. */\nexport function publicApplicationSenderVerification(\n result: OwnerApplicationSenderVerification,\n): ApplicationSenderVerification {\n return {\n lineId: result.lineId,\n testId: result.testId,\n state: result.state,\n expiresAt: result.expiresAt,\n proof: {\n signedInboundTestAt: result.proof.signedInboundTestAt,\n providerReplyAcknowledgedAt: result.proof.providerReplyAcknowledgedAt,\n signedInboundConfirmAt: result.proof.signedInboundConfirmAt,\n },\n }\n}\n"],"mappings":";;;;;AACA;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,OAIK;;;ACEP,eAAsB,oBAAoB,OAOd;AAC1B,MAAI,CAAC,uBAAuB,KAAK,MAAM,oBAAoB,GAAG;AAC5D,UAAM,IAAI,UAAU,4CAA4C;AAAA,EAClE;AACA,QAAM,eAAe,MAAM,MAAM,WAAW,sBAAsB,MAAM,QAAQ,MAAM,oBAAoB;AAC1G,QAAM,YAAY,IAAI,KAAK,aAAa,SAAS,EAAE,QAAQ;AAC3D,MAAI,aAAa,WAAW,MAAM,UAAU,aAAa,WAAW,MAAM,wBACrE,aAAa,UAAU,cAAc,CAAC,aAAa,MAAM,uBACzD,CAAC,aAAa,MAAM,+BAA+B,CAAC,aAAa,MAAM,0BACvE,CAAC,OAAO,SAAS,SAAS,KAAK,aAAa,KAAK,IAAI,GAAG;AAC3D,UAAM,IAAI,UAAU,wDA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,SAAS;AACrC,mBAAW,MAAM,QAAQ,KAAK,QAAQ,SAAS;AAC/C,YAAI,SAAS,UAAU,UAAW,YAAW,EAAE,OAAO,WAAW,UAAU,MAAM;AAAA,MACnF;AAEA,YAAM,QAAQ,UAAU,QAAQ,SAAS;AACzC,YAAM,SAAgC,2BAA2B;AAAA,QAC/D,GAAG;AAAA,QAAU,SAAS;AAAA,QAAG,SAAS,MAAM;AAAA,QACxC,WAAW,MAAM;AAAA,QAAW,cAAc,MAAM;AAAA,MAClD,GAAG,KAAK;AACR,aAAO,SAAS,KAAK,QAAQ,EAAE,SAAS,EAAE,iBAAiB,WAAW,EAAE,CAAC;AAAA,IAC3E,SAAS,OAAO;AAEd,aAAO,iBAAiB,WAAW,QAAQ,QAAQ,KAAK,8BAA8B;AAAA,IACxF;AAAA,EACF;AACF;AAEA,SAAS,QAAQ,QAAgB,MAAwB;AACvD,SAAO,SAAS,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,GAAG,EAAE,QAAQ,SAAS,EAAE,iBAAiB,WAAW,EAAE,CAAC;AAChG;","names":[]}
|
|
@@ -10,7 +10,7 @@ var ToolInputError = class extends Error {
|
|
|
10
10
|
status;
|
|
11
11
|
};
|
|
12
12
|
|
|
13
|
-
// node_modules/.pnpm/@tangle-network+ui@11.
|
|
13
|
+
// node_modules/.pnpm/@tangle-network+ui@11.12.0_@hocuspocus+provider@4.6.0_y-protocols@1.0.7_yjs@13.6.32__yj_97c098a112ed3e7335ab73261372ba5a/node_modules/@tangle-network/ui/dist/schema-BpW9rSSG.js
|
|
14
14
|
var __defProp = Object.defineProperty;
|
|
15
15
|
var __exportAll = (all, no_symbols) => {
|
|
16
16
|
let target = {};
|
|
@@ -9726,4 +9726,4 @@ export {
|
|
|
9726
9726
|
OPENUI_NODE_JSON_SCHEMA,
|
|
9727
9727
|
validateOpenUIJsonNode
|
|
9728
9728
|
};
|
|
9729
|
-
//# sourceMappingURL=chunk-
|
|
9729
|
+
//# sourceMappingURL=chunk-CNI46COH.js.map
|