(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;othis.opts.allowance){this.$stickyHead.style.top=-elRect.top+this.opts.offsetHeight+"px";this.$stickyHead.classList.add("is-active");if(this.$stickyIntersectTable){this.$stickyIntersectTable.style.top=-elRect.top+this.opts.offsetHeight+"px";this.$stickyIntersectTable.classList.add("is-active");this.$stickyIntersectTable.style.transform=null}}else{this.$stickyHead.style.top=null;this.$stickyHead.classList.remove("is-active");if(this.$stickyIntersectTable){this.$stickyIntersectTable.style.transform="translateY("+captionHeight+"px)";this.$stickyIntersectTable.style.top=null;this.$stickyIntersectTable.classList.remove("is-active")}}}},{key:"_repositionStickyCols",value:function _repositionStickyCols(){this._calculateStickyBodyDimensions();var scrollLeft=this.$el.parentNode.scrollLeft;var captionHeight=this.$caption?this.$caption.offsetHeight:0;if(scrollLeft>0){this.$stickyBodyTable.style.transform="translateY("+captionHeight+"px)";this.$stickyBodyTable.style.left=scrollLeft+"px";this.$stickyBodyTable.classList.add("is-active");if(this.$stickyIntersectTable){this.$stickyIntersectTable.style.left=scrollLeft+"px";this.$stickyIntersectTable.classList.add("is-active")}}else{this.$stickyBodyTable.style.top=null;this.$stickyBodyTable.style.transform=null;this.$stickyBodyTable.style.left=null;this.$stickyBodyTable.classList.remove("is-active");if(this.$stickyIntersectTable){this.$stickyIntersectTable.style.left=null;this.$stickyIntersectTable.classList.remove("is-active")}}}}]);return Stucky}();exports.default=Stucky;if(module.exports){exports.default=Stucky}else{window.Stucky=Stucky}},{"object-assign":2,raf:5}],2:[function(require,module,exports){"use strict";var hasOwnProperty=Object.prototype.hasOwnProperty;var propIsEnumerable=Object.prototype.propertyIsEnumerable;function toObject(val){if(val===null||val===undefined){throw new TypeError("Object.assign cannot be called with null or undefined")}return Object(val)}module.exports=Object.assign||function(target,source){var from;var to=toObject(target);var symbols;for(var s=1;s1){for(var i=1;i