@kosdev-code/kos-dispense-sdk 0.1.0-dev.5143 → 0.1.0-dev.5146

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.
@@ -1,1304 +0,0 @@
1
- var it = Object.defineProperty;
2
- var ot = (e, t, s) => t in e ? it(e, t, { enumerable: !0, configurable: !0, writable: !0, value: s }) : e[t] = s;
3
- var J = (e, t, s) => (ot(e, typeof t != "symbol" ? t + "" : t, s), s);
4
- import { jsx as m } from "@emotion/react/jsx-runtime";
5
- import { useKosModel as S, getKosCompanionModel as we, kosAutoEffect as Be, KosLog as T, usePressGesture as Te, EventBus as g, TimerManager as ye } from "@kosdev-code/kos-ui-sdk";
6
- import { A as Ae, b as ke, e as ct, d as Ee, N as dt, f as Ce, H as ut, j as Se, I as Ne, k as He, G as lt, P as Ke } from "./dispense-registration-manager-CcFUS_KM.js";
7
- import mt, { createContext as L, useMemo as A, useContext as N, useState as x, useCallback as c, useEffect as F, useRef as de } from "react";
8
- const De = () => {
9
- const e = Ae.type;
10
- return S({
11
- modelId: e,
12
- modelType: Ae.type,
13
- options: {}
14
- });
15
- };
16
- function Dt(e) {
17
- return (t) => {
18
- const { model: s, status: n, KosModelLoader: r } = De();
19
- return /* @__PURE__ */ m(r, { ...n, children: /* @__PURE__ */ m(e, { ...t, assembly: s }) });
20
- };
21
- }
22
- const Me = () => {
23
- const e = ke.type;
24
- return S({
25
- modelId: e,
26
- modelType: ke.type,
27
- options: {}
28
- });
29
- };
30
- function Mt(e) {
31
- return (t) => {
32
- const { model: s, status: n, KosModelLoader: r } = Me();
33
- return /* @__PURE__ */ m(r, { ...n, children: /* @__PURE__ */ m(e, { ...t, beverage: s }) });
34
- };
35
- }
36
- const _e = (e) => S({
37
- modelId: e,
38
- modelType: ct.type,
39
- options: {}
40
- });
41
- function _t(e) {
42
- return (t) => (s) => {
43
- const { model: n, status: r, KosModelLoader: i } = _e(t);
44
- return /* @__PURE__ */ m(i, { ...r, children: /* @__PURE__ */ m(e, { ...s, board: n }) });
45
- };
46
- }
47
- const Oe = () => {
48
- const e = Ee.type;
49
- return S({
50
- modelId: e,
51
- modelType: Ee.type,
52
- options: {}
53
- });
54
- };
55
- function Ot(e) {
56
- return (t) => {
57
- const { model: s, status: n, KosModelLoader: r } = Oe();
58
- return /* @__PURE__ */ m(r, { ...n, children: /* @__PURE__ */ m(e, { ...t, boardContainer: s }) });
59
- };
60
- }
61
- const Ye = (e) => S({
62
- modelId: e,
63
- modelType: dt.type,
64
- options: {
65
- path: e
66
- }
67
- }), Fe = L(void 0), ht = ({ children: e, path: t }) => {
68
- const { model: s, ready: n } = Ye(t), r = A(() => n && s ? { model: s } : {}, [n, s]);
69
- return /* @__PURE__ */ m(Fe.Provider, { value: r, children: e });
70
- }, _ = () => {
71
- const e = N(Fe);
72
- if (!e)
73
- throw new Error("useNozzleContext must be used within a NozzleProvider");
74
- return e;
75
- }, pt = ({
76
- onBeverageSelected: e,
77
- onClearBeverage: t,
78
- companionType: s
79
- }) => {
80
- const { model: n } = _(), [r, i] = x([]), [a, d] = x(null), v = A(() => s ? r.map(
81
- (l) => we(l, s)
82
- ) : [], [r, s]), f = c(
83
- async (l) => {
84
- d(l), await (n == null ? void 0 : n.setSelectedPourable({ beverage: l })), e == null || e(l);
85
- },
86
- [n, e]
87
- ), u = c(async () => {
88
- d(null), await (n == null ? void 0 : n.setSelectedPourable({ beverage: void 0 })), t == null || t();
89
- }, [n, t]);
90
- return F(() => {
91
- const l = Be(() => {
92
- if (!n)
93
- return;
94
- const $ = n.selectedBrand;
95
- if (!$) {
96
- const b = n.getGroupAvailabilityItems("beverages").filter((h) => h.visible);
97
- i(b ?? []);
98
- return;
99
- }
100
- const w = n.getAvailabilityByParent($.id).filter((b) => b.visible);
101
- i(w ?? []);
102
- });
103
- return () => {
104
- l();
105
- };
106
- }, [n]), {
107
- beverages: r,
108
- beverageCompanions: v,
109
- selectBeverage: f,
110
- selectedBeverage: a,
111
- clearBeverage: u
112
- };
113
- }, ft = ({
114
- onBrandSelected: e,
115
- onBrandCleared: t,
116
- companionType: s
117
- }) => {
118
- const { model: n } = _(), [r, i] = x(null), [a, d] = x([]), v = A(() => s ? a.map((l) => we(l, s)) : [], [a, s]), f = c(
119
- async (l) => {
120
- i(l), n == null || n.setSelectedBrand(l), e == null || e(l);
121
- },
122
- [n, e]
123
- ), u = c(() => {
124
- i(null), n == null || n.setSelectedBrand(void 0), t == null || t();
125
- }, [n, t]);
126
- return F(() => {
127
- const l = Be(() => {
128
- n && d(n.visibleBrands);
129
- });
130
- return () => {
131
- l();
132
- };
133
- }, [n]), {
134
- brands: a,
135
- brandCompanions: v,
136
- selectedBrand: r,
137
- selectBrand: f,
138
- clearBrand: u
139
- };
140
- };
141
- class Ge {
142
- constructor() {
143
- J(this, "_data", /* @__PURE__ */ new Map());
144
- }
145
- get(t) {
146
- return this._data.get(t);
147
- }
148
- set(t, s) {
149
- this._data.set(t, s);
150
- }
151
- remove(t) {
152
- this._data.delete(t);
153
- }
154
- has(t) {
155
- return this._data.has(t);
156
- }
157
- }
158
- const bt = T.createLogger({
159
- name: "HoldToPourStrategy",
160
- group: "kos-hooks"
161
- }), Ue = {
162
- name: "HoldToPourStrategy",
163
- async initiate(e) {
164
- if (!(e != null && e.canPour)) {
165
- bt.debug(`Nozzle ${e == null ? void 0 : e.id} cannot pour. Returning early.`);
166
- return;
167
- }
168
- await (e == null ? void 0 : e.pour());
169
- },
170
- async initiateEnded(e) {
171
- await (e == null ? void 0 : e.cancelPour());
172
- }
173
- }, ie = T.createLogger({
174
- name: "useNozzlePour",
175
- group: "kos-hooks"
176
- }), vt = ({
177
- onPour: e,
178
- onPourCancel: t,
179
- onBeforePour: s,
180
- onBeforePourRejected: n,
181
- pourContext: r,
182
- strategy: i = Ue
183
- }) => {
184
- const { model: a } = _(), [d, v] = x(
185
- r || new Ge()
186
- ), f = c(async () => {
187
- (s ? await (s == null ? void 0 : s(d)) : !0) ? (ie.debug(
188
- `[${i == null ? void 0 : i.name}] - Pour initiated for nozzle ${a == null ? void 0 : a.id}.`
189
- ), i == null || i.initiate(a), e == null || e()) : (ie.debug(
190
- `[${i == null ? void 0 : i.name}] - Did not pass onBeforePour gate for nozzle ${a == null ? void 0 : a.id}. Cancelling pour.`
191
- ), n == null || n());
192
- }, [
193
- e,
194
- a,
195
- i,
196
- s,
197
- t,
198
- d,
199
- n
200
- ]), u = c(() => {
201
- var h;
202
- ie.debug(
203
- `[${i == null ? void 0 : i.name}] - Pour initiate ended called for nozzle ${a == null ? void 0 : a.id}.`
204
- ), (h = i == null ? void 0 : i.initiateEnded) == null || h.call(i, a), t == null || t();
205
- }, [t, a, i]), l = c(() => {
206
- ie.debug(`Force cancelling pour for nozzle ${a == null ? void 0 : a.id}.`), a == null || a.cancelPour(), t == null || t();
207
- }, [t, a]), $ = c(
208
- (h, o) => {
209
- d.set(h, o);
210
- },
211
- [d]
212
- ), w = c(
213
- (h) => {
214
- d.remove(h);
215
- },
216
- [d]
217
- );
218
- return {
219
- handlers: Te({
220
- onPressed: f,
221
- onRelease: u
222
- }).dom,
223
- cancel: l,
224
- updatePourContext: $,
225
- removeFromPourContext: w,
226
- status: a
227
- };
228
- }, $t = ({
229
- onFlavorSelected: e,
230
- onFlavorCleared: t,
231
- companionType: s
232
- }) => {
233
- const { model: n } = _(), r = A(
234
- () => (n == null ? void 0 : n.getGroupAvailabilityItems("flavors").filter((u) => u.visible)) ?? [],
235
- [n]
236
- ), i = A(() => s ? r.map(
237
- (u) => we(u, s)
238
- ) : [], [r, s]), [a, d] = x([]), v = c(
239
- async (u) => {
240
- if (d(
241
- (l) => l != null && l.includes(u) ? [...l.filter(($) => $ !== u)] : [...l ?? [], u]
242
- ), n != null && n.selectedPourable) {
243
- const { beverage: l } = n.selectedPourable;
244
- await n.setSelectedPourable({
245
- beverage: l,
246
- additional: a ?? []
247
- });
248
- }
249
- e == null || e(u, a ?? []);
250
- },
251
- [n, e, a]
252
- ), f = c(async () => {
253
- if (d([]), n != null && n.selectedPourable) {
254
- const { beverage: u } = n.selectedPourable;
255
- n.setSelectedPourable({ beverage: u }), t == null || t();
256
- }
257
- }, [n, t]);
258
- return {
259
- flavors: r,
260
- flavorCompanions: i,
261
- selectFlavor: v,
262
- selectedFlavors: a,
263
- clearFlavors: f
264
- };
265
- }, z = "brands", oe = "beverages", ee = "flavors", Y = T.createLogger({ name: "use-cui-kit" }), gt = ({
266
- initialGroup: e = z,
267
- options: t = {}
268
- }) => {
269
- var re, ne, ae;
270
- const [s, n] = x(e), { model: r } = _(), i = de([]), a = de(), d = de(), v = c(
271
- (p) => {
272
- n(ee);
273
- const I = `/kos/dispense/${r == null ? void 0 : r.path}/brand/selected/`;
274
- g.publish(I, p);
275
- },
276
- [r == null ? void 0 : r.path]
277
- ), f = c(() => {
278
- const p = `/kos/dispense/${r == null ? void 0 : r.path}/brand/cleared/`;
279
- g.publish(p, {});
280
- }, [r == null ? void 0 : r.path]), u = c(
281
- (p) => {
282
- var Z;
283
- n(ee), (Z = a.current) == null || Z.call(a, "selectedBeverage", p);
284
- const I = `/kos/dispense/${r == null ? void 0 : r.path}/beverage/selected/`;
285
- g.publish(I, p);
286
- },
287
- [r == null ? void 0 : r.path]
288
- ), l = c(() => {
289
- var I;
290
- const p = `/kos/dispense/${r == null ? void 0 : r.path}/beverage/cleared/`;
291
- (I = d.current) == null || I.call(d, "selectedBeverage"), g.publish(p, {});
292
- }, [r == null ? void 0 : r.path]), $ = c(
293
- (p) => {
294
- const I = `/kos/dispense/${r == null ? void 0 : r.path}/flavor/selected/`;
295
- g.publish(I, p);
296
- },
297
- [r == null ? void 0 : r.path]
298
- ), w = c(() => {
299
- const p = `/kos/dispense/${r == null ? void 0 : r.path}/flavor/cleared/`;
300
- g.publish(p, {});
301
- }, [r == null ? void 0 : r.path]), b = c(() => {
302
- const p = `/kos/dispense/${r == null ? void 0 : r.path}/pour/`;
303
- g.publish(p, {});
304
- }, [r == null ? void 0 : r.path]), h = c(
305
- async (p) => {
306
- const I = `/kos/dispense/${r == null ? void 0 : r.path}/pre/pour/`;
307
- return g.publish(I, {}), await (D == null ? void 0 : D(p)) || !0;
308
- },
309
- [r == null ? void 0 : r.path]
310
- ), o = c(async () => {
311
- const p = `/kos/dispense/${r == null ? void 0 : r.path}/pre/pour/rejected/`;
312
- g.publish(p, {});
313
- }, [r == null ? void 0 : r.path]), U = c(() => {
314
- const p = `/kos/dispense/${r == null ? void 0 : r.path}/pour/cancel/`;
315
- g.publish(p, {});
316
- }, [r == null ? void 0 : r.path]), { brands: B, selectBrand: C, selectedBrand: Q, clearBrand: O, brandCompanions: ue } = ft({
317
- companionType: (re = t.companionTypes) == null ? void 0 : re.brand,
318
- onBrandSelected: v,
319
- onBrandCleared: f
320
- }), {
321
- beverages: le,
322
- selectBeverage: R,
323
- selectedBeverage: y,
324
- clearBeverage: H,
325
- beverageCompanions: me
326
- } = pt({
327
- companionType: (ne = t.companionTypes) == null ? void 0 : ne.beverage,
328
- onBeverageSelected: u,
329
- onClearBeverage: l
330
- }), {
331
- clearFlavors: j,
332
- flavors: P,
333
- selectFlavor: K,
334
- selectedFlavors: V,
335
- flavorCompanions: k
336
- } = $t({
337
- companionType: (ae = t.companionTypes) == null ? void 0 : ae.flavor,
338
- onFlavorSelected: $,
339
- onFlavorCleared: w
340
- }), [D, W] = x(), q = c((p) => {
341
- W(() => p);
342
- }, []), X = vt({
343
- onPour: b,
344
- onPourCancel: U,
345
- onBeforePour: h,
346
- onBeforePourRejected: o
347
- });
348
- a.current = X.updatePourContext, d.current = X.removeFromPourContext;
349
- const he = c(() => {
350
- switch (Y.debug(`Navigating back from group: ${s}`), s) {
351
- case z:
352
- H(), O();
353
- break;
354
- case oe:
355
- case ee:
356
- n(e), H(), O();
357
- break;
358
- }
359
- }, [H, O, s, e]), pe = c(() => {
360
- const p = `/kos/dispense/${r == null ? void 0 : r.path}/home/`;
361
- g.publish(p, {}), n(e), e === z && (H(), O()), e === oe && H();
362
- }, [H, O, e]), fe = c(() => {
363
- if (i.current.length === 0) {
364
- Y.debug("No timers to pause.");
365
- return;
366
- }
367
- Y.debug(`Pausing ${i.current.length} timers.`), i.current.forEach((p) => {
368
- Y.debug(`Pausing timer with id ${p.id}.`), p.pause();
369
- });
370
- }, []), be = c(() => {
371
- if (i.current.length === 0) {
372
- Y.debug("No timers to restart.");
373
- return;
374
- }
375
- Y.debug(`Restarting ${i.current.length} timers.`), i.current.forEach((p) => {
376
- Y.debug(`Restarting timer with id ${p.id}.`), p.restart();
377
- });
378
- }, []);
379
- return {
380
- timers: {
381
- add: c((p) => {
382
- if (p) {
383
- if (i.current.some((I) => I.id === p.id)) {
384
- Y.debug(`Timer with id ${p.id} already exists.`);
385
- return;
386
- }
387
- i.current.push(p);
388
- }
389
- }, []),
390
- pause: fe,
391
- restart: be
392
- },
393
- nav: {
394
- currentGroup: s,
395
- back: he,
396
- home: pe
397
- },
398
- pour: X,
399
- updateOnBeforePour: q,
400
- selections: {
401
- [z]: Q,
402
- [oe]: y,
403
- [ee]: V
404
- },
405
- [z]: {
406
- models: B,
407
- companions: ue,
408
- clear: O,
409
- handlers: {
410
- onSelected: C
411
- }
412
- },
413
- [oe]: {
414
- models: le,
415
- companions: me,
416
- clear: H,
417
- handlers: {
418
- onSelected: R
419
- }
420
- },
421
- [ee]: {
422
- models: P,
423
- companions: k,
424
- clear: j,
425
- handlers: {
426
- onSelected: K
427
- }
428
- }
429
- };
430
- }, wt = (e) => {
431
- const { model: t } = _(), [s, n] = x(null), {
432
- onAmbientTimer: r,
433
- onAttractTimer: i,
434
- onResetAttractTimer: a,
435
- onResumeAttractTimer: d,
436
- defaultAttractTime: v,
437
- defaultAmbientTime: f
438
- } = e, u = c(() => {
439
- r && (T.info("Ambient timer expired. Calling callback"), r == null || r());
440
- }, [r]), l = c(() => {
441
- i && (T.info("Attract timer expired. Calling callback"), i == null || i());
442
- }, [i]), $ = c(() => {
443
- s && (s.restart(), a == null || a());
444
- }, [s, a]), w = c(() => {
445
- s && (s.reset(), a == null || a());
446
- }, [s, a]), b = c(() => {
447
- s && (s.pause(), d == null || d());
448
- }, [s, d]);
449
- return F(() => {
450
- if (t && v) {
451
- T.info("Nozzle is available. Creating timers");
452
- const h = ye.createTimer(
453
- "attract-timer-" + t.path,
454
- v
455
- );
456
- return v && (h == null || h.addTimeoutAction({
457
- name: "attract-timer",
458
- remainingTime: 0,
459
- action: l
460
- })), f && (h == null || h.addTimeoutAction({
461
- name: "ambient-timer",
462
- remainingTime: f,
463
- action: u
464
- })), v && (h == null || h.start()), n(h ?? null), () => {
465
- h == null || h.reset(), n(null);
466
- };
467
- }
468
- return () => {
469
- T.info("Nozzle is not available. No timers to clear");
470
- };
471
- }, [
472
- f,
473
- v,
474
- u,
475
- l,
476
- t
477
- ]), {
478
- attractTimer: s,
479
- restart: $,
480
- pause: w,
481
- resume: b
482
- };
483
- }, Tt = (e, t) => {
484
- if (t)
485
- return g.subscribe(e, t).unsubscribe;
486
- }, Pt = ({
487
- onInit: e,
488
- onBrandSelected: t,
489
- onBrandCleared: s,
490
- onBeverageCleared: n,
491
- onBeverageSelected: r,
492
- onFlavorCleared: i,
493
- onFlavorSelected: a,
494
- onReturnToHome: d,
495
- onPour: v,
496
- onPourCancel: f,
497
- onBeforePourRejected: u,
498
- onAmbientTimer: l,
499
- onAttractTimer: $,
500
- onResumeAttractTimer: w,
501
- onIdleTimeout: b,
502
- onAreYouThereTimeout: h
503
- }) => {
504
- const { model: o } = _();
505
- F(() => {
506
- const B = [
507
- {
508
- topic: `/kos/dispense/${o == null ? void 0 : o.path}/brand/selected/`,
509
- callback: t
510
- },
511
- {
512
- topic: `/kos/dispense/${o == null ? void 0 : o.path}/brand/cleared/`,
513
- callback: s
514
- },
515
- {
516
- topic: `/kos/dispense/${o == null ? void 0 : o.path}/beverage/selected/`,
517
- callback: r
518
- },
519
- {
520
- topic: `/kos/dispense/${o == null ? void 0 : o.path}/beverage/cleared/`,
521
- callback: n
522
- },
523
- {
524
- topic: `/kos/dispense/${o == null ? void 0 : o.path}/flavor/selected/`,
525
- callback: a
526
- },
527
- {
528
- topic: `/kos/dispense/${o == null ? void 0 : o.path}/flavor/cleared/`,
529
- callback: i
530
- },
531
- { topic: `/kos/dispense/${o == null ? void 0 : o.path}/pour/`, callback: v },
532
- {
533
- topic: `/kos/dispense/${o == null ? void 0 : o.path}/pour/cancel/`,
534
- callback: f
535
- },
536
- {
537
- topic: `/kos/dispense/${o == null ? void 0 : o.path}/pre/pour/rejected/`,
538
- callback: u
539
- },
540
- {
541
- topic: `/kos/dispense/${o == null ? void 0 : o.path}/ambient/start/`,
542
- callback: l
543
- },
544
- {
545
- topic: `/kos/dispense/${o == null ? void 0 : o.path}/attract/start/`,
546
- callback: $
547
- },
548
- {
549
- topic: `/kos/dispense/${o == null ? void 0 : o.path}/attract/resume/`,
550
- callback: w
551
- },
552
- {
553
- topic: `/kos/dispense/${o == null ? void 0 : o.path}/idle/timeout/`,
554
- callback: b
555
- },
556
- {
557
- topic: `/kos/dispense/${o == null ? void 0 : o.path}/are-you-there/timeout/`,
558
- callback: h
559
- },
560
- {
561
- topic: `/kos/dispense/${o == null ? void 0 : o.path}/init/`,
562
- callback: e
563
- },
564
- {
565
- topic: `/kos/dispense/${o == null ? void 0 : o.path}/home/`,
566
- callback: d
567
- }
568
- ].map(
569
- ({ topic: C, callback: Q }) => Tt(C, Q)
570
- );
571
- return () => {
572
- B.forEach((C) => C == null ? void 0 : C());
573
- };
574
- }, [
575
- o == null ? void 0 : o.path,
576
- l,
577
- $,
578
- n,
579
- r,
580
- s,
581
- t,
582
- i,
583
- a,
584
- v,
585
- f,
586
- w,
587
- b,
588
- h,
589
- e,
590
- d
591
- ]);
592
- }, M = T.createLogger({ name: "useCuiKitTimers" }), Le = (e) => {
593
- const { model: t } = _(), [s, n] = x(null), {
594
- onAreYouThereTimer: r,
595
- onIdleTimer: i,
596
- onResetIdleTimer: a,
597
- defaultAreYouThereTime: d = 10,
598
- defaultIdleTime: v = 20
599
- } = e, f = de(!1), u = c(() => {
600
- !f.current && r && (T.info("Are you there timer expired. Calling callback"), f.current = !0, r == null || r());
601
- }, [r]), l = c(() => {
602
- M.debug(
603
- "handleIdleTimer called in useCuiKitTimers, onIdleTimer exists:",
604
- !!i
605
- ), i ? (M.debug("Idle timer expired. Calling callback"), i == null || i()) : M.debug("No onIdleTimer callback provided!");
606
- }, [i]), $ = c(() => {
607
- M.debug(`TIMER RESTART called for ${e.prefix ?? ""}timer`), s && (s.restart(), f.current = !1, a == null || a());
608
- }, [s, a, e.prefix]), w = c(() => {
609
- M.debug(`TIMER PAUSE/RESET called for ${e.prefix ?? ""}timer`), s && (s.reset(), f.current = !1, a == null || a());
610
- }, [s, a, e.prefix]);
611
- return F(() => {
612
- if (M.debug(
613
- `useCuiKitTimers effect triggered - nozzle: ${!!t}, path: ${t == null ? void 0 : t.path}, callbacks: handleIdle=${!!l}, handleAreYouThere=${!!u}`
614
- ), t) {
615
- M.info("Nozzle is available. Creating timers");
616
- const b = ye.createTimer(
617
- `${e.prefix ?? ""}idle-timer-${t.path}`,
618
- v
619
- );
620
- return M.debug(
621
- `Adding idle timer action for ${e.prefix ?? ""}idle-timer-${t.path} with callback:`,
622
- !!l
623
- ), b == null || b.addTimeoutAction({
624
- name: "idle-timer",
625
- remainingTime: 0,
626
- action: l
627
- }), b == null || b.addTimeoutAction({
628
- name: "are-you-there-timer",
629
- remainingTime: d,
630
- action: u
631
- }), n(b ?? null), () => {
632
- b == null || b.reset(), n(null);
633
- };
634
- }
635
- return () => {
636
- M.info("Nozzle is not available. No timers to clear");
637
- };
638
- }, [
639
- d,
640
- v,
641
- u,
642
- l,
643
- t,
644
- e.prefix
645
- ]), {
646
- idleTimer: s,
647
- restart: $,
648
- pause: w
649
- };
650
- }, G = T.createLogger({ name: "useDefaultCuiKitLifecycle" }), Yt = ({
651
- kit: e,
652
- inactivity: t,
653
- pour: s,
654
- screens: n,
655
- onBeforeAreYouThereTimer: r,
656
- areYouThereRejectionPolicy: i = "pause"
657
- }) => {
658
- var I, Z, Ie, xe;
659
- const [a, d] = x(!1), [v, f] = x(!1), { model: u } = _(), [l, $] = x(!1), w = (t == null ? void 0 : t.idleTimeout) ?? 15, b = (t == null ? void 0 : t.areYouThereTimeoutOffset) ?? 10, h = (s == null ? void 0 : s.idleTimeout) ?? (t == null ? void 0 : t.idleTimeout) ?? 10, o = (s == null ? void 0 : s.areYouThereTimeoutOffset) ?? (t == null ? void 0 : t.areYouThereTimeoutOffset) ?? 5, U = n == null ? void 0 : n.ambientTimeoutOffset, B = n == null ? void 0 : n.attractTimeout, C = c(() => {
660
- if (G.info("handleIdleTimeout called - navigating home and publishing event"), j(!1), e == null || e.nav.home(), u) {
661
- const E = `/kos/dispense/${u.path}/idle/timeout/`;
662
- g.publish(E, {});
663
- }
664
- }, [(I = e == null ? void 0 : e.nav) == null ? void 0 : I.home, u]), Q = c(() => {
665
- G.info("handleResetIdleTimer called - resetting idle timer"), j(!1);
666
- }, []), O = c(() => {
667
- if (U && (d(!0), f(!1), u)) {
668
- const E = `/kos/dispense/${u.path}/ambient/start/`;
669
- g.publish(E, {});
670
- }
671
- }, [U, u]), ue = c(() => {
672
- if (B && (f(!0), d(!1), u)) {
673
- const E = `/kos/dispense/${u.path}/attract/start/`;
674
- g.publish(E, {});
675
- }
676
- }, [B, u]), le = c(() => {
677
- if (B && (f(!1), d(!1), e == null || e.nav.home(), u)) {
678
- const E = `/kos/dispense/${u.path}/attract/resume/`;
679
- g.publish(E, {});
680
- }
681
- }, [e == null ? void 0 : e.nav, B, u]), {
682
- pause: R,
683
- restart: y,
684
- attractTimer: H
685
- } = wt({
686
- defaultAmbientTime: U,
687
- defaultAttractTime: B,
688
- onAmbientTimer: O,
689
- onAttractTimer: ue,
690
- onResumeAttractTimer: le
691
- });
692
- (Z = e == null ? void 0 : e.timers) == null || Z.add(H);
693
- const [me, j] = x(!1);
694
- G.info(
695
- "Creating idle timer with timeout:",
696
- w,
697
- "seconds and callback:",
698
- !!C
699
- );
700
- const { pause: P, restart: K, idleTimer: V } = Le({
701
- defaultAreYouThereTime: b,
702
- defaultIdleTime: w,
703
- onIdleTimer: C,
704
- onResetIdleTimer: Q
705
- });
706
- G.info(
707
- `Creating pour timer with timeout: ${h} seconds and callback: ${!!C}`
708
- );
709
- const {
710
- pause: k,
711
- restart: D,
712
- idleTimer: W
713
- } = Le({
714
- defaultAreYouThereTime: o,
715
- defaultIdleTime: h,
716
- onIdleTimer: C,
717
- prefix: "pour-"
718
- }), q = c(async () => {
719
- let E = !0;
720
- if (r)
721
- try {
722
- E = await r();
723
- } catch (ve) {
724
- G.error(`onBeforeAreYouThereTimer callback failed: ${ve}`), E = !1;
725
- }
726
- if (E) {
727
- if (u) {
728
- const ve = `/kos/dispense/${u.path}/are-you-there/timeout/`;
729
- g.publish(ve, {});
730
- }
731
- j(!0), l ? k() : P();
732
- } else
733
- switch (i) {
734
- case "pause":
735
- l ? k() : P();
736
- break;
737
- case "restart":
738
- l ? D() : K();
739
- break;
740
- }
741
- }, [r, u, i, l]), X = c(() => {
742
- j(!1), R(), l ? (D(), P()) : (K(), k());
743
- }, [l, P, k, K, D]);
744
- F(() => {
745
- V && V.addTimeoutAction({
746
- name: "are-you-there-timer",
747
- remainingTime: b,
748
- action: q
749
- });
750
- }, [V, b, q]), F(() => {
751
- W && W.addTimeoutAction({
752
- name: "pour-are-you-there-timer",
753
- remainingTime: o,
754
- action: q
755
- });
756
- }, [W, o, q]), (Ie = e == null ? void 0 : e.timers) == null || Ie.add(V), (xe = e == null ? void 0 : e.timers) == null || xe.add(W);
757
- const he = c(() => {
758
- $(!1), k(), P(), R();
759
- }, [P, k]), pe = c(() => {
760
- $(!0), G.info("restarting pour timer"), D(), R(), P();
761
- }, [P, D]), fe = c(() => {
762
- $(!1), G.info("restarting pour timer on before pour rejected"), k(), K();
763
- }, []), be = c(() => {
764
- R(), f(!1), d(!1), K();
765
- }, [R, K]), Pe = c(() => {
766
- f(!1), d(!1), $(!1), k(), y();
767
- }, [y, k]), re = c(() => {
768
- f(!1), d(!1), $(!1), R(), K();
769
- }, [R, K]), ne = c(() => {
770
- f(!1), d(!1), $(!1), y(), P(), k();
771
- }, [y, P, k]), ae = c(() => {
772
- f(!1), d(!1), y(), P();
773
- }, [y, P]);
774
- Pt({
775
- onBrandSelected: be,
776
- onBrandCleared: Pe,
777
- onBeverageSelected: re,
778
- onBeverageCleared: ne,
779
- onPour: he,
780
- onPourCancel: pe,
781
- onBeforePourRejected: fe,
782
- onInit: ae
783
- // Note: Timer-related handlers (onIdleTimeout, onAmbientTimer, onAttractTimer,
784
- // onResumeAttractTimer, onAreYouThereTimeout) are NOT included here since this
785
- // component's own timer hooks call those handlers directly. Including them would
786
- // create circular event loops.
787
- });
788
- const p = l ? o : b;
789
- return F(() => {
790
- if (u && H) {
791
- const E = `/kos/dispense/${u == null ? void 0 : u.path}/init/`;
792
- g.publish(E, {});
793
- }
794
- }, [u, H]), {
795
- showAreYouThere: me,
796
- clearAreYouThere: X,
797
- pauseIdleTimer: P,
798
- restartIdleTimer: K,
799
- areYouThereCountdown: p,
800
- showAmbientScreen: a,
801
- showAttractScreen: v,
802
- pauseScreenTimer: R,
803
- restartScreenTimer: y
804
- };
805
- }, je = () => {
806
- const e = Ce.type;
807
- return S({
808
- modelId: e,
809
- modelType: Ce.type,
810
- options: {}
811
- });
812
- };
813
- function Ft(e) {
814
- return (t) => {
815
- const { model: s, status: n, KosModelLoader: r } = je();
816
- return /* @__PURE__ */ m(r, { ...n, children: /* @__PURE__ */ m(e, { ...t, deviceAssembly: s }) });
817
- };
818
- }
819
- const Ve = (e) => S({
820
- modelId: e,
821
- modelType: ut.type,
822
- options: {}
823
- });
824
- function Gt(e, t) {
825
- return (s) => {
826
- const { model: n, status: r, KosModelLoader: i } = Ve(e);
827
- return /* @__PURE__ */ m(i, { ...r, children: /* @__PURE__ */ m(t, { ...s, holder: n }) });
828
- };
829
- }
830
- const We = () => {
831
- const e = Se.type;
832
- return S({
833
- modelId: e,
834
- modelType: Se.type,
835
- options: {}
836
- });
837
- };
838
- function Ut(e) {
839
- return (t) => {
840
- const { model: s, status: n, KosModelLoader: r } = We();
841
- return /* @__PURE__ */ m(r, { ...n, children: /* @__PURE__ */ m(e, { ...t, holderContainer: s }) });
842
- };
843
- }
844
- const qe = () => {
845
- const e = Ne.type;
846
- return S({
847
- modelId: e,
848
- modelType: Ne.type,
849
- options: {}
850
- });
851
- }, $e = T.createLogger({
852
- name: "HoldToPourIntentStrategy",
853
- group: "kos-hooks"
854
- }), It = {
855
- name: "HoldToPourIntentStrategy",
856
- async initiate(e, t) {
857
- if (!(e != null && e.canPour)) {
858
- $e.debug(`${e == null ? void 0 : e.id} cannot pour. Returning early.`);
859
- return;
860
- }
861
- t ? ($e.debug(`performing intent: ${t}`), await (e == null ? void 0 : e.performIntent(t))) : $e.debug("no intent provided. Returning early.");
862
- },
863
- async initiateEnded(e) {
864
- await (e == null ? void 0 : e.cancelPour());
865
- }
866
- }, ge = T.createLogger({
867
- name: "useNozzlePour",
868
- group: "kos-hooks"
869
- }), jt = ({
870
- onPour: e,
871
- onPourCancel: t,
872
- intentContainer: s,
873
- strategy: n = It
874
- }) => {
875
- const r = c(() => {
876
- ge.debug(
877
- `[${n == null ? void 0 : n.name}] - Pour initiated for model ${s == null ? void 0 : s.id}.`
878
- ), n == null || n.initiate(s), e == null || e();
879
- }, [e, s, n]), i = c(() => {
880
- var v;
881
- ge.debug(
882
- `[${n == null ? void 0 : n.name}] - Pour initiate ended called for nozzle ${s == null ? void 0 : s.id}.`
883
- ), (v = n == null ? void 0 : n.initiateEnded) == null || v.call(n, s), t == null || t();
884
- }, [t, s, n]), a = c(() => {
885
- ge.debug(`Force cancelling pour for nozzle ${s == null ? void 0 : s.id}.`), s == null || s.cancelPour(), t == null || t();
886
- }, [t, s]);
887
- return {
888
- handlers: Te({
889
- onPressed: r,
890
- onRelease: i
891
- }).dom,
892
- cancel: a,
893
- status: s
894
- };
895
- };
896
- function Vt(e) {
897
- return (t) => {
898
- const { model: s, status: n, KosModelLoader: r } = qe();
899
- return /* @__PURE__ */ m(r, { ...n, children: /* @__PURE__ */ m(e, { ...t, ingredient: s }) });
900
- };
901
- }
902
- const Je = () => {
903
- const e = He.type;
904
- return S({
905
- modelId: e,
906
- modelType: He.type,
907
- options: {}
908
- });
909
- };
910
- function Wt(e) {
911
- return (t) => {
912
- const { model: s, status: n, KosModelLoader: r } = Je();
913
- return /* @__PURE__ */ m(r, { ...n, children: /* @__PURE__ */ m(e, { ...t, ingredientContainer: s }) });
914
- };
915
- }
916
- function qt(e, t) {
917
- return (s) => {
918
- const { model: n, status: r, KosModelLoader: i } = Ye(e);
919
- return /* @__PURE__ */ m(i, { ...r, children: /* @__PURE__ */ m(t, { ...s, nozzle: n }) });
920
- };
921
- }
922
- const te = T.createLogger({
923
- name: "usePour",
924
- group: "kos-hooks"
925
- }), Jt = ({
926
- onBeforePour: e,
927
- onPour: t,
928
- onPourCancel: s,
929
- onPourAbort: n,
930
- pourTarget: r,
931
- pourContext: i,
932
- strategy: a = Ue
933
- }) => {
934
- const [d, v] = x(
935
- i || new Ge()
936
- ), f = c(async () => {
937
- te.debug(
938
- `[${a == null ? void 0 : a.name}] - calling before pour for pour target ${r == null ? void 0 : r.id}.`
939
- ), (e ? await (e == null ? void 0 : e(d)) : !0) ? (te.debug(
940
- `[${a == null ? void 0 : a.name}] - Pour initiated for pour target ${r == null ? void 0 : r.id}.`
941
- ), await (a == null ? void 0 : a.initiate(r)), t == null || t(), r != null && r.isPouring || n == null || n()) : (te.debug(
942
- `[${a == null ? void 0 : a.name}] - Pour cancelled for pour target ${r == null ? void 0 : r.id}.`
943
- ), s == null || s());
944
- }, [t, e, n, r, a, d]), u = c(async () => {
945
- var o;
946
- te.debug(
947
- `[${a == null ? void 0 : a.name}] - Pour initiate ended called for pour target ${r == null ? void 0 : r.id}.`
948
- ), await ((o = a == null ? void 0 : a.initiateEnded) == null ? void 0 : o.call(a, r)) || s == null || s();
949
- }, [s, r, a]), l = c(async () => {
950
- te.debug(`Force cancelling pour for pour target ${r == null ? void 0 : r.id}.`), await (r == null ? void 0 : r.cancelPour()), s == null || s();
951
- }, [s, r]), $ = c(
952
- (h, o) => {
953
- d.set(h, o);
954
- },
955
- [d]
956
- ), w = c(
957
- (h) => {
958
- d.remove(h);
959
- },
960
- [d]
961
- );
962
- return {
963
- handlers: Te({
964
- onPressed: f,
965
- onRelease: u
966
- }).dom,
967
- cancel: l,
968
- updatePourContext: $,
969
- removeFromPourContext: w,
970
- status: r
971
- };
972
- }, se = T.createLogger({
973
- name: "TapOrHoldIntentStrategy",
974
- group: "kos-hooks"
975
- });
976
- class Qt {
977
- constructor(t) {
978
- J(this, "intent");
979
- J(this, "name", "TapOrHoldIntentStrategy");
980
- J(this, "isHold", !1);
981
- J(this, "disposer", null);
982
- this.intent = t;
983
- }
984
- async initiate(t, s) {
985
- if (this.disposer = setTimeout(() => {
986
- this.isHold = !0;
987
- }, 250), t != null && t.isPouring && !this.isHold) {
988
- se.debug("additional tap detected. cancelling pour"), await t.cancelPour();
989
- return;
990
- }
991
- if (!(t != null && t.canPour)) {
992
- se.debug(`${t == null ? void 0 : t.id} cannot pour. Returning early.`);
993
- return;
994
- }
995
- s ? (se.debug(`performing intent: ${s}`), await (t == null ? void 0 : t.performIntent(s))) : se.debug("no intent provided. Returning early.");
996
- }
997
- async initiateEnded(t) {
998
- return this.disposer && clearTimeout(this.disposer), this.disposer = null, this.isHold ? (await (t == null ? void 0 : t.cancelPour()), !1) : (se.debug("Tap detected. don't cancel and return."), !0);
999
- }
1000
- }
1001
- const ce = T.createLogger({
1002
- name: "TapToPourIntentStrategy",
1003
- group: "kos-hooks"
1004
- }), Xt = {
1005
- name: "TapToPourIntentStrategy",
1006
- async initiate(e, t) {
1007
- if (e != null && e.isPouring) {
1008
- ce.debug(`Nozzle ${e == null ? void 0 : e.id} is already pouring. cancelling pour`), await e.cancelPour();
1009
- return;
1010
- }
1011
- if (!(e != null && e.canPour)) {
1012
- ce.debug(`Nozzle ${e == null ? void 0 : e.id} cannot pour. Returning early.`);
1013
- return;
1014
- }
1015
- t ? (ce.debug(`performing intent: ${t}`), await (e == null ? void 0 : e.performIntent(t))) : ce.debug("no intent provided. Returning early.");
1016
- },
1017
- async initiateEnded(e) {
1018
- return !0;
1019
- }
1020
- }, Re = T.createLogger({
1021
- name: "HoldToPourStrategy",
1022
- group: "kos-hooks"
1023
- }), Zt = {
1024
- name: "TapToPourStrategy",
1025
- async initiate(e) {
1026
- if (e != null && e.isPouring) {
1027
- Re.debug(`Nozzle ${e == null ? void 0 : e.id} is already pouring. cancelling pour`), await e.cancelPour();
1028
- return;
1029
- }
1030
- if (!(e != null && e.canPour)) {
1031
- Re.debug(`Nozzle ${e == null ? void 0 : e.id} cannot pour. Returning early.`);
1032
- return;
1033
- }
1034
- await (e == null ? void 0 : e.pour());
1035
- },
1036
- async initiateEnded(e) {
1037
- return !0;
1038
- }
1039
- }, xt = (e, t, s, n) => S({
1040
- modelId: e,
1041
- modelType: lt.type,
1042
- forceUpdate: !0,
1043
- options: {
1044
- servicePathFactory: t,
1045
- selectedId: s,
1046
- initialData: n
1047
- }
1048
- });
1049
- function zt(e) {
1050
- return (t) => {
1051
- const { model: s, status: n, KosModelLoader: r } = xt(
1052
- t.id,
1053
- t.servicePathFactory,
1054
- t.itemId
1055
- );
1056
- return /* @__PURE__ */ m(r, { ...n, children: /* @__PURE__ */ m(e, { ...t, genericPour: s }) });
1057
- };
1058
- }
1059
- const Qe = L(void 0), es = ({ children: e }) => {
1060
- const { model: t, ready: s } = De(), n = A(() => s && t ? { model: t } : {}, [s, t]);
1061
- return /* @__PURE__ */ m(Qe.Provider, { value: n, children: e });
1062
- }, ts = () => {
1063
- const e = N(
1064
- Qe
1065
- );
1066
- if (!e)
1067
- throw new Error(
1068
- "useAssemblyContext must be used within a AssemblyProvider"
1069
- );
1070
- return e;
1071
- }, Xe = L(void 0), ss = ({ children: e }) => {
1072
- const { model: t, ready: s } = Me(), n = A(() => s && t ? { model: t } : {}, [s, t]);
1073
- return /* @__PURE__ */ m(Xe.Provider, { value: n, children: e });
1074
- }, rs = () => {
1075
- const e = N(Xe);
1076
- if (!e)
1077
- throw new Error(
1078
- "useAvailabilityContext must be used within a AvailabilityProvider"
1079
- );
1080
- return e;
1081
- }, Ze = L(void 0), ns = ({ children: e, id: t }) => {
1082
- const { model: s, ready: n } = _e(t), r = A(() => n && s ? { model: s } : {}, [n, s]);
1083
- return /* @__PURE__ */ m(Ze.Provider, { value: r, children: e });
1084
- }, as = () => {
1085
- const e = N(Ze);
1086
- if (!e)
1087
- throw new Error("useBoardContext must be used within a BoardProvider");
1088
- return e;
1089
- }, ze = L(void 0), is = ({ children: e }) => {
1090
- const { model: t, ready: s } = Oe(), n = A(() => s && t ? { model: t } : {}, [s, t]);
1091
- return /* @__PURE__ */ m(ze.Provider, { value: n, children: e });
1092
- }, os = () => {
1093
- const e = N(ze);
1094
- if (!e)
1095
- throw new Error(
1096
- "useBoardContainerContext must be used within a BoardContainerProvider"
1097
- );
1098
- return e;
1099
- }, et = L(
1100
- void 0
1101
- ), At = ({ children: e }) => {
1102
- const { model: t, ready: s } = je(), n = A(() => {
1103
- if (s && t) {
1104
- const i = t.nozzlePaths;
1105
- return { model: t, nozzlePaths: i };
1106
- }
1107
- return {};
1108
- }, [s, t]), r = s && t ? e : null;
1109
- return /* @__PURE__ */ m(et.Provider, { value: n, children: r });
1110
- }, kt = () => {
1111
- const e = N(et);
1112
- if (!e)
1113
- throw new Error(
1114
- "useDeviceAssemblyContext must be used within a DeviceAssemblyProvider"
1115
- );
1116
- return e;
1117
- };
1118
- function Et() {
1119
- const e = mt.createContext(null);
1120
- return [() => {
1121
- const s = N(e);
1122
- if (s === void 0)
1123
- throw new Error("useDispenseKitContext must be used within a Provider");
1124
- return s;
1125
- }, e.Provider];
1126
- }
1127
- function Ct({
1128
- children: e,
1129
- provider: t,
1130
- props: s,
1131
- nozzleProps: n
1132
- }) {
1133
- const r = gt(s);
1134
- return /* @__PURE__ */ m(t, { value: r, children: e(n || {}) });
1135
- }
1136
- function St({
1137
- children: e,
1138
- provider: t,
1139
- props: s
1140
- }) {
1141
- const { nozzlePaths: n } = kt(), r = (n == null ? void 0 : n.length) || 0;
1142
- return (n == null ? void 0 : n.map((a, d) => /* @__PURE__ */ m(ht, { path: a, children: /* @__PURE__ */ m(
1143
- Ct,
1144
- {
1145
- provider: t,
1146
- props: s,
1147
- nozzleProps: {
1148
- nozzleIndex: d,
1149
- nozzlePath: a,
1150
- totalNozzles: r,
1151
- isFirstNozzle: d === 0,
1152
- isLastNozzle: d === r - 1
1153
- },
1154
- children: e
1155
- }
1156
- ) }, a))) || [];
1157
- }
1158
- function Nt({
1159
- provider: e,
1160
- props: t
1161
- }) {
1162
- return ({ children: s }) => e ? /* @__PURE__ */ m(At, { children: /* @__PURE__ */ m(
1163
- St,
1164
- {
1165
- provider: e,
1166
- props: t,
1167
- children: s
1168
- }
1169
- ) }) : null;
1170
- }
1171
- function cs(e) {
1172
- const [t, s] = Et();
1173
- return [
1174
- t,
1175
- Nt({ provider: s, props: e })
1176
- ];
1177
- }
1178
- const tt = L(void 0), ds = ({ children: e, id: t }) => {
1179
- const { model: s, ready: n } = Ve(t || ""), r = A(() => n && s ? { model: s } : {}, [n, s]);
1180
- return /* @__PURE__ */ m(tt.Provider, { value: r, children: e });
1181
- }, us = () => {
1182
- const e = N(tt);
1183
- if (!e)
1184
- throw new Error("useHolderContext must be used within a HolderProvider");
1185
- return e;
1186
- }, st = L(
1187
- void 0
1188
- ), ls = ({ children: e }) => {
1189
- const { model: t, ready: s } = We(), n = A(() => s && t ? { model: t } : {}, [s, t]);
1190
- return /* @__PURE__ */ m(st.Provider, { value: n, children: e });
1191
- }, ms = () => {
1192
- const e = N(st);
1193
- if (!e)
1194
- throw new Error(
1195
- "useHolderContainerContext must be used within a HolderContainerProvider"
1196
- );
1197
- return e;
1198
- }, rt = L(void 0), hs = ({ children: e }) => {
1199
- const { model: t, ready: s } = qe(), n = A(() => s && t ? { model: t } : {}, [s, t]);
1200
- return /* @__PURE__ */ m(rt.Provider, { value: n, children: e });
1201
- }, ps = () => {
1202
- const e = N(rt);
1203
- if (!e)
1204
- throw new Error(
1205
- "useIngredientContext must be used within a IngredientProvider"
1206
- );
1207
- return e;
1208
- }, nt = L(
1209
- void 0
1210
- ), fs = ({ children: e }) => {
1211
- const { model: t, ready: s } = Je(), n = A(() => s && t ? { model: t } : {}, [s, t]);
1212
- return /* @__PURE__ */ m(nt.Provider, { value: n, children: e });
1213
- }, bs = () => {
1214
- const e = N(nt);
1215
- if (!e)
1216
- throw new Error(
1217
- "useIngredientContainerContext must be used within a IngredientContainerProvider"
1218
- );
1219
- return e;
1220
- }, Ht = () => {
1221
- const e = Ke.type;
1222
- return S({
1223
- modelId: e,
1224
- modelType: Ke.type,
1225
- options: {}
1226
- });
1227
- }, at = L(void 0), vs = ({ children: e }) => {
1228
- const { model: t, ready: s } = Ht(), n = A(() => s && t ? { model: t } : {}, [s, t]);
1229
- return /* @__PURE__ */ m(at.Provider, { value: n, children: e });
1230
- }, $s = () => {
1231
- const e = N(at);
1232
- if (!e)
1233
- throw new Error("usePumpContext must be used within a PumpProvider");
1234
- return e;
1235
- };
1236
- export {
1237
- Wt as $,
1238
- es as A,
1239
- ns as B,
1240
- Ct as C,
1241
- At as D,
1242
- ft as E,
1243
- z as F,
1244
- oe as G,
1245
- ds as H,
1246
- hs as I,
1247
- ee as J,
1248
- gt as K,
1249
- Yt as L,
1250
- Pt as M,
1251
- ht as N,
1252
- Le as O,
1253
- vs as P,
1254
- $t as Q,
1255
- je as R,
1256
- Ft as S,
1257
- Ve as T,
1258
- Gt as U,
1259
- We as V,
1260
- Ut as W,
1261
- qe as X,
1262
- jt as Y,
1263
- Vt as Z,
1264
- Je as _,
1265
- ss as a,
1266
- Ye as a0,
1267
- qt as a1,
1268
- vt as a2,
1269
- Jt as a3,
1270
- It as a4,
1271
- Ue as a5,
1272
- Qt as a6,
1273
- Xt as a7,
1274
- Zt as a8,
1275
- xt as a9,
1276
- zt as aa,
1277
- Ge as ab,
1278
- rs as b,
1279
- as as c,
1280
- is as d,
1281
- os as e,
1282
- Nt as f,
1283
- kt as g,
1284
- us as h,
1285
- cs as i,
1286
- ls as j,
1287
- ms as k,
1288
- ps as l,
1289
- fs as m,
1290
- bs as n,
1291
- _ as o,
1292
- $s as p,
1293
- De as q,
1294
- Me as r,
1295
- Mt as s,
1296
- _e as t,
1297
- ts as u,
1298
- _t as v,
1299
- Dt as w,
1300
- Oe as x,
1301
- Ot as y,
1302
- pt as z
1303
- };
1304
- //# sourceMappingURL=pump-provider-DErNNCPW.js.map