bloom-player 2.10.0 → 2.10.2

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/lib/shared.es.js CHANGED
@@ -2,14 +2,14 @@ class Xr {
2
2
  constructor() {
3
3
  this.handlers = [];
4
4
  }
5
- subscribe(d) {
6
- this.handlers.indexOf(d) === -1 && this.handlers.push(d);
5
+ subscribe(f) {
6
+ this.handlers.indexOf(f) === -1 && this.handlers.push(f);
7
7
  }
8
- unsubscribe(d) {
9
- this.handlers = this.handlers.filter((y) => y !== d);
8
+ unsubscribe(f) {
9
+ this.handlers = this.handlers.filter((y) => y !== f);
10
10
  }
11
- raise(d) {
12
- this.handlers.slice(0).forEach((y) => y(d));
11
+ raise(f) {
12
+ this.handlers.slice(0).forEach((y) => y(f));
13
13
  }
14
14
  }
15
15
  var Zo = /* @__PURE__ */ ((l) => (l[l.NewPage = 0] = "NewPage", l[l.NewPageMediaPaused = 1] = "NewPageMediaPaused", l[l.VideoPlaying = 2] = "VideoPlaying", l[l.VideoPaused = 3] = "VideoPaused", l[l.AudioPlaying = 4] = "AudioPlaying", l[l.AudioPaused = 5] = "AudioPaused", l[l.MediaFinished = 6] = "MediaFinished", l))(Zo || {});
@@ -21,9 +21,9 @@ let yi;
21
21
  function js(l) {
22
22
  yi = l;
23
23
  }
24
- let Hr;
24
+ let Ir;
25
25
  function Rs(l) {
26
- Hr = l;
26
+ Ir = l;
27
27
  }
28
28
  let wn = () => {
29
29
  };
@@ -39,21 +39,21 @@ function Ws(l) {
39
39
  Ko(xn(l));
40
40
  }
41
41
  function xn(l) {
42
- const d = l.lastIndexOf("/");
43
- return l.substring(0, d);
42
+ const f = l.lastIndexOf("/");
43
+ return l.substring(0, f);
44
44
  }
45
45
  function Tn() {
46
46
  return bi || xn(window.location.href);
47
47
  }
48
48
  function Jo(l) {
49
- const d = l.map((y, b) => ({ tabindex: Qo(y), index: b, item: y }));
50
- return d.sort((y, b) => !y.tabindex || !b.tabindex || y.tabindex === b.tabindex ? y.index - b.index : parseInt(y.tabindex, 10) - parseInt(b.tabindex, 10)), d.map((y) => y.item);
49
+ const f = l.map((y, b) => ({ tabindex: Qo(y), index: b, item: y }));
50
+ return f.sort((y, b) => !y.tabindex || !b.tabindex || y.tabindex === b.tabindex ? y.index - b.index : parseInt(y.tabindex, 10) - parseInt(b.tabindex, 10)), f.map((y) => y.item);
51
51
  }
52
52
  function Qo(l) {
53
- let d = l;
54
- for (; d && !d.classList.contains("bloom-translationGroup"); )
55
- d = d.parentElement;
56
- return d && d.getAttribute("tabindex") || "999";
53
+ let f = l;
54
+ for (; f && !f.classList.contains("bloom-translationGroup"); )
55
+ f = f.parentElement;
56
+ return f && f.getAttribute("tabindex") || "999";
57
57
  }
58
58
  const es = "bloom-highlightSegment", Sn = "ui-enableHighlight", Ci = "ui-disableHighlight", gn = "ui-suppressHighlight";
59
59
  let qr = 3;
@@ -61,14 +61,14 @@ function Fs(l) {
61
61
  qr = l;
62
62
  }
63
63
  const Br = "audio-sentence", En = "bloom-imageDescription";
64
- let Ht = null, hr = 0;
64
+ let It = null, hr = 0;
65
65
  function ts(l) {
66
- l !== Ht && (hr && clearTimeout(hr), hr = setTimeout(() => {
66
+ l !== It && (hr && clearTimeout(hr), hr = setTimeout(() => {
67
67
  hr = 0;
68
- }, 3e3), Ht = l);
68
+ }, 3e3), It = l);
69
69
  }
70
70
  function rs() {
71
- return Ht;
71
+ return It;
72
72
  }
73
73
  let ki, jr, pr = "", yt = [], Mt = [];
74
74
  const bt = new Xr(), Vt = new Xr(), zr = new Xr(), zt = new Xr();
@@ -78,40 +78,40 @@ function Xs(l) {
78
78
  }
79
79
  let Rr = null;
80
80
  function is(l) {
81
- if (!l && !Ht)
81
+ if (!l && !It)
82
82
  return;
83
- const d = l ?? Ht;
84
- vr(Pi(d), d);
83
+ const f = l ?? It;
84
+ vr(Pi(f), f);
85
85
  }
86
- function vr(l, d) {
87
- ts(d), jr = l;
88
- const y = It();
86
+ function vr(l, f) {
87
+ ts(f), jr = l;
88
+ const y = Ht();
89
89
  y && (l.length == 0 && y.pause(), y.currentTime = 0), ++mr, ns(l), yt = Jo(l).reverse();
90
90
  const b = yt.length;
91
91
  if (b === 0) {
92
- Vt && (Vt == null || Vt.raise(d)), Qt(
92
+ Vt && (Vt == null || Vt.raise(f)), Qt(
93
93
  4
94
94
  /* AudioPlaying */
95
95
  ), bt && (ki = window.setTimeout(() => {
96
96
  Qt(
97
97
  6
98
98
  /* MediaFinished */
99
- ), bt == null || bt.raise(d);
99
+ ), bt == null || bt.raise(f);
100
100
  }, qr * 1e3));
101
101
  return;
102
102
  }
103
- const P = yt[b - 1];
104
- Mn(P, !0), Qt(
103
+ const N = yt[b - 1];
104
+ Mn(N, !0), Qt(
105
105
  4
106
106
  /* AudioPlaying */
107
107
  ), Nn();
108
108
  }
109
109
  const kn = /[ \u00a0\u200b]{3,}/, Mr = new RegExp(kn, "g");
110
110
  function ns(l) {
111
- l.forEach((d) => {
111
+ l.forEach((f) => {
112
112
  Di(
113
113
  "span[id]:not(.bloom-linebreak)",
114
- d,
114
+ f,
115
115
  !0
116
116
  ).forEach((b) => {
117
117
  An(b), !!b.innerText.match(kn) && Ln(b, b);
@@ -119,21 +119,21 @@ function ns(l) {
119
119
  });
120
120
  }
121
121
  function An(l) {
122
- l.classList.remove(Ci), l.classList.remove(Sn), Array.from(l.children).forEach((d) => {
123
- An(d);
122
+ l.classList.remove(Ci), l.classList.remove(Sn), Array.from(l.children).forEach((f) => {
123
+ An(f);
124
124
  });
125
125
  }
126
- function Ln(l, d) {
126
+ function Ln(l, f) {
127
127
  if (!(l.nodeType === Node.ELEMENT_NODE && l.classList.contains(Ci)))
128
128
  if (l.nodeType === Node.TEXT_NODE) {
129
- os(l, d);
129
+ os(l, f);
130
130
  return;
131
131
  } else
132
132
  Array.from(l.childNodes).forEach((b) => {
133
- Ln(b, d);
133
+ Ln(b, f);
134
134
  });
135
135
  }
136
- function os(l, d) {
136
+ function os(l, f) {
137
137
  if (l.nodeType !== Node.TEXT_NODE)
138
138
  throw new Error(
139
139
  "Invalid argument to fixMultiSpaceInTextNode: node must be a TextNode"
@@ -152,78 +152,78 @@ function os(l, d) {
152
152
  // the index of the first character to exclude
153
153
  });
154
154
  });
155
- const P = [];
155
+ const N = [];
156
156
  if (y.length === 0)
157
- P.push(mi(l.nodeValue));
157
+ N.push(mi(l.nodeValue));
158
158
  else {
159
159
  let F = 0;
160
160
  for (let B = 0; B < y.length; ++B) {
161
- const L = y[B], I = l.nodeValue.slice(
161
+ const A = y[B], H = l.nodeValue.slice(
162
162
  F,
163
- L.startIndex
163
+ A.startIndex
164
164
  );
165
- if (F = L.endIndex, I && P.push(mi(I)), P.push(document.createTextNode(L.text)), B === y.length - 1) {
166
- const Y = l.nodeValue.slice(L.endIndex);
167
- Y && P.push(mi(Y));
165
+ if (F = A.endIndex, H && N.push(mi(H)), N.push(document.createTextNode(A.text)), B === y.length - 1) {
166
+ const Y = l.nodeValue.slice(A.endIndex);
167
+ Y && N.push(mi(Y));
168
168
  }
169
169
  }
170
170
  }
171
- const R = l;
172
- if (R.parentNode && P && P.length > 0) {
173
- for (let F = 0; F < P.length; ++F) {
174
- const B = P[F];
175
- R.parentNode.insertBefore(B, R);
171
+ const j = l;
172
+ if (j.parentNode && N && N.length > 0) {
173
+ for (let F = 0; F < N.length; ++F) {
174
+ const B = N[F];
175
+ j.parentNode.insertBefore(B, j);
176
176
  }
177
- R.parentNode.removeChild(R), d.classList.add(Ci);
177
+ j.parentNode.removeChild(j), f.classList.add(Ci);
178
178
  }
179
179
  }
180
180
  function mi(l) {
181
- const d = document.createElement("span");
182
- return d.classList.add(Sn), d.appendChild(document.createTextNode(l)), d;
181
+ const f = document.createElement("span");
182
+ return f.classList.add(Sn), f.appendChild(document.createTextNode(l)), f;
183
183
  }
184
184
  function Nn() {
185
185
  if (tr === 4) {
186
- const l = It();
186
+ const l = Ht();
187
187
  if (l) {
188
- const d = rs().querySelector(
188
+ const f = rs().querySelector(
189
189
  `#${pr}`
190
190
  );
191
- if (!d || !vs()) {
191
+ if (!f || !vs()) {
192
192
  Yr();
193
193
  return;
194
194
  }
195
195
  Mt = [];
196
- const y = d.getAttribute(
196
+ const y = f.getAttribute(
197
197
  "data-audioRecordingEndTimes"
198
198
  );
199
199
  if (y) {
200
- const R = d.querySelectorAll(
200
+ const j = f.querySelectorAll(
201
201
  `span.${es}`
202
202
  ), F = y.split(" "), B = Math.min(
203
203
  F.length,
204
- R.length
204
+ j.length
205
205
  );
206
- for (let L = B - 1; L >= 0; --L) {
207
- const I = Number(F[L]);
208
- isNaN(I) || Mt.push([
209
- R.item(L),
210
- I
206
+ for (let A = B - 1; A >= 0; --A) {
207
+ const H = Number(F[A]);
208
+ isNaN(H) || Mt.push([
209
+ j.item(A),
210
+ H
211
211
  ]);
212
212
  }
213
213
  }
214
- const b = d;
214
+ const b = f;
215
215
  b && zt && (zt == null || zt.raise(
216
216
  Dn(b)
217
217
  )), wi = !1;
218
- const P = l.play();
219
- ++mr, Rr = (/* @__PURE__ */ new Date()).getTime(), Ai(mr), Pn(P);
218
+ const N = l.play();
219
+ ++mr, Rr = (/* @__PURE__ */ new Date()).getTime(), Ai(mr), Pn(N);
220
220
  }
221
221
  }
222
222
  }
223
223
  function Dn(l) {
224
224
  return l.closest("." + En) !== null;
225
225
  }
226
- function Pn(l, d) {
226
+ function Pn(l, f) {
227
227
  l && l.catch && l.catch((y) => {
228
228
  console.log("could not play sound: " + y + " " + "unknown"), y && y.toString().includes(
229
229
  "The play() request was interrupted by a call to pause()."
@@ -232,106 +232,106 @@ function Pn(l, d) {
232
232
  ), y.name === "NotAllowedError" && zr && (zr == null || zr.raise());
233
233
  });
234
234
  }
235
- function Ai(l, d = 0) {
235
+ function Ai(l, f = 0) {
236
236
  const y = Mt.length;
237
237
  if (y <= 0)
238
238
  return;
239
- const b = Mt[y - 1], P = b[0], R = b[1];
240
- Hn({
241
- newElement: P,
239
+ const b = Mt[y - 1], N = b[0], j = b[1];
240
+ In({
241
+ newElement: N,
242
242
  shouldScrollToElement: !0,
243
243
  disableHighlightIfNoAudio: !1
244
244
  });
245
245
  let B = document.getElementById(
246
246
  "bloom-audio-player"
247
247
  ).currentTime;
248
- B <= 0 && (B = d);
249
- const L = Math.max(R - B, 0.1);
248
+ B <= 0 && (B = f);
249
+ const A = Math.max(j - B, 0.1);
250
250
  setTimeout(() => {
251
251
  zn(l);
252
- }, L * 1e3);
252
+ }, A * 1e3);
253
253
  }
254
254
  function zn(l) {
255
255
  if (l !== mr || tr === 5)
256
256
  return;
257
- const d = Mt.length;
258
- if (d <= 0)
257
+ const f = Mt.length;
258
+ if (f <= 0)
259
259
  return;
260
260
  const y = document.getElementById(
261
261
  "bloom-audio-player"
262
262
  );
263
263
  if (y.ended || y.error)
264
264
  return;
265
- const b = y.currentTime, R = Mt[d - 1][1];
266
- if (b && b < R) {
267
- const F = R - b;
265
+ const b = y.currentTime, j = Mt[f - 1][1];
266
+ if (b && b < j) {
267
+ const F = j - b;
268
268
  setTimeout(() => {
269
269
  zn(l);
270
270
  }, F * 1e3);
271
271
  return;
272
272
  }
273
- Mt.pop(), Ai(l, R);
273
+ Mt.pop(), Ai(l, j);
274
274
  }
275
275
  function Li(l = document.body) {
276
- const d = Array.from(
276
+ const f = Array.from(
277
277
  l.ownerDocument.getElementsByClassName("ui-audioCurrent")
278
278
  );
279
- for (let b = 0; b < d.length; b++)
280
- d[b].classList.remove("ui-audioCurrent");
279
+ for (let b = 0; b < f.length; b++)
280
+ f[b].classList.remove("ui-audioCurrent");
281
281
  const y = l.ownerDocument.getElementsByClassName("ui-audioCurrentImg")[0];
282
282
  y && y.classList.remove("ui-audioCurrentImg");
283
283
  }
284
- function Mn(l, d, y) {
285
- Hn({
284
+ function Mn(l, f, y) {
285
+ In({
286
286
  newElement: l,
287
287
  shouldScrollToElement: !0,
288
288
  // Always true in bloom-player version
289
- disableHighlightIfNoAudio: d,
289
+ disableHighlightIfNoAudio: f,
290
290
  oldElement: y
291
291
  }), ls(l);
292
292
  }
293
- function Hn({
293
+ function In({
294
294
  newElement: l,
295
- shouldScrollToElement: d,
295
+ shouldScrollToElement: f,
296
296
  disableHighlightIfNoAudio: y,
297
297
  oldElement: b
298
298
  }) {
299
- if (d)
299
+ if (f)
300
300
  try {
301
301
  ss(l);
302
- } catch (R) {
303
- console.error(R);
302
+ } catch (j) {
303
+ console.error(j);
304
304
  }
305
305
  if (b === l)
306
306
  return;
307
307
  if (Li(b || l), y) {
308
- const R = It();
309
- R.currentTime > 0 || (l.classList.add(gn), R.addEventListener("playing", () => {
308
+ const j = Ht();
309
+ j.currentTime > 0 || (l.classList.add(gn), j.addEventListener("playing", () => {
310
310
  l.classList.remove(gn);
311
311
  }));
312
312
  }
313
313
  l.classList.add("ui-audioCurrent");
314
- const P = l.closest(".bloom-translationGroup");
315
- if (P && P.classList.contains(En)) {
316
- const R = P.closest(".bloom-imageContainer");
317
- R && R.classList.add("ui-audioCurrentImg");
314
+ const N = l.closest(".bloom-translationGroup");
315
+ if (N && N.classList.contains(En)) {
316
+ const j = N.closest(".bloom-imageContainer");
317
+ j && j.classList.add("ui-audioCurrentImg");
318
318
  }
319
319
  }
320
320
  function ss(l) {
321
321
  var y, b;
322
- if (Hr != null && Hr() || hr) {
323
- const P = as(l);
324
- P && (P.scrollTop = 0);
322
+ if (Ir != null && Ir() || hr) {
323
+ const N = as(l);
324
+ N && (N.scrollTop = 0);
325
325
  return;
326
326
  }
327
- let d = l;
327
+ let f = l;
328
328
  if (window.getComputedStyle(l.parentElement).position !== "static") {
329
- const P = l;
330
- d = document.createElement("div"), d.style.position = "absolute", d.style.top = P.offsetTop + "px";
331
- const R = P.getBoundingClientRect(), F = P.parentElement, B = F == null ? void 0 : F.getBoundingClientRect(), L = B.width / F.offsetWidth, I = (R.left - B.left) / L;
332
- d.style.left = I + P.offsetWidth / 2 + "px", d.style.height = P.offsetHeight + "px", d.style.width = "0", (y = l.parentElement) == null || y.insertBefore(d, l);
329
+ const N = l;
330
+ f = document.createElement("div"), f.style.position = "absolute", f.style.top = N.offsetTop + "px";
331
+ const j = N.getBoundingClientRect(), F = N.parentElement, B = F == null ? void 0 : F.getBoundingClientRect(), A = B.width / F.offsetWidth, H = (j.left - B.left) / A;
332
+ f.style.left = H + N.offsetWidth / 2 + "px", f.style.height = N.offsetHeight + "px", f.style.width = "0", (y = l.parentElement) == null || y.insertBefore(f, l);
333
333
  }
334
- d.scrollIntoView({
334
+ f.scrollIntoView({
335
335
  // Animated instead of sudden
336
336
  behavior: "smooth",
337
337
  // "nearest" setting does lots of smarts for us (compared to us deciding when to use "start" or "end")
@@ -341,53 +341,53 @@ function ss(l) {
341
341
  block: "nearest"
342
342
  // horizontal alignment is controlled by "inline". We'll leave it as its default ("nearest")
343
343
  // which typically won't move things at all horizontally
344
- }), d !== l && ((b = d.parentElement) == null || b.removeChild(d));
344
+ }), f !== l && ((b = f.parentElement) == null || b.removeChild(f));
345
345
  }
346
346
  function as(l) {
347
347
  return l.classList.contains("bloom-editable") ? l : l.closest(".bloom-editable");
348
348
  }
349
349
  function ls(l) {
350
- const d = cs(l), y = d ? d.id : l.id;
350
+ const f = cs(l), y = f ? f.id : l.id;
351
351
  fs(y);
352
352
  }
353
353
  function cs(l) {
354
- const d = us(l);
355
- return !d || d.length === 0 ? null : d[0];
354
+ const f = us(l);
355
+ return !f || f.length === 0 ? null : f[0];
356
356
  }
357
357
  function us(l) {
358
- const d = [];
358
+ const f = [];
359
359
  if (l)
360
360
  if (l.classList.contains(Br))
361
- d.push(l);
361
+ f.push(l);
362
362
  else {
363
363
  const y = l.getElementsByClassName(Br);
364
364
  for (let b = 0; b < y.length; ++b) {
365
- const P = y.item(b);
366
- P && d.push(P);
365
+ const N = y.item(b);
366
+ N && f.push(N);
367
367
  }
368
368
  }
369
- return d;
369
+ return f;
370
370
  }
371
371
  function fs(l) {
372
372
  (!pr || pr !== l) && (pr = l, ds());
373
373
  }
374
374
  function ds() {
375
- const l = It();
375
+ const l = Ht();
376
376
  if (!l)
377
377
  return;
378
378
  l.currentTime > 0 && !l.paused && !l.ended && Ni();
379
- const d = hs(pr);
380
- wn(d), l.setAttribute(
379
+ const f = hs(pr);
380
+ wn(f), l.setAttribute(
381
381
  "src",
382
- d + "?nocache=" + (/* @__PURE__ */ new Date()).getTime() + "&optional=true"
382
+ f + "?nocache=" + (/* @__PURE__ */ new Date()).getTime() + "&optional=true"
383
383
  );
384
384
  }
385
385
  function hs(l) {
386
386
  return Tn() + "/audio/" + l + ".mp3";
387
387
  }
388
- function It() {
389
- return ms("bloom-audio-player", (d) => {
390
- d.addEventListener("ended", ps), d.addEventListener("error", ys);
388
+ function Ht() {
389
+ return ms("bloom-audio-player", (f) => {
390
+ f.addEventListener("ended", ps), f.addEventListener("error", ys);
391
391
  });
392
392
  }
393
393
  function ps() {
@@ -398,28 +398,28 @@ function Ys() {
398
398
  }
399
399
  function Yr(l = !0) {
400
400
  if (zt && (zt == null || zt.raise(!1)), Ni(), yt && yt.length > 0) {
401
- const d = yt.pop(), y = yt.length;
401
+ const f = yt.pop(), y = yt.length;
402
402
  if (y > 0 && l) {
403
403
  const b = yt[y - 1];
404
404
  Mn(b, !0), Nn();
405
405
  } else
406
- gs(), Li(d), It().pause();
406
+ gs(), Li(f), Ht().pause();
407
407
  }
408
408
  }
409
409
  function gs() {
410
- yt = [], Mt = [], Li(), bt == null || bt.raise(Ht), Vt == null || Vt.raise();
410
+ yt = [], Mt = [], Li(), bt == null || bt.raise(It), Vt == null || Vt.raise();
411
411
  }
412
412
  function Ni() {
413
413
  if (!Rr || !yi)
414
414
  return;
415
- const d = ((/* @__PURE__ */ new Date()).getTime() - Rr) / 1e3;
416
- yi(d);
415
+ const f = ((/* @__PURE__ */ new Date()).getTime() - Rr) / 1e3;
416
+ yi(f);
417
417
  }
418
- function ms(l, d) {
418
+ function ms(l, f) {
419
419
  let y = document.querySelector(
420
420
  "#" + l
421
421
  );
422
- return y && !y.play && (y.remove(), y = null), y || (y = document.createElement("audio"), y.setAttribute("id", l), document.body.appendChild(y), d(y)), y;
422
+ return y && !y.play && (y.remove(), y = null), y || (y = document.createElement("audio"), y.setAttribute("id", l), document.body.appendChild(y), f(y)), y;
423
423
  }
424
424
  function vs(l) {
425
425
  return !0;
@@ -434,25 +434,25 @@ function ys() {
434
434
  Yr();
435
435
  }, 100);
436
436
  }
437
- function Di(l, d, y = !1) {
437
+ function Di(l, f, y = !1) {
438
438
  const b = [].slice.call(
439
- (d || document).querySelectorAll(l)
439
+ (f || document).querySelectorAll(l)
440
440
  );
441
- return y && d && d.matches(l) && b.push(d), Cn ? b : b.filter((P) => !Dn(P));
441
+ return y && f && f.matches(l) && b.push(f), Cn ? b : b.filter((N) => !Dn(N));
442
442
  }
443
443
  function bs(l) {
444
444
  return Di(".bloom-editable", l).filter(
445
- (d) => window.getComputedStyle(d).display !== "none"
445
+ (f) => window.getComputedStyle(f).display !== "none"
446
446
  );
447
447
  }
448
448
  function ws(l) {
449
- return bs(l || Ht);
449
+ return bs(l || It);
450
450
  }
451
451
  function Pi(l) {
452
452
  return [].concat.apply(
453
453
  [],
454
454
  ws(l).map(
455
- (d) => Di(".audio-sentence", d, !0)
455
+ (f) => Di(".audio-sentence", f, !0)
456
456
  )
457
457
  );
458
458
  }
@@ -464,15 +464,15 @@ function Vs() {
464
464
  if (Qt(
465
465
  4
466
466
  /* AudioPlaying */
467
- ), jr.length && It())
467
+ ), jr.length && Ht())
468
468
  if (yt.length) {
469
- Pn(It().play()), Rr = (/* @__PURE__ */ new Date()).getTime(), Ai(mr);
469
+ Pn(Ht().play()), Rr = (/* @__PURE__ */ new Date()).getTime(), Ai(mr);
470
470
  return;
471
471
  } else {
472
472
  is(null);
473
473
  return;
474
474
  }
475
- bt == null || bt.raise(Ht);
475
+ bt == null || bt.raise(It);
476
476
  }
477
477
  }
478
478
  function Us() {
@@ -482,66 +482,66 @@ function Us() {
482
482
  ));
483
483
  }
484
484
  function xs() {
485
- const l = It();
485
+ const l = Ht();
486
486
  clearTimeout(ki), jr && jr.length && l && (l.currentTime > 0 && !l.paused && !l.ended && Ni(), l.pause());
487
487
  }
488
488
  function Gs(l) {
489
- let d = 0;
489
+ let f = 0;
490
490
  return Pi(l).forEach((y) => {
491
491
  const b = y.getAttribute("data-duration");
492
- b && (d += parseFloat(b));
493
- }), d < qr && (d = qr), d;
492
+ b && (f += parseFloat(b));
493
+ }), f < qr && (f = qr), f;
494
494
  }
495
495
  function Zs() {
496
496
  clearTimeout(ki);
497
497
  }
498
- function gr(l, d) {
498
+ function gr(l, f) {
499
499
  if (l.length === 0) {
500
- d();
500
+ f();
501
501
  return;
502
502
  }
503
503
  const y = l[0];
504
- y.networkState === HTMLMediaElement.NETWORK_NO_SOURCE && y.readyState === HTMLMediaElement.HAVE_NOTHING ? (mn(y), gr(l.slice(1), d)) : (Ss(y), Qt(
504
+ y.networkState === HTMLMediaElement.NETWORK_NO_SOURCE && y.readyState === HTMLMediaElement.HAVE_NOTHING ? (mn(y), gr(l.slice(1), f)) : (Ss(y), Qt(
505
505
  2
506
506
  /* VideoPlaying */
507
507
  ), y.play().then(() => {
508
508
  y.addEventListener(
509
509
  "ended",
510
510
  () => {
511
- gr(l.slice(1), d);
511
+ gr(l.slice(1), f);
512
512
  },
513
513
  { once: !0 }
514
514
  );
515
- }).catch((P) => {
516
- console.error("Video play failed", P), mn(y), gr(l.slice(1), d);
515
+ }).catch((N) => {
516
+ console.error("Video play failed", N), mn(y), gr(l.slice(1), f);
517
517
  }));
518
518
  }
519
519
  const Ts = "Sorry, this video cannot be played in this browser.";
520
520
  function mn(l) {
521
- const d = l.parentElement;
522
- if (d && d.getElementsByClassName("video-error-message").length === 0) {
523
- const b = d.ownerDocument.createElement("div");
524
- b.className = "video-error-message normal-style", b.textContent = Ts, b.style.display = "block", b.style.color = "black", b.style.backgroundColor = "rgba(255, 255, 255, 0.5)", b.style.position = "absolute", b.style.left = "10%", b.style.top = "10%", b.style.width = "80%", b.style.fontSize = "x-large", d.appendChild(b);
521
+ const f = l.parentElement;
522
+ if (f && f.getElementsByClassName("video-error-message").length === 0) {
523
+ const b = f.ownerDocument.createElement("div");
524
+ b.className = "video-error-message normal-style", b.textContent = Ts, b.style.display = "block", b.style.color = "black", b.style.backgroundColor = "rgba(255, 255, 255, 0.5)", b.style.position = "absolute", b.style.left = "10%", b.style.top = "10%", b.style.width = "80%", b.style.fontSize = "x-large", f.appendChild(b);
525
525
  }
526
526
  }
527
527
  function Ss(l) {
528
- const d = l.parentElement;
529
- if (d) {
530
- const y = d.getElementsByClassName("video-error-message");
531
- for (; y.length > 1; ) d.removeChild(y[0]);
528
+ const f = l.parentElement;
529
+ if (f) {
530
+ const y = f.getElementsByClassName("video-error-message");
531
+ for (; y.length > 1; ) f.removeChild(y[0]);
532
532
  }
533
533
  }
534
534
  const _r = ".bloom-textOverPicture, .bloom-canvas-element";
535
- let xi = [], Wr = /* @__PURE__ */ new Map(), vt, Ir, Fr = [];
535
+ let xi = [], Wr = /* @__PURE__ */ new Map(), vt, Hr, Fr = [];
536
536
  const Es = (l) => {
537
- Fr = [], l.querySelectorAll("[data-draggable-id]").forEach((d) => {
537
+ Fr = [], l.querySelectorAll("[data-draggable-id]").forEach((f) => {
538
538
  Fr.push({
539
- x: d.style.left,
540
- y: d.style.top,
541
- elt: d
539
+ x: f.style.left,
540
+ y: f.style.top,
541
+ elt: f
542
542
  });
543
543
  });
544
- }, In = () => {
544
+ }, Hn = () => {
545
545
  Fr.forEach((l) => {
546
546
  l.elt.style.left = l.x, l.elt.style.top = l.y, l.elt.classList.remove("bloom-draggedToTarget");
547
547
  });
@@ -549,22 +549,22 @@ const Es = (l) => {
549
549
  function Cs(l) {
550
550
  if (l.getAttribute("data-activity") !== "drag-letter-to-target")
551
551
  return;
552
- const d = Array.from(l.querySelectorAll("[data-draggable-id]"));
553
- d.shift(), d.forEach((y) => {
554
- var R;
555
- const b = !!((R = y.getElementsByClassName(
552
+ const f = Array.from(l.querySelectorAll("[data-draggable-id]"));
553
+ f.shift(), f.forEach((y) => {
554
+ var j;
555
+ const b = !!((j = y.getElementsByClassName(
556
556
  "bloom-visibility-code-on"
557
- )[0]) != null && R.innerText.trim());
557
+ )[0]) != null && j.innerText.trim());
558
558
  y.classList.toggle("bloom-unused-in-lang", !b);
559
- const P = Mi(y);
560
- P && P.classList.toggle("bloom-unused-in-lang", !b);
559
+ const N = Mi(y);
560
+ N && N.classList.toggle("bloom-unused-in-lang", !b);
561
561
  });
562
562
  }
563
563
  function On(l) {
564
564
  return l ? l.closest("#page-scaling-container") !== null : document.body.querySelector("div#page-scaling-container") !== null;
565
565
  }
566
- function Ks(l, d) {
567
- vt = l, Cs(l), Ir = d, to(
566
+ function Ks(l, f) {
567
+ vt = l, Cs(l), Hr = f, to(
568
568
  l.getAttribute("data-show-answers-in-targets") === "true",
569
569
  l
570
570
  ), Es(l), Array.from(
@@ -582,7 +582,7 @@ function Ks(l, d) {
582
582
  ), Array.from(l.getElementsByTagName("img")).forEach((se) => {
583
583
  se.setAttribute("draggable", "false");
584
584
  }), xi = [], Wr = /* @__PURE__ */ new Map();
585
- const b = Array.from(l.querySelectorAll("[data-draggable-id]")), P = [];
585
+ const b = Array.from(l.querySelectorAll("[data-draggable-id]")), N = [];
586
586
  b.forEach((se) => {
587
587
  const Re = se.getAttribute("data-draggable-id"), ne = l.querySelector(
588
588
  `[data-target-of="${Re}"]`
@@ -594,14 +594,14 @@ function Ks(l, d) {
594
594
  y: Me,
595
595
  width: ne.offsetWidth,
596
596
  height: ne.offsetHeight
597
- }), P.push(ne);
597
+ }), N.push(ne);
598
598
  }
599
599
  Wr.set(se, { x: se.offsetLeft, y: se.offsetTop }), se.style.touchAction = "none", se.addEventListener("pointerdown", Xn, { capture: !0 });
600
600
  }), Array.from(l.getElementsByTagName("video")).forEach((se) => {
601
601
  var Re;
602
602
  se.addEventListener("pointerdown", qn), (Re = se.closest(_r)) != null && Re.hasAttribute("data-draggable-id") && se.classList.add("bloom-ui-no-controls");
603
603
  });
604
- const F = b.concat(P);
604
+ const F = b.concat(N);
605
605
  Array.from(
606
606
  l.getElementsByClassName("bloom-visibility-code-on")
607
607
  ).filter((se) => {
@@ -610,16 +610,16 @@ function Ks(l, d) {
610
610
  }).forEach((se) => {
611
611
  se.addEventListener("pointerdown", jn);
612
612
  });
613
- const L = Array.from(
613
+ const A = Array.from(
614
614
  l.getElementsByClassName("check-button")
615
- ), I = Array.from(
615
+ ), H = Array.from(
616
616
  l.getElementsByClassName("try-again-button")
617
617
  ), Y = Array.from(
618
618
  l.getElementsByClassName("show-correct-button")
619
619
  );
620
- L.forEach((se) => {
620
+ A.forEach((se) => {
621
621
  se.addEventListener("click", Vn);
622
- }), I.forEach((se) => {
622
+ }), H.forEach((se) => {
623
623
  se.addEventListener("click", Un);
624
624
  }), Y.forEach((se) => {
625
625
  se.addEventListener("click", Fn);
@@ -629,162 +629,172 @@ function Ks(l, d) {
629
629
  }
630
630
  const ks = (l) => {
631
631
  Array.from(l.getElementsByClassName("drag-item-order-sentence")).forEach(
632
- (d) => {
633
- var B, L;
634
- const y = d.getElementsByClassName(
632
+ (f) => {
633
+ var B, A;
634
+ const y = f.getElementsByClassName(
635
635
  "bloom-content1"
636
636
  )[0], b = (B = y == null ? void 0 : y.textContent) == null ? void 0 : B.trim();
637
637
  if (!b) return;
638
- const P = b.split(" "), R = As(P), F = l.ownerDocument.createElement("div");
639
- F.classList.add("drag-item-random-sentence"), F.setAttribute("data-answer", b), _n(l, R, F, y, !0), F.style.left = d.style.left, F.style.top = d.style.top, F.style.width = d.parentElement.offsetWidth - d.offsetLeft - 10 + "px", (L = d.parentElement) == null || L.insertBefore(F, d);
638
+ const N = b.split(" "), j = As(N), F = l.ownerDocument.createElement("div");
639
+ F.classList.add("drag-item-random-sentence"), F.setAttribute("data-answer", b), _n(l, j, F, y, !0), F.style.left = f.style.left, F.style.top = f.style.top, F.style.width = f.parentElement.offsetWidth - f.offsetLeft - 10 + "px", (A = f.parentElement) == null || A.insertBefore(F, f);
640
640
  }
641
641
  );
642
642
  }, qn = (l) => {
643
643
  l.currentTarget.play();
644
644
  };
645
645
  function Js(l) {
646
- In(), Fr = [], Array.from(
646
+ Hn(), Fr = [], Array.from(
647
647
  l.getElementsByClassName("bloom-change-page-button")
648
648
  ).forEach(
649
- (L) => L.removeEventListener("click", Wn)
649
+ (A) => A.removeEventListener("click", Wn)
650
650
  ), Array.from(l.getElementsByClassName("bloom-visibility-code-on")).forEach(
651
- (L) => {
652
- L.removeEventListener("pointerdown", jn);
651
+ (A) => {
652
+ A.removeEventListener("pointerdown", jn);
653
653
  }
654
- ), l.querySelectorAll("[data-draggable-id]").forEach((L) => {
655
- L.removeEventListener("pointerdown", Xn, { capture: !0 });
656
- }), Array.from(l.getElementsByTagName("img")).forEach((L) => {
657
- L.removeAttribute("draggable");
658
- }), Array.from(l.getElementsByTagName("video")).forEach((L) => {
659
- L.removeEventListener("pointerdown", qn), L.classList.remove("bloom-ui-no-controls");
654
+ ), l.querySelectorAll("[data-draggable-id]").forEach((A) => {
655
+ A.removeEventListener("pointerdown", Xn, { capture: !0 });
656
+ }), Array.from(l.getElementsByTagName("img")).forEach((A) => {
657
+ A.removeAttribute("draggable");
658
+ }), Array.from(l.getElementsByTagName("video")).forEach((A) => {
659
+ A.removeEventListener("pointerdown", qn), A.classList.remove("bloom-ui-no-controls");
660
660
  });
661
661
  const b = Array.from(
662
662
  l.getElementsByClassName("check-button")
663
- ), P = Array.from(
663
+ ), N = Array.from(
664
664
  l.getElementsByClassName("try-again-button")
665
- ), R = Array.from(
665
+ ), j = Array.from(
666
666
  l.getElementsByClassName("show-correct-button")
667
667
  );
668
- b.forEach((L) => {
669
- L.removeEventListener("click", Vn);
670
- }), R.forEach((L) => {
671
- L.removeEventListener("click", Fn);
672
- }), P.forEach((L) => {
673
- L.removeEventListener("click", Un);
674
- }), Array.from(l.querySelectorAll("[data-sound]")).forEach((L) => {
675
- L.removeEventListener("click", Bn);
668
+ b.forEach((A) => {
669
+ A.removeEventListener("click", Vn);
670
+ }), j.forEach((A) => {
671
+ A.removeEventListener("click", Fn);
672
+ }), N.forEach((A) => {
673
+ A.removeEventListener("click", Un);
674
+ }), Array.from(l.querySelectorAll("[data-sound]")).forEach((A) => {
675
+ A.removeEventListener("click", Bn);
676
676
  }), Array.from(
677
677
  l.getElementsByClassName("drag-item-random-sentence")
678
- ).forEach((L) => {
679
- var I;
680
- (I = L.parentElement) == null || I.removeChild(L);
678
+ ).forEach((A) => {
679
+ var H;
680
+ (H = A.parentElement) == null || H.removeChild(A);
681
681
  });
682
682
  const B = l.closest(".swiper-slide") !== null;
683
683
  to(!B, l);
684
684
  }
685
685
  const Bn = (l) => {
686
- const d = l.currentTarget, y = d.getAttribute("data-sound");
687
- y && Gn(d, y), l.preventDefault(), l.stopPropagation();
686
+ const f = l.currentTarget, y = f.getAttribute("data-sound");
687
+ y && Gn(f, y), l.preventDefault(), l.stopPropagation();
688
688
  }, jn = (l) => {
689
- const d = l.currentTarget;
690
- Rn(d);
689
+ const f = l.currentTarget;
690
+ Rn(f);
691
691
  }, Rn = (l) => {
692
- const d = $r(l), y = zi(d);
692
+ const f = $r(l), y = zi(f);
693
693
  vr(y, l.closest(".bloom-page"));
694
694
  };
695
- function _n(l, d, y, b, P) {
695
+ function _n(l, f, y, b, N) {
696
696
  var F;
697
- const R = ((F = Array.from(b == null ? void 0 : b.classList)) == null ? void 0 : F.find((B) => B.endsWith("-style"))) ?? "Normal-style";
698
- d.forEach((B) => {
699
- const L = l.ownerDocument.createElement("div");
700
- L.classList.add("drag-item-order-word"), L.textContent = B, y.appendChild(L), L.classList.add(R), P && L.addEventListener("pointerdown", Ds);
697
+ const j = ((F = Array.from(b == null ? void 0 : b.classList)) == null ? void 0 : F.find((B) => B.endsWith("-style"))) ?? "Normal-style";
698
+ f.forEach((B) => {
699
+ const A = l.ownerDocument.createElement("div");
700
+ A.classList.add("drag-item-order-word"), A.textContent = B, y.appendChild(A), A.classList.add(j), N && A.addEventListener("pointerdown", Ds);
701
701
  });
702
702
  }
703
703
  function Wn(l) {
704
- const d = l.currentTarget.classList.contains(
704
+ const f = l.currentTarget.classList.contains(
705
705
  "bloom-next-page"
706
706
  );
707
- Ir == null || Ir(d);
707
+ Hr == null || Hr(f);
708
708
  }
709
- function Qs(l, d) {
710
- const y = (R) => {
711
- const F = R.closest(_r);
709
+ function Qs(l, f) {
710
+ const y = (j) => {
711
+ const F = j.closest(_r);
712
712
  return !(!F || F.classList.contains("draggable-text") || F.hasAttribute("data-draggable-id") || F.classList.contains("drag-item-order-sentence") || F.classList.contains("bloom-wordChoice") || F.classList.contains("drag-item-correct") || F.classList.contains("drag-item-wrong"));
713
- }, b = $r(l).filter(y), P = zi(b);
714
- if (d) {
715
- const R = Array.from(
713
+ }, b = $r(l).filter(y), N = zi(b);
714
+ if (f) {
715
+ const j = Array.from(
716
716
  l.getElementsByTagName("video")
717
717
  ).filter(y);
718
- gr(R, () => vr(P, l));
718
+ gr(j, () => vr(N, l));
719
719
  } else
720
- vr(P, l);
720
+ vr(N, l);
721
721
  }
722
722
  function zi(l) {
723
- const d = [];
723
+ const f = [];
724
724
  return l.forEach((y) => {
725
- y.classList.contains(Br) && d.push(y), d.push(
725
+ y.classList.contains(Br) && f.push(y), f.push(
726
726
  ...Array.from(
727
727
  y.getElementsByClassName(Br)
728
728
  )
729
729
  );
730
- }), d;
730
+ }), f;
731
731
  }
732
732
  function $r(l) {
733
- const d = Array.from(
733
+ const f = Array.from(
734
734
  l.getElementsByClassName("bloom-editable")
735
735
  ).filter(
736
736
  (y) => window.getComputedStyle(y).display !== "none"
737
737
  );
738
- return l.classList.contains("bloom-editable") && window.getComputedStyle(l).display !== "none" && d.push(l), d;
738
+ return l.classList.contains("bloom-editable") && window.getComputedStyle(l).display !== "none" && f.push(l), f;
739
739
  }
740
- function As(l, d) {
741
- d || (d = (B, L) => B === L);
740
+ function As(l, f) {
741
+ f || (f = (B, A) => B === A);
742
742
  let y = !0;
743
743
  for (let B = 1; B < l.length; ++B)
744
- if (!d(l[0], l[B])) {
744
+ if (!f(l[0], l[B])) {
745
745
  y = !1;
746
746
  break;
747
747
  }
748
748
  if (y) return l;
749
749
  const b = l.slice();
750
- let P = 0, R = b, F = 0;
750
+ let N = 0, j = b, F = 0;
751
751
  for (; F++ < 10; ) {
752
- let B = l.length, L;
752
+ let B = l.length, A;
753
753
  for (; B !== 0; )
754
- L = Math.floor(Math.random() * B), B--, [l[B], l[L]] = [
755
- l[L],
754
+ A = Math.floor(Math.random() * B), B--, [l[B], l[A]] = [
755
+ l[A],
756
756
  l[B]
757
757
  ];
758
- let I = 0;
758
+ let H = 0;
759
759
  for (let Y = 0; Y < l.length; ++Y)
760
- d(l[Y], b[Y]) || ++I;
761
- if (I === l.length) return l;
762
- I > P && (P = I, R = l.slice());
760
+ f(l[Y], b[Y]) || ++H;
761
+ if (H === l.length) return l;
762
+ H > N && (N = H, j = l.slice());
763
763
  }
764
- for (let B = 0; B < l.length; ++B) l[B] = R[B];
764
+ for (let B = 0; B < l.length; ++B) l[B] = j[B];
765
765
  return l;
766
766
  }
767
- function ea(l, d) {
768
- return l.innerText.trim() === d.innerText.trim();
767
+ function ea(l, f) {
768
+ return l.innerText.trim() === f.innerText.trim();
769
769
  }
770
770
  const Fn = (l) => {
771
- vt && (vt.querySelectorAll("[data-draggable-id]").forEach((d) => {
772
- const y = d.getAttribute("data-draggable-id"), b = vt == null ? void 0 : vt.querySelector(
771
+ vt && (vt.querySelectorAll("[data-draggable-id]").forEach((f) => {
772
+ const y = f.getAttribute("data-draggable-id"), b = vt == null ? void 0 : vt.querySelector(
773
773
  `[data-target-of="${y}"]`
774
774
  );
775
775
  if (!b)
776
776
  return;
777
- const P = b.offsetLeft + (b.offsetWidth - d.offsetWidth) / 2, R = b.offsetTop + (b.offsetHeight - d.offsetHeight) / 2;
778
- d.style.left = P + "px", d.style.top = R + "px";
777
+ let N = f.offsetWidth;
778
+ if (!N) {
779
+ const A = f.style.width.replace("px", "");
780
+ N = Number.parseInt(A, 10);
781
+ }
782
+ let j = f.offsetHeight;
783
+ if (!j) {
784
+ const A = f.style.height.replace("px", "");
785
+ j = Number.parseInt(A, 10);
786
+ }
787
+ const F = b.offsetLeft + (b.offsetWidth - N) / 2, B = b.offsetTop + (b.offsetHeight - j) / 2;
788
+ f.style.left = F + "px", f.style.top = B + "px";
779
789
  }), Array.from(
780
790
  vt.getElementsByClassName("drag-item-random-sentence")
781
- ).forEach((d) => {
782
- var P;
783
- const y = ((P = d.getAttribute("data-answer")) == null ? void 0 : P.split(" ")) ?? [], b = d.children[0];
784
- d.innerHTML = "", _n(
791
+ ).forEach((f) => {
792
+ var N;
793
+ const y = ((N = f.getAttribute("data-answer")) == null ? void 0 : N.split(" ")) ?? [], b = f.children[0];
794
+ f.innerHTML = "", _n(
785
795
  vt,
786
796
  y,
787
- d,
797
+ f,
788
798
  b,
789
799
  !1
790
800
  );
@@ -794,21 +804,21 @@ let Vr = 0, Ur = 0, Be, Ti = !1;
794
804
  const Gr = (l) => l.getBoundingClientRect().width / l.offsetWidth, Xn = (l) => {
795
805
  if (l.button !== 0 || l.ctrlKey) return;
796
806
  l.preventDefault();
797
- const d = l.currentTarget;
798
- Be = d;
799
- const y = d.closest(".bloom-page"), b = Gr(y);
800
- Vr = l.clientX / b - d.offsetLeft, Ur = l.clientY / b - d.offsetTop, d.setPointerCapture(l.pointerId), d.addEventListener("pointerup", $n), d.addEventListener("pointermove", Yn), Rn(d), d.classList.add("bloom-ui-dragging"), Be.classList.remove("bloom-draggedToTarget");
807
+ const f = l.currentTarget;
808
+ Be = f;
809
+ const y = f.closest(".bloom-page"), b = Gr(y);
810
+ Vr = l.clientX / b - f.offsetLeft, Ur = l.clientY / b - f.offsetTop, f.setPointerCapture(l.pointerId), f.addEventListener("pointerup", $n), f.addEventListener("pointermove", Yn), Rn(f), f.classList.add("bloom-ui-dragging"), Be.classList.remove("bloom-draggedToTarget");
801
811
  }, Yn = (l) => {
802
- const d = Be.closest(".bloom-page"), y = Gr(d);
812
+ const f = Be.closest(".bloom-page"), y = Gr(f);
803
813
  l.preventDefault();
804
- let b = l.clientX / y - Vr, P = l.clientY / y - Ur, R = Number.MAX_VALUE;
814
+ let b = l.clientX / y - Vr, N = l.clientY / y - Ur, j = Number.MAX_VALUE;
805
815
  Ti = !1;
806
- let F = b, B = P;
807
- for (const L of xi) {
808
- const I = (L.width - Be.offsetWidth) / 2, Y = (L.height - Be.offsetHeight) / 2, Le = L.x + I - b, se = L.y + Y - P, Re = Math.sqrt(Le * Le + se * se);
809
- Re < R && (R = Re, F = L.x + I, B = L.y + Y);
816
+ let F = b, B = N;
817
+ for (const A of xi) {
818
+ const H = (A.width - Be.offsetWidth) / 2, Y = (A.height - Be.offsetHeight) / 2, Le = A.x + H - b, se = A.y + Y - N, Re = Math.sqrt(Le * Le + se * se);
819
+ Re < j && (j = Re, F = A.x + H, B = A.y + Y);
810
820
  }
811
- R < 50 && (b = F, P = B, Ti = !0), Be.style.top = P + "px", Be.style.left = b + "px";
821
+ j < 50 && (b = F, N = B, Ti = !0), Be.style.top = N + "px", Be.style.left = b + "px";
812
822
  }, $n = (l) => {
813
823
  if (Ti)
814
824
  Be.classList.add("bloom-draggedToTarget");
@@ -817,53 +827,53 @@ const Gr = (l) => l.getBoundingClientRect().width / l.offsetWidth, Xn = (l) => {
817
827
  Be.style.top = (b == null ? void 0 : b.y) + "px", Be.style.left = (b == null ? void 0 : b.x) + "px", Be.classList.remove("bloom-draggedToTarget");
818
828
  }
819
829
  Be.classList.remove("bloom-ui-dragging"), Be.removeEventListener("pointerup", $n), Be.removeEventListener("pointermove", Yn);
820
- const d = Be.closest(".bloom-page");
821
- Array.from(d.querySelectorAll("[data-draggable-id]")).forEach((b) => {
830
+ const f = Be.closest(".bloom-page");
831
+ Array.from(f.querySelectorAll("[data-draggable-id]")).forEach((b) => {
822
832
  if (b !== Be && Si(b, Be)) {
823
- const P = Wr.get(b);
824
- P && (b.style.left = P.x + "px", b.style.top = P.y + "px", b.classList.remove("bloom-draggedToTarget"));
833
+ const N = Wr.get(b);
834
+ N && (b.style.left = N.x + "px", b.style.top = N.y + "px", b.classList.remove("bloom-draggedToTarget"));
825
835
  }
826
836
  });
827
837
  }, vn = (l) => {
828
- const d = $r(l);
829
- return Array.from(d).map((y) => y.textContent).join(" ");
830
- }, Si = (l, d) => {
831
- const y = l.offsetLeft, b = l.offsetTop, P = d.offsetLeft + (d.offsetWidth - l.offsetWidth) / 2, R = d.offsetTop + (d.offsetHeight - l.offsetHeight) / 2;
838
+ const f = $r(l);
839
+ return Array.from(f).map((y) => y.textContent).join(" ");
840
+ }, Si = (l, f) => {
841
+ const y = l.offsetLeft, b = l.offsetTop, N = f.offsetLeft + (f.offsetWidth - l.offsetWidth) / 2, j = f.offsetTop + (f.offsetHeight - l.offsetHeight) / 2;
832
842
  return (
833
843
  // At least a half-pixel error can occur just from centering the draggable in the target.
834
- Math.abs(P - y) < 0.6 && Math.abs(R - b) < 0.6
844
+ Math.abs(N - y) < 0.6 && Math.abs(j - b) < 0.6
835
845
  );
836
846
  }, Vn = (l) => {
837
847
  const y = l.currentTarget.closest(".bloom-page"), b = Ns(y) && Ps(y);
838
848
  return Ls(y, b), b;
839
849
  }, Un = (l) => {
840
850
  const y = l.currentTarget.closest(".bloom-page");
841
- Ut(y, "drag-activity-correct", !1), Ut(y, "drag-activity-wrong", !1), Ut(y, "drag-activity-solution", !1), In();
842
- }, Ut = (l, d, y) => {
843
- var b, P;
844
- y ? (b = l.parentElement) == null || b.classList.add(d) : (P = l.parentElement) == null || P.classList.remove(d);
851
+ Ut(y, "drag-activity-correct", !1), Ut(y, "drag-activity-wrong", !1), Ut(y, "drag-activity-solution", !1), Hn();
852
+ }, Ut = (l, f, y) => {
853
+ var b, N;
854
+ y ? (b = l.parentElement) == null || b.classList.add(f) : (N = l.parentElement) == null || N.classList.remove(f);
845
855
  };
846
856
  let tt, de;
847
- function Ls(l, d) {
848
- Ut(l, "drag-activity-correct", d), Ut(l, "drag-activity-wrong", !d);
857
+ function Ls(l, f) {
858
+ Ut(l, "drag-activity-correct", f), Ut(l, "drag-activity-wrong", !f);
849
859
  const y = l.getAttribute(
850
- d ? "data-correct-sound" : "data-wrong-sound"
860
+ f ? "data-correct-sound" : "data-wrong-sound"
851
861
  );
852
862
  y ? Gn(l, y) : (() => {
853
- const P = Array.from(
863
+ const N = Array.from(
854
864
  l.getElementsByClassName(
855
- d ? "drag-item-correct" : "drag-item-wrong"
865
+ f ? "drag-item-correct" : "drag-item-wrong"
856
866
  )
857
- ), R = [], F = [];
858
- P.forEach((L) => {
859
- R.push(...$r(L)), F.push(...Array.from(L.getElementsByTagName("video")));
867
+ ), j = [], F = [];
868
+ N.forEach((A) => {
869
+ j.push(...$r(A)), F.push(...Array.from(A.getElementsByTagName("video")));
860
870
  });
861
- const B = zi(R);
871
+ const B = zi(j);
862
872
  gr(F, () => vr(B, l));
863
873
  })();
864
874
  }
865
- function Gn(l, d) {
866
- const y = new Audio(Tn() + "/audio/" + d);
875
+ function Gn(l, f) {
876
+ const y = new Audio(Tn() + "/audio/" + f);
867
877
  On() && y.classList.add("bloom-ui"), y.style.visibility = "hidden", l.append(y), y.play(), y.addEventListener(
868
878
  "ended",
869
879
  () => {
@@ -873,61 +883,61 @@ function Gn(l, d) {
873
883
  );
874
884
  }
875
885
  function Ns(l) {
876
- let d = !0;
886
+ let f = !0;
877
887
  const y = Array.from(l.querySelectorAll("[data-draggable-id]"));
878
888
  return y.forEach((b) => {
879
- const P = b.getAttribute("data-draggable-id"), R = l.querySelector(
880
- `[data-target-of="${P}"]`
889
+ const N = b.getAttribute("data-draggable-id"), j = l.querySelector(
890
+ `[data-target-of="${N}"]`
881
891
  );
882
- if (R && !Si(b, R)) {
892
+ if (j && !Si(b, j)) {
883
893
  if (!Array.from(b.children).some(
884
894
  (B) => B.classList.contains("bloom-translationGroup")
885
895
  )) {
886
- d = !1;
896
+ f = !1;
887
897
  return;
888
898
  }
889
899
  const F = vn(b);
890
- y.some((B) => B === b || vn(B) !== F ? !1 : Si(B, R)) || (d = !1);
900
+ y.some((B) => B === b || vn(B) !== F ? !1 : Si(B, j)) || (f = !1);
891
901
  }
892
- }), d;
902
+ }), f;
893
903
  }
894
904
  let Xe, Ei = 0;
895
905
  const Zn = 5;
896
906
  function Ds(l) {
897
- var b, P;
907
+ var b, N;
898
908
  if (l.button !== 0 || l.ctrlKey) return;
899
909
  de = l.currentTarget, Ei = de.offsetWidth;
900
- const d = de.closest(".bloom-page"), y = Gr(d);
910
+ const f = de.closest(".bloom-page"), y = Gr(f);
901
911
  Vr = l.clientX / y - de.offsetLeft, Ur = l.clientY / y - de.offsetTop, tt = de.ownerDocument.createElement("div"), de.classList.forEach(
902
- (R) => tt.classList.add(R)
912
+ (j) => tt.classList.add(j)
903
913
  ), tt.textContent = de.textContent, tt.style.position = "absolute", tt.style.left = de.offsetLeft + "px", tt.style.top = de.offsetTop + "px", Xe = eo(de), Xe.style.width = Ei + Zn + "px", (b = de.parentElement) == null || b.insertBefore(
904
914
  Xe,
905
915
  de
906
- ), de.style.display = "none", de.setPointerCapture(l.pointerId), de.addEventListener("pointerup", Qn), de.addEventListener("pointermove", Jn), de.addEventListener("touchstart", Kn), (P = de.parentElement) == null || P.appendChild(tt);
916
+ ), de.style.display = "none", de.setPointerCapture(l.pointerId), de.addEventListener("pointerup", Qn), de.addEventListener("pointermove", Jn), de.addEventListener("touchstart", Kn), (N = de.parentElement) == null || N.appendChild(tt);
907
917
  }
908
918
  const Kn = (l) => {
909
919
  l.preventDefault();
910
920
  };
911
921
  let yn;
912
922
  const Jn = (l) => {
913
- const d = tt.closest(".bloom-page"), y = Gr(d);
923
+ const f = tt.closest(".bloom-page"), y = Gr(f);
914
924
  l.preventDefault();
915
- const b = l.clientX / y - Vr, P = l.clientY / y - Ur;
916
- if (tt.style.top = P + "px", tt.style.left = b + "px", Or)
925
+ const b = l.clientX / y - Vr, N = l.clientY / y - Ur;
926
+ if (tt.style.top = N + "px", tt.style.left = b + "px", Or)
917
927
  return;
918
- const R = de.parentElement, F = Array.from(R.children).find((B) => {
919
- const L = B.getBoundingClientRect();
920
- return B !== de && B !== Xe && B !== tt && l.clientX > L.left && l.clientX < L.right && l.clientY > L.top && l.clientY < L.bottom;
928
+ const j = de.parentElement, F = Array.from(j.children).find((B) => {
929
+ const A = B.getBoundingClientRect();
930
+ return B !== de && B !== Xe && B !== tt && l.clientX > A.left && l.clientX < A.right && l.clientY > A.top && l.clientY < A.bottom;
921
931
  });
922
932
  if (F && F !== yn) {
923
- const B = Array.from(R.children);
933
+ const B = Array.from(j.children);
924
934
  B.indexOf(F) > B.indexOf(Xe) ? vi(() => {
925
- R.insertBefore(
935
+ j.insertBefore(
926
936
  Xe,
927
937
  F.nextSibling
928
938
  );
929
939
  }) : vi(() => {
930
- R.insertBefore(Xe, F);
940
+ j.insertBefore(Xe, F);
931
941
  });
932
942
  } else {
933
943
  const B = Array.from(
@@ -936,14 +946,14 @@ const Jn = (l) => {
936
946
  )
937
947
  ).filter(
938
948
  (Y) => Y !== de && Y !== Xe && Y !== tt
939
- ), I = B[B.length - 1].getBoundingClientRect();
940
- (l.clientY > I.bottom || l.clientX > I.right && l.clientY > I.top) && vi(() => {
941
- R.appendChild(Xe);
949
+ ), H = B[B.length - 1].getBoundingClientRect();
950
+ (l.clientY > H.bottom || l.clientX > H.right && l.clientY > H.top) && vi(() => {
951
+ j.appendChild(Xe);
942
952
  });
943
953
  }
944
954
  yn = F;
945
955
  }, Qn = (l) => {
946
- var d, y, b;
956
+ var f, y, b;
947
957
  l.preventDefault(), de.style.visibility = "visible", de.removeEventListener(
948
958
  "pointerup",
949
959
  Qn
@@ -953,43 +963,43 @@ const Jn = (l) => {
953
963
  ), de.releasePointerCapture(l.pointerId), de.removeEventListener(
954
964
  "touchstart",
955
965
  Kn
956
- ), (d = tt.parentElement) == null || d.removeChild(tt), (y = de.parentElement) == null || y.insertBefore(
966
+ ), (f = tt.parentElement) == null || f.removeChild(tt), (y = de.parentElement) == null || y.insertBefore(
957
967
  de,
958
968
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
959
969
  Xe
960
970
  ), (b = de.parentElement) == null || b.removeChild(Xe), Xe = void 0, de.style.display = "";
961
971
  };
962
972
  function eo(l) {
963
- const d = l.cloneNode(!0);
964
- return d.style.overflowX = "hidden", d.style.marginRight = "0", d.style.paddingLeft = "0", d.style.paddingRight = "0", d.style.display = "", d.style.visibility = "hidden", d;
973
+ const f = l.cloneNode(!0);
974
+ return f.style.overflowX = "hidden", f.style.marginRight = "0", f.style.paddingLeft = "0", f.style.paddingRight = "0", f.style.display = "", f.style.visibility = "hidden", f;
965
975
  }
966
976
  let Or = !1;
967
977
  function vi(l) {
968
978
  Or = !0;
969
- const d = 200, y = de.parentElement, b = eo(de);
979
+ const f = 200, y = de.parentElement, b = eo(de);
970
980
  y.insertBefore(b, Xe), l();
971
- const P = Date.now(), R = () => {
972
- const F = Date.now() - P, B = Math.min(F / d, 1), L = Ei + Zn;
981
+ const N = Date.now(), j = () => {
982
+ const F = Date.now() - N, B = Math.min(F / f, 1), A = Ei + Zn;
973
983
  if (!Xe) {
974
984
  y.removeChild(b), Or = !1;
975
985
  return;
976
986
  }
977
- Xe.style.width = L * B + "px", b.style.width = L * (1 - B) + "px", B < 1 ? requestAnimationFrame(R) : (y.removeChild(b), Xe.style.width = L + "px", Or = !1);
987
+ Xe.style.width = A * B + "px", b.style.width = A * (1 - B) + "px", B < 1 ? requestAnimationFrame(j) : (y.removeChild(b), Xe.style.width = A + "px", Or = !1);
978
988
  };
979
- requestAnimationFrame(R);
989
+ requestAnimationFrame(j);
980
990
  }
981
991
  function Ps(l) {
982
- const d = l.getElementsByClassName("drag-item-random-sentence");
983
- for (let y = 0; y < d.length; y++) {
984
- const b = d[y], P = b.getAttribute("data-answer").split(" "), R = Array.from(b.children);
985
- for (let F = 0; F < R.length; F++)
986
- if (R[F].textContent !== P[F])
992
+ const f = l.getElementsByClassName("drag-item-random-sentence");
993
+ for (let y = 0; y < f.length; y++) {
994
+ const b = f[y], N = b.getAttribute("data-answer").split(" "), j = Array.from(b.children);
995
+ for (let F = 0; F < j.length; F++)
996
+ if (j[F].textContent !== N[F])
987
997
  return !1;
988
998
  }
989
999
  return !0;
990
1000
  }
991
- const to = (l, d) => {
992
- const y = Array.from(d.querySelectorAll("[data-draggable-id]"));
1001
+ const to = (l, f) => {
1002
+ const y = Array.from(f.querySelectorAll("[data-draggable-id]"));
993
1003
  l ? y.forEach((b) => {
994
1004
  zs(b);
995
1005
  }) : y.forEach((b) => {
@@ -997,26 +1007,26 @@ const to = (l, d) => {
997
1007
  });
998
1008
  };
999
1009
  function zs(l) {
1000
- const d = Mi(l);
1001
- if (!d)
1010
+ const f = Mi(l);
1011
+ if (!f)
1002
1012
  return;
1003
- let y = d.ownerDocument.createElement("div");
1004
- y.innerHTML = l.innerHTML, Array.from(y.getElementsByClassName("bloom-ui")).forEach((P) => {
1005
- P.remove();
1013
+ let y = f.ownerDocument.createElement("div");
1014
+ y.innerHTML = l.innerHTML, Array.from(y.getElementsByClassName("bloom-ui")).forEach((N) => {
1015
+ N.remove();
1006
1016
  }), Array.from(y.getElementsByClassName("imageOverlayButton")).forEach(
1007
- (P) => {
1008
- P.remove();
1017
+ (N) => {
1018
+ N.remove();
1009
1019
  }
1010
- ), Array.from(y.getElementsByClassName("imageButton")).forEach((P) => {
1011
- P.remove();
1012
- }), Array.from(y.querySelectorAll("[id]")).forEach((P) => {
1013
- P.removeAttribute("id");
1014
- }), Array.from(y.getElementsByClassName("hoverUp")).forEach((P) => {
1015
- P.classList.remove("hoverUp");
1016
- }), Array.from(y.querySelectorAll("[contenteditable]")).forEach((P) => {
1017
- P.removeAttribute("contenteditable");
1018
- }), Array.from(y.querySelectorAll("[tabindex]")).forEach((P) => {
1019
- P.removeAttribute("tabindex");
1020
+ ), Array.from(y.getElementsByClassName("imageButton")).forEach((N) => {
1021
+ N.remove();
1022
+ }), Array.from(y.querySelectorAll("[id]")).forEach((N) => {
1023
+ N.removeAttribute("id");
1024
+ }), Array.from(y.getElementsByClassName("hoverUp")).forEach((N) => {
1025
+ N.classList.remove("hoverUp");
1026
+ }), Array.from(y.querySelectorAll("[contenteditable]")).forEach((N) => {
1027
+ N.removeAttribute("contenteditable");
1028
+ }), Array.from(y.querySelectorAll("[tabindex]")).forEach((N) => {
1029
+ N.removeAttribute("tabindex");
1020
1030
  });
1021
1031
  let b = y.getElementsByClassName(
1022
1032
  "bloom-canvas"
@@ -1024,27 +1034,27 @@ function zs(l) {
1024
1034
  if (b || (b = y.getElementsByClassName(
1025
1035
  "bloom-imageContainer"
1026
1036
  )[0]), b) {
1027
- const P = y;
1028
- y = d.ownerDocument.createElement("div"), y.appendChild(P), P.classList.add("bloom-targetWrapper"), b.style.width = l.style.width, b.style.height = l.style.height;
1037
+ const N = y;
1038
+ y = f.ownerDocument.createElement("div"), y.appendChild(N), N.classList.add("bloom-targetWrapper"), b.style.width = l.style.width, b.style.height = l.style.height;
1029
1039
  }
1030
- d.innerHTML !== y.innerHTML && (d.innerHTML = y.innerHTML);
1040
+ f.innerHTML !== y.innerHTML && (f.innerHTML = y.innerHTML);
1031
1041
  }
1032
1042
  const Mi = (l) => {
1033
- const d = l.getAttribute("data-draggable-id");
1034
- if (d)
1043
+ const f = l.getAttribute("data-draggable-id");
1044
+ if (f)
1035
1045
  return l.ownerDocument.querySelector(
1036
- `[data-target-of="${d}"]`
1046
+ `[data-target-of="${f}"]`
1037
1047
  );
1038
1048
  };
1039
1049
  function Ms(l) {
1040
- const d = Mi(l);
1041
- d && (d.innerHTML = "");
1050
+ const f = Mi(l);
1051
+ f && (f.innerHTML = "");
1042
1052
  }
1043
1053
  let ta = !1;
1044
1054
  function ra(l) {
1045
1055
  }
1046
- var Hs = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
1047
- function Is(l) {
1056
+ var Is = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
1057
+ function Hs(l) {
1048
1058
  return l && l.__esModule && Object.prototype.hasOwnProperty.call(l, "default") ? l.default : l;
1049
1059
  }
1050
1060
  var ro = { exports: {} };
@@ -1062,22 +1072,22 @@ var ro = { exports: {} };
1062
1072
  * Date: 2020-05-04T22:49Z
1063
1073
  */
1064
1074
  (function(l) {
1065
- (function(d, y) {
1066
- l.exports = d.document ? y(d, !0) : function(b) {
1075
+ (function(f, y) {
1076
+ l.exports = f.document ? y(f, !0) : function(b) {
1067
1077
  if (!b.document)
1068
1078
  throw new Error("jQuery requires a window with a document");
1069
1079
  return y(b);
1070
1080
  };
1071
- })(typeof window < "u" ? window : Hs, function(d, y) {
1072
- var b = [], P = Object.getPrototypeOf, R = b.slice, F = b.flat ? function(t) {
1081
+ })(typeof window < "u" ? window : Is, function(f, y) {
1082
+ var b = [], N = Object.getPrototypeOf, j = b.slice, F = b.flat ? function(t) {
1073
1083
  return b.flat.call(t);
1074
1084
  } : function(t) {
1075
1085
  return b.concat.apply([], t);
1076
- }, B = b.push, L = b.indexOf, I = {}, Y = I.toString, Le = I.hasOwnProperty, se = Le.toString, Re = se.call(Object), ne = {}, Q = function(r) {
1086
+ }, B = b.push, A = b.indexOf, H = {}, Y = H.toString, Le = H.hasOwnProperty, se = Le.toString, Re = se.call(Object), ne = {}, Q = function(r) {
1077
1087
  return typeof r == "function" && typeof r.nodeType != "number";
1078
1088
  }, Me = function(r) {
1079
1089
  return r != null && r === r.window;
1080
- }, ee = d.document, pe = {
1090
+ }, ee = f.document, pe = {
1081
1091
  type: !0,
1082
1092
  src: !0,
1083
1093
  nonce: !0,
@@ -1092,7 +1102,7 @@ var ro = { exports: {} };
1092
1102
  i.head.appendChild(a).parentNode.removeChild(a);
1093
1103
  }
1094
1104
  function Ge(t) {
1095
- return t == null ? t + "" : typeof t == "object" || typeof t == "function" ? I[Y.call(t)] || "object" : typeof t;
1105
+ return t == null ? t + "" : typeof t == "object" || typeof t == "function" ? H[Y.call(t)] || "object" : typeof t;
1096
1106
  }
1097
1107
  var Ot = "3.5.1", o = function(t, r) {
1098
1108
  return new o.fn.init(t, r);
@@ -1104,12 +1114,12 @@ var ro = { exports: {} };
1104
1114
  // The default length of a jQuery object is 0
1105
1115
  length: 0,
1106
1116
  toArray: function() {
1107
- return R.call(this);
1117
+ return j.call(this);
1108
1118
  },
1109
1119
  // Get the Nth element in the matched element set OR
1110
1120
  // Get the whole matched element set as a clean array
1111
1121
  get: function(t) {
1112
- return t == null ? R.call(this) : t < 0 ? this[t + this.length] : this[t];
1122
+ return t == null ? j.call(this) : t < 0 ? this[t + this.length] : this[t];
1113
1123
  },
1114
1124
  // Take an array of elements and push it onto the stack
1115
1125
  // (returning the new matched element set)
@@ -1127,7 +1137,7 @@ var ro = { exports: {} };
1127
1137
  }));
1128
1138
  },
1129
1139
  slice: function() {
1130
- return this.pushStack(R.apply(this, arguments));
1140
+ return this.pushStack(j.apply(this, arguments));
1131
1141
  },
1132
1142
  first: function() {
1133
1143
  return this.eq(0);
@@ -1176,7 +1186,7 @@ var ro = { exports: {} };
1176
1186
  },
1177
1187
  isPlainObject: function(t) {
1178
1188
  var r, i;
1179
- return !t || Y.call(t) !== "[object Object]" ? !1 : (r = P(t), r ? (i = Le.call(r, "constructor") && r.constructor, typeof i == "function" && se.call(i) === Re) : !0);
1189
+ return !t || Y.call(t) !== "[object Object]" ? !1 : (r = N(t), r ? (i = Le.call(r, "constructor") && r.constructor, typeof i == "function" && se.call(i) === Re) : !0);
1180
1190
  },
1181
1191
  isEmptyObject: function(t) {
1182
1192
  var r;
@@ -1209,7 +1219,7 @@ var ro = { exports: {} };
1209
1219
  ) : B.call(i, t)), i;
1210
1220
  },
1211
1221
  inArray: function(t, r, i) {
1212
- return r == null ? -1 : L.call(r, t, i);
1222
+ return r == null ? -1 : A.call(r, t, i);
1213
1223
  },
1214
1224
  // Support: Android <=4.0 only, PhantomJS 1 only
1215
1225
  // push.apply(_, arraylike) throws on ancient WebKit
@@ -1242,7 +1252,7 @@ var ro = { exports: {} };
1242
1252
  }), typeof Symbol == "function" && (o.fn[Symbol.iterator] = b[Symbol.iterator]), o.each(
1243
1253
  "Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),
1244
1254
  function(t, r) {
1245
- I["[object " + r + "]"] = r.toLowerCase();
1255
+ H["[object " + r + "]"] = r.toLowerCase();
1246
1256
  }
1247
1257
  );
1248
1258
  function qt(t) {
@@ -1261,11 +1271,11 @@ var ro = { exports: {} };
1261
1271
  * Date: 2020-03-14
1262
1272
  */
1263
1273
  function(t) {
1264
- var r, i, n, s, a, c, m, v, T, A, q, C, D, V, ae, U, Ie, ze, ot, ve = "sizzle" + 1 * /* @__PURE__ */ new Date(), oe = t.document, Qe = 0, he = 0, Ce = Lr(), cr = Lr(), Cr = Lr(), st = Lr(), Wt = function(f, g) {
1265
- return f === g && (q = !0), 0;
1266
- }, Ft = {}.hasOwnProperty, et = [], Dt = et.pop, ct = et.push, Pt = et.push, sn = et.slice, Xt = function(f, g) {
1267
- for (var w = 0, z = f.length; w < z; w++)
1268
- if (f[w] === g)
1274
+ var r, i, n, s, a, c, m, v, T, L, q, C, P, V, ae, U, He, ze, ot, ve = "sizzle" + 1 * /* @__PURE__ */ new Date(), oe = t.document, Qe = 0, he = 0, Ce = Lr(), cr = Lr(), Cr = Lr(), st = Lr(), Wt = function(d, g) {
1275
+ return d === g && (q = !0), 0;
1276
+ }, Ft = {}.hasOwnProperty, et = [], Dt = et.pop, ct = et.push, Pt = et.push, sn = et.slice, Xt = function(d, g) {
1277
+ for (var w = 0, z = d.length; w < z; w++)
1278
+ if (d[w] === g)
1269
1279
  return w;
1270
1280
  return -1;
1271
1281
  }, li = "checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped", me = "[\\x20\\t\\r\\n\\f]", Yt = "(?:\\\\[\\da-fA-F]{1,6}" + me + "?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+", an = "\\[" + me + "*(" + Yt + ")(?:" + me + // Operator (capture 2)
@@ -1282,20 +1292,20 @@ var ro = { exports: {} };
1282
1292
  // For use in libraries implementing .is()
1283
1293
  // We use this for POS matching in `select`
1284
1294
  needsContext: new RegExp("^" + me + "*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\(" + me + "*((?:-\\d)?\\d*)" + me + "*\\)|)(?=[^-]|$)", "i")
1285
- }, _o = /HTML$/i, Wo = /^(?:input|select|textarea|button)$/i, Fo = /^h\d$/i, ur = /^[^{]+\{\s*\[native \w/, Xo = /^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/, ui = /[+~]/, St = new RegExp("\\\\[\\da-fA-F]{1,6}" + me + "?|\\\\([^\\r\\n\\f])", "g"), Et = function(f, g) {
1286
- var w = "0x" + f.slice(1) - 65536;
1295
+ }, _o = /HTML$/i, Wo = /^(?:input|select|textarea|button)$/i, Fo = /^h\d$/i, ur = /^[^{]+\{\s*\[native \w/, Xo = /^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/, ui = /[+~]/, St = new RegExp("\\\\[\\da-fA-F]{1,6}" + me + "?|\\\\([^\\r\\n\\f])", "g"), Et = function(d, g) {
1296
+ var w = "0x" + d.slice(1) - 65536;
1287
1297
  return g || // Replace a hexadecimal escape sequence with the encoded Unicode code point
1288
1298
  // Support: IE <=11+
1289
1299
  // For values outside the Basic Multilingual Plane (BMP), manually construct a
1290
1300
  // surrogate pair
1291
1301
  (w < 0 ? String.fromCharCode(w + 65536) : String.fromCharCode(w >> 10 | 55296, w & 1023 | 56320));
1292
- }, cn = /([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g, un = function(f, g) {
1293
- return g ? f === "\0" ? "�" : f.slice(0, -1) + "\\" + f.charCodeAt(f.length - 1).toString(16) + " " : "\\" + f;
1302
+ }, cn = /([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g, un = function(d, g) {
1303
+ return g ? d === "\0" ? "�" : d.slice(0, -1) + "\\" + d.charCodeAt(d.length - 1).toString(16) + " " : "\\" + d;
1294
1304
  }, fn = function() {
1295
1305
  C();
1296
1306
  }, Yo = Dr(
1297
- function(f) {
1298
- return f.disabled === !0 && f.nodeName.toLowerCase() === "fieldset";
1307
+ function(d) {
1308
+ return d.disabled === !0 && d.nodeName.toLowerCase() === "fieldset";
1299
1309
  },
1300
1310
  { dir: "parentNode", next: "legend" }
1301
1311
  );
@@ -1322,12 +1332,12 @@ var ro = { exports: {} };
1322
1332
  )
1323
1333
  };
1324
1334
  }
1325
- function we(f, g, w, z) {
1326
- var S, H, O, _, X, te, K, ie = g && g.ownerDocument, ue = g ? g.nodeType : 9;
1327
- if (w = w || [], typeof f != "string" || !f || ue !== 1 && ue !== 9 && ue !== 11)
1335
+ function we(d, g, w, z) {
1336
+ var S, I, O, _, X, te, K, ie = g && g.ownerDocument, ue = g ? g.nodeType : 9;
1337
+ if (w = w || [], typeof d != "string" || !d || ue !== 1 && ue !== 9 && ue !== 11)
1328
1338
  return w;
1329
- if (!z && (C(g), g = g || D, ae)) {
1330
- if (ue !== 11 && (X = Xo.exec(f)))
1339
+ if (!z && (C(g), g = g || P, ae)) {
1340
+ if (ue !== 11 && (X = Xo.exec(d)))
1331
1341
  if (S = X[1]) {
1332
1342
  if (ue === 9)
1333
1343
  if (O = g.getElementById(S)) {
@@ -1339,16 +1349,16 @@ var ro = { exports: {} };
1339
1349
  return w.push(O), w;
1340
1350
  } else {
1341
1351
  if (X[2])
1342
- return Pt.apply(w, g.getElementsByTagName(f)), w;
1352
+ return Pt.apply(w, g.getElementsByTagName(d)), w;
1343
1353
  if ((S = X[3]) && i.getElementsByClassName && g.getElementsByClassName)
1344
1354
  return Pt.apply(w, g.getElementsByClassName(S)), w;
1345
1355
  }
1346
- if (i.qsa && !st[f + " "] && (!U || !U.test(f)) && // Support: IE 8 only
1356
+ if (i.qsa && !st[d + " "] && (!U || !U.test(d)) && // Support: IE 8 only
1347
1357
  // Exclude object elements
1348
1358
  (ue !== 1 || g.nodeName.toLowerCase() !== "object")) {
1349
- if (K = f, ie = g, ue === 1 && (Bo.test(f) || ln.test(f))) {
1350
- for (ie = ui.test(f) && di(g.parentNode) || g, (ie !== g || !i.scope) && ((_ = g.getAttribute("id")) ? _ = _.replace(cn, un) : g.setAttribute("id", _ = ve)), te = c(f), H = te.length; H--; )
1351
- te[H] = (_ ? "#" + _ : ":scope") + " " + Nr(te[H]);
1359
+ if (K = d, ie = g, ue === 1 && (Bo.test(d) || ln.test(d))) {
1360
+ for (ie = ui.test(d) && di(g.parentNode) || g, (ie !== g || !i.scope) && ((_ = g.getAttribute("id")) ? _ = _.replace(cn, un) : g.setAttribute("id", _ = ve)), te = c(d), I = te.length; I--; )
1361
+ te[I] = (_ ? "#" + _ : ":scope") + " " + Nr(te[I]);
1352
1362
  K = te.join(",");
1353
1363
  }
1354
1364
  try {
@@ -1357,40 +1367,40 @@ var ro = { exports: {} };
1357
1367
  ie.querySelectorAll(K)
1358
1368
  ), w;
1359
1369
  } catch {
1360
- st(f, !0);
1370
+ st(d, !0);
1361
1371
  } finally {
1362
1372
  _ === ve && g.removeAttribute("id");
1363
1373
  }
1364
1374
  }
1365
1375
  }
1366
- return v(f.replace(kr, "$1"), g, w, z);
1376
+ return v(d.replace(kr, "$1"), g, w, z);
1367
1377
  }
1368
1378
  function Lr() {
1369
- var f = [];
1379
+ var d = [];
1370
1380
  function g(w, z) {
1371
- return f.push(w + " ") > n.cacheLength && delete g[f.shift()], g[w + " "] = z;
1381
+ return d.push(w + " ") > n.cacheLength && delete g[d.shift()], g[w + " "] = z;
1372
1382
  }
1373
1383
  return g;
1374
1384
  }
1375
- function dt(f) {
1376
- return f[ve] = !0, f;
1385
+ function dt(d) {
1386
+ return d[ve] = !0, d;
1377
1387
  }
1378
- function ht(f) {
1379
- var g = D.createElement("fieldset");
1388
+ function ht(d) {
1389
+ var g = P.createElement("fieldset");
1380
1390
  try {
1381
- return !!f(g);
1391
+ return !!d(g);
1382
1392
  } catch {
1383
1393
  return !1;
1384
1394
  } finally {
1385
1395
  g.parentNode && g.parentNode.removeChild(g), g = null;
1386
1396
  }
1387
1397
  }
1388
- function fi(f, g) {
1389
- for (var w = f.split("|"), z = w.length; z--; )
1398
+ function fi(d, g) {
1399
+ for (var w = d.split("|"), z = w.length; z--; )
1390
1400
  n.attrHandle[w[z]] = g;
1391
1401
  }
1392
- function dn(f, g) {
1393
- var w = g && f, z = w && f.nodeType === 1 && g.nodeType === 1 && f.sourceIndex - g.sourceIndex;
1402
+ function dn(d, g) {
1403
+ var w = g && d, z = w && d.nodeType === 1 && g.nodeType === 1 && d.sourceIndex - g.sourceIndex;
1394
1404
  if (z)
1395
1405
  return z;
1396
1406
  if (w) {
@@ -1398,136 +1408,136 @@ var ro = { exports: {} };
1398
1408
  if (w === g)
1399
1409
  return -1;
1400
1410
  }
1401
- return f ? 1 : -1;
1411
+ return d ? 1 : -1;
1402
1412
  }
1403
- function $o(f) {
1413
+ function $o(d) {
1404
1414
  return function(g) {
1405
1415
  var w = g.nodeName.toLowerCase();
1406
- return w === "input" && g.type === f;
1416
+ return w === "input" && g.type === d;
1407
1417
  };
1408
1418
  }
1409
- function Vo(f) {
1419
+ function Vo(d) {
1410
1420
  return function(g) {
1411
1421
  var w = g.nodeName.toLowerCase();
1412
- return (w === "input" || w === "button") && g.type === f;
1422
+ return (w === "input" || w === "button") && g.type === d;
1413
1423
  };
1414
1424
  }
1415
- function hn(f) {
1425
+ function hn(d) {
1416
1426
  return function(g) {
1417
- return "form" in g ? g.parentNode && g.disabled === !1 ? "label" in g ? "label" in g.parentNode ? g.parentNode.disabled === f : g.disabled === f : g.isDisabled === f || // Where there is no isDisabled, check manually
1427
+ return "form" in g ? g.parentNode && g.disabled === !1 ? "label" in g ? "label" in g.parentNode ? g.parentNode.disabled === d : g.disabled === d : g.isDisabled === d || // Where there is no isDisabled, check manually
1418
1428
  /* jshint -W018 */
1419
- g.isDisabled !== !f && Yo(g) === f : g.disabled === f : "label" in g ? g.disabled === f : !1;
1429
+ g.isDisabled !== !d && Yo(g) === d : g.disabled === d : "label" in g ? g.disabled === d : !1;
1420
1430
  };
1421
1431
  }
1422
- function $t(f) {
1432
+ function $t(d) {
1423
1433
  return dt(function(g) {
1424
1434
  return g = +g, dt(function(w, z) {
1425
- for (var S, H = f([], w.length, g), O = H.length; O--; )
1426
- w[S = H[O]] && (w[S] = !(z[S] = w[S]));
1435
+ for (var S, I = d([], w.length, g), O = I.length; O--; )
1436
+ w[S = I[O]] && (w[S] = !(z[S] = w[S]));
1427
1437
  });
1428
1438
  });
1429
1439
  }
1430
- function di(f) {
1431
- return f && typeof f.getElementsByTagName < "u" && f;
1440
+ function di(d) {
1441
+ return d && typeof d.getElementsByTagName < "u" && d;
1432
1442
  }
1433
- i = we.support = {}, a = we.isXML = function(f) {
1434
- var g = f.namespaceURI, w = (f.ownerDocument || f).documentElement;
1443
+ i = we.support = {}, a = we.isXML = function(d) {
1444
+ var g = d.namespaceURI, w = (d.ownerDocument || d).documentElement;
1435
1445
  return !_o.test(g || w && w.nodeName || "HTML");
1436
- }, C = we.setDocument = function(f) {
1437
- var g, w, z = f ? f.ownerDocument || f : oe;
1438
- return z == D || z.nodeType !== 9 || !z.documentElement || (D = z, V = D.documentElement, ae = !a(D), oe != D && (w = D.defaultView) && w.top !== w && (w.addEventListener ? w.addEventListener("unload", fn, !1) : w.attachEvent && w.attachEvent("onunload", fn)), i.scope = ht(function(S) {
1439
- return V.appendChild(S).appendChild(D.createElement("div")), typeof S.querySelectorAll < "u" && !S.querySelectorAll(":scope fieldset div").length;
1446
+ }, C = we.setDocument = function(d) {
1447
+ var g, w, z = d ? d.ownerDocument || d : oe;
1448
+ return z == P || z.nodeType !== 9 || !z.documentElement || (P = z, V = P.documentElement, ae = !a(P), oe != P && (w = P.defaultView) && w.top !== w && (w.addEventListener ? w.addEventListener("unload", fn, !1) : w.attachEvent && w.attachEvent("onunload", fn)), i.scope = ht(function(S) {
1449
+ return V.appendChild(S).appendChild(P.createElement("div")), typeof S.querySelectorAll < "u" && !S.querySelectorAll(":scope fieldset div").length;
1440
1450
  }), i.attributes = ht(function(S) {
1441
1451
  return S.className = "i", !S.getAttribute("className");
1442
1452
  }), i.getElementsByTagName = ht(function(S) {
1443
- return S.appendChild(D.createComment("")), !S.getElementsByTagName("*").length;
1444
- }), i.getElementsByClassName = ur.test(D.getElementsByClassName), i.getById = ht(function(S) {
1445
- return V.appendChild(S).id = ve, !D.getElementsByName || !D.getElementsByName(ve).length;
1453
+ return S.appendChild(P.createComment("")), !S.getElementsByTagName("*").length;
1454
+ }), i.getElementsByClassName = ur.test(P.getElementsByClassName), i.getById = ht(function(S) {
1455
+ return V.appendChild(S).id = ve, !P.getElementsByName || !P.getElementsByName(ve).length;
1446
1456
  }), i.getById ? (n.filter.ID = function(S) {
1447
- var H = S.replace(St, Et);
1457
+ var I = S.replace(St, Et);
1448
1458
  return function(O) {
1449
- return O.getAttribute("id") === H;
1459
+ return O.getAttribute("id") === I;
1450
1460
  };
1451
- }, n.find.ID = function(S, H) {
1452
- if (typeof H.getElementById < "u" && ae) {
1453
- var O = H.getElementById(S);
1461
+ }, n.find.ID = function(S, I) {
1462
+ if (typeof I.getElementById < "u" && ae) {
1463
+ var O = I.getElementById(S);
1454
1464
  return O ? [O] : [];
1455
1465
  }
1456
1466
  }) : (n.filter.ID = function(S) {
1457
- var H = S.replace(St, Et);
1467
+ var I = S.replace(St, Et);
1458
1468
  return function(O) {
1459
1469
  var _ = typeof O.getAttributeNode < "u" && O.getAttributeNode("id");
1460
- return _ && _.value === H;
1470
+ return _ && _.value === I;
1461
1471
  };
1462
- }, n.find.ID = function(S, H) {
1463
- if (typeof H.getElementById < "u" && ae) {
1464
- var O, _, X, te = H.getElementById(S);
1472
+ }, n.find.ID = function(S, I) {
1473
+ if (typeof I.getElementById < "u" && ae) {
1474
+ var O, _, X, te = I.getElementById(S);
1465
1475
  if (te) {
1466
1476
  if (O = te.getAttributeNode("id"), O && O.value === S)
1467
1477
  return [te];
1468
- for (X = H.getElementsByName(S), _ = 0; te = X[_++]; )
1478
+ for (X = I.getElementsByName(S), _ = 0; te = X[_++]; )
1469
1479
  if (O = te.getAttributeNode("id"), O && O.value === S)
1470
1480
  return [te];
1471
1481
  }
1472
1482
  return [];
1473
1483
  }
1474
- }), n.find.TAG = i.getElementsByTagName ? function(S, H) {
1475
- if (typeof H.getElementsByTagName < "u")
1476
- return H.getElementsByTagName(S);
1484
+ }), n.find.TAG = i.getElementsByTagName ? function(S, I) {
1485
+ if (typeof I.getElementsByTagName < "u")
1486
+ return I.getElementsByTagName(S);
1477
1487
  if (i.qsa)
1478
- return H.querySelectorAll(S);
1479
- } : function(S, H) {
1480
- var O, _ = [], X = 0, te = H.getElementsByTagName(S);
1488
+ return I.querySelectorAll(S);
1489
+ } : function(S, I) {
1490
+ var O, _ = [], X = 0, te = I.getElementsByTagName(S);
1481
1491
  if (S === "*") {
1482
1492
  for (; O = te[X++]; )
1483
1493
  O.nodeType === 1 && _.push(O);
1484
1494
  return _;
1485
1495
  }
1486
1496
  return te;
1487
- }, n.find.CLASS = i.getElementsByClassName && function(S, H) {
1488
- if (typeof H.getElementsByClassName < "u" && ae)
1489
- return H.getElementsByClassName(S);
1490
- }, Ie = [], U = [], (i.qsa = ur.test(D.querySelectorAll)) && (ht(function(S) {
1491
- var H;
1492
- V.appendChild(S).innerHTML = "<a id='" + ve + "'></a><select id='" + ve + "-\r\\' msallowcapture=''><option selected=''></option></select>", S.querySelectorAll("[msallowcapture^='']").length && U.push("[*^$]=" + me + `*(?:''|"")`), S.querySelectorAll("[selected]").length || U.push("\\[" + me + "*(?:value|" + li + ")"), S.querySelectorAll("[id~=" + ve + "-]").length || U.push("~="), H = D.createElement("input"), H.setAttribute("name", ""), S.appendChild(H), S.querySelectorAll("[name='']").length || U.push("\\[" + me + "*name" + me + "*=" + me + `*(?:''|"")`), S.querySelectorAll(":checked").length || U.push(":checked"), S.querySelectorAll("a#" + ve + "+*").length || U.push(".#.+[+~]"), S.querySelectorAll("\\\f"), U.push("[\\r\\n\\f]");
1497
+ }, n.find.CLASS = i.getElementsByClassName && function(S, I) {
1498
+ if (typeof I.getElementsByClassName < "u" && ae)
1499
+ return I.getElementsByClassName(S);
1500
+ }, He = [], U = [], (i.qsa = ur.test(P.querySelectorAll)) && (ht(function(S) {
1501
+ var I;
1502
+ V.appendChild(S).innerHTML = "<a id='" + ve + "'></a><select id='" + ve + "-\r\\' msallowcapture=''><option selected=''></option></select>", S.querySelectorAll("[msallowcapture^='']").length && U.push("[*^$]=" + me + `*(?:''|"")`), S.querySelectorAll("[selected]").length || U.push("\\[" + me + "*(?:value|" + li + ")"), S.querySelectorAll("[id~=" + ve + "-]").length || U.push("~="), I = P.createElement("input"), I.setAttribute("name", ""), S.appendChild(I), S.querySelectorAll("[name='']").length || U.push("\\[" + me + "*name" + me + "*=" + me + `*(?:''|"")`), S.querySelectorAll(":checked").length || U.push(":checked"), S.querySelectorAll("a#" + ve + "+*").length || U.push(".#.+[+~]"), S.querySelectorAll("\\\f"), U.push("[\\r\\n\\f]");
1493
1503
  }), ht(function(S) {
1494
1504
  S.innerHTML = "<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";
1495
- var H = D.createElement("input");
1496
- H.setAttribute("type", "hidden"), S.appendChild(H).setAttribute("name", "D"), S.querySelectorAll("[name=d]").length && U.push("name" + me + "*[*^$|!~]?="), S.querySelectorAll(":enabled").length !== 2 && U.push(":enabled", ":disabled"), V.appendChild(S).disabled = !0, S.querySelectorAll(":disabled").length !== 2 && U.push(":enabled", ":disabled"), S.querySelectorAll("*,:x"), U.push(",.*:");
1505
+ var I = P.createElement("input");
1506
+ I.setAttribute("type", "hidden"), S.appendChild(I).setAttribute("name", "D"), S.querySelectorAll("[name=d]").length && U.push("name" + me + "*[*^$|!~]?="), S.querySelectorAll(":enabled").length !== 2 && U.push(":enabled", ":disabled"), V.appendChild(S).disabled = !0, S.querySelectorAll(":disabled").length !== 2 && U.push(":enabled", ":disabled"), S.querySelectorAll("*,:x"), U.push(",.*:");
1497
1507
  })), (i.matchesSelector = ur.test(ze = V.matches || V.webkitMatchesSelector || V.mozMatchesSelector || V.oMatchesSelector || V.msMatchesSelector)) && ht(function(S) {
1498
- i.disconnectedMatch = ze.call(S, "*"), ze.call(S, "[s!='']:x"), Ie.push("!=", ci);
1499
- }), U = U.length && new RegExp(U.join("|")), Ie = Ie.length && new RegExp(Ie.join("|")), g = ur.test(V.compareDocumentPosition), ot = g || ur.test(V.contains) ? function(S, H) {
1500
- var O = S.nodeType === 9 ? S.documentElement : S, _ = H && H.parentNode;
1508
+ i.disconnectedMatch = ze.call(S, "*"), ze.call(S, "[s!='']:x"), He.push("!=", ci);
1509
+ }), U = U.length && new RegExp(U.join("|")), He = He.length && new RegExp(He.join("|")), g = ur.test(V.compareDocumentPosition), ot = g || ur.test(V.contains) ? function(S, I) {
1510
+ var O = S.nodeType === 9 ? S.documentElement : S, _ = I && I.parentNode;
1501
1511
  return S === _ || !!(_ && _.nodeType === 1 && (O.contains ? O.contains(_) : S.compareDocumentPosition && S.compareDocumentPosition(_) & 16));
1502
- } : function(S, H) {
1503
- if (H) {
1504
- for (; H = H.parentNode; )
1505
- if (H === S)
1512
+ } : function(S, I) {
1513
+ if (I) {
1514
+ for (; I = I.parentNode; )
1515
+ if (I === S)
1506
1516
  return !0;
1507
1517
  }
1508
1518
  return !1;
1509
- }, Wt = g ? function(S, H) {
1510
- if (S === H)
1519
+ }, Wt = g ? function(S, I) {
1520
+ if (S === I)
1511
1521
  return q = !0, 0;
1512
- var O = !S.compareDocumentPosition - !H.compareDocumentPosition;
1513
- return O || (O = (S.ownerDocument || S) == (H.ownerDocument || H) ? S.compareDocumentPosition(H) : (
1522
+ var O = !S.compareDocumentPosition - !I.compareDocumentPosition;
1523
+ return O || (O = (S.ownerDocument || S) == (I.ownerDocument || I) ? S.compareDocumentPosition(I) : (
1514
1524
  // Otherwise we know they are disconnected
1515
1525
  1
1516
- ), O & 1 || !i.sortDetached && H.compareDocumentPosition(S) === O ? S == D || S.ownerDocument == oe && ot(oe, S) ? -1 : H == D || H.ownerDocument == oe && ot(oe, H) ? 1 : A ? Xt(A, S) - Xt(A, H) : 0 : O & 4 ? -1 : 1);
1517
- } : function(S, H) {
1518
- if (S === H)
1526
+ ), O & 1 || !i.sortDetached && I.compareDocumentPosition(S) === O ? S == P || S.ownerDocument == oe && ot(oe, S) ? -1 : I == P || I.ownerDocument == oe && ot(oe, I) ? 1 : L ? Xt(L, S) - Xt(L, I) : 0 : O & 4 ? -1 : 1);
1527
+ } : function(S, I) {
1528
+ if (S === I)
1519
1529
  return q = !0, 0;
1520
- var O, _ = 0, X = S.parentNode, te = H.parentNode, K = [S], ie = [H];
1530
+ var O, _ = 0, X = S.parentNode, te = I.parentNode, K = [S], ie = [I];
1521
1531
  if (!X || !te)
1522
- return S == D ? -1 : H == D ? 1 : (
1532
+ return S == P ? -1 : I == P ? 1 : (
1523
1533
  /* eslint-enable eqeqeq */
1524
- X ? -1 : te ? 1 : A ? Xt(A, S) - Xt(A, H) : 0
1534
+ X ? -1 : te ? 1 : L ? Xt(L, S) - Xt(L, I) : 0
1525
1535
  );
1526
1536
  if (X === te)
1527
- return dn(S, H);
1537
+ return dn(S, I);
1528
1538
  for (O = S; O = O.parentNode; )
1529
1539
  K.unshift(O);
1530
- for (O = H; O = O.parentNode; )
1540
+ for (O = I; O = O.parentNode; )
1531
1541
  ie.unshift(O);
1532
1542
  for (; K[_] === ie[_]; )
1533
1543
  _++;
@@ -1545,51 +1555,51 @@ var ro = { exports: {} };
1545
1555
  0
1546
1556
  )
1547
1557
  );
1548
- }), D;
1549
- }, we.matches = function(f, g) {
1550
- return we(f, null, null, g);
1551
- }, we.matchesSelector = function(f, g) {
1552
- if (C(f), i.matchesSelector && ae && !st[g + " "] && (!Ie || !Ie.test(g)) && (!U || !U.test(g)))
1558
+ }), P;
1559
+ }, we.matches = function(d, g) {
1560
+ return we(d, null, null, g);
1561
+ }, we.matchesSelector = function(d, g) {
1562
+ if (C(d), i.matchesSelector && ae && !st[g + " "] && (!He || !He.test(g)) && (!U || !U.test(g)))
1553
1563
  try {
1554
- var w = ze.call(f, g);
1564
+ var w = ze.call(d, g);
1555
1565
  if (w || i.disconnectedMatch || // As well, disconnected nodes are said to be in a document
1556
1566
  // fragment in IE 9
1557
- f.document && f.document.nodeType !== 11)
1567
+ d.document && d.document.nodeType !== 11)
1558
1568
  return w;
1559
1569
  } catch {
1560
1570
  st(g, !0);
1561
1571
  }
1562
- return we(g, D, null, [f]).length > 0;
1563
- }, we.contains = function(f, g) {
1564
- return (f.ownerDocument || f) != D && C(f), ot(f, g);
1565
- }, we.attr = function(f, g) {
1566
- (f.ownerDocument || f) != D && C(f);
1567
- var w = n.attrHandle[g.toLowerCase()], z = w && Ft.call(n.attrHandle, g.toLowerCase()) ? w(f, g, !ae) : void 0;
1568
- return z !== void 0 ? z : i.attributes || !ae ? f.getAttribute(g) : (z = f.getAttributeNode(g)) && z.specified ? z.value : null;
1569
- }, we.escape = function(f) {
1570
- return (f + "").replace(cn, un);
1571
- }, we.error = function(f) {
1572
- throw new Error("Syntax error, unrecognized expression: " + f);
1573
- }, we.uniqueSort = function(f) {
1572
+ return we(g, P, null, [d]).length > 0;
1573
+ }, we.contains = function(d, g) {
1574
+ return (d.ownerDocument || d) != P && C(d), ot(d, g);
1575
+ }, we.attr = function(d, g) {
1576
+ (d.ownerDocument || d) != P && C(d);
1577
+ var w = n.attrHandle[g.toLowerCase()], z = w && Ft.call(n.attrHandle, g.toLowerCase()) ? w(d, g, !ae) : void 0;
1578
+ return z !== void 0 ? z : i.attributes || !ae ? d.getAttribute(g) : (z = d.getAttributeNode(g)) && z.specified ? z.value : null;
1579
+ }, we.escape = function(d) {
1580
+ return (d + "").replace(cn, un);
1581
+ }, we.error = function(d) {
1582
+ throw new Error("Syntax error, unrecognized expression: " + d);
1583
+ }, we.uniqueSort = function(d) {
1574
1584
  var g, w = [], z = 0, S = 0;
1575
- if (q = !i.detectDuplicates, A = !i.sortStable && f.slice(0), f.sort(Wt), q) {
1576
- for (; g = f[S++]; )
1577
- g === f[S] && (z = w.push(S));
1585
+ if (q = !i.detectDuplicates, L = !i.sortStable && d.slice(0), d.sort(Wt), q) {
1586
+ for (; g = d[S++]; )
1587
+ g === d[S] && (z = w.push(S));
1578
1588
  for (; z--; )
1579
- f.splice(w[z], 1);
1589
+ d.splice(w[z], 1);
1580
1590
  }
1581
- return A = null, f;
1582
- }, s = we.getText = function(f) {
1583
- var g, w = "", z = 0, S = f.nodeType;
1591
+ return L = null, d;
1592
+ }, s = we.getText = function(d) {
1593
+ var g, w = "", z = 0, S = d.nodeType;
1584
1594
  if (S) {
1585
1595
  if (S === 1 || S === 9 || S === 11) {
1586
- if (typeof f.textContent == "string")
1587
- return f.textContent;
1588
- for (f = f.firstChild; f; f = f.nextSibling)
1589
- w += s(f);
1596
+ if (typeof d.textContent == "string")
1597
+ return d.textContent;
1598
+ for (d = d.firstChild; d; d = d.nextSibling)
1599
+ w += s(d);
1590
1600
  } else if (S === 3 || S === 4)
1591
- return f.nodeValue;
1592
- } else for (; g = f[z++]; )
1601
+ return d.nodeValue;
1602
+ } else for (; g = d[z++]; )
1593
1603
  w += s(g);
1594
1604
  return w;
1595
1605
  }, n = we.selectors = {
@@ -1606,32 +1616,32 @@ var ro = { exports: {} };
1606
1616
  "~": { dir: "previousSibling" }
1607
1617
  },
1608
1618
  preFilter: {
1609
- ATTR: function(f) {
1610
- return f[1] = f[1].replace(St, Et), f[3] = (f[3] || f[4] || f[5] || "").replace(St, Et), f[2] === "~=" && (f[3] = " " + f[3] + " "), f.slice(0, 4);
1619
+ ATTR: function(d) {
1620
+ return d[1] = d[1].replace(St, Et), d[3] = (d[3] || d[4] || d[5] || "").replace(St, Et), d[2] === "~=" && (d[3] = " " + d[3] + " "), d.slice(0, 4);
1611
1621
  },
1612
- CHILD: function(f) {
1613
- return f[1] = f[1].toLowerCase(), f[1].slice(0, 3) === "nth" ? (f[3] || we.error(f[0]), f[4] = +(f[4] ? f[5] + (f[6] || 1) : 2 * (f[3] === "even" || f[3] === "odd")), f[5] = +(f[7] + f[8] || f[3] === "odd")) : f[3] && we.error(f[0]), f;
1622
+ CHILD: function(d) {
1623
+ return d[1] = d[1].toLowerCase(), d[1].slice(0, 3) === "nth" ? (d[3] || we.error(d[0]), d[4] = +(d[4] ? d[5] + (d[6] || 1) : 2 * (d[3] === "even" || d[3] === "odd")), d[5] = +(d[7] + d[8] || d[3] === "odd")) : d[3] && we.error(d[0]), d;
1614
1624
  },
1615
- PSEUDO: function(f) {
1616
- var g, w = !f[6] && f[2];
1617
- return Ar.CHILD.test(f[0]) ? null : (f[3] ? f[2] = f[4] || f[5] || "" : w && jo.test(w) && // Get excess from tokenize (recursively)
1625
+ PSEUDO: function(d) {
1626
+ var g, w = !d[6] && d[2];
1627
+ return Ar.CHILD.test(d[0]) ? null : (d[3] ? d[2] = d[4] || d[5] || "" : w && jo.test(w) && // Get excess from tokenize (recursively)
1618
1628
  (g = c(w, !0)) && // advance to the next closing parenthesis
1619
- (g = w.indexOf(")", w.length - g) - w.length) && (f[0] = f[0].slice(0, g), f[2] = w.slice(0, g)), f.slice(0, 3));
1629
+ (g = w.indexOf(")", w.length - g) - w.length) && (d[0] = d[0].slice(0, g), d[2] = w.slice(0, g)), d.slice(0, 3));
1620
1630
  }
1621
1631
  },
1622
1632
  filter: {
1623
- TAG: function(f) {
1624
- var g = f.replace(St, Et).toLowerCase();
1625
- return f === "*" ? function() {
1633
+ TAG: function(d) {
1634
+ var g = d.replace(St, Et).toLowerCase();
1635
+ return d === "*" ? function() {
1626
1636
  return !0;
1627
1637
  } : function(w) {
1628
1638
  return w.nodeName && w.nodeName.toLowerCase() === g;
1629
1639
  };
1630
1640
  },
1631
- CLASS: function(f) {
1632
- var g = Ce[f + " "];
1633
- return g || (g = new RegExp("(^|" + me + ")" + f + "(" + me + "|$)")) && Ce(
1634
- f,
1641
+ CLASS: function(d) {
1642
+ var g = Ce[d + " "];
1643
+ return g || (g = new RegExp("(^|" + me + ")" + d + "(" + me + "|$)")) && Ce(
1644
+ d,
1635
1645
  function(w) {
1636
1646
  return g.test(
1637
1647
  typeof w.className == "string" && w.className || typeof w.getAttribute < "u" && w.getAttribute("class") || ""
@@ -1639,50 +1649,50 @@ var ro = { exports: {} };
1639
1649
  }
1640
1650
  );
1641
1651
  },
1642
- ATTR: function(f, g, w) {
1652
+ ATTR: function(d, g, w) {
1643
1653
  return function(z) {
1644
- var S = we.attr(z, f);
1654
+ var S = we.attr(z, d);
1645
1655
  return S == null ? g === "!=" : g ? (S += "", g === "=" ? S === w : g === "!=" ? S !== w : g === "^=" ? w && S.indexOf(w) === 0 : g === "*=" ? w && S.indexOf(w) > -1 : g === "$=" ? w && S.slice(-w.length) === w : g === "~=" ? (" " + S.replace(Oo, " ") + " ").indexOf(w) > -1 : g === "|=" ? S === w || S.slice(0, w.length + 1) === w + "-" : !1) : !0;
1646
1656
  };
1647
1657
  },
1648
- CHILD: function(f, g, w, z, S) {
1649
- var H = f.slice(0, 3) !== "nth", O = f.slice(-4) !== "last", _ = g === "of-type";
1658
+ CHILD: function(d, g, w, z, S) {
1659
+ var I = d.slice(0, 3) !== "nth", O = d.slice(-4) !== "last", _ = g === "of-type";
1650
1660
  return z === 1 && S === 0 ? (
1651
1661
  // Shortcut for :nth-*(n)
1652
1662
  function(X) {
1653
1663
  return !!X.parentNode;
1654
1664
  }
1655
1665
  ) : function(X, te, K) {
1656
- var ie, ue, xe, re, Oe, Fe, at = H !== O ? "nextSibling" : "previousSibling", Se = X.parentNode, fr = _ && X.nodeName.toLowerCase(), dr = !K && !_, lt = !1;
1666
+ var ie, ue, xe, re, Oe, Fe, at = I !== O ? "nextSibling" : "previousSibling", Se = X.parentNode, fr = _ && X.nodeName.toLowerCase(), dr = !K && !_, lt = !1;
1657
1667
  if (Se) {
1658
- if (H) {
1668
+ if (I) {
1659
1669
  for (; at; ) {
1660
1670
  for (re = X; re = re[at]; )
1661
1671
  if (_ ? re.nodeName.toLowerCase() === fr : re.nodeType === 1)
1662
1672
  return !1;
1663
- Fe = at = f === "only" && !Fe && "nextSibling";
1673
+ Fe = at = d === "only" && !Fe && "nextSibling";
1664
1674
  }
1665
1675
  return !0;
1666
1676
  }
1667
1677
  if (Fe = [O ? Se.firstChild : Se.lastChild], O && dr) {
1668
- for (re = Se, xe = re[ve] || (re[ve] = {}), ue = xe[re.uniqueID] || (xe[re.uniqueID] = {}), ie = ue[f] || [], Oe = ie[0] === Qe && ie[1], lt = Oe && ie[2], re = Oe && Se.childNodes[Oe]; re = ++Oe && re && re[at] || // Fallback to seeking `elem` from the start
1678
+ for (re = Se, xe = re[ve] || (re[ve] = {}), ue = xe[re.uniqueID] || (xe[re.uniqueID] = {}), ie = ue[d] || [], Oe = ie[0] === Qe && ie[1], lt = Oe && ie[2], re = Oe && Se.childNodes[Oe]; re = ++Oe && re && re[at] || // Fallback to seeking `elem` from the start
1669
1679
  (lt = Oe = 0) || Fe.pop(); )
1670
1680
  if (re.nodeType === 1 && ++lt && re === X) {
1671
- ue[f] = [Qe, Oe, lt];
1681
+ ue[d] = [Qe, Oe, lt];
1672
1682
  break;
1673
1683
  }
1674
- } else if (dr && (re = X, xe = re[ve] || (re[ve] = {}), ue = xe[re.uniqueID] || (xe[re.uniqueID] = {}), ie = ue[f] || [], Oe = ie[0] === Qe && ie[1], lt = Oe), lt === !1)
1675
- for (; (re = ++Oe && re && re[at] || (lt = Oe = 0) || Fe.pop()) && !((_ ? re.nodeName.toLowerCase() === fr : re.nodeType === 1) && ++lt && (dr && (xe = re[ve] || (re[ve] = {}), ue = xe[re.uniqueID] || (xe[re.uniqueID] = {}), ue[f] = [Qe, lt]), re === X)); )
1684
+ } else if (dr && (re = X, xe = re[ve] || (re[ve] = {}), ue = xe[re.uniqueID] || (xe[re.uniqueID] = {}), ie = ue[d] || [], Oe = ie[0] === Qe && ie[1], lt = Oe), lt === !1)
1685
+ for (; (re = ++Oe && re && re[at] || (lt = Oe = 0) || Fe.pop()) && !((_ ? re.nodeName.toLowerCase() === fr : re.nodeType === 1) && ++lt && (dr && (xe = re[ve] || (re[ve] = {}), ue = xe[re.uniqueID] || (xe[re.uniqueID] = {}), ue[d] = [Qe, lt]), re === X)); )
1676
1686
  ;
1677
1687
  return lt -= S, lt === z || lt % z === 0 && lt / z >= 0;
1678
1688
  }
1679
1689
  };
1680
1690
  },
1681
- PSEUDO: function(f, g) {
1682
- var w, z = n.pseudos[f] || n.setFilters[f.toLowerCase()] || we.error("unsupported pseudo: " + f);
1683
- return z[ve] ? z(g) : z.length > 1 ? (w = [f, f, "", g], n.setFilters.hasOwnProperty(f.toLowerCase()) ? dt(function(S, H) {
1691
+ PSEUDO: function(d, g) {
1692
+ var w, z = n.pseudos[d] || n.setFilters[d.toLowerCase()] || we.error("unsupported pseudo: " + d);
1693
+ return z[ve] ? z(g) : z.length > 1 ? (w = [d, d, "", g], n.setFilters.hasOwnProperty(d.toLowerCase()) ? dt(function(S, I) {
1684
1694
  for (var O, _ = z(S, g), X = _.length; X--; )
1685
- O = Xt(S, _[X]), S[O] = !(H[O] = _[X]);
1695
+ O = Xt(S, _[X]), S[O] = !(I[O] = _[X]);
1686
1696
  }) : function(S) {
1687
1697
  return z(S, 0, w);
1688
1698
  }) : z;
@@ -1690,23 +1700,23 @@ var ro = { exports: {} };
1690
1700
  },
1691
1701
  pseudos: {
1692
1702
  // Potentially complex pseudos
1693
- not: dt(function(f) {
1694
- var g = [], w = [], z = m(f.replace(kr, "$1"));
1695
- return z[ve] ? dt(function(S, H, O, _) {
1703
+ not: dt(function(d) {
1704
+ var g = [], w = [], z = m(d.replace(kr, "$1"));
1705
+ return z[ve] ? dt(function(S, I, O, _) {
1696
1706
  for (var X, te = z(S, null, _, []), K = S.length; K--; )
1697
- (X = te[K]) && (S[K] = !(H[K] = X));
1698
- }) : function(S, H, O) {
1707
+ (X = te[K]) && (S[K] = !(I[K] = X));
1708
+ }) : function(S, I, O) {
1699
1709
  return g[0] = S, z(g, null, O, w), g[0] = null, !w.pop();
1700
1710
  };
1701
1711
  }),
1702
- has: dt(function(f) {
1712
+ has: dt(function(d) {
1703
1713
  return function(g) {
1704
- return we(f, g).length > 0;
1714
+ return we(d, g).length > 0;
1705
1715
  };
1706
1716
  }),
1707
- contains: dt(function(f) {
1708
- return f = f.replace(St, Et), function(g) {
1709
- return (g.textContent || s(g)).indexOf(f) > -1;
1717
+ contains: dt(function(d) {
1718
+ return d = d.replace(St, Et), function(g) {
1719
+ return (g.textContent || s(g)).indexOf(d) > -1;
1710
1720
  };
1711
1721
  }),
1712
1722
  // "Whether an element is represented by a :lang() selector
@@ -1716,93 +1726,93 @@ var ro = { exports: {} };
1716
1726
  // The matching of C against the element's language value is performed case-insensitively.
1717
1727
  // The identifier C does not have to be a valid language name."
1718
1728
  // http://www.w3.org/TR/selectors/#lang-pseudo
1719
- lang: dt(function(f) {
1720
- return Ro.test(f || "") || we.error("unsupported lang: " + f), f = f.replace(St, Et).toLowerCase(), function(g) {
1729
+ lang: dt(function(d) {
1730
+ return Ro.test(d || "") || we.error("unsupported lang: " + d), d = d.replace(St, Et).toLowerCase(), function(g) {
1721
1731
  var w;
1722
1732
  do
1723
1733
  if (w = ae ? g.lang : g.getAttribute("xml:lang") || g.getAttribute("lang"))
1724
- return w = w.toLowerCase(), w === f || w.indexOf(f + "-") === 0;
1734
+ return w = w.toLowerCase(), w === d || w.indexOf(d + "-") === 0;
1725
1735
  while ((g = g.parentNode) && g.nodeType === 1);
1726
1736
  return !1;
1727
1737
  };
1728
1738
  }),
1729
1739
  // Miscellaneous
1730
- target: function(f) {
1740
+ target: function(d) {
1731
1741
  var g = t.location && t.location.hash;
1732
- return g && g.slice(1) === f.id;
1742
+ return g && g.slice(1) === d.id;
1733
1743
  },
1734
- root: function(f) {
1735
- return f === V;
1744
+ root: function(d) {
1745
+ return d === V;
1736
1746
  },
1737
- focus: function(f) {
1738
- return f === D.activeElement && (!D.hasFocus || D.hasFocus()) && !!(f.type || f.href || ~f.tabIndex);
1747
+ focus: function(d) {
1748
+ return d === P.activeElement && (!P.hasFocus || P.hasFocus()) && !!(d.type || d.href || ~d.tabIndex);
1739
1749
  },
1740
1750
  // Boolean properties
1741
1751
  enabled: hn(!1),
1742
1752
  disabled: hn(!0),
1743
- checked: function(f) {
1744
- var g = f.nodeName.toLowerCase();
1745
- return g === "input" && !!f.checked || g === "option" && !!f.selected;
1753
+ checked: function(d) {
1754
+ var g = d.nodeName.toLowerCase();
1755
+ return g === "input" && !!d.checked || g === "option" && !!d.selected;
1746
1756
  },
1747
- selected: function(f) {
1748
- return f.parentNode && f.parentNode.selectedIndex, f.selected === !0;
1757
+ selected: function(d) {
1758
+ return d.parentNode && d.parentNode.selectedIndex, d.selected === !0;
1749
1759
  },
1750
1760
  // Contents
1751
- empty: function(f) {
1752
- for (f = f.firstChild; f; f = f.nextSibling)
1753
- if (f.nodeType < 6)
1761
+ empty: function(d) {
1762
+ for (d = d.firstChild; d; d = d.nextSibling)
1763
+ if (d.nodeType < 6)
1754
1764
  return !1;
1755
1765
  return !0;
1756
1766
  },
1757
- parent: function(f) {
1758
- return !n.pseudos.empty(f);
1767
+ parent: function(d) {
1768
+ return !n.pseudos.empty(d);
1759
1769
  },
1760
1770
  // Element/input types
1761
- header: function(f) {
1762
- return Fo.test(f.nodeName);
1771
+ header: function(d) {
1772
+ return Fo.test(d.nodeName);
1763
1773
  },
1764
- input: function(f) {
1765
- return Wo.test(f.nodeName);
1774
+ input: function(d) {
1775
+ return Wo.test(d.nodeName);
1766
1776
  },
1767
- button: function(f) {
1768
- var g = f.nodeName.toLowerCase();
1769
- return g === "input" && f.type === "button" || g === "button";
1777
+ button: function(d) {
1778
+ var g = d.nodeName.toLowerCase();
1779
+ return g === "input" && d.type === "button" || g === "button";
1770
1780
  },
1771
- text: function(f) {
1781
+ text: function(d) {
1772
1782
  var g;
1773
- return f.nodeName.toLowerCase() === "input" && f.type === "text" && // Support: IE<8
1783
+ return d.nodeName.toLowerCase() === "input" && d.type === "text" && // Support: IE<8
1774
1784
  // New HTML5 attribute values (e.g., "search") appear with elem.type === "text"
1775
- ((g = f.getAttribute("type")) == null || g.toLowerCase() === "text");
1785
+ ((g = d.getAttribute("type")) == null || g.toLowerCase() === "text");
1776
1786
  },
1777
1787
  // Position-in-collection
1778
1788
  first: $t(function() {
1779
1789
  return [0];
1780
1790
  }),
1781
- last: $t(function(f, g) {
1791
+ last: $t(function(d, g) {
1782
1792
  return [g - 1];
1783
1793
  }),
1784
- eq: $t(function(f, g, w) {
1794
+ eq: $t(function(d, g, w) {
1785
1795
  return [w < 0 ? w + g : w];
1786
1796
  }),
1787
- even: $t(function(f, g) {
1797
+ even: $t(function(d, g) {
1788
1798
  for (var w = 0; w < g; w += 2)
1789
- f.push(w);
1790
- return f;
1799
+ d.push(w);
1800
+ return d;
1791
1801
  }),
1792
- odd: $t(function(f, g) {
1802
+ odd: $t(function(d, g) {
1793
1803
  for (var w = 1; w < g; w += 2)
1794
- f.push(w);
1795
- return f;
1804
+ d.push(w);
1805
+ return d;
1796
1806
  }),
1797
- lt: $t(function(f, g, w) {
1807
+ lt: $t(function(d, g, w) {
1798
1808
  for (var z = w < 0 ? w + g : w > g ? g : w; --z >= 0; )
1799
- f.push(z);
1800
- return f;
1809
+ d.push(z);
1810
+ return d;
1801
1811
  }),
1802
- gt: $t(function(f, g, w) {
1812
+ gt: $t(function(d, g, w) {
1803
1813
  for (var z = w < 0 ? w + g : w; ++z < g; )
1804
- f.push(z);
1805
- return f;
1814
+ d.push(z);
1815
+ return d;
1806
1816
  })
1807
1817
  }
1808
1818
  }, n.pseudos.nth = n.pseudos.eq;
@@ -1812,43 +1822,43 @@ var ro = { exports: {} };
1812
1822
  n.pseudos[r] = Vo(r);
1813
1823
  function pn() {
1814
1824
  }
1815
- pn.prototype = n.filters = n.pseudos, n.setFilters = new pn(), c = we.tokenize = function(f, g) {
1816
- var w, z, S, H, O, _, X, te = cr[f + " "];
1825
+ pn.prototype = n.filters = n.pseudos, n.setFilters = new pn(), c = we.tokenize = function(d, g) {
1826
+ var w, z, S, I, O, _, X, te = cr[d + " "];
1817
1827
  if (te)
1818
1828
  return g ? 0 : te.slice(0);
1819
- for (O = f, _ = [], X = n.preFilter; O; ) {
1829
+ for (O = d, _ = [], X = n.preFilter; O; ) {
1820
1830
  (!w || (z = qo.exec(O))) && (z && (O = O.slice(z[0].length) || O), _.push(S = [])), w = !1, (z = ln.exec(O)) && (w = z.shift(), S.push({
1821
1831
  value: w,
1822
1832
  // Cast descendant combinators to space
1823
1833
  type: z[0].replace(kr, " ")
1824
1834
  }), O = O.slice(w.length));
1825
- for (H in n.filter)
1826
- (z = Ar[H].exec(O)) && (!X[H] || (z = X[H](z))) && (w = z.shift(), S.push({
1835
+ for (I in n.filter)
1836
+ (z = Ar[I].exec(O)) && (!X[I] || (z = X[I](z))) && (w = z.shift(), S.push({
1827
1837
  value: w,
1828
- type: H,
1838
+ type: I,
1829
1839
  matches: z
1830
1840
  }), O = O.slice(w.length));
1831
1841
  if (!w)
1832
1842
  break;
1833
1843
  }
1834
- return g ? O.length : O ? we.error(f) : (
1844
+ return g ? O.length : O ? we.error(d) : (
1835
1845
  // Cache the tokens
1836
- cr(f, _).slice(0)
1846
+ cr(d, _).slice(0)
1837
1847
  );
1838
1848
  };
1839
- function Nr(f) {
1840
- for (var g = 0, w = f.length, z = ""; g < w; g++)
1841
- z += f[g].value;
1849
+ function Nr(d) {
1850
+ for (var g = 0, w = d.length, z = ""; g < w; g++)
1851
+ z += d[g].value;
1842
1852
  return z;
1843
1853
  }
1844
- function Dr(f, g, w) {
1845
- var z = g.dir, S = g.next, H = S || z, O = w && H === "parentNode", _ = he++;
1854
+ function Dr(d, g, w) {
1855
+ var z = g.dir, S = g.next, I = S || z, O = w && I === "parentNode", _ = he++;
1846
1856
  return g.first ? (
1847
1857
  // Check against closest ancestor/preceding element
1848
1858
  function(X, te, K) {
1849
1859
  for (; X = X[z]; )
1850
1860
  if (X.nodeType === 1 || O)
1851
- return f(X, te, K);
1861
+ return d(X, te, K);
1852
1862
  return !1;
1853
1863
  }
1854
1864
  ) : (
@@ -1857,7 +1867,7 @@ var ro = { exports: {} };
1857
1867
  var ie, ue, xe, re = [Qe, _];
1858
1868
  if (K) {
1859
1869
  for (; X = X[z]; )
1860
- if ((X.nodeType === 1 || O) && f(X, te, K))
1870
+ if ((X.nodeType === 1 || O) && d(X, te, K))
1861
1871
  return !0;
1862
1872
  } else
1863
1873
  for (; X = X[z]; )
@@ -1865,42 +1875,42 @@ var ro = { exports: {} };
1865
1875
  if (xe = X[ve] || (X[ve] = {}), ue = xe[X.uniqueID] || (xe[X.uniqueID] = {}), S && S === X.nodeName.toLowerCase())
1866
1876
  X = X[z] || X;
1867
1877
  else {
1868
- if ((ie = ue[H]) && ie[0] === Qe && ie[1] === _)
1878
+ if ((ie = ue[I]) && ie[0] === Qe && ie[1] === _)
1869
1879
  return re[2] = ie[2];
1870
- if (ue[H] = re, re[2] = f(X, te, K))
1880
+ if (ue[I] = re, re[2] = d(X, te, K))
1871
1881
  return !0;
1872
1882
  }
1873
1883
  return !1;
1874
1884
  }
1875
1885
  );
1876
1886
  }
1877
- function hi(f) {
1878
- return f.length > 1 ? function(g, w, z) {
1879
- for (var S = f.length; S--; )
1880
- if (!f[S](g, w, z))
1887
+ function hi(d) {
1888
+ return d.length > 1 ? function(g, w, z) {
1889
+ for (var S = d.length; S--; )
1890
+ if (!d[S](g, w, z))
1881
1891
  return !1;
1882
1892
  return !0;
1883
- } : f[0];
1893
+ } : d[0];
1884
1894
  }
1885
- function Uo(f, g, w) {
1895
+ function Uo(d, g, w) {
1886
1896
  for (var z = 0, S = g.length; z < S; z++)
1887
- we(f, g[z], w);
1897
+ we(d, g[z], w);
1888
1898
  return w;
1889
1899
  }
1890
- function Pr(f, g, w, z, S) {
1891
- for (var H, O = [], _ = 0, X = f.length, te = g != null; _ < X; _++)
1892
- (H = f[_]) && (!w || w(H, z, S)) && (O.push(H), te && g.push(_));
1900
+ function Pr(d, g, w, z, S) {
1901
+ for (var I, O = [], _ = 0, X = d.length, te = g != null; _ < X; _++)
1902
+ (I = d[_]) && (!w || w(I, z, S)) && (O.push(I), te && g.push(_));
1893
1903
  return O;
1894
1904
  }
1895
- function pi(f, g, w, z, S, H) {
1896
- return z && !z[ve] && (z = pi(z)), S && !S[ve] && (S = pi(S, H)), dt(function(O, _, X, te) {
1905
+ function pi(d, g, w, z, S, I) {
1906
+ return z && !z[ve] && (z = pi(z)), S && !S[ve] && (S = pi(S, I)), dt(function(O, _, X, te) {
1897
1907
  var K, ie, ue, xe = [], re = [], Oe = _.length, Fe = O || Uo(
1898
1908
  g || "*",
1899
1909
  X.nodeType ? [X] : X,
1900
1910
  []
1901
- ), at = f && (O || !g) ? Pr(Fe, xe, f, X, te) : Fe, Se = w ? (
1911
+ ), at = d && (O || !g) ? Pr(Fe, xe, d, X, te) : Fe, Se = w ? (
1902
1912
  // If we have a postFinder, or filtered seed, or non-seed postFilter or preexisting results,
1903
- S || (O ? f : Oe || z) ? (
1913
+ S || (O ? d : Oe || z) ? (
1904
1914
  // ...intermediate processing is necessary
1905
1915
  []
1906
1916
  ) : (
@@ -1912,7 +1922,7 @@ var ro = { exports: {} };
1912
1922
  for (K = Pr(Se, re), z(K, [], X, te), ie = K.length; ie--; )
1913
1923
  (ue = K[ie]) && (Se[re[ie]] = !(at[re[ie]] = ue));
1914
1924
  if (O) {
1915
- if (S || f) {
1925
+ if (S || d) {
1916
1926
  if (S) {
1917
1927
  for (K = [], ie = Se.length; ie--; )
1918
1928
  (ue = Se[ie]) && K.push(at[ie] = ue);
@@ -1927,123 +1937,123 @@ var ro = { exports: {} };
1927
1937
  ), S ? S(null, _, Se, te) : Pt.apply(_, Se);
1928
1938
  });
1929
1939
  }
1930
- function gi(f) {
1931
- for (var g, w, z, S = f.length, H = n.relative[f[0].type], O = H || n.relative[" "], _ = H ? 1 : 0, X = Dr(function(ie) {
1940
+ function gi(d) {
1941
+ for (var g, w, z, S = d.length, I = n.relative[d[0].type], O = I || n.relative[" "], _ = I ? 1 : 0, X = Dr(function(ie) {
1932
1942
  return ie === g;
1933
1943
  }, O, !0), te = Dr(function(ie) {
1934
1944
  return Xt(g, ie) > -1;
1935
1945
  }, O, !0), K = [function(ie, ue, xe) {
1936
- var re = !H && (xe || ue !== T) || ((g = ue).nodeType ? X(ie, ue, xe) : te(ie, ue, xe));
1946
+ var re = !I && (xe || ue !== T) || ((g = ue).nodeType ? X(ie, ue, xe) : te(ie, ue, xe));
1937
1947
  return g = null, re;
1938
1948
  }]; _ < S; _++)
1939
- if (w = n.relative[f[_].type])
1949
+ if (w = n.relative[d[_].type])
1940
1950
  K = [Dr(hi(K), w)];
1941
1951
  else {
1942
- if (w = n.filter[f[_].type].apply(null, f[_].matches), w[ve]) {
1943
- for (z = ++_; z < S && !n.relative[f[z].type]; z++)
1952
+ if (w = n.filter[d[_].type].apply(null, d[_].matches), w[ve]) {
1953
+ for (z = ++_; z < S && !n.relative[d[z].type]; z++)
1944
1954
  ;
1945
1955
  return pi(
1946
1956
  _ > 1 && hi(K),
1947
1957
  _ > 1 && Nr(
1948
1958
  // If the preceding token was a descendant combinator, insert an implicit any-element `*`
1949
- f.slice(0, _ - 1).concat({ value: f[_ - 2].type === " " ? "*" : "" })
1959
+ d.slice(0, _ - 1).concat({ value: d[_ - 2].type === " " ? "*" : "" })
1950
1960
  ).replace(kr, "$1"),
1951
1961
  w,
1952
- _ < z && gi(f.slice(_, z)),
1953
- z < S && gi(f = f.slice(z)),
1954
- z < S && Nr(f)
1962
+ _ < z && gi(d.slice(_, z)),
1963
+ z < S && gi(d = d.slice(z)),
1964
+ z < S && Nr(d)
1955
1965
  );
1956
1966
  }
1957
1967
  K.push(w);
1958
1968
  }
1959
1969
  return hi(K);
1960
1970
  }
1961
- function Go(f, g) {
1962
- var w = g.length > 0, z = f.length > 0, S = function(H, O, _, X, te) {
1963
- var K, ie, ue, xe = 0, re = "0", Oe = H && [], Fe = [], at = T, Se = H || z && n.find.TAG("*", te), fr = Qe += at == null ? 1 : Math.random() || 0.1, dr = Se.length;
1964
- for (te && (T = O == D || O || te); re !== dr && (K = Se[re]) != null; re++) {
1971
+ function Go(d, g) {
1972
+ var w = g.length > 0, z = d.length > 0, S = function(I, O, _, X, te) {
1973
+ var K, ie, ue, xe = 0, re = "0", Oe = I && [], Fe = [], at = T, Se = I || z && n.find.TAG("*", te), fr = Qe += at == null ? 1 : Math.random() || 0.1, dr = Se.length;
1974
+ for (te && (T = O == P || O || te); re !== dr && (K = Se[re]) != null; re++) {
1965
1975
  if (z && K) {
1966
- for (ie = 0, !O && K.ownerDocument != D && (C(K), _ = !ae); ue = f[ie++]; )
1967
- if (ue(K, O || D, _)) {
1976
+ for (ie = 0, !O && K.ownerDocument != P && (C(K), _ = !ae); ue = d[ie++]; )
1977
+ if (ue(K, O || P, _)) {
1968
1978
  X.push(K);
1969
1979
  break;
1970
1980
  }
1971
1981
  te && (Qe = fr);
1972
1982
  }
1973
- w && ((K = !ue && K) && xe--, H && Oe.push(K));
1983
+ w && ((K = !ue && K) && xe--, I && Oe.push(K));
1974
1984
  }
1975
1985
  if (xe += re, w && re !== xe) {
1976
1986
  for (ie = 0; ue = g[ie++]; )
1977
1987
  ue(Oe, Fe, O, _);
1978
- if (H) {
1988
+ if (I) {
1979
1989
  if (xe > 0)
1980
1990
  for (; re--; )
1981
1991
  Oe[re] || Fe[re] || (Fe[re] = Dt.call(X));
1982
1992
  Fe = Pr(Fe);
1983
1993
  }
1984
- Pt.apply(X, Fe), te && !H && Fe.length > 0 && xe + g.length > 1 && we.uniqueSort(X);
1994
+ Pt.apply(X, Fe), te && !I && Fe.length > 0 && xe + g.length > 1 && we.uniqueSort(X);
1985
1995
  }
1986
1996
  return te && (Qe = fr, T = at), Oe;
1987
1997
  };
1988
1998
  return w ? dt(S) : S;
1989
1999
  }
1990
- return m = we.compile = function(f, g) {
1991
- var w, z = [], S = [], H = Cr[f + " "];
1992
- if (!H) {
1993
- for (g || (g = c(f)), w = g.length; w--; )
1994
- H = gi(g[w]), H[ve] ? z.push(H) : S.push(H);
1995
- H = Cr(
1996
- f,
2000
+ return m = we.compile = function(d, g) {
2001
+ var w, z = [], S = [], I = Cr[d + " "];
2002
+ if (!I) {
2003
+ for (g || (g = c(d)), w = g.length; w--; )
2004
+ I = gi(g[w]), I[ve] ? z.push(I) : S.push(I);
2005
+ I = Cr(
2006
+ d,
1997
2007
  Go(S, z)
1998
- ), H.selector = f;
2008
+ ), I.selector = d;
1999
2009
  }
2000
- return H;
2001
- }, v = we.select = function(f, g, w, z) {
2002
- var S, H, O, _, X, te = typeof f == "function" && f, K = !z && c(f = te.selector || f);
2010
+ return I;
2011
+ }, v = we.select = function(d, g, w, z) {
2012
+ var S, I, O, _, X, te = typeof d == "function" && d, K = !z && c(d = te.selector || d);
2003
2013
  if (w = w || [], K.length === 1) {
2004
- if (H = K[0] = K[0].slice(0), H.length > 2 && (O = H[0]).type === "ID" && g.nodeType === 9 && ae && n.relative[H[1].type]) {
2014
+ if (I = K[0] = K[0].slice(0), I.length > 2 && (O = I[0]).type === "ID" && g.nodeType === 9 && ae && n.relative[I[1].type]) {
2005
2015
  if (g = (n.find.ID(O.matches[0].replace(St, Et), g) || [])[0], g)
2006
2016
  te && (g = g.parentNode);
2007
2017
  else return w;
2008
- f = f.slice(H.shift().value.length);
2018
+ d = d.slice(I.shift().value.length);
2009
2019
  }
2010
- for (S = Ar.needsContext.test(f) ? 0 : H.length; S-- && (O = H[S], !n.relative[_ = O.type]); )
2020
+ for (S = Ar.needsContext.test(d) ? 0 : I.length; S-- && (O = I[S], !n.relative[_ = O.type]); )
2011
2021
  if ((X = n.find[_]) && (z = X(
2012
2022
  O.matches[0].replace(St, Et),
2013
- ui.test(H[0].type) && di(g.parentNode) || g
2023
+ ui.test(I[0].type) && di(g.parentNode) || g
2014
2024
  ))) {
2015
- if (H.splice(S, 1), f = z.length && Nr(H), !f)
2025
+ if (I.splice(S, 1), d = z.length && Nr(I), !d)
2016
2026
  return Pt.apply(w, z), w;
2017
2027
  break;
2018
2028
  }
2019
2029
  }
2020
- return (te || m(f, K))(
2030
+ return (te || m(d, K))(
2021
2031
  z,
2022
2032
  g,
2023
2033
  !ae,
2024
2034
  w,
2025
- !g || ui.test(f) && di(g.parentNode) || g
2035
+ !g || ui.test(d) && di(g.parentNode) || g
2026
2036
  ), w;
2027
- }, i.sortStable = ve.split("").sort(Wt).join("") === ve, i.detectDuplicates = !!q, C(), i.sortDetached = ht(function(f) {
2028
- return f.compareDocumentPosition(D.createElement("fieldset")) & 1;
2029
- }), ht(function(f) {
2030
- return f.innerHTML = "<a href='#'></a>", f.firstChild.getAttribute("href") === "#";
2031
- }) || fi("type|href|height|width", function(f, g, w) {
2037
+ }, i.sortStable = ve.split("").sort(Wt).join("") === ve, i.detectDuplicates = !!q, C(), i.sortDetached = ht(function(d) {
2038
+ return d.compareDocumentPosition(P.createElement("fieldset")) & 1;
2039
+ }), ht(function(d) {
2040
+ return d.innerHTML = "<a href='#'></a>", d.firstChild.getAttribute("href") === "#";
2041
+ }) || fi("type|href|height|width", function(d, g, w) {
2032
2042
  if (!w)
2033
- return f.getAttribute(g, g.toLowerCase() === "type" ? 1 : 2);
2034
- }), (!i.attributes || !ht(function(f) {
2035
- return f.innerHTML = "<input/>", f.firstChild.setAttribute("value", ""), f.firstChild.getAttribute("value") === "";
2036
- })) && fi("value", function(f, g, w) {
2037
- if (!w && f.nodeName.toLowerCase() === "input")
2038
- return f.defaultValue;
2039
- }), ht(function(f) {
2040
- return f.getAttribute("disabled") == null;
2041
- }) || fi(li, function(f, g, w) {
2043
+ return d.getAttribute(g, g.toLowerCase() === "type" ? 1 : 2);
2044
+ }), (!i.attributes || !ht(function(d) {
2045
+ return d.innerHTML = "<input/>", d.firstChild.setAttribute("value", ""), d.firstChild.getAttribute("value") === "";
2046
+ })) && fi("value", function(d, g, w) {
2047
+ if (!w && d.nodeName.toLowerCase() === "input")
2048
+ return d.defaultValue;
2049
+ }), ht(function(d) {
2050
+ return d.getAttribute("disabled") == null;
2051
+ }) || fi(li, function(d, g, w) {
2042
2052
  var z;
2043
2053
  if (!w)
2044
- return f[g] === !0 ? g.toLowerCase() : (z = f.getAttributeNode(g)) && z.specified ? z.value : null;
2054
+ return d[g] === !0 ? g.toLowerCase() : (z = d.getAttributeNode(g)) && z.specified ? z.value : null;
2045
2055
  }), we;
2046
- }(d)
2056
+ }(f)
2047
2057
  );
2048
2058
  o.find = Ye, o.expr = Ye.selectors, o.expr[":"] = o.expr.pseudos, o.uniqueSort = o.unique = Ye.uniqueSort, o.text = Ye.getText, o.isXMLDoc = Ye.isXML, o.contains = Ye.contains, o.escapeSelector = Ye.escape;
2049
2059
  var rt = function(t, r, i) {
@@ -2069,7 +2079,7 @@ var ro = { exports: {} };
2069
2079
  }) : r.nodeType ? o.grep(t, function(n) {
2070
2080
  return n === r !== i;
2071
2081
  }) : typeof r != "string" ? o.grep(t, function(n) {
2072
- return L.call(r, n) > -1 !== i;
2082
+ return A.call(r, n) > -1 !== i;
2073
2083
  }) : o.filter(r, t, i);
2074
2084
  }
2075
2085
  o.filter = function(t, r, i) {
@@ -2168,7 +2178,7 @@ var ro = { exports: {} };
2168
2178
  },
2169
2179
  // Determine the position of an element within the set
2170
2180
  index: function(t) {
2171
- return t ? typeof t == "string" ? L.call(o(t), this[0]) : L.call(
2181
+ return t ? typeof t == "string" ? A.call(o(t), this[0]) : A.call(
2172
2182
  this,
2173
2183
  // If it receives a jQuery object, the first element is used
2174
2184
  t.jquery ? t[0] : t
@@ -2231,7 +2241,7 @@ var ro = { exports: {} };
2231
2241
  return t.contentDocument != null && // Support: IE 11+
2232
2242
  // <object> elements with no `data` attribute has an object
2233
2243
  // `contentDocument` with a `null` prototype.
2234
- P(t.contentDocument) ? t.contentDocument : (Ze(t, "template") && (t = t.content || t), o.merge([], t.childNodes));
2244
+ N(t.contentDocument) ? t.contentDocument : (Ze(t, "template") && (t = t.content || t), o.merge([], t.childNodes));
2235
2245
  }
2236
2246
  }, function(t, r) {
2237
2247
  o.fn[t] = function(i, n) {
@@ -2239,10 +2249,10 @@ var ro = { exports: {} };
2239
2249
  return t.slice(-5) !== "Until" && (n = i), n && typeof n == "string" && (s = o.filter(n, s)), this.length > 1 && (ye[t] || o.uniqueSort(s), _e.test(t) && s.reverse()), this.pushStack(s);
2240
2250
  };
2241
2251
  });
2242
- var N = /[^\x20\t\r\n\f]+/g;
2252
+ var D = /[^\x20\t\r\n\f]+/g;
2243
2253
  function Ee(t) {
2244
2254
  var r = {};
2245
- return o.each(t.match(N) || [], function(i, n) {
2255
+ return o.each(t.match(D) || [], function(i, n) {
2246
2256
  r[n] = !0;
2247
2257
  }), r;
2248
2258
  }
@@ -2256,23 +2266,23 @@ var ro = { exports: {} };
2256
2266
  }, T = {
2257
2267
  // Add a callback or a collection of callbacks to the list
2258
2268
  add: function() {
2259
- return a && (i && !r && (m = a.length - 1, c.push(i)), function A(q) {
2260
- o.each(q, function(C, D) {
2261
- Q(D) ? (!t.unique || !T.has(D)) && a.push(D) : D && D.length && Ge(D) !== "string" && A(D);
2269
+ return a && (i && !r && (m = a.length - 1, c.push(i)), function L(q) {
2270
+ o.each(q, function(C, P) {
2271
+ Q(P) ? (!t.unique || !T.has(P)) && a.push(P) : P && P.length && Ge(P) !== "string" && L(P);
2262
2272
  });
2263
2273
  }(arguments), i && !r && v()), this;
2264
2274
  },
2265
2275
  // Remove a callback from the list
2266
2276
  remove: function() {
2267
- return o.each(arguments, function(A, q) {
2277
+ return o.each(arguments, function(L, q) {
2268
2278
  for (var C; (C = o.inArray(q, a, C)) > -1; )
2269
2279
  a.splice(C, 1), C <= m && m--;
2270
2280
  }), this;
2271
2281
  },
2272
2282
  // Check if a given callback is in the list.
2273
2283
  // If no argument is given, return whether or not list has callbacks attached.
2274
- has: function(A) {
2275
- return A ? o.inArray(A, a) > -1 : a.length > 0;
2284
+ has: function(L) {
2285
+ return L ? o.inArray(L, a) > -1 : a.length > 0;
2276
2286
  },
2277
2287
  // Remove all callbacks from the list
2278
2288
  empty: function() {
@@ -2297,8 +2307,8 @@ var ro = { exports: {} };
2297
2307
  return !!s;
2298
2308
  },
2299
2309
  // Call all callbacks with the given context and arguments
2300
- fireWith: function(A, q) {
2301
- return s || (q = q || [], q = [A, q.slice ? q.slice() : q], c.push(q), r || v()), this;
2310
+ fireWith: function(L, q) {
2311
+ return s || (q = q || [], q = [L, q.slice ? q.slice() : q], c.push(q), r || v()), this;
2302
2312
  },
2303
2313
  // Call all the callbacks with the given arguments
2304
2314
  fire: function() {
@@ -2370,10 +2380,10 @@ var ro = { exports: {} };
2370
2380
  o.each(r, function(m, v) {
2371
2381
  var T = Q(a[v[4]]) && a[v[4]];
2372
2382
  s[v[1]](function() {
2373
- var A = T && T.apply(this, arguments);
2374
- A && Q(A.promise) ? A.promise().progress(c.notify).done(c.resolve).fail(c.reject) : c[v[0] + "With"](
2383
+ var L = T && T.apply(this, arguments);
2384
+ L && Q(L.promise) ? L.promise().progress(c.notify).done(c.resolve).fail(c.reject) : c[v[0] + "With"](
2375
2385
  this,
2376
- T ? [A] : arguments
2386
+ T ? [L] : arguments
2377
2387
  );
2378
2388
  });
2379
2389
  }), a = null;
@@ -2381,63 +2391,63 @@ var ro = { exports: {} };
2381
2391
  },
2382
2392
  then: function(a, c, m) {
2383
2393
  var v = 0;
2384
- function T(A, q, C, D) {
2394
+ function T(L, q, C, P) {
2385
2395
  return function() {
2386
2396
  var V = this, ae = arguments, U = function() {
2387
2397
  var ze, ot;
2388
- if (!(A < v)) {
2398
+ if (!(L < v)) {
2389
2399
  if (ze = C.apply(V, ae), ze === q.promise())
2390
2400
  throw new TypeError("Thenable self-resolution");
2391
2401
  ot = ze && // Support: Promises/A+ section 2.3.4
2392
2402
  // https://promisesaplus.com/#point-64
2393
2403
  // Only check objects and functions for thenability
2394
- (typeof ze == "object" || typeof ze == "function") && ze.then, Q(ot) ? D ? ot.call(
2404
+ (typeof ze == "object" || typeof ze == "function") && ze.then, Q(ot) ? P ? ot.call(
2395
2405
  ze,
2396
- T(v, q, We, D),
2397
- T(v, q, wt, D)
2406
+ T(v, q, We, P),
2407
+ T(v, q, wt, P)
2398
2408
  ) : (v++, ot.call(
2399
2409
  ze,
2400
- T(v, q, We, D),
2401
- T(v, q, wt, D),
2410
+ T(v, q, We, P),
2411
+ T(v, q, wt, P),
2402
2412
  T(
2403
2413
  v,
2404
2414
  q,
2405
2415
  We,
2406
2416
  q.notifyWith
2407
2417
  )
2408
- )) : (C !== We && (V = void 0, ae = [ze]), (D || q.resolveWith)(V, ae));
2418
+ )) : (C !== We && (V = void 0, ae = [ze]), (P || q.resolveWith)(V, ae));
2409
2419
  }
2410
- }, Ie = D ? U : function() {
2420
+ }, He = P ? U : function() {
2411
2421
  try {
2412
2422
  U();
2413
2423
  } catch (ze) {
2414
2424
  o.Deferred.exceptionHook && o.Deferred.exceptionHook(
2415
2425
  ze,
2416
- Ie.stackTrace
2417
- ), A + 1 >= v && (C !== wt && (V = void 0, ae = [ze]), q.rejectWith(V, ae));
2426
+ He.stackTrace
2427
+ ), L + 1 >= v && (C !== wt && (V = void 0, ae = [ze]), q.rejectWith(V, ae));
2418
2428
  }
2419
2429
  };
2420
- A ? Ie() : (o.Deferred.getStackHook && (Ie.stackTrace = o.Deferred.getStackHook()), d.setTimeout(Ie));
2430
+ L ? He() : (o.Deferred.getStackHook && (He.stackTrace = o.Deferred.getStackHook()), f.setTimeout(He));
2421
2431
  };
2422
2432
  }
2423
- return o.Deferred(function(A) {
2433
+ return o.Deferred(function(L) {
2424
2434
  r[0][3].add(
2425
2435
  T(
2426
2436
  0,
2427
- A,
2437
+ L,
2428
2438
  Q(m) ? m : We,
2429
- A.notifyWith
2439
+ L.notifyWith
2430
2440
  )
2431
2441
  ), r[1][3].add(
2432
2442
  T(
2433
2443
  0,
2434
- A,
2444
+ L,
2435
2445
  Q(a) ? a : We
2436
2446
  )
2437
2447
  ), r[2][3].add(
2438
2448
  T(
2439
2449
  0,
2440
- A,
2450
+ L,
2441
2451
  Q(c) ? c : wt
2442
2452
  )
2443
2453
  );
@@ -2472,9 +2482,9 @@ var ro = { exports: {} };
2472
2482
  },
2473
2483
  // Deferred helper
2474
2484
  when: function(t) {
2475
- var r = arguments.length, i = r, n = Array(i), s = R.call(arguments), a = o.Deferred(), c = function(m) {
2485
+ var r = arguments.length, i = r, n = Array(i), s = j.call(arguments), a = o.Deferred(), c = function(m) {
2476
2486
  return function(v) {
2477
- n[m] = this, s[m] = arguments.length > 1 ? R.call(arguments) : v, --r || a.resolveWith(n, s);
2487
+ n[m] = this, s[m] = arguments.length > 1 ? j.call(arguments) : v, --r || a.resolveWith(n, s);
2478
2488
  };
2479
2489
  };
2480
2490
  if (r <= 1 && (xt(
@@ -2491,15 +2501,15 @@ var ro = { exports: {} };
2491
2501
  });
2492
2502
  var Gt = /^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;
2493
2503
  o.Deferred.exceptionHook = function(t, r) {
2494
- d.console && d.console.warn && t && Gt.test(t.name) && d.console.warn("jQuery.Deferred exception: " + t.message, t.stack, r);
2504
+ f.console && f.console.warn && t && Gt.test(t.name) && f.console.warn("jQuery.Deferred exception: " + t.message, t.stack, r);
2495
2505
  }, o.readyException = function(t) {
2496
- d.setTimeout(function() {
2506
+ f.setTimeout(function() {
2497
2507
  throw t;
2498
2508
  });
2499
2509
  };
2500
- var He = o.Deferred();
2510
+ var Ie = o.Deferred();
2501
2511
  o.fn.ready = function(t) {
2502
- return He.then(t).catch(function(r) {
2512
+ return Ie.then(t).catch(function(r) {
2503
2513
  o.readyException(r);
2504
2514
  }), this;
2505
2515
  }, o.extend({
@@ -2510,21 +2520,21 @@ var ro = { exports: {} };
2510
2520
  readyWait: 1,
2511
2521
  // Handle when the DOM is ready
2512
2522
  ready: function(t) {
2513
- (t === !0 ? --o.readyWait : o.isReady) || (o.isReady = !0, !(t !== !0 && --o.readyWait > 0) && He.resolveWith(ee, [o]));
2523
+ (t === !0 ? --o.readyWait : o.isReady) || (o.isReady = !0, !(t !== !0 && --o.readyWait > 0) && Ie.resolveWith(ee, [o]));
2514
2524
  }
2515
- }), o.ready.then = He.then;
2525
+ }), o.ready.then = Ie.then;
2516
2526
  function Pe() {
2517
- ee.removeEventListener("DOMContentLoaded", Pe), d.removeEventListener("load", Pe), o.ready();
2527
+ ee.removeEventListener("DOMContentLoaded", Pe), f.removeEventListener("load", Pe), o.ready();
2518
2528
  }
2519
- ee.readyState === "complete" || ee.readyState !== "loading" && !ee.documentElement.doScroll ? d.setTimeout(o.ready) : (ee.addEventListener("DOMContentLoaded", Pe), d.addEventListener("load", Pe));
2529
+ ee.readyState === "complete" || ee.readyState !== "loading" && !ee.documentElement.doScroll ? f.setTimeout(o.ready) : (ee.addEventListener("DOMContentLoaded", Pe), f.addEventListener("load", Pe));
2520
2530
  var $e = function(t, r, i, n, s, a, c) {
2521
2531
  var m = 0, v = t.length, T = i == null;
2522
2532
  if (Ge(i) === "object") {
2523
2533
  s = !0;
2524
2534
  for (m in i)
2525
2535
  $e(t, r, m, i[m], !0, a, c);
2526
- } else if (n !== void 0 && (s = !0, Q(n) || (c = !0), T && (c ? (r.call(t, n), r = null) : (T = r, r = function(A, q, C) {
2527
- return T.call(o(A), C);
2536
+ } else if (n !== void 0 && (s = !0, Q(n) || (c = !0), T && (c ? (r.call(t, n), r = null) : (T = r, r = function(L, q, C) {
2537
+ return T.call(o(L), C);
2528
2538
  })), r))
2529
2539
  for (; m < v; m++)
2530
2540
  r(
@@ -2576,7 +2586,7 @@ var ro = { exports: {} };
2576
2586
  var i, n = t[this.expando];
2577
2587
  if (n !== void 0) {
2578
2588
  if (r !== void 0)
2579
- for (Array.isArray(r) ? r = r.map(it) : (r = it(r), r = r in n ? [r] : r.match(N) || []), i = r.length; i--; )
2589
+ for (Array.isArray(r) ? r = r.map(it) : (r = it(r), r = r in n ? [r] : r.match(D) || []), i = r.length; i--; )
2580
2590
  delete n[r[i]];
2581
2591
  (r === void 0 || o.isEmptyObject(n)) && (t.nodeType ? t[this.expando] = void 0 : delete t[this.expando]);
2582
2592
  }
@@ -2697,7 +2707,7 @@ var ro = { exports: {} };
2697
2707
  return m(), s.promise(r);
2698
2708
  }
2699
2709
  });
2700
- var k = /[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source, M = new RegExp("^(?:([+-])=|)(" + k + ")([a-z%]*)$", "i"), j = ["Top", "Right", "Bottom", "Left"], W = ee.documentElement, le = function(t) {
2710
+ var k = /[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source, M = new RegExp("^(?:([+-])=|)(" + k + ")([a-z%]*)$", "i"), R = ["Top", "Right", "Bottom", "Left"], W = ee.documentElement, le = function(t) {
2701
2711
  return o.contains(t.ownerDocument, t);
2702
2712
  }, be = { composed: !0 };
2703
2713
  W.getRootNode && (le = function(t) {
@@ -2715,13 +2725,13 @@ var ro = { exports: {} };
2715
2725
  return n.cur();
2716
2726
  } : function() {
2717
2727
  return o.css(t, r, "");
2718
- }, v = m(), T = i && i[3] || (o.cssNumber[r] ? "" : "px"), A = t.nodeType && (o.cssNumber[r] || T !== "px" && +v) && M.exec(o.css(t, r));
2719
- if (A && A[3] !== T) {
2720
- for (v = v / 2, T = T || A[3], A = +v || 1; c--; )
2721
- o.style(t, r, A + T), (1 - a) * (1 - (a = m() / v || 0.5)) <= 0 && (c = 0), A = A / a;
2722
- A = A * 2, o.style(t, r, A + T), i = i || [];
2728
+ }, v = m(), T = i && i[3] || (o.cssNumber[r] ? "" : "px"), L = t.nodeType && (o.cssNumber[r] || T !== "px" && +v) && M.exec(o.css(t, r));
2729
+ if (L && L[3] !== T) {
2730
+ for (v = v / 2, T = T || L[3], L = +v || 1; c--; )
2731
+ o.style(t, r, L + T), (1 - a) * (1 - (a = m() / v || 0.5)) <= 0 && (c = 0), L = L / a;
2732
+ L = L * 2, o.style(t, r, L + T), i = i || [];
2723
2733
  }
2724
- return i && (A = +A || +v || 0, s = i[1] ? A + (i[1] + 1) * i[2] : +i[2], n && (n.unit = T, n.start = A, n.end = s)), s;
2734
+ return i && (L = +L || +v || 0, s = i[1] ? L + (i[1] + 1) * i[2] : +i[2], n && (n.unit = T, n.start = L, n.end = s)), s;
2725
2735
  }
2726
2736
  var Ve = {};
2727
2737
  function ir(t) {
@@ -2778,24 +2788,24 @@ var ro = { exports: {} };
2778
2788
  }
2779
2789
  var x = /<|&#?\w+;/;
2780
2790
  function Z(t, r, i, n, s) {
2781
- for (var a, c, m, v, T, A, q = r.createDocumentFragment(), C = [], D = 0, V = t.length; D < V; D++)
2782
- if (a = t[D], a || a === 0)
2791
+ for (var a, c, m, v, T, L, q = r.createDocumentFragment(), C = [], P = 0, V = t.length; P < V; P++)
2792
+ if (a = t[P], a || a === 0)
2783
2793
  if (Ge(a) === "object")
2784
2794
  o.merge(C, a.nodeType ? [a] : a);
2785
2795
  else if (!x.test(a))
2786
2796
  C.push(r.createTextNode(a));
2787
2797
  else {
2788
- for (c = c || q.appendChild(r.createElement("div")), m = (nr.exec(a) || ["", ""])[1].toLowerCase(), v = Ke[m] || Ke._default, c.innerHTML = v[1] + o.htmlPrefilter(a) + v[2], A = v[0]; A--; )
2798
+ for (c = c || q.appendChild(r.createElement("div")), m = (nr.exec(a) || ["", ""])[1].toLowerCase(), v = Ke[m] || Ke._default, c.innerHTML = v[1] + o.htmlPrefilter(a) + v[2], L = v[0]; L--; )
2789
2799
  c = c.lastChild;
2790
2800
  o.merge(C, c.childNodes), c = q.firstChild, c.textContent = "";
2791
2801
  }
2792
- for (q.textContent = "", D = 0; a = C[D++]; ) {
2802
+ for (q.textContent = "", P = 0; a = C[P++]; ) {
2793
2803
  if (n && o.inArray(a, n) > -1) {
2794
2804
  s && s.push(a);
2795
2805
  continue;
2796
2806
  }
2797
2807
  if (T = le(a), c = Ae(q.appendChild(a), "script"), T && Zt(c), i)
2798
- for (A = 0; a = c[A++]; )
2808
+ for (L = 0; a = c[L++]; )
2799
2809
  xr.test(a.type || "") && i.push(a);
2800
2810
  }
2801
2811
  return q;
@@ -2837,13 +2847,13 @@ var ro = { exports: {} };
2837
2847
  o.event = {
2838
2848
  global: {},
2839
2849
  add: function(t, r, i, n, s) {
2840
- var a, c, m, v, T, A, q, C, D, V, ae, U = G.get(t);
2850
+ var a, c, m, v, T, L, q, C, P, V, ae, U = G.get(t);
2841
2851
  if (Tt(t))
2842
- for (i.handler && (a = i, i = a.handler, s = a.selector), s && o.find.matchesSelector(W, s), i.guid || (i.guid = o.guid++), (v = U.events) || (v = U.events = /* @__PURE__ */ Object.create(null)), (c = U.handle) || (c = U.handle = function(Ie) {
2843
- return typeof o < "u" && o.event.triggered !== Ie.type ? o.event.dispatch.apply(t, arguments) : void 0;
2844
- }), r = (r || "").match(N) || [""], T = r.length; T--; )
2845
- m = nt.exec(r[T]) || [], D = ae = m[1], V = (m[2] || "").split(".").sort(), D && (q = o.event.special[D] || {}, D = (s ? q.delegateType : q.bindType) || D, q = o.event.special[D] || {}, A = o.extend({
2846
- type: D,
2852
+ for (i.handler && (a = i, i = a.handler, s = a.selector), s && o.find.matchesSelector(W, s), i.guid || (i.guid = o.guid++), (v = U.events) || (v = U.events = /* @__PURE__ */ Object.create(null)), (c = U.handle) || (c = U.handle = function(He) {
2853
+ return typeof o < "u" && o.event.triggered !== He.type ? o.event.dispatch.apply(t, arguments) : void 0;
2854
+ }), r = (r || "").match(D) || [""], T = r.length; T--; )
2855
+ m = nt.exec(r[T]) || [], P = ae = m[1], V = (m[2] || "").split(".").sort(), P && (q = o.event.special[P] || {}, P = (s ? q.delegateType : q.bindType) || P, q = o.event.special[P] || {}, L = o.extend({
2856
+ type: P,
2847
2857
  origType: ae,
2848
2858
  data: n,
2849
2859
  handler: i,
@@ -2851,34 +2861,34 @@ var ro = { exports: {} };
2851
2861
  selector: s,
2852
2862
  needsContext: s && o.expr.match.needsContext.test(s),
2853
2863
  namespace: V.join(".")
2854
- }, a), (C = v[D]) || (C = v[D] = [], C.delegateCount = 0, (!q.setup || q.setup.call(t, n, V, c) === !1) && t.addEventListener && t.addEventListener(D, c)), q.add && (q.add.call(t, A), A.handler.guid || (A.handler.guid = i.guid)), s ? C.splice(C.delegateCount++, 0, A) : C.push(A), o.event.global[D] = !0);
2864
+ }, a), (C = v[P]) || (C = v[P] = [], C.delegateCount = 0, (!q.setup || q.setup.call(t, n, V, c) === !1) && t.addEventListener && t.addEventListener(P, c)), q.add && (q.add.call(t, L), L.handler.guid || (L.handler.guid = i.guid)), s ? C.splice(C.delegateCount++, 0, L) : C.push(L), o.event.global[P] = !0);
2855
2865
  },
2856
2866
  // Detach an event or set of events from an element
2857
2867
  remove: function(t, r, i, n, s) {
2858
- var a, c, m, v, T, A, q, C, D, V, ae, U = G.hasData(t) && G.get(t);
2868
+ var a, c, m, v, T, L, q, C, P, V, ae, U = G.hasData(t) && G.get(t);
2859
2869
  if (!(!U || !(v = U.events))) {
2860
- for (r = (r || "").match(N) || [""], T = r.length; T--; ) {
2861
- if (m = nt.exec(r[T]) || [], D = ae = m[1], V = (m[2] || "").split(".").sort(), !D) {
2862
- for (D in v)
2863
- o.event.remove(t, D + r[T], i, n, !0);
2870
+ for (r = (r || "").match(D) || [""], T = r.length; T--; ) {
2871
+ if (m = nt.exec(r[T]) || [], P = ae = m[1], V = (m[2] || "").split(".").sort(), !P) {
2872
+ for (P in v)
2873
+ o.event.remove(t, P + r[T], i, n, !0);
2864
2874
  continue;
2865
2875
  }
2866
- for (q = o.event.special[D] || {}, D = (n ? q.delegateType : q.bindType) || D, C = v[D] || [], m = m[2] && new RegExp("(^|\\.)" + V.join("\\.(?:.*\\.|)") + "(\\.|$)"), c = a = C.length; a--; )
2867
- A = C[a], (s || ae === A.origType) && (!i || i.guid === A.guid) && (!m || m.test(A.namespace)) && (!n || n === A.selector || n === "**" && A.selector) && (C.splice(a, 1), A.selector && C.delegateCount--, q.remove && q.remove.call(t, A));
2868
- c && !C.length && ((!q.teardown || q.teardown.call(t, V, U.handle) === !1) && o.removeEvent(t, D, U.handle), delete v[D]);
2876
+ for (q = o.event.special[P] || {}, P = (n ? q.delegateType : q.bindType) || P, C = v[P] || [], m = m[2] && new RegExp("(^|\\.)" + V.join("\\.(?:.*\\.|)") + "(\\.|$)"), c = a = C.length; a--; )
2877
+ L = C[a], (s || ae === L.origType) && (!i || i.guid === L.guid) && (!m || m.test(L.namespace)) && (!n || n === L.selector || n === "**" && L.selector) && (C.splice(a, 1), L.selector && C.delegateCount--, q.remove && q.remove.call(t, L));
2878
+ c && !C.length && ((!q.teardown || q.teardown.call(t, V, U.handle) === !1) && o.removeEvent(t, P, U.handle), delete v[P]);
2869
2879
  }
2870
2880
  o.isEmptyObject(v) && G.remove(t, "handle events");
2871
2881
  }
2872
2882
  },
2873
2883
  dispatch: function(t) {
2874
- var r, i, n, s, a, c, m = new Array(arguments.length), v = o.event.fix(t), T = (G.get(this, "events") || /* @__PURE__ */ Object.create(null))[v.type] || [], A = o.event.special[v.type] || {};
2884
+ var r, i, n, s, a, c, m = new Array(arguments.length), v = o.event.fix(t), T = (G.get(this, "events") || /* @__PURE__ */ Object.create(null))[v.type] || [], L = o.event.special[v.type] || {};
2875
2885
  for (m[0] = v, r = 1; r < arguments.length; r++)
2876
2886
  m[r] = arguments[r];
2877
- if (v.delegateTarget = this, !(A.preDispatch && A.preDispatch.call(this, v) === !1)) {
2887
+ if (v.delegateTarget = this, !(L.preDispatch && L.preDispatch.call(this, v) === !1)) {
2878
2888
  for (c = o.event.handlers.call(this, v, T), r = 0; (s = c[r++]) && !v.isPropagationStopped(); )
2879
2889
  for (v.currentTarget = s.elem, i = 0; (a = s.handlers[i++]) && !v.isImmediatePropagationStopped(); )
2880
2890
  (!v.rnamespace || a.namespace === !1 || v.rnamespace.test(a.namespace)) && (v.handleObj = a, v.data = a.data, n = ((o.event.special[a.origType] || {}).handle || a.handler).apply(s.elem, m), n !== void 0 && (v.result = n) === !1 && (v.preventDefault(), v.stopPropagation()));
2881
- return A.postDispatch && A.postDispatch.call(this, v), v.result;
2891
+ return L.postDispatch && L.postDispatch.call(this, v), v.result;
2882
2892
  }
2883
2893
  },
2884
2894
  handlers: function(t, r) {
@@ -2965,7 +2975,7 @@ var ro = { exports: {} };
2965
2975
  if (n.isTrigger & 1 && this[r]) {
2966
2976
  if (c.length)
2967
2977
  (o.event.special[r] || {}).delegateType && n.stopPropagation();
2968
- else if (c = R.call(arguments), G.set(this, r, c), s = i(this, r), this[r](), a = G.get(this, r), c !== a || s ? G.set(this, r, !1) : a = {}, c !== a)
2978
+ else if (c = j.call(arguments), G.set(this, r, c), s = i(this, r), this[r](), a = G.get(this, r), c !== a || s ? G.set(this, r, !1) : a = {}, c !== a)
2969
2979
  return n.stopImmediatePropagation(), n.preventDefault(), a.value;
2970
2980
  } else c.length && (G.set(this, r, {
2971
2981
  value: o.event.trigger(
@@ -3090,7 +3100,7 @@ var ro = { exports: {} };
3090
3100
  }
3091
3101
  });
3092
3102
  var gt = /<script|<style|<link/i, Nt = /checked\s*(?:[^=]|=\s*.checked.)/i, mt = /^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;
3093
- function Ii(t, r) {
3103
+ function Hi(t, r) {
3094
3104
  return Ze(t, "table") && Ze(r.nodeType !== 11 ? r : r.firstChild, "tr") && o(t).children("tbody")[0] || t;
3095
3105
  }
3096
3106
  function oo(t) {
@@ -3117,18 +3127,18 @@ var ro = { exports: {} };
3117
3127
  }
3118
3128
  function Kt(t, r, i, n) {
3119
3129
  r = F(r);
3120
- var s, a, c, m, v, T, A = 0, q = t.length, C = q - 1, D = r[0], V = Q(D);
3121
- if (V || q > 1 && typeof D == "string" && !ne.checkClone && Nt.test(D))
3130
+ var s, a, c, m, v, T, L = 0, q = t.length, C = q - 1, P = r[0], V = Q(P);
3131
+ if (V || q > 1 && typeof P == "string" && !ne.checkClone && Nt.test(P))
3122
3132
  return t.each(function(ae) {
3123
3133
  var U = t.eq(ae);
3124
- V && (r[0] = D.call(this, ae, U.html())), Kt(U, r, i, n);
3134
+ V && (r[0] = P.call(this, ae, U.html())), Kt(U, r, i, n);
3125
3135
  });
3126
3136
  if (q && (s = Z(r, t[0].ownerDocument, !1, t, n), a = s.firstChild, s.childNodes.length === 1 && (s = a), a || n)) {
3127
- for (c = o.map(Ae(s, "script"), oo), m = c.length; A < q; A++)
3128
- v = s, A !== C && (v = o.clone(v, !0, !0), m && o.merge(c, Ae(v, "script"))), i.call(t[A], v, A);
3137
+ for (c = o.map(Ae(s, "script"), oo), m = c.length; L < q; L++)
3138
+ v = s, L !== C && (v = o.clone(v, !0, !0), m && o.merge(c, Ae(v, "script"))), i.call(t[L], v, L);
3129
3139
  if (m)
3130
- for (T = c[c.length - 1].ownerDocument, o.map(c, so), A = 0; A < m; A++)
3131
- v = c[A], xr.test(v.type || "") && !G.access(v, "globalEval") && o.contains(T, v) && (v.src && (v.type || "").toLowerCase() !== "module" ? o._evalUrl && !v.noModule && o._evalUrl(v.src, {
3140
+ for (T = c[c.length - 1].ownerDocument, o.map(c, so), L = 0; L < m; L++)
3141
+ v = c[L], xr.test(v.type || "") && !G.access(v, "globalEval") && o.contains(T, v) && (v.src && (v.type || "").toLowerCase() !== "module" ? o._evalUrl && !v.noModule && o._evalUrl(v.src, {
3132
3142
  nonce: v.nonce || v.getAttribute("nonce")
3133
3143
  }, T) : Ct(v.textContent.replace(mt, ""), v, T));
3134
3144
  }
@@ -3185,7 +3195,7 @@ var ro = { exports: {} };
3185
3195
  append: function() {
3186
3196
  return Kt(this, arguments, function(t) {
3187
3197
  if (this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9) {
3188
- var r = Ii(this, t);
3198
+ var r = Hi(this, t);
3189
3199
  r.appendChild(t);
3190
3200
  }
3191
3201
  });
@@ -3193,7 +3203,7 @@ var ro = { exports: {} };
3193
3203
  prepend: function() {
3194
3204
  return Kt(this, arguments, function(t) {
3195
3205
  if (this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9) {
3196
- var r = Ii(this, t);
3206
+ var r = Hi(this, t);
3197
3207
  r.insertBefore(t, r.firstChild);
3198
3208
  }
3199
3209
  });
@@ -3257,7 +3267,7 @@ var ro = { exports: {} };
3257
3267
  });
3258
3268
  var Kr = new RegExp("^(" + k + ")(?!px)[a-z%]+$", "i"), Tr = function(t) {
3259
3269
  var r = t.ownerDocument.defaultView;
3260
- return (!r || !r.opener) && (r = d), r.getComputedStyle(t);
3270
+ return (!r || !r.opener) && (r = f), r.getComputedStyle(t);
3261
3271
  }, Bi = function(t, r, i) {
3262
3272
  var n, s, a = {};
3263
3273
  for (s in r)
@@ -3266,17 +3276,17 @@ var ro = { exports: {} };
3266
3276
  for (s in r)
3267
3277
  t.style[s] = a[s];
3268
3278
  return n;
3269
- }, lo = new RegExp(j.join("|"), "i");
3279
+ }, lo = new RegExp(R.join("|"), "i");
3270
3280
  (function() {
3271
3281
  function t() {
3272
3282
  if (T) {
3273
3283
  v.style.cssText = "position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0", T.style.cssText = "position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%", W.appendChild(v).appendChild(T);
3274
- var A = d.getComputedStyle(T);
3275
- i = A.top !== "1%", m = r(A.marginLeft) === 12, T.style.right = "60%", a = r(A.right) === 36, n = r(A.width) === 36, T.style.position = "absolute", s = r(T.offsetWidth / 3) === 12, W.removeChild(v), T = null;
3284
+ var L = f.getComputedStyle(T);
3285
+ i = L.top !== "1%", m = r(L.marginLeft) === 12, T.style.right = "60%", a = r(L.right) === 36, n = r(L.width) === 36, T.style.position = "absolute", s = r(T.offsetWidth / 3) === 12, W.removeChild(v), T = null;
3276
3286
  }
3277
3287
  }
3278
- function r(A) {
3279
- return Math.round(parseFloat(A));
3288
+ function r(L) {
3289
+ return Math.round(parseFloat(L));
3280
3290
  }
3281
3291
  var i, n, s, a, c, m, v = ee.createElement("div"), T = ee.createElement("div");
3282
3292
  T.style && (T.style.backgroundClip = "content-box", T.cloneNode(!0).style.backgroundClip = "", ne.clearCloneStyle = T.style.backgroundClip === "content-box", o.extend(ne, {
@@ -3301,8 +3311,8 @@ var ro = { exports: {} };
3301
3311
  // Behavior in IE 9 is more subtle than in newer versions & it passes
3302
3312
  // some versions of this test; make sure not to make it pass there!
3303
3313
  reliableTrDimensions: function() {
3304
- var A, q, C, D;
3305
- return c == null && (A = ee.createElement("table"), q = ee.createElement("tr"), C = ee.createElement("div"), A.style.cssText = "position:absolute;left:-11111px", q.style.height = "1px", C.style.height = "9px", W.appendChild(A).appendChild(q).appendChild(C), D = d.getComputedStyle(q), c = parseInt(D.height) > 3, W.removeChild(A)), c;
3314
+ var L, q, C, P;
3315
+ return c == null && (L = ee.createElement("table"), q = ee.createElement("tr"), C = ee.createElement("div"), L.style.cssText = "position:absolute;left:-11111px", q.style.height = "1px", C.style.height = "9px", W.appendChild(L).appendChild(q).appendChild(C), P = f.getComputedStyle(q), c = parseInt(P.height) > 3, W.removeChild(L)), c;
3306
3316
  }
3307
3317
  }));
3308
3318
  })();
@@ -3351,7 +3361,7 @@ var ro = { exports: {} };
3351
3361
  if (i === (n ? "border" : "content"))
3352
3362
  return 0;
3353
3363
  for (; c < 4; c += 2)
3354
- i === "margin" && (v += o.css(t, i + j[c], !0, s)), n ? (i === "content" && (v -= o.css(t, "padding" + j[c], !0, s)), i !== "margin" && (v -= o.css(t, "border" + j[c] + "Width", !0, s))) : (v += o.css(t, "padding" + j[c], !0, s), i !== "padding" ? v += o.css(t, "border" + j[c] + "Width", !0, s) : m += o.css(t, "border" + j[c] + "Width", !0, s));
3364
+ i === "margin" && (v += o.css(t, i + R[c], !0, s)), n ? (i === "content" && (v -= o.css(t, "padding" + R[c], !0, s)), i !== "margin" && (v -= o.css(t, "border" + R[c] + "Width", !0, s))) : (v += o.css(t, "padding" + R[c], !0, s), i !== "padding" ? v += o.css(t, "border" + R[c] + "Width", !0, s) : m += o.css(t, "border" + R[c] + "Width", !0, s));
3355
3365
  return !n && a >= 0 && (v += Math.max(0, Math.ceil(
3356
3366
  t["offset" + r[0].toUpperCase() + r.slice(1)] - a - v - m - 0.5
3357
3367
  // If offsetWidth/offsetHeight is unknown, then we can't determine content-box scroll gutter
@@ -3454,16 +3464,16 @@ var ro = { exports: {} };
3454
3464
  }) : $i(i, r, s);
3455
3465
  },
3456
3466
  set: function(i, n, s) {
3457
- var a, c = Tr(i), m = !ne.scrollboxSize() && c.position === "absolute", v = m || s, T = v && o.css(i, "boxSizing", !1, c) === "border-box", A = s ? Qr(
3467
+ var a, c = Tr(i), m = !ne.scrollboxSize() && c.position === "absolute", v = m || s, T = v && o.css(i, "boxSizing", !1, c) === "border-box", L = s ? Qr(
3458
3468
  i,
3459
3469
  r,
3460
3470
  s,
3461
3471
  T,
3462
3472
  c
3463
3473
  ) : 0;
3464
- return T && m && (A -= Math.ceil(
3474
+ return T && m && (L -= Math.ceil(
3465
3475
  i["offset" + r[0].toUpperCase() + r.slice(1)] - parseFloat(c[r]) - Qr(i, r, "border", !1, c) - 0.5
3466
- )), A && (a = M.exec(n)) && (a[3] || "px") !== "px" && (i.style[r] = n, n = o.css(i, r)), Yi(i, n, A);
3476
+ )), L && (a = M.exec(n)) && (a[3] || "px") !== "px" && (i.style[r] = n, n = o.css(i, r)), Yi(i, n, L);
3467
3477
  }
3468
3478
  };
3469
3479
  }), o.cssHooks.marginLeft = ji(
@@ -3482,7 +3492,7 @@ var ro = { exports: {} };
3482
3492
  o.cssHooks[t + r] = {
3483
3493
  expand: function(i) {
3484
3494
  for (var n = 0, s = {}, a = typeof i == "string" ? i.split(" ") : [i]; n < 4; n++)
3485
- s[t + j[n] + r] = a[n] || a[n - 2] || a[0];
3495
+ s[t + R[n] + r] = a[n] || a[n - 2] || a[0];
3486
3496
  return s;
3487
3497
  }
3488
3498
  }, t !== "margin" && (o.cssHooks[t + r].set = Yi);
@@ -3546,17 +3556,17 @@ var ro = { exports: {} };
3546
3556
  }, o.fx = Je.prototype.init, o.fx.step = {};
3547
3557
  var Jt, Sr, ho = /^(?:toggle|show|hide)$/, po = /queueHooks$/;
3548
3558
  function ei() {
3549
- Sr && (ee.hidden === !1 && d.requestAnimationFrame ? d.requestAnimationFrame(ei) : d.setTimeout(ei, o.fx.interval), o.fx.tick());
3559
+ Sr && (ee.hidden === !1 && f.requestAnimationFrame ? f.requestAnimationFrame(ei) : f.setTimeout(ei, o.fx.interval), o.fx.tick());
3550
3560
  }
3551
3561
  function Vi() {
3552
- return d.setTimeout(function() {
3562
+ return f.setTimeout(function() {
3553
3563
  Jt = void 0;
3554
3564
  }), Jt = Date.now();
3555
3565
  }
3556
3566
  function Er(t, r) {
3557
3567
  var i, n = 0, s = { height: t };
3558
3568
  for (r = r ? 1 : 0; n < 4; n += 2 - r)
3559
- i = j[n], s["margin" + i] = s["padding" + i] = t;
3569
+ i = R[n], s["margin" + i] = s["padding" + i] = t;
3560
3570
  return r && (s.opacity = s.width = t), s;
3561
3571
  }
3562
3572
  function Ui(t, r, i) {
@@ -3565,7 +3575,7 @@ var ro = { exports: {} };
3565
3575
  return n;
3566
3576
  }
3567
3577
  function go(t, r, i) {
3568
- var n, s, a, c, m, v, T, A, q = "width" in r || "height" in r, C = this, D = {}, V = t.style, ae = t.nodeType && ke(t), U = G.get(t, "fxshow");
3578
+ var n, s, a, c, m, v, T, L, q = "width" in r || "height" in r, C = this, P = {}, V = t.style, ae = t.nodeType && ke(t), U = G.get(t, "fxshow");
3569
3579
  i.queue || (c = o._queueHooks(t, "fx"), c.unqueued == null && (c.unqueued = 0, m = c.empty.fire, c.empty.fire = function() {
3570
3580
  c.unqueued || m();
3571
3581
  }), c.unqueued++, C.always(function() {
@@ -3580,19 +3590,19 @@ var ro = { exports: {} };
3580
3590
  ae = !0;
3581
3591
  else
3582
3592
  continue;
3583
- D[n] = U && U[n] || o.style(t, n);
3593
+ P[n] = U && U[n] || o.style(t, n);
3584
3594
  }
3585
- if (v = !o.isEmptyObject(r), !(!v && o.isEmptyObject(D))) {
3586
- q && t.nodeType === 1 && (i.overflow = [V.overflow, V.overflowX, V.overflowY], T = U && U.display, T == null && (T = G.get(t, "display")), A = o.css(t, "display"), A === "none" && (T ? A = T : (At([t], !0), T = t.style.display || T, A = o.css(t, "display"), At([t]))), (A === "inline" || A === "inline-block" && T != null) && o.css(t, "float") === "none" && (v || (C.done(function() {
3595
+ if (v = !o.isEmptyObject(r), !(!v && o.isEmptyObject(P))) {
3596
+ q && t.nodeType === 1 && (i.overflow = [V.overflow, V.overflowX, V.overflowY], T = U && U.display, T == null && (T = G.get(t, "display")), L = o.css(t, "display"), L === "none" && (T ? L = T : (At([t], !0), T = t.style.display || T, L = o.css(t, "display"), At([t]))), (L === "inline" || L === "inline-block" && T != null) && o.css(t, "float") === "none" && (v || (C.done(function() {
3587
3597
  V.display = T;
3588
- }), T == null && (A = V.display, T = A === "none" ? "" : A)), V.display = "inline-block")), i.overflow && (V.overflow = "hidden", C.always(function() {
3598
+ }), T == null && (L = V.display, T = L === "none" ? "" : L)), V.display = "inline-block")), i.overflow && (V.overflow = "hidden", C.always(function() {
3589
3599
  V.overflow = i.overflow[0], V.overflowX = i.overflow[1], V.overflowY = i.overflow[2];
3590
3600
  })), v = !1;
3591
- for (n in D)
3601
+ for (n in P)
3592
3602
  v || (U ? "hidden" in U && (ae = U.hidden) : U = G.access(t, "fxshow", { display: T }), a && (U.hidden = !ae), ae && At([t], !0), C.done(function() {
3593
3603
  ae || At([t]), G.remove(t, "fxshow");
3594
- for (n in D)
3595
- o.style(t, n, D[n]);
3604
+ for (n in P)
3605
+ o.style(t, n, P[n]);
3596
3606
  })), v = Ui(ae ? U[n] : 0, n, C), n in U || (U[n] = v.start, ae && (v.end = v.start, v.start = 0));
3597
3607
  }
3598
3608
  }
@@ -3612,7 +3622,7 @@ var ro = { exports: {} };
3612
3622
  }), v = function() {
3613
3623
  if (s)
3614
3624
  return !1;
3615
- for (var q = Jt || Vi(), C = Math.max(0, T.startTime + T.duration - q), D = C / T.duration || 0, V = 1 - D, ae = 0, U = T.tweens.length; ae < U; ae++)
3625
+ for (var q = Jt || Vi(), C = Math.max(0, T.startTime + T.duration - q), P = C / T.duration || 0, V = 1 - P, ae = 0, U = T.tweens.length; ae < U; ae++)
3616
3626
  T.tweens[ae].run(V);
3617
3627
  return m.notifyWith(t, [T, V, C]), V < 1 && U ? C : (U || m.notifyWith(t, [T, 1, 0]), m.resolveWith(t, [T]), !1);
3618
3628
  }, T = m.promise({
@@ -3628,28 +3638,28 @@ var ro = { exports: {} };
3628
3638
  duration: i.duration,
3629
3639
  tweens: [],
3630
3640
  createTween: function(q, C) {
3631
- var D = o.Tween(
3641
+ var P = o.Tween(
3632
3642
  t,
3633
3643
  T.opts,
3634
3644
  q,
3635
3645
  C,
3636
3646
  T.opts.specialEasing[q] || T.opts.easing
3637
3647
  );
3638
- return T.tweens.push(D), D;
3648
+ return T.tweens.push(P), P;
3639
3649
  },
3640
3650
  stop: function(q) {
3641
- var C = 0, D = q ? T.tweens.length : 0;
3651
+ var C = 0, P = q ? T.tweens.length : 0;
3642
3652
  if (s)
3643
3653
  return this;
3644
- for (s = !0; C < D; C++)
3654
+ for (s = !0; C < P; C++)
3645
3655
  T.tweens[C].run(1);
3646
3656
  return q ? (m.notifyWith(t, [T, 1, 0]), m.resolveWith(t, [T, q])) : m.rejectWith(t, [T, q]), this;
3647
3657
  }
3648
- }), A = T.props;
3649
- for (mo(A, T.opts.specialEasing); a < c; a++)
3650
- if (n = ft.prefilters[a].call(T, t, A, T.opts), n)
3658
+ }), L = T.props;
3659
+ for (mo(L, T.opts.specialEasing); a < c; a++)
3660
+ if (n = ft.prefilters[a].call(T, t, L, T.opts), n)
3651
3661
  return Q(n.stop) && (o._queueHooks(T.elem, T.opts.queue).stop = n.stop.bind(n)), n;
3652
- return o.map(A, Ui, T), Q(T.opts.start) && T.opts.start.call(t, T), T.progress(T.opts.progress).done(T.opts.done, T.opts.complete).fail(T.opts.fail).always(T.opts.always), o.fx.timer(
3662
+ return o.map(L, Ui, T), Q(T.opts.start) && T.opts.start.call(t, T), T.progress(T.opts.progress).done(T.opts.done, T.opts.complete).fail(T.opts.fail).always(T.opts.always), o.fx.timer(
3653
3663
  o.extend(v, {
3654
3664
  elem: t,
3655
3665
  anim: T,
@@ -3665,7 +3675,7 @@ var ro = { exports: {} };
3665
3675
  }]
3666
3676
  },
3667
3677
  tweener: function(t, r) {
3668
- Q(t) ? (r = t, t = ["*"]) : t = t.match(N);
3678
+ Q(t) ? (r = t, t = ["*"]) : t = t.match(D);
3669
3679
  for (var i, n = 0, s = t.length; n < s; n++)
3670
3680
  i = t[n], ft.tweeners[i] = ft.tweeners[i] || [], ft.tweeners[i].unshift(r);
3671
3681
  },
@@ -3754,9 +3764,9 @@ var ro = { exports: {} };
3754
3764
  _default: 400
3755
3765
  }, o.fn.delay = function(t, r) {
3756
3766
  return t = o.fx && o.fx.speeds[t] || t, r = r || "fx", this.queue(r, function(i, n) {
3757
- var s = d.setTimeout(i, t);
3767
+ var s = f.setTimeout(i, t);
3758
3768
  n.stop = function() {
3759
- d.clearTimeout(s);
3769
+ f.clearTimeout(s);
3760
3770
  };
3761
3771
  });
3762
3772
  }, function() {
@@ -3800,7 +3810,7 @@ var ro = { exports: {} };
3800
3810
  }
3801
3811
  },
3802
3812
  removeAttr: function(t, r) {
3803
- var i, n = 0, s = r && r.match(N);
3813
+ var i, n = 0, s = r && r.match(D);
3804
3814
  if (s && t.nodeType === 1)
3805
3815
  for (; i = s[n++]; )
3806
3816
  t.removeAttribute(i);
@@ -3868,14 +3878,14 @@ var ro = { exports: {} };
3868
3878
  o.propFix[this.toLowerCase()] = this;
3869
3879
  });
3870
3880
  function Rt(t) {
3871
- var r = t.match(N) || [];
3881
+ var r = t.match(D) || [];
3872
3882
  return r.join(" ");
3873
3883
  }
3874
3884
  function _t(t) {
3875
3885
  return t.getAttribute && t.getAttribute("class") || "";
3876
3886
  }
3877
3887
  function ti(t) {
3878
- return Array.isArray(t) ? t : typeof t == "string" ? t.match(N) || [] : [];
3888
+ return Array.isArray(t) ? t : typeof t == "string" ? t.match(D) || [] : [];
3879
3889
  }
3880
3890
  o.fn.extend({
3881
3891
  addClass: function(t) {
@@ -3990,22 +4000,22 @@ var ro = { exports: {} };
3990
4000
  }, ne.checkOn || (o.valHooks[this].get = function(t) {
3991
4001
  return t.getAttribute("value") === null ? "on" : t.value;
3992
4002
  });
3993
- }), ne.focusin = "onfocusin" in d;
4003
+ }), ne.focusin = "onfocusin" in f;
3994
4004
  var Zi = /^(?:focusinfocus|focusoutblur)$/, Ki = function(t) {
3995
4005
  t.stopPropagation();
3996
4006
  };
3997
4007
  o.extend(o.event, {
3998
4008
  trigger: function(t, r, i, n) {
3999
- var s, a, c, m, v, T, A, q, C = [i || ee], D = Le.call(t, "type") ? t.type : t, V = Le.call(t, "namespace") ? t.namespace.split(".") : [];
4000
- if (a = q = c = i = i || ee, !(i.nodeType === 3 || i.nodeType === 8) && !Zi.test(D + o.event.triggered) && (D.indexOf(".") > -1 && (V = D.split("."), D = V.shift(), V.sort()), v = D.indexOf(":") < 0 && "on" + D, t = t[o.expando] ? t : new o.Event(D, typeof t == "object" && t), t.isTrigger = n ? 2 : 3, t.namespace = V.join("."), t.rnamespace = t.namespace ? new RegExp("(^|\\.)" + V.join("\\.(?:.*\\.|)") + "(\\.|$)") : null, t.result = void 0, t.target || (t.target = i), r = r == null ? [t] : o.makeArray(r, [t]), A = o.event.special[D] || {}, !(!n && A.trigger && A.trigger.apply(i, r) === !1))) {
4001
- if (!n && !A.noBubble && !Me(i)) {
4002
- for (m = A.delegateType || D, Zi.test(m + D) || (a = a.parentNode); a; a = a.parentNode)
4009
+ var s, a, c, m, v, T, L, q, C = [i || ee], P = Le.call(t, "type") ? t.type : t, V = Le.call(t, "namespace") ? t.namespace.split(".") : [];
4010
+ if (a = q = c = i = i || ee, !(i.nodeType === 3 || i.nodeType === 8) && !Zi.test(P + o.event.triggered) && (P.indexOf(".") > -1 && (V = P.split("."), P = V.shift(), V.sort()), v = P.indexOf(":") < 0 && "on" + P, t = t[o.expando] ? t : new o.Event(P, typeof t == "object" && t), t.isTrigger = n ? 2 : 3, t.namespace = V.join("."), t.rnamespace = t.namespace ? new RegExp("(^|\\.)" + V.join("\\.(?:.*\\.|)") + "(\\.|$)") : null, t.result = void 0, t.target || (t.target = i), r = r == null ? [t] : o.makeArray(r, [t]), L = o.event.special[P] || {}, !(!n && L.trigger && L.trigger.apply(i, r) === !1))) {
4011
+ if (!n && !L.noBubble && !Me(i)) {
4012
+ for (m = L.delegateType || P, Zi.test(m + P) || (a = a.parentNode); a; a = a.parentNode)
4003
4013
  C.push(a), c = a;
4004
- c === (i.ownerDocument || ee) && C.push(c.defaultView || c.parentWindow || d);
4014
+ c === (i.ownerDocument || ee) && C.push(c.defaultView || c.parentWindow || f);
4005
4015
  }
4006
4016
  for (s = 0; (a = C[s++]) && !t.isPropagationStopped(); )
4007
- q = a, t.type = s > 1 ? m : A.bindType || D, T = (G.get(a, "events") || /* @__PURE__ */ Object.create(null))[t.type] && G.get(a, "handle"), T && T.apply(a, r), T = v && a[v], T && T.apply && Tt(a) && (t.result = T.apply(a, r), t.result === !1 && t.preventDefault());
4008
- return t.type = D, !n && !t.isDefaultPrevented() && (!A._default || A._default.apply(C.pop(), r) === !1) && Tt(i) && v && Q(i[D]) && !Me(i) && (c = i[v], c && (i[v] = null), o.event.triggered = D, t.isPropagationStopped() && q.addEventListener(D, Ki), i[D](), t.isPropagationStopped() && q.removeEventListener(D, Ki), o.event.triggered = void 0, c && (i[v] = c)), t.result;
4017
+ q = a, t.type = s > 1 ? m : L.bindType || P, T = (G.get(a, "events") || /* @__PURE__ */ Object.create(null))[t.type] && G.get(a, "handle"), T && T.apply(a, r), T = v && a[v], T && T.apply && Tt(a) && (t.result = T.apply(a, r), t.result === !1 && t.preventDefault());
4018
+ return t.type = P, !n && !t.isDefaultPrevented() && (!L._default || L._default.apply(C.pop(), r) === !1) && Tt(i) && v && Q(i[P]) && !Me(i) && (c = i[v], c && (i[v] = null), o.event.triggered = P, t.isPropagationStopped() && q.addEventListener(P, Ki), i[P](), t.isPropagationStopped() && q.removeEventListener(P, Ki), o.event.triggered = void 0, c && (i[v] = c)), t.result;
4009
4019
  }
4010
4020
  },
4011
4021
  // Piggyback on a donor event to simulate a different one
@@ -4047,13 +4057,13 @@ var ro = { exports: {} };
4047
4057
  }
4048
4058
  };
4049
4059
  });
4050
- var ar = d.location, Ji = { guid: Date.now() }, ri = /\?/;
4060
+ var ar = f.location, Ji = { guid: Date.now() }, ri = /\?/;
4051
4061
  o.parseXML = function(t) {
4052
4062
  var r;
4053
4063
  if (!t || typeof t != "string")
4054
4064
  return null;
4055
4065
  try {
4056
- r = new d.DOMParser().parseFromString(t, "text/xml");
4066
+ r = new f.DOMParser().parseFromString(t, "text/xml");
4057
4067
  } catch {
4058
4068
  r = void 0;
4059
4069
  }
@@ -4118,7 +4128,7 @@ var ro = { exports: {} };
4118
4128
  function rn(t) {
4119
4129
  return function(r, i) {
4120
4130
  typeof r != "string" && (i = r, r = "*");
4121
- var n, s = 0, a = r.toLowerCase().match(N) || [];
4131
+ var n, s = 0, a = r.toLowerCase().match(D) || [];
4122
4132
  if (Q(i))
4123
4133
  for (; n = a[s++]; )
4124
4134
  n[0] === "+" ? (n = n.slice(1) || "*", (t[n] = t[n] || []).unshift(i)) : (t[n] = t[n] || []).push(i);
@@ -4128,8 +4138,8 @@ var ro = { exports: {} };
4128
4138
  var s = {}, a = t === ni;
4129
4139
  function c(m) {
4130
4140
  var v;
4131
- return s[m] = !0, o.each(t[m] || [], function(T, A) {
4132
- var q = A(r, i, n);
4141
+ return s[m] = !0, o.each(t[m] || [], function(T, L) {
4142
+ var q = L(r, i, n);
4133
4143
  if (typeof q == "string" && !a && !s[q])
4134
4144
  return r.dataTypes.unshift(q), c(q), !1;
4135
4145
  if (a)
@@ -4170,19 +4180,19 @@ var ro = { exports: {} };
4170
4180
  return a !== v[0] && v.unshift(a), i[a];
4171
4181
  }
4172
4182
  function Po(t, r, i, n) {
4173
- var s, a, c, m, v, T = {}, A = t.dataTypes.slice();
4174
- if (A[1])
4183
+ var s, a, c, m, v, T = {}, L = t.dataTypes.slice();
4184
+ if (L[1])
4175
4185
  for (c in t.converters)
4176
4186
  T[c.toLowerCase()] = t.converters[c];
4177
- for (a = A.shift(); a; )
4178
- if (t.responseFields[a] && (i[t.responseFields[a]] = r), !v && n && t.dataFilter && (r = t.dataFilter(r, t.dataType)), v = a, a = A.shift(), a) {
4187
+ for (a = L.shift(); a; )
4188
+ if (t.responseFields[a] && (i[t.responseFields[a]] = r), !v && n && t.dataFilter && (r = t.dataFilter(r, t.dataType)), v = a, a = L.shift(), a) {
4179
4189
  if (a === "*")
4180
4190
  a = v;
4181
4191
  else if (v !== "*" && v !== a) {
4182
4192
  if (c = T[v + " " + a] || T["* " + a], !c) {
4183
4193
  for (s in T)
4184
4194
  if (m = s.split(" "), m[1] === a && (c = T[v + " " + m[0]] || T["* " + m[0]], c)) {
4185
- c === !0 ? c = T[s] : T[s] !== !0 && (a = m[0], A.unshift(m[1]));
4195
+ c === !0 ? c = T[s] : T[s] !== !0 && (a = m[0], L.unshift(m[1]));
4186
4196
  break;
4187
4197
  }
4188
4198
  }
@@ -4282,7 +4292,7 @@ var ro = { exports: {} };
4282
4292
  // Main method
4283
4293
  ajax: function(t, r) {
4284
4294
  typeof t == "object" && (r = t, t = void 0), r = r || {};
4285
- var i, n, s, a, c, m, v, T, A, q, C = o.ajaxSetup({}, r), D = C.context || C, V = C.context && (D.nodeType || D.jquery) ? o(D) : o.event, ae = o.Deferred(), U = o.Callbacks("once memory"), Ie = C.statusCode || {}, ze = {}, ot = {}, ve = "canceled", oe = {
4295
+ var i, n, s, a, c, m, v, T, L, q, C = o.ajaxSetup({}, r), P = C.context || C, V = C.context && (P.nodeType || P.jquery) ? o(P) : o.event, ae = o.Deferred(), U = o.Callbacks("once memory"), He = C.statusCode || {}, ze = {}, ot = {}, ve = "canceled", oe = {
4286
4296
  readyState: 0,
4287
4297
  // Builds headers hashtable if needed
4288
4298
  getResponseHeader: function(he) {
@@ -4315,7 +4325,7 @@ var ro = { exports: {} };
4315
4325
  oe.always(he[oe.status]);
4316
4326
  else
4317
4327
  for (Ce in he)
4318
- Ie[Ce] = [Ie[Ce], he[Ce]];
4328
+ He[Ce] = [He[Ce], he[Ce]];
4319
4329
  return this;
4320
4330
  },
4321
4331
  // Cancel the request
@@ -4324,7 +4334,7 @@ var ro = { exports: {} };
4324
4334
  return i && i.abort(Ce), Qe(0, Ce), this;
4325
4335
  }
4326
4336
  };
4327
- if (ae.promise(oe), C.url = ((t || C.url || ar.href) + "").replace(No, ar.protocol + "//"), C.type = r.method || r.type || C.method || C.type, C.dataTypes = (C.dataType || "*").toLowerCase().match(N) || [""], C.crossDomain == null) {
4337
+ if (ae.promise(oe), C.url = ((t || C.url || ar.href) + "").replace(No, ar.protocol + "//"), C.type = r.method || r.type || C.method || C.type, C.dataTypes = (C.dataType || "*").toLowerCase().match(D) || [""], C.crossDomain == null) {
4328
4338
  m = ee.createElement("a");
4329
4339
  try {
4330
4340
  m.href = C.url, m.href = m.href, C.crossDomain = oi.protocol + "//" + oi.host != m.protocol + "//" + m.host;
@@ -4338,16 +4348,16 @@ var ro = { exports: {} };
4338
4348
  "Accept",
4339
4349
  C.dataTypes[0] && C.accepts[C.dataTypes[0]] ? C.accepts[C.dataTypes[0]] + (C.dataTypes[0] !== "*" ? ", " + tn + "; q=0.01" : "") : C.accepts["*"]
4340
4350
  );
4341
- for (A in C.headers)
4342
- oe.setRequestHeader(A, C.headers[A]);
4343
- if (C.beforeSend && (C.beforeSend.call(D, oe, C) === !1 || v))
4351
+ for (L in C.headers)
4352
+ oe.setRequestHeader(L, C.headers[L]);
4353
+ if (C.beforeSend && (C.beforeSend.call(P, oe, C) === !1 || v))
4344
4354
  return oe.abort();
4345
4355
  if (ve = "abort", U.add(C.complete), oe.done(C.success), oe.fail(C.error), i = nn(ni, C, r, oe), !i)
4346
4356
  Qe(-1, "No Transport");
4347
4357
  else {
4348
4358
  if (oe.readyState = 1, T && V.trigger("ajaxSend", [oe, C]), v)
4349
4359
  return oe;
4350
- C.async && C.timeout > 0 && (c = d.setTimeout(function() {
4360
+ C.async && C.timeout > 0 && (c = f.setTimeout(function() {
4351
4361
  oe.abort("timeout");
4352
4362
  }, C.timeout));
4353
4363
  try {
@@ -4360,11 +4370,11 @@ var ro = { exports: {} };
4360
4370
  }
4361
4371
  function Qe(he, Ce, cr, Cr) {
4362
4372
  var st, Wt, Ft, et, Dt, ct = Ce;
4363
- v || (v = !0, c && d.clearTimeout(c), i = void 0, s = Cr || "", oe.readyState = he > 0 ? 4 : 0, st = he >= 200 && he < 300 || he === 304, cr && (et = Do(C, oe, cr)), !st && o.inArray("script", C.dataTypes) > -1 && (C.converters["text script"] = function() {
4364
- }), et = Po(C, et, oe, st), st ? (C.ifModified && (Dt = oe.getResponseHeader("Last-Modified"), Dt && (o.lastModified[n] = Dt), Dt = oe.getResponseHeader("etag"), Dt && (o.etag[n] = Dt)), he === 204 || C.type === "HEAD" ? ct = "nocontent" : he === 304 ? ct = "notmodified" : (ct = et.state, Wt = et.data, Ft = et.error, st = !Ft)) : (Ft = ct, (he || !ct) && (ct = "error", he < 0 && (he = 0))), oe.status = he, oe.statusText = (Ce || ct) + "", st ? ae.resolveWith(D, [Wt, ct, oe]) : ae.rejectWith(D, [oe, ct, Ft]), oe.statusCode(Ie), Ie = void 0, T && V.trigger(
4373
+ v || (v = !0, c && f.clearTimeout(c), i = void 0, s = Cr || "", oe.readyState = he > 0 ? 4 : 0, st = he >= 200 && he < 300 || he === 304, cr && (et = Do(C, oe, cr)), !st && o.inArray("script", C.dataTypes) > -1 && (C.converters["text script"] = function() {
4374
+ }), et = Po(C, et, oe, st), st ? (C.ifModified && (Dt = oe.getResponseHeader("Last-Modified"), Dt && (o.lastModified[n] = Dt), Dt = oe.getResponseHeader("etag"), Dt && (o.etag[n] = Dt)), he === 204 || C.type === "HEAD" ? ct = "nocontent" : he === 304 ? ct = "notmodified" : (ct = et.state, Wt = et.data, Ft = et.error, st = !Ft)) : (Ft = ct, (he || !ct) && (ct = "error", he < 0 && (he = 0))), oe.status = he, oe.statusText = (Ce || ct) + "", st ? ae.resolveWith(P, [Wt, ct, oe]) : ae.rejectWith(P, [oe, ct, Ft]), oe.statusCode(He), He = void 0, T && V.trigger(
4365
4375
  st ? "ajaxSuccess" : "ajaxError",
4366
4376
  [oe, C, st ? Wt : Ft]
4367
- ), U.fireWith(D, [oe, ct]), T && (V.trigger("ajaxComplete", [oe, C]), --o.active || o.event.trigger("ajaxStop")));
4377
+ ), U.fireWith(P, [oe, ct]), T && (V.trigger("ajaxComplete", [oe, C]), --o.active || o.event.trigger("ajaxStop")));
4368
4378
  }
4369
4379
  return oe;
4370
4380
  },
@@ -4442,7 +4452,7 @@ var ro = { exports: {} };
4442
4452
  return !!(t.offsetWidth || t.offsetHeight || t.getClientRects().length);
4443
4453
  }, o.ajaxSettings.xhr = function() {
4444
4454
  try {
4445
- return new d.XMLHttpRequest();
4455
+ return new f.XMLHttpRequest();
4446
4456
  } catch {
4447
4457
  }
4448
4458
  };
@@ -4488,7 +4498,7 @@ var ro = { exports: {} };
4488
4498
  ));
4489
4499
  };
4490
4500
  }, c.onload = r(), i = c.onerror = c.ontimeout = r("error"), c.onabort !== void 0 ? c.onabort = i : c.onreadystatechange = function() {
4491
- c.readyState === 4 && d.setTimeout(function() {
4501
+ c.readyState === 4 && f.setTimeout(function() {
4492
4502
  r && i();
4493
4503
  });
4494
4504
  }, r = r("abort");
@@ -4546,10 +4556,10 @@ var ro = { exports: {} };
4546
4556
  if (c || t.dataTypes[0] === "jsonp")
4547
4557
  return n = t.jsonpCallback = Q(t.jsonpCallback) ? t.jsonpCallback() : t.jsonpCallback, c ? t[c] = t[c].replace(ai, "$1" + n) : t.jsonp !== !1 && (t.url += (ri.test(t.url) ? "&" : "?") + t.jsonp + "=" + n), t.converters["script json"] = function() {
4548
4558
  return a || o.error(n + " was not called"), a[0];
4549
- }, t.dataTypes[0] = "json", s = d[n], d[n] = function() {
4559
+ }, t.dataTypes[0] = "json", s = f[n], f[n] = function() {
4550
4560
  a = arguments;
4551
4561
  }, i.always(function() {
4552
- s === void 0 ? o(d).removeProp(n) : d[n] = s, t[n] && (t.jsonpCallback = r.jsonpCallback, on.push(n)), a && Q(s) && s(a[0]), a = s = void 0;
4562
+ s === void 0 ? o(f).removeProp(n) : f[n] = s, t[n] && (t.jsonpCallback = r.jsonpCallback, on.push(n)), a && Q(s) && s(a[0]), a = s = void 0;
4553
4563
  }), "script";
4554
4564
  }), ne.createHTMLDocument = function() {
4555
4565
  var t = ee.implementation.createHTMLDocument("").body;
@@ -4590,8 +4600,8 @@ var ro = { exports: {} };
4590
4600
  }).length;
4591
4601
  }, o.offset = {
4592
4602
  setOffset: function(t, r, i) {
4593
- var n, s, a, c, m, v, T, A = o.css(t, "position"), q = o(t), C = {};
4594
- A === "static" && (t.style.position = "relative"), m = q.offset(), a = o.css(t, "top"), v = o.css(t, "left"), T = (A === "absolute" || A === "fixed") && (a + v).indexOf("auto") > -1, T ? (n = q.position(), c = n.top, s = n.left) : (c = parseFloat(a) || 0, s = parseFloat(v) || 0), Q(r) && (r = r.call(t, i, o.extend({}, m))), r.top != null && (C.top = r.top - m.top + c), r.left != null && (C.left = r.left - m.left + s), "using" in r ? r.using.call(t, C) : (typeof C.top == "number" && (C.top += "px"), typeof C.left == "number" && (C.left += "px"), q.css(C));
4603
+ var n, s, a, c, m, v, T, L = o.css(t, "position"), q = o(t), C = {};
4604
+ L === "static" && (t.style.position = "relative"), m = q.offset(), a = o.css(t, "top"), v = o.css(t, "left"), T = (L === "absolute" || L === "fixed") && (a + v).indexOf("auto") > -1, T ? (n = q.position(), c = n.top, s = n.left) : (c = parseFloat(a) || 0, s = parseFloat(v) || 0), Q(r) && (r = r.call(t, i, o.extend({}, m))), r.top != null && (C.top = r.top - m.top + c), r.left != null && (C.left = r.left - m.left + s), "using" in r ? r.using.call(t, C) : (typeof C.top == "number" && (C.top += "px"), typeof C.left == "number" && (C.left += "px"), q.css(C));
4595
4605
  }
4596
4606
  }, o.fn.extend({
4597
4607
  // offset() relates an element's border box to the document origin
@@ -4669,7 +4679,7 @@ var ro = { exports: {} };
4669
4679
  function(i, n) {
4670
4680
  o.fn[n] = function(s, a) {
4671
4681
  var c = arguments.length && (i || typeof s != "boolean"), m = i || (s === !0 || a === !0 ? "margin" : "border");
4672
- return $e(this, function(v, T, A) {
4682
+ return $e(this, function(v, T, L) {
4673
4683
  var q;
4674
4684
  return Me(v) ? n.indexOf("outer") === 0 ? v["inner" + t] : v.document.documentElement["client" + t] : v.nodeType === 9 ? (q = v.documentElement, Math.max(
4675
4685
  v.body["scroll" + t],
@@ -4677,12 +4687,12 @@ var ro = { exports: {} };
4677
4687
  v.body["offset" + t],
4678
4688
  q["offset" + t],
4679
4689
  q["client" + t]
4680
- )) : A === void 0 ? (
4690
+ )) : L === void 0 ? (
4681
4691
  // Get width or height on the element, requesting but not forcing parseFloat
4682
4692
  o.css(v, T, m)
4683
4693
  ) : (
4684
4694
  // Set width or height on the element
4685
- o.style(v, T, A, m)
4695
+ o.style(v, T, L, m)
4686
4696
  );
4687
4697
  }, r, c ? s : void 0, c);
4688
4698
  };
@@ -4727,8 +4737,8 @@ var ro = { exports: {} };
4727
4737
  o.proxy = function(t, r) {
4728
4738
  var i, n, s;
4729
4739
  if (typeof r == "string" && (i = t[r], r = t, t = i), !!Q(t))
4730
- return n = R.call(arguments, 2), s = function() {
4731
- return t.apply(r || this, n.concat(R.call(arguments)));
4740
+ return n = j.call(arguments, 2), s = function() {
4741
+ return t.apply(r || this, n.concat(j.call(arguments)));
4732
4742
  }, s.guid = t.guid = t.guid || o.guid++, s;
4733
4743
  }, o.holdReady = function(t) {
4734
4744
  t ? o.readyWait++ : o.ready(!0);
@@ -4741,23 +4751,23 @@ var ro = { exports: {} };
4741
4751
  }, o.trim = function(t) {
4742
4752
  return t == null ? "" : (t + "").replace(Mo, "");
4743
4753
  };
4744
- var Ho = d.jQuery, Io = d.$;
4754
+ var Io = f.jQuery, Ho = f.$;
4745
4755
  return o.noConflict = function(t) {
4746
- return d.$ === o && (d.$ = Io), t && d.jQuery === o && (d.jQuery = Ho), o;
4747
- }, typeof y > "u" && (d.jQuery = d.$ = o), o;
4756
+ return f.$ === o && (f.$ = Ho), t && f.jQuery === o && (f.jQuery = Io), o;
4757
+ }, typeof y > "u" && (f.jQuery = f.$ = o), o;
4748
4758
  });
4749
4759
  })(ro);
4750
4760
  var io = ro.exports;
4751
- const er = /* @__PURE__ */ Is(io);
4761
+ const er = /* @__PURE__ */ Hs(io);
4752
4762
  var Os = { exports: {} };
4753
- (function(l, d) {
4763
+ (function(l, f) {
4754
4764
  (function(y) {
4755
4765
  l.exports = y(io);
4756
4766
  })(function(y) {
4757
- var b = !1, P = !1, R = 0, F = 2e3, B = 0, L = y, I = document, Y = window, Le = L(Y), se = [];
4767
+ var b = !1, N = !1, j = 0, F = 2e3, B = 0, A = y, H = document, Y = window, Le = A(Y), se = [];
4758
4768
  function Re() {
4759
- var $ = I.currentScript || function() {
4760
- var e = I.getElementsByTagName("script");
4769
+ var $ = H.currentScript || function() {
4770
+ var e = H.getElementsByTagName("script");
4761
4771
  return e.length ? e[e.length - 1] : !1;
4762
4772
  }(), E = $ ? $.src.split("?")[0] : "";
4763
4773
  return E.split("/").length > 0 ? E.split("/").slice(0, -1).join("/") + "/" : "";
@@ -4846,9 +4856,9 @@ var Os = { exports: {} };
4846
4856
  scrollbarid: !1
4847
4857
  }, Ge = !1, Ot = function() {
4848
4858
  if (Ge) return Ge;
4849
- var $ = I.createElement("DIV"), E = $.style, e = navigator.userAgent, J = navigator.platform, h = {};
4850
- h.haspointerlock = "pointerLockElement" in I || "webkitPointerLockElement" in I || "mozPointerLockElement" in I, h.isopera = "opera" in Y, h.isopera12 = h.isopera && "getUserMedia" in navigator, h.isoperamini = Object.prototype.toString.call(Y.operamini) === "[object OperaMini]", h.isie = "all" in I && "attachEvent" in $ && !h.isopera, h.isieold = h.isie && !("msInterpolationMode" in E), h.isie7 = h.isie && !h.isieold && (!("documentMode" in I) || I.documentMode === 7), h.isie8 = h.isie && "documentMode" in I && I.documentMode === 8, h.isie9 = h.isie && "performance" in Y && I.documentMode === 9, h.isie10 = h.isie && "performance" in Y && I.documentMode === 10, h.isie11 = "msRequestFullscreen" in $ && I.documentMode >= 11, h.ismsedge = "msCredentials" in Y, h.ismozilla = "MozAppearance" in E, h.iswebkit = !h.ismsedge && "WebkitAppearance" in E, h.ischrome = h.iswebkit && "chrome" in Y, h.ischrome38 = h.ischrome && "touchAction" in E, h.ischrome22 = !h.ischrome38 && h.ischrome && h.haspointerlock, h.ischrome26 = !h.ischrome38 && h.ischrome && "transition" in E, h.cantouch = "ontouchstart" in I.documentElement || "ontouchstart" in Y, h.hasw3ctouch = (Y.PointerEvent || !1) && (navigator.maxTouchPoints > 0 || navigator.msMaxTouchPoints > 0), h.hasmstouch = !h.hasw3ctouch && (Y.MSPointerEvent || !1), h.ismac = /^mac$/i.test(J), h.isios = h.cantouch && /iphone|ipad|ipod/i.test(J), h.isios4 = h.isios && !("seal" in Object), h.isios7 = h.isios && "webkitHidden" in I, h.isios8 = h.isios && "hidden" in I, h.isios10 = h.isios && Y.Proxy, h.isandroid = /android/i.test(e), h.haseventlistener = "addEventListener" in $, h.trstyle = !1, h.hastransform = !1, h.hastranslate3d = !1, h.transitionstyle = !1, h.hastransition = !1, h.transitionend = !1, h.trstyle = "transform", h.hastransform = "transform" in E || function() {
4851
- for (var ye = ["msTransform", "webkitTransform", "MozTransform", "OTransform"], fe = 0, N = ye.length; fe < N; fe++)
4859
+ var $ = H.createElement("DIV"), E = $.style, e = navigator.userAgent, J = navigator.platform, h = {};
4860
+ h.haspointerlock = "pointerLockElement" in H || "webkitPointerLockElement" in H || "mozPointerLockElement" in H, h.isopera = "opera" in Y, h.isopera12 = h.isopera && "getUserMedia" in navigator, h.isoperamini = Object.prototype.toString.call(Y.operamini) === "[object OperaMini]", h.isie = "all" in H && "attachEvent" in $ && !h.isopera, h.isieold = h.isie && !("msInterpolationMode" in E), h.isie7 = h.isie && !h.isieold && (!("documentMode" in H) || H.documentMode === 7), h.isie8 = h.isie && "documentMode" in H && H.documentMode === 8, h.isie9 = h.isie && "performance" in Y && H.documentMode === 9, h.isie10 = h.isie && "performance" in Y && H.documentMode === 10, h.isie11 = "msRequestFullscreen" in $ && H.documentMode >= 11, h.ismsedge = "msCredentials" in Y, h.ismozilla = "MozAppearance" in E, h.iswebkit = !h.ismsedge && "WebkitAppearance" in E, h.ischrome = h.iswebkit && "chrome" in Y, h.ischrome38 = h.ischrome && "touchAction" in E, h.ischrome22 = !h.ischrome38 && h.ischrome && h.haspointerlock, h.ischrome26 = !h.ischrome38 && h.ischrome && "transition" in E, h.cantouch = "ontouchstart" in H.documentElement || "ontouchstart" in Y, h.hasw3ctouch = (Y.PointerEvent || !1) && (navigator.maxTouchPoints > 0 || navigator.msMaxTouchPoints > 0), h.hasmstouch = !h.hasw3ctouch && (Y.MSPointerEvent || !1), h.ismac = /^mac$/i.test(J), h.isios = h.cantouch && /iphone|ipad|ipod/i.test(J), h.isios4 = h.isios && !("seal" in Object), h.isios7 = h.isios && "webkitHidden" in H, h.isios8 = h.isios && "hidden" in H, h.isios10 = h.isios && Y.Proxy, h.isandroid = /android/i.test(e), h.haseventlistener = "addEventListener" in $, h.trstyle = !1, h.hastransform = !1, h.hastranslate3d = !1, h.transitionstyle = !1, h.hastransition = !1, h.transitionend = !1, h.trstyle = "transform", h.hastransform = "transform" in E || function() {
4861
+ for (var ye = ["msTransform", "webkitTransform", "MozTransform", "OTransform"], fe = 0, D = ye.length; fe < D; fe++)
4852
4862
  if (E[ye[fe]] !== void 0) {
4853
4863
  h.trstyle = ye[fe];
4854
4864
  break;
@@ -4856,9 +4866,9 @@ var Os = { exports: {} };
4856
4866
  h.hastransform = !!h.trstyle;
4857
4867
  }(), h.hastransform && (E[h.trstyle] = "translate3d(1px,2px,3px)", h.hastranslate3d = /translate3d/.test(E[h.trstyle])), h.transitionstyle = "transition", h.prefixstyle = "", h.transitionend = "transitionend", h.hastransition = "transition" in E || function() {
4858
4868
  h.transitionend = !1;
4859
- for (var ye = ["webkitTransition", "msTransition", "MozTransition", "OTransition", "OTransition", "KhtmlTransition"], fe = ["-webkit-", "-ms-", "-moz-", "-o-", "-o", "-khtml-"], N = ["webkitTransitionEnd", "msTransitionEnd", "transitionend", "otransitionend", "oTransitionEnd", "KhtmlTransitionEnd"], Ee = 0, We = ye.length; Ee < We; Ee++)
4869
+ for (var ye = ["webkitTransition", "msTransition", "MozTransition", "OTransition", "OTransition", "KhtmlTransition"], fe = ["-webkit-", "-ms-", "-moz-", "-o-", "-o", "-khtml-"], D = ["webkitTransitionEnd", "msTransitionEnd", "transitionend", "otransitionend", "oTransitionEnd", "KhtmlTransitionEnd"], Ee = 0, We = ye.length; Ee < We; Ee++)
4860
4870
  if (ye[Ee] in E) {
4861
- h.transitionstyle = ye[Ee], h.prefixstyle = fe[Ee], h.transitionend = N[Ee];
4871
+ h.transitionstyle = ye[Ee], h.prefixstyle = fe[Ee], h.transitionend = D[Ee];
4862
4872
  break;
4863
4873
  }
4864
4874
  h.ischrome26 && (h.prefixstyle = fe[1]), h.hastransition = h.transitionstyle;
@@ -4866,7 +4876,7 @@ var Os = { exports: {} };
4866
4876
  function _e() {
4867
4877
  var ye = ["grab", "-webkit-grab", "-moz-grab"];
4868
4878
  (h.ischrome && !h.ischrome38 || h.isie) && (ye = []);
4869
- for (var fe = 0, N = ye.length; fe < N; fe++) {
4879
+ for (var fe = 0, D = ye.length; fe < D; fe++) {
4870
4880
  var Ee = ye[fe];
4871
4881
  if (E.cursor = Ee, E.cursor == Ee) return Ee;
4872
4882
  }
@@ -4876,11 +4886,11 @@ var Os = { exports: {} };
4876
4886
  }, o = function($, E) {
4877
4887
  var e = this;
4878
4888
  this.version = "3.7.6", this.name = "nicescroll", this.me = E;
4879
- var J = L("body"), h = this.opt = {
4889
+ var J = A("body"), h = this.opt = {
4880
4890
  doc: J,
4881
4891
  win: !1
4882
4892
  };
4883
- if (L.extend(h, Ct), h.snapbackspeed = 80, $)
4893
+ if (A.extend(h, Ct), h.snapbackspeed = 80, $)
4884
4894
  for (var _e in h)
4885
4895
  $[_e] !== void 0 && (h[_e] = $[_e]);
4886
4896
  if (h.disablemutationobserver && (ee = !1), this.doc = h.doc, this.iddoc = this.doc && this.doc[0] && this.doc[0].id || "", this.ispage = /^BODY|HTML/.test(h.win ? h.win[0].nodeName : this.doc[0].nodeName), this.haswrapper = h.win !== !1, this.win = h.win || (this.ispage ? Le : this.doc), this.docscroll = this.ispage && !this.haswrapper ? Le : this.win, this.body = J, this.viewport = !1, this.isfixed = !1, this.iframe = !1, this.isiframe = this.doc[0].nodeName == "IFRAME" && this.win[0].nodeName == "IFRAME", this.istextarea = this.win[0].nodeName == "TEXTAREA", this.forcescreen = !1, this.canshowonmouseevent = h.autohidemode != "scroll", this.onmousedown = !1, this.onmouseup = !1, this.onmousemove = !1, this.onmousewheel = !1, this.onkeypress = !1, this.ongesturezoom = !1, this.onclick = !1, this.onscrollstart = !1, this.onscrollend = !1, this.onscrollcancel = !1, this.onzoomin = !1, this.onzoomout = !1, this.view = !1, this.page = !1, this.scroll = {
@@ -4899,10 +4909,10 @@ var Os = { exports: {} };
4899
4909
  else
4900
4910
  do
4901
4911
  this.id = "ascrail" + F++;
4902
- while (I.getElementById(this.id));
4912
+ while (H.getElementById(this.id));
4903
4913
  this.rail = !1, this.cursor = !1, this.cursorfreezed = !1, this.selectiondrag = !1, this.zoom = !1, this.zoomactive = !1, this.hasfocus = !1, this.hasmousefocus = !1, this.railslocked = !1, this.locked = !1, this.hidden = !1, this.cursoractive = !0, this.wheelprevented = !1, this.overflowx = h.overflowx, this.overflowy = h.overflowy, this.nativescrollingarea = !1, this.checkarea = 0, this.events = [], this.saved = {}, this.delaylist = {}, this.synclist = {}, this.lastdeltax = 0, this.lastdeltay = 0, this.detected = Ot();
4904
- var N = L.extend({}, this.detected);
4905
- this.canhwscroll = N.hastransform && h.hwacceleration, this.ishwscroll = this.canhwscroll && e.haswrapper, this.isrtlmode ? this.isvertical ? this.hasreversehr = !(N.iswebkit || N.isie || N.isie11) : this.hasreversehr = !(N.iswebkit || N.isie && !N.isie10 && !N.isie11) : this.hasreversehr = !1, this.istouchcapable = !1, !N.cantouch && (N.hasw3ctouch || N.hasmstouch) ? this.istouchcapable = !0 : N.cantouch && !N.isios && !N.isandroid && (N.iswebkit || N.ismozilla) && (this.istouchcapable = !0), h.enablemouselockapi || (N.hasmousecapture = !1, N.haspointerlock = !1), this.debounced = function(u, p, k) {
4914
+ var D = A.extend({}, this.detected);
4915
+ this.canhwscroll = D.hastransform && h.hwacceleration, this.ishwscroll = this.canhwscroll && e.haswrapper, this.isrtlmode ? this.isvertical ? this.hasreversehr = !(D.iswebkit || D.isie || D.isie11) : this.hasreversehr = !(D.iswebkit || D.isie && !D.isie10 && !D.isie11) : this.hasreversehr = !1, this.istouchcapable = !1, !D.cantouch && (D.hasw3ctouch || D.hasmstouch) ? this.istouchcapable = !0 : D.cantouch && !D.isios && !D.isandroid && (D.iswebkit || D.ismozilla) && (this.istouchcapable = !0), h.enablemouselockapi || (D.hasmousecapture = !1, D.haspointerlock = !1), this.debounced = function(u, p, k) {
4906
4916
  if (e) {
4907
4917
  var M = e.delaylist[u] || !1;
4908
4918
  M || (e.delaylist[u] = {
@@ -4925,8 +4935,8 @@ var Os = { exports: {} };
4925
4935
  }, this.scrollLeft = function(u) {
4926
4936
  return u === void 0 ? e.getScrollLeft() : e.setScrollLeft(u);
4927
4937
  };
4928
- var Ee = function(u, p, k, M, j, W, le) {
4929
- this.st = u, this.ed = p, this.spd = k, this.p1 = M || 0, this.p2 = j || 1, this.p3 = W || 0, this.p4 = le || 1, this.ts = pe(), this.df = p - u;
4938
+ var Ee = function(u, p, k, M, R, W, le) {
4939
+ this.st = u, this.ed = p, this.spd = k, this.p1 = M || 0, this.p2 = R || 1, this.p3 = W || 0, this.p4 = le || 1, this.ts = pe(), this.df = p - u;
4930
4940
  };
4931
4941
  Ee.prototype = {
4932
4942
  B2: function(u) {
@@ -4950,7 +4960,7 @@ var Os = { exports: {} };
4950
4960
  }
4951
4961
  };
4952
4962
  function We() {
4953
- var u = e.doc.css(N.trstyle);
4963
+ var u = e.doc.css(D.trstyle);
4954
4964
  return u && u.substr(0, 6) == "matrix" ? u.replace(/^.*\((.*)\)$/g, "$1").replace(/px/g, "").split(/, +/) : !1;
4955
4965
  }
4956
4966
  if (this.ishwscroll) {
@@ -4959,7 +4969,7 @@ var Os = { exports: {} };
4959
4969
  y: 0,
4960
4970
  tx: "0px",
4961
4971
  ty: "0px"
4962
- }, N.hastranslate3d && N.isios && this.doc.css("-webkit-backface-visibility", "hidden"), this.getScrollTop = function(u) {
4972
+ }, D.hastranslate3d && D.isios && this.doc.css("-webkit-backface-visibility", "hidden"), this.getScrollTop = function(u) {
4963
4973
  if (!u) {
4964
4974
  var p = We();
4965
4975
  if (p) return p.length == 16 ? -p[13] : -p[5];
@@ -4974,18 +4984,18 @@ var Os = { exports: {} };
4974
4984
  }
4975
4985
  return e.doc.translate.x;
4976
4986
  }, this.notifyScrollEvent = function(u) {
4977
- var p = I.createEvent("UIEvents");
4987
+ var p = H.createEvent("UIEvents");
4978
4988
  p.initUIEvent("scroll", !1, !1, Y, 1), p.niceevent = !0, u.dispatchEvent(p);
4979
4989
  };
4980
4990
  var wt = this.isrtlmode ? 1 : -1;
4981
- N.hastranslate3d && h.enabletranslate3d ? (this.setScrollTop = function(u, p) {
4982
- e.doc.translate.y = u, e.doc.translate.ty = u * -1 + "px", e.doc.css(N.trstyle, "translate3d(" + e.doc.translate.tx + "," + e.doc.translate.ty + ",0)"), p || e.notifyScrollEvent(e.win[0]);
4991
+ D.hastranslate3d && h.enabletranslate3d ? (this.setScrollTop = function(u, p) {
4992
+ e.doc.translate.y = u, e.doc.translate.ty = u * -1 + "px", e.doc.css(D.trstyle, "translate3d(" + e.doc.translate.tx + "," + e.doc.translate.ty + ",0)"), p || e.notifyScrollEvent(e.win[0]);
4983
4993
  }, this.setScrollLeft = function(u, p) {
4984
- e.doc.translate.x = u, e.doc.translate.tx = u * wt + "px", e.doc.css(N.trstyle, "translate3d(" + e.doc.translate.tx + "," + e.doc.translate.ty + ",0)"), p || e.notifyScrollEvent(e.win[0]);
4994
+ e.doc.translate.x = u, e.doc.translate.tx = u * wt + "px", e.doc.css(D.trstyle, "translate3d(" + e.doc.translate.tx + "," + e.doc.translate.ty + ",0)"), p || e.notifyScrollEvent(e.win[0]);
4985
4995
  }) : (this.setScrollTop = function(u, p) {
4986
- e.doc.translate.y = u, e.doc.translate.ty = u * -1 + "px", e.doc.css(N.trstyle, "translate(" + e.doc.translate.tx + "," + e.doc.translate.ty + ")"), p || e.notifyScrollEvent(e.win[0]);
4996
+ e.doc.translate.y = u, e.doc.translate.ty = u * -1 + "px", e.doc.css(D.trstyle, "translate(" + e.doc.translate.tx + "," + e.doc.translate.ty + ")"), p || e.notifyScrollEvent(e.win[0]);
4987
4997
  }, this.setScrollLeft = function(u, p) {
4988
- e.doc.translate.x = u, e.doc.translate.tx = u * wt + "px", e.doc.css(N.trstyle, "translate(" + e.doc.translate.tx + "," + e.doc.translate.ty + ")"), p || e.notifyScrollEvent(e.win[0]);
4998
+ e.doc.translate.x = u, e.doc.translate.tx = u * wt + "px", e.doc.css(D.trstyle, "translate(" + e.doc.translate.tx + "," + e.doc.translate.ty + ")"), p || e.notifyScrollEvent(e.win[0]);
4989
4999
  });
4990
5000
  } else
4991
5001
  this.getScrollTop = function() {
@@ -5025,19 +5035,19 @@ var Os = { exports: {} };
5025
5035
  medium: 3,
5026
5036
  thick: 5
5027
5037
  };
5028
- function He(u, p, k) {
5029
- var M = u.css(p), j = parseFloat(M);
5030
- if (isNaN(j)) {
5031
- j = Gt[M] || 0;
5032
- var W = j == 3 ? k ? e.win.outerHeight() - e.win.innerHeight() : e.win.outerWidth() - e.win.innerWidth() : 1;
5033
- return e.isie8 && j && (j += 1), W ? j : 0;
5038
+ function Ie(u, p, k) {
5039
+ var M = u.css(p), R = parseFloat(M);
5040
+ if (isNaN(R)) {
5041
+ R = Gt[M] || 0;
5042
+ var W = R == 3 ? k ? e.win.outerHeight() - e.win.innerHeight() : e.win.outerWidth() - e.win.innerWidth() : 1;
5043
+ return e.isie8 && R && (R += 1), W ? R : 0;
5034
5044
  }
5035
- return j;
5045
+ return R;
5036
5046
  }
5037
5047
  this.getDocumentScrollOffset = function() {
5038
5048
  return {
5039
- top: Y.pageYOffset || I.documentElement.scrollTop,
5040
- left: Y.pageXOffset || I.documentElement.scrollLeft
5049
+ top: Y.pageYOffset || H.documentElement.scrollTop,
5050
+ left: Y.pageXOffset || H.documentElement.scrollLeft
5041
5051
  };
5042
5052
  }, this.getOffset = function() {
5043
5053
  if (e.isfixed) {
@@ -5064,7 +5074,7 @@ var Os = { exports: {} };
5064
5074
  if (p = {
5065
5075
  top: M.top,
5066
5076
  left: M.left - (h.railpadding.left + h.railpadding.right)
5067
- }, p.top += He(e.win, "border-top-width", !0), p.left += e.rail.align ? e.win.outerWidth() - He(e.win, "border-right-width") - e.rail.width : He(e.win, "border-left-width"), k = h.railoffset, k && (k.top && (p.top += k.top), k.left && (p.left += k.left)), e.railslocked || e.rail.css({
5077
+ }, p.top += Ie(e.win, "border-top-width", !0), p.left += e.rail.align ? e.win.outerWidth() - Ie(e.win, "border-right-width") - e.rail.width : Ie(e.win, "border-left-width"), k = h.railoffset, k && (k.top && (p.top += k.top), k.left && (p.left += k.left)), e.railslocked || e.rail.css({
5068
5078
  top: p.top,
5069
5079
  left: p.left,
5070
5080
  height: (u ? u.h : e.win.innerHeight()) - (h.railpadding.top + h.railpadding.bottom)
@@ -5076,27 +5086,27 @@ var Os = { exports: {} };
5076
5086
  top: M.top,
5077
5087
  left: M.left
5078
5088
  }, k = h.railhoffset, k && (k.top && (p.top += k.top), k.left && (p.left += k.left));
5079
- var j = e.railh.align ? p.top + He(e.win, "border-top-width", !0) + e.win.innerHeight() - e.railh.height : p.top + He(e.win, "border-top-width", !0), W = p.left + He(e.win, "border-left-width");
5089
+ var R = e.railh.align ? p.top + Ie(e.win, "border-top-width", !0) + e.win.innerHeight() - e.railh.height : p.top + Ie(e.win, "border-top-width", !0), W = p.left + Ie(e.win, "border-left-width");
5080
5090
  e.railh.css({
5081
- top: j - (h.railpadding.top + h.railpadding.bottom),
5091
+ top: R - (h.railpadding.top + h.railpadding.bottom),
5082
5092
  left: W,
5083
5093
  width: e.railh.width
5084
5094
  });
5085
5095
  }
5086
5096
  }
5087
5097
  }, this.doRailClick = function(u, p, k) {
5088
- var M, j, W, le;
5089
- e.railslocked || (e.cancelEvent(u), "pageY" in u || (u.pageX = u.clientX + I.documentElement.scrollLeft, u.pageY = u.clientY + I.documentElement.scrollTop), p ? (M = k ? e.doScrollLeft : e.doScrollTop, W = k ? (u.pageX - e.railh.offset().left - e.cursorwidth / 2) * e.scrollratio.x : (u.pageY - e.rail.offset().top - e.cursorheight / 2) * e.scrollratio.y, e.unsynched("relativexy"), M(W | 0)) : (M = k ? e.doScrollLeftBy : e.doScrollBy, W = k ? e.scroll.x : e.scroll.y, le = k ? u.pageX - e.railh.offset().left : u.pageY - e.rail.offset().top, j = k ? e.view.w : e.view.h, M(W >= le ? j : -j)));
5098
+ var M, R, W, le;
5099
+ e.railslocked || (e.cancelEvent(u), "pageY" in u || (u.pageX = u.clientX + H.documentElement.scrollLeft, u.pageY = u.clientY + H.documentElement.scrollTop), p ? (M = k ? e.doScrollLeft : e.doScrollTop, W = k ? (u.pageX - e.railh.offset().left - e.cursorwidth / 2) * e.scrollratio.x : (u.pageY - e.rail.offset().top - e.cursorheight / 2) * e.scrollratio.y, e.unsynched("relativexy"), M(W | 0)) : (M = k ? e.doScrollLeftBy : e.doScrollBy, W = k ? e.scroll.x : e.scroll.y, le = k ? u.pageX - e.railh.offset().left : u.pageY - e.rail.offset().top, R = k ? e.view.w : e.view.h, M(W >= le ? R : -R)));
5090
5100
  }, e.newscrolly = e.newscrollx = 0, e.hasanimationframe = "requestAnimationFrame" in Y, e.hascancelanimationframe = "cancelAnimationFrame" in Y, e.hasborderbox = !1, this.init = function() {
5091
- if (e.saved.css = [], N.isoperamini || N.isandroid && !("hidden" in I)) return !0;
5092
- h.emulatetouch = h.emulatetouch || h.touchbehavior, e.hasborderbox = Y.getComputedStyle && Y.getComputedStyle(I.body)["box-sizing"] === "border-box";
5101
+ if (e.saved.css = [], D.isoperamini || D.isandroid && !("hidden" in H)) return !0;
5102
+ h.emulatetouch = h.emulatetouch || h.touchbehavior, e.hasborderbox = Y.getComputedStyle && Y.getComputedStyle(H.body)["box-sizing"] === "border-box";
5093
5103
  var u = { "overflow-y": "hidden" };
5094
- if ((N.isie11 || N.isie10) && (u["-ms-overflow-style"] = "none"), e.ishwscroll && (this.doc.css(N.transitionstyle, N.prefixstyle + "transform 0ms ease-out"), N.transitionend && e.bind(e.doc, N.transitionend, e.onScrollTransitionEnd, !1)), e.zindex = "auto", !e.ispage && h.zindex == "auto" ? e.zindex = xt() || "auto" : e.zindex = h.zindex, !e.ispage && e.zindex != "auto" && e.zindex > B && (B = e.zindex), e.isie && e.zindex === 0 && h.zindex == "auto" && (e.zindex = "auto"), !e.ispage || !N.isieold) {
5104
+ if ((D.isie11 || D.isie10) && (u["-ms-overflow-style"] = "none"), e.ishwscroll && (this.doc.css(D.transitionstyle, D.prefixstyle + "transform 0ms ease-out"), D.transitionend && e.bind(e.doc, D.transitionend, e.onScrollTransitionEnd, !1)), e.zindex = "auto", !e.ispage && h.zindex == "auto" ? e.zindex = xt() || "auto" : e.zindex = h.zindex, !e.ispage && e.zindex != "auto" && e.zindex > B && (B = e.zindex), e.isie && e.zindex === 0 && h.zindex == "auto" && (e.zindex = "auto"), !e.ispage || !D.isieold) {
5095
5105
  var p = e.docscroll;
5096
- e.ispage && (p = e.haswrapper ? e.win : e.doc), e.css(p, u), e.ispage && (N.isie11 || N.isie) && e.css(L("html"), u), N.isios && !e.ispage && !e.haswrapper && e.css(J, {
5106
+ e.ispage && (p = e.haswrapper ? e.win : e.doc), e.css(p, u), e.ispage && (D.isie11 || D.isie) && e.css(A("html"), u), D.isios && !e.ispage && !e.haswrapper && e.css(J, {
5097
5107
  "-webkit-overflow-scrolling": "touch"
5098
5108
  });
5099
- var k = L(I.createElement("div"));
5109
+ var k = A(H.createElement("div"));
5100
5110
  k.css({
5101
5111
  position: "relative",
5102
5112
  top: 0,
@@ -5110,11 +5120,11 @@ var Os = { exports: {} };
5110
5120
  "-moz-border-radius": h.cursorborderradius,
5111
5121
  "border-radius": h.cursorborderradius
5112
5122
  }), k.addClass("nicescroll-cursors"), e.cursor = k;
5113
- var M = L(I.createElement("div"));
5123
+ var M = A(H.createElement("div"));
5114
5124
  M.attr("id", e.id), M.addClass("nicescroll-rails nicescroll-rails-vr");
5115
- var j, W, le = ["left", "right", "top", "bottom"];
5125
+ var R, W, le = ["left", "right", "top", "bottom"];
5116
5126
  for (var be in le)
5117
- W = le[be], j = h.railpadding[W] || 0, j && M.css("padding-" + W, j + "px");
5127
+ W = le[be], R = h.railpadding[W] || 0, R && M.css("padding-" + W, R + "px");
5118
5128
  M.append(k), M.width = Math.max(parseFloat(h.cursorwidth), k.outerWidth()), M.css({
5119
5129
  width: M.width + "px",
5120
5130
  zIndex: e.zindex,
@@ -5122,24 +5132,24 @@ var Os = { exports: {} };
5122
5132
  cursor: "default"
5123
5133
  }), M.visibility = !0, M.scrollable = !0, M.align = h.railalign == "left" ? 0 : 1, e.rail = M, e.rail.drag = !1;
5124
5134
  var ke = !1;
5125
- h.boxzoom && !e.ispage && !N.isieold && (ke = I.createElement("div"), e.bind(ke, "click", e.doZoom), e.bind(ke, "mouseenter", function() {
5135
+ h.boxzoom && !e.ispage && !D.isieold && (ke = H.createElement("div"), e.bind(ke, "click", e.doZoom), e.bind(ke, "mouseenter", function() {
5126
5136
  e.zoom.css("opacity", h.cursoropacitymax);
5127
5137
  }), e.bind(ke, "mouseleave", function() {
5128
5138
  e.zoom.css("opacity", h.cursoropacitymin);
5129
- }), e.zoom = L(ke), e.zoom.css({
5139
+ }), e.zoom = A(ke), e.zoom.css({
5130
5140
  cursor: "pointer",
5131
5141
  zIndex: e.zindex,
5132
5142
  backgroundImage: "url(" + h.scriptpath + "zoomico.png)",
5133
5143
  height: 18,
5134
5144
  width: 18,
5135
5145
  backgroundPosition: "0 0"
5136
- }), h.dblclickzoom && e.bind(e.win, "dblclick", e.doZoom), N.cantouch && h.gesturezoom && (e.ongesturezoom = function(x) {
5146
+ }), h.dblclickzoom && e.bind(e.win, "dblclick", e.doZoom), D.cantouch && h.gesturezoom && (e.ongesturezoom = function(x) {
5137
5147
  return x.scale > 1.5 && e.doZoomIn(x), x.scale < 0.8 && e.doZoomOut(x), e.cancelEvent(x);
5138
5148
  }, e.bind(e.win, "gestureend", e.ongesturezoom))), e.railh = !1;
5139
5149
  var ce;
5140
5150
  if (h.horizrailenabled && (e.css(p, {
5141
5151
  overflowX: "hidden"
5142
- }), k = L(I.createElement("div")), k.css({
5152
+ }), k = A(H.createElement("div")), k.css({
5143
5153
  position: "absolute",
5144
5154
  top: 0,
5145
5155
  height: h.cursorwidth,
@@ -5150,7 +5160,7 @@ var Os = { exports: {} };
5150
5160
  "-webkit-border-radius": h.cursorborderradius,
5151
5161
  "-moz-border-radius": h.cursorborderradius,
5152
5162
  "border-radius": h.cursorborderradius
5153
- }), N.isieold && k.css("overflow", "hidden"), k.addClass("nicescroll-cursors"), e.cursorh = k, ce = L(I.createElement("div")), ce.attr("id", e.id + "-hr"), ce.addClass("nicescroll-rails nicescroll-rails-hr"), ce.height = Math.max(parseFloat(h.cursorwidth), k.outerHeight()), ce.css({
5163
+ }), D.isieold && k.css("overflow", "hidden"), k.addClass("nicescroll-cursors"), e.cursorh = k, ce = A(H.createElement("div")), ce.attr("id", e.id + "-hr"), ce.addClass("nicescroll-rails nicescroll-rails-hr"), ce.height = Math.max(parseFloat(h.cursorwidth), k.outerHeight()), ce.css({
5154
5164
  height: ce.height + "px",
5155
5165
  zIndex: e.zindex,
5156
5166
  background: h.background
@@ -5168,7 +5178,7 @@ var Os = { exports: {} };
5168
5178
  if (e.ishwscroll) {
5169
5179
  e.win.css("position") == "static" && e.css(e.win, { position: "relative" });
5170
5180
  var Ve = e.win[0].nodeName == "HTML" ? e.body : e.win;
5171
- L(Ve).scrollTop(0).scrollLeft(0), e.zoom && (e.zoom.css({
5181
+ A(Ve).scrollTop(0).scrollLeft(0), e.zoom && (e.zoom.css({
5172
5182
  position: "absolute",
5173
5183
  top: 1,
5174
5184
  right: 0,
@@ -5194,16 +5204,16 @@ var Os = { exports: {} };
5194
5204
  position: ir
5195
5205
  }), e.body.append(ce));
5196
5206
  }
5197
- N.isios && e.css(e.win, {
5207
+ D.isios && e.css(e.win, {
5198
5208
  "-webkit-tap-highlight-color": "rgba(0,0,0,0)",
5199
5209
  "-webkit-touch-callout": "none"
5200
- }), h.disableoutline && (N.isie && e.win.attr("hideFocus", "true"), N.iswebkit && e.win.css("outline", "none"));
5210
+ }), h.disableoutline && (D.isie && e.win.attr("hideFocus", "true"), D.iswebkit && e.win.css("outline", "none"));
5201
5211
  }
5202
5212
  if (h.autohidemode === !1 ? (e.autohidedom = !1, e.rail.css({
5203
5213
  opacity: h.cursoropacitymax
5204
5214
  }), e.railh && e.railh.css({
5205
5215
  opacity: h.cursoropacitymax
5206
- })) : h.autohidemode === !0 || h.autohidemode === "leave" ? (e.autohidedom = L().add(e.rail), N.isie8 && (e.autohidedom = e.autohidedom.add(e.cursor)), e.railh && (e.autohidedom = e.autohidedom.add(e.railh)), e.railh && N.isie8 && (e.autohidedom = e.autohidedom.add(e.cursorh))) : h.autohidemode == "scroll" ? (e.autohidedom = L().add(e.rail), e.railh && (e.autohidedom = e.autohidedom.add(e.railh))) : h.autohidemode == "cursor" ? (e.autohidedom = L().add(e.cursor), e.railh && (e.autohidedom = e.autohidedom.add(e.cursorh))) : h.autohidemode == "hidden" && (e.autohidedom = !1, e.hide(), e.railslocked = !1), N.cantouch || e.istouchcapable || h.emulatetouch || N.hasmstouch) {
5216
+ })) : h.autohidemode === !0 || h.autohidemode === "leave" ? (e.autohidedom = A().add(e.rail), D.isie8 && (e.autohidedom = e.autohidedom.add(e.cursor)), e.railh && (e.autohidedom = e.autohidedom.add(e.railh)), e.railh && D.isie8 && (e.autohidedom = e.autohidedom.add(e.cursorh))) : h.autohidemode == "scroll" ? (e.autohidedom = A().add(e.rail), e.railh && (e.autohidedom = e.autohidedom.add(e.railh))) : h.autohidemode == "cursor" ? (e.autohidedom = A().add(e.cursor), e.railh && (e.autohidedom = e.autohidedom.add(e.cursorh))) : h.autohidemode == "hidden" && (e.autohidedom = !1, e.hide(), e.railslocked = !1), D.cantouch || e.istouchcapable || h.emulatetouch || D.hasmstouch) {
5207
5217
  e.scrollmom = new qt(e), e.ontouchstart = function(x) {
5208
5218
  if (e.locked || x.pointerType && (x.pointerType === "mouse" || x.pointerType === x.MSPOINTER_TYPE_MOUSE)) return !1;
5209
5219
  if (e.hasmoving = !1, e.scrollmom.timer && (e.triggerScrollEnd(), e.scrollmom.stop()), !e.railslocked) {
@@ -5238,18 +5248,18 @@ var Os = { exports: {} };
5238
5248
  }, Te = e.getContentSize(), Lt = Te.h - je.h, jt = Te.w - je.w;
5239
5249
  e.rail.scrollable && !e.railh.scrollable ? e.rail.drag.ck = Lt > 0 ? "v" : !1 : !e.rail.scrollable && e.railh.scrollable ? e.rail.drag.ck = jt > 0 ? "h" : !1 : e.rail.drag.ck = !1;
5240
5250
  }
5241
- if (h.emulatetouch && e.isiframe && N.isie) {
5251
+ if (h.emulatetouch && e.isiframe && D.isie) {
5242
5252
  var Ne = e.win.position();
5243
5253
  e.rail.drag.x += Ne.left, e.rail.drag.y += Ne.top;
5244
5254
  }
5245
5255
  if (e.hasmoving = !1, e.lastmouseup = !1, e.scrollmom.reset(x.clientX, x.clientY), Z && Ue) {
5246
5256
  var De = /INPUT|SELECT|BUTTON|TEXTAREA/i.test(Z.nodeName);
5247
5257
  if (!De)
5248
- return N.hasmousecapture && Z.setCapture(), h.emulatetouch ? (Z.onclick && !Z._onclick && (Z._onclick = Z.onclick, Z.onclick = function(gt) {
5258
+ return D.hasmousecapture && Z.setCapture(), h.emulatetouch ? (Z.onclick && !Z._onclick && (Z._onclick = Z.onclick, Z.onclick = function(gt) {
5249
5259
  if (e.hasmoving) return !1;
5250
5260
  Z._onclick.call(this, gt);
5251
5261
  }), e.cancelEvent(x)) : e.stopPropagation(x);
5252
- /SUBMIT|CANCEL|BUTTON/i.test(L(Z).attr("type")) && (e.preventclick = {
5262
+ /SUBMIT|CANCEL|BUTTON/i.test(A(Z).attr("type")) && (e.preventclick = {
5253
5263
  tg: Z,
5254
5264
  click: !1
5255
5265
  });
@@ -5261,12 +5271,12 @@ var Os = { exports: {} };
5261
5271
  if (x.pointerType && (x.pointerType === "mouse" || x.pointerType === x.MSPOINTER_TYPE_MOUSE)) return !1;
5262
5272
  e.rail.drag = !1;
5263
5273
  var Z = x.type === "mouseup";
5264
- if (e.hasmoving && (e.scrollmom.doMomentum(), e.lastmouseup = !0, e.hideCursor(), N.hasmousecapture && I.releaseCapture(), Z))
5274
+ if (e.hasmoving && (e.scrollmom.doMomentum(), e.lastmouseup = !0, e.hideCursor(), D.hasmousecapture && H.releaseCapture(), Z))
5265
5275
  return e.cancelEvent(x);
5266
5276
  } else if (e.rail.drag.pt == 1)
5267
5277
  return e.onmouseup(x);
5268
5278
  };
5269
- var At = h.emulatetouch && e.isiframe && !N.hasmousecapture, pt = h.directionlockdeadzone * 0.3 | 0;
5279
+ var At = h.emulatetouch && e.isiframe && !D.hasmousecapture, pt = h.directionlockdeadzone * 0.3 | 0;
5270
5280
  e.ontouchmove = function(x, Z) {
5271
5281
  if (!e.rail.drag || x.targetTouches && h.preventmultitouchscrolling && x.targetTouches.length > 1 || x.pointerType && (x.pointerType === "mouse" || x.pointerType === x.MSPOINTER_TYPE_MOUSE)) return !0;
5272
5282
  if (e.rail.drag.pt == 2) {
@@ -5289,7 +5299,7 @@ var Os = { exports: {} };
5289
5299
  e.triggerScrollStart(x.clientX, x.clientY, 0, 0, 0), e.hasmoving = !0;
5290
5300
  }
5291
5301
  return e.preventclick && !e.preventclick.click && (e.preventclick.click = e.preventclick.tg.onclick || !1, e.preventclick.tg.onclick = e.onpreventclick), e.rail.drag.dl && (e.rail.drag.dl == "v" ? De = e.rail.drag.sl : e.rail.drag.dl == "h" && (Ne = e.rail.drag.st)), e.synched("touchmove", function() {
5292
- e.rail.drag && e.rail.drag.pt == 2 && (e.prepareTransition && e.resetTransition(), e.rail.scrollable && e.setScrollTop(Ne), e.scrollmom.update(Lt, je), e.railh && e.railh.scrollable ? (e.setScrollLeft(De), e.showCursor(Ne, De)) : e.showCursor(Ne), N.isie10 && I.selection.clear());
5302
+ e.rail.drag && e.rail.drag.pt == 2 && (e.prepareTransition && e.resetTransition(), e.rail.scrollable && e.setScrollTop(Ne), e.scrollmom.update(Lt, je), e.railh && e.railh.scrollable ? (e.setScrollLeft(De), e.showCursor(Ne, De)) : e.showCursor(Ne), D.isie10 && H.selection.clear());
5293
5303
  }), e.cancelEvent(x);
5294
5304
  } else if (e.rail.drag.pt == 1)
5295
5305
  return e.onmousemove(x);
@@ -5305,11 +5315,11 @@ var Os = { exports: {} };
5305
5315
  hr: !!Z
5306
5316
  };
5307
5317
  var ge = e.getTarget(x);
5308
- return !e.ispage && N.hasmousecapture && ge.setCapture(), e.isiframe && !N.hasmousecapture && (e.saved.csspointerevents = e.doc.css("pointer-events"), e.css(e.doc, { "pointer-events": "none" })), e.cancelEvent(x);
5318
+ return !e.ispage && D.hasmousecapture && ge.setCapture(), e.isiframe && !D.hasmousecapture && (e.saved.csspointerevents = e.doc.css("pointer-events"), e.css(e.doc, { "pointer-events": "none" })), e.cancelEvent(x);
5309
5319
  }
5310
5320
  }, e.ontouchendCursor = function(x) {
5311
5321
  if (e.rail.drag)
5312
- return N.hasmousecapture && I.releaseCapture(), e.isiframe && !N.hasmousecapture && e.doc.css("pointer-events", e.saved.csspointerevents), e.rail.drag.pt != 3 ? void 0 : (e.rail.drag = !1, e.cancelEvent(x));
5322
+ return D.hasmousecapture && H.releaseCapture(), e.isiframe && !D.hasmousecapture && e.doc.css("pointer-events", e.saved.csspointerevents), e.rail.drag.pt != 3 ? void 0 : (e.rail.drag = !1, e.cancelEvent(x));
5313
5323
  }, e.ontouchmoveCursor = function(x) {
5314
5324
  if (e.rail.drag) {
5315
5325
  if (e.rail.drag.pt != 3) return;
@@ -5340,17 +5350,17 @@ var Os = { exports: {} };
5340
5350
  hr: Z || !1
5341
5351
  };
5342
5352
  var ge = e.getTarget(x);
5343
- return N.hasmousecapture && ge.setCapture(), e.isiframe && !N.hasmousecapture && (e.saved.csspointerevents = e.doc.css("pointer-events"), e.css(e.doc, {
5353
+ return D.hasmousecapture && ge.setCapture(), e.isiframe && !D.hasmousecapture && (e.saved.csspointerevents = e.doc.css("pointer-events"), e.css(e.doc, {
5344
5354
  "pointer-events": "none"
5345
5355
  })), e.hasmoving = !1, e.cancelEvent(x);
5346
5356
  }
5347
5357
  }, e.onmouseup = function(x) {
5348
5358
  if (e.rail.drag)
5349
- return e.rail.drag.pt != 1 ? !0 : (N.hasmousecapture && I.releaseCapture(), e.isiframe && !N.hasmousecapture && e.doc.css("pointer-events", e.saved.csspointerevents), e.rail.drag = !1, e.cursorfreezed = !1, e.hasmoving && e.triggerScrollEnd(), e.cancelEvent(x));
5359
+ return e.rail.drag.pt != 1 ? !0 : (D.hasmousecapture && H.releaseCapture(), e.isiframe && !D.hasmousecapture && e.doc.css("pointer-events", e.saved.csspointerevents), e.rail.drag = !1, e.cursorfreezed = !1, e.hasmoving && e.triggerScrollEnd(), e.cancelEvent(x));
5350
5360
  }, e.onmousemove = function(x) {
5351
5361
  if (e.rail.drag) {
5352
5362
  if (e.rail.drag.pt !== 1) return;
5353
- if (N.ischrome && x.which === 0) return e.onmouseup(x);
5363
+ if (D.ischrome && x.which === 0) return e.onmouseup(x);
5354
5364
  if (e.cursorfreezed = !0, e.hasmoving || e.triggerScrollStart(x.clientX, x.clientY, 0, 0, 0), e.hasmoving = !0, e.rail.drag.hr) {
5355
5365
  e.scroll.x = e.rail.drag.sx + (x.clientX - e.rail.drag.x), e.scroll.x < 0 && (e.scroll.x = 0);
5356
5366
  var Z = e.scrollvaluemaxw;
@@ -5365,16 +5375,16 @@ var Os = { exports: {} };
5365
5375
  }), e.cancelEvent(x);
5366
5376
  } else
5367
5377
  e.checkarea = 0;
5368
- }, N.cantouch || h.emulatetouch)
5378
+ }, D.cantouch || h.emulatetouch)
5369
5379
  e.onpreventclick = function(x) {
5370
5380
  if (e.preventclick)
5371
5381
  return e.preventclick.tg.onclick = e.preventclick.click, e.preventclick = !1, e.cancelEvent(x);
5372
- }, e.onclick = N.isios ? !1 : function(x) {
5382
+ }, e.onclick = D.isios ? !1 : function(x) {
5373
5383
  return e.lastmouseup ? (e.lastmouseup = !1, e.cancelEvent(x)) : !0;
5374
- }, h.grabcursorenabled && N.cursorgrabvalue && (e.css(e.ispage ? e.doc : e.win, {
5375
- cursor: N.cursorgrabvalue
5384
+ }, h.grabcursorenabled && D.cursorgrabvalue && (e.css(e.ispage ? e.doc : e.win, {
5385
+ cursor: D.cursorgrabvalue
5376
5386
  }), e.css(e.rail, {
5377
- cursor: N.cursorgrabvalue
5387
+ cursor: D.cursorgrabvalue
5378
5388
  }));
5379
5389
  else {
5380
5390
  var nr = function(x) {
@@ -5391,10 +5401,10 @@ var Os = { exports: {} };
5391
5401
  }
5392
5402
  }
5393
5403
  };
5394
- "getSelection" in I ? e.hasTextSelected = function() {
5395
- return I.getSelection().rangeCount > 0;
5396
- } : "selection" in I ? e.hasTextSelected = function() {
5397
- return I.selection.type != "None";
5404
+ "getSelection" in H ? e.hasTextSelected = function() {
5405
+ return H.getSelection().rangeCount > 0;
5406
+ } : "selection" in H ? e.hasTextSelected = function() {
5407
+ return H.selection.type != "None";
5398
5408
  } : e.hasTextSelected = function() {
5399
5409
  return !1;
5400
5410
  }, e.onselectionstart = function(x) {
@@ -5407,19 +5417,19 @@ var Os = { exports: {} };
5407
5417
  }, 250);
5408
5418
  };
5409
5419
  }
5410
- if (N.hasw3ctouch ? (e.css(e.ispage ? L("html") : e.win, { "touch-action": "none" }), e.css(e.rail, {
5420
+ if (D.hasw3ctouch ? (e.css(e.ispage ? A("html") : e.win, { "touch-action": "none" }), e.css(e.rail, {
5411
5421
  "touch-action": "none"
5412
5422
  }), e.css(e.cursor, {
5413
5423
  "touch-action": "none"
5414
- }), e.bind(e.win, "pointerdown", e.ontouchstart), e.bind(I, "pointerup", e.ontouchend), e.delegate(I, "pointermove", e.ontouchmove)) : N.hasmstouch ? (e.css(e.ispage ? L("html") : e.win, { "-ms-touch-action": "none" }), e.css(e.rail, {
5424
+ }), e.bind(e.win, "pointerdown", e.ontouchstart), e.bind(H, "pointerup", e.ontouchend), e.delegate(H, "pointermove", e.ontouchmove)) : D.hasmstouch ? (e.css(e.ispage ? A("html") : e.win, { "-ms-touch-action": "none" }), e.css(e.rail, {
5415
5425
  "-ms-touch-action": "none"
5416
5426
  }), e.css(e.cursor, {
5417
5427
  "-ms-touch-action": "none"
5418
- }), e.bind(e.win, "MSPointerDown", e.ontouchstart), e.bind(I, "MSPointerUp", e.ontouchend), e.delegate(I, "MSPointerMove", e.ontouchmove), e.bind(e.cursor, "MSGestureHold", function(x) {
5428
+ }), e.bind(e.win, "MSPointerDown", e.ontouchstart), e.bind(H, "MSPointerUp", e.ontouchend), e.delegate(H, "MSPointerMove", e.ontouchmove), e.bind(e.cursor, "MSGestureHold", function(x) {
5419
5429
  x.preventDefault();
5420
5430
  }), e.bind(e.cursor, "contextmenu", function(x) {
5421
5431
  x.preventDefault();
5422
- })) : N.cantouch && (e.bind(e.win, "touchstart", e.ontouchstart, !1, !0), e.bind(I, "touchend", e.ontouchend, !1, !0), e.bind(I, "touchcancel", e.ontouchend, !1, !0), e.delegate(I, "touchmove", e.ontouchmove, !1, !0)), h.emulatetouch && (e.bind(e.win, "mousedown", e.ontouchstart, !1, !0), e.bind(I, "mouseup", e.ontouchend, !1, !0), e.bind(I, "mousemove", e.ontouchmove, !1, !0)), (h.cursordragontouch || !N.cantouch && !h.emulatetouch) && (e.rail.css({
5432
+ })) : D.cantouch && (e.bind(e.win, "touchstart", e.ontouchstart, !1, !0), e.bind(H, "touchend", e.ontouchend, !1, !0), e.bind(H, "touchcancel", e.ontouchend, !1, !0), e.delegate(H, "touchmove", e.ontouchmove, !1, !0)), h.emulatetouch && (e.bind(e.win, "mousedown", e.ontouchstart, !1, !0), e.bind(H, "mouseup", e.ontouchend, !1, !0), e.bind(H, "mousemove", e.ontouchmove, !1, !0)), (h.cursordragontouch || !D.cantouch && !h.emulatetouch) && (e.rail.css({
5423
5433
  cursor: "default"
5424
5434
  }), e.railh && e.railh.css({
5425
5435
  cursor: "default"
@@ -5449,30 +5459,30 @@ var Os = { exports: {} };
5449
5459
  e.cancelEvent(x);
5450
5460
  }), e.bind(e.cursorh, "dblclick", function(x) {
5451
5461
  e.cancelEvent(x);
5452
- })))), h.cursordragontouch && (this.istouchcapable || N.cantouch) && (e.bind(e.cursor, "touchstart", e.ontouchstartCursor), e.bind(e.cursor, "touchmove", e.ontouchmoveCursor), e.bind(e.cursor, "touchend", e.ontouchendCursor), e.cursorh && e.bind(e.cursorh, "touchstart", function(x) {
5462
+ })))), h.cursordragontouch && (this.istouchcapable || D.cantouch) && (e.bind(e.cursor, "touchstart", e.ontouchstartCursor), e.bind(e.cursor, "touchmove", e.ontouchmoveCursor), e.bind(e.cursor, "touchend", e.ontouchendCursor), e.cursorh && e.bind(e.cursorh, "touchstart", function(x) {
5453
5463
  e.ontouchstartCursor(x, !0);
5454
- }), e.cursorh && e.bind(e.cursorh, "touchmove", e.ontouchmoveCursor), e.cursorh && e.bind(e.cursorh, "touchend", e.ontouchendCursor)), !h.emulatetouch && !N.isandroid && !N.isios ? (e.bind(N.hasmousecapture ? e.win : I, "mouseup", e.onmouseup), e.bind(I, "mousemove", e.onmousemove), e.onclick && e.bind(I, "click", e.onclick), e.bind(e.cursor, "mousedown", e.onmousedown), e.bind(e.cursor, "mouseup", e.onmouseup), e.railh && (e.bind(e.cursorh, "mousedown", function(x) {
5464
+ }), e.cursorh && e.bind(e.cursorh, "touchmove", e.ontouchmoveCursor), e.cursorh && e.bind(e.cursorh, "touchend", e.ontouchendCursor)), !h.emulatetouch && !D.isandroid && !D.isios ? (e.bind(D.hasmousecapture ? e.win : H, "mouseup", e.onmouseup), e.bind(H, "mousemove", e.onmousemove), e.onclick && e.bind(H, "click", e.onclick), e.bind(e.cursor, "mousedown", e.onmousedown), e.bind(e.cursor, "mouseup", e.onmouseup), e.railh && (e.bind(e.cursorh, "mousedown", function(x) {
5455
5465
  e.onmousedown(x, !0);
5456
- }), e.bind(e.cursorh, "mouseup", e.onmouseup)), !e.ispage && h.enablescrollonselection && (e.bind(e.win[0], "mousedown", e.onselectionstart), e.bind(I, "mouseup", e.onselectionend), e.bind(e.cursor, "mouseup", e.onselectionend), e.cursorh && e.bind(e.cursorh, "mouseup", e.onselectionend), e.bind(I, "mousemove", e.onselectiondrag)), e.zoom && (e.jqbind(e.zoom, "mouseenter", function() {
5466
+ }), e.bind(e.cursorh, "mouseup", e.onmouseup)), !e.ispage && h.enablescrollonselection && (e.bind(e.win[0], "mousedown", e.onselectionstart), e.bind(H, "mouseup", e.onselectionend), e.bind(e.cursor, "mouseup", e.onselectionend), e.cursorh && e.bind(e.cursorh, "mouseup", e.onselectionend), e.bind(H, "mousemove", e.onselectiondrag)), e.zoom && (e.jqbind(e.zoom, "mouseenter", function() {
5457
5467
  e.canshowonmouseevent && e.showCursor(), e.rail.active = !0;
5458
5468
  }), e.jqbind(e.zoom, "mouseleave", function() {
5459
5469
  e.rail.active = !1, e.rail.drag || e.hideCursor();
5460
- }))) : (e.bind(N.hasmousecapture ? e.win : I, "mouseup", e.ontouchend), e.onclick && e.bind(I, "click", e.onclick), h.cursordragontouch ? (e.bind(e.cursor, "mousedown", e.onmousedown), e.bind(e.cursor, "mouseup", e.onmouseup), e.cursorh && e.bind(e.cursorh, "mousedown", function(x) {
5470
+ }))) : (e.bind(D.hasmousecapture ? e.win : H, "mouseup", e.ontouchend), e.onclick && e.bind(H, "click", e.onclick), h.cursordragontouch ? (e.bind(e.cursor, "mousedown", e.onmousedown), e.bind(e.cursor, "mouseup", e.onmouseup), e.cursorh && e.bind(e.cursorh, "mousedown", function(x) {
5461
5471
  e.onmousedown(x, !0);
5462
5472
  }), e.cursorh && e.bind(e.cursorh, "mouseup", e.onmouseup)) : (e.bind(e.rail, "mousedown", function(x) {
5463
5473
  x.preventDefault();
5464
5474
  }), e.railh && e.bind(e.railh, "mousedown", function(x) {
5465
5475
  x.preventDefault();
5466
- }))), h.enablemousewheel && (e.isiframe || e.mousewheel(N.isie && e.ispage ? I : e.win, e.onmousewheel), e.mousewheel(e.rail, e.onmousewheel), e.railh && e.mousewheel(e.railh, e.onmousewheelhr)), !e.ispage && !N.cantouch && !/HTML|^BODY/.test(e.win[0].nodeName) && (e.win.attr("tabindex") || e.win.attr({
5467
- tabindex: ++R
5476
+ }))), h.enablemousewheel && (e.isiframe || e.mousewheel(D.isie && e.ispage ? H : e.win, e.onmousewheel), e.mousewheel(e.rail, e.onmousewheel), e.railh && e.mousewheel(e.railh, e.onmousewheelhr)), !e.ispage && !D.cantouch && !/HTML|^BODY/.test(e.win[0].nodeName) && (e.win.attr("tabindex") || e.win.attr({
5477
+ tabindex: ++j
5468
5478
  }), e.bind(e.win, "focus", function(x) {
5469
5479
  b = e.getTarget(x).id || e.getTarget(x) || !1, e.hasfocus = !0, e.canshowonmouseevent && e.noticeCursor();
5470
5480
  }), e.bind(e.win, "blur", function(x) {
5471
5481
  b = !1, e.hasfocus = !1;
5472
5482
  }), e.bind(e.win, "mouseenter", function(x) {
5473
- P = e.getTarget(x).id || e.getTarget(x) || !1, e.hasmousefocus = !0, e.canshowonmouseevent && e.noticeCursor();
5483
+ N = e.getTarget(x).id || e.getTarget(x) || !1, e.hasmousefocus = !0, e.canshowonmouseevent && e.noticeCursor();
5474
5484
  }), e.bind(e.win, "mouseleave", function(x) {
5475
- P = !1, e.hasmousefocus = !1, e.rail.drag || e.hideCursor();
5485
+ N = !1, e.hasmousefocus = !1, e.rail.drag || e.hideCursor();
5476
5486
  })), e.onkeypress = function(x) {
5477
5487
  if (e.railslocked && e.page.maxh === 0) return !0;
5478
5488
  x = x || Y.event;
@@ -5481,8 +5491,8 @@ var Os = { exports: {} };
5481
5491
  var ge = Z.getAttribute("type") || Z.type || !1;
5482
5492
  if (!ge || !/submit|button|cancel/i.tp) return !0;
5483
5493
  }
5484
- if (L(Z).attr("contenteditable")) return !0;
5485
- if (e.hasfocus || e.hasmousefocus && !b || e.ispage && !b && !P) {
5494
+ if (A(Z).attr("contenteditable")) return !0;
5495
+ if (e.hasfocus || e.hasmousefocus && !b || e.ispage && !b && !N) {
5486
5496
  var Ue = x.keyCode;
5487
5497
  if (e.railslocked && Ue != 27) return e.cancelEvent(x);
5488
5498
  var nt = x.ctrlKey || !1, je = x.shiftKey || !1, Te = !1;
@@ -5528,15 +5538,15 @@ var Os = { exports: {} };
5528
5538
  }
5529
5539
  if (Te) return e.cancelEvent(x);
5530
5540
  }
5531
- }, h.enablekeyboard && e.bind(I, N.isopera && !N.isopera12 ? "keypress" : "keydown", e.onkeypress), e.bind(I, "keydown", function(x) {
5541
+ }, h.enablekeyboard && e.bind(H, D.isopera && !D.isopera12 ? "keypress" : "keydown", e.onkeypress), e.bind(H, "keydown", function(x) {
5532
5542
  var Z = x.ctrlKey || !1;
5533
5543
  Z && (e.wheelprevented = !0);
5534
- }), e.bind(I, "keyup", function(x) {
5544
+ }), e.bind(H, "keyup", function(x) {
5535
5545
  var Z = x.ctrlKey || !1;
5536
5546
  Z || (e.wheelprevented = !1);
5537
5547
  }), e.bind(Y, "blur", function(x) {
5538
5548
  e.wheelprevented = !1;
5539
- }), e.bind(Y, "resize", e.onscreenresize), e.bind(Y, "orientationchange", e.onscreenresize), e.bind(Y, "load", e.lazyResize), N.ischrome && !e.ispage && !e.haswrapper) {
5549
+ }), e.bind(Y, "resize", e.onscreenresize), e.bind(Y, "orientationchange", e.onscreenresize), e.bind(Y, "load", e.lazyResize), D.ischrome && !e.ispage && !e.haswrapper) {
5540
5550
  var xr = e.win.attr("style"), Ke = parseFloat(e.win.css("width")) + 1;
5541
5551
  e.win.css("width", Ke), e.synched("chromefix", function() {
5542
5552
  e.win.attr("style", xr);
@@ -5547,9 +5557,9 @@ var Os = { exports: {} };
5547
5557
  }, h.enableobserver && (!e.isie11 && ee !== !1 && (e.observerbody = new ee(function(x) {
5548
5558
  if (x.forEach(function(Z) {
5549
5559
  if (Z.type == "attributes")
5550
- return J.hasClass("modal-open") && J.hasClass("modal-dialog") && !L.contains(L(".modal-dialog")[0], e.doc[0]) ? e.hide() : e.show();
5560
+ return J.hasClass("modal-open") && J.hasClass("modal-dialog") && !A.contains(A(".modal-dialog")[0], e.doc[0]) ? e.hide() : e.show();
5551
5561
  }), e.me.clientWidth != e.page.width || e.me.clientHeight != e.page.height) return e.lazyResize(30);
5552
- }), e.observerbody.observe(I.body, {
5562
+ }), e.observerbody.observe(H.body, {
5553
5563
  childList: !0,
5554
5564
  subtree: !0,
5555
5565
  characterData: !1,
@@ -5576,7 +5586,7 @@ var Os = { exports: {} };
5576
5586
  characterData: !1,
5577
5587
  attributes: !1,
5578
5588
  subtree: !1
5579
- })) : (e.bind(Ae, N.isie && !N.isie9 ? "propertychange" : "DOMAttrModified", e.onAttributeChange), N.isie9 && Ae.attachEvent("onpropertychange", e.onAttributeChange), e.bind(Ae, "DOMNodeRemoved", function(x) {
5589
+ })) : (e.bind(Ae, D.isie && !D.isie9 ? "propertychange" : "DOMAttrModified", e.onAttributeChange), D.isie9 && Ae.attachEvent("onpropertychange", e.onAttributeChange), e.bind(Ae, "DOMNodeRemoved", function(x) {
5580
5590
  x.target === Ae && e.remove();
5581
5591
  }));
5582
5592
  }
@@ -5595,7 +5605,7 @@ var Os = { exports: {} };
5595
5605
  if (e.iframexd)
5596
5606
  return "console" in Y && console.log("NiceScroll error: policy restriced iframe"), !0;
5597
5607
  if (e.forcescreen = !0, e.isiframe && (e.iframe = {
5598
- doc: L(x),
5608
+ doc: A(x),
5599
5609
  html: e.doc.contents().find("html")[0],
5600
5610
  body: e.doc.contents().find("body")[0]
5601
5611
  }, e.getContentSize = function() {
@@ -5603,17 +5613,17 @@ var Os = { exports: {} };
5603
5613
  w: Math.max(e.iframe.html.scrollWidth, e.iframe.body.scrollWidth),
5604
5614
  h: Math.max(e.iframe.html.scrollHeight, e.iframe.body.scrollHeight)
5605
5615
  };
5606
- }, e.docscroll = L(e.iframe.body)), !N.isios && h.iframeautoresize && !e.isiframe) {
5616
+ }, e.docscroll = A(e.iframe.body)), !D.isios && h.iframeautoresize && !e.isiframe) {
5607
5617
  e.win.scrollTop(0), e.doc.height("");
5608
5618
  var ge = Math.max(x.getElementsByTagName("html")[0].scrollHeight, x.body.scrollHeight);
5609
5619
  e.doc.height(ge);
5610
5620
  }
5611
- e.lazyResize(30), e.css(L(e.iframe.body), u), N.isios && e.haswrapper && e.css(L(x.body), {
5621
+ e.lazyResize(30), e.css(A(e.iframe.body), u), D.isios && e.haswrapper && e.css(A(x.body), {
5612
5622
  "-webkit-transform": "translate3d(0,0,0)"
5613
- }), "contentWindow" in this ? e.bind(this.contentWindow, "scroll", e.onscroll) : e.bind(x, "scroll", e.onscroll), h.enablemousewheel && e.mousewheel(x, e.onmousewheel), h.enablekeyboard && e.bind(x, N.isopera ? "keypress" : "keydown", e.onkeypress), N.cantouch ? (e.bind(x, "touchstart", e.ontouchstart), e.bind(x, "touchmove", e.ontouchmove)) : h.emulatetouch && (e.bind(x, "mousedown", e.ontouchstart), e.bind(x, "mousemove", function(Ue) {
5623
+ }), "contentWindow" in this ? e.bind(this.contentWindow, "scroll", e.onscroll) : e.bind(x, "scroll", e.onscroll), h.enablemousewheel && e.mousewheel(x, e.onmousewheel), h.enablekeyboard && e.bind(x, D.isopera ? "keypress" : "keydown", e.onkeypress), D.cantouch ? (e.bind(x, "touchstart", e.ontouchstart), e.bind(x, "touchmove", e.ontouchmove)) : h.emulatetouch && (e.bind(x, "mousedown", e.ontouchstart), e.bind(x, "mousemove", function(Ue) {
5614
5624
  return e.ontouchmove(Ue, !0);
5615
- }), h.grabcursorenabled && N.cursorgrabvalue && e.css(L(x.body), {
5616
- cursor: N.cursorgrabvalue
5625
+ }), h.grabcursorenabled && D.cursorgrabvalue && e.css(A(x.body), {
5626
+ cursor: D.cursorgrabvalue
5617
5627
  })), e.bind(x, "mouseup", e.ontouchend), e.zoom && (h.dblclickzoom && e.bind(x, "dblclick", e.doZoom), e.ongesturezoom && e.bind(x, "gestureend", e.ongesturezoom));
5618
5628
  };
5619
5629
  this.doc[0].readyState && this.doc[0].readyState === "complete" && setTimeout(function() {
@@ -5650,8 +5660,8 @@ var Os = { exports: {} };
5650
5660
  e.showCursor(p, k), e.rail.active || e.hideCursor(u);
5651
5661
  }, this.getContentSize = e.ispage ? function() {
5652
5662
  return {
5653
- w: Math.max(I.body.scrollWidth, I.documentElement.scrollWidth),
5654
- h: Math.max(I.body.scrollHeight, I.documentElement.scrollHeight)
5663
+ w: Math.max(H.body.scrollWidth, H.documentElement.scrollWidth),
5664
+ h: Math.max(H.body.scrollHeight, H.documentElement.scrollHeight)
5655
5665
  };
5656
5666
  } : e.haswrapper ? function() {
5657
5667
  return {
@@ -5665,11 +5675,11 @@ var Os = { exports: {} };
5665
5675
  };
5666
5676
  }, this.onResize = function(u, p) {
5667
5677
  if (!e || !e.win) return !1;
5668
- var k = e.page.maxh, M = e.page.maxw, j = e.view.h, W = e.view.w;
5678
+ var k = e.page.maxh, M = e.page.maxw, R = e.view.h, W = e.view.w;
5669
5679
  if (e.view = {
5670
5680
  w: e.ispage ? e.win.width() : e.win[0].clientWidth,
5671
5681
  h: e.ispage ? e.win.height() : e.win[0].clientHeight
5672
- }, e.page = p || e.getContentSize(), e.page.maxh = Math.max(0, e.page.h - e.view.h), e.page.maxw = Math.max(0, e.page.w - e.view.w), e.page.maxh == k && e.page.maxw == M && e.view.w == W && e.view.h == j) {
5682
+ }, e.page = p || e.getContentSize(), e.page.maxh = Math.max(0, e.page.h - e.view.h), e.page.maxw = Math.max(0, e.page.w - e.view.w), e.page.maxh == k && e.page.maxw == M && e.view.w == W && e.view.h == R) {
5673
5683
  if (e.ispage)
5674
5684
  return e;
5675
5685
  var le = e.win.offset();
@@ -5701,23 +5711,23 @@ var Os = { exports: {} };
5701
5711
  }, u), e;
5702
5712
  };
5703
5713
  function $e(u, p, k, M) {
5704
- e._bind(u, p, function(j) {
5705
- j = j || Y.event;
5714
+ e._bind(u, p, function(R) {
5715
+ R = R || Y.event;
5706
5716
  var W = {
5707
- original: j,
5708
- target: j.target || j.srcElement,
5717
+ original: R,
5718
+ target: R.target || R.srcElement,
5709
5719
  type: "wheel",
5710
- deltaMode: j.type == "MozMousePixelScroll" ? 0 : 1,
5720
+ deltaMode: R.type == "MozMousePixelScroll" ? 0 : 1,
5711
5721
  deltaX: 0,
5712
5722
  deltaZ: 0,
5713
5723
  preventDefault: function() {
5714
- return j.preventDefault ? j.preventDefault() : j.returnValue = !1, !1;
5724
+ return R.preventDefault ? R.preventDefault() : R.returnValue = !1, !1;
5715
5725
  },
5716
5726
  stopImmediatePropagation: function() {
5717
- j.stopImmediatePropagation ? j.stopImmediatePropagation() : j.cancelBubble = !0;
5727
+ R.stopImmediatePropagation ? R.stopImmediatePropagation() : R.cancelBubble = !0;
5718
5728
  }
5719
5729
  };
5720
- return p == "mousewheel" ? (j.wheelDeltaX && (W.deltaX = -1 / 40 * j.wheelDeltaX), j.wheelDeltaY && (W.deltaY = -1 / 40 * j.wheelDeltaY), !W.deltaY && !W.deltaX && (W.deltaY = -1 / 40 * j.wheelDelta)) : W.deltaY = j.detail, k.call(u, W);
5730
+ return p == "mousewheel" ? (R.wheelDeltaX && (W.deltaX = -1 / 40 * R.wheelDeltaX), R.wheelDeltaY && (W.deltaY = -1 / 40 * R.wheelDeltaY), !W.deltaY && !W.deltaX && (W.deltaY = -1 / 40 * R.wheelDelta)) : W.deltaY = R.detail, k.call(u, W);
5721
5731
  }, M);
5722
5732
  }
5723
5733
  this.jqbind = function(u, p, k) {
@@ -5726,18 +5736,18 @@ var Os = { exports: {} };
5726
5736
  n: p,
5727
5737
  f: k,
5728
5738
  q: !0
5729
- }), L(u).on(p, k);
5739
+ }), A(u).on(p, k);
5730
5740
  }, this.mousewheel = function(u, p, k) {
5731
5741
  var M = "jquery" in u ? u[0] : u;
5732
- if ("onwheel" in I.createElement("div"))
5742
+ if ("onwheel" in H.createElement("div"))
5733
5743
  e._bind(M, "wheel", p, k || !1);
5734
5744
  else {
5735
- var j = I.onmousewheel !== void 0 ? "mousewheel" : "DOMMouseScroll";
5736
- $e(M, j, p, k || !1), j == "DOMMouseScroll" && $e(M, "MozMousePixelScroll", p, k || !1);
5745
+ var R = H.onmousewheel !== void 0 ? "mousewheel" : "DOMMouseScroll";
5746
+ $e(M, R, p, k || !1), R == "DOMMouseScroll" && $e(M, "MozMousePixelScroll", p, k || !1);
5737
5747
  }
5738
5748
  };
5739
5749
  var kt = !1;
5740
- if (N.haseventlistener) {
5750
+ if (D.haseventlistener) {
5741
5751
  try {
5742
5752
  var Zr = Object.defineProperty({}, "passive", { get: function() {
5743
5753
  kt = !0;
@@ -5755,16 +5765,16 @@ var Os = { exports: {} };
5755
5765
  this.returnValue = !1;
5756
5766
  }, Event.prototype.stopPropagation = function() {
5757
5767
  this.cancelBubble = !0;
5758
- }, Y.constructor.prototype.addEventListener = I.constructor.prototype.addEventListener = Element.prototype.addEventListener = function(u, p, k) {
5768
+ }, Y.constructor.prototype.addEventListener = H.constructor.prototype.addEventListener = Element.prototype.addEventListener = function(u, p, k) {
5759
5769
  this.attachEvent("on" + u, p);
5760
- }, Y.constructor.prototype.removeEventListener = I.constructor.prototype.removeEventListener = Element.prototype.removeEventListener = function(u, p, k) {
5770
+ }, Y.constructor.prototype.removeEventListener = H.constructor.prototype.removeEventListener = Element.prototype.removeEventListener = function(u, p, k) {
5761
5771
  this.detachEvent("on" + u, p);
5762
5772
  }, this.cancelEvent = function(u) {
5763
5773
  return u = u || Y.event, u && (u.cancelBubble = !0, u.cancel = !0, u.returnValue = !1), !1;
5764
5774
  }, this.stopPropagation = function(u) {
5765
5775
  return u = u || Y.event, u && (u.cancelBubble = !0), !1;
5766
5776
  };
5767
- this.delegate = function(u, p, k, M, j) {
5777
+ this.delegate = function(u, p, k, M, R) {
5768
5778
  var W = se[p] || !1;
5769
5779
  W || (W = {
5770
5780
  a: [],
@@ -5774,23 +5784,23 @@ var Os = { exports: {} };
5774
5784
  if (ce = be[Ve].call(le.target, le), ce === !1) return !1;
5775
5785
  return ce;
5776
5786
  }
5777
- }, e.bind(u, p, W.f, M, j), se[p] = W), e.ispage ? (W.a = [e.id].concat(W.a), W.l = [k].concat(W.l)) : (W.a.push(e.id), W.l.push(k));
5778
- }, this.undelegate = function(u, p, k, M, j) {
5787
+ }, e.bind(u, p, W.f, M, R), se[p] = W), e.ispage ? (W.a = [e.id].concat(W.a), W.l = [k].concat(W.l)) : (W.a.push(e.id), W.l.push(k));
5788
+ }, this.undelegate = function(u, p, k, M, R) {
5779
5789
  var W = se[p] || !1;
5780
5790
  if (W && W.l)
5781
5791
  for (var le = 0, be = W.l.length; le < be; le++)
5782
5792
  W.a[le] === e.id && (W.a.splice(le), W.l.splice(le), W.a.length === 0 && (e._unbind(u, p, W.l.f), se[p] = null));
5783
- }, this.bind = function(u, p, k, M, j) {
5793
+ }, this.bind = function(u, p, k, M, R) {
5784
5794
  var W = "jquery" in u ? u[0] : u;
5785
- e._bind(W, p, k, M || !1, j || !1);
5786
- }, this._bind = function(u, p, k, M, j) {
5795
+ e._bind(W, p, k, M || !1, R || !1);
5796
+ }, this._bind = function(u, p, k, M, R) {
5787
5797
  e.events.push({
5788
5798
  e: u,
5789
5799
  n: p,
5790
5800
  f: k,
5791
5801
  b: M,
5792
5802
  q: !1
5793
- }), kt && j ? u.addEventListener(p, k, { passive: !1, capture: M }) : u.addEventListener(p, k, M || !1);
5803
+ }), kt && R ? u.addEventListener(p, k, { passive: !1, capture: M }) : u.addEventListener(p, k, M || !1);
5794
5804
  }, this._unbind = function(u, p, k, M) {
5795
5805
  se[p] ? e.undelegate(u, p, k, M) : u.removeEventListener(p, k, M);
5796
5806
  }, this.unbindAll = function() {
@@ -5819,13 +5829,13 @@ var Os = { exports: {} };
5819
5829
  }, this.remove = function() {
5820
5830
  e.stop(), e.cursortimeout && clearTimeout(e.cursortimeout);
5821
5831
  for (var u in e.delaylist) e.delaylist[u] && Q(e.delaylist[u].h);
5822
- e.doZoomOut(), e.unbindAll(), N.isie9 && e.win[0].detachEvent("onpropertychange", e.onAttributeChange), e.observer !== !1 && e.observer.disconnect(), e.observerremover !== !1 && e.observerremover.disconnect(), e.observerbody !== !1 && e.observerbody.disconnect(), e.events = null, e.cursor && e.cursor.remove(), e.cursorh && e.cursorh.remove(), e.rail && e.rail.remove(), e.railh && e.railh.remove(), e.zoom && e.zoom.remove();
5832
+ e.doZoomOut(), e.unbindAll(), D.isie9 && e.win[0].detachEvent("onpropertychange", e.onAttributeChange), e.observer !== !1 && e.observer.disconnect(), e.observerremover !== !1 && e.observerremover.disconnect(), e.observerbody !== !1 && e.observerbody.disconnect(), e.events = null, e.cursor && e.cursor.remove(), e.cursorh && e.cursorh.remove(), e.rail && e.rail.remove(), e.railh && e.railh.remove(), e.zoom && e.zoom.remove();
5823
5833
  for (var p = 0; p < e.saved.css.length; p++) {
5824
5834
  var k = e.saved.css[p];
5825
5835
  k[0].css(k[1], k[2] === void 0 ? "" : k[2]);
5826
5836
  }
5827
5837
  e.saved = !1, e.me.data("__nicescroll", "");
5828
- var M = L.nicescroll;
5838
+ var M = A.nicescroll;
5829
5839
  M.each(function(W) {
5830
5840
  if (this && this.id === e.id) {
5831
5841
  delete M[W];
@@ -5833,8 +5843,8 @@ var Os = { exports: {} };
5833
5843
  M.length--, M.length && delete M[M.length];
5834
5844
  }
5835
5845
  });
5836
- for (var j in e)
5837
- e[j] = null, delete e[j];
5846
+ for (var R in e)
5847
+ e[R] = null, delete e[R];
5838
5848
  e = null;
5839
5849
  }, this.scrollstart = function(u) {
5840
5850
  return this.onscrollstart = u, e;
@@ -5850,21 +5860,21 @@ var Os = { exports: {} };
5850
5860
  var p = u.target ? u.target : u;
5851
5861
  if (p.nodeName == "OPTION") return !0;
5852
5862
  for (; p && p.nodeType == 1 && p !== this.me[0] && !/^BODY|HTML/.test(p.nodeName); ) {
5853
- var k = L(p), M = k.css("overflowY") || k.css("overflowX") || k.css("overflow") || "";
5863
+ var k = A(p), M = k.css("overflowY") || k.css("overflowX") || k.css("overflow") || "";
5854
5864
  if (/scroll|auto/.test(M)) return p.clientHeight != p.scrollHeight;
5855
5865
  p = p.parentNode ? p.parentNode : !1;
5856
5866
  }
5857
5867
  return !1;
5858
5868
  }, this.getViewport = function(u) {
5859
5869
  for (var p = u && u.parentNode ? u.parentNode : !1; p && p.nodeType == 1 && !/^BODY|HTML/.test(p.nodeName); ) {
5860
- var k = L(p);
5870
+ var k = A(p);
5861
5871
  if (/fixed|absolute/.test(k.css("position"))) return k;
5862
5872
  var M = k.css("overflowY") || k.css("overflowX") || k.css("overflow") || "";
5863
5873
  if (/scroll|auto/.test(M) && p.clientHeight != p.scrollHeight || k.getNiceScroll().length > 0) return k;
5864
5874
  p = p.parentNode ? p.parentNode : !1;
5865
5875
  }
5866
5876
  return !1;
5867
- }, this.triggerScrollStart = function(u, p, k, M, j) {
5877
+ }, this.triggerScrollStart = function(u, p, k, M, R) {
5868
5878
  if (e.onscrollstart) {
5869
5879
  var W = {
5870
5880
  type: "scrollstart",
@@ -5880,7 +5890,7 @@ var Os = { exports: {} };
5880
5890
  x: e.newscrollx,
5881
5891
  y: e.newscrolly
5882
5892
  },
5883
- speed: j
5893
+ speed: R
5884
5894
  };
5885
5895
  e.onscrollstart.call(e, W);
5886
5896
  }
@@ -5903,8 +5913,8 @@ var Os = { exports: {} };
5903
5913
  var br = 0, it = 0, Tt = 0, ut = 1;
5904
5914
  function G(u, p, k, M) {
5905
5915
  e.scrollrunning || (e.newscrolly = e.getScrollTop(), e.newscrollx = e.getScrollLeft(), Tt = pe());
5906
- var j = pe() - Tt;
5907
- if (Tt = pe(), j > 350 ? ut = 1 : ut += (2 - ut) / 10, u = u * ut | 0, p = p * ut | 0, u) {
5916
+ var R = pe() - Tt;
5917
+ if (Tt = pe(), R > 350 ? ut = 1 : ut += (2 - ut) / 10, u = u * ut | 0, p = p * ut | 0, u) {
5908
5918
  if (M) {
5909
5919
  if (u < 0) {
5910
5920
  if (e.getScrollLeft() >= e.page.maxw) return !0;
@@ -5937,14 +5947,14 @@ var Os = { exports: {} };
5937
5947
  }
5938
5948
  var qe = !1;
5939
5949
  function wr(u, p, k) {
5940
- var M, j;
5950
+ var M, R;
5941
5951
  if (!k && qe) return !0;
5942
- if (u.deltaMode === 0 ? (M = -(u.deltaX * (h.mousescrollstep / (18 * 3))) | 0, j = -(u.deltaY * (h.mousescrollstep / (18 * 3))) | 0) : u.deltaMode === 1 && (M = -(u.deltaX * h.mousescrollstep * 50 / 80) | 0, j = -(u.deltaY * h.mousescrollstep * 50 / 80) | 0), p && h.oneaxismousemode && M === 0 && j && (M = j, j = 0, k)) {
5952
+ if (u.deltaMode === 0 ? (M = -(u.deltaX * (h.mousescrollstep / (18 * 3))) | 0, R = -(u.deltaY * (h.mousescrollstep / (18 * 3))) | 0) : u.deltaMode === 1 && (M = -(u.deltaX * h.mousescrollstep * 50 / 80) | 0, R = -(u.deltaY * h.mousescrollstep * 50 / 80) | 0), p && h.oneaxismousemode && M === 0 && R && (M = R, R = 0, k)) {
5943
5953
  var W = M < 0 ? e.getScrollLeft() >= e.page.maxw : e.getScrollLeft() <= 0;
5944
- W && (j = M, M = 0);
5954
+ W && (R = M, M = 0);
5945
5955
  }
5946
5956
  e.isrtlmode && (M = -M);
5947
- var le = G(M, j, k, !0);
5957
+ var le = G(M, R, k, !0);
5948
5958
  if (le)
5949
5959
  k && (qe = !0);
5950
5960
  else
@@ -5982,19 +5992,19 @@ var Os = { exports: {} };
5982
5992
  }, this.doScrollPos = function(u, p, k) {
5983
5993
  var M = u > e.page.maxw ? e.page.maxw : u;
5984
5994
  M < 0 && (M = 0);
5985
- var j = p > e.page.maxh ? e.page.maxh : p;
5986
- j < 0 && (j = 0), e.synched("scroll", function() {
5987
- e.setScrollTop(j), e.setScrollLeft(M);
5995
+ var R = p > e.page.maxh ? e.page.maxh : p;
5996
+ R < 0 && (R = 0), e.synched("scroll", function() {
5997
+ e.setScrollTop(R), e.setScrollLeft(M);
5988
5998
  });
5989
5999
  }, this.cancelScroll = function() {
5990
6000
  };
5991
- else if (e.ishwscroll && N.hastransition && h.usetransition && h.smoothscroll) {
6001
+ else if (e.ishwscroll && D.hastransition && h.usetransition && h.smoothscroll) {
5992
6002
  var rr = "";
5993
6003
  this.resetTransition = function() {
5994
- rr = "", e.doc.css(N.prefixstyle + "transition-duration", "0ms");
6004
+ rr = "", e.doc.css(D.prefixstyle + "transition-duration", "0ms");
5995
6005
  }, this.prepareTransition = function(u, p) {
5996
6006
  var k = p ? u : e.getTransitionSpeed(u), M = k + "ms";
5997
- return rr !== M && (rr = M, e.doc.css(N.prefixstyle + "transition-duration", M)), k;
6007
+ return rr !== M && (rr = M, e.doc.css(D.prefixstyle + "transition-duration", M)), k;
5998
6008
  }, this.doScrollLeft = function(u, p) {
5999
6009
  var k = e.scrollrunning ? e.newscrolly : e.getScrollTop();
6000
6010
  e.doScrollPos(u, k, p);
@@ -6017,17 +6027,17 @@ var Os = { exports: {} };
6017
6027
  this.running = !1;
6018
6028
  }
6019
6029
  }, this.doScrollPos = function(u, p, k) {
6020
- var M = e.getScrollTop(), j = e.getScrollLeft();
6021
- if (((e.newscrolly - M) * (p - M) < 0 || (e.newscrollx - j) * (u - j) < 0) && e.cancelScroll(), h.bouncescroll ? (p < 0 ? p = p / 2 | 0 : p > e.page.maxh && (p = e.page.maxh + (p - e.page.maxh) / 2 | 0), u < 0 ? u = u / 2 | 0 : u > e.page.maxw && (u = e.page.maxw + (u - e.page.maxw) / 2 | 0)) : (p < 0 ? p = 0 : p > e.page.maxh && (p = e.page.maxh), u < 0 ? u = 0 : u > e.page.maxw && (u = e.page.maxw)), e.scrollrunning && u == e.newscrollx && p == e.newscrolly) return !1;
6030
+ var M = e.getScrollTop(), R = e.getScrollLeft();
6031
+ if (((e.newscrolly - M) * (p - M) < 0 || (e.newscrollx - R) * (u - R) < 0) && e.cancelScroll(), h.bouncescroll ? (p < 0 ? p = p / 2 | 0 : p > e.page.maxh && (p = e.page.maxh + (p - e.page.maxh) / 2 | 0), u < 0 ? u = u / 2 | 0 : u > e.page.maxw && (u = e.page.maxw + (u - e.page.maxw) / 2 | 0)) : (p < 0 ? p = 0 : p > e.page.maxh && (p = e.page.maxh), u < 0 ? u = 0 : u > e.page.maxw && (u = e.page.maxw)), e.scrollrunning && u == e.newscrollx && p == e.newscrolly) return !1;
6022
6032
  e.newscrolly = p, e.newscrollx = u;
6023
6033
  var W = e.getScrollTop(), le = e.getScrollLeft(), be = {};
6024
6034
  be.x = u - le, be.y = p - W;
6025
6035
  var ke = Math.sqrt(be.x * be.x + be.y * be.y) | 0, ce = e.prepareTransition(ke);
6026
- e.scrollrunning || (e.scrollrunning = !0, e.triggerScrollStart(le, W, u, p, ce), e.cursorupdate.start()), e.scrollendtrapped = !0, N.transitionend || (e.scrollendtrapped && clearTimeout(e.scrollendtrapped), e.scrollendtrapped = setTimeout(e.onScrollTransitionEnd, ce)), e.setScrollTop(e.newscrolly), e.setScrollLeft(e.newscrollx);
6036
+ e.scrollrunning || (e.scrollrunning = !0, e.triggerScrollStart(le, W, u, p, ce), e.cursorupdate.start()), e.scrollendtrapped = !0, D.transitionend || (e.scrollendtrapped && clearTimeout(e.scrollendtrapped), e.scrollendtrapped = setTimeout(e.onScrollTransitionEnd, ce)), e.setScrollTop(e.newscrolly), e.setScrollLeft(e.newscrollx);
6027
6037
  }, this.cancelScroll = function() {
6028
6038
  if (!e.scrollendtrapped) return !0;
6029
6039
  var u = e.getScrollTop(), p = e.getScrollLeft();
6030
- return e.scrollrunning = !1, N.transitionend || clearTimeout(N.transitionend), e.scrollendtrapped = !1, e.resetTransition(), e.setScrollTop(u), e.railh && e.setScrollLeft(p), e.timerscroll && e.timerscroll.tm && clearInterval(e.timerscroll.tm), e.timerscroll = !1, e.cursorfreezed = !1, e.cursorupdate.stop(), e.showCursor(u, p), e;
6040
+ return e.scrollrunning = !1, D.transitionend || clearTimeout(D.transitionend), e.scrollendtrapped = !1, e.resetTransition(), e.setScrollTop(u), e.railh && e.setScrollLeft(p), e.timerscroll && e.timerscroll.tm && clearInterval(e.timerscroll.tm), e.timerscroll = !1, e.cursorfreezed = !1, e.cursorupdate.stop(), e.showCursor(u, p), e;
6031
6041
  }, this.onScrollTransitionEnd = function() {
6032
6042
  if (e.scrollendtrapped) {
6033
6043
  var u = e.getScrollTop(), p = e.getScrollLeft();
@@ -6043,22 +6053,22 @@ var Os = { exports: {} };
6043
6053
  var k = e.scrollrunning ? e.newscrollx : e.getScrollLeft();
6044
6054
  e.doScrollPos(k, u, p);
6045
6055
  }, this.doScrollPos = function(u, p, k) {
6046
- var M = e.getScrollTop(), j = e.getScrollLeft();
6047
- ((e.newscrolly - M) * (p - M) < 0 || (e.newscrollx - j) * (u - j) < 0) && e.cancelScroll();
6056
+ var M = e.getScrollTop(), R = e.getScrollLeft();
6057
+ ((e.newscrolly - M) * (p - M) < 0 || (e.newscrollx - R) * (u - R) < 0) && e.cancelScroll();
6048
6058
  var W = !1;
6049
6059
  if ((!e.bouncescroll || !e.rail.visibility) && (p < 0 ? (p = 0, W = !0) : p > e.page.maxh && (p = e.page.maxh, W = !0)), (!e.bouncescroll || !e.railh.visibility) && (u < 0 ? (u = 0, W = !0) : u > e.page.maxw && (u = e.page.maxw, W = !0)), e.scrollrunning && e.newscrolly === p && e.newscrollx === u) return !0;
6050
- e.newscrolly = p, e.newscrollx = u, e.dst = {}, e.dst.x = u - j, e.dst.y = p - M, e.dst.px = j, e.dst.py = M;
6060
+ e.newscrolly = p, e.newscrollx = u, e.dst = {}, e.dst.x = u - R, e.dst.y = p - M, e.dst.px = R, e.dst.py = M;
6051
6061
  var le = Math.sqrt(e.dst.x * e.dst.x + e.dst.y * e.dst.y) | 0, be = e.getTransitionSpeed(le);
6052
6062
  e.bzscroll = {};
6053
6063
  var ke = W ? 1 : 0.58;
6054
- e.bzscroll.x = new Ee(j, e.newscrollx, be, 0, 0, ke, 1), e.bzscroll.y = new Ee(M, e.newscrolly, be, 0, 0, ke, 1), pe();
6064
+ e.bzscroll.x = new Ee(R, e.newscrollx, be, 0, 0, ke, 1), e.bzscroll.y = new Ee(M, e.newscrolly, be, 0, 0, ke, 1), pe();
6055
6065
  var ce = function() {
6056
6066
  if (e.scrollrunning) {
6057
6067
  var Ve = e.bzscroll.y.getPos();
6058
6068
  e.setScrollLeft(e.bzscroll.x.getNow()), e.setScrollTop(e.bzscroll.y.getNow()), Ve <= 1 ? e.timer = ne(ce) : (e.scrollrunning = !1, e.timer = 0, e.triggerScrollEnd());
6059
6069
  }
6060
6070
  };
6061
- e.scrollrunning || (e.triggerScrollStart(j, M, u, p, be), e.scrollrunning = !0, e.timer = ne(ce));
6071
+ e.scrollrunning || (e.triggerScrollStart(R, M, u, p, be), e.scrollrunning = !0, e.timer = ne(ce));
6062
6072
  }, this.cancelScroll = function() {
6063
6073
  return e.timer && Q(e.timer), e.timer = 0, e.bzscroll = !1, e.scrollrunning = !1, e;
6064
6074
  };
@@ -6083,14 +6093,14 @@ var Os = { exports: {} };
6083
6093
  };
6084
6094
  var p = ["position", "top", "left", "zIndex", "backgroundColor", "marginTop", "marginBottom", "marginLeft", "marginRight"], k = e.win[0].style;
6085
6095
  for (var M in p) {
6086
- var j = p[M];
6087
- e.zoomrestore.style[j] = k[j] !== void 0 ? k[j] : "";
6096
+ var R = p[M];
6097
+ e.zoomrestore.style[R] = k[R] !== void 0 ? k[R] : "";
6088
6098
  }
6089
6099
  e.zoomrestore.style.width = e.win.css("width"), e.zoomrestore.style.height = e.win.css("height"), e.zoomrestore.padding = {
6090
6100
  w: e.win.outerWidth() - e.win.width(),
6091
6101
  h: e.win.outerHeight() - e.win.height()
6092
- }, N.isios4 && (e.zoomrestore.scrollTop = Le.scrollTop(), Le.scrollTop(0)), e.win.css({
6093
- position: N.isios4 ? "absolute" : "fixed",
6102
+ }, D.isios4 && (e.zoomrestore.scrollTop = Le.scrollTop(), Le.scrollTop(0)), e.win.css({
6103
+ position: D.isios4 ? "absolute" : "fixed",
6094
6104
  top: 0,
6095
6105
  left: 0,
6096
6106
  zIndex: B + 100,
@@ -6105,7 +6115,7 @@ var Os = { exports: {} };
6105
6115
  }
6106
6116
  }, this.doZoomOut = function(u) {
6107
6117
  if (e.zoomactive)
6108
- return e.zoomactive = !1, e.win.css("margin", ""), e.win.css(e.zoomrestore.style), N.isios4 && Le.scrollTop(e.zoomrestore.scrollTop), e.rail.css({
6118
+ return e.zoomactive = !1, e.win.css("margin", ""), e.win.css(e.zoomrestore.style), D.isios4 && Le.scrollTop(e.zoomrestore.scrollTop), e.rail.css({
6109
6119
  "z-index": e.zindex
6110
6120
  }), e.zoom.css({
6111
6121
  "z-index": e.zindex
@@ -6120,7 +6130,7 @@ var Os = { exports: {} };
6120
6130
  height: Le.height() - e.zoomrestore.padding.h + "px"
6121
6131
  }), e.onResize(), e.setScrollTop(Math.min(e.page.maxh, u));
6122
6132
  }
6123
- }, this.init(), L.nicescroll.push(this);
6133
+ }, this.init(), A.nicescroll.push(this);
6124
6134
  }, qt = function($) {
6125
6135
  var E = this;
6126
6136
  this.nc = $, this.lastx = 0, this.lasty = 0, this.speedx = 0, this.speedy = 0, this.lasttime = 0, this.steptime = 0, this.snapx = !1, this.snapy = !1, this.demulx = 0, this.demuly = 0, this.lastscrollx = -1, this.lastscrolly = -1, this.chkx = 0, this.chky = 0, this.timer = 0, this.reset = function(e, J) {
@@ -6128,7 +6138,7 @@ var Os = { exports: {} };
6128
6138
  }, this.update = function(e, J) {
6129
6139
  var h = pe();
6130
6140
  E.steptime = h - E.lasttime, E.lasttime = h;
6131
- var _e = J - E.lasty, ye = e - E.lastx, fe = E.nc.getScrollTop(), N = E.nc.getScrollLeft(), Ee = fe + _e, We = N + ye;
6141
+ var _e = J - E.lasty, ye = e - E.lastx, fe = E.nc.getScrollTop(), D = E.nc.getScrollLeft(), Ee = fe + _e, We = D + ye;
6132
6142
  E.snapx = We < 0 || We > E.nc.page.maxw, E.snapy = Ee < 0 || Ee > E.nc.page.maxh, E.speedx = ye, E.speedy = _e, E.lastx = e, E.lasty = J;
6133
6143
  }, this.stop = function() {
6134
6144
  E.nc.unsynched("domomentum2d"), E.timer && clearTimeout(E.timer), E.timer = 0, E.lastscrollx = -1, E.lastscrolly = -1;
@@ -6136,10 +6146,10 @@ var Os = { exports: {} };
6136
6146
  var h = !1;
6137
6147
  J < 0 ? (J = 0, h = !0) : J > E.nc.page.maxh && (J = E.nc.page.maxh, h = !0), e < 0 ? (e = 0, h = !0) : e > E.nc.page.maxw && (e = E.nc.page.maxw, h = !0), h ? E.nc.doScrollPos(e, J, E.nc.opt.snapbackspeed) : E.nc.triggerScrollEnd();
6138
6148
  }, this.doMomentum = function(e) {
6139
- var J = pe(), h = e ? J + e : E.lasttime, _e = E.nc.getScrollLeft(), ye = E.nc.getScrollTop(), fe = E.nc.page.maxh, N = E.nc.page.maxw;
6140
- E.speedx = N > 0 ? Math.min(60, E.speedx) : 0, E.speedy = fe > 0 ? Math.min(60, E.speedy) : 0;
6149
+ var J = pe(), h = e ? J + e : E.lasttime, _e = E.nc.getScrollLeft(), ye = E.nc.getScrollTop(), fe = E.nc.page.maxh, D = E.nc.page.maxw;
6150
+ E.speedx = D > 0 ? Math.min(60, E.speedx) : 0, E.speedy = fe > 0 ? Math.min(60, E.speedy) : 0;
6141
6151
  var Ee = h && J - h <= 60;
6142
- (ye < 0 || ye > fe || _e < 0 || _e > N) && (Ee = !1);
6152
+ (ye < 0 || ye > fe || _e < 0 || _e > D) && (Ee = !1);
6143
6153
  var We = E.speedy && Ee ? E.speedy : !1, wt = E.speedx && Ee ? E.speedx : !1;
6144
6154
  if (We || wt) {
6145
6155
  var xt = Math.max(16, E.steptime);
@@ -6148,11 +6158,11 @@ var Os = { exports: {} };
6148
6158
  E.speedx *= Gt, E.speedy *= Gt, xt = 50;
6149
6159
  }
6150
6160
  E.demulxy = 0, E.lastscrollx = E.nc.getScrollLeft(), E.chkx = E.lastscrollx, E.lastscrolly = E.nc.getScrollTop(), E.chky = E.lastscrolly;
6151
- var He = E.lastscrollx, Pe = E.lastscrolly, $e = function() {
6161
+ var Ie = E.lastscrollx, Pe = E.lastscrolly, $e = function() {
6152
6162
  var kt = pe() - J > 600 ? 0.04 : 0.02;
6153
- E.speedx && (He = Math.floor(E.lastscrollx - E.speedx * (1 - E.demulxy)), E.lastscrollx = He, (He < 0 || He > N) && (kt = 0.1)), E.speedy && (Pe = Math.floor(E.lastscrolly - E.speedy * (1 - E.demulxy)), E.lastscrolly = Pe, (Pe < 0 || Pe > fe) && (kt = 0.1)), E.demulxy = Math.min(1, E.demulxy + kt), E.nc.synched("domomentum2d", function() {
6154
- E.speedx && (E.nc.getScrollLeft(), E.chkx = He, E.nc.setScrollLeft(He)), E.speedy && (E.nc.getScrollTop(), E.chky = Pe, E.nc.setScrollTop(Pe)), E.timer || (E.nc.hideCursor(), E.doSnapy(He, Pe));
6155
- }), E.demulxy < 1 ? E.timer = setTimeout($e, xt) : (E.stop(), E.nc.hideCursor(), E.doSnapy(He, Pe));
6163
+ E.speedx && (Ie = Math.floor(E.lastscrollx - E.speedx * (1 - E.demulxy)), E.lastscrollx = Ie, (Ie < 0 || Ie > D) && (kt = 0.1)), E.speedy && (Pe = Math.floor(E.lastscrolly - E.speedy * (1 - E.demulxy)), E.lastscrolly = Pe, (Pe < 0 || Pe > fe) && (kt = 0.1)), E.demulxy = Math.min(1, E.demulxy + kt), E.nc.synched("domomentum2d", function() {
6164
+ E.speedx && (E.nc.getScrollLeft(), E.chkx = Ie, E.nc.setScrollLeft(Ie)), E.speedy && (E.nc.getScrollTop(), E.chky = Pe, E.nc.setScrollTop(Pe)), E.timer || (E.nc.hideCursor(), E.doSnapy(Ie, Pe));
6165
+ }), E.demulxy < 1 ? E.timer = setTimeout($e, xt) : (E.stop(), E.nc.hideCursor(), E.doSnapy(Ie, Pe));
6156
6166
  };
6157
6167
  $e();
6158
6168
  } else
@@ -6161,54 +6171,54 @@ var Os = { exports: {} };
6161
6171
  }, Ye = y.fn.scrollTop;
6162
6172
  y.cssHooks.pageYOffset = {
6163
6173
  get: function($, E, e) {
6164
- var J = L.data($, "__nicescroll") || !1;
6174
+ var J = A.data($, "__nicescroll") || !1;
6165
6175
  return J && J.ishwscroll ? J.getScrollTop() : Ye.call($);
6166
6176
  },
6167
6177
  set: function($, E) {
6168
- var e = L.data($, "__nicescroll") || !1;
6178
+ var e = A.data($, "__nicescroll") || !1;
6169
6179
  return e && e.ishwscroll ? e.setScrollTop(parseInt(E)) : Ye.call($, E), this;
6170
6180
  }
6171
6181
  }, y.fn.scrollTop = function($) {
6172
6182
  if ($ === void 0) {
6173
- var E = this[0] && L.data(this[0], "__nicescroll") || !1;
6183
+ var E = this[0] && A.data(this[0], "__nicescroll") || !1;
6174
6184
  return E && E.ishwscroll ? E.getScrollTop() : Ye.call(this);
6175
6185
  } else
6176
6186
  return this.each(function() {
6177
- var e = L.data(this, "__nicescroll") || !1;
6178
- e && e.ishwscroll ? e.setScrollTop(parseInt($)) : Ye.call(L(this), $);
6187
+ var e = A.data(this, "__nicescroll") || !1;
6188
+ e && e.ishwscroll ? e.setScrollTop(parseInt($)) : Ye.call(A(this), $);
6179
6189
  });
6180
6190
  };
6181
6191
  var rt = y.fn.scrollLeft;
6182
- L.cssHooks.pageXOffset = {
6192
+ A.cssHooks.pageXOffset = {
6183
6193
  get: function($, E, e) {
6184
- var J = L.data($, "__nicescroll") || !1;
6194
+ var J = A.data($, "__nicescroll") || !1;
6185
6195
  return J && J.ishwscroll ? J.getScrollLeft() : rt.call($);
6186
6196
  },
6187
6197
  set: function($, E) {
6188
- var e = L.data($, "__nicescroll") || !1;
6198
+ var e = A.data($, "__nicescroll") || !1;
6189
6199
  return e && e.ishwscroll ? e.setScrollLeft(parseInt(E)) : rt.call($, E), this;
6190
6200
  }
6191
6201
  }, y.fn.scrollLeft = function($) {
6192
6202
  if ($ === void 0) {
6193
- var E = this[0] && L.data(this[0], "__nicescroll") || !1;
6203
+ var E = this[0] && A.data(this[0], "__nicescroll") || !1;
6194
6204
  return E && E.ishwscroll ? E.getScrollLeft() : rt.call(this);
6195
6205
  } else
6196
6206
  return this.each(function() {
6197
- var e = L.data(this, "__nicescroll") || !1;
6198
- e && e.ishwscroll ? e.setScrollLeft(parseInt($)) : rt.call(L(this), $);
6207
+ var e = A.data(this, "__nicescroll") || !1;
6208
+ e && e.ishwscroll ? e.setScrollLeft(parseInt($)) : rt.call(A(this), $);
6199
6209
  });
6200
6210
  };
6201
6211
  var Bt = function($) {
6202
6212
  var E = this;
6203
6213
  if (this.length = 0, this.name = "nicescrollarray", this.each = function(h) {
6204
- return L.each(E, h), E;
6214
+ return A.each(E, h), E;
6205
6215
  }, this.push = function(h) {
6206
6216
  E[E.length] = h, E.length++;
6207
6217
  }, this.eq = function(h) {
6208
6218
  return E[h];
6209
6219
  }, $)
6210
6220
  for (var e = 0; e < $.length; e++) {
6211
- var J = L.data($[e], "__nicescroll") || !1;
6221
+ var J = A.data($[e], "__nicescroll") || !1;
6212
6222
  J && (this[this.length] = J, this.length++);
6213
6223
  }
6214
6224
  return this;
@@ -6228,19 +6238,19 @@ var Os = { exports: {} };
6228
6238
  };
6229
6239
  }
6230
6240
  ), y.fn.getNiceScroll = function($) {
6231
- return $ === void 0 ? new Bt(this) : this[$] && L.data(this[$], "__nicescroll") || !1;
6241
+ return $ === void 0 ? new Bt(this) : this[$] && A.data(this[$], "__nicescroll") || !1;
6232
6242
  };
6233
6243
  var Ze = y.expr.pseudos || y.expr[":"];
6234
6244
  Ze.nicescroll = function($) {
6235
- return L.data($, "__nicescroll") !== void 0;
6236
- }, L.fn.niceScroll = function($, E) {
6245
+ return A.data($, "__nicescroll") !== void 0;
6246
+ }, A.fn.niceScroll = function($, E) {
6237
6247
  E === void 0 && typeof $ == "object" && !("jquery" in $) && (E = $, $ = !1);
6238
6248
  var e = new Bt();
6239
6249
  return this.each(function() {
6240
- var J = L(this), h = L.extend({}, E);
6250
+ var J = A(this), h = A.extend({}, E);
6241
6251
  if ($) {
6242
- var _e = L($);
6243
- h.doc = _e.length > 1 ? L($, J) : _e, h.win = J;
6252
+ var _e = A($);
6253
+ h.doc = _e.length > 1 ? A($, J) : _e, h.win = J;
6244
6254
  }
6245
6255
  var ye = !("doc" in h);
6246
6256
  !ye && !("win" in h) && (h.win = J);
@@ -6251,19 +6261,19 @@ var Os = { exports: {} };
6251
6261
  getjQuery: function() {
6252
6262
  return y;
6253
6263
  }
6254
- }, L.nicescroll || (L.nicescroll = new Bt(), L.nicescroll.options = Ct);
6264
+ }, A.nicescroll || (A.nicescroll = new Bt(), A.nicescroll.options = Ct);
6255
6265
  });
6256
6266
  })(Os);
6257
- const Hi = ".bloom-translationGroup:not(.bloom-imageDescription) .bloom-editable.bloom-visibility-code-on, .scrollable";
6258
- function ia(l, d) {
6267
+ const Ii = ".bloom-translationGroup:not(.bloom-imageDescription) .bloom-editable.bloom-visibility-code-on, .scrollable";
6268
+ function ia(l, f) {
6259
6269
  if (l.classList.contains("cover"))
6260
6270
  return;
6261
6271
  const y = On(l);
6262
6272
  if ("IntersectionObserver" in window) {
6263
- let b = [], P = 0, R = 0;
6264
- er(l).find(Hi).each((F, B) => {
6265
- const L = B.firstElementChild, I = B.lastElementChild;
6266
- if (!L || !I)
6273
+ let b = [], N = 0, j = 0;
6274
+ er(l).find(Ii).each((F, B) => {
6275
+ const A = B.firstElementChild, H = B.lastElementChild;
6276
+ if (!A || !H)
6267
6277
  return;
6268
6278
  let Y = 1;
6269
6279
  const Le = document.querySelector(
@@ -6289,7 +6299,7 @@ function ia(l, d) {
6289
6299
  (Me, ee) => {
6290
6300
  Me.forEach((pe) => {
6291
6301
  var Ot;
6292
- R++, ee.unobserve(pe.target);
6302
+ j++, ee.unobserve(pe.target);
6293
6303
  const Ct = !!pe.target.closest(
6294
6304
  _r
6295
6305
  );
@@ -6329,7 +6339,7 @@ function ia(l, d) {
6329
6339
  "scrolling-bubble"
6330
6340
  );
6331
6341
  }
6332
- R === P && (er(b).niceScroll({
6342
+ j === N && (er(b).niceScroll({
6333
6343
  autohidemode: !1,
6334
6344
  railoffset: {
6335
6345
  top: -se,
@@ -6342,64 +6352,64 @@ function ia(l, d) {
6342
6352
  // Make the corner more rounded than the 5px default.
6343
6353
  }), Bs(
6344
6354
  l,
6345
- d
6355
+ f
6346
6356
  ), b = []);
6347
6357
  });
6348
6358
  },
6349
6359
  { root: B }
6350
6360
  );
6351
- P++, Q.observe(L), L !== I && (P++, Q.observe(I));
6361
+ N++, Q.observe(A), A !== H && (N++, Q.observe(H));
6352
6362
  });
6353
6363
  }
6354
6364
  }
6355
6365
  function qs(l) {
6356
- for (var d = l && l.parentNode ? l.parentNode : null; d && d.nodeType === Node.ELEMENT_NODE && !/^BODY|HTML/.test(d.nodeName); ) {
6357
- const y = window.getComputedStyle(d), b = y.getPropertyValue("position");
6358
- if (/fixed|absolute/.test(b)) return d;
6359
- const P = y.getPropertyValue("overflow-y") || y.getPropertyValue("overflow-x") || y.getPropertyValue("overflow") || "";
6360
- if (/scroll|auto/.test(P) && d.clientHeight != d.scrollHeight || er(d).getNiceScroll().length > 0) return d;
6361
- d = d.parentNode ? d.parentNode : null;
6366
+ for (var f = l && l.parentNode ? l.parentNode : null; f && f.nodeType === Node.ELEMENT_NODE && !/^BODY|HTML/.test(f.nodeName); ) {
6367
+ const y = window.getComputedStyle(f), b = y.getPropertyValue("position");
6368
+ if (/fixed|absolute/.test(b)) return f;
6369
+ const N = y.getPropertyValue("overflow-y") || y.getPropertyValue("overflow-x") || y.getPropertyValue("overflow") || "";
6370
+ if (/scroll|auto/.test(N) && f.clientHeight != f.scrollHeight || er(f).getNiceScroll().length > 0) return f;
6371
+ f = f.parentNode ? f.parentNode : null;
6362
6372
  }
6363
6373
  return null;
6364
6374
  }
6365
- function no(l, d) {
6366
- let y = 0, b = 0, P = "12px";
6375
+ function no(l, f) {
6376
+ let y = 0, b = 0, N = "12px";
6367
6377
  if (l !== 1) {
6368
- const R = d.parentElement;
6369
- if (!R || !R.classList.contains("bloom-translationGroup"))
6370
- return { topAdjust: y, leftAdjust: b, thumbWidth: P };
6371
- if (qs(d)) {
6372
- const B = window.getComputedStyle(R), L = B.getPropertyValue("padding-top") || "0", I = B.getPropertyValue("padding-left") || "0";
6373
- y = parseFloat(L) * (l - 1), b = parseFloat(I) * (l - 1);
6378
+ const j = f.parentElement;
6379
+ if (!j || !j.classList.contains("bloom-translationGroup"))
6380
+ return { topAdjust: y, leftAdjust: b, thumbWidth: N };
6381
+ if (qs(f)) {
6382
+ const B = window.getComputedStyle(j), A = B.getPropertyValue("padding-top") || "0", H = B.getPropertyValue("padding-left") || "0";
6383
+ y = parseFloat(A) * (l - 1), b = parseFloat(H) * (l - 1);
6374
6384
  } else {
6375
- const B = R.parentElement;
6385
+ const B = j.parentElement;
6376
6386
  if (!B)
6377
- return { topAdjust: y, leftAdjust: b, thumbWidth: P };
6378
- P = `${12 * l}px`;
6379
- const L = B == null ? void 0 : B.offsetTop, I = B.offsetLeft + B.offsetWidth;
6380
- y = -(L * (l - 1)), b = -(I * (l - 1));
6387
+ return { topAdjust: y, leftAdjust: b, thumbWidth: N };
6388
+ N = `${12 * l}px`;
6389
+ const A = B == null ? void 0 : B.offsetTop, H = B.offsetLeft + B.offsetWidth;
6390
+ y = -(A * (l - 1)), b = -(H * (l - 1));
6381
6391
  }
6382
6392
  }
6383
- return { topAdjust: y, leftAdjust: b, thumbWidth: P };
6393
+ return { topAdjust: y, leftAdjust: b, thumbWidth: N };
6384
6394
  }
6385
- function Bs(l, d) {
6386
- if (l.removeEventListener("pointerdown", bn), l.addEventListener("pointerdown", bn), !!d)
6395
+ function Bs(l, f) {
6396
+ if (l.removeEventListener("pointerdown", bn), l.addEventListener("pointerdown", bn), !!f)
6387
6397
  for (const y of ["pointermove", "pointerup"])
6388
6398
  l.ownerDocument.body.addEventListener(
6389
6399
  y,
6390
- d,
6400
+ f,
6391
6401
  {
6392
6402
  capture: !0
6393
6403
  }
6394
6404
  );
6395
6405
  }
6396
- function na(l, d) {
6397
- l.querySelectorAll(Hi).forEach(
6406
+ function na(l, f) {
6407
+ l.querySelectorAll(Ii).forEach(
6398
6408
  (y) => {
6399
6409
  const b = er(y).getNiceScroll();
6400
6410
  if (b && b.length > 0) {
6401
- let { topAdjust: P, leftAdjust: R, thumbWidth: F } = no(d, y);
6402
- b[0].opt.railoffset.top = -P, b[0].opt.railoffset.left = -R, b[0].opt.cursorwidth = F, b[0].resize();
6411
+ let { topAdjust: N, leftAdjust: j, thumbWidth: F } = no(f, y);
6412
+ b[0].opt.railoffset.top = -N, b[0].opt.railoffset.left = -j, b[0].opt.cursorwidth = F, b[0].resize();
6403
6413
  }
6404
6414
  }
6405
6415
  );
@@ -6409,12 +6419,12 @@ function bn(l) {
6409
6419
  }
6410
6420
  function oa() {
6411
6421
  var l;
6412
- (l = er("div.bloom-page")[0]) == null || l.querySelectorAll(Hi).forEach((d) => {
6422
+ (l = er("div.bloom-page")[0]) == null || l.querySelectorAll(Ii).forEach((f) => {
6413
6423
  const y = er(
6414
- d
6424
+ f
6415
6425
  ).getNiceScroll();
6416
- y && y.length > 0 && y.remove(), d.classList.contains("scrolling-bubble") && d.classList.remove("scrolling-bubble");
6417
- const b = d.parentElement;
6426
+ y && y.length > 0 && y.remove(), f.classList.contains("scrolling-bubble") && f.classList.remove("scrolling-bubble");
6427
+ const b = f.parentElement;
6418
6428
  b && (b.classList.contains(
6419
6429
  "bloom-vertical-align-center-removed"
6420
6430
  ) && (b.classList.remove(
@@ -6423,7 +6433,7 @@ function oa() {
6423
6433
  "bloom-vertical-align-bottom-removed"
6424
6434
  ) && (b.classList.remove(
6425
6435
  "bloom-vertical-align-bottom-removed"
6426
- ), b.classList.add("bloom-vertical-align-bottom")), d.style.overflow = "", d.style.outline = "", d.style.width = "");
6436
+ ), b.classList.add("bloom-vertical-align-bottom")), f.style.overflow = "", f.style.outline = "", f.style.width = "");
6427
6437
  });
6428
6438
  }
6429
6439
  export {
@@ -6451,12 +6461,12 @@ export {
6451
6461
  xn as getUrlPrefixFromWindowHref,
6452
6462
  Ss as hideVideoError,
6453
6463
  Zs as hidingPage,
6454
- Hr as isSwipeInProgress,
6464
+ Ir as isSwipeInProgress,
6455
6465
  ea as isTheTextInDraggablesTheSame,
6456
6466
  Br as kAudioSentence,
6457
6467
  es as kHighlightSegmentClass,
6458
6468
  _r as kLegacyCanvasElementSelector,
6459
- Hi as kSelectorForPotentialNiceScrollElements,
6469
+ Ii as kSelectorForPotentialNiceScrollElements,
6460
6470
  js as listenForPlayDuration,
6461
6471
  wn as logNarration,
6462
6472
  $s as pageHasAudio,