@zyzgroup/core-web 0.1.96 → 0.1.97

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,1205 @@
1
+ import { g as He } from "./index-c0e1658b.js";
2
+ function Fe(L, c) {
3
+ for (var b = 0; b < c.length; b++) {
4
+ const S = c[b];
5
+ if (typeof S != "string" && !Array.isArray(S)) {
6
+ for (const o in S)
7
+ if (o !== "default" && !(o in L)) {
8
+ const Y = Object.getOwnPropertyDescriptor(S, o);
9
+ Y && Object.defineProperty(L, o, Y.get ? Y : {
10
+ enumerable: !0,
11
+ get: () => S[o]
12
+ });
13
+ }
14
+ }
15
+ }
16
+ return Object.freeze(Object.defineProperty(L, Symbol.toStringTag, { value: "Module" }));
17
+ }
18
+ var Qt = { exports: {} };
19
+ /*! Hammer.JS - v2.0.7 - 2016-04-22
20
+ * http://hammerjs.github.io/
21
+ *
22
+ * Copyright (c) 2016 Jorik Tangelder;
23
+ * Licensed under the MIT license */
24
+ (function(L) {
25
+ (function(c, b, S, o) {
26
+ var Y = ["", "webkit", "Moz", "MS", "ms", "o"], $t = b.createElement("div"), te = "function", H = Math.round, D = Math.abs, lt = Date.now;
27
+ function ut(t, e, i) {
28
+ return setTimeout(ft(t, i), e);
29
+ }
30
+ function F(t, e, i) {
31
+ return Array.isArray(t) ? (P(t, i[e], i), !0) : !1;
32
+ }
33
+ function P(t, e, i) {
34
+ var r;
35
+ if (t)
36
+ if (t.forEach)
37
+ t.forEach(e, i);
38
+ else if (t.length !== o)
39
+ for (r = 0; r < t.length; )
40
+ e.call(i, t[r], r, t), r++;
41
+ else
42
+ for (r in t)
43
+ t.hasOwnProperty(r) && e.call(i, t[r], r, t);
44
+ }
45
+ function Ot(t, e, i) {
46
+ var r = "DEPRECATED METHOD: " + e + `
47
+ ` + i + ` AT
48
+ `;
49
+ return function() {
50
+ var n = new Error("get-stack-trace"), s = n && n.stack ? n.stack.replace(/^[^\(]+?[\n$]/gm, "").replace(/^\s+at\s+/gm, "").replace(/^Object.<anonymous>\s*\(/gm, "{anonymous}()@") : "Unknown Stack Trace", a = c.console && (c.console.warn || c.console.log);
51
+ return a && a.call(c.console, r, s), t.apply(this, arguments);
52
+ };
53
+ }
54
+ var g;
55
+ typeof Object.assign != "function" ? g = function(e) {
56
+ if (e === o || e === null)
57
+ throw new TypeError("Cannot convert undefined or null to object");
58
+ for (var i = Object(e), r = 1; r < arguments.length; r++) {
59
+ var n = arguments[r];
60
+ if (n !== o && n !== null)
61
+ for (var s in n)
62
+ n.hasOwnProperty(s) && (i[s] = n[s]);
63
+ }
64
+ return i;
65
+ } : g = Object.assign;
66
+ var At = Ot(function(e, i, r) {
67
+ for (var n = Object.keys(i), s = 0; s < n.length; )
68
+ (!r || r && e[n[s]] === o) && (e[n[s]] = i[n[s]]), s++;
69
+ return e;
70
+ }, "extend", "Use `assign`."), ee = Ot(function(e, i) {
71
+ return At(e, i, !0);
72
+ }, "merge", "Use `assign`.");
73
+ function T(t, e, i) {
74
+ var r = e.prototype, n;
75
+ n = t.prototype = Object.create(r), n.constructor = t, n._super = r, i && g(n, i);
76
+ }
77
+ function ft(t, e) {
78
+ return function() {
79
+ return t.apply(e, arguments);
80
+ };
81
+ }
82
+ function vt(t, e) {
83
+ return typeof t == te ? t.apply(e && e[0] || o, e) : t;
84
+ }
85
+ function Ct(t, e) {
86
+ return t === o ? e : t;
87
+ }
88
+ function B(t, e, i) {
89
+ P(Q(e), function(r) {
90
+ t.addEventListener(r, i, !1);
91
+ });
92
+ }
93
+ function J(t, e, i) {
94
+ P(Q(e), function(r) {
95
+ t.removeEventListener(r, i, !1);
96
+ });
97
+ }
98
+ function St(t, e) {
99
+ for (; t; ) {
100
+ if (t == e)
101
+ return !0;
102
+ t = t.parentNode;
103
+ }
104
+ return !1;
105
+ }
106
+ function M(t, e) {
107
+ return t.indexOf(e) > -1;
108
+ }
109
+ function Q(t) {
110
+ return t.trim().split(/\s+/g);
111
+ }
112
+ function X(t, e, i) {
113
+ if (t.indexOf && !i)
114
+ return t.indexOf(e);
115
+ for (var r = 0; r < t.length; ) {
116
+ if (i && t[r][i] == e || !i && t[r] === e)
117
+ return r;
118
+ r++;
119
+ }
120
+ return -1;
121
+ }
122
+ function K(t) {
123
+ return Array.prototype.slice.call(t, 0);
124
+ }
125
+ function Dt(t, e, i) {
126
+ for (var r = [], n = [], s = 0; s < t.length; ) {
127
+ var a = e ? t[s][e] : t[s];
128
+ X(n, a) < 0 && r.push(t[s]), n[s] = a, s++;
129
+ }
130
+ return i && (e ? r = r.sort(function(u, v) {
131
+ return u[e] > v[e];
132
+ }) : r = r.sort()), r;
133
+ }
134
+ function $(t, e) {
135
+ for (var i, r, n = e[0].toUpperCase() + e.slice(1), s = 0; s < Y.length; ) {
136
+ if (i = Y[s], r = i ? i + n : e, r in t)
137
+ return r;
138
+ s++;
139
+ }
140
+ return o;
141
+ }
142
+ var ie = 1;
143
+ function re() {
144
+ return ie++;
145
+ }
146
+ function Mt(t) {
147
+ var e = t.ownerDocument || t;
148
+ return e.defaultView || e.parentWindow || c;
149
+ }
150
+ var ne = /mobile|tablet|ip(ad|hone|od)|android/i, Ut = "ontouchstart" in c, se = $(c, "PointerEvent") !== o, ae = Ut && ne.test(navigator.userAgent), W = "touch", oe = "pen", pt = "mouse", he = "kinect", ce = 25, f = 1, U = 2, h = 4, p = 8, tt = 1, q = 2, w = 4, G = 8, k = 16, _ = q | w, R = G | k, Rt = _ | R, xt = ["x", "y"], et = ["clientX", "clientY"];
151
+ function m(t, e) {
152
+ var i = this;
153
+ this.manager = t, this.callback = e, this.element = t.element, this.target = t.options.inputTarget, this.domHandler = function(r) {
154
+ vt(t.options.enable, [t]) && i.handler(r);
155
+ }, this.init();
156
+ }
157
+ m.prototype = {
158
+ /**
159
+ * should handle the inputEvent data and trigger the callback
160
+ * @virtual
161
+ */
162
+ handler: function() {
163
+ },
164
+ /**
165
+ * bind the events
166
+ */
167
+ init: function() {
168
+ this.evEl && B(this.element, this.evEl, this.domHandler), this.evTarget && B(this.target, this.evTarget, this.domHandler), this.evWin && B(Mt(this.element), this.evWin, this.domHandler);
169
+ },
170
+ /**
171
+ * unbind the events
172
+ */
173
+ destroy: function() {
174
+ this.evEl && J(this.element, this.evEl, this.domHandler), this.evTarget && J(this.target, this.evTarget, this.domHandler), this.evWin && J(Mt(this.element), this.evWin, this.domHandler);
175
+ }
176
+ };
177
+ function le(t) {
178
+ var e, i = t.options.inputClass;
179
+ return i ? e = i : se ? e = mt : ae ? e = nt : Ut ? e = dt : e = rt, new e(t, ue);
180
+ }
181
+ function ue(t, e, i) {
182
+ var r = i.pointers.length, n = i.changedPointers.length, s = e & f && r - n === 0, a = e & (h | p) && r - n === 0;
183
+ i.isFirst = !!s, i.isFinal = !!a, s && (t.session = {}), i.eventType = e, fe(t, i), t.emit("hammer.input", i), t.recognize(i), t.session.prevInput = i;
184
+ }
185
+ function fe(t, e) {
186
+ var i = t.session, r = e.pointers, n = r.length;
187
+ i.firstInput || (i.firstInput = Lt(e)), n > 1 && !i.firstMultiple ? i.firstMultiple = Lt(e) : n === 1 && (i.firstMultiple = !1);
188
+ var s = i.firstInput, a = i.firstMultiple, l = a ? a.center : s.center, u = e.center = bt(r);
189
+ e.timeStamp = lt(), e.deltaTime = e.timeStamp - s.timeStamp, e.angle = Tt(l, u), e.distance = it(l, u), ve(i, e), e.offsetDirection = Ht(e.deltaX, e.deltaY);
190
+ var v = Yt(e.deltaTime, e.deltaX, e.deltaY);
191
+ e.overallVelocityX = v.x, e.overallVelocityY = v.y, e.overallVelocity = D(v.x) > D(v.y) ? v.x : v.y, e.scale = a ? me(a.pointers, r) : 1, e.rotation = a ? Te(a.pointers, r) : 0, e.maxPointers = i.prevInput ? e.pointers.length > i.prevInput.maxPointers ? e.pointers.length : i.prevInput.maxPointers : e.pointers.length, pe(i, e);
192
+ var I = t.element;
193
+ St(e.srcEvent.target, I) && (I = e.srcEvent.target), e.target = I;
194
+ }
195
+ function ve(t, e) {
196
+ var i = e.center, r = t.offsetDelta || {}, n = t.prevDelta || {}, s = t.prevInput || {};
197
+ (e.eventType === f || s.eventType === h) && (n = t.prevDelta = {
198
+ x: s.deltaX || 0,
199
+ y: s.deltaY || 0
200
+ }, r = t.offsetDelta = {
201
+ x: i.x,
202
+ y: i.y
203
+ }), e.deltaX = n.x + (i.x - r.x), e.deltaY = n.y + (i.y - r.y);
204
+ }
205
+ function pe(t, e) {
206
+ var i = t.lastInterval || e, r = e.timeStamp - i.timeStamp, n, s, a, l;
207
+ if (e.eventType != p && (r > ce || i.velocity === o)) {
208
+ var u = e.deltaX - i.deltaX, v = e.deltaY - i.deltaY, I = Yt(r, u, v);
209
+ s = I.x, a = I.y, n = D(I.x) > D(I.y) ? I.x : I.y, l = Ht(u, v), t.lastInterval = e;
210
+ } else
211
+ n = i.velocity, s = i.velocityX, a = i.velocityY, l = i.direction;
212
+ e.velocity = n, e.velocityX = s, e.velocityY = a, e.direction = l;
213
+ }
214
+ function Lt(t) {
215
+ for (var e = [], i = 0; i < t.pointers.length; )
216
+ e[i] = {
217
+ clientX: H(t.pointers[i].clientX),
218
+ clientY: H(t.pointers[i].clientY)
219
+ }, i++;
220
+ return {
221
+ timeStamp: lt(),
222
+ pointers: e,
223
+ center: bt(e),
224
+ deltaX: t.deltaX,
225
+ deltaY: t.deltaY
226
+ };
227
+ }
228
+ function bt(t) {
229
+ var e = t.length;
230
+ if (e === 1)
231
+ return {
232
+ x: H(t[0].clientX),
233
+ y: H(t[0].clientY)
234
+ };
235
+ for (var i = 0, r = 0, n = 0; n < e; )
236
+ i += t[n].clientX, r += t[n].clientY, n++;
237
+ return {
238
+ x: H(i / e),
239
+ y: H(r / e)
240
+ };
241
+ }
242
+ function Yt(t, e, i) {
243
+ return {
244
+ x: e / t || 0,
245
+ y: i / t || 0
246
+ };
247
+ }
248
+ function Ht(t, e) {
249
+ return t === e ? tt : D(t) >= D(e) ? t < 0 ? q : w : e < 0 ? G : k;
250
+ }
251
+ function it(t, e, i) {
252
+ i || (i = xt);
253
+ var r = e[i[0]] - t[i[0]], n = e[i[1]] - t[i[1]];
254
+ return Math.sqrt(r * r + n * n);
255
+ }
256
+ function Tt(t, e, i) {
257
+ i || (i = xt);
258
+ var r = e[i[0]] - t[i[0]], n = e[i[1]] - t[i[1]];
259
+ return Math.atan2(n, r) * 180 / Math.PI;
260
+ }
261
+ function Te(t, e) {
262
+ return Tt(e[1], e[0], et) + Tt(t[1], t[0], et);
263
+ }
264
+ function me(t, e) {
265
+ return it(e[0], e[1], et) / it(t[0], t[1], et);
266
+ }
267
+ var de = {
268
+ mousedown: f,
269
+ mousemove: U,
270
+ mouseup: h
271
+ }, Ee = "mousedown", ge = "mousemove mouseup";
272
+ function rt() {
273
+ this.evEl = Ee, this.evWin = ge, this.pressed = !1, m.apply(this, arguments);
274
+ }
275
+ T(rt, m, {
276
+ /**
277
+ * handle mouse events
278
+ * @param {Object} ev
279
+ */
280
+ handler: function(e) {
281
+ var i = de[e.type];
282
+ i & f && e.button === 0 && (this.pressed = !0), i & U && e.which !== 1 && (i = h), this.pressed && (i & h && (this.pressed = !1), this.callback(this.manager, i, {
283
+ pointers: [e],
284
+ changedPointers: [e],
285
+ pointerType: pt,
286
+ srcEvent: e
287
+ }));
288
+ }
289
+ });
290
+ var _e = {
291
+ pointerdown: f,
292
+ pointermove: U,
293
+ pointerup: h,
294
+ pointercancel: p,
295
+ pointerout: p
296
+ }, ye = {
297
+ 2: W,
298
+ 3: oe,
299
+ 4: pt,
300
+ 5: he
301
+ // see https://twitter.com/jacobrossi/status/480596438489890816
302
+ }, Ft = "pointerdown", Xt = "pointermove pointerup pointercancel";
303
+ c.MSPointerEvent && !c.PointerEvent && (Ft = "MSPointerDown", Xt = "MSPointerMove MSPointerUp MSPointerCancel");
304
+ function mt() {
305
+ this.evEl = Ft, this.evWin = Xt, m.apply(this, arguments), this.store = this.manager.session.pointerEvents = [];
306
+ }
307
+ T(mt, m, {
308
+ /**
309
+ * handle mouse events
310
+ * @param {Object} ev
311
+ */
312
+ handler: function(e) {
313
+ var i = this.store, r = !1, n = e.type.toLowerCase().replace("ms", ""), s = _e[n], a = ye[e.pointerType] || e.pointerType, l = a == W, u = X(i, e.pointerId, "pointerId");
314
+ s & f && (e.button === 0 || l) ? u < 0 && (i.push(e), u = i.length - 1) : s & (h | p) && (r = !0), !(u < 0) && (i[u] = e, this.callback(this.manager, s, {
315
+ pointers: i,
316
+ changedPointers: [e],
317
+ pointerType: a,
318
+ srcEvent: e
319
+ }), r && i.splice(u, 1));
320
+ }
321
+ });
322
+ var Ie = {
323
+ touchstart: f,
324
+ touchmove: U,
325
+ touchend: h,
326
+ touchcancel: p
327
+ }, Pe = "touchstart", Ne = "touchstart touchmove touchend touchcancel";
328
+ function Vt() {
329
+ this.evTarget = Pe, this.evWin = Ne, this.started = !1, m.apply(this, arguments);
330
+ }
331
+ T(Vt, m, {
332
+ handler: function(e) {
333
+ var i = Ie[e.type];
334
+ if (i === f && (this.started = !0), !!this.started) {
335
+ var r = Oe.call(this, e, i);
336
+ i & (h | p) && r[0].length - r[1].length === 0 && (this.started = !1), this.callback(this.manager, i, {
337
+ pointers: r[0],
338
+ changedPointers: r[1],
339
+ pointerType: W,
340
+ srcEvent: e
341
+ });
342
+ }
343
+ }
344
+ });
345
+ function Oe(t, e) {
346
+ var i = K(t.touches), r = K(t.changedTouches);
347
+ return e & (h | p) && (i = Dt(i.concat(r), "identifier", !0)), [i, r];
348
+ }
349
+ var Ae = {
350
+ touchstart: f,
351
+ touchmove: U,
352
+ touchend: h,
353
+ touchcancel: p
354
+ }, Ce = "touchstart touchmove touchend touchcancel";
355
+ function nt() {
356
+ this.evTarget = Ce, this.targetIds = {}, m.apply(this, arguments);
357
+ }
358
+ T(nt, m, {
359
+ handler: function(e) {
360
+ var i = Ae[e.type], r = Se.call(this, e, i);
361
+ r && this.callback(this.manager, i, {
362
+ pointers: r[0],
363
+ changedPointers: r[1],
364
+ pointerType: W,
365
+ srcEvent: e
366
+ });
367
+ }
368
+ });
369
+ function Se(t, e) {
370
+ var i = K(t.touches), r = this.targetIds;
371
+ if (e & (f | U) && i.length === 1)
372
+ return r[i[0].identifier] = !0, [i, i];
373
+ var n, s, a = K(t.changedTouches), l = [], u = this.target;
374
+ if (s = i.filter(function(v) {
375
+ return St(v.target, u);
376
+ }), e === f)
377
+ for (n = 0; n < s.length; )
378
+ r[s[n].identifier] = !0, n++;
379
+ for (n = 0; n < a.length; )
380
+ r[a[n].identifier] && l.push(a[n]), e & (h | p) && delete r[a[n].identifier], n++;
381
+ if (l.length)
382
+ return [
383
+ // merge targetTouches with changedTargetTouches so it contains ALL touches, including 'end' and 'cancel'
384
+ Dt(s.concat(l), "identifier", !0),
385
+ l
386
+ ];
387
+ }
388
+ var De = 2500, Wt = 25;
389
+ function dt() {
390
+ m.apply(this, arguments);
391
+ var t = ft(this.handler, this);
392
+ this.touch = new nt(this.manager, t), this.mouse = new rt(this.manager, t), this.primaryTouch = null, this.lastTouches = [];
393
+ }
394
+ T(dt, m, {
395
+ /**
396
+ * handle mouse and touch events
397
+ * @param {Hammer} manager
398
+ * @param {String} inputEvent
399
+ * @param {Object} inputData
400
+ */
401
+ handler: function(e, i, r) {
402
+ var n = r.pointerType == W, s = r.pointerType == pt;
403
+ if (!(s && r.sourceCapabilities && r.sourceCapabilities.firesTouchEvents)) {
404
+ if (n)
405
+ Me.call(this, i, r);
406
+ else if (s && Ue.call(this, r))
407
+ return;
408
+ this.callback(e, i, r);
409
+ }
410
+ },
411
+ /**
412
+ * remove the event listeners
413
+ */
414
+ destroy: function() {
415
+ this.touch.destroy(), this.mouse.destroy();
416
+ }
417
+ });
418
+ function Me(t, e) {
419
+ t & f ? (this.primaryTouch = e.changedPointers[0].identifier, qt.call(this, e)) : t & (h | p) && qt.call(this, e);
420
+ }
421
+ function qt(t) {
422
+ var e = t.changedPointers[0];
423
+ if (e.identifier === this.primaryTouch) {
424
+ var i = { x: e.clientX, y: e.clientY };
425
+ this.lastTouches.push(i);
426
+ var r = this.lastTouches, n = function() {
427
+ var s = r.indexOf(i);
428
+ s > -1 && r.splice(s, 1);
429
+ };
430
+ setTimeout(n, De);
431
+ }
432
+ }
433
+ function Ue(t) {
434
+ for (var e = t.srcEvent.clientX, i = t.srcEvent.clientY, r = 0; r < this.lastTouches.length; r++) {
435
+ var n = this.lastTouches[r], s = Math.abs(e - n.x), a = Math.abs(i - n.y);
436
+ if (s <= Wt && a <= Wt)
437
+ return !0;
438
+ }
439
+ return !1;
440
+ }
441
+ var wt = $($t.style, "touchAction"), Gt = wt !== o, kt = "compute", zt = "auto", Et = "manipulation", x = "none", z = "pan-x", Z = "pan-y", st = xe();
442
+ function gt(t, e) {
443
+ this.manager = t, this.set(e);
444
+ }
445
+ gt.prototype = {
446
+ /**
447
+ * set the touchAction value on the element or enable the polyfill
448
+ * @param {String} value
449
+ */
450
+ set: function(t) {
451
+ t == kt && (t = this.compute()), Gt && this.manager.element.style && st[t] && (this.manager.element.style[wt] = t), this.actions = t.toLowerCase().trim();
452
+ },
453
+ /**
454
+ * just re-set the touchAction value
455
+ */
456
+ update: function() {
457
+ this.set(this.manager.options.touchAction);
458
+ },
459
+ /**
460
+ * compute the value for the touchAction property based on the recognizer's settings
461
+ * @returns {String} value
462
+ */
463
+ compute: function() {
464
+ var t = [];
465
+ return P(this.manager.recognizers, function(e) {
466
+ vt(e.options.enable, [e]) && (t = t.concat(e.getTouchAction()));
467
+ }), Re(t.join(" "));
468
+ },
469
+ /**
470
+ * this method is called on each input cycle and provides the preventing of the browser behavior
471
+ * @param {Object} input
472
+ */
473
+ preventDefaults: function(t) {
474
+ var e = t.srcEvent, i = t.offsetDirection;
475
+ if (this.manager.session.prevented) {
476
+ e.preventDefault();
477
+ return;
478
+ }
479
+ var r = this.actions, n = M(r, x) && !st[x], s = M(r, Z) && !st[Z], a = M(r, z) && !st[z];
480
+ if (n) {
481
+ var l = t.pointers.length === 1, u = t.distance < 2, v = t.deltaTime < 250;
482
+ if (l && u && v)
483
+ return;
484
+ }
485
+ if (!(a && s) && (n || s && i & _ || a && i & R))
486
+ return this.preventSrc(e);
487
+ },
488
+ /**
489
+ * call preventDefault to prevent the browser's default behavior (scrolling in most cases)
490
+ * @param {Object} srcEvent
491
+ */
492
+ preventSrc: function(t) {
493
+ this.manager.session.prevented = !0, t.preventDefault();
494
+ }
495
+ };
496
+ function Re(t) {
497
+ if (M(t, x))
498
+ return x;
499
+ var e = M(t, z), i = M(t, Z);
500
+ return e && i ? x : e || i ? e ? z : Z : M(t, Et) ? Et : zt;
501
+ }
502
+ function xe() {
503
+ if (!Gt)
504
+ return !1;
505
+ var t = {}, e = c.CSS && c.CSS.supports;
506
+ return ["auto", "manipulation", "pan-y", "pan-x", "pan-x pan-y", "none"].forEach(function(i) {
507
+ t[i] = e ? c.CSS.supports("touch-action", i) : !0;
508
+ }), t;
509
+ }
510
+ var at = 1, d = 2, V = 4, C = 8, N = C, j = 16, y = 32;
511
+ function O(t) {
512
+ this.options = g({}, this.defaults, t || {}), this.id = re(), this.manager = null, this.options.enable = Ct(this.options.enable, !0), this.state = at, this.simultaneous = {}, this.requireFail = [];
513
+ }
514
+ O.prototype = {
515
+ /**
516
+ * @virtual
517
+ * @type {Object}
518
+ */
519
+ defaults: {},
520
+ /**
521
+ * set options
522
+ * @param {Object} options
523
+ * @return {Recognizer}
524
+ */
525
+ set: function(t) {
526
+ return g(this.options, t), this.manager && this.manager.touchAction.update(), this;
527
+ },
528
+ /**
529
+ * recognize simultaneous with an other recognizer.
530
+ * @param {Recognizer} otherRecognizer
531
+ * @returns {Recognizer} this
532
+ */
533
+ recognizeWith: function(t) {
534
+ if (F(t, "recognizeWith", this))
535
+ return this;
536
+ var e = this.simultaneous;
537
+ return t = ot(t, this), e[t.id] || (e[t.id] = t, t.recognizeWith(this)), this;
538
+ },
539
+ /**
540
+ * drop the simultaneous link. it doesnt remove the link on the other recognizer.
541
+ * @param {Recognizer} otherRecognizer
542
+ * @returns {Recognizer} this
543
+ */
544
+ dropRecognizeWith: function(t) {
545
+ return F(t, "dropRecognizeWith", this) ? this : (t = ot(t, this), delete this.simultaneous[t.id], this);
546
+ },
547
+ /**
548
+ * recognizer can only run when an other is failing
549
+ * @param {Recognizer} otherRecognizer
550
+ * @returns {Recognizer} this
551
+ */
552
+ requireFailure: function(t) {
553
+ if (F(t, "requireFailure", this))
554
+ return this;
555
+ var e = this.requireFail;
556
+ return t = ot(t, this), X(e, t) === -1 && (e.push(t), t.requireFailure(this)), this;
557
+ },
558
+ /**
559
+ * drop the requireFailure link. it does not remove the link on the other recognizer.
560
+ * @param {Recognizer} otherRecognizer
561
+ * @returns {Recognizer} this
562
+ */
563
+ dropRequireFailure: function(t) {
564
+ if (F(t, "dropRequireFailure", this))
565
+ return this;
566
+ t = ot(t, this);
567
+ var e = X(this.requireFail, t);
568
+ return e > -1 && this.requireFail.splice(e, 1), this;
569
+ },
570
+ /**
571
+ * has require failures boolean
572
+ * @returns {boolean}
573
+ */
574
+ hasRequireFailures: function() {
575
+ return this.requireFail.length > 0;
576
+ },
577
+ /**
578
+ * if the recognizer can recognize simultaneous with an other recognizer
579
+ * @param {Recognizer} otherRecognizer
580
+ * @returns {Boolean}
581
+ */
582
+ canRecognizeWith: function(t) {
583
+ return !!this.simultaneous[t.id];
584
+ },
585
+ /**
586
+ * You should use `tryEmit` instead of `emit` directly to check
587
+ * that all the needed recognizers has failed before emitting.
588
+ * @param {Object} input
589
+ */
590
+ emit: function(t) {
591
+ var e = this, i = this.state;
592
+ function r(n) {
593
+ e.manager.emit(n, t);
594
+ }
595
+ i < C && r(e.options.event + Zt(i)), r(e.options.event), t.additionalEvent && r(t.additionalEvent), i >= C && r(e.options.event + Zt(i));
596
+ },
597
+ /**
598
+ * Check that all the require failure recognizers has failed,
599
+ * if true, it emits a gesture event,
600
+ * otherwise, setup the state to FAILED.
601
+ * @param {Object} input
602
+ */
603
+ tryEmit: function(t) {
604
+ if (this.canEmit())
605
+ return this.emit(t);
606
+ this.state = y;
607
+ },
608
+ /**
609
+ * can we emit?
610
+ * @returns {boolean}
611
+ */
612
+ canEmit: function() {
613
+ for (var t = 0; t < this.requireFail.length; ) {
614
+ if (!(this.requireFail[t].state & (y | at)))
615
+ return !1;
616
+ t++;
617
+ }
618
+ return !0;
619
+ },
620
+ /**
621
+ * update the recognizer
622
+ * @param {Object} inputData
623
+ */
624
+ recognize: function(t) {
625
+ var e = g({}, t);
626
+ if (!vt(this.options.enable, [this, e])) {
627
+ this.reset(), this.state = y;
628
+ return;
629
+ }
630
+ this.state & (N | j | y) && (this.state = at), this.state = this.process(e), this.state & (d | V | C | j) && this.tryEmit(e);
631
+ },
632
+ /**
633
+ * return the state of the recognizer
634
+ * the actual recognizing happens in this method
635
+ * @virtual
636
+ * @param {Object} inputData
637
+ * @returns {Const} STATE
638
+ */
639
+ process: function(t) {
640
+ },
641
+ // jshint ignore:line
642
+ /**
643
+ * return the preferred touch-action
644
+ * @virtual
645
+ * @returns {Array}
646
+ */
647
+ getTouchAction: function() {
648
+ },
649
+ /**
650
+ * called when the gesture isn't allowed to recognize
651
+ * like when another is being recognized or it is disabled
652
+ * @virtual
653
+ */
654
+ reset: function() {
655
+ }
656
+ };
657
+ function Zt(t) {
658
+ return t & j ? "cancel" : t & C ? "end" : t & V ? "move" : t & d ? "start" : "";
659
+ }
660
+ function jt(t) {
661
+ return t == k ? "down" : t == G ? "up" : t == q ? "left" : t == w ? "right" : "";
662
+ }
663
+ function ot(t, e) {
664
+ var i = e.manager;
665
+ return i ? i.get(t) : t;
666
+ }
667
+ function E() {
668
+ O.apply(this, arguments);
669
+ }
670
+ T(E, O, {
671
+ /**
672
+ * @namespace
673
+ * @memberof AttrRecognizer
674
+ */
675
+ defaults: {
676
+ /**
677
+ * @type {Number}
678
+ * @default 1
679
+ */
680
+ pointers: 1
681
+ },
682
+ /**
683
+ * Used to check if it the recognizer receives valid input, like input.distance > 10.
684
+ * @memberof AttrRecognizer
685
+ * @param {Object} input
686
+ * @returns {Boolean} recognized
687
+ */
688
+ attrTest: function(t) {
689
+ var e = this.options.pointers;
690
+ return e === 0 || t.pointers.length === e;
691
+ },
692
+ /**
693
+ * Process the input and return the state for the recognizer
694
+ * @memberof AttrRecognizer
695
+ * @param {Object} input
696
+ * @returns {*} State
697
+ */
698
+ process: function(t) {
699
+ var e = this.state, i = t.eventType, r = e & (d | V), n = this.attrTest(t);
700
+ return r && (i & p || !n) ? e | j : r || n ? i & h ? e | C : e & d ? e | V : d : y;
701
+ }
702
+ });
703
+ function ht() {
704
+ E.apply(this, arguments), this.pX = null, this.pY = null;
705
+ }
706
+ T(ht, E, {
707
+ /**
708
+ * @namespace
709
+ * @memberof PanRecognizer
710
+ */
711
+ defaults: {
712
+ event: "pan",
713
+ threshold: 10,
714
+ pointers: 1,
715
+ direction: Rt
716
+ },
717
+ getTouchAction: function() {
718
+ var t = this.options.direction, e = [];
719
+ return t & _ && e.push(Z), t & R && e.push(z), e;
720
+ },
721
+ directionTest: function(t) {
722
+ var e = this.options, i = !0, r = t.distance, n = t.direction, s = t.deltaX, a = t.deltaY;
723
+ return n & e.direction || (e.direction & _ ? (n = s === 0 ? tt : s < 0 ? q : w, i = s != this.pX, r = Math.abs(t.deltaX)) : (n = a === 0 ? tt : a < 0 ? G : k, i = a != this.pY, r = Math.abs(t.deltaY))), t.direction = n, i && r > e.threshold && n & e.direction;
724
+ },
725
+ attrTest: function(t) {
726
+ return E.prototype.attrTest.call(this, t) && (this.state & d || !(this.state & d) && this.directionTest(t));
727
+ },
728
+ emit: function(t) {
729
+ this.pX = t.deltaX, this.pY = t.deltaY;
730
+ var e = jt(t.direction);
731
+ e && (t.additionalEvent = this.options.event + e), this._super.emit.call(this, t);
732
+ }
733
+ });
734
+ function _t() {
735
+ E.apply(this, arguments);
736
+ }
737
+ T(_t, E, {
738
+ /**
739
+ * @namespace
740
+ * @memberof PinchRecognizer
741
+ */
742
+ defaults: {
743
+ event: "pinch",
744
+ threshold: 0,
745
+ pointers: 2
746
+ },
747
+ getTouchAction: function() {
748
+ return [x];
749
+ },
750
+ attrTest: function(t) {
751
+ return this._super.attrTest.call(this, t) && (Math.abs(t.scale - 1) > this.options.threshold || this.state & d);
752
+ },
753
+ emit: function(t) {
754
+ if (t.scale !== 1) {
755
+ var e = t.scale < 1 ? "in" : "out";
756
+ t.additionalEvent = this.options.event + e;
757
+ }
758
+ this._super.emit.call(this, t);
759
+ }
760
+ });
761
+ function yt() {
762
+ O.apply(this, arguments), this._timer = null, this._input = null;
763
+ }
764
+ T(yt, O, {
765
+ /**
766
+ * @namespace
767
+ * @memberof PressRecognizer
768
+ */
769
+ defaults: {
770
+ event: "press",
771
+ pointers: 1,
772
+ time: 251,
773
+ // minimal time of the pointer to be pressed
774
+ threshold: 9
775
+ // a minimal movement is ok, but keep it low
776
+ },
777
+ getTouchAction: function() {
778
+ return [zt];
779
+ },
780
+ process: function(t) {
781
+ var e = this.options, i = t.pointers.length === e.pointers, r = t.distance < e.threshold, n = t.deltaTime > e.time;
782
+ if (this._input = t, !r || !i || t.eventType & (h | p) && !n)
783
+ this.reset();
784
+ else if (t.eventType & f)
785
+ this.reset(), this._timer = ut(function() {
786
+ this.state = N, this.tryEmit();
787
+ }, e.time, this);
788
+ else if (t.eventType & h)
789
+ return N;
790
+ return y;
791
+ },
792
+ reset: function() {
793
+ clearTimeout(this._timer);
794
+ },
795
+ emit: function(t) {
796
+ this.state === N && (t && t.eventType & h ? this.manager.emit(this.options.event + "up", t) : (this._input.timeStamp = lt(), this.manager.emit(this.options.event, this._input)));
797
+ }
798
+ });
799
+ function It() {
800
+ E.apply(this, arguments);
801
+ }
802
+ T(It, E, {
803
+ /**
804
+ * @namespace
805
+ * @memberof RotateRecognizer
806
+ */
807
+ defaults: {
808
+ event: "rotate",
809
+ threshold: 0,
810
+ pointers: 2
811
+ },
812
+ getTouchAction: function() {
813
+ return [x];
814
+ },
815
+ attrTest: function(t) {
816
+ return this._super.attrTest.call(this, t) && (Math.abs(t.rotation) > this.options.threshold || this.state & d);
817
+ }
818
+ });
819
+ function Pt() {
820
+ E.apply(this, arguments);
821
+ }
822
+ T(Pt, E, {
823
+ /**
824
+ * @namespace
825
+ * @memberof SwipeRecognizer
826
+ */
827
+ defaults: {
828
+ event: "swipe",
829
+ threshold: 10,
830
+ velocity: 0.3,
831
+ direction: _ | R,
832
+ pointers: 1
833
+ },
834
+ getTouchAction: function() {
835
+ return ht.prototype.getTouchAction.call(this);
836
+ },
837
+ attrTest: function(t) {
838
+ var e = this.options.direction, i;
839
+ return e & (_ | R) ? i = t.overallVelocity : e & _ ? i = t.overallVelocityX : e & R && (i = t.overallVelocityY), this._super.attrTest.call(this, t) && e & t.offsetDirection && t.distance > this.options.threshold && t.maxPointers == this.options.pointers && D(i) > this.options.velocity && t.eventType & h;
840
+ },
841
+ emit: function(t) {
842
+ var e = jt(t.offsetDirection);
843
+ e && this.manager.emit(this.options.event + e, t), this.manager.emit(this.options.event, t);
844
+ }
845
+ });
846
+ function ct() {
847
+ O.apply(this, arguments), this.pTime = !1, this.pCenter = !1, this._timer = null, this._input = null, this.count = 0;
848
+ }
849
+ T(ct, O, {
850
+ /**
851
+ * @namespace
852
+ * @memberof PinchRecognizer
853
+ */
854
+ defaults: {
855
+ event: "tap",
856
+ pointers: 1,
857
+ taps: 1,
858
+ interval: 300,
859
+ // max time between the multi-tap taps
860
+ time: 250,
861
+ // max time of the pointer to be down (like finger on the screen)
862
+ threshold: 9,
863
+ // a minimal movement is ok, but keep it low
864
+ posThreshold: 10
865
+ // a multi-tap can be a bit off the initial position
866
+ },
867
+ getTouchAction: function() {
868
+ return [Et];
869
+ },
870
+ process: function(t) {
871
+ var e = this.options, i = t.pointers.length === e.pointers, r = t.distance < e.threshold, n = t.deltaTime < e.time;
872
+ if (this.reset(), t.eventType & f && this.count === 0)
873
+ return this.failTimeout();
874
+ if (r && n && i) {
875
+ if (t.eventType != h)
876
+ return this.failTimeout();
877
+ var s = this.pTime ? t.timeStamp - this.pTime < e.interval : !0, a = !this.pCenter || it(this.pCenter, t.center) < e.posThreshold;
878
+ this.pTime = t.timeStamp, this.pCenter = t.center, !a || !s ? this.count = 1 : this.count += 1, this._input = t;
879
+ var l = this.count % e.taps;
880
+ if (l === 0)
881
+ return this.hasRequireFailures() ? (this._timer = ut(function() {
882
+ this.state = N, this.tryEmit();
883
+ }, e.interval, this), d) : N;
884
+ }
885
+ return y;
886
+ },
887
+ failTimeout: function() {
888
+ return this._timer = ut(function() {
889
+ this.state = y;
890
+ }, this.options.interval, this), y;
891
+ },
892
+ reset: function() {
893
+ clearTimeout(this._timer);
894
+ },
895
+ emit: function() {
896
+ this.state == N && (this._input.tapCount = this.count, this.manager.emit(this.options.event, this._input));
897
+ }
898
+ });
899
+ function A(t, e) {
900
+ return e = e || {}, e.recognizers = Ct(e.recognizers, A.defaults.preset), new Nt(t, e);
901
+ }
902
+ A.VERSION = "2.0.7", A.defaults = {
903
+ /**
904
+ * set if DOM events are being triggered.
905
+ * But this is slower and unused by simple implementations, so disabled by default.
906
+ * @type {Boolean}
907
+ * @default false
908
+ */
909
+ domEvents: !1,
910
+ /**
911
+ * The value for the touchAction property/fallback.
912
+ * When set to `compute` it will magically set the correct value based on the added recognizers.
913
+ * @type {String}
914
+ * @default compute
915
+ */
916
+ touchAction: kt,
917
+ /**
918
+ * @type {Boolean}
919
+ * @default true
920
+ */
921
+ enable: !0,
922
+ /**
923
+ * EXPERIMENTAL FEATURE -- can be removed/changed
924
+ * Change the parent input target element.
925
+ * If Null, then it is being set the to main element.
926
+ * @type {Null|EventTarget}
927
+ * @default null
928
+ */
929
+ inputTarget: null,
930
+ /**
931
+ * force an input class
932
+ * @type {Null|Function}
933
+ * @default null
934
+ */
935
+ inputClass: null,
936
+ /**
937
+ * Default recognizer setup when calling `Hammer()`
938
+ * When creating a new Manager these will be skipped.
939
+ * @type {Array}
940
+ */
941
+ preset: [
942
+ // RecognizerClass, options, [recognizeWith, ...], [requireFailure, ...]
943
+ [It, { enable: !1 }],
944
+ [_t, { enable: !1 }, ["rotate"]],
945
+ [Pt, { direction: _ }],
946
+ [ht, { direction: _ }, ["swipe"]],
947
+ [ct],
948
+ [ct, { event: "doubletap", taps: 2 }, ["tap"]],
949
+ [yt]
950
+ ],
951
+ /**
952
+ * Some CSS properties can be used to improve the working of Hammer.
953
+ * Add them to this method and they will be set when creating a new Manager.
954
+ * @namespace
955
+ */
956
+ cssProps: {
957
+ /**
958
+ * Disables text selection to improve the dragging gesture. Mainly for desktop browsers.
959
+ * @type {String}
960
+ * @default 'none'
961
+ */
962
+ userSelect: "none",
963
+ /**
964
+ * Disable the Windows Phone grippers when pressing an element.
965
+ * @type {String}
966
+ * @default 'none'
967
+ */
968
+ touchSelect: "none",
969
+ /**
970
+ * Disables the default callout shown when you touch and hold a touch target.
971
+ * On iOS, when you touch and hold a touch target such as a link, Safari displays
972
+ * a callout containing information about the link. This property allows you to disable that callout.
973
+ * @type {String}
974
+ * @default 'none'
975
+ */
976
+ touchCallout: "none",
977
+ /**
978
+ * Specifies whether zooming is enabled. Used by IE10>
979
+ * @type {String}
980
+ * @default 'none'
981
+ */
982
+ contentZooming: "none",
983
+ /**
984
+ * Specifies that an entire element should be draggable instead of its contents. Mainly for desktop browsers.
985
+ * @type {String}
986
+ * @default 'none'
987
+ */
988
+ userDrag: "none",
989
+ /**
990
+ * Overrides the highlight color shown when the user taps a link or a JavaScript
991
+ * clickable element in iOS. This property obeys the alpha value, if specified.
992
+ * @type {String}
993
+ * @default 'rgba(0,0,0,0)'
994
+ */
995
+ tapHighlightColor: "rgba(0,0,0,0)"
996
+ }
997
+ };
998
+ var Le = 1, Bt = 2;
999
+ function Nt(t, e) {
1000
+ this.options = g({}, A.defaults, e || {}), this.options.inputTarget = this.options.inputTarget || t, this.handlers = {}, this.session = {}, this.recognizers = [], this.oldCssProps = {}, this.element = t, this.input = le(this), this.touchAction = new gt(this, this.options.touchAction), Jt(this, !0), P(this.options.recognizers, function(i) {
1001
+ var r = this.add(new i[0](i[1]));
1002
+ i[2] && r.recognizeWith(i[2]), i[3] && r.requireFailure(i[3]);
1003
+ }, this);
1004
+ }
1005
+ Nt.prototype = {
1006
+ /**
1007
+ * set options
1008
+ * @param {Object} options
1009
+ * @returns {Manager}
1010
+ */
1011
+ set: function(t) {
1012
+ return g(this.options, t), t.touchAction && this.touchAction.update(), t.inputTarget && (this.input.destroy(), this.input.target = t.inputTarget, this.input.init()), this;
1013
+ },
1014
+ /**
1015
+ * stop recognizing for this session.
1016
+ * This session will be discarded, when a new [input]start event is fired.
1017
+ * When forced, the recognizer cycle is stopped immediately.
1018
+ * @param {Boolean} [force]
1019
+ */
1020
+ stop: function(t) {
1021
+ this.session.stopped = t ? Bt : Le;
1022
+ },
1023
+ /**
1024
+ * run the recognizers!
1025
+ * called by the inputHandler function on every movement of the pointers (touches)
1026
+ * it walks through all the recognizers and tries to detect the gesture that is being made
1027
+ * @param {Object} inputData
1028
+ */
1029
+ recognize: function(t) {
1030
+ var e = this.session;
1031
+ if (!e.stopped) {
1032
+ this.touchAction.preventDefaults(t);
1033
+ var i, r = this.recognizers, n = e.curRecognizer;
1034
+ (!n || n && n.state & N) && (n = e.curRecognizer = null);
1035
+ for (var s = 0; s < r.length; )
1036
+ i = r[s], e.stopped !== Bt && // 1
1037
+ (!n || i == n || // 2
1038
+ i.canRecognizeWith(n)) ? i.recognize(t) : i.reset(), !n && i.state & (d | V | C) && (n = e.curRecognizer = i), s++;
1039
+ }
1040
+ },
1041
+ /**
1042
+ * get a recognizer by its event name.
1043
+ * @param {Recognizer|String} recognizer
1044
+ * @returns {Recognizer|Null}
1045
+ */
1046
+ get: function(t) {
1047
+ if (t instanceof O)
1048
+ return t;
1049
+ for (var e = this.recognizers, i = 0; i < e.length; i++)
1050
+ if (e[i].options.event == t)
1051
+ return e[i];
1052
+ return null;
1053
+ },
1054
+ /**
1055
+ * add a recognizer to the manager
1056
+ * existing recognizers with the same event name will be removed
1057
+ * @param {Recognizer} recognizer
1058
+ * @returns {Recognizer|Manager}
1059
+ */
1060
+ add: function(t) {
1061
+ if (F(t, "add", this))
1062
+ return this;
1063
+ var e = this.get(t.options.event);
1064
+ return e && this.remove(e), this.recognizers.push(t), t.manager = this, this.touchAction.update(), t;
1065
+ },
1066
+ /**
1067
+ * remove a recognizer by name or instance
1068
+ * @param {Recognizer|String} recognizer
1069
+ * @returns {Manager}
1070
+ */
1071
+ remove: function(t) {
1072
+ if (F(t, "remove", this))
1073
+ return this;
1074
+ if (t = this.get(t), t) {
1075
+ var e = this.recognizers, i = X(e, t);
1076
+ i !== -1 && (e.splice(i, 1), this.touchAction.update());
1077
+ }
1078
+ return this;
1079
+ },
1080
+ /**
1081
+ * bind event
1082
+ * @param {String} events
1083
+ * @param {Function} handler
1084
+ * @returns {EventEmitter} this
1085
+ */
1086
+ on: function(t, e) {
1087
+ if (t !== o && e !== o) {
1088
+ var i = this.handlers;
1089
+ return P(Q(t), function(r) {
1090
+ i[r] = i[r] || [], i[r].push(e);
1091
+ }), this;
1092
+ }
1093
+ },
1094
+ /**
1095
+ * unbind event, leave emit blank to remove all handlers
1096
+ * @param {String} events
1097
+ * @param {Function} [handler]
1098
+ * @returns {EventEmitter} this
1099
+ */
1100
+ off: function(t, e) {
1101
+ if (t !== o) {
1102
+ var i = this.handlers;
1103
+ return P(Q(t), function(r) {
1104
+ e ? i[r] && i[r].splice(X(i[r], e), 1) : delete i[r];
1105
+ }), this;
1106
+ }
1107
+ },
1108
+ /**
1109
+ * emit event to the listeners
1110
+ * @param {String} event
1111
+ * @param {Object} data
1112
+ */
1113
+ emit: function(t, e) {
1114
+ this.options.domEvents && be(t, e);
1115
+ var i = this.handlers[t] && this.handlers[t].slice();
1116
+ if (!(!i || !i.length)) {
1117
+ e.type = t, e.preventDefault = function() {
1118
+ e.srcEvent.preventDefault();
1119
+ };
1120
+ for (var r = 0; r < i.length; )
1121
+ i[r](e), r++;
1122
+ }
1123
+ },
1124
+ /**
1125
+ * destroy the manager and unbinds all events
1126
+ * it doesn't unbind dom events, that is the user own responsibility
1127
+ */
1128
+ destroy: function() {
1129
+ this.element && Jt(this, !1), this.handlers = {}, this.session = {}, this.input.destroy(), this.element = null;
1130
+ }
1131
+ };
1132
+ function Jt(t, e) {
1133
+ var i = t.element;
1134
+ if (i.style) {
1135
+ var r;
1136
+ P(t.options.cssProps, function(n, s) {
1137
+ r = $(i.style, s), e ? (t.oldCssProps[r] = i.style[r], i.style[r] = n) : i.style[r] = t.oldCssProps[r] || "";
1138
+ }), e || (t.oldCssProps = {});
1139
+ }
1140
+ }
1141
+ function be(t, e) {
1142
+ var i = b.createEvent("Event");
1143
+ i.initEvent(t, !0, !0), i.gesture = e, e.target.dispatchEvent(i);
1144
+ }
1145
+ g(A, {
1146
+ INPUT_START: f,
1147
+ INPUT_MOVE: U,
1148
+ INPUT_END: h,
1149
+ INPUT_CANCEL: p,
1150
+ STATE_POSSIBLE: at,
1151
+ STATE_BEGAN: d,
1152
+ STATE_CHANGED: V,
1153
+ STATE_ENDED: C,
1154
+ STATE_RECOGNIZED: N,
1155
+ STATE_CANCELLED: j,
1156
+ STATE_FAILED: y,
1157
+ DIRECTION_NONE: tt,
1158
+ DIRECTION_LEFT: q,
1159
+ DIRECTION_RIGHT: w,
1160
+ DIRECTION_UP: G,
1161
+ DIRECTION_DOWN: k,
1162
+ DIRECTION_HORIZONTAL: _,
1163
+ DIRECTION_VERTICAL: R,
1164
+ DIRECTION_ALL: Rt,
1165
+ Manager: Nt,
1166
+ Input: m,
1167
+ TouchAction: gt,
1168
+ TouchInput: nt,
1169
+ MouseInput: rt,
1170
+ PointerEventInput: mt,
1171
+ TouchMouseInput: dt,
1172
+ SingleTouchInput: Vt,
1173
+ Recognizer: O,
1174
+ AttrRecognizer: E,
1175
+ Tap: ct,
1176
+ Pan: ht,
1177
+ Swipe: Pt,
1178
+ Pinch: _t,
1179
+ Rotate: It,
1180
+ Press: yt,
1181
+ on: B,
1182
+ off: J,
1183
+ each: P,
1184
+ merge: ee,
1185
+ extend: At,
1186
+ assign: g,
1187
+ inherit: T,
1188
+ bindFn: ft,
1189
+ prefixed: $
1190
+ });
1191
+ var Ye = typeof c < "u" ? c : typeof self < "u" ? self : {};
1192
+ Ye.Hammer = A, typeof o == "function" && o.amd ? o(function() {
1193
+ return A;
1194
+ }) : L.exports ? L.exports = A : c[S] = A;
1195
+ })(window, document, "Hammer");
1196
+ })(Qt);
1197
+ var Kt = Qt.exports;
1198
+ const Xe = /* @__PURE__ */ He(Kt), We = /* @__PURE__ */ Fe({
1199
+ __proto__: null,
1200
+ default: Xe
1201
+ }, [Kt]);
1202
+ export {
1203
+ We as h
1204
+ };
1205
+ //# sourceMappingURL=hammer-ea5fdcf5.js.map