PageSourceSearch

https://www.waterpoloengland.org/wp-content/themes/England-WaterPolo-Theme/js/jssor.slider.min.js

js waterpoloengland.org collected 2026-10-08 07:19:30 UTC 130,151 bytes, 3,970 lines download raw bytes

1(function(g, e, b, j, c, i, k) { /*! Jssor */
2    new(function() {
3        this.$DebugMode = c;
4        this.$Log = function(c, d) {
5            var a = g.console || {},
6                b = this.$DebugMode;
7            if (b && a.log) a.log(c);
8            else b && d && alert(c)
9        };
10        this.$Error = function(b, d) {
11            var c = g.console || {},
12                a = this.$DebugMode;
13            if (a && c.error) c.error(b);
14            else a && alert(b);
15            if (a) throw d || new Error(b);
16        };
17        this.$Fail = function(a) {
18            throw new Error(a);
19        };
20        this.$Assert = function(b, c) {
21            var a = this.$DebugMode;
22            if (a)
23                if (!b) throw new Error("Assert failed " + c || "");
24        };
25        this.$Trace = function(c) {
26            var a = g.console || {},
27                b = this.$DebugMode;
28            b && a.log && a.log(c)
29        };
30        this.$Execute = function(b) {
31            var a = this.$DebugMode;
32            a && b()
33        };
34        this.$LiveStamp = function(c, d) {
35            var b = this.$DebugMode;
36            if (b) {
37                var a = e.createElement("DIV");
38                a.setAttribute("id", d);
39                c.$Live = a
40            }
41        };
42        this.$C_AbstractProperty = function() {
43            throw new Error("The property is abstract, it should be implemented by subclass.");
44        };
45        this.$C_AbstractMethod = function() {
46            throw new Error("The method is abstract, it should be implemented by subclass.");
47        };
48
49        function a(b) {
50            if (b.constructor === a.caller) throw new Error("Cannot create instance of an abstract class.");
51        }
52        this.$C_AbstractClass = a
53    });
54    var d = g.$JssorEasing$ = {
55            $EaseSwing: function(a) {
56                return -b.cos(a * b.PI) / 2 + .5
57            },
58            $EaseLinear: function(a) {
59                return a
60            },
61            $EaseInQuad: function(a) {
62                return a * a
63            },
64            $EaseOutQuad: function(a) {
65                return -a * (a - 2)
66            },
67            $EaseInOutQuad: function(a) {
68                return (a *= 2) < 1 ? 1 / 2 * a * a : -1 / 2 * (--a * (a - 2) - 1)
69            },
70            $EaseInCubic: function(a) {
71                return a * a * a
72            },
73            $EaseOutCubic: function(a) {
74                return (a -= 1) * a * a + 1
75            },
76            $EaseInOutCubic: function(a) {
77                return (a *= 2) < 1 ? 1 / 2 * a * a * a : 1 / 2 * ((a -= 2) * a * a + 2)
78            },
79            $EaseInQuart: function(a) {
80                return a * a * a * a
81            },
82            $EaseOutQuart: function(a) {
83                return -((a -= 1) * a * a * a - 1)
84            },
85            $EaseInOutQuart: function(a) {
86                return (a *= 2) < 1 ? 1 / 2 * a * a * a * a : -1 / 2 * ((a -= 2) * a * a * a - 2)
87            },
88            $EaseInQuint: function(a) {
89                return a * a * a * a * a
90            },
91            $EaseOutQuint: function(a) {
92                return (a -= 1) * a * a * a * a + 1
93            },
94            $EaseInOutQuint: function(a) {
95                return (a *= 2) < 1 ? 1 / 2 * a * a * a * a * a : 1 / 2 * ((a -= 2) * a * a * a * a + 2)
96            },
97            $EaseInSine: function(a) {
98                return 1 - b.cos(a * b.PI / 2)
99            },
100            $EaseOutSine: function(a) {
101                return b.sin(a * b.PI / 2)
102            },
103            $EaseInOutSine: function(a) {
104                return -1 / 2 * (b.cos(b.PI * a) - 1)
105            },
106            $EaseInExpo: function(a) {
107                return a == 0 ? 0 : b.pow(2, 10 * (a - 1))
108            },
109            $EaseOutExpo: function(a) {
110                return a == 1 ? 1 : -b.pow(2, -10 * a) + 1
111            },
112            $EaseInOutExpo: function(a) {
113                return a == 0 || a == 1 ? a : (a *= 2) < 1 ? 1 / 2 * b.pow(2, 10 * (a - 1)) : 1 / 2 * (-b.pow(2, -10 * --a) + 2)
114            },
115            $EaseInCirc: function(a) {
116                return -(b.sqrt(1 - a * a) - 1)
117            },
118            $EaseOutCirc: function(a) {
119                return b.sqrt(1 - (a -= 1) * a)
120            },
121            $EaseInOutCirc: function(a) {
122                return (a *= 2) < 1 ? -1 / 2 * (b.sqrt(1 - a * a) - 1) : 1 / 2 * (b.sqrt(1 - (a -= 2) * a) + 1)
123            },
124            $EaseInElastic: function(a) {
125                if (!a || a == 1) return a;
126                var c = .3,
127                    d = .075;
128                return -(b.pow(2, 10 * (a -= 1)) * b.sin((a - d) * 2 * b.PI / c))
129            },
130            $EaseOutElastic: function(a) {
131                if (!a || a == 1) return a;
132                var c = .3,
133                    d = .075;
134                return b.pow(2, -10 * a) * b.sin((a - d) * 2 * b.PI / c) + 1
135            },
136            $EaseInOutElastic: function(a) {
137                if (!a || a == 1) return a;
138                var c = .45,
139                    d = .1125;
140                return (a *= 2) < 1 ? -.5 * b.pow(2, 10 * (a -= 1)) * b.sin((a - d) * 2 * b.PI / c) : b.pow(2, -10 * (a -= 1)) * b.sin((a - d) * 2 * b.PI / c) * .5 + 1
141            },
142            $EaseInBack: function(a) {
143                var b = 1.70158;
144                return a * a * ((b + 1) * a - b)
145            },
146            $EaseOutBack: function(a) {
147                var b = 1.70158;
148                return (a -= 1) * a * ((b + 1) * a + b) + 1
149            },
150            $EaseInOutBack: function(a) {
151                var b = 1.70158;
152                return (a *= 2) < 1 ? 1 / 2 * a * a * (((b *= 1.525) + 1) * a - b) : 1 / 2 * ((a -= 2) * a * (((b *= 1.525) + 1) * a + b) + 2)
153            },
154            $EaseInBounce: function(a) {
155                return 1 - d.$EaseOutBounce(1 - a)
156            },
157            $EaseOutBounce: function(a) {
158                return a < 1 / 2.75 ? 7.5625 * a * a : a < 2 / 2.75 ? 7.5625 * (a -= 1.5 / 2.75) * a + .75 : a < 2.5 / 2.75 ? 7.5625 * (a -= 2.25 / 2.75) * a + .9375 : 7.5625 * (a -= 2.625 / 2.75) * a + .984375
159            },
160            $EaseInOutBounce: function(a) {
161                return a < 1 / 2 ? d.$EaseInBounce(a * 2) * .5 : d.$EaseOutBounce(a * 2 - 1) * .5 + .5
162            },
163            $EaseGoBack: function(a) {
164                return 1 - b.abs(2 - 1)
165            },
166            $EaseInWave: function(a) {
167                return 1 - b.cos(a * b.PI * 2)
168            },
169            $EaseOutWave: function(a) {
170                return b.sin(a * b.PI * 2)
171            },
172            $EaseOutJump: function(a) {
173                return 1 - ((a *= 2) < 1 ? (a = 1 - a) * a * a : (a -= 1) * a * a)
174            },
175            $EaseInJump: function(a) {
176                return (a *= 2) < 1 ? a * a * a : (a = 2 - a) * a * a
177            }
178        },
179        f = g.$Jease$ = {
180            $Swing: d.$EaseSwing,
181            $Linear: d.$EaseLinear,
182            $InQuad: d.$EaseInQuad,
183            $OutQuad: d.$EaseOutQuad,
184            $InOutQuad: d.$EaseInOutQuad,
185            $InCubic: d.$EaseInCubic,
186            $OutCubic: d.$EaseOutCubic,
187            $InOutCubic: d.$EaseInOutCubic,
188            $InQuart: d.$EaseInQuart,
189            $OutQuart: d.$EaseOutQuart,
190            $InOutQuart: d.$EaseInOutQuart,
191            $InQuint: d.$EaseInQuint,
192            $OutQuint: d.$EaseOutQuint,
193            $InOutQuint: d.$EaseInOutQuint,
194            $InSine: d.$EaseInSine,
195            $OutSine: d.$EaseOutSine,
196            $InOutSine: d.$EaseInOutSine,
197            $InExpo: d.$EaseInExpo,
198            $OutExpo: d.$EaseOutExpo,
199            $InOutExpo: d.$EaseInOutExpo,
200            $InCirc: d.$EaseInCirc,
201            $OutCirc: d.$EaseOutCirc,
202            $InOutCirc: d.$EaseInOutCirc,
203            $InElastic: d.$EaseInElastic,
204            $OutElastic: d.$EaseOutElastic,
205            $InOutElastic: d.$EaseInOutElastic,
206            $InBack: d.$EaseInBack,
207            $OutBack: d.$EaseOutBack,
208            $InOutBack: d.$EaseInOutBack,
209            $InBounce: d.$EaseInBounce,
210            $OutBounce: d.$EaseOutBounce,
211            $InOutBounce: d.$EaseInOutBounce,
212            $GoBack: d.$EaseGoBack,
213            $InWave: d.$EaseInWave,
214            $OutWave: d.$EaseOutWave,
215            $OutJump: d.$EaseOutJump,
216            $InJump: d.$EaseInJump
217        };
218    g.$JssorDirection$ = {
219        $TO_LEFT: 1,
220        $TO_RIGHT: 2,
221        $TO_TOP: 4,
222        $TO_BOTTOM: 8,
223        $HORIZONTAL: 3,
224        $VERTICAL: 12,
225        $GetDirectionHorizontal: function(a) {
226            return a & 3
227        },
228        $GetDirectionVertical: function(a) {
229            return a & 12
230        },
231        $IsHorizontal: function(a) {
232            return a & 3
233        },
234        $IsVertical: function(a) {
235            return a & 12
236        }
237    };
238    var a = g.$Jssor$ = new function() {
239        var f = this,
240            zb = /\S+/g,
241            S = 1,
242            fb = 2,
243            jb = 3,
244            ib = 4,
245            nb = 5,
246            I, s = 0,
247            l = 0,
248            q = 0,
249            J = 0,
250            C = 0,
251            y = navigator,
252            sb = y.appName,
253            n = y.userAgent,
254            v = e.documentElement;
255
256        function Ib() {
257            if (!I) {
258                I = {
259                    $Touchable: "ontouchstart" in g || "createTouch" in e
260                };
261                var a;
262                if (y.pointerEnabled || (a = y.msPointerEnabled)) I.$TouchActionAttr = a ? "msTouchAction" : "touchAction"
263            }
264            return I
265        }
266
267        function t(i) {
268            if (!s) {
269                s = -1;
270                if (sb == "Microsoft Internet Explorer" && !!g.attachEvent && !!g.ActiveXObject) {
271                    var f = n.indexOf("MSIE");
272                    s = S;
273                    q = o(n.substring(f + 5, n.indexOf(";", f))); /*@cc_on J=@_jscript_version@*/ ;
274                    l = e.documentMode || q
275                } else if (sb == "Netscape" && !!g.addEventListener) {
276                    var d = n.indexOf("Firefox"),
277                        b = n.indexOf("Safari"),
278                        h = n.indexOf("Chrome"),
279                        c = n.indexOf("AppleWebKit");
280                    if (d >= 0) {
281                        s = fb;
282                        l = o(n.substring(d + 8))
283                    } else if (b >= 0) {
284                        var j = n.substring(0, b).lastIndexOf("/");
285                        s = h >= 0 ? ib : jb;
286                        l = o(n.substring(j + 1, b))
287                    } else {
288                        var a = /Trident\/.*rv:([0-9]{1,}[\.0-9]{0,})/i.exec(n);
289                        if (a) {
290                            s = S;
291                            l = q = o(a[1])
292                        }
293                    }
294                    if (c >= 0) C = o(n.substring(c + 12))
295                } else {
296                    var a = /(opera)(?:.*version|)[ \/]([\w.]+)/i.exec(n);
297                    if (a) {
298                        s = nb;
299                        l = o(a[2])
300                    }
301                }
302            }
303            return i == s
304        }
305
306        function p() {
307            return t(S)
308        }
309
310        function N() {
311            return p() && (l < 6 || e.compatMode == "BackCompat")
312        }
313
314        function Ab() {
315            return t(fb)
316        }
317
318        function hb() {
319            return t(jb)
320        }
321
322        function Db() {
323            return t(ib)
324        }
325
326        function mb() {
327            return t(nb)
328        }
329
330        function ab() {
331            return hb() && C > 534 && C < 535
332        }
333
334        function L() {
335            return p() && l < 9
336        }
337
338        function cb(a) {
339            var b;
340            return function(d) {
341                if (!b) {
342                    b = a;
343                    var c = a.substr(0, 1).toUpperCase() + a.substr(1);
344                    m([a].concat(["WebKit", "ms", "Moz", "O", "webkit"]), function(g, f) {
345                        var e = a;
346                        if (f) e = g + c;
347                        if (d.style[e] != k) return b = e
348                    })
349                }
350                return b
351            }
352        }
353        var bb = cb("transform");
354
355        function rb(a) {
356            return {}.toString.call(a)
357        }
358        var H;
359
360        function Fb() {
361            if (!H) {
362                H = {};
363                m(["Boolean", "Number", "String", "Function", "Array", "Date", "RegExp", "Object"], function(a) {
364                    H["[object " + a + "]"] = a.toLowerCase()
365                })
366            }
367            return H
368        }
369
370        function m(a, d) {
371            if (rb(a) == "[object Array]") {
372                for (var b = 0; b < a.length; b++)
373                    if (d(a[b], b, a)) return c
374            } else
375                for (var e in a)
376                    if (d(a[e], e, a)) return c
377        }
378
379        function A(a) {
380            return a == j ? String(a) : Fb()[rb(a)] || "object"
381        }
382
383        function pb(a) {
384            for (var b in a) return c
385        }
386
387        function x(a) {
388            try {
389                return A(a) == "object" && !a.nodeType && a != a.window && (!a.constructor || {}.hasOwnProperty.call(a.constructor.prototype, "isPrototypeOf"))
390            } catch (b) {}
391        }
392
393        function w(a, b) {
394            return {
395                x: a,
396                y: b
397            }
398        }
399
400        function vb(b, a) {
401            setTimeout(b, a || 0)
402        }
403
404        function F(b, d, c) {
405            var a = !b || b == "inherit" ? "" : b;
406            m(d, function(c) {
407                var b = c.exec(a);
408                if (b) {
409                    var d = a.substr(0, b.index),
410                        e = a.substr(b.lastIndex + 1, a.length - (b.lastIndex + 1));
411                    a = d + e
412                }
413            });
414            a = c + (a.indexOf(" ") != 0 ? " " : "") + a;
415            return a
416        }
417
418        function eb(b, a) {
419            if (l < 9) b.style.filter = a
420        }
421
422        function Bb(g, a, i) {
423            if (!J || J < 9) {
424                var d = a.$ScaleX,
425                    e = a.$ScaleY,
426                    j = (a.$Rotate || 0) % 360,
427                    h = "";
428                if (j || d != k || e != k) {
429                    if (d == k) d = 1;
430                    if (e == k) e = 1;
431                    var c = f.$CreateMatrix(j / 180 * b.PI, d || 1, e || 1),
432                        i = f.$GetMatrixOffset(c, a.$OriginalWidth, a.$OriginalHeight);
433                    f.$CssMarginTop(g, i.y);
434                    f.$CssMarginLeft(g, i.x);
435                    h = "progid:DXImageTransform.Microsoft.Matrix(M11=" + c[0][0] + ", M12=" + c[0][1] + ", M21=" + c[1][0] + ", M22=" + c[1][1] + ", SizingMethod='auto expand')"
436                }
437                var m = g.style.filter,
438                    n = new RegExp(/[\s]*progid:DXImageTransform\.Microsoft\.Matrix\([^\)]*\)/g),
439                    l = F(m, [n], h);
440                eb(g, l)
441            }
442        }
443        f.$Device = Ib;
444        f.$IsBrowserIE = p;
445        f.$IsBrowserIeQuirks = N;
446        f.$IsBrowserFireFox = Ab;
447        f.$IsBrowserSafari = hb;
448        f.$IsBrowserChrome = Db;
449        f.$IsBrowserOpera = mb;
450        f.$IsBrowserBadTransform = ab;
451        f.$IsBrowserIe9Earlier = L;
452        f.$BrowserVersion = function() {
453            return l
454        };
455        f.$BrowserEngineVersion = function() {
456            return q || l
457        };
458        f.$WebKitVersion = function() {
459            t();
460            return C
461        };
462        f.$Delay = vb;
463        f.$Inherit = function(a, b) {
464            b.call(a);
465            return z({}, a)
466        };
467
468        function V(a) {
469            a.constructor === V.caller && a.$Construct && a.$Construct.apply(a, V.caller.arguments)
470        }
471        f.$Construct = V;
472        f.$GetElement = function(a) {
473            if (f.$IsString(a)) a = e.getElementById(a);
474            return a
475        };
476
477        function r(a) {
478            return a || g.event
479        }
480        f.$GetEvent = r;
481        f.$EvtSrc = function(a) {
482            a = r(a);
483            return a.target || a.srcElement || e
484        };
485        f.$EvtTarget = function(a) {
486            a = r(a);
487            return a.relatedTarget || a.toElement
488        };
489        f.$EvtWhich = function(a) {
490            a = r(a);
491            return a.which || ([0, 1, 3, 0, 2])[a.button] || a.charCode || a.keyCode
492        };
493        f.$MousePosition = function(a) {
494            a = r(a);
495            return {
496                x: a.pageX || a.clientX || 0,
497                y: a.pageY || a.clientY || 0
498            }
499        };
500        f.$PageScroll = function() {
501            var a = e.body;
502            return {
503                x: (g.pageXOffset || v.scrollLeft || a.scrollLeft || 0) - (v.clientLeft || a.clientLeft || 0),
504                y: (g.pageYOffset || v.scrollTop || a.scrollTop || 0) - (v.clientTop || a.clientTop || 0)
505            }
506        };
507        f.$WindowSize = function() {
508            var a = e.body;
509            return {
510                x: a.clientWidth || v.clientWidth,
511                y: a.clientHeight || v.clientHeight
512            }
513        };
514
515        function B(c, d, a) {
516            if (a !== k) c.style[d] = a == k ? "" : a;
517            else {
518                var b = c.currentStyle || c.style;
519                a = b[d];
520                if (a == "" && g.getComputedStyle) {
521                    b = c.ownerDocument.defaultView.getComputedStyle(c, j);
522                    b && (a = b.getPropertyValue(d) || b[d])
523                }
524                return a
525            }
526        }
527
528        function X(b, c, a, d) {
529            if (a !== k) {
530                if (a == j) a = "";
531                else d && (a += "px");
532                B(b, c, a)
533            } else return o(B(b, c))
534        }
535
536        function Jb(b, d, a) {
537            return X(b, d, a, c)
538        }
539
540        function h(c, a) {
541            var d = a ? X : B,
542                b;
543            if (a & 4) b = cb(c);
544            return function(e, f) {
545                return d(e, b ? b(e) : c, f, a & 2)
546            }
547        }
548
549        function Cb(b) {
550            if (p() && q < 9) {
551                var a = /opacity=([^)]*)/.exec(b.style.filter || "");
552                return a ? o(a[1]) / 100 : 1
553            } else return o(b.style.opacity || "1")
554        }
555
556        function Eb(c, a, f) {
557            if (p() && q < 9) {
558                var h = c.style.filter || "",
559                    i = new RegExp(/[\s]*alpha\([^\)]*\)/g),
560                    e = b.round(100 * a),
561                    d = "";
562                if (e < 100 || f) d = "alpha(opacity=" + e + ") ";
563                var g = F(h, [i], d);
564                eb(c, g)
565            } else c.style.opacity = a == 1 ? "" : b.round(a * 100) / 100
566        }
567        var xb = {
568            $Rotate: ["rotate"],
569            $RotateX: ["rotateX"],
570            $RotateY: ["rotateY"],
571            $ScaleX: ["scaleX", 2],
572            $ScaleY: ["scaleY", 2],
573            $TranslateX: ["translateX", 1],
574            $TranslateY: ["translateY", 1],
575            $TranslateZ: ["translateZ", 1],
576            $SkewX: ["skewX"],
577            $SkewY: ["skewY"]
578        };
579
580        function Z(e, c) {
581            if (p() && l && l < 10) {
582                delete c.$RotateX;
583                delete c.$RotateY
584            }
585            var d = bb(e);
586            if (d) {
587                var b = "";
588                a.$Each(c, function(e, c) {
589                    var a = xb[c];
590                    if (a) {
591                        var d = a[1] || 0;
592                        b += (b ? " " : "") + a[0] + "(" + e + (["deg", "px", ""])[d] + ")"
593                    }
594                });
595                e.style[d] = b
596            }
597        }
598        f.$SetStyleTransform = function(b, a) {
599            if (ab()) vb(f.$CreateCallback(j, Z, b, a));
600            else(L() ? Bb : Z)(b, a)
601        };
602        f.$CssTransformOrigin = h("transformOrigin", 4);
603        f.$CssBackfaceVisibility = h("backfaceVisibility", 4);
604        f.$CssTransformStyle = h("transformStyle", 4);
605        f.$CssPerspective = h("perspective", 6);
606        f.$CssPerspectiveOrigin = h("perspectiveOrigin", 4);
607        f.$CssScale = function(a, c) {
608            if (p() && q < 9 || q < 10 && N()) a.style.zoom = c == 1 ? "" : c;
609            else {
610                var b = bb(a);
611                if (b) {
612                    var f = "scale(" + c + ")",
613                        e = a.style[b],
614                        g = new RegExp(/[\s]*scale\(.*?\)/g),
615                        d = F(e, [g], f);
616                    a.style[b] = d
617                }
618            }
619        };
620        var lb = 0,
621            gb = 0;
622        f.$WindowResizeFilter = function(b, a) {
623            return L() ? function() {
624                var g = c,
625                    d = N() ? b.document.body : b.document.documentElement;
626                if (d) {
627                    var f = d.offsetWidth - lb,
628                        e = d.offsetHeight - gb;
629                    if (f || e) {
630                        lb += f;
631                        gb += e
632                    } else g = i
633                }
634                g && a()
635            } : a
636        };
637        f.$MouseOverOutFilter = function(b, a) {
638            return function(c) {
639                c = r(c);
640                var e = c.type,
641                    d = c.relatedTarget || (e == "mouseout" ? c.toElement : c.fromElement);
642                (!d || d !== a && !f.$IsChild(a, d)) && b(c)
643            }
644        };
645        f.$AddEvent = function(a, c, d, b) {
646            a = f.$GetElement(a);
647            if (a.addEventListener) {
648                c == "mousewheel" && a.addEventListener("DOMMouseScroll", d, b);
649                a.addEventListener(c, d, b)
650            } else if (a.attachEvent) {
651                a.attachEvent("on" + c, d);
652                b && a.setCapture && a.setCapture()
653            }
654        };
655        f.$RemoveEvent = function(a, c, d, b) {
656            a = f.$GetElement(a);
657            if (a.removeEventListener) {
658                c == "mousewheel" && a.removeEventListener("DOMMouseScroll", d, b);
659                a.removeEventListener(c, d, b)
660            } else if (a.detachEvent) {
661                a.detachEvent("on" + c, d);
662                b && a.releaseCapture && a.releaseCapture()
663            }
664        };
665        f.$FireEvent = function(c, b) {
666            var a;
667            if (e.createEvent) {
668                a = e.createEvent("HTMLEvents");
669                a.initEvent(b, i, i);
670                c.dispatchEvent(a)
671            } else {
672                var d = "on" + b;
673                a = e.createEventObject();
674                c.fireEvent(d, a)
675            }
676        };
677        f.$CancelEvent = function(a) {
678            a = r(a);
679            a.preventDefault && a.preventDefault();
680            a.cancel = c;
681            a.returnValue = i
682        };
683        f.$StopEvent = function(a) {
684            a = r(a);
685            a.stopPropagation && a.stopPropagation();
686            a.cancelBubble = c
687        };
688        f.$CreateCallback = function(d, c) {
689            var a = [].slice.call(arguments, 2),
690                b = function() {
691                    var b = a.concat([].slice.call(arguments, 0));
692                    return c.apply(d, b)
693                };
694            return b
695        };
696        f.$InnerText = function(a, b) {
697            if (b == k) return a.textContent || a.innerText;
698            var c = e.createTextNode(b);
699            f.$Empty(a);
700            a.appendChild(c)
701        };
702        f.$InnerHtml = function(a, b) {
703            if (b == k) return a.innerHTML;
704            a.innerHTML = b
705        };
706        f.$GetClientRect = function(b) {
707            var a = b.getBoundingClientRect();
708            return {
709                x: a.left,
710                y: a.top,
711                w: a.right - a.left,
712                h: a.bottom - a.top
713            }
714        };
715        f.$ClearInnerHtml = function(a) {
716            a.innerHTML = ""
717        };
718        f.$EncodeHtml = function(b) {
719            var a = f.$CreateDiv();
720            f.$InnerText(a, b);
721            return f.$InnerHtml(a)
722        };
723        f.$DecodeHtml = function(b) {
724            var a = f.$CreateDiv();
725            f.$InnerHtml(a, b);
726            return f.$InnerText(a)
727        };
728        f.$SelectElement = function(c) {
729            var b;
730            if (g.getSelection) b = g.getSelection();
731            var a = j;
732            if (e.createRange) {
733                a = e.createRange();
734                a.selectNode(c)
735            } else {
736                a = e.body.createTextRange();
737                a.moveToElementText(c);
738                a.select()
739            }
740            b && b.addRange(a)
741        };
742        f.$DeselectElements = function() {
743            if (e.selection) e.selection.empty();
744            else g.getSelection && g.getSelection().removeAllRanges()
745        };
746        f.$Children = function(d, c) {
747            for (var b = [], a = d.firstChild; a; a = a.nextSibling)(c || a.nodeType == 1) && b.push(a);
748            return b
749        };
750
751        function qb(a, c, e, b) {
752            b = b || "u";
753            for (a = a ? a.firstChild : j; a; a = a.nextSibling)
754                if (a.nodeType == 1) {
755                    if (R(a, b) == c) return a;
756                    if (!e) {
757                        var d = qb(a, c, e, b);
758                        if (d) return d
759                    }
760                }
761        }
762        f.$FindChild = qb;
763
764        function P(a, d, f, b) {
765            b = b || "u";
766            var c = [];
767            for (a = a ? a.firstChild : j; a; a = a.nextSibling)
768                if (a.nodeType == 1) {
769                    R(a, b) == d && c.push(a);
770                    if (!f) {
771                        var e = P(a, d, f, b);
772                        if (e.length) c = c.concat(e)
773                    }
774                }
775            return c
776        }
777
778        function kb(a, c, d) {
779            for (a = a ? a.firstChild : j; a; a = a.nextSibling)
780                if (a.nodeType == 1) {
781                    if (a.tagName == c) return a;
782                    if (!d) {
783                        var b = kb(a, c, d);
784                        if (b) return b
785                    }
786                }
787        }
788        f.$FindChildByTag = kb;
789
790        function db(a, c, e) {
791            var b = [];
792            for (a = a ? a.firstChild : j; a; a = a.nextSibling)
793                if (a.nodeType == 1) {
794                    (!c || a.tagName == c) && b.push(a);
795                    if (!e) {
796                        var d = db(a, c, e);
797                        if (d.length) b = b.concat(d)
798                    }
799                }
800            return b
801        }
802        f.$FindChildrenByTag = db;
803        f.$GetElementsByTag = function(b, a) {
804            return b.getElementsByTagName(a)
805        };
806
807        function z() {
808            var e = arguments,
809                d, c, b, a, g = 1 & e[0],
810                f = 1 + g;
811            d = e[f - 1] || {};
812            for (; f < e.length; f++)
813                if (c = e[f])
814                    for (b in c) {
815                        a = c[b];
816                        if (a !== k) {
817                            a = c[b];
818                            var h = d[b];
819                            d[b] = g && (x(h) || x(a)) ? z(g, {}, h, a) : a
820                        }
821                    }
822                return d
823        }
824        f.$Extend = z;
825
826        function W(f, g) {
827            var d = {},
828                c, a, b;
829            for (c in f) {
830                a = f[c];
831                b = g[c];
832                if (a !== b) {
833                    var e;
834                    if (x(a) && x(b)) {
835                        a = W(a, b);
836                        e = !pb(a)
837                    }!e && (d[c] = a)
838                }
839            }
840            return d
841        }
842        f.$Unextend = W;
843        f.$IsFunction = function(a) {
844            return A(a) == "function"
845        };
846        f.$IsArray = function(a) {
847            return A(a) == "array"
848        };
849        f.$IsString = function(a) {
850            return A(a) == "string"
851        };
852        f.$IsNumeric = function(a) {
853            return !isNaN(o(a)) && isFinite(a)
854        };
855        f.$Type = A;
856        f.$Each = m;
857        f.$IsNotEmpty = pb;
858        f.$IsPlainObject = x;
859
860        function O(a) {
861            return e.createElement(a)
862        }
863        f.$CreateElement = O;
864        f.$CreateDiv = function() {
865            return O("DIV")
866        };
867        f.$CreateSpan = function() {
868            return O("SPAN")
869        };
870        f.$EmptyFunction = function() {};
871
872        function T(b, c, a) {
873            if (a == k) return b.getAttribute(c);
874            b.setAttribute(c, a)
875        }
876
877        function R(a, b) {
878            return T(a, b) || T(a, "data-" + b)
879        }
880        f.$Attribute = T;
881        f.$AttributeEx = R;
882
883        function u(b, a) {
884            if (a == k) return b.className;
885            b.className = a
886        }
887        f.$ClassName = u;
888
889        function ub(b) {
890            var a = {};
891            m(b, function(b) {
892                a[b] = b
893            });
894            return a
895        }
896
897        function Hb(b) {
898            var a = [];
899            m(b, function(b) {
900                a.push(b)
901            });
902            return a
903        }
904
905        function wb(b, a) {
906            return b.match(a || zb)
907        }
908
909        function M(b, a) {
910            return ub(wb(b || "", a))
911        }
912        f.$ToHash = ub;
913        f.$FromHash = Hb;
914        f.$Split = wb;
915
916        function Y(b, c) {
917            var a = "";
918            m(c, function(c) {
919                a && (a += b);
920                a += c
921            });
922            return a
923        }
924
925        function E(a, c, b) {
926            u(a, Y(" ", z(W(M(u(a)), M(c)), M(b))))
927        }
928        f.$Join = Y;
929        f.$AddClass = function(b, a) {
930            E(b, j, a)
931        };
932        f.$RemoveClass = E;
933        f.$ReplaceClass = E;
934        f.$ParentNode = function(a) {
935            return a.parentNode
936        };
937        f.$HideElement = function(a) {
938            f.$CssDisplay(a, "none")
939        };
940        f.$EnableElement = function(a, b) {
941            if (b) f.$Attribute(a, "disabled", c);
942            else f.$RemoveAttribute(a, "disabled")
943        };
944        f.$HideElements = function(b) {
945            for (var a = 0; a < b.length; a++) f.$HideElement(b[a])
946        };
947        f.$ShowElement = function(a, b) {
948            f.$CssDisplay(a, b ? "none" : "")
949        };
950        f.$ShowElements = function(b, c) {
951            for (var a = 0; a < b.length; a++) f.$ShowElement(b[a], c)
952        };
953        f.$RemoveAttribute = function(b, a) {
954            b.removeAttribute(a)
955        };
956        f.$CanClearClip = function() {
957            return p() && l < 10
958        };
959        f.$SetStyleClip = function(d, c) {
960            if (c) d.style.clip = "rect(" + b.round(c.$Top) + "px " + b.round(c.$Right) + "px " + b.round(c.$Bottom) + "px " + b.round(c.$Left) + "px)";
961            else {
962                var g = d.style.cssText,
963                    f = [new RegExp(/[\s]*clip: rect\(.*?\)[;]?/i), new RegExp(/[\s]*cliptop: .*?[;]?/i), new RegExp(/[\s]*clipright: .*?[;]?/i), new RegExp(/[\s]*clipbottom: .*?[;]?/i), new RegExp(/[\s]*clipleft: .*?[;]?/i)],
964                    e = F(g, f, "");
965                a.$CssCssText(d, e)
966            }
967        };
968        f.$GetNow = function() {
969            return +new Date
970        };
971        f.$AppendChild = function(b, a) {
972            b.appendChild(a)
973        };
974        f.$AppendChildren = function(b, a) {
975            m(a, function(a) {
976                f.$AppendChild(b, a)
977            })
978        };
979        f.$InsertBefore = function(b, a, c) {
980            (c || a.parentNode).insertBefore(b, a)
981        };
982        f.$InsertAfter = function(b, a, c) {
983            f.$InsertBefore(b, a.nextSibling, c || a.parentNode)
984        };
985        f.$InsertAdjacentHtml = function(b, a, c) {
986            b.insertAdjacentHTML(a, c)
987        };
988        f.$RemoveElement = function(a, b) {
989            (b || a.parentNode).removeChild(a)
990        };
991        f.$RemoveElements = function(a, b) {
992            m(a, function(a) {
993                f.$RemoveElement(a, b)
994            })
995        };
996        f.$Empty = function(a) {
997            f.$RemoveElements(f.$Children(a, c), a)
998        };
999        f.$CenterElement = function(a, b) {
1000            var c = f.$ParentNode(a);
1001            b & 1 && f.$CssLeft(a, (f.$CssWidth(c) - f.$CssWidth(a)) / 2);
1002            b & 2 && f.$CssTop(a, (f.$CssHeight(c) - f.$CssHeight(a)) / 2)
1003        };
1004        f.$ParseInt = function(b, a) {
1005            return parseInt(b, a || 10)
1006        };
1007        var o = parseFloat;
1008        f.$ParseFloat = o;
1009        f.$IsChild = function(b, a) {
1010            var c = e.body;
1011            while (a && b !== a && c !== a) try {
1012                a = a.parentNode
1013            } catch (d) {
1014                return i
1015            }
1016            return b === a
1017        };
1018
1019        function U(d, c, b) {
1020            var a = d.cloneNode(!c);
1021            !b && f.$RemoveAttribute(a, "id");
1022            return a
1023        }
1024        f.$CloneNode = U;
1025        f.$LoadImage = function(e, g) {
1026            var a = new Image;
1027
1028            function b(e, c) {
1029                f.$RemoveEvent(a, "load", b);
1030                f.$RemoveEvent(a, "abort", d);
1031                f.$RemoveEvent(a, "error", d);
1032                g && g(a, c)
1033            }
1034
1035            function d(a) {
1036                b(a, c)
1037            }
1038            if (mb() && l < 11.6 || !e) b(!e);
1039            else {
1040                f.$AddEvent(a, "load", b);
1041                f.$AddEvent(a, "abort", d);
1042                f.$AddEvent(a, "error", d);
1043                a.src = e
1044            }
1045        };
1046        f.$LoadImages = function(d, a, e) {
1047            var c = d.length + 1;
1048
1049            function b(b) {
1050                c--;
1051                if (a && b && b.src == a.src) a = b;
1052                !c && e && e(a)
1053            }
1054            m(d, function(a) {
1055                f.$LoadImage(a.src, b)
1056            });
1057            b()
1058        };
1059        f.$BuildElement = function(b, g, i, h) {
1060            if (h) b = U(b);
1061            var c = P(b, g);
1062            if (!c.length) c = a.$GetElementsByTag(b, g);
1063            for (var f = c.length - 1; f > -1; f--) {
1064                var d = c[f],
1065                    e = U(i);
1066                u(e, u(d));
1067                a.$CssCssText(e, d.style.cssText);
1068                a.$InsertBefore(e, d);
1069                a.$RemoveElement(d)
1070            }
1071            return b
1072        };
1073
1074        function Gb(b) {
1075            var l = this,
1076                p = "",
1077                r = ["av", "pv", "ds", "dn"],
1078                g = [],
1079                q, j = 0,
1080                h = 0,
1081                d = 0;
1082
1083            function i() {
1084                E(b, q, g[d || j || h & 2 || h]);
1085                a.$Css(b, "pointer-events", d ? "none" : "")
1086            }
1087
1088            function c() {
1089                j = 0;
1090                i();
1091                f.$RemoveEvent(e, "mouseup", c);
1092                f.$RemoveEvent(e, "touchend", c);
1093                f.$RemoveEvent(e, "touchcancel", c)
1094            }
1095
1096            function o(a) {
1097                if (d) f.$CancelEvent(a);
1098                else {
1099                    j = 4;
1100                    i();
1101                    f.$AddEvent(e, "mouseup", c);
1102                    f.$AddEvent(e, "touchend", c);
1103                    f.$AddEvent(e, "touchcancel", c)
1104                }
1105            }
1106            l.$Selected = function(a) {
1107                if (a === k) return h;
1108                h = a & 2 || a & 1;
1109                i()
1110            };
1111            l.$Enable = function(a) {
1112                if (a === k) return !d;
1113                d = a ? 0 : 3;
1114                i()
1115            };
1116            l.$Elmt = b = f.$GetElement(b);
1117            var n = a.$Split(u(b));
1118            if (n) p = n.shift();
1119            m(r, function(a) {
1120                g.push(p + a)
1121            });
1122            q = Y(" ", g);
1123            g.unshift("");
1124            f.$AddEvent(b, "mousedown", o);
1125            f.$AddEvent(b, "touchstart", o)
1126        }
1127        f.$Buttonize = function(a) {
1128            return new Gb(a)
1129        };
1130        f.$Css = B;
1131        f.$CssN = X;
1132        f.$CssP = Jb;
1133        f.$CssOverflow = h("overflow");
1134        f.$CssTop = h("top", 2);
1135        f.$CssLeft = h("left", 2);
1136        f.$CssWidth = h("width", 2);
1137        f.$CssHeight = h("height", 2);
1138        f.$CssMarginLeft = h("marginLeft", 2);
1139        f.$CssMarginTop = h("marginTop", 2);
1140        f.$CssPosition = h("position");
1141        f.$CssDisplay = h("display");
1142        f.$CssZIndex = h("zIndex", 1);
1143        f.$CssFloat = function(b, a) {
1144            return B(b, p() ? "styleFloat" : "cssFloat", a)
1145        };
1146        f.$CssOpacity = function(b, a, c) {
1147            if (a != k) Eb(b, a, c);
1148            else return Cb(b)
1149        };
1150        f.$CssCssText = function(a, b) {
1151            if (b != k) a.style.cssText = b;
1152            else return a.style.cssText
1153        };
1154        var Q = {
1155                $Opacity: f.$CssOpacity,
1156                $Top: f.$CssTop,
1157                $Left: f.$CssLeft,
1158                $Width: f.$CssWidth,
1159                $Height: f.$CssHeight,
1160                $Position: f.$CssPosition,
1161                $Display: f.$CssDisplay,
1162                $ZIndex: f.$CssZIndex
1163            },
1164            K;
1165
1166        function G() {
1167            if (!K) K = z({
1168                $MarginTop: f.$CssMarginTop,
1169                $MarginLeft: f.$CssMarginLeft,
1170                $Clip: f.$SetStyleClip,
1171                $Transform: f.$SetStyleTransform
1172            }, Q);
1173            return K
1174        }
1175
1176        function ob() {
1177            var a = {};
1178            a.$Transform = a.$Transform;
1179            a.$Transform = a.$Rotate;
1180            a.$Transform = a.$RotateX;
1181            a.$Transform = a.$RotateY;
1182            a.$Transform = a.$SkewX;
1183            a.$Transform = a.$SkewY;
1184            a.$Transform = a.$TranslateX;
1185            a.$Transform = a.$TranslateY;
1186            a.$Transform = a.$TranslateZ;
1187            return G()
1188        }
1189        f.$StyleSetter = G;
1190        f.$StyleSetterEx = ob;
1191        f.$GetStyles = function(c, b) {
1192            G();
1193            var a = {};
1194            m(b, function(d, b) {
1195                if (Q[b]) a[b] = Q[b](c)
1196            });
1197            return a
1198        };
1199        f.$SetStyles = function(c, b) {
1200            var a = G();
1201            m(b, function(d, b) {
1202                a[b] && a[b](c, d)
1203            })
1204        };
1205        f.$SetStylesEx = function(b, a) {
1206            ob();
1207            f.$SetStyles(b, a)
1208        };
1209        var D = new function() {
1210            var a = this;
1211
1212            function b(d, g) {
1213                for (var j = d[0].length, i = d.length, h = g[0].length, f = [], c = 0; c < i; c++)
1214                    for (var k = f[c] = [], b = 0; b < h; b++) {
1215                        for (var e = 0, a = 0; a < j; a++) e += d[c][a] * g[a][b];
1216                        k[b] = e
1217                    }
1218                return f
1219            }
1220            a.$ScaleX = function(b, c) {
1221                return a.$ScaleXY(b, c, 0)
1222            };
1223            a.$ScaleY = function(b, c) {
1224                return a.$ScaleXY(b, 0, c)
1225            };
1226            a.$ScaleXY = function(a, c, d) {
1227                return b(a, [
1228                    [c, 0],
1229                    [0, d]
1230                ])
1231            };
1232            a.$TransformPoint = function(d, c) {
1233                var a = b(d, [
1234                    [c.x],
1235                    [c.y]
1236                ]);
1237                return w(a[0][0], a[1][0])
1238            }
1239        };
1240        f.$CreateMatrix = function(d, a, c) {
1241            var e = b.cos(d),
1242                f = b.sin(d);
1243            return [
1244                [e * a, -f * c],
1245                [f * a, e * c]
1246            ]
1247        };
1248        f.$GetMatrixOffset = function(d, c, a) {
1249            var e = D.$TransformPoint(d, w(-c / 2, -a / 2)),
1250                f = D.$TransformPoint(d, w(c / 2, -a / 2)),
1251                g = D.$TransformPoint(d, w(c / 2, a / 2)),
1252                h = D.$TransformPoint(d, w(-c / 2, a / 2));
1253            return w(b.min(e.x, f.x, g.x, h.x) + c / 2, b.min(e.y, f.y, g.y, h.y) + a / 2)
1254        };
1255        var yb = {
1256            $Zoom: 1,
1257            $ScaleX: 1,
1258            $ScaleY: 1,
1259            $Rotate: 0,
1260            $RotateX: 0,
1261            $RotateY: 0,
1262            $TranslateX: 0,
1263            $TranslateY: 0,
1264            $TranslateZ: 0,
1265            $SkewX: 0,
1266            $SkewY: 0
1267        };
1268        f.$FormatEasings = function(b) {
1269            var c = b || {};
1270            if (b)
1271                if (a.$IsFunction(b)) c = {
1272                    $Default: c
1273                };
1274                else if (a.$IsFunction(b.$Clip)) c.$Clip = {
1275                $Default: b.$Clip
1276            };
1277            return c
1278        };
1279
1280        function tb(c, a) {
1281            var b = {};
1282            m(c, function(c, d) {
1283                var e = c;
1284                if (a[d] != k)
1285                    if (f.$IsNumeric(c)) e = c + a[d];
1286                    else e = tb(c, a[d]);
1287                b[d] = e
1288            });
1289            return b
1290        }
1291        f.$AddDif = tb;
1292        f.$Cast = function(h, i, w, n, y, z, o) {
1293            var c = i;
1294            if (h) {
1295                c = {};
1296                for (var g in i) {
1297                    var A = z[g] || 1,
1298                        v = y[g] || [0, 1],
1299                        e = (w - v[0]) / v[1];
1300                    e = b.min(b.max(e, 0), 1);
1301                    e = e * A;
1302                    var u = b.floor(e);
1303                    if (e != u) e -= u;
1304                    var l = n.$Default || d.$EaseSwing,
1305                        m, B = h[g],
1306                        q = i[g];
1307                    if (a.$IsNumeric(q)) {
1308                        l = n[g] || l;
1309                        var x = l(e);
1310                        m = B + q * x
1311                    } else {
1312                        m = a.$Extend({
1313                            $Offset: {}
1314                        }, h[g]);
1315                        a.$Each(q.$Offset || q, function(d, a) {
1316                            if (n.$Clip) l = n.$Clip[a] || n.$Clip.$Default || l;
1317                            var c = l(e),
1318                                b = d * c;
1319                            m.$Offset[a] = b;
1320                            m[a] += b
1321                        })
1322                    }
1323                    c[g] = m
1324                }
1325                var t, f = {
1326                    $OriginalWidth: o.$OriginalWidth,
1327                    $OriginalHeight: o.$OriginalHeight
1328                };
1329                a.$Each(yb, function(d, a) {
1330                    t = t || i[a];
1331                    var b = c[a];
1332                    if (b != k) {
1333                        if (b != d) f[a] = b;
1334                        delete c[a]
1335                    } else if (h[a] != k && h[a] != d) f[a] = h[a]
1336                });
1337                if (i.$Zoom && f.$Zoom) {
1338                    f.$ScaleX = f.$Zoom;
1339                    f.$ScaleY = f.$Zoom
1340                }
1341                c.$Transform = f
1342            }
1343            if (i.$Clip && o.$Move) {
1344                var p = c.$Clip.$Offset,
1345                    s = (p.$Top || 0) + (p.$Bottom || 0),
1346                    r = (p.$Left || 0) + (p.$Right || 0);
1347                c.$Left = (c.$Left || 0) + r;
1348                c.$Top = (c.$Top || 0) + s;
1349                c.$Clip.$Left -= r;
1350                c.$Clip.$Right -= r;
1351                c.$Clip.$Top -= s;
1352                c.$Clip.$Bottom -= s
1353            }
1354            if (c.$Clip && a.$CanClearClip() && !c.$Clip.$Top && !c.$Clip.$Left && c.$Clip.$Right == o.$OriginalWidth && c.$Clip.$Bottom == o.$OriginalHeight) c.$Clip = j;
1355            return c
1356        }
1357    };
1358
1359    function m() {
1360        var b = this,
1361            d = [],
1362            c = [];
1363
1364        function i(a, b) {
1365            d.push({
1366                $EventName: a,
1367                $Handler: b
1368            })
1369        }
1370
1371        function h(b, c) {
1372            a.$Each(d, function(a, e) {
1373                a.$EventName == b && a.$Handler === c && d.splice(e, 1)
1374            })
1375        }
1376
1377        function f() {
1378            d = []
1379        }
1380
1381        function e() {
1382            a.$Each(c, function(b) {
1383                a.$RemoveEvent(b.$Obj, b.$EventName, b.$Handler)
1384            });
1385            c = []
1386        }
1387        b.$Listen = function(e, b, d, f) {
1388            a.$AddEvent(e, b, d, f);
1389            c.push({
1390                $Obj: e,
1391                $EventName: b,
1392                $Handler: d
1393            })
1394        };
1395        b.$Unlisten = function(e, b, d) {
1396            a.$Each(c, function(f, g) {
1397                if (f.$Obj === e && f.$EventName == b && f.$Handler === d) {
1398                    a.$RemoveEvent(e, b, d);
1399                    c.splice(g, 1)
1400                }
1401            })
1402        };
1403        b.$UnlistenAll = e;
1404        b.$On = b.addEventListener = i;
1405        b.$Off = b.removeEventListener = h;
1406        b.$TriggerEvent = function(b) {
1407            var c = [].slice.call(arguments, 1);
1408            a.$Each(d, function(a) {
1409                a.$EventName == b && a.$Handler.apply(g, c)
1410            })
1411        };
1412        b.$Destroy = function() {
1413            e();
1414            f();
1415            for (var a in b) delete b[a]
1416        }
1417    }
1418    var l = g.$JssorAnimator$ = function(y, C, k, P, N, J) {
1419        y = y || 0;
1420        var d = this,
1421            q, M, n, o, v, z = 0,
1422            H, I, G, B, x = 0,
1423            h = 0,
1424            m = 0,
1425            D, l, s, f, e, p, w = [],
1426            A;
1427
1428        function O(a) {
1429            f += a;
1430            e += a;
1431            l += a;
1432            s += a;
1433            h += a;
1434            m += a;
1435            x += a
1436        }
1437
1438        function u(n) {
1439            var g = n;
1440            if (p && (g >= e || g <= f)) g = ((g - f) % p + p) % p + f;
1441            if (!D || v || h != g) {
1442                var i = b.min(g, e);
1443                i = b.max(i, f);
1444                if (!D || v || i != m) {
1445                    if (J) {
1446                        var j = (i - l) / (C || 1);
1447                        if (k.$Reverse) j = 1 - j;
1448                        var o = a.$Cast(N, J, j, H, G, I, k);
1449                        a.$Each(o, function(b, a) {
1450                            A[a] && A[a](P, b)
1451                        })
1452                    }
1453                    d.$OnInnerOffsetChange(m - l, i - l);
1454                    m = i;
1455                    a.$Each(w, function(b, c) {
1456                        var a = n < h ? w[w.length - c - 1] : b;
1457                        a.$GoToPosition(m - x)
1458                    });
1459                    var r = h,
1460                        q = m;
1461                    h = g;
1462                    D = c;
1463                    d.$OnPositionChange(r, q)
1464                }
1465            }
1466        }
1467
1468        function E(a, c, d) {
1469            c && a.$Shift(e);
1470            if (!d) {
1471                f = b.min(f, a.$GetPosition_OuterBegin() + x);
1472                e = b.max(e, a.$GetPosition_OuterEnd() + x)
1473            }
1474            w.push(a)
1475        }
1476        var r = g.requestAnimationFrame || g.webkitRequestAnimationFrame || g.mozRequestAnimationFrame || g.msRequestAnimationFrame;
1477        if (a.$IsBrowserSafari() && a.$BrowserVersion() < 7) r = j;
1478        r = r || function(b) {
1479            a.$Delay(b, k.$Interval)
1480        };
1481
1482        function K() {
1483            if (q) {
1484                var d = a.$GetNow(),
1485                    e = b.min(d - z, k.$IntervalMax),
1486                    c = h + e * o;
1487                z = d;
1488                if (c * o >= n * o) c = n;
1489                u(c);
1490                if (!v && c * o >= n * o) L(B);
1491                else r(K)
1492            }
1493        }
1494
1495        function t(g, i, j) {
1496            if (!q) {
1497                q = c;
1498                v = j;
1499                B = i;
1500                g = b.max(g, f);
1501                g = b.min(g, e);
1502                n = g;
1503                o = n < h ? -1 : 1;
1504                d.$OnStart();
1505                z = a.$GetNow();
1506                r(K)
1507            }
1508        }
1509
1510        function L(a) {
1511            if (q) {
1512                v = q = B = i;
1513                d.$OnStop();
1514                a && a()
1515            }
1516        }
1517        d.$Play = function(a, b, c) {
1518            t(a ? h + a : e, b, c)
1519        };
1520        d.$PlayToPosition = t;
1521        d.$PlayToBegin = function(a, b) {
1522            t(f, a, b)
1523        };
1524        d.$PlayToEnd = function(a, b) {
1525            t(e, a, b)
1526        };
1527        d.$Stop = L;
1528        d.$Continue = function(a) {
1529            t(a)
1530        };
1531        d.$GetPosition = function() {
1532            return h
1533        };
1534        d.$GetPlayToPosition = function() {
1535            return n
1536        };
1537        d.$GetPosition_Display = function() {
1538            return m
1539        };
1540        d.$GoToPosition = u;
1541        d.$GoToBegin = function() {
1542            u(f, c)
1543        };
1544        d.$GoToEnd = function() {
1545            u(e, c)
1546        };
1547        d.$Move = function(a) {
1548            u(h + a)
1549        };
1550        d.$CombineMode = function() {
1551            return M
1552        };
1553        d.$GetDuration = function() {
1554            return C
1555        };
1556        d.$IsPlaying = function() {
1557            return q
1558        };
1559        d.$IsOnTheWay = function() {
1560            return h > l && h <= s
1561        };
1562        d.$SetLoopLength = function(a) {
1563            p = a
1564        };
1565        d.$Shift = O;
vendor: 11,858 bytes, lines 1566-1961
1566        d.$Join = E;
1567        d.$Combine = function(a, b) {
1568            E(a, 0, b)
1569        };
1570        d.$Chain = function(a) {
1571            E(a, 1)
1572        };
1573        d.$Expand = function(a) {
1574            e += a
1575        };
1576        d.$GetPosition_InnerBegin = function() {
1577            return l
1578        };
1579        d.$GetPosition_InnerEnd = function() {
1580            return s
1581        };
1582        d.$GetPosition_OuterBegin = function() {
1583            return f
1584        };
1585        d.$GetPosition_OuterEnd = function() {
1586            return e
1587        };
1588        d.$OnPositionChange = d.$OnStart = d.$OnStop = d.$OnInnerOffsetChange = a.$EmptyFunction;
1589        d.$Version = a.$GetNow();
1590        k = a.$Extend({
1591            $Interval: 16,
1592            $IntervalMax: 50
1593        }, k);
1594        p = k.$LoopLength;
1595        A = a.$Extend({}, a.$StyleSetter(), k.$Setter);
1596        f = l = y;
1597        e = s = y + C;
1598        I = k.$Round || {};
1599        G = k.$During || {};
1600        H = a.$FormatEasings(k.$Easing)
1601    };
1602    var o = g.$JssorSlideshowFormations$ = new function() {
1603        var h = this,
1604            d = 0,
1605            a = 1,
1606            f = 2,
1607            e = 3,
1608            s = 1,
1609            r = 2,
1610            t = 4,
1611            q = 8,
1612            w = 256,
1613            x = 512,
1614            v = 1024,
1615            u = 2048,
1616            j = u + s,
1617            i = u + r,
1618            o = x + s,
1619            m = x + r,
1620            n = w + t,
1621            k = w + q,
1622            l = v + t,
1623            p = v + q;
1624
1625        function y(a) {
1626            return (a & r) == r
1627        }
1628
1629        function z(a) {
1630            return (a & t) == t
1631        }
1632
1633        function g(b, a, c) {
1634            c.push(a);
1635            b[a] = b[a] || [];
1636            b[a].push(c)
1637        }
1638        h.$FormationStraight = function(f) {
1639            for (var d = f.$Cols, e = f.$Rows, s = f.$Assembly, t = f.$Count, r = [], a = 0, b = 0, p = d - 1, q = e - 1, h = t - 1, c, b = 0; b < e; b++)
1640                for (a = 0; a < d; a++) {
1641                    switch (s) {
1642                        case j:
1643                            c = h - (a * e + (q - b));
1644                            break;
1645                        case l:
1646                            c = h - (b * d + (p - a));
1647                            break;
1648                        case o:
1649                            c = h - (a * e + b);
1650                        case n:
1651                            c = h - (b * d + a);
1652                            break;
1653                        case i:
1654                            c = a * e + b;
1655                            break;
1656                        case k:
1657                            c = b * d + (p - a);
1658                            break;
1659                        case m:
1660                            c = a * e + (q - b);
1661                            break;
1662                        default:
1663                            c = b * d + a
1664                    }
1665                    g(r, c, [b, a])
1666                }
1667            return r
1668        };
1669        h.$FormationSwirl = function(q) {
1670            var x = q.$Cols,
1671                y = q.$Rows,
1672                B = q.$Assembly,
1673                w = q.$Count,
1674                A = [],
1675                z = [],
1676                u = 0,
1677                b = 0,
1678                h = 0,
1679                r = x - 1,
1680                s = y - 1,
1681                t, p, v = 0;
1682            switch (B) {
1683                case j:
1684                    b = r;
1685                    h = 0;
1686                    p = [f, a, e, d];
1687                    break;
1688                case l:
1689                    b = 0;
1690                    h = s;
1691                    p = [d, e, a, f];
1692                    break;
1693                case o:
1694                    b = r;
1695                    h = s;
1696                    p = [e, a, f, d];
1697                    break;
1698                case n:
1699                    b = r;
1700                    h = s;
1701                    p = [a, e, d, f];
1702                    break;
1703                case i:
1704                    b = 0;
1705                    h = 0;
1706                    p = [f, d, e, a];
1707                    break;
1708                case k:
1709                    b = r;
1710                    h = 0;
1711                    p = [a, f, d, e];
1712                    break;
1713                case m:
1714                    b = 0;
1715                    h = s;
1716                    p = [e, d, f, a];
1717                    break;
1718                default:
1719                    b = 0;
1720                    h = 0;
1721                    p = [d, f, a, e]
1722            }
1723            u = 0;
1724            while (u < w) {
1725                t = h + "," + b;
1726                if (b >= 0 && b < x && h >= 0 && h < y && !z[t]) {
1727                    z[t] = c;
1728                    g(A, u++, [h, b])
1729                } else switch (p[v++ % p.length]) {
1730                    case d:
1731                        b--;
1732                        break;
1733                    case f:
1734                        h--;
1735                        break;
1736                    case a:
1737                        b++;
1738                        break;
1739                    case e:
1740                        h++
1741                }
1742                switch (p[v % p.length]) {
1743                    case d:
1744                        b++;
1745                        break;
1746                    case f:
1747                        h++;
1748                        break;
1749                    case a:
1750                        b--;
1751                        break;
1752                    case e:
1753                        h--
1754                }
1755            }
1756            return A
1757        };
1758        h.$FormationZigZag = function(p) {
1759            var w = p.$Cols,
1760                x = p.$Rows,
1761                z = p.$Assembly,
1762                v = p.$Count,
1763                t = [],
1764                u = 0,
1765                b = 0,
1766                c = 0,
1767                q = w - 1,
1768                r = x - 1,
1769                y, h, s = 0;
1770            switch (z) {
1771                case j:
1772                    b = q;
1773                    c = 0;
1774                    h = [f, a, e, a];
1775                    break;
1776                case l:
1777                    b = 0;
1778                    c = r;
1779                    h = [d, e, a, e];
1780                    break;
1781                case o:
1782                    b = q;
1783                    c = r;
1784                    h = [e, a, f, a];
1785                    break;
1786                case n:
1787                    b = q;
1788                    c = r;
1789                    h = [a, e, d, e];
1790                    break;
1791                case i:
1792                    b = 0;
1793                    c = 0;
1794                    h = [f, d, e, d];
1795                    break;
1796                case k:
1797                    b = q;
1798                    c = 0;
1799                    h = [a, f, d, f];
1800                    break;
1801                case m:
1802                    b = 0;
1803                    c = r;
1804                    h = [e, d, f, d];
1805                    break;
1806                default:
1807                    b = 0;
1808                    c = 0;
1809                    h = [d, f, a, f]
1810            }
1811            u = 0;
1812            while (u < v) {
1813                y = c + "," + b;
1814                if (b >= 0 && b < w && c >= 0 && c < x && typeof t[y] == "undefined") {
1815                    g(t, u++, [c, b]);
1816                    switch (h[s % h.length]) {
1817                        case d:
1818                            b++;
1819                            break;
1820                        case f:
1821                            c++;
1822                            break;
1823                        case a:
1824                            b--;
1825                            break;
1826                        case e:
1827                            c--
1828                    }
1829                } else {
1830                    switch (h[s++ % h.length]) {
1831                        case d:
1832                            b--;
1833                            break;
1834                        case f:
1835                            c--;
1836                            break;
1837                        case a:
1838                            b++;
1839                            break;
1840                        case e:
1841                            c++
1842                    }
1843                    switch (h[s++ % h.length]) {
1844                        case d:
1845                            b++;
1846                            break;
1847                        case f:
1848                            c++;
1849                            break;
1850                        case a:
1851                            b--;
1852                            break;
1853                        case e:
1854                            c--
1855                    }
1856                }
1857            }
1858            return t
1859        };
1860        h.$FormationStraightStairs = function(q) {
1861            var u = q.$Cols,
1862                v = q.$Rows,
1863                e = q.$Assembly,
1864                t = q.$Count,
1865                r = [],
1866                s = 0,
1867                c = 0,
1868                d = 0,
1869                f = u - 1,
1870                h = v - 1,
1871                x = t - 1;
1872            switch (e) {
1873                case j:
1874                case m:
1875                case o:
1876                case i:
1877                    var a = 0,
1878                        b = 0;
1879                    break;
1880                case k:
1881                case l:
1882                case n:
1883                case p:
1884                    var a = f,
1885                        b = 0;
1886                    break;
1887                default:
1888                    e = p;
1889                    var a = f,
1890                        b = 0
1891            }
1892            c = a;
1893            d = b;
1894            while (s < t) {
1895                if (z(e) || y(e)) g(r, x - s++, [d, c]);
1896                else g(r, s++, [d, c]);
1897                switch (e) {
1898                    case j:
1899                    case m:
1900                        c--;
1901                        d++;
1902                        break;
1903                    case o:
1904                    case i:
1905                        c++;
1906                        d--;
1907                        break;
1908                    case k:
1909                    case l:
1910                        c--;
1911                        d--;
1912                        break;
1913                    case p:
1914                    case n:
1915                    default:
1916                        c++;
1917                        d++
1918                }
1919                if (c < 0 || d < 0 || c > f || d > h) {
1920                    switch (e) {
1921                        case j:
1922                        case m:
1923                            a++;
1924                            break;
1925                        case k:
1926                        case l:
1927                        case o:
1928                        case i:
1929                            b++;
1930                            break;
1931                        case p:
1932                        case n:
1933                        default:
1934                            a--
1935                    }
1936                    if (a < 0 || b < 0 || a > f || b > h) {
1937                        switch (e) {
1938                            case j:
1939                            case m:
1940                                a = f;
1941                                b++;
1942                                break;
1943                            case o:
1944                            case i:
1945                                b = h;
1946                                a++;
1947                                break;
1948                            case k:
1949                            case l:
1950                                b = h;
1951                                a--;
1952                                break;
1953                            case p:
1954                            case n:
1955                            default:
1956                                a = 0;
1957                                b++
1958                        }
1959                        if (b > h) b = h;
1960                        else if (b < 0) b = 0;
1961                        else if (a >
1961 f) a = f;
1962                        else if (a < 0) a = 0
1963                    }
1964                    d = b;
1965                    c = a
1966                }
1967            }
1968            return r
1969        };
1970        h.$FormationSquare = function(i) {
1971            var a = i.$Cols || 1,
1972                c = i.$Rows || 1,
1973                j = [],
1974                d, e, f, h, k;
1975            f = a < c ? (c - a) / 2 : 0;
1976            h = a > c ? (a - c) / 2 : 0;
1977            k = b.round(b.max(a / 2, c / 2)) + 1;
1978            for (d = 0; d < a; d++)
1979                for (e = 0; e < c; e++) g(j, k - b.min(d + 1 + f, e + 1 + h, a - d + f, c - e + h), [e, d]);
1980            return j
1981        };
1982        h.$FormationRectangle = function(f) {
1983            var d = f.$Cols || 1,
1984                e = f.$Rows || 1,
1985                h = [],
1986                a, c, i;
1987            i = b.round(b.min(d / 2, e / 2)) + 1;
1988            for (a = 0; a < d; a++)
1989                for (c = 0; c < e; c++) g(h, i - b.min(a + 1, c + 1, d - a, e - c), [c, a]);
1990            return h
1991        };
1992        h.$FormationRandom = function(d) {
1993            for (var e = [], a, c = 0; c < d.$Rows; c++)
1994                for (a = 0; a < d.$Cols; a++) g(e, b.ceil(1e5 * b.random()) % 13, [c, a]);
1995            return e
1996        };
1997        h.$FormationCircle = function(d) {
1998            for (var e = d.$Cols || 1, f = d.$Rows || 1, h = [], a, i = e / 2 - .5, j = f / 2 - .5, c = 0; c < e; c++)
1999                for (a = 0; a < f; a++) g(h, b.round(b.sqrt(b.pow(c - i, 2) + b.pow(a - j, 2))), [a, c]);
2000            return h
2001        };
2002        h.$FormationCross = function(d) {
2003            for (var e = d.$Cols || 1, f = d.$Rows || 1, h = [], a, i = e / 2 - .5, j = f / 2 - .5, c = 0; c < e; c++)
2004                for (a = 0; a < f; a++) g(h, b.round(b.min(b.abs(c - i), b.abs(a - j))), [a, c]);
2005            return h
2006        };
2007        h.$FormationRectangleCross = function(f) {
2008            for (var h = f.$Cols || 1, i = f.$Rows || 1, j = [], a, d = h / 2 - .5, e = i / 2 - .5, k = b.max(d, e) + 1, c = 0; c < h; c++)
2009                for (a = 0; a < i; a++) g(j, b.round(k - b.max(d - b.abs(c - d), e - b.abs(a - e))) - 1, [a, c]);
2010            return j
2011        }
2012    };
2013    g.$JssorSlideshowRunner$ = function(n, s, q, t, y) {
2014        var f = this,
2015            u, g, e, x = 0,
2016            w = t.$TransitionsOrder,
2017            r, h = 8;
2018
2019        function k(g, f) {
2020            var e = {
2021                $Interval: f,
2022                $Duration: 1,
2023                $Delay: 0,
2024                $Cols: 1,
2025                $Rows: 1,
2026                $Opacity: 0,
2027                $Zoom: 0,
2028                $Clip: 0,
2029                $Move: i,
2030                $SlideOut: i,
2031                $Reverse: i,
2032                $Formation: o.$FormationRandom,
2033                $Assembly: 1032,
2034                $ChessMode: {
2035                    $Column: 0,
2036                    $Row: 0
2037                },
2038                $Easing: d.$EaseSwing,
2039                $Round: {},
2040                $Blocks: [],
2041                $During: {}
2042            };
2043            a.$Extend(e, g);
2044            e.$Count = e.$Cols * e.$Rows;
2045            e.$Easing = a.$FormatEasings(e.$Easing);
2046            e.$FramesCount = b.ceil(e.$Duration / e.$Interval);
2047            e.$GetBlocks = function(b, a) {
2048                b /= e.$Cols;
2049                a /= e.$Rows;
2050                var f = b + "x" + a;
2051                if (!e.$Blocks[f]) {
2052                    e.$Blocks[f] = {
2053                        $Width: b,
2054                        $Height: a
2055                    };
2056                    for (var c = 0; c < e.$Cols; c++)
2057                        for (var d = 0; d < e.$Rows; d++) e.$Blocks[f][d + "," + c] = {
2058                            $Top: d * a,
2059                            $Right: c * b + b,
2060                            $Bottom: d * a + a,
2061                            $Left: c * b
2062                        }
2063                }
2064                return e.$Blocks[f]
2065            };
2066            if (e.$Brother) {
2067                e.$Brother = k(e.$Brother, f);
2068                e.$SlideOut = c
2069            }
2070            return e
2071        }
2072
2073        function p(A, h, d, v, n, l) {
2074            var y = this,
2075                t, u = {},
2076                j = {},
2077                m = [],
2078                f, e, r, p = d.$ChessMode.$Column || 0,
2079                q = d.$ChessMode.$Row || 0,
2080                g = d.$GetBlocks(n, l),
2081                o = B(d),
2082                C = o.length - 1,
2083                s = d.$Duration + d.$Delay * C,
2084                w = v + s,
2085                k = d.$SlideOut,
2086                x;
2087            w += 50;
2088
2089            function B(a) {
2090                var b = a.$Formation(a);
2091                return a.$Reverse ? b.reverse() : b
2092            }
2093            y.$EndTime = w;
2094            y.$ShowFrame = function(c) {
2095                c -= v;
2096                var e = c < s;
2097                if (e || x) {
2098                    x = e;
2099                    if (!k) c = s - c;
2100                    var f = b.ceil(c / d.$Interval);
2101                    a.$Each(j, function(c, e) {
2102                        var d = b.max(f, c.$Min);
2103                        d = b.min(d, c.length - 1);
2104                        if (c.$LastFrameIndex != d) {
2105                            if (!c.$LastFrameIndex && !k) a.$ShowElement(m[e]);
2106                            else d == c.$Max && k && a.$HideElement(m[e]);
2107                            c.$LastFrameIndex = d;
2108                            a.$SetStylesEx(m[e], c[d])
2109                        }
2110                    })
2111                }
2112            };
2113            h = a.$CloneNode(h);
2114            if (a.$IsBrowserIe9Earlier()) {
2115                var D = !h["no-image"],
2116                    z = a.$FindChildrenByTag(h);
2117                a.$Each(z, function(b) {
2118                    (D || b["jssor-slider"]) && a.$CssOpacity(b, a.$CssOpacity(b), c)
2119                })
2120            }
2121            a.$Each(o, function(h, m) {
2122                a.$Each(h, function(G) {
2123                    var K = G[0],
2124                        J = G[1],
2125                        v = K + "," + J,
2126                        o = i,
2127                        s = i,
2128                        x = i;
2129                    if (p && J % 2) {
2130                        if (p & 3) o = !o;
2131                        if (p & 12) s = !s;
2132                        if (p & 16) x = !x
2133                    }
2134                    if (q && K % 2) {
2135                        if (q & 3) o = !o;
2136                        if (q & 12) s = !s;
2137                        if (q & 16) x = !x
2138                    }
2139                    d.$Top = d.$Top || d.$Clip & 4;
2140                    d.$Bottom = d.$Bottom || d.$Clip & 8;
2141                    d.$Left = d.$Left || d.$Clip & 1;
2142                    d.$Right = d.$Right || d.$Clip & 2;
2143                    var C = s ? d.$Bottom : d.$Top,
2144                        z = s ? d.$Top : d.$Bottom,
2145                        B = o ? d.$Right : d.$Left,
2146                        A = o ? d.$Left : d.$Right;
2147                    d.$Clip = C || z || B || A;
2148                    r = {};
2149                    e = {
2150                        $Top: 0,
2151                        $Left: 0,
2152                        $Opacity: 1,
2153                        $Width: n,
2154                        $Height: l
2155                    };
2156                    f = a.$Extend({}, e);
2157                    t = a.$Extend({}, g[v]);
2158                    if (d.$Opacity) e.$Opacity = 2 - d.$Opacity;
2159                    if (d.$ZIndex) {
2160                        e.$ZIndex = d.$ZIndex;
2161                        f.$ZIndex = 0
2162                    }
2163                    var I = d.$Cols * d.$Rows > 1 || d.$Clip;
2164                    if (d.$Zoom || d.$Rotate) {
2165                        var H = c;
2166                        if (a.$IsBrowserIe9Earlier())
2167                            if (d.$Cols * d.$Rows > 1) H = i;
2168                            else I = i;
2169                        if (H) {
2170                            e.$Zoom = d.$Zoom ? d.$Zoom - 1 : 1;
2171                            f.$Zoom = 1;
2172                            if (a.$IsBrowserIe9Earlier() || a.$IsBrowserOpera()) e.$Zoom = b.min(e.$Zoom, 2);
2173                            var N = d.$Rotate || 0;
2174                            e.$Rotate = N * 360 * (x ? -1 : 1);
2175                            f.$Rotate = 0
2176                        }
2177                    }
2178                    if (I) {
2179                        var h = t.$Offset = {};
2180                        if (d.$Clip) {
2181                            var w = d.$ScaleClip || 1;
2182                            if (C && z) {
2183                                h.$Top = g.$Height / 2 * w;
2184                                h.$Bottom = -h.$Top
2185                            } else if (C) h.$Bottom = -g.$Height * w;
2186                            else if (z) h.$Top = g.$Height * w;
2187                            if (B && A) {
2188                                h.$Left = g.$Width / 2 * w;
2189                                h.$Right = -h.$Left
2190                            } else if (B) h.$Right = -g.$Width * w;
2191                            else if (A) h.$Left = g.$Width * w
2192                        }
2193                        r.$Clip = t;
2194                        f.$Clip = g[v]
2195                    }
2196                    var L = o ? 1 : -1,
2197                        M = s ? 1 : -1;
2198                    if (d.x) e.$Left += n * d.x * L;
2199                    if (d.y) e.$Top += l * d.y * M;
2200                    a.$Each(e, function(b, c) {
2201                        if (a.$IsNumeric(b))
2202                            if (b != f[c]) r[c] = b - f[c]
2203                    });
2204                    u[v] = k ? f : e;
2205                    var D = d.$FramesCount,
2206                        y = b.round(m * d.$Delay / d.$Interval);
2207                    j[v] = new Array(y);
2208                    j[v].$Min = y;
2209                    j[v].$Max = y + D - 1;
2210                    for (var F = 0; F <= D; F++) {
2211                        var E = a.$Cast(f, r, F / D, d.$Easing, d.$During, d.$Round, {
2212                            $Move: d.$Move,
2213                            $OriginalWidth: n,
2214                            $OriginalHeight: l
2215                        });
2216                        E.$ZIndex = E.$ZIndex || 1;
2217                        j[v].push(E)
2218                    }
2219                })
2220            });
2221            o.reverse();
2222            a.$Each(o, function(b) {
2223                a.$Each(b, function(c) {
2224                    var f = c[0],
2225                        e = c[1],
2226                        d = f + "," + e,
2227                        b = h;
2228                    if (e || f) b = a.$CloneNode(h);
2229                    a.$SetStyles(b, u[d]);
2230                    a.$CssOverflow(b, "hidden");
2231                    a.$CssPosition(b, "absolute");
2232                    A.$AddClipElement(b);
2233                    m[d] = b;
2234                    a.$ShowElement(b, !k)
2235                })
2236            })
2237        }
2238
2239        function v() {
2240            var a = this,
2241                b = 0;
2242            l.call(a, 0, u);
2243            a.$OnPositionChange = function(c, a) {
2244                if (a - b > h) {
2245                    b = a;
2246                    e && e.$ShowFrame(a);
2247                    g && g.$ShowFrame(a)
2248                }
2249            };
2250            a.$Transition = r
2251        }
2252        f.$GetTransition = function() {
2253            var a = 0,
2254                c = t.$Transitions,
2255                d = c.length;
2256            if (w) a = x++ % d;
2257            else a = b.floor(b.random() * d);
2258            c[a] && (c[a].$Index = a);
2259            return c[a]
2260        };
2261        f.$Initialize = function(w, x, j, l, a) {
2262            r = a;
2263            a = k(a, h);
2264            var i = l.$Item,
2265                d = j.$Item;
2266            i["no-image"] = !l.$Image;
2267            d["no-image"] = !j.$Image;
2268            var m = i,
2269                o = d,
2270                v = a,
2271                c = a.$Brother || k({}, h);
2272            if (!a.$SlideOut) {
2273                m = d;
2274                o = i
2275            }
2276            var t = c.$Shift || 0;
2277            g = new p(n, o, c, b.max(t - c.$Interval, 0), s, q);
2278            e = new p(n, m, v, b.max(c.$Interval - t, 0), s, q);
2279            g.$ShowFrame(0);
2280            e.$ShowFrame(0);
2281            u = b.max(g.$EndTime, e.$EndTime);
2282            f.$Index = w
2283        };
2284        f.$Clear = function() {
2285            n.$Clear();
2286            g = j;
2287            e = j
2288        };
2289        f.$GetProcessor = function() {
2290            var a = j;
2291            if (e) a = new v;
2292            return a
2293        };
2294        if (a.$IsBrowserIe9Earlier() || a.$IsBrowserOpera() || y && a.$WebKitVersion() < 537) h = 16;
2295        m.call(f);
2296        l.call(f, -1e7, 1e7)
2297    };
2298    var h = g.$JssorSlider$ = function(q, fc) {
2299        var o = this;
2300
2301        function Ec() {
2302            var a = this;
2303            l.call(a, -1e8, 2e8);
2304            a.$GetCurrentSlideInfo = function() {
2305                var c = a.$GetPosition_Display(),
2306                    d = b.floor(c),
2307                    f = t(d),
2308                    e = c - b.floor(c);
2309                return {
2310                    $Index: f,
2311                    $VirtualIndex: d,
2312                    $Position: e
2313                }
2314            };
2315            a.$OnPositionChange = function(d, a) {
2316                var e = b.floor(a);
2317                if (e != a && a > d) e++;
2318                Ub(e, c);
2319                o.$TriggerEvent(h.$EVT_POSITION_CHANGE, t(a), t(d), a, d)
2320            }
2321        }
2322
2323        function Dc() {
2324            var b = this;
2325            l.call(b, 0, 0, {
2326                $LoopLength: r
2327            });
2328            a.$Each(C, function(a) {
2329                D & 1 && a.$SetLoopLength(r);
2330                b.$Chain(a);
2331                a.$Shift(fb / bc)
2332            })
2333        }
2334
2335        function Cc() {
2336            var a = this,
2337                b = Tb.$Elmt;
2338            l.call(a, -1, 2, {
2339                $Easing: d.$EaseLinear,
2340                $Setter: {
2341                    $Position: Zb
2342                },
2343                $LoopLength: r
2344            }, b, {
2345                $Position: 1
2346            }, {
2347                $Position: -2
2348            });
2349            a.$Wrapper = b
2350        }
2351
2352        function qc(n, m) {
2353            var a = this,
2354                d, e, g, k, b;
2355            l.call(a, -1e8, 2e8, {
2356                $IntervalMax: 100
2357            });
2358            a.$OnStart = function() {
2359                O = c;
2360                R = j;
2361                o.$TriggerEvent(h.$EVT_SWIPE_START, t(w.$GetPosition()), w.$GetPosition())
2362            };
2363            a.$OnStop = function() {
2364                O = i;
2365                k = i;
2366                var a = w.$GetCurrentSlideInfo();
2367                o.$TriggerEvent(h.$EVT_SWIPE_END, t(w.$GetPosition()), w.$GetPosition());
2368                !a.$Position && Gc(a.$VirtualIndex, s)
2369            };
2370            a.$OnPositionChange = function(i, h) {
2371                var a;
2372                if (k) a = b;
2373                else {
2374                    a = e;
2375                    if (g) {
2376                        var c = h / g;
2377                        a = f.$SlideEasing(c) * (e - d) + d
2378                    }
2379                }
2380                w.$GoToPosition(a)
2381            };
2382            a.$PlayCarousel = function(b, f, c, h) {
2383                d = b;
2384                e = f;
2385                g = c;
2386                w.$GoToPosition(b);
2387                a.$GoToPosition(0);
2388                a.$PlayToPosition(c, h)
2389            };
2390            a.$StandBy = function(d) {
2391                k = c;
2392                b = d;
2393                a.$Play(d, j, c)
2394            };
2395            a.$SetStandByPosition = function(a) {
2396                b = a
2397            };
2398            a.$MoveCarouselTo = function(a) {
2399                w.$GoToPosition(a)
2400            };
2401            w = new Ec;
2402            w.$Combine(n);
2403            w.$Combine(m)
2404        }
2405
2406        function rc() {
2407            var c = this,
2408                b = Xb();
2409            a.$CssZIndex(b, 0);
2410            a.$Css(b, "pointerEvents", "none");
2411            c.$Elmt = b;
2412            c.$AddClipElement = function(c) {
2413                a.$AppendChild(b, c);
2414                a.$ShowElement(b)
2415            };
2416            c.$Clear = function() {
2417                a.$HideElement(b);
2418                a.$Empty(b)
2419            }
2420        }
2421
2422        function Bc(k, e) {
2423            var d = this,
2424                q, H, x, n, y = [],
2425                w, B, W, G, Q, F, g, v, p, eb;
2426            l.call(d, -u, u + 1, {
2427                $SlideItemAnimator: c
2428            });
2429
2430            function E(b) {
2431                q && q.$Revert();
2432                T(k, b, 0);
2433                F = c;
2434                q = new I.$Class(k, I, a.$ParseFloat(a.$AttributeEx(k, "idle")) || pc);
2435                q.$GoToPosition(0)
2436            }
2437
2438            function Y() {
2439                q.$Version < I.$Version && E()
2440            }
2441
2442            function N(p, r, m) {
2443                if (!G) {
2444                    G = c;
2445                    if (n && m) {
2446                        var g = m.width,
2447                            b = m.height,
2448                            l = g,
2449                            k = b;
2450                        if (g && b && f.$FillMode) {
2451                            if (f.$FillMode & 3 && (!(f.$FillMode & 4) || g > K || b > J)) {
2452                                var j = i,
2453                                    q = K / J * b / g;
2454                                if (f.$FillMode & 1) j = q > 1;
2455                                else if (f.$FillMode & 2) j = q < 1;
2456                                l = j ? g * J / b : K;
2457                                k = j ? J : b * K / g
2458                            }
2459                            a.$CssWidth(n, l);
2460                            a.$CssHeight(n, k);
2461                            a.$CssTop(n, (J - k) / 2);
2462                            a.$CssLeft(n, (K - l) / 2)
2463                        }
2464                        a.$CssPosition(n, "absolute");
2465                        o.$TriggerEvent(h.$EVT_LOAD_END, e)
2466                    }
2467                }
2468                a.$HideElement(r);
2469                p && p(d)
2470            }
2471
2472            function X(b, c, f, g) {
2473                if (g == R && s == e && P)
2474                    if (!Fc) {
2475                        var a = t(b);
2476                        A.$Initialize(a, e, c, d, f);
2477                        c.$HideContentForSlideshow();
2478                        U.$Shift(a - U.$GetPosition_OuterBegin() - 1);
2479                        U.$GoToPosition(a);
2480                        z.$PlayCarousel(b, b, 0)
2481                    }
2482            }
2483
2484            function ab(b) {
2485                if (b == R && s == e) {
2486                    if (!g) {
2487                        var a = j;
2488                        if (A)
2489                            if (A.$Index == e) a = A.$GetProcessor();
2490                            else A.$Clear();
2491                        Y();
2492                        g = new yc(k, e, a, q);
2493                        g.$SetPlayer(p)
2494                    }!g.$IsPlaying() && g.$Replay()
2495                }
2496            }
2497
2498            function S(c, h, l) {
2499                if (c == e) {
2500                    if (c != h) C[h] && C[h].$ParkOut();
2501                    else !l && g && g.$AdjustIdleOnPark();
2502                    p && p.$Enable();
2503                    var m = R = a.$GetNow();
2504                    d.$LoadImage(a.$CreateCallback(j, ab, m))
2505                } else {
2506                    var k = b.min(e, c),
2507                        i = b.max(e, c),
2508                        o = b.min(i - k, k + r - i),
2509                        n = u + f.$LazyLoading - 1;
2510                    (!Q || o <= n) && d.$LoadImage()
2511                }
2512            }
2513
2514            function bb() {
2515                if (s == e && g) {
2516                    g.$Stop();
2517                    p && p.$Quit();
2518                    p && p.$Disable();
2519                    g.$OpenSlideshowPanel()
2520                }
2521            }
2522
2523            function db() {
2524                s == e && g && g.$Stop()
2525            }
2526
2527            function Z(a) {
2528                !M && o.$TriggerEvent(h.$EVT_CLICK, e, a)
2529            }
2530
2531            function O() {
2532                p = v.pInstance;
2533                g && g.$SetPlayer(p)
2534            }
2535            d.$LoadImage = function(d, b) {
2536                b = b || x;
2537                if (y.length && !G) {
2538                    a.$ShowElement(b);
2539                    if (!W) {
2540                        W = c;
2541                        o.$TriggerEvent(h.$EVT_LOAD_START, e);
2542                        a.$Each(y, function(b) {
2543                            if (!a.$Attribute(b, "src")) {
2544                                b.src = a.$AttributeEx(b, "src2");
2545                                a.$CssDisplay(b, b["display-origin"])
2546                            }
2547                        })
2548                    }
2549                    a.$LoadImages(y, n, a.$CreateCallback(j, N, d, b))
2550                } else N(d, b)
2551            };
2552            d.$GoForNextSlide = function() {
2553                var h = e;
2554                if (f.$AutoPlaySteps < 0) h -= r;
2555                var c = h + f.$AutoPlaySteps * wc;
2556                if (D & 2) c = t(c);
2557                if (!(D & 1)) c = b.max(0, b.min(c, r - u));
2558                if (c != e) {
2559                    if (A) {
2560                        var d = A.$GetTransition(r);
2561                        if (d) {
2562                            var i = R = a.$GetNow(),
2563                                g = C[t(c)];
2564                            return g.$LoadImage(a.$CreateCallback(j, X, c, g, d, i), x)
2565                        }
2566                    }
2567                    nb(c)
2568                }
2569            };
2570            d.$TryActivate = function() {
2571                S(e, e, c)
2572            };
2573            d.$ParkOut = function() {
2574                p && p.$Quit();
2575                p && p.$Disable();
2576                d.$UnhideContentForSlideshow();
2577                g && g.$Abort();
2578                g = j;
2579                E()
2580            };
2581            d.$StampSlideItemElements = function(a) {
2582                a = eb + "_" + a
2583            };
2584            d.$HideContentForSlideshow = function() {
2585                a.$HideElement(k)
2586            };
2587            d.$UnhideContentForSlideshow = function() {
2588                a.$ShowElement(k)
2589            };
2590            d.$EnablePlayer = function() {
2591                p && p.$Enable()
2592            };
2593
2594            function T(b, d, e) {
2595                if (a.$Attribute(b, "jssor-slider")) return;
2596                if (!F) {
2597                    if (b.tagName == "IMG") {
2598                        y.push(b);
2599                        if (!a.$Attribute(b, "src")) {
2600                            Q = c;
2601                            b["display-origin"] = a.$CssDisplay(b);
2602                            a.$HideElement(b)
2603                        }
2604                    }
2605                    a.$IsBrowserIe9Earlier() && a.$CssZIndex(b, (a.$CssZIndex(b) || 0) + 1)
2606                }
2607                var f = a.$Children(b);
2608                a.$Each(f, function(f) {
2609                    var h = f.tagName,
2610                        j = a.$AttributeEx(f, "u");
2611                    if (j == "player" && !v) {
2612                        v = f;
2613                        if (v.pInstance) O();
2614                        else a.$AddEvent(v, "dataavailable", O)
2615                    }
2616                    if (j == "caption") {
2617                        if (d) {
2618                            a.$CssTransformOrigin(f, a.$AttributeEx(f, "to"));
2619                            a.$CssBackfaceVisibility(f, a.$AttributeEx(f, "bf"));
2620                            a.$CssTransformStyle(f, "preserve-3d")
2621                        } else if (!a.$IsBrowserIE()) {
2622                            var g = a.$CloneNode(f, i, c);
2623                            a.$InsertBefore(g, f, b);
2624                            a.$RemoveElement(f, b);
2625                            f = g;
2626                            d = c
2627                        }
2628                    } else if (!F && !e && !n) {
2629                        if (h == "A") {
2630                            if (a.$AttributeEx(f, "u") == "image") n = a.$FindChildByTag(f, "IMG");
2631                            else n = a.$FindChild(f, "image", c);
2632                            if (n) {
2633                                w = f;
2634                                a.$CssDisplay(w, "block");
2635                                a.$SetStyles(w, V);
2636                                B = a.$CloneNode(w, c);
2637                                a.$CssPosition(w, "relative");
2638                                a.$CssOpacity(B, 0);
2639                                a.$Css(B, "backgroundColor", "#000")
2640                            }
2641                        } else if (h == "IMG" && a.$AttributeEx(f, "u") == "image") n = f;
2642                        if (n) {
2643                            n.border = 0;
2644                            a.$SetStyles(n, V)
2645                        }
2646                    }
2647                    T(f, d, e + 1)
2648                })
2649            }
2650            d.$OnInnerOffsetChange = function(c, b) {
2651                var a = u - b;
2652                Zb(H, a)
2653            };
2654            d.$Index = e;
2655            m.call(d);
2656            a.$CssPerspective(k, a.$AttributeEx(k, "p"));
2657            a.$CssPerspectiveOrigin(k, a.$AttributeEx(k, "po"));
2658            var L = a.$FindChild(k, "thumb", c);
2659            if (L) {
2660                d.$Thumb = a.$CloneNode(L);
2661                a.$HideElement(L)
2662            }
2663            a.$ShowElement(k);
2664            x = a.$CloneNode(cb);
2665            a.$CssZIndex(x, 1e3);
2666            a.$AddEvent(k, "click", Z);
2667            E(c);
2668            d.$Image = n;
2669            d.$Link = B;
2670            d.$Item = k;
2671            d.$Wrapper = H = k;
2672            a.$AppendChild(H, x);
2673            o.$On(203, S);
2674            o.$On(28, db);
2675            o.$On(24, bb)
2676        }
2677
2678        function yc(y, f, p, q) {
2679            var b = this,
2680                m = 0,
2681                u = 0,
2682                g, j, e, d, k, t, r, n = C[f];
2683            l.call(b, 0, 0);
2684
2685            function v() {
2686                a.$Empty(N);
2687                dc && k && n.$Link && a.$AppendChild(N, n.$Link);
2688                a.$ShowElement(N, !k && n.$Image)
2689            }
2690
2691            function w() {
2692                b.$Replay()
2693            }
2694
2695            function x(a) {
2696                r = a;
2697                b.$Stop();
2698                b.$Replay()
2699            }
2700            b.$Replay = function() {
2701                var a = b.$GetPosition_Display();
2702                if (!B && !O && !r && s == f) {
2703                    if (!a) {
2704                        if (g && !k) {
2705                            k = c;
2706                            b.$OpenSlideshowPanel(c);
2707                            o.$TriggerEvent(h.$EVT_SLIDESHOW_START, f, m, u, g, d)
2708                        }
2709                        v()
2710                    }
2711                    var i, p = h.$EVT_STATE_CHANGE;
2712                    if (a != d)
2713                        if (a == e) i = d;
2714                        else if (a == j) i = e;
2715                    else if (!a) i = j;
2716                    else i = b.$GetPlayToPosition();
2717                    o.$TriggerEvent(p, f, a, m, j, e, d);
2718                    var l = P && (!E || F);
2719                    if (a == d)(e != d && !(E & 12) || l) && n.$GoForNextSlide();
2720                    else(l || a != e) && b.$PlayToPosition(i, w)
2721                }
2722            };
2723            b.$AdjustIdleOnPark = function() {
2724                e == d && e == b.$GetPosition_Display() && b.$GoToPosition(j)
2725            };
2726            b.$Abort = function() {
2727                A && A.$Index == f && A.$Clear();
2728                var a = b.$GetPosition_Display();
2729                a < d && o.$TriggerEvent(h.$EVT_STATE_CHANGE, f, -a - 1, m, j, e, d)
2730            };
2731            b.$OpenSlideshowPanel = function(b) {
2732                p && a.$CssOverflow(hb, b && p.$Transition.$Outside ? "" : "hidden")
2733            };
2734            b.$OnInnerOffsetChange = function(b, a) {
2735                if (k && a >= g) {
2736                    k = i;
2737                    v();
2738                    n.$UnhideContentForSlideshow();
2739                    A.$Clear();
2740                    o.$TriggerEvent(h.$EVT_SLIDESHOW_END, f, m, u, g, d)
2741                }
2742                o.$TriggerEvent(h.$EVT_PROGRESS_CHANGE, f, a, m, j, e, d)
2743            };
2744            b.$SetPlayer = function(a) {
2745                if (a && !t) {
2746                    t = a;
2747                    a.$On($JssorPlayer$.$EVT_SWITCH, x)
2748                }
2749            };
2750            p && b.$Chain(p);
2751            g = b.$GetPosition_OuterEnd();
2752            b.$Chain(q);
2753            j = g + q.$IdleBegin;
2754            e = g + q.$IdleEnd;
2755            d = b.$GetPosition_OuterEnd()
2756        }
2757
2758        function Zb(g, f) {
2759            var e = x > 0 ? x : gb,
2760                c = Bb * f * (e & 1),
2761                d = Cb * f * (e >> 1 & 1);
2762            c = b.round(c);
2763            d = b.round(d);
2764            a.$CssLeft(g, c);
2765            a.$CssTop(g, d)
2766        }
2767
2768        function Pb() {
2769            pb = O;
2770            Kb = z.$GetPlayToPosition();
2771            G = w.$GetPosition()
2772        }
2773
2774        function gc() {
2775            Pb();
2776            if (B || !F && E & 12) {
2777                z.$Stop();
2778                o.$TriggerEvent(h.$EVT_FREEZE)
2779            }
2780        }
2781
2782        function ec(e) {
2783            if (!B && (F || !(E & 12)) && !z.$IsPlaying()) {
2784                var c = w.$GetPosition(),
2785                    a = b.ceil(G);
2786                if (e && b.abs(H) >= f.$MinDragOffsetToSlide) {
2787                    a = b.ceil(c);
2788                    a += eb
2789                }
2790                if (!(D & 1)) a = b.min(r - u, b.max(a, 0));
2791                var d = b.abs(a - c);
2792                d = 1 - b.pow(1 - d, 5);
2793                if (!M && pb) z.$Continue(Kb);
2794                else if (c == a) {
2795                    tb.$EnablePlayer();
2796                    tb.$TryActivate()
2797                } else z.$PlayCarousel(c, a, d * Vb)
2798            }
2799        }
2800
2801        function Ib(b) {
2802            !a.$AttributeEx(a.$EvtSrc(b), "nodrag") && a.$CancelEvent(b)
2803        }
2804
2805        function uc(a) {
2806            Yb(a, 1)
2807        }
2808
2809        function Yb(b, d) {
2810            b = a.$GetEvent(b);
2811            var k = a.$EvtSrc(b);
2812            if (!L && !a.$AttributeEx(k, "nodrag") && vc() && (!d || b.touches.length == 1)) {
2813                B = c;
2814                Ab = i;
2815                R = j;
2816                a.$AddEvent(e, d ? "touchmove" : "mousemove", Db);
2817                a.$GetNow();
2818                M = 0;
2819                gc();
2820                if (!pb) x = 0;
2821                if (d) {
2822                    var g = b.touches[0];
2823                    vb = g.clientX;
2824                    wb = g.clientY
2825                } else {
2826                    var f = a.$MousePosition(b);
2827                    vb = f.x;
2828                    wb = f.y
2829                }
2830                H = 0;
2831                bb = 0;
2832                eb = 0;
2833                o.$TriggerEvent(h.$EVT_DRAG_START, t(G), G, b)
2834            }
2835        }
2836
2837        function Db(e) {
2838            if (B) {
2839                e = a.$GetEvent(e);
2840                var f;
2841                if (e.type != "mousemove") {
2842                    var l = e.touches[0];
2843                    f = {
2844                        x: l.clientX,
2845                        y: l.clientY
2846                    }
2847                } else f = a.$MousePosition(e);
2848                if (f) {
2849                    var j = f.x - vb,
2850                        k = f.y - wb;
2851                    if (b.floor(G) != G) x = x || gb & L;
2852                    if ((j || k) && !x) {
2853                        if (L == 3)
2854                            if (b.abs(k) > b.abs(j)) x = 2;
2855                            else x = 1;
2856                        else x = L;
2857                        if (jb && x == 1 && b.abs(k) - b.abs(j) > 3) Ab = c
2858                    }
2859                    if (x) {
2860                        var d = k,
2861                            i = Cb;
2862                        if (x == 1) {
2863                            d = j;
2864                            i = Bb
2865                        }
2866                        if (!(D & 1)) {
2867                            if (d > 0) {
2868                                var g = i * s,
2869                                    h = d - g;
2870                                if (h > 0) d = g + b.sqrt(h) * 5
2871                            }
2872                            if (d < 0) {
2873                                var g = i * (r - u - s),
2874                                    h = -d - g;
2875                                if (h > 0) d = -g - b.sqrt(h) * 5
2876                            }
2877                        }
2878                        if (H - bb < -2) eb = 0;
2879                        else if (H - bb > 2) eb = -1;
2880                        bb = H;
2881                        H = d;
2882                        sb = G - H / i / (Z || 1);
2883                        if (H && x && !Ab) {
2884                            a.$CancelEvent(e);
2885                            if (!O) z.$StandBy(sb);
2886                            else z.$SetStandByPosition(sb)
2887                        }
2888                    }
2889                }
2890            }
2891        }
2892
2893        function mb() {
2894            sc();
2895            if (B) {
2896                B = i;
2897                a.$GetNow();
2898                a.$RemoveEvent(e, "mousemove", Db);
2899                a.$RemoveEvent(e, "touchmove", Db);
2900                M = H;
2901                z.$Stop();
2902                var b = w.$GetPosition();
2903                o.$TriggerEvent(h.$EVT_DRAG_END, t(b), b, t(G), G);
2904                E & 12 && Pb();
2905                ec(c)
2906            }
2907        }
2908
2909        function kc(c) {
2910            if (M) {
2911                a.$StopEvent(c);
2912                var b = a.$EvtSrc(c);
2913                while (b && v !== b) {
2914                    b.tagName == "A" && a.$CancelEvent(c);
2915                    try {
2916                        b = b.parentNode
2917                    } catch (d) {
2918                        break
2919                    }
2920                }
2921            }
2922        }
2923
2924        function oc(a) {
2925            C[s];
2926            s = t(a);
2927            tb = C[s];
2928            Ub(a);
2929            return s
2930        }
2931
2932        function Gc(a, b) {
2933            x = 0;
2934            oc(a);
2935            o.$TriggerEvent(h.$EVT_PARK, t(a), b)
2936        }
2937
2938        function Ub(b, c) {
2939            yb = b;
2940            a.$Each(S, function(a) {
2941                a.$SetCurrentIndex(t(b), b, c)
2942            })
2943        }
2944
2945        function vc() {
2946            var b = h.$DragRegistry || 0,
2947                a = Y;
2948            if (jb) a & 1 && (a &= 1);
2949            h.$DragRegistry |= a;
2950            return L = a & ~b
2951        }
2952
2953        function sc() {
2954            if (L) {
2955                h.$DragRegistry &= ~Y;
2956                L = 0
2957            }
2958        }
2959
2960        function Xb() {
2961            var b = a.$CreateDiv();
2962            a.$SetStyles(b, V);
2963            a.$CssPosition(b, "absolute");
2964            return b
2965        }
2966
2967        function t(a) {
2968            return (a % r + r) % r
2969        }
2970
2971        function lc(a, c) {
2972            if (c)
2973                if (!D) {
2974                    a = b.min(b.max(a + yb, 0), r - u);
2975                    c = i
2976                } else if (D & 2) {
2977                a = t(a + yb);
2978                c = i
2979            }
2980            nb(a, f.$SlideDuration, c)
2981        }
2982
2983        function zb() {
2984            a.$Each(S, function(a) {
2985                a.$Show(a.$Options.$ChanceToShow <= F)
2986            })
2987        }
2988
2989        function ic() {
2990            if (!F) {
2991                F = 1;
2992                zb();
2993                if (!B) {
2994                    E & 12 && ec();
2995                    E & 3 && C[s].$TryActivate()
2996                }
2997            }
2998        }
2999
3000        function hc() {
3001            if (F) {
3002                F = 0;
3003                zb();
3004                B || !(E & 12) || gc()
3005            }
3006        }
3007
3008        function jc() {
3009            V = {
3010                $Width: K,
3011                $Height: J,
3012                $Top: 0,
3013                $Left: 0
3014            };
3015            a.$Each(T, function(b) {
3016                a.$SetStyles(b, V);
3017                a.$CssPosition(b, "absolute");
3018                a.$CssOverflow(b, "hidden");
3019                a.$HideElement(b)
3020            });
3021            a.$SetStyles(cb, V)
3022        }
3023
3024        function lb(b, a) {
3025            nb(b, a, c)
3026        }
3027
3028        function nb(g, e, l) {
3029            if (Rb && (!B && (F || !(E & 12)) || f.$NaviQuitDrag)) {
3030                O = c;
3031                B = i;
3032                z.$Stop();
3033                if (e == k) e = Vb;
3034                var d = Eb.$GetPosition_Display(),
3035                    a = g;
3036                if (l) {
3037                    a = d + g;
3038                    if (g > 0) a = b.ceil(a);
3039                    else a = b.floor(a)
3040                }
3041                if (D & 2) a = t(a);
3042                if (!(D & 1)) a = b.max(0, b.min(a, r - u));
3043                var j = (a - d) % r;
3044                a = d + j;
3045                var h = d == a ? 0 : e * b.abs(j);
3046                h = b.min(h, e * u * 1.5);
3047                z.$PlayCarousel(d, a, h || 1)
3048            }
3049        }
3050        o.$PlayTo = nb;
3051        o.$GoTo = function(a) {
3052            w.$GoToPosition(a)
3053        };
3054        o.$Next = function() {
3055            lb(1)
3056        };
3057        o.$Prev = function() {
3058            lb(-1)
3059        };
3060        o.$Pause = function() {
3061            P = i
3062        };
3063        o.$Play = function() {
3064            if (!P) {
3065                P = c;
3066                C[s] && C[s].$TryActivate()
3067            }
3068        };
3069        o.$SetSlideshowTransitions = function(a) {
3070            f.$SlideshowOptions.$Transitions = a
3071        };
3072        o.$SetCaptionTransitions = function(b) {
3073            I.$Transitions = b;
3074            I.$Version = a.$GetNow()
3075        };
3076        o.$SlidesCount = function() {
3077            return T.length
3078        };
3079        o.$CurrentIndex = function() {
3080            return s
3081        };
3082        o.$IsAutoPlaying = function() {
3083            return P
3084        };
3085        o.$IsDragging = function() {
3086            return B
3087        };
3088        o.$IsSliding = function() {
3089            return O
3090        };
3091        o.$IsMouseOver = function() {
3092            return !F
3093        };
3094        o.$LastDragSucceded = function() {
3095            return M
3096        };
3097
3098        function X() {
3099            return a.$CssWidth(y || q)
3100        }
3101
3102        function ib() {
3103            return a.$CssHeight(y || q)
3104        }
3105        o.$OriginalWidth = o.$GetOriginalWidth = X;
3106        o.$OriginalHeight = o.$GetOriginalHeight = ib;
3107
3108        function Gb(c, d) {
3109            if (c == k) return a.$CssWidth(q);
3110            if (!y) {
3111                var b = a.$CreateDiv(e);
3112                a.$ClassName(b, a.$ClassName(q));
3113                a.$CssCssText(b, a.$CssCssText(q));
3114                a.$CssDisplay(b, "block");
3115                a.$CssPosition(b, "relative");
3116                a.$CssTop(b, 0);
3117                a.$CssLeft(b, 0);
3118                a.$CssOverflow(b, "visible");
3119                y = a.$CreateDiv(e);
3120                a.$CssPosition(y, "absolute");
3121                a.$CssTop(y, 0);
3122                a.$CssLeft(y, 0);
3123                a.$CssWidth(y, a.$CssWidth(q));
3124                a.$CssHeight(y, a.$CssHeight(q));
3125                a.$CssTransformOrigin(y, "0 0");
3126                a.$AppendChild(y, b);
3127                var h = a.$Children(q);
3128                a.$AppendChild(q, y);
3129                a.$Css(q, "backgroundImage", "");
3130                a.$Each(h, function(c) {
3131                    a.$AppendChild(a.$AttributeEx(c, "noscale") ? q : b, c);
3132                    a.$AttributeEx(c, "autocenter") && Lb.push(c)
3133                })
3134            }
3135            Z = c / (d ? a.$CssHeight : a.$CssWidth)(y);
3136            a.$CssScale(y, Z);
3137            var g = d ? Z * X() : c,
3138                f = d ? c : Z * ib();
3139            a.$CssWidth(q, g);
3140            a.$CssHeight(q, f);
3141            a.$Each(Lb, function(b) {
3142                var c = a.$ParseInt(a.$AttributeEx(b, "autocenter"));
3143                a.$CenterElement(b, c)
3144            })
3145        }
3146        o.$ScaleHeight = o.$GetScaleHeight = function(b) {
3147            if (b == k) return a.$CssHeight(q);
3148            Gb(b, c)
3149        };
3150        o.$ScaleWidth = o.$SetScaleWidth = o.$GetScaleWidth = Gb;
3151        o.$GetVirtualIndex = function(a) {
3152            var d = b.ceil(t(fb / bc)),
3153                c = t(a - s + d);
3154            if (c > u) {
3155                if (a - s > r / 2) a -= r;
3156                else if (a - s <= -r / 2) a += r
3157            } else a = s + c - d;
3158            return a
3159        };
3160        m.call(o);
3161        o.$Elmt = q = a.$GetElement(q);
3162        var f = a.$Extend({
3163            $FillMode: 0,
3164            $LazyLoading: 1,
3165            $ArrowKeyNavigation: 1,
3166            $StartIndex: 0,
3167            $AutoPlay: i,
3168            $Loop: 1,
3169            $NaviQuitDrag: c,
3170            $AutoPlaySteps: 1,
3171            $AutoPlayInterval: 3e3,
3172            $PauseOnHover: 1,
3173            $SlideDuration: 500,
3174            $SlideEasing: d.$EaseOutQuad,
3175            $MinDragOffsetToSlide: 20,
3176            $SlideSpacing: 0,
3177            $Cols: 1,
3178            $Align: 0,
3179            $UISearchMode: 1,
3180            $PlayOrientation: 1,
3181            $DragOrientation: 1
3182        }, fc);
3183        if (f.$Idle != k) f.$AutoPlayInterval = f.$Idle;
3184        if (f.$DisplayPieces != k) f.$Cols = f.$DisplayPieces;
3185        if (f.$ParkingPosition != k) f.$Align = f.$ParkingPosition;
3186        var gb = f.$PlayOrientation & 3,
3187            wc = (f.$PlayOrientation & 4) / -4 || 1,
3188            db = f.$SlideshowOptions,
3189            I = a.$Extend({
3190                $Class: p,
3191                $PlayInMode: 1,
3192                $PlayOutMode: 1
3193            }, f.$CaptionSliderOptions);
3194        I.$Transitions = I.$Transitions || I.$CaptionTransitions;
3195        var qb = f.$BulletNavigatorOptions,
3196            W = f.$ArrowNavigatorOptions,
3197            ab = f.$ThumbnailNavigatorOptions,
3198            Q = !f.$UISearchMode,
3199            y, v = a.$FindChild(q, "slides", Q),
3200            cb = a.$FindChild(q, "loading", Q) || a.$CreateDiv(e),
3201            Jb = a.$FindChild(q, "navigator", Q),
3202            cc = a.$FindChild(q, "arrowleft", Q),
3203            ac = a.$FindChild(q, "arrowright", Q),
3204            Hb = a.$FindChild(q, "thumbnavigator", Q),
3205            nc = a.$CssWidth(v),
3206            mc = a.$CssHeight(v),
3207            V, T = [],
3208            xc = a.$Children(v);
3209        a.$Each(xc, function(b) {
3210            if (b.tagName == "DIV" && !a.$AttributeEx(b, "u")) T.push(b);
3211            else a.$IsBrowserIe9Earlier() && a.$CssZIndex(b, (a.$CssZIndex(b) || 0) + 1)
3212        });
3213        var s = -1,
3214            yb, tb, r = T.length,
3215            K = f.$SlideWidth || nc,
3216            J = f.$SlideHeight || mc,
3217            Wb = f.$SlideSpacing,
3218            Bb = K + Wb,
3219            Cb = J + Wb,
3220            bc = gb & 1 ? Bb : Cb,
3221            u = b.min(f.$Cols, r),
3222            hb, x, L, Ab, S = [],
3223            Qb, Sb, Ob, dc, Fc, P, E = f.$PauseOnHover,
3224            pc = f.$AutoPlayInterval,
3225            Vb = f.$SlideDuration,
3226            rb, ub, fb, Rb = u < r,
3227            D = Rb ? f.$Loop : 0,
3228            Y, M, F = 1,
3229            O, B, R, vb = 0,
3230            wb = 0,
3231            H, bb, eb, Eb, w, U, z, Tb = new rc,
3232            Z, Lb = [];
3233        P = f.$AutoPlay;
3234        o.$Options = fc;
3235        jc();
3236        a.$Attribute(q, "jssor-slider", c);
3237        a.$CssZIndex(v, a.$CssZIndex(v) || 0);
3238        a.$CssPosition(v, "absolute");
3239        hb = a.$CloneNode(v, c);
3240        a.$InsertBefore(hb, v);
3241        if (db) {
3242            dc = db.$ShowLink;
3243            rb = db.$Class;
3244            ub = u == 1 && r > 1 && rb && (!a.$IsBrowserIE() || a.$BrowserVersion() >= 8)
3245        }
3246        fb = ub || u >= r || !(D & 1) ? 0 : f.$Align;
3247        Y = (u > 1 || fb ? gb : -1) & f.$DragOrientation;
3248        var xb = v,
3249            C = [],
3250            A, N, Fb = a.$Device(),
3251            jb = Fb.$Touchable,
3252            G, pb, Kb, sb;
3253        Fb.$TouchActionAttr && a.$Css(xb, Fb.$TouchActionAttr, ([j, "pan-y", "pan-x", "none"])[Y] || "");
3254        U = new Cc;
3255        if (ub) A = new rb(Tb, K, J, db, jb);
3256        a.$AppendChild(hb, U.$Wrapper);
3257        a.$CssOverflow(v, "hidden");
3258        N = Xb();
3259        a.$Css(N, "backgroundColor", "#000");
3260        a.$CssOpacity(N, 0);
3261        a.$InsertBefore(N, xb.firstChild, xb);
3262        for (var ob = 0; ob < T.length; ob++) {
3263            var zc = T[ob],
3264                Ac = new Bc(zc, ob);
3265            C.push(Ac)
3266        }
3267        a.$HideElement(cb);
3268        Eb = new Dc;
3269        z = new qc(Eb, U);
3270        if (Y) {
3271            a.$AddEvent(v, "mousedown", Yb);
3272            a.$AddEvent(v, "touchstart", uc);
3273            a.$AddEvent(v, "dragstart", Ib);
3274            a.$AddEvent(v, "selectstart", Ib);
3275            a.$AddEvent(e, "mouseup", mb);
3276            a.$AddEvent(e, "touchend", mb);
3277            a.$AddEvent(e, "touchcancel", mb);
3278            a.$AddEvent(g, "blur", mb)
3279        }
3280        E &= jb ? 10 : 5;
3281        if (Jb && qb) {
3282            Qb = new qb.$Class(Jb, qb, X(), ib());
3283            S.push(Qb)
3284        }
3285        if (W && cc && ac) {
3286            W.$Loop = D;
3287            W.$Cols = u;
3288            Sb = new W.$Class(cc, ac, W, X(), ib());
3289            S.push(Sb)
3290        }
3291        if (Hb && ab) {
3292            ab.$StartIndex = f.$StartIndex;
3293            Ob = new ab.$Class(Hb, ab);
3294            S.push(Ob)
3295        }
3296        a.$Each(S, function(a) {
3297            a.$Reset(r, C, cb);
3298            a.$On(n.$NAVIGATIONREQUEST, lc)
3299        });
3300        a.$Css(q, "visibility", "visible");
3301        Gb(X());
3302        a.$AddEvent(v, "click", kc);
3303        a.$AddEvent(q, "mouseout", a.$MouseOverOutFilter(ic, q));
3304        a.$AddEvent(q, "mouseover", a.$MouseOverOutFilter(hc, q));
3305        zb();
3306        f.$ArrowKeyNavigation && a.$AddEvent(e, "keydown", function(a) {
3307            if (a.keyCode == 37) lb(-f.$ArrowKeyNavigation);
3308            else a.keyCode == 39 && lb(f.$ArrowKeyNavigation)
3309        });
3310        var kb = f.$StartIndex;
3311        if (!(D & 1)) kb = b.max(0, b.min(kb, r - u));
3312        z.$PlayCarousel(kb, kb, 0)
3313    };
3314    h.$EVT_CLICK = 21;
3315    h.$EVT_DRAG_START = 22;
3316    h.$EVT_DRAG_END = 23;
3317    h.$EVT_SWIPE_START = 24;
3318    h.$EVT_SWIPE_END = 25;
3319    h.$EVT_LOAD_START = 26;
3320    h.$EVT_LOAD_END = 27;
3321    h.$EVT_FREEZE = 28;
3322    h.$EVT_POSITION_CHANGE = 202;
3323    h.$EVT_PARK = 203;
3324    h.$EVT_SLIDESHOW_START = 206;
3325    h.$EVT_SLIDESHOW_END = 207;
3326    h.$EVT_PROGRESS_CHANGE = 208;
3327    h.$EVT_STATE_CHANGE = 209;
3328    var n = {
3329        $NAVIGATIONREQUEST: 1,
3330        $INDEXCHANGE: 2,
3331        $RESET: 3
3332    };
3333    g.$JssorBulletNavigator$ = function(e, C) {
3334        var f = this;
3335        m.call(f);
3336        e = a.$GetElement(e);
3337        var s, A, z, r, l = 0,
3338            d, o, k, w, x, h, g, q, p, B = [],
3339            y = [];
3340
3341        function v(a) {
3342            a != -1 && y[a].$Selected(a == l)
3343        }
3344
3345        function t(a) {
3346            f.$TriggerEvent(n.$NAVIGATIONREQUEST, a * o)
3347        }
3348        f.$Elmt = e;
3349        f.$GetCurrentIndex = function() {
3350            return r
3351        };
3352        f.$SetCurrentIndex = function(a) {
3353            if (a != r) {
3354                var d = l,
3355                    c = b.floor(a / o);
3356                l = c;
3357                r = a;
3358                v(d);
3359                v(c)
3360            }
3361        };
3362        f.$Show = function(b) {
3363            a.$ShowElement(e, b)
3364        };
3365        var u;
3366        f.$Reset = function(E) {
3367            if (!u) {
3368                s = b.ceil(E / o);
3369                l = 0;
3370                var n = q + w,
3371                    r = p + x,
3372                    m = b.ceil(s / k) - 1;
3373                A = q + n * (!h ? m : k - 1);
3374                z = p + r * (h ? m : k - 1);
3375                a.$CssWidth(e, A);
3376                a.$CssHeight(e, z);
3377                for (var f = 0; f < s; f++) {
3378                    var C = a.$CreateSpan();
3379                    a.$InnerText(C, f + 1);
3380                    var i = a.$BuildElement(g, "numbertemplate", C, c);
3381                    a.$CssPosition(i, "absolute");
3382                    var v = f % (m + 1);
3383                    a.$CssLeft(i, !h ? n * v : f % k * n);
3384                    a.$CssTop(i, h ? r * v : b.floor(f / (m + 1)) * r);
3385                    a.$AppendChild(e, i);
3386                    B[f] = i;
3387                    d.$ActionMode & 1 && a.$AddEvent(i, "click", a.$CreateCallback(j, t, f));
3388                    d.$ActionMode & 2 && a.$AddEvent(i, "mouseover", a.$MouseOverOutFilter(a.$CreateCallback(j, t, f), i));
3389                    y[f] = a.$Buttonize(i)
3390                }
3391                u = c
3392            }
3393        };
3394        f.$Options = d = a.$Extend({
3395            $SpacingX: 10,
3396            $SpacingY: 10,
3397            $Orientation: 1,
3398            $ActionMode: 1
3399        }, C);
3400        g = a.$FindChild(e, "prototype");
3401        q = a.$CssWidth(g);
3402        p = a.$CssHeight(g);
3403        a.$RemoveElement(g, e);
3404        o = d.$Steps || 1;
3405        k = d.$Lanes || 1;
3406        w = d.$SpacingX;
3407        x = d.$SpacingY;
3408        h = d.$Orientation - 1;
3409        d.$Scale == i && a.$Attribute(e, "noscale", c);
3410        d.$AutoCenter && a.$Attribute(e, "autocenter", d.$AutoCenter)
3411    };
3412    g.$JssorArrowNavigator$ = function(b, g, h) {
3413        var d = this;
3414        m.call(d);
3415        var r, q, e, f, k;
3416        a.$CssWidth(b);
3417        a.$CssHeight(b);
3418
3419        function l(a) {
3420            d.$TriggerEvent(n.$NAVIGATIONREQUEST, a, c)
3421        }
3422
3423        function p(c) {
3424            a.$ShowElement(b, c || !h.$Loop && e == 0);
3425            a.$ShowElement(g, c || !h.$Loop && e >
3425= q - h.$Cols);
3426            r = c
3427        }
3428        d.$GetCurrentIndex = function() {
3429            return e
3430        };
3431        d.$SetCurrentIndex = function(b, a, c) {
3432            if (c) e = a;
3433            else {
3434                e = b;
3435                p(r)
3436            }
3437        };
3438        d.$Show = p;
3439        var o;
3440        d.$Reset = function(d) {
3441            q = d;
3442            e = 0;
3443            if (!o) {
3444                a.$AddEvent(b, "click", a.$CreateCallback(j, l, -k));
3445                a.$AddEvent(g, "click", a.$CreateCallback(j, l, k));
3446                a.$Buttonize(b);
3447                a.$Buttonize(g);
3448                o = c
3449            }
3450        };
3451        d.$Options = f = a.$Extend({
3452            $Steps: 1
3453        }, h);
3454        k = f.$Steps;
3455        if (f.$Scale == i) {
3456            a.$Attribute(b, "noscale", c);
3457            a.$Attribute(g, "noscale", c)
3458        }
3459        if (f.$AutoCenter) {
3460            a.$Attribute(b, "autocenter", f.$AutoCenter);
3461            a.$Attribute(g, "autocenter", f.$AutoCenter)
3462        }
3463    };
3464    g.$JssorThumbnailNavigator$ = function(g, C) {
3465        var l = this,
3466            z, q, d, w = [],
3467            A, y, e, r, s, v, u, p, t, f, o;
3468        m.call(l);
3469        g = a.$GetElement(g);
3470
3471        function B(m, f) {
3472            var g = this,
3473                b, k, i;
3474
3475            function p() {
3476                k.$Selected(q == f)
3477            }
3478
3479            function h(d) {
3480                if (d || !t.$LastDragSucceded()) {
3481                    var a = e - f % e,
3482                        b = t.$GetVirtualIndex((f + a) / e - 1),
3483                        c = b * e + e - a;
3484                    l.$TriggerEvent(n.$NAVIGATIONREQUEST, c)
3485                }
3486            }
3487            g.$Index = f;
3488            g.$Highlight = p;
3489            i = m.$Thumb || m.$Image || a.$CreateDiv();
3490            g.$Wrapper = b = a.$BuildElement(o, "thumbnailtemplate", i, c);
3491            k = a.$Buttonize(b);
3492            d.$ActionMode & 1 && a.$AddEvent(b, "click", a.$CreateCallback(j, h, 0));
3493            d.$ActionMode & 2 && a.$AddEvent(b, "mouseover", a.$MouseOverOutFilter(a.$CreateCallback(j, h, 1), b))
3494        }
3495        l.$GetCurrentIndex = function() {
3496            return q
3497        };
3498        l.$SetCurrentIndex = function(c, d, f) {
3499            var a = q;
3500            q = c;
3501            a != -1 && w[a].$Highlight();
3502            w[c].$Highlight();
3503            !f && t.$PlayTo(t.$GetVirtualIndex(b.floor(d / e)))
3504        };
3505        l.$Show = function(b) {
3506            a.$ShowElement(g, b)
3507        };
3508        var x;
3509        l.$Reset = function(F, C) {
3510            if (!x) {
3511                z = F;
3512                b.ceil(z / e);
3513                q = -1;
3514                p = b.min(p, C.length);
3515                var j = d.$Orientation & 1,
3516                    m = v + (v + r) * (e - 1) * (1 - j),
3517                    l = u + (u + s) * (e - 1) * j,
3518                    o = m + (m + r) * (p - 1) * j,
3519                    n = l + (l + s) * (p - 1) * (1 - j);
3520                a.$CssPosition(f, "absolute");
3521                a.$CssOverflow(f, "hidden");
3522                d.$AutoCenter & 1 && a.$CssLeft(f, (A - o) / 2);
3523                d.$AutoCenter & 2 && a.$CssTop(f, (y - n) / 2);
3524                a.$CssWidth(f, o);
3525                a.$CssHeight(f, n);
3526                var k = [];
3527                a.$Each(C, function(l, g) {
3528                    var h = new B(l, g),
3529                        d = h.$Wrapper,
3530                        c = b.floor(g / e),
3531                        i = g % e;
3532                    a.$CssLeft(d, (v + r) * i * (1 - j));
3533                    a.$CssTop(d, (u + s) * i * j);
3534                    if (!k[c]) {
3535                        k[c] = a.$CreateDiv();
3536                        a.$AppendChild(f, k[c])
3537                    }
3538                    a.$AppendChild(k[c], d);
3539                    w.push(h)
3540                });
3541                var E = a.$Extend({
3542                    $AutoPlay: i,
3543                    $NaviQuitDrag: i,
3544                    $SlideWidth: m,
3545                    $SlideHeight: l,
3546                    $SlideSpacing: r * j + s * (1 - j),
3547                    $MinDragOffsetToSlide: 12,
3548                    $SlideDuration: 200,
3549                    $PauseOnHover: 1,
3550                    $PlayOrientation: d.$Orientation,
3551                    $DragOrientation: d.$NoDrag || d.$DisableDrag ? 0 : d.$Orientation
3552                }, d);
3553                t = new h(g, E);
3554                x = c
3555            }
3556        };
3557        l.$Options = d = a.$Extend({
3558            $SpacingX: 0,
3559            $SpacingY: 0,
3560            $Cols: 1,
3561            $Orientation: 1,
3562            $AutoCenter: 3,
3563            $ActionMode: 1
3564        }, C);
3565        if (d.$DisplayPieces != k) d.$Cols = d.$DisplayPieces;
3566        if (d.$Rows != k) d.$Lanes = d.$Rows;
3567        A = a.$CssWidth(g);
3568        y = a.$CssHeight(g);
3569        f = a.$FindChild(g, "slides", c);
3570        o = a.$FindChild(f, "prototype");
3571        v = a.$CssWidth(o);
3572        u = a.$CssHeight(o);
3573        a.$RemoveElement(o, f);
3574        e = d.$Lanes || 1;
3575        r = d.$SpacingX;
3576        s = d.$SpacingY;
3577        p = d.$Cols;
3578        d.$Scale == i && a.$Attribute(g, "noscale", c)
3579    };
3580
3581    function p(e, d, c) {
3582        var b = this;
3583        l.call(b, 0, c);
3584        b.$Revert = a.$EmptyFunction;
3585        b.$IdleBegin = 0;
3586        b.$IdleEnd = c
3587    }
3588    g.$JssorCaptionSlider$ = function(h, f, i) {
3589        var c = this;
3590        l.call(c, 0, 0);
3591        var e, d;
3592
3593        function g(p, h, f) {
3594            var c = this,
3595                g, n = f ? h.$PlayInMode : h.$PlayOutMode,
3596                e = h.$Transitions,
3597                o = {
3598                    $Transition: "t",
3599                    $Delay: "d",
3600                    $Duration: "du",
3601                    x: "x",
3602                    y: "y",
3603                    $Rotate: "r",
3604                    $Zoom: "z",
3605                    $Opacity: "f",
3606                    $BeginTime: "b"
3607                },
3608                d = {
3609                    $Default: function(b, a) {
3610                        if (!isNaN(a.$Value)) b = a.$Value;
3611                        else b *= a.$Percent;
3612                        return b
3613                    },
3614                    $Opacity: function(b, a) {
3615                        return this.$Default(b - 1, a)
3616                    }
3617                };
3618            d.$Zoom = d.$Opacity;
3619            l.call(c, 0, 0);
3620
3621            function j(r, m) {
3622                var l = [],
3623                    i, k = [],
3624                    c = [];
3625
3626                function h(c, d) {
3627                    var b = {};
3628                    a.$Each(o, function(g, h) {
3629                        var e = a.$AttributeEx(c, g + (d || ""));
3630                        if (e) {
3631                            var f = {};
3632                            if (g == "t") f.$Value = e;
3633                            else if (e.indexOf("%") + 1) f.$Percent = a.$ParseFloat(e) / 100;
3634                            else f.$Value = a.$ParseFloat(e);
3635                            b[h] = f
3636                        }
3637                    });
3638                    return b
3639                }
3640
3641                function p() {
3642                    return e[b.floor(b.random() * e.length)]
3643                }
3644
3645                function g(f) {
3646                    var h;
3647                    if (f == "*") h = p();
3648                    else if (f) {
3649                        var d = e[a.$ParseInt(f)] || e[f];
3650                        if (a.$IsArray(d)) {
3651                            if (f != i) {
3652                                i = f;
3653                                c[f] = 0;
3654                                k[f] = d[b.floor(b.random() * d.length)]
3655                            } else c[f]++;
3656                            d = k[f];
3657                            if (a.$IsArray(d)) {
3658                                d = d.length && d[c[f] % d.length];
3659                                if (a.$IsArray(d)) d = d[b.floor(b.random() * d.length)]
3660                            }
3661                        }
3662                        h = d;
3663                        if (a.$IsString(h)) h = g(h)
3664                    }
3665                    return h
3666                }
3667                var q = a.$Children(r);
3668                a.$Each(q, function(b) {
3669                    var c = [];
3670                    c.$Elmt = b;
3671                    var e = a.$AttributeEx(b, "u") == "caption";
3672                    a.$Each(f ? [0, 3] : [2], function(l, o) {
3673                        if (e) {
3674                            var k, f;
3675                            if (l != 2 || !a.$AttributeEx(b, "t3")) {
3676                                f = h(b, l);
3677                                if (l == 2 && !f.$Transition) {
3678                                    f.$Delay = f.$Delay || {
3679                                        $Value: 0
3680                                    };
3681                                    f = a.$Extend(h(b, 0), f)
3682                                }
3683                            }
3684                            if (f && f.$Transition) {
3685                                k = g(f.$Transition.$Value);
3686                                if (k) {
3687                                    var i = a.$Extend({
3688                                        $Delay: 0
3689                                    }, k);
3690                                    a.$Each(f, function(c, a) {
3691                                        var b = (d[a] || d.$Default).apply(d, [i[a], f[a]]);
3692                                        if (!isNaN(b)) i[a] = b
3693                                    });
3694                                    if (!o)
3695                                        if (f.$BeginTime) i.$BeginTime = f.$BeginTime.$Value || 0;
3696                                        else if (n & 2) i.$BeginTime = 0
3697                                }
3698                            }
3699                            c.push(i)
3700                        }
3701                        if (m % 2 && !o) c.$Children = j(b, m + 1)
3702                    });
3703                    l.push(c)
3704                });
3705                return l
3706            }
3707
3708            function m(w, c, z) {
3709                var g = {
3710                        $Easing: c.$Easing,
3711                        $Round: c.$Round,
3712                        $During: c.$During,
3713                        $Reverse: f && !z
3714                    },
3715                    m = w,
3716                    r = a.$ParentNode(w),
3717                    k = a.$CssWidth(m),
3718                    j = a.$CssHeight(m),
3719                    y = a.$CssWidth(r),
3720                    x = a.$CssHeight(r),
3721                    h = {},
3722                    e = {},
3723                    i = c.$ScaleClip || 1;
3724                if (c.$Opacity) e.$Opacity = 1 - c.$Opacity;
3725                g.$OriginalWidth = k;
3726                g.$OriginalHeight = j;
3727                if (c.$Zoom || c.$Rotate) {
3728                    e.$Zoom = (c.$Zoom || 2) - 2;
3729                    if (a.$IsBrowserIe9Earlier() || a.$IsBrowserOpera()) e.$Zoom = b.min(e.$Zoom, 1);
3730                    h.$Zoom = 1;
3731                    var B = c.$Rotate || 0;
3732                    e.$Rotate = B * 360;
3733                    h.$Rotate = 0
3734                } else if (c.$Clip) {
3735                    var s = {
3736                            $Top: 0,
3737                            $Right: k,
3738                            $Bottom: j,
3739                            $Left: 0
3740                        },
3741                        v = a.$Extend({}, s),
3742                        d = v.$Offset = {},
3743                        u = c.$Clip & 4,
3744                        p = c.$Clip & 8,
3745                        t = c.$Clip & 1,
3746                        q = c.$Clip & 2;
3747                    if (u && p) {
3748                        d.$Top = j / 2 * i;
3749                        d.$Bottom = -d.$Top
3750                    } else if (u) d.$Bottom = -j * i;
3751                    else if (p) d.$Top = j * i;
3752                    if (t && q) {
3753                        d.$Left = k / 2 * i;
3754                        d.$Right = -d.$Left
3755                    } else if (t) d.$Right = -k * i;
3756                    else if (q) d.$Left = k * i;
3757                    g.$Move = c.$Move;
3758                    e.$Clip = v;
3759                    h.$Clip = s
3760                }
3761                var n = 0,
3762                    o = 0;
3763                if (c.x) n -= y * c.x;
3764                if (c.y) o -= x * c.y;
3765                if (n || o || g.$Move) {
3766                    e.$Left = n;
3767                    e.$Top = o
3768                }
3769                var A = c.$Duration;
3770                h = a.$Extend(h, a.$GetStyles(m, e));
3771                g.$Setter = a.$StyleSetterEx();
3772                return new l(c.$Delay, A, g, m, h, e)
3773            }
3774
3775            function i(b, d) {
3776                a.$Each(d, function(d) {
3777                    var a, h = d.$Elmt,
3778                        e = d[0],
3779                        j = d[1];
3780                    if (e) {
3781                        a = m(h, e);
3782                        e.$BeginTime == k && a.$Shift(b);
3783                        b = a.$GetPosition_OuterEnd()
3784                    }
3785                    b = i(b, d.$Children);
3786                    if (j) {
3787                        var f = m(h, j, 1);
3788                        f.$Shift(b);
3789                        c.$Combine(f);
3790                        g.$Combine(f)
3791                    }
3792                    a && c.$Combine(a)
3793                });
3794                return b
3795            }
3796            c.$Revert = function() {
3797                c.$GoToPosition(c.$GetPosition_OuterEnd() * (f || 0));
3798                g.$GoToPosition(0)
3799            };
3800            g = new l(0, 0);
3801            i(0, n ? j(p, 1) : [])
3802        }
3803        c.$Revert = function() {
3804            d.$Revert();
3805            e.$Revert()
3806        };
3807        e = new g(h, f, 1);
3808        c.$IdleBegin = e.$GetPosition_OuterEnd();
3809        c.$IdleEnd = c.$IdleBegin + i;
3810        d = new g(h, f);
3811        d.$Shift(c.$IdleEnd);
3812        c.$Combine(d);
3813        c.$Combine(e)
3814    };
3815    g.$JssorCaptionSlideo$ = function(n, g, m) {
3816        var b = this,
3817            o, h = {},
3818            i = g.$Transitions,
3819            d = new l(0, 0);
3820        l.call(b, 0, 0);
3821
3822        function j(d, c) {
3823            var b = {};
3824            a.$Each(d, function(d, f) {
3825                var e = h[f];
3826                if (e) {
3827                    if (a.$IsPlainObject(d)) d = j(d, c || f == "e");
3828                    else if (c)
3829                        if (a.$IsNumeric(d)) d = o[d];
3830                    b[e] = d
3831                }
3832            });
3833            return b
3834        }
3835
3836        function k(e, c) {
3837            var b = [],
3838                d = a.$Children(e);
3839            a.$Each(d, function(d) {
3840                var h = a.$AttributeEx(d, "u") == "caption";
3841                if (h) {
3842                    var e = a.$AttributeEx(d, "t"),
3843                        g = i[a.$ParseInt(e)] || i[e],
3844                        f = {
3845                            $Elmt: d,
3846                            $Transition: g
3847                        };
3848                    b.push(f)
3849                }
3850                if (c < 5) b = b.concat(k(d, c + 1))
3851            });
3852            return b
3853        }
3854
3855        function r(c, e, b) {
3856            a.$Each(e, function(f) {
3857                var e = j(f),
3858                    g = {
3859                        $Easing: a.$FormatEasings(e.$Easing),
3860                        $Setter: a.$StyleSetterEx(),
3861                        $OriginalWidth: b.$Width,
3862                        $OriginalHeight: b.$Height
3863                    },
3864                    h = new l(f.b, f.d, g, c, b, e);
3865                d.$Combine(h);
3866                b = a.$AddDif(b, e)
3867            });
3868            return b
3869        }
3870
3871        function q(b) {
3872            a.$Each(b, function(e) {
3873                var b = e.$Elmt,
3874                    d = a.$CssWidth(b),
3875                    c = a.$CssHeight(b),
3876                    f = {
3877                        $Left: a.$CssLeft(b),
3878                        $Top: a.$CssTop(b),
3879                        $Opacity: 1,
3880                        $ZIndex: a.$CssZIndex(b) || 0,
3881                        $Rotate: 0,
3882                        $RotateX: 0,
3883                        $RotateY: 0,
3884                        $ScaleX: 1,
3885                        $ScaleY: 1,
3886                        $TranslateX: 0,
3887                        $TranslateY: 0,
3888                        $TranslateZ: 0,
3889                        $SkewX: 0,
3890                        $SkewY: 0,
3891                        $Width: d,
3892                        $Height: c,
3893                        $Clip: {
3894                            $Top: 0,
3895                            $Right: d,
3896                            $Bottom: c,
3897                            $Left: 0
3898                        }
3899                    };
3900                r(b, e.$Transition, f)
3901            })
3902        }
3903
3904        function t(g, f, h) {
3905            var e = g.b - f;
3906            if (e) {
3907                var a = new l(f, e);
3908                a.$Combine(d, c);
3909                a.$Shift(h);
3910                b.$Combine(a)
3911            }
3912            b.$Expand(g.d);
3913            return e
3914        }
3915
3916        function s(f) {
3917            var c = d.$GetPosition_OuterBegin(),
3918                e = 0;
3919            a.$Each(f, function(d, f) {
3920                d = a.$Extend({
3921                    d: m
3922                }, d);
3923                t(d, c, e);
3924                c = d.b;
3925                e += d.d;
3926                if (!f || d.t == 2) {
3927                    b.$IdleBegin = c;
3928                    b.$IdleEnd = c + d.d
3929                }
3930            })
3931        }
3932        b.$Revert = function() {
3933            b.$GoToPosition(-1, c)
3934        };
3935        o = [f.$Swing, f.$Linear, f.$InQuad, f.$OutQuad, f.$InOutQuad, f.$InCubic, f.$OutCubic, f.$InOutCubic, f.$InQuart, f.$OutQuart, f.$InOutQuart, f.$InQuint, f.$OutQuint, f.$InOutQuint, f.$InSine, f.$OutSine, f.$InOutSine, f.$InExpo, f.$OutExpo, f.$InOutExpo, f.$InCirc, f.$OutCirc, f.$InOutCirc, f.$InElastic, f.$OutElastic, f.$InOutElastic, f.$InBack, f.$OutBack, f.$InOutBack, f.$InBounce, f.$OutBounce, f.$InOutBounce, f.$GoBack, f.$InWave, f.$OutWave, f.$OutJump, f.$InJump];
3936        var u = {
3937            $Top: "y",
3938            $Left: "x",
3939            $Bottom: "m",
3940            $Right: "t",
3941            $Rotate: "r",
3942            $RotateX: "rX",
3943            $RotateY: "rY",
3944            $ScaleX: "sX",
3945            $ScaleY: "sY",
3946            $TranslateX: "tX",
3947            $TranslateY: "tY",
3948            $TranslateZ: "tZ",
3949            $SkewX: "kX",
3950            $SkewY: "kY",
3951            $Opacity: "o",
3952            $Easing: "e",
3953            $ZIndex: "i",
3954            $Clip: "c"
3955        };
3956        a.$Each(u, function(b, a) {
3957            h[b] = a
3958        });
3959        q(k(n, 1));
3960        d.$GoToPosition(-1);
3961        var p = g.$Breaks || [],
3962            e = [].concat(p[a.$ParseInt(a.$AttributeEx(n, "b"))] || []);
3963        e.push({
3964            b: d.$GetPosition_OuterEnd(),
3965            d: e.length ? 0 : m
3966        });
3967        s(e);
3968        b.$GoToPosition(-1)
3969    }
3970})(window, document, Math, null, true, false)

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.