/**
 * Minified by jsDelivr using Terser v5.39.0.
 * Original file: /npm/inline-worker@1.1.0/index.js
 *
 * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files
 */
var WORKER_ENABLED=!!(global===global.window&&global.URL&&global.Blob&&global.Worker);function InlineWorker(e,o){var t,n=this;if(o=o||{},WORKER_ENABLED)return t=e.toString().trim().match(/^function\s*\w*\s*\([\w\s,]*\)\s*{([\w\W]*?)}$/)[1],new global.Worker(global.URL.createObjectURL(new global.Blob([t],{type:"text/javascript"})));this.self=o,this.self.postMessage=function(e){setTimeout((function(){n.onmessage({data:e})}),0)},setTimeout(e.bind(o,o),0)}InlineWorker.prototype.postMessage=function(e){var o=this;setTimeout((function(){o.self.onmessage({data:e})}),0)},module.exports=InlineWorker;
//# sourceMappingURL=/sm/03ed66bfbd55cd7466a65237b017555aaf8ccda9815294a8df23ba36143023f3.map