{"ast":null,"code":"// Corresponds to 10 frames at 60 Hz.\n// A few bytes payload overhead when lodash/debounce is ~3 kB and debounce ~300 B.\nexport default function debounce(func) {\n  var wait = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 166;\n  var timeout;\n\n  function debounced() {\n    for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n      args[_key] = arguments[_key];\n    } // eslint-disable-next-line consistent-this\n\n\n    var that = this;\n\n    var later = function later() {\n      func.apply(that, args);\n    };\n\n    clearTimeout(timeout);\n    timeout = setTimeout(later, wait);\n  }\n\n  debounced.clear = function () {\n    clearTimeout(timeout);\n  };\n\n  return debounced;\n}","map":{"version":3,"sources":["C:/laragon/www/itokin/DriverOPCDA/frontend/node_modules/@material-ui/core/esm/utils/debounce.js"],"names":["debounce","func","wait","arguments","length","undefined","timeout","debounced","_len","args","Array","_key","that","later","apply","clearTimeout","setTimeout","clear"],"mappings":"AAAA;AACA;AACA,eAAe,SAASA,QAAT,CAAkBC,IAAlB,EAAwB;AACrC,MAAIC,IAAI,GAAGC,SAAS,CAACC,MAAV,GAAmB,CAAnB,IAAwBD,SAAS,CAAC,CAAD,CAAT,KAAiBE,SAAzC,GAAqDF,SAAS,CAAC,CAAD,CAA9D,GAAoE,GAA/E;AACA,MAAIG,OAAJ;;AAEA,WAASC,SAAT,GAAqB;AACnB,SAAK,IAAIC,IAAI,GAAGL,SAAS,CAACC,MAArB,EAA6BK,IAAI,GAAG,IAAIC,KAAJ,CAAUF,IAAV,CAApC,EAAqDG,IAAI,GAAG,CAAjE,EAAoEA,IAAI,GAAGH,IAA3E,EAAiFG,IAAI,EAArF,EAAyF;AACvFF,MAAAA,IAAI,CAACE,IAAD,CAAJ,GAAaR,SAAS,CAACQ,IAAD,CAAtB;AACD,KAHkB,CAKnB;;;AACA,QAAIC,IAAI,GAAG,IAAX;;AAEA,QAAIC,KAAK,GAAG,SAASA,KAAT,GAAiB;AAC3BZ,MAAAA,IAAI,CAACa,KAAL,CAAWF,IAAX,EAAiBH,IAAjB;AACD,KAFD;;AAIAM,IAAAA,YAAY,CAACT,OAAD,CAAZ;AACAA,IAAAA,OAAO,GAAGU,UAAU,CAACH,KAAD,EAAQX,IAAR,CAApB;AACD;;AAEDK,EAAAA,SAAS,CAACU,KAAV,GAAkB,YAAY;AAC5BF,IAAAA,YAAY,CAACT,OAAD,CAAZ;AACD,GAFD;;AAIA,SAAOC,SAAP;AACD","sourcesContent":["// Corresponds to 10 frames at 60 Hz.\n// A few bytes payload overhead when lodash/debounce is ~3 kB and debounce ~300 B.\nexport default function debounce(func) {\n  var wait = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 166;\n  var timeout;\n\n  function debounced() {\n    for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n      args[_key] = arguments[_key];\n    }\n\n    // eslint-disable-next-line consistent-this\n    var that = this;\n\n    var later = function later() {\n      func.apply(that, args);\n    };\n\n    clearTimeout(timeout);\n    timeout = setTimeout(later, wait);\n  }\n\n  debounced.clear = function () {\n    clearTimeout(timeout);\n  };\n\n  return debounced;\n}"]},"metadata":{},"sourceType":"module"}