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EAAI,CAACV,EAASY,KACjC,IAAI,IAAIC,KAAOD,EACXV,EAAoBY,EAAEF,EAAYC,KAASX,EAAoBY,EAAEd,EAASa,IAC5ElH,OAAOoH,eAAef,EAASa,EAAK,CAAEG,YAAY,EAAMC,IAAKL,EAAWC,MCJ3EX,EAAoBY,EAAI,CAACI,EAAKC,IAAUxH,OAAOkB,UAAUuG,eAAehH,KAAK8G,EAAKC,G,2BCElFzG,OAAO2G,kBAAoB,SAASC,GACdpG,SAASqG,cAAcD,GAAe1B,WAAW,M","sources":["webpack://BokaWeb/./node_modules/@yaireo/fakescroll/fakescroll.js","webpack://BokaWeb/webpack/bootstrap","webpack://BokaWeb/webpack/runtime/compat get default export","webpack://BokaWeb/webpack/runtime/define property getters","webpack://BokaWeb/webpack/runtime/hasOwnProperty shorthand","webpack://BokaWeb/./src/js/components/fakeScrollbar.js"],"sourcesContent":[";(function(root, factory){\r\n var define = define || {};\r\n if( typeof define === 'function' && define.amd )\r\n define([], factory);\r\n else if( typeof exports === 'object' && typeof module === 'object' )\r\n module.exports = factory();\r\n else if(typeof exports === 'object')\r\n exports[\"FakeScroll\"] = factory()\r\n else\r\n root.FakeScroll = factory()\r\n }(this, function(){\r\n raf = window.requestAnimationFrame || function(cb) { return window.setTimeout(cb, 1000 / 60) };\r\n\r\n function FakeScroll(targetElm, settings){\r\n if( !targetElm ) return;\r\n\r\n this.settings = Object.assign({}, this.defaults, settings || {})\r\n\r\n this.state = {}\r\n this.listeners = {}\r\n\r\n this.DOM = this.build(targetElm)\r\n this.events.binding.call(this, this.DOM)\r\n\r\n // run \"moveBar\" once\r\n setTimeout(this.events.callbacks.onScrollResize.bind(this))\r\n }\r\n\r\n FakeScroll.prototype = {\r\n defaults : {\r\n classname : \"\",\r\n track : false // \"smooth\" will enable smooth scroll\r\n },\r\n\r\n /**\r\n * Build the DOM needed\r\n */\r\n build( targetElm ){\r\n var DOM = {};\r\n scopeHTML = `