{"version":3,"sources":["webpack:///./src/js/modules/exploreAllFour.js"],"names":["Module","this","dom","leafContainer","el","querySelector","container","setupMinHeight","window","addEventListener","e","minHeight","offsetHeight","style","Component"],"mappings":"ikDAEMA,E,sWACJ,WACEC,KAAKC,IAAM,CACTC,cAAeF,KAAKG,GAAGC,cAAc,2BACrCC,UAAWL,KAAKG,IAElBH,KAAKM,mB,0BAGP,WAAe,WACbC,OAAOC,iBAAiB,UAAU,SAAAC,GAAC,OAAI,EAAKH,sB,4BAG9C,WACE,IAAMI,EAAYV,KAAKC,IAAIC,cAAcS,aACzCX,KAAKC,IAAII,UAAUO,MAAMF,UAAzB,UAAwCA,EAAxC,W,8BAfiBG,aAmBNd","file":"59.6417f1b9c91155210a3b.js","sourcesContent":["import { Component } from '@verndale/core';\n\nclass Module extends Component {\n  setupDefaults() {\n    this.dom = {\n      leafContainer: this.el.querySelector('.explore-all-four__leaf'),\n      container: this.el\n    };\n    this.setupMinHeight();\n  }\n\n  addListeners() {\n    window.addEventListener('resize', e => this.setupMinHeight())\n  }\n\n  setupMinHeight() {\n    const minHeight = this.dom.leafContainer.offsetHeight;\n    this.dom.container.style.minHeight = `${minHeight}px`\n  }\n}\n\nexport default Module;\n"],"sourceRoot":""}