{"version":3,"sources":["webpack://website/./node_modules/waypoints/lib/jquery.waypoints.js","webpack://website/./node_modules/waypoints/lib/shortcuts/infinite.js","webpack://website/./node_modules/waypoints/lib/shortcuts/inview.js","webpack://website/./node_modules/waypoints/lib/shortcuts/sticky.js"],"names":["keyCounter","allWaypoints","Waypoint","options","Error","element","handler","this","key","Adapter","extend","defaults","adapter","callback","axis","horizontal","enabled","triggerPoint","group","Group","findOrCreate","name","context","Context","findOrCreateByElement","offsetAliases","offset","add","prototype","queueTrigger","direction","trigger","args","apply","destroy","remove","disable","enable","refresh","next","previous","invokeAll","method","allWaypointsArray","waypointKey","push","i","end","length","destroyAll","disableAll","enableAll","refreshAll","viewportHeight","window","innerHeight","document","documentElement","clientHeight","viewportWidth","clientWidth","adapters","continuous","outerHeight","innerWidth","outerWidth","requestAnimationFrameShim","setTimeout","contexts","oldWindowLoad","onload","didScroll","didResize","oldScroll","x","scrollLeft","y","scrollTop","waypoints","vertical","waypointContextKey","windowContext","createThrottledScrollHandler","createThrottledResizeHandler","waypoint","checkEmpty","horizontalEmpty","isEmptyObject","verticalEmpty","isWindow","off","self","resizeHandler","handleResize","on","requestAnimationFrame","scrollHandler","handleScroll","isTouch","triggeredGroups","axes","newScroll","forward","backward","axisKey","wasBeforeTriggerPoint","nowAfterTriggerPoint","id","groupKey","flushTriggers","contextOffset","undefined","left","contextScroll","contextDimension","offsetProp","top","contextModifier","wasBeforeScroll","nowAfterScroll","triggeredForward","adjustment","oldTriggerPoint","elementOffset","freshWaypoint","parseFloat","indexOf","Math","ceil","floor","findByElement","contextId","mozRequestAnimationFrame","webkitRequestAnimationFrame","call","byTriggerPoint","a","b","byReverseTriggerPoint","groups","clearTriggerQueues","triggerQueues","up","down","right","reverse","sort","index","inArray","splice","first","last","$","jQuery","JQueryAdapter","$element","each","Array","slice","arguments","createExtension","framework","overrides","isFunction","closest","fn","Zepto","Infinite","container","$container","$more","more","setupHandler","proxy","onBeforePageLoad","addClass","loadingClass","get","attr","data","$data","parseHTML","$newMore","find","$items","items","filter","append","removeClass","replaceWith","onAfterPageLoad","noop","Inview","createWaypoints","configs","config","createWaypoint","enter","entered","exit","exited","Sticky","createWrapper","originalHandler","wrapper","shouldBeStuck","wrapperHeight","$wrapper","height","toggleClass","stuckClass","wrap","parent","unwrap"],"mappings":";sFAMC,WACC,aAEA,IAAIA,EAAa,EACbC,EAAe,GAGnB,SAASC,EAASC,GAChB,IAAKA,EACH,MAAM,IAAIC,MAAM,6CAElB,IAAKD,EAAQE,QACX,MAAM,IAAID,MAAM,oDAElB,IAAKD,EAAQG,QACX,MAAM,IAAIF,MAAM,oDAGlBG,KAAKC,IAAM,YAAcR,EACzBO,KAAKJ,QAAUD,EAASO,QAAQC,OAAO,GAAIR,EAASS,SAAUR,GAC9DI,KAAKF,QAAUE,KAAKJ,QAAQE,QAC5BE,KAAKK,QAAU,IAAIV,EAASO,QAAQF,KAAKF,SACzCE,KAAKM,SAAWV,EAAQG,QACxBC,KAAKO,KAAOP,KAAKJ,QAAQY,WAAa,aAAe,WACrDR,KAAKS,QAAUT,KAAKJ,QAAQa,QAC5BT,KAAKU,aAAe,KACpBV,KAAKW,MAAQhB,EAASiB,MAAMC,aAAa,CACvCC,KAAMd,KAAKJ,QAAQe,MACnBJ,KAAMP,KAAKO,OAEbP,KAAKe,QAAUpB,EAASqB,QAAQC,sBAAsBjB,KAAKJ,QAAQmB,SAE/DpB,EAASuB,cAAclB,KAAKJ,QAAQuB,UACtCnB,KAAKJ,QAAQuB,OAASxB,EAASuB,cAAclB,KAAKJ,QAAQuB,SAE5DnB,KAAKW,MAAMS,IAAIpB,MACfA,KAAKe,QAAQK,IAAIpB,MACjBN,EAAaM,KAAKC,KAAOD,KACzBP,GAAc,EAIhBE,EAAS0B,UAAUC,aAAe,SAASC,GACzCvB,KAAKW,MAAMW,aAAatB,KAAMuB,IAIhC5B,EAAS0B,UAAUG,QAAU,SAASC,GAC/BzB,KAAKS,SAGNT,KAAKM,UACPN,KAAKM,SAASoB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ACxB,IAAI+K,EAAgBtM,KAAKJ,QAAQ2B,UAAUgG,QAAQhG,IAAc,EAC7DgL,EAAgBD,EAAgBtM,KAAKoJ,SAAS5F,aAAY,GAAQ,GAEtExD,KAAKwM,SAASC,OAAOF,GACrBvM,KAAKoJ,SAASsD,YAAY1M,KAAKJ,QAAQ+M,WAAYL,GAE/CF,GACFA,EAAgBrE,KAAK/H,KAAMuB,KAE5BvB,UAKPkM,EAAO7K,UAAU8K,cAAgB,WAC3BnM,KAAKJ,QAAQyM,SACfrM,KAAKoJ,SAASwD,KAAK5M,KAAKJ,QAAQyM,SAElCrM,KAAKwM,SAAWxM,KAAKoJ,SAASyD,SAC9B7M,KAAKqM,QAAUrM,KAAKwM,SAAS,IAI/BN,EAAO7K,UAAUM,QAAU,WACrB3B,KAAKoJ,SAASyD,SAAS,KAAO7M,KAAKqM,UACrCrM,KAAK6E,SAASlD,UACd3B,KAAKoJ,SAASiC,YAAYrL,KAAKJ,QAAQ+M,YACnC3M,KAAKJ,QAAQyM,SACfrM,KAAKoJ,SAAS0D,WAKpBZ,EAAO9L,SAAW,CAChBiM,QAAS,iCACTM,WAAY,QACZpL,UAAW,cAGb5B,EAASuM,OAASA,EA7DpB","file":"waypoints.d924ba44be21de8573d0.js","sourcesContent":["/*!\nWaypoints - 4.0.1\nCopyright © 2011-2016 Caleb Troughton\nLicensed under the MIT license.\nhttps://github.com/imakewebthings/waypoints/blob/master/licenses.txt\n*/\n(function() {\n 'use strict'\n\n var keyCounter = 0\n var allWaypoints = {}\n\n /* http://imakewebthings.com/waypoints/api/waypoint */\n function Waypoint(options) {\n if (!options) {\n throw new Error('No options passed to Waypoint constructor')\n }\n if (!options.element) {\n throw new Error('No element option passed to Waypoint constructor')\n }\n if (!options.handler) {\n throw new Error('No handler option passed to Waypoint constructor')\n }\n\n this.key = 'waypoint-' + keyCounter\n this.options = Waypoint.Adapter.extend({}, Waypoint.defaults, options)\n this.element = this.options.element\n this.adapter = new Waypoint.Adapter(this.element)\n this.callback = options.handler\n this.axis = this.options.horizontal ? 'horizontal' : 'vertical'\n this.enabled = this.options.enabled\n this.triggerPoint = null\n this.group = Waypoint.Group.findOrCreate({\n name: this.options.group,\n axis: this.axis\n })\n this.context = Waypoint.Context.findOrCreateByElement(this.options.context)\n\n if (Waypoint.offsetAliases[this.options.offset]) {\n this.options.offset = Waypoint.offsetAliases[this.options.offset]\n }\n this.group.add(this)\n this.context.add(this)\n allWaypoints[this.key] = this\n keyCounter += 1\n }\n\n /* Private */\n Waypoint.prototype.queueTrigger = function(direction) {\n this.group.queueTrigger(this, direction)\n }\n\n /* Private */\n Waypoint.prototype.trigger = function(args) {\n if (!this.enabled) {\n return\n }\n if (this.callback) {\n this.callback.apply(this, args)\n }\n }\n\n /* Public */\n /* http://imakewebthings.com/waypoints/api/destroy */\n Waypoint.prototype.destroy = function() {\n this.context.remove(this)\n this.group.remove(this)\n delete allWaypoints[this.key]\n }\n\n /* Public */\n /* http://imakewebthings.com/waypoints/api/disable */\n Waypoint.prototype.disable = function() {\n this.enabled = false\n return this\n }\n\n /* Public */\n /* http://imakewebthings.com/waypoints/api/enable */\n Waypoint.prototype.enable = function() {\n this.context.refresh()\n this.enabled = true\n return this\n }\n\n /* Public */\n /* http://imakewebthings.com/waypoints/api/next */\n Waypoint.prototype.next = function() {\n return this.group.next(this)\n }\n\n /* Public */\n /* http://imakewebthings.com/waypoints/api/previous */\n Waypoint.prototype.previous = function() {\n return this.group.previous(this)\n }\n\n /* Private */\n Waypoint.invokeAll = function(method) {\n var allWaypointsArray = []\n for (var waypointKey in allWaypoints) {\n allWaypointsArray.push(allWaypoints[waypointKey])\n }\n for (var i = 0, end = allWaypointsArray.length; i < end; i++) {\n allWaypointsArray[i][method]()\n }\n }\n\n /* Public */\n /* http://imakewebthings.com/waypoints/api/destroy-all */\n Waypoint.destroyAll = function() {\n Waypoint.invokeAll('destroy')\n }\n\n /* Public */\n /* http://imakewebthings.com/waypoints/api/disable-all */\n Waypoint.disableAll = function() {\n Waypoint.invokeAll('disable')\n }\n\n /* Public */\n /* http://imakewebthings.com/waypoints/api/enable-all */\n Waypoint.enableAll = function() {\n Waypoint.Context.refreshAll()\n for (var waypointKey in allWaypoints) {\n allWaypoints[waypointKey].enabled = true\n }\n return this\n }\n\n /* Public */\n /* http://imakewebthings.com/waypoints/api/refresh-all */\n Waypoint.refreshAll = function() {\n Waypoint.Context.refreshAll()\n }\n\n /* Public */\n /* http://imakewebthings.com/waypoints/api/viewport-height */\n Waypoint.viewportHeight = function() {\n return window.innerHeight || document.documentElement.clientHeight\n }\n\n /* Public */\n /* http://imakewebthings.com/waypoints/api/viewport-width */\n Waypoint.viewportWidth = function() {\n return document.documentElement.clientWidth\n }\n\n Waypoint.adapters = []\n\n Waypoint.defaults = {\n context: window,\n continuous: true,\n enabled: true,\n group: 'default',\n horizontal: false,\n offset: 0\n }\n\n Waypoint.offsetAliases = {\n 'bottom-in-view': function() {\n return this.context.innerHeight() - this.adapter.outerHeight()\n },\n 'right-in-view': function() {\n return this.context.innerWidth() - this.adapter.outerWidth()\n }\n }\n\n window.Waypoint = Waypoint\n}())\n;(function() {\n 'use strict'\n\n function requestAnimationFrameShim(callback) {\n window.setTimeout(callback, 1000 / 60)\n }\n\n var keyCounter = 0\n var contexts = {}\n var Waypoint = window.Waypoint\n var oldWindowLoad = window.onload\n\n /* http://imakewebthings.com/waypoints/api/context */\n function Context(element) {\n this.element = element\n this.Adapter = Waypoint.Adapter\n this.adapter = new this.Adapter(element)\n this.key = 'waypoint-context-' + keyCounter\n this.didScroll = false\n this.didResize = false\n this.oldScroll = {\n x: this.adapter.scrollLeft(),\n y: this.adapter.scrollTop()\n }\n this.waypoints = {\n vertical: {},\n horizontal: {}\n }\n\n element.waypointContextKey = this.key\n contexts[element.waypointContextKey] = this\n keyCounter += 1\n if (!Waypoint.windowContext) {\n Waypoint.windowContext = true\n Waypoint.windowContext = new Context(window)\n }\n\n this.createThrottledScrollHandler()\n this.createThrottledResizeHandler()\n }\n\n /* Private */\n Context.prototype.add = function(waypoint) {\n var axis = waypoint.options.horizontal ? 'horizontal' : 'vertical'\n this.waypoints[axis][waypoint.key] = waypoint\n this.refresh()\n }\n\n /* Private */\n Context.prototype.checkEmpty = function() {\n var horizontalEmpty = this.Adapter.isEmptyObject(this.waypoints.horizontal)\n var verticalEmpty = this.Adapter.isEmptyObject(this.waypoints.vertical)\n var isWindow = this.element == this.element.window\n if (horizontalEmpty && verticalEmpty && !isWindow) {\n this.adapter.off('.waypoints')\n delete contexts[this.key]\n }\n }\n\n /* Private */\n Context.prototype.createThrottledResizeHandler = function() {\n var self = this\n\n function resizeHandler() {\n self.handleResize()\n self.didResize = false\n }\n\n this.adapter.on('resize.waypoints', function() {\n if (!self.didResize) {\n self.didResize = true\n Waypoint.requestAnimationFrame(resizeHandler)\n }\n })\n }\n\n /* Private */\n Context.prototype.createThrottledScrollHandler = function() {\n var self = this\n function scrollHandler() {\n self.handleScroll()\n self.didScroll = false\n }\n\n this.adapter.on('scroll.waypoints', function() {\n if (!self.didScroll || Waypoint.isTouch) {\n self.didScroll = true\n Waypoint.requestAnimationFrame(scrollHandler)\n }\n })\n }\n\n /* Private */\n Context.prototype.handleResize = function() {\n Waypoint.Context.refreshAll()\n }\n\n /* Private */\n Context.prototype.handleScroll = function() {\n var triggeredGroups = {}\n var axes = {\n horizontal: {\n newScroll: this.adapter.scrollLeft(),\n oldScroll: this.oldScroll.x,\n forward: 'right',\n backward: 'left'\n },\n vertical: {\n newScroll: this.adapter.scrollTop(),\n oldScroll: this.oldScroll.y,\n forward: 'down',\n backward: 'up'\n }\n }\n\n for (var axisKey in axes) {\n var axis = axes[axisKey]\n var isForward = axis.newScroll > axis.oldScroll\n var direction = isForward ? axis.forward : axis.backward\n\n for (var waypointKey in this.waypoints[axisKey]) {\n var waypoint = this.waypoints[axisKey][waypointKey]\n if (waypoint.triggerPoint === null) {\n continue\n }\n var wasBeforeTriggerPoint = axis.oldScroll < waypoint.triggerPoint\n var nowAfterTriggerPoint = axis.newScroll >= waypoint.triggerPoint\n var crossedForward = wasBeforeTriggerPoint && nowAfterTriggerPoint\n var crossedBackward = !wasBeforeTriggerPoint && !nowAfterTriggerPoint\n if (crossedForward || crossedBackward) {\n waypoint.queueTrigger(direction)\n triggeredGroups[waypoint.group.id] = waypoint.group\n }\n }\n }\n\n for (var groupKey in triggeredGroups) {\n triggeredGroups[groupKey].flushTriggers()\n }\n\n this.oldScroll = {\n x: axes.horizontal.newScroll,\n y: axes.vertical.newScroll\n }\n }\n\n /* Private */\n Context.prototype.innerHeight = function() {\n /*eslint-disable eqeqeq */\n if (this.element == this.element.window) {\n return Waypoint.viewportHeight()\n }\n /*eslint-enable eqeqeq */\n return this.adapter.innerHeight()\n }\n\n /* Private */\n Context.prototype.remove = function(waypoint) {\n delete this.waypoints[waypoint.axis][waypoint.key]\n this.checkEmpty()\n }\n\n /* Private */\n Context.prototype.innerWidth = function() {\n /*eslint-disable eqeqeq */\n if (this.element == this.element.window) {\n return Waypoint.viewportWidth()\n }\n /*eslint-enable eqeqeq */\n return this.adapter.innerWidth()\n }\n\n /* Public */\n /* http://imakewebthings.com/waypoints/api/context-destroy */\n Context.prototype.destroy = function() {\n var allWaypoints = []\n for (var axis in this.waypoints) {\n for (var waypointKey in this.waypoints[axis]) {\n allWaypoints.push(this.waypoints[axis][waypointKey])\n }\n }\n for (var i = 0, end = allWaypoints.length; i < end; i++) {\n allWaypoints[i].destroy()\n }\n }\n\n /* Public */\n /* http://imakewebthings.com/waypoints/api/context-refresh */\n Context.prototype.refresh = function() {\n /*eslint-disable eqeqeq */\n var isWindow = this.element == this.element.window\n /*eslint-enable eqeqeq */\n var contextOffset = isWindow ? undefined : this.adapter.offset()\n var triggeredGroups = {}\n var axes\n\n this.handleScroll()\n axes = {\n horizontal: {\n contextOffset: isWindow ? 0 : contextOffset.left,\n contextScroll: isWindow ? 0 : this.oldScroll.x,\n contextDimension: this.innerWidth(),\n oldScroll: this.oldScroll.x,\n forward: 'right',\n backward: 'left',\n offsetProp: 'left'\n },\n vertical: {\n contextOffset: isWindow ? 0 : contextOffset.top,\n contextScroll: isWindow ? 0 : this.oldScroll.y,\n contextDimension: this.innerHeight(),\n oldScroll: this.oldScroll.y,\n forward: 'down',\n backward: 'up',\n offsetProp: 'top'\n }\n }\n\n for (var axisKey in axes) {\n var axis = axes[axisKey]\n for (var waypointKey in this.waypoints[axisKey]) {\n var waypoint = this.waypoints[axisKey][waypointKey]\n var adjustment = waypoint.options.offset\n var oldTriggerPoint = waypoint.triggerPoint\n var elementOffset = 0\n var freshWaypoint = oldTriggerPoint == null\n var contextModifier, wasBeforeScroll, nowAfterScroll\n var triggeredBackward, triggeredForward\n\n if (waypoint.element !== waypoint.element.window) {\n elementOffset = waypoint.adapter.offset()[axis.offsetProp]\n }\n\n if (typeof adjustment === 'function') {\n adjustment = adjustment.apply(waypoint)\n }\n else if (typeof adjustment === 'string') {\n adjustment = parseFloat(adjustment)\n if (waypoint.options.offset.indexOf('%') > - 1) {\n adjustment = Math.ceil(axis.contextDimension * adjustment / 100)\n }\n }\n\n contextModifier = axis.contextScroll - axis.contextOffset\n waypoint.triggerPoint = Math.floor(elementOffset + contextModifier - adjustment)\n wasBeforeScroll = oldTriggerPoint < axis.oldScroll\n nowAfterScroll = waypoint.triggerPoint >= axis.oldScroll\n triggeredBackward = wasBeforeScroll && nowAfterScroll\n triggeredForward = !wasBeforeScroll && !nowAfterScroll\n\n if (!freshWaypoint && triggeredBackward) {\n waypoint.queueTrigger(axis.backward)\n triggeredGroups[waypoint.group.id] = waypoint.group\n }\n else if (!freshWaypoint && triggeredForward) {\n waypoint.queueTrigger(axis.forward)\n triggeredGroups[waypoint.group.id] = waypoint.group\n }\n else if (freshWaypoint && axis.oldScroll >= waypoint.triggerPoint) {\n waypoint.queueTrigger(axis.forward)\n triggeredGroups[waypoint.group.id] = waypoint.group\n }\n }\n }\n\n Waypoint.requestAnimationFrame(function() {\n for (var groupKey in triggeredGroups) {\n triggeredGroups[groupKey].flushTriggers()\n }\n })\n\n return this\n }\n\n /* Private */\n Context.findOrCreateByElement = function(element) {\n return Context.findByElement(element) || new Context(element)\n }\n\n /* Private */\n Context.refreshAll = function() {\n for (var contextId in contexts) {\n contexts[contextId].refresh()\n }\n }\n\n /* Public */\n /* http://imakewebthings.com/waypoints/api/context-find-by-element */\n Context.findByElement = function(element) {\n return contexts[element.waypointContextKey]\n }\n\n window.onload = function() {\n if (oldWindowLoad) {\n oldWindowLoad()\n }\n Context.refreshAll()\n }\n\n\n Waypoint.requestAnimationFrame = function(callback) {\n var requestFn = window.requestAnimationFrame ||\n window.mozRequestAnimationFrame ||\n window.webkitRequestAnimationFrame ||\n requestAnimationFrameShim\n requestFn.call(window, callback)\n }\n Waypoint.Context = Context\n}())\n;(function() {\n 'use strict'\n\n function byTriggerPoint(a, b) {\n return a.triggerPoint - b.triggerPoint\n }\n\n function byReverseTriggerPoint(a, b) {\n return b.triggerPoint - a.triggerPoint\n }\n\n var groups = {\n vertical: {},\n horizontal: {}\n }\n var Waypoint = window.Waypoint\n\n /* http://imakewebthings.com/waypoints/api/group */\n function Group(options) {\n this.name = options.name\n this.axis = options.axis\n this.id = this.name + '-' + this.axis\n this.waypoints = []\n this.clearTriggerQueues()\n groups[this.axis][this.name] = this\n }\n\n /* Private */\n Group.prototype.add = function(waypoint) {\n this.waypoints.push(waypoint)\n }\n\n /* Private */\n Group.prototype.clearTriggerQueues = function() {\n this.triggerQueues = {\n up: [],\n down: [],\n left: [],\n right: []\n }\n }\n\n /* Private */\n Group.prototype.flushTriggers = function() {\n for (var direction in this.triggerQueues) {\n var waypoints = this.triggerQueues[direction]\n var reverse = direction === 'up' || direction === 'left'\n waypoints.sort(reverse ? byReverseTriggerPoint : byTriggerPoint)\n for (var i = 0, end = waypoints.length; i < end; i += 1) {\n var waypoint = waypoints[i]\n if (waypoint.options.continuous || i === waypoints.length - 1) {\n waypoint.trigger([direction])\n }\n }\n }\n this.clearTriggerQueues()\n }\n\n /* Private */\n Group.prototype.next = function(waypoint) {\n this.waypoints.sort(byTriggerPoint)\n var index = Waypoint.Adapter.inArray(waypoint, this.waypoints)\n var isLast = index === this.waypoints.length - 1\n return isLast ? null : this.waypoints[index + 1]\n }\n\n /* Private */\n Group.prototype.previous = function(waypoint) {\n this.waypoints.sort(byTriggerPoint)\n var index = Waypoint.Adapter.inArray(waypoint, this.waypoints)\n return index ? this.waypoints[index - 1] : null\n }\n\n /* Private */\n Group.prototype.queueTrigger = function(waypoint, direction) {\n this.triggerQueues[direction].push(waypoint)\n }\n\n /* Private */\n Group.prototype.remove = function(waypoint) {\n var index = Waypoint.Adapter.inArray(waypoint, this.waypoints)\n if (index > -1) {\n this.waypoints.splice(index, 1)\n }\n }\n\n /* Public */\n /* http://imakewebthings.com/waypoints/api/first */\n Group.prototype.first = function() {\n return this.waypoints[0]\n }\n\n /* Public */\n /* http://imakewebthings.com/waypoints/api/last */\n Group.prototype.last = function() {\n return this.waypoints[this.waypoints.length - 1]\n }\n\n /* Private */\n Group.findOrCreate = function(options) {\n return groups[options.axis][options.name] || new Group(options)\n }\n\n Waypoint.Group = Group\n}())\n;(function() {\n 'use strict'\n\n var $ = window.jQuery\n var Waypoint = window.Waypoint\n\n function JQueryAdapter(element) {\n this.$element = $(element)\n }\n\n $.each([\n 'innerHeight',\n 'innerWidth',\n 'off',\n 'offset',\n 'on',\n 'outerHeight',\n 'outerWidth',\n 'scrollLeft',\n 'scrollTop'\n ], function(i, method) {\n JQueryAdapter.prototype[method] = function() {\n var args = Array.prototype.slice.call(arguments)\n return this.$element[method].apply(this.$element, args)\n }\n })\n\n $.each([\n 'extend',\n 'inArray',\n 'isEmptyObject'\n ], function(i, method) {\n JQueryAdapter[method] = $[method]\n })\n\n Waypoint.adapters.push({\n name: 'jquery',\n Adapter: JQueryAdapter\n })\n Waypoint.Adapter = JQueryAdapter\n}())\n;(function() {\n 'use strict'\n\n var Waypoint = window.Waypoint\n\n function createExtension(framework) {\n return function() {\n var waypoints = []\n var overrides = arguments[0]\n\n if (framework.isFunction(arguments[0])) {\n overrides = framework.extend({}, arguments[1])\n overrides.handler = arguments[0]\n }\n\n this.each(function() {\n var options = framework.extend({}, overrides, {\n element: this\n })\n if (typeof options.context === 'string') {\n options.context = framework(this).closest(options.context)[0]\n }\n waypoints.push(new Waypoint(options))\n })\n\n return waypoints\n }\n }\n\n if (window.jQuery) {\n window.jQuery.fn.waypoint = createExtension(window.jQuery)\n }\n if (window.Zepto) {\n window.Zepto.fn.waypoint = createExtension(window.Zepto)\n }\n}())\n;","/*!\nWaypoints Infinite Scroll Shortcut - 4.0.1\nCopyright © 2011-2016 Caleb Troughton\nLicensed under the MIT license.\nhttps://github.com/imakewebthings/waypoints/blob/master/licenses.txt\n*/\n(function() {\n 'use strict'\n\n var $ = window.jQuery\n var Waypoint = window.Waypoint\n\n /* http://imakewebthings.com/waypoints/shortcuts/infinite-scroll */\n function Infinite(options) {\n this.options = $.extend({}, Infinite.defaults, options)\n this.container = this.options.element\n if (this.options.container !== 'auto') {\n this.container = this.options.container\n }\n this.$container = $(this.container)\n this.$more = $(this.options.more)\n\n if (this.$more.length) {\n this.setupHandler()\n this.waypoint = new Waypoint(this.options)\n }\n }\n\n /* Private */\n Infinite.prototype.setupHandler = function() {\n this.options.handler = $.proxy(function() {\n this.options.onBeforePageLoad()\n this.destroy()\n this.$container.addClass(this.options.loadingClass)\n\n $.get($(this.options.more).attr('href'), $.proxy(function(data) {\n var $data = $($.parseHTML(data))\n var $newMore = $data.find(this.options.more)\n\n var $items = $data.find(this.options.items)\n if (!$items.length) {\n $items = $data.filter(this.options.items)\n }\n\n this.$container.append($items)\n this.$container.removeClass(this.options.loadingClass)\n\n if (!$newMore.length) {\n $newMore = $data.filter(this.options.more)\n }\n if ($newMore.length) {\n this.$more.replaceWith($newMore)\n this.$more = $newMore\n this.waypoint = new Waypoint(this.options)\n }\n else {\n this.$more.remove()\n }\n\n this.options.onAfterPageLoad($items)\n }, this))\n }, this)\n }\n\n /* Public */\n Infinite.prototype.destroy = function() {\n if (this.waypoint) {\n this.waypoint.destroy()\n }\n }\n\n Infinite.defaults = {\n container: 'auto',\n items: '.infinite-item',\n more: '.infinite-more-link',\n offset: 'bottom-in-view',\n loadingClass: 'infinite-loading',\n onBeforePageLoad: $.noop,\n onAfterPageLoad: $.noop\n }\n\n Waypoint.Infinite = Infinite\n}())\n;","/*!\nWaypoints Inview Shortcut - 4.0.1\nCopyright © 2011-2016 Caleb Troughton\nLicensed under the MIT license.\nhttps://github.com/imakewebthings/waypoints/blob/master/licenses.txt\n*/\n(function() {\n 'use strict'\n\n function noop() {}\n\n var Waypoint = window.Waypoint\n\n /* http://imakewebthings.com/waypoints/shortcuts/inview */\n function Inview(options) {\n this.options = Waypoint.Adapter.extend({}, Inview.defaults, options)\n this.axis = this.options.horizontal ? 'horizontal' : 'vertical'\n this.waypoints = []\n this.element = this.options.element\n this.createWaypoints()\n }\n\n /* Private */\n Inview.prototype.createWaypoints = function() {\n var configs = {\n vertical: [{\n down: 'enter',\n up: 'exited',\n offset: '100%'\n }, {\n down: 'entered',\n up: 'exit',\n offset: 'bottom-in-view'\n }, {\n down: 'exit',\n up: 'entered',\n offset: 0\n }, {\n down: 'exited',\n up: 'enter',\n offset: function() {\n return -this.adapter.outerHeight()\n }\n }],\n horizontal: [{\n right: 'enter',\n left: 'exited',\n offset: '100%'\n }, {\n right: 'entered',\n left: 'exit',\n offset: 'right-in-view'\n }, {\n right: 'exit',\n left: 'entered',\n offset: 0\n }, {\n right: 'exited',\n left: 'enter',\n offset: function() {\n return -this.adapter.outerWidth()\n }\n }]\n }\n\n for (var i = 0, end = configs[this.axis].length; i < end; i++) {\n var config = configs[this.axis][i]\n this.createWaypoint(config)\n }\n }\n\n /* Private */\n Inview.prototype.createWaypoint = function(config) {\n var self = this\n this.waypoints.push(new Waypoint({\n context: this.options.context,\n element: this.options.element,\n enabled: this.options.enabled,\n handler: (function(config) {\n return function(direction) {\n self.options[config[direction]].call(self, direction)\n }\n }(config)),\n offset: config.offset,\n horizontal: this.options.horizontal\n }))\n }\n\n /* Public */\n Inview.prototype.destroy = function() {\n for (var i = 0, end = this.waypoints.length; i < end; i++) {\n this.waypoints[i].destroy()\n }\n this.waypoints = []\n }\n\n Inview.prototype.disable = function() {\n for (var i = 0, end = this.waypoints.length; i < end; i++) {\n this.waypoints[i].disable()\n }\n }\n\n Inview.prototype.enable = function() {\n for (var i = 0, end = this.waypoints.length; i < end; i++) {\n this.waypoints[i].enable()\n }\n }\n\n Inview.defaults = {\n context: window,\n enabled: true,\n enter: noop,\n entered: noop,\n exit: noop,\n exited: noop\n }\n\n Waypoint.Inview = Inview\n}())\n;","/*!\nWaypoints Sticky Element Shortcut - 4.0.1\nCopyright © 2011-2016 Caleb Troughton\nLicensed under the MIT license.\nhttps://github.com/imakewebthings/waypoints/blob/master/licenses.txt\n*/\n(function() {\n 'use strict'\n\n var $ = window.jQuery\n var Waypoint = window.Waypoint\n\n /* http://imakewebthings.com/waypoints/shortcuts/sticky-elements */\n function Sticky(options) {\n this.options = $.extend({}, Waypoint.defaults, Sticky.defaults, options)\n this.element = this.options.element\n this.$element = $(this.element)\n this.createWrapper()\n this.createWaypoint()\n }\n\n /* Private */\n Sticky.prototype.createWaypoint = function() {\n var originalHandler = this.options.handler\n\n this.waypoint = new Waypoint($.extend({}, this.options, {\n element: this.wrapper,\n handler: $.proxy(function(direction) {\n var shouldBeStuck = this.options.direction.indexOf(direction) > -1\n var wrapperHeight = shouldBeStuck ? this.$element.outerHeight(true) : ''\n\n this.$wrapper.height(wrapperHeight)\n this.$element.toggleClass(this.options.stuckClass, shouldBeStuck)\n\n if (originalHandler) {\n originalHandler.call(this, direction)\n }\n }, this)\n }))\n }\n\n /* Private */\n Sticky.prototype.createWrapper = function() {\n if (this.options.wrapper) {\n this.$element.wrap(this.options.wrapper)\n }\n this.$wrapper = this.$element.parent()\n this.wrapper = this.$wrapper[0]\n }\n\n /* Public */\n Sticky.prototype.destroy = function() {\n if (this.$element.parent()[0] === this.wrapper) {\n this.waypoint.destroy()\n this.$element.removeClass(this.options.stuckClass)\n if (this.options.wrapper) {\n this.$element.unwrap()\n }\n }\n }\n\n Sticky.defaults = {\n wrapper: '
',\n stuckClass: 'stuck',\n direction: 'down right'\n }\n\n Waypoint.Sticky = Sticky\n}())\n;"],"sourceRoot":""}