import 'sticky-kit/dist/sticky-kit'; import $ from 'jquery'; import _ from 'lodash'; import responsiveCutoff from 'vj/breakpoints.json'; import DOMAttachedObject from 'vj/components/DOMAttachedObject'; import { isBelow } from 'vj/utils/mediaQuery'; const navHeight = isBelow(responsiveCutoff.mobile) ? 0 : $('.nav').height(); export default class StyledTable extends DOMAttachedObject { static DOMAttachKey = 'vjStyledTableInstance'; static DOMAttachSelector = '.data-table'; constructor($dom) { if ($dom.closest('.section__body').length === 0) { super(null); return; } super($dom); this.$container = $('