UNPKG

@minecraft/creator-tools

Version:

Minecraft Creator Tools command line and libraries.

488 lines (358 loc) 15 kB
/* @preserve * Leaflet 1.7.1, a JS library for interactive maps. http://leafletjs.com * (c) 2010-2019 Vladimir Agafonkin, (c) 2010-2011 CloudMade */ /* v8 ignore else -- @preserve */ /* v8 ignore else -- @preserve -- Bug with vitest coverage where it sees an else branch that doesn't exist */ /* v8 ignore next -- @preserve */ /*! JSZip v3.10.1 - A JavaScript class for generating and reading zip files <http://stuartk.com/jszip> (c) 2009-2016 Stuart Knightley <stuart [at] stuartk.com> Dual licenced under the MIT license or GPLv3. See https://raw.github.com/Stuk/jszip/main/LICENSE.markdown. JSZip uses the library pako released under the MIT license : https://github.com/nodeca/pako/blob/main/LICENSE */ /*! localForage -- Offline Storage, Improved Version 1.9.0 https://localforage.github.io/localForage (c) 2013-2017 Mozilla, Apache License 2.0 */ /*! * Cross-Browser Split 1.1.1 * Copyright 2007-2012 Steven Levithan <stevenlevithan.com> * Available under the MIT License * ECMAScript compliant, uniform cross-browser split method */ /*! * Strongly Typed Events for TypeScript - Core * https://github.com/KeesCBakker/StronlyTypedEvents/ * http://keestalkstech.com * * Copyright Kees C. Bakker / KeesTalksTech * Released under the MIT license */ /*! * TOAST UI Date Picker * @version 4.3.3 * @author NHN Cloud. FE Development Lab <dl_javascript@nhn.com> * @license MIT */ /*! * TOAST UI Grid * @version 4.21.22 | Wed Jan 10 2024 * @author NHN Cloud. FE Development Lab * @license MIT */ /*! * TOAST UI Pagination * @version 3.4.1 * @author NHN FE Development Team <dl_javascript@nhn.com> * @license MIT */ /*! * TOAST UI Select Box * @version 1.0.0 | Thu Oct 24 2019 * @author NHN FE Development Lab <dl_javascript@nhn.com> * @license MIT */ /*! * TOAST UI Time Picker * @version 2.1.6 * @license MIT */ /*! * The buffer module from node.js, for the browser. * * @author Feross Aboukhadijeh <https://feross.org> * @license MIT */ /*! ***************************************************************************** Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABLITY OR NON-INFRINGEMENT. See the Apache Version 2.0 License for specific language governing permissions and limitations under the License. ***************************************************************************** */ /*! ../array/inArray */ /*! ../collection/forEach */ /*! ../collection/forEachArray */ /*! ../collection/forEachOwnProperties */ /*! ../collection/toArray */ /*! ../css/selectBox.css */ /*! ../object/extend */ /*! ../type/isArray */ /*! ../type/isExisty */ /*! ../type/isFunction */ /*! ../type/isObject */ /*! ../type/isString */ /*! ../type/isUndefined */ /*! ./_safeEvent */ /*! ./_setClassName */ /*! ./constants */ /*! ./dropdown */ /*! ./forEachArray */ /*! ./getClass */ /*! ./imagePing */ /*! ./input */ /*! ./isNull */ /*! ./isUndefined */ /*! ./item */ /*! ./itemGroup */ /*! ./keyEventUtils */ /*! ./matches */ /*! ./selectBox */ /*! ./theme */ /*! ./themeConfig */ /*! ./utils */ /*! @license DOMPurify 2.3.9 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/2.3.9/LICENSE */ /*! @license DOMPurify 3.0.5 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.0.5/LICENSE */ /*! cpexcel.js (C) 2013-present SheetJS -- http://sheetjs.com */ /*! cputils.js (C) 2013-present SheetJS -- http://sheetjs.com */ /*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */ /*! no static exports found */ /*! tui-code-snippet/collection/forEachArray */ /*! tui-code-snippet/collection/forEachOwnProperties */ /*! tui-code-snippet/customEvents/customEvents */ /*! tui-code-snippet/domEvent/getTarget */ /*! tui-code-snippet/domEvent/off */ /*! tui-code-snippet/domEvent/on */ /*! tui-code-snippet/domEvent/preventDefault */ /*! tui-code-snippet/domUtil/addClass */ /*! tui-code-snippet/domUtil/closest */ /*! tui-code-snippet/domUtil/removeClass */ /*! tui-code-snippet/domUtil/removeElement */ /*! tui-code-snippet/request/sendHostname */ /*! tui-code-snippet/type/isArray */ /*! tui-code-snippet/type/isBoolean */ /*! tui-code-snippet/type/isExisty */ /*! tui-code-snippet/type/isHTMLNode */ /*! tui-code-snippet/type/isNumber */ /*! tui-code-snippet/type/isObject */ /*! tui-code-snippet/type/isString */ /*!************************!*\ !*** ./src/js/item.js ***! \************************/ /*!*************************!*\ !*** ./src/js/index.js ***! \*************************/ /*!*************************!*\ !*** ./src/js/input.js ***! \*************************/ /*!*************************!*\ !*** ./src/js/theme.js ***! \*************************/ /*!*************************!*\ !*** ./src/js/utils.js ***! \*************************/ /*!****************************!*\ !*** ./src/js/dropdown.js ***! \****************************/ /*!*****************************!*\ !*** ./src/js/constants.js ***! \*****************************/ /*!*****************************!*\ !*** ./src/js/itemGroup.js ***! \*****************************/ /*!*****************************!*\ !*** ./src/js/selectBox.js ***! \*****************************/ /*!*******************************!*\ !*** ./src/css/selectBox.css ***! \*******************************/ /*!*******************************!*\ !*** ./src/js/themeConfig.js ***! \*******************************/ /*!*********************************!*\ !*** ./src/js/keyEventUtils.js ***! \*********************************/ /*!******************************************************!*\ !*** ./node_modules/tui-code-snippet/domEvent/on.js ***! \******************************************************/ /*!******************************************************!*\ !*** ./node_modules/tui-code-snippet/type/isNull.js ***! \******************************************************/ /*!*******************************************************!*\ !*** ./node_modules/tui-code-snippet/domEvent/off.js ***! \*******************************************************/ /*!*******************************************************!*\ !*** ./node_modules/tui-code-snippet/type/isArray.js ***! \*******************************************************/ /*!********************************************************!*\ !*** ./node_modules/tui-code-snippet/array/inArray.js ***! \********************************************************/ /*!********************************************************!*\ !*** ./node_modules/tui-code-snippet/object/extend.js ***! \********************************************************/ /*!********************************************************!*\ !*** ./node_modules/tui-code-snippet/type/isExisty.js ***! \********************************************************/ /*!********************************************************!*\ !*** ./node_modules/tui-code-snippet/type/isNumber.js ***! \********************************************************/ /*!********************************************************!*\ !*** ./node_modules/tui-code-snippet/type/isObject.js ***! \********************************************************/ /*!********************************************************!*\ !*** ./node_modules/tui-code-snippet/type/isString.js ***! \********************************************************/ /*!*********************************************************!*\ !*** ./node_modules/tui-code-snippet/type/isBoolean.js ***! \*********************************************************/ /*!**********************************************************!*\ !*** ./node_modules/tui-code-snippet/domUtil/closest.js ***! \**********************************************************/ /*!**********************************************************!*\ !*** ./node_modules/tui-code-snippet/domUtil/matches.js ***! \**********************************************************/ /*!**********************************************************!*\ !*** ./node_modules/tui-code-snippet/type/isFunction.js ***! \**********************************************************/ /*!**********************************************************!*\ !*** ./node_modules/tui-code-snippet/type/isHTMLNode.js ***! \**********************************************************/ /*!***********************************************************!*\ !*** ./node_modules/tui-code-snippet/domUtil/addClass.js ***! \***********************************************************/ /*!***********************************************************!*\ !*** ./node_modules/tui-code-snippet/domUtil/getClass.js ***! \***********************************************************/ /*!***********************************************************!*\ !*** ./node_modules/tui-code-snippet/type/isUndefined.js ***! \***********************************************************/ /*!************************************************************!*\ !*** ./node_modules/tui-code-snippet/request/imagePing.js ***! \************************************************************/ /*!*************************************************************!*\ !*** ./node_modules/tui-code-snippet/collection/forEach.js ***! \*************************************************************/ /*!*************************************************************!*\ !*** ./node_modules/tui-code-snippet/collection/toArray.js ***! \*************************************************************/ /*!*************************************************************!*\ !*** ./node_modules/tui-code-snippet/domEvent/getTarget.js ***! \*************************************************************/ /*!**************************************************************!*\ !*** ./node_modules/tui-code-snippet/domEvent/_safeEvent.js ***! \**************************************************************/ /*!**************************************************************!*\ !*** ./node_modules/tui-code-snippet/domUtil/removeClass.js ***! \**************************************************************/ /*!***************************************************************!*\ !*** ./node_modules/tui-code-snippet/request/sendHostname.js ***! \***************************************************************/ /*!****************************************************************!*\ !*** ./node_modules/tui-code-snippet/domUtil/_setClassName.js ***! \****************************************************************/ /*!****************************************************************!*\ !*** ./node_modules/tui-code-snippet/domUtil/removeElement.js ***! \****************************************************************/ /*!******************************************************************!*\ !*** ./node_modules/tui-code-snippet/collection/forEachArray.js ***! \******************************************************************/ /*!******************************************************************!*\ !*** ./node_modules/tui-code-snippet/domEvent/preventDefault.js ***! \******************************************************************/ /*!********************************************************************!*\ !*** ./node_modules/tui-code-snippet/customEvents/customEvents.js ***! \********************************************************************/ /*!**************************************************************************!*\ !*** ./node_modules/tui-code-snippet/collection/forEachOwnProperties.js ***! \**************************************************************************/ /*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Version: 0.48.0(0037b13fb5d186fdf1e7df51a9416a2de2b8c670) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt *-----------------------------------------------------------------------------*/ /** * @license * Copyright 2019 Google LLC * SPDX-License-Identifier: Apache-2.0 */ /** * @license React * react-dom.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ /** * @license React * react-is.production.js * * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ /** * @license React * react-jsx-runtime.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ /** * @license React * react.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ /** * @license React * scheduler.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ /** * @license React * use-sync-external-store-shim.production.js * * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ /** * @license React * use-sync-external-store-shim/with-selector.production.js * * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ /** * [js-md5]{@link https://github.com/emn178/js-md5} * * @namespace md5 * @version 0.8.3 * @author Chen, Yi-Cyuan [emn178@gmail.com] * @copyright Chen, Yi-Cyuan 2014-2023 * @license MIT */ /** @license React v16.13.1 * react-is.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */