Guest User

Untitled

a guest
Mar 20th, 2019
137
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. var x = function(t) {
  2.     var e = {};
  3.  
  4.     function i(s) {
  5.         if (e[s]) {
  6.             return e[s].exports
  7.         }
  8.         var n = e[s] = {
  9.             i: s,
  10.             l: false,
  11.             exports: {}
  12.         };
  13.         t[s].call(n.exports, n, n.exports, i);
  14.         n.l = true;
  15.         return n.exports
  16.     }
  17.     i.m = t;
  18.     i.c = e;
  19.     i.d = function(t, e, s) {
  20.         if (!i.o(t, e)) {
  21.             Object.defineProperty(t, e, {
  22.                 configurable: false,
  23.                 enumerable: true,
  24.                 get: s
  25.             })
  26.         }
  27.     };
  28.     i.n = function(t) {
  29.         var e = t && t.__esModule ? function e() {
  30.             return t["default"]
  31.         } : function e() {
  32.             return t
  33.         };
  34.         i.d(e, "a", e);
  35.         return e
  36.     };
  37.     i.o = function(t, e) {
  38.         return Object.prototype.hasOwnProperty.call(t, e)
  39.     };
  40.     i.p = "";
  41.     return i(i.s = 4)
  42. }([function(t, e) {
  43.     t.exports = window.jQuery
  44. }, function(t, e) {
  45.     t.exports = window.csGlobal
  46. }, function(t, e) {
  47.     function i(t, e) {
  48.         var i = 0,
  49.             s = t.length,
  50.             n;
  51.         for (i; i < s; i++) {
  52.             n = e(t[i], i);
  53.             if (n === false) {
  54.                 break
  55.             }
  56.         }
  57.     }
  58.  
  59.     function s(t) {
  60.         return Object.prototype.toString.apply(t) === "[object Array]"
  61.     }
  62.  
  63.     function n(t) {
  64.         return typeof t === "function"
  65.     }
  66.     t.exports = {
  67.         isFunction: n,
  68.         isArray: s,
  69.         each: i
  70.     }
  71. }, function(t, e, i) {
  72.     "use strict";
  73.     Object.defineProperty(e, "__esModule", {
  74.         value: true
  75.     });
  76.     e.calcFixedWidthSetup = a;
  77.     e.calcFixedWidth = l;
  78.     var s = i(0);
  79.     var n = r(s);
  80.     var o = i(1);
  81.  
  82.     function r(t) {
  83.         return t && t.__esModule ? t : {
  84.             default: t
  85.         }
  86.     }
  87.  
  88.     function a(t) {
  89.         var e = t.$window;
  90.         (0, o.everinit)("[data-x-bar]", function(t) {
  91.             var i = (0, n.default)(t).data("x-bar");
  92.             if ("top" === i.region || "bottom" === i.region) {
  93.                 l(t);
  94.                 e.on("resize", function() {
  95.                     l(t)
  96.                 })
  97.             }
  98.         })
  99.     }
  100.  
  101.     function l(t) {
  102.         var e = window.getComputedStyle(t);
  103.         if ("fixed" !== e.position) {
  104.             (0, n.default)(t).css({
  105.                 width: "",
  106.                 "max-width": ""
  107.             });
  108.             return
  109.         }
  110.         var i = [];
  111.         if (!c(e["margin-left"])) {
  112.             i.push(e["margin-left"])
  113.         }
  114.         if (!c(e["margin-right"])) {
  115.             i.push(e["margin-right"])
  116.         }
  117.         var s = "";
  118.         if (i.length > 0) {
  119.             s = i.length === 1 ? i[0] : "(" + i.join(" + ") + ")"
  120.         }
  121.         var o = 0;
  122.         (0, n.default)(".x-bar-space-v:visible").each(function() {
  123.             o += (0, n.default)(this).width()
  124.         });
  125.         var r = (0, n.default)("body.x-icon .x-sidebar .max.width:not(.x-container)").parent().outerWidth();
  126.         if (r) {
  127.             o += r
  128.         }
  129.         var a = "";
  130.         if (o > 0) {
  131.             a += " - " + o + "px"
  132.         }
  133.         if (s) {
  134.             a += " - " + s
  135.         }
  136.         var l = {
  137.             width: a ? "calc(100%" + a + ")" : "100%"
  138.         };
  139.         var d = window.getComputedStyle((0, n.default)(".x-site")[0])["max-width"];
  140.         if ("none" !== d) {
  141.             l["max-width"] = s ? "calc(" + d + " - " + s + ")" : d
  142.         }(0, n.default)(t).css(l)
  143.     }
  144.  
  145.     function c(t) {
  146.         return 0 === t.trim().split(" ").filter(function(t) {
  147.             return !t.match(/^0[a-zA-Z%]+|0$|none$/)
  148.         }).length
  149.     }
  150. }, function(t, e, i) {
  151.     "use strict";
  152.     var s = i(0);
  153.     var n = b(s);
  154.     i(5);
  155.     i(6);
  156.     var o = i(7);
  157.     var r = b(o);
  158.     var a = i(8);
  159.     var l = b(a);
  160.     var c = i(13);
  161.     var d = b(c);
  162.     var u = i(14);
  163.     var f = b(u);
  164.     var h = i(15);
  165.     var p = b(h);
  166.     var v = i(16);
  167.     var m = b(v);
  168.     var y = i(17);
  169.     var g = b(y);
  170.     var w = i(3);
  171.     var x = i(20);
  172.     var k = i(1);
  173.  
  174.     function b(t) {
  175.         return t && t.__esModule ? t : {
  176.             default: t
  177.         }
  178.     }
  179.     if (!window.csGlobal) {
  180.         console.warn("X is running without Cornerstone.")
  181.     }(0, n.default)(function() {
  182.         var t = {
  183.             $window: (0, n.default)(window),
  184.             $document: (0, n.default)(document),
  185.             $body: (0, n.default)("body"),
  186.             $site: (0, n.default)(".x-site"),
  187.             $masthead: (0, n.default)(".x-masthead"),
  188.             $colophon: (0, n.default)(".x-colophon"),
  189.             $navbar: (0, n.default)(".x-navbar"),
  190.             $adminBar: (0, n.default)("#wpadminbar")
  191.         };
  192.         (0, f.default)(t);
  193.         (0, p.default)(t);
  194.         (0, r.default)(t);
  195.         (0, g.default)(t);
  196.         (0, w.calcFixedWidthSetup)(t);
  197.         (0, x.stickyBarsSetup)(t);
  198.         (0, d.default)(t);
  199.         (0, l.default)(t);
  200.         (0, m.default)(t);
  201.         k.csHooks.filter("scrollspy_selector", 'a[href*="#"]');
  202.         k.csHooks.filter("scrollspy_offset", function(t, e) {
  203.             var i = (0, x.stickyBarsFindTopOffset)(e + (0, k.adminBarOffset)());
  204.             return i > 0 ? e + i : t
  205.         });
  206.         k.csHooks.filter("hash_scrolling_selector", 'a[href*="#"]');
  207.         k.csHooks.filter("hash_scrolling_initial_move", true);
  208.         k.csHooks.filter("hash_scrolling_offset", function(t) {
  209.             var e = (0, x.stickyBarsFindTopOffset)(t);
  210.             var i = (0, n.default)(".x-navbar-fixed-top-active .x-nav-wrap.desktop");
  211.             if (e) {
  212.                 t -= e - (0, k.adminBarOffset)()
  213.             } else if (i.length > 0 && "none" !== i.css("display")) {
  214.                 t -= i.closest(".x-navbar").outerHeight()
  215.             }
  216.             return t
  217.         });
  218.         k.csHooks.action("hash_scrolling_before", function(t) {
  219.             var e = t.$anchor;
  220.             var i = e.closest("[data-x-toggleable]");
  221.             if (i.hasClass("x-modal") || i.hasClass("x-dropdown") || i.hasClass("x-off-canvas")) {
  222.                 window.xToggleUpdate(i.attr("data-x-toggleable"), false)
  223.             }
  224.         });
  225.         k.csHooks.filter("hash_scrolling_allow", function(t, e, i, s) {
  226.             if ("#comments" === s || e.hasAttribute("data-vc-accordion")) {
  227.                 return false
  228.             }
  229.             return t
  230.         })
  231.     })
  232. }, function(t, e, i) {
  233.     "use strict";
  234.     (function(t, e, i) {
  235.         "use strict";
  236.         var s = t.document;
  237.         var n = s.documentElement;
  238.         var o = t.Modernizr;
  239.         var r = function t(e) {
  240.             return e.charAt(0).toUpperCase() + e.slice(1)
  241.         };
  242.         var a = "Moz Webkit O Ms".split(" ");
  243.         var l = function t(e) {
  244.             var i = n.style,
  245.                 s;
  246.             if (typeof i[e] === "string") {
  247.                 return e
  248.             }
  249.             e = r(e);
  250.             for (var o = 0, l = a.length; o < l; o++) {
  251.                 s = a[o] + e;
  252.                 if (typeof i[s] === "string") {
  253.                     return s
  254.                 }
  255.             }
  256.         };
  257.         var c = l("transform"),
  258.             d = l("transitionProperty");
  259.         var u = {
  260.             csstransforms: function t() {
  261.                 return !!c
  262.             },
  263.             csstransforms3d: function t() {
  264.                 var i = !!l("perspective");
  265.                 if (i && "webkitPerspective" in n.style) {
  266.                     var s = e("<style>@media (transform-3d),(-webkit-transform-3d)" + "{#modernizr{height:3px}}</style>").appendTo("head"),
  267.                         o = e('<div id="modernizr" />').appendTo("html");
  268.                     i = o.height() === 3;
  269.                     o.remove();
  270.                     s.remove()
  271.                 }
  272.                 return i
  273.             },
  274.             csstransitions: function t() {
  275.                 return !!d
  276.             }
  277.         };
  278.         var f;
  279.         if (o) {
  280.             for (f in u) {
  281.                 if (!o.hasOwnProperty(f)) {
  282.                     o.addTest(f, u[f])
  283.                 }
  284.             }
  285.         } else {
  286.             o = t.Modernizr = {
  287.                 _version: "1.6ish: miniModernizr for Isotope"
  288.             };
  289.             var h = " ";
  290.             var p;
  291.             for (f in u) {
  292.                 p = u[f]();
  293.                 o[f] = p;
  294.                 h += " " + (p ? "" : "no-") + f
  295.             }
  296.             e("html").addClass(h)
  297.         }
  298.         if (o.csstransforms) {
  299.             var v = o.csstransforms3d ? {
  300.                 translate: function t(e) {
  301.                     return "translate3d(" + e[0] + "px, " + e[1] + "px, 0) "
  302.                 },
  303.                 scale: function t(e) {
  304.                     return "scale3d(" + e + ", " + e + ", 1) "
  305.                 }
  306.             } : {
  307.                 translate: function t(e) {
  308.                     return "translate(" + e[0] + "px, " + e[1] + "px) "
  309.                 },
  310.                 scale: function t(e) {
  311.                     return "scale(" + e + ") "
  312.                 }
  313.             };
  314.             var m = function t(i, s, n) {
  315.                 var o = e.data(i, "isoTransform") || {},
  316.                     r = {},
  317.                     a, l = {},
  318.                     d;
  319.                 r[s] = n;
  320.                 e.extend(o, r);
  321.                 for (a in o) {
  322.                     d = o[a];
  323.                     l[a] = v[a](d)
  324.                 }
  325.                 var u = l.translate || "",
  326.                     f = l.scale || "",
  327.                     h = u + f;
  328.                 e.data(i, "isoTransform", o);
  329.                 i.style[c] = h
  330.             };
  331.             e.cssNumber.scale = true;
  332.             e.cssHooks.scale = {
  333.                 set: function t(e, i) {
  334.                     m(e, "scale", i)
  335.                 },
  336.                 get: function t(i, s) {
  337.                     var n = e.data(i, "isoTransform");
  338.                     return n && n.scale ? n.scale : 1
  339.                 }
  340.             };
  341.             e.fx.step.scale = function(t) {
  342.                 e.cssHooks.scale.set(t.elem, t.now + t.unit)
  343.             };
  344.             e.cssNumber.translate = true;
  345.             e.cssHooks.translate = {
  346.                 set: function t(e, i) {
  347.                     m(e, "translate", i)
  348.                 },
  349.                 get: function t(i, s) {
  350.                     var n = e.data(i, "isoTransform");
  351.                     return n && n.translate ? n.translate : [0, 0]
  352.                 }
  353.             }
  354.         }
  355.         var y, g;
  356.         if (o.csstransitions) {
  357.             y = {
  358.                 WebkitTransitionProperty: "webkitTransitionEnd",
  359.                 MozTransitionProperty: "transitionend",
  360.                 OTransitionProperty: "oTransitionEnd otransitionend",
  361.                 transitionProperty: "transitionend"
  362.             }[d];
  363.             g = l("transitionDuration")
  364.         }
  365.         var w = e.event,
  366.             x = "dispatch",
  367.             k;
  368.         w.special.xsmartresize = {
  369.             setup: function t() {
  370.                 e(this).bind("resize", w.special.xsmartresize.handler)
  371.             },
  372.             teardown: function t() {
  373.                 e(this).unbind("resize", w.special.xsmartresize.handler)
  374.             },
  375.             handler: function t(e, i) {
  376.                 var s = this,
  377.                     n = arguments;
  378.                 e.type = "xsmartresize";
  379.                 if (k) {
  380.                     clearTimeout(k)
  381.                 }
  382.                 k = setTimeout(function() {
  383.                     w[x].apply(s, n)
  384.                 }, i === "execAsap" ? 0 : 100)
  385.             }
  386.         };
  387.         e.fn.xsmartresize = function(t) {
  388.             return t ? this.bind("xsmartresize", t) : this.trigger("xsmartresize", ["execAsap"])
  389.         };
  390.         e.xIsotope = function(t, i, s) {
  391.             this.element = e(i);
  392.             this._create(t);
  393.             this._init(s)
  394.         };
  395.         var b = ["width", "height"];
  396.         var C = e(t);
  397.         e.xIsotope.settings = {
  398.             resizable: true,
  399.             layoutMode: "masonry",
  400.             containerClass: "isotope",
  401.             itemClass: "isotope-item",
  402.             hiddenClass: "isotope-hidden",
  403.             hiddenStyle: {
  404.                 opacity: 0,
  405.                 scale: .001
  406.             },
  407.             visibleStyle: {
  408.                 opacity: 1,
  409.                 scale: 1
  410.             },
  411.             containerStyle: {
  412.                 position: "relative",
  413.                 overflow: "hidden"
  414.             },
  415.             animationEngine: "best-available",
  416.             animationOptions: {
  417.                 queue: false,
  418.                 duration: 800
  419.             },
  420.             sortBy: "original-order",
  421.             sortAscending: true,
  422.             resizesContainer: true,
  423.             transformsEnabled: true,
  424.             itemPositionDataEnabled: false
  425.         };
  426.         e.xIsotope.prototype = {
  427.             _create: function t(i) {
  428.                 this.options = e.extend({}, e.xIsotope.settings, i);
  429.                 this.styleQueue = [];
  430.                 this.elemCount = 0;
  431.                 var s = this.element[0].style;
  432.                 this.originalStyle = {};
  433.                 var n = b.slice(0);
  434.                 for (var o in this.options.containerStyle) {
  435.                     n.push(o)
  436.                 }
  437.                 for (var r = 0, a = n.length; r < a; r++) {
  438.                     o = n[r];
  439.                     this.originalStyle[o] = s[o] || ""
  440.                 }
  441.                 this.element.css(this.options.containerStyle);
  442.                 this._updateAnimationEngine();
  443.                 this._updateUsingTransforms();
  444.                 var l = {
  445.                     "original-order": function t(e, i) {
  446.                         i.elemCount++;
  447.                         return i.elemCount
  448.                     },
  449.                     random: function t() {
  450.                         return Math.random()
  451.                     }
  452.                 };
  453.                 this.options.getSortData = e.extend(this.options.getSortData, l);
  454.                 this.reloadItems();
  455.                 this.offset = {
  456.                     left: parseInt(this.element.css("padding-left") || 0, 10),
  457.                     top: parseInt(this.element.css("padding-top") || 0, 10)
  458.                 };
  459.                 var c = this;
  460.                 setTimeout(function() {
  461.                     c.element.addClass(c.options.containerClass)
  462.                 }, 0);
  463.                 if (this.options.resizable) {
  464.                     C.bind("xsmartresize.isotope", function() {
  465.                         c.resize()
  466.                     })
  467.                 }
  468.                 this.element.delegate("." + this.options.hiddenClass, "click", function() {
  469.                     return false
  470.                 })
  471.             },
  472.             _getAtoms: function t(e) {
  473.                 var i = this.options.itemSelector,
  474.                     s = i ? e.filter(i).add(e.find(i)) : e,
  475.                     n = {
  476.                         position: "absolute"
  477.                     };
  478.                 s = s.filter(function(t, e) {
  479.                     return e.nodeType === 1
  480.                 });
  481.                 if (this.usingTransforms) {
  482.                     n.left = 0;
  483.                     n.top = 0
  484.                 }
  485.                 s.css(n).addClass(this.options.itemClass);
  486.                 this.updateSortData(s, true);
  487.                 return s
  488.             },
  489.             _init: function t(e) {
  490.                 this.$filteredAtoms = this._filter(this.$allAtoms);
  491.                 this._sort();
  492.                 this.reLayout(e)
  493.             },
  494.             option: function t(i) {
  495.                 if (e.isPlainObject(i)) {
  496.                     this.options = e.extend(true, this.options, i);
  497.                     var s;
  498.                     for (var n in i) {
  499.                         s = "_update" + r(n);
  500.                         if (this[s]) {
  501.                             this[s]()
  502.                         }
  503.                     }
  504.                 }
  505.             },
  506.             _updateAnimationEngine: function t() {
  507.                 var e = this.options.animationEngine.toLowerCase().replace(/[ _\-]/g, "");
  508.                 var i;
  509.                 switch (e) {
  510.                     case "css":
  511.                     case "none":
  512.                         i = false;
  513.                         break;
  514.                     case "jquery":
  515.                         i = true;
  516.                         break;
  517.                     default:
  518.                         i = !o.csstransitions
  519.                 }
  520.                 this.isUsingJQueryAnimation = i;
  521.                 this._updateUsingTransforms()
  522.             },
  523.             _updateTransformsEnabled: function t() {
  524.                 this._updateUsingTransforms()
  525.             },
  526.             _updateUsingTransforms: function t() {
  527.                 var e = this.usingTransforms = this.options.transformsEnabled && o.csstransforms && o.csstransitions && !this.isUsingJQueryAnimation;
  528.                 if (!e) {
  529.                     delete this.options.hiddenStyle.scale;
  530.                     delete this.options.visibleStyle.scale
  531.                 }
  532.                 this.getPositionStyles = e ? this._translate : this._positionAbs
  533.             },
  534.             _filter: function t(e) {
  535.                 var i = this.options.filter === "" ? "*" : this.options.filter;
  536.                 if (!i) {
  537.                     return e
  538.                 }
  539.                 var s = this.options.hiddenClass,
  540.                     n = "." + s,
  541.                     o = e.filter(n),
  542.                     r = o;
  543.                 if (i !== "*") {
  544.                     r = o.filter(i);
  545.                     var a = e.not(n).not(i).addClass(s);
  546.                     this.styleQueue.push({
  547.                         $el: a,
  548.                         style: this.options.hiddenStyle
  549.                     })
  550.                 }
  551.                 this.styleQueue.push({
  552.                     $el: r,
  553.                     style: this.options.visibleStyle
  554.                 });
  555.                 r.removeClass(s);
  556.                 return e.filter(i)
  557.             },
  558.             updateSortData: function t(i, s) {
  559.                 var n = this,
  560.                     o = this.options.getSortData,
  561.                     r, a;
  562.                 i.each(function() {
  563.                     r = e(this);
  564.                     a = {};
  565.                     for (var t in o) {
  566.                         if (!s && t === "original-order") {
  567.                             a[t] = e.data(this, "isotope-sort-data")[t]
  568.                         } else {
  569.                             a[t] = o[t](r, n)
  570.                         }
  571.                     }
  572.                     e.data(this, "isotope-sort-data", a)
  573.                 })
  574.             },
  575.             _sort: function t() {
  576.                 var e = this.options.sortBy,
  577.                     i = this._getSorter,
  578.                     s = this.options.sortAscending ? 1 : -1,
  579.                     n = function t(n, o) {
  580.                         var r = i(n, e),
  581.                             a = i(o, e);
  582.                         if (r === a && e !== "original-order") {
  583.                             r = i(n, "original-order");
  584.                             a = i(o, "original-order")
  585.                         }
  586.                         return (r > a ? 1 : r < a ? -1 : 0) * s
  587.                     };
  588.                 this.$filteredAtoms.sort(n)
  589.             },
  590.             _getSorter: function t(i, s) {
  591.                 return e.data(i, "isotope-sort-data")[s]
  592.             },
  593.             _translate: function t(e, i) {
  594.                 return {
  595.                     translate: [e, i]
  596.                 }
  597.             },
  598.             _positionAbs: function t(e, i) {
  599.                 return {
  600.                     left: e,
  601.                     top: i
  602.                 }
  603.             },
  604.             _pushPosition: function t(e, i, s) {
  605.                 i = Math.round(i + this.offset.left);
  606.                 s = Math.round(s + this.offset.top);
  607.                 var n = this.getPositionStyles(i, s);
  608.                 this.styleQueue.push({
  609.                     $el: e,
  610.                     style: n
  611.                 });
  612.                 if (this.options.itemPositionDataEnabled) {
  613.                     e.data("isotope-item-position", {
  614.                         x: i,
  615.                         y: s
  616.                     })
  617.                 }
  618.             },
  619.             layout: function t(e, i) {
  620.                 var s = this.options.layoutMode;
  621.                 this["_" + s + "Layout"](e);
  622.                 if (this.options.resizesContainer) {
  623.                     var n = this["_" + s + "GetContainerSize"]();
  624.                     this.styleQueue.push({
  625.                         $el: this.element,
  626.                         style: n
  627.                     })
  628.                 }
  629.                 this._processStyleQueue(e, i);
  630.                 this.isLaidOut = true
  631.             },
  632.             _processStyleQueue: function t(i, s) {
  633.                 var n = !this.isLaidOut ? "css" : this.isUsingJQueryAnimation ? "animate" : "css",
  634.                     r = this.options.animationOptions,
  635.                     a = this.options.onLayout,
  636.                     l, c, d, u;
  637.                 c = function t(e, i) {
  638.                     i.$el[n](i.style, r)
  639.                 };
  640.                 if (this._isInserting && this.isUsingJQueryAnimation) {
  641.                     c = function t(e, i) {
  642.                         l = i.$el.hasClass("no-transition") ? "css" : n;
  643.                         i.$el[l](i.style, r)
  644.                     }
  645.                 } else if (s || a || r.complete) {
  646.                     var f = false,
  647.                         h = [s, a, r.complete],
  648.                         p = this;
  649.                     d = true;
  650.                     u = function t() {
  651.                         if (f) {
  652.                             return
  653.                         }
  654.                         var e;
  655.                         for (var s = 0, n = h.length; s < n; s++) {
  656.                             e = h[s];
  657.                             if (typeof e === "function") {
  658.                                 e.call(p.element, i, p)
  659.                             }
  660.                         }
  661.                         f = true
  662.                     };
  663.                     if (this.isUsingJQueryAnimation && n === "animate") {
  664.                         r.complete = u;
  665.                         d = false
  666.                     } else if (o.csstransitions) {
  667.                         var v = 0,
  668.                             m = this.styleQueue[0],
  669.                             w = m && m.$el,
  670.                             x;
  671.                         while (!w || !w.length) {
  672.                             x = this.styleQueue[v++];
  673.                             if (!x) {
  674.                                 return
  675.                             }
  676.                             w = x.$el
  677.                         }
  678.                         var k = parseFloat(getComputedStyle(w[0])[g]);
  679.                         if (k > 0) {
  680.                             c = function t(e, i) {
  681.                                 i.$el[n](i.style, r).one(y, u)
  682.                             };
  683.                             d = false
  684.                         }
  685.                     }
  686.                 }
  687.                 e.each(this.styleQueue, c);
  688.                 if (d) {
  689.                     u()
  690.                 }
  691.                 this.styleQueue = []
  692.             },
  693.             resize: function t() {
  694.                 if (this["_" + this.options.layoutMode + "ResizeChanged"]()) {
  695.                     this.reLayout()
  696.                 }
  697.             },
  698.             reLayout: function t(e) {
  699.                 this["_" + this.options.layoutMode + "Reset"]();
  700.                 this.layout(this.$filteredAtoms, e)
  701.             },
  702.             addItems: function t(e, i) {
  703.                 var s = this._getAtoms(e);
  704.                 this.$allAtoms = this.$allAtoms.add(s);
  705.                 if (i) {
  706.                     i(s)
  707.                 }
  708.             },
  709.             insert: function t(e, i) {
  710.                 this.element.append(e);
  711.                 var s = this;
  712.                 this.addItems(e, function(t) {
  713.                     var e = s._filter(t);
  714.                     s._addHideAppended(e);
  715.                     s._sort();
  716.                     s.reLayout();
  717.                     s._revealAppended(e, i)
  718.                 })
  719.             },
  720.             appended: function t(e, i) {
  721.                 var s = this;
  722.                 this.addItems(e, function(t) {
  723.                     s._addHideAppended(t);
  724.                     s.layout(t);
  725.                     s._revealAppended(t, i)
  726.                 })
  727.             },
  728.             _addHideAppended: function t(e) {
  729.                 this.$filteredAtoms = this.$filteredAtoms.add(e);
  730.                 e.addClass("no-transition");
  731.                 this._isInserting = true;
  732.                 this.styleQueue.push({
  733.                     $el: e,
  734.                     style: this.options.hiddenStyle
  735.                 })
  736.             },
  737.             _revealAppended: function t(e, i) {
  738.                 var s = this;
  739.                 setTimeout(function() {
  740.                     e.removeClass("no-transition");
  741.                     s.styleQueue.push({
  742.                         $el: e,
  743.                         style: s.options.visibleStyle
  744.                     });
  745.                     s._isInserting = false;
  746.                     s._processStyleQueue(e, i)
  747.                 }, 10)
  748.             },
  749.             reloadItems: function t() {
  750.                 this.$allAtoms = this._getAtoms(this.element.children())
  751.             },
  752.             remove: function t(e, i) {
  753.                 this.$allAtoms = this.$allAtoms.not(e);
  754.                 this.$filteredAtoms = this.$filteredAtoms.not(e);
  755.                 var s = this;
  756.                 var n = function t() {
  757.                     e.remove();
  758.                     if (i) {
  759.                         i.call(s.element)
  760.                     }
  761.                 };
  762.                 if (e.filter(":not(." + this.options.hiddenClass + ")").length) {
  763.                     this.styleQueue.push({
  764.                         $el: e,
  765.                         style: this.options.hiddenStyle
  766.                     });
  767.                     this._sort();
  768.                     this.reLayout(n)
  769.                 } else {
  770.                     n()
  771.                 }
  772.             },
  773.             shuffle: function t(e) {
  774.                 this.updateSortData(this.$allAtoms);
  775.                 this.options.sortBy = "random";
  776.                 this._sort();
  777.                 this.reLayout(e)
  778.             },
  779.             destroy: function t() {
  780.                 var e = this.usingTransforms;
  781.                 var i = this.options;
  782.                 this.$allAtoms.removeClass(i.hiddenClass + " " + i.itemClass).each(function() {
  783.                     var t = this.style;
  784.                     t.position = "";
  785.                     t.top = "";
  786.                     t.left = "";
  787.                     t.opacity = "";
  788.                     if (e) {
  789.                         t[c] = ""
  790.                     }
  791.                 });
  792.                 var s = this.element[0].style;
  793.                 for (var n in this.originalStyle) {
  794.                     s[n] = this.originalStyle[n]
  795.                 }
  796.                 this.element.unbind(".isotope").undelegate("." + i.hiddenClass, "click").removeClass(i.containerClass).removeData("isotope");
  797.                 C.unbind(".isotope")
  798.             },
  799.             _getSegments: function t(e) {
  800.                 var i = this.options.layoutMode,
  801.                     s = e ? "rowHeight" : "columnWidth",
  802.                     n = e ? "height" : "width",
  803.                     o = e ? "rows" : "cols",
  804.                     a = this.element[n](),
  805.                     l, c = this.options[i] && this.options[i][s] || this.$filteredAtoms["outer" + r(n)](true) || a;
  806.                 l = Math.floor(a / c);
  807.                 l = Math.max(l, 1);
  808.                 this[i][o] = l;
  809.                 this[i][s] = c
  810.             },
  811.             _checkIfSegmentsChanged: function t(e) {
  812.                 var i = this.options.layoutMode,
  813.                     s = e ? "rows" : "cols",
  814.                     n = this[i][s];
  815.                 this._getSegments(e);
  816.                 return this[i][s] !== n
  817.             },
  818.             _masonryReset: function t() {
  819.                 this.masonry = {};
  820.                 this._getSegments();
  821.                 var e = this.masonry.cols;
  822.                 this.masonry.colYs = [];
  823.                 while (e--) {
  824.                     this.masonry.colYs.push(0)
  825.                 }
  826.             },
  827.             _masonryLayout: function t(i) {
  828.                 var s = this,
  829.                     n = s.masonry;
  830.                 i.each(function() {
  831.                     var t = e(this),
  832.                         i = Math.ceil(t.outerWidth(true) / n.columnWidth);
  833.                     i = Math.min(i, n.cols);
  834.                     if (i === 1) {
  835.                         s._masonryPlaceBrick(t, n.colYs)
  836.                     } else {
  837.                         var o = n.cols + 1 - i,
  838.                             r = [],
  839.                             a, l;
  840.                         for (l = 0; l < o; l++) {
  841.                             a = n.colYs.slice(l, l + i);
  842.                             r[l] = Math.max.apply(Math, a)
  843.                         }
  844.                         s._masonryPlaceBrick(t, r)
  845.                     }
  846.                 })
  847.             },
  848.             _masonryPlaceBrick: function t(e, i) {
  849.                 var s = Math.min.apply(Math, i),
  850.                     n = 0;
  851.                 for (var o = 0, r = i.length; o < r; o++) {
  852.                     if (i[o] === s) {
  853.                         n = o;
  854.                         break
  855.                     }
  856.                 }
  857.                 var a = this.masonry.columnWidth * n,
  858.                     l = s;
  859.                 this._pushPosition(e, a, l);
  860.                 var c = s + e.outerHeight(true),
  861.                     d = this.masonry.cols + 1 - r;
  862.                 for (o = 0; o < d; o++) {
  863.                     this.masonry.colYs[n + o] = c
  864.                 }
  865.             },
  866.             _masonryGetContainerSize: function t() {
  867.                 var e = Math.max.apply(Math, this.masonry.colYs);
  868.                 return {
  869.                     height: e
  870.                 }
  871.             },
  872.             _masonryResizeChanged: function t() {
  873.                 return this._checkIfSegmentsChanged()
  874.             },
  875.             _fitRowsReset: function t() {
  876.                 this.fitRows = {
  877.                     x: 0,
  878.                     y: 0,
  879.                     height: 0
  880.                 }
  881.             },
  882.             _fitRowsLayout: function t(i) {
  883.                 var s = this,
  884.                     n = this.element.width(),
  885.                     o = this.fitRows;
  886.                 i.each(function() {
  887.                     var t = e(this),
  888.                         i = t.outerWidth(true),
  889.                         r = t.outerHeight(true);
  890.                     if (o.x !== 0 && i + o.x > n) {
  891.                         o.x = 0;
  892.                         o.y = o.height
  893.                     }
  894.                     s._pushPosition(t, o.x, o.y);
  895.                     o.height = Math.max(o.y + r, o.height);
  896.                     o.x += i
  897.                 })
  898.             },
  899.             _fitRowsGetContainerSize: function t() {
  900.                 return {
  901.                     height: this.fitRows.height
  902.                 }
  903.             },
  904.             _fitRowsResizeChanged: function t() {
  905.                 return true
  906.             },
  907.             _cellsByRowReset: function t() {
  908.                 this.cellsByRow = {
  909.                     index: 0
  910.                 };
  911.                 this._getSegments();
  912.                 this._getSegments(true)
  913.             },
  914.             _cellsByRowLayout: function t(i) {
  915.                 var s = this,
  916.                     n = this.cellsByRow;
  917.                 i.each(function() {
  918.                     var t = e(this),
  919.                         i = n.index % n.cols,
  920.                         o = Math.floor(n.index / n.cols),
  921.                         r = (i + .5) * n.columnWidth - t.outerWidth(true) / 2,
  922.                         a = (o + .5) * n.rowHeight - t.outerHeight(true) / 2;
  923.                     s._pushPosition(t, r, a);
  924.                     n.index++
  925.                 })
  926.             },
  927.             _cellsByRowGetContainerSize: function t() {
  928.                 return {
  929.                     height: Math.ceil(this.$filteredAtoms.length / this.cellsByRow.cols) * this.cellsByRow.rowHeight + this.offset.top
  930.                 }
  931.             },
  932.             _cellsByRowResizeChanged: function t() {
  933.                 return this._checkIfSegmentsChanged()
  934.             },
  935.             _straightDownReset: function t() {
  936.                 this.straightDown = {
  937.                     y: 0
  938.                 }
  939.             },
  940.             _straightDownLayout: function t(i) {
  941.                 var s = this;
  942.                 i.each(function(t) {
  943.                     var i = e(this);
  944.                     s._pushPosition(i, 0, s.straightDown.y);
  945.                     s.straightDown.y += i.outerHeight(true)
  946.                 })
  947.             },
  948.             _straightDownGetContainerSize: function t() {
  949.                 return {
  950.                     height: this.straightDown.y
  951.                 }
  952.             },
  953.             _straightDownResizeChanged: function t() {
  954.                 return true
  955.             },
  956.             _masonryHorizontalReset: function t() {
  957.                 this.masonryHorizontal = {};
  958.                 this._getSegments(true);
  959.                 var e = this.masonryHorizontal.rows;
  960.                 this.masonryHorizontal.rowXs = [];
  961.                 while (e--) {
  962.                     this.masonryHorizontal.rowXs.push(0)
  963.                 }
  964.             },
  965.             _masonryHorizontalLayout: function t(i) {
  966.                 var s = this,
  967.                     n = s.masonryHorizontal;
  968.                 i.each(function() {
  969.                     var t = e(this),
  970.                         i = Math.ceil(t.outerHeight(true) / n.rowHeight);
  971.                     i = Math.min(i, n.rows);
  972.                     if (i === 1) {
  973.                         s._masonryHorizontalPlaceBrick(t, n.rowXs)
  974.                     } else {
  975.                         var o = n.rows + 1 - i,
  976.                             r = [],
  977.                             a, l;
  978.                         for (l = 0; l < o; l++) {
  979.                             a = n.rowXs.slice(l, l + i);
  980.                             r[l] = Math.max.apply(Math, a)
  981.                         }
  982.                         s._masonryHorizontalPlaceBrick(t, r)
  983.                     }
  984.                 })
  985.             },
  986.             _masonryHorizontalPlaceBrick: function t(e, i) {
  987.                 var s = Math.min.apply(Math, i),
  988.                     n = 0;
  989.                 for (var o = 0, r = i.length; o < r; o++) {
  990.                     if (i[o] === s) {
  991.                         n = o;
  992.                         break
  993.                     }
  994.                 }
  995.                 var a = s,
  996.                     l = this.masonryHorizontal.rowHeight * n;
  997.                 this._pushPosition(e, a, l);
  998.                 var c = s + e.outerWidth(true),
  999.                     d = this.masonryHorizontal.rows + 1 - r;
  1000.                 for (o = 0; o < d; o++) {
  1001.                     this.masonryHorizontal.rowXs[n + o] = c
  1002.                 }
  1003.             },
  1004.             _masonryHorizontalGetContainerSize: function t() {
  1005.                 var e = Math.max.apply(Math, this.masonryHorizontal.rowXs);
  1006.                 return {
  1007.                     width: e
  1008.                 }
  1009.             },
  1010.             _masonryHorizontalResizeChanged: function t() {
  1011.                 return this._checkIfSegmentsChanged(true)
  1012.             },
  1013.             _fitColumnsReset: function t() {
  1014.                 this.fitColumns = {
  1015.                     x: 0,
  1016.                     y: 0,
  1017.                     width: 0
  1018.                 }
  1019.             },
  1020.             _fitColumnsLayout: function t(i) {
  1021.                 var s = this,
  1022.                     n = this.element.height(),
  1023.                     o = this.fitColumns;
  1024.                 i.each(function() {
  1025.                     var t = e(this),
  1026.                         i = t.outerWidth(true),
  1027.                         r = t.outerHeight(true);
  1028.                     if (o.y !== 0 && r + o.y > n) {
  1029.                         o.x = o.width;
  1030.                         o.y = 0
  1031.                     }
  1032.                     s._pushPosition(t, o.x, o.y);
  1033.                     o.width = Math.max(o.x + i, o.width);
  1034.                     o.y += r
  1035.                 })
  1036.             },
  1037.             _fitColumnsGetContainerSize: function t() {
  1038.                 return {
  1039.                     width: this.fitColumns.width
  1040.                 }
  1041.             },
  1042.             _fitColumnsResizeChanged: function t() {
  1043.                 return true
  1044.             },
  1045.             _cellsByColumnReset: function t() {
  1046.                 this.cellsByColumn = {
  1047.                     index: 0
  1048.                 };
  1049.                 this._getSegments();
  1050.                 this._getSegments(true)
  1051.             },
  1052.             _cellsByColumnLayout: function t(i) {
  1053.                 var s = this,
  1054.                     n = this.cellsByColumn;
  1055.                 i.each(function() {
  1056.                     var t = e(this),
  1057.                         i = Math.floor(n.index / n.rows),
  1058.                         o = n.index % n.rows,
  1059.                         r = (i + .5) * n.columnWidth - t.outerWidth(true) / 2,
  1060.                         a = (o + .5) * n.rowHeight - t.outerHeight(true) / 2;
  1061.                     s._pushPosition(t, r, a);
  1062.                     n.index++
  1063.                 })
  1064.             },
  1065.             _cellsByColumnGetContainerSize: function t() {
  1066.                 return {
  1067.                     width: Math.ceil(this.$filteredAtoms.length / this.cellsByColumn.rows) * this.cellsByColumn.columnWidth
  1068.                 }
  1069.             },
  1070.             _cellsByColumnResizeChanged: function t() {
  1071.                 return this._checkIfSegmentsChanged(true)
  1072.             },
  1073.             _straightAcrossReset: function t() {
  1074.                 this.straightAcross = {
  1075.                     x: 0
  1076.                 }
  1077.             },
  1078.             _straightAcrossLayout: function t(i) {
  1079.                 var s = this;
  1080.                 i.each(function(t) {
  1081.                     var i = e(this);
  1082.                     s._pushPosition(i, s.straightAcross.x, 0);
  1083.                     s.straightAcross.x += i.outerWidth(true)
  1084.                 })
  1085.             },
  1086.             _straightAcrossGetContainerSize: function t() {
  1087.                 return {
  1088.                     width: this.straightAcross.x
  1089.                 }
  1090.             },
  1091.             _straightAcrossResizeChanged: function t() {
  1092.                 return true
  1093.             }
  1094.         };
  1095.         var S = function e(i) {
  1096.             if (t.console) {
  1097.                 t.console.error(i)
  1098.             }
  1099.         };
  1100.         e.fn.xIsotope = function(t, i) {
  1101.             if (typeof t === "string") {
  1102.                 var s = Array.prototype.slice.call(arguments, 1);
  1103.                 this.each(function() {
  1104.                     var i = e.data(this, "isotope");
  1105.                     if (!i) {
  1106.                         S("cannot call methods on isotope prior to initialization; " + "attempted to call method '" + t + "'");
  1107.                         return
  1108.                     }
  1109.                     if (!e.isFunction(i[t]) || t.charAt(0) === "_") {
  1110.                         S("no such method '" + t + "' for isotope instance");
  1111.                         return
  1112.                     }
  1113.                     i[t].apply(i, s)
  1114.                 })
  1115.             } else {
  1116.                 this.each(function() {
  1117.                     var s = e.data(this, "isotope");
  1118.                     if (s) {
  1119.                         s.option(t);
  1120.                         s._init(i)
  1121.                     } else {
  1122.                         e.data(this, "isotope", new e.xIsotope(t, this, i))
  1123.                     }
  1124.                 })
  1125.             }
  1126.             return this
  1127.         }
  1128.     })(window, jQuery)
  1129. }, function(t, e, i) {
  1130.     "use strict";
  1131.     var s, n, o;
  1132.     (function(r) {
  1133.         "use strict";
  1134.         if (true) {
  1135.             !(n = [i(0)], s = r, o = typeof s === "function" ? s.apply(e, n) : s, o !== undefined && (t.exports = o))
  1136.         } else {
  1137.             r(jQuery)
  1138.         }
  1139.     })(function(t) {
  1140.         "use strict";
  1141.         var e = function() {
  1142.             var e = 0;
  1143.  
  1144.             function i(i, s) {
  1145.                 var n = this,
  1146.                     o, r;
  1147.                 n.defaults = {
  1148.                     accessibility: true,
  1149.                     arrows: true,
  1150.                     autoplay: false,
  1151.                     autoplaySpeed: 3e3,
  1152.                     centerMode: false,
  1153.                     centerPadding: "50px",
  1154.                     cssEase: "ease",
  1155.                     customPaging: function t(e, i) {
  1156.                         return '<button type="button">' + (i + 1) + "</button>"
  1157.                     },
  1158.                     dots: false,
  1159.                     draggable: true,
  1160.                     easing: "linear",
  1161.                     fade: false,
  1162.                     infinite: true,
  1163.                     lazyLoad: "ondemand",
  1164.                     onBeforeChange: null,
  1165.                     onAfterChange: null,
  1166.                     onInit: null,
  1167.                     onReInit: null,
  1168.                     pauseOnHover: true,
  1169.                     responsive: null,
  1170.                     slide: "div",
  1171.                     slidesToShow: 1,
  1172.                     slidesToScroll: 1,
  1173.                     speed: 300,
  1174.                     swipe: true,
  1175.                     touchMove: true,
  1176.                     touchThreshold: 5,
  1177.                     useCSS: true,
  1178.                     vertical: false
  1179.                 };
  1180.                 n.initials = {
  1181.                     animating: false,
  1182.                     autoPlayTimer: null,
  1183.                     currentSlide: 0,
  1184.                     currentLeft: null,
  1185.                     direction: 1,
  1186.                     $dots: null,
  1187.                     listWidth: null,
  1188.                     listHeight: null,
  1189.                     loadIndex: 0,
  1190.                     $nextArrow: null,
  1191.                     $prevArrow: null,
  1192.                     slideCount: null,
  1193.                     slideWidth: null,
  1194.                     $slideTrack: null,
  1195.                     $slides: null,
  1196.                     sliding: false,
  1197.                     slideOffset: 0,
  1198.                     swipeLeft: null,
  1199.                     $list: null,
  1200.                     touchObject: {},
  1201.                     transformsEnabled: false
  1202.                 };
  1203.                 t.extend(n, n.initials);
  1204.                 n.activeBreakpoint = null;
  1205.                 n.animType = null;
  1206.                 n.animProp = null;
  1207.                 n.breakpoints = [];
  1208.                 n.breakpointSettings = [];
  1209.                 n.cssTransitions = false;
  1210.                 n.paused = false;
  1211.                 n.positionProp = null;
  1212.                 n.$slider = t(i);
  1213.                 n.$slidesCache = null;
  1214.                 n.transformType = null;
  1215.                 n.transitionType = null;
  1216.                 n.windowWidth = 0;
  1217.                 n.windowTimer = null;
  1218.                 n.options = t.extend({}, n.defaults, s);
  1219.                 n.originalSettings = n.options;
  1220.                 o = n.options.responsive || null;
  1221.                 if (o && o.length > -1) {
  1222.                     for (r in o) {
  1223.                         if (o.hasOwnProperty(r)) {
  1224.                             n.breakpoints.push(o[r].breakpoint);
  1225.                             n.breakpointSettings[o[r].breakpoint] = o[r].settings
  1226.                         }
  1227.                     }
  1228.                     n.breakpoints.sort(function(t, e) {
  1229.                         return e - t
  1230.                     })
  1231.                 }
  1232.                 n.autoPlay = t.proxy(n.autoPlay, n);
  1233.                 n.autoPlayClear = t.proxy(n.autoPlayClear, n);
  1234.                 n.changeSlide = t.proxy(n.changeSlide, n);
  1235.                 n.setPosition = t.proxy(n.setPosition, n);
  1236.                 n.swipeHandler = t.proxy(n.swipeHandler, n);
  1237.                 n.dragHandler = t.proxy(n.dragHandler, n);
  1238.                 n.keyHandler = t.proxy(n.keyHandler, n);
  1239.                 n.autoPlayIterator = t.proxy(n.autoPlayIterator, n);
  1240.                 n.instanceUid = e++;
  1241.                 n.init()
  1242.             }
  1243.             return i
  1244.         }();
  1245.         e.prototype.addSlide = function(e, i, s) {
  1246.             var n = this;
  1247.             if (typeof i === "boolean") {
  1248.                 s = i;
  1249.                 i = null
  1250.             } else if (i < 0 || i >= n.slideCount) {
  1251.                 return false
  1252.             }
  1253.             n.unload();
  1254.             if (typeof i === "number") {
  1255.                 if (i === 0 && n.$slides.length === 0) {
  1256.                     t(e).appendTo(n.$slideTrack)
  1257.                 } else if (s) {
  1258.                     t(e).insertBefore(n.$slides.eq(i))
  1259.                 } else {
  1260.                     t(e).insertAfter(n.$slides.eq(i))
  1261.                 }
  1262.             } else {
  1263.                 if (s === true) {
  1264.                     t(e).prependTo(n.$slideTrack)
  1265.                 } else {
  1266.                     t(e).appendTo(n.$slideTrack)
  1267.                 }
  1268.             }
  1269.             n.$slides = n.$slideTrack.children(this.options.slide);
  1270.             n.$slideTrack.children(this.options.slide).remove();
  1271.             n.$slideTrack.append(n.$slides);
  1272.             n.$slidesCache = n.$slides;
  1273.             n.reinit()
  1274.         };
  1275.         e.prototype.animateSlide = function(e, i) {
  1276.             var s = {},
  1277.                 n = this;
  1278.             if (n.transformsEnabled === false) {
  1279.                 if (n.options.vertical === false) {
  1280.                     n.$slideTrack.animate({
  1281.                         left: e
  1282.                     }, n.options.speed, n.options.easing, i)
  1283.                 } else {
  1284.                     n.$slideTrack.animate({
  1285.                         top: e
  1286.                     }, n.options.speed, n.options.easing, i)
  1287.                 }
  1288.             } else {
  1289.                 if (n.cssTransitions === false) {
  1290.                     t({
  1291.                         animStart: n.currentLeft
  1292.                     }).animate({
  1293.                         animStart: e
  1294.                     }, {
  1295.                         duration: n.options.speed,
  1296.                         easing: n.options.easing,
  1297.                         step: function t(e) {
  1298.                             if (n.options.vertical === false) {
  1299.                                 s[n.animType] = "translate(" + e + "px, 0px)";
  1300.                                 n.$slideTrack.css(s)
  1301.                             } else {
  1302.                                 s[n.animType] = "translate(0px," + e + "px)";
  1303.                                 n.$slideTrack.css(s)
  1304.                             }
  1305.                         },
  1306.                         complete: function t() {
  1307.                             if (i) {
  1308.                                 i.call()
  1309.                             }
  1310.                         }
  1311.                     })
  1312.                 } else {
  1313.                     n.applyTransition();
  1314.                     if (n.options.vertical === false) {
  1315.                         s[n.animType] = "translate3d(" + e + "px, 0px, 0px)"
  1316.                     } else {
  1317.                         s[n.animType] = "translate3d(0px," + e + "px, 0px)"
  1318.                     }
  1319.                     n.$slideTrack.css(s);
  1320.                     if (i) {
  1321.                         setTimeout(function() {
  1322.                             n.disableTransition();
  1323.                             i.call()
  1324.                         }, n.options.speed)
  1325.                     }
  1326.                 }
  1327.             }
  1328.         };
  1329.         e.prototype.applyTransition = function(t) {
  1330.             var e = this,
  1331.                 i = {};
  1332.             if (e.options.fade === false) {
  1333.                 i[e.transitionType] = e.transformType + " " + e.options.speed + "ms " + e.options.cssEase
  1334.             } else {
  1335.                 i[e.transitionType] = "opacity " + e.options.speed + "ms " + e.options.cssEase
  1336.             }
  1337.             if (e.options.fade === false) {
  1338.                 e.$slideTrack.css(i)
  1339.             } else {
  1340.                 e.$slides.eq(t).css(i)
  1341.             }
  1342.         };
  1343.         e.prototype.autoPlay = function() {
  1344.             var t = this;
  1345.             if (t.autoPlayTimer) {
  1346.                 clearInterval(t.autoPlayTimer)
  1347.             }
  1348.             if (t.slideCount > t.options.slidesToShow && t.paused !== true) {
  1349.                 t.autoPlayTimer = setInterval(t.autoPlayIterator, t.options.autoplaySpeed)
  1350.             }
  1351.         };
  1352.         e.prototype.autoPlayClear = function() {
  1353.             var t = this;
  1354.             if (t.autoPlayTimer) {
  1355.                 clearInterval(t.autoPlayTimer)
  1356.             }
  1357.         };
  1358.         e.prototype.autoPlayIterator = function() {
  1359.             var t = this;
  1360.             if (t.options.infinite === false) {
  1361.                 if (t.direction === 1) {
  1362.                     if (t.currentSlide + 1 === t.slideCount - 1) {
  1363.                         t.direction = 0
  1364.                     }
  1365.                     t.slideHandler(t.currentSlide + t.options.slidesToScroll)
  1366.                 } else {
  1367.                     if (t.currentSlide - 1 === 0) {
  1368.                         t.direction = 1
  1369.                     }
  1370.                     t.slideHandler(t.currentSlide - t.options.slidesToScroll)
  1371.                 }
  1372.             } else {
  1373.                 t.slideHandler(t.currentSlide + t.options.slidesToScroll)
  1374.             }
  1375.         };
  1376.         e.prototype.buildArrows = function() {
  1377.             var e = this;
  1378.             if (e.options.arrows === true && e.slideCount > e.options.slidesToShow) {
  1379.                 e.$prevArrow = t('<button type="button" class="slick-prev">Previous</button>').appendTo(e.$slider);
  1380.                 e.$nextArrow = t('<button type="button" class="slick-next">Next</button>').appendTo(e.$slider);
  1381.                 if (e.options.infinite !== true) {
  1382.                     e.$prevArrow.addClass("slick-disabled")
  1383.                 }
  1384.             }
  1385.         };
  1386.         e.prototype.buildDots = function() {
  1387.             var e = this,
  1388.                 i, s;
  1389.             if (e.options.dots === true && e.slideCount > e.options.slidesToShow) {
  1390.                 s = '<ul class="slick-dots">';
  1391.                 for (i = 0; i <= e.getDotCount(); i += 1) {
  1392.                     s += "<li>" + e.options.customPaging.call(this, e, i) + "</li>"
  1393.                 }
  1394.                 s += "</ul>";
  1395.                 e.$dots = t(s).appendTo(e.$slider);
  1396.                 e.$dots.find("li").first().addClass("slick-active")
  1397.             }
  1398.         };
  1399.         e.prototype.buildOut = function() {
  1400.             var e = this;
  1401.             e.$slides = e.$slider.children(e.options.slide + ":not(.slick-cloned)").addClass("slick-slide");
  1402.             e.slideCount = e.$slides.length;
  1403.             e.$slidesCache = e.$slides;
  1404.             e.$slider.addClass("slick-slider");
  1405.             e.$slideTrack = e.slideCount === 0 ? t('<div class="slick-track"/>').appendTo(e.$slider) : e.$slides.wrapAll('<div class="slick-track"/>').parent();
  1406.             e.$list = e.$slideTrack.wrap('<div class="slick-list"/>').parent();
  1407.             e.$slideTrack.css("opacity", 0);
  1408.             if (e.options.centerMode === true) {
  1409.                 e.options.infinite = true;
  1410.                 e.options.slidesToScroll = 1;
  1411.                 if (e.options.slidesToShow % 2 === 0) {
  1412.                     e.options.slidesToShow = 3
  1413.                 }
  1414.             }
  1415.             t("img[data-lazy]", e.$slider).not("[src]").addClass("slick-loading");
  1416.             e.setupInfinite();
  1417.             e.buildArrows();
  1418.             e.buildDots();
  1419.             if (e.options.accessibility === true) {
  1420.                 e.$list.prop("tabIndex", 0)
  1421.             }
  1422.             e.setSlideClasses(0);
  1423.             if (e.options.draggable === true) {
  1424.                 e.$list.addClass("draggable")
  1425.             }
  1426.         };
  1427.         e.prototype.checkResponsive = function() {
  1428.             var e = this,
  1429.                 i, s;
  1430.             if (e.originalSettings.responsive && e.originalSettings.responsive.length > -1 && e.originalSettings.responsive !== null) {
  1431.                 s = null;
  1432.                 for (i in e.breakpoints) {
  1433.                     if (e.breakpoints.hasOwnProperty(i)) {
  1434.                         if (t(window).width() < e.breakpoints[i]) {
  1435.                             s = e.breakpoints[i]
  1436.                         }
  1437.                     }
  1438.                 }
  1439.                 if (s !== null) {
  1440.                     if (e.activeBreakpoint !== null) {
  1441.                         if (s !== e.activeBreakpoint) {
  1442.                             e.activeBreakpoint = s;
  1443.                             e.options = t.extend({}, e.defaults, e.breakpointSettings[s]);
  1444.                             e.refresh()
  1445.                         }
  1446.                     } else {
  1447.                         e.activeBreakpoint = s;
  1448.                         e.options = t.extend({}, e.defaults, e.breakpointSettings[s]);
  1449.                         e.refresh()
  1450.                     }
  1451.                 } else {
  1452.                     if (e.activeBreakpoint !== null) {
  1453.                         e.activeBreakpoint = null;
  1454.                         e.options = t.extend({}, e.defaults, e.originalSettings);
  1455.                         e.refresh()
  1456.                     }
  1457.                 }
  1458.             }
  1459.         };
  1460.         e.prototype.changeSlide = function(e) {
  1461.             var i = this;
  1462.             switch (e.data.message) {
  1463.                 case "previous":
  1464.                     i.slideHandler(i.currentSlide - i.options.slidesToScroll);
  1465.                     break;
  1466.                 case "next":
  1467.                     i.slideHandler(i.currentSlide + i.options.slidesToScroll);
  1468.                     break;
  1469.                 case "index":
  1470.                     i.slideHandler(t(e.target).parent().index() * i.options.slidesToScroll);
  1471.                     break;
  1472.                 default:
  1473.                     return false
  1474.             }
  1475.         };
  1476.         e.prototype.destroy = function() {
  1477.             var e = this;
  1478.             e.autoPlayClear();
  1479.             e.touchObject = {};
  1480.             t(".slick-cloned", e.$slider).remove();
  1481.             if (e.$dots) {
  1482.                 e.$dots.remove()
  1483.             }
  1484.             if (e.$prevArrow) {
  1485.                 e.$prevArrow.remove();
  1486.                 e.$nextArrow.remove()
  1487.             }
  1488.             e.$slides.unwrap().unwrap();
  1489.             e.$slides.removeClass("slick-slide slick-active slick-visible").removeAttr("style");
  1490.             e.$slider.removeClass("slick-slider");
  1491.             e.$slider.removeClass("slick-initialized");
  1492.             e.$list.off(".slick");
  1493.             t(window).off(".slick-" + e.instanceUid)
  1494.         };
  1495.         e.prototype.disableTransition = function(t) {
  1496.             var e = this,
  1497.                 i = {};
  1498.             i[e.transitionType] = "";
  1499.             if (e.options.fade === false) {
  1500.                 e.$slideTrack.css(i)
  1501.             } else {
  1502.                 e.$slides.eq(t).css(i)
  1503.             }
  1504.         };
  1505.         e.prototype.fadeSlide = function(t, e) {
  1506.             var i = this;
  1507.             if (i.cssTransitions === false) {
  1508.                 i.$slides.eq(t).css({
  1509.                     zIndex: 1e3
  1510.                 });
  1511.                 i.$slides.eq(t).animate({
  1512.                     opacity: 1
  1513.                 }, i.options.speed, i.options.easing, e)
  1514.             } else {
  1515.                 i.applyTransition(t);
  1516.                 i.$slides.eq(t).css({
  1517.                     opacity: 1,
  1518.                     zIndex: 1e3
  1519.                 });
  1520.                 if (e) {
  1521.                     setTimeout(function() {
  1522.                         i.disableTransition(t);
  1523.                         e.call()
  1524.                     }, i.options.speed)
  1525.                 }
  1526.             }
  1527.         };
  1528.         e.prototype.filterSlides = function(t) {
  1529.             var e = this;
  1530.             if (t !== null) {
  1531.                 e.unload();
  1532.                 e.$slideTrack.children(this.options.slide).remove();
  1533.                 e.$slidesCache.filter(t).appendTo(e.$slideTrack);
  1534.                 e.reinit()
  1535.             }
  1536.         };
  1537.         e.prototype.getCurrent = function() {
  1538.             var t = this;
  1539.             return t.currentSlide
  1540.         };
  1541.         e.prototype.getDotCount = function() {
  1542.             var t = this,
  1543.                 e = 0,
  1544.                 i = 0,
  1545.                 s = 0,
  1546.                 n;
  1547.             n = t.options.infinite === true ? t.slideCount + t.options.slidesToShow - t.options.slidesToScroll : t.slideCount;
  1548.             while (e < n) {
  1549.                 s++;
  1550.                 i += t.options.slidesToScroll;
  1551.                 e = i + t.options.slidesToShow
  1552.             }
  1553.             return s
  1554.         };
  1555.         e.prototype.getLeft = function(t) {
  1556.             var e = this,
  1557.                 i, s, n = 0;
  1558.             e.slideOffset = 0;
  1559.             s = e.$slides.first().outerHeight();
  1560.             if (e.options.infinite === true) {
  1561.                 if (e.slideCount > e.options.slidesToShow) {
  1562.                     e.slideOffset = e.slideWidth * e.options.slidesToShow * -1;
  1563.                     n = s * e.options.slidesToShow * -1
  1564.                 }
  1565.                 if (e.slideCount % e.options.slidesToScroll !== 0) {
  1566.                     if (t + e.options.slidesToScroll > e.slideCount && e.slideCount > e.options.slidesToShow) {
  1567.                         e.slideOffset = e.slideCount % e.options.slidesToShow * e.slideWidth * -1;
  1568.                         n = e.slideCount % e.options.slidesToShow * s * -1
  1569.                     }
  1570.                 }
  1571.             } else {
  1572.                 if (e.slideCount % e.options.slidesToShow !== 0) {
  1573.                     if (t + e.options.slidesToScroll > e.slideCount && e.slideCount > e.options.slidesToShow) {
  1574.                         e.slideOffset = e.options.slidesToShow * e.slideWidth - e.slideCount % e.options.slidesToShow * e.slideWidth;
  1575.                         n = e.slideCount % e.options.slidesToShow * s
  1576.                     }
  1577.                 }
  1578.             }
  1579.             if (e.options.centerMode === true) {
  1580.                 e.slideOffset += e.slideWidth * Math.floor(e.options.slidesToShow / 2) - e.slideWidth
  1581.             }
  1582.             if (e.options.vertical === false) {
  1583.                 i = t * e.slideWidth * -1 + e.slideOffset
  1584.             } else {
  1585.                 i = t * s * -1 + n
  1586.             }
  1587.             return i
  1588.         };
  1589.         e.prototype.init = function() {
  1590.             var e = this;
  1591.             if (!t(e.$slider).hasClass("slick-initialized")) {
  1592.                 t(e.$slider).addClass("slick-initialized");
  1593.                 e.buildOut();
  1594.                 e.setProps();
  1595.                 e.startLoad();
  1596.                 e.loadSlider();
  1597.                 e.initializeEvents();
  1598.                 e.checkResponsive()
  1599.             }
  1600.             if (e.options.onInit !== null) {
  1601.                 e.options.onInit.call(this, e)
  1602.             }
  1603.         };
  1604.         e.prototype.initArrowEvents = function() {
  1605.             var t = this;
  1606.             if (t.options.arrows === true && t.slideCount > t.options.slidesToShow) {
  1607.                 t.$prevArrow.on("click.slick", {
  1608.                     message: "previous"
  1609.                 }, t.changeSlide);
  1610.                 t.$nextArrow.on("click.slick", {
  1611.                     message: "next"
  1612.                 }, t.changeSlide)
  1613.             }
  1614.         };
  1615.         e.prototype.initDotEvents = function() {
  1616.             var e = this;
  1617.             if (e.options.dots === true && e.slideCount > e.options.slidesToShow) {
  1618.                 t("li", e.$dots).on("click.slick", {
  1619.                     message: "index"
  1620.                 }, e.changeSlide)
  1621.             }
  1622.         };
  1623.         e.prototype.initializeEvents = function() {
  1624.             var e = this;
  1625.             e.initArrowEvents();
  1626.             e.initDotEvents();
  1627.             e.$list.on("touchstart.slick mousedown.slick", {
  1628.                 action: "start"
  1629.             }, e.swipeHandler);
  1630.             e.$list.on("touchmove.slick mousemove.slick", {
  1631.                 action: "move"
  1632.             }, e.swipeHandler);
  1633.             e.$list.on("touchend.slick mouseup.slick", {
  1634.                 action: "end"
  1635.             }, e.swipeHandler);
  1636.             e.$list.on("touchcancel.slick mouseleave.slick", {
  1637.                 action: "end"
  1638.             }, e.swipeHandler);
  1639.             if (e.options.pauseOnHover === true && e.options.autoplay === true) {
  1640.                 e.$list.on("mouseenter.slick", e.autoPlayClear);
  1641.                 e.$list.on("mouseleave.slick", e.autoPlay)
  1642.             }
  1643.             if (e.options.accessibility === true) {
  1644.                 e.$list.on("keydown.slick", e.keyHandler)
  1645.             }
  1646.             t(window).on("orientationchange.slick.slick-" + e.instanceUid, function() {
  1647.                 e.checkResponsive();
  1648.                 e.setPosition()
  1649.             });
  1650.             t(window).on("resize.slick.slick-" + e.instanceUid, function() {
  1651.                 if (t(window).width !== e.windowWidth) {
  1652.                     clearTimeout(e.windowDelay);
  1653.                     e.windowDelay = window.setTimeout(function() {
  1654.                         e.windowWidth = t(window).width();
  1655.                         e.checkResponsive();
  1656.                         e.setPosition()
  1657.                     }, 50)
  1658.                 }
  1659.             });
  1660.             t(window).on("load.slick.slick-" + e.instanceUid, e.setPosition)
  1661.         };
  1662.         e.prototype.initUI = function() {
  1663.             var t = this;
  1664.             if (t.options.arrows === true && t.slideCount > t.options.slidesToShow) {
  1665.                 t.$prevArrow.show();
  1666.                 t.$nextArrow.show()
  1667.             }
  1668.             if (t.options.dots === true && t.slideCount > t.options.slidesToShow) {
  1669.                 t.$dots.show()
  1670.             }
  1671.             if (t.options.autoplay === true) {
  1672.                 t.autoPlay()
  1673.             }
  1674.         };
  1675.         e.prototype.keyHandler = function(t) {
  1676.             var e = this;
  1677.             if (t.keyCode === 37) {
  1678.                 e.changeSlide({
  1679.                     data: {
  1680.                         message: "previous"
  1681.                     }
  1682.                 })
  1683.             } else if (t.keyCode === 39) {
  1684.                 e.changeSlide({
  1685.                     data: {
  1686.                         message: "next"
  1687.                     }
  1688.                 })
  1689.             }
  1690.         };
  1691.         e.prototype.lazyLoad = function() {
  1692.             var e = this,
  1693.                 i, s, n, o;
  1694.             if (e.options.centerMode === true) {
  1695.                 n = e.options.slidesToShow + e.currentSlide - 1;
  1696.                 o = n + e.options.slidesToShow + 2
  1697.             } else {
  1698.                 n = e.options.infinite ? e.options.slidesToShow + e.currentSlide : e.currentSlide;
  1699.                 o = n + e.options.slidesToShow
  1700.             }
  1701.             i = e.$slider.find(".slick-slide").slice(n, o);
  1702.             t("img[data-lazy]", i).not("[src]").each(function() {
  1703.                 t(this).css({
  1704.                     opacity: 0
  1705.                 }).attr("src", t(this).attr("data-lazy")).removeClass("slick-loading").on("load", function() {
  1706.                     t(this).animate({
  1707.                         opacity: 1
  1708.                     }, 200)
  1709.                 })
  1710.             });
  1711.             if (e.currentSlide >= e.slideCount - e.options.slidesToShow) {
  1712.                 s = e.$slider.find(".slick-cloned").slice(0, e.options.slidesToShow);
  1713.                 t("img[data-lazy]", s).not("[src]").each(function() {
  1714.                     t(this).css({
  1715.                         opacity: 0
  1716.                     }).attr("src", t(this).attr("data-lazy")).removeClass("slick-loading").on("load", function() {
  1717.                         t(this).animate({
  1718.                             opacity: 1
  1719.                         }, 200)
  1720.                     })
  1721.                 })
  1722.             } else if (e.currentSlide === 0) {
  1723.                 s = e.$slider.find(".slick-cloned").slice(e.options.slidesToShow * -1);
  1724.                 t("img[data-lazy]", s).not("[src]").each(function() {
  1725.                     t(this).css({
  1726.                         opacity: 0
  1727.                     }).attr("src", t(this).attr("data-lazy")).removeClass("slick-loading").on("load", function() {
  1728.                         t(this).animate({
  1729.                             opacity: 1
  1730.                         }, 200)
  1731.                     })
  1732.                 })
  1733.             }
  1734.         };
  1735.         e.prototype.loadSlider = function() {
  1736.             var t = this;
  1737.             t.setPosition();
  1738.             t.$slideTrack.css({
  1739.                 opacity: 1
  1740.             });
  1741.             t.$slider.removeClass("slick-loading");
  1742.             t.initUI();
  1743.             if (t.options.lazyLoad === "progressive") {
  1744.                 t.progressiveLazyLoad()
  1745.             }
  1746.         };
  1747.         e.prototype.postSlide = function(t) {
  1748.             var e = this;
  1749.             if (e.options.onAfterChange !== null) {
  1750.                 e.options.onAfterChange.call(this, e, t)
  1751.             }
  1752.             e.animating = false;
  1753.             e.setPosition();
  1754.             e.swipeLeft = null;
  1755.             if (e.options.autoplay === true && e.paused === false) {
  1756.                 e.autoPlay()
  1757.             }
  1758.         };
  1759.         e.prototype.progressiveLazyLoad = function() {
  1760.             var e = this,
  1761.                 i, s;
  1762.             i = t("img[data-lazy]").not("[src]").length;
  1763.             if (i > 0) {
  1764.                 s = t(t("img[data-lazy]", e.$slider).not("[src]").get(0));
  1765.                 s.attr("src", s.attr("data-lazy")).removeClass("slick-loading").on("load", function() {
  1766.                     e.progressiveLazyLoad()
  1767.                 })
  1768.             }
  1769.         };
  1770.         e.prototype.refresh = function() {
  1771.             var e = this;
  1772.             e.destroy();
  1773.             t.extend(e, e.initials);
  1774.             e.init()
  1775.         };
  1776.         e.prototype.reinit = function() {
  1777.             var t = this;
  1778.             t.$slides = t.$slideTrack.children(t.options.slide).addClass("slick-slide");
  1779.             t.slideCount = t.$slides.length;
  1780.             if (t.currentSlide >= t.slideCount && t.currentSlide !== 0) {
  1781.                 t.currentSlide = t.currentSlide - t.options.slidesToScroll
  1782.             }
  1783.             t.setProps();
  1784.             t.setupInfinite();
  1785.             t.buildArrows();
  1786.             t.updateArrows();
  1787.             t.initArrowEvents();
  1788.             t.buildDots();
  1789.             t.updateDots();
  1790.             t.initDotEvents();
  1791.             t.setSlideClasses(0);
  1792.             t.setPosition();
  1793.             if (t.options.onReInit !== null) {
  1794.                 t.options.onReInit.call(this, t)
  1795.             }
  1796.         };
  1797.         e.prototype.removeSlide = function(t, e) {
  1798.             var i = this;
  1799.             if (typeof t === "boolean") {
  1800.                 e = t;
  1801.                 t = e === true ? 0 : i.slideCount - 1
  1802.             } else {
  1803.                 t = e === true ? --t : t
  1804.             }
  1805.             if (i.slideCount < 1 || t < 0 || t > i.slideCount - 1) {
  1806.                 return false
  1807.             }
  1808.             i.unload();
  1809.             i.$slideTrack.children(this.options.slide).eq(t).remove();
  1810.             i.$slides = i.$slideTrack.children(this.options.slide);
  1811.             i.$slideTrack.children(this.options.slide).remove();
  1812.             i.$slideTrack.append(i.$slides);
  1813.             i.$slidesCache = i.$slides;
  1814.             i.reinit()
  1815.         };
  1816.         e.prototype.setCSS = function(t) {
  1817.             var e = this,
  1818.                 i = {},
  1819.                 s, n;
  1820.             s = e.positionProp == "left" ? t + "px" : "0px";
  1821.             n = e.positionProp == "top" ? t + "px" : "0px";
  1822.             i[e.positionProp] = t;
  1823.             if (e.transformsEnabled === false) {
  1824.                 e.$slideTrack.css(i)
  1825.             } else {
  1826.                 i = {};
  1827.                 if (e.cssTransitions === false) {
  1828.                     i[e.animType] = "translate(" + s + ", " + n + ")";
  1829.                     e.$slideTrack.css(i)
  1830.                 } else {
  1831.                     i[e.animType] = "translate3d(" + s + ", " + n + ", 0px)";
  1832.                     e.$slideTrack.css(i)
  1833.                 }
  1834.             }
  1835.         };
  1836.         e.prototype.setDimensions = function() {
  1837.             var t = this;
  1838.             if (t.options.centerMode === true) {
  1839.                 t.$slideTrack.children(".slick-slide").width(t.slideWidth)
  1840.             } else {
  1841.                 t.$slideTrack.children(".slick-slide").width(t.slideWidth)
  1842.             }
  1843.             if (t.options.vertical === false) {
  1844.                 t.$slideTrack.width(Math.ceil(t.slideWidth * t.$slideTrack.children(".slick-slide").length));
  1845.                 if (t.options.centerMode === true) {
  1846.                     t.$list.css({
  1847.                         padding: "0px " + t.options.centerPadding
  1848.                     })
  1849.                 }
  1850.             } else {
  1851.                 t.$list.height(t.$slides.first().outerHeight() * t.options.slidesToShow);
  1852.                 t.$slideTrack.height(Math.ceil(t.$slides.first().outerHeight() * t.$slideTrack.children(".slick-slide").length));
  1853.                 if (t.options.centerMode === true) {
  1854.                     t.$list.css({
  1855.                         padding: t.options.centerPadding + " 0px"
  1856.                     })
  1857.                 }
  1858.             }
  1859.         };
  1860.         e.prototype.setFade = function() {
  1861.             var e = this,
  1862.                 i;
  1863.             e.$slides.each(function(s, n) {
  1864.                 i = e.slideWidth * s * -1;
  1865.                 t(n).css({
  1866.                     position: "relative",
  1867.                     left: i,
  1868.                     top: 0,
  1869.                     zIndex: 800,
  1870.                     opacity: 0
  1871.                 })
  1872.             });
  1873.             e.$slides.eq(e.currentSlide).css({
  1874.                 zIndex: 900,
  1875.                 opacity: 1
  1876.             })
  1877.         };
  1878.         e.prototype.setPosition = function() {
  1879.             var t = this;
  1880.             t.setValues();
  1881.             t.setDimensions();
  1882.             if (t.options.fade === false) {
  1883.                 t.setCSS(t.getLeft(t.currentSlide))
  1884.             } else {
  1885.                 t.setFade()
  1886.             }
  1887.         };
  1888.         e.prototype.setProps = function() {
  1889.             var t = this;
  1890.             t.positionProp = t.options.vertical === true ? "top" : "left";
  1891.             if (t.positionProp === "top") {
  1892.                 t.$slider.addClass("slick-vertical")
  1893.             } else {
  1894.                 t.$slider.removeClass("slick-vertical")
  1895.             }
  1896.             if (document.body.style.WebkitTransition !== undefined || document.body.style.MozTransition !== undefined || document.body.style.msTransition !== undefined) {
  1897.                 if (t.options.useCSS === true) {
  1898.                     t.cssTransitions = true
  1899.                 }
  1900.             }
  1901.             if (document.body.style.MozTransform !== undefined) {
  1902.                 t.animType = "MozTransform";
  1903.                 t.transformType = "-moz-transform";
  1904.                 t.transitionType = "MozTransition"
  1905.             }
  1906.             if (document.body.style.webkitTransform !== undefined) {
  1907.                 t.animType = "webkitTransform";
  1908.                 t.transformType = "-webkit-transform";
  1909.                 t.transitionType = "webkitTransition"
  1910.             }
  1911.             if (document.body.style.msTransform !== undefined) {
  1912.                 t.animType = "transform";
  1913.                 t.transformType = "transform";
  1914.                 t.transitionType = "transition"
  1915.             }
  1916.             t.transformsEnabled = t.animType !== null
  1917.         };
  1918.         e.prototype.setValues = function() {
  1919.             var t = this;
  1920.             t.listWidth = t.$list.width();
  1921.             t.listHeight = t.$list.height();
  1922.             if (t.options.vertical === false) {
  1923.                 t.slideWidth = Math.ceil(t.listWidth / t.options.slidesToShow)
  1924.             } else {
  1925.                 t.slideWidth = Math.ceil(t.listWidth)
  1926.             }
  1927.         };
  1928.         e.prototype.setSlideClasses = function(t) {
  1929.             var e = this,
  1930.                 i, s, n;
  1931.             e.$slider.find(".slick-slide").removeClass("slick-active").removeClass("slick-center");
  1932.             s = e.$slider.find(".slick-slide");
  1933.             if (e.options.centerMode === true) {
  1934.                 i = Math.floor(e.options.slidesToShow / 2);
  1935.                 if (t >= i && t <= e.slideCount - 1 - i) {
  1936.                     e.$slides.slice(t - i, t + i + 1).addClass("slick-active")
  1937.                 } else {
  1938.                     n = e.options.slidesToShow + t;
  1939.                     s.slice(n - i + 1, n + i + 2).addClass("slick-active")
  1940.                 }
  1941.                 if (t === 0) {
  1942.                     s.eq(s.length - 1 - e.options.slidesToShow).addClass("slick-center")
  1943.                 } else if (t === e.slideCount - 1) {
  1944.                     s.eq(e.options.slidesToShow).addClass("slick-center")
  1945.                 }
  1946.                 e.$slides.eq(t).addClass("slick-center")
  1947.             } else {
  1948.                 if (t > 0 && t < e.slideCount - e.options.slidesToShow) {
  1949.                     e.$slides.slice(t, t + e.options.slidesToShow).addClass("slick-active")
  1950.                 } else {
  1951.                     n = e.options.infinite === true ? e.options.slidesToShow + t : t;
  1952.                     s.slice(n, n + e.options.slidesToShow).addClass("slick-active")
  1953.                 }
  1954.             }
  1955.             if (e.options.lazyLoad === "ondemand") {
  1956.                 e.lazyLoad()
  1957.             }
  1958.         };
  1959.         e.prototype.setupInfinite = function() {
  1960.             var e = this,
  1961.                 i, s, n;
  1962.             if (e.options.fade === true || e.options.vertical === true) {
  1963.                 e.options.centerMode = false
  1964.             }
  1965.             if (e.options.infinite === true && e.options.fade === false) {
  1966.                 s = null;
  1967.                 if (e.slideCount > e.options.slidesToShow) {
  1968.                     if (e.options.centerMode === true) {
  1969.                         n = e.options.slidesToShow + 1
  1970.                     } else {
  1971.                         n = e.options.slidesToShow
  1972.                     }
  1973.                     for (i = e.slideCount; i > e.slideCount - n; i -= 1) {
  1974.                         s = i - 1;
  1975.                         t(e.$slides[s]).clone().attr("id", "").prependTo(e.$slideTrack).addClass("slick-cloned")
  1976.                     }
  1977.                     for (i = 0; i < n; i += 1) {
  1978.                         s = i;
  1979.                         t(e.$slides[s]).clone().attr("id", "").appendTo(e.$slideTrack).addClass("slick-cloned")
  1980.                     }
  1981.                     e.$slideTrack.find(".slick-cloned").find("[id]").each(function() {
  1982.                         t(this).attr("id", "")
  1983.                     })
  1984.                 }
  1985.             }
  1986.         };
  1987.         e.prototype.slideHandler = function(t) {
  1988.             var e, i, s, n, o = null,
  1989.                 r = this;
  1990.             if (r.animating === true) {
  1991.                 return false
  1992.             }
  1993.             e = t;
  1994.             o = r.getLeft(e);
  1995.             s = r.getLeft(r.currentSlide);
  1996.             n = r.slideCount % r.options.slidesToScroll !== 0 ? r.options.slidesToScroll : 0;
  1997.             r.currentLeft = r.swipeLeft === null ? s : r.swipeLeft;
  1998.             if (r.options.infinite === false && (t < 0 || t > r.slideCount - r.options.slidesToShow + n)) {
  1999.                 if (r.options.fade === false) {
  2000.                     e = r.currentSlide;
  2001.                     r.animateSlide(s, function() {
  2002.                         r.postSlide(e)
  2003.                     })
  2004.                 }
  2005.                 return false
  2006.             }
  2007.             if (r.options.autoplay === true) {
  2008.                 clearInterval(r.autoPlayTimer)
  2009.             }
  2010.             if (e < 0) {
  2011.                 if (r.slideCount % r.options.slidesToScroll !== 0) {
  2012.                     i = r.slideCount - r.slideCount % r.options.slidesToScroll
  2013.                 } else {
  2014.                     i = r.slideCount - r.options.slidesToScroll
  2015.                 }
  2016.             } else if (e > r.slideCount - 1) {
  2017.                 i = 0
  2018.             } else {
  2019.                 i = e
  2020.             }
  2021.             r.animating = true;
  2022.             if (r.options.onBeforeChange !== null && t !== r.currentSlide) {
  2023.                 r.options.onBeforeChange.call(this, r, r.currentSlide, i)
  2024.             }
  2025.             r.currentSlide = i;
  2026.             r.setSlideClasses(r.currentSlide);
  2027.             r.updateDots();
  2028.             r.updateArrows();
  2029.             if (r.options.fade === true) {
  2030.                 r.fadeSlide(i, function() {
  2031.                     r.postSlide(i)
  2032.                 });
  2033.                 return false
  2034.             }
  2035.             r.animateSlide(o, function() {
  2036.                 r.postSlide(i)
  2037.             })
  2038.         };
  2039.         e.prototype.startLoad = function() {
  2040.             var t = this;
  2041.             if (t.options.arrows === true && t.slideCount > t.options.slidesToShow) {
  2042.                 t.$prevArrow.hide();
  2043.                 t.$nextArrow.hide()
  2044.             }
  2045.             if (t.options.dots === true && t.slideCount > t.options.slidesToShow) {
  2046.                 t.$dots.hide()
  2047.             }
  2048.             t.$slider.addClass("slick-loading")
  2049.         };
  2050.         e.prototype.swipeDirection = function() {
  2051.             var t, e, i, s, n = this;
  2052.             t = n.touchObject.startX - n.touchObject.curX;
  2053.             e = n.touchObject.startY - n.touchObject.curY;
  2054.             i = Math.atan2(e, t);
  2055.             s = Math.round(i * 180 / Math.PI);
  2056.             if (s < 0) {
  2057.                 s = 360 - Math.abs(s)
  2058.             }
  2059.             if (s <= 45 && s >= 0) {
  2060.                 return "left"
  2061.             }
  2062.             if (s <= 360 && s >= 315) {
  2063.                 return "left"
  2064.             }
  2065.             if (s >= 135 && s <= 225) {
  2066.                 return "right"
  2067.             }
  2068.             return "vertical"
  2069.         };
  2070.         e.prototype.swipeEnd = function(e) {
  2071.             var i = this;
  2072.             i.$list.removeClass("dragging");
  2073.             if (i.touchObject.curX === undefined) {
  2074.                 return false
  2075.             }
  2076.             if (i.touchObject.swipeLength >= i.touchObject.minSwipe) {
  2077.                 t(e.target).on("click.slick", function(e) {
  2078.                     e.stopImmediatePropagation();
  2079.                     e.stopPropagation();
  2080.                     e.preventDefault();
  2081.                     t(e.target).off("click.slick")
  2082.                 });
  2083.                 switch (i.swipeDirection()) {
  2084.                     case "left":
  2085.                         i.slideHandler(i.currentSlide + i.options.slidesToScroll);
  2086.                         i.touchObject = {};
  2087.                         break;
  2088.                     case "right":
  2089.                         i.slideHandler(i.currentSlide - i.options.slidesToScroll);
  2090.                         i.touchObject = {};
  2091.                         break
  2092.                 }
  2093.             } else {
  2094.                 if (i.touchObject.startX !== i.touchObject.curX) {
  2095.                     i.slideHandler(i.currentSlide);
  2096.                     i.touchObject = {}
  2097.                 }
  2098.             }
  2099.         };
  2100.         e.prototype.swipeHandler = function(t) {
  2101.             var e = this;
  2102.             if ("ontouchend" in document && e.options.swipe === false) {
  2103.                 return false
  2104.             } else if (e.options.draggable === false && !t.originalEvent.touches) {
  2105.                 return true
  2106.             }
  2107.             e.touchObject.fingerCount = t.originalEvent && t.originalEvent.touches !== undefined ? t.originalEvent.touches.length : 1;
  2108.             e.touchObject.minSwipe = e.listWidth / e.options.touchThreshold;
  2109.             switch (t.data.action) {
  2110.                 case "start":
  2111.                     e.swipeStart(t);
  2112.                     break;
  2113.                 case "move":
  2114.                     e.swipeMove(t);
  2115.                     break;
  2116.                 case "end":
  2117.                     e.swipeEnd(t);
  2118.                     break
  2119.             }
  2120.         };
  2121.         e.prototype.swipeMove = function(t) {
  2122.             var e = this,
  2123.                 i, s, n, o;
  2124.             o = t.originalEvent !== undefined ? t.originalEvent.touches : null;
  2125.             i = e.getLeft(e.currentSlide);
  2126.             if (!e.$list.hasClass("dragging") || o && o.length !== 1) {
  2127.                 return false
  2128.             }
  2129.             e.touchObject.curX = o !== undefined ? o[0].pageX : t.clientX;
  2130.             e.touchObject.curY = o !== undefined ? o[0].pageY : t.clientY;
  2131.             e.touchObject.swipeLength = Math.round(Math.sqrt(Math.pow(e.touchObject.curX - e.touchObject.startX, 2)));
  2132.             s = e.swipeDirection();
  2133.             if (s === "vertical") {
  2134.                 return
  2135.             }
  2136.             if (t.originalEvent !== undefined && e.touchObject.swipeLength > 4) {
  2137.                 t.preventDefault()
  2138.             }
  2139.             n = e.touchObject.curX > e.touchObject.startX ? 1 : -1;
  2140.             if (e.options.vertical === false) {
  2141.                 e.swipeLeft = i + e.touchObject.swipeLength * n
  2142.             } else {
  2143.                 e.swipeLeft = i + e.touchObject.swipeLength * (e.$list.height() / e.listWidth) * n
  2144.             }
  2145.             if (e.options.fade === true || e.options.touchMove === false) {
  2146.                 return false
  2147.             }
  2148.             if (e.animating === true) {
  2149.                 e.swipeLeft = null;
  2150.                 return false
  2151.             }
  2152.             e.setCSS(e.swipeLeft)
  2153.         };
  2154.         e.prototype.swipeStart = function(t) {
  2155.             var e = this,
  2156.                 i;
  2157.             if (e.touchObject.fingerCount !== 1 || e.slideCount <= e.options.slidesToShow) {
  2158.                 e.touchObject = {};
  2159.                 return false
  2160.             }
  2161.             if (t.originalEvent !== undefined && t.originalEvent.touches !== undefined) {
  2162.                 i = t.originalEvent.touches[0]
  2163.             }
  2164.             e.touchObject.startX = e.touchObject.curX = i !== undefined ? i.pageX : t.clientX;
  2165.             e.touchObject.startY = e.touchObject.curY = i !== undefined ? i.pageY : t.clientY;
  2166.             e.$list.addClass("dragging")
  2167.         };
  2168.         e.prototype.unfilterSlides = function() {
  2169.             var t = this;
  2170.             if (t.$slidesCache !== null) {
  2171.                 t.unload();
  2172.                 t.$slideTrack.children(this.options.slide).remove();
  2173.                 t.$slidesCache.appendTo(t.$slideTrack);
  2174.                 t.reinit()
  2175.             }
  2176.         };
  2177.         e.prototype.unload = function() {
  2178.             var e = this;
  2179.             t(".slick-cloned", e.$slider).remove();
  2180.             if (e.$dots) {
  2181.                 e.$dots.remove()
  2182.             }
  2183.             if (e.$prevArrow) {
  2184.                 e.$prevArrow.remove();
  2185.                 e.$nextArrow.remove()
  2186.             }
  2187.             e.$slides.removeClass("slick-slide slick-active slick-visible").removeAttr("style")
  2188.         };
  2189.         e.prototype.updateArrows = function() {
  2190.             var t = this;
  2191.             if (t.options.arrows === true && t.options.infinite !== true && t.slideCount > t.options.slidesToShow) {
  2192.                 t.$prevArrow.removeClass("slick-disabled");
  2193.                 t.$nextArrow.removeClass("slick-disabled");
  2194.                 if (t.currentSlide === 0) {
  2195.                     t.$prevArrow.addClass("slick-disabled");
  2196.                     t.$nextArrow.removeClass("slick-disabled")
  2197.                 } else if (t.currentSlide >= t.slideCount - t.options.slidesToShow) {
  2198.                     t.$nextArrow.addClass("slick-disabled");
  2199.                     t.$prevArrow.removeClass("slick-disabled")
  2200.                 }
  2201.             }
  2202.         };
  2203.         e.prototype.updateDots = function() {
  2204.             var t = this;
  2205.             if (t.$dots !== null) {
  2206.                 t.$dots.find("li").removeClass("slick-active");
  2207.                 t.$dots.find("li").eq(t.currentSlide / t.options.slidesToScroll).addClass("slick-active")
  2208.             }
  2209.         };
  2210.         t.fn.xSlick = function(t) {
  2211.             var i = this;
  2212.             return i.each(function(i, s) {
  2213.                 s.slick = new e(s, t)
  2214.             })
  2215.         };
  2216.         t.fn.xSlickAdd = function(t, e, i) {
  2217.             var s = this;
  2218.             return s.each(function(s, n) {
  2219.                 n.slick.addSlide(t, e, i)
  2220.             })
  2221.         };
  2222.         t.fn.xSlickCurrentSlide = function() {
  2223.             var t = this;
  2224.             return t.get(0).slick.getCurrent()
  2225.         };
  2226.         t.fn.xSlickFilter = function(t) {
  2227.             var e = this;
  2228.             return e.each(function(e, i) {
  2229.                 i.slick.filterSlides(t)
  2230.             })
  2231.         };
  2232.         t.fn.xSlickGoTo = function(t) {
  2233.             var e = this;
  2234.             return e.each(function(e, i) {
  2235.                 i.slick.slideHandler(t)
  2236.             })
  2237.         };
  2238.         t.fn.xSlickNext = function() {
  2239.             var t = this;
  2240.             return t.each(function(t, e) {
  2241.                 e.slick.changeSlide({
  2242.                     data: {
  2243.                         message: "next"
  2244.                     }
  2245.                 })
  2246.             })
  2247.         };
  2248.         t.fn.xSlickPause = function() {
  2249.             var t = this;
  2250.             return t.each(function(t, e) {
  2251.                 e.slick.autoPlayClear();
  2252.                 e.slick.paused = true
  2253.             })
  2254.         };
  2255.         t.fn.xSlickPlay = function() {
  2256.             var t = this;
  2257.             return t.each(function(t, e) {
  2258.                 e.slick.paused = false;
  2259.                 e.slick.autoPlay()
  2260.             })
  2261.         };
  2262.         t.fn.xSlickPrev = function() {
  2263.             var t = this;
  2264.             return t.each(function(t, e) {
  2265.                 e.slick.changeSlide({
  2266.                     data: {
  2267.                         message: "previous"
  2268.                     }
  2269.                 })
  2270.             })
  2271.         };
  2272.         t.fn.xSlickRemove = function(t, e) {
  2273.             var i = this;
  2274.             return i.each(function(i, s) {
  2275.                 s.slick.removeSlide(t, e)
  2276.             })
  2277.         };
  2278.         t.fn.xSlickSetOption = function(t, e, i) {
  2279.             var s = this;
  2280.             return s.each(function(s, n) {
  2281.                 n.slick.options[t] = e;
  2282.                 if (i === true) {
  2283.                     n.slick.unload();
  2284.                     n.slick.reinit()
  2285.                 }
  2286.             })
  2287.         };
  2288.         t.fn.xSlickUnfilter = function() {
  2289.             var t = this;
  2290.             return t.each(function(t, e) {
  2291.                 e.slick.unfilterSlides()
  2292.             })
  2293.         };
  2294.         t.fn.xUnslick = function() {
  2295.             var t = this;
  2296.             return t.each(function(t, e) {
  2297.                 e.slick.destroy()
  2298.             })
  2299.         }
  2300.     })
  2301. }, function(t, e, i) {
  2302.     "use strict";
  2303.     Object.defineProperty(e, "__esModule", {
  2304.         value: true
  2305.     });
  2306.     e.default = function(t) {
  2307.         var e = t.$body;
  2308.         (0, n.default)(".x-btn-navbar, .x-btn-navbar-search, .x-btn-widgetbar").click(function(t) {
  2309.             t.preventDefault()
  2310.         });
  2311.         (0, n.default)('iframe[src*="youtube.com"]').each(function() {
  2312.             var t = (0, n.default)(this).attr("src");
  2313.             if ((0, n.default)(this).attr("src").indexOf("?") > 0) {
  2314.                 (0, n.default)(this).attr({
  2315.                     src: t + "&wmode=transparent",
  2316.                     wmode: "Opaque"
  2317.                 })
  2318.             } else {
  2319.                 (0, n.default)(this).attr({
  2320.                     src: t + "?wmode=transparent",
  2321.                     wmode: "Opaque"
  2322.                 })
  2323.             }
  2324.         });
  2325.         e.on("click", ".x-iso-container .flex-direction-nav a", function() {
  2326.             setTimeout(function() {
  2327.                 (0, n.default)(window).xsmartresize()
  2328.             }, 750)
  2329.         });
  2330.         (0, n.default)("body.x-masonry-active").on("keyup", function(t) {
  2331.             if (t.which >= 37 && t.which <= 40) {
  2332.                 setTimeout(function() {
  2333.                     (0, n.default)(window).xsmartresize()
  2334.                 }, 750)
  2335.             }
  2336.         });
  2337.         (0, n.default)("a, button, input, [tabindex]").on("focus", function() {
  2338.             (0, n.default)(this).css({
  2339.                 outline: "none"
  2340.             })
  2341.         });
  2342.         (0, n.default)("a, button, input, [tabindex]").on("keyup", function(t) {
  2343.             if (t.keyCode === 9) {
  2344.                 (0, n.default)(this).css({
  2345.                     outline: ""
  2346.                 })
  2347.             }
  2348.         });
  2349.         (0, n.default)(function(t) {
  2350.             function e(e) {
  2351.                 var i = e;
  2352.                 if (window.csGlobal && window.csGlobal.csHooks) {
  2353.                     i = window.csGlobal.csHooks.apply("hash_scrolling_offset", e)
  2354.                 }
  2355.                 t("html, body").animate({
  2356.                     scrollTop: i
  2357.                 }, 850, "xEaseInOutExpo")
  2358.             }
  2359.             t(".x-slider-container.above .x-slider-scroll-bottom").on("touchstart click", function(i) {
  2360.                 i.preventDefault();
  2361.                 var s = t(".x-slider-container.above").outerHeight();
  2362.                 var n = t(".x-navbar-fixed-top-active .x-nav-wrap.desktop");
  2363.                 if (n.length > 0 && "none" !== n.css("display")) {
  2364.                     s += n.closest(".x-navbar").outerHeight()
  2365.                 }
  2366.                 e(s)
  2367.             });
  2368.             t(".x-slider-container.below .x-slider-scroll-bottom").on("touchstart click", function(i) {
  2369.                 i.preventDefault();
  2370.                 e(t(".x-masthead, .masthead").first().outerHeight() + t(".x-slider-container.above").outerHeight() + t(".x-slider-container.below").outerHeight())
  2371.             })
  2372.         })
  2373.     };
  2374.     var s = i(0);
  2375.     var n = o(s);
  2376.  
  2377.     function o(t) {
  2378.         return t && t.__esModule ? t : {
  2379.             default: t
  2380.         }
  2381.     }
  2382.     n.default.fn.scrollBottom = function() {
  2383.         return (0, n.default)(document).height() - this.scrollTop() - this.height()
  2384.     }
  2385. }, function(t, e, i) {
  2386.     "use strict";
  2387.     Object.defineProperty(e, "__esModule", {
  2388.         value: true
  2389.     });
  2390.     e.default = function(t) {
  2391.         var e = t.$body;
  2392.         if (!e.hasClass("x-icon")) {
  2393.             return
  2394.         }
  2395.         var i = (0, r.default)(".x-sidebar");
  2396.         if (!i.length) {
  2397.             return
  2398.         }
  2399.         var s = void 0;
  2400.         var o = i.find(".max.width");
  2401.         if (e.hasClass("x-full-width-active") || !window.csGlobal.PerfectScrollbar) {
  2402.             o.addClass("x-container");
  2403.             return
  2404.         }
  2405.         n.default.register("screen and (min-width: 1200px)", function() {
  2406.             o.removeClass("x-container");
  2407.             s = new window.csGlobal.PerfectScrollbar(i[0])
  2408.         });
  2409.         n.default.register("screen and (max-width: 1199px)", function() {
  2410.             o.addClass("x-container");
  2411.             if (s) {
  2412.                 s.destroy();
  2413.                 s = null
  2414.             }
  2415.         })
  2416.     };
  2417.     var s = i(9);
  2418.     var n = a(s);
  2419.     var o = i(0);
  2420.     var r = a(o);
  2421.  
  2422.     function a(t) {
  2423.         return t && t.__esModule ? t : {
  2424.             default: t
  2425.         }
  2426.     }
  2427. }, function(t, e, i) {
  2428.     var s = i(10);
  2429.     t.exports = new s
  2430. }, function(t, e, i) {
  2431.     var s = i(11);
  2432.     var n = i(2);
  2433.     var o = n.each;
  2434.     var r = n.isFunction;
  2435.     var a = n.isArray;
  2436.  
  2437.     function l() {
  2438.         if (!window.matchMedia) {
  2439.             throw new Error("matchMedia not present, legacy browsers require a polyfill")
  2440.         }
  2441.         this.queries = {};
  2442.         this.browserIsIncapable = !window.matchMedia("only all").matches
  2443.     }
  2444.     l.prototype = {
  2445.         constructor: l,
  2446.         register: function(t, e, i) {
  2447.             var n = this.queries,
  2448.                 l = i && this.browserIsIncapable;
  2449.             if (!n[t]) {
  2450.                 n[t] = new s(t, l)
  2451.             }
  2452.             if (r(e)) {
  2453.                 e = {
  2454.                     match: e
  2455.                 }
  2456.             }
  2457.             if (!a(e)) {
  2458.                 e = [e]
  2459.             }
  2460.             o(e, function(e) {
  2461.                 if (r(e)) {
  2462.                     e = {
  2463.                         match: e
  2464.                     }
  2465.                 }
  2466.                 n[t].addHandler(e)
  2467.             });
  2468.             return this
  2469.         },
  2470.         unregister: function(t, e) {
  2471.             var i = this.queries[t];
  2472.             if (i) {
  2473.                 if (e) {
  2474.                     i.removeHandler(e)
  2475.                 } else {
  2476.                     i.clear();
  2477.                     delete this.queries[t]
  2478.                 }
  2479.             }
  2480.             return this
  2481.         }
  2482.     };
  2483.     t.exports = l
  2484. }, function(t, e, i) {
  2485.     var s = i(12);
  2486.     var n = i(2).each;
  2487.  
  2488.     function o(t, e) {
  2489.         this.query = t;
  2490.         this.isUnconditional = e;
  2491.         this.handlers = [];
  2492.         this.mql = window.matchMedia(t);
  2493.         var i = this;
  2494.         this.listener = function(t) {
  2495.             i.mql = t.currentTarget || t;
  2496.             i.assess()
  2497.         };
  2498.         this.mql.addListener(this.listener)
  2499.     }
  2500.     o.prototype = {
  2501.         constuctor: o,
  2502.         addHandler: function(t) {
  2503.             var e = new s(t);
  2504.             this.handlers.push(e);
  2505.             this.matches() && e.on()
  2506.         },
  2507.         removeHandler: function(t) {
  2508.             var e = this.handlers;
  2509.             n(e, function(i, s) {
  2510.                 if (i.equals(t)) {
  2511.                     i.destroy();
  2512.                     return !e.splice(s, 1)
  2513.                 }
  2514.             })
  2515.         },
  2516.         matches: function() {
  2517.             return this.mql.matches || this.isUnconditional
  2518.         },
  2519.         clear: function() {
  2520.             n(this.handlers, function(t) {
  2521.                 t.destroy()
  2522.             });
  2523.             this.mql.removeListener(this.listener);
  2524.             this.handlers.length = 0
  2525.         },
  2526.         assess: function() {
  2527.             var t = this.matches() ? "on" : "off";
  2528.             n(this.handlers, function(e) {
  2529.                 e[t]()
  2530.             })
  2531.         }
  2532.     };
  2533.     t.exports = o
  2534. }, function(t, e) {
  2535.     function i(t) {
  2536.         this.options = t;
  2537.         !t.deferSetup && this.setup()
  2538.     }
  2539.     i.prototype = {
  2540.         constructor: i,
  2541.         setup: function() {
  2542.             if (this.options.setup) {
  2543.                 this.options.setup()
  2544.             }
  2545.             this.initialised = true
  2546.         },
  2547.         on: function() {
  2548.             !this.initialised && this.setup();
  2549.             this.options.match && this.options.match()
  2550.         },
  2551.         off: function() {
  2552.             this.options.unmatch && this.options.unmatch()
  2553.         },
  2554.         destroy: function() {
  2555.             this.options.destroy ? this.options.destroy() : this.off()
  2556.         },
  2557.         equals: function(t) {
  2558.             return this.options === t || this.options.match === t
  2559.         }
  2560.     };
  2561.     t.exports = i
  2562. }, function(t, e, i) {
  2563.     "use strict";
  2564.     Object.defineProperty(e, "__esModule", {
  2565.         value: true
  2566.     });
  2567.     e.default = function(t) {
  2568.         var e = t.$document;
  2569.         (0, o.everinit)(".x-mini-cart", function(t) {
  2570.             i((0, n.default)(t))
  2571.         });
  2572.         e.on("added_to_cart wc_fragments_loaded wc_fragments_refreshed", "body", function() {
  2573.             i((0, n.default)(".x-mini-cart"))
  2574.         });
  2575.  
  2576.         function i(t) {
  2577.             var e = '<span class="x-anchor-content" style="-webkit-justify-content: center; justify-content: center; -webkit-align-items: center; align-items: center;"><span class="x-anchor-text"><span class="x-anchor-text-primary"></span></span></span>';
  2578.             t.find(".button").removeClass("button").addClass("x-anchor").wrapInner(e)
  2579.         }
  2580.     };
  2581.     var s = i(0);
  2582.     var n = r(s);
  2583.     var o = i(1);
  2584.  
  2585.     function r(t) {
  2586.         return t && t.__esModule ? t : {
  2587.             default: t
  2588.         }
  2589.     }
  2590. }, function(t, e, i) {
  2591.     "use strict";
  2592.     Object.defineProperty(e, "__esModule", {
  2593.         value: true
  2594.     });
  2595.     e.default = function(t) {
  2596.         var e = t.$body;
  2597.         var i = "data-x-search";
  2598.         var s = "[" + i + "]";
  2599.         var o = "[" + i + "] button";
  2600.         var r = "[" + i + "-submit]";
  2601.         var a = "[" + i + "-clear]";
  2602.         var l = "[" + i + "] input";
  2603.         var c = o + ", " + l;
  2604.         e.on("focusin focusout", c, function(t) {
  2605.             var e = (0, n.default)(this).closest(s);
  2606.             if (t.type === "focusout" && e.data("data-x-focus-search-down")) {
  2607.                 return
  2608.             }
  2609.             e.data("data-x-focus-search-down", false);
  2610.             e.toggleClass("x-search-focused", t.type === "focusin")
  2611.         });
  2612.         e.on("mousedown", s, function(t) {
  2613.             if (!t.target.hasAttribute(i)) {
  2614.                 return
  2615.             }
  2616.             var e = (0, n.default)(this);
  2617.             e.addClass("x-search-focused");
  2618.             e.data("data-x-focus-search-down", true);
  2619.             setTimeout(function() {
  2620.                 e.find("input").focus()
  2621.             }, 0)
  2622.         });
  2623.         e.on("input", l, function() {
  2624.             var t = (0, n.default)(this);
  2625.             var e = t.closest(s);
  2626.             if (t.val() !== "") {
  2627.                 e.addClass("x-search-has-content")
  2628.             } else {
  2629.                 e.removeClass("x-search-has-content")
  2630.             }
  2631.         });
  2632.         e.on("click", r, function() {
  2633.             var t = (0, n.default)(this).closest(s);
  2634.             t.submit()
  2635.         });
  2636.         e.on("click", a, function() {
  2637.             var t = (0, n.default)(this).closest(s);
  2638.             t.find("input").val("").focus();
  2639.             t.removeClass("x-search-has-content")
  2640.         })
  2641.     };
  2642.     var s = i(0);
  2643.     var n = o(s);
  2644.  
  2645.     function o(t) {
  2646.         return t && t.__esModule ? t : {
  2647.             default: t
  2648.         }
  2649.     }
  2650. }, function(t, e, i) {
  2651.     "use strict";
  2652.     Object.defineProperty(e, "__esModule", {
  2653.         value: true
  2654.     });
  2655.     e.default = function(t) {
  2656.         var e = t.$body;
  2657.         var i = (0, n.default)(".x-cart-notification");
  2658.         if (i.length > 0) {
  2659.             (0, n.default)(".add_to_cart_button.product_type_simple").on("click", function() {
  2660.                 i.addClass("bring-forward appear loading")
  2661.             });
  2662.             e.on("added_to_cart", function() {
  2663.                 setTimeout(function() {
  2664.                     i.removeClass("loading").addClass("added");
  2665.                     setTimeout(function() {
  2666.                         i.removeClass("appear");
  2667.                         setTimeout(function() {
  2668.                             i.removeClass("added bring-forward")
  2669.                         }, 650)
  2670.                     }, 1e3)
  2671.                 }, 650)
  2672.             })
  2673.         }
  2674.         var s = (0, n.default)("p.stars");
  2675.         var o = s.find("a");
  2676.  
  2677.         function r() {
  2678.             if (s.hasClass("selected")) {
  2679.                 s.find("a.active").nextAll("a").removeClass("x-active")
  2680.             } else {
  2681.                 o.removeClass("x-active")
  2682.             }
  2683.         }
  2684.  
  2685.         function a() {
  2686.             (0, n.default)(this).nextAll("a").removeClass("x-active")
  2687.         }
  2688.  
  2689.         function l() {
  2690.             r();
  2691.             (0, n.default)(this).addClass("x-active").prevAll("a").addClass("x-active")
  2692.         }
  2693.         s.on("mouseleave", r);
  2694.         o.on("click", a);
  2695.         o.on("mouseover", l)
  2696.     };
  2697.     var s = i(0);
  2698.     var n = o(s);
  2699.  
  2700.     function o(t) {
  2701.         return t && t.__esModule ? t : {
  2702.             default: t
  2703.         }
  2704.     }
  2705. }, function(t, e, i) {
  2706.     "use strict";
  2707.     Object.defineProperty(e, "__esModule", {
  2708.         value: true
  2709.     });
  2710.     e.default = function(t) {
  2711.         var e = t.$body,
  2712.             i = t.$window,
  2713.             s = t.$navbar,
  2714.             r = t.$document;
  2715.         if (e.attr("class").includes("x-navbar-fixed")) {
  2716.             o.csHooks.action("scrollspy_activate", function(t) {
  2717.                 var e = (0, n.default)(t);
  2718.                 if (e.is(".x-nav-wrap.desktop .x-nav li > a")) {
  2719.                     e.parents("li").addClass("current-menu-item");
  2720.                     if (e.parent(".dropdown-menu").length) {
  2721.                         e.closest("li.dropdown").addClass("current-menu-item")
  2722.                     }
  2723.                 }
  2724.             });
  2725.             o.csHooks.action("scrollspy_deactivate", function(t) {
  2726.                 var e = (0, n.default)(t);
  2727.                 if (e.is(".x-nav-wrap.desktop .x-nav li > a")) {
  2728.                     e.parents(".current-menu-item").removeClass("current-menu-item")
  2729.                 }
  2730.             });
  2731.             o.csHooks.filter("scrollspy_offset", function(t) {
  2732.                 var e = (0, n.default)(".x-navbar-fixed-top-active .x-navbar").outerHeight();
  2733.                 return e ? t + e : t
  2734.             })
  2735.         }
  2736.         if (e.hasClass("x-navbar-fixed-top-active") && s.length > 0) {
  2737.             var a = "";
  2738.             if (e.hasClass("x-boxed-layout-active")) {
  2739.                 a = " x-container max width"
  2740.             }
  2741.             i.on("scroll", function() {
  2742.                 if (i.scrollTop() >= l()) {
  2743.                     s.addClass("x-navbar-fixed-top" + a)
  2744.                 } else {
  2745.                     s.removeClass("x-navbar-fixed-top" + a)
  2746.                 }
  2747.             })
  2748.         }
  2749.  
  2750.         function l() {
  2751.             return (0, n.default)(".x-navbar-wrap").offset().top - (0, o.adminBarOffset)()
  2752.         }
  2753.         var c = (0, n.default)(".x-btn-navbar-search");
  2754.         var d = (0, n.default)(".x-searchform-overlay");
  2755.         if (!c.length || !d.length) {
  2756.             return
  2757.         }
  2758.         var u = d.find(".search-query");
  2759.  
  2760.         function f() {
  2761.             d.toggleClass("in");
  2762.             setTimeout(function() {
  2763.                 u.val("")
  2764.             }, 350)
  2765.         }
  2766.         c.on("touchstart click", function(t) {
  2767.             t.preventDefault();
  2768.             d.toggleClass("in");
  2769.             u.focus()
  2770.         });
  2771.         d.on("touchstart click", function(t) {
  2772.             if (!(0, n.default)(t.target).hasClass("search-query")) {
  2773.                 f()
  2774.             }
  2775.         });
  2776.         r.keydown(function(t) {
  2777.             if (t.which === 27) {
  2778.                 if (d.hasClass("in")) {
  2779.                     f()
  2780.                 }
  2781.             }
  2782.         })
  2783.     };
  2784.     var s = i(0);
  2785.     var n = r(s);
  2786.     var o = i(1);
  2787.  
  2788.     function r(t) {
  2789.         return t && t.__esModule ? t : {
  2790.             default: t
  2791.         }
  2792.     }
  2793. }, function(t, e, i) {
  2794.     "use strict";
  2795.     Object.defineProperty(e, "__esModule", {
  2796.         value: true
  2797.     });
  2798.     e.default = function(t) {
  2799.         var e = t.$body;
  2800.         var i = (0, n.default)(".desktop .x-nav");
  2801.         var s = "li.menu-item-has-children";
  2802.         var o = i.find(s);
  2803.         var a = void 0;
  2804.         var l = false;
  2805.  
  2806.         function c(t) {
  2807.             t.addClass("x-active").siblings(s).removeClass("x-active");
  2808.             if (window.csModernizr && window.csModernizr.touchevents) {
  2809.                 t.siblings(s).data("x-action", 0);
  2810.                 t.find(".x-active").removeClass("x-active").data("x-action", 0)
  2811.             }
  2812.         }
  2813.  
  2814.         function d(t) {
  2815.             t.find(".x-active").removeClass("x-active")
  2816.         }
  2817.  
  2818.         function u(t) {
  2819.             clearTimeout(a);
  2820.             var e = (0, n.default)(t.target).closest("li");
  2821.             if (e.hasClass("menu-item-has-children")) {
  2822.                 c(e)
  2823.             }
  2824.         }
  2825.  
  2826.         function f(t) {
  2827.             clearTimeout(a);
  2828.             var e = n.default.contains(document.getElementsByClassName("x-nav-wrap desktop")[0], t.relatedTarget || t.toElement);
  2829.             var i = e ? 500 : 1e3;
  2830.             var s = (0, n.default)(this).closest("ul");
  2831.             a = setTimeout(function() {
  2832.                 return d(s)
  2833.             }, i)
  2834.         }
  2835.  
  2836.         function h(t) {
  2837.             var e = (0, n.default)(t.target).closest("li");
  2838.             e.data("x-action", e.data("x-action") + 1);
  2839.             if (e.hasClass("menu-item-has-children") && e.data("x-action") === 1) {
  2840.                 t.preventDefault();
  2841.                 t.stopPropagation();
  2842.                 c(e)
  2843.             }
  2844.         }
  2845.  
  2846.         function p() {
  2847.             o.data("x-action", 0);
  2848.             d(i)
  2849.         }
  2850.         if (window.csModernizr && window.csModernizr.touchevents) {
  2851.             o.data("x-action", 0);
  2852.             i.on("touchstart click", s, h);
  2853.             i.on("touchstart click", v);
  2854.             (0, n.default)("body").on("touchstart click", p)
  2855.         } else {
  2856.             i.on("focusin", s, u);
  2857.             i.on("focusout", s, f)
  2858.         }
  2859.         i.one("touchstart", function() {
  2860.             l = true
  2861.         });
  2862.         o.each(function() {
  2863.             var t = this;
  2864.             (0, r.default)(this, function(t) {
  2865.                 if (l) {
  2866.                     return
  2867.                 }
  2868.                 i.off("touchstart click", s, h);
  2869.                 i.off("touchstart click", v);
  2870.                 u(t)
  2871.             }, function(e) {
  2872.                 if (l) {
  2873.                     return
  2874.                 }
  2875.                 f.bind(t)(e)
  2876.             })
  2877.         });
  2878.  
  2879.         function v(t) {
  2880.             t.stopPropagation()
  2881.         }
  2882.         var m = (0, n.default)(".mobile .x-nav");
  2883.         m.find("li.menu-item-has-children > a").each(function(t) {
  2884.             (0, n.default)(this).append('<div class="x-sub-toggle collapsed" data-x-toggle="collapse-b" data-x-toggleable="x-nav-wrap-mobile-sm-' + t + '" aria-expanded="false" aria-haspopup="true" aria-controls="x-nav-wrap-mobile-sm-' + t + '">' + '<span><i class="x-icon-angle-double-down" data-x-icon-s="&#xf103;"></i></span>' + "</div>")
  2885.         });
  2886.         m.find(".sub-menu").each(function(t) {
  2887.             (0, n.default)(this).attr("id", "x-nav-wrap-mobile-sm-" + t).attr("class", "x-collapsed").attr("data-x-toggleable", "x-nav-wrap-mobile-sm-" + t).attr("data-x-toggle-collapse", "1").attr("aria-hidden", "true")
  2888.         });
  2889.         e.on("click", ".x-sub-toggle", function(t) {
  2890.             t.preventDefault();
  2891.             (0, n.default)(this).toggleClass("x-active").closest("li").toggleClass("x-active")
  2892.         })
  2893.     };
  2894.     var s = i(0);
  2895.     var n = a(s);
  2896.     var o = i(18);
  2897.     var r = a(o);
  2898.  
  2899.     function a(t) {
  2900.         return t && t.__esModule ? t : {
  2901.             default: t
  2902.         }
  2903.     }
  2904. }, function(t, e, i) {
  2905.     "use strict";
  2906.     var s = i(19);
  2907.     t.exports = function(t, e, i) {
  2908.         var n, o, r, a;
  2909.         var l = {},
  2910.             c = 0,
  2911.             d = 0;
  2912.         var u = {
  2913.             sensitivity: 7,
  2914.             interval: 100,
  2915.             timeout: 0
  2916.         };
  2917.  
  2918.         function f(t, e) {
  2919.             if (d) d = clearTimeout(d);
  2920.             c = 0;
  2921.             return i.call(t, e)
  2922.         }
  2923.  
  2924.         function h(t) {
  2925.             n = t.clientX;
  2926.             o = t.clientY
  2927.         }
  2928.  
  2929.         function p(t, i) {
  2930.             if (d) d = clearTimeout(d);
  2931.             if (Math.abs(r - n) + Math.abs(a - o) < u.sensitivity) {
  2932.                 c = 1;
  2933.                 return e.call(t, i)
  2934.             } else {
  2935.                 r = n;
  2936.                 a = o;
  2937.                 d = setTimeout(function() {
  2938.                     p(t, i)
  2939.                 }, u.interval)
  2940.             }
  2941.         }
  2942.         l.options = function(t) {
  2943.             u = s({}, u, t);
  2944.             return l
  2945.         };
  2946.  
  2947.         function v(e) {
  2948.             if (d) d = clearTimeout(d);
  2949.             t.removeEventListener("mousemove", h, false);
  2950.             if (c !== 1) {
  2951.                 r = e.clientX;
  2952.                 a = e.clientY;
  2953.                 t.addEventListener("mousemove", h, false);
  2954.                 d = setTimeout(function() {
  2955.                     p(t, e)
  2956.                 }, u.interval)
  2957.             }
  2958.             return this
  2959.         }
  2960.  
  2961.         function m(e) {
  2962.             if (d) d = clearTimeout(d);
  2963.             t.removeEventListener("mousemove", h, false);
  2964.             if (c === 1) {
  2965.                 d = setTimeout(function() {
  2966.                     f(t, e)
  2967.                 }, u.timeout)
  2968.             }
  2969.             return this
  2970.         }
  2971.         l.remove = function() {
  2972.             if (!t) return;
  2973.             t.removeEventListener("mouseover", v, false);
  2974.             t.removeEventListener("mouseout", m, false)
  2975.         };
  2976.         if (t) {
  2977.             t.addEventListener("mouseover", v, false);
  2978.             t.addEventListener("mouseout", m, false)
  2979.         }
  2980.         return l
  2981.     }
  2982. }, function(t, e) {
  2983.     t.exports = s;
  2984.     var i = Object.prototype.hasOwnProperty;
  2985.  
  2986.     function s() {
  2987.         var t = {};
  2988.         for (var e = 0; e < arguments.length; e++) {
  2989.             var s = arguments[e];
  2990.             for (var n in s) {
  2991.                 if (i.call(s, n)) {
  2992.                     t[n] = s[n]
  2993.                 }
  2994.             }
  2995.         }
  2996.         return t
  2997.     }
  2998. }, function(t, e, i) {
  2999.     "use strict";
  3000.     Object.defineProperty(e, "__esModule", {
  3001.         value: true
  3002.     });
  3003.     e.stickyBarsSetup = p;
  3004.     e.stickyBarsFindTopOffset = v;
  3005.     var s = i(0);
  3006.     var n = a(s);
  3007.     var o = i(3);
  3008.     var r = i(1);
  3009.  
  3010.     function a(t) {
  3011.         return t && t.__esModule ? t : {
  3012.             default: t
  3013.         }
  3014.     }
  3015.     var l = false;
  3016.     var c = [];
  3017.     var d = [];
  3018.     var u = [];
  3019.     var f = void 0;
  3020.     var h = false;
  3021.  
  3022.     function p(t) {
  3023.         var e = t.$window,
  3024.             i = t.$body;
  3025.         (0, r.everinit)("[data-x-bar]", function(t) {
  3026.             var e = (0, n.default)(t);
  3027.             var i = e.data("x-bar");
  3028.             var s = i.id,
  3029.                 o = i.region;
  3030.             if (!e.hasClass("x-bar-is-sticky") || "top" !== o) {
  3031.                 return
  3032.             }
  3033.             c.push({
  3034.                 id: s,
  3035.                 el: t,
  3036.                 props: i,
  3037.                 $el: e,
  3038.                 $space: (0, n.default)("." + s + ".x-bar-space"),
  3039.                 $content: e.find(".x-bar-content"),
  3040.                 visible: "none" !== e.css("display")
  3041.             })
  3042.         }, {
  3043.             init: function t() {
  3044.                 f = i.hasClass("x-boxed-layout-active") ? "x-bar-fixed x-container max width" : "x-bar-fixed";
  3045.                 e.on("resize", function() {
  3046.                     return a()
  3047.                 });
  3048.                 e.on("scroll", function() {
  3049.                     return p()
  3050.                 })
  3051.             },
  3052.             debounced: function t() {
  3053.                 if (!s(true)) {
  3054.                     a()
  3055.                 }
  3056.             },
  3057.             debounceDelay: 25
  3058.         });
  3059.  
  3060.         function s(t) {
  3061.             var e = c.map(function(t) {
  3062.                 return t.id
  3063.             });
  3064.             var i = false;
  3065.             var s = c.filter(function(t) {
  3066.                 var s = t.el,
  3067.                     n = t.id;
  3068.                 var o = e.indexOf(n);
  3069.                 if (o !== e.lastIndexOf(n)) {
  3070.                     i = true;
  3071.                     e.splice(o, 1);
  3072.                     return false
  3073.                 }
  3074.                 if (!window.document.body.contains(s)) {
  3075.                     i = true;
  3076.                     return false
  3077.                 }
  3078.                 return true
  3079.             });
  3080.             if (i || t) {
  3081.                 s = s.sort(function(t, e) {
  3082.                     return t.$el.index() - e.$el.index()
  3083.                 })
  3084.             }
  3085.             if (i) {
  3086.                 c = s;
  3087.                 d = c;
  3088.                 setTimeout(a, 0);
  3089.                 return true
  3090.             }
  3091.             return false
  3092.         }
  3093.  
  3094.         function a() {
  3095.             if (s()) {
  3096.                 return
  3097.             }
  3098.             d = c.filter(function(t) {
  3099.                 var e = t.$el;
  3100.                 return "none" !== e.css("display")
  3101.             });
  3102.             var t = (0, r.adminBarOffset)();
  3103.             var e = 0;
  3104.             var i = 0;
  3105.             var o = 0;
  3106.             x();
  3107.             d.forEach(function(t) {
  3108.                 var e = parseFloat(t.props.shrink);
  3109.                 t.height = t.$el.height();
  3110.                 t.shrinkHeight = isNaN(e) ? t.height : t.height * e;
  3111.                 t.triggerOffset = parseInt(t.props.triggerOffset);
  3112.                 if (isNaN(t.triggerOffset)) {
  3113.                     t.triggerOffset = 0
  3114.                 }
  3115.             });
  3116.             u = d.map(function(s) {
  3117.                 var a = s.$el,
  3118.                     c = s.props,
  3119.                     d = s.height,
  3120.                     u = s.shrinkHeight,
  3121.                     f = s.triggerOffset;
  3122.                 var h = 0 === o++;
  3123.                 var p = c.zStack && !h;
  3124.                 var v = parseFloat(a.css("margin-top"));
  3125.                 var m = c.keepMargin ? v : 0;
  3126.                 a.css({
  3127.                     position: "relative"
  3128.                 });
  3129.                 var y = a.offset().top;
  3130.                 a.css({
  3131.                     position: ""
  3132.                 });
  3133.                 var g = y - i;
  3134.                 if (c.triggerSelector) {
  3135.                     try {
  3136.                         var w = (0, n.default)(c.triggerSelector);
  3137.                         if (0 <= w.length) {
  3138.                             g = w.offset().top + f - u
  3139.                         }
  3140.                     } catch (t) {}
  3141.                 } else {
  3142.                     if (c.hideInitially) {
  3143.                         g -= d;
  3144.                         g += f
  3145.                     } else if (f > 0) {
  3146.                         g += f + d
  3147.                     }
  3148.                 }
  3149.                 if (p) {
  3150.                     g += u
  3151.                 } else {
  3152.                     g -= m
  3153.                 }
  3154.                 var x = (0, r.adminBarOffset)() + e;
  3155.                 k(g, "red");
  3156.                 var b = t + i;
  3157.                 if (!c.keepMargin) {
  3158.                     b += v;
  3159.                     x -= v
  3160.                 }
  3161.                 g = Math.max(g - e, b);
  3162.                 k(g, "green");
  3163.                 t = g;
  3164.                 if (p) {
  3165.                     x -= u + m;
  3166.                     x = Math.max(x, (0, r.adminBarOffset)())
  3167.                 } else {
  3168.                     e += u + m
  3169.                 }
  3170.                 var C = c.hideInitially || y < g || y + d < x;
  3171.                 i += d - u;
  3172.                 if (l) {
  3173.                     console.log("Bar: " + o, {
  3174.                         shrinkDiff: i,
  3175.                         heightStack: e,
  3176.                         offset: g,
  3177.                         top: x,
  3178.                         slide: C
  3179.                     })
  3180.                 }
  3181.                 var S = x + u;
  3182.                 if (c.keepMargin) {
  3183.                     S += v
  3184.                 }
  3185.                 var T = m ? "calc( -100% - " + m + "px)" : "-100%";
  3186.                 return {
  3187.                     offset: g,
  3188.                     top: x,
  3189.                     slide: C,
  3190.                     elOffest: y,
  3191.                     topOffset: S,
  3192.                     translateY: T,
  3193.                     firstBar: h
  3194.                 }
  3195.             });
  3196.             p()
  3197.         }
  3198.  
  3199.         function p() {
  3200.             if (h || s()) {
  3201.                 return
  3202.             }
  3203.             var t = v();
  3204.             var e = u.reduce(function(e, i, s) {
  3205.                 var n = i.offset;
  3206.                 return t > n ? s : e
  3207.             }, -1);
  3208.             var i = false;
  3209.             d.forEach(function(t, s) {
  3210.                 var n = t.goal;
  3211.                 t.goal = e >= s;
  3212.                 if (n !== t.goal) {
  3213.                     i = true
  3214.                 }
  3215.             });
  3216.             if (i) {
  3217.                 m()
  3218.             }
  3219.         }
  3220.  
  3221.         function v() {
  3222.             return e.scrollTop() + (0, r.adminBarOffset)()
  3223.         }
  3224.  
  3225.         function m() {
  3226.             if (h) {
  3227.                 return
  3228.             }
  3229.             var t = y();
  3230.             if (t) {
  3231.                 h = true;
  3232.                 t(function() {
  3233.                     h = false;
  3234.                     m()
  3235.                 })
  3236.             } else {
  3237.                 h = false;
  3238.                 setTimeout(p, 0);
  3239.                 if ((0, n.default)(".x-bar-fixed.x-bar-h").length === 0) {}
  3240.             }
  3241.         }
  3242.  
  3243.         function y() {
  3244.             var t = -1;
  3245.             var i = d.map(function(t) {
  3246.                 var e = t.goal,
  3247.                     i = t.$el;
  3248.                 return {
  3249.                     goal: e,
  3250.                     fixed: i.hasClass("x-bar-fixed")
  3251.                 }
  3252.             });
  3253.             i.forEach(function(e, s) {
  3254.                 var n = e.goal,
  3255.                     o = e.fixed;
  3256.                 var r = n === o;
  3257.                 if (!r && -1 === t) {
  3258.                     t = s
  3259.                 }
  3260.                 if (!r && s > 0 && i[s - 1].fixed && u[s].slide) {
  3261.                     t = s
  3262.                 }
  3263.             });
  3264.             if (-1 !== t) {
  3265.                 return function(i) {
  3266.                     return (d[t].goal ? g : w)(d[t], u[t], {
  3267.                         st: e.scrollTop(),
  3268.                         done: i
  3269.                     })
  3270.                 }
  3271.             }
  3272.             return false
  3273.         }
  3274.  
  3275.         function g(t, e, i) {
  3276.             var s = t.el,
  3277.                 n = t.$el,
  3278.                 r = t.$space,
  3279.                 a = t.$content,
  3280.                 l = t.shrinkHeight;
  3281.             var c = e.top,
  3282.                 d = e.slide,
  3283.                 u = e.elOffest,
  3284.                 h = e.translateY,
  3285.                 p = e.firstBar;
  3286.             var v = i.st,
  3287.                 m = i.done;
  3288.             var y = {
  3289.                 top: c
  3290.             };
  3291.             var g = d || !p && u + l < v + c;
  3292.             if (l) {
  3293.                 y.height = l;
  3294.                 a.css({
  3295.                     height: l
  3296.                 })
  3297.             }
  3298.             if (g) {
  3299.                 y.transform = "translate3d( 0, " + h + ", 0)"
  3300.             }
  3301.             var w = function t() {
  3302.                 return m()
  3303.             };
  3304.             n.css(y).addClass(f).removeClass("x-bar-is-initially-hidden");
  3305.             (0, o.calcFixedWidth)(s);
  3306.             r.show();
  3307.             if (g) {
  3308.                 n.addClass("x-bar-is-visible").css({
  3309.                     transform: ""
  3310.                 }).one("csTransitionEnd", w).csEmulateTransitionEnd(300)
  3311.             } else {
  3312.                 w()
  3313.             }
  3314.         }
  3315.  
  3316.         function w(t, e, i) {
  3317.             var s = t.$el,
  3318.                 n = t.$space,
  3319.                 o = t.props,
  3320.                 r = t.$content,
  3321.                 a = t.shrinkHeight;
  3322.             var l = e.slide,
  3323.                 c = e.elOffest,
  3324.                 d = e.translateY,
  3325.                 u = e.firstBar;
  3326.             var h = i.st,
  3327.                 p = i.done;
  3328.             var v = parseFloat(o.shrink);
  3329.             var m = l || !u && c + a < h + top;
  3330.             if (o.hideInitially) {
  3331.                 s.addClass("x-bar-is-initially-hidden")
  3332.             }
  3333.  
  3334.             function y() {
  3335.                 n.hide();
  3336.                 r.css({
  3337.                     height: ""
  3338.                 });
  3339.                 s.css({
  3340.                     top: "",
  3341.                     transform: "",
  3342.                     height: "",
  3343.                     width: ""
  3344.                 }).removeClass(f).removeClass("x-bar-is-visible");
  3345.                 p()
  3346.             }
  3347.             if (m) {
  3348.                 s.css({
  3349.                     transform: "translate3d( 0, " + d + ", 0)"
  3350.                 }).one("csTransitionEnd", y).csEmulateTransitionEnd(300)
  3351.             } else if (!isNaN(v) && v < 1) {
  3352.                 r.css({
  3353.                     height: ""
  3354.                 });
  3355.                 s.css({
  3356.                     height: ""
  3357.                 }).one("csTransitionEnd", y).csEmulateTransitionEnd(300)
  3358.             } else {
  3359.                 y()
  3360.             }
  3361.         }
  3362.  
  3363.         function x() {
  3364.             if (!l) {
  3365.                 return
  3366.             }
  3367.             i.find(".cs-sticky-bar-waypoint-debug").remove()
  3368.         }
  3369.  
  3370.         function k(t) {
  3371.             var e = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : "red";
  3372.             var s = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : "white";
  3373.             if (!l) {
  3374.                 return
  3375.             }(0, n.default)('<div class="cs-sticky-bar-waypoint-debug" style="position:absolute;height:1px;width:100%;top:' + t + "px;border-top:1px solid " + e + ';z-index:999999"><span style="color: ' + s + ";background-color: " + e + ';left: 0;position: absolute;top: 0; padding: .5em 1em; transform: translate3d(0,-50%,0);";>' + t + "</span></div>").appendTo(i)
  3376.         }
  3377.     }
  3378.  
  3379.     function v(t) {
  3380.         return u.reduce(function(e, i) {
  3381.             var s = i.offset,
  3382.                 n = i.topOffset;
  3383.             return s <= t ? n : e
  3384.         }, 0)
  3385.     }
  3386. }]);
  3387. //# sourceMappingURL=x.js.map
Advertisement
Add Comment
Please, Sign In to add comment