PageSourceSearch

https://www.j8pn1.com/mc/v.1.0.1/manifest/slider.d420e4d3.js

js j8pn1.com collected 2026-10-09 21:53:58 UTC 32,272 bytes, 742 lines download raw bytes

1!(function (t, e) {
2  "object" == typeof exports && "object" == typeof module
3    ? (module.exports = e())
4    : "function" == typeof define && define.amd
5    ? define("rangeSlider", [], e)
6    : "object" == typeof exports
7    ? (exports.rangeSlider = e())
8    : (t.rangeSlider = e());
9})(window, function () {
10  return (function (i) {
11    var n = {};
12    function s(t) {
13      if (n[t]) return n[t].exports;
14      var e = (n[t] = { i: t, l: !1, exports: {} });
15      return i[t].call(e.exports, e, e.exports, s), (e.l = !0), e.exports;
16    }
17    return (
18      (s.m = i),
19      (s.c = n),
20      (s.d = function (t, e, i) {
21        s.o(t, e) || Object.defineProperty(t, e, { enumerable: !0, get: i });
22      }),
23      (s.r = function (t) {
24        "undefined" != typeof Symbol &&
25          Symbol.toStringTag &&
26          Object.defineProperty(t, Symbol.toStringTag, { value: "Module" }),
27          Object.defineProperty(t, "__esModule", { value: !0 });
28      }),
29      (s.t = function (e, t) {
30        if ((1 & t && (e = s(e)), 8 & t)) return e;
31        if (4 & t && "object" == typeof e && e && e.__esModule) return e;
32        var i = Object.create(null);
33        if ((s.r(i), Object.defineProperty(i, "default", { enumerable: !0, value: e }), 2 & t && "string" != typeof e))
34          for (var n in e)
35            s.d(
36              i,
37              n,
38              function (t) {
39                return e[t];
40              }.bind(null, n)
41            );
42        return i;
43      }),
44      (s.n = function (t) {
45        var e =
46          t && t.__esModule
47            ? function () {
48                return t.default;
49              }
50            : function () {
51                return t;
52              };
53        return s.d(e, "a", e), e;
54      }),
55      (s.o = function (t, e) {
56        return Object.prototype.hasOwnProperty.call(t, e);
57      }),
58      (s.p = ""),
59      s((s.s = 1))
60    );
61  })([
62    function (t, e, i) {
63      "use strict";
64      Object.defineProperty(e, "__esModule", { value: !0 });
65      (e.uuid = function () {
66        var t = function () {
67          return Math.floor(65536 * (1 + Math.random()))
68            .toString(16)
69            .substring(1);
70        };
71        return t() + t() + "-" + t() + "-" + t() + "-" + t() + "-" + t() + t() + t();
72      }),
73        (e.delay = function (t, e) {
74          for (var i = arguments.length, n = Array(2 < i ? i - 2 : 0), s = 2; s < i; s++) n[s - 2] = arguments[s];
75          return setTimeout(function () {
76            return t.apply(null, n);
77          }, e);
78        }),
79        (e.debounce = function (n) {
80          var s = 1 < arguments.length && void 0 !== arguments[1] ? arguments[1] : 100;
81          return function () {
82            for (var t = arguments.length, e = Array(t), i = 0; i < t; i++) e[i] = arguments[i];
83            return (
84              n.debouncing || ((n.lastReturnVal = n.apply(window, e)), (n.debouncing = !0)),
85              clearTimeout(n.debounceTimeout),
86              (n.debounceTimeout = setTimeout(function () {
87                n.debouncing = !1;
88              }, s)),
89              n.lastReturnVal
90            );
91          };
92        });
93      var n = (e.isString = function (t) {
94          return t === "" + t;
95        }),
96        r =
97          ((e.isArray = function (t) {
98            return "[object Array]" === Object.prototype.toString.call(t);
99          }),
100          (e.isNumberLike = function (t) {
101            return null != t && ((n(t) && isFinite(parseFloat(t))) || isFinite(t));
102          }));
103      (e.getFirsNumberLike = function () {
104        for (var t = arguments.length, e = Array(t), i = 0; i < t; i++) e[i] = arguments[i];
105        if (!e.length) return null;
106        for (var n = 0, s = e.length; n < s; n++) if (r(e[n])) return e[n];
107        return null;
108      }),
109        (e.isObject = function (t) {
110          return "[object Object]" === Object.prototype.toString.call(t);
111        }),
112        (e.simpleExtend = function (t, e) {
113          var i = {};
114          for (var n in t) i[n] = t[n];
115          for (var s in e) i[s] = e[s];
116          return i;
117        }),
118        (e.between = function (t, e, i) {
119          return t < e ? e : i < t ? i : t;
120        });
121    },
122    function (t, e, i) {
123      "use strict";
124      Object.defineProperty(e, "__esModule", { value: !0 });
125      var n = (function () {
126          function n(t, e) {
127            for (var i = 0; i < e.length; i++) {
128              var n = e[i];
129              (n.enumerable = n.enumerable || !1),
130                (n.configurable = !0),
131                "value" in n && (n.writable = !0),
132                Object.defineProperty(t, n.key, n);
133            }
134          }
135          return function (t, e, i) {
136            return e && n(t.prototype, e), i && n(t, i), t;
137          };
138        })(),
139        l = s(i(2)),
140        h = s(i(0));
141      function s(t) {
142        if (t && t.__esModule) return t;
143        var e = {};
144        if (null != t) for (var i in t) Object.prototype.hasOwnProperty.call(t, i) && (e[i] = t[i]);
145        return (e.default = t), e;
146      }
147      i(3);
148      var o = new RegExp("/[\\n\\t]/", "g"),
149        u = "rangeSlider",
150        d = l.supportsRange(),
151        f = {
152          polyfill: !0,
153          root: document,
154          rangeClass: "rangeSlider",
155          disabledClass: "rangeSlider--disabled",
156          fillClass: "rangeSlider__fill",
157          bufferClass: "rangeSlider__buffer",
158          handleClass: "rangeSlider__handle",
159          startEvent: ["mousedown", "touchstart", "pointerdown"],
160          moveEvent: ["mousemove", "touchmove", "pointermove"],
161          endEvent: ["mouseup", "touchend", "pointerup"],
162          min: null,
163          max: null,
164          step: null,
165          value: null,
166          buffer: null,
167          stick: null,
168          borderRadius: 10,
169          vertical: !1,
170        },
171        r = !1,
172        a = (function () {
173          function a(t, e) {
174            !(function (t, e) {
175              if (!(t instanceof e)) throw new TypeError("Cannot call a class as a function");
176            })(this, a);
177            var i = void 0,
178              n = void 0,
179              s = void 0;
180            if (
181              (a.instances.push(this),
182              (this.element = t),
183              (this.options = h.simpleExtend(f, e)),
184              (this.polyfill = this.options.polyfill),
185              (this.vertical = this.options.vertical),
186              (this.onInit = this.options.onInit),
187              (this.onSlide = this.options.onSlide),
188              (this.onSlideStart = this.options.onSlideStart),
189              (this.onSlideEnd = this.options.onSlideEnd),
190              (this.onSlideEventsCount = -1),
191              (this.isInteractsNow = !1),
192              (this.needTriggerEvents = !1),
193              this._addVerticalSlideScrollFix(),
194              this.polyfill || !d)
195            ) {
196              (this.options.buffer = this.options.buffer || parseFloat(this.element.getAttribute("data-buffer"))),
197                (this.identifier = "js-" + u + "-" + h.uuid()),
198                (this.min = h.getFirsNumberLike(this.options.min, parseFloat(this.element.getAttribute("min")), 0)),
199                (this.max = h.getFirsNumberLike(this.options.max, parseFloat(this.element.getAttribute("max")), 100)),
200                (this.value = h.getFirsNumberLike(
201                  this.options.value,
202                  this.element.value,
203                  parseFloat(this.element.value || this.min + (this.max - this.min) / 2)
204                )),
205                (this.step = h.getFirsNumberLike(
206                  this.options.step,
207                  parseFloat(this.element.getAttribute("step")) || (i = 1)
208                )),
209                (this.percent = null),
210                h.isArray(this.options.stick) && 1 <= this.options.stick.length
211                  ? (this.stick = this.options.stick)
212                  : (n = this.element.getAttribute("stick")) &&
213                    1 <= (s = n.split(" ")).length &&
214                    (this.stick = s.map(parseFloat)),
215                this.stick && 1 === this.stick.length && this.stick.push(1.5 * this.step),
216                this._updatePercentFromValue(),
217                (this.toFixed = this._toFixed(this.step));
218              var r = void 0;
219              (this.container = document.createElement("div")),
220                l.addClass(this.container, this.options.fillClass),
221                (r = this.vertical ? this.options.fillClass + "__vertical" : this.options.fillClass + "__horizontal"),
222                l.addClass(this.container, r),
223                (this.handle = document.createElement("div")),
224                l.addClass(this.handle, this.options.handleClass),
225                (r = this.vertical
226                  ? this.options.handleClass + "__vertical"
227                  : this.options.handleClass + "__horizontal"),
228                l.addClass(this.handle, r),
229                (this.range = document.createElement("div")),
230                l.addClass(this.range, this.options.rangeClass),
231                (this.range.id = this.identifier);
232              var o = t.getAttribute("title");
233              o && 0 < o.length && this.range.setAttribute("title", o),
234                this.options.bufferClass &&
235                  ((this.buffer = document.createElement("div")),
236                  l.addClass(this.buffer, this.options.bufferClass),
237                  this.range.appendChild(this.buffer),
238                  (r = this.vertical
239                    ? this.options.bufferClass + "__vertical"
240                    : this.options.bufferClass + "__horizontal"),
241                  l.addClass(this.buffer, r)),
242                this.range.appendChild(this.container),
243                this.range.appendChild(this.handle),
244                (r = this.vertical ? this.options.rangeClass + "__vertical" : this.options.rangeClass + "__horizontal"),
245                l.addClass(this.range, r),
246                h.isNumberLike(this.options.value) &&
247                  (this._setValue(this.options.value, !0), (this.element.value = this.options.value)),
248                h.isNumberLike(this.options.buffer) && this.element.setAttribute("data-buffer", this.options.buffer),
249                h.isNumberLike(this.options.min) && this.element.setAttribute("min", "" + this.min),
250                h.isNumberLike(this.options.max),
251                this.element.setAttribute("max", "" + this.max),
252                (h.isNumberLike(this.options.step) || i) && this.element.setAttribute("step", "" + this.step),
253                l.insertAfter(this.element, this.range),
254                l.setCss(this.element, {
255                  position: "absolute",
256                  width: "1px",
257                  height: "1px",
258                  overflow: "hidden",
259                  opacity: "0",
260                }),
261                (this._handleDown = this._handleDown.bind(this)),
262                (this._handleMove = this._handleMove.bind(this)),
263                (this._handleEnd = this._handleEnd.bind(this)),
264                (this._startEventListener = this._startEventListener.bind(this)),
265                (this._changeEventListener = this._changeEventListener.bind(this)),
266                (this._handleResize = this._handleResize.bind(this)),
267                this._init(),
268                window.addEventListener("resize", this._handleResize, !1),
269                l.addEventListeners(this.options.root, this.options.startEvent, this._startEventListener),
270                this.element.addEventListener("change", this._changeEventListener, !1);
271            }
272          }
273          return (
274            n(
275              a,
276              [
277                {
278                  key: "update",
279                  value: function (t, e) {
280                    return (
281                      e && (this.needTriggerEvents = !0),
282                      h.isObject(t) &&
283                        (h.isNumberLike(t.min) && (this.element.setAttribute("min", "" + t.min), (this.min = t.min)),
284                        h.isNumberLike(t.max) && (this.element.setAttribute("max", "" + t.max), (this.max = t.max)),
285                        h.isNumberLike(t.step) &&
286                          (this.element.setAttribute("step", "" + t.step),
287                          (this.step = t.step),
288                          (this.toFixed = this._toFixed(t.step))),
289                        h.isNumberLike(t.buffer) && this._setBufferPosition(t.buffer),
290                        h.isNumberLike(t.value) && this._setValue(t.value)),
291                      this._update(),
292                      (this.onSlideEventsCount = 0),
293                      (this.needTriggerEvents = !1),
294                      this
295                    );
296                  },
297                },
298                {
299                  key: "destroy",
300                  value: function () {
301                    var e = this;
302                    l.removeAllListenersFromEl(this, this.options.root),
303                      window.removeEventListener("resize", this._handleResize, !1),
304                      this.element.removeEventListener("change", this._changeEventListener, !1),
305                      (this.element.style.cssText = ""),
306                      delete this.element[u],
307                      this.range && this.range.parentNode.removeChild(this.range),
308                      (a.instances = a.instances.filter(function (t) {
309                        return t !== e;
310                      })).some(function (t) {
311                        return t.vertical;
312                      }) || this._removeVerticalSlideScrollFix();
313                  },
314                },
315                {
316                  key: "_toFixed",
317                  value: function (t) {
318                    return (t + "").replace(".", "").length - 1;
319                  },
320                },
321                {
322                  key: "_init",
323                  value: function () {
324                    this.onInit && "function" == typeof this.onInit && this.onInit(), this._update(!1);
325                  },
326                },
327                {
328                  key: "_updatePercentFromValue",
329                  value: function () {
330                    this.percent = (this.value - this.min) / (this.max - this.min);
331                  },
332                },
333                {
334                  key: "_startEventListener",
335                  value: function (t, e) {
336                    var i = this,
337                      n = t.target,
338                      s = !1;
339                    (1 === t.which || "touches" in t) &&
340                      (l.forEachAncestors(
341                        n,
342                        function (t) {
343                          return (s = t.id === i.identifier && !l.hasClass(t, i.options.disabledClass));
344                        },
345                        !0
346                      ),
347                      s && this._handleDown(t, e));
348                  },
349                },
350                {
351                  key: "_changeEventListener",
352                  value: function (t, e) {
353                    if (!e || e.origin !== this.identifier) {
354                      var i = t.target.value,
355                        n = this._getPositionFromValue(i);
356                      this._setPosition(n);
357                    }
358                  },
359                },
360                {
361                  key: "_update",
362                  value: function (t) {
363                    var e = this.vertical ? "offsetHeight" : "offsetWidth";
364                    (this.handleSize = l.getDimension(this.handle, e)),
365                      (this.rangeSize = l.getDimension(this.range, e)),
366                      (this.maxHandleX = this.rangeSize - this.handleSize),
367                      (this.grabX = this.handleSize / 2),
368                      (this.position = this._getPositionFromValue(this.value)),
369                      this.element.disabled
370                        ? l.addClass(this.range, this.options.disabledClass)
371                        : l.removeClass(this.range, this.options.disabledClass),
372                      this._setPosition(this.position),
373                      this.options.bufferClass && this.options.buffer && this._setBufferPosition(this.options.buffer),
374                      this._updatePercentFromValue(),
375                      !1 !== t && l.triggerEvent(this.element, "change", { origin: this.identifier });
376                  },
377                },
378                {
379                  key: "_addVerticalSlideScrollFix",
380                  value: function () {
381                    this.vertical &&
382                      !r &&
383                      (document.addEventListener("touchmove", a._touchMoveScrollHandler, { passive: !1 }), (r = !0));
384                  },
385                },
386                {
387                  key: "_removeVerticalSlideScrollFix",
388                  value: function () {
389                    document.removeEventListener("touchmove", a._touchMoveScrollHandler), (r = !1);
390                  },
391                },
392                {
393                  key: "_handleResize",
394                  value: function () {
395                    var t = this;
396                    return h.debounce(function () {
397                      h.delay(function () {
398                        t._update();
399                      }, 300);
400                    }, 50)();
401                  },
402                },
403                {
404                  key: "_handleDown",
405                  value: function (t) {
406                    if (
407                      ((this.isInteractsNow = !0),
408                      t.preventDefault(),
409                      l.addEventListeners(this.options.root, this.options.moveEvent, this._handleMove),
410                      l.addEventListeners(this.options.root, this.options.endEvent, this._handleEnd),
411                      !(-1 < (" " + t.target.className + " ").replace(o, " ").indexOf(this.options.handleClass)))
412                    ) {
413                      var e = this.range.getBoundingClientRect(),
414                        i = this._getRelativePosition(t),
415                        n = this.vertical ? e.bottom : e.left,
416                        s = this._getPositionFromNode(this.handle) - n,
417                        r = i - this.grabX;
418                      this._setPosition(r),
419                        s <= i && i < s + 2 * this.options.borderRadius && (this.grabX = i - s),
420                        this._updatePercentFromValue();
421                    }
422                  },
423                },
424                {
425                  key: "_handleMove",
426                  value: function (t) {
427                    var e = this._getRelativePosition(t);
428                    (this.isInteractsNow = !0), t.preventDefault(), this._setPosition(e - this.grabX);
429                  },
430                },
431                {
432                  key: "_handleEnd",
433                  value: function (t) {
434                    t.preventDefault(),
435                      l.removeEventListeners(this.options.root, this.options.moveEvent, this._handleMove),
436                      l.removeEventListeners(this.options.root, this.options.endEvent, this._handleEnd),
437                      l.triggerEvent(this.element, "change", { origin: this.identifier }),
438                      (this.isInteractsNow || this.needTriggerEvents) &&
439                        (this.onSlideEnd &&
440                          "function" == typeof this.onSlideEnd &&
441                          this.onSlideEnd(this.value, this.percent, this.position),
442                        this.vertical && (a.slidingVertically = !1)),
443                      (this.onSlideEventsCount = 0),
444                      (this.isInteractsNow = !1);
445                  },
446                },
447                {
448                  key: "_setPosition",
449                  value: function (t) {
450                    var e,
451                      i = void 0,
452                      n = void 0,
453                      s = void 0,
454                      r = this._getValueFromPosition(h.between(t, 0, this.maxHandleX));
455                    this.stick &&
456                      ((n = r % (s = this.stick[0])) < (i = this.stick[1] || 0.1)
457                        ? (r -= n)
458                        : Math.abs(s - n) < i && (r = r - n + s)),
459                      (e = this._getPositionFromValue(r)),
460                      this.vertical
461                        ? ((this.container.style.height = e + this.grabX + "px"),
462                          (this.handle.style.webkitTransform = "translateY(-" + e + "px)"),
463                          (this.handle.style.msTransform = "translateY(-" + e + "px)"),
464                          (this.handle.style.transform = "translateY(-" + e + "px)"))
465                        : ((this.container.style.width = e + this.grabX + "px"),
466                          (this.handle.style.webkitTransform = "translateX(" 
466+ e + "px)"),
467                          (this.handle.style.msTransform = "translateX(" + e + "px)"),
468                          (this.handle.style.transform = "translateX(" + e + "px)")),
469                      this._setValue(r),
470                      (this.position = e),
471                      (this.value = r),
472                      this._updatePercentFromValue(),
473                      (this.isInteractsNow || this.needTriggerEvents) &&
474                        (this.onSlideStart &&
475                          "function" == typeof this.onSlideStart &&
476                          0 === this.onSlideEventsCount &&
477                          this.onSlideStart(this.value, this.percent, this.position),
478                        this.onSlide &&
479                          "function" == typeof this.onSlide &&
480                          this.onSlide(this.value, this.percent, this.position),
481                        this.vertical && (a.slidingVertically = !0)),
482                      this.onSlideEventsCount++;
483                  },
484                },
485                {
486                  key: "_setBufferPosition",
487                  value: function (t) {
488                    var e = !0;
489                    if (isFinite(t)) t = parseFloat(t);
490                    else {
491                      if (!h.isString(t)) return void console.warn("New position must be XXpx or XX%");
492                      0 < t.indexOf("px") && (e = !1), (t = parseFloat(t));
493                    }
494                    if (isNaN(t)) console.warn("New position is NaN");
495                    else if (this.options.bufferClass) {
496                      var i = e ? t : (t / this.rangeSize) * 100;
497                      i < 0 && (i = 0), 100 < i && (i = 100), (this.options.buffer = i);
498                      var n = (this.options.borderRadius / this.rangeSize) * 100,
499                        s = i - n;
500                      s < 0 && (s = 0),
501                        this.vertical
502                          ? ((this.buffer.style.height = s + "%"), (this.buffer.style.bottom = 0.5 * n + "%"))
503                          : ((this.buffer.style.width = s + "%"), (this.buffer.style.left = 0.5 * n + "%")),
504                        this.element.setAttribute("data-buffer", i);
505                    } else console.warn("You disabled buffer, it's className is empty");
506                  },
507                },
508                {
509                  key: "_getPositionFromNode",
510                  value: function (t) {
511                    for (var e = this.vertical ? this.maxHandleX : 0; null !== t; )
512                      (e += this.vertical ? t.offsetTop : t.offsetLeft), (t = t.offsetParent);
513                    return e;
514                  },
515                },
516                {
517                  key: "_getRelativePosition",
518                  value: function (t) {
519                    var e = this.range.getBoundingClientRect(),
520                      i = this.vertical ? e.bottom : e.left,
521                      n = 0,
522                      s = this.vertical ? "pageY" : "pageX";
523                    return (
524                      void 0 !== t[s]
525                        ? (n = t.touches && t.touches.length ? t.touches[0][s] : t[s])
526                        : void 0 !== t.originalEvent
527                        ? void 0 !== t.originalEvent[s]
528                          ? (n = t.originalEvent[s])
529                          : t.originalEvent.touches &&
530                            t.originalEvent.touches[0] &&
531                            void 0 !== t.originalEvent.touches[0][s] &&
532                            (n = t.originalEvent.touches[0][s])
533                        : t.touches && t.touches[0] && void 0 !== t.touches[0][s]
534                        ? (n = t.touches[0][s])
535                        : !t.currentPoint ||
536                          (void 0 === t.currentPoint.x && void 0 === t.currentPoint.y) ||
537                          (n = this.vertical ? t.currentPoint.y : t.currentPoint.x),
538                      this.vertical && (n -= window.pageYOffset),
539                      this.vertical ? i - n : n - i
540                    );
541                  },
542                },
543                {
544                  key: "_getPositionFromValue",
545                  value: function (t) {
546                    var e = ((t - this.min) / (this.max - this.min)) * this.maxHandleX;
547                    return isNaN(e) ? 0 : e;
548                  },
549                },
550                {
551                  key: "_getValueFromPosition",
552                  value: function (t) {
553                    var e = t / (this.maxHandleX || 1),
554                      i = this.step * Math.round((e * (this.max - this.min)) / this.step) + this.min;
555                    return Number(i.toFixed(this.toFixed));
556                  },
557                },
558                {
559                  key: "_setValue",
560                  value: function (t, e) {
561                    (t !== this.value || e) &&
562                      ((this.element.value = t),
563                      (this.value = t),
564                      l.triggerEvent(this.element, "input", { origin: this.identifier }));
565                  },
566                },
567              ],
568              [
569                {
570                  key: "create",
571                  value: function (t, i) {
572                    var e = function (t) {
573                      var e = t[u];
574                      e || ((e = new a(t, i)), (t[u] = e));
575                    };
576                    t.length
577                      ? Array.prototype.slice.call(t).forEach(function (t) {
578                          e(t);
579                        })
580                      : e(t);
581                  },
582                },
583                {
584                  key: "_touchMoveScrollHandler",
585                  value: function (t) {
586                    a.slidingVertically && t.preventDefault();
587                  },
588                },
589              ]
590            ),
591            a
592          );
593        })();
594      ((e.default = a).version = "0.4.11"),
595        (a.dom = l),
596        (a.functions = h),
597        (a.instances = []),
598        (a.slidingVertically = !1),
599        (t.exports = e.default);
600    },
601    function (t, e, i) {
602      "use strict";
603      Object.defineProperty(e, "__esModule", { value: !0 }),
604        (e.supportsRange =
605          e.removeAllListenersFromEl =
606          e.removeEventListeners =
607          e.addEventListeners =
608          e.insertAfter =
609          e.triggerEvent =
610          e.forEachAncestors =
611          e.removeClass =
612          e.addClass =
613          e.hasClass =
614          e.setCss =
615          e.getDimension =
616          e.getHiddenParentNodes =
617          e.isHidden =
618          e.detectIE =
619            void 0);
620      var s = (function (t) {
621        {
622          if (t && t.__esModule) return t;
623          var e = {};
624          if (null != t) for (var i in t) Object.prototype.hasOwnProperty.call(t, i) && (e[i] = t[i]);
625          return (e.default = t), e;
626        }
627      })(i(0));
628      var r = "eventListenerList",
629        n = (e.detectIE = function () {
630          var t = window.navigator.userAgent,
631            e = t.indexOf("MSIE ");
632          if (0 < e) return parseInt(t.substring(e + 5, t.indexOf(".", e)), 10);
633          if (0 < t.indexOf("Trident/")) {
634            var i = t.indexOf("rv:");
635            return parseInt(t.substring(i + 3, t.indexOf(".", i)), 10);
636          }
637          var n = t.indexOf("Edge/");
638          return 0 < n && parseInt(t.substring(n + 5, t.indexOf(".", n)), 10);
639        })(),
640        o = !(!window.PointerEvent || n) && { passive: !1 },
641        a = (e.isHidden = function (t) {
642          return 0 === t.offsetWidth || 0 === t.offsetHeight || !1 === t.open;
643        }),
644        h = (e.getHiddenParentNodes = function (t) {
645          for (var e = [], i = t.parentNode; i && a(i); ) e.push(i), (i = i.parentNode);
646          return e;
647        }),
648        l =
649          ((e.getDimension = function (t, e) {
650            var i = h(t),
651              n = i.length,
652              s = [],
653              r = t[e],
654              o = function (t) {
655                void 0 !== t.open && (t.open = !t.open);
656              };
657            if (n) {
658              for (var a = 0; a < n; a++)
659                s.push({
660                  display: i[a].style.display,
661                  height: i[a].style.height,
662                  overflow: i[a].style.overflow,
663                  visibility: i[a].style.visibility,
664                }),
665                  (i[a].style.display = "block"),
666                  (i[a].style.height = "0"),
667                  (i[a].style.overflow = "hidden"),
668                  (i[a].style.visibility = "hidden"),
669                  o(i[a]);
670              r = t[e];
671              for (var l = 0; l < n; l++)
672                o(i[l]),
673                  (i[l].style.display = s[l].display),
674                  (i[l].style.height = s[l].height),
675                  (i[l].style.overflow = s[l].overflow),
676                  (i[l].style.visibility = s[l].visibility);
677            }
678            return r;
679          }),
680          (e.setCss = function (t, e) {
681            for (var i in e) t.style[i] = e[i];
682            return t.style;
683          }),
684          (e.hasClass = function (t, e) {
685            return new RegExp(" " + e + " ").test(" " + t.className + " ");
686          }));
687      (e.addClass = function (t, e) {
688        l(t, e) || (t.className += " " + e);
689      }),
690        (e.removeClass = function (t, e) {
691          var i = " " + t.className.replace(/[\t\r\n]/g, " ") + " ";
692          if (l(t, e)) {
693            for (; 0 <= i.indexOf(" " + e + " "); ) i = i.replace(" " + e + " ", " ");
694            t.className = i.replace(/^\s+|\s+$/g, "");
695          }
696        }),
697        (e.forEachAncestors = function (t, e, i) {
698          for (i && e(t); t.parentNode && !e(t); ) t = t.parentNode;
699          return t;
700        }),
701        (e.triggerEvent = function (t, e, i) {
702          if (!s.isString(e)) throw new TypeError("event name must be String");
703          if (!(t instanceof HTMLElement)) throw new TypeError("element must be HTMLElement");
704          e = e.trim();
705          var n = document.createEvent("CustomEvent");
706          n.initCustomEvent(e, !1, !1, i), t.dispatchEvent(n);
707        }),
708        (e.insertAfter = function (t, e) {
709          return t.parentNode.insertBefore(e, t.nextSibling);
710        }),
711        (e.addEventListeners = function (e, t, i) {
712          t.forEach(function (t) {
713            e[r] || (e[r] = {}),
714              e[r][t] || (e[r][t] = []),
715              e.addEventListener(t, i, o),
716              e[r][t].indexOf(i) < 0 && e[r][t].push(i);
717          });
718        }),
719        (e.removeEventListeners = function (i, t, n) {
720          t.forEach(function (t) {
721            var e = void 0;
722            i.removeEventListener(t, n, !1), i[r] && i[r][t] && -1 < (e = i[r][t].indexOf(n)) && i[r][t].splice(e, 1);
723          });
724        }),
725        (e.removeAllListenersFromEl = function (e, t) {
726          if (t[r]) {
727            for (var i in t[r]) t[r][i].forEach(n, { eventName: i, el: t });
728            t[r] = {};
729          }
730          function n(t) {
731            t === e._startEventListener && this.el.removeEventListener(this.eventName, t, !1);
732          }
733        }),
734        (e.supportsRange = function () {
735          var t = document.createElement("input");
736          return t.setAttribute("type", "range"), "text" !== t.type;
737        });
738    },
739    function (t, e, i) {},
740  ]);
741});
742// https://github.com/Stryzhevskyi/rangeSlider

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.