{"version":3,"sources":["webpack:///./Scripts/Components/Vanilla/HeaderDimensionSearch.js"],"names":["elem","document","getElementById","widthInput","querySelector","profileInput","diameterInput","addEventListener","e","target","value","length","focus","replace"],"mappings":"kEAAA,MAAMA,EAAOC,SAASC,eAAe,2BACrC,GAAIF,EAAM,CACR,MAAMG,EAAaH,EAAKI,cAAc,uBAChCC,EAAeL,EAAKI,cAAc,yBAClCE,EAAgBN,EAAKI,cAAc,6BAEzCD,EAAWI,iBAAiB,SAAUC,IACP,GAAzBA,EAAEC,OAAOC,MAAMC,QACjBN,EAAaO,OACd,IAGHP,EAAaE,iBAAiB,SAAUC,IACT,GAAzBA,EAAEC,OAAOC,MAAMC,QACjBL,EAAcM,OACf,IAGHN,EAAcC,iBAAiB,SAAUC,IACvCA,EAAEC,OAAOC,MAAQF,EAAEC,OAAOC,MAAMG,QAAQ,YAAa,GAArD,GAEH,C","file":"5110.0dbf30c9b931b51ab1c2.js","sourcesContent":["const elem = document.getElementById('header-dimension-search');\nif (elem) {\n const widthInput = elem.querySelector('input[name=\"Width\"]');\n const profileInput = elem.querySelector('input[name=\"Profile\"]');\n const diameterInput = elem.querySelector('input[name=\"RimDiameter\"]');\n\n widthInput.addEventListener('input', (e) => {\n if (e.target.value.length == 3) {\n profileInput.focus();\n }\n });\n\n profileInput.addEventListener('input', (e) => {\n if (e.target.value.length == 2) {\n diameterInput.focus();\n }\n });\n\n diameterInput.addEventListener('input', (e) => {\n e.target.value = e.target.value.replace(/[^0-9 \\,]/, ''); \n });\n}\n"],"sourceRoot":""}