{"version":3,"sources":["jsdelivr-header.js","/npm/v-debounce@0.2.0/index.js"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA,ACNA,MAAM,SAAW,QAAQ,cAOzB,SAAS,UAAW,EAAI,GAClB,EAAK,QAAU,EAAK,WACtB,EAAG,QAAU,UAAU,UAAS,SAAU,GACxC,EAAG,cAAc,eAAe,UAClC,GAAG,SAAS,EAAK,QAAU,KAE/B,CAGA,SAAS,eAAgB,GACvB,IAAI,EAOJ,MANuB,mBAAZ,MACT,EAAI,IAAI,MAAM,IAEd,EAAI,SAAS,YAAY,SACzB,EAAE,UAAU,GAAW,GAAM,IAExB,CACT,CAvBA,UAAU,SAAW,SA0BrB,OAAO,QAAU,CACf,QAAU,IACR,EAAI,UAAU,WAAY,UAAS,EAErC","file":"/npm/v-debounce@0.2.0/index.js","sourceRoot":"","sourcesContent":["/**\n * Minified by jsDelivr using Terser v5.37.0.\n * Original file: /npm/v-debounce@0.2.0/index.js\n *\n * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files\n */\n","const debounce = require('./debounce')\r\n\r\ndirective.debounce = debounce\r\n\r\n/**\r\n* Attach directive to element and wait for input to stop. Default timeout 800ms or 0.8s.\r\n*/\r\nfunction directive (el, bind) {\r\n  if (bind.value !== bind.oldValue) { // change debounce only if interval has changed\r\n    el.oninput = directive.debounce(function (e) {\r\n      el.dispatchEvent(createNewEvent('change'))\r\n    }, parseInt(bind.value) || 800)\r\n  }\r\n}\r\n\r\n// IE Support\r\nfunction createNewEvent (eventName) {\r\n  let e\r\n  if (typeof (Event) === 'function') {\r\n    e = new Event(eventName)\r\n  } else {\r\n    e = document.createEvent('Event')\r\n    e.initEvent(eventName, true, true)\r\n  }\r\n  return e\r\n}\r\n\r\n// For when installing application wide\r\nmodule.exports = {\r\n  install: (Vue) => {\r\n    Vue.directive('debounce', directive)\r\n  },\r\n  directive\r\n}\r\n"]}