@jsb188/llm-router 0.0.0-stage → 1.1.13

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.
@@ -0,0 +1,346 @@
1
+ import type Anthropic from '@anthropic-ai/sdk';
2
+ import type { LLM } from '../types.ts';
3
+ import { makeAnthropicResponseItemId } from './_provider.helpers.ts';
4
+ import { decodeAnthropicThinking, encodeAnthropicThinking, getAnthropicReasoningParams } from './anthropic.reasoning.helpers.ts';
5
+
6
+ const FILE_CONSTANTS = {
7
+ requestKeys: new Set([
8
+ 'model',
9
+ 'input',
10
+ 'instructions',
11
+ 'stream',
12
+ 'max_output_tokens',
13
+ 'tools',
14
+ 'tool_choice',
15
+ 'parallel_tool_calls',
16
+ 'text',
17
+ 'reasoning',
18
+ 'store',
19
+ 'include',
20
+ 'service_tier',
21
+ 'safety_identifier',
22
+ 'prompt_cache_key',
23
+ 'prompt_cache_options',
24
+ ]),
25
+ imageTypes: new Set(['image/jpeg', 'image/png', 'image/gif', 'image/webp']),
26
+ toolKeys: new Set(['type', 'name', 'description', 'parameters', 'strict', 'defer_loading']),
27
+ textKeys: new Set(['format', 'verbosity']),
28
+ formatKeys: new Set(['type', 'name', 'description', 'schema', 'strict']),
29
+ };
30
+
31
+ /* Reject unknown controls before translating an object so future API features are never silently discarded. */
32
+ function rejectUnknownKeys(value: Record<string, unknown>, allowed: Set<string>, path: string): void {
33
+ const unknown = Object.entries(value).filter(([key, item]) => item !== undefined && !allowed.has(key)).map(([key]) =>
34
+ `${path}.${key}`
35
+ );
36
+ if (unknown.length) throw new Error(`Unsupported Anthropic request fields: ${unknown.join(', ')}.`);
37
+ }
38
+
39
+ /* Require an object before reading an untyped request, schema, or content part. */
40
+ function asRecord(value: unknown, path: string): Record<string, unknown> {
41
+ if (!value || typeof value !== 'object' || Array.isArray(value)) throw new Error(`Anthropic requires an object at ${path}.`);
42
+ return value as Record<string, unknown>;
43
+ }
44
+
45
+ /* Require a nonempty provider identifier or content string. */
46
+ function asString(value: unknown, path: string): string {
47
+ if (typeof value !== 'string' || !value.length) throw new Error(`Anthropic requires a nonempty string at ${path}.`);
48
+ return value;
49
+ }
50
+
51
+ /* Map a public image URL or base64 data URL without forwarding another provider's file identifiers. */
52
+ function toAnthropicImage(part: Record<string, unknown>): Anthropic.ImageBlockParam {
53
+ if (part.file_id != null) throw new Error('Anthropic cannot use an OpenAI image file_id.');
54
+ if (part.detail != null && part.detail !== 'auto') throw new Error('Anthropic images support automatic detail selection only.');
55
+ const url = asString(part.image_url, 'input_image.image_url');
56
+ if (url.startsWith('data:')) {
57
+ const match = /^data:(image\/[a-z]+);base64,([A-Za-z0-9+/=\r\n]+)$/.exec(url);
58
+ if (!match || !FILE_CONSTANTS.imageTypes.has(match[1])) throw new Error('Unsupported Anthropic base64 image format.');
59
+ return {
60
+ type: 'image',
61
+ source: { type: 'base64', media_type: match[1] as Anthropic.Base64ImageSource['media_type'], data: match[2] },
62
+ };
63
+ }
64
+ if (!/^https?:\/\//i.test(url)) throw new Error('Anthropic images require an HTTP(S) URL or base64 data URL.');
65
+ return { type: 'image', source: { type: 'url', url } };
66
+ }
67
+
68
+ /* Translate supported message and tool-result content, rejecting unsupported parts instead of losing evidence. */
69
+ function toAnthropicContent(content: unknown, images: boolean): Array<Anthropic.TextBlockParam | Anthropic.ImageBlockParam> {
70
+ if (typeof content === 'string') return [{ type: 'text', text: asString(content, 'content') }];
71
+ if (!Array.isArray(content) || !content.length) throw new Error('Anthropic message content must be nonempty.');
72
+ return content.map((value) => {
73
+ const part = asRecord(value, 'content');
74
+ if (part.type === 'input_text' || part.type === 'output_text') return { type: 'text', text: asString(part.text, 'content.text') };
75
+ if (part.type === 'refusal') return { type: 'text', text: asString(part.refusal, 'content.refusal') };
76
+ if (part.type === 'input_image' && images) return toAnthropicImage(part);
77
+ throw new Error(`Unsupported Anthropic content part: ${String(part.type)}.`);
78
+ });
79
+ }
80
+
81
+ /* Merge adjacent roles so parallel tool calls and their results form one assistant/user pair. */
82
+ function appendAnthropicMessage(
83
+ messages: Anthropic.MessageParam[],
84
+ role: 'user' | 'assistant',
85
+ content: Anthropic.ContentBlockParam[],
86
+ ): void {
87
+ const previous = messages.at(-1);
88
+ if (previous?.role === role && Array.isArray(previous.content)) previous.content.push(...content);
89
+ else messages.push({ role, content });
90
+ }
91
+
92
+ /* Validate that tool results immediately and completely answer the preceding assistant tool calls. */
93
+ function validateAnthropicToolTurns(messages: Anthropic.MessageParam[]): void {
94
+ let pending = new Set<string>();
95
+ for (const message of messages) {
96
+ const content = message.content as Anthropic.ContentBlockParam[];
97
+ let sawOtherContent = false;
98
+ for (const block of content) {
99
+ if (block.type === 'tool_result') {
100
+ if (message.role !== 'user' || sawOtherContent || !pending.delete(block.tool_use_id)) {
101
+ throw new Error('Anthropic tool results must immediately answer each preceding tool call exactly once.');
102
+ }
103
+ } else {
104
+ if (pending.size) throw new Error('Anthropic requires every pending tool result before another message.');
105
+ sawOtherContent = true;
106
+ }
107
+ }
108
+ if (pending.size) throw new Error('Anthropic requires all parallel tool results in the same user message.');
109
+ for (const block of content) {
110
+ if (block.type !== 'tool_use') continue;
111
+ if (message.role !== 'assistant' || pending.has(block.id)) {
112
+ throw new Error('Anthropic tool calls must have distinct IDs in an assistant message.');
113
+ }
114
+ pending.add(block.id);
115
+ }
116
+ }
117
+ if (pending.size) throw new Error('Anthropic requires results for the pending tool calls.');
118
+ }
119
+
120
+ /* Translate the full stateless history while retaining instruction order and function-call identities. */
121
+ function toAnthropicConversation(params: Partial<LLM.RequestParams>): Pick<Anthropic.MessageCreateParams, 'messages' | 'system'> {
122
+ const messages: Anthropic.MessageParam[] = [];
123
+ const system: Anthropic.TextBlockParam[] = [];
124
+ if (params.instructions) system.push({ type: 'text', text: params.instructions });
125
+ const input = typeof params.input === 'string' ? [{ role: 'user', content: params.input }] : params.input ?? [];
126
+ for (const value of input) {
127
+ const item = asRecord(value, 'input');
128
+ if (item.type === 'reasoning') {
129
+ appendAnthropicMessage(messages, 'assistant', [decodeAnthropicThinking(item.encrypted_content)]);
130
+ } else if (item.type === 'function_call') {
131
+ if (item.namespace != null) throw new Error('Anthropic does not support OpenAI function namespaces.');
132
+ const args = asRecord(JSON.parse(asString(item.arguments, 'function_call.arguments')), 'function_call.arguments');
133
+ appendAnthropicMessage(messages, 'assistant', [{
134
+ type: 'tool_use',
135
+ id: asString(item.call_id, 'function_call.call_id'),
136
+ name: asString(item.name, 'function_call.name'),
137
+ input: args,
138
+ }]);
139
+ } else if (item.type === 'function_call_output') {
140
+ // Empty string tool results are meaningful and accepted by the native API.
141
+ const content = typeof item.output === 'string' ? item.output : toAnthropicContent(item.output, true);
142
+ appendAnthropicMessage(messages, 'user', [{
143
+ type: 'tool_result',
144
+ tool_use_id: asString(item.call_id, 'function_call_output.call_id'),
145
+ content,
146
+ }]);
147
+ } else if (item.type === undefined || item.type === 'message') {
148
+ if (item.role === 'system' || item.role === 'developer') {
149
+ if (messages.length) {
150
+ throw new Error('Anthropic cannot preserve system/developer messages inserted after conversation history.');
151
+ }
152
+ system.push(...toAnthropicContent(item.content, false) as Anthropic.TextBlockParam[]);
153
+ } else if (item.role === 'user' || item.role === 'assistant') {
154
+ appendAnthropicMessage(messages, item.role, toAnthropicContent(item.content, item.role === 'user'));
155
+ } else throw new Error(`Unsupported Anthropic message role: ${String(item.role)}.`);
156
+ } else throw new Error(`Unsupported Anthropic input item: ${String(item.type)}.`);
157
+ }
158
+ if (!messages.length) throw new Error('Anthropic requires at least one user message.');
159
+ if (messages[0].role !== 'user' || messages.at(-1)?.role !== 'user') {
160
+ throw new Error('Anthropic conversations must begin and end with a user message; assistant prefilling is unsupported.');
161
+ }
162
+ validateAnthropicToolTurns(messages);
163
+ return { messages, ...(system.length ? { system } : {}) };
164
+ }
165
+
166
+ /* Translate function definitions without changing their JSON schema or strictness. */
167
+ function toAnthropicTools(tools: LLM.RequestParams['tools']): Anthropic.Tool[] | undefined {
168
+ return tools?.map((value) => {
169
+ const tool = asRecord(value, 'tools');
170
+ if (tool.type !== 'function' || tool.defer_loading || tool.namespace != null) {
171
+ throw new Error('Anthropic currently supports eager, unnamespaced function tools only.');
172
+ }
173
+ rejectUnknownKeys(tool, FILE_CONSTANTS.toolKeys, 'tools');
174
+ const schema = tool.parameters == null
175
+ ? { type: 'object', properties: {}, additionalProperties: false }
176
+ : asRecord(tool.parameters, 'tools.parameters');
177
+ if (schema.type !== 'object') throw new Error('Anthropic function tools require an object parameter schema.');
178
+ return {
179
+ name: asString(tool.name, 'tools.name'),
180
+ ...(tool.description ? { description: String(tool.description) } : {}),
181
+ input_schema: schema as Anthropic.Tool['input_schema'],
182
+ ...(typeof tool.strict === 'boolean' ? { strict: tool.strict } : {}),
183
+ };
184
+ });
185
+ }
186
+
187
+ /* Map explicit function selection and parallel execution policy into the native tool-choice object. */
188
+ function toAnthropicToolChoice(params: Partial<LLM.RequestParams>): Anthropic.ToolChoice | undefined {
189
+ const choice = params.tool_choice;
190
+ if (choice === 'none') return { type: 'none' };
191
+ const parallel = params.parallel_tool_calls === undefined ? {} : { disable_parallel_tool_use: !params.parallel_tool_calls };
192
+ if (choice === undefined) return params.tools?.length ? { type: 'auto', ...parallel } : undefined;
193
+ if (choice === 'auto') return { type: 'auto', ...parallel };
194
+ if (choice === 'required') return { type: 'any', ...parallel };
195
+ if (typeof choice === 'object' && choice.type === 'function') {
196
+ rejectUnknownKeys(asRecord(choice, 'tool_choice'), new Set(['type', 'name']), 'tool_choice');
197
+ return { type: 'tool', name: asString(choice.name, 'tool_choice.name'), ...parallel };
198
+ }
199
+ throw new Error('Unsupported Anthropic tool_choice.');
200
+ }
201
+
202
+ /* Collect provider-specific preflight errors without requiring a configured model or sending any request. */
203
+ export function getAnthropicRequestErrors(params: Partial<LLM.RequestParams>, method: 'create' | 'parse' = 'create'): string[] {
204
+ const errors = Object.entries(params).filter(([key, value]) => value !== undefined && !FILE_CONSTANTS.requestKeys.has(key)).map((
205
+ [key],
206
+ ) => key);
207
+ if (params.include?.some((value) => value !== 'reasoning.encrypted_content')) errors.push('include');
208
+ if (method === 'parse' && params.stream) errors.push('stream is unsupported for structured parsing');
209
+ if (params.max_output_tokens != null && (!Number.isSafeInteger(params.max_output_tokens) || params.max_output_tokens <= 0)) {
210
+ errors.push('max_output_tokens');
211
+ }
212
+ const format = params.text?.format;
213
+ if (format && format.type !== 'text' && format.type !== 'json_schema') errors.push(`text.format:${format.type}`);
214
+ if (
215
+ method === 'parse' && format?.type === 'json_schema' &&
216
+ typeof (format as unknown as { $parseRaw?: unknown }).$parseRaw !== 'function'
217
+ ) errors.push('text.format:json_schema requires a guarded parser');
218
+ for (
219
+ const validate of [
220
+ () => toAnthropicConversation(params),
221
+ () => toAnthropicTools(params.tools),
222
+ () => toAnthropicToolChoice(params),
223
+ () => getAnthropicReasoningParams(params),
224
+ () => params.text && rejectUnknownKeys(asRecord(params.text, 'text'), FILE_CONSTANTS.textKeys, 'text'),
225
+ () => format && rejectUnknownKeys(asRecord(format, 'text.format'), FILE_CONSTANTS.formatKeys, 'text.format'),
226
+ ]
227
+ ) {
228
+ try {
229
+ validate();
230
+ } catch (error) {
231
+ errors.push(error instanceof Error ? error.message : String(error));
232
+ }
233
+ }
234
+ return errors;
235
+ }
236
+
237
+ /* Convert the shared Responses request into native Messages controls and preserve signed thinking across tool turns. */
238
+ export function toAnthropicParams(params: LLM.RequestParams): Anthropic.MessageCreateParams {
239
+ const errors = getAnthropicRequestErrors(params);
240
+ if (errors.length) throw new Error(`Unsupported Anthropic request: ${errors.join('; ')}`);
241
+ const format = params.text?.format;
242
+ const reasoning = getAnthropicReasoningParams(params);
243
+ const outputConfig = {
244
+ ...reasoning.output_config,
245
+ ...(format?.type === 'json_schema' ? { format: { type: 'json_schema' as const, schema: format.schema } } : {}),
246
+ };
247
+ return {
248
+ model: asString(params.model, 'model'),
249
+ ...reasoning,
250
+ ...toAnthropicConversation(params),
251
+ stream: params.stream ?? false,
252
+ ...(params.tools?.length ? { tools: toAnthropicTools(params.tools) } : {}),
253
+ ...(toAnthropicToolChoice(params) ? { tool_choice: toAnthropicToolChoice(params) } : {}),
254
+ ...(Object.keys(outputConfig).length ? { output_config: outputConfig } : {}),
255
+ };
256
+ }
257
+
258
+ /* Normalize one supported native content block with stable IDs shared by streaming and non-streaming responses. */
259
+ export function fromAnthropicContentBlock(block: Anthropic.ContentBlock, messageId: string, index: number): LLM.OutputItem {
260
+ const id = makeAnthropicResponseItemId(messageId, index);
261
+ if (block.type === 'thinking' || block.type === 'redacted_thinking') {
262
+ return {
263
+ id,
264
+ type: 'reasoning',
265
+ status: 'completed',
266
+ summary: block.type === 'thinking' ? [{ type: 'summary_text', text: block.thinking }] : [],
267
+ encrypted_content: encodeAnthropicThinking(block),
268
+ };
269
+ }
270
+ if (block.type === 'text') {
271
+ return {
272
+ id,
273
+ type: 'message',
274
+ role: 'assistant',
275
+ status: 'completed',
276
+ content: [{ type: 'output_text', text: block.text, annotations: [] }],
277
+ };
278
+ }
279
+ if (block.type === 'tool_use') {
280
+ return {
281
+ id,
282
+ type: 'function_call',
283
+ call_id: block.id,
284
+ name: block.name,
285
+ arguments: JSON.stringify(block.input),
286
+ status: 'completed',
287
+ };
288
+ }
289
+ throw new Error(`Unsupported Anthropic response block: ${block.type}.`);
290
+ }
291
+
292
+ /* Normalize token accounting while preserving separately billed cache creation and cache read quantities. */
293
+ function fromAnthropicUsage(usage: Anthropic.Usage): LLM.Usage {
294
+ const cached = usage.cache_read_input_tokens ?? 0;
295
+ const created = usage.cache_creation_input_tokens ?? 0;
296
+ const input = usage.input_tokens + cached + created;
297
+ const details = { cached_tokens: cached, cache_write_tokens: created };
298
+ return {
299
+ input_tokens: input,
300
+ input_tokens_details: details,
301
+ output_tokens: usage.output_tokens,
302
+ output_tokens_details: { reasoning_tokens: usage.output_tokens_details?.thinking_tokens ?? 0 },
303
+ total_tokens: input + usage.output_tokens,
304
+ };
305
+ }
306
+
307
+ /* Preserve terminal status, refusals, tool-call identities and usage in the router's existing response contract. */
308
+ export function fromAnthropicMessage(message: Anthropic.Message, params: LLM.RequestParams): LLM.Response {
309
+ const completed = ['end_turn', 'tool_use', 'stop_sequence', 'refusal'].includes(message.stop_reason ?? '');
310
+ const refused = message.stop_reason === 'refusal';
311
+ const truncated = message.stop_reason === 'max_tokens' || message.stop_reason === 'model_context_window_exceeded';
312
+ const output = message.content.map((block, index) => {
313
+ const item = fromAnthropicContentBlock(block, message.id, index);
314
+ if (completed && item.type === 'reasoning') decodeAnthropicThinking(item.encrypted_content);
315
+ if (!completed && (item.type === 'message' || item.type === 'function_call' || item.type === 'reasoning')) {
316
+ item.status = 'incomplete';
317
+ }
318
+ if (refused && item.type === 'message') item.content = [{ type: 'refusal', refusal: block.type === 'text' ? block.text : '' }];
319
+ return item;
320
+ });
321
+ return {
322
+ id: message.id,
323
+ object: 'response',
324
+ access_programs: null,
325
+ created_at: Math.floor(Date.now() / 1000),
326
+ model: message.model,
327
+ status: completed ? 'completed' : 'incomplete',
328
+ error: null,
329
+ incomplete_details: truncated ? { reason: 'max_output_tokens' } : null,
330
+ output,
331
+ output_text: output.flatMap((item) =>
332
+ item.type === 'message' ? item.content.flatMap((part) => part.type === 'output_text' ? [part.text] : []) : []
333
+ ).join(''),
334
+ usage: fromAnthropicUsage(message.usage),
335
+ instructions: params.instructions ?? null,
336
+ max_output_tokens: getAnthropicReasoningParams(params).max_tokens,
337
+ reasoning: params.reasoning ?? null,
338
+ parallel_tool_calls: params.parallel_tool_calls ?? true,
339
+ tool_choice: params.tool_choice ?? 'auto',
340
+ tools: params.tools ?? [],
341
+ text: params.text ?? { format: { type: 'text' } },
342
+ metadata: null,
343
+ temperature: null,
344
+ top_p: null,
345
+ };
346
+ }
@@ -0,0 +1,75 @@
1
+ import type Anthropic from '@anthropic-ai/sdk';
2
+ import type { LLM } from '../types.ts';
3
+ import { getResolvedModelReasoningPolicy, mapCompatibleReasoningEffort } from '../policy/models.ts';
4
+ import { ANTHROPIC_REASONING_PREFIX } from './_provider.helpers.ts';
5
+
6
+ const FILE_CONSTANTS = {
7
+ reasoningKeys: new Set(['effort', 'summary', 'generate_summary']),
8
+ };
9
+
10
+ /* Preserve the provider's signed or redacted block as an opaque, provider-marked replay value. */
11
+ export function encodeAnthropicThinking(block: Anthropic.ThinkingBlock | Anthropic.RedactedThinkingBlock): string {
12
+ return ANTHROPIC_REASONING_PREFIX + JSON.stringify(block);
13
+ }
14
+
15
+ /* Restore only complete Anthropic thinking blocks; foreign provider state must never enter Messages history. */
16
+ export function decodeAnthropicThinking(value: unknown): Anthropic.ThinkingBlockParam | Anthropic.RedactedThinkingBlockParam {
17
+ if (typeof value !== 'string' || !value.startsWith(ANTHROPIC_REASONING_PREFIX)) {
18
+ throw new Error('Anthropic reasoning history requires its original provider-specific encrypted_content.');
19
+ }
20
+ const block: unknown = JSON.parse(value.slice(ANTHROPIC_REASONING_PREFIX.length));
21
+ if (block && typeof block === 'object' && !Array.isArray(block)) {
22
+ const item = block as Record<string, unknown>;
23
+ if (item.type === 'thinking' && typeof item.thinking === 'string' && typeof item.signature === 'string' && item.signature) {
24
+ return { type: 'thinking', thinking: item.thinking, signature: item.signature };
25
+ }
26
+ if (item.type === 'redacted_thinking' && typeof item.data === 'string' && item.data) {
27
+ return { type: 'redacted_thinking', data: item.data };
28
+ }
29
+ }
30
+ throw new Error('Anthropic reasoning history contains an invalid or unfinished thinking block.');
31
+ }
32
+
33
+ /* Translate a resolved effort into native thinking controls without silently shrinking a configured token budget. */
34
+ export function getAnthropicReasoningParams(
35
+ params: Partial<LLM.RequestParams>,
36
+ ): Pick<Anthropic.MessageCreateParams, 'thinking' | 'output_config' | 'max_tokens'> {
37
+ const reasoning = params.reasoning;
38
+ const unknown = Object.keys(reasoning ?? {}).filter((key) => !FILE_CONSTANTS.reasoningKeys.has(key));
39
+ if (unknown.length) throw new Error(`Unsupported Anthropic reasoning fields: ${unknown.join(', ')}.`);
40
+ if (!params.model) return { max_tokens: params.max_output_tokens ?? 4096 };
41
+ const policy = getResolvedModelReasoningPolicy(params.model, 'anthropic');
42
+ if (!policy) throw new Error(`Anthropic model ${params.model} requires an explicit reasoning policy.`);
43
+ const effort = reasoning?.effort ?? mapCompatibleReasoningEffort(params.model, 'none', 'anthropic');
44
+ if (!effort || !policy.supportedEfforts.includes(effort)) {
45
+ throw new Error(`Anthropic model ${params.model} does not support the resolved reasoning effort ${effort}.`);
46
+ }
47
+ const native = policy.anthropic;
48
+ if (effort === 'none') {
49
+ return { max_tokens: params.max_output_tokens ?? 4096, thinking: { type: 'disabled' } };
50
+ }
51
+ if (!native) throw new Error(`Anthropic model ${params.model} requires a native thinking configuration.`);
52
+ if (params.tool_choice === 'required' || typeof params.tool_choice === 'object' && params.tool_choice?.type === 'function') {
53
+ throw new Error('Anthropic thinking requires tool_choice auto or none; forced tool use may skip or reject thinking.');
54
+ }
55
+ const display = reasoning?.summary || reasoning?.generate_summary ? 'summarized' : 'omitted';
56
+ const budget = native.mode === 'budget' ? native.budgets?.[effort] : undefined;
57
+ if (native.mode === 'budget' && (budget == null || !Number.isSafeInteger(budget) || budget < 1024)) {
58
+ throw new Error(`Anthropic model ${params.model} requires a thinking budget of at least 1024 tokens for ${effort}.`);
59
+ }
60
+ const maxTokens = params.max_output_tokens ?? (budget === undefined ? 4096 : budget + 4096);
61
+ if (!Number.isSafeInteger(maxTokens) || maxTokens <= 0) {
62
+ throw new Error('Anthropic max_output_tokens must be a positive safe integer.');
63
+ }
64
+ if (budget !== undefined && budget >= maxTokens) {
65
+ throw new Error(`Anthropic max_output_tokens must exceed the ${effort} thinking budget of ${budget} tokens.`);
66
+ }
67
+ if (native.effort !== false && effort === 'minimal') {
68
+ throw new Error('Anthropic minimal reasoning requires mapping to a native effort or a budget-only policy.');
69
+ }
70
+ return {
71
+ max_tokens: maxTokens,
72
+ thinking: native.mode === 'adaptive' ? { type: 'adaptive', display } : { type: 'enabled', budget_tokens: budget!, display },
73
+ ...(native.effort !== false ? { output_config: { effort: effort as Anthropic.OutputConfig['effort'] } } : {}),
74
+ };
75
+ }