shadow$provide.module$node_modules$pixi_DOT_js$lib$_virtual$checkImageBitmap_worker = function(global, require, module, exports) {
  Object.defineProperty(exports, "__esModule", {value:!0});
  let WORKER_URL = null;
  class WorkerInstance {
    constructor() {
      WORKER_URL || (WORKER_URL = URL.createObjectURL(new Blob(['(function () {\n    \'use strict\';\n\n    const WHITE_PNG \x3d "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mP8/x8AAwMCAO+ip1sAAAAASUVORK5CYII\x3d";\n    async function checkImageBitmap() {\n      try {\n        if (typeof createImageBitmap !\x3d\x3d "function") return false;\n        const response \x3d await fetch(WHITE_PNG);\n        const imageBlob \x3d await response.blob();\n        const imageBitmap \x3d await createImageBitmap(imageBlob);\n        return imageBitmap.width \x3d\x3d\x3d 1 \x26\x26 imageBitmap.height \x3d\x3d\x3d 1;\n      } catch (_e) {\n        return false;\n      }\n    }\n    void checkImageBitmap().then((result) \x3d\x3e {\n      self.postMessage(result);\n    });\n\n})();\n'], 
      {type:"application/javascript"})));
      this.worker = new Worker(WORKER_URL);
    }
  }
  WorkerInstance.revokeObjectURL = function() {
    WORKER_URL && (URL.revokeObjectURL(WORKER_URL), WORKER_URL = null);
  };
  exports.default = WorkerInstance;
};

//# sourceMappingURL=module$node_modules$pixi_DOT_js$lib$_virtual$checkImageBitmap_worker.js.map
