/** * @license * Copyright 2021 Google LLC * SPDX-License-Identifier: Apache-2.0 */ /** * @fileoverview Loads uncompressed Blockly when running locally. Loads * compressed otherwise. */ 'use strict'; /** * Loads all the compressed or uncompressed dependencies necessary to run the * playground. This is necessary since the goog.module conversion. Please see * issue #5557 for more information. */ (function() { const isIe = navigator.userAgent.indexOf('MSIE') !== -1 || navigator.appVersion.indexOf('Trident/') > -1; if ((location.hostname === 'localhost' || location.hostname === '127.0.0.1' || location.hostname === '[::1]') && !isIe) { document.write( ``); document.write(``); document.write(``); document.write( ``); document.write(``); } else { document.write( ``); document.write(``); document.write(``); document.write(``); document.write(``); document.write(``); document.write(``); document.write(``); } })();