{"version":3,"file":"/scripts/tab-accordion-horizontal.js","mappings":"8IAEMA,EAAAA,WACJ,cAAc,eACZC,QAAAA,IAAAA,eACAC,KAAA,SACAA,KAAA,W,uCAGF,WACcC,SAAAA,iBAAZ,SACAC,SAAc,YACZ,IAAIC,EAAMC,EAAAA,aADY,MAGtBC,EAAE,IAAFA,GAAAA,QAAqB,CACnBD,KADmB,EAEnBE,eAFmB,EAGnBC,WAHmB,GAKnBC,MALmB,IAMnBC,WAAY,CACV,CACEC,WADF,KAEEC,SAAU,CACRP,KADQ,EAERE,eAAgB,IAGpB,CACEI,WADF,IAEEC,SAAU,CACRP,KADQ,EAERE,eAAgB,Y,0BAQ5B,WAAe,WACbD,EAAAA,QAAAA,GAAAA,UAAuB,WACrB,kB,oBAIJ,WACEL,KAAA,mB,EA7CEF,GAkDN,IAAIA,G,iBCpDJc,EAAOC,QAAUC,OAAe,S","sources":["webpack://sage/./resources/scripts/modules/tab-accordion-horizontal.js","webpack://sage/external window \"jQuery\""],"sourcesContent":["import 'gridtab/gridtab/gridtab.js';\n\nclass accordionHorizontal {\n  constructor() {\n    console.log('here we are');\n    this.events();\n    this.gridInit();\n  }\n\n  gridInit() {\n    var grids = document.querySelectorAll('.ctab');\n    grids.forEach((grid) => {\n      var tab = grid.getAttribute('id');\n      //console.log(tab);\n      $('#' + tab).gridtab({\n        grid: 3,\n        contentPadding: 0,\n        tabPadding: 30,\n\n        speed: 100,\n        responsive: [\n          {\n            breakpoint: 1024,\n            settings: {\n              grid: 2,\n              contentPadding: 0,\n            },\n          },\n          {\n            breakpoint: 767,\n            settings: {\n              grid: 1,\n              contentPadding: 0,\n            },\n          },\n        ],\n      });\n    });\n  }\n\n  resizeEvents() {\n    $(window).on('resize', () => {\n      this.gridInit();\n    });\n  }\n\n  events() {\n    this.resizeEvents();\n  }\n}\n\nexport default accordionHorizontal;\nnew accordionHorizontal();\n","module.exports = window[\"jQuery\"];"],"names":["accordionHorizontal","console","this","document","grids","tab","grid","$","contentPadding","tabPadding","speed","responsive","breakpoint","settings","module","exports","window"],"sourceRoot":""}