<\/div>\");\n e(\"
<\/div>\").appendTo(i).css({\n width: this.container.scrollWidth + \"px\"\n }), i.appendTo(this.container)\n },\n addEventHandlers: function() {\n var t = this;\n (t.eventHandlers = [{\n $el: t.scrollBody || e(window),\n handlers: {\n scroll: function() {\n t.checkVisibility()\n },\n resize: function() {\n t.updateAPI()\n }\n }\n }, {\n $el: t.widget,\n handlers: {\n scroll: function() {\n t.visible && t.syncContainer(!0)\n }\n }\n }, {\n $el: e(t.container),\n handlers: {\n scroll: function() {\n t.syncWidget(!0)\n },\n focusin: function() {\n setTimeout(function() {\n return t.syncWidget()\n }, 0)\n },\n \"update.fscroll\": function(i) {\n \"fscroll\" === i.namespace && t.updateAPI()\n },\n \"destroy.fscroll\": function(i) {\n \"fscroll\" === i.namespace && t.destroyAPI()\n }\n }\n }]).forEach(function(i) {\n var t = i.$el,\n n = i.handlers;\n return t.bind(n)\n })\n },\n checkVisibility: function() {\n var i = this.widget,\n t = this.container,\n n = this.scrollBody,\n e = i[0].scrollWidth <= i[0].offsetWidth;\n if (!e) {\n var s = t.getBoundingClientRect(),\n o = n ? n[0].getBoundingClientRect().bottom : window.innerHeight || document.documentElement.clientHeight;\n e = s.bottom <= o || s.top > o\n }\n this.visible === e && (this.visible = !e, i.toggleClass(\"fl-scrolls-hidden\"))\n },\n syncContainer: function(i) {\n void 0 === i && (i = !1), !0 !== this.skipSyncContainer ? (this.skipSyncWidget = i, this.container.scrollLeft = this.widget[0].scrollLeft) : this.skipSyncContainer = !1\n },\n syncWidget: function(i) {\n void 0 === i && (i = !1), !0 !== this.skipSyncWidget ? (this.skipSyncContainer = i, this.widget[0].scrollLeft = this.container.scrollLeft) : this.skipSyncWidget = !1\n },\n updateAPI: function() {\n var i = this.widget,\n t = this.container,\n n = this.scrollBody;\n i.width(t.clientWidth), n || i.css(\"left\", t.getBoundingClientRect().left + \"px\"), e(\"div\", i).width(t.scrollWidth), this.syncWidget(), this.checkVisibility()\n },\n destroyAPI: function() {\n this.eventHandlers.forEach(function(i) {\n var t = i.$el,\n n = i.handlers;\n return t.unbind(n)\n }), this.widget.remove(), this.eventHandlers = this.widget = this.container = this.scrollBody = null\n }\n };\n e.fn.floatingScroll = function(i) {\n return void 0 === i && (i = \"init\"), \"init\" === i ? this.each(function(i, t) {\n return Object.create(n).init(e(t))\n }) : n.hasOwnProperty(i + \"API\") && this.trigger(i + \".fscroll\"), this\n }, e(document).ready(function() {\n e(\"body [data-fl-scrolls]\").floatingScroll()\n })\n});"],"file":"jquery-floatingscroll.min.js"}