{"version":3,"sources":["jsdelivr-header.js","/npm/is-webgl-context@1.1.0/index.js"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA,ACLA,OAAO,QAAU,SAAyB,GACxC,IAAK,EAAK,OAAO,EACjB,IAAI,EAAK,EAMT,YAHyB,IAAd,EAAI,QACb,EAAK,EAAI,OAE2B,oBAA1B,uBACL,aAAc,uBACgB,oBAA3B,wBACH,aAAc,sBAIvB","file":"/npm/is-webgl-context@1.1.0/index.js","sourceRoot":"","sourcesContent":["/**\n * Minified by jsDelivr using Terser v5.19.2.\n * Original file: /npm/is-webgl-context@1.1.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","/*globals WebGL2RenderingContext,WebGLRenderingContext*/\nmodule.exports = function isWebGLContext (ctx) {\n  if (!ctx) return false\n  var gl = ctx\n\n  // compatibility with Chrome WebGL Inspector Addon\n  if (typeof ctx.rawgl !== 'undefined') {\n    gl = ctx.rawgl\n  }\n  if ((typeof WebGLRenderingContext !== 'undefined' \n      && gl instanceof WebGLRenderingContext) || \n    (typeof WebGL2RenderingContext !== 'undefined'\n      && gl instanceof WebGL2RenderingContext)) {\n    return true\n  }\n  return false\n}\n"]}