/*! * fill-range * * Copyright (c) 2014-present, Jon Schlinkert. * Licensed under the MIT License. */ /*! * is-extglob * * Copyright (c) 2014-2016, Jon Schlinkert. * Licensed under the MIT License. */ /*! * is-glob * * Copyright (c) 2014-2017, Jon Schlinkert. * Released under the MIT License. */ /*! * is-number * * Copyright (c) 2014-present, Jon Schlinkert. * Released under the MIT License. */ /*! * normalize-path * * Copyright (c) 2014-2018, Jon Schlinkert. * Released under the MIT License. */ /*! * to-regex-range * * Copyright (c) 2015-present, Jon Schlinkert. * Released under the MIT License. */ /*! ../../../src/framework-mgmt/pinegrow-config-manager.js */ /*! ../../../src/framework-mgmt/transform-plugins.js */ /*! ../contrib/parseqs.js */ /*! ../contrib/yeast.js */ /*! ../globalThis.js */ /*! ../helpers/regeneratorRuntime */ /*! ../transport.js */ /*! ../util.js */ /*! ./arrayLikeToArray.js */ /*! ./arrayWithHoles.js */ /*! ./arrayWithoutHoles.js */ /*! ./binary-extensions.json */ /*! ./binary.js */ /*! ./browser.js */ /*! ./buffer-util */ /*! ./common */ /*! ./commons.js */ /*! ./constants */ /*! ./contrib/backo2.js */ /*! ./contrib/parseqs.js */ /*! ./contrib/parseuri.js */ /*! ./decodePacket.js */ /*! ./encodePacket.js */ /*! ./event-target */ /*! ./extension */ /*! ./fallback */ /*! ./globalThis.js */ /*! ./is-binary.js */ /*! ./iterableToArray.js */ /*! ./iterableToArrayLimit.js */ /*! ./lib/compile */ /*! ./lib/constants */ /*! ./lib/expand */ /*! ./lib/fsevents-handler */ /*! ./lib/nodefs-handler */ /*! ./lib/parse */ /*! ./lib/picomatch */ /*! ./lib/receiver.js */ /*! ./lib/sender.js */ /*! ./lib/stream.js */ /*! ./lib/stringify */ /*! ./lib/websocket-server.js */ /*! ./lib/websocket.js */ /*! ./limiter */ /*! ./manager.js */ /*! ./node-gyp-build.js */ /*! ./node.js */ /*! ./nonIterableRest.js */ /*! ./nonIterableSpread.js */ /*! ./objectWithoutPropertiesLoose.js */ /*! ./on.js */ /*! ./parse */ /*! ./permessage-deflate */ /*! ./polling.js */ /*! ./receiver */ /*! ./scan */ /*! ./sender */ /*! ./socket.js */ /*! ./stringify */ /*! ./subprotocol */ /*! ./toPrimitive.js */ /*! ./toPropertyKey.js */ /*! ./transport.js */ /*! ./transports/index.js */ /*! ./transports/websocket-constructor.js */ /*! ./typeof.js */ /*! ./unsupportedIterableToArray.js */ /*! ./url.js */ /*! ./util.js */ /*! ./utils */ /*! ./validation */ /*! ./websocket */ /*! ./websocket-constructor.js */ /*! ./websocket.js */ /*! ./xmlhttprequest.js */ /*! @babel/runtime/helpers/asyncToGenerator */ /*! @babel/runtime/helpers/classCallCheck */ /*! @babel/runtime/helpers/createClass */ /*! @babel/runtime/helpers/defineProperty */ /*! @babel/runtime/helpers/objectWithoutProperties */ /*! @babel/runtime/helpers/slicedToArray */ /*! @babel/runtime/helpers/toConsumableArray */ /*! @babel/runtime/helpers/typeof */ /*! @babel/runtime/regenerator */ /*! @socket.io/component-emitter */ /*! anymatch */ /*! binary-extensions */ /*! braces */ /*! child_process */ /*! chokidar */ /*! crypto */ /*! debug */ /*! engine.io-client */ /*! engine.io-parser */ /*! events */ /*! fill-range */ /*! fs */ /*! fsevents */ /*! glob-parent */ /*! has-flag */ /*! http */ /*! https */ /*! https://mths.be/cssesc v3.0.0 by @mathias */ /*! is-binary-path */ /*! is-extglob */ /*! is-glob */ /*! is-number */ /*! module */ /*! ms */ /*! net */ /*! node-gyp-build */ /*! normalize-path */ /*! os */ /*! path */ /*! picomatch */ /*! readdirp */ /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ /*! socket.io-client */ /*! socket.io-parser */ /*! stream */ /*! supports-color */ /*! tls */ /*! to-regex-range */ /*! tty */ /*! url */ /*! utf-8-validate */ /*! util */ /*! ws */ /*! xmlhttprequest-ssl */ /*! zlib */ /*!*********************!*\ !*** external "fs" ***! \*********************/ /*!*********************!*\ !*** external "os" ***! \*********************/ /*!**********************!*\ !*** ./src/index.js ***! \**********************/ /*!**********************!*\ !*** external "net" ***! \**********************/ /*!**********************!*\ !*** external "tls" ***! \**********************/ /*!**********************!*\ !*** external "tty" ***! \**********************/ /*!**********************!*\ !*** external "url" ***! \**********************/ /*!***********************!*\ !*** external "http" ***! \***********************/ /*!***********************!*\ !*** external "path" ***! \***********************/ /*!***********************!*\ !*** external "util" ***! \***********************/ /*!***********************!*\ !*** external "zlib" ***! \***********************/ /*!************************!*\ !*** external "https" ***! \************************/ /*!*************************!*\ !*** external "crypto" ***! \*************************/ /*!*************************!*\ !*** external "events" ***! \*************************/ /*!*************************!*\ !*** external "module" ***! \*************************/ /*!*************************!*\ !*** external "stream" ***! \*************************/ /*!***************************!*\ !*** external "fsevents" ***! \***************************/ /*!********************************!*\ !*** external "child_process" ***! \********************************/ /*!*************************************!*\ !*** ./node_modules/ws/wrapper.mjs ***! \*************************************/ /*!**************************************!*\ !*** ../../node_modules/ms/index.js ***! \**************************************/ /*!***************************************!*\ !*** ./node_modules/ws/lib/sender.js ***! \***************************************/ /*!***************************************!*\ !*** ./node_modules/ws/lib/stream.js ***! \***************************************/ /*!****************************************!*\ !*** ./node_modules/ws/lib/limiter.js ***! \****************************************/ /*!*****************************************!*\ !*** ./node_modules/ws/lib/receiver.js ***! \*****************************************/ /*!******************************************!*\ !*** ../../node_modules/braces/index.js ***! \******************************************/ /*!******************************************!*\ !*** ./node_modules/ws/lib/constants.js ***! \******************************************/ /*!******************************************!*\ !*** ./node_modules/ws/lib/extension.js ***! \******************************************/ /*!******************************************!*\ !*** ./node_modules/ws/lib/websocket.js ***! \******************************************/ /*!*******************************************!*\ !*** ../../node_modules/is-glob/index.js ***! \*******************************************/ /*!*******************************************!*\ !*** ./node_modules/ws/lib/validation.js ***! \*******************************************/ /*!********************************************!*\ !*** ../../node_modules/anymatch/index.js ***! \********************************************/ /*!********************************************!*\ !*** ../../node_modules/chokidar/index.js ***! \********************************************/ /*!********************************************!*\ !*** ../../node_modules/debug/src/node.js ***! \********************************************/ /*!********************************************!*\ !*** ../../node_modules/has-flag/index.js ***! \********************************************/ /*!********************************************!*\ !*** ../../node_modules/readdirp/index.js ***! \********************************************/ /*!********************************************!*\ !*** ./node_modules/ws/lib/buffer-util.js ***! \********************************************/ /*!********************************************!*\ !*** ./node_modules/ws/lib/subprotocol.js ***! \********************************************/ /*!*********************************************!*\ !*** ../../node_modules/debug/src/index.js ***! \*********************************************/ /*!*********************************************!*\ !*** ../../node_modules/is-number/index.js ***! \*********************************************/ /*!*********************************************!*\ !*** ../../node_modules/picomatch/index.js ***! \*********************************************/ /*!*********************************************!*\ !*** ./node_modules/ws/lib/event-target.js ***! \*********************************************/ /*!**********************************************!*\ !*** ../../node_modules/braces/lib/parse.js ***! \**********************************************/ /*!**********************************************!*\ !*** ../../node_modules/braces/lib/utils.js ***! \**********************************************/ /*!**********************************************!*\ !*** ../../node_modules/debug/src/common.js ***! \**********************************************/ /*!**********************************************!*\ !*** ../../node_modules/fill-range/index.js ***! \**********************************************/ /*!**********************************************!*\ !*** ../../node_modules/is-extglob/index.js ***! \**********************************************/ /*!***********************************************!*\ !*** ../../node_modules/braces/lib/expand.js ***! \***********************************************/ /*!***********************************************!*\ !*** ../../node_modules/debug/src/browser.js ***! \***********************************************/ /*!***********************************************!*\ !*** ../../node_modules/glob-parent/index.js ***! \***********************************************/ /*!************************************************!*\ !*** ../../node_modules/braces/lib/compile.js ***! \************************************************/ /*!************************************************!*\ !*** ../../node_modules/picomatch/lib/scan.js ***! \************************************************/ /*!*************************************************!*\ !*** ../../node_modules/picomatch/lib/parse.js ***! \*************************************************/ /*!*************************************************!*\ !*** ../../node_modules/picomatch/lib/utils.js ***! \*************************************************/ /*!*************************************************!*\ !*** ./node_modules/ws/lib/websocket-server.js ***! \*************************************************/ /*!**************************************************!*\ !*** ../../node_modules/braces/lib/constants.js ***! \**************************************************/ /*!**************************************************!*\ !*** ../../node_modules/braces/lib/stringify.js ***! \**************************************************/ /*!**************************************************!*\ !*** ../../node_modules/is-binary-path/index.js ***! \**************************************************/ /*!**************************************************!*\ !*** ../../node_modules/node-gyp-build/index.js ***! \**************************************************/ /*!**************************************************!*\ !*** ../../node_modules/normalize-path/index.js ***! \**************************************************/ /*!**************************************************!*\ !*** ../../node_modules/supports-color/index.js ***! \**************************************************/ /*!**************************************************!*\ !*** ../../node_modules/to-regex-range/index.js ***! \**************************************************/ /*!**************************************************!*\ !*** ../../node_modules/utf-8-validate/index.js ***! \**************************************************/ /*!***************************************************!*\ !*** ./node_modules/ws/lib/permessage-deflate.js ***! \***************************************************/ /*!****************************************************!*\ !*** ../../node_modules/chokidar/lib/constants.js ***! \****************************************************/ /*!*****************************************************!*\ !*** ../../node_modules/binary-extensions/index.js ***! \*****************************************************/ /*!*****************************************************!*\ !*** ../../node_modules/picomatch/lib/constants.js ***! \*****************************************************/ /*!*****************************************************!*\ !*** ../../node_modules/picomatch/lib/picomatch.js ***! \*****************************************************/ /*!*****************************************************!*\ !*** ../../node_modules/utf-8-validate/fallback.js ***! \*****************************************************/ /*!*****************************************************!*\ !*** ../../src/framework-mgmt/transform-plugins.js ***! \*****************************************************/ /*!*********************************************************!*\ !*** ../../node_modules/chokidar/lib/nodefs-handler.js ***! \*********************************************************/ /*!**********************************************************!*\ !*** ./node_modules/engine.io-parser/build/esm/index.js ***! \**********************************************************/ /*!***********************************************************!*\ !*** ../../node_modules/@babel/runtime/helpers/typeof.js ***! \***********************************************************/ /*!***********************************************************!*\ !*** ../../node_modules/chokidar/lib/fsevents-handler.js ***! \***********************************************************/ /*!***********************************************************!*\ !*** ../../node_modules/node-gyp-build/node-gyp-build.js ***! \***********************************************************/ /*!***********************************************************!*\ !*** ../../src/framework-mgmt/pinegrow-config-manager.js ***! \***********************************************************/ /*!************************************************************!*\ !*** ./node_modules/engine.io-parser/build/esm/commons.js ***! \************************************************************/ /*!*************************************************************!*\ !*** ./node_modules/socket.io-client/build/esm-debug/on.js ***! \*************************************************************/ /*!**************************************************************!*\ !*** ../../node_modules/@babel/runtime/regenerator/index.js ***! \**************************************************************/ /*!**************************************************************!*\ !*** ./node_modules/socket.io-client/build/esm-debug/url.js ***! \**************************************************************/ /*!***************************************************************!*\ !*** ./node_modules/engine.io-client/build/esm-debug/util.js ***! \***************************************************************/ /*!****************************************************************!*\ !*** ../../node_modules/@babel/runtime/helpers/createClass.js ***! \****************************************************************/ /*!****************************************************************!*\ !*** ../../node_modules/@babel/runtime/helpers/toPrimitive.js ***! \****************************************************************/ /*!****************************************************************!*\ !*** ./node_modules/engine.io-client/build/esm-debug/index.js ***! \****************************************************************/ /*!****************************************************************!*\ !*** ./node_modules/socket.io-client/build/esm-debug/index.js ***! \****************************************************************/ /*!*****************************************************************!*\ !*** ../../node_modules/@socket.io/component-emitter/index.mjs ***! \*****************************************************************/ /*!*****************************************************************!*\ !*** ./node_modules/engine.io-client/build/esm-debug/socket.js ***! \*****************************************************************/ /*!*****************************************************************!*\ !*** ./node_modules/engine.io-parser/build/esm/decodePacket.js ***! \*****************************************************************/ /*!*****************************************************************!*\ !*** ./node_modules/engine.io-parser/build/esm/encodePacket.js ***! \*****************************************************************/ /*!*****************************************************************!*\ !*** ./node_modules/socket.io-client/build/esm-debug/socket.js ***! \*****************************************************************/ /*!******************************************************************!*\ !*** ../../node_modules/@babel/runtime/helpers/slicedToArray.js ***! \******************************************************************/ /*!******************************************************************!*\ !*** ../../node_modules/@babel/runtime/helpers/toPropertyKey.js ***! \******************************************************************/ /*!******************************************************************!*\ !*** ./node_modules/socket.io-client/build/esm-debug/manager.js ***! \******************************************************************/ /*!*******************************************************************!*\ !*** ../../node_modules/@babel/runtime/helpers/arrayWithHoles.js ***! \*******************************************************************/ /*!*******************************************************************!*\ !*** ../../node_modules/@babel/runtime/helpers/classCallCheck.js ***! \*******************************************************************/ /*!*******************************************************************!*\ !*** ../../node_modules/@babel/runtime/helpers/defineProperty.js ***! \*******************************************************************/ /*!*******************************************************************!*\ !*** ../../node_modules/binary-extensions/binary-extensions.json ***! \*******************************************************************/ /*!*******************************************************************!*\ !*** ../../node_modules/xmlhttprequest-ssl/lib/XMLHttpRequest.js ***! \*******************************************************************/ /*!********************************************************************!*\ !*** ../../node_modules/@babel/runtime/helpers/iterableToArray.js ***! \********************************************************************/ /*!********************************************************************!*\ !*** ../../node_modules/@babel/runtime/helpers/nonIterableRest.js ***! \********************************************************************/ /*!********************************************************************!*\ !*** ../../node_modules/socket.io-parser/build/esm-debug/index.js ***! \********************************************************************/ /*!********************************************************************!*\ !*** ./node_modules/engine.io-client/build/esm-debug/transport.js ***! \********************************************************************/ /*!*********************************************************************!*\ !*** ../../node_modules/@babel/runtime/helpers/arrayLikeToArray.js ***! \*********************************************************************/ /*!*********************************************************************!*\ !*** ../../node_modules/@babel/runtime/helpers/asyncToGenerator.js ***! \*********************************************************************/ /*!*********************************************************************!*\ !*** ../../node_modules/socket.io-parser/build/esm-debug/binary.js ***! \*********************************************************************/ /*!*********************************************************************!*\ !*** ./node_modules/engine.io-client/build/esm-debug/globalThis.js ***! \*********************************************************************/ /*!**********************************************************************!*\ !*** ../../node_modules/@babel/runtime/helpers/arrayWithoutHoles.js ***! \**********************************************************************/ /*!**********************************************************************!*\ !*** ../../node_modules/@babel/runtime/helpers/nonIterableSpread.js ***! \**********************************************************************/ /*!**********************************************************************!*\ !*** ../../node_modules/@babel/runtime/helpers/toConsumableArray.js ***! \**********************************************************************/ /*!***********************************************************************!*\ !*** ../../node_modules/@babel/runtime/helpers/regeneratorRuntime.js ***! \***********************************************************************/ /*!************************************************************************!*\ !*** ../../node_modules/socket.io-parser/build/esm-debug/is-binary.js ***! \************************************************************************/ /*!************************************************************************!*\ !*** ./node_modules/engine.io-client/build/esm-debug/contrib/yeast.js ***! \************************************************************************/ /*!*************************************************************************!*\ !*** ../../node_modules/@babel/runtime/helpers/iterableToArrayLimit.js ***! \*************************************************************************/ /*!*************************************************************************!*\ !*** ./node_modules/socket.io-client/build/esm-debug/contrib/backo2.js ***! \*************************************************************************/ /*!**************************************************************************!*\ !*** ./node_modules/engine.io-client/build/esm-debug/contrib/parseqs.js ***! \**************************************************************************/ /*!***************************************************************************!*\ !*** ./node_modules/engine.io-client/build/esm-debug/contrib/parseuri.js ***! \***************************************************************************/ /*!***************************************************************************!*\ !*** ./node_modules/engine.io-client/build/esm-debug/transports/index.js ***! \***************************************************************************/ /*!****************************************************************************!*\ !*** ../../node_modules/@babel/runtime/helpers/objectWithoutProperties.js ***! \****************************************************************************/ /*!*****************************************************************************!*\ !*** ./node_modules/engine.io-client/build/esm-debug/transports/polling.js ***! \*****************************************************************************/ /*!*******************************************************************************!*\ !*** ../../node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js ***! \*******************************************************************************/ /*!*******************************************************************************!*\ !*** ./node_modules/engine.io-client/build/esm-debug/transports/websocket.js ***! \*******************************************************************************/ /*!*********************************************************************************!*\ !*** ../../node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js ***! \*********************************************************************************/ /*!************************************************************************************!*\ !*** ./node_modules/engine.io-client/build/esm-debug/transports/xmlhttprequest.js ***! \************************************************************************************/ /*!*******************************************************************************************!*\ !*** ./node_modules/engine.io-client/build/esm-debug/transports/websocket-constructor.js ***! \*******************************************************************************************/ /** * Wrapper for built-in http.js to emulate the browser XMLHttpRequest object. * * This can be used with JS designed for browsers to improve reuse of code and * allow the use of existing libraries. * * Usage: include("XMLHttpRequest.js") and use XMLHttpRequest per W3C specs. * * @author Dan DeFelippi * @contributor David Ellis * @license MIT */ /** * chroma.js - JavaScript library for color conversions * * Copyright (c) 2011-2019, Gregor Aisch * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, this * list of conditions and the following disclaimer. * * 2. Redistributions in binary form must reproduce the above copyright notice, * this list of conditions and the following disclaimer in the documentation * and/or other materials provided with the distribution. * * 3. The name Gregor Aisch may not be used to endorse or promote products * derived from this software without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE * DISCLAIMED. IN NO EVENT SHALL GREGOR AISCH OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * * ------------------------------------------------------- * * chroma.js includes colors from colorbrewer2.org, which are released under * the following license: * * Copyright (c) 2002 Cynthia Brewer, Mark Harrower, * and The Pennsylvania State University. * * 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 * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, * either express or implied. See the License for the specific * language governing permissions and limitations under the License. * * ------------------------------------------------------ * * Named colors are taken from X11 Color Names. * http://www.w3.org/TR/css3-color/#svg-color * * @preserve */