@based/react 0.2.2 → 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/package.json CHANGED
@@ -1,13 +1,15 @@
1
1
  {
2
2
  "name": "@based/react",
3
- "version": "0.2.2",
3
+ "version": "0.6.0",
4
+ "source": "src/index.tsx",
4
5
  "main": "dist/index.js",
5
6
  "scripts": {
6
7
  "build": "yarn tsconfig && tsc -b",
7
8
  "watch": "yarn build -w"
8
9
  },
10
+ "sideEffects": false,
9
11
  "peerDependencies": {
10
- "@based/client": "*",
12
+ "@based/client": "^0.9.0||^1",
11
13
  "react": "^17.0.2"
12
14
  },
13
15
  "devDependencies": {
package/src/index.ts CHANGED
@@ -8,30 +8,80 @@ import React, {
8
8
  useReducer,
9
9
  useState,
10
10
  } from 'react'
11
- import {
11
+ import based, {
12
12
  Based,
13
13
  GenericObject,
14
14
  Query,
15
15
  addSubscriber,
16
16
  removeSubscriber,
17
17
  generateSubscriptionId,
18
+ BasedOpts,
18
19
  } from '@based/client'
19
20
 
20
- const BasedContext = createContext<{ [key: string]: Based }>(null)
21
+ const genOptsId = (opts: BasedOpts & { key?: string }): string => {
22
+ if (!opts) {
23
+ return
24
+ }
25
+
26
+ if (opts.key) {
27
+ return opts.key
28
+ }
29
+
30
+ return `${opts.env}_${opts.project}_${opts.org}_${opts.cluster || ''}_${
31
+ opts.name || ''
32
+ }`
33
+ }
34
+
35
+ export type CreateClient = (
36
+ selector: string | (BasedOpts & { key?: string })
37
+ ) => Based
38
+
39
+ interface BasedContextType {
40
+ clients: { [key: string]: Based }
41
+ createClient?: CreateClient
42
+ removeClient: (
43
+ selector: string | (BasedOpts & { key?: string }) | Based
44
+ ) => void
45
+ }
46
+
47
+ export const BasedContext = createContext<BasedContextType>({
48
+ clients: {},
49
+ removeClient: (...args: any) => {},
50
+ })
51
+
21
52
  const errors = {}
22
53
  const errorListeners = new Set()
23
54
  const loadings = new Set()
24
55
  const loadingListeners = new Set()
56
+ const newClientListeners: Set<() => void> = new Set()
57
+
25
58
  let isLoading = false
26
59
  let lastError = ''
27
60
  let errorCnt = 0
28
61
  let errorKey = errorCnt + lastError
29
62
 
63
+ export const defaultCreateClient: CreateClient = (selector) => {
64
+ if (typeof selector === 'object') {
65
+ if (
66
+ process.env.CLUSTER &&
67
+ process.env.CLUSTER.startsWith('local') &&
68
+ !selector.cluster
69
+ ) {
70
+ selector.cluster = process.env.CLUSTER
71
+ }
72
+ return based(selector)
73
+ } else {
74
+ // default
75
+ console.error('Cannot create client from ' + selector)
76
+ }
77
+ }
78
+
30
79
  export const Provider: FunctionComponent<{
31
80
  client?: Based
32
81
  clients?: { [key: string]: Based }
33
82
  children: ReactNode
34
- }> = ({ client, children, clients }) => {
83
+ createClient?: CreateClient
84
+ }> = ({ client, children, clients, createClient }) => {
35
85
  if (!clients && client) {
36
86
  clients = {
37
87
  default: client,
@@ -39,17 +89,103 @@ export const Provider: FunctionComponent<{
39
89
  } else if (clients && client) {
40
90
  clients.default = client
41
91
  }
42
- return React.createElement(
92
+
93
+ const ctx = React.createElement(
43
94
  BasedContext.Provider,
44
- { value: clients },
95
+ {
96
+ value: {
97
+ clients,
98
+ createClient: createClient || defaultCreateClient,
99
+ removeClient: (selector) => {
100
+ if (selector instanceof Based) {
101
+ for (const cl in clients) {
102
+ if (clients[cl] === selector) {
103
+ selector = cl
104
+ break
105
+ }
106
+ }
107
+ if (typeof selector !== 'string') {
108
+ console.error('Cannot find client to remove from ctx', selector)
109
+ return
110
+ }
111
+ } else if (typeof selector !== 'string') {
112
+ selector = genOptsId(selector)
113
+ }
114
+ // @ts-ignore
115
+ if (clients[selector]) {
116
+ // @ts-ignore
117
+ clients[selector].disconnect()
118
+ // @ts-ignore
119
+ delete clients[selector]
120
+ newClientListeners.forEach((fn) => fn())
121
+ }
122
+ },
123
+ },
124
+ },
45
125
  children
46
126
  )
127
+
128
+ return ctx
129
+ }
130
+
131
+ export const useBasedContext = () => {
132
+ return useContext(BasedContext)
133
+ }
134
+
135
+ function forceUpdate(state: number) {
136
+ return state + 1
47
137
  }
48
138
 
49
- export const useClient = (clientName: string = 'default') => {
50
- // more...
51
- const clients = useContext(BasedContext)
52
- return clients[clientName]
139
+ export const useClients = (): Based[] => {
140
+ const ctx = useBasedContext()
141
+ const [, update] = useReducer(forceUpdate, 0)
142
+
143
+ useEffect(() => {
144
+ let timer
145
+ const fn = () => {
146
+ timer = setTimeout(update, 0)
147
+ }
148
+ newClientListeners.add(fn)
149
+ return () => {
150
+ newClientListeners.delete(fn)
151
+ clearTimeout(timer)
152
+ }
153
+ }, [])
154
+
155
+ return Object.values(ctx.clients)
156
+ }
157
+
158
+ export const useClient = (
159
+ selector: string | (BasedOpts & { key?: string }) = 'default'
160
+ ) => {
161
+ const basedCtx = useContext(BasedContext)
162
+
163
+ if (typeof selector === 'object') {
164
+ if (!(selector.env && selector.project && selector.org)) {
165
+ return
166
+ }
167
+ }
168
+
169
+ let key: string
170
+
171
+ if (typeof selector === 'string') {
172
+ key = selector
173
+ } else {
174
+ key = selector.key || genOptsId(selector)
175
+ }
176
+
177
+ let client: Based = basedCtx.clients[key]
178
+
179
+ if (!client && basedCtx.createClient) {
180
+ client = basedCtx.createClient(selector)
181
+
182
+ if (client) {
183
+ basedCtx.clients[key] = client
184
+ newClientListeners.forEach((fn) => fn())
185
+ }
186
+ }
187
+
188
+ return client
53
189
  }
54
190
 
55
191
  type Data = GenericObject
@@ -77,12 +213,13 @@ function resultReducer(
77
213
  return { ...state }
78
214
  }
79
215
 
80
- export function useAuth(): string | false {
81
- const client = useClient()
216
+ export function useAuth(
217
+ clientSelector?: string | (BasedOpts & { key?: string })
218
+ ): string | false {
219
+ const client = useClient(clientSelector)
82
220
  const [token, setToken] = useState<false | string>(false)
83
221
  useEffect(() => {
84
222
  const t = (v) => setToken(client.getToken())
85
- // this does not work - string is wrong
86
223
  client.on('auth', t)
87
224
  return () => {
88
225
  client.removeListener('auth', t)
@@ -91,9 +228,57 @@ export function useAuth(): string | false {
91
228
  return token
92
229
  }
93
230
 
231
+ export function useSchema(
232
+ name: string | null | false = 'default',
233
+ clientSelector?: string | (BasedOpts & { key?: string })
234
+ ): {
235
+ schema: Data
236
+ error?: Error
237
+ loading: Loading
238
+ } {
239
+ const x = useData(
240
+ name
241
+ ? {
242
+ $subscribe_schema: name,
243
+ }
244
+ : null,
245
+ clientSelector
246
+ )
247
+
248
+ return {
249
+ loading: x.loading,
250
+ error: x.error,
251
+ schema: x.data,
252
+ }
253
+ }
254
+
255
+ export function useTrack(
256
+ type: string,
257
+ params?: { [key: string]: number | string | boolean },
258
+ clientSelector?: string | (BasedOpts & { key?: string })
259
+ ): void {
260
+ if (type) {
261
+ const selector = clientSelector || 'default'
262
+ const client = useClient(selector)
263
+ const id = useMemo(() => {
264
+ return generateSubscriptionId(params, type)
265
+ }, [type, params])
266
+ useEffect(() => {
267
+ client.track(type, params)
268
+ return () => {
269
+ client.untrack(type, params)
270
+ }
271
+ }, [id])
272
+ } else {
273
+ useClient(clientSelector)
274
+ useMemo(() => {}, [])
275
+ useEffect(stubFn, [null, null])
276
+ }
277
+ }
278
+
94
279
  export function useData(
95
280
  query: Query,
96
- clientName?: string
281
+ clientSelector?: string | (BasedOpts & { key?: string })
97
282
  ): {
98
283
  data: Data
99
284
  error?: Error
@@ -111,13 +296,13 @@ export function useData(name: string): {
111
296
  export function useData(
112
297
  name: string,
113
298
  payload: any,
114
- clientName?: string
299
+ clientSelector?: string | (BasedOpts & { key?: string })
115
300
  ): { data: Data; error?: Error; loading: Loading; checksum: number }
116
301
 
117
302
  export function useData(
118
303
  a: string | Query,
119
304
  payload?: any,
120
- clientName?: string
305
+ clientSelector?: string | (BasedOpts & { key?: string })
121
306
  ): {
122
307
  data: Data
123
308
  error?: Error
@@ -135,46 +320,53 @@ export function useData(
135
320
  }, [payload, a])
136
321
 
137
322
  const isNamed = typeof a === 'string'
323
+
324
+ const selector = clientSelector || (!isNamed ? payload : 'default')
325
+
326
+ const client = useClient(selector)
327
+
138
328
  const clientKey =
139
- clientName ||
140
- (!isNamed && typeof payload === 'string' ? payload : 'default')
329
+ typeof selector === 'string' ? selector : genOptsId(selector)
141
330
 
142
- const client = useClient(clientKey)
143
- const subKey = clientKey + subId
331
+ if (client) {
332
+ const subKey = clientKey + subId
144
333
 
145
- useEffect(() => {
146
- updateMeta(subKey, true, false)
147
- dispatch({ error: null, loading: true, data: {} })
148
- const [, subscriberId] = addSubscriber(
149
- client.client,
150
- isNamed ? payload : a,
151
- (d, checksum) => {
152
- updateMeta(subKey, false, false)
153
- dispatch({ data: d, checksum })
154
- },
155
- (err) => {
156
- if (err) {
334
+ useEffect(() => {
335
+ updateMeta(subKey, true, false)
336
+ dispatch({ error: null, loading: true, data: {} })
337
+ const [, subscriberId] = addSubscriber(
338
+ client.client,
339
+ isNamed ? payload : a,
340
+ (d, checksum) => {
341
+ updateMeta(subKey, false, false)
342
+ dispatch({ data: d, checksum })
343
+ },
344
+ (err) => {
345
+ if (err) {
346
+ console.error(err)
347
+ updateMeta(subKey, false, err)
348
+ dispatch({ error: err, loading: false })
349
+ }
350
+ },
351
+ (err) => {
157
352
  console.error(err)
158
353
  updateMeta(subKey, false, err)
159
- dispatch({ error: err, loading: false })
160
- }
161
- },
162
- (err) => {
163
- console.error(err)
164
- updateMeta(subKey, false, err)
165
- dispatch({ error: err })
166
- },
167
- subId,
168
- typeof a === 'string' ? a : undefined
169
- )
170
- return () => {
171
- updateMeta(subKey, false, false)
172
- removeSubscriber(client.client, subId, subscriberId)
173
- }
174
- }, [subId, clientKey])
354
+ dispatch({ error: err })
355
+ },
356
+ subId,
357
+ typeof a === 'string' ? a : undefined
358
+ )
359
+ return () => {
360
+ updateMeta(subKey, false, false)
361
+ removeSubscriber(client.client, subId, subscriberId)
362
+ }
363
+ }, [subId, clientKey])
364
+ } else {
365
+ useEffect(stubFn, [null, null])
366
+ }
175
367
  } else {
176
368
  useMemo(stubFn, [payload, a])
177
- useClient(clientName)
369
+ useClient(clientSelector)
178
370
  useEffect(stubFn, [null, null])
179
371
  }
180
372
 
package/dist/index.d.ts DELETED
@@ -1,39 +0,0 @@
1
- import { FunctionComponent, ReactNode } from 'react';
2
- import { Based, GenericObject, Query } from '@based/client';
3
- export declare const Provider: FunctionComponent<{
4
- client?: Based;
5
- clients?: {
6
- [key: string]: Based;
7
- };
8
- children: ReactNode;
9
- }>;
10
- export declare const useClient: (clientName?: string) => Based;
11
- declare type Data = GenericObject;
12
- declare type Loading = boolean;
13
- export declare function useAuth(): string | false;
14
- export declare function useData(query: Query, clientName?: string): {
15
- data: Data;
16
- error?: Error;
17
- loading: Loading;
18
- checksum: number;
19
- };
20
- export declare function useData(name: string): {
21
- data: Data;
22
- error?: Error;
23
- loading: Loading;
24
- checksum: number;
25
- };
26
- export declare function useData(name: string, payload: any, clientName?: string): {
27
- data: Data;
28
- error?: Error;
29
- loading: Loading;
30
- checksum: number;
31
- };
32
- export declare function useLoading(): {
33
- loading: boolean;
34
- };
35
- export declare function useError(): {
36
- error: string;
37
- errors: unknown[];
38
- };
39
- export {};
package/dist/index.js DELETED
@@ -1,186 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
5
- }) : (function(o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- o[k2] = m[k];
8
- }));
9
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
10
- Object.defineProperty(o, "default", { enumerable: true, value: v });
11
- }) : function(o, v) {
12
- o["default"] = v;
13
- });
14
- var __importStar = (this && this.__importStar) || function (mod) {
15
- if (mod && mod.__esModule) return mod;
16
- var result = {};
17
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
18
- __setModuleDefault(result, mod);
19
- return result;
20
- };
21
- Object.defineProperty(exports, "__esModule", { value: true });
22
- exports.useError = exports.useLoading = exports.useData = exports.useAuth = exports.useClient = exports.Provider = void 0;
23
- const react_1 = __importStar(require("react"));
24
- const client_1 = require("@based/client");
25
- const BasedContext = (0, react_1.createContext)(null);
26
- const errors = {};
27
- const errorListeners = new Set();
28
- const loadings = new Set();
29
- const loadingListeners = new Set();
30
- let isLoading = false;
31
- let lastError = '';
32
- let errorCnt = 0;
33
- let errorKey = errorCnt + lastError;
34
- const Provider = ({ client, children, clients }) => {
35
- if (!clients && client) {
36
- clients = {
37
- default: client,
38
- };
39
- }
40
- else if (clients && client) {
41
- clients.default = client;
42
- }
43
- return react_1.default.createElement(BasedContext.Provider, { value: clients }, children);
44
- };
45
- exports.Provider = Provider;
46
- const useClient = (clientName = 'default') => {
47
- // more...
48
- const clients = (0, react_1.useContext)(BasedContext);
49
- return clients[clientName];
50
- };
51
- exports.useClient = useClient;
52
- function resultReducer(state, action) {
53
- if (action.error) {
54
- state.error = action.error;
55
- }
56
- if (action.data) {
57
- state.checksum = action.checksum || 0;
58
- state.data = action.data;
59
- state.loading = false;
60
- if (state.error) {
61
- delete state.error;
62
- }
63
- }
64
- if (action.loading) {
65
- state.loading = action.loading;
66
- }
67
- return { ...state };
68
- }
69
- function useAuth() {
70
- const client = (0, exports.useClient)();
71
- const [token, setToken] = (0, react_1.useState)(false);
72
- (0, react_1.useEffect)(() => {
73
- const t = (v) => setToken(client.getToken());
74
- // this does not work - string is wrong
75
- client.on('auth', t);
76
- return () => {
77
- client.removeListener('auth', t);
78
- };
79
- }, []);
80
- return token;
81
- }
82
- exports.useAuth = useAuth;
83
- function useData(a, payload, clientName) {
84
- const [result, dispatch] = (0, react_1.useReducer)(resultReducer, {
85
- loading: true,
86
- data: {},
87
- checksum: 0,
88
- });
89
- if (a) {
90
- const subId = (0, react_1.useMemo)(() => {
91
- return (0, client_1.generateSubscriptionId)(typeof a === 'string' ? [a, payload] : a);
92
- }, [payload, a]);
93
- const isNamed = typeof a === 'string';
94
- const clientKey = clientName ||
95
- (!isNamed && typeof payload === 'string' ? payload : 'default');
96
- const client = (0, exports.useClient)(clientKey);
97
- const subKey = clientKey + subId;
98
- (0, react_1.useEffect)(() => {
99
- updateMeta(subKey, true, false);
100
- dispatch({ error: null, loading: true, data: {} });
101
- const [, subscriberId] = (0, client_1.addSubscriber)(client.client, isNamed ? payload : a, (d, checksum) => {
102
- updateMeta(subKey, false, false);
103
- dispatch({ data: d, checksum });
104
- }, (err) => {
105
- if (err) {
106
- console.error(err);
107
- updateMeta(subKey, false, err);
108
- dispatch({ error: err, loading: false });
109
- }
110
- }, (err) => {
111
- console.error(err);
112
- updateMeta(subKey, false, err);
113
- dispatch({ error: err });
114
- }, subId, typeof a === 'string' ? a : undefined);
115
- return () => {
116
- updateMeta(subKey, false, false);
117
- (0, client_1.removeSubscriber)(client.client, subId, subscriberId);
118
- };
119
- }, [subId, clientKey]);
120
- }
121
- else {
122
- (0, react_1.useMemo)(stubFn, [payload, a]);
123
- (0, exports.useClient)(clientName);
124
- (0, react_1.useEffect)(stubFn, [null, null]);
125
- }
126
- return result;
127
- }
128
- exports.useData = useData;
129
- function useLoading() {
130
- const [, setLoading] = (0, react_1.useState)(isLoading);
131
- loadingListeners.add(setLoading);
132
- (0, react_1.useEffect)(() => {
133
- return () => {
134
- loadingListeners.delete(setLoading);
135
- };
136
- }, []);
137
- return { loading: isLoading };
138
- }
139
- exports.useLoading = useLoading;
140
- function useError() {
141
- const [, setError] = (0, react_1.useState)(errorKey);
142
- errorListeners.add(setError);
143
- (0, react_1.useEffect)(() => {
144
- return () => {
145
- errorListeners.delete(setError);
146
- };
147
- }, []);
148
- return { error: errorCnt ? lastError : null, errors: Object.values(errors) };
149
- }
150
- exports.useError = useError;
151
- function updateMeta(subKey, loading, error) {
152
- if (error) {
153
- lastError = error;
154
- if (subKey in errors) {
155
- errors[subKey] = error;
156
- }
157
- else {
158
- errors[subKey] = error;
159
- errorCnt++;
160
- }
161
- }
162
- else {
163
- if (subKey in errors) {
164
- errorCnt--;
165
- delete errors[subKey];
166
- }
167
- }
168
- const newErrorKey = errorCnt + lastError;
169
- if (newErrorKey !== errorKey) {
170
- errorKey = newErrorKey;
171
- errorListeners.forEach((fn) => fn(errorKey));
172
- }
173
- if (loading) {
174
- loadings.add(subKey);
175
- }
176
- else {
177
- loadings.delete(subKey);
178
- }
179
- const newLoading = !!loadings.size;
180
- if (newLoading !== isLoading) {
181
- isLoading = newLoading;
182
- loadingListeners.forEach((fn) => fn(isLoading));
183
- }
184
- }
185
- function stubFn() { }
186
- //# sourceMappingURL=index.js.map
package/dist/index.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,+CASc;AACd,0CAOsB;AAEtB,MAAM,YAAY,GAAG,IAAA,qBAAa,EAA2B,IAAI,CAAC,CAAA;AAClE,MAAM,MAAM,GAAG,EAAE,CAAA;AACjB,MAAM,cAAc,GAAG,IAAI,GAAG,EAAE,CAAA;AAChC,MAAM,QAAQ,GAAG,IAAI,GAAG,EAAE,CAAA;AAC1B,MAAM,gBAAgB,GAAG,IAAI,GAAG,EAAE,CAAA;AAClC,IAAI,SAAS,GAAG,KAAK,CAAA;AACrB,IAAI,SAAS,GAAG,EAAE,CAAA;AAClB,IAAI,QAAQ,GAAG,CAAC,CAAA;AAChB,IAAI,QAAQ,GAAG,QAAQ,GAAG,SAAS,CAAA;AAE5B,MAAM,QAAQ,GAIhB,CAAC,EAAE,MAAM,EAAE,QAAQ,EAAE,OAAO,EAAE,EAAE,EAAE;IACrC,IAAI,CAAC,OAAO,IAAI,MAAM,EAAE;QACtB,OAAO,GAAG;YACR,OAAO,EAAE,MAAM;SAChB,CAAA;KACF;SAAM,IAAI,OAAO,IAAI,MAAM,EAAE;QAC5B,OAAO,CAAC,OAAO,GAAG,MAAM,CAAA;KACzB;IACD,OAAO,eAAK,CAAC,aAAa,CACxB,YAAY,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AM,EAAE;YACpB,MAAM,CAAC,MAAM,CAAC,GAAG,KAAK,CAAA;SACvB;aAAM;YACL,MAAM,CAAC,MAAM,CAAC,GAAG,KAAK,CAAA;YACtB,QAAQ,EAAE,CAAA;SACX;KACF;SAAM;QACL,IAAI,MAAM,IAAI,MAAM,EAAE;YACpB,QAAQ,EAAE,CAAA;YACV,OAAO,MAAM,CAAC,MAAM,CAAC,CAAA;SACtB;KACF;IAED,MAAM,WAAW,GAAG,QAAQ,GAAG,SAAS,CAAA;IACxC,IAAI,WAAW,KAAK,QAAQ,EAAE;QAC5B,QAAQ,GAAG,WAAW,CAAA;QACtB,cAAc,CAAC,OAAO,CAAC,CAAC,EAAY,EAAE,EAAE,CAAC,EAAE,CAAC,QAAQ,CAAC,CAAC,CAAA;KACvD;IAED,IAAI,OAAO,EAAE;QACX,QAAQ,CAAC,GAAG,CAAC,MAAM,CAAC,CAAA;KACrB;SAAM;QACL,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC,CAAA;KACxB;IAED,MAAM,UAAU,GAAG,CAAC,CAAC,QAAQ,CAAC,IAAI,CAAA;IAClC,IAAI,UAAU,KAAK,SAAS,EAAE;QAC5B,SAAS,GAAG,UAAU,CAAA;QACtB,gBAAgB,CAAC,OAAO,CAAC,CAAC,EAAY,EAAE,EAAE,CAAC,EAAE,CAAC,SAAS,CAAC,CAAC,CAAA;KAC1D;AACH,CAAC;AAED,SAAS,MAAM,KAAI,CAAC"}
@@ -1 +0,0 @@
1
- {"program":{"fileNames":["../../node_modules/typescript/lib/lib.es5.d.ts","../../node_modules/typescript/lib/lib.es2015.d.ts","../../node_modules/typescript/lib/lib.es2016.d.ts","../../node_modules/typescript/lib/lib.es2017.d.ts","../../node_modules/typescript/lib/lib.es2018.d.ts","../../node_modules/typescript/lib/lib.es2019.d.ts","../../node_modules/typescript/lib/lib.es2020.d.ts","../../node_modules/typescript/lib/lib.dom.d.ts","../../node_modules/typescript/lib/lib.dom.iterable.d.ts","../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../node_modules/typescript/lib/lib.scripthost.d.ts","../../node_modules/typescript/lib/lib.es2015.core.d.ts","../../node_modules/typescript/lib/lib.es2015.collection.d.ts","../../node_modules/typescript/lib/lib.es2015.generator.d.ts","../../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../node_modules/typescript/lib/lib.es2015.promise.d.ts","../../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../node_modules/typescript/lib/lib.es2017.object.d.ts","../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../node_modules/typescript/lib/lib.es2017.string.d.ts","../../node_modules/typescript/lib/lib.es2017.intl.d.ts","../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../node_modules/typescript/lib/lib.es2018.intl.d.ts","../../node_modules/typescript/lib/lib.es2018.promise.d.ts","../../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../node_modules/typescript/lib/lib.es2019.array.d.ts","../../node_modules/typescript/lib/lib.es2019.object.d.ts","../../node_modules/typescript/lib/lib.es2019.string.d.ts","../../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../node_modules/typescript/lib/lib.es2020.promise.d.ts","../../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../node_modules/typescript/lib/lib.es2020.string.d.ts","../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../node_modules/typescript/lib/lib.es2020.intl.d.ts","../../node_modules/typescript/lib/lib.esnext.intl.d.ts","../../node_modules/typescript/lib/lib.es2020.full.d.ts","../../node_modules/@types/react/global.d.ts","../../node_modules/csstype/index.d.ts","../../node_modules/@types/prop-types/index.d.ts","../../node_modules/@types/scheduler/tracing.d.ts","../../node_modules/@types/react/index.d.ts","../client/dist/emitter.d.ts","../client/dist/selvatypes/get.d.ts","../client/dist/selvatypes/set.d.ts","../client/dist/selvatypes/schema.d.ts","../client/dist/types.d.ts","../client/dist/subscriptions/addgetsubscriber.d.ts","../client/dist/subscriptions/addsubscriber.d.ts","../client/dist/subscriptions/generateid.d.ts","../client/dist/subscriptions/removesubscriber.d.ts","../client/dist/subscriptions/removeunsubscribesfromqueue.d.ts","../client/dist/subscriptions/sendallsubscriptions.d.ts","../client/dist/subscriptions/incomingsubscription.d.ts","../client/dist/subscriptions/incomingsubscriptiondiff.d.ts","../client/dist/subscriptions/logoutsubscriptions.d.ts","../client/dist/subscriptions/index.d.ts","../client/dist/request.d.ts","../../node_modules/@types/node/assert.d.ts","../../node_modules/@types/node/assert/strict.d.ts","../../node_modules/@types/node/globals.d.ts","../../node_modules/@types/node/async_hooks.d.ts","../../node_modules/@types/node/buffer.d.ts","../../node_modules/@types/node/child_process.d.ts","../../node_modules/@types/node/cluster.d.ts","../../node_modules/@types/node/console.d.ts","../../node_modules/@types/node/constants.d.ts","../../node_modules/@types/node/crypto.d.ts","../../node_modules/@types/node/dgram.d.ts","../../node_modules/@types/node/diagnostics_channel.d.ts","../../node_modules/@types/node/dns.d.ts","../../node_modules/@types/node/dns/promises.d.ts","../../node_modules/@types/node/domain.d.ts","../../node_modules/@types/node/events.d.ts","../../node_modules/@types/node/fs.d.ts","../../node_modules/@types/node/fs/promises.d.ts","../../node_modules/@types/node/http.d.ts","../../node_modules/@types/node/http2.d.ts","../../node_modules/@types/node/https.d.ts","../../node_modules/@types/node/inspector.d.ts","../../node_modules/@types/node/module.d.ts","../../node_modules/@types/node/net.d.ts","../../node_modules/@types/node/os.d.ts","../../node_modules/@types/node/path.d.ts","../../node_modules/@types/node/perf_hooks.d.ts","../../node_modules/@types/node/process.d.ts","../../node_modules/@types/node/punycode.d.ts","../../node_modules/@types/node/querystring.d.ts","../../node_modules/@types/node/readline.d.ts","../../node_modules/@types/node/repl.d.ts","../../node_modules/@types/node/stream.d.ts","../../node_modules/@types/node/stream/promises.d.ts","../../node_modules/@types/node/stream/consumers.d.ts","../../node_modules/@types/node/stream/web.d.ts","../../node_modules/@types/node/string_decoder.d.ts","../../node_modules/@types/node/timers.d.ts","../../node_modules/@types/node/timers/promises.d.ts","../../node_modules/@types/node/tls.d.ts","../../node_modules/@types/node/trace_events.d.ts","../../node_modules/@types/node/tty.d.ts","../../node_modules/@types/node/url.d.ts","../../node_modules/@types/node/util.d.ts","../../node_modules/@types/node/v8.d.ts","../../node_modules/@types/node/vm.d.ts","../../node_modules/@types/node/wasi.d.ts","../../node_modules/@types/node/worker_threads.d.ts","../../node_modules/@types/node/zlib.d.ts","../../node_modules/@types/node/globals.global.d.ts","../../node_modules/@types/node/index.d.ts","../../node_modules/@types/ws/index.d.ts","../../node_modules/isomorphic-ws/index.d.ts","../client/dist/websocket/types.d.ts","../client/dist/client.d.ts","../client/dist/index.d.ts","./src/index.ts","../../node_modules/@types/connect/index.d.ts","../../node_modules/@types/body-parser/index.d.ts","../../node_modules/@types/range-parser/index.d.ts","../../node_modules/@types/qs/index.d.ts","../../node_modules/@types/express-serve-static-core/index.d.ts","../../node_modules/@types/connect-history-api-fallback/index.d.ts","../../node_modules/@types/css-font-loading-module/index.d.ts","../../node_modules/@types/emscripten/index.d.ts","../../node_modules/@types/estree/index.d.ts","../../node_modules/@types/mime/index.d.ts","../../node_modules/@types/serve-static/index.d.ts","../../node_modules/@types/express/index.d.ts","../../node_modules/@types/fs-extra/index.d.ts","../../node_modules/@types/geojson/index.d.ts","../../node_modules/@types/minimatch/index.d.ts","../../node_modules/@types/glob/index.d.ts","../../node_modules/@types/http-proxy/index.d.ts","../../node_modules/@types/js-cookie/index.d.ts","../../node_modules/@types/json-schema/index.d.ts","../../node_modules/@types/json5/index.d.ts","../../node_modules/@types/keyv/index.d.ts","../../node_modules/@types/mapbox-gl/index.d.ts","../../node_modules/@types/minimist/index.d.ts","../../node_modules/@types/minipass/index.d.ts","../../node_modules/form-data/index.d.ts","../../node_modules/@types/node-fetch/externals.d.ts","../../node_modules/@types/node-fetch/index.d.ts","../../node_modules/@types/ssh2-streams/index.d.ts","../../node_modules/@types/ssh2/index.d.ts","../../node_modules/@types/node-ssh/index.d.ts","../../node_modules/@types/normalize-package-data/index.d.ts","../../node_modules/@types/parse-json/index.d.ts","../../node_modules/@types/q/index.d.ts","../../node_modules/@types/responselike/index.d.ts","../../node_modules/@types/scheduler/index.d.ts","../../node_modules/@types/source-list-map/index.d.ts","../../node_modules/@types/tapable/index.d.ts","../../node_modules/@types/tar/index.d.ts","../../node_modules/source-map/source-map.d.ts","../../node_modules/@types/uglify-js/index.d.ts","../../node_modules/@types/uuid/index.d.ts","../../node_modules/anymatch/index.d.ts","../../node_modules/@types/webpack-sources/node_modules/source-map/source-map.d.ts","../../node_modules/@types/webpack-sources/lib/source.d.ts","../../node_modules/@types/webpack-sources/lib/compatsource.d.ts","../../node_modules/@types/webpack-sources/lib/concatsource.d.ts","../../node_modules/@types/webpack-sources/lib/originalsource.d.ts","../../node_modules/@types/webpack-sources/lib/prefixsource.d.ts","../../node_modules/@types/webpack-sources/lib/rawsource.d.ts","../../node_modules/@types/webpack-sources/lib/replacesource.d.ts","../../node_modules/@types/webpack-sources/lib/sizeonlysource.d.ts","../../node_modules/@types/webpack-sources/lib/sourcemapsource.d.ts","../../node_modules/@types/webpack-sources/lib/index.d.ts","../../node_modules/@types/webpack-sources/lib/cachedsource.d.ts","../../node_modules/@types/webpack-sources/index.d.ts","../../node_modules/@types/webpack/index.d.ts","../../node_modules/http-proxy-middleware/dist/types.d.ts","../../node_modules/http-proxy-middleware/dist/handlers/response-interceptor.d.ts","../../node_modules/http-proxy-middleware/dist/handlers/fix-request-body.d.ts","../../node_modules/http-proxy-middleware/dist/handlers/public.d.ts","../../node_modules/http-proxy-middleware/dist/handlers/index.d.ts","../../node_modules/http-proxy-middleware/dist/index.d.ts","../../node_modules/@types/webpack-dev-server/index.d.ts"],"fileInfos":[{"version":"aa9fb4c70f369237c2f45f9d969c9a59e0eae9a192962eb48581fe864aa609db","affectsGlobalScope":true},"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06","e6b724280c694a9f588847f754198fb96c43d805f065c3a5b28bbc9594541c84","e21c071ca3e1b4a815d5f04a7475adcaeea5d64367e840dd0154096d705c3940",{"version":"e54c8715a4954cfdc66cd69489f2b725c09ebf37492dbd91cff0a1688b1159e8","affectsGlobalScope":true},{"version":"e34eb9339171ec45da2801c1967e4d378bd61a1dceaa1b1b4e1b6d28cb9ca962","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"51b8b27c21c066bf877646e320bf6a722b80d1ade65e686923cd9d4494aef1ca","affectsGlobalScope":true},{"version":"43fb1d932e4966a39a41b464a12a81899d9ae5f2c829063f5571b6b87e6d2f9c","affectsGlobalScope":true},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true},{"version":"2c8c5ee58f30e7c944e04ab1fb5506fdbb4dd507c9efa6972cf4b91cec90c503","affectsGlobalScope":true},{"version":"2bb4b3927299434052b37851a47bf5c39764f2ba88a888a107b32262e9292b7c","affectsGlobalScope":true},{"version":"810627a82ac06fb5166da5ada4159c4ec11978dfbb0805fe804c86406dab8357","affectsGlobalScope":true},{"version":"62d80405c46c3f4c527ee657ae9d43fda65a0bf582292429aea1e69144a522a6","affectsGlobalScope":true},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true},{"version":"75ec0bdd727d887f1b79ed6619412ea72ba3c81d92d0787ccb64bab18d261f14","affectsGlobalScope":true},{"version":"3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006","affectsGlobalScope":true},{"version":"17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a","affectsGlobalScope":true},{"version":"7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98","affectsGlobalScope":true},{"version":"6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577","affectsGlobalScope":true},{"version":"12a310447c5d23c7d0d5ca2af606e3bd08afda69100166730ab92c62999ebb9d","affectsGlobalScope":true},{"version":"b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e","affectsGlobalScope":true},{"version":"0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a","affectsGlobalScope":true},{"version":"da233fc1c8a377ba9e0bed690a73c290d843c2c3d23a7bd7ec5cd3d7d73ba1e0","affectsGlobalScope":true},{"version":"df9c8a72ca8b0ed62f5470b41208a0587f0f73f0a7db28e5a1272cf92537518e","affectsGlobalScope":true},{"version":"bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c","affectsGlobalScope":true},{"version":"c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8","affectsGlobalScope":true},{"version":"9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951","affectsGlobalScope":true},{"version":"6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de","affectsGlobalScope":true},{"version":"93544ca2f26a48716c1b6c5091842cad63129daac422dfa4bc52460465f22bb1","affectsGlobalScope":true},{"version":"2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993","affectsGlobalScope":true},{"version":"1b3fe904465430e030c93239a348f05e1be80640d91f2f004c3512c2c2c89f34","affectsGlobalScope":true},{"version":"7435b75fdf3509622e79622dbe5091cf4b09688410ee2034e4fc17d0c99d0862","affectsGlobalScope":true},{"version":"e7e8e1d368290e9295ef18ca23f405cf40d5456fa9f20db6373a61ca45f75f40","affectsGlobalScope":true},{"version":"faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e","affectsGlobalScope":true},{"version":"06393d13ea207a1bfe08ec8d7be562549c5e2da8983f2ee074e00002629d1871","affectsGlobalScope":true},{"version":"9f1817f7c3f02f6d56e0f403b927e90bb133f371dcebc36fa7d6d208ef6899da","affectsGlobalScope":true},{"version":"4632665b87204bb1caa8b44d165bce0c50dfab177df5b561b345a567cabacf9a","affectsGlobalScope":true},"f58c6d0669d1ee04b2fcb0e87fb949b6828602f3f29c7bf6c76a214f16fd50d5",{"version":"ecf78e637f710f340ec08d5d92b3f31b134a46a4fcf2e758690d8c46ce62cba6","affectsGlobalScope":true},"5b1d4ebd62d975c7d3826202f8fac290bac0bae6e04d9e84d1707d7047e108df","f7b46d22a307739c145e5fddf537818038fdfffd580d79ed717f4d4d37249380","f5a8b384f182b3851cec3596ccc96cb7464f8d3469f48c74bf2befb782a19de5",{"version":"adf1bb8820af989bb0de3c7c6cb9d7b7dbe208d06028e6113f160447a04e21a8","affectsGlobalScope":true},"b15dea0179184e2008ff641004b0ae87cb968f41f62c891a3c718ccea8adc622","bd09d79353ad5cb4430cfb406780c1fe596aaa18da0f8049dbdf0742d1cce76f","9688c9cdecdff3ab235267a555209708d5c69c9731deafae1c17106ee9329c6c","147fe091de959191a3e5c8994061d541b612c814bfd8c957ddc57a981c85b218","8aa103affecf27f22d1544e22f4be9d49ee358214d66cc8285b1540e93a3f24e","bb8005821a2582bb0d3029ebec6d01518916daa6d1d5a96d80187d8ec61c5db9","3e8780fc0511e75e5342a1d66cef5ac2af1f6040a7d6042b79dbdd81ddb3be8e","97c04574e5b133529b07865799bc36726468931ab94d6e2310e23c1c5f08da08","fb5e4b42a3e5016bf28389d09664ccd74bd0f28e2e55901ad2893a96b47a048b","4be29477cc78cbf5788f6497137a2dd70ed9d88cfb7177b4b37c0583f1d22d1f","2de69edc322860594c6669538deecd12a7c400b4fc2af280a6dfa3d6bdfc9c16","7491290a1da4b19b76ff0b5257e7773d549725304851c68792b98209d5e36742","f95505f61ba9a47f7b293c81b3d823282c97ca22afdde01cfa634956b5149079","1ddf80862d768def28aa5715b62fe64a34889c477e3de69969873f2ed412fbe8","313070412083191b59d2c547a21d04285eb208db0d5538614b7375eb49a53d10","d52b531207f428ae80702b7500e12006287ee3f865af0fb14ed1781f4b4fe3aa","31c268bcfbbb3a89dd4019ff8001069024921c2c0fb73bccc6f8e6f2da7bff09","a69c09dbea52352f479d3e7ac949fde3d17b195abe90b045d619f747b38d6d1a",{"version":"92d63add669d18ebc349efbacd88966d6f2ccdddfb1b880b2db98ae3aa7bf7c4","affectsGlobalScope":true},"4be51d991034b331db6a518e5a9607cb136b6d3ab2a691191a7d481354836a5f",{"version":"fa56e5f529c26a31207fecafbfd88136936868a4c17f8a347f0e8e6ea18309ad","affectsGlobalScope":true},"dbfe629576a07827e766347bea31814a914dbce17a0e6b42b71df91d6b4c5f04","3fe5750809a130a0c9ee5dbca9e262913a10d1deda3ddb1280a77b099197e937",{"version":"d7e32c36d30042b47cd8620b197d3e3381954cf8baa413dc4273796e4cf718a1","affectsGlobalScope":true},"82408ed3e959ddc60d3e9904481b5a8dc16469928257af22a3f7d1a3bc7fd8c4","1c98ffaba7994591bcdd79874a01b54931950acd2f833e1cccc32922c0b3a057","53cf527b7d4a7ee1c16eeadff678d6df9f2a98cd5ece18f0f9211d8080204734","0038ccd1c90bc523ee4f7eeabc3f4082a48a5775415855e46f142447b9ad1114","aacb7a1f78d635e42d1112144c83508f340722e5293f7f14091581193618dca3","87c064559d14068edb2861fc7d48c1a8196a63523e00cc29aadd57c0eefb24a5","226afbe8d2d18dc02d1aebb449af0a11a278acb98b42c763aeec6d5a8e654441",{"version":"c3a43212afe9781a304d8f5dd3895fd38a143ac46fb64b4d343122e38c83a9ab","affectsGlobalScope":true},"21259ca1ed518e7adf7653fe0c75972a9baaafc459c8a95e78964a867517adac","01862fc59b8c037ea9fe03c6f3dc1ffc95bfc16fb37d58d6e7603706b9041d97","2163cfbd3438e495c08fb59b29740b1f96c7aec8ebb4faf9c9156f4fe94cb501","b9855c90cb7d9dcc9d6235aa9581f57e34d1396fbaaa8eb56d2754bb47b3b118","1f66294c9e9c24e84552cfaa70a27422811649de5a2efc69d3cf2ef38e833308","a82a261dac2131e55347889de6846a3e84741283d93d6525550ab3976be85cf6",{"version":"e8b18c6385ff784228a6f369694fcf1a6b475355ba89090a88de13587a9391d5","affectsGlobalScope":true},"1207275e727d14356922953c0597c77acad13e9812a0109a756c0c59ff0e87f3","dce04e108fbcbe674bceeea757269b7775a8a07693d6a58f55b36e649541675a","c90911387c5e9e024c309e63a14946a9bc3c71293e8f9d09eece16e11f167974","066f0de5d2acf0be06eb29a5ada8107f93891d7a983e6ba095260406650d742d",{"version":"6ae884f4861da8949f2c466b2d44fb087b2f1de82fe3449c3c52bd1d8cf998e6","affectsGlobalScope":true},"cbe717c2735bf2a6ceb29c2131232e74f4f95878072873dfb263566035024f99","5fd00b0ad7ef4e7eb69341da6ec17400922860afbdbc2cc46a37eba833d8a0bd","bc0c9dbd2b273d9466a31143a5f0118e8902232d906b3987d19d1bd67b96ee5d","757fec48e36f86c8b791b770c31f510d0e53817a95f61130df26df57cb382113","df1ef76fc7c5aa1e7a3cef10fce8c96fd7582c79b512f2c4bba8fec04127fe2e","1b952304137851e45bc009785de89ada562d9376177c97e37702e39e60c2f1ff",{"version":"806ef4cac3b3d9fa4a48d849c8e084d7c72fcd7b16d76e06049a9ed742ff79c0","affectsGlobalScope":true},"a279435e7813d1f061c0cab6ab77b1b9377e8d96851e5ed4a76a1ce6eb6e628f","28e6ac6505a2b6755ce0752cd4d2dbd880e0e4e9bbfeaa3c777821825db2711a",{"version":"8a4f510bad5e5f5312fd966d20675381a3467c0c8d1b528b7f8e5ebb732ba1c9","affectsGlobalScope":true},"664d8f2d59164f2e08c543981453893bc7e003e4dfd29651ce09db13e9457980","8222fe4c00d4530dc2eba1c2948292d02ea45801c35cea74e7647034d6f0ee88","dcbcf0056d7bcd4e716bd0cc9223913e58373095c4750250f525694d88f49962","715b8aedc97884235eac2346481e7f1cca0379f870a58a60d22f444f8b7c59a8","1379d5d1decf758cf2041743711f1d0235ef30b1eed5777faba29181088149c5","1407e21299263c699aaed7d69c5948ddbaf337b899f2c377492f37a6bfc5c52d","5d50d7b266824bd435c9696f71d64041db90667b6f95d5285adfa6946a73dde5","6ad31da46b09e72ed5ab6d5c645c22934724dd1bfafb18bf6b225824032d3f72","b9d6227d9cf5e2aac16c149377136b01e8692c0f82f185f6192c78285236e71d","555122eabf41efe584457b407892ed4420c5dc5404004eafed8bc365459f1eef","56f3ed639ae070160aaa79a626e0f956374c7dcd2093216f48cc952981ea2e93",{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true},"ba229259c8b01c6733dc6a3e7b2ae3e2b76e502bb640a1691238a4c9cae5cfed","bc81aff061c53a7140270555f4b22da4ecfe8601e8027cf5aa175fbdc7927c31","1442a75050bad91356b11dcea6dfb877154d1f2e00f863a9b17ba5e903659503","3430dd8e1c3aa7958361c6922ffb1ffbf2a4bf349749b25c9b3e4821301b3f1f","3f702b041b5b9c5c4f98db9b097ca0cdc5ed674a2fc4c89acc6cf8a03b75d4b2","89a8a61e54fe810ec3adc0ea9f3dad8dcacd1b3a949a640574163c769c97285e",{"version":"eddb42e7da0498fbdf5ac0901243cf62186dcb44c416897105eb6440ff0b31ea","signature":"3a87f458fd6e258927333e65388df141accaefef271df5b98def11a5ff3b843a"},"6d829824ead8999f87b6df21200df3c6150391b894b4e80662caa462bd48d073","65cfd1c0bc729fbc2b49fe66bc5ebddba5aa3a978c748e1d2e0d07f502238ce2","16d51f964ec125ad2024cf03f0af444b3bc3ec3614d9345cc54d09bab45c9a4c","ba601641fac98c229ccd4a303f747de376d761babb33229bb7153bed9356c9cc",{"version":"61b60d145059c3c8e3c7b484713191b6d0b70999bcb11f2b26286b15926a2b5f","affectsGlobalScope":true},"56cbe80e6c42d7e6e66b6f048add8b01c663797b843a074d9f19c4a3d63a269a",{"version":"b887f6c646ebad9284f7cdcad84c4b2f2690a3facad839c71c2bdcd5a9d0fed7","affectsGlobalScope":true},{"version":"835ddde1592ee7de17e7785b27a098437fe4961a9ec96cdeafdb536217123bc8","affectsGlobalScope":true},"9f3554130bc117f19a9d4186bd83a97145c71818c1b1c51424967e0f607324d5","84e3bbd6f80983d468260fdbfeeb431cc81f7ea98d284d836e4d168e36875e86","0b85cb069d0e427ba946e5eb2d86ef65ffd19867042810516d16919f6c1a5aec","15c88bfd1b8dc7231ff828ae8df5d955bae5ebca4cf2bcb417af5821e52299ae","6435575b4feae200831d37df9f871de6e695c64d3148611fe1b4d714d648ea24","8c2e6e491e1a08855b8bf70820184ff66ae0d43f7cf0311fc680e6d860af211c","8841e2aa774b89bd23302dede20663306dc1b9902431ac64b24be8b8d0e3f649","725b884357ba84171341a8e4cc08edf11417854fd069842ca6d22afb2e340e45","090ca38de36da6946266ef9057295341b6499c2fad4fe441afa50b2e864846b0","b3338366fe1f2c5f978e2ec200f57d35c5bd2c4c90c2191f1e638cfa5621c1f6","0359682c54e487c4cab2b53b2b4d35cc8dea4d9914bc6abcdb5701f8b8e745a4","96d14f21b7652903852eef49379d04dbda28c16ed36468f8c9fa08f7c14c9538","82169f198ffdfc787fba368ccfad2b2d8ef3712f3c696df94ac13f6884bbbe2d","88729a5197828979ab6417dc186e05d494c5a915049dd92011d91f3c05529bc4","209e814e8e71aec74f69686a9506dd7610b97ab59dcee9446266446f72a76d05","97057c24c7f25f01fa0db7a48b7885e0d9e73ace397d8cd71d9f7fcbdc4fab6f","736097ddbb2903bef918bb3b5811ef1c9c5656f2a73bd39b22a91b9cc2525e50","208bb742e0f201470da121bc73847c74b62cff4172f38ae5949ae77d6c9c6b71","062bd2910098fc059ba93e347649b3e126c555f7b144033d21d3f8ef63d3e39b","bc93163dc226b26bf07739d0f4fda65f2158201a08256a866ca3802daca064e4","8f569bc8c258cb18244915eedd9b2e86f11b1de7d2240fe65aade9b75d05a4b9","b727875f4767aee6ac8f5d4a2dfbee346eeb6f3849705556ce1d258588d61443","6fa0008bf91a4cc9c8963bace4bba0bd6865cbfa29c3e3ccc461155660fb113a","2b8264b2fefd7367e0f20e2c04eed5d3038831fe00f5efbc110ff0131aab899b","62b931417104c7cb35d0725e1869f51d52d7b18462fd58f32f846a314a42ba10","3cfb0cb51cc2c2e1b313d7c4df04dbf7e5bda0a133c6b309bf6af77cf614b971","74b0245c42990ed8a849df955db3f4362c81b13f799ebc981b7bec2d5b414a57","67fc055eb86a0632e2e072838f889ffe1754083cb13c8c80a06a7d895d877aae","3833c70307dc3d2b46cb6f2a8b6a90e4d7e7367a21ab18c481d7de0909a43e67","239f0c1d83d1ca9677327198196ee2ce6827dc7b469771ab5abf7bea7fbdb674","2887592574fcdfd087647c539dcb0fbe5af2521270dad4a37f9d17c16190d579","9d74c7330800b325bb19cc8c1a153a612c080a60094e1ab6cfb6e39cf1b88c36","fab58e600970e66547644a44bc9918e3223aa2cbd9e8763cec004b2cfb48827e","4fb0b7d532aa6fb850b6cd2f1ee4f00802d877b5c66a51903bc1fb0624126349","b90c59ac4682368a01c83881b814738eb151de8a58f52eb7edadea2bcffb11b9","8560a87b2e9f8e2c3808c8f6172c9b7eb6c9b08cb9f937db71c285ecf292c81d","ffe3931ff864f28d80ae2f33bd11123ad3d7bad9896b910a1e61504cc093e1f5","083c1bd82f8dc3a1ed6fc9e8eaddf141f7c05df418eca386598821e045253af9","274ebe605bd7f71ce161f9f5328febc7d547a2929f803f04b44ec4a7d8729517","6ca0207e70d985a24396583f55836b10dc181063ab6069733561bfde404d1bad","5908142efeaab38ffdf43927ee0af681ae77e0d7672b956dfb8b6c705dbfe106","f772b188b943549b5c5eb803133314b8aa7689eced80eed0b70e2f30ca07ab9c","0026b816ef05cfbf290e8585820eef0f13250438669107dfc44482bac007b14f","05d64cc1118031b29786632a9a0f6d7cf1dcacb303f27023a466cf3cdc860538","e0fff9119e1a5d2fdd46345734126cd6cb99c2d98a9debf0257047fe3937cc3f","d84398556ba4595ee6be554671da142cfe964cbdebb2f0c517a10f76f2b016c0","e275297155ec3251200abbb334c7f5641fecc68b2a9573e40eed50dff7584762","cd6a7c1c2a6461c6868601ca2144a41f8ee6d4a85d4b4cf1deb651e6c2ebc9e5","59115d08fbd0d93bbb2af3fe5b914194fea2906945f2ee08e264b96c7e8601fe","f90d85d4cb38445499bdb7e7b013e4f64d99d157a6fa0843e998495ceb27b520","94ae892ab0c0b2800dbd817ffd0a5bd6cfb60a0cc4ce6860a9f965712cc3eb5d","901becb8779e1089442378fda5623e607ee4588762a32e7692436f1ea81cf848","8286d84d2567b713fd6a1fdfbb1a0abc8cfa668ee1e0e83d7dd4ade5761f2750","f28dffc6bf9bbd8b9dc156aadb74d11de7faabf547eb9f0aebb8cd03e8750a6c","3ccfa874d9f580967b87bffd360124588743fd9d81c6a843ae71143e7c0a0acd"],"options":{"composite":true,"declaration":true,"emitDecoratorMetadata":true,"esModuleInterop":true,"experimentalDecorators":true,"jsx":2,"module":1,"noImplicitAny":false,"outDir":"./dist","removeComments":false,"rootDir":"./src","skipLibCheck":true,"sourceMap":true,"target":7},"fileIdsList":[[83,108,115,122],[107,108,115,126],[83,108,115],[108],[80,83,108,115,124,125],[108,123,125,126,132],[81,108,115],[80,108,115,136],[80,83,85,88,97,107,108,115],[80,108,115],[108,135],[83,107,108,115,146,147],[108,115,149,150],[65,108],[68,108],[69,74,108],[70,80,81,88,97,107,108],[70,71,80,88,108],[72,108],[73,74,81,89,108],[74,97,104,108],[75,77,80,88,108],[76,108],[77,78,108],[79,80,108],[80,108],[80,81,82,97,107,108],[80,81,82,97,108],[83,88,97,107,108],[80,81,83,84,88,97,104,107,108],[83,85,97,104,107,108],[65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114],[80,86,108],[87,107,108],[77,80,88,97,108],[89,108],[90,108],[68,91,108],[92,106,108,112],[93,108],[94,108],[80,95,108],[95,96,108,110],[80,97,98,99,108],[97,99,108],[97,98,108],[100,108],[101,108],[80,102,103,108],[102,103,108],[74,88,104,108],[105,108],[88,106,108],[69,83,94,107,108],[74,108],[97,108,109],[108,110],[108,111],[69,74,80,82,91,97,107,108,110,112],[97,108,113],[44,45,46,47,108],[83,97,108,115],[83,108,115,131],[97,108,115],[80,88,97,108,115,149],[80,97,108,113,115,145],[108,160],[83,85,108,127,132,133,177,183],[108,115,165,166,167,168,169,170,171,172,173,174,175],[108,164,165,174],[108,165,174],[108,157,164,165,174],[108,164,165,166,167,168,169,170,171,172,173,175],[108,165],[74,108,164,174],[74,108,115,158,160,161,163,176],[80,83,85,88,97,104,107,108,113,115],[83,108,115,178],[108,181],[108,179,180],[108,178,182],[83,88,108,115,133,138],[108,116],[53,108,118,120],[49,53,63,64,108,119],[53,108,120],[108,120],[54,55,56,57,58,59,60,61,62,108],[50,51,52,108],[108,116,117],[48,108,120],[48,120]],"referencedMap":[[123,1],[127,2],[122,3],[128,4],[129,4],[130,4],[126,5],[133,6],[134,7],[135,4],[137,8],[138,9],[139,4],[140,4],[141,4],[142,10],[143,11],[131,4],[136,4],[144,4],[145,10],[147,4],[148,12],[151,13],[65,14],[66,14],[68,15],[69,16],[70,17],[71,18],[72,19],[73,20],[74,21],[75,22],[76,23],[77,24],[78,24],[79,25],[80,26],[81,27],[82,28],[67,4],[114,4],[83,29],[84,30],[85,31],[115,32],[86,33],[87,34],[88,35],[89,36],[90,37],[91,38],[92,39],[93,40],[94,41],[95,42],[96,43],[97,44],[99,45],[98,46],[100,47],[101,48],[102,49],[103,50],[104,51],[105,52],[106,53],[107,54],[108,55],[109,56],[110,57],[111,58],[112,59],[113,60],[152,4],[153,4],[46,4],[154,4],[125,4],[124,4],[44,4],[48,61],[155,62],[156,4],[47,4],[132,63],[157,4],[149,64],[150,65],[158,4],[159,66],[161,67],[162,4],[184,68],[176,69],[175,70],[166,71],[167,72],[174,73],[168,72],[169,71],[170,71],[171,71],[172,74],[165,75],[173,70],[164,4],[177,76],[116,77],[163,4],[45,4],[146,62],[180,78],[182,79],[181,80],[179,3],[183,81],[178,82],[117,83],[160,4],[8,4],[9,4],[13,4],[12,4],[2,4],[14,4],[15,4],[16,4],[17,4],[18,4],[19,4],[20,4],[21,4],[3,4],[4,4],[25,4],[22,4],[23,4],[24,4],[26,4],[27,4],[28,4],[5,4],[29,4],[30,4],[31,4],[32,4],[6,4],[33,4],[34,4],[35,4],[36,4],[7,4],[43,4],[41,4],[37,4],[38,4],[39,4],[40,4],[1,4],[42,4],[11,4],[10,4],[119,84],[49,4],[120,85],[64,86],[50,4],[52,4],[51,4],[54,86],[55,87],[56,4],[60,86],[61,86],[63,88],[62,86],[57,87],[58,87],[59,87],[53,89],[118,90],[121,91]],"exportedModulesMap":[[123,1],[127,2],[122,3],[128,4],[129,4],[130,4],[126,5],[133,6],[134,7],[135,4],[137,8],[138,9],[139,4],[140,4],[141,4],[142,10],[143,11],[131,4],[136,4],[144,4],[145,10],[147,4],[148,12],[151,13],[65,14],[66,14],[68,15],[69,16],[70,17],[71,18],[72,19],[73,20],[74,21],[75,22],[76,23],[77,24],[78,24],[79,25],[80,26],[81,27],[82,28],[67,4],[114,4],[83,29],[84,30],[85,31],[115,32],[86,33],[87,34],[88,35],[89,36],[90,37],[91,38],[92,39],[93,40],[94,41],[95,42],[96,43],[97,44],[99,45],[98,46],[100,47],[101,48],[102,49],[103,50],[104,51],[105,52],[106,53],[107,54],[108,55],[109,56],[110,57],[111,58],[112,59],[113,60],[152,4],[153,4],[46,4],[154,4],[125,4],[124,4],[44,4],[48,61],[155,62],[156,4],[47,4],[132,63],[157,4],[149,64],[150,65],[158,4],[159,66],[161,67],[162,4],[184,68],[176,69],[175,70],[166,71],[167,72],[174,73],[168,72],[169,71],[170,71],[171,71],[172,74],[165,75],[173,70],[164,4],[177,76],[116,77],[163,4],[45,4],[146,62],[180,78],[182,79],[181,80],[179,3],[183,81],[178,82],[117,83],[160,4],[8,4],[9,4],[13,4],[12,4],[2,4],[14,4],[15,4],[16,4],[17,4],[18,4],[19,4],[20,4],[21,4],[3,4],[4,4],[25,4],[22,4],[23,4],[24,4],[26,4],[27,4],[28,4],[5,4],[29,4],[30,4],[31,4],[32,4],[6,4],[33,4],[34,4],[35,4],[36,4],[7,4],[43,4],[41,4],[37,4],[38,4],[39,4],[40,4],[1,4],[42,4],[11,4],[10,4],[119,84],[49,4],[120,85],[64,86],[50,4],[52,4],[51,4],[54,86],[55,87],[56,4],[60,86],[61,86],[63,88],[62,86],[57,87],[58,87],[59,87],[53,89],[118,90],[121,92]],"semanticDiagnosticsPerFile":[123,127,122,128,129,130,126,133,134,135,137,138,139,140,141,142,143,131,136,144,145,147,148,151,65,66,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,67,114,83,84,85,115,86,87,88,89,90,91,92,93,94,95,96,97,99,98,100,101,102,103,104,105,106,107,108,109,110,111,112,113,152,153,46,154,125,124,44,48,155,156,47,132,157,149,150,158,159,161,162,184,176,175,166,167,174,168,169,170,171,172,165,173,164,177,116,163,45,146,180,182,181,179,183,178,117,160,8,9,13,12,2,14,15,16,17,18,19,20,21,3,4,25,22,23,24,26,27,28,5,29,30,31,32,6,33,34,35,36,7,43,41,37,38,39,40,1,42,11,10,119,49,120,64,50,52,51,54,55,56,60,61,63,62,57,58,59,53,118,121]},"version":"4.4.3"}