@deepintel-ltd/farmpro-contracts 1.3.1 → 1.3.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +7 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +10 -1
- package/dist/routes/admin.routes.d.ts +747 -0
- package/dist/routes/admin.routes.d.ts.map +1 -0
- package/dist/routes/admin.routes.js +26 -0
- package/dist/routes/agent-workflows.routes.d.ts +2900 -0
- package/dist/routes/agent-workflows.routes.d.ts.map +1 -0
- package/dist/routes/agent-workflows.routes.js +160 -0
- package/dist/routes/documents.routes.d.ts +417 -0
- package/dist/routes/documents.routes.d.ts.map +1 -1
- package/dist/routes/documents.routes.js +16 -0
- package/dist/routes/field-monitoring.routes.d.ts +568 -23
- package/dist/routes/field-monitoring.routes.d.ts.map +1 -1
- package/dist/routes/field-monitoring.routes.js +64 -0
- package/dist/routes/field-observations.routes.d.ts +130 -58
- package/dist/routes/field-observations.routes.d.ts.map +1 -1
- package/dist/routes/health.routes.d.ts +317 -0
- package/dist/routes/health.routes.d.ts.map +1 -0
- package/dist/routes/health.routes.js +18 -0
- package/dist/routes/index.d.ts +9 -0
- package/dist/routes/index.d.ts.map +1 -1
- package/dist/routes/index.js +6 -0
- package/dist/routes/tasks.routes.d.ts +408 -0
- package/dist/routes/tasks.routes.d.ts.map +1 -1
- package/dist/routes/weather.routes.d.ts +264 -17
- package/dist/routes/weather.routes.d.ts.map +1 -1
- package/dist/schemas/admin.schemas.d.ts +1063 -0
- package/dist/schemas/admin.schemas.d.ts.map +1 -0
- package/dist/schemas/admin.schemas.js +63 -0
- package/dist/schemas/agent-workflows.schemas.d.ts +2399 -0
- package/dist/schemas/agent-workflows.schemas.d.ts.map +1 -0
- package/dist/schemas/agent-workflows.schemas.js +70 -0
- package/dist/schemas/documents.schemas.d.ts +202 -0
- package/dist/schemas/documents.schemas.d.ts.map +1 -1
- package/dist/schemas/documents.schemas.js +10 -1
- package/dist/schemas/field-monitoring.schemas.d.ts +215 -9
- package/dist/schemas/field-monitoring.schemas.d.ts.map +1 -1
- package/dist/schemas/field-monitoring.schemas.js +26 -2
- package/dist/schemas/field-observations.schemas.d.ts +100 -40
- package/dist/schemas/field-observations.schemas.d.ts.map +1 -1
- package/dist/schemas/field-observations.schemas.js +2 -24
- package/dist/schemas/health.schemas.d.ts +176 -0
- package/dist/schemas/health.schemas.d.ts.map +1 -0
- package/dist/schemas/health.schemas.js +26 -0
- package/dist/schemas/recommendations.schemas.d.ts +112 -0
- package/dist/schemas/recommendations.schemas.d.ts.map +1 -0
- package/dist/schemas/recommendations.schemas.js +32 -0
- package/dist/schemas/tasks.schemas.d.ts +344 -0
- package/dist/schemas/tasks.schemas.d.ts.map +1 -1
- package/dist/schemas/tasks.schemas.js +9 -0
- package/dist/schemas/weather.schemas.d.ts +780 -44
- package/dist/schemas/weather.schemas.d.ts.map +1 -1
- package/dist/schemas/weather.schemas.js +2 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tasks.routes.d.ts","sourceRoot":"","sources":["../../src/routes/tasks.routes.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAqBxB,eAAO,MAAM,WAAW
|
|
1
|
+
{"version":3,"file":"tasks.routes.d.ts","sourceRoot":"","sources":["../../src/routes/tasks.routes.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAqBxB,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuItB,CAAC"}
|
|
@@ -64,23 +64,144 @@ export declare const weatherRouter: {
|
|
|
64
64
|
message: z.ZodString;
|
|
65
65
|
fieldId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
66
66
|
date: z.ZodString;
|
|
67
|
-
|
|
67
|
+
recommendations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
68
|
+
priority: z.ZodNumber;
|
|
69
|
+
action: z.ZodString;
|
|
70
|
+
details: z.ZodString;
|
|
71
|
+
timing: z.ZodString;
|
|
72
|
+
severity: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "critical"]>>;
|
|
73
|
+
confidence: z.ZodOptional<z.ZodNumber>;
|
|
74
|
+
materials: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
75
|
+
inventoryItemId: z.ZodOptional<z.ZodString>;
|
|
76
|
+
name: z.ZodString;
|
|
77
|
+
quantity: z.ZodNumber;
|
|
78
|
+
unit: z.ZodString;
|
|
79
|
+
costPerUnit: z.ZodOptional<z.ZodNumber>;
|
|
80
|
+
totalCost: z.ZodOptional<z.ZodNumber>;
|
|
81
|
+
availability: z.ZodOptional<z.ZodString>;
|
|
82
|
+
}, "strip", z.ZodTypeAny, {
|
|
83
|
+
name: string;
|
|
84
|
+
unit: string;
|
|
85
|
+
quantity: number;
|
|
86
|
+
inventoryItemId?: string | undefined;
|
|
87
|
+
totalCost?: number | undefined;
|
|
88
|
+
costPerUnit?: number | undefined;
|
|
89
|
+
availability?: string | undefined;
|
|
90
|
+
}, {
|
|
91
|
+
name: string;
|
|
92
|
+
unit: string;
|
|
93
|
+
quantity: number;
|
|
94
|
+
inventoryItemId?: string | undefined;
|
|
95
|
+
totalCost?: number | undefined;
|
|
96
|
+
costPerUnit?: number | undefined;
|
|
97
|
+
availability?: string | undefined;
|
|
98
|
+
}>, "many">>;
|
|
99
|
+
applicationMethod: z.ZodOptional<z.ZodString>;
|
|
100
|
+
expectedOutcome: z.ZodOptional<z.ZodString>;
|
|
101
|
+
preventiveMeasures: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
102
|
+
estimatedTime: z.ZodOptional<z.ZodString>;
|
|
103
|
+
riskLevel: z.ZodOptional<z.ZodString>;
|
|
104
|
+
}, "strip", z.ZodTypeAny, {
|
|
105
|
+
priority: number;
|
|
106
|
+
action: string;
|
|
107
|
+
details: string;
|
|
108
|
+
timing: string;
|
|
109
|
+
severity?: "critical" | "low" | "medium" | "high" | undefined;
|
|
110
|
+
confidence?: number | undefined;
|
|
111
|
+
materials?: {
|
|
112
|
+
name: string;
|
|
113
|
+
unit: string;
|
|
114
|
+
quantity: number;
|
|
115
|
+
inventoryItemId?: string | undefined;
|
|
116
|
+
totalCost?: number | undefined;
|
|
117
|
+
costPerUnit?: number | undefined;
|
|
118
|
+
availability?: string | undefined;
|
|
119
|
+
}[] | undefined;
|
|
120
|
+
applicationMethod?: string | undefined;
|
|
121
|
+
expectedOutcome?: string | undefined;
|
|
122
|
+
preventiveMeasures?: string[] | undefined;
|
|
123
|
+
estimatedTime?: string | undefined;
|
|
124
|
+
riskLevel?: string | undefined;
|
|
125
|
+
}, {
|
|
126
|
+
priority: number;
|
|
127
|
+
action: string;
|
|
128
|
+
details: string;
|
|
129
|
+
timing: string;
|
|
130
|
+
severity?: "critical" | "low" | "medium" | "high" | undefined;
|
|
131
|
+
confidence?: number | undefined;
|
|
132
|
+
materials?: {
|
|
133
|
+
name: string;
|
|
134
|
+
unit: string;
|
|
135
|
+
quantity: number;
|
|
136
|
+
inventoryItemId?: string | undefined;
|
|
137
|
+
totalCost?: number | undefined;
|
|
138
|
+
costPerUnit?: number | undefined;
|
|
139
|
+
availability?: string | undefined;
|
|
140
|
+
}[] | undefined;
|
|
141
|
+
applicationMethod?: string | undefined;
|
|
142
|
+
expectedOutcome?: string | undefined;
|
|
143
|
+
preventiveMeasures?: string[] | undefined;
|
|
144
|
+
estimatedTime?: string | undefined;
|
|
145
|
+
riskLevel?: string | undefined;
|
|
146
|
+
}>, "many">>;
|
|
68
147
|
}, "strip", z.ZodTypeAny, {
|
|
69
148
|
type: "drought" | "heavy-rain" | "frost" | "optimal" | "wind";
|
|
70
149
|
message: string;
|
|
71
150
|
date: string;
|
|
72
151
|
id: string;
|
|
73
|
-
severity: "
|
|
152
|
+
severity: "low" | "medium" | "high";
|
|
74
153
|
fieldId?: string | null | undefined;
|
|
75
|
-
|
|
154
|
+
recommendations?: {
|
|
155
|
+
priority: number;
|
|
156
|
+
action: string;
|
|
157
|
+
details: string;
|
|
158
|
+
timing: string;
|
|
159
|
+
severity?: "critical" | "low" | "medium" | "high" | undefined;
|
|
160
|
+
confidence?: number | undefined;
|
|
161
|
+
materials?: {
|
|
162
|
+
name: string;
|
|
163
|
+
unit: string;
|
|
164
|
+
quantity: number;
|
|
165
|
+
inventoryItemId?: string | undefined;
|
|
166
|
+
totalCost?: number | undefined;
|
|
167
|
+
costPerUnit?: number | undefined;
|
|
168
|
+
availability?: string | undefined;
|
|
169
|
+
}[] | undefined;
|
|
170
|
+
applicationMethod?: string | undefined;
|
|
171
|
+
expectedOutcome?: string | undefined;
|
|
172
|
+
preventiveMeasures?: string[] | undefined;
|
|
173
|
+
estimatedTime?: string | undefined;
|
|
174
|
+
riskLevel?: string | undefined;
|
|
175
|
+
}[] | undefined;
|
|
76
176
|
}, {
|
|
77
177
|
type: "drought" | "heavy-rain" | "frost" | "optimal" | "wind";
|
|
78
178
|
message: string;
|
|
79
179
|
date: string;
|
|
80
180
|
id: string;
|
|
81
|
-
severity: "
|
|
181
|
+
severity: "low" | "medium" | "high";
|
|
82
182
|
fieldId?: string | null | undefined;
|
|
83
|
-
|
|
183
|
+
recommendations?: {
|
|
184
|
+
priority: number;
|
|
185
|
+
action: string;
|
|
186
|
+
details: string;
|
|
187
|
+
timing: string;
|
|
188
|
+
severity?: "critical" | "low" | "medium" | "high" | undefined;
|
|
189
|
+
confidence?: number | undefined;
|
|
190
|
+
materials?: {
|
|
191
|
+
name: string;
|
|
192
|
+
unit: string;
|
|
193
|
+
quantity: number;
|
|
194
|
+
inventoryItemId?: string | undefined;
|
|
195
|
+
totalCost?: number | undefined;
|
|
196
|
+
costPerUnit?: number | undefined;
|
|
197
|
+
availability?: string | undefined;
|
|
198
|
+
}[] | undefined;
|
|
199
|
+
applicationMethod?: string | undefined;
|
|
200
|
+
expectedOutcome?: string | undefined;
|
|
201
|
+
preventiveMeasures?: string[] | undefined;
|
|
202
|
+
estimatedTime?: string | undefined;
|
|
203
|
+
riskLevel?: string | undefined;
|
|
204
|
+
}[] | undefined;
|
|
84
205
|
}>, "many">>;
|
|
85
206
|
}, "strip", z.ZodTypeAny, {
|
|
86
207
|
farmId: string;
|
|
@@ -103,9 +224,30 @@ export declare const weatherRouter: {
|
|
|
103
224
|
message: string;
|
|
104
225
|
date: string;
|
|
105
226
|
id: string;
|
|
106
|
-
severity: "
|
|
227
|
+
severity: "low" | "medium" | "high";
|
|
107
228
|
fieldId?: string | null | undefined;
|
|
108
|
-
|
|
229
|
+
recommendations?: {
|
|
230
|
+
priority: number;
|
|
231
|
+
action: string;
|
|
232
|
+
details: string;
|
|
233
|
+
timing: string;
|
|
234
|
+
severity?: "critical" | "low" | "medium" | "high" | undefined;
|
|
235
|
+
confidence?: number | undefined;
|
|
236
|
+
materials?: {
|
|
237
|
+
name: string;
|
|
238
|
+
unit: string;
|
|
239
|
+
quantity: number;
|
|
240
|
+
inventoryItemId?: string | undefined;
|
|
241
|
+
totalCost?: number | undefined;
|
|
242
|
+
costPerUnit?: number | undefined;
|
|
243
|
+
availability?: string | undefined;
|
|
244
|
+
}[] | undefined;
|
|
245
|
+
applicationMethod?: string | undefined;
|
|
246
|
+
expectedOutcome?: string | undefined;
|
|
247
|
+
preventiveMeasures?: string[] | undefined;
|
|
248
|
+
estimatedTime?: string | undefined;
|
|
249
|
+
riskLevel?: string | undefined;
|
|
250
|
+
}[] | undefined;
|
|
109
251
|
}[] | undefined;
|
|
110
252
|
}, {
|
|
111
253
|
farmId: string;
|
|
@@ -128,9 +270,30 @@ export declare const weatherRouter: {
|
|
|
128
270
|
message: string;
|
|
129
271
|
date: string;
|
|
130
272
|
id: string;
|
|
131
|
-
severity: "
|
|
273
|
+
severity: "low" | "medium" | "high";
|
|
132
274
|
fieldId?: string | null | undefined;
|
|
133
|
-
|
|
275
|
+
recommendations?: {
|
|
276
|
+
priority: number;
|
|
277
|
+
action: string;
|
|
278
|
+
details: string;
|
|
279
|
+
timing: string;
|
|
280
|
+
severity?: "critical" | "low" | "medium" | "high" | undefined;
|
|
281
|
+
confidence?: number | undefined;
|
|
282
|
+
materials?: {
|
|
283
|
+
name: string;
|
|
284
|
+
unit: string;
|
|
285
|
+
quantity: number;
|
|
286
|
+
inventoryItemId?: string | undefined;
|
|
287
|
+
totalCost?: number | undefined;
|
|
288
|
+
costPerUnit?: number | undefined;
|
|
289
|
+
availability?: string | undefined;
|
|
290
|
+
}[] | undefined;
|
|
291
|
+
applicationMethod?: string | undefined;
|
|
292
|
+
expectedOutcome?: string | undefined;
|
|
293
|
+
preventiveMeasures?: string[] | undefined;
|
|
294
|
+
estimatedTime?: string | undefined;
|
|
295
|
+
riskLevel?: string | undefined;
|
|
296
|
+
}[] | undefined;
|
|
134
297
|
}[] | undefined;
|
|
135
298
|
}>;
|
|
136
299
|
relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -160,9 +323,30 @@ export declare const weatherRouter: {
|
|
|
160
323
|
message: string;
|
|
161
324
|
date: string;
|
|
162
325
|
id: string;
|
|
163
|
-
severity: "
|
|
326
|
+
severity: "low" | "medium" | "high";
|
|
164
327
|
fieldId?: string | null | undefined;
|
|
165
|
-
|
|
328
|
+
recommendations?: {
|
|
329
|
+
priority: number;
|
|
330
|
+
action: string;
|
|
331
|
+
details: string;
|
|
332
|
+
timing: string;
|
|
333
|
+
severity?: "critical" | "low" | "medium" | "high" | undefined;
|
|
334
|
+
confidence?: number | undefined;
|
|
335
|
+
materials?: {
|
|
336
|
+
name: string;
|
|
337
|
+
unit: string;
|
|
338
|
+
quantity: number;
|
|
339
|
+
inventoryItemId?: string | undefined;
|
|
340
|
+
totalCost?: number | undefined;
|
|
341
|
+
costPerUnit?: number | undefined;
|
|
342
|
+
availability?: string | undefined;
|
|
343
|
+
}[] | undefined;
|
|
344
|
+
applicationMethod?: string | undefined;
|
|
345
|
+
expectedOutcome?: string | undefined;
|
|
346
|
+
preventiveMeasures?: string[] | undefined;
|
|
347
|
+
estimatedTime?: string | undefined;
|
|
348
|
+
riskLevel?: string | undefined;
|
|
349
|
+
}[] | undefined;
|
|
166
350
|
}[] | undefined;
|
|
167
351
|
};
|
|
168
352
|
relationships?: Record<string, unknown> | undefined;
|
|
@@ -192,9 +376,30 @@ export declare const weatherRouter: {
|
|
|
192
376
|
message: string;
|
|
193
377
|
date: string;
|
|
194
378
|
id: string;
|
|
195
|
-
severity: "
|
|
379
|
+
severity: "low" | "medium" | "high";
|
|
196
380
|
fieldId?: string | null | undefined;
|
|
197
|
-
|
|
381
|
+
recommendations?: {
|
|
382
|
+
priority: number;
|
|
383
|
+
action: string;
|
|
384
|
+
details: string;
|
|
385
|
+
timing: string;
|
|
386
|
+
severity?: "critical" | "low" | "medium" | "high" | undefined;
|
|
387
|
+
confidence?: number | undefined;
|
|
388
|
+
materials?: {
|
|
389
|
+
name: string;
|
|
390
|
+
unit: string;
|
|
391
|
+
quantity: number;
|
|
392
|
+
inventoryItemId?: string | undefined;
|
|
393
|
+
totalCost?: number | undefined;
|
|
394
|
+
costPerUnit?: number | undefined;
|
|
395
|
+
availability?: string | undefined;
|
|
396
|
+
}[] | undefined;
|
|
397
|
+
applicationMethod?: string | undefined;
|
|
398
|
+
expectedOutcome?: string | undefined;
|
|
399
|
+
preventiveMeasures?: string[] | undefined;
|
|
400
|
+
estimatedTime?: string | undefined;
|
|
401
|
+
riskLevel?: string | undefined;
|
|
402
|
+
}[] | undefined;
|
|
198
403
|
}[] | undefined;
|
|
199
404
|
};
|
|
200
405
|
relationships?: Record<string, unknown> | undefined;
|
|
@@ -250,9 +455,30 @@ export declare const weatherRouter: {
|
|
|
250
455
|
message: string;
|
|
251
456
|
date: string;
|
|
252
457
|
id: string;
|
|
253
|
-
severity: "
|
|
458
|
+
severity: "low" | "medium" | "high";
|
|
254
459
|
fieldId?: string | null | undefined;
|
|
255
|
-
|
|
460
|
+
recommendations?: {
|
|
461
|
+
priority: number;
|
|
462
|
+
action: string;
|
|
463
|
+
details: string;
|
|
464
|
+
timing: string;
|
|
465
|
+
severity?: "critical" | "low" | "medium" | "high" | undefined;
|
|
466
|
+
confidence?: number | undefined;
|
|
467
|
+
materials?: {
|
|
468
|
+
name: string;
|
|
469
|
+
unit: string;
|
|
470
|
+
quantity: number;
|
|
471
|
+
inventoryItemId?: string | undefined;
|
|
472
|
+
totalCost?: number | undefined;
|
|
473
|
+
costPerUnit?: number | undefined;
|
|
474
|
+
availability?: string | undefined;
|
|
475
|
+
}[] | undefined;
|
|
476
|
+
applicationMethod?: string | undefined;
|
|
477
|
+
expectedOutcome?: string | undefined;
|
|
478
|
+
preventiveMeasures?: string[] | undefined;
|
|
479
|
+
estimatedTime?: string | undefined;
|
|
480
|
+
riskLevel?: string | undefined;
|
|
481
|
+
}[] | undefined;
|
|
256
482
|
}[] | undefined;
|
|
257
483
|
};
|
|
258
484
|
relationships?: Record<string, unknown> | undefined;
|
|
@@ -294,9 +520,30 @@ export declare const weatherRouter: {
|
|
|
294
520
|
message: string;
|
|
295
521
|
date: string;
|
|
296
522
|
id: string;
|
|
297
|
-
severity: "
|
|
523
|
+
severity: "low" | "medium" | "high";
|
|
298
524
|
fieldId?: string | null | undefined;
|
|
299
|
-
|
|
525
|
+
recommendations?: {
|
|
526
|
+
priority: number;
|
|
527
|
+
action: string;
|
|
528
|
+
details: string;
|
|
529
|
+
timing: string;
|
|
530
|
+
severity?: "critical" | "low" | "medium" | "high" | undefined;
|
|
531
|
+
confidence?: number | undefined;
|
|
532
|
+
materials?: {
|
|
533
|
+
name: string;
|
|
534
|
+
unit: string;
|
|
535
|
+
quantity: number;
|
|
536
|
+
inventoryItemId?: string | undefined;
|
|
537
|
+
totalCost?: number | undefined;
|
|
538
|
+
costPerUnit?: number | undefined;
|
|
539
|
+
availability?: string | undefined;
|
|
540
|
+
}[] | undefined;
|
|
541
|
+
applicationMethod?: string | undefined;
|
|
542
|
+
expectedOutcome?: string | undefined;
|
|
543
|
+
preventiveMeasures?: string[] | undefined;
|
|
544
|
+
estimatedTime?: string | undefined;
|
|
545
|
+
riskLevel?: string | undefined;
|
|
546
|
+
}[] | undefined;
|
|
300
547
|
}[] | undefined;
|
|
301
548
|
};
|
|
302
549
|
relationships?: Record<string, unknown> | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"weather.routes.d.ts","sourceRoot":"","sources":["../../src/routes/weather.routes.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,eAAO,MAAM,aAAa
|
|
1
|
+
{"version":3,"file":"weather.routes.d.ts","sourceRoot":"","sources":["../../src/routes/weather.routes.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAcxB,CAAC"}
|