| /* |
| From https://raw.githubusercontent.com/bterlson/eshost/master/runtimes/jsc.js |
| |
| Copyright 2018 Brian Terlson. |
| |
| This software consists of voluntary contributions made by many |
| individuals. For exact contribution history, see the revision history |
| available at https://github.com/bterlson/eshost. |
| |
| The following license applies to all parts of this software except as |
| documented below: |
| |
| ==== |
| |
| Permission is hereby granted, free of charge, to any person obtaining |
| a copy of this software and associated documentation files (the |
| "Software"), to deal in the Software without restriction, including |
| without limitation the rights to use, copy, modify, merge, publish, |
| distribute, sublicense, and/or sell copies of the Software, and to |
| permit persons to whom the Software is furnished to do so, subject to |
| the following conditions: |
| |
| The above copyright notice and this permission notice shall be |
| included in all copies or substantial portions of the Software. |
| |
| THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, |
| EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF |
| MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND |
| NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE |
| LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION |
| OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION |
| WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
| |
| ==== |
| |
| All files located in the node_modules and external directories are |
| externally maintained libraries used by this software which have their |
| own licenses; we recommend you read them, as their terms may differ from |
| the terms above. |
| |
| */ |
| |
| /* JavaScriptCore exposes a "$" object to its runtime */ |
| /* Using this["\x24"]; prevents overwrite by ConsoleAgent */ |
| var jsc = this["\x24"]; |
| var $262 = { |
| agent: jsc.agent, |
| global: jsc.global, |
| createRealm: jsc.createRealm, |
| detachArrayBuffer: jsc.detachArrayBuffer, |
| evalScript: jsc.evalScript, |
| getGlobal(name) { |
| return this.global[name]; |
| }, |
| setGlobal(name, value) { |
| this.global[name] = value; |
| }, |
| destroy() { /* noop */ }, |
| IsHTMLDDA() { return {}; }, |
| }; |