tradingview-gex-flashalpha 0.0.0-stage → 1.2.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.
@@ -0,0 +1,460 @@
1
+ import type { IChartApi, ISeriesApi } from 'lightweight-charts';
2
+
3
+ /** Bar resolutions. Gamma exposure levels are drawn on the intraday ones (`1m` to `1h`). */
4
+ export type Resolution = '1m' | '5m' | '15m' | '1h' | '1d' | '1w';
5
+
6
+ /** `rth` regular hours, `eth` with pre-market and after-hours. */
7
+ export type Session = 'rth' | 'eth';
8
+
9
+ /** `auto` follows the reader's `prefers-color-scheme`. */
10
+ export type Theme = 'dark' | 'light' | 'auto';
11
+
12
+ /** FlashAlpha plans, lowest first. */
13
+ export type Plan = 'free' | 'basic' | 'growth' | 'alpha' | 'enterprise';
14
+
15
+ /** The lightweight-charts 5 module (`import * as LightweightCharts from 'lightweight-charts'`). */
16
+ export type LightweightChartsModule = typeof import('lightweight-charts');
17
+
18
+ /** One OHLCV bar. Times are UTC ISO 8601 strings. */
19
+ export interface Bar {
20
+ ts: string;
21
+ open: number | null;
22
+ high: number | null;
23
+ low: number | null;
24
+ close: number | null;
25
+ volume?: number | null;
26
+ /**
27
+ * Where the bar comes from; `spot` marks candles built from exposure rows, `quotes` a bar built from quote mids (drawn
28
+ * muted, without volume, unless the symbol's `asset_class` is `index`).
29
+ */
30
+ source?: string;
31
+ }
32
+
33
+ /** Gamma exposure levels at one time. A `null` level is drawn as a gap. */
34
+ export interface ExposureRow {
35
+ ts: string;
36
+ call_wall?: number | null;
37
+ put_wall?: number | null;
38
+ /** Which walls the API sent: `oi` (most call / put open interest on each side of spot) or `gex` (gamma walls). */
39
+ walls?: 'oi' | 'gex' | null;
40
+ max_pain?: number | null;
41
+ /** A `status` other than `available` draws the flip in grey. */
42
+ gamma_flip?: { last: number | null; status?: string } | null;
43
+ /** Spot in the bucket: the chart draws muted candles from it after the last stored bar. */
44
+ spot?: { first: number | null; min: number | null; max: number | null; last: number | null } | null;
45
+ [column: string]: unknown;
46
+ }
47
+
48
+ /** An exposure row on a bar, as layer plugins see it (`ctx.exposure`). */
49
+ export interface ChartExposureRow extends ExposureRow {
50
+ /** The bar's chart time: ET wall-clock seconds written as UTC. */
51
+ time: number;
52
+ }
53
+
54
+ /** A session's close levels (`levels_daily`): drawn dashed over the next session. `ts` is the session date. */
55
+ export interface DailyLevelsRow {
56
+ ts: string;
57
+ call_wall?: number | null;
58
+ put_wall?: number | null;
59
+ /** As in `ExposureRow`. */
60
+ walls?: 'oi' | 'gex' | null;
61
+ gamma_flip?: number | null;
62
+ gamma_flip_status?: string | null;
63
+ max_pain?: number | null;
64
+ /** A status other than `ok` leaves a gap. */
65
+ status?: string;
66
+ }
67
+
68
+ /** The `charts()` answer. */
69
+ export interface ChartsResponse {
70
+ exposure?: ExposureRow[];
71
+ levels_daily?: DailyLevelsRow[];
72
+ /** Per API layer: data, or `{ status: 'gated' }` when the plan does not include it. */
73
+ layers?: Record<string, { status?: string; [k: string]: unknown }>;
74
+ /** The key's plan: layers above it are locked. */
75
+ plan?: Plan | string | null;
76
+ /** An error code or message; the chart shows it instead of an empty chart. */
77
+ error?: string;
78
+ [k: string]: unknown;
79
+ }
80
+
81
+ /** The `charts()` query: the API layers to read, the session, and parameters set by plugins (`ctx.setQuery`). */
82
+ export interface ChartsQuery {
83
+ layers: string[];
84
+ session: Session;
85
+ [param: string]: unknown;
86
+ }
87
+
88
+ type MaybePromise<T> = T | Promise<T>;
89
+
90
+ /** Where the chart reads its data. `chartEngineSource()` reads the FlashAlpha chart API; any backend with the same shapes works. */
91
+ export interface DataSource {
92
+ symbols(): MaybePromise<Array<{ symbol: string; last_bar?: string | null; first_bar?: string | null; asset_class?: string | null }>>;
93
+ /** `extra.sessions` (1D/5D intraday): the window is that many trading sessions ending at `toIso`; `fromIso` is an approximation. */
94
+ bars(symbol: string, resolution: Resolution, fromIso: string, toIso: string, session: Session, extra?: { sessions?: number }): MaybePromise<{ bars?: Bar[]; error?: string; message?: string }>;
95
+ charts(symbol: string, resolution: Resolution, fromIso: string, toIso: string, query: ChartsQuery): MaybePromise<ChartsResponse>;
96
+ }
97
+
98
+ /** Your logo instead of the TradingView logo on the chart, with a "Charts by TradingView" link under the chart. */
99
+ export interface Brand {
100
+ logo: string;
101
+ href: string;
102
+ name?: string;
103
+ }
104
+
105
+ export interface MountOptions {
106
+ /** Ticker. Default: the first symbol with data. */
107
+ symbol?: string | null;
108
+ /** Default `5m`. */
109
+ resolution?: Resolution;
110
+ /** Days to show; each resolution has a maximum. Default: per resolution. */
111
+ days?: number | null;
112
+ /** Default `rth`. */
113
+ session?: Session;
114
+ /**
115
+ * Layer ids: `levels`, `maxpain`, and ids of registered layer plugins. Default: none (price and volume only). The layers
116
+ * the reader picked last time (see `storage`) win over this.
117
+ */
118
+ layers?: string[];
119
+ /** `false` does not remember the reader's layers in localStorage. Default `true`. */
120
+ storage?: boolean;
121
+ /** The localStorage key of the remembered layers, to keep charts apart. Default `'tradingview-gex-flashalpha:layers'`. */
122
+ storageKey?: string;
123
+ /** `true` shows the Upgrade box over the chart while a layer that is on needs a higher plan. Default `false` (hidden for now). */
124
+ upsell?: boolean;
125
+ /** `false` hides the toolbar (and the Layout menu: one chart). */
126
+ controls?: boolean;
127
+ /** The Layout menu next to Settings: one to four charts. `false` mounts one chart. Default `true`. */
128
+ layouts?: boolean;
129
+ /** The layout the chart opens with; the reader's last pick (remembered) wins. Default `'1'`. */
130
+ layout?: LayoutId;
131
+ /** `false` hides the symbol dropdown (with its search box). */
132
+ symbolButtons?: boolean;
133
+ /** `false` draws candles only. */
134
+ exposure?: boolean;
135
+ /** Your own data. Default: the FlashAlpha chart API at `baseUrl`. */
136
+ source?: DataSource | null;
137
+ /** Chart API root. Default: same origin. */
138
+ baseUrl?: string;
139
+ /** FlashAlpha API key, sent as `X-Api-Key`. Default: the `setLicenseKey` value. */
140
+ apiKey?: string | null;
141
+ /** Seconds between refreshes while the page is visible; `0` turns refresh off. Default 60. */
142
+ refresh?: number;
143
+ /**
144
+ * `true` draws 1m to 1h candles and levels live from the chart API's WebSocket (`/v1/live`), with the FlashAlpha chart
145
+ * API as the source; while it is connected the refresh runs every 5 minutes. Default `false`.
146
+ */
147
+ live?: boolean;
148
+ /** Default `dark`. */
149
+ theme?: Theme;
150
+ /**
151
+ * Background colour. Default: per theme (CSS variable `--fac-bg`). A dark colour goes with the dark theme, a light one
152
+ * with the light theme (the other theme keeps its own); a colour that is not hex or rgb() goes with both.
153
+ */
154
+ background?: string | null;
155
+ /** Where locked layers and the Upgrade box link. Default: FlashAlpha pricing. */
156
+ upgradeUrl?: string;
157
+ /** `false` hides the toolbar's account button: "Sign up" without a plan, the plan's name with one. Default `true`. */
158
+ account?: boolean;
159
+ /** Where the toolbar's "Sign up" button and the signed-out "Sign up free" box link. Default: FlashAlpha pricing. */
160
+ signupUrl?: string;
161
+ /** Shows load status in the toolbar; `'latency'` also the live lag (p50/p95, receive minus the newest print). */
162
+ debug?: boolean | 'latency';
163
+ /** The line under the chart next to the credit; `''` hides it. Default: the model-estimate note. */
164
+ note?: string;
165
+ brand?: Brand | null;
166
+ /** The lightweight-charts module, when you import it instead of loading the script. Default: `window.LightweightCharts`. */
167
+ lightweightCharts?: LightweightChartsModule;
168
+ /** `false` does not add the chart's `<style>` to the page; load `tradingview-gex-flashalpha/style.css` yourself. Default `true`. */
169
+ injectCss?: boolean;
170
+ /** Plot styles by plot id, over the plugins' defaults, e.g. `{ callWall: { color: '#00c853', lineWidth: 2 } }`. */
171
+ styles?: Record<string, Partial<PlotStyle>> | null;
172
+ }
173
+
174
+ /** How a plot (an indicator line) is drawn; its layer's options (Style tab) change it. */
175
+ export interface PlotStyle {
176
+ color: string;
177
+ lineWidth: 1 | 2 | 3 | 4 | number;
178
+ lineStyle: 'solid' | 'dotted' | 'dashed';
179
+ visible: boolean;
180
+ /** The dotted line at the latest value. */
181
+ priceLine: boolean;
182
+ /** The label on the price scale. */
183
+ axisLabel: boolean;
184
+ }
185
+
186
+ /** A line a layer plugin draws, listed in its indicator's Style tab. Defaults: width 1, solid, visible, price line, label. */
187
+ export interface PlotDef extends Partial<PlotStyle> {
188
+ id: string;
189
+ title: string;
190
+ /** The layer id the plot belongs to. */
191
+ layer?: string;
192
+ /** Its colour (a `toggle` may have none: a switch only). */
193
+ color?: string;
194
+ /** Only a colour in the Style tab (a colour the plugin uses, not a series of its own). */
195
+ colorOnly?: boolean;
196
+ /** Only a switch and a colour in the Style tab (something the plugin shows or not, e.g. markers; no line of its own). */
197
+ toggle?: boolean;
198
+ }
199
+
200
+ /** A key-level item in the legend: label, value, the previous session's value, and a CSS class (`up`, `dn`). */
201
+ export interface LegendLevel {
202
+ label: string;
203
+ /** A number (with its change against `prev`), or a string shown as it is. */
204
+ value: number | string | null | undefined;
205
+ prev?: number | null;
206
+ cls?: string;
207
+ /** Writes a number and its change (default: two decimals), e.g. a compact 1.08B for net GEX. */
208
+ format?: (value: number) => string;
209
+ /** The plot it reads: the value takes the plot's colour, and the part is left out while the plot is hidden. */
210
+ plot?: string;
211
+ /** The layer it belongs to (default: its plot's): left out while that layer's values are off the status line. */
212
+ layer?: string;
213
+ /** A colour for the value, over the plot's. */
214
+ color?: string;
215
+ /** Shown in brackets after the value, e.g. `'broken'` → "Put wall 730.00 (broken)". */
216
+ note?: string;
217
+ }
218
+
219
+ /** A colour scale in an indicator's legend line: `from`, a gradient through `ramp`, `to`; `title` shows on hover. */
220
+ export interface LegendRamp {
221
+ ramp: string[];
222
+ from?: string;
223
+ to?: string;
224
+ title?: string;
225
+ /** The layer it belongs to: left out while that layer's values are off the status line. */
226
+ layer?: string;
227
+ }
228
+
229
+ /** An ⓘ in an indicator's legend line: `info` shows on hover or click. */
230
+ export interface LegendInfo {
231
+ info: string;
232
+ /** What it is about, for screen readers: the button reads "About <about>" (default "About"). */
233
+ about?: string;
234
+ /** The layer it belongs to: left out while that layer's values are off the status line. */
235
+ layer?: string;
236
+ }
237
+
238
+ /** A note in an indicator's legend line; `title` shows on hover. */
239
+ export interface LegendNote {
240
+ text: string;
241
+ title?: string;
242
+ }
243
+
244
+ /** A layout of the Layout menu: 1 to 4 charts. */
245
+ export type LayoutId = '1' | '2v' | '2h' | '3v' | '3h' | '3l' | '3r' | '3t' | '3b' | '4' | '4h' | '4v' | '4l' | '4r' | '4t' | '4b'
246
+ | '4lc' | '4rc' | '4tr';
247
+
248
+ /**
249
+ * What `mount` returns: the chart in focus's methods, plus the layout (one to four charts). `setSymbol`, `setTheme`,
250
+ * `reload` and `destroy` act on every chart. With `layouts: false`, one chart without the layout members.
251
+ */
252
+ export interface ChartInstance {
253
+ setLayout?(id: LayoutId): void;
254
+ readonly layout?: LayoutId;
255
+ /** Every chart's methods, in layout order. */
256
+ readonly charts?: ChartInstance[];
257
+ /** The position of the chart in focus, from 0. */
258
+ readonly active?: number;
259
+ focus?(index: number): void;
260
+ readonly symbol: string | null;
261
+ readonly resolution: Resolution;
262
+ /** Days back from now. */
263
+ readonly range: number;
264
+ readonly session: Session;
265
+ setSymbol(symbol: string): Promise<void>;
266
+ setResolution(resolution: Resolution): Promise<void>;
267
+ /** Days back from now, capped per resolution. */
268
+ setRange(days: number): Promise<void>;
269
+ setSession(session: Session): Promise<void>;
270
+ setLayers(layers: string[]): Promise<void>;
271
+ setTheme(theme: Theme): void;
272
+ /** The key's plan from the last answer, or `null` before it or without auth. */
273
+ readonly plan: Plan | string | null;
274
+ readonly layers: string[];
275
+ /** Every plot's style by plot id (a copy). */
276
+ readonly styles: Record<string, PlotStyle>;
277
+ /** Changes a plot's style, as a layer's options do. */
278
+ setStyle(plotId: string, style: Partial<PlotStyle>): void;
279
+ reload(): Promise<void>;
280
+ destroy(): void;
281
+ /** The lightweight-charts instance, for your own series. */
282
+ readonly chart: IChartApi;
283
+ /** Methods added by layer plugins (`handle.methods`). */
284
+ [method: string]: unknown;
285
+ }
286
+
287
+ /** Helpers for layer plugins. */
288
+ export interface PluginUtil {
289
+ /** UTC ISO time → chart time (ET wall-clock seconds written as UTC). */
290
+ etTime(iso: string): number;
291
+ /** The ET date (`yyyy-mm-dd`) of a chart time. */
292
+ dayOf(time: number): string;
293
+ sessionOf(time: number): 'pre' | 'rth' | 'post';
294
+ /** Index of the last element of sorted `times` that is <= `t`, or -1. */
295
+ floorIndex(times: number[], t: number): number;
296
+ /** Escapes text for HTML. */
297
+ esc(value: unknown): string;
298
+ num(value: number | null | undefined, digits?: number): string;
299
+ /** 1.5B, 2.3M, 1.5K. */
300
+ big(value: number | null | undefined): string;
301
+ /**
302
+ * The points with each whitespace point kept a gap: Lightweight Charts 5 joins the points either side of it, so the
303
+ * point before the gap is made transparent (line and fill). `type`: the series type (default `'line'`).
304
+ */
305
+ cutGaps<T extends { time: number; value?: number }>(points: T[], type?: 'line' | 'area' | 'baseline'): T[];
306
+ RES_SECONDS: Record<Resolution, number>;
307
+ }
308
+
309
+ /** What a layer plugin's `attach` receives, once per chart. */
310
+ export interface PluginContext {
311
+ LW: LightweightChartsModule;
312
+ chart: IChartApi;
313
+ /** The chart's root element (`.fac`). */
314
+ root: HTMLElement;
315
+ options: MountOptions;
316
+ colors: Record<'up' | 'down' | 'spotUp' | 'spotDown' | 'flip' | 'unverified' | 'maxpain', string>;
317
+ /** A level line: steps through the day and a dotted line at its latest value. */
318
+ /**
319
+ * With `plotId`, the line follows that plot's style (see `bindPlot`). `short`: its title on the price scale where the
320
+ * full one does not fit (phones, a plugin drawing at the pane's right edge), e.g. `'CW'`; without it, no title there.
321
+ */
322
+ level(color: string, title: string, plotId?: string, short?: string): ISeriesApi<'Line'>;
323
+ /** Ties a series to one of the plugin's plots (`plots`): its layer's options restyle it. Returns the series. */
324
+ bindPlot<S extends ISeriesApi<any>>(plotId: string, series: S): S;
325
+ /** A plot's current style. */
326
+ styleOf(plotId: string): PlotStyle;
327
+ intraday(): boolean;
328
+ /** True when the layer is picked, the plan includes it and it is not hidden with the legend's 👁 (in apiLayers: not hidden ignored). */
329
+ on(layer: string): boolean;
330
+ /** True when the layer is on but hidden with the legend's 👁: not drawn (e.g. keep its pane, empty). */
331
+ hidden(layer: string): boolean;
332
+ /** True when the last answer gave API layer `apiLayer` as status "gated" (the key's plan does not include it). */
333
+ gated(apiLayer: string): boolean;
334
+ /** True when the key's plan is below `plan`. */
335
+ lockedPlan(plan: Plan | string): boolean;
336
+ /** The upgrade link, tagged with utm parameters (not when it is on the page's own site). */
337
+ upgradeHref(what?: string): string;
338
+ /** Opens the upgrade page in a new tab, for a prompt that is not a link; the page hears `flashalpha:upgrade`. */
339
+ openUpgrade(what?: string): void;
340
+ readonly plan: Plan | string | null;
341
+ readonly candles: ISeriesApi<'Candlestick'> | null;
342
+ /** The drawn bars, each with its chart `time`. */
343
+ readonly bars: Array<Bar & { time: number }>;
344
+ /** The exposure rows of the last load on bar times. */
345
+ readonly exposure: ChartExposureRow[];
346
+ readonly symbol: string | null;
347
+ readonly resolution: Resolution;
348
+ readonly query: Record<string, unknown>;
349
+ /** Merged into the `charts()` request, then reloads; called from `attach` it only sets the first request. */
350
+ setQuery(params: Record<string, unknown>): Promise<void>;
351
+ /**
352
+ * Adds a control: into an indicator's options (Inputs tab of each of its layers) under `el.title` (default), or the toolbar. The indicator is
353
+ * the plugin's own, or the one named by `indicator`. False when the toolbar is hidden.
354
+ */
355
+ addControl(el: HTMLElement, where?: 'panel' | 'toolbar', indicator?: string): boolean;
356
+ /** A note in the legend when no exposure row is under the crosshair. */
357
+ note(text: string): void;
358
+ /**
359
+ * Keeps `px` free at the right edge of the price pane for what the plugin draws there (0 gives it back): room right of
360
+ * the latest bar, the level lines without their titles (axis labels stay), the edge labels left of it.
361
+ */
362
+ reserveRight(px: number): void;
363
+ /** The width `reserveRight` keeps free (0 for none). */
364
+ readonly reservedRight: number;
365
+ /** Draws again from the last answer, no request: every plugin's draw(), then the legend. */
366
+ redraw(): void;
367
+ util: PluginUtil;
368
+ }
369
+
370
+ /** What `attach` returns. Every member is optional. */
371
+ export interface PluginHandle {
372
+ /** Once, after the candles exist (series added here are drawn over them). */
373
+ ready?(): void;
374
+ /** After every load, with the `charts()` answer. */
375
+ draw?(response: ChartsResponse): void;
376
+ /** When a load failed. */
377
+ clear?(): void;
378
+ /**
379
+ * Lines for the legend at `time`. `{ gated: name }` names an indicator whose data the key's plan does not include: the
380
+ * legend puts every such name on one "Not in your plan" line with the Upgrade (or Sign up) link.
381
+ */
382
+ legend?(time: number, y: number | null): Array<string | { gated: string } | null> | string | { gated: string } | null | undefined;
383
+ crosshair?(time: number | null, y: number | null): void;
384
+ destroy?(): void;
385
+ /**
386
+ * Parts of an indicator's line in the legend (after spot on the core one); insert or append in place. `{ label, value, prev, cls }`
387
+ * reads like a key level (change against `prev`); `{ text, title }` is a note with a tooltip; a string is text. `prev`:
388
+ * the previous session's last row, or null.
389
+ * Called once per indicator of the plugin that is on, at every bar; `indicator` is its name. At a bar without an
390
+ * exposure row `row` is `{ time }` and `prev` null. `at`: the bar and the crosshair's y in the price pane (null off the
391
+ * chart), for a part that follows the pointer. The line is one line: its parts never wrap.
392
+ */
393
+ legendLevels?(row: ChartExposureRow | { time: number }, parts: Array<LegendLevel | LegendNote | LegendRamp | LegendInfo | string>, prev: ChartExposureRow | null, indicator: string, at: { time: number | null; y: number | null }): void;
394
+ /** The series of a pane of its own the indicator draws in: its legend line goes to the top left of that pane. */
395
+ paneOf?(indicator: string): ISeriesApi<any> | null;
396
+ /** Lines for panes that are no indicator of their own, at the top left of each `series`'s pane. */
397
+ paneLegends?(time: number): Array<{ series: ISeriesApi<any>; name: string; parts?: Array<LegendLevel | LegendNote | string>;
398
+ /** The indicator whose options the line's options button opens. */
399
+ indicator?: string;
400
+ /** Called by the line's remove button. */
401
+ remove?(): void }>;
402
+ /** Added to the object `mount` returns; core names win. */
403
+ methods?: Record<string, (...args: any[]) => unknown>;
404
+ }
405
+
406
+ export interface LayerPlugin {
407
+ /** The indicator (Indicators menu group) the layers belong to; plugins with the same name share one. Default: `name`, else the first layer's label. */
408
+ indicator?: string;
409
+ /** An indicator per layer id, over `indicator`: one plugin can fill several indicators, e.g. `{ heatmap: 'Strike heatmap' }`. */
410
+ indicators?: Record<string, string>;
411
+ name?: string;
412
+ /** Lines the plugin draws, listed in the indicator's Style tab; tie each series with `ctx.bindPlot`. */
413
+ plots?: PlotDef[];
414
+ /** `[id, menu label]` pairs. */
415
+ layers: Array<[string, string]>;
416
+ /** @deprecated Not used: an indicator's switch turns all its layers on, or all off. */
417
+ defaults?: string[];
418
+ /** The lowest plan per layer id; a layer without one is never locked. */
419
+ plans?: Record<string, Plan>;
420
+ /** The API layers to request for the enabled ids. */
421
+ apiLayers?(ctx: PluginContext): string[];
422
+ /** Once per chart, before the candle series exists: series added here are drawn behind the candles. */
423
+ attach(ctx: PluginContext): PluginHandle | void;
424
+ }
425
+
426
+ /** Mounts a chart that fills `container` and follows its size. */
427
+ export function mount(container: HTMLElement, options?: MountOptions): ChartInstance;
428
+
429
+ /** The FlashAlpha chart API (`/v1/symbols`, `/v1/bars`, `/v1/charts`) under `baseUrl`, the key sent as `X-Api-Key`. */
430
+ export function chartEngineSource(baseUrl?: string, apiKey?: string | null): DataSource;
431
+
432
+ /** Adds layers to every chart mounted after this call. */
433
+ export function registerLayers(plugin: LayerPlugin): void;
434
+
435
+ /** The key for every chart mounted after this call when `options.apiKey` is not given. */
436
+ export function setLicenseKey(key: string | null): void;
437
+
438
+ export const plans: Plan[];
439
+ export const version: string;
440
+
441
+ declare const FlashAlphaChart: {
442
+ mount: typeof mount;
443
+ chartEngineSource: typeof chartEngineSource;
444
+ registerLayers: typeof registerLayers;
445
+ setLicenseKey: typeof setLicenseKey;
446
+ plans: Plan[];
447
+ /** Every layer id a chart mounted now would offer. */
448
+ readonly layers: string[];
449
+ version: string;
450
+ };
451
+ export default FlashAlphaChart;
452
+
453
+ declare global {
454
+ interface Window {
455
+ /** Set by the script build (`dist/tradingview-gex-flashalpha.js`). */
456
+ FlashAlphaChart?: typeof FlashAlphaChart;
457
+ LightweightCharts?: LightweightChartsModule;
458
+ }
459
+ }
460
+