{"version":3,"file":"chunks/c4ab23dbb793bb.js","mappings":"6xBAA4B,IAEPA,EAAgB,WAInC,SAAAA,EAAYC,I,4FAAsBC,CAAA,KAAAF,GAChCG,KAAKF,QAAUG,EAAEH,GACjBE,KAAKE,OAASD,EAAE,wCAAyCD,KAAKF,SAC9DE,KAAKG,MACP,C,QAQC,O,EARAN,G,EAAA,EAAAO,IAAA,OAAAC,MAED,WACEL,KAAKE,OAAOI,GAAG,SAAUN,KAAKO,aAAaC,KAAKR,MAClD,GAAC,CAAAI,IAAA,eAAAC,MAED,SAAaI,GACXC,OAAOC,SAASC,QAAQH,EAAEI,OAAOR,MACnC,M,oEAACR,CAAA,CAhBkC,E","sources":["webpack:///./resources/js/components/showroom/category-selector.ts"],"sourcesContent":["import * as $ from \"jquery\";\n\nexport default class CategorySelector {\n domRoot: JQuery;\n select: JQuery;\n \n constructor(domRoot: HTMLElement) {\n this.domRoot = $(domRoot);\n this.select = $('.component--category-selector__select', this.domRoot);\n this.init();\n }\n\n init() {\n this.select.on('change', this.handleChange.bind(this));\n }\n\n handleChange(e) {\n window.location.replace(e.target.value);\n }\n}\n"],"names":["CategorySelector","domRoot","_classCallCheck","this","$","select","init","key","value","on","handleChange","bind","e","window","location","replace","target"],"sourceRoot":""}